From 401a0ceca091e56d24f62444dceddc498644bd58 Mon Sep 17 00:00:00 2001 From: 0xFirekeeper <0xFirekeeper@gmail.com> Date: Thu, 6 Jun 2024 05:05:20 +0300 Subject: [PATCH] [WebGL] Avoid all contract-abi calls when custom abi passed Speeds up contract fetches by 10x+ --- .../Thirdweb/lib/thirdweb-unity-bridge.js | 134 +++++++++--------- 1 file changed, 67 insertions(+), 67 deletions(-) diff --git a/Assets/WebGLTemplates/Thirdweb/lib/thirdweb-unity-bridge.js b/Assets/WebGLTemplates/Thirdweb/lib/thirdweb-unity-bridge.js index 379e6f19..a28842a7 100644 --- a/Assets/WebGLTemplates/Thirdweb/lib/thirdweb-unity-bridge.js +++ b/Assets/WebGLTemplates/Thirdweb/lib/thirdweb-unity-bridge.js @@ -1,22 +1,22 @@ -"use strict";(()=>{var rM0=Object.create;var eI=Object.defineProperty;var fM0=Object.getOwnPropertyDescriptor;var iM0=Object.getOwnPropertyNames;var sM0=Object.getPrototypeOf,oM0=Object.prototype.hasOwnProperty;var cM0=(t,e,n)=>e in t?eI(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Kd=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,n)=>(typeof require<"u"?require:e)[n]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var ce=(t,e)=>()=>(t&&(e=t(t=0)),e);var D=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),V0=(t,e)=>{for(var n in e)eI(t,n,{get:e[n],enumerable:!0})},hF=(t,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of iM0(e))!oM0.call(t,r)&&r!==n&&eI(t,r,{get:()=>e[r],enumerable:!(a=fM0(e,r))||a.enumerable});return t},Vi=(t,e,n)=>(hF(t,e,"default"),n&&hF(n,e,"default")),Ee=(t,e,n)=>(n=t!=null?rM0(sM0(t)):{},hF(e||!t||!t.__esModule?eI(n,"default",{value:t,enumerable:!0}):n,t)),vn=t=>hF(eI({},"__esModule",{value:!0}),t);var ae=(t,e,n)=>(cM0(t,typeof e!="symbol"?e+"":e,n),n);var E,u=ce(()=>{E={env:"production"}});var mve=D(bF=>{"use strict";u();p();bF.byteLength=uM0;bF.toByteArray=hM0;bF.fromByteArray=yM0;var f2=[],p5=[],lM0=typeof Uint8Array<"u"?Uint8Array:Array,r0e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ey=0,hve=r0e.length;ey0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");n===-1&&(n=e);var a=n===e?0:4-n%4;return[n,a]}function uM0(t){var e=bve(t),n=e[0],a=e[1];return(n+a)*3/4-a}function pM0(t,e,n){return(e+n)*3/4-n}function hM0(t){var e,n=bve(t),a=n[0],r=n[1],f=new lM0(pM0(t,a,r)),i=0,s=r>0?a-4:a,o;for(o=0;o>16&255,f[i++]=e>>8&255,f[i++]=e&255;return r===2&&(e=p5[t.charCodeAt(o)]<<2|p5[t.charCodeAt(o+1)]>>4,f[i++]=e&255),r===1&&(e=p5[t.charCodeAt(o)]<<10|p5[t.charCodeAt(o+1)]<<4|p5[t.charCodeAt(o+2)]>>2,f[i++]=e>>8&255,f[i++]=e&255),f}function bM0(t){return f2[t>>18&63]+f2[t>>12&63]+f2[t>>6&63]+f2[t&63]}function mM0(t,e,n){for(var a,r=[],f=e;fs?s:i+f));return a===1?(e=t[n-1],r.push(f2[e>>2]+f2[e<<4&63]+"==")):a===2&&(e=(t[n-2]<<8)+t[n-1],r.push(f2[e>>10]+f2[e>>4&63]+f2[e<<2&63]+"=")),r.join("")}});var yve=D(f0e=>{u();p();f0e.read=function(t,e,n,a,r){var f,i,s=r*8-a-1,o=(1<>1,d=-7,l=n?r-1:0,h=n?-1:1,y=t[e+l];for(l+=h,f=y&(1<<-d)-1,y>>=-d,d+=s;d>0;f=f*256+t[e+l],l+=h,d-=8);for(i=f&(1<<-d)-1,f>>=-d,d+=a;d>0;i=i*256+t[e+l],l+=h,d-=8);if(f===0)f=1-c;else{if(f===o)return i?NaN:(y?-1:1)*(1/0);i=i+Math.pow(2,a),f=f-c}return(y?-1:1)*i*Math.pow(2,f-a)};f0e.write=function(t,e,n,a,r,f){var i,s,o,c=f*8-r-1,d=(1<>1,h=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=a?0:f-1,v=a?1:-1,S=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,i=d):(i=Math.floor(Math.log(e)/Math.LN2),e*(o=Math.pow(2,-i))<1&&(i--,o*=2),i+l>=1?e+=h/o:e+=h*Math.pow(2,1-l),e*o>=2&&(i++,o/=2),i+l>=d?(s=0,i=d):i+l>=1?(s=(e*o-1)*Math.pow(2,r),i=i+l):(s=e*Math.pow(2,l-1)*Math.pow(2,r),i=0));r>=8;t[n+y]=s&255,y+=v,s/=256,r-=8);for(i=i<0;t[n+y]=i&255,y+=v,i/=256,c-=8);t[n+y-v]|=S*128}});var Kf=D(Pv=>{"use strict";u();p();var i0e=mve(),Dv=yve(),gve=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Pv.Buffer=n0;Pv.SlowBuffer=EM0;Pv.INSPECT_MAX_BYTES=50;var mF=2147483647;Pv.kMaxLength=mF;n0.TYPED_ARRAY_SUPPORT=gM0();!n0.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function gM0(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch{return!1}}Object.defineProperty(n0.prototype,"parent",{enumerable:!0,get:function(){if(n0.isBuffer(this))return this.buffer}});Object.defineProperty(n0.prototype,"offset",{enumerable:!0,get:function(){if(n0.isBuffer(this))return this.byteOffset}});function Kp(t){if(t>mF)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,n0.prototype),e}function n0(t,e,n){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d0e(t)}return Tve(t,e,n)}n0.poolSize=8192;function Tve(t,e,n){if(typeof t=="string")return wM0(t,e);if(ArrayBuffer.isView(t))return TM0(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(i2(t,ArrayBuffer)||t&&i2(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(i2(t,SharedArrayBuffer)||t&&i2(t.buffer,SharedArrayBuffer)))return o0e(t,e,n);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var a=t.valueOf&&t.valueOf();if(a!=null&&a!==t)return n0.from(a,e,n);var r=xM0(t);if(r)return r;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return n0.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}n0.from=function(t,e,n){return Tve(t,e,n)};Object.setPrototypeOf(n0.prototype,Uint8Array.prototype);Object.setPrototypeOf(n0,Uint8Array);function xve(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function vM0(t,e,n){return xve(t),t<=0?Kp(t):e!==void 0?typeof n=="string"?Kp(t).fill(e,n):Kp(t).fill(e):Kp(t)}n0.alloc=function(t,e,n){return vM0(t,e,n)};function d0e(t){return xve(t),Kp(t<0?0:l0e(t)|0)}n0.allocUnsafe=function(t){return d0e(t)};n0.allocUnsafeSlow=function(t){return d0e(t)};function wM0(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!n0.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var n=Eve(t,e)|0,a=Kp(n),r=a.write(t,e);return r!==n&&(a=a.slice(0,r)),a}function s0e(t){for(var e=t.length<0?0:l0e(t.length)|0,n=Kp(e),a=0;a=mF)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+mF.toString(16)+" bytes");return t|0}function EM0(t){return+t!=t&&(t=0),n0.alloc(+t)}n0.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==n0.prototype};n0.compare=function(e,n){if(i2(e,Uint8Array)&&(e=n0.from(e,e.offset,e.byteLength)),i2(n,Uint8Array)&&(n=n0.from(n,n.offset,n.byteLength)),!n0.isBuffer(e)||!n0.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===n)return 0;for(var a=e.length,r=n.length,f=0,i=Math.min(a,r);fr.length?n0.from(i).copy(r,f):Uint8Array.prototype.set.call(r,i,f);else if(n0.isBuffer(i))i.copy(r,f);else throw new TypeError('"list" argument must be an Array of Buffers');f+=i.length}return r};function Eve(t,e){if(n0.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||i2(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var n=t.length,a=arguments.length>2&&arguments[2]===!0;if(!a&&n===0)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return c0e(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Sve(t).length;default:if(r)return a?-1:c0e(t).length;e=(""+e).toLowerCase(),r=!0}}n0.byteLength=Eve;function _M0(t,e,n){var a=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,e>>>=0,n<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return PM0(this,e,n);case"utf8":case"utf-8":return Ave(this,e,n);case"ascii":return BM0(this,e,n);case"latin1":case"binary":return DM0(this,e,n);case"base64":return RM0(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return LM0(this,e,n);default:if(a)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}n0.prototype._isBuffer=!0;function ty(t,e,n){var a=t[e];t[e]=t[n],t[n]=a}n0.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;nn&&(e+=" ... "),""};gve&&(n0.prototype[gve]=n0.prototype.inspect);n0.prototype.compare=function(e,n,a,r,f){if(i2(e,Uint8Array)&&(e=n0.from(e,e.offset,e.byteLength)),!n0.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(n===void 0&&(n=0),a===void 0&&(a=e?e.length:0),r===void 0&&(r=0),f===void 0&&(f=this.length),n<0||a>e.length||r<0||f>this.length)throw new RangeError("out of range index");if(r>=f&&n>=a)return 0;if(r>=f)return-1;if(n>=a)return 1;if(n>>>=0,a>>>=0,r>>>=0,f>>>=0,this===e)return 0;for(var i=f-r,s=a-n,o=Math.min(i,s),c=this.slice(r,f),d=e.slice(n,a),l=0;l2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,u0e(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0)if(r)n=0;else return-1;if(typeof e=="string"&&(e=n0.from(e,a)),n0.isBuffer(e))return e.length===0?-1:vve(t,e,n,a,r);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):vve(t,[e],n,a,r);throw new TypeError("val must be string, number or Buffer")}function vve(t,e,n,a,r){var f=1,i=t.length,s=e.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(t.length<2||e.length<2)return-1;f=2,i/=2,s/=2,n/=2}function o(y,v){return f===1?y[v]:y.readUInt16BE(v*f)}var c;if(r){var d=-1;for(c=n;ci&&(n=i-s),c=n;c>=0;c--){for(var l=!0,h=0;hr&&(a=r)):a=r;var f=e.length;a>f/2&&(a=f/2);for(var i=0;i>>0,isFinite(a)?(a=a>>>0,r===void 0&&(r="utf8")):(r=a,a=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var f=this.length-n;if((a===void 0||a>f)&&(a=f),e.length>0&&(a<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return AM0(this,e,n,a);case"utf8":case"utf-8":return CM0(this,e,n,a);case"ascii":case"latin1":case"binary":return IM0(this,e,n,a);case"base64":return kM0(this,e,n,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return SM0(this,e,n,a);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}};n0.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function RM0(t,e,n){return e===0&&n===t.length?i0e.fromByteArray(t):i0e.fromByteArray(t.slice(e,n))}function Ave(t,e,n){n=Math.min(t.length,n);for(var a=[],r=e;r239?4:f>223?3:f>191?2:1;if(r+s<=n){var o,c,d,l;switch(s){case 1:f<128&&(i=f);break;case 2:o=t[r+1],(o&192)===128&&(l=(f&31)<<6|o&63,l>127&&(i=l));break;case 3:o=t[r+1],c=t[r+2],(o&192)===128&&(c&192)===128&&(l=(f&15)<<12|(o&63)<<6|c&63,l>2047&&(l<55296||l>57343)&&(i=l));break;case 4:o=t[r+1],c=t[r+2],d=t[r+3],(o&192)===128&&(c&192)===128&&(d&192)===128&&(l=(f&15)<<18|(o&63)<<12|(c&63)<<6|d&63,l>65535&&l<1114112&&(i=l))}}i===null?(i=65533,s=1):i>65535&&(i-=65536,a.push(i>>>10&1023|55296),i=56320|i&1023),a.push(i),r+=s}return MM0(a)}var wve=4096;function MM0(t){var e=t.length;if(e<=wve)return String.fromCharCode.apply(String,t);for(var n="",a=0;aa)&&(n=a);for(var r="",f=e;fa&&(e=a),n<0?(n+=a,n<0&&(n=0)):n>a&&(n=a),nn)throw new RangeError("Trying to access beyond buffer length")}n0.prototype.readUintLE=n0.prototype.readUIntLE=function(e,n,a){e=e>>>0,n=n>>>0,a||cs(e,n,this.length);for(var r=this[e],f=1,i=0;++i>>0,n=n>>>0,a||cs(e,n,this.length);for(var r=this[e+--n],f=1;n>0&&(f*=256);)r+=this[e+--n]*f;return r};n0.prototype.readUint8=n0.prototype.readUInt8=function(e,n){return e=e>>>0,n||cs(e,1,this.length),this[e]};n0.prototype.readUint16LE=n0.prototype.readUInt16LE=function(e,n){return e=e>>>0,n||cs(e,2,this.length),this[e]|this[e+1]<<8};n0.prototype.readUint16BE=n0.prototype.readUInt16BE=function(e,n){return e=e>>>0,n||cs(e,2,this.length),this[e]<<8|this[e+1]};n0.prototype.readUint32LE=n0.prototype.readUInt32LE=function(e,n){return e=e>>>0,n||cs(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};n0.prototype.readUint32BE=n0.prototype.readUInt32BE=function(e,n){return e=e>>>0,n||cs(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};n0.prototype.readIntLE=function(e,n,a){e=e>>>0,n=n>>>0,a||cs(e,n,this.length);for(var r=this[e],f=1,i=0;++i=f&&(r-=Math.pow(2,8*n)),r};n0.prototype.readIntBE=function(e,n,a){e=e>>>0,n=n>>>0,a||cs(e,n,this.length);for(var r=n,f=1,i=this[e+--r];r>0&&(f*=256);)i+=this[e+--r]*f;return f*=128,i>=f&&(i-=Math.pow(2,8*n)),i};n0.prototype.readInt8=function(e,n){return e=e>>>0,n||cs(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};n0.prototype.readInt16LE=function(e,n){e=e>>>0,n||cs(e,2,this.length);var a=this[e]|this[e+1]<<8;return a&32768?a|4294901760:a};n0.prototype.readInt16BE=function(e,n){e=e>>>0,n||cs(e,2,this.length);var a=this[e+1]|this[e]<<8;return a&32768?a|4294901760:a};n0.prototype.readInt32LE=function(e,n){return e=e>>>0,n||cs(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};n0.prototype.readInt32BE=function(e,n){return e=e>>>0,n||cs(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};n0.prototype.readFloatLE=function(e,n){return e=e>>>0,n||cs(e,4,this.length),Dv.read(this,e,!0,23,4)};n0.prototype.readFloatBE=function(e,n){return e=e>>>0,n||cs(e,4,this.length),Dv.read(this,e,!1,23,4)};n0.prototype.readDoubleLE=function(e,n){return e=e>>>0,n||cs(e,8,this.length),Dv.read(this,e,!0,52,8)};n0.prototype.readDoubleBE=function(e,n){return e=e>>>0,n||cs(e,8,this.length),Dv.read(this,e,!1,52,8)};function Ac(t,e,n,a,r,f){if(!n0.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}n0.prototype.writeUintLE=n0.prototype.writeUIntLE=function(e,n,a,r){if(e=+e,n=n>>>0,a=a>>>0,!r){var f=Math.pow(2,8*a)-1;Ac(this,e,n,a,f,0)}var i=1,s=0;for(this[n]=e&255;++s>>0,a=a>>>0,!r){var f=Math.pow(2,8*a)-1;Ac(this,e,n,a,f,0)}var i=a-1,s=1;for(this[n+i]=e&255;--i>=0&&(s*=256);)this[n+i]=e/s&255;return n+a};n0.prototype.writeUint8=n0.prototype.writeUInt8=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,1,255,0),this[n]=e&255,n+1};n0.prototype.writeUint16LE=n0.prototype.writeUInt16LE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,2,65535,0),this[n]=e&255,this[n+1]=e>>>8,n+2};n0.prototype.writeUint16BE=n0.prototype.writeUInt16BE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,2,65535,0),this[n]=e>>>8,this[n+1]=e&255,n+2};n0.prototype.writeUint32LE=n0.prototype.writeUInt32LE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,4,4294967295,0),this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=e&255,n+4};n0.prototype.writeUint32BE=n0.prototype.writeUInt32BE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,4,4294967295,0),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255,n+4};n0.prototype.writeIntLE=function(e,n,a,r){if(e=+e,n=n>>>0,!r){var f=Math.pow(2,8*a-1);Ac(this,e,n,a,f-1,-f)}var i=0,s=1,o=0;for(this[n]=e&255;++i>0)-o&255;return n+a};n0.prototype.writeIntBE=function(e,n,a,r){if(e=+e,n=n>>>0,!r){var f=Math.pow(2,8*a-1);Ac(this,e,n,a,f-1,-f)}var i=a-1,s=1,o=0;for(this[n+i]=e&255;--i>=0&&(s*=256);)e<0&&o===0&&this[n+i+1]!==0&&(o=1),this[n+i]=(e/s>>0)-o&255;return n+a};n0.prototype.writeInt8=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,1,127,-128),e<0&&(e=255+e+1),this[n]=e&255,n+1};n0.prototype.writeInt16LE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,2,32767,-32768),this[n]=e&255,this[n+1]=e>>>8,n+2};n0.prototype.writeInt16BE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,2,32767,-32768),this[n]=e>>>8,this[n+1]=e&255,n+2};n0.prototype.writeInt32LE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,4,2147483647,-2147483648),this[n]=e&255,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24,n+4};n0.prototype.writeInt32BE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255,n+4};function Cve(t,e,n,a,r,f){if(n+a>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Ive(t,e,n,a,r){return e=+e,n=n>>>0,r||Cve(t,e,n,4,34028234663852886e22,-34028234663852886e22),Dv.write(t,e,n,a,23,4),n+4}n0.prototype.writeFloatLE=function(e,n,a){return Ive(this,e,n,!0,a)};n0.prototype.writeFloatBE=function(e,n,a){return Ive(this,e,n,!1,a)};function kve(t,e,n,a,r){return e=+e,n=n>>>0,r||Cve(t,e,n,8,17976931348623157e292,-17976931348623157e292),Dv.write(t,e,n,a,52,8),n+8}n0.prototype.writeDoubleLE=function(e,n,a){return kve(this,e,n,!0,a)};n0.prototype.writeDoubleBE=function(e,n,a){return kve(this,e,n,!1,a)};n0.prototype.copy=function(e,n,a,r){if(!n0.isBuffer(e))throw new TypeError("argument should be a Buffer");if(a||(a=0),!r&&r!==0&&(r=this.length),n>=e.length&&(n=e.length),n||(n=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-n>>0,a=a===void 0?this.length:a>>>0,e||(e=0);var i;if(typeof e=="number")for(i=n;i55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&f.push(239,191,189);continue}else if(i+1===a){(e-=3)>-1&&f.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&f.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536}else r&&(e-=3)>-1&&f.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;f.push(n)}else if(n<2048){if((e-=2)<0)break;f.push(n>>6|192,n&63|128)}else if(n<65536){if((e-=3)<0)break;f.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((e-=4)<0)break;f.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return f}function OM0(t){for(var e=[],n=0;n>8,r=n%256,f.push(r),f.push(a);return f}function Sve(t){return i0e.toByteArray(NM0(t))}function yF(t,e,n,a){for(var r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function i2(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function u0e(t){return t!==t}var HM0=function(){for(var t="0123456789abcdef",e=new Array(256),n=0;n<16;++n)for(var a=n*16,r=0;r<16;++r)e[a+r]=t[n]+t[r];return e}()});var Pve=D((PPn,Dve)=>{u();p();var di=Dve.exports={},s2,o2;function p0e(){throw new Error("setTimeout has not been defined")}function h0e(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?s2=setTimeout:s2=p0e}catch{s2=p0e}try{typeof clearTimeout=="function"?o2=clearTimeout:o2=h0e}catch{o2=h0e}})();function Rve(t){if(s2===setTimeout)return setTimeout(t,0);if((s2===p0e||!s2)&&setTimeout)return s2=setTimeout,setTimeout(t,0);try{return s2(t,0)}catch{try{return s2.call(null,t,0)}catch{return s2.call(this,t,0)}}}function zM0(t){if(o2===clearTimeout)return clearTimeout(t);if((o2===h0e||!o2)&&clearTimeout)return o2=clearTimeout,clearTimeout(t);try{return o2(t)}catch{try{return o2.call(null,t)}catch{return o2.call(this,t)}}}var Qp=[],Lv=!1,ny,gF=-1;function WM0(){!Lv||!ny||(Lv=!1,ny.length?Qp=ny.concat(Qp):gF=-1,Qp.length&&Mve())}function Mve(){if(!Lv){var t=Rve(WM0);Lv=!0;for(var e=Qp.length;e;){for(ny=Qp,Qp=[];++gF1)for(var n=1;n{_=Ee(Kf()),I=Ee(Pve()),qM0=function(t){function e(){var a=this||self;return delete t.prototype.__magic__,a}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var n=__magic__;return n}(Object),global=qM0});function GM0(t){Nve=t}function wF(){return Nve}function it(t,e){let n=TF({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,wF(),tI].filter(a=>!!a)});t.common.issues.push(n)}function on(t){if(!t)return{};let{errorMap:e,invalid_type_error:n,required_error:a,description:r}=t;if(e&&(n||a))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:r}:{errorMap:(i,s)=>i.code!=="invalid_type"?{message:s.defaultError}:typeof s.data>"u"?{message:a??s.defaultError}:{message:n??s.defaultError},description:r}}function nB0(t,e){return!!((e==="v4"||!e)&&ZM0.test(t)||(e==="v6"||!e)&&eB0.test(t))}function aB0(t,e){let n=(t.toString().split(".")[1]||"").length,a=(e.toString().split(".")[1]||"").length,r=n>a?n:a,f=parseInt(t.toFixed(r).replace(".","")),i=parseInt(e.toFixed(r).replace(".",""));return f%i/Math.pow(10,r)}function Fv(t){if(t instanceof Cc){let e={};for(let n in t.shape){let a=t.shape[n];e[n]=Qd.create(Fv(a))}return new Cc({...t._def,shape:()=>e})}else return t instanceof $p?new $p({...t._def,type:Fv(t.element)}):t instanceof Qd?Qd.create(Fv(t.unwrap())):t instanceof Jp?Jp.create(Fv(t.unwrap())):t instanceof c2?c2.create(t.items.map(e=>Fv(e))):t}function v0e(t,e){let n=l3(t),a=l3(e);if(t===e)return{valid:!0,data:t};if(n===nt.object&&a===nt.object){let r=Ma.objectKeys(e),f=Ma.objectKeys(t).filter(s=>r.indexOf(s)!==-1),i={...t,...e};for(let s of f){let o=v0e(t[s],e[s]);if(!o.valid)return{valid:!1};i[s]=o.data}return{valid:!0,data:i}}else if(n===nt.array&&a===nt.array){if(t.length!==e.length)return{valid:!1};let r=[];for(let f=0;f{u();p();(function(t){t.assertEqual=r=>r;function e(r){}t.assertIs=e;function n(r){throw new Error}t.assertNever=n,t.arrayToEnum=r=>{let f={};for(let i of r)f[i]=i;return f},t.getValidEnumValues=r=>{let f=t.objectKeys(r).filter(s=>typeof r[r[s]]!="number"),i={};for(let s of f)i[s]=r[s];return t.objectValues(i)},t.objectValues=r=>t.objectKeys(r).map(function(f){return r[f]}),t.objectKeys=typeof Object.keys=="function"?r=>Object.keys(r):r=>{let f=[];for(let i in r)Object.prototype.hasOwnProperty.call(r,i)&&f.push(i);return f},t.find=(r,f)=>{for(let i of r)if(f(i))return i},t.isInteger=typeof Number.isInteger=="function"?r=>Number.isInteger(r):r=>typeof r=="number"&&isFinite(r)&&Math.floor(r)===r;function a(r,f=" | "){return r.map(i=>typeof i=="string"?`'${i}'`:i).join(f)}t.joinValues=a,t.jsonStringifyReplacer=(r,f)=>typeof f=="bigint"?f.toString():f})(Ma||(Ma={}));(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(m0e||(m0e={}));nt=Ma.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),l3=t=>{switch(typeof t){case"undefined":return nt.undefined;case"string":return nt.string;case"number":return isNaN(t)?nt.nan:nt.number;case"boolean":return nt.boolean;case"function":return nt.function;case"bigint":return nt.bigint;case"symbol":return nt.symbol;case"object":return Array.isArray(t)?nt.array:t===null?nt.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?nt.promise:typeof Map<"u"&&t instanceof Map?nt.map:typeof Set<"u"&&t instanceof Set?nt.set:typeof Date<"u"&&t instanceof Date?nt.date:nt.object;default:return nt.unknown}},D0=Ma.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),jM0=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),m6=class extends Error{constructor(e){super(),this.issues=[],this.addIssue=a=>{this.issues=[...this.issues,a]},this.addIssues=(a=[])=>{this.issues=[...this.issues,...a]};let n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let n=e||function(f){return f.message},a={_errors:[]},r=f=>{for(let i of f.issues)if(i.code==="invalid_union")i.unionErrors.map(r);else if(i.code==="invalid_return_type")r(i.returnTypeError);else if(i.code==="invalid_arguments")r(i.argumentsError);else if(i.path.length===0)a._errors.push(n(i));else{let s=a,o=0;for(;on.message){let n={},a=[];for(let r of this.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(e(r))):a.push(e(r));return{formErrors:a,fieldErrors:n}}get formErrors(){return this.flatten()}};m6.create=t=>new m6(t);tI=(t,e)=>{let n;switch(t.code){case D0.invalid_type:t.received===nt.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case D0.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,Ma.jsonStringifyReplacer)}`;break;case D0.unrecognized_keys:n=`Unrecognized key(s) in object: ${Ma.joinValues(t.keys,", ")}`;break;case D0.invalid_union:n="Invalid input";break;case D0.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Ma.joinValues(t.options)}`;break;case D0.invalid_enum_value:n=`Invalid enum value. Expected ${Ma.joinValues(t.options)}, received '${t.received}'`;break;case D0.invalid_arguments:n="Invalid function arguments";break;case D0.invalid_return_type:n="Invalid function return type";break;case D0.invalid_date:n="Invalid date";break;case D0.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:Ma.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case D0.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case D0.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case D0.custom:n="Invalid input";break;case D0.invalid_intersection_types:n="Intersection results could not be merged";break;case D0.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case D0.not_finite:n="Number must be finite";break;default:n=e.defaultError,Ma.assertNever(t)}return{message:n}},Nve=tI;TF=t=>{let{data:e,path:n,errorMaps:a,issueData:r}=t,f=[...n,...r.path||[]],i={...r,path:f},s="",o=a.filter(c=>!!c).slice().reverse();for(let c of o)s=c(i,{data:e,defaultError:s}).message;return{...r,path:f,message:r.message||s}},KM0=[];So=class t{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){let a=[];for(let r of n){if(r.status==="aborted")return Qt;r.status==="dirty"&&e.dirty(),a.push(r.value)}return{status:e.value,value:a}}static async mergeObjectAsync(e,n){let a=[];for(let r of n)a.push({key:await r.key,value:await r.value});return t.mergeObjectSync(e,a)}static mergeObjectSync(e,n){let a={};for(let r of n){let{key:f,value:i}=r;if(f.status==="aborted"||i.status==="aborted")return Qt;f.status==="dirty"&&e.dirty(),i.status==="dirty"&&e.dirty(),f.value!=="__proto__"&&(typeof i.value<"u"||r.alwaysSet)&&(a[f.value]=i.value)}return{status:e.value,value:a}}},Qt=Object.freeze({status:"aborted"}),Ove=t=>({status:"dirty",value:t}),F1=t=>({status:"valid",value:t}),y0e=t=>t.status==="aborted",g0e=t=>t.status==="dirty",nI=t=>t.status==="valid",xF=t=>typeof Promise<"u"&&t instanceof Promise;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(At||(At={}));h5=class{constructor(e,n,a,r){this._cachedPath=[],this.parent=e,this.data=n,this._path=a,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Lve=(t,e)=>{if(nI(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new m6(t.common.issues);return this._error=n,this._error}}};cn=class{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return l3(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:l3(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new So,ctx:{common:e.parent.common,data:e.data,parsedType:l3(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let n=this._parse(e);if(xF(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){let n=this._parse(e);return Promise.resolve(n)}parse(e,n){let a=this.safeParse(e,n);if(a.success)return a.data;throw a.error}safeParse(e,n){var a;let r={common:{issues:[],async:(a=n?.async)!==null&&a!==void 0?a:!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:l3(e)},f=this._parseSync({data:e,path:r.path,parent:r});return Lve(r,f)}async parseAsync(e,n){let a=await this.safeParseAsync(e,n);if(a.success)return a.data;throw a.error}async safeParseAsync(e,n){let a={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:l3(e)},r=this._parse({data:e,path:a.path,parent:a}),f=await(xF(r)?r:Promise.resolve(r));return Lve(a,f)}refine(e,n){let a=r=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(r):n;return this._refinement((r,f)=>{let i=e(r),s=()=>f.addIssue({code:D0.custom,...a(r)});return typeof Promise<"u"&&i instanceof Promise?i.then(o=>o?!0:(s(),!1)):i?!0:(s(),!1)})}refinement(e,n){return this._refinement((a,r)=>e(a)?!0:(r.addIssue(typeof n=="function"?n(a,r):n),!1))}_refinement(e){return new y6({schema:this,typeName:Lt.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return Qd.create(this,this._def)}nullable(){return Jp.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return $p.create(this,this._def)}promise(){return h3.create(this,this._def)}or(e){return cy.create([this,e],this._def)}and(e){return dy.create(this,e,this._def)}transform(e){return new y6({...on(this._def),schema:this,typeName:Lt.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let n=typeof e=="function"?e:()=>e;return new by({...on(this._def),innerType:this,defaultValue:n,typeName:Lt.ZodDefault})}brand(){return new CF({typeName:Lt.ZodBranded,type:this,...on(this._def)})}catch(e){let n=typeof e=="function"?e:()=>e;return new zv({...on(this._def),innerType:this,catchValue:n,typeName:Lt.ZodCatch})}describe(e){let n=this.constructor;return new n({...this._def,description:e})}pipe(e){return aI.create(this,e)}readonly(){return qv.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},QM0=/^c[^\s-]{8,}$/i,VM0=/^[a-z][a-z0-9]*$/,YM0=/^[0-9A-HJKMNP-TV-Z]{26}$/,$M0=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,JM0=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,XM0="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",ZM0=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,eB0=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,tB0=t=>t.precision?t.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${t.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${t.precision}}Z$`):t.precision===0?t.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):t.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");u3=class t extends cn{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==nt.string){let f=this._getOrReturnCtx(e);return it(f,{code:D0.invalid_type,expected:nt.string,received:f.parsedType}),Qt}let a=new So,r;for(let f of this._def.checks)if(f.kind==="min")e.data.lengthf.value&&(r=this._getOrReturnCtx(e,r),it(r,{code:D0.too_big,maximum:f.value,type:"string",inclusive:!0,exact:!1,message:f.message}),a.dirty());else if(f.kind==="length"){let i=e.data.length>f.value,s=e.data.lengthe.test(r),{validation:n,code:D0.invalid_string,...At.errToObj(a)})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...At.errToObj(e)})}url(e){return this._addCheck({kind:"url",...At.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...At.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...At.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...At.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...At.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...At.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...At.errToObj(e)})}datetime(e){var n;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:(n=e?.offset)!==null&&n!==void 0?n:!1,...At.errToObj(e?.message)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...At.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...At.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...At.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...At.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...At.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...At.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...At.errToObj(n)})}nonempty(e){return this.min(1,At.errToObj(e))}trim(){return new t({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get minLength(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value{var e;return new u3({checks:[],typeName:Lt.ZodString,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...on(t)})};ay=class t extends cn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==nt.number){let f=this._getOrReturnCtx(e);return it(f,{code:D0.invalid_type,expected:nt.number,received:f.parsedType}),Qt}let a,r=new So;for(let f of this._def.checks)f.kind==="int"?Ma.isInteger(e.data)||(a=this._getOrReturnCtx(e,a),it(a,{code:D0.invalid_type,expected:"integer",received:"float",message:f.message}),r.dirty()):f.kind==="min"?(f.inclusive?e.dataf.value:e.data>=f.value)&&(a=this._getOrReturnCtx(e,a),it(a,{code:D0.too_big,maximum:f.value,type:"number",inclusive:f.inclusive,exact:!1,message:f.message}),r.dirty()):f.kind==="multipleOf"?aB0(e.data,f.value)!==0&&(a=this._getOrReturnCtx(e,a),it(a,{code:D0.not_multiple_of,multipleOf:f.value,message:f.message}),r.dirty()):f.kind==="finite"?Number.isFinite(e.data)||(a=this._getOrReturnCtx(e,a),it(a,{code:D0.not_finite,message:f.message}),r.dirty()):Ma.assertNever(f);return{status:r.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,At.toString(n))}gt(e,n){return this.setLimit("min",e,!1,At.toString(n))}lte(e,n){return this.setLimit("max",e,!0,At.toString(n))}lt(e,n){return this.setLimit("max",e,!1,At.toString(n))}setLimit(e,n,a,r){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:At.toString(r)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:At.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:At.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:At.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:At.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:At.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:At.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:At.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:At.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:At.toString(e)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.valuee.kind==="int"||e.kind==="multipleOf"&&Ma.isInteger(e.value))}get isFinite(){let e=null,n=null;for(let a of this._def.checks){if(a.kind==="finite"||a.kind==="int"||a.kind==="multipleOf")return!0;a.kind==="min"?(n===null||a.value>n)&&(n=a.value):a.kind==="max"&&(e===null||a.valuenew ay({checks:[],typeName:Lt.ZodNumber,coerce:t?.coerce||!1,...on(t)});ry=class t extends cn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==nt.bigint){let f=this._getOrReturnCtx(e);return it(f,{code:D0.invalid_type,expected:nt.bigint,received:f.parsedType}),Qt}let a,r=new So;for(let f of this._def.checks)f.kind==="min"?(f.inclusive?e.dataf.value:e.data>=f.value)&&(a=this._getOrReturnCtx(e,a),it(a,{code:D0.too_big,type:"bigint",maximum:f.value,inclusive:f.inclusive,message:f.message}),r.dirty()):f.kind==="multipleOf"?e.data%f.value!==BigInt(0)&&(a=this._getOrReturnCtx(e,a),it(a,{code:D0.not_multiple_of,multipleOf:f.value,message:f.message}),r.dirty()):Ma.assertNever(f);return{status:r.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,At.toString(n))}gt(e,n){return this.setLimit("min",e,!1,At.toString(n))}lte(e,n){return this.setLimit("max",e,!0,At.toString(n))}lt(e,n){return this.setLimit("max",e,!1,At.toString(n))}setLimit(e,n,a,r){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:At.toString(r)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:At.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:At.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:At.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:At.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:At.toString(n)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value{var e;return new ry({checks:[],typeName:Lt.ZodBigInt,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...on(t)})};fy=class extends cn{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==nt.boolean){let a=this._getOrReturnCtx(e);return it(a,{code:D0.invalid_type,expected:nt.boolean,received:a.parsedType}),Qt}return F1(e.data)}};fy.create=t=>new fy({typeName:Lt.ZodBoolean,coerce:t?.coerce||!1,...on(t)});iy=class t extends cn{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==nt.date){let f=this._getOrReturnCtx(e);return it(f,{code:D0.invalid_type,expected:nt.date,received:f.parsedType}),Qt}if(isNaN(e.data.getTime())){let f=this._getOrReturnCtx(e);return it(f,{code:D0.invalid_date}),Qt}let a=new So,r;for(let f of this._def.checks)f.kind==="min"?e.data.getTime()f.value&&(r=this._getOrReturnCtx(e,r),it(r,{code:D0.too_big,message:f.message,inclusive:!0,exact:!1,maximum:f.value,type:"date"}),a.dirty()):Ma.assertNever(f);return{status:a.value,value:new Date(e.data.getTime())}}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:At.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:At.toString(n)})}get minDate(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.valuenew iy({checks:[],coerce:t?.coerce||!1,typeName:Lt.ZodDate,...on(t)});Nv=class extends cn{_parse(e){if(this._getType(e)!==nt.symbol){let a=this._getOrReturnCtx(e);return it(a,{code:D0.invalid_type,expected:nt.symbol,received:a.parsedType}),Qt}return F1(e.data)}};Nv.create=t=>new Nv({typeName:Lt.ZodSymbol,...on(t)});sy=class extends cn{_parse(e){if(this._getType(e)!==nt.undefined){let a=this._getOrReturnCtx(e);return it(a,{code:D0.invalid_type,expected:nt.undefined,received:a.parsedType}),Qt}return F1(e.data)}};sy.create=t=>new sy({typeName:Lt.ZodUndefined,...on(t)});oy=class extends cn{_parse(e){if(this._getType(e)!==nt.null){let a=this._getOrReturnCtx(e);return it(a,{code:D0.invalid_type,expected:nt.null,received:a.parsedType}),Qt}return F1(e.data)}};oy.create=t=>new oy({typeName:Lt.ZodNull,...on(t)});p3=class extends cn{constructor(){super(...arguments),this._any=!0}_parse(e){return F1(e.data)}};p3.create=t=>new p3({typeName:Lt.ZodAny,...on(t)});Yp=class extends cn{constructor(){super(...arguments),this._unknown=!0}_parse(e){return F1(e.data)}};Yp.create=t=>new Yp({typeName:Lt.ZodUnknown,...on(t)});Vd=class extends cn{_parse(e){let n=this._getOrReturnCtx(e);return it(n,{code:D0.invalid_type,expected:nt.never,received:n.parsedType}),Qt}};Vd.create=t=>new Vd({typeName:Lt.ZodNever,...on(t)});Ov=class extends cn{_parse(e){if(this._getType(e)!==nt.undefined){let a=this._getOrReturnCtx(e);return it(a,{code:D0.invalid_type,expected:nt.void,received:a.parsedType}),Qt}return F1(e.data)}};Ov.create=t=>new Ov({typeName:Lt.ZodVoid,...on(t)});$p=class t extends cn{_parse(e){let{ctx:n,status:a}=this._processInputParams(e),r=this._def;if(n.parsedType!==nt.array)return it(n,{code:D0.invalid_type,expected:nt.array,received:n.parsedType}),Qt;if(r.exactLength!==null){let i=n.data.length>r.exactLength.value,s=n.data.lengthr.maxLength.value&&(it(n,{code:D0.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),a.dirty()),n.common.async)return Promise.all([...n.data].map((i,s)=>r.type._parseAsync(new h5(n,i,n.path,s)))).then(i=>So.mergeArray(a,i));let f=[...n.data].map((i,s)=>r.type._parseSync(new h5(n,i,n.path,s)));return So.mergeArray(a,f)}get element(){return this._def.type}min(e,n){return new t({...this._def,minLength:{value:e,message:At.toString(n)}})}max(e,n){return new t({...this._def,maxLength:{value:e,message:At.toString(n)}})}length(e,n){return new t({...this._def,exactLength:{value:e,message:At.toString(n)}})}nonempty(e){return this.min(1,e)}};$p.create=(t,e)=>new $p({type:t,minLength:null,maxLength:null,exactLength:null,typeName:Lt.ZodArray,...on(e)});Cc=class t extends cn{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),n=Ma.objectKeys(e);return this._cached={shape:e,keys:n}}_parse(e){if(this._getType(e)!==nt.object){let c=this._getOrReturnCtx(e);return it(c,{code:D0.invalid_type,expected:nt.object,received:c.parsedType}),Qt}let{status:a,ctx:r}=this._processInputParams(e),{shape:f,keys:i}=this._getCached(),s=[];if(!(this._def.catchall instanceof Vd&&this._def.unknownKeys==="strip"))for(let c in r.data)i.includes(c)||s.push(c);let o=[];for(let c of i){let d=f[c],l=r.data[c];o.push({key:{status:"valid",value:c},value:d._parse(new h5(r,l,r.path,c)),alwaysSet:c in r.data})}if(this._def.catchall instanceof Vd){let c=this._def.unknownKeys;if(c==="passthrough")for(let d of s)o.push({key:{status:"valid",value:d},value:{status:"valid",value:r.data[d]}});else if(c==="strict")s.length>0&&(it(r,{code:D0.unrecognized_keys,keys:s}),a.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let c=this._def.catchall;for(let d of s){let l=r.data[d];o.push({key:{status:"valid",value:d},value:c._parse(new h5(r,l,r.path,d)),alwaysSet:d in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let c=[];for(let d of o){let l=await d.key;c.push({key:l,value:await d.value,alwaysSet:d.alwaysSet})}return c}).then(c=>So.mergeObjectSync(a,c)):So.mergeObjectSync(a,o)}get shape(){return this._def.shape()}strict(e){return At.errToObj,new t({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,a)=>{var r,f,i,s;let o=(i=(f=(r=this._def).errorMap)===null||f===void 0?void 0:f.call(r,n,a).message)!==null&&i!==void 0?i:a.defaultError;return n.code==="unrecognized_keys"?{message:(s=At.errToObj(e).message)!==null&&s!==void 0?s:o}:{message:o}}}:{}})}strip(){return new t({...this._def,unknownKeys:"strip"})}passthrough(){return new t({...this._def,unknownKeys:"passthrough"})}extend(e){return new t({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new t({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Lt.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new t({...this._def,catchall:e})}pick(e){let n={};return Ma.objectKeys(e).forEach(a=>{e[a]&&this.shape[a]&&(n[a]=this.shape[a])}),new t({...this._def,shape:()=>n})}omit(e){let n={};return Ma.objectKeys(this.shape).forEach(a=>{e[a]||(n[a]=this.shape[a])}),new t({...this._def,shape:()=>n})}deepPartial(){return Fv(this)}partial(e){let n={};return Ma.objectKeys(this.shape).forEach(a=>{let r=this.shape[a];e&&!e[a]?n[a]=r:n[a]=r.optional()}),new t({...this._def,shape:()=>n})}required(e){let n={};return Ma.objectKeys(this.shape).forEach(a=>{if(e&&!e[a])n[a]=this.shape[a];else{let f=this.shape[a];for(;f instanceof Qd;)f=f._def.innerType;n[a]=f}}),new t({...this._def,shape:()=>n})}keyof(){return Uve(Ma.objectKeys(this.shape))}};Cc.create=(t,e)=>new Cc({shape:()=>t,unknownKeys:"strip",catchall:Vd.create(),typeName:Lt.ZodObject,...on(e)});Cc.strictCreate=(t,e)=>new Cc({shape:()=>t,unknownKeys:"strict",catchall:Vd.create(),typeName:Lt.ZodObject,...on(e)});Cc.lazycreate=(t,e)=>new Cc({shape:t,unknownKeys:"strip",catchall:Vd.create(),typeName:Lt.ZodObject,...on(e)});cy=class extends cn{_parse(e){let{ctx:n}=this._processInputParams(e),a=this._def.options;function r(f){for(let s of f)if(s.result.status==="valid")return s.result;for(let s of f)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;let i=f.map(s=>new m6(s.ctx.common.issues));return it(n,{code:D0.invalid_union,unionErrors:i}),Qt}if(n.common.async)return Promise.all(a.map(async f=>{let i={...n,common:{...n.common,issues:[]},parent:null};return{result:await f._parseAsync({data:n.data,path:n.path,parent:i}),ctx:i}})).then(r);{let f,i=[];for(let o of a){let c={...n,common:{...n.common,issues:[]},parent:null},d=o._parseSync({data:n.data,path:n.path,parent:c});if(d.status==="valid")return d;d.status==="dirty"&&!f&&(f={result:d,ctx:c}),c.common.issues.length&&i.push(c.common.issues)}if(f)return n.common.issues.push(...f.ctx.common.issues),f.result;let s=i.map(o=>new m6(o));return it(n,{code:D0.invalid_union,unionErrors:s}),Qt}}get options(){return this._def.options}};cy.create=(t,e)=>new cy({options:t,typeName:Lt.ZodUnion,...on(e)});vF=t=>t instanceof ly?vF(t.schema):t instanceof y6?vF(t.innerType()):t instanceof uy?[t.value]:t instanceof py?t.options:t instanceof hy?Object.keys(t.enum):t instanceof by?vF(t._def.innerType):t instanceof sy?[void 0]:t instanceof oy?[null]:null,EF=class t extends cn{_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==nt.object)return it(n,{code:D0.invalid_type,expected:nt.object,received:n.parsedType}),Qt;let a=this.discriminator,r=n.data[a],f=this.optionsMap.get(r);return f?n.common.async?f._parseAsync({data:n.data,path:n.path,parent:n}):f._parseSync({data:n.data,path:n.path,parent:n}):(it(n,{code:D0.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[a]}),Qt)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,a){let r=new Map;for(let f of n){let i=vF(f.shape[e]);if(!i)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let s of i){if(r.has(s))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(s)}`);r.set(s,f)}}return new t({typeName:Lt.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:r,...on(a)})}};dy=class extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e),r=(f,i)=>{if(y0e(f)||y0e(i))return Qt;let s=v0e(f.value,i.value);return s.valid?((g0e(f)||g0e(i))&&n.dirty(),{status:n.value,value:s.data}):(it(a,{code:D0.invalid_intersection_types}),Qt)};return a.common.async?Promise.all([this._def.left._parseAsync({data:a.data,path:a.path,parent:a}),this._def.right._parseAsync({data:a.data,path:a.path,parent:a})]).then(([f,i])=>r(f,i)):r(this._def.left._parseSync({data:a.data,path:a.path,parent:a}),this._def.right._parseSync({data:a.data,path:a.path,parent:a}))}};dy.create=(t,e,n)=>new dy({left:t,right:e,typeName:Lt.ZodIntersection,...on(n)});c2=class t extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==nt.array)return it(a,{code:D0.invalid_type,expected:nt.array,received:a.parsedType}),Qt;if(a.data.lengththis._def.items.length&&(it(a,{code:D0.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());let f=[...a.data].map((i,s)=>{let o=this._def.items[s]||this._def.rest;return o?o._parse(new h5(a,i,a.path,s)):null}).filter(i=>!!i);return a.common.async?Promise.all(f).then(i=>So.mergeArray(n,i)):So.mergeArray(n,f)}get items(){return this._def.items}rest(e){return new t({...this._def,rest:e})}};c2.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new c2({items:t,typeName:Lt.ZodTuple,rest:null,...on(e)})};_F=class t extends cn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==nt.object)return it(a,{code:D0.invalid_type,expected:nt.object,received:a.parsedType}),Qt;let r=[],f=this._def.keyType,i=this._def.valueType;for(let s in a.data)r.push({key:f._parse(new h5(a,s,a.path,s)),value:i._parse(new h5(a,a.data[s],a.path,s))});return a.common.async?So.mergeObjectAsync(n,r):So.mergeObjectSync(n,r)}get element(){return this._def.valueType}static create(e,n,a){return n instanceof cn?new t({keyType:e,valueType:n,typeName:Lt.ZodRecord,...on(a)}):new t({keyType:u3.create(),valueType:e,typeName:Lt.ZodRecord,...on(n)})}},Uv=class extends cn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==nt.map)return it(a,{code:D0.invalid_type,expected:nt.map,received:a.parsedType}),Qt;let r=this._def.keyType,f=this._def.valueType,i=[...a.data.entries()].map(([s,o],c)=>({key:r._parse(new h5(a,s,a.path,[c,"key"])),value:f._parse(new h5(a,o,a.path,[c,"value"]))}));if(a.common.async){let s=new Map;return Promise.resolve().then(async()=>{for(let o of i){let c=await o.key,d=await o.value;if(c.status==="aborted"||d.status==="aborted")return Qt;(c.status==="dirty"||d.status==="dirty")&&n.dirty(),s.set(c.value,d.value)}return{status:n.value,value:s}})}else{let s=new Map;for(let o of i){let c=o.key,d=o.value;if(c.status==="aborted"||d.status==="aborted")return Qt;(c.status==="dirty"||d.status==="dirty")&&n.dirty(),s.set(c.value,d.value)}return{status:n.value,value:s}}}};Uv.create=(t,e,n)=>new Uv({valueType:e,keyType:t,typeName:Lt.ZodMap,...on(n)});Hv=class t extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==nt.set)return it(a,{code:D0.invalid_type,expected:nt.set,received:a.parsedType}),Qt;let r=this._def;r.minSize!==null&&a.data.sizer.maxSize.value&&(it(a,{code:D0.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),n.dirty());let f=this._def.valueType;function i(o){let c=new Set;for(let d of o){if(d.status==="aborted")return Qt;d.status==="dirty"&&n.dirty(),c.add(d.value)}return{status:n.value,value:c}}let s=[...a.data.values()].map((o,c)=>f._parse(new h5(a,o,a.path,c)));return a.common.async?Promise.all(s).then(o=>i(o)):i(s)}min(e,n){return new t({...this._def,minSize:{value:e,message:At.toString(n)}})}max(e,n){return new t({...this._def,maxSize:{value:e,message:At.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}};Hv.create=(t,e)=>new Hv({valueType:t,minSize:null,maxSize:null,typeName:Lt.ZodSet,...on(e)});AF=class t extends cn{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==nt.function)return it(n,{code:D0.invalid_type,expected:nt.function,received:n.parsedType}),Qt;function a(s,o){return TF({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,wF(),tI].filter(c=>!!c),issueData:{code:D0.invalid_arguments,argumentsError:o}})}function r(s,o){return TF({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,wF(),tI].filter(c=>!!c),issueData:{code:D0.invalid_return_type,returnTypeError:o}})}let f={errorMap:n.common.contextualErrorMap},i=n.data;if(this._def.returns instanceof h3){let s=this;return F1(async function(...o){let c=new m6([]),d=await s._def.args.parseAsync(o,f).catch(y=>{throw c.addIssue(a(o,y)),c}),l=await Reflect.apply(i,this,d);return await s._def.returns._def.type.parseAsync(l,f).catch(y=>{throw c.addIssue(r(l,y)),c})})}else{let s=this;return F1(function(...o){let c=s._def.args.safeParse(o,f);if(!c.success)throw new m6([a(o,c.error)]);let d=Reflect.apply(i,this,c.data),l=s._def.returns.safeParse(d,f);if(!l.success)throw new m6([r(d,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new t({...this._def,args:c2.create(e).rest(Yp.create())})}returns(e){return new t({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,a){return new t({args:e||c2.create([]).rest(Yp.create()),returns:n||Yp.create(),typeName:Lt.ZodFunction,...on(a)})}},ly=class extends cn{get schema(){return this._def.getter()}_parse(e){let{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}};ly.create=(t,e)=>new ly({getter:t,typeName:Lt.ZodLazy,...on(e)});uy=class extends cn{_parse(e){if(e.data!==this._def.value){let n=this._getOrReturnCtx(e);return it(n,{received:n.data,code:D0.invalid_literal,expected:this._def.value}),Qt}return{status:"valid",value:e.data}}get value(){return this._def.value}};uy.create=(t,e)=>new uy({value:t,typeName:Lt.ZodLiteral,...on(e)});py=class t extends cn{_parse(e){if(typeof e.data!="string"){let n=this._getOrReturnCtx(e),a=this._def.values;return it(n,{expected:Ma.joinValues(a),received:n.parsedType,code:D0.invalid_type}),Qt}if(this._def.values.indexOf(e.data)===-1){let n=this._getOrReturnCtx(e),a=this._def.values;return it(n,{received:n.data,code:D0.invalid_enum_value,options:a}),Qt}return F1(e.data)}get options(){return this._def.values}get enum(){let e={};for(let n of this._def.values)e[n]=n;return e}get Values(){let e={};for(let n of this._def.values)e[n]=n;return e}get Enum(){let e={};for(let n of this._def.values)e[n]=n;return e}extract(e){return t.create(e)}exclude(e){return t.create(this.options.filter(n=>!e.includes(n)))}};py.create=Uve;hy=class extends cn{_parse(e){let n=Ma.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==nt.string&&a.parsedType!==nt.number){let r=Ma.objectValues(n);return it(a,{expected:Ma.joinValues(r),received:a.parsedType,code:D0.invalid_type}),Qt}if(n.indexOf(e.data)===-1){let r=Ma.objectValues(n);return it(a,{received:a.data,code:D0.invalid_enum_value,options:r}),Qt}return F1(e.data)}get enum(){return this._def.values}};hy.create=(t,e)=>new hy({values:t,typeName:Lt.ZodNativeEnum,...on(e)});h3=class extends cn{unwrap(){return this._def.type}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==nt.promise&&n.common.async===!1)return it(n,{code:D0.invalid_type,expected:nt.promise,received:n.parsedType}),Qt;let a=n.parsedType===nt.promise?n.data:Promise.resolve(n.data);return F1(a.then(r=>this._def.type.parseAsync(r,{path:n.path,errorMap:n.common.contextualErrorMap})))}};h3.create=(t,e)=>new h3({type:t,typeName:Lt.ZodPromise,...on(e)});y6=class extends cn{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Lt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:n,ctx:a}=this._processInputParams(e),r=this._def.effect||null,f={addIssue:i=>{it(a,i),i.fatal?n.abort():n.dirty()},get path(){return a.path}};if(f.addIssue=f.addIssue.bind(f),r.type==="preprocess"){let i=r.transform(a.data,f);return a.common.issues.length?{status:"dirty",value:a.data}:a.common.async?Promise.resolve(i).then(s=>this._def.schema._parseAsync({data:s,path:a.path,parent:a})):this._def.schema._parseSync({data:i,path:a.path,parent:a})}if(r.type==="refinement"){let i=s=>{let o=r.refinement(s,f);if(a.common.async)return Promise.resolve(o);if(o instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(a.common.async===!1){let s=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return s.status==="aborted"?Qt:(s.status==="dirty"&&n.dirty(),i(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(s=>s.status==="aborted"?Qt:(s.status==="dirty"&&n.dirty(),i(s.value).then(()=>({status:n.value,value:s.value}))))}if(r.type==="transform")if(a.common.async===!1){let i=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!nI(i))return i;let s=r.transform(i.value,f);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(i=>nI(i)?Promise.resolve(r.transform(i.value,f)).then(s=>({status:n.value,value:s})):i);Ma.assertNever(r)}};y6.create=(t,e,n)=>new y6({schema:t,typeName:Lt.ZodEffects,effect:e,...on(n)});y6.createWithPreprocess=(t,e,n)=>new y6({schema:e,effect:{type:"preprocess",transform:t},typeName:Lt.ZodEffects,...on(n)});Qd=class extends cn{_parse(e){return this._getType(e)===nt.undefined?F1(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Qd.create=(t,e)=>new Qd({innerType:t,typeName:Lt.ZodOptional,...on(e)});Jp=class extends cn{_parse(e){return this._getType(e)===nt.null?F1(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Jp.create=(t,e)=>new Jp({innerType:t,typeName:Lt.ZodNullable,...on(e)});by=class extends cn{_parse(e){let{ctx:n}=this._processInputParams(e),a=n.data;return n.parsedType===nt.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};by.create=(t,e)=>new by({innerType:t,typeName:Lt.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...on(e)});zv=class extends cn{_parse(e){let{ctx:n}=this._processInputParams(e),a={...n,common:{...n.common,issues:[]}},r=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return xF(r)?r.then(f=>({status:"valid",value:f.status==="valid"?f.value:this._def.catchValue({get error(){return new m6(a.common.issues)},input:a.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new m6(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}};zv.create=(t,e)=>new zv({innerType:t,typeName:Lt.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...on(e)});Wv=class extends cn{_parse(e){if(this._getType(e)!==nt.nan){let a=this._getOrReturnCtx(e);return it(a,{code:D0.invalid_type,expected:nt.nan,received:a.parsedType}),Qt}return{status:"valid",value:e.data}}};Wv.create=t=>new Wv({typeName:Lt.ZodNaN,...on(t)});rB0=Symbol("zod_brand"),CF=class extends cn{_parse(e){let{ctx:n}=this._processInputParams(e),a=n.data;return this._def.type._parse({data:a,path:n.path,parent:n})}unwrap(){return this._def.type}},aI=class t extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.common.async)return(async()=>{let f=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return f.status==="aborted"?Qt:f.status==="dirty"?(n.dirty(),Ove(f.value)):this._def.out._parseAsync({data:f.value,path:a.path,parent:a})})();{let r=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return r.status==="aborted"?Qt:r.status==="dirty"?(n.dirty(),{status:"dirty",value:r.value}):this._def.out._parseSync({data:r.value,path:a.path,parent:a})}}static create(e,n){return new t({in:e,out:n,typeName:Lt.ZodPipeline})}},qv=class extends cn{_parse(e){let n=this._def.innerType._parse(e);return nI(n)&&(n.value=Object.freeze(n.value)),n}};qv.create=(t,e)=>new qv({innerType:t,typeName:Lt.ZodReadonly,...on(e)});Hve=(t,e={},n)=>t?p3.create().superRefine((a,r)=>{var f,i;if(!t(a)){let s=typeof e=="function"?e(a):typeof e=="string"?{message:e}:e,o=(i=(f=s.fatal)!==null&&f!==void 0?f:n)!==null&&i!==void 0?i:!0,c=typeof s=="string"?{message:s}:s;r.addIssue({code:"custom",...c,fatal:o})}}):p3.create(),fB0={object:Cc.lazycreate};(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(Lt||(Lt={}));iB0=(t,e={message:`Input not instance of ${t.name}`})=>Hve(n=>n instanceof t,e),zve=u3.create,Wve=ay.create,sB0=Wv.create,oB0=ry.create,qve=fy.create,cB0=iy.create,dB0=Nv.create,lB0=sy.create,uB0=oy.create,pB0=p3.create,hB0=Yp.create,bB0=Vd.create,mB0=Ov.create,yB0=$p.create,gB0=Cc.create,vB0=Cc.strictCreate,wB0=cy.create,TB0=EF.create,xB0=dy.create,EB0=c2.create,_B0=_F.create,AB0=Uv.create,CB0=Hv.create,IB0=AF.create,kB0=ly.create,SB0=uy.create,RB0=py.create,MB0=hy.create,BB0=h3.create,Fve=y6.create,DB0=Qd.create,PB0=Jp.create,LB0=y6.createWithPreprocess,FB0=aI.create,NB0=()=>zve().optional(),OB0=()=>Wve().optional(),UB0=()=>qve().optional(),HB0={string:t=>u3.create({...t,coerce:!0}),number:t=>ay.create({...t,coerce:!0}),boolean:t=>fy.create({...t,coerce:!0}),bigint:t=>ry.create({...t,coerce:!0}),date:t=>iy.create({...t,coerce:!0})},zB0=Qt,fe=Object.freeze({__proto__:null,defaultErrorMap:tI,setErrorMap:GM0,getErrorMap:wF,makeIssue:TF,EMPTY_PATH:KM0,addIssueToContext:it,ParseStatus:So,INVALID:Qt,DIRTY:Ove,OK:F1,isAborted:y0e,isDirty:g0e,isValid:nI,isAsync:xF,get util(){return Ma},get objectUtil(){return m0e},ZodParsedType:nt,getParsedType:l3,ZodType:cn,ZodString:u3,ZodNumber:ay,ZodBigInt:ry,ZodBoolean:fy,ZodDate:iy,ZodSymbol:Nv,ZodUndefined:sy,ZodNull:oy,ZodAny:p3,ZodUnknown:Yp,ZodNever:Vd,ZodVoid:Ov,ZodArray:$p,ZodObject:Cc,ZodUnion:cy,ZodDiscriminatedUnion:EF,ZodIntersection:dy,ZodTuple:c2,ZodRecord:_F,ZodMap:Uv,ZodSet:Hv,ZodFunction:AF,ZodLazy:ly,ZodLiteral:uy,ZodEnum:py,ZodNativeEnum:hy,ZodPromise:h3,ZodEffects:y6,ZodTransformer:y6,ZodOptional:Qd,ZodNullable:Jp,ZodDefault:by,ZodCatch:zv,ZodNaN:Wv,BRAND:rB0,ZodBranded:CF,ZodPipeline:aI,ZodReadonly:qv,custom:Hve,Schema:cn,ZodSchema:cn,late:fB0,get ZodFirstPartyTypeKind(){return Lt},coerce:HB0,any:pB0,array:yB0,bigint:oB0,boolean:qve,date:cB0,discriminatedUnion:TB0,effect:Fve,enum:RB0,function:IB0,instanceof:iB0,intersection:xB0,lazy:kB0,literal:SB0,map:AB0,nan:sB0,nativeEnum:MB0,never:bB0,null:uB0,nullable:PB0,number:Wve,object:gB0,oboolean:UB0,onumber:OB0,optional:DB0,ostring:NB0,pipeline:FB0,preprocess:LB0,promise:BB0,record:_B0,set:CB0,strictObject:vB0,string:zve,symbol:dB0,transformer:Fve,tuple:EB0,undefined:lB0,union:wB0,unknown:hB0,void:mB0,NEVER:zB0,ZodIssueCode:D0,quotelessJson:jM0,ZodError:m6})});function w0e(){if(!IF&&(IF=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!IF))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return IF(WB0)}var IF,WB0,jve=ce(()=>{u();p();WB0=new Uint8Array(16)});function Gve(t,e=0){return Vs[t[e+0]]+Vs[t[e+1]]+Vs[t[e+2]]+Vs[t[e+3]]+"-"+Vs[t[e+4]]+Vs[t[e+5]]+"-"+Vs[t[e+6]]+Vs[t[e+7]]+"-"+Vs[t[e+8]]+Vs[t[e+9]]+"-"+Vs[t[e+10]]+Vs[t[e+11]]+Vs[t[e+12]]+Vs[t[e+13]]+Vs[t[e+14]]+Vs[t[e+15]]}var Vs,Kve=ce(()=>{u();p();Vs=[];for(let t=0;t<256;++t)Vs.push((t+256).toString(16).slice(1))});var qB0,T0e,Qve=ce(()=>{u();p();qB0=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),T0e={randomUUID:qB0}});function jB0(t,e,n){if(T0e.randomUUID&&!e&&!t)return T0e.randomUUID();t=t||{};let a=t.random||(t.rng||w0e)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,e){n=n||0;for(let r=0;r<16;++r)e[n+r]=a[r];return e}return Gve(a)}var jv,Vve=ce(()=>{u();p();Qve();jve();Kve();jv=jB0});var x0e=ce(()=>{u();p();Vve()});var Va=D((Yve,E0e)=>{u();p();(function(t,e){"use strict";function n(w,m){if(!w)throw new Error(m||"Assertion failed")}function a(w,m){w.super_=m;var A=function(){};A.prototype=m.prototype,w.prototype=new A,w.prototype.constructor=w}function r(w,m,A){if(r.isBN(w))return w;this.negative=0,this.words=null,this.length=0,this.red=null,w!==null&&((m==="le"||m==="be")&&(A=m,m=10),this._init(w||0,m||10,A||"be"))}typeof t=="object"?t.exports=r:e.BN=r,r.BN=r,r.wordSize=26;var f;try{typeof window<"u"&&typeof window.Buffer<"u"?f=window.Buffer:f=Kf().Buffer}catch{}r.isBN=function(m){return m instanceof r?!0:m!==null&&typeof m=="object"&&m.constructor.wordSize===r.wordSize&&Array.isArray(m.words)},r.max=function(m,A){return m.cmp(A)>0?m:A},r.min=function(m,A){return m.cmp(A)<0?m:A},r.prototype._init=function(m,A,P){if(typeof m=="number")return this._initNumber(m,A,P);if(typeof m=="object")return this._initArray(m,A,P);A==="hex"&&(A=16),n(A===(A|0)&&A>=2&&A<=36),m=m.toString().replace(/\s+/g,"");var L=0;m[0]==="-"&&(L++,this.negative=1),L=0;L-=3)g=m[L]|m[L-1]<<8|m[L-2]<<16,this.words[x]|=g<>>26-B&67108863,B+=24,B>=26&&(B-=26,x++);else if(P==="le")for(L=0,x=0;L>>26-B&67108863,B+=24,B>=26&&(B-=26,x++);return this._strip()};function i(w,m){var A=w.charCodeAt(m);if(A>=48&&A<=57)return A-48;if(A>=65&&A<=70)return A-55;if(A>=97&&A<=102)return A-87;n(!1,"Invalid character in "+w)}function s(w,m,A){var P=i(w,A);return A-1>=m&&(P|=i(w,A-1)<<4),P}r.prototype._parseHex=function(m,A,P){this.length=Math.ceil((m.length-A)/6),this.words=new Array(this.length);for(var L=0;L=A;L-=2)B=s(m,A,L)<=18?(x-=18,g+=1,this.words[g]|=B>>>26):x+=8;else{var M=m.length-A;for(L=M%2===0?A+1:A;L=18?(x-=18,g+=1,this.words[g]|=B>>>26):x+=8}this._strip()};function o(w,m,A,P){for(var L=0,x=0,g=Math.min(w.length,A),B=m;B=49?x=M-49+10:M>=17?x=M-17+10:x=M,n(M>=0&&x1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},r.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{r.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch{r.prototype.inspect=d}else r.prototype.inspect=d;function d(){return(this.red?""}var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];r.prototype.toString=function(m,A){m=m||10,A=A|0||1;var P;if(m===16||m==="hex"){P="";for(var L=0,x=0,g=0;g>>24-L&16777215,L+=2,L>=26&&(L-=26,g--),x!==0||g!==this.length-1?P=l[6-M.length]+M+P:P=M+P}for(x!==0&&(P=x.toString(16)+P);P.length%A!==0;)P="0"+P;return this.negative!==0&&(P="-"+P),P}if(m===(m|0)&&m>=2&&m<=36){var k=h[m],q=y[m];P="";var ee=this.clone();for(ee.negative=0;!ee.isZero();){var U=ee.modrn(q).toString(m);ee=ee.idivn(q),ee.isZero()?P=U+P:P=l[k-U.length]+U+P}for(this.isZero()&&(P="0"+P);P.length%A!==0;)P="0"+P;return this.negative!==0&&(P="-"+P),P}n(!1,"Base should be between 2 and 36")},r.prototype.toNumber=function(){var m=this.words[0];return this.length===2?m+=this.words[1]*67108864:this.length===3&&this.words[2]===1?m+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-m:m},r.prototype.toJSON=function(){return this.toString(16,2)},f&&(r.prototype.toBuffer=function(m,A){return this.toArrayLike(f,m,A)}),r.prototype.toArray=function(m,A){return this.toArrayLike(Array,m,A)};var v=function(m,A){return m.allocUnsafe?m.allocUnsafe(A):new m(A)};r.prototype.toArrayLike=function(m,A,P){this._strip();var L=this.byteLength(),x=P||Math.max(1,L);n(L<=x,"byte array longer than desired length"),n(x>0,"Requested array length <= 0");var g=v(m,x),B=A==="le"?"LE":"BE";return this["_toArrayLike"+B](g,L),g},r.prototype._toArrayLikeLE=function(m,A){for(var P=0,L=0,x=0,g=0;x>8&255),P>16&255),g===6?(P>24&255),L=0,g=0):(L=B>>>24,g+=2)}if(P=0&&(m[P--]=B>>8&255),P>=0&&(m[P--]=B>>16&255),g===6?(P>=0&&(m[P--]=B>>24&255),L=0,g=0):(L=B>>>24,g+=2)}if(P>=0)for(m[P--]=L;P>=0;)m[P--]=0},Math.clz32?r.prototype._countBits=function(m){return 32-Math.clz32(m)}:r.prototype._countBits=function(m){var A=m,P=0;return A>=4096&&(P+=13,A>>>=13),A>=64&&(P+=7,A>>>=7),A>=8&&(P+=4,A>>>=4),A>=2&&(P+=2,A>>>=2),P+A},r.prototype._zeroBits=function(m){if(m===0)return 26;var A=m,P=0;return A&8191||(P+=13,A>>>=13),A&127||(P+=7,A>>>=7),A&15||(P+=4,A>>>=4),A&3||(P+=2,A>>>=2),A&1||P++,P},r.prototype.bitLength=function(){var m=this.words[this.length-1],A=this._countBits(m);return(this.length-1)*26+A};function S(w){for(var m=new Array(w.bitLength()),A=0;A>>L&1}return m}r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var m=0,A=0;Am.length?this.clone().ior(m):m.clone().ior(this)},r.prototype.uor=function(m){return this.length>m.length?this.clone().iuor(m):m.clone().iuor(this)},r.prototype.iuand=function(m){var A;this.length>m.length?A=m:A=this;for(var P=0;Pm.length?this.clone().iand(m):m.clone().iand(this)},r.prototype.uand=function(m){return this.length>m.length?this.clone().iuand(m):m.clone().iuand(this)},r.prototype.iuxor=function(m){var A,P;this.length>m.length?(A=this,P=m):(A=m,P=this);for(var L=0;Lm.length?this.clone().ixor(m):m.clone().ixor(this)},r.prototype.uxor=function(m){return this.length>m.length?this.clone().iuxor(m):m.clone().iuxor(this)},r.prototype.inotn=function(m){n(typeof m=="number"&&m>=0);var A=Math.ceil(m/26)|0,P=m%26;this._expand(A),P>0&&A--;for(var L=0;L0&&(this.words[L]=~this.words[L]&67108863>>26-P),this._strip()},r.prototype.notn=function(m){return this.clone().inotn(m)},r.prototype.setn=function(m,A){n(typeof m=="number"&&m>=0);var P=m/26|0,L=m%26;return this._expand(P+1),A?this.words[P]=this.words[P]|1<m.length?(P=this,L=m):(P=m,L=this);for(var x=0,g=0;g>>26;for(;x!==0&&g>>26;if(this.length=P.length,x!==0)this.words[this.length]=x,this.length++;else if(P!==this)for(;gm.length?this.clone().iadd(m):m.clone().iadd(this)},r.prototype.isub=function(m){if(m.negative!==0){m.negative=0;var A=this.iadd(m);return m.negative=1,A._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(m),this.negative=1,this._normSign();var P=this.cmp(m);if(P===0)return this.negative=0,this.length=1,this.words[0]=0,this;var L,x;P>0?(L=this,x=m):(L=m,x=this);for(var g=0,B=0;B>26,this.words[B]=A&67108863;for(;g!==0&&B>26,this.words[B]=A&67108863;if(g===0&&B>>26,ee=M&67108863,U=Math.min(k,m.length-1),J=Math.max(0,k-w.length+1);J<=U;J++){var Z=k-J|0;L=w.words[Z]|0,x=m.words[J]|0,g=L*x+ee,q+=g/67108864|0,ee=g&67108863}A.words[k]=ee|0,M=q|0}return M!==0?A.words[k]=M|0:A.length--,A._strip()}var F=function(m,A,P){var L=m.words,x=A.words,g=P.words,B=0,M,k,q,ee=L[0]|0,U=ee&8191,J=ee>>>13,Z=L[1]|0,ne=Z&8191,ue=Z>>>13,Y=L[2]|0,re=Y&8191,ie=Y>>>13,ge=L[3]|0,de=ge&8191,Ae=ge>>>13,Ge=L[4]|0,Be=Ge&8191,c0=Ge>>>13,Ye=L[5]|0,He=Ye&8191,_0=Ye>>>13,L0=L[6]|0,Ze=L0&8191,I0=L0>>>13,pe=L[7]|0,he=pe&8191,Te=pe>>>13,Ce=L[8]|0,Se=Ce&8191,Qe=Ce>>>13,u0=L[9]|0,qe=u0&8191,v0=u0>>>13,w0=x[0]|0,Ve=w0&8191,be=w0>>>13,ye=x[1]|0,_e=ye&8191,ze=ye>>>13,je=x[2]|0,Ue=je&8191,b0=je>>>13,h0=x[3]|0,$e=h0&8191,M0=h0>>>13,P0=x[4]|0,t0=P0&8191,j0=P0>>>13,z0=x[5]|0,Ke=z0&8191,B0=z0>>>13,G0=x[6]|0,s0=G0&8191,X0=G0>>>13,Y0=x[7]|0,l0=Y0&8191,K0=Y0>>>13,tt=x[8]|0,p0=tt&8191,et=tt>>>13,Et=x[9]|0,$0=Et&8191,Tt=Et>>>13;P.negative=m.negative^A.negative,P.length=19,M=Math.imul(U,Ve),k=Math.imul(U,be),k=k+Math.imul(J,Ve)|0,q=Math.imul(J,be);var Pn=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,M=Math.imul(ne,Ve),k=Math.imul(ne,be),k=k+Math.imul(ue,Ve)|0,q=Math.imul(ue,be),M=M+Math.imul(U,_e)|0,k=k+Math.imul(U,ze)|0,k=k+Math.imul(J,_e)|0,q=q+Math.imul(J,ze)|0;var Ln=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,M=Math.imul(re,Ve),k=Math.imul(re,be),k=k+Math.imul(ie,Ve)|0,q=Math.imul(ie,be),M=M+Math.imul(ne,_e)|0,k=k+Math.imul(ne,ze)|0,k=k+Math.imul(ue,_e)|0,q=q+Math.imul(ue,ze)|0,M=M+Math.imul(U,Ue)|0,k=k+Math.imul(U,b0)|0,k=k+Math.imul(J,Ue)|0,q=q+Math.imul(J,b0)|0;var Fn=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,M=Math.imul(de,Ve),k=Math.imul(de,be),k=k+Math.imul(Ae,Ve)|0,q=Math.imul(Ae,be),M=M+Math.imul(re,_e)|0,k=k+Math.imul(re,ze)|0,k=k+Math.imul(ie,_e)|0,q=q+Math.imul(ie,ze)|0,M=M+Math.imul(ne,Ue)|0,k=k+Math.imul(ne,b0)|0,k=k+Math.imul(ue,Ue)|0,q=q+Math.imul(ue,b0)|0,M=M+Math.imul(U,$e)|0,k=k+Math.imul(U,M0)|0,k=k+Math.imul(J,$e)|0,q=q+Math.imul(J,M0)|0;var Nn=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(Nn>>>26)|0,Nn&=67108863,M=Math.imul(Be,Ve),k=Math.imul(Be,be),k=k+Math.imul(c0,Ve)|0,q=Math.imul(c0,be),M=M+Math.imul(de,_e)|0,k=k+Math.imul(de,ze)|0,k=k+Math.imul(Ae,_e)|0,q=q+Math.imul(Ae,ze)|0,M=M+Math.imul(re,Ue)|0,k=k+Math.imul(re,b0)|0,k=k+Math.imul(ie,Ue)|0,q=q+Math.imul(ie,b0)|0,M=M+Math.imul(ne,$e)|0,k=k+Math.imul(ne,M0)|0,k=k+Math.imul(ue,$e)|0,q=q+Math.imul(ue,M0)|0,M=M+Math.imul(U,t0)|0,k=k+Math.imul(U,j0)|0,k=k+Math.imul(J,t0)|0,q=q+Math.imul(J,j0)|0;var On=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(On>>>26)|0,On&=67108863,M=Math.imul(He,Ve),k=Math.imul(He,be),k=k+Math.imul(_0,Ve)|0,q=Math.imul(_0,be),M=M+Math.imul(Be,_e)|0,k=k+Math.imul(Be,ze)|0,k=k+Math.imul(c0,_e)|0,q=q+Math.imul(c0,ze)|0,M=M+Math.imul(de,Ue)|0,k=k+Math.imul(de,b0)|0,k=k+Math.imul(Ae,Ue)|0,q=q+Math.imul(Ae,b0)|0,M=M+Math.imul(re,$e)|0,k=k+Math.imul(re,M0)|0,k=k+Math.imul(ie,$e)|0,q=q+Math.imul(ie,M0)|0,M=M+Math.imul(ne,t0)|0,k=k+Math.imul(ne,j0)|0,k=k+Math.imul(ue,t0)|0,q=q+Math.imul(ue,j0)|0,M=M+Math.imul(U,Ke)|0,k=k+Math.imul(U,B0)|0,k=k+Math.imul(J,Ke)|0,q=q+Math.imul(J,B0)|0;var Ha=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(Ha>>>26)|0,Ha&=67108863,M=Math.imul(Ze,Ve),k=Math.imul(Ze,be),k=k+Math.imul(I0,Ve)|0,q=Math.imul(I0,be),M=M+Math.imul(He,_e)|0,k=k+Math.imul(He,ze)|0,k=k+Math.imul(_0,_e)|0,q=q+Math.imul(_0,ze)|0,M=M+Math.imul(Be,Ue)|0,k=k+Math.imul(Be,b0)|0,k=k+Math.imul(c0,Ue)|0,q=q+Math.imul(c0,b0)|0,M=M+Math.imul(de,$e)|0,k=k+Math.imul(de,M0)|0,k=k+Math.imul(Ae,$e)|0,q=q+Math.imul(Ae,M0)|0,M=M+Math.imul(re,t0)|0,k=k+Math.imul(re,j0)|0,k=k+Math.imul(ie,t0)|0,q=q+Math.imul(ie,j0)|0,M=M+Math.imul(ne,Ke)|0,k=k+Math.imul(ne,B0)|0,k=k+Math.imul(ue,Ke)|0,q=q+Math.imul(ue,B0)|0,M=M+Math.imul(U,s0)|0,k=k+Math.imul(U,X0)|0,k=k+Math.imul(J,s0)|0,q=q+Math.imul(J,X0)|0;var pr=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(pr>>>26)|0,pr&=67108863,M=Math.imul(he,Ve),k=Math.imul(he,be),k=k+Math.imul(Te,Ve)|0,q=Math.imul(Te,be),M=M+Math.imul(Ze,_e)|0,k=k+Math.imul(Ze,ze)|0,k=k+Math.imul(I0,_e)|0,q=q+Math.imul(I0,ze)|0,M=M+Math.imul(He,Ue)|0,k=k+Math.imul(He,b0)|0,k=k+Math.imul(_0,Ue)|0,q=q+Math.imul(_0,b0)|0,M=M+Math.imul(Be,$e)|0,k=k+Math.imul(Be,M0)|0,k=k+Math.imul(c0,$e)|0,q=q+Math.imul(c0,M0)|0,M=M+Math.imul(de,t0)|0,k=k+Math.imul(de,j0)|0,k=k+Math.imul(Ae,t0)|0,q=q+Math.imul(Ae,j0)|0,M=M+Math.imul(re,Ke)|0,k=k+Math.imul(re,B0)|0,k=k+Math.imul(ie,Ke)|0,q=q+Math.imul(ie,B0)|0,M=M+Math.imul(ne,s0)|0,k=k+Math.imul(ne,X0)|0,k=k+Math.imul(ue,s0)|0,q=q+Math.imul(ue,X0)|0,M=M+Math.imul(U,l0)|0,k=k+Math.imul(U,K0)|0,k=k+Math.imul(J,l0)|0,q=q+Math.imul(J,K0)|0;var za=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(za>>>26)|0,za&=67108863,M=Math.imul(Se,Ve),k=Math.imul(Se,be),k=k+Math.imul(Qe,Ve)|0,q=Math.imul(Qe,be),M=M+Math.imul(he,_e)|0,k=k+Math.imul(he,ze)|0,k=k+Math.imul(Te,_e)|0,q=q+Math.imul(Te,ze)|0,M=M+Math.imul(Ze,Ue)|0,k=k+Math.imul(Ze,b0)|0,k=k+Math.imul(I0,Ue)|0,q=q+Math.imul(I0,b0)|0,M=M+Math.imul(He,$e)|0,k=k+Math.imul(He,M0)|0,k=k+Math.imul(_0,$e)|0,q=q+Math.imul(_0,M0)|0,M=M+Math.imul(Be,t0)|0,k=k+Math.imul(Be,j0)|0,k=k+Math.imul(c0,t0)|0,q=q+Math.imul(c0,j0)|0,M=M+Math.imul(de,Ke)|0,k=k+Math.imul(de,B0)|0,k=k+Math.imul(Ae,Ke)|0,q=q+Math.imul(Ae,B0)|0,M=M+Math.imul(re,s0)|0,k=k+Math.imul(re,X0)|0,k=k+Math.imul(ie,s0)|0,q=q+Math.imul(ie,X0)|0,M=M+Math.imul(ne,l0)|0,k=k+Math.imul(ne,K0)|0,k=k+Math.imul(ue,l0)|0,q=q+Math.imul(ue,K0)|0,M=M+Math.imul(U,p0)|0,k=k+Math.imul(U,et)|0,k=k+Math.imul(J,p0)|0,q=q+Math.imul(J,et)|0;var hr=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(hr>>>26)|0,hr&=67108863,M=Math.imul(qe,Ve),k=Math.imul(qe,be),k=k+Math.imul(v0,Ve)|0,q=Math.imul(v0,be),M=M+Math.imul(Se,_e)|0,k=k+Math.imul(Se,ze)|0,k=k+Math.imul(Qe,_e)|0,q=q+Math.imul(Qe,ze)|0,M=M+Math.imul(he,Ue)|0,k=k+Math.imul(he,b0)|0,k=k+Math.imul(Te,Ue)|0,q=q+Math.imul(Te,b0)|0,M=M+Math.imul(Ze,$e)|0,k=k+Math.imul(Ze,M0)|0,k=k+Math.imul(I0,$e)|0,q=q+Math.imul(I0,M0)|0,M=M+Math.imul(He,t0)|0,k=k+Math.imul(He,j0)|0,k=k+Math.imul(_0,t0)|0,q=q+Math.imul(_0,j0)|0,M=M+Math.imul(Be,Ke)|0,k=k+Math.imul(Be,B0)|0,k=k+Math.imul(c0,Ke)|0,q=q+Math.imul(c0,B0)|0,M=M+Math.imul(de,s0)|0,k=k+Math.imul(de,X0)|0,k=k+Math.imul(Ae,s0)|0,q=q+Math.imul(Ae,X0)|0,M=M+Math.imul(re,l0)|0,k=k+Math.imul(re,K0)|0,k=k+Math.imul(ie,l0)|0,q=q+Math.imul(ie,K0)|0,M=M+Math.imul(ne,p0)|0,k=k+Math.imul(ne,et)|0,k=k+Math.imul(ue,p0)|0,q=q+Math.imul(ue,et)|0,M=M+Math.imul(U,$0)|0,k=k+Math.imul(U,Tt)|0,k=k+Math.imul(J,$0)|0,q=q+Math.imul(J,Tt)|0;var ar=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(ar>>>26)|0,ar&=67108863,M=Math.imul(qe,_e),k=Math.imul(qe,ze),k=k+Math.imul(v0,_e)|0,q=Math.imul(v0,ze),M=M+Math.imul(Se,Ue)|0,k=k+Math.imul(Se,b0)|0,k=k+Math.imul(Qe,Ue)|0,q=q+Math.imul(Qe,b0)|0,M=M+Math.imul(he,$e)|0,k=k+Math.imul(he,M0)|0,k=k+Math.imul(Te,$e)|0,q=q+Math.imul(Te,M0)|0,M=M+Math.imul(Ze,t0)|0,k=k+Math.imul(Ze,j0)|0,k=k+Math.imul(I0,t0)|0,q=q+Math.imul(I0,j0)|0,M=M+Math.imul(He,Ke)|0,k=k+Math.imul(He,B0)|0,k=k+Math.imul(_0,Ke)|0,q=q+Math.imul(_0,B0)|0,M=M+Math.imul(Be,s0)|0,k=k+Math.imul(Be,X0)|0,k=k+Math.imul(c0,s0)|0,q=q+Math.imul(c0,X0)|0,M=M+Math.imul(de,l0)|0,k=k+Math.imul(de,K0)|0,k=k+Math.imul(Ae,l0)|0,q=q+Math.imul(Ae,K0)|0,M=M+Math.imul(re,p0)|0,k=k+Math.imul(re,et)|0,k=k+Math.imul(ie,p0)|0,q=q+Math.imul(ie,et)|0,M=M+Math.imul(ne,$0)|0,k=k+Math.imul(ne,Tt)|0,k=k+Math.imul(ue,$0)|0,q=q+Math.imul(ue,Tt)|0;var Cr=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,M=Math.imul(qe,Ue),k=Math.imul(qe,b0),k=k+Math.imul(v0,Ue)|0,q=Math.imul(v0,b0),M=M+Math.imul(Se,$e)|0,k=k+Math.imul(Se,M0)|0,k=k+Math.imul(Qe,$e)|0,q=q+Math.imul(Qe,M0)|0,M=M+Math.imul(he,t0)|0,k=k+Math.imul(he,j0)|0,k=k+Math.imul(Te,t0)|0,q=q+Math.imul(Te,j0)|0,M=M+Math.imul(Ze,Ke)|0,k=k+Math.imul(Ze,B0)|0,k=k+Math.imul(I0,Ke)|0,q=q+Math.imul(I0,B0)|0,M=M+Math.imul(He,s0)|0,k=k+Math.imul(He,X0)|0,k=k+Math.imul(_0,s0)|0,q=q+Math.imul(_0,X0)|0,M=M+Math.imul(Be,l0)|0,k=k+Math.imul(Be,K0)|0,k=k+Math.imul(c0,l0)|0,q=q+Math.imul(c0,K0)|0,M=M+Math.imul(de,p0)|0,k=k+Math.imul(de,et)|0,k=k+Math.imul(Ae,p0)|0,q=q+Math.imul(Ae,et)|0,M=M+Math.imul(re,$0)|0,k=k+Math.imul(re,Tt)|0,k=k+Math.imul(ie,$0)|0,q=q+Math.imul(ie,Tt)|0;var Jr=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(Jr>>>26)|0,Jr&=67108863,M=Math.imul(qe,$e),k=Math.imul(qe,M0),k=k+Math.imul(v0,$e)|0,q=Math.imul(v0,M0),M=M+Math.imul(Se,t0)|0,k=k+Math.imul(Se,j0)|0,k=k+Math.imul(Qe,t0)|0,q=q+Math.imul(Qe,j0)|0,M=M+Math.imul(he,Ke)|0,k=k+Math.imul(he,B0)|0,k=k+Math.imul(Te,Ke)|0,q=q+Math.imul(Te,B0)|0,M=M+Math.imul(Ze,s0)|0,k=k+Math.imul(Ze,X0)|0,k=k+Math.imul(I0,s0)|0,q=q+Math.imul(I0,X0)|0,M=M+Math.imul(He,l0)|0,k=k+Math.imul(He,K0)|0,k=k+Math.imul(_0,l0)|0,q=q+Math.imul(_0,K0)|0,M=M+Math.imul(Be,p0)|0,k=k+Math.imul(Be,et)|0,k=k+Math.imul(c0,p0)|0,q=q+Math.imul(c0,et)|0,M=M+Math.imul(de,$0)|0,k=k+Math.imul(de,Tt)|0,k=k+Math.imul(Ae,$0)|0,q=q+Math.imul(Ae,Tt)|0;var rr=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(rr>>>26)|0,rr&=67108863,M=Math.imul(qe,t0),k=Math.imul(qe,j0),k=k+Math.imul(v0,t0)|0,q=Math.imul(v0,j0),M=M+Math.imul(Se,Ke)|0,k=k+Math.imul(Se,B0)|0,k=k+Math.imul(Qe,Ke)|0,q=q+Math.imul(Qe,B0)|0,M=M+Math.imul(he,s0)|0,k=k+Math.imul(he,X0)|0,k=k+Math.imul(Te,s0)|0,q=q+Math.imul(Te,X0)|0,M=M+Math.imul(Ze,l0)|0,k=k+Math.imul(Ze,K0)|0,k=k+Math.imul(I0,l0)|0,q=q+Math.imul(I0,K0)|0,M=M+Math.imul(He,p0)|0,k=k+Math.imul(He,et)|0,k=k+Math.imul(_0,p0)|0,q=q+Math.imul(_0,et)|0,M=M+Math.imul(Be,$0)|0,k=k+Math.imul(Be,Tt)|0,k=k+Math.imul(c0,$0)|0,q=q+Math.imul(c0,Tt)|0;var of=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(of>>>26)|0,of&=67108863,M=Math.imul(qe,Ke),k=Math.imul(qe,B0),k=k+Math.imul(v0,Ke)|0,q=Math.imul(v0,B0),M=M+Math.imul(Se,s0)|0,k=k+Math.imul(Se,X0)|0,k=k+Math.imul(Qe,s0)|0,q=q+Math.imul(Qe,X0)|0,M=M+Math.imul(he,l0)|0,k=k+Math.imul(he,K0)|0,k=k+Math.imul(Te,l0)|0,q=q+Math.imul(Te,K0)|0,M=M+Math.imul(Ze,p0)|0,k=k+Math.imul(Ze,et)|0,k=k+Math.imul(I0,p0)|0,q=q+Math.imul(I0,et)|0,M=M+Math.imul(He,$0)|0,k=k+Math.imul(He,Tt)|0,k=k+Math.imul(_0,$0)|0,q=q+Math.imul(_0,Tt)|0;var jf=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(jf>>>26)|0,jf&=67108863,M=Math.imul(qe,s0),k=Math.imul(qe,X0),k=k+Math.imul(v0,s0)|0,q=Math.imul(v0,X0),M=M+Math.imul(Se,l0)|0,k=k+Math.imul(Se,K0)|0,k=k+Math.imul(Qe,l0)|0,q=q+Math.imul(Qe,K0)|0,M=M+Math.imul(he,p0)|0,k=k+Math.imul(he,et)|0,k=k+Math.imul(Te,p0)|0,q=q+Math.imul(Te,et)|0,M=M+Math.imul(Ze,$0)|0,k=k+Math.imul(Ze,Tt)|0,k=k+Math.imul(I0,$0)|0,q=q+Math.imul(I0,Tt)|0;var Gs=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(Gs>>>26)|0,Gs&=67108863,M=Math.imul(qe,l0),k=Math.imul(qe,K0),k=k+Math.imul(v0,l0)|0,q=Math.imul(v0,K0),M=M+Math.imul(Se,p0)|0,k=k+Math.imul(Se,et)|0,k=k+Math.imul(Qe,p0)|0,q=q+Math.imul(Qe,et)|0,M=M+Math.imul(he,$0)|0,k=k+Math.imul(he,Tt)|0,k=k+Math.imul(Te,$0)|0,q=q+Math.imul(Te,Tt)|0;var Hd=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(Hd>>>26)|0,Hd&=67108863,M=Math.imul(qe,p0),k=Math.imul(qe,et),k=k+Math.imul(v0,p0)|0,q=Math.imul(v0,et),M=M+Math.imul(Se,$0)|0,k=k+Math.imul(Se,Tt)|0,k=k+Math.imul(Qe,$0)|0,q=q+Math.imul(Qe,Tt)|0;var zd=(B+M|0)+((k&8191)<<13)|0;B=(q+(k>>>13)|0)+(zd>>>26)|0,zd&=67108863,M=Math.imul(qe,$0),k=Math.imul(qe,Tt),k=k+Math.imul(v0,$0)|0,q=Math.imul(v0,Tt);var t2=(B+M|0)+((k&8191)<<13)|0;return B=(q+(k>>>13)|0)+(t2>>>26)|0,t2&=67108863,g[0]=Pn,g[1]=Ln,g[2]=Fn,g[3]=Nn,g[4]=On,g[5]=Ha,g[6]=pr,g[7]=za,g[8]=hr,g[9]=ar,g[10]=Cr,g[11]=Jr,g[12]=rr,g[13]=of,g[14]=jf,g[15]=Gs,g[16]=Hd,g[17]=zd,g[18]=t2,B!==0&&(g[19]=B,P.length++),P};Math.imul||(F=O);function z(w,m,A){A.negative=m.negative^w.negative,A.length=w.length+m.length;for(var P=0,L=0,x=0;x>>26)|0,L+=g>>>26,g&=67108863}A.words[x]=B,P=g,g=L}return P!==0?A.words[x]=P:A.length--,A._strip()}function W(w,m,A){return z(w,m,A)}r.prototype.mulTo=function(m,A){var P,L=this.length+m.length;return this.length===10&&m.length===10?P=F(this,m,A):L<63?P=O(this,m,A):L<1024?P=z(this,m,A):P=W(this,m,A),P};function j(w,m){this.x=w,this.y=m}j.prototype.makeRBT=function(m){for(var A=new Array(m),P=r.prototype._countBits(m)-1,L=0;L>=1;return L},j.prototype.permute=function(m,A,P,L,x,g){for(var B=0;B>>1)x++;return 1<>>13,P[2*g+1]=x&8191,x=x>>>13;for(g=2*A;g>=26,P+=x/67108864|0,P+=g>>>26,this.words[L]=g&67108863}return P!==0&&(this.words[L]=P,this.length++),A?this.ineg():this},r.prototype.muln=function(m){return this.clone().imuln(m)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(m){var A=S(m);if(A.length===0)return new r(1);for(var P=this,L=0;L=0);var A=m%26,P=(m-A)/26,L=67108863>>>26-A<<26-A,x;if(A!==0){var g=0;for(x=0;x>>26-A}g&&(this.words[x]=g,this.length++)}if(P!==0){for(x=this.length-1;x>=0;x--)this.words[x+P]=this.words[x];for(x=0;x=0);var L;A?L=(A-A%26)/26:L=0;var x=m%26,g=Math.min((m-x)/26,this.length),B=67108863^67108863>>>x<g)for(this.length-=g,k=0;k=0&&(q!==0||k>=L);k--){var ee=this.words[k]|0;this.words[k]=q<<26-x|ee>>>x,q=ee&B}return M&&q!==0&&(M.words[M.length++]=q),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},r.prototype.ishrn=function(m,A,P){return n(this.negative===0),this.iushrn(m,A,P)},r.prototype.shln=function(m){return this.clone().ishln(m)},r.prototype.ushln=function(m){return this.clone().iushln(m)},r.prototype.shrn=function(m){return this.clone().ishrn(m)},r.prototype.ushrn=function(m){return this.clone().iushrn(m)},r.prototype.testn=function(m){n(typeof m=="number"&&m>=0);var A=m%26,P=(m-A)/26,L=1<=0);var A=m%26,P=(m-A)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=P)return this;if(A!==0&&P++,this.length=Math.min(P,this.length),A!==0){var L=67108863^67108863>>>A<=67108864;A++)this.words[A]-=67108864,A===this.length-1?this.words[A+1]=1:this.words[A+1]++;return this.length=Math.max(this.length,A+1),this},r.prototype.isubn=function(m){if(n(typeof m=="number"),n(m<67108864),m<0)return this.iaddn(-m);if(this.negative!==0)return this.negative=0,this.iaddn(m),this.negative=1,this;if(this.words[0]-=m,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var A=0;A>26)-(M/67108864|0),this.words[x+P]=g&67108863}for(;x>26,this.words[x+P]=g&67108863;if(B===0)return this._strip();for(n(B===-1),B=0,x=0;x>26,this.words[x]=g&67108863;return this.negative=1,this._strip()},r.prototype._wordDiv=function(m,A){var P=this.length-m.length,L=this.clone(),x=m,g=x.words[x.length-1]|0,B=this._countBits(g);P=26-B,P!==0&&(x=x.ushln(P),L.iushln(P),g=x.words[x.length-1]|0);var M=L.length-x.length,k;if(A!=="mod"){k=new r(null),k.length=M+1,k.words=new Array(k.length);for(var q=0;q=0;U--){var J=(L.words[x.length+U]|0)*67108864+(L.words[x.length+U-1]|0);for(J=Math.min(J/g|0,67108863),L._ishlnsubmul(x,J,U);L.negative!==0;)J--,L.negative=0,L._ishlnsubmul(x,1,U),L.isZero()||(L.negative^=1);k&&(k.words[U]=J)}return k&&k._strip(),L._strip(),A!=="div"&&P!==0&&L.iushrn(P),{div:k||null,mod:L}},r.prototype.divmod=function(m,A,P){if(n(!m.isZero()),this.isZero())return{div:new r(0),mod:new r(0)};var L,x,g;return this.negative!==0&&m.negative===0?(g=this.neg().divmod(m,A),A!=="mod"&&(L=g.div.neg()),A!=="div"&&(x=g.mod.neg(),P&&x.negative!==0&&x.iadd(m)),{div:L,mod:x}):this.negative===0&&m.negative!==0?(g=this.divmod(m.neg(),A),A!=="mod"&&(L=g.div.neg()),{div:L,mod:g.mod}):this.negative&m.negative?(g=this.neg().divmod(m.neg(),A),A!=="div"&&(x=g.mod.neg(),P&&x.negative!==0&&x.isub(m)),{div:g.div,mod:x}):m.length>this.length||this.cmp(m)<0?{div:new r(0),mod:this}:m.length===1?A==="div"?{div:this.divn(m.words[0]),mod:null}:A==="mod"?{div:null,mod:new r(this.modrn(m.words[0]))}:{div:this.divn(m.words[0]),mod:new r(this.modrn(m.words[0]))}:this._wordDiv(m,A)},r.prototype.div=function(m){return this.divmod(m,"div",!1).div},r.prototype.mod=function(m){return this.divmod(m,"mod",!1).mod},r.prototype.umod=function(m){return this.divmod(m,"mod",!0).mod},r.prototype.divRound=function(m){var A=this.divmod(m);if(A.mod.isZero())return A.div;var P=A.div.negative!==0?A.mod.isub(m):A.mod,L=m.ushrn(1),x=m.andln(1),g=P.cmp(L);return g<0||x===1&&g===0?A.div:A.div.negative!==0?A.div.isubn(1):A.div.iaddn(1)},r.prototype.modrn=function(m){var A=m<0;A&&(m=-m),n(m<=67108863);for(var P=(1<<26)%m,L=0,x=this.length-1;x>=0;x--)L=(P*L+(this.words[x]|0))%m;return A?-L:L},r.prototype.modn=function(m){return this.modrn(m)},r.prototype.idivn=function(m){var A=m<0;A&&(m=-m),n(m<=67108863);for(var P=0,L=this.length-1;L>=0;L--){var x=(this.words[L]|0)+P*67108864;this.words[L]=x/m|0,P=x%m}return this._strip(),A?this.ineg():this},r.prototype.divn=function(m){return this.clone().idivn(m)},r.prototype.egcd=function(m){n(m.negative===0),n(!m.isZero());var A=this,P=m.clone();A.negative!==0?A=A.umod(m):A=A.clone();for(var L=new r(1),x=new r(0),g=new r(0),B=new r(1),M=0;A.isEven()&&P.isEven();)A.iushrn(1),P.iushrn(1),++M;for(var k=P.clone(),q=A.clone();!A.isZero();){for(var ee=0,U=1;!(A.words[0]&U)&&ee<26;++ee,U<<=1);if(ee>0)for(A.iushrn(ee);ee-- >0;)(L.isOdd()||x.isOdd())&&(L.iadd(k),x.isub(q)),L.iushrn(1),x.iushrn(1);for(var J=0,Z=1;!(P.words[0]&Z)&&J<26;++J,Z<<=1);if(J>0)for(P.iushrn(J);J-- >0;)(g.isOdd()||B.isOdd())&&(g.iadd(k),B.isub(q)),g.iushrn(1),B.iushrn(1);A.cmp(P)>=0?(A.isub(P),L.isub(g),x.isub(B)):(P.isub(A),g.isub(L),B.isub(x))}return{a:g,b:B,gcd:P.iushln(M)}},r.prototype._invmp=function(m){n(m.negative===0),n(!m.isZero());var A=this,P=m.clone();A.negative!==0?A=A.umod(m):A=A.clone();for(var L=new r(1),x=new r(0),g=P.clone();A.cmpn(1)>0&&P.cmpn(1)>0;){for(var B=0,M=1;!(A.words[0]&M)&&B<26;++B,M<<=1);if(B>0)for(A.iushrn(B);B-- >0;)L.isOdd()&&L.iadd(g),L.iushrn(1);for(var k=0,q=1;!(P.words[0]&q)&&k<26;++k,q<<=1);if(k>0)for(P.iushrn(k);k-- >0;)x.isOdd()&&x.iadd(g),x.iushrn(1);A.cmp(P)>=0?(A.isub(P),L.isub(x)):(P.isub(A),x.isub(L))}var ee;return A.cmpn(1)===0?ee=L:ee=x,ee.cmpn(0)<0&&ee.iadd(m),ee},r.prototype.gcd=function(m){if(this.isZero())return m.abs();if(m.isZero())return this.abs();var A=this.clone(),P=m.clone();A.negative=0,P.negative=0;for(var L=0;A.isEven()&&P.isEven();L++)A.iushrn(1),P.iushrn(1);do{for(;A.isEven();)A.iushrn(1);for(;P.isEven();)P.iushrn(1);var x=A.cmp(P);if(x<0){var g=A;A=P,P=g}else if(x===0||P.cmpn(1)===0)break;A.isub(P)}while(!0);return P.iushln(L)},r.prototype.invm=function(m){return this.egcd(m).a.umod(m)},r.prototype.isEven=function(){return(this.words[0]&1)===0},r.prototype.isOdd=function(){return(this.words[0]&1)===1},r.prototype.andln=function(m){return this.words[0]&m},r.prototype.bincn=function(m){n(typeof m=="number");var A=m%26,P=(m-A)/26,L=1<>>26,B&=67108863,this.words[g]=B}return x!==0&&(this.words[g]=x,this.length++),this},r.prototype.isZero=function(){return this.length===1&&this.words[0]===0},r.prototype.cmpn=function(m){var A=m<0;if(this.negative!==0&&!A)return-1;if(this.negative===0&&A)return 1;this._strip();var P;if(this.length>1)P=1;else{A&&(m=-m),n(m<=67108863,"Number is too big");var L=this.words[0]|0;P=L===m?0:Lm.length)return 1;if(this.length=0;P--){var L=this.words[P]|0,x=m.words[P]|0;if(L!==x){Lx&&(A=1);break}}return A},r.prototype.gtn=function(m){return this.cmpn(m)===1},r.prototype.gt=function(m){return this.cmp(m)===1},r.prototype.gten=function(m){return this.cmpn(m)>=0},r.prototype.gte=function(m){return this.cmp(m)>=0},r.prototype.ltn=function(m){return this.cmpn(m)===-1},r.prototype.lt=function(m){return this.cmp(m)===-1},r.prototype.lten=function(m){return this.cmpn(m)<=0},r.prototype.lte=function(m){return this.cmp(m)<=0},r.prototype.eqn=function(m){return this.cmpn(m)===0},r.prototype.eq=function(m){return this.cmp(m)===0},r.red=function(m){return new T(m)},r.prototype.toRed=function(m){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),m.convertTo(this)._forceRed(m)},r.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(m){return this.red=m,this},r.prototype.forceRed=function(m){return n(!this.red,"Already a number in reduction context"),this._forceRed(m)},r.prototype.redAdd=function(m){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,m)},r.prototype.redIAdd=function(m){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,m)},r.prototype.redSub=function(m){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,m)},r.prototype.redISub=function(m){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,m)},r.prototype.redShl=function(m){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,m)},r.prototype.redMul=function(m){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,m),this.red.mul(this,m)},r.prototype.redIMul=function(m){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,m),this.red.imul(this,m)},r.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},r.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},r.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},r.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},r.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},r.prototype.redPow=function(m){return n(this.red&&!m.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,m)};var Q={k256:null,p224:null,p192:null,p25519:null};function V(w,m){this.name=w,this.p=new r(m,16),this.n=this.p.bitLength(),this.k=new r(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}V.prototype._tmp=function(){var m=new r(null);return m.words=new Array(Math.ceil(this.n/13)),m},V.prototype.ireduce=function(m){var A=m,P;do this.split(A,this.tmp),A=this.imulK(A),A=A.iadd(this.tmp),P=A.bitLength();while(P>this.n);var L=P0?A.isub(this.p):A.strip!==void 0?A.strip():A._strip(),A},V.prototype.split=function(m,A){m.iushrn(this.n,0,A)},V.prototype.imulK=function(m){return m.imul(this.k)};function X(){V.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(X,V),X.prototype.split=function(m,A){for(var P=4194303,L=Math.min(m.length,9),x=0;x>>22,g=B}g>>>=22,m.words[x-10]=g,g===0&&m.length>10?m.length-=10:m.length-=9},X.prototype.imulK=function(m){m.words[m.length]=0,m.words[m.length+1]=0,m.length+=2;for(var A=0,P=0;P>>=26,m.words[P]=x,A=L}return A!==0&&(m.words[m.length++]=A),m},r._prime=function(m){if(Q[m])return Q[m];var A;if(m==="k256")A=new X;else if(m==="p224")A=new K;else if(m==="p192")A=new G;else if(m==="p25519")A=new R;else throw new Error("Unknown prime "+m);return Q[m]=A,A};function T(w){if(typeof w=="string"){var m=r._prime(w);this.m=m.p,this.prime=m}else n(w.gtn(1),"modulus must be greater than 1"),this.m=w,this.prime=null}T.prototype._verify1=function(m){n(m.negative===0,"red works only with positives"),n(m.red,"red works only with red numbers")},T.prototype._verify2=function(m,A){n((m.negative|A.negative)===0,"red works only with positives"),n(m.red&&m.red===A.red,"red works only with red numbers")},T.prototype.imod=function(m){return this.prime?this.prime.ireduce(m)._forceRed(this):(c(m,m.umod(this.m)._forceRed(this)),m)},T.prototype.neg=function(m){return m.isZero()?m.clone():this.m.sub(m)._forceRed(this)},T.prototype.add=function(m,A){this._verify2(m,A);var P=m.add(A);return P.cmp(this.m)>=0&&P.isub(this.m),P._forceRed(this)},T.prototype.iadd=function(m,A){this._verify2(m,A);var P=m.iadd(A);return P.cmp(this.m)>=0&&P.isub(this.m),P},T.prototype.sub=function(m,A){this._verify2(m,A);var P=m.sub(A);return P.cmpn(0)<0&&P.iadd(this.m),P._forceRed(this)},T.prototype.isub=function(m,A){this._verify2(m,A);var P=m.isub(A);return P.cmpn(0)<0&&P.iadd(this.m),P},T.prototype.shl=function(m,A){return this._verify1(m),this.imod(m.ushln(A))},T.prototype.imul=function(m,A){return this._verify2(m,A),this.imod(m.imul(A))},T.prototype.mul=function(m,A){return this._verify2(m,A),this.imod(m.mul(A))},T.prototype.isqr=function(m){return this.imul(m,m.clone())},T.prototype.sqr=function(m){return this.mul(m,m)},T.prototype.sqrt=function(m){if(m.isZero())return m.clone();var A=this.m.andln(3);if(n(A%2===1),A===3){var P=this.m.add(new r(1)).iushrn(2);return this.pow(m,P)}for(var L=this.m.subn(1),x=0;!L.isZero()&&L.andln(1)===0;)x++,L.iushrn(1);n(!L.isZero());var g=new r(1).toRed(this),B=g.redNeg(),M=this.m.subn(1).iushrn(1),k=this.m.bitLength();for(k=new r(2*k*k).toRed(this);this.pow(k,M).cmp(B)!==0;)k.redIAdd(B);for(var q=this.pow(k,L),ee=this.pow(m,L.addn(1).iushrn(1)),U=this.pow(m,L),J=x;U.cmp(g)!==0;){for(var Z=U,ne=0;Z.cmp(g)!==0;ne++)Z=Z.redSqr();n(ne=0;x--){for(var q=A.words[x],ee=k-1;ee>=0;ee--){var U=q>>ee&1;if(g!==L[0]&&(g=this.sqr(g)),U===0&&B===0){M=0;continue}B<<=1,B|=U,M++,!(M!==P&&(x!==0||ee!==0))&&(g=this.mul(g,L[B]),M=0,B=0)}k=26}return g},T.prototype.convertTo=function(m){var A=m.umod(this.m);return A===m?A.clone():A},T.prototype.convertFrom=function(m){var A=m.clone();return A.red=null,A},r.mont=function(m){return new N(m)};function N(w){T.call(this,w),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new r(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(N,T),N.prototype.convertTo=function(m){return this.imod(m.ushln(this.shift))},N.prototype.convertFrom=function(m){var A=this.imod(m.mul(this.rinv));return A.red=null,A},N.prototype.imul=function(m,A){if(m.isZero()||A.isZero())return m.words[0]=0,m.length=1,m;var P=m.imul(A),L=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=P.isub(L).iushrn(this.shift),g=x;return x.cmp(this.m)>=0?g=x.isub(this.m):x.cmpn(0)<0&&(g=x.iadd(this.m)),g._forceRed(this)},N.prototype.mul=function(m,A){if(m.isZero()||A.isZero())return new r(0)._forceRed(this);var P=m.mul(A),L=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=P.isub(L).iushrn(this.shift),g=x;return x.cmp(this.m)>=0?g=x.isub(this.m):x.cmpn(0)<0&&(g=x.iadd(this.m)),g._forceRed(this)},N.prototype.invm=function(m){var A=this.imod(m._invmp(this.m).mul(this.r2));return A._forceRed(this)}})(typeof E0e>"u"||E0e,Yve)});var $ve=D(kF=>{"use strict";u();p();Object.defineProperty(kF,"__esModule",{value:!0});kF.version=void 0;kF.version="logger/5.7.0"});var Ft=D(l2=>{"use strict";u();p();Object.defineProperty(l2,"__esModule",{value:!0});l2.Logger=l2.ErrorCode=l2.LogLevel=void 0;var Jve=!1,Xve=!1,SF={debug:1,default:2,info:2,warning:3,error:4,off:5},Zve=SF.default,GB0=$ve(),_0e=null;function KB0(){try{var t=[];if(["NFD","NFC","NFKD","NFKC"].forEach(function(e){try{if("test".normalize(e)!=="test")throw new Error("bad normalize")}catch{t.push(e)}}),t.length)throw new Error("missing "+t.join(", "));if("\xE9".normalize("NFD")!=="e\u0301")throw new Error("broken implementation")}catch(e){return e.message}return null}var ewe=KB0(),nwe;(function(t){t.DEBUG="DEBUG",t.INFO="INFO",t.WARNING="WARNING",t.ERROR="ERROR",t.OFF="OFF"})(nwe=l2.LogLevel||(l2.LogLevel={}));var d2;(function(t){t.UNKNOWN_ERROR="UNKNOWN_ERROR",t.NOT_IMPLEMENTED="NOT_IMPLEMENTED",t.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",t.NETWORK_ERROR="NETWORK_ERROR",t.SERVER_ERROR="SERVER_ERROR",t.TIMEOUT="TIMEOUT",t.BUFFER_OVERRUN="BUFFER_OVERRUN",t.NUMERIC_FAULT="NUMERIC_FAULT",t.MISSING_NEW="MISSING_NEW",t.INVALID_ARGUMENT="INVALID_ARGUMENT",t.MISSING_ARGUMENT="MISSING_ARGUMENT",t.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",t.CALL_EXCEPTION="CALL_EXCEPTION",t.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",t.NONCE_EXPIRED="NONCE_EXPIRED",t.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",t.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",t.TRANSACTION_REPLACED="TRANSACTION_REPLACED",t.ACTION_REJECTED="ACTION_REJECTED"})(d2=l2.ErrorCode||(l2.ErrorCode={}));var twe="0123456789abcdef",QB0=function(){function t(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}return t.prototype._log=function(e,n){var a=e.toLowerCase();SF[a]==null&&this.throwArgumentError("invalid log level name","logLevel",e),!(Zve>SF[a])&&console.log.apply(console,n)},t.prototype.debug=function(){for(var e=[],n=0;n>4],l+=twe[d[h]&15];r.push(c+"=Uint8Array(0x"+l+")")}else r.push(c+"="+JSON.stringify(d))}catch{r.push(c+"="+JSON.stringify(a[c].toString()))}}),r.push("code="+n),r.push("version="+this.version);var f=e,i="";switch(n){case d2.NUMERIC_FAULT:{i="NUMERIC_FAULT";var s=e;switch(s){case"overflow":case"underflow":case"division-by-zero":i+="-"+s;break;case"negative-power":case"negative-width":i+="-unsupported";break;case"unbound-bitwise-result":i+="-unbound-result";break}break}case d2.CALL_EXCEPTION:case d2.INSUFFICIENT_FUNDS:case d2.MISSING_NEW:case d2.NONCE_EXPIRED:case d2.REPLACEMENT_UNDERPRICED:case d2.TRANSACTION_REPLACED:case d2.UNPREDICTABLE_GAS_LIMIT:i=n;break}i&&(e+=" [ See: https://links.ethers.org/v5-errors-"+i+" ]"),r.length&&(e+=" ("+r.join(", ")+")");var o=new Error(e);return o.reason=f,o.code=n,Object.keys(a).forEach(function(c){o[c]=a[c]}),o},t.prototype.throwError=function(e,n,a){throw this.makeError(e,n,a)},t.prototype.throwArgumentError=function(e,n,a){return this.throwError(e,t.errors.INVALID_ARGUMENT,{argument:n,value:a})},t.prototype.assert=function(e,n,a,r){e||this.throwError(n,a,r)},t.prototype.assertArgument=function(e,n,a,r){e||this.throwArgumentError(n,a,r)},t.prototype.checkNormalize=function(e){e==null&&(e="platform missing String.prototype.normalize"),ewe&&this.throwError("platform missing String.prototype.normalize",t.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:ewe})},t.prototype.checkSafeUint53=function(e,n){typeof e=="number"&&(n==null&&(n="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(n,t.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(n,t.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))},t.prototype.checkArgumentCount=function(e,n,a){a?a=": "+a:a="",en&&this.throwError("too many arguments"+a,t.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:n})},t.prototype.checkNew=function(e,n){(e===Object||e==null)&&this.throwError("missing new",t.errors.MISSING_NEW,{name:n.name})},t.prototype.checkAbstract=function(e,n){e===n?this.throwError("cannot instantiate abstract class "+JSON.stringify(n.name)+" directly; use a sub-class",t.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):(e===Object||e==null)&&this.throwError("missing new",t.errors.MISSING_NEW,{name:n.name})},t.globalLogger=function(){return _0e||(_0e=new t(GB0.version)),_0e},t.setCensorship=function(e,n){if(!e&&n&&this.globalLogger().throwError("cannot permanently disable censorship",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),Jve){if(!e)return;this.globalLogger().throwError("error censorship permanent",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}Xve=!!e,Jve=!!n},t.setLogLevel=function(e){var n=SF[e.toLowerCase()];if(n==null){t.globalLogger().warn("invalid log level - "+e);return}Zve=n},t.from=function(e){return new t(e)},t.errors=d2,t.levels=nwe,t}();l2.Logger=QB0});var awe=D(RF=>{"use strict";u();p();Object.defineProperty(RF,"__esModule",{value:!0});RF.version=void 0;RF.version="bytes/5.7.0"});var Vt=D(ga=>{"use strict";u();p();Object.defineProperty(ga,"__esModule",{value:!0});ga.joinSignature=ga.splitSignature=ga.hexZeroPad=ga.hexStripZeros=ga.hexValue=ga.hexConcat=ga.hexDataSlice=ga.hexDataLength=ga.hexlify=ga.isHexString=ga.zeroPad=ga.stripZeros=ga.concat=ga.arrayify=ga.isBytes=ga.isBytesLike=void 0;var VB0=Ft(),YB0=awe(),Qf=new VB0.Logger(YB0.version);function fwe(t){return!!t.toHexString}function Gv(t){return t.slice||(t.slice=function(){var e=Array.prototype.slice.call(arguments);return Gv(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function iwe(t){return $d(t)&&!(t.length%2)||BF(t)}ga.isBytesLike=iwe;function rwe(t){return typeof t=="number"&&t==t&&t%1===0}function BF(t){if(t==null)return!1;if(t.constructor===Uint8Array)return!0;if(typeof t=="string"||!rwe(t.length)||t.length<0)return!1;for(var e=0;e=256)return!1}return!0}ga.isBytes=BF;function my(t,e){if(e||(e={}),typeof t=="number"){Qf.checkSafeUint53(t,"invalid arrayify value");for(var n=[];t;)n.unshift(t&255),t=parseInt(String(t/256));return n.length===0&&n.push(0),Gv(new Uint8Array(n))}if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),fwe(t)&&(t=t.toHexString()),$d(t)){var a=t.substring(2);a.length%2&&(e.hexPad==="left"?a="0"+a:e.hexPad==="right"?a+="0":Qf.throwArgumentError("hex data is odd-length","value",t));for(var n=[],r=0;re&&Qf.throwArgumentError("value out of range","value",arguments[0]);var n=new Uint8Array(e);return n.set(t,e-t.length),Gv(n)}ga.zeroPad=owe;function $d(t,e){return!(typeof t!="string"||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}ga.isHexString=$d;var A0e="0123456789abcdef";function Ro(t,e){if(e||(e={}),typeof t=="number"){Qf.checkSafeUint53(t,"invalid hexlify value");for(var n="";t;)n=A0e[t&15]+n,t=Math.floor(t/16);return n.length?(n.length%2&&(n="0"+n),"0x"+n):"0x00"}if(typeof t=="bigint")return t=t.toString(16),t.length%2?"0x0"+t:"0x"+t;if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),fwe(t))return t.toHexString();if($d(t))return t.length%2&&(e.hexPad==="left"?t="0x0"+t.substring(2):e.hexPad==="right"?t+="0":Qf.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(BF(t)){for(var a="0x",r=0;r>4]+A0e[f&15]}return a}return Qf.throwArgumentError("invalid hexlify value","value",t)}ga.hexlify=Ro;function JB0(t){if(typeof t!="string")t=Ro(t);else if(!$d(t)||t.length%2)return null;return(t.length-2)/2}ga.hexDataLength=JB0;function XB0(t,e,n){return typeof t!="string"?t=Ro(t):(!$d(t)||t.length%2)&&Qf.throwArgumentError("invalid hexData","value",t),e=2+2*e,n!=null?"0x"+t.substring(e,2+2*n):"0x"+t.substring(e)}ga.hexDataSlice=XB0;function ZB0(t){var e="0x";return t.forEach(function(n){e+=Ro(n).substring(2)}),e}ga.hexConcat=ZB0;function eD0(t){var e=cwe(Ro(t,{hexPad:"left"}));return e==="0x"?"0x0":e}ga.hexValue=eD0;function cwe(t){typeof t!="string"&&(t=Ro(t)),$d(t)||Qf.throwArgumentError("invalid hex string","value",t),t=t.substring(2);for(var e=0;e2*e+2&&Qf.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}ga.hexZeroPad=MF;function dwe(t){var e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(iwe(t)){var n=my(t);n.length===64?(e.v=27+(n[32]>>7),n[32]&=127,e.r=Ro(n.slice(0,32)),e.s=Ro(n.slice(32,64))):n.length===65?(e.r=Ro(n.slice(0,32)),e.s=Ro(n.slice(32,64)),e.v=n[64]):Qf.throwArgumentError("invalid signature string","signature",t),e.v<27&&(e.v===0||e.v===1?e.v+=27:Qf.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(n[32]|=128),e._vs=Ro(n.slice(32,64))}else{if(e.r=t.r,e.s=t.s,e.v=t.v,e.recoveryParam=t.recoveryParam,e._vs=t._vs,e._vs!=null){var a=owe(my(e._vs),32);e._vs=Ro(a);var r=a[0]>=128?1:0;e.recoveryParam==null?e.recoveryParam=r:e.recoveryParam!==r&&Qf.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),a[0]&=127;var f=Ro(a);e.s==null?e.s=f:e.s!==f&&Qf.throwArgumentError("signature v mismatch _vs","signature",t)}if(e.recoveryParam==null)e.v==null?Qf.throwArgumentError("signature missing v and recoveryParam","signature",t):e.v===0||e.v===1?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(e.v==null)e.v=27+e.recoveryParam;else{var i=e.v===0||e.v===1?e.v:1-e.v%2;e.recoveryParam!==i&&Qf.throwArgumentError("signature recoveryParam mismatch v","signature",t)}e.r==null||!$d(e.r)?Qf.throwArgumentError("signature missing or invalid r","signature",t):e.r=MF(e.r,32),e.s==null||!$d(e.s)?Qf.throwArgumentError("signature missing or invalid s","signature",t):e.s=MF(e.s,32);var s=my(e.s);s[0]>=128&&Qf.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(s[0]|=128);var o=Ro(s);e._vs&&($d(e._vs)||Qf.throwArgumentError("signature invalid _vs","signature",t),e._vs=MF(e._vs,32)),e._vs==null?e._vs=o:e._vs!==o&&Qf.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}ga.splitSignature=dwe;function tD0(t){return t=dwe(t),Ro(swe([t.r,t.s,t.recoveryParam?"0x1c":"0x1b"]))}ga.joinSignature=tD0});var C0e=D(DF=>{"use strict";u();p();Object.defineProperty(DF,"__esModule",{value:!0});DF.version=void 0;DF.version="bignumber/5.7.0"});var LF=D(m5=>{"use strict";u();p();var nD0=m5&&m5.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(m5,"__esModule",{value:!0});m5._base16To36=m5._base36To16=m5.BigNumber=m5.isBigNumberish=void 0;var aD0=nD0(Va()),rI=aD0.default.BN,Kv=Vt(),Qv=Ft(),rD0=C0e(),Xp=new Qv.Logger(rD0.version),I0e={},lwe=9007199254740991;function fD0(t){return t!=null&&(PF.isBigNumber(t)||typeof t=="number"&&t%1===0||typeof t=="string"&&!!t.match(/^-?[0-9]+$/)||(0,Kv.isHexString)(t)||typeof t=="bigint"||(0,Kv.isBytes)(t))}m5.isBigNumberish=fD0;var uwe=!1,PF=function(){function t(e,n){e!==I0e&&Xp.throwError("cannot call constructor directly; use BigNumber.from",Qv.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=n,this._isBigNumber=!0,Object.freeze(this)}return t.prototype.fromTwos=function(e){return Ic(Jn(this).fromTwos(e))},t.prototype.toTwos=function(e){return Ic(Jn(this).toTwos(e))},t.prototype.abs=function(){return this._hex[0]==="-"?t.from(this._hex.substring(1)):this},t.prototype.add=function(e){return Ic(Jn(this).add(Jn(e)))},t.prototype.sub=function(e){return Ic(Jn(this).sub(Jn(e)))},t.prototype.div=function(e){var n=t.from(e);return n.isZero()&&b5("division-by-zero","div"),Ic(Jn(this).div(Jn(e)))},t.prototype.mul=function(e){return Ic(Jn(this).mul(Jn(e)))},t.prototype.mod=function(e){var n=Jn(e);return n.isNeg()&&b5("division-by-zero","mod"),Ic(Jn(this).umod(n))},t.prototype.pow=function(e){var n=Jn(e);return n.isNeg()&&b5("negative-power","pow"),Ic(Jn(this).pow(n))},t.prototype.and=function(e){var n=Jn(e);return(this.isNegative()||n.isNeg())&&b5("unbound-bitwise-result","and"),Ic(Jn(this).and(n))},t.prototype.or=function(e){var n=Jn(e);return(this.isNegative()||n.isNeg())&&b5("unbound-bitwise-result","or"),Ic(Jn(this).or(n))},t.prototype.xor=function(e){var n=Jn(e);return(this.isNegative()||n.isNeg())&&b5("unbound-bitwise-result","xor"),Ic(Jn(this).xor(n))},t.prototype.mask=function(e){return(this.isNegative()||e<0)&&b5("negative-width","mask"),Ic(Jn(this).maskn(e))},t.prototype.shl=function(e){return(this.isNegative()||e<0)&&b5("negative-width","shl"),Ic(Jn(this).shln(e))},t.prototype.shr=function(e){return(this.isNegative()||e<0)&&b5("negative-width","shr"),Ic(Jn(this).shrn(e))},t.prototype.eq=function(e){return Jn(this).eq(Jn(e))},t.prototype.lt=function(e){return Jn(this).lt(Jn(e))},t.prototype.lte=function(e){return Jn(this).lte(Jn(e))},t.prototype.gt=function(e){return Jn(this).gt(Jn(e))},t.prototype.gte=function(e){return Jn(this).gte(Jn(e))},t.prototype.isNegative=function(){return this._hex[0]==="-"},t.prototype.isZero=function(){return Jn(this).isZero()},t.prototype.toNumber=function(){try{return Jn(this).toNumber()}catch{b5("overflow","toNumber",this.toString())}return null},t.prototype.toBigInt=function(){try{return BigInt(this.toString())}catch{}return Xp.throwError("this platform does not support BigInt",Qv.Logger.errors.UNSUPPORTED_OPERATION,{value:this.toString()})},t.prototype.toString=function(){return arguments.length>0&&(arguments[0]===10?uwe||(uwe=!0,Xp.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?Xp.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",Qv.Logger.errors.UNEXPECTED_ARGUMENT,{}):Xp.throwError("BigNumber.toString does not accept parameters",Qv.Logger.errors.UNEXPECTED_ARGUMENT,{})),Jn(this).toString(10)},t.prototype.toHexString=function(){return this._hex},t.prototype.toJSON=function(e){return{type:"BigNumber",hex:this.toHexString()}},t.from=function(e){if(e instanceof t)return e;if(typeof e=="string")return e.match(/^-?0x[0-9a-f]+$/i)?new t(I0e,fI(e)):e.match(/^-?[0-9]+$/)?new t(I0e,fI(new rI(e))):Xp.throwArgumentError("invalid BigNumber string","value",e);if(typeof e=="number")return e%1&&b5("underflow","BigNumber.from",e),(e>=lwe||e<=-lwe)&&b5("overflow","BigNumber.from",e),t.from(String(e));var n=e;if(typeof n=="bigint")return t.from(n.toString());if((0,Kv.isBytes)(n))return t.from((0,Kv.hexlify)(n));if(n)if(n.toHexString){var a=n.toHexString();if(typeof a=="string")return t.from(a)}else{var a=n._hex;if(a==null&&n.type==="BigNumber"&&(a=n.hex),typeof a=="string"&&((0,Kv.isHexString)(a)||a[0]==="-"&&(0,Kv.isHexString)(a.substring(1))))return t.from(a)}return Xp.throwArgumentError("invalid BigNumber value","value",e)},t.isBigNumber=function(e){return!!(e&&e._isBigNumber)},t}();m5.BigNumber=PF;function fI(t){if(typeof t!="string")return fI(t.toString(16));if(t[0]==="-")return t=t.substring(1),t[0]==="-"&&Xp.throwArgumentError("invalid hex","value",t),t=fI(t),t==="0x00"?t:"-"+t;if(t.substring(0,2)!=="0x"&&(t="0x"+t),t==="0x")return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&t.substring(0,4)==="0x00";)t="0x"+t.substring(4);return t}function Ic(t){return PF.from(fI(t))}function Jn(t){var e=PF.from(t).toHexString();return e[0]==="-"?new rI("-"+e.substring(3),16):new rI(e.substring(2),16)}function b5(t,e,n){var a={fault:t,operation:e};return n!=null&&(a.value=n),Xp.throwError(t,Qv.Logger.errors.NUMERIC_FAULT,a)}function iD0(t){return new rI(t,36).toString(16)}m5._base36To16=iD0;function sD0(t){return new rI(t,16).toString(36)}m5._base16To36=sD0});var ywe=D(p2=>{"use strict";u();p();Object.defineProperty(p2,"__esModule",{value:!0});p2.FixedNumber=p2.FixedFormat=p2.parseFixed=p2.formatFixed=void 0;var FF=Vt(),oI=Ft(),oD0=C0e(),N1=new oI.Logger(oD0.version),Zp=LF(),iI={},hwe=Zp.BigNumber.from(0),bwe=Zp.BigNumber.from(-1);function mwe(t,e,n,a){var r={fault:e,operation:n};return a!==void 0&&(r.value=a),N1.throwError(t,oI.Logger.errors.NUMERIC_FAULT,r)}var sI="0";for(;sI.length<256;)sI+=sI;function k0e(t){if(typeof t!="number")try{t=Zp.BigNumber.from(t).toNumber()}catch{}return typeof t=="number"&&t>=0&&t<=256&&!(t%1)?"1"+sI.substring(0,t):N1.throwArgumentError("invalid decimal size","decimals",t)}function NF(t,e){e==null&&(e=0);var n=k0e(e);t=Zp.BigNumber.from(t);var a=t.lt(hwe);a&&(t=t.mul(bwe));for(var r=t.mod(n).toString();r.length2&&N1.throwArgumentError("too many decimal points","value",t);var f=r[0],i=r[1];for(f||(f="0"),i||(i="0");i[i.length-1]==="0";)i=i.substring(0,i.length-1);for(i.length>n.length-1&&mwe("fractional component exceeds decimals","underflow","parseFixed"),i===""&&(i="0");i.length80&&N1.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",r),new t(iI,n,a,r)},t}();p2.FixedFormat=OF;var S0e=function(){function t(e,n,a,r){e!==iI&&N1.throwError("cannot use FixedNumber constructor; use FixedNumber.from",oI.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=r,this._hex=n,this._value=a,this._isFixedNumber=!0,Object.freeze(this)}return t.prototype._checkFormat=function(e){this.format.name!==e.format.name&&N1.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)},t.prototype.addUnsafe=function(e){this._checkFormat(e);var n=u2(this._value,this.format.decimals),a=u2(e._value,e.format.decimals);return t.fromValue(n.add(a),this.format.decimals,this.format)},t.prototype.subUnsafe=function(e){this._checkFormat(e);var n=u2(this._value,this.format.decimals),a=u2(e._value,e.format.decimals);return t.fromValue(n.sub(a),this.format.decimals,this.format)},t.prototype.mulUnsafe=function(e){this._checkFormat(e);var n=u2(this._value,this.format.decimals),a=u2(e._value,e.format.decimals);return t.fromValue(n.mul(a).div(this.format._multiplier),this.format.decimals,this.format)},t.prototype.divUnsafe=function(e){this._checkFormat(e);var n=u2(this._value,this.format.decimals),a=u2(e._value,e.format.decimals);return t.fromValue(n.mul(this.format._multiplier).div(a),this.format.decimals,this.format)},t.prototype.floor=function(){var e=this.toString().split(".");e.length===1&&e.push("0");var n=t.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return this.isNegative()&&a&&(n=n.subUnsafe(pwe.toFormat(n.format))),n},t.prototype.ceiling=function(){var e=this.toString().split(".");e.length===1&&e.push("0");var n=t.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return!this.isNegative()&&a&&(n=n.addUnsafe(pwe.toFormat(n.format))),n},t.prototype.round=function(e){e==null&&(e=0);var n=this.toString().split(".");if(n.length===1&&n.push("0"),(e<0||e>80||e%1)&&N1.throwArgumentError("invalid decimal count","decimals",e),n[1].length<=e)return this;var a=t.from("1"+sI.substring(0,e),this.format),r=cD0.toFormat(this.format);return this.mulUnsafe(a).addUnsafe(r).floor().divUnsafe(a)},t.prototype.isZero=function(){return this._value==="0.0"||this._value==="0"},t.prototype.isNegative=function(){return this._value[0]==="-"},t.prototype.toString=function(){return this._value},t.prototype.toHexString=function(e){if(e==null)return this._hex;e%8&&N1.throwArgumentError("invalid byte width","width",e);var n=Zp.BigNumber.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return(0,FF.hexZeroPad)(n,e/8)},t.prototype.toUnsafeFloat=function(){return parseFloat(this.toString())},t.prototype.toFormat=function(e){return t.fromString(this._value,e)},t.fromValue=function(e,n,a){return a==null&&n!=null&&!(0,Zp.isBigNumberish)(n)&&(a=n,n=null),n==null&&(n=0),a==null&&(a="fixed"),t.fromString(NF(e,n),OF.from(a))},t.fromString=function(e,n){n==null&&(n="fixed");var a=OF.from(n),r=u2(e,a.decimals);!a.signed&&r.lt(hwe)&&mwe("unsigned value cannot be negative","overflow","value",e);var f=null;a.signed?f=r.toTwos(a.width).toHexString():(f=r.toHexString(),f=(0,FF.hexZeroPad)(f,a.width/8));var i=NF(r,a.decimals);return new t(iI,f,i,a)},t.fromBytes=function(e,n){n==null&&(n="fixed");var a=OF.from(n);if((0,FF.arrayify)(e).length>a.width/8)throw new Error("overflow");var r=Zp.BigNumber.from(e);a.signed&&(r=r.fromTwos(a.width));var f=r.toTwos((a.signed?0:1)+a.width).toHexString(),i=NF(r,a.decimals);return new t(iI,f,i,a)},t.from=function(e,n){if(typeof e=="string")return t.fromString(e,n);if((0,FF.isBytes)(e))return t.fromBytes(e,n);try{return t.fromValue(e,0,n)}catch(a){if(a.code!==oI.Logger.errors.INVALID_ARGUMENT)throw a}return N1.throwArgumentError("invalid FixedNumber value","value",e)},t.isFixedNumber=function(e){return!!(e&&e._isFixedNumber)},t}();p2.FixedNumber=S0e;var pwe=S0e.from(1),cD0=S0e.from("0.5")});var ia=D(Mo=>{"use strict";u();p();Object.defineProperty(Mo,"__esModule",{value:!0});Mo._base36To16=Mo._base16To36=Mo.parseFixed=Mo.FixedNumber=Mo.FixedFormat=Mo.formatFixed=Mo.BigNumber=void 0;var dD0=LF();Object.defineProperty(Mo,"BigNumber",{enumerable:!0,get:function(){return dD0.BigNumber}});var UF=ywe();Object.defineProperty(Mo,"formatFixed",{enumerable:!0,get:function(){return UF.formatFixed}});Object.defineProperty(Mo,"FixedFormat",{enumerable:!0,get:function(){return UF.FixedFormat}});Object.defineProperty(Mo,"FixedNumber",{enumerable:!0,get:function(){return UF.FixedNumber}});Object.defineProperty(Mo,"parseFixed",{enumerable:!0,get:function(){return UF.parseFixed}});var gwe=LF();Object.defineProperty(Mo,"_base16To36",{enumerable:!0,get:function(){return gwe._base16To36}});Object.defineProperty(Mo,"_base36To16",{enumerable:!0,get:function(){return gwe._base36To16}})});var vwe=D(HF=>{"use strict";u();p();Object.defineProperty(HF,"__esModule",{value:!0});HF.version=void 0;HF.version="properties/5.7.0"});var Ba=D(Ei=>{"use strict";u();p();var lD0=Ei&&Ei.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},uD0=Ei&&Ei.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();Object.defineProperty(qF,"__esModule",{value:!0});qF.version=void 0;qF.version="abi/5.7.0"});var $F=D(Ut=>{"use strict";u();p();var QF=Ut&&Ut.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(Ut,"__esModule",{value:!0});Ut.ErrorFragment=Ut.FunctionFragment=Ut.ConstructorFragment=Ut.EventFragment=Ut.Fragment=Ut.ParamType=Ut.FormatTypes=void 0;var D0e=ia(),xD0=Ba(),VF=Ft(),ED0=Vv(),sa=new VF.Logger(ED0.version),yy={},xwe={calldata:!0,memory:!0,storage:!0},_D0={calldata:!0,memory:!0};function jF(t,e){if(t==="bytes"||t==="string"){if(xwe[e])return!0}else if(t==="address"){if(e==="payable")return!0}else if((t.indexOf("[")>=0||t==="tuple")&&_D0[e])return!0;return(xwe[e]||e==="payable")&&sa.throwArgumentError("invalid modifier","name",e),!1}function AD0(t,e){var n=t;function a(l){sa.throwArgumentError("unexpected character at position "+l,"param",t)}t=t.replace(/\s/g," ");function r(l){var h={type:"",name:"",parent:l,state:{allowType:!0}};return e&&(h.indexed=!1),h}for(var f={type:"",name:"",state:{allowType:!0}},i=f,s=0;s2&&sa.throwArgumentError("invalid human-readable ABI signature","value",t),n[1].match(/^[0-9]+$/)||sa.throwArgumentError("invalid human-readable ABI signature gas","value",t),e.gas=D0e.BigNumber.from(n[1]),n[0]):t}function Awe(t,e){e.constant=!1,e.payable=!1,e.stateMutability="nonpayable",t.split(" ").forEach(function(n){switch(n.trim()){case"constant":e.constant=!0;break;case"payable":e.payable=!0,e.stateMutability="payable";break;case"nonpayable":e.payable=!1,e.stateMutability="nonpayable";break;case"pure":e.constant=!0,e.stateMutability="pure";break;case"view":e.constant=!0,e.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+n)}})}function Cwe(t){var e={constant:!1,payable:!0,stateMutability:"payable"};return t.stateMutability!=null?(e.stateMutability=t.stateMutability,e.constant=e.stateMutability==="view"||e.stateMutability==="pure",t.constant!=null&&!!t.constant!==e.constant&&sa.throwArgumentError("cannot have constant function with mutability "+e.stateMutability,"value",t),e.payable=e.stateMutability==="payable",t.payable!=null&&!!t.payable!==e.payable&&sa.throwArgumentError("cannot have payable function with mutability "+e.stateMutability,"value",t)):t.payable!=null?(e.payable=!!t.payable,t.constant==null&&!e.payable&&t.type!=="constructor"&&sa.throwArgumentError("unable to determine stateMutability","value",t),e.constant=!!t.constant,e.constant?e.stateMutability="view":e.stateMutability=e.payable?"payable":"nonpayable",e.payable&&e.constant&&sa.throwArgumentError("cannot have constant payable function","value",t)):t.constant!=null?(e.constant=!!t.constant,e.payable=!e.constant,e.stateMutability=e.constant?"view":"payable"):t.type!=="constructor"&&sa.throwArgumentError("unable to determine stateMutability","value",t),e}var KF=function(t){QF(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.format=function(n){if(n||(n=Ut.FormatTypes.sighash),Ut.FormatTypes[n]||sa.throwArgumentError("invalid format type","format",n),n===Ut.FormatTypes.json)return JSON.stringify({type:"constructor",stateMutability:this.stateMutability!=="nonpayable"?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(function(r){return JSON.parse(r.format(n))})});n===Ut.FormatTypes.sighash&&sa.throwError("cannot format a constructor for sighash",VF.Logger.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});var a="constructor("+this.inputs.map(function(r){return r.format(n)}).join(n===Ut.FormatTypes.full?", ":",")+") ";return this.stateMutability&&this.stateMutability!=="nonpayable"&&(a+=this.stateMutability+" "),a.trim()},e.from=function(n){return typeof n=="string"?e.fromString(n):e.fromObject(n)},e.fromObject=function(n){if(e.isConstructorFragment(n))return n;n.type!=="constructor"&&sa.throwArgumentError("invalid constructor object","value",n);var a=Cwe(n);a.constant&&sa.throwArgumentError("constructor cannot be constant","value",n);var r={name:null,type:n.type,inputs:n.inputs?n.inputs.map(gy.fromObject):[],payable:a.payable,stateMutability:a.stateMutability,gas:n.gas?D0e.BigNumber.from(n.gas):null};return new e(yy,r)},e.fromString=function(n){var a={type:"constructor"};n=_we(n,a);var r=n.match(lI);return(!r||r[1].trim()!=="constructor")&&sa.throwArgumentError("invalid constructor string","value",n),a.inputs=cI(r[2].trim(),!1),Awe(r[3].trim(),a),e.fromObject(a)},e.isConstructorFragment=function(n){return n&&n._isFragment&&n.type==="constructor"},e}(YF);Ut.ConstructorFragment=KF;var M0e=function(t){QF(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.format=function(n){if(n||(n=Ut.FormatTypes.sighash),Ut.FormatTypes[n]||sa.throwArgumentError("invalid format type","format",n),n===Ut.FormatTypes.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:this.stateMutability!=="nonpayable"?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(function(r){return JSON.parse(r.format(n))}),outputs:this.outputs.map(function(r){return JSON.parse(r.format(n))})});var a="";return n!==Ut.FormatTypes.sighash&&(a+="function "),a+=this.name+"("+this.inputs.map(function(r){return r.format(n)}).join(n===Ut.FormatTypes.full?", ":",")+") ",n!==Ut.FormatTypes.sighash&&(this.stateMutability?this.stateMutability!=="nonpayable"&&(a+=this.stateMutability+" "):this.constant&&(a+="view "),this.outputs&&this.outputs.length&&(a+="returns ("+this.outputs.map(function(r){return r.format(n)}).join(", ")+") "),this.gas!=null&&(a+="@"+this.gas.toString()+" ")),a.trim()},e.from=function(n){return typeof n=="string"?e.fromString(n):e.fromObject(n)},e.fromObject=function(n){if(e.isFunctionFragment(n))return n;n.type!=="function"&&sa.throwArgumentError("invalid function object","value",n);var a=Cwe(n),r={type:n.type,name:dI(n.name),constant:a.constant,inputs:n.inputs?n.inputs.map(gy.fromObject):[],outputs:n.outputs?n.outputs.map(gy.fromObject):[],payable:a.payable,stateMutability:a.stateMutability,gas:n.gas?D0e.BigNumber.from(n.gas):null};return new e(yy,r)},e.fromString=function(n){var a={type:"function"};n=_we(n,a);var r=n.split(" returns ");r.length>2&&sa.throwArgumentError("invalid function string","value",n);var f=r[0].match(lI);if(f||sa.throwArgumentError("invalid function signature","value",n),a.name=f[1].trim(),a.name&&dI(a.name),a.inputs=cI(f[2],!1),Awe(f[3].trim(),a),r.length>1){var i=r[1].match(lI);(i[1].trim()!=""||i[3].trim()!="")&&sa.throwArgumentError("unexpected tokens","value",n),a.outputs=cI(i[2],!1)}else a.outputs=[];return e.fromObject(a)},e.isFunctionFragment=function(n){return n&&n._isFragment&&n.type==="function"},e}(KF);Ut.FunctionFragment=M0e;function Ewe(t){var e=t.format();return(e==="Error(string)"||e==="Panic(uint256)")&&sa.throwArgumentError("cannot specify user defined "+e+" error","fragment",t),t}var B0e=function(t){QF(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.format=function(n){if(n||(n=Ut.FormatTypes.sighash),Ut.FormatTypes[n]||sa.throwArgumentError("invalid format type","format",n),n===Ut.FormatTypes.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map(function(r){return JSON.parse(r.format(n))})});var a="";return n!==Ut.FormatTypes.sighash&&(a+="error "),a+=this.name+"("+this.inputs.map(function(r){return r.format(n)}).join(n===Ut.FormatTypes.full?", ":",")+") ",a.trim()},e.from=function(n){return typeof n=="string"?e.fromString(n):e.fromObject(n)},e.fromObject=function(n){if(e.isErrorFragment(n))return n;n.type!=="error"&&sa.throwArgumentError("invalid error object","value",n);var a={type:n.type,name:dI(n.name),inputs:n.inputs?n.inputs.map(gy.fromObject):[]};return Ewe(new e(yy,a))},e.fromString=function(n){var a={type:"error"},r=n.match(lI);return r||sa.throwArgumentError("invalid error signature","value",n),a.name=r[1].trim(),a.name&&dI(a.name),a.inputs=cI(r[2],!1),Ewe(e.fromObject(a))},e.isErrorFragment=function(n){return n&&n._isFragment&&n.type==="error"},e}(YF);Ut.ErrorFragment=B0e;function Yv(t){return t.match(/^uint($|[^1-9])/)?t="uint256"+t.substring(4):t.match(/^int($|[^1-9])/)&&(t="int256"+t.substring(3)),t}var ID0=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function dI(t){return(!t||!t.match(ID0))&&sa.throwArgumentError('invalid identifier "'+t+'"',"value",t),t}var lI=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");function kD0(t){t=t.trim();for(var e=[],n="",a=0,r=0;r{"use strict";u();p();Object.defineProperty(h2,"__esModule",{value:!0});h2.Reader=h2.Writer=h2.Coder=h2.checkResultErrors=void 0;var b3=Vt(),Iwe=ia(),uI=Ba(),P0e=Ft(),SD0=Vv(),L0e=new P0e.Logger(SD0.version);function RD0(t){var e=[],n=function(a,r){if(Array.isArray(r))for(var f in r){var i=a.slice();i.push(f);try{n(i,r[f])}catch(s){e.push({path:i,error:s})}}};return n([],t),e}h2.checkResultErrors=RD0;var MD0=function(){function t(e,n,a,r){this.name=e,this.type=n,this.localName=a,this.dynamic=r}return t.prototype._throwError=function(e,n){L0e.throwArgumentError(e,this.localName,n)},t}();h2.Coder=MD0;var BD0=function(){function t(e){(0,uI.defineReadOnly)(this,"wordSize",e||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(e)}return Object.defineProperty(t.prototype,"data",{get:function(){return(0,b3.hexConcat)(this._data)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._dataLength},enumerable:!1,configurable:!0}),t.prototype._writeData=function(e){return this._data.push(e),this._dataLength+=e.length,e.length},t.prototype.appendWriter=function(e){return this._writeData((0,b3.concat)(e._data))},t.prototype.writeBytes=function(e){var n=(0,b3.arrayify)(e),a=n.length%this.wordSize;return a&&(n=(0,b3.concat)([n,this._padding.slice(a)])),this._writeData(n)},t.prototype._getValue=function(e){var n=(0,b3.arrayify)(Iwe.BigNumber.from(e));return n.length>this.wordSize&&L0e.throwError("value out-of-bounds",P0e.Logger.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:n.length}),n.length%this.wordSize&&(n=(0,b3.concat)([this._padding.slice(n.length%this.wordSize),n])),n},t.prototype.writeValue=function(e){return this._writeData(this._getValue(e))},t.prototype.writeUpdatableValue=function(){var e=this,n=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,function(a){e._data[n]=e._getValue(a)}},t}();h2.Writer=BD0;var DD0=function(){function t(e,n,a,r){(0,uI.defineReadOnly)(this,"_data",(0,b3.arrayify)(e)),(0,uI.defineReadOnly)(this,"wordSize",n||32),(0,uI.defineReadOnly)(this,"_coerceFunc",a),(0,uI.defineReadOnly)(this,"allowLoose",r),this._offset=0}return Object.defineProperty(t.prototype,"data",{get:function(){return(0,b3.hexlify)(this._data)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"consumed",{get:function(){return this._offset},enumerable:!1,configurable:!0}),t.coerce=function(e,n){var a=e.match("^u?int([0-9]+)$");return a&&parseInt(a[1])<=48&&(n=n.toNumber()),n},t.prototype.coerce=function(e,n){return this._coerceFunc?this._coerceFunc(e,n):t.coerce(e,n)},t.prototype._peekBytes=function(e,n,a){var r=Math.ceil(n/this.wordSize)*this.wordSize;return this._offset+r>this._data.length&&(this.allowLoose&&a&&this._offset+n<=this._data.length?r=n:L0e.throwError("data out-of-bounds",P0e.Logger.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+r})),this._data.slice(this._offset,this._offset+r)},t.prototype.subReader=function(e){return new t(this._data.slice(this._offset+e),this.wordSize,this._coerceFunc,this.allowLoose)},t.prototype.readBytes=function(e,n){var a=this._peekBytes(0,e,!!n);return this._offset+=a.length,a.slice(0,e)},t.prototype.readValue=function(){return Iwe.BigNumber.from(this.readBytes(this.wordSize))},t}();h2.Reader=DD0});var kwe=D((QLn,JF)=>{u();p();(function(){"use strict";var t="input is invalid type",e="finalize already called",n=typeof window=="object",a=n?window:{};a.JS_SHA3_NO_WINDOW&&(n=!1);var r=!n&&typeof self=="object",f=!a.JS_SHA3_NO_NODE_JS&&typeof E=="object"&&E.versions&&E.versions.node;f?a=global:r&&(a=self);var i=!a.JS_SHA3_NO_COMMON_JS&&typeof JF=="object"&&JF.exports,s=typeof define=="function"&&define.amd,o=!a.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",c="0123456789abcdef".split(""),d=[31,7936,2031616,520093696],l=[4,1024,262144,67108864],h=[1,256,65536,16777216],y=[6,1536,393216,100663296],v=[0,8,16,24],S=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],O=[224,256,384,512],F=[128,256],z=["hex","buffer","arrayBuffer","array","digest"],W={128:168,256:136};(a.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(U){return Object.prototype.toString.call(U)==="[object Array]"}),o&&(a.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(U){return typeof U=="object"&&U.buffer&&U.buffer.constructor===ArrayBuffer});for(var j=function(U,J,Z){return function(ne){return new k(U,J,U).update(ne)[Z]()}},Q=function(U,J,Z){return function(ne,ue){return new k(U,J,ue).update(ne)[Z]()}},V=function(U,J,Z){return function(ne,ue,Y,re){return m["cshake"+U].update(ne,ue,Y,re)[Z]()}},X=function(U,J,Z){return function(ne,ue,Y,re){return m["kmac"+U].update(ne,ue,Y,re)[Z]()}},K=function(U,J,Z,ne){for(var ue=0;ue>5,this.byteCount=this.blockCount<<2,this.outputBlocks=Z>>5,this.extraBytes=(Z&31)>>3;for(var ne=0;ne<50;++ne)this.s[ne]=0}k.prototype.update=function(U){if(this.finalized)throw new Error(e);var J,Z=typeof U;if(Z!=="string"){if(Z==="object"){if(U===null)throw new Error(t);if(o&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!o||!ArrayBuffer.isView(U)))throw new Error(t)}else throw new Error(t);J=!0}for(var ne=this.blocks,ue=this.byteCount,Y=U.length,re=this.blockCount,ie=0,ge=this.s,de,Ae;ie>2]|=U[ie]<>2]|=Ae<>2]|=(192|Ae>>6)<>2]|=(128|Ae&63)<=57344?(ne[de>>2]|=(224|Ae>>12)<>2]|=(128|Ae>>6&63)<>2]|=(128|Ae&63)<>2]|=(240|Ae>>18)<>2]|=(128|Ae>>12&63)<>2]|=(128|Ae>>6&63)<>2]|=(128|Ae&63)<=ue){for(this.start=de-ue,this.block=ne[re],de=0;de>8,Z=U&255;Z>0;)ue.unshift(Z),U=U>>8,Z=U&255,++ne;return J?ue.push(ne):ue.unshift(ne),this.update(ue),ue.length},k.prototype.encodeString=function(U){var J,Z=typeof U;if(Z!=="string"){if(Z==="object"){if(U===null)throw new Error(t);if(o&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!o||!ArrayBuffer.isView(U)))throw new Error(t)}else throw new Error(t);J=!0}var ne=0,ue=U.length;if(J)ne=ue;else for(var Y=0;Y=57344?ne+=3:(re=65536+((re&1023)<<10|U.charCodeAt(++Y)&1023),ne+=4)}return ne+=this.encode(ne*8),this.update(U),ne},k.prototype.bytepad=function(U,J){for(var Z=this.encode(J),ne=0;ne>2]|=this.padding[J&3],this.lastByteIndex===this.byteCount)for(U[0]=U[Z],J=1;J>4&15]+c[ie&15]+c[ie>>12&15]+c[ie>>8&15]+c[ie>>20&15]+c[ie>>16&15]+c[ie>>28&15]+c[ie>>24&15];Y%U===0&&(ee(J),ue=0)}return ne&&(ie=J[ue],re+=c[ie>>4&15]+c[ie&15],ne>1&&(re+=c[ie>>12&15]+c[ie>>8&15]),ne>2&&(re+=c[ie>>20&15]+c[ie>>16&15])),re},k.prototype.arrayBuffer=function(){this.finalize();var U=this.blockCount,J=this.s,Z=this.outputBlocks,ne=this.extraBytes,ue=0,Y=0,re=this.outputBits>>3,ie;ne?ie=new ArrayBuffer(Z+1<<2):ie=new ArrayBuffer(re);for(var ge=new Uint32Array(ie);Y>8&255,re[ie+2]=ge>>16&255,re[ie+3]=ge>>24&255;Y%U===0&&ee(J)}return ne&&(ie=Y<<2,ge=J[ue],re[ie]=ge&255,ne>1&&(re[ie+1]=ge>>8&255),ne>2&&(re[ie+2]=ge>>16&255)),re};function q(U,J,Z){k.call(this,U,J,Z)}q.prototype=new k,q.prototype.finalize=function(){return this.encode(this.outputBits,!0),k.prototype.finalize.call(this)};var ee=function(U){var J,Z,ne,ue,Y,re,ie,ge,de,Ae,Ge,Be,c0,Ye,He,_0,L0,Ze,I0,pe,he,Te,Ce,Se,Qe,u0,qe,v0,w0,Ve,be,ye,_e,ze,je,Ue,b0,h0,$e,M0,P0,t0,j0,z0,Ke,B0,G0,s0,X0,Y0,l0,K0,tt,p0,et,Et,$0,Tt,Pn,Ln,Fn,Nn,On;for(ne=0;ne<48;ne+=2)ue=U[0]^U[10]^U[20]^U[30]^U[40],Y=U[1]^U[11]^U[21]^U[31]^U[41],re=U[2]^U[12]^U[22]^U[32]^U[42],ie=U[3]^U[13]^U[23]^U[33]^U[43],ge=U[4]^U[14]^U[24]^U[34]^U[44],de=U[5]^U[15]^U[25]^U[35]^U[45],Ae=U[6]^U[16]^U[26]^U[36]^U[46],Ge=U[7]^U[17]^U[27]^U[37]^U[47],Be=U[8]^U[18]^U[28]^U[38]^U[48],c0=U[9]^U[19]^U[29]^U[39]^U[49],J=Be^(re<<1|ie>>>31),Z=c0^(ie<<1|re>>>31),U[0]^=J,U[1]^=Z,U[10]^=J,U[11]^=Z,U[20]^=J,U[21]^=Z,U[30]^=J,U[31]^=Z,U[40]^=J,U[41]^=Z,J=ue^(ge<<1|de>>>31),Z=Y^(de<<1|ge>>>31),U[2]^=J,U[3]^=Z,U[12]^=J,U[13]^=Z,U[22]^=J,U[23]^=Z,U[32]^=J,U[33]^=Z,U[42]^=J,U[43]^=Z,J=re^(Ae<<1|Ge>>>31),Z=ie^(Ge<<1|Ae>>>31),U[4]^=J,U[5]^=Z,U[14]^=J,U[15]^=Z,U[24]^=J,U[25]^=Z,U[34]^=J,U[35]^=Z,U[44]^=J,U[45]^=Z,J=ge^(Be<<1|c0>>>31),Z=de^(c0<<1|Be>>>31),U[6]^=J,U[7]^=Z,U[16]^=J,U[17]^=Z,U[26]^=J,U[27]^=Z,U[36]^=J,U[37]^=Z,U[46]^=J,U[47]^=Z,J=Ae^(ue<<1|Y>>>31),Z=Ge^(Y<<1|ue>>>31),U[8]^=J,U[9]^=Z,U[18]^=J,U[19]^=Z,U[28]^=J,U[29]^=Z,U[38]^=J,U[39]^=Z,U[48]^=J,U[49]^=Z,Ye=U[0],He=U[1],B0=U[11]<<4|U[10]>>>28,G0=U[10]<<4|U[11]>>>28,v0=U[20]<<3|U[21]>>>29,w0=U[21]<<3|U[20]>>>29,Ln=U[31]<<9|U[30]>>>23,Fn=U[30]<<9|U[31]>>>23,t0=U[40]<<18|U[41]>>>14,j0=U[41]<<18|U[40]>>>14,ze=U[2]<<1|U[3]>>>31,je=U[3]<<1|U[2]>>>31,_0=U[13]<<12|U[12]>>>20,L0=U[12]<<12|U[13]>>>20,s0=U[22]<<10|U[23]>>>22,X0=U[23]<<10|U[22]>>>22,Ve=U[33]<<13|U[32]>>>19,be=U[32]<<13|U[33]>>>19,Nn=U[42]<<2|U[43]>>>30,On=U[43]<<2|U[42]>>>30,p0=U[5]<<30|U[4]>>>2,et=U[4]<<30|U[5]>>>2,Ue=U[14]<<6|U[15]>>>26,b0=U[15]<<6|U[14]>>>26,Ze=U[25]<<11|U[24]>>>21,I0=U[24]<<11|U[25]>>>21,Y0=U[34]<<15|U[35]>>>17,l0=U[35]<<15|U[34]>>>17,ye=U[45]<<29|U[44]>>>3,_e=U[44]<<29|U[45]>>>3,Se=U[6]<<28|U[7]>>>4,Qe=U[7]<<28|U[6]>>>4,Et=U[17]<<23|U[16]>>>9,$0=U[16]<<23|U[17]>>>9,h0=U[26]<<25|U[27]>>>7,$e=U[27]<<25|U[26]>>>7,pe=U[36]<<21|U[37]>>>11,he=U[37]<<21|U[36]>>>11,K0=U[47]<<24|U[46]>>>8,tt=U[46]<<24|U[47]>>>8,z0=U[8]<<27|U[9]>>>5,Ke=U[9]<<27|U[8]>>>5,u0=U[18]<<20|U[19]>>>12,qe=U[19]<<20|U[18]>>>12,Tt=U[29]<<7|U[28]>>>25,Pn=U[28]<<7|U[29]>>>25,M0=U[38]<<8|U[39]>>>24,P0=U[39]<<8|U[38]>>>24,Te=U[48]<<14|U[49]>>>18,Ce=U[49]<<14|U[48]>>>18,U[0]=Ye^~_0&Ze,U[1]=He^~L0&I0,U[10]=Se^~u0&v0,U[11]=Qe^~qe&w0,U[20]=ze^~Ue&h0,U[21]=je^~b0&$e,U[30]=z0^~B0&s0,U[31]=Ke^~G0&X0,U[40]=p0^~Et&Tt,U[41]=et^~$0&Pn,U[2]=_0^~Ze&pe,U[3]=L0^~I0&he,U[12]=u0^~v0&Ve,U[13]=qe^~w0&be,U[22]=Ue^~h0&M0,U[23]=b0^~$e&P0,U[32]=B0^~s0&Y0,U[33]=G0^~X0&l0,U[42]=Et^~Tt&Ln,U[43]=$0^~Pn&Fn,U[4]=Ze^~pe&Te,U[5]=I0^~he&Ce,U[14]=v0^~Ve&ye,U[15]=w0^~be&_e,U[24]=h0^~M0&t0,U[25]=$e^~P0&j0,U[34]=s0^~Y0&K0,U[35]=X0^~l0&tt,U[44]=Tt^~Ln&Nn,U[45]=Pn^~Fn&On,U[6]=pe^~Te&Ye,U[7]=he^~Ce&He,U[16]=Ve^~ye&Se,U[17]=be^~_e&Qe,U[26]=M0^~t0&ze,U[27]=P0^~j0&je,U[36]=Y0^~K0&z0,U[37]=l0^~tt&Ke,U[46]=Ln^~Nn&p0,U[47]=Fn^~On&et,U[8]=Te^~Ye&_0,U[9]=Ce^~He&L0,U[18]=ye^~Se&u0,U[19]=_e^~Qe&qe,U[28]=t0^~ze&Ue,U[29]=j0^~je&b0,U[38]=K0^~z0&B0,U[39]=tt^~Ke&G0,U[48]=Nn^~p0&Et,U[49]=On^~et&$0,U[0]^=S[ne],U[1]^=S[ne+1]};if(i)JF.exports=m;else{for(P=0;P{"use strict";u();p();var PD0=$v&&$v.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty($v,"__esModule",{value:!0});$v.keccak256=void 0;var LD0=PD0(kwe()),FD0=Vt();function ND0(t){return"0x"+LD0.default.keccak_256((0,FD0.arrayify)(t))}$v.keccak256=ND0});var Swe=D(XF=>{"use strict";u();p();Object.defineProperty(XF,"__esModule",{value:!0});XF.version=void 0;XF.version="rlp/5.7.0"});var pI=D(Jv=>{"use strict";u();p();Object.defineProperty(Jv,"__esModule",{value:!0});Jv.decode=Jv.encode=void 0;var vy=Vt(),e8=Ft(),OD0=Swe(),b2=new e8.Logger(OD0.version);function Rwe(t){for(var e=[];t;)e.unshift(t&255),t>>=8;return e}function Mwe(t,e,n){for(var a=0,r=0;re+1+a&&b2.throwError("child data too short",e8.Logger.errors.BUFFER_OVERRUN,{})}return{consumed:1+a,result:r}}function Pwe(t,e){if(t.length===0&&b2.throwError("data too short",e8.Logger.errors.BUFFER_OVERRUN,{}),t[e]>=248){var n=t[e]-247;e+1+n>t.length&&b2.throwError("data short segment too short",e8.Logger.errors.BUFFER_OVERRUN,{});var a=Mwe(t,e+1,n);return e+1+n+a>t.length&&b2.throwError("data long segment too short",e8.Logger.errors.BUFFER_OVERRUN,{}),Bwe(t,e,e+1+n,n+a)}else if(t[e]>=192){var r=t[e]-192;return e+1+r>t.length&&b2.throwError("data array too short",e8.Logger.errors.BUFFER_OVERRUN,{}),Bwe(t,e,e+1,r)}else if(t[e]>=184){var n=t[e]-183;e+1+n>t.length&&b2.throwError("data array too short",e8.Logger.errors.BUFFER_OVERRUN,{});var f=Mwe(t,e+1,n);e+1+n+f>t.length&&b2.throwError("data array too short",e8.Logger.errors.BUFFER_OVERRUN,{});var i=(0,vy.hexlify)(t.slice(e+1+n,e+1+n+f));return{consumed:1+n+f,result:i}}else if(t[e]>=128){var s=t[e]-128;e+1+s>t.length&&b2.throwError("data too short",e8.Logger.errors.BUFFER_OVERRUN,{});var i=(0,vy.hexlify)(t.slice(e+1,e+1+s));return{consumed:1+s,result:i}}return{consumed:1,result:(0,vy.hexlify)(t[e])}}function HD0(t){var e=(0,vy.arrayify)(t),n=Pwe(e,0);return n.consumed!==e.length&&b2.throwArgumentError("invalid rlp data","data",t),n.result}Jv.decode=HD0});var Lwe=D(ZF=>{"use strict";u();p();Object.defineProperty(ZF,"__esModule",{value:!0});ZF.version=void 0;ZF.version="address/5.7.0"});var Bo=D(g5=>{"use strict";u();p();Object.defineProperty(g5,"__esModule",{value:!0});g5.getCreate2Address=g5.getContractAddress=g5.getIcapAddress=g5.isAddress=g5.getAddress=void 0;var t8=Vt(),F0e=ia(),N0e=O1(),zD0=pI(),WD0=Ft(),qD0=Lwe(),m3=new WD0.Logger(qD0.version);function Fwe(t){(0,t8.isHexString)(t,20)||m3.throwArgumentError("invalid address","address",t),t=t.toLowerCase();for(var e=t.substring(2).split(""),n=new Uint8Array(40),a=0;a<40;a++)n[a]=e[a].charCodeAt(0);for(var r=(0,t8.arrayify)((0,N0e.keccak256)(n)),a=0;a<40;a+=2)r[a>>1]>>4>=8&&(e[a]=e[a].toUpperCase()),(r[a>>1]&15)>=8&&(e[a+1]=e[a+1].toUpperCase());return"0x"+e.join("")}var jD0=9007199254740991;function GD0(t){return Math.log10?Math.log10(t):Math.log(t)/Math.LN10}var O0e={};for(Jd=0;Jd<10;Jd++)O0e[String(Jd)]=String(Jd);var Jd;for(Jd=0;Jd<26;Jd++)O0e[String.fromCharCode(65+Jd)]=String(10+Jd);var Jd,Nwe=Math.floor(GD0(jD0));function Owe(t){t=t.toUpperCase(),t=t.substring(4)+t.substring(0,2)+"00";for(var e=t.split("").map(function(r){return O0e[r]}).join("");e.length>=Nwe;){var n=e.substring(0,Nwe);e=parseInt(n,10)%97+e.substring(n.length)}for(var a=String(98-parseInt(e,10)%97);a.length<2;)a="0"+a;return a}function wy(t){var e=null;if(typeof t!="string"&&m3.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))t.substring(0,2)!=="0x"&&(t="0x"+t),e=Fwe(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&m3.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==Owe(t)&&m3.throwArgumentError("bad icap checksum","address",t),e=(0,F0e._base36To16)(t.substring(4));e.length<40;)e="0"+e;e=Fwe("0x"+e)}else m3.throwArgumentError("invalid address","address",t);return e}g5.getAddress=wy;function KD0(t){try{return wy(t),!0}catch{}return!1}g5.isAddress=KD0;function QD0(t){for(var e=(0,F0e._base16To36)(wy(t).substring(2)).toUpperCase();e.length<30;)e="0"+e;return"XE"+Owe("XE00"+e)+e}g5.getIcapAddress=QD0;function VD0(t){var e=null;try{e=wy(t.from)}catch{m3.throwArgumentError("missing from address","transaction",t)}var n=(0,t8.stripZeros)((0,t8.arrayify)(F0e.BigNumber.from(t.nonce).toHexString()));return wy((0,t8.hexDataSlice)((0,N0e.keccak256)((0,zD0.encode)([e,n])),12))}g5.getContractAddress=VD0;function YD0(t,e,n){return(0,t8.hexDataLength)(e)!==32&&m3.throwArgumentError("salt must be 32 bytes","salt",e),(0,t8.hexDataLength)(n)!==32&&m3.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",n),wy((0,t8.hexDataSlice)((0,N0e.keccak256)((0,t8.concat)(["0xff",wy(t),e,n])),12))}g5.getCreate2Address=YD0});var Hwe=D(Xv=>{"use strict";u();p();var $D0=Xv&&Xv.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(Xv,"__esModule",{value:!0});Xv.AddressCoder=void 0;var Uwe=Bo(),JD0=Vt(),XD0=y5(),ZD0=function(t){$D0(e,t);function e(n){return t.call(this,"address","address",n,!1)||this}return e.prototype.defaultValue=function(){return"0x0000000000000000000000000000000000000000"},e.prototype.encode=function(n,a){try{a=(0,Uwe.getAddress)(a)}catch(r){this._throwError(r.message,a)}return n.writeValue(a)},e.prototype.decode=function(n){return(0,Uwe.getAddress)((0,JD0.hexZeroPad)(n.readValue().toHexString(),20))},e}(XD0.Coder);Xv.AddressCoder=ZD0});var zwe=D(Zv=>{"use strict";u();p();var eP0=Zv&&Zv.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(Zv,"__esModule",{value:!0});Zv.AnonymousCoder=void 0;var tP0=y5(),nP0=function(t){eP0(e,t);function e(n){var a=t.call(this,n.name,n.type,void 0,n.dynamic)||this;return a.coder=n,a}return e.prototype.defaultValue=function(){return this.coder.defaultValue()},e.prototype.encode=function(n,a){return this.coder.encode(n,a)},e.prototype.decode=function(n){return this.coder.decode(n)},e}(tP0.Coder);Zv.AnonymousCoder=nP0});var H0e=D(m2=>{"use strict";u();p();var aP0=m2&&m2.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(m2,"__esModule",{value:!0});m2.ArrayCoder=m2.unpack=m2.pack=void 0;var tw=Ft(),rP0=Vv(),ew=new tw.Logger(rP0.version),U0e=y5(),fP0=zwe();function Wwe(t,e,n){var a=null;if(Array.isArray(n))a=n;else if(n&&typeof n=="object"){var r={};a=e.map(function(c){var d=c.localName;return d||ew.throwError("cannot encode object for signature with missing names",tw.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:c,value:n}),r[d]&&ew.throwError("cannot encode object for signature with duplicate names",tw.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:c,value:n}),r[d]=!0,n[d]})}else ew.throwArgumentError("invalid tuple value","tuple",n);e.length!==a.length&&ew.throwArgumentError("types/value length mismatch","tuple",n);var f=new U0e.Writer(t.wordSize),i=new U0e.Writer(t.wordSize),s=[];e.forEach(function(c,d){var l=a[d];if(c.dynamic){var h=i.length;c.encode(i,l);var y=f.writeUpdatableValue();s.push(function(v){y(v+h)})}else c.encode(f,l)}),s.forEach(function(c){c(f.length)});var o=t.appendWriter(f);return o+=t.appendWriter(i),o}m2.pack=Wwe;function qwe(t,e){var n=[],a=t.subReader(0);e.forEach(function(s){var o=null;if(s.dynamic){var c=t.readValue(),d=a.subReader(c.toNumber());try{o=s.decode(d)}catch(l){if(l.code===tw.Logger.errors.BUFFER_OVERRUN)throw l;o=l,o.baseType=s.name,o.name=s.localName,o.type=s.type}}else try{o=s.decode(t)}catch(l){if(l.code===tw.Logger.errors.BUFFER_OVERRUN)throw l;o=l,o.baseType=s.name,o.name=s.localName,o.type=s.type}o!=null&&n.push(o)});var r=e.reduce(function(s,o){var c=o.localName;return c&&(s[c]||(s[c]=0),s[c]++),s},{});e.forEach(function(s,o){var c=s.localName;if(!(!c||r[c]!==1)&&(c==="length"&&(c="_length"),n[c]==null)){var d=n[o];d instanceof Error?Object.defineProperty(n,c,{enumerable:!0,get:function(){throw d}}):n[c]=d}});for(var f=function(s){var o=n[s];o instanceof Error&&Object.defineProperty(n,s,{enumerable:!0,get:function(){throw o}})},i=0;i=0?a:"")+"]",s=a===-1||n.dynamic;return f=t.call(this,"array",i,r,s)||this,f.coder=n,f.length=a,f}return e.prototype.defaultValue=function(){for(var n=this.coder.defaultValue(),a=[],r=0;rn._data.length&&ew.throwError("insufficient data length",tw.Logger.errors.BUFFER_OVERRUN,{length:n._data.length,count:a}));for(var r=[],f=0;f{"use strict";u();p();var sP0=nw&&nw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(nw,"__esModule",{value:!0});nw.BooleanCoder=void 0;var oP0=y5(),cP0=function(t){sP0(e,t);function e(n){return t.call(this,"bool","bool",n,!1)||this}return e.prototype.defaultValue=function(){return!1},e.prototype.encode=function(n,a){return n.writeValue(a?1:0)},e.prototype.decode=function(n){return n.coerce(this.type,!n.readValue().isZero())},e}(oP0.Coder);nw.BooleanCoder=cP0});var z0e=D(y3=>{"use strict";u();p();var Gwe=y3&&y3.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(y3,"__esModule",{value:!0});y3.BytesCoder=y3.DynamicBytesCoder=void 0;var Kwe=Vt(),dP0=y5(),Qwe=function(t){Gwe(e,t);function e(n,a){return t.call(this,n,n,a,!0)||this}return e.prototype.defaultValue=function(){return"0x"},e.prototype.encode=function(n,a){a=(0,Kwe.arrayify)(a);var r=n.writeValue(a.length);return r+=n.writeBytes(a),r},e.prototype.decode=function(n){return n.readBytes(n.readValue().toNumber(),!0)},e}(dP0.Coder);y3.DynamicBytesCoder=Qwe;var lP0=function(t){Gwe(e,t);function e(n){return t.call(this,"bytes",n)||this}return e.prototype.decode=function(n){return n.coerce(this.name,(0,Kwe.hexlify)(t.prototype.decode.call(this,n)))},e}(Qwe);y3.BytesCoder=lP0});var Ywe=D(aw=>{"use strict";u();p();var uP0=aw&&aw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(aw,"__esModule",{value:!0});aw.FixedBytesCoder=void 0;var Vwe=Vt(),pP0=y5(),hP0=function(t){uP0(e,t);function e(n,a){var r=this,f="bytes"+String(n);return r=t.call(this,f,f,a,!1)||this,r.size=n,r}return e.prototype.defaultValue=function(){return"0x0000000000000000000000000000000000000000000000000000000000000000".substring(0,2+this.size*2)},e.prototype.encode=function(n,a){var r=(0,Vwe.arrayify)(a);return r.length!==this.size&&this._throwError("incorrect data length",a),n.writeBytes(r)},e.prototype.decode=function(n){return n.coerce(this.name,(0,Vwe.hexlify)(n.readBytes(this.size)))},e}(pP0.Coder);aw.FixedBytesCoder=hP0});var $we=D(rw=>{"use strict";u();p();var bP0=rw&&rw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(rw,"__esModule",{value:!0});rw.NullCoder=void 0;var mP0=y5(),yP0=function(t){bP0(e,t);function e(n){return t.call(this,"null","",n,!1)||this}return e.prototype.defaultValue=function(){return null},e.prototype.encode=function(n,a){return a!=null&&this._throwError("not null",a),n.writeBytes([])},e.prototype.decode=function(n){return n.readBytes(0),n.coerce(this.name,null)},e}(mP0.Coder);rw.NullCoder=yP0});var Jwe=D(eN=>{"use strict";u();p();Object.defineProperty(eN,"__esModule",{value:!0});eN.AddressZero=void 0;eN.AddressZero="0x0000000000000000000000000000000000000000"});var Xwe=D(ds=>{"use strict";u();p();Object.defineProperty(ds,"__esModule",{value:!0});ds.MaxInt256=ds.MinInt256=ds.MaxUint256=ds.WeiPerEther=ds.Two=ds.One=ds.Zero=ds.NegativeOne=void 0;var g3=ia(),gP0=g3.BigNumber.from(-1);ds.NegativeOne=gP0;var vP0=g3.BigNumber.from(0);ds.Zero=vP0;var wP0=g3.BigNumber.from(1);ds.One=wP0;var TP0=g3.BigNumber.from(2);ds.Two=TP0;var xP0=g3.BigNumber.from("1000000000000000000");ds.WeiPerEther=xP0;var EP0=g3.BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");ds.MaxUint256=EP0;var _P0=g3.BigNumber.from("-0x8000000000000000000000000000000000000000000000000000000000000000");ds.MinInt256=_P0;var AP0=g3.BigNumber.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");ds.MaxInt256=AP0});var Zwe=D(tN=>{"use strict";u();p();Object.defineProperty(tN,"__esModule",{value:!0});tN.HashZero=void 0;tN.HashZero="0x0000000000000000000000000000000000000000000000000000000000000000"});var eTe=D(nN=>{"use strict";u();p();Object.defineProperty(nN,"__esModule",{value:!0});nN.EtherSymbol=void 0;nN.EtherSymbol="\u039E"});var w3=D(df=>{"use strict";u();p();Object.defineProperty(df,"__esModule",{value:!0});df.EtherSymbol=df.HashZero=df.MaxInt256=df.MinInt256=df.MaxUint256=df.WeiPerEther=df.Two=df.One=df.Zero=df.NegativeOne=df.AddressZero=void 0;var CP0=Jwe();Object.defineProperty(df,"AddressZero",{enumerable:!0,get:function(){return CP0.AddressZero}});var v3=Xwe();Object.defineProperty(df,"NegativeOne",{enumerable:!0,get:function(){return v3.NegativeOne}});Object.defineProperty(df,"Zero",{enumerable:!0,get:function(){return v3.Zero}});Object.defineProperty(df,"One",{enumerable:!0,get:function(){return v3.One}});Object.defineProperty(df,"Two",{enumerable:!0,get:function(){return v3.Two}});Object.defineProperty(df,"WeiPerEther",{enumerable:!0,get:function(){return v3.WeiPerEther}});Object.defineProperty(df,"MaxUint256",{enumerable:!0,get:function(){return v3.MaxUint256}});Object.defineProperty(df,"MinInt256",{enumerable:!0,get:function(){return v3.MinInt256}});Object.defineProperty(df,"MaxInt256",{enumerable:!0,get:function(){return v3.MaxInt256}});var IP0=Zwe();Object.defineProperty(df,"HashZero",{enumerable:!0,get:function(){return IP0.HashZero}});var kP0=eTe();Object.defineProperty(df,"EtherSymbol",{enumerable:!0,get:function(){return kP0.EtherSymbol}})});var tTe=D(fw=>{"use strict";u();p();var SP0=fw&&fw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(fw,"__esModule",{value:!0});fw.NumberCoder=void 0;var RP0=ia(),aN=w3(),MP0=y5(),BP0=function(t){SP0(e,t);function e(n,a,r){var f=this,i=(a?"int":"uint")+n*8;return f=t.call(this,i,i,r,!1)||this,f.size=n,f.signed=a,f}return e.prototype.defaultValue=function(){return 0},e.prototype.encode=function(n,a){var r=RP0.BigNumber.from(a),f=aN.MaxUint256.mask(n.wordSize*8);if(this.signed){var i=f.mask(this.size*8-1);(r.gt(i)||r.lt(i.add(aN.One).mul(aN.NegativeOne)))&&this._throwError("value out-of-bounds",a)}else(r.lt(aN.Zero)||r.gt(f.mask(this.size*8)))&&this._throwError("value out-of-bounds",a);return r=r.toTwos(this.size*8).mask(this.size*8),this.signed&&(r=r.fromTwos(this.size*8).toTwos(8*n.wordSize)),n.writeValue(r)},e.prototype.decode=function(n){var a=n.readValue().mask(this.size*8);return this.signed&&(a=a.fromTwos(this.size*8)),n.coerce(this.name,a)},e}(MP0.Coder);fw.NumberCoder=BP0});var nTe=D(rN=>{"use strict";u();p();Object.defineProperty(rN,"__esModule",{value:!0});rN.version=void 0;rN.version="strings/5.7.0"});var iN=D(li=>{"use strict";u();p();Object.defineProperty(li,"__esModule",{value:!0});li.toUtf8CodePoints=li.toUtf8String=li._toUtf8String=li._toEscapedUtf8String=li.toUtf8Bytes=li.Utf8ErrorFuncs=li.Utf8ErrorReason=li.UnicodeNormalizationForm=void 0;var aTe=Vt(),DP0=Ft(),PP0=nTe(),rTe=new DP0.Logger(PP0.version),fN;(function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"})(fN=li.UnicodeNormalizationForm||(li.UnicodeNormalizationForm={}));var v5;(function(t){t.UNEXPECTED_CONTINUE="unexpected continuation byte",t.BAD_PREFIX="bad codepoint prefix",t.OVERRUN="string overrun",t.MISSING_CONTINUE="missing continuation byte",t.OUT_OF_RANGE="out of UTF-8 range",t.UTF16_SURROGATE="UTF-16 surrogate",t.OVERLONG="overlong representation"})(v5=li.Utf8ErrorReason||(li.Utf8ErrorReason={}));function LP0(t,e,n,a,r){return rTe.throwArgumentError("invalid codepoint at offset "+e+"; "+t,"bytes",n)}function fTe(t,e,n,a,r){if(t===v5.BAD_PREFIX||t===v5.UNEXPECTED_CONTINUE){for(var f=0,i=e+1;i>6===2;i++)f++;return f}return t===v5.OVERRUN?n.length-e-1:0}function FP0(t,e,n,a,r){return t===v5.OVERLONG?(a.push(r),0):(a.push(65533),fTe(t,e,n,a,r))}li.Utf8ErrorFuncs=Object.freeze({error:LP0,ignore:fTe,replace:FP0});function q0e(t,e){e==null&&(e=li.Utf8ErrorFuncs.error),t=(0,aTe.arrayify)(t);for(var n=[],a=0;a>7)){n.push(r);continue}var f=null,i=null;if((r&224)===192)f=1,i=127;else if((r&240)===224)f=2,i=2047;else if((r&248)===240)f=3,i=65535;else{(r&192)===128?a+=e(v5.UNEXPECTED_CONTINUE,a-1,t,n):a+=e(v5.BAD_PREFIX,a-1,t,n);continue}if(a-1+f>=t.length){a+=e(v5.OVERRUN,a-1,t,n);continue}for(var s=r&(1<<8-f-1)-1,o=0;o1114111){a+=e(v5.OUT_OF_RANGE,a-1-f,t,n,s);continue}if(s>=55296&&s<=57343){a+=e(v5.UTF16_SURROGATE,a-1-f,t,n,s);continue}if(s<=i){a+=e(v5.OVERLONG,a-1-f,t,n,s);continue}n.push(s)}}return n}function iTe(t,e){e===void 0&&(e=fN.current),e!=fN.current&&(rTe.checkNormalize(),t=t.normalize(e));for(var n=[],a=0;a>6|192),n.push(r&63|128);else if((r&64512)==55296){a++;var f=t.charCodeAt(a);if(a>=t.length||(f&64512)!==56320)throw new Error("invalid utf-8 string");var i=65536+((r&1023)<<10)+(f&1023);n.push(i>>18|240),n.push(i>>12&63|128),n.push(i>>6&63|128),n.push(i&63|128)}else n.push(r>>12|224),n.push(r>>6&63|128),n.push(r&63|128)}return(0,aTe.arrayify)(n)}li.toUtf8Bytes=iTe;function W0e(t){var e="0000"+t.toString(16);return"\\u"+e.substring(e.length-4)}function NP0(t,e){return'"'+q0e(t,e).map(function(n){if(n<256){switch(n){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(n>=32&&n<127)return String.fromCharCode(n)}return n<=65535?W0e(n):(n-=65536,W0e((n>>10&1023)+55296)+W0e((n&1023)+56320))}).join("")+'"'}li._toEscapedUtf8String=NP0;function sTe(t){return t.map(function(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10&1023)+55296,(e&1023)+56320))}).join("")}li._toUtf8String=sTe;function OP0(t,e){return sTe(q0e(t,e))}li.toUtf8String=OP0;function UP0(t,e){return e===void 0&&(e=fN.current),q0e(iTe(t,e))}li.toUtf8CodePoints=UP0});var cTe=D(iw=>{"use strict";u();p();Object.defineProperty(iw,"__esModule",{value:!0});iw.parseBytes32String=iw.formatBytes32String=void 0;var HP0=w3(),j0e=Vt(),oTe=iN();function zP0(t){var e=(0,oTe.toUtf8Bytes)(t);if(e.length>31)throw new Error("bytes32 string must be less than 32 bytes");return(0,j0e.hexlify)((0,j0e.concat)([e,HP0.HashZero]).slice(0,32))}iw.formatBytes32String=zP0;function WP0(t){var e=(0,j0e.arrayify)(t);if(e.length!==32)throw new Error("invalid bytes32 - not 32 bytes long");if(e[31]!==0)throw new Error("invalid bytes32 string - no null terminator");for(var n=31;e[n-1]===0;)n--;return(0,oTe.toUtf8String)(e.slice(0,n))}iw.parseBytes32String=WP0});var hTe=D(y2=>{"use strict";u();p();Object.defineProperty(y2,"__esModule",{value:!0});y2.nameprep=y2._nameprepTableC=y2._nameprepTableB2=y2._nameprepTableA1=void 0;var hI=iN();function qP0(t){if(t.length%4!==0)throw new Error("bad data");for(var e=[],n=0;n=n&&t<=n+r.h&&(t-n)%(r.d||1)===0){if(r.e&&r.e.indexOf(t-n)!==-1)continue;return r}}return null}var jP0=dTe("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),GP0="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map(function(t){return parseInt(t,16)}),KP0=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],QP0=G0e("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),VP0=G0e("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),YP0=G0e("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",qP0),$P0=dTe("80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001");function JP0(t){return t.reduce(function(e,n){return n.forEach(function(a){e.push(a)}),e},[])}function lTe(t){return!!K0e(t,jP0)}y2._nameprepTableA1=lTe;function uTe(t){var e=K0e(t,KP0);if(e)return[t+e.s];var n=QP0[t];if(n)return n;var a=VP0[t];if(a)return[t+a[0]];var r=YP0[t];return r||null}y2._nameprepTableB2=uTe;function pTe(t){return!!K0e(t,$P0)}y2._nameprepTableC=pTe;function XP0(t){if(t.match(/^[a-z0-9-]*$/i)&&t.length<=59)return t.toLowerCase();var e=(0,hI.toUtf8CodePoints)(t);e=JP0(e.map(function(a){if(GP0.indexOf(a)>=0)return[];if(a>=65024&&a<=65039)return[];var r=uTe(a);return r||[a]})),e=(0,hI.toUtf8CodePoints)((0,hI._toUtf8String)(e),hI.UnicodeNormalizationForm.NFKC),e.forEach(function(a){if(pTe(a))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")}),e.forEach(function(a){if(lTe(a))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")});var n=(0,hI._toUtf8String)(e);if(n.substring(0,1)==="-"||n.substring(2,4)==="--"||n.substring(n.length-1)==="-")throw new Error("invalid hyphen");return n}y2.nameprep=XP0});var _i=D(Vf=>{"use strict";u();p();Object.defineProperty(Vf,"__esModule",{value:!0});Vf.nameprep=Vf.parseBytes32String=Vf.formatBytes32String=Vf.UnicodeNormalizationForm=Vf.Utf8ErrorReason=Vf.Utf8ErrorFuncs=Vf.toUtf8String=Vf.toUtf8CodePoints=Vf.toUtf8Bytes=Vf._toEscapedUtf8String=void 0;var bTe=cTe();Object.defineProperty(Vf,"formatBytes32String",{enumerable:!0,get:function(){return bTe.formatBytes32String}});Object.defineProperty(Vf,"parseBytes32String",{enumerable:!0,get:function(){return bTe.parseBytes32String}});var ZP0=hTe();Object.defineProperty(Vf,"nameprep",{enumerable:!0,get:function(){return ZP0.nameprep}});var Ty=iN();Object.defineProperty(Vf,"_toEscapedUtf8String",{enumerable:!0,get:function(){return Ty._toEscapedUtf8String}});Object.defineProperty(Vf,"toUtf8Bytes",{enumerable:!0,get:function(){return Ty.toUtf8Bytes}});Object.defineProperty(Vf,"toUtf8CodePoints",{enumerable:!0,get:function(){return Ty.toUtf8CodePoints}});Object.defineProperty(Vf,"toUtf8String",{enumerable:!0,get:function(){return Ty.toUtf8String}});Object.defineProperty(Vf,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return Ty.UnicodeNormalizationForm}});Object.defineProperty(Vf,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return Ty.Utf8ErrorFuncs}});Object.defineProperty(Vf,"Utf8ErrorReason",{enumerable:!0,get:function(){return Ty.Utf8ErrorReason}})});var yTe=D(sw=>{"use strict";u();p();var eL0=sw&&sw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(sw,"__esModule",{value:!0});sw.StringCoder=void 0;var mTe=_i(),tL0=z0e(),nL0=function(t){eL0(e,t);function e(n){return t.call(this,"string",n)||this}return e.prototype.defaultValue=function(){return""},e.prototype.encode=function(n,a){return t.prototype.encode.call(this,n,(0,mTe.toUtf8Bytes)(a))},e.prototype.decode=function(n){return(0,mTe.toUtf8String)(t.prototype.decode.call(this,n))},e}(tL0.DynamicBytesCoder);sw.StringCoder=nL0});var vTe=D(ow=>{"use strict";u();p();var aL0=ow&&ow.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(ow,"__esModule",{value:!0});ow.TupleCoder=void 0;var rL0=y5(),gTe=H0e(),fL0=function(t){aL0(e,t);function e(n,a){var r=this,f=!1,i=[];n.forEach(function(o){o.dynamic&&(f=!0),i.push(o.type)});var s="tuple("+i.join(",")+")";return r=t.call(this,"tuple",s,a,f)||this,r.coders=n,r}return e.prototype.defaultValue=function(){var n=[];this.coders.forEach(function(r){n.push(r.defaultValue())});var a=this.coders.reduce(function(r,f){var i=f.localName;return i&&(r[i]||(r[i]=0),r[i]++),r},{});return this.coders.forEach(function(r,f){var i=r.localName;!i||a[i]!==1||(i==="length"&&(i="_length"),n[i]==null&&(n[i]=n[f]))}),Object.freeze(n)},e.prototype.encode=function(n,a){return(0,gTe.pack)(n,this.coders,a)},e.prototype.decode=function(n){return n.coerce(this.name,(0,gTe.unpack)(n,this.coders))},e}(rL0.Coder);ow.TupleCoder=fL0});var V0e=D(cw=>{"use strict";u();p();Object.defineProperty(cw,"__esModule",{value:!0});cw.defaultAbiCoder=cw.AbiCoder=void 0;var iL0=Vt(),sL0=Ba(),TTe=Ft(),oL0=Vv(),sN=new TTe.Logger(oL0.version),wTe=y5(),cL0=Hwe(),dL0=H0e(),lL0=jwe(),uL0=z0e(),pL0=Ywe(),hL0=$we(),bL0=tTe(),mL0=yTe(),oN=vTe(),Q0e=$F(),yL0=new RegExp(/^bytes([0-9]*)$/),gL0=new RegExp(/^(u?int)([0-9]*)$/),xTe=function(){function t(e){(0,sL0.defineReadOnly)(this,"coerceFunc",e||null)}return t.prototype._getCoder=function(e){var n=this;switch(e.baseType){case"address":return new cL0.AddressCoder(e.name);case"bool":return new lL0.BooleanCoder(e.name);case"string":return new mL0.StringCoder(e.name);case"bytes":return new uL0.BytesCoder(e.name);case"array":return new dL0.ArrayCoder(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new oN.TupleCoder((e.components||[]).map(function(f){return n._getCoder(f)}),e.name);case"":return new hL0.NullCoder(e.name)}var a=e.type.match(gL0);if(a){var r=parseInt(a[2]||"256");return(r===0||r>256||r%8!==0)&&sN.throwArgumentError("invalid "+a[1]+" bit length","param",e),new bL0.NumberCoder(r/8,a[1]==="int",e.name)}if(a=e.type.match(yL0),a){var r=parseInt(a[1]);return(r===0||r>32)&&sN.throwArgumentError("invalid bytes length","param",e),new pL0.FixedBytesCoder(r,e.name)}return sN.throwArgumentError("invalid type","type",e.type)},t.prototype._getWordSize=function(){return 32},t.prototype._getReader=function(e,n){return new wTe.Reader(e,this._getWordSize(),this.coerceFunc,n)},t.prototype._getWriter=function(){return new wTe.Writer(this._getWordSize())},t.prototype.getDefaultValue=function(e){var n=this,a=e.map(function(f){return n._getCoder(Q0e.ParamType.from(f))}),r=new oN.TupleCoder(a,"_");return r.defaultValue()},t.prototype.encode=function(e,n){var a=this;e.length!==n.length&&sN.throwError("types/values length mismatch",TTe.Logger.errors.INVALID_ARGUMENT,{count:{types:e.length,values:n.length},value:{types:e,values:n}});var r=e.map(function(s){return a._getCoder(Q0e.ParamType.from(s))}),f=new oN.TupleCoder(r,"_"),i=this._getWriter();return f.encode(i,n),i.data},t.prototype.decode=function(e,n,a){var r=this,f=e.map(function(s){return r._getCoder(Q0e.ParamType.from(s))}),i=new oN.TupleCoder(f,"_");return i.decode(this._getReader((0,iL0.arrayify)(n),a))},t}();cw.AbiCoder=xTe;cw.defaultAbiCoder=new xTe});var Y0e=D(cN=>{"use strict";u();p();Object.defineProperty(cN,"__esModule",{value:!0});cN.id=void 0;var vL0=O1(),wL0=_i();function TL0(t){return(0,vL0.keccak256)((0,wL0.toUtf8Bytes)(t))}cN.id=TL0});var $0e=D(dN=>{"use strict";u();p();Object.defineProperty(dN,"__esModule",{value:!0});dN.version=void 0;dN.version="hash/5.7.0"});var _Te=D(dw=>{"use strict";u();p();Object.defineProperty(dw,"__esModule",{value:!0});dw.encode=dw.decode=void 0;var ETe=Vt();function xL0(t){t=atob(t);for(var e=[],n=0;n{"use strict";u();p();Object.defineProperty(lw,"__esModule",{value:!0});lw.encode=lw.decode=void 0;var ATe=_Te();Object.defineProperty(lw,"decode",{enumerable:!0,get:function(){return ATe.decode}});Object.defineProperty(lw,"encode",{enumerable:!0,get:function(){return ATe.encode}})});var X0e=D(ls=>{"use strict";u();p();Object.defineProperty(ls,"__esModule",{value:!0});ls.read_emoji_trie=ls.read_zero_terminated_array=ls.read_mapped_map=ls.read_member_array=ls.signed=ls.read_compressed_payload=ls.read_payload=ls.decode_arithmetic=void 0;function ITe(t,e){e==null&&(e=1);var n=[],a=n.forEach,r=function(f,i){a.call(f,function(s){i>0&&Array.isArray(s)?r(s,i-1):n.push(s)})};return r(t,e),n}function _L0(t){for(var e={},n=0;n>--c&1}for(var h=31,y=Math.pow(2,h),v=y>>>1,S=v>>1,O=y-1,F=0,i=0;i1;){var K=V+X>>>1;Q>>1|l(),G=G<<1^v,R=(R^v)<<1|v|1;W=G,j=1+R-G}var T=a-4;return z.map(function(N){switch(N-T){case 3:return T+65792+(t[o++]<<16|t[o++]<<8|t[o++]);case 2:return T+256+(t[o++]<<8|t[o++]);case 1:return T+t[o++];default:return N-1}})}ls.decode_arithmetic=kTe;function STe(t){var e=0;return function(){return t[e++]}}ls.read_payload=STe;function AL0(t){return STe(kTe(t))}ls.read_compressed_payload=AL0;function RTe(t){return t&1?~t>>1:t>>1}ls.signed=RTe;function CL0(t,e){for(var n=Array(t),a=0;a>=1;var o=f==1,c=f==2;return{branches:a,valid:i,fe0f:s,save:o,check:c}}}ls.read_emoji_trie=ML0});var DTe=D(lN=>{"use strict";u();p();Object.defineProperty(lN,"__esModule",{value:!0});lN.getData=void 0;var BL0=bI(),DL0=X0e();function PL0(){return(0,DL0.read_compressed_payload)((0,BL0.decode)("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA=="))}lN.getData=PL0});var NTe=D(uw=>{"use strict";u();p();Object.defineProperty(uw,"__esModule",{value:!0});uw.ens_normalize=uw.ens_normalize_post_check=void 0;var LL0=_i(),FL0=DTe(),uN=(0,FL0.getData)(),pN=X0e(),NL0=new Set((0,pN.read_member_array)(uN)),OL0=new Set((0,pN.read_member_array)(uN)),UL0=(0,pN.read_mapped_map)(uN),HL0=(0,pN.read_emoji_trie)(uN),PTe=45,LTe=95;function FTe(t){return(0,LL0.toUtf8CodePoints)(t)}function zL0(t){return t.filter(function(e){return e!=65039})}function Z0e(t){for(var e=0,n=t.split(".");e=0;f--)if(r[f]!==LTe)throw new Error("underscore only allowed at start");if(r.length>=4&&r.every(function(i){return i<128})&&r[2]===PTe&&r[3]===PTe)throw new Error("invalid label extension")}catch(i){throw new Error('Invalid label "'+a+'": '+i.message)}}return t}uw.ens_normalize_post_check=Z0e;function WL0(t){return Z0e(qL0(t,zL0))}uw.ens_normalize=WL0;function qL0(t,e){for(var n=FTe(t).reverse(),a=[];n.length;){var r=GL0(n);if(r){a.push.apply(a,e(r));continue}var f=n.pop();if(NL0.has(f)){a.push(f);continue}if(!OL0.has(f)){var i=UL0[f];if(i){a.push.apply(a,i);continue}throw new Error("Disallowed codepoint: 0x"+f.toString(16).toUpperCase())}}return Z0e(jL0(String.fromCodePoint.apply(String,a)))}function jL0(t){return t.normalize("NFC")}function GL0(t,e){var n,a=HL0,r,f,i=[],s=t.length;e&&(e.length=0);for(var o=function(){var d=t[--s];if(a=(n=a.branches.find(function(l){return l.set.has(d)}))===null||n===void 0?void 0:n.node,!a)return"break";if(a.save)f=d;else if(a.check&&d===f)return"break";i.push(d),a.fe0f&&(i.push(65039),s>0&&t[s-1]==65039&&s--),a.valid&&(r=i.slice(),a.valid==2&&r.splice(1,1),e&&e.push.apply(e,t.slice(s).reverse()),t.length=s)};s;){var c=o();if(c==="break")break}return r}});var ete=D(g2=>{"use strict";u();p();Object.defineProperty(g2,"__esModule",{value:!0});g2.dnsEncode=g2.namehash=g2.isValidName=g2.ensNormalize=void 0;var hN=Vt(),HTe=_i(),OTe=O1(),KL0=Ft(),QL0=$0e(),VL0=new KL0.Logger(QL0.version),YL0=NTe(),zTe=new Uint8Array(32);zTe.fill(0);function UTe(t){if(t.length===0)throw new Error("invalid ENS name; empty component");return t}function bN(t){var e=(0,HTe.toUtf8Bytes)((0,YL0.ens_normalize)(t)),n=[];if(t.length===0)return n;for(var a=0,r=0;r=e.length)throw new Error("invalid ENS name; empty component");return n.push(UTe(e.slice(a))),n}function $L0(t){return bN(t).map(function(e){return(0,HTe.toUtf8String)(e)}).join(".")}g2.ensNormalize=$L0;function JL0(t){try{return bN(t).length!==0}catch{}return!1}g2.isValidName=JL0;function XL0(t){typeof t!="string"&&VL0.throwArgumentError("invalid ENS name; not a string","name",t);for(var e=zTe,n=bN(t);n.length;)e=(0,OTe.keccak256)((0,hN.concat)([e,(0,OTe.keccak256)(n.pop())]));return(0,hN.hexlify)(e)}g2.namehash=XL0;function ZL0(t){return(0,hN.hexlify)((0,hN.concat)(bN(t).map(function(e){if(e.length>63)throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");var n=new Uint8Array(e.length+1);return n.set(e,1),n[0]=n.length-1,n})))+"00"}g2.dnsEncode=ZL0});var WTe=D(xy=>{"use strict";u();p();Object.defineProperty(xy,"__esModule",{value:!0});xy.hashMessage=xy.messagePrefix=void 0;var eF0=Vt(),tF0=O1(),tte=_i();xy.messagePrefix=`Ethereum Signed Message: -`;function nF0(t){return typeof t=="string"&&(t=(0,tte.toUtf8Bytes)(t)),(0,tF0.keccak256)((0,eF0.concat)([(0,tte.toUtf8Bytes)(xy.messagePrefix),(0,tte.toUtf8Bytes)(String(t.length)),t]))}xy.hashMessage=nF0});var JTe=D(T3=>{"use strict";u();p();var aF0=T3&&T3.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},rF0=T3&&T3.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]256||e[2]&&e[2]!==String(a))&&If.throwArgumentError("invalid numeric width","type",t);var r=oF0.mask(n?a-1:a),f=n?r.add($Te).mul(sF0):YTe;return function(s){var o=_y.BigNumber.from(s);return(o.lt(f)||o.gt(r))&&If.throwArgumentError("value out-of-bounds for "+t,"value",s),(0,Ys.hexZeroPad)(o.toTwos(256).toHexString(),32)}}}{var e=t.match(/^bytes(\d+)$/);if(e){var i=parseInt(e[1]);return(i===0||i>32||e[1]!==String(i))&&If.throwArgumentError("invalid bytes width","type",t),function(o){var c=(0,Ys.arrayify)(o);return c.length!==i&&If.throwArgumentError("invalid length for "+t,"value",o),cF0(o)}}}switch(t){case"address":return function(s){return(0,Ys.hexZeroPad)((0,KTe.getAddress)(s),32)};case"bool":return function(s){return s?dF0:lF0};case"bytes":return function(s){return(0,pw.keccak256)(s)};case"string":return function(s){return(0,QTe.id)(s)}}return null}function GTe(t,e){return t+"("+e.map(function(n){var a=n.name,r=n.type;return r+" "+a}).join(",")+")"}var pF0=function(){function t(e){(0,Ey.defineReadOnly)(this,"types",Object.freeze((0,Ey.deepCopy)(e))),(0,Ey.defineReadOnly)(this,"_encoderCache",{}),(0,Ey.defineReadOnly)(this,"_types",{});var n={},a={},r={};Object.keys(e).forEach(function(l){n[l]={},a[l]=[],r[l]={}});var f=function(l){var h={};e[l].forEach(function(y){h[y.name]&&If.throwArgumentError("duplicate variable name "+JSON.stringify(y.name)+" in "+JSON.stringify(l),"types",e),h[y.name]=!0;var v=y.type.match(/^([^\x5b]*)(\x5b|$)/)[1];v===l&&If.throwArgumentError("circular type reference to "+JSON.stringify(v),"types",e);var S=ate(v);S||(a[v]||If.throwArgumentError("unknown type "+JSON.stringify(v),"types",e),a[v].push(l),n[l][v]=!0)})};for(var i in e)f(i);var s=Object.keys(a).filter(function(l){return a[l].length===0});s.length===0?If.throwArgumentError("missing primary type","types",e):s.length>1&&If.throwArgumentError("ambiguous primary types or unused types: "+s.map(function(l){return JSON.stringify(l)}).join(", "),"types",e),(0,Ey.defineReadOnly)(this,"primaryType",s[0]);function o(l,h){h[l]&&If.throwArgumentError("circular type reference to "+JSON.stringify(l),"types",e),h[l]=!0,Object.keys(n[l]).forEach(function(y){a[y]&&(o(y,h),Object.keys(h).forEach(function(v){r[v][y]=!0}))}),delete h[l]}o(this.primaryType,{});for(var c in r){var d=Object.keys(r[c]);d.sort(),this._types[c]=GTe(c,e[c])+d.map(function(l){return GTe(l,e[l])}).join("")}}return t.prototype.getEncoder=function(e){var n=this._encoderCache[e];return n||(n=this._encoderCache[e]=this._getEncoder(e)),n},t.prototype._getEncoder=function(e){var n=this;{var a=ate(e);if(a)return a}var r=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(r){var f=r[1],i=this.getEncoder(f),s=parseInt(r[3]);return function(d){s>=0&&d.length!==s&&If.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",d);var l=d.map(i);return n._types[f]&&(l=l.map(pw.keccak256)),(0,pw.keccak256)((0,Ys.hexConcat)(l))}}var o=this.types[e];if(o){var c=(0,QTe.id)(this._types[e]);return function(d){var l=o.map(function(h){var y=h.name,v=h.type,S=n.getEncoder(v)(d[y]);return n._types[v]?(0,pw.keccak256)(S):S});return l.unshift(c),(0,Ys.hexConcat)(l)}}return If.throwArgumentError("unknown type: "+e,"type",e)},t.prototype.encodeType=function(e){var n=this._types[e];return n||If.throwArgumentError("unknown type: "+JSON.stringify(e),"name",e),n},t.prototype.encodeData=function(e,n){return this.getEncoder(e)(n)},t.prototype.hashStruct=function(e,n){return(0,pw.keccak256)(this.encodeData(e,n))},t.prototype.encode=function(e){return this.encodeData(this.primaryType,e)},t.prototype.hash=function(e){return this.hashStruct(this.primaryType,e)},t.prototype._visit=function(e,n,a){var r=this;{var f=ate(e);if(f)return a(e,n)}var i=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(i){var s=i[1],o=parseInt(i[3]);return o>=0&&n.length!==o&&If.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",n),n.map(function(d){return r._visit(s,d,a)})}var c=this.types[e];return c?c.reduce(function(d,l){var h=l.name,y=l.type;return d[h]=r._visit(y,n[h],a),d},{}):If.throwArgumentError("unknown type: "+e,"type",e)},t.prototype.visit=function(e,n){return this._visit(this.primaryType,e,n)},t.from=function(e){return new t(e)},t.getPrimaryType=function(e){return t.from(e).primaryType},t.hashStruct=function(e,n,a){return t.from(n).hashStruct(e,a)},t.hashDomain=function(e){var n=[];for(var a in e){var r=qTe[a];r||If.throwArgumentError("invalid typed-data domain key: "+JSON.stringify(a),"domain",e),n.push({name:a,type:r})}return n.sort(function(f,i){return nte.indexOf(f.name)-nte.indexOf(i.name)}),t.hashStruct("EIP712Domain",{EIP712Domain:n},e)},t.encode=function(e,n,a){return(0,Ys.hexConcat)(["0x1901",t.hashDomain(e),t.from(n).hash(a)])},t.hash=function(e,n,a){return(0,pw.keccak256)(t.encode(e,n,a))},t.resolveNames=function(e,n,a,r){return aF0(this,void 0,void 0,function(){var f,i,s,o,c,d,l,h;return rF0(this,function(y){switch(y.label){case 0:e=(0,Ey.shallowCopy)(e),f={},e.verifyingContract&&!(0,Ys.isHexString)(e.verifyingContract,20)&&(f[e.verifyingContract]="0x"),i=t.from(n),i.visit(a,function(v,S){return v==="address"&&!(0,Ys.isHexString)(S,20)&&(f[S]="0x"),S}),s=[];for(o in f)s.push(o);c=0,y.label=1;case 1:return c{"use strict";u();p();Object.defineProperty(us,"__esModule",{value:!0});us._TypedDataEncoder=us.hashMessage=us.messagePrefix=us.ensNormalize=us.isValidName=us.namehash=us.dnsEncode=us.id=void 0;var hF0=Y0e();Object.defineProperty(us,"id",{enumerable:!0,get:function(){return hF0.id}});var rte=ete();Object.defineProperty(us,"dnsEncode",{enumerable:!0,get:function(){return rte.dnsEncode}});Object.defineProperty(us,"isValidName",{enumerable:!0,get:function(){return rte.isValidName}});Object.defineProperty(us,"namehash",{enumerable:!0,get:function(){return rte.namehash}});var XTe=WTe();Object.defineProperty(us,"hashMessage",{enumerable:!0,get:function(){return XTe.hashMessage}});Object.defineProperty(us,"messagePrefix",{enumerable:!0,get:function(){return XTe.messagePrefix}});var bF0=ete();Object.defineProperty(us,"ensNormalize",{enumerable:!0,get:function(){return bF0.ensNormalize}});var mF0=JTe();Object.defineProperty(us,"_TypedDataEncoder",{enumerable:!0,get:function(){return mF0.TypedDataEncoder}})});var fxe=D(Do=>{"use strict";u();p();var gN=Do&&Do.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(Do,"__esModule",{value:!0});Do.Interface=Do.Indexed=Do.ErrorDescription=Do.TransactionDescription=Do.LogDescription=Do.checkResultErrors=void 0;var yF0=Bo(),ZTe=ia(),lf=Vt(),mN=x3(),exe=O1(),$s=Ba(),gF0=V0e(),vF0=y5();Object.defineProperty(Do,"checkResultErrors",{enumerable:!0,get:function(){return vF0.checkResultErrors}});var n8=$F(),yN=Ft(),wF0=Vv(),kf=new yN.Logger(wF0.version),nxe=function(t){gN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}($s.Description);Do.LogDescription=nxe;var axe=function(t){gN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}($s.Description);Do.TransactionDescription=axe;var rxe=function(t){gN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}($s.Description);Do.ErrorDescription=rxe;var fte=function(t){gN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.isIndexed=function(n){return!!(n&&n._isIndexed)},e}($s.Description);Do.Indexed=fte;var TF0={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function txe(t,e){var n=new Error("deferred error during ABI decoding triggered accessing "+t);return n.error=e,n}var xF0=function(){function t(e){var n=this.constructor,a=this,r=[];typeof e=="string"?r=JSON.parse(e):r=e,(0,$s.defineReadOnly)(this,"fragments",r.map(function(f){return n8.Fragment.from(f)}).filter(function(f){return f!=null})),(0,$s.defineReadOnly)(this,"_abiCoder",(0,$s.getStatic)(n,"getAbiCoder")()),(0,$s.defineReadOnly)(this,"functions",{}),(0,$s.defineReadOnly)(this,"errors",{}),(0,$s.defineReadOnly)(this,"events",{}),(0,$s.defineReadOnly)(this,"structs",{}),this.fragments.forEach(function(f){var i=null;switch(f.type){case"constructor":if(a.deploy){kf.warn("duplicate definition - constructor");return}(0,$s.defineReadOnly)(a,"deploy",f);return;case"function":i=a.functions;break;case"event":i=a.events;break;case"error":i=a.errors;break;default:return}var s=f.format();if(i[s]){kf.warn("duplicate definition - "+s);return}i[s]=f}),this.deploy||(0,$s.defineReadOnly)(this,"deploy",n8.ConstructorFragment.from({payable:!1,type:"constructor"})),(0,$s.defineReadOnly)(this,"_isInterface",!0)}return t.prototype.format=function(e){e||(e=n8.FormatTypes.full),e===n8.FormatTypes.sighash&&kf.throwArgumentError("interface does not support formatting sighash","format",e);var n=this.fragments.map(function(a){return a.format(e)});return e===n8.FormatTypes.json?JSON.stringify(n.map(function(a){return JSON.parse(a)})):n},t.getAbiCoder=function(){return gF0.defaultAbiCoder},t.getAddress=function(e){return(0,yF0.getAddress)(e)},t.getSighash=function(e){return(0,lf.hexDataSlice)((0,mN.id)(e.format()),0,4)},t.getEventTopic=function(e){return(0,mN.id)(e.format())},t.prototype.getFunction=function(e){if((0,lf.isHexString)(e)){for(var n in this.functions)if(e===this.getSighash(n))return this.functions[n];kf.throwArgumentError("no matching function","sighash",e)}if(e.indexOf("(")===-1){var a=e.trim(),r=Object.keys(this.functions).filter(function(i){return i.split("(")[0]===a});return r.length===0?kf.throwArgumentError("no matching function","name",a):r.length>1&&kf.throwArgumentError("multiple matching functions","name",a),this.functions[r[0]]}var f=this.functions[n8.FunctionFragment.fromString(e).format()];return f||kf.throwArgumentError("no matching function","signature",e),f},t.prototype.getEvent=function(e){if((0,lf.isHexString)(e)){var n=e.toLowerCase();for(var a in this.events)if(n===this.getEventTopic(a))return this.events[a];kf.throwArgumentError("no matching event","topichash",n)}if(e.indexOf("(")===-1){var r=e.trim(),f=Object.keys(this.events).filter(function(s){return s.split("(")[0]===r});return f.length===0?kf.throwArgumentError("no matching event","name",r):f.length>1&&kf.throwArgumentError("multiple matching events","name",r),this.events[f[0]]}var i=this.events[n8.EventFragment.fromString(e).format()];return i||kf.throwArgumentError("no matching event","signature",e),i},t.prototype.getError=function(e){if((0,lf.isHexString)(e)){var n=(0,$s.getStatic)(this.constructor,"getSighash");for(var a in this.errors){var r=this.errors[a];if(e===n(r))return this.errors[a]}kf.throwArgumentError("no matching error","sighash",e)}if(e.indexOf("(")===-1){var f=e.trim(),i=Object.keys(this.errors).filter(function(o){return o.split("(")[0]===f});return i.length===0?kf.throwArgumentError("no matching error","name",f):i.length>1&&kf.throwArgumentError("multiple matching errors","name",f),this.errors[i[0]]}var s=this.errors[n8.FunctionFragment.fromString(e).format()];return s||kf.throwArgumentError("no matching error","signature",e),s},t.prototype.getSighash=function(e){if(typeof e=="string")try{e=this.getFunction(e)}catch(n){try{e=this.getError(e)}catch{throw n}}return(0,$s.getStatic)(this.constructor,"getSighash")(e)},t.prototype.getEventTopic=function(e){return typeof e=="string"&&(e=this.getEvent(e)),(0,$s.getStatic)(this.constructor,"getEventTopic")(e)},t.prototype._decodeParams=function(e,n){return this._abiCoder.decode(e,n)},t.prototype._encodeParams=function(e,n){return this._abiCoder.encode(e,n)},t.prototype.encodeDeploy=function(e){return this._encodeParams(this.deploy.inputs,e||[])},t.prototype.decodeErrorResult=function(e,n){typeof e=="string"&&(e=this.getError(e));var a=(0,lf.arrayify)(n);return(0,lf.hexlify)(a.slice(0,4))!==this.getSighash(e)&&kf.throwArgumentError("data signature does not match error "+e.name+".","data",(0,lf.hexlify)(a)),this._decodeParams(e.inputs,a.slice(4))},t.prototype.encodeErrorResult=function(e,n){return typeof e=="string"&&(e=this.getError(e)),(0,lf.hexlify)((0,lf.concat)([this.getSighash(e),this._encodeParams(e.inputs,n||[])]))},t.prototype.decodeFunctionData=function(e,n){typeof e=="string"&&(e=this.getFunction(e));var a=(0,lf.arrayify)(n);return(0,lf.hexlify)(a.slice(0,4))!==this.getSighash(e)&&kf.throwArgumentError("data signature does not match function "+e.name+".","data",(0,lf.hexlify)(a)),this._decodeParams(e.inputs,a.slice(4))},t.prototype.encodeFunctionData=function(e,n){return typeof e=="string"&&(e=this.getFunction(e)),(0,lf.hexlify)((0,lf.concat)([this.getSighash(e),this._encodeParams(e.inputs,n||[])]))},t.prototype.decodeFunctionResult=function(e,n){typeof e=="string"&&(e=this.getFunction(e));var a=(0,lf.arrayify)(n),r=null,f="",i=null,s=null,o=null;switch(a.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(e.outputs,a)}catch{}break;case 4:{var c=(0,lf.hexlify)(a.slice(0,4)),d=TF0[c];if(d)i=this._abiCoder.decode(d.inputs,a.slice(4)),s=d.name,o=d.signature,d.reason&&(r=i[0]),s==="Error"?f="; VM Exception while processing transaction: reverted with reason string "+JSON.stringify(i[0]):s==="Panic"&&(f="; VM Exception while processing transaction: reverted with panic code "+i[0]);else try{var l=this.getError(c);i=this._abiCoder.decode(l.inputs,a.slice(4)),s=l.name,o=l.format()}catch{}break}}return kf.throwError("call revert exception"+f,yN.Logger.errors.CALL_EXCEPTION,{method:e.format(),data:(0,lf.hexlify)(n),errorArgs:i,errorName:s,errorSignature:o,reason:r})},t.prototype.encodeFunctionResult=function(e,n){return typeof e=="string"&&(e=this.getFunction(e)),(0,lf.hexlify)(this._abiCoder.encode(e.outputs,n||[]))},t.prototype.encodeFilterTopics=function(e,n){var a=this;typeof e=="string"&&(e=this.getEvent(e)),n.length>e.inputs.length&&kf.throwError("too many arguments for "+e.format(),yN.Logger.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:n});var r=[];e.anonymous||r.push(this.getEventTopic(e));var f=function(i,s){return i.type==="string"?(0,mN.id)(s):i.type==="bytes"?(0,exe.keccak256)((0,lf.hexlify)(s)):(i.type==="bool"&&typeof s=="boolean"&&(s=s?"0x01":"0x00"),i.type.match(/^u?int/)&&(s=ZTe.BigNumber.from(s).toHexString()),i.type==="address"&&a._abiCoder.encode(["address"],[s]),(0,lf.hexZeroPad)((0,lf.hexlify)(s),32))};for(n.forEach(function(i,s){var o=e.inputs[s];if(!o.indexed){i!=null&&kf.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+o.name,i);return}i==null?r.push(null):o.baseType==="array"||o.baseType==="tuple"?kf.throwArgumentError("filtering with tuples or arrays not supported","contract."+o.name,i):Array.isArray(i)?r.push(i.map(function(c){return f(o,c)})):r.push(f(o,i))});r.length&&r[r.length-1]===null;)r.pop();return r},t.prototype.encodeEventLog=function(e,n){var a=this;typeof e=="string"&&(e=this.getEvent(e));var r=[],f=[],i=[];return e.anonymous||r.push(this.getEventTopic(e)),n.length!==e.inputs.length&&kf.throwArgumentError("event arguments/values mismatch","values",n),e.inputs.forEach(function(s,o){var c=n[o];if(s.indexed)if(s.type==="string")r.push((0,mN.id)(c));else if(s.type==="bytes")r.push((0,exe.keccak256)(c));else{if(s.baseType==="tuple"||s.baseType==="array")throw new Error("not implemented");r.push(a._abiCoder.encode([s.type],[c]))}else f.push(s),i.push(c)}),{data:this._abiCoder.encode(f,i),topics:r}},t.prototype.decodeEventLog=function(e,n,a){if(typeof e=="string"&&(e=this.getEvent(e)),a!=null&&!e.anonymous){var r=this.getEventTopic(e);(!(0,lf.isHexString)(a[0],32)||a[0].toLowerCase()!==r)&&kf.throwError("fragment/topic mismatch",yN.Logger.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:r,value:a[0]}),a=a.slice(1)}var f=[],i=[],s=[];e.inputs.forEach(function(S,O){S.indexed?S.type==="string"||S.type==="bytes"||S.baseType==="tuple"||S.baseType==="array"?(f.push(n8.ParamType.fromObject({type:"bytes32",name:S.name})),s.push(!0)):(f.push(S),s.push(!1)):(i.push(S),s.push(!1))});var o=a!=null?this._abiCoder.decode(f,(0,lf.concat)(a)):null,c=this._abiCoder.decode(i,n,!0),d=[],l=0,h=0;e.inputs.forEach(function(S,O){if(S.indexed)if(o==null)d[O]=new fte({_isIndexed:!0,hash:null});else if(s[O])d[O]=new fte({_isIndexed:!0,hash:o[h++]});else try{d[O]=o[h++]}catch(z){d[O]=z}else try{d[O]=c[l++]}catch(z){d[O]=z}if(S.name&&d[S.name]==null){var F=d[O];F instanceof Error?Object.defineProperty(d,S.name,{enumerable:!0,get:function(){throw txe("property "+JSON.stringify(S.name),F)}}):d[S.name]=F}});for(var y=function(S){var O=d[S];O instanceof Error&&Object.defineProperty(d,S,{enumerable:!0,get:function(){throw txe("index "+S,O)}})},v=0;v{"use strict";u();p();Object.defineProperty(Ya,"__esModule",{value:!0});Ya.TransactionDescription=Ya.LogDescription=Ya.checkResultErrors=Ya.Indexed=Ya.Interface=Ya.defaultAbiCoder=Ya.AbiCoder=Ya.FormatTypes=Ya.ParamType=Ya.FunctionFragment=Ya.Fragment=Ya.EventFragment=Ya.ErrorFragment=Ya.ConstructorFragment=void 0;var Ay=$F();Object.defineProperty(Ya,"ConstructorFragment",{enumerable:!0,get:function(){return Ay.ConstructorFragment}});Object.defineProperty(Ya,"ErrorFragment",{enumerable:!0,get:function(){return Ay.ErrorFragment}});Object.defineProperty(Ya,"EventFragment",{enumerable:!0,get:function(){return Ay.EventFragment}});Object.defineProperty(Ya,"FormatTypes",{enumerable:!0,get:function(){return Ay.FormatTypes}});Object.defineProperty(Ya,"Fragment",{enumerable:!0,get:function(){return Ay.Fragment}});Object.defineProperty(Ya,"FunctionFragment",{enumerable:!0,get:function(){return Ay.FunctionFragment}});Object.defineProperty(Ya,"ParamType",{enumerable:!0,get:function(){return Ay.ParamType}});var ixe=V0e();Object.defineProperty(Ya,"AbiCoder",{enumerable:!0,get:function(){return ixe.AbiCoder}});Object.defineProperty(Ya,"defaultAbiCoder",{enumerable:!0,get:function(){return ixe.defaultAbiCoder}});var mI=fxe();Object.defineProperty(Ya,"checkResultErrors",{enumerable:!0,get:function(){return mI.checkResultErrors}});Object.defineProperty(Ya,"Indexed",{enumerable:!0,get:function(){return mI.Indexed}});Object.defineProperty(Ya,"Interface",{enumerable:!0,get:function(){return mI.Interface}});Object.defineProperty(Ya,"LogDescription",{enumerable:!0,get:function(){return mI.LogDescription}});Object.defineProperty(Ya,"TransactionDescription",{enumerable:!0,get:function(){return mI.TransactionDescription}})});var sxe=D(vN=>{"use strict";u();p();Object.defineProperty(vN,"__esModule",{value:!0});vN.version=void 0;vN.version="abstract-provider/5.7.0"});var E3=D(ps=>{"use strict";u();p();var TN=ps&&ps.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),EF0=ps&&ps.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},_F0=ps&&ps.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();Object.defineProperty(EN,"__esModule",{value:!0});EN.version=void 0;EN.version="abstract-signer/5.7.0"});var r8=D(T5=>{"use strict";u();p();var BF0=T5&&T5.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),Xd=T5&&T5.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},Zd=T5&&T5.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]=0)throw o;return w5.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",a8.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:o,tx:n})})),n.chainId==null?n.chainId=this.getChainId():n.chainId=Promise.all([Promise.resolve(n.chainId),this.getChainId()]).then(function(o){return o[1]!==0&&o[0]!==o[1]&&w5.throwArgumentError("chainId address mismatch","transaction",e),o[0]}),[4,(0,_3.resolveProperties)(n)];case 6:return[2,s.sent()]}})})},t.prototype._checkProvider=function(e){this.provider||w5.throwError("missing provider",a8.Logger.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})},t.isSigner=function(e){return!!(e&&e._isSigner)},t}();T5.Signer=cxe;var FF0=function(t){BF0(e,t);function e(n,a){var r=t.call(this)||this;return(0,_3.defineReadOnly)(r,"address",n),(0,_3.defineReadOnly)(r,"provider",a||null),r}return e.prototype.getAddress=function(){return Promise.resolve(this.address)},e.prototype._fail=function(n,a){return Promise.resolve().then(function(){w5.throwError(n,a8.Logger.errors.UNSUPPORTED_OPERATION,{operation:a})})},e.prototype.signMessage=function(n){return this._fail("VoidSigner cannot sign messages","signMessage")},e.prototype.signTransaction=function(n){return this._fail("VoidSigner cannot sign transactions","signTransaction")},e.prototype._signTypedData=function(n,a,r){return this._fail("VoidSigner cannot sign typed data","signTypedData")},e.prototype.connect=function(n){return new e(this.address,n)},e}(cxe);T5.VoidSigner=FF0});var dxe=D((yOn,NF0)=>{NF0.exports={name:"elliptic",version:"6.5.4",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny ",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}});var kr=D((lxe,ste)=>{u();p();(function(t,e){"use strict";function n(R,T){if(!R)throw new Error(T||"Assertion failed")}function a(R,T){R.super_=T;var N=function(){};N.prototype=T.prototype,R.prototype=new N,R.prototype.constructor=R}function r(R,T,N){if(r.isBN(R))return R;this.negative=0,this.words=null,this.length=0,this.red=null,R!==null&&((T==="le"||T==="be")&&(N=T,T=10),this._init(R||0,T||10,N||"be"))}typeof t=="object"?t.exports=r:e.BN=r,r.BN=r,r.wordSize=26;var f;try{typeof window<"u"&&typeof window.Buffer<"u"?f=window.Buffer:f=Kf().Buffer}catch{}r.isBN=function(T){return T instanceof r?!0:T!==null&&typeof T=="object"&&T.constructor.wordSize===r.wordSize&&Array.isArray(T.words)},r.max=function(T,N){return T.cmp(N)>0?T:N},r.min=function(T,N){return T.cmp(N)<0?T:N},r.prototype._init=function(T,N,w){if(typeof T=="number")return this._initNumber(T,N,w);if(typeof T=="object")return this._initArray(T,N,w);N==="hex"&&(N=16),n(N===(N|0)&&N>=2&&N<=36),T=T.toString().replace(/\s+/g,"");var m=0;T[0]==="-"&&(m++,this.negative=1),m=0;m-=3)P=T[m]|T[m-1]<<8|T[m-2]<<16,this.words[A]|=P<>>26-L&67108863,L+=24,L>=26&&(L-=26,A++);else if(w==="le")for(m=0,A=0;m>>26-L&67108863,L+=24,L>=26&&(L-=26,A++);return this.strip()};function i(R,T){var N=R.charCodeAt(T);return N>=65&&N<=70?N-55:N>=97&&N<=102?N-87:N-48&15}function s(R,T,N){var w=i(R,N);return N-1>=T&&(w|=i(R,N-1)<<4),w}r.prototype._parseHex=function(T,N,w){this.length=Math.ceil((T.length-N)/6),this.words=new Array(this.length);for(var m=0;m=N;m-=2)L=s(T,N,m)<=18?(A-=18,P+=1,this.words[P]|=L>>>26):A+=8;else{var x=T.length-N;for(m=x%2===0?N+1:N;m=18?(A-=18,P+=1,this.words[P]|=L>>>26):A+=8}this.strip()};function o(R,T,N,w){for(var m=0,A=Math.min(R.length,N),P=T;P=49?m+=L-49+10:L>=17?m+=L-17+10:m+=L}return m}r.prototype._parseBase=function(T,N,w){this.words=[0],this.length=1;for(var m=0,A=1;A<=67108863;A*=N)m++;m--,A=A/N|0;for(var P=T.length-w,L=P%m,x=Math.min(P,P-L)+w,g=0,B=w;B1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},r.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},r.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],l=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];r.prototype.toString=function(T,N){T=T||10,N=N|0||1;var w;if(T===16||T==="hex"){w="";for(var m=0,A=0,P=0;P>>24-m&16777215,A!==0||P!==this.length-1?w=c[6-x.length]+x+w:w=x+w,m+=2,m>=26&&(m-=26,P--)}for(A!==0&&(w=A.toString(16)+w);w.length%N!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}if(T===(T|0)&&T>=2&&T<=36){var g=d[T],B=l[T];w="";var M=this.clone();for(M.negative=0;!M.isZero();){var k=M.modn(B).toString(T);M=M.idivn(B),M.isZero()?w=k+w:w=c[g-k.length]+k+w}for(this.isZero()&&(w="0"+w);w.length%N!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}n(!1,"Base should be between 2 and 36")},r.prototype.toNumber=function(){var T=this.words[0];return this.length===2?T+=this.words[1]*67108864:this.length===3&&this.words[2]===1?T+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-T:T},r.prototype.toJSON=function(){return this.toString(16)},r.prototype.toBuffer=function(T,N){return n(typeof f<"u"),this.toArrayLike(f,T,N)},r.prototype.toArray=function(T,N){return this.toArrayLike(Array,T,N)},r.prototype.toArrayLike=function(T,N,w){var m=this.byteLength(),A=w||Math.max(1,m);n(m<=A,"byte array longer than desired length"),n(A>0,"Requested array length <= 0"),this.strip();var P=N==="le",L=new T(A),x,g,B=this.clone();if(P){for(g=0;!B.isZero();g++)x=B.andln(255),B.iushrn(8),L[g]=x;for(;g=4096&&(w+=13,N>>>=13),N>=64&&(w+=7,N>>>=7),N>=8&&(w+=4,N>>>=4),N>=2&&(w+=2,N>>>=2),w+N},r.prototype._zeroBits=function(T){if(T===0)return 26;var N=T,w=0;return N&8191||(w+=13,N>>>=13),N&127||(w+=7,N>>>=7),N&15||(w+=4,N>>>=4),N&3||(w+=2,N>>>=2),N&1||w++,w},r.prototype.bitLength=function(){var T=this.words[this.length-1],N=this._countBits(T);return(this.length-1)*26+N};function h(R){for(var T=new Array(R.bitLength()),N=0;N>>m}return T}r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var T=0,N=0;NT.length?this.clone().ior(T):T.clone().ior(this)},r.prototype.uor=function(T){return this.length>T.length?this.clone().iuor(T):T.clone().iuor(this)},r.prototype.iuand=function(T){var N;this.length>T.length?N=T:N=this;for(var w=0;wT.length?this.clone().iand(T):T.clone().iand(this)},r.prototype.uand=function(T){return this.length>T.length?this.clone().iuand(T):T.clone().iuand(this)},r.prototype.iuxor=function(T){var N,w;this.length>T.length?(N=this,w=T):(N=T,w=this);for(var m=0;mT.length?this.clone().ixor(T):T.clone().ixor(this)},r.prototype.uxor=function(T){return this.length>T.length?this.clone().iuxor(T):T.clone().iuxor(this)},r.prototype.inotn=function(T){n(typeof T=="number"&&T>=0);var N=Math.ceil(T/26)|0,w=T%26;this._expand(N),w>0&&N--;for(var m=0;m0&&(this.words[m]=~this.words[m]&67108863>>26-w),this.strip()},r.prototype.notn=function(T){return this.clone().inotn(T)},r.prototype.setn=function(T,N){n(typeof T=="number"&&T>=0);var w=T/26|0,m=T%26;return this._expand(w+1),N?this.words[w]=this.words[w]|1<T.length?(w=this,m=T):(w=T,m=this);for(var A=0,P=0;P>>26;for(;A!==0&&P>>26;if(this.length=w.length,A!==0)this.words[this.length]=A,this.length++;else if(w!==this)for(;PT.length?this.clone().iadd(T):T.clone().iadd(this)},r.prototype.isub=function(T){if(T.negative!==0){T.negative=0;var N=this.iadd(T);return T.negative=1,N._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(T),this.negative=1,this._normSign();var w=this.cmp(T);if(w===0)return this.negative=0,this.length=1,this.words[0]=0,this;var m,A;w>0?(m=this,A=T):(m=T,A=this);for(var P=0,L=0;L>26,this.words[L]=N&67108863;for(;P!==0&&L>26,this.words[L]=N&67108863;if(P===0&&L>>26,M=x&67108863,k=Math.min(g,T.length-1),q=Math.max(0,g-R.length+1);q<=k;q++){var ee=g-q|0;m=R.words[ee]|0,A=T.words[q]|0,P=m*A+M,B+=P/67108864|0,M=P&67108863}N.words[g]=M|0,x=B|0}return x!==0?N.words[g]=x|0:N.length--,N.strip()}var v=function(T,N,w){var m=T.words,A=N.words,P=w.words,L=0,x,g,B,M=m[0]|0,k=M&8191,q=M>>>13,ee=m[1]|0,U=ee&8191,J=ee>>>13,Z=m[2]|0,ne=Z&8191,ue=Z>>>13,Y=m[3]|0,re=Y&8191,ie=Y>>>13,ge=m[4]|0,de=ge&8191,Ae=ge>>>13,Ge=m[5]|0,Be=Ge&8191,c0=Ge>>>13,Ye=m[6]|0,He=Ye&8191,_0=Ye>>>13,L0=m[7]|0,Ze=L0&8191,I0=L0>>>13,pe=m[8]|0,he=pe&8191,Te=pe>>>13,Ce=m[9]|0,Se=Ce&8191,Qe=Ce>>>13,u0=A[0]|0,qe=u0&8191,v0=u0>>>13,w0=A[1]|0,Ve=w0&8191,be=w0>>>13,ye=A[2]|0,_e=ye&8191,ze=ye>>>13,je=A[3]|0,Ue=je&8191,b0=je>>>13,h0=A[4]|0,$e=h0&8191,M0=h0>>>13,P0=A[5]|0,t0=P0&8191,j0=P0>>>13,z0=A[6]|0,Ke=z0&8191,B0=z0>>>13,G0=A[7]|0,s0=G0&8191,X0=G0>>>13,Y0=A[8]|0,l0=Y0&8191,K0=Y0>>>13,tt=A[9]|0,p0=tt&8191,et=tt>>>13;w.negative=T.negative^N.negative,w.length=19,x=Math.imul(k,qe),g=Math.imul(k,v0),g=g+Math.imul(q,qe)|0,B=Math.imul(q,v0);var Et=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Et>>>26)|0,Et&=67108863,x=Math.imul(U,qe),g=Math.imul(U,v0),g=g+Math.imul(J,qe)|0,B=Math.imul(J,v0),x=x+Math.imul(k,Ve)|0,g=g+Math.imul(k,be)|0,g=g+Math.imul(q,Ve)|0,B=B+Math.imul(q,be)|0;var $0=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+($0>>>26)|0,$0&=67108863,x=Math.imul(ne,qe),g=Math.imul(ne,v0),g=g+Math.imul(ue,qe)|0,B=Math.imul(ue,v0),x=x+Math.imul(U,Ve)|0,g=g+Math.imul(U,be)|0,g=g+Math.imul(J,Ve)|0,B=B+Math.imul(J,be)|0,x=x+Math.imul(k,_e)|0,g=g+Math.imul(k,ze)|0,g=g+Math.imul(q,_e)|0,B=B+Math.imul(q,ze)|0;var Tt=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,x=Math.imul(re,qe),g=Math.imul(re,v0),g=g+Math.imul(ie,qe)|0,B=Math.imul(ie,v0),x=x+Math.imul(ne,Ve)|0,g=g+Math.imul(ne,be)|0,g=g+Math.imul(ue,Ve)|0,B=B+Math.imul(ue,be)|0,x=x+Math.imul(U,_e)|0,g=g+Math.imul(U,ze)|0,g=g+Math.imul(J,_e)|0,B=B+Math.imul(J,ze)|0,x=x+Math.imul(k,Ue)|0,g=g+Math.imul(k,b0)|0,g=g+Math.imul(q,Ue)|0,B=B+Math.imul(q,b0)|0;var Pn=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,x=Math.imul(de,qe),g=Math.imul(de,v0),g=g+Math.imul(Ae,qe)|0,B=Math.imul(Ae,v0),x=x+Math.imul(re,Ve)|0,g=g+Math.imul(re,be)|0,g=g+Math.imul(ie,Ve)|0,B=B+Math.imul(ie,be)|0,x=x+Math.imul(ne,_e)|0,g=g+Math.imul(ne,ze)|0,g=g+Math.imul(ue,_e)|0,B=B+Math.imul(ue,ze)|0,x=x+Math.imul(U,Ue)|0,g=g+Math.imul(U,b0)|0,g=g+Math.imul(J,Ue)|0,B=B+Math.imul(J,b0)|0,x=x+Math.imul(k,$e)|0,g=g+Math.imul(k,M0)|0,g=g+Math.imul(q,$e)|0,B=B+Math.imul(q,M0)|0;var Ln=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,x=Math.imul(Be,qe),g=Math.imul(Be,v0),g=g+Math.imul(c0,qe)|0,B=Math.imul(c0,v0),x=x+Math.imul(de,Ve)|0,g=g+Math.imul(de,be)|0,g=g+Math.imul(Ae,Ve)|0,B=B+Math.imul(Ae,be)|0,x=x+Math.imul(re,_e)|0,g=g+Math.imul(re,ze)|0,g=g+Math.imul(ie,_e)|0,B=B+Math.imul(ie,ze)|0,x=x+Math.imul(ne,Ue)|0,g=g+Math.imul(ne,b0)|0,g=g+Math.imul(ue,Ue)|0,B=B+Math.imul(ue,b0)|0,x=x+Math.imul(U,$e)|0,g=g+Math.imul(U,M0)|0,g=g+Math.imul(J,$e)|0,B=B+Math.imul(J,M0)|0,x=x+Math.imul(k,t0)|0,g=g+Math.imul(k,j0)|0,g=g+Math.imul(q,t0)|0,B=B+Math.imul(q,j0)|0;var Fn=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,x=Math.imul(He,qe),g=Math.imul(He,v0),g=g+Math.imul(_0,qe)|0,B=Math.imul(_0,v0),x=x+Math.imul(Be,Ve)|0,g=g+Math.imul(Be,be)|0,g=g+Math.imul(c0,Ve)|0,B=B+Math.imul(c0,be)|0,x=x+Math.imul(de,_e)|0,g=g+Math.imul(de,ze)|0,g=g+Math.imul(Ae,_e)|0,B=B+Math.imul(Ae,ze)|0,x=x+Math.imul(re,Ue)|0,g=g+Math.imul(re,b0)|0,g=g+Math.imul(ie,Ue)|0,B=B+Math.imul(ie,b0)|0,x=x+Math.imul(ne,$e)|0,g=g+Math.imul(ne,M0)|0,g=g+Math.imul(ue,$e)|0,B=B+Math.imul(ue,M0)|0,x=x+Math.imul(U,t0)|0,g=g+Math.imul(U,j0)|0,g=g+Math.imul(J,t0)|0,B=B+Math.imul(J,j0)|0,x=x+Math.imul(k,Ke)|0,g=g+Math.imul(k,B0)|0,g=g+Math.imul(q,Ke)|0,B=B+Math.imul(q,B0)|0;var Nn=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Nn>>>26)|0,Nn&=67108863,x=Math.imul(Ze,qe),g=Math.imul(Ze,v0),g=g+Math.imul(I0,qe)|0,B=Math.imul(I0,v0),x=x+Math.imul(He,Ve)|0,g=g+Math.imul(He,be)|0,g=g+Math.imul(_0,Ve)|0,B=B+Math.imul(_0,be)|0,x=x+Math.imul(Be,_e)|0,g=g+Math.imul(Be,ze)|0,g=g+Math.imul(c0,_e)|0,B=B+Math.imul(c0,ze)|0,x=x+Math.imul(de,Ue)|0,g=g+Math.imul(de,b0)|0,g=g+Math.imul(Ae,Ue)|0,B=B+Math.imul(Ae,b0)|0,x=x+Math.imul(re,$e)|0,g=g+Math.imul(re,M0)|0,g=g+Math.imul(ie,$e)|0,B=B+Math.imul(ie,M0)|0,x=x+Math.imul(ne,t0)|0,g=g+Math.imul(ne,j0)|0,g=g+Math.imul(ue,t0)|0,B=B+Math.imul(ue,j0)|0,x=x+Math.imul(U,Ke)|0,g=g+Math.imul(U,B0)|0,g=g+Math.imul(J,Ke)|0,B=B+Math.imul(J,B0)|0,x=x+Math.imul(k,s0)|0,g=g+Math.imul(k,X0)|0,g=g+Math.imul(q,s0)|0,B=B+Math.imul(q,X0)|0;var On=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(On>>>26)|0,On&=67108863,x=Math.imul(he,qe),g=Math.imul(he,v0),g=g+Math.imul(Te,qe)|0,B=Math.imul(Te,v0),x=x+Math.imul(Ze,Ve)|0,g=g+Math.imul(Ze,be)|0,g=g+Math.imul(I0,Ve)|0,B=B+Math.imul(I0,be)|0,x=x+Math.imul(He,_e)|0,g=g+Math.imul(He,ze)|0,g=g+Math.imul(_0,_e)|0,B=B+Math.imul(_0,ze)|0,x=x+Math.imul(Be,Ue)|0,g=g+Math.imul(Be,b0)|0,g=g+Math.imul(c0,Ue)|0,B=B+Math.imul(c0,b0)|0,x=x+Math.imul(de,$e)|0,g=g+Math.imul(de,M0)|0,g=g+Math.imul(Ae,$e)|0,B=B+Math.imul(Ae,M0)|0,x=x+Math.imul(re,t0)|0,g=g+Math.imul(re,j0)|0,g=g+Math.imul(ie,t0)|0,B=B+Math.imul(ie,j0)|0,x=x+Math.imul(ne,Ke)|0,g=g+Math.imul(ne,B0)|0,g=g+Math.imul(ue,Ke)|0,B=B+Math.imul(ue,B0)|0,x=x+Math.imul(U,s0)|0,g=g+Math.imul(U,X0)|0,g=g+Math.imul(J,s0)|0,B=B+Math.imul(J,X0)|0,x=x+Math.imul(k,l0)|0,g=g+Math.imul(k,K0)|0,g=g+Math.imul(q,l0)|0,B=B+Math.imul(q,K0)|0;var Ha=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Ha>>>26)|0,Ha&=67108863,x=Math.imul(Se,qe),g=Math.imul(Se,v0),g=g+Math.imul(Qe,qe)|0,B=Math.imul(Qe,v0),x=x+Math.imul(he,Ve)|0,g=g+Math.imul(he,be)|0,g=g+Math.imul(Te,Ve)|0,B=B+Math.imul(Te,be)|0,x=x+Math.imul(Ze,_e)|0,g=g+Math.imul(Ze,ze)|0,g=g+Math.imul(I0,_e)|0,B=B+Math.imul(I0,ze)|0,x=x+Math.imul(He,Ue)|0,g=g+Math.imul(He,b0)|0,g=g+Math.imul(_0,Ue)|0,B=B+Math.imul(_0,b0)|0,x=x+Math.imul(Be,$e)|0,g=g+Math.imul(Be,M0)|0,g=g+Math.imul(c0,$e)|0,B=B+Math.imul(c0,M0)|0,x=x+Math.imul(de,t0)|0,g=g+Math.imul(de,j0)|0,g=g+Math.imul(Ae,t0)|0,B=B+Math.imul(Ae,j0)|0,x=x+Math.imul(re,Ke)|0,g=g+Math.imul(re,B0)|0,g=g+Math.imul(ie,Ke)|0,B=B+Math.imul(ie,B0)|0,x=x+Math.imul(ne,s0)|0,g=g+Math.imul(ne,X0)|0,g=g+Math.imul(ue,s0)|0,B=B+Math.imul(ue,X0)|0,x=x+Math.imul(U,l0)|0,g=g+Math.imul(U,K0)|0,g=g+Math.imul(J,l0)|0,B=B+Math.imul(J,K0)|0,x=x+Math.imul(k,p0)|0,g=g+Math.imul(k,et)|0,g=g+Math.imul(q,p0)|0,B=B+Math.imul(q,et)|0;var pr=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(pr>>>26)|0,pr&=67108863,x=Math.imul(Se,Ve),g=Math.imul(Se,be),g=g+Math.imul(Qe,Ve)|0,B=Math.imul(Qe,be),x=x+Math.imul(he,_e)|0,g=g+Math.imul(he,ze)|0,g=g+Math.imul(Te,_e)|0,B=B+Math.imul(Te,ze)|0,x=x+Math.imul(Ze,Ue)|0,g=g+Math.imul(Ze,b0)|0,g=g+Math.imul(I0,Ue)|0,B=B+Math.imul(I0,b0)|0,x=x+Math.imul(He,$e)|0,g=g+Math.imul(He,M0)|0,g=g+Math.imul(_0,$e)|0,B=B+Math.imul(_0,M0)|0,x=x+Math.imul(Be,t0)|0,g=g+Math.imul(Be,j0)|0,g=g+Math.imul(c0,t0)|0,B=B+Math.imul(c0,j0)|0,x=x+Math.imul(de,Ke)|0,g=g+Math.imul(de,B0)|0,g=g+Math.imul(Ae,Ke)|0,B=B+Math.imul(Ae,B0)|0,x=x+Math.imul(re,s0)|0,g=g+Math.imul(re,X0)|0,g=g+Math.imul(ie,s0)|0,B=B+Math.imul(ie,X0)|0,x=x+Math.imul(ne,l0)|0,g=g+Math.imul(ne,K0)|0,g=g+Math.imul(ue,l0)|0,B=B+Math.imul(ue,K0)|0,x=x+Math.imul(U,p0)|0,g=g+Math.imul(U,et)|0,g=g+Math.imul(J,p0)|0,B=B+Math.imul(J,et)|0;var za=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(za>>>26)|0,za&=67108863,x=Math.imul(Se,_e),g=Math.imul(Se,ze),g=g+Math.imul(Qe,_e)|0,B=Math.imul(Qe,ze),x=x+Math.imul(he,Ue)|0,g=g+Math.imul(he,b0)|0,g=g+Math.imul(Te,Ue)|0,B=B+Math.imul(Te,b0)|0,x=x+Math.imul(Ze,$e)|0,g=g+Math.imul(Ze,M0)|0,g=g+Math.imul(I0,$e)|0,B=B+Math.imul(I0,M0)|0,x=x+Math.imul(He,t0)|0,g=g+Math.imul(He,j0)|0,g=g+Math.imul(_0,t0)|0,B=B+Math.imul(_0,j0)|0,x=x+Math.imul(Be,Ke)|0,g=g+Math.imul(Be,B0)|0,g=g+Math.imul(c0,Ke)|0,B=B+Math.imul(c0,B0)|0,x=x+Math.imul(de,s0)|0,g=g+Math.imul(de,X0)|0,g=g+Math.imul(Ae,s0)|0,B=B+Math.imul(Ae,X0)|0,x=x+Math.imul(re,l0)|0,g=g+Math.imul(re,K0)|0,g=g+Math.imul(ie,l0)|0,B=B+Math.imul(ie,K0)|0,x=x+Math.imul(ne,p0)|0,g=g+Math.imul(ne,et)|0,g=g+Math.imul(ue,p0)|0,B=B+Math.imul(ue,et)|0;var hr=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(hr>>>26)|0,hr&=67108863,x=Math.imul(Se,Ue),g=Math.imul(Se,b0),g=g+Math.imul(Qe,Ue)|0,B=Math.imul(Qe,b0),x=x+Math.imul(he,$e)|0,g=g+Math.imul(he,M0)|0,g=g+Math.imul(Te,$e)|0,B=B+Math.imul(Te,M0)|0,x=x+Math.imul(Ze,t0)|0,g=g+Math.imul(Ze,j0)|0,g=g+Math.imul(I0,t0)|0,B=B+Math.imul(I0,j0)|0,x=x+Math.imul(He,Ke)|0,g=g+Math.imul(He,B0)|0,g=g+Math.imul(_0,Ke)|0,B=B+Math.imul(_0,B0)|0,x=x+Math.imul(Be,s0)|0,g=g+Math.imul(Be,X0)|0,g=g+Math.imul(c0,s0)|0,B=B+Math.imul(c0,X0)|0,x=x+Math.imul(de,l0)|0,g=g+Math.imul(de,K0)|0,g=g+Math.imul(Ae,l0)|0,B=B+Math.imul(Ae,K0)|0,x=x+Math.imul(re,p0)|0,g=g+Math.imul(re,et)|0,g=g+Math.imul(ie,p0)|0,B=B+Math.imul(ie,et)|0;var ar=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(ar>>>26)|0,ar&=67108863,x=Math.imul(Se,$e),g=Math.imul(Se,M0),g=g+Math.imul(Qe,$e)|0,B=Math.imul(Qe,M0),x=x+Math.imul(he,t0)|0,g=g+Math.imul(he,j0)|0,g=g+Math.imul(Te,t0)|0,B=B+Math.imul(Te,j0)|0,x=x+Math.imul(Ze,Ke)|0,g=g+Math.imul(Ze,B0)|0,g=g+Math.imul(I0,Ke)|0,B=B+Math.imul(I0,B0)|0,x=x+Math.imul(He,s0)|0,g=g+Math.imul(He,X0)|0,g=g+Math.imul(_0,s0)|0,B=B+Math.imul(_0,X0)|0,x=x+Math.imul(Be,l0)|0,g=g+Math.imul(Be,K0)|0,g=g+Math.imul(c0,l0)|0,B=B+Math.imul(c0,K0)|0,x=x+Math.imul(de,p0)|0,g=g+Math.imul(de,et)|0,g=g+Math.imul(Ae,p0)|0,B=B+Math.imul(Ae,et)|0;var Cr=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,x=Math.imul(Se,t0),g=Math.imul(Se,j0),g=g+Math.imul(Qe,t0)|0,B=Math.imul(Qe,j0),x=x+Math.imul(he,Ke)|0,g=g+Math.imul(he,B0)|0,g=g+Math.imul(Te,Ke)|0,B=B+Math.imul(Te,B0)|0,x=x+Math.imul(Ze,s0)|0,g=g+Math.imul(Ze,X0)|0,g=g+Math.imul(I0,s0)|0,B=B+Math.imul(I0,X0)|0,x=x+Math.imul(He,l0)|0,g=g+Math.imul(He,K0)|0,g=g+Math.imul(_0,l0)|0,B=B+Math.imul(_0,K0)|0,x=x+Math.imul(Be,p0)|0,g=g+Math.imul(Be,et)|0,g=g+Math.imul(c0,p0)|0,B=B+Math.imul(c0,et)|0;var Jr=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Jr>>>26)|0,Jr&=67108863,x=Math.imul(Se,Ke),g=Math.imul(Se,B0),g=g+Math.imul(Qe,Ke)|0,B=Math.imul(Qe,B0),x=x+Math.imul(he,s0)|0,g=g+Math.imul(he,X0)|0,g=g+Math.imul(Te,s0)|0,B=B+Math.imul(Te,X0)|0,x=x+Math.imul(Ze,l0)|0,g=g+Math.imul(Ze,K0)|0,g=g+Math.imul(I0,l0)|0,B=B+Math.imul(I0,K0)|0,x=x+Math.imul(He,p0)|0,g=g+Math.imul(He,et)|0,g=g+Math.imul(_0,p0)|0,B=B+Math.imul(_0,et)|0;var rr=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(rr>>>26)|0,rr&=67108863,x=Math.imul(Se,s0),g=Math.imul(Se,X0),g=g+Math.imul(Qe,s0)|0,B=Math.imul(Qe,X0),x=x+Math.imul(he,l0)|0,g=g+Math.imul(he,K0)|0,g=g+Math.imul(Te,l0)|0,B=B+Math.imul(Te,K0)|0,x=x+Math.imul(Ze,p0)|0,g=g+Math.imul(Ze,et)|0,g=g+Math.imul(I0,p0)|0,B=B+Math.imul(I0,et)|0;var of=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(of>>>26)|0,of&=67108863,x=Math.imul(Se,l0),g=Math.imul(Se,K0),g=g+Math.imul(Qe,l0)|0,B=Math.imul(Qe,K0),x=x+Math.imul(he,p0)|0,g=g+Math.imul(he,et)|0,g=g+Math.imul(Te,p0)|0,B=B+Math.imul(Te,et)|0;var jf=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(jf>>>26)|0,jf&=67108863,x=Math.imul(Se,p0),g=Math.imul(Se,et),g=g+Math.imul(Qe,p0)|0,B=Math.imul(Qe,et);var Gs=(L+x|0)+((g&8191)<<13)|0;return L=(B+(g>>>13)|0)+(Gs>>>26)|0,Gs&=67108863,P[0]=Et,P[1]=$0,P[2]=Tt,P[3]=Pn,P[4]=Ln,P[5]=Fn,P[6]=Nn,P[7]=On,P[8]=Ha,P[9]=pr,P[10]=za,P[11]=hr,P[12]=ar,P[13]=Cr,P[14]=Jr,P[15]=rr,P[16]=of,P[17]=jf,P[18]=Gs,L!==0&&(P[19]=L,w.length++),w};Math.imul||(v=y);function S(R,T,N){N.negative=T.negative^R.negative,N.length=R.length+T.length;for(var w=0,m=0,A=0;A>>26)|0,m+=P>>>26,P&=67108863}N.words[A]=L,w=P,P=m}return w!==0?N.words[A]=w:N.length--,N.strip()}function O(R,T,N){var w=new F;return w.mulp(R,T,N)}r.prototype.mulTo=function(T,N){var w,m=this.length+T.length;return this.length===10&&T.length===10?w=v(this,T,N):m<63?w=y(this,T,N):m<1024?w=S(this,T,N):w=O(this,T,N),w};function F(R,T){this.x=R,this.y=T}F.prototype.makeRBT=function(T){for(var N=new Array(T),w=r.prototype._countBits(T)-1,m=0;m>=1;return m},F.prototype.permute=function(T,N,w,m,A,P){for(var L=0;L>>1)A++;return 1<>>13,w[2*P+1]=A&8191,A=A>>>13;for(P=2*N;P>=26,N+=m/67108864|0,N+=A>>>26,this.words[w]=A&67108863}return N!==0&&(this.words[w]=N,this.length++),this},r.prototype.muln=function(T){return this.clone().imuln(T)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(T){var N=h(T);if(N.length===0)return new r(1);for(var w=this,m=0;m=0);var N=T%26,w=(T-N)/26,m=67108863>>>26-N<<26-N,A;if(N!==0){var P=0;for(A=0;A>>26-N}P&&(this.words[A]=P,this.length++)}if(w!==0){for(A=this.length-1;A>=0;A--)this.words[A+w]=this.words[A];for(A=0;A=0);var m;N?m=(N-N%26)/26:m=0;var A=T%26,P=Math.min((T-A)/26,this.length),L=67108863^67108863>>>A<P)for(this.length-=P,g=0;g=0&&(B!==0||g>=m);g--){var M=this.words[g]|0;this.words[g]=B<<26-A|M>>>A,B=M&L}return x&&B!==0&&(x.words[x.length++]=B),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},r.prototype.ishrn=function(T,N,w){return n(this.negative===0),this.iushrn(T,N,w)},r.prototype.shln=function(T){return this.clone().ishln(T)},r.prototype.ushln=function(T){return this.clone().iushln(T)},r.prototype.shrn=function(T){return this.clone().ishrn(T)},r.prototype.ushrn=function(T){return this.clone().iushrn(T)},r.prototype.testn=function(T){n(typeof T=="number"&&T>=0);var N=T%26,w=(T-N)/26,m=1<=0);var N=T%26,w=(T-N)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=w)return this;if(N!==0&&w++,this.length=Math.min(w,this.length),N!==0){var m=67108863^67108863>>>N<=67108864;N++)this.words[N]-=67108864,N===this.length-1?this.words[N+1]=1:this.words[N+1]++;return this.length=Math.max(this.length,N+1),this},r.prototype.isubn=function(T){if(n(typeof T=="number"),n(T<67108864),T<0)return this.iaddn(-T);if(this.negative!==0)return this.negative=0,this.iaddn(T),this.negative=1,this;if(this.words[0]-=T,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var N=0;N>26)-(x/67108864|0),this.words[A+w]=P&67108863}for(;A>26,this.words[A+w]=P&67108863;if(L===0)return this.strip();for(n(L===-1),L=0,A=0;A>26,this.words[A]=P&67108863;return this.negative=1,this.strip()},r.prototype._wordDiv=function(T,N){var w=this.length-T.length,m=this.clone(),A=T,P=A.words[A.length-1]|0,L=this._countBits(P);w=26-L,w!==0&&(A=A.ushln(w),m.iushln(w),P=A.words[A.length-1]|0);var x=m.length-A.length,g;if(N!=="mod"){g=new r(null),g.length=x+1,g.words=new Array(g.length);for(var B=0;B=0;k--){var q=(m.words[A.length+k]|0)*67108864+(m.words[A.length+k-1]|0);for(q=Math.min(q/P|0,67108863),m._ishlnsubmul(A,q,k);m.negative!==0;)q--,m.negative=0,m._ishlnsubmul(A,1,k),m.isZero()||(m.negative^=1);g&&(g.words[k]=q)}return g&&g.strip(),m.strip(),N!=="div"&&w!==0&&m.iushrn(w),{div:g||null,mod:m}},r.prototype.divmod=function(T,N,w){if(n(!T.isZero()),this.isZero())return{div:new r(0),mod:new r(0)};var m,A,P;return this.negative!==0&&T.negative===0?(P=this.neg().divmod(T,N),N!=="mod"&&(m=P.div.neg()),N!=="div"&&(A=P.mod.neg(),w&&A.negative!==0&&A.iadd(T)),{div:m,mod:A}):this.negative===0&&T.negative!==0?(P=this.divmod(T.neg(),N),N!=="mod"&&(m=P.div.neg()),{div:m,mod:P.mod}):this.negative&T.negative?(P=this.neg().divmod(T.neg(),N),N!=="div"&&(A=P.mod.neg(),w&&A.negative!==0&&A.isub(T)),{div:P.div,mod:A}):T.length>this.length||this.cmp(T)<0?{div:new r(0),mod:this}:T.length===1?N==="div"?{div:this.divn(T.words[0]),mod:null}:N==="mod"?{div:null,mod:new r(this.modn(T.words[0]))}:{div:this.divn(T.words[0]),mod:new r(this.modn(T.words[0]))}:this._wordDiv(T,N)},r.prototype.div=function(T){return this.divmod(T,"div",!1).div},r.prototype.mod=function(T){return this.divmod(T,"mod",!1).mod},r.prototype.umod=function(T){return this.divmod(T,"mod",!0).mod},r.prototype.divRound=function(T){var N=this.divmod(T);if(N.mod.isZero())return N.div;var w=N.div.negative!==0?N.mod.isub(T):N.mod,m=T.ushrn(1),A=T.andln(1),P=w.cmp(m);return P<0||A===1&&P===0?N.div:N.div.negative!==0?N.div.isubn(1):N.div.iaddn(1)},r.prototype.modn=function(T){n(T<=67108863);for(var N=(1<<26)%T,w=0,m=this.length-1;m>=0;m--)w=(N*w+(this.words[m]|0))%T;return w},r.prototype.idivn=function(T){n(T<=67108863);for(var N=0,w=this.length-1;w>=0;w--){var m=(this.words[w]|0)+N*67108864;this.words[w]=m/T|0,N=m%T}return this.strip()},r.prototype.divn=function(T){return this.clone().idivn(T)},r.prototype.egcd=function(T){n(T.negative===0),n(!T.isZero());var N=this,w=T.clone();N.negative!==0?N=N.umod(T):N=N.clone();for(var m=new r(1),A=new r(0),P=new r(0),L=new r(1),x=0;N.isEven()&&w.isEven();)N.iushrn(1),w.iushrn(1),++x;for(var g=w.clone(),B=N.clone();!N.isZero();){for(var M=0,k=1;!(N.words[0]&k)&&M<26;++M,k<<=1);if(M>0)for(N.iushrn(M);M-- >0;)(m.isOdd()||A.isOdd())&&(m.iadd(g),A.isub(B)),m.iushrn(1),A.iushrn(1);for(var q=0,ee=1;!(w.words[0]&ee)&&q<26;++q,ee<<=1);if(q>0)for(w.iushrn(q);q-- >0;)(P.isOdd()||L.isOdd())&&(P.iadd(g),L.isub(B)),P.iushrn(1),L.iushrn(1);N.cmp(w)>=0?(N.isub(w),m.isub(P),A.isub(L)):(w.isub(N),P.isub(m),L.isub(A))}return{a:P,b:L,gcd:w.iushln(x)}},r.prototype._invmp=function(T){n(T.negative===0),n(!T.isZero());var N=this,w=T.clone();N.negative!==0?N=N.umod(T):N=N.clone();for(var m=new r(1),A=new r(0),P=w.clone();N.cmpn(1)>0&&w.cmpn(1)>0;){for(var L=0,x=1;!(N.words[0]&x)&&L<26;++L,x<<=1);if(L>0)for(N.iushrn(L);L-- >0;)m.isOdd()&&m.iadd(P),m.iushrn(1);for(var g=0,B=1;!(w.words[0]&B)&&g<26;++g,B<<=1);if(g>0)for(w.iushrn(g);g-- >0;)A.isOdd()&&A.iadd(P),A.iushrn(1);N.cmp(w)>=0?(N.isub(w),m.isub(A)):(w.isub(N),A.isub(m))}var M;return N.cmpn(1)===0?M=m:M=A,M.cmpn(0)<0&&M.iadd(T),M},r.prototype.gcd=function(T){if(this.isZero())return T.abs();if(T.isZero())return this.abs();var N=this.clone(),w=T.clone();N.negative=0,w.negative=0;for(var m=0;N.isEven()&&w.isEven();m++)N.iushrn(1),w.iushrn(1);do{for(;N.isEven();)N.iushrn(1);for(;w.isEven();)w.iushrn(1);var A=N.cmp(w);if(A<0){var P=N;N=w,w=P}else if(A===0||w.cmpn(1)===0)break;N.isub(w)}while(!0);return w.iushln(m)},r.prototype.invm=function(T){return this.egcd(T).a.umod(T)},r.prototype.isEven=function(){return(this.words[0]&1)===0},r.prototype.isOdd=function(){return(this.words[0]&1)===1},r.prototype.andln=function(T){return this.words[0]&T},r.prototype.bincn=function(T){n(typeof T=="number");var N=T%26,w=(T-N)/26,m=1<>>26,L&=67108863,this.words[P]=L}return A!==0&&(this.words[P]=A,this.length++),this},r.prototype.isZero=function(){return this.length===1&&this.words[0]===0},r.prototype.cmpn=function(T){var N=T<0;if(this.negative!==0&&!N)return-1;if(this.negative===0&&N)return 1;this.strip();var w;if(this.length>1)w=1;else{N&&(T=-T),n(T<=67108863,"Number is too big");var m=this.words[0]|0;w=m===T?0:mT.length)return 1;if(this.length=0;w--){var m=this.words[w]|0,A=T.words[w]|0;if(m!==A){mA&&(N=1);break}}return N},r.prototype.gtn=function(T){return this.cmpn(T)===1},r.prototype.gt=function(T){return this.cmp(T)===1},r.prototype.gten=function(T){return this.cmpn(T)>=0},r.prototype.gte=function(T){return this.cmp(T)>=0},r.prototype.ltn=function(T){return this.cmpn(T)===-1},r.prototype.lt=function(T){return this.cmp(T)===-1},r.prototype.lten=function(T){return this.cmpn(T)<=0},r.prototype.lte=function(T){return this.cmp(T)<=0},r.prototype.eqn=function(T){return this.cmpn(T)===0},r.prototype.eq=function(T){return this.cmp(T)===0},r.red=function(T){return new K(T)},r.prototype.toRed=function(T){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),T.convertTo(this)._forceRed(T)},r.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(T){return this.red=T,this},r.prototype.forceRed=function(T){return n(!this.red,"Already a number in reduction context"),this._forceRed(T)},r.prototype.redAdd=function(T){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,T)},r.prototype.redIAdd=function(T){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,T)},r.prototype.redSub=function(T){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,T)},r.prototype.redISub=function(T){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,T)},r.prototype.redShl=function(T){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,T)},r.prototype.redMul=function(T){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,T),this.red.mul(this,T)},r.prototype.redIMul=function(T){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,T),this.red.imul(this,T)},r.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},r.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},r.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},r.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},r.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},r.prototype.redPow=function(T){return n(this.red&&!T.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,T)};var z={k256:null,p224:null,p192:null,p25519:null};function W(R,T){this.name=R,this.p=new r(T,16),this.n=this.p.bitLength(),this.k=new r(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}W.prototype._tmp=function(){var T=new r(null);return T.words=new Array(Math.ceil(this.n/13)),T},W.prototype.ireduce=function(T){var N=T,w;do this.split(N,this.tmp),N=this.imulK(N),N=N.iadd(this.tmp),w=N.bitLength();while(w>this.n);var m=w0?N.isub(this.p):N.strip!==void 0?N.strip():N._strip(),N},W.prototype.split=function(T,N){T.iushrn(this.n,0,N)},W.prototype.imulK=function(T){return T.imul(this.k)};function j(){W.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(j,W),j.prototype.split=function(T,N){for(var w=4194303,m=Math.min(T.length,9),A=0;A>>22,P=L}P>>>=22,T.words[A-10]=P,P===0&&T.length>10?T.length-=10:T.length-=9},j.prototype.imulK=function(T){T.words[T.length]=0,T.words[T.length+1]=0,T.length+=2;for(var N=0,w=0;w>>=26,T.words[w]=A,N=m}return N!==0&&(T.words[T.length++]=N),T},r._prime=function(T){if(z[T])return z[T];var N;if(T==="k256")N=new j;else if(T==="p224")N=new Q;else if(T==="p192")N=new V;else if(T==="p25519")N=new X;else throw new Error("Unknown prime "+T);return z[T]=N,N};function K(R){if(typeof R=="string"){var T=r._prime(R);this.m=T.p,this.prime=T}else n(R.gtn(1),"modulus must be greater than 1"),this.m=R,this.prime=null}K.prototype._verify1=function(T){n(T.negative===0,"red works only with positives"),n(T.red,"red works only with red numbers")},K.prototype._verify2=function(T,N){n((T.negative|N.negative)===0,"red works only with positives"),n(T.red&&T.red===N.red,"red works only with red numbers")},K.prototype.imod=function(T){return this.prime?this.prime.ireduce(T)._forceRed(this):T.umod(this.m)._forceRed(this)},K.prototype.neg=function(T){return T.isZero()?T.clone():this.m.sub(T)._forceRed(this)},K.prototype.add=function(T,N){this._verify2(T,N);var w=T.add(N);return w.cmp(this.m)>=0&&w.isub(this.m),w._forceRed(this)},K.prototype.iadd=function(T,N){this._verify2(T,N);var w=T.iadd(N);return w.cmp(this.m)>=0&&w.isub(this.m),w},K.prototype.sub=function(T,N){this._verify2(T,N);var w=T.sub(N);return w.cmpn(0)<0&&w.iadd(this.m),w._forceRed(this)},K.prototype.isub=function(T,N){this._verify2(T,N);var w=T.isub(N);return w.cmpn(0)<0&&w.iadd(this.m),w},K.prototype.shl=function(T,N){return this._verify1(T),this.imod(T.ushln(N))},K.prototype.imul=function(T,N){return this._verify2(T,N),this.imod(T.imul(N))},K.prototype.mul=function(T,N){return this._verify2(T,N),this.imod(T.mul(N))},K.prototype.isqr=function(T){return this.imul(T,T.clone())},K.prototype.sqr=function(T){return this.mul(T,T)},K.prototype.sqrt=function(T){if(T.isZero())return T.clone();var N=this.m.andln(3);if(n(N%2===1),N===3){var w=this.m.add(new r(1)).iushrn(2);return this.pow(T,w)}for(var m=this.m.subn(1),A=0;!m.isZero()&&m.andln(1)===0;)A++,m.iushrn(1);n(!m.isZero());var P=new r(1).toRed(this),L=P.redNeg(),x=this.m.subn(1).iushrn(1),g=this.m.bitLength();for(g=new r(2*g*g).toRed(this);this.pow(g,x).cmp(L)!==0;)g.redIAdd(L);for(var B=this.pow(g,m),M=this.pow(T,m.addn(1).iushrn(1)),k=this.pow(T,m),q=A;k.cmp(P)!==0;){for(var ee=k,U=0;ee.cmp(P)!==0;U++)ee=ee.redSqr();n(U=0;A--){for(var B=N.words[A],M=g-1;M>=0;M--){var k=B>>M&1;if(P!==m[0]&&(P=this.sqr(P)),k===0&&L===0){x=0;continue}L<<=1,L|=k,x++,!(x!==w&&(A!==0||M!==0))&&(P=this.mul(P,m[L]),x=0,L=0)}g=26}return P},K.prototype.convertTo=function(T){var N=T.umod(this.m);return N===T?N.clone():N},K.prototype.convertFrom=function(T){var N=T.clone();return N.red=null,N},r.mont=function(T){return new G(T)};function G(R){K.call(this,R),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new r(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(G,K),G.prototype.convertTo=function(T){return this.imod(T.ushln(this.shift))},G.prototype.convertFrom=function(T){var N=this.imod(T.mul(this.rinv));return N.red=null,N},G.prototype.imul=function(T,N){if(T.isZero()||N.isZero())return T.words[0]=0,T.length=1,T;var w=T.imul(N),m=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=w.isub(m).iushrn(this.shift),P=A;return A.cmp(this.m)>=0?P=A.isub(this.m):A.cmpn(0)<0&&(P=A.iadd(this.m)),P._forceRed(this)},G.prototype.mul=function(T,N){if(T.isZero()||N.isZero())return new r(0)._forceRed(this);var w=T.mul(N),m=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=w.isub(m).iushrn(this.shift),P=A;return A.cmp(this.m)>=0?P=A.isub(this.m):A.cmpn(0)<0&&(P=A.iadd(this.m)),P._forceRed(this)},G.prototype.invm=function(T){var N=this.imod(T._invmp(this.m).mul(this.r2));return N._forceRed(this)}})(typeof ste>"u"||ste,lxe)});var kc=D((wOn,pxe)=>{u();p();pxe.exports=uxe;function uxe(t,e){if(!t)throw new Error(e||"Assertion failed")}uxe.equal=function(e,n,a){if(e!=n)throw new Error(a||"Assertion failed: "+e+" != "+n)}});var AN=D(mxe=>{"use strict";u();p();var _N=mxe;function OF0(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if(typeof t!="string"){for(var a=0;a>8,i=r&255;f?n.push(f,i):n.push(i)}return n}_N.toArray=OF0;function hxe(t){return t.length===1?"0"+t:t}_N.zero2=hxe;function bxe(t){for(var e="",n=0;n{"use strict";u();p();var el=yxe,UF0=kr(),HF0=kc(),CN=AN();el.assert=HF0;el.toArray=CN.toArray;el.zero2=CN.zero2;el.toHex=CN.toHex;el.encode=CN.encode;function zF0(t,e,n){var a=new Array(Math.max(t.bitLength(),n)+1);a.fill(0);for(var r=1<(r>>1)-1?s=(r>>1)-o:s=o,f.isubn(s)):s=0,a[i]=s,f.iushrn(1)}return a}el.getNAF=zF0;function WF0(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var a=0,r=0,f;t.cmpn(-a)>0||e.cmpn(-r)>0;){var i=t.andln(3)+a&3,s=e.andln(3)+r&3;i===3&&(i=-1),s===3&&(s=-1);var o;i&1?(f=t.andln(7)+a&7,(f===3||f===5)&&s===2?o=-i:o=i):o=0,n[0].push(o);var c;s&1?(f=e.andln(7)+r&7,(f===3||f===5)&&i===2?c=-s:c=s):c=0,n[1].push(c),2*a===o+1&&(a=1-a),2*r===c+1&&(r=1-r),t.iushrn(1),e.iushrn(1)}return n}el.getJSF=WF0;function qF0(t,e,n){var a="_"+e;t.prototype[e]=function(){return this[a]!==void 0?this[a]:this[a]=n.call(this)}}el.cachedProperty=qF0;function jF0(t){return typeof t=="string"?el.toArray(t,"hex"):t}el.parseBytes=jF0;function GF0(t){return new UF0(t,"hex","le")}el.intFromLE=GF0});var En=D((ote,vxe)=>{u();p();var IN=Kf(),v2=IN.Buffer;function gxe(t,e){for(var n in t)e[n]=t[n]}v2.from&&v2.alloc&&v2.allocUnsafe&&v2.allocUnsafeSlow?vxe.exports=IN:(gxe(IN,ote),ote.Buffer=Cy);function Cy(t,e,n){return v2(t,e,n)}Cy.prototype=Object.create(v2.prototype);gxe(v2,Cy);Cy.from=function(t,e,n){if(typeof t=="number")throw new TypeError("Argument must not be a number");return v2(t,e,n)};Cy.alloc=function(t,e,n){if(typeof t!="number")throw new TypeError("Argument must be a number");var a=v2(t);return e!==void 0?typeof n=="string"?a.fill(e,n):a.fill(e):a.fill(0),a};Cy.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return v2(t)};Cy.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return IN.SlowBuffer(t)}});var f8=D((MOn,dte)=>{"use strict";u();p();var cte=65536,KF0=4294967295;function QF0(){throw new Error(`Secure random number generation is not supported by this browser. -Use Chrome, Firefox or Internet Explorer 11`)}var VF0=En().Buffer,kN=global.crypto||global.msCrypto;kN&&kN.getRandomValues?dte.exports=YF0:dte.exports=QF0;function YF0(t,e){if(t>KF0)throw new RangeError("requested too many random bytes");var n=VF0.allocUnsafe(t);if(t>0)if(t>cte)for(var a=0;a{u();p();typeof Object.create=="function"?lte.exports=function(e,n){n&&(e.super_=n,e.prototype=Object.create(n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:lte.exports=function(e,n){if(n){e.super_=n;var a=function(){};a.prototype=n.prototype,e.prototype=new a,e.prototype.constructor=e}}});var Nr=D((NOn,ute)=>{"use strict";u();p();var bw=typeof Reflect=="object"?Reflect:null,wxe=bw&&typeof bw.apply=="function"?bw.apply:function(e,n,a){return Function.prototype.apply.call(e,n,a)},SN;bw&&typeof bw.ownKeys=="function"?SN=bw.ownKeys:Object.getOwnPropertySymbols?SN=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:SN=function(e){return Object.getOwnPropertyNames(e)};function $F0(t){console&&console.warn&&console.warn(t)}var xxe=Number.isNaN||function(e){return e!==e};function br(){br.init.call(this)}ute.exports=br;ute.exports.once=eN0;br.EventEmitter=br;br.prototype._events=void 0;br.prototype._eventsCount=0;br.prototype._maxListeners=void 0;var Txe=10;function RN(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(br,"defaultMaxListeners",{enumerable:!0,get:function(){return Txe},set:function(t){if(typeof t!="number"||t<0||xxe(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");Txe=t}});br.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};br.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||xxe(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function Exe(t){return t._maxListeners===void 0?br.defaultMaxListeners:t._maxListeners}br.prototype.getMaxListeners=function(){return Exe(this)};br.prototype.emit=function(e){for(var n=[],a=1;a0&&(i=n[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var o=f[e];if(o===void 0)return!1;if(typeof o=="function")wxe(o,this,n);else for(var c=o.length,d=kxe(o,c),a=0;a0&&i.length>r&&!i.warned){i.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=t,s.type=e,s.count=i.length,$F0(s)}return t}br.prototype.addListener=function(e,n){return _xe(this,e,n,!1)};br.prototype.on=br.prototype.addListener;br.prototype.prependListener=function(e,n){return _xe(this,e,n,!0)};function JF0(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Axe(t,e,n){var a={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},r=JF0.bind(a);return r.listener=n,a.wrapFn=r,r}br.prototype.once=function(e,n){return RN(n),this.on(e,Axe(this,e,n)),this};br.prototype.prependOnceListener=function(e,n){return RN(n),this.prependListener(e,Axe(this,e,n)),this};br.prototype.removeListener=function(e,n){var a,r,f,i,s;if(RN(n),r=this._events,r===void 0)return this;if(a=r[e],a===void 0)return this;if(a===n||a.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,a.listener||n));else if(typeof a!="function"){for(f=-1,i=a.length-1;i>=0;i--)if(a[i]===n||a[i].listener===n){s=a[i].listener,f=i;break}if(f<0)return this;f===0?a.shift():XF0(a,f),a.length===1&&(r[e]=a[0]),r.removeListener!==void 0&&this.emit("removeListener",e,s||n)}return this};br.prototype.off=br.prototype.removeListener;br.prototype.removeAllListeners=function(e){var n,a,r;if(a=this._events,a===void 0)return this;if(a.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):a[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete a[e]),this;if(arguments.length===0){var f=Object.keys(a),i;for(r=0;r=0;r--)this.removeListener(e,n[r]);return this};function Cxe(t,e,n){var a=t._events;if(a===void 0)return[];var r=a[e];return r===void 0?[]:typeof r=="function"?n?[r.listener||r]:[r]:n?ZF0(r):kxe(r,r.length)}br.prototype.listeners=function(e){return Cxe(this,e,!0)};br.prototype.rawListeners=function(e){return Cxe(this,e,!1)};br.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):Ixe.call(t,e)};br.prototype.listenerCount=Ixe;function Ixe(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}br.prototype.eventNames=function(){return this._eventsCount>0?SN(this._events):[]};function kxe(t,e){for(var n=new Array(e),a=0;a{u();p();Rxe.exports=Nr().EventEmitter});var MN=D((qOn,Mxe)=>{"use strict";u();p();Mxe.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var r=42;e[n]=r;for(n in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var f=Object.getOwnPropertySymbols(e);if(f.length!==1||f[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(e,n);if(i.value!==r||i.enumerable!==!0)return!1}return!0}});var BN=D((KOn,Bxe)=>{"use strict";u();p();var nN0=MN();Bxe.exports=function(){return nN0()&&!!Symbol.toStringTag}});var Pxe=D((YOn,Dxe)=>{"use strict";u();p();Dxe.exports=Error});var Fxe=D((XOn,Lxe)=>{"use strict";u();p();Lxe.exports=EvalError});var Oxe=D((tUn,Nxe)=>{"use strict";u();p();Nxe.exports=RangeError});var Hxe=D((rUn,Uxe)=>{"use strict";u();p();Uxe.exports=ReferenceError});var hte=D((sUn,zxe)=>{"use strict";u();p();zxe.exports=SyntaxError});var gI=D((dUn,Wxe)=>{"use strict";u();p();Wxe.exports=TypeError});var jxe=D((pUn,qxe)=>{"use strict";u();p();qxe.exports=URIError});var Qxe=D((mUn,Kxe)=>{"use strict";u();p();var Gxe=typeof Symbol<"u"&&Symbol,aN0=MN();Kxe.exports=function(){return typeof Gxe!="function"||typeof Symbol!="function"||typeof Gxe("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:aN0()}});var Yxe=D((vUn,Vxe)=>{"use strict";u();p();var bte={__proto__:null,foo:{}},rN0=Object;Vxe.exports=function(){return{__proto__:bte}.foo===bte.foo&&!(bte instanceof rN0)}});var Xxe=D((xUn,Jxe)=>{"use strict";u();p();var fN0="Function.prototype.bind called on incompatible ",iN0=Object.prototype.toString,sN0=Math.max,oN0="[object Function]",$xe=function(e,n){for(var a=[],r=0;r{"use strict";u();p();var lN0=Xxe();Zxe.exports=Function.prototype.bind||lN0});var tEe=D((kUn,eEe)=>{"use strict";u();p();var uN0=Function.prototype.call,pN0=Object.prototype.hasOwnProperty,hN0=DN();eEe.exports=hN0.call(uN0,pN0)});var ww=D((MUn,iEe)=>{"use strict";u();p();var Xn,bN0=Pxe(),mN0=Fxe(),yN0=Oxe(),gN0=Hxe(),vw=hte(),gw=gI(),vN0=jxe(),fEe=Function,mte=function(t){try{return fEe('"use strict"; return ('+t+").constructor;")()}catch{}},Iy=Object.getOwnPropertyDescriptor;if(Iy)try{Iy({},"")}catch{Iy=null}var yte=function(){throw new gw},wN0=Iy?function(){try{return arguments.callee,yte}catch{try{return Iy(arguments,"callee").get}catch{return yte}}}():yte,mw=Qxe()(),TN0=Yxe()(),hs=Object.getPrototypeOf||(TN0?function(t){return t.__proto__}:null),yw={},xN0=typeof Uint8Array>"u"||!hs?Xn:hs(Uint8Array),ky={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Xn:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Xn:ArrayBuffer,"%ArrayIteratorPrototype%":mw&&hs?hs([][Symbol.iterator]()):Xn,"%AsyncFromSyncIteratorPrototype%":Xn,"%AsyncFunction%":yw,"%AsyncGenerator%":yw,"%AsyncGeneratorFunction%":yw,"%AsyncIteratorPrototype%":yw,"%Atomics%":typeof Atomics>"u"?Xn:Atomics,"%BigInt%":typeof BigInt>"u"?Xn:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Xn:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Xn:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Xn:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":bN0,"%eval%":eval,"%EvalError%":mN0,"%Float32Array%":typeof Float32Array>"u"?Xn:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Xn:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Xn:FinalizationRegistry,"%Function%":fEe,"%GeneratorFunction%":yw,"%Int8Array%":typeof Int8Array>"u"?Xn:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Xn:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Xn:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":mw&&hs?hs(hs([][Symbol.iterator]())):Xn,"%JSON%":typeof JSON=="object"?JSON:Xn,"%Map%":typeof Map>"u"?Xn:Map,"%MapIteratorPrototype%":typeof Map>"u"||!mw||!hs?Xn:hs(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Xn:Promise,"%Proxy%":typeof Proxy>"u"?Xn:Proxy,"%RangeError%":yN0,"%ReferenceError%":gN0,"%Reflect%":typeof Reflect>"u"?Xn:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Xn:Set,"%SetIteratorPrototype%":typeof Set>"u"||!mw||!hs?Xn:hs(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Xn:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":mw&&hs?hs(""[Symbol.iterator]()):Xn,"%Symbol%":mw?Symbol:Xn,"%SyntaxError%":vw,"%ThrowTypeError%":wN0,"%TypedArray%":xN0,"%TypeError%":gw,"%Uint8Array%":typeof Uint8Array>"u"?Xn:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Xn:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Xn:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Xn:Uint32Array,"%URIError%":vN0,"%WeakMap%":typeof WeakMap>"u"?Xn:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Xn:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Xn:WeakSet};if(hs)try{null.error}catch(t){nEe=hs(hs(t)),ky["%Error.prototype%"]=nEe}var nEe,EN0=function t(e){var n;if(e==="%AsyncFunction%")n=mte("async function () {}");else if(e==="%GeneratorFunction%")n=mte("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=mte("async function* () {}");else if(e==="%AsyncGenerator%"){var a=t("%AsyncGeneratorFunction%");a&&(n=a.prototype)}else if(e==="%AsyncIteratorPrototype%"){var r=t("%AsyncGenerator%");r&&hs&&(n=hs(r.prototype))}return ky[e]=n,n},aEe={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},vI=DN(),PN=tEe(),_N0=vI.call(Function.call,Array.prototype.concat),AN0=vI.call(Function.apply,Array.prototype.splice),rEe=vI.call(Function.call,String.prototype.replace),LN=vI.call(Function.call,String.prototype.slice),CN0=vI.call(Function.call,RegExp.prototype.exec),IN0=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,kN0=/\\(\\)?/g,SN0=function(e){var n=LN(e,0,1),a=LN(e,-1);if(n==="%"&&a!=="%")throw new vw("invalid intrinsic syntax, expected closing `%`");if(a==="%"&&n!=="%")throw new vw("invalid intrinsic syntax, expected opening `%`");var r=[];return rEe(e,IN0,function(f,i,s,o){r[r.length]=s?rEe(o,kN0,"$1"):i||f}),r},RN0=function(e,n){var a=e,r;if(PN(aEe,a)&&(r=aEe[a],a="%"+r[0]+"%"),PN(ky,a)){var f=ky[a];if(f===yw&&(f=EN0(a)),typeof f>"u"&&!n)throw new gw("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:a,value:f}}throw new vw("intrinsic "+e+" does not exist!")};iEe.exports=function(e,n){if(typeof e!="string"||e.length===0)throw new gw("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new gw('"allowMissing" argument must be a boolean');if(CN0(/^%?[^%]*%?$/,e)===null)throw new vw("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=SN0(e),r=a.length>0?a[0]:"",f=RN0("%"+r+"%",n),i=f.name,s=f.value,o=!1,c=f.alias;c&&(r=c[0],AN0(a,_N0([0,1],c)));for(var d=1,l=!0;d=a.length){var S=Iy(s,h);l=!!S,l&&"get"in S&&!("originalValue"in S.get)?s=S.get:s=s[h]}else l=PN(s,h),s=s[h];l&&!o&&(ky[i]=s)}}return s}});var NN=D((PUn,sEe)=>{"use strict";u();p();var MN0=ww(),FN=MN0("%Object.defineProperty%",!0)||!1;if(FN)try{FN({},"a",{value:1})}catch{FN=!1}sEe.exports=FN});var UN=D((NUn,oEe)=>{"use strict";u();p();var BN0=ww(),ON=BN0("%Object.getOwnPropertyDescriptor%",!0);if(ON)try{ON([],"length")}catch{ON=null}oEe.exports=ON});var gte=D((HUn,lEe)=>{"use strict";u();p();var cEe=NN(),DN0=hte(),Tw=gI(),dEe=UN();lEe.exports=function(e,n,a){if(!e||typeof e!="object"&&typeof e!="function")throw new Tw("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new Tw("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Tw("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Tw("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Tw("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Tw("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,f=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,o=!!dEe&&dEe(e,n);if(cEe)cEe(e,n,{configurable:i===null&&o?o.configurable:!i,enumerable:r===null&&o?o.enumerable:!r,value:a,writable:f===null&&o?o.writable:!f});else if(s||!r&&!f&&!i)e[n]=a;else throw new DN0("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var wte=D((qUn,pEe)=>{"use strict";u();p();var vte=NN(),uEe=function(){return!!vte};uEe.hasArrayLengthDefineBug=function(){if(!vte)return null;try{return vte([],"length",{value:1}).length!==1}catch{return!0}};pEe.exports=uEe});var gEe=D((KUn,yEe)=>{"use strict";u();p();var PN0=ww(),hEe=gte(),LN0=wte()(),bEe=UN(),mEe=gI(),FN0=PN0("%Math.floor%");yEe.exports=function(e,n){if(typeof e!="function")throw new mEe("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||FN0(n)!==n)throw new mEe("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],r=!0,f=!0;if("length"in e&&bEe){var i=bEe(e,"length");i&&!i.configurable&&(r=!1),i&&!i.writable&&(f=!1)}return(r||f||!a)&&(LN0?hEe(e,"length",n,!0,!0):hEe(e,"length",n)),e}});var wI=D((YUn,HN)=>{"use strict";u();p();var Tte=DN(),zN=ww(),NN0=gEe(),ON0=gI(),TEe=zN("%Function.prototype.apply%"),xEe=zN("%Function.prototype.call%"),EEe=zN("%Reflect.apply%",!0)||Tte.call(xEe,TEe),vEe=NN(),UN0=zN("%Math.max%");HN.exports=function(e){if(typeof e!="function")throw new ON0("a function is required");var n=EEe(Tte,xEe,arguments);return NN0(n,1+UN0(0,e.length-(arguments.length-1)),!0)};var wEe=function(){return EEe(Tte,TEe,arguments)};vEe?vEe(HN.exports,"apply",{value:wEe}):HN.exports.apply=wEe});var TI=D((XUn,CEe)=>{"use strict";u();p();var _Ee=ww(),AEe=wI(),HN0=AEe(_Ee("String.prototype.indexOf"));CEe.exports=function(e,n){var a=_Ee(e,!!n);return typeof a=="function"&&HN0(e,".prototype.")>-1?AEe(a):a}});var SEe=D((tHn,kEe)=>{"use strict";u();p();var zN0=BN()(),WN0=TI(),xte=WN0("Object.prototype.toString"),WN=function(e){return zN0&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:xte(e)==="[object Arguments]"},IEe=function(e){return WN(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&xte(e)!=="[object Array]"&&xte(e.callee)==="[object Function]"},qN0=function(){return WN(arguments)}();WN.isLegacyArguments=IEe;kEe.exports=qN0?WN:IEe});var BEe=D((rHn,MEe)=>{"use strict";u();p();var jN0=Object.prototype.toString,GN0=Function.prototype.toString,KN0=/^\s*(?:function)?\*/,REe=BN()(),Ete=Object.getPrototypeOf,QN0=function(){if(!REe)return!1;try{return Function("return function*() {}")()}catch{}},_te;MEe.exports=function(e){if(typeof e!="function")return!1;if(KN0.test(GN0.call(e)))return!0;if(!REe){var n=jN0.call(e);return n==="[object GeneratorFunction]"}if(!Ete)return!1;if(typeof _te>"u"){var a=QN0();_te=a?Ete(a):!1}return Ete(e)===_te}});var FEe=D((sHn,LEe)=>{"use strict";u();p();var PEe=Function.prototype.toString,xw=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Cte,qN;if(typeof xw=="function"&&typeof Object.defineProperty=="function")try{Cte=Object.defineProperty({},"length",{get:function(){throw qN}}),qN={},xw(function(){throw 42},null,Cte)}catch(t){t!==qN&&(xw=null)}else xw=null;var VN0=/^\s*class\b/,Ite=function(e){try{var n=PEe.call(e);return VN0.test(n)}catch{return!1}},Ate=function(e){try{return Ite(e)?!1:(PEe.call(e),!0)}catch{return!1}},jN=Object.prototype.toString,YN0="[object Object]",$N0="[object Function]",JN0="[object GeneratorFunction]",XN0="[object HTMLAllCollection]",ZN0="[object HTML document.all class]",eO0="[object HTMLCollection]",tO0=typeof Symbol=="function"&&!!Symbol.toStringTag,nO0=!(0 in[,]),kte=function(){return!1};typeof document=="object"&&(DEe=document.all,jN.call(DEe)===jN.call(document.all)&&(kte=function(e){if((nO0||!e)&&(typeof e>"u"||typeof e=="object"))try{var n=jN.call(e);return(n===XN0||n===ZN0||n===eO0||n===YN0)&&e("")==null}catch{}return!1}));var DEe;LEe.exports=xw?function(e){if(kte(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{xw(e,null,Cte)}catch(n){if(n!==qN)return!1}return!Ite(e)&&Ate(e)}:function(e){if(kte(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(tO0)return Ate(e);if(Ite(e))return!1;var n=jN.call(e);return n!==$N0&&n!==JN0&&!/^\[object HTML/.test(n)?!1:Ate(e)}});var UEe=D((dHn,OEe)=>{"use strict";u();p();var aO0=FEe(),rO0=Object.prototype.toString,NEe=Object.prototype.hasOwnProperty,fO0=function(e,n,a){for(var r=0,f=e.length;r=3&&(r=a),rO0.call(e)==="[object Array]"?fO0(e,n,r):typeof e=="string"?iO0(e,n,r):sO0(e,n,r)};OEe.exports=oO0});var zEe=D((pHn,HEe)=>{"use strict";u();p();HEe.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]});var qEe=D((mHn,WEe)=>{"use strict";u();p();var Ste=zEe(),cO0=typeof globalThis>"u"?global:globalThis;WEe.exports=function(){for(var e=[],n=0;n{"use strict";u();p();var KN=UEe(),dO0=qEe(),jEe=wI(),Bte=TI(),GN=UN(),lO0=Bte("Object.prototype.toString"),KEe=BN()(),GEe=typeof globalThis>"u"?global:globalThis,Mte=dO0(),Dte=Bte("String.prototype.slice"),Rte=Object.getPrototypeOf,uO0=Bte("Array.prototype.indexOf",!0)||function(e,n){for(var a=0;a-1?n:n!=="Object"?!1:hO0(e)}return GN?pO0(e):null}});var YEe=D((xHn,VEe)=>{"use strict";u();p();var bO0=Pte();VEe.exports=function(e){return!!bO0(e)}});var c_e=D(Qn=>{"use strict";u();p();var mO0=SEe(),yO0=BEe(),tl=Pte(),$Ee=YEe();function Ew(t){return t.call.bind(t)}var JEe=typeof BigInt<"u",XEe=typeof Symbol<"u",x5=Ew(Object.prototype.toString),gO0=Ew(Number.prototype.valueOf),vO0=Ew(String.prototype.valueOf),wO0=Ew(Boolean.prototype.valueOf);JEe&&(ZEe=Ew(BigInt.prototype.valueOf));var ZEe;XEe&&(e_e=Ew(Symbol.prototype.valueOf));var e_e;function EI(t,e){if(typeof t!="object")return!1;try{return e(t),!0}catch{return!1}}Qn.isArgumentsObject=mO0;Qn.isGeneratorFunction=yO0;Qn.isTypedArray=$Ee;function TO0(t){return typeof Promise<"u"&&t instanceof Promise||t!==null&&typeof t=="object"&&typeof t.then=="function"&&typeof t.catch=="function"}Qn.isPromise=TO0;function xO0(t){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(t):$Ee(t)||n_e(t)}Qn.isArrayBufferView=xO0;function EO0(t){return tl(t)==="Uint8Array"}Qn.isUint8Array=EO0;function _O0(t){return tl(t)==="Uint8ClampedArray"}Qn.isUint8ClampedArray=_O0;function AO0(t){return tl(t)==="Uint16Array"}Qn.isUint16Array=AO0;function CO0(t){return tl(t)==="Uint32Array"}Qn.isUint32Array=CO0;function IO0(t){return tl(t)==="Int8Array"}Qn.isInt8Array=IO0;function kO0(t){return tl(t)==="Int16Array"}Qn.isInt16Array=kO0;function SO0(t){return tl(t)==="Int32Array"}Qn.isInt32Array=SO0;function RO0(t){return tl(t)==="Float32Array"}Qn.isFloat32Array=RO0;function MO0(t){return tl(t)==="Float64Array"}Qn.isFloat64Array=MO0;function BO0(t){return tl(t)==="BigInt64Array"}Qn.isBigInt64Array=BO0;function DO0(t){return tl(t)==="BigUint64Array"}Qn.isBigUint64Array=DO0;function VN(t){return x5(t)==="[object Map]"}VN.working=typeof Map<"u"&&VN(new Map);function PO0(t){return typeof Map>"u"?!1:VN.working?VN(t):t instanceof Map}Qn.isMap=PO0;function YN(t){return x5(t)==="[object Set]"}YN.working=typeof Set<"u"&&YN(new Set);function LO0(t){return typeof Set>"u"?!1:YN.working?YN(t):t instanceof Set}Qn.isSet=LO0;function $N(t){return x5(t)==="[object WeakMap]"}$N.working=typeof WeakMap<"u"&&$N(new WeakMap);function FO0(t){return typeof WeakMap>"u"?!1:$N.working?$N(t):t instanceof WeakMap}Qn.isWeakMap=FO0;function Fte(t){return x5(t)==="[object WeakSet]"}Fte.working=typeof WeakSet<"u"&&Fte(new WeakSet);function NO0(t){return Fte(t)}Qn.isWeakSet=NO0;function JN(t){return x5(t)==="[object ArrayBuffer]"}JN.working=typeof ArrayBuffer<"u"&&JN(new ArrayBuffer);function t_e(t){return typeof ArrayBuffer>"u"?!1:JN.working?JN(t):t instanceof ArrayBuffer}Qn.isArrayBuffer=t_e;function XN(t){return x5(t)==="[object DataView]"}XN.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&XN(new DataView(new ArrayBuffer(1),0,1));function n_e(t){return typeof DataView>"u"?!1:XN.working?XN(t):t instanceof DataView}Qn.isDataView=n_e;var Lte=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function xI(t){return x5(t)==="[object SharedArrayBuffer]"}function a_e(t){return typeof Lte>"u"?!1:(typeof xI.working>"u"&&(xI.working=xI(new Lte)),xI.working?xI(t):t instanceof Lte)}Qn.isSharedArrayBuffer=a_e;function OO0(t){return x5(t)==="[object AsyncFunction]"}Qn.isAsyncFunction=OO0;function UO0(t){return x5(t)==="[object Map Iterator]"}Qn.isMapIterator=UO0;function HO0(t){return x5(t)==="[object Set Iterator]"}Qn.isSetIterator=HO0;function zO0(t){return x5(t)==="[object Generator]"}Qn.isGeneratorObject=zO0;function WO0(t){return x5(t)==="[object WebAssembly.Module]"}Qn.isWebAssemblyCompiledModule=WO0;function r_e(t){return EI(t,gO0)}Qn.isNumberObject=r_e;function f_e(t){return EI(t,vO0)}Qn.isStringObject=f_e;function i_e(t){return EI(t,wO0)}Qn.isBooleanObject=i_e;function s_e(t){return JEe&&EI(t,ZEe)}Qn.isBigIntObject=s_e;function o_e(t){return XEe&&EI(t,e_e)}Qn.isSymbolObject=o_e;function qO0(t){return r_e(t)||f_e(t)||i_e(t)||s_e(t)||o_e(t)}Qn.isBoxedPrimitive=qO0;function jO0(t){return typeof Uint8Array<"u"&&(t_e(t)||a_e(t))}Qn.isAnyArrayBuffer=jO0;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(Qn,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})})});var l_e=D((kHn,d_e)=>{u();p();d_e.exports=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}});var nl=D(Vn=>{u();p();var u_e=Object.getOwnPropertyDescriptors||function(e){for(var n=Object.keys(e),a={},r=0;r=r)return s;switch(s){case"%s":return String(a[n++]);case"%d":return Number(a[n++]);case"%j":try{return JSON.stringify(a[n++])}catch{return"[Circular]"}default:return s}}),i=a[n];n"u")return function(){return Vn.deprecate(t,e).apply(this,arguments)};var n=!1;function a(){if(!n){if(E.throwDeprecation)throw new Error(e);E.traceDeprecation?console.trace(e):console.error(e),n=!0}return t.apply(this,arguments)}return a};var ZN={},p_e=/^$/;E.env.NODE_DEBUG&&(eO=E.env.NODE_DEBUG,eO=eO.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),p_e=new RegExp("^"+eO+"$","i"));var eO;Vn.debuglog=function(t){if(t=t.toUpperCase(),!ZN[t])if(p_e.test(t)){var e=E.pid;ZN[t]=function(){var n=Vn.format.apply(Vn,arguments);console.error("%s %d: %s",t,e,n)}}else ZN[t]=function(){};return ZN[t]};function A3(t,e){var n={seen:[],stylize:QO0};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Hte(e)?n.showHidden=e:e&&Vn._extend(n,e),Ry(n.showHidden)&&(n.showHidden=!1),Ry(n.depth)&&(n.depth=2),Ry(n.colors)&&(n.colors=!1),Ry(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=KO0),nO(n,t,n.depth)}Vn.inspect=A3;A3.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};A3.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function KO0(t,e){var n=A3.styles[e];return n?"\x1B["+A3.colors[n][0]+"m"+t+"\x1B["+A3.colors[n][1]+"m":t}function QO0(t,e){return t}function VO0(t){var e={};return t.forEach(function(n,a){e[n]=!0}),e}function nO(t,e,n){if(t.customInspect&&e&&tO(e.inspect)&&e.inspect!==Vn.inspect&&!(e.constructor&&e.constructor.prototype===e)){var a=e.inspect(n,t);return fO(a)||(a=nO(t,a,n)),a}var r=YO0(t,e);if(r)return r;var f=Object.keys(e),i=VO0(f);if(t.showHidden&&(f=Object.getOwnPropertyNames(e)),AI(e)&&(f.indexOf("message")>=0||f.indexOf("description")>=0))return Nte(e);if(f.length===0){if(tO(e)){var s=e.name?": "+e.name:"";return t.stylize("[Function"+s+"]","special")}if(_I(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(aO(e))return t.stylize(Date.prototype.toString.call(e),"date");if(AI(e))return Nte(e)}var o="",c=!1,d=["{","}"];if(h_e(e)&&(c=!0,d=["[","]"]),tO(e)){var l=e.name?": "+e.name:"";o=" [Function"+l+"]"}if(_I(e)&&(o=" "+RegExp.prototype.toString.call(e)),aO(e)&&(o=" "+Date.prototype.toUTCString.call(e)),AI(e)&&(o=" "+Nte(e)),f.length===0&&(!c||e.length==0))return d[0]+o+d[1];if(n<0)return _I(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var h;return c?h=$O0(t,e,n,i,f):h=f.map(function(y){return Ute(t,e,n,i,y,c)}),t.seen.pop(),JO0(h,o,d)}function YO0(t,e){if(Ry(e))return t.stylize("undefined","undefined");if(fO(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(b_e(e))return t.stylize(""+e,"number");if(Hte(e))return t.stylize(""+e,"boolean");if(rO(e))return t.stylize("null","null")}function Nte(t){return"["+Error.prototype.toString.call(t)+"]"}function $O0(t,e,n,a,r){for(var f=[],i=0,s=e.length;i{var rM0=Object.create;var eI=Object.defineProperty;var fM0=Object.getOwnPropertyDescriptor;var iM0=Object.getOwnPropertyNames;var sM0=Object.getPrototypeOf,oM0=Object.prototype.hasOwnProperty;var cM0=(t,e,n)=>e in t?eI(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Kd=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,n)=>(typeof require<"u"?require:e)[n]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var ce=(t,e)=>()=>(t&&(e=t(t=0)),e);var D=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),V0=(t,e)=>{for(var n in e)eI(t,n,{get:e[n],enumerable:!0})},hF=(t,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of iM0(e))!oM0.call(t,r)&&r!==n&&eI(t,r,{get:()=>e[r],enumerable:!(a=fM0(e,r))||a.enumerable});return t},Vi=(t,e,n)=>(hF(t,e,"default"),n&&hF(n,e,"default")),Ee=(t,e,n)=>(n=t!=null?rM0(sM0(t)):{},hF(e||!t||!t.__esModule?eI(n,"default",{value:t,enumerable:!0}):n,t)),vn=t=>hF(eI({},"__esModule",{value:!0}),t);var ae=(t,e,n)=>(cM0(t,typeof e!="symbol"?e+"":e,n),n);var E,u=ce(()=>{E={env:"production"}});var mve=D(bF=>{"use strict";u();p();bF.byteLength=uM0;bF.toByteArray=hM0;bF.fromByteArray=yM0;var f2=[],p5=[],lM0=typeof Uint8Array<"u"?Uint8Array:Array,r0e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ty=0,hve=r0e.length;ty0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");n===-1&&(n=e);var a=n===e?0:4-n%4;return[n,a]}function uM0(t){var e=bve(t),n=e[0],a=e[1];return(n+a)*3/4-a}function pM0(t,e,n){return(e+n)*3/4-n}function hM0(t){var e,n=bve(t),a=n[0],r=n[1],f=new lM0(pM0(t,a,r)),i=0,s=r>0?a-4:a,o;for(o=0;o>16&255,f[i++]=e>>8&255,f[i++]=e&255;return r===2&&(e=p5[t.charCodeAt(o)]<<2|p5[t.charCodeAt(o+1)]>>4,f[i++]=e&255),r===1&&(e=p5[t.charCodeAt(o)]<<10|p5[t.charCodeAt(o+1)]<<4|p5[t.charCodeAt(o+2)]>>2,f[i++]=e>>8&255,f[i++]=e&255),f}function bM0(t){return f2[t>>18&63]+f2[t>>12&63]+f2[t>>6&63]+f2[t&63]}function mM0(t,e,n){for(var a,r=[],f=e;fs?s:i+f));return a===1?(e=t[n-1],r.push(f2[e>>2]+f2[e<<4&63]+"==")):a===2&&(e=(t[n-2]<<8)+t[n-1],r.push(f2[e>>10]+f2[e>>4&63]+f2[e<<2&63]+"=")),r.join("")}});var yve=D(f0e=>{u();p();f0e.read=function(t,e,n,a,r){var f,i,s=r*8-a-1,o=(1<>1,d=-7,l=n?r-1:0,h=n?-1:1,y=t[e+l];for(l+=h,f=y&(1<<-d)-1,y>>=-d,d+=s;d>0;f=f*256+t[e+l],l+=h,d-=8);for(i=f&(1<<-d)-1,f>>=-d,d+=a;d>0;i=i*256+t[e+l],l+=h,d-=8);if(f===0)f=1-c;else{if(f===o)return i?NaN:(y?-1:1)*(1/0);i=i+Math.pow(2,a),f=f-c}return(y?-1:1)*i*Math.pow(2,f-a)};f0e.write=function(t,e,n,a,r,f){var i,s,o,c=f*8-r-1,d=(1<>1,h=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=a?0:f-1,v=a?1:-1,k=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,i=d):(i=Math.floor(Math.log(e)/Math.LN2),e*(o=Math.pow(2,-i))<1&&(i--,o*=2),i+l>=1?e+=h/o:e+=h*Math.pow(2,1-l),e*o>=2&&(i++,o/=2),i+l>=d?(s=0,i=d):i+l>=1?(s=(e*o-1)*Math.pow(2,r),i=i+l):(s=e*Math.pow(2,l-1)*Math.pow(2,r),i=0));r>=8;t[n+y]=s&255,y+=v,s/=256,r-=8);for(i=i<0;t[n+y]=i&255,y+=v,i/=256,c-=8);t[n+y-v]|=k*128}});var Kf=D(Pv=>{"use strict";u();p();var i0e=mve(),Dv=yve(),gve=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Pv.Buffer=n0;Pv.SlowBuffer=EM0;Pv.INSPECT_MAX_BYTES=50;var mF=2147483647;Pv.kMaxLength=mF;n0.TYPED_ARRAY_SUPPORT=gM0();!n0.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function gM0(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch{return!1}}Object.defineProperty(n0.prototype,"parent",{enumerable:!0,get:function(){if(n0.isBuffer(this))return this.buffer}});Object.defineProperty(n0.prototype,"offset",{enumerable:!0,get:function(){if(n0.isBuffer(this))return this.byteOffset}});function Kp(t){if(t>mF)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,n0.prototype),e}function n0(t,e,n){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d0e(t)}return Tve(t,e,n)}n0.poolSize=8192;function Tve(t,e,n){if(typeof t=="string")return wM0(t,e);if(ArrayBuffer.isView(t))return TM0(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(i2(t,ArrayBuffer)||t&&i2(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(i2(t,SharedArrayBuffer)||t&&i2(t.buffer,SharedArrayBuffer)))return o0e(t,e,n);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var a=t.valueOf&&t.valueOf();if(a!=null&&a!==t)return n0.from(a,e,n);var r=xM0(t);if(r)return r;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return n0.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}n0.from=function(t,e,n){return Tve(t,e,n)};Object.setPrototypeOf(n0.prototype,Uint8Array.prototype);Object.setPrototypeOf(n0,Uint8Array);function xve(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function vM0(t,e,n){return xve(t),t<=0?Kp(t):e!==void 0?typeof n=="string"?Kp(t).fill(e,n):Kp(t).fill(e):Kp(t)}n0.alloc=function(t,e,n){return vM0(t,e,n)};function d0e(t){return xve(t),Kp(t<0?0:l0e(t)|0)}n0.allocUnsafe=function(t){return d0e(t)};n0.allocUnsafeSlow=function(t){return d0e(t)};function wM0(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!n0.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var n=Eve(t,e)|0,a=Kp(n),r=a.write(t,e);return r!==n&&(a=a.slice(0,r)),a}function s0e(t){for(var e=t.length<0?0:l0e(t.length)|0,n=Kp(e),a=0;a=mF)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+mF.toString(16)+" bytes");return t|0}function EM0(t){return+t!=t&&(t=0),n0.alloc(+t)}n0.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==n0.prototype};n0.compare=function(e,n){if(i2(e,Uint8Array)&&(e=n0.from(e,e.offset,e.byteLength)),i2(n,Uint8Array)&&(n=n0.from(n,n.offset,n.byteLength)),!n0.isBuffer(e)||!n0.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===n)return 0;for(var a=e.length,r=n.length,f=0,i=Math.min(a,r);fr.length?n0.from(i).copy(r,f):Uint8Array.prototype.set.call(r,i,f);else if(n0.isBuffer(i))i.copy(r,f);else throw new TypeError('"list" argument must be an Array of Buffers');f+=i.length}return r};function Eve(t,e){if(n0.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||i2(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var n=t.length,a=arguments.length>2&&arguments[2]===!0;if(!a&&n===0)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return c0e(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Sve(t).length;default:if(r)return a?-1:c0e(t).length;e=(""+e).toLowerCase(),r=!0}}n0.byteLength=Eve;function _M0(t,e,n){var a=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,e>>>=0,n<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return PM0(this,e,n);case"utf8":case"utf-8":return Ave(this,e,n);case"ascii":return BM0(this,e,n);case"latin1":case"binary":return DM0(this,e,n);case"base64":return RM0(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return LM0(this,e,n);default:if(a)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}n0.prototype._isBuffer=!0;function ny(t,e,n){var a=t[e];t[e]=t[n],t[n]=a}n0.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;nn&&(e+=" ... "),""};gve&&(n0.prototype[gve]=n0.prototype.inspect);n0.prototype.compare=function(e,n,a,r,f){if(i2(e,Uint8Array)&&(e=n0.from(e,e.offset,e.byteLength)),!n0.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(n===void 0&&(n=0),a===void 0&&(a=e?e.length:0),r===void 0&&(r=0),f===void 0&&(f=this.length),n<0||a>e.length||r<0||f>this.length)throw new RangeError("out of range index");if(r>=f&&n>=a)return 0;if(r>=f)return-1;if(n>=a)return 1;if(n>>>=0,a>>>=0,r>>>=0,f>>>=0,this===e)return 0;for(var i=f-r,s=a-n,o=Math.min(i,s),c=this.slice(r,f),d=e.slice(n,a),l=0;l2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,u0e(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0)if(r)n=0;else return-1;if(typeof e=="string"&&(e=n0.from(e,a)),n0.isBuffer(e))return e.length===0?-1:vve(t,e,n,a,r);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):vve(t,[e],n,a,r);throw new TypeError("val must be string, number or Buffer")}function vve(t,e,n,a,r){var f=1,i=t.length,s=e.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(t.length<2||e.length<2)return-1;f=2,i/=2,s/=2,n/=2}function o(y,v){return f===1?y[v]:y.readUInt16BE(v*f)}var c;if(r){var d=-1;for(c=n;ci&&(n=i-s),c=n;c>=0;c--){for(var l=!0,h=0;hr&&(a=r)):a=r;var f=e.length;a>f/2&&(a=f/2);for(var i=0;i>>0,isFinite(a)?(a=a>>>0,r===void 0&&(r="utf8")):(r=a,a=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var f=this.length-n;if((a===void 0||a>f)&&(a=f),e.length>0&&(a<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return AM0(this,e,n,a);case"utf8":case"utf-8":return CM0(this,e,n,a);case"ascii":case"latin1":case"binary":return IM0(this,e,n,a);case"base64":return kM0(this,e,n,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return SM0(this,e,n,a);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}};n0.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function RM0(t,e,n){return e===0&&n===t.length?i0e.fromByteArray(t):i0e.fromByteArray(t.slice(e,n))}function Ave(t,e,n){n=Math.min(t.length,n);for(var a=[],r=e;r239?4:f>223?3:f>191?2:1;if(r+s<=n){var o,c,d,l;switch(s){case 1:f<128&&(i=f);break;case 2:o=t[r+1],(o&192)===128&&(l=(f&31)<<6|o&63,l>127&&(i=l));break;case 3:o=t[r+1],c=t[r+2],(o&192)===128&&(c&192)===128&&(l=(f&15)<<12|(o&63)<<6|c&63,l>2047&&(l<55296||l>57343)&&(i=l));break;case 4:o=t[r+1],c=t[r+2],d=t[r+3],(o&192)===128&&(c&192)===128&&(d&192)===128&&(l=(f&15)<<18|(o&63)<<12|(c&63)<<6|d&63,l>65535&&l<1114112&&(i=l))}}i===null?(i=65533,s=1):i>65535&&(i-=65536,a.push(i>>>10&1023|55296),i=56320|i&1023),a.push(i),r+=s}return MM0(a)}var wve=4096;function MM0(t){var e=t.length;if(e<=wve)return String.fromCharCode.apply(String,t);for(var n="",a=0;aa)&&(n=a);for(var r="",f=e;fa&&(e=a),n<0?(n+=a,n<0&&(n=0)):n>a&&(n=a),nn)throw new RangeError("Trying to access beyond buffer length")}n0.prototype.readUintLE=n0.prototype.readUIntLE=function(e,n,a){e=e>>>0,n=n>>>0,a||cs(e,n,this.length);for(var r=this[e],f=1,i=0;++i>>0,n=n>>>0,a||cs(e,n,this.length);for(var r=this[e+--n],f=1;n>0&&(f*=256);)r+=this[e+--n]*f;return r};n0.prototype.readUint8=n0.prototype.readUInt8=function(e,n){return e=e>>>0,n||cs(e,1,this.length),this[e]};n0.prototype.readUint16LE=n0.prototype.readUInt16LE=function(e,n){return e=e>>>0,n||cs(e,2,this.length),this[e]|this[e+1]<<8};n0.prototype.readUint16BE=n0.prototype.readUInt16BE=function(e,n){return e=e>>>0,n||cs(e,2,this.length),this[e]<<8|this[e+1]};n0.prototype.readUint32LE=n0.prototype.readUInt32LE=function(e,n){return e=e>>>0,n||cs(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};n0.prototype.readUint32BE=n0.prototype.readUInt32BE=function(e,n){return e=e>>>0,n||cs(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};n0.prototype.readIntLE=function(e,n,a){e=e>>>0,n=n>>>0,a||cs(e,n,this.length);for(var r=this[e],f=1,i=0;++i=f&&(r-=Math.pow(2,8*n)),r};n0.prototype.readIntBE=function(e,n,a){e=e>>>0,n=n>>>0,a||cs(e,n,this.length);for(var r=n,f=1,i=this[e+--r];r>0&&(f*=256);)i+=this[e+--r]*f;return f*=128,i>=f&&(i-=Math.pow(2,8*n)),i};n0.prototype.readInt8=function(e,n){return e=e>>>0,n||cs(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};n0.prototype.readInt16LE=function(e,n){e=e>>>0,n||cs(e,2,this.length);var a=this[e]|this[e+1]<<8;return a&32768?a|4294901760:a};n0.prototype.readInt16BE=function(e,n){e=e>>>0,n||cs(e,2,this.length);var a=this[e+1]|this[e]<<8;return a&32768?a|4294901760:a};n0.prototype.readInt32LE=function(e,n){return e=e>>>0,n||cs(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};n0.prototype.readInt32BE=function(e,n){return e=e>>>0,n||cs(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};n0.prototype.readFloatLE=function(e,n){return e=e>>>0,n||cs(e,4,this.length),Dv.read(this,e,!0,23,4)};n0.prototype.readFloatBE=function(e,n){return e=e>>>0,n||cs(e,4,this.length),Dv.read(this,e,!1,23,4)};n0.prototype.readDoubleLE=function(e,n){return e=e>>>0,n||cs(e,8,this.length),Dv.read(this,e,!0,52,8)};n0.prototype.readDoubleBE=function(e,n){return e=e>>>0,n||cs(e,8,this.length),Dv.read(this,e,!1,52,8)};function Ac(t,e,n,a,r,f){if(!n0.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}n0.prototype.writeUintLE=n0.prototype.writeUIntLE=function(e,n,a,r){if(e=+e,n=n>>>0,a=a>>>0,!r){var f=Math.pow(2,8*a)-1;Ac(this,e,n,a,f,0)}var i=1,s=0;for(this[n]=e&255;++s>>0,a=a>>>0,!r){var f=Math.pow(2,8*a)-1;Ac(this,e,n,a,f,0)}var i=a-1,s=1;for(this[n+i]=e&255;--i>=0&&(s*=256);)this[n+i]=e/s&255;return n+a};n0.prototype.writeUint8=n0.prototype.writeUInt8=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,1,255,0),this[n]=e&255,n+1};n0.prototype.writeUint16LE=n0.prototype.writeUInt16LE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,2,65535,0),this[n]=e&255,this[n+1]=e>>>8,n+2};n0.prototype.writeUint16BE=n0.prototype.writeUInt16BE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,2,65535,0),this[n]=e>>>8,this[n+1]=e&255,n+2};n0.prototype.writeUint32LE=n0.prototype.writeUInt32LE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,4,4294967295,0),this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=e&255,n+4};n0.prototype.writeUint32BE=n0.prototype.writeUInt32BE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,4,4294967295,0),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255,n+4};n0.prototype.writeIntLE=function(e,n,a,r){if(e=+e,n=n>>>0,!r){var f=Math.pow(2,8*a-1);Ac(this,e,n,a,f-1,-f)}var i=0,s=1,o=0;for(this[n]=e&255;++i>0)-o&255;return n+a};n0.prototype.writeIntBE=function(e,n,a,r){if(e=+e,n=n>>>0,!r){var f=Math.pow(2,8*a-1);Ac(this,e,n,a,f-1,-f)}var i=a-1,s=1,o=0;for(this[n+i]=e&255;--i>=0&&(s*=256);)e<0&&o===0&&this[n+i+1]!==0&&(o=1),this[n+i]=(e/s>>0)-o&255;return n+a};n0.prototype.writeInt8=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,1,127,-128),e<0&&(e=255+e+1),this[n]=e&255,n+1};n0.prototype.writeInt16LE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,2,32767,-32768),this[n]=e&255,this[n+1]=e>>>8,n+2};n0.prototype.writeInt16BE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,2,32767,-32768),this[n]=e>>>8,this[n+1]=e&255,n+2};n0.prototype.writeInt32LE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,4,2147483647,-2147483648),this[n]=e&255,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24,n+4};n0.prototype.writeInt32BE=function(e,n,a){return e=+e,n=n>>>0,a||Ac(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255,n+4};function Cve(t,e,n,a,r,f){if(n+a>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Ive(t,e,n,a,r){return e=+e,n=n>>>0,r||Cve(t,e,n,4,34028234663852886e22,-34028234663852886e22),Dv.write(t,e,n,a,23,4),n+4}n0.prototype.writeFloatLE=function(e,n,a){return Ive(this,e,n,!0,a)};n0.prototype.writeFloatBE=function(e,n,a){return Ive(this,e,n,!1,a)};function kve(t,e,n,a,r){return e=+e,n=n>>>0,r||Cve(t,e,n,8,17976931348623157e292,-17976931348623157e292),Dv.write(t,e,n,a,52,8),n+8}n0.prototype.writeDoubleLE=function(e,n,a){return kve(this,e,n,!0,a)};n0.prototype.writeDoubleBE=function(e,n,a){return kve(this,e,n,!1,a)};n0.prototype.copy=function(e,n,a,r){if(!n0.isBuffer(e))throw new TypeError("argument should be a Buffer");if(a||(a=0),!r&&r!==0&&(r=this.length),n>=e.length&&(n=e.length),n||(n=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-n>>0,a=a===void 0?this.length:a>>>0,e||(e=0);var i;if(typeof e=="number")for(i=n;i55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&f.push(239,191,189);continue}else if(i+1===a){(e-=3)>-1&&f.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&f.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536}else r&&(e-=3)>-1&&f.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;f.push(n)}else if(n<2048){if((e-=2)<0)break;f.push(n>>6|192,n&63|128)}else if(n<65536){if((e-=3)<0)break;f.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((e-=4)<0)break;f.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return f}function OM0(t){for(var e=[],n=0;n>8,r=n%256,f.push(r),f.push(a);return f}function Sve(t){return i0e.toByteArray(NM0(t))}function yF(t,e,n,a){for(var r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function i2(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function u0e(t){return t!==t}var HM0=function(){for(var t="0123456789abcdef",e=new Array(256),n=0;n<16;++n)for(var a=n*16,r=0;r<16;++r)e[a+r]=t[n]+t[r];return e}()});var Pve=D((PPn,Dve)=>{u();p();var di=Dve.exports={},s2,o2;function p0e(){throw new Error("setTimeout has not been defined")}function h0e(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?s2=setTimeout:s2=p0e}catch{s2=p0e}try{typeof clearTimeout=="function"?o2=clearTimeout:o2=h0e}catch{o2=h0e}})();function Rve(t){if(s2===setTimeout)return setTimeout(t,0);if((s2===p0e||!s2)&&setTimeout)return s2=setTimeout,setTimeout(t,0);try{return s2(t,0)}catch{try{return s2.call(null,t,0)}catch{return s2.call(this,t,0)}}}function zM0(t){if(o2===clearTimeout)return clearTimeout(t);if((o2===h0e||!o2)&&clearTimeout)return o2=clearTimeout,clearTimeout(t);try{return o2(t)}catch{try{return o2.call(null,t)}catch{return o2.call(this,t)}}}var Qp=[],Lv=!1,ay,gF=-1;function WM0(){!Lv||!ay||(Lv=!1,ay.length?Qp=ay.concat(Qp):gF=-1,Qp.length&&Mve())}function Mve(){if(!Lv){var t=Rve(WM0);Lv=!0;for(var e=Qp.length;e;){for(ay=Qp,Qp=[];++gF1)for(var n=1;n{_=Ee(Kf()),I=Ee(Pve()),qM0=function(t){function e(){var a=this||self;return delete t.prototype.__magic__,a}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var n=__magic__;return n}(Object),global=qM0});function GM0(t){Nve=t}function wF(){return Nve}function it(t,e){let n=TF({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,wF(),tI].filter(a=>!!a)});t.common.issues.push(n)}function on(t){if(!t)return{};let{errorMap:e,invalid_type_error:n,required_error:a,description:r}=t;if(e&&(n||a))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:r}:{errorMap:(i,s)=>i.code!=="invalid_type"?{message:s.defaultError}:typeof s.data>"u"?{message:a??s.defaultError}:{message:n??s.defaultError},description:r}}function nB0(t,e){return!!((e==="v4"||!e)&&ZM0.test(t)||(e==="v6"||!e)&&eB0.test(t))}function aB0(t,e){let n=(t.toString().split(".")[1]||"").length,a=(e.toString().split(".")[1]||"").length,r=n>a?n:a,f=parseInt(t.toFixed(r).replace(".","")),i=parseInt(e.toFixed(r).replace(".",""));return f%i/Math.pow(10,r)}function Fv(t){if(t instanceof Cc){let e={};for(let n in t.shape){let a=t.shape[n];e[n]=Qd.create(Fv(a))}return new Cc({...t._def,shape:()=>e})}else return t instanceof $p?new $p({...t._def,type:Fv(t.element)}):t instanceof Qd?Qd.create(Fv(t.unwrap())):t instanceof Jp?Jp.create(Fv(t.unwrap())):t instanceof c2?c2.create(t.items.map(e=>Fv(e))):t}function v0e(t,e){let n=l3(t),a=l3(e);if(t===e)return{valid:!0,data:t};if(n===nt.object&&a===nt.object){let r=Ma.objectKeys(e),f=Ma.objectKeys(t).filter(s=>r.indexOf(s)!==-1),i={...t,...e};for(let s of f){let o=v0e(t[s],e[s]);if(!o.valid)return{valid:!1};i[s]=o.data}return{valid:!0,data:i}}else if(n===nt.array&&a===nt.array){if(t.length!==e.length)return{valid:!1};let r=[];for(let f=0;f{u();p();(function(t){t.assertEqual=r=>r;function e(r){}t.assertIs=e;function n(r){throw new Error}t.assertNever=n,t.arrayToEnum=r=>{let f={};for(let i of r)f[i]=i;return f},t.getValidEnumValues=r=>{let f=t.objectKeys(r).filter(s=>typeof r[r[s]]!="number"),i={};for(let s of f)i[s]=r[s];return t.objectValues(i)},t.objectValues=r=>t.objectKeys(r).map(function(f){return r[f]}),t.objectKeys=typeof Object.keys=="function"?r=>Object.keys(r):r=>{let f=[];for(let i in r)Object.prototype.hasOwnProperty.call(r,i)&&f.push(i);return f},t.find=(r,f)=>{for(let i of r)if(f(i))return i},t.isInteger=typeof Number.isInteger=="function"?r=>Number.isInteger(r):r=>typeof r=="number"&&isFinite(r)&&Math.floor(r)===r;function a(r,f=" | "){return r.map(i=>typeof i=="string"?`'${i}'`:i).join(f)}t.joinValues=a,t.jsonStringifyReplacer=(r,f)=>typeof f=="bigint"?f.toString():f})(Ma||(Ma={}));(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(m0e||(m0e={}));nt=Ma.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),l3=t=>{switch(typeof t){case"undefined":return nt.undefined;case"string":return nt.string;case"number":return isNaN(t)?nt.nan:nt.number;case"boolean":return nt.boolean;case"function":return nt.function;case"bigint":return nt.bigint;case"symbol":return nt.symbol;case"object":return Array.isArray(t)?nt.array:t===null?nt.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?nt.promise:typeof Map<"u"&&t instanceof Map?nt.map:typeof Set<"u"&&t instanceof Set?nt.set:typeof Date<"u"&&t instanceof Date?nt.date:nt.object;default:return nt.unknown}},D0=Ma.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),jM0=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),m6=class extends Error{constructor(e){super(),this.issues=[],this.addIssue=a=>{this.issues=[...this.issues,a]},this.addIssues=(a=[])=>{this.issues=[...this.issues,...a]};let n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let n=e||function(f){return f.message},a={_errors:[]},r=f=>{for(let i of f.issues)if(i.code==="invalid_union")i.unionErrors.map(r);else if(i.code==="invalid_return_type")r(i.returnTypeError);else if(i.code==="invalid_arguments")r(i.argumentsError);else if(i.path.length===0)a._errors.push(n(i));else{let s=a,o=0;for(;on.message){let n={},a=[];for(let r of this.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(e(r))):a.push(e(r));return{formErrors:a,fieldErrors:n}}get formErrors(){return this.flatten()}};m6.create=t=>new m6(t);tI=(t,e)=>{let n;switch(t.code){case D0.invalid_type:t.received===nt.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case D0.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,Ma.jsonStringifyReplacer)}`;break;case D0.unrecognized_keys:n=`Unrecognized key(s) in object: ${Ma.joinValues(t.keys,", ")}`;break;case D0.invalid_union:n="Invalid input";break;case D0.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Ma.joinValues(t.options)}`;break;case D0.invalid_enum_value:n=`Invalid enum value. Expected ${Ma.joinValues(t.options)}, received '${t.received}'`;break;case D0.invalid_arguments:n="Invalid function arguments";break;case D0.invalid_return_type:n="Invalid function return type";break;case D0.invalid_date:n="Invalid date";break;case D0.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:Ma.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case D0.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case D0.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case D0.custom:n="Invalid input";break;case D0.invalid_intersection_types:n="Intersection results could not be merged";break;case D0.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case D0.not_finite:n="Number must be finite";break;default:n=e.defaultError,Ma.assertNever(t)}return{message:n}},Nve=tI;TF=t=>{let{data:e,path:n,errorMaps:a,issueData:r}=t,f=[...n,...r.path||[]],i={...r,path:f},s="",o=a.filter(c=>!!c).slice().reverse();for(let c of o)s=c(i,{data:e,defaultError:s}).message;return{...r,path:f,message:r.message||s}},KM0=[];So=class t{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){let a=[];for(let r of n){if(r.status==="aborted")return Qt;r.status==="dirty"&&e.dirty(),a.push(r.value)}return{status:e.value,value:a}}static async mergeObjectAsync(e,n){let a=[];for(let r of n)a.push({key:await r.key,value:await r.value});return t.mergeObjectSync(e,a)}static mergeObjectSync(e,n){let a={};for(let r of n){let{key:f,value:i}=r;if(f.status==="aborted"||i.status==="aborted")return Qt;f.status==="dirty"&&e.dirty(),i.status==="dirty"&&e.dirty(),f.value!=="__proto__"&&(typeof i.value<"u"||r.alwaysSet)&&(a[f.value]=i.value)}return{status:e.value,value:a}}},Qt=Object.freeze({status:"aborted"}),Ove=t=>({status:"dirty",value:t}),F1=t=>({status:"valid",value:t}),y0e=t=>t.status==="aborted",g0e=t=>t.status==="dirty",nI=t=>t.status==="valid",xF=t=>typeof Promise<"u"&&t instanceof Promise;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(At||(At={}));h5=class{constructor(e,n,a,r){this._cachedPath=[],this.parent=e,this.data=n,this._path=a,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Lve=(t,e)=>{if(nI(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new m6(t.common.issues);return this._error=n,this._error}}};cn=class{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return l3(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:l3(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new So,ctx:{common:e.parent.common,data:e.data,parsedType:l3(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let n=this._parse(e);if(xF(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){let n=this._parse(e);return Promise.resolve(n)}parse(e,n){let a=this.safeParse(e,n);if(a.success)return a.data;throw a.error}safeParse(e,n){var a;let r={common:{issues:[],async:(a=n?.async)!==null&&a!==void 0?a:!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:l3(e)},f=this._parseSync({data:e,path:r.path,parent:r});return Lve(r,f)}async parseAsync(e,n){let a=await this.safeParseAsync(e,n);if(a.success)return a.data;throw a.error}async safeParseAsync(e,n){let a={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:l3(e)},r=this._parse({data:e,path:a.path,parent:a}),f=await(xF(r)?r:Promise.resolve(r));return Lve(a,f)}refine(e,n){let a=r=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(r):n;return this._refinement((r,f)=>{let i=e(r),s=()=>f.addIssue({code:D0.custom,...a(r)});return typeof Promise<"u"&&i instanceof Promise?i.then(o=>o?!0:(s(),!1)):i?!0:(s(),!1)})}refinement(e,n){return this._refinement((a,r)=>e(a)?!0:(r.addIssue(typeof n=="function"?n(a,r):n),!1))}_refinement(e){return new y6({schema:this,typeName:Lt.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return Qd.create(this,this._def)}nullable(){return Jp.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return $p.create(this,this._def)}promise(){return h3.create(this,this._def)}or(e){return dy.create([this,e],this._def)}and(e){return ly.create(this,e,this._def)}transform(e){return new y6({...on(this._def),schema:this,typeName:Lt.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let n=typeof e=="function"?e:()=>e;return new my({...on(this._def),innerType:this,defaultValue:n,typeName:Lt.ZodDefault})}brand(){return new CF({typeName:Lt.ZodBranded,type:this,...on(this._def)})}catch(e){let n=typeof e=="function"?e:()=>e;return new zv({...on(this._def),innerType:this,catchValue:n,typeName:Lt.ZodCatch})}describe(e){let n=this.constructor;return new n({...this._def,description:e})}pipe(e){return aI.create(this,e)}readonly(){return qv.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},QM0=/^c[^\s-]{8,}$/i,VM0=/^[a-z][a-z0-9]*$/,YM0=/^[0-9A-HJKMNP-TV-Z]{26}$/,$M0=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,JM0=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,XM0="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",ZM0=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,eB0=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,tB0=t=>t.precision?t.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${t.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${t.precision}}Z$`):t.precision===0?t.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):t.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");u3=class t extends cn{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==nt.string){let f=this._getOrReturnCtx(e);return it(f,{code:D0.invalid_type,expected:nt.string,received:f.parsedType}),Qt}let a=new So,r;for(let f of this._def.checks)if(f.kind==="min")e.data.lengthf.value&&(r=this._getOrReturnCtx(e,r),it(r,{code:D0.too_big,maximum:f.value,type:"string",inclusive:!0,exact:!1,message:f.message}),a.dirty());else if(f.kind==="length"){let i=e.data.length>f.value,s=e.data.lengthe.test(r),{validation:n,code:D0.invalid_string,...At.errToObj(a)})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...At.errToObj(e)})}url(e){return this._addCheck({kind:"url",...At.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...At.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...At.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...At.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...At.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...At.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...At.errToObj(e)})}datetime(e){var n;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:(n=e?.offset)!==null&&n!==void 0?n:!1,...At.errToObj(e?.message)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...At.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...At.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...At.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...At.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...At.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...At.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...At.errToObj(n)})}nonempty(e){return this.min(1,At.errToObj(e))}trim(){return new t({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get minLength(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value{var e;return new u3({checks:[],typeName:Lt.ZodString,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...on(t)})};ry=class t extends cn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==nt.number){let f=this._getOrReturnCtx(e);return it(f,{code:D0.invalid_type,expected:nt.number,received:f.parsedType}),Qt}let a,r=new So;for(let f of this._def.checks)f.kind==="int"?Ma.isInteger(e.data)||(a=this._getOrReturnCtx(e,a),it(a,{code:D0.invalid_type,expected:"integer",received:"float",message:f.message}),r.dirty()):f.kind==="min"?(f.inclusive?e.dataf.value:e.data>=f.value)&&(a=this._getOrReturnCtx(e,a),it(a,{code:D0.too_big,maximum:f.value,type:"number",inclusive:f.inclusive,exact:!1,message:f.message}),r.dirty()):f.kind==="multipleOf"?aB0(e.data,f.value)!==0&&(a=this._getOrReturnCtx(e,a),it(a,{code:D0.not_multiple_of,multipleOf:f.value,message:f.message}),r.dirty()):f.kind==="finite"?Number.isFinite(e.data)||(a=this._getOrReturnCtx(e,a),it(a,{code:D0.not_finite,message:f.message}),r.dirty()):Ma.assertNever(f);return{status:r.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,At.toString(n))}gt(e,n){return this.setLimit("min",e,!1,At.toString(n))}lte(e,n){return this.setLimit("max",e,!0,At.toString(n))}lt(e,n){return this.setLimit("max",e,!1,At.toString(n))}setLimit(e,n,a,r){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:At.toString(r)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:At.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:At.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:At.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:At.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:At.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:At.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:At.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:At.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:At.toString(e)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.valuee.kind==="int"||e.kind==="multipleOf"&&Ma.isInteger(e.value))}get isFinite(){let e=null,n=null;for(let a of this._def.checks){if(a.kind==="finite"||a.kind==="int"||a.kind==="multipleOf")return!0;a.kind==="min"?(n===null||a.value>n)&&(n=a.value):a.kind==="max"&&(e===null||a.valuenew ry({checks:[],typeName:Lt.ZodNumber,coerce:t?.coerce||!1,...on(t)});fy=class t extends cn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==nt.bigint){let f=this._getOrReturnCtx(e);return it(f,{code:D0.invalid_type,expected:nt.bigint,received:f.parsedType}),Qt}let a,r=new So;for(let f of this._def.checks)f.kind==="min"?(f.inclusive?e.dataf.value:e.data>=f.value)&&(a=this._getOrReturnCtx(e,a),it(a,{code:D0.too_big,type:"bigint",maximum:f.value,inclusive:f.inclusive,message:f.message}),r.dirty()):f.kind==="multipleOf"?e.data%f.value!==BigInt(0)&&(a=this._getOrReturnCtx(e,a),it(a,{code:D0.not_multiple_of,multipleOf:f.value,message:f.message}),r.dirty()):Ma.assertNever(f);return{status:r.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,At.toString(n))}gt(e,n){return this.setLimit("min",e,!1,At.toString(n))}lte(e,n){return this.setLimit("max",e,!0,At.toString(n))}lt(e,n){return this.setLimit("max",e,!1,At.toString(n))}setLimit(e,n,a,r){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:At.toString(r)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:At.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:At.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:At.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:At.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:At.toString(n)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value{var e;return new fy({checks:[],typeName:Lt.ZodBigInt,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...on(t)})};iy=class extends cn{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==nt.boolean){let a=this._getOrReturnCtx(e);return it(a,{code:D0.invalid_type,expected:nt.boolean,received:a.parsedType}),Qt}return F1(e.data)}};iy.create=t=>new iy({typeName:Lt.ZodBoolean,coerce:t?.coerce||!1,...on(t)});sy=class t extends cn{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==nt.date){let f=this._getOrReturnCtx(e);return it(f,{code:D0.invalid_type,expected:nt.date,received:f.parsedType}),Qt}if(isNaN(e.data.getTime())){let f=this._getOrReturnCtx(e);return it(f,{code:D0.invalid_date}),Qt}let a=new So,r;for(let f of this._def.checks)f.kind==="min"?e.data.getTime()f.value&&(r=this._getOrReturnCtx(e,r),it(r,{code:D0.too_big,message:f.message,inclusive:!0,exact:!1,maximum:f.value,type:"date"}),a.dirty()):Ma.assertNever(f);return{status:a.value,value:new Date(e.data.getTime())}}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:At.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:At.toString(n)})}get minDate(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.valuenew sy({checks:[],coerce:t?.coerce||!1,typeName:Lt.ZodDate,...on(t)});Nv=class extends cn{_parse(e){if(this._getType(e)!==nt.symbol){let a=this._getOrReturnCtx(e);return it(a,{code:D0.invalid_type,expected:nt.symbol,received:a.parsedType}),Qt}return F1(e.data)}};Nv.create=t=>new Nv({typeName:Lt.ZodSymbol,...on(t)});oy=class extends cn{_parse(e){if(this._getType(e)!==nt.undefined){let a=this._getOrReturnCtx(e);return it(a,{code:D0.invalid_type,expected:nt.undefined,received:a.parsedType}),Qt}return F1(e.data)}};oy.create=t=>new oy({typeName:Lt.ZodUndefined,...on(t)});cy=class extends cn{_parse(e){if(this._getType(e)!==nt.null){let a=this._getOrReturnCtx(e);return it(a,{code:D0.invalid_type,expected:nt.null,received:a.parsedType}),Qt}return F1(e.data)}};cy.create=t=>new cy({typeName:Lt.ZodNull,...on(t)});p3=class extends cn{constructor(){super(...arguments),this._any=!0}_parse(e){return F1(e.data)}};p3.create=t=>new p3({typeName:Lt.ZodAny,...on(t)});Yp=class extends cn{constructor(){super(...arguments),this._unknown=!0}_parse(e){return F1(e.data)}};Yp.create=t=>new Yp({typeName:Lt.ZodUnknown,...on(t)});Vd=class extends cn{_parse(e){let n=this._getOrReturnCtx(e);return it(n,{code:D0.invalid_type,expected:nt.never,received:n.parsedType}),Qt}};Vd.create=t=>new Vd({typeName:Lt.ZodNever,...on(t)});Ov=class extends cn{_parse(e){if(this._getType(e)!==nt.undefined){let a=this._getOrReturnCtx(e);return it(a,{code:D0.invalid_type,expected:nt.void,received:a.parsedType}),Qt}return F1(e.data)}};Ov.create=t=>new Ov({typeName:Lt.ZodVoid,...on(t)});$p=class t extends cn{_parse(e){let{ctx:n,status:a}=this._processInputParams(e),r=this._def;if(n.parsedType!==nt.array)return it(n,{code:D0.invalid_type,expected:nt.array,received:n.parsedType}),Qt;if(r.exactLength!==null){let i=n.data.length>r.exactLength.value,s=n.data.lengthr.maxLength.value&&(it(n,{code:D0.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),a.dirty()),n.common.async)return Promise.all([...n.data].map((i,s)=>r.type._parseAsync(new h5(n,i,n.path,s)))).then(i=>So.mergeArray(a,i));let f=[...n.data].map((i,s)=>r.type._parseSync(new h5(n,i,n.path,s)));return So.mergeArray(a,f)}get element(){return this._def.type}min(e,n){return new t({...this._def,minLength:{value:e,message:At.toString(n)}})}max(e,n){return new t({...this._def,maxLength:{value:e,message:At.toString(n)}})}length(e,n){return new t({...this._def,exactLength:{value:e,message:At.toString(n)}})}nonempty(e){return this.min(1,e)}};$p.create=(t,e)=>new $p({type:t,minLength:null,maxLength:null,exactLength:null,typeName:Lt.ZodArray,...on(e)});Cc=class t extends cn{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),n=Ma.objectKeys(e);return this._cached={shape:e,keys:n}}_parse(e){if(this._getType(e)!==nt.object){let c=this._getOrReturnCtx(e);return it(c,{code:D0.invalid_type,expected:nt.object,received:c.parsedType}),Qt}let{status:a,ctx:r}=this._processInputParams(e),{shape:f,keys:i}=this._getCached(),s=[];if(!(this._def.catchall instanceof Vd&&this._def.unknownKeys==="strip"))for(let c in r.data)i.includes(c)||s.push(c);let o=[];for(let c of i){let d=f[c],l=r.data[c];o.push({key:{status:"valid",value:c},value:d._parse(new h5(r,l,r.path,c)),alwaysSet:c in r.data})}if(this._def.catchall instanceof Vd){let c=this._def.unknownKeys;if(c==="passthrough")for(let d of s)o.push({key:{status:"valid",value:d},value:{status:"valid",value:r.data[d]}});else if(c==="strict")s.length>0&&(it(r,{code:D0.unrecognized_keys,keys:s}),a.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let c=this._def.catchall;for(let d of s){let l=r.data[d];o.push({key:{status:"valid",value:d},value:c._parse(new h5(r,l,r.path,d)),alwaysSet:d in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let c=[];for(let d of o){let l=await d.key;c.push({key:l,value:await d.value,alwaysSet:d.alwaysSet})}return c}).then(c=>So.mergeObjectSync(a,c)):So.mergeObjectSync(a,o)}get shape(){return this._def.shape()}strict(e){return At.errToObj,new t({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,a)=>{var r,f,i,s;let o=(i=(f=(r=this._def).errorMap)===null||f===void 0?void 0:f.call(r,n,a).message)!==null&&i!==void 0?i:a.defaultError;return n.code==="unrecognized_keys"?{message:(s=At.errToObj(e).message)!==null&&s!==void 0?s:o}:{message:o}}}:{}})}strip(){return new t({...this._def,unknownKeys:"strip"})}passthrough(){return new t({...this._def,unknownKeys:"passthrough"})}extend(e){return new t({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new t({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Lt.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new t({...this._def,catchall:e})}pick(e){let n={};return Ma.objectKeys(e).forEach(a=>{e[a]&&this.shape[a]&&(n[a]=this.shape[a])}),new t({...this._def,shape:()=>n})}omit(e){let n={};return Ma.objectKeys(this.shape).forEach(a=>{e[a]||(n[a]=this.shape[a])}),new t({...this._def,shape:()=>n})}deepPartial(){return Fv(this)}partial(e){let n={};return Ma.objectKeys(this.shape).forEach(a=>{let r=this.shape[a];e&&!e[a]?n[a]=r:n[a]=r.optional()}),new t({...this._def,shape:()=>n})}required(e){let n={};return Ma.objectKeys(this.shape).forEach(a=>{if(e&&!e[a])n[a]=this.shape[a];else{let f=this.shape[a];for(;f instanceof Qd;)f=f._def.innerType;n[a]=f}}),new t({...this._def,shape:()=>n})}keyof(){return Uve(Ma.objectKeys(this.shape))}};Cc.create=(t,e)=>new Cc({shape:()=>t,unknownKeys:"strip",catchall:Vd.create(),typeName:Lt.ZodObject,...on(e)});Cc.strictCreate=(t,e)=>new Cc({shape:()=>t,unknownKeys:"strict",catchall:Vd.create(),typeName:Lt.ZodObject,...on(e)});Cc.lazycreate=(t,e)=>new Cc({shape:t,unknownKeys:"strip",catchall:Vd.create(),typeName:Lt.ZodObject,...on(e)});dy=class extends cn{_parse(e){let{ctx:n}=this._processInputParams(e),a=this._def.options;function r(f){for(let s of f)if(s.result.status==="valid")return s.result;for(let s of f)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;let i=f.map(s=>new m6(s.ctx.common.issues));return it(n,{code:D0.invalid_union,unionErrors:i}),Qt}if(n.common.async)return Promise.all(a.map(async f=>{let i={...n,common:{...n.common,issues:[]},parent:null};return{result:await f._parseAsync({data:n.data,path:n.path,parent:i}),ctx:i}})).then(r);{let f,i=[];for(let o of a){let c={...n,common:{...n.common,issues:[]},parent:null},d=o._parseSync({data:n.data,path:n.path,parent:c});if(d.status==="valid")return d;d.status==="dirty"&&!f&&(f={result:d,ctx:c}),c.common.issues.length&&i.push(c.common.issues)}if(f)return n.common.issues.push(...f.ctx.common.issues),f.result;let s=i.map(o=>new m6(o));return it(n,{code:D0.invalid_union,unionErrors:s}),Qt}}get options(){return this._def.options}};dy.create=(t,e)=>new dy({options:t,typeName:Lt.ZodUnion,...on(e)});vF=t=>t instanceof uy?vF(t.schema):t instanceof y6?vF(t.innerType()):t instanceof py?[t.value]:t instanceof hy?t.options:t instanceof by?Object.keys(t.enum):t instanceof my?vF(t._def.innerType):t instanceof oy?[void 0]:t instanceof cy?[null]:null,EF=class t extends cn{_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==nt.object)return it(n,{code:D0.invalid_type,expected:nt.object,received:n.parsedType}),Qt;let a=this.discriminator,r=n.data[a],f=this.optionsMap.get(r);return f?n.common.async?f._parseAsync({data:n.data,path:n.path,parent:n}):f._parseSync({data:n.data,path:n.path,parent:n}):(it(n,{code:D0.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[a]}),Qt)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,a){let r=new Map;for(let f of n){let i=vF(f.shape[e]);if(!i)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let s of i){if(r.has(s))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(s)}`);r.set(s,f)}}return new t({typeName:Lt.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:r,...on(a)})}};ly=class extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e),r=(f,i)=>{if(y0e(f)||y0e(i))return Qt;let s=v0e(f.value,i.value);return s.valid?((g0e(f)||g0e(i))&&n.dirty(),{status:n.value,value:s.data}):(it(a,{code:D0.invalid_intersection_types}),Qt)};return a.common.async?Promise.all([this._def.left._parseAsync({data:a.data,path:a.path,parent:a}),this._def.right._parseAsync({data:a.data,path:a.path,parent:a})]).then(([f,i])=>r(f,i)):r(this._def.left._parseSync({data:a.data,path:a.path,parent:a}),this._def.right._parseSync({data:a.data,path:a.path,parent:a}))}};ly.create=(t,e,n)=>new ly({left:t,right:e,typeName:Lt.ZodIntersection,...on(n)});c2=class t extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==nt.array)return it(a,{code:D0.invalid_type,expected:nt.array,received:a.parsedType}),Qt;if(a.data.lengththis._def.items.length&&(it(a,{code:D0.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());let f=[...a.data].map((i,s)=>{let o=this._def.items[s]||this._def.rest;return o?o._parse(new h5(a,i,a.path,s)):null}).filter(i=>!!i);return a.common.async?Promise.all(f).then(i=>So.mergeArray(n,i)):So.mergeArray(n,f)}get items(){return this._def.items}rest(e){return new t({...this._def,rest:e})}};c2.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new c2({items:t,typeName:Lt.ZodTuple,rest:null,...on(e)})};_F=class t extends cn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==nt.object)return it(a,{code:D0.invalid_type,expected:nt.object,received:a.parsedType}),Qt;let r=[],f=this._def.keyType,i=this._def.valueType;for(let s in a.data)r.push({key:f._parse(new h5(a,s,a.path,s)),value:i._parse(new h5(a,a.data[s],a.path,s))});return a.common.async?So.mergeObjectAsync(n,r):So.mergeObjectSync(n,r)}get element(){return this._def.valueType}static create(e,n,a){return n instanceof cn?new t({keyType:e,valueType:n,typeName:Lt.ZodRecord,...on(a)}):new t({keyType:u3.create(),valueType:e,typeName:Lt.ZodRecord,...on(n)})}},Uv=class extends cn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==nt.map)return it(a,{code:D0.invalid_type,expected:nt.map,received:a.parsedType}),Qt;let r=this._def.keyType,f=this._def.valueType,i=[...a.data.entries()].map(([s,o],c)=>({key:r._parse(new h5(a,s,a.path,[c,"key"])),value:f._parse(new h5(a,o,a.path,[c,"value"]))}));if(a.common.async){let s=new Map;return Promise.resolve().then(async()=>{for(let o of i){let c=await o.key,d=await o.value;if(c.status==="aborted"||d.status==="aborted")return Qt;(c.status==="dirty"||d.status==="dirty")&&n.dirty(),s.set(c.value,d.value)}return{status:n.value,value:s}})}else{let s=new Map;for(let o of i){let c=o.key,d=o.value;if(c.status==="aborted"||d.status==="aborted")return Qt;(c.status==="dirty"||d.status==="dirty")&&n.dirty(),s.set(c.value,d.value)}return{status:n.value,value:s}}}};Uv.create=(t,e,n)=>new Uv({valueType:e,keyType:t,typeName:Lt.ZodMap,...on(n)});Hv=class t extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==nt.set)return it(a,{code:D0.invalid_type,expected:nt.set,received:a.parsedType}),Qt;let r=this._def;r.minSize!==null&&a.data.sizer.maxSize.value&&(it(a,{code:D0.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),n.dirty());let f=this._def.valueType;function i(o){let c=new Set;for(let d of o){if(d.status==="aborted")return Qt;d.status==="dirty"&&n.dirty(),c.add(d.value)}return{status:n.value,value:c}}let s=[...a.data.values()].map((o,c)=>f._parse(new h5(a,o,a.path,c)));return a.common.async?Promise.all(s).then(o=>i(o)):i(s)}min(e,n){return new t({...this._def,minSize:{value:e,message:At.toString(n)}})}max(e,n){return new t({...this._def,maxSize:{value:e,message:At.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}};Hv.create=(t,e)=>new Hv({valueType:t,minSize:null,maxSize:null,typeName:Lt.ZodSet,...on(e)});AF=class t extends cn{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==nt.function)return it(n,{code:D0.invalid_type,expected:nt.function,received:n.parsedType}),Qt;function a(s,o){return TF({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,wF(),tI].filter(c=>!!c),issueData:{code:D0.invalid_arguments,argumentsError:o}})}function r(s,o){return TF({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,wF(),tI].filter(c=>!!c),issueData:{code:D0.invalid_return_type,returnTypeError:o}})}let f={errorMap:n.common.contextualErrorMap},i=n.data;if(this._def.returns instanceof h3){let s=this;return F1(async function(...o){let c=new m6([]),d=await s._def.args.parseAsync(o,f).catch(y=>{throw c.addIssue(a(o,y)),c}),l=await Reflect.apply(i,this,d);return await s._def.returns._def.type.parseAsync(l,f).catch(y=>{throw c.addIssue(r(l,y)),c})})}else{let s=this;return F1(function(...o){let c=s._def.args.safeParse(o,f);if(!c.success)throw new m6([a(o,c.error)]);let d=Reflect.apply(i,this,c.data),l=s._def.returns.safeParse(d,f);if(!l.success)throw new m6([r(d,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new t({...this._def,args:c2.create(e).rest(Yp.create())})}returns(e){return new t({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,a){return new t({args:e||c2.create([]).rest(Yp.create()),returns:n||Yp.create(),typeName:Lt.ZodFunction,...on(a)})}},uy=class extends cn{get schema(){return this._def.getter()}_parse(e){let{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}};uy.create=(t,e)=>new uy({getter:t,typeName:Lt.ZodLazy,...on(e)});py=class extends cn{_parse(e){if(e.data!==this._def.value){let n=this._getOrReturnCtx(e);return it(n,{received:n.data,code:D0.invalid_literal,expected:this._def.value}),Qt}return{status:"valid",value:e.data}}get value(){return this._def.value}};py.create=(t,e)=>new py({value:t,typeName:Lt.ZodLiteral,...on(e)});hy=class t extends cn{_parse(e){if(typeof e.data!="string"){let n=this._getOrReturnCtx(e),a=this._def.values;return it(n,{expected:Ma.joinValues(a),received:n.parsedType,code:D0.invalid_type}),Qt}if(this._def.values.indexOf(e.data)===-1){let n=this._getOrReturnCtx(e),a=this._def.values;return it(n,{received:n.data,code:D0.invalid_enum_value,options:a}),Qt}return F1(e.data)}get options(){return this._def.values}get enum(){let e={};for(let n of this._def.values)e[n]=n;return e}get Values(){let e={};for(let n of this._def.values)e[n]=n;return e}get Enum(){let e={};for(let n of this._def.values)e[n]=n;return e}extract(e){return t.create(e)}exclude(e){return t.create(this.options.filter(n=>!e.includes(n)))}};hy.create=Uve;by=class extends cn{_parse(e){let n=Ma.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==nt.string&&a.parsedType!==nt.number){let r=Ma.objectValues(n);return it(a,{expected:Ma.joinValues(r),received:a.parsedType,code:D0.invalid_type}),Qt}if(n.indexOf(e.data)===-1){let r=Ma.objectValues(n);return it(a,{received:a.data,code:D0.invalid_enum_value,options:r}),Qt}return F1(e.data)}get enum(){return this._def.values}};by.create=(t,e)=>new by({values:t,typeName:Lt.ZodNativeEnum,...on(e)});h3=class extends cn{unwrap(){return this._def.type}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==nt.promise&&n.common.async===!1)return it(n,{code:D0.invalid_type,expected:nt.promise,received:n.parsedType}),Qt;let a=n.parsedType===nt.promise?n.data:Promise.resolve(n.data);return F1(a.then(r=>this._def.type.parseAsync(r,{path:n.path,errorMap:n.common.contextualErrorMap})))}};h3.create=(t,e)=>new h3({type:t,typeName:Lt.ZodPromise,...on(e)});y6=class extends cn{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Lt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:n,ctx:a}=this._processInputParams(e),r=this._def.effect||null,f={addIssue:i=>{it(a,i),i.fatal?n.abort():n.dirty()},get path(){return a.path}};if(f.addIssue=f.addIssue.bind(f),r.type==="preprocess"){let i=r.transform(a.data,f);return a.common.issues.length?{status:"dirty",value:a.data}:a.common.async?Promise.resolve(i).then(s=>this._def.schema._parseAsync({data:s,path:a.path,parent:a})):this._def.schema._parseSync({data:i,path:a.path,parent:a})}if(r.type==="refinement"){let i=s=>{let o=r.refinement(s,f);if(a.common.async)return Promise.resolve(o);if(o instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(a.common.async===!1){let s=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return s.status==="aborted"?Qt:(s.status==="dirty"&&n.dirty(),i(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(s=>s.status==="aborted"?Qt:(s.status==="dirty"&&n.dirty(),i(s.value).then(()=>({status:n.value,value:s.value}))))}if(r.type==="transform")if(a.common.async===!1){let i=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!nI(i))return i;let s=r.transform(i.value,f);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(i=>nI(i)?Promise.resolve(r.transform(i.value,f)).then(s=>({status:n.value,value:s})):i);Ma.assertNever(r)}};y6.create=(t,e,n)=>new y6({schema:t,typeName:Lt.ZodEffects,effect:e,...on(n)});y6.createWithPreprocess=(t,e,n)=>new y6({schema:e,effect:{type:"preprocess",transform:t},typeName:Lt.ZodEffects,...on(n)});Qd=class extends cn{_parse(e){return this._getType(e)===nt.undefined?F1(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Qd.create=(t,e)=>new Qd({innerType:t,typeName:Lt.ZodOptional,...on(e)});Jp=class extends cn{_parse(e){return this._getType(e)===nt.null?F1(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Jp.create=(t,e)=>new Jp({innerType:t,typeName:Lt.ZodNullable,...on(e)});my=class extends cn{_parse(e){let{ctx:n}=this._processInputParams(e),a=n.data;return n.parsedType===nt.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};my.create=(t,e)=>new my({innerType:t,typeName:Lt.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...on(e)});zv=class extends cn{_parse(e){let{ctx:n}=this._processInputParams(e),a={...n,common:{...n.common,issues:[]}},r=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return xF(r)?r.then(f=>({status:"valid",value:f.status==="valid"?f.value:this._def.catchValue({get error(){return new m6(a.common.issues)},input:a.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new m6(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}};zv.create=(t,e)=>new zv({innerType:t,typeName:Lt.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...on(e)});Wv=class extends cn{_parse(e){if(this._getType(e)!==nt.nan){let a=this._getOrReturnCtx(e);return it(a,{code:D0.invalid_type,expected:nt.nan,received:a.parsedType}),Qt}return{status:"valid",value:e.data}}};Wv.create=t=>new Wv({typeName:Lt.ZodNaN,...on(t)});rB0=Symbol("zod_brand"),CF=class extends cn{_parse(e){let{ctx:n}=this._processInputParams(e),a=n.data;return this._def.type._parse({data:a,path:n.path,parent:n})}unwrap(){return this._def.type}},aI=class t extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.common.async)return(async()=>{let f=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return f.status==="aborted"?Qt:f.status==="dirty"?(n.dirty(),Ove(f.value)):this._def.out._parseAsync({data:f.value,path:a.path,parent:a})})();{let r=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return r.status==="aborted"?Qt:r.status==="dirty"?(n.dirty(),{status:"dirty",value:r.value}):this._def.out._parseSync({data:r.value,path:a.path,parent:a})}}static create(e,n){return new t({in:e,out:n,typeName:Lt.ZodPipeline})}},qv=class extends cn{_parse(e){let n=this._def.innerType._parse(e);return nI(n)&&(n.value=Object.freeze(n.value)),n}};qv.create=(t,e)=>new qv({innerType:t,typeName:Lt.ZodReadonly,...on(e)});Hve=(t,e={},n)=>t?p3.create().superRefine((a,r)=>{var f,i;if(!t(a)){let s=typeof e=="function"?e(a):typeof e=="string"?{message:e}:e,o=(i=(f=s.fatal)!==null&&f!==void 0?f:n)!==null&&i!==void 0?i:!0,c=typeof s=="string"?{message:s}:s;r.addIssue({code:"custom",...c,fatal:o})}}):p3.create(),fB0={object:Cc.lazycreate};(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(Lt||(Lt={}));iB0=(t,e={message:`Input not instance of ${t.name}`})=>Hve(n=>n instanceof t,e),zve=u3.create,Wve=ry.create,sB0=Wv.create,oB0=fy.create,qve=iy.create,cB0=sy.create,dB0=Nv.create,lB0=oy.create,uB0=cy.create,pB0=p3.create,hB0=Yp.create,bB0=Vd.create,mB0=Ov.create,yB0=$p.create,gB0=Cc.create,vB0=Cc.strictCreate,wB0=dy.create,TB0=EF.create,xB0=ly.create,EB0=c2.create,_B0=_F.create,AB0=Uv.create,CB0=Hv.create,IB0=AF.create,kB0=uy.create,SB0=py.create,RB0=hy.create,MB0=by.create,BB0=h3.create,Fve=y6.create,DB0=Qd.create,PB0=Jp.create,LB0=y6.createWithPreprocess,FB0=aI.create,NB0=()=>zve().optional(),OB0=()=>Wve().optional(),UB0=()=>qve().optional(),HB0={string:t=>u3.create({...t,coerce:!0}),number:t=>ry.create({...t,coerce:!0}),boolean:t=>iy.create({...t,coerce:!0}),bigint:t=>fy.create({...t,coerce:!0}),date:t=>sy.create({...t,coerce:!0})},zB0=Qt,fe=Object.freeze({__proto__:null,defaultErrorMap:tI,setErrorMap:GM0,getErrorMap:wF,makeIssue:TF,EMPTY_PATH:KM0,addIssueToContext:it,ParseStatus:So,INVALID:Qt,DIRTY:Ove,OK:F1,isAborted:y0e,isDirty:g0e,isValid:nI,isAsync:xF,get util(){return Ma},get objectUtil(){return m0e},ZodParsedType:nt,getParsedType:l3,ZodType:cn,ZodString:u3,ZodNumber:ry,ZodBigInt:fy,ZodBoolean:iy,ZodDate:sy,ZodSymbol:Nv,ZodUndefined:oy,ZodNull:cy,ZodAny:p3,ZodUnknown:Yp,ZodNever:Vd,ZodVoid:Ov,ZodArray:$p,ZodObject:Cc,ZodUnion:dy,ZodDiscriminatedUnion:EF,ZodIntersection:ly,ZodTuple:c2,ZodRecord:_F,ZodMap:Uv,ZodSet:Hv,ZodFunction:AF,ZodLazy:uy,ZodLiteral:py,ZodEnum:hy,ZodNativeEnum:by,ZodPromise:h3,ZodEffects:y6,ZodTransformer:y6,ZodOptional:Qd,ZodNullable:Jp,ZodDefault:my,ZodCatch:zv,ZodNaN:Wv,BRAND:rB0,ZodBranded:CF,ZodPipeline:aI,ZodReadonly:qv,custom:Hve,Schema:cn,ZodSchema:cn,late:fB0,get ZodFirstPartyTypeKind(){return Lt},coerce:HB0,any:pB0,array:yB0,bigint:oB0,boolean:qve,date:cB0,discriminatedUnion:TB0,effect:Fve,enum:RB0,function:IB0,instanceof:iB0,intersection:xB0,lazy:kB0,literal:SB0,map:AB0,nan:sB0,nativeEnum:MB0,never:bB0,null:uB0,nullable:PB0,number:Wve,object:gB0,oboolean:UB0,onumber:OB0,optional:DB0,ostring:NB0,pipeline:FB0,preprocess:LB0,promise:BB0,record:_B0,set:CB0,strictObject:vB0,string:zve,symbol:dB0,transformer:Fve,tuple:EB0,undefined:lB0,union:wB0,unknown:hB0,void:mB0,NEVER:zB0,ZodIssueCode:D0,quotelessJson:jM0,ZodError:m6})});function w0e(){if(!IF&&(IF=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!IF))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return IF(WB0)}var IF,WB0,jve=ce(()=>{u();p();WB0=new Uint8Array(16)});function Gve(t,e=0){return Vs[t[e+0]]+Vs[t[e+1]]+Vs[t[e+2]]+Vs[t[e+3]]+"-"+Vs[t[e+4]]+Vs[t[e+5]]+"-"+Vs[t[e+6]]+Vs[t[e+7]]+"-"+Vs[t[e+8]]+Vs[t[e+9]]+"-"+Vs[t[e+10]]+Vs[t[e+11]]+Vs[t[e+12]]+Vs[t[e+13]]+Vs[t[e+14]]+Vs[t[e+15]]}var Vs,Kve=ce(()=>{u();p();Vs=[];for(let t=0;t<256;++t)Vs.push((t+256).toString(16).slice(1))});var qB0,T0e,Qve=ce(()=>{u();p();qB0=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),T0e={randomUUID:qB0}});function jB0(t,e,n){if(T0e.randomUUID&&!e&&!t)return T0e.randomUUID();t=t||{};let a=t.random||(t.rng||w0e)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,e){n=n||0;for(let r=0;r<16;++r)e[n+r]=a[r];return e}return Gve(a)}var jv,Vve=ce(()=>{u();p();Qve();jve();Kve();jv=jB0});var x0e=ce(()=>{u();p();Vve()});var Va=D((Yve,E0e)=>{u();p();(function(t,e){"use strict";function n(w,m){if(!w)throw new Error(m||"Assertion failed")}function a(w,m){w.super_=m;var A=function(){};A.prototype=m.prototype,w.prototype=new A,w.prototype.constructor=w}function r(w,m,A){if(r.isBN(w))return w;this.negative=0,this.words=null,this.length=0,this.red=null,w!==null&&((m==="le"||m==="be")&&(A=m,m=10),this._init(w||0,m||10,A||"be"))}typeof t=="object"?t.exports=r:e.BN=r,r.BN=r,r.wordSize=26;var f;try{typeof window<"u"&&typeof window.Buffer<"u"?f=window.Buffer:f=Kf().Buffer}catch{}r.isBN=function(m){return m instanceof r?!0:m!==null&&typeof m=="object"&&m.constructor.wordSize===r.wordSize&&Array.isArray(m.words)},r.max=function(m,A){return m.cmp(A)>0?m:A},r.min=function(m,A){return m.cmp(A)<0?m:A},r.prototype._init=function(m,A,P){if(typeof m=="number")return this._initNumber(m,A,P);if(typeof m=="object")return this._initArray(m,A,P);A==="hex"&&(A=16),n(A===(A|0)&&A>=2&&A<=36),m=m.toString().replace(/\s+/g,"");var L=0;m[0]==="-"&&(L++,this.negative=1),L=0;L-=3)g=m[L]|m[L-1]<<8|m[L-2]<<16,this.words[x]|=g<>>26-B&67108863,B+=24,B>=26&&(B-=26,x++);else if(P==="le")for(L=0,x=0;L>>26-B&67108863,B+=24,B>=26&&(B-=26,x++);return this._strip()};function i(w,m){var A=w.charCodeAt(m);if(A>=48&&A<=57)return A-48;if(A>=65&&A<=70)return A-55;if(A>=97&&A<=102)return A-87;n(!1,"Invalid character in "+w)}function s(w,m,A){var P=i(w,A);return A-1>=m&&(P|=i(w,A-1)<<4),P}r.prototype._parseHex=function(m,A,P){this.length=Math.ceil((m.length-A)/6),this.words=new Array(this.length);for(var L=0;L=A;L-=2)B=s(m,A,L)<=18?(x-=18,g+=1,this.words[g]|=B>>>26):x+=8;else{var M=m.length-A;for(L=M%2===0?A+1:A;L=18?(x-=18,g+=1,this.words[g]|=B>>>26):x+=8}this._strip()};function o(w,m,A,P){for(var L=0,x=0,g=Math.min(w.length,A),B=m;B=49?x=M-49+10:M>=17?x=M-17+10:x=M,n(M>=0&&x1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},r.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{r.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch{r.prototype.inspect=d}else r.prototype.inspect=d;function d(){return(this.red?""}var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];r.prototype.toString=function(m,A){m=m||10,A=A|0||1;var P;if(m===16||m==="hex"){P="";for(var L=0,x=0,g=0;g>>24-L&16777215,L+=2,L>=26&&(L-=26,g--),x!==0||g!==this.length-1?P=l[6-M.length]+M+P:P=M+P}for(x!==0&&(P=x.toString(16)+P);P.length%A!==0;)P="0"+P;return this.negative!==0&&(P="-"+P),P}if(m===(m|0)&&m>=2&&m<=36){var S=h[m],q=y[m];P="";var ee=this.clone();for(ee.negative=0;!ee.isZero();){var U=ee.modrn(q).toString(m);ee=ee.idivn(q),ee.isZero()?P=U+P:P=l[S-U.length]+U+P}for(this.isZero()&&(P="0"+P);P.length%A!==0;)P="0"+P;return this.negative!==0&&(P="-"+P),P}n(!1,"Base should be between 2 and 36")},r.prototype.toNumber=function(){var m=this.words[0];return this.length===2?m+=this.words[1]*67108864:this.length===3&&this.words[2]===1?m+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-m:m},r.prototype.toJSON=function(){return this.toString(16,2)},f&&(r.prototype.toBuffer=function(m,A){return this.toArrayLike(f,m,A)}),r.prototype.toArray=function(m,A){return this.toArrayLike(Array,m,A)};var v=function(m,A){return m.allocUnsafe?m.allocUnsafe(A):new m(A)};r.prototype.toArrayLike=function(m,A,P){this._strip();var L=this.byteLength(),x=P||Math.max(1,L);n(L<=x,"byte array longer than desired length"),n(x>0,"Requested array length <= 0");var g=v(m,x),B=A==="le"?"LE":"BE";return this["_toArrayLike"+B](g,L),g},r.prototype._toArrayLikeLE=function(m,A){for(var P=0,L=0,x=0,g=0;x>8&255),P>16&255),g===6?(P>24&255),L=0,g=0):(L=B>>>24,g+=2)}if(P=0&&(m[P--]=B>>8&255),P>=0&&(m[P--]=B>>16&255),g===6?(P>=0&&(m[P--]=B>>24&255),L=0,g=0):(L=B>>>24,g+=2)}if(P>=0)for(m[P--]=L;P>=0;)m[P--]=0},Math.clz32?r.prototype._countBits=function(m){return 32-Math.clz32(m)}:r.prototype._countBits=function(m){var A=m,P=0;return A>=4096&&(P+=13,A>>>=13),A>=64&&(P+=7,A>>>=7),A>=8&&(P+=4,A>>>=4),A>=2&&(P+=2,A>>>=2),P+A},r.prototype._zeroBits=function(m){if(m===0)return 26;var A=m,P=0;return A&8191||(P+=13,A>>>=13),A&127||(P+=7,A>>>=7),A&15||(P+=4,A>>>=4),A&3||(P+=2,A>>>=2),A&1||P++,P},r.prototype.bitLength=function(){var m=this.words[this.length-1],A=this._countBits(m);return(this.length-1)*26+A};function k(w){for(var m=new Array(w.bitLength()),A=0;A>>L&1}return m}r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var m=0,A=0;Am.length?this.clone().ior(m):m.clone().ior(this)},r.prototype.uor=function(m){return this.length>m.length?this.clone().iuor(m):m.clone().iuor(this)},r.prototype.iuand=function(m){var A;this.length>m.length?A=m:A=this;for(var P=0;Pm.length?this.clone().iand(m):m.clone().iand(this)},r.prototype.uand=function(m){return this.length>m.length?this.clone().iuand(m):m.clone().iuand(this)},r.prototype.iuxor=function(m){var A,P;this.length>m.length?(A=this,P=m):(A=m,P=this);for(var L=0;Lm.length?this.clone().ixor(m):m.clone().ixor(this)},r.prototype.uxor=function(m){return this.length>m.length?this.clone().iuxor(m):m.clone().iuxor(this)},r.prototype.inotn=function(m){n(typeof m=="number"&&m>=0);var A=Math.ceil(m/26)|0,P=m%26;this._expand(A),P>0&&A--;for(var L=0;L0&&(this.words[L]=~this.words[L]&67108863>>26-P),this._strip()},r.prototype.notn=function(m){return this.clone().inotn(m)},r.prototype.setn=function(m,A){n(typeof m=="number"&&m>=0);var P=m/26|0,L=m%26;return this._expand(P+1),A?this.words[P]=this.words[P]|1<m.length?(P=this,L=m):(P=m,L=this);for(var x=0,g=0;g>>26;for(;x!==0&&g>>26;if(this.length=P.length,x!==0)this.words[this.length]=x,this.length++;else if(P!==this)for(;gm.length?this.clone().iadd(m):m.clone().iadd(this)},r.prototype.isub=function(m){if(m.negative!==0){m.negative=0;var A=this.iadd(m);return m.negative=1,A._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(m),this.negative=1,this._normSign();var P=this.cmp(m);if(P===0)return this.negative=0,this.length=1,this.words[0]=0,this;var L,x;P>0?(L=this,x=m):(L=m,x=this);for(var g=0,B=0;B>26,this.words[B]=A&67108863;for(;g!==0&&B>26,this.words[B]=A&67108863;if(g===0&&B>>26,ee=M&67108863,U=Math.min(S,m.length-1),J=Math.max(0,S-w.length+1);J<=U;J++){var Z=S-J|0;L=w.words[Z]|0,x=m.words[J]|0,g=L*x+ee,q+=g/67108864|0,ee=g&67108863}A.words[S]=ee|0,M=q|0}return M!==0?A.words[S]=M|0:A.length--,A._strip()}var F=function(m,A,P){var L=m.words,x=A.words,g=P.words,B=0,M,S,q,ee=L[0]|0,U=ee&8191,J=ee>>>13,Z=L[1]|0,ne=Z&8191,ue=Z>>>13,Y=L[2]|0,re=Y&8191,ie=Y>>>13,ge=L[3]|0,de=ge&8191,Ae=ge>>>13,Ge=L[4]|0,Be=Ge&8191,c0=Ge>>>13,Ye=L[5]|0,He=Ye&8191,_0=Ye>>>13,L0=L[6]|0,Ze=L0&8191,I0=L0>>>13,pe=L[7]|0,he=pe&8191,Te=pe>>>13,Ce=L[8]|0,Se=Ce&8191,Qe=Ce>>>13,u0=L[9]|0,qe=u0&8191,v0=u0>>>13,w0=x[0]|0,Ve=w0&8191,be=w0>>>13,ye=x[1]|0,_e=ye&8191,ze=ye>>>13,je=x[2]|0,Ue=je&8191,b0=je>>>13,h0=x[3]|0,$e=h0&8191,M0=h0>>>13,P0=x[4]|0,t0=P0&8191,j0=P0>>>13,z0=x[5]|0,Ke=z0&8191,B0=z0>>>13,G0=x[6]|0,s0=G0&8191,X0=G0>>>13,Y0=x[7]|0,l0=Y0&8191,K0=Y0>>>13,tt=x[8]|0,p0=tt&8191,et=tt>>>13,Et=x[9]|0,$0=Et&8191,Tt=Et>>>13;P.negative=m.negative^A.negative,P.length=19,M=Math.imul(U,Ve),S=Math.imul(U,be),S=S+Math.imul(J,Ve)|0,q=Math.imul(J,be);var Pn=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,M=Math.imul(ne,Ve),S=Math.imul(ne,be),S=S+Math.imul(ue,Ve)|0,q=Math.imul(ue,be),M=M+Math.imul(U,_e)|0,S=S+Math.imul(U,ze)|0,S=S+Math.imul(J,_e)|0,q=q+Math.imul(J,ze)|0;var Ln=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,M=Math.imul(re,Ve),S=Math.imul(re,be),S=S+Math.imul(ie,Ve)|0,q=Math.imul(ie,be),M=M+Math.imul(ne,_e)|0,S=S+Math.imul(ne,ze)|0,S=S+Math.imul(ue,_e)|0,q=q+Math.imul(ue,ze)|0,M=M+Math.imul(U,Ue)|0,S=S+Math.imul(U,b0)|0,S=S+Math.imul(J,Ue)|0,q=q+Math.imul(J,b0)|0;var Fn=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,M=Math.imul(de,Ve),S=Math.imul(de,be),S=S+Math.imul(Ae,Ve)|0,q=Math.imul(Ae,be),M=M+Math.imul(re,_e)|0,S=S+Math.imul(re,ze)|0,S=S+Math.imul(ie,_e)|0,q=q+Math.imul(ie,ze)|0,M=M+Math.imul(ne,Ue)|0,S=S+Math.imul(ne,b0)|0,S=S+Math.imul(ue,Ue)|0,q=q+Math.imul(ue,b0)|0,M=M+Math.imul(U,$e)|0,S=S+Math.imul(U,M0)|0,S=S+Math.imul(J,$e)|0,q=q+Math.imul(J,M0)|0;var Nn=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Nn>>>26)|0,Nn&=67108863,M=Math.imul(Be,Ve),S=Math.imul(Be,be),S=S+Math.imul(c0,Ve)|0,q=Math.imul(c0,be),M=M+Math.imul(de,_e)|0,S=S+Math.imul(de,ze)|0,S=S+Math.imul(Ae,_e)|0,q=q+Math.imul(Ae,ze)|0,M=M+Math.imul(re,Ue)|0,S=S+Math.imul(re,b0)|0,S=S+Math.imul(ie,Ue)|0,q=q+Math.imul(ie,b0)|0,M=M+Math.imul(ne,$e)|0,S=S+Math.imul(ne,M0)|0,S=S+Math.imul(ue,$e)|0,q=q+Math.imul(ue,M0)|0,M=M+Math.imul(U,t0)|0,S=S+Math.imul(U,j0)|0,S=S+Math.imul(J,t0)|0,q=q+Math.imul(J,j0)|0;var On=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(On>>>26)|0,On&=67108863,M=Math.imul(He,Ve),S=Math.imul(He,be),S=S+Math.imul(_0,Ve)|0,q=Math.imul(_0,be),M=M+Math.imul(Be,_e)|0,S=S+Math.imul(Be,ze)|0,S=S+Math.imul(c0,_e)|0,q=q+Math.imul(c0,ze)|0,M=M+Math.imul(de,Ue)|0,S=S+Math.imul(de,b0)|0,S=S+Math.imul(Ae,Ue)|0,q=q+Math.imul(Ae,b0)|0,M=M+Math.imul(re,$e)|0,S=S+Math.imul(re,M0)|0,S=S+Math.imul(ie,$e)|0,q=q+Math.imul(ie,M0)|0,M=M+Math.imul(ne,t0)|0,S=S+Math.imul(ne,j0)|0,S=S+Math.imul(ue,t0)|0,q=q+Math.imul(ue,j0)|0,M=M+Math.imul(U,Ke)|0,S=S+Math.imul(U,B0)|0,S=S+Math.imul(J,Ke)|0,q=q+Math.imul(J,B0)|0;var Ha=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Ha>>>26)|0,Ha&=67108863,M=Math.imul(Ze,Ve),S=Math.imul(Ze,be),S=S+Math.imul(I0,Ve)|0,q=Math.imul(I0,be),M=M+Math.imul(He,_e)|0,S=S+Math.imul(He,ze)|0,S=S+Math.imul(_0,_e)|0,q=q+Math.imul(_0,ze)|0,M=M+Math.imul(Be,Ue)|0,S=S+Math.imul(Be,b0)|0,S=S+Math.imul(c0,Ue)|0,q=q+Math.imul(c0,b0)|0,M=M+Math.imul(de,$e)|0,S=S+Math.imul(de,M0)|0,S=S+Math.imul(Ae,$e)|0,q=q+Math.imul(Ae,M0)|0,M=M+Math.imul(re,t0)|0,S=S+Math.imul(re,j0)|0,S=S+Math.imul(ie,t0)|0,q=q+Math.imul(ie,j0)|0,M=M+Math.imul(ne,Ke)|0,S=S+Math.imul(ne,B0)|0,S=S+Math.imul(ue,Ke)|0,q=q+Math.imul(ue,B0)|0,M=M+Math.imul(U,s0)|0,S=S+Math.imul(U,X0)|0,S=S+Math.imul(J,s0)|0,q=q+Math.imul(J,X0)|0;var pr=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(pr>>>26)|0,pr&=67108863,M=Math.imul(he,Ve),S=Math.imul(he,be),S=S+Math.imul(Te,Ve)|0,q=Math.imul(Te,be),M=M+Math.imul(Ze,_e)|0,S=S+Math.imul(Ze,ze)|0,S=S+Math.imul(I0,_e)|0,q=q+Math.imul(I0,ze)|0,M=M+Math.imul(He,Ue)|0,S=S+Math.imul(He,b0)|0,S=S+Math.imul(_0,Ue)|0,q=q+Math.imul(_0,b0)|0,M=M+Math.imul(Be,$e)|0,S=S+Math.imul(Be,M0)|0,S=S+Math.imul(c0,$e)|0,q=q+Math.imul(c0,M0)|0,M=M+Math.imul(de,t0)|0,S=S+Math.imul(de,j0)|0,S=S+Math.imul(Ae,t0)|0,q=q+Math.imul(Ae,j0)|0,M=M+Math.imul(re,Ke)|0,S=S+Math.imul(re,B0)|0,S=S+Math.imul(ie,Ke)|0,q=q+Math.imul(ie,B0)|0,M=M+Math.imul(ne,s0)|0,S=S+Math.imul(ne,X0)|0,S=S+Math.imul(ue,s0)|0,q=q+Math.imul(ue,X0)|0,M=M+Math.imul(U,l0)|0,S=S+Math.imul(U,K0)|0,S=S+Math.imul(J,l0)|0,q=q+Math.imul(J,K0)|0;var za=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(za>>>26)|0,za&=67108863,M=Math.imul(Se,Ve),S=Math.imul(Se,be),S=S+Math.imul(Qe,Ve)|0,q=Math.imul(Qe,be),M=M+Math.imul(he,_e)|0,S=S+Math.imul(he,ze)|0,S=S+Math.imul(Te,_e)|0,q=q+Math.imul(Te,ze)|0,M=M+Math.imul(Ze,Ue)|0,S=S+Math.imul(Ze,b0)|0,S=S+Math.imul(I0,Ue)|0,q=q+Math.imul(I0,b0)|0,M=M+Math.imul(He,$e)|0,S=S+Math.imul(He,M0)|0,S=S+Math.imul(_0,$e)|0,q=q+Math.imul(_0,M0)|0,M=M+Math.imul(Be,t0)|0,S=S+Math.imul(Be,j0)|0,S=S+Math.imul(c0,t0)|0,q=q+Math.imul(c0,j0)|0,M=M+Math.imul(de,Ke)|0,S=S+Math.imul(de,B0)|0,S=S+Math.imul(Ae,Ke)|0,q=q+Math.imul(Ae,B0)|0,M=M+Math.imul(re,s0)|0,S=S+Math.imul(re,X0)|0,S=S+Math.imul(ie,s0)|0,q=q+Math.imul(ie,X0)|0,M=M+Math.imul(ne,l0)|0,S=S+Math.imul(ne,K0)|0,S=S+Math.imul(ue,l0)|0,q=q+Math.imul(ue,K0)|0,M=M+Math.imul(U,p0)|0,S=S+Math.imul(U,et)|0,S=S+Math.imul(J,p0)|0,q=q+Math.imul(J,et)|0;var hr=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(hr>>>26)|0,hr&=67108863,M=Math.imul(qe,Ve),S=Math.imul(qe,be),S=S+Math.imul(v0,Ve)|0,q=Math.imul(v0,be),M=M+Math.imul(Se,_e)|0,S=S+Math.imul(Se,ze)|0,S=S+Math.imul(Qe,_e)|0,q=q+Math.imul(Qe,ze)|0,M=M+Math.imul(he,Ue)|0,S=S+Math.imul(he,b0)|0,S=S+Math.imul(Te,Ue)|0,q=q+Math.imul(Te,b0)|0,M=M+Math.imul(Ze,$e)|0,S=S+Math.imul(Ze,M0)|0,S=S+Math.imul(I0,$e)|0,q=q+Math.imul(I0,M0)|0,M=M+Math.imul(He,t0)|0,S=S+Math.imul(He,j0)|0,S=S+Math.imul(_0,t0)|0,q=q+Math.imul(_0,j0)|0,M=M+Math.imul(Be,Ke)|0,S=S+Math.imul(Be,B0)|0,S=S+Math.imul(c0,Ke)|0,q=q+Math.imul(c0,B0)|0,M=M+Math.imul(de,s0)|0,S=S+Math.imul(de,X0)|0,S=S+Math.imul(Ae,s0)|0,q=q+Math.imul(Ae,X0)|0,M=M+Math.imul(re,l0)|0,S=S+Math.imul(re,K0)|0,S=S+Math.imul(ie,l0)|0,q=q+Math.imul(ie,K0)|0,M=M+Math.imul(ne,p0)|0,S=S+Math.imul(ne,et)|0,S=S+Math.imul(ue,p0)|0,q=q+Math.imul(ue,et)|0,M=M+Math.imul(U,$0)|0,S=S+Math.imul(U,Tt)|0,S=S+Math.imul(J,$0)|0,q=q+Math.imul(J,Tt)|0;var ar=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(ar>>>26)|0,ar&=67108863,M=Math.imul(qe,_e),S=Math.imul(qe,ze),S=S+Math.imul(v0,_e)|0,q=Math.imul(v0,ze),M=M+Math.imul(Se,Ue)|0,S=S+Math.imul(Se,b0)|0,S=S+Math.imul(Qe,Ue)|0,q=q+Math.imul(Qe,b0)|0,M=M+Math.imul(he,$e)|0,S=S+Math.imul(he,M0)|0,S=S+Math.imul(Te,$e)|0,q=q+Math.imul(Te,M0)|0,M=M+Math.imul(Ze,t0)|0,S=S+Math.imul(Ze,j0)|0,S=S+Math.imul(I0,t0)|0,q=q+Math.imul(I0,j0)|0,M=M+Math.imul(He,Ke)|0,S=S+Math.imul(He,B0)|0,S=S+Math.imul(_0,Ke)|0,q=q+Math.imul(_0,B0)|0,M=M+Math.imul(Be,s0)|0,S=S+Math.imul(Be,X0)|0,S=S+Math.imul(c0,s0)|0,q=q+Math.imul(c0,X0)|0,M=M+Math.imul(de,l0)|0,S=S+Math.imul(de,K0)|0,S=S+Math.imul(Ae,l0)|0,q=q+Math.imul(Ae,K0)|0,M=M+Math.imul(re,p0)|0,S=S+Math.imul(re,et)|0,S=S+Math.imul(ie,p0)|0,q=q+Math.imul(ie,et)|0,M=M+Math.imul(ne,$0)|0,S=S+Math.imul(ne,Tt)|0,S=S+Math.imul(ue,$0)|0,q=q+Math.imul(ue,Tt)|0;var Cr=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,M=Math.imul(qe,Ue),S=Math.imul(qe,b0),S=S+Math.imul(v0,Ue)|0,q=Math.imul(v0,b0),M=M+Math.imul(Se,$e)|0,S=S+Math.imul(Se,M0)|0,S=S+Math.imul(Qe,$e)|0,q=q+Math.imul(Qe,M0)|0,M=M+Math.imul(he,t0)|0,S=S+Math.imul(he,j0)|0,S=S+Math.imul(Te,t0)|0,q=q+Math.imul(Te,j0)|0,M=M+Math.imul(Ze,Ke)|0,S=S+Math.imul(Ze,B0)|0,S=S+Math.imul(I0,Ke)|0,q=q+Math.imul(I0,B0)|0,M=M+Math.imul(He,s0)|0,S=S+Math.imul(He,X0)|0,S=S+Math.imul(_0,s0)|0,q=q+Math.imul(_0,X0)|0,M=M+Math.imul(Be,l0)|0,S=S+Math.imul(Be,K0)|0,S=S+Math.imul(c0,l0)|0,q=q+Math.imul(c0,K0)|0,M=M+Math.imul(de,p0)|0,S=S+Math.imul(de,et)|0,S=S+Math.imul(Ae,p0)|0,q=q+Math.imul(Ae,et)|0,M=M+Math.imul(re,$0)|0,S=S+Math.imul(re,Tt)|0,S=S+Math.imul(ie,$0)|0,q=q+Math.imul(ie,Tt)|0;var Jr=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Jr>>>26)|0,Jr&=67108863,M=Math.imul(qe,$e),S=Math.imul(qe,M0),S=S+Math.imul(v0,$e)|0,q=Math.imul(v0,M0),M=M+Math.imul(Se,t0)|0,S=S+Math.imul(Se,j0)|0,S=S+Math.imul(Qe,t0)|0,q=q+Math.imul(Qe,j0)|0,M=M+Math.imul(he,Ke)|0,S=S+Math.imul(he,B0)|0,S=S+Math.imul(Te,Ke)|0,q=q+Math.imul(Te,B0)|0,M=M+Math.imul(Ze,s0)|0,S=S+Math.imul(Ze,X0)|0,S=S+Math.imul(I0,s0)|0,q=q+Math.imul(I0,X0)|0,M=M+Math.imul(He,l0)|0,S=S+Math.imul(He,K0)|0,S=S+Math.imul(_0,l0)|0,q=q+Math.imul(_0,K0)|0,M=M+Math.imul(Be,p0)|0,S=S+Math.imul(Be,et)|0,S=S+Math.imul(c0,p0)|0,q=q+Math.imul(c0,et)|0,M=M+Math.imul(de,$0)|0,S=S+Math.imul(de,Tt)|0,S=S+Math.imul(Ae,$0)|0,q=q+Math.imul(Ae,Tt)|0;var rr=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(rr>>>26)|0,rr&=67108863,M=Math.imul(qe,t0),S=Math.imul(qe,j0),S=S+Math.imul(v0,t0)|0,q=Math.imul(v0,j0),M=M+Math.imul(Se,Ke)|0,S=S+Math.imul(Se,B0)|0,S=S+Math.imul(Qe,Ke)|0,q=q+Math.imul(Qe,B0)|0,M=M+Math.imul(he,s0)|0,S=S+Math.imul(he,X0)|0,S=S+Math.imul(Te,s0)|0,q=q+Math.imul(Te,X0)|0,M=M+Math.imul(Ze,l0)|0,S=S+Math.imul(Ze,K0)|0,S=S+Math.imul(I0,l0)|0,q=q+Math.imul(I0,K0)|0,M=M+Math.imul(He,p0)|0,S=S+Math.imul(He,et)|0,S=S+Math.imul(_0,p0)|0,q=q+Math.imul(_0,et)|0,M=M+Math.imul(Be,$0)|0,S=S+Math.imul(Be,Tt)|0,S=S+Math.imul(c0,$0)|0,q=q+Math.imul(c0,Tt)|0;var of=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(of>>>26)|0,of&=67108863,M=Math.imul(qe,Ke),S=Math.imul(qe,B0),S=S+Math.imul(v0,Ke)|0,q=Math.imul(v0,B0),M=M+Math.imul(Se,s0)|0,S=S+Math.imul(Se,X0)|0,S=S+Math.imul(Qe,s0)|0,q=q+Math.imul(Qe,X0)|0,M=M+Math.imul(he,l0)|0,S=S+Math.imul(he,K0)|0,S=S+Math.imul(Te,l0)|0,q=q+Math.imul(Te,K0)|0,M=M+Math.imul(Ze,p0)|0,S=S+Math.imul(Ze,et)|0,S=S+Math.imul(I0,p0)|0,q=q+Math.imul(I0,et)|0,M=M+Math.imul(He,$0)|0,S=S+Math.imul(He,Tt)|0,S=S+Math.imul(_0,$0)|0,q=q+Math.imul(_0,Tt)|0;var jf=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(jf>>>26)|0,jf&=67108863,M=Math.imul(qe,s0),S=Math.imul(qe,X0),S=S+Math.imul(v0,s0)|0,q=Math.imul(v0,X0),M=M+Math.imul(Se,l0)|0,S=S+Math.imul(Se,K0)|0,S=S+Math.imul(Qe,l0)|0,q=q+Math.imul(Qe,K0)|0,M=M+Math.imul(he,p0)|0,S=S+Math.imul(he,et)|0,S=S+Math.imul(Te,p0)|0,q=q+Math.imul(Te,et)|0,M=M+Math.imul(Ze,$0)|0,S=S+Math.imul(Ze,Tt)|0,S=S+Math.imul(I0,$0)|0,q=q+Math.imul(I0,Tt)|0;var Gs=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Gs>>>26)|0,Gs&=67108863,M=Math.imul(qe,l0),S=Math.imul(qe,K0),S=S+Math.imul(v0,l0)|0,q=Math.imul(v0,K0),M=M+Math.imul(Se,p0)|0,S=S+Math.imul(Se,et)|0,S=S+Math.imul(Qe,p0)|0,q=q+Math.imul(Qe,et)|0,M=M+Math.imul(he,$0)|0,S=S+Math.imul(he,Tt)|0,S=S+Math.imul(Te,$0)|0,q=q+Math.imul(Te,Tt)|0;var Hd=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Hd>>>26)|0,Hd&=67108863,M=Math.imul(qe,p0),S=Math.imul(qe,et),S=S+Math.imul(v0,p0)|0,q=Math.imul(v0,et),M=M+Math.imul(Se,$0)|0,S=S+Math.imul(Se,Tt)|0,S=S+Math.imul(Qe,$0)|0,q=q+Math.imul(Qe,Tt)|0;var zd=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(zd>>>26)|0,zd&=67108863,M=Math.imul(qe,$0),S=Math.imul(qe,Tt),S=S+Math.imul(v0,$0)|0,q=Math.imul(v0,Tt);var t2=(B+M|0)+((S&8191)<<13)|0;return B=(q+(S>>>13)|0)+(t2>>>26)|0,t2&=67108863,g[0]=Pn,g[1]=Ln,g[2]=Fn,g[3]=Nn,g[4]=On,g[5]=Ha,g[6]=pr,g[7]=za,g[8]=hr,g[9]=ar,g[10]=Cr,g[11]=Jr,g[12]=rr,g[13]=of,g[14]=jf,g[15]=Gs,g[16]=Hd,g[17]=zd,g[18]=t2,B!==0&&(g[19]=B,P.length++),P};Math.imul||(F=O);function z(w,m,A){A.negative=m.negative^w.negative,A.length=w.length+m.length;for(var P=0,L=0,x=0;x>>26)|0,L+=g>>>26,g&=67108863}A.words[x]=B,P=g,g=L}return P!==0?A.words[x]=P:A.length--,A._strip()}function W(w,m,A){return z(w,m,A)}r.prototype.mulTo=function(m,A){var P,L=this.length+m.length;return this.length===10&&m.length===10?P=F(this,m,A):L<63?P=O(this,m,A):L<1024?P=z(this,m,A):P=W(this,m,A),P};function j(w,m){this.x=w,this.y=m}j.prototype.makeRBT=function(m){for(var A=new Array(m),P=r.prototype._countBits(m)-1,L=0;L>=1;return L},j.prototype.permute=function(m,A,P,L,x,g){for(var B=0;B>>1)x++;return 1<>>13,P[2*g+1]=x&8191,x=x>>>13;for(g=2*A;g>=26,P+=x/67108864|0,P+=g>>>26,this.words[L]=g&67108863}return P!==0&&(this.words[L]=P,this.length++),A?this.ineg():this},r.prototype.muln=function(m){return this.clone().imuln(m)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(m){var A=k(m);if(A.length===0)return new r(1);for(var P=this,L=0;L=0);var A=m%26,P=(m-A)/26,L=67108863>>>26-A<<26-A,x;if(A!==0){var g=0;for(x=0;x>>26-A}g&&(this.words[x]=g,this.length++)}if(P!==0){for(x=this.length-1;x>=0;x--)this.words[x+P]=this.words[x];for(x=0;x=0);var L;A?L=(A-A%26)/26:L=0;var x=m%26,g=Math.min((m-x)/26,this.length),B=67108863^67108863>>>x<g)for(this.length-=g,S=0;S=0&&(q!==0||S>=L);S--){var ee=this.words[S]|0;this.words[S]=q<<26-x|ee>>>x,q=ee&B}return M&&q!==0&&(M.words[M.length++]=q),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},r.prototype.ishrn=function(m,A,P){return n(this.negative===0),this.iushrn(m,A,P)},r.prototype.shln=function(m){return this.clone().ishln(m)},r.prototype.ushln=function(m){return this.clone().iushln(m)},r.prototype.shrn=function(m){return this.clone().ishrn(m)},r.prototype.ushrn=function(m){return this.clone().iushrn(m)},r.prototype.testn=function(m){n(typeof m=="number"&&m>=0);var A=m%26,P=(m-A)/26,L=1<=0);var A=m%26,P=(m-A)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=P)return this;if(A!==0&&P++,this.length=Math.min(P,this.length),A!==0){var L=67108863^67108863>>>A<=67108864;A++)this.words[A]-=67108864,A===this.length-1?this.words[A+1]=1:this.words[A+1]++;return this.length=Math.max(this.length,A+1),this},r.prototype.isubn=function(m){if(n(typeof m=="number"),n(m<67108864),m<0)return this.iaddn(-m);if(this.negative!==0)return this.negative=0,this.iaddn(m),this.negative=1,this;if(this.words[0]-=m,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var A=0;A>26)-(M/67108864|0),this.words[x+P]=g&67108863}for(;x>26,this.words[x+P]=g&67108863;if(B===0)return this._strip();for(n(B===-1),B=0,x=0;x>26,this.words[x]=g&67108863;return this.negative=1,this._strip()},r.prototype._wordDiv=function(m,A){var P=this.length-m.length,L=this.clone(),x=m,g=x.words[x.length-1]|0,B=this._countBits(g);P=26-B,P!==0&&(x=x.ushln(P),L.iushln(P),g=x.words[x.length-1]|0);var M=L.length-x.length,S;if(A!=="mod"){S=new r(null),S.length=M+1,S.words=new Array(S.length);for(var q=0;q=0;U--){var J=(L.words[x.length+U]|0)*67108864+(L.words[x.length+U-1]|0);for(J=Math.min(J/g|0,67108863),L._ishlnsubmul(x,J,U);L.negative!==0;)J--,L.negative=0,L._ishlnsubmul(x,1,U),L.isZero()||(L.negative^=1);S&&(S.words[U]=J)}return S&&S._strip(),L._strip(),A!=="div"&&P!==0&&L.iushrn(P),{div:S||null,mod:L}},r.prototype.divmod=function(m,A,P){if(n(!m.isZero()),this.isZero())return{div:new r(0),mod:new r(0)};var L,x,g;return this.negative!==0&&m.negative===0?(g=this.neg().divmod(m,A),A!=="mod"&&(L=g.div.neg()),A!=="div"&&(x=g.mod.neg(),P&&x.negative!==0&&x.iadd(m)),{div:L,mod:x}):this.negative===0&&m.negative!==0?(g=this.divmod(m.neg(),A),A!=="mod"&&(L=g.div.neg()),{div:L,mod:g.mod}):this.negative&m.negative?(g=this.neg().divmod(m.neg(),A),A!=="div"&&(x=g.mod.neg(),P&&x.negative!==0&&x.isub(m)),{div:g.div,mod:x}):m.length>this.length||this.cmp(m)<0?{div:new r(0),mod:this}:m.length===1?A==="div"?{div:this.divn(m.words[0]),mod:null}:A==="mod"?{div:null,mod:new r(this.modrn(m.words[0]))}:{div:this.divn(m.words[0]),mod:new r(this.modrn(m.words[0]))}:this._wordDiv(m,A)},r.prototype.div=function(m){return this.divmod(m,"div",!1).div},r.prototype.mod=function(m){return this.divmod(m,"mod",!1).mod},r.prototype.umod=function(m){return this.divmod(m,"mod",!0).mod},r.prototype.divRound=function(m){var A=this.divmod(m);if(A.mod.isZero())return A.div;var P=A.div.negative!==0?A.mod.isub(m):A.mod,L=m.ushrn(1),x=m.andln(1),g=P.cmp(L);return g<0||x===1&&g===0?A.div:A.div.negative!==0?A.div.isubn(1):A.div.iaddn(1)},r.prototype.modrn=function(m){var A=m<0;A&&(m=-m),n(m<=67108863);for(var P=(1<<26)%m,L=0,x=this.length-1;x>=0;x--)L=(P*L+(this.words[x]|0))%m;return A?-L:L},r.prototype.modn=function(m){return this.modrn(m)},r.prototype.idivn=function(m){var A=m<0;A&&(m=-m),n(m<=67108863);for(var P=0,L=this.length-1;L>=0;L--){var x=(this.words[L]|0)+P*67108864;this.words[L]=x/m|0,P=x%m}return this._strip(),A?this.ineg():this},r.prototype.divn=function(m){return this.clone().idivn(m)},r.prototype.egcd=function(m){n(m.negative===0),n(!m.isZero());var A=this,P=m.clone();A.negative!==0?A=A.umod(m):A=A.clone();for(var L=new r(1),x=new r(0),g=new r(0),B=new r(1),M=0;A.isEven()&&P.isEven();)A.iushrn(1),P.iushrn(1),++M;for(var S=P.clone(),q=A.clone();!A.isZero();){for(var ee=0,U=1;!(A.words[0]&U)&&ee<26;++ee,U<<=1);if(ee>0)for(A.iushrn(ee);ee-- >0;)(L.isOdd()||x.isOdd())&&(L.iadd(S),x.isub(q)),L.iushrn(1),x.iushrn(1);for(var J=0,Z=1;!(P.words[0]&Z)&&J<26;++J,Z<<=1);if(J>0)for(P.iushrn(J);J-- >0;)(g.isOdd()||B.isOdd())&&(g.iadd(S),B.isub(q)),g.iushrn(1),B.iushrn(1);A.cmp(P)>=0?(A.isub(P),L.isub(g),x.isub(B)):(P.isub(A),g.isub(L),B.isub(x))}return{a:g,b:B,gcd:P.iushln(M)}},r.prototype._invmp=function(m){n(m.negative===0),n(!m.isZero());var A=this,P=m.clone();A.negative!==0?A=A.umod(m):A=A.clone();for(var L=new r(1),x=new r(0),g=P.clone();A.cmpn(1)>0&&P.cmpn(1)>0;){for(var B=0,M=1;!(A.words[0]&M)&&B<26;++B,M<<=1);if(B>0)for(A.iushrn(B);B-- >0;)L.isOdd()&&L.iadd(g),L.iushrn(1);for(var S=0,q=1;!(P.words[0]&q)&&S<26;++S,q<<=1);if(S>0)for(P.iushrn(S);S-- >0;)x.isOdd()&&x.iadd(g),x.iushrn(1);A.cmp(P)>=0?(A.isub(P),L.isub(x)):(P.isub(A),x.isub(L))}var ee;return A.cmpn(1)===0?ee=L:ee=x,ee.cmpn(0)<0&&ee.iadd(m),ee},r.prototype.gcd=function(m){if(this.isZero())return m.abs();if(m.isZero())return this.abs();var A=this.clone(),P=m.clone();A.negative=0,P.negative=0;for(var L=0;A.isEven()&&P.isEven();L++)A.iushrn(1),P.iushrn(1);do{for(;A.isEven();)A.iushrn(1);for(;P.isEven();)P.iushrn(1);var x=A.cmp(P);if(x<0){var g=A;A=P,P=g}else if(x===0||P.cmpn(1)===0)break;A.isub(P)}while(!0);return P.iushln(L)},r.prototype.invm=function(m){return this.egcd(m).a.umod(m)},r.prototype.isEven=function(){return(this.words[0]&1)===0},r.prototype.isOdd=function(){return(this.words[0]&1)===1},r.prototype.andln=function(m){return this.words[0]&m},r.prototype.bincn=function(m){n(typeof m=="number");var A=m%26,P=(m-A)/26,L=1<>>26,B&=67108863,this.words[g]=B}return x!==0&&(this.words[g]=x,this.length++),this},r.prototype.isZero=function(){return this.length===1&&this.words[0]===0},r.prototype.cmpn=function(m){var A=m<0;if(this.negative!==0&&!A)return-1;if(this.negative===0&&A)return 1;this._strip();var P;if(this.length>1)P=1;else{A&&(m=-m),n(m<=67108863,"Number is too big");var L=this.words[0]|0;P=L===m?0:Lm.length)return 1;if(this.length=0;P--){var L=this.words[P]|0,x=m.words[P]|0;if(L!==x){Lx&&(A=1);break}}return A},r.prototype.gtn=function(m){return this.cmpn(m)===1},r.prototype.gt=function(m){return this.cmp(m)===1},r.prototype.gten=function(m){return this.cmpn(m)>=0},r.prototype.gte=function(m){return this.cmp(m)>=0},r.prototype.ltn=function(m){return this.cmpn(m)===-1},r.prototype.lt=function(m){return this.cmp(m)===-1},r.prototype.lten=function(m){return this.cmpn(m)<=0},r.prototype.lte=function(m){return this.cmp(m)<=0},r.prototype.eqn=function(m){return this.cmpn(m)===0},r.prototype.eq=function(m){return this.cmp(m)===0},r.red=function(m){return new T(m)},r.prototype.toRed=function(m){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),m.convertTo(this)._forceRed(m)},r.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(m){return this.red=m,this},r.prototype.forceRed=function(m){return n(!this.red,"Already a number in reduction context"),this._forceRed(m)},r.prototype.redAdd=function(m){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,m)},r.prototype.redIAdd=function(m){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,m)},r.prototype.redSub=function(m){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,m)},r.prototype.redISub=function(m){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,m)},r.prototype.redShl=function(m){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,m)},r.prototype.redMul=function(m){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,m),this.red.mul(this,m)},r.prototype.redIMul=function(m){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,m),this.red.imul(this,m)},r.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},r.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},r.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},r.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},r.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},r.prototype.redPow=function(m){return n(this.red&&!m.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,m)};var Q={k256:null,p224:null,p192:null,p25519:null};function V(w,m){this.name=w,this.p=new r(m,16),this.n=this.p.bitLength(),this.k=new r(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}V.prototype._tmp=function(){var m=new r(null);return m.words=new Array(Math.ceil(this.n/13)),m},V.prototype.ireduce=function(m){var A=m,P;do this.split(A,this.tmp),A=this.imulK(A),A=A.iadd(this.tmp),P=A.bitLength();while(P>this.n);var L=P0?A.isub(this.p):A.strip!==void 0?A.strip():A._strip(),A},V.prototype.split=function(m,A){m.iushrn(this.n,0,A)},V.prototype.imulK=function(m){return m.imul(this.k)};function X(){V.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(X,V),X.prototype.split=function(m,A){for(var P=4194303,L=Math.min(m.length,9),x=0;x>>22,g=B}g>>>=22,m.words[x-10]=g,g===0&&m.length>10?m.length-=10:m.length-=9},X.prototype.imulK=function(m){m.words[m.length]=0,m.words[m.length+1]=0,m.length+=2;for(var A=0,P=0;P>>=26,m.words[P]=x,A=L}return A!==0&&(m.words[m.length++]=A),m},r._prime=function(m){if(Q[m])return Q[m];var A;if(m==="k256")A=new X;else if(m==="p224")A=new K;else if(m==="p192")A=new G;else if(m==="p25519")A=new R;else throw new Error("Unknown prime "+m);return Q[m]=A,A};function T(w){if(typeof w=="string"){var m=r._prime(w);this.m=m.p,this.prime=m}else n(w.gtn(1),"modulus must be greater than 1"),this.m=w,this.prime=null}T.prototype._verify1=function(m){n(m.negative===0,"red works only with positives"),n(m.red,"red works only with red numbers")},T.prototype._verify2=function(m,A){n((m.negative|A.negative)===0,"red works only with positives"),n(m.red&&m.red===A.red,"red works only with red numbers")},T.prototype.imod=function(m){return this.prime?this.prime.ireduce(m)._forceRed(this):(c(m,m.umod(this.m)._forceRed(this)),m)},T.prototype.neg=function(m){return m.isZero()?m.clone():this.m.sub(m)._forceRed(this)},T.prototype.add=function(m,A){this._verify2(m,A);var P=m.add(A);return P.cmp(this.m)>=0&&P.isub(this.m),P._forceRed(this)},T.prototype.iadd=function(m,A){this._verify2(m,A);var P=m.iadd(A);return P.cmp(this.m)>=0&&P.isub(this.m),P},T.prototype.sub=function(m,A){this._verify2(m,A);var P=m.sub(A);return P.cmpn(0)<0&&P.iadd(this.m),P._forceRed(this)},T.prototype.isub=function(m,A){this._verify2(m,A);var P=m.isub(A);return P.cmpn(0)<0&&P.iadd(this.m),P},T.prototype.shl=function(m,A){return this._verify1(m),this.imod(m.ushln(A))},T.prototype.imul=function(m,A){return this._verify2(m,A),this.imod(m.imul(A))},T.prototype.mul=function(m,A){return this._verify2(m,A),this.imod(m.mul(A))},T.prototype.isqr=function(m){return this.imul(m,m.clone())},T.prototype.sqr=function(m){return this.mul(m,m)},T.prototype.sqrt=function(m){if(m.isZero())return m.clone();var A=this.m.andln(3);if(n(A%2===1),A===3){var P=this.m.add(new r(1)).iushrn(2);return this.pow(m,P)}for(var L=this.m.subn(1),x=0;!L.isZero()&&L.andln(1)===0;)x++,L.iushrn(1);n(!L.isZero());var g=new r(1).toRed(this),B=g.redNeg(),M=this.m.subn(1).iushrn(1),S=this.m.bitLength();for(S=new r(2*S*S).toRed(this);this.pow(S,M).cmp(B)!==0;)S.redIAdd(B);for(var q=this.pow(S,L),ee=this.pow(m,L.addn(1).iushrn(1)),U=this.pow(m,L),J=x;U.cmp(g)!==0;){for(var Z=U,ne=0;Z.cmp(g)!==0;ne++)Z=Z.redSqr();n(ne=0;x--){for(var q=A.words[x],ee=S-1;ee>=0;ee--){var U=q>>ee&1;if(g!==L[0]&&(g=this.sqr(g)),U===0&&B===0){M=0;continue}B<<=1,B|=U,M++,!(M!==P&&(x!==0||ee!==0))&&(g=this.mul(g,L[B]),M=0,B=0)}S=26}return g},T.prototype.convertTo=function(m){var A=m.umod(this.m);return A===m?A.clone():A},T.prototype.convertFrom=function(m){var A=m.clone();return A.red=null,A},r.mont=function(m){return new N(m)};function N(w){T.call(this,w),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new r(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(N,T),N.prototype.convertTo=function(m){return this.imod(m.ushln(this.shift))},N.prototype.convertFrom=function(m){var A=this.imod(m.mul(this.rinv));return A.red=null,A},N.prototype.imul=function(m,A){if(m.isZero()||A.isZero())return m.words[0]=0,m.length=1,m;var P=m.imul(A),L=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=P.isub(L).iushrn(this.shift),g=x;return x.cmp(this.m)>=0?g=x.isub(this.m):x.cmpn(0)<0&&(g=x.iadd(this.m)),g._forceRed(this)},N.prototype.mul=function(m,A){if(m.isZero()||A.isZero())return new r(0)._forceRed(this);var P=m.mul(A),L=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=P.isub(L).iushrn(this.shift),g=x;return x.cmp(this.m)>=0?g=x.isub(this.m):x.cmpn(0)<0&&(g=x.iadd(this.m)),g._forceRed(this)},N.prototype.invm=function(m){var A=this.imod(m._invmp(this.m).mul(this.r2));return A._forceRed(this)}})(typeof E0e>"u"||E0e,Yve)});var $ve=D(kF=>{"use strict";u();p();Object.defineProperty(kF,"__esModule",{value:!0});kF.version=void 0;kF.version="logger/5.7.0"});var Ft=D(l2=>{"use strict";u();p();Object.defineProperty(l2,"__esModule",{value:!0});l2.Logger=l2.ErrorCode=l2.LogLevel=void 0;var Jve=!1,Xve=!1,SF={debug:1,default:2,info:2,warning:3,error:4,off:5},Zve=SF.default,GB0=$ve(),_0e=null;function KB0(){try{var t=[];if(["NFD","NFC","NFKD","NFKC"].forEach(function(e){try{if("test".normalize(e)!=="test")throw new Error("bad normalize")}catch{t.push(e)}}),t.length)throw new Error("missing "+t.join(", "));if("\xE9".normalize("NFD")!=="e\u0301")throw new Error("broken implementation")}catch(e){return e.message}return null}var ewe=KB0(),nwe;(function(t){t.DEBUG="DEBUG",t.INFO="INFO",t.WARNING="WARNING",t.ERROR="ERROR",t.OFF="OFF"})(nwe=l2.LogLevel||(l2.LogLevel={}));var d2;(function(t){t.UNKNOWN_ERROR="UNKNOWN_ERROR",t.NOT_IMPLEMENTED="NOT_IMPLEMENTED",t.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",t.NETWORK_ERROR="NETWORK_ERROR",t.SERVER_ERROR="SERVER_ERROR",t.TIMEOUT="TIMEOUT",t.BUFFER_OVERRUN="BUFFER_OVERRUN",t.NUMERIC_FAULT="NUMERIC_FAULT",t.MISSING_NEW="MISSING_NEW",t.INVALID_ARGUMENT="INVALID_ARGUMENT",t.MISSING_ARGUMENT="MISSING_ARGUMENT",t.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",t.CALL_EXCEPTION="CALL_EXCEPTION",t.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",t.NONCE_EXPIRED="NONCE_EXPIRED",t.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",t.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",t.TRANSACTION_REPLACED="TRANSACTION_REPLACED",t.ACTION_REJECTED="ACTION_REJECTED"})(d2=l2.ErrorCode||(l2.ErrorCode={}));var twe="0123456789abcdef",QB0=function(){function t(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}return t.prototype._log=function(e,n){var a=e.toLowerCase();SF[a]==null&&this.throwArgumentError("invalid log level name","logLevel",e),!(Zve>SF[a])&&console.log.apply(console,n)},t.prototype.debug=function(){for(var e=[],n=0;n>4],l+=twe[d[h]&15];r.push(c+"=Uint8Array(0x"+l+")")}else r.push(c+"="+JSON.stringify(d))}catch{r.push(c+"="+JSON.stringify(a[c].toString()))}}),r.push("code="+n),r.push("version="+this.version);var f=e,i="";switch(n){case d2.NUMERIC_FAULT:{i="NUMERIC_FAULT";var s=e;switch(s){case"overflow":case"underflow":case"division-by-zero":i+="-"+s;break;case"negative-power":case"negative-width":i+="-unsupported";break;case"unbound-bitwise-result":i+="-unbound-result";break}break}case d2.CALL_EXCEPTION:case d2.INSUFFICIENT_FUNDS:case d2.MISSING_NEW:case d2.NONCE_EXPIRED:case d2.REPLACEMENT_UNDERPRICED:case d2.TRANSACTION_REPLACED:case d2.UNPREDICTABLE_GAS_LIMIT:i=n;break}i&&(e+=" [ See: https://links.ethers.org/v5-errors-"+i+" ]"),r.length&&(e+=" ("+r.join(", ")+")");var o=new Error(e);return o.reason=f,o.code=n,Object.keys(a).forEach(function(c){o[c]=a[c]}),o},t.prototype.throwError=function(e,n,a){throw this.makeError(e,n,a)},t.prototype.throwArgumentError=function(e,n,a){return this.throwError(e,t.errors.INVALID_ARGUMENT,{argument:n,value:a})},t.prototype.assert=function(e,n,a,r){e||this.throwError(n,a,r)},t.prototype.assertArgument=function(e,n,a,r){e||this.throwArgumentError(n,a,r)},t.prototype.checkNormalize=function(e){e==null&&(e="platform missing String.prototype.normalize"),ewe&&this.throwError("platform missing String.prototype.normalize",t.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:ewe})},t.prototype.checkSafeUint53=function(e,n){typeof e=="number"&&(n==null&&(n="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(n,t.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(n,t.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))},t.prototype.checkArgumentCount=function(e,n,a){a?a=": "+a:a="",en&&this.throwError("too many arguments"+a,t.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:n})},t.prototype.checkNew=function(e,n){(e===Object||e==null)&&this.throwError("missing new",t.errors.MISSING_NEW,{name:n.name})},t.prototype.checkAbstract=function(e,n){e===n?this.throwError("cannot instantiate abstract class "+JSON.stringify(n.name)+" directly; use a sub-class",t.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):(e===Object||e==null)&&this.throwError("missing new",t.errors.MISSING_NEW,{name:n.name})},t.globalLogger=function(){return _0e||(_0e=new t(GB0.version)),_0e},t.setCensorship=function(e,n){if(!e&&n&&this.globalLogger().throwError("cannot permanently disable censorship",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),Jve){if(!e)return;this.globalLogger().throwError("error censorship permanent",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}Xve=!!e,Jve=!!n},t.setLogLevel=function(e){var n=SF[e.toLowerCase()];if(n==null){t.globalLogger().warn("invalid log level - "+e);return}Zve=n},t.from=function(e){return new t(e)},t.errors=d2,t.levels=nwe,t}();l2.Logger=QB0});var awe=D(RF=>{"use strict";u();p();Object.defineProperty(RF,"__esModule",{value:!0});RF.version=void 0;RF.version="bytes/5.7.0"});var Vt=D(ga=>{"use strict";u();p();Object.defineProperty(ga,"__esModule",{value:!0});ga.joinSignature=ga.splitSignature=ga.hexZeroPad=ga.hexStripZeros=ga.hexValue=ga.hexConcat=ga.hexDataSlice=ga.hexDataLength=ga.hexlify=ga.isHexString=ga.zeroPad=ga.stripZeros=ga.concat=ga.arrayify=ga.isBytes=ga.isBytesLike=void 0;var VB0=Ft(),YB0=awe(),Qf=new VB0.Logger(YB0.version);function fwe(t){return!!t.toHexString}function Gv(t){return t.slice||(t.slice=function(){var e=Array.prototype.slice.call(arguments);return Gv(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function iwe(t){return $d(t)&&!(t.length%2)||BF(t)}ga.isBytesLike=iwe;function rwe(t){return typeof t=="number"&&t==t&&t%1===0}function BF(t){if(t==null)return!1;if(t.constructor===Uint8Array)return!0;if(typeof t=="string"||!rwe(t.length)||t.length<0)return!1;for(var e=0;e=256)return!1}return!0}ga.isBytes=BF;function yy(t,e){if(e||(e={}),typeof t=="number"){Qf.checkSafeUint53(t,"invalid arrayify value");for(var n=[];t;)n.unshift(t&255),t=parseInt(String(t/256));return n.length===0&&n.push(0),Gv(new Uint8Array(n))}if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),fwe(t)&&(t=t.toHexString()),$d(t)){var a=t.substring(2);a.length%2&&(e.hexPad==="left"?a="0"+a:e.hexPad==="right"?a+="0":Qf.throwArgumentError("hex data is odd-length","value",t));for(var n=[],r=0;re&&Qf.throwArgumentError("value out of range","value",arguments[0]);var n=new Uint8Array(e);return n.set(t,e-t.length),Gv(n)}ga.zeroPad=owe;function $d(t,e){return!(typeof t!="string"||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}ga.isHexString=$d;var A0e="0123456789abcdef";function Ro(t,e){if(e||(e={}),typeof t=="number"){Qf.checkSafeUint53(t,"invalid hexlify value");for(var n="";t;)n=A0e[t&15]+n,t=Math.floor(t/16);return n.length?(n.length%2&&(n="0"+n),"0x"+n):"0x00"}if(typeof t=="bigint")return t=t.toString(16),t.length%2?"0x0"+t:"0x"+t;if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),fwe(t))return t.toHexString();if($d(t))return t.length%2&&(e.hexPad==="left"?t="0x0"+t.substring(2):e.hexPad==="right"?t+="0":Qf.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(BF(t)){for(var a="0x",r=0;r>4]+A0e[f&15]}return a}return Qf.throwArgumentError("invalid hexlify value","value",t)}ga.hexlify=Ro;function JB0(t){if(typeof t!="string")t=Ro(t);else if(!$d(t)||t.length%2)return null;return(t.length-2)/2}ga.hexDataLength=JB0;function XB0(t,e,n){return typeof t!="string"?t=Ro(t):(!$d(t)||t.length%2)&&Qf.throwArgumentError("invalid hexData","value",t),e=2+2*e,n!=null?"0x"+t.substring(e,2+2*n):"0x"+t.substring(e)}ga.hexDataSlice=XB0;function ZB0(t){var e="0x";return t.forEach(function(n){e+=Ro(n).substring(2)}),e}ga.hexConcat=ZB0;function eD0(t){var e=cwe(Ro(t,{hexPad:"left"}));return e==="0x"?"0x0":e}ga.hexValue=eD0;function cwe(t){typeof t!="string"&&(t=Ro(t)),$d(t)||Qf.throwArgumentError("invalid hex string","value",t),t=t.substring(2);for(var e=0;e2*e+2&&Qf.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}ga.hexZeroPad=MF;function dwe(t){var e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(iwe(t)){var n=yy(t);n.length===64?(e.v=27+(n[32]>>7),n[32]&=127,e.r=Ro(n.slice(0,32)),e.s=Ro(n.slice(32,64))):n.length===65?(e.r=Ro(n.slice(0,32)),e.s=Ro(n.slice(32,64)),e.v=n[64]):Qf.throwArgumentError("invalid signature string","signature",t),e.v<27&&(e.v===0||e.v===1?e.v+=27:Qf.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(n[32]|=128),e._vs=Ro(n.slice(32,64))}else{if(e.r=t.r,e.s=t.s,e.v=t.v,e.recoveryParam=t.recoveryParam,e._vs=t._vs,e._vs!=null){var a=owe(yy(e._vs),32);e._vs=Ro(a);var r=a[0]>=128?1:0;e.recoveryParam==null?e.recoveryParam=r:e.recoveryParam!==r&&Qf.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),a[0]&=127;var f=Ro(a);e.s==null?e.s=f:e.s!==f&&Qf.throwArgumentError("signature v mismatch _vs","signature",t)}if(e.recoveryParam==null)e.v==null?Qf.throwArgumentError("signature missing v and recoveryParam","signature",t):e.v===0||e.v===1?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(e.v==null)e.v=27+e.recoveryParam;else{var i=e.v===0||e.v===1?e.v:1-e.v%2;e.recoveryParam!==i&&Qf.throwArgumentError("signature recoveryParam mismatch v","signature",t)}e.r==null||!$d(e.r)?Qf.throwArgumentError("signature missing or invalid r","signature",t):e.r=MF(e.r,32),e.s==null||!$d(e.s)?Qf.throwArgumentError("signature missing or invalid s","signature",t):e.s=MF(e.s,32);var s=yy(e.s);s[0]>=128&&Qf.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(s[0]|=128);var o=Ro(s);e._vs&&($d(e._vs)||Qf.throwArgumentError("signature invalid _vs","signature",t),e._vs=MF(e._vs,32)),e._vs==null?e._vs=o:e._vs!==o&&Qf.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}ga.splitSignature=dwe;function tD0(t){return t=dwe(t),Ro(swe([t.r,t.s,t.recoveryParam?"0x1c":"0x1b"]))}ga.joinSignature=tD0});var C0e=D(DF=>{"use strict";u();p();Object.defineProperty(DF,"__esModule",{value:!0});DF.version=void 0;DF.version="bignumber/5.7.0"});var LF=D(m5=>{"use strict";u();p();var nD0=m5&&m5.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(m5,"__esModule",{value:!0});m5._base16To36=m5._base36To16=m5.BigNumber=m5.isBigNumberish=void 0;var aD0=nD0(Va()),rI=aD0.default.BN,Kv=Vt(),Qv=Ft(),rD0=C0e(),Xp=new Qv.Logger(rD0.version),I0e={},lwe=9007199254740991;function fD0(t){return t!=null&&(PF.isBigNumber(t)||typeof t=="number"&&t%1===0||typeof t=="string"&&!!t.match(/^-?[0-9]+$/)||(0,Kv.isHexString)(t)||typeof t=="bigint"||(0,Kv.isBytes)(t))}m5.isBigNumberish=fD0;var uwe=!1,PF=function(){function t(e,n){e!==I0e&&Xp.throwError("cannot call constructor directly; use BigNumber.from",Qv.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=n,this._isBigNumber=!0,Object.freeze(this)}return t.prototype.fromTwos=function(e){return Ic(Jn(this).fromTwos(e))},t.prototype.toTwos=function(e){return Ic(Jn(this).toTwos(e))},t.prototype.abs=function(){return this._hex[0]==="-"?t.from(this._hex.substring(1)):this},t.prototype.add=function(e){return Ic(Jn(this).add(Jn(e)))},t.prototype.sub=function(e){return Ic(Jn(this).sub(Jn(e)))},t.prototype.div=function(e){var n=t.from(e);return n.isZero()&&b5("division-by-zero","div"),Ic(Jn(this).div(Jn(e)))},t.prototype.mul=function(e){return Ic(Jn(this).mul(Jn(e)))},t.prototype.mod=function(e){var n=Jn(e);return n.isNeg()&&b5("division-by-zero","mod"),Ic(Jn(this).umod(n))},t.prototype.pow=function(e){var n=Jn(e);return n.isNeg()&&b5("negative-power","pow"),Ic(Jn(this).pow(n))},t.prototype.and=function(e){var n=Jn(e);return(this.isNegative()||n.isNeg())&&b5("unbound-bitwise-result","and"),Ic(Jn(this).and(n))},t.prototype.or=function(e){var n=Jn(e);return(this.isNegative()||n.isNeg())&&b5("unbound-bitwise-result","or"),Ic(Jn(this).or(n))},t.prototype.xor=function(e){var n=Jn(e);return(this.isNegative()||n.isNeg())&&b5("unbound-bitwise-result","xor"),Ic(Jn(this).xor(n))},t.prototype.mask=function(e){return(this.isNegative()||e<0)&&b5("negative-width","mask"),Ic(Jn(this).maskn(e))},t.prototype.shl=function(e){return(this.isNegative()||e<0)&&b5("negative-width","shl"),Ic(Jn(this).shln(e))},t.prototype.shr=function(e){return(this.isNegative()||e<0)&&b5("negative-width","shr"),Ic(Jn(this).shrn(e))},t.prototype.eq=function(e){return Jn(this).eq(Jn(e))},t.prototype.lt=function(e){return Jn(this).lt(Jn(e))},t.prototype.lte=function(e){return Jn(this).lte(Jn(e))},t.prototype.gt=function(e){return Jn(this).gt(Jn(e))},t.prototype.gte=function(e){return Jn(this).gte(Jn(e))},t.prototype.isNegative=function(){return this._hex[0]==="-"},t.prototype.isZero=function(){return Jn(this).isZero()},t.prototype.toNumber=function(){try{return Jn(this).toNumber()}catch{b5("overflow","toNumber",this.toString())}return null},t.prototype.toBigInt=function(){try{return BigInt(this.toString())}catch{}return Xp.throwError("this platform does not support BigInt",Qv.Logger.errors.UNSUPPORTED_OPERATION,{value:this.toString()})},t.prototype.toString=function(){return arguments.length>0&&(arguments[0]===10?uwe||(uwe=!0,Xp.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?Xp.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",Qv.Logger.errors.UNEXPECTED_ARGUMENT,{}):Xp.throwError("BigNumber.toString does not accept parameters",Qv.Logger.errors.UNEXPECTED_ARGUMENT,{})),Jn(this).toString(10)},t.prototype.toHexString=function(){return this._hex},t.prototype.toJSON=function(e){return{type:"BigNumber",hex:this.toHexString()}},t.from=function(e){if(e instanceof t)return e;if(typeof e=="string")return e.match(/^-?0x[0-9a-f]+$/i)?new t(I0e,fI(e)):e.match(/^-?[0-9]+$/)?new t(I0e,fI(new rI(e))):Xp.throwArgumentError("invalid BigNumber string","value",e);if(typeof e=="number")return e%1&&b5("underflow","BigNumber.from",e),(e>=lwe||e<=-lwe)&&b5("overflow","BigNumber.from",e),t.from(String(e));var n=e;if(typeof n=="bigint")return t.from(n.toString());if((0,Kv.isBytes)(n))return t.from((0,Kv.hexlify)(n));if(n)if(n.toHexString){var a=n.toHexString();if(typeof a=="string")return t.from(a)}else{var a=n._hex;if(a==null&&n.type==="BigNumber"&&(a=n.hex),typeof a=="string"&&((0,Kv.isHexString)(a)||a[0]==="-"&&(0,Kv.isHexString)(a.substring(1))))return t.from(a)}return Xp.throwArgumentError("invalid BigNumber value","value",e)},t.isBigNumber=function(e){return!!(e&&e._isBigNumber)},t}();m5.BigNumber=PF;function fI(t){if(typeof t!="string")return fI(t.toString(16));if(t[0]==="-")return t=t.substring(1),t[0]==="-"&&Xp.throwArgumentError("invalid hex","value",t),t=fI(t),t==="0x00"?t:"-"+t;if(t.substring(0,2)!=="0x"&&(t="0x"+t),t==="0x")return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&t.substring(0,4)==="0x00";)t="0x"+t.substring(4);return t}function Ic(t){return PF.from(fI(t))}function Jn(t){var e=PF.from(t).toHexString();return e[0]==="-"?new rI("-"+e.substring(3),16):new rI(e.substring(2),16)}function b5(t,e,n){var a={fault:t,operation:e};return n!=null&&(a.value=n),Xp.throwError(t,Qv.Logger.errors.NUMERIC_FAULT,a)}function iD0(t){return new rI(t,36).toString(16)}m5._base36To16=iD0;function sD0(t){return new rI(t,16).toString(36)}m5._base16To36=sD0});var ywe=D(p2=>{"use strict";u();p();Object.defineProperty(p2,"__esModule",{value:!0});p2.FixedNumber=p2.FixedFormat=p2.parseFixed=p2.formatFixed=void 0;var FF=Vt(),oI=Ft(),oD0=C0e(),N1=new oI.Logger(oD0.version),Zp=LF(),iI={},hwe=Zp.BigNumber.from(0),bwe=Zp.BigNumber.from(-1);function mwe(t,e,n,a){var r={fault:e,operation:n};return a!==void 0&&(r.value=a),N1.throwError(t,oI.Logger.errors.NUMERIC_FAULT,r)}var sI="0";for(;sI.length<256;)sI+=sI;function k0e(t){if(typeof t!="number")try{t=Zp.BigNumber.from(t).toNumber()}catch{}return typeof t=="number"&&t>=0&&t<=256&&!(t%1)?"1"+sI.substring(0,t):N1.throwArgumentError("invalid decimal size","decimals",t)}function NF(t,e){e==null&&(e=0);var n=k0e(e);t=Zp.BigNumber.from(t);var a=t.lt(hwe);a&&(t=t.mul(bwe));for(var r=t.mod(n).toString();r.length2&&N1.throwArgumentError("too many decimal points","value",t);var f=r[0],i=r[1];for(f||(f="0"),i||(i="0");i[i.length-1]==="0";)i=i.substring(0,i.length-1);for(i.length>n.length-1&&mwe("fractional component exceeds decimals","underflow","parseFixed"),i===""&&(i="0");i.length80&&N1.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",r),new t(iI,n,a,r)},t}();p2.FixedFormat=OF;var S0e=function(){function t(e,n,a,r){e!==iI&&N1.throwError("cannot use FixedNumber constructor; use FixedNumber.from",oI.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=r,this._hex=n,this._value=a,this._isFixedNumber=!0,Object.freeze(this)}return t.prototype._checkFormat=function(e){this.format.name!==e.format.name&&N1.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)},t.prototype.addUnsafe=function(e){this._checkFormat(e);var n=u2(this._value,this.format.decimals),a=u2(e._value,e.format.decimals);return t.fromValue(n.add(a),this.format.decimals,this.format)},t.prototype.subUnsafe=function(e){this._checkFormat(e);var n=u2(this._value,this.format.decimals),a=u2(e._value,e.format.decimals);return t.fromValue(n.sub(a),this.format.decimals,this.format)},t.prototype.mulUnsafe=function(e){this._checkFormat(e);var n=u2(this._value,this.format.decimals),a=u2(e._value,e.format.decimals);return t.fromValue(n.mul(a).div(this.format._multiplier),this.format.decimals,this.format)},t.prototype.divUnsafe=function(e){this._checkFormat(e);var n=u2(this._value,this.format.decimals),a=u2(e._value,e.format.decimals);return t.fromValue(n.mul(this.format._multiplier).div(a),this.format.decimals,this.format)},t.prototype.floor=function(){var e=this.toString().split(".");e.length===1&&e.push("0");var n=t.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return this.isNegative()&&a&&(n=n.subUnsafe(pwe.toFormat(n.format))),n},t.prototype.ceiling=function(){var e=this.toString().split(".");e.length===1&&e.push("0");var n=t.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return!this.isNegative()&&a&&(n=n.addUnsafe(pwe.toFormat(n.format))),n},t.prototype.round=function(e){e==null&&(e=0);var n=this.toString().split(".");if(n.length===1&&n.push("0"),(e<0||e>80||e%1)&&N1.throwArgumentError("invalid decimal count","decimals",e),n[1].length<=e)return this;var a=t.from("1"+sI.substring(0,e),this.format),r=cD0.toFormat(this.format);return this.mulUnsafe(a).addUnsafe(r).floor().divUnsafe(a)},t.prototype.isZero=function(){return this._value==="0.0"||this._value==="0"},t.prototype.isNegative=function(){return this._value[0]==="-"},t.prototype.toString=function(){return this._value},t.prototype.toHexString=function(e){if(e==null)return this._hex;e%8&&N1.throwArgumentError("invalid byte width","width",e);var n=Zp.BigNumber.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return(0,FF.hexZeroPad)(n,e/8)},t.prototype.toUnsafeFloat=function(){return parseFloat(this.toString())},t.prototype.toFormat=function(e){return t.fromString(this._value,e)},t.fromValue=function(e,n,a){return a==null&&n!=null&&!(0,Zp.isBigNumberish)(n)&&(a=n,n=null),n==null&&(n=0),a==null&&(a="fixed"),t.fromString(NF(e,n),OF.from(a))},t.fromString=function(e,n){n==null&&(n="fixed");var a=OF.from(n),r=u2(e,a.decimals);!a.signed&&r.lt(hwe)&&mwe("unsigned value cannot be negative","overflow","value",e);var f=null;a.signed?f=r.toTwos(a.width).toHexString():(f=r.toHexString(),f=(0,FF.hexZeroPad)(f,a.width/8));var i=NF(r,a.decimals);return new t(iI,f,i,a)},t.fromBytes=function(e,n){n==null&&(n="fixed");var a=OF.from(n);if((0,FF.arrayify)(e).length>a.width/8)throw new Error("overflow");var r=Zp.BigNumber.from(e);a.signed&&(r=r.fromTwos(a.width));var f=r.toTwos((a.signed?0:1)+a.width).toHexString(),i=NF(r,a.decimals);return new t(iI,f,i,a)},t.from=function(e,n){if(typeof e=="string")return t.fromString(e,n);if((0,FF.isBytes)(e))return t.fromBytes(e,n);try{return t.fromValue(e,0,n)}catch(a){if(a.code!==oI.Logger.errors.INVALID_ARGUMENT)throw a}return N1.throwArgumentError("invalid FixedNumber value","value",e)},t.isFixedNumber=function(e){return!!(e&&e._isFixedNumber)},t}();p2.FixedNumber=S0e;var pwe=S0e.from(1),cD0=S0e.from("0.5")});var ia=D(Mo=>{"use strict";u();p();Object.defineProperty(Mo,"__esModule",{value:!0});Mo._base36To16=Mo._base16To36=Mo.parseFixed=Mo.FixedNumber=Mo.FixedFormat=Mo.formatFixed=Mo.BigNumber=void 0;var dD0=LF();Object.defineProperty(Mo,"BigNumber",{enumerable:!0,get:function(){return dD0.BigNumber}});var UF=ywe();Object.defineProperty(Mo,"formatFixed",{enumerable:!0,get:function(){return UF.formatFixed}});Object.defineProperty(Mo,"FixedFormat",{enumerable:!0,get:function(){return UF.FixedFormat}});Object.defineProperty(Mo,"FixedNumber",{enumerable:!0,get:function(){return UF.FixedNumber}});Object.defineProperty(Mo,"parseFixed",{enumerable:!0,get:function(){return UF.parseFixed}});var gwe=LF();Object.defineProperty(Mo,"_base16To36",{enumerable:!0,get:function(){return gwe._base16To36}});Object.defineProperty(Mo,"_base36To16",{enumerable:!0,get:function(){return gwe._base36To16}})});var vwe=D(HF=>{"use strict";u();p();Object.defineProperty(HF,"__esModule",{value:!0});HF.version=void 0;HF.version="properties/5.7.0"});var Ba=D(Ei=>{"use strict";u();p();var lD0=Ei&&Ei.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},uD0=Ei&&Ei.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();Object.defineProperty(qF,"__esModule",{value:!0});qF.version=void 0;qF.version="abi/5.7.0"});var $F=D(Ut=>{"use strict";u();p();var QF=Ut&&Ut.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(Ut,"__esModule",{value:!0});Ut.ErrorFragment=Ut.FunctionFragment=Ut.ConstructorFragment=Ut.EventFragment=Ut.Fragment=Ut.ParamType=Ut.FormatTypes=void 0;var D0e=ia(),xD0=Ba(),VF=Ft(),ED0=Vv(),sa=new VF.Logger(ED0.version),gy={},xwe={calldata:!0,memory:!0,storage:!0},_D0={calldata:!0,memory:!0};function jF(t,e){if(t==="bytes"||t==="string"){if(xwe[e])return!0}else if(t==="address"){if(e==="payable")return!0}else if((t.indexOf("[")>=0||t==="tuple")&&_D0[e])return!0;return(xwe[e]||e==="payable")&&sa.throwArgumentError("invalid modifier","name",e),!1}function AD0(t,e){var n=t;function a(l){sa.throwArgumentError("unexpected character at position "+l,"param",t)}t=t.replace(/\s/g," ");function r(l){var h={type:"",name:"",parent:l,state:{allowType:!0}};return e&&(h.indexed=!1),h}for(var f={type:"",name:"",state:{allowType:!0}},i=f,s=0;s2&&sa.throwArgumentError("invalid human-readable ABI signature","value",t),n[1].match(/^[0-9]+$/)||sa.throwArgumentError("invalid human-readable ABI signature gas","value",t),e.gas=D0e.BigNumber.from(n[1]),n[0]):t}function Awe(t,e){e.constant=!1,e.payable=!1,e.stateMutability="nonpayable",t.split(" ").forEach(function(n){switch(n.trim()){case"constant":e.constant=!0;break;case"payable":e.payable=!0,e.stateMutability="payable";break;case"nonpayable":e.payable=!1,e.stateMutability="nonpayable";break;case"pure":e.constant=!0,e.stateMutability="pure";break;case"view":e.constant=!0,e.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+n)}})}function Cwe(t){var e={constant:!1,payable:!0,stateMutability:"payable"};return t.stateMutability!=null?(e.stateMutability=t.stateMutability,e.constant=e.stateMutability==="view"||e.stateMutability==="pure",t.constant!=null&&!!t.constant!==e.constant&&sa.throwArgumentError("cannot have constant function with mutability "+e.stateMutability,"value",t),e.payable=e.stateMutability==="payable",t.payable!=null&&!!t.payable!==e.payable&&sa.throwArgumentError("cannot have payable function with mutability "+e.stateMutability,"value",t)):t.payable!=null?(e.payable=!!t.payable,t.constant==null&&!e.payable&&t.type!=="constructor"&&sa.throwArgumentError("unable to determine stateMutability","value",t),e.constant=!!t.constant,e.constant?e.stateMutability="view":e.stateMutability=e.payable?"payable":"nonpayable",e.payable&&e.constant&&sa.throwArgumentError("cannot have constant payable function","value",t)):t.constant!=null?(e.constant=!!t.constant,e.payable=!e.constant,e.stateMutability=e.constant?"view":"payable"):t.type!=="constructor"&&sa.throwArgumentError("unable to determine stateMutability","value",t),e}var KF=function(t){QF(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.format=function(n){if(n||(n=Ut.FormatTypes.sighash),Ut.FormatTypes[n]||sa.throwArgumentError("invalid format type","format",n),n===Ut.FormatTypes.json)return JSON.stringify({type:"constructor",stateMutability:this.stateMutability!=="nonpayable"?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(function(r){return JSON.parse(r.format(n))})});n===Ut.FormatTypes.sighash&&sa.throwError("cannot format a constructor for sighash",VF.Logger.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});var a="constructor("+this.inputs.map(function(r){return r.format(n)}).join(n===Ut.FormatTypes.full?", ":",")+") ";return this.stateMutability&&this.stateMutability!=="nonpayable"&&(a+=this.stateMutability+" "),a.trim()},e.from=function(n){return typeof n=="string"?e.fromString(n):e.fromObject(n)},e.fromObject=function(n){if(e.isConstructorFragment(n))return n;n.type!=="constructor"&&sa.throwArgumentError("invalid constructor object","value",n);var a=Cwe(n);a.constant&&sa.throwArgumentError("constructor cannot be constant","value",n);var r={name:null,type:n.type,inputs:n.inputs?n.inputs.map(vy.fromObject):[],payable:a.payable,stateMutability:a.stateMutability,gas:n.gas?D0e.BigNumber.from(n.gas):null};return new e(gy,r)},e.fromString=function(n){var a={type:"constructor"};n=_we(n,a);var r=n.match(lI);return(!r||r[1].trim()!=="constructor")&&sa.throwArgumentError("invalid constructor string","value",n),a.inputs=cI(r[2].trim(),!1),Awe(r[3].trim(),a),e.fromObject(a)},e.isConstructorFragment=function(n){return n&&n._isFragment&&n.type==="constructor"},e}(YF);Ut.ConstructorFragment=KF;var M0e=function(t){QF(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.format=function(n){if(n||(n=Ut.FormatTypes.sighash),Ut.FormatTypes[n]||sa.throwArgumentError("invalid format type","format",n),n===Ut.FormatTypes.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:this.stateMutability!=="nonpayable"?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(function(r){return JSON.parse(r.format(n))}),outputs:this.outputs.map(function(r){return JSON.parse(r.format(n))})});var a="";return n!==Ut.FormatTypes.sighash&&(a+="function "),a+=this.name+"("+this.inputs.map(function(r){return r.format(n)}).join(n===Ut.FormatTypes.full?", ":",")+") ",n!==Ut.FormatTypes.sighash&&(this.stateMutability?this.stateMutability!=="nonpayable"&&(a+=this.stateMutability+" "):this.constant&&(a+="view "),this.outputs&&this.outputs.length&&(a+="returns ("+this.outputs.map(function(r){return r.format(n)}).join(", ")+") "),this.gas!=null&&(a+="@"+this.gas.toString()+" ")),a.trim()},e.from=function(n){return typeof n=="string"?e.fromString(n):e.fromObject(n)},e.fromObject=function(n){if(e.isFunctionFragment(n))return n;n.type!=="function"&&sa.throwArgumentError("invalid function object","value",n);var a=Cwe(n),r={type:n.type,name:dI(n.name),constant:a.constant,inputs:n.inputs?n.inputs.map(vy.fromObject):[],outputs:n.outputs?n.outputs.map(vy.fromObject):[],payable:a.payable,stateMutability:a.stateMutability,gas:n.gas?D0e.BigNumber.from(n.gas):null};return new e(gy,r)},e.fromString=function(n){var a={type:"function"};n=_we(n,a);var r=n.split(" returns ");r.length>2&&sa.throwArgumentError("invalid function string","value",n);var f=r[0].match(lI);if(f||sa.throwArgumentError("invalid function signature","value",n),a.name=f[1].trim(),a.name&&dI(a.name),a.inputs=cI(f[2],!1),Awe(f[3].trim(),a),r.length>1){var i=r[1].match(lI);(i[1].trim()!=""||i[3].trim()!="")&&sa.throwArgumentError("unexpected tokens","value",n),a.outputs=cI(i[2],!1)}else a.outputs=[];return e.fromObject(a)},e.isFunctionFragment=function(n){return n&&n._isFragment&&n.type==="function"},e}(KF);Ut.FunctionFragment=M0e;function Ewe(t){var e=t.format();return(e==="Error(string)"||e==="Panic(uint256)")&&sa.throwArgumentError("cannot specify user defined "+e+" error","fragment",t),t}var B0e=function(t){QF(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.format=function(n){if(n||(n=Ut.FormatTypes.sighash),Ut.FormatTypes[n]||sa.throwArgumentError("invalid format type","format",n),n===Ut.FormatTypes.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map(function(r){return JSON.parse(r.format(n))})});var a="";return n!==Ut.FormatTypes.sighash&&(a+="error "),a+=this.name+"("+this.inputs.map(function(r){return r.format(n)}).join(n===Ut.FormatTypes.full?", ":",")+") ",a.trim()},e.from=function(n){return typeof n=="string"?e.fromString(n):e.fromObject(n)},e.fromObject=function(n){if(e.isErrorFragment(n))return n;n.type!=="error"&&sa.throwArgumentError("invalid error object","value",n);var a={type:n.type,name:dI(n.name),inputs:n.inputs?n.inputs.map(vy.fromObject):[]};return Ewe(new e(gy,a))},e.fromString=function(n){var a={type:"error"},r=n.match(lI);return r||sa.throwArgumentError("invalid error signature","value",n),a.name=r[1].trim(),a.name&&dI(a.name),a.inputs=cI(r[2],!1),Ewe(e.fromObject(a))},e.isErrorFragment=function(n){return n&&n._isFragment&&n.type==="error"},e}(YF);Ut.ErrorFragment=B0e;function Yv(t){return t.match(/^uint($|[^1-9])/)?t="uint256"+t.substring(4):t.match(/^int($|[^1-9])/)&&(t="int256"+t.substring(3)),t}var ID0=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function dI(t){return(!t||!t.match(ID0))&&sa.throwArgumentError('invalid identifier "'+t+'"',"value",t),t}var lI=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");function kD0(t){t=t.trim();for(var e=[],n="",a=0,r=0;r{"use strict";u();p();Object.defineProperty(h2,"__esModule",{value:!0});h2.Reader=h2.Writer=h2.Coder=h2.checkResultErrors=void 0;var b3=Vt(),Iwe=ia(),uI=Ba(),P0e=Ft(),SD0=Vv(),L0e=new P0e.Logger(SD0.version);function RD0(t){var e=[],n=function(a,r){if(Array.isArray(r))for(var f in r){var i=a.slice();i.push(f);try{n(i,r[f])}catch(s){e.push({path:i,error:s})}}};return n([],t),e}h2.checkResultErrors=RD0;var MD0=function(){function t(e,n,a,r){this.name=e,this.type=n,this.localName=a,this.dynamic=r}return t.prototype._throwError=function(e,n){L0e.throwArgumentError(e,this.localName,n)},t}();h2.Coder=MD0;var BD0=function(){function t(e){(0,uI.defineReadOnly)(this,"wordSize",e||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(e)}return Object.defineProperty(t.prototype,"data",{get:function(){return(0,b3.hexConcat)(this._data)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._dataLength},enumerable:!1,configurable:!0}),t.prototype._writeData=function(e){return this._data.push(e),this._dataLength+=e.length,e.length},t.prototype.appendWriter=function(e){return this._writeData((0,b3.concat)(e._data))},t.prototype.writeBytes=function(e){var n=(0,b3.arrayify)(e),a=n.length%this.wordSize;return a&&(n=(0,b3.concat)([n,this._padding.slice(a)])),this._writeData(n)},t.prototype._getValue=function(e){var n=(0,b3.arrayify)(Iwe.BigNumber.from(e));return n.length>this.wordSize&&L0e.throwError("value out-of-bounds",P0e.Logger.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:n.length}),n.length%this.wordSize&&(n=(0,b3.concat)([this._padding.slice(n.length%this.wordSize),n])),n},t.prototype.writeValue=function(e){return this._writeData(this._getValue(e))},t.prototype.writeUpdatableValue=function(){var e=this,n=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,function(a){e._data[n]=e._getValue(a)}},t}();h2.Writer=BD0;var DD0=function(){function t(e,n,a,r){(0,uI.defineReadOnly)(this,"_data",(0,b3.arrayify)(e)),(0,uI.defineReadOnly)(this,"wordSize",n||32),(0,uI.defineReadOnly)(this,"_coerceFunc",a),(0,uI.defineReadOnly)(this,"allowLoose",r),this._offset=0}return Object.defineProperty(t.prototype,"data",{get:function(){return(0,b3.hexlify)(this._data)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"consumed",{get:function(){return this._offset},enumerable:!1,configurable:!0}),t.coerce=function(e,n){var a=e.match("^u?int([0-9]+)$");return a&&parseInt(a[1])<=48&&(n=n.toNumber()),n},t.prototype.coerce=function(e,n){return this._coerceFunc?this._coerceFunc(e,n):t.coerce(e,n)},t.prototype._peekBytes=function(e,n,a){var r=Math.ceil(n/this.wordSize)*this.wordSize;return this._offset+r>this._data.length&&(this.allowLoose&&a&&this._offset+n<=this._data.length?r=n:L0e.throwError("data out-of-bounds",P0e.Logger.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+r})),this._data.slice(this._offset,this._offset+r)},t.prototype.subReader=function(e){return new t(this._data.slice(this._offset+e),this.wordSize,this._coerceFunc,this.allowLoose)},t.prototype.readBytes=function(e,n){var a=this._peekBytes(0,e,!!n);return this._offset+=a.length,a.slice(0,e)},t.prototype.readValue=function(){return Iwe.BigNumber.from(this.readBytes(this.wordSize))},t}();h2.Reader=DD0});var kwe=D((QLn,JF)=>{u();p();(function(){"use strict";var t="input is invalid type",e="finalize already called",n=typeof window=="object",a=n?window:{};a.JS_SHA3_NO_WINDOW&&(n=!1);var r=!n&&typeof self=="object",f=!a.JS_SHA3_NO_NODE_JS&&typeof E=="object"&&E.versions&&E.versions.node;f?a=global:r&&(a=self);var i=!a.JS_SHA3_NO_COMMON_JS&&typeof JF=="object"&&JF.exports,s=typeof define=="function"&&define.amd,o=!a.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",c="0123456789abcdef".split(""),d=[31,7936,2031616,520093696],l=[4,1024,262144,67108864],h=[1,256,65536,16777216],y=[6,1536,393216,100663296],v=[0,8,16,24],k=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],O=[224,256,384,512],F=[128,256],z=["hex","buffer","arrayBuffer","array","digest"],W={128:168,256:136};(a.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(U){return Object.prototype.toString.call(U)==="[object Array]"}),o&&(a.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(U){return typeof U=="object"&&U.buffer&&U.buffer.constructor===ArrayBuffer});for(var j=function(U,J,Z){return function(ne){return new S(U,J,U).update(ne)[Z]()}},Q=function(U,J,Z){return function(ne,ue){return new S(U,J,ue).update(ne)[Z]()}},V=function(U,J,Z){return function(ne,ue,Y,re){return m["cshake"+U].update(ne,ue,Y,re)[Z]()}},X=function(U,J,Z){return function(ne,ue,Y,re){return m["kmac"+U].update(ne,ue,Y,re)[Z]()}},K=function(U,J,Z,ne){for(var ue=0;ue>5,this.byteCount=this.blockCount<<2,this.outputBlocks=Z>>5,this.extraBytes=(Z&31)>>3;for(var ne=0;ne<50;++ne)this.s[ne]=0}S.prototype.update=function(U){if(this.finalized)throw new Error(e);var J,Z=typeof U;if(Z!=="string"){if(Z==="object"){if(U===null)throw new Error(t);if(o&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!o||!ArrayBuffer.isView(U)))throw new Error(t)}else throw new Error(t);J=!0}for(var ne=this.blocks,ue=this.byteCount,Y=U.length,re=this.blockCount,ie=0,ge=this.s,de,Ae;ie>2]|=U[ie]<>2]|=Ae<>2]|=(192|Ae>>6)<>2]|=(128|Ae&63)<=57344?(ne[de>>2]|=(224|Ae>>12)<>2]|=(128|Ae>>6&63)<>2]|=(128|Ae&63)<>2]|=(240|Ae>>18)<>2]|=(128|Ae>>12&63)<>2]|=(128|Ae>>6&63)<>2]|=(128|Ae&63)<=ue){for(this.start=de-ue,this.block=ne[re],de=0;de>8,Z=U&255;Z>0;)ue.unshift(Z),U=U>>8,Z=U&255,++ne;return J?ue.push(ne):ue.unshift(ne),this.update(ue),ue.length},S.prototype.encodeString=function(U){var J,Z=typeof U;if(Z!=="string"){if(Z==="object"){if(U===null)throw new Error(t);if(o&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!o||!ArrayBuffer.isView(U)))throw new Error(t)}else throw new Error(t);J=!0}var ne=0,ue=U.length;if(J)ne=ue;else for(var Y=0;Y=57344?ne+=3:(re=65536+((re&1023)<<10|U.charCodeAt(++Y)&1023),ne+=4)}return ne+=this.encode(ne*8),this.update(U),ne},S.prototype.bytepad=function(U,J){for(var Z=this.encode(J),ne=0;ne>2]|=this.padding[J&3],this.lastByteIndex===this.byteCount)for(U[0]=U[Z],J=1;J>4&15]+c[ie&15]+c[ie>>12&15]+c[ie>>8&15]+c[ie>>20&15]+c[ie>>16&15]+c[ie>>28&15]+c[ie>>24&15];Y%U===0&&(ee(J),ue=0)}return ne&&(ie=J[ue],re+=c[ie>>4&15]+c[ie&15],ne>1&&(re+=c[ie>>12&15]+c[ie>>8&15]),ne>2&&(re+=c[ie>>20&15]+c[ie>>16&15])),re},S.prototype.arrayBuffer=function(){this.finalize();var U=this.blockCount,J=this.s,Z=this.outputBlocks,ne=this.extraBytes,ue=0,Y=0,re=this.outputBits>>3,ie;ne?ie=new ArrayBuffer(Z+1<<2):ie=new ArrayBuffer(re);for(var ge=new Uint32Array(ie);Y>8&255,re[ie+2]=ge>>16&255,re[ie+3]=ge>>24&255;Y%U===0&&ee(J)}return ne&&(ie=Y<<2,ge=J[ue],re[ie]=ge&255,ne>1&&(re[ie+1]=ge>>8&255),ne>2&&(re[ie+2]=ge>>16&255)),re};function q(U,J,Z){S.call(this,U,J,Z)}q.prototype=new S,q.prototype.finalize=function(){return this.encode(this.outputBits,!0),S.prototype.finalize.call(this)};var ee=function(U){var J,Z,ne,ue,Y,re,ie,ge,de,Ae,Ge,Be,c0,Ye,He,_0,L0,Ze,I0,pe,he,Te,Ce,Se,Qe,u0,qe,v0,w0,Ve,be,ye,_e,ze,je,Ue,b0,h0,$e,M0,P0,t0,j0,z0,Ke,B0,G0,s0,X0,Y0,l0,K0,tt,p0,et,Et,$0,Tt,Pn,Ln,Fn,Nn,On;for(ne=0;ne<48;ne+=2)ue=U[0]^U[10]^U[20]^U[30]^U[40],Y=U[1]^U[11]^U[21]^U[31]^U[41],re=U[2]^U[12]^U[22]^U[32]^U[42],ie=U[3]^U[13]^U[23]^U[33]^U[43],ge=U[4]^U[14]^U[24]^U[34]^U[44],de=U[5]^U[15]^U[25]^U[35]^U[45],Ae=U[6]^U[16]^U[26]^U[36]^U[46],Ge=U[7]^U[17]^U[27]^U[37]^U[47],Be=U[8]^U[18]^U[28]^U[38]^U[48],c0=U[9]^U[19]^U[29]^U[39]^U[49],J=Be^(re<<1|ie>>>31),Z=c0^(ie<<1|re>>>31),U[0]^=J,U[1]^=Z,U[10]^=J,U[11]^=Z,U[20]^=J,U[21]^=Z,U[30]^=J,U[31]^=Z,U[40]^=J,U[41]^=Z,J=ue^(ge<<1|de>>>31),Z=Y^(de<<1|ge>>>31),U[2]^=J,U[3]^=Z,U[12]^=J,U[13]^=Z,U[22]^=J,U[23]^=Z,U[32]^=J,U[33]^=Z,U[42]^=J,U[43]^=Z,J=re^(Ae<<1|Ge>>>31),Z=ie^(Ge<<1|Ae>>>31),U[4]^=J,U[5]^=Z,U[14]^=J,U[15]^=Z,U[24]^=J,U[25]^=Z,U[34]^=J,U[35]^=Z,U[44]^=J,U[45]^=Z,J=ge^(Be<<1|c0>>>31),Z=de^(c0<<1|Be>>>31),U[6]^=J,U[7]^=Z,U[16]^=J,U[17]^=Z,U[26]^=J,U[27]^=Z,U[36]^=J,U[37]^=Z,U[46]^=J,U[47]^=Z,J=Ae^(ue<<1|Y>>>31),Z=Ge^(Y<<1|ue>>>31),U[8]^=J,U[9]^=Z,U[18]^=J,U[19]^=Z,U[28]^=J,U[29]^=Z,U[38]^=J,U[39]^=Z,U[48]^=J,U[49]^=Z,Ye=U[0],He=U[1],B0=U[11]<<4|U[10]>>>28,G0=U[10]<<4|U[11]>>>28,v0=U[20]<<3|U[21]>>>29,w0=U[21]<<3|U[20]>>>29,Ln=U[31]<<9|U[30]>>>23,Fn=U[30]<<9|U[31]>>>23,t0=U[40]<<18|U[41]>>>14,j0=U[41]<<18|U[40]>>>14,ze=U[2]<<1|U[3]>>>31,je=U[3]<<1|U[2]>>>31,_0=U[13]<<12|U[12]>>>20,L0=U[12]<<12|U[13]>>>20,s0=U[22]<<10|U[23]>>>22,X0=U[23]<<10|U[22]>>>22,Ve=U[33]<<13|U[32]>>>19,be=U[32]<<13|U[33]>>>19,Nn=U[42]<<2|U[43]>>>30,On=U[43]<<2|U[42]>>>30,p0=U[5]<<30|U[4]>>>2,et=U[4]<<30|U[5]>>>2,Ue=U[14]<<6|U[15]>>>26,b0=U[15]<<6|U[14]>>>26,Ze=U[25]<<11|U[24]>>>21,I0=U[24]<<11|U[25]>>>21,Y0=U[34]<<15|U[35]>>>17,l0=U[35]<<15|U[34]>>>17,ye=U[45]<<29|U[44]>>>3,_e=U[44]<<29|U[45]>>>3,Se=U[6]<<28|U[7]>>>4,Qe=U[7]<<28|U[6]>>>4,Et=U[17]<<23|U[16]>>>9,$0=U[16]<<23|U[17]>>>9,h0=U[26]<<25|U[27]>>>7,$e=U[27]<<25|U[26]>>>7,pe=U[36]<<21|U[37]>>>11,he=U[37]<<21|U[36]>>>11,K0=U[47]<<24|U[46]>>>8,tt=U[46]<<24|U[47]>>>8,z0=U[8]<<27|U[9]>>>5,Ke=U[9]<<27|U[8]>>>5,u0=U[18]<<20|U[19]>>>12,qe=U[19]<<20|U[18]>>>12,Tt=U[29]<<7|U[28]>>>25,Pn=U[28]<<7|U[29]>>>25,M0=U[38]<<8|U[39]>>>24,P0=U[39]<<8|U[38]>>>24,Te=U[48]<<14|U[49]>>>18,Ce=U[49]<<14|U[48]>>>18,U[0]=Ye^~_0&Ze,U[1]=He^~L0&I0,U[10]=Se^~u0&v0,U[11]=Qe^~qe&w0,U[20]=ze^~Ue&h0,U[21]=je^~b0&$e,U[30]=z0^~B0&s0,U[31]=Ke^~G0&X0,U[40]=p0^~Et&Tt,U[41]=et^~$0&Pn,U[2]=_0^~Ze&pe,U[3]=L0^~I0&he,U[12]=u0^~v0&Ve,U[13]=qe^~w0&be,U[22]=Ue^~h0&M0,U[23]=b0^~$e&P0,U[32]=B0^~s0&Y0,U[33]=G0^~X0&l0,U[42]=Et^~Tt&Ln,U[43]=$0^~Pn&Fn,U[4]=Ze^~pe&Te,U[5]=I0^~he&Ce,U[14]=v0^~Ve&ye,U[15]=w0^~be&_e,U[24]=h0^~M0&t0,U[25]=$e^~P0&j0,U[34]=s0^~Y0&K0,U[35]=X0^~l0&tt,U[44]=Tt^~Ln&Nn,U[45]=Pn^~Fn&On,U[6]=pe^~Te&Ye,U[7]=he^~Ce&He,U[16]=Ve^~ye&Se,U[17]=be^~_e&Qe,U[26]=M0^~t0&ze,U[27]=P0^~j0&je,U[36]=Y0^~K0&z0,U[37]=l0^~tt&Ke,U[46]=Ln^~Nn&p0,U[47]=Fn^~On&et,U[8]=Te^~Ye&_0,U[9]=Ce^~He&L0,U[18]=ye^~Se&u0,U[19]=_e^~Qe&qe,U[28]=t0^~ze&Ue,U[29]=j0^~je&b0,U[38]=K0^~z0&B0,U[39]=tt^~Ke&G0,U[48]=Nn^~p0&Et,U[49]=On^~et&$0,U[0]^=k[ne],U[1]^=k[ne+1]};if(i)JF.exports=m;else{for(P=0;P{"use strict";u();p();var PD0=$v&&$v.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty($v,"__esModule",{value:!0});$v.keccak256=void 0;var LD0=PD0(kwe()),FD0=Vt();function ND0(t){return"0x"+LD0.default.keccak_256((0,FD0.arrayify)(t))}$v.keccak256=ND0});var Swe=D(XF=>{"use strict";u();p();Object.defineProperty(XF,"__esModule",{value:!0});XF.version=void 0;XF.version="rlp/5.7.0"});var pI=D(Jv=>{"use strict";u();p();Object.defineProperty(Jv,"__esModule",{value:!0});Jv.decode=Jv.encode=void 0;var wy=Vt(),e8=Ft(),OD0=Swe(),b2=new e8.Logger(OD0.version);function Rwe(t){for(var e=[];t;)e.unshift(t&255),t>>=8;return e}function Mwe(t,e,n){for(var a=0,r=0;re+1+a&&b2.throwError("child data too short",e8.Logger.errors.BUFFER_OVERRUN,{})}return{consumed:1+a,result:r}}function Pwe(t,e){if(t.length===0&&b2.throwError("data too short",e8.Logger.errors.BUFFER_OVERRUN,{}),t[e]>=248){var n=t[e]-247;e+1+n>t.length&&b2.throwError("data short segment too short",e8.Logger.errors.BUFFER_OVERRUN,{});var a=Mwe(t,e+1,n);return e+1+n+a>t.length&&b2.throwError("data long segment too short",e8.Logger.errors.BUFFER_OVERRUN,{}),Bwe(t,e,e+1+n,n+a)}else if(t[e]>=192){var r=t[e]-192;return e+1+r>t.length&&b2.throwError("data array too short",e8.Logger.errors.BUFFER_OVERRUN,{}),Bwe(t,e,e+1,r)}else if(t[e]>=184){var n=t[e]-183;e+1+n>t.length&&b2.throwError("data array too short",e8.Logger.errors.BUFFER_OVERRUN,{});var f=Mwe(t,e+1,n);e+1+n+f>t.length&&b2.throwError("data array too short",e8.Logger.errors.BUFFER_OVERRUN,{});var i=(0,wy.hexlify)(t.slice(e+1+n,e+1+n+f));return{consumed:1+n+f,result:i}}else if(t[e]>=128){var s=t[e]-128;e+1+s>t.length&&b2.throwError("data too short",e8.Logger.errors.BUFFER_OVERRUN,{});var i=(0,wy.hexlify)(t.slice(e+1,e+1+s));return{consumed:1+s,result:i}}return{consumed:1,result:(0,wy.hexlify)(t[e])}}function HD0(t){var e=(0,wy.arrayify)(t),n=Pwe(e,0);return n.consumed!==e.length&&b2.throwArgumentError("invalid rlp data","data",t),n.result}Jv.decode=HD0});var Lwe=D(ZF=>{"use strict";u();p();Object.defineProperty(ZF,"__esModule",{value:!0});ZF.version=void 0;ZF.version="address/5.7.0"});var Bo=D(g5=>{"use strict";u();p();Object.defineProperty(g5,"__esModule",{value:!0});g5.getCreate2Address=g5.getContractAddress=g5.getIcapAddress=g5.isAddress=g5.getAddress=void 0;var t8=Vt(),F0e=ia(),N0e=O1(),zD0=pI(),WD0=Ft(),qD0=Lwe(),m3=new WD0.Logger(qD0.version);function Fwe(t){(0,t8.isHexString)(t,20)||m3.throwArgumentError("invalid address","address",t),t=t.toLowerCase();for(var e=t.substring(2).split(""),n=new Uint8Array(40),a=0;a<40;a++)n[a]=e[a].charCodeAt(0);for(var r=(0,t8.arrayify)((0,N0e.keccak256)(n)),a=0;a<40;a+=2)r[a>>1]>>4>=8&&(e[a]=e[a].toUpperCase()),(r[a>>1]&15)>=8&&(e[a+1]=e[a+1].toUpperCase());return"0x"+e.join("")}var jD0=9007199254740991;function GD0(t){return Math.log10?Math.log10(t):Math.log(t)/Math.LN10}var O0e={};for(Jd=0;Jd<10;Jd++)O0e[String(Jd)]=String(Jd);var Jd;for(Jd=0;Jd<26;Jd++)O0e[String.fromCharCode(65+Jd)]=String(10+Jd);var Jd,Nwe=Math.floor(GD0(jD0));function Owe(t){t=t.toUpperCase(),t=t.substring(4)+t.substring(0,2)+"00";for(var e=t.split("").map(function(r){return O0e[r]}).join("");e.length>=Nwe;){var n=e.substring(0,Nwe);e=parseInt(n,10)%97+e.substring(n.length)}for(var a=String(98-parseInt(e,10)%97);a.length<2;)a="0"+a;return a}function Ty(t){var e=null;if(typeof t!="string"&&m3.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))t.substring(0,2)!=="0x"&&(t="0x"+t),e=Fwe(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&m3.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==Owe(t)&&m3.throwArgumentError("bad icap checksum","address",t),e=(0,F0e._base36To16)(t.substring(4));e.length<40;)e="0"+e;e=Fwe("0x"+e)}else m3.throwArgumentError("invalid address","address",t);return e}g5.getAddress=Ty;function KD0(t){try{return Ty(t),!0}catch{}return!1}g5.isAddress=KD0;function QD0(t){for(var e=(0,F0e._base16To36)(Ty(t).substring(2)).toUpperCase();e.length<30;)e="0"+e;return"XE"+Owe("XE00"+e)+e}g5.getIcapAddress=QD0;function VD0(t){var e=null;try{e=Ty(t.from)}catch{m3.throwArgumentError("missing from address","transaction",t)}var n=(0,t8.stripZeros)((0,t8.arrayify)(F0e.BigNumber.from(t.nonce).toHexString()));return Ty((0,t8.hexDataSlice)((0,N0e.keccak256)((0,zD0.encode)([e,n])),12))}g5.getContractAddress=VD0;function YD0(t,e,n){return(0,t8.hexDataLength)(e)!==32&&m3.throwArgumentError("salt must be 32 bytes","salt",e),(0,t8.hexDataLength)(n)!==32&&m3.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",n),Ty((0,t8.hexDataSlice)((0,N0e.keccak256)((0,t8.concat)(["0xff",Ty(t),e,n])),12))}g5.getCreate2Address=YD0});var Hwe=D(Xv=>{"use strict";u();p();var $D0=Xv&&Xv.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(Xv,"__esModule",{value:!0});Xv.AddressCoder=void 0;var Uwe=Bo(),JD0=Vt(),XD0=y5(),ZD0=function(t){$D0(e,t);function e(n){return t.call(this,"address","address",n,!1)||this}return e.prototype.defaultValue=function(){return"0x0000000000000000000000000000000000000000"},e.prototype.encode=function(n,a){try{a=(0,Uwe.getAddress)(a)}catch(r){this._throwError(r.message,a)}return n.writeValue(a)},e.prototype.decode=function(n){return(0,Uwe.getAddress)((0,JD0.hexZeroPad)(n.readValue().toHexString(),20))},e}(XD0.Coder);Xv.AddressCoder=ZD0});var zwe=D(Zv=>{"use strict";u();p();var eP0=Zv&&Zv.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(Zv,"__esModule",{value:!0});Zv.AnonymousCoder=void 0;var tP0=y5(),nP0=function(t){eP0(e,t);function e(n){var a=t.call(this,n.name,n.type,void 0,n.dynamic)||this;return a.coder=n,a}return e.prototype.defaultValue=function(){return this.coder.defaultValue()},e.prototype.encode=function(n,a){return this.coder.encode(n,a)},e.prototype.decode=function(n){return this.coder.decode(n)},e}(tP0.Coder);Zv.AnonymousCoder=nP0});var H0e=D(m2=>{"use strict";u();p();var aP0=m2&&m2.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(m2,"__esModule",{value:!0});m2.ArrayCoder=m2.unpack=m2.pack=void 0;var tw=Ft(),rP0=Vv(),ew=new tw.Logger(rP0.version),U0e=y5(),fP0=zwe();function Wwe(t,e,n){var a=null;if(Array.isArray(n))a=n;else if(n&&typeof n=="object"){var r={};a=e.map(function(c){var d=c.localName;return d||ew.throwError("cannot encode object for signature with missing names",tw.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:c,value:n}),r[d]&&ew.throwError("cannot encode object for signature with duplicate names",tw.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:c,value:n}),r[d]=!0,n[d]})}else ew.throwArgumentError("invalid tuple value","tuple",n);e.length!==a.length&&ew.throwArgumentError("types/value length mismatch","tuple",n);var f=new U0e.Writer(t.wordSize),i=new U0e.Writer(t.wordSize),s=[];e.forEach(function(c,d){var l=a[d];if(c.dynamic){var h=i.length;c.encode(i,l);var y=f.writeUpdatableValue();s.push(function(v){y(v+h)})}else c.encode(f,l)}),s.forEach(function(c){c(f.length)});var o=t.appendWriter(f);return o+=t.appendWriter(i),o}m2.pack=Wwe;function qwe(t,e){var n=[],a=t.subReader(0);e.forEach(function(s){var o=null;if(s.dynamic){var c=t.readValue(),d=a.subReader(c.toNumber());try{o=s.decode(d)}catch(l){if(l.code===tw.Logger.errors.BUFFER_OVERRUN)throw l;o=l,o.baseType=s.name,o.name=s.localName,o.type=s.type}}else try{o=s.decode(t)}catch(l){if(l.code===tw.Logger.errors.BUFFER_OVERRUN)throw l;o=l,o.baseType=s.name,o.name=s.localName,o.type=s.type}o!=null&&n.push(o)});var r=e.reduce(function(s,o){var c=o.localName;return c&&(s[c]||(s[c]=0),s[c]++),s},{});e.forEach(function(s,o){var c=s.localName;if(!(!c||r[c]!==1)&&(c==="length"&&(c="_length"),n[c]==null)){var d=n[o];d instanceof Error?Object.defineProperty(n,c,{enumerable:!0,get:function(){throw d}}):n[c]=d}});for(var f=function(s){var o=n[s];o instanceof Error&&Object.defineProperty(n,s,{enumerable:!0,get:function(){throw o}})},i=0;i=0?a:"")+"]",s=a===-1||n.dynamic;return f=t.call(this,"array",i,r,s)||this,f.coder=n,f.length=a,f}return e.prototype.defaultValue=function(){for(var n=this.coder.defaultValue(),a=[],r=0;rn._data.length&&ew.throwError("insufficient data length",tw.Logger.errors.BUFFER_OVERRUN,{length:n._data.length,count:a}));for(var r=[],f=0;f{"use strict";u();p();var sP0=nw&&nw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(nw,"__esModule",{value:!0});nw.BooleanCoder=void 0;var oP0=y5(),cP0=function(t){sP0(e,t);function e(n){return t.call(this,"bool","bool",n,!1)||this}return e.prototype.defaultValue=function(){return!1},e.prototype.encode=function(n,a){return n.writeValue(a?1:0)},e.prototype.decode=function(n){return n.coerce(this.type,!n.readValue().isZero())},e}(oP0.Coder);nw.BooleanCoder=cP0});var z0e=D(y3=>{"use strict";u();p();var Gwe=y3&&y3.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(y3,"__esModule",{value:!0});y3.BytesCoder=y3.DynamicBytesCoder=void 0;var Kwe=Vt(),dP0=y5(),Qwe=function(t){Gwe(e,t);function e(n,a){return t.call(this,n,n,a,!0)||this}return e.prototype.defaultValue=function(){return"0x"},e.prototype.encode=function(n,a){a=(0,Kwe.arrayify)(a);var r=n.writeValue(a.length);return r+=n.writeBytes(a),r},e.prototype.decode=function(n){return n.readBytes(n.readValue().toNumber(),!0)},e}(dP0.Coder);y3.DynamicBytesCoder=Qwe;var lP0=function(t){Gwe(e,t);function e(n){return t.call(this,"bytes",n)||this}return e.prototype.decode=function(n){return n.coerce(this.name,(0,Kwe.hexlify)(t.prototype.decode.call(this,n)))},e}(Qwe);y3.BytesCoder=lP0});var Ywe=D(aw=>{"use strict";u();p();var uP0=aw&&aw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(aw,"__esModule",{value:!0});aw.FixedBytesCoder=void 0;var Vwe=Vt(),pP0=y5(),hP0=function(t){uP0(e,t);function e(n,a){var r=this,f="bytes"+String(n);return r=t.call(this,f,f,a,!1)||this,r.size=n,r}return e.prototype.defaultValue=function(){return"0x0000000000000000000000000000000000000000000000000000000000000000".substring(0,2+this.size*2)},e.prototype.encode=function(n,a){var r=(0,Vwe.arrayify)(a);return r.length!==this.size&&this._throwError("incorrect data length",a),n.writeBytes(r)},e.prototype.decode=function(n){return n.coerce(this.name,(0,Vwe.hexlify)(n.readBytes(this.size)))},e}(pP0.Coder);aw.FixedBytesCoder=hP0});var $we=D(rw=>{"use strict";u();p();var bP0=rw&&rw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(rw,"__esModule",{value:!0});rw.NullCoder=void 0;var mP0=y5(),yP0=function(t){bP0(e,t);function e(n){return t.call(this,"null","",n,!1)||this}return e.prototype.defaultValue=function(){return null},e.prototype.encode=function(n,a){return a!=null&&this._throwError("not null",a),n.writeBytes([])},e.prototype.decode=function(n){return n.readBytes(0),n.coerce(this.name,null)},e}(mP0.Coder);rw.NullCoder=yP0});var Jwe=D(eN=>{"use strict";u();p();Object.defineProperty(eN,"__esModule",{value:!0});eN.AddressZero=void 0;eN.AddressZero="0x0000000000000000000000000000000000000000"});var Xwe=D(ds=>{"use strict";u();p();Object.defineProperty(ds,"__esModule",{value:!0});ds.MaxInt256=ds.MinInt256=ds.MaxUint256=ds.WeiPerEther=ds.Two=ds.One=ds.Zero=ds.NegativeOne=void 0;var g3=ia(),gP0=g3.BigNumber.from(-1);ds.NegativeOne=gP0;var vP0=g3.BigNumber.from(0);ds.Zero=vP0;var wP0=g3.BigNumber.from(1);ds.One=wP0;var TP0=g3.BigNumber.from(2);ds.Two=TP0;var xP0=g3.BigNumber.from("1000000000000000000");ds.WeiPerEther=xP0;var EP0=g3.BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");ds.MaxUint256=EP0;var _P0=g3.BigNumber.from("-0x8000000000000000000000000000000000000000000000000000000000000000");ds.MinInt256=_P0;var AP0=g3.BigNumber.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");ds.MaxInt256=AP0});var Zwe=D(tN=>{"use strict";u();p();Object.defineProperty(tN,"__esModule",{value:!0});tN.HashZero=void 0;tN.HashZero="0x0000000000000000000000000000000000000000000000000000000000000000"});var eTe=D(nN=>{"use strict";u();p();Object.defineProperty(nN,"__esModule",{value:!0});nN.EtherSymbol=void 0;nN.EtherSymbol="\u039E"});var w3=D(df=>{"use strict";u();p();Object.defineProperty(df,"__esModule",{value:!0});df.EtherSymbol=df.HashZero=df.MaxInt256=df.MinInt256=df.MaxUint256=df.WeiPerEther=df.Two=df.One=df.Zero=df.NegativeOne=df.AddressZero=void 0;var CP0=Jwe();Object.defineProperty(df,"AddressZero",{enumerable:!0,get:function(){return CP0.AddressZero}});var v3=Xwe();Object.defineProperty(df,"NegativeOne",{enumerable:!0,get:function(){return v3.NegativeOne}});Object.defineProperty(df,"Zero",{enumerable:!0,get:function(){return v3.Zero}});Object.defineProperty(df,"One",{enumerable:!0,get:function(){return v3.One}});Object.defineProperty(df,"Two",{enumerable:!0,get:function(){return v3.Two}});Object.defineProperty(df,"WeiPerEther",{enumerable:!0,get:function(){return v3.WeiPerEther}});Object.defineProperty(df,"MaxUint256",{enumerable:!0,get:function(){return v3.MaxUint256}});Object.defineProperty(df,"MinInt256",{enumerable:!0,get:function(){return v3.MinInt256}});Object.defineProperty(df,"MaxInt256",{enumerable:!0,get:function(){return v3.MaxInt256}});var IP0=Zwe();Object.defineProperty(df,"HashZero",{enumerable:!0,get:function(){return IP0.HashZero}});var kP0=eTe();Object.defineProperty(df,"EtherSymbol",{enumerable:!0,get:function(){return kP0.EtherSymbol}})});var tTe=D(fw=>{"use strict";u();p();var SP0=fw&&fw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(fw,"__esModule",{value:!0});fw.NumberCoder=void 0;var RP0=ia(),aN=w3(),MP0=y5(),BP0=function(t){SP0(e,t);function e(n,a,r){var f=this,i=(a?"int":"uint")+n*8;return f=t.call(this,i,i,r,!1)||this,f.size=n,f.signed=a,f}return e.prototype.defaultValue=function(){return 0},e.prototype.encode=function(n,a){var r=RP0.BigNumber.from(a),f=aN.MaxUint256.mask(n.wordSize*8);if(this.signed){var i=f.mask(this.size*8-1);(r.gt(i)||r.lt(i.add(aN.One).mul(aN.NegativeOne)))&&this._throwError("value out-of-bounds",a)}else(r.lt(aN.Zero)||r.gt(f.mask(this.size*8)))&&this._throwError("value out-of-bounds",a);return r=r.toTwos(this.size*8).mask(this.size*8),this.signed&&(r=r.fromTwos(this.size*8).toTwos(8*n.wordSize)),n.writeValue(r)},e.prototype.decode=function(n){var a=n.readValue().mask(this.size*8);return this.signed&&(a=a.fromTwos(this.size*8)),n.coerce(this.name,a)},e}(MP0.Coder);fw.NumberCoder=BP0});var nTe=D(rN=>{"use strict";u();p();Object.defineProperty(rN,"__esModule",{value:!0});rN.version=void 0;rN.version="strings/5.7.0"});var iN=D(li=>{"use strict";u();p();Object.defineProperty(li,"__esModule",{value:!0});li.toUtf8CodePoints=li.toUtf8String=li._toUtf8String=li._toEscapedUtf8String=li.toUtf8Bytes=li.Utf8ErrorFuncs=li.Utf8ErrorReason=li.UnicodeNormalizationForm=void 0;var aTe=Vt(),DP0=Ft(),PP0=nTe(),rTe=new DP0.Logger(PP0.version),fN;(function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"})(fN=li.UnicodeNormalizationForm||(li.UnicodeNormalizationForm={}));var v5;(function(t){t.UNEXPECTED_CONTINUE="unexpected continuation byte",t.BAD_PREFIX="bad codepoint prefix",t.OVERRUN="string overrun",t.MISSING_CONTINUE="missing continuation byte",t.OUT_OF_RANGE="out of UTF-8 range",t.UTF16_SURROGATE="UTF-16 surrogate",t.OVERLONG="overlong representation"})(v5=li.Utf8ErrorReason||(li.Utf8ErrorReason={}));function LP0(t,e,n,a,r){return rTe.throwArgumentError("invalid codepoint at offset "+e+"; "+t,"bytes",n)}function fTe(t,e,n,a,r){if(t===v5.BAD_PREFIX||t===v5.UNEXPECTED_CONTINUE){for(var f=0,i=e+1;i>6===2;i++)f++;return f}return t===v5.OVERRUN?n.length-e-1:0}function FP0(t,e,n,a,r){return t===v5.OVERLONG?(a.push(r),0):(a.push(65533),fTe(t,e,n,a,r))}li.Utf8ErrorFuncs=Object.freeze({error:LP0,ignore:fTe,replace:FP0});function q0e(t,e){e==null&&(e=li.Utf8ErrorFuncs.error),t=(0,aTe.arrayify)(t);for(var n=[],a=0;a>7)){n.push(r);continue}var f=null,i=null;if((r&224)===192)f=1,i=127;else if((r&240)===224)f=2,i=2047;else if((r&248)===240)f=3,i=65535;else{(r&192)===128?a+=e(v5.UNEXPECTED_CONTINUE,a-1,t,n):a+=e(v5.BAD_PREFIX,a-1,t,n);continue}if(a-1+f>=t.length){a+=e(v5.OVERRUN,a-1,t,n);continue}for(var s=r&(1<<8-f-1)-1,o=0;o1114111){a+=e(v5.OUT_OF_RANGE,a-1-f,t,n,s);continue}if(s>=55296&&s<=57343){a+=e(v5.UTF16_SURROGATE,a-1-f,t,n,s);continue}if(s<=i){a+=e(v5.OVERLONG,a-1-f,t,n,s);continue}n.push(s)}}return n}function iTe(t,e){e===void 0&&(e=fN.current),e!=fN.current&&(rTe.checkNormalize(),t=t.normalize(e));for(var n=[],a=0;a>6|192),n.push(r&63|128);else if((r&64512)==55296){a++;var f=t.charCodeAt(a);if(a>=t.length||(f&64512)!==56320)throw new Error("invalid utf-8 string");var i=65536+((r&1023)<<10)+(f&1023);n.push(i>>18|240),n.push(i>>12&63|128),n.push(i>>6&63|128),n.push(i&63|128)}else n.push(r>>12|224),n.push(r>>6&63|128),n.push(r&63|128)}return(0,aTe.arrayify)(n)}li.toUtf8Bytes=iTe;function W0e(t){var e="0000"+t.toString(16);return"\\u"+e.substring(e.length-4)}function NP0(t,e){return'"'+q0e(t,e).map(function(n){if(n<256){switch(n){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(n>=32&&n<127)return String.fromCharCode(n)}return n<=65535?W0e(n):(n-=65536,W0e((n>>10&1023)+55296)+W0e((n&1023)+56320))}).join("")+'"'}li._toEscapedUtf8String=NP0;function sTe(t){return t.map(function(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10&1023)+55296,(e&1023)+56320))}).join("")}li._toUtf8String=sTe;function OP0(t,e){return sTe(q0e(t,e))}li.toUtf8String=OP0;function UP0(t,e){return e===void 0&&(e=fN.current),q0e(iTe(t,e))}li.toUtf8CodePoints=UP0});var cTe=D(iw=>{"use strict";u();p();Object.defineProperty(iw,"__esModule",{value:!0});iw.parseBytes32String=iw.formatBytes32String=void 0;var HP0=w3(),j0e=Vt(),oTe=iN();function zP0(t){var e=(0,oTe.toUtf8Bytes)(t);if(e.length>31)throw new Error("bytes32 string must be less than 32 bytes");return(0,j0e.hexlify)((0,j0e.concat)([e,HP0.HashZero]).slice(0,32))}iw.formatBytes32String=zP0;function WP0(t){var e=(0,j0e.arrayify)(t);if(e.length!==32)throw new Error("invalid bytes32 - not 32 bytes long");if(e[31]!==0)throw new Error("invalid bytes32 string - no null terminator");for(var n=31;e[n-1]===0;)n--;return(0,oTe.toUtf8String)(e.slice(0,n))}iw.parseBytes32String=WP0});var hTe=D(y2=>{"use strict";u();p();Object.defineProperty(y2,"__esModule",{value:!0});y2.nameprep=y2._nameprepTableC=y2._nameprepTableB2=y2._nameprepTableA1=void 0;var hI=iN();function qP0(t){if(t.length%4!==0)throw new Error("bad data");for(var e=[],n=0;n=n&&t<=n+r.h&&(t-n)%(r.d||1)===0){if(r.e&&r.e.indexOf(t-n)!==-1)continue;return r}}return null}var jP0=dTe("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),GP0="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map(function(t){return parseInt(t,16)}),KP0=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],QP0=G0e("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),VP0=G0e("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),YP0=G0e("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",qP0),$P0=dTe("80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001");function JP0(t){return t.reduce(function(e,n){return n.forEach(function(a){e.push(a)}),e},[])}function lTe(t){return!!K0e(t,jP0)}y2._nameprepTableA1=lTe;function uTe(t){var e=K0e(t,KP0);if(e)return[t+e.s];var n=QP0[t];if(n)return n;var a=VP0[t];if(a)return[t+a[0]];var r=YP0[t];return r||null}y2._nameprepTableB2=uTe;function pTe(t){return!!K0e(t,$P0)}y2._nameprepTableC=pTe;function XP0(t){if(t.match(/^[a-z0-9-]*$/i)&&t.length<=59)return t.toLowerCase();var e=(0,hI.toUtf8CodePoints)(t);e=JP0(e.map(function(a){if(GP0.indexOf(a)>=0)return[];if(a>=65024&&a<=65039)return[];var r=uTe(a);return r||[a]})),e=(0,hI.toUtf8CodePoints)((0,hI._toUtf8String)(e),hI.UnicodeNormalizationForm.NFKC),e.forEach(function(a){if(pTe(a))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")}),e.forEach(function(a){if(lTe(a))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")});var n=(0,hI._toUtf8String)(e);if(n.substring(0,1)==="-"||n.substring(2,4)==="--"||n.substring(n.length-1)==="-")throw new Error("invalid hyphen");return n}y2.nameprep=XP0});var _i=D(Vf=>{"use strict";u();p();Object.defineProperty(Vf,"__esModule",{value:!0});Vf.nameprep=Vf.parseBytes32String=Vf.formatBytes32String=Vf.UnicodeNormalizationForm=Vf.Utf8ErrorReason=Vf.Utf8ErrorFuncs=Vf.toUtf8String=Vf.toUtf8CodePoints=Vf.toUtf8Bytes=Vf._toEscapedUtf8String=void 0;var bTe=cTe();Object.defineProperty(Vf,"formatBytes32String",{enumerable:!0,get:function(){return bTe.formatBytes32String}});Object.defineProperty(Vf,"parseBytes32String",{enumerable:!0,get:function(){return bTe.parseBytes32String}});var ZP0=hTe();Object.defineProperty(Vf,"nameprep",{enumerable:!0,get:function(){return ZP0.nameprep}});var xy=iN();Object.defineProperty(Vf,"_toEscapedUtf8String",{enumerable:!0,get:function(){return xy._toEscapedUtf8String}});Object.defineProperty(Vf,"toUtf8Bytes",{enumerable:!0,get:function(){return xy.toUtf8Bytes}});Object.defineProperty(Vf,"toUtf8CodePoints",{enumerable:!0,get:function(){return xy.toUtf8CodePoints}});Object.defineProperty(Vf,"toUtf8String",{enumerable:!0,get:function(){return xy.toUtf8String}});Object.defineProperty(Vf,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return xy.UnicodeNormalizationForm}});Object.defineProperty(Vf,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return xy.Utf8ErrorFuncs}});Object.defineProperty(Vf,"Utf8ErrorReason",{enumerable:!0,get:function(){return xy.Utf8ErrorReason}})});var yTe=D(sw=>{"use strict";u();p();var eL0=sw&&sw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(sw,"__esModule",{value:!0});sw.StringCoder=void 0;var mTe=_i(),tL0=z0e(),nL0=function(t){eL0(e,t);function e(n){return t.call(this,"string",n)||this}return e.prototype.defaultValue=function(){return""},e.prototype.encode=function(n,a){return t.prototype.encode.call(this,n,(0,mTe.toUtf8Bytes)(a))},e.prototype.decode=function(n){return(0,mTe.toUtf8String)(t.prototype.decode.call(this,n))},e}(tL0.DynamicBytesCoder);sw.StringCoder=nL0});var vTe=D(ow=>{"use strict";u();p();var aL0=ow&&ow.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(ow,"__esModule",{value:!0});ow.TupleCoder=void 0;var rL0=y5(),gTe=H0e(),fL0=function(t){aL0(e,t);function e(n,a){var r=this,f=!1,i=[];n.forEach(function(o){o.dynamic&&(f=!0),i.push(o.type)});var s="tuple("+i.join(",")+")";return r=t.call(this,"tuple",s,a,f)||this,r.coders=n,r}return e.prototype.defaultValue=function(){var n=[];this.coders.forEach(function(r){n.push(r.defaultValue())});var a=this.coders.reduce(function(r,f){var i=f.localName;return i&&(r[i]||(r[i]=0),r[i]++),r},{});return this.coders.forEach(function(r,f){var i=r.localName;!i||a[i]!==1||(i==="length"&&(i="_length"),n[i]==null&&(n[i]=n[f]))}),Object.freeze(n)},e.prototype.encode=function(n,a){return(0,gTe.pack)(n,this.coders,a)},e.prototype.decode=function(n){return n.coerce(this.name,(0,gTe.unpack)(n,this.coders))},e}(rL0.Coder);ow.TupleCoder=fL0});var V0e=D(cw=>{"use strict";u();p();Object.defineProperty(cw,"__esModule",{value:!0});cw.defaultAbiCoder=cw.AbiCoder=void 0;var iL0=Vt(),sL0=Ba(),TTe=Ft(),oL0=Vv(),sN=new TTe.Logger(oL0.version),wTe=y5(),cL0=Hwe(),dL0=H0e(),lL0=jwe(),uL0=z0e(),pL0=Ywe(),hL0=$we(),bL0=tTe(),mL0=yTe(),oN=vTe(),Q0e=$F(),yL0=new RegExp(/^bytes([0-9]*)$/),gL0=new RegExp(/^(u?int)([0-9]*)$/),xTe=function(){function t(e){(0,sL0.defineReadOnly)(this,"coerceFunc",e||null)}return t.prototype._getCoder=function(e){var n=this;switch(e.baseType){case"address":return new cL0.AddressCoder(e.name);case"bool":return new lL0.BooleanCoder(e.name);case"string":return new mL0.StringCoder(e.name);case"bytes":return new uL0.BytesCoder(e.name);case"array":return new dL0.ArrayCoder(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new oN.TupleCoder((e.components||[]).map(function(f){return n._getCoder(f)}),e.name);case"":return new hL0.NullCoder(e.name)}var a=e.type.match(gL0);if(a){var r=parseInt(a[2]||"256");return(r===0||r>256||r%8!==0)&&sN.throwArgumentError("invalid "+a[1]+" bit length","param",e),new bL0.NumberCoder(r/8,a[1]==="int",e.name)}if(a=e.type.match(yL0),a){var r=parseInt(a[1]);return(r===0||r>32)&&sN.throwArgumentError("invalid bytes length","param",e),new pL0.FixedBytesCoder(r,e.name)}return sN.throwArgumentError("invalid type","type",e.type)},t.prototype._getWordSize=function(){return 32},t.prototype._getReader=function(e,n){return new wTe.Reader(e,this._getWordSize(),this.coerceFunc,n)},t.prototype._getWriter=function(){return new wTe.Writer(this._getWordSize())},t.prototype.getDefaultValue=function(e){var n=this,a=e.map(function(f){return n._getCoder(Q0e.ParamType.from(f))}),r=new oN.TupleCoder(a,"_");return r.defaultValue()},t.prototype.encode=function(e,n){var a=this;e.length!==n.length&&sN.throwError("types/values length mismatch",TTe.Logger.errors.INVALID_ARGUMENT,{count:{types:e.length,values:n.length},value:{types:e,values:n}});var r=e.map(function(s){return a._getCoder(Q0e.ParamType.from(s))}),f=new oN.TupleCoder(r,"_"),i=this._getWriter();return f.encode(i,n),i.data},t.prototype.decode=function(e,n,a){var r=this,f=e.map(function(s){return r._getCoder(Q0e.ParamType.from(s))}),i=new oN.TupleCoder(f,"_");return i.decode(this._getReader((0,iL0.arrayify)(n),a))},t}();cw.AbiCoder=xTe;cw.defaultAbiCoder=new xTe});var Y0e=D(cN=>{"use strict";u();p();Object.defineProperty(cN,"__esModule",{value:!0});cN.id=void 0;var vL0=O1(),wL0=_i();function TL0(t){return(0,vL0.keccak256)((0,wL0.toUtf8Bytes)(t))}cN.id=TL0});var $0e=D(dN=>{"use strict";u();p();Object.defineProperty(dN,"__esModule",{value:!0});dN.version=void 0;dN.version="hash/5.7.0"});var _Te=D(dw=>{"use strict";u();p();Object.defineProperty(dw,"__esModule",{value:!0});dw.encode=dw.decode=void 0;var ETe=Vt();function xL0(t){t=atob(t);for(var e=[],n=0;n{"use strict";u();p();Object.defineProperty(lw,"__esModule",{value:!0});lw.encode=lw.decode=void 0;var ATe=_Te();Object.defineProperty(lw,"decode",{enumerable:!0,get:function(){return ATe.decode}});Object.defineProperty(lw,"encode",{enumerable:!0,get:function(){return ATe.encode}})});var X0e=D(ls=>{"use strict";u();p();Object.defineProperty(ls,"__esModule",{value:!0});ls.read_emoji_trie=ls.read_zero_terminated_array=ls.read_mapped_map=ls.read_member_array=ls.signed=ls.read_compressed_payload=ls.read_payload=ls.decode_arithmetic=void 0;function ITe(t,e){e==null&&(e=1);var n=[],a=n.forEach,r=function(f,i){a.call(f,function(s){i>0&&Array.isArray(s)?r(s,i-1):n.push(s)})};return r(t,e),n}function _L0(t){for(var e={},n=0;n>--c&1}for(var h=31,y=Math.pow(2,h),v=y>>>1,k=v>>1,O=y-1,F=0,i=0;i1;){var K=V+X>>>1;Q>>1|l(),G=G<<1^v,R=(R^v)<<1|v|1;W=G,j=1+R-G}var T=a-4;return z.map(function(N){switch(N-T){case 3:return T+65792+(t[o++]<<16|t[o++]<<8|t[o++]);case 2:return T+256+(t[o++]<<8|t[o++]);case 1:return T+t[o++];default:return N-1}})}ls.decode_arithmetic=kTe;function STe(t){var e=0;return function(){return t[e++]}}ls.read_payload=STe;function AL0(t){return STe(kTe(t))}ls.read_compressed_payload=AL0;function RTe(t){return t&1?~t>>1:t>>1}ls.signed=RTe;function CL0(t,e){for(var n=Array(t),a=0;a>=1;var o=f==1,c=f==2;return{branches:a,valid:i,fe0f:s,save:o,check:c}}}ls.read_emoji_trie=ML0});var DTe=D(lN=>{"use strict";u();p();Object.defineProperty(lN,"__esModule",{value:!0});lN.getData=void 0;var BL0=bI(),DL0=X0e();function PL0(){return(0,DL0.read_compressed_payload)((0,BL0.decode)("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA=="))}lN.getData=PL0});var NTe=D(uw=>{"use strict";u();p();Object.defineProperty(uw,"__esModule",{value:!0});uw.ens_normalize=uw.ens_normalize_post_check=void 0;var LL0=_i(),FL0=DTe(),uN=(0,FL0.getData)(),pN=X0e(),NL0=new Set((0,pN.read_member_array)(uN)),OL0=new Set((0,pN.read_member_array)(uN)),UL0=(0,pN.read_mapped_map)(uN),HL0=(0,pN.read_emoji_trie)(uN),PTe=45,LTe=95;function FTe(t){return(0,LL0.toUtf8CodePoints)(t)}function zL0(t){return t.filter(function(e){return e!=65039})}function Z0e(t){for(var e=0,n=t.split(".");e=0;f--)if(r[f]!==LTe)throw new Error("underscore only allowed at start");if(r.length>=4&&r.every(function(i){return i<128})&&r[2]===PTe&&r[3]===PTe)throw new Error("invalid label extension")}catch(i){throw new Error('Invalid label "'+a+'": '+i.message)}}return t}uw.ens_normalize_post_check=Z0e;function WL0(t){return Z0e(qL0(t,zL0))}uw.ens_normalize=WL0;function qL0(t,e){for(var n=FTe(t).reverse(),a=[];n.length;){var r=GL0(n);if(r){a.push.apply(a,e(r));continue}var f=n.pop();if(NL0.has(f)){a.push(f);continue}if(!OL0.has(f)){var i=UL0[f];if(i){a.push.apply(a,i);continue}throw new Error("Disallowed codepoint: 0x"+f.toString(16).toUpperCase())}}return Z0e(jL0(String.fromCodePoint.apply(String,a)))}function jL0(t){return t.normalize("NFC")}function GL0(t,e){var n,a=HL0,r,f,i=[],s=t.length;e&&(e.length=0);for(var o=function(){var d=t[--s];if(a=(n=a.branches.find(function(l){return l.set.has(d)}))===null||n===void 0?void 0:n.node,!a)return"break";if(a.save)f=d;else if(a.check&&d===f)return"break";i.push(d),a.fe0f&&(i.push(65039),s>0&&t[s-1]==65039&&s--),a.valid&&(r=i.slice(),a.valid==2&&r.splice(1,1),e&&e.push.apply(e,t.slice(s).reverse()),t.length=s)};s;){var c=o();if(c==="break")break}return r}});var ete=D(g2=>{"use strict";u();p();Object.defineProperty(g2,"__esModule",{value:!0});g2.dnsEncode=g2.namehash=g2.isValidName=g2.ensNormalize=void 0;var hN=Vt(),HTe=_i(),OTe=O1(),KL0=Ft(),QL0=$0e(),VL0=new KL0.Logger(QL0.version),YL0=NTe(),zTe=new Uint8Array(32);zTe.fill(0);function UTe(t){if(t.length===0)throw new Error("invalid ENS name; empty component");return t}function bN(t){var e=(0,HTe.toUtf8Bytes)((0,YL0.ens_normalize)(t)),n=[];if(t.length===0)return n;for(var a=0,r=0;r=e.length)throw new Error("invalid ENS name; empty component");return n.push(UTe(e.slice(a))),n}function $L0(t){return bN(t).map(function(e){return(0,HTe.toUtf8String)(e)}).join(".")}g2.ensNormalize=$L0;function JL0(t){try{return bN(t).length!==0}catch{}return!1}g2.isValidName=JL0;function XL0(t){typeof t!="string"&&VL0.throwArgumentError("invalid ENS name; not a string","name",t);for(var e=zTe,n=bN(t);n.length;)e=(0,OTe.keccak256)((0,hN.concat)([e,(0,OTe.keccak256)(n.pop())]));return(0,hN.hexlify)(e)}g2.namehash=XL0;function ZL0(t){return(0,hN.hexlify)((0,hN.concat)(bN(t).map(function(e){if(e.length>63)throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");var n=new Uint8Array(e.length+1);return n.set(e,1),n[0]=n.length-1,n})))+"00"}g2.dnsEncode=ZL0});var WTe=D(Ey=>{"use strict";u();p();Object.defineProperty(Ey,"__esModule",{value:!0});Ey.hashMessage=Ey.messagePrefix=void 0;var eF0=Vt(),tF0=O1(),tte=_i();Ey.messagePrefix=`Ethereum Signed Message: +`;function nF0(t){return typeof t=="string"&&(t=(0,tte.toUtf8Bytes)(t)),(0,tF0.keccak256)((0,eF0.concat)([(0,tte.toUtf8Bytes)(Ey.messagePrefix),(0,tte.toUtf8Bytes)(String(t.length)),t]))}Ey.hashMessage=nF0});var JTe=D(T3=>{"use strict";u();p();var aF0=T3&&T3.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},rF0=T3&&T3.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]256||e[2]&&e[2]!==String(a))&&If.throwArgumentError("invalid numeric width","type",t);var r=oF0.mask(n?a-1:a),f=n?r.add($Te).mul(sF0):YTe;return function(s){var o=Ay.BigNumber.from(s);return(o.lt(f)||o.gt(r))&&If.throwArgumentError("value out-of-bounds for "+t,"value",s),(0,Ys.hexZeroPad)(o.toTwos(256).toHexString(),32)}}}{var e=t.match(/^bytes(\d+)$/);if(e){var i=parseInt(e[1]);return(i===0||i>32||e[1]!==String(i))&&If.throwArgumentError("invalid bytes width","type",t),function(o){var c=(0,Ys.arrayify)(o);return c.length!==i&&If.throwArgumentError("invalid length for "+t,"value",o),cF0(o)}}}switch(t){case"address":return function(s){return(0,Ys.hexZeroPad)((0,KTe.getAddress)(s),32)};case"bool":return function(s){return s?dF0:lF0};case"bytes":return function(s){return(0,pw.keccak256)(s)};case"string":return function(s){return(0,QTe.id)(s)}}return null}function GTe(t,e){return t+"("+e.map(function(n){var a=n.name,r=n.type;return r+" "+a}).join(",")+")"}var pF0=function(){function t(e){(0,_y.defineReadOnly)(this,"types",Object.freeze((0,_y.deepCopy)(e))),(0,_y.defineReadOnly)(this,"_encoderCache",{}),(0,_y.defineReadOnly)(this,"_types",{});var n={},a={},r={};Object.keys(e).forEach(function(l){n[l]={},a[l]=[],r[l]={}});var f=function(l){var h={};e[l].forEach(function(y){h[y.name]&&If.throwArgumentError("duplicate variable name "+JSON.stringify(y.name)+" in "+JSON.stringify(l),"types",e),h[y.name]=!0;var v=y.type.match(/^([^\x5b]*)(\x5b|$)/)[1];v===l&&If.throwArgumentError("circular type reference to "+JSON.stringify(v),"types",e);var k=ate(v);k||(a[v]||If.throwArgumentError("unknown type "+JSON.stringify(v),"types",e),a[v].push(l),n[l][v]=!0)})};for(var i in e)f(i);var s=Object.keys(a).filter(function(l){return a[l].length===0});s.length===0?If.throwArgumentError("missing primary type","types",e):s.length>1&&If.throwArgumentError("ambiguous primary types or unused types: "+s.map(function(l){return JSON.stringify(l)}).join(", "),"types",e),(0,_y.defineReadOnly)(this,"primaryType",s[0]);function o(l,h){h[l]&&If.throwArgumentError("circular type reference to "+JSON.stringify(l),"types",e),h[l]=!0,Object.keys(n[l]).forEach(function(y){a[y]&&(o(y,h),Object.keys(h).forEach(function(v){r[v][y]=!0}))}),delete h[l]}o(this.primaryType,{});for(var c in r){var d=Object.keys(r[c]);d.sort(),this._types[c]=GTe(c,e[c])+d.map(function(l){return GTe(l,e[l])}).join("")}}return t.prototype.getEncoder=function(e){var n=this._encoderCache[e];return n||(n=this._encoderCache[e]=this._getEncoder(e)),n},t.prototype._getEncoder=function(e){var n=this;{var a=ate(e);if(a)return a}var r=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(r){var f=r[1],i=this.getEncoder(f),s=parseInt(r[3]);return function(d){s>=0&&d.length!==s&&If.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",d);var l=d.map(i);return n._types[f]&&(l=l.map(pw.keccak256)),(0,pw.keccak256)((0,Ys.hexConcat)(l))}}var o=this.types[e];if(o){var c=(0,QTe.id)(this._types[e]);return function(d){var l=o.map(function(h){var y=h.name,v=h.type,k=n.getEncoder(v)(d[y]);return n._types[v]?(0,pw.keccak256)(k):k});return l.unshift(c),(0,Ys.hexConcat)(l)}}return If.throwArgumentError("unknown type: "+e,"type",e)},t.prototype.encodeType=function(e){var n=this._types[e];return n||If.throwArgumentError("unknown type: "+JSON.stringify(e),"name",e),n},t.prototype.encodeData=function(e,n){return this.getEncoder(e)(n)},t.prototype.hashStruct=function(e,n){return(0,pw.keccak256)(this.encodeData(e,n))},t.prototype.encode=function(e){return this.encodeData(this.primaryType,e)},t.prototype.hash=function(e){return this.hashStruct(this.primaryType,e)},t.prototype._visit=function(e,n,a){var r=this;{var f=ate(e);if(f)return a(e,n)}var i=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(i){var s=i[1],o=parseInt(i[3]);return o>=0&&n.length!==o&&If.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",n),n.map(function(d){return r._visit(s,d,a)})}var c=this.types[e];return c?c.reduce(function(d,l){var h=l.name,y=l.type;return d[h]=r._visit(y,n[h],a),d},{}):If.throwArgumentError("unknown type: "+e,"type",e)},t.prototype.visit=function(e,n){return this._visit(this.primaryType,e,n)},t.from=function(e){return new t(e)},t.getPrimaryType=function(e){return t.from(e).primaryType},t.hashStruct=function(e,n,a){return t.from(n).hashStruct(e,a)},t.hashDomain=function(e){var n=[];for(var a in e){var r=qTe[a];r||If.throwArgumentError("invalid typed-data domain key: "+JSON.stringify(a),"domain",e),n.push({name:a,type:r})}return n.sort(function(f,i){return nte.indexOf(f.name)-nte.indexOf(i.name)}),t.hashStruct("EIP712Domain",{EIP712Domain:n},e)},t.encode=function(e,n,a){return(0,Ys.hexConcat)(["0x1901",t.hashDomain(e),t.from(n).hash(a)])},t.hash=function(e,n,a){return(0,pw.keccak256)(t.encode(e,n,a))},t.resolveNames=function(e,n,a,r){return aF0(this,void 0,void 0,function(){var f,i,s,o,c,d,l,h;return rF0(this,function(y){switch(y.label){case 0:e=(0,_y.shallowCopy)(e),f={},e.verifyingContract&&!(0,Ys.isHexString)(e.verifyingContract,20)&&(f[e.verifyingContract]="0x"),i=t.from(n),i.visit(a,function(v,k){return v==="address"&&!(0,Ys.isHexString)(k,20)&&(f[k]="0x"),k}),s=[];for(o in f)s.push(o);c=0,y.label=1;case 1:return c{"use strict";u();p();Object.defineProperty(us,"__esModule",{value:!0});us._TypedDataEncoder=us.hashMessage=us.messagePrefix=us.ensNormalize=us.isValidName=us.namehash=us.dnsEncode=us.id=void 0;var hF0=Y0e();Object.defineProperty(us,"id",{enumerable:!0,get:function(){return hF0.id}});var rte=ete();Object.defineProperty(us,"dnsEncode",{enumerable:!0,get:function(){return rte.dnsEncode}});Object.defineProperty(us,"isValidName",{enumerable:!0,get:function(){return rte.isValidName}});Object.defineProperty(us,"namehash",{enumerable:!0,get:function(){return rte.namehash}});var XTe=WTe();Object.defineProperty(us,"hashMessage",{enumerable:!0,get:function(){return XTe.hashMessage}});Object.defineProperty(us,"messagePrefix",{enumerable:!0,get:function(){return XTe.messagePrefix}});var bF0=ete();Object.defineProperty(us,"ensNormalize",{enumerable:!0,get:function(){return bF0.ensNormalize}});var mF0=JTe();Object.defineProperty(us,"_TypedDataEncoder",{enumerable:!0,get:function(){return mF0.TypedDataEncoder}})});var fxe=D(Do=>{"use strict";u();p();var gN=Do&&Do.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(Do,"__esModule",{value:!0});Do.Interface=Do.Indexed=Do.ErrorDescription=Do.TransactionDescription=Do.LogDescription=Do.checkResultErrors=void 0;var yF0=Bo(),ZTe=ia(),lf=Vt(),mN=x3(),exe=O1(),$s=Ba(),gF0=V0e(),vF0=y5();Object.defineProperty(Do,"checkResultErrors",{enumerable:!0,get:function(){return vF0.checkResultErrors}});var n8=$F(),yN=Ft(),wF0=Vv(),kf=new yN.Logger(wF0.version),nxe=function(t){gN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}($s.Description);Do.LogDescription=nxe;var axe=function(t){gN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}($s.Description);Do.TransactionDescription=axe;var rxe=function(t){gN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}($s.Description);Do.ErrorDescription=rxe;var fte=function(t){gN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.isIndexed=function(n){return!!(n&&n._isIndexed)},e}($s.Description);Do.Indexed=fte;var TF0={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function txe(t,e){var n=new Error("deferred error during ABI decoding triggered accessing "+t);return n.error=e,n}var xF0=function(){function t(e){var n=this.constructor,a=this,r=[];typeof e=="string"?r=JSON.parse(e):r=e,(0,$s.defineReadOnly)(this,"fragments",r.map(function(f){return n8.Fragment.from(f)}).filter(function(f){return f!=null})),(0,$s.defineReadOnly)(this,"_abiCoder",(0,$s.getStatic)(n,"getAbiCoder")()),(0,$s.defineReadOnly)(this,"functions",{}),(0,$s.defineReadOnly)(this,"errors",{}),(0,$s.defineReadOnly)(this,"events",{}),(0,$s.defineReadOnly)(this,"structs",{}),this.fragments.forEach(function(f){var i=null;switch(f.type){case"constructor":if(a.deploy){kf.warn("duplicate definition - constructor");return}(0,$s.defineReadOnly)(a,"deploy",f);return;case"function":i=a.functions;break;case"event":i=a.events;break;case"error":i=a.errors;break;default:return}var s=f.format();if(i[s]){kf.warn("duplicate definition - "+s);return}i[s]=f}),this.deploy||(0,$s.defineReadOnly)(this,"deploy",n8.ConstructorFragment.from({payable:!1,type:"constructor"})),(0,$s.defineReadOnly)(this,"_isInterface",!0)}return t.prototype.format=function(e){e||(e=n8.FormatTypes.full),e===n8.FormatTypes.sighash&&kf.throwArgumentError("interface does not support formatting sighash","format",e);var n=this.fragments.map(function(a){return a.format(e)});return e===n8.FormatTypes.json?JSON.stringify(n.map(function(a){return JSON.parse(a)})):n},t.getAbiCoder=function(){return gF0.defaultAbiCoder},t.getAddress=function(e){return(0,yF0.getAddress)(e)},t.getSighash=function(e){return(0,lf.hexDataSlice)((0,mN.id)(e.format()),0,4)},t.getEventTopic=function(e){return(0,mN.id)(e.format())},t.prototype.getFunction=function(e){if((0,lf.isHexString)(e)){for(var n in this.functions)if(e===this.getSighash(n))return this.functions[n];kf.throwArgumentError("no matching function","sighash",e)}if(e.indexOf("(")===-1){var a=e.trim(),r=Object.keys(this.functions).filter(function(i){return i.split("(")[0]===a});return r.length===0?kf.throwArgumentError("no matching function","name",a):r.length>1&&kf.throwArgumentError("multiple matching functions","name",a),this.functions[r[0]]}var f=this.functions[n8.FunctionFragment.fromString(e).format()];return f||kf.throwArgumentError("no matching function","signature",e),f},t.prototype.getEvent=function(e){if((0,lf.isHexString)(e)){var n=e.toLowerCase();for(var a in this.events)if(n===this.getEventTopic(a))return this.events[a];kf.throwArgumentError("no matching event","topichash",n)}if(e.indexOf("(")===-1){var r=e.trim(),f=Object.keys(this.events).filter(function(s){return s.split("(")[0]===r});return f.length===0?kf.throwArgumentError("no matching event","name",r):f.length>1&&kf.throwArgumentError("multiple matching events","name",r),this.events[f[0]]}var i=this.events[n8.EventFragment.fromString(e).format()];return i||kf.throwArgumentError("no matching event","signature",e),i},t.prototype.getError=function(e){if((0,lf.isHexString)(e)){var n=(0,$s.getStatic)(this.constructor,"getSighash");for(var a in this.errors){var r=this.errors[a];if(e===n(r))return this.errors[a]}kf.throwArgumentError("no matching error","sighash",e)}if(e.indexOf("(")===-1){var f=e.trim(),i=Object.keys(this.errors).filter(function(o){return o.split("(")[0]===f});return i.length===0?kf.throwArgumentError("no matching error","name",f):i.length>1&&kf.throwArgumentError("multiple matching errors","name",f),this.errors[i[0]]}var s=this.errors[n8.FunctionFragment.fromString(e).format()];return s||kf.throwArgumentError("no matching error","signature",e),s},t.prototype.getSighash=function(e){if(typeof e=="string")try{e=this.getFunction(e)}catch(n){try{e=this.getError(e)}catch{throw n}}return(0,$s.getStatic)(this.constructor,"getSighash")(e)},t.prototype.getEventTopic=function(e){return typeof e=="string"&&(e=this.getEvent(e)),(0,$s.getStatic)(this.constructor,"getEventTopic")(e)},t.prototype._decodeParams=function(e,n){return this._abiCoder.decode(e,n)},t.prototype._encodeParams=function(e,n){return this._abiCoder.encode(e,n)},t.prototype.encodeDeploy=function(e){return this._encodeParams(this.deploy.inputs,e||[])},t.prototype.decodeErrorResult=function(e,n){typeof e=="string"&&(e=this.getError(e));var a=(0,lf.arrayify)(n);return(0,lf.hexlify)(a.slice(0,4))!==this.getSighash(e)&&kf.throwArgumentError("data signature does not match error "+e.name+".","data",(0,lf.hexlify)(a)),this._decodeParams(e.inputs,a.slice(4))},t.prototype.encodeErrorResult=function(e,n){return typeof e=="string"&&(e=this.getError(e)),(0,lf.hexlify)((0,lf.concat)([this.getSighash(e),this._encodeParams(e.inputs,n||[])]))},t.prototype.decodeFunctionData=function(e,n){typeof e=="string"&&(e=this.getFunction(e));var a=(0,lf.arrayify)(n);return(0,lf.hexlify)(a.slice(0,4))!==this.getSighash(e)&&kf.throwArgumentError("data signature does not match function "+e.name+".","data",(0,lf.hexlify)(a)),this._decodeParams(e.inputs,a.slice(4))},t.prototype.encodeFunctionData=function(e,n){return typeof e=="string"&&(e=this.getFunction(e)),(0,lf.hexlify)((0,lf.concat)([this.getSighash(e),this._encodeParams(e.inputs,n||[])]))},t.prototype.decodeFunctionResult=function(e,n){typeof e=="string"&&(e=this.getFunction(e));var a=(0,lf.arrayify)(n),r=null,f="",i=null,s=null,o=null;switch(a.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(e.outputs,a)}catch{}break;case 4:{var c=(0,lf.hexlify)(a.slice(0,4)),d=TF0[c];if(d)i=this._abiCoder.decode(d.inputs,a.slice(4)),s=d.name,o=d.signature,d.reason&&(r=i[0]),s==="Error"?f="; VM Exception while processing transaction: reverted with reason string "+JSON.stringify(i[0]):s==="Panic"&&(f="; VM Exception while processing transaction: reverted with panic code "+i[0]);else try{var l=this.getError(c);i=this._abiCoder.decode(l.inputs,a.slice(4)),s=l.name,o=l.format()}catch{}break}}return kf.throwError("call revert exception"+f,yN.Logger.errors.CALL_EXCEPTION,{method:e.format(),data:(0,lf.hexlify)(n),errorArgs:i,errorName:s,errorSignature:o,reason:r})},t.prototype.encodeFunctionResult=function(e,n){return typeof e=="string"&&(e=this.getFunction(e)),(0,lf.hexlify)(this._abiCoder.encode(e.outputs,n||[]))},t.prototype.encodeFilterTopics=function(e,n){var a=this;typeof e=="string"&&(e=this.getEvent(e)),n.length>e.inputs.length&&kf.throwError("too many arguments for "+e.format(),yN.Logger.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:n});var r=[];e.anonymous||r.push(this.getEventTopic(e));var f=function(i,s){return i.type==="string"?(0,mN.id)(s):i.type==="bytes"?(0,exe.keccak256)((0,lf.hexlify)(s)):(i.type==="bool"&&typeof s=="boolean"&&(s=s?"0x01":"0x00"),i.type.match(/^u?int/)&&(s=ZTe.BigNumber.from(s).toHexString()),i.type==="address"&&a._abiCoder.encode(["address"],[s]),(0,lf.hexZeroPad)((0,lf.hexlify)(s),32))};for(n.forEach(function(i,s){var o=e.inputs[s];if(!o.indexed){i!=null&&kf.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+o.name,i);return}i==null?r.push(null):o.baseType==="array"||o.baseType==="tuple"?kf.throwArgumentError("filtering with tuples or arrays not supported","contract."+o.name,i):Array.isArray(i)?r.push(i.map(function(c){return f(o,c)})):r.push(f(o,i))});r.length&&r[r.length-1]===null;)r.pop();return r},t.prototype.encodeEventLog=function(e,n){var a=this;typeof e=="string"&&(e=this.getEvent(e));var r=[],f=[],i=[];return e.anonymous||r.push(this.getEventTopic(e)),n.length!==e.inputs.length&&kf.throwArgumentError("event arguments/values mismatch","values",n),e.inputs.forEach(function(s,o){var c=n[o];if(s.indexed)if(s.type==="string")r.push((0,mN.id)(c));else if(s.type==="bytes")r.push((0,exe.keccak256)(c));else{if(s.baseType==="tuple"||s.baseType==="array")throw new Error("not implemented");r.push(a._abiCoder.encode([s.type],[c]))}else f.push(s),i.push(c)}),{data:this._abiCoder.encode(f,i),topics:r}},t.prototype.decodeEventLog=function(e,n,a){if(typeof e=="string"&&(e=this.getEvent(e)),a!=null&&!e.anonymous){var r=this.getEventTopic(e);(!(0,lf.isHexString)(a[0],32)||a[0].toLowerCase()!==r)&&kf.throwError("fragment/topic mismatch",yN.Logger.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:r,value:a[0]}),a=a.slice(1)}var f=[],i=[],s=[];e.inputs.forEach(function(k,O){k.indexed?k.type==="string"||k.type==="bytes"||k.baseType==="tuple"||k.baseType==="array"?(f.push(n8.ParamType.fromObject({type:"bytes32",name:k.name})),s.push(!0)):(f.push(k),s.push(!1)):(i.push(k),s.push(!1))});var o=a!=null?this._abiCoder.decode(f,(0,lf.concat)(a)):null,c=this._abiCoder.decode(i,n,!0),d=[],l=0,h=0;e.inputs.forEach(function(k,O){if(k.indexed)if(o==null)d[O]=new fte({_isIndexed:!0,hash:null});else if(s[O])d[O]=new fte({_isIndexed:!0,hash:o[h++]});else try{d[O]=o[h++]}catch(z){d[O]=z}else try{d[O]=c[l++]}catch(z){d[O]=z}if(k.name&&d[k.name]==null){var F=d[O];F instanceof Error?Object.defineProperty(d,k.name,{enumerable:!0,get:function(){throw txe("property "+JSON.stringify(k.name),F)}}):d[k.name]=F}});for(var y=function(k){var O=d[k];O instanceof Error&&Object.defineProperty(d,k,{enumerable:!0,get:function(){throw txe("index "+k,O)}})},v=0;v{"use strict";u();p();Object.defineProperty(Ya,"__esModule",{value:!0});Ya.TransactionDescription=Ya.LogDescription=Ya.checkResultErrors=Ya.Indexed=Ya.Interface=Ya.defaultAbiCoder=Ya.AbiCoder=Ya.FormatTypes=Ya.ParamType=Ya.FunctionFragment=Ya.Fragment=Ya.EventFragment=Ya.ErrorFragment=Ya.ConstructorFragment=void 0;var Cy=$F();Object.defineProperty(Ya,"ConstructorFragment",{enumerable:!0,get:function(){return Cy.ConstructorFragment}});Object.defineProperty(Ya,"ErrorFragment",{enumerable:!0,get:function(){return Cy.ErrorFragment}});Object.defineProperty(Ya,"EventFragment",{enumerable:!0,get:function(){return Cy.EventFragment}});Object.defineProperty(Ya,"FormatTypes",{enumerable:!0,get:function(){return Cy.FormatTypes}});Object.defineProperty(Ya,"Fragment",{enumerable:!0,get:function(){return Cy.Fragment}});Object.defineProperty(Ya,"FunctionFragment",{enumerable:!0,get:function(){return Cy.FunctionFragment}});Object.defineProperty(Ya,"ParamType",{enumerable:!0,get:function(){return Cy.ParamType}});var ixe=V0e();Object.defineProperty(Ya,"AbiCoder",{enumerable:!0,get:function(){return ixe.AbiCoder}});Object.defineProperty(Ya,"defaultAbiCoder",{enumerable:!0,get:function(){return ixe.defaultAbiCoder}});var mI=fxe();Object.defineProperty(Ya,"checkResultErrors",{enumerable:!0,get:function(){return mI.checkResultErrors}});Object.defineProperty(Ya,"Indexed",{enumerable:!0,get:function(){return mI.Indexed}});Object.defineProperty(Ya,"Interface",{enumerable:!0,get:function(){return mI.Interface}});Object.defineProperty(Ya,"LogDescription",{enumerable:!0,get:function(){return mI.LogDescription}});Object.defineProperty(Ya,"TransactionDescription",{enumerable:!0,get:function(){return mI.TransactionDescription}})});var sxe=D(vN=>{"use strict";u();p();Object.defineProperty(vN,"__esModule",{value:!0});vN.version=void 0;vN.version="abstract-provider/5.7.0"});var E3=D(ps=>{"use strict";u();p();var TN=ps&&ps.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),EF0=ps&&ps.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},_F0=ps&&ps.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();Object.defineProperty(EN,"__esModule",{value:!0});EN.version=void 0;EN.version="abstract-signer/5.7.0"});var r8=D(T5=>{"use strict";u();p();var BF0=T5&&T5.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),Xd=T5&&T5.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},Zd=T5&&T5.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]=0)throw o;return w5.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",a8.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:o,tx:n})})),n.chainId==null?n.chainId=this.getChainId():n.chainId=Promise.all([Promise.resolve(n.chainId),this.getChainId()]).then(function(o){return o[1]!==0&&o[0]!==o[1]&&w5.throwArgumentError("chainId address mismatch","transaction",e),o[0]}),[4,(0,_3.resolveProperties)(n)];case 6:return[2,s.sent()]}})})},t.prototype._checkProvider=function(e){this.provider||w5.throwError("missing provider",a8.Logger.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})},t.isSigner=function(e){return!!(e&&e._isSigner)},t}();T5.Signer=cxe;var FF0=function(t){BF0(e,t);function e(n,a){var r=t.call(this)||this;return(0,_3.defineReadOnly)(r,"address",n),(0,_3.defineReadOnly)(r,"provider",a||null),r}return e.prototype.getAddress=function(){return Promise.resolve(this.address)},e.prototype._fail=function(n,a){return Promise.resolve().then(function(){w5.throwError(n,a8.Logger.errors.UNSUPPORTED_OPERATION,{operation:a})})},e.prototype.signMessage=function(n){return this._fail("VoidSigner cannot sign messages","signMessage")},e.prototype.signTransaction=function(n){return this._fail("VoidSigner cannot sign transactions","signTransaction")},e.prototype._signTypedData=function(n,a,r){return this._fail("VoidSigner cannot sign typed data","signTypedData")},e.prototype.connect=function(n){return new e(this.address,n)},e}(cxe);T5.VoidSigner=FF0});var dxe=D((yOn,NF0)=>{NF0.exports={name:"elliptic",version:"6.5.4",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny ",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}});var kr=D((lxe,ste)=>{u();p();(function(t,e){"use strict";function n(R,T){if(!R)throw new Error(T||"Assertion failed")}function a(R,T){R.super_=T;var N=function(){};N.prototype=T.prototype,R.prototype=new N,R.prototype.constructor=R}function r(R,T,N){if(r.isBN(R))return R;this.negative=0,this.words=null,this.length=0,this.red=null,R!==null&&((T==="le"||T==="be")&&(N=T,T=10),this._init(R||0,T||10,N||"be"))}typeof t=="object"?t.exports=r:e.BN=r,r.BN=r,r.wordSize=26;var f;try{typeof window<"u"&&typeof window.Buffer<"u"?f=window.Buffer:f=Kf().Buffer}catch{}r.isBN=function(T){return T instanceof r?!0:T!==null&&typeof T=="object"&&T.constructor.wordSize===r.wordSize&&Array.isArray(T.words)},r.max=function(T,N){return T.cmp(N)>0?T:N},r.min=function(T,N){return T.cmp(N)<0?T:N},r.prototype._init=function(T,N,w){if(typeof T=="number")return this._initNumber(T,N,w);if(typeof T=="object")return this._initArray(T,N,w);N==="hex"&&(N=16),n(N===(N|0)&&N>=2&&N<=36),T=T.toString().replace(/\s+/g,"");var m=0;T[0]==="-"&&(m++,this.negative=1),m=0;m-=3)P=T[m]|T[m-1]<<8|T[m-2]<<16,this.words[A]|=P<>>26-L&67108863,L+=24,L>=26&&(L-=26,A++);else if(w==="le")for(m=0,A=0;m>>26-L&67108863,L+=24,L>=26&&(L-=26,A++);return this.strip()};function i(R,T){var N=R.charCodeAt(T);return N>=65&&N<=70?N-55:N>=97&&N<=102?N-87:N-48&15}function s(R,T,N){var w=i(R,N);return N-1>=T&&(w|=i(R,N-1)<<4),w}r.prototype._parseHex=function(T,N,w){this.length=Math.ceil((T.length-N)/6),this.words=new Array(this.length);for(var m=0;m=N;m-=2)L=s(T,N,m)<=18?(A-=18,P+=1,this.words[P]|=L>>>26):A+=8;else{var x=T.length-N;for(m=x%2===0?N+1:N;m=18?(A-=18,P+=1,this.words[P]|=L>>>26):A+=8}this.strip()};function o(R,T,N,w){for(var m=0,A=Math.min(R.length,N),P=T;P=49?m+=L-49+10:L>=17?m+=L-17+10:m+=L}return m}r.prototype._parseBase=function(T,N,w){this.words=[0],this.length=1;for(var m=0,A=1;A<=67108863;A*=N)m++;m--,A=A/N|0;for(var P=T.length-w,L=P%m,x=Math.min(P,P-L)+w,g=0,B=w;B1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},r.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},r.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],l=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];r.prototype.toString=function(T,N){T=T||10,N=N|0||1;var w;if(T===16||T==="hex"){w="";for(var m=0,A=0,P=0;P>>24-m&16777215,A!==0||P!==this.length-1?w=c[6-x.length]+x+w:w=x+w,m+=2,m>=26&&(m-=26,P--)}for(A!==0&&(w=A.toString(16)+w);w.length%N!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}if(T===(T|0)&&T>=2&&T<=36){var g=d[T],B=l[T];w="";var M=this.clone();for(M.negative=0;!M.isZero();){var S=M.modn(B).toString(T);M=M.idivn(B),M.isZero()?w=S+w:w=c[g-S.length]+S+w}for(this.isZero()&&(w="0"+w);w.length%N!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}n(!1,"Base should be between 2 and 36")},r.prototype.toNumber=function(){var T=this.words[0];return this.length===2?T+=this.words[1]*67108864:this.length===3&&this.words[2]===1?T+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-T:T},r.prototype.toJSON=function(){return this.toString(16)},r.prototype.toBuffer=function(T,N){return n(typeof f<"u"),this.toArrayLike(f,T,N)},r.prototype.toArray=function(T,N){return this.toArrayLike(Array,T,N)},r.prototype.toArrayLike=function(T,N,w){var m=this.byteLength(),A=w||Math.max(1,m);n(m<=A,"byte array longer than desired length"),n(A>0,"Requested array length <= 0"),this.strip();var P=N==="le",L=new T(A),x,g,B=this.clone();if(P){for(g=0;!B.isZero();g++)x=B.andln(255),B.iushrn(8),L[g]=x;for(;g=4096&&(w+=13,N>>>=13),N>=64&&(w+=7,N>>>=7),N>=8&&(w+=4,N>>>=4),N>=2&&(w+=2,N>>>=2),w+N},r.prototype._zeroBits=function(T){if(T===0)return 26;var N=T,w=0;return N&8191||(w+=13,N>>>=13),N&127||(w+=7,N>>>=7),N&15||(w+=4,N>>>=4),N&3||(w+=2,N>>>=2),N&1||w++,w},r.prototype.bitLength=function(){var T=this.words[this.length-1],N=this._countBits(T);return(this.length-1)*26+N};function h(R){for(var T=new Array(R.bitLength()),N=0;N>>m}return T}r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var T=0,N=0;NT.length?this.clone().ior(T):T.clone().ior(this)},r.prototype.uor=function(T){return this.length>T.length?this.clone().iuor(T):T.clone().iuor(this)},r.prototype.iuand=function(T){var N;this.length>T.length?N=T:N=this;for(var w=0;wT.length?this.clone().iand(T):T.clone().iand(this)},r.prototype.uand=function(T){return this.length>T.length?this.clone().iuand(T):T.clone().iuand(this)},r.prototype.iuxor=function(T){var N,w;this.length>T.length?(N=this,w=T):(N=T,w=this);for(var m=0;mT.length?this.clone().ixor(T):T.clone().ixor(this)},r.prototype.uxor=function(T){return this.length>T.length?this.clone().iuxor(T):T.clone().iuxor(this)},r.prototype.inotn=function(T){n(typeof T=="number"&&T>=0);var N=Math.ceil(T/26)|0,w=T%26;this._expand(N),w>0&&N--;for(var m=0;m0&&(this.words[m]=~this.words[m]&67108863>>26-w),this.strip()},r.prototype.notn=function(T){return this.clone().inotn(T)},r.prototype.setn=function(T,N){n(typeof T=="number"&&T>=0);var w=T/26|0,m=T%26;return this._expand(w+1),N?this.words[w]=this.words[w]|1<T.length?(w=this,m=T):(w=T,m=this);for(var A=0,P=0;P>>26;for(;A!==0&&P>>26;if(this.length=w.length,A!==0)this.words[this.length]=A,this.length++;else if(w!==this)for(;PT.length?this.clone().iadd(T):T.clone().iadd(this)},r.prototype.isub=function(T){if(T.negative!==0){T.negative=0;var N=this.iadd(T);return T.negative=1,N._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(T),this.negative=1,this._normSign();var w=this.cmp(T);if(w===0)return this.negative=0,this.length=1,this.words[0]=0,this;var m,A;w>0?(m=this,A=T):(m=T,A=this);for(var P=0,L=0;L>26,this.words[L]=N&67108863;for(;P!==0&&L>26,this.words[L]=N&67108863;if(P===0&&L>>26,M=x&67108863,S=Math.min(g,T.length-1),q=Math.max(0,g-R.length+1);q<=S;q++){var ee=g-q|0;m=R.words[ee]|0,A=T.words[q]|0,P=m*A+M,B+=P/67108864|0,M=P&67108863}N.words[g]=M|0,x=B|0}return x!==0?N.words[g]=x|0:N.length--,N.strip()}var v=function(T,N,w){var m=T.words,A=N.words,P=w.words,L=0,x,g,B,M=m[0]|0,S=M&8191,q=M>>>13,ee=m[1]|0,U=ee&8191,J=ee>>>13,Z=m[2]|0,ne=Z&8191,ue=Z>>>13,Y=m[3]|0,re=Y&8191,ie=Y>>>13,ge=m[4]|0,de=ge&8191,Ae=ge>>>13,Ge=m[5]|0,Be=Ge&8191,c0=Ge>>>13,Ye=m[6]|0,He=Ye&8191,_0=Ye>>>13,L0=m[7]|0,Ze=L0&8191,I0=L0>>>13,pe=m[8]|0,he=pe&8191,Te=pe>>>13,Ce=m[9]|0,Se=Ce&8191,Qe=Ce>>>13,u0=A[0]|0,qe=u0&8191,v0=u0>>>13,w0=A[1]|0,Ve=w0&8191,be=w0>>>13,ye=A[2]|0,_e=ye&8191,ze=ye>>>13,je=A[3]|0,Ue=je&8191,b0=je>>>13,h0=A[4]|0,$e=h0&8191,M0=h0>>>13,P0=A[5]|0,t0=P0&8191,j0=P0>>>13,z0=A[6]|0,Ke=z0&8191,B0=z0>>>13,G0=A[7]|0,s0=G0&8191,X0=G0>>>13,Y0=A[8]|0,l0=Y0&8191,K0=Y0>>>13,tt=A[9]|0,p0=tt&8191,et=tt>>>13;w.negative=T.negative^N.negative,w.length=19,x=Math.imul(S,qe),g=Math.imul(S,v0),g=g+Math.imul(q,qe)|0,B=Math.imul(q,v0);var Et=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Et>>>26)|0,Et&=67108863,x=Math.imul(U,qe),g=Math.imul(U,v0),g=g+Math.imul(J,qe)|0,B=Math.imul(J,v0),x=x+Math.imul(S,Ve)|0,g=g+Math.imul(S,be)|0,g=g+Math.imul(q,Ve)|0,B=B+Math.imul(q,be)|0;var $0=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+($0>>>26)|0,$0&=67108863,x=Math.imul(ne,qe),g=Math.imul(ne,v0),g=g+Math.imul(ue,qe)|0,B=Math.imul(ue,v0),x=x+Math.imul(U,Ve)|0,g=g+Math.imul(U,be)|0,g=g+Math.imul(J,Ve)|0,B=B+Math.imul(J,be)|0,x=x+Math.imul(S,_e)|0,g=g+Math.imul(S,ze)|0,g=g+Math.imul(q,_e)|0,B=B+Math.imul(q,ze)|0;var Tt=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,x=Math.imul(re,qe),g=Math.imul(re,v0),g=g+Math.imul(ie,qe)|0,B=Math.imul(ie,v0),x=x+Math.imul(ne,Ve)|0,g=g+Math.imul(ne,be)|0,g=g+Math.imul(ue,Ve)|0,B=B+Math.imul(ue,be)|0,x=x+Math.imul(U,_e)|0,g=g+Math.imul(U,ze)|0,g=g+Math.imul(J,_e)|0,B=B+Math.imul(J,ze)|0,x=x+Math.imul(S,Ue)|0,g=g+Math.imul(S,b0)|0,g=g+Math.imul(q,Ue)|0,B=B+Math.imul(q,b0)|0;var Pn=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,x=Math.imul(de,qe),g=Math.imul(de,v0),g=g+Math.imul(Ae,qe)|0,B=Math.imul(Ae,v0),x=x+Math.imul(re,Ve)|0,g=g+Math.imul(re,be)|0,g=g+Math.imul(ie,Ve)|0,B=B+Math.imul(ie,be)|0,x=x+Math.imul(ne,_e)|0,g=g+Math.imul(ne,ze)|0,g=g+Math.imul(ue,_e)|0,B=B+Math.imul(ue,ze)|0,x=x+Math.imul(U,Ue)|0,g=g+Math.imul(U,b0)|0,g=g+Math.imul(J,Ue)|0,B=B+Math.imul(J,b0)|0,x=x+Math.imul(S,$e)|0,g=g+Math.imul(S,M0)|0,g=g+Math.imul(q,$e)|0,B=B+Math.imul(q,M0)|0;var Ln=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,x=Math.imul(Be,qe),g=Math.imul(Be,v0),g=g+Math.imul(c0,qe)|0,B=Math.imul(c0,v0),x=x+Math.imul(de,Ve)|0,g=g+Math.imul(de,be)|0,g=g+Math.imul(Ae,Ve)|0,B=B+Math.imul(Ae,be)|0,x=x+Math.imul(re,_e)|0,g=g+Math.imul(re,ze)|0,g=g+Math.imul(ie,_e)|0,B=B+Math.imul(ie,ze)|0,x=x+Math.imul(ne,Ue)|0,g=g+Math.imul(ne,b0)|0,g=g+Math.imul(ue,Ue)|0,B=B+Math.imul(ue,b0)|0,x=x+Math.imul(U,$e)|0,g=g+Math.imul(U,M0)|0,g=g+Math.imul(J,$e)|0,B=B+Math.imul(J,M0)|0,x=x+Math.imul(S,t0)|0,g=g+Math.imul(S,j0)|0,g=g+Math.imul(q,t0)|0,B=B+Math.imul(q,j0)|0;var Fn=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,x=Math.imul(He,qe),g=Math.imul(He,v0),g=g+Math.imul(_0,qe)|0,B=Math.imul(_0,v0),x=x+Math.imul(Be,Ve)|0,g=g+Math.imul(Be,be)|0,g=g+Math.imul(c0,Ve)|0,B=B+Math.imul(c0,be)|0,x=x+Math.imul(de,_e)|0,g=g+Math.imul(de,ze)|0,g=g+Math.imul(Ae,_e)|0,B=B+Math.imul(Ae,ze)|0,x=x+Math.imul(re,Ue)|0,g=g+Math.imul(re,b0)|0,g=g+Math.imul(ie,Ue)|0,B=B+Math.imul(ie,b0)|0,x=x+Math.imul(ne,$e)|0,g=g+Math.imul(ne,M0)|0,g=g+Math.imul(ue,$e)|0,B=B+Math.imul(ue,M0)|0,x=x+Math.imul(U,t0)|0,g=g+Math.imul(U,j0)|0,g=g+Math.imul(J,t0)|0,B=B+Math.imul(J,j0)|0,x=x+Math.imul(S,Ke)|0,g=g+Math.imul(S,B0)|0,g=g+Math.imul(q,Ke)|0,B=B+Math.imul(q,B0)|0;var Nn=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Nn>>>26)|0,Nn&=67108863,x=Math.imul(Ze,qe),g=Math.imul(Ze,v0),g=g+Math.imul(I0,qe)|0,B=Math.imul(I0,v0),x=x+Math.imul(He,Ve)|0,g=g+Math.imul(He,be)|0,g=g+Math.imul(_0,Ve)|0,B=B+Math.imul(_0,be)|0,x=x+Math.imul(Be,_e)|0,g=g+Math.imul(Be,ze)|0,g=g+Math.imul(c0,_e)|0,B=B+Math.imul(c0,ze)|0,x=x+Math.imul(de,Ue)|0,g=g+Math.imul(de,b0)|0,g=g+Math.imul(Ae,Ue)|0,B=B+Math.imul(Ae,b0)|0,x=x+Math.imul(re,$e)|0,g=g+Math.imul(re,M0)|0,g=g+Math.imul(ie,$e)|0,B=B+Math.imul(ie,M0)|0,x=x+Math.imul(ne,t0)|0,g=g+Math.imul(ne,j0)|0,g=g+Math.imul(ue,t0)|0,B=B+Math.imul(ue,j0)|0,x=x+Math.imul(U,Ke)|0,g=g+Math.imul(U,B0)|0,g=g+Math.imul(J,Ke)|0,B=B+Math.imul(J,B0)|0,x=x+Math.imul(S,s0)|0,g=g+Math.imul(S,X0)|0,g=g+Math.imul(q,s0)|0,B=B+Math.imul(q,X0)|0;var On=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(On>>>26)|0,On&=67108863,x=Math.imul(he,qe),g=Math.imul(he,v0),g=g+Math.imul(Te,qe)|0,B=Math.imul(Te,v0),x=x+Math.imul(Ze,Ve)|0,g=g+Math.imul(Ze,be)|0,g=g+Math.imul(I0,Ve)|0,B=B+Math.imul(I0,be)|0,x=x+Math.imul(He,_e)|0,g=g+Math.imul(He,ze)|0,g=g+Math.imul(_0,_e)|0,B=B+Math.imul(_0,ze)|0,x=x+Math.imul(Be,Ue)|0,g=g+Math.imul(Be,b0)|0,g=g+Math.imul(c0,Ue)|0,B=B+Math.imul(c0,b0)|0,x=x+Math.imul(de,$e)|0,g=g+Math.imul(de,M0)|0,g=g+Math.imul(Ae,$e)|0,B=B+Math.imul(Ae,M0)|0,x=x+Math.imul(re,t0)|0,g=g+Math.imul(re,j0)|0,g=g+Math.imul(ie,t0)|0,B=B+Math.imul(ie,j0)|0,x=x+Math.imul(ne,Ke)|0,g=g+Math.imul(ne,B0)|0,g=g+Math.imul(ue,Ke)|0,B=B+Math.imul(ue,B0)|0,x=x+Math.imul(U,s0)|0,g=g+Math.imul(U,X0)|0,g=g+Math.imul(J,s0)|0,B=B+Math.imul(J,X0)|0,x=x+Math.imul(S,l0)|0,g=g+Math.imul(S,K0)|0,g=g+Math.imul(q,l0)|0,B=B+Math.imul(q,K0)|0;var Ha=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Ha>>>26)|0,Ha&=67108863,x=Math.imul(Se,qe),g=Math.imul(Se,v0),g=g+Math.imul(Qe,qe)|0,B=Math.imul(Qe,v0),x=x+Math.imul(he,Ve)|0,g=g+Math.imul(he,be)|0,g=g+Math.imul(Te,Ve)|0,B=B+Math.imul(Te,be)|0,x=x+Math.imul(Ze,_e)|0,g=g+Math.imul(Ze,ze)|0,g=g+Math.imul(I0,_e)|0,B=B+Math.imul(I0,ze)|0,x=x+Math.imul(He,Ue)|0,g=g+Math.imul(He,b0)|0,g=g+Math.imul(_0,Ue)|0,B=B+Math.imul(_0,b0)|0,x=x+Math.imul(Be,$e)|0,g=g+Math.imul(Be,M0)|0,g=g+Math.imul(c0,$e)|0,B=B+Math.imul(c0,M0)|0,x=x+Math.imul(de,t0)|0,g=g+Math.imul(de,j0)|0,g=g+Math.imul(Ae,t0)|0,B=B+Math.imul(Ae,j0)|0,x=x+Math.imul(re,Ke)|0,g=g+Math.imul(re,B0)|0,g=g+Math.imul(ie,Ke)|0,B=B+Math.imul(ie,B0)|0,x=x+Math.imul(ne,s0)|0,g=g+Math.imul(ne,X0)|0,g=g+Math.imul(ue,s0)|0,B=B+Math.imul(ue,X0)|0,x=x+Math.imul(U,l0)|0,g=g+Math.imul(U,K0)|0,g=g+Math.imul(J,l0)|0,B=B+Math.imul(J,K0)|0,x=x+Math.imul(S,p0)|0,g=g+Math.imul(S,et)|0,g=g+Math.imul(q,p0)|0,B=B+Math.imul(q,et)|0;var pr=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(pr>>>26)|0,pr&=67108863,x=Math.imul(Se,Ve),g=Math.imul(Se,be),g=g+Math.imul(Qe,Ve)|0,B=Math.imul(Qe,be),x=x+Math.imul(he,_e)|0,g=g+Math.imul(he,ze)|0,g=g+Math.imul(Te,_e)|0,B=B+Math.imul(Te,ze)|0,x=x+Math.imul(Ze,Ue)|0,g=g+Math.imul(Ze,b0)|0,g=g+Math.imul(I0,Ue)|0,B=B+Math.imul(I0,b0)|0,x=x+Math.imul(He,$e)|0,g=g+Math.imul(He,M0)|0,g=g+Math.imul(_0,$e)|0,B=B+Math.imul(_0,M0)|0,x=x+Math.imul(Be,t0)|0,g=g+Math.imul(Be,j0)|0,g=g+Math.imul(c0,t0)|0,B=B+Math.imul(c0,j0)|0,x=x+Math.imul(de,Ke)|0,g=g+Math.imul(de,B0)|0,g=g+Math.imul(Ae,Ke)|0,B=B+Math.imul(Ae,B0)|0,x=x+Math.imul(re,s0)|0,g=g+Math.imul(re,X0)|0,g=g+Math.imul(ie,s0)|0,B=B+Math.imul(ie,X0)|0,x=x+Math.imul(ne,l0)|0,g=g+Math.imul(ne,K0)|0,g=g+Math.imul(ue,l0)|0,B=B+Math.imul(ue,K0)|0,x=x+Math.imul(U,p0)|0,g=g+Math.imul(U,et)|0,g=g+Math.imul(J,p0)|0,B=B+Math.imul(J,et)|0;var za=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(za>>>26)|0,za&=67108863,x=Math.imul(Se,_e),g=Math.imul(Se,ze),g=g+Math.imul(Qe,_e)|0,B=Math.imul(Qe,ze),x=x+Math.imul(he,Ue)|0,g=g+Math.imul(he,b0)|0,g=g+Math.imul(Te,Ue)|0,B=B+Math.imul(Te,b0)|0,x=x+Math.imul(Ze,$e)|0,g=g+Math.imul(Ze,M0)|0,g=g+Math.imul(I0,$e)|0,B=B+Math.imul(I0,M0)|0,x=x+Math.imul(He,t0)|0,g=g+Math.imul(He,j0)|0,g=g+Math.imul(_0,t0)|0,B=B+Math.imul(_0,j0)|0,x=x+Math.imul(Be,Ke)|0,g=g+Math.imul(Be,B0)|0,g=g+Math.imul(c0,Ke)|0,B=B+Math.imul(c0,B0)|0,x=x+Math.imul(de,s0)|0,g=g+Math.imul(de,X0)|0,g=g+Math.imul(Ae,s0)|0,B=B+Math.imul(Ae,X0)|0,x=x+Math.imul(re,l0)|0,g=g+Math.imul(re,K0)|0,g=g+Math.imul(ie,l0)|0,B=B+Math.imul(ie,K0)|0,x=x+Math.imul(ne,p0)|0,g=g+Math.imul(ne,et)|0,g=g+Math.imul(ue,p0)|0,B=B+Math.imul(ue,et)|0;var hr=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(hr>>>26)|0,hr&=67108863,x=Math.imul(Se,Ue),g=Math.imul(Se,b0),g=g+Math.imul(Qe,Ue)|0,B=Math.imul(Qe,b0),x=x+Math.imul(he,$e)|0,g=g+Math.imul(he,M0)|0,g=g+Math.imul(Te,$e)|0,B=B+Math.imul(Te,M0)|0,x=x+Math.imul(Ze,t0)|0,g=g+Math.imul(Ze,j0)|0,g=g+Math.imul(I0,t0)|0,B=B+Math.imul(I0,j0)|0,x=x+Math.imul(He,Ke)|0,g=g+Math.imul(He,B0)|0,g=g+Math.imul(_0,Ke)|0,B=B+Math.imul(_0,B0)|0,x=x+Math.imul(Be,s0)|0,g=g+Math.imul(Be,X0)|0,g=g+Math.imul(c0,s0)|0,B=B+Math.imul(c0,X0)|0,x=x+Math.imul(de,l0)|0,g=g+Math.imul(de,K0)|0,g=g+Math.imul(Ae,l0)|0,B=B+Math.imul(Ae,K0)|0,x=x+Math.imul(re,p0)|0,g=g+Math.imul(re,et)|0,g=g+Math.imul(ie,p0)|0,B=B+Math.imul(ie,et)|0;var ar=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(ar>>>26)|0,ar&=67108863,x=Math.imul(Se,$e),g=Math.imul(Se,M0),g=g+Math.imul(Qe,$e)|0,B=Math.imul(Qe,M0),x=x+Math.imul(he,t0)|0,g=g+Math.imul(he,j0)|0,g=g+Math.imul(Te,t0)|0,B=B+Math.imul(Te,j0)|0,x=x+Math.imul(Ze,Ke)|0,g=g+Math.imul(Ze,B0)|0,g=g+Math.imul(I0,Ke)|0,B=B+Math.imul(I0,B0)|0,x=x+Math.imul(He,s0)|0,g=g+Math.imul(He,X0)|0,g=g+Math.imul(_0,s0)|0,B=B+Math.imul(_0,X0)|0,x=x+Math.imul(Be,l0)|0,g=g+Math.imul(Be,K0)|0,g=g+Math.imul(c0,l0)|0,B=B+Math.imul(c0,K0)|0,x=x+Math.imul(de,p0)|0,g=g+Math.imul(de,et)|0,g=g+Math.imul(Ae,p0)|0,B=B+Math.imul(Ae,et)|0;var Cr=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,x=Math.imul(Se,t0),g=Math.imul(Se,j0),g=g+Math.imul(Qe,t0)|0,B=Math.imul(Qe,j0),x=x+Math.imul(he,Ke)|0,g=g+Math.imul(he,B0)|0,g=g+Math.imul(Te,Ke)|0,B=B+Math.imul(Te,B0)|0,x=x+Math.imul(Ze,s0)|0,g=g+Math.imul(Ze,X0)|0,g=g+Math.imul(I0,s0)|0,B=B+Math.imul(I0,X0)|0,x=x+Math.imul(He,l0)|0,g=g+Math.imul(He,K0)|0,g=g+Math.imul(_0,l0)|0,B=B+Math.imul(_0,K0)|0,x=x+Math.imul(Be,p0)|0,g=g+Math.imul(Be,et)|0,g=g+Math.imul(c0,p0)|0,B=B+Math.imul(c0,et)|0;var Jr=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Jr>>>26)|0,Jr&=67108863,x=Math.imul(Se,Ke),g=Math.imul(Se,B0),g=g+Math.imul(Qe,Ke)|0,B=Math.imul(Qe,B0),x=x+Math.imul(he,s0)|0,g=g+Math.imul(he,X0)|0,g=g+Math.imul(Te,s0)|0,B=B+Math.imul(Te,X0)|0,x=x+Math.imul(Ze,l0)|0,g=g+Math.imul(Ze,K0)|0,g=g+Math.imul(I0,l0)|0,B=B+Math.imul(I0,K0)|0,x=x+Math.imul(He,p0)|0,g=g+Math.imul(He,et)|0,g=g+Math.imul(_0,p0)|0,B=B+Math.imul(_0,et)|0;var rr=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(rr>>>26)|0,rr&=67108863,x=Math.imul(Se,s0),g=Math.imul(Se,X0),g=g+Math.imul(Qe,s0)|0,B=Math.imul(Qe,X0),x=x+Math.imul(he,l0)|0,g=g+Math.imul(he,K0)|0,g=g+Math.imul(Te,l0)|0,B=B+Math.imul(Te,K0)|0,x=x+Math.imul(Ze,p0)|0,g=g+Math.imul(Ze,et)|0,g=g+Math.imul(I0,p0)|0,B=B+Math.imul(I0,et)|0;var of=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(of>>>26)|0,of&=67108863,x=Math.imul(Se,l0),g=Math.imul(Se,K0),g=g+Math.imul(Qe,l0)|0,B=Math.imul(Qe,K0),x=x+Math.imul(he,p0)|0,g=g+Math.imul(he,et)|0,g=g+Math.imul(Te,p0)|0,B=B+Math.imul(Te,et)|0;var jf=(L+x|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(jf>>>26)|0,jf&=67108863,x=Math.imul(Se,p0),g=Math.imul(Se,et),g=g+Math.imul(Qe,p0)|0,B=Math.imul(Qe,et);var Gs=(L+x|0)+((g&8191)<<13)|0;return L=(B+(g>>>13)|0)+(Gs>>>26)|0,Gs&=67108863,P[0]=Et,P[1]=$0,P[2]=Tt,P[3]=Pn,P[4]=Ln,P[5]=Fn,P[6]=Nn,P[7]=On,P[8]=Ha,P[9]=pr,P[10]=za,P[11]=hr,P[12]=ar,P[13]=Cr,P[14]=Jr,P[15]=rr,P[16]=of,P[17]=jf,P[18]=Gs,L!==0&&(P[19]=L,w.length++),w};Math.imul||(v=y);function k(R,T,N){N.negative=T.negative^R.negative,N.length=R.length+T.length;for(var w=0,m=0,A=0;A>>26)|0,m+=P>>>26,P&=67108863}N.words[A]=L,w=P,P=m}return w!==0?N.words[A]=w:N.length--,N.strip()}function O(R,T,N){var w=new F;return w.mulp(R,T,N)}r.prototype.mulTo=function(T,N){var w,m=this.length+T.length;return this.length===10&&T.length===10?w=v(this,T,N):m<63?w=y(this,T,N):m<1024?w=k(this,T,N):w=O(this,T,N),w};function F(R,T){this.x=R,this.y=T}F.prototype.makeRBT=function(T){for(var N=new Array(T),w=r.prototype._countBits(T)-1,m=0;m>=1;return m},F.prototype.permute=function(T,N,w,m,A,P){for(var L=0;L>>1)A++;return 1<>>13,w[2*P+1]=A&8191,A=A>>>13;for(P=2*N;P>=26,N+=m/67108864|0,N+=A>>>26,this.words[w]=A&67108863}return N!==0&&(this.words[w]=N,this.length++),this},r.prototype.muln=function(T){return this.clone().imuln(T)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(T){var N=h(T);if(N.length===0)return new r(1);for(var w=this,m=0;m=0);var N=T%26,w=(T-N)/26,m=67108863>>>26-N<<26-N,A;if(N!==0){var P=0;for(A=0;A>>26-N}P&&(this.words[A]=P,this.length++)}if(w!==0){for(A=this.length-1;A>=0;A--)this.words[A+w]=this.words[A];for(A=0;A=0);var m;N?m=(N-N%26)/26:m=0;var A=T%26,P=Math.min((T-A)/26,this.length),L=67108863^67108863>>>A<P)for(this.length-=P,g=0;g=0&&(B!==0||g>=m);g--){var M=this.words[g]|0;this.words[g]=B<<26-A|M>>>A,B=M&L}return x&&B!==0&&(x.words[x.length++]=B),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},r.prototype.ishrn=function(T,N,w){return n(this.negative===0),this.iushrn(T,N,w)},r.prototype.shln=function(T){return this.clone().ishln(T)},r.prototype.ushln=function(T){return this.clone().iushln(T)},r.prototype.shrn=function(T){return this.clone().ishrn(T)},r.prototype.ushrn=function(T){return this.clone().iushrn(T)},r.prototype.testn=function(T){n(typeof T=="number"&&T>=0);var N=T%26,w=(T-N)/26,m=1<=0);var N=T%26,w=(T-N)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=w)return this;if(N!==0&&w++,this.length=Math.min(w,this.length),N!==0){var m=67108863^67108863>>>N<=67108864;N++)this.words[N]-=67108864,N===this.length-1?this.words[N+1]=1:this.words[N+1]++;return this.length=Math.max(this.length,N+1),this},r.prototype.isubn=function(T){if(n(typeof T=="number"),n(T<67108864),T<0)return this.iaddn(-T);if(this.negative!==0)return this.negative=0,this.iaddn(T),this.negative=1,this;if(this.words[0]-=T,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var N=0;N>26)-(x/67108864|0),this.words[A+w]=P&67108863}for(;A>26,this.words[A+w]=P&67108863;if(L===0)return this.strip();for(n(L===-1),L=0,A=0;A>26,this.words[A]=P&67108863;return this.negative=1,this.strip()},r.prototype._wordDiv=function(T,N){var w=this.length-T.length,m=this.clone(),A=T,P=A.words[A.length-1]|0,L=this._countBits(P);w=26-L,w!==0&&(A=A.ushln(w),m.iushln(w),P=A.words[A.length-1]|0);var x=m.length-A.length,g;if(N!=="mod"){g=new r(null),g.length=x+1,g.words=new Array(g.length);for(var B=0;B=0;S--){var q=(m.words[A.length+S]|0)*67108864+(m.words[A.length+S-1]|0);for(q=Math.min(q/P|0,67108863),m._ishlnsubmul(A,q,S);m.negative!==0;)q--,m.negative=0,m._ishlnsubmul(A,1,S),m.isZero()||(m.negative^=1);g&&(g.words[S]=q)}return g&&g.strip(),m.strip(),N!=="div"&&w!==0&&m.iushrn(w),{div:g||null,mod:m}},r.prototype.divmod=function(T,N,w){if(n(!T.isZero()),this.isZero())return{div:new r(0),mod:new r(0)};var m,A,P;return this.negative!==0&&T.negative===0?(P=this.neg().divmod(T,N),N!=="mod"&&(m=P.div.neg()),N!=="div"&&(A=P.mod.neg(),w&&A.negative!==0&&A.iadd(T)),{div:m,mod:A}):this.negative===0&&T.negative!==0?(P=this.divmod(T.neg(),N),N!=="mod"&&(m=P.div.neg()),{div:m,mod:P.mod}):this.negative&T.negative?(P=this.neg().divmod(T.neg(),N),N!=="div"&&(A=P.mod.neg(),w&&A.negative!==0&&A.isub(T)),{div:P.div,mod:A}):T.length>this.length||this.cmp(T)<0?{div:new r(0),mod:this}:T.length===1?N==="div"?{div:this.divn(T.words[0]),mod:null}:N==="mod"?{div:null,mod:new r(this.modn(T.words[0]))}:{div:this.divn(T.words[0]),mod:new r(this.modn(T.words[0]))}:this._wordDiv(T,N)},r.prototype.div=function(T){return this.divmod(T,"div",!1).div},r.prototype.mod=function(T){return this.divmod(T,"mod",!1).mod},r.prototype.umod=function(T){return this.divmod(T,"mod",!0).mod},r.prototype.divRound=function(T){var N=this.divmod(T);if(N.mod.isZero())return N.div;var w=N.div.negative!==0?N.mod.isub(T):N.mod,m=T.ushrn(1),A=T.andln(1),P=w.cmp(m);return P<0||A===1&&P===0?N.div:N.div.negative!==0?N.div.isubn(1):N.div.iaddn(1)},r.prototype.modn=function(T){n(T<=67108863);for(var N=(1<<26)%T,w=0,m=this.length-1;m>=0;m--)w=(N*w+(this.words[m]|0))%T;return w},r.prototype.idivn=function(T){n(T<=67108863);for(var N=0,w=this.length-1;w>=0;w--){var m=(this.words[w]|0)+N*67108864;this.words[w]=m/T|0,N=m%T}return this.strip()},r.prototype.divn=function(T){return this.clone().idivn(T)},r.prototype.egcd=function(T){n(T.negative===0),n(!T.isZero());var N=this,w=T.clone();N.negative!==0?N=N.umod(T):N=N.clone();for(var m=new r(1),A=new r(0),P=new r(0),L=new r(1),x=0;N.isEven()&&w.isEven();)N.iushrn(1),w.iushrn(1),++x;for(var g=w.clone(),B=N.clone();!N.isZero();){for(var M=0,S=1;!(N.words[0]&S)&&M<26;++M,S<<=1);if(M>0)for(N.iushrn(M);M-- >0;)(m.isOdd()||A.isOdd())&&(m.iadd(g),A.isub(B)),m.iushrn(1),A.iushrn(1);for(var q=0,ee=1;!(w.words[0]&ee)&&q<26;++q,ee<<=1);if(q>0)for(w.iushrn(q);q-- >0;)(P.isOdd()||L.isOdd())&&(P.iadd(g),L.isub(B)),P.iushrn(1),L.iushrn(1);N.cmp(w)>=0?(N.isub(w),m.isub(P),A.isub(L)):(w.isub(N),P.isub(m),L.isub(A))}return{a:P,b:L,gcd:w.iushln(x)}},r.prototype._invmp=function(T){n(T.negative===0),n(!T.isZero());var N=this,w=T.clone();N.negative!==0?N=N.umod(T):N=N.clone();for(var m=new r(1),A=new r(0),P=w.clone();N.cmpn(1)>0&&w.cmpn(1)>0;){for(var L=0,x=1;!(N.words[0]&x)&&L<26;++L,x<<=1);if(L>0)for(N.iushrn(L);L-- >0;)m.isOdd()&&m.iadd(P),m.iushrn(1);for(var g=0,B=1;!(w.words[0]&B)&&g<26;++g,B<<=1);if(g>0)for(w.iushrn(g);g-- >0;)A.isOdd()&&A.iadd(P),A.iushrn(1);N.cmp(w)>=0?(N.isub(w),m.isub(A)):(w.isub(N),A.isub(m))}var M;return N.cmpn(1)===0?M=m:M=A,M.cmpn(0)<0&&M.iadd(T),M},r.prototype.gcd=function(T){if(this.isZero())return T.abs();if(T.isZero())return this.abs();var N=this.clone(),w=T.clone();N.negative=0,w.negative=0;for(var m=0;N.isEven()&&w.isEven();m++)N.iushrn(1),w.iushrn(1);do{for(;N.isEven();)N.iushrn(1);for(;w.isEven();)w.iushrn(1);var A=N.cmp(w);if(A<0){var P=N;N=w,w=P}else if(A===0||w.cmpn(1)===0)break;N.isub(w)}while(!0);return w.iushln(m)},r.prototype.invm=function(T){return this.egcd(T).a.umod(T)},r.prototype.isEven=function(){return(this.words[0]&1)===0},r.prototype.isOdd=function(){return(this.words[0]&1)===1},r.prototype.andln=function(T){return this.words[0]&T},r.prototype.bincn=function(T){n(typeof T=="number");var N=T%26,w=(T-N)/26,m=1<>>26,L&=67108863,this.words[P]=L}return A!==0&&(this.words[P]=A,this.length++),this},r.prototype.isZero=function(){return this.length===1&&this.words[0]===0},r.prototype.cmpn=function(T){var N=T<0;if(this.negative!==0&&!N)return-1;if(this.negative===0&&N)return 1;this.strip();var w;if(this.length>1)w=1;else{N&&(T=-T),n(T<=67108863,"Number is too big");var m=this.words[0]|0;w=m===T?0:mT.length)return 1;if(this.length=0;w--){var m=this.words[w]|0,A=T.words[w]|0;if(m!==A){mA&&(N=1);break}}return N},r.prototype.gtn=function(T){return this.cmpn(T)===1},r.prototype.gt=function(T){return this.cmp(T)===1},r.prototype.gten=function(T){return this.cmpn(T)>=0},r.prototype.gte=function(T){return this.cmp(T)>=0},r.prototype.ltn=function(T){return this.cmpn(T)===-1},r.prototype.lt=function(T){return this.cmp(T)===-1},r.prototype.lten=function(T){return this.cmpn(T)<=0},r.prototype.lte=function(T){return this.cmp(T)<=0},r.prototype.eqn=function(T){return this.cmpn(T)===0},r.prototype.eq=function(T){return this.cmp(T)===0},r.red=function(T){return new K(T)},r.prototype.toRed=function(T){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),T.convertTo(this)._forceRed(T)},r.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(T){return this.red=T,this},r.prototype.forceRed=function(T){return n(!this.red,"Already a number in reduction context"),this._forceRed(T)},r.prototype.redAdd=function(T){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,T)},r.prototype.redIAdd=function(T){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,T)},r.prototype.redSub=function(T){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,T)},r.prototype.redISub=function(T){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,T)},r.prototype.redShl=function(T){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,T)},r.prototype.redMul=function(T){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,T),this.red.mul(this,T)},r.prototype.redIMul=function(T){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,T),this.red.imul(this,T)},r.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},r.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},r.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},r.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},r.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},r.prototype.redPow=function(T){return n(this.red&&!T.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,T)};var z={k256:null,p224:null,p192:null,p25519:null};function W(R,T){this.name=R,this.p=new r(T,16),this.n=this.p.bitLength(),this.k=new r(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}W.prototype._tmp=function(){var T=new r(null);return T.words=new Array(Math.ceil(this.n/13)),T},W.prototype.ireduce=function(T){var N=T,w;do this.split(N,this.tmp),N=this.imulK(N),N=N.iadd(this.tmp),w=N.bitLength();while(w>this.n);var m=w0?N.isub(this.p):N.strip!==void 0?N.strip():N._strip(),N},W.prototype.split=function(T,N){T.iushrn(this.n,0,N)},W.prototype.imulK=function(T){return T.imul(this.k)};function j(){W.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(j,W),j.prototype.split=function(T,N){for(var w=4194303,m=Math.min(T.length,9),A=0;A>>22,P=L}P>>>=22,T.words[A-10]=P,P===0&&T.length>10?T.length-=10:T.length-=9},j.prototype.imulK=function(T){T.words[T.length]=0,T.words[T.length+1]=0,T.length+=2;for(var N=0,w=0;w>>=26,T.words[w]=A,N=m}return N!==0&&(T.words[T.length++]=N),T},r._prime=function(T){if(z[T])return z[T];var N;if(T==="k256")N=new j;else if(T==="p224")N=new Q;else if(T==="p192")N=new V;else if(T==="p25519")N=new X;else throw new Error("Unknown prime "+T);return z[T]=N,N};function K(R){if(typeof R=="string"){var T=r._prime(R);this.m=T.p,this.prime=T}else n(R.gtn(1),"modulus must be greater than 1"),this.m=R,this.prime=null}K.prototype._verify1=function(T){n(T.negative===0,"red works only with positives"),n(T.red,"red works only with red numbers")},K.prototype._verify2=function(T,N){n((T.negative|N.negative)===0,"red works only with positives"),n(T.red&&T.red===N.red,"red works only with red numbers")},K.prototype.imod=function(T){return this.prime?this.prime.ireduce(T)._forceRed(this):T.umod(this.m)._forceRed(this)},K.prototype.neg=function(T){return T.isZero()?T.clone():this.m.sub(T)._forceRed(this)},K.prototype.add=function(T,N){this._verify2(T,N);var w=T.add(N);return w.cmp(this.m)>=0&&w.isub(this.m),w._forceRed(this)},K.prototype.iadd=function(T,N){this._verify2(T,N);var w=T.iadd(N);return w.cmp(this.m)>=0&&w.isub(this.m),w},K.prototype.sub=function(T,N){this._verify2(T,N);var w=T.sub(N);return w.cmpn(0)<0&&w.iadd(this.m),w._forceRed(this)},K.prototype.isub=function(T,N){this._verify2(T,N);var w=T.isub(N);return w.cmpn(0)<0&&w.iadd(this.m),w},K.prototype.shl=function(T,N){return this._verify1(T),this.imod(T.ushln(N))},K.prototype.imul=function(T,N){return this._verify2(T,N),this.imod(T.imul(N))},K.prototype.mul=function(T,N){return this._verify2(T,N),this.imod(T.mul(N))},K.prototype.isqr=function(T){return this.imul(T,T.clone())},K.prototype.sqr=function(T){return this.mul(T,T)},K.prototype.sqrt=function(T){if(T.isZero())return T.clone();var N=this.m.andln(3);if(n(N%2===1),N===3){var w=this.m.add(new r(1)).iushrn(2);return this.pow(T,w)}for(var m=this.m.subn(1),A=0;!m.isZero()&&m.andln(1)===0;)A++,m.iushrn(1);n(!m.isZero());var P=new r(1).toRed(this),L=P.redNeg(),x=this.m.subn(1).iushrn(1),g=this.m.bitLength();for(g=new r(2*g*g).toRed(this);this.pow(g,x).cmp(L)!==0;)g.redIAdd(L);for(var B=this.pow(g,m),M=this.pow(T,m.addn(1).iushrn(1)),S=this.pow(T,m),q=A;S.cmp(P)!==0;){for(var ee=S,U=0;ee.cmp(P)!==0;U++)ee=ee.redSqr();n(U=0;A--){for(var B=N.words[A],M=g-1;M>=0;M--){var S=B>>M&1;if(P!==m[0]&&(P=this.sqr(P)),S===0&&L===0){x=0;continue}L<<=1,L|=S,x++,!(x!==w&&(A!==0||M!==0))&&(P=this.mul(P,m[L]),x=0,L=0)}g=26}return P},K.prototype.convertTo=function(T){var N=T.umod(this.m);return N===T?N.clone():N},K.prototype.convertFrom=function(T){var N=T.clone();return N.red=null,N},r.mont=function(T){return new G(T)};function G(R){K.call(this,R),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new r(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(G,K),G.prototype.convertTo=function(T){return this.imod(T.ushln(this.shift))},G.prototype.convertFrom=function(T){var N=this.imod(T.mul(this.rinv));return N.red=null,N},G.prototype.imul=function(T,N){if(T.isZero()||N.isZero())return T.words[0]=0,T.length=1,T;var w=T.imul(N),m=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=w.isub(m).iushrn(this.shift),P=A;return A.cmp(this.m)>=0?P=A.isub(this.m):A.cmpn(0)<0&&(P=A.iadd(this.m)),P._forceRed(this)},G.prototype.mul=function(T,N){if(T.isZero()||N.isZero())return new r(0)._forceRed(this);var w=T.mul(N),m=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=w.isub(m).iushrn(this.shift),P=A;return A.cmp(this.m)>=0?P=A.isub(this.m):A.cmpn(0)<0&&(P=A.iadd(this.m)),P._forceRed(this)},G.prototype.invm=function(T){var N=this.imod(T._invmp(this.m).mul(this.r2));return N._forceRed(this)}})(typeof ste>"u"||ste,lxe)});var kc=D((wOn,pxe)=>{u();p();pxe.exports=uxe;function uxe(t,e){if(!t)throw new Error(e||"Assertion failed")}uxe.equal=function(e,n,a){if(e!=n)throw new Error(a||"Assertion failed: "+e+" != "+n)}});var AN=D(mxe=>{"use strict";u();p();var _N=mxe;function OF0(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if(typeof t!="string"){for(var a=0;a>8,i=r&255;f?n.push(f,i):n.push(i)}return n}_N.toArray=OF0;function hxe(t){return t.length===1?"0"+t:t}_N.zero2=hxe;function bxe(t){for(var e="",n=0;n{"use strict";u();p();var el=yxe,UF0=kr(),HF0=kc(),CN=AN();el.assert=HF0;el.toArray=CN.toArray;el.zero2=CN.zero2;el.toHex=CN.toHex;el.encode=CN.encode;function zF0(t,e,n){var a=new Array(Math.max(t.bitLength(),n)+1);a.fill(0);for(var r=1<(r>>1)-1?s=(r>>1)-o:s=o,f.isubn(s)):s=0,a[i]=s,f.iushrn(1)}return a}el.getNAF=zF0;function WF0(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var a=0,r=0,f;t.cmpn(-a)>0||e.cmpn(-r)>0;){var i=t.andln(3)+a&3,s=e.andln(3)+r&3;i===3&&(i=-1),s===3&&(s=-1);var o;i&1?(f=t.andln(7)+a&7,(f===3||f===5)&&s===2?o=-i:o=i):o=0,n[0].push(o);var c;s&1?(f=e.andln(7)+r&7,(f===3||f===5)&&i===2?c=-s:c=s):c=0,n[1].push(c),2*a===o+1&&(a=1-a),2*r===c+1&&(r=1-r),t.iushrn(1),e.iushrn(1)}return n}el.getJSF=WF0;function qF0(t,e,n){var a="_"+e;t.prototype[e]=function(){return this[a]!==void 0?this[a]:this[a]=n.call(this)}}el.cachedProperty=qF0;function jF0(t){return typeof t=="string"?el.toArray(t,"hex"):t}el.parseBytes=jF0;function GF0(t){return new UF0(t,"hex","le")}el.intFromLE=GF0});var En=D((ote,vxe)=>{u();p();var IN=Kf(),v2=IN.Buffer;function gxe(t,e){for(var n in t)e[n]=t[n]}v2.from&&v2.alloc&&v2.allocUnsafe&&v2.allocUnsafeSlow?vxe.exports=IN:(gxe(IN,ote),ote.Buffer=Iy);function Iy(t,e,n){return v2(t,e,n)}Iy.prototype=Object.create(v2.prototype);gxe(v2,Iy);Iy.from=function(t,e,n){if(typeof t=="number")throw new TypeError("Argument must not be a number");return v2(t,e,n)};Iy.alloc=function(t,e,n){if(typeof t!="number")throw new TypeError("Argument must be a number");var a=v2(t);return e!==void 0?typeof n=="string"?a.fill(e,n):a.fill(e):a.fill(0),a};Iy.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return v2(t)};Iy.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return IN.SlowBuffer(t)}});var f8=D((MOn,dte)=>{"use strict";u();p();var cte=65536,KF0=4294967295;function QF0(){throw new Error(`Secure random number generation is not supported by this browser. +Use Chrome, Firefox or Internet Explorer 11`)}var VF0=En().Buffer,kN=global.crypto||global.msCrypto;kN&&kN.getRandomValues?dte.exports=YF0:dte.exports=QF0;function YF0(t,e){if(t>KF0)throw new RangeError("requested too many random bytes");var n=VF0.allocUnsafe(t);if(t>0)if(t>cte)for(var a=0;a{u();p();typeof Object.create=="function"?lte.exports=function(e,n){n&&(e.super_=n,e.prototype=Object.create(n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:lte.exports=function(e,n){if(n){e.super_=n;var a=function(){};a.prototype=n.prototype,e.prototype=new a,e.prototype.constructor=e}}});var Nr=D((NOn,ute)=>{"use strict";u();p();var bw=typeof Reflect=="object"?Reflect:null,wxe=bw&&typeof bw.apply=="function"?bw.apply:function(e,n,a){return Function.prototype.apply.call(e,n,a)},SN;bw&&typeof bw.ownKeys=="function"?SN=bw.ownKeys:Object.getOwnPropertySymbols?SN=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:SN=function(e){return Object.getOwnPropertyNames(e)};function $F0(t){console&&console.warn&&console.warn(t)}var xxe=Number.isNaN||function(e){return e!==e};function br(){br.init.call(this)}ute.exports=br;ute.exports.once=eN0;br.EventEmitter=br;br.prototype._events=void 0;br.prototype._eventsCount=0;br.prototype._maxListeners=void 0;var Txe=10;function RN(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(br,"defaultMaxListeners",{enumerable:!0,get:function(){return Txe},set:function(t){if(typeof t!="number"||t<0||xxe(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");Txe=t}});br.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};br.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||xxe(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function Exe(t){return t._maxListeners===void 0?br.defaultMaxListeners:t._maxListeners}br.prototype.getMaxListeners=function(){return Exe(this)};br.prototype.emit=function(e){for(var n=[],a=1;a0&&(i=n[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var o=f[e];if(o===void 0)return!1;if(typeof o=="function")wxe(o,this,n);else for(var c=o.length,d=kxe(o,c),a=0;a0&&i.length>r&&!i.warned){i.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=t,s.type=e,s.count=i.length,$F0(s)}return t}br.prototype.addListener=function(e,n){return _xe(this,e,n,!1)};br.prototype.on=br.prototype.addListener;br.prototype.prependListener=function(e,n){return _xe(this,e,n,!0)};function JF0(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Axe(t,e,n){var a={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},r=JF0.bind(a);return r.listener=n,a.wrapFn=r,r}br.prototype.once=function(e,n){return RN(n),this.on(e,Axe(this,e,n)),this};br.prototype.prependOnceListener=function(e,n){return RN(n),this.prependListener(e,Axe(this,e,n)),this};br.prototype.removeListener=function(e,n){var a,r,f,i,s;if(RN(n),r=this._events,r===void 0)return this;if(a=r[e],a===void 0)return this;if(a===n||a.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,a.listener||n));else if(typeof a!="function"){for(f=-1,i=a.length-1;i>=0;i--)if(a[i]===n||a[i].listener===n){s=a[i].listener,f=i;break}if(f<0)return this;f===0?a.shift():XF0(a,f),a.length===1&&(r[e]=a[0]),r.removeListener!==void 0&&this.emit("removeListener",e,s||n)}return this};br.prototype.off=br.prototype.removeListener;br.prototype.removeAllListeners=function(e){var n,a,r;if(a=this._events,a===void 0)return this;if(a.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):a[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete a[e]),this;if(arguments.length===0){var f=Object.keys(a),i;for(r=0;r=0;r--)this.removeListener(e,n[r]);return this};function Cxe(t,e,n){var a=t._events;if(a===void 0)return[];var r=a[e];return r===void 0?[]:typeof r=="function"?n?[r.listener||r]:[r]:n?ZF0(r):kxe(r,r.length)}br.prototype.listeners=function(e){return Cxe(this,e,!0)};br.prototype.rawListeners=function(e){return Cxe(this,e,!1)};br.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):Ixe.call(t,e)};br.prototype.listenerCount=Ixe;function Ixe(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}br.prototype.eventNames=function(){return this._eventsCount>0?SN(this._events):[]};function kxe(t,e){for(var n=new Array(e),a=0;a{u();p();Rxe.exports=Nr().EventEmitter});var MN=D((qOn,Mxe)=>{"use strict";u();p();Mxe.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var r=42;e[n]=r;for(n in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var f=Object.getOwnPropertySymbols(e);if(f.length!==1||f[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(e,n);if(i.value!==r||i.enumerable!==!0)return!1}return!0}});var BN=D((KOn,Bxe)=>{"use strict";u();p();var nN0=MN();Bxe.exports=function(){return nN0()&&!!Symbol.toStringTag}});var Pxe=D((YOn,Dxe)=>{"use strict";u();p();Dxe.exports=Error});var Fxe=D((XOn,Lxe)=>{"use strict";u();p();Lxe.exports=EvalError});var Oxe=D((tUn,Nxe)=>{"use strict";u();p();Nxe.exports=RangeError});var Hxe=D((rUn,Uxe)=>{"use strict";u();p();Uxe.exports=ReferenceError});var hte=D((sUn,zxe)=>{"use strict";u();p();zxe.exports=SyntaxError});var gI=D((dUn,Wxe)=>{"use strict";u();p();Wxe.exports=TypeError});var jxe=D((pUn,qxe)=>{"use strict";u();p();qxe.exports=URIError});var Qxe=D((mUn,Kxe)=>{"use strict";u();p();var Gxe=typeof Symbol<"u"&&Symbol,aN0=MN();Kxe.exports=function(){return typeof Gxe!="function"||typeof Symbol!="function"||typeof Gxe("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:aN0()}});var Yxe=D((vUn,Vxe)=>{"use strict";u();p();var bte={__proto__:null,foo:{}},rN0=Object;Vxe.exports=function(){return{__proto__:bte}.foo===bte.foo&&!(bte instanceof rN0)}});var Xxe=D((xUn,Jxe)=>{"use strict";u();p();var fN0="Function.prototype.bind called on incompatible ",iN0=Object.prototype.toString,sN0=Math.max,oN0="[object Function]",$xe=function(e,n){for(var a=[],r=0;r{"use strict";u();p();var lN0=Xxe();Zxe.exports=Function.prototype.bind||lN0});var tEe=D((kUn,eEe)=>{"use strict";u();p();var uN0=Function.prototype.call,pN0=Object.prototype.hasOwnProperty,hN0=DN();eEe.exports=hN0.call(uN0,pN0)});var ww=D((MUn,iEe)=>{"use strict";u();p();var Xn,bN0=Pxe(),mN0=Fxe(),yN0=Oxe(),gN0=Hxe(),vw=hte(),gw=gI(),vN0=jxe(),fEe=Function,mte=function(t){try{return fEe('"use strict"; return ('+t+").constructor;")()}catch{}},ky=Object.getOwnPropertyDescriptor;if(ky)try{ky({},"")}catch{ky=null}var yte=function(){throw new gw},wN0=ky?function(){try{return arguments.callee,yte}catch{try{return ky(arguments,"callee").get}catch{return yte}}}():yte,mw=Qxe()(),TN0=Yxe()(),hs=Object.getPrototypeOf||(TN0?function(t){return t.__proto__}:null),yw={},xN0=typeof Uint8Array>"u"||!hs?Xn:hs(Uint8Array),Sy={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Xn:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Xn:ArrayBuffer,"%ArrayIteratorPrototype%":mw&&hs?hs([][Symbol.iterator]()):Xn,"%AsyncFromSyncIteratorPrototype%":Xn,"%AsyncFunction%":yw,"%AsyncGenerator%":yw,"%AsyncGeneratorFunction%":yw,"%AsyncIteratorPrototype%":yw,"%Atomics%":typeof Atomics>"u"?Xn:Atomics,"%BigInt%":typeof BigInt>"u"?Xn:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Xn:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Xn:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Xn:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":bN0,"%eval%":eval,"%EvalError%":mN0,"%Float32Array%":typeof Float32Array>"u"?Xn:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Xn:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Xn:FinalizationRegistry,"%Function%":fEe,"%GeneratorFunction%":yw,"%Int8Array%":typeof Int8Array>"u"?Xn:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Xn:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Xn:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":mw&&hs?hs(hs([][Symbol.iterator]())):Xn,"%JSON%":typeof JSON=="object"?JSON:Xn,"%Map%":typeof Map>"u"?Xn:Map,"%MapIteratorPrototype%":typeof Map>"u"||!mw||!hs?Xn:hs(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Xn:Promise,"%Proxy%":typeof Proxy>"u"?Xn:Proxy,"%RangeError%":yN0,"%ReferenceError%":gN0,"%Reflect%":typeof Reflect>"u"?Xn:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Xn:Set,"%SetIteratorPrototype%":typeof Set>"u"||!mw||!hs?Xn:hs(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Xn:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":mw&&hs?hs(""[Symbol.iterator]()):Xn,"%Symbol%":mw?Symbol:Xn,"%SyntaxError%":vw,"%ThrowTypeError%":wN0,"%TypedArray%":xN0,"%TypeError%":gw,"%Uint8Array%":typeof Uint8Array>"u"?Xn:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Xn:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Xn:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Xn:Uint32Array,"%URIError%":vN0,"%WeakMap%":typeof WeakMap>"u"?Xn:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Xn:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Xn:WeakSet};if(hs)try{null.error}catch(t){nEe=hs(hs(t)),Sy["%Error.prototype%"]=nEe}var nEe,EN0=function t(e){var n;if(e==="%AsyncFunction%")n=mte("async function () {}");else if(e==="%GeneratorFunction%")n=mte("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=mte("async function* () {}");else if(e==="%AsyncGenerator%"){var a=t("%AsyncGeneratorFunction%");a&&(n=a.prototype)}else if(e==="%AsyncIteratorPrototype%"){var r=t("%AsyncGenerator%");r&&hs&&(n=hs(r.prototype))}return Sy[e]=n,n},aEe={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},vI=DN(),PN=tEe(),_N0=vI.call(Function.call,Array.prototype.concat),AN0=vI.call(Function.apply,Array.prototype.splice),rEe=vI.call(Function.call,String.prototype.replace),LN=vI.call(Function.call,String.prototype.slice),CN0=vI.call(Function.call,RegExp.prototype.exec),IN0=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,kN0=/\\(\\)?/g,SN0=function(e){var n=LN(e,0,1),a=LN(e,-1);if(n==="%"&&a!=="%")throw new vw("invalid intrinsic syntax, expected closing `%`");if(a==="%"&&n!=="%")throw new vw("invalid intrinsic syntax, expected opening `%`");var r=[];return rEe(e,IN0,function(f,i,s,o){r[r.length]=s?rEe(o,kN0,"$1"):i||f}),r},RN0=function(e,n){var a=e,r;if(PN(aEe,a)&&(r=aEe[a],a="%"+r[0]+"%"),PN(Sy,a)){var f=Sy[a];if(f===yw&&(f=EN0(a)),typeof f>"u"&&!n)throw new gw("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:a,value:f}}throw new vw("intrinsic "+e+" does not exist!")};iEe.exports=function(e,n){if(typeof e!="string"||e.length===0)throw new gw("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new gw('"allowMissing" argument must be a boolean');if(CN0(/^%?[^%]*%?$/,e)===null)throw new vw("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=SN0(e),r=a.length>0?a[0]:"",f=RN0("%"+r+"%",n),i=f.name,s=f.value,o=!1,c=f.alias;c&&(r=c[0],AN0(a,_N0([0,1],c)));for(var d=1,l=!0;d=a.length){var k=ky(s,h);l=!!k,l&&"get"in k&&!("originalValue"in k.get)?s=k.get:s=s[h]}else l=PN(s,h),s=s[h];l&&!o&&(Sy[i]=s)}}return s}});var NN=D((PUn,sEe)=>{"use strict";u();p();var MN0=ww(),FN=MN0("%Object.defineProperty%",!0)||!1;if(FN)try{FN({},"a",{value:1})}catch{FN=!1}sEe.exports=FN});var UN=D((NUn,oEe)=>{"use strict";u();p();var BN0=ww(),ON=BN0("%Object.getOwnPropertyDescriptor%",!0);if(ON)try{ON([],"length")}catch{ON=null}oEe.exports=ON});var gte=D((HUn,lEe)=>{"use strict";u();p();var cEe=NN(),DN0=hte(),Tw=gI(),dEe=UN();lEe.exports=function(e,n,a){if(!e||typeof e!="object"&&typeof e!="function")throw new Tw("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new Tw("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Tw("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Tw("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Tw("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Tw("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,f=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,o=!!dEe&&dEe(e,n);if(cEe)cEe(e,n,{configurable:i===null&&o?o.configurable:!i,enumerable:r===null&&o?o.enumerable:!r,value:a,writable:f===null&&o?o.writable:!f});else if(s||!r&&!f&&!i)e[n]=a;else throw new DN0("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var wte=D((qUn,pEe)=>{"use strict";u();p();var vte=NN(),uEe=function(){return!!vte};uEe.hasArrayLengthDefineBug=function(){if(!vte)return null;try{return vte([],"length",{value:1}).length!==1}catch{return!0}};pEe.exports=uEe});var gEe=D((KUn,yEe)=>{"use strict";u();p();var PN0=ww(),hEe=gte(),LN0=wte()(),bEe=UN(),mEe=gI(),FN0=PN0("%Math.floor%");yEe.exports=function(e,n){if(typeof e!="function")throw new mEe("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||FN0(n)!==n)throw new mEe("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],r=!0,f=!0;if("length"in e&&bEe){var i=bEe(e,"length");i&&!i.configurable&&(r=!1),i&&!i.writable&&(f=!1)}return(r||f||!a)&&(LN0?hEe(e,"length",n,!0,!0):hEe(e,"length",n)),e}});var wI=D((YUn,HN)=>{"use strict";u();p();var Tte=DN(),zN=ww(),NN0=gEe(),ON0=gI(),TEe=zN("%Function.prototype.apply%"),xEe=zN("%Function.prototype.call%"),EEe=zN("%Reflect.apply%",!0)||Tte.call(xEe,TEe),vEe=NN(),UN0=zN("%Math.max%");HN.exports=function(e){if(typeof e!="function")throw new ON0("a function is required");var n=EEe(Tte,xEe,arguments);return NN0(n,1+UN0(0,e.length-(arguments.length-1)),!0)};var wEe=function(){return EEe(Tte,TEe,arguments)};vEe?vEe(HN.exports,"apply",{value:wEe}):HN.exports.apply=wEe});var TI=D((XUn,CEe)=>{"use strict";u();p();var _Ee=ww(),AEe=wI(),HN0=AEe(_Ee("String.prototype.indexOf"));CEe.exports=function(e,n){var a=_Ee(e,!!n);return typeof a=="function"&&HN0(e,".prototype.")>-1?AEe(a):a}});var SEe=D((tHn,kEe)=>{"use strict";u();p();var zN0=BN()(),WN0=TI(),xte=WN0("Object.prototype.toString"),WN=function(e){return zN0&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:xte(e)==="[object Arguments]"},IEe=function(e){return WN(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&xte(e)!=="[object Array]"&&xte(e.callee)==="[object Function]"},qN0=function(){return WN(arguments)}();WN.isLegacyArguments=IEe;kEe.exports=qN0?WN:IEe});var BEe=D((rHn,MEe)=>{"use strict";u();p();var jN0=Object.prototype.toString,GN0=Function.prototype.toString,KN0=/^\s*(?:function)?\*/,REe=BN()(),Ete=Object.getPrototypeOf,QN0=function(){if(!REe)return!1;try{return Function("return function*() {}")()}catch{}},_te;MEe.exports=function(e){if(typeof e!="function")return!1;if(KN0.test(GN0.call(e)))return!0;if(!REe){var n=jN0.call(e);return n==="[object GeneratorFunction]"}if(!Ete)return!1;if(typeof _te>"u"){var a=QN0();_te=a?Ete(a):!1}return Ete(e)===_te}});var FEe=D((sHn,LEe)=>{"use strict";u();p();var PEe=Function.prototype.toString,xw=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Cte,qN;if(typeof xw=="function"&&typeof Object.defineProperty=="function")try{Cte=Object.defineProperty({},"length",{get:function(){throw qN}}),qN={},xw(function(){throw 42},null,Cte)}catch(t){t!==qN&&(xw=null)}else xw=null;var VN0=/^\s*class\b/,Ite=function(e){try{var n=PEe.call(e);return VN0.test(n)}catch{return!1}},Ate=function(e){try{return Ite(e)?!1:(PEe.call(e),!0)}catch{return!1}},jN=Object.prototype.toString,YN0="[object Object]",$N0="[object Function]",JN0="[object GeneratorFunction]",XN0="[object HTMLAllCollection]",ZN0="[object HTML document.all class]",eO0="[object HTMLCollection]",tO0=typeof Symbol=="function"&&!!Symbol.toStringTag,nO0=!(0 in[,]),kte=function(){return!1};typeof document=="object"&&(DEe=document.all,jN.call(DEe)===jN.call(document.all)&&(kte=function(e){if((nO0||!e)&&(typeof e>"u"||typeof e=="object"))try{var n=jN.call(e);return(n===XN0||n===ZN0||n===eO0||n===YN0)&&e("")==null}catch{}return!1}));var DEe;LEe.exports=xw?function(e){if(kte(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{xw(e,null,Cte)}catch(n){if(n!==qN)return!1}return!Ite(e)&&Ate(e)}:function(e){if(kte(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(tO0)return Ate(e);if(Ite(e))return!1;var n=jN.call(e);return n!==$N0&&n!==JN0&&!/^\[object HTML/.test(n)?!1:Ate(e)}});var UEe=D((dHn,OEe)=>{"use strict";u();p();var aO0=FEe(),rO0=Object.prototype.toString,NEe=Object.prototype.hasOwnProperty,fO0=function(e,n,a){for(var r=0,f=e.length;r=3&&(r=a),rO0.call(e)==="[object Array]"?fO0(e,n,r):typeof e=="string"?iO0(e,n,r):sO0(e,n,r)};OEe.exports=oO0});var zEe=D((pHn,HEe)=>{"use strict";u();p();HEe.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]});var qEe=D((mHn,WEe)=>{"use strict";u();p();var Ste=zEe(),cO0=typeof globalThis>"u"?global:globalThis;WEe.exports=function(){for(var e=[],n=0;n{"use strict";u();p();var KN=UEe(),dO0=qEe(),jEe=wI(),Bte=TI(),GN=UN(),lO0=Bte("Object.prototype.toString"),KEe=BN()(),GEe=typeof globalThis>"u"?global:globalThis,Mte=dO0(),Dte=Bte("String.prototype.slice"),Rte=Object.getPrototypeOf,uO0=Bte("Array.prototype.indexOf",!0)||function(e,n){for(var a=0;a-1?n:n!=="Object"?!1:hO0(e)}return GN?pO0(e):null}});var YEe=D((xHn,VEe)=>{"use strict";u();p();var bO0=Pte();VEe.exports=function(e){return!!bO0(e)}});var c_e=D(Qn=>{"use strict";u();p();var mO0=SEe(),yO0=BEe(),tl=Pte(),$Ee=YEe();function Ew(t){return t.call.bind(t)}var JEe=typeof BigInt<"u",XEe=typeof Symbol<"u",x5=Ew(Object.prototype.toString),gO0=Ew(Number.prototype.valueOf),vO0=Ew(String.prototype.valueOf),wO0=Ew(Boolean.prototype.valueOf);JEe&&(ZEe=Ew(BigInt.prototype.valueOf));var ZEe;XEe&&(e_e=Ew(Symbol.prototype.valueOf));var e_e;function EI(t,e){if(typeof t!="object")return!1;try{return e(t),!0}catch{return!1}}Qn.isArgumentsObject=mO0;Qn.isGeneratorFunction=yO0;Qn.isTypedArray=$Ee;function TO0(t){return typeof Promise<"u"&&t instanceof Promise||t!==null&&typeof t=="object"&&typeof t.then=="function"&&typeof t.catch=="function"}Qn.isPromise=TO0;function xO0(t){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(t):$Ee(t)||n_e(t)}Qn.isArrayBufferView=xO0;function EO0(t){return tl(t)==="Uint8Array"}Qn.isUint8Array=EO0;function _O0(t){return tl(t)==="Uint8ClampedArray"}Qn.isUint8ClampedArray=_O0;function AO0(t){return tl(t)==="Uint16Array"}Qn.isUint16Array=AO0;function CO0(t){return tl(t)==="Uint32Array"}Qn.isUint32Array=CO0;function IO0(t){return tl(t)==="Int8Array"}Qn.isInt8Array=IO0;function kO0(t){return tl(t)==="Int16Array"}Qn.isInt16Array=kO0;function SO0(t){return tl(t)==="Int32Array"}Qn.isInt32Array=SO0;function RO0(t){return tl(t)==="Float32Array"}Qn.isFloat32Array=RO0;function MO0(t){return tl(t)==="Float64Array"}Qn.isFloat64Array=MO0;function BO0(t){return tl(t)==="BigInt64Array"}Qn.isBigInt64Array=BO0;function DO0(t){return tl(t)==="BigUint64Array"}Qn.isBigUint64Array=DO0;function VN(t){return x5(t)==="[object Map]"}VN.working=typeof Map<"u"&&VN(new Map);function PO0(t){return typeof Map>"u"?!1:VN.working?VN(t):t instanceof Map}Qn.isMap=PO0;function YN(t){return x5(t)==="[object Set]"}YN.working=typeof Set<"u"&&YN(new Set);function LO0(t){return typeof Set>"u"?!1:YN.working?YN(t):t instanceof Set}Qn.isSet=LO0;function $N(t){return x5(t)==="[object WeakMap]"}$N.working=typeof WeakMap<"u"&&$N(new WeakMap);function FO0(t){return typeof WeakMap>"u"?!1:$N.working?$N(t):t instanceof WeakMap}Qn.isWeakMap=FO0;function Fte(t){return x5(t)==="[object WeakSet]"}Fte.working=typeof WeakSet<"u"&&Fte(new WeakSet);function NO0(t){return Fte(t)}Qn.isWeakSet=NO0;function JN(t){return x5(t)==="[object ArrayBuffer]"}JN.working=typeof ArrayBuffer<"u"&&JN(new ArrayBuffer);function t_e(t){return typeof ArrayBuffer>"u"?!1:JN.working?JN(t):t instanceof ArrayBuffer}Qn.isArrayBuffer=t_e;function XN(t){return x5(t)==="[object DataView]"}XN.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&XN(new DataView(new ArrayBuffer(1),0,1));function n_e(t){return typeof DataView>"u"?!1:XN.working?XN(t):t instanceof DataView}Qn.isDataView=n_e;var Lte=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function xI(t){return x5(t)==="[object SharedArrayBuffer]"}function a_e(t){return typeof Lte>"u"?!1:(typeof xI.working>"u"&&(xI.working=xI(new Lte)),xI.working?xI(t):t instanceof Lte)}Qn.isSharedArrayBuffer=a_e;function OO0(t){return x5(t)==="[object AsyncFunction]"}Qn.isAsyncFunction=OO0;function UO0(t){return x5(t)==="[object Map Iterator]"}Qn.isMapIterator=UO0;function HO0(t){return x5(t)==="[object Set Iterator]"}Qn.isSetIterator=HO0;function zO0(t){return x5(t)==="[object Generator]"}Qn.isGeneratorObject=zO0;function WO0(t){return x5(t)==="[object WebAssembly.Module]"}Qn.isWebAssemblyCompiledModule=WO0;function r_e(t){return EI(t,gO0)}Qn.isNumberObject=r_e;function f_e(t){return EI(t,vO0)}Qn.isStringObject=f_e;function i_e(t){return EI(t,wO0)}Qn.isBooleanObject=i_e;function s_e(t){return JEe&&EI(t,ZEe)}Qn.isBigIntObject=s_e;function o_e(t){return XEe&&EI(t,e_e)}Qn.isSymbolObject=o_e;function qO0(t){return r_e(t)||f_e(t)||i_e(t)||s_e(t)||o_e(t)}Qn.isBoxedPrimitive=qO0;function jO0(t){return typeof Uint8Array<"u"&&(t_e(t)||a_e(t))}Qn.isAnyArrayBuffer=jO0;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(Qn,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})})});var l_e=D((kHn,d_e)=>{u();p();d_e.exports=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}});var nl=D(Vn=>{u();p();var u_e=Object.getOwnPropertyDescriptors||function(e){for(var n=Object.keys(e),a={},r=0;r=r)return s;switch(s){case"%s":return String(a[n++]);case"%d":return Number(a[n++]);case"%j":try{return JSON.stringify(a[n++])}catch{return"[Circular]"}default:return s}}),i=a[n];n"u")return function(){return Vn.deprecate(t,e).apply(this,arguments)};var n=!1;function a(){if(!n){if(E.throwDeprecation)throw new Error(e);E.traceDeprecation?console.trace(e):console.error(e),n=!0}return t.apply(this,arguments)}return a};var ZN={},p_e=/^$/;E.env.NODE_DEBUG&&(eO=E.env.NODE_DEBUG,eO=eO.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),p_e=new RegExp("^"+eO+"$","i"));var eO;Vn.debuglog=function(t){if(t=t.toUpperCase(),!ZN[t])if(p_e.test(t)){var e=E.pid;ZN[t]=function(){var n=Vn.format.apply(Vn,arguments);console.error("%s %d: %s",t,e,n)}}else ZN[t]=function(){};return ZN[t]};function A3(t,e){var n={seen:[],stylize:QO0};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Hte(e)?n.showHidden=e:e&&Vn._extend(n,e),My(n.showHidden)&&(n.showHidden=!1),My(n.depth)&&(n.depth=2),My(n.colors)&&(n.colors=!1),My(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=KO0),nO(n,t,n.depth)}Vn.inspect=A3;A3.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};A3.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function KO0(t,e){var n=A3.styles[e];return n?"\x1B["+A3.colors[n][0]+"m"+t+"\x1B["+A3.colors[n][1]+"m":t}function QO0(t,e){return t}function VO0(t){var e={};return t.forEach(function(n,a){e[n]=!0}),e}function nO(t,e,n){if(t.customInspect&&e&&tO(e.inspect)&&e.inspect!==Vn.inspect&&!(e.constructor&&e.constructor.prototype===e)){var a=e.inspect(n,t);return fO(a)||(a=nO(t,a,n)),a}var r=YO0(t,e);if(r)return r;var f=Object.keys(e),i=VO0(f);if(t.showHidden&&(f=Object.getOwnPropertyNames(e)),AI(e)&&(f.indexOf("message")>=0||f.indexOf("description")>=0))return Nte(e);if(f.length===0){if(tO(e)){var s=e.name?": "+e.name:"";return t.stylize("[Function"+s+"]","special")}if(_I(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(aO(e))return t.stylize(Date.prototype.toString.call(e),"date");if(AI(e))return Nte(e)}var o="",c=!1,d=["{","}"];if(h_e(e)&&(c=!0,d=["[","]"]),tO(e)){var l=e.name?": "+e.name:"";o=" [Function"+l+"]"}if(_I(e)&&(o=" "+RegExp.prototype.toString.call(e)),aO(e)&&(o=" "+Date.prototype.toUTCString.call(e)),AI(e)&&(o=" "+Nte(e)),f.length===0&&(!c||e.length==0))return d[0]+o+d[1];if(n<0)return _I(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var h;return c?h=$O0(t,e,n,i,f):h=f.map(function(y){return Ute(t,e,n,i,y,c)}),t.seen.pop(),JO0(h,o,d)}function YO0(t,e){if(My(e))return t.stylize("undefined","undefined");if(fO(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(b_e(e))return t.stylize(""+e,"number");if(Hte(e))return t.stylize(""+e,"boolean");if(rO(e))return t.stylize("null","null")}function Nte(t){return"["+Error.prototype.toString.call(t)+"]"}function $O0(t,e,n,a,r){for(var f=[],i=0,s=e.length;i-1&&(f?s=s.split(` `).map(function(c){return" "+c}).join(` `).slice(2):s=` `+s.split(` `).map(function(c){return" "+c}).join(` -`))):s=t.stylize("[Circular]","special")),Ry(i)){if(f&&r.match(/^\d+$/))return s;i=JSON.stringify(""+r),i.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.slice(1,-1),i=t.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=t.stylize(i,"string"))}return i+": "+s}function JO0(t,e,n){var a=0,r=t.reduce(function(f,i){return a++,i.indexOf(` +`))):s=t.stylize("[Circular]","special")),My(i)){if(f&&r.match(/^\d+$/))return s;i=JSON.stringify(""+r),i.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.slice(1,-1),i=t.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=t.stylize(i,"string"))}return i+": "+s}function JO0(t,e,n){var a=0,r=t.reduce(function(f,i){return a++,i.indexOf(` `)>=0&&a++,f+i.replace(/\u001b\[\d\d?m/g,"").length+1},0);return r>60?n[0]+(e===""?"":e+` `)+" "+t.join(`, - `)+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}Vn.types=c_e();function h_e(t){return Array.isArray(t)}Vn.isArray=h_e;function Hte(t){return typeof t=="boolean"}Vn.isBoolean=Hte;function rO(t){return t===null}Vn.isNull=rO;function XO0(t){return t==null}Vn.isNullOrUndefined=XO0;function b_e(t){return typeof t=="number"}Vn.isNumber=b_e;function fO(t){return typeof t=="string"}Vn.isString=fO;function ZO0(t){return typeof t=="symbol"}Vn.isSymbol=ZO0;function Ry(t){return t===void 0}Vn.isUndefined=Ry;function _I(t){return _w(t)&&zte(t)==="[object RegExp]"}Vn.isRegExp=_I;Vn.types.isRegExp=_I;function _w(t){return typeof t=="object"&&t!==null}Vn.isObject=_w;function aO(t){return _w(t)&&zte(t)==="[object Date]"}Vn.isDate=aO;Vn.types.isDate=aO;function AI(t){return _w(t)&&(zte(t)==="[object Error]"||t instanceof Error)}Vn.isError=AI;Vn.types.isNativeError=AI;function tO(t){return typeof t=="function"}Vn.isFunction=tO;function eU0(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}Vn.isPrimitive=eU0;Vn.isBuffer=l_e();function zte(t){return Object.prototype.toString.call(t)}function Ote(t){return t<10?"0"+t.toString(10):t.toString(10)}var tU0=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function nU0(){var t=new Date,e=[Ote(t.getHours()),Ote(t.getMinutes()),Ote(t.getSeconds())].join(":");return[t.getDate(),tU0[t.getMonth()],e].join(" ")}Vn.log=function(){console.log("%s - %s",nU0(),Vn.format.apply(Vn,arguments))};Vn.inherits=Nt();Vn._extend=function(t,e){if(!e||!_w(e))return t;for(var n=Object.keys(e),a=n.length;a--;)t[n[a]]=e[n[a]];return t};function m_e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Sy=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Vn.promisify=function(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');if(Sy&&e[Sy]){var n=e[Sy];if(typeof n!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(n,Sy,{value:n,enumerable:!1,writable:!1,configurable:!0}),n}function n(){for(var a,r,f=new Promise(function(o,c){a=o,r=c}),i=[],s=0;s{"use strict";u();p();function y_e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function g_e(t){for(var e=1;e0?this.tail.next=a:this.head=a,this.tail=a,++this.length}},{key:"unshift",value:function(n){var a={data:n,next:this.head};this.length===0&&(this.tail=a),this.head=a,++this.length}},{key:"shift",value:function(){if(this.length!==0){var n=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,n}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(n){if(this.length===0)return"";for(var a=this.head,r=""+a.data;a=a.next;)r+=n+a.data;return r}},{key:"concat",value:function(n){if(this.length===0)return iO.alloc(0);for(var a=iO.allocUnsafe(n>>>0),r=this.head,f=0;r;)uU0(r.data,a,f),f+=r.data.length,r=r.next;return a}},{key:"consume",value:function(n,a){var r;return ni.length?i.length:n;if(s===i.length?f+=i:f+=i.slice(0,n),n-=s,n===0){s===i.length?(++r,a.next?this.head=a.next:this.head=this.tail=null):(this.head=a,a.data=i.slice(s));break}++r}return this.length-=r,f}},{key:"_getBuffer",value:function(n){var a=iO.allocUnsafe(n),r=this.head,f=1;for(r.data.copy(a),n-=r.data.length;r=r.next;){var i=r.data,s=n>i.length?i.length:n;if(i.copy(a,a.length-n,0,s),n-=s,n===0){s===i.length?(++f,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(s));break}++f}return this.length-=f,a}},{key:lU0,value:function(n,a){return Wte(this,g_e(g_e({},a),{},{depth:0,customInspect:!1}))}}]),t}()});var jte=D((NHn,__e)=>{"use strict";u();p();function pU0(t,e){var n=this,a=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return a||r?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,E.nextTick(qte,this,t)):E.nextTick(qte,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(f){!e&&f?n._writableState?n._writableState.errorEmitted?E.nextTick(sO,n):(n._writableState.errorEmitted=!0,E.nextTick(E_e,n,f)):E.nextTick(E_e,n,f):e?(E.nextTick(sO,n),e(f)):E.nextTick(sO,n)}),this)}function E_e(t,e){qte(t,e),sO(t)}function sO(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function hU0(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function qte(t,e){t.emit("error",e)}function bU0(t,e){var n=t._readableState,a=t._writableState;n&&n.autoDestroy||a&&a.autoDestroy?t.destroy(e):t.emit("error",e)}__e.exports={destroy:pU0,undestroy:hU0,errorOrDestroy:bU0}});var My=D((HHn,I_e)=>{"use strict";u();p();function mU0(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var C_e={};function E5(t,e,n){n||(n=Error);function a(f,i,s){return typeof e=="string"?e:e(f,i,s)}var r=function(f){mU0(i,f);function i(s,o,c){return f.call(this,a(s,o,c))||this}return i}(n);r.prototype.name=n.name,r.prototype.code=t,C_e[t]=r}function A_e(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map(function(a){return String(a)}),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:n===2?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}else return"of ".concat(e," ").concat(String(t))}function yU0(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function gU0(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function vU0(t,e,n){return typeof n!="number"&&(n=0),n+e.length>t.length?!1:t.indexOf(e,n)!==-1}E5("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);E5("ERR_INVALID_ARG_TYPE",function(t,e,n){var a;typeof e=="string"&&yU0(e,"not ")?(a="must not be",e=e.replace(/^not /,"")):a="must be";var r;if(gU0(t," argument"))r="The ".concat(t," ").concat(a," ").concat(A_e(e,"type"));else{var f=vU0(t,".")?"property":"argument";r='The "'.concat(t,'" ').concat(f," ").concat(a," ").concat(A_e(e,"type"))}return r+=". Received type ".concat(typeof n),r},TypeError);E5("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");E5("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"});E5("ERR_STREAM_PREMATURE_CLOSE","Premature close");E5("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"});E5("ERR_MULTIPLE_CALLBACK","Callback called multiple times");E5("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");E5("ERR_STREAM_WRITE_AFTER_END","write after end");E5("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);E5("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError);E5("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");I_e.exports.codes=C_e});var Gte=D((qHn,k_e)=>{"use strict";u();p();var wU0=My().codes.ERR_INVALID_OPT_VALUE;function TU0(t,e,n){return t.highWaterMark!=null?t.highWaterMark:e?t[n]:null}function xU0(t,e,n,a){var r=TU0(e,a,n);if(r!=null){if(!(isFinite(r)&&Math.floor(r)===r)||r<0){var f=a?n:"highWaterMark";throw new wU0(f,r)}return Math.floor(r)}return t.objectMode?16:16*1024}k_e.exports={getHighWaterMark:xU0}});var Qte=D((KHn,S_e)=>{u();p();S_e.exports=EU0;function EU0(t,e){if(Kte("noDeprecation"))return t;var n=!1;function a(){if(!n){if(Kte("throwDeprecation"))throw new Error(e);Kte("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}return a}function Kte(t){try{if(!global.localStorage)return!1}catch{return!1}var e=global.localStorage[t];return e==null?!1:String(e).toLowerCase()==="true"}});var dO=D((YHn,L_e)=>{"use strict";u();p();L_e.exports=Yf;function M_e(t){var e=this;this.next=null,this.entry=null,this.finish=function(){$U0(e,t)}}var Aw;Yf.WritableState=II;var _U0={deprecate:Qte()},B_e=pte(),cO=Kf().Buffer,AU0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function CU0(t){return cO.from(t)}function IU0(t){return cO.isBuffer(t)||t instanceof AU0}var Yte=jte(),kU0=Gte(),SU0=kU0.getHighWaterMark,C3=My().codes,RU0=C3.ERR_INVALID_ARG_TYPE,MU0=C3.ERR_METHOD_NOT_IMPLEMENTED,BU0=C3.ERR_MULTIPLE_CALLBACK,DU0=C3.ERR_STREAM_CANNOT_PIPE,PU0=C3.ERR_STREAM_DESTROYED,LU0=C3.ERR_STREAM_NULL_VALUES,FU0=C3.ERR_STREAM_WRITE_AFTER_END,NU0=C3.ERR_UNKNOWN_ENCODING,Cw=Yte.errorOrDestroy;Nt()(Yf,B_e);function OU0(){}function II(t,e,n){Aw=Aw||I3(),t=t||{},typeof n!="boolean"&&(n=e instanceof Aw),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=SU0(this,t,"writableHighWaterMark",n),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=t.decodeStrings===!1;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(r){GU0(e,r)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new M_e(this)}II.prototype.getBuffer=function(){for(var e=this.bufferedRequest,n=[];e;)n.push(e),e=e.next;return n};(function(){try{Object.defineProperty(II.prototype,"buffer",{get:_U0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var oO;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(oO=Function.prototype[Symbol.hasInstance],Object.defineProperty(Yf,Symbol.hasInstance,{value:function(e){return oO.call(this,e)?!0:this!==Yf?!1:e&&e._writableState instanceof II}})):oO=function(e){return e instanceof this};function Yf(t){Aw=Aw||I3();var e=this instanceof Aw;if(!e&&!oO.call(Yf,this))return new Yf(t);this._writableState=new II(t,this,e),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),B_e.call(this)}Yf.prototype.pipe=function(){Cw(this,new DU0)};function UU0(t,e){var n=new FU0;Cw(t,n),E.nextTick(e,n)}function HU0(t,e,n,a){var r;return n===null?r=new LU0:typeof n!="string"&&!e.objectMode&&(r=new RU0("chunk",["string","Buffer"],n)),r?(Cw(t,r),E.nextTick(a,r),!1):!0}Yf.prototype.write=function(t,e,n){var a=this._writableState,r=!1,f=!a.objectMode&&IU0(t);return f&&!cO.isBuffer(t)&&(t=CU0(t)),typeof e=="function"&&(n=e,e=null),f?e="buffer":e||(e=a.defaultEncoding),typeof n!="function"&&(n=OU0),a.ending?UU0(this,n):(f||HU0(this,a,t,n))&&(a.pendingcb++,r=WU0(this,a,f,t,e,n)),r};Yf.prototype.cork=function(){this._writableState.corked++};Yf.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&D_e(this,t))};Yf.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new NU0(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(Yf.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function zU0(t,e,n){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=cO.from(e,n)),e}Object.defineProperty(Yf.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function WU0(t,e,n,a,r,f){if(!n){var i=zU0(e,a,r);a!==i&&(n=!0,r="buffer",a=i)}var s=e.objectMode?1:a.length;e.length+=s;var o=e.length{"use strict";u();p();var JU0=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};N_e.exports=w2;var F_e=pO(),Jte=dO();Nt()(w2,F_e);for($te=JU0(Jte.prototype),lO=0;lO<$te.length;lO++)uO=$te[lO],w2.prototype[uO]||(w2.prototype[uO]=Jte.prototype[uO]);var $te,uO,lO;function w2(t){if(!(this instanceof w2))return new w2(t);F_e.call(this,t),Jte.call(this,t),this.allowHalfOpen=!0,t&&(t.readable===!1&&(this.readable=!1),t.writable===!1&&(this.writable=!1),t.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",XU0)))}Object.defineProperty(w2.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(w2.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(w2.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function XU0(){this._writableState.ended||E.nextTick(ZU0,this)}function ZU0(t){t.end()}Object.defineProperty(w2.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}})});var hO=D(U_e=>{"use strict";u();p();var Zte=En().Buffer,O_e=Zte.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function eH0(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function tH0(t){var e=eH0(t);if(typeof e!="string"&&(Zte.isEncoding===O_e||!O_e(t)))throw new Error("Unknown encoding: "+t);return e||t}U_e.StringDecoder=kI;function kI(t){this.encoding=tH0(t);var e;switch(this.encoding){case"utf16le":this.text=sH0,this.end=oH0,e=4;break;case"utf8":this.fillLast=rH0,e=4;break;case"base64":this.text=cH0,this.end=dH0,e=3;break;default:this.write=lH0,this.end=uH0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Zte.allocUnsafe(e)}kI.prototype.write=function(t){if(t.length===0)return"";var e,n;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function nH0(t,e,n){var a=e.length-1;if(a=0?(r>0&&(t.lastNeed=r-1),r):--a=0?(r>0&&(t.lastNeed=r-2),r):--a=0?(r>0&&(r===2?r=0:t.lastNeed=r-3),r):0))}function aH0(t,e,n){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function rH0(t){var e=this.lastTotal-this.lastNeed,n=aH0(this,t,e);if(n!==void 0)return n;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function fH0(t,e){var n=nH0(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var a=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,a),t.toString("utf8",e,a)}function iH0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function sH0(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var a=n.charCodeAt(n.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function oH0(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function cH0(t,e){var n=(t.length-e)%3;return n===0?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function dH0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function lH0(t){return t.toString(this.encoding)}function uH0(t){return t&&t.length?this.write(t):""}});var SI=D((rzn,W_e)=>{"use strict";u();p();var H_e=My().codes.ERR_STREAM_PREMATURE_CLOSE;function pH0(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,a=new Array(n),r=0;r{"use strict";u();p();var bO;function k3(t,e,n){return e=mH0(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mH0(t){var e=yH0(t,"string");return typeof e=="symbol"?e:String(e)}function yH0(t,e){if(typeof t!="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var a=n.call(t,e||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var gH0=SI(),S3=Symbol("lastResolve"),By=Symbol("lastReject"),RI=Symbol("error"),mO=Symbol("ended"),Dy=Symbol("lastPromise"),ene=Symbol("handlePromise"),Py=Symbol("stream");function R3(t,e){return{value:t,done:e}}function vH0(t){var e=t[S3];if(e!==null){var n=t[Py].read();n!==null&&(t[Dy]=null,t[S3]=null,t[By]=null,e(R3(n,!1)))}}function wH0(t){E.nextTick(vH0,t)}function TH0(t,e){return function(n,a){t.then(function(){if(e[mO]){n(R3(void 0,!0));return}e[ene](n,a)},a)}}var xH0=Object.getPrototypeOf(function(){}),EH0=Object.setPrototypeOf((bO={get stream(){return this[Py]},next:function(){var e=this,n=this[RI];if(n!==null)return Promise.reject(n);if(this[mO])return Promise.resolve(R3(void 0,!0));if(this[Py].destroyed)return new Promise(function(i,s){E.nextTick(function(){e[RI]?s(e[RI]):i(R3(void 0,!0))})});var a=this[Dy],r;if(a)r=new Promise(TH0(a,this));else{var f=this[Py].read();if(f!==null)return Promise.resolve(R3(f,!1));r=new Promise(this[ene])}return this[Dy]=r,r}},k3(bO,Symbol.asyncIterator,function(){return this}),k3(bO,"return",function(){var e=this;return new Promise(function(n,a){e[Py].destroy(null,function(r){if(r){a(r);return}n(R3(void 0,!0))})})}),bO),xH0),_H0=function(e){var n,a=Object.create(EH0,(n={},k3(n,Py,{value:e,writable:!0}),k3(n,S3,{value:null,writable:!0}),k3(n,By,{value:null,writable:!0}),k3(n,RI,{value:null,writable:!0}),k3(n,mO,{value:e._readableState.endEmitted,writable:!0}),k3(n,ene,{value:function(f,i){var s=a[Py].read();s?(a[Dy]=null,a[S3]=null,a[By]=null,f(R3(s,!1))):(a[S3]=f,a[By]=i)},writable:!0}),n));return a[Dy]=null,gH0(e,function(r){if(r&&r.code!=="ERR_STREAM_PREMATURE_CLOSE"){var f=a[By];f!==null&&(a[Dy]=null,a[S3]=null,a[By]=null,f(r)),a[RI]=r;return}var i=a[S3];i!==null&&(a[Dy]=null,a[S3]=null,a[By]=null,i(R3(void 0,!0))),a[mO]=!0}),e.on("readable",wH0.bind(null,a)),a};q_e.exports=_H0});var K_e=D((dzn,G_e)=>{u();p();G_e.exports=function(){throw new Error("Readable.from is not available in the browser")}});var pO=D((hzn,nAe)=>{"use strict";u();p();nAe.exports=Ea;var Iw;Ea.ReadableState=$_e;var pzn=Nr().EventEmitter,Y_e=function(e,n){return e.listeners(n).length},BI=pte(),yO=Kf().Buffer,AH0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function CH0(t){return yO.from(t)}function IH0(t){return yO.isBuffer(t)||t instanceof AH0}var tne=nl(),Un;tne&&tne.debuglog?Un=tne.debuglog("stream"):Un=function(){};var kH0=x_e(),one=jte(),SH0=Gte(),RH0=SH0.getHighWaterMark,gO=My().codes,MH0=gO.ERR_INVALID_ARG_TYPE,BH0=gO.ERR_STREAM_PUSH_AFTER_EOF,DH0=gO.ERR_METHOD_NOT_IMPLEMENTED,PH0=gO.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,kw,nne,ane;Nt()(Ea,BI);var MI=one.errorOrDestroy,rne=["error","close","destroy","pause","resume"];function LH0(t,e,n){if(typeof t.prependListener=="function")return t.prependListener(e,n);!t._events||!t._events[e]?t.on(e,n):Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]}function $_e(t,e,n){Iw=Iw||I3(),t=t||{},typeof n!="boolean"&&(n=e instanceof Iw),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=RH0(this,t,"readableHighWaterMark",n),this.buffer=new kH0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(kw||(kw=hO().StringDecoder),this.decoder=new kw(t.encoding),this.encoding=t.encoding)}function Ea(t){if(Iw=Iw||I3(),!(this instanceof Ea))return new Ea(t);var e=this instanceof Iw;this._readableState=new $_e(t,this,e),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),BI.call(this)}Object.defineProperty(Ea.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});Ea.prototype.destroy=one.destroy;Ea.prototype._undestroy=one.undestroy;Ea.prototype._destroy=function(t,e){e(t)};Ea.prototype.push=function(t,e){var n=this._readableState,a;return n.objectMode?a=!0:typeof t=="string"&&(e=e||n.defaultEncoding,e!==n.encoding&&(t=yO.from(t,e),e=""),a=!0),J_e(this,t,e,!1,a)};Ea.prototype.unshift=function(t){return J_e(this,t,null,!0,!1)};function J_e(t,e,n,a,r){Un("readableAddChunk",e);var f=t._readableState;if(e===null)f.reading=!1,OH0(t,f);else{var i;if(r||(i=FH0(f,e)),i)MI(t,i);else if(f.objectMode||e&&e.length>0)if(typeof e!="string"&&!f.objectMode&&Object.getPrototypeOf(e)!==yO.prototype&&(e=CH0(e)),a)f.endEmitted?MI(t,new PH0):fne(t,f,e,!0);else if(f.ended)MI(t,new BH0);else{if(f.destroyed)return!1;f.reading=!1,f.decoder&&!n?(e=f.decoder.write(e),f.objectMode||e.length!==0?fne(t,f,e,!1):sne(t,f)):fne(t,f,e,!1)}else a||(f.reading=!1,sne(t,f))}return!f.ended&&(f.length=Q_e?t=Q_e:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function V_e(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=NH0(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}Ea.prototype.read=function(t){Un("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return Un("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?ine(this):vO(this),null;if(t=V_e(t,e),t===0&&e.ended)return e.length===0&&ine(this),null;var a=e.needReadable;Un("need readable",a),(e.length===0||e.length-t0?r=eAe(t,e):r=null,r===null?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),e.length===0&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&ine(this)),r!==null&&this.emit("data",r),r};function OH0(t,e){if(Un("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?vO(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,X_e(t)))}}function vO(t){var e=t._readableState;Un("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(Un("emitReadable",e.flowing),e.emittedReadable=!0,E.nextTick(X_e,t))}function X_e(t){var e=t._readableState;Un("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,cne(t)}function sne(t,e){e.readingMore||(e.readingMore=!0,E.nextTick(UH0,t,e))}function UH0(t,e){for(;!e.reading&&!e.ended&&(e.length1&&tAe(a.pipes,t)!==-1)&&!c&&(Un("false write response, pause",a.awaitDrain),a.awaitDrain++),n.pause())}function h(O){Un("onerror",O),S(),t.removeListener("error",h),Y_e(t,"error")===0&&MI(t,O)}LH0(t,"error",h);function y(){t.removeListener("finish",v),S()}t.once("close",y);function v(){Un("onfinish"),t.removeListener("close",y),S()}t.once("finish",v);function S(){Un("unpipe"),n.unpipe(t)}return t.emit("pipe",n),a.flowing||(Un("pipe resume"),n.resume()),t};function HH0(t){return function(){var n=t._readableState;Un("pipeOnDrain",n.awaitDrain),n.awaitDrain&&n.awaitDrain--,n.awaitDrain===0&&Y_e(t,"data")&&(n.flowing=!0,cne(t))}}Ea.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n),this);if(!t){var a=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var f=0;f0,a.flowing!==!1&&this.resume()):t==="readable"&&!a.endEmitted&&!a.readableListening&&(a.readableListening=a.needReadable=!0,a.flowing=!1,a.emittedReadable=!1,Un("on readable",a.length,a.reading),a.length?vO(this):a.reading||E.nextTick(zH0,this)),n};Ea.prototype.addListener=Ea.prototype.on;Ea.prototype.removeListener=function(t,e){var n=BI.prototype.removeListener.call(this,t,e);return t==="readable"&&E.nextTick(Z_e,this),n};Ea.prototype.removeAllListeners=function(t){var e=BI.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&E.nextTick(Z_e,this),e};function Z_e(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function zH0(t){Un("readable nexttick read 0"),t.read(0)}Ea.prototype.resume=function(){var t=this._readableState;return t.flowing||(Un("resume"),t.flowing=!t.readableListening,WH0(this,t)),t.paused=!1,this};function WH0(t,e){e.resumeScheduled||(e.resumeScheduled=!0,E.nextTick(qH0,t,e))}function qH0(t,e){Un("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),cne(t),e.flowing&&!e.reading&&t.read(0)}Ea.prototype.pause=function(){return Un("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(Un("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function cne(t){var e=t._readableState;for(Un("flow",e.flowing);e.flowing&&t.read()!==null;);}Ea.prototype.wrap=function(t){var e=this,n=this._readableState,a=!1;t.on("end",function(){if(Un("wrapped end"),n.decoder&&!n.ended){var i=n.decoder.end();i&&i.length&&e.push(i)}e.push(null)}),t.on("data",function(i){if(Un("wrapped data"),n.decoder&&(i=n.decoder.write(i)),!(n.objectMode&&i==null)&&!(!n.objectMode&&(!i||!i.length))){var s=e.push(i);s||(a=!0,t.pause())}});for(var r in t)this[r]===void 0&&typeof t[r]=="function"&&(this[r]=function(s){return function(){return t[s].apply(t,arguments)}}(r));for(var f=0;f=e.length?(e.decoder?n=e.buffer.join(""):e.buffer.length===1?n=e.buffer.first():n=e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n}function ine(t){var e=t._readableState;Un("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,E.nextTick(jH0,e,t))}function jH0(t,e){if(Un("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}typeof Symbol=="function"&&(Ea.from=function(t,e){return ane===void 0&&(ane=K_e()),ane(Ea,t,e)});function tAe(t,e){for(var n=0,a=t.length;n{"use strict";u();p();rAe.exports=i8;var wO=My().codes,GH0=wO.ERR_METHOD_NOT_IMPLEMENTED,KH0=wO.ERR_MULTIPLE_CALLBACK,QH0=wO.ERR_TRANSFORM_ALREADY_TRANSFORMING,VH0=wO.ERR_TRANSFORM_WITH_LENGTH_0,TO=I3();Nt()(i8,TO);function YH0(t,e){var n=this._transformState;n.transforming=!1;var a=n.writecb;if(a===null)return this.emit("error",new KH0);n.writechunk=null,n.writecb=null,e!=null&&this.push(e),a(t);var r=this._readableState;r.reading=!1,(r.needReadable||r.length{"use strict";u();p();iAe.exports=DI;var fAe=xO();Nt()(DI,fAe);function DI(t){if(!(this instanceof DI))return new DI(t);fAe.call(this,t)}DI.prototype._transform=function(t,e,n){n(null,t)}});var une=D((Ezn,dAe)=>{"use strict";u();p();var lne;function JH0(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var cAe=My().codes,XH0=cAe.ERR_MISSING_ARGS,ZH0=cAe.ERR_STREAM_DESTROYED;function sAe(t){if(t)throw t}function ez0(t){return t.setHeader&&typeof t.abort=="function"}function tz0(t,e,n,a){a=JH0(a);var r=!1;t.on("close",function(){r=!0}),lne===void 0&&(lne=SI()),lne(t,{readable:e,writable:n},function(i){if(i)return a(i);r=!0,a()});var f=!1;return function(i){if(!r&&!f){if(f=!0,ez0(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();a(i||new ZH0("pipe"))}}}function oAe(t){t()}function nz0(t,e){return t.pipe(e)}function az0(t){return!t.length||typeof t[t.length-1]!="function"?sAe:t.pop()}function rz0(){for(var t=arguments.length,e=new Array(t),n=0;n0;return tz0(i,o,c,function(d){r||(r=d),d&&f.forEach(oAe),!o&&(f.forEach(oAe),a(r))})});return e.reduce(nz0)}dAe.exports=rz0});var EO=D((_5,lAe)=>{u();p();_5=lAe.exports=pO();_5.Stream=_5;_5.Readable=_5;_5.Writable=dO();_5.Duplex=I3();_5.Transform=xO();_5.PassThrough=dne();_5.finished=SI();_5.pipeline=une()});var pne=D((kzn,pAe)=>{"use strict";u();p();var _O=En().Buffer,uAe=EO().Transform,fz0=Nt();function iz0(t,e){if(!_O.isBuffer(t)&&typeof t!="string")throw new TypeError(e+" must be a string or a buffer")}function M3(t){uAe.call(this),this._block=_O.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}fz0(M3,uAe);M3.prototype._transform=function(t,e,n){var a=null;try{this.update(t,e)}catch(r){a=r}n(a)};M3.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(n){e=n}t(e)};M3.prototype.update=function(t,e){if(iz0(t,"Data"),this._finalized)throw new Error("Digest already called");_O.isBuffer(t)||(t=_O.from(t,e));for(var n=this._block,a=0;this._blockOffset+t.length-a>=this._blockSize;){for(var r=this._blockOffset;r0;++f)this._length[f]+=i,i=this._length[f]/4294967296|0,i>0&&(this._length[f]-=4294967296*i);return this};M3.prototype._update=function(){throw new Error("_update is not implemented")};M3.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();t!==void 0&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return e};M3.prototype._digest=function(){throw new Error("_digest is not implemented")};pAe.exports=M3});var IO=D((Mzn,bAe)=>{"use strict";u();p();var sz0=Nt(),hAe=pne(),oz0=En().Buffer,cz0=new Array(16);function AO(){hAe.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}sz0(AO,hAe);AO.prototype._update=function(){for(var t=cz0,e=0;e<16;++e)t[e]=this._block.readInt32LE(e*4);var n=this._a,a=this._b,r=this._c,f=this._d;n=Po(n,a,r,f,t[0],3614090360,7),f=Po(f,n,a,r,t[1],3905402710,12),r=Po(r,f,n,a,t[2],606105819,17),a=Po(a,r,f,n,t[3],3250441966,22),n=Po(n,a,r,f,t[4],4118548399,7),f=Po(f,n,a,r,t[5],1200080426,12),r=Po(r,f,n,a,t[6],2821735955,17),a=Po(a,r,f,n,t[7],4249261313,22),n=Po(n,a,r,f,t[8],1770035416,7),f=Po(f,n,a,r,t[9],2336552879,12),r=Po(r,f,n,a,t[10],4294925233,17),a=Po(a,r,f,n,t[11],2304563134,22),n=Po(n,a,r,f,t[12],1804603682,7),f=Po(f,n,a,r,t[13],4254626195,12),r=Po(r,f,n,a,t[14],2792965006,17),a=Po(a,r,f,n,t[15],1236535329,22),n=Lo(n,a,r,f,t[1],4129170786,5),f=Lo(f,n,a,r,t[6],3225465664,9),r=Lo(r,f,n,a,t[11],643717713,14),a=Lo(a,r,f,n,t[0],3921069994,20),n=Lo(n,a,r,f,t[5],3593408605,5),f=Lo(f,n,a,r,t[10],38016083,9),r=Lo(r,f,n,a,t[15],3634488961,14),a=Lo(a,r,f,n,t[4],3889429448,20),n=Lo(n,a,r,f,t[9],568446438,5),f=Lo(f,n,a,r,t[14],3275163606,9),r=Lo(r,f,n,a,t[3],4107603335,14),a=Lo(a,r,f,n,t[8],1163531501,20),n=Lo(n,a,r,f,t[13],2850285829,5),f=Lo(f,n,a,r,t[2],4243563512,9),r=Lo(r,f,n,a,t[7],1735328473,14),a=Lo(a,r,f,n,t[12],2368359562,20),n=Fo(n,a,r,f,t[5],4294588738,4),f=Fo(f,n,a,r,t[8],2272392833,11),r=Fo(r,f,n,a,t[11],1839030562,16),a=Fo(a,r,f,n,t[14],4259657740,23),n=Fo(n,a,r,f,t[1],2763975236,4),f=Fo(f,n,a,r,t[4],1272893353,11),r=Fo(r,f,n,a,t[7],4139469664,16),a=Fo(a,r,f,n,t[10],3200236656,23),n=Fo(n,a,r,f,t[13],681279174,4),f=Fo(f,n,a,r,t[0],3936430074,11),r=Fo(r,f,n,a,t[3],3572445317,16),a=Fo(a,r,f,n,t[6],76029189,23),n=Fo(n,a,r,f,t[9],3654602809,4),f=Fo(f,n,a,r,t[12],3873151461,11),r=Fo(r,f,n,a,t[15],530742520,16),a=Fo(a,r,f,n,t[2],3299628645,23),n=No(n,a,r,f,t[0],4096336452,6),f=No(f,n,a,r,t[7],1126891415,10),r=No(r,f,n,a,t[14],2878612391,15),a=No(a,r,f,n,t[5],4237533241,21),n=No(n,a,r,f,t[12],1700485571,6),f=No(f,n,a,r,t[3],2399980690,10),r=No(r,f,n,a,t[10],4293915773,15),a=No(a,r,f,n,t[1],2240044497,21),n=No(n,a,r,f,t[8],1873313359,6),f=No(f,n,a,r,t[15],4264355552,10),r=No(r,f,n,a,t[6],2734768916,15),a=No(a,r,f,n,t[13],1309151649,21),n=No(n,a,r,f,t[4],4149444226,6),f=No(f,n,a,r,t[11],3174756917,10),r=No(r,f,n,a,t[2],718787259,15),a=No(a,r,f,n,t[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+a|0,this._c=this._c+r|0,this._d=this._d+f|0};AO.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=oz0.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t};function CO(t,e){return t<>>32-e}function Po(t,e,n,a,r,f,i){return CO(t+(e&n|~e&a)+r+f|0,i)+e|0}function Lo(t,e,n,a,r,f,i){return CO(t+(e&a|n&~a)+r+f|0,i)+e|0}function Fo(t,e,n,a,r,f,i){return CO(t+(e^n^a)+r+f|0,i)+e|0}function No(t,e,n,a,r,f,i){return CO(t+(n^(e|~a))+r+f|0,i)+e|0}bAe.exports=AO});var SO=D((Pzn,xAe)=>{"use strict";u();p();var hne=Kf().Buffer,dz0=Nt(),TAe=pne(),lz0=new Array(16),PI=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],LI=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],FI=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],NI=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],OI=[0,1518500249,1859775393,2400959708,2840853838],UI=[1352829926,1548603684,1836072691,2053994217,0];function kO(){TAe.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}dz0(kO,TAe);kO.prototype._update=function(){for(var t=lz0,e=0;e<16;++e)t[e]=this._block.readInt32LE(e*4);for(var n=this._a|0,a=this._b|0,r=this._c|0,f=this._d|0,i=this._e|0,s=this._a|0,o=this._b|0,c=this._c|0,d=this._d|0,l=this._e|0,h=0;h<80;h+=1){var y,v;h<16?(y=mAe(n,a,r,f,i,t[PI[h]],OI[0],FI[h]),v=wAe(s,o,c,d,l,t[LI[h]],UI[0],NI[h])):h<32?(y=yAe(n,a,r,f,i,t[PI[h]],OI[1],FI[h]),v=vAe(s,o,c,d,l,t[LI[h]],UI[1],NI[h])):h<48?(y=gAe(n,a,r,f,i,t[PI[h]],OI[2],FI[h]),v=gAe(s,o,c,d,l,t[LI[h]],UI[2],NI[h])):h<64?(y=vAe(n,a,r,f,i,t[PI[h]],OI[3],FI[h]),v=yAe(s,o,c,d,l,t[LI[h]],UI[3],NI[h])):(y=wAe(n,a,r,f,i,t[PI[h]],OI[4],FI[h]),v=mAe(s,o,c,d,l,t[LI[h]],UI[4],NI[h])),n=i,i=f,f=Ly(r,10),r=a,a=y,s=l,l=d,d=Ly(c,10),c=o,o=v}var S=this._b+r+d|0;this._b=this._c+f+l|0,this._c=this._d+i+s|0,this._d=this._e+n+o|0,this._e=this._a+a+c|0,this._a=S};kO.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=hne.alloc?hne.alloc(20):new hne(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t};function Ly(t,e){return t<>>32-e}function mAe(t,e,n,a,r,f,i,s){return Ly(t+(e^n^a)+f+i|0,s)+r|0}function yAe(t,e,n,a,r,f,i,s){return Ly(t+(e&n|~e&a)+f+i|0,s)+r|0}function gAe(t,e,n,a,r,f,i,s){return Ly(t+((e|~n)^a)+f+i|0,s)+r|0}function vAe(t,e,n,a,r,f,i,s){return Ly(t+(e&a|n&~a)+f+i|0,s)+r|0}function wAe(t,e,n,a,r,f,i,s){return Ly(t+(e^(n|~a))+f+i|0,s)+r|0}xAe.exports=kO});var Fy=D((Nzn,_Ae)=>{u();p();var EAe=En().Buffer;function RO(t,e){this._block=EAe.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}RO.prototype.update=function(t,e){typeof t=="string"&&(e=e||"utf8",t=EAe.from(t,e));for(var n=this._block,a=this._blockSize,r=t.length,f=this._len,i=0;i=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=this._len*8;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var a=(n&4294967295)>>>0,r=(n-a)/4294967296;this._block.writeUInt32BE(r,this._blockSize-8),this._block.writeUInt32BE(a,this._blockSize-4)}this._update(this._block);var f=this._hash();return t?f.toString(t):f};RO.prototype._update=function(){throw new Error("_update must be implemented by subclass")};_Ae.exports=RO});var IAe=D((Hzn,CAe)=>{u();p();var uz0=Nt(),AAe=Fy(),pz0=En().Buffer,hz0=[1518500249,1859775393,-1894007588,-899497514],bz0=new Array(80);function HI(){this.init(),this._w=bz0,AAe.call(this,64,56)}uz0(HI,AAe);HI.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function mz0(t){return t<<5|t>>>27}function yz0(t){return t<<30|t>>>2}function gz0(t,e,n,a){return t===0?e&n|~e&a:t===2?e&n|e&a|n&a:e^n^a}HI.prototype._update=function(t){for(var e=this._w,n=this._a|0,a=this._b|0,r=this._c|0,f=this._d|0,i=this._e|0,s=0;s<16;++s)e[s]=t.readInt32BE(s*4);for(;s<80;++s)e[s]=e[s-3]^e[s-8]^e[s-14]^e[s-16];for(var o=0;o<80;++o){var c=~~(o/20),d=mz0(n)+gz0(c,a,r,f)+i+e[o]+hz0[c]|0;i=f,f=r,r=yz0(a),a=n,n=d}this._a=n+this._a|0,this._b=a+this._b|0,this._c=r+this._c|0,this._d=f+this._d|0,this._e=i+this._e|0};HI.prototype._hash=function(){var t=pz0.allocUnsafe(20);return t.writeInt32BE(this._a|0,0),t.writeInt32BE(this._b|0,4),t.writeInt32BE(this._c|0,8),t.writeInt32BE(this._d|0,12),t.writeInt32BE(this._e|0,16),t};CAe.exports=HI});var RAe=D((qzn,SAe)=>{u();p();var vz0=Nt(),kAe=Fy(),wz0=En().Buffer,Tz0=[1518500249,1859775393,-1894007588,-899497514],xz0=new Array(80);function zI(){this.init(),this._w=xz0,kAe.call(this,64,56)}vz0(zI,kAe);zI.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function Ez0(t){return t<<1|t>>>31}function _z0(t){return t<<5|t>>>27}function Az0(t){return t<<30|t>>>2}function Cz0(t,e,n,a){return t===0?e&n|~e&a:t===2?e&n|e&a|n&a:e^n^a}zI.prototype._update=function(t){for(var e=this._w,n=this._a|0,a=this._b|0,r=this._c|0,f=this._d|0,i=this._e|0,s=0;s<16;++s)e[s]=t.readInt32BE(s*4);for(;s<80;++s)e[s]=Ez0(e[s-3]^e[s-8]^e[s-14]^e[s-16]);for(var o=0;o<80;++o){var c=~~(o/20),d=_z0(n)+Cz0(c,a,r,f)+i+e[o]+Tz0[c]|0;i=f,f=r,r=Az0(a),a=n,n=d}this._a=n+this._a|0,this._b=a+this._b|0,this._c=r+this._c|0,this._d=f+this._d|0,this._e=i+this._e|0};zI.prototype._hash=function(){var t=wz0.allocUnsafe(20);return t.writeInt32BE(this._a|0,0),t.writeInt32BE(this._b|0,4),t.writeInt32BE(this._c|0,8),t.writeInt32BE(this._d|0,12),t.writeInt32BE(this._e|0,16),t};SAe.exports=zI});var bne=D((Kzn,BAe)=>{u();p();var Iz0=Nt(),MAe=Fy(),kz0=En().Buffer,Sz0=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],Rz0=new Array(64);function WI(){this.init(),this._w=Rz0,MAe.call(this,64,56)}Iz0(WI,MAe);WI.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function Mz0(t,e,n){return n^t&(e^n)}function Bz0(t,e,n){return t&e|n&(t|e)}function Dz0(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function Pz0(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function Lz0(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function Fz0(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}WI.prototype._update=function(t){for(var e=this._w,n=this._a|0,a=this._b|0,r=this._c|0,f=this._d|0,i=this._e|0,s=this._f|0,o=this._g|0,c=this._h|0,d=0;d<16;++d)e[d]=t.readInt32BE(d*4);for(;d<64;++d)e[d]=Fz0(e[d-2])+e[d-7]+Lz0(e[d-15])+e[d-16]|0;for(var l=0;l<64;++l){var h=c+Pz0(i)+Mz0(i,s,o)+Sz0[l]+e[l]|0,y=Dz0(n)+Bz0(n,a,r)|0;c=o,o=s,s=i,i=f+h|0,f=r,r=a,a=n,n=h+y|0}this._a=n+this._a|0,this._b=a+this._b|0,this._c=r+this._c|0,this._d=f+this._d|0,this._e=i+this._e|0,this._f=s+this._f|0,this._g=o+this._g|0,this._h=c+this._h|0};WI.prototype._hash=function(){var t=kz0.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t};BAe.exports=WI});var PAe=D((Yzn,DAe)=>{u();p();var Nz0=Nt(),Oz0=bne(),Uz0=Fy(),Hz0=En().Buffer,zz0=new Array(64);function MO(){this.init(),this._w=zz0,Uz0.call(this,64,56)}Nz0(MO,Oz0);MO.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this};MO.prototype._hash=function(){var t=Hz0.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t};DAe.exports=MO});var mne=D((Xzn,zAe)=>{u();p();var Wz0=Nt(),HAe=Fy(),qz0=En().Buffer,LAe=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],jz0=new Array(160);function qI(){this.init(),this._w=jz0,HAe.call(this,128,112)}Wz0(qI,HAe);qI.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function FAe(t,e,n){return n^t&(e^n)}function NAe(t,e,n){return t&e|n&(t|e)}function OAe(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function UAe(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function Gz0(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function Kz0(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function Qz0(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function Vz0(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function bs(t,e){return t>>>0>>0?1:0}qI.prototype._update=function(t){for(var e=this._w,n=this._ah|0,a=this._bh|0,r=this._ch|0,f=this._dh|0,i=this._eh|0,s=this._fh|0,o=this._gh|0,c=this._hh|0,d=this._al|0,l=this._bl|0,h=this._cl|0,y=this._dl|0,v=this._el|0,S=this._fl|0,O=this._gl|0,F=this._hl|0,z=0;z<32;z+=2)e[z]=t.readInt32BE(z*4),e[z+1]=t.readInt32BE(z*4+4);for(;z<160;z+=2){var W=e[z-30],j=e[z-15*2+1],Q=Gz0(W,j),V=Kz0(j,W);W=e[z-2*2],j=e[z-2*2+1];var X=Qz0(W,j),K=Vz0(j,W),G=e[z-7*2],R=e[z-7*2+1],T=e[z-16*2],N=e[z-16*2+1],w=V+R|0,m=Q+G+bs(w,V)|0;w=w+K|0,m=m+X+bs(w,K)|0,w=w+N|0,m=m+T+bs(w,N)|0,e[z]=m,e[z+1]=w}for(var A=0;A<160;A+=2){m=e[A],w=e[A+1];var P=NAe(n,a,r),L=NAe(d,l,h),x=OAe(n,d),g=OAe(d,n),B=UAe(i,v),M=UAe(v,i),k=LAe[A],q=LAe[A+1],ee=FAe(i,s,o),U=FAe(v,S,O),J=F+M|0,Z=c+B+bs(J,F)|0;J=J+U|0,Z=Z+ee+bs(J,U)|0,J=J+q|0,Z=Z+k+bs(J,q)|0,J=J+w|0,Z=Z+m+bs(J,w)|0;var ne=g+L|0,ue=x+P+bs(ne,g)|0;c=o,F=O,o=s,O=S,s=i,S=v,v=y+J|0,i=f+Z+bs(v,y)|0,f=r,y=h,r=a,h=l,a=n,l=d,d=J+ne|0,n=Z+ue+bs(d,J)|0}this._al=this._al+d|0,this._bl=this._bl+l|0,this._cl=this._cl+h|0,this._dl=this._dl+y|0,this._el=this._el+v|0,this._fl=this._fl+S|0,this._gl=this._gl+O|0,this._hl=this._hl+F|0,this._ah=this._ah+n+bs(this._al,d)|0,this._bh=this._bh+a+bs(this._bl,l)|0,this._ch=this._ch+r+bs(this._cl,h)|0,this._dh=this._dh+f+bs(this._dl,y)|0,this._eh=this._eh+i+bs(this._el,v)|0,this._fh=this._fh+s+bs(this._fl,S)|0,this._gh=this._gh+o+bs(this._gl,O)|0,this._hh=this._hh+c+bs(this._hl,F)|0};qI.prototype._hash=function(){var t=qz0.allocUnsafe(64);function e(n,a,r){t.writeInt32BE(n,r),t.writeInt32BE(a,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t};zAe.exports=qI});var qAe=D((tWn,WAe)=>{u();p();var Yz0=Nt(),$z0=mne(),Jz0=Fy(),Xz0=En().Buffer,Zz0=new Array(160);function BO(){this.init(),this._w=Zz0,Jz0.call(this,128,112)}Yz0(BO,$z0);BO.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this};BO.prototype._hash=function(){var t=Xz0.allocUnsafe(48);function e(n,a,r){t.writeInt32BE(n,r),t.writeInt32BE(a,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t};WAe.exports=BO});var jI=D((s8,jAe)=>{u();p();var s8=jAe.exports=function(e){e=e.toLowerCase();var n=s8[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n};s8.sha=IAe();s8.sha1=RAe();s8.sha224=PAe();s8.sha256=bne();s8.sha384=qAe();s8.sha512=mne()});var KAe=D((iWn,GAe)=>{u();p();GAe.exports=A5;var yne=Nr().EventEmitter,eW0=Nt();eW0(A5,yne);A5.Readable=pO();A5.Writable=dO();A5.Duplex=I3();A5.Transform=xO();A5.PassThrough=dne();A5.finished=SI();A5.pipeline=une();A5.Stream=A5;function A5(){yne.call(this)}A5.prototype.pipe=function(t,e){var n=this;function a(d){t.writable&&t.write(d)===!1&&n.pause&&n.pause()}n.on("data",a);function r(){n.readable&&n.resume&&n.resume()}t.on("drain",r),!t._isStdio&&(!e||e.end!==!1)&&(n.on("end",i),n.on("close",s));var f=!1;function i(){f||(f=!0,t.end())}function s(){f||(f=!0,typeof t.destroy=="function"&&t.destroy())}function o(d){if(c(),yne.listenerCount(this,"error")===0)throw d}n.on("error",o),t.on("error",o);function c(){n.removeListener("data",a),t.removeListener("drain",r),n.removeListener("end",i),n.removeListener("close",s),n.removeListener("error",o),t.removeListener("error",o),n.removeListener("end",c),n.removeListener("close",c),t.removeListener("close",c)}return n.on("end",c),n.on("close",c),t.on("close",c),t.emit("pipe",n),t}});var o8=D((cWn,YAe)=>{u();p();var QAe=En().Buffer,VAe=KAe().Transform,tW0=hO().StringDecoder,nW0=Nt();function al(t){VAe.call(this),this.hashMode=typeof t=="string",this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}nW0(al,VAe);al.prototype.update=function(t,e,n){typeof t=="string"&&(t=QAe.from(t,e));var a=this._update(t);return this.hashMode?this:(n&&(a=this._toString(a,n)),a)};al.prototype.setAutoPadding=function(){};al.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")};al.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")};al.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")};al.prototype._transform=function(t,e,n){var a;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(r){a=r}finally{n(a)}};al.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(n){e=n}t(e)};al.prototype._finalOrDigest=function(t){var e=this.__final()||QAe.alloc(0);return t&&(e=this._toString(e,t,!0)),e};al.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new tW0(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var a=this._decoder.write(t);return n&&(a+=this._decoder.end()),a};YAe.exports=al});var Ny=D((uWn,JAe)=>{"use strict";u();p();var aW0=Nt(),rW0=IO(),fW0=SO(),iW0=jI(),$Ae=o8();function DO(t){$Ae.call(this,"digest"),this._hash=t}aW0(DO,$Ae);DO.prototype._update=function(t){this._hash.update(t)};DO.prototype._final=function(){return this._hash.digest()};JAe.exports=function(e){return e=e.toLowerCase(),e==="md5"?new rW0:e==="rmd160"||e==="ripemd160"?new fW0:new DO(iW0(e))}});var eCe=D((bWn,ZAe)=>{"use strict";u();p();var sW0=Nt(),Oy=En().Buffer,XAe=o8(),oW0=Oy.alloc(128),Sw=64;function PO(t,e){XAe.call(this,"digest"),typeof e=="string"&&(e=Oy.from(e)),this._alg=t,this._key=e,e.length>Sw?e=t(e):e.length{u();p();var cW0=IO();tCe.exports=function(t){return new cW0().update(t).digest()}});var Tne=D((TWn,aCe)=>{"use strict";u();p();var dW0=Nt(),lW0=eCe(),nCe=o8(),GI=En().Buffer,uW0=gne(),vne=SO(),wne=jI(),pW0=GI.alloc(128);function KI(t,e){nCe.call(this,"digest"),typeof e=="string"&&(e=GI.from(e));var n=t==="sha512"||t==="sha384"?128:64;if(this._alg=t,this._key=e,e.length>n){var a=t==="rmd160"?new vne:wne(t);e=a.update(e).digest()}else e.length{hW0.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}});var fCe=D((AWn,rCe)=>{"use strict";u();p();rCe.exports=xne()});var Ene=D((kWn,iCe)=>{u();p();var bW0=Math.pow(2,30)-1;iCe.exports=function(t,e){if(typeof t!="number")throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if(typeof e!="number")throw new TypeError("Key length not a number");if(e<0||e>bW0||e!==e)throw new TypeError("Bad key length")}});var _ne=D((MWn,oCe)=>{u();p();var LO;global.process&&global.process.browser?LO="utf-8":global.process&&global.process.version?(sCe=parseInt(E.version.split(".")[0].slice(1),10),LO=sCe>=6?"utf-8":"binary"):LO="utf-8";var sCe;oCe.exports=LO});var Cne=D((PWn,cCe)=>{u();p();var Ane=En().Buffer;cCe.exports=function(t,e,n){if(Ane.isBuffer(t))return t;if(typeof t=="string")return Ane.from(t,e);if(ArrayBuffer.isView(t))return Ane.from(t.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}});var Ine=D((NWn,pCe)=>{u();p();var mW0=gne(),yW0=SO(),gW0=jI(),Uy=En().Buffer,vW0=Ene(),dCe=_ne(),lCe=Cne(),wW0=Uy.alloc(128),FO={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function uCe(t,e,n){var a=TW0(t),r=t==="sha512"||t==="sha384"?128:64;e.length>r?e=a(e):e.length{u();p();var yCe=En().Buffer,EW0=Ene(),hCe=_ne(),bCe=Ine(),mCe=Cne(),NO,QI=global.crypto&&global.crypto.subtle,_W0={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},kne=[];function AW0(t){if(global.process&&!global.process.browser||!QI||!QI.importKey||!QI.deriveBits)return Promise.resolve(!1);if(kne[t]!==void 0)return kne[t];NO=NO||yCe.alloc(8);var e=gCe(NO,NO,10,128,t).then(function(){return!0}).catch(function(){return!1});return kne[t]=e,e}var Hy;function Sne(){return Hy||(global.process&&global.process.nextTick?Hy=global.process.nextTick:global.queueMicrotask?Hy=global.queueMicrotask:global.setImmediate?Hy=global.setImmediate:Hy=global.setTimeout,Hy)}function gCe(t,e,n,a,r){return QI.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then(function(f){return QI.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:r}},f,a<<3)}).then(function(f){return yCe.from(f)})}function CW0(t,e){t.then(function(n){Sne()(function(){e(null,n)})},function(n){Sne()(function(){e(n)})})}vCe.exports=function(t,e,n,a,r,f){typeof r=="function"&&(f=r,r=void 0),r=r||"sha1";var i=_W0[r.toLowerCase()];if(!i||typeof global.Promise!="function"){Sne()(function(){var s;try{s=bCe(t,e,n,a,r)}catch(o){return f(o)}f(null,s)});return}if(EW0(n,a),t=mCe(t,hCe,"Password"),e=mCe(e,hCe,"Salt"),typeof f!="function")throw new Error("No callback provided to pbkdf2");CW0(AW0(i).then(function(s){return s?gCe(t,e,n,a,i):bCe(t,e,n,a,r)}),f)}});var Mne=D(Rne=>{u();p();Rne.pbkdf2=wCe();Rne.pbkdf2Sync=Ine()});var Bne=D(C5=>{"use strict";u();p();C5.readUInt32BE=function(e,n){var a=e[0+n]<<24|e[1+n]<<16|e[2+n]<<8|e[3+n];return a>>>0};C5.writeUInt32BE=function(e,n,a){e[0+a]=n>>>24,e[1+a]=n>>>16&255,e[2+a]=n>>>8&255,e[3+a]=n&255};C5.ip=function(e,n,a,r){for(var f=0,i=0,s=6;s>=0;s-=2){for(var o=0;o<=24;o+=8)f<<=1,f|=n>>>o+s&1;for(var o=0;o<=24;o+=8)f<<=1,f|=e>>>o+s&1}for(var s=6;s>=0;s-=2){for(var o=1;o<=25;o+=8)i<<=1,i|=n>>>o+s&1;for(var o=1;o<=25;o+=8)i<<=1,i|=e>>>o+s&1}a[r+0]=f>>>0,a[r+1]=i>>>0};C5.rip=function(e,n,a,r){for(var f=0,i=0,s=0;s<4;s++)for(var o=24;o>=0;o-=8)f<<=1,f|=n>>>o+s&1,f<<=1,f|=e>>>o+s&1;for(var s=4;s<8;s++)for(var o=24;o>=0;o-=8)i<<=1,i|=n>>>o+s&1,i<<=1,i|=e>>>o+s&1;a[r+0]=f>>>0,a[r+1]=i>>>0};C5.pc1=function(e,n,a,r){for(var f=0,i=0,s=7;s>=5;s--){for(var o=0;o<=24;o+=8)f<<=1,f|=n>>o+s&1;for(var o=0;o<=24;o+=8)f<<=1,f|=e>>o+s&1}for(var o=0;o<=24;o+=8)f<<=1,f|=n>>o+s&1;for(var s=1;s<=3;s++){for(var o=0;o<=24;o+=8)i<<=1,i|=n>>o+s&1;for(var o=0;o<=24;o+=8)i<<=1,i|=e>>o+s&1}for(var o=0;o<=24;o+=8)i<<=1,i|=e>>o+s&1;a[r+0]=f>>>0,a[r+1]=i>>>0};C5.r28shl=function(e,n){return e<>>28-n};var OO=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];C5.pc2=function(e,n,a,r){for(var f=0,i=0,s=OO.length>>>1,o=0;o>>OO[o]&1;for(var o=s;o>>OO[o]&1;a[r+0]=f>>>0,a[r+1]=i>>>0};C5.expand=function(e,n,a){var r=0,f=0;r=(e&1)<<5|e>>>27;for(var i=23;i>=15;i-=4)r<<=6,r|=e>>>i&63;for(var i=11;i>=3;i-=4)f|=e>>>i&63,f<<=6;f|=(e&31)<<1|e>>>31,n[a+0]=r>>>0,n[a+1]=f>>>0};var TCe=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];C5.substitute=function(e,n){for(var a=0,r=0;r<4;r++){var f=e>>>18-r*6&63,i=TCe[r*64+f];a<<=4,a|=i}for(var r=0;r<4;r++){var f=n>>>18-r*6&63,i=TCe[4*64+r*64+f];a<<=4,a|=i}return a>>>0};var xCe=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];C5.permute=function(e){for(var n=0,a=0;a>>xCe[a]&1;return n>>>0};C5.padSplit=function(e,n,a){for(var r=e.toString(2);r.length{"use strict";u();p();var IW0=kc();function I5(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=t.padding!==!1}ECe.exports=I5;I5.prototype._init=function(){};I5.prototype.update=function(e){return e.length===0?[]:this.type==="decrypt"?this._updateDecrypt(e):this._updateEncrypt(e)};I5.prototype._buffer=function(e,n){for(var a=Math.min(this.buffer.length-this.bufferOff,e.length-n),r=0;r0;r--)n+=this._buffer(e,n),a+=this._flushBuffer(f,a);return n+=this._buffer(e,n),f};I5.prototype.final=function(e){var n;e&&(n=this.update(e));var a;return this.type==="encrypt"?a=this._finalEncrypt():a=this._finalDecrypt(),n?n.concat(a):a};I5.prototype._pad=function(e,n){if(n===0)return!1;for(;n{"use strict";u();p();var _Ce=kc(),kW0=Nt(),Yi=Bne(),ACe=UO();function SW0(){this.tmp=new Array(2),this.keys=null}function T2(t){ACe.call(this,t);var e=new SW0;this._desState=e,this.deriveKeys(e,t.key)}kW0(T2,ACe);CCe.exports=T2;T2.create=function(e){return new T2(e)};var RW0=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];T2.prototype.deriveKeys=function(e,n){e.keys=new Array(16*2),_Ce.equal(n.length,this.blockSize,"Invalid key length");var a=Yi.readUInt32BE(n,0),r=Yi.readUInt32BE(n,4);Yi.pc1(a,r,e.tmp,0),a=e.tmp[0],r=e.tmp[1];for(var f=0;f>>1];a=Yi.r28shl(a,i),r=Yi.r28shl(r,i),Yi.pc2(a,r,e.keys,f)}};T2.prototype._update=function(e,n,a,r){var f=this._desState,i=Yi.readUInt32BE(e,n),s=Yi.readUInt32BE(e,n+4);Yi.ip(i,s,f.tmp,0),i=f.tmp[0],s=f.tmp[1],this.type==="encrypt"?this._encrypt(f,i,s,f.tmp,0):this._decrypt(f,i,s,f.tmp,0),i=f.tmp[0],s=f.tmp[1],Yi.writeUInt32BE(a,i,r),Yi.writeUInt32BE(a,s,r+4)};T2.prototype._pad=function(e,n){if(this.padding===!1)return!1;for(var a=e.length-n,r=n;r>>0,i=y}Yi.rip(s,i,r,f)};T2.prototype._decrypt=function(e,n,a,r,f){for(var i=a,s=n,o=e.keys.length-2;o>=0;o-=2){var c=e.keys[o],d=e.keys[o+1];Yi.expand(i,e.tmp,0),c^=e.tmp[0],d^=e.tmp[1];var l=Yi.substitute(c,d),h=Yi.permute(l),y=i;i=(s^h)>>>0,s=y}Yi.rip(i,s,r,f)}});var kCe=D(ICe=>{"use strict";u();p();var MW0=kc(),BW0=Nt(),HO={};function DW0(t){MW0.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e{"use strict";u();p();var LW0=kc(),FW0=Nt(),SCe=UO(),B3=Dne();function NW0(t,e){LW0.equal(e.length,24,"Invalid key length");var n=e.slice(0,8),a=e.slice(8,16),r=e.slice(16,24);t==="encrypt"?this.ciphers=[B3.create({type:"encrypt",key:n}),B3.create({type:"decrypt",key:a}),B3.create({type:"encrypt",key:r})]:this.ciphers=[B3.create({type:"decrypt",key:r}),B3.create({type:"encrypt",key:a}),B3.create({type:"decrypt",key:n})]}function zy(t){SCe.call(this,t);var e=new NW0(this.type,this.options.key);this._edeState=e}FW0(zy,SCe);RCe.exports=zy;zy.create=function(e){return new zy(e)};zy.prototype._update=function(e,n,a,r){var f=this._edeState;f.ciphers[0]._update(e,n,a,r),f.ciphers[1]._update(a,r,a,r),f.ciphers[2]._update(a,r,a,r)};zy.prototype._pad=B3.prototype._pad;zy.prototype._unpad=B3.prototype._unpad});var BCe=D(Rw=>{"use strict";u();p();Rw.utils=Bne();Rw.Cipher=UO();Rw.DES=Dne();Rw.CBC=kCe();Rw.EDE=MCe()});var LCe=D((dqn,PCe)=>{u();p();var DCe=o8(),c8=BCe(),OW0=Nt(),Wy=En().Buffer,VI={"des-ede3-cbc":c8.CBC.instantiate(c8.EDE),"des-ede3":c8.EDE,"des-ede-cbc":c8.CBC.instantiate(c8.EDE),"des-ede":c8.EDE,"des-cbc":c8.CBC.instantiate(c8.DES),"des-ecb":c8.DES};VI.des=VI["des-cbc"];VI.des3=VI["des-ede3-cbc"];PCe.exports=zO;OW0(zO,DCe);function zO(t){DCe.call(this);var e=t.mode.toLowerCase(),n=VI[e],a;t.decrypt?a="decrypt":a="encrypt";var r=t.key;Wy.isBuffer(r)||(r=Wy.from(r)),(e==="des-ede"||e==="des-ede-cbc")&&(r=Wy.concat([r,r.slice(0,8)]));var f=t.iv;Wy.isBuffer(f)||(f=Wy.from(f)),this._des=n.create({key:r,iv:f,type:a})}zO.prototype._update=function(t){return Wy.from(this._des.update(t))};zO.prototype._final=function(){return Wy.from(this._des.final())}});var FCe=D(Pne=>{u();p();Pne.encrypt=function(t,e){return t._cipher.encryptBlock(e)};Pne.decrypt=function(t,e){return t._cipher.decryptBlock(e)}});var Mw=D((mqn,NCe)=>{u();p();NCe.exports=function(e,n){for(var a=Math.min(e.length,n.length),r=new _.Buffer(a),f=0;f{u();p();var OCe=Mw();Lne.encrypt=function(t,e){var n=OCe(e,t._prev);return t._prev=t._cipher.encryptBlock(n),t._prev};Lne.decrypt=function(t,e){var n=t._prev;t._prev=e;var a=t._cipher.decryptBlock(e);return OCe(a,n)}});var WCe=D(zCe=>{u();p();var YI=En().Buffer,UW0=Mw();function HCe(t,e,n){var a=e.length,r=UW0(e,t._cache);return t._cache=t._cache.slice(a),t._prev=YI.concat([t._prev,n?e:r]),r}zCe.encrypt=function(t,e,n){for(var a=YI.allocUnsafe(0),r;e.length;)if(t._cache.length===0&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=YI.allocUnsafe(0)),t._cache.length<=e.length)r=t._cache.length,a=YI.concat([a,HCe(t,e.slice(0,r),n)]),e=e.slice(r);else{a=YI.concat([a,HCe(t,e,n)]);break}return a}});var jCe=D(qCe=>{u();p();var Fne=En().Buffer;function HW0(t,e,n){var a=t._cipher.encryptBlock(t._prev),r=a[0]^e;return t._prev=Fne.concat([t._prev.slice(1),Fne.from([n?e:r])]),r}qCe.encrypt=function(t,e,n){for(var a=e.length,r=Fne.allocUnsafe(a),f=-1;++f{u();p();var WO=En().Buffer;function zW0(t,e,n){for(var a,r=-1,f=8,i=0,s,o;++r>r%8,t._prev=WW0(t._prev,n?s:o);return i}function WW0(t,e){var n=t.length,a=-1,r=WO.allocUnsafe(t.length);for(t=WO.concat([t,WO.from([e])]);++a>7;return r}GCe.encrypt=function(t,e,n){for(var a=e.length,r=WO.allocUnsafe(a),f=-1;++f{u();p();var qW0=Mw();function jW0(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}QCe.encrypt=function(t,e){for(;t._cache.length{u();p();function GW0(t){for(var e=t.length,n;e--;)if(n=t.readUInt8(e),n===255)t.writeUInt8(0,e);else{n++,t.writeUInt8(n,e);break}}YCe.exports=GW0});var Une=D(JCe=>{u();p();var KW0=Mw(),$Ce=En().Buffer,QW0=Nne();function VW0(t){var e=t._cipher.encryptBlockRaw(t._prev);return QW0(t._prev),e}var One=16;JCe.encrypt=function(t,e){var n=Math.ceil(e.length/One),a=t._cache.length;t._cache=$Ce.concat([t._cache,$Ce.allocUnsafe(n*One)]);for(var r=0;r{YW0.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}});var jO=D((zqn,XCe)=>{u();p();var $W0={ECB:FCe(),CBC:UCe(),CFB:WCe(),CFB8:jCe(),CFB1:KCe(),OFB:VCe(),CTR:Une(),GCM:Une()},qO=Hne();for(zne in qO)qO[zne].module=$W0[qO[zne].mode];var zne;XCe.exports=qO});var $I=D((jqn,eIe)=>{u();p();var GO=En().Buffer;function qne(t){GO.isBuffer(t)||(t=GO.from(t));for(var e=t.length/4|0,n=new Array(e),a=0;a>>24]^i[d>>>16&255]^s[l>>>8&255]^o[h&255]^e[F++],v=f[d>>>24]^i[l>>>16&255]^s[h>>>8&255]^o[c&255]^e[F++],S=f[l>>>24]^i[h>>>16&255]^s[c>>>8&255]^o[d&255]^e[F++],O=f[h>>>24]^i[c>>>16&255]^s[d>>>8&255]^o[l&255]^e[F++],c=y,d=v,l=S,h=O;return y=(a[c>>>24]<<24|a[d>>>16&255]<<16|a[l>>>8&255]<<8|a[h&255])^e[F++],v=(a[d>>>24]<<24|a[l>>>16&255]<<16|a[h>>>8&255]<<8|a[c&255])^e[F++],S=(a[l>>>24]<<24|a[h>>>16&255]<<16|a[c>>>8&255]<<8|a[d&255])^e[F++],O=(a[h>>>24]<<24|a[c>>>16&255]<<16|a[d>>>8&255]<<8|a[l&255])^e[F++],y=y>>>0,v=v>>>0,S=S>>>0,O=O>>>0,[y,v,S,O]}var JW0=[0,1,2,4,8,16,32,64,128,27,54],Ai=function(){for(var t=new Array(256),e=0;e<256;e++)e<128?t[e]=e<<1:t[e]=e<<1^283;for(var n=[],a=[],r=[[],[],[],[]],f=[[],[],[],[]],i=0,s=0,o=0;o<256;++o){var c=s^s<<1^s<<2^s<<3^s<<4;c=c>>>8^c&255^99,n[i]=c,a[c]=i;var d=t[i],l=t[d],h=t[l],y=t[c]*257^c*16843008;r[0][i]=y<<24|y>>>8,r[1][i]=y<<16|y>>>16,r[2][i]=y<<8|y>>>24,r[3][i]=y,y=h*16843009^l*65537^d*257^i*16843008,f[0][c]=y<<24|y>>>8,f[1][c]=y<<16|y>>>16,f[2][c]=y<<8|y>>>24,f[3][c]=y,i===0?i=s=1:(i=d^t[t[t[h^d]]],s^=t[t[s]])}return{SBOX:n,INV_SBOX:a,SUB_MIX:r,INV_SUB_MIX:f}}();function k5(t){this._key=qne(t),this._reset()}k5.blockSize=4*4;k5.keySize=256/8;k5.prototype.blockSize=k5.blockSize;k5.prototype.keySize=k5.keySize;k5.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,a=(n+1)*4,r=[],f=0;f>>24,i=Ai.SBOX[i>>>24]<<24|Ai.SBOX[i>>>16&255]<<16|Ai.SBOX[i>>>8&255]<<8|Ai.SBOX[i&255],i^=JW0[f/e|0]<<24):e>6&&f%e===4&&(i=Ai.SBOX[i>>>24]<<24|Ai.SBOX[i>>>16&255]<<16|Ai.SBOX[i>>>8&255]<<8|Ai.SBOX[i&255]),r[f]=r[f-e]^i}for(var s=[],o=0;o>>24]]^Ai.INV_SUB_MIX[1][Ai.SBOX[d>>>16&255]]^Ai.INV_SUB_MIX[2][Ai.SBOX[d>>>8&255]]^Ai.INV_SUB_MIX[3][Ai.SBOX[d&255]]}this._nRounds=n,this._keySchedule=r,this._invKeySchedule=s};k5.prototype.encryptBlockRaw=function(t){return t=qne(t),ZCe(t,this._keySchedule,Ai.SUB_MIX,Ai.SBOX,this._nRounds)};k5.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=GO.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n};k5.prototype.decryptBlock=function(t){t=qne(t);var e=t[1];t[1]=t[3],t[3]=e;var n=ZCe(t,this._invKeySchedule,Ai.INV_SUB_MIX,Ai.INV_SBOX,this._nRounds),a=GO.allocUnsafe(16);return a.writeUInt32BE(n[0],0),a.writeUInt32BE(n[3],4),a.writeUInt32BE(n[2],8),a.writeUInt32BE(n[1],12),a};k5.prototype.scrub=function(){Wne(this._keySchedule),Wne(this._invKeySchedule),Wne(this._key)};eIe.exports.AES=k5});var aIe=D((Qqn,nIe)=>{u();p();var Bw=En().Buffer,XW0=Bw.alloc(16,0);function ZW0(t){return[t.readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)]}function tIe(t){var e=Bw.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function JI(t){this.h=t,this.state=Bw.alloc(16,0),this.cache=Bw.allocUnsafe(0)}JI.prototype.ghash=function(t){for(var e=-1;++e0;n--)t[n]=t[n]>>>1|(t[n-1]&1)<<31;t[0]=t[0]>>>1,r&&(t[0]=t[0]^225<<24)}this.state=tIe(e)};JI.prototype.update=function(t){this.cache=Bw.concat([this.cache,t]);for(var e;this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)};JI.prototype.final=function(t,e){return this.cache.length&&this.ghash(Bw.concat([this.cache,XW0],16)),this.ghash(tIe([0,t,0,e])),this.state};nIe.exports=JI});var jne=D(($qn,iIe)=>{u();p();var eq0=$I(),Sc=En().Buffer,rIe=o8(),tq0=Nt(),fIe=aIe(),nq0=Mw(),aq0=Nne();function rq0(t,e){var n=0;t.length!==e.length&&n++;for(var a=Math.min(t.length,e.length),r=0;r{u();p();var iq0=$I(),Gne=En().Buffer,sIe=o8(),sq0=Nt();function KO(t,e,n,a){sIe.call(this),this._cipher=new iq0.AES(e),this._prev=Gne.from(n),this._cache=Gne.allocUnsafe(0),this._secCache=Gne.allocUnsafe(0),this._decrypt=a,this._mode=t}sq0(KO,sIe);KO.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)};KO.prototype._final=function(){this._cipher.scrub()};oIe.exports=KO});var XI=D((njn,cIe)=>{u();p();var jy=En().Buffer,oq0=IO();function cq0(t,e,n,a){if(jy.isBuffer(t)||(t=jy.from(t,"binary")),e&&(jy.isBuffer(e)||(e=jy.from(e,"binary")),e.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var r=n/8,f=jy.alloc(r),i=jy.alloc(a||0),s=jy.alloc(0);r>0||a>0;){var o=new oq0;o.update(s),o.update(t),e&&o.update(e),s=o.digest();var c=0;if(r>0){var d=f.length-r;c=Math.min(r,s.length),s.copy(f,d,0,c),r-=c}if(c0){var l=i.length-a,h=Math.min(a,s.length-c);s.copy(i,l,c,c+h),a-=h}}return s.fill(0),{key:f,iv:i}}cIe.exports=cq0});var pIe=D(Qne=>{u();p();var dIe=jO(),dq0=jne(),d8=En().Buffer,lq0=Kne(),lIe=o8(),uq0=$I(),pq0=XI(),hq0=Nt();function ZI(t,e,n){lIe.call(this),this._cache=new QO,this._cipher=new uq0.AES(e),this._prev=d8.from(n),this._mode=t,this._autopadding=!0}hq0(ZI,lIe);ZI.prototype._update=function(t){this._cache.add(t);for(var e,n,a=[];e=this._cache.get();)n=this._mode.encrypt(this,e),a.push(n);return d8.concat(a)};var bq0=d8.alloc(16,16);ZI.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(bq0))throw this._cipher.scrub(),new Error("data not multiple of block length")};ZI.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this};function QO(){this.cache=d8.allocUnsafe(0)}QO.prototype.add=function(t){this.cache=d8.concat([this.cache,t])};QO.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null};QO.prototype.flush=function(){for(var t=16-this.cache.length,e=d8.allocUnsafe(t),n=-1;++n{u();p();var yq0=jne(),Dw=En().Buffer,hIe=jO(),gq0=Kne(),bIe=o8(),vq0=$I(),wq0=XI(),Tq0=Nt();function ek(t,e,n){bIe.call(this),this._cache=new VO,this._last=void 0,this._cipher=new vq0.AES(e),this._prev=Dw.from(n),this._mode=t,this._autopadding=!0}Tq0(ek,bIe);ek.prototype._update=function(t){this._cache.add(t);for(var e,n,a=[];e=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,e),a.push(n);return Dw.concat(a)};ek.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return xq0(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")};ek.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this};function VO(){this.cache=Dw.allocUnsafe(0)}VO.prototype.add=function(t){this.cache=Dw.concat([this.cache,t])};VO.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null};VO.prototype.flush=function(){if(this.cache.length)return this.cache};function xq0(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");for(var n=-1;++n{u();p();var gIe=pIe(),vIe=yIe(),_q0=Hne();function Aq0(){return Object.keys(_q0)}rl.createCipher=rl.Cipher=gIe.createCipher;rl.createCipheriv=rl.Cipheriv=gIe.createCipheriv;rl.createDecipher=rl.Decipher=vIe.createDecipher;rl.createDecipheriv=rl.Decipheriv=vIe.createDecipheriv;rl.listCiphers=rl.getCiphers=Aq0});var wIe=D(l8=>{u();p();l8["des-ecb"]={key:8,iv:0};l8["des-cbc"]=l8.des={key:8,iv:8};l8["des-ede3-cbc"]=l8.des3={key:24,iv:8};l8["des-ede3"]={key:24,iv:0};l8["des-ede-cbc"]={key:16,iv:8};l8["des-ede"]={key:16,iv:0}});var AIe=D(fl=>{u();p();var TIe=LCe(),Yne=YO(),D3=jO(),u8=wIe(),xIe=XI();function Cq0(t,e){t=t.toLowerCase();var n,a;if(D3[t])n=D3[t].key,a=D3[t].iv;else if(u8[t])n=u8[t].key*8,a=u8[t].iv;else throw new TypeError("invalid suite type");var r=xIe(e,!1,n,a);return EIe(t,r.key,r.iv)}function Iq0(t,e){t=t.toLowerCase();var n,a;if(D3[t])n=D3[t].key,a=D3[t].iv;else if(u8[t])n=u8[t].key*8,a=u8[t].iv;else throw new TypeError("invalid suite type");var r=xIe(e,!1,n,a);return _Ie(t,r.key,r.iv)}function EIe(t,e,n){if(t=t.toLowerCase(),D3[t])return Yne.createCipheriv(t,e,n);if(u8[t])return new TIe({key:e,iv:n,mode:t});throw new TypeError("invalid suite type")}function _Ie(t,e,n){if(t=t.toLowerCase(),D3[t])return Yne.createDecipheriv(t,e,n);if(u8[t])return new TIe({key:e,iv:n,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}function kq0(){return Object.keys(u8).concat(Yne.getCiphers())}fl.createCipher=fl.Cipher=Cq0;fl.createCipheriv=fl.Cipheriv=EIe;fl.createDecipher=fl.Decipher=Iq0;fl.createDecipheriv=fl.Decipheriv=_Ie;fl.listCiphers=fl.getCiphers=kq0});var $ne=D((wjn,CIe)=>{u();p();var Gy=kr(),Sq0=Pw();function Ky(t){this.rand=t||new Sq0.Rand}CIe.exports=Ky;Ky.create=function(e){return new Ky(e)};Ky.prototype._randbelow=function(e){var n=e.bitLength(),a=Math.ceil(n/8);do var r=new Gy(this.rand.generate(a));while(r.cmp(e)>=0);return r};Ky.prototype._randrange=function(e,n){var a=n.sub(e);return e.add(this._randbelow(a))};Ky.prototype.test=function(e,n,a){var r=e.bitLength(),f=Gy.mont(e),i=new Gy(1).toRed(f);n||(n=Math.max(1,r/48|0));for(var s=e.subn(1),o=0;!s.testn(o);o++);for(var c=e.shrn(o),d=s.toRed(f),l=!0;n>0;n--){var h=this._randrange(new Gy(2),s);a&&a(h);var y=h.toRed(f).redPow(c);if(!(y.cmp(i)===0||y.cmp(d)===0)){for(var v=1;v0;n--){var d=this._randrange(new Gy(2),i),l=e.gcd(d);if(l.cmpn(1)!==0)return l;var h=d.toRed(r).redPow(o);if(!(h.cmp(f)===0||h.cmp(c)===0)){for(var y=1;y{u();p();var Rq0=f8();SIe.exports=tae;tae.simpleSieve=Zne;tae.fermatTest=eae;var Js=kr(),Mq0=new Js(24),Bq0=$ne(),IIe=new Bq0,Dq0=new Js(1),Xne=new Js(2),Pq0=new Js(5),Ejn=new Js(16),_jn=new Js(8),Lq0=new Js(10),Fq0=new Js(3),Ajn=new Js(7),Nq0=new Js(11),kIe=new Js(4),Cjn=new Js(12),Jne=null;function Oq0(){if(Jne!==null)return Jne;var t=1048576,e=[];e[0]=2;for(var n=1,a=3;at;)n.ishrn(1);if(n.isEven()&&n.iadd(Dq0),n.testn(1)||n.iadd(Xne),e.cmp(Xne)){if(!e.cmp(Pq0))for(;n.mod(Lq0).cmp(Fq0);)n.iadd(kIe)}else for(;n.mod(Mq0).cmp(Nq0);)n.iadd(kIe);if(a=n.shrn(1),Zne(a)&&Zne(n)&&eae(a)&&eae(n)&&IIe.test(a)&&IIe.test(n))return n}}});var RIe=D((Rjn,Uq0)=>{Uq0.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}});var PIe=D((Mjn,DIe)=>{u();p();var S5=kr(),Hq0=$ne(),MIe=new Hq0,zq0=new S5(24),Wq0=new S5(11),qq0=new S5(10),jq0=new S5(3),Gq0=new S5(7),BIe=nae(),Kq0=f8();DIe.exports=p8;function Qq0(t,e){return e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),this._pub=new S5(t),this}function Vq0(t,e){return e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),this._priv=new S5(t),this}var $O={};function Yq0(t,e){var n=e.toString("hex"),a=[n,t.toString(16)].join("_");if(a in $O)return $O[a];var r=0;if(t.isEven()||!BIe.simpleSieve||!BIe.fermatTest(t)||!MIe.test(t))return r+=1,n==="02"||n==="05"?r+=8:r+=4,$O[a]=r,r;MIe.test(t.shrn(1))||(r+=2);var f;switch(n){case"02":t.mod(zq0).cmp(Wq0)&&(r+=8);break;case"05":f=t.mod(qq0),f.cmp(jq0)&&f.cmp(Gq0)&&(r+=8);break;default:r+=4}return $O[a]=r,r}function p8(t,e,n){this.setGenerator(e),this.__prime=new S5(t),this._prime=S5.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=Qq0,this.setPrivateKey=Vq0):this._primeCode=8}Object.defineProperty(p8.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=Yq0(this.__prime,this.__gen)),this._primeCode}});p8.prototype.generateKeys=function(){return this._priv||(this._priv=new S5(Kq0(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()};p8.prototype.computeSecret=function(t){t=new S5(t),t=t.toRed(this._prime);var e=t.redPow(this._priv).fromRed(),n=new _.Buffer(e.toArray()),a=this.getPrime();if(n.length{u();p();var $q0=nae(),LIe=RIe(),aae=PIe();function Jq0(t){var e=new _.Buffer(LIe[t].prime,"hex"),n=new _.Buffer(LIe[t].gen,"hex");return new aae(e,n)}var Xq0={binary:!0,hex:!0,base64:!0};function FIe(t,e,n,a){return _.Buffer.isBuffer(e)||Xq0[e]===void 0?FIe(t,"binary",e,n):(e=e||"binary",a=a||"binary",n=n||new _.Buffer([2]),_.Buffer.isBuffer(n)||(n=new _.Buffer(n,a)),typeof t=="number"?new aae($q0(t,n),n,!0):(_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),new aae(t,n,!0)))}Lw.DiffieHellmanGroup=Lw.createDiffieHellmanGroup=Lw.getDiffieHellman=Jq0;Lw.createDiffieHellman=Lw.DiffieHellman=FIe});var tk=D((Njn,rae)=>{"use strict";u();p();typeof E>"u"||!E.version||E.version.indexOf("v0.")===0||E.version.indexOf("v1.")===0&&E.version.indexOf("v1.8.")!==0?rae.exports={nextTick:Zq0}:rae.exports=E;function Zq0(t,e,n,a){if(typeof t!="function")throw new TypeError('"callback" argument must be a function');var r=arguments.length,f,i;switch(r){case 0:case 1:return E.nextTick(t);case 2:return E.nextTick(function(){t.call(null,e)});case 3:return E.nextTick(function(){t.call(null,e,n)});case 4:return E.nextTick(function(){t.call(null,e,n,a)});default:for(f=new Array(r-1),i=0;i{u();p();var ej0={}.toString;OIe.exports=Array.isArray||function(t){return ej0.call(t)=="[object Array]"}});var fae=D((qjn,HIe)=>{u();p();HIe.exports=Nr().EventEmitter});var nk=D((iae,WIe)=>{u();p();var XO=Kf(),h8=XO.Buffer;function zIe(t,e){for(var n in t)e[n]=t[n]}h8.from&&h8.alloc&&h8.allocUnsafe&&h8.allocUnsafeSlow?WIe.exports=XO:(zIe(XO,iae),iae.Buffer=Fw);function Fw(t,e,n){return h8(t,e,n)}zIe(h8,Fw);Fw.from=function(t,e,n){if(typeof t=="number")throw new TypeError("Argument must not be a number");return h8(t,e,n)};Fw.alloc=function(t,e,n){if(typeof t!="number")throw new TypeError("Argument must be a number");var a=h8(t);return e!==void 0?typeof n=="string"?a.fill(e,n):a.fill(e):a.fill(0),a};Fw.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return h8(t)};Fw.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return XO.SlowBuffer(t)}});var Nw=D(Oo=>{u();p();function tj0(t){return Array.isArray?Array.isArray(t):ZO(t)==="[object Array]"}Oo.isArray=tj0;function nj0(t){return typeof t=="boolean"}Oo.isBoolean=nj0;function aj0(t){return t===null}Oo.isNull=aj0;function rj0(t){return t==null}Oo.isNullOrUndefined=rj0;function fj0(t){return typeof t=="number"}Oo.isNumber=fj0;function ij0(t){return typeof t=="string"}Oo.isString=ij0;function sj0(t){return typeof t=="symbol"}Oo.isSymbol=sj0;function oj0(t){return t===void 0}Oo.isUndefined=oj0;function cj0(t){return ZO(t)==="[object RegExp]"}Oo.isRegExp=cj0;function dj0(t){return typeof t=="object"&&t!==null}Oo.isObject=dj0;function lj0(t){return ZO(t)==="[object Date]"}Oo.isDate=lj0;function uj0(t){return ZO(t)==="[object Error]"||t instanceof Error}Oo.isError=uj0;function pj0(t){return typeof t=="function"}Oo.isFunction=pj0;function hj0(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}Oo.isPrimitive=hj0;Oo.isBuffer=Kf().Buffer.isBuffer;function ZO(t){return Object.prototype.toString.call(t)}});var jIe=D((Jjn,sae)=>{"use strict";u();p();function bj0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var qIe=nk().Buffer,ak=nl();function mj0(t,e,n){t.copy(e,n)}sae.exports=function(){function t(){bj0(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(n){var a={data:n,next:null};this.length>0?this.tail.next=a:this.head=a,this.tail=a,++this.length},t.prototype.unshift=function(n){var a={data:n,next:this.head};this.length===0&&(this.tail=a),this.head=a,++this.length},t.prototype.shift=function(){if(this.length!==0){var n=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,n}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(n){if(this.length===0)return"";for(var a=this.head,r=""+a.data;a=a.next;)r+=n+a.data;return r},t.prototype.concat=function(n){if(this.length===0)return qIe.alloc(0);for(var a=qIe.allocUnsafe(n>>>0),r=this.head,f=0;r;)mj0(r.data,a,f),f+=r.data.length,r=r.next;return a},t}();ak&&ak.inspect&&ak.inspect.custom&&(sae.exports.prototype[ak.inspect.custom]=function(){var t=ak.inspect({length:this.length});return this.constructor.name+" "+t})});var oae=D((eGn,GIe)=>{"use strict";u();p();var eU=tk();function yj0(t,e){var n=this,a=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return a||r?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,eU.nextTick(tU,this,t)):eU.nextTick(tU,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(f){!e&&f?n._writableState?n._writableState.errorEmitted||(n._writableState.errorEmitted=!0,eU.nextTick(tU,n,f)):eU.nextTick(tU,n,f):e&&e(f)}),this)}function gj0(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function tU(t,e){t.emit("error",e)}GIe.exports={destroy:yj0,undestroy:gj0}});var dae=D((aGn,ZIe)=>{"use strict";u();p();var Qy=tk();ZIe.exports=Ci;function QIe(t){var e=this;this.next=null,this.entry=null,this.finish=function(){Fj0(e,t)}}var vj0=!E.browser&&["v0.10","v0.9."].indexOf(E.version.slice(0,5))>-1?setImmediate:Qy.nextTick,Ow;Ci.WritableState=fk;var VIe=Object.create(Nw());VIe.inherits=Nt();var wj0={deprecate:Qte()},YIe=fae(),aU=nk().Buffer,Tj0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function xj0(t){return aU.from(t)}function Ej0(t){return aU.isBuffer(t)||t instanceof Tj0}var $Ie=oae();VIe.inherits(Ci,YIe);function _j0(){}function fk(t,e){Ow=Ow||Vy(),t=t||{};var n=e instanceof Ow;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var a=t.highWaterMark,r=t.writableHighWaterMark,f=this.objectMode?16:16*1024;a||a===0?this.highWaterMark=a:n&&(r||r===0)?this.highWaterMark=r:this.highWaterMark=f,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=t.decodeStrings===!1;this.decodeStrings=!i,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(s){Mj0(e,s)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new QIe(this)}fk.prototype.getBuffer=function(){for(var e=this.bufferedRequest,n=[];e;)n.push(e),e=e.next;return n};(function(){try{Object.defineProperty(fk.prototype,"buffer",{get:wj0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var nU;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(nU=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ci,Symbol.hasInstance,{value:function(t){return nU.call(this,t)?!0:this!==Ci?!1:t&&t._writableState instanceof fk}})):nU=function(t){return t instanceof this};function Ci(t){if(Ow=Ow||Vy(),!nU.call(Ci,this)&&!(this instanceof Ow))return new Ci(t);this._writableState=new fk(t,this),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),YIe.call(this)}Ci.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Aj0(t,e){var n=new Error("write after end");t.emit("error",n),Qy.nextTick(e,n)}function Cj0(t,e,n,a){var r=!0,f=!1;return n===null?f=new TypeError("May not write null values to stream"):typeof n!="string"&&n!==void 0&&!e.objectMode&&(f=new TypeError("Invalid non-string/buffer chunk")),f&&(t.emit("error",f),Qy.nextTick(a,f),r=!1),r}Ci.prototype.write=function(t,e,n){var a=this._writableState,r=!1,f=!a.objectMode&&Ej0(t);return f&&!aU.isBuffer(t)&&(t=xj0(t)),typeof e=="function"&&(n=e,e=null),f?e="buffer":e||(e=a.defaultEncoding),typeof n!="function"&&(n=_j0),a.ended?Aj0(this,n):(f||Cj0(this,a,t,n))&&(a.pendingcb++,r=kj0(this,a,f,t,e,n)),r};Ci.prototype.cork=function(){var t=this._writableState;t.corked++};Ci.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&JIe(this,t))};Ci.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this};function Ij0(t,e,n){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=aU.from(e,n)),e}Object.defineProperty(Ci.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function kj0(t,e,n,a,r,f){if(!n){var i=Ij0(e,a,r);a!==i&&(n=!0,r="buffer",a=i)}var s=e.objectMode?1:a.length;e.length+=s;var o=e.length{"use strict";u();p();var eke=tk(),Nj0=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};ake.exports=b8;var tke=Object.create(Nw());tke.inherits=Nt();var nke=pae(),uae=dae();tke.inherits(b8,nke);for(lae=Nj0(uae.prototype),rU=0;rU{"use strict";u();p();var bae=nk().Buffer,rke=bae.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Hj0(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function zj0(t){var e=Hj0(t);if(typeof e!="string"&&(bae.isEncoding===rke||!rke(t)))throw new Error("Unknown encoding: "+t);return e||t}fke.StringDecoder=ik;function ik(t){this.encoding=zj0(t);var e;switch(this.encoding){case"utf16le":this.text=Qj0,this.end=Vj0,e=4;break;case"utf8":this.fillLast=jj0,e=4;break;case"base64":this.text=Yj0,this.end=$j0,e=3;break;default:this.write=Jj0,this.end=Xj0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=bae.allocUnsafe(e)}ik.prototype.write=function(t){if(t.length===0)return"";var e,n;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function Wj0(t,e,n){var a=e.length-1;if(a=0?(r>0&&(t.lastNeed=r-1),r):--a=0?(r>0&&(t.lastNeed=r-2),r):--a=0?(r>0&&(r===2?r=0:t.lastNeed=r-3),r):0))}function qj0(t,e,n){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function jj0(t){var e=this.lastTotal-this.lastNeed,n=qj0(this,t,e);if(n!==void 0)return n;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function Gj0(t,e){var n=Wj0(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var a=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,a),t.toString("utf8",e,a)}function Kj0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function Qj0(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var a=n.charCodeAt(n.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function Vj0(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function Yj0(t,e){var n=(t.length-e)%3;return n===0?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function $j0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function Jj0(t){return t.toString(this.encoding)}function Xj0(t){return t&&t.length?this.write(t):""}});var pae=D((pGn,yke)=>{"use strict";u();p();var Hw=tk();yke.exports=ef;var Zj0=UIe(),sk;ef.ReadableState=uke;var uGn=Nr().EventEmitter,cke=function(t,e){return t.listeners(e).length},Tae=fae(),ok=nk().Buffer,eG0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function tG0(t){return ok.from(t)}function nG0(t){return ok.isBuffer(t)||t instanceof eG0}var dke=Object.create(Nw());dke.inherits=Nt();var yae=nl(),qa=void 0;yae&&yae.debuglog?qa=yae.debuglog("stream"):qa=function(){};var aG0=jIe(),lke=oae(),Uw;dke.inherits(ef,Tae);var gae=["error","close","destroy","pause","resume"];function rG0(t,e,n){if(typeof t.prependListener=="function")return t.prependListener(e,n);!t._events||!t._events[e]?t.on(e,n):Zj0(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]}function uke(t,e){sk=sk||Vy(),t=t||{};var n=e instanceof sk;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var a=t.highWaterMark,r=t.readableHighWaterMark,f=this.objectMode?16:16*1024;a||a===0?this.highWaterMark=a:n&&(r||r===0)?this.highWaterMark=r:this.highWaterMark=f,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new aG0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(Uw||(Uw=mae().StringDecoder),this.decoder=new Uw(t.encoding),this.encoding=t.encoding)}function ef(t){if(sk=sk||Vy(),!(this instanceof ef))return new ef(t);this._readableState=new uke(t,this),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),Tae.call(this)}Object.defineProperty(ef.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}});ef.prototype.destroy=lke.destroy;ef.prototype._undestroy=lke.undestroy;ef.prototype._destroy=function(t,e){this.push(null),e(t)};ef.prototype.push=function(t,e){var n=this._readableState,a;return n.objectMode?a=!0:typeof t=="string"&&(e=e||n.defaultEncoding,e!==n.encoding&&(t=ok.from(t,e),e=""),a=!0),pke(this,t,e,!1,a)};ef.prototype.unshift=function(t){return pke(this,t,null,!0,!1)};function pke(t,e,n,a,r){var f=t._readableState;if(e===null)f.reading=!1,oG0(t,f);else{var i;r||(i=fG0(f,e)),i?t.emit("error",i):f.objectMode||e&&e.length>0?(typeof e!="string"&&!f.objectMode&&Object.getPrototypeOf(e)!==ok.prototype&&(e=tG0(e)),a?f.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):vae(t,f,e,!0):f.ended?t.emit("error",new Error("stream.push() after EOF")):(f.reading=!1,f.decoder&&!n?(e=f.decoder.write(e),f.objectMode||e.length!==0?vae(t,f,e,!1):hke(t,f)):vae(t,f,e,!1))):a||(f.reading=!1)}return iG0(f)}function vae(t,e,n,a){e.flowing&&e.length===0&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,a?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&iU(t)),hke(t,e)}function fG0(t,e){var n;return!nG0(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(n=new TypeError("Invalid non-string/buffer chunk")),n}function iG0(t){return!t.ended&&(t.needReadable||t.length=ike?t=ike:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function ske(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=sG0(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}ef.prototype.read=function(t){qa("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return qa("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?wae(this):iU(this),null;if(t=ske(t,e),t===0&&e.ended)return e.length===0&&wae(this),null;var a=e.needReadable;qa("need readable",a),(e.length===0||e.length-t0?r=bke(t,e):r=null,r===null?(e.needReadable=!0,t=0):e.length-=t,e.length===0&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&wae(this)),r!==null&&this.emit("data",r),r};function oG0(t,e){if(!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,iU(t)}}function iU(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(qa("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?Hw.nextTick(oke,t):oke(t))}function oke(t){qa("emit readable"),t.emit("readable"),xae(t)}function hke(t,e){e.readingMore||(e.readingMore=!0,Hw.nextTick(cG0,t,e))}function cG0(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length1&&mke(a.pipes,t)!==-1)&&!c&&(qa("false write response, pause",a.awaitDrain),a.awaitDrain++,l=!0),n.pause())}function y(F){qa("onerror",F),O(),t.removeListener("error",y),cke(t,"error")===0&&t.emit("error",F)}rG0(t,"error",y);function v(){t.removeListener("finish",S),O()}t.once("close",v);function S(){qa("onfinish"),t.removeListener("close",v),O()}t.once("finish",S);function O(){qa("unpipe"),n.unpipe(t)}return t.emit("pipe",n),a.flowing||(qa("pipe resume"),n.resume()),t};function dG0(t){return function(){var e=t._readableState;qa("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,e.awaitDrain===0&&cke(t,"data")&&(e.flowing=!0,xae(t))}}ef.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n),this);if(!t){var a=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var f=0;f=e.length?(e.decoder?n=e.buffer.join(""):e.buffer.length===1?n=e.buffer.head.data:n=e.buffer.concat(e.length),e.buffer.clear()):n=hG0(t,e.buffer,e.decoder),n}function hG0(t,e,n){var a;return tf.length?f.length:t;if(i===f.length?r+=f:r+=f.slice(0,t),t-=i,t===0){i===f.length?(++a,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=f.slice(i));break}++a}return e.length-=a,r}function mG0(t,e){var n=ok.allocUnsafe(t),a=e.head,r=1;for(a.data.copy(n),t-=a.data.length;a=a.next;){var f=a.data,i=t>f.length?f.length:t;if(f.copy(n,n.length-t,0,i),t-=i,t===0){i===f.length?(++r,a.next?e.head=a.next:e.head=e.tail=null):(e.head=a,a.data=f.slice(i));break}++r}return e.length-=r,n}function wae(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,Hw.nextTick(yG0,e,t))}function yG0(t,e){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function mke(t,e){for(var n=0,a=t.length;n{"use strict";u();p();wke.exports=m8;var sU=Vy(),vke=Object.create(Nw());vke.inherits=Nt();vke.inherits(m8,sU);function gG0(t,e){var n=this._transformState;n.transforming=!1;var a=n.writecb;if(!a)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,e!=null&&this.push(e),a(t);var r=this._readableState;r.reading=!1,(r.needReadable||r.length{"use strict";u();p();Eke.exports=ck;var Tke=Eae(),xke=Object.create(Nw());xke.inherits=Nt();xke.inherits(ck,Tke);function ck(t){if(!(this instanceof ck))return new ck(t);Tke.call(this,t)}ck.prototype._transform=function(t,e,n){n(null,t)}});var Cke=D((x2,Ake)=>{u();p();x2=Ake.exports=pae();x2.Stream=x2;x2.Readable=x2;x2.Writable=dae();x2.Duplex=Vy();x2.Transform=Eae();x2.PassThrough=_ke()});var oU=D((_Gn,Ske)=>{u();p();var zw=Va(),wG0=f8();function TG0(t){var e=Ike(t),n=e.toRed(zw.mont(t.modulus)).redPow(new zw(t.publicExponent)).fromRed();return{blinder:n,unblinder:e.invm(t.modulus)}}function Ike(t){var e=t.modulus.byteLength(),n;do n=new zw(wG0(e));while(n.cmp(t.modulus)>=0||!n.umod(t.prime1)||!n.umod(t.prime2));return n}function kke(t,e){var n=TG0(e),a=e.modulus.byteLength(),r=new zw(t).mul(n.blinder).umod(e.modulus),f=r.toRed(zw.mont(e.prime1)),i=r.toRed(zw.mont(e.prime2)),s=e.coefficient,o=e.prime1,c=e.prime2,d=f.redPow(e.exponent1).fromRed(),l=i.redPow(e.exponent2).fromRed(),h=d.isub(l).imul(s).umod(o).imul(c);return l.iadd(h).imul(n.unblinder).umod(e.modulus).toArrayLike(_.Buffer,"be",a)}kke.getr=Ike;Ske.exports=kke});var Rke=D((IGn,xG0)=>{xG0.exports={name:"elliptic",version:"6.5.5",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny ",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}});var v6=D(Mke=>{"use strict";u();p();var il=Mke,EG0=kr(),_G0=kc(),cU=AN();il.assert=_G0;il.toArray=cU.toArray;il.zero2=cU.zero2;il.toHex=cU.toHex;il.encode=cU.encode;function AG0(t,e,n){var a=new Array(Math.max(t.bitLength(),n)+1),r;for(r=0;r(f>>1)-1?s=(f>>1)-o:s=o,i.isubn(s)):s=0,a[r]=s,i.iushrn(1)}return a}il.getNAF=AG0;function CG0(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var a=0,r=0,f;t.cmpn(-a)>0||e.cmpn(-r)>0;){var i=t.andln(3)+a&3,s=e.andln(3)+r&3;i===3&&(i=-1),s===3&&(s=-1);var o;i&1?(f=t.andln(7)+a&7,(f===3||f===5)&&s===2?o=-i:o=i):o=0,n[0].push(o);var c;s&1?(f=e.andln(7)+r&7,(f===3||f===5)&&i===2?c=-s:c=s):c=0,n[1].push(c),2*a===o+1&&(a=1-a),2*r===c+1&&(r=1-r),t.iushrn(1),e.iushrn(1)}return n}il.getJSF=CG0;function IG0(t,e,n){var a="_"+e;t.prototype[e]=function(){return this[a]!==void 0?this[a]:this[a]=n.call(this)}}il.cachedProperty=IG0;function kG0(t){return typeof t=="string"?il.toArray(t,"hex"):t}il.parseBytes=kG0;function SG0(t){return new EG0(t,"hex","le")}il.intFromLE=SG0});var lk=D((MGn,Bke)=>{"use strict";u();p();var Yy=kr(),dk=v6(),dU=dk.getNAF,RG0=dk.getJSF,lU=dk.assert;function P3(t,e){this.type=t,this.p=new Yy(e.p,16),this.red=e.prime?Yy.red(e.prime):Yy.mont(this.p),this.zero=new Yy(0).toRed(this.red),this.one=new Yy(1).toRed(this.red),this.two=new Yy(2).toRed(this.red),this.n=e.n&&new Yy(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}Bke.exports=P3;P3.prototype.point=function(){throw new Error("Not implemented")};P3.prototype.validate=function(){throw new Error("Not implemented")};P3.prototype._fixedNafMul=function(e,n){lU(e.precomputed);var a=e._getDoubles(),r=dU(n,1,this._bitLength),f=(1<=s;c--)o=(o<<1)+r[c];i.push(o)}for(var d=this.jpoint(null,null,null),l=this.jpoint(null,null,null),h=f;h>0;h--){for(s=0;s=0;o--){for(var c=0;o>=0&&i[o]===0;o--)c++;if(o>=0&&c++,s=s.dblp(c),o<0)break;var d=i[o];lU(d!==0),e.type==="affine"?d>0?s=s.mixedAdd(f[d-1>>1]):s=s.mixedAdd(f[-d-1>>1].neg()):d>0?s=s.add(f[d-1>>1]):s=s.add(f[-d-1>>1].neg())}return e.type==="affine"?s.toP():s};P3.prototype._wnafMulAdd=function(e,n,a,r,f){var i=this._wnafT1,s=this._wnafT2,o=this._wnafT3,c=0,d,l,h;for(d=0;d=1;d-=2){var v=d-1,S=d;if(i[v]!==1||i[S]!==1){o[v]=dU(a[v],i[v],this._bitLength),o[S]=dU(a[S],i[S],this._bitLength),c=Math.max(o[v].length,c),c=Math.max(o[S].length,c);continue}var O=[n[v],null,null,n[S]];n[v].y.cmp(n[S].y)===0?(O[1]=n[v].add(n[S]),O[2]=n[v].toJ().mixedAdd(n[S].neg())):n[v].y.cmp(n[S].y.redNeg())===0?(O[1]=n[v].toJ().mixedAdd(n[S]),O[2]=n[v].add(n[S].neg())):(O[1]=n[v].toJ().mixedAdd(n[S]),O[2]=n[v].toJ().mixedAdd(n[S].neg()));var F=[-3,-1,-5,-7,0,7,5,1,3],z=RG0(a[v],a[S]);for(c=Math.max(z[0].length,c),o[v]=new Array(c),o[S]=new Array(c),l=0;l=0;d--){for(var X=0;d>=0;){var K=!0;for(l=0;l=0&&X++,Q=Q.dblp(X),d<0)break;for(l=0;l0?h=s[l][G-1>>1]:G<0&&(h=s[l][-G-1>>1].neg()),h.type==="affine"?Q=Q.mixedAdd(h):Q=Q.add(h))}}for(d=0;d=Math.ceil((e.bitLength()+1)/n.step):!1};R5.prototype._getDoubles=function(e,n){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var a=[this],r=this,f=0;f{"use strict";u();p();var MG0=v6(),$f=kr(),_ae=Nt(),Ww=lk(),BG0=MG0.assert;function M5(t){Ww.call(this,"short",t),this.a=new $f(t.a,16).toRed(this.red),this.b=new $f(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}_ae(M5,Ww);Dke.exports=M5;M5.prototype._getEndomorphism=function(e){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var n,a;if(e.beta)n=new $f(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);n=r[0].cmp(r[1])<0?r[0]:r[1],n=n.toRed(this.red)}if(e.lambda)a=new $f(e.lambda,16);else{var f=this._getEndoRoots(this.n);this.g.mul(f[0]).x.cmp(this.g.x.redMul(n))===0?a=f[0]:(a=f[1],BG0(this.g.mul(a).x.cmp(this.g.x.redMul(n))===0))}var i;return e.basis?i=e.basis.map(function(s){return{a:new $f(s.a,16),b:new $f(s.b,16)}}):i=this._getEndoBasis(a),{beta:n,lambda:a,basis:i}}};M5.prototype._getEndoRoots=function(e){var n=e===this.p?this.red:$f.mont(e),a=new $f(2).toRed(n).redInvm(),r=a.redNeg(),f=new $f(3).toRed(n).redNeg().redSqrt().redMul(a),i=r.redAdd(f).fromRed(),s=r.redSub(f).fromRed();return[i,s]};M5.prototype._getEndoBasis=function(e){for(var n=this.n.ushrn(Math.floor(this.n.bitLength()/2)),a=e,r=this.n.clone(),f=new $f(1),i=new $f(0),s=new $f(0),o=new $f(1),c,d,l,h,y,v,S,O=0,F,z;a.cmpn(0)!==0;){var W=r.div(a);F=r.sub(W.mul(a)),z=s.sub(W.mul(f));var j=o.sub(W.mul(i));if(!l&&F.cmp(n)<0)c=S.neg(),d=f,l=F.neg(),h=z;else if(l&&++O===2)break;S=F,r=a,a=F,s=f,f=z,o=i,i=j}y=F.neg(),v=z;var Q=l.sqr().add(h.sqr()),V=y.sqr().add(v.sqr());return V.cmp(Q)>=0&&(y=c,v=d),l.negative&&(l=l.neg(),h=h.neg()),y.negative&&(y=y.neg(),v=v.neg()),[{a:l,b:h},{a:y,b:v}]};M5.prototype._endoSplit=function(e){var n=this.endo.basis,a=n[0],r=n[1],f=r.b.mul(e).divRound(this.n),i=a.b.neg().mul(e).divRound(this.n),s=f.mul(a.a),o=i.mul(r.a),c=f.mul(a.b),d=i.mul(r.b),l=e.sub(s).sub(o),h=c.add(d).neg();return{k1:l,k2:h}};M5.prototype.pointFromX=function(e,n){e=new $f(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=a.redSqrt();if(r.redSqr().redSub(a).cmp(this.zero)!==0)throw new Error("invalid point");var f=r.fromRed().isOdd();return(n&&!f||!n&&f)&&(r=r.redNeg()),this.point(e,r)};M5.prototype.validate=function(e){if(e.inf)return!0;var n=e.x,a=e.y,r=this.a.redMul(n),f=n.redSqr().redMul(n).redIAdd(r).redIAdd(this.b);return a.redSqr().redISub(f).cmpn(0)===0};M5.prototype._endoWnafMulAdd=function(e,n,a){for(var r=this._endoWnafT1,f=this._endoWnafT2,i=0;i":""};ms.prototype.isInfinity=function(){return this.inf};ms.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(this.x.cmp(e.x)===0)return this.curve.point(null,null);var n=this.y.redSub(e.y);n.cmpn(0)!==0&&(n=n.redMul(this.x.redSub(e.x).redInvm()));var a=n.redSqr().redISub(this.x).redISub(e.x),r=n.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,r)};ms.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(e.cmpn(0)===0)return this.curve.point(null,null);var n=this.curve.a,a=this.x.redSqr(),r=e.redInvm(),f=a.redAdd(a).redIAdd(a).redIAdd(n).redMul(r),i=f.redSqr().redISub(this.x.redAdd(this.x)),s=f.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,s)};ms.prototype.getX=function(){return this.x.fromRed()};ms.prototype.getY=function(){return this.y.fromRed()};ms.prototype.mul=function(e){return e=new $f(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)};ms.prototype.mulAdd=function(e,n,a){var r=[this,n],f=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,f):this.curve._wnafMulAdd(1,r,f,2)};ms.prototype.jmulAdd=function(e,n,a){var r=[this,n],f=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,f,!0):this.curve._wnafMulAdd(1,r,f,2,!0)};ms.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||this.x.cmp(e.x)===0&&this.y.cmp(e.y)===0)};ms.prototype.neg=function(e){if(this.inf)return this;var n=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var a=this.precomputed,r=function(f){return f.neg()};n.precomputed={naf:a.naf&&{wnd:a.naf.wnd,points:a.naf.points.map(r)},doubles:a.doubles&&{step:a.doubles.step,points:a.doubles.points.map(r)}}}return n};ms.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e};function Xs(t,e,n,a){Ww.BasePoint.call(this,t,"jacobian"),e===null&&n===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new $f(0)):(this.x=new $f(e,16),this.y=new $f(n,16),this.z=new $f(a,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}_ae(Xs,Ww.BasePoint);M5.prototype.jpoint=function(e,n,a){return new Xs(this,e,n,a)};Xs.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),n=e.redSqr(),a=this.x.redMul(n),r=this.y.redMul(n).redMul(e);return this.curve.point(a,r)};Xs.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};Xs.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var n=e.z.redSqr(),a=this.z.redSqr(),r=this.x.redMul(n),f=e.x.redMul(a),i=this.y.redMul(n.redMul(e.z)),s=e.y.redMul(a.redMul(this.z)),o=r.redSub(f),c=i.redSub(s);if(o.cmpn(0)===0)return c.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var d=o.redSqr(),l=d.redMul(o),h=r.redMul(d),y=c.redSqr().redIAdd(l).redISub(h).redISub(h),v=c.redMul(h.redISub(y)).redISub(i.redMul(l)),S=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(y,v,S)};Xs.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var n=this.z.redSqr(),a=this.x,r=e.x.redMul(n),f=this.y,i=e.y.redMul(n).redMul(this.z),s=a.redSub(r),o=f.redSub(i);if(s.cmpn(0)===0)return o.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),d=c.redMul(s),l=a.redMul(c),h=o.redSqr().redIAdd(d).redISub(l).redISub(l),y=o.redMul(l.redISub(h)).redISub(f.redMul(d)),v=this.z.redMul(s);return this.curve.jpoint(h,y,v)};Xs.prototype.dblp=function(e){if(e===0)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var n;if(this.curve.zeroA||this.curve.threeA){var a=this;for(n=0;n=0)return!1;if(a.redIAdd(f),this.x.cmp(a)===0)return!0}};Xs.prototype.inspect=function(){return this.isInfinity()?"":""};Xs.prototype.isInfinity=function(){return this.z.cmpn(0)===0}});var Nke=D((NGn,Fke)=>{"use strict";u();p();var qw=kr(),Lke=Nt(),uU=lk(),DG0=v6();function jw(t){uU.call(this,"mont",t),this.a=new qw(t.a,16).toRed(this.red),this.b=new qw(t.b,16).toRed(this.red),this.i4=new qw(4).toRed(this.red).redInvm(),this.two=new qw(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}Lke(jw,uU);Fke.exports=jw;jw.prototype.validate=function(e){var n=e.normalize().x,a=n.redSqr(),r=a.redMul(n).redAdd(a.redMul(this.a)).redAdd(n),f=r.redSqrt();return f.redSqr().cmp(r)===0};function ys(t,e,n){uU.BasePoint.call(this,t,"projective"),e===null&&n===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new qw(e,16),this.z=new qw(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}Lke(ys,uU.BasePoint);jw.prototype.decodePoint=function(e,n){return this.point(DG0.toArray(e,n),1)};jw.prototype.point=function(e,n){return new ys(this,e,n)};jw.prototype.pointFromJSON=function(e){return ys.fromJSON(this,e)};ys.prototype.precompute=function(){};ys.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};ys.fromJSON=function(e,n){return new ys(e,n[0],n[1]||e.one)};ys.prototype.inspect=function(){return this.isInfinity()?"":""};ys.prototype.isInfinity=function(){return this.z.cmpn(0)===0};ys.prototype.dbl=function(){var e=this.x.redAdd(this.z),n=e.redSqr(),a=this.x.redSub(this.z),r=a.redSqr(),f=n.redSub(r),i=n.redMul(r),s=f.redMul(r.redAdd(this.curve.a24.redMul(f)));return this.curve.point(i,s)};ys.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};ys.prototype.diffAdd=function(e,n){var a=this.x.redAdd(this.z),r=this.x.redSub(this.z),f=e.x.redAdd(e.z),i=e.x.redSub(e.z),s=i.redMul(a),o=f.redMul(r),c=n.z.redMul(s.redAdd(o).redSqr()),d=n.x.redMul(s.redISub(o).redSqr());return this.curve.point(c,d)};ys.prototype.mul=function(e){for(var n=e.clone(),a=this,r=this.curve.point(null,null),f=this,i=[];n.cmpn(0)!==0;n.iushrn(1))i.push(n.andln(1));for(var s=i.length-1;s>=0;s--)i[s]===0?(a=a.diffAdd(r,f),r=r.dbl()):(r=a.diffAdd(r,f),a=a.dbl());return r};ys.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};ys.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};ys.prototype.eq=function(e){return this.getX().cmp(e.getX())===0};ys.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};ys.prototype.getX=function(){return this.normalize(),this.x.fromRed()}});var Hke=D((HGn,Uke)=>{"use strict";u();p();var PG0=v6(),y8=kr(),Oke=Nt(),pU=lk(),LG0=PG0.assert;function E2(t){this.twisted=(t.a|0)!==1,this.mOneA=this.twisted&&(t.a|0)===-1,this.extended=this.mOneA,pU.call(this,"edwards",t),this.a=new y8(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new y8(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new y8(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),LG0(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(t.c|0)===1}Oke(E2,pU);Uke.exports=E2;E2.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)};E2.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)};E2.prototype.jpoint=function(e,n,a,r){return this.point(e,n,a,r)};E2.prototype.pointFromX=function(e,n){e=new y8(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=this.c2.redSub(this.a.redMul(a)),f=this.one.redSub(this.c2.redMul(this.d).redMul(a)),i=r.redMul(f.redInvm()),s=i.redSqrt();if(s.redSqr().redSub(i).cmp(this.zero)!==0)throw new Error("invalid point");var o=s.fromRed().isOdd();return(n&&!o||!n&&o)&&(s=s.redNeg()),this.point(e,s)};E2.prototype.pointFromY=function(e,n){e=new y8(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=a.redSub(this.c2),f=a.redMul(this.d).redMul(this.c2).redSub(this.a),i=r.redMul(f.redInvm());if(i.cmp(this.zero)===0){if(n)throw new Error("invalid point");return this.point(this.zero,e)}var s=i.redSqrt();if(s.redSqr().redSub(i).cmp(this.zero)!==0)throw new Error("invalid point");return s.fromRed().isOdd()!==n&&(s=s.redNeg()),this.point(s,e)};E2.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var n=e.x.redSqr(),a=e.y.redSqr(),r=n.redMul(this.a).redAdd(a),f=this.c2.redMul(this.one.redAdd(this.d.redMul(n).redMul(a)));return r.cmp(f)===0};function Or(t,e,n,a,r){pU.BasePoint.call(this,t,"projective"),e===null&&n===null&&a===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new y8(e,16),this.y=new y8(n,16),this.z=a?new y8(a,16):this.curve.one,this.t=r&&new y8(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}Oke(Or,pU.BasePoint);E2.prototype.pointFromJSON=function(e){return Or.fromJSON(this,e)};E2.prototype.point=function(e,n,a,r){return new Or(this,e,n,a,r)};Or.fromJSON=function(e,n){return new Or(e,n[0],n[1],n[2])};Or.prototype.inspect=function(){return this.isInfinity()?"":""};Or.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};Or.prototype._extDbl=function(){var e=this.x.redSqr(),n=this.y.redSqr(),a=this.z.redSqr();a=a.redIAdd(a);var r=this.curve._mulA(e),f=this.x.redAdd(this.y).redSqr().redISub(e).redISub(n),i=r.redAdd(n),s=i.redSub(a),o=r.redSub(n),c=f.redMul(s),d=i.redMul(o),l=f.redMul(o),h=s.redMul(i);return this.curve.point(c,d,h,l)};Or.prototype._projDbl=function(){var e=this.x.redAdd(this.y).redSqr(),n=this.x.redSqr(),a=this.y.redSqr(),r,f,i,s,o,c;if(this.curve.twisted){s=this.curve._mulA(n);var d=s.redAdd(a);this.zOne?(r=e.redSub(n).redSub(a).redMul(d.redSub(this.curve.two)),f=d.redMul(s.redSub(a)),i=d.redSqr().redSub(d).redSub(d)):(o=this.z.redSqr(),c=d.redSub(o).redISub(o),r=e.redSub(n).redISub(a).redMul(c),f=d.redMul(s.redSub(a)),i=d.redMul(c))}else s=n.redAdd(a),o=this.curve._mulC(this.z).redSqr(),c=s.redSub(o).redSub(o),r=this.curve._mulC(e.redISub(s)).redMul(c),f=this.curve._mulC(s).redMul(n.redISub(a)),i=s.redMul(c);return this.curve.point(r,f,i)};Or.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()};Or.prototype._extAdd=function(e){var n=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),a=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),f=this.z.redMul(e.z.redAdd(e.z)),i=a.redSub(n),s=f.redSub(r),o=f.redAdd(r),c=a.redAdd(n),d=i.redMul(s),l=o.redMul(c),h=i.redMul(c),y=s.redMul(o);return this.curve.point(d,l,y,h)};Or.prototype._projAdd=function(e){var n=this.z.redMul(e.z),a=n.redSqr(),r=this.x.redMul(e.x),f=this.y.redMul(e.y),i=this.curve.d.redMul(r).redMul(f),s=a.redSub(i),o=a.redAdd(i),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(r).redISub(f),d=n.redMul(s).redMul(c),l,h;return this.curve.twisted?(l=n.redMul(o).redMul(f.redSub(this.curve._mulA(r))),h=s.redMul(o)):(l=n.redMul(o).redMul(f.redSub(r)),h=this.curve._mulC(s).redMul(o)),this.curve.point(d,l,h)};Or.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)};Or.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)};Or.prototype.mulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!1)};Or.prototype.jmulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!0)};Or.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this};Or.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};Or.prototype.getX=function(){return this.normalize(),this.x.fromRed()};Or.prototype.getY=function(){return this.normalize(),this.y.fromRed()};Or.prototype.eq=function(e){return this===e||this.getX().cmp(e.getX())===0&&this.getY().cmp(e.getY())===0};Or.prototype.eqXToP=function(e){var n=e.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(n)===0)return!0;for(var a=e.clone(),r=this.curve.redN.redMul(this.z);;){if(a.iadd(this.curve.n),a.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(r),this.x.cmp(n)===0)return!0}};Or.prototype.toP=Or.prototype.normalize;Or.prototype.mixedAdd=Or.prototype.add});var Aae=D(zke=>{"use strict";u();p();var hU=zke;hU.base=lk();hU.short=Pke();hU.mont=Nke();hU.edwards=Hke()});var sl=D(Sr=>{"use strict";u();p();var FG0=kc(),NG0=Nt();Sr.inherits=NG0;function OG0(t,e){return(t.charCodeAt(e)&64512)!==55296||e<0||e+1>=t.length?!1:(t.charCodeAt(e+1)&64512)===56320}function UG0(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if(typeof t=="string")if(e){if(e==="hex")for(t=t.replace(/[^a-z0-9]+/ig,""),t.length%2!==0&&(t="0"+t),r=0;r>6|192,n[a++]=f&63|128):OG0(t,r)?(f=65536+((f&1023)<<10)+(t.charCodeAt(++r)&1023),n[a++]=f>>18|240,n[a++]=f>>12&63|128,n[a++]=f>>6&63|128,n[a++]=f&63|128):(n[a++]=f>>12|224,n[a++]=f>>6&63|128,n[a++]=f&63|128)}else for(r=0;r>>24|t>>>8&65280|t<<8&16711680|(t&255)<<24;return e>>>0}Sr.htonl=Wke;function zG0(t,e){for(var n="",a=0;a>>0}return f}Sr.join32=WG0;function qG0(t,e){for(var n=new Array(t.length*4),a=0,r=0;a>>24,n[r+1]=f>>>16&255,n[r+2]=f>>>8&255,n[r+3]=f&255):(n[r+3]=f>>>24,n[r+2]=f>>>16&255,n[r+1]=f>>>8&255,n[r]=f&255)}return n}Sr.split32=qG0;function jG0(t,e){return t>>>e|t<<32-e}Sr.rotr32=jG0;function GG0(t,e){return t<>>32-e}Sr.rotl32=GG0;function KG0(t,e){return t+e>>>0}Sr.sum32=KG0;function QG0(t,e,n){return t+e+n>>>0}Sr.sum32_3=QG0;function VG0(t,e,n,a){return t+e+n+a>>>0}Sr.sum32_4=VG0;function YG0(t,e,n,a,r){return t+e+n+a+r>>>0}Sr.sum32_5=YG0;function $G0(t,e,n,a){var r=t[e],f=t[e+1],i=a+f>>>0,s=(i>>0,t[e+1]=i}Sr.sum64=$G0;function JG0(t,e,n,a){var r=e+a>>>0,f=(r>>0}Sr.sum64_hi=JG0;function XG0(t,e,n,a){var r=e+a;return r>>>0}Sr.sum64_lo=XG0;function ZG0(t,e,n,a,r,f,i,s){var o=0,c=e;c=c+a>>>0,o+=c>>0,o+=c>>0,o+=c>>0}Sr.sum64_4_hi=ZG0;function eK0(t,e,n,a,r,f,i,s){var o=e+a+f+s;return o>>>0}Sr.sum64_4_lo=eK0;function tK0(t,e,n,a,r,f,i,s,o,c){var d=0,l=e;l=l+a>>>0,d+=l>>0,d+=l>>0,d+=l>>0,d+=l>>0}Sr.sum64_5_hi=tK0;function nK0(t,e,n,a,r,f,i,s,o,c){var d=e+a+f+s+c;return d>>>0}Sr.sum64_5_lo=nK0;function aK0(t,e,n){var a=e<<32-n|t>>>n;return a>>>0}Sr.rotr64_hi=aK0;function rK0(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}Sr.rotr64_lo=rK0;function fK0(t,e,n){return t>>>n}Sr.shr64_hi=fK0;function iK0(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}Sr.shr64_lo=iK0});var Gw=D(Kke=>{"use strict";u();p();var Gke=sl(),sK0=kc();function bU(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}Kke.BlockHash=bU;bU.prototype.update=function(e,n){if(e=Gke.toArray(e,n),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){e=this.pending;var a=e.length%this._delta8;this.pending=e.slice(e.length-a,e.length),this.pending.length===0&&(this.pending=null),e=Gke.join32(e,0,e.length-a,this.endian);for(var r=0;r>>24&255,r[f++]=e>>>16&255,r[f++]=e>>>8&255,r[f++]=e&255}else for(r[f++]=e&255,r[f++]=e>>>8&255,r[f++]=e>>>16&255,r[f++]=e>>>24&255,r[f++]=0,r[f++]=0,r[f++]=0,r[f++]=0,i=8;i{"use strict";u();p();var oK0=sl(),_2=oK0.rotr32;function cK0(t,e,n,a){if(t===0)return Qke(e,n,a);if(t===1||t===3)return Yke(e,n,a);if(t===2)return Vke(e,n,a)}g8.ft_1=cK0;function Qke(t,e,n){return t&e^~t&n}g8.ch32=Qke;function Vke(t,e,n){return t&e^t&n^e&n}g8.maj32=Vke;function Yke(t,e,n){return t^e^n}g8.p32=Yke;function dK0(t){return _2(t,2)^_2(t,13)^_2(t,22)}g8.s0_256=dK0;function lK0(t){return _2(t,6)^_2(t,11)^_2(t,25)}g8.s1_256=lK0;function uK0(t){return _2(t,7)^_2(t,18)^t>>>3}g8.g0_256=uK0;function pK0(t){return _2(t,17)^_2(t,19)^t>>>10}g8.g1_256=pK0});var Xke=D((tKn,Jke)=>{"use strict";u();p();var Kw=sl(),hK0=Gw(),bK0=Cae(),Iae=Kw.rotl32,uk=Kw.sum32,mK0=Kw.sum32_5,yK0=bK0.ft_1,$ke=hK0.BlockHash,gK0=[1518500249,1859775393,2400959708,3395469782];function A2(){if(!(this instanceof A2))return new A2;$ke.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}Kw.inherits(A2,$ke);Jke.exports=A2;A2.blockSize=512;A2.outSize=160;A2.hmacStrength=80;A2.padLength=64;A2.prototype._update=function(e,n){for(var a=this.W,r=0;r<16;r++)a[r]=e[n+r];for(;r{"use strict";u();p();var Qw=sl(),vK0=Gw(),Vw=Cae(),wK0=kc(),ol=Qw.sum32,TK0=Qw.sum32_4,xK0=Qw.sum32_5,EK0=Vw.ch32,_K0=Vw.maj32,AK0=Vw.s0_256,CK0=Vw.s1_256,IK0=Vw.g0_256,kK0=Vw.g1_256,Zke=vK0.BlockHash,SK0=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function C2(){if(!(this instanceof C2))return new C2;Zke.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=SK0,this.W=new Array(64)}Qw.inherits(C2,Zke);eSe.exports=C2;C2.blockSize=512;C2.outSize=256;C2.hmacStrength=192;C2.padLength=64;C2.prototype._update=function(e,n){for(var a=this.W,r=0;r<16;r++)a[r]=e[n+r];for(;r{"use strict";u();p();var Sae=sl(),tSe=kae();function v8(){if(!(this instanceof v8))return new v8;tSe.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}Sae.inherits(v8,tSe);nSe.exports=v8;v8.blockSize=512;v8.outSize=224;v8.hmacStrength=192;v8.padLength=64;v8.prototype._digest=function(e){return e==="hex"?Sae.toHex32(this.h.slice(0,7),"big"):Sae.split32(this.h.slice(0,7),"big")}});var Bae=D((dKn,sSe)=>{"use strict";u();p();var Rc=sl(),RK0=Gw(),MK0=kc(),I2=Rc.rotr64_hi,k2=Rc.rotr64_lo,rSe=Rc.shr64_hi,fSe=Rc.shr64_lo,L3=Rc.sum64,Rae=Rc.sum64_hi,Mae=Rc.sum64_lo,BK0=Rc.sum64_4_hi,DK0=Rc.sum64_4_lo,PK0=Rc.sum64_5_hi,LK0=Rc.sum64_5_lo,iSe=RK0.BlockHash,FK0=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function cl(){if(!(this instanceof cl))return new cl;iSe.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=FK0,this.W=new Array(160)}Rc.inherits(cl,iSe);sSe.exports=cl;cl.blockSize=1024;cl.outSize=512;cl.hmacStrength=192;cl.padLength=128;cl.prototype._prepareBlock=function(e,n){for(var a=this.W,r=0;r<32;r++)a[r]=e[n+r];for(;r{"use strict";u();p();var Dae=sl(),oSe=Bae();function w8(){if(!(this instanceof w8))return new w8;oSe.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}Dae.inherits(w8,oSe);cSe.exports=w8;w8.blockSize=1024;w8.outSize=384;w8.hmacStrength=192;w8.padLength=128;w8.prototype._digest=function(e){return e==="hex"?Dae.toHex32(this.h.slice(0,12),"big"):Dae.split32(this.h.slice(0,12),"big")}});var lSe=D(Yw=>{"use strict";u();p();Yw.sha1=Xke();Yw.sha224=aSe();Yw.sha256=kae();Yw.sha384=dSe();Yw.sha512=Bae()});var ySe=D(mSe=>{"use strict";u();p();var $y=sl(),YK0=Gw(),mU=$y.rotl32,uSe=$y.sum32,pk=$y.sum32_3,pSe=$y.sum32_4,bSe=YK0.BlockHash;function S2(){if(!(this instanceof S2))return new S2;bSe.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}$y.inherits(S2,bSe);mSe.ripemd160=S2;S2.blockSize=512;S2.outSize=160;S2.hmacStrength=192;S2.padLength=64;S2.prototype._update=function(e,n){for(var a=this.h[0],r=this.h[1],f=this.h[2],i=this.h[3],s=this.h[4],o=a,c=r,d=f,l=i,h=s,y=0;y<80;y++){var v=uSe(mU(pSe(a,hSe(y,r,f,i),e[XK0[y]+n],$K0(y)),eQ0[y]),s);a=s,s=i,i=mU(f,10),f=r,r=v,v=uSe(mU(pSe(o,hSe(79-y,c,d,l),e[ZK0[y]+n],JK0(y)),tQ0[y]),h),o=h,h=l,l=mU(d,10),d=c,c=v}v=pk(this.h[1],f,l),this.h[1]=pk(this.h[2],i,h),this.h[2]=pk(this.h[3],s,o),this.h[3]=pk(this.h[4],a,c),this.h[4]=pk(this.h[0],r,d),this.h[0]=v};S2.prototype._digest=function(e){return e==="hex"?$y.toHex32(this.h,"little"):$y.split32(this.h,"little")};function hSe(t,e,n,a){return t<=15?e^n^a:t<=31?e&n|~e&a:t<=47?(e|~n)^a:t<=63?e&a|n&~a:e^(n|~a)}function $K0(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function JK0(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}var XK0=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],ZK0=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],eQ0=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],tQ0=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]});var vSe=D((xKn,gSe)=>{"use strict";u();p();var nQ0=sl(),aQ0=kc();function $w(t,e,n){if(!(this instanceof $w))return new $w(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(nQ0.toArray(e,n))}gSe.exports=$w;$w.prototype._init=function(e){e.length>this.blockSize&&(e=new this.Hash().update(e).digest()),aQ0(e.length<=this.blockSize);for(var n=e.length;n{u();p();var Zs=wSe;Zs.utils=sl();Zs.common=Gw();Zs.sha=lSe();Zs.ripemd=ySe();Zs.hmac=vSe();Zs.sha1=Zs.sha.sha1;Zs.sha256=Zs.sha.sha256;Zs.sha224=Zs.sha.sha224;Zs.sha384=Zs.sha.sha384;Zs.sha512=Zs.sha.sha512;Zs.ripemd160=Zs.ripemd.ripemd160});var xSe=D((kKn,TSe)=>{u();p();TSe.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}});var yU=D(ASe=>{"use strict";u();p();var Lae=ASe,F3=Jy(),Pae=Aae(),rQ0=v6(),ESe=rQ0.assert;function _Se(t){t.type==="short"?this.curve=new Pae.short(t):t.type==="edwards"?this.curve=new Pae.edwards(t):this.curve=new Pae.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,ESe(this.g.validate(),"Invalid curve"),ESe(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}Lae.PresetCurve=_Se;function N3(t,e){Object.defineProperty(Lae,t,{configurable:!0,enumerable:!0,get:function(){var n=new _Se(e);return Object.defineProperty(Lae,t,{configurable:!0,enumerable:!0,value:n}),n}})}N3("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:F3.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});N3("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:F3.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});N3("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:F3.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});N3("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:F3.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]});N3("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:F3.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]});N3("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:F3.sha256,gRed:!1,g:["9"]});N3("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:F3.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var Fae;try{Fae=xSe()}catch{Fae=void 0}N3("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:F3.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",Fae]})});var Nae=D((PKn,ISe)=>{"use strict";u();p();var fQ0=Jy(),Xy=AN(),CSe=kc();function O3(t){if(!(this instanceof O3))return new O3(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=Xy.toArray(t.entropy,t.entropyEnc||"hex"),n=Xy.toArray(t.nonce,t.nonceEnc||"hex"),a=Xy.toArray(t.pers,t.persEnc||"hex");CSe(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,a)}ISe.exports=O3;O3.prototype._init=function(e,n,a){var r=e.concat(n).concat(a);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var f=0;f=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(a||[])),this._reseed=1};O3.prototype.generate=function(e,n,a,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof n!="string"&&(r=a,a=n,n=null),a&&(a=Xy.toArray(a,r||"hex"),this._update(a));for(var f=[];f.length{"use strict";u();p();var iQ0=kr(),sQ0=v6(),Oae=sQ0.assert;function Uo(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}kSe.exports=Uo;Uo.fromPublic=function(e,n,a){return n instanceof Uo?n:new Uo(e,{pub:n,pubEnc:a})};Uo.fromPrivate=function(e,n,a){return n instanceof Uo?n:new Uo(e,{priv:n,privEnc:a})};Uo.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}};Uo.prototype.getPublic=function(e,n){return typeof e=="string"&&(n=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),n?this.pub.encode(n,e):this.pub};Uo.prototype.getPrivate=function(e){return e==="hex"?this.priv.toString(16,2):this.priv};Uo.prototype._importPrivate=function(e,n){this.priv=new iQ0(e,n||16),this.priv=this.priv.umod(this.ec.curve.n)};Uo.prototype._importPublic=function(e,n){if(e.x||e.y){this.ec.curve.type==="mont"?Oae(e.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&Oae(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,n)};Uo.prototype.derive=function(e){return e.validate()||Oae(e.validate(),"public point not validated"),e.mul(this.priv).getX()};Uo.prototype.sign=function(e,n,a){return this.ec.sign(e,this,n,a)};Uo.prototype.verify=function(e,n){return this.ec.verify(e,n,this)};Uo.prototype.inspect=function(){return""}});var BSe=D((HKn,MSe)=>{"use strict";u();p();var gU=kr(),zae=v6(),oQ0=zae.assert;function vU(t,e){if(t instanceof vU)return t;this._importDER(t,e)||(oQ0(t.r&&t.s,"Signature without r or s"),this.r=new gU(t.r,16),this.s=new gU(t.s,16),t.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}MSe.exports=vU;function cQ0(){this.place=0}function Uae(t,e){var n=t[e.place++];if(!(n&128))return n;var a=n&15;if(a===0||a>4)return!1;for(var r=0,f=0,i=e.place;f>>=0;return r<=127?!1:(e.place=i,r)}function RSe(t){for(var e=0,n=t.length-1;!t[e]&&!(t[e+1]&128)&&e>>3);for(t.push(n|128);--n;)t.push(e>>>(n<<3)&255);t.push(e)}vU.prototype.toDER=function(e){var n=this.r.toArray(),a=this.s.toArray();for(n[0]&128&&(n=[0].concat(n)),a[0]&128&&(a=[0].concat(a)),n=RSe(n),a=RSe(a);!a[0]&&!(a[1]&128);)a=a.slice(1);var r=[2];Hae(r,n.length),r=r.concat(n),r.push(2),Hae(r,a.length);var f=r.concat(a),i=[48];return Hae(i,f.length),i=i.concat(f),zae.encode(i,e)}});var FSe=D((qKn,LSe)=>{"use strict";u();p();var Zy=kr(),DSe=Nae(),dQ0=v6(),Wae=yU(),lQ0=Pw(),PSe=dQ0.assert,qae=SSe(),wU=BSe();function B5(t){if(!(this instanceof B5))return new B5(t);typeof t=="string"&&(PSe(Object.prototype.hasOwnProperty.call(Wae,t),"Unknown curve "+t),t=Wae[t]),t instanceof Wae.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}LSe.exports=B5;B5.prototype.keyPair=function(e){return new qae(this,e)};B5.prototype.keyFromPrivate=function(e,n){return qae.fromPrivate(this,e,n)};B5.prototype.keyFromPublic=function(e,n){return qae.fromPublic(this,e,n)};B5.prototype.genKeyPair=function(e){e||(e={});for(var n=new DSe({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||lQ0(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),r=this.n.sub(new Zy(2));;){var f=new Zy(n.generate(a));if(!(f.cmp(r)>0))return f.iaddn(1),this.keyFromPrivate(f)}};B5.prototype._truncateToN=function(e,n){var a=e.byteLength()*8-this.n.bitLength();return a>0&&(e=e.ushrn(a)),!n&&e.cmp(this.n)>=0?e.sub(this.n):e};B5.prototype.sign=function(e,n,a,r){typeof a=="object"&&(r=a,a=null),r||(r={}),n=this.keyFromPrivate(n,a),e=this._truncateToN(new Zy(e,16));for(var f=this.n.byteLength(),i=n.getPrivate().toArray("be",f),s=e.toArray("be",f),o=new DSe({hash:this.hash,entropy:i,nonce:s,pers:r.pers,persEnc:r.persEnc||"utf8"}),c=this.n.sub(new Zy(1)),d=0;;d++){var l=r.k?r.k(d):new Zy(o.generate(this.n.byteLength()));if(l=this._truncateToN(l,!0),!(l.cmpn(1)<=0||l.cmp(c)>=0)){var h=this.g.mul(l);if(!h.isInfinity()){var y=h.getX(),v=y.umod(this.n);if(v.cmpn(0)!==0){var S=l.invm(this.n).mul(v.mul(n.getPrivate()).iadd(e));if(S=S.umod(this.n),S.cmpn(0)!==0){var O=(h.getY().isOdd()?1:0)|(y.cmp(v)!==0?2:0);return r.canonical&&S.cmp(this.nh)>0&&(S=this.n.sub(S),O^=1),new wU({r:v,s:S,recoveryParam:O})}}}}}};B5.prototype.verify=function(e,n,a,r){e=this._truncateToN(new Zy(e,16)),a=this.keyFromPublic(a,r),n=new wU(n,"hex");var f=n.r,i=n.s;if(f.cmpn(1)<0||f.cmp(this.n)>=0||i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var s=i.invm(this.n),o=s.mul(e).umod(this.n),c=s.mul(f).umod(this.n),d;return this.curve._maxwellTrick?(d=this.g.jmulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.eqXToP(f)):(d=this.g.mulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.getX().umod(this.n).cmp(f)===0)};B5.prototype.recoverPubKey=function(t,e,n,a){PSe((3&n)===n,"The recovery param is more than two bits"),e=new wU(e,a);var r=this.n,f=new Zy(t),i=e.r,s=e.s,o=n&1,c=n>>1;if(i.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?i=this.curve.pointFromX(i.add(this.curve.n),o):i=this.curve.pointFromX(i,o);var d=e.r.invm(r),l=r.sub(f).mul(d).umod(r),h=s.mul(d).umod(r);return this.g.mulAdd(l,i,h)};B5.prototype.getKeyRecoveryParam=function(t,e,n,a){if(e=new wU(e,a),e.recoveryParam!==null)return e.recoveryParam;for(var r=0;r<4;r++){var f;try{f=this.recoverPubKey(t,e,r)}catch{continue}if(f.eq(n))return r}throw new Error("Unable to find valid recovery factor")}});var HSe=D((KKn,USe)=>{"use strict";u();p();var hk=v6(),OSe=hk.assert,NSe=hk.parseBytes,Jw=hk.cachedProperty;function gs(t,e){this.eddsa=t,this._secret=NSe(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=NSe(e.pub)}gs.fromPublic=function(e,n){return n instanceof gs?n:new gs(e,{pub:n})};gs.fromSecret=function(e,n){return n instanceof gs?n:new gs(e,{secret:n})};gs.prototype.secret=function(){return this._secret};Jw(gs,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});Jw(gs,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});Jw(gs,"privBytes",function(){var e=this.eddsa,n=this.hash(),a=e.encodingLength-1,r=n.slice(0,e.encodingLength);return r[0]&=248,r[a]&=127,r[a]|=64,r});Jw(gs,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});Jw(gs,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});Jw(gs,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});gs.prototype.sign=function(e){return OSe(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)};gs.prototype.verify=function(e,n){return this.eddsa.verify(e,n,this)};gs.prototype.getSecret=function(e){return OSe(this._secret,"KeyPair is public only"),hk.encode(this.secret(),e)};gs.prototype.getPublic=function(e){return hk.encode(this.pubBytes(),e)};USe.exports=gs});var WSe=D((YKn,zSe)=>{"use strict";u();p();var uQ0=kr(),TU=v6(),pQ0=TU.assert,xU=TU.cachedProperty,hQ0=TU.parseBytes;function e7(t,e){this.eddsa=t,typeof e!="object"&&(e=hQ0(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),pQ0(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof uQ0&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}xU(e7,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});xU(e7,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});xU(e7,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});xU(e7,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});e7.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};e7.prototype.toHex=function(){return TU.encode(this.toBytes(),"hex").toUpperCase()};zSe.exports=e7});var QSe=D((XKn,KSe)=>{"use strict";u();p();var bQ0=Jy(),mQ0=yU(),Xw=v6(),yQ0=Xw.assert,jSe=Xw.parseBytes,GSe=HSe(),qSe=WSe();function Mc(t){if(yQ0(t==="ed25519","only tested with ed25519 so far"),!(this instanceof Mc))return new Mc(t);t=mQ0[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=bQ0.sha512}KSe.exports=Mc;Mc.prototype.sign=function(e,n){e=jSe(e);var a=this.keyFromSecret(n),r=this.hashInt(a.messagePrefix(),e),f=this.g.mul(r),i=this.encodePoint(f),s=this.hashInt(i,a.pubBytes(),e).mul(a.priv()),o=r.add(s).umod(this.curve.n);return this.makeSignature({R:f,S:o,Rencoded:i})};Mc.prototype.verify=function(e,n,a){e=jSe(e),n=this.makeSignature(n);var r=this.keyFromPublic(a),f=this.hashInt(n.Rencoded(),r.pubBytes(),e),i=this.g.mul(n.S()),s=n.R().add(r.pub().mul(f));return s.eq(i)};Mc.prototype.hashInt=function(){for(var e=this.hash(),n=0;n{"use strict";u();p();var t7=VSe;t7.version=Rke().version;t7.utils=v6();t7.rand=Pw();t7.curve=Aae();t7.curves=yU();t7.ec=FSe();t7.eddsa=QSe()});var YSe=D((exports,module)=>{u();p();var indexOf=function(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0;n{u();p();var $Se=eT(),gQ0=Nt(),vQ0=JSe;vQ0.define=function(e,n){return new Zw(e,n)};function Zw(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}Zw.prototype._createNamed=function(e){var n;try{n=YSe().runInThisContext("(function "+this.name+`(entity) { + `)+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}Vn.types=c_e();function h_e(t){return Array.isArray(t)}Vn.isArray=h_e;function Hte(t){return typeof t=="boolean"}Vn.isBoolean=Hte;function rO(t){return t===null}Vn.isNull=rO;function XO0(t){return t==null}Vn.isNullOrUndefined=XO0;function b_e(t){return typeof t=="number"}Vn.isNumber=b_e;function fO(t){return typeof t=="string"}Vn.isString=fO;function ZO0(t){return typeof t=="symbol"}Vn.isSymbol=ZO0;function My(t){return t===void 0}Vn.isUndefined=My;function _I(t){return _w(t)&&zte(t)==="[object RegExp]"}Vn.isRegExp=_I;Vn.types.isRegExp=_I;function _w(t){return typeof t=="object"&&t!==null}Vn.isObject=_w;function aO(t){return _w(t)&&zte(t)==="[object Date]"}Vn.isDate=aO;Vn.types.isDate=aO;function AI(t){return _w(t)&&(zte(t)==="[object Error]"||t instanceof Error)}Vn.isError=AI;Vn.types.isNativeError=AI;function tO(t){return typeof t=="function"}Vn.isFunction=tO;function eU0(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}Vn.isPrimitive=eU0;Vn.isBuffer=l_e();function zte(t){return Object.prototype.toString.call(t)}function Ote(t){return t<10?"0"+t.toString(10):t.toString(10)}var tU0=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function nU0(){var t=new Date,e=[Ote(t.getHours()),Ote(t.getMinutes()),Ote(t.getSeconds())].join(":");return[t.getDate(),tU0[t.getMonth()],e].join(" ")}Vn.log=function(){console.log("%s - %s",nU0(),Vn.format.apply(Vn,arguments))};Vn.inherits=Nt();Vn._extend=function(t,e){if(!e||!_w(e))return t;for(var n=Object.keys(e),a=n.length;a--;)t[n[a]]=e[n[a]];return t};function m_e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Ry=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Vn.promisify=function(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');if(Ry&&e[Ry]){var n=e[Ry];if(typeof n!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(n,Ry,{value:n,enumerable:!1,writable:!1,configurable:!0}),n}function n(){for(var a,r,f=new Promise(function(o,c){a=o,r=c}),i=[],s=0;s{"use strict";u();p();function y_e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function g_e(t){for(var e=1;e0?this.tail.next=a:this.head=a,this.tail=a,++this.length}},{key:"unshift",value:function(n){var a={data:n,next:this.head};this.length===0&&(this.tail=a),this.head=a,++this.length}},{key:"shift",value:function(){if(this.length!==0){var n=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,n}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(n){if(this.length===0)return"";for(var a=this.head,r=""+a.data;a=a.next;)r+=n+a.data;return r}},{key:"concat",value:function(n){if(this.length===0)return iO.alloc(0);for(var a=iO.allocUnsafe(n>>>0),r=this.head,f=0;r;)uU0(r.data,a,f),f+=r.data.length,r=r.next;return a}},{key:"consume",value:function(n,a){var r;return ni.length?i.length:n;if(s===i.length?f+=i:f+=i.slice(0,n),n-=s,n===0){s===i.length?(++r,a.next?this.head=a.next:this.head=this.tail=null):(this.head=a,a.data=i.slice(s));break}++r}return this.length-=r,f}},{key:"_getBuffer",value:function(n){var a=iO.allocUnsafe(n),r=this.head,f=1;for(r.data.copy(a),n-=r.data.length;r=r.next;){var i=r.data,s=n>i.length?i.length:n;if(i.copy(a,a.length-n,0,s),n-=s,n===0){s===i.length?(++f,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(s));break}++f}return this.length-=f,a}},{key:lU0,value:function(n,a){return Wte(this,g_e(g_e({},a),{},{depth:0,customInspect:!1}))}}]),t}()});var jte=D((NHn,__e)=>{"use strict";u();p();function pU0(t,e){var n=this,a=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return a||r?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,E.nextTick(qte,this,t)):E.nextTick(qte,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(f){!e&&f?n._writableState?n._writableState.errorEmitted?E.nextTick(sO,n):(n._writableState.errorEmitted=!0,E.nextTick(E_e,n,f)):E.nextTick(E_e,n,f):e?(E.nextTick(sO,n),e(f)):E.nextTick(sO,n)}),this)}function E_e(t,e){qte(t,e),sO(t)}function sO(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function hU0(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function qte(t,e){t.emit("error",e)}function bU0(t,e){var n=t._readableState,a=t._writableState;n&&n.autoDestroy||a&&a.autoDestroy?t.destroy(e):t.emit("error",e)}__e.exports={destroy:pU0,undestroy:hU0,errorOrDestroy:bU0}});var By=D((HHn,I_e)=>{"use strict";u();p();function mU0(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var C_e={};function E5(t,e,n){n||(n=Error);function a(f,i,s){return typeof e=="string"?e:e(f,i,s)}var r=function(f){mU0(i,f);function i(s,o,c){return f.call(this,a(s,o,c))||this}return i}(n);r.prototype.name=n.name,r.prototype.code=t,C_e[t]=r}function A_e(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map(function(a){return String(a)}),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:n===2?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}else return"of ".concat(e," ").concat(String(t))}function yU0(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function gU0(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function vU0(t,e,n){return typeof n!="number"&&(n=0),n+e.length>t.length?!1:t.indexOf(e,n)!==-1}E5("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);E5("ERR_INVALID_ARG_TYPE",function(t,e,n){var a;typeof e=="string"&&yU0(e,"not ")?(a="must not be",e=e.replace(/^not /,"")):a="must be";var r;if(gU0(t," argument"))r="The ".concat(t," ").concat(a," ").concat(A_e(e,"type"));else{var f=vU0(t,".")?"property":"argument";r='The "'.concat(t,'" ').concat(f," ").concat(a," ").concat(A_e(e,"type"))}return r+=". Received type ".concat(typeof n),r},TypeError);E5("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");E5("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"});E5("ERR_STREAM_PREMATURE_CLOSE","Premature close");E5("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"});E5("ERR_MULTIPLE_CALLBACK","Callback called multiple times");E5("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");E5("ERR_STREAM_WRITE_AFTER_END","write after end");E5("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);E5("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError);E5("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");I_e.exports.codes=C_e});var Gte=D((qHn,k_e)=>{"use strict";u();p();var wU0=By().codes.ERR_INVALID_OPT_VALUE;function TU0(t,e,n){return t.highWaterMark!=null?t.highWaterMark:e?t[n]:null}function xU0(t,e,n,a){var r=TU0(e,a,n);if(r!=null){if(!(isFinite(r)&&Math.floor(r)===r)||r<0){var f=a?n:"highWaterMark";throw new wU0(f,r)}return Math.floor(r)}return t.objectMode?16:16*1024}k_e.exports={getHighWaterMark:xU0}});var Qte=D((KHn,S_e)=>{u();p();S_e.exports=EU0;function EU0(t,e){if(Kte("noDeprecation"))return t;var n=!1;function a(){if(!n){if(Kte("throwDeprecation"))throw new Error(e);Kte("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}return a}function Kte(t){try{if(!global.localStorage)return!1}catch{return!1}var e=global.localStorage[t];return e==null?!1:String(e).toLowerCase()==="true"}});var dO=D((YHn,L_e)=>{"use strict";u();p();L_e.exports=Yf;function M_e(t){var e=this;this.next=null,this.entry=null,this.finish=function(){$U0(e,t)}}var Aw;Yf.WritableState=II;var _U0={deprecate:Qte()},B_e=pte(),cO=Kf().Buffer,AU0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function CU0(t){return cO.from(t)}function IU0(t){return cO.isBuffer(t)||t instanceof AU0}var Yte=jte(),kU0=Gte(),SU0=kU0.getHighWaterMark,C3=By().codes,RU0=C3.ERR_INVALID_ARG_TYPE,MU0=C3.ERR_METHOD_NOT_IMPLEMENTED,BU0=C3.ERR_MULTIPLE_CALLBACK,DU0=C3.ERR_STREAM_CANNOT_PIPE,PU0=C3.ERR_STREAM_DESTROYED,LU0=C3.ERR_STREAM_NULL_VALUES,FU0=C3.ERR_STREAM_WRITE_AFTER_END,NU0=C3.ERR_UNKNOWN_ENCODING,Cw=Yte.errorOrDestroy;Nt()(Yf,B_e);function OU0(){}function II(t,e,n){Aw=Aw||I3(),t=t||{},typeof n!="boolean"&&(n=e instanceof Aw),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=SU0(this,t,"writableHighWaterMark",n),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=t.decodeStrings===!1;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(r){GU0(e,r)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new M_e(this)}II.prototype.getBuffer=function(){for(var e=this.bufferedRequest,n=[];e;)n.push(e),e=e.next;return n};(function(){try{Object.defineProperty(II.prototype,"buffer",{get:_U0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var oO;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(oO=Function.prototype[Symbol.hasInstance],Object.defineProperty(Yf,Symbol.hasInstance,{value:function(e){return oO.call(this,e)?!0:this!==Yf?!1:e&&e._writableState instanceof II}})):oO=function(e){return e instanceof this};function Yf(t){Aw=Aw||I3();var e=this instanceof Aw;if(!e&&!oO.call(Yf,this))return new Yf(t);this._writableState=new II(t,this,e),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),B_e.call(this)}Yf.prototype.pipe=function(){Cw(this,new DU0)};function UU0(t,e){var n=new FU0;Cw(t,n),E.nextTick(e,n)}function HU0(t,e,n,a){var r;return n===null?r=new LU0:typeof n!="string"&&!e.objectMode&&(r=new RU0("chunk",["string","Buffer"],n)),r?(Cw(t,r),E.nextTick(a,r),!1):!0}Yf.prototype.write=function(t,e,n){var a=this._writableState,r=!1,f=!a.objectMode&&IU0(t);return f&&!cO.isBuffer(t)&&(t=CU0(t)),typeof e=="function"&&(n=e,e=null),f?e="buffer":e||(e=a.defaultEncoding),typeof n!="function"&&(n=OU0),a.ending?UU0(this,n):(f||HU0(this,a,t,n))&&(a.pendingcb++,r=WU0(this,a,f,t,e,n)),r};Yf.prototype.cork=function(){this._writableState.corked++};Yf.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&D_e(this,t))};Yf.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new NU0(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(Yf.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function zU0(t,e,n){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=cO.from(e,n)),e}Object.defineProperty(Yf.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function WU0(t,e,n,a,r,f){if(!n){var i=zU0(e,a,r);a!==i&&(n=!0,r="buffer",a=i)}var s=e.objectMode?1:a.length;e.length+=s;var o=e.length{"use strict";u();p();var JU0=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};N_e.exports=w2;var F_e=pO(),Jte=dO();Nt()(w2,F_e);for($te=JU0(Jte.prototype),lO=0;lO<$te.length;lO++)uO=$te[lO],w2.prototype[uO]||(w2.prototype[uO]=Jte.prototype[uO]);var $te,uO,lO;function w2(t){if(!(this instanceof w2))return new w2(t);F_e.call(this,t),Jte.call(this,t),this.allowHalfOpen=!0,t&&(t.readable===!1&&(this.readable=!1),t.writable===!1&&(this.writable=!1),t.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",XU0)))}Object.defineProperty(w2.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(w2.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(w2.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function XU0(){this._writableState.ended||E.nextTick(ZU0,this)}function ZU0(t){t.end()}Object.defineProperty(w2.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}})});var hO=D(U_e=>{"use strict";u();p();var Zte=En().Buffer,O_e=Zte.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function eH0(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function tH0(t){var e=eH0(t);if(typeof e!="string"&&(Zte.isEncoding===O_e||!O_e(t)))throw new Error("Unknown encoding: "+t);return e||t}U_e.StringDecoder=kI;function kI(t){this.encoding=tH0(t);var e;switch(this.encoding){case"utf16le":this.text=sH0,this.end=oH0,e=4;break;case"utf8":this.fillLast=rH0,e=4;break;case"base64":this.text=cH0,this.end=dH0,e=3;break;default:this.write=lH0,this.end=uH0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Zte.allocUnsafe(e)}kI.prototype.write=function(t){if(t.length===0)return"";var e,n;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function nH0(t,e,n){var a=e.length-1;if(a=0?(r>0&&(t.lastNeed=r-1),r):--a=0?(r>0&&(t.lastNeed=r-2),r):--a=0?(r>0&&(r===2?r=0:t.lastNeed=r-3),r):0))}function aH0(t,e,n){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function rH0(t){var e=this.lastTotal-this.lastNeed,n=aH0(this,t,e);if(n!==void 0)return n;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function fH0(t,e){var n=nH0(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var a=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,a),t.toString("utf8",e,a)}function iH0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function sH0(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var a=n.charCodeAt(n.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function oH0(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function cH0(t,e){var n=(t.length-e)%3;return n===0?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function dH0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function lH0(t){return t.toString(this.encoding)}function uH0(t){return t&&t.length?this.write(t):""}});var SI=D((rzn,W_e)=>{"use strict";u();p();var H_e=By().codes.ERR_STREAM_PREMATURE_CLOSE;function pH0(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,a=new Array(n),r=0;r{"use strict";u();p();var bO;function k3(t,e,n){return e=mH0(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mH0(t){var e=yH0(t,"string");return typeof e=="symbol"?e:String(e)}function yH0(t,e){if(typeof t!="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var a=n.call(t,e||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var gH0=SI(),S3=Symbol("lastResolve"),Dy=Symbol("lastReject"),RI=Symbol("error"),mO=Symbol("ended"),Py=Symbol("lastPromise"),ene=Symbol("handlePromise"),Ly=Symbol("stream");function R3(t,e){return{value:t,done:e}}function vH0(t){var e=t[S3];if(e!==null){var n=t[Ly].read();n!==null&&(t[Py]=null,t[S3]=null,t[Dy]=null,e(R3(n,!1)))}}function wH0(t){E.nextTick(vH0,t)}function TH0(t,e){return function(n,a){t.then(function(){if(e[mO]){n(R3(void 0,!0));return}e[ene](n,a)},a)}}var xH0=Object.getPrototypeOf(function(){}),EH0=Object.setPrototypeOf((bO={get stream(){return this[Ly]},next:function(){var e=this,n=this[RI];if(n!==null)return Promise.reject(n);if(this[mO])return Promise.resolve(R3(void 0,!0));if(this[Ly].destroyed)return new Promise(function(i,s){E.nextTick(function(){e[RI]?s(e[RI]):i(R3(void 0,!0))})});var a=this[Py],r;if(a)r=new Promise(TH0(a,this));else{var f=this[Ly].read();if(f!==null)return Promise.resolve(R3(f,!1));r=new Promise(this[ene])}return this[Py]=r,r}},k3(bO,Symbol.asyncIterator,function(){return this}),k3(bO,"return",function(){var e=this;return new Promise(function(n,a){e[Ly].destroy(null,function(r){if(r){a(r);return}n(R3(void 0,!0))})})}),bO),xH0),_H0=function(e){var n,a=Object.create(EH0,(n={},k3(n,Ly,{value:e,writable:!0}),k3(n,S3,{value:null,writable:!0}),k3(n,Dy,{value:null,writable:!0}),k3(n,RI,{value:null,writable:!0}),k3(n,mO,{value:e._readableState.endEmitted,writable:!0}),k3(n,ene,{value:function(f,i){var s=a[Ly].read();s?(a[Py]=null,a[S3]=null,a[Dy]=null,f(R3(s,!1))):(a[S3]=f,a[Dy]=i)},writable:!0}),n));return a[Py]=null,gH0(e,function(r){if(r&&r.code!=="ERR_STREAM_PREMATURE_CLOSE"){var f=a[Dy];f!==null&&(a[Py]=null,a[S3]=null,a[Dy]=null,f(r)),a[RI]=r;return}var i=a[S3];i!==null&&(a[Py]=null,a[S3]=null,a[Dy]=null,i(R3(void 0,!0))),a[mO]=!0}),e.on("readable",wH0.bind(null,a)),a};q_e.exports=_H0});var K_e=D((dzn,G_e)=>{u();p();G_e.exports=function(){throw new Error("Readable.from is not available in the browser")}});var pO=D((hzn,nAe)=>{"use strict";u();p();nAe.exports=Ea;var Iw;Ea.ReadableState=$_e;var pzn=Nr().EventEmitter,Y_e=function(e,n){return e.listeners(n).length},BI=pte(),yO=Kf().Buffer,AH0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function CH0(t){return yO.from(t)}function IH0(t){return yO.isBuffer(t)||t instanceof AH0}var tne=nl(),Un;tne&&tne.debuglog?Un=tne.debuglog("stream"):Un=function(){};var kH0=x_e(),one=jte(),SH0=Gte(),RH0=SH0.getHighWaterMark,gO=By().codes,MH0=gO.ERR_INVALID_ARG_TYPE,BH0=gO.ERR_STREAM_PUSH_AFTER_EOF,DH0=gO.ERR_METHOD_NOT_IMPLEMENTED,PH0=gO.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,kw,nne,ane;Nt()(Ea,BI);var MI=one.errorOrDestroy,rne=["error","close","destroy","pause","resume"];function LH0(t,e,n){if(typeof t.prependListener=="function")return t.prependListener(e,n);!t._events||!t._events[e]?t.on(e,n):Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]}function $_e(t,e,n){Iw=Iw||I3(),t=t||{},typeof n!="boolean"&&(n=e instanceof Iw),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=RH0(this,t,"readableHighWaterMark",n),this.buffer=new kH0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(kw||(kw=hO().StringDecoder),this.decoder=new kw(t.encoding),this.encoding=t.encoding)}function Ea(t){if(Iw=Iw||I3(),!(this instanceof Ea))return new Ea(t);var e=this instanceof Iw;this._readableState=new $_e(t,this,e),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),BI.call(this)}Object.defineProperty(Ea.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});Ea.prototype.destroy=one.destroy;Ea.prototype._undestroy=one.undestroy;Ea.prototype._destroy=function(t,e){e(t)};Ea.prototype.push=function(t,e){var n=this._readableState,a;return n.objectMode?a=!0:typeof t=="string"&&(e=e||n.defaultEncoding,e!==n.encoding&&(t=yO.from(t,e),e=""),a=!0),J_e(this,t,e,!1,a)};Ea.prototype.unshift=function(t){return J_e(this,t,null,!0,!1)};function J_e(t,e,n,a,r){Un("readableAddChunk",e);var f=t._readableState;if(e===null)f.reading=!1,OH0(t,f);else{var i;if(r||(i=FH0(f,e)),i)MI(t,i);else if(f.objectMode||e&&e.length>0)if(typeof e!="string"&&!f.objectMode&&Object.getPrototypeOf(e)!==yO.prototype&&(e=CH0(e)),a)f.endEmitted?MI(t,new PH0):fne(t,f,e,!0);else if(f.ended)MI(t,new BH0);else{if(f.destroyed)return!1;f.reading=!1,f.decoder&&!n?(e=f.decoder.write(e),f.objectMode||e.length!==0?fne(t,f,e,!1):sne(t,f)):fne(t,f,e,!1)}else a||(f.reading=!1,sne(t,f))}return!f.ended&&(f.length=Q_e?t=Q_e:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function V_e(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=NH0(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}Ea.prototype.read=function(t){Un("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return Un("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?ine(this):vO(this),null;if(t=V_e(t,e),t===0&&e.ended)return e.length===0&&ine(this),null;var a=e.needReadable;Un("need readable",a),(e.length===0||e.length-t0?r=eAe(t,e):r=null,r===null?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),e.length===0&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&ine(this)),r!==null&&this.emit("data",r),r};function OH0(t,e){if(Un("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?vO(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,X_e(t)))}}function vO(t){var e=t._readableState;Un("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(Un("emitReadable",e.flowing),e.emittedReadable=!0,E.nextTick(X_e,t))}function X_e(t){var e=t._readableState;Un("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,cne(t)}function sne(t,e){e.readingMore||(e.readingMore=!0,E.nextTick(UH0,t,e))}function UH0(t,e){for(;!e.reading&&!e.ended&&(e.length1&&tAe(a.pipes,t)!==-1)&&!c&&(Un("false write response, pause",a.awaitDrain),a.awaitDrain++),n.pause())}function h(O){Un("onerror",O),k(),t.removeListener("error",h),Y_e(t,"error")===0&&MI(t,O)}LH0(t,"error",h);function y(){t.removeListener("finish",v),k()}t.once("close",y);function v(){Un("onfinish"),t.removeListener("close",y),k()}t.once("finish",v);function k(){Un("unpipe"),n.unpipe(t)}return t.emit("pipe",n),a.flowing||(Un("pipe resume"),n.resume()),t};function HH0(t){return function(){var n=t._readableState;Un("pipeOnDrain",n.awaitDrain),n.awaitDrain&&n.awaitDrain--,n.awaitDrain===0&&Y_e(t,"data")&&(n.flowing=!0,cne(t))}}Ea.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n),this);if(!t){var a=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var f=0;f0,a.flowing!==!1&&this.resume()):t==="readable"&&!a.endEmitted&&!a.readableListening&&(a.readableListening=a.needReadable=!0,a.flowing=!1,a.emittedReadable=!1,Un("on readable",a.length,a.reading),a.length?vO(this):a.reading||E.nextTick(zH0,this)),n};Ea.prototype.addListener=Ea.prototype.on;Ea.prototype.removeListener=function(t,e){var n=BI.prototype.removeListener.call(this,t,e);return t==="readable"&&E.nextTick(Z_e,this),n};Ea.prototype.removeAllListeners=function(t){var e=BI.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&E.nextTick(Z_e,this),e};function Z_e(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function zH0(t){Un("readable nexttick read 0"),t.read(0)}Ea.prototype.resume=function(){var t=this._readableState;return t.flowing||(Un("resume"),t.flowing=!t.readableListening,WH0(this,t)),t.paused=!1,this};function WH0(t,e){e.resumeScheduled||(e.resumeScheduled=!0,E.nextTick(qH0,t,e))}function qH0(t,e){Un("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),cne(t),e.flowing&&!e.reading&&t.read(0)}Ea.prototype.pause=function(){return Un("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(Un("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function cne(t){var e=t._readableState;for(Un("flow",e.flowing);e.flowing&&t.read()!==null;);}Ea.prototype.wrap=function(t){var e=this,n=this._readableState,a=!1;t.on("end",function(){if(Un("wrapped end"),n.decoder&&!n.ended){var i=n.decoder.end();i&&i.length&&e.push(i)}e.push(null)}),t.on("data",function(i){if(Un("wrapped data"),n.decoder&&(i=n.decoder.write(i)),!(n.objectMode&&i==null)&&!(!n.objectMode&&(!i||!i.length))){var s=e.push(i);s||(a=!0,t.pause())}});for(var r in t)this[r]===void 0&&typeof t[r]=="function"&&(this[r]=function(s){return function(){return t[s].apply(t,arguments)}}(r));for(var f=0;f=e.length?(e.decoder?n=e.buffer.join(""):e.buffer.length===1?n=e.buffer.first():n=e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n}function ine(t){var e=t._readableState;Un("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,E.nextTick(jH0,e,t))}function jH0(t,e){if(Un("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}typeof Symbol=="function"&&(Ea.from=function(t,e){return ane===void 0&&(ane=K_e()),ane(Ea,t,e)});function tAe(t,e){for(var n=0,a=t.length;n{"use strict";u();p();rAe.exports=i8;var wO=By().codes,GH0=wO.ERR_METHOD_NOT_IMPLEMENTED,KH0=wO.ERR_MULTIPLE_CALLBACK,QH0=wO.ERR_TRANSFORM_ALREADY_TRANSFORMING,VH0=wO.ERR_TRANSFORM_WITH_LENGTH_0,TO=I3();Nt()(i8,TO);function YH0(t,e){var n=this._transformState;n.transforming=!1;var a=n.writecb;if(a===null)return this.emit("error",new KH0);n.writechunk=null,n.writecb=null,e!=null&&this.push(e),a(t);var r=this._readableState;r.reading=!1,(r.needReadable||r.length{"use strict";u();p();iAe.exports=DI;var fAe=xO();Nt()(DI,fAe);function DI(t){if(!(this instanceof DI))return new DI(t);fAe.call(this,t)}DI.prototype._transform=function(t,e,n){n(null,t)}});var une=D((Ezn,dAe)=>{"use strict";u();p();var lne;function JH0(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var cAe=By().codes,XH0=cAe.ERR_MISSING_ARGS,ZH0=cAe.ERR_STREAM_DESTROYED;function sAe(t){if(t)throw t}function ez0(t){return t.setHeader&&typeof t.abort=="function"}function tz0(t,e,n,a){a=JH0(a);var r=!1;t.on("close",function(){r=!0}),lne===void 0&&(lne=SI()),lne(t,{readable:e,writable:n},function(i){if(i)return a(i);r=!0,a()});var f=!1;return function(i){if(!r&&!f){if(f=!0,ez0(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();a(i||new ZH0("pipe"))}}}function oAe(t){t()}function nz0(t,e){return t.pipe(e)}function az0(t){return!t.length||typeof t[t.length-1]!="function"?sAe:t.pop()}function rz0(){for(var t=arguments.length,e=new Array(t),n=0;n0;return tz0(i,o,c,function(d){r||(r=d),d&&f.forEach(oAe),!o&&(f.forEach(oAe),a(r))})});return e.reduce(nz0)}dAe.exports=rz0});var EO=D((_5,lAe)=>{u();p();_5=lAe.exports=pO();_5.Stream=_5;_5.Readable=_5;_5.Writable=dO();_5.Duplex=I3();_5.Transform=xO();_5.PassThrough=dne();_5.finished=SI();_5.pipeline=une()});var pne=D((kzn,pAe)=>{"use strict";u();p();var _O=En().Buffer,uAe=EO().Transform,fz0=Nt();function iz0(t,e){if(!_O.isBuffer(t)&&typeof t!="string")throw new TypeError(e+" must be a string or a buffer")}function M3(t){uAe.call(this),this._block=_O.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}fz0(M3,uAe);M3.prototype._transform=function(t,e,n){var a=null;try{this.update(t,e)}catch(r){a=r}n(a)};M3.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(n){e=n}t(e)};M3.prototype.update=function(t,e){if(iz0(t,"Data"),this._finalized)throw new Error("Digest already called");_O.isBuffer(t)||(t=_O.from(t,e));for(var n=this._block,a=0;this._blockOffset+t.length-a>=this._blockSize;){for(var r=this._blockOffset;r0;++f)this._length[f]+=i,i=this._length[f]/4294967296|0,i>0&&(this._length[f]-=4294967296*i);return this};M3.prototype._update=function(){throw new Error("_update is not implemented")};M3.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();t!==void 0&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return e};M3.prototype._digest=function(){throw new Error("_digest is not implemented")};pAe.exports=M3});var IO=D((Mzn,bAe)=>{"use strict";u();p();var sz0=Nt(),hAe=pne(),oz0=En().Buffer,cz0=new Array(16);function AO(){hAe.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}sz0(AO,hAe);AO.prototype._update=function(){for(var t=cz0,e=0;e<16;++e)t[e]=this._block.readInt32LE(e*4);var n=this._a,a=this._b,r=this._c,f=this._d;n=Po(n,a,r,f,t[0],3614090360,7),f=Po(f,n,a,r,t[1],3905402710,12),r=Po(r,f,n,a,t[2],606105819,17),a=Po(a,r,f,n,t[3],3250441966,22),n=Po(n,a,r,f,t[4],4118548399,7),f=Po(f,n,a,r,t[5],1200080426,12),r=Po(r,f,n,a,t[6],2821735955,17),a=Po(a,r,f,n,t[7],4249261313,22),n=Po(n,a,r,f,t[8],1770035416,7),f=Po(f,n,a,r,t[9],2336552879,12),r=Po(r,f,n,a,t[10],4294925233,17),a=Po(a,r,f,n,t[11],2304563134,22),n=Po(n,a,r,f,t[12],1804603682,7),f=Po(f,n,a,r,t[13],4254626195,12),r=Po(r,f,n,a,t[14],2792965006,17),a=Po(a,r,f,n,t[15],1236535329,22),n=Lo(n,a,r,f,t[1],4129170786,5),f=Lo(f,n,a,r,t[6],3225465664,9),r=Lo(r,f,n,a,t[11],643717713,14),a=Lo(a,r,f,n,t[0],3921069994,20),n=Lo(n,a,r,f,t[5],3593408605,5),f=Lo(f,n,a,r,t[10],38016083,9),r=Lo(r,f,n,a,t[15],3634488961,14),a=Lo(a,r,f,n,t[4],3889429448,20),n=Lo(n,a,r,f,t[9],568446438,5),f=Lo(f,n,a,r,t[14],3275163606,9),r=Lo(r,f,n,a,t[3],4107603335,14),a=Lo(a,r,f,n,t[8],1163531501,20),n=Lo(n,a,r,f,t[13],2850285829,5),f=Lo(f,n,a,r,t[2],4243563512,9),r=Lo(r,f,n,a,t[7],1735328473,14),a=Lo(a,r,f,n,t[12],2368359562,20),n=Fo(n,a,r,f,t[5],4294588738,4),f=Fo(f,n,a,r,t[8],2272392833,11),r=Fo(r,f,n,a,t[11],1839030562,16),a=Fo(a,r,f,n,t[14],4259657740,23),n=Fo(n,a,r,f,t[1],2763975236,4),f=Fo(f,n,a,r,t[4],1272893353,11),r=Fo(r,f,n,a,t[7],4139469664,16),a=Fo(a,r,f,n,t[10],3200236656,23),n=Fo(n,a,r,f,t[13],681279174,4),f=Fo(f,n,a,r,t[0],3936430074,11),r=Fo(r,f,n,a,t[3],3572445317,16),a=Fo(a,r,f,n,t[6],76029189,23),n=Fo(n,a,r,f,t[9],3654602809,4),f=Fo(f,n,a,r,t[12],3873151461,11),r=Fo(r,f,n,a,t[15],530742520,16),a=Fo(a,r,f,n,t[2],3299628645,23),n=No(n,a,r,f,t[0],4096336452,6),f=No(f,n,a,r,t[7],1126891415,10),r=No(r,f,n,a,t[14],2878612391,15),a=No(a,r,f,n,t[5],4237533241,21),n=No(n,a,r,f,t[12],1700485571,6),f=No(f,n,a,r,t[3],2399980690,10),r=No(r,f,n,a,t[10],4293915773,15),a=No(a,r,f,n,t[1],2240044497,21),n=No(n,a,r,f,t[8],1873313359,6),f=No(f,n,a,r,t[15],4264355552,10),r=No(r,f,n,a,t[6],2734768916,15),a=No(a,r,f,n,t[13],1309151649,21),n=No(n,a,r,f,t[4],4149444226,6),f=No(f,n,a,r,t[11],3174756917,10),r=No(r,f,n,a,t[2],718787259,15),a=No(a,r,f,n,t[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+a|0,this._c=this._c+r|0,this._d=this._d+f|0};AO.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=oz0.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t};function CO(t,e){return t<>>32-e}function Po(t,e,n,a,r,f,i){return CO(t+(e&n|~e&a)+r+f|0,i)+e|0}function Lo(t,e,n,a,r,f,i){return CO(t+(e&a|n&~a)+r+f|0,i)+e|0}function Fo(t,e,n,a,r,f,i){return CO(t+(e^n^a)+r+f|0,i)+e|0}function No(t,e,n,a,r,f,i){return CO(t+(n^(e|~a))+r+f|0,i)+e|0}bAe.exports=AO});var SO=D((Pzn,xAe)=>{"use strict";u();p();var hne=Kf().Buffer,dz0=Nt(),TAe=pne(),lz0=new Array(16),PI=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],LI=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],FI=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],NI=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],OI=[0,1518500249,1859775393,2400959708,2840853838],UI=[1352829926,1548603684,1836072691,2053994217,0];function kO(){TAe.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}dz0(kO,TAe);kO.prototype._update=function(){for(var t=lz0,e=0;e<16;++e)t[e]=this._block.readInt32LE(e*4);for(var n=this._a|0,a=this._b|0,r=this._c|0,f=this._d|0,i=this._e|0,s=this._a|0,o=this._b|0,c=this._c|0,d=this._d|0,l=this._e|0,h=0;h<80;h+=1){var y,v;h<16?(y=mAe(n,a,r,f,i,t[PI[h]],OI[0],FI[h]),v=wAe(s,o,c,d,l,t[LI[h]],UI[0],NI[h])):h<32?(y=yAe(n,a,r,f,i,t[PI[h]],OI[1],FI[h]),v=vAe(s,o,c,d,l,t[LI[h]],UI[1],NI[h])):h<48?(y=gAe(n,a,r,f,i,t[PI[h]],OI[2],FI[h]),v=gAe(s,o,c,d,l,t[LI[h]],UI[2],NI[h])):h<64?(y=vAe(n,a,r,f,i,t[PI[h]],OI[3],FI[h]),v=yAe(s,o,c,d,l,t[LI[h]],UI[3],NI[h])):(y=wAe(n,a,r,f,i,t[PI[h]],OI[4],FI[h]),v=mAe(s,o,c,d,l,t[LI[h]],UI[4],NI[h])),n=i,i=f,f=Fy(r,10),r=a,a=y,s=l,l=d,d=Fy(c,10),c=o,o=v}var k=this._b+r+d|0;this._b=this._c+f+l|0,this._c=this._d+i+s|0,this._d=this._e+n+o|0,this._e=this._a+a+c|0,this._a=k};kO.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=hne.alloc?hne.alloc(20):new hne(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t};function Fy(t,e){return t<>>32-e}function mAe(t,e,n,a,r,f,i,s){return Fy(t+(e^n^a)+f+i|0,s)+r|0}function yAe(t,e,n,a,r,f,i,s){return Fy(t+(e&n|~e&a)+f+i|0,s)+r|0}function gAe(t,e,n,a,r,f,i,s){return Fy(t+((e|~n)^a)+f+i|0,s)+r|0}function vAe(t,e,n,a,r,f,i,s){return Fy(t+(e&a|n&~a)+f+i|0,s)+r|0}function wAe(t,e,n,a,r,f,i,s){return Fy(t+(e^(n|~a))+f+i|0,s)+r|0}xAe.exports=kO});var Ny=D((Nzn,_Ae)=>{u();p();var EAe=En().Buffer;function RO(t,e){this._block=EAe.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}RO.prototype.update=function(t,e){typeof t=="string"&&(e=e||"utf8",t=EAe.from(t,e));for(var n=this._block,a=this._blockSize,r=t.length,f=this._len,i=0;i=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=this._len*8;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var a=(n&4294967295)>>>0,r=(n-a)/4294967296;this._block.writeUInt32BE(r,this._blockSize-8),this._block.writeUInt32BE(a,this._blockSize-4)}this._update(this._block);var f=this._hash();return t?f.toString(t):f};RO.prototype._update=function(){throw new Error("_update must be implemented by subclass")};_Ae.exports=RO});var IAe=D((Hzn,CAe)=>{u();p();var uz0=Nt(),AAe=Ny(),pz0=En().Buffer,hz0=[1518500249,1859775393,-1894007588,-899497514],bz0=new Array(80);function HI(){this.init(),this._w=bz0,AAe.call(this,64,56)}uz0(HI,AAe);HI.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function mz0(t){return t<<5|t>>>27}function yz0(t){return t<<30|t>>>2}function gz0(t,e,n,a){return t===0?e&n|~e&a:t===2?e&n|e&a|n&a:e^n^a}HI.prototype._update=function(t){for(var e=this._w,n=this._a|0,a=this._b|0,r=this._c|0,f=this._d|0,i=this._e|0,s=0;s<16;++s)e[s]=t.readInt32BE(s*4);for(;s<80;++s)e[s]=e[s-3]^e[s-8]^e[s-14]^e[s-16];for(var o=0;o<80;++o){var c=~~(o/20),d=mz0(n)+gz0(c,a,r,f)+i+e[o]+hz0[c]|0;i=f,f=r,r=yz0(a),a=n,n=d}this._a=n+this._a|0,this._b=a+this._b|0,this._c=r+this._c|0,this._d=f+this._d|0,this._e=i+this._e|0};HI.prototype._hash=function(){var t=pz0.allocUnsafe(20);return t.writeInt32BE(this._a|0,0),t.writeInt32BE(this._b|0,4),t.writeInt32BE(this._c|0,8),t.writeInt32BE(this._d|0,12),t.writeInt32BE(this._e|0,16),t};CAe.exports=HI});var RAe=D((qzn,SAe)=>{u();p();var vz0=Nt(),kAe=Ny(),wz0=En().Buffer,Tz0=[1518500249,1859775393,-1894007588,-899497514],xz0=new Array(80);function zI(){this.init(),this._w=xz0,kAe.call(this,64,56)}vz0(zI,kAe);zI.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function Ez0(t){return t<<1|t>>>31}function _z0(t){return t<<5|t>>>27}function Az0(t){return t<<30|t>>>2}function Cz0(t,e,n,a){return t===0?e&n|~e&a:t===2?e&n|e&a|n&a:e^n^a}zI.prototype._update=function(t){for(var e=this._w,n=this._a|0,a=this._b|0,r=this._c|0,f=this._d|0,i=this._e|0,s=0;s<16;++s)e[s]=t.readInt32BE(s*4);for(;s<80;++s)e[s]=Ez0(e[s-3]^e[s-8]^e[s-14]^e[s-16]);for(var o=0;o<80;++o){var c=~~(o/20),d=_z0(n)+Cz0(c,a,r,f)+i+e[o]+Tz0[c]|0;i=f,f=r,r=Az0(a),a=n,n=d}this._a=n+this._a|0,this._b=a+this._b|0,this._c=r+this._c|0,this._d=f+this._d|0,this._e=i+this._e|0};zI.prototype._hash=function(){var t=wz0.allocUnsafe(20);return t.writeInt32BE(this._a|0,0),t.writeInt32BE(this._b|0,4),t.writeInt32BE(this._c|0,8),t.writeInt32BE(this._d|0,12),t.writeInt32BE(this._e|0,16),t};SAe.exports=zI});var bne=D((Kzn,BAe)=>{u();p();var Iz0=Nt(),MAe=Ny(),kz0=En().Buffer,Sz0=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],Rz0=new Array(64);function WI(){this.init(),this._w=Rz0,MAe.call(this,64,56)}Iz0(WI,MAe);WI.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function Mz0(t,e,n){return n^t&(e^n)}function Bz0(t,e,n){return t&e|n&(t|e)}function Dz0(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function Pz0(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function Lz0(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function Fz0(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}WI.prototype._update=function(t){for(var e=this._w,n=this._a|0,a=this._b|0,r=this._c|0,f=this._d|0,i=this._e|0,s=this._f|0,o=this._g|0,c=this._h|0,d=0;d<16;++d)e[d]=t.readInt32BE(d*4);for(;d<64;++d)e[d]=Fz0(e[d-2])+e[d-7]+Lz0(e[d-15])+e[d-16]|0;for(var l=0;l<64;++l){var h=c+Pz0(i)+Mz0(i,s,o)+Sz0[l]+e[l]|0,y=Dz0(n)+Bz0(n,a,r)|0;c=o,o=s,s=i,i=f+h|0,f=r,r=a,a=n,n=h+y|0}this._a=n+this._a|0,this._b=a+this._b|0,this._c=r+this._c|0,this._d=f+this._d|0,this._e=i+this._e|0,this._f=s+this._f|0,this._g=o+this._g|0,this._h=c+this._h|0};WI.prototype._hash=function(){var t=kz0.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t};BAe.exports=WI});var PAe=D((Yzn,DAe)=>{u();p();var Nz0=Nt(),Oz0=bne(),Uz0=Ny(),Hz0=En().Buffer,zz0=new Array(64);function MO(){this.init(),this._w=zz0,Uz0.call(this,64,56)}Nz0(MO,Oz0);MO.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this};MO.prototype._hash=function(){var t=Hz0.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t};DAe.exports=MO});var mne=D((Xzn,zAe)=>{u();p();var Wz0=Nt(),HAe=Ny(),qz0=En().Buffer,LAe=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],jz0=new Array(160);function qI(){this.init(),this._w=jz0,HAe.call(this,128,112)}Wz0(qI,HAe);qI.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function FAe(t,e,n){return n^t&(e^n)}function NAe(t,e,n){return t&e|n&(t|e)}function OAe(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function UAe(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function Gz0(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function Kz0(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function Qz0(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function Vz0(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function bs(t,e){return t>>>0>>0?1:0}qI.prototype._update=function(t){for(var e=this._w,n=this._ah|0,a=this._bh|0,r=this._ch|0,f=this._dh|0,i=this._eh|0,s=this._fh|0,o=this._gh|0,c=this._hh|0,d=this._al|0,l=this._bl|0,h=this._cl|0,y=this._dl|0,v=this._el|0,k=this._fl|0,O=this._gl|0,F=this._hl|0,z=0;z<32;z+=2)e[z]=t.readInt32BE(z*4),e[z+1]=t.readInt32BE(z*4+4);for(;z<160;z+=2){var W=e[z-30],j=e[z-15*2+1],Q=Gz0(W,j),V=Kz0(j,W);W=e[z-2*2],j=e[z-2*2+1];var X=Qz0(W,j),K=Vz0(j,W),G=e[z-7*2],R=e[z-7*2+1],T=e[z-16*2],N=e[z-16*2+1],w=V+R|0,m=Q+G+bs(w,V)|0;w=w+K|0,m=m+X+bs(w,K)|0,w=w+N|0,m=m+T+bs(w,N)|0,e[z]=m,e[z+1]=w}for(var A=0;A<160;A+=2){m=e[A],w=e[A+1];var P=NAe(n,a,r),L=NAe(d,l,h),x=OAe(n,d),g=OAe(d,n),B=UAe(i,v),M=UAe(v,i),S=LAe[A],q=LAe[A+1],ee=FAe(i,s,o),U=FAe(v,k,O),J=F+M|0,Z=c+B+bs(J,F)|0;J=J+U|0,Z=Z+ee+bs(J,U)|0,J=J+q|0,Z=Z+S+bs(J,q)|0,J=J+w|0,Z=Z+m+bs(J,w)|0;var ne=g+L|0,ue=x+P+bs(ne,g)|0;c=o,F=O,o=s,O=k,s=i,k=v,v=y+J|0,i=f+Z+bs(v,y)|0,f=r,y=h,r=a,h=l,a=n,l=d,d=J+ne|0,n=Z+ue+bs(d,J)|0}this._al=this._al+d|0,this._bl=this._bl+l|0,this._cl=this._cl+h|0,this._dl=this._dl+y|0,this._el=this._el+v|0,this._fl=this._fl+k|0,this._gl=this._gl+O|0,this._hl=this._hl+F|0,this._ah=this._ah+n+bs(this._al,d)|0,this._bh=this._bh+a+bs(this._bl,l)|0,this._ch=this._ch+r+bs(this._cl,h)|0,this._dh=this._dh+f+bs(this._dl,y)|0,this._eh=this._eh+i+bs(this._el,v)|0,this._fh=this._fh+s+bs(this._fl,k)|0,this._gh=this._gh+o+bs(this._gl,O)|0,this._hh=this._hh+c+bs(this._hl,F)|0};qI.prototype._hash=function(){var t=qz0.allocUnsafe(64);function e(n,a,r){t.writeInt32BE(n,r),t.writeInt32BE(a,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t};zAe.exports=qI});var qAe=D((tWn,WAe)=>{u();p();var Yz0=Nt(),$z0=mne(),Jz0=Ny(),Xz0=En().Buffer,Zz0=new Array(160);function BO(){this.init(),this._w=Zz0,Jz0.call(this,128,112)}Yz0(BO,$z0);BO.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this};BO.prototype._hash=function(){var t=Xz0.allocUnsafe(48);function e(n,a,r){t.writeInt32BE(n,r),t.writeInt32BE(a,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t};WAe.exports=BO});var jI=D((s8,jAe)=>{u();p();var s8=jAe.exports=function(e){e=e.toLowerCase();var n=s8[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n};s8.sha=IAe();s8.sha1=RAe();s8.sha224=PAe();s8.sha256=bne();s8.sha384=qAe();s8.sha512=mne()});var KAe=D((iWn,GAe)=>{u();p();GAe.exports=A5;var yne=Nr().EventEmitter,eW0=Nt();eW0(A5,yne);A5.Readable=pO();A5.Writable=dO();A5.Duplex=I3();A5.Transform=xO();A5.PassThrough=dne();A5.finished=SI();A5.pipeline=une();A5.Stream=A5;function A5(){yne.call(this)}A5.prototype.pipe=function(t,e){var n=this;function a(d){t.writable&&t.write(d)===!1&&n.pause&&n.pause()}n.on("data",a);function r(){n.readable&&n.resume&&n.resume()}t.on("drain",r),!t._isStdio&&(!e||e.end!==!1)&&(n.on("end",i),n.on("close",s));var f=!1;function i(){f||(f=!0,t.end())}function s(){f||(f=!0,typeof t.destroy=="function"&&t.destroy())}function o(d){if(c(),yne.listenerCount(this,"error")===0)throw d}n.on("error",o),t.on("error",o);function c(){n.removeListener("data",a),t.removeListener("drain",r),n.removeListener("end",i),n.removeListener("close",s),n.removeListener("error",o),t.removeListener("error",o),n.removeListener("end",c),n.removeListener("close",c),t.removeListener("close",c)}return n.on("end",c),n.on("close",c),t.on("close",c),t.emit("pipe",n),t}});var o8=D((cWn,YAe)=>{u();p();var QAe=En().Buffer,VAe=KAe().Transform,tW0=hO().StringDecoder,nW0=Nt();function al(t){VAe.call(this),this.hashMode=typeof t=="string",this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}nW0(al,VAe);al.prototype.update=function(t,e,n){typeof t=="string"&&(t=QAe.from(t,e));var a=this._update(t);return this.hashMode?this:(n&&(a=this._toString(a,n)),a)};al.prototype.setAutoPadding=function(){};al.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")};al.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")};al.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")};al.prototype._transform=function(t,e,n){var a;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(r){a=r}finally{n(a)}};al.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(n){e=n}t(e)};al.prototype._finalOrDigest=function(t){var e=this.__final()||QAe.alloc(0);return t&&(e=this._toString(e,t,!0)),e};al.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new tW0(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var a=this._decoder.write(t);return n&&(a+=this._decoder.end()),a};YAe.exports=al});var Oy=D((uWn,JAe)=>{"use strict";u();p();var aW0=Nt(),rW0=IO(),fW0=SO(),iW0=jI(),$Ae=o8();function DO(t){$Ae.call(this,"digest"),this._hash=t}aW0(DO,$Ae);DO.prototype._update=function(t){this._hash.update(t)};DO.prototype._final=function(){return this._hash.digest()};JAe.exports=function(e){return e=e.toLowerCase(),e==="md5"?new rW0:e==="rmd160"||e==="ripemd160"?new fW0:new DO(iW0(e))}});var eCe=D((bWn,ZAe)=>{"use strict";u();p();var sW0=Nt(),Uy=En().Buffer,XAe=o8(),oW0=Uy.alloc(128),Sw=64;function PO(t,e){XAe.call(this,"digest"),typeof e=="string"&&(e=Uy.from(e)),this._alg=t,this._key=e,e.length>Sw?e=t(e):e.length{u();p();var cW0=IO();tCe.exports=function(t){return new cW0().update(t).digest()}});var Tne=D((TWn,aCe)=>{"use strict";u();p();var dW0=Nt(),lW0=eCe(),nCe=o8(),GI=En().Buffer,uW0=gne(),vne=SO(),wne=jI(),pW0=GI.alloc(128);function KI(t,e){nCe.call(this,"digest"),typeof e=="string"&&(e=GI.from(e));var n=t==="sha512"||t==="sha384"?128:64;if(this._alg=t,this._key=e,e.length>n){var a=t==="rmd160"?new vne:wne(t);e=a.update(e).digest()}else e.length{hW0.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}});var fCe=D((AWn,rCe)=>{"use strict";u();p();rCe.exports=xne()});var Ene=D((kWn,iCe)=>{u();p();var bW0=Math.pow(2,30)-1;iCe.exports=function(t,e){if(typeof t!="number")throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if(typeof e!="number")throw new TypeError("Key length not a number");if(e<0||e>bW0||e!==e)throw new TypeError("Bad key length")}});var _ne=D((MWn,oCe)=>{u();p();var LO;global.process&&global.process.browser?LO="utf-8":global.process&&global.process.version?(sCe=parseInt(E.version.split(".")[0].slice(1),10),LO=sCe>=6?"utf-8":"binary"):LO="utf-8";var sCe;oCe.exports=LO});var Cne=D((PWn,cCe)=>{u();p();var Ane=En().Buffer;cCe.exports=function(t,e,n){if(Ane.isBuffer(t))return t;if(typeof t=="string")return Ane.from(t,e);if(ArrayBuffer.isView(t))return Ane.from(t.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}});var Ine=D((NWn,pCe)=>{u();p();var mW0=gne(),yW0=SO(),gW0=jI(),Hy=En().Buffer,vW0=Ene(),dCe=_ne(),lCe=Cne(),wW0=Hy.alloc(128),FO={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function uCe(t,e,n){var a=TW0(t),r=t==="sha512"||t==="sha384"?128:64;e.length>r?e=a(e):e.length{u();p();var yCe=En().Buffer,EW0=Ene(),hCe=_ne(),bCe=Ine(),mCe=Cne(),NO,QI=global.crypto&&global.crypto.subtle,_W0={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},kne=[];function AW0(t){if(global.process&&!global.process.browser||!QI||!QI.importKey||!QI.deriveBits)return Promise.resolve(!1);if(kne[t]!==void 0)return kne[t];NO=NO||yCe.alloc(8);var e=gCe(NO,NO,10,128,t).then(function(){return!0}).catch(function(){return!1});return kne[t]=e,e}var zy;function Sne(){return zy||(global.process&&global.process.nextTick?zy=global.process.nextTick:global.queueMicrotask?zy=global.queueMicrotask:global.setImmediate?zy=global.setImmediate:zy=global.setTimeout,zy)}function gCe(t,e,n,a,r){return QI.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then(function(f){return QI.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:r}},f,a<<3)}).then(function(f){return yCe.from(f)})}function CW0(t,e){t.then(function(n){Sne()(function(){e(null,n)})},function(n){Sne()(function(){e(n)})})}vCe.exports=function(t,e,n,a,r,f){typeof r=="function"&&(f=r,r=void 0),r=r||"sha1";var i=_W0[r.toLowerCase()];if(!i||typeof global.Promise!="function"){Sne()(function(){var s;try{s=bCe(t,e,n,a,r)}catch(o){return f(o)}f(null,s)});return}if(EW0(n,a),t=mCe(t,hCe,"Password"),e=mCe(e,hCe,"Salt"),typeof f!="function")throw new Error("No callback provided to pbkdf2");CW0(AW0(i).then(function(s){return s?gCe(t,e,n,a,i):bCe(t,e,n,a,r)}),f)}});var Mne=D(Rne=>{u();p();Rne.pbkdf2=wCe();Rne.pbkdf2Sync=Ine()});var Bne=D(C5=>{"use strict";u();p();C5.readUInt32BE=function(e,n){var a=e[0+n]<<24|e[1+n]<<16|e[2+n]<<8|e[3+n];return a>>>0};C5.writeUInt32BE=function(e,n,a){e[0+a]=n>>>24,e[1+a]=n>>>16&255,e[2+a]=n>>>8&255,e[3+a]=n&255};C5.ip=function(e,n,a,r){for(var f=0,i=0,s=6;s>=0;s-=2){for(var o=0;o<=24;o+=8)f<<=1,f|=n>>>o+s&1;for(var o=0;o<=24;o+=8)f<<=1,f|=e>>>o+s&1}for(var s=6;s>=0;s-=2){for(var o=1;o<=25;o+=8)i<<=1,i|=n>>>o+s&1;for(var o=1;o<=25;o+=8)i<<=1,i|=e>>>o+s&1}a[r+0]=f>>>0,a[r+1]=i>>>0};C5.rip=function(e,n,a,r){for(var f=0,i=0,s=0;s<4;s++)for(var o=24;o>=0;o-=8)f<<=1,f|=n>>>o+s&1,f<<=1,f|=e>>>o+s&1;for(var s=4;s<8;s++)for(var o=24;o>=0;o-=8)i<<=1,i|=n>>>o+s&1,i<<=1,i|=e>>>o+s&1;a[r+0]=f>>>0,a[r+1]=i>>>0};C5.pc1=function(e,n,a,r){for(var f=0,i=0,s=7;s>=5;s--){for(var o=0;o<=24;o+=8)f<<=1,f|=n>>o+s&1;for(var o=0;o<=24;o+=8)f<<=1,f|=e>>o+s&1}for(var o=0;o<=24;o+=8)f<<=1,f|=n>>o+s&1;for(var s=1;s<=3;s++){for(var o=0;o<=24;o+=8)i<<=1,i|=n>>o+s&1;for(var o=0;o<=24;o+=8)i<<=1,i|=e>>o+s&1}for(var o=0;o<=24;o+=8)i<<=1,i|=e>>o+s&1;a[r+0]=f>>>0,a[r+1]=i>>>0};C5.r28shl=function(e,n){return e<>>28-n};var OO=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];C5.pc2=function(e,n,a,r){for(var f=0,i=0,s=OO.length>>>1,o=0;o>>OO[o]&1;for(var o=s;o>>OO[o]&1;a[r+0]=f>>>0,a[r+1]=i>>>0};C5.expand=function(e,n,a){var r=0,f=0;r=(e&1)<<5|e>>>27;for(var i=23;i>=15;i-=4)r<<=6,r|=e>>>i&63;for(var i=11;i>=3;i-=4)f|=e>>>i&63,f<<=6;f|=(e&31)<<1|e>>>31,n[a+0]=r>>>0,n[a+1]=f>>>0};var TCe=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];C5.substitute=function(e,n){for(var a=0,r=0;r<4;r++){var f=e>>>18-r*6&63,i=TCe[r*64+f];a<<=4,a|=i}for(var r=0;r<4;r++){var f=n>>>18-r*6&63,i=TCe[4*64+r*64+f];a<<=4,a|=i}return a>>>0};var xCe=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];C5.permute=function(e){for(var n=0,a=0;a>>xCe[a]&1;return n>>>0};C5.padSplit=function(e,n,a){for(var r=e.toString(2);r.length{"use strict";u();p();var IW0=kc();function I5(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=t.padding!==!1}ECe.exports=I5;I5.prototype._init=function(){};I5.prototype.update=function(e){return e.length===0?[]:this.type==="decrypt"?this._updateDecrypt(e):this._updateEncrypt(e)};I5.prototype._buffer=function(e,n){for(var a=Math.min(this.buffer.length-this.bufferOff,e.length-n),r=0;r0;r--)n+=this._buffer(e,n),a+=this._flushBuffer(f,a);return n+=this._buffer(e,n),f};I5.prototype.final=function(e){var n;e&&(n=this.update(e));var a;return this.type==="encrypt"?a=this._finalEncrypt():a=this._finalDecrypt(),n?n.concat(a):a};I5.prototype._pad=function(e,n){if(n===0)return!1;for(;n{"use strict";u();p();var _Ce=kc(),kW0=Nt(),Yi=Bne(),ACe=UO();function SW0(){this.tmp=new Array(2),this.keys=null}function T2(t){ACe.call(this,t);var e=new SW0;this._desState=e,this.deriveKeys(e,t.key)}kW0(T2,ACe);CCe.exports=T2;T2.create=function(e){return new T2(e)};var RW0=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];T2.prototype.deriveKeys=function(e,n){e.keys=new Array(16*2),_Ce.equal(n.length,this.blockSize,"Invalid key length");var a=Yi.readUInt32BE(n,0),r=Yi.readUInt32BE(n,4);Yi.pc1(a,r,e.tmp,0),a=e.tmp[0],r=e.tmp[1];for(var f=0;f>>1];a=Yi.r28shl(a,i),r=Yi.r28shl(r,i),Yi.pc2(a,r,e.keys,f)}};T2.prototype._update=function(e,n,a,r){var f=this._desState,i=Yi.readUInt32BE(e,n),s=Yi.readUInt32BE(e,n+4);Yi.ip(i,s,f.tmp,0),i=f.tmp[0],s=f.tmp[1],this.type==="encrypt"?this._encrypt(f,i,s,f.tmp,0):this._decrypt(f,i,s,f.tmp,0),i=f.tmp[0],s=f.tmp[1],Yi.writeUInt32BE(a,i,r),Yi.writeUInt32BE(a,s,r+4)};T2.prototype._pad=function(e,n){if(this.padding===!1)return!1;for(var a=e.length-n,r=n;r>>0,i=y}Yi.rip(s,i,r,f)};T2.prototype._decrypt=function(e,n,a,r,f){for(var i=a,s=n,o=e.keys.length-2;o>=0;o-=2){var c=e.keys[o],d=e.keys[o+1];Yi.expand(i,e.tmp,0),c^=e.tmp[0],d^=e.tmp[1];var l=Yi.substitute(c,d),h=Yi.permute(l),y=i;i=(s^h)>>>0,s=y}Yi.rip(i,s,r,f)}});var kCe=D(ICe=>{"use strict";u();p();var MW0=kc(),BW0=Nt(),HO={};function DW0(t){MW0.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e{"use strict";u();p();var LW0=kc(),FW0=Nt(),SCe=UO(),B3=Dne();function NW0(t,e){LW0.equal(e.length,24,"Invalid key length");var n=e.slice(0,8),a=e.slice(8,16),r=e.slice(16,24);t==="encrypt"?this.ciphers=[B3.create({type:"encrypt",key:n}),B3.create({type:"decrypt",key:a}),B3.create({type:"encrypt",key:r})]:this.ciphers=[B3.create({type:"decrypt",key:r}),B3.create({type:"encrypt",key:a}),B3.create({type:"decrypt",key:n})]}function Wy(t){SCe.call(this,t);var e=new NW0(this.type,this.options.key);this._edeState=e}FW0(Wy,SCe);RCe.exports=Wy;Wy.create=function(e){return new Wy(e)};Wy.prototype._update=function(e,n,a,r){var f=this._edeState;f.ciphers[0]._update(e,n,a,r),f.ciphers[1]._update(a,r,a,r),f.ciphers[2]._update(a,r,a,r)};Wy.prototype._pad=B3.prototype._pad;Wy.prototype._unpad=B3.prototype._unpad});var BCe=D(Rw=>{"use strict";u();p();Rw.utils=Bne();Rw.Cipher=UO();Rw.DES=Dne();Rw.CBC=kCe();Rw.EDE=MCe()});var LCe=D((dqn,PCe)=>{u();p();var DCe=o8(),c8=BCe(),OW0=Nt(),qy=En().Buffer,VI={"des-ede3-cbc":c8.CBC.instantiate(c8.EDE),"des-ede3":c8.EDE,"des-ede-cbc":c8.CBC.instantiate(c8.EDE),"des-ede":c8.EDE,"des-cbc":c8.CBC.instantiate(c8.DES),"des-ecb":c8.DES};VI.des=VI["des-cbc"];VI.des3=VI["des-ede3-cbc"];PCe.exports=zO;OW0(zO,DCe);function zO(t){DCe.call(this);var e=t.mode.toLowerCase(),n=VI[e],a;t.decrypt?a="decrypt":a="encrypt";var r=t.key;qy.isBuffer(r)||(r=qy.from(r)),(e==="des-ede"||e==="des-ede-cbc")&&(r=qy.concat([r,r.slice(0,8)]));var f=t.iv;qy.isBuffer(f)||(f=qy.from(f)),this._des=n.create({key:r,iv:f,type:a})}zO.prototype._update=function(t){return qy.from(this._des.update(t))};zO.prototype._final=function(){return qy.from(this._des.final())}});var FCe=D(Pne=>{u();p();Pne.encrypt=function(t,e){return t._cipher.encryptBlock(e)};Pne.decrypt=function(t,e){return t._cipher.decryptBlock(e)}});var Mw=D((mqn,NCe)=>{u();p();NCe.exports=function(e,n){for(var a=Math.min(e.length,n.length),r=new _.Buffer(a),f=0;f{u();p();var OCe=Mw();Lne.encrypt=function(t,e){var n=OCe(e,t._prev);return t._prev=t._cipher.encryptBlock(n),t._prev};Lne.decrypt=function(t,e){var n=t._prev;t._prev=e;var a=t._cipher.decryptBlock(e);return OCe(a,n)}});var WCe=D(zCe=>{u();p();var YI=En().Buffer,UW0=Mw();function HCe(t,e,n){var a=e.length,r=UW0(e,t._cache);return t._cache=t._cache.slice(a),t._prev=YI.concat([t._prev,n?e:r]),r}zCe.encrypt=function(t,e,n){for(var a=YI.allocUnsafe(0),r;e.length;)if(t._cache.length===0&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=YI.allocUnsafe(0)),t._cache.length<=e.length)r=t._cache.length,a=YI.concat([a,HCe(t,e.slice(0,r),n)]),e=e.slice(r);else{a=YI.concat([a,HCe(t,e,n)]);break}return a}});var jCe=D(qCe=>{u();p();var Fne=En().Buffer;function HW0(t,e,n){var a=t._cipher.encryptBlock(t._prev),r=a[0]^e;return t._prev=Fne.concat([t._prev.slice(1),Fne.from([n?e:r])]),r}qCe.encrypt=function(t,e,n){for(var a=e.length,r=Fne.allocUnsafe(a),f=-1;++f{u();p();var WO=En().Buffer;function zW0(t,e,n){for(var a,r=-1,f=8,i=0,s,o;++r>r%8,t._prev=WW0(t._prev,n?s:o);return i}function WW0(t,e){var n=t.length,a=-1,r=WO.allocUnsafe(t.length);for(t=WO.concat([t,WO.from([e])]);++a>7;return r}GCe.encrypt=function(t,e,n){for(var a=e.length,r=WO.allocUnsafe(a),f=-1;++f{u();p();var qW0=Mw();function jW0(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}QCe.encrypt=function(t,e){for(;t._cache.length{u();p();function GW0(t){for(var e=t.length,n;e--;)if(n=t.readUInt8(e),n===255)t.writeUInt8(0,e);else{n++,t.writeUInt8(n,e);break}}YCe.exports=GW0});var Une=D(JCe=>{u();p();var KW0=Mw(),$Ce=En().Buffer,QW0=Nne();function VW0(t){var e=t._cipher.encryptBlockRaw(t._prev);return QW0(t._prev),e}var One=16;JCe.encrypt=function(t,e){var n=Math.ceil(e.length/One),a=t._cache.length;t._cache=$Ce.concat([t._cache,$Ce.allocUnsafe(n*One)]);for(var r=0;r{YW0.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}});var jO=D((zqn,XCe)=>{u();p();var $W0={ECB:FCe(),CBC:UCe(),CFB:WCe(),CFB8:jCe(),CFB1:KCe(),OFB:VCe(),CTR:Une(),GCM:Une()},qO=Hne();for(zne in qO)qO[zne].module=$W0[qO[zne].mode];var zne;XCe.exports=qO});var $I=D((jqn,eIe)=>{u();p();var GO=En().Buffer;function qne(t){GO.isBuffer(t)||(t=GO.from(t));for(var e=t.length/4|0,n=new Array(e),a=0;a>>24]^i[d>>>16&255]^s[l>>>8&255]^o[h&255]^e[F++],v=f[d>>>24]^i[l>>>16&255]^s[h>>>8&255]^o[c&255]^e[F++],k=f[l>>>24]^i[h>>>16&255]^s[c>>>8&255]^o[d&255]^e[F++],O=f[h>>>24]^i[c>>>16&255]^s[d>>>8&255]^o[l&255]^e[F++],c=y,d=v,l=k,h=O;return y=(a[c>>>24]<<24|a[d>>>16&255]<<16|a[l>>>8&255]<<8|a[h&255])^e[F++],v=(a[d>>>24]<<24|a[l>>>16&255]<<16|a[h>>>8&255]<<8|a[c&255])^e[F++],k=(a[l>>>24]<<24|a[h>>>16&255]<<16|a[c>>>8&255]<<8|a[d&255])^e[F++],O=(a[h>>>24]<<24|a[c>>>16&255]<<16|a[d>>>8&255]<<8|a[l&255])^e[F++],y=y>>>0,v=v>>>0,k=k>>>0,O=O>>>0,[y,v,k,O]}var JW0=[0,1,2,4,8,16,32,64,128,27,54],Ai=function(){for(var t=new Array(256),e=0;e<256;e++)e<128?t[e]=e<<1:t[e]=e<<1^283;for(var n=[],a=[],r=[[],[],[],[]],f=[[],[],[],[]],i=0,s=0,o=0;o<256;++o){var c=s^s<<1^s<<2^s<<3^s<<4;c=c>>>8^c&255^99,n[i]=c,a[c]=i;var d=t[i],l=t[d],h=t[l],y=t[c]*257^c*16843008;r[0][i]=y<<24|y>>>8,r[1][i]=y<<16|y>>>16,r[2][i]=y<<8|y>>>24,r[3][i]=y,y=h*16843009^l*65537^d*257^i*16843008,f[0][c]=y<<24|y>>>8,f[1][c]=y<<16|y>>>16,f[2][c]=y<<8|y>>>24,f[3][c]=y,i===0?i=s=1:(i=d^t[t[t[h^d]]],s^=t[t[s]])}return{SBOX:n,INV_SBOX:a,SUB_MIX:r,INV_SUB_MIX:f}}();function k5(t){this._key=qne(t),this._reset()}k5.blockSize=4*4;k5.keySize=256/8;k5.prototype.blockSize=k5.blockSize;k5.prototype.keySize=k5.keySize;k5.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,a=(n+1)*4,r=[],f=0;f>>24,i=Ai.SBOX[i>>>24]<<24|Ai.SBOX[i>>>16&255]<<16|Ai.SBOX[i>>>8&255]<<8|Ai.SBOX[i&255],i^=JW0[f/e|0]<<24):e>6&&f%e===4&&(i=Ai.SBOX[i>>>24]<<24|Ai.SBOX[i>>>16&255]<<16|Ai.SBOX[i>>>8&255]<<8|Ai.SBOX[i&255]),r[f]=r[f-e]^i}for(var s=[],o=0;o>>24]]^Ai.INV_SUB_MIX[1][Ai.SBOX[d>>>16&255]]^Ai.INV_SUB_MIX[2][Ai.SBOX[d>>>8&255]]^Ai.INV_SUB_MIX[3][Ai.SBOX[d&255]]}this._nRounds=n,this._keySchedule=r,this._invKeySchedule=s};k5.prototype.encryptBlockRaw=function(t){return t=qne(t),ZCe(t,this._keySchedule,Ai.SUB_MIX,Ai.SBOX,this._nRounds)};k5.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=GO.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n};k5.prototype.decryptBlock=function(t){t=qne(t);var e=t[1];t[1]=t[3],t[3]=e;var n=ZCe(t,this._invKeySchedule,Ai.INV_SUB_MIX,Ai.INV_SBOX,this._nRounds),a=GO.allocUnsafe(16);return a.writeUInt32BE(n[0],0),a.writeUInt32BE(n[3],4),a.writeUInt32BE(n[2],8),a.writeUInt32BE(n[1],12),a};k5.prototype.scrub=function(){Wne(this._keySchedule),Wne(this._invKeySchedule),Wne(this._key)};eIe.exports.AES=k5});var aIe=D((Qqn,nIe)=>{u();p();var Bw=En().Buffer,XW0=Bw.alloc(16,0);function ZW0(t){return[t.readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)]}function tIe(t){var e=Bw.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function JI(t){this.h=t,this.state=Bw.alloc(16,0),this.cache=Bw.allocUnsafe(0)}JI.prototype.ghash=function(t){for(var e=-1;++e0;n--)t[n]=t[n]>>>1|(t[n-1]&1)<<31;t[0]=t[0]>>>1,r&&(t[0]=t[0]^225<<24)}this.state=tIe(e)};JI.prototype.update=function(t){this.cache=Bw.concat([this.cache,t]);for(var e;this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)};JI.prototype.final=function(t,e){return this.cache.length&&this.ghash(Bw.concat([this.cache,XW0],16)),this.ghash(tIe([0,t,0,e])),this.state};nIe.exports=JI});var jne=D(($qn,iIe)=>{u();p();var eq0=$I(),Sc=En().Buffer,rIe=o8(),tq0=Nt(),fIe=aIe(),nq0=Mw(),aq0=Nne();function rq0(t,e){var n=0;t.length!==e.length&&n++;for(var a=Math.min(t.length,e.length),r=0;r{u();p();var iq0=$I(),Gne=En().Buffer,sIe=o8(),sq0=Nt();function KO(t,e,n,a){sIe.call(this),this._cipher=new iq0.AES(e),this._prev=Gne.from(n),this._cache=Gne.allocUnsafe(0),this._secCache=Gne.allocUnsafe(0),this._decrypt=a,this._mode=t}sq0(KO,sIe);KO.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)};KO.prototype._final=function(){this._cipher.scrub()};oIe.exports=KO});var XI=D((njn,cIe)=>{u();p();var Gy=En().Buffer,oq0=IO();function cq0(t,e,n,a){if(Gy.isBuffer(t)||(t=Gy.from(t,"binary")),e&&(Gy.isBuffer(e)||(e=Gy.from(e,"binary")),e.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var r=n/8,f=Gy.alloc(r),i=Gy.alloc(a||0),s=Gy.alloc(0);r>0||a>0;){var o=new oq0;o.update(s),o.update(t),e&&o.update(e),s=o.digest();var c=0;if(r>0){var d=f.length-r;c=Math.min(r,s.length),s.copy(f,d,0,c),r-=c}if(c0){var l=i.length-a,h=Math.min(a,s.length-c);s.copy(i,l,c,c+h),a-=h}}return s.fill(0),{key:f,iv:i}}cIe.exports=cq0});var pIe=D(Qne=>{u();p();var dIe=jO(),dq0=jne(),d8=En().Buffer,lq0=Kne(),lIe=o8(),uq0=$I(),pq0=XI(),hq0=Nt();function ZI(t,e,n){lIe.call(this),this._cache=new QO,this._cipher=new uq0.AES(e),this._prev=d8.from(n),this._mode=t,this._autopadding=!0}hq0(ZI,lIe);ZI.prototype._update=function(t){this._cache.add(t);for(var e,n,a=[];e=this._cache.get();)n=this._mode.encrypt(this,e),a.push(n);return d8.concat(a)};var bq0=d8.alloc(16,16);ZI.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(bq0))throw this._cipher.scrub(),new Error("data not multiple of block length")};ZI.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this};function QO(){this.cache=d8.allocUnsafe(0)}QO.prototype.add=function(t){this.cache=d8.concat([this.cache,t])};QO.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null};QO.prototype.flush=function(){for(var t=16-this.cache.length,e=d8.allocUnsafe(t),n=-1;++n{u();p();var yq0=jne(),Dw=En().Buffer,hIe=jO(),gq0=Kne(),bIe=o8(),vq0=$I(),wq0=XI(),Tq0=Nt();function ek(t,e,n){bIe.call(this),this._cache=new VO,this._last=void 0,this._cipher=new vq0.AES(e),this._prev=Dw.from(n),this._mode=t,this._autopadding=!0}Tq0(ek,bIe);ek.prototype._update=function(t){this._cache.add(t);for(var e,n,a=[];e=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,e),a.push(n);return Dw.concat(a)};ek.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return xq0(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")};ek.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this};function VO(){this.cache=Dw.allocUnsafe(0)}VO.prototype.add=function(t){this.cache=Dw.concat([this.cache,t])};VO.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null};VO.prototype.flush=function(){if(this.cache.length)return this.cache};function xq0(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");for(var n=-1;++n{u();p();var gIe=pIe(),vIe=yIe(),_q0=Hne();function Aq0(){return Object.keys(_q0)}rl.createCipher=rl.Cipher=gIe.createCipher;rl.createCipheriv=rl.Cipheriv=gIe.createCipheriv;rl.createDecipher=rl.Decipher=vIe.createDecipher;rl.createDecipheriv=rl.Decipheriv=vIe.createDecipheriv;rl.listCiphers=rl.getCiphers=Aq0});var wIe=D(l8=>{u();p();l8["des-ecb"]={key:8,iv:0};l8["des-cbc"]=l8.des={key:8,iv:8};l8["des-ede3-cbc"]=l8.des3={key:24,iv:8};l8["des-ede3"]={key:24,iv:0};l8["des-ede-cbc"]={key:16,iv:8};l8["des-ede"]={key:16,iv:0}});var AIe=D(fl=>{u();p();var TIe=LCe(),Yne=YO(),D3=jO(),u8=wIe(),xIe=XI();function Cq0(t,e){t=t.toLowerCase();var n,a;if(D3[t])n=D3[t].key,a=D3[t].iv;else if(u8[t])n=u8[t].key*8,a=u8[t].iv;else throw new TypeError("invalid suite type");var r=xIe(e,!1,n,a);return EIe(t,r.key,r.iv)}function Iq0(t,e){t=t.toLowerCase();var n,a;if(D3[t])n=D3[t].key,a=D3[t].iv;else if(u8[t])n=u8[t].key*8,a=u8[t].iv;else throw new TypeError("invalid suite type");var r=xIe(e,!1,n,a);return _Ie(t,r.key,r.iv)}function EIe(t,e,n){if(t=t.toLowerCase(),D3[t])return Yne.createCipheriv(t,e,n);if(u8[t])return new TIe({key:e,iv:n,mode:t});throw new TypeError("invalid suite type")}function _Ie(t,e,n){if(t=t.toLowerCase(),D3[t])return Yne.createDecipheriv(t,e,n);if(u8[t])return new TIe({key:e,iv:n,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}function kq0(){return Object.keys(u8).concat(Yne.getCiphers())}fl.createCipher=fl.Cipher=Cq0;fl.createCipheriv=fl.Cipheriv=EIe;fl.createDecipher=fl.Decipher=Iq0;fl.createDecipheriv=fl.Decipheriv=_Ie;fl.listCiphers=fl.getCiphers=kq0});var $ne=D((wjn,CIe)=>{u();p();var Ky=kr(),Sq0=Pw();function Qy(t){this.rand=t||new Sq0.Rand}CIe.exports=Qy;Qy.create=function(e){return new Qy(e)};Qy.prototype._randbelow=function(e){var n=e.bitLength(),a=Math.ceil(n/8);do var r=new Ky(this.rand.generate(a));while(r.cmp(e)>=0);return r};Qy.prototype._randrange=function(e,n){var a=n.sub(e);return e.add(this._randbelow(a))};Qy.prototype.test=function(e,n,a){var r=e.bitLength(),f=Ky.mont(e),i=new Ky(1).toRed(f);n||(n=Math.max(1,r/48|0));for(var s=e.subn(1),o=0;!s.testn(o);o++);for(var c=e.shrn(o),d=s.toRed(f),l=!0;n>0;n--){var h=this._randrange(new Ky(2),s);a&&a(h);var y=h.toRed(f).redPow(c);if(!(y.cmp(i)===0||y.cmp(d)===0)){for(var v=1;v0;n--){var d=this._randrange(new Ky(2),i),l=e.gcd(d);if(l.cmpn(1)!==0)return l;var h=d.toRed(r).redPow(o);if(!(h.cmp(f)===0||h.cmp(c)===0)){for(var y=1;y{u();p();var Rq0=f8();SIe.exports=tae;tae.simpleSieve=Zne;tae.fermatTest=eae;var Js=kr(),Mq0=new Js(24),Bq0=$ne(),IIe=new Bq0,Dq0=new Js(1),Xne=new Js(2),Pq0=new Js(5),Ejn=new Js(16),_jn=new Js(8),Lq0=new Js(10),Fq0=new Js(3),Ajn=new Js(7),Nq0=new Js(11),kIe=new Js(4),Cjn=new Js(12),Jne=null;function Oq0(){if(Jne!==null)return Jne;var t=1048576,e=[];e[0]=2;for(var n=1,a=3;at;)n.ishrn(1);if(n.isEven()&&n.iadd(Dq0),n.testn(1)||n.iadd(Xne),e.cmp(Xne)){if(!e.cmp(Pq0))for(;n.mod(Lq0).cmp(Fq0);)n.iadd(kIe)}else for(;n.mod(Mq0).cmp(Nq0);)n.iadd(kIe);if(a=n.shrn(1),Zne(a)&&Zne(n)&&eae(a)&&eae(n)&&IIe.test(a)&&IIe.test(n))return n}}});var RIe=D((Rjn,Uq0)=>{Uq0.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}});var PIe=D((Mjn,DIe)=>{u();p();var S5=kr(),Hq0=$ne(),MIe=new Hq0,zq0=new S5(24),Wq0=new S5(11),qq0=new S5(10),jq0=new S5(3),Gq0=new S5(7),BIe=nae(),Kq0=f8();DIe.exports=p8;function Qq0(t,e){return e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),this._pub=new S5(t),this}function Vq0(t,e){return e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),this._priv=new S5(t),this}var $O={};function Yq0(t,e){var n=e.toString("hex"),a=[n,t.toString(16)].join("_");if(a in $O)return $O[a];var r=0;if(t.isEven()||!BIe.simpleSieve||!BIe.fermatTest(t)||!MIe.test(t))return r+=1,n==="02"||n==="05"?r+=8:r+=4,$O[a]=r,r;MIe.test(t.shrn(1))||(r+=2);var f;switch(n){case"02":t.mod(zq0).cmp(Wq0)&&(r+=8);break;case"05":f=t.mod(qq0),f.cmp(jq0)&&f.cmp(Gq0)&&(r+=8);break;default:r+=4}return $O[a]=r,r}function p8(t,e,n){this.setGenerator(e),this.__prime=new S5(t),this._prime=S5.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=Qq0,this.setPrivateKey=Vq0):this._primeCode=8}Object.defineProperty(p8.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=Yq0(this.__prime,this.__gen)),this._primeCode}});p8.prototype.generateKeys=function(){return this._priv||(this._priv=new S5(Kq0(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()};p8.prototype.computeSecret=function(t){t=new S5(t),t=t.toRed(this._prime);var e=t.redPow(this._priv).fromRed(),n=new _.Buffer(e.toArray()),a=this.getPrime();if(n.length{u();p();var $q0=nae(),LIe=RIe(),aae=PIe();function Jq0(t){var e=new _.Buffer(LIe[t].prime,"hex"),n=new _.Buffer(LIe[t].gen,"hex");return new aae(e,n)}var Xq0={binary:!0,hex:!0,base64:!0};function FIe(t,e,n,a){return _.Buffer.isBuffer(e)||Xq0[e]===void 0?FIe(t,"binary",e,n):(e=e||"binary",a=a||"binary",n=n||new _.Buffer([2]),_.Buffer.isBuffer(n)||(n=new _.Buffer(n,a)),typeof t=="number"?new aae($q0(t,n),n,!0):(_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),new aae(t,n,!0)))}Lw.DiffieHellmanGroup=Lw.createDiffieHellmanGroup=Lw.getDiffieHellman=Jq0;Lw.createDiffieHellman=Lw.DiffieHellman=FIe});var tk=D((Njn,rae)=>{"use strict";u();p();typeof E>"u"||!E.version||E.version.indexOf("v0.")===0||E.version.indexOf("v1.")===0&&E.version.indexOf("v1.8.")!==0?rae.exports={nextTick:Zq0}:rae.exports=E;function Zq0(t,e,n,a){if(typeof t!="function")throw new TypeError('"callback" argument must be a function');var r=arguments.length,f,i;switch(r){case 0:case 1:return E.nextTick(t);case 2:return E.nextTick(function(){t.call(null,e)});case 3:return E.nextTick(function(){t.call(null,e,n)});case 4:return E.nextTick(function(){t.call(null,e,n,a)});default:for(f=new Array(r-1),i=0;i{u();p();var ej0={}.toString;OIe.exports=Array.isArray||function(t){return ej0.call(t)=="[object Array]"}});var fae=D((qjn,HIe)=>{u();p();HIe.exports=Nr().EventEmitter});var nk=D((iae,WIe)=>{u();p();var XO=Kf(),h8=XO.Buffer;function zIe(t,e){for(var n in t)e[n]=t[n]}h8.from&&h8.alloc&&h8.allocUnsafe&&h8.allocUnsafeSlow?WIe.exports=XO:(zIe(XO,iae),iae.Buffer=Fw);function Fw(t,e,n){return h8(t,e,n)}zIe(h8,Fw);Fw.from=function(t,e,n){if(typeof t=="number")throw new TypeError("Argument must not be a number");return h8(t,e,n)};Fw.alloc=function(t,e,n){if(typeof t!="number")throw new TypeError("Argument must be a number");var a=h8(t);return e!==void 0?typeof n=="string"?a.fill(e,n):a.fill(e):a.fill(0),a};Fw.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return h8(t)};Fw.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return XO.SlowBuffer(t)}});var Nw=D(Oo=>{u();p();function tj0(t){return Array.isArray?Array.isArray(t):ZO(t)==="[object Array]"}Oo.isArray=tj0;function nj0(t){return typeof t=="boolean"}Oo.isBoolean=nj0;function aj0(t){return t===null}Oo.isNull=aj0;function rj0(t){return t==null}Oo.isNullOrUndefined=rj0;function fj0(t){return typeof t=="number"}Oo.isNumber=fj0;function ij0(t){return typeof t=="string"}Oo.isString=ij0;function sj0(t){return typeof t=="symbol"}Oo.isSymbol=sj0;function oj0(t){return t===void 0}Oo.isUndefined=oj0;function cj0(t){return ZO(t)==="[object RegExp]"}Oo.isRegExp=cj0;function dj0(t){return typeof t=="object"&&t!==null}Oo.isObject=dj0;function lj0(t){return ZO(t)==="[object Date]"}Oo.isDate=lj0;function uj0(t){return ZO(t)==="[object Error]"||t instanceof Error}Oo.isError=uj0;function pj0(t){return typeof t=="function"}Oo.isFunction=pj0;function hj0(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}Oo.isPrimitive=hj0;Oo.isBuffer=Kf().Buffer.isBuffer;function ZO(t){return Object.prototype.toString.call(t)}});var jIe=D((Jjn,sae)=>{"use strict";u();p();function bj0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var qIe=nk().Buffer,ak=nl();function mj0(t,e,n){t.copy(e,n)}sae.exports=function(){function t(){bj0(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(n){var a={data:n,next:null};this.length>0?this.tail.next=a:this.head=a,this.tail=a,++this.length},t.prototype.unshift=function(n){var a={data:n,next:this.head};this.length===0&&(this.tail=a),this.head=a,++this.length},t.prototype.shift=function(){if(this.length!==0){var n=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,n}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(n){if(this.length===0)return"";for(var a=this.head,r=""+a.data;a=a.next;)r+=n+a.data;return r},t.prototype.concat=function(n){if(this.length===0)return qIe.alloc(0);for(var a=qIe.allocUnsafe(n>>>0),r=this.head,f=0;r;)mj0(r.data,a,f),f+=r.data.length,r=r.next;return a},t}();ak&&ak.inspect&&ak.inspect.custom&&(sae.exports.prototype[ak.inspect.custom]=function(){var t=ak.inspect({length:this.length});return this.constructor.name+" "+t})});var oae=D((eGn,GIe)=>{"use strict";u();p();var eU=tk();function yj0(t,e){var n=this,a=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return a||r?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,eU.nextTick(tU,this,t)):eU.nextTick(tU,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(f){!e&&f?n._writableState?n._writableState.errorEmitted||(n._writableState.errorEmitted=!0,eU.nextTick(tU,n,f)):eU.nextTick(tU,n,f):e&&e(f)}),this)}function gj0(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function tU(t,e){t.emit("error",e)}GIe.exports={destroy:yj0,undestroy:gj0}});var dae=D((aGn,ZIe)=>{"use strict";u();p();var Vy=tk();ZIe.exports=Ci;function QIe(t){var e=this;this.next=null,this.entry=null,this.finish=function(){Fj0(e,t)}}var vj0=!E.browser&&["v0.10","v0.9."].indexOf(E.version.slice(0,5))>-1?setImmediate:Vy.nextTick,Ow;Ci.WritableState=fk;var VIe=Object.create(Nw());VIe.inherits=Nt();var wj0={deprecate:Qte()},YIe=fae(),aU=nk().Buffer,Tj0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function xj0(t){return aU.from(t)}function Ej0(t){return aU.isBuffer(t)||t instanceof Tj0}var $Ie=oae();VIe.inherits(Ci,YIe);function _j0(){}function fk(t,e){Ow=Ow||Yy(),t=t||{};var n=e instanceof Ow;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var a=t.highWaterMark,r=t.writableHighWaterMark,f=this.objectMode?16:16*1024;a||a===0?this.highWaterMark=a:n&&(r||r===0)?this.highWaterMark=r:this.highWaterMark=f,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=t.decodeStrings===!1;this.decodeStrings=!i,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(s){Mj0(e,s)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new QIe(this)}fk.prototype.getBuffer=function(){for(var e=this.bufferedRequest,n=[];e;)n.push(e),e=e.next;return n};(function(){try{Object.defineProperty(fk.prototype,"buffer",{get:wj0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var nU;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(nU=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ci,Symbol.hasInstance,{value:function(t){return nU.call(this,t)?!0:this!==Ci?!1:t&&t._writableState instanceof fk}})):nU=function(t){return t instanceof this};function Ci(t){if(Ow=Ow||Yy(),!nU.call(Ci,this)&&!(this instanceof Ow))return new Ci(t);this._writableState=new fk(t,this),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),YIe.call(this)}Ci.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Aj0(t,e){var n=new Error("write after end");t.emit("error",n),Vy.nextTick(e,n)}function Cj0(t,e,n,a){var r=!0,f=!1;return n===null?f=new TypeError("May not write null values to stream"):typeof n!="string"&&n!==void 0&&!e.objectMode&&(f=new TypeError("Invalid non-string/buffer chunk")),f&&(t.emit("error",f),Vy.nextTick(a,f),r=!1),r}Ci.prototype.write=function(t,e,n){var a=this._writableState,r=!1,f=!a.objectMode&&Ej0(t);return f&&!aU.isBuffer(t)&&(t=xj0(t)),typeof e=="function"&&(n=e,e=null),f?e="buffer":e||(e=a.defaultEncoding),typeof n!="function"&&(n=_j0),a.ended?Aj0(this,n):(f||Cj0(this,a,t,n))&&(a.pendingcb++,r=kj0(this,a,f,t,e,n)),r};Ci.prototype.cork=function(){var t=this._writableState;t.corked++};Ci.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&JIe(this,t))};Ci.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this};function Ij0(t,e,n){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=aU.from(e,n)),e}Object.defineProperty(Ci.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function kj0(t,e,n,a,r,f){if(!n){var i=Ij0(e,a,r);a!==i&&(n=!0,r="buffer",a=i)}var s=e.objectMode?1:a.length;e.length+=s;var o=e.length{"use strict";u();p();var eke=tk(),Nj0=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};ake.exports=b8;var tke=Object.create(Nw());tke.inherits=Nt();var nke=pae(),uae=dae();tke.inherits(b8,nke);for(lae=Nj0(uae.prototype),rU=0;rU{"use strict";u();p();var bae=nk().Buffer,rke=bae.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Hj0(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function zj0(t){var e=Hj0(t);if(typeof e!="string"&&(bae.isEncoding===rke||!rke(t)))throw new Error("Unknown encoding: "+t);return e||t}fke.StringDecoder=ik;function ik(t){this.encoding=zj0(t);var e;switch(this.encoding){case"utf16le":this.text=Qj0,this.end=Vj0,e=4;break;case"utf8":this.fillLast=jj0,e=4;break;case"base64":this.text=Yj0,this.end=$j0,e=3;break;default:this.write=Jj0,this.end=Xj0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=bae.allocUnsafe(e)}ik.prototype.write=function(t){if(t.length===0)return"";var e,n;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function Wj0(t,e,n){var a=e.length-1;if(a=0?(r>0&&(t.lastNeed=r-1),r):--a=0?(r>0&&(t.lastNeed=r-2),r):--a=0?(r>0&&(r===2?r=0:t.lastNeed=r-3),r):0))}function qj0(t,e,n){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function jj0(t){var e=this.lastTotal-this.lastNeed,n=qj0(this,t,e);if(n!==void 0)return n;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function Gj0(t,e){var n=Wj0(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var a=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,a),t.toString("utf8",e,a)}function Kj0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function Qj0(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var a=n.charCodeAt(n.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function Vj0(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function Yj0(t,e){var n=(t.length-e)%3;return n===0?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function $j0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function Jj0(t){return t.toString(this.encoding)}function Xj0(t){return t&&t.length?this.write(t):""}});var pae=D((pGn,yke)=>{"use strict";u();p();var Hw=tk();yke.exports=ef;var Zj0=UIe(),sk;ef.ReadableState=uke;var uGn=Nr().EventEmitter,cke=function(t,e){return t.listeners(e).length},Tae=fae(),ok=nk().Buffer,eG0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function tG0(t){return ok.from(t)}function nG0(t){return ok.isBuffer(t)||t instanceof eG0}var dke=Object.create(Nw());dke.inherits=Nt();var yae=nl(),qa=void 0;yae&&yae.debuglog?qa=yae.debuglog("stream"):qa=function(){};var aG0=jIe(),lke=oae(),Uw;dke.inherits(ef,Tae);var gae=["error","close","destroy","pause","resume"];function rG0(t,e,n){if(typeof t.prependListener=="function")return t.prependListener(e,n);!t._events||!t._events[e]?t.on(e,n):Zj0(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]}function uke(t,e){sk=sk||Yy(),t=t||{};var n=e instanceof sk;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var a=t.highWaterMark,r=t.readableHighWaterMark,f=this.objectMode?16:16*1024;a||a===0?this.highWaterMark=a:n&&(r||r===0)?this.highWaterMark=r:this.highWaterMark=f,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new aG0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(Uw||(Uw=mae().StringDecoder),this.decoder=new Uw(t.encoding),this.encoding=t.encoding)}function ef(t){if(sk=sk||Yy(),!(this instanceof ef))return new ef(t);this._readableState=new uke(t,this),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),Tae.call(this)}Object.defineProperty(ef.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}});ef.prototype.destroy=lke.destroy;ef.prototype._undestroy=lke.undestroy;ef.prototype._destroy=function(t,e){this.push(null),e(t)};ef.prototype.push=function(t,e){var n=this._readableState,a;return n.objectMode?a=!0:typeof t=="string"&&(e=e||n.defaultEncoding,e!==n.encoding&&(t=ok.from(t,e),e=""),a=!0),pke(this,t,e,!1,a)};ef.prototype.unshift=function(t){return pke(this,t,null,!0,!1)};function pke(t,e,n,a,r){var f=t._readableState;if(e===null)f.reading=!1,oG0(t,f);else{var i;r||(i=fG0(f,e)),i?t.emit("error",i):f.objectMode||e&&e.length>0?(typeof e!="string"&&!f.objectMode&&Object.getPrototypeOf(e)!==ok.prototype&&(e=tG0(e)),a?f.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):vae(t,f,e,!0):f.ended?t.emit("error",new Error("stream.push() after EOF")):(f.reading=!1,f.decoder&&!n?(e=f.decoder.write(e),f.objectMode||e.length!==0?vae(t,f,e,!1):hke(t,f)):vae(t,f,e,!1))):a||(f.reading=!1)}return iG0(f)}function vae(t,e,n,a){e.flowing&&e.length===0&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,a?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&iU(t)),hke(t,e)}function fG0(t,e){var n;return!nG0(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(n=new TypeError("Invalid non-string/buffer chunk")),n}function iG0(t){return!t.ended&&(t.needReadable||t.length=ike?t=ike:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function ske(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=sG0(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}ef.prototype.read=function(t){qa("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return qa("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?wae(this):iU(this),null;if(t=ske(t,e),t===0&&e.ended)return e.length===0&&wae(this),null;var a=e.needReadable;qa("need readable",a),(e.length===0||e.length-t0?r=bke(t,e):r=null,r===null?(e.needReadable=!0,t=0):e.length-=t,e.length===0&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&wae(this)),r!==null&&this.emit("data",r),r};function oG0(t,e){if(!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,iU(t)}}function iU(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(qa("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?Hw.nextTick(oke,t):oke(t))}function oke(t){qa("emit readable"),t.emit("readable"),xae(t)}function hke(t,e){e.readingMore||(e.readingMore=!0,Hw.nextTick(cG0,t,e))}function cG0(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length1&&mke(a.pipes,t)!==-1)&&!c&&(qa("false write response, pause",a.awaitDrain),a.awaitDrain++,l=!0),n.pause())}function y(F){qa("onerror",F),O(),t.removeListener("error",y),cke(t,"error")===0&&t.emit("error",F)}rG0(t,"error",y);function v(){t.removeListener("finish",k),O()}t.once("close",v);function k(){qa("onfinish"),t.removeListener("close",v),O()}t.once("finish",k);function O(){qa("unpipe"),n.unpipe(t)}return t.emit("pipe",n),a.flowing||(qa("pipe resume"),n.resume()),t};function dG0(t){return function(){var e=t._readableState;qa("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,e.awaitDrain===0&&cke(t,"data")&&(e.flowing=!0,xae(t))}}ef.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n),this);if(!t){var a=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var f=0;f=e.length?(e.decoder?n=e.buffer.join(""):e.buffer.length===1?n=e.buffer.head.data:n=e.buffer.concat(e.length),e.buffer.clear()):n=hG0(t,e.buffer,e.decoder),n}function hG0(t,e,n){var a;return tf.length?f.length:t;if(i===f.length?r+=f:r+=f.slice(0,t),t-=i,t===0){i===f.length?(++a,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=f.slice(i));break}++a}return e.length-=a,r}function mG0(t,e){var n=ok.allocUnsafe(t),a=e.head,r=1;for(a.data.copy(n),t-=a.data.length;a=a.next;){var f=a.data,i=t>f.length?f.length:t;if(f.copy(n,n.length-t,0,i),t-=i,t===0){i===f.length?(++r,a.next?e.head=a.next:e.head=e.tail=null):(e.head=a,a.data=f.slice(i));break}++r}return e.length-=r,n}function wae(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,Hw.nextTick(yG0,e,t))}function yG0(t,e){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function mke(t,e){for(var n=0,a=t.length;n{"use strict";u();p();wke.exports=m8;var sU=Yy(),vke=Object.create(Nw());vke.inherits=Nt();vke.inherits(m8,sU);function gG0(t,e){var n=this._transformState;n.transforming=!1;var a=n.writecb;if(!a)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,e!=null&&this.push(e),a(t);var r=this._readableState;r.reading=!1,(r.needReadable||r.length{"use strict";u();p();Eke.exports=ck;var Tke=Eae(),xke=Object.create(Nw());xke.inherits=Nt();xke.inherits(ck,Tke);function ck(t){if(!(this instanceof ck))return new ck(t);Tke.call(this,t)}ck.prototype._transform=function(t,e,n){n(null,t)}});var Cke=D((x2,Ake)=>{u();p();x2=Ake.exports=pae();x2.Stream=x2;x2.Readable=x2;x2.Writable=dae();x2.Duplex=Yy();x2.Transform=Eae();x2.PassThrough=_ke()});var oU=D((_Gn,Ske)=>{u();p();var zw=Va(),wG0=f8();function TG0(t){var e=Ike(t),n=e.toRed(zw.mont(t.modulus)).redPow(new zw(t.publicExponent)).fromRed();return{blinder:n,unblinder:e.invm(t.modulus)}}function Ike(t){var e=t.modulus.byteLength(),n;do n=new zw(wG0(e));while(n.cmp(t.modulus)>=0||!n.umod(t.prime1)||!n.umod(t.prime2));return n}function kke(t,e){var n=TG0(e),a=e.modulus.byteLength(),r=new zw(t).mul(n.blinder).umod(e.modulus),f=r.toRed(zw.mont(e.prime1)),i=r.toRed(zw.mont(e.prime2)),s=e.coefficient,o=e.prime1,c=e.prime2,d=f.redPow(e.exponent1).fromRed(),l=i.redPow(e.exponent2).fromRed(),h=d.isub(l).imul(s).umod(o).imul(c);return l.iadd(h).imul(n.unblinder).umod(e.modulus).toArrayLike(_.Buffer,"be",a)}kke.getr=Ike;Ske.exports=kke});var Rke=D((IGn,xG0)=>{xG0.exports={name:"elliptic",version:"6.5.5",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny ",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}});var v6=D(Mke=>{"use strict";u();p();var il=Mke,EG0=kr(),_G0=kc(),cU=AN();il.assert=_G0;il.toArray=cU.toArray;il.zero2=cU.zero2;il.toHex=cU.toHex;il.encode=cU.encode;function AG0(t,e,n){var a=new Array(Math.max(t.bitLength(),n)+1),r;for(r=0;r(f>>1)-1?s=(f>>1)-o:s=o,i.isubn(s)):s=0,a[r]=s,i.iushrn(1)}return a}il.getNAF=AG0;function CG0(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var a=0,r=0,f;t.cmpn(-a)>0||e.cmpn(-r)>0;){var i=t.andln(3)+a&3,s=e.andln(3)+r&3;i===3&&(i=-1),s===3&&(s=-1);var o;i&1?(f=t.andln(7)+a&7,(f===3||f===5)&&s===2?o=-i:o=i):o=0,n[0].push(o);var c;s&1?(f=e.andln(7)+r&7,(f===3||f===5)&&i===2?c=-s:c=s):c=0,n[1].push(c),2*a===o+1&&(a=1-a),2*r===c+1&&(r=1-r),t.iushrn(1),e.iushrn(1)}return n}il.getJSF=CG0;function IG0(t,e,n){var a="_"+e;t.prototype[e]=function(){return this[a]!==void 0?this[a]:this[a]=n.call(this)}}il.cachedProperty=IG0;function kG0(t){return typeof t=="string"?il.toArray(t,"hex"):t}il.parseBytes=kG0;function SG0(t){return new EG0(t,"hex","le")}il.intFromLE=SG0});var lk=D((MGn,Bke)=>{"use strict";u();p();var $y=kr(),dk=v6(),dU=dk.getNAF,RG0=dk.getJSF,lU=dk.assert;function P3(t,e){this.type=t,this.p=new $y(e.p,16),this.red=e.prime?$y.red(e.prime):$y.mont(this.p),this.zero=new $y(0).toRed(this.red),this.one=new $y(1).toRed(this.red),this.two=new $y(2).toRed(this.red),this.n=e.n&&new $y(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}Bke.exports=P3;P3.prototype.point=function(){throw new Error("Not implemented")};P3.prototype.validate=function(){throw new Error("Not implemented")};P3.prototype._fixedNafMul=function(e,n){lU(e.precomputed);var a=e._getDoubles(),r=dU(n,1,this._bitLength),f=(1<=s;c--)o=(o<<1)+r[c];i.push(o)}for(var d=this.jpoint(null,null,null),l=this.jpoint(null,null,null),h=f;h>0;h--){for(s=0;s=0;o--){for(var c=0;o>=0&&i[o]===0;o--)c++;if(o>=0&&c++,s=s.dblp(c),o<0)break;var d=i[o];lU(d!==0),e.type==="affine"?d>0?s=s.mixedAdd(f[d-1>>1]):s=s.mixedAdd(f[-d-1>>1].neg()):d>0?s=s.add(f[d-1>>1]):s=s.add(f[-d-1>>1].neg())}return e.type==="affine"?s.toP():s};P3.prototype._wnafMulAdd=function(e,n,a,r,f){var i=this._wnafT1,s=this._wnafT2,o=this._wnafT3,c=0,d,l,h;for(d=0;d=1;d-=2){var v=d-1,k=d;if(i[v]!==1||i[k]!==1){o[v]=dU(a[v],i[v],this._bitLength),o[k]=dU(a[k],i[k],this._bitLength),c=Math.max(o[v].length,c),c=Math.max(o[k].length,c);continue}var O=[n[v],null,null,n[k]];n[v].y.cmp(n[k].y)===0?(O[1]=n[v].add(n[k]),O[2]=n[v].toJ().mixedAdd(n[k].neg())):n[v].y.cmp(n[k].y.redNeg())===0?(O[1]=n[v].toJ().mixedAdd(n[k]),O[2]=n[v].add(n[k].neg())):(O[1]=n[v].toJ().mixedAdd(n[k]),O[2]=n[v].toJ().mixedAdd(n[k].neg()));var F=[-3,-1,-5,-7,0,7,5,1,3],z=RG0(a[v],a[k]);for(c=Math.max(z[0].length,c),o[v]=new Array(c),o[k]=new Array(c),l=0;l=0;d--){for(var X=0;d>=0;){var K=!0;for(l=0;l=0&&X++,Q=Q.dblp(X),d<0)break;for(l=0;l0?h=s[l][G-1>>1]:G<0&&(h=s[l][-G-1>>1].neg()),h.type==="affine"?Q=Q.mixedAdd(h):Q=Q.add(h))}}for(d=0;d=Math.ceil((e.bitLength()+1)/n.step):!1};R5.prototype._getDoubles=function(e,n){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var a=[this],r=this,f=0;f{"use strict";u();p();var MG0=v6(),$f=kr(),_ae=Nt(),Ww=lk(),BG0=MG0.assert;function M5(t){Ww.call(this,"short",t),this.a=new $f(t.a,16).toRed(this.red),this.b=new $f(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}_ae(M5,Ww);Dke.exports=M5;M5.prototype._getEndomorphism=function(e){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var n,a;if(e.beta)n=new $f(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);n=r[0].cmp(r[1])<0?r[0]:r[1],n=n.toRed(this.red)}if(e.lambda)a=new $f(e.lambda,16);else{var f=this._getEndoRoots(this.n);this.g.mul(f[0]).x.cmp(this.g.x.redMul(n))===0?a=f[0]:(a=f[1],BG0(this.g.mul(a).x.cmp(this.g.x.redMul(n))===0))}var i;return e.basis?i=e.basis.map(function(s){return{a:new $f(s.a,16),b:new $f(s.b,16)}}):i=this._getEndoBasis(a),{beta:n,lambda:a,basis:i}}};M5.prototype._getEndoRoots=function(e){var n=e===this.p?this.red:$f.mont(e),a=new $f(2).toRed(n).redInvm(),r=a.redNeg(),f=new $f(3).toRed(n).redNeg().redSqrt().redMul(a),i=r.redAdd(f).fromRed(),s=r.redSub(f).fromRed();return[i,s]};M5.prototype._getEndoBasis=function(e){for(var n=this.n.ushrn(Math.floor(this.n.bitLength()/2)),a=e,r=this.n.clone(),f=new $f(1),i=new $f(0),s=new $f(0),o=new $f(1),c,d,l,h,y,v,k,O=0,F,z;a.cmpn(0)!==0;){var W=r.div(a);F=r.sub(W.mul(a)),z=s.sub(W.mul(f));var j=o.sub(W.mul(i));if(!l&&F.cmp(n)<0)c=k.neg(),d=f,l=F.neg(),h=z;else if(l&&++O===2)break;k=F,r=a,a=F,s=f,f=z,o=i,i=j}y=F.neg(),v=z;var Q=l.sqr().add(h.sqr()),V=y.sqr().add(v.sqr());return V.cmp(Q)>=0&&(y=c,v=d),l.negative&&(l=l.neg(),h=h.neg()),y.negative&&(y=y.neg(),v=v.neg()),[{a:l,b:h},{a:y,b:v}]};M5.prototype._endoSplit=function(e){var n=this.endo.basis,a=n[0],r=n[1],f=r.b.mul(e).divRound(this.n),i=a.b.neg().mul(e).divRound(this.n),s=f.mul(a.a),o=i.mul(r.a),c=f.mul(a.b),d=i.mul(r.b),l=e.sub(s).sub(o),h=c.add(d).neg();return{k1:l,k2:h}};M5.prototype.pointFromX=function(e,n){e=new $f(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=a.redSqrt();if(r.redSqr().redSub(a).cmp(this.zero)!==0)throw new Error("invalid point");var f=r.fromRed().isOdd();return(n&&!f||!n&&f)&&(r=r.redNeg()),this.point(e,r)};M5.prototype.validate=function(e){if(e.inf)return!0;var n=e.x,a=e.y,r=this.a.redMul(n),f=n.redSqr().redMul(n).redIAdd(r).redIAdd(this.b);return a.redSqr().redISub(f).cmpn(0)===0};M5.prototype._endoWnafMulAdd=function(e,n,a){for(var r=this._endoWnafT1,f=this._endoWnafT2,i=0;i":""};ms.prototype.isInfinity=function(){return this.inf};ms.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(this.x.cmp(e.x)===0)return this.curve.point(null,null);var n=this.y.redSub(e.y);n.cmpn(0)!==0&&(n=n.redMul(this.x.redSub(e.x).redInvm()));var a=n.redSqr().redISub(this.x).redISub(e.x),r=n.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,r)};ms.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(e.cmpn(0)===0)return this.curve.point(null,null);var n=this.curve.a,a=this.x.redSqr(),r=e.redInvm(),f=a.redAdd(a).redIAdd(a).redIAdd(n).redMul(r),i=f.redSqr().redISub(this.x.redAdd(this.x)),s=f.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,s)};ms.prototype.getX=function(){return this.x.fromRed()};ms.prototype.getY=function(){return this.y.fromRed()};ms.prototype.mul=function(e){return e=new $f(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)};ms.prototype.mulAdd=function(e,n,a){var r=[this,n],f=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,f):this.curve._wnafMulAdd(1,r,f,2)};ms.prototype.jmulAdd=function(e,n,a){var r=[this,n],f=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,f,!0):this.curve._wnafMulAdd(1,r,f,2,!0)};ms.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||this.x.cmp(e.x)===0&&this.y.cmp(e.y)===0)};ms.prototype.neg=function(e){if(this.inf)return this;var n=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var a=this.precomputed,r=function(f){return f.neg()};n.precomputed={naf:a.naf&&{wnd:a.naf.wnd,points:a.naf.points.map(r)},doubles:a.doubles&&{step:a.doubles.step,points:a.doubles.points.map(r)}}}return n};ms.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e};function Xs(t,e,n,a){Ww.BasePoint.call(this,t,"jacobian"),e===null&&n===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new $f(0)):(this.x=new $f(e,16),this.y=new $f(n,16),this.z=new $f(a,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}_ae(Xs,Ww.BasePoint);M5.prototype.jpoint=function(e,n,a){return new Xs(this,e,n,a)};Xs.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),n=e.redSqr(),a=this.x.redMul(n),r=this.y.redMul(n).redMul(e);return this.curve.point(a,r)};Xs.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};Xs.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var n=e.z.redSqr(),a=this.z.redSqr(),r=this.x.redMul(n),f=e.x.redMul(a),i=this.y.redMul(n.redMul(e.z)),s=e.y.redMul(a.redMul(this.z)),o=r.redSub(f),c=i.redSub(s);if(o.cmpn(0)===0)return c.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var d=o.redSqr(),l=d.redMul(o),h=r.redMul(d),y=c.redSqr().redIAdd(l).redISub(h).redISub(h),v=c.redMul(h.redISub(y)).redISub(i.redMul(l)),k=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(y,v,k)};Xs.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var n=this.z.redSqr(),a=this.x,r=e.x.redMul(n),f=this.y,i=e.y.redMul(n).redMul(this.z),s=a.redSub(r),o=f.redSub(i);if(s.cmpn(0)===0)return o.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),d=c.redMul(s),l=a.redMul(c),h=o.redSqr().redIAdd(d).redISub(l).redISub(l),y=o.redMul(l.redISub(h)).redISub(f.redMul(d)),v=this.z.redMul(s);return this.curve.jpoint(h,y,v)};Xs.prototype.dblp=function(e){if(e===0)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var n;if(this.curve.zeroA||this.curve.threeA){var a=this;for(n=0;n=0)return!1;if(a.redIAdd(f),this.x.cmp(a)===0)return!0}};Xs.prototype.inspect=function(){return this.isInfinity()?"":""};Xs.prototype.isInfinity=function(){return this.z.cmpn(0)===0}});var Nke=D((NGn,Fke)=>{"use strict";u();p();var qw=kr(),Lke=Nt(),uU=lk(),DG0=v6();function jw(t){uU.call(this,"mont",t),this.a=new qw(t.a,16).toRed(this.red),this.b=new qw(t.b,16).toRed(this.red),this.i4=new qw(4).toRed(this.red).redInvm(),this.two=new qw(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}Lke(jw,uU);Fke.exports=jw;jw.prototype.validate=function(e){var n=e.normalize().x,a=n.redSqr(),r=a.redMul(n).redAdd(a.redMul(this.a)).redAdd(n),f=r.redSqrt();return f.redSqr().cmp(r)===0};function ys(t,e,n){uU.BasePoint.call(this,t,"projective"),e===null&&n===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new qw(e,16),this.z=new qw(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}Lke(ys,uU.BasePoint);jw.prototype.decodePoint=function(e,n){return this.point(DG0.toArray(e,n),1)};jw.prototype.point=function(e,n){return new ys(this,e,n)};jw.prototype.pointFromJSON=function(e){return ys.fromJSON(this,e)};ys.prototype.precompute=function(){};ys.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};ys.fromJSON=function(e,n){return new ys(e,n[0],n[1]||e.one)};ys.prototype.inspect=function(){return this.isInfinity()?"":""};ys.prototype.isInfinity=function(){return this.z.cmpn(0)===0};ys.prototype.dbl=function(){var e=this.x.redAdd(this.z),n=e.redSqr(),a=this.x.redSub(this.z),r=a.redSqr(),f=n.redSub(r),i=n.redMul(r),s=f.redMul(r.redAdd(this.curve.a24.redMul(f)));return this.curve.point(i,s)};ys.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};ys.prototype.diffAdd=function(e,n){var a=this.x.redAdd(this.z),r=this.x.redSub(this.z),f=e.x.redAdd(e.z),i=e.x.redSub(e.z),s=i.redMul(a),o=f.redMul(r),c=n.z.redMul(s.redAdd(o).redSqr()),d=n.x.redMul(s.redISub(o).redSqr());return this.curve.point(c,d)};ys.prototype.mul=function(e){for(var n=e.clone(),a=this,r=this.curve.point(null,null),f=this,i=[];n.cmpn(0)!==0;n.iushrn(1))i.push(n.andln(1));for(var s=i.length-1;s>=0;s--)i[s]===0?(a=a.diffAdd(r,f),r=r.dbl()):(r=a.diffAdd(r,f),a=a.dbl());return r};ys.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};ys.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};ys.prototype.eq=function(e){return this.getX().cmp(e.getX())===0};ys.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};ys.prototype.getX=function(){return this.normalize(),this.x.fromRed()}});var Hke=D((HGn,Uke)=>{"use strict";u();p();var PG0=v6(),y8=kr(),Oke=Nt(),pU=lk(),LG0=PG0.assert;function E2(t){this.twisted=(t.a|0)!==1,this.mOneA=this.twisted&&(t.a|0)===-1,this.extended=this.mOneA,pU.call(this,"edwards",t),this.a=new y8(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new y8(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new y8(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),LG0(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(t.c|0)===1}Oke(E2,pU);Uke.exports=E2;E2.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)};E2.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)};E2.prototype.jpoint=function(e,n,a,r){return this.point(e,n,a,r)};E2.prototype.pointFromX=function(e,n){e=new y8(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=this.c2.redSub(this.a.redMul(a)),f=this.one.redSub(this.c2.redMul(this.d).redMul(a)),i=r.redMul(f.redInvm()),s=i.redSqrt();if(s.redSqr().redSub(i).cmp(this.zero)!==0)throw new Error("invalid point");var o=s.fromRed().isOdd();return(n&&!o||!n&&o)&&(s=s.redNeg()),this.point(e,s)};E2.prototype.pointFromY=function(e,n){e=new y8(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=a.redSub(this.c2),f=a.redMul(this.d).redMul(this.c2).redSub(this.a),i=r.redMul(f.redInvm());if(i.cmp(this.zero)===0){if(n)throw new Error("invalid point");return this.point(this.zero,e)}var s=i.redSqrt();if(s.redSqr().redSub(i).cmp(this.zero)!==0)throw new Error("invalid point");return s.fromRed().isOdd()!==n&&(s=s.redNeg()),this.point(s,e)};E2.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var n=e.x.redSqr(),a=e.y.redSqr(),r=n.redMul(this.a).redAdd(a),f=this.c2.redMul(this.one.redAdd(this.d.redMul(n).redMul(a)));return r.cmp(f)===0};function Or(t,e,n,a,r){pU.BasePoint.call(this,t,"projective"),e===null&&n===null&&a===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new y8(e,16),this.y=new y8(n,16),this.z=a?new y8(a,16):this.curve.one,this.t=r&&new y8(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}Oke(Or,pU.BasePoint);E2.prototype.pointFromJSON=function(e){return Or.fromJSON(this,e)};E2.prototype.point=function(e,n,a,r){return new Or(this,e,n,a,r)};Or.fromJSON=function(e,n){return new Or(e,n[0],n[1],n[2])};Or.prototype.inspect=function(){return this.isInfinity()?"":""};Or.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};Or.prototype._extDbl=function(){var e=this.x.redSqr(),n=this.y.redSqr(),a=this.z.redSqr();a=a.redIAdd(a);var r=this.curve._mulA(e),f=this.x.redAdd(this.y).redSqr().redISub(e).redISub(n),i=r.redAdd(n),s=i.redSub(a),o=r.redSub(n),c=f.redMul(s),d=i.redMul(o),l=f.redMul(o),h=s.redMul(i);return this.curve.point(c,d,h,l)};Or.prototype._projDbl=function(){var e=this.x.redAdd(this.y).redSqr(),n=this.x.redSqr(),a=this.y.redSqr(),r,f,i,s,o,c;if(this.curve.twisted){s=this.curve._mulA(n);var d=s.redAdd(a);this.zOne?(r=e.redSub(n).redSub(a).redMul(d.redSub(this.curve.two)),f=d.redMul(s.redSub(a)),i=d.redSqr().redSub(d).redSub(d)):(o=this.z.redSqr(),c=d.redSub(o).redISub(o),r=e.redSub(n).redISub(a).redMul(c),f=d.redMul(s.redSub(a)),i=d.redMul(c))}else s=n.redAdd(a),o=this.curve._mulC(this.z).redSqr(),c=s.redSub(o).redSub(o),r=this.curve._mulC(e.redISub(s)).redMul(c),f=this.curve._mulC(s).redMul(n.redISub(a)),i=s.redMul(c);return this.curve.point(r,f,i)};Or.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()};Or.prototype._extAdd=function(e){var n=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),a=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),f=this.z.redMul(e.z.redAdd(e.z)),i=a.redSub(n),s=f.redSub(r),o=f.redAdd(r),c=a.redAdd(n),d=i.redMul(s),l=o.redMul(c),h=i.redMul(c),y=s.redMul(o);return this.curve.point(d,l,y,h)};Or.prototype._projAdd=function(e){var n=this.z.redMul(e.z),a=n.redSqr(),r=this.x.redMul(e.x),f=this.y.redMul(e.y),i=this.curve.d.redMul(r).redMul(f),s=a.redSub(i),o=a.redAdd(i),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(r).redISub(f),d=n.redMul(s).redMul(c),l,h;return this.curve.twisted?(l=n.redMul(o).redMul(f.redSub(this.curve._mulA(r))),h=s.redMul(o)):(l=n.redMul(o).redMul(f.redSub(r)),h=this.curve._mulC(s).redMul(o)),this.curve.point(d,l,h)};Or.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)};Or.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)};Or.prototype.mulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!1)};Or.prototype.jmulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!0)};Or.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this};Or.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};Or.prototype.getX=function(){return this.normalize(),this.x.fromRed()};Or.prototype.getY=function(){return this.normalize(),this.y.fromRed()};Or.prototype.eq=function(e){return this===e||this.getX().cmp(e.getX())===0&&this.getY().cmp(e.getY())===0};Or.prototype.eqXToP=function(e){var n=e.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(n)===0)return!0;for(var a=e.clone(),r=this.curve.redN.redMul(this.z);;){if(a.iadd(this.curve.n),a.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(r),this.x.cmp(n)===0)return!0}};Or.prototype.toP=Or.prototype.normalize;Or.prototype.mixedAdd=Or.prototype.add});var Aae=D(zke=>{"use strict";u();p();var hU=zke;hU.base=lk();hU.short=Pke();hU.mont=Nke();hU.edwards=Hke()});var sl=D(Sr=>{"use strict";u();p();var FG0=kc(),NG0=Nt();Sr.inherits=NG0;function OG0(t,e){return(t.charCodeAt(e)&64512)!==55296||e<0||e+1>=t.length?!1:(t.charCodeAt(e+1)&64512)===56320}function UG0(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if(typeof t=="string")if(e){if(e==="hex")for(t=t.replace(/[^a-z0-9]+/ig,""),t.length%2!==0&&(t="0"+t),r=0;r>6|192,n[a++]=f&63|128):OG0(t,r)?(f=65536+((f&1023)<<10)+(t.charCodeAt(++r)&1023),n[a++]=f>>18|240,n[a++]=f>>12&63|128,n[a++]=f>>6&63|128,n[a++]=f&63|128):(n[a++]=f>>12|224,n[a++]=f>>6&63|128,n[a++]=f&63|128)}else for(r=0;r>>24|t>>>8&65280|t<<8&16711680|(t&255)<<24;return e>>>0}Sr.htonl=Wke;function zG0(t,e){for(var n="",a=0;a>>0}return f}Sr.join32=WG0;function qG0(t,e){for(var n=new Array(t.length*4),a=0,r=0;a>>24,n[r+1]=f>>>16&255,n[r+2]=f>>>8&255,n[r+3]=f&255):(n[r+3]=f>>>24,n[r+2]=f>>>16&255,n[r+1]=f>>>8&255,n[r]=f&255)}return n}Sr.split32=qG0;function jG0(t,e){return t>>>e|t<<32-e}Sr.rotr32=jG0;function GG0(t,e){return t<>>32-e}Sr.rotl32=GG0;function KG0(t,e){return t+e>>>0}Sr.sum32=KG0;function QG0(t,e,n){return t+e+n>>>0}Sr.sum32_3=QG0;function VG0(t,e,n,a){return t+e+n+a>>>0}Sr.sum32_4=VG0;function YG0(t,e,n,a,r){return t+e+n+a+r>>>0}Sr.sum32_5=YG0;function $G0(t,e,n,a){var r=t[e],f=t[e+1],i=a+f>>>0,s=(i>>0,t[e+1]=i}Sr.sum64=$G0;function JG0(t,e,n,a){var r=e+a>>>0,f=(r>>0}Sr.sum64_hi=JG0;function XG0(t,e,n,a){var r=e+a;return r>>>0}Sr.sum64_lo=XG0;function ZG0(t,e,n,a,r,f,i,s){var o=0,c=e;c=c+a>>>0,o+=c>>0,o+=c>>0,o+=c>>0}Sr.sum64_4_hi=ZG0;function eK0(t,e,n,a,r,f,i,s){var o=e+a+f+s;return o>>>0}Sr.sum64_4_lo=eK0;function tK0(t,e,n,a,r,f,i,s,o,c){var d=0,l=e;l=l+a>>>0,d+=l>>0,d+=l>>0,d+=l>>0,d+=l>>0}Sr.sum64_5_hi=tK0;function nK0(t,e,n,a,r,f,i,s,o,c){var d=e+a+f+s+c;return d>>>0}Sr.sum64_5_lo=nK0;function aK0(t,e,n){var a=e<<32-n|t>>>n;return a>>>0}Sr.rotr64_hi=aK0;function rK0(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}Sr.rotr64_lo=rK0;function fK0(t,e,n){return t>>>n}Sr.shr64_hi=fK0;function iK0(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}Sr.shr64_lo=iK0});var Gw=D(Kke=>{"use strict";u();p();var Gke=sl(),sK0=kc();function bU(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}Kke.BlockHash=bU;bU.prototype.update=function(e,n){if(e=Gke.toArray(e,n),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){e=this.pending;var a=e.length%this._delta8;this.pending=e.slice(e.length-a,e.length),this.pending.length===0&&(this.pending=null),e=Gke.join32(e,0,e.length-a,this.endian);for(var r=0;r>>24&255,r[f++]=e>>>16&255,r[f++]=e>>>8&255,r[f++]=e&255}else for(r[f++]=e&255,r[f++]=e>>>8&255,r[f++]=e>>>16&255,r[f++]=e>>>24&255,r[f++]=0,r[f++]=0,r[f++]=0,r[f++]=0,i=8;i{"use strict";u();p();var oK0=sl(),_2=oK0.rotr32;function cK0(t,e,n,a){if(t===0)return Qke(e,n,a);if(t===1||t===3)return Yke(e,n,a);if(t===2)return Vke(e,n,a)}g8.ft_1=cK0;function Qke(t,e,n){return t&e^~t&n}g8.ch32=Qke;function Vke(t,e,n){return t&e^t&n^e&n}g8.maj32=Vke;function Yke(t,e,n){return t^e^n}g8.p32=Yke;function dK0(t){return _2(t,2)^_2(t,13)^_2(t,22)}g8.s0_256=dK0;function lK0(t){return _2(t,6)^_2(t,11)^_2(t,25)}g8.s1_256=lK0;function uK0(t){return _2(t,7)^_2(t,18)^t>>>3}g8.g0_256=uK0;function pK0(t){return _2(t,17)^_2(t,19)^t>>>10}g8.g1_256=pK0});var Xke=D((tKn,Jke)=>{"use strict";u();p();var Kw=sl(),hK0=Gw(),bK0=Cae(),Iae=Kw.rotl32,uk=Kw.sum32,mK0=Kw.sum32_5,yK0=bK0.ft_1,$ke=hK0.BlockHash,gK0=[1518500249,1859775393,2400959708,3395469782];function A2(){if(!(this instanceof A2))return new A2;$ke.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}Kw.inherits(A2,$ke);Jke.exports=A2;A2.blockSize=512;A2.outSize=160;A2.hmacStrength=80;A2.padLength=64;A2.prototype._update=function(e,n){for(var a=this.W,r=0;r<16;r++)a[r]=e[n+r];for(;r{"use strict";u();p();var Qw=sl(),vK0=Gw(),Vw=Cae(),wK0=kc(),ol=Qw.sum32,TK0=Qw.sum32_4,xK0=Qw.sum32_5,EK0=Vw.ch32,_K0=Vw.maj32,AK0=Vw.s0_256,CK0=Vw.s1_256,IK0=Vw.g0_256,kK0=Vw.g1_256,Zke=vK0.BlockHash,SK0=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function C2(){if(!(this instanceof C2))return new C2;Zke.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=SK0,this.W=new Array(64)}Qw.inherits(C2,Zke);eSe.exports=C2;C2.blockSize=512;C2.outSize=256;C2.hmacStrength=192;C2.padLength=64;C2.prototype._update=function(e,n){for(var a=this.W,r=0;r<16;r++)a[r]=e[n+r];for(;r{"use strict";u();p();var Sae=sl(),tSe=kae();function v8(){if(!(this instanceof v8))return new v8;tSe.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}Sae.inherits(v8,tSe);nSe.exports=v8;v8.blockSize=512;v8.outSize=224;v8.hmacStrength=192;v8.padLength=64;v8.prototype._digest=function(e){return e==="hex"?Sae.toHex32(this.h.slice(0,7),"big"):Sae.split32(this.h.slice(0,7),"big")}});var Bae=D((dKn,sSe)=>{"use strict";u();p();var Rc=sl(),RK0=Gw(),MK0=kc(),I2=Rc.rotr64_hi,k2=Rc.rotr64_lo,rSe=Rc.shr64_hi,fSe=Rc.shr64_lo,L3=Rc.sum64,Rae=Rc.sum64_hi,Mae=Rc.sum64_lo,BK0=Rc.sum64_4_hi,DK0=Rc.sum64_4_lo,PK0=Rc.sum64_5_hi,LK0=Rc.sum64_5_lo,iSe=RK0.BlockHash,FK0=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function cl(){if(!(this instanceof cl))return new cl;iSe.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=FK0,this.W=new Array(160)}Rc.inherits(cl,iSe);sSe.exports=cl;cl.blockSize=1024;cl.outSize=512;cl.hmacStrength=192;cl.padLength=128;cl.prototype._prepareBlock=function(e,n){for(var a=this.W,r=0;r<32;r++)a[r]=e[n+r];for(;r{"use strict";u();p();var Dae=sl(),oSe=Bae();function w8(){if(!(this instanceof w8))return new w8;oSe.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}Dae.inherits(w8,oSe);cSe.exports=w8;w8.blockSize=1024;w8.outSize=384;w8.hmacStrength=192;w8.padLength=128;w8.prototype._digest=function(e){return e==="hex"?Dae.toHex32(this.h.slice(0,12),"big"):Dae.split32(this.h.slice(0,12),"big")}});var lSe=D(Yw=>{"use strict";u();p();Yw.sha1=Xke();Yw.sha224=aSe();Yw.sha256=kae();Yw.sha384=dSe();Yw.sha512=Bae()});var ySe=D(mSe=>{"use strict";u();p();var Jy=sl(),YK0=Gw(),mU=Jy.rotl32,uSe=Jy.sum32,pk=Jy.sum32_3,pSe=Jy.sum32_4,bSe=YK0.BlockHash;function S2(){if(!(this instanceof S2))return new S2;bSe.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}Jy.inherits(S2,bSe);mSe.ripemd160=S2;S2.blockSize=512;S2.outSize=160;S2.hmacStrength=192;S2.padLength=64;S2.prototype._update=function(e,n){for(var a=this.h[0],r=this.h[1],f=this.h[2],i=this.h[3],s=this.h[4],o=a,c=r,d=f,l=i,h=s,y=0;y<80;y++){var v=uSe(mU(pSe(a,hSe(y,r,f,i),e[XK0[y]+n],$K0(y)),eQ0[y]),s);a=s,s=i,i=mU(f,10),f=r,r=v,v=uSe(mU(pSe(o,hSe(79-y,c,d,l),e[ZK0[y]+n],JK0(y)),tQ0[y]),h),o=h,h=l,l=mU(d,10),d=c,c=v}v=pk(this.h[1],f,l),this.h[1]=pk(this.h[2],i,h),this.h[2]=pk(this.h[3],s,o),this.h[3]=pk(this.h[4],a,c),this.h[4]=pk(this.h[0],r,d),this.h[0]=v};S2.prototype._digest=function(e){return e==="hex"?Jy.toHex32(this.h,"little"):Jy.split32(this.h,"little")};function hSe(t,e,n,a){return t<=15?e^n^a:t<=31?e&n|~e&a:t<=47?(e|~n)^a:t<=63?e&a|n&~a:e^(n|~a)}function $K0(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function JK0(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}var XK0=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],ZK0=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],eQ0=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],tQ0=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]});var vSe=D((xKn,gSe)=>{"use strict";u();p();var nQ0=sl(),aQ0=kc();function $w(t,e,n){if(!(this instanceof $w))return new $w(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(nQ0.toArray(e,n))}gSe.exports=$w;$w.prototype._init=function(e){e.length>this.blockSize&&(e=new this.Hash().update(e).digest()),aQ0(e.length<=this.blockSize);for(var n=e.length;n{u();p();var Zs=wSe;Zs.utils=sl();Zs.common=Gw();Zs.sha=lSe();Zs.ripemd=ySe();Zs.hmac=vSe();Zs.sha1=Zs.sha.sha1;Zs.sha256=Zs.sha.sha256;Zs.sha224=Zs.sha.sha224;Zs.sha384=Zs.sha.sha384;Zs.sha512=Zs.sha.sha512;Zs.ripemd160=Zs.ripemd.ripemd160});var xSe=D((kKn,TSe)=>{u();p();TSe.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}});var yU=D(ASe=>{"use strict";u();p();var Lae=ASe,F3=Xy(),Pae=Aae(),rQ0=v6(),ESe=rQ0.assert;function _Se(t){t.type==="short"?this.curve=new Pae.short(t):t.type==="edwards"?this.curve=new Pae.edwards(t):this.curve=new Pae.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,ESe(this.g.validate(),"Invalid curve"),ESe(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}Lae.PresetCurve=_Se;function N3(t,e){Object.defineProperty(Lae,t,{configurable:!0,enumerable:!0,get:function(){var n=new _Se(e);return Object.defineProperty(Lae,t,{configurable:!0,enumerable:!0,value:n}),n}})}N3("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:F3.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});N3("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:F3.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});N3("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:F3.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});N3("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:F3.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]});N3("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:F3.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]});N3("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:F3.sha256,gRed:!1,g:["9"]});N3("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:F3.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var Fae;try{Fae=xSe()}catch{Fae=void 0}N3("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:F3.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",Fae]})});var Nae=D((PKn,ISe)=>{"use strict";u();p();var fQ0=Xy(),Zy=AN(),CSe=kc();function O3(t){if(!(this instanceof O3))return new O3(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=Zy.toArray(t.entropy,t.entropyEnc||"hex"),n=Zy.toArray(t.nonce,t.nonceEnc||"hex"),a=Zy.toArray(t.pers,t.persEnc||"hex");CSe(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,a)}ISe.exports=O3;O3.prototype._init=function(e,n,a){var r=e.concat(n).concat(a);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var f=0;f=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(a||[])),this._reseed=1};O3.prototype.generate=function(e,n,a,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof n!="string"&&(r=a,a=n,n=null),a&&(a=Zy.toArray(a,r||"hex"),this._update(a));for(var f=[];f.length{"use strict";u();p();var iQ0=kr(),sQ0=v6(),Oae=sQ0.assert;function Uo(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}kSe.exports=Uo;Uo.fromPublic=function(e,n,a){return n instanceof Uo?n:new Uo(e,{pub:n,pubEnc:a})};Uo.fromPrivate=function(e,n,a){return n instanceof Uo?n:new Uo(e,{priv:n,privEnc:a})};Uo.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}};Uo.prototype.getPublic=function(e,n){return typeof e=="string"&&(n=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),n?this.pub.encode(n,e):this.pub};Uo.prototype.getPrivate=function(e){return e==="hex"?this.priv.toString(16,2):this.priv};Uo.prototype._importPrivate=function(e,n){this.priv=new iQ0(e,n||16),this.priv=this.priv.umod(this.ec.curve.n)};Uo.prototype._importPublic=function(e,n){if(e.x||e.y){this.ec.curve.type==="mont"?Oae(e.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&Oae(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,n)};Uo.prototype.derive=function(e){return e.validate()||Oae(e.validate(),"public point not validated"),e.mul(this.priv).getX()};Uo.prototype.sign=function(e,n,a){return this.ec.sign(e,this,n,a)};Uo.prototype.verify=function(e,n){return this.ec.verify(e,n,this)};Uo.prototype.inspect=function(){return""}});var BSe=D((HKn,MSe)=>{"use strict";u();p();var gU=kr(),zae=v6(),oQ0=zae.assert;function vU(t,e){if(t instanceof vU)return t;this._importDER(t,e)||(oQ0(t.r&&t.s,"Signature without r or s"),this.r=new gU(t.r,16),this.s=new gU(t.s,16),t.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}MSe.exports=vU;function cQ0(){this.place=0}function Uae(t,e){var n=t[e.place++];if(!(n&128))return n;var a=n&15;if(a===0||a>4)return!1;for(var r=0,f=0,i=e.place;f>>=0;return r<=127?!1:(e.place=i,r)}function RSe(t){for(var e=0,n=t.length-1;!t[e]&&!(t[e+1]&128)&&e>>3);for(t.push(n|128);--n;)t.push(e>>>(n<<3)&255);t.push(e)}vU.prototype.toDER=function(e){var n=this.r.toArray(),a=this.s.toArray();for(n[0]&128&&(n=[0].concat(n)),a[0]&128&&(a=[0].concat(a)),n=RSe(n),a=RSe(a);!a[0]&&!(a[1]&128);)a=a.slice(1);var r=[2];Hae(r,n.length),r=r.concat(n),r.push(2),Hae(r,a.length);var f=r.concat(a),i=[48];return Hae(i,f.length),i=i.concat(f),zae.encode(i,e)}});var FSe=D((qKn,LSe)=>{"use strict";u();p();var e7=kr(),DSe=Nae(),dQ0=v6(),Wae=yU(),lQ0=Pw(),PSe=dQ0.assert,qae=SSe(),wU=BSe();function B5(t){if(!(this instanceof B5))return new B5(t);typeof t=="string"&&(PSe(Object.prototype.hasOwnProperty.call(Wae,t),"Unknown curve "+t),t=Wae[t]),t instanceof Wae.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}LSe.exports=B5;B5.prototype.keyPair=function(e){return new qae(this,e)};B5.prototype.keyFromPrivate=function(e,n){return qae.fromPrivate(this,e,n)};B5.prototype.keyFromPublic=function(e,n){return qae.fromPublic(this,e,n)};B5.prototype.genKeyPair=function(e){e||(e={});for(var n=new DSe({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||lQ0(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),r=this.n.sub(new e7(2));;){var f=new e7(n.generate(a));if(!(f.cmp(r)>0))return f.iaddn(1),this.keyFromPrivate(f)}};B5.prototype._truncateToN=function(e,n){var a=e.byteLength()*8-this.n.bitLength();return a>0&&(e=e.ushrn(a)),!n&&e.cmp(this.n)>=0?e.sub(this.n):e};B5.prototype.sign=function(e,n,a,r){typeof a=="object"&&(r=a,a=null),r||(r={}),n=this.keyFromPrivate(n,a),e=this._truncateToN(new e7(e,16));for(var f=this.n.byteLength(),i=n.getPrivate().toArray("be",f),s=e.toArray("be",f),o=new DSe({hash:this.hash,entropy:i,nonce:s,pers:r.pers,persEnc:r.persEnc||"utf8"}),c=this.n.sub(new e7(1)),d=0;;d++){var l=r.k?r.k(d):new e7(o.generate(this.n.byteLength()));if(l=this._truncateToN(l,!0),!(l.cmpn(1)<=0||l.cmp(c)>=0)){var h=this.g.mul(l);if(!h.isInfinity()){var y=h.getX(),v=y.umod(this.n);if(v.cmpn(0)!==0){var k=l.invm(this.n).mul(v.mul(n.getPrivate()).iadd(e));if(k=k.umod(this.n),k.cmpn(0)!==0){var O=(h.getY().isOdd()?1:0)|(y.cmp(v)!==0?2:0);return r.canonical&&k.cmp(this.nh)>0&&(k=this.n.sub(k),O^=1),new wU({r:v,s:k,recoveryParam:O})}}}}}};B5.prototype.verify=function(e,n,a,r){e=this._truncateToN(new e7(e,16)),a=this.keyFromPublic(a,r),n=new wU(n,"hex");var f=n.r,i=n.s;if(f.cmpn(1)<0||f.cmp(this.n)>=0||i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var s=i.invm(this.n),o=s.mul(e).umod(this.n),c=s.mul(f).umod(this.n),d;return this.curve._maxwellTrick?(d=this.g.jmulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.eqXToP(f)):(d=this.g.mulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.getX().umod(this.n).cmp(f)===0)};B5.prototype.recoverPubKey=function(t,e,n,a){PSe((3&n)===n,"The recovery param is more than two bits"),e=new wU(e,a);var r=this.n,f=new e7(t),i=e.r,s=e.s,o=n&1,c=n>>1;if(i.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?i=this.curve.pointFromX(i.add(this.curve.n),o):i=this.curve.pointFromX(i,o);var d=e.r.invm(r),l=r.sub(f).mul(d).umod(r),h=s.mul(d).umod(r);return this.g.mulAdd(l,i,h)};B5.prototype.getKeyRecoveryParam=function(t,e,n,a){if(e=new wU(e,a),e.recoveryParam!==null)return e.recoveryParam;for(var r=0;r<4;r++){var f;try{f=this.recoverPubKey(t,e,r)}catch{continue}if(f.eq(n))return r}throw new Error("Unable to find valid recovery factor")}});var HSe=D((KKn,USe)=>{"use strict";u();p();var hk=v6(),OSe=hk.assert,NSe=hk.parseBytes,Jw=hk.cachedProperty;function gs(t,e){this.eddsa=t,this._secret=NSe(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=NSe(e.pub)}gs.fromPublic=function(e,n){return n instanceof gs?n:new gs(e,{pub:n})};gs.fromSecret=function(e,n){return n instanceof gs?n:new gs(e,{secret:n})};gs.prototype.secret=function(){return this._secret};Jw(gs,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});Jw(gs,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});Jw(gs,"privBytes",function(){var e=this.eddsa,n=this.hash(),a=e.encodingLength-1,r=n.slice(0,e.encodingLength);return r[0]&=248,r[a]&=127,r[a]|=64,r});Jw(gs,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});Jw(gs,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});Jw(gs,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});gs.prototype.sign=function(e){return OSe(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)};gs.prototype.verify=function(e,n){return this.eddsa.verify(e,n,this)};gs.prototype.getSecret=function(e){return OSe(this._secret,"KeyPair is public only"),hk.encode(this.secret(),e)};gs.prototype.getPublic=function(e){return hk.encode(this.pubBytes(),e)};USe.exports=gs});var WSe=D((YKn,zSe)=>{"use strict";u();p();var uQ0=kr(),TU=v6(),pQ0=TU.assert,xU=TU.cachedProperty,hQ0=TU.parseBytes;function t7(t,e){this.eddsa=t,typeof e!="object"&&(e=hQ0(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),pQ0(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof uQ0&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}xU(t7,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});xU(t7,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});xU(t7,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});xU(t7,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});t7.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};t7.prototype.toHex=function(){return TU.encode(this.toBytes(),"hex").toUpperCase()};zSe.exports=t7});var QSe=D((XKn,KSe)=>{"use strict";u();p();var bQ0=Xy(),mQ0=yU(),Xw=v6(),yQ0=Xw.assert,jSe=Xw.parseBytes,GSe=HSe(),qSe=WSe();function Mc(t){if(yQ0(t==="ed25519","only tested with ed25519 so far"),!(this instanceof Mc))return new Mc(t);t=mQ0[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=bQ0.sha512}KSe.exports=Mc;Mc.prototype.sign=function(e,n){e=jSe(e);var a=this.keyFromSecret(n),r=this.hashInt(a.messagePrefix(),e),f=this.g.mul(r),i=this.encodePoint(f),s=this.hashInt(i,a.pubBytes(),e).mul(a.priv()),o=r.add(s).umod(this.curve.n);return this.makeSignature({R:f,S:o,Rencoded:i})};Mc.prototype.verify=function(e,n,a){e=jSe(e),n=this.makeSignature(n);var r=this.keyFromPublic(a),f=this.hashInt(n.Rencoded(),r.pubBytes(),e),i=this.g.mul(n.S()),s=n.R().add(r.pub().mul(f));return s.eq(i)};Mc.prototype.hashInt=function(){for(var e=this.hash(),n=0;n{"use strict";u();p();var n7=VSe;n7.version=Rke().version;n7.utils=v6();n7.rand=Pw();n7.curve=Aae();n7.curves=yU();n7.ec=FSe();n7.eddsa=QSe()});var YSe=D((exports,module)=>{u();p();var indexOf=function(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0;n{u();p();var $Se=eT(),gQ0=Nt(),vQ0=JSe;vQ0.define=function(e,n){return new Zw(e,n)};function Zw(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}Zw.prototype._createNamed=function(e){var n;try{n=YSe().runInThisContext("(function "+this.name+`(entity) { this._initNamed(entity); -})`)}catch{n=function(r){this._initNamed(r)}}return gQ0(n,e),n.prototype._initNamed=function(r){e.call(this,r)},new n(this)};Zw.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed($Se.decoders[e])),this.decoders[e]};Zw.prototype.decode=function(e,n,a){return this._getDecoder(n).decode(e,a)};Zw.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed($Se.encoders[e])),this.encoders[e]};Zw.prototype.encode=function(e,n,a){return this._getEncoder(n).encode(e,a)}});var eRe=D(ZSe=>{u();p();var wQ0=Nt();function D5(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}ZSe.Reporter=D5;D5.prototype.isError=function(e){return e instanceof tT};D5.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}};D5.prototype.restore=function(e){var n=this._reporterState;n.obj=e.obj,n.path=n.path.slice(0,e.pathLen)};D5.prototype.enterKey=function(e){return this._reporterState.path.push(e)};D5.prototype.exitKey=function(e){var n=this._reporterState;n.path=n.path.slice(0,e-1)};D5.prototype.leaveKey=function(e,n,a){var r=this._reporterState;this.exitKey(e),r.obj!==null&&(r.obj[n]=a)};D5.prototype.path=function(){return this._reporterState.path.join("/")};D5.prototype.enterObject=function(){var e=this._reporterState,n=e.obj;return e.obj={},n};D5.prototype.leaveObject=function(e){var n=this._reporterState,a=n.obj;return n.obj=e,a};D5.prototype.error=function(e){var n,a=this._reporterState,r=e instanceof tT;if(r?n=e:n=new tT(a.path.map(function(f){return"["+JSON.stringify(f)+"]"}).join(""),e.message||e,e.stack),!a.options.partial)throw n;return r||a.errors.push(n),n};D5.prototype.wrapResult=function(e){var n=this._reporterState;return n.options.partial?{result:this.isError(e)?null:e,errors:n.errors}:e};function tT(t,e){this.path=t,this.rethrow(e)}wQ0(tT,Error);tT.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,tT),!this.stack)try{throw new Error(this.message)}catch(n){this.stack=n.stack}return this}});var Gae=D(jae=>{u();p();var TQ0=Nt(),_U=nT().Reporter,mk=Kf().Buffer;function R2(t,e){if(_U.call(this,e),!mk.isBuffer(t)){this.error("Input not Buffer");return}this.base=t,this.offset=0,this.length=t.length}TQ0(R2,_U);jae.DecoderBuffer=R2;R2.prototype.save=function(){return{offset:this.offset,reporter:_U.prototype.save.call(this)}};R2.prototype.restore=function(e){var n=new R2(this.base);return n.offset=e.offset,n.length=this.offset,this.offset=e.offset,_U.prototype.restore.call(this,e.reporter),n};R2.prototype.isEmpty=function(){return this.offset===this.length};R2.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")};R2.prototype.skip=function(e,n){if(!(this.offset+e<=this.length))return this.error(n||"DecoderBuffer overrun");var a=new R2(this.base);return a._reporterState=this._reporterState,a.offset=this.offset,a.length=this.offset+e,this.offset+=e,a};R2.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)};function EU(t,e){if(Array.isArray(t))this.length=0,this.value=t.map(function(n){return n instanceof EU||(n=new EU(n,e)),this.length+=n.length,n},this);else if(typeof t=="number"){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if(typeof t=="string")this.value=t,this.length=mk.byteLength(t);else if(mk.isBuffer(t))this.value=t,this.length=t.length;else return e.error("Unsupported type: "+typeof t)}jae.EncoderBuffer=EU;EU.prototype.join=function(e,n){return e||(e=new mk(this.length)),n||(n=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(a){a.join(e,n),n+=a.length}):(typeof this.value=="number"?e[n]=this.value:typeof this.value=="string"?e.write(this.value,n):mk.isBuffer(this.value)&&this.value.copy(e,n),n+=this.length)),e}});var aRe=D((bQn,nRe)=>{u();p();var xQ0=nT().Reporter,EQ0=nT().EncoderBuffer,_Q0=nT().DecoderBuffer,U1=kc(),tRe=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],AQ0=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(tRe),CQ0=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function mr(t,e){var n={};this._baseState=n,n.enc=t,n.parent=e||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}nRe.exports=mr;var IQ0=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];mr.prototype.clone=function(){var e=this._baseState,n={};IQ0.forEach(function(r){n[r]=e[r]});var a=new this.constructor(n.parent);return a._baseState=n,a};mr.prototype._wrap=function(){var e=this._baseState;AQ0.forEach(function(n){this[n]=function(){var r=new this.constructor(this);return e.children.push(r),r[n].apply(r,arguments)}},this)};mr.prototype._init=function(e){var n=this._baseState;U1(n.parent===null),e.call(this),n.children=n.children.filter(function(a){return a._baseState.parent===this},this),U1.equal(n.children.length,1,"Root node can have only one child")};mr.prototype._useArgs=function(e){var n=this._baseState,a=e.filter(function(r){return r instanceof this.constructor},this);e=e.filter(function(r){return!(r instanceof this.constructor)},this),a.length!==0&&(U1(n.children===null),n.children=a,a.forEach(function(r){r._baseState.parent=this},this)),e.length!==0&&(U1(n.args===null),n.args=e,n.reverseArgs=e.map(function(r){if(typeof r!="object"||r.constructor!==Object)return r;var f={};return Object.keys(r).forEach(function(i){i==(i|0)&&(i|=0);var s=r[i];f[s]=i}),f}))};CQ0.forEach(function(t){mr.prototype[t]=function(){var n=this._baseState;throw new Error(t+" not implemented for encoding: "+n.enc)}});tRe.forEach(function(t){mr.prototype[t]=function(){var n=this._baseState,a=Array.prototype.slice.call(arguments);return U1(n.tag===null),n.tag=t,this._useArgs(a),this}});mr.prototype.use=function(e){U1(e);var n=this._baseState;return U1(n.use===null),n.use=e,this};mr.prototype.optional=function(){var e=this._baseState;return e.optional=!0,this};mr.prototype.def=function(e){var n=this._baseState;return U1(n.default===null),n.default=e,n.optional=!0,this};mr.prototype.explicit=function(e){var n=this._baseState;return U1(n.explicit===null&&n.implicit===null),n.explicit=e,this};mr.prototype.implicit=function(e){var n=this._baseState;return U1(n.explicit===null&&n.implicit===null),n.implicit=e,this};mr.prototype.obj=function(){var e=this._baseState,n=Array.prototype.slice.call(arguments);return e.obj=!0,n.length!==0&&this._useArgs(n),this};mr.prototype.key=function(e){var n=this._baseState;return U1(n.key===null),n.key=e,this};mr.prototype.any=function(){var e=this._baseState;return e.any=!0,this};mr.prototype.choice=function(e){var n=this._baseState;return U1(n.choice===null),n.choice=e,this._useArgs(Object.keys(e).map(function(a){return e[a]})),this};mr.prototype.contains=function(e){var n=this._baseState;return U1(n.use===null),n.contains=e,this};mr.prototype._decode=function(e,n){var a=this._baseState;if(a.parent===null)return e.wrapResult(a.children[0]._decode(e,n));var r=a.default,f=!0,i=null;if(a.key!==null&&(i=e.enterKey(a.key)),a.optional){var s=null;if(a.explicit!==null?s=a.explicit:a.implicit!==null?s=a.implicit:a.tag!==null&&(s=a.tag),s===null&&!a.any){var o=e.save();try{a.choice===null?this._decodeGeneric(a.tag,e,n):this._decodeChoice(e,n),f=!0}catch{f=!1}e.restore(o)}else if(f=this._peekTag(e,s,a.any),e.isError(f))return f}var c;if(a.obj&&f&&(c=e.enterObject()),f){if(a.explicit!==null){var d=this._decodeTag(e,a.explicit);if(e.isError(d))return d;e=d}var l=e.offset;if(a.use===null&&a.choice===null){if(a.any)var o=e.save();var h=this._decodeTag(e,a.implicit!==null?a.implicit:a.tag,a.any);if(e.isError(h))return h;a.any?r=e.raw(o):e=h}if(n&&n.track&&a.tag!==null&&n.track(e.path(),l,e.length,"tagged"),n&&n.track&&a.tag!==null&&n.track(e.path(),e.offset,e.length,"content"),a.any?r=r:a.choice===null?r=this._decodeGeneric(a.tag,e,n):r=this._decodeChoice(e,n),e.isError(r))return r;if(!a.any&&a.choice===null&&a.children!==null&&a.children.forEach(function(S){S._decode(e,n)}),a.contains&&(a.tag==="octstr"||a.tag==="bitstr")){var y=new _Q0(r);r=this._getUse(a.contains,e._reporterState.obj)._decode(y,n)}}return a.obj&&f&&(r=e.leaveObject(c)),a.key!==null&&(r!==null||f===!0)?e.leaveKey(i,a.key,r):i!==null&&e.exitKey(i),r};mr.prototype._decodeGeneric=function(e,n,a){var r=this._baseState;return e==="seq"||e==="set"?null:e==="seqof"||e==="setof"?this._decodeList(n,e,r.args[0],a):/str$/.test(e)?this._decodeStr(n,e,a):e==="objid"&&r.args?this._decodeObjid(n,r.args[0],r.args[1],a):e==="objid"?this._decodeObjid(n,null,null,a):e==="gentime"||e==="utctime"?this._decodeTime(n,e,a):e==="null_"?this._decodeNull(n,a):e==="bool"?this._decodeBool(n,a):e==="objDesc"?this._decodeStr(n,e,a):e==="int"||e==="enum"?this._decodeInt(n,r.args&&r.args[0],a):r.use!==null?this._getUse(r.use,n._reporterState.obj)._decode(n,a):n.error("unknown tag: "+e)};mr.prototype._getUse=function(e,n){var a=this._baseState;return a.useDecoder=this._use(e,n),U1(a.useDecoder._baseState.parent===null),a.useDecoder=a.useDecoder._baseState.children[0],a.implicit!==a.useDecoder._baseState.implicit&&(a.useDecoder=a.useDecoder.clone(),a.useDecoder._baseState.implicit=a.implicit),a.useDecoder};mr.prototype._decodeChoice=function(e,n){var a=this._baseState,r=null,f=!1;return Object.keys(a.choice).some(function(i){var s=e.save(),o=a.choice[i];try{var c=o._decode(e,n);if(e.isError(c))return!1;r={type:i,value:c},f=!0}catch{return e.restore(s),!1}return!0},this),f?r:e.error("Choice not matched")};mr.prototype._createEncoderBuffer=function(e){return new EQ0(e,this.reporter)};mr.prototype._encode=function(e,n,a){var r=this._baseState;if(!(r.default!==null&&r.default===e)){var f=this._encodeValue(e,n,a);if(f!==void 0&&!this._skipDefault(f,n,a))return f}};mr.prototype._encodeValue=function(e,n,a){var r=this._baseState;if(r.parent===null)return r.children[0]._encode(e,n||new xQ0);var o=null;if(this.reporter=n,r.optional&&e===void 0)if(r.default!==null)e=r.default;else return;var f=null,i=!1;if(r.any)o=this._createEncoderBuffer(e);else if(r.choice)o=this._encodeChoice(e,n);else if(r.contains)f=this._getUse(r.contains,a)._encode(e,n),i=!0;else if(r.children)f=r.children.map(function(l){if(l._baseState.tag==="null_")return l._encode(null,n,e);if(l._baseState.key===null)return n.error("Child should have a key");var h=n.enterKey(l._baseState.key);if(typeof e!="object")return n.error("Child expected, but input is not object");var y=l._encode(e[l._baseState.key],n,e);return n.leaveKey(h),y},this).filter(function(l){return l}),f=this._createEncoderBuffer(f);else if(r.tag==="seqof"||r.tag==="setof"){if(!(r.args&&r.args.length===1))return n.error("Too many args for : "+r.tag);if(!Array.isArray(e))return n.error("seqof/setof, but data is not Array");var s=this.clone();s._baseState.implicit=null,f=this._createEncoderBuffer(e.map(function(l){var h=this._baseState;return this._getUse(h.args[0],e)._encode(l,n)},s))}else r.use!==null?o=this._getUse(r.use,a)._encode(e,n):(f=this._encodePrimitive(r.tag,e),i=!0);var o;if(!r.any&&r.choice===null){var c=r.implicit!==null?r.implicit:r.tag,d=r.implicit===null?"universal":"context";c===null?r.use===null&&n.error("Tag could be omitted only for .use()"):r.use===null&&(o=this._encodeComposite(c,i,d,f))}return r.explicit!==null&&(o=this._encodeComposite(r.explicit,!1,"context",o)),o};mr.prototype._encodeChoice=function(e,n){var a=this._baseState,r=a.choice[e.type];return r||U1(!1,e.type+" not found in "+JSON.stringify(Object.keys(a.choice))),r._encode(e.value,n)};mr.prototype._encodePrimitive=function(e,n){var a=this._baseState;if(/str$/.test(e))return this._encodeStr(n,e);if(e==="objid"&&a.args)return this._encodeObjid(n,a.reverseArgs[0],a.args[1]);if(e==="objid")return this._encodeObjid(n,null,null);if(e==="gentime"||e==="utctime")return this._encodeTime(n,e);if(e==="null_")return this._encodeNull();if(e==="int"||e==="enum")return this._encodeInt(n,a.args&&a.reverseArgs[0]);if(e==="bool")return this._encodeBool(n);if(e==="objDesc")return this._encodeStr(n,e);throw new Error("Unsupported tag: "+e)};mr.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)};mr.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}});var nT=D(rRe=>{u();p();var AU=rRe;AU.Reporter=eRe().Reporter;AU.DecoderBuffer=Gae().DecoderBuffer;AU.EncoderBuffer=Gae().EncoderBuffer;AU.Node=aRe()});var iRe=D(n7=>{u();p();var fRe=Kae();n7.tagClass={0:"universal",1:"application",2:"context",3:"private"};n7.tagClassByName=fRe._reverse(n7.tagClass);n7.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"};n7.tagByName=fRe._reverse(n7.tag)});var Kae=D(oRe=>{u();p();var sRe=oRe;sRe._reverse=function(e){var n={};return Object.keys(e).forEach(function(a){(a|0)==a&&(a=a|0);var r=e[a];n[r]=a}),n};sRe.der=iRe()});var Yae=D((IQn,uRe)=>{u();p();var kQ0=Nt(),Qae=eT(),CU=Qae.base,SQ0=Qae.bignum,cRe=Qae.constants.der;function dRe(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new w6,this.tree._init(t.body)}uRe.exports=dRe;dRe.prototype.decode=function(e,n){return e instanceof CU.DecoderBuffer||(e=new CU.DecoderBuffer(e,n)),this.tree._decode(e,n)};function w6(t){CU.Node.call(this,"der",t)}kQ0(w6,CU.Node);w6.prototype._peekTag=function(e,n,a){if(e.isEmpty())return!1;var r=e.save(),f=Vae(e,'Failed to peek tag: "'+n+'"');return e.isError(f)?f:(e.restore(r),f.tag===n||f.tagStr===n||f.tagStr+"of"===n||a)};w6.prototype._decodeTag=function(e,n,a){var r=Vae(e,'Failed to decode tag of "'+n+'"');if(e.isError(r))return r;var f=lRe(e,r.primitive,'Failed to get length of "'+n+'"');if(e.isError(f))return f;if(!a&&r.tag!==n&&r.tagStr!==n&&r.tagStr+"of"!==n)return e.error('Failed to match tag: "'+n+'"');if(r.primitive||f!==null)return e.skip(f,'Failed to match body of: "'+n+'"');var i=e.save(),s=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(s)?s:(f=e.offset-i.offset,e.restore(i),e.skip(f,'Failed to match body of: "'+n+'"'))};w6.prototype._skipUntilEnd=function(e,n){for(;;){var a=Vae(e,n);if(e.isError(a))return a;var r=lRe(e,a.primitive,n);if(e.isError(r))return r;var f;if(a.primitive||r!==null?f=e.skip(r):f=this._skipUntilEnd(e,n),e.isError(f))return f;if(a.tagStr==="end")break}};w6.prototype._decodeList=function(e,n,a,r){for(var f=[];!e.isEmpty();){var i=this._peekTag(e,"end");if(e.isError(i))return i;var s=a.decode(e,"der",r);if(e.isError(s)&&i)break;f.push(s)}return f};w6.prototype._decodeStr=function(e,n){if(n==="bitstr"){var a=e.readUInt8();return e.isError(a)?a:{unused:a,data:e.raw()}}else if(n==="bmpstr"){var r=e.raw();if(r.length%2===1)return e.error("Decoding of string type: bmpstr length mismatch");for(var f="",i=0;i>6],r=(n&32)===0;if((n&31)===31){var f=n;for(n=0;(f&128)===128;){if(f=t.readUInt8(e),t.isError(f))return f;n<<=7,n|=f&127}}else n&=31;var i=cRe.tag[n];return{cls:a,primitive:r,tag:n,tagStr:i}}function lRe(t,e,n){var a=t.readUInt8(n);if(t.isError(a))return a;if(!e&&a===128)return null;if(!(a&128))return a;var r=a&127;if(r>4)return t.error("length octect is too long");a=0;for(var f=0;f{u();p();var RQ0=Nt(),MQ0=Kf().Buffer,$ae=Yae();function Jae(t){$ae.call(this,t),this.enc="pem"}RQ0(Jae,$ae);pRe.exports=Jae;Jae.prototype.decode=function(e,n){for(var a=e.toString().split(/[\r\n]+/g),r=n.label.toUpperCase(),f=/^-----(BEGIN|END) ([^-]+)-----$/,i=-1,s=-1,o=0;o{u();p();var bRe=mRe;bRe.der=Yae();bRe.pem=hRe()});var Zae=D((FQn,TRe)=>{u();p();var BQ0=Nt(),T8=Kf().Buffer,gRe=eT(),vRe=gRe.base,Xae=gRe.constants.der;function wRe(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new dl,this.tree._init(t.body)}TRe.exports=wRe;wRe.prototype.encode=function(e,n){return this.tree._encode(e,n).join()};function dl(t){vRe.Node.call(this,"der",t)}BQ0(dl,vRe.Node);dl.prototype._encodeComposite=function(e,n,a,r){var f=DQ0(e,n,a,this.reporter);if(r.length<128){var o=new T8(2);return o[0]=f,o[1]=r.length,this._createEncoderBuffer([o,r])}for(var i=1,s=r.length;s>=256;s>>=8)i++;var o=new T8(2+i);o[0]=f,o[1]=128|i;for(var s=1+i,c=r.length;c>0;s--,c>>=8)o[s]=c&255;return this._createEncoderBuffer([o,r])};dl.prototype._encodeStr=function(e,n){if(n==="bitstr")return this._createEncoderBuffer([e.unused|0,e.data]);if(n==="bmpstr"){for(var a=new T8(e.length*2),r=0;r=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,e[0]*40+e[1])}for(var f=0,r=0;r=128;i>>=7)f++}for(var s=new T8(f),o=s.length-1,r=e.length-1;r>=0;r--){var i=e[r];for(s[o--]=i&127;(i>>=7)>0;)s[o--]=128|i&127}return this._createEncoderBuffer(s)};function P5(t){return t<10?"0"+t:t}dl.prototype._encodeTime=function(e,n){var a,r=new Date(e);return n==="gentime"?a=[P5(r.getFullYear()),P5(r.getUTCMonth()+1),P5(r.getUTCDate()),P5(r.getUTCHours()),P5(r.getUTCMinutes()),P5(r.getUTCSeconds()),"Z"].join(""):n==="utctime"?a=[P5(r.getFullYear()%100),P5(r.getUTCMonth()+1),P5(r.getUTCDate()),P5(r.getUTCHours()),P5(r.getUTCMinutes()),P5(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+n+" time is not supported yet"),this._encodeStr(a,"octstr")};dl.prototype._encodeNull=function(){return this._createEncoderBuffer("")};dl.prototype._encodeInt=function(e,n){if(typeof e=="string"){if(!n)return this.reporter.error("String int or enum given, but no values map");if(!n.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=n[e]}if(typeof e!="number"&&!T8.isBuffer(e)){var a=e.toArray();!e.sign&&a[0]&128&&a.unshift(0),e=new T8(a)}if(T8.isBuffer(e)){var r=e.length;e.length===0&&r++;var i=new T8(r);return e.copy(i),e.length===0&&(i[0]=0),this._createEncoderBuffer(i)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var r=1,f=e;f>=256;f>>=8)r++;for(var i=new Array(r),f=i.length-1;f>=0;f--)i[f]=e&255,e>>=8;return i[0]&128&&i.unshift(0),this._createEncoderBuffer(new T8(i))};dl.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)};dl.prototype._use=function(e,n){return typeof e=="function"&&(e=e(n)),e._getEncoder("der").tree};dl.prototype._skipDefault=function(e,n,a){var r=this._baseState,f;if(r.default===null)return!1;var i=e.join();if(r.defaultBuffer===void 0&&(r.defaultBuffer=this._encodeValue(r.default,n,a).join()),i.length!==r.defaultBuffer.length)return!1;for(f=0;f=31?a.error("Multi-octet tag encoding unsupported"):(e||(r|=32),r|=Xae.tagClassByName[n||"universal"]<<6,r)}});var ERe=D((UQn,xRe)=>{u();p();var PQ0=Nt(),ere=Zae();function tre(t){ere.call(this,t),this.enc="pem"}PQ0(tre,ere);xRe.exports=tre;tre.prototype.encode=function(e,n){for(var a=ere.prototype.encode.call(this,e),r=a.toString("base64"),f=["-----BEGIN "+n.label+"-----"],i=0;i{u();p();var _Re=ARe;_Re.der=Zae();_Re.pem=ERe()});var eT=D(IRe=>{u();p();var aT=IRe;aT.bignum=kr();aT.define=XSe().define;aT.base=nT();aT.constants=Kae();aT.decoders=yRe();aT.encoders=CRe()});var MRe=D((VQn,RRe)=>{"use strict";u();p();var ll=eT(),kRe=ll.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),LQ0=ll.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),nre=ll.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),FQ0=ll.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(nre),this.key("subjectPublicKey").bitstr())}),NQ0=ll.define("RelativeDistinguishedName",function(){this.setof(LQ0)}),OQ0=ll.define("RDNSequence",function(){this.seqof(NQ0)}),SRe=ll.define("Name",function(){this.choice({rdnSequence:this.use(OQ0)})}),UQ0=ll.define("Validity",function(){this.seq().obj(this.key("notBefore").use(kRe),this.key("notAfter").use(kRe))}),HQ0=ll.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),zQ0=ll.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(nre),this.key("issuer").use(SRe),this.key("validity").use(UQ0),this.key("subject").use(SRe),this.key("subjectPublicKeyInfo").use(FQ0),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(HQ0).optional())}),WQ0=ll.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(zQ0),this.key("signatureAlgorithm").use(nre),this.key("signatureValue").bitstr())});RRe.exports=WQ0});var DRe=D(pl=>{"use strict";u();p();var ul=eT();pl.certificate=MRe();var qQ0=ul.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});pl.RSAPrivateKey=qQ0;var jQ0=ul.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});pl.RSAPublicKey=jQ0;var BRe=ul.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),GQ0=ul.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(BRe),this.key("subjectPublicKey").bitstr())});pl.PublicKey=GQ0;var KQ0=ul.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(BRe),this.key("subjectPrivateKey").octstr())});pl.PrivateKey=KQ0;var QQ0=ul.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});pl.EncryptedPrivateKey=QQ0;var VQ0=ul.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});pl.DSAPrivateKey=VQ0;pl.DSAparam=ul.define("DSAparam",function(){this.int()});var YQ0=ul.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),$Q0=ul.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(YQ0),this.key("publicKey").optional().explicit(1).bitstr())});pl.ECPrivateKey=$Q0;pl.signature=ul.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})});var PRe=D((eVn,JQ0)=>{JQ0.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}});var FRe=D((tVn,LRe)=>{"use strict";u();p();var XQ0=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,ZQ0=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,eV0=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,tV0=XI(),nV0=YO(),IU=En().Buffer;LRe.exports=function(t,e){var n=t.toString(),a=n.match(XQ0),r;if(a){var i="aes"+a[1],s=IU.from(a[2],"hex"),o=IU.from(a[3].replace(/[\r\n]/g,""),"base64"),c=tV0(e,s.slice(0,8),parseInt(a[1],10)).key,d=[],l=nV0.createDecipheriv(i,c,s);d.push(l.update(o)),d.push(l.final()),r=IU.concat(d)}else{var f=n.match(eV0);r=IU.from(f[2].replace(/[\r\n]/g,""),"base64")}var h=n.match(ZQ0)[1];return{tag:h,data:r}}});var yk=D((rVn,ORe)=>{"use strict";u();p();var Bc=DRe(),aV0=PRe(),rV0=FRe(),fV0=YO(),iV0=Mne(),are=En().Buffer;function sV0(t,e){var n=t.algorithm.decrypt.kde.kdeparams.salt,a=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),r=aV0[t.algorithm.decrypt.cipher.algo.join(".")],f=t.algorithm.decrypt.cipher.iv,i=t.subjectPrivateKey,s=parseInt(r.split("-")[1],10)/8,o=iV0.pbkdf2Sync(e,n,a,s,"sha1"),c=fV0.createDecipheriv(r,o,f),d=[];return d.push(c.update(i)),d.push(c.final()),are.concat(d)}function NRe(t){var e;typeof t=="object"&&!are.isBuffer(t)&&(e=t.passphrase,t=t.key),typeof t=="string"&&(t=are.from(t));var n=rV0(t,e),a=n.tag,r=n.data,f,i;switch(a){case"CERTIFICATE":i=Bc.certificate.decode(r,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(i||(i=Bc.PublicKey.decode(r,"der")),f=i.algorithm.algorithm.join("."),f){case"1.2.840.113549.1.1.1":return Bc.RSAPublicKey.decode(i.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return i.subjectPrivateKey=i.subjectPublicKey,{type:"ec",data:i};case"1.2.840.10040.4.1":return i.algorithm.params.pub_key=Bc.DSAparam.decode(i.subjectPublicKey.data,"der"),{type:"dsa",data:i.algorithm.params};default:throw new Error("unknown key id "+f)}case"ENCRYPTED PRIVATE KEY":r=Bc.EncryptedPrivateKey.decode(r,"der"),r=sV0(r,e);case"PRIVATE KEY":switch(i=Bc.PrivateKey.decode(r,"der"),f=i.algorithm.algorithm.join("."),f){case"1.2.840.113549.1.1.1":return Bc.RSAPrivateKey.decode(i.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:i.algorithm.curve,privateKey:Bc.ECPrivateKey.decode(i.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return i.algorithm.params.priv_key=Bc.DSAparam.decode(i.subjectPrivateKey,"der"),{type:"dsa",params:i.algorithm.params};default:throw new Error("unknown key id "+f)}case"RSA PUBLIC KEY":return Bc.RSAPublicKey.decode(r,"der");case"RSA PRIVATE KEY":return Bc.RSAPrivateKey.decode(r,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:Bc.DSAPrivateKey.decode(r,"der")};case"EC PRIVATE KEY":return r=Bc.ECPrivateKey.decode(r,"der"),{curve:r.parameters.value,privateKey:r.privateKey};default:throw new Error("unknown key type "+a)}}NRe.signature=Bc.signature;ORe.exports=NRe});var rre=D((sVn,oV0)=>{oV0.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}});var zRe=D((oVn,SU)=>{"use strict";u();p();var Ho=En().Buffer,a7=Tne(),cV0=oU(),dV0=bk().ec,kU=Va(),lV0=yk(),uV0=rre(),pV0=1;function hV0(t,e,n,a,r){var f=lV0(e);if(f.curve){if(a!=="ecdsa"&&a!=="ecdsa/rsa")throw new Error("wrong private key type");return bV0(t,f)}else if(f.type==="dsa"){if(a!=="dsa")throw new Error("wrong private key type");return mV0(t,f,n)}if(a!=="rsa"&&a!=="ecdsa/rsa")throw new Error("wrong private key type");if(e.padding!==void 0&&e.padding!==pV0)throw new Error("illegal or unsupported padding mode");t=Ho.concat([r,t]);for(var i=f.modulus.byteLength(),s=[0,1];t.length+s.length+10&&n.ishrn(a),n}function gV0(t,e){t=fre(t,e),t=t.mod(e);var n=Ho.from(t.toArray());if(n.length{"use strict";u();p();var ire=En().Buffer,gk=Va(),wV0=bk().ec,qRe=yk(),TV0=rre();function xV0(t,e,n,a,r){var f=qRe(n);if(f.type==="ec"){if(a!=="ecdsa"&&a!=="ecdsa/rsa")throw new Error("wrong public key type");return EV0(t,e,f)}else if(f.type==="dsa"){if(a!=="dsa")throw new Error("wrong public key type");return _V0(t,e,f)}if(a!=="rsa"&&a!=="ecdsa/rsa")throw new Error("wrong public key type");e=ire.concat([r,e]);for(var i=f.modulus.byteLength(),s=[1],o=0;e.length+s.length+2=0)throw new Error("invalid sig")}jRe.exports=xV0});var JRe=D((hVn,$Re)=>{"use strict";u();p();var RU=En().Buffer,VRe=Ny(),MU=Cke(),YRe=Nt(),AV0=zRe(),CV0=GRe(),r7=xne();Object.keys(r7).forEach(function(t){r7[t].id=RU.from(r7[t].id,"hex"),r7[t.toLowerCase()]=r7[t]});function vk(t){MU.Writable.call(this);var e=r7[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=VRe(e.hash),this._tag=e.id,this._signType=e.sign}YRe(vk,MU.Writable);vk.prototype._write=function(e,n,a){this._hash.update(e),a()};vk.prototype.update=function(e,n){return this._hash.update(typeof e=="string"?RU.from(e,n):e),this};vk.prototype.sign=function(e,n){this.end();var a=this._hash.digest(),r=AV0(a,e,this._hashType,this._signType,this._tag);return n?r.toString(n):r};function wk(t){MU.Writable.call(this);var e=r7[t];if(!e)throw new Error("Unknown message digest");this._hash=VRe(e.hash),this._tag=e.id,this._signType=e.sign}YRe(wk,MU.Writable);wk.prototype._write=function(e,n,a){this._hash.update(e),a()};wk.prototype.update=function(e,n){return this._hash.update(typeof e=="string"?RU.from(e,n):e),this};wk.prototype.verify=function(e,n,a){var r=typeof n=="string"?RU.from(n,a):n;this.end();var f=this._hash.digest();return CV0(r,f,e,this._signType,this._tag)};function KRe(t){return new vk(t)}function QRe(t){return new wk(t)}$Re.exports={Sign:KRe,Verify:QRe,createSign:KRe,createVerify:QRe}});var ZRe=D((yVn,XRe)=>{u();p();var IV0=bk(),kV0=kr();XRe.exports=function(e){return new f7(e)};var T6={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};T6.p224=T6.secp224r1;T6.p256=T6.secp256r1=T6.prime256v1;T6.p192=T6.secp192r1=T6.prime192v1;T6.p384=T6.secp384r1;T6.p521=T6.secp521r1;function f7(t){this.curveType=T6[t],this.curveType||(this.curveType={name:t}),this.curve=new IV0.ec(this.curveType.name),this.keys=void 0}f7.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)};f7.prototype.computeSecret=function(t,e,n){e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e));var a=this.curve.keyFromPublic(t).getPublic(),r=a.mul(this.keys.getPrivate()).getX();return sre(r,n,this.curveType.byteLength)};f7.prototype.getPublicKey=function(t,e){var n=this.keys.getPublic(e==="compressed",!0);return e==="hybrid"&&(n[n.length-1]%2?n[0]=7:n[0]=6),sre(n,t)};f7.prototype.getPrivateKey=function(t){return sre(this.keys.getPrivate(),t)};f7.prototype.setPublicKey=function(t,e){return e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),this.keys._importPublic(t),this};f7.prototype.setPrivateKey=function(t,e){e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e));var n=new kV0(t);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this};function sre(t,e,n){Array.isArray(t)||(t=t.toArray());var a=new _.Buffer(t);if(n&&a.length{u();p();var SV0=Ny(),ore=En().Buffer;eMe.exports=function(t,e){for(var n=ore.alloc(0),a=0,r;n.length{u();p();tMe.exports=function(e,n){for(var a=e.length,r=-1;++r{u();p();var nMe=kr(),MV0=En().Buffer;function BV0(t,e){return MV0.from(t.toRed(nMe.mont(e.modulus)).redPow(new nMe(e.publicExponent)).fromRed().toArray())}aMe.exports=BV0});var sMe=D((SVn,iMe)=>{u();p();var DV0=yk(),ure=f8(),PV0=Ny(),rMe=cre(),fMe=dre(),pre=kr(),LV0=lre(),FV0=oU(),hl=En().Buffer;iMe.exports=function(e,n,a){var r;e.padding?r=e.padding:a?r=1:r=4;var f=DV0(e),i;if(r===4)i=NV0(f,n);else if(r===1)i=OV0(f,n,a);else if(r===3){if(i=new pre(n),i.cmp(f.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return a?FV0(i,f):LV0(i,f)};function NV0(t,e){var n=t.modulus.byteLength(),a=e.length,r=PV0("sha1").update(hl.alloc(0)).digest(),f=r.length,i=2*f;if(a>n-i-2)throw new Error("message too long");var s=hl.alloc(n-a-i-2),o=n-f-1,c=ure(f),d=fMe(hl.concat([r,s,hl.alloc(1,1),e],o),rMe(c,o)),l=fMe(c,rMe(d,f));return new pre(hl.concat([hl.alloc(1),l,d],n))}function OV0(t,e,n){var a=e.length,r=t.modulus.byteLength();if(a>r-11)throw new Error("message too long");var f;return n?f=hl.alloc(r-a-3,255):f=UV0(r-a-3),new pre(hl.concat([hl.from([0,n?1:2]),f,hl.alloc(1),e],r))}function UV0(t){for(var e=hl.allocUnsafe(t),n=0,a=ure(t*2),r=0,f;n{u();p();var HV0=yk(),oMe=cre(),cMe=dre(),dMe=kr(),zV0=oU(),WV0=Ny(),qV0=lre(),Tk=En().Buffer;lMe.exports=function(e,n,a){var r;e.padding?r=e.padding:a?r=1:r=4;var f=HV0(e),i=f.modulus.byteLength();if(n.length>i||new dMe(n).cmp(f.modulus)>=0)throw new Error("decryption error");var s;a?s=qV0(new dMe(n),f):s=zV0(n,f);var o=Tk.alloc(i-s.length);if(s=Tk.concat([o,s],i),r===4)return jV0(f,s);if(r===1)return GV0(f,s,a);if(r===3)return s;throw new Error("unknown padding")};function jV0(t,e){var n=t.modulus.byteLength(),a=WV0("sha1").update(Tk.alloc(0)).digest(),r=a.length;if(e[0]!==0)throw new Error("decryption error");var f=e.slice(1,r+1),i=e.slice(r+1),s=cMe(f,oMe(i,r)),o=cMe(i,oMe(s,n-r-1));if(KV0(a,o.slice(0,r)))throw new Error("decryption error");for(var c=r;o[c]===0;)c++;if(o[c++]!==1)throw new Error("decryption error");return o.slice(c)}function GV0(t,e,n){for(var a=e.slice(0,2),r=2,f=0;e[r++]!==0;)if(r>=e.length){f++;break}var i=e.slice(2,r-1);if((a.toString("hex")!=="0002"&&!n||a.toString("hex")!=="0001"&&n)&&f++,i.length<8&&f++,f)throw new Error("decryption error");return e.slice(r)}function KV0(t,e){t=Tk.from(t),e=Tk.from(e);var n=0,a=t.length;t.length!==e.length&&(n++,a=Math.min(t.length,e.length));for(var r=-1;++r{u();p();i7.publicEncrypt=sMe();i7.privateDecrypt=uMe();i7.privateEncrypt=function(e,n){return i7.publicEncrypt(e,n,!0)};i7.publicDecrypt=function(e,n){return i7.privateDecrypt(e,n,!0)}});var EMe=D(xk=>{"use strict";u();p();function hMe(){throw new Error(`secure random number generation not supported by this browser -use chrome, FireFox or Internet Explorer 11`)}var mMe=En(),bMe=f8(),yMe=mMe.Buffer,gMe=mMe.kMaxLength,hre=global.crypto||global.msCrypto,vMe=Math.pow(2,32)-1;function wMe(t,e){if(typeof t!="number"||t!==t)throw new TypeError("offset must be a number");if(t>vMe||t<0)throw new TypeError("offset must be a uint32");if(t>gMe||t>e)throw new RangeError("offset out of range")}function TMe(t,e,n){if(typeof t!="number"||t!==t)throw new TypeError("size must be a number");if(t>vMe||t<0)throw new TypeError("size must be a uint32");if(t+e>n||t>gMe)throw new RangeError("buffer too small")}hre&&hre.getRandomValues||!E.browser?(xk.randomFill=QV0,xk.randomFillSync=VV0):(xk.randomFill=hMe,xk.randomFillSync=hMe);function QV0(t,e,n,a){if(!yMe.isBuffer(t)&&!(t instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof e=="function")a=e,e=0,n=t.length;else if(typeof n=="function")a=n,n=t.length-e;else if(typeof a!="function")throw new TypeError('"cb" argument must be a function');return wMe(e,t.length),TMe(n,e,t.length),xMe(t,e,n,a)}function xMe(t,e,n,a){if(E.browser){var r=t.buffer,f=new Uint8Array(r,e,n);if(hre.getRandomValues(f),a){E.nextTick(function(){a(null,t)});return}return t}if(a){bMe(n,function(s,o){if(s)return a(s);o.copy(t,e),a(null,t)});return}var i=bMe(n);return i.copy(t,e),t}function VV0(t,e,n){if(typeof e>"u"&&(e=0),!yMe.isBuffer(t)&&!(t instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return wMe(e,t.length),n===void 0&&(n=t.length-e),TMe(n,e,t.length),xMe(t,e,n)}});var PU=D(_n=>{"use strict";u();p();_n.randomBytes=_n.rng=_n.pseudoRandomBytes=_n.prng=f8();_n.createHash=_n.Hash=Ny();_n.createHmac=_n.Hmac=Tne();var YV0=fCe(),$V0=Object.keys(YV0),JV0=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat($V0);_n.getHashes=function(){return JV0};var _Me=Mne();_n.pbkdf2=_Me.pbkdf2;_n.pbkdf2Sync=_Me.pbkdf2Sync;var M2=AIe();_n.Cipher=M2.Cipher;_n.createCipher=M2.createCipher;_n.Cipheriv=M2.Cipheriv;_n.createCipheriv=M2.createCipheriv;_n.Decipher=M2.Decipher;_n.createDecipher=M2.createDecipher;_n.Decipheriv=M2.Decipheriv;_n.createDecipheriv=M2.createDecipheriv;_n.getCiphers=M2.getCiphers;_n.listCiphers=M2.listCiphers;var Ek=NIe();_n.DiffieHellmanGroup=Ek.DiffieHellmanGroup;_n.createDiffieHellmanGroup=Ek.createDiffieHellmanGroup;_n.getDiffieHellman=Ek.getDiffieHellman;_n.createDiffieHellman=Ek.createDiffieHellman;_n.DiffieHellman=Ek.DiffieHellman;var BU=JRe();_n.createSign=BU.createSign;_n.Sign=BU.Sign;_n.createVerify=BU.createVerify;_n.Verify=BU.Verify;_n.createECDH=ZRe();var DU=pMe();_n.publicEncrypt=DU.publicEncrypt;_n.privateEncrypt=DU.privateEncrypt;_n.publicDecrypt=DU.publicDecrypt;_n.privateDecrypt=DU.privateDecrypt;var AMe=EMe();_n.randomFill=AMe.randomFill;_n.randomFillSync=AMe.randomFillSync;_n.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join(` -`))};_n.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}});var Pw=D((jVn,yre)=>{u();p();var bre;yre.exports=function(e){return bre||(bre=new U3(null)),bre.generate(e)};function U3(t){this.rand=t}yre.exports.Rand=U3;U3.prototype.generate=function(e){return this._rand(e)};U3.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var n=new Uint8Array(e),a=0;a{"use strict";u();p();var s7=kr(),_k=g6(),LU=_k.getNAF,XV0=_k.getJSF,FU=_k.assert;function H3(t,e){this.type=t,this.p=new s7(e.p,16),this.red=e.prime?s7.red(e.prime):s7.mont(this.p),this.zero=new s7(0).toRed(this.red),this.one=new s7(1).toRed(this.red),this.two=new s7(2).toRed(this.red),this.n=e.n&&new s7(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}CMe.exports=H3;H3.prototype.point=function(){throw new Error("Not implemented")};H3.prototype.validate=function(){throw new Error("Not implemented")};H3.prototype._fixedNafMul=function(e,n){FU(e.precomputed);var a=e._getDoubles(),r=LU(n,1,this._bitLength),f=(1<=s;c--)o=(o<<1)+r[c];i.push(o)}for(var d=this.jpoint(null,null,null),l=this.jpoint(null,null,null),h=f;h>0;h--){for(s=0;s=0;o--){for(var c=0;o>=0&&i[o]===0;o--)c++;if(o>=0&&c++,s=s.dblp(c),o<0)break;var d=i[o];FU(d!==0),e.type==="affine"?d>0?s=s.mixedAdd(f[d-1>>1]):s=s.mixedAdd(f[-d-1>>1].neg()):d>0?s=s.add(f[d-1>>1]):s=s.add(f[-d-1>>1].neg())}return e.type==="affine"?s.toP():s};H3.prototype._wnafMulAdd=function(e,n,a,r,f){var i=this._wnafT1,s=this._wnafT2,o=this._wnafT3,c=0,d,l,h;for(d=0;d=1;d-=2){var v=d-1,S=d;if(i[v]!==1||i[S]!==1){o[v]=LU(a[v],i[v],this._bitLength),o[S]=LU(a[S],i[S],this._bitLength),c=Math.max(o[v].length,c),c=Math.max(o[S].length,c);continue}var O=[n[v],null,null,n[S]];n[v].y.cmp(n[S].y)===0?(O[1]=n[v].add(n[S]),O[2]=n[v].toJ().mixedAdd(n[S].neg())):n[v].y.cmp(n[S].y.redNeg())===0?(O[1]=n[v].toJ().mixedAdd(n[S]),O[2]=n[v].add(n[S].neg())):(O[1]=n[v].toJ().mixedAdd(n[S]),O[2]=n[v].toJ().mixedAdd(n[S].neg()));var F=[-3,-1,-5,-7,0,7,5,1,3],z=XV0(a[v],a[S]);for(c=Math.max(z[0].length,c),o[v]=new Array(c),o[S]=new Array(c),l=0;l=0;d--){for(var X=0;d>=0;){var K=!0;for(l=0;l=0&&X++,Q=Q.dblp(X),d<0)break;for(l=0;l0?h=s[l][G-1>>1]:G<0&&(h=s[l][-G-1>>1].neg()),h.type==="affine"?Q=Q.mixedAdd(h):Q=Q.add(h))}}for(d=0;d=Math.ceil((e.bitLength()+1)/n.step):!1};L5.prototype._getDoubles=function(e,n){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var a=[this],r=this,f=0;f{"use strict";u();p();var ZV0=g6(),Jf=kr(),gre=Nt(),rT=Ak(),eY0=ZV0.assert;function F5(t){rT.call(this,"short",t),this.a=new Jf(t.a,16).toRed(this.red),this.b=new Jf(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}gre(F5,rT);IMe.exports=F5;F5.prototype._getEndomorphism=function(e){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var n,a;if(e.beta)n=new Jf(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);n=r[0].cmp(r[1])<0?r[0]:r[1],n=n.toRed(this.red)}if(e.lambda)a=new Jf(e.lambda,16);else{var f=this._getEndoRoots(this.n);this.g.mul(f[0]).x.cmp(this.g.x.redMul(n))===0?a=f[0]:(a=f[1],eY0(this.g.mul(a).x.cmp(this.g.x.redMul(n))===0))}var i;return e.basis?i=e.basis.map(function(s){return{a:new Jf(s.a,16),b:new Jf(s.b,16)}}):i=this._getEndoBasis(a),{beta:n,lambda:a,basis:i}}};F5.prototype._getEndoRoots=function(e){var n=e===this.p?this.red:Jf.mont(e),a=new Jf(2).toRed(n).redInvm(),r=a.redNeg(),f=new Jf(3).toRed(n).redNeg().redSqrt().redMul(a),i=r.redAdd(f).fromRed(),s=r.redSub(f).fromRed();return[i,s]};F5.prototype._getEndoBasis=function(e){for(var n=this.n.ushrn(Math.floor(this.n.bitLength()/2)),a=e,r=this.n.clone(),f=new Jf(1),i=new Jf(0),s=new Jf(0),o=new Jf(1),c,d,l,h,y,v,S,O=0,F,z;a.cmpn(0)!==0;){var W=r.div(a);F=r.sub(W.mul(a)),z=s.sub(W.mul(f));var j=o.sub(W.mul(i));if(!l&&F.cmp(n)<0)c=S.neg(),d=f,l=F.neg(),h=z;else if(l&&++O===2)break;S=F,r=a,a=F,s=f,f=z,o=i,i=j}y=F.neg(),v=z;var Q=l.sqr().add(h.sqr()),V=y.sqr().add(v.sqr());return V.cmp(Q)>=0&&(y=c,v=d),l.negative&&(l=l.neg(),h=h.neg()),y.negative&&(y=y.neg(),v=v.neg()),[{a:l,b:h},{a:y,b:v}]};F5.prototype._endoSplit=function(e){var n=this.endo.basis,a=n[0],r=n[1],f=r.b.mul(e).divRound(this.n),i=a.b.neg().mul(e).divRound(this.n),s=f.mul(a.a),o=i.mul(r.a),c=f.mul(a.b),d=i.mul(r.b),l=e.sub(s).sub(o),h=c.add(d).neg();return{k1:l,k2:h}};F5.prototype.pointFromX=function(e,n){e=new Jf(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=a.redSqrt();if(r.redSqr().redSub(a).cmp(this.zero)!==0)throw new Error("invalid point");var f=r.fromRed().isOdd();return(n&&!f||!n&&f)&&(r=r.redNeg()),this.point(e,r)};F5.prototype.validate=function(e){if(e.inf)return!0;var n=e.x,a=e.y,r=this.a.redMul(n),f=n.redSqr().redMul(n).redIAdd(r).redIAdd(this.b);return a.redSqr().redISub(f).cmpn(0)===0};F5.prototype._endoWnafMulAdd=function(e,n,a){for(var r=this._endoWnafT1,f=this._endoWnafT2,i=0;i":""};vs.prototype.isInfinity=function(){return this.inf};vs.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(this.x.cmp(e.x)===0)return this.curve.point(null,null);var n=this.y.redSub(e.y);n.cmpn(0)!==0&&(n=n.redMul(this.x.redSub(e.x).redInvm()));var a=n.redSqr().redISub(this.x).redISub(e.x),r=n.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,r)};vs.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(e.cmpn(0)===0)return this.curve.point(null,null);var n=this.curve.a,a=this.x.redSqr(),r=e.redInvm(),f=a.redAdd(a).redIAdd(a).redIAdd(n).redMul(r),i=f.redSqr().redISub(this.x.redAdd(this.x)),s=f.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,s)};vs.prototype.getX=function(){return this.x.fromRed()};vs.prototype.getY=function(){return this.y.fromRed()};vs.prototype.mul=function(e){return e=new Jf(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)};vs.prototype.mulAdd=function(e,n,a){var r=[this,n],f=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,f):this.curve._wnafMulAdd(1,r,f,2)};vs.prototype.jmulAdd=function(e,n,a){var r=[this,n],f=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,f,!0):this.curve._wnafMulAdd(1,r,f,2,!0)};vs.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||this.x.cmp(e.x)===0&&this.y.cmp(e.y)===0)};vs.prototype.neg=function(e){if(this.inf)return this;var n=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var a=this.precomputed,r=function(f){return f.neg()};n.precomputed={naf:a.naf&&{wnd:a.naf.wnd,points:a.naf.points.map(r)},doubles:a.doubles&&{step:a.doubles.step,points:a.doubles.points.map(r)}}}return n};vs.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e};function eo(t,e,n,a){rT.BasePoint.call(this,t,"jacobian"),e===null&&n===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new Jf(0)):(this.x=new Jf(e,16),this.y=new Jf(n,16),this.z=new Jf(a,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}gre(eo,rT.BasePoint);F5.prototype.jpoint=function(e,n,a){return new eo(this,e,n,a)};eo.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),n=e.redSqr(),a=this.x.redMul(n),r=this.y.redMul(n).redMul(e);return this.curve.point(a,r)};eo.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};eo.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var n=e.z.redSqr(),a=this.z.redSqr(),r=this.x.redMul(n),f=e.x.redMul(a),i=this.y.redMul(n.redMul(e.z)),s=e.y.redMul(a.redMul(this.z)),o=r.redSub(f),c=i.redSub(s);if(o.cmpn(0)===0)return c.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var d=o.redSqr(),l=d.redMul(o),h=r.redMul(d),y=c.redSqr().redIAdd(l).redISub(h).redISub(h),v=c.redMul(h.redISub(y)).redISub(i.redMul(l)),S=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(y,v,S)};eo.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var n=this.z.redSqr(),a=this.x,r=e.x.redMul(n),f=this.y,i=e.y.redMul(n).redMul(this.z),s=a.redSub(r),o=f.redSub(i);if(s.cmpn(0)===0)return o.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),d=c.redMul(s),l=a.redMul(c),h=o.redSqr().redIAdd(d).redISub(l).redISub(l),y=o.redMul(l.redISub(h)).redISub(f.redMul(d)),v=this.z.redMul(s);return this.curve.jpoint(h,y,v)};eo.prototype.dblp=function(e){if(e===0)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var n;if(this.curve.zeroA||this.curve.threeA){var a=this;for(n=0;n=0)return!1;if(a.redIAdd(f),this.x.cmp(a)===0)return!0}};eo.prototype.inspect=function(){return this.isInfinity()?"":""};eo.prototype.isInfinity=function(){return this.z.cmpn(0)===0}});var MMe=D((ZVn,RMe)=>{"use strict";u();p();var fT=kr(),SMe=Nt(),NU=Ak(),tY0=g6();function iT(t){NU.call(this,"mont",t),this.a=new fT(t.a,16).toRed(this.red),this.b=new fT(t.b,16).toRed(this.red),this.i4=new fT(4).toRed(this.red).redInvm(),this.two=new fT(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}SMe(iT,NU);RMe.exports=iT;iT.prototype.validate=function(e){var n=e.normalize().x,a=n.redSqr(),r=a.redMul(n).redAdd(a.redMul(this.a)).redAdd(n),f=r.redSqrt();return f.redSqr().cmp(r)===0};function ws(t,e,n){NU.BasePoint.call(this,t,"projective"),e===null&&n===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new fT(e,16),this.z=new fT(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}SMe(ws,NU.BasePoint);iT.prototype.decodePoint=function(e,n){return this.point(tY0.toArray(e,n),1)};iT.prototype.point=function(e,n){return new ws(this,e,n)};iT.prototype.pointFromJSON=function(e){return ws.fromJSON(this,e)};ws.prototype.precompute=function(){};ws.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};ws.fromJSON=function(e,n){return new ws(e,n[0],n[1]||e.one)};ws.prototype.inspect=function(){return this.isInfinity()?"":""};ws.prototype.isInfinity=function(){return this.z.cmpn(0)===0};ws.prototype.dbl=function(){var e=this.x.redAdd(this.z),n=e.redSqr(),a=this.x.redSub(this.z),r=a.redSqr(),f=n.redSub(r),i=n.redMul(r),s=f.redMul(r.redAdd(this.curve.a24.redMul(f)));return this.curve.point(i,s)};ws.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};ws.prototype.diffAdd=function(e,n){var a=this.x.redAdd(this.z),r=this.x.redSub(this.z),f=e.x.redAdd(e.z),i=e.x.redSub(e.z),s=i.redMul(a),o=f.redMul(r),c=n.z.redMul(s.redAdd(o).redSqr()),d=n.x.redMul(s.redISub(o).redSqr());return this.curve.point(c,d)};ws.prototype.mul=function(e){for(var n=e.clone(),a=this,r=this.curve.point(null,null),f=this,i=[];n.cmpn(0)!==0;n.iushrn(1))i.push(n.andln(1));for(var s=i.length-1;s>=0;s--)i[s]===0?(a=a.diffAdd(r,f),r=r.dbl()):(r=a.diffAdd(r,f),a=a.dbl());return r};ws.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};ws.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};ws.prototype.eq=function(e){return this.getX().cmp(e.getX())===0};ws.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};ws.prototype.getX=function(){return this.normalize(),this.x.fromRed()}});var PMe=D((nYn,DMe)=>{"use strict";u();p();var nY0=g6(),x8=kr(),BMe=Nt(),OU=Ak(),aY0=nY0.assert;function B2(t){this.twisted=(t.a|0)!==1,this.mOneA=this.twisted&&(t.a|0)===-1,this.extended=this.mOneA,OU.call(this,"edwards",t),this.a=new x8(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new x8(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new x8(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),aY0(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(t.c|0)===1}BMe(B2,OU);DMe.exports=B2;B2.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)};B2.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)};B2.prototype.jpoint=function(e,n,a,r){return this.point(e,n,a,r)};B2.prototype.pointFromX=function(e,n){e=new x8(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=this.c2.redSub(this.a.redMul(a)),f=this.one.redSub(this.c2.redMul(this.d).redMul(a)),i=r.redMul(f.redInvm()),s=i.redSqrt();if(s.redSqr().redSub(i).cmp(this.zero)!==0)throw new Error("invalid point");var o=s.fromRed().isOdd();return(n&&!o||!n&&o)&&(s=s.redNeg()),this.point(e,s)};B2.prototype.pointFromY=function(e,n){e=new x8(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=a.redSub(this.c2),f=a.redMul(this.d).redMul(this.c2).redSub(this.a),i=r.redMul(f.redInvm());if(i.cmp(this.zero)===0){if(n)throw new Error("invalid point");return this.point(this.zero,e)}var s=i.redSqrt();if(s.redSqr().redSub(i).cmp(this.zero)!==0)throw new Error("invalid point");return s.fromRed().isOdd()!==n&&(s=s.redNeg()),this.point(s,e)};B2.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var n=e.x.redSqr(),a=e.y.redSqr(),r=n.redMul(this.a).redAdd(a),f=this.c2.redMul(this.one.redAdd(this.d.redMul(n).redMul(a)));return r.cmp(f)===0};function Ur(t,e,n,a,r){OU.BasePoint.call(this,t,"projective"),e===null&&n===null&&a===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new x8(e,16),this.y=new x8(n,16),this.z=a?new x8(a,16):this.curve.one,this.t=r&&new x8(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}BMe(Ur,OU.BasePoint);B2.prototype.pointFromJSON=function(e){return Ur.fromJSON(this,e)};B2.prototype.point=function(e,n,a,r){return new Ur(this,e,n,a,r)};Ur.fromJSON=function(e,n){return new Ur(e,n[0],n[1],n[2])};Ur.prototype.inspect=function(){return this.isInfinity()?"":""};Ur.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};Ur.prototype._extDbl=function(){var e=this.x.redSqr(),n=this.y.redSqr(),a=this.z.redSqr();a=a.redIAdd(a);var r=this.curve._mulA(e),f=this.x.redAdd(this.y).redSqr().redISub(e).redISub(n),i=r.redAdd(n),s=i.redSub(a),o=r.redSub(n),c=f.redMul(s),d=i.redMul(o),l=f.redMul(o),h=s.redMul(i);return this.curve.point(c,d,h,l)};Ur.prototype._projDbl=function(){var e=this.x.redAdd(this.y).redSqr(),n=this.x.redSqr(),a=this.y.redSqr(),r,f,i,s,o,c;if(this.curve.twisted){s=this.curve._mulA(n);var d=s.redAdd(a);this.zOne?(r=e.redSub(n).redSub(a).redMul(d.redSub(this.curve.two)),f=d.redMul(s.redSub(a)),i=d.redSqr().redSub(d).redSub(d)):(o=this.z.redSqr(),c=d.redSub(o).redISub(o),r=e.redSub(n).redISub(a).redMul(c),f=d.redMul(s.redSub(a)),i=d.redMul(c))}else s=n.redAdd(a),o=this.curve._mulC(this.z).redSqr(),c=s.redSub(o).redSub(o),r=this.curve._mulC(e.redISub(s)).redMul(c),f=this.curve._mulC(s).redMul(n.redISub(a)),i=s.redMul(c);return this.curve.point(r,f,i)};Ur.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()};Ur.prototype._extAdd=function(e){var n=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),a=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),f=this.z.redMul(e.z.redAdd(e.z)),i=a.redSub(n),s=f.redSub(r),o=f.redAdd(r),c=a.redAdd(n),d=i.redMul(s),l=o.redMul(c),h=i.redMul(c),y=s.redMul(o);return this.curve.point(d,l,y,h)};Ur.prototype._projAdd=function(e){var n=this.z.redMul(e.z),a=n.redSqr(),r=this.x.redMul(e.x),f=this.y.redMul(e.y),i=this.curve.d.redMul(r).redMul(f),s=a.redSub(i),o=a.redAdd(i),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(r).redISub(f),d=n.redMul(s).redMul(c),l,h;return this.curve.twisted?(l=n.redMul(o).redMul(f.redSub(this.curve._mulA(r))),h=s.redMul(o)):(l=n.redMul(o).redMul(f.redSub(r)),h=this.curve._mulC(s).redMul(o)),this.curve.point(d,l,h)};Ur.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)};Ur.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)};Ur.prototype.mulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!1)};Ur.prototype.jmulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!0)};Ur.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this};Ur.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};Ur.prototype.getX=function(){return this.normalize(),this.x.fromRed()};Ur.prototype.getY=function(){return this.normalize(),this.y.fromRed()};Ur.prototype.eq=function(e){return this===e||this.getX().cmp(e.getX())===0&&this.getY().cmp(e.getY())===0};Ur.prototype.eqXToP=function(e){var n=e.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(n)===0)return!0;for(var a=e.clone(),r=this.curve.redN.redMul(this.z);;){if(a.iadd(this.curve.n),a.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(r),this.x.cmp(n)===0)return!0}};Ur.prototype.toP=Ur.prototype.normalize;Ur.prototype.mixedAdd=Ur.prototype.add});var vre=D(LMe=>{"use strict";u();p();var UU=LMe;UU.base=Ak();UU.short=kMe();UU.mont=MMe();UU.edwards=PMe()});var NMe=D((oYn,FMe)=>{u();p();FMe.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}});var HU=D(HMe=>{"use strict";u();p();var Tre=HMe,z3=Jy(),wre=vre(),rY0=g6(),OMe=rY0.assert;function UMe(t){t.type==="short"?this.curve=new wre.short(t):t.type==="edwards"?this.curve=new wre.edwards(t):this.curve=new wre.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,OMe(this.g.validate(),"Invalid curve"),OMe(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}Tre.PresetCurve=UMe;function W3(t,e){Object.defineProperty(Tre,t,{configurable:!0,enumerable:!0,get:function(){var n=new UMe(e);return Object.defineProperty(Tre,t,{configurable:!0,enumerable:!0,value:n}),n}})}W3("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:z3.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});W3("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:z3.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});W3("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:z3.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});W3("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:z3.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]});W3("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:z3.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]});W3("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:z3.sha256,gRed:!1,g:["9"]});W3("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:z3.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var xre;try{xre=NMe()}catch{xre=void 0}W3("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:z3.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",xre]})});var WMe=D((hYn,zMe)=>{"use strict";u();p();var fY0=kr(),iY0=g6(),Ere=iY0.assert;function zo(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}zMe.exports=zo;zo.fromPublic=function(e,n,a){return n instanceof zo?n:new zo(e,{pub:n,pubEnc:a})};zo.fromPrivate=function(e,n,a){return n instanceof zo?n:new zo(e,{priv:n,privEnc:a})};zo.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}};zo.prototype.getPublic=function(e,n){return typeof e=="string"&&(n=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),n?this.pub.encode(n,e):this.pub};zo.prototype.getPrivate=function(e){return e==="hex"?this.priv.toString(16,2):this.priv};zo.prototype._importPrivate=function(e,n){this.priv=new fY0(e,n||16),this.priv=this.priv.umod(this.ec.curve.n)};zo.prototype._importPublic=function(e,n){if(e.x||e.y){this.ec.curve.type==="mont"?Ere(e.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&Ere(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,n)};zo.prototype.derive=function(e){return e.validate()||Ere(e.validate(),"public point not validated"),e.mul(this.priv).getX()};zo.prototype.sign=function(e,n,a){return this.ec.sign(e,this,n,a)};zo.prototype.verify=function(e,n){return this.ec.verify(e,n,this)};zo.prototype.inspect=function(){return""}});var GMe=D((yYn,jMe)=>{"use strict";u();p();var zU=kr(),Cre=g6(),sY0=Cre.assert;function WU(t,e){if(t instanceof WU)return t;this._importDER(t,e)||(sY0(t.r&&t.s,"Signature without r or s"),this.r=new zU(t.r,16),this.s=new zU(t.s,16),t.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}jMe.exports=WU;function oY0(){this.place=0}function _re(t,e){var n=t[e.place++];if(!(n&128))return n;var a=n&15;if(a===0||a>4)return!1;for(var r=0,f=0,i=e.place;f>>=0;return r<=127?!1:(e.place=i,r)}function qMe(t){for(var e=0,n=t.length-1;!t[e]&&!(t[e+1]&128)&&e>>3);for(t.push(n|128);--n;)t.push(e>>>(n<<3)&255);t.push(e)}WU.prototype.toDER=function(e){var n=this.r.toArray(),a=this.s.toArray();for(n[0]&128&&(n=[0].concat(n)),a[0]&128&&(a=[0].concat(a)),n=qMe(n),a=qMe(a);!a[0]&&!(a[1]&128);)a=a.slice(1);var r=[2];Are(r,n.length),r=r.concat(n),r.push(2),Are(r,a.length);var f=r.concat(a),i=[48];return Are(i,f.length),i=i.concat(f),Cre.encode(i,e)}});var YMe=D((wYn,VMe)=>{"use strict";u();p();var o7=kr(),KMe=Nae(),cY0=g6(),Ire=HU(),dY0=Pw(),QMe=cY0.assert,kre=WMe(),qU=GMe();function N5(t){if(!(this instanceof N5))return new N5(t);typeof t=="string"&&(QMe(Object.prototype.hasOwnProperty.call(Ire,t),"Unknown curve "+t),t=Ire[t]),t instanceof Ire.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}VMe.exports=N5;N5.prototype.keyPair=function(e){return new kre(this,e)};N5.prototype.keyFromPrivate=function(e,n){return kre.fromPrivate(this,e,n)};N5.prototype.keyFromPublic=function(e,n){return kre.fromPublic(this,e,n)};N5.prototype.genKeyPair=function(e){e||(e={});for(var n=new KMe({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||dY0(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),r=this.n.sub(new o7(2));;){var f=new o7(n.generate(a));if(!(f.cmp(r)>0))return f.iaddn(1),this.keyFromPrivate(f)}};N5.prototype._truncateToN=function(e,n){var a=e.byteLength()*8-this.n.bitLength();return a>0&&(e=e.ushrn(a)),!n&&e.cmp(this.n)>=0?e.sub(this.n):e};N5.prototype.sign=function(e,n,a,r){typeof a=="object"&&(r=a,a=null),r||(r={}),n=this.keyFromPrivate(n,a),e=this._truncateToN(new o7(e,16));for(var f=this.n.byteLength(),i=n.getPrivate().toArray("be",f),s=e.toArray("be",f),o=new KMe({hash:this.hash,entropy:i,nonce:s,pers:r.pers,persEnc:r.persEnc||"utf8"}),c=this.n.sub(new o7(1)),d=0;;d++){var l=r.k?r.k(d):new o7(o.generate(this.n.byteLength()));if(l=this._truncateToN(l,!0),!(l.cmpn(1)<=0||l.cmp(c)>=0)){var h=this.g.mul(l);if(!h.isInfinity()){var y=h.getX(),v=y.umod(this.n);if(v.cmpn(0)!==0){var S=l.invm(this.n).mul(v.mul(n.getPrivate()).iadd(e));if(S=S.umod(this.n),S.cmpn(0)!==0){var O=(h.getY().isOdd()?1:0)|(y.cmp(v)!==0?2:0);return r.canonical&&S.cmp(this.nh)>0&&(S=this.n.sub(S),O^=1),new qU({r:v,s:S,recoveryParam:O})}}}}}};N5.prototype.verify=function(e,n,a,r){e=this._truncateToN(new o7(e,16)),a=this.keyFromPublic(a,r),n=new qU(n,"hex");var f=n.r,i=n.s;if(f.cmpn(1)<0||f.cmp(this.n)>=0||i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var s=i.invm(this.n),o=s.mul(e).umod(this.n),c=s.mul(f).umod(this.n),d;return this.curve._maxwellTrick?(d=this.g.jmulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.eqXToP(f)):(d=this.g.mulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.getX().umod(this.n).cmp(f)===0)};N5.prototype.recoverPubKey=function(t,e,n,a){QMe((3&n)===n,"The recovery param is more than two bits"),e=new qU(e,a);var r=this.n,f=new o7(t),i=e.r,s=e.s,o=n&1,c=n>>1;if(i.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?i=this.curve.pointFromX(i.add(this.curve.n),o):i=this.curve.pointFromX(i,o);var d=e.r.invm(r),l=r.sub(f).mul(d).umod(r),h=s.mul(d).umod(r);return this.g.mulAdd(l,i,h)};N5.prototype.getKeyRecoveryParam=function(t,e,n,a){if(e=new qU(e,a),e.recoveryParam!==null)return e.recoveryParam;for(var r=0;r<4;r++){var f;try{f=this.recoverPubKey(t,e,r)}catch{continue}if(f.eq(n))return r}throw new Error("Unable to find valid recovery factor")}});var ZMe=D((EYn,XMe)=>{"use strict";u();p();var Ck=g6(),JMe=Ck.assert,$Me=Ck.parseBytes,sT=Ck.cachedProperty;function Ts(t,e){this.eddsa=t,this._secret=$Me(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=$Me(e.pub)}Ts.fromPublic=function(e,n){return n instanceof Ts?n:new Ts(e,{pub:n})};Ts.fromSecret=function(e,n){return n instanceof Ts?n:new Ts(e,{secret:n})};Ts.prototype.secret=function(){return this._secret};sT(Ts,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});sT(Ts,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});sT(Ts,"privBytes",function(){var e=this.eddsa,n=this.hash(),a=e.encodingLength-1,r=n.slice(0,e.encodingLength);return r[0]&=248,r[a]&=127,r[a]|=64,r});sT(Ts,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});sT(Ts,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});sT(Ts,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});Ts.prototype.sign=function(e){return JMe(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)};Ts.prototype.verify=function(e,n){return this.eddsa.verify(e,n,this)};Ts.prototype.getSecret=function(e){return JMe(this._secret,"KeyPair is public only"),Ck.encode(this.secret(),e)};Ts.prototype.getPublic=function(e){return Ck.encode(this.pubBytes(),e)};XMe.exports=Ts});var tBe=D((CYn,eBe)=>{"use strict";u();p();var lY0=kr(),jU=g6(),uY0=jU.assert,GU=jU.cachedProperty,pY0=jU.parseBytes;function c7(t,e){this.eddsa=t,typeof e!="object"&&(e=pY0(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),uY0(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof lY0&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}GU(c7,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});GU(c7,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});GU(c7,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});GU(c7,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});c7.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};c7.prototype.toHex=function(){return jU.encode(this.toBytes(),"hex").toUpperCase()};eBe.exports=c7});var iBe=D((SYn,fBe)=>{"use strict";u();p();var hY0=Jy(),bY0=HU(),oT=g6(),mY0=oT.assert,aBe=oT.parseBytes,rBe=ZMe(),nBe=tBe();function Dc(t){if(mY0(t==="ed25519","only tested with ed25519 so far"),!(this instanceof Dc))return new Dc(t);t=bY0[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=hY0.sha512}fBe.exports=Dc;Dc.prototype.sign=function(e,n){e=aBe(e);var a=this.keyFromSecret(n),r=this.hashInt(a.messagePrefix(),e),f=this.g.mul(r),i=this.encodePoint(f),s=this.hashInt(i,a.pubBytes(),e).mul(a.priv()),o=r.add(s).umod(this.curve.n);return this.makeSignature({R:f,S:o,Rencoded:i})};Dc.prototype.verify=function(e,n,a){e=aBe(e),n=this.makeSignature(n);var r=this.keyFromPublic(a),f=this.hashInt(n.Rencoded(),r.pubBytes(),e),i=this.g.mul(n.S()),s=n.R().add(r.pub().mul(f));return s.eq(i)};Dc.prototype.hashInt=function(){for(var e=this.hash(),n=0;n{"use strict";u();p();var d7=sBe;d7.version=dxe().version;d7.utils=g6();d7.rand=Pw();d7.curve=vre();d7.curves=HU();d7.ec=YMe();d7.eddsa=iBe()});var cBe=D(cT=>{"use strict";u();p();var yY0=cT&&cT.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(cT,"__esModule",{value:!0});cT.EC=void 0;var gY0=yY0(oBe()),vY0=gY0.default.ec;cT.EC=vY0});var dBe=D(KU=>{"use strict";u();p();Object.defineProperty(KU,"__esModule",{value:!0});KU.version=void 0;KU.version="signing-key/5.7.0"});var kk=D(q3=>{"use strict";u();p();Object.defineProperty(q3,"__esModule",{value:!0});q3.computePublicKey=q3.recoverPublicKey=q3.SigningKey=void 0;var wY0=cBe(),Ii=Vt(),Ik=Ba(),TY0=Ft(),xY0=dBe(),Rre=new TY0.Logger(xY0.version),Sre=null;function D2(){return Sre||(Sre=new wY0.EC("secp256k1")),Sre}var lBe=function(){function t(e){(0,Ik.defineReadOnly)(this,"curve","secp256k1"),(0,Ik.defineReadOnly)(this,"privateKey",(0,Ii.hexlify)(e)),(0,Ii.hexDataLength)(this.privateKey)!==32&&Rre.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");var n=D2().keyFromPrivate((0,Ii.arrayify)(this.privateKey));(0,Ik.defineReadOnly)(this,"publicKey","0x"+n.getPublic(!1,"hex")),(0,Ik.defineReadOnly)(this,"compressedPublicKey","0x"+n.getPublic(!0,"hex")),(0,Ik.defineReadOnly)(this,"_isSigningKey",!0)}return t.prototype._addPoint=function(e){var n=D2().keyFromPublic((0,Ii.arrayify)(this.publicKey)),a=D2().keyFromPublic((0,Ii.arrayify)(e));return"0x"+n.pub.add(a.pub).encodeCompressed("hex")},t.prototype.signDigest=function(e){var n=D2().keyFromPrivate((0,Ii.arrayify)(this.privateKey)),a=(0,Ii.arrayify)(e);a.length!==32&&Rre.throwArgumentError("bad digest length","digest",e);var r=n.sign(a,{canonical:!0});return(0,Ii.splitSignature)({recoveryParam:r.recoveryParam,r:(0,Ii.hexZeroPad)("0x"+r.r.toString(16),32),s:(0,Ii.hexZeroPad)("0x"+r.s.toString(16),32)})},t.prototype.computeSharedSecret=function(e){var n=D2().keyFromPrivate((0,Ii.arrayify)(this.privateKey)),a=D2().keyFromPublic((0,Ii.arrayify)(uBe(e)));return(0,Ii.hexZeroPad)("0x"+n.derive(a.getPublic()).toString(16),32)},t.isSigningKey=function(e){return!!(e&&e._isSigningKey)},t}();q3.SigningKey=lBe;function EY0(t,e){var n=(0,Ii.splitSignature)(e),a={r:(0,Ii.arrayify)(n.r),s:(0,Ii.arrayify)(n.s)};return"0x"+D2().recoverPubKey((0,Ii.arrayify)(t),a,n.recoveryParam).encode("hex",!1)}q3.recoverPublicKey=EY0;function uBe(t,e){var n=(0,Ii.arrayify)(t);if(n.length===32){var a=new lBe(n);return e?"0x"+D2().keyFromPrivate(n).getPublic(!0,"hex"):a.publicKey}else{if(n.length===33)return e?(0,Ii.hexlify)(n):"0x"+D2().keyFromPublic(n).getPublic(!1,"hex");if(n.length===65)return e?"0x"+D2().keyFromPublic(n).getPublic(!0,"hex"):(0,Ii.hexlify)(n)}return Rre.throwArgumentError("invalid public or private key","key","[REDACTED]")}q3.computePublicKey=uBe});var pBe=D(QU=>{"use strict";u();p();Object.defineProperty(QU,"__esModule",{value:!0});QU.version=void 0;QU.version="transactions/5.7.0"});var P2=D(ui=>{"use strict";u();p();var _Y0=ui&&ui.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),AY0=ui&&ui.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),CY0=ui&&ui.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&_Y0(e,t,n);return AY0(e,t),e};Object.defineProperty(ui,"__esModule",{value:!0});ui.parse=ui.serialize=ui.accessListify=ui.recoverAddress=ui.computeAddress=ui.TransactionTypes=void 0;var Sk=Bo(),l7=ia(),oa=Vt(),IY0=w3(),dT=O1(),kY0=Ba(),j3=CY0(pI()),hBe=kk(),Bre=Ft(),SY0=pBe(),qo=new Bre.Logger(SY0.version),RY0;(function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"})(RY0=ui.TransactionTypes||(ui.TransactionTypes={}));function Dre(t){return t==="0x"?null:(0,Sk.getAddress)(t)}function Wo(t){return t==="0x"?IY0.Zero:l7.BigNumber.from(t)}var MY0=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],BY0={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function bBe(t){var e=(0,hBe.computePublicKey)(t);return(0,Sk.getAddress)((0,oa.hexDataSlice)((0,dT.keccak256)((0,oa.hexDataSlice)(e,1)),12))}ui.computeAddress=bBe;function Pre(t,e){return bBe((0,hBe.recoverPublicKey)((0,oa.arrayify)(t),e))}ui.recoverAddress=Pre;function x6(t,e){var n=(0,oa.stripZeros)(l7.BigNumber.from(t).toHexString());return n.length>32&&qo.throwArgumentError("invalid length for "+e,"transaction:"+e,t),n}function Mre(t,e){return{address:(0,Sk.getAddress)(t),storageKeys:(e||[]).map(function(n,a){return(0,oa.hexDataLength)(n)!==32&&qo.throwArgumentError("invalid access list storageKey","accessList["+t+":"+a+"]",n),n.toLowerCase()})}}function VU(t){if(Array.isArray(t))return t.map(function(n,a){return Array.isArray(n)?(n.length>2&&qo.throwArgumentError("access list expected to be [ address, storageKeys[] ]","value["+a+"]",n),Mre(n[0],n[1])):Mre(n.address,n.storageKeys)});var e=Object.keys(t).map(function(n){var a=t[n].reduce(function(r,f){return r[f]=!0,r},{});return Mre(n,Object.keys(a).sort())});return e.sort(function(n,a){return n.address.localeCompare(a.address)}),e}ui.accessListify=VU;function mBe(t){return VU(t).map(function(e){return[e.address,e.storageKeys]})}function yBe(t,e){if(t.gasPrice!=null){var n=l7.BigNumber.from(t.gasPrice),a=l7.BigNumber.from(t.maxFeePerGas||0);n.eq(a)||qo.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:n,maxFeePerGas:a})}var r=[x6(t.chainId||0,"chainId"),x6(t.nonce||0,"nonce"),x6(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),x6(t.maxFeePerGas||0,"maxFeePerGas"),x6(t.gasLimit||0,"gasLimit"),t.to!=null?(0,Sk.getAddress)(t.to):"0x",x6(t.value||0,"value"),t.data||"0x",mBe(t.accessList||[])];if(e){var f=(0,oa.splitSignature)(e);r.push(x6(f.recoveryParam,"recoveryParam")),r.push((0,oa.stripZeros)(f.r)),r.push((0,oa.stripZeros)(f.s))}return(0,oa.hexConcat)(["0x02",j3.encode(r)])}function gBe(t,e){var n=[x6(t.chainId||0,"chainId"),x6(t.nonce||0,"nonce"),x6(t.gasPrice||0,"gasPrice"),x6(t.gasLimit||0,"gasLimit"),t.to!=null?(0,Sk.getAddress)(t.to):"0x",x6(t.value||0,"value"),t.data||"0x",mBe(t.accessList||[])];if(e){var a=(0,oa.splitSignature)(e);n.push(x6(a.recoveryParam,"recoveryParam")),n.push((0,oa.stripZeros)(a.r)),n.push((0,oa.stripZeros)(a.s))}return(0,oa.hexConcat)(["0x01",j3.encode(n)])}function DY0(t,e){(0,kY0.checkProperties)(t,BY0);var n=[];MY0.forEach(function(i){var s=t[i.name]||[],o={};i.numeric&&(o.hexPad="left"),s=(0,oa.arrayify)((0,oa.hexlify)(s,o)),i.length&&s.length!==i.length&&s.length>0&&qo.throwArgumentError("invalid length for "+i.name,"transaction:"+i.name,s),i.maxLength&&(s=(0,oa.stripZeros)(s),s.length>i.maxLength&&qo.throwArgumentError("invalid length for "+i.name,"transaction:"+i.name,s)),n.push((0,oa.hexlify)(s))});var a=0;if(t.chainId!=null?(a=t.chainId,typeof a!="number"&&qo.throwArgumentError("invalid transaction.chainId","transaction",t)):e&&!(0,oa.isBytesLike)(e)&&e.v>28&&(a=Math.floor((e.v-35)/2)),a!==0&&(n.push((0,oa.hexlify)(a)),n.push("0x"),n.push("0x")),!e)return j3.encode(n);var r=(0,oa.splitSignature)(e),f=27+r.recoveryParam;return a!==0?(n.pop(),n.pop(),n.pop(),f+=a*2+8,r.v>28&&r.v!==f&&qo.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e)):r.v!==f&&qo.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e),n.push((0,oa.hexlify)(f)),n.push((0,oa.stripZeros)((0,oa.arrayify)(r.r))),n.push((0,oa.stripZeros)((0,oa.arrayify)(r.s))),j3.encode(n)}function PY0(t,e){if(t.type==null||t.type===0)return t.accessList!=null&&qo.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",t),DY0(t,e);switch(t.type){case 1:return gBe(t,e);case 2:return yBe(t,e);default:break}return qo.throwError("unsupported transaction type: "+t.type,Bre.Logger.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:t.type})}ui.serialize=PY0;function vBe(t,e,n){try{var a=Wo(e[0]).toNumber();if(a!==0&&a!==1)throw new Error("bad recid");t.v=a}catch{qo.throwArgumentError("invalid v for transaction type: 1","v",e[0])}t.r=(0,oa.hexZeroPad)(e[1],32),t.s=(0,oa.hexZeroPad)(e[2],32);try{var r=(0,dT.keccak256)(n(t));t.from=Pre(r,{r:t.r,s:t.s,recoveryParam:t.v})}catch{}}function LY0(t){var e=j3.decode(t.slice(1));e.length!==9&&e.length!==12&&qo.throwArgumentError("invalid component count for transaction type: 2","payload",(0,oa.hexlify)(t));var n=Wo(e[2]),a=Wo(e[3]),r={type:2,chainId:Wo(e[0]).toNumber(),nonce:Wo(e[1]).toNumber(),maxPriorityFeePerGas:n,maxFeePerGas:a,gasPrice:null,gasLimit:Wo(e[4]),to:Dre(e[5]),value:Wo(e[6]),data:e[7],accessList:VU(e[8])};return e.length===9||(r.hash=(0,dT.keccak256)(t),vBe(r,e.slice(9),yBe)),r}function FY0(t){var e=j3.decode(t.slice(1));e.length!==8&&e.length!==11&&qo.throwArgumentError("invalid component count for transaction type: 1","payload",(0,oa.hexlify)(t));var n={type:1,chainId:Wo(e[0]).toNumber(),nonce:Wo(e[1]).toNumber(),gasPrice:Wo(e[2]),gasLimit:Wo(e[3]),to:Dre(e[4]),value:Wo(e[5]),data:e[6],accessList:VU(e[7])};return e.length===8||(n.hash=(0,dT.keccak256)(t),vBe(n,e.slice(8),gBe)),n}function NY0(t){var e=j3.decode(t);e.length!==9&&e.length!==6&&qo.throwArgumentError("invalid raw transaction","rawTransaction",t);var n={nonce:Wo(e[0]).toNumber(),gasPrice:Wo(e[1]),gasLimit:Wo(e[2]),to:Dre(e[3]),value:Wo(e[4]),data:e[5],chainId:0};if(e.length===6)return n;try{n.v=l7.BigNumber.from(e[6]).toNumber()}catch{return n}if(n.r=(0,oa.hexZeroPad)(e[7],32),n.s=(0,oa.hexZeroPad)(e[8],32),l7.BigNumber.from(n.r).isZero()&&l7.BigNumber.from(n.s).isZero())n.chainId=n.v,n.v=0;else{n.chainId=Math.floor((n.v-35)/2),n.chainId<0&&(n.chainId=0);var a=n.v-27,r=e.slice(0,6);n.chainId!==0&&(r.push((0,oa.hexlify)(n.chainId)),r.push("0x"),r.push("0x"),a-=n.chainId*2+8);var f=(0,dT.keccak256)(j3.encode(r));try{n.from=Pre(f,{r:(0,oa.hexlify)(n.r),s:(0,oa.hexlify)(n.s),recoveryParam:a})}catch{}n.hash=(0,dT.keccak256)(t)}return n.type=null,n}function OY0(t){var e=(0,oa.arrayify)(t);if(e[0]>127)return NY0(e);switch(e[0]){case 1:return FY0(e);case 2:return LY0(e);default:break}return qo.throwError("unsupported transaction type: "+e[0],Bre.Logger.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:e[0]})}ui.parse=OY0});var wBe=D(YU=>{"use strict";u();p();Object.defineProperty(YU,"__esModule",{value:!0});YU.version=void 0;YU.version="contracts/5.7.0"});var kBe=D(jo=>{"use strict";u();p();var XU=jo&&jo.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),K3=jo&&jo.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},Q3=jo&&jo.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]1)){c=c.substring(1);var l=d[0];try{f[c]==null&&(0,mt.defineReadOnly)(f,c,f[l])}catch{}f.functions[c]==null&&(0,mt.defineReadOnly)(f.functions,c,f.functions[l]),f.callStatic[c]==null&&(0,mt.defineReadOnly)(f.callStatic,c,f.callStatic[l]),f.populateTransaction[c]==null&&(0,mt.defineReadOnly)(f.populateTransaction,c,f.populateTransaction[l]),f.estimateGas[c]==null&&(0,mt.defineReadOnly)(f.estimateGas,c,f.estimateGas[l])}})}return t.getContractAddress=function(e){return(0,Mk.getContractAddress)(e)},t.getInterface=function(e){return $U.Interface.isInterface(e)?e:new $U.Interface(e)},t.prototype.deployed=function(){return this._deployed()},t.prototype._deployed=function(e){var n=this;return this._deployedPromise||(this.deployTransaction?this._deployedPromise=this.deployTransaction.wait().then(function(){return n}):this._deployedPromise=this.provider.getCode(this.address,e).then(function(a){return a==="0x"&&yr.throwError("contract not deployed",to.Logger.errors.UNSUPPORTED_OPERATION,{contractAddress:n.address,operation:"getDeployed"}),n})),this._deployedPromise},t.prototype.fallback=function(e){var n=this;this.signer||yr.throwError("sending a transactions require a signer",to.Logger.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});var a=(0,mt.shallowCopy)(e||{});return["from","to"].forEach(function(r){a[r]!=null&&yr.throwError("cannot override "+r,to.Logger.errors.UNSUPPORTED_OPERATION,{operation:r})}),a.to=this.resolvedAddress,this.deployed().then(function(){return n.signer.sendTransaction(a)})},t.prototype.connect=function(e){typeof e=="string"&&(e=new Lre.VoidSigner(e,this.provider));var n=new this.constructor(this.address,this.interface,e);return this.deployTransaction&&(0,mt.defineReadOnly)(n,"deployTransaction",this.deployTransaction),n},t.prototype.attach=function(e){return new this.constructor(e,this.interface,this.signer||this.provider)},t.isIndexed=function(e){return $U.Indexed.isIndexed(e)},t.prototype._normalizeRunningEvent=function(e){return this._runningEvents[e.tag]?this._runningEvents[e.tag]:e},t.prototype._getRunningEvent=function(e){if(typeof e=="string"){if(e==="error")return this._normalizeRunningEvent(new QY0);if(e==="event")return this._normalizeRunningEvent(new Bk("event",null));if(e==="*")return this._normalizeRunningEvent(new EBe(this.address,this.interface));var n=this.interface.getEvent(e);return this._normalizeRunningEvent(new xBe(this.address,this.interface,n))}if(e.topics&&e.topics.length>0){try{var a=e.topics[0];if(typeof a!="string")throw new Error("invalid topic");var n=this.interface.getEvent(a);return this._normalizeRunningEvent(new xBe(this.address,this.interface,n,e.topics))}catch{}var r={address:this.address,topics:e.topics};return this._normalizeRunningEvent(new Bk(CBe(r),r))}return this._normalizeRunningEvent(new EBe(this.address,this.interface))},t.prototype._checkRunningEvents=function(e){if(e.listenerCount()===0){delete this._runningEvents[e.tag];var n=this._wrappedEmits[e.tag];n&&e.filter&&(this.provider.off(e.filter,n),delete this._wrappedEmits[e.tag])}},t.prototype._wrapEvent=function(e,n,a){var r=this,f=(0,mt.deepCopy)(n);return f.removeListener=function(){a&&(e.removeListener(a),r._checkRunningEvents(e))},f.getBlock=function(){return r.provider.getBlock(n.blockHash)},f.getTransaction=function(){return r.provider.getTransaction(n.transactionHash)},f.getTransactionReceipt=function(){return r.provider.getTransactionReceipt(n.transactionHash)},e.prepareEvent(f),f},t.prototype._addEventListener=function(e,n,a){var r=this;if(this.provider||yr.throwError("events require a provider or a signer with a provider",to.Logger.errors.UNSUPPORTED_OPERATION,{operation:"once"}),e.addListener(n,a),this._runningEvents[e.tag]=e,!this._wrappedEmits[e.tag]){var f=function(i){var s=r._wrapEvent(e,i,n);if(s.decodeError==null)try{var o=e.getEmit(s);r.emit.apply(r,UY0([e.filter],o,!1))}catch(c){s.decodeError=c.error}e.filter!=null&&r.emit("event",s),s.decodeError!=null&&r.emit("error",s.decodeError,s)};this._wrappedEmits[e.tag]=f,e.filter!=null&&this.provider.on(e.filter,f)}},t.prototype.queryFilter=function(e,n,a){var r=this,f=this._getRunningEvent(e),i=(0,mt.shallowCopy)(f.filter);return typeof n=="string"&&(0,u7.isHexString)(n,32)?(a!=null&&yr.throwArgumentError("cannot specify toBlock with blockhash","toBlock",a),i.blockHash=n):(i.fromBlock=n??0,i.toBlock=a??"latest"),this.provider.getLogs(i).then(function(s){return s.map(function(o){return r._wrapEvent(f,o,null)})})},t.prototype.on=function(e,n){return this._addEventListener(this._getRunningEvent(e),n,!1),this},t.prototype.once=function(e,n){return this._addEventListener(this._getRunningEvent(e),n,!0),this},t.prototype.emit=function(e){for(var n=[],a=1;a0;return this._checkRunningEvents(r),f},t.prototype.listenerCount=function(e){var n=this;return this.provider?e==null?Object.keys(this._runningEvents).reduce(function(a,r){return a+n._runningEvents[r].listenerCount()},0):this._getRunningEvent(e).listenerCount():0},t.prototype.listeners=function(e){if(!this.provider)return[];if(e==null){var n=[];for(var a in this._runningEvents)this._runningEvents[a].listeners().forEach(function(r){n.push(r)});return n}return this._getRunningEvent(e).listeners()},t.prototype.removeAllListeners=function(e){if(!this.provider)return this;if(e==null){for(var n in this._runningEvents){var a=this._runningEvents[n];a.removeAllListeners(),this._checkRunningEvents(a)}return this}var r=this._getRunningEvent(e);return r.removeAllListeners(),this._checkRunningEvents(r),this},t.prototype.off=function(e,n){if(!this.provider)return this;var a=this._getRunningEvent(e);return a.removeListener(n),this._checkRunningEvents(a),this},t.prototype.removeListener=function(e,n){return this.off(e,n)},t}();jo.BaseContract=IBe;var Fre=function(t){XU(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(IBe);jo.Contract=Fre;var VY0=function(){function t(e,n,a){var r=this.constructor,f=null;typeof n=="string"?f=n:(0,u7.isBytes)(n)?f=(0,u7.hexlify)(n):n&&typeof n.object=="string"?f=n.object:f="!",f.substring(0,2)!=="0x"&&(f="0x"+f),(!(0,u7.isHexString)(f)||f.length%2)&&yr.throwArgumentError("invalid bytecode","bytecode",n),a&&!Lre.Signer.isSigner(a)&&yr.throwArgumentError("invalid signer","signer",a),(0,mt.defineReadOnly)(this,"bytecode",f),(0,mt.defineReadOnly)(this,"interface",(0,mt.getStatic)(r,"getInterface")(e)),(0,mt.defineReadOnly)(this,"signer",a||null)}return t.prototype.getDeployTransaction=function(){for(var e=[],n=0;n{"use strict";u();p();Object.defineProperty(V3,"__esModule",{value:!0});V3.Base58=V3.Base32=V3.BaseX=void 0;var SBe=Vt(),eH=Ba(),Nre=function(){function t(e){(0,eH.defineReadOnly)(this,"alphabet",e),(0,eH.defineReadOnly)(this,"base",e.length),(0,eH.defineReadOnly)(this,"_alphabetMap",{}),(0,eH.defineReadOnly)(this,"_leader",e.charAt(0));for(var n=0;n0;)a.push(f%this.base),f=f/this.base|0}for(var s="",o=0;n[o]===0&&o=0;--c)s+=this.alphabet[a[c]];return s},t.prototype.decode=function(e){if(typeof e!="string")throw new TypeError("Expected String");var n=[];if(e.length===0)return new Uint8Array(n);n.push(0);for(var a=0;a>=8;for(;f>0;)n.push(f&255),f>>=8}for(var s=0;e[s]===this._leader&&s{"use strict";u();p();Object.defineProperty(Dk,"__esModule",{value:!0});Dk.SupportedAlgorithm=void 0;var JY0;(function(t){t.sha256="sha256",t.sha512="sha512"})(JY0=Dk.SupportedAlgorithm||(Dk.SupportedAlgorithm={}))});var RBe=D(nH=>{"use strict";u();p();Object.defineProperty(nH,"__esModule",{value:!0});nH.version=void 0;nH.version="sha2/5.7.0"});var BBe=D(O5=>{"use strict";u();p();var XY0=O5&&O5.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(O5,"__esModule",{value:!0});O5.computeHmac=O5.sha512=O5.sha256=O5.ripemd160=void 0;var Pk=XY0(Jy()),Lk=Vt(),ZY0=Ore(),MBe=Ft(),e$0=RBe(),t$0=new MBe.Logger(e$0.version);function n$0(t){return"0x"+Pk.default.ripemd160().update((0,Lk.arrayify)(t)).digest("hex")}O5.ripemd160=n$0;function a$0(t){return"0x"+Pk.default.sha256().update((0,Lk.arrayify)(t)).digest("hex")}O5.sha256=a$0;function r$0(t){return"0x"+Pk.default.sha512().update((0,Lk.arrayify)(t)).digest("hex")}O5.sha512=r$0;function f$0(t,e,n){return ZY0.SupportedAlgorithm[t]||t$0.throwError("unsupported algorithm "+t,MBe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"hmac",algorithm:t}),"0x"+Pk.default.hmac(Pk.default[t],(0,Lk.arrayify)(e)).update((0,Lk.arrayify)(n)).digest("hex")}O5.computeHmac=f$0});var p7=D(U5=>{"use strict";u();p();Object.defineProperty(U5,"__esModule",{value:!0});U5.SupportedAlgorithm=U5.sha512=U5.sha256=U5.ripemd160=U5.computeHmac=void 0;var aH=BBe();Object.defineProperty(U5,"computeHmac",{enumerable:!0,get:function(){return aH.computeHmac}});Object.defineProperty(U5,"ripemd160",{enumerable:!0,get:function(){return aH.ripemd160}});Object.defineProperty(U5,"sha256",{enumerable:!0,get:function(){return aH.sha256}});Object.defineProperty(U5,"sha512",{enumerable:!0,get:function(){return aH.sha512}});var i$0=Ore();Object.defineProperty(U5,"SupportedAlgorithm",{enumerable:!0,get:function(){return i$0.SupportedAlgorithm}})});var PBe=D(rH=>{"use strict";u();p();Object.defineProperty(rH,"__esModule",{value:!0});rH.pbkdf2=void 0;var lT=Vt(),DBe=p7();function s$0(t,e,n,a,r){t=(0,lT.arrayify)(t),e=(0,lT.arrayify)(e);var f,i=1,s=new Uint8Array(a),o=new Uint8Array(e.length+4);o.set(e);for(var c,d,l=1;l<=i;l++){o[e.length]=l>>24&255,o[e.length+1]=l>>16&255,o[e.length+2]=l>>8&255,o[e.length+3]=l&255;var h=(0,lT.arrayify)((0,DBe.computeHmac)(r,t,o));f||(f=h.length,d=new Uint8Array(f),i=Math.ceil(a/f),c=a-(i-1)*f),d.set(h);for(var y=1;y{"use strict";u();p();Object.defineProperty(fH,"__esModule",{value:!0});fH.pbkdf2=void 0;var o$0=PBe();Object.defineProperty(fH,"pbkdf2",{enumerable:!0,get:function(){return o$0.pbkdf2}})});var LBe=D(sH=>{"use strict";u();p();Object.defineProperty(sH,"__esModule",{value:!0});sH.version=void 0;sH.version="wordlists/5.7.0"});var L2=D(h7=>{"use strict";u();p();Object.defineProperty(h7,"__esModule",{value:!0});h7.Wordlist=h7.logger=void 0;var c$0=!1,d$0=x3(),FBe=Ba(),l$0=Ft(),u$0=LBe();h7.logger=new l$0.Logger(u$0.version);var p$0=function(){function t(e){var n=this.constructor;h7.logger.checkAbstract(n,t),(0,FBe.defineReadOnly)(this,"locale",e)}return t.prototype.split=function(e){return e.toLowerCase().split(/ +/g)},t.prototype.join=function(e){return e.join(" ")},t.check=function(e){for(var n=[],a=0;a<2048;a++){var r=e.getWord(a);if(a!==e.getWordIndex(r))return"0x";n.push(r)}return(0,d$0.id)(n.join(` +})`)}catch{n=function(r){this._initNamed(r)}}return gQ0(n,e),n.prototype._initNamed=function(r){e.call(this,r)},new n(this)};Zw.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed($Se.decoders[e])),this.decoders[e]};Zw.prototype.decode=function(e,n,a){return this._getDecoder(n).decode(e,a)};Zw.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed($Se.encoders[e])),this.encoders[e]};Zw.prototype.encode=function(e,n,a){return this._getEncoder(n).encode(e,a)}});var eRe=D(ZSe=>{u();p();var wQ0=Nt();function D5(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}ZSe.Reporter=D5;D5.prototype.isError=function(e){return e instanceof tT};D5.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}};D5.prototype.restore=function(e){var n=this._reporterState;n.obj=e.obj,n.path=n.path.slice(0,e.pathLen)};D5.prototype.enterKey=function(e){return this._reporterState.path.push(e)};D5.prototype.exitKey=function(e){var n=this._reporterState;n.path=n.path.slice(0,e-1)};D5.prototype.leaveKey=function(e,n,a){var r=this._reporterState;this.exitKey(e),r.obj!==null&&(r.obj[n]=a)};D5.prototype.path=function(){return this._reporterState.path.join("/")};D5.prototype.enterObject=function(){var e=this._reporterState,n=e.obj;return e.obj={},n};D5.prototype.leaveObject=function(e){var n=this._reporterState,a=n.obj;return n.obj=e,a};D5.prototype.error=function(e){var n,a=this._reporterState,r=e instanceof tT;if(r?n=e:n=new tT(a.path.map(function(f){return"["+JSON.stringify(f)+"]"}).join(""),e.message||e,e.stack),!a.options.partial)throw n;return r||a.errors.push(n),n};D5.prototype.wrapResult=function(e){var n=this._reporterState;return n.options.partial?{result:this.isError(e)?null:e,errors:n.errors}:e};function tT(t,e){this.path=t,this.rethrow(e)}wQ0(tT,Error);tT.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,tT),!this.stack)try{throw new Error(this.message)}catch(n){this.stack=n.stack}return this}});var Gae=D(jae=>{u();p();var TQ0=Nt(),_U=nT().Reporter,mk=Kf().Buffer;function R2(t,e){if(_U.call(this,e),!mk.isBuffer(t)){this.error("Input not Buffer");return}this.base=t,this.offset=0,this.length=t.length}TQ0(R2,_U);jae.DecoderBuffer=R2;R2.prototype.save=function(){return{offset:this.offset,reporter:_U.prototype.save.call(this)}};R2.prototype.restore=function(e){var n=new R2(this.base);return n.offset=e.offset,n.length=this.offset,this.offset=e.offset,_U.prototype.restore.call(this,e.reporter),n};R2.prototype.isEmpty=function(){return this.offset===this.length};R2.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")};R2.prototype.skip=function(e,n){if(!(this.offset+e<=this.length))return this.error(n||"DecoderBuffer overrun");var a=new R2(this.base);return a._reporterState=this._reporterState,a.offset=this.offset,a.length=this.offset+e,this.offset+=e,a};R2.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)};function EU(t,e){if(Array.isArray(t))this.length=0,this.value=t.map(function(n){return n instanceof EU||(n=new EU(n,e)),this.length+=n.length,n},this);else if(typeof t=="number"){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if(typeof t=="string")this.value=t,this.length=mk.byteLength(t);else if(mk.isBuffer(t))this.value=t,this.length=t.length;else return e.error("Unsupported type: "+typeof t)}jae.EncoderBuffer=EU;EU.prototype.join=function(e,n){return e||(e=new mk(this.length)),n||(n=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(a){a.join(e,n),n+=a.length}):(typeof this.value=="number"?e[n]=this.value:typeof this.value=="string"?e.write(this.value,n):mk.isBuffer(this.value)&&this.value.copy(e,n),n+=this.length)),e}});var aRe=D((bQn,nRe)=>{u();p();var xQ0=nT().Reporter,EQ0=nT().EncoderBuffer,_Q0=nT().DecoderBuffer,U1=kc(),tRe=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],AQ0=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(tRe),CQ0=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function mr(t,e){var n={};this._baseState=n,n.enc=t,n.parent=e||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}nRe.exports=mr;var IQ0=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];mr.prototype.clone=function(){var e=this._baseState,n={};IQ0.forEach(function(r){n[r]=e[r]});var a=new this.constructor(n.parent);return a._baseState=n,a};mr.prototype._wrap=function(){var e=this._baseState;AQ0.forEach(function(n){this[n]=function(){var r=new this.constructor(this);return e.children.push(r),r[n].apply(r,arguments)}},this)};mr.prototype._init=function(e){var n=this._baseState;U1(n.parent===null),e.call(this),n.children=n.children.filter(function(a){return a._baseState.parent===this},this),U1.equal(n.children.length,1,"Root node can have only one child")};mr.prototype._useArgs=function(e){var n=this._baseState,a=e.filter(function(r){return r instanceof this.constructor},this);e=e.filter(function(r){return!(r instanceof this.constructor)},this),a.length!==0&&(U1(n.children===null),n.children=a,a.forEach(function(r){r._baseState.parent=this},this)),e.length!==0&&(U1(n.args===null),n.args=e,n.reverseArgs=e.map(function(r){if(typeof r!="object"||r.constructor!==Object)return r;var f={};return Object.keys(r).forEach(function(i){i==(i|0)&&(i|=0);var s=r[i];f[s]=i}),f}))};CQ0.forEach(function(t){mr.prototype[t]=function(){var n=this._baseState;throw new Error(t+" not implemented for encoding: "+n.enc)}});tRe.forEach(function(t){mr.prototype[t]=function(){var n=this._baseState,a=Array.prototype.slice.call(arguments);return U1(n.tag===null),n.tag=t,this._useArgs(a),this}});mr.prototype.use=function(e){U1(e);var n=this._baseState;return U1(n.use===null),n.use=e,this};mr.prototype.optional=function(){var e=this._baseState;return e.optional=!0,this};mr.prototype.def=function(e){var n=this._baseState;return U1(n.default===null),n.default=e,n.optional=!0,this};mr.prototype.explicit=function(e){var n=this._baseState;return U1(n.explicit===null&&n.implicit===null),n.explicit=e,this};mr.prototype.implicit=function(e){var n=this._baseState;return U1(n.explicit===null&&n.implicit===null),n.implicit=e,this};mr.prototype.obj=function(){var e=this._baseState,n=Array.prototype.slice.call(arguments);return e.obj=!0,n.length!==0&&this._useArgs(n),this};mr.prototype.key=function(e){var n=this._baseState;return U1(n.key===null),n.key=e,this};mr.prototype.any=function(){var e=this._baseState;return e.any=!0,this};mr.prototype.choice=function(e){var n=this._baseState;return U1(n.choice===null),n.choice=e,this._useArgs(Object.keys(e).map(function(a){return e[a]})),this};mr.prototype.contains=function(e){var n=this._baseState;return U1(n.use===null),n.contains=e,this};mr.prototype._decode=function(e,n){var a=this._baseState;if(a.parent===null)return e.wrapResult(a.children[0]._decode(e,n));var r=a.default,f=!0,i=null;if(a.key!==null&&(i=e.enterKey(a.key)),a.optional){var s=null;if(a.explicit!==null?s=a.explicit:a.implicit!==null?s=a.implicit:a.tag!==null&&(s=a.tag),s===null&&!a.any){var o=e.save();try{a.choice===null?this._decodeGeneric(a.tag,e,n):this._decodeChoice(e,n),f=!0}catch{f=!1}e.restore(o)}else if(f=this._peekTag(e,s,a.any),e.isError(f))return f}var c;if(a.obj&&f&&(c=e.enterObject()),f){if(a.explicit!==null){var d=this._decodeTag(e,a.explicit);if(e.isError(d))return d;e=d}var l=e.offset;if(a.use===null&&a.choice===null){if(a.any)var o=e.save();var h=this._decodeTag(e,a.implicit!==null?a.implicit:a.tag,a.any);if(e.isError(h))return h;a.any?r=e.raw(o):e=h}if(n&&n.track&&a.tag!==null&&n.track(e.path(),l,e.length,"tagged"),n&&n.track&&a.tag!==null&&n.track(e.path(),e.offset,e.length,"content"),a.any?r=r:a.choice===null?r=this._decodeGeneric(a.tag,e,n):r=this._decodeChoice(e,n),e.isError(r))return r;if(!a.any&&a.choice===null&&a.children!==null&&a.children.forEach(function(k){k._decode(e,n)}),a.contains&&(a.tag==="octstr"||a.tag==="bitstr")){var y=new _Q0(r);r=this._getUse(a.contains,e._reporterState.obj)._decode(y,n)}}return a.obj&&f&&(r=e.leaveObject(c)),a.key!==null&&(r!==null||f===!0)?e.leaveKey(i,a.key,r):i!==null&&e.exitKey(i),r};mr.prototype._decodeGeneric=function(e,n,a){var r=this._baseState;return e==="seq"||e==="set"?null:e==="seqof"||e==="setof"?this._decodeList(n,e,r.args[0],a):/str$/.test(e)?this._decodeStr(n,e,a):e==="objid"&&r.args?this._decodeObjid(n,r.args[0],r.args[1],a):e==="objid"?this._decodeObjid(n,null,null,a):e==="gentime"||e==="utctime"?this._decodeTime(n,e,a):e==="null_"?this._decodeNull(n,a):e==="bool"?this._decodeBool(n,a):e==="objDesc"?this._decodeStr(n,e,a):e==="int"||e==="enum"?this._decodeInt(n,r.args&&r.args[0],a):r.use!==null?this._getUse(r.use,n._reporterState.obj)._decode(n,a):n.error("unknown tag: "+e)};mr.prototype._getUse=function(e,n){var a=this._baseState;return a.useDecoder=this._use(e,n),U1(a.useDecoder._baseState.parent===null),a.useDecoder=a.useDecoder._baseState.children[0],a.implicit!==a.useDecoder._baseState.implicit&&(a.useDecoder=a.useDecoder.clone(),a.useDecoder._baseState.implicit=a.implicit),a.useDecoder};mr.prototype._decodeChoice=function(e,n){var a=this._baseState,r=null,f=!1;return Object.keys(a.choice).some(function(i){var s=e.save(),o=a.choice[i];try{var c=o._decode(e,n);if(e.isError(c))return!1;r={type:i,value:c},f=!0}catch{return e.restore(s),!1}return!0},this),f?r:e.error("Choice not matched")};mr.prototype._createEncoderBuffer=function(e){return new EQ0(e,this.reporter)};mr.prototype._encode=function(e,n,a){var r=this._baseState;if(!(r.default!==null&&r.default===e)){var f=this._encodeValue(e,n,a);if(f!==void 0&&!this._skipDefault(f,n,a))return f}};mr.prototype._encodeValue=function(e,n,a){var r=this._baseState;if(r.parent===null)return r.children[0]._encode(e,n||new xQ0);var o=null;if(this.reporter=n,r.optional&&e===void 0)if(r.default!==null)e=r.default;else return;var f=null,i=!1;if(r.any)o=this._createEncoderBuffer(e);else if(r.choice)o=this._encodeChoice(e,n);else if(r.contains)f=this._getUse(r.contains,a)._encode(e,n),i=!0;else if(r.children)f=r.children.map(function(l){if(l._baseState.tag==="null_")return l._encode(null,n,e);if(l._baseState.key===null)return n.error("Child should have a key");var h=n.enterKey(l._baseState.key);if(typeof e!="object")return n.error("Child expected, but input is not object");var y=l._encode(e[l._baseState.key],n,e);return n.leaveKey(h),y},this).filter(function(l){return l}),f=this._createEncoderBuffer(f);else if(r.tag==="seqof"||r.tag==="setof"){if(!(r.args&&r.args.length===1))return n.error("Too many args for : "+r.tag);if(!Array.isArray(e))return n.error("seqof/setof, but data is not Array");var s=this.clone();s._baseState.implicit=null,f=this._createEncoderBuffer(e.map(function(l){var h=this._baseState;return this._getUse(h.args[0],e)._encode(l,n)},s))}else r.use!==null?o=this._getUse(r.use,a)._encode(e,n):(f=this._encodePrimitive(r.tag,e),i=!0);var o;if(!r.any&&r.choice===null){var c=r.implicit!==null?r.implicit:r.tag,d=r.implicit===null?"universal":"context";c===null?r.use===null&&n.error("Tag could be omitted only for .use()"):r.use===null&&(o=this._encodeComposite(c,i,d,f))}return r.explicit!==null&&(o=this._encodeComposite(r.explicit,!1,"context",o)),o};mr.prototype._encodeChoice=function(e,n){var a=this._baseState,r=a.choice[e.type];return r||U1(!1,e.type+" not found in "+JSON.stringify(Object.keys(a.choice))),r._encode(e.value,n)};mr.prototype._encodePrimitive=function(e,n){var a=this._baseState;if(/str$/.test(e))return this._encodeStr(n,e);if(e==="objid"&&a.args)return this._encodeObjid(n,a.reverseArgs[0],a.args[1]);if(e==="objid")return this._encodeObjid(n,null,null);if(e==="gentime"||e==="utctime")return this._encodeTime(n,e);if(e==="null_")return this._encodeNull();if(e==="int"||e==="enum")return this._encodeInt(n,a.args&&a.reverseArgs[0]);if(e==="bool")return this._encodeBool(n);if(e==="objDesc")return this._encodeStr(n,e);throw new Error("Unsupported tag: "+e)};mr.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)};mr.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}});var nT=D(rRe=>{u();p();var AU=rRe;AU.Reporter=eRe().Reporter;AU.DecoderBuffer=Gae().DecoderBuffer;AU.EncoderBuffer=Gae().EncoderBuffer;AU.Node=aRe()});var iRe=D(a7=>{u();p();var fRe=Kae();a7.tagClass={0:"universal",1:"application",2:"context",3:"private"};a7.tagClassByName=fRe._reverse(a7.tagClass);a7.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"};a7.tagByName=fRe._reverse(a7.tag)});var Kae=D(oRe=>{u();p();var sRe=oRe;sRe._reverse=function(e){var n={};return Object.keys(e).forEach(function(a){(a|0)==a&&(a=a|0);var r=e[a];n[r]=a}),n};sRe.der=iRe()});var Yae=D((IQn,uRe)=>{u();p();var kQ0=Nt(),Qae=eT(),CU=Qae.base,SQ0=Qae.bignum,cRe=Qae.constants.der;function dRe(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new w6,this.tree._init(t.body)}uRe.exports=dRe;dRe.prototype.decode=function(e,n){return e instanceof CU.DecoderBuffer||(e=new CU.DecoderBuffer(e,n)),this.tree._decode(e,n)};function w6(t){CU.Node.call(this,"der",t)}kQ0(w6,CU.Node);w6.prototype._peekTag=function(e,n,a){if(e.isEmpty())return!1;var r=e.save(),f=Vae(e,'Failed to peek tag: "'+n+'"');return e.isError(f)?f:(e.restore(r),f.tag===n||f.tagStr===n||f.tagStr+"of"===n||a)};w6.prototype._decodeTag=function(e,n,a){var r=Vae(e,'Failed to decode tag of "'+n+'"');if(e.isError(r))return r;var f=lRe(e,r.primitive,'Failed to get length of "'+n+'"');if(e.isError(f))return f;if(!a&&r.tag!==n&&r.tagStr!==n&&r.tagStr+"of"!==n)return e.error('Failed to match tag: "'+n+'"');if(r.primitive||f!==null)return e.skip(f,'Failed to match body of: "'+n+'"');var i=e.save(),s=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(s)?s:(f=e.offset-i.offset,e.restore(i),e.skip(f,'Failed to match body of: "'+n+'"'))};w6.prototype._skipUntilEnd=function(e,n){for(;;){var a=Vae(e,n);if(e.isError(a))return a;var r=lRe(e,a.primitive,n);if(e.isError(r))return r;var f;if(a.primitive||r!==null?f=e.skip(r):f=this._skipUntilEnd(e,n),e.isError(f))return f;if(a.tagStr==="end")break}};w6.prototype._decodeList=function(e,n,a,r){for(var f=[];!e.isEmpty();){var i=this._peekTag(e,"end");if(e.isError(i))return i;var s=a.decode(e,"der",r);if(e.isError(s)&&i)break;f.push(s)}return f};w6.prototype._decodeStr=function(e,n){if(n==="bitstr"){var a=e.readUInt8();return e.isError(a)?a:{unused:a,data:e.raw()}}else if(n==="bmpstr"){var r=e.raw();if(r.length%2===1)return e.error("Decoding of string type: bmpstr length mismatch");for(var f="",i=0;i>6],r=(n&32)===0;if((n&31)===31){var f=n;for(n=0;(f&128)===128;){if(f=t.readUInt8(e),t.isError(f))return f;n<<=7,n|=f&127}}else n&=31;var i=cRe.tag[n];return{cls:a,primitive:r,tag:n,tagStr:i}}function lRe(t,e,n){var a=t.readUInt8(n);if(t.isError(a))return a;if(!e&&a===128)return null;if(!(a&128))return a;var r=a&127;if(r>4)return t.error("length octect is too long");a=0;for(var f=0;f{u();p();var RQ0=Nt(),MQ0=Kf().Buffer,$ae=Yae();function Jae(t){$ae.call(this,t),this.enc="pem"}RQ0(Jae,$ae);pRe.exports=Jae;Jae.prototype.decode=function(e,n){for(var a=e.toString().split(/[\r\n]+/g),r=n.label.toUpperCase(),f=/^-----(BEGIN|END) ([^-]+)-----$/,i=-1,s=-1,o=0;o{u();p();var bRe=mRe;bRe.der=Yae();bRe.pem=hRe()});var Zae=D((FQn,TRe)=>{u();p();var BQ0=Nt(),T8=Kf().Buffer,gRe=eT(),vRe=gRe.base,Xae=gRe.constants.der;function wRe(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new dl,this.tree._init(t.body)}TRe.exports=wRe;wRe.prototype.encode=function(e,n){return this.tree._encode(e,n).join()};function dl(t){vRe.Node.call(this,"der",t)}BQ0(dl,vRe.Node);dl.prototype._encodeComposite=function(e,n,a,r){var f=DQ0(e,n,a,this.reporter);if(r.length<128){var o=new T8(2);return o[0]=f,o[1]=r.length,this._createEncoderBuffer([o,r])}for(var i=1,s=r.length;s>=256;s>>=8)i++;var o=new T8(2+i);o[0]=f,o[1]=128|i;for(var s=1+i,c=r.length;c>0;s--,c>>=8)o[s]=c&255;return this._createEncoderBuffer([o,r])};dl.prototype._encodeStr=function(e,n){if(n==="bitstr")return this._createEncoderBuffer([e.unused|0,e.data]);if(n==="bmpstr"){for(var a=new T8(e.length*2),r=0;r=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,e[0]*40+e[1])}for(var f=0,r=0;r=128;i>>=7)f++}for(var s=new T8(f),o=s.length-1,r=e.length-1;r>=0;r--){var i=e[r];for(s[o--]=i&127;(i>>=7)>0;)s[o--]=128|i&127}return this._createEncoderBuffer(s)};function P5(t){return t<10?"0"+t:t}dl.prototype._encodeTime=function(e,n){var a,r=new Date(e);return n==="gentime"?a=[P5(r.getFullYear()),P5(r.getUTCMonth()+1),P5(r.getUTCDate()),P5(r.getUTCHours()),P5(r.getUTCMinutes()),P5(r.getUTCSeconds()),"Z"].join(""):n==="utctime"?a=[P5(r.getFullYear()%100),P5(r.getUTCMonth()+1),P5(r.getUTCDate()),P5(r.getUTCHours()),P5(r.getUTCMinutes()),P5(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+n+" time is not supported yet"),this._encodeStr(a,"octstr")};dl.prototype._encodeNull=function(){return this._createEncoderBuffer("")};dl.prototype._encodeInt=function(e,n){if(typeof e=="string"){if(!n)return this.reporter.error("String int or enum given, but no values map");if(!n.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=n[e]}if(typeof e!="number"&&!T8.isBuffer(e)){var a=e.toArray();!e.sign&&a[0]&128&&a.unshift(0),e=new T8(a)}if(T8.isBuffer(e)){var r=e.length;e.length===0&&r++;var i=new T8(r);return e.copy(i),e.length===0&&(i[0]=0),this._createEncoderBuffer(i)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var r=1,f=e;f>=256;f>>=8)r++;for(var i=new Array(r),f=i.length-1;f>=0;f--)i[f]=e&255,e>>=8;return i[0]&128&&i.unshift(0),this._createEncoderBuffer(new T8(i))};dl.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)};dl.prototype._use=function(e,n){return typeof e=="function"&&(e=e(n)),e._getEncoder("der").tree};dl.prototype._skipDefault=function(e,n,a){var r=this._baseState,f;if(r.default===null)return!1;var i=e.join();if(r.defaultBuffer===void 0&&(r.defaultBuffer=this._encodeValue(r.default,n,a).join()),i.length!==r.defaultBuffer.length)return!1;for(f=0;f=31?a.error("Multi-octet tag encoding unsupported"):(e||(r|=32),r|=Xae.tagClassByName[n||"universal"]<<6,r)}});var ERe=D((UQn,xRe)=>{u();p();var PQ0=Nt(),ere=Zae();function tre(t){ere.call(this,t),this.enc="pem"}PQ0(tre,ere);xRe.exports=tre;tre.prototype.encode=function(e,n){for(var a=ere.prototype.encode.call(this,e),r=a.toString("base64"),f=["-----BEGIN "+n.label+"-----"],i=0;i{u();p();var _Re=ARe;_Re.der=Zae();_Re.pem=ERe()});var eT=D(IRe=>{u();p();var aT=IRe;aT.bignum=kr();aT.define=XSe().define;aT.base=nT();aT.constants=Kae();aT.decoders=yRe();aT.encoders=CRe()});var MRe=D((VQn,RRe)=>{"use strict";u();p();var ll=eT(),kRe=ll.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),LQ0=ll.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),nre=ll.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),FQ0=ll.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(nre),this.key("subjectPublicKey").bitstr())}),NQ0=ll.define("RelativeDistinguishedName",function(){this.setof(LQ0)}),OQ0=ll.define("RDNSequence",function(){this.seqof(NQ0)}),SRe=ll.define("Name",function(){this.choice({rdnSequence:this.use(OQ0)})}),UQ0=ll.define("Validity",function(){this.seq().obj(this.key("notBefore").use(kRe),this.key("notAfter").use(kRe))}),HQ0=ll.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),zQ0=ll.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(nre),this.key("issuer").use(SRe),this.key("validity").use(UQ0),this.key("subject").use(SRe),this.key("subjectPublicKeyInfo").use(FQ0),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(HQ0).optional())}),WQ0=ll.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(zQ0),this.key("signatureAlgorithm").use(nre),this.key("signatureValue").bitstr())});RRe.exports=WQ0});var DRe=D(pl=>{"use strict";u();p();var ul=eT();pl.certificate=MRe();var qQ0=ul.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});pl.RSAPrivateKey=qQ0;var jQ0=ul.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});pl.RSAPublicKey=jQ0;var BRe=ul.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),GQ0=ul.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(BRe),this.key("subjectPublicKey").bitstr())});pl.PublicKey=GQ0;var KQ0=ul.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(BRe),this.key("subjectPrivateKey").octstr())});pl.PrivateKey=KQ0;var QQ0=ul.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});pl.EncryptedPrivateKey=QQ0;var VQ0=ul.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});pl.DSAPrivateKey=VQ0;pl.DSAparam=ul.define("DSAparam",function(){this.int()});var YQ0=ul.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),$Q0=ul.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(YQ0),this.key("publicKey").optional().explicit(1).bitstr())});pl.ECPrivateKey=$Q0;pl.signature=ul.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})});var PRe=D((eVn,JQ0)=>{JQ0.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}});var FRe=D((tVn,LRe)=>{"use strict";u();p();var XQ0=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,ZQ0=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,eV0=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,tV0=XI(),nV0=YO(),IU=En().Buffer;LRe.exports=function(t,e){var n=t.toString(),a=n.match(XQ0),r;if(a){var i="aes"+a[1],s=IU.from(a[2],"hex"),o=IU.from(a[3].replace(/[\r\n]/g,""),"base64"),c=tV0(e,s.slice(0,8),parseInt(a[1],10)).key,d=[],l=nV0.createDecipheriv(i,c,s);d.push(l.update(o)),d.push(l.final()),r=IU.concat(d)}else{var f=n.match(eV0);r=IU.from(f[2].replace(/[\r\n]/g,""),"base64")}var h=n.match(ZQ0)[1];return{tag:h,data:r}}});var yk=D((rVn,ORe)=>{"use strict";u();p();var Bc=DRe(),aV0=PRe(),rV0=FRe(),fV0=YO(),iV0=Mne(),are=En().Buffer;function sV0(t,e){var n=t.algorithm.decrypt.kde.kdeparams.salt,a=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),r=aV0[t.algorithm.decrypt.cipher.algo.join(".")],f=t.algorithm.decrypt.cipher.iv,i=t.subjectPrivateKey,s=parseInt(r.split("-")[1],10)/8,o=iV0.pbkdf2Sync(e,n,a,s,"sha1"),c=fV0.createDecipheriv(r,o,f),d=[];return d.push(c.update(i)),d.push(c.final()),are.concat(d)}function NRe(t){var e;typeof t=="object"&&!are.isBuffer(t)&&(e=t.passphrase,t=t.key),typeof t=="string"&&(t=are.from(t));var n=rV0(t,e),a=n.tag,r=n.data,f,i;switch(a){case"CERTIFICATE":i=Bc.certificate.decode(r,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(i||(i=Bc.PublicKey.decode(r,"der")),f=i.algorithm.algorithm.join("."),f){case"1.2.840.113549.1.1.1":return Bc.RSAPublicKey.decode(i.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return i.subjectPrivateKey=i.subjectPublicKey,{type:"ec",data:i};case"1.2.840.10040.4.1":return i.algorithm.params.pub_key=Bc.DSAparam.decode(i.subjectPublicKey.data,"der"),{type:"dsa",data:i.algorithm.params};default:throw new Error("unknown key id "+f)}case"ENCRYPTED PRIVATE KEY":r=Bc.EncryptedPrivateKey.decode(r,"der"),r=sV0(r,e);case"PRIVATE KEY":switch(i=Bc.PrivateKey.decode(r,"der"),f=i.algorithm.algorithm.join("."),f){case"1.2.840.113549.1.1.1":return Bc.RSAPrivateKey.decode(i.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:i.algorithm.curve,privateKey:Bc.ECPrivateKey.decode(i.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return i.algorithm.params.priv_key=Bc.DSAparam.decode(i.subjectPrivateKey,"der"),{type:"dsa",params:i.algorithm.params};default:throw new Error("unknown key id "+f)}case"RSA PUBLIC KEY":return Bc.RSAPublicKey.decode(r,"der");case"RSA PRIVATE KEY":return Bc.RSAPrivateKey.decode(r,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:Bc.DSAPrivateKey.decode(r,"der")};case"EC PRIVATE KEY":return r=Bc.ECPrivateKey.decode(r,"der"),{curve:r.parameters.value,privateKey:r.privateKey};default:throw new Error("unknown key type "+a)}}NRe.signature=Bc.signature;ORe.exports=NRe});var rre=D((sVn,oV0)=>{oV0.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}});var zRe=D((oVn,SU)=>{"use strict";u();p();var Ho=En().Buffer,r7=Tne(),cV0=oU(),dV0=bk().ec,kU=Va(),lV0=yk(),uV0=rre(),pV0=1;function hV0(t,e,n,a,r){var f=lV0(e);if(f.curve){if(a!=="ecdsa"&&a!=="ecdsa/rsa")throw new Error("wrong private key type");return bV0(t,f)}else if(f.type==="dsa"){if(a!=="dsa")throw new Error("wrong private key type");return mV0(t,f,n)}if(a!=="rsa"&&a!=="ecdsa/rsa")throw new Error("wrong private key type");if(e.padding!==void 0&&e.padding!==pV0)throw new Error("illegal or unsupported padding mode");t=Ho.concat([r,t]);for(var i=f.modulus.byteLength(),s=[0,1];t.length+s.length+10&&n.ishrn(a),n}function gV0(t,e){t=fre(t,e),t=t.mod(e);var n=Ho.from(t.toArray());if(n.length{"use strict";u();p();var ire=En().Buffer,gk=Va(),wV0=bk().ec,qRe=yk(),TV0=rre();function xV0(t,e,n,a,r){var f=qRe(n);if(f.type==="ec"){if(a!=="ecdsa"&&a!=="ecdsa/rsa")throw new Error("wrong public key type");return EV0(t,e,f)}else if(f.type==="dsa"){if(a!=="dsa")throw new Error("wrong public key type");return _V0(t,e,f)}if(a!=="rsa"&&a!=="ecdsa/rsa")throw new Error("wrong public key type");e=ire.concat([r,e]);for(var i=f.modulus.byteLength(),s=[1],o=0;e.length+s.length+2=0)throw new Error("invalid sig")}jRe.exports=xV0});var JRe=D((hVn,$Re)=>{"use strict";u();p();var RU=En().Buffer,VRe=Oy(),MU=Cke(),YRe=Nt(),AV0=zRe(),CV0=GRe(),f7=xne();Object.keys(f7).forEach(function(t){f7[t].id=RU.from(f7[t].id,"hex"),f7[t.toLowerCase()]=f7[t]});function vk(t){MU.Writable.call(this);var e=f7[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=VRe(e.hash),this._tag=e.id,this._signType=e.sign}YRe(vk,MU.Writable);vk.prototype._write=function(e,n,a){this._hash.update(e),a()};vk.prototype.update=function(e,n){return this._hash.update(typeof e=="string"?RU.from(e,n):e),this};vk.prototype.sign=function(e,n){this.end();var a=this._hash.digest(),r=AV0(a,e,this._hashType,this._signType,this._tag);return n?r.toString(n):r};function wk(t){MU.Writable.call(this);var e=f7[t];if(!e)throw new Error("Unknown message digest");this._hash=VRe(e.hash),this._tag=e.id,this._signType=e.sign}YRe(wk,MU.Writable);wk.prototype._write=function(e,n,a){this._hash.update(e),a()};wk.prototype.update=function(e,n){return this._hash.update(typeof e=="string"?RU.from(e,n):e),this};wk.prototype.verify=function(e,n,a){var r=typeof n=="string"?RU.from(n,a):n;this.end();var f=this._hash.digest();return CV0(r,f,e,this._signType,this._tag)};function KRe(t){return new vk(t)}function QRe(t){return new wk(t)}$Re.exports={Sign:KRe,Verify:QRe,createSign:KRe,createVerify:QRe}});var ZRe=D((yVn,XRe)=>{u();p();var IV0=bk(),kV0=kr();XRe.exports=function(e){return new i7(e)};var T6={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};T6.p224=T6.secp224r1;T6.p256=T6.secp256r1=T6.prime256v1;T6.p192=T6.secp192r1=T6.prime192v1;T6.p384=T6.secp384r1;T6.p521=T6.secp521r1;function i7(t){this.curveType=T6[t],this.curveType||(this.curveType={name:t}),this.curve=new IV0.ec(this.curveType.name),this.keys=void 0}i7.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)};i7.prototype.computeSecret=function(t,e,n){e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e));var a=this.curve.keyFromPublic(t).getPublic(),r=a.mul(this.keys.getPrivate()).getX();return sre(r,n,this.curveType.byteLength)};i7.prototype.getPublicKey=function(t,e){var n=this.keys.getPublic(e==="compressed",!0);return e==="hybrid"&&(n[n.length-1]%2?n[0]=7:n[0]=6),sre(n,t)};i7.prototype.getPrivateKey=function(t){return sre(this.keys.getPrivate(),t)};i7.prototype.setPublicKey=function(t,e){return e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),this.keys._importPublic(t),this};i7.prototype.setPrivateKey=function(t,e){e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e));var n=new kV0(t);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this};function sre(t,e,n){Array.isArray(t)||(t=t.toArray());var a=new _.Buffer(t);if(n&&a.length{u();p();var SV0=Oy(),ore=En().Buffer;eMe.exports=function(t,e){for(var n=ore.alloc(0),a=0,r;n.length{u();p();tMe.exports=function(e,n){for(var a=e.length,r=-1;++r{u();p();var nMe=kr(),MV0=En().Buffer;function BV0(t,e){return MV0.from(t.toRed(nMe.mont(e.modulus)).redPow(new nMe(e.publicExponent)).fromRed().toArray())}aMe.exports=BV0});var sMe=D((SVn,iMe)=>{u();p();var DV0=yk(),ure=f8(),PV0=Oy(),rMe=cre(),fMe=dre(),pre=kr(),LV0=lre(),FV0=oU(),hl=En().Buffer;iMe.exports=function(e,n,a){var r;e.padding?r=e.padding:a?r=1:r=4;var f=DV0(e),i;if(r===4)i=NV0(f,n);else if(r===1)i=OV0(f,n,a);else if(r===3){if(i=new pre(n),i.cmp(f.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return a?FV0(i,f):LV0(i,f)};function NV0(t,e){var n=t.modulus.byteLength(),a=e.length,r=PV0("sha1").update(hl.alloc(0)).digest(),f=r.length,i=2*f;if(a>n-i-2)throw new Error("message too long");var s=hl.alloc(n-a-i-2),o=n-f-1,c=ure(f),d=fMe(hl.concat([r,s,hl.alloc(1,1),e],o),rMe(c,o)),l=fMe(c,rMe(d,f));return new pre(hl.concat([hl.alloc(1),l,d],n))}function OV0(t,e,n){var a=e.length,r=t.modulus.byteLength();if(a>r-11)throw new Error("message too long");var f;return n?f=hl.alloc(r-a-3,255):f=UV0(r-a-3),new pre(hl.concat([hl.from([0,n?1:2]),f,hl.alloc(1),e],r))}function UV0(t){for(var e=hl.allocUnsafe(t),n=0,a=ure(t*2),r=0,f;n{u();p();var HV0=yk(),oMe=cre(),cMe=dre(),dMe=kr(),zV0=oU(),WV0=Oy(),qV0=lre(),Tk=En().Buffer;lMe.exports=function(e,n,a){var r;e.padding?r=e.padding:a?r=1:r=4;var f=HV0(e),i=f.modulus.byteLength();if(n.length>i||new dMe(n).cmp(f.modulus)>=0)throw new Error("decryption error");var s;a?s=qV0(new dMe(n),f):s=zV0(n,f);var o=Tk.alloc(i-s.length);if(s=Tk.concat([o,s],i),r===4)return jV0(f,s);if(r===1)return GV0(f,s,a);if(r===3)return s;throw new Error("unknown padding")};function jV0(t,e){var n=t.modulus.byteLength(),a=WV0("sha1").update(Tk.alloc(0)).digest(),r=a.length;if(e[0]!==0)throw new Error("decryption error");var f=e.slice(1,r+1),i=e.slice(r+1),s=cMe(f,oMe(i,r)),o=cMe(i,oMe(s,n-r-1));if(KV0(a,o.slice(0,r)))throw new Error("decryption error");for(var c=r;o[c]===0;)c++;if(o[c++]!==1)throw new Error("decryption error");return o.slice(c)}function GV0(t,e,n){for(var a=e.slice(0,2),r=2,f=0;e[r++]!==0;)if(r>=e.length){f++;break}var i=e.slice(2,r-1);if((a.toString("hex")!=="0002"&&!n||a.toString("hex")!=="0001"&&n)&&f++,i.length<8&&f++,f)throw new Error("decryption error");return e.slice(r)}function KV0(t,e){t=Tk.from(t),e=Tk.from(e);var n=0,a=t.length;t.length!==e.length&&(n++,a=Math.min(t.length,e.length));for(var r=-1;++r{u();p();s7.publicEncrypt=sMe();s7.privateDecrypt=uMe();s7.privateEncrypt=function(e,n){return s7.publicEncrypt(e,n,!0)};s7.publicDecrypt=function(e,n){return s7.privateDecrypt(e,n,!0)}});var EMe=D(xk=>{"use strict";u();p();function hMe(){throw new Error(`secure random number generation not supported by this browser +use chrome, FireFox or Internet Explorer 11`)}var mMe=En(),bMe=f8(),yMe=mMe.Buffer,gMe=mMe.kMaxLength,hre=global.crypto||global.msCrypto,vMe=Math.pow(2,32)-1;function wMe(t,e){if(typeof t!="number"||t!==t)throw new TypeError("offset must be a number");if(t>vMe||t<0)throw new TypeError("offset must be a uint32");if(t>gMe||t>e)throw new RangeError("offset out of range")}function TMe(t,e,n){if(typeof t!="number"||t!==t)throw new TypeError("size must be a number");if(t>vMe||t<0)throw new TypeError("size must be a uint32");if(t+e>n||t>gMe)throw new RangeError("buffer too small")}hre&&hre.getRandomValues||!E.browser?(xk.randomFill=QV0,xk.randomFillSync=VV0):(xk.randomFill=hMe,xk.randomFillSync=hMe);function QV0(t,e,n,a){if(!yMe.isBuffer(t)&&!(t instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof e=="function")a=e,e=0,n=t.length;else if(typeof n=="function")a=n,n=t.length-e;else if(typeof a!="function")throw new TypeError('"cb" argument must be a function');return wMe(e,t.length),TMe(n,e,t.length),xMe(t,e,n,a)}function xMe(t,e,n,a){if(E.browser){var r=t.buffer,f=new Uint8Array(r,e,n);if(hre.getRandomValues(f),a){E.nextTick(function(){a(null,t)});return}return t}if(a){bMe(n,function(s,o){if(s)return a(s);o.copy(t,e),a(null,t)});return}var i=bMe(n);return i.copy(t,e),t}function VV0(t,e,n){if(typeof e>"u"&&(e=0),!yMe.isBuffer(t)&&!(t instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return wMe(e,t.length),n===void 0&&(n=t.length-e),TMe(n,e,t.length),xMe(t,e,n)}});var PU=D(_n=>{"use strict";u();p();_n.randomBytes=_n.rng=_n.pseudoRandomBytes=_n.prng=f8();_n.createHash=_n.Hash=Oy();_n.createHmac=_n.Hmac=Tne();var YV0=fCe(),$V0=Object.keys(YV0),JV0=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat($V0);_n.getHashes=function(){return JV0};var _Me=Mne();_n.pbkdf2=_Me.pbkdf2;_n.pbkdf2Sync=_Me.pbkdf2Sync;var M2=AIe();_n.Cipher=M2.Cipher;_n.createCipher=M2.createCipher;_n.Cipheriv=M2.Cipheriv;_n.createCipheriv=M2.createCipheriv;_n.Decipher=M2.Decipher;_n.createDecipher=M2.createDecipher;_n.Decipheriv=M2.Decipheriv;_n.createDecipheriv=M2.createDecipheriv;_n.getCiphers=M2.getCiphers;_n.listCiphers=M2.listCiphers;var Ek=NIe();_n.DiffieHellmanGroup=Ek.DiffieHellmanGroup;_n.createDiffieHellmanGroup=Ek.createDiffieHellmanGroup;_n.getDiffieHellman=Ek.getDiffieHellman;_n.createDiffieHellman=Ek.createDiffieHellman;_n.DiffieHellman=Ek.DiffieHellman;var BU=JRe();_n.createSign=BU.createSign;_n.Sign=BU.Sign;_n.createVerify=BU.createVerify;_n.Verify=BU.Verify;_n.createECDH=ZRe();var DU=pMe();_n.publicEncrypt=DU.publicEncrypt;_n.privateEncrypt=DU.privateEncrypt;_n.publicDecrypt=DU.publicDecrypt;_n.privateDecrypt=DU.privateDecrypt;var AMe=EMe();_n.randomFill=AMe.randomFill;_n.randomFillSync=AMe.randomFillSync;_n.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join(` +`))};_n.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}});var Pw=D((jVn,yre)=>{u();p();var bre;yre.exports=function(e){return bre||(bre=new U3(null)),bre.generate(e)};function U3(t){this.rand=t}yre.exports.Rand=U3;U3.prototype.generate=function(e){return this._rand(e)};U3.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var n=new Uint8Array(e),a=0;a{"use strict";u();p();var o7=kr(),_k=g6(),LU=_k.getNAF,XV0=_k.getJSF,FU=_k.assert;function H3(t,e){this.type=t,this.p=new o7(e.p,16),this.red=e.prime?o7.red(e.prime):o7.mont(this.p),this.zero=new o7(0).toRed(this.red),this.one=new o7(1).toRed(this.red),this.two=new o7(2).toRed(this.red),this.n=e.n&&new o7(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}CMe.exports=H3;H3.prototype.point=function(){throw new Error("Not implemented")};H3.prototype.validate=function(){throw new Error("Not implemented")};H3.prototype._fixedNafMul=function(e,n){FU(e.precomputed);var a=e._getDoubles(),r=LU(n,1,this._bitLength),f=(1<=s;c--)o=(o<<1)+r[c];i.push(o)}for(var d=this.jpoint(null,null,null),l=this.jpoint(null,null,null),h=f;h>0;h--){for(s=0;s=0;o--){for(var c=0;o>=0&&i[o]===0;o--)c++;if(o>=0&&c++,s=s.dblp(c),o<0)break;var d=i[o];FU(d!==0),e.type==="affine"?d>0?s=s.mixedAdd(f[d-1>>1]):s=s.mixedAdd(f[-d-1>>1].neg()):d>0?s=s.add(f[d-1>>1]):s=s.add(f[-d-1>>1].neg())}return e.type==="affine"?s.toP():s};H3.prototype._wnafMulAdd=function(e,n,a,r,f){var i=this._wnafT1,s=this._wnafT2,o=this._wnafT3,c=0,d,l,h;for(d=0;d=1;d-=2){var v=d-1,k=d;if(i[v]!==1||i[k]!==1){o[v]=LU(a[v],i[v],this._bitLength),o[k]=LU(a[k],i[k],this._bitLength),c=Math.max(o[v].length,c),c=Math.max(o[k].length,c);continue}var O=[n[v],null,null,n[k]];n[v].y.cmp(n[k].y)===0?(O[1]=n[v].add(n[k]),O[2]=n[v].toJ().mixedAdd(n[k].neg())):n[v].y.cmp(n[k].y.redNeg())===0?(O[1]=n[v].toJ().mixedAdd(n[k]),O[2]=n[v].add(n[k].neg())):(O[1]=n[v].toJ().mixedAdd(n[k]),O[2]=n[v].toJ().mixedAdd(n[k].neg()));var F=[-3,-1,-5,-7,0,7,5,1,3],z=XV0(a[v],a[k]);for(c=Math.max(z[0].length,c),o[v]=new Array(c),o[k]=new Array(c),l=0;l=0;d--){for(var X=0;d>=0;){var K=!0;for(l=0;l=0&&X++,Q=Q.dblp(X),d<0)break;for(l=0;l0?h=s[l][G-1>>1]:G<0&&(h=s[l][-G-1>>1].neg()),h.type==="affine"?Q=Q.mixedAdd(h):Q=Q.add(h))}}for(d=0;d=Math.ceil((e.bitLength()+1)/n.step):!1};L5.prototype._getDoubles=function(e,n){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var a=[this],r=this,f=0;f{"use strict";u();p();var ZV0=g6(),Jf=kr(),gre=Nt(),rT=Ak(),eY0=ZV0.assert;function F5(t){rT.call(this,"short",t),this.a=new Jf(t.a,16).toRed(this.red),this.b=new Jf(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}gre(F5,rT);IMe.exports=F5;F5.prototype._getEndomorphism=function(e){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var n,a;if(e.beta)n=new Jf(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);n=r[0].cmp(r[1])<0?r[0]:r[1],n=n.toRed(this.red)}if(e.lambda)a=new Jf(e.lambda,16);else{var f=this._getEndoRoots(this.n);this.g.mul(f[0]).x.cmp(this.g.x.redMul(n))===0?a=f[0]:(a=f[1],eY0(this.g.mul(a).x.cmp(this.g.x.redMul(n))===0))}var i;return e.basis?i=e.basis.map(function(s){return{a:new Jf(s.a,16),b:new Jf(s.b,16)}}):i=this._getEndoBasis(a),{beta:n,lambda:a,basis:i}}};F5.prototype._getEndoRoots=function(e){var n=e===this.p?this.red:Jf.mont(e),a=new Jf(2).toRed(n).redInvm(),r=a.redNeg(),f=new Jf(3).toRed(n).redNeg().redSqrt().redMul(a),i=r.redAdd(f).fromRed(),s=r.redSub(f).fromRed();return[i,s]};F5.prototype._getEndoBasis=function(e){for(var n=this.n.ushrn(Math.floor(this.n.bitLength()/2)),a=e,r=this.n.clone(),f=new Jf(1),i=new Jf(0),s=new Jf(0),o=new Jf(1),c,d,l,h,y,v,k,O=0,F,z;a.cmpn(0)!==0;){var W=r.div(a);F=r.sub(W.mul(a)),z=s.sub(W.mul(f));var j=o.sub(W.mul(i));if(!l&&F.cmp(n)<0)c=k.neg(),d=f,l=F.neg(),h=z;else if(l&&++O===2)break;k=F,r=a,a=F,s=f,f=z,o=i,i=j}y=F.neg(),v=z;var Q=l.sqr().add(h.sqr()),V=y.sqr().add(v.sqr());return V.cmp(Q)>=0&&(y=c,v=d),l.negative&&(l=l.neg(),h=h.neg()),y.negative&&(y=y.neg(),v=v.neg()),[{a:l,b:h},{a:y,b:v}]};F5.prototype._endoSplit=function(e){var n=this.endo.basis,a=n[0],r=n[1],f=r.b.mul(e).divRound(this.n),i=a.b.neg().mul(e).divRound(this.n),s=f.mul(a.a),o=i.mul(r.a),c=f.mul(a.b),d=i.mul(r.b),l=e.sub(s).sub(o),h=c.add(d).neg();return{k1:l,k2:h}};F5.prototype.pointFromX=function(e,n){e=new Jf(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=a.redSqrt();if(r.redSqr().redSub(a).cmp(this.zero)!==0)throw new Error("invalid point");var f=r.fromRed().isOdd();return(n&&!f||!n&&f)&&(r=r.redNeg()),this.point(e,r)};F5.prototype.validate=function(e){if(e.inf)return!0;var n=e.x,a=e.y,r=this.a.redMul(n),f=n.redSqr().redMul(n).redIAdd(r).redIAdd(this.b);return a.redSqr().redISub(f).cmpn(0)===0};F5.prototype._endoWnafMulAdd=function(e,n,a){for(var r=this._endoWnafT1,f=this._endoWnafT2,i=0;i":""};vs.prototype.isInfinity=function(){return this.inf};vs.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(this.x.cmp(e.x)===0)return this.curve.point(null,null);var n=this.y.redSub(e.y);n.cmpn(0)!==0&&(n=n.redMul(this.x.redSub(e.x).redInvm()));var a=n.redSqr().redISub(this.x).redISub(e.x),r=n.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,r)};vs.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(e.cmpn(0)===0)return this.curve.point(null,null);var n=this.curve.a,a=this.x.redSqr(),r=e.redInvm(),f=a.redAdd(a).redIAdd(a).redIAdd(n).redMul(r),i=f.redSqr().redISub(this.x.redAdd(this.x)),s=f.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,s)};vs.prototype.getX=function(){return this.x.fromRed()};vs.prototype.getY=function(){return this.y.fromRed()};vs.prototype.mul=function(e){return e=new Jf(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)};vs.prototype.mulAdd=function(e,n,a){var r=[this,n],f=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,f):this.curve._wnafMulAdd(1,r,f,2)};vs.prototype.jmulAdd=function(e,n,a){var r=[this,n],f=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,f,!0):this.curve._wnafMulAdd(1,r,f,2,!0)};vs.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||this.x.cmp(e.x)===0&&this.y.cmp(e.y)===0)};vs.prototype.neg=function(e){if(this.inf)return this;var n=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var a=this.precomputed,r=function(f){return f.neg()};n.precomputed={naf:a.naf&&{wnd:a.naf.wnd,points:a.naf.points.map(r)},doubles:a.doubles&&{step:a.doubles.step,points:a.doubles.points.map(r)}}}return n};vs.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e};function eo(t,e,n,a){rT.BasePoint.call(this,t,"jacobian"),e===null&&n===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new Jf(0)):(this.x=new Jf(e,16),this.y=new Jf(n,16),this.z=new Jf(a,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}gre(eo,rT.BasePoint);F5.prototype.jpoint=function(e,n,a){return new eo(this,e,n,a)};eo.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),n=e.redSqr(),a=this.x.redMul(n),r=this.y.redMul(n).redMul(e);return this.curve.point(a,r)};eo.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};eo.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var n=e.z.redSqr(),a=this.z.redSqr(),r=this.x.redMul(n),f=e.x.redMul(a),i=this.y.redMul(n.redMul(e.z)),s=e.y.redMul(a.redMul(this.z)),o=r.redSub(f),c=i.redSub(s);if(o.cmpn(0)===0)return c.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var d=o.redSqr(),l=d.redMul(o),h=r.redMul(d),y=c.redSqr().redIAdd(l).redISub(h).redISub(h),v=c.redMul(h.redISub(y)).redISub(i.redMul(l)),k=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(y,v,k)};eo.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var n=this.z.redSqr(),a=this.x,r=e.x.redMul(n),f=this.y,i=e.y.redMul(n).redMul(this.z),s=a.redSub(r),o=f.redSub(i);if(s.cmpn(0)===0)return o.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),d=c.redMul(s),l=a.redMul(c),h=o.redSqr().redIAdd(d).redISub(l).redISub(l),y=o.redMul(l.redISub(h)).redISub(f.redMul(d)),v=this.z.redMul(s);return this.curve.jpoint(h,y,v)};eo.prototype.dblp=function(e){if(e===0)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var n;if(this.curve.zeroA||this.curve.threeA){var a=this;for(n=0;n=0)return!1;if(a.redIAdd(f),this.x.cmp(a)===0)return!0}};eo.prototype.inspect=function(){return this.isInfinity()?"":""};eo.prototype.isInfinity=function(){return this.z.cmpn(0)===0}});var MMe=D((ZVn,RMe)=>{"use strict";u();p();var fT=kr(),SMe=Nt(),NU=Ak(),tY0=g6();function iT(t){NU.call(this,"mont",t),this.a=new fT(t.a,16).toRed(this.red),this.b=new fT(t.b,16).toRed(this.red),this.i4=new fT(4).toRed(this.red).redInvm(),this.two=new fT(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}SMe(iT,NU);RMe.exports=iT;iT.prototype.validate=function(e){var n=e.normalize().x,a=n.redSqr(),r=a.redMul(n).redAdd(a.redMul(this.a)).redAdd(n),f=r.redSqrt();return f.redSqr().cmp(r)===0};function ws(t,e,n){NU.BasePoint.call(this,t,"projective"),e===null&&n===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new fT(e,16),this.z=new fT(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}SMe(ws,NU.BasePoint);iT.prototype.decodePoint=function(e,n){return this.point(tY0.toArray(e,n),1)};iT.prototype.point=function(e,n){return new ws(this,e,n)};iT.prototype.pointFromJSON=function(e){return ws.fromJSON(this,e)};ws.prototype.precompute=function(){};ws.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};ws.fromJSON=function(e,n){return new ws(e,n[0],n[1]||e.one)};ws.prototype.inspect=function(){return this.isInfinity()?"":""};ws.prototype.isInfinity=function(){return this.z.cmpn(0)===0};ws.prototype.dbl=function(){var e=this.x.redAdd(this.z),n=e.redSqr(),a=this.x.redSub(this.z),r=a.redSqr(),f=n.redSub(r),i=n.redMul(r),s=f.redMul(r.redAdd(this.curve.a24.redMul(f)));return this.curve.point(i,s)};ws.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};ws.prototype.diffAdd=function(e,n){var a=this.x.redAdd(this.z),r=this.x.redSub(this.z),f=e.x.redAdd(e.z),i=e.x.redSub(e.z),s=i.redMul(a),o=f.redMul(r),c=n.z.redMul(s.redAdd(o).redSqr()),d=n.x.redMul(s.redISub(o).redSqr());return this.curve.point(c,d)};ws.prototype.mul=function(e){for(var n=e.clone(),a=this,r=this.curve.point(null,null),f=this,i=[];n.cmpn(0)!==0;n.iushrn(1))i.push(n.andln(1));for(var s=i.length-1;s>=0;s--)i[s]===0?(a=a.diffAdd(r,f),r=r.dbl()):(r=a.diffAdd(r,f),a=a.dbl());return r};ws.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};ws.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};ws.prototype.eq=function(e){return this.getX().cmp(e.getX())===0};ws.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};ws.prototype.getX=function(){return this.normalize(),this.x.fromRed()}});var PMe=D((nYn,DMe)=>{"use strict";u();p();var nY0=g6(),x8=kr(),BMe=Nt(),OU=Ak(),aY0=nY0.assert;function B2(t){this.twisted=(t.a|0)!==1,this.mOneA=this.twisted&&(t.a|0)===-1,this.extended=this.mOneA,OU.call(this,"edwards",t),this.a=new x8(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new x8(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new x8(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),aY0(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(t.c|0)===1}BMe(B2,OU);DMe.exports=B2;B2.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)};B2.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)};B2.prototype.jpoint=function(e,n,a,r){return this.point(e,n,a,r)};B2.prototype.pointFromX=function(e,n){e=new x8(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=this.c2.redSub(this.a.redMul(a)),f=this.one.redSub(this.c2.redMul(this.d).redMul(a)),i=r.redMul(f.redInvm()),s=i.redSqrt();if(s.redSqr().redSub(i).cmp(this.zero)!==0)throw new Error("invalid point");var o=s.fromRed().isOdd();return(n&&!o||!n&&o)&&(s=s.redNeg()),this.point(e,s)};B2.prototype.pointFromY=function(e,n){e=new x8(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=a.redSub(this.c2),f=a.redMul(this.d).redMul(this.c2).redSub(this.a),i=r.redMul(f.redInvm());if(i.cmp(this.zero)===0){if(n)throw new Error("invalid point");return this.point(this.zero,e)}var s=i.redSqrt();if(s.redSqr().redSub(i).cmp(this.zero)!==0)throw new Error("invalid point");return s.fromRed().isOdd()!==n&&(s=s.redNeg()),this.point(s,e)};B2.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var n=e.x.redSqr(),a=e.y.redSqr(),r=n.redMul(this.a).redAdd(a),f=this.c2.redMul(this.one.redAdd(this.d.redMul(n).redMul(a)));return r.cmp(f)===0};function Ur(t,e,n,a,r){OU.BasePoint.call(this,t,"projective"),e===null&&n===null&&a===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new x8(e,16),this.y=new x8(n,16),this.z=a?new x8(a,16):this.curve.one,this.t=r&&new x8(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}BMe(Ur,OU.BasePoint);B2.prototype.pointFromJSON=function(e){return Ur.fromJSON(this,e)};B2.prototype.point=function(e,n,a,r){return new Ur(this,e,n,a,r)};Ur.fromJSON=function(e,n){return new Ur(e,n[0],n[1],n[2])};Ur.prototype.inspect=function(){return this.isInfinity()?"":""};Ur.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};Ur.prototype._extDbl=function(){var e=this.x.redSqr(),n=this.y.redSqr(),a=this.z.redSqr();a=a.redIAdd(a);var r=this.curve._mulA(e),f=this.x.redAdd(this.y).redSqr().redISub(e).redISub(n),i=r.redAdd(n),s=i.redSub(a),o=r.redSub(n),c=f.redMul(s),d=i.redMul(o),l=f.redMul(o),h=s.redMul(i);return this.curve.point(c,d,h,l)};Ur.prototype._projDbl=function(){var e=this.x.redAdd(this.y).redSqr(),n=this.x.redSqr(),a=this.y.redSqr(),r,f,i,s,o,c;if(this.curve.twisted){s=this.curve._mulA(n);var d=s.redAdd(a);this.zOne?(r=e.redSub(n).redSub(a).redMul(d.redSub(this.curve.two)),f=d.redMul(s.redSub(a)),i=d.redSqr().redSub(d).redSub(d)):(o=this.z.redSqr(),c=d.redSub(o).redISub(o),r=e.redSub(n).redISub(a).redMul(c),f=d.redMul(s.redSub(a)),i=d.redMul(c))}else s=n.redAdd(a),o=this.curve._mulC(this.z).redSqr(),c=s.redSub(o).redSub(o),r=this.curve._mulC(e.redISub(s)).redMul(c),f=this.curve._mulC(s).redMul(n.redISub(a)),i=s.redMul(c);return this.curve.point(r,f,i)};Ur.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()};Ur.prototype._extAdd=function(e){var n=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),a=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),f=this.z.redMul(e.z.redAdd(e.z)),i=a.redSub(n),s=f.redSub(r),o=f.redAdd(r),c=a.redAdd(n),d=i.redMul(s),l=o.redMul(c),h=i.redMul(c),y=s.redMul(o);return this.curve.point(d,l,y,h)};Ur.prototype._projAdd=function(e){var n=this.z.redMul(e.z),a=n.redSqr(),r=this.x.redMul(e.x),f=this.y.redMul(e.y),i=this.curve.d.redMul(r).redMul(f),s=a.redSub(i),o=a.redAdd(i),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(r).redISub(f),d=n.redMul(s).redMul(c),l,h;return this.curve.twisted?(l=n.redMul(o).redMul(f.redSub(this.curve._mulA(r))),h=s.redMul(o)):(l=n.redMul(o).redMul(f.redSub(r)),h=this.curve._mulC(s).redMul(o)),this.curve.point(d,l,h)};Ur.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)};Ur.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)};Ur.prototype.mulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!1)};Ur.prototype.jmulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!0)};Ur.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this};Ur.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};Ur.prototype.getX=function(){return this.normalize(),this.x.fromRed()};Ur.prototype.getY=function(){return this.normalize(),this.y.fromRed()};Ur.prototype.eq=function(e){return this===e||this.getX().cmp(e.getX())===0&&this.getY().cmp(e.getY())===0};Ur.prototype.eqXToP=function(e){var n=e.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(n)===0)return!0;for(var a=e.clone(),r=this.curve.redN.redMul(this.z);;){if(a.iadd(this.curve.n),a.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(r),this.x.cmp(n)===0)return!0}};Ur.prototype.toP=Ur.prototype.normalize;Ur.prototype.mixedAdd=Ur.prototype.add});var vre=D(LMe=>{"use strict";u();p();var UU=LMe;UU.base=Ak();UU.short=kMe();UU.mont=MMe();UU.edwards=PMe()});var NMe=D((oYn,FMe)=>{u();p();FMe.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}});var HU=D(HMe=>{"use strict";u();p();var Tre=HMe,z3=Xy(),wre=vre(),rY0=g6(),OMe=rY0.assert;function UMe(t){t.type==="short"?this.curve=new wre.short(t):t.type==="edwards"?this.curve=new wre.edwards(t):this.curve=new wre.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,OMe(this.g.validate(),"Invalid curve"),OMe(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}Tre.PresetCurve=UMe;function W3(t,e){Object.defineProperty(Tre,t,{configurable:!0,enumerable:!0,get:function(){var n=new UMe(e);return Object.defineProperty(Tre,t,{configurable:!0,enumerable:!0,value:n}),n}})}W3("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:z3.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});W3("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:z3.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});W3("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:z3.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});W3("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:z3.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]});W3("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:z3.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]});W3("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:z3.sha256,gRed:!1,g:["9"]});W3("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:z3.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var xre;try{xre=NMe()}catch{xre=void 0}W3("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:z3.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",xre]})});var WMe=D((hYn,zMe)=>{"use strict";u();p();var fY0=kr(),iY0=g6(),Ere=iY0.assert;function zo(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}zMe.exports=zo;zo.fromPublic=function(e,n,a){return n instanceof zo?n:new zo(e,{pub:n,pubEnc:a})};zo.fromPrivate=function(e,n,a){return n instanceof zo?n:new zo(e,{priv:n,privEnc:a})};zo.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}};zo.prototype.getPublic=function(e,n){return typeof e=="string"&&(n=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),n?this.pub.encode(n,e):this.pub};zo.prototype.getPrivate=function(e){return e==="hex"?this.priv.toString(16,2):this.priv};zo.prototype._importPrivate=function(e,n){this.priv=new fY0(e,n||16),this.priv=this.priv.umod(this.ec.curve.n)};zo.prototype._importPublic=function(e,n){if(e.x||e.y){this.ec.curve.type==="mont"?Ere(e.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&Ere(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,n)};zo.prototype.derive=function(e){return e.validate()||Ere(e.validate(),"public point not validated"),e.mul(this.priv).getX()};zo.prototype.sign=function(e,n,a){return this.ec.sign(e,this,n,a)};zo.prototype.verify=function(e,n){return this.ec.verify(e,n,this)};zo.prototype.inspect=function(){return""}});var GMe=D((yYn,jMe)=>{"use strict";u();p();var zU=kr(),Cre=g6(),sY0=Cre.assert;function WU(t,e){if(t instanceof WU)return t;this._importDER(t,e)||(sY0(t.r&&t.s,"Signature without r or s"),this.r=new zU(t.r,16),this.s=new zU(t.s,16),t.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}jMe.exports=WU;function oY0(){this.place=0}function _re(t,e){var n=t[e.place++];if(!(n&128))return n;var a=n&15;if(a===0||a>4)return!1;for(var r=0,f=0,i=e.place;f>>=0;return r<=127?!1:(e.place=i,r)}function qMe(t){for(var e=0,n=t.length-1;!t[e]&&!(t[e+1]&128)&&e>>3);for(t.push(n|128);--n;)t.push(e>>>(n<<3)&255);t.push(e)}WU.prototype.toDER=function(e){var n=this.r.toArray(),a=this.s.toArray();for(n[0]&128&&(n=[0].concat(n)),a[0]&128&&(a=[0].concat(a)),n=qMe(n),a=qMe(a);!a[0]&&!(a[1]&128);)a=a.slice(1);var r=[2];Are(r,n.length),r=r.concat(n),r.push(2),Are(r,a.length);var f=r.concat(a),i=[48];return Are(i,f.length),i=i.concat(f),Cre.encode(i,e)}});var YMe=D((wYn,VMe)=>{"use strict";u();p();var c7=kr(),KMe=Nae(),cY0=g6(),Ire=HU(),dY0=Pw(),QMe=cY0.assert,kre=WMe(),qU=GMe();function N5(t){if(!(this instanceof N5))return new N5(t);typeof t=="string"&&(QMe(Object.prototype.hasOwnProperty.call(Ire,t),"Unknown curve "+t),t=Ire[t]),t instanceof Ire.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}VMe.exports=N5;N5.prototype.keyPair=function(e){return new kre(this,e)};N5.prototype.keyFromPrivate=function(e,n){return kre.fromPrivate(this,e,n)};N5.prototype.keyFromPublic=function(e,n){return kre.fromPublic(this,e,n)};N5.prototype.genKeyPair=function(e){e||(e={});for(var n=new KMe({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||dY0(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),r=this.n.sub(new c7(2));;){var f=new c7(n.generate(a));if(!(f.cmp(r)>0))return f.iaddn(1),this.keyFromPrivate(f)}};N5.prototype._truncateToN=function(e,n){var a=e.byteLength()*8-this.n.bitLength();return a>0&&(e=e.ushrn(a)),!n&&e.cmp(this.n)>=0?e.sub(this.n):e};N5.prototype.sign=function(e,n,a,r){typeof a=="object"&&(r=a,a=null),r||(r={}),n=this.keyFromPrivate(n,a),e=this._truncateToN(new c7(e,16));for(var f=this.n.byteLength(),i=n.getPrivate().toArray("be",f),s=e.toArray("be",f),o=new KMe({hash:this.hash,entropy:i,nonce:s,pers:r.pers,persEnc:r.persEnc||"utf8"}),c=this.n.sub(new c7(1)),d=0;;d++){var l=r.k?r.k(d):new c7(o.generate(this.n.byteLength()));if(l=this._truncateToN(l,!0),!(l.cmpn(1)<=0||l.cmp(c)>=0)){var h=this.g.mul(l);if(!h.isInfinity()){var y=h.getX(),v=y.umod(this.n);if(v.cmpn(0)!==0){var k=l.invm(this.n).mul(v.mul(n.getPrivate()).iadd(e));if(k=k.umod(this.n),k.cmpn(0)!==0){var O=(h.getY().isOdd()?1:0)|(y.cmp(v)!==0?2:0);return r.canonical&&k.cmp(this.nh)>0&&(k=this.n.sub(k),O^=1),new qU({r:v,s:k,recoveryParam:O})}}}}}};N5.prototype.verify=function(e,n,a,r){e=this._truncateToN(new c7(e,16)),a=this.keyFromPublic(a,r),n=new qU(n,"hex");var f=n.r,i=n.s;if(f.cmpn(1)<0||f.cmp(this.n)>=0||i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var s=i.invm(this.n),o=s.mul(e).umod(this.n),c=s.mul(f).umod(this.n),d;return this.curve._maxwellTrick?(d=this.g.jmulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.eqXToP(f)):(d=this.g.mulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.getX().umod(this.n).cmp(f)===0)};N5.prototype.recoverPubKey=function(t,e,n,a){QMe((3&n)===n,"The recovery param is more than two bits"),e=new qU(e,a);var r=this.n,f=new c7(t),i=e.r,s=e.s,o=n&1,c=n>>1;if(i.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?i=this.curve.pointFromX(i.add(this.curve.n),o):i=this.curve.pointFromX(i,o);var d=e.r.invm(r),l=r.sub(f).mul(d).umod(r),h=s.mul(d).umod(r);return this.g.mulAdd(l,i,h)};N5.prototype.getKeyRecoveryParam=function(t,e,n,a){if(e=new qU(e,a),e.recoveryParam!==null)return e.recoveryParam;for(var r=0;r<4;r++){var f;try{f=this.recoverPubKey(t,e,r)}catch{continue}if(f.eq(n))return r}throw new Error("Unable to find valid recovery factor")}});var ZMe=D((EYn,XMe)=>{"use strict";u();p();var Ck=g6(),JMe=Ck.assert,$Me=Ck.parseBytes,sT=Ck.cachedProperty;function Ts(t,e){this.eddsa=t,this._secret=$Me(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=$Me(e.pub)}Ts.fromPublic=function(e,n){return n instanceof Ts?n:new Ts(e,{pub:n})};Ts.fromSecret=function(e,n){return n instanceof Ts?n:new Ts(e,{secret:n})};Ts.prototype.secret=function(){return this._secret};sT(Ts,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});sT(Ts,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});sT(Ts,"privBytes",function(){var e=this.eddsa,n=this.hash(),a=e.encodingLength-1,r=n.slice(0,e.encodingLength);return r[0]&=248,r[a]&=127,r[a]|=64,r});sT(Ts,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});sT(Ts,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});sT(Ts,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});Ts.prototype.sign=function(e){return JMe(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)};Ts.prototype.verify=function(e,n){return this.eddsa.verify(e,n,this)};Ts.prototype.getSecret=function(e){return JMe(this._secret,"KeyPair is public only"),Ck.encode(this.secret(),e)};Ts.prototype.getPublic=function(e){return Ck.encode(this.pubBytes(),e)};XMe.exports=Ts});var tBe=D((CYn,eBe)=>{"use strict";u();p();var lY0=kr(),jU=g6(),uY0=jU.assert,GU=jU.cachedProperty,pY0=jU.parseBytes;function d7(t,e){this.eddsa=t,typeof e!="object"&&(e=pY0(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),uY0(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof lY0&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}GU(d7,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});GU(d7,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});GU(d7,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});GU(d7,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});d7.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};d7.prototype.toHex=function(){return jU.encode(this.toBytes(),"hex").toUpperCase()};eBe.exports=d7});var iBe=D((SYn,fBe)=>{"use strict";u();p();var hY0=Xy(),bY0=HU(),oT=g6(),mY0=oT.assert,aBe=oT.parseBytes,rBe=ZMe(),nBe=tBe();function Dc(t){if(mY0(t==="ed25519","only tested with ed25519 so far"),!(this instanceof Dc))return new Dc(t);t=bY0[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=hY0.sha512}fBe.exports=Dc;Dc.prototype.sign=function(e,n){e=aBe(e);var a=this.keyFromSecret(n),r=this.hashInt(a.messagePrefix(),e),f=this.g.mul(r),i=this.encodePoint(f),s=this.hashInt(i,a.pubBytes(),e).mul(a.priv()),o=r.add(s).umod(this.curve.n);return this.makeSignature({R:f,S:o,Rencoded:i})};Dc.prototype.verify=function(e,n,a){e=aBe(e),n=this.makeSignature(n);var r=this.keyFromPublic(a),f=this.hashInt(n.Rencoded(),r.pubBytes(),e),i=this.g.mul(n.S()),s=n.R().add(r.pub().mul(f));return s.eq(i)};Dc.prototype.hashInt=function(){for(var e=this.hash(),n=0;n{"use strict";u();p();var l7=sBe;l7.version=dxe().version;l7.utils=g6();l7.rand=Pw();l7.curve=vre();l7.curves=HU();l7.ec=YMe();l7.eddsa=iBe()});var cBe=D(cT=>{"use strict";u();p();var yY0=cT&&cT.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(cT,"__esModule",{value:!0});cT.EC=void 0;var gY0=yY0(oBe()),vY0=gY0.default.ec;cT.EC=vY0});var dBe=D(KU=>{"use strict";u();p();Object.defineProperty(KU,"__esModule",{value:!0});KU.version=void 0;KU.version="signing-key/5.7.0"});var kk=D(q3=>{"use strict";u();p();Object.defineProperty(q3,"__esModule",{value:!0});q3.computePublicKey=q3.recoverPublicKey=q3.SigningKey=void 0;var wY0=cBe(),Ii=Vt(),Ik=Ba(),TY0=Ft(),xY0=dBe(),Rre=new TY0.Logger(xY0.version),Sre=null;function D2(){return Sre||(Sre=new wY0.EC("secp256k1")),Sre}var lBe=function(){function t(e){(0,Ik.defineReadOnly)(this,"curve","secp256k1"),(0,Ik.defineReadOnly)(this,"privateKey",(0,Ii.hexlify)(e)),(0,Ii.hexDataLength)(this.privateKey)!==32&&Rre.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");var n=D2().keyFromPrivate((0,Ii.arrayify)(this.privateKey));(0,Ik.defineReadOnly)(this,"publicKey","0x"+n.getPublic(!1,"hex")),(0,Ik.defineReadOnly)(this,"compressedPublicKey","0x"+n.getPublic(!0,"hex")),(0,Ik.defineReadOnly)(this,"_isSigningKey",!0)}return t.prototype._addPoint=function(e){var n=D2().keyFromPublic((0,Ii.arrayify)(this.publicKey)),a=D2().keyFromPublic((0,Ii.arrayify)(e));return"0x"+n.pub.add(a.pub).encodeCompressed("hex")},t.prototype.signDigest=function(e){var n=D2().keyFromPrivate((0,Ii.arrayify)(this.privateKey)),a=(0,Ii.arrayify)(e);a.length!==32&&Rre.throwArgumentError("bad digest length","digest",e);var r=n.sign(a,{canonical:!0});return(0,Ii.splitSignature)({recoveryParam:r.recoveryParam,r:(0,Ii.hexZeroPad)("0x"+r.r.toString(16),32),s:(0,Ii.hexZeroPad)("0x"+r.s.toString(16),32)})},t.prototype.computeSharedSecret=function(e){var n=D2().keyFromPrivate((0,Ii.arrayify)(this.privateKey)),a=D2().keyFromPublic((0,Ii.arrayify)(uBe(e)));return(0,Ii.hexZeroPad)("0x"+n.derive(a.getPublic()).toString(16),32)},t.isSigningKey=function(e){return!!(e&&e._isSigningKey)},t}();q3.SigningKey=lBe;function EY0(t,e){var n=(0,Ii.splitSignature)(e),a={r:(0,Ii.arrayify)(n.r),s:(0,Ii.arrayify)(n.s)};return"0x"+D2().recoverPubKey((0,Ii.arrayify)(t),a,n.recoveryParam).encode("hex",!1)}q3.recoverPublicKey=EY0;function uBe(t,e){var n=(0,Ii.arrayify)(t);if(n.length===32){var a=new lBe(n);return e?"0x"+D2().keyFromPrivate(n).getPublic(!0,"hex"):a.publicKey}else{if(n.length===33)return e?(0,Ii.hexlify)(n):"0x"+D2().keyFromPublic(n).getPublic(!1,"hex");if(n.length===65)return e?"0x"+D2().keyFromPublic(n).getPublic(!0,"hex"):(0,Ii.hexlify)(n)}return Rre.throwArgumentError("invalid public or private key","key","[REDACTED]")}q3.computePublicKey=uBe});var pBe=D(QU=>{"use strict";u();p();Object.defineProperty(QU,"__esModule",{value:!0});QU.version=void 0;QU.version="transactions/5.7.0"});var P2=D(ui=>{"use strict";u();p();var _Y0=ui&&ui.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),AY0=ui&&ui.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),CY0=ui&&ui.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&_Y0(e,t,n);return AY0(e,t),e};Object.defineProperty(ui,"__esModule",{value:!0});ui.parse=ui.serialize=ui.accessListify=ui.recoverAddress=ui.computeAddress=ui.TransactionTypes=void 0;var Sk=Bo(),u7=ia(),oa=Vt(),IY0=w3(),dT=O1(),kY0=Ba(),j3=CY0(pI()),hBe=kk(),Bre=Ft(),SY0=pBe(),qo=new Bre.Logger(SY0.version),RY0;(function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"})(RY0=ui.TransactionTypes||(ui.TransactionTypes={}));function Dre(t){return t==="0x"?null:(0,Sk.getAddress)(t)}function Wo(t){return t==="0x"?IY0.Zero:u7.BigNumber.from(t)}var MY0=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],BY0={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function bBe(t){var e=(0,hBe.computePublicKey)(t);return(0,Sk.getAddress)((0,oa.hexDataSlice)((0,dT.keccak256)((0,oa.hexDataSlice)(e,1)),12))}ui.computeAddress=bBe;function Pre(t,e){return bBe((0,hBe.recoverPublicKey)((0,oa.arrayify)(t),e))}ui.recoverAddress=Pre;function x6(t,e){var n=(0,oa.stripZeros)(u7.BigNumber.from(t).toHexString());return n.length>32&&qo.throwArgumentError("invalid length for "+e,"transaction:"+e,t),n}function Mre(t,e){return{address:(0,Sk.getAddress)(t),storageKeys:(e||[]).map(function(n,a){return(0,oa.hexDataLength)(n)!==32&&qo.throwArgumentError("invalid access list storageKey","accessList["+t+":"+a+"]",n),n.toLowerCase()})}}function VU(t){if(Array.isArray(t))return t.map(function(n,a){return Array.isArray(n)?(n.length>2&&qo.throwArgumentError("access list expected to be [ address, storageKeys[] ]","value["+a+"]",n),Mre(n[0],n[1])):Mre(n.address,n.storageKeys)});var e=Object.keys(t).map(function(n){var a=t[n].reduce(function(r,f){return r[f]=!0,r},{});return Mre(n,Object.keys(a).sort())});return e.sort(function(n,a){return n.address.localeCompare(a.address)}),e}ui.accessListify=VU;function mBe(t){return VU(t).map(function(e){return[e.address,e.storageKeys]})}function yBe(t,e){if(t.gasPrice!=null){var n=u7.BigNumber.from(t.gasPrice),a=u7.BigNumber.from(t.maxFeePerGas||0);n.eq(a)||qo.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:n,maxFeePerGas:a})}var r=[x6(t.chainId||0,"chainId"),x6(t.nonce||0,"nonce"),x6(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),x6(t.maxFeePerGas||0,"maxFeePerGas"),x6(t.gasLimit||0,"gasLimit"),t.to!=null?(0,Sk.getAddress)(t.to):"0x",x6(t.value||0,"value"),t.data||"0x",mBe(t.accessList||[])];if(e){var f=(0,oa.splitSignature)(e);r.push(x6(f.recoveryParam,"recoveryParam")),r.push((0,oa.stripZeros)(f.r)),r.push((0,oa.stripZeros)(f.s))}return(0,oa.hexConcat)(["0x02",j3.encode(r)])}function gBe(t,e){var n=[x6(t.chainId||0,"chainId"),x6(t.nonce||0,"nonce"),x6(t.gasPrice||0,"gasPrice"),x6(t.gasLimit||0,"gasLimit"),t.to!=null?(0,Sk.getAddress)(t.to):"0x",x6(t.value||0,"value"),t.data||"0x",mBe(t.accessList||[])];if(e){var a=(0,oa.splitSignature)(e);n.push(x6(a.recoveryParam,"recoveryParam")),n.push((0,oa.stripZeros)(a.r)),n.push((0,oa.stripZeros)(a.s))}return(0,oa.hexConcat)(["0x01",j3.encode(n)])}function DY0(t,e){(0,kY0.checkProperties)(t,BY0);var n=[];MY0.forEach(function(i){var s=t[i.name]||[],o={};i.numeric&&(o.hexPad="left"),s=(0,oa.arrayify)((0,oa.hexlify)(s,o)),i.length&&s.length!==i.length&&s.length>0&&qo.throwArgumentError("invalid length for "+i.name,"transaction:"+i.name,s),i.maxLength&&(s=(0,oa.stripZeros)(s),s.length>i.maxLength&&qo.throwArgumentError("invalid length for "+i.name,"transaction:"+i.name,s)),n.push((0,oa.hexlify)(s))});var a=0;if(t.chainId!=null?(a=t.chainId,typeof a!="number"&&qo.throwArgumentError("invalid transaction.chainId","transaction",t)):e&&!(0,oa.isBytesLike)(e)&&e.v>28&&(a=Math.floor((e.v-35)/2)),a!==0&&(n.push((0,oa.hexlify)(a)),n.push("0x"),n.push("0x")),!e)return j3.encode(n);var r=(0,oa.splitSignature)(e),f=27+r.recoveryParam;return a!==0?(n.pop(),n.pop(),n.pop(),f+=a*2+8,r.v>28&&r.v!==f&&qo.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e)):r.v!==f&&qo.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e),n.push((0,oa.hexlify)(f)),n.push((0,oa.stripZeros)((0,oa.arrayify)(r.r))),n.push((0,oa.stripZeros)((0,oa.arrayify)(r.s))),j3.encode(n)}function PY0(t,e){if(t.type==null||t.type===0)return t.accessList!=null&&qo.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",t),DY0(t,e);switch(t.type){case 1:return gBe(t,e);case 2:return yBe(t,e);default:break}return qo.throwError("unsupported transaction type: "+t.type,Bre.Logger.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:t.type})}ui.serialize=PY0;function vBe(t,e,n){try{var a=Wo(e[0]).toNumber();if(a!==0&&a!==1)throw new Error("bad recid");t.v=a}catch{qo.throwArgumentError("invalid v for transaction type: 1","v",e[0])}t.r=(0,oa.hexZeroPad)(e[1],32),t.s=(0,oa.hexZeroPad)(e[2],32);try{var r=(0,dT.keccak256)(n(t));t.from=Pre(r,{r:t.r,s:t.s,recoveryParam:t.v})}catch{}}function LY0(t){var e=j3.decode(t.slice(1));e.length!==9&&e.length!==12&&qo.throwArgumentError("invalid component count for transaction type: 2","payload",(0,oa.hexlify)(t));var n=Wo(e[2]),a=Wo(e[3]),r={type:2,chainId:Wo(e[0]).toNumber(),nonce:Wo(e[1]).toNumber(),maxPriorityFeePerGas:n,maxFeePerGas:a,gasPrice:null,gasLimit:Wo(e[4]),to:Dre(e[5]),value:Wo(e[6]),data:e[7],accessList:VU(e[8])};return e.length===9||(r.hash=(0,dT.keccak256)(t),vBe(r,e.slice(9),yBe)),r}function FY0(t){var e=j3.decode(t.slice(1));e.length!==8&&e.length!==11&&qo.throwArgumentError("invalid component count for transaction type: 1","payload",(0,oa.hexlify)(t));var n={type:1,chainId:Wo(e[0]).toNumber(),nonce:Wo(e[1]).toNumber(),gasPrice:Wo(e[2]),gasLimit:Wo(e[3]),to:Dre(e[4]),value:Wo(e[5]),data:e[6],accessList:VU(e[7])};return e.length===8||(n.hash=(0,dT.keccak256)(t),vBe(n,e.slice(8),gBe)),n}function NY0(t){var e=j3.decode(t);e.length!==9&&e.length!==6&&qo.throwArgumentError("invalid raw transaction","rawTransaction",t);var n={nonce:Wo(e[0]).toNumber(),gasPrice:Wo(e[1]),gasLimit:Wo(e[2]),to:Dre(e[3]),value:Wo(e[4]),data:e[5],chainId:0};if(e.length===6)return n;try{n.v=u7.BigNumber.from(e[6]).toNumber()}catch{return n}if(n.r=(0,oa.hexZeroPad)(e[7],32),n.s=(0,oa.hexZeroPad)(e[8],32),u7.BigNumber.from(n.r).isZero()&&u7.BigNumber.from(n.s).isZero())n.chainId=n.v,n.v=0;else{n.chainId=Math.floor((n.v-35)/2),n.chainId<0&&(n.chainId=0);var a=n.v-27,r=e.slice(0,6);n.chainId!==0&&(r.push((0,oa.hexlify)(n.chainId)),r.push("0x"),r.push("0x"),a-=n.chainId*2+8);var f=(0,dT.keccak256)(j3.encode(r));try{n.from=Pre(f,{r:(0,oa.hexlify)(n.r),s:(0,oa.hexlify)(n.s),recoveryParam:a})}catch{}n.hash=(0,dT.keccak256)(t)}return n.type=null,n}function OY0(t){var e=(0,oa.arrayify)(t);if(e[0]>127)return NY0(e);switch(e[0]){case 1:return FY0(e);case 2:return LY0(e);default:break}return qo.throwError("unsupported transaction type: "+e[0],Bre.Logger.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:e[0]})}ui.parse=OY0});var wBe=D(YU=>{"use strict";u();p();Object.defineProperty(YU,"__esModule",{value:!0});YU.version=void 0;YU.version="contracts/5.7.0"});var kBe=D(jo=>{"use strict";u();p();var XU=jo&&jo.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),K3=jo&&jo.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},Q3=jo&&jo.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]1)){c=c.substring(1);var l=d[0];try{f[c]==null&&(0,mt.defineReadOnly)(f,c,f[l])}catch{}f.functions[c]==null&&(0,mt.defineReadOnly)(f.functions,c,f.functions[l]),f.callStatic[c]==null&&(0,mt.defineReadOnly)(f.callStatic,c,f.callStatic[l]),f.populateTransaction[c]==null&&(0,mt.defineReadOnly)(f.populateTransaction,c,f.populateTransaction[l]),f.estimateGas[c]==null&&(0,mt.defineReadOnly)(f.estimateGas,c,f.estimateGas[l])}})}return t.getContractAddress=function(e){return(0,Mk.getContractAddress)(e)},t.getInterface=function(e){return $U.Interface.isInterface(e)?e:new $U.Interface(e)},t.prototype.deployed=function(){return this._deployed()},t.prototype._deployed=function(e){var n=this;return this._deployedPromise||(this.deployTransaction?this._deployedPromise=this.deployTransaction.wait().then(function(){return n}):this._deployedPromise=this.provider.getCode(this.address,e).then(function(a){return a==="0x"&&yr.throwError("contract not deployed",to.Logger.errors.UNSUPPORTED_OPERATION,{contractAddress:n.address,operation:"getDeployed"}),n})),this._deployedPromise},t.prototype.fallback=function(e){var n=this;this.signer||yr.throwError("sending a transactions require a signer",to.Logger.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});var a=(0,mt.shallowCopy)(e||{});return["from","to"].forEach(function(r){a[r]!=null&&yr.throwError("cannot override "+r,to.Logger.errors.UNSUPPORTED_OPERATION,{operation:r})}),a.to=this.resolvedAddress,this.deployed().then(function(){return n.signer.sendTransaction(a)})},t.prototype.connect=function(e){typeof e=="string"&&(e=new Lre.VoidSigner(e,this.provider));var n=new this.constructor(this.address,this.interface,e);return this.deployTransaction&&(0,mt.defineReadOnly)(n,"deployTransaction",this.deployTransaction),n},t.prototype.attach=function(e){return new this.constructor(e,this.interface,this.signer||this.provider)},t.isIndexed=function(e){return $U.Indexed.isIndexed(e)},t.prototype._normalizeRunningEvent=function(e){return this._runningEvents[e.tag]?this._runningEvents[e.tag]:e},t.prototype._getRunningEvent=function(e){if(typeof e=="string"){if(e==="error")return this._normalizeRunningEvent(new QY0);if(e==="event")return this._normalizeRunningEvent(new Bk("event",null));if(e==="*")return this._normalizeRunningEvent(new EBe(this.address,this.interface));var n=this.interface.getEvent(e);return this._normalizeRunningEvent(new xBe(this.address,this.interface,n))}if(e.topics&&e.topics.length>0){try{var a=e.topics[0];if(typeof a!="string")throw new Error("invalid topic");var n=this.interface.getEvent(a);return this._normalizeRunningEvent(new xBe(this.address,this.interface,n,e.topics))}catch{}var r={address:this.address,topics:e.topics};return this._normalizeRunningEvent(new Bk(CBe(r),r))}return this._normalizeRunningEvent(new EBe(this.address,this.interface))},t.prototype._checkRunningEvents=function(e){if(e.listenerCount()===0){delete this._runningEvents[e.tag];var n=this._wrappedEmits[e.tag];n&&e.filter&&(this.provider.off(e.filter,n),delete this._wrappedEmits[e.tag])}},t.prototype._wrapEvent=function(e,n,a){var r=this,f=(0,mt.deepCopy)(n);return f.removeListener=function(){a&&(e.removeListener(a),r._checkRunningEvents(e))},f.getBlock=function(){return r.provider.getBlock(n.blockHash)},f.getTransaction=function(){return r.provider.getTransaction(n.transactionHash)},f.getTransactionReceipt=function(){return r.provider.getTransactionReceipt(n.transactionHash)},e.prepareEvent(f),f},t.prototype._addEventListener=function(e,n,a){var r=this;if(this.provider||yr.throwError("events require a provider or a signer with a provider",to.Logger.errors.UNSUPPORTED_OPERATION,{operation:"once"}),e.addListener(n,a),this._runningEvents[e.tag]=e,!this._wrappedEmits[e.tag]){var f=function(i){var s=r._wrapEvent(e,i,n);if(s.decodeError==null)try{var o=e.getEmit(s);r.emit.apply(r,UY0([e.filter],o,!1))}catch(c){s.decodeError=c.error}e.filter!=null&&r.emit("event",s),s.decodeError!=null&&r.emit("error",s.decodeError,s)};this._wrappedEmits[e.tag]=f,e.filter!=null&&this.provider.on(e.filter,f)}},t.prototype.queryFilter=function(e,n,a){var r=this,f=this._getRunningEvent(e),i=(0,mt.shallowCopy)(f.filter);return typeof n=="string"&&(0,p7.isHexString)(n,32)?(a!=null&&yr.throwArgumentError("cannot specify toBlock with blockhash","toBlock",a),i.blockHash=n):(i.fromBlock=n??0,i.toBlock=a??"latest"),this.provider.getLogs(i).then(function(s){return s.map(function(o){return r._wrapEvent(f,o,null)})})},t.prototype.on=function(e,n){return this._addEventListener(this._getRunningEvent(e),n,!1),this},t.prototype.once=function(e,n){return this._addEventListener(this._getRunningEvent(e),n,!0),this},t.prototype.emit=function(e){for(var n=[],a=1;a0;return this._checkRunningEvents(r),f},t.prototype.listenerCount=function(e){var n=this;return this.provider?e==null?Object.keys(this._runningEvents).reduce(function(a,r){return a+n._runningEvents[r].listenerCount()},0):this._getRunningEvent(e).listenerCount():0},t.prototype.listeners=function(e){if(!this.provider)return[];if(e==null){var n=[];for(var a in this._runningEvents)this._runningEvents[a].listeners().forEach(function(r){n.push(r)});return n}return this._getRunningEvent(e).listeners()},t.prototype.removeAllListeners=function(e){if(!this.provider)return this;if(e==null){for(var n in this._runningEvents){var a=this._runningEvents[n];a.removeAllListeners(),this._checkRunningEvents(a)}return this}var r=this._getRunningEvent(e);return r.removeAllListeners(),this._checkRunningEvents(r),this},t.prototype.off=function(e,n){if(!this.provider)return this;var a=this._getRunningEvent(e);return a.removeListener(n),this._checkRunningEvents(a),this},t.prototype.removeListener=function(e,n){return this.off(e,n)},t}();jo.BaseContract=IBe;var Fre=function(t){XU(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(IBe);jo.Contract=Fre;var VY0=function(){function t(e,n,a){var r=this.constructor,f=null;typeof n=="string"?f=n:(0,p7.isBytes)(n)?f=(0,p7.hexlify)(n):n&&typeof n.object=="string"?f=n.object:f="!",f.substring(0,2)!=="0x"&&(f="0x"+f),(!(0,p7.isHexString)(f)||f.length%2)&&yr.throwArgumentError("invalid bytecode","bytecode",n),a&&!Lre.Signer.isSigner(a)&&yr.throwArgumentError("invalid signer","signer",a),(0,mt.defineReadOnly)(this,"bytecode",f),(0,mt.defineReadOnly)(this,"interface",(0,mt.getStatic)(r,"getInterface")(e)),(0,mt.defineReadOnly)(this,"signer",a||null)}return t.prototype.getDeployTransaction=function(){for(var e=[],n=0;n{"use strict";u();p();Object.defineProperty(V3,"__esModule",{value:!0});V3.Base58=V3.Base32=V3.BaseX=void 0;var SBe=Vt(),eH=Ba(),Nre=function(){function t(e){(0,eH.defineReadOnly)(this,"alphabet",e),(0,eH.defineReadOnly)(this,"base",e.length),(0,eH.defineReadOnly)(this,"_alphabetMap",{}),(0,eH.defineReadOnly)(this,"_leader",e.charAt(0));for(var n=0;n0;)a.push(f%this.base),f=f/this.base|0}for(var s="",o=0;n[o]===0&&o=0;--c)s+=this.alphabet[a[c]];return s},t.prototype.decode=function(e){if(typeof e!="string")throw new TypeError("Expected String");var n=[];if(e.length===0)return new Uint8Array(n);n.push(0);for(var a=0;a>=8;for(;f>0;)n.push(f&255),f>>=8}for(var s=0;e[s]===this._leader&&s{"use strict";u();p();Object.defineProperty(Dk,"__esModule",{value:!0});Dk.SupportedAlgorithm=void 0;var JY0;(function(t){t.sha256="sha256",t.sha512="sha512"})(JY0=Dk.SupportedAlgorithm||(Dk.SupportedAlgorithm={}))});var RBe=D(nH=>{"use strict";u();p();Object.defineProperty(nH,"__esModule",{value:!0});nH.version=void 0;nH.version="sha2/5.7.0"});var BBe=D(O5=>{"use strict";u();p();var XY0=O5&&O5.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(O5,"__esModule",{value:!0});O5.computeHmac=O5.sha512=O5.sha256=O5.ripemd160=void 0;var Pk=XY0(Xy()),Lk=Vt(),ZY0=Ore(),MBe=Ft(),e$0=RBe(),t$0=new MBe.Logger(e$0.version);function n$0(t){return"0x"+Pk.default.ripemd160().update((0,Lk.arrayify)(t)).digest("hex")}O5.ripemd160=n$0;function a$0(t){return"0x"+Pk.default.sha256().update((0,Lk.arrayify)(t)).digest("hex")}O5.sha256=a$0;function r$0(t){return"0x"+Pk.default.sha512().update((0,Lk.arrayify)(t)).digest("hex")}O5.sha512=r$0;function f$0(t,e,n){return ZY0.SupportedAlgorithm[t]||t$0.throwError("unsupported algorithm "+t,MBe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"hmac",algorithm:t}),"0x"+Pk.default.hmac(Pk.default[t],(0,Lk.arrayify)(e)).update((0,Lk.arrayify)(n)).digest("hex")}O5.computeHmac=f$0});var h7=D(U5=>{"use strict";u();p();Object.defineProperty(U5,"__esModule",{value:!0});U5.SupportedAlgorithm=U5.sha512=U5.sha256=U5.ripemd160=U5.computeHmac=void 0;var aH=BBe();Object.defineProperty(U5,"computeHmac",{enumerable:!0,get:function(){return aH.computeHmac}});Object.defineProperty(U5,"ripemd160",{enumerable:!0,get:function(){return aH.ripemd160}});Object.defineProperty(U5,"sha256",{enumerable:!0,get:function(){return aH.sha256}});Object.defineProperty(U5,"sha512",{enumerable:!0,get:function(){return aH.sha512}});var i$0=Ore();Object.defineProperty(U5,"SupportedAlgorithm",{enumerable:!0,get:function(){return i$0.SupportedAlgorithm}})});var PBe=D(rH=>{"use strict";u();p();Object.defineProperty(rH,"__esModule",{value:!0});rH.pbkdf2=void 0;var lT=Vt(),DBe=h7();function s$0(t,e,n,a,r){t=(0,lT.arrayify)(t),e=(0,lT.arrayify)(e);var f,i=1,s=new Uint8Array(a),o=new Uint8Array(e.length+4);o.set(e);for(var c,d,l=1;l<=i;l++){o[e.length]=l>>24&255,o[e.length+1]=l>>16&255,o[e.length+2]=l>>8&255,o[e.length+3]=l&255;var h=(0,lT.arrayify)((0,DBe.computeHmac)(r,t,o));f||(f=h.length,d=new Uint8Array(f),i=Math.ceil(a/f),c=a-(i-1)*f),d.set(h);for(var y=1;y{"use strict";u();p();Object.defineProperty(fH,"__esModule",{value:!0});fH.pbkdf2=void 0;var o$0=PBe();Object.defineProperty(fH,"pbkdf2",{enumerable:!0,get:function(){return o$0.pbkdf2}})});var LBe=D(sH=>{"use strict";u();p();Object.defineProperty(sH,"__esModule",{value:!0});sH.version=void 0;sH.version="wordlists/5.7.0"});var L2=D(b7=>{"use strict";u();p();Object.defineProperty(b7,"__esModule",{value:!0});b7.Wordlist=b7.logger=void 0;var c$0=!1,d$0=x3(),FBe=Ba(),l$0=Ft(),u$0=LBe();b7.logger=new l$0.Logger(u$0.version);var p$0=function(){function t(e){var n=this.constructor;b7.logger.checkAbstract(n,t),(0,FBe.defineReadOnly)(this,"locale",e)}return t.prototype.split=function(e){return e.toLowerCase().split(/ +/g)},t.prototype.join=function(e){return e.join(" ")},t.check=function(e){for(var n=[],a=0;a<2048;a++){var r=e.getWord(a);if(a!==e.getWordIndex(r))return"0x";n.push(r)}return(0,d$0.id)(n.join(` `)+` -`)},t.register=function(e,n){if(n||(n=e.locale),c$0)try{var a=window;a._ethers&&a._ethers.wordlists&&(a._ethers.wordlists[n]||(0,FBe.defineReadOnly)(a._ethers.wordlists,n,e))}catch{}},t}();h7.Wordlist=p$0});var UBe=D(uT=>{"use strict";u();p();var h$0=uT&&uT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(uT,"__esModule",{value:!0});uT.langCz=void 0;var Ure=L2(),b$0="AbdikaceAbecedaAdresaAgreseAkceAktovkaAlejAlkoholAmputaceAnanasAndulkaAnekdotaAnketaAntikaAnulovatArchaAroganceAsfaltAsistentAspiraceAstmaAstronomAtlasAtletikaAtolAutobusAzylBabkaBachorBacilBaculkaBadatelBagetaBagrBahnoBakterieBaladaBaletkaBalkonBalonekBalvanBalzaBambusBankomatBarbarBaretBarmanBarokoBarvaBaterkaBatohBavlnaBazalkaBazilikaBazukaBednaBeranBesedaBestieBetonBezinkaBezmocBeztakBicyklBidloBiftekBikinyBilanceBiografBiologBitvaBizonBlahobytBlatouchBlechaBleduleBleskBlikatBliznaBlokovatBlouditBludBobekBobrBodlinaBodnoutBohatostBojkotBojovatBokorysBolestBorecBoroviceBotaBoubelBouchatBoudaBouleBouratBoxerBradavkaBramboraBrankaBratrBreptaBriketaBrkoBrlohBronzBroskevBrunetkaBrusinkaBrzdaBrzyBublinaBubnovatBuchtaBuditelBudkaBudovaBufetBujarostBukviceBuldokBulvaBundaBunkrBurzaButikBuvolBuzolaBydletBylinaBytovkaBzukotCapartCarevnaCedrCeduleCejchCejnCelaCelerCelkemCelniceCeninaCennostCenovkaCentrumCenzorCestopisCetkaChalupaChapadloCharitaChataChechtatChemieChichotChirurgChladChlebaChlubitChmelChmuraChobotChocholChodbaCholeraChomoutChopitChorobaChovChrapotChrlitChrtChrupChtivostChudinaChutnatChvatChvilkaChvostChybaChystatChytitCibuleCigaretaCihelnaCihlaCinkotCirkusCisternaCitaceCitrusCizinecCizostClonaCokolivCouvatCtitelCtnostCudnostCuketaCukrCupotCvaknoutCvalCvikCvrkotCyklistaDalekoDarebaDatelDatumDceraDebataDechovkaDecibelDeficitDeflaceDeklDekretDemokratDepreseDerbyDeskaDetektivDikobrazDiktovatDiodaDiplomDiskDisplejDivadloDivochDlahaDlouhoDluhopisDnesDobroDobytekDocentDochutitDodnesDohledDohodaDohraDojemDojniceDokladDokolaDoktorDokumentDolarDolevaDolinaDomaDominantDomluvitDomovDonutitDopadDopisDoplnitDoposudDoprovodDopustitDorazitDorostDortDosahDoslovDostatekDosudDosytaDotazDotekDotknoutDoufatDoutnatDovozceDozaduDoznatDozorceDrahotaDrakDramatikDravecDrazeDrdolDrobnostDrogerieDrozdDrsnostDrtitDrzostDubenDuchovnoDudekDuhaDuhovkaDusitDusnoDutostDvojiceDvorecDynamitEkologEkonomieElektronElipsaEmailEmiseEmoceEmpatieEpizodaEpochaEpopejEposEsejEsenceEskortaEskymoEtiketaEuforieEvoluceExekuceExkurzeExpediceExplozeExportExtraktFackaFajfkaFakultaFanatikFantazieFarmacieFavoritFazoleFederaceFejetonFenkaFialkaFigurantFilozofFiltrFinanceFintaFixaceFjordFlanelFlirtFlotilaFondFosforFotbalFotkaFotonFrakceFreskaFrontaFukarFunkceFyzikaGalejeGarantGenetikaGeologGilotinaGlazuraGlejtGolemGolfistaGotikaGrafGramofonGranuleGrepGrilGrogGroteskaGumaHadiceHadrHalaHalenkaHanbaHanopisHarfaHarpunaHavranHebkostHejkalHejnoHejtmanHektarHelmaHematomHerecHernaHesloHezkyHistorikHladovkaHlasivkyHlavaHledatHlenHlodavecHlohHloupostHltatHlubinaHluchotaHmatHmotaHmyzHnisHnojivoHnoutHoblinaHobojHochHodinyHodlatHodnotaHodovatHojnostHokejHolinkaHolkaHolubHomoleHonitbaHonoraceHoralHordaHorizontHorkoHorlivecHormonHorninaHoroskopHorstvoHospodaHostinaHotovostHoubaHoufHoupatHouskaHovorHradbaHraniceHravostHrazdaHrbolekHrdinaHrdloHrdostHrnekHrobkaHromadaHrotHroudaHrozenHrstkaHrubostHryzatHubenostHubnoutHudbaHukotHumrHusitaHustotaHvozdHybnostHydrantHygienaHymnaHysterikIdylkaIhnedIkonaIluzeImunitaInfekceInflaceInkasoInovaceInspekceInternetInvalidaInvestorInzerceIronieJablkoJachtaJahodaJakmileJakostJalovecJantarJarmarkJaroJasanJasnoJatkaJavorJazykJedinecJedleJednatelJehlanJekotJelenJelitoJemnostJenomJepiceJeseterJevitJezdecJezeroJinakJindyJinochJiskraJistotaJitrniceJizvaJmenovatJogurtJurtaKabaretKabelKabinetKachnaKadetKadidloKahanKajakKajutaKakaoKaktusKalamitaKalhotyKalibrKalnostKameraKamkolivKamnaKanibalKanoeKantorKapalinaKapelaKapitolaKapkaKapleKapotaKaprKapustaKapybaraKaramelKarotkaKartonKasaKatalogKatedraKauceKauzaKavalecKazajkaKazetaKazivostKdekolivKdesiKedlubenKempKeramikaKinoKlacekKladivoKlamKlapotKlasikaKlaunKlecKlenbaKlepatKlesnoutKlidKlimaKlisnaKloboukKlokanKlopaKloubKlubovnaKlusatKluzkostKmenKmitatKmotrKnihaKnotKoaliceKoberecKobkaKoblihaKobylaKocourKohoutKojenecKokosKoktejlKolapsKoledaKolizeKoloKomandoKometaKomikKomnataKomoraKompasKomunitaKonatKonceptKondiceKonecKonfeseKongresKoninaKonkursKontaktKonzervaKopanecKopieKopnoutKoprovkaKorbelKorektorKormidloKoroptevKorpusKorunaKorytoKorzetKosatecKostkaKotelKotletaKotoulKoukatKoupelnaKousekKouzloKovbojKozaKozorohKrabiceKrachKrajinaKralovatKrasopisKravataKreditKrejcarKresbaKrevetaKriketKritikKrizeKrkavecKrmelecKrmivoKrocanKrokKronikaKropitKroupaKrovkaKrtekKruhadloKrupiceKrutostKrvinkaKrychleKryptaKrystalKrytKudlankaKufrKujnostKuklaKulajdaKulichKulkaKulometKulturaKunaKupodivuKurtKurzorKutilKvalitaKvasinkaKvestorKynologKyselinaKytaraKyticeKytkaKytovecKyvadloLabradorLachtanLadnostLaikLakomecLamelaLampaLanovkaLasiceLasoLasturaLatinkaLavinaLebkaLeckdyLedenLedniceLedovkaLedvinaLegendaLegieLegraceLehceLehkostLehnoutLektvarLenochodLentilkaLepenkaLepidloLetadloLetecLetmoLetokruhLevhartLevitaceLevobokLibraLichotkaLidojedLidskostLihovinaLijavecLilekLimetkaLinieLinkaLinoleumListopadLitinaLitovatLobistaLodivodLogikaLogopedLokalitaLoketLomcovatLopataLopuchLordLososLotrLoudalLouhLoukaLouskatLovecLstivostLucernaLuciferLumpLuskLustraceLviceLyraLyrikaLysinaMadamMadloMagistrMahagonMajetekMajitelMajoritaMakakMakoviceMakrelaMalbaMalinaMalovatMalviceMaminkaMandleMankoMarnostMasakrMaskotMasopustMaticeMatrikaMaturitaMazanecMazivoMazlitMazurkaMdlobaMechanikMeditaceMedovinaMelasaMelounMentolkaMetlaMetodaMetrMezeraMigraceMihnoutMihuleMikinaMikrofonMilenecMilimetrMilostMimikaMincovnaMinibarMinometMinulostMiskaMistrMixovatMladostMlhaMlhovinaMlokMlsatMluvitMnichMnohemMobilMocnostModelkaModlitbaMohylaMokroMolekulaMomentkaMonarchaMonoklMonstrumMontovatMonzunMosazMoskytMostMotivaceMotorkaMotykaMouchaMoudrostMozaikaMozekMozolMramorMravenecMrkevMrtvolaMrzetMrzutostMstitelMudrcMuflonMulatMumieMuniceMusetMutaceMuzeumMuzikantMyslivecMzdaNabouratNachytatNadaceNadbytekNadhozNadobroNadpisNahlasNahnatNahodileNahraditNaivitaNajednouNajistoNajmoutNaklonitNakonecNakrmitNalevoNamazatNamluvitNanometrNaokoNaopakNaostroNapadatNapevnoNaplnitNapnoutNaposledNaprostoNaroditNarubyNarychloNasaditNasekatNaslepoNastatNatolikNavenekNavrchNavzdoryNazvatNebeNechatNeckyNedalekoNedbatNeduhNegaceNehetNehodaNejenNejprveNeklidNelibostNemilostNemocNeochotaNeonkaNepokojNerostNervNesmyslNesouladNetvorNeuronNevinaNezvykleNicotaNijakNikamNikdyNiklNikterakNitroNoclehNohaviceNominaceNoraNorekNositelNosnostNouzeNovinyNovotaNozdraNudaNudleNugetNutitNutnostNutrieNymfaObalObarvitObavaObdivObecObehnatObejmoutObezitaObhajobaObilniceObjasnitObjektObklopitOblastOblekOblibaOblohaObludaObnosObohatitObojekOboutObrazecObrnaObrubaObrysObsahObsluhaObstaratObuvObvazObvinitObvodObvykleObyvatelObzorOcasOcelOcenitOchladitOchotaOchranaOcitnoutOdbojOdbytOdchodOdcizitOdebratOdeslatOdevzdatOdezvaOdhadceOdhoditOdjetOdjinudOdkazOdkoupitOdlivOdlukaOdmlkaOdolnostOdpadOdpisOdploutOdporOdpustitOdpykatOdrazkaOdsouditOdstupOdsunOdtokOdtudOdvahaOdvetaOdvolatOdvracetOdznakOfinaOfsajdOhlasOhniskoOhradaOhrozitOhryzekOkapOkeniceOklikaOknoOkouzlitOkovyOkrasaOkresOkrsekOkruhOkupantOkurkaOkusitOlejninaOlizovatOmakOmeletaOmezitOmladinaOmlouvatOmluvaOmylOnehdyOpakovatOpasekOperaceOpiceOpilostOpisovatOporaOpoziceOpravduOprotiOrbitalOrchestrOrgieOrliceOrlojOrtelOsadaOschnoutOsikaOsivoOslavaOslepitOslnitOslovitOsnovaOsobaOsolitOspalecOstenOstrahaOstudaOstychOsvojitOteplitOtiskOtopOtrhatOtrlostOtrokOtrubyOtvorOvanoutOvarOvesOvlivnitOvoceOxidOzdobaPachatelPacientPadouchPahorekPaktPalandaPalecPalivoPalubaPamfletPamlsekPanenkaPanikaPannaPanovatPanstvoPantoflePaprikaParketaParodiePartaParukaParybaPasekaPasivitaPastelkaPatentPatronaPavoukPaznehtPazourekPeckaPedagogPejsekPekloPelotonPenaltaPendrekPenzePeriskopPeroPestrostPetardaPeticePetrolejPevninaPexesoPianistaPihaPijavicePiklePiknikPilinaPilnostPilulkaPinzetaPipetaPisatelPistolePitevnaPivnicePivovarPlacentaPlakatPlamenPlanetaPlastikaPlatitPlavidloPlazPlechPlemenoPlentaPlesPletivoPlevelPlivatPlnitPlnoPlochaPlodinaPlombaPloutPlukPlynPobavitPobytPochodPocitPoctivecPodatPodcenitPodepsatPodhledPodivitPodkladPodmanitPodnikPodobaPodporaPodrazPodstataPodvodPodzimPoeziePohankaPohnutkaPohovorPohromaPohybPointaPojistkaPojmoutPokazitPoklesPokojPokrokPokutaPokynPolednePolibekPolknoutPolohaPolynomPomaluPominoutPomlkaPomocPomstaPomysletPonechatPonorkaPonurostPopadatPopelPopisekPoplachPoprositPopsatPopudPoradcePorcePorodPoruchaPoryvPosaditPosedPosilaPoskokPoslanecPosouditPospoluPostavaPosudekPosypPotahPotkanPotleskPotomekPotravaPotupaPotvoraPoukazPoutoPouzdroPovahaPovidlaPovlakPovozPovrchPovstatPovykPovzdechPozdravPozemekPoznatekPozorPozvatPracovatPrahoryPraktikaPralesPraotecPraporekPrasePravdaPrincipPrknoProbuditProcentoProdejProfeseProhraProjektProlomitPromilePronikatPropadProrokProsbaProtonProutekProvazPrskavkaPrstenPrudkostPrutPrvekPrvohoryPsanecPsovodPstruhPtactvoPubertaPuchPudlPukavecPuklinaPukrlePultPumpaPuncPupenPusaPusinkaPustinaPutovatPutykaPyramidaPyskPytelRacekRachotRadiaceRadniceRadonRaftRagbyRaketaRakovinaRamenoRampouchRandeRarachRaritaRasovnaRastrRatolestRazanceRazidloReagovatReakceReceptRedaktorReferentReflexRejnokReklamaRekordRekrutRektorReputaceRevizeRevmaRevolverRezervaRiskovatRizikoRobotikaRodokmenRohovkaRokleRokokoRomanetoRopovodRopuchaRorejsRosolRostlinaRotmistrRotopedRotundaRoubenkaRouchoRoupRouraRovinaRovniceRozborRozchodRozdatRozeznatRozhodceRozinkaRozjezdRozkazRozlohaRozmarRozpadRozruchRozsahRoztokRozumRozvodRubrikaRuchadloRukaviceRukopisRybaRybolovRychlostRydloRypadloRytinaRyzostSadistaSahatSakoSamecSamizdatSamotaSanitkaSardinkaSasankaSatelitSazbaSazeniceSborSchovatSebrankaSeceseSedadloSedimentSedloSehnatSejmoutSekeraSektaSekundaSekvojeSemenoSenoServisSesaditSeshoraSeskokSeslatSestraSesuvSesypatSetbaSetinaSetkatSetnoutSetrvatSeverSeznamShodaShrnoutSifonSilniceSirkaSirotekSirupSituaceSkafandrSkaliskoSkanzenSkautSkeptikSkicaSkladbaSkleniceSkloSkluzSkobaSkokanSkoroSkriptaSkrzSkupinaSkvostSkvrnaSlabikaSladidloSlaninaSlastSlavnostSledovatSlepecSlevaSlezinaSlibSlinaSlizniceSlonSloupekSlovoSluchSluhaSlunceSlupkaSlzaSmaragdSmetanaSmilstvoSmlouvaSmogSmradSmrkSmrtkaSmutekSmyslSnadSnahaSnobSobotaSochaSodovkaSokolSopkaSotvaSoubojSoucitSoudceSouhlasSouladSoumrakSoupravaSousedSoutokSouvisetSpalovnaSpasitelSpisSplavSpodekSpojenecSpoluSponzorSpornostSpoustaSprchaSpustitSrandaSrazSrdceSrnaSrnecSrovnatSrpenSrstSrubStaniceStarostaStatikaStavbaStehnoStezkaStodolaStolekStopaStornoStoupatStrachStresStrhnoutStromStrunaStudnaStupniceStvolStykSubjektSubtropySucharSudostSuknoSundatSunoutSurikataSurovinaSvahSvalstvoSvetrSvatbaSvazekSvisleSvitekSvobodaSvodidloSvorkaSvrabSykavkaSykotSynekSynovecSypatSypkostSyrovostSyselSytostTabletkaTabuleTahounTajemnoTajfunTajgaTajitTajnostTaktikaTamhleTamponTancovatTanecTankerTapetaTaveninaTazatelTechnikaTehdyTekutinaTelefonTemnotaTendenceTenistaTenorTeplotaTepnaTeprveTerapieTermoskaTextilTichoTiskopisTitulekTkadlecTkaninaTlapkaTleskatTlukotTlupaTmelToaletaTopinkaTopolTorzoTouhaToulecTradiceTraktorTrampTrasaTraverzaTrefitTrestTrezorTrhavinaTrhlinaTrochuTrojiceTroskaTroubaTrpceTrpitelTrpkostTrubecTruchlitTruhliceTrusTrvatTudyTuhnoutTuhostTundraTuristaTurnajTuzemskoTvarohTvorbaTvrdostTvrzTygrTykevUbohostUbozeUbratUbrousekUbrusUbytovnaUchoUctivostUdivitUhraditUjednatUjistitUjmoutUkazatelUklidnitUklonitUkotvitUkrojitUliceUlitaUlovitUmyvadloUnavitUniformaUniknoutUpadnoutUplatnitUplynoutUpoutatUpravitUranUrazitUsednoutUsilovatUsmrtitUsnadnitUsnoutUsouditUstlatUstrnoutUtahovatUtkatUtlumitUtonoutUtopenecUtrousitUvalitUvolnitUvozovkaUzdravitUzelUzeninaUzlinaUznatVagonValchaValounVanaVandalVanilkaVaranVarhanyVarovatVcelkuVchodVdovaVedroVegetaceVejceVelbloudVeletrhVelitelVelmocVelrybaVenkovVerandaVerzeVeselkaVeskrzeVesniceVespoduVestaVeterinaVeverkaVibraceVichrVideohraVidinaVidleVilaViniceVisetVitalitaVizeVizitkaVjezdVkladVkusVlajkaVlakVlasecVlevoVlhkostVlivVlnovkaVloupatVnucovatVnukVodaVodivostVodoznakVodstvoVojenskyVojnaVojskoVolantVolbaVolitVolnoVoskovkaVozidloVozovnaVpravoVrabecVracetVrahVrataVrbaVrcholekVrhatVrstvaVrtuleVsaditVstoupitVstupVtipVybavitVybratVychovatVydatVydraVyfotitVyhledatVyhnoutVyhoditVyhraditVyhubitVyjasnitVyjetVyjmoutVyklopitVykonatVylekatVymazatVymezitVymizetVymysletVynechatVynikatVynutitVypadatVyplatitVypravitVypustitVyrazitVyrovnatVyrvatVyslovitVysokoVystavitVysunoutVysypatVytasitVytesatVytratitVyvinoutVyvolatVyvrhelVyzdobitVyznatVzaduVzbuditVzchopitVzdorVzduchVzdychatVzestupVzhledemVzkazVzlykatVznikVzorekVzpouraVztahVztekXylofonZabratZabydletZachovatZadarmoZadusitZafoukatZahltitZahoditZahradaZahynoutZajatecZajetZajistitZaklepatZakoupitZalepitZamezitZamotatZamysletZanechatZanikatZaplatitZapojitZapsatZarazitZastavitZasunoutZatajitZatemnitZatknoutZaujmoutZavalitZaveletZavinitZavolatZavrtatZazvonitZbavitZbrusuZbudovatZbytekZdalekaZdarmaZdatnostZdivoZdobitZdrojZdvihZdymadloZeleninaZemanZeminaZeptatZezaduZezdolaZhatitZhltnoutZhlubokaZhotovitZhrubaZimaZimniceZjemnitZklamatZkoumatZkratkaZkumavkaZlatoZlehkaZlobaZlomZlostZlozvykZmapovatZmarZmatekZmijeZmizetZmocnitZmodratZmrzlinaZmutovatZnakZnalostZnamenatZnovuZobrazitZotavitZoubekZoufaleZploditZpomalitZpravaZprostitZprudkaZprvuZradaZranitZrcadloZrnitostZrnoZrovnaZrychlitZrzavostZtichaZtratitZubovinaZubrZvednoutZvenkuZveselaZvonZvratZvukovodZvyk",Fk=null;function NBe(t){if(Fk==null&&(Fk=b$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Ure.Wordlist.check(t)!=="0x25f44555f4af25b51a711136e1c7d6e50ce9f8917d39d6b1f076b2bb4d2fac1a"))throw Fk=null,new Error("BIP39 Wordlist for en (English) FAILED")}var m$0=function(t){h$0(e,t);function e(){return t.call(this,"cz")||this}return e.prototype.getWord=function(n){return NBe(this),Fk[n]},e.prototype.getWordIndex=function(n){return NBe(this),Fk.indexOf(n)},e}(Ure.Wordlist),OBe=new m$0;uT.langCz=OBe;Ure.Wordlist.register(OBe)});var WBe=D(pT=>{"use strict";u();p();var y$0=pT&&pT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(pT,"__esModule",{value:!0});pT.langEn=void 0;var Hre=L2(),g$0="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo",Nk=null;function HBe(t){if(Nk==null&&(Nk=g$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Hre.Wordlist.check(t)!=="0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"))throw Nk=null,new Error("BIP39 Wordlist for en (English) FAILED")}var v$0=function(t){y$0(e,t);function e(){return t.call(this,"en")||this}return e.prototype.getWord=function(n){return HBe(this),Nk[n]},e.prototype.getWordIndex=function(n){return HBe(this),Nk.indexOf(n)},e}(Hre.Wordlist),zBe=new v$0;pT.langEn=zBe;Hre.Wordlist.register(zBe)});var QBe=D(hT=>{"use strict";u();p();var w$0=hT&&hT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(hT,"__esModule",{value:!0});hT.langEs=void 0;var oH=_i(),cH=L2(),T$0="A/bacoAbdomenAbejaAbiertoAbogadoAbonoAbortoAbrazoAbrirAbueloAbusoAcabarAcademiaAccesoAccio/nAceiteAcelgaAcentoAceptarA/cidoAclararAcne/AcogerAcosoActivoActoActrizActuarAcudirAcuerdoAcusarAdictoAdmitirAdoptarAdornoAduanaAdultoAe/reoAfectarAficio/nAfinarAfirmarA/gilAgitarAgoni/aAgostoAgotarAgregarAgrioAguaAgudoA/guilaAgujaAhogoAhorroAireAislarAjedrezAjenoAjusteAlacra/nAlambreAlarmaAlbaA/lbumAlcaldeAldeaAlegreAlejarAlertaAletaAlfilerAlgaAlgodo/nAliadoAlientoAlivioAlmaAlmejaAlmi/barAltarAltezaAltivoAltoAlturaAlumnoAlzarAmableAmanteAmapolaAmargoAmasarA/mbarA/mbitoAmenoAmigoAmistadAmorAmparoAmplioAnchoAncianoAnclaAndarAnde/nAnemiaA/nguloAnilloA/nimoAni/sAnotarAntenaAntiguoAntojoAnualAnularAnuncioA~adirA~ejoA~oApagarAparatoApetitoApioAplicarApodoAporteApoyoAprenderAprobarApuestaApuroAradoAra~aArarA/rbitroA/rbolArbustoArchivoArcoArderArdillaArduoA/reaA/ridoAriesArmoni/aArne/sAromaArpaArpo/nArregloArrozArrugaArteArtistaAsaAsadoAsaltoAscensoAsegurarAseoAsesorAsientoAsiloAsistirAsnoAsombroA/speroAstillaAstroAstutoAsumirAsuntoAtajoAtaqueAtarAtentoAteoA/ticoAtletaA/tomoAtraerAtrozAtu/nAudazAudioAugeAulaAumentoAusenteAutorAvalAvanceAvaroAveAvellanaAvenaAvestruzAvio/nAvisoAyerAyudaAyunoAzafra/nAzarAzoteAzu/carAzufreAzulBabaBaborBacheBahi/aBaileBajarBalanzaBalco/nBaldeBambu/BancoBandaBa~oBarbaBarcoBarnizBarroBa/sculaBasto/nBasuraBatallaBateri/aBatirBatutaBau/lBazarBebe/BebidaBelloBesarBesoBestiaBichoBienBingoBlancoBloqueBlusaBoaBobinaBoboBocaBocinaBodaBodegaBoinaBolaBoleroBolsaBombaBondadBonitoBonoBonsa/iBordeBorrarBosqueBoteBoti/nBo/vedaBozalBravoBrazoBrechaBreveBrilloBrincoBrisaBrocaBromaBronceBroteBrujaBruscoBrutoBuceoBucleBuenoBueyBufandaBufo/nBu/hoBuitreBultoBurbujaBurlaBurroBuscarButacaBuzo/nCaballoCabezaCabinaCabraCacaoCada/verCadenaCaerCafe/Cai/daCaima/nCajaCajo/nCalCalamarCalcioCaldoCalidadCalleCalmaCalorCalvoCamaCambioCamelloCaminoCampoCa/ncerCandilCanelaCanguroCanicaCantoCa~aCa~o/nCaobaCaosCapazCapita/nCapoteCaptarCapuchaCaraCarbo/nCa/rcelCaretaCargaCari~oCarneCarpetaCarroCartaCasaCascoCaseroCaspaCastorCatorceCatreCaudalCausaCazoCebollaCederCedroCeldaCe/lebreCelosoCe/lulaCementoCenizaCentroCercaCerdoCerezaCeroCerrarCertezaCe/spedCetroChacalChalecoChampu/ChanclaChapaCharlaChicoChisteChivoChoqueChozaChuletaChuparCiclo/nCiegoCieloCienCiertoCifraCigarroCimaCincoCineCintaCipre/sCircoCiruelaCisneCitaCiudadClamorClanClaroClaseClaveClienteClimaCli/nicaCobreCoccio/nCochinoCocinaCocoCo/digoCodoCofreCogerCoheteCoji/nCojoColaColchaColegioColgarColinaCollarColmoColumnaCombateComerComidaCo/modoCompraCondeConejoCongaConocerConsejoContarCopaCopiaCorazo/nCorbataCorchoCordo/nCoronaCorrerCoserCosmosCostaCra/neoCra/terCrearCrecerCrei/doCremaCri/aCrimenCriptaCrisisCromoCro/nicaCroquetaCrudoCruzCuadroCuartoCuatroCuboCubrirCucharaCuelloCuentoCuerdaCuestaCuevaCuidarCulebraCulpaCultoCumbreCumplirCunaCunetaCuotaCupo/nCu/pulaCurarCuriosoCursoCurvaCutisDamaDanzaDarDardoDa/tilDeberDe/bilDe/cadaDecirDedoDefensaDefinirDejarDelfi/nDelgadoDelitoDemoraDensoDentalDeporteDerechoDerrotaDesayunoDeseoDesfileDesnudoDestinoDesvi/oDetalleDetenerDeudaDi/aDiabloDiademaDiamanteDianaDiarioDibujoDictarDienteDietaDiezDifi/cilDignoDilemaDiluirDineroDirectoDirigirDiscoDise~oDisfrazDivaDivinoDobleDoceDolorDomingoDonDonarDoradoDormirDorsoDosDosisDrago/nDrogaDuchaDudaDueloDue~oDulceDu/oDuqueDurarDurezaDuroE/banoEbrioEcharEcoEcuadorEdadEdicio/nEdificioEditorEducarEfectoEficazEjeEjemploElefanteElegirElementoElevarElipseE/liteElixirElogioEludirEmbudoEmitirEmocio/nEmpateEmpe~oEmpleoEmpresaEnanoEncargoEnchufeEnci/aEnemigoEneroEnfadoEnfermoEnga~oEnigmaEnlaceEnormeEnredoEnsayoEnse~arEnteroEntrarEnvaseEnvi/oE/pocaEquipoErizoEscalaEscenaEscolarEscribirEscudoEsenciaEsferaEsfuerzoEspadaEspejoEspi/aEsposaEspumaEsqui/EstarEsteEstiloEstufaEtapaEternoE/ticaEtniaEvadirEvaluarEventoEvitarExactoExamenExcesoExcusaExentoExigirExilioExistirE/xitoExpertoExplicarExponerExtremoFa/bricaFa/bulaFachadaFa/cilFactorFaenaFajaFaldaFalloFalsoFaltarFamaFamiliaFamosoFarao/nFarmaciaFarolFarsaFaseFatigaFaunaFavorFaxFebreroFechaFelizFeoFeriaFerozFe/rtilFervorFesti/nFiableFianzaFiarFibraFiccio/nFichaFideoFiebreFielFieraFiestaFiguraFijarFijoFilaFileteFilialFiltroFinFincaFingirFinitoFirmaFlacoFlautaFlechaFlorFlotaFluirFlujoFlu/orFobiaFocaFogataFogo/nFolioFolletoFondoFormaForroFortunaForzarFosaFotoFracasoFra/gilFranjaFraseFraudeFrei/rFrenoFresaFri/oFritoFrutaFuegoFuenteFuerzaFugaFumarFuncio/nFundaFurgo/nFuriaFusilFu/tbolFuturoGacelaGafasGaitaGajoGalaGaleri/aGalloGambaGanarGanchoGangaGansoGarajeGarzaGasolinaGastarGatoGavila/nGemeloGemirGenGe/neroGenioGenteGeranioGerenteGermenGestoGiganteGimnasioGirarGiroGlaciarGloboGloriaGolGolfoGolosoGolpeGomaGordoGorilaGorraGotaGoteoGozarGradaGra/ficoGranoGrasaGratisGraveGrietaGrilloGripeGrisGritoGrosorGru/aGruesoGrumoGrupoGuanteGuapoGuardiaGuerraGui/aGui~oGuionGuisoGuitarraGusanoGustarHaberHa/bilHablarHacerHachaHadaHallarHamacaHarinaHazHaza~aHebillaHebraHechoHeladoHelioHembraHerirHermanoHe/roeHervirHieloHierroHi/gadoHigieneHijoHimnoHistoriaHocicoHogarHogueraHojaHombreHongoHonorHonraHoraHormigaHornoHostilHoyoHuecoHuelgaHuertaHuesoHuevoHuidaHuirHumanoHu/medoHumildeHumoHundirHuraca/nHurtoIconoIdealIdiomaI/doloIglesiaIglu/IgualIlegalIlusio/nImagenIma/nImitarImparImperioImponerImpulsoIncapazI/ndiceInerteInfielInformeIngenioInicioInmensoInmuneInnatoInsectoInstanteIntere/sI/ntimoIntuirInu/tilInviernoIraIrisIroni/aIslaIsloteJabali/Jabo/nJamo/nJarabeJardi/nJarraJaulaJazmi/nJefeJeringaJineteJornadaJorobaJovenJoyaJuergaJuevesJuezJugadorJugoJugueteJuicioJuncoJunglaJunioJuntarJu/piterJurarJustoJuvenilJuzgarKiloKoalaLabioLacioLacraLadoLadro/nLagartoLa/grimaLagunaLaicoLamerLa/minaLa/mparaLanaLanchaLangostaLanzaLa/pizLargoLarvaLa/stimaLataLa/texLatirLaurelLavarLazoLealLeccio/nLecheLectorLeerLegio/nLegumbreLejanoLenguaLentoLe~aLeo/nLeopardoLesio/nLetalLetraLeveLeyendaLibertadLibroLicorLi/derLidiarLienzoLigaLigeroLimaLi/miteLimo/nLimpioLinceLindoLi/neaLingoteLinoLinternaLi/quidoLisoListaLiteraLitioLitroLlagaLlamaLlantoLlaveLlegarLlenarLlevarLlorarLloverLluviaLoboLocio/nLocoLocuraLo/gicaLogroLombrizLomoLonjaLoteLuchaLucirLugarLujoLunaLunesLupaLustroLutoLuzMacetaMachoMaderaMadreMaduroMaestroMafiaMagiaMagoMai/zMaldadMaletaMallaMaloMama/MamboMamutMancoMandoManejarMangaManiqui/ManjarManoMansoMantaMa~anaMapaMa/quinaMarMarcoMareaMarfilMargenMaridoMa/rmolMarro/nMartesMarzoMasaMa/scaraMasivoMatarMateriaMatizMatrizMa/ximoMayorMazorcaMechaMedallaMedioMe/dulaMejillaMejorMelenaMelo/nMemoriaMenorMensajeMenteMenu/MercadoMerengueMe/ritoMesMeso/nMetaMeterMe/todoMetroMezclaMiedoMielMiembroMigaMilMilagroMilitarMillo/nMimoMinaMineroMi/nimoMinutoMiopeMirarMisaMiseriaMisilMismoMitadMitoMochilaMocio/nModaModeloMohoMojarMoldeMolerMolinoMomentoMomiaMonarcaMonedaMonjaMontoMo~oMoradaMorderMorenoMorirMorroMorsaMortalMoscaMostrarMotivoMoverMo/vilMozoMuchoMudarMuebleMuelaMuerteMuestraMugreMujerMulaMuletaMultaMundoMu~ecaMuralMuroMu/sculoMuseoMusgoMu/sicaMusloNa/carNacio/nNadarNaipeNaranjaNarizNarrarNasalNatalNativoNaturalNa/useaNavalNaveNavidadNecioNe/ctarNegarNegocioNegroNeo/nNervioNetoNeutroNevarNeveraNichoNidoNieblaNietoNi~ezNi~oNi/tidoNivelNoblezaNocheNo/minaNoriaNormaNorteNotaNoticiaNovatoNovelaNovioNubeNucaNu/cleoNudilloNudoNueraNueveNuezNuloNu/meroNutriaOasisObesoObispoObjetoObraObreroObservarObtenerObvioOcaOcasoOce/anoOchentaOchoOcioOcreOctavoOctubreOcultoOcuparOcurrirOdiarOdioOdiseaOesteOfensaOfertaOficioOfrecerOgroOi/doOi/rOjoOlaOleadaOlfatoOlivoOllaOlmoOlorOlvidoOmbligoOndaOnzaOpacoOpcio/nO/peraOpinarOponerOptarO/pticaOpuestoOracio/nOradorOralO/rbitaOrcaOrdenOrejaO/rganoOrgi/aOrgulloOrienteOrigenOrillaOroOrquestaOrugaOsadi/aOscuroOseznoOsoOstraOto~oOtroOvejaO/vuloO/xidoOxi/genoOyenteOzonoPactoPadrePaellaPa/ginaPagoPai/sPa/jaroPalabraPalcoPaletaPa/lidoPalmaPalomaPalparPanPanalPa/nicoPanteraPa~ueloPapa/PapelPapillaPaquetePararParcelaParedParirParoPa/rpadoParquePa/rrafoPartePasarPaseoPasio/nPasoPastaPataPatioPatriaPausaPautaPavoPayasoPeato/nPecadoPeceraPechoPedalPedirPegarPeinePelarPelda~oPeleaPeligroPellejoPeloPelucaPenaPensarPe~o/nPeo/nPeorPepinoPeque~oPeraPerchaPerderPerezaPerfilPericoPerlaPermisoPerroPersonaPesaPescaPe/simoPesta~aPe/taloPetro/leoPezPezu~aPicarPicho/nPiePiedraPiernaPiezaPijamaPilarPilotoPimientaPinoPintorPinzaPi~aPiojoPipaPirataPisarPiscinaPisoPistaPito/nPizcaPlacaPlanPlataPlayaPlazaPleitoPlenoPlomoPlumaPluralPobrePocoPoderPodioPoemaPoesi/aPoetaPolenPolici/aPolloPolvoPomadaPomeloPomoPompaPonerPorcio/nPortalPosadaPoseerPosiblePostePotenciaPotroPozoPradoPrecozPreguntaPremioPrensaPresoPrevioPrimoPri/ncipePrisio/nPrivarProaProbarProcesoProductoProezaProfesorProgramaProlePromesaProntoPropioPro/ximoPruebaPu/blicoPucheroPudorPuebloPuertaPuestoPulgaPulirPulmo/nPulpoPulsoPumaPuntoPu~alPu~oPupaPupilaPure/QuedarQuejaQuemarQuererQuesoQuietoQui/micaQuinceQuitarRa/banoRabiaRaboRacio/nRadicalRai/zRamaRampaRanchoRangoRapazRa/pidoRaptoRasgoRaspaRatoRayoRazaRazo/nReaccio/nRealidadReba~oReboteRecaerRecetaRechazoRecogerRecreoRectoRecursoRedRedondoReducirReflejoReformaRefra/nRefugioRegaloRegirReglaRegresoRehe/nReinoRei/rRejaRelatoRelevoRelieveRellenoRelojRemarRemedioRemoRencorRendirRentaRepartoRepetirReposoReptilResRescateResinaRespetoRestoResumenRetiroRetornoRetratoReunirReve/sRevistaReyRezarRicoRiegoRiendaRiesgoRifaRi/gidoRigorRinco/nRi~o/nRi/oRiquezaRisaRitmoRitoRizoRobleRoceRociarRodarRodeoRodillaRoerRojizoRojoRomeroRomperRonRoncoRondaRopaRoperoRosaRoscaRostroRotarRubi/RuborRudoRuedaRugirRuidoRuinaRuletaRuloRumboRumorRupturaRutaRutinaSa/badoSaberSabioSableSacarSagazSagradoSalaSaldoSaleroSalirSalmo/nSalo/nSalsaSaltoSaludSalvarSambaSancio/nSandi/aSanearSangreSanidadSanoSantoSapoSaqueSardinaSarte/nSastreSata/nSaunaSaxofo/nSeccio/nSecoSecretoSectaSedSeguirSeisSelloSelvaSemanaSemillaSendaSensorSe~alSe~orSepararSepiaSequi/aSerSerieSermo/nServirSesentaSesio/nSetaSetentaSeveroSexoSextoSidraSiestaSieteSigloSignoSi/labaSilbarSilencioSillaSi/mboloSimioSirenaSistemaSitioSituarSobreSocioSodioSolSolapaSoldadoSoledadSo/lidoSoltarSolucio/nSombraSondeoSonidoSonoroSonrisaSopaSoplarSoporteSordoSorpresaSorteoSoste/nSo/tanoSuaveSubirSucesoSudorSuegraSueloSue~oSuerteSufrirSujetoSulta/nSumarSuperarSuplirSuponerSupremoSurSurcoSure~oSurgirSustoSutilTabacoTabiqueTablaTabu/TacoTactoTajoTalarTalcoTalentoTallaTalo/nTama~oTamborTangoTanqueTapaTapeteTapiaTapo/nTaquillaTardeTareaTarifaTarjetaTarotTarroTartaTatuajeTauroTazaTazo/nTeatroTechoTeclaTe/cnicaTejadoTejerTejidoTelaTele/fonoTemaTemorTemploTenazTenderTenerTenisTensoTeori/aTerapiaTercoTe/rminoTernuraTerrorTesisTesoroTestigoTeteraTextoTezTibioTiburo/nTiempoTiendaTierraTiesoTigreTijeraTildeTimbreTi/midoTimoTintaTi/oTi/picoTipoTiraTiro/nTita/nTi/tereTi/tuloTizaToallaTobilloTocarTocinoTodoTogaToldoTomarTonoTontoToparTopeToqueTo/raxToreroTormentaTorneoToroTorpedoTorreTorsoTortugaTosToscoToserTo/xicoTrabajoTractorTraerTra/ficoTragoTrajeTramoTranceTratoTraumaTrazarTre/bolTreguaTreintaTrenTreparTresTribuTrigoTripaTristeTriunfoTrofeoTrompaTroncoTropaTroteTrozoTrucoTruenoTrufaTuberi/aTuboTuertoTumbaTumorTu/nelTu/nicaTurbinaTurismoTurnoTutorUbicarU/lceraUmbralUnidadUnirUniversoUnoUntarU~aUrbanoUrbeUrgenteUrnaUsarUsuarioU/tilUtopi/aUvaVacaVaci/oVacunaVagarVagoVainaVajillaValeVa/lidoValleValorVa/lvulaVampiroVaraVariarVaro/nVasoVecinoVectorVehi/culoVeinteVejezVelaVeleroVelozVenaVencerVendaVenenoVengarVenirVentaVenusVerVeranoVerboVerdeVeredaVerjaVersoVerterVi/aViajeVibrarVicioVi/ctimaVidaVi/deoVidrioViejoViernesVigorVilVillaVinagreVinoVi~edoVioli/nViralVirgoVirtudVisorVi/speraVistaVitaminaViudoVivazViveroVivirVivoVolca/nVolumenVolverVorazVotarVotoVozVueloVulgarYacerYateYeguaYemaYernoYesoYodoYogaYogurZafiroZanjaZapatoZarzaZonaZorroZumoZurdo",jBe={},Ok=null;function GBe(t){return cH.logger.checkNormalize(),(0,oH.toUtf8String)(Array.prototype.filter.call((0,oH.toUtf8Bytes)(t.normalize("NFD").toLowerCase()),function(e){return e>=65&&e<=90||e>=97&&e<=123}))}function x$0(t){var e=[];return Array.prototype.forEach.call((0,oH.toUtf8Bytes)(t),function(n){n===47?(e.push(204),e.push(129)):n===126?(e.push(110),e.push(204),e.push(131)):e.push(n)}),(0,oH.toUtf8String)(e)}function qBe(t){if(Ok==null&&(Ok=T$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map(function(e){return x$0(e)}),Ok.forEach(function(e,n){jBe[GBe(e)]=n}),cH.Wordlist.check(t)!=="0xf74fb7092aeacdfbf8959557de22098da512207fb9f109cb526994938cf40300"))throw Ok=null,new Error("BIP39 Wordlist for es (Spanish) FAILED")}var E$0=function(t){w$0(e,t);function e(){return t.call(this,"es")||this}return e.prototype.getWord=function(n){return qBe(this),Ok[n]},e.prototype.getWordIndex=function(n){return qBe(this),jBe[GBe(n)]},e}(cH.Wordlist),KBe=new E$0;hT.langEs=KBe;cH.Wordlist.register(KBe)});var XBe=D(bT=>{"use strict";u();p();var _$0=bT&&bT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(bT,"__esModule",{value:!0});bT.langFr=void 0;var dH=_i(),lH=L2(),A$0="AbaisserAbandonAbdiquerAbeilleAbolirAborderAboutirAboyerAbrasifAbreuverAbriterAbrogerAbruptAbsenceAbsoluAbsurdeAbusifAbyssalAcade/mieAcajouAcarienAccablerAccepterAcclamerAccoladeAccrocheAccuserAcerbeAchatAcheterAcidulerAcierAcompteAcque/rirAcronymeActeurActifActuelAdepteAde/quatAdhe/sifAdjectifAdjugerAdmettreAdmirerAdopterAdorerAdoucirAdresseAdroitAdulteAdverbeAe/rerAe/ronefAffaireAffecterAfficheAffreuxAffublerAgacerAgencerAgileAgiterAgraferAgre/ableAgrumeAiderAiguilleAilierAimableAisanceAjouterAjusterAlarmerAlchimieAlerteAlge-breAlgueAlie/nerAlimentAlle/gerAlliageAllouerAllumerAlourdirAlpagaAltesseAlve/oleAmateurAmbiguAmbreAme/nagerAmertumeAmidonAmiralAmorcerAmourAmovibleAmphibieAmpleurAmusantAnalyseAnaphoreAnarchieAnatomieAncienAne/antirAngleAngoisseAnguleuxAnimalAnnexerAnnonceAnnuelAnodinAnomalieAnonymeAnormalAntenneAntidoteAnxieuxApaiserApe/ritifAplanirApologieAppareilAppelerApporterAppuyerAquariumAqueducArbitreArbusteArdeurArdoiseArgentArlequinArmatureArmementArmoireArmureArpenterArracherArriverArroserArsenicArte/rielArticleAspectAsphalteAspirerAssautAsservirAssietteAssocierAssurerAsticotAstreAstuceAtelierAtomeAtriumAtroceAttaqueAttentifAttirerAttraperAubaineAubergeAudaceAudibleAugurerAuroreAutomneAutrucheAvalerAvancerAvariceAvenirAverseAveugleAviateurAvideAvionAviserAvoineAvouerAvrilAxialAxiomeBadgeBafouerBagageBaguetteBaignadeBalancerBalconBaleineBalisageBambinBancaireBandageBanlieueBannie-reBanquierBarbierBarilBaronBarqueBarrageBassinBastionBatailleBateauBatterieBaudrierBavarderBeletteBe/lierBeloteBe/ne/ficeBerceauBergerBerlineBermudaBesaceBesogneBe/tailBeurreBiberonBicycleBiduleBijouBilanBilingueBillardBinaireBiologieBiopsieBiotypeBiscuitBisonBistouriBitumeBizarreBlafardBlagueBlanchirBlessantBlinderBlondBloquerBlousonBobardBobineBoireBoiserBolideBonbonBondirBonheurBonifierBonusBordureBorneBotteBoucleBoueuxBougieBoulonBouquinBourseBoussoleBoutiqueBoxeurBrancheBrasierBraveBrebisBre-cheBreuvageBricolerBrigadeBrillantBriocheBriqueBrochureBroderBronzerBrousseBroyeurBrumeBrusqueBrutalBruyantBuffleBuissonBulletinBureauBurinBustierButinerButoirBuvableBuvetteCabanonCabineCachetteCadeauCadreCafe/ineCaillouCaissonCalculerCalepinCalibreCalmerCalomnieCalvaireCamaradeCame/raCamionCampagneCanalCanetonCanonCantineCanularCapableCaporalCapriceCapsuleCapterCapucheCarabineCarboneCaresserCaribouCarnageCarotteCarreauCartonCascadeCasierCasqueCassureCauserCautionCavalierCaverneCaviarCe/dilleCeintureCe/lesteCelluleCendrierCensurerCentralCercleCe/re/bralCeriseCernerCerveauCesserChagrinChaiseChaleurChambreChanceChapitreCharbonChasseurChatonChaussonChavirerChemiseChenilleChe/quierChercherChevalChienChiffreChignonChime-reChiotChlorureChocolatChoisirChoseChouetteChromeChuteCigareCigogneCimenterCine/maCintrerCirculerCirerCirqueCiterneCitoyenCitronCivilClaironClameurClaquerClasseClavierClientClignerClimatClivageClocheClonageCloporteCobaltCobraCocasseCocotierCoderCodifierCoffreCognerCohe/sionCoifferCoincerCole-reColibriCollineColmaterColonelCombatCome/dieCommandeCompactConcertConduireConfierCongelerConnoterConsonneContactConvexeCopainCopieCorailCorbeauCordageCornicheCorpusCorrectCorte-geCosmiqueCostumeCotonCoudeCoupureCourageCouteauCouvrirCoyoteCrabeCrainteCravateCrayonCre/atureCre/diterCre/meuxCreuserCrevetteCriblerCrierCristalCrite-reCroireCroquerCrotaleCrucialCruelCrypterCubiqueCueillirCuille-reCuisineCuivreCulminerCultiverCumulerCupideCuratifCurseurCyanureCycleCylindreCyniqueDaignerDamierDangerDanseurDauphinDe/battreDe/biterDe/borderDe/briderDe/butantDe/calerDe/cembreDe/chirerDe/ciderDe/clarerDe/corerDe/crireDe/cuplerDe/daleDe/ductifDe/esseDe/fensifDe/filerDe/frayerDe/gagerDe/givrerDe/glutirDe/graferDe/jeunerDe/liceDe/logerDemanderDemeurerDe/molirDe/nicherDe/nouerDentelleDe/nuderDe/partDe/penserDe/phaserDe/placerDe/poserDe/rangerDe/roberDe/sastreDescenteDe/sertDe/signerDe/sobe/irDessinerDestrierDe/tacherDe/testerDe/tourerDe/tresseDevancerDevenirDevinerDevoirDiableDialogueDiamantDicterDiffe/rerDige/rerDigitalDigneDiluerDimancheDiminuerDioxydeDirectifDirigerDiscuterDisposerDissiperDistanceDivertirDiviserDocileDocteurDogmeDoigtDomaineDomicileDompterDonateurDonjonDonnerDopamineDortoirDorureDosageDoseurDossierDotationDouanierDoubleDouceurDouterDoyenDragonDraperDresserDribblerDroitureDuperieDuplexeDurableDurcirDynastieE/blouirE/carterE/charpeE/chelleE/clairerE/clipseE/cloreE/cluseE/coleE/conomieE/corceE/couterE/craserE/cre/merE/crivainE/crouE/cumeE/cureuilE/difierE/duquerEffacerEffectifEffigieEffortEffrayerEffusionE/galiserE/garerE/jecterE/laborerE/largirE/lectronE/le/gantE/le/phantE/le-veE/ligibleE/litismeE/logeE/luciderE/luderEmballerEmbellirEmbryonE/meraudeE/missionEmmenerE/motionE/mouvoirEmpereurEmployerEmporterEmpriseE/mulsionEncadrerEnche-reEnclaveEncocheEndiguerEndosserEndroitEnduireE/nergieEnfanceEnfermerEnfouirEngagerEnginEngloberE/nigmeEnjamberEnjeuEnleverEnnemiEnnuyeuxEnrichirEnrobageEnseigneEntasserEntendreEntierEntourerEntraverE/nume/rerEnvahirEnviableEnvoyerEnzymeE/olienE/paissirE/pargneE/patantE/pauleE/picerieE/pide/mieE/pierE/pilogueE/pineE/pisodeE/pitapheE/poqueE/preuveE/prouverE/puisantE/querreE/quipeE/rigerE/rosionErreurE/ruptionEscalierEspadonEspe-ceEspie-gleEspoirEspritEsquiverEssayerEssenceEssieuEssorerEstimeEstomacEstradeE/tage-reE/talerE/tancheE/tatiqueE/teindreE/tendoirE/ternelE/thanolE/thiqueEthnieE/tirerE/tofferE/toileE/tonnantE/tourdirE/trangeE/troitE/tudeEuphorieE/valuerE/vasionE/ventailE/videnceE/viterE/volutifE/voquerExactExage/rerExaucerExcellerExcitantExclusifExcuseExe/cuterExempleExercerExhalerExhorterExigenceExilerExisterExotiqueExpe/dierExplorerExposerExprimerExquisExtensifExtraireExulterFableFabuleuxFacetteFacileFactureFaiblirFalaiseFameuxFamilleFarceurFarfeluFarineFaroucheFascinerFatalFatigueFauconFautifFaveurFavoriFe/brileFe/conderFe/de/rerFe/linFemmeFe/murFendoirFe/odalFermerFe/roceFerveurFestivalFeuilleFeutreFe/vrierFiascoFicelerFictifFide-leFigureFilatureFiletageFilie-reFilleulFilmerFilouFiltrerFinancerFinirFioleFirmeFissureFixerFlairerFlammeFlasqueFlatteurFle/auFle-cheFleurFlexionFloconFloreFluctuerFluideFluvialFolieFonderieFongibleFontaineForcerForgeronFormulerFortuneFossileFoudreFouge-reFouillerFoulureFourmiFragileFraiseFranchirFrapperFrayeurFre/gateFreinerFrelonFre/mirFre/ne/sieFre-reFriableFrictionFrissonFrivoleFroidFromageFrontalFrotterFruitFugitifFuiteFureurFurieuxFurtifFusionFuturGagnerGalaxieGalerieGambaderGarantirGardienGarnirGarrigueGazelleGazonGe/antGe/latineGe/luleGendarmeGe/ne/ralGe/nieGenouGentilGe/ologieGe/ome-treGe/raniumGermeGestuelGeyserGibierGiclerGirafeGivreGlaceGlaiveGlisserGlobeGloireGlorieuxGolfeurGommeGonflerGorgeGorilleGoudronGouffreGoulotGoupilleGourmandGoutteGraduelGraffitiGraineGrandGrappinGratuitGravirGrenatGriffureGrillerGrimperGrognerGronderGrotteGroupeGrugerGrutierGruye-reGue/pardGuerrierGuideGuimauveGuitareGustatifGymnasteGyrostatHabitudeHachoirHalteHameauHangarHannetonHaricotHarmonieHarponHasardHe/liumHe/matomeHerbeHe/rissonHermineHe/ronHe/siterHeureuxHibernerHibouHilarantHistoireHiverHomardHommageHomoge-neHonneurHonorerHonteuxHordeHorizonHorlogeHormoneHorribleHouleuxHousseHublotHuileuxHumainHumbleHumideHumourHurlerHydromelHygie-neHymneHypnoseIdylleIgnorerIguaneIlliciteIllusionImageImbiberImiterImmenseImmobileImmuableImpactImpe/rialImplorerImposerImprimerImputerIncarnerIncendieIncidentInclinerIncoloreIndexerIndiceInductifIne/ditIneptieInexactInfiniInfligerInformerInfusionInge/rerInhalerInhiberInjecterInjureInnocentInoculerInonderInscrireInsecteInsigneInsoliteInspirerInstinctInsulterIntactIntenseIntimeIntrigueIntuitifInutileInvasionInventerInviterInvoquerIroniqueIrradierIrre/elIrriterIsolerIvoireIvresseJaguarJaillirJambeJanvierJardinJaugerJauneJavelotJetableJetonJeudiJeunesseJoindreJoncherJonglerJoueurJouissifJournalJovialJoyauJoyeuxJubilerJugementJuniorJuponJuristeJusticeJuteuxJuve/nileKayakKimonoKiosqueLabelLabialLabourerLace/rerLactoseLaguneLaineLaisserLaitierLambeauLamelleLampeLanceurLangageLanterneLapinLargeurLarmeLaurierLavaboLavoirLectureLe/galLe/gerLe/gumeLessiveLettreLevierLexiqueLe/zardLiasseLibe/rerLibreLicenceLicorneLie-geLie-vreLigatureLigoterLigueLimerLimiteLimonadeLimpideLine/aireLingotLionceauLiquideLisie-reListerLithiumLitigeLittoralLivreurLogiqueLointainLoisirLombricLoterieLouerLourdLoutreLouveLoyalLubieLucideLucratifLueurLugubreLuisantLumie-reLunaireLundiLuronLutterLuxueuxMachineMagasinMagentaMagiqueMaigreMaillonMaintienMairieMaisonMajorerMalaxerMale/ficeMalheurMaliceMalletteMammouthMandaterManiableManquantManteauManuelMarathonMarbreMarchandMardiMaritimeMarqueurMarronMartelerMascotteMassifMate/rielMatie-reMatraqueMaudireMaussadeMauveMaximalMe/chantMe/connuMe/dailleMe/decinMe/diterMe/duseMeilleurMe/langeMe/lodieMembreMe/moireMenacerMenerMenhirMensongeMentorMercrediMe/riteMerleMessagerMesureMe/talMe/te/oreMe/thodeMe/tierMeubleMiaulerMicrobeMietteMignonMigrerMilieuMillionMimiqueMinceMine/ralMinimalMinorerMinuteMiracleMiroiterMissileMixteMobileModerneMoelleuxMondialMoniteurMonnaieMonotoneMonstreMontagneMonumentMoqueurMorceauMorsureMortierMoteurMotifMoucheMoufleMoulinMoussonMoutonMouvantMultipleMunitionMurailleMure-neMurmureMuscleMuse/umMusicienMutationMuterMutuelMyriadeMyrtilleMyste-reMythiqueNageurNappeNarquoisNarrerNatationNationNatureNaufrageNautiqueNavireNe/buleuxNectarNe/fasteNe/gationNe/gligerNe/gocierNeigeNerveuxNettoyerNeuroneNeutronNeveuNicheNickelNitrateNiveauNobleNocifNocturneNoirceurNoisetteNomadeNombreuxNommerNormatifNotableNotifierNotoireNourrirNouveauNovateurNovembreNoviceNuageNuancerNuireNuisibleNume/roNuptialNuqueNutritifObe/irObjectifObligerObscurObserverObstacleObtenirObturerOccasionOccuperOce/anOctobreOctroyerOctuplerOculaireOdeurOdorantOffenserOfficierOffrirOgiveOiseauOisillonOlfactifOlivierOmbrageOmettreOnctueuxOndulerOne/reuxOniriqueOpaleOpaqueOpe/rerOpinionOpportunOpprimerOpterOptiqueOrageuxOrangeOrbiteOrdonnerOreilleOrganeOrgueilOrificeOrnementOrqueOrtieOscillerOsmoseOssatureOtarieOuraganOursonOutilOutragerOuvrageOvationOxydeOxyge-neOzonePaisiblePalacePalmare-sPalourdePalperPanachePandaPangolinPaniquerPanneauPanoramaPantalonPapayePapierPapoterPapyrusParadoxeParcelleParesseParfumerParlerParoleParrainParsemerPartagerParureParvenirPassionPaste-quePaternelPatiencePatronPavillonPavoiserPayerPaysagePeignePeintrePelagePe/licanPellePelousePeluchePendulePe/ne/trerPe/niblePensifPe/nuriePe/pitePe/plumPerdrixPerforerPe/riodePermuterPerplexePersilPertePeserPe/talePetitPe/trirPeuplePharaonPhobiePhoquePhotonPhrasePhysiquePianoPicturalPie-cePierrePieuvrePilotePinceauPipettePiquerPiroguePiscinePistonPivoterPixelPizzaPlacardPlafondPlaisirPlanerPlaquePlastronPlateauPleurerPlexusPliagePlombPlongerPluiePlumagePochettePoe/siePoe-tePointePoirierPoissonPoivrePolairePolicierPollenPolygonePommadePompierPonctuelPonde/rerPoneyPortiquePositionPosse/derPosturePotagerPoteauPotionPoucePoulainPoumonPourprePoussinPouvoirPrairiePratiquePre/cieuxPre/direPre/fixePre/ludePre/nomPre/sencePre/textePre/voirPrimitifPrincePrisonPriverProble-meProce/derProdigeProfondProgre-sProieProjeterProloguePromenerPropreProspe-reProte/gerProuesseProverbePrudencePruneauPsychosePublicPuceronPuiserPulpePulsarPunaisePunitifPupitrePurifierPuzzlePyramideQuasarQuerelleQuestionQuie/tudeQuitterQuotientRacineRaconterRadieuxRagondinRaideurRaisinRalentirRallongeRamasserRapideRasageRatisserRavagerRavinRayonnerRe/actifRe/agirRe/aliserRe/animerRecevoirRe/citerRe/clamerRe/colterRecruterReculerRecyclerRe/digerRedouterRefaireRe/flexeRe/formerRefrainRefugeRe/galienRe/gionRe/glageRe/gulierRe/ite/rerRejeterRejouerRelatifReleverReliefRemarqueReme-deRemiseRemonterRemplirRemuerRenardRenfortReniflerRenoncerRentrerRenvoiReplierReporterRepriseReptileRequinRe/serveRe/sineuxRe/soudreRespectResterRe/sultatRe/tablirRetenirRe/ticuleRetomberRetracerRe/unionRe/ussirRevancheRevivreRe/volteRe/vulsifRichesseRideauRieurRigideRigolerRincerRiposterRisibleRisqueRituelRivalRivie-reRocheuxRomanceRompreRonceRondinRoseauRosierRotatifRotorRotuleRougeRouilleRouleauRoutineRoyaumeRubanRubisRucheRuelleRugueuxRuinerRuisseauRuserRustiqueRythmeSablerSaboterSabreSacocheSafariSagesseSaisirSaladeSaliveSalonSaluerSamediSanctionSanglierSarcasmeSardineSaturerSaugrenuSaumonSauterSauvageSavantSavonnerScalpelScandaleSce/le/ratSce/narioSceptreSche/maScienceScinderScoreScrutinSculpterSe/anceSe/cableSe/cherSecouerSe/cre/terSe/datifSe/duireSeigneurSe/jourSe/lectifSemaineSemblerSemenceSe/minalSe/nateurSensibleSentenceSe/parerSe/quenceSereinSergentSe/rieuxSerrureSe/rumServiceSe/sameSe/virSevrageSextupleSide/ralSie-cleSie/gerSifflerSigleSignalSilenceSiliciumSimpleSince-reSinistreSiphonSiropSismiqueSituerSkierSocialSocleSodiumSoigneuxSoldatSoleilSolitudeSolubleSombreSommeilSomnolerSondeSongeurSonnetteSonoreSorcierSortirSosieSottiseSoucieuxSoudureSouffleSouleverSoupapeSourceSoutirerSouvenirSpacieuxSpatialSpe/cialSphe-reSpiralStableStationSternumStimulusStipulerStrictStudieuxStupeurStylisteSublimeSubstratSubtilSubvenirSucce-sSucreSuffixeSugge/rerSuiveurSulfateSuperbeSupplierSurfaceSuricateSurmenerSurpriseSursautSurvieSuspectSyllabeSymboleSyme/trieSynapseSyntaxeSyste-meTabacTablierTactileTaillerTalentTalismanTalonnerTambourTamiserTangibleTapisTaquinerTarderTarifTartineTasseTatamiTatouageTaupeTaureauTaxerTe/moinTemporelTenailleTendreTeneurTenirTensionTerminerTerneTerribleTe/tineTexteThe-meThe/orieThe/rapieThoraxTibiaTie-deTimideTirelireTiroirTissuTitaneTitreTituberTobogganTole/rantTomateToniqueTonneauToponymeTorcheTordreTornadeTorpilleTorrentTorseTortueTotemToucherTournageTousserToxineTractionTraficTragiqueTrahirTrainTrancherTravailTre-fleTremperTre/sorTreuilTriageTribunalTricoterTrilogieTriompheTriplerTriturerTrivialTromboneTroncTropicalTroupeauTuileTulipeTumulteTunnelTurbineTuteurTutoyerTuyauTympanTyphonTypiqueTyranUbuesqueUltimeUltrasonUnanimeUnifierUnionUniqueUnitaireUniversUraniumUrbainUrticantUsageUsineUsuelUsureUtileUtopieVacarmeVaccinVagabondVagueVaillantVaincreVaisseauValableValiseVallonValveVampireVanilleVapeurVarierVaseuxVassalVasteVecteurVedetteVe/ge/talVe/hiculeVeinardVe/loceVendrediVe/ne/rerVengerVenimeuxVentouseVerdureVe/rinVernirVerrouVerserVertuVestonVe/te/ranVe/tusteVexantVexerViaducViandeVictoireVidangeVide/oVignetteVigueurVilainVillageVinaigreViolonVipe-reVirementVirtuoseVirusVisageViseurVisionVisqueuxVisuelVitalVitesseViticoleVitrineVivaceVivipareVocationVoguerVoileVoisinVoitureVolailleVolcanVoltigerVolumeVoraceVortexVoterVouloirVoyageVoyelleWagonXe/nonYachtZe-breZe/nithZesteZoologie",Uk=null,YBe={};function $Be(t){return lH.logger.checkNormalize(),(0,dH.toUtf8String)(Array.prototype.filter.call((0,dH.toUtf8Bytes)(t.normalize("NFD").toLowerCase()),function(e){return e>=65&&e<=90||e>=97&&e<=123}))}function C$0(t){var e=[];return Array.prototype.forEach.call((0,dH.toUtf8Bytes)(t),function(n){n===47?(e.push(204),e.push(129)):n===45?(e.push(204),e.push(128)):e.push(n)}),(0,dH.toUtf8String)(e)}function VBe(t){if(Uk==null&&(Uk=A$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map(function(e){return C$0(e)}),Uk.forEach(function(e,n){YBe[$Be(e)]=n}),lH.Wordlist.check(t)!=="0x51deb7ae009149dc61a6bd18a918eb7ac78d2775726c68e598b92d002519b045"))throw Uk=null,new Error("BIP39 Wordlist for fr (French) FAILED")}var I$0=function(t){_$0(e,t);function e(){return t.call(this,"fr")||this}return e.prototype.getWord=function(n){return VBe(this),Uk[n]},e.prototype.getWordIndex=function(n){return VBe(this),YBe[$Be(n)]},e}(lH.Wordlist),JBe=new I$0;bT.langFr=JBe;lH.Wordlist.register(JBe)});var nDe=D(mT=>{"use strict";u();p();var k$0=mT&&mT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(mT,"__esModule",{value:!0});mT.langJa=void 0;var S$0=Vt(),H5=_i(),uH=L2(),R$0=["AQRASRAGBAGUAIRAHBAghAURAdBAdcAnoAMEAFBAFCBKFBQRBSFBCXBCDBCHBGFBEQBpBBpQBIkBHNBeOBgFBVCBhBBhNBmOBmRBiHBiFBUFBZDBvFBsXBkFBlcBjYBwDBMBBTBBTRBWBBWXXaQXaRXQWXSRXCFXYBXpHXOQXHRXhRXuRXmXXbRXlXXwDXTRXrCXWQXWGaBWaKcaYgasFadQalmaMBacAKaRKKBKKXKKjKQRKDRKCYKCRKIDKeVKHcKlXKjHKrYNAHNBWNaRNKcNIBNIONmXNsXNdXNnBNMBNRBNrXNWDNWMNFOQABQAHQBrQXBQXFQaRQKXQKDQKOQKFQNBQNDQQgQCXQCDQGBQGDQGdQYXQpBQpQQpHQLXQHuQgBQhBQhCQuFQmXQiDQUFQZDQsFQdRQkHQbRQlOQlmQPDQjDQwXQMBQMDQcFQTBQTHQrDDXQDNFDGBDGQDGRDpFDhFDmXDZXDbRDMYDRdDTRDrXSAhSBCSBrSGQSEQSHBSVRShYShkSyQSuFSiBSdcSoESocSlmSMBSFBSFKSFNSFdSFcCByCaRCKcCSBCSRCCrCGbCEHCYXCpBCpQCIBCIHCeNCgBCgFCVECVcCmkCmwCZXCZFCdRClOClmClFCjDCjdCnXCwBCwXCcRCFQCFjGXhGNhGDEGDMGCDGCHGIFGgBGVXGVEGVRGmXGsXGdYGoSGbRGnXGwXGwDGWRGFNGFLGFOGFdGFkEABEBDEBFEXOEaBEKSENBENDEYXEIgEIkEgBEgQEgHEhFEudEuFEiBEiHEiFEZDEvBEsXEsFEdXEdREkFEbBEbRElFEPCEfkEFNYAEYAhYBNYQdYDXYSRYCEYYoYgQYgRYuRYmCYZTYdBYbEYlXYjQYRbYWRpKXpQopQnpSFpCXpIBpISphNpdBpdRpbRpcZpFBpFNpFDpFopFrLADLBuLXQLXcLaFLCXLEhLpBLpFLHXLeVLhILdHLdRLoDLbRLrXIABIBQIBCIBsIBoIBMIBRIXaIaRIKYIKRINBINuICDIGBIIDIIkIgRIxFIyQIiHIdRIbYIbRIlHIwRIMYIcRIRVITRIFBIFNIFQOABOAFOBQOaFONBONMOQFOSFOCDOGBOEQOpBOLXOIBOIFOgQOgFOyQOycOmXOsXOdIOkHOMEOMkOWWHBNHXNHXWHNXHDuHDRHSuHSRHHoHhkHmRHdRHkQHlcHlRHwBHWcgAEgAggAkgBNgBQgBEgXOgYcgLXgHjgyQgiBgsFgdagMYgWSgFQgFEVBTVXEVKBVKNVKDVKYVKRVNBVNYVDBVDxVSBVSRVCjVGNVLXVIFVhBVhcVsXVdRVbRVlRhBYhKYhDYhGShxWhmNhdahdkhbRhjohMXhTRxAXxXSxKBxNBxEQxeNxeQxhXxsFxdbxlHxjcxFBxFNxFQxFOxFoyNYyYoybcyMYuBQuBRuBruDMuCouHBudQukkuoBulVuMXuFEmCYmCRmpRmeDmiMmjdmTFmFQiADiBOiaRiKRiNBiNRiSFiGkiGFiERipRiLFiIFihYibHijBijEiMXiWBiFBiFCUBQUXFUaRUNDUNcUNRUNFUDBUSHUCDUGBUGFUEqULNULoUIRUeEUeYUgBUhFUuRUiFUsXUdFUkHUbBUjSUjYUwXUMDUcHURdUTBUrBUrXUrQZAFZXZZaRZKFZNBZQFZCXZGBZYdZpBZLDZIFZHXZHNZeQZVRZVFZmXZiBZvFZdFZkFZbHZbFZwXZcCZcRZRBvBQvBGvBLvBWvCovMYsAFsBDsaRsKFsNFsDrsSHsSFsCXsCRsEBsEHsEfspBsLBsLDsIgsIRseGsbRsFBsFQsFSdNBdSRdCVdGHdYDdHcdVbdySduDdsXdlRdwXdWYdWcdWRkBMkXOkaRkNIkNFkSFkCFkYBkpRkeNkgBkhVkmXksFklVkMBkWDkFNoBNoaQoaFoNBoNXoNaoNEoSRoEroYXoYCoYbopRopFomXojkowXorFbBEbEIbdBbjYlaRlDElMXlFDjKjjSRjGBjYBjYkjpRjLXjIBjOFjeVjbRjwBnXQnSHnpFnLXnINnMBnTRwXBwXNwXYwNFwQFwSBwGFwLXwLDweNwgBwuHwjDwnXMBXMpFMIBMeNMTHcaQcNBcDHcSFcCXcpBcLXcLDcgFcuFcnXcwXccDcTQcrFTQErXNrCHrpFrgFrbFrTHrFcWNYWNbWEHWMXWTR","ABGHABIJAEAVAYJQALZJAIaRAHNXAHdcAHbRAZJMAZJRAZTRAdVJAklmAbcNAjdRAMnRAMWYAWpRAWgRAFgBAFhBAFdcBNJBBNJDBQKBBQhcBQlmBDEJBYJkBYJTBpNBBpJFBIJBBIJDBIcABOKXBOEJBOVJBOiJBOZJBepBBeLXBeIFBegBBgGJBVJXBuocBiJRBUJQBlXVBlITBwNFBMYVBcqXBTlmBWNFBWiJBWnRBFGHBFwXXKGJXNJBXNZJXDTTXSHSXSVRXSlHXCJDXGQJXEhXXYQJXYbRXOfXXeNcXVJFXhQJXhEJXdTRXjdXXMhBXcQTXRGBXTEBXTnQXFCXXFOFXFgFaBaFaBNJaBCJaBpBaBwXaNJKaNJDaQIBaDpRaEPDaHMFamDJalEJaMZJaFaFaFNBaFQJaFLDaFVHKBCYKBEBKBHDKXaFKXGdKXEJKXpHKXIBKXZDKXwXKKwLKNacKNYJKNJoKNWcKDGdKDTRKChXKGaRKGhBKGbRKEBTKEaRKEPTKLMDKLWRKOHDKVJcKdBcKlIBKlOPKFSBKFEPKFpFNBNJNJBQNBGHNBEPNBHXNBgFNBVXNBZDNBsXNBwXNNaRNNJDNNJENNJkNDCJNDVDNGJRNJiDNZJNNsCJNJFNNFSBNFCXNFEPNFLXNFIFQJBFQCaRQJEQQLJDQLJFQIaRQOqXQHaFQHHQQVJXQVJDQhNJQmEIQZJFQsJXQJrFQWbRDJABDBYJDXNFDXCXDXLXDXZDDXsJDQqXDSJFDJCXDEPkDEqXDYmQDpSJDOCkDOGQDHEIDVJDDuDuDWEBDJFgSBNDSBSFSBGHSBIBSBTQSKVYSJQNSJQiSJCXSEqXSJYVSIiJSOMYSHAHSHaQSeCFSepQSegBSHdHSHrFShSJSJuHSJUFSkNRSrSrSWEBSFaHSJFQSFCXSFGDSFYXSFODSFgBSFVXSFhBSFxFSFkFSFbBSFMFCADdCJXBCXaFCXKFCXNFCXCXCXGBCXEJCXYBCXLDCXIBCXOPCXHXCXgBCXhBCXiBCXlDCXcHCJNBCJNFCDCJCDGBCDVXCDhBCDiDCDJdCCmNCpJFCIaRCOqXCHCHCHZJCViJCuCuCmddCJiFCdNBCdHhClEJCnUJCreSCWlgCWTRCFBFCFNBCFYBCFVFCFhFCFdSCFTBCFWDGBNBGBQFGJBCGBEqGBpBGBgQGNBEGNJYGNkOGNJRGDUFGJpQGHaBGJeNGJeEGVBlGVKjGiJDGvJHGsVJGkEBGMIJGWjNGFBFGFCXGFGBGFYXGFpBGFMFEASJEAWpEJNFECJVEIXSEIQJEOqXEOcFEeNcEHEJEHlFEJgFEhlmEmDJEmZJEiMBEUqXEoSREPBFEPXFEPKFEPSFEPEFEPpFEPLXEPIBEJPdEPcFEPTBEJnXEqlHEMpREFCXEFODEFcFYASJYJAFYBaBYBVXYXpFYDhBYCJBYJGFYYbRYeNcYJeVYiIJYZJcYvJgYvJRYJsXYsJFYMYMYreVpBNHpBEJpBwXpQxFpYEJpeNDpJeDpeSFpeCHpHUJpHbBpHcHpmUJpiiJpUJrpsJuplITpFaBpFQqpFGBpFEfpFYBpFpBpFLJpFIDpFgBpFVXpFyQpFuFpFlFpFjDpFnXpFwXpJFMpFTBLXCJLXEFLXhFLXUJLXbFLalmLNJBLSJQLCLCLGJBLLDJLHaFLeNFLeSHLeCXLepFLhaRLZsJLsJDLsJrLocaLlLlLMdbLFNBLFSBLFEHLFkFIBBFIBXFIBaQIBKXIBSFIBpHIBLXIBgBIBhBIBuHIBmXIBiFIBZXIBvFIBbFIBjQIBwXIBWFIKTRIQUJIDGFICjQIYSRIINXIJeCIVaRImEkIZJFIvJRIsJXIdCJIJoRIbBQIjYBIcqXITFVIreVIFKFIFSFIFCJIFGFIFLDIFIBIJFOIFgBIFVXIJFhIFxFIFmXIFdHIFbBIJFrIJFWOBGBOQfXOOKjOUqXOfXBOqXEOcqXORVJOFIBOFlDHBIOHXiFHNTRHCJXHIaRHHJDHHEJHVbRHZJYHbIBHRsJHRkDHWlmgBKFgBSBgBCDgBGHgBpBgBIBgBVJgBuBgBvFgKDTgQVXgDUJgGSJgOqXgmUMgZIJgTUJgWIEgFBFgFNBgFDJgFSFgFGBgFYXgJFOgFgQgFVXgFhBgFbHgJFWVJABVQKcVDgFVOfXVeDFVhaRVmGdViJYVMaRVFNHhBNDhBCXhBEqhBpFhBLXhNJBhSJRheVXhhKEhxlmhZIJhdBQhkIJhbMNhMUJhMZJxNJgxQUJxDEkxDdFxSJRxplmxeSBxeCXxeGFxeYXxepQxegBxWVcxFEQxFLXxFIBxFgBxFxDxFZtxFdcxFbBxFwXyDJXyDlcuASJuDJpuDIBuCpJuGSJuIJFueEFuZIJusJXudWEuoIBuWGJuFBcuFKEuFNFuFQFuFDJuFGJuFVJuFUtuFdHuFTBmBYJmNJYmQhkmLJDmLJomIdXmiJYmvJRmsJRmklmmMBymMuCmclmmcnQiJABiJBNiJBDiBSFiBCJiBEFiBYBiBpFiBLXiBTHiJNciDEfiCZJiECJiJEqiOkHiHKFieNDiHJQieQcieDHieSFieCXieGFieEFieIHiegFihUJixNoioNXiFaBiFKFiFNDiFEPiFYXitFOitFHiFgBiFVEiFmXiFitiFbBiFMFiFrFUCXQUIoQUIJcUHQJUeCEUHwXUUJDUUqXUdWcUcqXUrnQUFNDUFSHUFCFUFEfUFLXUtFOZBXOZXSBZXpFZXVXZEQJZEJkZpDJZOqXZeNHZeCDZUqXZFBQZFEHZFLXvBAFvBKFvBCXvBEPvBpHvBIDvBgFvBuHvQNJvFNFvFGBvFIBvJFcsXCDsXLXsXsXsXlFsXcHsQqXsJQFsEqXseIFsFEHsFjDdBxOdNpRdNJRdEJbdpJRdhZJdnSJdrjNdFNJdFQHdFhNkNJDkYaRkHNRkHSRkVbRkuMRkjSJkcqDoSJFoEiJoYZJoOfXohEBoMGQocqXbBAFbBXFbBaFbBNDbBGBbBLXbBTBbBWDbGJYbIJHbFQqbFpQlDgQlOrFlVJRjGEBjZJRnXvJnXbBnEfHnOPDngJRnxfXnUJWwXEJwNpJwDpBwEfXwrEBMDCJMDGHMDIJMLJDcQGDcQpHcqXccqNFcqCXcFCJRBSBRBGBRBEJRBpQTBNFTBQJTBpBTBVXTFABTFSBTFCFTFGBTFMDrXCJrXLDrDNJrEfHrFQJrFitWNjdWNTR","AKLJMANOPFASNJIAEJWXAYJNRAIIbRAIcdaAeEfDAgidRAdjNYAMYEJAMIbRAFNJBAFpJFBBIJYBDZJFBSiJhBGdEBBEJfXBEJqXBEJWRBpaUJBLXrXBIYJMBOcfXBeEfFBestXBjNJRBcDJOBFEqXXNvJRXDMBhXCJNYXOAWpXONJWXHDEBXeIaRXhYJDXZJSJXMDJOXcASJXFVJXaBQqXaBZJFasXdQaFSJQaFEfXaFpJHaFOqXKBNSRKXvJBKQJhXKEJQJKEJGFKINJBKIJjNKgJNSKVElmKVhEBKiJGFKlBgJKjnUJKwsJYKMFIJKFNJDKFIJFKFOfXNJBSFNJBCXNBpJFNJBvQNJBMBNJLJXNJOqXNJeCXNJeGFNdsJCNbTKFNwXUJQNFEPQDiJcQDMSJQSFpBQGMQJQJeOcQyCJEQUJEBQJFBrQFEJqDXDJFDJXpBDJXIMDGiJhDIJGRDJeYcDHrDJDVXgFDkAWpDkIgRDjDEqDMvJRDJFNFDJFIBSKclmSJQOFSJQVHSJQjDSJGJBSJGJFSECJoSHEJqSJHTBSJVJDSViJYSZJNBSJsJDSFSJFSFEfXSJFLXCBUJVCJXSBCJXpBCXVJXCJXsXCJXdFCJNJHCLIJgCHiJFCVNJMChCJhCUHEJCsJTRCJdYcCoQJCCFEfXCFIJgCFUJxCFstFGJBaQGJBIDGQJqXGYJNRGJHKFGeQqDGHEJFGJeLXGHIiJGHdBlGUJEBGkIJTGFQPDGJFEqEAGegEJIJBEJVJXEhQJTEiJNcEJZJFEJoEqEjDEqEPDsXEPGJBEPOqXEPeQFEfDiDEJfEFEfepQEfMiJEqXNBEqDIDEqeSFEqVJXEMvJRYXNJDYXEJHYKVJcYYJEBYJeEcYJUqXYFpJFYFstXpAZJMpBSJFpNBNFpeQPDpHLJDpHIJFpHgJFpeitFpHZJFpJFADpFSJFpJFCJpFOqXpFitBpJFZJLXIJFLIJgRLVNJWLVHJMLwNpJLFGJBLFLJDLFOqXLJFUJIBDJXIBGJBIJBYQIJBIBIBOqXIBcqDIEGJFILNJTIIJEBIOiJhIJeNBIJeIBIhiJIIWoTRIJFAHIJFpBIJFuHIFUtFIJFTHOSBYJOEcqXOHEJqOvBpFOkVJrObBVJOncqDOcNJkHhNJRHuHJuHdMhBgBUqXgBsJXgONJBgHNJDgHHJQgJeitgHsJXgJyNagyDJBgZJDrgsVJQgkEJNgkjSJgJFAHgFCJDgFZtMVJXNFVXQfXVJXDJVXoQJVQVJQVDEfXVDvJHVEqNFVeQfXVHpJFVHxfXVVJSRVVmaRVlIJOhCXVJhHjYkhxCJVhWVUJhWiJcxBNJIxeEqDxfXBFxcFEPxFSJFxFYJXyBDQJydaUJyFOPDuYCJYuLvJRuHLJXuZJLDuFOPDuFZJHuFcqXmKHJdmCQJcmOsVJiJAGFitLCFieOfXiestXiZJMEikNJQirXzFiFQqXiFIJFiFZJFiFvtFUHpJFUteIcUteOcUVCJkUhdHcUbEJEUJqXQUMNJhURjYkUFitFZDGJHZJIxDZJVJXZJFDJZJFpQvBNJBvBSJFvJxBrseQqDsVFVJdFLJDkEJNBkmNJYkFLJDoQJOPoGsJRoEAHBoEJfFbBQqDbBZJHbFVJXlFIJBjYIrXjeitcjjCEBjWMNBwXQfXwXOaFwDsJXwCJTRwrCZJMDNJQcDDJFcqDOPRYiJFTBsJXTQIJBTFEfXTFLJDrXEJFrEJXMrFZJFWEJdEWYTlm","ABCDEFACNJTRAMBDJdAcNJVXBLNJEBXSIdWRXErNJkXYDJMBXZJCJaXMNJaYKKVJKcKDEJqXKDcNJhKVJrNYKbgJVXKFVJSBNBYBwDNJeQfXNJeEqXNhGJWENJFiJRQlIJbEQJfXxDQqXcfXQFNDEJQFwXUJDYcnUJDJIBgQDIUJTRDJFEqDSJQSJFSJQIJFSOPeZtSJFZJHCJXQfXCTDEqFGJBSJFGJBOfXGJBcqXGJHNJDGJRLiJEJfXEqEJFEJPEFpBEJYJBZJFYBwXUJYiJMEBYJZJyTYTONJXpQMFXFpeGIDdpJFstXpJFcPDLBVSJRLHQJqXLJFZJFIJBNJDIJBUqXIBkFDJIJEJPTIYJGWRIJeQPDIJeEfHIJFsJXOqGDSFHXEJqXgJCsJCgGQJqXgdQYJEgFMFNBgJFcqDVJwXUJVJFZJchIgJCCxOEJqXxOwXUJyDJBVRuscisciJBiJBieUtqXiJFDJkiFsJXQUGEZJcUJFsJXZtXIrXZDZJDrZJFNJDZJFstXvJFQqXvJFCJEsJXQJqkhkNGBbDJdTRbYJMEBlDwXUJMEFiJFcfXNJDRcNJWMTBLJXC","BraFUtHBFSJFdbNBLJXVJQoYJNEBSJBEJfHSJHwXUJCJdAZJMGjaFVJXEJPNJBlEJfFiJFpFbFEJqIJBVJCrIBdHiJhOPFChvJVJZJNJWxGFNIFLueIBQJqUHEJfUFstOZJDrlXEASJRlXVJXSFwVJNJWD","QJEJNNJDQJEJIBSFQJEJxegBQJEJfHEPSJBmXEJFSJCDEJqXLXNJFQqXIcQsFNJFIFEJqXUJgFsJXIJBUJEJfHNFvJxEqXNJnXUJFQqD","IJBEJqXZJ"],M$0="~~AzB~X~a~KN~Q~D~S~C~G~E~Y~p~L~I~O~eH~g~V~hxyumi~~U~~Z~~v~~s~~dkoblPjfnqwMcRTr~W~~~F~~~~~Jt",E6=null;function ZBe(t){return(0,S$0.hexlify)((0,H5.toUtf8Bytes)(t))}var B$0="0xe3818de38284e3818f",D$0="0xe3818de38283e3818f";function eDe(t){if(E6!==null)return;E6=[];var e={};e[(0,H5.toUtf8String)([227,130,154])]=!1,e[(0,H5.toUtf8String)([227,130,153])]=!1,e[(0,H5.toUtf8String)([227,130,133])]=(0,H5.toUtf8String)([227,130,134]),e[(0,H5.toUtf8String)([227,129,163])]=(0,H5.toUtf8String)([227,129,164]),e[(0,H5.toUtf8String)([227,130,131])]=(0,H5.toUtf8String)([227,130,132]),e[(0,H5.toUtf8String)([227,130,135])]=(0,H5.toUtf8String)([227,130,136]);function n(l){for(var h="",y=0;yh?1:0}for(var r=3;r<=9;r++)for(var f=R$0[r-3],i=0;i{"use strict";u();p();var L$0=yT&&yT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(yT,"__esModule",{value:!0});yT.langKo=void 0;var F$0=_i(),zre=L2(),N$0=["OYAa","ATAZoATBl3ATCTrATCl8ATDloATGg3ATHT8ATJT8ATJl3ATLlvATLn4ATMT8ATMX8ATMboATMgoAToLbAToMTATrHgATvHnAT3AnAT3JbAT3MTAT8DbAT8JTAT8LmAT8MYAT8MbAT#LnAUHT8AUHZvAUJXrAUJX8AULnrAXJnvAXLUoAXLgvAXMn6AXRg3AXrMbAX3JTAX3QbAYLn3AZLgvAZrSUAZvAcAZ8AaAZ8AbAZ8AnAZ8HnAZ8LgAZ8MYAZ8MgAZ8OnAaAboAaDTrAaFTrAaJTrAaJboAaLVoAaMXvAaOl8AaSeoAbAUoAbAg8AbAl4AbGnrAbMT8AbMXrAbMn4AbQb8AbSV8AbvRlAb8AUAb8AnAb8HgAb8JTAb8NTAb8RbAcGboAcLnvAcMT8AcMX8AcSToAcrAaAcrFnAc8AbAc8MgAfGgrAfHboAfJnvAfLV8AfLkoAfMT8AfMnoAfQb8AfScrAfSgrAgAZ8AgFl3AgGX8AgHZvAgHgrAgJXoAgJX8AgJboAgLZoAgLn4AgOX8AgoATAgoAnAgoCUAgoJgAgoLXAgoMYAgoSeAgrDUAgrJTAhrFnAhrLjAhrQgAjAgoAjJnrAkMX8AkOnoAlCTvAlCV8AlClvAlFg4AlFl6AlFn3AloSnAlrAXAlrAfAlrFUAlrFbAlrGgAlrOXAlvKnAlvMTAl3AbAl3MnAnATrAnAcrAnCZ3AnCl8AnDg8AnFboAnFl3AnHX4AnHbrAnHgrAnIl3AnJgvAnLXoAnLX4AnLbrAnLgrAnLhrAnMXoAnMgrAnOn3AnSbrAnSeoAnvLnAn3OnCTGgvCTSlvCTvAUCTvKnCTvNTCT3CZCT3GUCT3MTCT8HnCUCZrCULf8CULnvCU3HnCU3JUCY6NUCbDb8CbFZoCbLnrCboOTCboScCbrFnCbvLnCb8AgCb8HgCb$LnCkLfoClBn3CloDUDTHT8DTLl3DTSU8DTrAaDTrLXDTrLjDTrOYDTrOgDTvFXDTvFnDT3HUDT3LfDUCT9DUDT4DUFVoDUFV8DUFkoDUGgrDUJnrDULl8DUMT8DUMXrDUMX4DUMg8DUOUoDUOgvDUOg8DUSToDUSZ8DbDXoDbDgoDbGT8DbJn3DbLg3DbLn4DbMXrDbMg8DbOToDboJXGTClvGTDT8GTFZrGTLVoGTLlvGTLl3GTMg8GTOTvGTSlrGToCUGTrDgGTrJYGTrScGTtLnGTvAnGTvQgGUCZrGUDTvGUFZoGUHXrGULnvGUMT8GUoMgGXoLnGXrMXGXrMnGXvFnGYLnvGZOnvGZvOnGZ8LaGZ8LmGbAl3GbDYvGbDlrGbHX3GbJl4GbLV8GbLn3GbMn4GboJTGboRfGbvFUGb3GUGb4JnGgDX3GgFl$GgJlrGgLX6GgLZoGgLf8GgOXoGgrAgGgrJXGgrMYGgrScGgvATGgvOYGnAgoGnJgvGnLZoGnLg3GnLnrGnQn8GnSbrGnrMgHTClvHTDToHTFT3HTQT8HToJTHToJgHTrDUHTrMnHTvFYHTvRfHT8MnHT8SUHUAZ8HUBb4HUDTvHUoMYHXFl6HXJX6HXQlrHXrAUHXrMnHXrSbHXvFYHXvKXHX3LjHX3MeHYvQlHZrScHZvDbHbAcrHbFT3HbFl3HbJT8HbLTrHbMT8HbMXrHbMbrHbQb8HbSX3HboDbHboJTHbrFUHbrHgHbrJTHb8JTHb8MnHb8QgHgAlrHgDT3HgGgrHgHgrHgJTrHgJT8HgLX@HgLnrHgMT8HgMX8HgMboHgOnrHgQToHgRg3HgoHgHgrCbHgrFnHgrLVHgvAcHgvAfHnAloHnCTrHnCnvHnGTrHnGZ8HnGnvHnJT8HnLf8HnLkvHnMg8HnRTrITvFUITvFnJTAXrJTCV8JTFT3JTFT8JTFn4JTGgvJTHT8JTJT8JTJXvJTJl3JTJnvJTLX4JTLf8JTLhvJTMT8JTMXrJTMnrJTObrJTQT8JTSlvJT8DUJT8FkJT8MTJT8OXJT8OgJT8QUJT8RfJUHZoJXFT4JXFlrJXGZ8JXGnrJXLV8JXLgvJXMXoJXMX3JXNboJXPlvJXoJTJXoLkJXrAXJXrHUJXrJgJXvJTJXvOnJX4KnJYAl3JYJT8JYLhvJYQToJYrQXJY6NUJbAl3JbCZrJbDloJbGT8JbGgrJbJXvJbJboJbLf8JbLhrJbLl3JbMnvJbRg8JbSZ8JboDbJbrCZJbrSUJb3KnJb8LnJfRn8JgAXrJgCZrJgDTrJgGZrJgGZ8JgHToJgJT8JgJXoJgJgvJgLX4JgLZ3JgLZ8JgLn4JgMgrJgMn4JgOgvJgPX6JgRnvJgSToJgoCZJgoJbJgoMYJgrJXJgrJgJgrLjJg6MTJlCn3JlGgvJlJl8Jl4AnJl8FnJl8HgJnAToJnATrJnAbvJnDUoJnGnrJnJXrJnJXvJnLhvJnLnrJnLnvJnMToJnMT8JnMXvJnMX3JnMg8JnMlrJnMn4JnOX8JnST4JnSX3JnoAgJnoAnJnoJTJnoObJnrAbJnrAkJnrHnJnrJTJnrJYJnrOYJnrScJnvCUJnvFaJnvJgJnvJnJnvOYJnvQUJnvRUJn3FnJn3JTKnFl3KnLT6LTDlvLTMnoLTOn3LTRl3LTSb4LTSlrLToAnLToJgLTrAULTrAcLTrCULTrHgLTrMgLT3JnLULnrLUMX8LUoJgLVATrLVDTrLVLb8LVoJgLV8MgLV8RTLXDg3LXFlrLXrCnLXrLXLX3GTLX4GgLX4OYLZAXrLZAcrLZAgrLZAhrLZDXyLZDlrLZFbrLZFl3LZJX6LZJX8LZLc8LZLnrLZSU8LZoJTLZoJnLZrAgLZrAnLZrJYLZrLULZrMgLZrSkLZvAnLZvGULZvJeLZvOTLZ3FZLZ4JXLZ8STLZ8ScLaAT3LaAl3LaHT8LaJTrLaJT8LaJXrLaJgvLaJl4LaLVoLaMXrLaMXvLaMX8LbClvLbFToLbHlrLbJn4LbLZ3LbLhvLbMXrLbMnoLbvSULcLnrLc8HnLc8MTLdrMnLeAgoLeOgvLeOn3LfAl3LfLnvLfMl3LfOX8Lf8AnLf8JXLf8LXLgJTrLgJXrLgJl8LgMX8LgRZrLhCToLhrAbLhrFULhrJXLhvJYLjHTrLjHX4LjJX8LjLhrLjSX3LjSZ4LkFX4LkGZ8LkGgvLkJTrLkMXoLkSToLkSU8LkSZ8LkoOYLl3FfLl3MgLmAZrLmCbrLmGgrLmHboLmJnoLmJn3LmLfoLmLhrLmSToLnAX6LnAb6LnCZ3LnCb3LnDTvLnDb8LnFl3LnGnrLnHZvLnHgvLnITvLnJT8LnJX8LnJlvLnLf8LnLg6LnLhvLnLnoLnMXrLnMg8LnQlvLnSbrLnrAgLnrAnLnrDbLnrFkLnrJdLnrMULnrOYLnrSTLnvAnLnvDULnvHgLnvOYLnvOnLn3GgLn4DULn4JTLn4JnMTAZoMTAloMTDb8MTFT8MTJnoMTJnrMTLZrMTLhrMTLkvMTMX8MTRTrMToATMTrDnMTrOnMT3JnMT4MnMT8FUMT8FaMT8FlMT8GTMT8GbMT8GnMT8HnMT8JTMT8JbMT8OTMUCl8MUJTrMUJU8MUMX8MURTrMUSToMXAX6MXAb6MXCZoMXFXrMXHXrMXLgvMXOgoMXrAUMXrAnMXrHgMXrJYMXrJnMXrMTMXrMgMXrOYMXrSZMXrSgMXvDUMXvOTMX3JgMX3OTMX4JnMX8DbMX8FnMX8HbMX8HgMX8HnMX8LbMX8MnMX8OnMYAb8MYGboMYHTvMYHX4MYLTrMYLnvMYMToMYOgvMYRg3MYSTrMbAToMbAXrMbAl3MbAn8MbGZ8MbJT8MbJXrMbMXvMbMX8MbMnoMbrMUMb8AfMb8FbMb8FkMcJXoMeLnrMgFl3MgGTvMgGXoMgGgrMgGnrMgHT8MgHZrMgJnoMgLnrMgLnvMgMT8MgQUoMgrHnMgvAnMg8HgMg8JYMg8LfMloJnMl8ATMl8AXMl8JYMnAToMnAT4MnAZ8MnAl3MnAl4MnCl8MnHT8MnHg8MnJnoMnLZoMnLhrMnMXoMnMX3MnMnrMnOgvMnrFbMnrFfMnrFnMnrNTMnvJXNTMl8OTCT3OTFV8OTFn3OTHZvOTJXrOTOl3OT3ATOT3JUOT3LZOT3LeOT3MbOT8ATOT8AbOT8AgOT8MbOUCXvOUMX3OXHXvOXLl3OXrMUOXvDbOX6NUOX8JbOYFZoOYLbrOYLkoOYMg8OYSX3ObHTrObHT4ObJgrObLhrObMX3ObOX8Ob8FnOeAlrOeJT8OeJXrOeJnrOeLToOeMb8OgJXoOgLXoOgMnrOgOXrOgOloOgoAgOgoJbOgoMYOgoSTOg8AbOjLX4OjMnoOjSV8OnLVoOnrAgOn3DUPXQlrPXvFXPbvFTPdAT3PlFn3PnvFbQTLn4QToAgQToMTQULV8QURg8QUoJnQXCXvQbFbrQb8AaQb8AcQb8FbQb8MYQb8ScQeAlrQeLhrQjAn3QlFXoQloJgQloSnRTLnvRTrGURTrJTRUJZrRUoJlRUrQnRZrLmRZrMnRZrSnRZ8ATRZ8JbRZ8ScRbMT8RbST3RfGZrRfMX8RfMgrRfSZrRnAbrRnGT8RnvJgRnvLfRnvMTRn8AaSTClvSTJgrSTOXrSTRg3STRnvSToAcSToAfSToAnSToHnSToLjSToMTSTrAaSTrEUST3BYST8AgST8LmSUAZvSUAgrSUDT4SUDT8SUGgvSUJXoSUJXvSULTrSU8JTSU8LjSV8AnSV8JgSXFToSXLf8SYvAnSZrDUSZrMUSZrMnSZ8HgSZ8JTSZ8JgSZ8MYSZ8QUSaQUoSbCT3SbHToSbQYvSbSl4SboJnSbvFbSb8HbSb8JgSb8OTScGZrScHgrScJTvScMT8ScSToScoHbScrMTScvAnSeAZrSeAcrSeHboSeJUoSeLhrSeMT8SeMXrSe6JgSgHTrSkJnoSkLnvSk8CUSlFl3SlrSnSl8GnSmAboSmGT8SmJU8","ATLnDlATrAZoATrJX4ATrMT8ATrMX4ATrRTrATvDl8ATvJUoATvMl8AT3AToAT3MX8AT8CT3AT8DT8AT8HZrAT8HgoAUAgFnAUCTFnAXoMX8AXrAT8AXrGgvAXrJXvAXrOgoAXvLl3AZvAgoAZvFbrAZvJXoAZvJl8AZvJn3AZvMX8AZvSbrAZ8FZoAZ8LZ8AZ8MU8AZ8OTvAZ8SV8AZ8SX3AbAgFZAboJnoAbvGboAb8ATrAb8AZoAb8AgrAb8Al4Ab8Db8Ab8JnoAb8LX4Ab8LZrAb8LhrAb8MT8Ab8OUoAb8Qb8Ab8ST8AcrAUoAcrAc8AcrCZ3AcrFT3AcrFZrAcrJl4AcrJn3AcrMX3AcrOTvAc8AZ8Ac8MT8AfAcJXAgoFn4AgoGgvAgoGnrAgoLc8AgoMXoAgrLnrAkrSZ8AlFXCTAloHboAlrHbrAlrLhrAlrLkoAl3CZrAl3LUoAl3LZrAnrAl4AnrMT8An3HT4BT3IToBX4MnvBb!Ln$CTGXMnCToLZ4CTrHT8CT3JTrCT3RZrCT#GTvCU6GgvCU8Db8CU8GZrCU8HT8CboLl3CbrGgrCbrMU8Cb8DT3Cb8GnrCb8LX4Cb8MT8Cb8ObrCgrGgvCgrKX4Cl8FZoDTrAbvDTrDboDTrGT6DTrJgrDTrMX3DTrRZrDTrRg8DTvAVvDTvFZoDT3DT8DT3Ln3DT4HZrDT4MT8DT8AlrDT8MT8DUAkGbDUDbJnDYLnQlDbDUOYDbMTAnDbMXSnDboAT3DboFn4DboLnvDj6JTrGTCgFTGTGgFnGTJTMnGTLnPlGToJT8GTrCT3GTrLVoGTrLnvGTrMX3GTrMboGTvKl3GZClFnGZrDT3GZ8DTrGZ8FZ8GZ8MXvGZ8On8GZ8ST3GbCnQXGbMbFnGboFboGboJg3GboMXoGb3JTvGb3JboGb3Mn6Gb3Qb8GgDXLjGgMnAUGgrDloGgrHX4GgrSToGgvAXrGgvAZvGgvFbrGgvLl3GgvMnvGnDnLXGnrATrGnrMboGnuLl3HTATMnHTAgCnHTCTCTHTrGTvHTrHTvHTrJX8HTrLl8HTrMT8HTrMgoHTrOTrHTuOn3HTvAZrHTvDTvHTvGboHTvJU8HTvLl3HTvMXrHTvQb4HT4GT6HT4JT8HT4Jb#HT8Al3HT8GZrHT8GgrHT8HX4HT8Jb8HT8JnoHT8LTrHT8LgvHT8SToHT8SV8HUoJUoHUoJX8HUoLnrHXrLZoHXvAl3HX3LnrHX4FkvHX4LhrHX4MXoHX4OnoHZrAZ8HZrDb8HZrGZ8HZrJnrHZvGZ8HZvLnvHZ8JnvHZ8LhrHbCXJlHbMTAnHboJl4HbpLl3HbrJX8HbrLnrHbrMnvHbvRYrHgoSTrHgrFV8HgrGZ8HgrJXoHgrRnvHgvBb!HgvGTrHgvHX4HgvHn!HgvLTrHgvSU8HnDnLbHnFbJbHnvDn8Hn6GgvHn!BTvJTCTLnJTQgFnJTrAnvJTrLX4JTrOUoJTvFn3JTvLnrJTvNToJT3AgoJT3Jn4JT3LhvJT3ObrJT8AcrJT8Al3JT8JT8JT8JnoJT8LX4JT8LnrJT8MX3JT8Rg3JT8Sc8JUoBTvJU8AToJU8GZ8JU8GgvJU8JTrJU8JXrJU8JnrJU8LnvJU8ScvJXHnJlJXrGgvJXrJU8JXrLhrJXrMT8JXrMXrJXrQUoJXvCTvJXvGZ8JXvGgrJXvQT8JX8Ab8JX8DT8JX8GZ8JX8HZvJX8LnrJX8MT8JX8MXoJX8MnvJX8ST3JYGnCTJbAkGbJbCTAnJbLTAcJboDT3JboLb6JbrAnvJbrCn3JbrDl8JbrGboJbrIZoJbrJnvJbrMnvJbrQb4Jb8RZrJeAbAnJgJnFbJgScAnJgrATrJgvHZ8JgvMn4JlJlFbJlLiQXJlLjOnJlRbOlJlvNXoJlvRl3Jl4AcrJl8AUoJl8MnrJnFnMlJnHgGbJnoDT8JnoFV8JnoGgvJnoIT8JnoQToJnoRg3JnrCZ3JnrGgrJnrHTvJnrLf8JnrOX8JnvAT3JnvFZoJnvGT8JnvJl4JnvMT8JnvMX8JnvOXrJnvPX6JnvSX3JnvSZrJn3MT8Jn3MX8Jn3RTrLTATKnLTJnLTLTMXKnLTRTQlLToGb8LTrAZ8LTrCZ8LTrDb8LTrHT8LT3PX6LT4FZoLT$CTvLT$GgrLUvHX3LVoATrLVoAgoLVoJboLVoMX3LVoRg3LV8CZ3LV8FZoLV8GTvLXrDXoLXrFbrLXvAgvLXvFlrLXvLl3LXvRn6LX4Mb8LX8GT8LYCXMnLYrMnrLZoSTvLZrAZvLZrAloLZrFToLZrJXvLZrJboLZrJl4LZrLnrLZrMT8LZrOgvLZrRnvLZrST4LZvMX8LZvSlvLZ8AgoLZ8CT3LZ8JT8LZ8LV8LZ8LZoLZ8Lg8LZ8SV8LZ8SbrLZ$HT8LZ$Mn4La6CTvLbFbMnLbRYFTLbSnFZLboJT8LbrAT9LbrGb3LbrQb8LcrJX8LcrMXrLerHTvLerJbrLerNboLgrDb8LgrGZ8LgrHTrLgrMXrLgrSU8LgvJTrLgvLl3Lg6Ll3LhrLnrLhrMT8LhvAl4LiLnQXLkoAgrLkoJT8LkoJn4LlrSU8Ll3FZoLl3HTrLl3JX8Ll3JnoLl3LToLmLeFbLnDUFbLnLVAnLnrATrLnrAZoLnrAb8LnrAlrLnrGgvLnrJU8LnrLZrLnrLhrLnrMb8LnrOXrLnrSZ8LnvAb4LnvDTrLnvDl8LnvHTrLnvHbrLnvJT8LnvJU8LnvJbrLnvLhvLnvMX8LnvMb8LnvNnoLnvSU8Ln3Al3Ln4FZoLn4GT6Ln4JgvLn4LhrLn4MT8Ln4SToMToCZrMToJX8MToLX4MToLf8MToRg3MTrEloMTvGb6MT3BTrMT3Lb6MT8AcrMT8AgrMT8GZrMT8JnoMT8LnrMT8MX3MUOUAnMXAbFnMXoAloMXoJX8MXoLf8MXoLl8MXrAb8MXrDTvMXrGT8MXrGgrMXrHTrMXrLf8MXrMU8MXrOXvMXrQb8MXvGT8MXvHTrMXvLVoMX3AX3MX3Jn3MX3LhrMX3MX3MX4AlrMX4OboMX8GTvMX8GZrMX8GgrMX8JT8MX8JX8MX8LhrMX8MT8MYDUFbMYMgDbMbGnFfMbvLX4MbvLl3Mb8Mb8Mb8ST4MgGXCnMg8ATrMg8AgoMg8CZrMg8DTrMg8DboMg8HTrMg8JgrMg8LT8MloJXoMl8AhrMl8JT8MnLgAUMnoJXrMnoLX4MnoLhrMnoMT8MnrAl4MnrDb8MnrOTvMnrOgvMnrQb8MnrSU8MnvGgrMnvHZ8Mn3MToMn4DTrMn4LTrMn4Mg8NnBXAnOTFTFnOToAToOTrGgvOTrJX8OT3JXoOT6MTrOT8GgrOT8HTpOT8MToOUoHT8OUoJT8OUoLn3OXrAgoOXrDg8OXrMT8OXvSToOX6CTvOX8CZrOX8OgrOb6HgvOb8AToOb8MT8OcvLZ8OgvAlrOgvHTvOgvJTrOgvJnrOgvLZrOgvLn4OgvMT8OgvRTrOg8AZoOg8DbvOnrOXoOnvJn4OnvLhvOnvRTrOn3GgoOn3JnvOn6JbvOn8OTrPTGYFTPbBnFnPbGnDnPgDYQTPlrAnvPlrETvPlrLnvPlrMXvPlvFX4QTMTAnQTrJU8QYCnJlQYJlQlQbGTQbQb8JnrQb8LZoQb8LnvQb8MT8Qb8Ml8Qb8ST4QloAl4QloHZvQloJX8QloMn8QnJZOlRTrAZvRTrDTrRTvJn4RTvLhvRT4Jb8RZrAZrRZ8AkrRZ8JU8RZ8LV8RZ8LnvRbJlQXRg3GboRg3MnvRg8AZ8Rg8JboRg8Jl4RnLTCbRnvFl3RnvQb8SToAl4SToCZrSToFZoSToHXrSToJU8SToJgvSToJl4SToLhrSToMX3STrAlvSTrCT9STrCgrSTrGgrSTrHXrSTrHboSTrJnoSTrNboSTvLnrST4AZoST8Ab8ST8JT8SUoJn3SU6HZ#SU6JTvSU8Db8SU8HboSU8LgrSV8JT8SZrAcrSZrAl3SZrJT8SZrJnvSZrMT8SZvLUoSZ4FZoSZ8JnoSZ8RZrScoLnrScoMT8ScoMX8ScrAT4ScrAZ8ScrLZ8ScrLkvScvDb8ScvLf8ScvNToSgrFZrShvKnrSloHUoSloLnrSlrMXoSl8HgrSmrJUoSn3BX6","ATFlOn3ATLgrDYAT4MTAnAT8LTMnAYJnRTrAbGgJnrAbLV8LnAbvNTAnAeFbLg3AgOYMXoAlQbFboAnDboAfAnJgoJTBToDgAnBUJbAl3BboDUAnCTDlvLnCTFTrSnCYoQTLnDTwAbAnDUDTrSnDUHgHgrDX8LXFnDbJXAcrETvLTLnGTFTQbrGTMnGToGT3DUFbGUJlPX3GbQg8LnGboJbFnGb3GgAYGgAg8ScGgMbAXrGgvAbAnGnJTLnvGnvATFgHTDT6ATHTrDlJnHYLnMn8HZrSbJTHZ8LTFnHbFTJUoHgSeMT8HgrLjAnHgvAbAnHlFUrDlHnDgvAnHnHTFT3HnQTGnrJTAaMXvJTGbCn3JTOgrAnJXvAXMnJbMg8SnJbMnRg3Jb8LTMnJnAl3OnJnGYrQlJnJlQY3LTDlCn3LTJjLg3LTLgvFXLTMg3GTLV8HUOgLXFZLg3LXNXrMnLX8QXFnLX9AlMYLYLXPXrLZAbJU8LZDUJU8LZMXrSnLZ$AgFnLaPXrDULbFYrMnLbMn8LXLboJgJgLeFbLg3LgLZrSnLgOYAgoLhrRnJlLkCTrSnLkOnLhrLnFX%AYLnFZoJXLnHTvJbLnLloAbMTATLf8MTHgJn3MTMXrAXMT3MTFnMUITvFnMXFX%AYMXMXvFbMXrFTDbMYAcMX3MbLf8SnMb8JbFnMgMXrMTMgvAXFnMgvGgCmMnAloSnMnFnJTrOXvMXSnOX8HTMnObJT8ScObLZFl3ObMXCZoPTLgrQXPUFnoQXPU3RXJlPX3RkQXPbrJXQlPlrJbFnQUAhrDbQXGnCXvQYLnHlvQbLfLnvRTOgvJbRXJYrQlRYLnrQlRbLnrQlRlFT8JlRlFnrQXSTClCn3STHTrAnSTLZQlrSTMnGTrSToHgGbSTrGTDnSTvGXCnST3HgFbSU3HXAXSbAnJn3SbFT8LnScLfLnv","AT3JgJX8AT8FZoSnAT8JgFV8AT8LhrDbAZ8JT8DbAb8GgLhrAb8SkLnvAe8MT8SnAlMYJXLVAl3GYDTvAl3LfLnvBUDTvLl3CTOn3HTrCT3DUGgrCU8MT8AbCbFTrJUoCgrDb8MTDTLV8JX8DTLnLXQlDT8LZrSnDUQb8FZ8DUST4JnvDb8ScOUoDj6GbJl4GTLfCYMlGToAXvFnGboAXvLnGgAcrJn3GgvFnSToGnLf8JnvGn#HTDToHTLnFXJlHTvATFToHTvHTDToHTvMTAgoHT3STClvHT4AlFl6HT8HTDToHUoDgJTrHUoScMX3HbRZrMXoHboJg8LTHgDb8JTrHgMToLf8HgvLnLnoHnHn3HT4Hn6MgvAnJTJU8ScvJT3AaQT8JT8HTrAnJXrRg8AnJbAloMXoJbrATFToJbvMnoSnJgDb6GgvJgDb8MXoJgSX3JU8JguATFToJlPYLnQlJlQkDnLbJlQlFYJlJl8Lf8OTJnCTFnLbJnLTHXMnJnLXGXCnJnoFfRg3JnrMYRg3Jn3HgFl3KT8Dg8LnLTRlFnPTLTvPbLbvLVoSbrCZLXMY6HT3LXNU7DlrLXNXDTATLX8DX8LnLZDb8JU8LZMnoLhrLZSToJU8LZrLaLnrLZvJn3SnLZ8LhrSnLaJnoMT8LbFlrHTvLbrFTLnrLbvATLlvLb6OTFn3LcLnJZOlLeAT6Mn4LeJT3ObrLg6LXFlrLhrJg8LnLhvDlPX4LhvLfLnvLj6JTFT3LnFbrMXoLnQluCTvLnrQXCY6LnvLfLnvLnvMgLnvLnvSeLf8MTMbrJn3MT3JgST3MT8AnATrMT8LULnrMUMToCZrMUScvLf8MXoDT8SnMX6ATFToMX8AXMT8MX8FkMT8MX8HTrDUMX8ScoSnMYJT6CTvMgAcrMXoMg8SToAfMlvAXLg3MnFl3AnvOT3AnFl3OUoATHT8OU3RnLXrOXrOXrSnObPbvFn6Og8HgrSnOg8OX8DbPTvAgoJgPU3RYLnrPXrDnJZrPb8CTGgvPlrLTDlvPlvFUJnoQUvFXrQlQeMnoAl3QlrQlrSnRTFTrJUoSTDlLiLXSTFg6HT3STJgoMn4STrFTJTrSTrLZFl3ST4FnMXoSUrDlHUoScvHTvSnSfLkvMXo","AUoAcrMXoAZ8HboAg8AbOg6ATFgAg8AloMXoAl3AT8JTrAl8MX8MXoCT3SToJU8Cl8Db8MXoDT8HgrATrDboOT8MXoGTOTrATMnGT8LhrAZ8GnvFnGnQXHToGgvAcrHTvAXvLl3HbrAZoMXoHgBlFXLg3HgMnFXrSnHgrSb8JUoHn6HT8LgvITvATrJUoJUoLZrRnvJU8HT8Jb8JXvFX8QT8JXvLToJTrJYrQnGnQXJgrJnoATrJnoJU8ScvJnvMnvMXoLTCTLgrJXLTJlRTvQlLbRnJlQYvLbrMb8LnvLbvFn3RnoLdCVSTGZrLeSTvGXCnLg3MnoLn3MToLlrETvMT8SToAl3MbrDU6GTvMb8LX4LhrPlrLXGXCnSToLf8Rg3STrDb8LTrSTvLTHXMnSb3RYLnMnSgOg6ATFg","HUDlGnrQXrJTrHgLnrAcJYMb8DULc8LTvFgGnCk3Mg8JbAnLX4QYvFYHnMXrRUoJnGnvFnRlvFTJlQnoSTrBXHXrLYSUJgLfoMT8Se8DTrHbDb","AbDl8SToJU8An3RbAb8ST8DUSTrGnrAgoLbFU6Db8LTrMg8AaHT8Jb8ObDl8SToJU8Pb3RlvFYoJl"],O$0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*";function U$0(t){return t>=40?t=t+168-40:t>=19&&(t=t+97-19),(0,F$0.toUtf8String)([225,(t>>6)+132,(t&63)+128])}var b7=null;function aDe(t){if(b7==null&&(b7=[],N$0.forEach(function(e,n){n+=4;for(var a=0;a{"use strict";u();p();var z$0=gT&&gT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(gT,"__esModule",{value:!0});gT.langIt=void 0;var Wre=L2(),W$0="AbacoAbbaglioAbbinatoAbeteAbissoAbolireAbrasivoAbrogatoAccadereAccennoAccusatoAcetoneAchilleAcidoAcquaAcreAcrilicoAcrobataAcutoAdagioAddebitoAddomeAdeguatoAderireAdipeAdottareAdulareAffabileAffettoAffissoAffrantoAforismaAfosoAfricanoAgaveAgenteAgevoleAggancioAgireAgitareAgonismoAgricoloAgrumetoAguzzoAlabardaAlatoAlbatroAlberatoAlboAlbumeAlceAlcolicoAlettoneAlfaAlgebraAlianteAlibiAlimentoAllagatoAllegroAllievoAllodolaAllusivoAlmenoAlogenoAlpacaAlpestreAltalenaAlternoAlticcioAltroveAlunnoAlveoloAlzareAmalgamaAmanitaAmarenaAmbitoAmbratoAmebaAmericaAmetistaAmicoAmmassoAmmendaAmmirareAmmonitoAmoreAmpioAmpliareAmuletoAnacardoAnagrafeAnalistaAnarchiaAnatraAncaAncellaAncoraAndareAndreaAnelloAngeloAngolareAngustoAnimaAnnegareAnnidatoAnnoAnnuncioAnonimoAnticipoAnziApaticoAperturaApodeApparireAppetitoAppoggioApprodoAppuntoAprileArabicaArachideAragostaAraldicaArancioAraturaArazzoArbitroArchivioArditoArenileArgentoArgineArgutoAriaArmoniaArneseArredatoArringaArrostoArsenicoArsoArteficeArzilloAsciuttoAscoltoAsepsiAsetticoAsfaltoAsinoAsolaAspiratoAsproAssaggioAsseAssolutoAssurdoAstaAstenutoAsticeAstrattoAtavicoAteismoAtomicoAtonoAttesaAttivareAttornoAttritoAttualeAusilioAustriaAutistaAutonomoAutunnoAvanzatoAvereAvvenireAvvisoAvvolgereAzioneAzotoAzzimoAzzurroBabeleBaccanoBacinoBacoBadessaBadilataBagnatoBaitaBalconeBaldoBalenaBallataBalzanoBambinoBandireBaraondaBarbaroBarcaBaritonoBarlumeBaroccoBasilicoBassoBatostaBattutoBauleBavaBavosaBeccoBeffaBelgioBelvaBendaBenevoleBenignoBenzinaBereBerlinaBetaBibitaBiciBidoneBifidoBigaBilanciaBimboBinocoloBiologoBipedeBipolareBirbanteBirraBiscottoBisestoBisnonnoBisonteBisturiBizzarroBlandoBlattaBollitoBonificoBordoBoscoBotanicoBottinoBozzoloBraccioBradipoBramaBrancaBravuraBretellaBrevettoBrezzaBrigliaBrillanteBrindareBroccoloBrodoBronzinaBrulloBrunoBubboneBucaBudinoBuffoneBuioBulboBuonoBurloneBurrascaBussolaBustaCadettoCaducoCalamaroCalcoloCalesseCalibroCalmoCaloriaCambusaCamerataCamiciaCamminoCamolaCampaleCanapaCandelaCaneCaninoCanottoCantinaCapaceCapelloCapitoloCapogiroCapperoCapraCapsulaCarapaceCarcassaCardoCarismaCarovanaCarrettoCartolinaCasaccioCascataCasermaCasoCassoneCastelloCasualeCatastaCatenaCatrameCautoCavilloCedibileCedrataCefaloCelebreCellulareCenaCenoneCentesimoCeramicaCercareCertoCerumeCervelloCesoiaCespoCetoChelaChiaroChiccaChiedereChimeraChinaChirurgoChitarraCiaoCiclismoCifrareCignoCilindroCiottoloCircaCirrosiCitricoCittadinoCiuffoCivettaCivileClassicoClinicaCloroCoccoCodardoCodiceCoerenteCognomeCollareColmatoColoreColposoColtivatoColzaComaCometaCommandoComodoComputerComuneConcisoCondurreConfermaCongelareConiugeConnessoConoscereConsumoContinuoConvegnoCopertoCopioneCoppiaCopricapoCorazzaCordataCoricatoCorniceCorollaCorpoCorredoCorsiaCorteseCosmicoCostanteCotturaCovatoCratereCravattaCreatoCredereCremosoCrescitaCretaCricetoCrinaleCrisiCriticoCroceCronacaCrostataCrucialeCruscaCucireCuculoCuginoCullatoCupolaCuratoreCursoreCurvoCuscinoCustodeDadoDainoDalmataDamerinoDanielaDannosoDanzareDatatoDavantiDavveroDebuttoDecennioDecisoDeclinoDecolloDecretoDedicatoDefinitoDeformeDegnoDelegareDelfinoDelirioDeltaDemenzaDenotatoDentroDepositoDerapataDerivareDerogaDescrittoDesertoDesiderioDesumereDetersivoDevotoDiametroDicembreDiedroDifesoDiffusoDigerireDigitaleDiluvioDinamicoDinnanziDipintoDiplomaDipoloDiradareDireDirottoDirupoDisagioDiscretoDisfareDisgeloDispostoDistanzaDisumanoDitoDivanoDiveltoDividereDivoratoDobloneDocenteDoganaleDogmaDolceDomatoDomenicaDominareDondoloDonoDormireDoteDottoreDovutoDozzinaDragoDruidoDubbioDubitareDucaleDunaDuomoDupliceDuraturoEbanoEccessoEccoEclissiEconomiaEderaEdicolaEdileEditoriaEducareEgemoniaEgliEgoismoEgregioElaboratoElargireEleganteElencatoElettoElevareElficoElicaElmoElsaElusoEmanatoEmblemaEmessoEmiroEmotivoEmozioneEmpiricoEmuloEndemicoEnduroEnergiaEnfasiEnotecaEntrareEnzimaEpatiteEpilogoEpisodioEpocaleEppureEquatoreErarioErbaErbosoEredeEremitaErigereErmeticoEroeErosivoErranteEsagonoEsameEsanimeEsaudireEscaEsempioEsercitoEsibitoEsigenteEsistereEsitoEsofagoEsortatoEsosoEspansoEspressoEssenzaEssoEstesoEstimareEstoniaEstrosoEsultareEtilicoEtnicoEtruscoEttoEuclideoEuropaEvasoEvidenzaEvitatoEvolutoEvvivaFabbricaFaccendaFachiroFalcoFamigliaFanaleFanfaraFangoFantasmaFareFarfallaFarinosoFarmacoFasciaFastosoFasulloFaticareFatoFavolosoFebbreFecolaFedeFegatoFelpaFeltroFemminaFendereFenomenoFermentoFerroFertileFessuraFestivoFettaFeudoFiabaFiduciaFifaFiguratoFiloFinanzaFinestraFinireFioreFiscaleFisicoFiumeFlaconeFlamencoFleboFlemmaFloridoFluenteFluoroFobicoFocacciaFocosoFoderatoFoglioFolataFolcloreFolgoreFondenteFoneticoFoniaFontanaForbitoForchettaForestaFormicaFornaioForoFortezzaForzareFosfatoFossoFracassoFranaFrassinoFratelloFreccettaFrenataFrescoFrigoFrollinoFrondeFrugaleFruttaFucilataFucsiaFuggenteFulmineFulvoFumanteFumettoFumosoFuneFunzioneFuocoFurboFurgoneFuroreFusoFutileGabbianoGaffeGalateoGallinaGaloppoGamberoGammaGaranziaGarboGarofanoGarzoneGasdottoGasolioGastricoGattoGaudioGazeboGazzellaGecoGelatinaGelsoGemelloGemmatoGeneGenitoreGennaioGenotipoGergoGhepardoGhiaccioGhisaGialloGildaGineproGiocareGioielloGiornoGioveGiratoGironeGittataGiudizioGiuratoGiustoGlobuloGlutineGnomoGobbaGolfGomitoGommoneGonfioGonnaGovernoGracileGradoGraficoGrammoGrandeGrattareGravosoGraziaGrecaGreggeGrifoneGrigioGrinzaGrottaGruppoGuadagnoGuaioGuantoGuardareGufoGuidareIbernatoIconaIdenticoIdillioIdoloIdraIdricoIdrogenoIgieneIgnaroIgnoratoIlareIllesoIllogicoIlludereImballoImbevutoImboccoImbutoImmaneImmersoImmolatoImpaccoImpetoImpiegoImportoImprontaInalareInarcareInattivoIncantoIncendioInchinoIncisivoInclusoIncontroIncrocioIncuboIndagineIndiaIndoleIneditoInfattiInfilareInflittoIngaggioIngegnoIngleseIngordoIngrossoInnescoInodoreInoltrareInondatoInsanoInsettoInsiemeInsonniaInsulinaIntasatoInteroIntonacoIntuitoInumidireInvalidoInveceInvitoIperboleIpnoticoIpotesiIppicaIrideIrlandaIronicoIrrigatoIrrorareIsolatoIsotopoIstericoIstitutoIstriceItaliaIterareLabbroLabirintoLaccaLaceratoLacrimaLacunaLaddoveLagoLampoLancettaLanternaLardosoLargaLaringeLastraLatenzaLatinoLattugaLavagnaLavoroLegaleLeggeroLemboLentezzaLenzaLeoneLepreLesivoLessatoLestoLetteraleLevaLevigatoLiberoLidoLievitoLillaLimaturaLimitareLimpidoLineareLinguaLiquidoLiraLiricaLiscaLiteLitigioLivreaLocandaLodeLogicaLombareLondraLongevoLoquaceLorenzoLotoLotteriaLuceLucidatoLumacaLuminosoLungoLupoLuppoloLusingaLussoLuttoMacabroMacchinaMaceroMacinatoMadamaMagicoMagliaMagneteMagroMaiolicaMalafedeMalgradoMalintesoMalsanoMaltoMalumoreManaManciaMandorlaMangiareManifestoMannaroManovraMansardaMantideManubrioMappaMaratonaMarcireMarettaMarmoMarsupioMascheraMassaiaMastinoMaterassoMatricolaMattoneMaturoMazurcaMeandroMeccanicoMecenateMedesimoMeditareMegaMelassaMelisMelodiaMeningeMenoMensolaMercurioMerendaMerloMeschinoMeseMessereMestoloMetalloMetodoMettereMiagolareMicaMicelioMicheleMicroboMidolloMieleMiglioreMilanoMiliteMimosaMineraleMiniMinoreMirinoMirtilloMiscelaMissivaMistoMisurareMitezzaMitigareMitraMittenteMnemonicoModelloModificaModuloMoganoMogioMoleMolossoMonasteroMoncoMondinaMonetarioMonileMonotonoMonsoneMontatoMonvisoMoraMordereMorsicatoMostroMotivatoMotosegaMottoMovenzaMovimentoMozzoMuccaMucosaMuffaMughettoMugnaioMulattoMulinelloMultiploMummiaMuntoMuovereMuraleMusaMuscoloMusicaMutevoleMutoNababboNaftaNanometroNarcisoNariceNarratoNascereNastrareNaturaleNauticaNaviglioNebulosaNecrosiNegativoNegozioNemmenoNeofitaNerettoNervoNessunoNettunoNeutraleNeveNevroticoNicchiaNinfaNitidoNobileNocivoNodoNomeNominaNordicoNormaleNorvegeseNostranoNotareNotiziaNotturnoNovellaNucleoNullaNumeroNuovoNutrireNuvolaNuzialeOasiObbedireObbligoObeliscoOblioOboloObsoletoOccasioneOcchioOccidenteOccorrereOccultareOcraOculatoOdiernoOdorareOffertaOffrireOffuscatoOggettoOggiOgnunoOlandeseOlfattoOliatoOlivaOlogrammaOltreOmaggioOmbelicoOmbraOmegaOmissioneOndosoOnereOniceOnnivoroOnorevoleOntaOperatoOpinioneOppostoOracoloOrafoOrdineOrecchinoOreficeOrfanoOrganicoOrigineOrizzonteOrmaOrmeggioOrnativoOrologioOrrendoOrribileOrtensiaOrticaOrzataOrzoOsareOscurareOsmosiOspedaleOspiteOssaOssidareOstacoloOsteOtiteOtreOttagonoOttimoOttobreOvaleOvestOvinoOviparoOvocitoOvunqueOvviareOzioPacchettoPacePacificoPadellaPadronePaesePagaPaginaPalazzinaPalesarePallidoPaloPaludePandoroPannelloPaoloPaonazzoPapricaParabolaParcellaParerePargoloPariParlatoParolaPartireParvenzaParzialePassivoPasticcaPataccaPatologiaPattumePavonePeccatoPedalarePedonalePeggioPelosoPenarePendicePenisolaPennutoPenombraPensarePentolaPepePepitaPerbenePercorsoPerdonatoPerforarePergamenaPeriodoPermessoPernoPerplessoPersuasoPertugioPervasoPesatorePesistaPesoPestiferoPetaloPettinePetulantePezzoPiacerePiantaPiattinoPiccinoPicozzaPiegaPietraPifferoPigiamaPigolioPigroPilaPiliferoPillolaPilotaPimpantePinetaPinnaPinoloPioggiaPiomboPiramidePireticoPiritePirolisiPitonePizzicoPlaceboPlanarePlasmaPlatanoPlenarioPochezzaPoderosoPodismoPoesiaPoggiarePolentaPoligonoPollicePolmonitePolpettaPolsoPoltronaPolverePomicePomodoroPontePopolosoPorfidoPorosoPorporaPorrePortataPosaPositivoPossessoPostulatoPotassioPoterePranzoPrassiPraticaPreclusoPredicaPrefissoPregiatoPrelievoPremerePrenotarePreparatoPresenzaPretestoPrevalsoPrimaPrincipePrivatoProblemaProcuraProdurreProfumoProgettoProlungaPromessaPronomePropostaProrogaProtesoProvaPrudentePrugnaPruritoPsichePubblicoPudicaPugilatoPugnoPulcePulitoPulsantePuntarePupazzoPupillaPuroQuadroQualcosaQuasiQuerelaQuotaRaccoltoRaddoppioRadicaleRadunatoRafficaRagazzoRagioneRagnoRamarroRamingoRamoRandagioRantolareRapatoRapinaRappresoRasaturaRaschiatoRasenteRassegnaRastrelloRataRavvedutoRealeRecepireRecintoReclutaReconditoRecuperoRedditoRedimereRegalatoRegistroRegolaRegressoRelazioneRemareRemotoRennaReplicaReprimereReputareResaResidenteResponsoRestauroReteRetinaRetoricaRettificaRevocatoRiassuntoRibadireRibelleRibrezzoRicaricaRiccoRicevereRiciclatoRicordoRicredutoRidicoloRidurreRifasareRiflessoRiformaRifugioRigareRigettatoRighelloRilassatoRilevatoRimanereRimbalzoRimedioRimorchioRinascitaRincaroRinforzoRinnovoRinomatoRinsavitoRintoccoRinunciaRinvenireRiparatoRipetutoRipienoRiportareRipresaRipulireRisataRischioRiservaRisibileRisoRispettoRistoroRisultatoRisvoltoRitardoRitegnoRitmicoRitrovoRiunioneRivaRiversoRivincitaRivoltoRizomaRobaRoboticoRobustoRocciaRocoRodaggioRodereRoditoreRogitoRollioRomanticoRompereRonzioRosolareRospoRotanteRotondoRotulaRovescioRubizzoRubricaRugaRullinoRumineRumorosoRuoloRupeRussareRusticoSabatoSabbiareSabotatoSagomaSalassoSaldaturaSalgemmaSalivareSalmoneSaloneSaltareSalutoSalvoSapereSapidoSaporitoSaracenoSarcasmoSartoSassosoSatelliteSatiraSatolloSaturnoSavanaSavioSaziatoSbadiglioSbalzoSbancatoSbarraSbattereSbavareSbendareSbirciareSbloccatoSbocciatoSbrinareSbruffoneSbuffareScabrosoScadenzaScalaScambiareScandaloScapolaScarsoScatenareScavatoSceltoScenicoScettroSchedaSchienaSciarpaScienzaScindereScippoSciroppoScivoloSclerareScodellaScolpitoScompartoSconfortoScoprireScortaScossoneScozzeseScribaScrollareScrutinioScuderiaScultoreScuolaScuroScusareSdebitareSdoganareSeccaturaSecondoSedanoSeggiolaSegnalatoSegregatoSeguitoSelciatoSelettivoSellaSelvaggioSemaforoSembrareSemeSeminatoSempreSensoSentireSepoltoSequenzaSerataSerbatoSerenoSerioSerpenteSerraglioServireSestinaSetolaSettimanaSfaceloSfaldareSfamatoSfarzosoSfaticatoSferaSfidaSfilatoSfingeSfocatoSfoderareSfogoSfoltireSforzatoSfrattoSfruttatoSfuggitoSfumareSfusoSgabelloSgarbatoSgonfiareSgorbioSgrassatoSguardoSibiloSiccomeSierraSiglaSignoreSilenzioSillabaSimboloSimpaticoSimulatoSinfoniaSingoloSinistroSinoSintesiSinusoideSiparioSismaSistoleSituatoSlittaSlogaturaSlovenoSmarritoSmemoratoSmentitoSmeraldoSmilzoSmontareSmottatoSmussatoSnellireSnervatoSnodoSobbalzoSobrioSoccorsoSocialeSodaleSoffittoSognoSoldatoSolenneSolidoSollazzoSoloSolubileSolventeSomaticoSommaSondaSonettoSonniferoSopireSoppesoSopraSorgereSorpassoSorrisoSorsoSorteggioSorvolatoSospiroSostaSottileSpadaSpallaSpargereSpatolaSpaventoSpazzolaSpecieSpedireSpegnereSpelaturaSperanzaSpessoreSpettraleSpezzatoSpiaSpigolosoSpillatoSpinosoSpiraleSplendidoSportivoSposoSprangaSprecareSpronatoSpruzzoSpuntinoSquilloSradicareSrotolatoStabileStaccoStaffaStagnareStampatoStantioStarnutoStaseraStatutoSteloSteppaSterzoStilettoStimaStirpeStivaleStizzosoStonatoStoricoStrappoStregatoStriduloStrozzareStruttoStuccareStufoStupendoSubentroSuccosoSudoreSuggeritoSugoSultanoSuonareSuperboSupportoSurgelatoSurrogatoSussurroSuturaSvagareSvedeseSveglioSvelareSvenutoSveziaSviluppoSvistaSvizzeraSvoltaSvuotareTabaccoTabulatoTacciareTaciturnoTaleTalismanoTamponeTanninoTaraTardivoTargatoTariffaTarpareTartarugaTastoTatticoTavernaTavolataTazzaTecaTecnicoTelefonoTemerarioTempoTemutoTendoneTeneroTensioneTentacoloTeoremaTermeTerrazzoTerzettoTesiTesseratoTestatoTetroTettoiaTifareTigellaTimbroTintoTipicoTipografoTiraggioTiroTitanioTitoloTitubanteTizioTizzoneToccareTollerareToltoTombolaTomoTonfoTonsillaTopazioTopologiaToppaTorbaTornareTorroneTortoraToscanoTossireTostaturaTotanoTraboccoTracheaTrafilaTragediaTralcioTramontoTransitoTrapanoTrarreTraslocoTrattatoTraveTrecciaTremolioTrespoloTributoTrichecoTrifoglioTrilloTrinceaTrioTristezzaTrituratoTrivellaTrombaTronoTroppoTrottolaTrovareTruccatoTubaturaTuffatoTulipanoTumultoTunisiaTurbareTurchinoTutaTutelaUbicatoUccelloUccisoreUdireUditivoUffaUfficioUgualeUlisseUltimatoUmanoUmileUmorismoUncinettoUngereUnghereseUnicornoUnificatoUnisonoUnitarioUnteUovoUpupaUraganoUrgenzaUrloUsanzaUsatoUscitoUsignoloUsuraioUtensileUtilizzoUtopiaVacanteVaccinatoVagabondoVagliatoValangaValgoValicoVallettaValorosoValutareValvolaVampataVangareVanitosoVanoVantaggioVanveraVaporeVaranoVarcatoVarianteVascaVedettaVedovaVedutoVegetaleVeicoloVelcroVelinaVellutoVeloceVenatoVendemmiaVentoVeraceVerbaleVergognaVerificaVeroVerrucaVerticaleVescicaVessilloVestaleVeteranoVetrinaVetustoViandanteVibranteVicendaVichingoVicinanzaVidimareVigiliaVignetoVigoreVileVillanoViminiVincitoreViolaViperaVirgolaVirologoVirulentoViscosoVisioneVispoVissutoVisuraVitaVitelloVittimaVivandaVividoViziareVoceVogaVolatileVolereVolpeVoragineVulcanoZampognaZannaZappatoZatteraZavorraZefiroZelanteZeloZenzeroZerbinoZibettoZincoZirconeZittoZollaZoticoZuccheroZufoloZuluZuppa",Hk=null;function iDe(t){if(Hk==null&&(Hk=W$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Wre.Wordlist.check(t)!=="0x5c1362d88fd4cf614a96f3234941d29f7d37c08c5292fde03bf62c2db6ff7620"))throw Hk=null,new Error("BIP39 Wordlist for it (Italian) FAILED")}var q$0=function(t){z$0(e,t);function e(){return t.call(this,"it")||this}return e.prototype.getWord=function(n){return iDe(this),Hk[n]},e.prototype.getWordIndex=function(n){return iDe(this),Hk.indexOf(n)},e}(Wre.Wordlist),sDe=new q$0;gT.langIt=sDe;Wre.Wordlist.register(sDe)});var uDe=D(Y3=>{"use strict";u();p();var j$0=Y3&&Y3.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(Y3,"__esModule",{value:!0});Y3.langZhTw=Y3.langZhCn=void 0;var G$0=_i(),zk=L2(),qre="}aE#4A=Yv&co#4N#6G=cJ&SM#66|/Z#4t&kn~46#4K~4q%b9=IR#7l,mB#7W_X2*dl}Uo~7s}Uf&Iw#9c&cw~6O&H6&wx&IG%v5=IQ~8a&Pv#47$PR&50%Ko&QM&3l#5f,D9#4L|/H&tQ;v0~6n]nN?";function cDe(t){if(vT[t.locale]===null){vT[t.locale]=[];for(var e=0,n=0;n<2048;n++){var a=V$0.indexOf(qre[n*3]),r=[228+(a>>2),128+jre.indexOf(qre[n*3+1]),128+jre.indexOf(qre[n*3+2])];if(t.locale==="zh_tw")for(var f=a%4,i=f;i<3;i++)r[i]=jre.indexOf(K$0[e++])+(i==0?228:128);vT[t.locale].push((0,G$0.toUtf8String)(r))}if(zk.Wordlist.check(t)!==Q$0[t.locale])throw vT[t.locale]=null,new Error("BIP39 Wordlist for "+t.locale+" (Chinese) FAILED")}}var dDe=function(t){j$0(e,t);function e(n){return t.call(this,"zh_"+n)||this}return e.prototype.getWord=function(n){return cDe(this),vT[this.locale][n]},e.prototype.getWordIndex=function(n){return cDe(this),vT[this.locale].indexOf(n)},e.prototype.split=function(n){return n=n.replace(/(?:\u3000| )+/g,""),n.split("")},e}(zk.Wordlist),Gre=new dDe("cn");Y3.langZhCn=Gre;zk.Wordlist.register(Gre);zk.Wordlist.register(Gre,"zh");var lDe=new dDe("tw");Y3.langZhTw=lDe;zk.Wordlist.register(lDe)});var pDe=D(pH=>{"use strict";u();p();Object.defineProperty(pH,"__esModule",{value:!0});pH.wordlists=void 0;var Y$0=UBe(),$$0=WBe(),J$0=QBe(),X$0=XBe(),Z$0=nDe(),eJ0=fDe(),tJ0=oDe(),Kre=uDe();pH.wordlists={cz:Y$0.langCz,en:$$0.langEn,es:J$0.langEs,fr:X$0.langFr,it:tJ0.langIt,ja:Z$0.langJa,ko:eJ0.langKo,zh:Kre.langZhCn,zh_cn:Kre.langZhCn,zh_tw:Kre.langZhTw}});var Qre=D($3=>{"use strict";u();p();Object.defineProperty($3,"__esModule",{value:!0});$3.wordlists=$3.Wordlist=$3.logger=void 0;var hDe=L2();Object.defineProperty($3,"logger",{enumerable:!0,get:function(){return hDe.logger}});Object.defineProperty($3,"Wordlist",{enumerable:!0,get:function(){return hDe.Wordlist}});var nJ0=pDe();Object.defineProperty($3,"wordlists",{enumerable:!0,get:function(){return nJ0.wordlists}})});var bDe=D(hH=>{"use strict";u();p();Object.defineProperty(hH,"__esModule",{value:!0});hH.version=void 0;hH.version="hdnode/5.7.0"});var mH=D(Ko=>{"use strict";u();p();Object.defineProperty(Ko,"__esModule",{value:!0});Ko.getAccountPath=Ko.isValidMnemonic=Ko.entropyToMnemonic=Ko.mnemonicToEntropy=Ko.mnemonicToSeed=Ko.HDNode=Ko.defaultPath=void 0;var vDe=tH(),gr=Vt(),wDe=ia(),Wk=_i(),aJ0=iH(),Go=Ba(),mDe=kk(),F2=p7(),rJ0=P2(),yDe=Qre(),fJ0=Ft(),iJ0=bDe(),qk=new fJ0.Logger(iJ0.version),sJ0=wDe.BigNumber.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),oJ0=(0,Wk.toUtf8Bytes)("Bitcoin seed"),TT=2147483648;function TDe(t){return(1<=256)throw new Error("Depth too large!");return gDe((0,gr.concat)([this.privateKey!=null?"0x0488ADE4":"0x0488B21E",(0,gr.hexlify)(this.depth),this.parentFingerprint,(0,gr.hexZeroPad)((0,gr.hexlify)(this.index),4),this.chainCode,this.privateKey!=null?(0,gr.concat)(["0x00",this.privateKey]):this.publicKey]))},enumerable:!1,configurable:!0}),t.prototype.neuter=function(){return new t(wT,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)},t.prototype._derive=function(e){if(e>4294967295)throw new Error("invalid index - "+String(e));var n=this.path;n&&(n+="/"+(e&~TT));var a=new Uint8Array(37);if(e&TT){if(!this.privateKey)throw new Error("cannot derive child of neutered node");a.set((0,gr.arrayify)(this.privateKey),1),n&&(n+="'")}else a.set((0,gr.arrayify)(this.publicKey));for(var r=24;r>=0;r-=8)a[33+(r>>3)]=e>>24-r&255;var f=(0,gr.arrayify)((0,F2.computeHmac)(F2.SupportedAlgorithm.sha512,this.chainCode,a)),i=f.slice(0,32),s=f.slice(32),o=null,c=null;if(this.privateKey)o=bH(wDe.BigNumber.from(i).add(this.privateKey).mod(sJ0));else{var d=new mDe.SigningKey((0,gr.hexlify)(i));c=d._addPoint(this.publicKey)}var l=n,h=this.mnemonic;return h&&(l=Object.freeze({phrase:h.phrase,path:n,locale:h.locale||"en"})),new t(wT,o,c,this.fingerprint,bH(s),e,this.depth+1,l)},t.prototype.derivePath=function(e){var n=e.split("/");if(n.length===0||n[0]==="m"&&this.depth!==0)throw new Error("invalid path - "+e);n[0]==="m"&&n.shift();for(var a=this,r=0;r=TT)throw new Error("invalid path index - "+f);a=a._derive(TT+i)}else if(f.match(/^[0-9]+$/)){var i=parseInt(f);if(i>=TT)throw new Error("invalid path index - "+f);a=a._derive(i)}else throw new Error("invalid path component - "+f)}return a},t._fromSeed=function(e,n){var a=(0,gr.arrayify)(e);if(a.length<16||a.length>64)throw new Error("invalid seed");var r=(0,gr.arrayify)((0,F2.computeHmac)(F2.SupportedAlgorithm.sha512,oJ0,a));return new t(wT,bH(r.slice(0,32)),null,"0x00000000",bH(r.slice(32)),0,0,n)},t.fromMnemonic=function(e,n,a){return a=Vre(a),e=EDe(Yre(e,a),a),t._fromSeed(xDe(e,n),{phrase:e,path:"m",locale:a.locale})},t.fromSeed=function(e){return t._fromSeed(e,null)},t.fromExtendedKey=function(e){var n=vDe.Base58.decode(e);(n.length!==82||gDe(n.slice(0,78))!==e)&&qk.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");var a=n[4],r=(0,gr.hexlify)(n.slice(5,9)),f=parseInt((0,gr.hexlify)(n.slice(9,13)).substring(2),16),i=(0,gr.hexlify)(n.slice(13,45)),s=n.slice(45,78);switch((0,gr.hexlify)(n.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new t(wT,null,(0,gr.hexlify)(s),r,i,f,a,null);case"0x0488ade4":case"0x04358394 ":if(s[0]!==0)break;return new t(wT,(0,gr.hexlify)(s.slice(1)),null,r,i,f,a,null)}return qk.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")},t}();Ko.HDNode=dJ0;function xDe(t,e){e||(e="");var n=(0,Wk.toUtf8Bytes)("mnemonic"+e,Wk.UnicodeNormalizationForm.NFKD);return(0,aJ0.pbkdf2)((0,Wk.toUtf8Bytes)(t,Wk.UnicodeNormalizationForm.NFKD),n,2048,64,"sha512")}Ko.mnemonicToSeed=xDe;function Yre(t,e){e=Vre(e),qk.checkNormalize();var n=e.split(t);if(n.length%3!==0)throw new Error("invalid mnemonic");for(var a=(0,gr.arrayify)(new Uint8Array(Math.ceil(11*n.length/8))),r=0,f=0;f>3]|=1<<7-r%8),r++}var o=32*n.length/3,c=n.length/3,d=TDe(c),l=(0,gr.arrayify)((0,F2.sha256)(a.slice(0,o/8)))[0]&d;if(l!==(a[a.length-1]&d))throw new Error("invalid checksum");return(0,gr.hexlify)(a.slice(0,o/8))}Ko.mnemonicToEntropy=Yre;function EDe(t,e){if(e=Vre(e),t=(0,gr.arrayify)(t),t.length%4!==0||t.length<16||t.length>32)throw new Error("invalid entropy");for(var n=[0],a=11,r=0;r8?(n[n.length-1]<<=8,n[n.length-1]|=t[r],a-=8):(n[n.length-1]<<=a,n[n.length-1]|=t[r]>>8-a,n.push(t[r]&cJ0(8-a)),a+=3);var f=t.length/4,i=(0,gr.arrayify)((0,F2.sha256)(t))[0]&TDe(f);return n[n.length-1]<<=f,n[n.length-1]|=i>>8-f,e.join(n.map(function(s){return e.getWord(s)}))}Ko.entropyToMnemonic=EDe;function lJ0(t,e){try{return Yre(t,e),!0}catch{}return!1}Ko.isValidMnemonic=lJ0;function uJ0(t){return(typeof t!="number"||t<0||t>=TT||t%1)&&qk.throwArgumentError("invalid account index","index",t),"m/44'/60'/"+t+"'/0/0"}Ko.getAccountPath=uJ0});var _De=D(yH=>{"use strict";u();p();Object.defineProperty(yH,"__esModule",{value:!0});yH.version=void 0;yH.version="random/5.7.0"});var IDe=D(vH=>{"use strict";u();p();Object.defineProperty(vH,"__esModule",{value:!0});vH.randomBytes=void 0;var pJ0=Vt(),CDe=Ft(),hJ0=_De(),$re=new CDe.Logger(hJ0.version);function bJ0(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}var ADe=bJ0(),gH=ADe.crypto||ADe.msCrypto;(!gH||!gH.getRandomValues)&&($re.warn("WARNING: Missing strong random number source"),gH={getRandomValues:function(t){return $re.throwError("no secure random source avaialble",CDe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});function mJ0(t){(t<=0||t>1024||t%1||t!=t)&&$re.throwArgumentError("invalid length","length",t);var e=new Uint8Array(t);return gH.getRandomValues(e),(0,pJ0.arrayify)(e)}vH.randomBytes=mJ0});var kDe=D(wH=>{"use strict";u();p();Object.defineProperty(wH,"__esModule",{value:!0});wH.shuffled=void 0;function yJ0(t){t=t.slice();for(var e=t.length-1;e>0;e--){var n=Math.floor(Math.random()*(e+1)),a=t[e];t[e]=t[n],t[n]=a}return t}wH.shuffled=yJ0});var jk=D(xT=>{"use strict";u();p();Object.defineProperty(xT,"__esModule",{value:!0});xT.shuffled=xT.randomBytes=void 0;var gJ0=IDe();Object.defineProperty(xT,"randomBytes",{enumerable:!0,get:function(){return gJ0.randomBytes}});var vJ0=kDe();Object.defineProperty(xT,"shuffled",{enumerable:!0,get:function(){return vJ0.shuffled}})});var Xre=D((Jre,SDe)=>{"use strict";u();p();(function(t){function e(g){return parseInt(g)===g}function n(g){if(!e(g.length))return!1;for(var B=0;B255)return!1;return!0}function a(g,B){if(g.buffer&&ArrayBuffer.isView(g)&&g.name==="Uint8Array")return B&&(g.slice?g=g.slice():g=Array.prototype.slice.call(g)),g;if(Array.isArray(g)){if(!n(g))throw new Error("Array contains invalid value: "+g);return new Uint8Array(g)}if(e(g.length)&&n(g))return new Uint8Array(g);throw new Error("unsupported array-like object")}function r(g){return new Uint8Array(g)}function f(g,B,M,k,q){(k!=null||q!=null)&&(g.slice?g=g.slice(k,q):g=Array.prototype.slice.call(g,k,q)),B.set(g,M)}var i=function(){function g(M){var k=[],q=0;for(M=encodeURI(M);q191&&ee<224?(k.push(String.fromCharCode((ee&31)<<6|M[q+1]&63)),q+=2):(k.push(String.fromCharCode((ee&15)<<12|(M[q+1]&63)<<6|M[q+2]&63)),q+=3)}return k.join("")}return{toBytes:g,fromBytes:B}}(),s=function(){function g(k){for(var q=[],ee=0;ee>4]+B[U&15])}return q.join("")}return{toBytes:g,fromBytes:M}}(),o={16:10,24:12,32:14},c=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],d=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],l=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],h=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],y=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],v=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],S=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],O=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],F=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],z=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],W=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],j=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],Q=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],V=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],X=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function K(g){for(var B=[],M=0;M>2,this._Ke[ee][B%4]=q[B],this._Kd[g-ee][B%4]=q[B];for(var U=0,J=k,Z;J>16&255]<<24^d[Z>>8&255]<<16^d[Z&255]<<8^d[Z>>24&255]^c[U]<<24,U+=1,k!=8)for(var B=1;B>8&255]<<8^d[Z>>16&255]<<16^d[Z>>24&255]<<24;for(var B=k/2+1;B>2,ue=J%4,this._Ke[ne][ue]=q[B],this._Kd[g-ne][ue]=q[B++],J++}for(var ne=1;ne>24&255]^Q[Z>>16&255]^V[Z>>8&255]^X[Z&255]},G.prototype.encrypt=function(g){if(g.length!=16)throw new Error("invalid plaintext size (must be 16 bytes)");for(var B=this._Ke.length-1,M=[0,0,0,0],k=K(g),q=0;q<4;q++)k[q]^=this._Ke[0][q];for(var ee=1;ee>24&255]^y[k[(q+1)%4]>>16&255]^v[k[(q+2)%4]>>8&255]^S[k[(q+3)%4]&255]^this._Ke[ee][q];k=M.slice()}for(var U=r(16),J,q=0;q<4;q++)J=this._Ke[B][q],U[4*q]=(d[k[q]>>24&255]^J>>24)&255,U[4*q+1]=(d[k[(q+1)%4]>>16&255]^J>>16)&255,U[4*q+2]=(d[k[(q+2)%4]>>8&255]^J>>8)&255,U[4*q+3]=(d[k[(q+3)%4]&255]^J)&255;return U},G.prototype.decrypt=function(g){if(g.length!=16)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var B=this._Kd.length-1,M=[0,0,0,0],k=K(g),q=0;q<4;q++)k[q]^=this._Kd[0][q];for(var ee=1;ee>24&255]^F[k[(q+3)%4]>>16&255]^z[k[(q+2)%4]>>8&255]^W[k[(q+1)%4]&255]^this._Kd[ee][q];k=M.slice()}for(var U=r(16),J,q=0;q<4;q++)J=this._Kd[B][q],U[4*q]=(l[k[q]>>24&255]^J>>24)&255,U[4*q+1]=(l[k[(q+3)%4]>>16&255]^J>>16)&255,U[4*q+2]=(l[k[(q+2)%4]>>8&255]^J>>8)&255,U[4*q+3]=(l[k[(q+1)%4]&255]^J)&255;return U};var R=function(g){if(!(this instanceof R))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new G(g)};R.prototype.encrypt=function(g){if(g=a(g),g.length%16!==0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var B=r(g.length),M=r(16),k=0;k=0;--B)this._counter[B]=g%256,g=g>>8},m.prototype.setBytes=function(g){if(g=a(g,!0),g.length!=16)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=g},m.prototype.increment=function(){for(var g=15;g>=0;g--)if(this._counter[g]===255)this._counter[g]=0;else{this._counter[g]++;break}};var A=function(g,B){if(!(this instanceof A))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",B instanceof m||(B=new m(B)),this._counter=B,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new G(g)};A.prototype.encrypt=function(g){for(var B=a(g,!0),M=0;M16)throw new Error("PKCS#7 padding byte out of range");for(var M=g.length-B,k=0;k{"use strict";u();p();Object.defineProperty(TH,"__esModule",{value:!0});TH.version=void 0;TH.version="json-wallets/5.7.0"});var efe=D(z5=>{"use strict";u();p();Object.defineProperty(z5,"__esModule",{value:!0});z5.uuidV4=z5.searchPath=z5.getPassword=z5.zpad=z5.looseArrayify=void 0;var xH=Vt(),RDe=_i();function wJ0(t){return typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),(0,xH.arrayify)(t)}z5.looseArrayify=wJ0;function TJ0(t,e){for(t=String(t);t.length{"use strict";u();p();var AJ0=N2&&N2.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),CJ0=N2&&N2.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(N2,"__esModule",{value:!0});N2.decrypt=N2.CrowdsaleAccount=void 0;var MDe=CJ0(Xre()),IJ0=Bo(),BDe=Vt(),kJ0=O1(),SJ0=iH(),RJ0=_i(),MJ0=Ba(),BJ0=Ft(),DJ0=Zre(),PJ0=new BJ0.Logger(DJ0.version),EH=efe(),DDe=function(t){AJ0(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isCrowdsaleAccount=function(n){return!!(n&&n._isCrowdsaleAccount)},e}(MJ0.Description);N2.CrowdsaleAccount=DDe;function LJ0(t,e){var n=JSON.parse(t);e=(0,EH.getPassword)(e);var a=(0,IJ0.getAddress)((0,EH.searchPath)(n,"ethaddr")),r=(0,EH.looseArrayify)((0,EH.searchPath)(n,"encseed"));(!r||r.length%16!==0)&&PJ0.throwArgumentError("invalid encseed","json",t);for(var f=(0,BDe.arrayify)((0,SJ0.pbkdf2)(e,e,2e3,32,"sha256")).slice(0,16),i=r.slice(0,16),s=r.slice(16),o=new MDe.default.ModeOfOperation.cbc(f,i),c=MDe.default.padding.pkcs7.strip((0,BDe.arrayify)(o.decrypt(s))),d="",l=0;l{"use strict";u();p();Object.defineProperty(J3,"__esModule",{value:!0});J3.getJsonWalletAddress=J3.isKeystoreWallet=J3.isCrowdsaleWallet=void 0;var LDe=Bo();function FDe(t){var e=null;try{e=JSON.parse(t)}catch{return!1}return e.encseed&&e.ethaddr}J3.isCrowdsaleWallet=FDe;function NDe(t){var e=null;try{e=JSON.parse(t)}catch{return!1}return!(!e.version||parseInt(e.version)!==e.version||parseInt(e.version)!==3)}J3.isKeystoreWallet=NDe;function FJ0(t){if(FDe(t))try{return(0,LDe.getAddress)(JSON.parse(t).ethaddr)}catch{return null}if(NDe(t))try{return(0,LDe.getAddress)(JSON.parse(t).address)}catch{return null}return null}J3.getJsonWalletAddress=FJ0});var HDe=D((tfe,UDe)=>{"use strict";u();p();(function(t){function n(y){let v=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),S=1779033703,O=3144134277,F=1013904242,z=2773480762,W=1359893119,j=2600822924,Q=528734635,V=1541459225,X=new Uint32Array(64);function K(A){let P=0,L=A.length;for(;L>=64;){let x=S,g=O,B=F,M=z,k=W,q=j,ee=Q,U=V,J,Z,ne,ue,Y;for(Z=0;Z<16;Z++)ne=P+Z*4,X[Z]=(A[ne]&255)<<24|(A[ne+1]&255)<<16|(A[ne+2]&255)<<8|A[ne+3]&255;for(Z=16;Z<64;Z++)J=X[Z-2],ue=(J>>>17|J<<15)^(J>>>19|J<<13)^J>>>10,J=X[Z-15],Y=(J>>>7|J<<25)^(J>>>18|J<<14)^J>>>3,X[Z]=(ue+X[Z-7]|0)+(Y+X[Z-16]|0)|0;for(Z=0;Z<64;Z++)ue=(((k>>>6|k<<26)^(k>>>11|k<<21)^(k>>>25|k<<7))+(k&q^~k&ee)|0)+(U+(v[Z]+X[Z]|0)|0)|0,Y=((x>>>2|x<<30)^(x>>>13|x<<19)^(x>>>22|x<<10))+(x&g^x&B^g&B)|0,U=ee,ee=q,q=k,k=M+ue|0,M=B,B=g,g=x,x=ue+Y|0;S=S+x|0,O=O+g|0,F=F+B|0,z=z+M|0,W=W+k|0,j=j+q|0,Q=Q+ee|0,V=V+U|0,P+=64,L-=64}}K(y);let G,R=y.length%64,T=y.length/536870912|0,N=y.length<<3,w=R<56?56:120,m=y.slice(y.length-R,y.length);for(m.push(128),G=R+1;G>>24&255),m.push(T>>>16&255),m.push(T>>>8&255),m.push(T>>>0&255),m.push(N>>>24&255),m.push(N>>>16&255),m.push(N>>>8&255),m.push(N>>>0&255),K(m),[S>>>24&255,S>>>16&255,S>>>8&255,S>>>0&255,O>>>24&255,O>>>16&255,O>>>8&255,O>>>0&255,F>>>24&255,F>>>16&255,F>>>8&255,F>>>0&255,z>>>24&255,z>>>16&255,z>>>8&255,z>>>0&255,W>>>24&255,W>>>16&255,W>>>8&255,W>>>0&255,j>>>24&255,j>>>16&255,j>>>8&255,j>>>0&255,Q>>>24&255,Q>>>16&255,Q>>>8&255,Q>>>0&255,V>>>24&255,V>>>16&255,V>>>8&255,V>>>0&255]}function a(y,v,S){y=y.length<=64?y:n(y);let O=64+v.length+4,F=new Array(O),z=new Array(64),W,j=[];for(W=0;W<64;W++)F[W]=54;for(W=0;W=O-4;V--){if(F[V]++,F[V]<=255)return;F[V]=0}}for(;S>=32;)Q(),j=j.concat(n(z.concat(n(F)))),S-=32;return S>0&&(Q(),j=j.concat(n(z.concat(n(F))).slice(0,S))),j}function r(y,v,S,O,F){let z;for(o(y,(2*S-1)*16,F,0,16),z=0;z<2*S;z++)s(y,z*16,F,16),i(F,O),o(F,0,y,v+z*16,16);for(z=0;z>>32-v}function i(y,v){o(y,0,v,0,16);for(let S=8;S>0;S-=2)v[4]^=f(v[0]+v[12],7),v[8]^=f(v[4]+v[0],9),v[12]^=f(v[8]+v[4],13),v[0]^=f(v[12]+v[8],18),v[9]^=f(v[5]+v[1],7),v[13]^=f(v[9]+v[5],9),v[1]^=f(v[13]+v[9],13),v[5]^=f(v[1]+v[13],18),v[14]^=f(v[10]+v[6],7),v[2]^=f(v[14]+v[10],9),v[6]^=f(v[2]+v[14],13),v[10]^=f(v[6]+v[2],18),v[3]^=f(v[15]+v[11],7),v[7]^=f(v[3]+v[15],9),v[11]^=f(v[7]+v[3],13),v[15]^=f(v[11]+v[7],18),v[1]^=f(v[0]+v[3],7),v[2]^=f(v[1]+v[0],9),v[3]^=f(v[2]+v[1],13),v[0]^=f(v[3]+v[2],18),v[6]^=f(v[5]+v[4],7),v[7]^=f(v[6]+v[5],9),v[4]^=f(v[7]+v[6],13),v[5]^=f(v[4]+v[7],18),v[11]^=f(v[10]+v[9],7),v[8]^=f(v[11]+v[10],9),v[9]^=f(v[8]+v[11],13),v[10]^=f(v[9]+v[8],18),v[12]^=f(v[15]+v[14],7),v[13]^=f(v[12]+v[15],9),v[14]^=f(v[13]+v[12],13),v[15]^=f(v[14]+v[13],18);for(let S=0;S<16;++S)y[S]+=v[S]}function s(y,v,S,O){for(let F=0;F=256)return!1}return!0}function d(y,v){if(typeof y!="number"||y%1)throw new Error("invalid "+v);return y}function l(y,v,S,O,F,z,W){if(S=d(S,"N"),O=d(O,"r"),F=d(F,"p"),z=d(z,"dkLen"),S===0||S&S-1)throw new Error("N must be power of 2");if(S>2147483647/128/O)throw new Error("N too large");if(O>2147483647/128/F)throw new Error("r too large");if(!c(y))throw new Error("password must be an array or buffer");if(y=Array.prototype.slice.call(y),!c(v))throw new Error("salt must be an array or buffer");v=Array.prototype.slice.call(v);let j=a(y,v,F*128*O),Q=new Uint32Array(F*32*O);for(let k=0;kg&&(k=g);for(let ee=0;eeg&&(k=g);for(let ee=0;ee>0&255),j.push(Q[ee]>>8&255),j.push(Q[ee]>>16&255),j.push(Q[ee]>>24&255);let q=a(y,j,z);return W&&W(null,1,q),q}W&&B(M)};if(!W)for(;;){let k=M();if(k!=null)return k}M()}let h={scrypt:function(y,v,S,O,F,z,W){return new Promise(function(j,Q){let V=0;W&&W(0),l(y,v,S,O,F,z,function(X,K,G){if(X)Q(X);else if(G)W&&V!==1&&W(1),j(new Uint8Array(G));else if(W&&K!==V)return V=K,W(K)})})},syncScrypt:function(y,v,S,O,F,z){return new Uint8Array(l(y,v,S,O,F,z))}};typeof tfe<"u"?UDe.exports=h:typeof define=="function"&&define.amd?define(h):t&&(t.scrypt&&(t._scrypt=t.scrypt),t.scrypt=h)})(tfe)});var $De=D(xs=>{"use strict";u();p();var NJ0=xs&&xs.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),OJ0=xs&&xs.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},UJ0=xs&&xs.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();Object.defineProperty(Si,"__esModule",{value:!0});Si.decryptJsonWalletSync=Si.decryptJsonWallet=Si.getJsonWalletAddress=Si.isKeystoreWallet=Si.isCrowdsaleWallet=Si.encryptKeystore=Si.decryptKeystoreSync=Si.decryptKeystore=Si.decryptCrowdsale=void 0;var ffe=PDe();Object.defineProperty(Si,"decryptCrowdsale",{enumerable:!0,get:function(){return ffe.decrypt}});var y7=ODe();Object.defineProperty(Si,"getJsonWalletAddress",{enumerable:!0,get:function(){return y7.getJsonWalletAddress}});Object.defineProperty(Si,"isCrowdsaleWallet",{enumerable:!0,get:function(){return y7.isCrowdsaleWallet}});Object.defineProperty(Si,"isKeystoreWallet",{enumerable:!0,get:function(){return y7.isKeystoreWallet}});var Gk=$De();Object.defineProperty(Si,"decryptKeystore",{enumerable:!0,get:function(){return Gk.decrypt}});Object.defineProperty(Si,"decryptKeystoreSync",{enumerable:!0,get:function(){return Gk.decryptSync}});Object.defineProperty(Si,"encryptKeystore",{enumerable:!0,get:function(){return Gk.encrypt}});function VJ0(t,e,n){if((0,y7.isCrowdsaleWallet)(t)){n&&n(0);var a=(0,ffe.decrypt)(t,e);return n&&n(1),Promise.resolve(a)}return(0,y7.isKeystoreWallet)(t)?(0,Gk.decrypt)(t,e,n):Promise.reject(new Error("invalid JSON wallet"))}Si.decryptJsonWallet=VJ0;function YJ0(t,e){if((0,y7.isCrowdsaleWallet)(t))return(0,ffe.decrypt)(t,e);if((0,y7.isKeystoreWallet)(t))return(0,Gk.decryptSync)(t,e);throw new Error("invalid JSON wallet")}Si.decryptJsonWalletSync=YJ0});var JDe=D(AH=>{"use strict";u();p();Object.defineProperty(AH,"__esModule",{value:!0});AH.version=void 0;AH.version="wallet/5.7.0"});var cfe=D(Pc=>{"use strict";u();p();var $J0=Pc&&Pc.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),XDe=Pc&&Pc.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},ZDe=Pc&&Pc.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();Object.defineProperty(CH,"__esModule",{value:!0});CH.version=void 0;CH.version="networks/5.7.1"});var dfe=D(SH=>{"use strict";u();p();Object.defineProperty(SH,"__esModule",{value:!0});SH.getNetwork=void 0;var iX0=Ft(),sX0=aPe(),rPe=new iX0.Logger(sX0.version);function oX0(t){return t&&typeof t.renetwork=="function"}function E8(t){var e=function(n,a){a==null&&(a={});var r=[];if(n.InfuraProvider&&a.infura!=="-")try{r.push(new n.InfuraProvider(t,a.infura))}catch{}if(n.EtherscanProvider&&a.etherscan!=="-")try{r.push(new n.EtherscanProvider(t,a.etherscan))}catch{}if(n.AlchemyProvider&&a.alchemy!=="-")try{r.push(new n.AlchemyProvider(t,a.alchemy))}catch{}if(n.PocketProvider&&a.pocket!=="-"){var f=["goerli","ropsten","rinkeby","sepolia"];try{var i=new n.PocketProvider(t,a.pocket);i.network&&f.indexOf(i.network.name)===-1&&r.push(i)}catch{}}if(n.CloudflareProvider&&a.cloudflare!=="-")try{r.push(new n.CloudflareProvider(t))}catch{}if(n.AnkrProvider&&a.ankr!=="-")try{var f=["ropsten"],i=new n.AnkrProvider(t,a.ankr);i.network&&f.indexOf(i.network.name)===-1&&r.push(i)}catch{}if(r.length===0)return null;if(n.FallbackProvider){var s=1;return a.quorum!=null?s=a.quorum:t==="homestead"&&(s=2),new n.FallbackProvider(r,s)}return r[0]};return e.renetwork=function(n){return E8(n)},e}function kH(t,e){var n=function(a,r){return a.JsonRpcProvider?new a.JsonRpcProvider(t,e):null};return n.renetwork=function(a){return kH(t,a)},n}var fPe={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:E8("homestead")},iPe={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:E8("ropsten")},sPe={chainId:63,name:"classicMordor",_defaultProvider:kH("https://www.ethercluster.com/mordor","classicMordor")},IH={unspecified:{chainId:0,name:"unspecified"},homestead:fPe,mainnet:fPe,morden:{chainId:2,name:"morden"},ropsten:iPe,testnet:iPe,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:E8("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:E8("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:E8("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},sepolia:{chainId:11155111,name:"sepolia",_defaultProvider:E8("sepolia")},classic:{chainId:61,name:"classic",_defaultProvider:kH("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:sPe,classicTestnet:sPe,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:kH("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:E8("matic")},maticmum:{chainId:80001,name:"maticmum"},optimism:{chainId:10,name:"optimism",_defaultProvider:E8("optimism")},"optimism-kovan":{chainId:69,name:"optimism-kovan"},"optimism-goerli":{chainId:420,name:"optimism-goerli"},arbitrum:{chainId:42161,name:"arbitrum"},"arbitrum-rinkeby":{chainId:421611,name:"arbitrum-rinkeby"},"arbitrum-goerli":{chainId:421613,name:"arbitrum-goerli"},bnb:{chainId:56,name:"bnb"},bnbt:{chainId:97,name:"bnbt"}};function cX0(t){if(t==null)return null;if(typeof t=="number"){for(var e in IH){var n=IH[e];if(n.chainId===t)return{name:n.name,chainId:n.chainId,ensAddress:n.ensAddress||null,_defaultProvider:n._defaultProvider||null}}return{chainId:t,name:"unknown"}}if(typeof t=="string"){var a=IH[t];return a==null?null:{name:a.name,chainId:a.chainId,ensAddress:a.ensAddress,_defaultProvider:a._defaultProvider||null}}var r=IH[t.name];if(!r)return typeof t.chainId!="number"&&rPe.throwArgumentError("invalid network chainId","network",t),t;t.chainId!==0&&t.chainId!==r.chainId&&rPe.throwArgumentError("network chainId mismatch","network",t);var f=t._defaultProvider||null;return f==null&&r._defaultProvider&&(oX0(r._defaultProvider)?f=r._defaultProvider.renetwork(t):f=r._defaultProvider),{name:t.name,chainId:r.chainId,ensAddress:t.ensAddress||r.ensAddress||null,_defaultProvider:f}}SH.getNetwork=cX0});var oPe=D(RH=>{"use strict";u();p();Object.defineProperty(RH,"__esModule",{value:!0});RH.version=void 0;RH.version="web/5.7.1"});var cPe=D(Z3=>{"use strict";u();p();var dX0=Z3&&Z3.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},lX0=Z3&&Z3.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();var hX0=W5&&W5.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},bX0=W5&&W5.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]0&&a%1===0,"invalid connection throttle limit","connection.throttleLimit",a);var r=typeof t=="object"?t.throttleCallback:null,f=typeof t=="object"&&typeof t.throttleSlotInterval=="number"?t.throttleSlotInterval:100;bl.assertArgument(f>0&&f%1===0,"invalid connection throttle slot interval","connection.throttleSlotInterval",f);var i=typeof t=="object"?!!t.errorPassThrough:!1,s={},o=null,c={method:"GET"},d=!1,l=2*60*1e3;if(typeof t=="string")o=t;else if(typeof t=="object"){if((t==null||t.url==null)&&bl.throwArgumentError("missing URL","connection.url",t),o=t.url,typeof t.timeout=="number"&&t.timeout>0&&(l=t.timeout),t.headers)for(var h in t.headers)s[h.toLowerCase()]={key:h,value:String(t.headers[h])},["if-none-match","if-modified-since"].indexOf(h.toLowerCase())>=0&&(d=!0);if(c.allowGzip=!!t.allowGzip,t.user!=null&&t.password!=null){o.substring(0,6)!=="https:"&&t.allowInsecureAuthentication!==!0&&bl.throwError("basic authentication requires a secure https url",_8.Logger.errors.INVALID_ARGUMENT,{argument:"url",url:o,user:t.user,password:"[REDACTED]"});var y=t.user+":"+t.password;s.authorization={key:"Authorization",value:"Basic "+(0,dPe.encode)((0,Vk.toUtf8Bytes)(y))}}t.skipFetchSetup!=null&&(c.skipFetchSetup=!!t.skipFetchSetup),t.fetchOptions!=null&&(c.fetchOptions=(0,MH.shallowCopy)(t.fetchOptions))}var v=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),S=o?o.match(v):null;if(S)try{var O={statusCode:200,statusMessage:"OK",headers:{"content-type":S[1]||"text/plain"},body:S[2]?(0,dPe.decode)(S[3]):gX0(S[3])},F=O.body;return n&&(F=n(O.body,O)),Promise.resolve(F)}catch(Q){bl.throwError("processing response error",_8.Logger.errors.SERVER_ERROR,{body:eb(S[1],S[2]),error:Q,requestBody:null,requestMethod:"GET",url:o})}e&&(c.method="POST",c.body=e,s["content-type"]==null&&(s["content-type"]={key:"Content-Type",value:"application/octet-stream"}),s["content-length"]==null&&(s["content-length"]={key:"Content-Length",value:String(e.length)}));var z={};Object.keys(s).forEach(function(Q){var V=s[Q];z[V.key]=V.value}),c.headers=z;var W=function(){var Q=null,V=new Promise(function(K,G){l&&(Q=setTimeout(function(){Q!=null&&(Q=null,G(bl.makeError("timeout",_8.Logger.errors.TIMEOUT,{requestBody:eb(c.body,z["content-type"]),requestMethod:c.method,timeout:l,url:o})))},l))}),X=function(){Q!=null&&(clearTimeout(Q),Q=null)};return{promise:V,cancel:X}}(),j=function(){return hX0(this,void 0,void 0,function(){var Q,V,X,m,K,G,R,T,N,w,m,A;return bX0(this,function(P){switch(P.label){case 0:Q=0,P.label=1;case 1:if(!(Q=300)&&(W.cancel(),bl.throwError("bad response",_8.Logger.errors.SERVER_ERROR,{status:V.statusCode,headers:V.headers,body:eb(T,V.headers?V.headers["content-type"]:null),requestBody:eb(c.body,z["content-type"]),requestMethod:c.method,url:o})),!n)return[3,18];P.label=11;case 11:return P.trys.push([11,13,,18]),[4,n(T,V)];case 12:return N=P.sent(),W.cancel(),[2,N];case 13:return w=P.sent(),w.throttleRetry&&Qs){i()&&a(new Error("retry limit reached"));return}var l=e.interval*parseInt(String(Math.random()*Math.pow(2,o)));le.ceiling&&(l=e.ceiling),setTimeout(c,l)}return null},function(d){i()&&a(d)})}c()})}W5.poll=wX0});var yPe=D((uXn,mPe)=>{"use strict";u();p();var DH="qpzry9x8gf2tvdw0s3jn54khce6mua7l",lfe={};for(Yk=0;Yk>25;return(t&33554431)<<5^-(e>>0&1)&996825010^-(e>>1&1)&642813549^-(e>>2&1)&513874426^-(e>>3&1)&1027748829^-(e>>4&1)&705979059}function hPe(t){for(var e=1,n=0;n126)return"Invalid prefix ("+t+")";e=AT(e)^a>>5}for(e=AT(e),n=0;nn)throw new TypeError("Exceeds length limit");t=t.toLowerCase();var a=hPe(t);if(typeof a=="string")throw new Error(a);for(var r=t+"1",f=0;f>5)throw new Error("Non 5-bit word");a=AT(a)^i,r+=DH.charAt(i)}for(f=0;f<6;++f)a=AT(a);for(a^=1,f=0;f<6;++f){var s=a>>(5-f)*5&31;r+=DH.charAt(s)}return r}function bPe(t,e){if(e=e||90,t.length<8)return t+" too short";if(t.length>e)return"Exceeds length limit";var n=t.toLowerCase(),a=t.toUpperCase();if(t!==n&&t!==a)return"Mixed-case string "+t;t=n;var r=t.lastIndexOf("1");if(r===-1)return"No separator character for "+t;if(r===0)return"Missing prefix for "+t;var f=t.slice(0,r),i=t.slice(r+1);if(i.length<6)return"Data too short";var s=hPe(f);if(typeof s=="string")return s;for(var o=[],c=0;c=i.length)&&o.push(l)}return s!==1?"Invalid checksum for "+t:{prefix:f,words:o}}function xX0(){var t=bPe.apply(null,arguments);if(typeof t=="object")return t}function EX0(t){var e=bPe.apply(null,arguments);if(typeof e=="object")return e;throw new Error(e)}function PH(t,e,n,a){for(var r=0,f=0,i=(1<=n;)f-=n,s.push(r>>f&i);if(a)f>0&&s.push(r<=e)return"Excess padding";if(r<{"use strict";u();p();Object.defineProperty(LH,"__esModule",{value:!0});LH.version=void 0;LH.version="providers/5.7.2"});var tb=D(H2=>{"use strict";u();p();Object.defineProperty(H2,"__esModule",{value:!0});H2.showThrottleMessage=H2.isCommunityResource=H2.isCommunityResourcable=H2.Formatter=void 0;var ufe=Bo(),C8=ia(),U2=Vt(),kX0=w3(),SX0=Ba(),gPe=P2(),RX0=Ft(),MX0=no(),$k=new RX0.Logger(MX0.version),BX0=function(){function t(){this.formats=this.getDefaultFormats()}return t.prototype.getDefaultFormats=function(){var e=this,n={},a=this.address.bind(this),r=this.bigNumber.bind(this),f=this.blockTag.bind(this),i=this.data.bind(this),s=this.hash.bind(this),o=this.hex.bind(this),c=this.number.bind(this),d=this.type.bind(this),l=function(h){return e.data(h,!0)};return n.transaction={hash:s,type:d,accessList:t.allowNull(this.accessList.bind(this),null),blockHash:t.allowNull(s,null),blockNumber:t.allowNull(c,null),transactionIndex:t.allowNull(c,null),confirmations:t.allowNull(c,null),from:a,gasPrice:t.allowNull(r),maxPriorityFeePerGas:t.allowNull(r),maxFeePerGas:t.allowNull(r),gasLimit:r,to:t.allowNull(a,null),value:r,nonce:c,data:i,r:t.allowNull(this.uint256),s:t.allowNull(this.uint256),v:t.allowNull(c),creates:t.allowNull(a,null),raw:t.allowNull(i)},n.transactionRequest={from:t.allowNull(a),nonce:t.allowNull(c),gasLimit:t.allowNull(r),gasPrice:t.allowNull(r),maxPriorityFeePerGas:t.allowNull(r),maxFeePerGas:t.allowNull(r),to:t.allowNull(a),value:t.allowNull(r),data:t.allowNull(l),type:t.allowNull(c),accessList:t.allowNull(this.accessList.bind(this),null)},n.receiptLog={transactionIndex:c,blockNumber:c,transactionHash:s,address:a,topics:t.arrayOf(s),data:i,logIndex:c,blockHash:s},n.receipt={to:t.allowNull(this.address,null),from:t.allowNull(this.address,null),contractAddress:t.allowNull(a,null),transactionIndex:c,root:t.allowNull(o),gasUsed:r,logsBloom:t.allowNull(i),blockHash:s,transactionHash:s,logs:t.arrayOf(this.receiptLog.bind(this)),blockNumber:c,confirmations:t.allowNull(c,null),cumulativeGasUsed:r,effectiveGasPrice:t.allowNull(r),status:t.allowNull(c),type:d},n.block={hash:t.allowNull(s),parentHash:s,number:c,timestamp:c,nonce:t.allowNull(o),difficulty:this.difficulty.bind(this),gasLimit:r,gasUsed:r,miner:t.allowNull(a),extraData:i,transactions:t.allowNull(t.arrayOf(s)),baseFeePerGas:t.allowNull(r)},n.blockWithTransactions=(0,SX0.shallowCopy)(n.block),n.blockWithTransactions.transactions=t.allowNull(t.arrayOf(this.transactionResponse.bind(this))),n.filter={fromBlock:t.allowNull(f,void 0),toBlock:t.allowNull(f,void 0),blockHash:t.allowNull(s,void 0),address:t.allowNull(a,void 0),topics:t.allowNull(this.topics.bind(this),void 0)},n.filterLog={blockNumber:t.allowNull(c),blockHash:t.allowNull(s),transactionIndex:c,removed:t.allowNull(this.boolean.bind(this)),address:a,data:t.allowFalsish(i,"0x"),topics:t.arrayOf(s),transactionHash:s,logIndex:c},n},t.prototype.accessList=function(e){return(0,gPe.accessListify)(e||[])},t.prototype.number=function(e){return e==="0x"?0:C8.BigNumber.from(e).toNumber()},t.prototype.type=function(e){return e==="0x"||e==null?0:C8.BigNumber.from(e).toNumber()},t.prototype.bigNumber=function(e){return C8.BigNumber.from(e)},t.prototype.boolean=function(e){if(typeof e=="boolean")return e;if(typeof e=="string"){if(e=e.toLowerCase(),e==="true")return!0;if(e==="false")return!1}throw new Error("invalid boolean - "+e)},t.prototype.hex=function(e,n){return typeof e=="string"&&(!n&&e.substring(0,2)!=="0x"&&(e="0x"+e),(0,U2.isHexString)(e))?e.toLowerCase():$k.throwArgumentError("invalid hash","value",e)},t.prototype.data=function(e,n){var a=this.hex(e,n);if(a.length%2!==0)throw new Error("invalid data; odd-length - "+e);return a},t.prototype.address=function(e){return(0,ufe.getAddress)(e)},t.prototype.callAddress=function(e){if(!(0,U2.isHexString)(e,32))return null;var n=(0,ufe.getAddress)((0,U2.hexDataSlice)(e,12));return n===kX0.AddressZero?null:n},t.prototype.contractAddress=function(e){return(0,ufe.getContractAddress)(e)},t.prototype.blockTag=function(e){if(e==null)return"latest";if(e==="earliest")return"0x0";switch(e){case"earliest":return"0x0";case"latest":case"pending":case"safe":case"finalized":return e}if(typeof e=="number"||(0,U2.isHexString)(e))return(0,U2.hexValue)(e);throw new Error("invalid blockTag")},t.prototype.hash=function(e,n){var a=this.hex(e,n);return(0,U2.hexDataLength)(a)!==32?$k.throwArgumentError("invalid hash","value",e):a},t.prototype.difficulty=function(e){if(e==null)return null;var n=C8.BigNumber.from(e);try{return n.toNumber()}catch{}return null},t.prototype.uint256=function(e){if(!(0,U2.isHexString)(e))throw new Error("invalid uint256");return(0,U2.hexZeroPad)(e,32)},t.prototype._block=function(e,n){e.author!=null&&e.miner==null&&(e.miner=e.author);var a=e._difficulty!=null?e._difficulty:e.difficulty,r=t.check(n,e);return r._difficulty=a==null?null:C8.BigNumber.from(a),r},t.prototype.block=function(e){return this._block(e,this.formats.block)},t.prototype.blockWithTransactions=function(e){return this._block(e,this.formats.blockWithTransactions)},t.prototype.transactionRequest=function(e){return t.check(this.formats.transactionRequest,e)},t.prototype.transactionResponse=function(e){e.gas!=null&&e.gasLimit==null&&(e.gasLimit=e.gas),e.to&&C8.BigNumber.from(e.to).isZero()&&(e.to="0x0000000000000000000000000000000000000000"),e.input!=null&&e.data==null&&(e.data=e.input),e.to==null&&e.creates==null&&(e.creates=this.contractAddress(e)),(e.type===1||e.type===2)&&e.accessList==null&&(e.accessList=[]);var n=t.check(this.formats.transaction,e);if(e.chainId!=null){var a=e.chainId;(0,U2.isHexString)(a)&&(a=C8.BigNumber.from(a).toNumber()),n.chainId=a}else{var a=e.networkId;a==null&&n.v==null&&(a=e.chainId),(0,U2.isHexString)(a)&&(a=C8.BigNumber.from(a).toNumber()),typeof a!="number"&&n.v!=null&&(a=(n.v-35)/2,a<0&&(a=0),a=parseInt(a)),typeof a!="number"&&(a=0),n.chainId=a}return n.blockHash&&n.blockHash.replace(/0/g,"")==="x"&&(n.blockHash=null),n},t.prototype.transaction=function(e){return(0,gPe.parse)(e)},t.prototype.receiptLog=function(e){return t.check(this.formats.receiptLog,e)},t.prototype.receipt=function(e){var n=t.check(this.formats.receipt,e);if(n.root!=null)if(n.root.length<=4){var a=C8.BigNumber.from(n.root).toNumber();a===0||a===1?(n.status!=null&&n.status!==a&&$k.throwArgumentError("alt-root-status/status mismatch","value",{root:n.root,status:n.status}),n.status=a,delete n.root):$k.throwArgumentError("invalid alt-root-status","value.root",n.root)}else n.root.length!==66&&$k.throwArgumentError("invalid root hash","value.root",n.root);return n.status!=null&&(n.byzantium=!0),n},t.prototype.topics=function(e){var n=this;return Array.isArray(e)?e.map(function(a){return n.topics(a)}):e!=null?this.hash(e,!0):null},t.prototype.filter=function(e){return t.check(this.formats.filter,e)},t.prototype.filterLog=function(e){return t.check(this.formats.filterLog,e)},t.check=function(e,n){var a={};for(var r in e)try{var f=e[r](n[r]);f!==void 0&&(a[r]=f)}catch(i){throw i.checkKey=r,i.checkValue=n[r],i}return a},t.allowNull=function(e,n){return function(a){return a==null?n:e(a)}},t.allowFalsish=function(e,n){return function(a){return a?e(a):n}},t.arrayOf=function(e){return function(n){if(!Array.isArray(n))throw new Error("not an array");var a=[];return n.forEach(function(r){a.push(e(r))}),a}},t}();H2.Formatter=BX0;function wPe(t){return t&&typeof t.isCommunityResource=="function"}H2.isCommunityResourcable=wPe;function DX0(t){return wPe(t)&&t.isCommunityResource()}H2.isCommunityResource=DX0;var vPe=!1;function PX0(){vPe||(vPe=!0,console.log("========= NOTICE ========="),console.log("Request-Rate Exceeded (this message will not be repeated)"),console.log(""),console.log("The default API keys for each service are provided as a highly-throttled,"),console.log("community resource for low-traffic projects and early prototyping."),console.log(""),console.log("While your application will continue to function, we highly recommended"),console.log("signing up for your own API keys to improve performance, increase your"),console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."),console.log(""),console.log("For more details: https://docs.ethers.io/api-keys/"),console.log("=========================="))}H2.showThrottleMessage=PX0});var eS=D(Vo=>{"use strict";u();p();var LX0=Vo&&Vo.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),Yt=Vo&&Vo.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},$t=Vo&&Vo.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]0&&t[t.length-1]==null;)t.pop();return t.map(function(e){if(Array.isArray(e)){var n={};e.forEach(function(r){n[_Pe(r)]=!0});var a=Object.keys(n);return a.sort(),a.join("|")}else return _Pe(e)}).join("&")}function WX0(t){return t===""?[]:t.split(/&/g).map(function(e){if(e==="")return[];var n=e.split("|").map(function(a){return a==="null"?null:a});return n.length===1?n[0]:n})}function CT(t){if(typeof t=="string"){if(t=t.toLowerCase(),(0,jt.hexDataLength)(t)===32)return"tx:"+t;if(t.indexOf(":")===-1)return t}else{if(Array.isArray(t))return"filter:*:"+APe(t);if(RPe.ForkEvent.isForkEvent(t))throw Hn.warn("not implemented"),new Error("not implemented");if(t&&typeof t=="object")return"filter:"+(t.address||"*")+":"+APe(t.topics||[])}throw new Error("invalid event - "+t)}function Jk(){return new Date().getTime()}function CPe(t){return new Promise(function(e){setTimeout(e,t)})}var qX0=["block","network","pending","poll"],MPe=function(){function t(e,n,a){(0,pi.defineReadOnly)(this,"tag",e),(0,pi.defineReadOnly)(this,"listener",n),(0,pi.defineReadOnly)(this,"once",a),this._lastBlockNumber=-2,this._inflight=!1}return Object.defineProperty(t.prototype,"event",{get:function(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this.tag.split(":")[0]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){var e=this.tag.split(":");return e[0]!=="tx"?null:e[1]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"filter",{get:function(){var e=this.tag.split(":");if(e[0]!=="filter")return null;var n=e[1],a=WX0(e[2]),r={};return a.length>0&&(r.topics=a),n&&n!=="*"&&(r.address=n),r},enumerable:!1,configurable:!0}),t.prototype.pollable=function(){return this.tag.indexOf(":")>=0||qX0.indexOf(this.tag)>=0},t}();Vo.Event=MPe;var jX0={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function pfe(t){return(0,jt.hexZeroPad)(Qo.BigNumber.from(t).toHexString(),32)}function IPe(t){return mfe.Base58.encode((0,jt.concat)([t,(0,jt.hexDataSlice)((0,TPe.sha256)((0,TPe.sha256)(t)),0,4)]))}var BPe=new RegExp("^(ipfs)://(.*)$","i"),kPe=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),BPe,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function FH(t,e){try{return(0,yfe.toUtf8String)(Zk(t,e))}catch{}return null}function Zk(t,e){if(t==="0x")return null;var n=Qo.BigNumber.from((0,jt.hexDataSlice)(t,e,e+32)).toNumber(),a=Qo.BigNumber.from((0,jt.hexDataSlice)(t,n,n+32)).toNumber();return(0,jt.hexDataSlice)(t,n+32,n+32+a)}function hfe(t){return t.match(/^ipfs:\/\/ipfs\//i)?t=t.substring(12):t.match(/^ipfs:\/\//i)?t=t.substring(7):Hn.throwArgumentError("unsupported IPFS format","link",t),"https://gateway.ipfs.io/ipfs/"+t}function SPe(t){var e=(0,jt.arrayify)(t);if(e.length>32)throw new Error("internal; should not happen");var n=new Uint8Array(32);return n.set(e,32-e.length),n}function GX0(t){if(t.length%32===0)return t;var e=new Uint8Array(Math.ceil(t.length/32)*32);return e.set(t),e}function DPe(t){for(var e=[],n=0,a=0;a=1&&i<=75)return IPe((0,jt.concat)([[a.p2pkh],"0x"+f[2]]))}}if(a.p2sh!=null){var s=n.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(s){var o=parseInt(s[1],16);if(s[2].length===o*2&&o>=1&&o<=75)return IPe((0,jt.concat)([[a.p2sh],"0x"+s[2]]))}}if(a.prefix!=null){var c=r[1],d=r[0];if(d===0?c!==20&&c!==32&&(d=-1):d=-1,d>=0&&r.length===2+c&&c>=1&&c<=75){var l=xPe.default.toWords(r.slice(2));return l.unshift(d),xPe.default.encode(a.prefix,l)}}return null},t.prototype.getAddress=function(e){return Yt(this,void 0,void 0,function(){var n,a,r,f;return $t(this,function(i){switch(i.label){case 0:if(e==null&&(e=60),e!==60)return[3,4];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this._fetch("0x3b3b57de")];case 2:return n=i.sent(),n==="0x"||n===OX0.HashZero?[2,null]:[2,this.provider.formatter.callAddress(n)];case 3:if(a=i.sent(),a.code===Yn.Logger.errors.CALL_EXCEPTION)return[2,null];throw a;case 4:return[4,this._fetchBytes("0xf1cb7e06",pfe(e))];case 5:return r=i.sent(),r==null||r==="0x"?[2,null]:(f=this._getAddress(e,r),f==null&&Hn.throwError("invalid or unsupported coin data",Yn.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress("+e+")",coinType:e,data:r}),[2,f])}})})},t.prototype.getAvatar=function(){return Yt(this,void 0,void 0,function(){var e,n,a,r,f,i,s,o,c,d,l,h,y,v,S,O,F,z,W,j,Q,V,X,K,G;return $t(this,function(R){switch(R.label){case 0:e=[{type:"name",content:this.name}],R.label=1;case 1:return R.trys.push([1,19,,20]),[4,this.getText("avatar")];case 2:if(n=R.sent(),n==null)return[2,null];a=0,R.label=3;case 3:if(!(a=0?null:JSON.stringify({data:i,sender:f}),[4,(0,IT.fetchJson)({url:d,errorPassThrough:!0},l,function(S,O){return S.status=O.statusCode,S})]):[3,4];case 2:if(h=v.sent(),h.data)return[2,h.data];if(y=h.message||"unknown error",h.status>=400&&h.status<500)return[2,Hn.throwError("response not found during CCIP fetch: "+y,Yn.Logger.errors.SERVER_ERROR,{url:c,errorMessage:y})];s.push(y),v.label=3;case 3:return o++,[3,1];case 4:return[2,Hn.throwError("error encountered during CCIP fetch: "+s.map(function(S){return JSON.stringify(S)}).join(", "),Yn.Logger.errors.SERVER_ERROR,{urls:r,errorMessages:s})]}})})},e.prototype._getInternalBlockNumber=function(n){return Yt(this,void 0,void 0,function(){var a,r,f,i,s,o=this;return $t(this,function(c){switch(c.label){case 0:return[4,this._ready()];case 1:if(c.sent(),!(n>0))return[3,7];c.label=2;case 2:if(!this._internalBlockNumber)return[3,7];a=this._internalBlockNumber,c.label=3;case 3:return c.trys.push([3,5,,6]),[4,a];case 4:return r=c.sent(),Jk()-r.respTime<=n?[2,r.blockNumber]:[3,7];case 5:return f=c.sent(),this._internalBlockNumber===a?[3,7]:[3,6];case 6:return[3,2];case 7:return i=Jk(),s=(0,pi.resolveProperties)({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then(function(d){return null},function(d){return d})}).then(function(d){var l=d.blockNumber,h=d.networkError;if(h)throw o._internalBlockNumber===s&&(o._internalBlockNumber=null),h;var y=Jk();return l=Qo.BigNumber.from(l).toNumber(),l1e3)Hn.warn("network block skew detected; skipping block events (emitted="+this._emitted.block+" blockNumber"+r+")"),this.emit("error",Hn.makeError("network block skew detected",Yn.Logger.errors.NETWORK_ERROR,{blockNumber:r,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",r);else for(i=this._emitted.block+1;i<=r;i++)this.emit("block",i);return this._emitted.block!==r&&(this._emitted.block=r,Object.keys(this._emitted).forEach(function(c){if(c!=="block"){var d=s._emitted[c];d!=="pending"&&r-d>12&&delete s._emitted[c]}})),this._lastBlockNumber===-2&&(this._lastBlockNumber=r-1),this._events.forEach(function(c){switch(c.type){case"tx":{var d=c.hash,l=s.getTransactionReceipt(d).then(function(v){return!v||v.blockNumber==null||(s._emitted["t:"+d]=v.blockNumber,s.emit(d,v)),null}).catch(function(v){s.emit("error",v)});a.push(l);break}case"filter":{if(!c._inflight){c._inflight=!0,c._lastBlockNumber===-2&&(c._lastBlockNumber=r-1);var h=c.filter;h.fromBlock=c._lastBlockNumber+1,h.toBlock=r;var y=h.toBlock-s._maxFilterBlockRange;y>h.fromBlock&&(h.fromBlock=y),h.fromBlock<0&&(h.fromBlock=0);var l=s.getLogs(h).then(function(S){c._inflight=!1,S.length!==0&&S.forEach(function(O){O.blockNumber>c._lastBlockNumber&&(c._lastBlockNumber=O.blockNumber),s._emitted["b:"+O.blockHash]=O.blockNumber,s._emitted["t:"+O.transactionHash]=O.blockNumber,s.emit(h,O)})}).catch(function(S){s.emit("error",S),c._inflight=!1});a.push(l)}break}}}),this._lastBlockNumber=r,Promise.all(a).then(function(){s.emit("didPoll",n)}).catch(function(c){s.emit("error",c)}),[2]}})})},e.prototype.resetEventsBlock=function(n){this._lastBlockNumber=n-1,this.polling&&this.poll()},Object.defineProperty(e.prototype,"network",{get:function(){return this._network},enumerable:!1,configurable:!0}),e.prototype.detectNetwork=function(){return Yt(this,void 0,void 0,function(){return $t(this,function(n){return[2,Hn.throwError("provider does not support network detection",Yn.Logger.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})]})})},e.prototype.getNetwork=function(){return Yt(this,void 0,void 0,function(){var n,a,r;return $t(this,function(f){switch(f.label){case 0:return[4,this._ready()];case 1:return n=f.sent(),[4,this.detectNetwork()];case 2:return a=f.sent(),n.chainId===a.chainId?[3,5]:this.anyNetwork?(this._network=a,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",a,n),[4,CPe(0)]):[3,4];case 3:return f.sent(),[2,this._network];case 4:throw r=Hn.makeError("underlying network changed",Yn.Logger.errors.NETWORK_ERROR,{event:"changed",network:n,detectedNetwork:a}),this.emit("error",r),r;case 5:return[2,n]}})})},Object.defineProperty(e.prototype,"blockNumber",{get:function(){var n=this;return this._getInternalBlockNumber(100+this.pollingInterval/2).then(function(a){n._setFastBlockNumber(a)},function(a){}),this._fastBlockNumber!=null?this._fastBlockNumber:-1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"polling",{get:function(){return this._poller!=null},set:function(n){var a=this;n&&!this._poller?(this._poller=setInterval(function(){a.poll()},this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout(function(){a.poll(),a._bootstrapPoll=setTimeout(function(){a._poller||a.poll(),a._bootstrapPoll=null},a.pollingInterval)},0))):!n&&this._poller&&(clearInterval(this._poller),this._poller=null)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pollingInterval",{get:function(){return this._pollingInterval},set:function(n){var a=this;if(typeof n!="number"||n<=0||parseInt(String(n))!=n)throw new Error("invalid polling interval");this._pollingInterval=n,this._poller&&(clearInterval(this._poller),this._poller=setInterval(function(){a.poll()},this._pollingInterval))},enumerable:!1,configurable:!0}),e.prototype._getFastBlockNumber=function(){var n=this,a=Jk();return a-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=a,this._fastBlockNumberPromise=this.getBlockNumber().then(function(r){return(n._fastBlockNumber==null||r>n._fastBlockNumber)&&(n._fastBlockNumber=r),n._fastBlockNumber})),this._fastBlockNumberPromise},e.prototype._setFastBlockNumber=function(n){this._fastBlockNumber!=null&&nthis._fastBlockNumber)&&(this._fastBlockNumber=n,this._fastBlockNumberPromise=Promise.resolve(n)))},e.prototype.waitForTransaction=function(n,a,r){return Yt(this,void 0,void 0,function(){return $t(this,function(f){return[2,this._waitForTransaction(n,a??1,r||0,null)]})})},e.prototype._waitForTransaction=function(n,a,r,f){return Yt(this,void 0,void 0,function(){var i,s=this;return $t(this,function(o){switch(o.label){case 0:return[4,this.getTransactionReceipt(n)];case 1:return i=o.sent(),(i?i.confirmations:0)>=a?[2,i]:[2,new Promise(function(c,d){var l=[],h=!1,y=function(){return h?!0:(h=!0,l.forEach(function(W){W()}),!1)},v=function(W){W.confirmations0){var z=setTimeout(function(){y()||d(Hn.makeError("timeout exceeded",Yn.Logger.errors.TIMEOUT,{timeout:r}))},r);z.unref&&z.unref(),l.push(function(){clearTimeout(z)})}})]}})})},e.prototype.getBlockNumber=function(){return Yt(this,void 0,void 0,function(){return $t(this,function(n){return[2,this._getInternalBlockNumber(0)]})})},e.prototype.getGasPrice=function(){return Yt(this,void 0,void 0,function(){var n;return $t(this,function(a){switch(a.label){case 0:return[4,this.getNetwork()];case 1:return a.sent(),[4,this.perform("getGasPrice",{})];case 2:n=a.sent();try{return[2,Qo.BigNumber.from(n)]}catch(r){return[2,Hn.throwError("bad result from backend",Yn.Logger.errors.SERVER_ERROR,{method:"getGasPrice",result:n,error:r})]}return[2]}})})},e.prototype.getBalance=function(n,a){return Yt(this,void 0,void 0,function(){var r,f;return $t(this,function(i){switch(i.label){case 0:return[4,this.getNetwork()];case 1:return i.sent(),[4,(0,pi.resolveProperties)({address:this._getAddress(n),blockTag:this._getBlockTag(a)})];case 2:return r=i.sent(),[4,this.perform("getBalance",r)];case 3:f=i.sent();try{return[2,Qo.BigNumber.from(f)]}catch(s){return[2,Hn.throwError("bad result from backend",Yn.Logger.errors.SERVER_ERROR,{method:"getBalance",params:r,result:f,error:s})]}return[2]}})})},e.prototype.getTransactionCount=function(n,a){return Yt(this,void 0,void 0,function(){var r,f;return $t(this,function(i){switch(i.label){case 0:return[4,this.getNetwork()];case 1:return i.sent(),[4,(0,pi.resolveProperties)({address:this._getAddress(n),blockTag:this._getBlockTag(a)})];case 2:return r=i.sent(),[4,this.perform("getTransactionCount",r)];case 3:f=i.sent();try{return[2,Qo.BigNumber.from(f).toNumber()]}catch(s){return[2,Hn.throwError("bad result from backend",Yn.Logger.errors.SERVER_ERROR,{method:"getTransactionCount",params:r,result:f,error:s})]}return[2]}})})},e.prototype.getCode=function(n,a){return Yt(this,void 0,void 0,function(){var r,f;return $t(this,function(i){switch(i.label){case 0:return[4,this.getNetwork()];case 1:return i.sent(),[4,(0,pi.resolveProperties)({address:this._getAddress(n),blockTag:this._getBlockTag(a)})];case 2:return r=i.sent(),[4,this.perform("getCode",r)];case 3:f=i.sent();try{return[2,(0,jt.hexlify)(f)]}catch(s){return[2,Hn.throwError("bad result from backend",Yn.Logger.errors.SERVER_ERROR,{method:"getCode",params:r,result:f,error:s})]}return[2]}})})},e.prototype.getStorageAt=function(n,a,r){return Yt(this,void 0,void 0,function(){var f,i;return $t(this,function(s){switch(s.label){case 0:return[4,this.getNetwork()];case 1:return s.sent(),[4,(0,pi.resolveProperties)({address:this._getAddress(n),blockTag:this._getBlockTag(r),position:Promise.resolve(a).then(function(o){return(0,jt.hexValue)(o)})})];case 2:return f=s.sent(),[4,this.perform("getStorageAt",f)];case 3:i=s.sent();try{return[2,(0,jt.hexlify)(i)]}catch(o){return[2,Hn.throwError("bad result from backend",Yn.Logger.errors.SERVER_ERROR,{method:"getStorageAt",params:f,result:i,error:o})]}return[2]}})})},e.prototype._wrapTransaction=function(n,a,r){var f=this;if(a!=null&&(0,jt.hexDataLength)(a)!==32)throw new Error("invalid response - sendTransaction");var i=n;return a!=null&&n.hash!==a&&Hn.throwError("Transaction hash mismatch from Provider.sendTransaction.",Yn.Logger.errors.UNKNOWN_ERROR,{expectedHash:n.hash,returnedHash:a}),i.wait=function(s,o){return Yt(f,void 0,void 0,function(){var c,d;return $t(this,function(l){switch(l.label){case 0:return s==null&&(s=1),o==null&&(o=0),c=void 0,s!==0&&r!=null&&(c={data:n.data,from:n.from,nonce:n.nonce,to:n.to,value:n.value,startBlock:r}),[4,this._waitForTransaction(n.hash,s,o,c)];case 1:return d=l.sent(),d==null&&s===0?[2,null]:(this._emitted["t:"+n.hash]=d.blockNumber,d.status===0&&Hn.throwError("transaction failed",Yn.Logger.errors.CALL_EXCEPTION,{transactionHash:n.hash,transaction:n,receipt:d}),[2,d])}})})},i},e.prototype.sendTransaction=function(n){return Yt(this,void 0,void 0,function(){var a,r,f,i,s;return $t(this,function(o){switch(o.label){case 0:return[4,this.getNetwork()];case 1:return o.sent(),[4,Promise.resolve(n).then(function(c){return(0,jt.hexlify)(c)})];case 2:return a=o.sent(),r=this.formatter.transaction(n),r.confirmations==null&&(r.confirmations=0),[4,this._getInternalBlockNumber(100+2*this.pollingInterval)];case 3:f=o.sent(),o.label=4;case 4:return o.trys.push([4,6,,7]),[4,this.perform("sendTransaction",{signedTransaction:a})];case 5:return i=o.sent(),[2,this._wrapTransaction(r,i,f)];case 6:throw s=o.sent(),s.transaction=r,s.transactionHash=r.hash,s;case 7:return[2]}})})},e.prototype._getTransactionRequest=function(n){return Yt(this,void 0,void 0,function(){var a,r,f,i,s=this;return $t(this,function(o){switch(o.label){case 0:return[4,n];case 1:return a=o.sent(),r={},["from","to"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d?s._getAddress(d):null}))}),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d?Qo.BigNumber.from(d):null}))}),["type"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d??null}))}),a.accessList&&(r.accessList=this.formatter.accessList(a.accessList)),["data"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d?(0,jt.hexlify)(d):null}))}),i=(f=this.formatter).transactionRequest,[4,(0,pi.resolveProperties)(r)];case 2:return[2,i.apply(f,[o.sent()])]}})})},e.prototype._getFilter=function(n){return Yt(this,void 0,void 0,function(){var a,r,f,i=this;return $t(this,function(s){switch(s.label){case 0:return[4,n];case 1:return n=s.sent(),a={},n.address!=null&&(a.address=this._getAddress(n.address)),["blockHash","topics"].forEach(function(o){n[o]!=null&&(a[o]=n[o])}),["fromBlock","toBlock"].forEach(function(o){n[o]!=null&&(a[o]=i._getBlockTag(n[o]))}),f=(r=this.formatter).filter,[4,(0,pi.resolveProperties)(a)];case 2:return[2,f.apply(r,[s.sent()])]}})})},e.prototype._call=function(n,a,r){return Yt(this,void 0,void 0,function(){var f,i,s,o,c,d,l,h,y,v,S,O,F,z,W,j;return $t(this,function(Q){switch(Q.label){case 0:return r>=zX0&&Hn.throwError("CCIP read exceeded maximum redirections",Yn.Logger.errors.SERVER_ERROR,{redirects:r,transaction:n}),f=n.to,[4,this.perform("call",{transaction:n,blockTag:a})];case 1:if(i=Q.sent(),!(r>=0&&a==="latest"&&f!=null&&i.substring(0,10)==="0x556f1830"&&(0,jt.hexDataLength)(i)%32===4))return[3,5];Q.label=2;case 2:for(Q.trys.push([2,4,,5]),s=(0,jt.hexDataSlice)(i,4),o=(0,jt.hexDataSlice)(s,0,32),Qo.BigNumber.from(o).eq(f)||Hn.throwError("CCIP Read sender did not match",Yn.Logger.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:n,data:i}),c=[],d=Qo.BigNumber.from((0,jt.hexDataSlice)(s,32,64)).toNumber(),l=Qo.BigNumber.from((0,jt.hexDataSlice)(s,d,d+32)).toNumber(),h=(0,jt.hexDataSlice)(s,d+32),y=0;ythis._emitted.block?[2,null]:[2,void 0];if(!a)return[3,8];l=null,h=0,F.label=2;case 2:return h0},e.prototype._stopEvent=function(n){this.polling=this._events.filter(function(a){return a.pollable()}).length>0},e.prototype._addEventListener=function(n,a,r){var f=new MPe(CT(n),a,r);return this._events.push(f),this._startEvent(f),this},e.prototype.on=function(n,a){return this._addEventListener(n,a,!1)},e.prototype.once=function(n,a){return this._addEventListener(n,a,!0)},e.prototype.emit=function(n){for(var a=this,r=[],f=1;f{"use strict";u();p();var Tfe=q5&&q5.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),I8=q5&&q5.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},k8=q5&&q5.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]=0&&f.match(/gas required exceeds allowance|always failing transaction|execution reverted|revert/)&&Ri.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",$i.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:a}),e}function FPe(t){return new Promise(function(e){setTimeout(e,t)})}function ZX0(t){if(t.error){var e=new Error(t.error.message);throw e.code=t.error.code,e.data=t.error.data,e}return t.result}function tS(t){return t&&t.toLowerCase()}var wfe={},xfe=function(t){Tfe(e,t);function e(n,a,r){var f=t.call(this)||this;if(n!==wfe)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");return(0,hi.defineReadOnly)(f,"provider",a),r==null&&(r=0),typeof r=="string"?((0,hi.defineReadOnly)(f,"_address",f.provider.formatter.address(r)),(0,hi.defineReadOnly)(f,"_index",null)):typeof r=="number"?((0,hi.defineReadOnly)(f,"_index",r),(0,hi.defineReadOnly)(f,"_address",null)):Ri.throwArgumentError("invalid address or index","addressOrIndex",r),f}return e.prototype.connect=function(n){return Ri.throwError("cannot alter JSON-RPC Signer connection",$i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"connect"})},e.prototype.connectUnchecked=function(){return new eZ0(wfe,this.provider,this._address||this._index)},e.prototype.getAddress=function(){var n=this;return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then(function(a){return a.length<=n._index&&Ri.throwError("unknown account #"+n._index,$i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),n.provider.formatter.address(a[n._index])})},e.prototype.sendUncheckedTransaction=function(n){var a=this;n=(0,hi.shallowCopy)(n);var r=this.getAddress().then(function(i){return i&&(i=i.toLowerCase()),i});if(n.gasLimit==null){var f=(0,hi.shallowCopy)(n);f.from=r,n.gasLimit=this.provider.estimateGas(f)}return n.to!=null&&(n.to=Promise.resolve(n.to).then(function(i){return I8(a,void 0,void 0,function(){var s;return k8(this,function(o){switch(o.label){case 0:return i==null?[2,null]:[4,this.provider.resolveName(i)];case 1:return s=o.sent(),s==null&&Ri.throwArgumentError("provided ENS name resolves to null","tx.to",i),[2,s]}})})})),(0,hi.resolveProperties)({tx:(0,hi.resolveProperties)(n),sender:r}).then(function(i){var s=i.tx,o=i.sender;s.from!=null?s.from.toLowerCase()!==o&&Ri.throwArgumentError("from address mismatch","transaction",n):s.from=o;var c=a.provider.constructor.hexlifyTransaction(s,{from:!0});return a.provider.send("eth_sendTransaction",[c]).then(function(d){return d},function(d){return typeof d.message=="string"&&d.message.match(/user denied/i)&&Ri.throwError("user rejected transaction",$i.Logger.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:s}),OPe("sendTransaction",d,c)})})},e.prototype.signTransaction=function(n){return Ri.throwError("signing transactions is unsupported",$i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})},e.prototype.sendTransaction=function(n){return I8(this,void 0,void 0,function(){var a,r,f,i=this;return k8(this,function(s){switch(s.label){case 0:return[4,this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval)];case 1:return a=s.sent(),[4,this.sendUncheckedTransaction(n)];case 2:r=s.sent(),s.label=3;case 3:return s.trys.push([3,5,,6]),[4,(0,NPe.poll)(function(){return I8(i,void 0,void 0,function(){var o;return k8(this,function(c){switch(c.label){case 0:return[4,this.provider.getTransaction(r)];case 1:return o=c.sent(),o===null?[2,void 0]:[2,this.provider._wrapTransaction(o,r,a)]}})})},{oncePoll:this.provider})];case 4:return[2,s.sent()];case 5:throw f=s.sent(),f.transactionHash=r,f;case 6:return[2]}})})},e.prototype.signMessage=function(n){return I8(this,void 0,void 0,function(){var a,r,f;return k8(this,function(i){switch(i.label){case 0:return a=typeof n=="string"?(0,LPe.toUtf8Bytes)(n):n,[4,this.getAddress()];case 1:r=i.sent(),i.label=2;case 2:return i.trys.push([2,4,,5]),[4,this.provider.send("personal_sign",[(0,kT.hexlify)(a),r.toLowerCase()])];case 3:return[2,i.sent()];case 4:throw f=i.sent(),typeof f.message=="string"&&f.message.match(/user denied/i)&&Ri.throwError("user rejected signing",$i.Logger.errors.ACTION_REJECTED,{action:"signMessage",from:r,messageData:n}),f;case 5:return[2]}})})},e.prototype._legacySignMessage=function(n){return I8(this,void 0,void 0,function(){var a,r,f;return k8(this,function(i){switch(i.label){case 0:return a=typeof n=="string"?(0,LPe.toUtf8Bytes)(n):n,[4,this.getAddress()];case 1:r=i.sent(),i.label=2;case 2:return i.trys.push([2,4,,5]),[4,this.provider.send("eth_sign",[r.toLowerCase(),(0,kT.hexlify)(a)])];case 3:return[2,i.sent()];case 4:throw f=i.sent(),typeof f.message=="string"&&f.message.match(/user denied/i)&&Ri.throwError("user rejected signing",$i.Logger.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:r,messageData:n}),f;case 5:return[2]}})})},e.prototype._signTypedData=function(n,a,r){return I8(this,void 0,void 0,function(){var f,i,s,o=this;return k8(this,function(c){switch(c.label){case 0:return[4,PPe._TypedDataEncoder.resolveNames(n,a,r,function(d){return o.provider.resolveName(d)})];case 1:return f=c.sent(),[4,this.getAddress()];case 2:i=c.sent(),c.label=3;case 3:return c.trys.push([3,5,,6]),[4,this.provider.send("eth_signTypedData_v4",[i.toLowerCase(),JSON.stringify(PPe._TypedDataEncoder.getPayload(f.domain,a,f.value))])];case 4:return[2,c.sent()];case 5:throw s=c.sent(),typeof s.message=="string"&&s.message.match(/user denied/i)&&Ri.throwError("user rejected signing",$i.Logger.errors.ACTION_REJECTED,{action:"_signTypedData",from:i,messageData:{domain:f.domain,types:a,value:f.value}}),s;case 6:return[2]}})})},e.prototype.unlock=function(n){return I8(this,void 0,void 0,function(){var a,r;return k8(this,function(f){switch(f.label){case 0:return a=this.provider,[4,this.getAddress()];case 1:return r=f.sent(),[2,a.send("personal_unlockAccount",[r.toLowerCase(),n,null])]}})})},e}(VX0.Signer);q5.JsonRpcSigner=xfe;var eZ0=function(t){Tfe(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.sendTransaction=function(n){var a=this;return this.sendUncheckedTransaction(n).then(function(r){return{hash:r,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:function(f){return a.provider.waitForTransaction(r,f)}}})},e}(xfe),tZ0={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0},nZ0=function(t){Tfe(e,t);function e(n,a){var r=this,f=a;return f==null&&(f=new Promise(function(i,s){setTimeout(function(){r.detectNetwork().then(function(o){i(o)},function(o){s(o)})},0)})),r=t.call(this,f)||this,n||(n=(0,hi.getStatic)(r.constructor,"defaultUrl")()),typeof n=="string"?(0,hi.defineReadOnly)(r,"connection",Object.freeze({url:n})):(0,hi.defineReadOnly)(r,"connection",Object.freeze((0,hi.shallowCopy)(n))),r._nextId=42,r}return Object.defineProperty(e.prototype,"_cache",{get:function(){return this._eventLoopCache==null&&(this._eventLoopCache={}),this._eventLoopCache},enumerable:!1,configurable:!0}),e.defaultUrl=function(){return"http://localhost:8545"},e.prototype.detectNetwork=function(){var n=this;return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout(function(){n._cache.detectNetwork=null},0)),this._cache.detectNetwork},e.prototype._uncachedDetectNetwork=function(){return I8(this,void 0,void 0,function(){var n,a,r,f;return k8(this,function(i){switch(i.label){case 0:return[4,FPe(0)];case 1:i.sent(),n=null,i.label=2;case 2:return i.trys.push([2,4,,9]),[4,this.send("eth_chainId",[])];case 3:return n=i.sent(),[3,9];case 4:a=i.sent(),i.label=5;case 5:return i.trys.push([5,7,,8]),[4,this.send("net_version",[])];case 6:return n=i.sent(),[3,8];case 7:return r=i.sent(),[3,8];case 8:return[3,9];case 9:if(n!=null){f=(0,hi.getStatic)(this.constructor,"getNetwork");try{return[2,f(vfe.BigNumber.from(n).toNumber())]}catch(s){return[2,Ri.throwError("could not detect network",$i.Logger.errors.NETWORK_ERROR,{chainId:n,event:"invalidNetwork",serverError:s})]}}return[2,Ri.throwError("could not detect network",$i.Logger.errors.NETWORK_ERROR,{event:"noNetwork"})]}})})},e.prototype.getSigner=function(n){return new xfe(wfe,this,n)},e.prototype.getUncheckedSigner=function(n){return this.getSigner(n).connectUnchecked()},e.prototype.listAccounts=function(){var n=this;return this.send("eth_accounts",[]).then(function(a){return a.map(function(r){return n.formatter.address(r)})})},e.prototype.send=function(n,a){var r=this,f={method:n,params:a,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:(0,hi.deepCopy)(f),provider:this});var i=["eth_chainId","eth_blockNumber"].indexOf(n)>=0;if(i&&this._cache[n])return this._cache[n];var s=(0,NPe.fetchJson)(this.connection,JSON.stringify(f),ZX0).then(function(o){return r.emit("debug",{action:"response",request:f,response:o,provider:r}),o},function(o){throw r.emit("debug",{action:"response",error:o,request:f,provider:r}),o});return i&&(this._cache[n]=s,setTimeout(function(){r._cache[n]=null},0)),s},e.prototype.prepareRequest=function(n,a){switch(n){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[tS(a.address),a.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[tS(a.address),a.blockTag]];case"getCode":return["eth_getCode",[tS(a.address),a.blockTag]];case"getStorageAt":return["eth_getStorageAt",[tS(a.address),(0,kT.hexZeroPad)(a.position,32),a.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[a.signedTransaction]];case"getBlock":return a.blockTag?["eth_getBlockByNumber",[a.blockTag,!!a.includeTransactions]]:a.blockHash?["eth_getBlockByHash",[a.blockHash,!!a.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[a.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[a.transactionHash]];case"call":{var r=(0,hi.getStatic)(this.constructor,"hexlifyTransaction");return["eth_call",[r(a.transaction,{from:!0}),a.blockTag]]}case"estimateGas":{var r=(0,hi.getStatic)(this.constructor,"hexlifyTransaction");return["eth_estimateGas",[r(a.transaction,{from:!0})]]}case"getLogs":return a.filter&&a.filter.address!=null&&(a.filter.address=tS(a.filter.address)),["eth_getLogs",[a.filter]];default:break}return null},e.prototype.perform=function(n,a){return I8(this,void 0,void 0,function(){var r,f,i,s;return k8(this,function(o){switch(o.label){case 0:return n==="call"||n==="estimateGas"?(r=a.transaction,r&&r.type!=null&&vfe.BigNumber.from(r.type).isZero()?r.maxFeePerGas==null&&r.maxPriorityFeePerGas==null?[4,this.getFeeData()]:[3,2]:[3,2]):[3,2];case 1:f=o.sent(),f.maxFeePerGas==null&&f.maxPriorityFeePerGas==null&&(a=(0,hi.shallowCopy)(a),a.transaction=(0,hi.shallowCopy)(r),delete a.transaction.type),o.label=2;case 2:i=this.prepareRequest(n,a),i==null&&Ri.throwError(n+" not implemented",$i.Logger.errors.NOT_IMPLEMENTED,{operation:n}),o.label=3;case 3:return o.trys.push([3,5,,6]),[4,this.send(i[0],i[1])];case 4:return[2,o.sent()];case 5:return s=o.sent(),[2,OPe(n,s,a)];case 6:return[2]}})})},e.prototype._startEvent=function(n){n.tag==="pending"&&this._startPending(),t.prototype._startEvent.call(this,n)},e.prototype._startPending=function(){if(this._pendingFilter==null){var n=this,a=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=a,a.then(function(r){function f(){n.send("eth_getFilterChanges",[r]).then(function(i){if(n._pendingFilter!=a)return null;var s=Promise.resolve();return i.forEach(function(o){n._emitted["t:"+o.toLowerCase()]="pending",s=s.then(function(){return n.getTransaction(o).then(function(c){return n.emit("pending",c),null})})}),s.then(function(){return FPe(1e3)})}).then(function(){if(n._pendingFilter!=a){n.send("eth_uninstallFilter",[r]);return}return setTimeout(function(){f()},0),null}).catch(function(i){})}return f(),r}).catch(function(r){})}},e.prototype._stopEvent=function(n){n.tag==="pending"&&this.listenerCount("pending")===0&&(this._pendingFilter=null),t.prototype._stopEvent.call(this,n)},e.hexlifyTransaction=function(n,a){var r=(0,hi.shallowCopy)(tZ0);if(a)for(var f in a)a[f]&&(r[f]=!0);(0,hi.checkProperties)(n,r);var i={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach(function(s){if(n[s]!=null){var o=(0,kT.hexValue)(vfe.BigNumber.from(n[s]));s==="gasLimit"&&(s="gas"),i[s]=o}}),["from","to","data"].forEach(function(s){n[s]!=null&&(i[s]=(0,kT.hexlify)(n[s]))}),n.accessList&&(i.accessList=(0,YX0.accessListify)(n.accessList)),i},e}(JX0.BaseProvider);q5.JsonRpcProvider=nZ0});var zPe=D(RT=>{"use strict";u();p();Object.defineProperty(RT,"__esModule",{value:!0});RT.WebSocket=void 0;var UPe=Ft(),aZ0=no(),NH=null;RT.WebSocket=NH;try{if(RT.WebSocket=NH=WebSocket,NH==null)throw new Error("inject please")}catch{HPe=new UPe.Logger(aZ0.version),RT.WebSocket=NH=function(){HPe.throwError("WebSockets not supported in this environment",UPe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new WebSocket()"})}}var HPe});var UH=D(z2=>{"use strict";u();p();var rZ0=z2&&z2.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),Efe=z2&&z2.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},_fe=z2&&z2.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();var qPe=j5&&j5.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),dZ0=j5&&j5.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},lZ0=j5&&j5.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();var KPe=rb&&rb.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(rb,"__esModule",{value:!0});rb.AlchemyProvider=rb.AlchemyWebSocketProvider=void 0;var bZ0=Ba(),mZ0=tb(),yZ0=UH(),gZ0=Ft(),vZ0=no(),GPe=new gZ0.Logger(vZ0.version),wZ0=ab(),zH="_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC",QPe=function(t){KPe(e,t);function e(n,a){var r=this,f=new VPe(n,a),i=f.connection.url.replace(/^http/i,"ws").replace(".alchemyapi.",".ws.alchemyapi.");return r=t.call(this,i,f.network)||this,(0,bZ0.defineReadOnly)(r,"apiKey",f.apiKey),r}return e.prototype.isCommunityResource=function(){return this.apiKey===zH},e}(yZ0.WebSocketProvider);rb.AlchemyWebSocketProvider=QPe;var VPe=function(t){KPe(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getWebSocketProvider=function(n,a){return new QPe(n,a)},e.getApiKey=function(n){return n==null?zH:(n&&typeof n!="string"&&GPe.throwArgumentError("invalid apiKey","apiKey",n),n)},e.getUrl=function(n,a){var r=null;switch(n.name){case"homestead":r="eth-mainnet.alchemyapi.io/v2/";break;case"goerli":r="eth-goerli.g.alchemy.com/v2/";break;case"matic":r="polygon-mainnet.g.alchemy.com/v2/";break;case"maticmum":r="polygon-mumbai.g.alchemy.com/v2/";break;case"arbitrum":r="arb-mainnet.g.alchemy.com/v2/";break;case"arbitrum-goerli":r="arb-goerli.g.alchemy.com/v2/";break;case"optimism":r="opt-mainnet.g.alchemy.com/v2/";break;case"optimism-goerli":r="opt-goerli.g.alchemy.com/v2/";break;default:GPe.throwArgumentError("unsupported network","network",arguments[0])}return{allowGzip:!0,url:"https://"+r+a,throttleCallback:function(f,i){return a===zH&&(0,mZ0.showThrottleMessage)(),Promise.resolve(!0)}}},e.prototype.isCommunityResource=function(){return this.apiKey===zH},e}(wZ0.UrlJsonRpcProvider);rb.AlchemyProvider=VPe});var $Pe=D(BT=>{"use strict";u();p();var TZ0=BT&&BT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(BT,"__esModule",{value:!0});BT.AnkrProvider=void 0;var xZ0=tb(),EZ0=ab(),_Z0=Ft(),AZ0=no(),CZ0=new _Z0.Logger(AZ0.version),WH="9f7d929b018cdffb338517efa06f58359e86ff1ffd350bc889738523659e7972";function IZ0(t){switch(t){case"homestead":return"rpc.ankr.com/eth/";case"ropsten":return"rpc.ankr.com/eth_ropsten/";case"rinkeby":return"rpc.ankr.com/eth_rinkeby/";case"goerli":return"rpc.ankr.com/eth_goerli/";case"matic":return"rpc.ankr.com/polygon/";case"arbitrum":return"rpc.ankr.com/arbitrum/"}return CZ0.throwArgumentError("unsupported network","name",t)}var kZ0=function(t){TZ0(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isCommunityResource=function(){return this.apiKey===WH},e.getApiKey=function(n){return n??WH},e.getUrl=function(n,a){a==null&&(a=WH);var r={allowGzip:!0,url:"https://"+IZ0(n.name)+a,throttleCallback:function(f,i){return a.apiKey===WH&&(0,xZ0.showThrottleMessage)(),Promise.resolve(!0)}};return a.projectSecret!=null&&(r.user="",r.password=a.projectSecret),r},e}(EZ0.UrlJsonRpcProvider);BT.AnkrProvider=kZ0});var XPe=D(W2=>{"use strict";u();p();var SZ0=W2&&W2.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),RZ0=W2&&W2.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},MZ0=W2&&W2.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();var FZ0=j2&&j2.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),qH=j2&&j2.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},jH=j2&&j2.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]=0&&(e.throttleRetry=!0),e}return t.result}function eLe(t){if(t&&t.status==0&&t.message=="NOTOK"&&(t.result||"").toLowerCase().indexOf("rate limit")>=0){var e=new Error("throttled response");throw e.result=JSON.stringify(t),e.throttleRetry=!0,e}if(t.jsonrpc!="2.0"){var e=new Error("invalid response");throw e.result=JSON.stringify(t),e}if(t.error){var e=new Error(t.error.message||"unknown error");throw t.error.code&&(e.code=t.error.code),t.error.data&&(e.data=t.error.data),e}return t.result}function tLe(t){if(t==="pending")throw new Error("pending not supported");return t==="latest"?t:parseInt(t.substring(2),16)}function Cfe(t,e,n){if(t==="call"&&e.code===q2.Logger.errors.SERVER_ERROR){var a=e.error;if(a&&(a.message.match(/reverted/i)||a.message.match(/VM execution error/i))){var r=a.data;if(r&&(r="0x"+r.replace(/^.*0x/i,"")),(0,GH.isHexString)(r))return r;fb.throwError("missing revert data in call exception",q2.Logger.errors.CALL_EXCEPTION,{error:e,data:"0x"})}}var f=e.message;throw e.code===q2.Logger.errors.SERVER_ERROR&&(e.error&&typeof e.error.message=="string"?f=e.error.message:typeof e.body=="string"?f=e.body:typeof e.responseText=="string"&&(f=e.responseText)),f=(f||"").toLowerCase(),f.match(/insufficient funds/)&&fb.throwError("insufficient funds for intrinsic transaction cost",q2.Logger.errors.INSUFFICIENT_FUNDS,{error:e,method:t,transaction:n}),f.match(/same hash was already imported|transaction nonce is too low|nonce too low/)&&fb.throwError("nonce has already been used",q2.Logger.errors.NONCE_EXPIRED,{error:e,method:t,transaction:n}),f.match(/another transaction with same nonce/)&&fb.throwError("replacement fee too low",q2.Logger.errors.REPLACEMENT_UNDERPRICED,{error:e,method:t,transaction:n}),f.match(/execution failed due to an exception|execution reverted/)&&fb.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",q2.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:n}),e}var qZ0=function(t){FZ0(e,t);function e(n,a){var r=t.call(this,n)||this;return(0,Afe.defineReadOnly)(r,"baseUrl",r.getBaseUrl()),(0,Afe.defineReadOnly)(r,"apiKey",a||null),r}return e.prototype.getBaseUrl=function(){switch(this.network?this.network.name:"invalid"){case"homestead":return"https://api.etherscan.io";case"goerli":return"https://api-goerli.etherscan.io";case"sepolia":return"https://api-sepolia.etherscan.io";case"matic":return"https://api.polygonscan.com";case"maticmum":return"https://api-testnet.polygonscan.com";case"arbitrum":return"https://api.arbiscan.io";case"arbitrum-goerli":return"https://api-goerli.arbiscan.io";case"optimism":return"https://api-optimistic.etherscan.io";case"optimism-goerli":return"https://api-goerli-optimistic.etherscan.io";default:}return fb.throwArgumentError("unsupported network","network",this.network.name)},e.prototype.getUrl=function(n,a){var r=Object.keys(a).reduce(function(i,s){var o=a[s];return o!=null&&(i+="&"+s+"="+o),i},""),f=this.apiKey?"&apikey="+this.apiKey:"";return this.baseUrl+"/api?module="+n+r+f},e.prototype.getPostUrl=function(){return this.baseUrl+"/api"},e.prototype.getPostData=function(n,a){return a.module=n,a.apikey=this.apiKey,a},e.prototype.fetch=function(n,a,r){return qH(this,void 0,void 0,function(){var f,i,s,o,c,d,l=this;return jH(this,function(h){switch(h.label){case 0:return f=r?this.getPostUrl():this.getUrl(n,a),i=r?this.getPostData(n,a):null,s=n==="proxy"?eLe:WZ0,this.emit("debug",{action:"request",request:f,provider:this}),o={url:f,throttleSlotInterval:1e3,throttleCallback:function(y,v){return l.isCommunityResource()&&(0,UZ0.showThrottleMessage)(),Promise.resolve(!0)}},c=null,i&&(o.headers={"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},c=Object.keys(i).map(function(y){return y+"="+i[y]}).join("&")),[4,(0,OZ0.fetchJson)(o,c,s||eLe)];case 1:return d=h.sent(),this.emit("debug",{action:"response",request:f,response:(0,Afe.deepCopy)(d),provider:this}),[2,d]}})})},e.prototype.detectNetwork=function(){return qH(this,void 0,void 0,function(){return jH(this,function(n){return[2,this.network]})})},e.prototype.perform=function(n,a){return qH(this,void 0,void 0,function(){var r,i,f,i,s,o,c,d,l,h,y,v,S;return jH(this,function(O){switch(O.label){case 0:switch(r=n,r){case"getBlockNumber":return[3,1];case"getGasPrice":return[3,2];case"getBalance":return[3,3];case"getTransactionCount":return[3,4];case"getCode":return[3,5];case"getStorageAt":return[3,6];case"sendTransaction":return[3,7];case"getBlock":return[3,8];case"getTransaction":return[3,9];case"getTransactionReceipt":return[3,10];case"call":return[3,11];case"estimateGas":return[3,15];case"getLogs":return[3,19];case"getEtherPrice":return[3,26]}return[3,28];case 1:return[2,this.fetch("proxy",{action:"eth_blockNumber"})];case 2:return[2,this.fetch("proxy",{action:"eth_gasPrice"})];case 3:return[2,this.fetch("account",{action:"balance",address:a.address,tag:a.blockTag})];case 4:return[2,this.fetch("proxy",{action:"eth_getTransactionCount",address:a.address,tag:a.blockTag})];case 5:return[2,this.fetch("proxy",{action:"eth_getCode",address:a.address,tag:a.blockTag})];case 6:return[2,this.fetch("proxy",{action:"eth_getStorageAt",address:a.address,position:a.position,tag:a.blockTag})];case 7:return[2,this.fetch("proxy",{action:"eth_sendRawTransaction",hex:a.signedTransaction},!0).catch(function(F){return Cfe("sendTransaction",F,a.signedTransaction)})];case 8:if(a.blockTag)return[2,this.fetch("proxy",{action:"eth_getBlockByNumber",tag:a.blockTag,boolean:a.includeTransactions?"true":"false"})];throw new Error("getBlock by blockHash not implemented");case 9:return[2,this.fetch("proxy",{action:"eth_getTransactionByHash",txhash:a.transactionHash})];case 10:return[2,this.fetch("proxy",{action:"eth_getTransactionReceipt",txhash:a.transactionHash})];case 11:if(a.blockTag!=="latest")throw new Error("EtherscanProvider does not support blockTag for call");i=ZPe(a.transaction),i.module="proxy",i.action="eth_call",O.label=12;case 12:return O.trys.push([12,14,,15]),[4,this.fetch("proxy",i,!0)];case 13:return[2,O.sent()];case 14:return f=O.sent(),[2,Cfe("call",f,a.transaction)];case 15:i=ZPe(a.transaction),i.module="proxy",i.action="eth_estimateGas",O.label=16;case 16:return O.trys.push([16,18,,19]),[4,this.fetch("proxy",i,!0)];case 17:return[2,O.sent()];case 18:return s=O.sent(),[2,Cfe("estimateGas",s,a.transaction)];case 19:return o={action:"getLogs"},a.filter.fromBlock&&(o.fromBlock=tLe(a.filter.fromBlock)),a.filter.toBlock&&(o.toBlock=tLe(a.filter.toBlock)),a.filter.address&&(o.address=a.filter.address),a.filter.topics&&a.filter.topics.length>0&&(a.filter.topics.length>1&&fb.throwError("unsupported topic count",q2.Logger.errors.UNSUPPORTED_OPERATION,{topics:a.filter.topics}),a.filter.topics.length===1&&(c=a.filter.topics[0],(typeof c!="string"||c.length!==66)&&fb.throwError("unsupported topic format",q2.Logger.errors.UNSUPPORTED_OPERATION,{topic0:c}),o.topic0=c)),[4,this.fetch("logs",o)];case 20:d=O.sent(),l={},h=0,O.label=21;case 21:return h{"use strict";u();p();var jZ0=K2&&K2.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),VH=K2&&K2.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},iS=K2&&K2.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]e?null:(a+r)/2}function PT(t){if(t===null)return"null";if(typeof t=="number"||typeof t=="boolean")return JSON.stringify(t);if(typeof t=="string")return t;if(KZ0.BigNumber.isBigNumber(t))return t.toString();if(Array.isArray(t))return JSON.stringify(t.map(function(n){return PT(n)}));if(typeof t=="object"){var e=Object.keys(t);return e.sort(),"{"+e.map(function(n){var a=t[n];return typeof a=="function"?a="[function]":a=PT(a),JSON.stringify(n)+":"+a}).join(",")+"}"}throw new Error("unknown value type: "+typeof t)}var JZ0=1;function iLe(t){var e=null,n=null,a=new Promise(function(i){e=function(){n&&(clearTimeout(n),n=null),i()},n=setTimeout(e,t)}),r=function(i){return a=a.then(i),a};function f(){return a}return{cancel:e,getPromise:f,wait:r}}var XZ0=[ib.Logger.errors.CALL_EXCEPTION,ib.Logger.errors.INSUFFICIENT_FUNDS,ib.Logger.errors.NONCE_EXPIRED,ib.Logger.errors.REPLACEMENT_UNDERPRICED,ib.Logger.errors.UNPREDICTABLE_GAS_LIMIT],ZZ0=["address","args","errorArgs","errorSignature","method","transaction"];function QH(t,e){var n={weight:t.weight};return Object.defineProperty(n,"provider",{get:function(){return t.provider}}),t.start&&(n.start=t.start),e&&(n.duration=e-t.start),t.done&&(t.error?n.error=t.error:n.result=t.result||null),n}function eet(t,e){return function(n){var a={};n.forEach(function(s){var o=t(s.result);a[o]||(a[o]={count:0,result:s.result}),a[o].count++});for(var r=Object.keys(a),f=0;f=e)return i.result}}}function tet(t,e,n){var a=PT;switch(e){case"getBlockNumber":return function(r){var f=r.map(function(s){return s.result}),i=fLe(r.map(function(s){return s.result}),2);if(i!=null)return i=Math.ceil(i),f.indexOf(i+1)>=0&&i++,i>=t._highestBlockNumber&&(t._highestBlockNumber=i),t._highestBlockNumber};case"getGasPrice":return function(r){var f=r.map(function(i){return i.result});return f.sort(),f[Math.floor(f.length/2)]};case"getEtherPrice":return function(r){return fLe(r.map(function(f){return f.result}))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":a=function(r){return r==null?null:(r=(0,G2.shallowCopy)(r),r.confirmations=-1,PT(r))};break;case"getBlock":n.includeTransactions?a=function(r){return r==null?null:(r=(0,G2.shallowCopy)(r),r.transactions=r.transactions.map(function(f){return f=(0,G2.shallowCopy)(f),f.confirmations=-1,f}),PT(r))}:a=function(r){return r==null?null:PT(r)};break;default:throw new Error("unknown method: "+e)}return eet(a,t.quorum)}function fS(t,e){return VH(this,void 0,void 0,function(){var n;return iS(this,function(a){return n=t.provider,n.blockNumber!=null&&n.blockNumber>=e||e===-1?[2,n]:[2,(0,VZ0.poll)(function(){return new Promise(function(r,f){setTimeout(function(){return n.blockNumber>=e?r(n):t.cancelled?r(null):r(void 0)},0)})},{oncePoll:n})]})})}function net(t,e,n,a){return VH(this,void 0,void 0,function(){var r,f,i;return iS(this,function(s){switch(s.label){case 0:switch(r=t.provider,f=n,f){case"getBlockNumber":return[3,1];case"getGasPrice":return[3,1];case"getEtherPrice":return[3,2];case"getBalance":return[3,3];case"getTransactionCount":return[3,3];case"getCode":return[3,3];case"getStorageAt":return[3,6];case"getBlock":return[3,9];case"call":return[3,12];case"estimateGas":return[3,12];case"getTransaction":return[3,15];case"getTransactionReceipt":return[3,15];case"getLogs":return[3,16]}return[3,19];case 1:return[2,r[n]()];case 2:return r.getEtherPrice?[2,r.getEtherPrice()]:[3,19];case 3:return a.blockTag&&(0,DT.isHexString)(a.blockTag)?[4,fS(t,e)]:[3,5];case 4:r=s.sent(),s.label=5;case 5:return[2,r[n](a.address,a.blockTag||"latest")];case 6:return a.blockTag&&(0,DT.isHexString)(a.blockTag)?[4,fS(t,e)]:[3,8];case 7:r=s.sent(),s.label=8;case 8:return[2,r.getStorageAt(a.address,a.position,a.blockTag||"latest")];case 9:return a.blockTag&&(0,DT.isHexString)(a.blockTag)?[4,fS(t,e)]:[3,11];case 10:r=s.sent(),s.label=11;case 11:return[2,r[a.includeTransactions?"getBlockWithTransactions":"getBlock"](a.blockTag||a.blockHash)];case 12:return a.blockTag&&(0,DT.isHexString)(a.blockTag)?[4,fS(t,e)]:[3,14];case 13:r=s.sent(),s.label=14;case 14:return n==="call"&&a.blockTag?[2,r[n](a.transaction,a.blockTag)]:[2,r[n](a.transaction)];case 15:return[2,r[n](a.transactionHash)];case 16:return i=a.filter,i.fromBlock&&(0,DT.isHexString)(i.fromBlock)||i.toBlock&&(0,DT.isHexString)(i.toBlock)?[4,fS(t,e)]:[3,18];case 17:r=s.sent(),s.label=18;case 18:return[2,r.getLogs(i)];case 19:return[2,v7.throwError("unknown method error",ib.Logger.errors.UNKNOWN_ERROR,{method:n,params:a})]}})})}var aet=function(t){jZ0(e,t);function e(n,a){var r=this;n.length===0&&v7.throwArgumentError("missing providers","providers",n);var f=n.map(function(o,c){if(GZ0.Provider.isProvider(o)){var d=(0,aLe.isCommunityResource)(o)?2e3:750,l=1;return Object.freeze({provider:o,weight:1,stallTimeout:d,priority:l})}var h=(0,G2.shallowCopy)(o);h.priority==null&&(h.priority=1),h.stallTimeout==null&&(h.stallTimeout=(0,aLe.isCommunityResource)(o)?2e3:750),h.weight==null&&(h.weight=1);var y=h.weight;return(y%1||y>512||y<1)&&v7.throwArgumentError("invalid weight; must be integer in [1, 512]","providers["+c+"].weight",y),Object.freeze(h)}),i=f.reduce(function(o,c){return o+c.weight},0);a==null?a=i/2:a>i&&v7.throwArgumentError("quorum will always fail; larger than total weight","quorum",a);var s=rLe(f.map(function(o){return o.provider.network}));return s==null&&(s=new Promise(function(o,c){setTimeout(function(){r.detectNetwork().then(o,c)},0)})),r=t.call(this,s)||this,(0,G2.defineReadOnly)(r,"providerConfigs",Object.freeze(f)),(0,G2.defineReadOnly)(r,"quorum",a),r._highestBlockNumber=-1,r}return e.prototype.detectNetwork=function(){return VH(this,void 0,void 0,function(){var n;return iS(this,function(a){switch(a.label){case 0:return[4,Promise.all(this.providerConfigs.map(function(r){return r.provider.getNetwork()}))];case 1:return n=a.sent(),[2,rLe(n)]}})})},e.prototype.perform=function(n,a){return VH(this,void 0,void 0,function(){var r,f,i,s,o,c,d,l,h,y,v,S=this;return iS(this,function(O){switch(O.label){case 0:return n!=="sendTransaction"?[3,2]:[4,Promise.all(this.providerConfigs.map(function(F){return F.provider.sendTransaction(a.signedTransaction).then(function(z){return z.hash},function(z){return z})}))];case 1:for(r=O.sent(),f=0;f=y.quorum?(V=s(Q),V!==void 0?(o.forEach(function(G){G.staller&&G.staller.cancel(),G.cancelled=!0}),[2,{value:V}]):l?[3,4]:[4,iLe(100).getPromise()]):[3,5];case 3:K.sent(),K.label=4;case 4:l=!1,K.label=5;case 5:return X=o.reduce(function(G,R){if(!R.done||R.error==null)return G;var T=R.error.code;return XZ0.indexOf(T)>=0&&(G[T]||(G[T]={error:R.error,weight:0}),G[T].weight+=R.weight),G},{}),Object.keys(X).forEach(function(G){var R=X[G];if(!(R.weight{"use strict";u();p();Object.defineProperty(YH,"__esModule",{value:!0});YH.IpcProvider=void 0;var ret=null;YH.IpcProvider=ret});var uLe=D(sb=>{"use strict";u();p();var cLe=sb&&sb.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(sb,"__esModule",{value:!0});sb.InfuraProvider=sb.InfuraWebSocketProvider=void 0;var Ife=Ba(),fet=UH(),iet=tb(),kfe=Ft(),set=no(),$H=new kfe.Logger(set.version),oet=ab(),sS="84842078b09946638c03157f83405213",dLe=function(t){cLe(e,t);function e(n,a){var r=this,f=new lLe(n,a),i=f.connection;i.password&&$H.throwError("INFURA WebSocket project secrets unsupported",kfe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"InfuraProvider.getWebSocketProvider()"});var s=i.url.replace(/^http/i,"ws").replace("/v3/","/ws/v3/");return r=t.call(this,s,n)||this,(0,Ife.defineReadOnly)(r,"apiKey",f.projectId),(0,Ife.defineReadOnly)(r,"projectId",f.projectId),(0,Ife.defineReadOnly)(r,"projectSecret",f.projectSecret),r}return e.prototype.isCommunityResource=function(){return this.projectId===sS},e}(fet.WebSocketProvider);sb.InfuraWebSocketProvider=dLe;var lLe=function(t){cLe(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getWebSocketProvider=function(n,a){return new dLe(n,a)},e.getApiKey=function(n){var a={apiKey:sS,projectId:sS,projectSecret:null};return n==null||(typeof n=="string"?a.projectId=n:n.projectSecret!=null?($H.assertArgument(typeof n.projectId=="string","projectSecret requires a projectId","projectId",n.projectId),$H.assertArgument(typeof n.projectSecret=="string","invalid projectSecret","projectSecret","[REDACTED]"),a.projectId=n.projectId,a.projectSecret=n.projectSecret):n.projectId&&(a.projectId=n.projectId),a.apiKey=a.projectId),a},e.getUrl=function(n,a){var r=null;switch(n?n.name:"unknown"){case"homestead":r="mainnet.infura.io";break;case"goerli":r="goerli.infura.io";break;case"sepolia":r="sepolia.infura.io";break;case"matic":r="polygon-mainnet.infura.io";break;case"maticmum":r="polygon-mumbai.infura.io";break;case"optimism":r="optimism-mainnet.infura.io";break;case"optimism-goerli":r="optimism-goerli.infura.io";break;case"arbitrum":r="arbitrum-mainnet.infura.io";break;case"arbitrum-goerli":r="arbitrum-goerli.infura.io";break;default:$H.throwError("unsupported network",kfe.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:n})}var f={allowGzip:!0,url:"https://"+r+"/v3/"+a.projectId,throttleCallback:function(i,s){return a.projectId===sS&&(0,iet.showThrottleMessage)(),Promise.resolve(!0)}};return a.projectSecret!=null&&(f.user="",f.password=a.projectSecret),f},e.prototype.isCommunityResource=function(){return this.projectId===sS},e}(oet.UrlJsonRpcProvider);sb.InfuraProvider=lLe});var pLe=D(LT=>{"use strict";u();p();var cet=LT&<.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(LT,"__esModule",{value:!0});LT.JsonRpcBatchProvider=void 0;var det=Ba(),uet=A8(),pet=ST(),het=function(t){cet(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.send=function(n,a){var r=this,f={method:n,params:a,id:this._nextId++,jsonrpc:"2.0"};this._pendingBatch==null&&(this._pendingBatch=[]);var i={request:f,resolve:null,reject:null},s=new Promise(function(o,c){i.resolve=o,i.reject=c});return this._pendingBatch.push(i),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout(function(){var o=r._pendingBatch;r._pendingBatch=null,r._pendingBatchAggregator=null;var c=o.map(function(d){return d.request});return r.emit("debug",{action:"requestBatch",request:(0,det.deepCopy)(c),provider:r}),(0,uet.fetchJson)(r.connection,JSON.stringify(c)).then(function(d){r.emit("debug",{action:"response",request:c,response:d,provider:r}),o.forEach(function(l,h){var y=d[h];if(y.error){var v=new Error(y.error.message);v.code=y.error.code,v.data=y.error.data,l.reject(v)}else l.resolve(y.result)})},function(d){r.emit("debug",{action:"response",error:d,request:c,provider:r}),o.forEach(function(l){l.reject(d)})})},10)),s},e}(pet.JsonRpcProvider);LT.JsonRpcBatchProvider=het});var hLe=D(FT=>{"use strict";u();p();var bet=FT&&FT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(FT,"__esModule",{value:!0});FT.NodesmithProvider=void 0;var met=ab(),yet=Ft(),get=no(),Sfe=new yet.Logger(get.version),vet="ETHERS_JS_SHARED",wet=function(t){bet(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getApiKey=function(n){return n&&typeof n!="string"&&Sfe.throwArgumentError("invalid apiKey","apiKey",n),n||vet},e.getUrl=function(n,a){Sfe.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");var r=null;switch(n.name){case"homestead":r="https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc";break;case"ropsten":r="https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc";break;case"rinkeby":r="https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc";break;case"goerli":r="https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc";break;case"kovan":r="https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc";break;default:Sfe.throwArgumentError("unsupported network","network",arguments[0])}return r+"?apiKey="+a},e}(met.UrlJsonRpcProvider);FT.NodesmithProvider=wet});var gLe=D(NT=>{"use strict";u();p();var Tet=NT&&NT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(NT,"__esModule",{value:!0});NT.PocketProvider=void 0;var yLe=Ft(),xet=no(),bLe=new yLe.Logger(xet.version),Eet=ab(),mLe="62e1ad51b37b8e00394bda3b",_et=function(t){Tet(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getApiKey=function(n){var a={applicationId:null,loadBalancer:!0,applicationSecretKey:null};return n==null?a.applicationId=mLe:typeof n=="string"?a.applicationId=n:n.applicationSecretKey!=null?(a.applicationId=n.applicationId,a.applicationSecretKey=n.applicationSecretKey):n.applicationId?a.applicationId=n.applicationId:bLe.throwArgumentError("unsupported PocketProvider apiKey","apiKey",n),a},e.getUrl=function(n,a){var r=null;switch(n?n.name:"unknown"){case"goerli":r="eth-goerli.gateway.pokt.network";break;case"homestead":r="eth-mainnet.gateway.pokt.network";break;case"kovan":r="poa-kovan.gateway.pokt.network";break;case"matic":r="poly-mainnet.gateway.pokt.network";break;case"maticmum":r="polygon-mumbai-rpc.gateway.pokt.network";break;case"rinkeby":r="eth-rinkeby.gateway.pokt.network";break;case"ropsten":r="eth-ropsten.gateway.pokt.network";break;default:bLe.throwError("unsupported network",yLe.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:n})}var f="https://"+r+"/v1/lb/"+a.applicationId,i={headers:{},url:f};return a.applicationSecretKey!=null&&(i.user="",i.password=a.applicationSecretKey),i},e.prototype.isCommunityResource=function(){return this.applicationId===mLe},e}(Eet.UrlJsonRpcProvider);NT.PocketProvider=_et});var TLe=D(OT=>{"use strict";u();p();var Aet=OT&&OT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(OT,"__esModule",{value:!0});OT.Web3Provider=void 0;var JH=Ba(),Cet=Ft(),Iet=no(),vLe=new Cet.Logger(Iet.version),ket=ST(),Ret=1;function wLe(t,e){var n="Web3LegacyFetcher";return function(a,r){var f=this,i={method:a,params:r,id:Ret++,jsonrpc:"2.0"};return new Promise(function(s,o){f.emit("debug",{action:"request",fetcher:n,request:(0,JH.deepCopy)(i),provider:f}),e(i,function(c,d){if(c)return f.emit("debug",{action:"response",fetcher:n,error:c,request:i,provider:f}),o(c);if(f.emit("debug",{action:"response",fetcher:n,request:i,response:d,provider:f}),d.error){var l=new Error(d.error.message);return l.code=d.error.code,l.data=d.error.data,o(l)}s(d.result)})})}}function Met(t){return function(e,n){var a=this;n==null&&(n=[]);var r={method:e,params:n};return this.emit("debug",{action:"request",fetcher:"Eip1193Fetcher",request:(0,JH.deepCopy)(r),provider:this}),t.request(r).then(function(f){return a.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:r,response:f,provider:a}),f},function(f){throw a.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:r,error:f,provider:a}),f})}}var Bet=function(t){Aet(e,t);function e(n,a){var r=this;n==null&&vLe.throwArgumentError("missing provider","provider",n);var f=null,i=null,s=null;return typeof n=="function"?(f="unknown:",i=n):(f=n.host||n.path||"",!f&&n.isMetaMask&&(f="metamask"),s=n,n.request?(f===""&&(f="eip-1193:"),i=Met(n)):n.sendAsync?i=wLe(n,n.sendAsync.bind(n)):n.send?i=wLe(n,n.send.bind(n)):vLe.throwArgumentError("unsupported provider","provider",n),f||(f="unknown:")),r=t.call(this,f,a)||this,(0,JH.defineReadOnly)(r,"jsonRpcFetchFunc",i),(0,JH.defineReadOnly)(r,"provider",s),r}return e.prototype.send=function(n,a){return this.jsonRpcFetchFunc(n,a)},e}(ket.JsonRpcProvider);OT.Web3Provider=Bet});var ez=D(yt=>{"use strict";u();p();Object.defineProperty(yt,"__esModule",{value:!0});yt.Formatter=yt.showThrottleMessage=yt.isCommunityResourcable=yt.isCommunityResource=yt.getNetwork=yt.getDefaultProvider=yt.JsonRpcSigner=yt.IpcProvider=yt.WebSocketProvider=yt.Web3Provider=yt.StaticJsonRpcProvider=yt.PocketProvider=yt.NodesmithProvider=yt.JsonRpcBatchProvider=yt.JsonRpcProvider=yt.InfuraWebSocketProvider=yt.InfuraProvider=yt.EtherscanProvider=yt.CloudflareProvider=yt.AnkrProvider=yt.AlchemyWebSocketProvider=yt.AlchemyProvider=yt.FallbackProvider=yt.UrlJsonRpcProvider=yt.Resolver=yt.BaseProvider=yt.Provider=void 0;var Det=E3();Object.defineProperty(yt,"Provider",{enumerable:!0,get:function(){return Det.Provider}});var ELe=dfe();Object.defineProperty(yt,"getNetwork",{enumerable:!0,get:function(){return ELe.getNetwork}});var _Le=eS();Object.defineProperty(yt,"BaseProvider",{enumerable:!0,get:function(){return _Le.BaseProvider}});Object.defineProperty(yt,"Resolver",{enumerable:!0,get:function(){return _Le.Resolver}});var Rfe=YPe();Object.defineProperty(yt,"AlchemyProvider",{enumerable:!0,get:function(){return Rfe.AlchemyProvider}});Object.defineProperty(yt,"AlchemyWebSocketProvider",{enumerable:!0,get:function(){return Rfe.AlchemyWebSocketProvider}});var ALe=$Pe();Object.defineProperty(yt,"AnkrProvider",{enumerable:!0,get:function(){return ALe.AnkrProvider}});var CLe=XPe();Object.defineProperty(yt,"CloudflareProvider",{enumerable:!0,get:function(){return CLe.CloudflareProvider}});var ILe=nLe();Object.defineProperty(yt,"EtherscanProvider",{enumerable:!0,get:function(){return ILe.EtherscanProvider}});var kLe=sLe();Object.defineProperty(yt,"FallbackProvider",{enumerable:!0,get:function(){return kLe.FallbackProvider}});var SLe=oLe();Object.defineProperty(yt,"IpcProvider",{enumerable:!0,get:function(){return SLe.IpcProvider}});var Mfe=uLe();Object.defineProperty(yt,"InfuraProvider",{enumerable:!0,get:function(){return Mfe.InfuraProvider}});Object.defineProperty(yt,"InfuraWebSocketProvider",{enumerable:!0,get:function(){return Mfe.InfuraWebSocketProvider}});var XH=ST();Object.defineProperty(yt,"JsonRpcProvider",{enumerable:!0,get:function(){return XH.JsonRpcProvider}});Object.defineProperty(yt,"JsonRpcSigner",{enumerable:!0,get:function(){return XH.JsonRpcSigner}});var Pet=pLe();Object.defineProperty(yt,"JsonRpcBatchProvider",{enumerable:!0,get:function(){return Pet.JsonRpcBatchProvider}});var RLe=hLe();Object.defineProperty(yt,"NodesmithProvider",{enumerable:!0,get:function(){return RLe.NodesmithProvider}});var MLe=gLe();Object.defineProperty(yt,"PocketProvider",{enumerable:!0,get:function(){return MLe.PocketProvider}});var BLe=ab();Object.defineProperty(yt,"StaticJsonRpcProvider",{enumerable:!0,get:function(){return BLe.StaticJsonRpcProvider}});Object.defineProperty(yt,"UrlJsonRpcProvider",{enumerable:!0,get:function(){return BLe.UrlJsonRpcProvider}});var DLe=TLe();Object.defineProperty(yt,"Web3Provider",{enumerable:!0,get:function(){return DLe.Web3Provider}});var PLe=UH();Object.defineProperty(yt,"WebSocketProvider",{enumerable:!0,get:function(){return PLe.WebSocketProvider}});var ZH=tb();Object.defineProperty(yt,"Formatter",{enumerable:!0,get:function(){return ZH.Formatter}});Object.defineProperty(yt,"isCommunityResourcable",{enumerable:!0,get:function(){return ZH.isCommunityResourcable}});Object.defineProperty(yt,"isCommunityResource",{enumerable:!0,get:function(){return ZH.isCommunityResource}});Object.defineProperty(yt,"showThrottleMessage",{enumerable:!0,get:function(){return ZH.showThrottleMessage}});var LLe=Ft(),Let=no(),xLe=new LLe.Logger(Let.version);function Fet(t,e){if(t==null&&(t="homestead"),typeof t=="string"){var n=t.match(/^(ws|http)s?:/i);if(n)switch(n[1].toLowerCase()){case"http":case"https":return new XH.JsonRpcProvider(t);case"ws":case"wss":return new PLe.WebSocketProvider(t);default:xLe.throwArgumentError("unsupported URL scheme","network",t)}}var a=(0,ELe.getNetwork)(t);return(!a||!a._defaultProvider)&&xLe.throwError("unsupported getDefaultProvider network",LLe.Logger.errors.NETWORK_ERROR,{operation:"getDefaultProvider",network:t}),a._defaultProvider({FallbackProvider:kLe.FallbackProvider,AlchemyProvider:Rfe.AlchemyProvider,AnkrProvider:ALe.AnkrProvider,CloudflareProvider:CLe.CloudflareProvider,EtherscanProvider:ILe.EtherscanProvider,InfuraProvider:Mfe.InfuraProvider,JsonRpcProvider:XH.JsonRpcProvider,NodesmithProvider:RLe.NodesmithProvider,PocketProvider:MLe.PocketProvider,Web3Provider:DLe.Web3Provider,IpcProvider:SLe.IpcProvider},e)}yt.getDefaultProvider=Fet});var FLe=D(tz=>{"use strict";u();p();Object.defineProperty(tz,"__esModule",{value:!0});tz.version=void 0;tz.version="solidity/5.7.0"});var Dfe=D(ob=>{"use strict";u();p();Object.defineProperty(ob,"__esModule",{value:!0});ob.sha256=ob.keccak256=ob.pack=void 0;var Net=ia(),ml=Vt(),Oet=O1(),Uet=p7(),Het=_i(),zet=new RegExp("^bytes([0-9]+)$"),Wet=new RegExp("^(u?int)([0-9]*)$"),qet=new RegExp("^(.*)\\[([0-9]*)\\]$"),jet="0000000000000000000000000000000000000000000000000000000000000000",Get=Ft(),Ket=FLe(),UT=new Get.Logger(Ket.version);function NLe(t,e,n){switch(t){case"address":return n?(0,ml.zeroPad)(e,32):(0,ml.arrayify)(e);case"string":return(0,Het.toUtf8Bytes)(e);case"bytes":return(0,ml.arrayify)(e);case"bool":return e=e?"0x01":"0x00",n?(0,ml.zeroPad)(e,32):(0,ml.arrayify)(e)}var a=t.match(Wet);if(a){var r=parseInt(a[2]||"256");return(a[2]&&String(r)!==a[2]||r%8!==0||r===0||r>256)&&UT.throwArgumentError("invalid number type","type",t),n&&(r=256),e=Net.BigNumber.from(e).toTwos(r),(0,ml.zeroPad)(e,r/8)}if(a=t.match(zet),a){var r=parseInt(a[1]);return(String(r)!==a[1]||r===0||r>32)&&UT.throwArgumentError("invalid bytes type","type",t),(0,ml.arrayify)(e).byteLength!==r&&UT.throwArgumentError("invalid value for "+t,"value",e),n?(0,ml.arrayify)((e+jet).substring(0,66)):e}if(a=t.match(qet),a&&Array.isArray(e)){var f=a[1],i=parseInt(a[2]||String(e.length));i!=e.length&&UT.throwArgumentError("invalid array length for "+t,"value",e);var s=[];return e.forEach(function(o){s.push(NLe(f,o,!0))}),(0,ml.concat)(s)}return UT.throwArgumentError("invalid type","type",t)}function Bfe(t,e){t.length!=e.length&&UT.throwArgumentError("wrong number of values; expected ${ types.length }","values",e);var n=[];return t.forEach(function(a,r){n.push(NLe(a,e[r]))}),(0,ml.hexlify)((0,ml.concat)(n))}ob.pack=Bfe;function Qet(t,e){return(0,Oet.keccak256)(Bfe(t,e))}ob.keccak256=Qet;function Vet(t,e){return(0,Uet.sha256)(Bfe(t,e))}ob.sha256=Vet});var OLe=D(nz=>{"use strict";u();p();Object.defineProperty(nz,"__esModule",{value:!0});nz.version=void 0;nz.version="units/5.7.0"});var jLe=D(G5=>{"use strict";u();p();Object.defineProperty(G5,"__esModule",{value:!0});G5.parseEther=G5.formatEther=G5.parseUnits=G5.formatUnits=G5.commify=void 0;var ULe=ia(),Yet=Ft(),$et=OLe(),HLe=new Yet.Logger($et.version),zLe=["wei","kwei","mwei","gwei","szabo","finney","ether"];function Jet(t){var e=String(t).split(".");(e.length>2||!e[0].match(/^-?[0-9]*$/)||e[1]&&!e[1].match(/^[0-9]*$/)||t==="."||t==="-.")&&HLe.throwArgumentError("invalid value","value",t);var n=e[0],a="";for(n.substring(0,1)==="-"&&(a="-",n=n.substring(1));n.substring(0,1)==="0";)n=n.substring(1);n===""&&(n="0");var r="";for(e.length===2&&(r="."+(e[1]||"0"));r.length>2&&r[r.length-1]==="0";)r=r.substring(0,r.length-1);for(var f=[];n.length;)if(n.length<=3){f.unshift(n);break}else{var i=n.length-3;f.unshift(n.substring(i)),n=n.substring(0,i)}return a+f.join(",")+r}G5.commify=Jet;function WLe(t,e){if(typeof e=="string"){var n=zLe.indexOf(e);n!==-1&&(e=3*n)}return(0,ULe.formatFixed)(t,e??18)}G5.formatUnits=WLe;function qLe(t,e){if(typeof t!="string"&&HLe.throwArgumentError("value must be a string","value",t),typeof e=="string"){var n=zLe.indexOf(e);n!==-1&&(e=3*n)}return(0,ULe.parseFixed)(t,e??18)}G5.parseUnits=qLe;function Xet(t){return WLe(t,18)}G5.formatEther=Xet;function Zet(t){return qLe(t,18)}G5.parseEther=Zet});var qT=D(ke=>{"use strict";u();p();var e0t=ke&&ke.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),t0t=ke&&ke.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),GLe=ke&&ke.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&e0t(e,t,n);return t0t(e,t),e};Object.defineProperty(ke,"__esModule",{value:!0});ke.formatBytes32String=ke.Utf8ErrorFuncs=ke.toUtf8String=ke.toUtf8CodePoints=ke.toUtf8Bytes=ke._toEscapedUtf8String=ke.nameprep=ke.hexDataSlice=ke.hexDataLength=ke.hexZeroPad=ke.hexValue=ke.hexStripZeros=ke.hexConcat=ke.isHexString=ke.hexlify=ke.base64=ke.base58=ke.TransactionDescription=ke.LogDescription=ke.Interface=ke.SigningKey=ke.HDNode=ke.defaultPath=ke.isBytesLike=ke.isBytes=ke.zeroPad=ke.stripZeros=ke.concat=ke.arrayify=ke.shallowCopy=ke.resolveProperties=ke.getStatic=ke.defineReadOnly=ke.deepCopy=ke.checkProperties=ke.poll=ke.fetchJson=ke._fetchData=ke.RLP=ke.Logger=ke.checkResultErrors=ke.FormatTypes=ke.ParamType=ke.FunctionFragment=ke.EventFragment=ke.ErrorFragment=ke.ConstructorFragment=ke.Fragment=ke.defaultAbiCoder=ke.AbiCoder=void 0;ke.Indexed=ke.Utf8ErrorReason=ke.UnicodeNormalizationForm=ke.SupportedAlgorithm=ke.mnemonicToSeed=ke.isValidMnemonic=ke.entropyToMnemonic=ke.mnemonicToEntropy=ke.getAccountPath=ke.verifyTypedData=ke.verifyMessage=ke.recoverPublicKey=ke.computePublicKey=ke.recoverAddress=ke.computeAddress=ke.getJsonWalletAddress=ke.TransactionTypes=ke.serializeTransaction=ke.parseTransaction=ke.accessListify=ke.joinSignature=ke.splitSignature=ke.soliditySha256=ke.solidityKeccak256=ke.solidityPack=ke.shuffled=ke.randomBytes=ke.sha512=ke.sha256=ke.ripemd160=ke.keccak256=ke.computeHmac=ke.commify=ke.parseUnits=ke.formatUnits=ke.parseEther=ke.formatEther=ke.isAddress=ke.getCreate2Address=ke.getContractAddress=ke.getIcapAddress=ke.getAddress=ke._TypedDataEncoder=ke.id=ke.isValidName=ke.namehash=ke.hashMessage=ke.dnsEncode=ke.parseBytes32String=void 0;var Lc=hw();Object.defineProperty(ke,"AbiCoder",{enumerable:!0,get:function(){return Lc.AbiCoder}});Object.defineProperty(ke,"checkResultErrors",{enumerable:!0,get:function(){return Lc.checkResultErrors}});Object.defineProperty(ke,"ConstructorFragment",{enumerable:!0,get:function(){return Lc.ConstructorFragment}});Object.defineProperty(ke,"defaultAbiCoder",{enumerable:!0,get:function(){return Lc.defaultAbiCoder}});Object.defineProperty(ke,"ErrorFragment",{enumerable:!0,get:function(){return Lc.ErrorFragment}});Object.defineProperty(ke,"EventFragment",{enumerable:!0,get:function(){return Lc.EventFragment}});Object.defineProperty(ke,"FormatTypes",{enumerable:!0,get:function(){return Lc.FormatTypes}});Object.defineProperty(ke,"Fragment",{enumerable:!0,get:function(){return Lc.Fragment}});Object.defineProperty(ke,"FunctionFragment",{enumerable:!0,get:function(){return Lc.FunctionFragment}});Object.defineProperty(ke,"Indexed",{enumerable:!0,get:function(){return Lc.Indexed}});Object.defineProperty(ke,"Interface",{enumerable:!0,get:function(){return Lc.Interface}});Object.defineProperty(ke,"LogDescription",{enumerable:!0,get:function(){return Lc.LogDescription}});Object.defineProperty(ke,"ParamType",{enumerable:!0,get:function(){return Lc.ParamType}});Object.defineProperty(ke,"TransactionDescription",{enumerable:!0,get:function(){return Lc.TransactionDescription}});var oS=Bo();Object.defineProperty(ke,"getAddress",{enumerable:!0,get:function(){return oS.getAddress}});Object.defineProperty(ke,"getCreate2Address",{enumerable:!0,get:function(){return oS.getCreate2Address}});Object.defineProperty(ke,"getContractAddress",{enumerable:!0,get:function(){return oS.getContractAddress}});Object.defineProperty(ke,"getIcapAddress",{enumerable:!0,get:function(){return oS.getIcapAddress}});Object.defineProperty(ke,"isAddress",{enumerable:!0,get:function(){return oS.isAddress}});var n0t=GLe(bI());ke.base64=n0t;var a0t=tH();Object.defineProperty(ke,"base58",{enumerable:!0,get:function(){return a0t.Base58}});var Yo=Vt();Object.defineProperty(ke,"arrayify",{enumerable:!0,get:function(){return Yo.arrayify}});Object.defineProperty(ke,"concat",{enumerable:!0,get:function(){return Yo.concat}});Object.defineProperty(ke,"hexConcat",{enumerable:!0,get:function(){return Yo.hexConcat}});Object.defineProperty(ke,"hexDataSlice",{enumerable:!0,get:function(){return Yo.hexDataSlice}});Object.defineProperty(ke,"hexDataLength",{enumerable:!0,get:function(){return Yo.hexDataLength}});Object.defineProperty(ke,"hexlify",{enumerable:!0,get:function(){return Yo.hexlify}});Object.defineProperty(ke,"hexStripZeros",{enumerable:!0,get:function(){return Yo.hexStripZeros}});Object.defineProperty(ke,"hexValue",{enumerable:!0,get:function(){return Yo.hexValue}});Object.defineProperty(ke,"hexZeroPad",{enumerable:!0,get:function(){return Yo.hexZeroPad}});Object.defineProperty(ke,"isBytes",{enumerable:!0,get:function(){return Yo.isBytes}});Object.defineProperty(ke,"isBytesLike",{enumerable:!0,get:function(){return Yo.isBytesLike}});Object.defineProperty(ke,"isHexString",{enumerable:!0,get:function(){return Yo.isHexString}});Object.defineProperty(ke,"joinSignature",{enumerable:!0,get:function(){return Yo.joinSignature}});Object.defineProperty(ke,"zeroPad",{enumerable:!0,get:function(){return Yo.zeroPad}});Object.defineProperty(ke,"splitSignature",{enumerable:!0,get:function(){return Yo.splitSignature}});Object.defineProperty(ke,"stripZeros",{enumerable:!0,get:function(){return Yo.stripZeros}});var HT=x3();Object.defineProperty(ke,"_TypedDataEncoder",{enumerable:!0,get:function(){return HT._TypedDataEncoder}});Object.defineProperty(ke,"dnsEncode",{enumerable:!0,get:function(){return HT.dnsEncode}});Object.defineProperty(ke,"hashMessage",{enumerable:!0,get:function(){return HT.hashMessage}});Object.defineProperty(ke,"id",{enumerable:!0,get:function(){return HT.id}});Object.defineProperty(ke,"isValidName",{enumerable:!0,get:function(){return HT.isValidName}});Object.defineProperty(ke,"namehash",{enumerable:!0,get:function(){return HT.namehash}});var w7=mH();Object.defineProperty(ke,"defaultPath",{enumerable:!0,get:function(){return w7.defaultPath}});Object.defineProperty(ke,"entropyToMnemonic",{enumerable:!0,get:function(){return w7.entropyToMnemonic}});Object.defineProperty(ke,"getAccountPath",{enumerable:!0,get:function(){return w7.getAccountPath}});Object.defineProperty(ke,"HDNode",{enumerable:!0,get:function(){return w7.HDNode}});Object.defineProperty(ke,"isValidMnemonic",{enumerable:!0,get:function(){return w7.isValidMnemonic}});Object.defineProperty(ke,"mnemonicToEntropy",{enumerable:!0,get:function(){return w7.mnemonicToEntropy}});Object.defineProperty(ke,"mnemonicToSeed",{enumerable:!0,get:function(){return w7.mnemonicToSeed}});var r0t=ife();Object.defineProperty(ke,"getJsonWalletAddress",{enumerable:!0,get:function(){return r0t.getJsonWalletAddress}});var f0t=O1();Object.defineProperty(ke,"keccak256",{enumerable:!0,get:function(){return f0t.keccak256}});var i0t=Ft();Object.defineProperty(ke,"Logger",{enumerable:!0,get:function(){return i0t.Logger}});var az=p7();Object.defineProperty(ke,"computeHmac",{enumerable:!0,get:function(){return az.computeHmac}});Object.defineProperty(ke,"ripemd160",{enumerable:!0,get:function(){return az.ripemd160}});Object.defineProperty(ke,"sha256",{enumerable:!0,get:function(){return az.sha256}});Object.defineProperty(ke,"sha512",{enumerable:!0,get:function(){return az.sha512}});var Pfe=Dfe();Object.defineProperty(ke,"solidityKeccak256",{enumerable:!0,get:function(){return Pfe.keccak256}});Object.defineProperty(ke,"solidityPack",{enumerable:!0,get:function(){return Pfe.pack}});Object.defineProperty(ke,"soliditySha256",{enumerable:!0,get:function(){return Pfe.sha256}});var KLe=jk();Object.defineProperty(ke,"randomBytes",{enumerable:!0,get:function(){return KLe.randomBytes}});Object.defineProperty(ke,"shuffled",{enumerable:!0,get:function(){return KLe.shuffled}});var zT=Ba();Object.defineProperty(ke,"checkProperties",{enumerable:!0,get:function(){return zT.checkProperties}});Object.defineProperty(ke,"deepCopy",{enumerable:!0,get:function(){return zT.deepCopy}});Object.defineProperty(ke,"defineReadOnly",{enumerable:!0,get:function(){return zT.defineReadOnly}});Object.defineProperty(ke,"getStatic",{enumerable:!0,get:function(){return zT.getStatic}});Object.defineProperty(ke,"resolveProperties",{enumerable:!0,get:function(){return zT.resolveProperties}});Object.defineProperty(ke,"shallowCopy",{enumerable:!0,get:function(){return zT.shallowCopy}});var s0t=GLe(pI());ke.RLP=s0t;var Lfe=kk();Object.defineProperty(ke,"computePublicKey",{enumerable:!0,get:function(){return Lfe.computePublicKey}});Object.defineProperty(ke,"recoverPublicKey",{enumerable:!0,get:function(){return Lfe.recoverPublicKey}});Object.defineProperty(ke,"SigningKey",{enumerable:!0,get:function(){return Lfe.SigningKey}});var cb=_i();Object.defineProperty(ke,"formatBytes32String",{enumerable:!0,get:function(){return cb.formatBytes32String}});Object.defineProperty(ke,"nameprep",{enumerable:!0,get:function(){return cb.nameprep}});Object.defineProperty(ke,"parseBytes32String",{enumerable:!0,get:function(){return cb.parseBytes32String}});Object.defineProperty(ke,"_toEscapedUtf8String",{enumerable:!0,get:function(){return cb._toEscapedUtf8String}});Object.defineProperty(ke,"toUtf8Bytes",{enumerable:!0,get:function(){return cb.toUtf8Bytes}});Object.defineProperty(ke,"toUtf8CodePoints",{enumerable:!0,get:function(){return cb.toUtf8CodePoints}});Object.defineProperty(ke,"toUtf8String",{enumerable:!0,get:function(){return cb.toUtf8String}});Object.defineProperty(ke,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return cb.Utf8ErrorFuncs}});var WT=P2();Object.defineProperty(ke,"accessListify",{enumerable:!0,get:function(){return WT.accessListify}});Object.defineProperty(ke,"computeAddress",{enumerable:!0,get:function(){return WT.computeAddress}});Object.defineProperty(ke,"parseTransaction",{enumerable:!0,get:function(){return WT.parse}});Object.defineProperty(ke,"recoverAddress",{enumerable:!0,get:function(){return WT.recoverAddress}});Object.defineProperty(ke,"serializeTransaction",{enumerable:!0,get:function(){return WT.serialize}});Object.defineProperty(ke,"TransactionTypes",{enumerable:!0,get:function(){return WT.TransactionTypes}});var cS=jLe();Object.defineProperty(ke,"commify",{enumerable:!0,get:function(){return cS.commify}});Object.defineProperty(ke,"formatEther",{enumerable:!0,get:function(){return cS.formatEther}});Object.defineProperty(ke,"parseEther",{enumerable:!0,get:function(){return cS.parseEther}});Object.defineProperty(ke,"formatUnits",{enumerable:!0,get:function(){return cS.formatUnits}});Object.defineProperty(ke,"parseUnits",{enumerable:!0,get:function(){return cS.parseUnits}});var QLe=cfe();Object.defineProperty(ke,"verifyMessage",{enumerable:!0,get:function(){return QLe.verifyMessage}});Object.defineProperty(ke,"verifyTypedData",{enumerable:!0,get:function(){return QLe.verifyTypedData}});var Ffe=A8();Object.defineProperty(ke,"_fetchData",{enumerable:!0,get:function(){return Ffe._fetchData}});Object.defineProperty(ke,"fetchJson",{enumerable:!0,get:function(){return Ffe.fetchJson}});Object.defineProperty(ke,"poll",{enumerable:!0,get:function(){return Ffe.poll}});var o0t=p7();Object.defineProperty(ke,"SupportedAlgorithm",{enumerable:!0,get:function(){return o0t.SupportedAlgorithm}});var VLe=_i();Object.defineProperty(ke,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return VLe.UnicodeNormalizationForm}});Object.defineProperty(ke,"Utf8ErrorReason",{enumerable:!0,get:function(){return VLe.Utf8ErrorReason}})});var YLe=D(rz=>{"use strict";u();p();Object.defineProperty(rz,"__esModule",{value:!0});rz.version=void 0;rz.version="ethers/5.7.2"});var Ufe=D(dn=>{"use strict";u();p();var c0t=dn&&dn.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),d0t=dn&&dn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Nfe=dn&&dn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&c0t(e,t,n);return d0t(e,t),e};Object.defineProperty(dn,"__esModule",{value:!0});dn.Wordlist=dn.version=dn.wordlists=dn.utils=dn.logger=dn.errors=dn.constants=dn.FixedNumber=dn.BigNumber=dn.ContractFactory=dn.Contract=dn.BaseContract=dn.providers=dn.getDefaultProvider=dn.VoidSigner=dn.Wallet=dn.Signer=void 0;var Ofe=kBe();Object.defineProperty(dn,"BaseContract",{enumerable:!0,get:function(){return Ofe.BaseContract}});Object.defineProperty(dn,"Contract",{enumerable:!0,get:function(){return Ofe.Contract}});Object.defineProperty(dn,"ContractFactory",{enumerable:!0,get:function(){return Ofe.ContractFactory}});var $Le=ia();Object.defineProperty(dn,"BigNumber",{enumerable:!0,get:function(){return $Le.BigNumber}});Object.defineProperty(dn,"FixedNumber",{enumerable:!0,get:function(){return $Le.FixedNumber}});var JLe=r8();Object.defineProperty(dn,"Signer",{enumerable:!0,get:function(){return JLe.Signer}});Object.defineProperty(dn,"VoidSigner",{enumerable:!0,get:function(){return JLe.VoidSigner}});var l0t=cfe();Object.defineProperty(dn,"Wallet",{enumerable:!0,get:function(){return l0t.Wallet}});var u0t=Nfe(w3());dn.constants=u0t;var p0t=Nfe(ez());dn.providers=p0t;var h0t=ez();Object.defineProperty(dn,"getDefaultProvider",{enumerable:!0,get:function(){return h0t.getDefaultProvider}});var XLe=Qre();Object.defineProperty(dn,"Wordlist",{enumerable:!0,get:function(){return XLe.Wordlist}});Object.defineProperty(dn,"wordlists",{enumerable:!0,get:function(){return XLe.wordlists}});var b0t=Nfe(qT());dn.utils=b0t;var ZLe=Ft();Object.defineProperty(dn,"errors",{enumerable:!0,get:function(){return ZLe.ErrorCode}});var eFe=YLe();Object.defineProperty(dn,"version",{enumerable:!0,get:function(){return eFe.version}});var m0t=new ZLe.Logger(eFe.version);dn.logger=m0t});var Xe=D(Jt=>{"use strict";u();p();var y0t=Jt&&Jt.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),g0t=Jt&&Jt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),v0t=Jt&&Jt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&y0t(e,t,n);return g0t(e,t),e};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.Wordlist=Jt.version=Jt.wordlists=Jt.utils=Jt.logger=Jt.errors=Jt.constants=Jt.FixedNumber=Jt.BigNumber=Jt.ContractFactory=Jt.Contract=Jt.BaseContract=Jt.providers=Jt.getDefaultProvider=Jt.VoidSigner=Jt.Wallet=Jt.Signer=Jt.ethers=void 0;var tFe=v0t(Ufe());Jt.ethers=tFe;try{Hfe=window,Hfe._ethers==null&&(Hfe._ethers=tFe)}catch{}var Hfe,ao=Ufe();Object.defineProperty(Jt,"Signer",{enumerable:!0,get:function(){return ao.Signer}});Object.defineProperty(Jt,"Wallet",{enumerable:!0,get:function(){return ao.Wallet}});Object.defineProperty(Jt,"VoidSigner",{enumerable:!0,get:function(){return ao.VoidSigner}});Object.defineProperty(Jt,"getDefaultProvider",{enumerable:!0,get:function(){return ao.getDefaultProvider}});Object.defineProperty(Jt,"providers",{enumerable:!0,get:function(){return ao.providers}});Object.defineProperty(Jt,"BaseContract",{enumerable:!0,get:function(){return ao.BaseContract}});Object.defineProperty(Jt,"Contract",{enumerable:!0,get:function(){return ao.Contract}});Object.defineProperty(Jt,"ContractFactory",{enumerable:!0,get:function(){return ao.ContractFactory}});Object.defineProperty(Jt,"BigNumber",{enumerable:!0,get:function(){return ao.BigNumber}});Object.defineProperty(Jt,"FixedNumber",{enumerable:!0,get:function(){return ao.FixedNumber}});Object.defineProperty(Jt,"constants",{enumerable:!0,get:function(){return ao.constants}});Object.defineProperty(Jt,"errors",{enumerable:!0,get:function(){return ao.errors}});Object.defineProperty(Jt,"logger",{enumerable:!0,get:function(){return ao.logger}});Object.defineProperty(Jt,"utils",{enumerable:!0,get:function(){return ao.utils}});Object.defineProperty(Jt,"wordlists",{enumerable:!0,get:function(){return ao.wordlists}});Object.defineProperty(Jt,"version",{enumerable:!0,get:function(){return ao.version}});Object.defineProperty(Jt,"Wordlist",{enumerable:!0,get:function(){return ao.Wordlist}})});function E0t(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){_0t(t);return}return e}function _0t(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function dS(t,e={}){if(typeof t!="string")return t;let n=t.trim();if(t[0]==='"'&&t.endsWith('"')&&!t.includes("\\"))return n.slice(1,-1);if(n.length<=9){let a=n.toLowerCase();if(a==="true")return!0;if(a==="false")return!1;if(a==="undefined")return;if(a==="null")return null;if(a==="nan")return Number.NaN;if(a==="infinity")return Number.POSITIVE_INFINITY;if(a==="-infinity")return Number.NEGATIVE_INFINITY}if(!x0t.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(w0t.test(t)||T0t.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,E0t)}return JSON.parse(t)}catch(a){if(e.strict)throw a;return t}}var w0t,T0t,x0t,nFe=ce(()=>{u();p();w0t=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,T0t=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,x0t=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/});function A0t(t){return!t||typeof t.then!="function"?Promise.resolve(t):t}function Ji(t,...e){try{return A0t(t(...e))}catch(n){return Promise.reject(n)}}function C0t(t){let e=typeof t;return t===null||e!=="object"&&e!=="function"}function I0t(t){let e=Object.getPrototypeOf(t);return!e||e.isPrototypeOf(Object)}function lS(t){if(C0t(t))return String(t);if(I0t(t)||Array.isArray(t))return JSON.stringify(t);if(typeof t.toJSON=="function")return lS(t.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function aFe(){if(typeof _.Buffer===void 0)throw new TypeError("[unstorage] Buffer is not supported!")}function rFe(t){if(typeof t=="string")return t;aFe();let e=_.Buffer.from(t).toString("base64");return zfe+e}function fFe(t){return typeof t!="string"||!t.startsWith(zfe)?t:(aFe(),_.Buffer.from(t.slice(zfe.length),"base64"))}function H1(t){return t?t.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function iFe(...t){return H1(t.join(":"))}function uS(t){return t=H1(t),t?t+":":""}var zfe,sFe=ce(()=>{u();p();zfe="base64:"});function dFe(t={}){let e={mounts:{"":t.driver||S0t()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=c=>{for(let d of e.mountpoints)if(c.startsWith(d))return{base:d,relativeKey:c.slice(d.length),driver:e.mounts[d]};return{base:"",relativeKey:c,driver:e.mounts[""]}},a=(c,d)=>e.mountpoints.filter(l=>l.startsWith(c)||d&&c.startsWith(l)).map(l=>({relativeBase:c.length>l.length?c.slice(l.length):void 0,mountpoint:l,driver:e.mounts[l]})),r=(c,d)=>{if(e.watching){d=H1(d);for(let l of e.watchListeners)l(c,d)}},f=async()=>{if(!e.watching){e.watching=!0;for(let c in e.mounts)e.unwatch[c]=await oFe(e.mounts[c],r,c)}},i=async()=>{if(e.watching){for(let c in e.unwatch)await e.unwatch[c]();e.unwatch={},e.watching=!1}},s=(c,d,l)=>{let h=new Map,y=v=>{let S=h.get(v.base);return S||(S={driver:v.driver,base:v.base,items:[]},h.set(v.base,S)),S};for(let v of c){let S=typeof v=="string",O=H1(S?v:v.key),F=S?void 0:v.value,z=S||!v.options?d:{...d,...v.options},W=n(O);y(W).items.push({key:O,value:F,relativeKey:W.relativeKey,options:z})}return Promise.all([...h.values()].map(v=>l(v))).then(v=>v.flat())},o={hasItem(c,d={}){c=H1(c);let{relativeKey:l,driver:h}=n(c);return Ji(h.hasItem,l,d)},getItem(c,d={}){c=H1(c);let{relativeKey:l,driver:h}=n(c);return Ji(h.getItem,l,d).then(y=>dS(y))},getItems(c,d){return s(c,d,l=>l.driver.getItems?Ji(l.driver.getItems,l.items.map(h=>({key:h.relativeKey,options:h.options})),d).then(h=>h.map(y=>({key:iFe(l.base,y.key),value:dS(y.value)}))):Promise.all(l.items.map(h=>Ji(l.driver.getItem,h.relativeKey,h.options).then(y=>({key:h.key,value:dS(y)})))))},getItemRaw(c,d={}){c=H1(c);let{relativeKey:l,driver:h}=n(c);return h.getItemRaw?Ji(h.getItemRaw,l,d):Ji(h.getItem,l,d).then(y=>fFe(y))},async setItem(c,d,l={}){if(d===void 0)return o.removeItem(c);c=H1(c);let{relativeKey:h,driver:y}=n(c);y.setItem&&(await Ji(y.setItem,h,lS(d),l),y.watch||r("update",c))},async setItems(c,d){await s(c,d,async l=>{if(l.driver.setItems)return Ji(l.driver.setItems,l.items.map(h=>({key:h.relativeKey,value:lS(h.value),options:h.options})),d);l.driver.setItem&&await Promise.all(l.items.map(h=>Ji(l.driver.setItem,h.relativeKey,lS(h.value),h.options)))})},async setItemRaw(c,d,l={}){if(d===void 0)return o.removeItem(c,l);c=H1(c);let{relativeKey:h,driver:y}=n(c);if(y.setItemRaw)await Ji(y.setItemRaw,h,d,l);else if(y.setItem)await Ji(y.setItem,h,rFe(d),l);else return;y.watch||r("update",c)},async removeItem(c,d={}){typeof d=="boolean"&&(d={removeMeta:d}),c=H1(c);let{relativeKey:l,driver:h}=n(c);h.removeItem&&(await Ji(h.removeItem,l,d),(d.removeMeta||d.removeMata)&&await Ji(h.removeItem,l+"$",d),h.watch||r("remove",c))},async getMeta(c,d={}){typeof d=="boolean"&&(d={nativeOnly:d}),c=H1(c);let{relativeKey:l,driver:h}=n(c),y=Object.create(null);if(h.getMeta&&Object.assign(y,await Ji(h.getMeta,l,d)),!d.nativeOnly){let v=await Ji(h.getItem,l+"$",d).then(S=>dS(S));v&&typeof v=="object"&&(typeof v.atime=="string"&&(v.atime=new Date(v.atime)),typeof v.mtime=="string"&&(v.mtime=new Date(v.mtime)),Object.assign(y,v))}return y},setMeta(c,d,l={}){return this.setItem(c+"$",d,l)},removeMeta(c,d={}){return this.removeItem(c+"$",d)},async getKeys(c,d={}){c=uS(c);let l=a(c,!0),h=[],y=[];for(let v of l){let O=(await Ji(v.driver.getKeys,v.relativeBase,d)).map(F=>v.mountpoint+H1(F)).filter(F=>!h.some(z=>F.startsWith(z)));y.push(...O),h=[v.mountpoint,...h.filter(F=>!F.startsWith(v.mountpoint))]}return c?y.filter(v=>v.startsWith(c)&&!v.endsWith("$")):y.filter(v=>!v.endsWith("$"))},async clear(c,d={}){c=uS(c),await Promise.all(a(c,!1).map(async l=>{if(l.driver.clear)return Ji(l.driver.clear,l.relativeBase,d);if(l.driver.removeItem){let h=await l.driver.getKeys(l.relativeBase||"",d);return Promise.all(h.map(y=>l.driver.removeItem(y,d)))}}))},async dispose(){await Promise.all(Object.values(e.mounts).map(c=>cFe(c)))},async watch(c){return await f(),e.watchListeners.push(c),async()=>{e.watchListeners=e.watchListeners.filter(d=>d!==c),e.watchListeners.length===0&&await i()}},async unwatch(){e.watchListeners=[],await i()},mount(c,d){if(c=uS(c),c&&e.mounts[c])throw new Error(`already mounted at ${c}`);return c&&(e.mountpoints.push(c),e.mountpoints.sort((l,h)=>h.length-l.length)),e.mounts[c]=d,e.watching&&Promise.resolve(oFe(d,r,c)).then(l=>{e.unwatch[c]=l}).catch(console.error),o},async unmount(c,d=!0){c=uS(c),!(!c||!e.mounts[c])&&(e.watching&&c in e.unwatch&&(e.unwatch[c](),delete e.unwatch[c]),d&&await cFe(e.mounts[c]),e.mountpoints=e.mountpoints.filter(l=>l!==c),delete e.mounts[c])},getMount(c=""){c=H1(c)+":";let d=n(c);return{driver:d.driver,base:d.base}},getMounts(c="",d={}){return c=H1(c),a(c,d.parents).map(h=>({driver:h.driver,base:h.mountpoint}))}};return o}function oFe(t,e,n){return t.watch?t.watch((a,r)=>e(a,n+r)):()=>{}}async function cFe(t){typeof t.dispose=="function"&&await Ji(t.dispose)}var k0t,S0t,lFe=ce(()=>{u();p();nFe();sFe();k0t="memory",S0t=()=>{let t=new Map;return{name:k0t,options:{},hasItem(e){return t.has(e)},getItem(e){return t.get(e)??null},getItemRaw(e){return t.get(e)??null},setItem(e,n){t.set(e,n)},setItemRaw(e,n){t.set(e,n)},removeItem(e){t.delete(e)},getKeys(){return Array.from(t.keys())},clear(){t.clear()},dispose(){t.clear()}}}});function T7(t){return new Promise((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)})}function qfe(t,e){let n=indexedDB.open(t);n.onupgradeneeded=()=>n.result.createObjectStore(e);let a=T7(n);return(r,f)=>a.then(i=>f(i.transaction(e,r).objectStore(e)))}function pS(){return Wfe||(Wfe=qfe("keyval-store","keyval")),Wfe}function jfe(t,e=pS()){return e("readonly",n=>T7(n.get(t)))}function uFe(t,e,n=pS()){return n("readwrite",a=>(a.put(e,t),T7(a.transaction)))}function pFe(t,e=pS()){return e("readwrite",n=>(n.delete(t),T7(n.transaction)))}function hFe(t=pS()){return t("readwrite",e=>(e.clear(),T7(e.transaction)))}function R0t(t,e){return t.openCursor().onsuccess=function(){this.result&&(e(this.result),this.result.continue())},T7(t.transaction)}function bFe(t=pS()){return t("readonly",e=>{if(e.getAllKeys)return T7(e.getAllKeys());let n=[];return R0t(e,a=>n.push(a.key)).then(()=>n)})}var Wfe,mFe=ce(()=>{u();p()});function Q2(t){if(typeof t!="string")throw new Error(`Cannot safe json parse value of type ${typeof t}`);try{return B0t(t)}catch{return t}}function z1(t){return typeof t=="string"?t:M0t(t)||""}var M0t,B0t,x7=ce(()=>{u();p();M0t=t=>JSON.stringify(t,(e,n)=>typeof n=="bigint"?n.toString()+"n":n),B0t=t=>{let e=/([\[:])?(\d{17,}|(?:[9](?:[1-9]07199254740991|0[1-9]7199254740991|00[8-9]199254740991|007[2-9]99254740991|007199[3-9]54740991|0071992[6-9]4740991|00719925[5-9]740991|007199254[8-9]40991|0071992547[5-9]0991|00719925474[1-9]991|00719925474099[2-9])))([,\}\]])/g,n=t.replace(e,'$1"$2n"$3');return JSON.parse(n,(a,r)=>typeof r=="string"&&r.match(/^\d+n$/)?BigInt(r.substring(0,r.length-1)):r)}});function N0t(t){var e;return[t[0],Q2((e=t[1])!=null?e:"")]}var D0t,P0t,L0t,F0t,Kfe,Gfe,fz,Qfe,O0t,yFe,U0t,H0t,iz,gFe=ce(()=>{u();p();lFe();mFe();x7();D0t="idb-keyval",P0t=(t={})=>{let e=t.base&&t.base.length>0?`${t.base}:`:"",n=r=>e+r,a;return t.dbName&&t.storeName&&(a=qfe(t.dbName,t.storeName)),{name:D0t,options:t,async hasItem(r){return!(typeof await jfe(n(r),a)>"u")},async getItem(r){return await jfe(n(r),a)??null},setItem(r,f){return uFe(n(r),f,a)},removeItem(r){return pFe(n(r),a)},getKeys(){return bFe(a)},clear(){return hFe(a)}}},L0t="WALLET_CONNECT_V2_INDEXED_DB",F0t="keyvaluestorage",Kfe=class{constructor(){this.indexedDb=dFe({driver:P0t({dbName:L0t,storeName:F0t})})}async getKeys(){return this.indexedDb.getKeys()}async getEntries(){return(await this.indexedDb.getItems(await this.indexedDb.getKeys())).map(e=>[e.key,e.value])}async getItem(e){let n=await this.indexedDb.getItem(e);if(n!==null)return n}async setItem(e,n){await this.indexedDb.setItem(e,z1(n))}async removeItem(e){await this.indexedDb.removeItem(e)}},Gfe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},fz={exports:{}};(function(){let t;function e(){}t=e,t.prototype.getItem=function(n){return this.hasOwnProperty(n)?String(this[n]):null},t.prototype.setItem=function(n,a){this[n]=String(a)},t.prototype.removeItem=function(n){delete this[n]},t.prototype.clear=function(){let n=this;Object.keys(n).forEach(function(a){n[a]=void 0,delete n[a]})},t.prototype.key=function(n){return n=n||0,Object.keys(this)[n]},t.prototype.__defineGetter__("length",function(){return Object.keys(this).length}),typeof Gfe<"u"&&Gfe.localStorage?fz.exports=Gfe.localStorage:typeof window<"u"&&window.localStorage?fz.exports=window.localStorage:fz.exports=new e})();Qfe=class{constructor(){this.localStorage=fz.exports}async getKeys(){return Object.keys(this.localStorage)}async getEntries(){return Object.entries(this.localStorage).map(N0t)}async getItem(e){let n=this.localStorage.getItem(e);if(n!==null)return Q2(n)}async setItem(e,n){this.localStorage.setItem(e,z1(n))}async removeItem(e){this.localStorage.removeItem(e)}},O0t="wc_storage_version",yFe=1,U0t=async(t,e,n)=>{let a=O0t,r=await e.getItem(a);if(r&&r>=yFe){n(e);return}let f=await t.getKeys();if(!f.length){n(e);return}let i=[];for(;f.length;){let s=f.shift();if(!s)continue;let o=s.toLowerCase();if(o.includes("wc@")||o.includes("walletconnect")||o.includes("wc_")||o.includes("wallet_connect")){let c=await t.getItem(s);await e.setItem(s,c),i.push(s)}}await e.setItem(a,yFe),n(e),H0t(t,i)},H0t=async(t,e)=>{e.length&&e.forEach(async n=>{await t.removeItem(n)})},iz=class{constructor(){this.initialized=!1,this.setInitialized=n=>{this.storage=n,this.initialized=!0};let e=new Qfe;this.storage=e;try{let n=new Kfe;U0t(e,n,this.setInitialized)}catch{this.initialized=!0}}async getKeys(){return await this.initialize(),this.storage.getKeys()}async getEntries(){return await this.initialize(),this.storage.getEntries()}async getItem(e){return await this.initialize(),this.storage.getItem(e)}async setItem(e,n){return await this.initialize(),this.storage.setItem(e,n)}async removeItem(e){return await this.initialize(),this.storage.removeItem(e)}async initialize(){this.initialized||await new Promise(e=>{let n=setInterval(()=>{this.initialized&&(clearInterval(n),e())},20)})}}});var V2={};V0(V2,{__assign:()=>Yfe,__asyncDelegator:()=>Z0t,__asyncGenerator:()=>X0t,__asyncValues:()=>ett,__await:()=>hS,__awaiter:()=>K0t,__classPrivateFieldGet:()=>rtt,__classPrivateFieldSet:()=>ftt,__createBinding:()=>V0t,__decorate:()=>q0t,__exportStar:()=>Y0t,__extends:()=>z0t,__generator:()=>Q0t,__importDefault:()=>att,__importStar:()=>ntt,__makeTemplateObject:()=>ttt,__metadata:()=>G0t,__param:()=>j0t,__read:()=>vFe,__rest:()=>W0t,__spread:()=>$0t,__spreadArrays:()=>J0t,__values:()=>$fe});function z0t(t,e){Vfe(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function W0t(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(t);r=0;s--)(i=t[s])&&(f=(r<3?i(f):r>3?i(e,n,f):i(e,n))||f);return r>3&&f&&Object.defineProperty(e,n,f),f}function j0t(t,e){return function(n,a){e(n,a,t)}}function G0t(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function K0t(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})}function Q0t(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]=t.length&&(t=void 0),{value:t&&t[a++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function vFe(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var a=n.call(t),r,f=[],i;try{for(;(e===void 0||e-- >0)&&!(r=a.next()).done;)f.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return f}function $0t(){for(var t=[],e=0;e1||s(h,y)})})}function s(h,y){try{o(a[h](y))}catch(v){l(f[0][3],v)}}function o(h){h.value instanceof hS?Promise.resolve(h.value.v).then(c,d):l(f[0][2],h)}function c(h){s("next",h)}function d(h){s("throw",h)}function l(h,y){h(y),f.shift(),f.length&&s(f[0][0],f[0][1])}}function Z0t(t){var e,n;return e={},a("next"),a("throw",function(r){throw r}),a("return"),e[Symbol.iterator]=function(){return this},e;function a(r,f){e[r]=t[r]?function(i){return(n=!n)?{value:hS(t[r](i)),done:r==="return"}:f?f(i):i}:f}}function ett(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof $fe=="function"?$fe(t):t[Symbol.iterator](),n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n);function a(f){n[f]=t[f]&&function(i){return new Promise(function(s,o){i=t[f](i),r(s,o,i.done,i.value)})}}function r(f,i,s,o){Promise.resolve(o).then(function(c){f({value:c,done:s})},i)}}function ttt(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function ntt(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function att(t){return t&&t.__esModule?t:{default:t}}function rtt(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function ftt(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}var Vfe,Yfe,Y2=ce(()=>{u();p();Vfe=function(t,e){return Vfe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var r in a)a.hasOwnProperty(r)&&(n[r]=a[r])},Vfe(t,e)};Yfe=function(){return Yfe=Object.assign||function(e){for(var n,a=1,r=arguments.length;a{"use strict";u();p();Object.defineProperty(sz,"__esModule",{value:!0});sz.delay=void 0;function itt(t){return new Promise(e=>{setTimeout(()=>{e(!0)},t)})}sz.delay=itt});var TFe=D(jT=>{"use strict";u();p();Object.defineProperty(jT,"__esModule",{value:!0});jT.ONE_THOUSAND=jT.ONE_HUNDRED=void 0;jT.ONE_HUNDRED=100;jT.ONE_THOUSAND=1e3});var xFe=D(Z0=>{"use strict";u();p();Object.defineProperty(Z0,"__esModule",{value:!0});Z0.ONE_YEAR=Z0.FOUR_WEEKS=Z0.THREE_WEEKS=Z0.TWO_WEEKS=Z0.ONE_WEEK=Z0.THIRTY_DAYS=Z0.SEVEN_DAYS=Z0.FIVE_DAYS=Z0.THREE_DAYS=Z0.ONE_DAY=Z0.TWENTY_FOUR_HOURS=Z0.TWELVE_HOURS=Z0.SIX_HOURS=Z0.THREE_HOURS=Z0.ONE_HOUR=Z0.SIXTY_MINUTES=Z0.THIRTY_MINUTES=Z0.TEN_MINUTES=Z0.FIVE_MINUTES=Z0.ONE_MINUTE=Z0.SIXTY_SECONDS=Z0.THIRTY_SECONDS=Z0.TEN_SECONDS=Z0.FIVE_SECONDS=Z0.ONE_SECOND=void 0;Z0.ONE_SECOND=1;Z0.FIVE_SECONDS=5;Z0.TEN_SECONDS=10;Z0.THIRTY_SECONDS=30;Z0.SIXTY_SECONDS=60;Z0.ONE_MINUTE=Z0.SIXTY_SECONDS;Z0.FIVE_MINUTES=Z0.ONE_MINUTE*5;Z0.TEN_MINUTES=Z0.ONE_MINUTE*10;Z0.THIRTY_MINUTES=Z0.ONE_MINUTE*30;Z0.SIXTY_MINUTES=Z0.ONE_MINUTE*60;Z0.ONE_HOUR=Z0.SIXTY_MINUTES;Z0.THREE_HOURS=Z0.ONE_HOUR*3;Z0.SIX_HOURS=Z0.ONE_HOUR*6;Z0.TWELVE_HOURS=Z0.ONE_HOUR*12;Z0.TWENTY_FOUR_HOURS=Z0.ONE_HOUR*24;Z0.ONE_DAY=Z0.TWENTY_FOUR_HOURS;Z0.THREE_DAYS=Z0.ONE_DAY*3;Z0.FIVE_DAYS=Z0.ONE_DAY*5;Z0.SEVEN_DAYS=Z0.ONE_DAY*7;Z0.THIRTY_DAYS=Z0.ONE_DAY*30;Z0.ONE_WEEK=Z0.SEVEN_DAYS;Z0.TWO_WEEKS=Z0.ONE_WEEK*2;Z0.THREE_WEEKS=Z0.ONE_WEEK*3;Z0.FOUR_WEEKS=Z0.ONE_WEEK*4;Z0.ONE_YEAR=Z0.ONE_DAY*365});var Jfe=D(oz=>{"use strict";u();p();Object.defineProperty(oz,"__esModule",{value:!0});var EFe=(Y2(),vn(V2));EFe.__exportStar(TFe(),oz);EFe.__exportStar(xFe(),oz)});var AFe=D(GT=>{"use strict";u();p();Object.defineProperty(GT,"__esModule",{value:!0});GT.fromMiliseconds=GT.toMiliseconds=void 0;var _Fe=Jfe();function stt(t){return t*_Fe.ONE_THOUSAND}GT.toMiliseconds=stt;function ott(t){return Math.floor(t/_Fe.ONE_THOUSAND)}GT.fromMiliseconds=ott});var IFe=D(cz=>{"use strict";u();p();Object.defineProperty(cz,"__esModule",{value:!0});var CFe=(Y2(),vn(V2));CFe.__exportStar(wFe(),cz);CFe.__exportStar(AFe(),cz)});var kFe=D(bS=>{"use strict";u();p();Object.defineProperty(bS,"__esModule",{value:!0});bS.Watch=void 0;var dz=class{constructor(){this.timestamps=new Map}start(e){if(this.timestamps.has(e))throw new Error(`Watch already started for label: ${e}`);this.timestamps.set(e,{started:Date.now()})}stop(e){let n=this.get(e);if(typeof n.elapsed<"u")throw new Error(`Watch already stopped for label: ${e}`);let a=Date.now()-n.started;this.timestamps.set(e,{started:n.started,elapsed:a})}get(e){let n=this.timestamps.get(e);if(typeof n>"u")throw new Error(`No timestamp found for label: ${e}`);return n}elapsed(e){let n=this.get(e);return n.elapsed||Date.now()-n.started}};bS.Watch=dz;bS.default=dz});var SFe=D(lz=>{"use strict";u();p();Object.defineProperty(lz,"__esModule",{value:!0});lz.IWatch=void 0;var Xfe=class{};lz.IWatch=Xfe});var RFe=D(Zfe=>{"use strict";u();p();Object.defineProperty(Zfe,"__esModule",{value:!0});var ctt=(Y2(),vn(V2));ctt.__exportStar(SFe(),Zfe)});var E7=D(KT=>{"use strict";u();p();Object.defineProperty(KT,"__esModule",{value:!0});var uz=(Y2(),vn(V2));uz.__exportStar(IFe(),KT);uz.__exportStar(kFe(),KT);uz.__exportStar(RFe(),KT);uz.__exportStar(Jfe(),KT)});var $2,MFe=ce(()=>{u();p();$2=class{}});var BFe={};V0(BFe,{IEvents:()=>$2});var eie=ce(()=>{u();p();MFe()});var PFe=D((Yea,DFe)=>{"use strict";u();p();function dtt(t){try{return JSON.stringify(t)}catch{return'"[Circular]"'}}DFe.exports=ltt;function ltt(t,e,n){var a=n&&n.stringify||dtt,r=1;if(typeof t=="object"&&t!==null){var f=e.length+r;if(f===1)return t;var i=new Array(f);i[0]=a(t);for(var s=1;s-1?l:0,t.charCodeAt(y+1)){case 100:case 102:if(d>=o||e[d]==null)break;l=o||e[d]==null)break;l=o||e[d]===void 0)break;l",l=y+2,y++;break}c+=a(e[d]),l=y+2,y++;break;case 115:if(d>=o)break;l{"use strict";u();p();var LFe=PFe();OFe.exports=J2;var mS=Ttt().console||{},utt={mapHttpRequest:pz,mapHttpResponse:pz,wrapRequestSerializer:tie,wrapResponseSerializer:tie,wrapErrorSerializer:tie,req:pz,res:pz,err:ytt};function ptt(t,e){return Array.isArray(t)?t.filter(function(a){return a!=="!stdSerializers.err"}):t===!0?Object.keys(e):!1}function J2(t){t=t||{},t.browser=t.browser||{};let e=t.browser.transmit;if(e&&typeof e.send!="function")throw Error("pino: transmit option must have a send function");let n=t.browser.write||mS;t.browser.write&&(t.browser.asObject=!0);let a=t.serializers||{},r=ptt(t.browser.serialize,a),f=t.browser.serialize;Array.isArray(t.browser.serialize)&&t.browser.serialize.indexOf("!stdSerializers.err")>-1&&(f=!1);let i=["error","fatal","warn","info","debug","trace"];typeof n=="function"&&(n.error=n.fatal=n.warn=n.info=n.debug=n.trace=n),t.enabled===!1&&(t.level="silent");let s=t.level||"info",o=Object.create(n);o.log||(o.log=yS),Object.defineProperty(o,"levelVal",{get:d}),Object.defineProperty(o,"level",{get:l,set:h});let c={transmit:e,serialize:r,asObject:t.browser.asObject,levels:i,timestamp:gtt(t)};o.levels=J2.levels,o.level=s,o.setMaxListeners=o.getMaxListeners=o.emit=o.addListener=o.on=o.prependListener=o.once=o.prependOnceListener=o.removeListener=o.removeAllListeners=o.listeners=o.listenerCount=o.eventNames=o.write=o.flush=yS,o.serializers=a,o._serialize=r,o._stdErrSerialize=f,o.child=y,e&&(o._logEvent=nie());function d(){return this.level==="silent"?1/0:this.levels.values[this.level]}function l(){return this._level}function h(v){if(v!=="silent"&&!this.levels.values[v])throw Error("unknown level "+v);this._level=v,QT(c,o,"error","log"),QT(c,o,"fatal","error"),QT(c,o,"warn","error"),QT(c,o,"info","log"),QT(c,o,"debug","log"),QT(c,o,"trace","log")}function y(v,S){if(!v)throw new Error("missing bindings for child Pino");S=S||{},r&&v.serializers&&(S.serializers=v.serializers);let O=S.serializers;if(r&&O){var F=Object.assign({},a,O),z=t.browser.serialize===!0?Object.keys(F):r;delete v.serializers,hz([v],z,F,this._stdErrSerialize)}function W(j){this._childLevel=(j._childLevel|0)+1,this.error=VT(j,v,"error"),this.fatal=VT(j,v,"fatal"),this.warn=VT(j,v,"warn"),this.info=VT(j,v,"info"),this.debug=VT(j,v,"debug"),this.trace=VT(j,v,"trace"),F&&(this.serializers=F,this._serialize=z),e&&(this._logEvent=nie([].concat(j._logEvent.bindings,v)))}return W.prototype=this,new W(this)}return o}J2.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}};J2.stdSerializers=utt;J2.stdTimeFunctions=Object.assign({},{nullTime:FFe,epochTime:NFe,unixTime:vtt,isoTime:wtt});function QT(t,e,n,a){let r=Object.getPrototypeOf(e);e[n]=e.levelVal>e.levels.values[n]?yS:r[n]?r[n]:mS[n]||mS[a]||yS,htt(t,e,n)}function htt(t,e,n){!t.transmit&&e[n]===yS||(e[n]=function(a){return function(){let f=t.timestamp(),i=new Array(arguments.length),s=Object.getPrototypeOf&&Object.getPrototypeOf(this)===mS?mS:this;for(var o=0;o-1&&f in n&&(t[r][f]=n[f](t[r][f]))}function VT(t,e,n){return function(){let a=new Array(1+arguments.length);a[0]=e;for(var r=1;r"u"?n=ktt(t,e):n=t.bindings().context||"",n}function Rtt(t,e,n=gS){let a=$o(t,n);return a.trim()?`${a}/${e}`:e}function Jo(t,e,n=gS){let a=Rtt(t,e,n),r=t.child({context:a});return Stt(r,a,n)}function Mtt(t){var e,n;let a=new fie((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:(0,S8.default)(gz(yz({},t.opts),{level:"trace",browser:gz(yz({},(n=t.opts)==null?void 0:n.browser),{write:r=>a.write(r)})})),chunkLoggerController:a}}function Btt(t){var e;let n=new iie((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:(0,S8.default)(gz(yz({},t.opts),{level:"trace"}),n),chunkLoggerController:n}}function zFe(t){return typeof t.loggerOverride<"u"&&typeof t.loggerOverride!="string"?{logger:t.loggerOverride,chunkLoggerController:null}:typeof window<"u"?Mtt(t):Btt(t)}var S8,_7,xtt,gS,sie,rie,bz,mz,fie,iie,Ett,_tt,Att,UFe,Ctt,Itt,HFe,yz,gz,vz=ce(()=>{u();p();S8=Ee(aie()),_7=Ee(aie());x7();xtt={level:"info"},gS="custom_context",sie=1e3*1024,rie=class{constructor(e){this.nodeValue=e,this.sizeInBytes=new TextEncoder().encode(this.nodeValue).length,this.next=null}get value(){return this.nodeValue}get size(){return this.sizeInBytes}},bz=class{constructor(e){this.head=null,this.tail=null,this.lengthInNodes=0,this.maxSizeInBytes=e,this.sizeInBytes=0}append(e){let n=new rie(e);if(n.size>this.maxSizeInBytes)throw new Error(`[LinkedList] Value too big to insert into list: ${e} with size ${n.size}`);for(;this.size+n.size>this.maxSizeInBytes;)this.shift();this.head?(this.tail&&(this.tail.next=n),this.tail=n):(this.head=n,this.tail=n),this.lengthInNodes++,this.sizeInBytes+=n.size}shift(){if(!this.head)return;let e=this.head;this.head=this.head.next,this.head||(this.tail=null),this.lengthInNodes--,this.sizeInBytes-=e.size}toArray(){let e=[],n=this.head;for(;n!==null;)e.push(n.value),n=n.next;return e}get length(){return this.lengthInNodes}get size(){return this.sizeInBytes}toOrderedArray(){return Array.from(this)}[Symbol.iterator](){let e=this.head;return{next:()=>{if(!e)return{done:!0,value:null};let n=e.value;return e=e.next,{done:!1,value:n}}}}},mz=class{constructor(e,n=sie){this.level=e??"error",this.levelValue=S8.levels.values[this.level],this.MAX_LOG_SIZE_IN_BYTES=n,this.logs=new bz(this.MAX_LOG_SIZE_IN_BYTES)}forwardToConsole(e,n){n===S8.levels.values.error?console.error(e):n===S8.levels.values.warn?console.warn(e):n===S8.levels.values.debug?console.debug(e):n===S8.levels.values.trace?console.trace(e):console.log(e)}appendToLogs(e){this.logs.append(z1({timestamp:new Date().toISOString(),log:e}));let n=typeof e=="string"?JSON.parse(e).level:e.level;n>=this.levelValue&&this.forwardToConsole(e,n)}getLogs(){return this.logs}clearLogs(){this.logs=new bz(this.MAX_LOG_SIZE_IN_BYTES)}getLogArray(){return Array.from(this.logs)}logsToBlob(e){let n=this.getLogArray();return n.push(z1({extraMetadata:e})),new Blob(n,{type:"application/json"})}},fie=class{constructor(e,n=sie){this.baseChunkLogger=new mz(e,n)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}downloadLogsBlobInBrowser(e){let n=URL.createObjectURL(this.logsToBlob(e)),a=document.createElement("a");a.href=n,a.download=`walletconnect-logs-${new Date().toISOString()}.txt`,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(n)}},iie=class{constructor(e,n=sie){this.baseChunkLogger=new mz(e,n)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}},Ett=Object.defineProperty,_tt=Object.defineProperties,Att=Object.getOwnPropertyDescriptors,UFe=Object.getOwnPropertySymbols,Ctt=Object.prototype.hasOwnProperty,Itt=Object.prototype.propertyIsEnumerable,HFe=(t,e,n)=>e in t?Ett(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,yz=(t,e)=>{for(var n in e||(e={}))Ctt.call(e,n)&&HFe(t,n,e[n]);if(UFe)for(var n of UFe(e))Itt.call(e,n)&&HFe(t,n,e[n]);return t},gz=(t,e)=>_tt(t,Att(e))});var qFe=D(wz=>{"use strict";u();p();Object.defineProperty(wz,"__esModule",{value:!0});wz.BrowserRandomSource=void 0;var WFe=65536,oie=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;let e=typeof self<"u"?self.crypto||self.msCrypto:null;e&&e.getRandomValues!==void 0&&(this._crypto=e,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(e){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");let n=new Uint8Array(e);for(let a=0;a{"use strict";u();p();Object.defineProperty(cie,"__esModule",{value:!0});function Dtt(t){for(var e=0;e{"use strict";u();p();Object.defineProperty(Tz,"__esModule",{value:!0});Tz.NodeRandomSource=void 0;var Ptt=K5(),die=class{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof Kd<"u"){let e=PU();e&&e.randomBytes&&(this._crypto=e,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(e){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let n=this._crypto.randomBytes(e);if(n.length!==e)throw new Error("NodeRandomSource: got fewer bytes than requested");let a=new Uint8Array(e);for(let r=0;r{"use strict";u();p();Object.defineProperty(xz,"__esModule",{value:!0});xz.SystemRandomSource=void 0;var Ltt=qFe(),Ftt=jFe(),lie=class{constructor(){if(this.isAvailable=!1,this.name="",this._source=new Ltt.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new Ftt.NodeRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Node";return}}randomBytes(e){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(e)}};xz.SystemRandomSource=lie});var KFe=D(_6=>{"use strict";u();p();Object.defineProperty(_6,"__esModule",{value:!0});function Ntt(t,e){var n=t>>>16&65535,a=t&65535,r=e>>>16&65535,f=e&65535;return a*f+(n*f+a*r<<16>>>0)|0}_6.mul=Math.imul||Ntt;function Ott(t,e){return t+e|0}_6.add=Ott;function Utt(t,e){return t-e|0}_6.sub=Utt;function Htt(t,e){return t<>>32-e}_6.rotl=Htt;function ztt(t,e){return t<<32-e|t>>>e}_6.rotr=ztt;function Wtt(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}_6.isInteger=Number.isInteger||Wtt;_6.MAX_SAFE_INTEGER=9007199254740991;_6.isSafeInteger=function(t){return _6.isInteger(t)&&t>=-_6.MAX_SAFE_INTEGER&&t<=_6.MAX_SAFE_INTEGER}});var YT=D(zn=>{"use strict";u();p();Object.defineProperty(zn,"__esModule",{value:!0});var QFe=KFe();function qtt(t,e){return e===void 0&&(e=0),(t[e+0]<<8|t[e+1])<<16>>16}zn.readInt16BE=qtt;function jtt(t,e){return e===void 0&&(e=0),(t[e+0]<<8|t[e+1])>>>0}zn.readUint16BE=jtt;function Gtt(t,e){return e===void 0&&(e=0),(t[e+1]<<8|t[e])<<16>>16}zn.readInt16LE=Gtt;function Ktt(t,e){return e===void 0&&(e=0),(t[e+1]<<8|t[e])>>>0}zn.readUint16LE=Ktt;function VFe(t,e,n){return e===void 0&&(e=new Uint8Array(2)),n===void 0&&(n=0),e[n+0]=t>>>8,e[n+1]=t>>>0,e}zn.writeUint16BE=VFe;zn.writeInt16BE=VFe;function YFe(t,e,n){return e===void 0&&(e=new Uint8Array(2)),n===void 0&&(n=0),e[n+0]=t>>>0,e[n+1]=t>>>8,e}zn.writeUint16LE=YFe;zn.writeInt16LE=YFe;function uie(t,e){return e===void 0&&(e=0),t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3]}zn.readInt32BE=uie;function pie(t,e){return e===void 0&&(e=0),(t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3])>>>0}zn.readUint32BE=pie;function hie(t,e){return e===void 0&&(e=0),t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]}zn.readInt32LE=hie;function bie(t,e){return e===void 0&&(e=0),(t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e])>>>0}zn.readUint32LE=bie;function Ez(t,e,n){return e===void 0&&(e=new Uint8Array(4)),n===void 0&&(n=0),e[n+0]=t>>>24,e[n+1]=t>>>16,e[n+2]=t>>>8,e[n+3]=t>>>0,e}zn.writeUint32BE=Ez;zn.writeInt32BE=Ez;function _z(t,e,n){return e===void 0&&(e=new Uint8Array(4)),n===void 0&&(n=0),e[n+0]=t>>>0,e[n+1]=t>>>8,e[n+2]=t>>>16,e[n+3]=t>>>24,e}zn.writeUint32LE=_z;zn.writeInt32LE=_z;function Qtt(t,e){e===void 0&&(e=0);var n=uie(t,e),a=uie(t,e+4);return n*4294967296+a-(a>>31)*4294967296}zn.readInt64BE=Qtt;function Vtt(t,e){e===void 0&&(e=0);var n=pie(t,e),a=pie(t,e+4);return n*4294967296+a}zn.readUint64BE=Vtt;function Ytt(t,e){e===void 0&&(e=0);var n=hie(t,e),a=hie(t,e+4);return a*4294967296+n-(n>>31)*4294967296}zn.readInt64LE=Ytt;function $tt(t,e){e===void 0&&(e=0);var n=bie(t,e),a=bie(t,e+4);return a*4294967296+n}zn.readUint64LE=$tt;function $Fe(t,e,n){return e===void 0&&(e=new Uint8Array(8)),n===void 0&&(n=0),Ez(t/4294967296>>>0,e,n),Ez(t>>>0,e,n+4),e}zn.writeUint64BE=$Fe;zn.writeInt64BE=$Fe;function JFe(t,e,n){return e===void 0&&(e=new Uint8Array(8)),n===void 0&&(n=0),_z(t>>>0,e,n),_z(t/4294967296>>>0,e,n+4),e}zn.writeUint64LE=JFe;zn.writeInt64LE=JFe;function Jtt(t,e,n){if(n===void 0&&(n=0),t%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(t/8>e.length-n)throw new Error("readUintBE: array is too short for the given bitLength");for(var a=0,r=1,f=t/8+n-1;f>=n;f--)a+=e[f]*r,r*=256;return a}zn.readUintBE=Jtt;function Xtt(t,e,n){if(n===void 0&&(n=0),t%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(t/8>e.length-n)throw new Error("readUintLE: array is too short for the given bitLength");for(var a=0,r=1,f=n;f=a;f--)n[f]=e/r&255,r*=256;return n}zn.writeUintBE=Ztt;function ent(t,e,n,a){if(n===void 0&&(n=new Uint8Array(t/8)),a===void 0&&(a=0),t%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!QFe.isSafeInteger(e))throw new Error("writeUintLE value must be an integer");for(var r=1,f=a;f{"use strict";u();p();Object.defineProperty(Xo,"__esModule",{value:!0});Xo.randomStringForEntropy=Xo.randomString=Xo.randomUint32=Xo.randomBytes=Xo.defaultRandomSource=void 0;var cnt=GFe(),dnt=YT(),XFe=K5();Xo.defaultRandomSource=new cnt.SystemRandomSource;function mie(t,e=Xo.defaultRandomSource){return e.randomBytes(t)}Xo.randomBytes=mie;function lnt(t=Xo.defaultRandomSource){let e=mie(4,t),n=(0,dnt.readUint32LE)(e);return(0,XFe.wipe)(e),n}Xo.randomUint32=lnt;var ZFe="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function eNe(t,e=ZFe,n=Xo.defaultRandomSource){if(e.length<2)throw new Error("randomString charset is too short");if(e.length>256)throw new Error("randomString charset is too long");let a="",r=e.length,f=256-256%r;for(;t>0;){let i=mie(Math.ceil(t*256/f),n);for(let s=0;s0;s++){let o=i[s];o{"use strict";u();p();Object.defineProperty(R8,"__esModule",{value:!0});var JT=YT(),$T=K5();R8.DIGEST_LENGTH=64;R8.BLOCK_SIZE=128;var nNe=function(){function t(){this.digestLength=R8.DIGEST_LENGTH,this.blockSize=R8.BLOCK_SIZE,this._stateHi=new Int32Array(8),this._stateLo=new Int32Array(8),this._tempHi=new Int32Array(16),this._tempLo=new Int32Array(16),this._buffer=new Uint8Array(256),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return t.prototype._initState=function(){this._stateHi[0]=1779033703,this._stateHi[1]=3144134277,this._stateHi[2]=1013904242,this._stateHi[3]=2773480762,this._stateHi[4]=1359893119,this._stateHi[5]=2600822924,this._stateHi[6]=528734635,this._stateHi[7]=1541459225,this._stateLo[0]=4089235720,this._stateLo[1]=2227873595,this._stateLo[2]=4271175723,this._stateLo[3]=1595750129,this._stateLo[4]=2917565137,this._stateLo[5]=725511199,this._stateLo[6]=4215389547,this._stateLo[7]=327033209},t.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},t.prototype.clean=function(){$T.wipe(this._buffer),$T.wipe(this._tempHi),$T.wipe(this._tempLo),this.reset()},t.prototype.update=function(e,n){if(n===void 0&&(n=e.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var a=0;if(this._bytesHashed+=n,this._bufferLength>0){for(;this._bufferLength0;)this._buffer[this._bufferLength++]=e[a++],n--;this._bufferLength===this.blockSize&&(yie(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(n>=this.blockSize&&(a=yie(this._tempHi,this._tempLo,this._stateHi,this._stateLo,e,a,n),n%=this.blockSize);n>0;)this._buffer[this._bufferLength++]=e[a++],n--;return this},t.prototype.finish=function(e){if(!this._finished){var n=this._bytesHashed,a=this._bufferLength,r=n/536870912|0,f=n<<3,i=n%128<112?128:256;this._buffer[a]=128;for(var s=a+1;s0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},t.prototype.restoreState=function(e){return this._stateHi.set(e.stateHi),this._stateLo.set(e.stateLo),this._bufferLength=e.bufferLength,e.buffer&&this._buffer.set(e.buffer),this._bytesHashed=e.bytesHashed,this._finished=!1,this},t.prototype.cleanSavedState=function(e){$T.wipe(e.stateHi),$T.wipe(e.stateLo),e.buffer&&$T.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},t}();R8.SHA512=nNe;var tNe=new Int32Array([1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591]);function yie(t,e,n,a,r,f,i){for(var s=n[0],o=n[1],c=n[2],d=n[3],l=n[4],h=n[5],y=n[6],v=n[7],S=a[0],O=a[1],F=a[2],z=a[3],W=a[4],j=a[5],Q=a[6],V=a[7],X,K,G,R,T,N,w,m;i>=128;){for(var A=0;A<16;A++){var P=8*A+f;t[A]=JT.readUint32BE(r,P),e[A]=JT.readUint32BE(r,P+4)}for(var A=0;A<80;A++){var L=s,x=o,g=c,B=d,M=l,k=h,q=y,ee=v,U=S,J=O,Z=F,ne=z,ue=W,Y=j,re=Q,ie=V;if(X=v,K=V,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=(l>>>14|W<<18)^(l>>>18|W<<14)^(W>>>9|l<<23),K=(W>>>14|l<<18)^(W>>>18|l<<14)^(l>>>9|W<<23),T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,X=l&h^~l&y,K=W&j^~W&Q,T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,X=tNe[A*2],K=tNe[A*2+1],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,X=t[A%16],K=e[A%16],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,G=w&65535|m<<16,R=T&65535|N<<16,X=G,K=R,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=(s>>>28|S<<4)^(S>>>2|s<<30)^(S>>>7|s<<25),K=(S>>>28|s<<4)^(s>>>2|S<<30)^(s>>>7|S<<25),T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,X=s&o^s&c^o&c,K=S&O^S&F^O&F,T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,ee=w&65535|m<<16,ie=T&65535|N<<16,X=B,K=ne,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=G,K=R,T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,B=w&65535|m<<16,ne=T&65535|N<<16,o=L,c=x,d=g,l=B,h=M,y=k,v=q,s=ee,O=U,F=J,z=Z,W=ne,j=ue,Q=Y,V=re,S=ie,A%16===15)for(var P=0;P<16;P++)X=t[P],K=e[P],T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=t[(P+9)%16],K=e[(P+9)%16],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,G=t[(P+1)%16],R=e[(P+1)%16],X=(G>>>1|R<<31)^(G>>>8|R<<24)^G>>>7,K=(R>>>1|G<<31)^(R>>>8|G<<24)^(R>>>7|G<<25),T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,G=t[(P+14)%16],R=e[(P+14)%16],X=(G>>>19|R<<13)^(R>>>29|G<<3)^G>>>6,K=(R>>>19|G<<13)^(G>>>29|R<<3)^(R>>>6|G<<26),T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,t[P]=w&65535|m<<16,e[P]=T&65535|N<<16}X=s,K=S,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[0],K=a[0],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[0]=s=w&65535|m<<16,a[0]=S=T&65535|N<<16,X=o,K=O,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[1],K=a[1],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[1]=o=w&65535|m<<16,a[1]=O=T&65535|N<<16,X=c,K=F,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[2],K=a[2],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[2]=c=w&65535|m<<16,a[2]=F=T&65535|N<<16,X=d,K=z,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[3],K=a[3],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[3]=d=w&65535|m<<16,a[3]=z=T&65535|N<<16,X=l,K=W,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[4],K=a[4],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[4]=l=w&65535|m<<16,a[4]=W=T&65535|N<<16,X=h,K=j,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[5],K=a[5],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[5]=h=w&65535|m<<16,a[5]=j=T&65535|N<<16,X=y,K=Q,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[6],K=a[6],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[6]=y=w&65535|m<<16,a[6]=Q=T&65535|N<<16,X=v,K=V,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[7],K=a[7],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[7]=v=w&65535|m<<16,a[7]=V=T&65535|N<<16,f+=128,i-=128}return f}function pnt(t){var e=new nNe;e.update(t);var n=e.digest();return e.clean(),n}R8.hash=pnt});var yNe=D($a=>{"use strict";u();p();Object.defineProperty($a,"__esModule",{value:!0});$a.convertSecretKeyToX25519=$a.convertPublicKeyToX25519=$a.verify=$a.sign=$a.extractPublicKeyFromSecretKey=$a.generateKeyPair=$a.generateKeyPairFromSeed=$a.SEED_LENGTH=$a.SECRET_KEY_LENGTH=$a.PUBLIC_KEY_LENGTH=$a.SIGNATURE_LENGTH=void 0;var hnt=vS(),wS=aNe(),oNe=K5();$a.SIGNATURE_LENGTH=64;$a.PUBLIC_KEY_LENGTH=32;$a.SECRET_KEY_LENGTH=64;$a.SEED_LENGTH=32;function gt(t){let e=new Float64Array(16);if(t)for(let n=0;n>16&1),n[i-1]&=65535;n[15]=a[15]-32767-(n[14]>>16&1);let f=n[15]>>16&1;n[14]&=65535,cNe(a,n,1-f)}for(let r=0;r<16;r++)t[2*r]=a[r]&255,t[2*r+1]=a[r]>>8}function dNe(t,e){let n=0;for(let a=0;a<32;a++)n|=t[a]^e[a];return(1&n-1>>>8)-1}function iNe(t,e){let n=new Uint8Array(32),a=new Uint8Array(32);return TS(n,t),TS(a,e),dNe(n,a)}function lNe(t){let e=new Uint8Array(32);return TS(e,t),e[0]&1}function vnt(t,e){for(let n=0;n<16;n++)t[n]=e[2*n]+(e[2*n+1]<<8);t[15]&=32767}function C7(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]+n[a]}function k7(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]-n[a]}function vr(t,e,n){let a,r,f=0,i=0,s=0,o=0,c=0,d=0,l=0,h=0,y=0,v=0,S=0,O=0,F=0,z=0,W=0,j=0,Q=0,V=0,X=0,K=0,G=0,R=0,T=0,N=0,w=0,m=0,A=0,P=0,L=0,x=0,g=0,B=n[0],M=n[1],k=n[2],q=n[3],ee=n[4],U=n[5],J=n[6],Z=n[7],ne=n[8],ue=n[9],Y=n[10],re=n[11],ie=n[12],ge=n[13],de=n[14],Ae=n[15];a=e[0],f+=a*B,i+=a*M,s+=a*k,o+=a*q,c+=a*ee,d+=a*U,l+=a*J,h+=a*Z,y+=a*ne,v+=a*ue,S+=a*Y,O+=a*re,F+=a*ie,z+=a*ge,W+=a*de,j+=a*Ae,a=e[1],i+=a*B,s+=a*M,o+=a*k,c+=a*q,d+=a*ee,l+=a*U,h+=a*J,y+=a*Z,v+=a*ne,S+=a*ue,O+=a*Y,F+=a*re,z+=a*ie,W+=a*ge,j+=a*de,Q+=a*Ae,a=e[2],s+=a*B,o+=a*M,c+=a*k,d+=a*q,l+=a*ee,h+=a*U,y+=a*J,v+=a*Z,S+=a*ne,O+=a*ue,F+=a*Y,z+=a*re,W+=a*ie,j+=a*ge,Q+=a*de,V+=a*Ae,a=e[3],o+=a*B,c+=a*M,d+=a*k,l+=a*q,h+=a*ee,y+=a*U,v+=a*J,S+=a*Z,O+=a*ne,F+=a*ue,z+=a*Y,W+=a*re,j+=a*ie,Q+=a*ge,V+=a*de,X+=a*Ae,a=e[4],c+=a*B,d+=a*M,l+=a*k,h+=a*q,y+=a*ee,v+=a*U,S+=a*J,O+=a*Z,F+=a*ne,z+=a*ue,W+=a*Y,j+=a*re,Q+=a*ie,V+=a*ge,X+=a*de,K+=a*Ae,a=e[5],d+=a*B,l+=a*M,h+=a*k,y+=a*q,v+=a*ee,S+=a*U,O+=a*J,F+=a*Z,z+=a*ne,W+=a*ue,j+=a*Y,Q+=a*re,V+=a*ie,X+=a*ge,K+=a*de,G+=a*Ae,a=e[6],l+=a*B,h+=a*M,y+=a*k,v+=a*q,S+=a*ee,O+=a*U,F+=a*J,z+=a*Z,W+=a*ne,j+=a*ue,Q+=a*Y,V+=a*re,X+=a*ie,K+=a*ge,G+=a*de,R+=a*Ae,a=e[7],h+=a*B,y+=a*M,v+=a*k,S+=a*q,O+=a*ee,F+=a*U,z+=a*J,W+=a*Z,j+=a*ne,Q+=a*ue,V+=a*Y,X+=a*re,K+=a*ie,G+=a*ge,R+=a*de,T+=a*Ae,a=e[8],y+=a*B,v+=a*M,S+=a*k,O+=a*q,F+=a*ee,z+=a*U,W+=a*J,j+=a*Z,Q+=a*ne,V+=a*ue,X+=a*Y,K+=a*re,G+=a*ie,R+=a*ge,T+=a*de,N+=a*Ae,a=e[9],v+=a*B,S+=a*M,O+=a*k,F+=a*q,z+=a*ee,W+=a*U,j+=a*J,Q+=a*Z,V+=a*ne,X+=a*ue,K+=a*Y,G+=a*re,R+=a*ie,T+=a*ge,N+=a*de,w+=a*Ae,a=e[10],S+=a*B,O+=a*M,F+=a*k,z+=a*q,W+=a*ee,j+=a*U,Q+=a*J,V+=a*Z,X+=a*ne,K+=a*ue,G+=a*Y,R+=a*re,T+=a*ie,N+=a*ge,w+=a*de,m+=a*Ae,a=e[11],O+=a*B,F+=a*M,z+=a*k,W+=a*q,j+=a*ee,Q+=a*U,V+=a*J,X+=a*Z,K+=a*ne,G+=a*ue,R+=a*Y,T+=a*re,N+=a*ie,w+=a*ge,m+=a*de,A+=a*Ae,a=e[12],F+=a*B,z+=a*M,W+=a*k,j+=a*q,Q+=a*ee,V+=a*U,X+=a*J,K+=a*Z,G+=a*ne,R+=a*ue,T+=a*Y,N+=a*re,w+=a*ie,m+=a*ge,A+=a*de,P+=a*Ae,a=e[13],z+=a*B,W+=a*M,j+=a*k,Q+=a*q,V+=a*ee,X+=a*U,K+=a*J,G+=a*Z,R+=a*ne,T+=a*ue,N+=a*Y,w+=a*re,m+=a*ie,A+=a*ge,P+=a*de,L+=a*Ae,a=e[14],W+=a*B,j+=a*M,Q+=a*k,V+=a*q,X+=a*ee,K+=a*U,G+=a*J,R+=a*Z,T+=a*ne,N+=a*ue,w+=a*Y,m+=a*re,A+=a*ie,P+=a*ge,L+=a*de,x+=a*Ae,a=e[15],j+=a*B,Q+=a*M,V+=a*k,X+=a*q,K+=a*ee,G+=a*U,R+=a*J,T+=a*Z,N+=a*ne,w+=a*ue,m+=a*Y,A+=a*re,P+=a*ie,L+=a*ge,x+=a*de,g+=a*Ae,f+=38*Q,i+=38*V,s+=38*X,o+=38*K,c+=38*G,d+=38*R,l+=38*T,h+=38*N,y+=38*w,v+=38*m,S+=38*A,O+=38*P,F+=38*L,z+=38*x,W+=38*g,r=1,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=v+r+65535,r=Math.floor(a/65536),v=a-r*65536,a=S+r+65535,r=Math.floor(a/65536),S=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=F+r+65535,r=Math.floor(a/65536),F=a-r*65536,a=z+r+65535,r=Math.floor(a/65536),z=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,a=j+r+65535,r=Math.floor(a/65536),j=a-r*65536,f+=r-1+37*(r-1),r=1,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=v+r+65535,r=Math.floor(a/65536),v=a-r*65536,a=S+r+65535,r=Math.floor(a/65536),S=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=F+r+65535,r=Math.floor(a/65536),F=a-r*65536,a=z+r+65535,r=Math.floor(a/65536),z=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,a=j+r+65535,r=Math.floor(a/65536),j=a-r*65536,f+=r-1+37*(r-1),t[0]=f,t[1]=i,t[2]=s,t[3]=o,t[4]=c,t[5]=d,t[6]=l,t[7]=h,t[8]=y,t[9]=v,t[10]=S,t[11]=O,t[12]=F,t[13]=z,t[14]=W,t[15]=j}function I7(t,e){vr(t,e,e)}function uNe(t,e){let n=gt(),a;for(a=0;a<16;a++)n[a]=e[a];for(a=253;a>=0;a--)I7(n,n),a!==2&&a!==4&&vr(n,n,e);for(a=0;a<16;a++)t[a]=n[a]}function wnt(t,e){let n=gt(),a;for(a=0;a<16;a++)n[a]=e[a];for(a=250;a>=0;a--)I7(n,n),a!==1&&vr(n,n,e);for(a=0;a<16;a++)t[a]=n[a]}function Tie(t,e){let n=gt(),a=gt(),r=gt(),f=gt(),i=gt(),s=gt(),o=gt(),c=gt(),d=gt();k7(n,t[1],t[0]),k7(d,e[1],e[0]),vr(n,n,d),C7(a,t[0],t[1]),C7(d,e[0],e[1]),vr(a,a,d),vr(r,t[3],e[3]),vr(r,r,ynt),vr(f,t[2],e[2]),C7(f,f,f),k7(i,a,n),k7(s,f,r),C7(o,f,r),C7(c,a,n),vr(t[0],i,s),vr(t[1],c,o),vr(t[2],o,s),vr(t[3],i,c)}function sNe(t,e,n){for(let a=0;a<4;a++)cNe(t[a],e[a],n)}function Eie(t,e){let n=gt(),a=gt(),r=gt();uNe(r,e[2]),vr(n,e[0],r),vr(a,e[1],r),TS(t,a),t[31]^=lNe(n)<<7}function pNe(t,e,n){db(t[0],wie),db(t[1],XT),db(t[2],XT),db(t[3],wie);for(let a=255;a>=0;--a){let r=n[a/8|0]>>(a&7)&1;sNe(t,e,r),Tie(e,t),Tie(t,t),sNe(t,e,r)}}function _ie(t,e){let n=[gt(),gt(),gt(),gt()];db(n[0],rNe),db(n[1],fNe),db(n[2],XT),vr(n[3],rNe,fNe),pNe(t,n,e)}function hNe(t){if(t.length!==$a.SEED_LENGTH)throw new Error(`ed25519: seed must be ${$a.SEED_LENGTH} bytes`);let e=(0,wS.hash)(t);e[0]&=248,e[31]&=127,e[31]|=64;let n=new Uint8Array(32),a=[gt(),gt(),gt(),gt()];_ie(a,e),Eie(n,a);let r=new Uint8Array(64);return r.set(t),r.set(n,32),{publicKey:n,secretKey:r}}$a.generateKeyPairFromSeed=hNe;function Tnt(t){let e=(0,hnt.randomBytes)(32,t),n=hNe(e);return(0,oNe.wipe)(e),n}$a.generateKeyPair=Tnt;function xnt(t){if(t.length!==$a.SECRET_KEY_LENGTH)throw new Error(`ed25519: secret key must be ${$a.SECRET_KEY_LENGTH} bytes`);return new Uint8Array(t.subarray(32))}$a.extractPublicKeyFromSecretKey=xnt;var vie=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function bNe(t,e){let n,a,r,f;for(a=63;a>=32;--a){for(n=0,r=a-32,f=a-12;r>4)*vie[r],n=e[r]>>8,e[r]&=255;for(r=0;r<32;r++)e[r]-=n*vie[r];for(a=0;a<32;a++)e[a+1]+=e[a]>>8,t[a]=e[a]&255}function xie(t){let e=new Float64Array(64);for(let n=0;n<64;n++)e[n]=t[n];for(let n=0;n<64;n++)t[n]=0;bNe(t,e)}function Ent(t,e){let n=new Float64Array(64),a=[gt(),gt(),gt(),gt()],r=(0,wS.hash)(t.subarray(0,32));r[0]&=248,r[31]&=127,r[31]|=64;let f=new Uint8Array(64);f.set(r.subarray(32),32);let i=new wS.SHA512;i.update(f.subarray(32)),i.update(e);let s=i.digest();i.clean(),xie(s),_ie(a,s),Eie(f,a),i.reset(),i.update(f.subarray(0,32)),i.update(t.subarray(32)),i.update(e);let o=i.digest();xie(o);for(let c=0;c<32;c++)n[c]=s[c];for(let c=0;c<32;c++)for(let d=0;d<32;d++)n[c+d]+=o[c]*r[d];return bNe(f.subarray(32),n),f}$a.sign=Ent;function mNe(t,e){let n=gt(),a=gt(),r=gt(),f=gt(),i=gt(),s=gt(),o=gt();return db(t[2],XT),vnt(t[1],e),I7(r,t[1]),vr(f,r,mnt),k7(r,r,t[2]),C7(f,t[2],f),I7(i,f),I7(s,i),vr(o,s,i),vr(n,o,r),vr(n,n,f),wnt(n,n),vr(n,n,r),vr(n,n,f),vr(n,n,f),vr(t[0],n,f),I7(a,t[0]),vr(a,a,f),iNe(a,r)&&vr(t[0],t[0],gnt),I7(a,t[0]),vr(a,a,f),iNe(a,r)?-1:(lNe(t[0])===e[31]>>7&&k7(t[0],wie,t[0]),vr(t[3],t[0],t[1]),0)}function _nt(t,e,n){let a=new Uint8Array(32),r=[gt(),gt(),gt(),gt()],f=[gt(),gt(),gt(),gt()];if(n.length!==$a.SIGNATURE_LENGTH)throw new Error(`ed25519: signature must be ${$a.SIGNATURE_LENGTH} bytes`);if(mNe(f,t))return!1;let i=new wS.SHA512;i.update(n.subarray(0,32)),i.update(t),i.update(e);let s=i.digest();return xie(s),pNe(r,f,s),_ie(f,n.subarray(32)),Tie(r,f),Eie(a,r),!dNe(n,a)}$a.verify=_nt;function Ant(t){let e=[gt(),gt(),gt(),gt()];if(mNe(e,t))throw new Error("Ed25519: invalid public key");let n=gt(),a=gt(),r=e[1];C7(n,XT,r),k7(a,XT,r),uNe(a,a),vr(n,n,a);let f=new Uint8Array(32);return TS(f,n),f}$a.convertPublicKeyToX25519=Ant;function Cnt(t){let e=(0,wS.hash)(t.subarray(0,32));e[0]&=248,e[31]&=127,e[31]|=64;let n=new Uint8Array(e.subarray(0,32));return(0,oNe.wipe)(e),n}$a.convertSecretKeyToX25519=Cnt});var gNe,vNe,Aie,Cie,wNe,TNe,xNe,ENe,_Ne,Iie,ANe,CNe,Az=ce(()=>{u();p();gNe="EdDSA",vNe="JWT",Aie=".",Cie="base64url",wNe="utf8",TNe="utf8",xNe=":",ENe="did",_Ne="key",Iie="base58btc",ANe="z",CNe="K36"});function S7(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}var xS=ce(()=>{u();p()});function ES(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?S7(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}var Cz=ce(()=>{u();p();xS()});var Iz={};V0(Iz,{concat:()=>R7});function R7(t,e){e||(e=t.reduce((r,f)=>r+f.length,0));let n=ES(e),a=0;for(let r of t)n.set(r,a),a+=r.length;return S7(n)}var ZT=ce(()=>{u();p();Cz();xS()});function Int(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),a=0;a>>0,j=new Uint8Array(W);F!==z;){for(var Q=v[F],V=0,X=W-1;(Q!==0||V>>0,j[X]=Q%s>>>0,Q=Q/s>>>0;if(Q!==0)throw new Error("Non-zero carry");O=V,F++}for(var K=W-O;K!==W&&j[K]===0;)K++;for(var G=o.repeat(S);K>>0,W=new Uint8Array(z);v[S];){var j=n[v.charCodeAt(S)];if(j===255)return;for(var Q=0,V=z-1;(j!==0||Q>>0,W[V]=j%256>>>0,j=j/256>>>0;if(j!==0)throw new Error("Non-zero carry");F=Q,S++}if(v[S]!==" "){for(var X=z-F;X!==z&&W[X]===0;)X++;for(var K=new Uint8Array(O+(z-X)),G=O;X!==z;)K[G++]=W[X++];return K}}}function y(v){var S=h(v);if(S)return S;throw new Error(`Non-${e} character`)}return{encode:l,decodeUnsafe:h,decode:y}}var knt,Snt,INe,kNe=ce(()=>{u();p();knt=Int,Snt=knt,INe=Snt});var kz={};V0(kz,{coerce:()=>Q5,empty:()=>SNe,equals:()=>kie,fromHex:()=>Mnt,fromString:()=>Sie,isBinary:()=>Bnt,toHex:()=>Rnt,toString:()=>Rie});var SNe,Rnt,Mnt,kie,Q5,Bnt,Sie,Rie,lb=ce(()=>{u();p();SNe=new Uint8Array(0),Rnt=t=>t.reduce((e,n)=>e+n.toString(16).padStart(2,"0"),""),Mnt=t=>{let e=t.match(/../g);return e?new Uint8Array(e.map(n=>parseInt(n,16))):SNe},kie=(t,e)=>{if(t===e)return!0;if(t.byteLength!==e.byteLength)return!1;for(let n=0;n{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},Bnt=t=>t instanceof ArrayBuffer||ArrayBuffer.isView(t),Sie=t=>new TextEncoder().encode(t),Rie=t=>new TextDecoder().decode(t)});var Mie,Bie,Die,RNe,Pie,ex,ub,Dnt,Pnt,Xf,yl=ce(()=>{u();p();kNe();lb();Mie=class{constructor(e,n,a){this.name=e,this.prefix=n,this.baseEncode=a}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}},Bie=class{constructor(e,n,a){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=a}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return RNe(this,e)}},Die=class{constructor(e){this.decoders=e}or(e){return RNe(this,e)}decode(e){let n=e[0],a=this.decoders[n];if(a)return a.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}},RNe=(t,e)=>new Die({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}}),Pie=class{constructor(e,n,a,r){this.name=e,this.prefix=n,this.baseEncode=a,this.baseDecode=r,this.encoder=new Mie(e,n,a),this.decoder=new Bie(e,n,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}},ex=({name:t,prefix:e,encode:n,decode:a})=>new Pie(t,e,n,a),ub=({prefix:t,name:e,alphabet:n})=>{let{encode:a,decode:r}=INe(n,e);return ex({prefix:t,name:e,encode:a,decode:f=>Q5(r(f))})},Dnt=(t,e,n,a)=>{let r={};for(let d=0;d=8&&(s-=8,i[c++]=255&o>>s)}if(s>=n||255&o<<8-s)throw new SyntaxError("Unexpected end of data");return i},Pnt=(t,e,n)=>{let a=e[e.length-1]==="=",r=(1<n;)i-=n,f+=e[r&s>>i];if(i&&(f+=e[r&s<ex({prefix:e,name:t,encode(r){return Pnt(r,a,n)},decode(r){return Dnt(r,a,n,t)}})});var Lie={};V0(Lie,{identity:()=>Lnt});var Lnt,MNe=ce(()=>{u();p();yl();lb();Lnt=ex({prefix:"\0",name:"identity",encode:t=>Rie(t),decode:t=>Sie(t)})});var Fie={};V0(Fie,{base2:()=>Fnt});var Fnt,BNe=ce(()=>{u();p();yl();Fnt=Xf({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1})});var Nie={};V0(Nie,{base8:()=>Nnt});var Nnt,DNe=ce(()=>{u();p();yl();Nnt=Xf({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3})});var Oie={};V0(Oie,{base10:()=>Ont});var Ont,PNe=ce(()=>{u();p();yl();Ont=ub({prefix:"9",name:"base10",alphabet:"0123456789"})});var Uie={};V0(Uie,{base16:()=>Unt,base16upper:()=>Hnt});var Unt,Hnt,LNe=ce(()=>{u();p();yl();Unt=Xf({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),Hnt=Xf({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4})});var Hie={};V0(Hie,{base32:()=>tx,base32hex:()=>jnt,base32hexpad:()=>Knt,base32hexpadupper:()=>Qnt,base32hexupper:()=>Gnt,base32pad:()=>Wnt,base32padupper:()=>qnt,base32upper:()=>znt,base32z:()=>Vnt});var tx,znt,Wnt,qnt,jnt,Gnt,Knt,Qnt,Vnt,zie=ce(()=>{u();p();yl();tx=Xf({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),znt=Xf({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),Wnt=Xf({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),qnt=Xf({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),jnt=Xf({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),Gnt=Xf({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),Knt=Xf({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),Qnt=Xf({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),Vnt=Xf({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5})});var Wie={};V0(Wie,{base36:()=>Ynt,base36upper:()=>$nt});var Ynt,$nt,FNe=ce(()=>{u();p();yl();Ynt=ub({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),$nt=ub({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"})});var qie={};V0(qie,{base58btc:()=>X2,base58flickr:()=>Jnt});var X2,Jnt,jie=ce(()=>{u();p();yl();X2=ub({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),Jnt=ub({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"})});var Gie={};V0(Gie,{base64:()=>Xnt,base64pad:()=>Znt,base64url:()=>eat,base64urlpad:()=>tat});var Xnt,Znt,eat,tat,NNe=ce(()=>{u();p();yl();Xnt=Xf({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Znt=Xf({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),eat=Xf({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),tat=Xf({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6})});var Kie={};V0(Kie,{base256emoji:()=>iat});function rat(t){return t.reduce((e,n)=>(e+=nat[n],e),"")}function fat(t){let e=[];for(let n of t){let a=aat[n.codePointAt(0)];if(a===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(a)}return new Uint8Array(e)}var ONe,nat,aat,iat,UNe=ce(()=>{u();p();yl();ONe=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),nat=ONe.reduce((t,e,n)=>(t[n]=e,t),[]),aat=ONe.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);iat=ex({prefix:"\u{1F680}",name:"base256emoji",encode:rat,decode:fat})});function WNe(t,e,n){e=e||[],n=n||0;for(var a=n;t>=dat;)e[n++]=t&255|HNe,t/=128;for(;t&cat;)e[n++]=t&255|HNe,t>>>=7;return e[n]=t|0,WNe.bytes=n-a+1,e}function Qie(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s)throw Qie.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&zNe)<=uat);return Qie.bytes=f-a,n}var sat,HNe,oat,cat,dat,lat,uat,zNe,pat,hat,bat,mat,yat,gat,vat,wat,Tat,xat,Eat,_at,_S,qNe=ce(()=>{u();p();sat=WNe,HNe=128,oat=127,cat=~oat,dat=Math.pow(2,31);lat=Qie,uat=128,zNe=127;pat=Math.pow(2,7),hat=Math.pow(2,14),bat=Math.pow(2,21),mat=Math.pow(2,28),yat=Math.pow(2,35),gat=Math.pow(2,42),vat=Math.pow(2,49),wat=Math.pow(2,56),Tat=Math.pow(2,63),xat=function(t){return tnx,encodeTo:()=>M7,encodingLength:()=>B7});var nx,M7,B7,Sz=ce(()=>{u();p();qNe();nx=(t,e=0)=>[_S.decode(t,e),_S.decode.bytes],M7=(t,e,n=0)=>(_S.encode(t,e,n),e),B7=t=>_S.encodingLength(t)});var P7={};V0(P7,{Digest:()=>D7,create:()=>pb,decode:()=>Vie,equals:()=>Yie});var pb,Vie,Yie,D7,AS=ce(()=>{u();p();lb();Sz();pb=(t,e)=>{let n=e.byteLength,a=B7(t),r=a+B7(n),f=new Uint8Array(r+n);return M7(t,f,0),M7(n,f,a),f.set(e,r),new D7(t,n,e,f)},Vie=t=>{let e=Q5(t),[n,a]=nx(e),[r,f]=nx(e.subarray(a)),i=e.subarray(a+f);if(i.byteLength!==r)throw new Error("Incorrect length");return new D7(n,r,i,e)},Yie=(t,e)=>t===e?!0:t.code===e.code&&t.size===e.size&&kie(t.bytes,e.bytes),D7=class{constructor(e,n,a,r){this.code=e,this.size=n,this.digest=a,this.bytes=r}}});var Bz={};V0(Bz,{Hasher:()=>Rz,from:()=>Mz});var Mz,Rz,$ie=ce(()=>{u();p();AS();Mz=({name:t,code:e,encode:n})=>new Rz(t,e,n),Rz=class{constructor(e,n,a){this.name=e,this.code=n,this.encode=a}digest(e){if(e instanceof Uint8Array){let n=this.encode(e);return n instanceof Uint8Array?pb(this.code,n):n.then(a=>pb(this.code,a))}else throw Error("Unknown type, must be binary type")}}});var Jie={};V0(Jie,{sha256:()=>Aat,sha512:()=>Cat});var jNe,Aat,Cat,GNe=ce(()=>{u();p();$ie();jNe=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),Aat=Mz({name:"sha2-256",code:18,encode:jNe("SHA-256")}),Cat=Mz({name:"sha2-512",code:19,encode:jNe("SHA-512")})});var Xie={};V0(Xie,{identity:()=>Sat});var KNe,Iat,QNe,kat,Sat,VNe=ce(()=>{u();p();lb();AS();KNe=0,Iat="identity",QNe=Q5,kat=t=>pb(KNe,QNe(t)),Sat={code:KNe,name:Iat,encode:QNe,digest:kat}});var Zie={};V0(Zie,{code:()=>Mat,decode:()=>Dat,encode:()=>Bat,name:()=>Rat});var Rat,Mat,Bat,Dat,YNe=ce(()=>{u();p();lb();Rat="raw",Mat=85,Bat=t=>Q5(t),Dat=t=>Q5(t)});var ese={};V0(ese,{code:()=>Nat,decode:()=>Uat,encode:()=>Oat,name:()=>Fat});var Pat,Lat,Fat,Nat,Oat,Uat,$Ne=ce(()=>{u();p();Pat=new TextEncoder,Lat=new TextDecoder,Fat="json",Nat=512,Oat=t=>Pat.encode(JSON.stringify(t)),Uat=t=>JSON.parse(Lat.decode(t))});var IS,Hat,zat,Wat,CS,qat,JNe,XNe,Dz,Pz,jat,Gat,Kat,ZNe=ce(()=>{u();p();Sz();AS();jie();zie();lb();IS=class t{constructor(e,n,a,r){this.code=n,this.version=e,this.multihash=a,this.bytes=r,this.byteOffset=r.byteOffset,this.byteLength=r.byteLength,this.asCID=this,this._baseCache=new Map,Object.defineProperties(this,{byteOffset:Pz,byteLength:Pz,code:Dz,version:Dz,multihash:Dz,bytes:Dz,_baseCache:Pz,asCID:Pz})}toV0(){switch(this.version){case 0:return this;default:{let{code:e,multihash:n}=this;if(e!==CS)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(n.code!==qat)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");return t.createV0(n)}}}toV1(){switch(this.version){case 0:{let{code:e,digest:n}=this.multihash,a=pb(e,n);return t.createV1(this.code,a)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}equals(e){return e&&this.code===e.code&&this.version===e.version&&Yie(this.multihash,e.multihash)}toString(e){let{bytes:n,version:a,_baseCache:r}=this;switch(a){case 0:return zat(n,r,e||X2.encoder);default:return Wat(n,r,e||tx.encoder)}}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}static isCID(e){return Gat(/^0\.0/,Kat),!!(e&&(e[XNe]||e.asCID===e))}get toBaseEncodedString(){throw new Error("Deprecated, use .toString()")}get codec(){throw new Error('"codec" property is deprecated, use integer "code" property instead')}get buffer(){throw new Error("Deprecated .buffer property, use .bytes to get Uint8Array instead")}get multibaseName(){throw new Error('"multibaseName" property is deprecated')}get prefix(){throw new Error('"prefix" property is deprecated')}static asCID(e){if(e instanceof t)return e;if(e!=null&&e.asCID===e){let{version:n,code:a,multihash:r,bytes:f}=e;return new t(n,a,r,f||JNe(n,a,r.bytes))}else if(e!=null&&e[XNe]===!0){let{version:n,multihash:a,code:r}=e,f=Vie(a);return t.create(n,r,f)}else return null}static create(e,n,a){if(typeof n!="number")throw new Error("String codecs are no longer supported");switch(e){case 0:{if(n!==CS)throw new Error(`Version 0 CID must use dag-pb (code: ${CS}) block encoding`);return new t(e,n,a,a.bytes)}case 1:{let r=JNe(e,n,a.bytes);return new t(e,n,a,r)}default:throw new Error("Invalid version")}}static createV0(e){return t.create(0,CS,e)}static createV1(e,n){return t.create(1,e,n)}static decode(e){let[n,a]=t.decodeFirst(e);if(a.length)throw new Error("Incorrect length");return n}static decodeFirst(e){let n=t.inspectBytes(e),a=n.size-n.multihashSize,r=Q5(e.subarray(a,a+n.multihashSize));if(r.byteLength!==n.multihashSize)throw new Error("Incorrect length");let f=r.subarray(n.multihashSize-n.digestSize),i=new D7(n.multihashCode,n.digestSize,f,r);return[n.version===0?t.createV0(i):t.createV1(n.codec,i),e.subarray(n.size)]}static inspectBytes(e){let n=0,a=()=>{let[l,h]=nx(e.subarray(n));return n+=h,l},r=a(),f=CS;if(r===18?(r=0,n=0):r===1&&(f=a()),r!==0&&r!==1)throw new RangeError(`Invalid CID version ${r}`);let i=n,s=a(),o=a(),c=n+o,d=c-i;return{version:r,codec:f,multihashCode:s,digestSize:o,multihashSize:d,size:c}}static parse(e,n){let[a,r]=Hat(e,n),f=t.decode(r);return f._baseCache.set(a,e),f}},Hat=(t,e)=>{switch(t[0]){case"Q":{let n=e||X2;return[X2.prefix,n.decode(`${X2.prefix}${t}`)]}case X2.prefix:{let n=e||X2;return[X2.prefix,n.decode(t)]}case tx.prefix:{let n=e||tx;return[tx.prefix,n.decode(t)]}default:{if(e==null)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[t[0],e.decode(t)]}}},zat=(t,e,n)=>{let{prefix:a}=n;if(a!==X2.prefix)throw Error(`Cannot string encode V0 in ${n.name} encoding`);let r=e.get(a);if(r==null){let f=n.encode(t).slice(1);return e.set(a,f),f}else return r},Wat=(t,e,n)=>{let{prefix:a}=n,r=e.get(a);if(r==null){let f=n.encode(t);return e.set(a,f),f}else return r},CS=112,qat=18,JNe=(t,e,n)=>{let a=B7(t),r=a+B7(e),f=new Uint8Array(r+n.byteLength);return M7(t,f,0),M7(e,f,a),f.set(n,r),f},XNe=Symbol.for("@ipld/js-cid/CID"),Dz={writable:!1,configurable:!1,enumerable:!0},Pz={writable:!1,enumerable:!1,configurable:!1},jat="0.0.0-dev",Gat=(t,e)=>{if(t.test(jat))console.warn(e);else throw new Error(e)},Kat=`CID.isCID(v) is deprecated and will be removed in the next major release. +`)},t.register=function(e,n){if(n||(n=e.locale),c$0)try{var a=window;a._ethers&&a._ethers.wordlists&&(a._ethers.wordlists[n]||(0,FBe.defineReadOnly)(a._ethers.wordlists,n,e))}catch{}},t}();b7.Wordlist=p$0});var UBe=D(uT=>{"use strict";u();p();var h$0=uT&&uT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(uT,"__esModule",{value:!0});uT.langCz=void 0;var Ure=L2(),b$0="AbdikaceAbecedaAdresaAgreseAkceAktovkaAlejAlkoholAmputaceAnanasAndulkaAnekdotaAnketaAntikaAnulovatArchaAroganceAsfaltAsistentAspiraceAstmaAstronomAtlasAtletikaAtolAutobusAzylBabkaBachorBacilBaculkaBadatelBagetaBagrBahnoBakterieBaladaBaletkaBalkonBalonekBalvanBalzaBambusBankomatBarbarBaretBarmanBarokoBarvaBaterkaBatohBavlnaBazalkaBazilikaBazukaBednaBeranBesedaBestieBetonBezinkaBezmocBeztakBicyklBidloBiftekBikinyBilanceBiografBiologBitvaBizonBlahobytBlatouchBlechaBleduleBleskBlikatBliznaBlokovatBlouditBludBobekBobrBodlinaBodnoutBohatostBojkotBojovatBokorysBolestBorecBoroviceBotaBoubelBouchatBoudaBouleBouratBoxerBradavkaBramboraBrankaBratrBreptaBriketaBrkoBrlohBronzBroskevBrunetkaBrusinkaBrzdaBrzyBublinaBubnovatBuchtaBuditelBudkaBudovaBufetBujarostBukviceBuldokBulvaBundaBunkrBurzaButikBuvolBuzolaBydletBylinaBytovkaBzukotCapartCarevnaCedrCeduleCejchCejnCelaCelerCelkemCelniceCeninaCennostCenovkaCentrumCenzorCestopisCetkaChalupaChapadloCharitaChataChechtatChemieChichotChirurgChladChlebaChlubitChmelChmuraChobotChocholChodbaCholeraChomoutChopitChorobaChovChrapotChrlitChrtChrupChtivostChudinaChutnatChvatChvilkaChvostChybaChystatChytitCibuleCigaretaCihelnaCihlaCinkotCirkusCisternaCitaceCitrusCizinecCizostClonaCokolivCouvatCtitelCtnostCudnostCuketaCukrCupotCvaknoutCvalCvikCvrkotCyklistaDalekoDarebaDatelDatumDceraDebataDechovkaDecibelDeficitDeflaceDeklDekretDemokratDepreseDerbyDeskaDetektivDikobrazDiktovatDiodaDiplomDiskDisplejDivadloDivochDlahaDlouhoDluhopisDnesDobroDobytekDocentDochutitDodnesDohledDohodaDohraDojemDojniceDokladDokolaDoktorDokumentDolarDolevaDolinaDomaDominantDomluvitDomovDonutitDopadDopisDoplnitDoposudDoprovodDopustitDorazitDorostDortDosahDoslovDostatekDosudDosytaDotazDotekDotknoutDoufatDoutnatDovozceDozaduDoznatDozorceDrahotaDrakDramatikDravecDrazeDrdolDrobnostDrogerieDrozdDrsnostDrtitDrzostDubenDuchovnoDudekDuhaDuhovkaDusitDusnoDutostDvojiceDvorecDynamitEkologEkonomieElektronElipsaEmailEmiseEmoceEmpatieEpizodaEpochaEpopejEposEsejEsenceEskortaEskymoEtiketaEuforieEvoluceExekuceExkurzeExpediceExplozeExportExtraktFackaFajfkaFakultaFanatikFantazieFarmacieFavoritFazoleFederaceFejetonFenkaFialkaFigurantFilozofFiltrFinanceFintaFixaceFjordFlanelFlirtFlotilaFondFosforFotbalFotkaFotonFrakceFreskaFrontaFukarFunkceFyzikaGalejeGarantGenetikaGeologGilotinaGlazuraGlejtGolemGolfistaGotikaGrafGramofonGranuleGrepGrilGrogGroteskaGumaHadiceHadrHalaHalenkaHanbaHanopisHarfaHarpunaHavranHebkostHejkalHejnoHejtmanHektarHelmaHematomHerecHernaHesloHezkyHistorikHladovkaHlasivkyHlavaHledatHlenHlodavecHlohHloupostHltatHlubinaHluchotaHmatHmotaHmyzHnisHnojivoHnoutHoblinaHobojHochHodinyHodlatHodnotaHodovatHojnostHokejHolinkaHolkaHolubHomoleHonitbaHonoraceHoralHordaHorizontHorkoHorlivecHormonHorninaHoroskopHorstvoHospodaHostinaHotovostHoubaHoufHoupatHouskaHovorHradbaHraniceHravostHrazdaHrbolekHrdinaHrdloHrdostHrnekHrobkaHromadaHrotHroudaHrozenHrstkaHrubostHryzatHubenostHubnoutHudbaHukotHumrHusitaHustotaHvozdHybnostHydrantHygienaHymnaHysterikIdylkaIhnedIkonaIluzeImunitaInfekceInflaceInkasoInovaceInspekceInternetInvalidaInvestorInzerceIronieJablkoJachtaJahodaJakmileJakostJalovecJantarJarmarkJaroJasanJasnoJatkaJavorJazykJedinecJedleJednatelJehlanJekotJelenJelitoJemnostJenomJepiceJeseterJevitJezdecJezeroJinakJindyJinochJiskraJistotaJitrniceJizvaJmenovatJogurtJurtaKabaretKabelKabinetKachnaKadetKadidloKahanKajakKajutaKakaoKaktusKalamitaKalhotyKalibrKalnostKameraKamkolivKamnaKanibalKanoeKantorKapalinaKapelaKapitolaKapkaKapleKapotaKaprKapustaKapybaraKaramelKarotkaKartonKasaKatalogKatedraKauceKauzaKavalecKazajkaKazetaKazivostKdekolivKdesiKedlubenKempKeramikaKinoKlacekKladivoKlamKlapotKlasikaKlaunKlecKlenbaKlepatKlesnoutKlidKlimaKlisnaKloboukKlokanKlopaKloubKlubovnaKlusatKluzkostKmenKmitatKmotrKnihaKnotKoaliceKoberecKobkaKoblihaKobylaKocourKohoutKojenecKokosKoktejlKolapsKoledaKolizeKoloKomandoKometaKomikKomnataKomoraKompasKomunitaKonatKonceptKondiceKonecKonfeseKongresKoninaKonkursKontaktKonzervaKopanecKopieKopnoutKoprovkaKorbelKorektorKormidloKoroptevKorpusKorunaKorytoKorzetKosatecKostkaKotelKotletaKotoulKoukatKoupelnaKousekKouzloKovbojKozaKozorohKrabiceKrachKrajinaKralovatKrasopisKravataKreditKrejcarKresbaKrevetaKriketKritikKrizeKrkavecKrmelecKrmivoKrocanKrokKronikaKropitKroupaKrovkaKrtekKruhadloKrupiceKrutostKrvinkaKrychleKryptaKrystalKrytKudlankaKufrKujnostKuklaKulajdaKulichKulkaKulometKulturaKunaKupodivuKurtKurzorKutilKvalitaKvasinkaKvestorKynologKyselinaKytaraKyticeKytkaKytovecKyvadloLabradorLachtanLadnostLaikLakomecLamelaLampaLanovkaLasiceLasoLasturaLatinkaLavinaLebkaLeckdyLedenLedniceLedovkaLedvinaLegendaLegieLegraceLehceLehkostLehnoutLektvarLenochodLentilkaLepenkaLepidloLetadloLetecLetmoLetokruhLevhartLevitaceLevobokLibraLichotkaLidojedLidskostLihovinaLijavecLilekLimetkaLinieLinkaLinoleumListopadLitinaLitovatLobistaLodivodLogikaLogopedLokalitaLoketLomcovatLopataLopuchLordLososLotrLoudalLouhLoukaLouskatLovecLstivostLucernaLuciferLumpLuskLustraceLviceLyraLyrikaLysinaMadamMadloMagistrMahagonMajetekMajitelMajoritaMakakMakoviceMakrelaMalbaMalinaMalovatMalviceMaminkaMandleMankoMarnostMasakrMaskotMasopustMaticeMatrikaMaturitaMazanecMazivoMazlitMazurkaMdlobaMechanikMeditaceMedovinaMelasaMelounMentolkaMetlaMetodaMetrMezeraMigraceMihnoutMihuleMikinaMikrofonMilenecMilimetrMilostMimikaMincovnaMinibarMinometMinulostMiskaMistrMixovatMladostMlhaMlhovinaMlokMlsatMluvitMnichMnohemMobilMocnostModelkaModlitbaMohylaMokroMolekulaMomentkaMonarchaMonoklMonstrumMontovatMonzunMosazMoskytMostMotivaceMotorkaMotykaMouchaMoudrostMozaikaMozekMozolMramorMravenecMrkevMrtvolaMrzetMrzutostMstitelMudrcMuflonMulatMumieMuniceMusetMutaceMuzeumMuzikantMyslivecMzdaNabouratNachytatNadaceNadbytekNadhozNadobroNadpisNahlasNahnatNahodileNahraditNaivitaNajednouNajistoNajmoutNaklonitNakonecNakrmitNalevoNamazatNamluvitNanometrNaokoNaopakNaostroNapadatNapevnoNaplnitNapnoutNaposledNaprostoNaroditNarubyNarychloNasaditNasekatNaslepoNastatNatolikNavenekNavrchNavzdoryNazvatNebeNechatNeckyNedalekoNedbatNeduhNegaceNehetNehodaNejenNejprveNeklidNelibostNemilostNemocNeochotaNeonkaNepokojNerostNervNesmyslNesouladNetvorNeuronNevinaNezvykleNicotaNijakNikamNikdyNiklNikterakNitroNoclehNohaviceNominaceNoraNorekNositelNosnostNouzeNovinyNovotaNozdraNudaNudleNugetNutitNutnostNutrieNymfaObalObarvitObavaObdivObecObehnatObejmoutObezitaObhajobaObilniceObjasnitObjektObklopitOblastOblekOblibaOblohaObludaObnosObohatitObojekOboutObrazecObrnaObrubaObrysObsahObsluhaObstaratObuvObvazObvinitObvodObvykleObyvatelObzorOcasOcelOcenitOchladitOchotaOchranaOcitnoutOdbojOdbytOdchodOdcizitOdebratOdeslatOdevzdatOdezvaOdhadceOdhoditOdjetOdjinudOdkazOdkoupitOdlivOdlukaOdmlkaOdolnostOdpadOdpisOdploutOdporOdpustitOdpykatOdrazkaOdsouditOdstupOdsunOdtokOdtudOdvahaOdvetaOdvolatOdvracetOdznakOfinaOfsajdOhlasOhniskoOhradaOhrozitOhryzekOkapOkeniceOklikaOknoOkouzlitOkovyOkrasaOkresOkrsekOkruhOkupantOkurkaOkusitOlejninaOlizovatOmakOmeletaOmezitOmladinaOmlouvatOmluvaOmylOnehdyOpakovatOpasekOperaceOpiceOpilostOpisovatOporaOpoziceOpravduOprotiOrbitalOrchestrOrgieOrliceOrlojOrtelOsadaOschnoutOsikaOsivoOslavaOslepitOslnitOslovitOsnovaOsobaOsolitOspalecOstenOstrahaOstudaOstychOsvojitOteplitOtiskOtopOtrhatOtrlostOtrokOtrubyOtvorOvanoutOvarOvesOvlivnitOvoceOxidOzdobaPachatelPacientPadouchPahorekPaktPalandaPalecPalivoPalubaPamfletPamlsekPanenkaPanikaPannaPanovatPanstvoPantoflePaprikaParketaParodiePartaParukaParybaPasekaPasivitaPastelkaPatentPatronaPavoukPaznehtPazourekPeckaPedagogPejsekPekloPelotonPenaltaPendrekPenzePeriskopPeroPestrostPetardaPeticePetrolejPevninaPexesoPianistaPihaPijavicePiklePiknikPilinaPilnostPilulkaPinzetaPipetaPisatelPistolePitevnaPivnicePivovarPlacentaPlakatPlamenPlanetaPlastikaPlatitPlavidloPlazPlechPlemenoPlentaPlesPletivoPlevelPlivatPlnitPlnoPlochaPlodinaPlombaPloutPlukPlynPobavitPobytPochodPocitPoctivecPodatPodcenitPodepsatPodhledPodivitPodkladPodmanitPodnikPodobaPodporaPodrazPodstataPodvodPodzimPoeziePohankaPohnutkaPohovorPohromaPohybPointaPojistkaPojmoutPokazitPoklesPokojPokrokPokutaPokynPolednePolibekPolknoutPolohaPolynomPomaluPominoutPomlkaPomocPomstaPomysletPonechatPonorkaPonurostPopadatPopelPopisekPoplachPoprositPopsatPopudPoradcePorcePorodPoruchaPoryvPosaditPosedPosilaPoskokPoslanecPosouditPospoluPostavaPosudekPosypPotahPotkanPotleskPotomekPotravaPotupaPotvoraPoukazPoutoPouzdroPovahaPovidlaPovlakPovozPovrchPovstatPovykPovzdechPozdravPozemekPoznatekPozorPozvatPracovatPrahoryPraktikaPralesPraotecPraporekPrasePravdaPrincipPrknoProbuditProcentoProdejProfeseProhraProjektProlomitPromilePronikatPropadProrokProsbaProtonProutekProvazPrskavkaPrstenPrudkostPrutPrvekPrvohoryPsanecPsovodPstruhPtactvoPubertaPuchPudlPukavecPuklinaPukrlePultPumpaPuncPupenPusaPusinkaPustinaPutovatPutykaPyramidaPyskPytelRacekRachotRadiaceRadniceRadonRaftRagbyRaketaRakovinaRamenoRampouchRandeRarachRaritaRasovnaRastrRatolestRazanceRazidloReagovatReakceReceptRedaktorReferentReflexRejnokReklamaRekordRekrutRektorReputaceRevizeRevmaRevolverRezervaRiskovatRizikoRobotikaRodokmenRohovkaRokleRokokoRomanetoRopovodRopuchaRorejsRosolRostlinaRotmistrRotopedRotundaRoubenkaRouchoRoupRouraRovinaRovniceRozborRozchodRozdatRozeznatRozhodceRozinkaRozjezdRozkazRozlohaRozmarRozpadRozruchRozsahRoztokRozumRozvodRubrikaRuchadloRukaviceRukopisRybaRybolovRychlostRydloRypadloRytinaRyzostSadistaSahatSakoSamecSamizdatSamotaSanitkaSardinkaSasankaSatelitSazbaSazeniceSborSchovatSebrankaSeceseSedadloSedimentSedloSehnatSejmoutSekeraSektaSekundaSekvojeSemenoSenoServisSesaditSeshoraSeskokSeslatSestraSesuvSesypatSetbaSetinaSetkatSetnoutSetrvatSeverSeznamShodaShrnoutSifonSilniceSirkaSirotekSirupSituaceSkafandrSkaliskoSkanzenSkautSkeptikSkicaSkladbaSkleniceSkloSkluzSkobaSkokanSkoroSkriptaSkrzSkupinaSkvostSkvrnaSlabikaSladidloSlaninaSlastSlavnostSledovatSlepecSlevaSlezinaSlibSlinaSlizniceSlonSloupekSlovoSluchSluhaSlunceSlupkaSlzaSmaragdSmetanaSmilstvoSmlouvaSmogSmradSmrkSmrtkaSmutekSmyslSnadSnahaSnobSobotaSochaSodovkaSokolSopkaSotvaSoubojSoucitSoudceSouhlasSouladSoumrakSoupravaSousedSoutokSouvisetSpalovnaSpasitelSpisSplavSpodekSpojenecSpoluSponzorSpornostSpoustaSprchaSpustitSrandaSrazSrdceSrnaSrnecSrovnatSrpenSrstSrubStaniceStarostaStatikaStavbaStehnoStezkaStodolaStolekStopaStornoStoupatStrachStresStrhnoutStromStrunaStudnaStupniceStvolStykSubjektSubtropySucharSudostSuknoSundatSunoutSurikataSurovinaSvahSvalstvoSvetrSvatbaSvazekSvisleSvitekSvobodaSvodidloSvorkaSvrabSykavkaSykotSynekSynovecSypatSypkostSyrovostSyselSytostTabletkaTabuleTahounTajemnoTajfunTajgaTajitTajnostTaktikaTamhleTamponTancovatTanecTankerTapetaTaveninaTazatelTechnikaTehdyTekutinaTelefonTemnotaTendenceTenistaTenorTeplotaTepnaTeprveTerapieTermoskaTextilTichoTiskopisTitulekTkadlecTkaninaTlapkaTleskatTlukotTlupaTmelToaletaTopinkaTopolTorzoTouhaToulecTradiceTraktorTrampTrasaTraverzaTrefitTrestTrezorTrhavinaTrhlinaTrochuTrojiceTroskaTroubaTrpceTrpitelTrpkostTrubecTruchlitTruhliceTrusTrvatTudyTuhnoutTuhostTundraTuristaTurnajTuzemskoTvarohTvorbaTvrdostTvrzTygrTykevUbohostUbozeUbratUbrousekUbrusUbytovnaUchoUctivostUdivitUhraditUjednatUjistitUjmoutUkazatelUklidnitUklonitUkotvitUkrojitUliceUlitaUlovitUmyvadloUnavitUniformaUniknoutUpadnoutUplatnitUplynoutUpoutatUpravitUranUrazitUsednoutUsilovatUsmrtitUsnadnitUsnoutUsouditUstlatUstrnoutUtahovatUtkatUtlumitUtonoutUtopenecUtrousitUvalitUvolnitUvozovkaUzdravitUzelUzeninaUzlinaUznatVagonValchaValounVanaVandalVanilkaVaranVarhanyVarovatVcelkuVchodVdovaVedroVegetaceVejceVelbloudVeletrhVelitelVelmocVelrybaVenkovVerandaVerzeVeselkaVeskrzeVesniceVespoduVestaVeterinaVeverkaVibraceVichrVideohraVidinaVidleVilaViniceVisetVitalitaVizeVizitkaVjezdVkladVkusVlajkaVlakVlasecVlevoVlhkostVlivVlnovkaVloupatVnucovatVnukVodaVodivostVodoznakVodstvoVojenskyVojnaVojskoVolantVolbaVolitVolnoVoskovkaVozidloVozovnaVpravoVrabecVracetVrahVrataVrbaVrcholekVrhatVrstvaVrtuleVsaditVstoupitVstupVtipVybavitVybratVychovatVydatVydraVyfotitVyhledatVyhnoutVyhoditVyhraditVyhubitVyjasnitVyjetVyjmoutVyklopitVykonatVylekatVymazatVymezitVymizetVymysletVynechatVynikatVynutitVypadatVyplatitVypravitVypustitVyrazitVyrovnatVyrvatVyslovitVysokoVystavitVysunoutVysypatVytasitVytesatVytratitVyvinoutVyvolatVyvrhelVyzdobitVyznatVzaduVzbuditVzchopitVzdorVzduchVzdychatVzestupVzhledemVzkazVzlykatVznikVzorekVzpouraVztahVztekXylofonZabratZabydletZachovatZadarmoZadusitZafoukatZahltitZahoditZahradaZahynoutZajatecZajetZajistitZaklepatZakoupitZalepitZamezitZamotatZamysletZanechatZanikatZaplatitZapojitZapsatZarazitZastavitZasunoutZatajitZatemnitZatknoutZaujmoutZavalitZaveletZavinitZavolatZavrtatZazvonitZbavitZbrusuZbudovatZbytekZdalekaZdarmaZdatnostZdivoZdobitZdrojZdvihZdymadloZeleninaZemanZeminaZeptatZezaduZezdolaZhatitZhltnoutZhlubokaZhotovitZhrubaZimaZimniceZjemnitZklamatZkoumatZkratkaZkumavkaZlatoZlehkaZlobaZlomZlostZlozvykZmapovatZmarZmatekZmijeZmizetZmocnitZmodratZmrzlinaZmutovatZnakZnalostZnamenatZnovuZobrazitZotavitZoubekZoufaleZploditZpomalitZpravaZprostitZprudkaZprvuZradaZranitZrcadloZrnitostZrnoZrovnaZrychlitZrzavostZtichaZtratitZubovinaZubrZvednoutZvenkuZveselaZvonZvratZvukovodZvyk",Fk=null;function NBe(t){if(Fk==null&&(Fk=b$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Ure.Wordlist.check(t)!=="0x25f44555f4af25b51a711136e1c7d6e50ce9f8917d39d6b1f076b2bb4d2fac1a"))throw Fk=null,new Error("BIP39 Wordlist for en (English) FAILED")}var m$0=function(t){h$0(e,t);function e(){return t.call(this,"cz")||this}return e.prototype.getWord=function(n){return NBe(this),Fk[n]},e.prototype.getWordIndex=function(n){return NBe(this),Fk.indexOf(n)},e}(Ure.Wordlist),OBe=new m$0;uT.langCz=OBe;Ure.Wordlist.register(OBe)});var WBe=D(pT=>{"use strict";u();p();var y$0=pT&&pT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(pT,"__esModule",{value:!0});pT.langEn=void 0;var Hre=L2(),g$0="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo",Nk=null;function HBe(t){if(Nk==null&&(Nk=g$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Hre.Wordlist.check(t)!=="0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"))throw Nk=null,new Error("BIP39 Wordlist for en (English) FAILED")}var v$0=function(t){y$0(e,t);function e(){return t.call(this,"en")||this}return e.prototype.getWord=function(n){return HBe(this),Nk[n]},e.prototype.getWordIndex=function(n){return HBe(this),Nk.indexOf(n)},e}(Hre.Wordlist),zBe=new v$0;pT.langEn=zBe;Hre.Wordlist.register(zBe)});var QBe=D(hT=>{"use strict";u();p();var w$0=hT&&hT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(hT,"__esModule",{value:!0});hT.langEs=void 0;var oH=_i(),cH=L2(),T$0="A/bacoAbdomenAbejaAbiertoAbogadoAbonoAbortoAbrazoAbrirAbueloAbusoAcabarAcademiaAccesoAccio/nAceiteAcelgaAcentoAceptarA/cidoAclararAcne/AcogerAcosoActivoActoActrizActuarAcudirAcuerdoAcusarAdictoAdmitirAdoptarAdornoAduanaAdultoAe/reoAfectarAficio/nAfinarAfirmarA/gilAgitarAgoni/aAgostoAgotarAgregarAgrioAguaAgudoA/guilaAgujaAhogoAhorroAireAislarAjedrezAjenoAjusteAlacra/nAlambreAlarmaAlbaA/lbumAlcaldeAldeaAlegreAlejarAlertaAletaAlfilerAlgaAlgodo/nAliadoAlientoAlivioAlmaAlmejaAlmi/barAltarAltezaAltivoAltoAlturaAlumnoAlzarAmableAmanteAmapolaAmargoAmasarA/mbarA/mbitoAmenoAmigoAmistadAmorAmparoAmplioAnchoAncianoAnclaAndarAnde/nAnemiaA/nguloAnilloA/nimoAni/sAnotarAntenaAntiguoAntojoAnualAnularAnuncioA~adirA~ejoA~oApagarAparatoApetitoApioAplicarApodoAporteApoyoAprenderAprobarApuestaApuroAradoAra~aArarA/rbitroA/rbolArbustoArchivoArcoArderArdillaArduoA/reaA/ridoAriesArmoni/aArne/sAromaArpaArpo/nArregloArrozArrugaArteArtistaAsaAsadoAsaltoAscensoAsegurarAseoAsesorAsientoAsiloAsistirAsnoAsombroA/speroAstillaAstroAstutoAsumirAsuntoAtajoAtaqueAtarAtentoAteoA/ticoAtletaA/tomoAtraerAtrozAtu/nAudazAudioAugeAulaAumentoAusenteAutorAvalAvanceAvaroAveAvellanaAvenaAvestruzAvio/nAvisoAyerAyudaAyunoAzafra/nAzarAzoteAzu/carAzufreAzulBabaBaborBacheBahi/aBaileBajarBalanzaBalco/nBaldeBambu/BancoBandaBa~oBarbaBarcoBarnizBarroBa/sculaBasto/nBasuraBatallaBateri/aBatirBatutaBau/lBazarBebe/BebidaBelloBesarBesoBestiaBichoBienBingoBlancoBloqueBlusaBoaBobinaBoboBocaBocinaBodaBodegaBoinaBolaBoleroBolsaBombaBondadBonitoBonoBonsa/iBordeBorrarBosqueBoteBoti/nBo/vedaBozalBravoBrazoBrechaBreveBrilloBrincoBrisaBrocaBromaBronceBroteBrujaBruscoBrutoBuceoBucleBuenoBueyBufandaBufo/nBu/hoBuitreBultoBurbujaBurlaBurroBuscarButacaBuzo/nCaballoCabezaCabinaCabraCacaoCada/verCadenaCaerCafe/Cai/daCaima/nCajaCajo/nCalCalamarCalcioCaldoCalidadCalleCalmaCalorCalvoCamaCambioCamelloCaminoCampoCa/ncerCandilCanelaCanguroCanicaCantoCa~aCa~o/nCaobaCaosCapazCapita/nCapoteCaptarCapuchaCaraCarbo/nCa/rcelCaretaCargaCari~oCarneCarpetaCarroCartaCasaCascoCaseroCaspaCastorCatorceCatreCaudalCausaCazoCebollaCederCedroCeldaCe/lebreCelosoCe/lulaCementoCenizaCentroCercaCerdoCerezaCeroCerrarCertezaCe/spedCetroChacalChalecoChampu/ChanclaChapaCharlaChicoChisteChivoChoqueChozaChuletaChuparCiclo/nCiegoCieloCienCiertoCifraCigarroCimaCincoCineCintaCipre/sCircoCiruelaCisneCitaCiudadClamorClanClaroClaseClaveClienteClimaCli/nicaCobreCoccio/nCochinoCocinaCocoCo/digoCodoCofreCogerCoheteCoji/nCojoColaColchaColegioColgarColinaCollarColmoColumnaCombateComerComidaCo/modoCompraCondeConejoCongaConocerConsejoContarCopaCopiaCorazo/nCorbataCorchoCordo/nCoronaCorrerCoserCosmosCostaCra/neoCra/terCrearCrecerCrei/doCremaCri/aCrimenCriptaCrisisCromoCro/nicaCroquetaCrudoCruzCuadroCuartoCuatroCuboCubrirCucharaCuelloCuentoCuerdaCuestaCuevaCuidarCulebraCulpaCultoCumbreCumplirCunaCunetaCuotaCupo/nCu/pulaCurarCuriosoCursoCurvaCutisDamaDanzaDarDardoDa/tilDeberDe/bilDe/cadaDecirDedoDefensaDefinirDejarDelfi/nDelgadoDelitoDemoraDensoDentalDeporteDerechoDerrotaDesayunoDeseoDesfileDesnudoDestinoDesvi/oDetalleDetenerDeudaDi/aDiabloDiademaDiamanteDianaDiarioDibujoDictarDienteDietaDiezDifi/cilDignoDilemaDiluirDineroDirectoDirigirDiscoDise~oDisfrazDivaDivinoDobleDoceDolorDomingoDonDonarDoradoDormirDorsoDosDosisDrago/nDrogaDuchaDudaDueloDue~oDulceDu/oDuqueDurarDurezaDuroE/banoEbrioEcharEcoEcuadorEdadEdicio/nEdificioEditorEducarEfectoEficazEjeEjemploElefanteElegirElementoElevarElipseE/liteElixirElogioEludirEmbudoEmitirEmocio/nEmpateEmpe~oEmpleoEmpresaEnanoEncargoEnchufeEnci/aEnemigoEneroEnfadoEnfermoEnga~oEnigmaEnlaceEnormeEnredoEnsayoEnse~arEnteroEntrarEnvaseEnvi/oE/pocaEquipoErizoEscalaEscenaEscolarEscribirEscudoEsenciaEsferaEsfuerzoEspadaEspejoEspi/aEsposaEspumaEsqui/EstarEsteEstiloEstufaEtapaEternoE/ticaEtniaEvadirEvaluarEventoEvitarExactoExamenExcesoExcusaExentoExigirExilioExistirE/xitoExpertoExplicarExponerExtremoFa/bricaFa/bulaFachadaFa/cilFactorFaenaFajaFaldaFalloFalsoFaltarFamaFamiliaFamosoFarao/nFarmaciaFarolFarsaFaseFatigaFaunaFavorFaxFebreroFechaFelizFeoFeriaFerozFe/rtilFervorFesti/nFiableFianzaFiarFibraFiccio/nFichaFideoFiebreFielFieraFiestaFiguraFijarFijoFilaFileteFilialFiltroFinFincaFingirFinitoFirmaFlacoFlautaFlechaFlorFlotaFluirFlujoFlu/orFobiaFocaFogataFogo/nFolioFolletoFondoFormaForroFortunaForzarFosaFotoFracasoFra/gilFranjaFraseFraudeFrei/rFrenoFresaFri/oFritoFrutaFuegoFuenteFuerzaFugaFumarFuncio/nFundaFurgo/nFuriaFusilFu/tbolFuturoGacelaGafasGaitaGajoGalaGaleri/aGalloGambaGanarGanchoGangaGansoGarajeGarzaGasolinaGastarGatoGavila/nGemeloGemirGenGe/neroGenioGenteGeranioGerenteGermenGestoGiganteGimnasioGirarGiroGlaciarGloboGloriaGolGolfoGolosoGolpeGomaGordoGorilaGorraGotaGoteoGozarGradaGra/ficoGranoGrasaGratisGraveGrietaGrilloGripeGrisGritoGrosorGru/aGruesoGrumoGrupoGuanteGuapoGuardiaGuerraGui/aGui~oGuionGuisoGuitarraGusanoGustarHaberHa/bilHablarHacerHachaHadaHallarHamacaHarinaHazHaza~aHebillaHebraHechoHeladoHelioHembraHerirHermanoHe/roeHervirHieloHierroHi/gadoHigieneHijoHimnoHistoriaHocicoHogarHogueraHojaHombreHongoHonorHonraHoraHormigaHornoHostilHoyoHuecoHuelgaHuertaHuesoHuevoHuidaHuirHumanoHu/medoHumildeHumoHundirHuraca/nHurtoIconoIdealIdiomaI/doloIglesiaIglu/IgualIlegalIlusio/nImagenIma/nImitarImparImperioImponerImpulsoIncapazI/ndiceInerteInfielInformeIngenioInicioInmensoInmuneInnatoInsectoInstanteIntere/sI/ntimoIntuirInu/tilInviernoIraIrisIroni/aIslaIsloteJabali/Jabo/nJamo/nJarabeJardi/nJarraJaulaJazmi/nJefeJeringaJineteJornadaJorobaJovenJoyaJuergaJuevesJuezJugadorJugoJugueteJuicioJuncoJunglaJunioJuntarJu/piterJurarJustoJuvenilJuzgarKiloKoalaLabioLacioLacraLadoLadro/nLagartoLa/grimaLagunaLaicoLamerLa/minaLa/mparaLanaLanchaLangostaLanzaLa/pizLargoLarvaLa/stimaLataLa/texLatirLaurelLavarLazoLealLeccio/nLecheLectorLeerLegio/nLegumbreLejanoLenguaLentoLe~aLeo/nLeopardoLesio/nLetalLetraLeveLeyendaLibertadLibroLicorLi/derLidiarLienzoLigaLigeroLimaLi/miteLimo/nLimpioLinceLindoLi/neaLingoteLinoLinternaLi/quidoLisoListaLiteraLitioLitroLlagaLlamaLlantoLlaveLlegarLlenarLlevarLlorarLloverLluviaLoboLocio/nLocoLocuraLo/gicaLogroLombrizLomoLonjaLoteLuchaLucirLugarLujoLunaLunesLupaLustroLutoLuzMacetaMachoMaderaMadreMaduroMaestroMafiaMagiaMagoMai/zMaldadMaletaMallaMaloMama/MamboMamutMancoMandoManejarMangaManiqui/ManjarManoMansoMantaMa~anaMapaMa/quinaMarMarcoMareaMarfilMargenMaridoMa/rmolMarro/nMartesMarzoMasaMa/scaraMasivoMatarMateriaMatizMatrizMa/ximoMayorMazorcaMechaMedallaMedioMe/dulaMejillaMejorMelenaMelo/nMemoriaMenorMensajeMenteMenu/MercadoMerengueMe/ritoMesMeso/nMetaMeterMe/todoMetroMezclaMiedoMielMiembroMigaMilMilagroMilitarMillo/nMimoMinaMineroMi/nimoMinutoMiopeMirarMisaMiseriaMisilMismoMitadMitoMochilaMocio/nModaModeloMohoMojarMoldeMolerMolinoMomentoMomiaMonarcaMonedaMonjaMontoMo~oMoradaMorderMorenoMorirMorroMorsaMortalMoscaMostrarMotivoMoverMo/vilMozoMuchoMudarMuebleMuelaMuerteMuestraMugreMujerMulaMuletaMultaMundoMu~ecaMuralMuroMu/sculoMuseoMusgoMu/sicaMusloNa/carNacio/nNadarNaipeNaranjaNarizNarrarNasalNatalNativoNaturalNa/useaNavalNaveNavidadNecioNe/ctarNegarNegocioNegroNeo/nNervioNetoNeutroNevarNeveraNichoNidoNieblaNietoNi~ezNi~oNi/tidoNivelNoblezaNocheNo/minaNoriaNormaNorteNotaNoticiaNovatoNovelaNovioNubeNucaNu/cleoNudilloNudoNueraNueveNuezNuloNu/meroNutriaOasisObesoObispoObjetoObraObreroObservarObtenerObvioOcaOcasoOce/anoOchentaOchoOcioOcreOctavoOctubreOcultoOcuparOcurrirOdiarOdioOdiseaOesteOfensaOfertaOficioOfrecerOgroOi/doOi/rOjoOlaOleadaOlfatoOlivoOllaOlmoOlorOlvidoOmbligoOndaOnzaOpacoOpcio/nO/peraOpinarOponerOptarO/pticaOpuestoOracio/nOradorOralO/rbitaOrcaOrdenOrejaO/rganoOrgi/aOrgulloOrienteOrigenOrillaOroOrquestaOrugaOsadi/aOscuroOseznoOsoOstraOto~oOtroOvejaO/vuloO/xidoOxi/genoOyenteOzonoPactoPadrePaellaPa/ginaPagoPai/sPa/jaroPalabraPalcoPaletaPa/lidoPalmaPalomaPalparPanPanalPa/nicoPanteraPa~ueloPapa/PapelPapillaPaquetePararParcelaParedParirParoPa/rpadoParquePa/rrafoPartePasarPaseoPasio/nPasoPastaPataPatioPatriaPausaPautaPavoPayasoPeato/nPecadoPeceraPechoPedalPedirPegarPeinePelarPelda~oPeleaPeligroPellejoPeloPelucaPenaPensarPe~o/nPeo/nPeorPepinoPeque~oPeraPerchaPerderPerezaPerfilPericoPerlaPermisoPerroPersonaPesaPescaPe/simoPesta~aPe/taloPetro/leoPezPezu~aPicarPicho/nPiePiedraPiernaPiezaPijamaPilarPilotoPimientaPinoPintorPinzaPi~aPiojoPipaPirataPisarPiscinaPisoPistaPito/nPizcaPlacaPlanPlataPlayaPlazaPleitoPlenoPlomoPlumaPluralPobrePocoPoderPodioPoemaPoesi/aPoetaPolenPolici/aPolloPolvoPomadaPomeloPomoPompaPonerPorcio/nPortalPosadaPoseerPosiblePostePotenciaPotroPozoPradoPrecozPreguntaPremioPrensaPresoPrevioPrimoPri/ncipePrisio/nPrivarProaProbarProcesoProductoProezaProfesorProgramaProlePromesaProntoPropioPro/ximoPruebaPu/blicoPucheroPudorPuebloPuertaPuestoPulgaPulirPulmo/nPulpoPulsoPumaPuntoPu~alPu~oPupaPupilaPure/QuedarQuejaQuemarQuererQuesoQuietoQui/micaQuinceQuitarRa/banoRabiaRaboRacio/nRadicalRai/zRamaRampaRanchoRangoRapazRa/pidoRaptoRasgoRaspaRatoRayoRazaRazo/nReaccio/nRealidadReba~oReboteRecaerRecetaRechazoRecogerRecreoRectoRecursoRedRedondoReducirReflejoReformaRefra/nRefugioRegaloRegirReglaRegresoRehe/nReinoRei/rRejaRelatoRelevoRelieveRellenoRelojRemarRemedioRemoRencorRendirRentaRepartoRepetirReposoReptilResRescateResinaRespetoRestoResumenRetiroRetornoRetratoReunirReve/sRevistaReyRezarRicoRiegoRiendaRiesgoRifaRi/gidoRigorRinco/nRi~o/nRi/oRiquezaRisaRitmoRitoRizoRobleRoceRociarRodarRodeoRodillaRoerRojizoRojoRomeroRomperRonRoncoRondaRopaRoperoRosaRoscaRostroRotarRubi/RuborRudoRuedaRugirRuidoRuinaRuletaRuloRumboRumorRupturaRutaRutinaSa/badoSaberSabioSableSacarSagazSagradoSalaSaldoSaleroSalirSalmo/nSalo/nSalsaSaltoSaludSalvarSambaSancio/nSandi/aSanearSangreSanidadSanoSantoSapoSaqueSardinaSarte/nSastreSata/nSaunaSaxofo/nSeccio/nSecoSecretoSectaSedSeguirSeisSelloSelvaSemanaSemillaSendaSensorSe~alSe~orSepararSepiaSequi/aSerSerieSermo/nServirSesentaSesio/nSetaSetentaSeveroSexoSextoSidraSiestaSieteSigloSignoSi/labaSilbarSilencioSillaSi/mboloSimioSirenaSistemaSitioSituarSobreSocioSodioSolSolapaSoldadoSoledadSo/lidoSoltarSolucio/nSombraSondeoSonidoSonoroSonrisaSopaSoplarSoporteSordoSorpresaSorteoSoste/nSo/tanoSuaveSubirSucesoSudorSuegraSueloSue~oSuerteSufrirSujetoSulta/nSumarSuperarSuplirSuponerSupremoSurSurcoSure~oSurgirSustoSutilTabacoTabiqueTablaTabu/TacoTactoTajoTalarTalcoTalentoTallaTalo/nTama~oTamborTangoTanqueTapaTapeteTapiaTapo/nTaquillaTardeTareaTarifaTarjetaTarotTarroTartaTatuajeTauroTazaTazo/nTeatroTechoTeclaTe/cnicaTejadoTejerTejidoTelaTele/fonoTemaTemorTemploTenazTenderTenerTenisTensoTeori/aTerapiaTercoTe/rminoTernuraTerrorTesisTesoroTestigoTeteraTextoTezTibioTiburo/nTiempoTiendaTierraTiesoTigreTijeraTildeTimbreTi/midoTimoTintaTi/oTi/picoTipoTiraTiro/nTita/nTi/tereTi/tuloTizaToallaTobilloTocarTocinoTodoTogaToldoTomarTonoTontoToparTopeToqueTo/raxToreroTormentaTorneoToroTorpedoTorreTorsoTortugaTosToscoToserTo/xicoTrabajoTractorTraerTra/ficoTragoTrajeTramoTranceTratoTraumaTrazarTre/bolTreguaTreintaTrenTreparTresTribuTrigoTripaTristeTriunfoTrofeoTrompaTroncoTropaTroteTrozoTrucoTruenoTrufaTuberi/aTuboTuertoTumbaTumorTu/nelTu/nicaTurbinaTurismoTurnoTutorUbicarU/lceraUmbralUnidadUnirUniversoUnoUntarU~aUrbanoUrbeUrgenteUrnaUsarUsuarioU/tilUtopi/aUvaVacaVaci/oVacunaVagarVagoVainaVajillaValeVa/lidoValleValorVa/lvulaVampiroVaraVariarVaro/nVasoVecinoVectorVehi/culoVeinteVejezVelaVeleroVelozVenaVencerVendaVenenoVengarVenirVentaVenusVerVeranoVerboVerdeVeredaVerjaVersoVerterVi/aViajeVibrarVicioVi/ctimaVidaVi/deoVidrioViejoViernesVigorVilVillaVinagreVinoVi~edoVioli/nViralVirgoVirtudVisorVi/speraVistaVitaminaViudoVivazViveroVivirVivoVolca/nVolumenVolverVorazVotarVotoVozVueloVulgarYacerYateYeguaYemaYernoYesoYodoYogaYogurZafiroZanjaZapatoZarzaZonaZorroZumoZurdo",jBe={},Ok=null;function GBe(t){return cH.logger.checkNormalize(),(0,oH.toUtf8String)(Array.prototype.filter.call((0,oH.toUtf8Bytes)(t.normalize("NFD").toLowerCase()),function(e){return e>=65&&e<=90||e>=97&&e<=123}))}function x$0(t){var e=[];return Array.prototype.forEach.call((0,oH.toUtf8Bytes)(t),function(n){n===47?(e.push(204),e.push(129)):n===126?(e.push(110),e.push(204),e.push(131)):e.push(n)}),(0,oH.toUtf8String)(e)}function qBe(t){if(Ok==null&&(Ok=T$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map(function(e){return x$0(e)}),Ok.forEach(function(e,n){jBe[GBe(e)]=n}),cH.Wordlist.check(t)!=="0xf74fb7092aeacdfbf8959557de22098da512207fb9f109cb526994938cf40300"))throw Ok=null,new Error("BIP39 Wordlist for es (Spanish) FAILED")}var E$0=function(t){w$0(e,t);function e(){return t.call(this,"es")||this}return e.prototype.getWord=function(n){return qBe(this),Ok[n]},e.prototype.getWordIndex=function(n){return qBe(this),jBe[GBe(n)]},e}(cH.Wordlist),KBe=new E$0;hT.langEs=KBe;cH.Wordlist.register(KBe)});var XBe=D(bT=>{"use strict";u();p();var _$0=bT&&bT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(bT,"__esModule",{value:!0});bT.langFr=void 0;var dH=_i(),lH=L2(),A$0="AbaisserAbandonAbdiquerAbeilleAbolirAborderAboutirAboyerAbrasifAbreuverAbriterAbrogerAbruptAbsenceAbsoluAbsurdeAbusifAbyssalAcade/mieAcajouAcarienAccablerAccepterAcclamerAccoladeAccrocheAccuserAcerbeAchatAcheterAcidulerAcierAcompteAcque/rirAcronymeActeurActifActuelAdepteAde/quatAdhe/sifAdjectifAdjugerAdmettreAdmirerAdopterAdorerAdoucirAdresseAdroitAdulteAdverbeAe/rerAe/ronefAffaireAffecterAfficheAffreuxAffublerAgacerAgencerAgileAgiterAgraferAgre/ableAgrumeAiderAiguilleAilierAimableAisanceAjouterAjusterAlarmerAlchimieAlerteAlge-breAlgueAlie/nerAlimentAlle/gerAlliageAllouerAllumerAlourdirAlpagaAltesseAlve/oleAmateurAmbiguAmbreAme/nagerAmertumeAmidonAmiralAmorcerAmourAmovibleAmphibieAmpleurAmusantAnalyseAnaphoreAnarchieAnatomieAncienAne/antirAngleAngoisseAnguleuxAnimalAnnexerAnnonceAnnuelAnodinAnomalieAnonymeAnormalAntenneAntidoteAnxieuxApaiserApe/ritifAplanirApologieAppareilAppelerApporterAppuyerAquariumAqueducArbitreArbusteArdeurArdoiseArgentArlequinArmatureArmementArmoireArmureArpenterArracherArriverArroserArsenicArte/rielArticleAspectAsphalteAspirerAssautAsservirAssietteAssocierAssurerAsticotAstreAstuceAtelierAtomeAtriumAtroceAttaqueAttentifAttirerAttraperAubaineAubergeAudaceAudibleAugurerAuroreAutomneAutrucheAvalerAvancerAvariceAvenirAverseAveugleAviateurAvideAvionAviserAvoineAvouerAvrilAxialAxiomeBadgeBafouerBagageBaguetteBaignadeBalancerBalconBaleineBalisageBambinBancaireBandageBanlieueBannie-reBanquierBarbierBarilBaronBarqueBarrageBassinBastionBatailleBateauBatterieBaudrierBavarderBeletteBe/lierBeloteBe/ne/ficeBerceauBergerBerlineBermudaBesaceBesogneBe/tailBeurreBiberonBicycleBiduleBijouBilanBilingueBillardBinaireBiologieBiopsieBiotypeBiscuitBisonBistouriBitumeBizarreBlafardBlagueBlanchirBlessantBlinderBlondBloquerBlousonBobardBobineBoireBoiserBolideBonbonBondirBonheurBonifierBonusBordureBorneBotteBoucleBoueuxBougieBoulonBouquinBourseBoussoleBoutiqueBoxeurBrancheBrasierBraveBrebisBre-cheBreuvageBricolerBrigadeBrillantBriocheBriqueBrochureBroderBronzerBrousseBroyeurBrumeBrusqueBrutalBruyantBuffleBuissonBulletinBureauBurinBustierButinerButoirBuvableBuvetteCabanonCabineCachetteCadeauCadreCafe/ineCaillouCaissonCalculerCalepinCalibreCalmerCalomnieCalvaireCamaradeCame/raCamionCampagneCanalCanetonCanonCantineCanularCapableCaporalCapriceCapsuleCapterCapucheCarabineCarboneCaresserCaribouCarnageCarotteCarreauCartonCascadeCasierCasqueCassureCauserCautionCavalierCaverneCaviarCe/dilleCeintureCe/lesteCelluleCendrierCensurerCentralCercleCe/re/bralCeriseCernerCerveauCesserChagrinChaiseChaleurChambreChanceChapitreCharbonChasseurChatonChaussonChavirerChemiseChenilleChe/quierChercherChevalChienChiffreChignonChime-reChiotChlorureChocolatChoisirChoseChouetteChromeChuteCigareCigogneCimenterCine/maCintrerCirculerCirerCirqueCiterneCitoyenCitronCivilClaironClameurClaquerClasseClavierClientClignerClimatClivageClocheClonageCloporteCobaltCobraCocasseCocotierCoderCodifierCoffreCognerCohe/sionCoifferCoincerCole-reColibriCollineColmaterColonelCombatCome/dieCommandeCompactConcertConduireConfierCongelerConnoterConsonneContactConvexeCopainCopieCorailCorbeauCordageCornicheCorpusCorrectCorte-geCosmiqueCostumeCotonCoudeCoupureCourageCouteauCouvrirCoyoteCrabeCrainteCravateCrayonCre/atureCre/diterCre/meuxCreuserCrevetteCriblerCrierCristalCrite-reCroireCroquerCrotaleCrucialCruelCrypterCubiqueCueillirCuille-reCuisineCuivreCulminerCultiverCumulerCupideCuratifCurseurCyanureCycleCylindreCyniqueDaignerDamierDangerDanseurDauphinDe/battreDe/biterDe/borderDe/briderDe/butantDe/calerDe/cembreDe/chirerDe/ciderDe/clarerDe/corerDe/crireDe/cuplerDe/daleDe/ductifDe/esseDe/fensifDe/filerDe/frayerDe/gagerDe/givrerDe/glutirDe/graferDe/jeunerDe/liceDe/logerDemanderDemeurerDe/molirDe/nicherDe/nouerDentelleDe/nuderDe/partDe/penserDe/phaserDe/placerDe/poserDe/rangerDe/roberDe/sastreDescenteDe/sertDe/signerDe/sobe/irDessinerDestrierDe/tacherDe/testerDe/tourerDe/tresseDevancerDevenirDevinerDevoirDiableDialogueDiamantDicterDiffe/rerDige/rerDigitalDigneDiluerDimancheDiminuerDioxydeDirectifDirigerDiscuterDisposerDissiperDistanceDivertirDiviserDocileDocteurDogmeDoigtDomaineDomicileDompterDonateurDonjonDonnerDopamineDortoirDorureDosageDoseurDossierDotationDouanierDoubleDouceurDouterDoyenDragonDraperDresserDribblerDroitureDuperieDuplexeDurableDurcirDynastieE/blouirE/carterE/charpeE/chelleE/clairerE/clipseE/cloreE/cluseE/coleE/conomieE/corceE/couterE/craserE/cre/merE/crivainE/crouE/cumeE/cureuilE/difierE/duquerEffacerEffectifEffigieEffortEffrayerEffusionE/galiserE/garerE/jecterE/laborerE/largirE/lectronE/le/gantE/le/phantE/le-veE/ligibleE/litismeE/logeE/luciderE/luderEmballerEmbellirEmbryonE/meraudeE/missionEmmenerE/motionE/mouvoirEmpereurEmployerEmporterEmpriseE/mulsionEncadrerEnche-reEnclaveEncocheEndiguerEndosserEndroitEnduireE/nergieEnfanceEnfermerEnfouirEngagerEnginEngloberE/nigmeEnjamberEnjeuEnleverEnnemiEnnuyeuxEnrichirEnrobageEnseigneEntasserEntendreEntierEntourerEntraverE/nume/rerEnvahirEnviableEnvoyerEnzymeE/olienE/paissirE/pargneE/patantE/pauleE/picerieE/pide/mieE/pierE/pilogueE/pineE/pisodeE/pitapheE/poqueE/preuveE/prouverE/puisantE/querreE/quipeE/rigerE/rosionErreurE/ruptionEscalierEspadonEspe-ceEspie-gleEspoirEspritEsquiverEssayerEssenceEssieuEssorerEstimeEstomacEstradeE/tage-reE/talerE/tancheE/tatiqueE/teindreE/tendoirE/ternelE/thanolE/thiqueEthnieE/tirerE/tofferE/toileE/tonnantE/tourdirE/trangeE/troitE/tudeEuphorieE/valuerE/vasionE/ventailE/videnceE/viterE/volutifE/voquerExactExage/rerExaucerExcellerExcitantExclusifExcuseExe/cuterExempleExercerExhalerExhorterExigenceExilerExisterExotiqueExpe/dierExplorerExposerExprimerExquisExtensifExtraireExulterFableFabuleuxFacetteFacileFactureFaiblirFalaiseFameuxFamilleFarceurFarfeluFarineFaroucheFascinerFatalFatigueFauconFautifFaveurFavoriFe/brileFe/conderFe/de/rerFe/linFemmeFe/murFendoirFe/odalFermerFe/roceFerveurFestivalFeuilleFeutreFe/vrierFiascoFicelerFictifFide-leFigureFilatureFiletageFilie-reFilleulFilmerFilouFiltrerFinancerFinirFioleFirmeFissureFixerFlairerFlammeFlasqueFlatteurFle/auFle-cheFleurFlexionFloconFloreFluctuerFluideFluvialFolieFonderieFongibleFontaineForcerForgeronFormulerFortuneFossileFoudreFouge-reFouillerFoulureFourmiFragileFraiseFranchirFrapperFrayeurFre/gateFreinerFrelonFre/mirFre/ne/sieFre-reFriableFrictionFrissonFrivoleFroidFromageFrontalFrotterFruitFugitifFuiteFureurFurieuxFurtifFusionFuturGagnerGalaxieGalerieGambaderGarantirGardienGarnirGarrigueGazelleGazonGe/antGe/latineGe/luleGendarmeGe/ne/ralGe/nieGenouGentilGe/ologieGe/ome-treGe/raniumGermeGestuelGeyserGibierGiclerGirafeGivreGlaceGlaiveGlisserGlobeGloireGlorieuxGolfeurGommeGonflerGorgeGorilleGoudronGouffreGoulotGoupilleGourmandGoutteGraduelGraffitiGraineGrandGrappinGratuitGravirGrenatGriffureGrillerGrimperGrognerGronderGrotteGroupeGrugerGrutierGruye-reGue/pardGuerrierGuideGuimauveGuitareGustatifGymnasteGyrostatHabitudeHachoirHalteHameauHangarHannetonHaricotHarmonieHarponHasardHe/liumHe/matomeHerbeHe/rissonHermineHe/ronHe/siterHeureuxHibernerHibouHilarantHistoireHiverHomardHommageHomoge-neHonneurHonorerHonteuxHordeHorizonHorlogeHormoneHorribleHouleuxHousseHublotHuileuxHumainHumbleHumideHumourHurlerHydromelHygie-neHymneHypnoseIdylleIgnorerIguaneIlliciteIllusionImageImbiberImiterImmenseImmobileImmuableImpactImpe/rialImplorerImposerImprimerImputerIncarnerIncendieIncidentInclinerIncoloreIndexerIndiceInductifIne/ditIneptieInexactInfiniInfligerInformerInfusionInge/rerInhalerInhiberInjecterInjureInnocentInoculerInonderInscrireInsecteInsigneInsoliteInspirerInstinctInsulterIntactIntenseIntimeIntrigueIntuitifInutileInvasionInventerInviterInvoquerIroniqueIrradierIrre/elIrriterIsolerIvoireIvresseJaguarJaillirJambeJanvierJardinJaugerJauneJavelotJetableJetonJeudiJeunesseJoindreJoncherJonglerJoueurJouissifJournalJovialJoyauJoyeuxJubilerJugementJuniorJuponJuristeJusticeJuteuxJuve/nileKayakKimonoKiosqueLabelLabialLabourerLace/rerLactoseLaguneLaineLaisserLaitierLambeauLamelleLampeLanceurLangageLanterneLapinLargeurLarmeLaurierLavaboLavoirLectureLe/galLe/gerLe/gumeLessiveLettreLevierLexiqueLe/zardLiasseLibe/rerLibreLicenceLicorneLie-geLie-vreLigatureLigoterLigueLimerLimiteLimonadeLimpideLine/aireLingotLionceauLiquideLisie-reListerLithiumLitigeLittoralLivreurLogiqueLointainLoisirLombricLoterieLouerLourdLoutreLouveLoyalLubieLucideLucratifLueurLugubreLuisantLumie-reLunaireLundiLuronLutterLuxueuxMachineMagasinMagentaMagiqueMaigreMaillonMaintienMairieMaisonMajorerMalaxerMale/ficeMalheurMaliceMalletteMammouthMandaterManiableManquantManteauManuelMarathonMarbreMarchandMardiMaritimeMarqueurMarronMartelerMascotteMassifMate/rielMatie-reMatraqueMaudireMaussadeMauveMaximalMe/chantMe/connuMe/dailleMe/decinMe/diterMe/duseMeilleurMe/langeMe/lodieMembreMe/moireMenacerMenerMenhirMensongeMentorMercrediMe/riteMerleMessagerMesureMe/talMe/te/oreMe/thodeMe/tierMeubleMiaulerMicrobeMietteMignonMigrerMilieuMillionMimiqueMinceMine/ralMinimalMinorerMinuteMiracleMiroiterMissileMixteMobileModerneMoelleuxMondialMoniteurMonnaieMonotoneMonstreMontagneMonumentMoqueurMorceauMorsureMortierMoteurMotifMoucheMoufleMoulinMoussonMoutonMouvantMultipleMunitionMurailleMure-neMurmureMuscleMuse/umMusicienMutationMuterMutuelMyriadeMyrtilleMyste-reMythiqueNageurNappeNarquoisNarrerNatationNationNatureNaufrageNautiqueNavireNe/buleuxNectarNe/fasteNe/gationNe/gligerNe/gocierNeigeNerveuxNettoyerNeuroneNeutronNeveuNicheNickelNitrateNiveauNobleNocifNocturneNoirceurNoisetteNomadeNombreuxNommerNormatifNotableNotifierNotoireNourrirNouveauNovateurNovembreNoviceNuageNuancerNuireNuisibleNume/roNuptialNuqueNutritifObe/irObjectifObligerObscurObserverObstacleObtenirObturerOccasionOccuperOce/anOctobreOctroyerOctuplerOculaireOdeurOdorantOffenserOfficierOffrirOgiveOiseauOisillonOlfactifOlivierOmbrageOmettreOnctueuxOndulerOne/reuxOniriqueOpaleOpaqueOpe/rerOpinionOpportunOpprimerOpterOptiqueOrageuxOrangeOrbiteOrdonnerOreilleOrganeOrgueilOrificeOrnementOrqueOrtieOscillerOsmoseOssatureOtarieOuraganOursonOutilOutragerOuvrageOvationOxydeOxyge-neOzonePaisiblePalacePalmare-sPalourdePalperPanachePandaPangolinPaniquerPanneauPanoramaPantalonPapayePapierPapoterPapyrusParadoxeParcelleParesseParfumerParlerParoleParrainParsemerPartagerParureParvenirPassionPaste-quePaternelPatiencePatronPavillonPavoiserPayerPaysagePeignePeintrePelagePe/licanPellePelousePeluchePendulePe/ne/trerPe/niblePensifPe/nuriePe/pitePe/plumPerdrixPerforerPe/riodePermuterPerplexePersilPertePeserPe/talePetitPe/trirPeuplePharaonPhobiePhoquePhotonPhrasePhysiquePianoPicturalPie-cePierrePieuvrePilotePinceauPipettePiquerPiroguePiscinePistonPivoterPixelPizzaPlacardPlafondPlaisirPlanerPlaquePlastronPlateauPleurerPlexusPliagePlombPlongerPluiePlumagePochettePoe/siePoe-tePointePoirierPoissonPoivrePolairePolicierPollenPolygonePommadePompierPonctuelPonde/rerPoneyPortiquePositionPosse/derPosturePotagerPoteauPotionPoucePoulainPoumonPourprePoussinPouvoirPrairiePratiquePre/cieuxPre/direPre/fixePre/ludePre/nomPre/sencePre/textePre/voirPrimitifPrincePrisonPriverProble-meProce/derProdigeProfondProgre-sProieProjeterProloguePromenerPropreProspe-reProte/gerProuesseProverbePrudencePruneauPsychosePublicPuceronPuiserPulpePulsarPunaisePunitifPupitrePurifierPuzzlePyramideQuasarQuerelleQuestionQuie/tudeQuitterQuotientRacineRaconterRadieuxRagondinRaideurRaisinRalentirRallongeRamasserRapideRasageRatisserRavagerRavinRayonnerRe/actifRe/agirRe/aliserRe/animerRecevoirRe/citerRe/clamerRe/colterRecruterReculerRecyclerRe/digerRedouterRefaireRe/flexeRe/formerRefrainRefugeRe/galienRe/gionRe/glageRe/gulierRe/ite/rerRejeterRejouerRelatifReleverReliefRemarqueReme-deRemiseRemonterRemplirRemuerRenardRenfortReniflerRenoncerRentrerRenvoiReplierReporterRepriseReptileRequinRe/serveRe/sineuxRe/soudreRespectResterRe/sultatRe/tablirRetenirRe/ticuleRetomberRetracerRe/unionRe/ussirRevancheRevivreRe/volteRe/vulsifRichesseRideauRieurRigideRigolerRincerRiposterRisibleRisqueRituelRivalRivie-reRocheuxRomanceRompreRonceRondinRoseauRosierRotatifRotorRotuleRougeRouilleRouleauRoutineRoyaumeRubanRubisRucheRuelleRugueuxRuinerRuisseauRuserRustiqueRythmeSablerSaboterSabreSacocheSafariSagesseSaisirSaladeSaliveSalonSaluerSamediSanctionSanglierSarcasmeSardineSaturerSaugrenuSaumonSauterSauvageSavantSavonnerScalpelScandaleSce/le/ratSce/narioSceptreSche/maScienceScinderScoreScrutinSculpterSe/anceSe/cableSe/cherSecouerSe/cre/terSe/datifSe/duireSeigneurSe/jourSe/lectifSemaineSemblerSemenceSe/minalSe/nateurSensibleSentenceSe/parerSe/quenceSereinSergentSe/rieuxSerrureSe/rumServiceSe/sameSe/virSevrageSextupleSide/ralSie-cleSie/gerSifflerSigleSignalSilenceSiliciumSimpleSince-reSinistreSiphonSiropSismiqueSituerSkierSocialSocleSodiumSoigneuxSoldatSoleilSolitudeSolubleSombreSommeilSomnolerSondeSongeurSonnetteSonoreSorcierSortirSosieSottiseSoucieuxSoudureSouffleSouleverSoupapeSourceSoutirerSouvenirSpacieuxSpatialSpe/cialSphe-reSpiralStableStationSternumStimulusStipulerStrictStudieuxStupeurStylisteSublimeSubstratSubtilSubvenirSucce-sSucreSuffixeSugge/rerSuiveurSulfateSuperbeSupplierSurfaceSuricateSurmenerSurpriseSursautSurvieSuspectSyllabeSymboleSyme/trieSynapseSyntaxeSyste-meTabacTablierTactileTaillerTalentTalismanTalonnerTambourTamiserTangibleTapisTaquinerTarderTarifTartineTasseTatamiTatouageTaupeTaureauTaxerTe/moinTemporelTenailleTendreTeneurTenirTensionTerminerTerneTerribleTe/tineTexteThe-meThe/orieThe/rapieThoraxTibiaTie-deTimideTirelireTiroirTissuTitaneTitreTituberTobogganTole/rantTomateToniqueTonneauToponymeTorcheTordreTornadeTorpilleTorrentTorseTortueTotemToucherTournageTousserToxineTractionTraficTragiqueTrahirTrainTrancherTravailTre-fleTremperTre/sorTreuilTriageTribunalTricoterTrilogieTriompheTriplerTriturerTrivialTromboneTroncTropicalTroupeauTuileTulipeTumulteTunnelTurbineTuteurTutoyerTuyauTympanTyphonTypiqueTyranUbuesqueUltimeUltrasonUnanimeUnifierUnionUniqueUnitaireUniversUraniumUrbainUrticantUsageUsineUsuelUsureUtileUtopieVacarmeVaccinVagabondVagueVaillantVaincreVaisseauValableValiseVallonValveVampireVanilleVapeurVarierVaseuxVassalVasteVecteurVedetteVe/ge/talVe/hiculeVeinardVe/loceVendrediVe/ne/rerVengerVenimeuxVentouseVerdureVe/rinVernirVerrouVerserVertuVestonVe/te/ranVe/tusteVexantVexerViaducViandeVictoireVidangeVide/oVignetteVigueurVilainVillageVinaigreViolonVipe-reVirementVirtuoseVirusVisageViseurVisionVisqueuxVisuelVitalVitesseViticoleVitrineVivaceVivipareVocationVoguerVoileVoisinVoitureVolailleVolcanVoltigerVolumeVoraceVortexVoterVouloirVoyageVoyelleWagonXe/nonYachtZe-breZe/nithZesteZoologie",Uk=null,YBe={};function $Be(t){return lH.logger.checkNormalize(),(0,dH.toUtf8String)(Array.prototype.filter.call((0,dH.toUtf8Bytes)(t.normalize("NFD").toLowerCase()),function(e){return e>=65&&e<=90||e>=97&&e<=123}))}function C$0(t){var e=[];return Array.prototype.forEach.call((0,dH.toUtf8Bytes)(t),function(n){n===47?(e.push(204),e.push(129)):n===45?(e.push(204),e.push(128)):e.push(n)}),(0,dH.toUtf8String)(e)}function VBe(t){if(Uk==null&&(Uk=A$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map(function(e){return C$0(e)}),Uk.forEach(function(e,n){YBe[$Be(e)]=n}),lH.Wordlist.check(t)!=="0x51deb7ae009149dc61a6bd18a918eb7ac78d2775726c68e598b92d002519b045"))throw Uk=null,new Error("BIP39 Wordlist for fr (French) FAILED")}var I$0=function(t){_$0(e,t);function e(){return t.call(this,"fr")||this}return e.prototype.getWord=function(n){return VBe(this),Uk[n]},e.prototype.getWordIndex=function(n){return VBe(this),YBe[$Be(n)]},e}(lH.Wordlist),JBe=new I$0;bT.langFr=JBe;lH.Wordlist.register(JBe)});var nDe=D(mT=>{"use strict";u();p();var k$0=mT&&mT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(mT,"__esModule",{value:!0});mT.langJa=void 0;var S$0=Vt(),H5=_i(),uH=L2(),R$0=["AQRASRAGBAGUAIRAHBAghAURAdBAdcAnoAMEAFBAFCBKFBQRBSFBCXBCDBCHBGFBEQBpBBpQBIkBHNBeOBgFBVCBhBBhNBmOBmRBiHBiFBUFBZDBvFBsXBkFBlcBjYBwDBMBBTBBTRBWBBWXXaQXaRXQWXSRXCFXYBXpHXOQXHRXhRXuRXmXXbRXlXXwDXTRXrCXWQXWGaBWaKcaYgasFadQalmaMBacAKaRKKBKKXKKjKQRKDRKCYKCRKIDKeVKHcKlXKjHKrYNAHNBWNaRNKcNIBNIONmXNsXNdXNnBNMBNRBNrXNWDNWMNFOQABQAHQBrQXBQXFQaRQKXQKDQKOQKFQNBQNDQQgQCXQCDQGBQGDQGdQYXQpBQpQQpHQLXQHuQgBQhBQhCQuFQmXQiDQUFQZDQsFQdRQkHQbRQlOQlmQPDQjDQwXQMBQMDQcFQTBQTHQrDDXQDNFDGBDGQDGRDpFDhFDmXDZXDbRDMYDRdDTRDrXSAhSBCSBrSGQSEQSHBSVRShYShkSyQSuFSiBSdcSoESocSlmSMBSFBSFKSFNSFdSFcCByCaRCKcCSBCSRCCrCGbCEHCYXCpBCpQCIBCIHCeNCgBCgFCVECVcCmkCmwCZXCZFCdRClOClmClFCjDCjdCnXCwBCwXCcRCFQCFjGXhGNhGDEGDMGCDGCHGIFGgBGVXGVEGVRGmXGsXGdYGoSGbRGnXGwXGwDGWRGFNGFLGFOGFdGFkEABEBDEBFEXOEaBEKSENBENDEYXEIgEIkEgBEgQEgHEhFEudEuFEiBEiHEiFEZDEvBEsXEsFEdXEdREkFEbBEbRElFEPCEfkEFNYAEYAhYBNYQdYDXYSRYCEYYoYgQYgRYuRYmCYZTYdBYbEYlXYjQYRbYWRpKXpQopQnpSFpCXpIBpISphNpdBpdRpbRpcZpFBpFNpFDpFopFrLADLBuLXQLXcLaFLCXLEhLpBLpFLHXLeVLhILdHLdRLoDLbRLrXIABIBQIBCIBsIBoIBMIBRIXaIaRIKYIKRINBINuICDIGBIIDIIkIgRIxFIyQIiHIdRIbYIbRIlHIwRIMYIcRIRVITRIFBIFNIFQOABOAFOBQOaFONBONMOQFOSFOCDOGBOEQOpBOLXOIBOIFOgQOgFOyQOycOmXOsXOdIOkHOMEOMkOWWHBNHXNHXWHNXHDuHDRHSuHSRHHoHhkHmRHdRHkQHlcHlRHwBHWcgAEgAggAkgBNgBQgBEgXOgYcgLXgHjgyQgiBgsFgdagMYgWSgFQgFEVBTVXEVKBVKNVKDVKYVKRVNBVNYVDBVDxVSBVSRVCjVGNVLXVIFVhBVhcVsXVdRVbRVlRhBYhKYhDYhGShxWhmNhdahdkhbRhjohMXhTRxAXxXSxKBxNBxEQxeNxeQxhXxsFxdbxlHxjcxFBxFNxFQxFOxFoyNYyYoybcyMYuBQuBRuBruDMuCouHBudQukkuoBulVuMXuFEmCYmCRmpRmeDmiMmjdmTFmFQiADiBOiaRiKRiNBiNRiSFiGkiGFiERipRiLFiIFihYibHijBijEiMXiWBiFBiFCUBQUXFUaRUNDUNcUNRUNFUDBUSHUCDUGBUGFUEqULNULoUIRUeEUeYUgBUhFUuRUiFUsXUdFUkHUbBUjSUjYUwXUMDUcHURdUTBUrBUrXUrQZAFZXZZaRZKFZNBZQFZCXZGBZYdZpBZLDZIFZHXZHNZeQZVRZVFZmXZiBZvFZdFZkFZbHZbFZwXZcCZcRZRBvBQvBGvBLvBWvCovMYsAFsBDsaRsKFsNFsDrsSHsSFsCXsCRsEBsEHsEfspBsLBsLDsIgsIRseGsbRsFBsFQsFSdNBdSRdCVdGHdYDdHcdVbdySduDdsXdlRdwXdWYdWcdWRkBMkXOkaRkNIkNFkSFkCFkYBkpRkeNkgBkhVkmXksFklVkMBkWDkFNoBNoaQoaFoNBoNXoNaoNEoSRoEroYXoYCoYbopRopFomXojkowXorFbBEbEIbdBbjYlaRlDElMXlFDjKjjSRjGBjYBjYkjpRjLXjIBjOFjeVjbRjwBnXQnSHnpFnLXnINnMBnTRwXBwXNwXYwNFwQFwSBwGFwLXwLDweNwgBwuHwjDwnXMBXMpFMIBMeNMTHcaQcNBcDHcSFcCXcpBcLXcLDcgFcuFcnXcwXccDcTQcrFTQErXNrCHrpFrgFrbFrTHrFcWNYWNbWEHWMXWTR","ABGHABIJAEAVAYJQALZJAIaRAHNXAHdcAHbRAZJMAZJRAZTRAdVJAklmAbcNAjdRAMnRAMWYAWpRAWgRAFgBAFhBAFdcBNJBBNJDBQKBBQhcBQlmBDEJBYJkBYJTBpNBBpJFBIJBBIJDBIcABOKXBOEJBOVJBOiJBOZJBepBBeLXBeIFBegBBgGJBVJXBuocBiJRBUJQBlXVBlITBwNFBMYVBcqXBTlmBWNFBWiJBWnRBFGHBFwXXKGJXNJBXNZJXDTTXSHSXSVRXSlHXCJDXGQJXEhXXYQJXYbRXOfXXeNcXVJFXhQJXhEJXdTRXjdXXMhBXcQTXRGBXTEBXTnQXFCXXFOFXFgFaBaFaBNJaBCJaBpBaBwXaNJKaNJDaQIBaDpRaEPDaHMFamDJalEJaMZJaFaFaFNBaFQJaFLDaFVHKBCYKBEBKBHDKXaFKXGdKXEJKXpHKXIBKXZDKXwXKKwLKNacKNYJKNJoKNWcKDGdKDTRKChXKGaRKGhBKGbRKEBTKEaRKEPTKLMDKLWRKOHDKVJcKdBcKlIBKlOPKFSBKFEPKFpFNBNJNJBQNBGHNBEPNBHXNBgFNBVXNBZDNBsXNBwXNNaRNNJDNNJENNJkNDCJNDVDNGJRNJiDNZJNNsCJNJFNNFSBNFCXNFEPNFLXNFIFQJBFQCaRQJEQQLJDQLJFQIaRQOqXQHaFQHHQQVJXQVJDQhNJQmEIQZJFQsJXQJrFQWbRDJABDBYJDXNFDXCXDXLXDXZDDXsJDQqXDSJFDJCXDEPkDEqXDYmQDpSJDOCkDOGQDHEIDVJDDuDuDWEBDJFgSBNDSBSFSBGHSBIBSBTQSKVYSJQNSJQiSJCXSEqXSJYVSIiJSOMYSHAHSHaQSeCFSepQSegBSHdHSHrFShSJSJuHSJUFSkNRSrSrSWEBSFaHSJFQSFCXSFGDSFYXSFODSFgBSFVXSFhBSFxFSFkFSFbBSFMFCADdCJXBCXaFCXKFCXNFCXCXCXGBCXEJCXYBCXLDCXIBCXOPCXHXCXgBCXhBCXiBCXlDCXcHCJNBCJNFCDCJCDGBCDVXCDhBCDiDCDJdCCmNCpJFCIaRCOqXCHCHCHZJCViJCuCuCmddCJiFCdNBCdHhClEJCnUJCreSCWlgCWTRCFBFCFNBCFYBCFVFCFhFCFdSCFTBCFWDGBNBGBQFGJBCGBEqGBpBGBgQGNBEGNJYGNkOGNJRGDUFGJpQGHaBGJeNGJeEGVBlGVKjGiJDGvJHGsVJGkEBGMIJGWjNGFBFGFCXGFGBGFYXGFpBGFMFEASJEAWpEJNFECJVEIXSEIQJEOqXEOcFEeNcEHEJEHlFEJgFEhlmEmDJEmZJEiMBEUqXEoSREPBFEPXFEPKFEPSFEPEFEPpFEPLXEPIBEJPdEPcFEPTBEJnXEqlHEMpREFCXEFODEFcFYASJYJAFYBaBYBVXYXpFYDhBYCJBYJGFYYbRYeNcYJeVYiIJYZJcYvJgYvJRYJsXYsJFYMYMYreVpBNHpBEJpBwXpQxFpYEJpeNDpJeDpeSFpeCHpHUJpHbBpHcHpmUJpiiJpUJrpsJuplITpFaBpFQqpFGBpFEfpFYBpFpBpFLJpFIDpFgBpFVXpFyQpFuFpFlFpFjDpFnXpFwXpJFMpFTBLXCJLXEFLXhFLXUJLXbFLalmLNJBLSJQLCLCLGJBLLDJLHaFLeNFLeSHLeCXLepFLhaRLZsJLsJDLsJrLocaLlLlLMdbLFNBLFSBLFEHLFkFIBBFIBXFIBaQIBKXIBSFIBpHIBLXIBgBIBhBIBuHIBmXIBiFIBZXIBvFIBbFIBjQIBwXIBWFIKTRIQUJIDGFICjQIYSRIINXIJeCIVaRImEkIZJFIvJRIsJXIdCJIJoRIbBQIjYBIcqXITFVIreVIFKFIFSFIFCJIFGFIFLDIFIBIJFOIFgBIFVXIJFhIFxFIFmXIFdHIFbBIJFrIJFWOBGBOQfXOOKjOUqXOfXBOqXEOcqXORVJOFIBOFlDHBIOHXiFHNTRHCJXHIaRHHJDHHEJHVbRHZJYHbIBHRsJHRkDHWlmgBKFgBSBgBCDgBGHgBpBgBIBgBVJgBuBgBvFgKDTgQVXgDUJgGSJgOqXgmUMgZIJgTUJgWIEgFBFgFNBgFDJgFSFgFGBgFYXgJFOgFgQgFVXgFhBgFbHgJFWVJABVQKcVDgFVOfXVeDFVhaRVmGdViJYVMaRVFNHhBNDhBCXhBEqhBpFhBLXhNJBhSJRheVXhhKEhxlmhZIJhdBQhkIJhbMNhMUJhMZJxNJgxQUJxDEkxDdFxSJRxplmxeSBxeCXxeGFxeYXxepQxegBxWVcxFEQxFLXxFIBxFgBxFxDxFZtxFdcxFbBxFwXyDJXyDlcuASJuDJpuDIBuCpJuGSJuIJFueEFuZIJusJXudWEuoIBuWGJuFBcuFKEuFNFuFQFuFDJuFGJuFVJuFUtuFdHuFTBmBYJmNJYmQhkmLJDmLJomIdXmiJYmvJRmsJRmklmmMBymMuCmclmmcnQiJABiJBNiJBDiBSFiBCJiBEFiBYBiBpFiBLXiBTHiJNciDEfiCZJiECJiJEqiOkHiHKFieNDiHJQieQcieDHieSFieCXieGFieEFieIHiegFihUJixNoioNXiFaBiFKFiFNDiFEPiFYXitFOitFHiFgBiFVEiFmXiFitiFbBiFMFiFrFUCXQUIoQUIJcUHQJUeCEUHwXUUJDUUqXUdWcUcqXUrnQUFNDUFSHUFCFUFEfUFLXUtFOZBXOZXSBZXpFZXVXZEQJZEJkZpDJZOqXZeNHZeCDZUqXZFBQZFEHZFLXvBAFvBKFvBCXvBEPvBpHvBIDvBgFvBuHvQNJvFNFvFGBvFIBvJFcsXCDsXLXsXsXsXlFsXcHsQqXsJQFsEqXseIFsFEHsFjDdBxOdNpRdNJRdEJbdpJRdhZJdnSJdrjNdFNJdFQHdFhNkNJDkYaRkHNRkHSRkVbRkuMRkjSJkcqDoSJFoEiJoYZJoOfXohEBoMGQocqXbBAFbBXFbBaFbBNDbBGBbBLXbBTBbBWDbGJYbIJHbFQqbFpQlDgQlOrFlVJRjGEBjZJRnXvJnXbBnEfHnOPDngJRnxfXnUJWwXEJwNpJwDpBwEfXwrEBMDCJMDGHMDIJMLJDcQGDcQpHcqXccqNFcqCXcFCJRBSBRBGBRBEJRBpQTBNFTBQJTBpBTBVXTFABTFSBTFCFTFGBTFMDrXCJrXLDrDNJrEfHrFQJrFitWNjdWNTR","AKLJMANOPFASNJIAEJWXAYJNRAIIbRAIcdaAeEfDAgidRAdjNYAMYEJAMIbRAFNJBAFpJFBBIJYBDZJFBSiJhBGdEBBEJfXBEJqXBEJWRBpaUJBLXrXBIYJMBOcfXBeEfFBestXBjNJRBcDJOBFEqXXNvJRXDMBhXCJNYXOAWpXONJWXHDEBXeIaRXhYJDXZJSJXMDJOXcASJXFVJXaBQqXaBZJFasXdQaFSJQaFEfXaFpJHaFOqXKBNSRKXvJBKQJhXKEJQJKEJGFKINJBKIJjNKgJNSKVElmKVhEBKiJGFKlBgJKjnUJKwsJYKMFIJKFNJDKFIJFKFOfXNJBSFNJBCXNBpJFNJBvQNJBMBNJLJXNJOqXNJeCXNJeGFNdsJCNbTKFNwXUJQNFEPQDiJcQDMSJQSFpBQGMQJQJeOcQyCJEQUJEBQJFBrQFEJqDXDJFDJXpBDJXIMDGiJhDIJGRDJeYcDHrDJDVXgFDkAWpDkIgRDjDEqDMvJRDJFNFDJFIBSKclmSJQOFSJQVHSJQjDSJGJBSJGJFSECJoSHEJqSJHTBSJVJDSViJYSZJNBSJsJDSFSJFSFEfXSJFLXCBUJVCJXSBCJXpBCXVJXCJXsXCJXdFCJNJHCLIJgCHiJFCVNJMChCJhCUHEJCsJTRCJdYcCoQJCCFEfXCFIJgCFUJxCFstFGJBaQGJBIDGQJqXGYJNRGJHKFGeQqDGHEJFGJeLXGHIiJGHdBlGUJEBGkIJTGFQPDGJFEqEAGegEJIJBEJVJXEhQJTEiJNcEJZJFEJoEqEjDEqEPDsXEPGJBEPOqXEPeQFEfDiDEJfEFEfepQEfMiJEqXNBEqDIDEqeSFEqVJXEMvJRYXNJDYXEJHYKVJcYYJEBYJeEcYJUqXYFpJFYFstXpAZJMpBSJFpNBNFpeQPDpHLJDpHIJFpHgJFpeitFpHZJFpJFADpFSJFpJFCJpFOqXpFitBpJFZJLXIJFLIJgRLVNJWLVHJMLwNpJLFGJBLFLJDLFOqXLJFUJIBDJXIBGJBIJBYQIJBIBIBOqXIBcqDIEGJFILNJTIIJEBIOiJhIJeNBIJeIBIhiJIIWoTRIJFAHIJFpBIJFuHIFUtFIJFTHOSBYJOEcqXOHEJqOvBpFOkVJrObBVJOncqDOcNJkHhNJRHuHJuHdMhBgBUqXgBsJXgONJBgHNJDgHHJQgJeitgHsJXgJyNagyDJBgZJDrgsVJQgkEJNgkjSJgJFAHgFCJDgFZtMVJXNFVXQfXVJXDJVXoQJVQVJQVDEfXVDvJHVEqNFVeQfXVHpJFVHxfXVVJSRVVmaRVlIJOhCXVJhHjYkhxCJVhWVUJhWiJcxBNJIxeEqDxfXBFxcFEPxFSJFxFYJXyBDQJydaUJyFOPDuYCJYuLvJRuHLJXuZJLDuFOPDuFZJHuFcqXmKHJdmCQJcmOsVJiJAGFitLCFieOfXiestXiZJMEikNJQirXzFiFQqXiFIJFiFZJFiFvtFUHpJFUteIcUteOcUVCJkUhdHcUbEJEUJqXQUMNJhURjYkUFitFZDGJHZJIxDZJVJXZJFDJZJFpQvBNJBvBSJFvJxBrseQqDsVFVJdFLJDkEJNBkmNJYkFLJDoQJOPoGsJRoEAHBoEJfFbBQqDbBZJHbFVJXlFIJBjYIrXjeitcjjCEBjWMNBwXQfXwXOaFwDsJXwCJTRwrCZJMDNJQcDDJFcqDOPRYiJFTBsJXTQIJBTFEfXTFLJDrXEJFrEJXMrFZJFWEJdEWYTlm","ABCDEFACNJTRAMBDJdAcNJVXBLNJEBXSIdWRXErNJkXYDJMBXZJCJaXMNJaYKKVJKcKDEJqXKDcNJhKVJrNYKbgJVXKFVJSBNBYBwDNJeQfXNJeEqXNhGJWENJFiJRQlIJbEQJfXxDQqXcfXQFNDEJQFwXUJDYcnUJDJIBgQDIUJTRDJFEqDSJQSJFSJQIJFSOPeZtSJFZJHCJXQfXCTDEqFGJBSJFGJBOfXGJBcqXGJHNJDGJRLiJEJfXEqEJFEJPEFpBEJYJBZJFYBwXUJYiJMEBYJZJyTYTONJXpQMFXFpeGIDdpJFstXpJFcPDLBVSJRLHQJqXLJFZJFIJBNJDIJBUqXIBkFDJIJEJPTIYJGWRIJeQPDIJeEfHIJFsJXOqGDSFHXEJqXgJCsJCgGQJqXgdQYJEgFMFNBgJFcqDVJwXUJVJFZJchIgJCCxOEJqXxOwXUJyDJBVRuscisciJBiJBieUtqXiJFDJkiFsJXQUGEZJcUJFsJXZtXIrXZDZJDrZJFNJDZJFstXvJFQqXvJFCJEsJXQJqkhkNGBbDJdTRbYJMEBlDwXUJMEFiJFcfXNJDRcNJWMTBLJXC","BraFUtHBFSJFdbNBLJXVJQoYJNEBSJBEJfHSJHwXUJCJdAZJMGjaFVJXEJPNJBlEJfFiJFpFbFEJqIJBVJCrIBdHiJhOPFChvJVJZJNJWxGFNIFLueIBQJqUHEJfUFstOZJDrlXEASJRlXVJXSFwVJNJWD","QJEJNNJDQJEJIBSFQJEJxegBQJEJfHEPSJBmXEJFSJCDEJqXLXNJFQqXIcQsFNJFIFEJqXUJgFsJXIJBUJEJfHNFvJxEqXNJnXUJFQqD","IJBEJqXZJ"],M$0="~~AzB~X~a~KN~Q~D~S~C~G~E~Y~p~L~I~O~eH~g~V~hxyumi~~U~~Z~~v~~s~~dkoblPjfnqwMcRTr~W~~~F~~~~~Jt",E6=null;function ZBe(t){return(0,S$0.hexlify)((0,H5.toUtf8Bytes)(t))}var B$0="0xe3818de38284e3818f",D$0="0xe3818de38283e3818f";function eDe(t){if(E6!==null)return;E6=[];var e={};e[(0,H5.toUtf8String)([227,130,154])]=!1,e[(0,H5.toUtf8String)([227,130,153])]=!1,e[(0,H5.toUtf8String)([227,130,133])]=(0,H5.toUtf8String)([227,130,134]),e[(0,H5.toUtf8String)([227,129,163])]=(0,H5.toUtf8String)([227,129,164]),e[(0,H5.toUtf8String)([227,130,131])]=(0,H5.toUtf8String)([227,130,132]),e[(0,H5.toUtf8String)([227,130,135])]=(0,H5.toUtf8String)([227,130,136]);function n(l){for(var h="",y=0;yh?1:0}for(var r=3;r<=9;r++)for(var f=R$0[r-3],i=0;i{"use strict";u();p();var L$0=yT&&yT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(yT,"__esModule",{value:!0});yT.langKo=void 0;var F$0=_i(),zre=L2(),N$0=["OYAa","ATAZoATBl3ATCTrATCl8ATDloATGg3ATHT8ATJT8ATJl3ATLlvATLn4ATMT8ATMX8ATMboATMgoAToLbAToMTATrHgATvHnAT3AnAT3JbAT3MTAT8DbAT8JTAT8LmAT8MYAT8MbAT#LnAUHT8AUHZvAUJXrAUJX8AULnrAXJnvAXLUoAXLgvAXMn6AXRg3AXrMbAX3JTAX3QbAYLn3AZLgvAZrSUAZvAcAZ8AaAZ8AbAZ8AnAZ8HnAZ8LgAZ8MYAZ8MgAZ8OnAaAboAaDTrAaFTrAaJTrAaJboAaLVoAaMXvAaOl8AaSeoAbAUoAbAg8AbAl4AbGnrAbMT8AbMXrAbMn4AbQb8AbSV8AbvRlAb8AUAb8AnAb8HgAb8JTAb8NTAb8RbAcGboAcLnvAcMT8AcMX8AcSToAcrAaAcrFnAc8AbAc8MgAfGgrAfHboAfJnvAfLV8AfLkoAfMT8AfMnoAfQb8AfScrAfSgrAgAZ8AgFl3AgGX8AgHZvAgHgrAgJXoAgJX8AgJboAgLZoAgLn4AgOX8AgoATAgoAnAgoCUAgoJgAgoLXAgoMYAgoSeAgrDUAgrJTAhrFnAhrLjAhrQgAjAgoAjJnrAkMX8AkOnoAlCTvAlCV8AlClvAlFg4AlFl6AlFn3AloSnAlrAXAlrAfAlrFUAlrFbAlrGgAlrOXAlvKnAlvMTAl3AbAl3MnAnATrAnAcrAnCZ3AnCl8AnDg8AnFboAnFl3AnHX4AnHbrAnHgrAnIl3AnJgvAnLXoAnLX4AnLbrAnLgrAnLhrAnMXoAnMgrAnOn3AnSbrAnSeoAnvLnAn3OnCTGgvCTSlvCTvAUCTvKnCTvNTCT3CZCT3GUCT3MTCT8HnCUCZrCULf8CULnvCU3HnCU3JUCY6NUCbDb8CbFZoCbLnrCboOTCboScCbrFnCbvLnCb8AgCb8HgCb$LnCkLfoClBn3CloDUDTHT8DTLl3DTSU8DTrAaDTrLXDTrLjDTrOYDTrOgDTvFXDTvFnDT3HUDT3LfDUCT9DUDT4DUFVoDUFV8DUFkoDUGgrDUJnrDULl8DUMT8DUMXrDUMX4DUMg8DUOUoDUOgvDUOg8DUSToDUSZ8DbDXoDbDgoDbGT8DbJn3DbLg3DbLn4DbMXrDbMg8DbOToDboJXGTClvGTDT8GTFZrGTLVoGTLlvGTLl3GTMg8GTOTvGTSlrGToCUGTrDgGTrJYGTrScGTtLnGTvAnGTvQgGUCZrGUDTvGUFZoGUHXrGULnvGUMT8GUoMgGXoLnGXrMXGXrMnGXvFnGYLnvGZOnvGZvOnGZ8LaGZ8LmGbAl3GbDYvGbDlrGbHX3GbJl4GbLV8GbLn3GbMn4GboJTGboRfGbvFUGb3GUGb4JnGgDX3GgFl$GgJlrGgLX6GgLZoGgLf8GgOXoGgrAgGgrJXGgrMYGgrScGgvATGgvOYGnAgoGnJgvGnLZoGnLg3GnLnrGnQn8GnSbrGnrMgHTClvHTDToHTFT3HTQT8HToJTHToJgHTrDUHTrMnHTvFYHTvRfHT8MnHT8SUHUAZ8HUBb4HUDTvHUoMYHXFl6HXJX6HXQlrHXrAUHXrMnHXrSbHXvFYHXvKXHX3LjHX3MeHYvQlHZrScHZvDbHbAcrHbFT3HbFl3HbJT8HbLTrHbMT8HbMXrHbMbrHbQb8HbSX3HboDbHboJTHbrFUHbrHgHbrJTHb8JTHb8MnHb8QgHgAlrHgDT3HgGgrHgHgrHgJTrHgJT8HgLX@HgLnrHgMT8HgMX8HgMboHgOnrHgQToHgRg3HgoHgHgrCbHgrFnHgrLVHgvAcHgvAfHnAloHnCTrHnCnvHnGTrHnGZ8HnGnvHnJT8HnLf8HnLkvHnMg8HnRTrITvFUITvFnJTAXrJTCV8JTFT3JTFT8JTFn4JTGgvJTHT8JTJT8JTJXvJTJl3JTJnvJTLX4JTLf8JTLhvJTMT8JTMXrJTMnrJTObrJTQT8JTSlvJT8DUJT8FkJT8MTJT8OXJT8OgJT8QUJT8RfJUHZoJXFT4JXFlrJXGZ8JXGnrJXLV8JXLgvJXMXoJXMX3JXNboJXPlvJXoJTJXoLkJXrAXJXrHUJXrJgJXvJTJXvOnJX4KnJYAl3JYJT8JYLhvJYQToJYrQXJY6NUJbAl3JbCZrJbDloJbGT8JbGgrJbJXvJbJboJbLf8JbLhrJbLl3JbMnvJbRg8JbSZ8JboDbJbrCZJbrSUJb3KnJb8LnJfRn8JgAXrJgCZrJgDTrJgGZrJgGZ8JgHToJgJT8JgJXoJgJgvJgLX4JgLZ3JgLZ8JgLn4JgMgrJgMn4JgOgvJgPX6JgRnvJgSToJgoCZJgoJbJgoMYJgrJXJgrJgJgrLjJg6MTJlCn3JlGgvJlJl8Jl4AnJl8FnJl8HgJnAToJnATrJnAbvJnDUoJnGnrJnJXrJnJXvJnLhvJnLnrJnLnvJnMToJnMT8JnMXvJnMX3JnMg8JnMlrJnMn4JnOX8JnST4JnSX3JnoAgJnoAnJnoJTJnoObJnrAbJnrAkJnrHnJnrJTJnrJYJnrOYJnrScJnvCUJnvFaJnvJgJnvJnJnvOYJnvQUJnvRUJn3FnJn3JTKnFl3KnLT6LTDlvLTMnoLTOn3LTRl3LTSb4LTSlrLToAnLToJgLTrAULTrAcLTrCULTrHgLTrMgLT3JnLULnrLUMX8LUoJgLVATrLVDTrLVLb8LVoJgLV8MgLV8RTLXDg3LXFlrLXrCnLXrLXLX3GTLX4GgLX4OYLZAXrLZAcrLZAgrLZAhrLZDXyLZDlrLZFbrLZFl3LZJX6LZJX8LZLc8LZLnrLZSU8LZoJTLZoJnLZrAgLZrAnLZrJYLZrLULZrMgLZrSkLZvAnLZvGULZvJeLZvOTLZ3FZLZ4JXLZ8STLZ8ScLaAT3LaAl3LaHT8LaJTrLaJT8LaJXrLaJgvLaJl4LaLVoLaMXrLaMXvLaMX8LbClvLbFToLbHlrLbJn4LbLZ3LbLhvLbMXrLbMnoLbvSULcLnrLc8HnLc8MTLdrMnLeAgoLeOgvLeOn3LfAl3LfLnvLfMl3LfOX8Lf8AnLf8JXLf8LXLgJTrLgJXrLgJl8LgMX8LgRZrLhCToLhrAbLhrFULhrJXLhvJYLjHTrLjHX4LjJX8LjLhrLjSX3LjSZ4LkFX4LkGZ8LkGgvLkJTrLkMXoLkSToLkSU8LkSZ8LkoOYLl3FfLl3MgLmAZrLmCbrLmGgrLmHboLmJnoLmJn3LmLfoLmLhrLmSToLnAX6LnAb6LnCZ3LnCb3LnDTvLnDb8LnFl3LnGnrLnHZvLnHgvLnITvLnJT8LnJX8LnJlvLnLf8LnLg6LnLhvLnLnoLnMXrLnMg8LnQlvLnSbrLnrAgLnrAnLnrDbLnrFkLnrJdLnrMULnrOYLnrSTLnvAnLnvDULnvHgLnvOYLnvOnLn3GgLn4DULn4JTLn4JnMTAZoMTAloMTDb8MTFT8MTJnoMTJnrMTLZrMTLhrMTLkvMTMX8MTRTrMToATMTrDnMTrOnMT3JnMT4MnMT8FUMT8FaMT8FlMT8GTMT8GbMT8GnMT8HnMT8JTMT8JbMT8OTMUCl8MUJTrMUJU8MUMX8MURTrMUSToMXAX6MXAb6MXCZoMXFXrMXHXrMXLgvMXOgoMXrAUMXrAnMXrHgMXrJYMXrJnMXrMTMXrMgMXrOYMXrSZMXrSgMXvDUMXvOTMX3JgMX3OTMX4JnMX8DbMX8FnMX8HbMX8HgMX8HnMX8LbMX8MnMX8OnMYAb8MYGboMYHTvMYHX4MYLTrMYLnvMYMToMYOgvMYRg3MYSTrMbAToMbAXrMbAl3MbAn8MbGZ8MbJT8MbJXrMbMXvMbMX8MbMnoMbrMUMb8AfMb8FbMb8FkMcJXoMeLnrMgFl3MgGTvMgGXoMgGgrMgGnrMgHT8MgHZrMgJnoMgLnrMgLnvMgMT8MgQUoMgrHnMgvAnMg8HgMg8JYMg8LfMloJnMl8ATMl8AXMl8JYMnAToMnAT4MnAZ8MnAl3MnAl4MnCl8MnHT8MnHg8MnJnoMnLZoMnLhrMnMXoMnMX3MnMnrMnOgvMnrFbMnrFfMnrFnMnrNTMnvJXNTMl8OTCT3OTFV8OTFn3OTHZvOTJXrOTOl3OT3ATOT3JUOT3LZOT3LeOT3MbOT8ATOT8AbOT8AgOT8MbOUCXvOUMX3OXHXvOXLl3OXrMUOXvDbOX6NUOX8JbOYFZoOYLbrOYLkoOYMg8OYSX3ObHTrObHT4ObJgrObLhrObMX3ObOX8Ob8FnOeAlrOeJT8OeJXrOeJnrOeLToOeMb8OgJXoOgLXoOgMnrOgOXrOgOloOgoAgOgoJbOgoMYOgoSTOg8AbOjLX4OjMnoOjSV8OnLVoOnrAgOn3DUPXQlrPXvFXPbvFTPdAT3PlFn3PnvFbQTLn4QToAgQToMTQULV8QURg8QUoJnQXCXvQbFbrQb8AaQb8AcQb8FbQb8MYQb8ScQeAlrQeLhrQjAn3QlFXoQloJgQloSnRTLnvRTrGURTrJTRUJZrRUoJlRUrQnRZrLmRZrMnRZrSnRZ8ATRZ8JbRZ8ScRbMT8RbST3RfGZrRfMX8RfMgrRfSZrRnAbrRnGT8RnvJgRnvLfRnvMTRn8AaSTClvSTJgrSTOXrSTRg3STRnvSToAcSToAfSToAnSToHnSToLjSToMTSTrAaSTrEUST3BYST8AgST8LmSUAZvSUAgrSUDT4SUDT8SUGgvSUJXoSUJXvSULTrSU8JTSU8LjSV8AnSV8JgSXFToSXLf8SYvAnSZrDUSZrMUSZrMnSZ8HgSZ8JTSZ8JgSZ8MYSZ8QUSaQUoSbCT3SbHToSbQYvSbSl4SboJnSbvFbSb8HbSb8JgSb8OTScGZrScHgrScJTvScMT8ScSToScoHbScrMTScvAnSeAZrSeAcrSeHboSeJUoSeLhrSeMT8SeMXrSe6JgSgHTrSkJnoSkLnvSk8CUSlFl3SlrSnSl8GnSmAboSmGT8SmJU8","ATLnDlATrAZoATrJX4ATrMT8ATrMX4ATrRTrATvDl8ATvJUoATvMl8AT3AToAT3MX8AT8CT3AT8DT8AT8HZrAT8HgoAUAgFnAUCTFnAXoMX8AXrAT8AXrGgvAXrJXvAXrOgoAXvLl3AZvAgoAZvFbrAZvJXoAZvJl8AZvJn3AZvMX8AZvSbrAZ8FZoAZ8LZ8AZ8MU8AZ8OTvAZ8SV8AZ8SX3AbAgFZAboJnoAbvGboAb8ATrAb8AZoAb8AgrAb8Al4Ab8Db8Ab8JnoAb8LX4Ab8LZrAb8LhrAb8MT8Ab8OUoAb8Qb8Ab8ST8AcrAUoAcrAc8AcrCZ3AcrFT3AcrFZrAcrJl4AcrJn3AcrMX3AcrOTvAc8AZ8Ac8MT8AfAcJXAgoFn4AgoGgvAgoGnrAgoLc8AgoMXoAgrLnrAkrSZ8AlFXCTAloHboAlrHbrAlrLhrAlrLkoAl3CZrAl3LUoAl3LZrAnrAl4AnrMT8An3HT4BT3IToBX4MnvBb!Ln$CTGXMnCToLZ4CTrHT8CT3JTrCT3RZrCT#GTvCU6GgvCU8Db8CU8GZrCU8HT8CboLl3CbrGgrCbrMU8Cb8DT3Cb8GnrCb8LX4Cb8MT8Cb8ObrCgrGgvCgrKX4Cl8FZoDTrAbvDTrDboDTrGT6DTrJgrDTrMX3DTrRZrDTrRg8DTvAVvDTvFZoDT3DT8DT3Ln3DT4HZrDT4MT8DT8AlrDT8MT8DUAkGbDUDbJnDYLnQlDbDUOYDbMTAnDbMXSnDboAT3DboFn4DboLnvDj6JTrGTCgFTGTGgFnGTJTMnGTLnPlGToJT8GTrCT3GTrLVoGTrLnvGTrMX3GTrMboGTvKl3GZClFnGZrDT3GZ8DTrGZ8FZ8GZ8MXvGZ8On8GZ8ST3GbCnQXGbMbFnGboFboGboJg3GboMXoGb3JTvGb3JboGb3Mn6Gb3Qb8GgDXLjGgMnAUGgrDloGgrHX4GgrSToGgvAXrGgvAZvGgvFbrGgvLl3GgvMnvGnDnLXGnrATrGnrMboGnuLl3HTATMnHTAgCnHTCTCTHTrGTvHTrHTvHTrJX8HTrLl8HTrMT8HTrMgoHTrOTrHTuOn3HTvAZrHTvDTvHTvGboHTvJU8HTvLl3HTvMXrHTvQb4HT4GT6HT4JT8HT4Jb#HT8Al3HT8GZrHT8GgrHT8HX4HT8Jb8HT8JnoHT8LTrHT8LgvHT8SToHT8SV8HUoJUoHUoJX8HUoLnrHXrLZoHXvAl3HX3LnrHX4FkvHX4LhrHX4MXoHX4OnoHZrAZ8HZrDb8HZrGZ8HZrJnrHZvGZ8HZvLnvHZ8JnvHZ8LhrHbCXJlHbMTAnHboJl4HbpLl3HbrJX8HbrLnrHbrMnvHbvRYrHgoSTrHgrFV8HgrGZ8HgrJXoHgrRnvHgvBb!HgvGTrHgvHX4HgvHn!HgvLTrHgvSU8HnDnLbHnFbJbHnvDn8Hn6GgvHn!BTvJTCTLnJTQgFnJTrAnvJTrLX4JTrOUoJTvFn3JTvLnrJTvNToJT3AgoJT3Jn4JT3LhvJT3ObrJT8AcrJT8Al3JT8JT8JT8JnoJT8LX4JT8LnrJT8MX3JT8Rg3JT8Sc8JUoBTvJU8AToJU8GZ8JU8GgvJU8JTrJU8JXrJU8JnrJU8LnvJU8ScvJXHnJlJXrGgvJXrJU8JXrLhrJXrMT8JXrMXrJXrQUoJXvCTvJXvGZ8JXvGgrJXvQT8JX8Ab8JX8DT8JX8GZ8JX8HZvJX8LnrJX8MT8JX8MXoJX8MnvJX8ST3JYGnCTJbAkGbJbCTAnJbLTAcJboDT3JboLb6JbrAnvJbrCn3JbrDl8JbrGboJbrIZoJbrJnvJbrMnvJbrQb4Jb8RZrJeAbAnJgJnFbJgScAnJgrATrJgvHZ8JgvMn4JlJlFbJlLiQXJlLjOnJlRbOlJlvNXoJlvRl3Jl4AcrJl8AUoJl8MnrJnFnMlJnHgGbJnoDT8JnoFV8JnoGgvJnoIT8JnoQToJnoRg3JnrCZ3JnrGgrJnrHTvJnrLf8JnrOX8JnvAT3JnvFZoJnvGT8JnvJl4JnvMT8JnvMX8JnvOXrJnvPX6JnvSX3JnvSZrJn3MT8Jn3MX8Jn3RTrLTATKnLTJnLTLTMXKnLTRTQlLToGb8LTrAZ8LTrCZ8LTrDb8LTrHT8LT3PX6LT4FZoLT$CTvLT$GgrLUvHX3LVoATrLVoAgoLVoJboLVoMX3LVoRg3LV8CZ3LV8FZoLV8GTvLXrDXoLXrFbrLXvAgvLXvFlrLXvLl3LXvRn6LX4Mb8LX8GT8LYCXMnLYrMnrLZoSTvLZrAZvLZrAloLZrFToLZrJXvLZrJboLZrJl4LZrLnrLZrMT8LZrOgvLZrRnvLZrST4LZvMX8LZvSlvLZ8AgoLZ8CT3LZ8JT8LZ8LV8LZ8LZoLZ8Lg8LZ8SV8LZ8SbrLZ$HT8LZ$Mn4La6CTvLbFbMnLbRYFTLbSnFZLboJT8LbrAT9LbrGb3LbrQb8LcrJX8LcrMXrLerHTvLerJbrLerNboLgrDb8LgrGZ8LgrHTrLgrMXrLgrSU8LgvJTrLgvLl3Lg6Ll3LhrLnrLhrMT8LhvAl4LiLnQXLkoAgrLkoJT8LkoJn4LlrSU8Ll3FZoLl3HTrLl3JX8Ll3JnoLl3LToLmLeFbLnDUFbLnLVAnLnrATrLnrAZoLnrAb8LnrAlrLnrGgvLnrJU8LnrLZrLnrLhrLnrMb8LnrOXrLnrSZ8LnvAb4LnvDTrLnvDl8LnvHTrLnvHbrLnvJT8LnvJU8LnvJbrLnvLhvLnvMX8LnvMb8LnvNnoLnvSU8Ln3Al3Ln4FZoLn4GT6Ln4JgvLn4LhrLn4MT8Ln4SToMToCZrMToJX8MToLX4MToLf8MToRg3MTrEloMTvGb6MT3BTrMT3Lb6MT8AcrMT8AgrMT8GZrMT8JnoMT8LnrMT8MX3MUOUAnMXAbFnMXoAloMXoJX8MXoLf8MXoLl8MXrAb8MXrDTvMXrGT8MXrGgrMXrHTrMXrLf8MXrMU8MXrOXvMXrQb8MXvGT8MXvHTrMXvLVoMX3AX3MX3Jn3MX3LhrMX3MX3MX4AlrMX4OboMX8GTvMX8GZrMX8GgrMX8JT8MX8JX8MX8LhrMX8MT8MYDUFbMYMgDbMbGnFfMbvLX4MbvLl3Mb8Mb8Mb8ST4MgGXCnMg8ATrMg8AgoMg8CZrMg8DTrMg8DboMg8HTrMg8JgrMg8LT8MloJXoMl8AhrMl8JT8MnLgAUMnoJXrMnoLX4MnoLhrMnoMT8MnrAl4MnrDb8MnrOTvMnrOgvMnrQb8MnrSU8MnvGgrMnvHZ8Mn3MToMn4DTrMn4LTrMn4Mg8NnBXAnOTFTFnOToAToOTrGgvOTrJX8OT3JXoOT6MTrOT8GgrOT8HTpOT8MToOUoHT8OUoJT8OUoLn3OXrAgoOXrDg8OXrMT8OXvSToOX6CTvOX8CZrOX8OgrOb6HgvOb8AToOb8MT8OcvLZ8OgvAlrOgvHTvOgvJTrOgvJnrOgvLZrOgvLn4OgvMT8OgvRTrOg8AZoOg8DbvOnrOXoOnvJn4OnvLhvOnvRTrOn3GgoOn3JnvOn6JbvOn8OTrPTGYFTPbBnFnPbGnDnPgDYQTPlrAnvPlrETvPlrLnvPlrMXvPlvFX4QTMTAnQTrJU8QYCnJlQYJlQlQbGTQbQb8JnrQb8LZoQb8LnvQb8MT8Qb8Ml8Qb8ST4QloAl4QloHZvQloJX8QloMn8QnJZOlRTrAZvRTrDTrRTvJn4RTvLhvRT4Jb8RZrAZrRZ8AkrRZ8JU8RZ8LV8RZ8LnvRbJlQXRg3GboRg3MnvRg8AZ8Rg8JboRg8Jl4RnLTCbRnvFl3RnvQb8SToAl4SToCZrSToFZoSToHXrSToJU8SToJgvSToJl4SToLhrSToMX3STrAlvSTrCT9STrCgrSTrGgrSTrHXrSTrHboSTrJnoSTrNboSTvLnrST4AZoST8Ab8ST8JT8SUoJn3SU6HZ#SU6JTvSU8Db8SU8HboSU8LgrSV8JT8SZrAcrSZrAl3SZrJT8SZrJnvSZrMT8SZvLUoSZ4FZoSZ8JnoSZ8RZrScoLnrScoMT8ScoMX8ScrAT4ScrAZ8ScrLZ8ScrLkvScvDb8ScvLf8ScvNToSgrFZrShvKnrSloHUoSloLnrSlrMXoSl8HgrSmrJUoSn3BX6","ATFlOn3ATLgrDYAT4MTAnAT8LTMnAYJnRTrAbGgJnrAbLV8LnAbvNTAnAeFbLg3AgOYMXoAlQbFboAnDboAfAnJgoJTBToDgAnBUJbAl3BboDUAnCTDlvLnCTFTrSnCYoQTLnDTwAbAnDUDTrSnDUHgHgrDX8LXFnDbJXAcrETvLTLnGTFTQbrGTMnGToGT3DUFbGUJlPX3GbQg8LnGboJbFnGb3GgAYGgAg8ScGgMbAXrGgvAbAnGnJTLnvGnvATFgHTDT6ATHTrDlJnHYLnMn8HZrSbJTHZ8LTFnHbFTJUoHgSeMT8HgrLjAnHgvAbAnHlFUrDlHnDgvAnHnHTFT3HnQTGnrJTAaMXvJTGbCn3JTOgrAnJXvAXMnJbMg8SnJbMnRg3Jb8LTMnJnAl3OnJnGYrQlJnJlQY3LTDlCn3LTJjLg3LTLgvFXLTMg3GTLV8HUOgLXFZLg3LXNXrMnLX8QXFnLX9AlMYLYLXPXrLZAbJU8LZDUJU8LZMXrSnLZ$AgFnLaPXrDULbFYrMnLbMn8LXLboJgJgLeFbLg3LgLZrSnLgOYAgoLhrRnJlLkCTrSnLkOnLhrLnFX%AYLnFZoJXLnHTvJbLnLloAbMTATLf8MTHgJn3MTMXrAXMT3MTFnMUITvFnMXFX%AYMXMXvFbMXrFTDbMYAcMX3MbLf8SnMb8JbFnMgMXrMTMgvAXFnMgvGgCmMnAloSnMnFnJTrOXvMXSnOX8HTMnObJT8ScObLZFl3ObMXCZoPTLgrQXPUFnoQXPU3RXJlPX3RkQXPbrJXQlPlrJbFnQUAhrDbQXGnCXvQYLnHlvQbLfLnvRTOgvJbRXJYrQlRYLnrQlRbLnrQlRlFT8JlRlFnrQXSTClCn3STHTrAnSTLZQlrSTMnGTrSToHgGbSTrGTDnSTvGXCnST3HgFbSU3HXAXSbAnJn3SbFT8LnScLfLnv","AT3JgJX8AT8FZoSnAT8JgFV8AT8LhrDbAZ8JT8DbAb8GgLhrAb8SkLnvAe8MT8SnAlMYJXLVAl3GYDTvAl3LfLnvBUDTvLl3CTOn3HTrCT3DUGgrCU8MT8AbCbFTrJUoCgrDb8MTDTLV8JX8DTLnLXQlDT8LZrSnDUQb8FZ8DUST4JnvDb8ScOUoDj6GbJl4GTLfCYMlGToAXvFnGboAXvLnGgAcrJn3GgvFnSToGnLf8JnvGn#HTDToHTLnFXJlHTvATFToHTvHTDToHTvMTAgoHT3STClvHT4AlFl6HT8HTDToHUoDgJTrHUoScMX3HbRZrMXoHboJg8LTHgDb8JTrHgMToLf8HgvLnLnoHnHn3HT4Hn6MgvAnJTJU8ScvJT3AaQT8JT8HTrAnJXrRg8AnJbAloMXoJbrATFToJbvMnoSnJgDb6GgvJgDb8MXoJgSX3JU8JguATFToJlPYLnQlJlQkDnLbJlQlFYJlJl8Lf8OTJnCTFnLbJnLTHXMnJnLXGXCnJnoFfRg3JnrMYRg3Jn3HgFl3KT8Dg8LnLTRlFnPTLTvPbLbvLVoSbrCZLXMY6HT3LXNU7DlrLXNXDTATLX8DX8LnLZDb8JU8LZMnoLhrLZSToJU8LZrLaLnrLZvJn3SnLZ8LhrSnLaJnoMT8LbFlrHTvLbrFTLnrLbvATLlvLb6OTFn3LcLnJZOlLeAT6Mn4LeJT3ObrLg6LXFlrLhrJg8LnLhvDlPX4LhvLfLnvLj6JTFT3LnFbrMXoLnQluCTvLnrQXCY6LnvLfLnvLnvMgLnvLnvSeLf8MTMbrJn3MT3JgST3MT8AnATrMT8LULnrMUMToCZrMUScvLf8MXoDT8SnMX6ATFToMX8AXMT8MX8FkMT8MX8HTrDUMX8ScoSnMYJT6CTvMgAcrMXoMg8SToAfMlvAXLg3MnFl3AnvOT3AnFl3OUoATHT8OU3RnLXrOXrOXrSnObPbvFn6Og8HgrSnOg8OX8DbPTvAgoJgPU3RYLnrPXrDnJZrPb8CTGgvPlrLTDlvPlvFUJnoQUvFXrQlQeMnoAl3QlrQlrSnRTFTrJUoSTDlLiLXSTFg6HT3STJgoMn4STrFTJTrSTrLZFl3ST4FnMXoSUrDlHUoScvHTvSnSfLkvMXo","AUoAcrMXoAZ8HboAg8AbOg6ATFgAg8AloMXoAl3AT8JTrAl8MX8MXoCT3SToJU8Cl8Db8MXoDT8HgrATrDboOT8MXoGTOTrATMnGT8LhrAZ8GnvFnGnQXHToGgvAcrHTvAXvLl3HbrAZoMXoHgBlFXLg3HgMnFXrSnHgrSb8JUoHn6HT8LgvITvATrJUoJUoLZrRnvJU8HT8Jb8JXvFX8QT8JXvLToJTrJYrQnGnQXJgrJnoATrJnoJU8ScvJnvMnvMXoLTCTLgrJXLTJlRTvQlLbRnJlQYvLbrMb8LnvLbvFn3RnoLdCVSTGZrLeSTvGXCnLg3MnoLn3MToLlrETvMT8SToAl3MbrDU6GTvMb8LX4LhrPlrLXGXCnSToLf8Rg3STrDb8LTrSTvLTHXMnSb3RYLnMnSgOg6ATFg","HUDlGnrQXrJTrHgLnrAcJYMb8DULc8LTvFgGnCk3Mg8JbAnLX4QYvFYHnMXrRUoJnGnvFnRlvFTJlQnoSTrBXHXrLYSUJgLfoMT8Se8DTrHbDb","AbDl8SToJU8An3RbAb8ST8DUSTrGnrAgoLbFU6Db8LTrMg8AaHT8Jb8ObDl8SToJU8Pb3RlvFYoJl"],O$0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*";function U$0(t){return t>=40?t=t+168-40:t>=19&&(t=t+97-19),(0,F$0.toUtf8String)([225,(t>>6)+132,(t&63)+128])}var m7=null;function aDe(t){if(m7==null&&(m7=[],N$0.forEach(function(e,n){n+=4;for(var a=0;a{"use strict";u();p();var z$0=gT&&gT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(gT,"__esModule",{value:!0});gT.langIt=void 0;var Wre=L2(),W$0="AbacoAbbaglioAbbinatoAbeteAbissoAbolireAbrasivoAbrogatoAccadereAccennoAccusatoAcetoneAchilleAcidoAcquaAcreAcrilicoAcrobataAcutoAdagioAddebitoAddomeAdeguatoAderireAdipeAdottareAdulareAffabileAffettoAffissoAffrantoAforismaAfosoAfricanoAgaveAgenteAgevoleAggancioAgireAgitareAgonismoAgricoloAgrumetoAguzzoAlabardaAlatoAlbatroAlberatoAlboAlbumeAlceAlcolicoAlettoneAlfaAlgebraAlianteAlibiAlimentoAllagatoAllegroAllievoAllodolaAllusivoAlmenoAlogenoAlpacaAlpestreAltalenaAlternoAlticcioAltroveAlunnoAlveoloAlzareAmalgamaAmanitaAmarenaAmbitoAmbratoAmebaAmericaAmetistaAmicoAmmassoAmmendaAmmirareAmmonitoAmoreAmpioAmpliareAmuletoAnacardoAnagrafeAnalistaAnarchiaAnatraAncaAncellaAncoraAndareAndreaAnelloAngeloAngolareAngustoAnimaAnnegareAnnidatoAnnoAnnuncioAnonimoAnticipoAnziApaticoAperturaApodeApparireAppetitoAppoggioApprodoAppuntoAprileArabicaArachideAragostaAraldicaArancioAraturaArazzoArbitroArchivioArditoArenileArgentoArgineArgutoAriaArmoniaArneseArredatoArringaArrostoArsenicoArsoArteficeArzilloAsciuttoAscoltoAsepsiAsetticoAsfaltoAsinoAsolaAspiratoAsproAssaggioAsseAssolutoAssurdoAstaAstenutoAsticeAstrattoAtavicoAteismoAtomicoAtonoAttesaAttivareAttornoAttritoAttualeAusilioAustriaAutistaAutonomoAutunnoAvanzatoAvereAvvenireAvvisoAvvolgereAzioneAzotoAzzimoAzzurroBabeleBaccanoBacinoBacoBadessaBadilataBagnatoBaitaBalconeBaldoBalenaBallataBalzanoBambinoBandireBaraondaBarbaroBarcaBaritonoBarlumeBaroccoBasilicoBassoBatostaBattutoBauleBavaBavosaBeccoBeffaBelgioBelvaBendaBenevoleBenignoBenzinaBereBerlinaBetaBibitaBiciBidoneBifidoBigaBilanciaBimboBinocoloBiologoBipedeBipolareBirbanteBirraBiscottoBisestoBisnonnoBisonteBisturiBizzarroBlandoBlattaBollitoBonificoBordoBoscoBotanicoBottinoBozzoloBraccioBradipoBramaBrancaBravuraBretellaBrevettoBrezzaBrigliaBrillanteBrindareBroccoloBrodoBronzinaBrulloBrunoBubboneBucaBudinoBuffoneBuioBulboBuonoBurloneBurrascaBussolaBustaCadettoCaducoCalamaroCalcoloCalesseCalibroCalmoCaloriaCambusaCamerataCamiciaCamminoCamolaCampaleCanapaCandelaCaneCaninoCanottoCantinaCapaceCapelloCapitoloCapogiroCapperoCapraCapsulaCarapaceCarcassaCardoCarismaCarovanaCarrettoCartolinaCasaccioCascataCasermaCasoCassoneCastelloCasualeCatastaCatenaCatrameCautoCavilloCedibileCedrataCefaloCelebreCellulareCenaCenoneCentesimoCeramicaCercareCertoCerumeCervelloCesoiaCespoCetoChelaChiaroChiccaChiedereChimeraChinaChirurgoChitarraCiaoCiclismoCifrareCignoCilindroCiottoloCircaCirrosiCitricoCittadinoCiuffoCivettaCivileClassicoClinicaCloroCoccoCodardoCodiceCoerenteCognomeCollareColmatoColoreColposoColtivatoColzaComaCometaCommandoComodoComputerComuneConcisoCondurreConfermaCongelareConiugeConnessoConoscereConsumoContinuoConvegnoCopertoCopioneCoppiaCopricapoCorazzaCordataCoricatoCorniceCorollaCorpoCorredoCorsiaCorteseCosmicoCostanteCotturaCovatoCratereCravattaCreatoCredereCremosoCrescitaCretaCricetoCrinaleCrisiCriticoCroceCronacaCrostataCrucialeCruscaCucireCuculoCuginoCullatoCupolaCuratoreCursoreCurvoCuscinoCustodeDadoDainoDalmataDamerinoDanielaDannosoDanzareDatatoDavantiDavveroDebuttoDecennioDecisoDeclinoDecolloDecretoDedicatoDefinitoDeformeDegnoDelegareDelfinoDelirioDeltaDemenzaDenotatoDentroDepositoDerapataDerivareDerogaDescrittoDesertoDesiderioDesumereDetersivoDevotoDiametroDicembreDiedroDifesoDiffusoDigerireDigitaleDiluvioDinamicoDinnanziDipintoDiplomaDipoloDiradareDireDirottoDirupoDisagioDiscretoDisfareDisgeloDispostoDistanzaDisumanoDitoDivanoDiveltoDividereDivoratoDobloneDocenteDoganaleDogmaDolceDomatoDomenicaDominareDondoloDonoDormireDoteDottoreDovutoDozzinaDragoDruidoDubbioDubitareDucaleDunaDuomoDupliceDuraturoEbanoEccessoEccoEclissiEconomiaEderaEdicolaEdileEditoriaEducareEgemoniaEgliEgoismoEgregioElaboratoElargireEleganteElencatoElettoElevareElficoElicaElmoElsaElusoEmanatoEmblemaEmessoEmiroEmotivoEmozioneEmpiricoEmuloEndemicoEnduroEnergiaEnfasiEnotecaEntrareEnzimaEpatiteEpilogoEpisodioEpocaleEppureEquatoreErarioErbaErbosoEredeEremitaErigereErmeticoEroeErosivoErranteEsagonoEsameEsanimeEsaudireEscaEsempioEsercitoEsibitoEsigenteEsistereEsitoEsofagoEsortatoEsosoEspansoEspressoEssenzaEssoEstesoEstimareEstoniaEstrosoEsultareEtilicoEtnicoEtruscoEttoEuclideoEuropaEvasoEvidenzaEvitatoEvolutoEvvivaFabbricaFaccendaFachiroFalcoFamigliaFanaleFanfaraFangoFantasmaFareFarfallaFarinosoFarmacoFasciaFastosoFasulloFaticareFatoFavolosoFebbreFecolaFedeFegatoFelpaFeltroFemminaFendereFenomenoFermentoFerroFertileFessuraFestivoFettaFeudoFiabaFiduciaFifaFiguratoFiloFinanzaFinestraFinireFioreFiscaleFisicoFiumeFlaconeFlamencoFleboFlemmaFloridoFluenteFluoroFobicoFocacciaFocosoFoderatoFoglioFolataFolcloreFolgoreFondenteFoneticoFoniaFontanaForbitoForchettaForestaFormicaFornaioForoFortezzaForzareFosfatoFossoFracassoFranaFrassinoFratelloFreccettaFrenataFrescoFrigoFrollinoFrondeFrugaleFruttaFucilataFucsiaFuggenteFulmineFulvoFumanteFumettoFumosoFuneFunzioneFuocoFurboFurgoneFuroreFusoFutileGabbianoGaffeGalateoGallinaGaloppoGamberoGammaGaranziaGarboGarofanoGarzoneGasdottoGasolioGastricoGattoGaudioGazeboGazzellaGecoGelatinaGelsoGemelloGemmatoGeneGenitoreGennaioGenotipoGergoGhepardoGhiaccioGhisaGialloGildaGineproGiocareGioielloGiornoGioveGiratoGironeGittataGiudizioGiuratoGiustoGlobuloGlutineGnomoGobbaGolfGomitoGommoneGonfioGonnaGovernoGracileGradoGraficoGrammoGrandeGrattareGravosoGraziaGrecaGreggeGrifoneGrigioGrinzaGrottaGruppoGuadagnoGuaioGuantoGuardareGufoGuidareIbernatoIconaIdenticoIdillioIdoloIdraIdricoIdrogenoIgieneIgnaroIgnoratoIlareIllesoIllogicoIlludereImballoImbevutoImboccoImbutoImmaneImmersoImmolatoImpaccoImpetoImpiegoImportoImprontaInalareInarcareInattivoIncantoIncendioInchinoIncisivoInclusoIncontroIncrocioIncuboIndagineIndiaIndoleIneditoInfattiInfilareInflittoIngaggioIngegnoIngleseIngordoIngrossoInnescoInodoreInoltrareInondatoInsanoInsettoInsiemeInsonniaInsulinaIntasatoInteroIntonacoIntuitoInumidireInvalidoInveceInvitoIperboleIpnoticoIpotesiIppicaIrideIrlandaIronicoIrrigatoIrrorareIsolatoIsotopoIstericoIstitutoIstriceItaliaIterareLabbroLabirintoLaccaLaceratoLacrimaLacunaLaddoveLagoLampoLancettaLanternaLardosoLargaLaringeLastraLatenzaLatinoLattugaLavagnaLavoroLegaleLeggeroLemboLentezzaLenzaLeoneLepreLesivoLessatoLestoLetteraleLevaLevigatoLiberoLidoLievitoLillaLimaturaLimitareLimpidoLineareLinguaLiquidoLiraLiricaLiscaLiteLitigioLivreaLocandaLodeLogicaLombareLondraLongevoLoquaceLorenzoLotoLotteriaLuceLucidatoLumacaLuminosoLungoLupoLuppoloLusingaLussoLuttoMacabroMacchinaMaceroMacinatoMadamaMagicoMagliaMagneteMagroMaiolicaMalafedeMalgradoMalintesoMalsanoMaltoMalumoreManaManciaMandorlaMangiareManifestoMannaroManovraMansardaMantideManubrioMappaMaratonaMarcireMarettaMarmoMarsupioMascheraMassaiaMastinoMaterassoMatricolaMattoneMaturoMazurcaMeandroMeccanicoMecenateMedesimoMeditareMegaMelassaMelisMelodiaMeningeMenoMensolaMercurioMerendaMerloMeschinoMeseMessereMestoloMetalloMetodoMettereMiagolareMicaMicelioMicheleMicroboMidolloMieleMiglioreMilanoMiliteMimosaMineraleMiniMinoreMirinoMirtilloMiscelaMissivaMistoMisurareMitezzaMitigareMitraMittenteMnemonicoModelloModificaModuloMoganoMogioMoleMolossoMonasteroMoncoMondinaMonetarioMonileMonotonoMonsoneMontatoMonvisoMoraMordereMorsicatoMostroMotivatoMotosegaMottoMovenzaMovimentoMozzoMuccaMucosaMuffaMughettoMugnaioMulattoMulinelloMultiploMummiaMuntoMuovereMuraleMusaMuscoloMusicaMutevoleMutoNababboNaftaNanometroNarcisoNariceNarratoNascereNastrareNaturaleNauticaNaviglioNebulosaNecrosiNegativoNegozioNemmenoNeofitaNerettoNervoNessunoNettunoNeutraleNeveNevroticoNicchiaNinfaNitidoNobileNocivoNodoNomeNominaNordicoNormaleNorvegeseNostranoNotareNotiziaNotturnoNovellaNucleoNullaNumeroNuovoNutrireNuvolaNuzialeOasiObbedireObbligoObeliscoOblioOboloObsoletoOccasioneOcchioOccidenteOccorrereOccultareOcraOculatoOdiernoOdorareOffertaOffrireOffuscatoOggettoOggiOgnunoOlandeseOlfattoOliatoOlivaOlogrammaOltreOmaggioOmbelicoOmbraOmegaOmissioneOndosoOnereOniceOnnivoroOnorevoleOntaOperatoOpinioneOppostoOracoloOrafoOrdineOrecchinoOreficeOrfanoOrganicoOrigineOrizzonteOrmaOrmeggioOrnativoOrologioOrrendoOrribileOrtensiaOrticaOrzataOrzoOsareOscurareOsmosiOspedaleOspiteOssaOssidareOstacoloOsteOtiteOtreOttagonoOttimoOttobreOvaleOvestOvinoOviparoOvocitoOvunqueOvviareOzioPacchettoPacePacificoPadellaPadronePaesePagaPaginaPalazzinaPalesarePallidoPaloPaludePandoroPannelloPaoloPaonazzoPapricaParabolaParcellaParerePargoloPariParlatoParolaPartireParvenzaParzialePassivoPasticcaPataccaPatologiaPattumePavonePeccatoPedalarePedonalePeggioPelosoPenarePendicePenisolaPennutoPenombraPensarePentolaPepePepitaPerbenePercorsoPerdonatoPerforarePergamenaPeriodoPermessoPernoPerplessoPersuasoPertugioPervasoPesatorePesistaPesoPestiferoPetaloPettinePetulantePezzoPiacerePiantaPiattinoPiccinoPicozzaPiegaPietraPifferoPigiamaPigolioPigroPilaPiliferoPillolaPilotaPimpantePinetaPinnaPinoloPioggiaPiomboPiramidePireticoPiritePirolisiPitonePizzicoPlaceboPlanarePlasmaPlatanoPlenarioPochezzaPoderosoPodismoPoesiaPoggiarePolentaPoligonoPollicePolmonitePolpettaPolsoPoltronaPolverePomicePomodoroPontePopolosoPorfidoPorosoPorporaPorrePortataPosaPositivoPossessoPostulatoPotassioPoterePranzoPrassiPraticaPreclusoPredicaPrefissoPregiatoPrelievoPremerePrenotarePreparatoPresenzaPretestoPrevalsoPrimaPrincipePrivatoProblemaProcuraProdurreProfumoProgettoProlungaPromessaPronomePropostaProrogaProtesoProvaPrudentePrugnaPruritoPsichePubblicoPudicaPugilatoPugnoPulcePulitoPulsantePuntarePupazzoPupillaPuroQuadroQualcosaQuasiQuerelaQuotaRaccoltoRaddoppioRadicaleRadunatoRafficaRagazzoRagioneRagnoRamarroRamingoRamoRandagioRantolareRapatoRapinaRappresoRasaturaRaschiatoRasenteRassegnaRastrelloRataRavvedutoRealeRecepireRecintoReclutaReconditoRecuperoRedditoRedimereRegalatoRegistroRegolaRegressoRelazioneRemareRemotoRennaReplicaReprimereReputareResaResidenteResponsoRestauroReteRetinaRetoricaRettificaRevocatoRiassuntoRibadireRibelleRibrezzoRicaricaRiccoRicevereRiciclatoRicordoRicredutoRidicoloRidurreRifasareRiflessoRiformaRifugioRigareRigettatoRighelloRilassatoRilevatoRimanereRimbalzoRimedioRimorchioRinascitaRincaroRinforzoRinnovoRinomatoRinsavitoRintoccoRinunciaRinvenireRiparatoRipetutoRipienoRiportareRipresaRipulireRisataRischioRiservaRisibileRisoRispettoRistoroRisultatoRisvoltoRitardoRitegnoRitmicoRitrovoRiunioneRivaRiversoRivincitaRivoltoRizomaRobaRoboticoRobustoRocciaRocoRodaggioRodereRoditoreRogitoRollioRomanticoRompereRonzioRosolareRospoRotanteRotondoRotulaRovescioRubizzoRubricaRugaRullinoRumineRumorosoRuoloRupeRussareRusticoSabatoSabbiareSabotatoSagomaSalassoSaldaturaSalgemmaSalivareSalmoneSaloneSaltareSalutoSalvoSapereSapidoSaporitoSaracenoSarcasmoSartoSassosoSatelliteSatiraSatolloSaturnoSavanaSavioSaziatoSbadiglioSbalzoSbancatoSbarraSbattereSbavareSbendareSbirciareSbloccatoSbocciatoSbrinareSbruffoneSbuffareScabrosoScadenzaScalaScambiareScandaloScapolaScarsoScatenareScavatoSceltoScenicoScettroSchedaSchienaSciarpaScienzaScindereScippoSciroppoScivoloSclerareScodellaScolpitoScompartoSconfortoScoprireScortaScossoneScozzeseScribaScrollareScrutinioScuderiaScultoreScuolaScuroScusareSdebitareSdoganareSeccaturaSecondoSedanoSeggiolaSegnalatoSegregatoSeguitoSelciatoSelettivoSellaSelvaggioSemaforoSembrareSemeSeminatoSempreSensoSentireSepoltoSequenzaSerataSerbatoSerenoSerioSerpenteSerraglioServireSestinaSetolaSettimanaSfaceloSfaldareSfamatoSfarzosoSfaticatoSferaSfidaSfilatoSfingeSfocatoSfoderareSfogoSfoltireSforzatoSfrattoSfruttatoSfuggitoSfumareSfusoSgabelloSgarbatoSgonfiareSgorbioSgrassatoSguardoSibiloSiccomeSierraSiglaSignoreSilenzioSillabaSimboloSimpaticoSimulatoSinfoniaSingoloSinistroSinoSintesiSinusoideSiparioSismaSistoleSituatoSlittaSlogaturaSlovenoSmarritoSmemoratoSmentitoSmeraldoSmilzoSmontareSmottatoSmussatoSnellireSnervatoSnodoSobbalzoSobrioSoccorsoSocialeSodaleSoffittoSognoSoldatoSolenneSolidoSollazzoSoloSolubileSolventeSomaticoSommaSondaSonettoSonniferoSopireSoppesoSopraSorgereSorpassoSorrisoSorsoSorteggioSorvolatoSospiroSostaSottileSpadaSpallaSpargereSpatolaSpaventoSpazzolaSpecieSpedireSpegnereSpelaturaSperanzaSpessoreSpettraleSpezzatoSpiaSpigolosoSpillatoSpinosoSpiraleSplendidoSportivoSposoSprangaSprecareSpronatoSpruzzoSpuntinoSquilloSradicareSrotolatoStabileStaccoStaffaStagnareStampatoStantioStarnutoStaseraStatutoSteloSteppaSterzoStilettoStimaStirpeStivaleStizzosoStonatoStoricoStrappoStregatoStriduloStrozzareStruttoStuccareStufoStupendoSubentroSuccosoSudoreSuggeritoSugoSultanoSuonareSuperboSupportoSurgelatoSurrogatoSussurroSuturaSvagareSvedeseSveglioSvelareSvenutoSveziaSviluppoSvistaSvizzeraSvoltaSvuotareTabaccoTabulatoTacciareTaciturnoTaleTalismanoTamponeTanninoTaraTardivoTargatoTariffaTarpareTartarugaTastoTatticoTavernaTavolataTazzaTecaTecnicoTelefonoTemerarioTempoTemutoTendoneTeneroTensioneTentacoloTeoremaTermeTerrazzoTerzettoTesiTesseratoTestatoTetroTettoiaTifareTigellaTimbroTintoTipicoTipografoTiraggioTiroTitanioTitoloTitubanteTizioTizzoneToccareTollerareToltoTombolaTomoTonfoTonsillaTopazioTopologiaToppaTorbaTornareTorroneTortoraToscanoTossireTostaturaTotanoTraboccoTracheaTrafilaTragediaTralcioTramontoTransitoTrapanoTrarreTraslocoTrattatoTraveTrecciaTremolioTrespoloTributoTrichecoTrifoglioTrilloTrinceaTrioTristezzaTrituratoTrivellaTrombaTronoTroppoTrottolaTrovareTruccatoTubaturaTuffatoTulipanoTumultoTunisiaTurbareTurchinoTutaTutelaUbicatoUccelloUccisoreUdireUditivoUffaUfficioUgualeUlisseUltimatoUmanoUmileUmorismoUncinettoUngereUnghereseUnicornoUnificatoUnisonoUnitarioUnteUovoUpupaUraganoUrgenzaUrloUsanzaUsatoUscitoUsignoloUsuraioUtensileUtilizzoUtopiaVacanteVaccinatoVagabondoVagliatoValangaValgoValicoVallettaValorosoValutareValvolaVampataVangareVanitosoVanoVantaggioVanveraVaporeVaranoVarcatoVarianteVascaVedettaVedovaVedutoVegetaleVeicoloVelcroVelinaVellutoVeloceVenatoVendemmiaVentoVeraceVerbaleVergognaVerificaVeroVerrucaVerticaleVescicaVessilloVestaleVeteranoVetrinaVetustoViandanteVibranteVicendaVichingoVicinanzaVidimareVigiliaVignetoVigoreVileVillanoViminiVincitoreViolaViperaVirgolaVirologoVirulentoViscosoVisioneVispoVissutoVisuraVitaVitelloVittimaVivandaVividoViziareVoceVogaVolatileVolereVolpeVoragineVulcanoZampognaZannaZappatoZatteraZavorraZefiroZelanteZeloZenzeroZerbinoZibettoZincoZirconeZittoZollaZoticoZuccheroZufoloZuluZuppa",Hk=null;function iDe(t){if(Hk==null&&(Hk=W$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Wre.Wordlist.check(t)!=="0x5c1362d88fd4cf614a96f3234941d29f7d37c08c5292fde03bf62c2db6ff7620"))throw Hk=null,new Error("BIP39 Wordlist for it (Italian) FAILED")}var q$0=function(t){z$0(e,t);function e(){return t.call(this,"it")||this}return e.prototype.getWord=function(n){return iDe(this),Hk[n]},e.prototype.getWordIndex=function(n){return iDe(this),Hk.indexOf(n)},e}(Wre.Wordlist),sDe=new q$0;gT.langIt=sDe;Wre.Wordlist.register(sDe)});var uDe=D(Y3=>{"use strict";u();p();var j$0=Y3&&Y3.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(Y3,"__esModule",{value:!0});Y3.langZhTw=Y3.langZhCn=void 0;var G$0=_i(),zk=L2(),qre="}aE#4A=Yv&co#4N#6G=cJ&SM#66|/Z#4t&kn~46#4K~4q%b9=IR#7l,mB#7W_X2*dl}Uo~7s}Uf&Iw#9c&cw~6O&H6&wx&IG%v5=IQ~8a&Pv#47$PR&50%Ko&QM&3l#5f,D9#4L|/H&tQ;v0~6n]nN?";function cDe(t){if(vT[t.locale]===null){vT[t.locale]=[];for(var e=0,n=0;n<2048;n++){var a=V$0.indexOf(qre[n*3]),r=[228+(a>>2),128+jre.indexOf(qre[n*3+1]),128+jre.indexOf(qre[n*3+2])];if(t.locale==="zh_tw")for(var f=a%4,i=f;i<3;i++)r[i]=jre.indexOf(K$0[e++])+(i==0?228:128);vT[t.locale].push((0,G$0.toUtf8String)(r))}if(zk.Wordlist.check(t)!==Q$0[t.locale])throw vT[t.locale]=null,new Error("BIP39 Wordlist for "+t.locale+" (Chinese) FAILED")}}var dDe=function(t){j$0(e,t);function e(n){return t.call(this,"zh_"+n)||this}return e.prototype.getWord=function(n){return cDe(this),vT[this.locale][n]},e.prototype.getWordIndex=function(n){return cDe(this),vT[this.locale].indexOf(n)},e.prototype.split=function(n){return n=n.replace(/(?:\u3000| )+/g,""),n.split("")},e}(zk.Wordlist),Gre=new dDe("cn");Y3.langZhCn=Gre;zk.Wordlist.register(Gre);zk.Wordlist.register(Gre,"zh");var lDe=new dDe("tw");Y3.langZhTw=lDe;zk.Wordlist.register(lDe)});var pDe=D(pH=>{"use strict";u();p();Object.defineProperty(pH,"__esModule",{value:!0});pH.wordlists=void 0;var Y$0=UBe(),$$0=WBe(),J$0=QBe(),X$0=XBe(),Z$0=nDe(),eJ0=fDe(),tJ0=oDe(),Kre=uDe();pH.wordlists={cz:Y$0.langCz,en:$$0.langEn,es:J$0.langEs,fr:X$0.langFr,it:tJ0.langIt,ja:Z$0.langJa,ko:eJ0.langKo,zh:Kre.langZhCn,zh_cn:Kre.langZhCn,zh_tw:Kre.langZhTw}});var Qre=D($3=>{"use strict";u();p();Object.defineProperty($3,"__esModule",{value:!0});$3.wordlists=$3.Wordlist=$3.logger=void 0;var hDe=L2();Object.defineProperty($3,"logger",{enumerable:!0,get:function(){return hDe.logger}});Object.defineProperty($3,"Wordlist",{enumerable:!0,get:function(){return hDe.Wordlist}});var nJ0=pDe();Object.defineProperty($3,"wordlists",{enumerable:!0,get:function(){return nJ0.wordlists}})});var bDe=D(hH=>{"use strict";u();p();Object.defineProperty(hH,"__esModule",{value:!0});hH.version=void 0;hH.version="hdnode/5.7.0"});var mH=D(Ko=>{"use strict";u();p();Object.defineProperty(Ko,"__esModule",{value:!0});Ko.getAccountPath=Ko.isValidMnemonic=Ko.entropyToMnemonic=Ko.mnemonicToEntropy=Ko.mnemonicToSeed=Ko.HDNode=Ko.defaultPath=void 0;var vDe=tH(),gr=Vt(),wDe=ia(),Wk=_i(),aJ0=iH(),Go=Ba(),mDe=kk(),F2=h7(),rJ0=P2(),yDe=Qre(),fJ0=Ft(),iJ0=bDe(),qk=new fJ0.Logger(iJ0.version),sJ0=wDe.BigNumber.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),oJ0=(0,Wk.toUtf8Bytes)("Bitcoin seed"),TT=2147483648;function TDe(t){return(1<=256)throw new Error("Depth too large!");return gDe((0,gr.concat)([this.privateKey!=null?"0x0488ADE4":"0x0488B21E",(0,gr.hexlify)(this.depth),this.parentFingerprint,(0,gr.hexZeroPad)((0,gr.hexlify)(this.index),4),this.chainCode,this.privateKey!=null?(0,gr.concat)(["0x00",this.privateKey]):this.publicKey]))},enumerable:!1,configurable:!0}),t.prototype.neuter=function(){return new t(wT,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)},t.prototype._derive=function(e){if(e>4294967295)throw new Error("invalid index - "+String(e));var n=this.path;n&&(n+="/"+(e&~TT));var a=new Uint8Array(37);if(e&TT){if(!this.privateKey)throw new Error("cannot derive child of neutered node");a.set((0,gr.arrayify)(this.privateKey),1),n&&(n+="'")}else a.set((0,gr.arrayify)(this.publicKey));for(var r=24;r>=0;r-=8)a[33+(r>>3)]=e>>24-r&255;var f=(0,gr.arrayify)((0,F2.computeHmac)(F2.SupportedAlgorithm.sha512,this.chainCode,a)),i=f.slice(0,32),s=f.slice(32),o=null,c=null;if(this.privateKey)o=bH(wDe.BigNumber.from(i).add(this.privateKey).mod(sJ0));else{var d=new mDe.SigningKey((0,gr.hexlify)(i));c=d._addPoint(this.publicKey)}var l=n,h=this.mnemonic;return h&&(l=Object.freeze({phrase:h.phrase,path:n,locale:h.locale||"en"})),new t(wT,o,c,this.fingerprint,bH(s),e,this.depth+1,l)},t.prototype.derivePath=function(e){var n=e.split("/");if(n.length===0||n[0]==="m"&&this.depth!==0)throw new Error("invalid path - "+e);n[0]==="m"&&n.shift();for(var a=this,r=0;r=TT)throw new Error("invalid path index - "+f);a=a._derive(TT+i)}else if(f.match(/^[0-9]+$/)){var i=parseInt(f);if(i>=TT)throw new Error("invalid path index - "+f);a=a._derive(i)}else throw new Error("invalid path component - "+f)}return a},t._fromSeed=function(e,n){var a=(0,gr.arrayify)(e);if(a.length<16||a.length>64)throw new Error("invalid seed");var r=(0,gr.arrayify)((0,F2.computeHmac)(F2.SupportedAlgorithm.sha512,oJ0,a));return new t(wT,bH(r.slice(0,32)),null,"0x00000000",bH(r.slice(32)),0,0,n)},t.fromMnemonic=function(e,n,a){return a=Vre(a),e=EDe(Yre(e,a),a),t._fromSeed(xDe(e,n),{phrase:e,path:"m",locale:a.locale})},t.fromSeed=function(e){return t._fromSeed(e,null)},t.fromExtendedKey=function(e){var n=vDe.Base58.decode(e);(n.length!==82||gDe(n.slice(0,78))!==e)&&qk.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");var a=n[4],r=(0,gr.hexlify)(n.slice(5,9)),f=parseInt((0,gr.hexlify)(n.slice(9,13)).substring(2),16),i=(0,gr.hexlify)(n.slice(13,45)),s=n.slice(45,78);switch((0,gr.hexlify)(n.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new t(wT,null,(0,gr.hexlify)(s),r,i,f,a,null);case"0x0488ade4":case"0x04358394 ":if(s[0]!==0)break;return new t(wT,(0,gr.hexlify)(s.slice(1)),null,r,i,f,a,null)}return qk.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")},t}();Ko.HDNode=dJ0;function xDe(t,e){e||(e="");var n=(0,Wk.toUtf8Bytes)("mnemonic"+e,Wk.UnicodeNormalizationForm.NFKD);return(0,aJ0.pbkdf2)((0,Wk.toUtf8Bytes)(t,Wk.UnicodeNormalizationForm.NFKD),n,2048,64,"sha512")}Ko.mnemonicToSeed=xDe;function Yre(t,e){e=Vre(e),qk.checkNormalize();var n=e.split(t);if(n.length%3!==0)throw new Error("invalid mnemonic");for(var a=(0,gr.arrayify)(new Uint8Array(Math.ceil(11*n.length/8))),r=0,f=0;f>3]|=1<<7-r%8),r++}var o=32*n.length/3,c=n.length/3,d=TDe(c),l=(0,gr.arrayify)((0,F2.sha256)(a.slice(0,o/8)))[0]&d;if(l!==(a[a.length-1]&d))throw new Error("invalid checksum");return(0,gr.hexlify)(a.slice(0,o/8))}Ko.mnemonicToEntropy=Yre;function EDe(t,e){if(e=Vre(e),t=(0,gr.arrayify)(t),t.length%4!==0||t.length<16||t.length>32)throw new Error("invalid entropy");for(var n=[0],a=11,r=0;r8?(n[n.length-1]<<=8,n[n.length-1]|=t[r],a-=8):(n[n.length-1]<<=a,n[n.length-1]|=t[r]>>8-a,n.push(t[r]&cJ0(8-a)),a+=3);var f=t.length/4,i=(0,gr.arrayify)((0,F2.sha256)(t))[0]&TDe(f);return n[n.length-1]<<=f,n[n.length-1]|=i>>8-f,e.join(n.map(function(s){return e.getWord(s)}))}Ko.entropyToMnemonic=EDe;function lJ0(t,e){try{return Yre(t,e),!0}catch{}return!1}Ko.isValidMnemonic=lJ0;function uJ0(t){return(typeof t!="number"||t<0||t>=TT||t%1)&&qk.throwArgumentError("invalid account index","index",t),"m/44'/60'/"+t+"'/0/0"}Ko.getAccountPath=uJ0});var _De=D(yH=>{"use strict";u();p();Object.defineProperty(yH,"__esModule",{value:!0});yH.version=void 0;yH.version="random/5.7.0"});var IDe=D(vH=>{"use strict";u();p();Object.defineProperty(vH,"__esModule",{value:!0});vH.randomBytes=void 0;var pJ0=Vt(),CDe=Ft(),hJ0=_De(),$re=new CDe.Logger(hJ0.version);function bJ0(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}var ADe=bJ0(),gH=ADe.crypto||ADe.msCrypto;(!gH||!gH.getRandomValues)&&($re.warn("WARNING: Missing strong random number source"),gH={getRandomValues:function(t){return $re.throwError("no secure random source avaialble",CDe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});function mJ0(t){(t<=0||t>1024||t%1||t!=t)&&$re.throwArgumentError("invalid length","length",t);var e=new Uint8Array(t);return gH.getRandomValues(e),(0,pJ0.arrayify)(e)}vH.randomBytes=mJ0});var kDe=D(wH=>{"use strict";u();p();Object.defineProperty(wH,"__esModule",{value:!0});wH.shuffled=void 0;function yJ0(t){t=t.slice();for(var e=t.length-1;e>0;e--){var n=Math.floor(Math.random()*(e+1)),a=t[e];t[e]=t[n],t[n]=a}return t}wH.shuffled=yJ0});var jk=D(xT=>{"use strict";u();p();Object.defineProperty(xT,"__esModule",{value:!0});xT.shuffled=xT.randomBytes=void 0;var gJ0=IDe();Object.defineProperty(xT,"randomBytes",{enumerable:!0,get:function(){return gJ0.randomBytes}});var vJ0=kDe();Object.defineProperty(xT,"shuffled",{enumerable:!0,get:function(){return vJ0.shuffled}})});var Xre=D((Jre,SDe)=>{"use strict";u();p();(function(t){function e(g){return parseInt(g)===g}function n(g){if(!e(g.length))return!1;for(var B=0;B255)return!1;return!0}function a(g,B){if(g.buffer&&ArrayBuffer.isView(g)&&g.name==="Uint8Array")return B&&(g.slice?g=g.slice():g=Array.prototype.slice.call(g)),g;if(Array.isArray(g)){if(!n(g))throw new Error("Array contains invalid value: "+g);return new Uint8Array(g)}if(e(g.length)&&n(g))return new Uint8Array(g);throw new Error("unsupported array-like object")}function r(g){return new Uint8Array(g)}function f(g,B,M,S,q){(S!=null||q!=null)&&(g.slice?g=g.slice(S,q):g=Array.prototype.slice.call(g,S,q)),B.set(g,M)}var i=function(){function g(M){var S=[],q=0;for(M=encodeURI(M);q191&&ee<224?(S.push(String.fromCharCode((ee&31)<<6|M[q+1]&63)),q+=2):(S.push(String.fromCharCode((ee&15)<<12|(M[q+1]&63)<<6|M[q+2]&63)),q+=3)}return S.join("")}return{toBytes:g,fromBytes:B}}(),s=function(){function g(S){for(var q=[],ee=0;ee>4]+B[U&15])}return q.join("")}return{toBytes:g,fromBytes:M}}(),o={16:10,24:12,32:14},c=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],d=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],l=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],h=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],y=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],v=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],k=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],O=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],F=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],z=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],W=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],j=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],Q=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],V=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],X=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function K(g){for(var B=[],M=0;M>2,this._Ke[ee][B%4]=q[B],this._Kd[g-ee][B%4]=q[B];for(var U=0,J=S,Z;J>16&255]<<24^d[Z>>8&255]<<16^d[Z&255]<<8^d[Z>>24&255]^c[U]<<24,U+=1,S!=8)for(var B=1;B>8&255]<<8^d[Z>>16&255]<<16^d[Z>>24&255]<<24;for(var B=S/2+1;B>2,ue=J%4,this._Ke[ne][ue]=q[B],this._Kd[g-ne][ue]=q[B++],J++}for(var ne=1;ne>24&255]^Q[Z>>16&255]^V[Z>>8&255]^X[Z&255]},G.prototype.encrypt=function(g){if(g.length!=16)throw new Error("invalid plaintext size (must be 16 bytes)");for(var B=this._Ke.length-1,M=[0,0,0,0],S=K(g),q=0;q<4;q++)S[q]^=this._Ke[0][q];for(var ee=1;ee>24&255]^y[S[(q+1)%4]>>16&255]^v[S[(q+2)%4]>>8&255]^k[S[(q+3)%4]&255]^this._Ke[ee][q];S=M.slice()}for(var U=r(16),J,q=0;q<4;q++)J=this._Ke[B][q],U[4*q]=(d[S[q]>>24&255]^J>>24)&255,U[4*q+1]=(d[S[(q+1)%4]>>16&255]^J>>16)&255,U[4*q+2]=(d[S[(q+2)%4]>>8&255]^J>>8)&255,U[4*q+3]=(d[S[(q+3)%4]&255]^J)&255;return U},G.prototype.decrypt=function(g){if(g.length!=16)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var B=this._Kd.length-1,M=[0,0,0,0],S=K(g),q=0;q<4;q++)S[q]^=this._Kd[0][q];for(var ee=1;ee>24&255]^F[S[(q+3)%4]>>16&255]^z[S[(q+2)%4]>>8&255]^W[S[(q+1)%4]&255]^this._Kd[ee][q];S=M.slice()}for(var U=r(16),J,q=0;q<4;q++)J=this._Kd[B][q],U[4*q]=(l[S[q]>>24&255]^J>>24)&255,U[4*q+1]=(l[S[(q+3)%4]>>16&255]^J>>16)&255,U[4*q+2]=(l[S[(q+2)%4]>>8&255]^J>>8)&255,U[4*q+3]=(l[S[(q+1)%4]&255]^J)&255;return U};var R=function(g){if(!(this instanceof R))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new G(g)};R.prototype.encrypt=function(g){if(g=a(g),g.length%16!==0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var B=r(g.length),M=r(16),S=0;S=0;--B)this._counter[B]=g%256,g=g>>8},m.prototype.setBytes=function(g){if(g=a(g,!0),g.length!=16)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=g},m.prototype.increment=function(){for(var g=15;g>=0;g--)if(this._counter[g]===255)this._counter[g]=0;else{this._counter[g]++;break}};var A=function(g,B){if(!(this instanceof A))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",B instanceof m||(B=new m(B)),this._counter=B,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new G(g)};A.prototype.encrypt=function(g){for(var B=a(g,!0),M=0;M16)throw new Error("PKCS#7 padding byte out of range");for(var M=g.length-B,S=0;S{"use strict";u();p();Object.defineProperty(TH,"__esModule",{value:!0});TH.version=void 0;TH.version="json-wallets/5.7.0"});var efe=D(z5=>{"use strict";u();p();Object.defineProperty(z5,"__esModule",{value:!0});z5.uuidV4=z5.searchPath=z5.getPassword=z5.zpad=z5.looseArrayify=void 0;var xH=Vt(),RDe=_i();function wJ0(t){return typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),(0,xH.arrayify)(t)}z5.looseArrayify=wJ0;function TJ0(t,e){for(t=String(t);t.length{"use strict";u();p();var AJ0=N2&&N2.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),CJ0=N2&&N2.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(N2,"__esModule",{value:!0});N2.decrypt=N2.CrowdsaleAccount=void 0;var MDe=CJ0(Xre()),IJ0=Bo(),BDe=Vt(),kJ0=O1(),SJ0=iH(),RJ0=_i(),MJ0=Ba(),BJ0=Ft(),DJ0=Zre(),PJ0=new BJ0.Logger(DJ0.version),EH=efe(),DDe=function(t){AJ0(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isCrowdsaleAccount=function(n){return!!(n&&n._isCrowdsaleAccount)},e}(MJ0.Description);N2.CrowdsaleAccount=DDe;function LJ0(t,e){var n=JSON.parse(t);e=(0,EH.getPassword)(e);var a=(0,IJ0.getAddress)((0,EH.searchPath)(n,"ethaddr")),r=(0,EH.looseArrayify)((0,EH.searchPath)(n,"encseed"));(!r||r.length%16!==0)&&PJ0.throwArgumentError("invalid encseed","json",t);for(var f=(0,BDe.arrayify)((0,SJ0.pbkdf2)(e,e,2e3,32,"sha256")).slice(0,16),i=r.slice(0,16),s=r.slice(16),o=new MDe.default.ModeOfOperation.cbc(f,i),c=MDe.default.padding.pkcs7.strip((0,BDe.arrayify)(o.decrypt(s))),d="",l=0;l{"use strict";u();p();Object.defineProperty(J3,"__esModule",{value:!0});J3.getJsonWalletAddress=J3.isKeystoreWallet=J3.isCrowdsaleWallet=void 0;var LDe=Bo();function FDe(t){var e=null;try{e=JSON.parse(t)}catch{return!1}return e.encseed&&e.ethaddr}J3.isCrowdsaleWallet=FDe;function NDe(t){var e=null;try{e=JSON.parse(t)}catch{return!1}return!(!e.version||parseInt(e.version)!==e.version||parseInt(e.version)!==3)}J3.isKeystoreWallet=NDe;function FJ0(t){if(FDe(t))try{return(0,LDe.getAddress)(JSON.parse(t).ethaddr)}catch{return null}if(NDe(t))try{return(0,LDe.getAddress)(JSON.parse(t).address)}catch{return null}return null}J3.getJsonWalletAddress=FJ0});var HDe=D((tfe,UDe)=>{"use strict";u();p();(function(t){function n(y){let v=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),k=1779033703,O=3144134277,F=1013904242,z=2773480762,W=1359893119,j=2600822924,Q=528734635,V=1541459225,X=new Uint32Array(64);function K(A){let P=0,L=A.length;for(;L>=64;){let x=k,g=O,B=F,M=z,S=W,q=j,ee=Q,U=V,J,Z,ne,ue,Y;for(Z=0;Z<16;Z++)ne=P+Z*4,X[Z]=(A[ne]&255)<<24|(A[ne+1]&255)<<16|(A[ne+2]&255)<<8|A[ne+3]&255;for(Z=16;Z<64;Z++)J=X[Z-2],ue=(J>>>17|J<<15)^(J>>>19|J<<13)^J>>>10,J=X[Z-15],Y=(J>>>7|J<<25)^(J>>>18|J<<14)^J>>>3,X[Z]=(ue+X[Z-7]|0)+(Y+X[Z-16]|0)|0;for(Z=0;Z<64;Z++)ue=(((S>>>6|S<<26)^(S>>>11|S<<21)^(S>>>25|S<<7))+(S&q^~S&ee)|0)+(U+(v[Z]+X[Z]|0)|0)|0,Y=((x>>>2|x<<30)^(x>>>13|x<<19)^(x>>>22|x<<10))+(x&g^x&B^g&B)|0,U=ee,ee=q,q=S,S=M+ue|0,M=B,B=g,g=x,x=ue+Y|0;k=k+x|0,O=O+g|0,F=F+B|0,z=z+M|0,W=W+S|0,j=j+q|0,Q=Q+ee|0,V=V+U|0,P+=64,L-=64}}K(y);let G,R=y.length%64,T=y.length/536870912|0,N=y.length<<3,w=R<56?56:120,m=y.slice(y.length-R,y.length);for(m.push(128),G=R+1;G>>24&255),m.push(T>>>16&255),m.push(T>>>8&255),m.push(T>>>0&255),m.push(N>>>24&255),m.push(N>>>16&255),m.push(N>>>8&255),m.push(N>>>0&255),K(m),[k>>>24&255,k>>>16&255,k>>>8&255,k>>>0&255,O>>>24&255,O>>>16&255,O>>>8&255,O>>>0&255,F>>>24&255,F>>>16&255,F>>>8&255,F>>>0&255,z>>>24&255,z>>>16&255,z>>>8&255,z>>>0&255,W>>>24&255,W>>>16&255,W>>>8&255,W>>>0&255,j>>>24&255,j>>>16&255,j>>>8&255,j>>>0&255,Q>>>24&255,Q>>>16&255,Q>>>8&255,Q>>>0&255,V>>>24&255,V>>>16&255,V>>>8&255,V>>>0&255]}function a(y,v,k){y=y.length<=64?y:n(y);let O=64+v.length+4,F=new Array(O),z=new Array(64),W,j=[];for(W=0;W<64;W++)F[W]=54;for(W=0;W=O-4;V--){if(F[V]++,F[V]<=255)return;F[V]=0}}for(;k>=32;)Q(),j=j.concat(n(z.concat(n(F)))),k-=32;return k>0&&(Q(),j=j.concat(n(z.concat(n(F))).slice(0,k))),j}function r(y,v,k,O,F){let z;for(o(y,(2*k-1)*16,F,0,16),z=0;z<2*k;z++)s(y,z*16,F,16),i(F,O),o(F,0,y,v+z*16,16);for(z=0;z>>32-v}function i(y,v){o(y,0,v,0,16);for(let k=8;k>0;k-=2)v[4]^=f(v[0]+v[12],7),v[8]^=f(v[4]+v[0],9),v[12]^=f(v[8]+v[4],13),v[0]^=f(v[12]+v[8],18),v[9]^=f(v[5]+v[1],7),v[13]^=f(v[9]+v[5],9),v[1]^=f(v[13]+v[9],13),v[5]^=f(v[1]+v[13],18),v[14]^=f(v[10]+v[6],7),v[2]^=f(v[14]+v[10],9),v[6]^=f(v[2]+v[14],13),v[10]^=f(v[6]+v[2],18),v[3]^=f(v[15]+v[11],7),v[7]^=f(v[3]+v[15],9),v[11]^=f(v[7]+v[3],13),v[15]^=f(v[11]+v[7],18),v[1]^=f(v[0]+v[3],7),v[2]^=f(v[1]+v[0],9),v[3]^=f(v[2]+v[1],13),v[0]^=f(v[3]+v[2],18),v[6]^=f(v[5]+v[4],7),v[7]^=f(v[6]+v[5],9),v[4]^=f(v[7]+v[6],13),v[5]^=f(v[4]+v[7],18),v[11]^=f(v[10]+v[9],7),v[8]^=f(v[11]+v[10],9),v[9]^=f(v[8]+v[11],13),v[10]^=f(v[9]+v[8],18),v[12]^=f(v[15]+v[14],7),v[13]^=f(v[12]+v[15],9),v[14]^=f(v[13]+v[12],13),v[15]^=f(v[14]+v[13],18);for(let k=0;k<16;++k)y[k]+=v[k]}function s(y,v,k,O){for(let F=0;F=256)return!1}return!0}function d(y,v){if(typeof y!="number"||y%1)throw new Error("invalid "+v);return y}function l(y,v,k,O,F,z,W){if(k=d(k,"N"),O=d(O,"r"),F=d(F,"p"),z=d(z,"dkLen"),k===0||k&k-1)throw new Error("N must be power of 2");if(k>2147483647/128/O)throw new Error("N too large");if(O>2147483647/128/F)throw new Error("r too large");if(!c(y))throw new Error("password must be an array or buffer");if(y=Array.prototype.slice.call(y),!c(v))throw new Error("salt must be an array or buffer");v=Array.prototype.slice.call(v);let j=a(y,v,F*128*O),Q=new Uint32Array(F*32*O);for(let S=0;Sg&&(S=g);for(let ee=0;eeg&&(S=g);for(let ee=0;ee>0&255),j.push(Q[ee]>>8&255),j.push(Q[ee]>>16&255),j.push(Q[ee]>>24&255);let q=a(y,j,z);return W&&W(null,1,q),q}W&&B(M)};if(!W)for(;;){let S=M();if(S!=null)return S}M()}let h={scrypt:function(y,v,k,O,F,z,W){return new Promise(function(j,Q){let V=0;W&&W(0),l(y,v,k,O,F,z,function(X,K,G){if(X)Q(X);else if(G)W&&V!==1&&W(1),j(new Uint8Array(G));else if(W&&K!==V)return V=K,W(K)})})},syncScrypt:function(y,v,k,O,F,z){return new Uint8Array(l(y,v,k,O,F,z))}};typeof tfe<"u"?UDe.exports=h:typeof define=="function"&&define.amd?define(h):t&&(t.scrypt&&(t._scrypt=t.scrypt),t.scrypt=h)})(tfe)});var $De=D(xs=>{"use strict";u();p();var NJ0=xs&&xs.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),OJ0=xs&&xs.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},UJ0=xs&&xs.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();Object.defineProperty(Si,"__esModule",{value:!0});Si.decryptJsonWalletSync=Si.decryptJsonWallet=Si.getJsonWalletAddress=Si.isKeystoreWallet=Si.isCrowdsaleWallet=Si.encryptKeystore=Si.decryptKeystoreSync=Si.decryptKeystore=Si.decryptCrowdsale=void 0;var ffe=PDe();Object.defineProperty(Si,"decryptCrowdsale",{enumerable:!0,get:function(){return ffe.decrypt}});var g7=ODe();Object.defineProperty(Si,"getJsonWalletAddress",{enumerable:!0,get:function(){return g7.getJsonWalletAddress}});Object.defineProperty(Si,"isCrowdsaleWallet",{enumerable:!0,get:function(){return g7.isCrowdsaleWallet}});Object.defineProperty(Si,"isKeystoreWallet",{enumerable:!0,get:function(){return g7.isKeystoreWallet}});var Gk=$De();Object.defineProperty(Si,"decryptKeystore",{enumerable:!0,get:function(){return Gk.decrypt}});Object.defineProperty(Si,"decryptKeystoreSync",{enumerable:!0,get:function(){return Gk.decryptSync}});Object.defineProperty(Si,"encryptKeystore",{enumerable:!0,get:function(){return Gk.encrypt}});function VJ0(t,e,n){if((0,g7.isCrowdsaleWallet)(t)){n&&n(0);var a=(0,ffe.decrypt)(t,e);return n&&n(1),Promise.resolve(a)}return(0,g7.isKeystoreWallet)(t)?(0,Gk.decrypt)(t,e,n):Promise.reject(new Error("invalid JSON wallet"))}Si.decryptJsonWallet=VJ0;function YJ0(t,e){if((0,g7.isCrowdsaleWallet)(t))return(0,ffe.decrypt)(t,e);if((0,g7.isKeystoreWallet)(t))return(0,Gk.decryptSync)(t,e);throw new Error("invalid JSON wallet")}Si.decryptJsonWalletSync=YJ0});var JDe=D(AH=>{"use strict";u();p();Object.defineProperty(AH,"__esModule",{value:!0});AH.version=void 0;AH.version="wallet/5.7.0"});var cfe=D(Pc=>{"use strict";u();p();var $J0=Pc&&Pc.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),XDe=Pc&&Pc.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},ZDe=Pc&&Pc.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();Object.defineProperty(CH,"__esModule",{value:!0});CH.version=void 0;CH.version="networks/5.7.1"});var dfe=D(SH=>{"use strict";u();p();Object.defineProperty(SH,"__esModule",{value:!0});SH.getNetwork=void 0;var iX0=Ft(),sX0=aPe(),rPe=new iX0.Logger(sX0.version);function oX0(t){return t&&typeof t.renetwork=="function"}function E8(t){var e=function(n,a){a==null&&(a={});var r=[];if(n.InfuraProvider&&a.infura!=="-")try{r.push(new n.InfuraProvider(t,a.infura))}catch{}if(n.EtherscanProvider&&a.etherscan!=="-")try{r.push(new n.EtherscanProvider(t,a.etherscan))}catch{}if(n.AlchemyProvider&&a.alchemy!=="-")try{r.push(new n.AlchemyProvider(t,a.alchemy))}catch{}if(n.PocketProvider&&a.pocket!=="-"){var f=["goerli","ropsten","rinkeby","sepolia"];try{var i=new n.PocketProvider(t,a.pocket);i.network&&f.indexOf(i.network.name)===-1&&r.push(i)}catch{}}if(n.CloudflareProvider&&a.cloudflare!=="-")try{r.push(new n.CloudflareProvider(t))}catch{}if(n.AnkrProvider&&a.ankr!=="-")try{var f=["ropsten"],i=new n.AnkrProvider(t,a.ankr);i.network&&f.indexOf(i.network.name)===-1&&r.push(i)}catch{}if(r.length===0)return null;if(n.FallbackProvider){var s=1;return a.quorum!=null?s=a.quorum:t==="homestead"&&(s=2),new n.FallbackProvider(r,s)}return r[0]};return e.renetwork=function(n){return E8(n)},e}function kH(t,e){var n=function(a,r){return a.JsonRpcProvider?new a.JsonRpcProvider(t,e):null};return n.renetwork=function(a){return kH(t,a)},n}var fPe={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:E8("homestead")},iPe={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:E8("ropsten")},sPe={chainId:63,name:"classicMordor",_defaultProvider:kH("https://www.ethercluster.com/mordor","classicMordor")},IH={unspecified:{chainId:0,name:"unspecified"},homestead:fPe,mainnet:fPe,morden:{chainId:2,name:"morden"},ropsten:iPe,testnet:iPe,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:E8("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:E8("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:E8("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},sepolia:{chainId:11155111,name:"sepolia",_defaultProvider:E8("sepolia")},classic:{chainId:61,name:"classic",_defaultProvider:kH("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:sPe,classicTestnet:sPe,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:kH("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:E8("matic")},maticmum:{chainId:80001,name:"maticmum"},optimism:{chainId:10,name:"optimism",_defaultProvider:E8("optimism")},"optimism-kovan":{chainId:69,name:"optimism-kovan"},"optimism-goerli":{chainId:420,name:"optimism-goerli"},arbitrum:{chainId:42161,name:"arbitrum"},"arbitrum-rinkeby":{chainId:421611,name:"arbitrum-rinkeby"},"arbitrum-goerli":{chainId:421613,name:"arbitrum-goerli"},bnb:{chainId:56,name:"bnb"},bnbt:{chainId:97,name:"bnbt"}};function cX0(t){if(t==null)return null;if(typeof t=="number"){for(var e in IH){var n=IH[e];if(n.chainId===t)return{name:n.name,chainId:n.chainId,ensAddress:n.ensAddress||null,_defaultProvider:n._defaultProvider||null}}return{chainId:t,name:"unknown"}}if(typeof t=="string"){var a=IH[t];return a==null?null:{name:a.name,chainId:a.chainId,ensAddress:a.ensAddress,_defaultProvider:a._defaultProvider||null}}var r=IH[t.name];if(!r)return typeof t.chainId!="number"&&rPe.throwArgumentError("invalid network chainId","network",t),t;t.chainId!==0&&t.chainId!==r.chainId&&rPe.throwArgumentError("network chainId mismatch","network",t);var f=t._defaultProvider||null;return f==null&&r._defaultProvider&&(oX0(r._defaultProvider)?f=r._defaultProvider.renetwork(t):f=r._defaultProvider),{name:t.name,chainId:r.chainId,ensAddress:t.ensAddress||r.ensAddress||null,_defaultProvider:f}}SH.getNetwork=cX0});var oPe=D(RH=>{"use strict";u();p();Object.defineProperty(RH,"__esModule",{value:!0});RH.version=void 0;RH.version="web/5.7.1"});var cPe=D(Z3=>{"use strict";u();p();var dX0=Z3&&Z3.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},lX0=Z3&&Z3.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();var hX0=W5&&W5.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},bX0=W5&&W5.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]0&&a%1===0,"invalid connection throttle limit","connection.throttleLimit",a);var r=typeof t=="object"?t.throttleCallback:null,f=typeof t=="object"&&typeof t.throttleSlotInterval=="number"?t.throttleSlotInterval:100;bl.assertArgument(f>0&&f%1===0,"invalid connection throttle slot interval","connection.throttleSlotInterval",f);var i=typeof t=="object"?!!t.errorPassThrough:!1,s={},o=null,c={method:"GET"},d=!1,l=2*60*1e3;if(typeof t=="string")o=t;else if(typeof t=="object"){if((t==null||t.url==null)&&bl.throwArgumentError("missing URL","connection.url",t),o=t.url,typeof t.timeout=="number"&&t.timeout>0&&(l=t.timeout),t.headers)for(var h in t.headers)s[h.toLowerCase()]={key:h,value:String(t.headers[h])},["if-none-match","if-modified-since"].indexOf(h.toLowerCase())>=0&&(d=!0);if(c.allowGzip=!!t.allowGzip,t.user!=null&&t.password!=null){o.substring(0,6)!=="https:"&&t.allowInsecureAuthentication!==!0&&bl.throwError("basic authentication requires a secure https url",_8.Logger.errors.INVALID_ARGUMENT,{argument:"url",url:o,user:t.user,password:"[REDACTED]"});var y=t.user+":"+t.password;s.authorization={key:"Authorization",value:"Basic "+(0,dPe.encode)((0,Vk.toUtf8Bytes)(y))}}t.skipFetchSetup!=null&&(c.skipFetchSetup=!!t.skipFetchSetup),t.fetchOptions!=null&&(c.fetchOptions=(0,MH.shallowCopy)(t.fetchOptions))}var v=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),k=o?o.match(v):null;if(k)try{var O={statusCode:200,statusMessage:"OK",headers:{"content-type":k[1]||"text/plain"},body:k[2]?(0,dPe.decode)(k[3]):gX0(k[3])},F=O.body;return n&&(F=n(O.body,O)),Promise.resolve(F)}catch(Q){bl.throwError("processing response error",_8.Logger.errors.SERVER_ERROR,{body:eb(k[1],k[2]),error:Q,requestBody:null,requestMethod:"GET",url:o})}e&&(c.method="POST",c.body=e,s["content-type"]==null&&(s["content-type"]={key:"Content-Type",value:"application/octet-stream"}),s["content-length"]==null&&(s["content-length"]={key:"Content-Length",value:String(e.length)}));var z={};Object.keys(s).forEach(function(Q){var V=s[Q];z[V.key]=V.value}),c.headers=z;var W=function(){var Q=null,V=new Promise(function(K,G){l&&(Q=setTimeout(function(){Q!=null&&(Q=null,G(bl.makeError("timeout",_8.Logger.errors.TIMEOUT,{requestBody:eb(c.body,z["content-type"]),requestMethod:c.method,timeout:l,url:o})))},l))}),X=function(){Q!=null&&(clearTimeout(Q),Q=null)};return{promise:V,cancel:X}}(),j=function(){return hX0(this,void 0,void 0,function(){var Q,V,X,m,K,G,R,T,N,w,m,A;return bX0(this,function(P){switch(P.label){case 0:Q=0,P.label=1;case 1:if(!(Q=300)&&(W.cancel(),bl.throwError("bad response",_8.Logger.errors.SERVER_ERROR,{status:V.statusCode,headers:V.headers,body:eb(T,V.headers?V.headers["content-type"]:null),requestBody:eb(c.body,z["content-type"]),requestMethod:c.method,url:o})),!n)return[3,18];P.label=11;case 11:return P.trys.push([11,13,,18]),[4,n(T,V)];case 12:return N=P.sent(),W.cancel(),[2,N];case 13:return w=P.sent(),w.throttleRetry&&Qs){i()&&a(new Error("retry limit reached"));return}var l=e.interval*parseInt(String(Math.random()*Math.pow(2,o)));le.ceiling&&(l=e.ceiling),setTimeout(c,l)}return null},function(d){i()&&a(d)})}c()})}W5.poll=wX0});var yPe=D((uXn,mPe)=>{"use strict";u();p();var DH="qpzry9x8gf2tvdw0s3jn54khce6mua7l",lfe={};for(Yk=0;Yk>25;return(t&33554431)<<5^-(e>>0&1)&996825010^-(e>>1&1)&642813549^-(e>>2&1)&513874426^-(e>>3&1)&1027748829^-(e>>4&1)&705979059}function hPe(t){for(var e=1,n=0;n126)return"Invalid prefix ("+t+")";e=AT(e)^a>>5}for(e=AT(e),n=0;nn)throw new TypeError("Exceeds length limit");t=t.toLowerCase();var a=hPe(t);if(typeof a=="string")throw new Error(a);for(var r=t+"1",f=0;f>5)throw new Error("Non 5-bit word");a=AT(a)^i,r+=DH.charAt(i)}for(f=0;f<6;++f)a=AT(a);for(a^=1,f=0;f<6;++f){var s=a>>(5-f)*5&31;r+=DH.charAt(s)}return r}function bPe(t,e){if(e=e||90,t.length<8)return t+" too short";if(t.length>e)return"Exceeds length limit";var n=t.toLowerCase(),a=t.toUpperCase();if(t!==n&&t!==a)return"Mixed-case string "+t;t=n;var r=t.lastIndexOf("1");if(r===-1)return"No separator character for "+t;if(r===0)return"Missing prefix for "+t;var f=t.slice(0,r),i=t.slice(r+1);if(i.length<6)return"Data too short";var s=hPe(f);if(typeof s=="string")return s;for(var o=[],c=0;c=i.length)&&o.push(l)}return s!==1?"Invalid checksum for "+t:{prefix:f,words:o}}function xX0(){var t=bPe.apply(null,arguments);if(typeof t=="object")return t}function EX0(t){var e=bPe.apply(null,arguments);if(typeof e=="object")return e;throw new Error(e)}function PH(t,e,n,a){for(var r=0,f=0,i=(1<=n;)f-=n,s.push(r>>f&i);if(a)f>0&&s.push(r<=e)return"Excess padding";if(r<{"use strict";u();p();Object.defineProperty(LH,"__esModule",{value:!0});LH.version=void 0;LH.version="providers/5.7.2"});var tb=D(H2=>{"use strict";u();p();Object.defineProperty(H2,"__esModule",{value:!0});H2.showThrottleMessage=H2.isCommunityResource=H2.isCommunityResourcable=H2.Formatter=void 0;var ufe=Bo(),C8=ia(),U2=Vt(),kX0=w3(),SX0=Ba(),gPe=P2(),RX0=Ft(),MX0=no(),$k=new RX0.Logger(MX0.version),BX0=function(){function t(){this.formats=this.getDefaultFormats()}return t.prototype.getDefaultFormats=function(){var e=this,n={},a=this.address.bind(this),r=this.bigNumber.bind(this),f=this.blockTag.bind(this),i=this.data.bind(this),s=this.hash.bind(this),o=this.hex.bind(this),c=this.number.bind(this),d=this.type.bind(this),l=function(h){return e.data(h,!0)};return n.transaction={hash:s,type:d,accessList:t.allowNull(this.accessList.bind(this),null),blockHash:t.allowNull(s,null),blockNumber:t.allowNull(c,null),transactionIndex:t.allowNull(c,null),confirmations:t.allowNull(c,null),from:a,gasPrice:t.allowNull(r),maxPriorityFeePerGas:t.allowNull(r),maxFeePerGas:t.allowNull(r),gasLimit:r,to:t.allowNull(a,null),value:r,nonce:c,data:i,r:t.allowNull(this.uint256),s:t.allowNull(this.uint256),v:t.allowNull(c),creates:t.allowNull(a,null),raw:t.allowNull(i)},n.transactionRequest={from:t.allowNull(a),nonce:t.allowNull(c),gasLimit:t.allowNull(r),gasPrice:t.allowNull(r),maxPriorityFeePerGas:t.allowNull(r),maxFeePerGas:t.allowNull(r),to:t.allowNull(a),value:t.allowNull(r),data:t.allowNull(l),type:t.allowNull(c),accessList:t.allowNull(this.accessList.bind(this),null)},n.receiptLog={transactionIndex:c,blockNumber:c,transactionHash:s,address:a,topics:t.arrayOf(s),data:i,logIndex:c,blockHash:s},n.receipt={to:t.allowNull(this.address,null),from:t.allowNull(this.address,null),contractAddress:t.allowNull(a,null),transactionIndex:c,root:t.allowNull(o),gasUsed:r,logsBloom:t.allowNull(i),blockHash:s,transactionHash:s,logs:t.arrayOf(this.receiptLog.bind(this)),blockNumber:c,confirmations:t.allowNull(c,null),cumulativeGasUsed:r,effectiveGasPrice:t.allowNull(r),status:t.allowNull(c),type:d},n.block={hash:t.allowNull(s),parentHash:s,number:c,timestamp:c,nonce:t.allowNull(o),difficulty:this.difficulty.bind(this),gasLimit:r,gasUsed:r,miner:t.allowNull(a),extraData:i,transactions:t.allowNull(t.arrayOf(s)),baseFeePerGas:t.allowNull(r)},n.blockWithTransactions=(0,SX0.shallowCopy)(n.block),n.blockWithTransactions.transactions=t.allowNull(t.arrayOf(this.transactionResponse.bind(this))),n.filter={fromBlock:t.allowNull(f,void 0),toBlock:t.allowNull(f,void 0),blockHash:t.allowNull(s,void 0),address:t.allowNull(a,void 0),topics:t.allowNull(this.topics.bind(this),void 0)},n.filterLog={blockNumber:t.allowNull(c),blockHash:t.allowNull(s),transactionIndex:c,removed:t.allowNull(this.boolean.bind(this)),address:a,data:t.allowFalsish(i,"0x"),topics:t.arrayOf(s),transactionHash:s,logIndex:c},n},t.prototype.accessList=function(e){return(0,gPe.accessListify)(e||[])},t.prototype.number=function(e){return e==="0x"?0:C8.BigNumber.from(e).toNumber()},t.prototype.type=function(e){return e==="0x"||e==null?0:C8.BigNumber.from(e).toNumber()},t.prototype.bigNumber=function(e){return C8.BigNumber.from(e)},t.prototype.boolean=function(e){if(typeof e=="boolean")return e;if(typeof e=="string"){if(e=e.toLowerCase(),e==="true")return!0;if(e==="false")return!1}throw new Error("invalid boolean - "+e)},t.prototype.hex=function(e,n){return typeof e=="string"&&(!n&&e.substring(0,2)!=="0x"&&(e="0x"+e),(0,U2.isHexString)(e))?e.toLowerCase():$k.throwArgumentError("invalid hash","value",e)},t.prototype.data=function(e,n){var a=this.hex(e,n);if(a.length%2!==0)throw new Error("invalid data; odd-length - "+e);return a},t.prototype.address=function(e){return(0,ufe.getAddress)(e)},t.prototype.callAddress=function(e){if(!(0,U2.isHexString)(e,32))return null;var n=(0,ufe.getAddress)((0,U2.hexDataSlice)(e,12));return n===kX0.AddressZero?null:n},t.prototype.contractAddress=function(e){return(0,ufe.getContractAddress)(e)},t.prototype.blockTag=function(e){if(e==null)return"latest";if(e==="earliest")return"0x0";switch(e){case"earliest":return"0x0";case"latest":case"pending":case"safe":case"finalized":return e}if(typeof e=="number"||(0,U2.isHexString)(e))return(0,U2.hexValue)(e);throw new Error("invalid blockTag")},t.prototype.hash=function(e,n){var a=this.hex(e,n);return(0,U2.hexDataLength)(a)!==32?$k.throwArgumentError("invalid hash","value",e):a},t.prototype.difficulty=function(e){if(e==null)return null;var n=C8.BigNumber.from(e);try{return n.toNumber()}catch{}return null},t.prototype.uint256=function(e){if(!(0,U2.isHexString)(e))throw new Error("invalid uint256");return(0,U2.hexZeroPad)(e,32)},t.prototype._block=function(e,n){e.author!=null&&e.miner==null&&(e.miner=e.author);var a=e._difficulty!=null?e._difficulty:e.difficulty,r=t.check(n,e);return r._difficulty=a==null?null:C8.BigNumber.from(a),r},t.prototype.block=function(e){return this._block(e,this.formats.block)},t.prototype.blockWithTransactions=function(e){return this._block(e,this.formats.blockWithTransactions)},t.prototype.transactionRequest=function(e){return t.check(this.formats.transactionRequest,e)},t.prototype.transactionResponse=function(e){e.gas!=null&&e.gasLimit==null&&(e.gasLimit=e.gas),e.to&&C8.BigNumber.from(e.to).isZero()&&(e.to="0x0000000000000000000000000000000000000000"),e.input!=null&&e.data==null&&(e.data=e.input),e.to==null&&e.creates==null&&(e.creates=this.contractAddress(e)),(e.type===1||e.type===2)&&e.accessList==null&&(e.accessList=[]);var n=t.check(this.formats.transaction,e);if(e.chainId!=null){var a=e.chainId;(0,U2.isHexString)(a)&&(a=C8.BigNumber.from(a).toNumber()),n.chainId=a}else{var a=e.networkId;a==null&&n.v==null&&(a=e.chainId),(0,U2.isHexString)(a)&&(a=C8.BigNumber.from(a).toNumber()),typeof a!="number"&&n.v!=null&&(a=(n.v-35)/2,a<0&&(a=0),a=parseInt(a)),typeof a!="number"&&(a=0),n.chainId=a}return n.blockHash&&n.blockHash.replace(/0/g,"")==="x"&&(n.blockHash=null),n},t.prototype.transaction=function(e){return(0,gPe.parse)(e)},t.prototype.receiptLog=function(e){return t.check(this.formats.receiptLog,e)},t.prototype.receipt=function(e){var n=t.check(this.formats.receipt,e);if(n.root!=null)if(n.root.length<=4){var a=C8.BigNumber.from(n.root).toNumber();a===0||a===1?(n.status!=null&&n.status!==a&&$k.throwArgumentError("alt-root-status/status mismatch","value",{root:n.root,status:n.status}),n.status=a,delete n.root):$k.throwArgumentError("invalid alt-root-status","value.root",n.root)}else n.root.length!==66&&$k.throwArgumentError("invalid root hash","value.root",n.root);return n.status!=null&&(n.byzantium=!0),n},t.prototype.topics=function(e){var n=this;return Array.isArray(e)?e.map(function(a){return n.topics(a)}):e!=null?this.hash(e,!0):null},t.prototype.filter=function(e){return t.check(this.formats.filter,e)},t.prototype.filterLog=function(e){return t.check(this.formats.filterLog,e)},t.check=function(e,n){var a={};for(var r in e)try{var f=e[r](n[r]);f!==void 0&&(a[r]=f)}catch(i){throw i.checkKey=r,i.checkValue=n[r],i}return a},t.allowNull=function(e,n){return function(a){return a==null?n:e(a)}},t.allowFalsish=function(e,n){return function(a){return a?e(a):n}},t.arrayOf=function(e){return function(n){if(!Array.isArray(n))throw new Error("not an array");var a=[];return n.forEach(function(r){a.push(e(r))}),a}},t}();H2.Formatter=BX0;function wPe(t){return t&&typeof t.isCommunityResource=="function"}H2.isCommunityResourcable=wPe;function DX0(t){return wPe(t)&&t.isCommunityResource()}H2.isCommunityResource=DX0;var vPe=!1;function PX0(){vPe||(vPe=!0,console.log("========= NOTICE ========="),console.log("Request-Rate Exceeded (this message will not be repeated)"),console.log(""),console.log("The default API keys for each service are provided as a highly-throttled,"),console.log("community resource for low-traffic projects and early prototyping."),console.log(""),console.log("While your application will continue to function, we highly recommended"),console.log("signing up for your own API keys to improve performance, increase your"),console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."),console.log(""),console.log("For more details: https://docs.ethers.io/api-keys/"),console.log("=========================="))}H2.showThrottleMessage=PX0});var eS=D(Vo=>{"use strict";u();p();var LX0=Vo&&Vo.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),Yt=Vo&&Vo.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},$t=Vo&&Vo.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]0&&t[t.length-1]==null;)t.pop();return t.map(function(e){if(Array.isArray(e)){var n={};e.forEach(function(r){n[_Pe(r)]=!0});var a=Object.keys(n);return a.sort(),a.join("|")}else return _Pe(e)}).join("&")}function WX0(t){return t===""?[]:t.split(/&/g).map(function(e){if(e==="")return[];var n=e.split("|").map(function(a){return a==="null"?null:a});return n.length===1?n[0]:n})}function CT(t){if(typeof t=="string"){if(t=t.toLowerCase(),(0,jt.hexDataLength)(t)===32)return"tx:"+t;if(t.indexOf(":")===-1)return t}else{if(Array.isArray(t))return"filter:*:"+APe(t);if(RPe.ForkEvent.isForkEvent(t))throw Hn.warn("not implemented"),new Error("not implemented");if(t&&typeof t=="object")return"filter:"+(t.address||"*")+":"+APe(t.topics||[])}throw new Error("invalid event - "+t)}function Jk(){return new Date().getTime()}function CPe(t){return new Promise(function(e){setTimeout(e,t)})}var qX0=["block","network","pending","poll"],MPe=function(){function t(e,n,a){(0,pi.defineReadOnly)(this,"tag",e),(0,pi.defineReadOnly)(this,"listener",n),(0,pi.defineReadOnly)(this,"once",a),this._lastBlockNumber=-2,this._inflight=!1}return Object.defineProperty(t.prototype,"event",{get:function(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this.tag.split(":")[0]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){var e=this.tag.split(":");return e[0]!=="tx"?null:e[1]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"filter",{get:function(){var e=this.tag.split(":");if(e[0]!=="filter")return null;var n=e[1],a=WX0(e[2]),r={};return a.length>0&&(r.topics=a),n&&n!=="*"&&(r.address=n),r},enumerable:!1,configurable:!0}),t.prototype.pollable=function(){return this.tag.indexOf(":")>=0||qX0.indexOf(this.tag)>=0},t}();Vo.Event=MPe;var jX0={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function pfe(t){return(0,jt.hexZeroPad)(Qo.BigNumber.from(t).toHexString(),32)}function IPe(t){return mfe.Base58.encode((0,jt.concat)([t,(0,jt.hexDataSlice)((0,TPe.sha256)((0,TPe.sha256)(t)),0,4)]))}var BPe=new RegExp("^(ipfs)://(.*)$","i"),kPe=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),BPe,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function FH(t,e){try{return(0,yfe.toUtf8String)(Zk(t,e))}catch{}return null}function Zk(t,e){if(t==="0x")return null;var n=Qo.BigNumber.from((0,jt.hexDataSlice)(t,e,e+32)).toNumber(),a=Qo.BigNumber.from((0,jt.hexDataSlice)(t,n,n+32)).toNumber();return(0,jt.hexDataSlice)(t,n+32,n+32+a)}function hfe(t){return t.match(/^ipfs:\/\/ipfs\//i)?t=t.substring(12):t.match(/^ipfs:\/\//i)?t=t.substring(7):Hn.throwArgumentError("unsupported IPFS format","link",t),"https://gateway.ipfs.io/ipfs/"+t}function SPe(t){var e=(0,jt.arrayify)(t);if(e.length>32)throw new Error("internal; should not happen");var n=new Uint8Array(32);return n.set(e,32-e.length),n}function GX0(t){if(t.length%32===0)return t;var e=new Uint8Array(Math.ceil(t.length/32)*32);return e.set(t),e}function DPe(t){for(var e=[],n=0,a=0;a=1&&i<=75)return IPe((0,jt.concat)([[a.p2pkh],"0x"+f[2]]))}}if(a.p2sh!=null){var s=n.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(s){var o=parseInt(s[1],16);if(s[2].length===o*2&&o>=1&&o<=75)return IPe((0,jt.concat)([[a.p2sh],"0x"+s[2]]))}}if(a.prefix!=null){var c=r[1],d=r[0];if(d===0?c!==20&&c!==32&&(d=-1):d=-1,d>=0&&r.length===2+c&&c>=1&&c<=75){var l=xPe.default.toWords(r.slice(2));return l.unshift(d),xPe.default.encode(a.prefix,l)}}return null},t.prototype.getAddress=function(e){return Yt(this,void 0,void 0,function(){var n,a,r,f;return $t(this,function(i){switch(i.label){case 0:if(e==null&&(e=60),e!==60)return[3,4];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this._fetch("0x3b3b57de")];case 2:return n=i.sent(),n==="0x"||n===OX0.HashZero?[2,null]:[2,this.provider.formatter.callAddress(n)];case 3:if(a=i.sent(),a.code===Yn.Logger.errors.CALL_EXCEPTION)return[2,null];throw a;case 4:return[4,this._fetchBytes("0xf1cb7e06",pfe(e))];case 5:return r=i.sent(),r==null||r==="0x"?[2,null]:(f=this._getAddress(e,r),f==null&&Hn.throwError("invalid or unsupported coin data",Yn.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress("+e+")",coinType:e,data:r}),[2,f])}})})},t.prototype.getAvatar=function(){return Yt(this,void 0,void 0,function(){var e,n,a,r,f,i,s,o,c,d,l,h,y,v,k,O,F,z,W,j,Q,V,X,K,G;return $t(this,function(R){switch(R.label){case 0:e=[{type:"name",content:this.name}],R.label=1;case 1:return R.trys.push([1,19,,20]),[4,this.getText("avatar")];case 2:if(n=R.sent(),n==null)return[2,null];a=0,R.label=3;case 3:if(!(a=0?null:JSON.stringify({data:i,sender:f}),[4,(0,IT.fetchJson)({url:d,errorPassThrough:!0},l,function(k,O){return k.status=O.statusCode,k})]):[3,4];case 2:if(h=v.sent(),h.data)return[2,h.data];if(y=h.message||"unknown error",h.status>=400&&h.status<500)return[2,Hn.throwError("response not found during CCIP fetch: "+y,Yn.Logger.errors.SERVER_ERROR,{url:c,errorMessage:y})];s.push(y),v.label=3;case 3:return o++,[3,1];case 4:return[2,Hn.throwError("error encountered during CCIP fetch: "+s.map(function(k){return JSON.stringify(k)}).join(", "),Yn.Logger.errors.SERVER_ERROR,{urls:r,errorMessages:s})]}})})},e.prototype._getInternalBlockNumber=function(n){return Yt(this,void 0,void 0,function(){var a,r,f,i,s,o=this;return $t(this,function(c){switch(c.label){case 0:return[4,this._ready()];case 1:if(c.sent(),!(n>0))return[3,7];c.label=2;case 2:if(!this._internalBlockNumber)return[3,7];a=this._internalBlockNumber,c.label=3;case 3:return c.trys.push([3,5,,6]),[4,a];case 4:return r=c.sent(),Jk()-r.respTime<=n?[2,r.blockNumber]:[3,7];case 5:return f=c.sent(),this._internalBlockNumber===a?[3,7]:[3,6];case 6:return[3,2];case 7:return i=Jk(),s=(0,pi.resolveProperties)({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then(function(d){return null},function(d){return d})}).then(function(d){var l=d.blockNumber,h=d.networkError;if(h)throw o._internalBlockNumber===s&&(o._internalBlockNumber=null),h;var y=Jk();return l=Qo.BigNumber.from(l).toNumber(),l1e3)Hn.warn("network block skew detected; skipping block events (emitted="+this._emitted.block+" blockNumber"+r+")"),this.emit("error",Hn.makeError("network block skew detected",Yn.Logger.errors.NETWORK_ERROR,{blockNumber:r,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",r);else for(i=this._emitted.block+1;i<=r;i++)this.emit("block",i);return this._emitted.block!==r&&(this._emitted.block=r,Object.keys(this._emitted).forEach(function(c){if(c!=="block"){var d=s._emitted[c];d!=="pending"&&r-d>12&&delete s._emitted[c]}})),this._lastBlockNumber===-2&&(this._lastBlockNumber=r-1),this._events.forEach(function(c){switch(c.type){case"tx":{var d=c.hash,l=s.getTransactionReceipt(d).then(function(v){return!v||v.blockNumber==null||(s._emitted["t:"+d]=v.blockNumber,s.emit(d,v)),null}).catch(function(v){s.emit("error",v)});a.push(l);break}case"filter":{if(!c._inflight){c._inflight=!0,c._lastBlockNumber===-2&&(c._lastBlockNumber=r-1);var h=c.filter;h.fromBlock=c._lastBlockNumber+1,h.toBlock=r;var y=h.toBlock-s._maxFilterBlockRange;y>h.fromBlock&&(h.fromBlock=y),h.fromBlock<0&&(h.fromBlock=0);var l=s.getLogs(h).then(function(k){c._inflight=!1,k.length!==0&&k.forEach(function(O){O.blockNumber>c._lastBlockNumber&&(c._lastBlockNumber=O.blockNumber),s._emitted["b:"+O.blockHash]=O.blockNumber,s._emitted["t:"+O.transactionHash]=O.blockNumber,s.emit(h,O)})}).catch(function(k){s.emit("error",k),c._inflight=!1});a.push(l)}break}}}),this._lastBlockNumber=r,Promise.all(a).then(function(){s.emit("didPoll",n)}).catch(function(c){s.emit("error",c)}),[2]}})})},e.prototype.resetEventsBlock=function(n){this._lastBlockNumber=n-1,this.polling&&this.poll()},Object.defineProperty(e.prototype,"network",{get:function(){return this._network},enumerable:!1,configurable:!0}),e.prototype.detectNetwork=function(){return Yt(this,void 0,void 0,function(){return $t(this,function(n){return[2,Hn.throwError("provider does not support network detection",Yn.Logger.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})]})})},e.prototype.getNetwork=function(){return Yt(this,void 0,void 0,function(){var n,a,r;return $t(this,function(f){switch(f.label){case 0:return[4,this._ready()];case 1:return n=f.sent(),[4,this.detectNetwork()];case 2:return a=f.sent(),n.chainId===a.chainId?[3,5]:this.anyNetwork?(this._network=a,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",a,n),[4,CPe(0)]):[3,4];case 3:return f.sent(),[2,this._network];case 4:throw r=Hn.makeError("underlying network changed",Yn.Logger.errors.NETWORK_ERROR,{event:"changed",network:n,detectedNetwork:a}),this.emit("error",r),r;case 5:return[2,n]}})})},Object.defineProperty(e.prototype,"blockNumber",{get:function(){var n=this;return this._getInternalBlockNumber(100+this.pollingInterval/2).then(function(a){n._setFastBlockNumber(a)},function(a){}),this._fastBlockNumber!=null?this._fastBlockNumber:-1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"polling",{get:function(){return this._poller!=null},set:function(n){var a=this;n&&!this._poller?(this._poller=setInterval(function(){a.poll()},this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout(function(){a.poll(),a._bootstrapPoll=setTimeout(function(){a._poller||a.poll(),a._bootstrapPoll=null},a.pollingInterval)},0))):!n&&this._poller&&(clearInterval(this._poller),this._poller=null)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pollingInterval",{get:function(){return this._pollingInterval},set:function(n){var a=this;if(typeof n!="number"||n<=0||parseInt(String(n))!=n)throw new Error("invalid polling interval");this._pollingInterval=n,this._poller&&(clearInterval(this._poller),this._poller=setInterval(function(){a.poll()},this._pollingInterval))},enumerable:!1,configurable:!0}),e.prototype._getFastBlockNumber=function(){var n=this,a=Jk();return a-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=a,this._fastBlockNumberPromise=this.getBlockNumber().then(function(r){return(n._fastBlockNumber==null||r>n._fastBlockNumber)&&(n._fastBlockNumber=r),n._fastBlockNumber})),this._fastBlockNumberPromise},e.prototype._setFastBlockNumber=function(n){this._fastBlockNumber!=null&&nthis._fastBlockNumber)&&(this._fastBlockNumber=n,this._fastBlockNumberPromise=Promise.resolve(n)))},e.prototype.waitForTransaction=function(n,a,r){return Yt(this,void 0,void 0,function(){return $t(this,function(f){return[2,this._waitForTransaction(n,a??1,r||0,null)]})})},e.prototype._waitForTransaction=function(n,a,r,f){return Yt(this,void 0,void 0,function(){var i,s=this;return $t(this,function(o){switch(o.label){case 0:return[4,this.getTransactionReceipt(n)];case 1:return i=o.sent(),(i?i.confirmations:0)>=a?[2,i]:[2,new Promise(function(c,d){var l=[],h=!1,y=function(){return h?!0:(h=!0,l.forEach(function(W){W()}),!1)},v=function(W){W.confirmations0){var z=setTimeout(function(){y()||d(Hn.makeError("timeout exceeded",Yn.Logger.errors.TIMEOUT,{timeout:r}))},r);z.unref&&z.unref(),l.push(function(){clearTimeout(z)})}})]}})})},e.prototype.getBlockNumber=function(){return Yt(this,void 0,void 0,function(){return $t(this,function(n){return[2,this._getInternalBlockNumber(0)]})})},e.prototype.getGasPrice=function(){return Yt(this,void 0,void 0,function(){var n;return $t(this,function(a){switch(a.label){case 0:return[4,this.getNetwork()];case 1:return a.sent(),[4,this.perform("getGasPrice",{})];case 2:n=a.sent();try{return[2,Qo.BigNumber.from(n)]}catch(r){return[2,Hn.throwError("bad result from backend",Yn.Logger.errors.SERVER_ERROR,{method:"getGasPrice",result:n,error:r})]}return[2]}})})},e.prototype.getBalance=function(n,a){return Yt(this,void 0,void 0,function(){var r,f;return $t(this,function(i){switch(i.label){case 0:return[4,this.getNetwork()];case 1:return i.sent(),[4,(0,pi.resolveProperties)({address:this._getAddress(n),blockTag:this._getBlockTag(a)})];case 2:return r=i.sent(),[4,this.perform("getBalance",r)];case 3:f=i.sent();try{return[2,Qo.BigNumber.from(f)]}catch(s){return[2,Hn.throwError("bad result from backend",Yn.Logger.errors.SERVER_ERROR,{method:"getBalance",params:r,result:f,error:s})]}return[2]}})})},e.prototype.getTransactionCount=function(n,a){return Yt(this,void 0,void 0,function(){var r,f;return $t(this,function(i){switch(i.label){case 0:return[4,this.getNetwork()];case 1:return i.sent(),[4,(0,pi.resolveProperties)({address:this._getAddress(n),blockTag:this._getBlockTag(a)})];case 2:return r=i.sent(),[4,this.perform("getTransactionCount",r)];case 3:f=i.sent();try{return[2,Qo.BigNumber.from(f).toNumber()]}catch(s){return[2,Hn.throwError("bad result from backend",Yn.Logger.errors.SERVER_ERROR,{method:"getTransactionCount",params:r,result:f,error:s})]}return[2]}})})},e.prototype.getCode=function(n,a){return Yt(this,void 0,void 0,function(){var r,f;return $t(this,function(i){switch(i.label){case 0:return[4,this.getNetwork()];case 1:return i.sent(),[4,(0,pi.resolveProperties)({address:this._getAddress(n),blockTag:this._getBlockTag(a)})];case 2:return r=i.sent(),[4,this.perform("getCode",r)];case 3:f=i.sent();try{return[2,(0,jt.hexlify)(f)]}catch(s){return[2,Hn.throwError("bad result from backend",Yn.Logger.errors.SERVER_ERROR,{method:"getCode",params:r,result:f,error:s})]}return[2]}})})},e.prototype.getStorageAt=function(n,a,r){return Yt(this,void 0,void 0,function(){var f,i;return $t(this,function(s){switch(s.label){case 0:return[4,this.getNetwork()];case 1:return s.sent(),[4,(0,pi.resolveProperties)({address:this._getAddress(n),blockTag:this._getBlockTag(r),position:Promise.resolve(a).then(function(o){return(0,jt.hexValue)(o)})})];case 2:return f=s.sent(),[4,this.perform("getStorageAt",f)];case 3:i=s.sent();try{return[2,(0,jt.hexlify)(i)]}catch(o){return[2,Hn.throwError("bad result from backend",Yn.Logger.errors.SERVER_ERROR,{method:"getStorageAt",params:f,result:i,error:o})]}return[2]}})})},e.prototype._wrapTransaction=function(n,a,r){var f=this;if(a!=null&&(0,jt.hexDataLength)(a)!==32)throw new Error("invalid response - sendTransaction");var i=n;return a!=null&&n.hash!==a&&Hn.throwError("Transaction hash mismatch from Provider.sendTransaction.",Yn.Logger.errors.UNKNOWN_ERROR,{expectedHash:n.hash,returnedHash:a}),i.wait=function(s,o){return Yt(f,void 0,void 0,function(){var c,d;return $t(this,function(l){switch(l.label){case 0:return s==null&&(s=1),o==null&&(o=0),c=void 0,s!==0&&r!=null&&(c={data:n.data,from:n.from,nonce:n.nonce,to:n.to,value:n.value,startBlock:r}),[4,this._waitForTransaction(n.hash,s,o,c)];case 1:return d=l.sent(),d==null&&s===0?[2,null]:(this._emitted["t:"+n.hash]=d.blockNumber,d.status===0&&Hn.throwError("transaction failed",Yn.Logger.errors.CALL_EXCEPTION,{transactionHash:n.hash,transaction:n,receipt:d}),[2,d])}})})},i},e.prototype.sendTransaction=function(n){return Yt(this,void 0,void 0,function(){var a,r,f,i,s;return $t(this,function(o){switch(o.label){case 0:return[4,this.getNetwork()];case 1:return o.sent(),[4,Promise.resolve(n).then(function(c){return(0,jt.hexlify)(c)})];case 2:return a=o.sent(),r=this.formatter.transaction(n),r.confirmations==null&&(r.confirmations=0),[4,this._getInternalBlockNumber(100+2*this.pollingInterval)];case 3:f=o.sent(),o.label=4;case 4:return o.trys.push([4,6,,7]),[4,this.perform("sendTransaction",{signedTransaction:a})];case 5:return i=o.sent(),[2,this._wrapTransaction(r,i,f)];case 6:throw s=o.sent(),s.transaction=r,s.transactionHash=r.hash,s;case 7:return[2]}})})},e.prototype._getTransactionRequest=function(n){return Yt(this,void 0,void 0,function(){var a,r,f,i,s=this;return $t(this,function(o){switch(o.label){case 0:return[4,n];case 1:return a=o.sent(),r={},["from","to"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d?s._getAddress(d):null}))}),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d?Qo.BigNumber.from(d):null}))}),["type"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d??null}))}),a.accessList&&(r.accessList=this.formatter.accessList(a.accessList)),["data"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d?(0,jt.hexlify)(d):null}))}),i=(f=this.formatter).transactionRequest,[4,(0,pi.resolveProperties)(r)];case 2:return[2,i.apply(f,[o.sent()])]}})})},e.prototype._getFilter=function(n){return Yt(this,void 0,void 0,function(){var a,r,f,i=this;return $t(this,function(s){switch(s.label){case 0:return[4,n];case 1:return n=s.sent(),a={},n.address!=null&&(a.address=this._getAddress(n.address)),["blockHash","topics"].forEach(function(o){n[o]!=null&&(a[o]=n[o])}),["fromBlock","toBlock"].forEach(function(o){n[o]!=null&&(a[o]=i._getBlockTag(n[o]))}),f=(r=this.formatter).filter,[4,(0,pi.resolveProperties)(a)];case 2:return[2,f.apply(r,[s.sent()])]}})})},e.prototype._call=function(n,a,r){return Yt(this,void 0,void 0,function(){var f,i,s,o,c,d,l,h,y,v,k,O,F,z,W,j;return $t(this,function(Q){switch(Q.label){case 0:return r>=zX0&&Hn.throwError("CCIP read exceeded maximum redirections",Yn.Logger.errors.SERVER_ERROR,{redirects:r,transaction:n}),f=n.to,[4,this.perform("call",{transaction:n,blockTag:a})];case 1:if(i=Q.sent(),!(r>=0&&a==="latest"&&f!=null&&i.substring(0,10)==="0x556f1830"&&(0,jt.hexDataLength)(i)%32===4))return[3,5];Q.label=2;case 2:for(Q.trys.push([2,4,,5]),s=(0,jt.hexDataSlice)(i,4),o=(0,jt.hexDataSlice)(s,0,32),Qo.BigNumber.from(o).eq(f)||Hn.throwError("CCIP Read sender did not match",Yn.Logger.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:n,data:i}),c=[],d=Qo.BigNumber.from((0,jt.hexDataSlice)(s,32,64)).toNumber(),l=Qo.BigNumber.from((0,jt.hexDataSlice)(s,d,d+32)).toNumber(),h=(0,jt.hexDataSlice)(s,d+32),y=0;ythis._emitted.block?[2,null]:[2,void 0];if(!a)return[3,8];l=null,h=0,F.label=2;case 2:return h0},e.prototype._stopEvent=function(n){this.polling=this._events.filter(function(a){return a.pollable()}).length>0},e.prototype._addEventListener=function(n,a,r){var f=new MPe(CT(n),a,r);return this._events.push(f),this._startEvent(f),this},e.prototype.on=function(n,a){return this._addEventListener(n,a,!1)},e.prototype.once=function(n,a){return this._addEventListener(n,a,!0)},e.prototype.emit=function(n){for(var a=this,r=[],f=1;f{"use strict";u();p();var Tfe=q5&&q5.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),I8=q5&&q5.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},k8=q5&&q5.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]=0&&f.match(/gas required exceeds allowance|always failing transaction|execution reverted|revert/)&&Ri.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",$i.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:a}),e}function FPe(t){return new Promise(function(e){setTimeout(e,t)})}function ZX0(t){if(t.error){var e=new Error(t.error.message);throw e.code=t.error.code,e.data=t.error.data,e}return t.result}function tS(t){return t&&t.toLowerCase()}var wfe={},xfe=function(t){Tfe(e,t);function e(n,a,r){var f=t.call(this)||this;if(n!==wfe)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");return(0,hi.defineReadOnly)(f,"provider",a),r==null&&(r=0),typeof r=="string"?((0,hi.defineReadOnly)(f,"_address",f.provider.formatter.address(r)),(0,hi.defineReadOnly)(f,"_index",null)):typeof r=="number"?((0,hi.defineReadOnly)(f,"_index",r),(0,hi.defineReadOnly)(f,"_address",null)):Ri.throwArgumentError("invalid address or index","addressOrIndex",r),f}return e.prototype.connect=function(n){return Ri.throwError("cannot alter JSON-RPC Signer connection",$i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"connect"})},e.prototype.connectUnchecked=function(){return new eZ0(wfe,this.provider,this._address||this._index)},e.prototype.getAddress=function(){var n=this;return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then(function(a){return a.length<=n._index&&Ri.throwError("unknown account #"+n._index,$i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),n.provider.formatter.address(a[n._index])})},e.prototype.sendUncheckedTransaction=function(n){var a=this;n=(0,hi.shallowCopy)(n);var r=this.getAddress().then(function(i){return i&&(i=i.toLowerCase()),i});if(n.gasLimit==null){var f=(0,hi.shallowCopy)(n);f.from=r,n.gasLimit=this.provider.estimateGas(f)}return n.to!=null&&(n.to=Promise.resolve(n.to).then(function(i){return I8(a,void 0,void 0,function(){var s;return k8(this,function(o){switch(o.label){case 0:return i==null?[2,null]:[4,this.provider.resolveName(i)];case 1:return s=o.sent(),s==null&&Ri.throwArgumentError("provided ENS name resolves to null","tx.to",i),[2,s]}})})})),(0,hi.resolveProperties)({tx:(0,hi.resolveProperties)(n),sender:r}).then(function(i){var s=i.tx,o=i.sender;s.from!=null?s.from.toLowerCase()!==o&&Ri.throwArgumentError("from address mismatch","transaction",n):s.from=o;var c=a.provider.constructor.hexlifyTransaction(s,{from:!0});return a.provider.send("eth_sendTransaction",[c]).then(function(d){return d},function(d){return typeof d.message=="string"&&d.message.match(/user denied/i)&&Ri.throwError("user rejected transaction",$i.Logger.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:s}),OPe("sendTransaction",d,c)})})},e.prototype.signTransaction=function(n){return Ri.throwError("signing transactions is unsupported",$i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})},e.prototype.sendTransaction=function(n){return I8(this,void 0,void 0,function(){var a,r,f,i=this;return k8(this,function(s){switch(s.label){case 0:return[4,this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval)];case 1:return a=s.sent(),[4,this.sendUncheckedTransaction(n)];case 2:r=s.sent(),s.label=3;case 3:return s.trys.push([3,5,,6]),[4,(0,NPe.poll)(function(){return I8(i,void 0,void 0,function(){var o;return k8(this,function(c){switch(c.label){case 0:return[4,this.provider.getTransaction(r)];case 1:return o=c.sent(),o===null?[2,void 0]:[2,this.provider._wrapTransaction(o,r,a)]}})})},{oncePoll:this.provider})];case 4:return[2,s.sent()];case 5:throw f=s.sent(),f.transactionHash=r,f;case 6:return[2]}})})},e.prototype.signMessage=function(n){return I8(this,void 0,void 0,function(){var a,r,f;return k8(this,function(i){switch(i.label){case 0:return a=typeof n=="string"?(0,LPe.toUtf8Bytes)(n):n,[4,this.getAddress()];case 1:r=i.sent(),i.label=2;case 2:return i.trys.push([2,4,,5]),[4,this.provider.send("personal_sign",[(0,kT.hexlify)(a),r.toLowerCase()])];case 3:return[2,i.sent()];case 4:throw f=i.sent(),typeof f.message=="string"&&f.message.match(/user denied/i)&&Ri.throwError("user rejected signing",$i.Logger.errors.ACTION_REJECTED,{action:"signMessage",from:r,messageData:n}),f;case 5:return[2]}})})},e.prototype._legacySignMessage=function(n){return I8(this,void 0,void 0,function(){var a,r,f;return k8(this,function(i){switch(i.label){case 0:return a=typeof n=="string"?(0,LPe.toUtf8Bytes)(n):n,[4,this.getAddress()];case 1:r=i.sent(),i.label=2;case 2:return i.trys.push([2,4,,5]),[4,this.provider.send("eth_sign",[r.toLowerCase(),(0,kT.hexlify)(a)])];case 3:return[2,i.sent()];case 4:throw f=i.sent(),typeof f.message=="string"&&f.message.match(/user denied/i)&&Ri.throwError("user rejected signing",$i.Logger.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:r,messageData:n}),f;case 5:return[2]}})})},e.prototype._signTypedData=function(n,a,r){return I8(this,void 0,void 0,function(){var f,i,s,o=this;return k8(this,function(c){switch(c.label){case 0:return[4,PPe._TypedDataEncoder.resolveNames(n,a,r,function(d){return o.provider.resolveName(d)})];case 1:return f=c.sent(),[4,this.getAddress()];case 2:i=c.sent(),c.label=3;case 3:return c.trys.push([3,5,,6]),[4,this.provider.send("eth_signTypedData_v4",[i.toLowerCase(),JSON.stringify(PPe._TypedDataEncoder.getPayload(f.domain,a,f.value))])];case 4:return[2,c.sent()];case 5:throw s=c.sent(),typeof s.message=="string"&&s.message.match(/user denied/i)&&Ri.throwError("user rejected signing",$i.Logger.errors.ACTION_REJECTED,{action:"_signTypedData",from:i,messageData:{domain:f.domain,types:a,value:f.value}}),s;case 6:return[2]}})})},e.prototype.unlock=function(n){return I8(this,void 0,void 0,function(){var a,r;return k8(this,function(f){switch(f.label){case 0:return a=this.provider,[4,this.getAddress()];case 1:return r=f.sent(),[2,a.send("personal_unlockAccount",[r.toLowerCase(),n,null])]}})})},e}(VX0.Signer);q5.JsonRpcSigner=xfe;var eZ0=function(t){Tfe(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.sendTransaction=function(n){var a=this;return this.sendUncheckedTransaction(n).then(function(r){return{hash:r,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:function(f){return a.provider.waitForTransaction(r,f)}}})},e}(xfe),tZ0={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0},nZ0=function(t){Tfe(e,t);function e(n,a){var r=this,f=a;return f==null&&(f=new Promise(function(i,s){setTimeout(function(){r.detectNetwork().then(function(o){i(o)},function(o){s(o)})},0)})),r=t.call(this,f)||this,n||(n=(0,hi.getStatic)(r.constructor,"defaultUrl")()),typeof n=="string"?(0,hi.defineReadOnly)(r,"connection",Object.freeze({url:n})):(0,hi.defineReadOnly)(r,"connection",Object.freeze((0,hi.shallowCopy)(n))),r._nextId=42,r}return Object.defineProperty(e.prototype,"_cache",{get:function(){return this._eventLoopCache==null&&(this._eventLoopCache={}),this._eventLoopCache},enumerable:!1,configurable:!0}),e.defaultUrl=function(){return"http://localhost:8545"},e.prototype.detectNetwork=function(){var n=this;return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout(function(){n._cache.detectNetwork=null},0)),this._cache.detectNetwork},e.prototype._uncachedDetectNetwork=function(){return I8(this,void 0,void 0,function(){var n,a,r,f;return k8(this,function(i){switch(i.label){case 0:return[4,FPe(0)];case 1:i.sent(),n=null,i.label=2;case 2:return i.trys.push([2,4,,9]),[4,this.send("eth_chainId",[])];case 3:return n=i.sent(),[3,9];case 4:a=i.sent(),i.label=5;case 5:return i.trys.push([5,7,,8]),[4,this.send("net_version",[])];case 6:return n=i.sent(),[3,8];case 7:return r=i.sent(),[3,8];case 8:return[3,9];case 9:if(n!=null){f=(0,hi.getStatic)(this.constructor,"getNetwork");try{return[2,f(vfe.BigNumber.from(n).toNumber())]}catch(s){return[2,Ri.throwError("could not detect network",$i.Logger.errors.NETWORK_ERROR,{chainId:n,event:"invalidNetwork",serverError:s})]}}return[2,Ri.throwError("could not detect network",$i.Logger.errors.NETWORK_ERROR,{event:"noNetwork"})]}})})},e.prototype.getSigner=function(n){return new xfe(wfe,this,n)},e.prototype.getUncheckedSigner=function(n){return this.getSigner(n).connectUnchecked()},e.prototype.listAccounts=function(){var n=this;return this.send("eth_accounts",[]).then(function(a){return a.map(function(r){return n.formatter.address(r)})})},e.prototype.send=function(n,a){var r=this,f={method:n,params:a,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:(0,hi.deepCopy)(f),provider:this});var i=["eth_chainId","eth_blockNumber"].indexOf(n)>=0;if(i&&this._cache[n])return this._cache[n];var s=(0,NPe.fetchJson)(this.connection,JSON.stringify(f),ZX0).then(function(o){return r.emit("debug",{action:"response",request:f,response:o,provider:r}),o},function(o){throw r.emit("debug",{action:"response",error:o,request:f,provider:r}),o});return i&&(this._cache[n]=s,setTimeout(function(){r._cache[n]=null},0)),s},e.prototype.prepareRequest=function(n,a){switch(n){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[tS(a.address),a.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[tS(a.address),a.blockTag]];case"getCode":return["eth_getCode",[tS(a.address),a.blockTag]];case"getStorageAt":return["eth_getStorageAt",[tS(a.address),(0,kT.hexZeroPad)(a.position,32),a.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[a.signedTransaction]];case"getBlock":return a.blockTag?["eth_getBlockByNumber",[a.blockTag,!!a.includeTransactions]]:a.blockHash?["eth_getBlockByHash",[a.blockHash,!!a.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[a.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[a.transactionHash]];case"call":{var r=(0,hi.getStatic)(this.constructor,"hexlifyTransaction");return["eth_call",[r(a.transaction,{from:!0}),a.blockTag]]}case"estimateGas":{var r=(0,hi.getStatic)(this.constructor,"hexlifyTransaction");return["eth_estimateGas",[r(a.transaction,{from:!0})]]}case"getLogs":return a.filter&&a.filter.address!=null&&(a.filter.address=tS(a.filter.address)),["eth_getLogs",[a.filter]];default:break}return null},e.prototype.perform=function(n,a){return I8(this,void 0,void 0,function(){var r,f,i,s;return k8(this,function(o){switch(o.label){case 0:return n==="call"||n==="estimateGas"?(r=a.transaction,r&&r.type!=null&&vfe.BigNumber.from(r.type).isZero()?r.maxFeePerGas==null&&r.maxPriorityFeePerGas==null?[4,this.getFeeData()]:[3,2]:[3,2]):[3,2];case 1:f=o.sent(),f.maxFeePerGas==null&&f.maxPriorityFeePerGas==null&&(a=(0,hi.shallowCopy)(a),a.transaction=(0,hi.shallowCopy)(r),delete a.transaction.type),o.label=2;case 2:i=this.prepareRequest(n,a),i==null&&Ri.throwError(n+" not implemented",$i.Logger.errors.NOT_IMPLEMENTED,{operation:n}),o.label=3;case 3:return o.trys.push([3,5,,6]),[4,this.send(i[0],i[1])];case 4:return[2,o.sent()];case 5:return s=o.sent(),[2,OPe(n,s,a)];case 6:return[2]}})})},e.prototype._startEvent=function(n){n.tag==="pending"&&this._startPending(),t.prototype._startEvent.call(this,n)},e.prototype._startPending=function(){if(this._pendingFilter==null){var n=this,a=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=a,a.then(function(r){function f(){n.send("eth_getFilterChanges",[r]).then(function(i){if(n._pendingFilter!=a)return null;var s=Promise.resolve();return i.forEach(function(o){n._emitted["t:"+o.toLowerCase()]="pending",s=s.then(function(){return n.getTransaction(o).then(function(c){return n.emit("pending",c),null})})}),s.then(function(){return FPe(1e3)})}).then(function(){if(n._pendingFilter!=a){n.send("eth_uninstallFilter",[r]);return}return setTimeout(function(){f()},0),null}).catch(function(i){})}return f(),r}).catch(function(r){})}},e.prototype._stopEvent=function(n){n.tag==="pending"&&this.listenerCount("pending")===0&&(this._pendingFilter=null),t.prototype._stopEvent.call(this,n)},e.hexlifyTransaction=function(n,a){var r=(0,hi.shallowCopy)(tZ0);if(a)for(var f in a)a[f]&&(r[f]=!0);(0,hi.checkProperties)(n,r);var i={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach(function(s){if(n[s]!=null){var o=(0,kT.hexValue)(vfe.BigNumber.from(n[s]));s==="gasLimit"&&(s="gas"),i[s]=o}}),["from","to","data"].forEach(function(s){n[s]!=null&&(i[s]=(0,kT.hexlify)(n[s]))}),n.accessList&&(i.accessList=(0,YX0.accessListify)(n.accessList)),i},e}(JX0.BaseProvider);q5.JsonRpcProvider=nZ0});var zPe=D(RT=>{"use strict";u();p();Object.defineProperty(RT,"__esModule",{value:!0});RT.WebSocket=void 0;var UPe=Ft(),aZ0=no(),NH=null;RT.WebSocket=NH;try{if(RT.WebSocket=NH=WebSocket,NH==null)throw new Error("inject please")}catch{HPe=new UPe.Logger(aZ0.version),RT.WebSocket=NH=function(){HPe.throwError("WebSockets not supported in this environment",UPe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new WebSocket()"})}}var HPe});var UH=D(z2=>{"use strict";u();p();var rZ0=z2&&z2.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),Efe=z2&&z2.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},_fe=z2&&z2.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();var qPe=j5&&j5.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),dZ0=j5&&j5.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},lZ0=j5&&j5.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();var KPe=rb&&rb.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(rb,"__esModule",{value:!0});rb.AlchemyProvider=rb.AlchemyWebSocketProvider=void 0;var bZ0=Ba(),mZ0=tb(),yZ0=UH(),gZ0=Ft(),vZ0=no(),GPe=new gZ0.Logger(vZ0.version),wZ0=ab(),zH="_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC",QPe=function(t){KPe(e,t);function e(n,a){var r=this,f=new VPe(n,a),i=f.connection.url.replace(/^http/i,"ws").replace(".alchemyapi.",".ws.alchemyapi.");return r=t.call(this,i,f.network)||this,(0,bZ0.defineReadOnly)(r,"apiKey",f.apiKey),r}return e.prototype.isCommunityResource=function(){return this.apiKey===zH},e}(yZ0.WebSocketProvider);rb.AlchemyWebSocketProvider=QPe;var VPe=function(t){KPe(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getWebSocketProvider=function(n,a){return new QPe(n,a)},e.getApiKey=function(n){return n==null?zH:(n&&typeof n!="string"&&GPe.throwArgumentError("invalid apiKey","apiKey",n),n)},e.getUrl=function(n,a){var r=null;switch(n.name){case"homestead":r="eth-mainnet.alchemyapi.io/v2/";break;case"goerli":r="eth-goerli.g.alchemy.com/v2/";break;case"matic":r="polygon-mainnet.g.alchemy.com/v2/";break;case"maticmum":r="polygon-mumbai.g.alchemy.com/v2/";break;case"arbitrum":r="arb-mainnet.g.alchemy.com/v2/";break;case"arbitrum-goerli":r="arb-goerli.g.alchemy.com/v2/";break;case"optimism":r="opt-mainnet.g.alchemy.com/v2/";break;case"optimism-goerli":r="opt-goerli.g.alchemy.com/v2/";break;default:GPe.throwArgumentError("unsupported network","network",arguments[0])}return{allowGzip:!0,url:"https://"+r+a,throttleCallback:function(f,i){return a===zH&&(0,mZ0.showThrottleMessage)(),Promise.resolve(!0)}}},e.prototype.isCommunityResource=function(){return this.apiKey===zH},e}(wZ0.UrlJsonRpcProvider);rb.AlchemyProvider=VPe});var $Pe=D(BT=>{"use strict";u();p();var TZ0=BT&&BT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(BT,"__esModule",{value:!0});BT.AnkrProvider=void 0;var xZ0=tb(),EZ0=ab(),_Z0=Ft(),AZ0=no(),CZ0=new _Z0.Logger(AZ0.version),WH="9f7d929b018cdffb338517efa06f58359e86ff1ffd350bc889738523659e7972";function IZ0(t){switch(t){case"homestead":return"rpc.ankr.com/eth/";case"ropsten":return"rpc.ankr.com/eth_ropsten/";case"rinkeby":return"rpc.ankr.com/eth_rinkeby/";case"goerli":return"rpc.ankr.com/eth_goerli/";case"matic":return"rpc.ankr.com/polygon/";case"arbitrum":return"rpc.ankr.com/arbitrum/"}return CZ0.throwArgumentError("unsupported network","name",t)}var kZ0=function(t){TZ0(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isCommunityResource=function(){return this.apiKey===WH},e.getApiKey=function(n){return n??WH},e.getUrl=function(n,a){a==null&&(a=WH);var r={allowGzip:!0,url:"https://"+IZ0(n.name)+a,throttleCallback:function(f,i){return a.apiKey===WH&&(0,xZ0.showThrottleMessage)(),Promise.resolve(!0)}};return a.projectSecret!=null&&(r.user="",r.password=a.projectSecret),r},e}(EZ0.UrlJsonRpcProvider);BT.AnkrProvider=kZ0});var XPe=D(W2=>{"use strict";u();p();var SZ0=W2&&W2.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),RZ0=W2&&W2.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},MZ0=W2&&W2.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();var FZ0=j2&&j2.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),qH=j2&&j2.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},jH=j2&&j2.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]=0&&(e.throttleRetry=!0),e}return t.result}function eLe(t){if(t&&t.status==0&&t.message=="NOTOK"&&(t.result||"").toLowerCase().indexOf("rate limit")>=0){var e=new Error("throttled response");throw e.result=JSON.stringify(t),e.throttleRetry=!0,e}if(t.jsonrpc!="2.0"){var e=new Error("invalid response");throw e.result=JSON.stringify(t),e}if(t.error){var e=new Error(t.error.message||"unknown error");throw t.error.code&&(e.code=t.error.code),t.error.data&&(e.data=t.error.data),e}return t.result}function tLe(t){if(t==="pending")throw new Error("pending not supported");return t==="latest"?t:parseInt(t.substring(2),16)}function Cfe(t,e,n){if(t==="call"&&e.code===q2.Logger.errors.SERVER_ERROR){var a=e.error;if(a&&(a.message.match(/reverted/i)||a.message.match(/VM execution error/i))){var r=a.data;if(r&&(r="0x"+r.replace(/^.*0x/i,"")),(0,GH.isHexString)(r))return r;fb.throwError("missing revert data in call exception",q2.Logger.errors.CALL_EXCEPTION,{error:e,data:"0x"})}}var f=e.message;throw e.code===q2.Logger.errors.SERVER_ERROR&&(e.error&&typeof e.error.message=="string"?f=e.error.message:typeof e.body=="string"?f=e.body:typeof e.responseText=="string"&&(f=e.responseText)),f=(f||"").toLowerCase(),f.match(/insufficient funds/)&&fb.throwError("insufficient funds for intrinsic transaction cost",q2.Logger.errors.INSUFFICIENT_FUNDS,{error:e,method:t,transaction:n}),f.match(/same hash was already imported|transaction nonce is too low|nonce too low/)&&fb.throwError("nonce has already been used",q2.Logger.errors.NONCE_EXPIRED,{error:e,method:t,transaction:n}),f.match(/another transaction with same nonce/)&&fb.throwError("replacement fee too low",q2.Logger.errors.REPLACEMENT_UNDERPRICED,{error:e,method:t,transaction:n}),f.match(/execution failed due to an exception|execution reverted/)&&fb.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",q2.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:n}),e}var qZ0=function(t){FZ0(e,t);function e(n,a){var r=t.call(this,n)||this;return(0,Afe.defineReadOnly)(r,"baseUrl",r.getBaseUrl()),(0,Afe.defineReadOnly)(r,"apiKey",a||null),r}return e.prototype.getBaseUrl=function(){switch(this.network?this.network.name:"invalid"){case"homestead":return"https://api.etherscan.io";case"goerli":return"https://api-goerli.etherscan.io";case"sepolia":return"https://api-sepolia.etherscan.io";case"matic":return"https://api.polygonscan.com";case"maticmum":return"https://api-testnet.polygonscan.com";case"arbitrum":return"https://api.arbiscan.io";case"arbitrum-goerli":return"https://api-goerli.arbiscan.io";case"optimism":return"https://api-optimistic.etherscan.io";case"optimism-goerli":return"https://api-goerli-optimistic.etherscan.io";default:}return fb.throwArgumentError("unsupported network","network",this.network.name)},e.prototype.getUrl=function(n,a){var r=Object.keys(a).reduce(function(i,s){var o=a[s];return o!=null&&(i+="&"+s+"="+o),i},""),f=this.apiKey?"&apikey="+this.apiKey:"";return this.baseUrl+"/api?module="+n+r+f},e.prototype.getPostUrl=function(){return this.baseUrl+"/api"},e.prototype.getPostData=function(n,a){return a.module=n,a.apikey=this.apiKey,a},e.prototype.fetch=function(n,a,r){return qH(this,void 0,void 0,function(){var f,i,s,o,c,d,l=this;return jH(this,function(h){switch(h.label){case 0:return f=r?this.getPostUrl():this.getUrl(n,a),i=r?this.getPostData(n,a):null,s=n==="proxy"?eLe:WZ0,this.emit("debug",{action:"request",request:f,provider:this}),o={url:f,throttleSlotInterval:1e3,throttleCallback:function(y,v){return l.isCommunityResource()&&(0,UZ0.showThrottleMessage)(),Promise.resolve(!0)}},c=null,i&&(o.headers={"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},c=Object.keys(i).map(function(y){return y+"="+i[y]}).join("&")),[4,(0,OZ0.fetchJson)(o,c,s||eLe)];case 1:return d=h.sent(),this.emit("debug",{action:"response",request:f,response:(0,Afe.deepCopy)(d),provider:this}),[2,d]}})})},e.prototype.detectNetwork=function(){return qH(this,void 0,void 0,function(){return jH(this,function(n){return[2,this.network]})})},e.prototype.perform=function(n,a){return qH(this,void 0,void 0,function(){var r,i,f,i,s,o,c,d,l,h,y,v,k;return jH(this,function(O){switch(O.label){case 0:switch(r=n,r){case"getBlockNumber":return[3,1];case"getGasPrice":return[3,2];case"getBalance":return[3,3];case"getTransactionCount":return[3,4];case"getCode":return[3,5];case"getStorageAt":return[3,6];case"sendTransaction":return[3,7];case"getBlock":return[3,8];case"getTransaction":return[3,9];case"getTransactionReceipt":return[3,10];case"call":return[3,11];case"estimateGas":return[3,15];case"getLogs":return[3,19];case"getEtherPrice":return[3,26]}return[3,28];case 1:return[2,this.fetch("proxy",{action:"eth_blockNumber"})];case 2:return[2,this.fetch("proxy",{action:"eth_gasPrice"})];case 3:return[2,this.fetch("account",{action:"balance",address:a.address,tag:a.blockTag})];case 4:return[2,this.fetch("proxy",{action:"eth_getTransactionCount",address:a.address,tag:a.blockTag})];case 5:return[2,this.fetch("proxy",{action:"eth_getCode",address:a.address,tag:a.blockTag})];case 6:return[2,this.fetch("proxy",{action:"eth_getStorageAt",address:a.address,position:a.position,tag:a.blockTag})];case 7:return[2,this.fetch("proxy",{action:"eth_sendRawTransaction",hex:a.signedTransaction},!0).catch(function(F){return Cfe("sendTransaction",F,a.signedTransaction)})];case 8:if(a.blockTag)return[2,this.fetch("proxy",{action:"eth_getBlockByNumber",tag:a.blockTag,boolean:a.includeTransactions?"true":"false"})];throw new Error("getBlock by blockHash not implemented");case 9:return[2,this.fetch("proxy",{action:"eth_getTransactionByHash",txhash:a.transactionHash})];case 10:return[2,this.fetch("proxy",{action:"eth_getTransactionReceipt",txhash:a.transactionHash})];case 11:if(a.blockTag!=="latest")throw new Error("EtherscanProvider does not support blockTag for call");i=ZPe(a.transaction),i.module="proxy",i.action="eth_call",O.label=12;case 12:return O.trys.push([12,14,,15]),[4,this.fetch("proxy",i,!0)];case 13:return[2,O.sent()];case 14:return f=O.sent(),[2,Cfe("call",f,a.transaction)];case 15:i=ZPe(a.transaction),i.module="proxy",i.action="eth_estimateGas",O.label=16;case 16:return O.trys.push([16,18,,19]),[4,this.fetch("proxy",i,!0)];case 17:return[2,O.sent()];case 18:return s=O.sent(),[2,Cfe("estimateGas",s,a.transaction)];case 19:return o={action:"getLogs"},a.filter.fromBlock&&(o.fromBlock=tLe(a.filter.fromBlock)),a.filter.toBlock&&(o.toBlock=tLe(a.filter.toBlock)),a.filter.address&&(o.address=a.filter.address),a.filter.topics&&a.filter.topics.length>0&&(a.filter.topics.length>1&&fb.throwError("unsupported topic count",q2.Logger.errors.UNSUPPORTED_OPERATION,{topics:a.filter.topics}),a.filter.topics.length===1&&(c=a.filter.topics[0],(typeof c!="string"||c.length!==66)&&fb.throwError("unsupported topic format",q2.Logger.errors.UNSUPPORTED_OPERATION,{topic0:c}),o.topic0=c)),[4,this.fetch("logs",o)];case 20:d=O.sent(),l={},h=0,O.label=21;case 21:return h{"use strict";u();p();var jZ0=K2&&K2.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),VH=K2&&K2.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},iS=K2&&K2.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]e?null:(a+r)/2}function PT(t){if(t===null)return"null";if(typeof t=="number"||typeof t=="boolean")return JSON.stringify(t);if(typeof t=="string")return t;if(KZ0.BigNumber.isBigNumber(t))return t.toString();if(Array.isArray(t))return JSON.stringify(t.map(function(n){return PT(n)}));if(typeof t=="object"){var e=Object.keys(t);return e.sort(),"{"+e.map(function(n){var a=t[n];return typeof a=="function"?a="[function]":a=PT(a),JSON.stringify(n)+":"+a}).join(",")+"}"}throw new Error("unknown value type: "+typeof t)}var JZ0=1;function iLe(t){var e=null,n=null,a=new Promise(function(i){e=function(){n&&(clearTimeout(n),n=null),i()},n=setTimeout(e,t)}),r=function(i){return a=a.then(i),a};function f(){return a}return{cancel:e,getPromise:f,wait:r}}var XZ0=[ib.Logger.errors.CALL_EXCEPTION,ib.Logger.errors.INSUFFICIENT_FUNDS,ib.Logger.errors.NONCE_EXPIRED,ib.Logger.errors.REPLACEMENT_UNDERPRICED,ib.Logger.errors.UNPREDICTABLE_GAS_LIMIT],ZZ0=["address","args","errorArgs","errorSignature","method","transaction"];function QH(t,e){var n={weight:t.weight};return Object.defineProperty(n,"provider",{get:function(){return t.provider}}),t.start&&(n.start=t.start),e&&(n.duration=e-t.start),t.done&&(t.error?n.error=t.error:n.result=t.result||null),n}function eet(t,e){return function(n){var a={};n.forEach(function(s){var o=t(s.result);a[o]||(a[o]={count:0,result:s.result}),a[o].count++});for(var r=Object.keys(a),f=0;f=e)return i.result}}}function tet(t,e,n){var a=PT;switch(e){case"getBlockNumber":return function(r){var f=r.map(function(s){return s.result}),i=fLe(r.map(function(s){return s.result}),2);if(i!=null)return i=Math.ceil(i),f.indexOf(i+1)>=0&&i++,i>=t._highestBlockNumber&&(t._highestBlockNumber=i),t._highestBlockNumber};case"getGasPrice":return function(r){var f=r.map(function(i){return i.result});return f.sort(),f[Math.floor(f.length/2)]};case"getEtherPrice":return function(r){return fLe(r.map(function(f){return f.result}))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":a=function(r){return r==null?null:(r=(0,G2.shallowCopy)(r),r.confirmations=-1,PT(r))};break;case"getBlock":n.includeTransactions?a=function(r){return r==null?null:(r=(0,G2.shallowCopy)(r),r.transactions=r.transactions.map(function(f){return f=(0,G2.shallowCopy)(f),f.confirmations=-1,f}),PT(r))}:a=function(r){return r==null?null:PT(r)};break;default:throw new Error("unknown method: "+e)}return eet(a,t.quorum)}function fS(t,e){return VH(this,void 0,void 0,function(){var n;return iS(this,function(a){return n=t.provider,n.blockNumber!=null&&n.blockNumber>=e||e===-1?[2,n]:[2,(0,VZ0.poll)(function(){return new Promise(function(r,f){setTimeout(function(){return n.blockNumber>=e?r(n):t.cancelled?r(null):r(void 0)},0)})},{oncePoll:n})]})})}function net(t,e,n,a){return VH(this,void 0,void 0,function(){var r,f,i;return iS(this,function(s){switch(s.label){case 0:switch(r=t.provider,f=n,f){case"getBlockNumber":return[3,1];case"getGasPrice":return[3,1];case"getEtherPrice":return[3,2];case"getBalance":return[3,3];case"getTransactionCount":return[3,3];case"getCode":return[3,3];case"getStorageAt":return[3,6];case"getBlock":return[3,9];case"call":return[3,12];case"estimateGas":return[3,12];case"getTransaction":return[3,15];case"getTransactionReceipt":return[3,15];case"getLogs":return[3,16]}return[3,19];case 1:return[2,r[n]()];case 2:return r.getEtherPrice?[2,r.getEtherPrice()]:[3,19];case 3:return a.blockTag&&(0,DT.isHexString)(a.blockTag)?[4,fS(t,e)]:[3,5];case 4:r=s.sent(),s.label=5;case 5:return[2,r[n](a.address,a.blockTag||"latest")];case 6:return a.blockTag&&(0,DT.isHexString)(a.blockTag)?[4,fS(t,e)]:[3,8];case 7:r=s.sent(),s.label=8;case 8:return[2,r.getStorageAt(a.address,a.position,a.blockTag||"latest")];case 9:return a.blockTag&&(0,DT.isHexString)(a.blockTag)?[4,fS(t,e)]:[3,11];case 10:r=s.sent(),s.label=11;case 11:return[2,r[a.includeTransactions?"getBlockWithTransactions":"getBlock"](a.blockTag||a.blockHash)];case 12:return a.blockTag&&(0,DT.isHexString)(a.blockTag)?[4,fS(t,e)]:[3,14];case 13:r=s.sent(),s.label=14;case 14:return n==="call"&&a.blockTag?[2,r[n](a.transaction,a.blockTag)]:[2,r[n](a.transaction)];case 15:return[2,r[n](a.transactionHash)];case 16:return i=a.filter,i.fromBlock&&(0,DT.isHexString)(i.fromBlock)||i.toBlock&&(0,DT.isHexString)(i.toBlock)?[4,fS(t,e)]:[3,18];case 17:r=s.sent(),s.label=18;case 18:return[2,r.getLogs(i)];case 19:return[2,w7.throwError("unknown method error",ib.Logger.errors.UNKNOWN_ERROR,{method:n,params:a})]}})})}var aet=function(t){jZ0(e,t);function e(n,a){var r=this;n.length===0&&w7.throwArgumentError("missing providers","providers",n);var f=n.map(function(o,c){if(GZ0.Provider.isProvider(o)){var d=(0,aLe.isCommunityResource)(o)?2e3:750,l=1;return Object.freeze({provider:o,weight:1,stallTimeout:d,priority:l})}var h=(0,G2.shallowCopy)(o);h.priority==null&&(h.priority=1),h.stallTimeout==null&&(h.stallTimeout=(0,aLe.isCommunityResource)(o)?2e3:750),h.weight==null&&(h.weight=1);var y=h.weight;return(y%1||y>512||y<1)&&w7.throwArgumentError("invalid weight; must be integer in [1, 512]","providers["+c+"].weight",y),Object.freeze(h)}),i=f.reduce(function(o,c){return o+c.weight},0);a==null?a=i/2:a>i&&w7.throwArgumentError("quorum will always fail; larger than total weight","quorum",a);var s=rLe(f.map(function(o){return o.provider.network}));return s==null&&(s=new Promise(function(o,c){setTimeout(function(){r.detectNetwork().then(o,c)},0)})),r=t.call(this,s)||this,(0,G2.defineReadOnly)(r,"providerConfigs",Object.freeze(f)),(0,G2.defineReadOnly)(r,"quorum",a),r._highestBlockNumber=-1,r}return e.prototype.detectNetwork=function(){return VH(this,void 0,void 0,function(){var n;return iS(this,function(a){switch(a.label){case 0:return[4,Promise.all(this.providerConfigs.map(function(r){return r.provider.getNetwork()}))];case 1:return n=a.sent(),[2,rLe(n)]}})})},e.prototype.perform=function(n,a){return VH(this,void 0,void 0,function(){var r,f,i,s,o,c,d,l,h,y,v,k=this;return iS(this,function(O){switch(O.label){case 0:return n!=="sendTransaction"?[3,2]:[4,Promise.all(this.providerConfigs.map(function(F){return F.provider.sendTransaction(a.signedTransaction).then(function(z){return z.hash},function(z){return z})}))];case 1:for(r=O.sent(),f=0;f=y.quorum?(V=s(Q),V!==void 0?(o.forEach(function(G){G.staller&&G.staller.cancel(),G.cancelled=!0}),[2,{value:V}]):l?[3,4]:[4,iLe(100).getPromise()]):[3,5];case 3:K.sent(),K.label=4;case 4:l=!1,K.label=5;case 5:return X=o.reduce(function(G,R){if(!R.done||R.error==null)return G;var T=R.error.code;return XZ0.indexOf(T)>=0&&(G[T]||(G[T]={error:R.error,weight:0}),G[T].weight+=R.weight),G},{}),Object.keys(X).forEach(function(G){var R=X[G];if(!(R.weight{"use strict";u();p();Object.defineProperty(YH,"__esModule",{value:!0});YH.IpcProvider=void 0;var ret=null;YH.IpcProvider=ret});var uLe=D(sb=>{"use strict";u();p();var cLe=sb&&sb.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(sb,"__esModule",{value:!0});sb.InfuraProvider=sb.InfuraWebSocketProvider=void 0;var Ife=Ba(),fet=UH(),iet=tb(),kfe=Ft(),set=no(),$H=new kfe.Logger(set.version),oet=ab(),sS="84842078b09946638c03157f83405213",dLe=function(t){cLe(e,t);function e(n,a){var r=this,f=new lLe(n,a),i=f.connection;i.password&&$H.throwError("INFURA WebSocket project secrets unsupported",kfe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"InfuraProvider.getWebSocketProvider()"});var s=i.url.replace(/^http/i,"ws").replace("/v3/","/ws/v3/");return r=t.call(this,s,n)||this,(0,Ife.defineReadOnly)(r,"apiKey",f.projectId),(0,Ife.defineReadOnly)(r,"projectId",f.projectId),(0,Ife.defineReadOnly)(r,"projectSecret",f.projectSecret),r}return e.prototype.isCommunityResource=function(){return this.projectId===sS},e}(fet.WebSocketProvider);sb.InfuraWebSocketProvider=dLe;var lLe=function(t){cLe(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getWebSocketProvider=function(n,a){return new dLe(n,a)},e.getApiKey=function(n){var a={apiKey:sS,projectId:sS,projectSecret:null};return n==null||(typeof n=="string"?a.projectId=n:n.projectSecret!=null?($H.assertArgument(typeof n.projectId=="string","projectSecret requires a projectId","projectId",n.projectId),$H.assertArgument(typeof n.projectSecret=="string","invalid projectSecret","projectSecret","[REDACTED]"),a.projectId=n.projectId,a.projectSecret=n.projectSecret):n.projectId&&(a.projectId=n.projectId),a.apiKey=a.projectId),a},e.getUrl=function(n,a){var r=null;switch(n?n.name:"unknown"){case"homestead":r="mainnet.infura.io";break;case"goerli":r="goerli.infura.io";break;case"sepolia":r="sepolia.infura.io";break;case"matic":r="polygon-mainnet.infura.io";break;case"maticmum":r="polygon-mumbai.infura.io";break;case"optimism":r="optimism-mainnet.infura.io";break;case"optimism-goerli":r="optimism-goerli.infura.io";break;case"arbitrum":r="arbitrum-mainnet.infura.io";break;case"arbitrum-goerli":r="arbitrum-goerli.infura.io";break;default:$H.throwError("unsupported network",kfe.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:n})}var f={allowGzip:!0,url:"https://"+r+"/v3/"+a.projectId,throttleCallback:function(i,s){return a.projectId===sS&&(0,iet.showThrottleMessage)(),Promise.resolve(!0)}};return a.projectSecret!=null&&(f.user="",f.password=a.projectSecret),f},e.prototype.isCommunityResource=function(){return this.projectId===sS},e}(oet.UrlJsonRpcProvider);sb.InfuraProvider=lLe});var pLe=D(LT=>{"use strict";u();p();var cet=LT&<.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(LT,"__esModule",{value:!0});LT.JsonRpcBatchProvider=void 0;var det=Ba(),uet=A8(),pet=ST(),het=function(t){cet(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.send=function(n,a){var r=this,f={method:n,params:a,id:this._nextId++,jsonrpc:"2.0"};this._pendingBatch==null&&(this._pendingBatch=[]);var i={request:f,resolve:null,reject:null},s=new Promise(function(o,c){i.resolve=o,i.reject=c});return this._pendingBatch.push(i),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout(function(){var o=r._pendingBatch;r._pendingBatch=null,r._pendingBatchAggregator=null;var c=o.map(function(d){return d.request});return r.emit("debug",{action:"requestBatch",request:(0,det.deepCopy)(c),provider:r}),(0,uet.fetchJson)(r.connection,JSON.stringify(c)).then(function(d){r.emit("debug",{action:"response",request:c,response:d,provider:r}),o.forEach(function(l,h){var y=d[h];if(y.error){var v=new Error(y.error.message);v.code=y.error.code,v.data=y.error.data,l.reject(v)}else l.resolve(y.result)})},function(d){r.emit("debug",{action:"response",error:d,request:c,provider:r}),o.forEach(function(l){l.reject(d)})})},10)),s},e}(pet.JsonRpcProvider);LT.JsonRpcBatchProvider=het});var hLe=D(FT=>{"use strict";u();p();var bet=FT&&FT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(FT,"__esModule",{value:!0});FT.NodesmithProvider=void 0;var met=ab(),yet=Ft(),get=no(),Sfe=new yet.Logger(get.version),vet="ETHERS_JS_SHARED",wet=function(t){bet(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getApiKey=function(n){return n&&typeof n!="string"&&Sfe.throwArgumentError("invalid apiKey","apiKey",n),n||vet},e.getUrl=function(n,a){Sfe.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");var r=null;switch(n.name){case"homestead":r="https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc";break;case"ropsten":r="https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc";break;case"rinkeby":r="https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc";break;case"goerli":r="https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc";break;case"kovan":r="https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc";break;default:Sfe.throwArgumentError("unsupported network","network",arguments[0])}return r+"?apiKey="+a},e}(met.UrlJsonRpcProvider);FT.NodesmithProvider=wet});var gLe=D(NT=>{"use strict";u();p();var Tet=NT&&NT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(NT,"__esModule",{value:!0});NT.PocketProvider=void 0;var yLe=Ft(),xet=no(),bLe=new yLe.Logger(xet.version),Eet=ab(),mLe="62e1ad51b37b8e00394bda3b",_et=function(t){Tet(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getApiKey=function(n){var a={applicationId:null,loadBalancer:!0,applicationSecretKey:null};return n==null?a.applicationId=mLe:typeof n=="string"?a.applicationId=n:n.applicationSecretKey!=null?(a.applicationId=n.applicationId,a.applicationSecretKey=n.applicationSecretKey):n.applicationId?a.applicationId=n.applicationId:bLe.throwArgumentError("unsupported PocketProvider apiKey","apiKey",n),a},e.getUrl=function(n,a){var r=null;switch(n?n.name:"unknown"){case"goerli":r="eth-goerli.gateway.pokt.network";break;case"homestead":r="eth-mainnet.gateway.pokt.network";break;case"kovan":r="poa-kovan.gateway.pokt.network";break;case"matic":r="poly-mainnet.gateway.pokt.network";break;case"maticmum":r="polygon-mumbai-rpc.gateway.pokt.network";break;case"rinkeby":r="eth-rinkeby.gateway.pokt.network";break;case"ropsten":r="eth-ropsten.gateway.pokt.network";break;default:bLe.throwError("unsupported network",yLe.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:n})}var f="https://"+r+"/v1/lb/"+a.applicationId,i={headers:{},url:f};return a.applicationSecretKey!=null&&(i.user="",i.password=a.applicationSecretKey),i},e.prototype.isCommunityResource=function(){return this.applicationId===mLe},e}(Eet.UrlJsonRpcProvider);NT.PocketProvider=_et});var TLe=D(OT=>{"use strict";u();p();var Aet=OT&&OT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(OT,"__esModule",{value:!0});OT.Web3Provider=void 0;var JH=Ba(),Cet=Ft(),Iet=no(),vLe=new Cet.Logger(Iet.version),ket=ST(),Ret=1;function wLe(t,e){var n="Web3LegacyFetcher";return function(a,r){var f=this,i={method:a,params:r,id:Ret++,jsonrpc:"2.0"};return new Promise(function(s,o){f.emit("debug",{action:"request",fetcher:n,request:(0,JH.deepCopy)(i),provider:f}),e(i,function(c,d){if(c)return f.emit("debug",{action:"response",fetcher:n,error:c,request:i,provider:f}),o(c);if(f.emit("debug",{action:"response",fetcher:n,request:i,response:d,provider:f}),d.error){var l=new Error(d.error.message);return l.code=d.error.code,l.data=d.error.data,o(l)}s(d.result)})})}}function Met(t){return function(e,n){var a=this;n==null&&(n=[]);var r={method:e,params:n};return this.emit("debug",{action:"request",fetcher:"Eip1193Fetcher",request:(0,JH.deepCopy)(r),provider:this}),t.request(r).then(function(f){return a.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:r,response:f,provider:a}),f},function(f){throw a.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:r,error:f,provider:a}),f})}}var Bet=function(t){Aet(e,t);function e(n,a){var r=this;n==null&&vLe.throwArgumentError("missing provider","provider",n);var f=null,i=null,s=null;return typeof n=="function"?(f="unknown:",i=n):(f=n.host||n.path||"",!f&&n.isMetaMask&&(f="metamask"),s=n,n.request?(f===""&&(f="eip-1193:"),i=Met(n)):n.sendAsync?i=wLe(n,n.sendAsync.bind(n)):n.send?i=wLe(n,n.send.bind(n)):vLe.throwArgumentError("unsupported provider","provider",n),f||(f="unknown:")),r=t.call(this,f,a)||this,(0,JH.defineReadOnly)(r,"jsonRpcFetchFunc",i),(0,JH.defineReadOnly)(r,"provider",s),r}return e.prototype.send=function(n,a){return this.jsonRpcFetchFunc(n,a)},e}(ket.JsonRpcProvider);OT.Web3Provider=Bet});var ez=D(yt=>{"use strict";u();p();Object.defineProperty(yt,"__esModule",{value:!0});yt.Formatter=yt.showThrottleMessage=yt.isCommunityResourcable=yt.isCommunityResource=yt.getNetwork=yt.getDefaultProvider=yt.JsonRpcSigner=yt.IpcProvider=yt.WebSocketProvider=yt.Web3Provider=yt.StaticJsonRpcProvider=yt.PocketProvider=yt.NodesmithProvider=yt.JsonRpcBatchProvider=yt.JsonRpcProvider=yt.InfuraWebSocketProvider=yt.InfuraProvider=yt.EtherscanProvider=yt.CloudflareProvider=yt.AnkrProvider=yt.AlchemyWebSocketProvider=yt.AlchemyProvider=yt.FallbackProvider=yt.UrlJsonRpcProvider=yt.Resolver=yt.BaseProvider=yt.Provider=void 0;var Det=E3();Object.defineProperty(yt,"Provider",{enumerable:!0,get:function(){return Det.Provider}});var ELe=dfe();Object.defineProperty(yt,"getNetwork",{enumerable:!0,get:function(){return ELe.getNetwork}});var _Le=eS();Object.defineProperty(yt,"BaseProvider",{enumerable:!0,get:function(){return _Le.BaseProvider}});Object.defineProperty(yt,"Resolver",{enumerable:!0,get:function(){return _Le.Resolver}});var Rfe=YPe();Object.defineProperty(yt,"AlchemyProvider",{enumerable:!0,get:function(){return Rfe.AlchemyProvider}});Object.defineProperty(yt,"AlchemyWebSocketProvider",{enumerable:!0,get:function(){return Rfe.AlchemyWebSocketProvider}});var ALe=$Pe();Object.defineProperty(yt,"AnkrProvider",{enumerable:!0,get:function(){return ALe.AnkrProvider}});var CLe=XPe();Object.defineProperty(yt,"CloudflareProvider",{enumerable:!0,get:function(){return CLe.CloudflareProvider}});var ILe=nLe();Object.defineProperty(yt,"EtherscanProvider",{enumerable:!0,get:function(){return ILe.EtherscanProvider}});var kLe=sLe();Object.defineProperty(yt,"FallbackProvider",{enumerable:!0,get:function(){return kLe.FallbackProvider}});var SLe=oLe();Object.defineProperty(yt,"IpcProvider",{enumerable:!0,get:function(){return SLe.IpcProvider}});var Mfe=uLe();Object.defineProperty(yt,"InfuraProvider",{enumerable:!0,get:function(){return Mfe.InfuraProvider}});Object.defineProperty(yt,"InfuraWebSocketProvider",{enumerable:!0,get:function(){return Mfe.InfuraWebSocketProvider}});var XH=ST();Object.defineProperty(yt,"JsonRpcProvider",{enumerable:!0,get:function(){return XH.JsonRpcProvider}});Object.defineProperty(yt,"JsonRpcSigner",{enumerable:!0,get:function(){return XH.JsonRpcSigner}});var Pet=pLe();Object.defineProperty(yt,"JsonRpcBatchProvider",{enumerable:!0,get:function(){return Pet.JsonRpcBatchProvider}});var RLe=hLe();Object.defineProperty(yt,"NodesmithProvider",{enumerable:!0,get:function(){return RLe.NodesmithProvider}});var MLe=gLe();Object.defineProperty(yt,"PocketProvider",{enumerable:!0,get:function(){return MLe.PocketProvider}});var BLe=ab();Object.defineProperty(yt,"StaticJsonRpcProvider",{enumerable:!0,get:function(){return BLe.StaticJsonRpcProvider}});Object.defineProperty(yt,"UrlJsonRpcProvider",{enumerable:!0,get:function(){return BLe.UrlJsonRpcProvider}});var DLe=TLe();Object.defineProperty(yt,"Web3Provider",{enumerable:!0,get:function(){return DLe.Web3Provider}});var PLe=UH();Object.defineProperty(yt,"WebSocketProvider",{enumerable:!0,get:function(){return PLe.WebSocketProvider}});var ZH=tb();Object.defineProperty(yt,"Formatter",{enumerable:!0,get:function(){return ZH.Formatter}});Object.defineProperty(yt,"isCommunityResourcable",{enumerable:!0,get:function(){return ZH.isCommunityResourcable}});Object.defineProperty(yt,"isCommunityResource",{enumerable:!0,get:function(){return ZH.isCommunityResource}});Object.defineProperty(yt,"showThrottleMessage",{enumerable:!0,get:function(){return ZH.showThrottleMessage}});var LLe=Ft(),Let=no(),xLe=new LLe.Logger(Let.version);function Fet(t,e){if(t==null&&(t="homestead"),typeof t=="string"){var n=t.match(/^(ws|http)s?:/i);if(n)switch(n[1].toLowerCase()){case"http":case"https":return new XH.JsonRpcProvider(t);case"ws":case"wss":return new PLe.WebSocketProvider(t);default:xLe.throwArgumentError("unsupported URL scheme","network",t)}}var a=(0,ELe.getNetwork)(t);return(!a||!a._defaultProvider)&&xLe.throwError("unsupported getDefaultProvider network",LLe.Logger.errors.NETWORK_ERROR,{operation:"getDefaultProvider",network:t}),a._defaultProvider({FallbackProvider:kLe.FallbackProvider,AlchemyProvider:Rfe.AlchemyProvider,AnkrProvider:ALe.AnkrProvider,CloudflareProvider:CLe.CloudflareProvider,EtherscanProvider:ILe.EtherscanProvider,InfuraProvider:Mfe.InfuraProvider,JsonRpcProvider:XH.JsonRpcProvider,NodesmithProvider:RLe.NodesmithProvider,PocketProvider:MLe.PocketProvider,Web3Provider:DLe.Web3Provider,IpcProvider:SLe.IpcProvider},e)}yt.getDefaultProvider=Fet});var FLe=D(tz=>{"use strict";u();p();Object.defineProperty(tz,"__esModule",{value:!0});tz.version=void 0;tz.version="solidity/5.7.0"});var Dfe=D(ob=>{"use strict";u();p();Object.defineProperty(ob,"__esModule",{value:!0});ob.sha256=ob.keccak256=ob.pack=void 0;var Net=ia(),ml=Vt(),Oet=O1(),Uet=h7(),Het=_i(),zet=new RegExp("^bytes([0-9]+)$"),Wet=new RegExp("^(u?int)([0-9]*)$"),qet=new RegExp("^(.*)\\[([0-9]*)\\]$"),jet="0000000000000000000000000000000000000000000000000000000000000000",Get=Ft(),Ket=FLe(),UT=new Get.Logger(Ket.version);function NLe(t,e,n){switch(t){case"address":return n?(0,ml.zeroPad)(e,32):(0,ml.arrayify)(e);case"string":return(0,Het.toUtf8Bytes)(e);case"bytes":return(0,ml.arrayify)(e);case"bool":return e=e?"0x01":"0x00",n?(0,ml.zeroPad)(e,32):(0,ml.arrayify)(e)}var a=t.match(Wet);if(a){var r=parseInt(a[2]||"256");return(a[2]&&String(r)!==a[2]||r%8!==0||r===0||r>256)&&UT.throwArgumentError("invalid number type","type",t),n&&(r=256),e=Net.BigNumber.from(e).toTwos(r),(0,ml.zeroPad)(e,r/8)}if(a=t.match(zet),a){var r=parseInt(a[1]);return(String(r)!==a[1]||r===0||r>32)&&UT.throwArgumentError("invalid bytes type","type",t),(0,ml.arrayify)(e).byteLength!==r&&UT.throwArgumentError("invalid value for "+t,"value",e),n?(0,ml.arrayify)((e+jet).substring(0,66)):e}if(a=t.match(qet),a&&Array.isArray(e)){var f=a[1],i=parseInt(a[2]||String(e.length));i!=e.length&&UT.throwArgumentError("invalid array length for "+t,"value",e);var s=[];return e.forEach(function(o){s.push(NLe(f,o,!0))}),(0,ml.concat)(s)}return UT.throwArgumentError("invalid type","type",t)}function Bfe(t,e){t.length!=e.length&&UT.throwArgumentError("wrong number of values; expected ${ types.length }","values",e);var n=[];return t.forEach(function(a,r){n.push(NLe(a,e[r]))}),(0,ml.hexlify)((0,ml.concat)(n))}ob.pack=Bfe;function Qet(t,e){return(0,Oet.keccak256)(Bfe(t,e))}ob.keccak256=Qet;function Vet(t,e){return(0,Uet.sha256)(Bfe(t,e))}ob.sha256=Vet});var OLe=D(nz=>{"use strict";u();p();Object.defineProperty(nz,"__esModule",{value:!0});nz.version=void 0;nz.version="units/5.7.0"});var jLe=D(G5=>{"use strict";u();p();Object.defineProperty(G5,"__esModule",{value:!0});G5.parseEther=G5.formatEther=G5.parseUnits=G5.formatUnits=G5.commify=void 0;var ULe=ia(),Yet=Ft(),$et=OLe(),HLe=new Yet.Logger($et.version),zLe=["wei","kwei","mwei","gwei","szabo","finney","ether"];function Jet(t){var e=String(t).split(".");(e.length>2||!e[0].match(/^-?[0-9]*$/)||e[1]&&!e[1].match(/^[0-9]*$/)||t==="."||t==="-.")&&HLe.throwArgumentError("invalid value","value",t);var n=e[0],a="";for(n.substring(0,1)==="-"&&(a="-",n=n.substring(1));n.substring(0,1)==="0";)n=n.substring(1);n===""&&(n="0");var r="";for(e.length===2&&(r="."+(e[1]||"0"));r.length>2&&r[r.length-1]==="0";)r=r.substring(0,r.length-1);for(var f=[];n.length;)if(n.length<=3){f.unshift(n);break}else{var i=n.length-3;f.unshift(n.substring(i)),n=n.substring(0,i)}return a+f.join(",")+r}G5.commify=Jet;function WLe(t,e){if(typeof e=="string"){var n=zLe.indexOf(e);n!==-1&&(e=3*n)}return(0,ULe.formatFixed)(t,e??18)}G5.formatUnits=WLe;function qLe(t,e){if(typeof t!="string"&&HLe.throwArgumentError("value must be a string","value",t),typeof e=="string"){var n=zLe.indexOf(e);n!==-1&&(e=3*n)}return(0,ULe.parseFixed)(t,e??18)}G5.parseUnits=qLe;function Xet(t){return WLe(t,18)}G5.formatEther=Xet;function Zet(t){return qLe(t,18)}G5.parseEther=Zet});var qT=D(ke=>{"use strict";u();p();var e0t=ke&&ke.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),t0t=ke&&ke.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),GLe=ke&&ke.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&e0t(e,t,n);return t0t(e,t),e};Object.defineProperty(ke,"__esModule",{value:!0});ke.formatBytes32String=ke.Utf8ErrorFuncs=ke.toUtf8String=ke.toUtf8CodePoints=ke.toUtf8Bytes=ke._toEscapedUtf8String=ke.nameprep=ke.hexDataSlice=ke.hexDataLength=ke.hexZeroPad=ke.hexValue=ke.hexStripZeros=ke.hexConcat=ke.isHexString=ke.hexlify=ke.base64=ke.base58=ke.TransactionDescription=ke.LogDescription=ke.Interface=ke.SigningKey=ke.HDNode=ke.defaultPath=ke.isBytesLike=ke.isBytes=ke.zeroPad=ke.stripZeros=ke.concat=ke.arrayify=ke.shallowCopy=ke.resolveProperties=ke.getStatic=ke.defineReadOnly=ke.deepCopy=ke.checkProperties=ke.poll=ke.fetchJson=ke._fetchData=ke.RLP=ke.Logger=ke.checkResultErrors=ke.FormatTypes=ke.ParamType=ke.FunctionFragment=ke.EventFragment=ke.ErrorFragment=ke.ConstructorFragment=ke.Fragment=ke.defaultAbiCoder=ke.AbiCoder=void 0;ke.Indexed=ke.Utf8ErrorReason=ke.UnicodeNormalizationForm=ke.SupportedAlgorithm=ke.mnemonicToSeed=ke.isValidMnemonic=ke.entropyToMnemonic=ke.mnemonicToEntropy=ke.getAccountPath=ke.verifyTypedData=ke.verifyMessage=ke.recoverPublicKey=ke.computePublicKey=ke.recoverAddress=ke.computeAddress=ke.getJsonWalletAddress=ke.TransactionTypes=ke.serializeTransaction=ke.parseTransaction=ke.accessListify=ke.joinSignature=ke.splitSignature=ke.soliditySha256=ke.solidityKeccak256=ke.solidityPack=ke.shuffled=ke.randomBytes=ke.sha512=ke.sha256=ke.ripemd160=ke.keccak256=ke.computeHmac=ke.commify=ke.parseUnits=ke.formatUnits=ke.parseEther=ke.formatEther=ke.isAddress=ke.getCreate2Address=ke.getContractAddress=ke.getIcapAddress=ke.getAddress=ke._TypedDataEncoder=ke.id=ke.isValidName=ke.namehash=ke.hashMessage=ke.dnsEncode=ke.parseBytes32String=void 0;var Lc=hw();Object.defineProperty(ke,"AbiCoder",{enumerable:!0,get:function(){return Lc.AbiCoder}});Object.defineProperty(ke,"checkResultErrors",{enumerable:!0,get:function(){return Lc.checkResultErrors}});Object.defineProperty(ke,"ConstructorFragment",{enumerable:!0,get:function(){return Lc.ConstructorFragment}});Object.defineProperty(ke,"defaultAbiCoder",{enumerable:!0,get:function(){return Lc.defaultAbiCoder}});Object.defineProperty(ke,"ErrorFragment",{enumerable:!0,get:function(){return Lc.ErrorFragment}});Object.defineProperty(ke,"EventFragment",{enumerable:!0,get:function(){return Lc.EventFragment}});Object.defineProperty(ke,"FormatTypes",{enumerable:!0,get:function(){return Lc.FormatTypes}});Object.defineProperty(ke,"Fragment",{enumerable:!0,get:function(){return Lc.Fragment}});Object.defineProperty(ke,"FunctionFragment",{enumerable:!0,get:function(){return Lc.FunctionFragment}});Object.defineProperty(ke,"Indexed",{enumerable:!0,get:function(){return Lc.Indexed}});Object.defineProperty(ke,"Interface",{enumerable:!0,get:function(){return Lc.Interface}});Object.defineProperty(ke,"LogDescription",{enumerable:!0,get:function(){return Lc.LogDescription}});Object.defineProperty(ke,"ParamType",{enumerable:!0,get:function(){return Lc.ParamType}});Object.defineProperty(ke,"TransactionDescription",{enumerable:!0,get:function(){return Lc.TransactionDescription}});var oS=Bo();Object.defineProperty(ke,"getAddress",{enumerable:!0,get:function(){return oS.getAddress}});Object.defineProperty(ke,"getCreate2Address",{enumerable:!0,get:function(){return oS.getCreate2Address}});Object.defineProperty(ke,"getContractAddress",{enumerable:!0,get:function(){return oS.getContractAddress}});Object.defineProperty(ke,"getIcapAddress",{enumerable:!0,get:function(){return oS.getIcapAddress}});Object.defineProperty(ke,"isAddress",{enumerable:!0,get:function(){return oS.isAddress}});var n0t=GLe(bI());ke.base64=n0t;var a0t=tH();Object.defineProperty(ke,"base58",{enumerable:!0,get:function(){return a0t.Base58}});var Yo=Vt();Object.defineProperty(ke,"arrayify",{enumerable:!0,get:function(){return Yo.arrayify}});Object.defineProperty(ke,"concat",{enumerable:!0,get:function(){return Yo.concat}});Object.defineProperty(ke,"hexConcat",{enumerable:!0,get:function(){return Yo.hexConcat}});Object.defineProperty(ke,"hexDataSlice",{enumerable:!0,get:function(){return Yo.hexDataSlice}});Object.defineProperty(ke,"hexDataLength",{enumerable:!0,get:function(){return Yo.hexDataLength}});Object.defineProperty(ke,"hexlify",{enumerable:!0,get:function(){return Yo.hexlify}});Object.defineProperty(ke,"hexStripZeros",{enumerable:!0,get:function(){return Yo.hexStripZeros}});Object.defineProperty(ke,"hexValue",{enumerable:!0,get:function(){return Yo.hexValue}});Object.defineProperty(ke,"hexZeroPad",{enumerable:!0,get:function(){return Yo.hexZeroPad}});Object.defineProperty(ke,"isBytes",{enumerable:!0,get:function(){return Yo.isBytes}});Object.defineProperty(ke,"isBytesLike",{enumerable:!0,get:function(){return Yo.isBytesLike}});Object.defineProperty(ke,"isHexString",{enumerable:!0,get:function(){return Yo.isHexString}});Object.defineProperty(ke,"joinSignature",{enumerable:!0,get:function(){return Yo.joinSignature}});Object.defineProperty(ke,"zeroPad",{enumerable:!0,get:function(){return Yo.zeroPad}});Object.defineProperty(ke,"splitSignature",{enumerable:!0,get:function(){return Yo.splitSignature}});Object.defineProperty(ke,"stripZeros",{enumerable:!0,get:function(){return Yo.stripZeros}});var HT=x3();Object.defineProperty(ke,"_TypedDataEncoder",{enumerable:!0,get:function(){return HT._TypedDataEncoder}});Object.defineProperty(ke,"dnsEncode",{enumerable:!0,get:function(){return HT.dnsEncode}});Object.defineProperty(ke,"hashMessage",{enumerable:!0,get:function(){return HT.hashMessage}});Object.defineProperty(ke,"id",{enumerable:!0,get:function(){return HT.id}});Object.defineProperty(ke,"isValidName",{enumerable:!0,get:function(){return HT.isValidName}});Object.defineProperty(ke,"namehash",{enumerable:!0,get:function(){return HT.namehash}});var T7=mH();Object.defineProperty(ke,"defaultPath",{enumerable:!0,get:function(){return T7.defaultPath}});Object.defineProperty(ke,"entropyToMnemonic",{enumerable:!0,get:function(){return T7.entropyToMnemonic}});Object.defineProperty(ke,"getAccountPath",{enumerable:!0,get:function(){return T7.getAccountPath}});Object.defineProperty(ke,"HDNode",{enumerable:!0,get:function(){return T7.HDNode}});Object.defineProperty(ke,"isValidMnemonic",{enumerable:!0,get:function(){return T7.isValidMnemonic}});Object.defineProperty(ke,"mnemonicToEntropy",{enumerable:!0,get:function(){return T7.mnemonicToEntropy}});Object.defineProperty(ke,"mnemonicToSeed",{enumerable:!0,get:function(){return T7.mnemonicToSeed}});var r0t=ife();Object.defineProperty(ke,"getJsonWalletAddress",{enumerable:!0,get:function(){return r0t.getJsonWalletAddress}});var f0t=O1();Object.defineProperty(ke,"keccak256",{enumerable:!0,get:function(){return f0t.keccak256}});var i0t=Ft();Object.defineProperty(ke,"Logger",{enumerable:!0,get:function(){return i0t.Logger}});var az=h7();Object.defineProperty(ke,"computeHmac",{enumerable:!0,get:function(){return az.computeHmac}});Object.defineProperty(ke,"ripemd160",{enumerable:!0,get:function(){return az.ripemd160}});Object.defineProperty(ke,"sha256",{enumerable:!0,get:function(){return az.sha256}});Object.defineProperty(ke,"sha512",{enumerable:!0,get:function(){return az.sha512}});var Pfe=Dfe();Object.defineProperty(ke,"solidityKeccak256",{enumerable:!0,get:function(){return Pfe.keccak256}});Object.defineProperty(ke,"solidityPack",{enumerable:!0,get:function(){return Pfe.pack}});Object.defineProperty(ke,"soliditySha256",{enumerable:!0,get:function(){return Pfe.sha256}});var KLe=jk();Object.defineProperty(ke,"randomBytes",{enumerable:!0,get:function(){return KLe.randomBytes}});Object.defineProperty(ke,"shuffled",{enumerable:!0,get:function(){return KLe.shuffled}});var zT=Ba();Object.defineProperty(ke,"checkProperties",{enumerable:!0,get:function(){return zT.checkProperties}});Object.defineProperty(ke,"deepCopy",{enumerable:!0,get:function(){return zT.deepCopy}});Object.defineProperty(ke,"defineReadOnly",{enumerable:!0,get:function(){return zT.defineReadOnly}});Object.defineProperty(ke,"getStatic",{enumerable:!0,get:function(){return zT.getStatic}});Object.defineProperty(ke,"resolveProperties",{enumerable:!0,get:function(){return zT.resolveProperties}});Object.defineProperty(ke,"shallowCopy",{enumerable:!0,get:function(){return zT.shallowCopy}});var s0t=GLe(pI());ke.RLP=s0t;var Lfe=kk();Object.defineProperty(ke,"computePublicKey",{enumerable:!0,get:function(){return Lfe.computePublicKey}});Object.defineProperty(ke,"recoverPublicKey",{enumerable:!0,get:function(){return Lfe.recoverPublicKey}});Object.defineProperty(ke,"SigningKey",{enumerable:!0,get:function(){return Lfe.SigningKey}});var cb=_i();Object.defineProperty(ke,"formatBytes32String",{enumerable:!0,get:function(){return cb.formatBytes32String}});Object.defineProperty(ke,"nameprep",{enumerable:!0,get:function(){return cb.nameprep}});Object.defineProperty(ke,"parseBytes32String",{enumerable:!0,get:function(){return cb.parseBytes32String}});Object.defineProperty(ke,"_toEscapedUtf8String",{enumerable:!0,get:function(){return cb._toEscapedUtf8String}});Object.defineProperty(ke,"toUtf8Bytes",{enumerable:!0,get:function(){return cb.toUtf8Bytes}});Object.defineProperty(ke,"toUtf8CodePoints",{enumerable:!0,get:function(){return cb.toUtf8CodePoints}});Object.defineProperty(ke,"toUtf8String",{enumerable:!0,get:function(){return cb.toUtf8String}});Object.defineProperty(ke,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return cb.Utf8ErrorFuncs}});var WT=P2();Object.defineProperty(ke,"accessListify",{enumerable:!0,get:function(){return WT.accessListify}});Object.defineProperty(ke,"computeAddress",{enumerable:!0,get:function(){return WT.computeAddress}});Object.defineProperty(ke,"parseTransaction",{enumerable:!0,get:function(){return WT.parse}});Object.defineProperty(ke,"recoverAddress",{enumerable:!0,get:function(){return WT.recoverAddress}});Object.defineProperty(ke,"serializeTransaction",{enumerable:!0,get:function(){return WT.serialize}});Object.defineProperty(ke,"TransactionTypes",{enumerable:!0,get:function(){return WT.TransactionTypes}});var cS=jLe();Object.defineProperty(ke,"commify",{enumerable:!0,get:function(){return cS.commify}});Object.defineProperty(ke,"formatEther",{enumerable:!0,get:function(){return cS.formatEther}});Object.defineProperty(ke,"parseEther",{enumerable:!0,get:function(){return cS.parseEther}});Object.defineProperty(ke,"formatUnits",{enumerable:!0,get:function(){return cS.formatUnits}});Object.defineProperty(ke,"parseUnits",{enumerable:!0,get:function(){return cS.parseUnits}});var QLe=cfe();Object.defineProperty(ke,"verifyMessage",{enumerable:!0,get:function(){return QLe.verifyMessage}});Object.defineProperty(ke,"verifyTypedData",{enumerable:!0,get:function(){return QLe.verifyTypedData}});var Ffe=A8();Object.defineProperty(ke,"_fetchData",{enumerable:!0,get:function(){return Ffe._fetchData}});Object.defineProperty(ke,"fetchJson",{enumerable:!0,get:function(){return Ffe.fetchJson}});Object.defineProperty(ke,"poll",{enumerable:!0,get:function(){return Ffe.poll}});var o0t=h7();Object.defineProperty(ke,"SupportedAlgorithm",{enumerable:!0,get:function(){return o0t.SupportedAlgorithm}});var VLe=_i();Object.defineProperty(ke,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return VLe.UnicodeNormalizationForm}});Object.defineProperty(ke,"Utf8ErrorReason",{enumerable:!0,get:function(){return VLe.Utf8ErrorReason}})});var YLe=D(rz=>{"use strict";u();p();Object.defineProperty(rz,"__esModule",{value:!0});rz.version=void 0;rz.version="ethers/5.7.2"});var Ufe=D(dn=>{"use strict";u();p();var c0t=dn&&dn.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),d0t=dn&&dn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Nfe=dn&&dn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&c0t(e,t,n);return d0t(e,t),e};Object.defineProperty(dn,"__esModule",{value:!0});dn.Wordlist=dn.version=dn.wordlists=dn.utils=dn.logger=dn.errors=dn.constants=dn.FixedNumber=dn.BigNumber=dn.ContractFactory=dn.Contract=dn.BaseContract=dn.providers=dn.getDefaultProvider=dn.VoidSigner=dn.Wallet=dn.Signer=void 0;var Ofe=kBe();Object.defineProperty(dn,"BaseContract",{enumerable:!0,get:function(){return Ofe.BaseContract}});Object.defineProperty(dn,"Contract",{enumerable:!0,get:function(){return Ofe.Contract}});Object.defineProperty(dn,"ContractFactory",{enumerable:!0,get:function(){return Ofe.ContractFactory}});var $Le=ia();Object.defineProperty(dn,"BigNumber",{enumerable:!0,get:function(){return $Le.BigNumber}});Object.defineProperty(dn,"FixedNumber",{enumerable:!0,get:function(){return $Le.FixedNumber}});var JLe=r8();Object.defineProperty(dn,"Signer",{enumerable:!0,get:function(){return JLe.Signer}});Object.defineProperty(dn,"VoidSigner",{enumerable:!0,get:function(){return JLe.VoidSigner}});var l0t=cfe();Object.defineProperty(dn,"Wallet",{enumerable:!0,get:function(){return l0t.Wallet}});var u0t=Nfe(w3());dn.constants=u0t;var p0t=Nfe(ez());dn.providers=p0t;var h0t=ez();Object.defineProperty(dn,"getDefaultProvider",{enumerable:!0,get:function(){return h0t.getDefaultProvider}});var XLe=Qre();Object.defineProperty(dn,"Wordlist",{enumerable:!0,get:function(){return XLe.Wordlist}});Object.defineProperty(dn,"wordlists",{enumerable:!0,get:function(){return XLe.wordlists}});var b0t=Nfe(qT());dn.utils=b0t;var ZLe=Ft();Object.defineProperty(dn,"errors",{enumerable:!0,get:function(){return ZLe.ErrorCode}});var eFe=YLe();Object.defineProperty(dn,"version",{enumerable:!0,get:function(){return eFe.version}});var m0t=new ZLe.Logger(eFe.version);dn.logger=m0t});var Xe=D(Jt=>{"use strict";u();p();var y0t=Jt&&Jt.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),g0t=Jt&&Jt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),v0t=Jt&&Jt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&y0t(e,t,n);return g0t(e,t),e};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.Wordlist=Jt.version=Jt.wordlists=Jt.utils=Jt.logger=Jt.errors=Jt.constants=Jt.FixedNumber=Jt.BigNumber=Jt.ContractFactory=Jt.Contract=Jt.BaseContract=Jt.providers=Jt.getDefaultProvider=Jt.VoidSigner=Jt.Wallet=Jt.Signer=Jt.ethers=void 0;var tFe=v0t(Ufe());Jt.ethers=tFe;try{Hfe=window,Hfe._ethers==null&&(Hfe._ethers=tFe)}catch{}var Hfe,ao=Ufe();Object.defineProperty(Jt,"Signer",{enumerable:!0,get:function(){return ao.Signer}});Object.defineProperty(Jt,"Wallet",{enumerable:!0,get:function(){return ao.Wallet}});Object.defineProperty(Jt,"VoidSigner",{enumerable:!0,get:function(){return ao.VoidSigner}});Object.defineProperty(Jt,"getDefaultProvider",{enumerable:!0,get:function(){return ao.getDefaultProvider}});Object.defineProperty(Jt,"providers",{enumerable:!0,get:function(){return ao.providers}});Object.defineProperty(Jt,"BaseContract",{enumerable:!0,get:function(){return ao.BaseContract}});Object.defineProperty(Jt,"Contract",{enumerable:!0,get:function(){return ao.Contract}});Object.defineProperty(Jt,"ContractFactory",{enumerable:!0,get:function(){return ao.ContractFactory}});Object.defineProperty(Jt,"BigNumber",{enumerable:!0,get:function(){return ao.BigNumber}});Object.defineProperty(Jt,"FixedNumber",{enumerable:!0,get:function(){return ao.FixedNumber}});Object.defineProperty(Jt,"constants",{enumerable:!0,get:function(){return ao.constants}});Object.defineProperty(Jt,"errors",{enumerable:!0,get:function(){return ao.errors}});Object.defineProperty(Jt,"logger",{enumerable:!0,get:function(){return ao.logger}});Object.defineProperty(Jt,"utils",{enumerable:!0,get:function(){return ao.utils}});Object.defineProperty(Jt,"wordlists",{enumerable:!0,get:function(){return ao.wordlists}});Object.defineProperty(Jt,"version",{enumerable:!0,get:function(){return ao.version}});Object.defineProperty(Jt,"Wordlist",{enumerable:!0,get:function(){return ao.Wordlist}})});function E0t(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){_0t(t);return}return e}function _0t(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function dS(t,e={}){if(typeof t!="string")return t;let n=t.trim();if(t[0]==='"'&&t.endsWith('"')&&!t.includes("\\"))return n.slice(1,-1);if(n.length<=9){let a=n.toLowerCase();if(a==="true")return!0;if(a==="false")return!1;if(a==="undefined")return;if(a==="null")return null;if(a==="nan")return Number.NaN;if(a==="infinity")return Number.POSITIVE_INFINITY;if(a==="-infinity")return Number.NEGATIVE_INFINITY}if(!x0t.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(w0t.test(t)||T0t.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,E0t)}return JSON.parse(t)}catch(a){if(e.strict)throw a;return t}}var w0t,T0t,x0t,nFe=ce(()=>{u();p();w0t=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,T0t=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,x0t=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/});function A0t(t){return!t||typeof t.then!="function"?Promise.resolve(t):t}function Ji(t,...e){try{return A0t(t(...e))}catch(n){return Promise.reject(n)}}function C0t(t){let e=typeof t;return t===null||e!=="object"&&e!=="function"}function I0t(t){let e=Object.getPrototypeOf(t);return!e||e.isPrototypeOf(Object)}function lS(t){if(C0t(t))return String(t);if(I0t(t)||Array.isArray(t))return JSON.stringify(t);if(typeof t.toJSON=="function")return lS(t.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function aFe(){if(typeof _.Buffer===void 0)throw new TypeError("[unstorage] Buffer is not supported!")}function rFe(t){if(typeof t=="string")return t;aFe();let e=_.Buffer.from(t).toString("base64");return zfe+e}function fFe(t){return typeof t!="string"||!t.startsWith(zfe)?t:(aFe(),_.Buffer.from(t.slice(zfe.length),"base64"))}function H1(t){return t?t.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function iFe(...t){return H1(t.join(":"))}function uS(t){return t=H1(t),t?t+":":""}var zfe,sFe=ce(()=>{u();p();zfe="base64:"});function dFe(t={}){let e={mounts:{"":t.driver||S0t()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=c=>{for(let d of e.mountpoints)if(c.startsWith(d))return{base:d,relativeKey:c.slice(d.length),driver:e.mounts[d]};return{base:"",relativeKey:c,driver:e.mounts[""]}},a=(c,d)=>e.mountpoints.filter(l=>l.startsWith(c)||d&&c.startsWith(l)).map(l=>({relativeBase:c.length>l.length?c.slice(l.length):void 0,mountpoint:l,driver:e.mounts[l]})),r=(c,d)=>{if(e.watching){d=H1(d);for(let l of e.watchListeners)l(c,d)}},f=async()=>{if(!e.watching){e.watching=!0;for(let c in e.mounts)e.unwatch[c]=await oFe(e.mounts[c],r,c)}},i=async()=>{if(e.watching){for(let c in e.unwatch)await e.unwatch[c]();e.unwatch={},e.watching=!1}},s=(c,d,l)=>{let h=new Map,y=v=>{let k=h.get(v.base);return k||(k={driver:v.driver,base:v.base,items:[]},h.set(v.base,k)),k};for(let v of c){let k=typeof v=="string",O=H1(k?v:v.key),F=k?void 0:v.value,z=k||!v.options?d:{...d,...v.options},W=n(O);y(W).items.push({key:O,value:F,relativeKey:W.relativeKey,options:z})}return Promise.all([...h.values()].map(v=>l(v))).then(v=>v.flat())},o={hasItem(c,d={}){c=H1(c);let{relativeKey:l,driver:h}=n(c);return Ji(h.hasItem,l,d)},getItem(c,d={}){c=H1(c);let{relativeKey:l,driver:h}=n(c);return Ji(h.getItem,l,d).then(y=>dS(y))},getItems(c,d){return s(c,d,l=>l.driver.getItems?Ji(l.driver.getItems,l.items.map(h=>({key:h.relativeKey,options:h.options})),d).then(h=>h.map(y=>({key:iFe(l.base,y.key),value:dS(y.value)}))):Promise.all(l.items.map(h=>Ji(l.driver.getItem,h.relativeKey,h.options).then(y=>({key:h.key,value:dS(y)})))))},getItemRaw(c,d={}){c=H1(c);let{relativeKey:l,driver:h}=n(c);return h.getItemRaw?Ji(h.getItemRaw,l,d):Ji(h.getItem,l,d).then(y=>fFe(y))},async setItem(c,d,l={}){if(d===void 0)return o.removeItem(c);c=H1(c);let{relativeKey:h,driver:y}=n(c);y.setItem&&(await Ji(y.setItem,h,lS(d),l),y.watch||r("update",c))},async setItems(c,d){await s(c,d,async l=>{if(l.driver.setItems)return Ji(l.driver.setItems,l.items.map(h=>({key:h.relativeKey,value:lS(h.value),options:h.options})),d);l.driver.setItem&&await Promise.all(l.items.map(h=>Ji(l.driver.setItem,h.relativeKey,lS(h.value),h.options)))})},async setItemRaw(c,d,l={}){if(d===void 0)return o.removeItem(c,l);c=H1(c);let{relativeKey:h,driver:y}=n(c);if(y.setItemRaw)await Ji(y.setItemRaw,h,d,l);else if(y.setItem)await Ji(y.setItem,h,rFe(d),l);else return;y.watch||r("update",c)},async removeItem(c,d={}){typeof d=="boolean"&&(d={removeMeta:d}),c=H1(c);let{relativeKey:l,driver:h}=n(c);h.removeItem&&(await Ji(h.removeItem,l,d),(d.removeMeta||d.removeMata)&&await Ji(h.removeItem,l+"$",d),h.watch||r("remove",c))},async getMeta(c,d={}){typeof d=="boolean"&&(d={nativeOnly:d}),c=H1(c);let{relativeKey:l,driver:h}=n(c),y=Object.create(null);if(h.getMeta&&Object.assign(y,await Ji(h.getMeta,l,d)),!d.nativeOnly){let v=await Ji(h.getItem,l+"$",d).then(k=>dS(k));v&&typeof v=="object"&&(typeof v.atime=="string"&&(v.atime=new Date(v.atime)),typeof v.mtime=="string"&&(v.mtime=new Date(v.mtime)),Object.assign(y,v))}return y},setMeta(c,d,l={}){return this.setItem(c+"$",d,l)},removeMeta(c,d={}){return this.removeItem(c+"$",d)},async getKeys(c,d={}){c=uS(c);let l=a(c,!0),h=[],y=[];for(let v of l){let O=(await Ji(v.driver.getKeys,v.relativeBase,d)).map(F=>v.mountpoint+H1(F)).filter(F=>!h.some(z=>F.startsWith(z)));y.push(...O),h=[v.mountpoint,...h.filter(F=>!F.startsWith(v.mountpoint))]}return c?y.filter(v=>v.startsWith(c)&&!v.endsWith("$")):y.filter(v=>!v.endsWith("$"))},async clear(c,d={}){c=uS(c),await Promise.all(a(c,!1).map(async l=>{if(l.driver.clear)return Ji(l.driver.clear,l.relativeBase,d);if(l.driver.removeItem){let h=await l.driver.getKeys(l.relativeBase||"",d);return Promise.all(h.map(y=>l.driver.removeItem(y,d)))}}))},async dispose(){await Promise.all(Object.values(e.mounts).map(c=>cFe(c)))},async watch(c){return await f(),e.watchListeners.push(c),async()=>{e.watchListeners=e.watchListeners.filter(d=>d!==c),e.watchListeners.length===0&&await i()}},async unwatch(){e.watchListeners=[],await i()},mount(c,d){if(c=uS(c),c&&e.mounts[c])throw new Error(`already mounted at ${c}`);return c&&(e.mountpoints.push(c),e.mountpoints.sort((l,h)=>h.length-l.length)),e.mounts[c]=d,e.watching&&Promise.resolve(oFe(d,r,c)).then(l=>{e.unwatch[c]=l}).catch(console.error),o},async unmount(c,d=!0){c=uS(c),!(!c||!e.mounts[c])&&(e.watching&&c in e.unwatch&&(e.unwatch[c](),delete e.unwatch[c]),d&&await cFe(e.mounts[c]),e.mountpoints=e.mountpoints.filter(l=>l!==c),delete e.mounts[c])},getMount(c=""){c=H1(c)+":";let d=n(c);return{driver:d.driver,base:d.base}},getMounts(c="",d={}){return c=H1(c),a(c,d.parents).map(h=>({driver:h.driver,base:h.mountpoint}))}};return o}function oFe(t,e,n){return t.watch?t.watch((a,r)=>e(a,n+r)):()=>{}}async function cFe(t){typeof t.dispose=="function"&&await Ji(t.dispose)}var k0t,S0t,lFe=ce(()=>{u();p();nFe();sFe();k0t="memory",S0t=()=>{let t=new Map;return{name:k0t,options:{},hasItem(e){return t.has(e)},getItem(e){return t.get(e)??null},getItemRaw(e){return t.get(e)??null},setItem(e,n){t.set(e,n)},setItemRaw(e,n){t.set(e,n)},removeItem(e){t.delete(e)},getKeys(){return Array.from(t.keys())},clear(){t.clear()},dispose(){t.clear()}}}});function x7(t){return new Promise((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)})}function qfe(t,e){let n=indexedDB.open(t);n.onupgradeneeded=()=>n.result.createObjectStore(e);let a=x7(n);return(r,f)=>a.then(i=>f(i.transaction(e,r).objectStore(e)))}function pS(){return Wfe||(Wfe=qfe("keyval-store","keyval")),Wfe}function jfe(t,e=pS()){return e("readonly",n=>x7(n.get(t)))}function uFe(t,e,n=pS()){return n("readwrite",a=>(a.put(e,t),x7(a.transaction)))}function pFe(t,e=pS()){return e("readwrite",n=>(n.delete(t),x7(n.transaction)))}function hFe(t=pS()){return t("readwrite",e=>(e.clear(),x7(e.transaction)))}function R0t(t,e){return t.openCursor().onsuccess=function(){this.result&&(e(this.result),this.result.continue())},x7(t.transaction)}function bFe(t=pS()){return t("readonly",e=>{if(e.getAllKeys)return x7(e.getAllKeys());let n=[];return R0t(e,a=>n.push(a.key)).then(()=>n)})}var Wfe,mFe=ce(()=>{u();p()});function Q2(t){if(typeof t!="string")throw new Error(`Cannot safe json parse value of type ${typeof t}`);try{return B0t(t)}catch{return t}}function z1(t){return typeof t=="string"?t:M0t(t)||""}var M0t,B0t,E7=ce(()=>{u();p();M0t=t=>JSON.stringify(t,(e,n)=>typeof n=="bigint"?n.toString()+"n":n),B0t=t=>{let e=/([\[:])?(\d{17,}|(?:[9](?:[1-9]07199254740991|0[1-9]7199254740991|00[8-9]199254740991|007[2-9]99254740991|007199[3-9]54740991|0071992[6-9]4740991|00719925[5-9]740991|007199254[8-9]40991|0071992547[5-9]0991|00719925474[1-9]991|00719925474099[2-9])))([,\}\]])/g,n=t.replace(e,'$1"$2n"$3');return JSON.parse(n,(a,r)=>typeof r=="string"&&r.match(/^\d+n$/)?BigInt(r.substring(0,r.length-1)):r)}});function N0t(t){var e;return[t[0],Q2((e=t[1])!=null?e:"")]}var D0t,P0t,L0t,F0t,Kfe,Gfe,fz,Qfe,O0t,yFe,U0t,H0t,iz,gFe=ce(()=>{u();p();lFe();mFe();E7();D0t="idb-keyval",P0t=(t={})=>{let e=t.base&&t.base.length>0?`${t.base}:`:"",n=r=>e+r,a;return t.dbName&&t.storeName&&(a=qfe(t.dbName,t.storeName)),{name:D0t,options:t,async hasItem(r){return!(typeof await jfe(n(r),a)>"u")},async getItem(r){return await jfe(n(r),a)??null},setItem(r,f){return uFe(n(r),f,a)},removeItem(r){return pFe(n(r),a)},getKeys(){return bFe(a)},clear(){return hFe(a)}}},L0t="WALLET_CONNECT_V2_INDEXED_DB",F0t="keyvaluestorage",Kfe=class{constructor(){this.indexedDb=dFe({driver:P0t({dbName:L0t,storeName:F0t})})}async getKeys(){return this.indexedDb.getKeys()}async getEntries(){return(await this.indexedDb.getItems(await this.indexedDb.getKeys())).map(e=>[e.key,e.value])}async getItem(e){let n=await this.indexedDb.getItem(e);if(n!==null)return n}async setItem(e,n){await this.indexedDb.setItem(e,z1(n))}async removeItem(e){await this.indexedDb.removeItem(e)}},Gfe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},fz={exports:{}};(function(){let t;function e(){}t=e,t.prototype.getItem=function(n){return this.hasOwnProperty(n)?String(this[n]):null},t.prototype.setItem=function(n,a){this[n]=String(a)},t.prototype.removeItem=function(n){delete this[n]},t.prototype.clear=function(){let n=this;Object.keys(n).forEach(function(a){n[a]=void 0,delete n[a]})},t.prototype.key=function(n){return n=n||0,Object.keys(this)[n]},t.prototype.__defineGetter__("length",function(){return Object.keys(this).length}),typeof Gfe<"u"&&Gfe.localStorage?fz.exports=Gfe.localStorage:typeof window<"u"&&window.localStorage?fz.exports=window.localStorage:fz.exports=new e})();Qfe=class{constructor(){this.localStorage=fz.exports}async getKeys(){return Object.keys(this.localStorage)}async getEntries(){return Object.entries(this.localStorage).map(N0t)}async getItem(e){let n=this.localStorage.getItem(e);if(n!==null)return Q2(n)}async setItem(e,n){this.localStorage.setItem(e,z1(n))}async removeItem(e){this.localStorage.removeItem(e)}},O0t="wc_storage_version",yFe=1,U0t=async(t,e,n)=>{let a=O0t,r=await e.getItem(a);if(r&&r>=yFe){n(e);return}let f=await t.getKeys();if(!f.length){n(e);return}let i=[];for(;f.length;){let s=f.shift();if(!s)continue;let o=s.toLowerCase();if(o.includes("wc@")||o.includes("walletconnect")||o.includes("wc_")||o.includes("wallet_connect")){let c=await t.getItem(s);await e.setItem(s,c),i.push(s)}}await e.setItem(a,yFe),n(e),H0t(t,i)},H0t=async(t,e)=>{e.length&&e.forEach(async n=>{await t.removeItem(n)})},iz=class{constructor(){this.initialized=!1,this.setInitialized=n=>{this.storage=n,this.initialized=!0};let e=new Qfe;this.storage=e;try{let n=new Kfe;U0t(e,n,this.setInitialized)}catch{this.initialized=!0}}async getKeys(){return await this.initialize(),this.storage.getKeys()}async getEntries(){return await this.initialize(),this.storage.getEntries()}async getItem(e){return await this.initialize(),this.storage.getItem(e)}async setItem(e,n){return await this.initialize(),this.storage.setItem(e,n)}async removeItem(e){return await this.initialize(),this.storage.removeItem(e)}async initialize(){this.initialized||await new Promise(e=>{let n=setInterval(()=>{this.initialized&&(clearInterval(n),e())},20)})}}});var V2={};V0(V2,{__assign:()=>Yfe,__asyncDelegator:()=>Z0t,__asyncGenerator:()=>X0t,__asyncValues:()=>ett,__await:()=>hS,__awaiter:()=>K0t,__classPrivateFieldGet:()=>rtt,__classPrivateFieldSet:()=>ftt,__createBinding:()=>V0t,__decorate:()=>q0t,__exportStar:()=>Y0t,__extends:()=>z0t,__generator:()=>Q0t,__importDefault:()=>att,__importStar:()=>ntt,__makeTemplateObject:()=>ttt,__metadata:()=>G0t,__param:()=>j0t,__read:()=>vFe,__rest:()=>W0t,__spread:()=>$0t,__spreadArrays:()=>J0t,__values:()=>$fe});function z0t(t,e){Vfe(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function W0t(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(t);r=0;s--)(i=t[s])&&(f=(r<3?i(f):r>3?i(e,n,f):i(e,n))||f);return r>3&&f&&Object.defineProperty(e,n,f),f}function j0t(t,e){return function(n,a){e(n,a,t)}}function G0t(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function K0t(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})}function Q0t(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]=t.length&&(t=void 0),{value:t&&t[a++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function vFe(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var a=n.call(t),r,f=[],i;try{for(;(e===void 0||e-- >0)&&!(r=a.next()).done;)f.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return f}function $0t(){for(var t=[],e=0;e1||s(h,y)})})}function s(h,y){try{o(a[h](y))}catch(v){l(f[0][3],v)}}function o(h){h.value instanceof hS?Promise.resolve(h.value.v).then(c,d):l(f[0][2],h)}function c(h){s("next",h)}function d(h){s("throw",h)}function l(h,y){h(y),f.shift(),f.length&&s(f[0][0],f[0][1])}}function Z0t(t){var e,n;return e={},a("next"),a("throw",function(r){throw r}),a("return"),e[Symbol.iterator]=function(){return this},e;function a(r,f){e[r]=t[r]?function(i){return(n=!n)?{value:hS(t[r](i)),done:r==="return"}:f?f(i):i}:f}}function ett(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof $fe=="function"?$fe(t):t[Symbol.iterator](),n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n);function a(f){n[f]=t[f]&&function(i){return new Promise(function(s,o){i=t[f](i),r(s,o,i.done,i.value)})}}function r(f,i,s,o){Promise.resolve(o).then(function(c){f({value:c,done:s})},i)}}function ttt(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function ntt(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function att(t){return t&&t.__esModule?t:{default:t}}function rtt(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function ftt(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}var Vfe,Yfe,Y2=ce(()=>{u();p();Vfe=function(t,e){return Vfe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var r in a)a.hasOwnProperty(r)&&(n[r]=a[r])},Vfe(t,e)};Yfe=function(){return Yfe=Object.assign||function(e){for(var n,a=1,r=arguments.length;a{"use strict";u();p();Object.defineProperty(sz,"__esModule",{value:!0});sz.delay=void 0;function itt(t){return new Promise(e=>{setTimeout(()=>{e(!0)},t)})}sz.delay=itt});var TFe=D(jT=>{"use strict";u();p();Object.defineProperty(jT,"__esModule",{value:!0});jT.ONE_THOUSAND=jT.ONE_HUNDRED=void 0;jT.ONE_HUNDRED=100;jT.ONE_THOUSAND=1e3});var xFe=D(Z0=>{"use strict";u();p();Object.defineProperty(Z0,"__esModule",{value:!0});Z0.ONE_YEAR=Z0.FOUR_WEEKS=Z0.THREE_WEEKS=Z0.TWO_WEEKS=Z0.ONE_WEEK=Z0.THIRTY_DAYS=Z0.SEVEN_DAYS=Z0.FIVE_DAYS=Z0.THREE_DAYS=Z0.ONE_DAY=Z0.TWENTY_FOUR_HOURS=Z0.TWELVE_HOURS=Z0.SIX_HOURS=Z0.THREE_HOURS=Z0.ONE_HOUR=Z0.SIXTY_MINUTES=Z0.THIRTY_MINUTES=Z0.TEN_MINUTES=Z0.FIVE_MINUTES=Z0.ONE_MINUTE=Z0.SIXTY_SECONDS=Z0.THIRTY_SECONDS=Z0.TEN_SECONDS=Z0.FIVE_SECONDS=Z0.ONE_SECOND=void 0;Z0.ONE_SECOND=1;Z0.FIVE_SECONDS=5;Z0.TEN_SECONDS=10;Z0.THIRTY_SECONDS=30;Z0.SIXTY_SECONDS=60;Z0.ONE_MINUTE=Z0.SIXTY_SECONDS;Z0.FIVE_MINUTES=Z0.ONE_MINUTE*5;Z0.TEN_MINUTES=Z0.ONE_MINUTE*10;Z0.THIRTY_MINUTES=Z0.ONE_MINUTE*30;Z0.SIXTY_MINUTES=Z0.ONE_MINUTE*60;Z0.ONE_HOUR=Z0.SIXTY_MINUTES;Z0.THREE_HOURS=Z0.ONE_HOUR*3;Z0.SIX_HOURS=Z0.ONE_HOUR*6;Z0.TWELVE_HOURS=Z0.ONE_HOUR*12;Z0.TWENTY_FOUR_HOURS=Z0.ONE_HOUR*24;Z0.ONE_DAY=Z0.TWENTY_FOUR_HOURS;Z0.THREE_DAYS=Z0.ONE_DAY*3;Z0.FIVE_DAYS=Z0.ONE_DAY*5;Z0.SEVEN_DAYS=Z0.ONE_DAY*7;Z0.THIRTY_DAYS=Z0.ONE_DAY*30;Z0.ONE_WEEK=Z0.SEVEN_DAYS;Z0.TWO_WEEKS=Z0.ONE_WEEK*2;Z0.THREE_WEEKS=Z0.ONE_WEEK*3;Z0.FOUR_WEEKS=Z0.ONE_WEEK*4;Z0.ONE_YEAR=Z0.ONE_DAY*365});var Jfe=D(oz=>{"use strict";u();p();Object.defineProperty(oz,"__esModule",{value:!0});var EFe=(Y2(),vn(V2));EFe.__exportStar(TFe(),oz);EFe.__exportStar(xFe(),oz)});var AFe=D(GT=>{"use strict";u();p();Object.defineProperty(GT,"__esModule",{value:!0});GT.fromMiliseconds=GT.toMiliseconds=void 0;var _Fe=Jfe();function stt(t){return t*_Fe.ONE_THOUSAND}GT.toMiliseconds=stt;function ott(t){return Math.floor(t/_Fe.ONE_THOUSAND)}GT.fromMiliseconds=ott});var IFe=D(cz=>{"use strict";u();p();Object.defineProperty(cz,"__esModule",{value:!0});var CFe=(Y2(),vn(V2));CFe.__exportStar(wFe(),cz);CFe.__exportStar(AFe(),cz)});var kFe=D(bS=>{"use strict";u();p();Object.defineProperty(bS,"__esModule",{value:!0});bS.Watch=void 0;var dz=class{constructor(){this.timestamps=new Map}start(e){if(this.timestamps.has(e))throw new Error(`Watch already started for label: ${e}`);this.timestamps.set(e,{started:Date.now()})}stop(e){let n=this.get(e);if(typeof n.elapsed<"u")throw new Error(`Watch already stopped for label: ${e}`);let a=Date.now()-n.started;this.timestamps.set(e,{started:n.started,elapsed:a})}get(e){let n=this.timestamps.get(e);if(typeof n>"u")throw new Error(`No timestamp found for label: ${e}`);return n}elapsed(e){let n=this.get(e);return n.elapsed||Date.now()-n.started}};bS.Watch=dz;bS.default=dz});var SFe=D(lz=>{"use strict";u();p();Object.defineProperty(lz,"__esModule",{value:!0});lz.IWatch=void 0;var Xfe=class{};lz.IWatch=Xfe});var RFe=D(Zfe=>{"use strict";u();p();Object.defineProperty(Zfe,"__esModule",{value:!0});var ctt=(Y2(),vn(V2));ctt.__exportStar(SFe(),Zfe)});var _7=D(KT=>{"use strict";u();p();Object.defineProperty(KT,"__esModule",{value:!0});var uz=(Y2(),vn(V2));uz.__exportStar(IFe(),KT);uz.__exportStar(kFe(),KT);uz.__exportStar(RFe(),KT);uz.__exportStar(Jfe(),KT)});var $2,MFe=ce(()=>{u();p();$2=class{}});var BFe={};V0(BFe,{IEvents:()=>$2});var eie=ce(()=>{u();p();MFe()});var PFe=D((Yea,DFe)=>{"use strict";u();p();function dtt(t){try{return JSON.stringify(t)}catch{return'"[Circular]"'}}DFe.exports=ltt;function ltt(t,e,n){var a=n&&n.stringify||dtt,r=1;if(typeof t=="object"&&t!==null){var f=e.length+r;if(f===1)return t;var i=new Array(f);i[0]=a(t);for(var s=1;s-1?l:0,t.charCodeAt(y+1)){case 100:case 102:if(d>=o||e[d]==null)break;l=o||e[d]==null)break;l=o||e[d]===void 0)break;l",l=y+2,y++;break}c+=a(e[d]),l=y+2,y++;break;case 115:if(d>=o)break;l{"use strict";u();p();var LFe=PFe();OFe.exports=J2;var mS=Ttt().console||{},utt={mapHttpRequest:pz,mapHttpResponse:pz,wrapRequestSerializer:tie,wrapResponseSerializer:tie,wrapErrorSerializer:tie,req:pz,res:pz,err:ytt};function ptt(t,e){return Array.isArray(t)?t.filter(function(a){return a!=="!stdSerializers.err"}):t===!0?Object.keys(e):!1}function J2(t){t=t||{},t.browser=t.browser||{};let e=t.browser.transmit;if(e&&typeof e.send!="function")throw Error("pino: transmit option must have a send function");let n=t.browser.write||mS;t.browser.write&&(t.browser.asObject=!0);let a=t.serializers||{},r=ptt(t.browser.serialize,a),f=t.browser.serialize;Array.isArray(t.browser.serialize)&&t.browser.serialize.indexOf("!stdSerializers.err")>-1&&(f=!1);let i=["error","fatal","warn","info","debug","trace"];typeof n=="function"&&(n.error=n.fatal=n.warn=n.info=n.debug=n.trace=n),t.enabled===!1&&(t.level="silent");let s=t.level||"info",o=Object.create(n);o.log||(o.log=yS),Object.defineProperty(o,"levelVal",{get:d}),Object.defineProperty(o,"level",{get:l,set:h});let c={transmit:e,serialize:r,asObject:t.browser.asObject,levels:i,timestamp:gtt(t)};o.levels=J2.levels,o.level=s,o.setMaxListeners=o.getMaxListeners=o.emit=o.addListener=o.on=o.prependListener=o.once=o.prependOnceListener=o.removeListener=o.removeAllListeners=o.listeners=o.listenerCount=o.eventNames=o.write=o.flush=yS,o.serializers=a,o._serialize=r,o._stdErrSerialize=f,o.child=y,e&&(o._logEvent=nie());function d(){return this.level==="silent"?1/0:this.levels.values[this.level]}function l(){return this._level}function h(v){if(v!=="silent"&&!this.levels.values[v])throw Error("unknown level "+v);this._level=v,QT(c,o,"error","log"),QT(c,o,"fatal","error"),QT(c,o,"warn","error"),QT(c,o,"info","log"),QT(c,o,"debug","log"),QT(c,o,"trace","log")}function y(v,k){if(!v)throw new Error("missing bindings for child Pino");k=k||{},r&&v.serializers&&(k.serializers=v.serializers);let O=k.serializers;if(r&&O){var F=Object.assign({},a,O),z=t.browser.serialize===!0?Object.keys(F):r;delete v.serializers,hz([v],z,F,this._stdErrSerialize)}function W(j){this._childLevel=(j._childLevel|0)+1,this.error=VT(j,v,"error"),this.fatal=VT(j,v,"fatal"),this.warn=VT(j,v,"warn"),this.info=VT(j,v,"info"),this.debug=VT(j,v,"debug"),this.trace=VT(j,v,"trace"),F&&(this.serializers=F,this._serialize=z),e&&(this._logEvent=nie([].concat(j._logEvent.bindings,v)))}return W.prototype=this,new W(this)}return o}J2.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}};J2.stdSerializers=utt;J2.stdTimeFunctions=Object.assign({},{nullTime:FFe,epochTime:NFe,unixTime:vtt,isoTime:wtt});function QT(t,e,n,a){let r=Object.getPrototypeOf(e);e[n]=e.levelVal>e.levels.values[n]?yS:r[n]?r[n]:mS[n]||mS[a]||yS,htt(t,e,n)}function htt(t,e,n){!t.transmit&&e[n]===yS||(e[n]=function(a){return function(){let f=t.timestamp(),i=new Array(arguments.length),s=Object.getPrototypeOf&&Object.getPrototypeOf(this)===mS?mS:this;for(var o=0;o-1&&f in n&&(t[r][f]=n[f](t[r][f]))}function VT(t,e,n){return function(){let a=new Array(1+arguments.length);a[0]=e;for(var r=1;r"u"?n=ktt(t,e):n=t.bindings().context||"",n}function Rtt(t,e,n=gS){let a=$o(t,n);return a.trim()?`${a}/${e}`:e}function Jo(t,e,n=gS){let a=Rtt(t,e,n),r=t.child({context:a});return Stt(r,a,n)}function Mtt(t){var e,n;let a=new fie((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:(0,S8.default)(gz(yz({},t.opts),{level:"trace",browser:gz(yz({},(n=t.opts)==null?void 0:n.browser),{write:r=>a.write(r)})})),chunkLoggerController:a}}function Btt(t){var e;let n=new iie((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:(0,S8.default)(gz(yz({},t.opts),{level:"trace"}),n),chunkLoggerController:n}}function zFe(t){return typeof t.loggerOverride<"u"&&typeof t.loggerOverride!="string"?{logger:t.loggerOverride,chunkLoggerController:null}:typeof window<"u"?Mtt(t):Btt(t)}var S8,A7,xtt,gS,sie,rie,bz,mz,fie,iie,Ett,_tt,Att,UFe,Ctt,Itt,HFe,yz,gz,vz=ce(()=>{u();p();S8=Ee(aie()),A7=Ee(aie());E7();xtt={level:"info"},gS="custom_context",sie=1e3*1024,rie=class{constructor(e){this.nodeValue=e,this.sizeInBytes=new TextEncoder().encode(this.nodeValue).length,this.next=null}get value(){return this.nodeValue}get size(){return this.sizeInBytes}},bz=class{constructor(e){this.head=null,this.tail=null,this.lengthInNodes=0,this.maxSizeInBytes=e,this.sizeInBytes=0}append(e){let n=new rie(e);if(n.size>this.maxSizeInBytes)throw new Error(`[LinkedList] Value too big to insert into list: ${e} with size ${n.size}`);for(;this.size+n.size>this.maxSizeInBytes;)this.shift();this.head?(this.tail&&(this.tail.next=n),this.tail=n):(this.head=n,this.tail=n),this.lengthInNodes++,this.sizeInBytes+=n.size}shift(){if(!this.head)return;let e=this.head;this.head=this.head.next,this.head||(this.tail=null),this.lengthInNodes--,this.sizeInBytes-=e.size}toArray(){let e=[],n=this.head;for(;n!==null;)e.push(n.value),n=n.next;return e}get length(){return this.lengthInNodes}get size(){return this.sizeInBytes}toOrderedArray(){return Array.from(this)}[Symbol.iterator](){let e=this.head;return{next:()=>{if(!e)return{done:!0,value:null};let n=e.value;return e=e.next,{done:!1,value:n}}}}},mz=class{constructor(e,n=sie){this.level=e??"error",this.levelValue=S8.levels.values[this.level],this.MAX_LOG_SIZE_IN_BYTES=n,this.logs=new bz(this.MAX_LOG_SIZE_IN_BYTES)}forwardToConsole(e,n){n===S8.levels.values.error?console.error(e):n===S8.levels.values.warn?console.warn(e):n===S8.levels.values.debug?console.debug(e):n===S8.levels.values.trace?console.trace(e):console.log(e)}appendToLogs(e){this.logs.append(z1({timestamp:new Date().toISOString(),log:e}));let n=typeof e=="string"?JSON.parse(e).level:e.level;n>=this.levelValue&&this.forwardToConsole(e,n)}getLogs(){return this.logs}clearLogs(){this.logs=new bz(this.MAX_LOG_SIZE_IN_BYTES)}getLogArray(){return Array.from(this.logs)}logsToBlob(e){let n=this.getLogArray();return n.push(z1({extraMetadata:e})),new Blob(n,{type:"application/json"})}},fie=class{constructor(e,n=sie){this.baseChunkLogger=new mz(e,n)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}downloadLogsBlobInBrowser(e){let n=URL.createObjectURL(this.logsToBlob(e)),a=document.createElement("a");a.href=n,a.download=`walletconnect-logs-${new Date().toISOString()}.txt`,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(n)}},iie=class{constructor(e,n=sie){this.baseChunkLogger=new mz(e,n)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}},Ett=Object.defineProperty,_tt=Object.defineProperties,Att=Object.getOwnPropertyDescriptors,UFe=Object.getOwnPropertySymbols,Ctt=Object.prototype.hasOwnProperty,Itt=Object.prototype.propertyIsEnumerable,HFe=(t,e,n)=>e in t?Ett(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,yz=(t,e)=>{for(var n in e||(e={}))Ctt.call(e,n)&&HFe(t,n,e[n]);if(UFe)for(var n of UFe(e))Itt.call(e,n)&&HFe(t,n,e[n]);return t},gz=(t,e)=>_tt(t,Att(e))});var qFe=D(wz=>{"use strict";u();p();Object.defineProperty(wz,"__esModule",{value:!0});wz.BrowserRandomSource=void 0;var WFe=65536,oie=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;let e=typeof self<"u"?self.crypto||self.msCrypto:null;e&&e.getRandomValues!==void 0&&(this._crypto=e,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(e){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");let n=new Uint8Array(e);for(let a=0;a{"use strict";u();p();Object.defineProperty(cie,"__esModule",{value:!0});function Dtt(t){for(var e=0;e{"use strict";u();p();Object.defineProperty(Tz,"__esModule",{value:!0});Tz.NodeRandomSource=void 0;var Ptt=K5(),die=class{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof Kd<"u"){let e=PU();e&&e.randomBytes&&(this._crypto=e,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(e){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let n=this._crypto.randomBytes(e);if(n.length!==e)throw new Error("NodeRandomSource: got fewer bytes than requested");let a=new Uint8Array(e);for(let r=0;r{"use strict";u();p();Object.defineProperty(xz,"__esModule",{value:!0});xz.SystemRandomSource=void 0;var Ltt=qFe(),Ftt=jFe(),lie=class{constructor(){if(this.isAvailable=!1,this.name="",this._source=new Ltt.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new Ftt.NodeRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Node";return}}randomBytes(e){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(e)}};xz.SystemRandomSource=lie});var KFe=D(_6=>{"use strict";u();p();Object.defineProperty(_6,"__esModule",{value:!0});function Ntt(t,e){var n=t>>>16&65535,a=t&65535,r=e>>>16&65535,f=e&65535;return a*f+(n*f+a*r<<16>>>0)|0}_6.mul=Math.imul||Ntt;function Ott(t,e){return t+e|0}_6.add=Ott;function Utt(t,e){return t-e|0}_6.sub=Utt;function Htt(t,e){return t<>>32-e}_6.rotl=Htt;function ztt(t,e){return t<<32-e|t>>>e}_6.rotr=ztt;function Wtt(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}_6.isInteger=Number.isInteger||Wtt;_6.MAX_SAFE_INTEGER=9007199254740991;_6.isSafeInteger=function(t){return _6.isInteger(t)&&t>=-_6.MAX_SAFE_INTEGER&&t<=_6.MAX_SAFE_INTEGER}});var YT=D(zn=>{"use strict";u();p();Object.defineProperty(zn,"__esModule",{value:!0});var QFe=KFe();function qtt(t,e){return e===void 0&&(e=0),(t[e+0]<<8|t[e+1])<<16>>16}zn.readInt16BE=qtt;function jtt(t,e){return e===void 0&&(e=0),(t[e+0]<<8|t[e+1])>>>0}zn.readUint16BE=jtt;function Gtt(t,e){return e===void 0&&(e=0),(t[e+1]<<8|t[e])<<16>>16}zn.readInt16LE=Gtt;function Ktt(t,e){return e===void 0&&(e=0),(t[e+1]<<8|t[e])>>>0}zn.readUint16LE=Ktt;function VFe(t,e,n){return e===void 0&&(e=new Uint8Array(2)),n===void 0&&(n=0),e[n+0]=t>>>8,e[n+1]=t>>>0,e}zn.writeUint16BE=VFe;zn.writeInt16BE=VFe;function YFe(t,e,n){return e===void 0&&(e=new Uint8Array(2)),n===void 0&&(n=0),e[n+0]=t>>>0,e[n+1]=t>>>8,e}zn.writeUint16LE=YFe;zn.writeInt16LE=YFe;function uie(t,e){return e===void 0&&(e=0),t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3]}zn.readInt32BE=uie;function pie(t,e){return e===void 0&&(e=0),(t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3])>>>0}zn.readUint32BE=pie;function hie(t,e){return e===void 0&&(e=0),t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]}zn.readInt32LE=hie;function bie(t,e){return e===void 0&&(e=0),(t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e])>>>0}zn.readUint32LE=bie;function Ez(t,e,n){return e===void 0&&(e=new Uint8Array(4)),n===void 0&&(n=0),e[n+0]=t>>>24,e[n+1]=t>>>16,e[n+2]=t>>>8,e[n+3]=t>>>0,e}zn.writeUint32BE=Ez;zn.writeInt32BE=Ez;function _z(t,e,n){return e===void 0&&(e=new Uint8Array(4)),n===void 0&&(n=0),e[n+0]=t>>>0,e[n+1]=t>>>8,e[n+2]=t>>>16,e[n+3]=t>>>24,e}zn.writeUint32LE=_z;zn.writeInt32LE=_z;function Qtt(t,e){e===void 0&&(e=0);var n=uie(t,e),a=uie(t,e+4);return n*4294967296+a-(a>>31)*4294967296}zn.readInt64BE=Qtt;function Vtt(t,e){e===void 0&&(e=0);var n=pie(t,e),a=pie(t,e+4);return n*4294967296+a}zn.readUint64BE=Vtt;function Ytt(t,e){e===void 0&&(e=0);var n=hie(t,e),a=hie(t,e+4);return a*4294967296+n-(n>>31)*4294967296}zn.readInt64LE=Ytt;function $tt(t,e){e===void 0&&(e=0);var n=bie(t,e),a=bie(t,e+4);return a*4294967296+n}zn.readUint64LE=$tt;function $Fe(t,e,n){return e===void 0&&(e=new Uint8Array(8)),n===void 0&&(n=0),Ez(t/4294967296>>>0,e,n),Ez(t>>>0,e,n+4),e}zn.writeUint64BE=$Fe;zn.writeInt64BE=$Fe;function JFe(t,e,n){return e===void 0&&(e=new Uint8Array(8)),n===void 0&&(n=0),_z(t>>>0,e,n),_z(t/4294967296>>>0,e,n+4),e}zn.writeUint64LE=JFe;zn.writeInt64LE=JFe;function Jtt(t,e,n){if(n===void 0&&(n=0),t%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(t/8>e.length-n)throw new Error("readUintBE: array is too short for the given bitLength");for(var a=0,r=1,f=t/8+n-1;f>=n;f--)a+=e[f]*r,r*=256;return a}zn.readUintBE=Jtt;function Xtt(t,e,n){if(n===void 0&&(n=0),t%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(t/8>e.length-n)throw new Error("readUintLE: array is too short for the given bitLength");for(var a=0,r=1,f=n;f=a;f--)n[f]=e/r&255,r*=256;return n}zn.writeUintBE=Ztt;function ent(t,e,n,a){if(n===void 0&&(n=new Uint8Array(t/8)),a===void 0&&(a=0),t%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!QFe.isSafeInteger(e))throw new Error("writeUintLE value must be an integer");for(var r=1,f=a;f{"use strict";u();p();Object.defineProperty(Xo,"__esModule",{value:!0});Xo.randomStringForEntropy=Xo.randomString=Xo.randomUint32=Xo.randomBytes=Xo.defaultRandomSource=void 0;var cnt=GFe(),dnt=YT(),XFe=K5();Xo.defaultRandomSource=new cnt.SystemRandomSource;function mie(t,e=Xo.defaultRandomSource){return e.randomBytes(t)}Xo.randomBytes=mie;function lnt(t=Xo.defaultRandomSource){let e=mie(4,t),n=(0,dnt.readUint32LE)(e);return(0,XFe.wipe)(e),n}Xo.randomUint32=lnt;var ZFe="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function eNe(t,e=ZFe,n=Xo.defaultRandomSource){if(e.length<2)throw new Error("randomString charset is too short");if(e.length>256)throw new Error("randomString charset is too long");let a="",r=e.length,f=256-256%r;for(;t>0;){let i=mie(Math.ceil(t*256/f),n);for(let s=0;s0;s++){let o=i[s];o{"use strict";u();p();Object.defineProperty(R8,"__esModule",{value:!0});var JT=YT(),$T=K5();R8.DIGEST_LENGTH=64;R8.BLOCK_SIZE=128;var nNe=function(){function t(){this.digestLength=R8.DIGEST_LENGTH,this.blockSize=R8.BLOCK_SIZE,this._stateHi=new Int32Array(8),this._stateLo=new Int32Array(8),this._tempHi=new Int32Array(16),this._tempLo=new Int32Array(16),this._buffer=new Uint8Array(256),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return t.prototype._initState=function(){this._stateHi[0]=1779033703,this._stateHi[1]=3144134277,this._stateHi[2]=1013904242,this._stateHi[3]=2773480762,this._stateHi[4]=1359893119,this._stateHi[5]=2600822924,this._stateHi[6]=528734635,this._stateHi[7]=1541459225,this._stateLo[0]=4089235720,this._stateLo[1]=2227873595,this._stateLo[2]=4271175723,this._stateLo[3]=1595750129,this._stateLo[4]=2917565137,this._stateLo[5]=725511199,this._stateLo[6]=4215389547,this._stateLo[7]=327033209},t.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},t.prototype.clean=function(){$T.wipe(this._buffer),$T.wipe(this._tempHi),$T.wipe(this._tempLo),this.reset()},t.prototype.update=function(e,n){if(n===void 0&&(n=e.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var a=0;if(this._bytesHashed+=n,this._bufferLength>0){for(;this._bufferLength0;)this._buffer[this._bufferLength++]=e[a++],n--;this._bufferLength===this.blockSize&&(yie(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(n>=this.blockSize&&(a=yie(this._tempHi,this._tempLo,this._stateHi,this._stateLo,e,a,n),n%=this.blockSize);n>0;)this._buffer[this._bufferLength++]=e[a++],n--;return this},t.prototype.finish=function(e){if(!this._finished){var n=this._bytesHashed,a=this._bufferLength,r=n/536870912|0,f=n<<3,i=n%128<112?128:256;this._buffer[a]=128;for(var s=a+1;s0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},t.prototype.restoreState=function(e){return this._stateHi.set(e.stateHi),this._stateLo.set(e.stateLo),this._bufferLength=e.bufferLength,e.buffer&&this._buffer.set(e.buffer),this._bytesHashed=e.bytesHashed,this._finished=!1,this},t.prototype.cleanSavedState=function(e){$T.wipe(e.stateHi),$T.wipe(e.stateLo),e.buffer&&$T.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},t}();R8.SHA512=nNe;var tNe=new Int32Array([1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591]);function yie(t,e,n,a,r,f,i){for(var s=n[0],o=n[1],c=n[2],d=n[3],l=n[4],h=n[5],y=n[6],v=n[7],k=a[0],O=a[1],F=a[2],z=a[3],W=a[4],j=a[5],Q=a[6],V=a[7],X,K,G,R,T,N,w,m;i>=128;){for(var A=0;A<16;A++){var P=8*A+f;t[A]=JT.readUint32BE(r,P),e[A]=JT.readUint32BE(r,P+4)}for(var A=0;A<80;A++){var L=s,x=o,g=c,B=d,M=l,S=h,q=y,ee=v,U=k,J=O,Z=F,ne=z,ue=W,Y=j,re=Q,ie=V;if(X=v,K=V,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=(l>>>14|W<<18)^(l>>>18|W<<14)^(W>>>9|l<<23),K=(W>>>14|l<<18)^(W>>>18|l<<14)^(l>>>9|W<<23),T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,X=l&h^~l&y,K=W&j^~W&Q,T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,X=tNe[A*2],K=tNe[A*2+1],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,X=t[A%16],K=e[A%16],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,G=w&65535|m<<16,R=T&65535|N<<16,X=G,K=R,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=(s>>>28|k<<4)^(k>>>2|s<<30)^(k>>>7|s<<25),K=(k>>>28|s<<4)^(s>>>2|k<<30)^(s>>>7|k<<25),T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,X=s&o^s&c^o&c,K=k&O^k&F^O&F,T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,ee=w&65535|m<<16,ie=T&65535|N<<16,X=B,K=ne,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=G,K=R,T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,B=w&65535|m<<16,ne=T&65535|N<<16,o=L,c=x,d=g,l=B,h=M,y=S,v=q,s=ee,O=U,F=J,z=Z,W=ne,j=ue,Q=Y,V=re,k=ie,A%16===15)for(var P=0;P<16;P++)X=t[P],K=e[P],T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=t[(P+9)%16],K=e[(P+9)%16],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,G=t[(P+1)%16],R=e[(P+1)%16],X=(G>>>1|R<<31)^(G>>>8|R<<24)^G>>>7,K=(R>>>1|G<<31)^(R>>>8|G<<24)^(R>>>7|G<<25),T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,G=t[(P+14)%16],R=e[(P+14)%16],X=(G>>>19|R<<13)^(R>>>29|G<<3)^G>>>6,K=(R>>>19|G<<13)^(G>>>29|R<<3)^(R>>>6|G<<26),T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,t[P]=w&65535|m<<16,e[P]=T&65535|N<<16}X=s,K=k,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[0],K=a[0],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[0]=s=w&65535|m<<16,a[0]=k=T&65535|N<<16,X=o,K=O,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[1],K=a[1],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[1]=o=w&65535|m<<16,a[1]=O=T&65535|N<<16,X=c,K=F,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[2],K=a[2],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[2]=c=w&65535|m<<16,a[2]=F=T&65535|N<<16,X=d,K=z,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[3],K=a[3],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[3]=d=w&65535|m<<16,a[3]=z=T&65535|N<<16,X=l,K=W,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[4],K=a[4],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[4]=l=w&65535|m<<16,a[4]=W=T&65535|N<<16,X=h,K=j,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[5],K=a[5],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[5]=h=w&65535|m<<16,a[5]=j=T&65535|N<<16,X=y,K=Q,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[6],K=a[6],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[6]=y=w&65535|m<<16,a[6]=Q=T&65535|N<<16,X=v,K=V,T=K&65535,N=K>>>16,w=X&65535,m=X>>>16,X=n[7],K=a[7],T+=K&65535,N+=K>>>16,w+=X&65535,m+=X>>>16,N+=T>>>16,w+=N>>>16,m+=w>>>16,n[7]=v=w&65535|m<<16,a[7]=V=T&65535|N<<16,f+=128,i-=128}return f}function pnt(t){var e=new nNe;e.update(t);var n=e.digest();return e.clean(),n}R8.hash=pnt});var yNe=D($a=>{"use strict";u();p();Object.defineProperty($a,"__esModule",{value:!0});$a.convertSecretKeyToX25519=$a.convertPublicKeyToX25519=$a.verify=$a.sign=$a.extractPublicKeyFromSecretKey=$a.generateKeyPair=$a.generateKeyPairFromSeed=$a.SEED_LENGTH=$a.SECRET_KEY_LENGTH=$a.PUBLIC_KEY_LENGTH=$a.SIGNATURE_LENGTH=void 0;var hnt=vS(),wS=aNe(),oNe=K5();$a.SIGNATURE_LENGTH=64;$a.PUBLIC_KEY_LENGTH=32;$a.SECRET_KEY_LENGTH=64;$a.SEED_LENGTH=32;function gt(t){let e=new Float64Array(16);if(t)for(let n=0;n>16&1),n[i-1]&=65535;n[15]=a[15]-32767-(n[14]>>16&1);let f=n[15]>>16&1;n[14]&=65535,cNe(a,n,1-f)}for(let r=0;r<16;r++)t[2*r]=a[r]&255,t[2*r+1]=a[r]>>8}function dNe(t,e){let n=0;for(let a=0;a<32;a++)n|=t[a]^e[a];return(1&n-1>>>8)-1}function iNe(t,e){let n=new Uint8Array(32),a=new Uint8Array(32);return TS(n,t),TS(a,e),dNe(n,a)}function lNe(t){let e=new Uint8Array(32);return TS(e,t),e[0]&1}function vnt(t,e){for(let n=0;n<16;n++)t[n]=e[2*n]+(e[2*n+1]<<8);t[15]&=32767}function I7(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]+n[a]}function S7(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]-n[a]}function vr(t,e,n){let a,r,f=0,i=0,s=0,o=0,c=0,d=0,l=0,h=0,y=0,v=0,k=0,O=0,F=0,z=0,W=0,j=0,Q=0,V=0,X=0,K=0,G=0,R=0,T=0,N=0,w=0,m=0,A=0,P=0,L=0,x=0,g=0,B=n[0],M=n[1],S=n[2],q=n[3],ee=n[4],U=n[5],J=n[6],Z=n[7],ne=n[8],ue=n[9],Y=n[10],re=n[11],ie=n[12],ge=n[13],de=n[14],Ae=n[15];a=e[0],f+=a*B,i+=a*M,s+=a*S,o+=a*q,c+=a*ee,d+=a*U,l+=a*J,h+=a*Z,y+=a*ne,v+=a*ue,k+=a*Y,O+=a*re,F+=a*ie,z+=a*ge,W+=a*de,j+=a*Ae,a=e[1],i+=a*B,s+=a*M,o+=a*S,c+=a*q,d+=a*ee,l+=a*U,h+=a*J,y+=a*Z,v+=a*ne,k+=a*ue,O+=a*Y,F+=a*re,z+=a*ie,W+=a*ge,j+=a*de,Q+=a*Ae,a=e[2],s+=a*B,o+=a*M,c+=a*S,d+=a*q,l+=a*ee,h+=a*U,y+=a*J,v+=a*Z,k+=a*ne,O+=a*ue,F+=a*Y,z+=a*re,W+=a*ie,j+=a*ge,Q+=a*de,V+=a*Ae,a=e[3],o+=a*B,c+=a*M,d+=a*S,l+=a*q,h+=a*ee,y+=a*U,v+=a*J,k+=a*Z,O+=a*ne,F+=a*ue,z+=a*Y,W+=a*re,j+=a*ie,Q+=a*ge,V+=a*de,X+=a*Ae,a=e[4],c+=a*B,d+=a*M,l+=a*S,h+=a*q,y+=a*ee,v+=a*U,k+=a*J,O+=a*Z,F+=a*ne,z+=a*ue,W+=a*Y,j+=a*re,Q+=a*ie,V+=a*ge,X+=a*de,K+=a*Ae,a=e[5],d+=a*B,l+=a*M,h+=a*S,y+=a*q,v+=a*ee,k+=a*U,O+=a*J,F+=a*Z,z+=a*ne,W+=a*ue,j+=a*Y,Q+=a*re,V+=a*ie,X+=a*ge,K+=a*de,G+=a*Ae,a=e[6],l+=a*B,h+=a*M,y+=a*S,v+=a*q,k+=a*ee,O+=a*U,F+=a*J,z+=a*Z,W+=a*ne,j+=a*ue,Q+=a*Y,V+=a*re,X+=a*ie,K+=a*ge,G+=a*de,R+=a*Ae,a=e[7],h+=a*B,y+=a*M,v+=a*S,k+=a*q,O+=a*ee,F+=a*U,z+=a*J,W+=a*Z,j+=a*ne,Q+=a*ue,V+=a*Y,X+=a*re,K+=a*ie,G+=a*ge,R+=a*de,T+=a*Ae,a=e[8],y+=a*B,v+=a*M,k+=a*S,O+=a*q,F+=a*ee,z+=a*U,W+=a*J,j+=a*Z,Q+=a*ne,V+=a*ue,X+=a*Y,K+=a*re,G+=a*ie,R+=a*ge,T+=a*de,N+=a*Ae,a=e[9],v+=a*B,k+=a*M,O+=a*S,F+=a*q,z+=a*ee,W+=a*U,j+=a*J,Q+=a*Z,V+=a*ne,X+=a*ue,K+=a*Y,G+=a*re,R+=a*ie,T+=a*ge,N+=a*de,w+=a*Ae,a=e[10],k+=a*B,O+=a*M,F+=a*S,z+=a*q,W+=a*ee,j+=a*U,Q+=a*J,V+=a*Z,X+=a*ne,K+=a*ue,G+=a*Y,R+=a*re,T+=a*ie,N+=a*ge,w+=a*de,m+=a*Ae,a=e[11],O+=a*B,F+=a*M,z+=a*S,W+=a*q,j+=a*ee,Q+=a*U,V+=a*J,X+=a*Z,K+=a*ne,G+=a*ue,R+=a*Y,T+=a*re,N+=a*ie,w+=a*ge,m+=a*de,A+=a*Ae,a=e[12],F+=a*B,z+=a*M,W+=a*S,j+=a*q,Q+=a*ee,V+=a*U,X+=a*J,K+=a*Z,G+=a*ne,R+=a*ue,T+=a*Y,N+=a*re,w+=a*ie,m+=a*ge,A+=a*de,P+=a*Ae,a=e[13],z+=a*B,W+=a*M,j+=a*S,Q+=a*q,V+=a*ee,X+=a*U,K+=a*J,G+=a*Z,R+=a*ne,T+=a*ue,N+=a*Y,w+=a*re,m+=a*ie,A+=a*ge,P+=a*de,L+=a*Ae,a=e[14],W+=a*B,j+=a*M,Q+=a*S,V+=a*q,X+=a*ee,K+=a*U,G+=a*J,R+=a*Z,T+=a*ne,N+=a*ue,w+=a*Y,m+=a*re,A+=a*ie,P+=a*ge,L+=a*de,x+=a*Ae,a=e[15],j+=a*B,Q+=a*M,V+=a*S,X+=a*q,K+=a*ee,G+=a*U,R+=a*J,T+=a*Z,N+=a*ne,w+=a*ue,m+=a*Y,A+=a*re,P+=a*ie,L+=a*ge,x+=a*de,g+=a*Ae,f+=38*Q,i+=38*V,s+=38*X,o+=38*K,c+=38*G,d+=38*R,l+=38*T,h+=38*N,y+=38*w,v+=38*m,k+=38*A,O+=38*P,F+=38*L,z+=38*x,W+=38*g,r=1,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=v+r+65535,r=Math.floor(a/65536),v=a-r*65536,a=k+r+65535,r=Math.floor(a/65536),k=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=F+r+65535,r=Math.floor(a/65536),F=a-r*65536,a=z+r+65535,r=Math.floor(a/65536),z=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,a=j+r+65535,r=Math.floor(a/65536),j=a-r*65536,f+=r-1+37*(r-1),r=1,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=v+r+65535,r=Math.floor(a/65536),v=a-r*65536,a=k+r+65535,r=Math.floor(a/65536),k=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=F+r+65535,r=Math.floor(a/65536),F=a-r*65536,a=z+r+65535,r=Math.floor(a/65536),z=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,a=j+r+65535,r=Math.floor(a/65536),j=a-r*65536,f+=r-1+37*(r-1),t[0]=f,t[1]=i,t[2]=s,t[3]=o,t[4]=c,t[5]=d,t[6]=l,t[7]=h,t[8]=y,t[9]=v,t[10]=k,t[11]=O,t[12]=F,t[13]=z,t[14]=W,t[15]=j}function k7(t,e){vr(t,e,e)}function uNe(t,e){let n=gt(),a;for(a=0;a<16;a++)n[a]=e[a];for(a=253;a>=0;a--)k7(n,n),a!==2&&a!==4&&vr(n,n,e);for(a=0;a<16;a++)t[a]=n[a]}function wnt(t,e){let n=gt(),a;for(a=0;a<16;a++)n[a]=e[a];for(a=250;a>=0;a--)k7(n,n),a!==1&&vr(n,n,e);for(a=0;a<16;a++)t[a]=n[a]}function Tie(t,e){let n=gt(),a=gt(),r=gt(),f=gt(),i=gt(),s=gt(),o=gt(),c=gt(),d=gt();S7(n,t[1],t[0]),S7(d,e[1],e[0]),vr(n,n,d),I7(a,t[0],t[1]),I7(d,e[0],e[1]),vr(a,a,d),vr(r,t[3],e[3]),vr(r,r,ynt),vr(f,t[2],e[2]),I7(f,f,f),S7(i,a,n),S7(s,f,r),I7(o,f,r),I7(c,a,n),vr(t[0],i,s),vr(t[1],c,o),vr(t[2],o,s),vr(t[3],i,c)}function sNe(t,e,n){for(let a=0;a<4;a++)cNe(t[a],e[a],n)}function Eie(t,e){let n=gt(),a=gt(),r=gt();uNe(r,e[2]),vr(n,e[0],r),vr(a,e[1],r),TS(t,a),t[31]^=lNe(n)<<7}function pNe(t,e,n){db(t[0],wie),db(t[1],XT),db(t[2],XT),db(t[3],wie);for(let a=255;a>=0;--a){let r=n[a/8|0]>>(a&7)&1;sNe(t,e,r),Tie(e,t),Tie(t,t),sNe(t,e,r)}}function _ie(t,e){let n=[gt(),gt(),gt(),gt()];db(n[0],rNe),db(n[1],fNe),db(n[2],XT),vr(n[3],rNe,fNe),pNe(t,n,e)}function hNe(t){if(t.length!==$a.SEED_LENGTH)throw new Error(`ed25519: seed must be ${$a.SEED_LENGTH} bytes`);let e=(0,wS.hash)(t);e[0]&=248,e[31]&=127,e[31]|=64;let n=new Uint8Array(32),a=[gt(),gt(),gt(),gt()];_ie(a,e),Eie(n,a);let r=new Uint8Array(64);return r.set(t),r.set(n,32),{publicKey:n,secretKey:r}}$a.generateKeyPairFromSeed=hNe;function Tnt(t){let e=(0,hnt.randomBytes)(32,t),n=hNe(e);return(0,oNe.wipe)(e),n}$a.generateKeyPair=Tnt;function xnt(t){if(t.length!==$a.SECRET_KEY_LENGTH)throw new Error(`ed25519: secret key must be ${$a.SECRET_KEY_LENGTH} bytes`);return new Uint8Array(t.subarray(32))}$a.extractPublicKeyFromSecretKey=xnt;var vie=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function bNe(t,e){let n,a,r,f;for(a=63;a>=32;--a){for(n=0,r=a-32,f=a-12;r>4)*vie[r],n=e[r]>>8,e[r]&=255;for(r=0;r<32;r++)e[r]-=n*vie[r];for(a=0;a<32;a++)e[a+1]+=e[a]>>8,t[a]=e[a]&255}function xie(t){let e=new Float64Array(64);for(let n=0;n<64;n++)e[n]=t[n];for(let n=0;n<64;n++)t[n]=0;bNe(t,e)}function Ent(t,e){let n=new Float64Array(64),a=[gt(),gt(),gt(),gt()],r=(0,wS.hash)(t.subarray(0,32));r[0]&=248,r[31]&=127,r[31]|=64;let f=new Uint8Array(64);f.set(r.subarray(32),32);let i=new wS.SHA512;i.update(f.subarray(32)),i.update(e);let s=i.digest();i.clean(),xie(s),_ie(a,s),Eie(f,a),i.reset(),i.update(f.subarray(0,32)),i.update(t.subarray(32)),i.update(e);let o=i.digest();xie(o);for(let c=0;c<32;c++)n[c]=s[c];for(let c=0;c<32;c++)for(let d=0;d<32;d++)n[c+d]+=o[c]*r[d];return bNe(f.subarray(32),n),f}$a.sign=Ent;function mNe(t,e){let n=gt(),a=gt(),r=gt(),f=gt(),i=gt(),s=gt(),o=gt();return db(t[2],XT),vnt(t[1],e),k7(r,t[1]),vr(f,r,mnt),S7(r,r,t[2]),I7(f,t[2],f),k7(i,f),k7(s,i),vr(o,s,i),vr(n,o,r),vr(n,n,f),wnt(n,n),vr(n,n,r),vr(n,n,f),vr(n,n,f),vr(t[0],n,f),k7(a,t[0]),vr(a,a,f),iNe(a,r)&&vr(t[0],t[0],gnt),k7(a,t[0]),vr(a,a,f),iNe(a,r)?-1:(lNe(t[0])===e[31]>>7&&S7(t[0],wie,t[0]),vr(t[3],t[0],t[1]),0)}function _nt(t,e,n){let a=new Uint8Array(32),r=[gt(),gt(),gt(),gt()],f=[gt(),gt(),gt(),gt()];if(n.length!==$a.SIGNATURE_LENGTH)throw new Error(`ed25519: signature must be ${$a.SIGNATURE_LENGTH} bytes`);if(mNe(f,t))return!1;let i=new wS.SHA512;i.update(n.subarray(0,32)),i.update(t),i.update(e);let s=i.digest();return xie(s),pNe(r,f,s),_ie(f,n.subarray(32)),Tie(r,f),Eie(a,r),!dNe(n,a)}$a.verify=_nt;function Ant(t){let e=[gt(),gt(),gt(),gt()];if(mNe(e,t))throw new Error("Ed25519: invalid public key");let n=gt(),a=gt(),r=e[1];I7(n,XT,r),S7(a,XT,r),uNe(a,a),vr(n,n,a);let f=new Uint8Array(32);return TS(f,n),f}$a.convertPublicKeyToX25519=Ant;function Cnt(t){let e=(0,wS.hash)(t.subarray(0,32));e[0]&=248,e[31]&=127,e[31]|=64;let n=new Uint8Array(e.subarray(0,32));return(0,oNe.wipe)(e),n}$a.convertSecretKeyToX25519=Cnt});var gNe,vNe,Aie,Cie,wNe,TNe,xNe,ENe,_Ne,Iie,ANe,CNe,Az=ce(()=>{u();p();gNe="EdDSA",vNe="JWT",Aie=".",Cie="base64url",wNe="utf8",TNe="utf8",xNe=":",ENe="did",_Ne="key",Iie="base58btc",ANe="z",CNe="K36"});function R7(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}var xS=ce(()=>{u();p()});function ES(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?R7(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}var Cz=ce(()=>{u();p();xS()});var Iz={};V0(Iz,{concat:()=>M7});function M7(t,e){e||(e=t.reduce((r,f)=>r+f.length,0));let n=ES(e),a=0;for(let r of t)n.set(r,a),a+=r.length;return R7(n)}var ZT=ce(()=>{u();p();Cz();xS()});function Int(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),a=0;a>>0,j=new Uint8Array(W);F!==z;){for(var Q=v[F],V=0,X=W-1;(Q!==0||V>>0,j[X]=Q%s>>>0,Q=Q/s>>>0;if(Q!==0)throw new Error("Non-zero carry");O=V,F++}for(var K=W-O;K!==W&&j[K]===0;)K++;for(var G=o.repeat(k);K>>0,W=new Uint8Array(z);v[k];){var j=n[v.charCodeAt(k)];if(j===255)return;for(var Q=0,V=z-1;(j!==0||Q>>0,W[V]=j%256>>>0,j=j/256>>>0;if(j!==0)throw new Error("Non-zero carry");F=Q,k++}if(v[k]!==" "){for(var X=z-F;X!==z&&W[X]===0;)X++;for(var K=new Uint8Array(O+(z-X)),G=O;X!==z;)K[G++]=W[X++];return K}}}function y(v){var k=h(v);if(k)return k;throw new Error(`Non-${e} character`)}return{encode:l,decodeUnsafe:h,decode:y}}var knt,Snt,INe,kNe=ce(()=>{u();p();knt=Int,Snt=knt,INe=Snt});var kz={};V0(kz,{coerce:()=>Q5,empty:()=>SNe,equals:()=>kie,fromHex:()=>Mnt,fromString:()=>Sie,isBinary:()=>Bnt,toHex:()=>Rnt,toString:()=>Rie});var SNe,Rnt,Mnt,kie,Q5,Bnt,Sie,Rie,lb=ce(()=>{u();p();SNe=new Uint8Array(0),Rnt=t=>t.reduce((e,n)=>e+n.toString(16).padStart(2,"0"),""),Mnt=t=>{let e=t.match(/../g);return e?new Uint8Array(e.map(n=>parseInt(n,16))):SNe},kie=(t,e)=>{if(t===e)return!0;if(t.byteLength!==e.byteLength)return!1;for(let n=0;n{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},Bnt=t=>t instanceof ArrayBuffer||ArrayBuffer.isView(t),Sie=t=>new TextEncoder().encode(t),Rie=t=>new TextDecoder().decode(t)});var Mie,Bie,Die,RNe,Pie,ex,ub,Dnt,Pnt,Xf,yl=ce(()=>{u();p();kNe();lb();Mie=class{constructor(e,n,a){this.name=e,this.prefix=n,this.baseEncode=a}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}},Bie=class{constructor(e,n,a){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=a}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return RNe(this,e)}},Die=class{constructor(e){this.decoders=e}or(e){return RNe(this,e)}decode(e){let n=e[0],a=this.decoders[n];if(a)return a.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}},RNe=(t,e)=>new Die({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}}),Pie=class{constructor(e,n,a,r){this.name=e,this.prefix=n,this.baseEncode=a,this.baseDecode=r,this.encoder=new Mie(e,n,a),this.decoder=new Bie(e,n,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}},ex=({name:t,prefix:e,encode:n,decode:a})=>new Pie(t,e,n,a),ub=({prefix:t,name:e,alphabet:n})=>{let{encode:a,decode:r}=INe(n,e);return ex({prefix:t,name:e,encode:a,decode:f=>Q5(r(f))})},Dnt=(t,e,n,a)=>{let r={};for(let d=0;d=8&&(s-=8,i[c++]=255&o>>s)}if(s>=n||255&o<<8-s)throw new SyntaxError("Unexpected end of data");return i},Pnt=(t,e,n)=>{let a=e[e.length-1]==="=",r=(1<n;)i-=n,f+=e[r&s>>i];if(i&&(f+=e[r&s<ex({prefix:e,name:t,encode(r){return Pnt(r,a,n)},decode(r){return Dnt(r,a,n,t)}})});var Lie={};V0(Lie,{identity:()=>Lnt});var Lnt,MNe=ce(()=>{u();p();yl();lb();Lnt=ex({prefix:"\0",name:"identity",encode:t=>Rie(t),decode:t=>Sie(t)})});var Fie={};V0(Fie,{base2:()=>Fnt});var Fnt,BNe=ce(()=>{u();p();yl();Fnt=Xf({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1})});var Nie={};V0(Nie,{base8:()=>Nnt});var Nnt,DNe=ce(()=>{u();p();yl();Nnt=Xf({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3})});var Oie={};V0(Oie,{base10:()=>Ont});var Ont,PNe=ce(()=>{u();p();yl();Ont=ub({prefix:"9",name:"base10",alphabet:"0123456789"})});var Uie={};V0(Uie,{base16:()=>Unt,base16upper:()=>Hnt});var Unt,Hnt,LNe=ce(()=>{u();p();yl();Unt=Xf({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),Hnt=Xf({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4})});var Hie={};V0(Hie,{base32:()=>tx,base32hex:()=>jnt,base32hexpad:()=>Knt,base32hexpadupper:()=>Qnt,base32hexupper:()=>Gnt,base32pad:()=>Wnt,base32padupper:()=>qnt,base32upper:()=>znt,base32z:()=>Vnt});var tx,znt,Wnt,qnt,jnt,Gnt,Knt,Qnt,Vnt,zie=ce(()=>{u();p();yl();tx=Xf({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),znt=Xf({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),Wnt=Xf({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),qnt=Xf({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),jnt=Xf({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),Gnt=Xf({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),Knt=Xf({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),Qnt=Xf({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),Vnt=Xf({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5})});var Wie={};V0(Wie,{base36:()=>Ynt,base36upper:()=>$nt});var Ynt,$nt,FNe=ce(()=>{u();p();yl();Ynt=ub({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),$nt=ub({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"})});var qie={};V0(qie,{base58btc:()=>X2,base58flickr:()=>Jnt});var X2,Jnt,jie=ce(()=>{u();p();yl();X2=ub({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),Jnt=ub({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"})});var Gie={};V0(Gie,{base64:()=>Xnt,base64pad:()=>Znt,base64url:()=>eat,base64urlpad:()=>tat});var Xnt,Znt,eat,tat,NNe=ce(()=>{u();p();yl();Xnt=Xf({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Znt=Xf({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),eat=Xf({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),tat=Xf({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6})});var Kie={};V0(Kie,{base256emoji:()=>iat});function rat(t){return t.reduce((e,n)=>(e+=nat[n],e),"")}function fat(t){let e=[];for(let n of t){let a=aat[n.codePointAt(0)];if(a===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(a)}return new Uint8Array(e)}var ONe,nat,aat,iat,UNe=ce(()=>{u();p();yl();ONe=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),nat=ONe.reduce((t,e,n)=>(t[n]=e,t),[]),aat=ONe.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);iat=ex({prefix:"\u{1F680}",name:"base256emoji",encode:rat,decode:fat})});function WNe(t,e,n){e=e||[],n=n||0;for(var a=n;t>=dat;)e[n++]=t&255|HNe,t/=128;for(;t&cat;)e[n++]=t&255|HNe,t>>>=7;return e[n]=t|0,WNe.bytes=n-a+1,e}function Qie(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s)throw Qie.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&zNe)<=uat);return Qie.bytes=f-a,n}var sat,HNe,oat,cat,dat,lat,uat,zNe,pat,hat,bat,mat,yat,gat,vat,wat,Tat,xat,Eat,_at,_S,qNe=ce(()=>{u();p();sat=WNe,HNe=128,oat=127,cat=~oat,dat=Math.pow(2,31);lat=Qie,uat=128,zNe=127;pat=Math.pow(2,7),hat=Math.pow(2,14),bat=Math.pow(2,21),mat=Math.pow(2,28),yat=Math.pow(2,35),gat=Math.pow(2,42),vat=Math.pow(2,49),wat=Math.pow(2,56),Tat=Math.pow(2,63),xat=function(t){return tnx,encodeTo:()=>B7,encodingLength:()=>D7});var nx,B7,D7,Sz=ce(()=>{u();p();qNe();nx=(t,e=0)=>[_S.decode(t,e),_S.decode.bytes],B7=(t,e,n=0)=>(_S.encode(t,e,n),e),D7=t=>_S.encodingLength(t)});var L7={};V0(L7,{Digest:()=>P7,create:()=>pb,decode:()=>Vie,equals:()=>Yie});var pb,Vie,Yie,P7,AS=ce(()=>{u();p();lb();Sz();pb=(t,e)=>{let n=e.byteLength,a=D7(t),r=a+D7(n),f=new Uint8Array(r+n);return B7(t,f,0),B7(n,f,a),f.set(e,r),new P7(t,n,e,f)},Vie=t=>{let e=Q5(t),[n,a]=nx(e),[r,f]=nx(e.subarray(a)),i=e.subarray(a+f);if(i.byteLength!==r)throw new Error("Incorrect length");return new P7(n,r,i,e)},Yie=(t,e)=>t===e?!0:t.code===e.code&&t.size===e.size&&kie(t.bytes,e.bytes),P7=class{constructor(e,n,a,r){this.code=e,this.size=n,this.digest=a,this.bytes=r}}});var Bz={};V0(Bz,{Hasher:()=>Rz,from:()=>Mz});var Mz,Rz,$ie=ce(()=>{u();p();AS();Mz=({name:t,code:e,encode:n})=>new Rz(t,e,n),Rz=class{constructor(e,n,a){this.name=e,this.code=n,this.encode=a}digest(e){if(e instanceof Uint8Array){let n=this.encode(e);return n instanceof Uint8Array?pb(this.code,n):n.then(a=>pb(this.code,a))}else throw Error("Unknown type, must be binary type")}}});var Jie={};V0(Jie,{sha256:()=>Aat,sha512:()=>Cat});var jNe,Aat,Cat,GNe=ce(()=>{u();p();$ie();jNe=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),Aat=Mz({name:"sha2-256",code:18,encode:jNe("SHA-256")}),Cat=Mz({name:"sha2-512",code:19,encode:jNe("SHA-512")})});var Xie={};V0(Xie,{identity:()=>Sat});var KNe,Iat,QNe,kat,Sat,VNe=ce(()=>{u();p();lb();AS();KNe=0,Iat="identity",QNe=Q5,kat=t=>pb(KNe,QNe(t)),Sat={code:KNe,name:Iat,encode:QNe,digest:kat}});var Zie={};V0(Zie,{code:()=>Mat,decode:()=>Dat,encode:()=>Bat,name:()=>Rat});var Rat,Mat,Bat,Dat,YNe=ce(()=>{u();p();lb();Rat="raw",Mat=85,Bat=t=>Q5(t),Dat=t=>Q5(t)});var ese={};V0(ese,{code:()=>Nat,decode:()=>Uat,encode:()=>Oat,name:()=>Fat});var Pat,Lat,Fat,Nat,Oat,Uat,$Ne=ce(()=>{u();p();Pat=new TextEncoder,Lat=new TextDecoder,Fat="json",Nat=512,Oat=t=>Pat.encode(JSON.stringify(t)),Uat=t=>JSON.parse(Lat.decode(t))});var IS,Hat,zat,Wat,CS,qat,JNe,XNe,Dz,Pz,jat,Gat,Kat,ZNe=ce(()=>{u();p();Sz();AS();jie();zie();lb();IS=class t{constructor(e,n,a,r){this.code=n,this.version=e,this.multihash=a,this.bytes=r,this.byteOffset=r.byteOffset,this.byteLength=r.byteLength,this.asCID=this,this._baseCache=new Map,Object.defineProperties(this,{byteOffset:Pz,byteLength:Pz,code:Dz,version:Dz,multihash:Dz,bytes:Dz,_baseCache:Pz,asCID:Pz})}toV0(){switch(this.version){case 0:return this;default:{let{code:e,multihash:n}=this;if(e!==CS)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(n.code!==qat)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");return t.createV0(n)}}}toV1(){switch(this.version){case 0:{let{code:e,digest:n}=this.multihash,a=pb(e,n);return t.createV1(this.code,a)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}equals(e){return e&&this.code===e.code&&this.version===e.version&&Yie(this.multihash,e.multihash)}toString(e){let{bytes:n,version:a,_baseCache:r}=this;switch(a){case 0:return zat(n,r,e||X2.encoder);default:return Wat(n,r,e||tx.encoder)}}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}static isCID(e){return Gat(/^0\.0/,Kat),!!(e&&(e[XNe]||e.asCID===e))}get toBaseEncodedString(){throw new Error("Deprecated, use .toString()")}get codec(){throw new Error('"codec" property is deprecated, use integer "code" property instead')}get buffer(){throw new Error("Deprecated .buffer property, use .bytes to get Uint8Array instead")}get multibaseName(){throw new Error('"multibaseName" property is deprecated')}get prefix(){throw new Error('"prefix" property is deprecated')}static asCID(e){if(e instanceof t)return e;if(e!=null&&e.asCID===e){let{version:n,code:a,multihash:r,bytes:f}=e;return new t(n,a,r,f||JNe(n,a,r.bytes))}else if(e!=null&&e[XNe]===!0){let{version:n,multihash:a,code:r}=e,f=Vie(a);return t.create(n,r,f)}else return null}static create(e,n,a){if(typeof n!="number")throw new Error("String codecs are no longer supported");switch(e){case 0:{if(n!==CS)throw new Error(`Version 0 CID must use dag-pb (code: ${CS}) block encoding`);return new t(e,n,a,a.bytes)}case 1:{let r=JNe(e,n,a.bytes);return new t(e,n,a,r)}default:throw new Error("Invalid version")}}static createV0(e){return t.create(0,CS,e)}static createV1(e,n){return t.create(1,e,n)}static decode(e){let[n,a]=t.decodeFirst(e);if(a.length)throw new Error("Incorrect length");return n}static decodeFirst(e){let n=t.inspectBytes(e),a=n.size-n.multihashSize,r=Q5(e.subarray(a,a+n.multihashSize));if(r.byteLength!==n.multihashSize)throw new Error("Incorrect length");let f=r.subarray(n.multihashSize-n.digestSize),i=new P7(n.multihashCode,n.digestSize,f,r);return[n.version===0?t.createV0(i):t.createV1(n.codec,i),e.subarray(n.size)]}static inspectBytes(e){let n=0,a=()=>{let[l,h]=nx(e.subarray(n));return n+=h,l},r=a(),f=CS;if(r===18?(r=0,n=0):r===1&&(f=a()),r!==0&&r!==1)throw new RangeError(`Invalid CID version ${r}`);let i=n,s=a(),o=a(),c=n+o,d=c-i;return{version:r,codec:f,multihashCode:s,digestSize:o,multihashSize:d,size:c}}static parse(e,n){let[a,r]=Hat(e,n),f=t.decode(r);return f._baseCache.set(a,e),f}},Hat=(t,e)=>{switch(t[0]){case"Q":{let n=e||X2;return[X2.prefix,n.decode(`${X2.prefix}${t}`)]}case X2.prefix:{let n=e||X2;return[X2.prefix,n.decode(t)]}case tx.prefix:{let n=e||tx;return[tx.prefix,n.decode(t)]}default:{if(e==null)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[t[0],e.decode(t)]}}},zat=(t,e,n)=>{let{prefix:a}=n;if(a!==X2.prefix)throw Error(`Cannot string encode V0 in ${n.name} encoding`);let r=e.get(a);if(r==null){let f=n.encode(t).slice(1);return e.set(a,f),f}else return r},Wat=(t,e,n)=>{let{prefix:a}=n,r=e.get(a);if(r==null){let f=n.encode(t);return e.set(a,f),f}else return r},CS=112,qat=18,JNe=(t,e,n)=>{let a=D7(t),r=a+D7(e),f=new Uint8Array(r+n.byteLength);return B7(t,f,0),B7(e,f,a),f.set(n,r),f},XNe=Symbol.for("@ipld/js-cid/CID"),Dz={writable:!1,configurable:!1,enumerable:!0},Pz={writable:!1,enumerable:!1,configurable:!1},jat="0.0.0-dev",Gat=(t,e)=>{if(t.test(jat))console.warn(e);else throw new Error(e)},Kat=`CID.isCID(v) is deprecated and will be removed in the next major release. Following code pattern: if (CID.isCID(value)) { @@ -30,28 +30,28 @@ if (cid) { // Make sure to use cid instead of value doSomethingWithCID(cid) } -`});var eOe=ce(()=>{u();p();ZNe();Sz();lb();$ie();AS()});var tOe={};V0(tOe,{CID:()=>IS,bases:()=>Lz,bytes:()=>kz,codecs:()=>Vat,digest:()=>P7,hasher:()=>Bz,hashes:()=>Qat,varint:()=>ax});var Lz,Qat,Vat,tse=ce(()=>{u();p();MNe();BNe();DNe();PNe();LNe();zie();FNe();jie();NNe();UNe();GNe();VNe();YNe();$Ne();eOe();Lz={...Lie,...Fie,...Nie,...Oie,...Uie,...Hie,...Wie,...qie,...Gie,...Kie},Qat={...Jie,...Xie},Vat={raw:Zie,json:ese}});function aOe(t,e,n,a){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:a}}}var nOe,nse,Yat,Fz,ase=ce(()=>{u();p();tse();Cz();nOe=aOe("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),nse=aOe("ascii","a",t=>{let e="a";for(let n=0;n{t=t.substring(1);let e=ES(t.length);for(let n=0;nMi});function Mi(t,e="utf8"){let n=Fz[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("utf8"):n.encoder.encode(t).substring(1)}var rx=ce(()=>{u();p();ase()});var rse={};V0(rse,{fromString:()=>Es});function Es(t,e="utf8"){let n=Fz[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?S7(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}var kS=ce(()=>{u();p();ase();xS()});function Oz(t){return Mi(Es(z1(t),wNe),Cie)}function Uz(t){let e=Es(CNe,Iie),n=ANe+Mi(R7([e,t]),Iie);return[ENe,_Ne,n].join(xNe)}function $at(t){return Mi(t,Cie)}function rOe(t){return Es([Oz(t.header),Oz(t.payload)].join(Aie),TNe)}function fOe(t){return[Oz(t.header),Oz(t.payload),$at(t.signature)].join(Aie)}var fse=ce(()=>{u();p();ZT();rx();kS();x7();Az()});function ise(t=(0,iOe.randomBytes)(32)){return SS.generateKeyPairFromSeed(t)}async function oOe(t,e,n,a,r=(0,sOe.fromMiliseconds)(Date.now())){let f={alg:gNe,typ:vNe},i=Uz(a.publicKey),s=r+n,o={iss:i,sub:t,aud:e,iat:r,exp:s},c=rOe({header:f,payload:o}),d=SS.sign(a.secretKey,c);return fOe({header:f,payload:o,signature:d})}var SS,iOe,sOe,cOe=ce(()=>{u();p();SS=Ee(yNe()),iOe=Ee(vS()),sOe=Ee(E7());Az();fse()});var dOe=ce(()=>{u();p()});var lOe=ce(()=>{u();p();cOe();Az();dOe();fse()});function Hz(t){return t?bOe(t):typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new art:typeof navigator<"u"?bOe(navigator.userAgent):crt()}function srt(t){return t!==""&&irt.reduce(function(e,n){var a=n[0],r=n[1];if(e)return e;var f=r.exec(t);return!!f&&[a,f]},!1)}function bOe(t){var e=srt(t);if(!e)return null;var n=e[0],a=e[1];if(n==="searchbot")return new nrt;var r=a[1]&&a[1].split(".").join("_").split("_").slice(0,3);r?r.length{u();p();uOe=function(t,e,n){if(n||arguments.length===2)for(var a=0,r=e.length,f;a{"use strict";u();p();Object.defineProperty(Hr,"__esModule",{value:!0});Hr.getLocalStorage=Hr.getLocalStorageOrThrow=Hr.getCrypto=Hr.getCryptoOrThrow=Hr.getLocation=Hr.getLocationOrThrow=Hr.getNavigator=Hr.getNavigatorOrThrow=Hr.getDocument=Hr.getDocumentOrThrow=Hr.getFromWindowOrThrow=Hr.getFromWindow=void 0;function L7(t){let e;return typeof window<"u"&&typeof window[t]<"u"&&(e=window[t]),e}Hr.getFromWindow=L7;function fx(t){let e=L7(t);if(!e)throw new Error(`${t} is not defined in Window`);return e}Hr.getFromWindowOrThrow=fx;function lrt(){return fx("document")}Hr.getDocumentOrThrow=lrt;function urt(){return L7("document")}Hr.getDocument=urt;function prt(){return fx("navigator")}Hr.getNavigatorOrThrow=prt;function hrt(){return L7("navigator")}Hr.getNavigator=hrt;function brt(){return fx("location")}Hr.getLocationOrThrow=brt;function mrt(){return L7("location")}Hr.getLocation=mrt;function yrt(){return fx("crypto")}Hr.getCryptoOrThrow=yrt;function grt(){return L7("crypto")}Hr.getCrypto=grt;function vrt(){return fx("localStorage")}Hr.getLocalStorageOrThrow=vrt;function wrt(){return L7("localStorage")}Hr.getLocalStorage=wrt});var yOe=D(zz=>{"use strict";u();p();Object.defineProperty(zz,"__esModule",{value:!0});zz.getWindowMetadata=void 0;var mOe=ose();function Trt(){let t,e;try{t=mOe.getDocumentOrThrow(),e=mOe.getLocationOrThrow()}catch{return null}function n(){let l=t.getElementsByTagName("link"),h=[];for(let y=0;y-1){let O=v.getAttribute("href");if(O)if(O.toLowerCase().indexOf("https:")===-1&&O.toLowerCase().indexOf("http:")===-1&&O.indexOf("//")!==0){let F=e.protocol+"//"+e.host;if(O.indexOf("/")===0)F+=O;else{let z=e.pathname.split("/");z.pop();let W=z.join("/");F+=W+"/"+O}h.push(F)}else if(O.indexOf("//")===0){let F=e.protocol+O;h.push(F)}else h.push(O)}}return h}function a(...l){let h=t.getElementsByTagName("meta");for(let y=0;yv.getAttribute(O)).filter(O=>O?l.includes(O):!1);if(S.length&&S){let O=v.getAttribute("content");if(O)return O}}return""}function r(){let l=a("name","og:site_name","og:title","twitter:title");return l||(l=t.title),l}function f(){return a("description","og:description","twitter:description","keywords")}let i=r(),s=f(),o=e.origin,c=n();return{description:s,url:o,icons:c,name:i}}zz.getWindowMetadata=Trt});var vOe=D((iaa,gOe)=>{"use strict";u();p();gOe.exports=t=>encodeURIComponent(t).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)});var _Oe=D((caa,EOe)=>{"use strict";u();p();var xOe="%[a-f0-9]{2}",wOe=new RegExp("("+xOe+")|([^%]+?)","gi"),TOe=new RegExp("("+xOe+")+","gi");function cse(t,e){try{return[decodeURIComponent(t.join(""))]}catch{}if(t.length===1)return t;e=e||1;var n=t.slice(0,e),a=t.slice(e);return Array.prototype.concat.call([],cse(n),cse(a))}function xrt(t){try{return decodeURIComponent(t)}catch{for(var e=t.match(wOe)||[],n=1;n{"use strict";u();p();AOe.exports=(t,e)=>{if(!(typeof t=="string"&&typeof e=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e==="")return[t];let n=t.indexOf(e);return n===-1?[t]:[t.slice(0,n),t.slice(n+e.length)]}});var kOe=D((baa,IOe)=>{"use strict";u();p();IOe.exports=function(t,e){for(var n={},a=Object.keys(t),r=Array.isArray(e),f=0;f{"use strict";u();p();var _rt=vOe(),Art=_Oe(),ROe=COe(),Crt=kOe(),Irt=t=>t==null,dse=Symbol("encodeFragmentIdentifier");function krt(t){switch(t.arrayFormat){case"index":return e=>(n,a)=>{let r=n.length;return a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,[bi(e,t),"[",r,"]"].join("")]:[...n,[bi(e,t),"[",bi(r,t),"]=",bi(a,t)].join("")]};case"bracket":return e=>(n,a)=>a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,[bi(e,t),"[]"].join("")]:[...n,[bi(e,t),"[]=",bi(a,t)].join("")];case"colon-list-separator":return e=>(n,a)=>a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,[bi(e,t),":list="].join("")]:[...n,[bi(e,t),":list=",bi(a,t)].join("")];case"comma":case"separator":case"bracket-separator":{let e=t.arrayFormat==="bracket-separator"?"[]=":"=";return n=>(a,r)=>r===void 0||t.skipNull&&r===null||t.skipEmptyString&&r===""?a:(r=r===null?"":r,a.length===0?[[bi(n,t),e,bi(r,t)].join("")]:[[a,bi(r,t)].join(t.arrayFormatSeparator)])}default:return e=>(n,a)=>a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,bi(e,t)]:[...n,[bi(e,t),"=",bi(a,t)].join("")]}}function Srt(t){let e;switch(t.arrayFormat){case"index":return(n,a,r)=>{if(e=/\[(\d*)\]$/.exec(n),n=n.replace(/\[\d*\]$/,""),!e){r[n]=a;return}r[n]===void 0&&(r[n]={}),r[n][e[1]]=a};case"bracket":return(n,a,r)=>{if(e=/(\[\])$/.exec(n),n=n.replace(/\[\]$/,""),!e){r[n]=a;return}if(r[n]===void 0){r[n]=[a];return}r[n]=[].concat(r[n],a)};case"colon-list-separator":return(n,a,r)=>{if(e=/(:list)$/.exec(n),n=n.replace(/:list$/,""),!e){r[n]=a;return}if(r[n]===void 0){r[n]=[a];return}r[n]=[].concat(r[n],a)};case"comma":case"separator":return(n,a,r)=>{let f=typeof a=="string"&&a.includes(t.arrayFormatSeparator),i=typeof a=="string"&&!f&&M8(a,t).includes(t.arrayFormatSeparator);a=i?M8(a,t):a;let s=f||i?a.split(t.arrayFormatSeparator).map(o=>M8(o,t)):a===null?a:M8(a,t);r[n]=s};case"bracket-separator":return(n,a,r)=>{let f=/(\[\])$/.test(n);if(n=n.replace(/\[\]$/,""),!f){r[n]=a&&M8(a,t);return}let i=a===null?[]:a.split(t.arrayFormatSeparator).map(s=>M8(s,t));if(r[n]===void 0){r[n]=i;return}r[n]=[].concat(r[n],i)};default:return(n,a,r)=>{if(r[n]===void 0){r[n]=a;return}r[n]=[].concat(r[n],a)}}}function MOe(t){if(typeof t!="string"||t.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function bi(t,e){return e.encode?e.strict?_rt(t):encodeURIComponent(t):t}function M8(t,e){return e.decode?Art(t):t}function BOe(t){return Array.isArray(t)?t.sort():typeof t=="object"?BOe(Object.keys(t)).sort((e,n)=>Number(e)-Number(n)).map(e=>t[e]):t}function DOe(t){let e=t.indexOf("#");return e!==-1&&(t=t.slice(0,e)),t}function Rrt(t){let e="",n=t.indexOf("#");return n!==-1&&(e=t.slice(n)),e}function POe(t){t=DOe(t);let e=t.indexOf("?");return e===-1?"":t.slice(e+1)}function SOe(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&typeof t=="string"&&t.trim()!==""?t=Number(t):e.parseBooleans&&t!==null&&(t.toLowerCase()==="true"||t.toLowerCase()==="false")&&(t=t.toLowerCase()==="true"),t}function LOe(t,e){e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e),MOe(e.arrayFormatSeparator);let n=Srt(e),a=Object.create(null);if(typeof t!="string"||(t=t.trim().replace(/^[?#&]/,""),!t))return a;for(let r of t.split("&")){if(r==="")continue;let[f,i]=ROe(e.decode?r.replace(/\+/g," "):r,"=");i=i===void 0?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?i:M8(i,e),n(M8(f,e),i,a)}for(let r of Object.keys(a)){let f=a[r];if(typeof f=="object"&&f!==null)for(let i of Object.keys(f))f[i]=SOe(f[i],e);else a[r]=SOe(f,e)}return e.sort===!1?a:(e.sort===!0?Object.keys(a).sort():Object.keys(a).sort(e.sort)).reduce((r,f)=>{let i=a[f];return i&&typeof i=="object"&&!Array.isArray(i)?r[f]=BOe(i):r[f]=i,r},Object.create(null))}Fc.extract=POe;Fc.parse=LOe;Fc.stringify=(t,e)=>{if(!t)return"";e=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},e),MOe(e.arrayFormatSeparator);let n=i=>e.skipNull&&Irt(t[i])||e.skipEmptyString&&t[i]==="",a=krt(e),r={};for(let i of Object.keys(t))n(i)||(r[i]=t[i]);let f=Object.keys(r);return e.sort!==!1&&f.sort(e.sort),f.map(i=>{let s=t[i];return s===void 0?"":s===null?bi(i,e):Array.isArray(s)?s.length===0&&e.arrayFormat==="bracket-separator"?bi(i,e)+"[]":s.reduce(a(i),[]).join("&"):bi(i,e)+"="+bi(s,e)}).filter(i=>i.length>0).join("&")};Fc.parseUrl=(t,e)=>{e=Object.assign({decode:!0},e);let[n,a]=ROe(t,"#");return Object.assign({url:n.split("?")[0]||"",query:LOe(POe(t),e)},e&&e.parseFragmentIdentifier&&a?{fragmentIdentifier:M8(a,e)}:{})};Fc.stringifyUrl=(t,e)=>{e=Object.assign({encode:!0,strict:!0,[dse]:!0},e);let n=DOe(t.url).split("?")[0]||"",a=Fc.extract(t.url),r=Fc.parse(a,{sort:!1}),f=Object.assign(r,t.query),i=Fc.stringify(f,e);i&&(i=`?${i}`);let s=Rrt(t.url);return t.fragmentIdentifier&&(s=`#${e[dse]?bi(t.fragmentIdentifier,e):t.fragmentIdentifier}`),`${n}${i}${s}`};Fc.pick=(t,e,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[dse]:!1},n);let{url:a,query:r,fragmentIdentifier:f}=Fc.parseUrl(t,n);return Fc.stringifyUrl({url:a,query:Crt(r,e),fragmentIdentifier:f},n)};Fc.exclude=(t,e,n)=>{let a=Array.isArray(e)?r=>!e.includes(r):(r,f)=>!e(r,f);return Fc.pick(t,a,n)}});var OOe=D(Wz=>{"use strict";u();p();Object.defineProperty(Wz,"__esModule",{value:!0});var Zo=YT(),lse=K5(),Mrt=20;function Brt(t,e,n){for(var a=1634760805,r=857760878,f=2036477234,i=1797285236,s=n[3]<<24|n[2]<<16|n[1]<<8|n[0],o=n[7]<<24|n[6]<<16|n[5]<<8|n[4],c=n[11]<<24|n[10]<<16|n[9]<<8|n[8],d=n[15]<<24|n[14]<<16|n[13]<<8|n[12],l=n[19]<<24|n[18]<<16|n[17]<<8|n[16],h=n[23]<<24|n[22]<<16|n[21]<<8|n[20],y=n[27]<<24|n[26]<<16|n[25]<<8|n[24],v=n[31]<<24|n[30]<<16|n[29]<<8|n[28],S=e[3]<<24|e[2]<<16|e[1]<<8|e[0],O=e[7]<<24|e[6]<<16|e[5]<<8|e[4],F=e[11]<<24|e[10]<<16|e[9]<<8|e[8],z=e[15]<<24|e[14]<<16|e[13]<<8|e[12],W=a,j=r,Q=f,V=i,X=s,K=o,G=c,R=d,T=l,N=h,w=y,m=v,A=S,P=O,L=F,x=z,g=0;g>>16|A<<16,T=T+A|0,X^=T,X=X>>>20|X<<12,j=j+K|0,P^=j,P=P>>>16|P<<16,N=N+P|0,K^=N,K=K>>>20|K<<12,Q=Q+G|0,L^=Q,L=L>>>16|L<<16,w=w+L|0,G^=w,G=G>>>20|G<<12,V=V+R|0,x^=V,x=x>>>16|x<<16,m=m+x|0,R^=m,R=R>>>20|R<<12,Q=Q+G|0,L^=Q,L=L>>>24|L<<8,w=w+L|0,G^=w,G=G>>>25|G<<7,V=V+R|0,x^=V,x=x>>>24|x<<8,m=m+x|0,R^=m,R=R>>>25|R<<7,j=j+K|0,P^=j,P=P>>>24|P<<8,N=N+P|0,K^=N,K=K>>>25|K<<7,W=W+X|0,A^=W,A=A>>>24|A<<8,T=T+A|0,X^=T,X=X>>>25|X<<7,W=W+K|0,x^=W,x=x>>>16|x<<16,w=w+x|0,K^=w,K=K>>>20|K<<12,j=j+G|0,A^=j,A=A>>>16|A<<16,m=m+A|0,G^=m,G=G>>>20|G<<12,Q=Q+R|0,P^=Q,P=P>>>16|P<<16,T=T+P|0,R^=T,R=R>>>20|R<<12,V=V+X|0,L^=V,L=L>>>16|L<<16,N=N+L|0,X^=N,X=X>>>20|X<<12,Q=Q+R|0,P^=Q,P=P>>>24|P<<8,T=T+P|0,R^=T,R=R>>>25|R<<7,V=V+X|0,L^=V,L=L>>>24|L<<8,N=N+L|0,X^=N,X=X>>>25|X<<7,j=j+G|0,A^=j,A=A>>>24|A<<8,m=m+A|0,G^=m,G=G>>>25|G<<7,W=W+K|0,x^=W,x=x>>>24|x<<8,w=w+x|0,K^=w,K=K>>>25|K<<7;Zo.writeUint32LE(W+a|0,t,0),Zo.writeUint32LE(j+r|0,t,4),Zo.writeUint32LE(Q+f|0,t,8),Zo.writeUint32LE(V+i|0,t,12),Zo.writeUint32LE(X+s|0,t,16),Zo.writeUint32LE(K+o|0,t,20),Zo.writeUint32LE(G+c|0,t,24),Zo.writeUint32LE(R+d|0,t,28),Zo.writeUint32LE(T+l|0,t,32),Zo.writeUint32LE(N+h|0,t,36),Zo.writeUint32LE(w+y|0,t,40),Zo.writeUint32LE(m+v|0,t,44),Zo.writeUint32LE(A+S|0,t,48),Zo.writeUint32LE(P+O|0,t,52),Zo.writeUint32LE(L+F|0,t,56),Zo.writeUint32LE(x+z|0,t,60)}function NOe(t,e,n,a,r){if(r===void 0&&(r=0),t.length!==32)throw new Error("ChaCha: key size must be 32 bytes");if(a.length>>=8,e++;if(a>0)throw new Error("ChaCha: counter overflow")}});var qz=D(ix=>{"use strict";u();p();Object.defineProperty(ix,"__esModule",{value:!0});function Lrt(t,e,n){return~(t-1)&e|t-1&n}ix.select=Lrt;function Frt(t,e){return(t|0)-(e|0)-1>>>31&1}ix.lessOrEqual=Frt;function UOe(t,e){if(t.length!==e.length)return 0;for(var n=0,a=0;a>>8}ix.compare=UOe;function Nrt(t,e){return t.length===0||e.length===0?!1:UOe(t,e)!==0}ix.equal=Nrt});var zOe=D(B8=>{"use strict";u();p();Object.defineProperty(B8,"__esModule",{value:!0});var Ort=qz(),jz=K5();B8.DIGEST_LENGTH=16;var HOe=function(){function t(e){this.digestLength=B8.DIGEST_LENGTH,this._buffer=new Uint8Array(16),this._r=new Uint16Array(10),this._h=new Uint16Array(10),this._pad=new Uint16Array(8),this._leftover=0,this._fin=0,this._finished=!1;var n=e[0]|e[1]<<8;this._r[0]=n&8191;var a=e[2]|e[3]<<8;this._r[1]=(n>>>13|a<<3)&8191;var r=e[4]|e[5]<<8;this._r[2]=(a>>>10|r<<6)&7939;var f=e[6]|e[7]<<8;this._r[3]=(r>>>7|f<<9)&8191;var i=e[8]|e[9]<<8;this._r[4]=(f>>>4|i<<12)&255,this._r[5]=i>>>1&8190;var s=e[10]|e[11]<<8;this._r[6]=(i>>>14|s<<2)&8191;var o=e[12]|e[13]<<8;this._r[7]=(s>>>11|o<<5)&8065;var c=e[14]|e[15]<<8;this._r[8]=(o>>>8|c<<8)&8191,this._r[9]=c>>>5&127,this._pad[0]=e[16]|e[17]<<8,this._pad[1]=e[18]|e[19]<<8,this._pad[2]=e[20]|e[21]<<8,this._pad[3]=e[22]|e[23]<<8,this._pad[4]=e[24]|e[25]<<8,this._pad[5]=e[26]|e[27]<<8,this._pad[6]=e[28]|e[29]<<8,this._pad[7]=e[30]|e[31]<<8}return t.prototype._blocks=function(e,n,a){for(var r=this._fin?0:2048,f=this._h[0],i=this._h[1],s=this._h[2],o=this._h[3],c=this._h[4],d=this._h[5],l=this._h[6],h=this._h[7],y=this._h[8],v=this._h[9],S=this._r[0],O=this._r[1],F=this._r[2],z=this._r[3],W=this._r[4],j=this._r[5],Q=this._r[6],V=this._r[7],X=this._r[8],K=this._r[9];a>=16;){var G=e[n+0]|e[n+1]<<8;f+=G&8191;var R=e[n+2]|e[n+3]<<8;i+=(G>>>13|R<<3)&8191;var T=e[n+4]|e[n+5]<<8;s+=(R>>>10|T<<6)&8191;var N=e[n+6]|e[n+7]<<8;o+=(T>>>7|N<<9)&8191;var w=e[n+8]|e[n+9]<<8;c+=(N>>>4|w<<12)&8191,d+=w>>>1&8191;var m=e[n+10]|e[n+11]<<8;l+=(w>>>14|m<<2)&8191;var A=e[n+12]|e[n+13]<<8;h+=(m>>>11|A<<5)&8191;var P=e[n+14]|e[n+15]<<8;y+=(A>>>8|P<<8)&8191,v+=P>>>5|r;var L=0,x=L;x+=f*S,x+=i*(5*K),x+=s*(5*X),x+=o*(5*V),x+=c*(5*Q),L=x>>>13,x&=8191,x+=d*(5*j),x+=l*(5*W),x+=h*(5*z),x+=y*(5*F),x+=v*(5*O),L+=x>>>13,x&=8191;var g=L;g+=f*O,g+=i*S,g+=s*(5*K),g+=o*(5*X),g+=c*(5*V),L=g>>>13,g&=8191,g+=d*(5*Q),g+=l*(5*j),g+=h*(5*W),g+=y*(5*z),g+=v*(5*F),L+=g>>>13,g&=8191;var B=L;B+=f*F,B+=i*O,B+=s*S,B+=o*(5*K),B+=c*(5*X),L=B>>>13,B&=8191,B+=d*(5*V),B+=l*(5*Q),B+=h*(5*j),B+=y*(5*W),B+=v*(5*z),L+=B>>>13,B&=8191;var M=L;M+=f*z,M+=i*F,M+=s*O,M+=o*S,M+=c*(5*K),L=M>>>13,M&=8191,M+=d*(5*X),M+=l*(5*V),M+=h*(5*Q),M+=y*(5*j),M+=v*(5*W),L+=M>>>13,M&=8191;var k=L;k+=f*W,k+=i*z,k+=s*F,k+=o*O,k+=c*S,L=k>>>13,k&=8191,k+=d*(5*K),k+=l*(5*X),k+=h*(5*V),k+=y*(5*Q),k+=v*(5*j),L+=k>>>13,k&=8191;var q=L;q+=f*j,q+=i*W,q+=s*z,q+=o*F,q+=c*O,L=q>>>13,q&=8191,q+=d*S,q+=l*(5*K),q+=h*(5*X),q+=y*(5*V),q+=v*(5*Q),L+=q>>>13,q&=8191;var ee=L;ee+=f*Q,ee+=i*j,ee+=s*W,ee+=o*z,ee+=c*F,L=ee>>>13,ee&=8191,ee+=d*O,ee+=l*S,ee+=h*(5*K),ee+=y*(5*X),ee+=v*(5*V),L+=ee>>>13,ee&=8191;var U=L;U+=f*V,U+=i*Q,U+=s*j,U+=o*W,U+=c*z,L=U>>>13,U&=8191,U+=d*F,U+=l*O,U+=h*S,U+=y*(5*K),U+=v*(5*X),L+=U>>>13,U&=8191;var J=L;J+=f*X,J+=i*V,J+=s*Q,J+=o*j,J+=c*W,L=J>>>13,J&=8191,J+=d*z,J+=l*F,J+=h*O,J+=y*S,J+=v*(5*K),L+=J>>>13,J&=8191;var Z=L;Z+=f*K,Z+=i*X,Z+=s*V,Z+=o*Q,Z+=c*j,L=Z>>>13,Z&=8191,Z+=d*W,Z+=l*z,Z+=h*F,Z+=y*O,Z+=v*S,L+=Z>>>13,Z&=8191,L=(L<<2)+L|0,L=L+x|0,x=L&8191,L=L>>>13,g+=L,f=x,i=g,s=B,o=M,c=k,d=q,l=ee,h=U,y=J,v=Z,n+=16,a-=16}this._h[0]=f,this._h[1]=i,this._h[2]=s,this._h[3]=o,this._h[4]=c,this._h[5]=d,this._h[6]=l,this._h[7]=h,this._h[8]=y,this._h[9]=v},t.prototype.finish=function(e,n){n===void 0&&(n=0);var a=new Uint16Array(10),r,f,i,s;if(this._leftover){for(s=this._leftover,this._buffer[s++]=1;s<16;s++)this._buffer[s]=0;this._fin=1,this._blocks(this._buffer,0,16)}for(r=this._h[1]>>>13,this._h[1]&=8191,s=2;s<10;s++)this._h[s]+=r,r=this._h[s]>>>13,this._h[s]&=8191;for(this._h[0]+=r*5,r=this._h[0]>>>13,this._h[0]&=8191,this._h[1]+=r,r=this._h[1]>>>13,this._h[1]&=8191,this._h[2]+=r,a[0]=this._h[0]+5,r=a[0]>>>13,a[0]&=8191,s=1;s<10;s++)a[s]=this._h[s]+r,r=a[s]>>>13,a[s]&=8191;for(a[9]-=8192,f=(r^1)-1,s=0;s<10;s++)a[s]&=f;for(f=~f,s=0;s<10;s++)this._h[s]=this._h[s]&f|a[s];for(this._h[0]=(this._h[0]|this._h[1]<<13)&65535,this._h[1]=(this._h[1]>>>3|this._h[2]<<10)&65535,this._h[2]=(this._h[2]>>>6|this._h[3]<<7)&65535,this._h[3]=(this._h[3]>>>9|this._h[4]<<4)&65535,this._h[4]=(this._h[4]>>>12|this._h[5]<<1|this._h[6]<<14)&65535,this._h[5]=(this._h[6]>>>2|this._h[7]<<11)&65535,this._h[6]=(this._h[7]>>>5|this._h[8]<<8)&65535,this._h[7]=(this._h[8]>>>8|this._h[9]<<5)&65535,i=this._h[0]+this._pad[0],this._h[0]=i&65535,s=1;s<8;s++)i=(this._h[s]+this._pad[s]|0)+(i>>>16)|0,this._h[s]=i&65535;return e[n+0]=this._h[0]>>>0,e[n+1]=this._h[0]>>>8,e[n+2]=this._h[1]>>>0,e[n+3]=this._h[1]>>>8,e[n+4]=this._h[2]>>>0,e[n+5]=this._h[2]>>>8,e[n+6]=this._h[3]>>>0,e[n+7]=this._h[3]>>>8,e[n+8]=this._h[4]>>>0,e[n+9]=this._h[4]>>>8,e[n+10]=this._h[5]>>>0,e[n+11]=this._h[5]>>>8,e[n+12]=this._h[6]>>>0,e[n+13]=this._h[6]>>>8,e[n+14]=this._h[7]>>>0,e[n+15]=this._h[7]>>>8,this._finished=!0,this},t.prototype.update=function(e){var n=0,a=e.length,r;if(this._leftover){r=16-this._leftover,r>a&&(r=a);for(var f=0;f=16&&(r=a-a%16,this._blocks(e,n,r),n+=r,a-=r),a){for(var f=0;f{"use strict";u();p();Object.defineProperty(D8,"__esModule",{value:!0});var Gz=OOe(),zrt=zOe(),RS=K5(),WOe=YT(),Wrt=qz();D8.KEY_LENGTH=32;D8.NONCE_LENGTH=12;D8.TAG_LENGTH=16;var qOe=new Uint8Array(16),qrt=function(){function t(e){if(this.nonceLength=D8.NONCE_LENGTH,this.tagLength=D8.TAG_LENGTH,e.length!==D8.KEY_LENGTH)throw new Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(e)}return t.prototype.seal=function(e,n,a,r){if(e.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");var f=new Uint8Array(16);f.set(e,f.length-e.length);var i=new Uint8Array(32);Gz.stream(this._key,f,i,4);var s=n.length+this.tagLength,o;if(r){if(r.length!==s)throw new Error("ChaCha20Poly1305: incorrect destination length");o=r}else o=new Uint8Array(s);return Gz.streamXOR(this._key,f,n,o,4),this._authenticate(o.subarray(o.length-this.tagLength,o.length),i,o.subarray(0,o.length-this.tagLength),a),RS.wipe(f),o},t.prototype.open=function(e,n,a,r){if(e.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");if(n.length0&&f.update(qOe.subarray(r.length%16))),f.update(a),a.length%16>0&&f.update(qOe.subarray(a.length%16));var i=new Uint8Array(8);r&&WOe.writeUint64LE(r.length,i),f.update(i),WOe.writeUint64LE(a.length,i),f.update(i);for(var s=f.digest(),o=0;o{"use strict";u();p();Object.defineProperty(use,"__esModule",{value:!0});function jrt(t){return typeof t.saveState<"u"&&typeof t.restoreState<"u"&&typeof t.cleanSavedState<"u"}use.isSerializableHash=jrt});var QOe=D(MS=>{"use strict";u();p();Object.defineProperty(MS,"__esModule",{value:!0});var Z2=GOe(),Grt=qz(),Krt=K5(),KOe=function(){function t(e,n){this._finished=!1,this._inner=new e,this._outer=new e,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var a=new Uint8Array(this.blockSize);n.length>this.blockSize?this._inner.update(n).finish(a).clean():a.set(n);for(var r=0;r{"use strict";u();p();Object.defineProperty(pse,"__esModule",{value:!0});var VOe=QOe(),YOe=K5(),Vrt=function(){function t(e,n,a,r){a===void 0&&(a=new Uint8Array(0)),this._counter=new Uint8Array(1),this._hash=e,this._info=r;var f=VOe.hmac(this._hash,a,n);this._hmac=new VOe.HMAC(e,f),this._buffer=new Uint8Array(this._hmac.digestLength),this._bufpos=this._buffer.length}return t.prototype._fillBuffer=function(){this._counter[0]++;var e=this._counter[0];if(e===0)throw new Error("hkdf: cannot expand more");this._hmac.reset(),e>1&&this._hmac.update(this._buffer),this._info&&this._hmac.update(this._info),this._hmac.update(this._counter),this._hmac.finish(this._buffer),this._bufpos=0},t.prototype.expand=function(e){for(var n=new Uint8Array(e),a=0;a{"use strict";u();p();Object.defineProperty(hb,"__esModule",{value:!0});var Qz=YT(),Kz=K5();hb.DIGEST_LENGTH=32;hb.BLOCK_SIZE=64;var JOe=function(){function t(){this.digestLength=hb.DIGEST_LENGTH,this.blockSize=hb.BLOCK_SIZE,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return t.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},t.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},t.prototype.clean=function(){Kz.wipe(this._buffer),Kz.wipe(this._temp),this.reset()},t.prototype.update=function(e,n){if(n===void 0&&(n=e.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var a=0;if(this._bytesHashed+=n,this._bufferLength>0){for(;this._bufferLength0;)this._buffer[this._bufferLength++]=e[a++],n--;this._bufferLength===this.blockSize&&(hse(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(n>=this.blockSize&&(a=hse(this._temp,this._state,e,a,n),n%=this.blockSize);n>0;)this._buffer[this._bufferLength++]=e[a++],n--;return this},t.prototype.finish=function(e){if(!this._finished){var n=this._bytesHashed,a=this._bufferLength,r=n/536870912|0,f=n<<3,i=n%64<56?64:128;this._buffer[a]=128;for(var s=a+1;s0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},t.prototype.restoreState=function(e){return this._state.set(e.state),this._bufferLength=e.bufferLength,e.buffer&&this._buffer.set(e.buffer),this._bytesHashed=e.bytesHashed,this._finished=!1,this},t.prototype.cleanSavedState=function(e){Kz.wipe(e.state),e.buffer&&Kz.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},t}();hb.SHA256=JOe;var Yrt=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function hse(t,e,n,a,r){for(;r>=64;){for(var f=e[0],i=e[1],s=e[2],o=e[3],c=e[4],d=e[5],l=e[6],h=e[7],y=0;y<16;y++){var v=a+y*4;t[y]=Qz.readUint32BE(n,v)}for(var y=16;y<64;y++){var S=t[y-2],O=(S>>>17|S<<15)^(S>>>19|S<<13)^S>>>10;S=t[y-15];var F=(S>>>7|S<<25)^(S>>>18|S<<14)^S>>>3;t[y]=(O+t[y-7]|0)+(F+t[y-16]|0)}for(var y=0;y<64;y++){var O=(((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&d^~c&l)|0)+(h+(Yrt[y]+t[y]|0)|0)|0,F=((f>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10))+(f&i^f&s^i&s)|0;h=l,l=d,d=c,c=o+O|0,o=s,s=i,i=f,f=O+F|0}e[0]+=f,e[1]+=i,e[2]+=s,e[3]+=o,e[4]+=c,e[5]+=d,e[6]+=l,e[7]+=h,a+=64,r-=64}return a}function $rt(t){var e=new JOe;e.update(t);var n=e.digest();return e.clean(),n}hb.hash=$rt});var nUe=D(Zf=>{"use strict";u();p();Object.defineProperty(Zf,"__esModule",{value:!0});Zf.sharedKey=Zf.generateKeyPair=Zf.generateKeyPairFromSeed=Zf.scalarMultBase=Zf.scalarMult=Zf.SHARED_KEY_LENGTH=Zf.SECRET_KEY_LENGTH=Zf.PUBLIC_KEY_LENGTH=void 0;var Jrt=vS(),Xrt=K5();Zf.PUBLIC_KEY_LENGTH=32;Zf.SECRET_KEY_LENGTH=32;Zf.SHARED_KEY_LENGTH=32;function eu(t){let e=new Float64Array(16);if(t)for(let n=0;n>16&1),n[i-1]&=65535;n[15]=a[15]-32767-(n[14]>>16&1);let f=n[15]>>16&1;n[14]&=65535,BS(a,n,1-f)}for(let r=0;r<16;r++)t[2*r]=a[r]&255,t[2*r+1]=a[r]>>8}function tft(t,e){for(let n=0;n<16;n++)t[n]=e[2*n]+(e[2*n+1]<<8);t[15]&=32767}function Vz(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]+n[a]}function Yz(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]-n[a]}function P8(t,e,n){let a,r,f=0,i=0,s=0,o=0,c=0,d=0,l=0,h=0,y=0,v=0,S=0,O=0,F=0,z=0,W=0,j=0,Q=0,V=0,X=0,K=0,G=0,R=0,T=0,N=0,w=0,m=0,A=0,P=0,L=0,x=0,g=0,B=n[0],M=n[1],k=n[2],q=n[3],ee=n[4],U=n[5],J=n[6],Z=n[7],ne=n[8],ue=n[9],Y=n[10],re=n[11],ie=n[12],ge=n[13],de=n[14],Ae=n[15];a=e[0],f+=a*B,i+=a*M,s+=a*k,o+=a*q,c+=a*ee,d+=a*U,l+=a*J,h+=a*Z,y+=a*ne,v+=a*ue,S+=a*Y,O+=a*re,F+=a*ie,z+=a*ge,W+=a*de,j+=a*Ae,a=e[1],i+=a*B,s+=a*M,o+=a*k,c+=a*q,d+=a*ee,l+=a*U,h+=a*J,y+=a*Z,v+=a*ne,S+=a*ue,O+=a*Y,F+=a*re,z+=a*ie,W+=a*ge,j+=a*de,Q+=a*Ae,a=e[2],s+=a*B,o+=a*M,c+=a*k,d+=a*q,l+=a*ee,h+=a*U,y+=a*J,v+=a*Z,S+=a*ne,O+=a*ue,F+=a*Y,z+=a*re,W+=a*ie,j+=a*ge,Q+=a*de,V+=a*Ae,a=e[3],o+=a*B,c+=a*M,d+=a*k,l+=a*q,h+=a*ee,y+=a*U,v+=a*J,S+=a*Z,O+=a*ne,F+=a*ue,z+=a*Y,W+=a*re,j+=a*ie,Q+=a*ge,V+=a*de,X+=a*Ae,a=e[4],c+=a*B,d+=a*M,l+=a*k,h+=a*q,y+=a*ee,v+=a*U,S+=a*J,O+=a*Z,F+=a*ne,z+=a*ue,W+=a*Y,j+=a*re,Q+=a*ie,V+=a*ge,X+=a*de,K+=a*Ae,a=e[5],d+=a*B,l+=a*M,h+=a*k,y+=a*q,v+=a*ee,S+=a*U,O+=a*J,F+=a*Z,z+=a*ne,W+=a*ue,j+=a*Y,Q+=a*re,V+=a*ie,X+=a*ge,K+=a*de,G+=a*Ae,a=e[6],l+=a*B,h+=a*M,y+=a*k,v+=a*q,S+=a*ee,O+=a*U,F+=a*J,z+=a*Z,W+=a*ne,j+=a*ue,Q+=a*Y,V+=a*re,X+=a*ie,K+=a*ge,G+=a*de,R+=a*Ae,a=e[7],h+=a*B,y+=a*M,v+=a*k,S+=a*q,O+=a*ee,F+=a*U,z+=a*J,W+=a*Z,j+=a*ne,Q+=a*ue,V+=a*Y,X+=a*re,K+=a*ie,G+=a*ge,R+=a*de,T+=a*Ae,a=e[8],y+=a*B,v+=a*M,S+=a*k,O+=a*q,F+=a*ee,z+=a*U,W+=a*J,j+=a*Z,Q+=a*ne,V+=a*ue,X+=a*Y,K+=a*re,G+=a*ie,R+=a*ge,T+=a*de,N+=a*Ae,a=e[9],v+=a*B,S+=a*M,O+=a*k,F+=a*q,z+=a*ee,W+=a*U,j+=a*J,Q+=a*Z,V+=a*ne,X+=a*ue,K+=a*Y,G+=a*re,R+=a*ie,T+=a*ge,N+=a*de,w+=a*Ae,a=e[10],S+=a*B,O+=a*M,F+=a*k,z+=a*q,W+=a*ee,j+=a*U,Q+=a*J,V+=a*Z,X+=a*ne,K+=a*ue,G+=a*Y,R+=a*re,T+=a*ie,N+=a*ge,w+=a*de,m+=a*Ae,a=e[11],O+=a*B,F+=a*M,z+=a*k,W+=a*q,j+=a*ee,Q+=a*U,V+=a*J,X+=a*Z,K+=a*ne,G+=a*ue,R+=a*Y,T+=a*re,N+=a*ie,w+=a*ge,m+=a*de,A+=a*Ae,a=e[12],F+=a*B,z+=a*M,W+=a*k,j+=a*q,Q+=a*ee,V+=a*U,X+=a*J,K+=a*Z,G+=a*ne,R+=a*ue,T+=a*Y,N+=a*re,w+=a*ie,m+=a*ge,A+=a*de,P+=a*Ae,a=e[13],z+=a*B,W+=a*M,j+=a*k,Q+=a*q,V+=a*ee,X+=a*U,K+=a*J,G+=a*Z,R+=a*ne,T+=a*ue,N+=a*Y,w+=a*re,m+=a*ie,A+=a*ge,P+=a*de,L+=a*Ae,a=e[14],W+=a*B,j+=a*M,Q+=a*k,V+=a*q,X+=a*ee,K+=a*U,G+=a*J,R+=a*Z,T+=a*ne,N+=a*ue,w+=a*Y,m+=a*re,A+=a*ie,P+=a*ge,L+=a*de,x+=a*Ae,a=e[15],j+=a*B,Q+=a*M,V+=a*k,X+=a*q,K+=a*ee,G+=a*U,R+=a*J,T+=a*Z,N+=a*ne,w+=a*ue,m+=a*Y,A+=a*re,P+=a*ie,L+=a*ge,x+=a*de,g+=a*Ae,f+=38*Q,i+=38*V,s+=38*X,o+=38*K,c+=38*G,d+=38*R,l+=38*T,h+=38*N,y+=38*w,v+=38*m,S+=38*A,O+=38*P,F+=38*L,z+=38*x,W+=38*g,r=1,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=v+r+65535,r=Math.floor(a/65536),v=a-r*65536,a=S+r+65535,r=Math.floor(a/65536),S=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=F+r+65535,r=Math.floor(a/65536),F=a-r*65536,a=z+r+65535,r=Math.floor(a/65536),z=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,a=j+r+65535,r=Math.floor(a/65536),j=a-r*65536,f+=r-1+37*(r-1),r=1,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=v+r+65535,r=Math.floor(a/65536),v=a-r*65536,a=S+r+65535,r=Math.floor(a/65536),S=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=F+r+65535,r=Math.floor(a/65536),F=a-r*65536,a=z+r+65535,r=Math.floor(a/65536),z=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,a=j+r+65535,r=Math.floor(a/65536),j=a-r*65536,f+=r-1+37*(r-1),t[0]=f,t[1]=i,t[2]=s,t[3]=o,t[4]=c,t[5]=d,t[6]=l,t[7]=h,t[8]=y,t[9]=v,t[10]=S,t[11]=O,t[12]=F,t[13]=z,t[14]=W,t[15]=j}function DS(t,e){P8(t,e,e)}function nft(t,e){let n=eu();for(let a=0;a<16;a++)n[a]=e[a];for(let a=253;a>=0;a--)DS(n,n),a!==2&&a!==4&&P8(n,n,e);for(let a=0;a<16;a++)t[a]=n[a]}function mse(t,e){let n=new Uint8Array(32),a=new Float64Array(80),r=eu(),f=eu(),i=eu(),s=eu(),o=eu(),c=eu();for(let y=0;y<31;y++)n[y]=t[y];n[31]=t[31]&127|64,n[0]&=248,tft(a,e);for(let y=0;y<16;y++)f[y]=a[y];r[0]=s[0]=1;for(let y=254;y>=0;--y){let v=n[y>>>3]>>>(y&7)&1;BS(r,f,v),BS(i,s,v),Vz(o,r,i),Yz(r,r,i),Vz(i,f,s),Yz(f,f,s),DS(s,o),DS(c,r),P8(r,i,r),P8(i,f,o),Vz(o,r,i),Yz(r,r,i),DS(f,r),Yz(i,s,c),P8(r,i,Zrt),Vz(r,r,s),P8(i,i,r),P8(r,s,c),P8(s,f,a),DS(f,o),BS(r,f,v),BS(i,s,v)}for(let y=0;y<16;y++)a[y+16]=r[y],a[y+32]=i[y],a[y+48]=f[y],a[y+64]=s[y];let d=a.subarray(32),l=a.subarray(16);nft(d,d),P8(l,l,d);let h=new Uint8Array(32);return eft(h,l),h}Zf.scalarMult=mse;function eUe(t){return mse(t,ZOe)}Zf.scalarMultBase=eUe;function tUe(t){if(t.length!==Zf.SECRET_KEY_LENGTH)throw new Error(`x25519: seed must be ${Zf.SECRET_KEY_LENGTH} bytes`);let e=new Uint8Array(t);return{publicKey:eUe(e),secretKey:e}}Zf.generateKeyPairFromSeed=tUe;function aft(t){let e=(0,Jrt.randomBytes)(32,t),n=tUe(e);return(0,Xrt.wipe)(e),n}Zf.generateKeyPair=aft;function rft(t,e,n=!1){if(t.length!==Zf.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect secret key length");if(e.length!==Zf.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect public key length");let a=mse(t,e);if(n){let r=0;for(let f=0;f{u();p();aUe={waku:{publish:"waku_publish",batchPublish:"waku_batchPublish",subscribe:"waku_subscribe",batchSubscribe:"waku_batchSubscribe",subscription:"waku_subscription",unsubscribe:"waku_unsubscribe",batchUnsubscribe:"waku_batchUnsubscribe",batchFetchMessages:"waku_batchFetchMessages"},irn:{publish:"irn_publish",batchPublish:"irn_batchPublish",subscribe:"irn_subscribe",batchSubscribe:"irn_batchSubscribe",subscription:"irn_subscription",unsubscribe:"irn_unsubscribe",batchUnsubscribe:"irn_batchUnsubscribe",batchFetchMessages:"irn_batchFetchMessages"},iridium:{publish:"iridium_publish",batchPublish:"iridium_batchPublish",subscribe:"iridium_subscribe",batchSubscribe:"iridium_batchSubscribe",subscription:"iridium_subscription",unsubscribe:"iridium_unsubscribe",batchUnsubscribe:"iridium_batchUnsubscribe",batchFetchMessages:"iridium_batchFetchMessages"}}});var fUe,iUe,sUe,oUe,$z,PS,yse,Jz,bb,LS,Xz=ce(()=>{u();p();fUe="PARSE_ERROR",iUe="INVALID_REQUEST",sUe="METHOD_NOT_FOUND",oUe="INVALID_PARAMS",$z="INTERNAL_ERROR",PS="SERVER_ERROR",yse=[-32700,-32600,-32601,-32602,-32603],Jz=[-32e3,-32099],bb={[fUe]:{code:-32700,message:"Parse error"},[iUe]:{code:-32600,message:"Invalid Request"},[sUe]:{code:-32601,message:"Method not found"},[oUe]:{code:-32602,message:"Invalid params"},[$z]:{code:-32603,message:"Internal error"},[PS]:{code:-32e3,message:"Server error"}},LS=PS});function fft(t){return t<=Jz[0]&&t>=Jz[1]}function Zz(t){return yse.includes(t)}function cUe(t){return typeof t=="number"}function eW(t){return Object.keys(bb).includes(t)?bb[t]:bb[LS]}function tW(t){let e=Object.values(bb).find(n=>n.code===t);return e||bb[LS]}function ift(t){if(typeof t.error.code>"u")return{valid:!1,error:"Missing code for JSON-RPC error"};if(typeof t.error.message>"u")return{valid:!1,error:"Missing message for JSON-RPC error"};if(!cUe(t.error.code))return{valid:!1,error:`Invalid error code type for JSON-RPC: ${t.error.code}`};if(Zz(t.error.code)){let e=tW(t.error.code);if(e.message!==bb[LS].message&&t.error.message===e.message)return{valid:!1,error:`Invalid error code message for JSON-RPC: ${t.error.code}`}}return{valid:!0}}function FS(t,e,n){return t.message.includes("getaddrinfo ENOTFOUND")||t.message.includes("connect ECONNREFUSED")?new Error(`Unavailable ${n} RPC url at ${e}`):t}var gse=ce(()=>{u();p();Xz()});var lUe=D(mb=>{"use strict";u();p();Object.defineProperty(mb,"__esModule",{value:!0});mb.isBrowserCryptoAvailable=mb.getSubtleCrypto=mb.getBrowerCrypto=void 0;function vse(){return(global===null||global===void 0?void 0:global.crypto)||(global===null||global===void 0?void 0:global.msCrypto)||{}}mb.getBrowerCrypto=vse;function dUe(){let t=vse();return t.subtle||t.webkitSubtle}mb.getSubtleCrypto=dUe;function sft(){return!!vse()&&!!dUe()}mb.isBrowserCryptoAvailable=sft});var hUe=D(yb=>{"use strict";u();p();Object.defineProperty(yb,"__esModule",{value:!0});yb.isBrowser=yb.isNode=yb.isReactNative=void 0;function uUe(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}yb.isReactNative=uUe;function pUe(){return typeof E<"u"&&typeof E.versions<"u"&&typeof E.versions.node<"u"}yb.isNode=pUe;function oft(){return!uUe()&&!pUe()}yb.isBrowser=oft});var wse=D(nW=>{"use strict";u();p();Object.defineProperty(nW,"__esModule",{value:!0});var bUe=(Y2(),vn(V2));bUe.__exportStar(lUe(),nW);bUe.__exportStar(hUe(),nW)});var Bi={};V0(Bi,{isNodeJs:()=>yUe});var mUe,yUe,gUe=ce(()=>{u();p();mUe=Ee(wse());Vi(Bi,Ee(wse()));yUe=mUe.isNode});function tu(t=3){let e=Date.now()*Math.pow(10,t),n=Math.floor(Math.random()*Math.pow(10,t));return e+n}function gl(t=6){return BigInt(tu(t))}function nu(t,e,n){return{id:n||tu(),jsonrpc:"2.0",method:t,params:e}}function L8(t,e){return{id:t,jsonrpc:"2.0",result:e}}function F8(t,e,n){return{id:t,jsonrpc:"2.0",error:vUe(e,n)}}function vUe(t,e){return typeof t>"u"?eW($z):(typeof t=="string"&&(t=Object.assign(Object.assign({},eW(PS)),{message:t})),typeof e<"u"&&(t.data=e),Zz(t.code)&&(t=tW(t.code)),t)}var wUe=ce(()=>{u();p();gse();Xz()});function cft(t){return t.includes("*")?rW(t):!/\W/g.test(t)}function aW(t){return t==="*"}function rW(t){return aW(t)?!0:!(!t.includes("*")||t.split("*").length!==2||t.split("*").filter(e=>e.trim()==="").length!==1)}function dft(t){return!aW(t)&&rW(t)&&!t.split("*")[0].trim()}function lft(t){return!aW(t)&&rW(t)&&!t.split("*")[1].trim()}var TUe=ce(()=>{u();p()});var NS,Tse,fW,OS,xUe=ce(()=>{u();p();NS=class{},Tse=class extends NS{constructor(e){super()}},fW=class extends NS{constructor(){super()}},OS=class extends fW{constructor(e){super()}}});var EUe=ce(()=>{u();p();xUe()});function hft(t){let e=t.match(new RegExp(/^\w+:/,"gi"));if(!(!e||!e.length))return e[0]}function _Ue(t,e){let n=hft(t);return typeof n>"u"?!1:new RegExp(e).test(n)}function iW(t){return _Ue(t,uft)}function sW(t){return _Ue(t,pft)}function xse(t){return new RegExp("wss?://localhost(:d{2,5})?").test(t)}var uft,pft,AUe=ce(()=>{u();p();uft="^https?:",pft="^wss?:"});function Ese(t){return typeof t=="object"&&"id"in t&&"jsonrpc"in t&&t.jsonrpc==="2.0"}function sx(t){return Ese(t)&&"method"in t}function gb(t){return Ese(t)&&(A6(t)||e1(t))}function A6(t){return"result"in t}function e1(t){return"error"in t}function bft(t){return"error"in t&&t.valid===!1}var CUe=ce(()=>{u();p()});var W1={};V0(W1,{DEFAULT_ERROR:()=>LS,IBaseJsonRpcProvider:()=>fW,IEvents:()=>NS,IJsonRpcConnection:()=>Tse,IJsonRpcProvider:()=>OS,INTERNAL_ERROR:()=>$z,INVALID_PARAMS:()=>oUe,INVALID_REQUEST:()=>iUe,METHOD_NOT_FOUND:()=>sUe,PARSE_ERROR:()=>fUe,RESERVED_ERROR_CODES:()=>yse,SERVER_ERROR:()=>PS,SERVER_ERROR_CODE_RANGE:()=>Jz,STANDARD_ERROR_MAP:()=>bb,formatErrorMessage:()=>vUe,formatJsonRpcError:()=>F8,formatJsonRpcRequest:()=>nu,formatJsonRpcResult:()=>L8,getBigIntRpcId:()=>gl,getError:()=>eW,getErrorByCode:()=>tW,isHttpUrl:()=>iW,isJsonRpcError:()=>e1,isJsonRpcPayload:()=>Ese,isJsonRpcRequest:()=>sx,isJsonRpcResponse:()=>gb,isJsonRpcResult:()=>A6,isJsonRpcValidationInvalid:()=>bft,isLocalhostUrl:()=>xse,isNodeJs:()=>yUe,isReservedErrorCode:()=>Zz,isServerErrorCode:()=>fft,isValidDefaultRoute:()=>aW,isValidErrorCode:()=>cUe,isValidLeadingWildcardRoute:()=>dft,isValidRoute:()=>cft,isValidTrailingWildcardRoute:()=>lft,isValidWildcardRoute:()=>rW,isWsUrl:()=>sW,parseConnectionError:()=>FS,payloadId:()=>tu,validateJsonRpcError:()=>ift});var vb=ce(()=>{u();p();Xz();gse();gUe();Vi(W1,Bi);wUe();TUe();EUe();AUe();CUe()});var kUe=D((Qra,IUe)=>{"use strict";u();p();IUe.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}});var MUe,mft,yft,SUe,RUe,gft,oW,BUe=ce(()=>{u();p();MUe=Ee(Nr());x7();vb();mft=()=>typeof WebSocket<"u"?WebSocket:typeof global<"u"&&typeof global.WebSocket<"u"?global.WebSocket:typeof window<"u"&&typeof window.WebSocket<"u"?window.WebSocket:typeof self<"u"&&typeof self.WebSocket<"u"?self.WebSocket:kUe(),yft=()=>typeof WebSocket<"u"||typeof global<"u"&&typeof global.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u",SUe=t=>t.split("?")[0],RUe=10,gft=mft(),oW=class{constructor(e){if(this.url=e,this.events=new MUe.EventEmitter,this.registering=!1,!sW(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);this.url=e}get connected(){return typeof this.socket<"u"}get connecting(){return this.registering}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async open(e=this.url){await this.register(e)}async close(){return new Promise((e,n)=>{if(typeof this.socket>"u"){n(new Error("Connection already closed"));return}this.socket.onclose=a=>{this.onClose(a),e()},this.socket.close()})}async send(e){typeof this.socket>"u"&&(this.socket=await this.register());try{this.socket.send(z1(e))}catch(n){this.onError(e.id,n)}}register(e=this.url){if(!sW(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);if(this.registering){let n=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=n||this.events.listenerCount("open")>=n)&&this.events.setMaxListeners(n+1),new Promise((a,r)=>{this.events.once("register_error",f=>{this.resetMaxListeners(),r(f)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.socket>"u")return r(new Error("WebSocket connection is missing or invalid"));a(this.socket)})})}return this.url=e,this.registering=!0,new Promise((n,a)=>{let r=new URLSearchParams(e).get("origin"),f=(0,W1.isReactNative)()?{headers:{origin:r}}:{rejectUnauthorized:!xse(e)},i=new gft(e,[],f);yft()?i.onerror=s=>{let o=s;a(this.emitError(o.error))}:i.on("error",s=>{a(this.emitError(s))}),i.onopen=()=>{this.onOpen(i),n(i)}})}onOpen(e){e.onmessage=n=>this.onPayload(n),e.onclose=n=>this.onClose(n),this.socket=e,this.registering=!1,this.events.emit("open")}onClose(e){this.socket=void 0,this.registering=!1,this.events.emit("close",e)}onPayload(e){if(typeof e.data>"u")return;let n=typeof e.data=="string"?Q2(e.data):e.data;this.events.emit("payload",n)}onError(e,n){let a=this.parseError(n),r=a.message||a.toString(),f=F8(e,r);this.events.emit("payload",f)}parseError(e,n=this.url){return FS(e,SUe(n),"WS")}resetMaxListeners(){this.events.getMaxListeners()>RUe&&this.events.setMaxListeners(RUe)}emitError(e){let n=this.parseError(new Error(e?.message||`WebSocket connection failed for host: ${SUe(this.url)}`));return this.events.emit("register_error",n),n}}});var pHe=D((US,cx)=>{u();p();var vft=200,Pse="__lodash_hash_undefined__",mW=1,jUe=2,GUe=9007199254740991,cW="[object Arguments]",Ise="[object Array]",wft="[object AsyncFunction]",KUe="[object Boolean]",QUe="[object Date]",VUe="[object Error]",YUe="[object Function]",Tft="[object GeneratorFunction]",dW="[object Map]",$Ue="[object Number]",xft="[object Null]",ox="[object Object]",DUe="[object Promise]",Eft="[object Proxy]",JUe="[object RegExp]",lW="[object Set]",XUe="[object String]",_ft="[object Symbol]",Aft="[object Undefined]",kse="[object WeakMap]",ZUe="[object ArrayBuffer]",uW="[object DataView]",Cft="[object Float32Array]",Ift="[object Float64Array]",kft="[object Int8Array]",Sft="[object Int16Array]",Rft="[object Int32Array]",Mft="[object Uint8Array]",Bft="[object Uint8ClampedArray]",Dft="[object Uint16Array]",Pft="[object Uint32Array]",Lft=/[\\^$.*+?()[\]{}|]/g,Fft=/^\[object .+?Constructor\]$/,Nft=/^(?:0|[1-9]\d*)$/,tf={};tf[Cft]=tf[Ift]=tf[kft]=tf[Sft]=tf[Rft]=tf[Mft]=tf[Bft]=tf[Dft]=tf[Pft]=!0;tf[cW]=tf[Ise]=tf[ZUe]=tf[KUe]=tf[uW]=tf[QUe]=tf[VUe]=tf[YUe]=tf[dW]=tf[$Ue]=tf[ox]=tf[JUe]=tf[lW]=tf[XUe]=tf[kse]=!1;var eHe=typeof global=="object"&&global&&global.Object===Object&&global,Oft=typeof self=="object"&&self&&self.Object===Object&&self,N8=eHe||Oft||Function("return this")(),tHe=typeof US=="object"&&US&&!US.nodeType&&US,PUe=tHe&&typeof cx=="object"&&cx&&!cx.nodeType&&cx,nHe=PUe&&PUe.exports===tHe,_se=nHe&&eHe.process,LUe=function(){try{return _se&&_se.binding&&_se.binding("util")}catch{}}(),FUe=LUe&&LUe.isTypedArray;function Uft(t,e){for(var n=-1,a=t==null?0:t.length,r=0,f=[];++n-1}function bit(t,e){var n=this.__data__,a=gW(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this}O8.prototype.clear=lit;O8.prototype.delete=uit;O8.prototype.get=pit;O8.prototype.has=hit;O8.prototype.set=bit;function O7(t){var e=-1,n=t==null?0:t.length;for(this.clear();++es))return!1;var c=f.get(t);if(c&&f.get(e))return c==e;var d=-1,l=!0,h=n&jUe?new hW:void 0;for(f.set(t,e),f.set(e,t);++d-1&&t%1==0&&t-1&&t%1==0&&t<=GUe}function lHe(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function WS(t){return t!=null&&typeof t=="object"}var uHe=FUe?qft(FUe):Bit;function Kit(t){return jit(t)?kit(t):Dit(t)}function Qit(){return[]}function Vit(){return!1}cx.exports=Git});var Lse=D((afa,hHe)=>{u();p();hHe.exports=function(t,e){return e=e||{},new Promise(function(n,a){var r=new XMLHttpRequest,f=[],i=[],s={},o=function(){return{ok:(r.status/100|0)==2,statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){return Promise.resolve(r.responseText)},json:function(){return Promise.resolve(r.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([r.response]))},clone:o,headers:{keys:function(){return f},entries:function(){return i},get:function(d){return s[d.toLowerCase()]},has:function(d){return d.toLowerCase()in s}}}};for(var c in r.open(e.method||"get",t,!0),r.onload=function(){r.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(d,l,h){f.push(l=l.toLowerCase()),i.push([l,h]),s[l]=s[l]?s[l]+","+h:h}),n(o())},r.onerror=a,r.withCredentials=e.credentials=="include",e.headers)r.setRequestHeader(c,e.headers[c]);r.send(e.body||null)})}});var mHe=D((ifa,bHe)=>{u();p();bHe.exports=self.fetch||(self.fetch=Lse().default||Lse())});var Nse=D((cfa,Fse)=>{"use strict";u();p();var Yit=Object.prototype.hasOwnProperty,q1="~";function jS(){}Object.create&&(jS.prototype=Object.create(null),new jS().__proto__||(q1=!1));function $it(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function yHe(t,e,n,a,r){if(typeof n!="function")throw new TypeError("The listener must be a function");var f=new $it(n,a||t,r),i=q1?q1+e:e;return t._events[i]?t._events[i].fn?t._events[i]=[t._events[i],f]:t._events[i].push(f):(t._events[i]=f,t._eventsCount++),t}function wW(t,e){--t._eventsCount===0?t._events=new jS:delete t._events[e]}function t1(){this._events=new jS,this._eventsCount=0}t1.prototype.eventNames=function(){var e=[],n,a;if(this._eventsCount===0)return e;for(a in n=this._events)Yit.call(n,a)&&e.push(q1?a.slice(1):a);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(n)):e};t1.prototype.listeners=function(e){var n=q1?q1+e:e,a=this._events[n];if(!a)return[];if(a.fn)return[a.fn];for(var r=0,f=a.length,i=new Array(f);r{u();p();gHe=Ee(Nse(),1),C6=gHe.default});function vl(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"http",a=[];if(t.rpc.forEach(r=>{if(!(n==="http"&&!r.startsWith("http"))&&!(n==="ws"&&!r.startsWith("ws")))if(r.includes("${THIRDWEB_API_KEY}"))e?a.push(r.replace("${THIRDWEB_API_KEY}",e)+(typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis&&globalThis.APP_BUNDLE_ID?`/?bundleId=${globalThis.APP_BUNDLE_ID}`:"")):a.push(r.replace("${THIRDWEB_API_KEY}",""));else{if(r.includes("${"))return;a.push(r)}}),a.length===0)throw new Error(`No RPC available for chainId "${t.chainId}" with mode ${n}`);return a}function U8(t,e){try{return{...t,rpc:vl(t,e)}}catch{return t}}function SHe(){return GS||(GS={},GPt.forEach(t=>{GS[t.chainId]=t}),GS)}function KPt(t){let e=SHe();return t in e}function RHe(t){if(KPt(t))return SHe()[t];throw new Error(`Chain with chainId "${t}" not found`)}var I6,Jit,Xit,Zit,est,tst,nst,ast,rst,TW,fst,ist,sst,ost,cst,dst,lst,ust,pst,hst,bst,mst,yst,gst,vst,wst,Tst,xst,Est,_st,Ast,Cst,Ist,kst,Sst,Rst,Mst,Bst,Dst,Pst,Lst,Fst,Nst,Ost,Ust,Hst,zst,Wst,qst,jst,Gst,Kst,Qst,Vst,Yst,vHe,$st,Jst,Xst,Zst,eot,tot,not,aot,rot,fot,iot,sot,oot,cot,dot,lot,uot,pot,hot,bot,mot,yot,got,vot,wot,Tot,xot,Eot,_ot,Aot,Cot,Iot,kot,Sot,Rot,Mot,Bot,Dot,Pot,Lot,wHe,Fot,Not,Oot,Uot,Hot,zot,Wot,qot,jot,Got,Kot,Qot,Vot,Yot,$ot,Jot,Xot,Zot,e1t,t1t,n1t,a1t,r1t,f1t,i1t,s1t,o1t,c1t,d1t,l1t,u1t,p1t,h1t,b1t,m1t,y1t,g1t,v1t,H7,w1t,T1t,x1t,E1t,_1t,A1t,C1t,Ose,I1t,k1t,S1t,R1t,M1t,B1t,D1t,P1t,L1t,F1t,N1t,O1t,U1t,H1t,z1t,W1t,q1t,j1t,G1t,K1t,Q1t,V1t,Y1t,$1t,J1t,X1t,Z1t,ect,tct,nct,act,rct,fct,ict,sct,oct,cct,dct,lct,uct,pct,hct,bct,mct,yct,gct,vct,wct,Tct,xct,Ect,_ct,Act,Cct,Ict,kct,Sct,Rct,Mct,Bct,Dct,Pct,Lct,Fct,THe,Nct,Oct,Uct,Hct,zct,Wct,qct,jct,Gct,Kct,Qct,Vct,Yct,$ct,Jct,Xct,Zct,e6t,t6t,n6t,a6t,r6t,f6t,i6t,s6t,o6t,c6t,d6t,l6t,u6t,p6t,h6t,b6t,m6t,y6t,g6t,v6t,w6t,T6t,x6t,E6t,_6t,A6t,C6t,I6t,k6t,S6t,R6t,M6t,B6t,D6t,P6t,L6t,F6t,N6t,O6t,U6t,H6t,z6t,W6t,q6t,j6t,G6t,K6t,Q6t,V6t,Y6t,$6t,J6t,X6t,Z6t,e5t,t5t,n5t,a5t,r5t,f5t,i5t,s5t,o5t,c5t,d5t,l5t,u5t,p5t,h5t,b5t,m5t,y5t,g5t,v5t,w5t,T5t,x5t,E5t,_5t,A5t,C5t,I5t,k5t,S5t,R5t,M5t,B5t,D5t,P5t,L5t,F5t,N5t,O5t,U5t,H5t,z5t,W5t,q5t,j5t,G5t,K5t,Q5t,V5t,Y5t,$5t,J5t,X5t,Z5t,edt,tdt,ndt,adt,rdt,fdt,idt,sdt,odt,cdt,ddt,ldt,udt,pdt,hdt,bdt,mdt,ydt,gdt,vdt,wdt,Tdt,xdt,Edt,_dt,Adt,Cdt,Idt,kdt,Sdt,Rdt,Mdt,Bdt,Ddt,Pdt,Ldt,Fdt,Ndt,Odt,Udt,Hdt,zdt,Wdt,qdt,jdt,Gdt,Kdt,Qdt,Vdt,Ydt,$dt,Jdt,Xdt,Zdt,elt,tlt,nlt,alt,rlt,flt,ilt,slt,olt,clt,dlt,llt,ult,plt,hlt,blt,mlt,ylt,glt,vlt,wlt,Tlt,xlt,Elt,_lt,Alt,Clt,Ilt,klt,Slt,Rlt,Mlt,Blt,Dlt,Plt,Llt,Flt,Nlt,Olt,Ult,Hlt,zlt,Wlt,qlt,jlt,Glt,Klt,Qlt,Vlt,Ylt,$lt,Jlt,Xlt,Zlt,e2t,t2t,Use,n2t,a2t,r2t,f2t,i2t,s2t,o2t,c2t,d2t,l2t,u2t,p2t,h2t,b2t,m2t,y2t,g2t,v2t,w2t,T2t,x2t,E2t,_2t,A2t,C2t,I2t,k2t,S2t,R2t,M2t,B2t,D2t,P2t,L2t,F2t,N2t,xHe,O2t,U2t,H2t,z2t,W2t,q2t,j2t,G2t,K2t,Q2t,V2t,Y2t,$2t,J2t,X2t,Z2t,eut,tut,nut,aut,rut,fut,iut,sut,out,cut,dut,lut,uut,put,hut,but,mut,yut,gut,vut,wut,Tut,xut,Eut,_ut,Aut,Cut,Iut,kut,Sut,Rut,Mut,But,Dut,Put,Lut,Fut,Nut,Out,Uut,Hut,zut,Wut,qut,jut,Gut,Kut,Qut,Vut,Yut,$ut,Jut,Xut,Zut,ept,tpt,npt,apt,rpt,fpt,ipt,spt,opt,cpt,dpt,lpt,upt,ppt,hpt,bpt,mpt,ypt,gpt,vpt,wpt,Tpt,xpt,Ept,_pt,Apt,Cpt,Ipt,kpt,Spt,Rpt,Mpt,Bpt,Dpt,Ppt,Lpt,Fpt,Npt,Opt,Upt,Hpt,zpt,Wpt,qpt,jpt,Gpt,Kpt,Qpt,Vpt,Ypt,$pt,Jpt,Xpt,Zpt,e8t,t8t,n8t,a8t,r8t,f8t,i8t,s8t,o8t,c8t,d8t,l8t,u8t,p8t,h8t,b8t,m8t,y8t,g8t,v8t,w8t,T8t,x8t,E8t,_8t,A8t,C8t,I8t,k8t,S8t,R8t,M8t,B8t,D8t,P8t,L8t,F8t,N8t,O8t,U8t,H8t,z8t,W8t,q8t,j8t,G8t,K8t,Q8t,V8t,Y8t,$8t,J8t,X8t,Z8t,eht,tht,nht,aht,rht,fht,iht,sht,oht,cht,dht,lht,uht,pht,hht,bht,mht,yht,ght,vht,wht,Tht,xht,Eht,_ht,Aht,Cht,Iht,kht,Sht,Rht,Mht,Bht,Dht,Pht,Lht,Fht,Nht,Oht,Uht,Hht,zht,Wht,qht,jht,Ght,Kht,Qht,Vht,Yht,$ht,Jht,Xht,Zht,e3t,t3t,n3t,a3t,r3t,f3t,i3t,s3t,o3t,c3t,d3t,l3t,u3t,p3t,h3t,b3t,m3t,y3t,g3t,v3t,w3t,T3t,EHe,x3t,E3t,_3t,A3t,C3t,I3t,k3t,S3t,R3t,M3t,B3t,D3t,P3t,L3t,F3t,N3t,O3t,U3t,H3t,z3t,W3t,q3t,j3t,G3t,K3t,Q3t,V3t,Y3t,$3t,J3t,X3t,Z3t,ebt,tbt,nbt,abt,rbt,fbt,ibt,sbt,obt,cbt,dbt,lbt,ubt,pbt,hbt,bbt,mbt,ybt,gbt,vbt,wbt,Tbt,xbt,Ebt,_bt,Abt,Cbt,Ibt,kbt,Sbt,Rbt,Mbt,Bbt,Dbt,Pbt,Lbt,Fbt,Nbt,Obt,Ubt,Hbt,zbt,Wbt,qbt,jbt,Gbt,Kbt,Qbt,Vbt,Ybt,$bt,Jbt,Xbt,Zbt,emt,tmt,nmt,amt,rmt,fmt,imt,smt,omt,cmt,dmt,lmt,umt,pmt,hmt,bmt,mmt,ymt,gmt,vmt,wmt,Tmt,xmt,Emt,_mt,Amt,Cmt,Imt,kmt,Smt,Rmt,Mmt,Bmt,Dmt,Pmt,Lmt,Fmt,Nmt,Omt,Umt,Hmt,zmt,Wmt,qmt,jmt,Gmt,Kmt,Qmt,Vmt,Ymt,$mt,Jmt,Xmt,Zmt,e4t,t4t,n4t,a4t,r4t,f4t,i4t,s4t,o4t,c4t,d4t,l4t,u4t,p4t,h4t,b4t,m4t,y4t,g4t,v4t,w4t,T4t,x4t,E4t,_4t,A4t,C4t,I4t,k4t,S4t,R4t,M4t,B4t,D4t,P4t,L4t,F4t,N4t,O4t,U4t,H4t,z4t,W4t,q4t,xW,j4t,G4t,K4t,Q4t,V4t,Y4t,$4t,J4t,X4t,Z4t,eyt,tyt,nyt,ayt,ryt,fyt,iyt,syt,oyt,cyt,dyt,lyt,uyt,pyt,hyt,byt,myt,yyt,gyt,vyt,wyt,Tyt,xyt,Eyt,_yt,Ayt,Cyt,Iyt,kyt,Syt,Ryt,Myt,Byt,Dyt,Pyt,Lyt,Fyt,Nyt,Oyt,Uyt,Hyt,zyt,Wyt,qyt,jyt,Gyt,Kyt,Qyt,Vyt,Yyt,$yt,Jyt,Xyt,Zyt,e7t,t7t,n7t,a7t,r7t,f7t,i7t,s7t,o7t,c7t,d7t,l7t,u7t,p7t,h7t,b7t,m7t,y7t,g7t,v7t,w7t,T7t,x7t,E7t,_7t,A7t,C7t,I7t,k7t,S7t,R7t,M7t,B7t,D7t,P7t,L7t,F7t,N7t,O7t,U7t,H7t,z7t,W7t,q7t,j7t,G7t,K7t,Q7t,V7t,Y7t,$7t,J7t,X7t,Z7t,e9t,t9t,n9t,a9t,r9t,f9t,i9t,s9t,o9t,c9t,d9t,l9t,u9t,p9t,h9t,b9t,m9t,y9t,g9t,v9t,w9t,T9t,x9t,E9t,_9t,A9t,C9t,I9t,k9t,S9t,R9t,M9t,B9t,D9t,P9t,L9t,F9t,N9t,O9t,U9t,H9t,z9t,W9t,q9t,j9t,G9t,K9t,Q9t,V9t,Y9t,$9t,J9t,X9t,Z9t,egt,tgt,ngt,agt,rgt,fgt,igt,sgt,ogt,cgt,dgt,lgt,ugt,pgt,hgt,bgt,mgt,ygt,ggt,vgt,wgt,Tgt,xgt,Egt,_gt,Agt,Cgt,Igt,kgt,Sgt,Rgt,Mgt,Bgt,Dgt,Pgt,Lgt,Fgt,Ngt,Ogt,Ugt,Hgt,zgt,Wgt,qgt,jgt,Ggt,Kgt,Qgt,Vgt,Ygt,$gt,Jgt,Xgt,Zgt,evt,tvt,nvt,avt,rvt,fvt,ivt,svt,ovt,cvt,dvt,lvt,uvt,pvt,hvt,bvt,mvt,yvt,gvt,vvt,wvt,Tvt,xvt,Evt,_vt,Avt,Cvt,Ivt,kvt,Svt,Rvt,Mvt,Bvt,Dvt,Pvt,Lvt,Fvt,Nvt,Ovt,Uvt,Hvt,zvt,Wvt,qvt,jvt,Gvt,Kvt,Qvt,Vvt,Yvt,$vt,Jvt,Xvt,Zvt,ewt,twt,nwt,awt,rwt,fwt,iwt,swt,owt,cwt,dwt,lwt,uwt,pwt,hwt,bwt,mwt,ywt,gwt,vwt,wwt,Twt,xwt,Ewt,_wt,Awt,Cwt,Iwt,kwt,Swt,Rwt,Mwt,Bwt,Dwt,Pwt,Lwt,Fwt,Nwt,Owt,Uwt,Hwt,zwt,Wwt,qwt,jwt,Gwt,Kwt,Qwt,Vwt,Ywt,$wt,Jwt,Xwt,Zwt,eTt,tTt,nTt,aTt,rTt,fTt,iTt,sTt,oTt,cTt,dTt,lTt,uTt,pTt,hTt,bTt,mTt,yTt,gTt,vTt,wTt,TTt,xTt,ETt,_He,_Tt,KS,ATt,CTt,ITt,kTt,STt,RTt,MTt,BTt,DTt,PTt,LTt,AHe,CHe,FTt,NTt,OTt,UTt,HTt,zTt,WTt,QS,qTt,jTt,GTt,KTt,QTt,VTt,YTt,$Tt,JTt,XTt,ZTt,ext,txt,nxt,axt,rxt,fxt,ixt,sxt,oxt,cxt,dxt,lxt,uxt,pxt,hxt,bxt,mxt,yxt,gxt,vxt,wxt,Txt,xxt,Ext,_xt,Axt,Cxt,Ixt,kxt,Sxt,Rxt,Mxt,Bxt,Dxt,Pxt,Lxt,Fxt,Nxt,Oxt,Uxt,Hxt,zxt,Wxt,qxt,jxt,Gxt,Kxt,Qxt,Vxt,Yxt,$xt,Jxt,Xxt,Zxt,eEt,tEt,nEt,aEt,rEt,fEt,iEt,sEt,oEt,cEt,dEt,lEt,uEt,pEt,hEt,bEt,mEt,yEt,gEt,vEt,wEt,TEt,xEt,EEt,_Et,AEt,CEt,IEt,kEt,SEt,REt,MEt,BEt,DEt,PEt,LEt,FEt,NEt,OEt,UEt,HEt,zEt,WEt,qEt,jEt,GEt,Hse,KEt,QEt,VEt,YEt,$Et,JEt,XEt,ZEt,e_t,t_t,n_t,a_t,r_t,f_t,i_t,s_t,o_t,c_t,d_t,l_t,u_t,p_t,h_t,b_t,m_t,y_t,g_t,v_t,w_t,T_t,x_t,E_t,__t,A_t,C_t,I_t,k_t,S_t,R_t,M_t,B_t,D_t,P_t,L_t,F_t,N_t,O_t,U_t,H_t,z_t,W_t,q_t,j_t,G_t,K_t,Q_t,V_t,Y_t,$_t,J_t,X_t,Z_t,eAt,tAt,nAt,aAt,rAt,fAt,iAt,sAt,oAt,cAt,dAt,lAt,uAt,pAt,hAt,bAt,mAt,yAt,gAt,vAt,wAt,TAt,xAt,EAt,_At,AAt,CAt,IAt,kAt,SAt,RAt,MAt,BAt,DAt,PAt,LAt,FAt,EW,NAt,OAt,UAt,HAt,zAt,WAt,qAt,jAt,GAt,KAt,QAt,VAt,YAt,$At,JAt,XAt,ZAt,eCt,tCt,nCt,aCt,rCt,fCt,iCt,sCt,oCt,cCt,dCt,lCt,uCt,pCt,hCt,_W,bCt,mCt,yCt,gCt,vCt,wCt,TCt,xCt,ECt,_Ct,ACt,CCt,ICt,kCt,SCt,RCt,MCt,BCt,DCt,PCt,LCt,FCt,NCt,OCt,UCt,HCt,zCt,WCt,qCt,jCt,GCt,KCt,QCt,VCt,YCt,$Ct,JCt,XCt,ZCt,eIt,tIt,nIt,aIt,rIt,fIt,iIt,sIt,oIt,cIt,dIt,lIt,uIt,pIt,hIt,bIt,mIt,yIt,gIt,vIt,wIt,TIt,xIt,EIt,_It,AIt,CIt,IIt,kIt,SIt,RIt,MIt,BIt,DIt,PIt,LIt,FIt,NIt,OIt,UIt,HIt,zIt,WIt,qIt,jIt,GIt,KIt,QIt,VIt,YIt,$It,JIt,XIt,ZIt,ekt,tkt,nkt,akt,rkt,fkt,ikt,skt,okt,ckt,dkt,lkt,ukt,pkt,hkt,bkt,mkt,ykt,gkt,vkt,wkt,Tkt,xkt,Ekt,_kt,Akt,Ckt,Ikt,kkt,Skt,Rkt,Mkt,Bkt,Dkt,Pkt,Lkt,Fkt,Nkt,Okt,Ukt,Hkt,zkt,Wkt,qkt,jkt,Gkt,Kkt,Qkt,Vkt,Ykt,$kt,Jkt,Xkt,Zkt,eSt,tSt,nSt,aSt,rSt,fSt,iSt,sSt,oSt,cSt,dSt,lSt,uSt,pSt,hSt,bSt,mSt,ySt,gSt,vSt,wSt,TSt,xSt,ESt,_St,ASt,CSt,ISt,kSt,SSt,RSt,MSt,BSt,DSt,PSt,LSt,FSt,NSt,OSt,USt,HSt,zSt,WSt,qSt,jSt,GSt,KSt,QSt,VSt,YSt,$St,JSt,XSt,ZSt,eRt,tRt,nRt,aRt,rRt,fRt,iRt,sRt,oRt,cRt,dRt,lRt,IHe,uRt,pRt,hRt,bRt,mRt,yRt,gRt,vRt,wRt,TRt,xRt,ERt,_Rt,ARt,CRt,IRt,kRt,SRt,RRt,MRt,BRt,DRt,PRt,LRt,FRt,NRt,ORt,URt,HRt,zRt,WRt,qRt,jRt,GRt,KRt,QRt,VRt,YRt,$Rt,JRt,XRt,ZRt,eMt,tMt,nMt,aMt,rMt,fMt,iMt,sMt,oMt,cMt,dMt,lMt,uMt,pMt,hMt,bMt,mMt,yMt,gMt,vMt,wMt,TMt,xMt,EMt,_Mt,AMt,CMt,IMt,kMt,SMt,RMt,MMt,BMt,DMt,PMt,LMt,FMt,NMt,OMt,UMt,HMt,zMt,WMt,qMt,jMt,GMt,KMt,QMt,VMt,YMt,$Mt,JMt,XMt,ZMt,eBt,tBt,nBt,aBt,rBt,fBt,iBt,sBt,oBt,cBt,dBt,lBt,uBt,pBt,hBt,bBt,mBt,yBt,gBt,vBt,wBt,TBt,xBt,EBt,_Bt,ABt,CBt,IBt,kBt,SBt,RBt,MBt,BBt,DBt,PBt,LBt,zse,FBt,NBt,OBt,UBt,HBt,zBt,WBt,qBt,jBt,GBt,KBt,kHe,AW,QBt,VBt,YBt,$Bt,JBt,XBt,ZBt,eDt,tDt,nDt,aDt,rDt,fDt,iDt,sDt,oDt,cDt,dDt,lDt,uDt,pDt,hDt,bDt,mDt,yDt,gDt,vDt,wDt,TDt,xDt,EDt,_Dt,ADt,CDt,IDt,kDt,SDt,RDt,MDt,BDt,DDt,PDt,LDt,FDt,NDt,ODt,UDt,HDt,zDt,WDt,qDt,jDt,GDt,KDt,QDt,VDt,YDt,$Dt,JDt,Wse,XDt,ZDt,ePt,tPt,nPt,aPt,rPt,fPt,iPt,sPt,oPt,cPt,dPt,lPt,uPt,pPt,hPt,bPt,mPt,yPt,gPt,vPt,wPt,TPt,xPt,EPt,_Pt,APt,CPt,IPt,kPt,SPt,RPt,MPt,BPt,DPt,PPt,LPt,FPt,NPt,OPt,UPt,HPt,zPt,WPt,qPt,jPt,n1,GPt,GS,Nc=ce(()=>{"use strict";u();p();I6={chain:"ETH",chainId:1,ens:{registry:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},explorers:[{name:"etherscan",url:"https://etherscan.io",standard:"EIP3091"},{name:"blockscout",url:"https://eth.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://ethereum.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://ethereum.org",name:"Ethereum Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1,redFlags:[],rpc:["https://1.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.infura.io/v3/${INFURA_API_KEY}","wss://mainnet.infura.io/ws/v3/${INFURA_API_KEY}","https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}","https://api.mycryptoapi.com/eth","https://cloudflare-eth.com","https://ethereum-rpc.publicnode.com","wss://ethereum-rpc.publicnode.com","https://mainnet.gateway.tenderly.co","wss://mainnet.gateway.tenderly.co","https://rpc.blocknative.com/boost","https://rpc.flashbots.net","https://rpc.flashbots.net/fast","https://rpc.mevblocker.io","https://rpc.mevblocker.io/fast","https://rpc.mevblocker.io/noreverts","https://rpc.mevblocker.io/fullprivacy","https://eth.drpc.org","wss://eth.drpc.org"],shortName:"eth",slip44:60,slug:"ethereum",testnet:!1},Jit={chain:"EXP",chainId:2,explorers:[],faucets:[],infoURL:"https://expanse.tech",name:"Expanse Network",nativeCurrency:{name:"Expanse Network Ether",symbol:"EXP",decimals:18},networkId:1,rpc:["https://2.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.expanse.tech"],shortName:"exp",slip44:40,slug:"expanse-network",testnet:!1},Xit={chain:"ETH",chainId:3,ens:{registry:"0x112234455c3a32fd11230c42e7bccd4a84e02010"},explorers:[{name:"etherscan",url:"https://ropsten.etherscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=3&address=${ADDRESS}","https://faucet.ropsten.be?${ADDRESS}"],features:[],infoURL:"https://github.com/ethereum/ropsten",name:"Ropsten",nativeCurrency:{name:"Ropsten Ether",symbol:"ETH",decimals:18},networkId:3,redFlags:[],rpc:["https://3.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ropsten.infura.io/v3/${INFURA_API_KEY}","wss://ropsten.infura.io/ws/v3/${INFURA_API_KEY}"],shortName:"rop",slip44:1,slug:"ropsten",status:"deprecated",testnet:!1,title:"Ethereum Testnet Ropsten"},Zit={chain:"ETH",chainId:4,ens:{registry:"0xe7410170f87102df0055eb195163a03b7f2bff4a"},explorers:[{name:"etherscan-rinkeby",url:"https://rinkeby.etherscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=4&address=${ADDRESS}","https://faucet.rinkeby.io"],features:[],infoURL:"https://www.rinkeby.io",name:"Rinkeby",nativeCurrency:{name:"Rinkeby Ether",symbol:"ETH",decimals:18},networkId:4,redFlags:[],rpc:["https://4.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinkeby.infura.io/v3/${INFURA_API_KEY}","wss://rinkeby.infura.io/ws/v3/${INFURA_API_KEY}"],shortName:"rin",slip44:1,slug:"rinkeby",status:"deprecated",testnet:!0,title:"Ethereum Testnet Rinkeby"},est={chain:"ETH",chainId:5,ens:{registry:"0x112234455c3a32fd11230c42e7bccd4a84e02010"},explorers:[{name:"etherscan-goerli",url:"https://goerli.etherscan.io",standard:"EIP3091"},{name:"blockscout-goerli",url:"https://eth-goerli.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["http://fauceth.komputing.org?chain=5&address=${ADDRESS}","https://goerli-faucet.slock.it?address=${ADDRESS}","https://faucet.goerli.mudit.blog"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://goerli.net/#about",name:"Goerli",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:5,redFlags:[],rpc:["https://5.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.infura.io/v3/${INFURA_API_KEY}","wss://goerli.infura.io/v3/${INFURA_API_KEY}","https://rpc.goerli.mudit.blog/","https://ethereum-goerli-rpc.publicnode.com","wss://ethereum-goerli-rpc.publicnode.com","https://goerli.gateway.tenderly.co","wss://goerli.gateway.tenderly.co"],shortName:"gor",slip44:1,slug:"goerli",status:"deprecated",testnet:!0,title:"Ethereum Testnet Goerli"},tst={chain:"ETC",chainId:6,explorers:[],faucets:[],icon:{url:"ipfs://QmawMDPsaj3kBTZErCYQ3tshv5RrMAN3smWNs72m943Fyj",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org/development/testnets",name:"Kotti Testnet",nativeCurrency:{name:"Kotti Ether",symbol:"KOT",decimals:18},networkId:6,rpc:[],shortName:"kot",slip44:1,slug:"kotti-testnet",status:"deprecated",testnet:!0,title:"Ethereum Classic Kotti Testnet"},nst={chain:"TCH",chainId:7,explorers:[{name:"Thaichain Explorer",url:"https://exp.thaichain.org",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://thaichain.io",name:"ThaiChain",nativeCurrency:{name:"ThaiChain Ether",symbol:"TCH",decimals:18},networkId:7,rpc:["https://7.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dome.cloud","https://rpc.thaichain.org"],shortName:"tch",slug:"thaichain",testnet:!1},ast={chain:"UBQ",chainId:8,explorers:[{name:"ubiqscan",url:"https://ubiqscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ubiqsmart.com",name:"Ubiq",nativeCurrency:{name:"Ubiq Ether",symbol:"UBQ",decimals:18},networkId:8,rpc:["https://8.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.octano.dev","https://pyrus2.ubiqscan.io"],shortName:"ubq",slip44:108,slug:"ubiq",testnet:!1},rst={chain:"UBQ",chainId:9,explorers:[],faucets:[],infoURL:"https://ethersocial.org",name:"Ubiq Network Testnet",nativeCurrency:{name:"Ubiq Testnet Ether",symbol:"TUBQ",decimals:18},networkId:2,rpc:[],shortName:"tubq",slip44:1,slug:"ubiq-network-testnet",testnet:!0},TW={chain:"ETH",chainId:10,explorers:[{name:"etherscan",url:"https://optimistic.etherscan.io",standard:"EIP3091"},{name:"blockscout",url:"https://optimism.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://optimism.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/optimism/512.png",width:512,height:512,format:"png"},infoURL:"https://optimism.io",name:"OP Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:10,redFlags:[],rpc:["https://10.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://optimism-mainnet.infura.io/v3/${INFURA_API_KEY}","https://mainnet.optimism.io","https://optimism.publicnode.com","wss://optimism.publicnode.com","https://optimism.gateway.tenderly.co","wss://optimism.gateway.tenderly.co","https://optimism-rpc.publicnode.com","wss://optimism-rpc.publicnode.com","https://optimism.drpc.org","wss://optimism.drpc.org"],shortName:"oeth",slug:"optimism",testnet:!1},fst={chain:"META",chainId:11,explorers:[],faucets:[],infoURL:"https://metadium.com",name:"Metadium Mainnet",nativeCurrency:{name:"Metadium Mainnet Ether",symbol:"META",decimals:18},networkId:11,rpc:["https://11.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.metadium.com/prod"],shortName:"meta",slip44:916,slug:"metadium",testnet:!1},ist={chain:"META",chainId:12,explorers:[],faucets:[],infoURL:"https://metadium.com",name:"Metadium Testnet",nativeCurrency:{name:"Metadium Testnet Ether",symbol:"KAL",decimals:18},networkId:12,rpc:["https://12.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.metadium.com/dev"],shortName:"kal",slip44:1,slug:"metadium-testnet",testnet:!0},sst={chain:"DIODE",chainId:13,explorers:[],faucets:[],infoURL:"https://diode.io/staging",name:"Diode Testnet Staging",nativeCurrency:{name:"Staging Diodes",symbol:"sDIODE",decimals:18},networkId:13,rpc:["https://13.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging.diode.io:8443/","wss://staging.diode.io:8443/ws"],shortName:"dstg",slip44:1,slug:"diode-testnet-staging",testnet:!0},ost={chain:"FLR",chainId:14,explorers:[{name:"blockscout",url:"https://flare-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://mainnet.flarescan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmbT52cCx4h1rcz6nXGfUPFdRyw1VfFMU8kKpY7YCtvUjs",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Flare Mainnet",nativeCurrency:{name:"Flare",symbol:"FLR",decimals:18},networkId:14,rpc:["https://14.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://flare-api.flare.network/ext/C/rpc","https://flare-bundler.etherspot.io","https://rpc.ankr.com/flare","https://01-gravelines-003-01.rpc.tatum.io/ext/bc/C/rpc","https://01-vinthill-003-02.rpc.tatum.io/ext/bc/C/rpc","https://rpc.ftso.au/flare","https://flare.enosys.global/ext/C/rpc","https://flare.solidifi.app/ext/C/rpc"],shortName:"flr",slug:"flare",testnet:!1},cst={chain:"DIODE",chainId:15,explorers:[],faucets:[],infoURL:"https://diode.io/prenet",name:"Diode Prenet",nativeCurrency:{name:"Diodes",symbol:"DIODE",decimals:18},networkId:15,rpc:["https://15.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://prenet.diode.io:8443/","wss://prenet.diode.io:8443/ws"],shortName:"diode",slug:"diode-prenet",testnet:!1},dst={chain:"SGB",chainId:16,explorers:[{name:"blockscout",url:"https://coston-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://coston.testnet.flarescan.com",standard:"EIP3091"}],faucets:["https://faucet.flare.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmV5PVhxaT3ePRHYsH3aryEHin2c49W18xW3Xg4o171iYE",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Songbird Testnet Coston",nativeCurrency:{name:"Coston Flare",symbol:"CFLR",decimals:18},networkId:16,rpc:["https://16.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coston-api.flare.network/ext/C/rpc","https://01-gravelines-004-01.rpc.tatum.io/ext/bc/C/rpc","https://02-chicago-004-02.rpc.tatum.io/ext/bc/C/rpc","https://02-tokyo-004-03.rpc.tatum.io/ext/bc/C/rpc","https://coston.enosys.global/ext/C/rpc"],shortName:"cflr",slip44:1,slug:"songbird-testnet-coston",testnet:!0},lst={chain:"TCH",chainId:17,explorers:[],faucets:[],infoURL:"https://exp.thaifi.com",name:"ThaiChain 2.0 ThaiFi",nativeCurrency:{name:"Thaifi Ether",symbol:"TFI",decimals:18},networkId:17,rpc:["https://17.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.thaifi.com"],shortName:"tfi",slug:"thaichain-2-0-thaifi",testnet:!1},ust={chain:"TST",chainId:18,explorers:[{name:"thundercore-blockscout-testnet",url:"https://explorer-testnet.thundercore.com",standard:"EIP3091"}],faucets:["https://faucet-testnet.thundercore.com"],infoURL:"https://thundercore.com",name:"ThunderCore Testnet",nativeCurrency:{name:"ThunderCore Testnet Token",symbol:"TST",decimals:18},networkId:18,rpc:["https://18.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.thundercore.com","https://thundercore-testnet.drpc.org","wss://thundercore-testnet.drpc.org"],shortName:"TST",slip44:1,slug:"thundercore-testnet",testnet:!0},pst={chain:"SGB",chainId:19,explorers:[{name:"blockscout",url:"https://songbird-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://songbird.flarescan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdpaH9pEFDXB4tUPxcqAHfB3Sfx3BQufz6EAzBWhHH6Ka",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Songbird Canary-Network",nativeCurrency:{name:"Songbird",symbol:"SGB",decimals:18},networkId:19,rpc:["https://19.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://songbird-api.flare.network/ext/C/rpc","https://01-gravelines-006-01.rpc.tatum.io/ext/bc/C/rpc","https://01-vinthill-006-02.rpc.tatum.io/ext/bc/C/rpc","https://02-tokyo-006-03.rpc.tatum.io/ext/bc/C/rpc","https://rpc.ftso.au/songbird","https://songbird.enosys.global/ext/C/rpc","https://songbird.solidifi.app/ext/C/rpc"],shortName:"sgb",slug:"songbird-canary-network",testnet:!1},hst={chain:"ETH",chainId:20,explorers:[{name:"elastos esc explorer",url:"https://esc.elastos.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.elastos.org/",name:"Elastos Smart Chain",nativeCurrency:{name:"Elastos",symbol:"ELA",decimals:18},networkId:20,rpc:["https://20.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.elastos.io/eth"],shortName:"esc",slug:"elastos-smart-chain",testnet:!1},bst={chain:"ETH",chainId:21,explorers:[{name:"elastos esc explorer",url:"https://esc-testnet.elastos.io",standard:"EIP3091"}],faucets:["https://esc-faucet.elastos.io/"],infoURL:"https://www.elastos.org/",name:"Elastos Smart Chain Testnet",nativeCurrency:{name:"Elastos",symbol:"tELA",decimals:18},networkId:21,rpc:["https://21.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api-testnet.elastos.io/eth"],shortName:"esct",slug:"elastos-smart-chain-testnet",testnet:!0},mst={chain:"ETH",chainId:22,explorers:[],faucets:[],infoURL:"https://www.elastos.org/",name:"ELA-DID-Sidechain Mainnet",nativeCurrency:{name:"Elastos",symbol:"ELA",decimals:18},networkId:22,rpc:[],shortName:"eladid",slug:"ela-did-sidechain",testnet:!1},yst={chain:"ETH",chainId:23,explorers:[],faucets:[],infoURL:"https://elaeth.io/",name:"ELA-DID-Sidechain Testnet",nativeCurrency:{name:"Elastos",symbol:"tELA",decimals:18},networkId:23,rpc:[],shortName:"eladidt",slip44:1,slug:"ela-did-sidechain-testnet",testnet:!0},gst={chain:"KAI",chainId:24,explorers:[],faucets:[],icon:{url:"ipfs://QmXoHaZXJevc59GuzEgBhwRSH6kio1agMRvL8bD93pARRV",width:297,height:297,format:"png"},infoURL:"https://kardiachain.io",name:"KardiaChain Mainnet",nativeCurrency:{name:"KardiaChain",symbol:"KAI",decimals:18},networkId:0,redFlags:["reusedChainId"],rpc:["https://24.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kardiachain.io"],shortName:"kardiachain",slug:"kardiachain",testnet:!1},vst={chain:"CRO",chainId:25,explorers:[{name:"Cronos Explorer",url:"https://explorer.cronos.org",standard:"none"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://cronos.org/",name:"Cronos Mainnet",nativeCurrency:{name:"Cronos",symbol:"CRO",decimals:18},networkId:25,redFlags:[],rpc:["https://25.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cronos.blockpi.network/v1/rpc/public","https://evm.cronos.org","https://cronos-evm-rpc.publicnode.com","wss://cronos-evm-rpc.publicnode.com","https://cronos.drpc.org","wss://cronos.drpc.org"],shortName:"cro",slug:"cronos",testnet:!1},wst={chain:"genesis",chainId:26,explorers:[{name:"Genesis L1 testnet explorer",url:"https://testnet.genesisl1.org",standard:"none"}],faucets:[],infoURL:"https://www.genesisl1.com",name:"Genesis L1 testnet",nativeCurrency:{name:"L1 testcoin",symbol:"L1test",decimals:18},networkId:26,rpc:["https://26.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.genesisl1.org"],shortName:"L1test",slip44:1,slug:"genesis-l1-testnet",testnet:!0},Tst={chain:"SHIB",chainId:27,explorers:[{name:"Shiba Explorer",url:"https://exp.shibchain.org",standard:"none"}],faucets:[],infoURL:"https://shibchain.org",name:"ShibaChain",nativeCurrency:{name:"SHIBA INU COIN",symbol:"SHIB",decimals:18},networkId:27,rpc:["https://27.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shibchain.org"],shortName:"shib",slug:"shibachain",testnet:!1},xst={chain:"ETH",chainId:28,explorers:[{name:"Blockscout",url:"https://blockexplorer.rinkeby.boba.network",standard:"none"}],faucets:[],features:[],infoURL:"https://boba.network",name:"Boba Network Rinkeby Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://gateway.rinkeby.boba.network"}]},redFlags:[],rpc:["https://28.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinkeby.boba.network/"],shortName:"BobaRinkeby",slip44:1,slug:"boba-network-rinkeby-testnet",status:"deprecated",testnet:!0},Est={chain:"genesis",chainId:29,explorers:[{name:"Genesis L1 blockchain explorer",url:"https://explorer.genesisl1.org",standard:"none"}],faucets:[],infoURL:"https://www.genesisl1.com",name:"Genesis L1",nativeCurrency:{name:"L1 coin",symbol:"L1",decimals:18},networkId:29,rpc:["https://29.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.genesisl1.org"],shortName:"L1",slug:"genesis-l1",testnet:!1},_st={chain:"Rootstock",chainId:30,explorers:[{name:"blockscout",url:"https://rootstock.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"Rootstock Explorer",url:"https://explorer.rsk.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreigidzbf22dnpmmlfxv6u7oifq6ln33j4n57ox4ipiproalufrheym",width:3e3,height:3325,format:"png"},infoURL:"https://rootstock.io",name:"Rootstock Mainnet",nativeCurrency:{name:"Smart Bitcoin",symbol:"RBTC",decimals:18},networkId:30,rpc:["https://30.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-node.rsk.co","https://mycrypto.rsk.co"],shortName:"rsk",slip44:137,slug:"rootstock",testnet:!1},Ast={chain:"Rootstock",chainId:31,explorers:[{name:"RSK Testnet Explorer",url:"https://explorer.testnet.rsk.co",standard:"EIP3091"}],faucets:["https://faucet.rsk.co/"],icon:{url:"ipfs://bafkreigidzbf22dnpmmlfxv6u7oifq6ln33j4n57ox4ipiproalufrheym",width:3e3,height:3325,format:"png"},infoURL:"https://rootstock.io",name:"Rootstock Testnet",nativeCurrency:{name:"Testnet Smart Bitcoin",symbol:"tRBTC",decimals:18},networkId:31,rpc:["https://31.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-node.testnet.rsk.co","https://mycrypto.testnet.rsk.co"],shortName:"trsk",slip44:1,slug:"rootstock-testnet",testnet:!0},Cst={chain:"GooD",chainId:32,explorers:[],faucets:[],infoURL:"https://www.goodata.org",name:"GoodData Testnet",nativeCurrency:{name:"GoodData Testnet Ether",symbol:"GooD",decimals:18},networkId:32,rpc:["https://32.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test2.goodata.io"],shortName:"GooDT",slip44:1,slug:"gooddata-testnet",testnet:!0},Ist={chain:"GooD",chainId:33,explorers:[],faucets:[],infoURL:"https://www.goodata.org",name:"GoodData Mainnet",nativeCurrency:{name:"GoodData Mainnet Ether",symbol:"GooD",decimals:18},networkId:33,rpc:["https://33.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.goodata.io"],shortName:"GooD",slug:"gooddata",testnet:!1},kst={chain:"SCAI",chainId:34,explorers:[{name:"SecureChain Mainnet",url:"https://explorer.securechain.ai",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qme2Z8VFYjhHGfLQPBnfseNpEdRfmTDy7VXqrdH4AHETJf",width:150,height:150,format:"png"},infoURL:"https://securechain.ai",name:"SecureChain Mainnet",nativeCurrency:{name:"SecureChain",symbol:"SCAI",decimals:18},networkId:34,redFlags:["reusedChainId"],rpc:["https://34.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.scai.network"],shortName:"scai",slug:"securechain",testnet:!1},Sst={chain:"TBWG",chainId:35,explorers:[],faucets:[],infoURL:"https://tbwg.io",name:"TBWG Chain",nativeCurrency:{name:"TBWG Ether",symbol:"TBG",decimals:18},networkId:35,rpc:["https://35.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tbwg.io"],shortName:"tbwg",slug:"tbwg-chain",testnet:!1},Rst={chain:"Dxchain",chainId:36,explorers:[{name:"dxscan",url:"https://dxscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYBup5bWoBfkaHntbcgW8Ji7ncad7f53deJ4Q55z4PNQs",width:128,height:128,format:"png"},infoURL:"https://www.dxchain.com/",name:"Dxchain Mainnet",nativeCurrency:{name:"Dxchain",symbol:"DX",decimals:18},networkId:36,rpc:["https://36.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.dxchain.com"],shortName:"dx",slug:"dxchain",testnet:!1},Mst={chain:"XPLA",chainId:37,explorers:[{name:"XPLA Explorer",url:"https://explorer.xpla.io/mainnet",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmf4GoxfpeA5VGqu7KP5eyv1WKaCpNDbvMxq1MjQBwFWxq",width:512,height:512,format:"png"},infoURL:"https://xpla.io",name:"Xpla Mainnet",nativeCurrency:{name:"XPLA",symbol:"XPLA",decimals:18},networkId:37,redFlags:["reusedChainId"],rpc:["https://37.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dimension-evm-rpc.xpla.dev"],shortName:"xpla",slug:"xpla",testnet:!1},Bst={chain:"VAL",chainId:38,explorers:[],faucets:[],infoURL:"https://valorbit.com",name:"Valorbit",nativeCurrency:{name:"Valorbit",symbol:"VAL",decimals:18},networkId:38,rpc:["https://38.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.valorbit.com/v2"],shortName:"val",slip44:538,slug:"valorbit",testnet:!1},Dst={chain:"u2u",chainId:39,explorers:[{name:"U2U Explorer",url:"https://u2uscan.xyz",standard:"EIP3091",icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"},infoURL:"https://uniultra.xyz",name:"U2U Solaris Mainnet",nativeCurrency:{name:"Unicorn Ultra",symbol:"U2U",decimals:18},networkId:39,rpc:["https://39.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.uniultra.xyz"],shortName:"u2u",slug:"u2u-solaris",testnet:!1},Pst={chain:"TLOS",chainId:40,explorers:[{name:"teloscan",url:"https://teloscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmdkgQDtDedsNNth3ZVgWfwRZPCePLA13MtLvV4CEYSuTR/TLOS.png",width:228,height:228,format:"png"},infoURL:"https://telos.net",name:"Telos EVM Mainnet",nativeCurrency:{name:"Telos",symbol:"TLOS",decimals:18},networkId:40,redFlags:[],rpc:["https://40.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.telos.net/evm","https://telos.drpc.org","wss://telos.drpc.org"],shortName:"TelosEVM",slug:"telos-evm",testnet:!1},Lst={chain:"TLOS",chainId:41,explorers:[{name:"teloscan",url:"https://testnet.teloscan.io",standard:"EIP3091"}],faucets:["https://app.telos.net/testnet/developers"],features:[],icon:{url:"ipfs://QmdkgQDtDedsNNth3ZVgWfwRZPCePLA13MtLvV4CEYSuTR/TLOS.png",width:228,height:228,format:"png"},infoURL:"https://telos.net",name:"Telos EVM Testnet",nativeCurrency:{name:"Telos",symbol:"TLOS",decimals:18},networkId:41,redFlags:[],rpc:["https://41.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.telos.net/evm","https://telos-testnet.drpc.org","wss://telos-testnet.drpc.org"],shortName:"TelosEVMTestnet",slip44:1,slug:"telos-evm-testnet",testnet:!0},Fst={chain:"LUKSO",chainId:42,explorers:[{name:"Blockscout",url:"https://explorer.execution.mainnet.lukso.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmeg9sFF5tAGi6MCx7YjtVHW6a23zqvHRK1xwzSdp9iE7z",width:512,height:512,format:"png"},infoURL:"https://lukso.network",name:"LUKSO Mainnet",nativeCurrency:{name:"LUKSO",symbol:"LYX",decimals:18},networkId:42,redFlags:["reusedChainId"],rpc:["https://42.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.lukso.network","wss://ws-rpc.mainnet.lukso.network"],shortName:"lukso",slug:"lukso",testnet:!1},Nst={chain:"pangolin",chainId:43,explorers:[{name:"subscan",url:"https://pangolin.subscan.io",standard:"EIP3091"}],faucets:["https://docs.darwinia.network/pangolin-testnet-1e9ac8b09e874e8abd6a7f18c096ca6a"],infoURL:"https://darwinia.network/",name:"Darwinia Pangolin Testnet",nativeCurrency:{name:"Pangolin Network Native Token",symbol:"PRING",decimals:18},networkId:43,rpc:["https://43.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pangolin-rpc.darwinia.network"],shortName:"pangolin",slip44:1,slug:"darwinia-pangolin-testnet",testnet:!0},Ost={chain:"crab",chainId:44,explorers:[{name:"subscan",url:"https://crab.subscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://crab.network/",name:"Crab Network",nativeCurrency:{name:"Crab Network Native Token",symbol:"CRAB",decimals:18},networkId:44,rpc:["https://44.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://crab-rpc.darwinia.network","https://crab-rpc.darwiniacommunitydao.xyz"],shortName:"crab",slug:"crab-network",testnet:!1},Ust={chain:"pangoro",chainId:45,explorers:[{name:"subscan",url:"https://pangoro.subscan.io",standard:"none"}],faucets:["https://docs.darwinia.network/pangoro-testnet-70cfec5dc9ca42759959ba3803edaec2"],infoURL:"https://darwinia.network/",name:"Darwinia Pangoro Testnet",nativeCurrency:{name:"Pangoro Network Native Token",symbol:"ORING",decimals:18},networkId:45,rpc:["https://45.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pangoro-rpc.darwinia.network"],shortName:"pangoro",slip44:1,slug:"darwinia-pangoro-testnet",testnet:!0},Hst={chain:"darwinia",chainId:46,explorers:[{name:"subscan",url:"https://darwinia.subscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://darwinia.network/",name:"Darwinia Network",nativeCurrency:{name:"Darwinia Network Native Token",symbol:"RING",decimals:18},networkId:46,rpc:["https://46.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.darwinia.network","https://darwinia-rpc.darwiniacommunitydao.xyz","https://darwinia-rpc.dwellir.com"],shortName:"darwinia",slug:"darwinia-network",testnet:!1},zst={chain:"XPLA",chainId:47,explorers:[{name:"XPLA Explorer",url:"https://explorer.xpla.io/testnet",standard:"none"}],faucets:["https://faucet.xpla.io/"],features:[],icon:{url:"ipfs://QmbvEAKZfgJckEziU3mpCwz6jqMeWRcLgd8TNsWA7g8sD9/xpla.png",width:512,height:512,format:"png"},infoURL:"https://xpla.io/",name:"Xpla Testnet",nativeCurrency:{name:"XPLA",symbol:"XPLA",decimals:18},networkId:47,redFlags:["reusedChainId"],rpc:["https://47.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cube-evm-rpc.xpla.dev"],shortName:"xpla-test",slug:"xpla-testnet",testnet:!0},Wst={chain:"ETMP",chainId:48,explorers:[{name:"etmpscan",url:"https://etmscan.network",standard:"EIP3091",icon:{url:"ipfs://QmT7DTqT1V2y42pRpt3sj9ifijfmbtkHN7D2vTfAUAS622",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmT7DTqT1V2y42pRpt3sj9ifijfmbtkHN7D2vTfAUAS622",width:512,height:512,format:"png"},infoURL:"https://etm.network",name:"Ennothem Mainnet Proterozoic",nativeCurrency:{name:"Ennothem",symbol:"ETMP",decimals:18},networkId:48,rpc:["https://48.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.etm.network"],shortName:"etmp",slug:"ennothem-proterozoic",testnet:!1},qst={chain:"ETMP",chainId:49,explorers:[{name:"etmp",url:"https://pioneer.etmscan.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmT7DTqT1V2y42pRpt3sj9ifijfmbtkHN7D2vTfAUAS622",width:512,height:512,format:"png"},infoURL:"https://etm.network",name:"Ennothem Testnet Pioneer",nativeCurrency:{name:"Ennothem",symbol:"ETMP",decimals:18},networkId:49,rpc:["https://49.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.pioneer.etm.network"],shortName:"etmpTest",slip44:1,slug:"ennothem-testnet-pioneer",testnet:!0},jst={chain:"XDC",chainId:50,explorers:[{name:"xdcscan",url:"https://xdcscan.io",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}},{name:"blocksscan",url:"https://xdc.blocksscan.io",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeRq7pabiJE2n1xU3Y5Mb4TZSX9kQ74x7a3P2Z4PqcMRX",width:1450,height:1450,format:"png"},infoURL:"https://xinfin.org",name:"XDC Network",nativeCurrency:{name:"XinFin",symbol:"XDC",decimals:18},networkId:50,rpc:["https://50.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://erpc.xinfin.network","https://rpc.xinfin.network","https://rpc1.xinfin.network","https://rpc-xdc.icecreamswap.com"],shortName:"xdc",slug:"xdc-network",testnet:!1},Gst={chain:"XDC",chainId:51,explorers:[{name:"xdcscan",url:"https://apothem.xinfinscan.com",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}},{name:"blocksscan",url:"https://apothem.blocksscan.io",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}}],faucets:["https://faucet.apothem.network"],features:[],icon:{url:"ipfs://QmeRq7pabiJE2n1xU3Y5Mb4TZSX9kQ74x7a3P2Z4PqcMRX",width:1450,height:1450,format:"png"},infoURL:"https://xinfin.org",name:"XDC Apothem Network",nativeCurrency:{name:"XinFin",symbol:"TXDC",decimals:18},networkId:51,redFlags:[],rpc:["https://51.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://apothem.xdcrpc.com","https://rpc.apothem.network","https://erpc.apothem.network"],shortName:"txdc",slug:"xdc-apothem-network",testnet:!1},Kst={chain:"CSC",chainId:52,explorers:[{name:"coinexscan",url:"https://www.coinex.net",standard:"none"}],faucets:[],infoURL:"https://www.coinex.org/",name:"CoinEx Smart Chain Mainnet",nativeCurrency:{name:"CoinEx Chain Native Token",symbol:"cet",decimals:18},networkId:52,rpc:["https://52.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.coinex.net"],shortName:"cet",slug:"coinex-smart-chain",testnet:!1},Qst={chain:"CSC",chainId:53,explorers:[{name:"coinexscan",url:"https://testnet.coinex.net",standard:"none"}],faucets:[],infoURL:"https://www.coinex.org/",name:"CoinEx Smart Chain Testnet",nativeCurrency:{name:"CoinEx Chain Test Native Token",symbol:"cett",decimals:18},networkId:53,rpc:["https://53.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.coinex.net/"],shortName:"tcet",slip44:1,slug:"coinex-smart-chain-testnet",testnet:!0},Vst={chain:"OPENPIECE",chainId:54,explorers:[{name:"Belly Scan",url:"https://bellyscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmVTahJkdSH3HPYsJMK2GmqfWZjLyxE7cXy1aHEnHU3vp2",width:250,height:250,format:"png"},infoURL:"https://cryptopiece.online",name:"Openpiece Mainnet",nativeCurrency:{name:"Belly",symbol:"BELLY",decimals:18},networkId:54,rpc:["https://54.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.openpiece.io"],shortName:"OP",slug:"openpiece",testnet:!1},Yst={chain:"ZYX",chainId:55,explorers:[{name:"zyxscan",url:"https://zyxscan.com",standard:"none"}],faucets:[],infoURL:"https://zyx.network/",name:"Zyx Mainnet",nativeCurrency:{name:"Zyx",symbol:"ZYX",decimals:18},networkId:55,rpc:["https://55.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.zyx.network/","https://rpc-2.zyx.network/","https://rpc-3.zyx.network/","https://rpc-4.zyx.network/","https://rpc-5.zyx.network/","https://rpc-6.zyx.network/"],shortName:"ZYX",slug:"zyx",testnet:!1},vHe={chain:"BSC",chainId:56,explorers:[{name:"bscscan",url:"https://bscscan.com",standard:"EIP3091"},{name:"dexguru",url:"https://bnb.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/binance-coin/512.png",width:512,height:512,format:"png"},infoURL:"https://www.bnbchain.org/en",name:"BNB Smart Chain Mainnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"BNB",decimals:18},networkId:56,redFlags:[],rpc:["https://56.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bsc-dataseed1.bnbchain.org","https://bsc-dataseed2.bnbchain.org","https://bsc-dataseed3.bnbchain.org","https://bsc-dataseed4.bnbchain.org","https://bsc-dataseed1.defibit.io","https://bsc-dataseed2.defibit.io","https://bsc-dataseed3.defibit.io","https://bsc-dataseed4.defibit.io","https://bsc-dataseed1.ninicoin.io","https://bsc-dataseed2.ninicoin.io","https://bsc-dataseed3.ninicoin.io","https://bsc-dataseed4.ninicoin.io","https://bsc-rpc.publicnode.com","wss://bsc-rpc.publicnode.com","wss://bsc-ws-node.nariox.org"],shortName:"bnb",slip44:714,slug:"binance",testnet:!1},$st={chain:"SYS",chainId:57,explorers:[{name:"Syscoin Block Explorer",url:"https://explorer.syscoin.org",standard:"EIP3091"}],faucets:["https://faucet.syscoin.org"],infoURL:"https://www.syscoin.org",name:"Syscoin Mainnet",nativeCurrency:{name:"Syscoin",symbol:"SYS",decimals:18},networkId:57,rpc:["https://57.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.syscoin.org","https://rpc.ankr.com/syscoin/${ANKR_API_KEY}","https://syscoin.public-rpc.com","wss://rpc.syscoin.org/wss","https://syscoin-evm.publicnode.com","wss://syscoin-evm.publicnode.com"],shortName:"sys",slug:"syscoin",testnet:!1},Jst={chain:"Ontology",chainId:58,explorers:[{name:"explorer",url:"https://explorer.ont.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreigmvn6spvbiirtutowpq6jmetevbxoof5plzixjoerbeswy4htfb4",width:400,height:400,format:"png"},infoURL:"https://ont.io/",name:"Ontology Mainnet",nativeCurrency:{name:"ONG",symbol:"ONG",decimals:18},networkId:58,rpc:["https://58.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://dappnode1.ont.io:20339","http://dappnode2.ont.io:20339","http://dappnode3.ont.io:20339","http://dappnode4.ont.io:20339","https://dappnode1.ont.io:10339","https://dappnode2.ont.io:10339","https://dappnode3.ont.io:10339","https://dappnode4.ont.io:10339"],shortName:"OntologyMainnet",slug:"ontology",testnet:!1},Xst={chain:"EOS",chainId:59,explorers:[],faucets:[],infoURL:"https://eosargentina.io",name:"EOS EVM Legacy",nativeCurrency:{name:"EOS",symbol:"EOS",decimals:18},networkId:59,rpc:["https://59.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.eosargentina.io"],shortName:"eos-legacy",slug:"eos-evm-legacy",status:"deprecated",testnet:!1},Zst={chain:"GO",chainId:60,explorers:[{name:"GoChain Explorer",url:"https://explorer.gochain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://gochain.io",name:"GoChain",nativeCurrency:{name:"GoChain Ether",symbol:"GO",decimals:18},networkId:60,rpc:["https://60.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gochain.io"],shortName:"go",slip44:6060,slug:"gochain",testnet:!1},eot={chain:"ETC",chainId:61,explorers:[{name:"etcnetworkinfo-blockscout-ethereum-classic",url:"https://explorer-blockscout.etc-network.info",standard:"none"},{name:"etcnetworkinfo-alethio-ethereum-classic",url:"https://explorer-alethio.etc-network.info",standard:"none"},{name:"etcnetworkinfo-expedition-ethereum-classic",url:"https://explorer-expedition.etc-network.info",standard:"none"},{name:"hebeblock-ethereum-classic",url:"https://etcerscan.com",standard:"EIP3091"},{name:"oklink-ethereum-classic",url:"https://www.oklink.com/etc",standard:"EIP3091"},{name:"tokenview-ethereum-classic",url:"https://etc.tokenview.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://Qme7PT7gidTzRuf3T2JdxQ64JeZPgFH7yNBB8mYoMPbpTe",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org",name:"Ethereum Classic",nativeCurrency:{name:"Ether",symbol:"ETC",decimals:18},networkId:61,redFlags:[],rpc:["https://61.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://etc.etcdesktop.com","https://etc.rivet.link","https://besu-at.etc-network.info","https://geth-at.etc-network.info","https://etc.mytokenpocket.vip"],shortName:"etc",slip44:61,slug:"ethereum-classic",status:"active",testnet:!1,title:"Ethereum Classic Mainnet"},tot={chain:"ETC",chainId:62,explorers:[],faucets:[],icon:{url:"ipfs://QmawMDPsaj3kBTZErCYQ3tshv5RrMAN3smWNs72m943Fyj",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org/development/testnets",name:"Morden Testnet",nativeCurrency:{name:"Morden Ether",symbol:"TETC",decimals:18},networkId:2,rpc:[],shortName:"tetc",slip44:1,slug:"morden-testnet",status:"deprecated",testnet:!0,title:"Ethereum Classic Morden Testnet"},not={chain:"ETC",chainId:63,explorers:[{name:"blockscout-mordor",url:"https://etc-mordor.blockscout.com",standard:"EIP3091"},{name:"etcnetworkinfo-expedition-mordor",url:"https://explorer-expedition.etc-network.info/?network=Ethereum+Classic+at+etc-network.info+GETH+Mordor",standard:"none"}],faucets:["https://easy.hebeswap.com/#/faucet","https://faucet.mordortest.net"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmawMDPsaj3kBTZErCYQ3tshv5RrMAN3smWNs72m943Fyj",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org/development/testnets",name:"Mordor Testnet",nativeCurrency:{name:"Mordor Ether",symbol:"METC",decimals:18},networkId:7,rpc:["https://63.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mordor.etccooperative.org","https://geth-mordor.etc-network.info"],shortName:"metc",slip44:1,slug:"mordor-testnet",status:"active",testnet:!0,title:"Ethereum Classic Mordor Testnet"},aot={chain:"ELLA",chainId:64,explorers:[],faucets:[],infoURL:"https://ellaism.org",name:"Ellaism",nativeCurrency:{name:"Ellaism Ether",symbol:"ELLA",decimals:18},networkId:64,rpc:["https://64.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.ellaism.org"],shortName:"ellaism",slip44:163,slug:"ellaism",testnet:!1},rot={chain:"okexchain",chainId:65,explorers:[{name:"OKLink",url:"https://www.oklink.com/okexchain-test",standard:"EIP3091"}],faucets:["https://www.okex.com/drawdex"],infoURL:"https://www.okex.com/okexchain",name:"OKExChain Testnet",nativeCurrency:{name:"OKExChain Global Utility Token in testnet",symbol:"OKT",decimals:18},networkId:65,rpc:["https://65.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://exchaintestrpc.okex.org"],shortName:"tokt",slip44:1,slug:"okexchain-testnet",testnet:!0},fot={chain:"okxchain",chainId:66,explorers:[{name:"OKLink",url:"https://www.oklink.com/en/okc",standard:"EIP3091"}],faucets:[],infoURL:"https://www.okex.com/okc",name:"OKXChain Mainnet",nativeCurrency:{name:"OKXChain Global Utility Token",symbol:"OKT",decimals:18},networkId:66,rpc:["https://66.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://exchainrpc.okex.org","https://okc-mainnet.gateway.pokt.network/v1/lb/6275309bea1b320039c893ff"],shortName:"okt",slug:"okxchain",testnet:!1},iot={chain:"DBM",chainId:67,explorers:[],faucets:[],infoURL:"http://test.dbmbp.com",name:"DBChain Testnet",nativeCurrency:{name:"DBChain Testnet",symbol:"DBM",decimals:18},networkId:67,rpc:["https://67.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://test-rpc.dbmbp.com"],shortName:"dbm",slip44:1,slug:"dbchain-testnet",testnet:!0},sot={chain:"SOTER",chainId:68,explorers:[],faucets:[],infoURL:"https://www.soterone.com",name:"SoterOne Mainnet",nativeCurrency:{name:"SoterOne Mainnet Ether",symbol:"SOTER",decimals:18},networkId:68,rpc:["https://68.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.soter.one"],shortName:"SO1",slug:"soterone",testnet:!1},oot={chain:"ETH",chainId:69,explorers:[{name:"etherscan",url:"https://kovan-optimistic.etherscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=69&address=${ADDRESS}"],infoURL:"https://optimism.io",name:"Optimism Kovan",nativeCurrency:{name:"Kovan Ether",symbol:"ETH",decimals:18},networkId:69,rpc:["https://69.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kovan.optimism.io/"],shortName:"okov",slip44:1,slug:"optimism-kovan",testnet:!0,title:"Optimism Testnet Kovan"},cot={chain:"HSC",chainId:70,explorers:[{name:"hooscan",url:"https://www.hooscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.hoosmartchain.com",name:"Hoo Smart Chain",nativeCurrency:{name:"Hoo Smart Chain Native Token",symbol:"HOO",decimals:18},networkId:70,rpc:["https://70.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.hoosmartchain.com","https://http-mainnet2.hoosmartchain.com","wss://ws-mainnet.hoosmartchain.com","wss://ws-mainnet2.hoosmartchain.com"],shortName:"hsc",slip44:1170,slug:"hoo-smart-chain",testnet:!1},dot={chain:"Conflux",chainId:71,explorers:[{name:"Conflux Scan",url:"https://evmtestnet.confluxscan.net",standard:"none"}],faucets:["https://faucet.confluxnetwork.org"],icon:{url:"ipfs://bafkreifj7n24u2dslfijfihwqvpdeigt5aj3k3sxv6s35lv75sxsfr3ojy",width:460,height:576,format:"png"},infoURL:"https://confluxnetwork.org",name:"Conflux eSpace (Testnet)",nativeCurrency:{name:"CFX",symbol:"CFX",decimals:18},networkId:71,rpc:["https://71.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmtestnet.confluxrpc.com"],shortName:"cfxtest",slug:"conflux-espace-testnet",testnet:!0},lot={chain:"DxChain",chainId:72,explorers:[],faucets:["https://faucet.dxscan.io"],infoURL:"https://testnet.dxscan.io/",name:"DxChain Testnet",nativeCurrency:{name:"DxChain Testnet",symbol:"DX",decimals:18},networkId:72,rpc:["https://72.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-http.dxchain.com"],shortName:"dxc",slip44:1,slug:"dxchain-testnet",testnet:!0},uot={chain:"FNCY",chainId:73,explorers:[{name:"fncy scan",url:"https://fncyscan.fncy.world",standard:"EIP3091",icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"}}],faucets:["https://faucet-testnet.fncy.world"],icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"},infoURL:"https://fncyscan.fncy.world",name:"FNCY",nativeCurrency:{name:"FNCY",symbol:"FNCY",decimals:18},networkId:73,rpc:["https://73.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fncy-seed1.fncy.world"],shortName:"FNCY",slug:"fncy",testnet:!0},pot={chain:"IDChain",chainId:74,explorers:[{name:"explorer",url:"https://explorer.idchain.one",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZVwsY6HPXScKqZCA9SWNrr4jrQAHkPhVhMWi6Fj1DsrJ",width:162,height:129,format:"png"},infoURL:"https://idchain.one/begin/",name:"IDChain Mainnet",nativeCurrency:{name:"EIDI",symbol:"EIDI",decimals:18},networkId:74,rpc:["https://74.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://idchain.one/rpc/","wss://idchain.one/ws/"],shortName:"idchain",slug:"idchain",testnet:!1},hot={chain:"DSC",chainId:75,explorers:[{name:"DSC Explorer Mainnet",url:"https://explorer.decimalchain.com",standard:"EIP3091",icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"},infoURL:"https://decimalchain.com",name:"Decimal Smart Chain Mainnet",nativeCurrency:{name:"Decimal",symbol:"DEL",decimals:18},networkId:75,rpc:["https://75.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.decimalchain.com/web3/","https://node1-mainnet.decimalchain.com/web3/","https://node2-mainnet.decimalchain.com/web3/","https://node3-mainnet.decimalchain.com/web3/","https://node4-mainnet.decimalchain.com/web3/"],shortName:"DSC",slug:"decimal-smart-chain",testnet:!1},bot={chain:"MIX",chainId:76,explorers:[],faucets:[],infoURL:"https://mix-blockchain.org",name:"Mix",nativeCurrency:{name:"Mix Ether",symbol:"MIX",decimals:18},networkId:76,rpc:["https://76.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc2.mix-blockchain.org:8647"],shortName:"mix",slip44:76,slug:"mix",testnet:!1},mot={chain:"POA",chainId:77,explorers:[{name:"blockscout",url:"https://blockscout.com/poa/sokol",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://poa.network",name:"POA Network Sokol",nativeCurrency:{name:"POA Sokol Ether",symbol:"SPOA",decimals:18},networkId:77,rpc:["https://77.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sokol.poa.network","wss://sokol.poa.network/wss","ws://sokol.poa.network:8546"],shortName:"spoa",slug:"poa-network-sokol",testnet:!1},yot={chain:"PC",chainId:78,explorers:[],faucets:[],infoURL:"https://primusmoney.com",name:"PrimusChain mainnet",nativeCurrency:{name:"Primus Ether",symbol:"PETH",decimals:18},networkId:78,rpc:["https://78.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ethnode.primusmoney.com/mainnet"],shortName:"primuschain",slug:"primuschain",testnet:!1},got={chain:"Zenith",chainId:79,explorers:[{name:"zenith scan",url:"https://scan.zenithchain.co",standard:"EIP3091"}],faucets:[],infoURL:"https://www.zenithchain.co/",name:"Zenith Mainnet",nativeCurrency:{name:"ZENITH",symbol:"ZENITH",decimals:18},networkId:79,rpc:["https://79.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataserver-us-1.zenithchain.co/","https://dataserver-asia-3.zenithchain.co/","https://dataserver-asia-4.zenithchain.co/","https://dataserver-asia-2.zenithchain.co/","https://dataserver-asia-5.zenithchain.co/","https://dataserver-asia-6.zenithchain.co/","https://dataserver-asia-7.zenithchain.co/"],shortName:"zenith",slug:"zenith",testnet:!1},vot={chain:"GeneChain",chainId:80,explorers:[{name:"GeneChain Scan",url:"https://scan.genechain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://scan.genechain.io/",name:"GeneChain",nativeCurrency:{name:"RNA",symbol:"RNA",decimals:18},networkId:80,rpc:["https://80.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.genechain.io"],shortName:"GeneChain",slug:"genechain",testnet:!1},wot={chain:"JOC",chainId:81,explorers:[{name:"Block Explorer",url:"https://explorer.japanopenchain.org",standard:"EIP3091",icon:{url:"ipfs://bafkreidhsiuqrct42bel76zhi3rx35k4lnk6aqgde27nvvxcz563ttfefy",width:2e3,height:2e3,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidhsiuqrct42bel76zhi3rx35k4lnk6aqgde27nvvxcz563ttfefy",width:2e3,height:2e3,format:"png"},infoURL:"https://www.japanopenchain.org/",name:"Japan Open Chain Mainnet",nativeCurrency:{name:"Japan Open Chain Token",symbol:"JOC",decimals:18},networkId:81,redFlags:["reusedChainId"],rpc:["https://81.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.japanopenchain.org:8545","https://rpc-2.japanopenchain.org:8545"],shortName:"joc",slug:"japan-open-chain",testnet:!1},Tot={chain:"METER",chainId:82,explorers:[{name:"Meter Mainnet Scan",url:"https://scan.meter.io",standard:"EIP3091"}],faucets:["https://faucet.meter.io"],infoURL:"https://www.meter.io",name:"Meter Mainnet",nativeCurrency:{name:"Meter",symbol:"MTR",decimals:18},networkId:82,rpc:["https://82.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.meter.io"],shortName:"Meter",slug:"meter",testnet:!1},xot={chain:"METER Testnet",chainId:83,explorers:[{name:"Meter Testnet Scan",url:"https://scan-warringstakes.meter.io",standard:"EIP3091"}],faucets:["https://faucet-warringstakes.meter.io"],infoURL:"https://www.meter.io",name:"Meter Testnet",nativeCurrency:{name:"Meter",symbol:"MTR",decimals:18},networkId:83,rpc:["https://83.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.meter.io"],shortName:"MeterTest",slip44:1,slug:"meter-testnet",testnet:!0},Eot={chain:"LNQ",chainId:84,explorers:[{name:"Linqto Devnet Explorer",url:"https://explorer.linqto-dev.com",standard:"EIP3091"}],faucets:[],infoURL:"https://linqto.com",name:"Linqto Devnet",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:18},networkId:84,rpc:["https://84.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linqto-dev.com"],shortName:"linqto-devnet",slug:"linqto-devnet",testnet:!1},_ot={chain:"GTTEST",chainId:85,explorers:[{name:"GateScan",url:"https://www.gatescan.org/testnet",standard:"EIP3091"}],faucets:["https://www.gatescan.org/testnet/faucet"],infoURL:"https://www.gatechain.io",name:"GateChain Testnet",nativeCurrency:{name:"GateToken",symbol:"GT",decimals:18},networkId:85,rpc:["https://85.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.gatenode.cc"],shortName:"gttest",slip44:1,slug:"gatechain-testnet",testnet:!0},Aot={chain:"GT",chainId:86,explorers:[{name:"GateScan",url:"https://www.gatescan.org",standard:"EIP3091"}],faucets:["https://www.gatescan.org/faucet"],infoURL:"https://www.gatechain.io",name:"GateChain Mainnet",nativeCurrency:{name:"GateToken",symbol:"GT",decimals:18},networkId:86,rpc:["https://86.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.gatenode.cc"],shortName:"gt",slug:"gatechain",testnet:!1},Cot={chain:"NNW",chainId:87,explorers:[{name:"novanetwork",url:"https://explorer.novanetwork.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTTamJ55YGQwMboq4aqf3JjTEy5WDtjo4GBRQ5VdsWA6U",width:512,height:512,format:"png"},infoURL:"https://novanetwork.io",name:"Nova Network",nativeCurrency:{name:"Supernova",symbol:"SNT",decimals:18},networkId:87,rpc:["https://87.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.novanetwork.io","https://0x57.redjackstudio.com","https://rpc.novanetwork.io:9070"],shortName:"nnw",slug:"nova-network",testnet:!1},Iot={chain:"Viction",chainId:88,explorers:[],faucets:[],infoURL:"https://viction.xyz",name:"Viction",nativeCurrency:{name:"Viction",symbol:"VIC",decimals:18},networkId:88,rpc:["https://88.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.viction.xyz"],shortName:"vic",slip44:889,slug:"viction",testnet:!1},kot={chain:"Viction",chainId:89,explorers:[],faucets:[],infoURL:"https://viction.xyz",name:"Viction Testnet",nativeCurrency:{name:"Viction",symbol:"VIC",decimals:18},networkId:89,rpc:["https://89.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.viction.xyz"],shortName:"vict",slip44:1,slug:"viction-testnet",testnet:!0},Sot={chain:"GAR",chainId:90,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage0",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:90,rpc:["https://90.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s0.garizon.net/rpc"],shortName:"gar-s0",slug:"garizon-stage0",testnet:!1},Rot={chain:"GAR",chainId:91,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage1",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:91,parent:{type:"shard",chain:"eip155-90"},rpc:["https://91.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s1.garizon.net/rpc"],shortName:"gar-s1",slug:"garizon-stage1",testnet:!1},Mot={chain:"GAR",chainId:92,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage2",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:92,parent:{type:"shard",chain:"eip155-90"},rpc:["https://92.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s2.garizon.net/rpc"],shortName:"gar-s2",slug:"garizon-stage2",testnet:!1},Bot={chain:"GAR",chainId:93,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage3",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:93,parent:{type:"shard",chain:"eip155-90"},rpc:["https://93.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s3.garizon.net/rpc"],shortName:"gar-s3",slug:"garizon-stage3",testnet:!1},Dot={chain:"SDLT",chainId:94,explorers:[{name:"SwissDLT Explorer",url:"https://explorer.swissdlt.ch",standard:"EIP3091",icon:{url:"ipfs://bafkreig7x5z4j6vh2r3pugmjnob3tmlksaekhqcgsorqzvs55o6v7ehqd4",width:682,height:512,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreig7x5z4j6vh2r3pugmjnob3tmlksaekhqcgsorqzvs55o6v7ehqd4",width:682,height:512,format:"png"},infoURL:"https://bcts.ch",name:"SwissDLT",nativeCurrency:{name:"BCTS",symbol:"BCTS",decimals:18},networkId:94,rpc:["https://94.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.swissdlt.ch"],shortName:"sdlt",slug:"swissdlt",testnet:!1},Pot={chain:"CADL",chainId:95,explorers:[{name:"CamDL Block Explorer",url:"https://explorer.camdl.gov.kh",standard:"EIP3091"}],faucets:["https://faucet.camdl.gov.kh/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmW5Fpb2Ywnfqcj4ibvpbKvPv5Mo5eseWdYZnnUvLkj2Hp",width:1453,height:1453,format:"png"},infoURL:"https://camdl.gov.kh/",name:"CamDL Mainnet",nativeCurrency:{name:"CADL",symbol:"CADL",decimals:18},networkId:95,redFlags:["reusedChainId"],rpc:["https://95.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.camdl.gov.kh/"],shortName:"camdl",slug:"camdl",status:"active",testnet:!1},Lot={chain:"BKC",chainId:96,explorers:[{name:"Bitkub Chain Explorer",url:"https://bkcscan.com",standard:"none",icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"},infoURL:"https://www.bitkubchain.com/",name:"Bitkub Chain",nativeCurrency:{name:"Bitkub Coin",symbol:"KUB",decimals:18},networkId:96,redFlags:["reusedChainId"],rpc:["https://96.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitkubchain.io","wss://wss.bitkubchain.io"],shortName:"bkc",slug:"bitkub-chain",testnet:!1},wHe={chain:"BSC",chainId:97,explorers:[{name:"bscscan-testnet",url:"https://testnet.bscscan.com",standard:"EIP3091"}],faucets:["https://testnet.bnbchain.org/faucet-smart"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/binance-coin/512.png",width:512,height:512,format:"png"},infoURL:"https://www.bnbchain.org/en",name:"BNB Smart Chain Testnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"tBNB",decimals:18},networkId:97,redFlags:[],rpc:["https://97.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-seed-prebsc-1-s1.bnbchain.org:8545","https://data-seed-prebsc-2-s1.bnbchain.org:8545","https://data-seed-prebsc-1-s2.bnbchain.org:8545","https://data-seed-prebsc-2-s2.bnbchain.org:8545","https://data-seed-prebsc-1-s3.bnbchain.org:8545","https://data-seed-prebsc-2-s3.bnbchain.org:8545","https://bsc-testnet-rpc.publicnode.com","wss://bsc-testnet-rpc.publicnode.com"],shortName:"bnbt",slip44:1,slug:"binance-testnet",testnet:!0},Fot={chain:"SIXNET",chainId:98,explorers:[{name:"SIX Scan",url:"https://sixscan.io/sixnet",standard:"none",icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"},infoURL:"https://six.network/",name:"Six Protocol",nativeCurrency:{name:"SIX evm token",symbol:"SIX",decimals:18},networkId:98,rpc:["https://98.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sixnet-rpc-evm.sixprotocol.net"],shortName:"six",slug:"six-protocol",testnet:!1},Not={chain:"POA",chainId:99,explorers:[{name:"blockscout",url:"https://blockscout.com/poa/core",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://poa.network",name:"POA Network Core",nativeCurrency:{name:"POA Network Core Ether",symbol:"POA",decimals:18},networkId:99,rpc:["https://99.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://core.poa.network"],shortName:"poa",slip44:178,slug:"poa-network-core",testnet:!1},Oot={chain:"GNO",chainId:100,explorers:[{name:"blockscout",url:"https://gnosis.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"gnosisscan",url:"https://gnosisscan.io",standard:"EIP3091"},{name:"dexguru",url:"https://gnosis.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:["https://gnosisfaucet.com","https://stakely.io/faucet/gnosis-chain-xdai","https://faucet.prussia.dev/xdai"],icon:{url:"ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm",width:1800,height:1800,format:"png"},infoURL:"https://docs.gnosischain.com",name:"Gnosis",nativeCurrency:{name:"xDAI",symbol:"XDAI",decimals:18},networkId:100,rpc:["https://100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gnosischain.com","https://rpc.gnosis.gateway.fm","https://rpc.ankr.com/gnosis","https://gnosischain-rpc.gateway.pokt.network","https://gnosis-mainnet.public.blastapi.io","https://gnosis.api.onfinality.io/public","https://gnosis.blockpi.network/v1/rpc/public","https://web3endpoints.com/gnosischain-mainnet","https://gnosis.oat.farm","wss://rpc.gnosischain.com/wss","https://gnosis-rpc.publicnode.com","wss://gnosis-rpc.publicnode.com"],shortName:"gno",slip44:700,slug:"gnosis",testnet:!1},Uot={chain:"ETI",chainId:101,explorers:[],faucets:[],infoURL:"https://einc.io",name:"EtherInc",nativeCurrency:{name:"EtherInc Ether",symbol:"ETI",decimals:18},networkId:1,rpc:["https://101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.einc.io/jsonrpc/mainnet"],shortName:"eti",slip44:464,slug:"etherinc",testnet:!1},Hot={chain:"Web3Games",chainId:102,explorers:[],faucets:[],icon:{url:"ipfs://QmUc57w3UTHiWapNW9oQb1dP57ymtdemTTbpvGkjVHBRCo",width:192,height:192,format:"png"},infoURL:"https://web3games.org/",name:"Web3Games Testnet",nativeCurrency:{name:"Web3Games",symbol:"W3G",decimals:18},networkId:102,rpc:["https://102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc-0.web3games.org/evm","https://testnet-rpc-1.web3games.org/evm","https://testnet-rpc-2.web3games.org/evm"],shortName:"tw3g",slip44:1,slug:"web3games-testnet",testnet:!0},zot={chain:"Worldland",chainId:103,explorers:[{name:"Worldland Explorer",url:"https://scan.worldland.foundation",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYZNTfK3byhgLsTjXP8vPubVHRz2CWsBrTJxZrQmKq6JZ",width:3509,height:2482,format:"png"},infoURL:"https://worldland.foundation",name:"WorldLand Mainnet",nativeCurrency:{name:"Worldland",symbol:"WLC",decimals:18},networkId:103,rpc:["https://103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seoul.worldland.foundation","https://seoul2.worldland.foundation"],shortName:"WLC",slug:"worldland",testnet:!1},Wot={chain:"tKLC",chainId:104,explorers:[{name:"kaibascan",url:"https://kaibascan.io",standard:"EIP3091",icon:{url:"ipfs://bafybeihbsw3ky7yf6llpww6fabo4dicotcgwjpefscoxrppstjx25dvtea",width:932,height:932,format:"png"}}],faucets:[],icon:{url:"ipfs://bafybeihbsw3ky7yf6llpww6fabo4dicotcgwjpefscoxrppstjx25dvtea",width:932,height:932,format:"png"},infoURL:"https://kaibadefi.com",name:"Kaiba Lightning Chain Testnet",nativeCurrency:{name:"Kaiba Testnet Token",symbol:"tKAIBA",decimals:18},networkId:104,rpc:["https://104.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://klc.live/"],shortName:"tklc",slip44:1,slug:"kaiba-lightning-chain-testnet",testnet:!0},qot={chain:"Web3Games",chainId:105,explorers:[{name:"Web3Games Explorer",url:"https://explorer-devnet.web3games.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmUc57w3UTHiWapNW9oQb1dP57ymtdemTTbpvGkjVHBRCo",width:192,height:192,format:"png"},infoURL:"https://web3games.org/",name:"Web3Games Devnet",nativeCurrency:{name:"Web3Games",symbol:"W3G",decimals:18},networkId:105,rpc:["https://105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.web3games.org/evm"],shortName:"dw3g",slug:"web3games-devnet",testnet:!1},jot={chain:"Velas",chainId:106,explorers:[{name:"Velas Explorer",url:"https://evmexplorer.velas.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNXiCXJxEeBd7ZYGYjPSMTSdbDd2nfodLC677gUfk9ku5",width:924,height:800,format:"png"},infoURL:"https://velas.com",name:"Velas EVM Mainnet",nativeCurrency:{name:"Velas",symbol:"VLX",decimals:18},networkId:106,rpc:["https://106.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmexplorer.velas.com/rpc","https://explorer.velas.com/rpc"],shortName:"vlx",slug:"velas-evm",testnet:!1},Got={chain:"NTN",chainId:107,explorers:[{name:"nebulatestnet",url:"https://explorer.novanetwork.io",standard:"EIP3091"}],faucets:["https://faucet.novanetwork.io"],icon:{url:"ipfs://QmeFaJtQqTKKuXQR7ysS53bLFPasFBcZw445cvYJ2HGeTo",width:512,height:512,format:"png"},infoURL:"https://novanetwork.io",name:"Nebula Testnet",nativeCurrency:{name:"Nebula X",symbol:"NBX",decimals:18},networkId:107,rpc:["https://107.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.novanetwork.io"],shortName:"ntn",slip44:1,slug:"nebula-testnet",testnet:!0},Kot={chain:"TT",chainId:108,explorers:[{name:"thundercore-viewblock",url:"https://viewblock.io/thundercore",standard:"EIP3091"}],faucets:[],infoURL:"https://thundercore.com",name:"ThunderCore Mainnet",nativeCurrency:{name:"ThunderCore Token",symbol:"TT",decimals:18},networkId:108,rpc:["https://108.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.thundercore.com","https://mainnet-rpc.thundertoken.net","https://mainnet-rpc.thundercore.io"],shortName:"TT",slip44:1001,slug:"thundercore",testnet:!1},Qot={chain:"Shibarium",chainId:109,explorers:[{name:"shibariumscan",url:"https://www.shibariumscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmYNVkoZgRjDBQzJz6kog9mA2yPzQFW2oSKvhnkwuBhLQE",width:2e3,height:2e3,format:"png"},infoURL:"https://shibariumecosystem.com",name:"Shibarium",nativeCurrency:{name:"BONE Shibarium",symbol:"BONE",decimals:18},networkId:109,rpc:["https://109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.shibrpc.com"],shortName:"shibariumecosystem",slug:"shibarium",testnet:!1},Vot={chain:"XPR",chainId:110,explorers:[],faucets:[],infoURL:"https://protonchain.com",name:"Proton Testnet",nativeCurrency:{name:"Proton",symbol:"XPR",decimals:4},networkId:110,rpc:["https://110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://protontestnet.greymass.com/"],shortName:"xpr",slip44:1,slug:"proton-testnet",testnet:!0},Yot={chain:"ETL",chainId:111,explorers:[],faucets:["https://etherlite.org/faucets"],icon:{url:"ipfs://QmbNAai1KnBnw4SPQKgrf6vBddifPCQTg2PePry1bmmZYy",width:88,height:88,format:"png"},infoURL:"https://etherlite.org",name:"EtherLite Chain",nativeCurrency:{name:"EtherLite",symbol:"ETL",decimals:18},networkId:111,rpc:["https://111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.etherlite.org"],shortName:"ETL",slug:"etherlite-chain",testnet:!1},$ot={chain:"Coinbit",chainId:112,explorers:[{name:"blockscout",url:"https://coinbit-explorer.chain.sbcrypto.app",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdaQRUbAXJGfHeJ8jaB8WVh8CCmHExq8VjvAfXpLWWQEo",width:760,height:760,format:"png"},infoURL:"https://crypto.stockbit.com/",name:"Coinbit Mainnet",nativeCurrency:{name:"Gas IDR",symbol:"GIDR",decimals:18},networkId:112,rpc:["https://112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coinbit-rpc-mainnet.chain.sbcrypto.app"],shortName:"coinbit",slug:"coinbit",testnet:!1},Jot={chain:"Dehvo",chainId:113,explorers:[{name:"Dehvo Explorer",url:"https://explorer.dehvo.com",standard:"EIP3091"}],faucets:["https://buy.dehvo.com"],infoURL:"https://dehvo.com",name:"Dehvo",nativeCurrency:{name:"Dehvo",symbol:"Deh",decimals:18},networkId:113,rpc:["https://113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.dehvo.com","https://rpc.dehvo.com","https://rpc1.dehvo.com","https://rpc2.dehvo.com"],shortName:"deh",slip44:714,slug:"dehvo",testnet:!1},Xot={chain:"FLR",chainId:114,explorers:[{name:"blockscout",url:"https://coston2-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://coston2.testnet.flarescan.com",standard:"EIP3091"}],faucets:["https://faucet.flare.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSmXY36oXCLmTp1u3Z2MSrBstBFVFyQv3aGKLKf1hxB6u",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Flare Testnet Coston2",nativeCurrency:{name:"Coston2 Flare",symbol:"C2FLR",decimals:18},networkId:114,rpc:["https://114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coston2-api.flare.network/ext/C/rpc","https://flaretestnet-bundler.etherspot.io","https://01-gravelines-005-01.rpc.tatum.io/ext/bc/C/rpc","https://02-chicago-005-02.rpc.tatum.io/ext/bc/C/rpc","https://02-tokyo-005-03.rpc.tatum.io/ext/bc/C/rpc","https://coston2.enosys.global/ext/C/rpc"],shortName:"c2flr",slip44:1,slug:"flare-testnet-coston2",testnet:!0},Zot={chain:"DeBank",chainId:115,explorers:[],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Testnet(Deprecated)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:115,rpc:[],shortName:"debank-testnet",slip44:1,slug:"debank-testnet-deprecated",status:"deprecated",testnet:!0},e1t={chain:"DeBank",chainId:116,explorers:[],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:116,rpc:[],shortName:"debank-mainnet",slug:"debank",status:"deprecated",testnet:!1},t1t={chain:"Uptick",chainId:117,explorers:[{name:"Uptick Explorer",url:"https://evm-explorer.uptick.network",standard:"none",icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"},infoURL:"https://www.uptick.network",name:"Uptick Mainnet",nativeCurrency:{name:"Uptick",symbol:"UPTICK",decimals:18},networkId:117,rpc:["https://117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.uptick.network"],shortName:"auptick",slug:"uptick",testnet:!1},n1t={chain:"Arcology",chainId:118,explorers:[{name:"arcology",url:"https://testnet.arcology.network/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmRD7itMvaZutfBjyA7V9xkMGDtsZiJSagPwd3ijqka8kE",width:288,height:288,format:"png"},infoURL:"https://arcology.network/",name:"Arcology Testnet",nativeCurrency:{name:"Arcology Coin",symbol:"Acol",decimals:18},networkId:118,rpc:["https://118.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.arcology.network/rpc"],shortName:"arcology",slip44:1,slug:"arcology-testnet",testnet:!0},a1t={chain:"ENULS",chainId:119,explorers:[{name:"enulsscan",url:"https://evmscan.nuls.io",standard:"EIP3091",icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"},infoURL:"https://nuls.io",name:"ENULS Mainnet",nativeCurrency:{name:"NULS",symbol:"NULS",decimals:18},networkId:119,rpc:["https://119.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmapi.nuls.io","https://evmapi2.nuls.io"],shortName:"enuls",slug:"enuls",testnet:!1},r1t={chain:"ENULS",chainId:120,explorers:[{name:"enulsscan",url:"https://beta.evmscan.nuls.io",standard:"EIP3091",icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"}}],faucets:["http://faucet.nuls.io"],icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"},infoURL:"https://nuls.io",name:"ENULS Testnet",nativeCurrency:{name:"NULS",symbol:"NULS",decimals:18},networkId:120,rpc:["https://120.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beta.evmapi.nuls.io","https://beta.evmapi2.nuls.io"],shortName:"enulst",slip44:1,slug:"enuls-testnet",testnet:!0},f1t={chain:"REAL",chainId:121,explorers:[{name:"realscan",url:"https://rclscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.rclsidechain.com/",name:"Realchain Mainnet",nativeCurrency:{name:"Realchain",symbol:"REAL",decimals:18},networkId:121,rpc:["https://121.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rcl-dataseed1.rclsidechain.com","https://rcl-dataseed2.rclsidechain.com","https://rcl-dataseed3.rclsidechain.com","https://rcl-dataseed4.rclsidechain.com","wss://rcl-dataseed1.rclsidechain.com/v1/","wss://rcl-dataseed2.rclsidechain.com/v1/","wss://rcl-dataseed3.rclsidechain.com/v1/","wss://rcl-dataseed4.rclsidechain.com/v1/"],shortName:"REAL",slip44:714,slug:"realchain",testnet:!1},i1t={chain:"FUSE",chainId:122,explorers:[{name:"blockscout",url:"https://explorer.fuse.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQg8aqyeaMfHvjzFDtZkb8dUNRYhFezPp8UYVc1HnLpRW/green.png",width:512,height:512,format:"png"},infoURL:"https://fuse.io/",name:"Fuse Mainnet",nativeCurrency:{name:"Fuse",symbol:"FUSE",decimals:18},networkId:122,redFlags:[],rpc:["https://122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.fuse.io","https://fuse.drpc.org","wss://fuse.drpc.org"],shortName:"fuse",slug:"fuse",testnet:!1},s1t={chain:"fuse",chainId:123,explorers:[],faucets:["https://get.fusespark.io"],features:[],icon:{url:"ipfs://QmQg8aqyeaMfHvjzFDtZkb8dUNRYhFezPp8UYVc1HnLpRW/green.png",width:512,height:512,format:"png"},infoURL:"https://docs.fuse.io/general/fuse-network-blockchain/fuse-testnet",name:"Fuse Sparknet",nativeCurrency:{name:"Spark",symbol:"SPARK",decimals:18},networkId:123,redFlags:[],rpc:["https://123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.fusespark.io"],shortName:"spark",slug:"fuse-sparknet",testnet:!0},o1t={chain:"DWU",chainId:124,explorers:[],faucets:[],infoURL:"https://decentralized-web.tech/dw_chain.php",name:"Decentralized Web Mainnet",nativeCurrency:{name:"Decentralized Web Utility",symbol:"DWU",decimals:18},networkId:124,rpc:["https://124.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://decentralized-web.tech/dw_rpc.php"],shortName:"dwu",slug:"decentralized-web",testnet:!1},c1t={chain:"OYchain",chainId:125,explorers:[{name:"OYchain Testnet Explorer",url:"https://explorer.testnet.oychain.io",standard:"none"}],faucets:["https://faucet.oychain.io"],infoURL:"https://www.oychain.io",name:"OYchain Testnet",nativeCurrency:{name:"OYchain Token",symbol:"OY",decimals:18},networkId:125,rpc:["https://125.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.oychain.io"],shortName:"OYchainTestnet",slip44:1,slug:"oychain-testnet",testnet:!0},d1t={chain:"OYchain",chainId:126,explorers:[{name:"OYchain Mainnet Explorer",url:"https://explorer.oychain.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXW5T2MaGHznXUmQEXoyJjcdmX7dhLbj5fnqvZZKqeKzA",width:677,height:237,format:"png"},infoURL:"https://www.oychain.io",name:"OYchain Mainnet",nativeCurrency:{name:"OYchain Token",symbol:"OY",decimals:18},networkId:126,rpc:["https://126.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.oychain.io"],shortName:"OYchainMainnet",slip44:126,slug:"oychain",testnet:!1},l1t={chain:"FETH",chainId:127,explorers:[],faucets:[],infoURL:"https://www.factory127.com",name:"Factory 127 Mainnet",nativeCurrency:{name:"Factory 127 Token",symbol:"FETH",decimals:18},networkId:127,rpc:[],shortName:"feth",slip44:127,slug:"factory-127",testnet:!1},u1t={chain:"Heco",chainId:128,explorers:[{name:"hecoinfo",url:"https://hecoinfo.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.hecochain.com",name:"Huobi ECO Chain Mainnet",nativeCurrency:{name:"Huobi ECO Chain Native Token",symbol:"HT",decimals:18},networkId:128,rpc:["https://128.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.hecochain.com","wss://ws-mainnet.hecochain.com"],shortName:"heco",slip44:1010,slug:"huobi-eco-chain",testnet:!1},p1t={chain:"INNOVATOR",chainId:129,explorers:[{name:"Innovator Explorer",url:"https://evm.innovatorchain.com",standard:"none",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmVJBGeFYZXMQqicNdzctMfvPN5CrtRrfZBTw3CEpkCBsS",width:1500,height:1500,format:"png"},infoURL:"https://innovatorchain.com",name:"Innovator Chain",nativeCurrency:{name:"INOV8",symbol:"INOV8",decimals:18},networkId:129,rpc:["https://129.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.innovatorchain.com"],shortName:"Innovator",slug:"innovator-chain",testnet:!1},h1t={chain:"tGRAM",chainId:131,explorers:[{name:"blockscout",url:"https://tokioscan-v2.engram.tech",standard:"EIP3091",icon:{url:"ipfs://bafkreidn7dolavrzgqxthydb6rt5iwuzm6cvkxqirzh2szarjspsdp4kyu",width:400,height:400,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreidn7dolavrzgqxthydb6rt5iwuzm6cvkxqirzh2szarjspsdp4kyu",width:400,height:400,format:"svg"},infoURL:"https://engramnet.io",name:"Engram Testnet",nativeCurrency:{name:"Engram Tokio Testnet",symbol:"tGRAM",decimals:18},networkId:131,rpc:["https://131.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tokioswift.engram.tech","https://tokio-archive.engram.tech"],shortName:"tgram",slug:"engram-testnet",testnet:!0},b1t={chain:"NFIC",chainId:132,explorers:[],faucets:[],infoURL:"https://namefi.io/",name:"Namefi Chain Mainnet",nativeCurrency:{name:"Namefi Coin",symbol:"NFIC",decimals:18},networkId:132,rpc:["https://132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chain.namefi.io"],shortName:"nfic",slug:"namefi-chain",testnet:!1},m1t={chain:"HashKey Chain Testnet",chainId:133,explorers:[],faucets:[],infoURL:"https://hashkey.cloud",name:"HashKey Chain Testnet",nativeCurrency:{name:"HashKey EcoPoints",symbol:"HSK",decimals:18},networkId:133,parent:{type:"L2",chain:"eip155-11155111"},rpc:[],shortName:"HSKT",slug:"hashkey-chain-testnet",testnet:!0,title:"HashKey Chain Testnet"},y1t={chain:"Bellecour",chainId:134,explorers:[{name:"blockscout",url:"https://blockscout.bellecour.iex.ec",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUYKpVmZL4aS3TEZLG5wbrRJ6exxLiwm1rejfGYYNicfb",width:155,height:155,format:"png"},infoURL:"https://iex.ec",name:"iExec Sidechain",nativeCurrency:{name:"xRLC",symbol:"xRLC",decimals:18},networkId:134,rpc:["https://134.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bellecour.iex.ec"],shortName:"rlc",slug:"iexec-sidechain",testnet:!1},g1t={chain:"Alyx Chain Testnet",chainId:135,explorers:[{name:"alyx testnet scan",url:"https://testnet.alyxscan.com",standard:"EIP3091"}],faucets:["https://faucet.alyxchain.com"],icon:{url:"ipfs://bafkreifd43fcvh77mdcwjrpzpnlhthounc6b4u645kukqpqhduaveatf6i",width:2481,height:2481,format:"png"},infoURL:"https://www.alyxchain.com",name:"Alyx Chain Testnet",nativeCurrency:{name:"Alyx Testnet Native Token",symbol:"ALYX",decimals:18},networkId:135,rpc:["https://135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.alyxchain.com"],shortName:"AlyxTestnet",slip44:1,slug:"alyx-chain-testnet",testnet:!0},v1t={chain:"Deamchain",chainId:136,explorers:[{name:"Deamchain Block Explorer",url:"https://scan.deamchain.com",standard:"EIP3091",icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"},infoURL:"https://deamchain.com",name:"Deamchain Mainnet",nativeCurrency:{name:"Deamchain Native Token",symbol:"DEAM",decimals:18},networkId:136,rpc:["https://136.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.deamchain.com"],shortName:"deam",slug:"deamchain",testnet:!1},H7={chain:"Polygon",chainId:137,explorers:[{name:"polygonscan",url:"https://polygonscan.com",standard:"EIP3091"},{name:"dexguru",url:"https://polygon.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/polygon/512.png",width:512,height:512,format:"png"},infoURL:"https://polygon.technology/",name:"Polygon Mainnet",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},networkId:137,redFlags:[],rpc:["https://137.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://polygon-mainnet.infura.io/v3/${INFURA_API_KEY}","https://polygon-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}","https://polygon-rpc.com/","https://rpc-mainnet.matic.network","https://matic-mainnet.chainstacklabs.com","https://rpc-mainnet.maticvigil.com","https://rpc-mainnet.matic.quiknode.pro","https://matic-mainnet-full-rpc.bwarelabs.com","https://polygon-bor-rpc.publicnode.com","wss://polygon-bor-rpc.publicnode.com","https://polygon.gateway.tenderly.co","wss://polygon.gateway.tenderly.co","https://polygon.drpc.org","wss://polygon.drpc.org"],shortName:"matic",slip44:966,slug:"polygon",testnet:!1},w1t={chain:"dfiometa",chainId:138,ens:{registry:"0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85"},explorers:[{name:"Blockscout Explorer",url:"https://blockscout.defi-oracle.io",standard:"none"},{name:"Quorum Explorer",url:"https://explorer.defi-oracle.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmYrMRnjQJcNkYq9AvZ2FQ9kzYj9szzP4YDmyNA1ybd8xE",width:1e3,height:1043,format:"png"},infoURL:"https://info.defi-oracle.io/",name:"Defi Oracle Meta Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1,rpc:["https://138.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.defi-oracle.io","wss://wss.defi-oracle.io"],shortName:"dfio-meta-main",slip44:60,slug:"defi-oracle-meta",testnet:!1},T1t={chain:"WOOP",chainId:139,explorers:[{name:"wikiwoop",url:"https://explorer.wikiwoop.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qma7LpnkGjAN1dwL6VTXUYqzySNxjLg4br7J8UE4yZWYec",width:310,height:310,format:"png"},infoURL:"https://wikiwoop.com",name:"WoopChain Mainnet",nativeCurrency:{name:"WoopCoin",symbol:"WOOC",decimals:18},networkId:139,rpc:["https://139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.woop.ai/rpc"],shortName:"woop",slug:"woopchain",testnet:!1},x1t={chain:"Eter",chainId:140,explorers:[],faucets:[],icon:{url:"ipfs://bafybeibexfskndvhn5xtrcmpjoifp2ufnzgwiwbfrjcxat55alergskkve",width:122,height:133,format:"svg"},infoURL:"https://eternalcoin.io",name:"EternalCoin Mainnet",nativeCurrency:{name:"Eternal",symbol:"Eter",decimals:18},networkId:140,rpc:["https://140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.eternalcoin.io/v1","ws://mainnet.eternalcoin.io/v1/ws"],shortName:"Eter",slug:"eternalcoin",testnet:!1},E1t={chain:"OPENPIECE",chainId:141,explorers:[{name:"Belly Scan",url:"https://testnet.bellyscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmVTahJkdSH3HPYsJMK2GmqfWZjLyxE7cXy1aHEnHU3vp2",width:250,height:250,format:"png"},infoURL:"https://cryptopiece.online",name:"Openpiece Testnet",nativeCurrency:{name:"Belly",symbol:"BELLY",decimals:18},networkId:141,rpc:["https://141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.openpiece.io"],shortName:"OPtest",slip44:1,slug:"openpiece-testnet",testnet:!0},_1t={chain:"DAX",chainId:142,explorers:[],faucets:[],infoURL:"https://prodax.io/",name:"DAX CHAIN",nativeCurrency:{name:"Prodax",symbol:"DAX",decimals:18},networkId:142,rpc:["https://142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.prodax.io"],shortName:"dax",slug:"dax-chain",testnet:!1},A1t={chain:"PHI",chainId:144,explorers:[{name:"Phiscan",url:"https://phiscan.com",standard:"none",icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"},infoURL:"https://phi.network",name:"PHI Network v2",nativeCurrency:{name:"PHI",symbol:"\u03A6",decimals:18},networkId:144,rpc:["https://144.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.phi.network"],shortName:"PHI",slug:"phi-network-v2",testnet:!1},C1t={chain:"SETH",chainId:145,explorers:[{name:"blockscout",url:"https://explorer.soraai.bot",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://soraai.bot",name:"SoraAI Testnet",nativeCurrency:{name:"SoraETH",symbol:"SETH",decimals:18},networkId:145,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.soraai.bot"}]},rpc:["https://145.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.soraai.bot"],shortName:"SETH",slip44:1,slug:"soraai-testnet",testnet:!0},Ose={chain:"Flag",chainId:147,explorers:[{name:"Flag Mainnet Explorer",url:"https://flagscan.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeibcrxeavdxpwwmj4mc6hhp232nkrfbpvfpngcqux2v5rmoshycj3u",width:500,height:500,format:"png"},infoURL:"https://flagscan.xyz",name:"Flag Mainnet",nativeCurrency:{name:"Flag",symbol:"FLAG",decimals:18},networkId:147,rpc:["https://147.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.flagscan.xyz"],shortName:"FLAG",slug:"flag",testnet:!1},I1t={chain:"ShimmerEVM",chainId:148,explorers:[{name:"explorer",url:"https://explorer.evm.shimmer.network",standard:"EIP3091",icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:18},networkId:148,rpc:["https://148.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.shimmer.network"],shortName:"shimmerevm",slug:"shimmerevm",testnet:!1,title:"ShimmerEVM"},k1t={chain:"FIVENET",chainId:150,explorers:[{name:"SIX Scan fivenet",url:"https://sixscan.io/fivenet",standard:"none",icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"}}],faucets:["https://faucet.sixprotocol.net"],icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"},infoURL:"https://six.network/",name:"Six Protocol Testnet",nativeCurrency:{name:"SIX testnet evm token",symbol:"tSIX",decimals:18},networkId:150,rpc:["https://150.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-evm.fivenet.sixprotocol.net"],shortName:"sixt",slug:"six-protocol-testnet",testnet:!0},S1t={chain:"RBN",chainId:151,explorers:[],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network Mainnet",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:151,rpc:[],shortName:"rbn",slip44:824,slug:"redbelly-network",status:"incubating",testnet:!1},R1t={chain:"RBN",chainId:152,explorers:[],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network Devnet",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:152,rpc:[],shortName:"rbn-devnet",slug:"redbelly-network-devnet",status:"incubating",testnet:!1},M1t={chain:"RBN",chainId:153,explorers:[{name:"Redbelly Network Testnet Explorer",url:"https://explorer.testnet.redbelly.network",standard:"none"}],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network Testnet",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:153,rpc:["https://153.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://governors.testnet.redbelly.network"],shortName:"rbn-testnet",slip44:1,slug:"redbelly-network-testnet",status:"active",testnet:!0},B1t={chain:"RBN",chainId:154,explorers:[],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network TGE",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:154,rpc:[],shortName:"rbn-tge",slug:"redbelly-network-tge",testnet:!1},D1t={chain:"TENET",chainId:155,explorers:[{name:"TenetScan Testnet",url:"https://testnet.tenetscan.io",standard:"EIP3091",icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"}}],faucets:["https://faucet.testnet.tenet.org"],icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"},infoURL:"https://tenet.org/",name:"Tenet Testnet",nativeCurrency:{name:"TENET",symbol:"TENET",decimals:18},networkId:155,rpc:["https://155.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.tenet.org"],shortName:"tenet-testnet",slip44:1,slug:"tenet-testnet",testnet:!0,title:"Tenet Testnet"},P1t={chain:"OEBt",chainId:156,explorers:[{name:"OEScan explorer",url:"https://testnet.oescan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdoQUfYqtkWMfjtoPv2KWDY4MxDDSsyWgwXtCx6jfkezz",width:155,height:177,format:"png"},infoURL:"https://www.oeblock.com/",name:"OEBlock Testnet",nativeCurrency:{name:"OEBlock",symbol:"OEB",decimals:18},networkId:156,rpc:["https://156.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.oeblock.com"],shortName:"obe",slip44:1,slug:"oeblock-testnet",testnet:!0},L1t={chain:"Puppynet Shibarium",chainId:157,explorers:[{name:"puppyscan",url:"https://puppyscan.shib.io",standard:"none"}],faucets:["https://beta.shibariumtech.com/faucet"],icon:{url:"ipfs://QmYNVkoZgRjDBQzJz6kog9mA2yPzQFW2oSKvhnkwuBhLQE",width:2e3,height:2e3,format:"png"},infoURL:"https://shibariumecosystem.com",name:"Puppynet Shibarium",nativeCurrency:{name:"BONE",symbol:"BONE",decimals:18},networkId:157,rpc:["https://157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://puppynet.shibrpc.com"],shortName:"puppynet",slug:"puppynet-shibarium",testnet:!1},F1t={chain:"RBA",chainId:158,explorers:[{name:"Rbascan Explorer",url:"https://rbascan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTk1uhB9nvnvXifvwEPGFcdgsXRt4EXNjovUGyUmfFRcB",width:4e3,height:4e3,format:"png"},infoURL:"https://www.roburna.com/",name:"Roburna Mainnet",nativeCurrency:{name:"Roburna",symbol:"RBA",decimals:18},networkId:158,rpc:["https://158.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.roburna.com"],shortName:"rba",slug:"roburna",testnet:!1},N1t={chain:"RBAT",chainId:159,explorers:[{name:"Rbascan Testnet Explorer",url:"https://testnet.rbascan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTk1uhB9nvnvXifvwEPGFcdgsXRt4EXNjovUGyUmfFRcB",width:4e3,height:4e3,format:"png"},infoURL:"https://www.roburna.com/",name:"Roburna Testnet",nativeCurrency:{name:"Roburna",symbol:"RBAT",decimals:18},networkId:159,rpc:["https://159.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://preseed-testnet-1.roburna.com"],shortName:"rbat",slug:"roburna-testnet",testnet:!0},O1t={chain:"Eva",chainId:160,explorers:[],faucets:[],infoURL:"https://amax.network",name:"Armonia Eva Chain Mainnet",nativeCurrency:{name:"Armonia Multichain Native Token",symbol:"AMAX",decimals:18},networkId:160,rpc:["https://160.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evascan.io/api/eth-rpc/"],shortName:"eva",slug:"armonia-eva-chain",status:"incubating",testnet:!1},U1t={chain:"Wall-e",chainId:161,explorers:[{name:"blockscout - evascan",url:"https://testnet.evascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://amax.network",name:"Armonia Eva Chain Testnet",nativeCurrency:{name:"Armonia Multichain Native Token",symbol:"AMAX",decimals:18},networkId:161,rpc:["https://161.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.evascan.io/api/eth-rpc/"],shortName:"wall-e",slip44:1,slug:"armonia-eva-chain-testnet",testnet:!0},H1t={chain:"PHT",chainId:162,explorers:[],faucets:["https://discuss.lightstreams.network/t/request-test-tokens"],infoURL:"https://explorer.sirius.lightstreams.io",name:"Lightstreams Testnet",nativeCurrency:{name:"Lightstreams PHT",symbol:"PHT",decimals:18},networkId:162,rpc:["https://162.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.sirius.lightstreams.io"],shortName:"tpht",slip44:1,slug:"lightstreams-testnet",testnet:!0},z1t={chain:"PHT",chainId:163,explorers:[],faucets:[],infoURL:"https://explorer.lightstreams.io",name:"Lightstreams Mainnet",nativeCurrency:{name:"Lightstreams PHT",symbol:"PHT",decimals:18},networkId:163,rpc:["https://163.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.mainnet.lightstreams.io"],shortName:"pht",slug:"lightstreams",testnet:!1},W1t={chain:"Omni",chainId:164,explorers:[{name:"Omni X-Explorer",url:"https://explorer.testnet.omni.network",standard:"none"},{name:"Omni EVM Explorer on Blockscout",url:"https://omni-testnet.blockscout.com",standard:"EIP3091"},{name:"Omni EVM Explorer on Routescan",url:"https://testnet.omniscan.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://docs.omni.network",name:"Omni Testnet",nativeCurrency:{name:"Omni",symbol:"OMNI",decimals:18},networkId:164,rpc:["https://164.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.omni.network"],shortName:"omni_testnet",slip44:1,slug:"omni-testnet",status:"active",testnet:!0},q1t={chain:"Omni",chainId:165,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://docs.omni.network/",name:"Omni Testnet (Deprecated)",nativeCurrency:{name:"Omni",symbol:"OMNI",decimals:18},networkId:165,rpc:[],shortName:"omni_testnet_deprecated",slip44:1,slug:"omni-testnet-deprecated",status:"deprecated",testnet:!0},j1t={chain:"Omni",chainId:166,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://docs.omni.network/",name:"Omni",nativeCurrency:{name:"Omni",symbol:"OMNI",decimals:18},networkId:166,rpc:[],shortName:"omni",slip44:1,slug:"omni",status:"incubating",testnet:!1},G1t={chain:"ATOSHI",chainId:167,explorers:[{name:"atoshiscan",url:"https://scan.atoverse.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfFK6B4MFLrpSS46aLf7hjpt28poHFeTGEKEuH248Tbyj",width:200,height:200,format:"png"},infoURL:"https://atoshi.org",name:"Atoshi Testnet",nativeCurrency:{name:"ATOSHI",symbol:"ATOS",decimals:18},networkId:167,rpc:["https://167.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.atoshi.io/"],shortName:"atoshi",slip44:1,slug:"atoshi-testnet",testnet:!0},K1t={chain:"AIOZ",chainId:168,explorers:[{name:"AIOZ Network Explorer",url:"https://explorer.aioz.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRAGPFhvQiXgoJkui7WHajpKctGFrJNhHqzYdwcWt5V3Z",width:1024,height:1024,format:"png"},infoURL:"https://aioz.network",name:"AIOZ Network",nativeCurrency:{name:"AIOZ",symbol:"AIOZ",decimals:18},networkId:168,rpc:["https://168.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-dataseed.aioz.network"],shortName:"aioz",slip44:60,slug:"aioz-network",testnet:!1},Q1t={chain:"Manta Pacific",chainId:169,explorers:[{name:"manta-pacific Explorer",url:"https://pacific-explorer.manta.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTckcVTViRZ3NqT36MTt8AvgBSmudrbgU3pi8AaNtthoV",width:834,height:834,format:"png"},infoURL:"https://pacific-info.manta.network",name:"Manta Pacific Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:169,rpc:["https://169.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pacific-rpc.manta.network/http","https://manta-pacific.drpc.org","wss://manta-pacific.drpc.org"],shortName:"manta",slug:"manta-pacific",testnet:!1},V1t={chain:"ETH",chainId:170,explorers:[],faucets:["https://faucet-testnet.hscscan.com/"],infoURL:"https://www.hoosmartchain.com",name:"HOO Smart Chain Testnet",nativeCurrency:{name:"HOO",symbol:"HOO",decimals:18},networkId:170,rpc:["https://170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.hoosmartchain.com"],shortName:"hoosmartchain",slip44:1,slug:"hoo-smart-chain-testnet",testnet:!0},Y1t={chain:"Resil",chainId:172,explorers:[],faucets:["https://faucet.latam-blockchain.com"],infoURL:"https://latam-blockchain.com",name:"Latam-Blockchain Resil Testnet",nativeCurrency:{name:"Latam-Blockchain Resil Test Native Token",symbol:"usd",decimals:18},networkId:172,rpc:["https://172.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.latam-blockchain.com","wss://ws.latam-blockchain.com"],shortName:"resil",slip44:1,slug:"latam-blockchain-resil-testnet",testnet:!0},$1t={chain:"dcchain",chainId:176,explorers:[{name:"dcscan",url:"https://exp.dcnetio.cloud",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQsNtUoaKUHWaxFMBuCQwkX9WmKHz7iNotcZTFkWo7Qgt",width:1020,height:1022,format:"png"},infoURL:"https://www.dcnetio.cloud",name:"DC Mainnet",nativeCurrency:{name:"DC Native Token",symbol:"DCT",decimals:18},networkId:176,rpc:["https://176.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dcnetio.cloud","wss://ws.dcnetio.cloud"],shortName:"dcchain",slug:"dc",testnet:!1},J1t={chain:"AME",chainId:180,explorers:[{name:"AME Scan",url:"https://amescan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://amechain.io/",name:"AME Chain Mainnet",nativeCurrency:{name:"AME",symbol:"AME",decimals:18},networkId:180,rpc:["https://180.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.amechain.io/"],shortName:"ame",slug:"ame-chain",testnet:!1},X1t={chain:"ETH",chainId:185,explorers:[{name:"blockscout",url:"https://explorer.mintchain.io",standard:"EIP3091",icon:{url:"ipfs://QmVfsiKWkiYzxoq1j2Ri3yLYGvgHJBPybVEPsgyw5kqsMN",width:96,height:96,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVfsiKWkiYzxoq1j2Ri3yLYGvgHJBPybVEPsgyw5kqsMN",width:96,height:96,format:"png"},infoURL:"https://www.mintchain.io",name:"Mint Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:185,rpc:["https://185.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mintchain.io","https://global.rpc.mintchain.io","https://asia.rpc.mintchain.io"],shortName:"mint",slug:"mint",testnet:!1},Z1t={chain:"Seele",chainId:186,explorers:[{name:"seeleview",url:"https://seeleview.net",standard:"none"}],faucets:[],infoURL:"https://seelen.pro/",name:"Seele Mainnet",nativeCurrency:{name:"Seele",symbol:"Seele",decimals:18},networkId:186,rpc:["https://186.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.seelen.pro/"],shortName:"Seele",slug:"seele",testnet:!1},ect={chain:"BMC",chainId:188,explorers:[{name:"Blockmeta",url:"https://bmc.blockmeta.com",standard:"none"}],faucets:[],infoURL:"https://bmc.bytom.io/",name:"BMC Mainnet",nativeCurrency:{name:"BTM",symbol:"BTM",decimals:18},networkId:188,rpc:["https://188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bmcchain.com/"],shortName:"BMC",slug:"bmc",testnet:!1},tct={chain:"BMC",chainId:189,explorers:[{name:"Blockmeta",url:"https://bmctestnet.blockmeta.com",standard:"none"}],faucets:[],infoURL:"https://bmc.bytom.io/",name:"BMC Testnet",nativeCurrency:{name:"BTM",symbol:"BTM",decimals:18},networkId:189,rpc:["https://189.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bmcchain.com"],shortName:"BMCT",slip44:1,slug:"bmc-testnet",testnet:!0},nct={chain:"FFG",chainId:191,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreihsas2rwakc7lllmtb4pcgwutlel2woibmqmhd4aiin342zgtpmwy",width:512,height:512,format:"png"},infoURL:"https://filefilego.com",name:"FileFileGo",nativeCurrency:{name:"FFG",symbol:"FFG",decimals:18},networkId:191,rpc:["https://191.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.filefilego.com/rpc"],shortName:"ffg",slug:"filefilego",testnet:!1},act={chain:"CEM",chainId:193,explorers:[{name:"cemscan",url:"https://cemscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://cemblockchain.com/",name:"Crypto Emergency",nativeCurrency:{name:"Crypto Emergency",symbol:"CEM",decimals:18},networkId:193,rpc:["https://193.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cemchain.com"],shortName:"cem",slug:"crypto-emergency",testnet:!1},rct={chain:"X Layer",chainId:195,explorers:[{name:"OKLink",url:"https://www.oklink.com/xlayer-test",standard:"EIP3091"}],faucets:["https://www.okx.com/xlayer/faucet"],features:[],icon:{url:"ipfs://QmSLkiAAr6VtJ6jEqEzz3QdZtVEHzR6Az7E4XD8qXwjuio",width:1e3,height:1e3,format:"png"},infoURL:"https://www.okx.com/xlayer",name:"X Layer Testnet",nativeCurrency:{name:"X Layer Global Utility Token in testnet",symbol:"OKB",decimals:18},networkId:195,rpc:["https://195.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.xlayer.tech","https://xlayertestrpc.okx.com"],shortName:"tokb",slip44:1,slug:"x-layer-testnet",status:"active",testnet:!0},fct={chain:"X Layer",chainId:196,explorers:[{name:"OKLink",url:"https://www.oklink.com/xlayer",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmSLkiAAr6VtJ6jEqEzz3QdZtVEHzR6Az7E4XD8qXwjuio",width:1e3,height:1e3,format:"png"},infoURL:"https://www.okx.com/xlayer",name:"X Layer Mainnet",nativeCurrency:{name:"X Layer Global Utility Token",symbol:"OKB",decimals:18},networkId:196,rpc:["https://196.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xlayer.tech","https://xlayerrpc.okx.com"],shortName:"okb",slug:"x-layer",status:"active",testnet:!1},ict={chain:"NEUTR",chainId:197,explorers:[{name:"blockscout",url:"https://testnet.neutrinoschain.com",standard:"EIP3091"}],faucets:["https://neutrinoschain.com/faucet"],infoURL:"https://docs.neutrinoschain.com",name:"Neutrinos TestNet",nativeCurrency:{name:"Neutrinos",symbol:"NEUTR",decimals:18},networkId:197,rpc:["https://197.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.neutrinoschain.com"],shortName:"NEUTR",slip44:1,slug:"neutrinos-testnet",testnet:!0},sct={chain:"Bit",chainId:198,explorers:[{name:"Bitchain Scan",url:"https://explorer.bitchain.biz",standard:"EIP3091"}],faucets:[],infoURL:"https://www.bitchain.biz/",name:"Bitchain Mainnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:198,rpc:["https://198.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitchain.biz/"],shortName:"bit",slug:"bitchain",testnet:!1},oct={chain:"BTTC",chainId:199,explorers:[{name:"BitTorrent Chain Explorer",url:"https://bttcscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://bt.io",name:"BitTorrent Chain Mainnet",nativeCurrency:{name:"BitTorrent",symbol:"BTT",decimals:18},networkId:199,rpc:["https://199.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bt.io","https://bittorrent.drpc.org","wss://bittorrent.drpc.org"],shortName:"BTT",slug:"bittorrent-chain",testnet:!1},cct={chain:"AOX",chainId:200,explorers:[{name:"blockscout",url:"https://blockscout.com/xdai/arbitrum",standard:"EIP3091"}],faucets:[],infoURL:"https://xdaichain.com",name:"Arbitrum on xDai",nativeCurrency:{name:"xDAI",symbol:"xDAI",decimals:18},networkId:200,parent:{type:"L2",chain:"eip155-100"},rpc:["https://200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://arbitrum.xdaichain.com/"],shortName:"aox",slug:"arbitrum-on-xdai",testnet:!1},dct={chain:"MOAC",chainId:201,explorers:[{name:"moac testnet explorer",url:"https://testnet.moac.io",standard:"none"}],faucets:[],infoURL:"https://moac.io",name:"MOAC testnet",nativeCurrency:{name:"MOAC",symbol:"mc",decimals:18},networkId:201,rpc:["https://201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gateway.moac.io/testnet"],shortName:"moactest",slip44:1,slug:"moac-testnet",testnet:!0},lct={chain:"EdgelessTestnet",chainId:202,explorers:[{name:"Edgeless Explorer",url:"https://testnet.explorer.edgeless.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://edgeless.network",name:"Edgeless Testnet",nativeCurrency:{name:"Edgeless Wrapped Eth",symbol:"EwEth",decimals:18},networkId:202,rpc:["https://202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.edgeless.network/http"],shortName:"edgeless-testnet",slug:"edgeless-testnet",testnet:!0},uct={chain:"opBNB",chainId:204,explorers:[{name:"opbnbscan",url:"https://mainnet.opbnbscan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmXxTwwfYzagtJqvWreUDoq4pKz3A22YmAi7c3hcgZp5Rt/bnb-bnb-logo.png",width:96,height:96,format:"png"},infoURL:"https://opbnb.bnbchain.org/en",name:"opBNB Mainnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"BNB",decimals:18},networkId:204,redFlags:[],rpc:["https://204.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://opbnb-mainnet-rpc.bnbchain.org","https://opbnb-mainnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3","wss://opbnb-mainnet.nodereal.io/ws/v1/64a9df0874fb4a93b9d0a3849de012d3","https://opbnb-mainnet.nodereal.io/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","wss://opbnb-mainnet.nodereal.io/ws/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","https://opbnb-rpc.publicnode.com","wss://opbnb-rpc.publicnode.com","https://opbnb.drpc.org","wss://opbnb.drpc.org"],shortName:"obnb",slip44:714,slug:"opbnb",testnet:!1},pct={chain:"VinuChain Testnet",chainId:206,explorers:[{name:"VinuScan Testnet",url:"https://testnet.vinuscan.com",standard:"none",icon:{url:"ipfs://bafkreiayq7a5qncxzlilfnvpgzt4pwfxbof2qrqr2nyd2suztfummpty4i",width:2e3,height:2e3,format:"jpg"}}],faucets:[],icon:{url:"ipfs://bafkreidtie4srt52ry67wd3dpxhklmug2ozrawvf3jdlljveinp3frutra",width:2e3,height:392,format:"png"},infoURL:"https://vitainu.org",name:"VinuChain Testnet",nativeCurrency:{name:"VinuChain",symbol:"VC",decimals:18},networkId:206,rpc:["https://206.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vinufoundation-rpc.com"],shortName:"VCTEST",slip44:1,slug:"vinuchain-testnet",testnet:!0},hct={chain:"VinuChain",chainId:207,explorers:[{name:"VinuScan",url:"https://vinuscan.com",standard:"none",icon:{url:"ipfs://bafkreiayq7a5qncxzlilfnvpgzt4pwfxbof2qrqr2nyd2suztfummpty4i",width:2e3,height:2e3,format:"jpg"}}],faucets:[],icon:{url:"ipfs://bafybeiderli6uaaxk7eboyf7g4abnybgrkbglmqbkmf25z57ode7zdzmvy",width:613,height:613,format:"png"},infoURL:"https://vitainu.org",name:"VinuChain Network",nativeCurrency:{name:"VinuChain",symbol:"VC",decimals:18},networkId:207,rpc:["https://207.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vinuchain-rpc.com"],shortName:"VC",slug:"vinuchain-network",testnet:!1},bct={chain:"utx",chainId:208,explorers:[],faucets:[],infoURL:"https://structx.io",name:"Structx Mainnet",nativeCurrency:{name:"Notes",symbol:"utx",decimals:18},networkId:208,rpc:["https://208.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.structx.io"],shortName:"utx",slug:"structx",testnet:!1},mct={chain:"BTN",chainId:210,explorers:[{name:"Bitnet Explorer",url:"https://btnscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmS9h3nFiCzaBLnBNw8Wot4U7vvEVK45EQfi8nxH4nvrmz",width:512,height:512,format:"png"},infoURL:"https://bitnet.money",name:"Bitnet",nativeCurrency:{name:"Bitnet",symbol:"BTN",decimals:18},networkId:210,rpc:["https://210.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitnet.money","https://rpc.btnscan.com"],shortName:"BTN",slug:"bitnet",testnet:!1},yct={chain:"EDI",chainId:211,explorers:[],faucets:["http://faucet.freight.sh"],infoURL:"https://freighttrust.com",name:"Freight Trust Network",nativeCurrency:{name:"Freight Trust Native",symbol:"0xF",decimals:18},networkId:0,rpc:["https://211.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://13.57.207.168:3435","https://app.freighttrust.net/ftn/${API_KEY}"],shortName:"EDI",slug:"freight-trust-network",testnet:!1},gct={chain:"MAPO",chainId:212,explorers:[{name:"maposcan",url:"https://testnet.maposcan.io",standard:"EIP3091"}],faucets:["https://faucet.mapprotocol.io"],infoURL:"https://mapprotocol.io/",name:"MAPO Makalu",nativeCurrency:{name:"Makalu MAPO",symbol:"MAPO",decimals:18},networkId:212,rpc:["https://212.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.maplabs.io"],shortName:"makalu",slug:"mapo-makalu",testnet:!0,title:"MAPO Testnet Makalu"},vct={chain:"B2",chainId:213,explorers:[{name:"B2 Hub Mainnet Explorer",url:"https://hub-explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Hub Mainnet",nativeCurrency:{name:"BSquared Token",symbol:"B2",decimals:18},networkId:213,rpc:["https://213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hub-rpc.bsquared.network"],shortName:"B2Hub-mainnet",slug:"b2-hub",testnet:!1},wct={chain:"Shinarium",chainId:214,explorers:[{name:"shinascan",url:"https://shinascan.shinarium.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiadbavrwcial76vs5ovhyykyaobteltuhliqcthdairbja4klwzhu",width:1e3,height:1e3,format:"png"},infoURL:"https://shinarium.org",name:"Shinarium Mainnet",nativeCurrency:{name:"Shina Inu",symbol:"SHI",decimals:18},networkId:214,rpc:["https://214.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.shinarium.org"],shortName:"shinarium",slug:"shinarium",testnet:!1},Tct={chain:"SIN2",chainId:217,explorers:[{name:"siriusnet explorer",url:"https://scan.siriusnet.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafybeicxuxdzrzpwsil4owqmn7wpwka2rqsohpfqmukg57pifzyxr5om2q",width:100,height:100,format:"png"},infoURL:"https://siriusnet.io",name:"SiriusNet V2",nativeCurrency:{name:"MCD",symbol:"MCD",decimals:18},networkId:217,rpc:["https://217.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc2.siriusnet.io"],shortName:"SIN2",slug:"siriusnet-v2",testnet:!1},xct={chain:"SOTER",chainId:218,explorers:[],faucets:[],infoURL:"https://www.soterone.com",name:"SoterOne Mainnet old",nativeCurrency:{name:"SoterOne Mainnet Ether",symbol:"SOTER",decimals:18},networkId:218,rpc:["https://218.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.soter.one"],shortName:"SO1-old",slug:"soterone-old",status:"deprecated",testnet:!1},Ect={chain:"Flag",chainId:220,explorers:[{name:"flagscan",url:"https://scan.flagscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmXo2p1i4zsbTNEu41EjjrhdmbKFDGHEHeADXZ3x2fgNKE/1682003789585.jpeg",width:200,height:200,format:"jpeg"},infoURL:"https://flagblockchain.com/",name:"Flag Mainnet",nativeCurrency:{name:"Flag",symbol:"Flag",decimals:18},networkId:220,redFlags:[],rpc:["https://220.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.flagscan.io/"],shortName:"Flag",slug:"flag-flag",testnet:!1},_ct={chain:"ASK",chainId:222,explorers:[],faucets:[],infoURL:"https://permission.io/",name:"Permission",nativeCurrency:{name:"ASK",symbol:"ASK",decimals:18},networkId:2221,rpc:["https://222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain-api-mainnet.permission.io/rpc"],shortName:"ASK",slip44:2221,slug:"permission",status:"deprecated",testnet:!1},Act={chain:"B2",chainId:223,explorers:[{name:"blockscout",url:"https://explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Mainnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:223,parent:{type:"L2",chain:"eip155-213",bridges:[{url:"https://www.bsquared.network/bridge"}]},rpc:["https://223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.b2-rpc.com","https://rpc.bsquared.network","https://b2-mainnet.alt.technology","https://b2-mainnet-public.s.chainbase.com"],shortName:"B2-mainnet",slug:"b2",testnet:!1,title:"B2 Mainnet"},Cct={chain:"VRD",chainId:224,explorers:[{name:"Viridis Testnet",url:"https://testnet.vrd.network",standard:"EIP3091"}],faucets:["https://faucet.vrd.network"],icon:{url:"ipfs://QmPdxcJwPogfZdec7UAqxeatRxrivEktpP1ftJBTeJQTdR",width:3e3,height:2e3,format:"png"},infoURL:"https://viridis.network",name:"Viridis Testnet",nativeCurrency:{name:"Viridis Token",symbol:"VRD",decimals:18},networkId:224,rpc:["https://224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.vrd.network"],shortName:"VRD-Testnet",slug:"viridis-testnet",testnet:!0},Ict={chain:"LA",chainId:225,explorers:[{name:"blockscout",url:"https://scan.lachain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},infoURL:"https://lachain.io",name:"LACHAIN Mainnet",nativeCurrency:{name:"LA",symbol:"LA",decimals:18},networkId:225,rpc:["https://225.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.lachain.io"],shortName:"LA",slug:"lachain",testnet:!1},kct={chain:"TLA",chainId:226,explorers:[{name:"blockscout",url:"https://scan-test.lachain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},infoURL:"https://lachain.io",name:"LACHAIN Testnet",nativeCurrency:{name:"TLA",symbol:"TLA",decimals:18},networkId:226,rpc:["https://226.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.lachain.io"],shortName:"TLA",slip44:1,slug:"lachain-testnet",testnet:!0},Sct={chain:"FHE",chainId:228,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://mindnetwork.xyz",name:"Mind Network Mainnet",nativeCurrency:{name:"FHE",symbol:"FHE",decimals:18},networkId:228,rpc:["https://228.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc_mainnet.mindnetwork.xyz","wss://rpc_mainnet.mindnetwork.xyz"],shortName:"fhe",slug:"mind-network",testnet:!1},Rct={chain:"SDX",chainId:230,explorers:[{name:"SwapDEX",url:"https://evm.swapdex.network",standard:"none"}],faucets:[],infoURL:"https://swapdex.network/",name:"SwapDEX",nativeCurrency:{name:"SwapDEX",symbol:"SDX",decimals:18},networkId:230,rpc:["https://230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.swapdex.network","wss://ss.swapdex.network"],shortName:"SDX",slug:"swapdex",testnet:!1},Mct={chain:"Jumbo",chainId:234,explorers:[{name:"ProtoJumbo",url:"https://protojumbo.jumbochain.org",standard:"EIP3091"}],faucets:["https://protojumbo.jumbochain.org/faucet-smart"],features:[{name:"EIP155"}],infoURL:"https://jumbochain.org",name:"ProtoJumbo Testnet",nativeCurrency:{name:"JNFTC",symbol:"JNFTC",decimals:18},networkId:234,rpc:["https://234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnode.jumbochain.org"],shortName:"ProtoJumbo",slip44:1,slug:"protojumbo-testnet",testnet:!0},Bct={chain:"Deamchain",chainId:236,explorers:[{name:"Deamchain Testnet Explorer",url:"https://testnet-scan.deamchain.com",standard:"EIP3091",icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"}}],faucets:["https://faucet.deamchain.com"],icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"},infoURL:"https://deamchain.com",name:"Deamchain Testnet",nativeCurrency:{name:"Deamchain Native Token",symbol:"DEAM",decimals:18},networkId:236,rpc:["https://236.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.deamchain.com"],shortName:"deamtest",slip44:1,slug:"deamchain-testnet",testnet:!0},Dct={chain:"ETH",chainId:238,explorers:[{name:"Blast Mainnet",url:"https://scan.blastblockchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdHpjiepU2Q4bt4kR48tKHPgaQW57Sb6UVFgLh4MCyg6U",width:595,height:582,format:"png"},infoURL:"https://docs.blastblockchain.com",name:"Blast Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:238,rpc:["https://238.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blastblockchain.com"],shortName:"blast",slug:"blast",testnet:!1},Pct={chain:"Plinga",chainId:242,explorers:[{name:"plgscan",url:"https://www.plgscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeibpvlod5nyev6wyuvp6pbestmgvru3ovbadsul32odpno26xwld6y",width:1039,height:1022,format:"svg"},infoURL:"https://www.plinga.technology/",name:"Plinga Mainnet",nativeCurrency:{name:"Plinga",symbol:"PLINGA",decimals:18},networkId:242,rpc:["https://242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcurl.mainnet.plgchain.com","https://rpcurl.plgchain.blockchain.evmnode.online","https://rpcurl.mainnet.plgchain.plinga.technology"],shortName:"plgchain",slug:"plinga",testnet:!1},Lct={chain:"Energy Web Chain",chainId:246,explorers:[{name:"blockscout",url:"https://explorer.energyweb.org",standard:"none"}],faucets:[],infoURL:"https://energyweb.org",name:"Energy Web Chain",nativeCurrency:{name:"Energy Web Token",symbol:"EWT",decimals:18},networkId:246,rpc:["https://246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.energyweb.org","wss://rpc.energyweb.org/ws"],shortName:"ewt",slip44:246,slug:"energy-web-chain",testnet:!1},Fct={chain:"Oasys",chainId:248,explorers:[{name:"blockscout",url:"https://explorer.oasys.games",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmYcGHTPheBwLv9zoJfQAJ7NB6MCtXe2zV7XqPyiTJg3WP/Oasys_Large%20Logo%20Black.png",width:1250,height:1250,format:".png"},infoURL:"https://oasys.games",name:"Oasys Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:248,redFlags:[],rpc:["https://248.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.oasys.games"],shortName:"OAS",slug:"oasys",testnet:!1},THe={chain:"FTM",chainId:250,explorers:[{name:"ftmscan",url:"https://ftmscan.com",standard:"EIP3091",icon:{url:"ipfs://QmRqbK449Fo9sJ3xMpkPbg6uV1weQj4yVV1xNMP9cdPmjf",width:73,height:73,format:"png"}},{name:"dexguru",url:"https://fantom.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"},infoURL:"https://fantom.foundation",name:"Fantom Opera",nativeCurrency:{name:"Fantom",symbol:"FTM",decimals:18},networkId:250,redFlags:[],rpc:["https://250.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ftm.tools","https://fantom-rpc.publicnode.com","wss://fantom-rpc.publicnode.com","https://fantom.drpc.org","wss://fantom.drpc.org"],shortName:"ftm",slug:"fantom",testnet:!1},Nct={chain:"FRAX",chainId:252,explorers:[{name:"fraxscan",url:"https://fraxscan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmQLJk5G7zF8ZDxSxkRcpHqEqcifrJEhGmEKC6zwyPXWAw/fraxchain.png",width:512,height:512,format:"PNG"},infoURL:"https://mainnet.frax.com",name:"Fraxtal",nativeCurrency:{name:"Frax Ether",symbol:"frxETH",decimals:18},networkId:252,redFlags:[],rpc:["https://252.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.frax.com"],shortName:"fraxtal",slug:"fraxtal",status:"active",testnet:!1},Oct={chain:"ETH",chainId:255,explorers:[{name:"blockscout",url:"https://blockscout.kroma.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"},infoURL:"https://kroma.network",name:"Kroma",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:255,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://kroma.network/bridge"}]},redFlags:[],rpc:["https://255.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.kroma.network","https://1rpc.io/kroma","https://rpc-kroma.rockx.com"],shortName:"kroma",slug:"kroma",testnet:!1},Uct={chain:"Heco",chainId:256,explorers:[],faucets:["https://scan-testnet.hecochain.com/faucet"],infoURL:"https://testnet.hecoinfo.com",name:"Huobi ECO Chain Testnet",nativeCurrency:{name:"Huobi ECO Chain Test Native Token",symbol:"htt",decimals:18},networkId:256,rpc:["https://256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.hecochain.com","wss://ws-testnet.hecochain.com"],shortName:"hecot",slug:"huobi-eco-chain-testnet",testnet:!0},Hct={chain:"Setheum",chainId:258,explorers:[],faucets:[],infoURL:"https://setheum.xyz",name:"Setheum",nativeCurrency:{name:"Setheum",symbol:"SETM",decimals:18},networkId:258,rpc:[],shortName:"setm",slug:"setheum",testnet:!1},zct={chain:"Neonlink",chainId:259,explorers:[{name:"Neon Blockchain Explorer",url:"https://scan.neonlink.io",standard:"EIP3091",icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"},infoURL:"https://neonlink.io",name:"Neonlink Mainnet",nativeCurrency:{name:"Neonlink Native Token",symbol:"NEON",decimals:18},networkId:259,rpc:["https://259.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.neonlink.io"],shortName:"neon",slug:"neonlink",testnet:!1},Wct={chain:"SUR",chainId:262,explorers:[{name:"Surnet Explorer",url:"https://explorer.surnet.org",standard:"EIP3091",icon:{url:"ipfs://QmbUcDQHCvheYQrWk9WFJRMW5fTJQmtZqkoGUed4bhCM7T",width:3e3,height:3e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbUcDQHCvheYQrWk9WFJRMW5fTJQmtZqkoGUed4bhCM7T",width:3e3,height:3e3,format:"png"},infoURL:"https://surnet.org",name:"SUR Blockchain Network",nativeCurrency:{name:"Suren",symbol:"SRN",decimals:18},networkId:1,rpc:["https://262.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sur.nilin.org"],shortName:"SUR",slug:"sur-blockchain-network",testnet:!1},qct={chain:"NEURA",chainId:266,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"},infoURL:"https://www.neuraprotocol.io/",name:"Neura",nativeCurrency:{name:"Ankr",symbol:"ANKR",decimals:18},networkId:266,rpc:[],shortName:"neura",slug:"neura",status:"incubating",testnet:!1,title:"Neura Mainnet"},jct={chain:"NEURA",chainId:267,explorers:[{name:"blockscout",url:"https://explorer.neura-testnet.ankr.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"ankrscan-neura",url:"https://testnet.explorer.neuraprotocol.io",standard:"EIP3091",icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"}}],faucets:["https://testnet.neuraprotocol.io/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"},infoURL:"https://www.neuraprotocol.io/",name:"Neura Testnet",nativeCurrency:{name:"Testnet Ankr",symbol:"ANKR",decimals:18},networkId:267,rpc:["https://267.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ankr.com/neura_testnet"],shortName:"tneura",slip44:1,slug:"neura-testnet",status:"active",testnet:!0,title:"Neura Testnet"},Gct={chain:"NEURA",chainId:268,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"},infoURL:"https://www.neuraprotocol.io/",name:"Neura Devnet",nativeCurrency:{name:"Devnet Ankr",symbol:"ANKR",decimals:18},networkId:268,rpc:[],shortName:"dneura",slip44:1,slug:"neura-devnet",status:"incubating",testnet:!1,title:"Neura Devnet"},Kct={chain:"HPB",chainId:269,explorers:[{name:"hscan",url:"https://hscan.org",standard:"EIP3091"}],faucets:["https://myhpbwallet.com/"],infoURL:"https://hpb.io",name:"High Performance Blockchain",nativeCurrency:{name:"High Performance Blockchain Ether",symbol:"HPB",decimals:18},networkId:269,rpc:["https://269.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hpbnode.com","wss://ws.hpbnode.com"],shortName:"hpb",slip44:269,slug:"high-performance-blockchain",testnet:!1},Qct={chain:"EGON",chainId:271,explorers:[{name:"EgonCoin Mainnet",url:"https://egonscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNZiMmzMQYjyGtNSghtzLg4UooYhDgMQsa677DAP5KsBg",width:512,height:512,format:"png"},infoURL:"https://egonscan.com",name:"EgonCoin Mainnet",nativeCurrency:{name:"EgonCoin",symbol:"EGON",decimals:18},networkId:271,rpc:["https://271.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.egonscan.com"],shortName:"EGONm",slug:"egoncoin",testnet:!1},Vct={chain:"LaChain",chainId:274,explorers:[{name:"LaChain Explorer",url:"https://explorer.lachain.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},name:"LaChain",nativeCurrency:{name:"LaCoin",symbol:"LAC",decimals:18},networkId:274,rpc:["https://274.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.mainnet.lachain.network","https://rpc2.mainnet.lachain.network","https://lachain.rpc-nodes.cedalio.dev"],shortName:"lachain",slug:"lachain-lachain",testnet:!1},Yct={chain:"FAI",chainId:278,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://xfair.ai",name:"xFair.AI Mainnet",nativeCurrency:{name:"FAI",symbol:"FAI",decimals:18},networkId:278,rpc:["https://278.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc_mainnet.xfair.ai","wss://rpc_mainnet.xfair.ai"],shortName:"fai",slug:"xfair-ai",testnet:!1},$ct={chain:"BPX",chainId:279,explorers:[],faucets:[],icon:{url:"ipfs://bafkreiatcu42wbjlo24mr35jou4awvsqpaqys6iv4kxgkjhno3haovsiaq",width:140,height:140,format:"svg"},infoURL:"https://bpxchain.cc",name:"BPX Blockchain",nativeCurrency:{name:"BPX",symbol:"BPX",decimals:18},networkId:279,rpc:["https://279.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.bpxchain.cc","https://bpx-dataseed.infinex.cc"],shortName:"bpx",slug:"bpx-blockchain",testnet:!1},Jct={chain:"ETH",chainId:280,explorers:[{name:"zkSync Era Block Explorer",url:"https://goerli.explorer.zksync.io",standard:"EIP3091",icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"},infoURL:"https://zksync.io/",name:"zkSync Era Goerli Testnet (deprecated)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:280,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zksync.io/"}]},redFlags:[],rpc:["https://280.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.era.zksync.dev"],shortName:"zksync-goerli",slip44:1,slug:"zksync-era-goerli-testnet-deprecated",status:"deprecated",testnet:!0},Xct={chain:"CronosZkEVMTestnet",chainId:282,explorers:[{name:"Cronos zkEVM Testnet Explorer",url:"https://zkevm-t0.cronos.org/explorer",standard:"none"}],faucets:["https://zkevm-t0.cronos.org/faucet"],infoURL:"https://docs.cronos.org/cronos-zkevm-chain/introduction-to-cronos-zkevm-chain-testnet",name:"Cronos zkEVM Testnet",nativeCurrency:{name:"Cronos zkEVM Test Coin",symbol:"TCRO",decimals:18},networkId:282,rpc:["https://282.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-zkevm-t0.cronos.org"],shortName:"zktcro",slip44:1,slug:"cronos-zkevm-testnet",testnet:!0},Zct={chain:"ETH",chainId:288,explorers:[{name:"Bobascan",url:"https://bobascan.com",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:288,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.boba.network","https://replica.boba.network","https://boba-ethereum.gateway.tenderly.co","https://gateway.tenderly.co/public/boba-ethereum","wss://boba-ethereum.gateway.tenderly.co/","wss://gateway.tenderly.co/public/boba-ethereum","https://boba-eth.drpc.org","wss://boba-eth.drpc.org"],shortName:"Boba",slug:"boba-network",testnet:!1},e6t={chain:"ETH",chainId:291,explorers:[{name:"orderlyscout",url:"https://explorer.orderly.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSpwp3RAVhZsErAQrCQxEmjnGqJQMigarzZbfqr9Ktakb",width:512,height:512,format:"png"},name:"Orderly Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:291,rpc:["https://291.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.orderly.network","https://l2-orderly-mainnet-0.t.conduit.xyz"],shortName:"orderly",slug:"orderly",testnet:!1},t6t={chain:"Hedera",chainId:295,explorers:[{name:"HashScan",url:"https://hashscan.io/mainnet",standard:"EIP3091"},{name:"Arkhia Explorer",url:"https://explorer.arkhia.io",standard:"none"},{name:"DragonGlass",url:"https://app.dragonglass.me",standard:"none"},{name:"Hedera Explorer",url:"https://hederaexplorer.io",standard:"none"},{name:"Ledger Works Explore",url:"https://explore.lworks.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Mainnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:295,rpc:["https://295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.hashio.io/api"],shortName:"hedera-mainnet",slip44:3030,slug:"hedera",testnet:!1},n6t={chain:"Hedera",chainId:296,explorers:[{name:"HashScan",url:"https://hashscan.io/testnet",standard:"EIP3091"},{name:"Arkhia Explorer",url:"https://explorer.arkhia.io",standard:"none"},{name:"DragonGlass",url:"https://app.dragonglass.me",standard:"none"},{name:"Hedera Explorer",url:"https://hederaexplorer.io",standard:"none"},{name:"Ledger Works Explore",url:"https://explore.lworks.io",standard:"none"}],faucets:["https://portal.hedera.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Testnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:296,rpc:["https://296.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.hashio.io/api"],shortName:"hedera-testnet",slip44:1,slug:"hedera-testnet",testnet:!0},a6t={chain:"Hedera",chainId:297,explorers:[{name:"HashScan",url:"https://hashscan.io/previewnet",standard:"EIP3091"}],faucets:["https://portal.hedera.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Previewnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:297,rpc:["https://297.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://previewnet.hashio.io/api"],shortName:"hedera-previewnet",slip44:3030,slug:"hedera-previewnet",testnet:!1},r6t={chain:"Hedera",chainId:298,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Localnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:298,rpc:[],shortName:"hedera-localnet",slip44:3030,slug:"hedera-localnet",testnet:!1},f6t={chain:"ETH",chainId:300,explorers:[{name:"zkSync Block Explorer",url:"https://sepolia.explorer.zksync.io",standard:"EIP3091",icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"},infoURL:"https://zksync.io/",name:"zkSync Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:300,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zksync.io/"}]},redFlags:["reusedChainId"],rpc:["https://300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.era.zksync.dev","https://zksync-sepolia.drpc.org","wss://zksync-sepolia.drpc.org"],shortName:"zksync-sepolia",slip44:1,slug:"zksync-sepolia-testnet",testnet:!0},i6t={chain:"Bobaopera",chainId:301,explorers:[{name:"Bobaopera block explorer",url:"https://blockexplorer.bobaopera.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobaopera",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:301,rpc:["https://301.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bobaopera.boba.network","wss://wss.bobaopera.boba.network","https://replica.bobaopera.boba.network","wss://replica-wss.bobaopera.boba.network"],shortName:"Bobaopera",slug:"bobaopera",status:"deprecated",testnet:!1},s6t={chain:"ETH",chainId:302,explorers:[{name:"zkCandy Block Explorer",url:"https://sepolia.explorer.zkcandy.io",standard:"EIP3091",icon:{url:"ipfs://bafkreib5jsvl6kxn2qvv4giag3l3e54d2wolo2lqbgkhivxu4cpjzi77eq",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://bafkreib5jsvl6kxn2qvv4giag3l3e54d2wolo2lqbgkhivxu4cpjzi77eq",width:512,height:512,format:"svg"},infoURL:"https://zkcandy.io/",name:"zkCandy Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:302,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sepolia.bridge.zkcandy.io/"}]},redFlags:["reusedChainId"],rpc:["https://302.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.rpc.zkcandy.io"],shortName:"zkcandy-sepolia",slug:"zkcandy-sepolia-testnet",testnet:!0},o6t={chain:"NCN",chainId:303,explorers:[{name:"neuroscan",url:"https://testnet.ncnscan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.neurochain.ai",name:"Neurochain Testnet",nativeCurrency:{name:"Neurochain",symbol:"tNCN",decimals:18},networkId:303,rpc:["https://303.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nc-rpc-test1.neurochain.io"],shortName:"ncnt",slip44:1,slug:"neurochain-testnet",testnet:!0},c6t={chain:"ZKSats",chainId:305,explorers:[{name:"blockscout",url:"https://explorer.zksats.io",standard:"EIP3091",icon:{url:"ipfs://QmaopiJuCSxRKZJHDkCu9w77x2HEmbNb3QeLC1SUavehEE",width:3072,height:3072,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaopiJuCSxRKZJHDkCu9w77x2HEmbNb3QeLC1SUavehEE",width:3072,height:3072,format:"png"},infoURL:"https://zksats.io",name:"ZKSats Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:305,rpc:["https://305.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.zksats.io"],shortName:"ZKSats-Mainnet",slug:"zksats",testnet:!1,title:"ZKSats Mainnet"},d6t={chain:"Lovely",chainId:307,explorers:[{name:"Lovely Network Testnet",url:"https://tscan.lovely.network",standard:"EIP3091"}],faucets:["https://faucet.lovely.network"],icon:{url:"ipfs://QmPB7uW7Wj8zWWdeuPnUHPJ5FhaiTL76tv4ZQ4oKWEpb1g",width:897,height:824,format:"png"},infoURL:"https://lovely.network",name:"Lovely Network Testnet",nativeCurrency:{name:"Lovely",symbol:"LOVELY",decimals:18},networkId:307,rpc:["https://307.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://trpc.lovely.network"],shortName:"LOVELY-Testnet",slug:"lovely-network-testnet",testnet:!0},l6t={chain:"FTH",chainId:308,explorers:[{name:"furthscan",url:"http://furthscan.com",standard:"EIP3091"},{name:"Furthscan Network Explorer",url:"http://furthscan.com/",standard:"standard",icon:{url:"ipfs://QmaZCiLBHGvQptmspWseHHs6L9iCHGKZbqVTqZ7Cf557Vg",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmaZCiLBHGvQptmspWseHHs6L9iCHGKZbqVTqZ7Cf557Vg",width:512,height:512,format:"png"},infoURL:"http://furthscan.com/",name:"Furtheon Network",nativeCurrency:{name:"Furtheon",symbol:"FTH",decimals:18},networkId:308,redFlags:[],rpc:["https://308.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.furtheon.org/","https://rpc.furtheon.org"],shortName:"FTH",slug:"furtheon-network",testnet:!1},u6t={chain:"WYZ",chainId:309,explorers:[{name:"wyzth",url:"http://24.199.108.65:4000",standard:"EIP3091",icon:{url:"ipfs://QmT5UMzAftM4mHCtk4pWX4sqyJCki88APbqECywrhJp91Q",width:324,height:82,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmeDfLgA5heAAXsU8kf5J23Y8up4uHN27uRBEAJFPMJEu7",width:48,height:48,format:"png"},infoURL:"https://wyzth.org/",name:"Wyzth Testnet",nativeCurrency:{name:"Wyzth",symbol:"WYZ",decimals:18},networkId:309,rpc:["https://309.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet3.wyzthchain.org/"],shortName:"wyz",slip44:1,slug:"wyzth-testnet",testnet:!0},p6t={chain:"OMAX Chain",chainId:311,explorers:[{name:"Omax Chain Explorer",url:"https://omaxray.com",standard:"EIP3091",icon:{url:"ipfs://Qmd7omPxrehSuxHHPMYd5Nr7nfrtjKdRJQEhDLfTb87w8G",width:500,height:500,format:"png"}}],faucets:["https://faucet.omaxray.com/"],icon:{url:"ipfs://Qmd7omPxrehSuxHHPMYd5Nr7nfrtjKdRJQEhDLfTb87w8G",width:500,height:500,format:"png"},infoURL:"https://www.omaxcoin.com/",name:"Omax Mainnet",nativeCurrency:{name:"OMAX COIN",symbol:"OMAX",decimals:18},networkId:311,rpc:["https://311.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainapi.omaxray.com"],shortName:"omax",slug:"omax",testnet:!1},h6t={chain:"NCN",chainId:313,explorers:[{name:"neuroscan",url:"https://ncnscan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.neurochain.ai",name:"Neurochain Mainnet",nativeCurrency:{name:"Neurochain",symbol:"NCN",decimals:18},networkId:313,rpc:["https://313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nc-rpc-prd1.neurochain.io","https://nc-rpc-prd2.neurochain.io"],shortName:"ncn",slug:"neurochain",testnet:!1},b6t={chain:"FIL",chainId:314,explorers:[{name:"Filfox",url:"https://filfox.info/en",standard:"none"},{name:"Beryx",url:"https://beryx.zondax.ch",standard:"none"},{name:"Glif Explorer",url:"https://explorer.glif.io",standard:"EIP3091"},{name:"Dev.storage",url:"https://dev.storage",standard:"none"},{name:"Filscan",url:"https://filscan.io",standard:"none"},{name:"Filscout",url:"https://filscout.io/en",standard:"none"}],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Mainnet",nativeCurrency:{name:"filecoin",symbol:"FIL",decimals:18},networkId:314,rpc:["https://314.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.node.glif.io/","https://rpc.ankr.com/filecoin","https://filecoin-mainnet.chainstacklabs.com/rpc/v1","https://filfox.info/rpc/v1","https://filecoin.drpc.org","wss://filecoin.drpc.org"],shortName:"filecoin",slip44:461,slug:"filecoin",testnet:!1},m6t={chain:"KCC",chainId:321,explorers:[{name:"KCC Explorer",url:"https://explorer.kcc.io/en",standard:"EIP3091"}],faucets:[],infoURL:"https://kcc.io",name:"KCC Mainnet",nativeCurrency:{name:"KuCoin Token",symbol:"KCS",decimals:18},networkId:321,rpc:["https://321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.kcc.network","https://kcc.mytokenpocket.vip","https://public-rpc.blockpi.io/http/kcc"],shortName:"kcs",slip44:641,slug:"kcc",testnet:!1},y6t={chain:"KCC",chainId:322,explorers:[{name:"kcc-scan-testnet",url:"https://scan-testnet.kcc.network",standard:"EIP3091"}],faucets:["https://faucet-testnet.kcc.network"],infoURL:"https://scan-testnet.kcc.network",name:"KCC Testnet",nativeCurrency:{name:"KuCoin Testnet Token",symbol:"tKCS",decimals:18},networkId:322,rpc:["https://322.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.kcc.network"],shortName:"kcst",slip44:1,slug:"kcc-testnet",testnet:!0},g6t={chain:"CVM",chainId:323,explorers:[{name:"Blockscout",url:"https://explorer.cosvm.net",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://cosvm.network",name:"Cosvm Mainnet",nativeCurrency:{name:"Cosvm",symbol:"CVM",decimals:18},networkId:323,rpc:["https://323.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cosvm.net"],shortName:"cvm",slug:"cosvm",testnet:!1},v6t={chain:"ETH",chainId:324,explorers:[{name:"zkSync Era Block Explorer",url:"https://explorer.zksync.io",standard:"EIP3091",icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"},infoURL:"https://zksync.io/",name:"zkSync Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:324,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zksync.io/"}]},rpc:["https://324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.era.zksync.io","https://zksync.drpc.org","wss://zksync.drpc.org"],shortName:"zksync",slug:"zksync",testnet:!1},w6t={chain:"Web3Q",chainId:333,explorers:[{name:"w3q-mainnet",url:"https://explorer.mainnet.web3q.io",standard:"EIP3091"}],faucets:[],infoURL:"https://web3q.io/home.w3q/",name:"Web3Q Mainnet",nativeCurrency:{name:"Web3Q",symbol:"W3Q",decimals:18},networkId:333,rpc:["https://333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.web3q.io:8545"],shortName:"w3q",slug:"web3q",testnet:!1},T6t={chain:"DFK",chainId:335,explorers:[{name:"ethernal",url:"https://explorer-test.dfkchain.com",standard:"none",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQB48m15TzhUFrmu56QCRQjkrkgUaKfgCmKE8o3RzmuPJ",width:500,height:500,format:"png"},infoURL:"https://defikingdoms.com",name:"DFK Chain Test",nativeCurrency:{name:"Jewel",symbol:"JEWEL",decimals:18},networkId:335,rpc:["https://335.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain-testnet/rpc"],shortName:"DFKTEST",slip44:1,slug:"dfk-chain-test",testnet:!0},x6t={chain:"SDN",chainId:336,explorers:[{name:"blockscout",url:"https://blockscout.com/shiden",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"subscan",url:"https://shiden.subscan.io",standard:"none",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQySjAoWHgk3ou1yvBi2TrTcgH6KhfGiU7GcrLzrAeRkE",width:250,height:250,format:"png"},infoURL:"https://shiden.astar.network/",name:"Shiden",nativeCurrency:{name:"Shiden",symbol:"SDN",decimals:18},networkId:336,rpc:["https://336.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://shiden.api.onfinality.io/public","https://shiden-rpc.dwellir.com","https://shiden.public.blastapi.io","wss://shiden.api.onfinality.io/public-ws","wss://shiden.public.blastapi.io","wss://shiden-rpc.dwellir.com"],shortName:"sdn",slug:"shiden",testnet:!1},E6t={chain:"CRO",chainId:338,explorers:[{name:"Cronos Testnet Explorer",url:"https://explorer.cronos.org/testnet",standard:"none"}],faucets:["https://cronos.org/faucet"],infoURL:"https://cronos.org",name:"Cronos Testnet",nativeCurrency:{name:"Cronos Test Coin",symbol:"TCRO",decimals:18},networkId:338,rpc:["https://338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-t3.cronos.org","https://cronos-testnet.drpc.org","wss://cronos-testnet.drpc.org"],shortName:"tcro",slip44:1,slug:"cronos-testnet",testnet:!0},_6t={chain:"Theta",chainId:361,explorers:[{name:"Theta Mainnet Explorer",url:"https://explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Mainnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:361,rpc:["https://361.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api.thetatoken.org/rpc"],shortName:"theta-mainnet",slug:"theta",testnet:!1},A6t={chain:"Theta",chainId:363,explorers:[{name:"Theta Sapphire Testnet Explorer",url:"https://guardian-testnet-sapphire-explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Sapphire Testnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:363,rpc:["https://363.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api-sapphire.thetatoken.org/rpc"],shortName:"theta-sapphire",slip44:1,slug:"theta-sapphire-testnet",testnet:!0},C6t={chain:"Theta",chainId:364,explorers:[{name:"Theta Amber Testnet Explorer",url:"https://guardian-testnet-amber-explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Amber Testnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:364,rpc:["https://364.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api-amber.thetatoken.org/rpc"],shortName:"theta-amber",slip44:1,slug:"theta-amber-testnet",testnet:!0},I6t={chain:"Theta",chainId:365,explorers:[{name:"Theta Testnet Explorer",url:"https://testnet-explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Testnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:365,rpc:["https://365.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api-testnet.thetatoken.org/rpc"],shortName:"theta-testnet",slip44:1,slug:"theta-testnet",testnet:!0},k6t={chain:"PLS",chainId:369,ens:{registry:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},explorers:[{name:"blockscout",url:"https://scan.pulsechain.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"otterscan",url:"https://otter.pulsechain.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://pulsechain.com/",name:"PulseChain",nativeCurrency:{name:"Pulse",symbol:"PLS",decimals:18},networkId:369,redFlags:[],rpc:["https://369.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evex.cloud/pulserpc","https://rpc.pulsechain.com","wss://rpc.pulsechain.com","https://pulsechain-rpc.publicnode.com","wss://pulsechain-rpc.publicnode.com","https://rpc-pulsechain.g4mm4.io","wss://rpc-pulsechain.g4mm4.io"],shortName:"pls",slip44:60,slug:"pulsechain",status:"active",testnet:!1},S6t={chain:"tCNT",chainId:371,explorers:[{name:"blockscout",url:"https://explorer-testnet.theconsta.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfQ1yae6uvXgBSwnwJM4Mtp8ctH66tM6mB1Hsgu4XvsC9",width:2e3,height:2e3,format:"png"},infoURL:"http://theconsta.com",name:"Consta Testnet",nativeCurrency:{name:"tCNT",symbol:"tCNT",decimals:18},networkId:371,rpc:["https://371.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.theconsta.com"],shortName:"tCNT",slip44:1,slug:"consta-testnet",testnet:!0},R6t={chain:"FIL",chainId:380,explorers:[{name:"ZKAmoeba Test Explorer",url:"https://testnetexplorer.zkamoeba.com",standard:"EIP3091",icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"},infoURL:"https://testnet.zkamoeba.com",name:"ZKAmoeba Testnet",nativeCurrency:{name:"filecoin",symbol:"FIL",decimals:18},networkId:380,parent:{type:"L2",chain:"eip155-314",bridges:[{url:"https://testnet.zkamoeba.com/en/bridge"}]},rpc:["https://380.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.zkamoeba.com:4050/","https://rpc1.testnet.zkamoeba.com:4050/"],shortName:"zkamoeba-test",slug:"zkamoeba-testnet",testnet:!0},M6t={chain:"FIL",chainId:381,explorers:[{name:"ZKAmoeba Explorer",url:"https://explorer.zkamoeba.com",standard:"EIP3091",icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"},infoURL:"https://www.zkamoeba.com",name:"ZKAmoeba Mainnet",nativeCurrency:{name:"filecoin",symbol:"FIL",decimals:18},networkId:381,parent:{type:"L2",chain:"eip155-314",bridges:[{url:"https://www.zkamoeba.com/en/bridge"}]},rpc:["https://381.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.zkamoeba.com/rpc"],shortName:"zkamoeba",slug:"zkamoeba",testnet:!1},B6t={chain:"CRO",chainId:385,explorers:[],faucets:["https://pipa.lisinski.online"],infoURL:"https://lisinski.online",name:"Lisinski",nativeCurrency:{name:"Lisinski Ether",symbol:"LISINS",decimals:18},networkId:385,rpc:["https://385.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-bitfalls1.lisinski.online"],shortName:"lisinski",slug:"lisinski",testnet:!1},D6t={chain:"CADL",chainId:395,explorers:[{name:"CamDL Testnet Explorer",url:"https://explorer.testnet.camdl.gov.kh",standard:"EIP3091"}],faucets:["https://faucet.testnet.camdl.gov.kh/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmW5Fpb2Ywnfqcj4ibvpbKvPv5Mo5eseWdYZnnUvLkj2Hp",width:1453,height:1453,format:"png"},infoURL:"https://camdl.gov.kh/",name:"CamDL Testnet",nativeCurrency:{name:"CADL",symbol:"CADL",decimals:18},networkId:395,rpc:["https://395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.testnet.camdl.gov.kh/"],shortName:"camdl-testnet",slug:"camdl-testnet",status:"active",testnet:!0},P6t={chain:"NEAR",chainId:397,explorers:[{name:"Near Blocks",url:"https://nearblocks.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreiayxzdbu3e5ahri3ooieg6k6pjxrwkrkc2x5cnyadqeu5zbmaummq",width:639,height:639,format:"png"},infoURL:"https://near.org/",name:"Near Mainnet",nativeCurrency:{name:"NEAR",symbol:"NEAR",decimals:18},networkId:397,rpc:[],shortName:"near",slug:"near",testnet:!1},L6t={chain:"NEAR",chainId:398,explorers:[{name:"Near blocks",url:"https://testnet.nearblocks.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreiayxzdbu3e5ahri3ooieg6k6pjxrwkrkc2x5cnyadqeu5zbmaummq",width:639,height:639,format:"png"},infoURL:"https://aurora.dev",name:"Near Testnet",nativeCurrency:{name:"Testnet NEAR",symbol:"NEAR",decimals:18},networkId:398,rpc:[],shortName:"near-testnet",slug:"near-testnet",testnet:!0},F6t={chain:"Nativ3",chainId:399,explorers:[{name:"N3scan",url:"https://scan.nativ3.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVzJDndPui6qBSeJWe5kMLA56C3KpVhqqqk9xvVKE1DGb",width:256,height:256,format:"png"},infoURL:"https://nativ3.network",name:"Nativ3 Mainnet",nativeCurrency:{name:"USNT",symbol:"USNT",decimals:18},networkId:399,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.nativ3.network"}]},rpc:["https://399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.nativ3.network","wss://ws.nativ3.network"],shortName:"N3",slug:"nativ3",testnet:!1},N6t={chain:"HPN",chainId:400,explorers:[{name:"blockscout",url:"https://testnet.hyperonchain.com",standard:"EIP3091",icon:{url:"ipfs://QmWxhyxXTEsWH98v7M3ck4ZL1qQoUaHG4HgtgxzD2KJQ5m",width:540,height:541,format:"png"}}],faucets:["https://faucet.hyperonchain.com"],icon:{url:"ipfs://QmWxhyxXTEsWH98v7M3ck4ZL1qQoUaHG4HgtgxzD2KJQ5m",width:540,height:541,format:"png"},infoURL:"https://docs.hyperonchain.com",name:"HyperonChain TestNet",nativeCurrency:{name:"HyperonChain",symbol:"HPN",decimals:18},networkId:400,rpc:["https://400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.hyperonchain.com"],shortName:"hpn",slip44:1,slug:"hyperonchain-testnet",testnet:!0},O6t={chain:"OZONE",chainId:401,explorers:[{name:"OZONE Scan",url:"https://testnet.ozonescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbM4weV8Bk6c9yNhosYntkVw39SNZtCHYGgWyXTxkevZ8",width:1600,height:1600,format:"png"},infoURL:"https://ozonechain.io",name:"Ozone Chain Testnet",nativeCurrency:{name:"OZONE",symbol:"OZO",decimals:18},networkId:401,rpc:["https://401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.testnet.ozonechain.io"],shortName:"ozo_tst",slip44:1,slug:"ozone-chain-testnet",testnet:!0},U6t={chain:"SYNDR",chainId:404,explorers:[{name:"Syndr L3 Explorer",url:"https://explorer.syndr.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibsl7iuxeibovp7uddigbus3lyse2f7n4s2lomgvf33fmgyxjwq5i",width:1e3,height:1e3,format:"png"},infoURL:"https://syndr.com",name:"Syndr L3",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:404,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.syndr.com"}]},rpc:["https://404.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.syndr.com","wss://rpc.syndr.com/ws"],shortName:"syndr-l3",slug:"syndr-l3",testnet:!1,title:"Syndr L3 Rollup"},H6t={chain:"OmegaNetwork",chainId:408,explorers:[],faucets:[],features:[],icon:{url:"ipfs://bafkreig676zxfhwhcx5bvvvjxedx6ftr2wq4iiznrwm3c6ozrprbc4oxwm",width:512,height:512,format:"png"},name:"Omega Mainnet",nativeCurrency:{name:"Omega Network Coin",symbol:"OMN",decimals:18},networkId:408,redFlags:[],rpc:["https://408.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.omtch.com"],shortName:"OmegaNetwork",slug:"omega",testnet:!1},z6t={chain:"PC",chainId:411,explorers:[{name:"pepechain explorer",url:"https://explorer.pepe-chain.vip",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibjsc3gww3moti27za2hpyq552aevux3yv5y2ntdklksyr4v4uavy",width:512,height:512,format:"png"},infoURL:"https://pepe-chain.vip",name:"Pepe Chain Mainnet",nativeCurrency:{name:"Pepe",symbol:"PEPE",decimals:18},networkId:411,rpc:["https://411.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.pepe-chain.vip"],shortName:"pepe",slug:"pepe-chain",status:"active",testnet:!1},W6t={chain:"SX",chainId:416,explorers:[{name:"SX Network Explorer",url:"https://explorer.sx.technology",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSXLXqyr2H6Ja5XrmznXbWTEvF2gFaL8RXNXgyLmDHjAF",width:896,height:690,format:"png"},infoURL:"https://www.sx.technology",name:"SX Network Mainnet",nativeCurrency:{name:"SX Network",symbol:"SX",decimals:18},networkId:416,rpc:["https://416.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sx.technology"],shortName:"SX",slug:"sx-network",testnet:!1},q6t={chain:"LaTestnet",chainId:418,explorers:[{name:"LaTestnet Explorer",url:"https://testexplorer.lachain.network",standard:"EIP3091"}],faucets:["https://faucet.lachain.network"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},name:"LaTestnet",nativeCurrency:{name:"Test LaCoin",symbol:"TLA",decimals:18},networkId:418,rpc:["https://418.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.lachain.network","https://lachain-testnet.rpc-nodes.cedalio.dev"],shortName:"latestnet",slug:"latestnet",testnet:!0},j6t={chain:"ETH",chainId:420,explorers:[{name:"blockscout",url:"https://optimism-goerli.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/optimism/512.png",width:512,height:512,format:"png"},infoURL:"https://optimism.io",name:"Optimism Goerli Testnet",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:420,redFlags:[],rpc:["https://420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.optimism.io","https://optimism-goerli-rpc.publicnode.com","wss://optimism-goerli-rpc.publicnode.com","https://optimism-goerli.gateway.tenderly.co","wss://optimism-goerli.gateway.tenderly.co","https://optimism-testnet.drpc.org","wss://optimism-testnet.drpc.org"],shortName:"ogor",slip44:1,slug:"optimism-goerli",status:"deprecated",testnet:!0},G6t={chain:"VRD",chainId:422,explorers:[{name:"Viridis Mainnet",url:"https://explorer.vrd.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPdxcJwPogfZdec7UAqxeatRxrivEktpP1ftJBTeJQTdR",width:3e3,height:2e3,format:"png"},infoURL:"https://viridis.network",name:"Viridis Mainnet",nativeCurrency:{name:"Viridis Token",symbol:"VRD",decimals:18},networkId:422,rpc:["https://422.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.vrd.network"],shortName:"vrd",slug:"viridis",testnet:!1},K6t={chain:"ETH",chainId:424,explorers:[{name:"blockscout",url:"https://explorer.publicgoods.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUVJ7MLCEAfq3pHVPFLscqRMiyAY5biVgTkeDQCmAhHNS",width:574,height:574,format:"svg"},infoURL:"https://publicgoods.network/",name:"PGN (Public Goods Network)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:424,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.publicgoods.network"}]},rpc:["https://424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.publicgoods.network"],shortName:"PGN",slug:"pgn-public-goods-network",testnet:!1},Q6t={chain:"ZeethChain",chainId:427,explorers:[{name:"Zeeth Explorer",url:"https://explorer.zeeth.io",standard:"none"}],faucets:[],name:"Zeeth Chain",nativeCurrency:{name:"Zeeth Token",symbol:"ZTH",decimals:18},networkId:427,rpc:["https://427.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zeeth.io"],shortName:"zeeth",slug:"zeeth-chain",testnet:!1},V6t={chain:"Geso Verse",chainId:428,explorers:[{name:"Geso Verse Explorer",url:"https://explorer.verse.gesoten.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmb7oJY9zd9sTzxNNQNTVZQz2hkd1aA94mWm4cvXfJ9QxV",width:1280,height:1280,format:"png"},infoURL:"https://gesoten.com/",name:"Geso Verse",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:428,rpc:["https://428.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.verse.gesoten.com/"],shortName:"GSV",slug:"geso-verse",testnet:!1},Y6t={chain:"BYC",chainId:434,explorers:[{name:"Boyaa explorer",url:"https://explorer.mainnet.boyaa.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiapootrvggtigdlvgvk6srfseplpuowsqq3zpyup4j5yj5moxuala",width:500,height:500,format:"png"},infoURL:"https://boyaa.network",name:"Boyaa Mainnet",nativeCurrency:{name:"Boyaa mainnet native coin",symbol:"BYC",decimals:18},networkId:434,rpc:["https://434.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.mainnet.boyaa.network"],shortName:"BYC",slug:"boyaa",testnet:!1},$6t={chain:"ETH",chainId:443,explorers:[{name:"Ten Sepolia Rollup Explorer",url:"https://tenscan.io",standard:"none"}],faucets:[],features:[],infoURL:"https://ten.xyz",name:"Ten Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:443,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://bridge.ten.xyz"}]},redFlags:[],rpc:["https://443.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.ten.xyz/v1/","https://testnet.ten.xyz"],shortName:"ten-testnet",slip44:1,slug:"ten-testnet",testnet:!0,title:"Ten Sepolia Rollup Testnet"},J6t={chain:"ETH",chainId:444,explorers:[{name:"Synapse Chain Sepolia",url:"https://sepolia.synapsescan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmX2Z71QszaZvpMppdNWeCLqmeWk8NA6KMDLMqAt5VRyVi/synapse.webp",width:720,height:720,format:"webp"},infoURL:"https://synapseprotocol.com",name:"Synapse Chain Testnet",nativeCurrency:{name:"Sepolia ETH",symbol:"ETH",decimals:18},networkId:444,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://docs.synapseprotocol.com/synapse-chain/using-synapse-chain/bridging-to-synapse-chain"}]},redFlags:["reusedChainId"],rpc:["https://444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.synapseprotocol.com"],shortName:"synapse-sepolia",slip44:1,slug:"synapse-chain-testnet",status:"active",testnet:!0},X6t={chain:"ARZIO",chainId:456,explorers:[{name:"ARZIO Scan",url:"https://scan.arzio.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUwqGWGjjQweTprn5LBirAwRjYnteTiFLCVpSNHrfMmSL",width:150,height:150,format:"png"},infoURL:"https://chain.arzio.co",name:"ARZIO Chain",nativeCurrency:{name:"ARZIO",symbol:"AZO",decimals:18},networkId:456,rpc:["https://456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.arzio.co"],shortName:"arzio",slug:"arzio-chain",testnet:!1},Z6t={chain:"Areon",chainId:462,explorers:[{name:"AreonScan",url:"https://areonscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihs2nrnizpcuzjmuu2yi7wrtwd7qlqje46qnil5bnntfbfkb2roea",width:1e3,height:1e3,format:"png"},infoURL:"https://areon.network",name:"Areon Network Testnet",nativeCurrency:{name:"Areon",symbol:"TAREA",decimals:18},networkId:462,rpc:["https://462.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.areon.network","https://testnet-rpc2.areon.network","https://testnet-rpc3.areon.network","https://testnet-rpc4.areon.network","https://testnet-rpc5.areon.network"],shortName:"tarea",slip44:1,slug:"areon-network-testnet",testnet:!0},e5t={chain:"Areon",chainId:463,explorers:[{name:"AreonScan",url:"https://areonscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihs2nrnizpcuzjmuu2yi7wrtwd7qlqje46qnil5bnntfbfkb2roea",width:1e3,height:1e3,format:"png"},infoURL:"https://areon.network",name:"Areon Network Mainnet",nativeCurrency:{name:"Areon",symbol:"AREA",decimals:18},networkId:463,rpc:["https://463.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.areon.network","https://mainnet-rpc2.areon.network","https://mainnet-rpc3.areon.network","https://mainnet-rpc4.areon.network","https://mainnet-rpc5.areon.network"],shortName:"area",slug:"areon-network",testnet:!1},t5t={chain:"RUPX",chainId:499,explorers:[],faucets:[],infoURL:"https://www.rupaya.io",name:"Rupaya",nativeCurrency:{name:"Rupaya",symbol:"RUPX",decimals:18},networkId:499,rpc:[],shortName:"rupx",slip44:499,slug:"rupaya",testnet:!1},n5t={chain:"CAM",chainId:500,explorers:[{name:"blockexplorer",url:"https://suite.camino.network/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSEoUonisawfCvT3osysuZzbqUEHugtgNraePKWL8PKYa",width:768,height:768,format:"png"},infoURL:"https://camino.network/",name:"Camino C-Chain",nativeCurrency:{name:"Camino",symbol:"CAM",decimals:18},networkId:1e3,rpc:["https://500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.camino.network/ext/bc/C/rpc"],shortName:"Camino",slug:"camino-c-chain",testnet:!1},a5t={chain:"CAM",chainId:501,explorers:[{name:"blockexplorer",url:"https://suite.camino.network/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSEoUonisawfCvT3osysuZzbqUEHugtgNraePKWL8PKYa",width:768,height:768,format:"png"},infoURL:"https://camino.network/",name:"Columbus Test Network",nativeCurrency:{name:"Camino",symbol:"CAM",decimals:18},networkId:1001,rpc:["https://501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://columbus.camino.network/ext/bc/C/rpc"],shortName:"Columbus",slip44:1,slug:"columbus-test-network",testnet:!0},r5t={chain:"Syndicate",chainId:510,explorers:[],faucets:[],icon:{url:"ipfs://QmeSvQcD3XvLFAiMLoQSPbGK9JxVfbCWPBUTMLhhhzYPqX",width:16e3,height:16e3,format:"png"},infoURL:"https://syndicate.io",name:"Syndicate Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:510,rpc:["https://510.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.syndicate.io"],shortName:"syndicate-chain-mainnet",slug:"syndicate-chain",status:"incubating",testnet:!1,title:"Syndicate Chain"},f5t={chain:"AAC",chainId:512,explorers:[{name:"aacscan",url:"https://scan.acuteangle.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRUrz4dULaoaMpnqd8qXT7ehwz3aaqnYKY4ePsy7isGaF",width:512,height:512,format:"png"},infoURL:"https://www.acuteangle.com/",name:"Double-A Chain Mainnet",nativeCurrency:{name:"Acuteangle Native Token",symbol:"AAC",decimals:18},networkId:512,rpc:["https://512.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.acuteangle.com"],shortName:"aac",slip44:1512,slug:"double-a-chain",testnet:!1},i5t={chain:"AAC",chainId:513,explorers:[{name:"aacscan-testnet",url:"https://scan-testnet.acuteangle.com",standard:"EIP3091"}],faucets:["https://scan-testnet.acuteangle.com/faucet"],icon:{url:"ipfs://QmRUrz4dULaoaMpnqd8qXT7ehwz3aaqnYKY4ePsy7isGaF",width:512,height:512,format:"png"},infoURL:"https://www.acuteangle.com/",name:"Double-A Chain Testnet",nativeCurrency:{name:"Acuteangle Native Token",symbol:"AAC",decimals:18},networkId:513,rpc:["https://513.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.acuteangle.com"],shortName:"aact",slip44:1,slug:"double-a-chain-testnet",testnet:!0},s5t={chain:"GearZero",chainId:516,explorers:[],faucets:[],infoURL:"https://token.gearzero.ca/mainnet",name:"Gear Zero Network Mainnet",nativeCurrency:{name:"Gear Zero Network Native Token",symbol:"GZN",decimals:18},networkId:516,rpc:["https://516.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gzn.linksme.info"],shortName:"gz-mainnet",slip44:516,slug:"gear-zero-network",testnet:!1},o5t={chain:"XSC",chainId:520,explorers:[{name:"xscscan",url:"https://xscscan.pub",standard:"EIP3091"}],faucets:["https://xsc.pub/faucet"],icon:{url:"ipfs://QmNmAFgQKkjofaBR5mhB5ygE1Gna36YBVsGkgZQxrwW85s",width:98,height:96,format:"png"},infoURL:"https://xsc.pub/",name:"XT Smart Chain Mainnet",nativeCurrency:{name:"XT Smart Chain Native Token",symbol:"XT",decimals:18},networkId:1024,rpc:["https://520.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://datarpc1.xsc.pub","https://datarpc2.xsc.pub","https://datarpc3.xsc.pub"],shortName:"xt",slug:"xt-smart-chain",testnet:!1},c5t={chain:"FIRE",chainId:529,explorers:[],faucets:[],icon:{url:"ipfs://QmYjuztyURb3Fc6ZTLgCbwQa64CcVoigF5j9cafzuSbqgf",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Firechain Mainnet",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:529,rpc:["https://529.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.thefirechain.com"],shortName:"fire",slug:"firechain",status:"incubating",testnet:!1},d5t={chain:"Fxcore",chainId:530,explorers:[{name:"FunctionX Explorer",url:"https://fx-evm.functionx.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmauD5hzc5q1VgEU1nT4AGLCeV79CB8GgfnXXeeLmBZVHf",width:36,height:36,format:"png"},infoURL:"https://functionx.io/",name:"F(x)Core Mainnet Network",nativeCurrency:{name:"Function X",symbol:"FX",decimals:18},networkId:530,rpc:["https://530.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fx-json-web3.functionx.io:8545"],shortName:"FxCore",slug:"f-x-core-network",testnet:!1},l5t={chain:"Candle",chainId:534,explorers:[{name:"candleexplorer",url:"https://candleexplorer.com",standard:"EIP3091"}],faucets:[],infoURL:"https://candlelabs.org/",name:"Candle",nativeCurrency:{name:"CANDLE",symbol:"CNDL",decimals:18},networkId:534,rpc:["https://534.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://candle-rpc.com/","https://rpc.cndlchain.com"],shortName:"CNDL",slip44:674,slug:"candle",testnet:!1},u5t={chain:"OpTrust",chainId:537,explorers:[{name:"OpTrust explorer",url:"https://scan.optrust.io",standard:"none",icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"},infoURL:"https://optrust.io",name:"OpTrust Mainnet",nativeCurrency:{name:"BSC",symbol:"BNB",decimals:18},networkId:537,rpc:["https://537.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.optrust.io"],shortName:"optrust",slug:"optrust",testnet:!1},p5t={chain:"PAW",chainId:542,explorers:[{name:"PAWCHAIN Testnet",url:"https://pawscan.io",standard:"none"}],faucets:[],infoURL:"https://pawchainx.com/",name:"PAWCHAIN Testnet",nativeCurrency:{name:"PAW",symbol:"PAW",decimals:18},networkId:542,rpc:["https://542.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pawchainx.com/"],shortName:"PAW",slip44:1,slug:"pawchain-testnet",testnet:!0},h5t={chain:"Flow",chainId:545,explorers:[{name:"Flow Diver",url:"https://testnet.flowdiver.io",standard:"none"}],faucets:["https://testnet-faucet.onflow.org"],icon:{url:"ipfs://QmQFugEvsfU3ARjjJ7YRLJwSxMfTk54WWzrofekTRBKFaC",width:2e3,height:2e3,format:"png"},infoURL:"https://developers.flow.com/evm/about",name:"Testnet",nativeCurrency:{name:"FLOW",symbol:"FLOW",decimals:18},networkId:545,rpc:["https://545.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.evm.nodes.onflow.org"],shortName:"flow-testnet",slug:"testnet",testnet:!0},b5t={chain:"VELA1",chainId:555,explorers:[{name:"Vela1 Chain Mainnet Explorer",url:"https://exp.velaverse.io",standard:"EIP3091"}],faucets:[],infoURL:"https://velaverse.io",name:"Vela1 Chain Mainnet",nativeCurrency:{name:"CLASS COIN",symbol:"CLASS",decimals:18},networkId:555,rpc:["https://555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.velaverse.io"],shortName:"CLASS",slug:"vela1-chain",testnet:!1},m5t={chain:"TAO",chainId:558,explorers:[],faucets:[],infoURL:"https://tao.network",name:"Tao Network",nativeCurrency:{name:"Tao",symbol:"TAO",decimals:18},networkId:558,rpc:["https://558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.tao.network","http://rpc.testnet.tao.network:8545","https://rpc.tao.network","wss://rpc.tao.network"],shortName:"tao",slug:"tao-network",testnet:!0},y5t={chain:"DC",chainId:568,explorers:[{name:"dogechain testnet explorer",url:"https://explorer-testnet.dogechain.dog",standard:"EIP3091"}],faucets:["https://faucet.dogechain.dog"],icon:{url:"ipfs://QmNS6B6L8FfgGSMTEi2SxD3bK5cdmKPNtQKcYaJeRWrkHs",width:732,height:732,format:"png"},infoURL:"https://dogechain.dog",name:"Dogechain Testnet",nativeCurrency:{name:"Dogecoin",symbol:"DOGE",decimals:18},networkId:568,rpc:["https://568.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.dogechain.dog"],shortName:"dct",slip44:1,slug:"dogechain-testnet",testnet:!0},g5t={chain:"SYS",chainId:570,explorers:[{name:"Rollux Explorer",url:"https://explorer.rollux.com",standard:"EIP3091"}],faucets:["https://rollux.id/faucetapp"],infoURL:"https://rollux.com",name:"Rollux Mainnet",nativeCurrency:{name:"Syscoin",symbol:"SYS",decimals:18},networkId:570,rpc:["https://570.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rollux.com","wss://rpc.rollux.com/wss","https://rollux.rpc.syscoin.org","wss://rollux.rpc.syscoin.org/wss"],shortName:"sys-rollux",slug:"rollux",testnet:!1},v5t={chain:"MTC",chainId:571,explorers:[{name:"MetaExplorer",url:"https://explorer.metatime.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUH2Ph2hW4upvevEAGCaSo7nd8nthqMx5RrHcrnNZ9Y3g",width:512,height:512,format:"svg"},infoURL:"https://metatime.com/en",name:"MetaChain Mainnet",nativeCurrency:{name:"Metatime Coin",symbol:"MTC",decimals:18},networkId:571,rpc:["https://571.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metatime.com"],shortName:"metatime",slip44:571,slug:"metachain",testnet:!1},w5t={chain:"Filenova",chainId:579,explorers:[{name:"filenova explorer",url:"https://scan.filenova.org",standard:"none",icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"},infoURL:"https://filenova.org",name:"Filenova Mainnet",nativeCurrency:{name:"Filecoin",symbol:"FIL",decimals:18},networkId:579,rpc:["https://579.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.filenova.org"],shortName:"filenova",slug:"filenova",testnet:!1},T5t={chain:"ETH",chainId:588,explorers:[{name:"blockscout",url:"https://stardust-explorer.metis.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.metis.io",name:"Metis Stardust Testnet",nativeCurrency:{name:"tMetis",symbol:"METIS",decimals:18},networkId:588,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://bridge.metis.io"}]},rpc:["https://588.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://stardust.metis.io/?owner=588"],shortName:"metis-stardust",slip44:1,slug:"metis-stardust-testnet",status:"deprecated",testnet:!0},x5t={chain:"ASTR",chainId:592,explorers:[{name:"blockscout",url:"https://blockscout.com/astar",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"subscan",url:"https://astar.subscan.io",standard:"none",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://Qmdvmx3p6gXBCLUMU1qivscaTNkT6h3URdhUTZCHLwKudg",width:1e3,height:1e3,format:"png"},infoURL:"https://astar.network/",name:"Astar",nativeCurrency:{name:"Astar",symbol:"ASTR",decimals:18},networkId:592,redFlags:[],rpc:["https://592.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.astar.network","https://rpc.astar.network:8545"],shortName:"astr",slug:"astar",testnet:!1},E5t={chain:"mACA",chainId:595,explorers:[{name:"blockscout",url:"https://blockscout.mandala.aca-staging.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://acala.network",name:"Acala Mandala Testnet TC9",nativeCurrency:{name:"Acala Mandala Token",symbol:"mACA",decimals:18},networkId:595,rpc:["https://595.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-tc9.aca-staging.network","wss://eth-rpc-tc9.aca-staging.network"],shortName:"maca",slip44:1,slug:"acala-mandala-testnet-tc9",testnet:!0},_5t={chain:"KAR",chainId:596,explorers:[{name:"blockscout",url:"https://blockscout.karura-testnet.aca-staging.network",standard:"EIP3091"}],faucets:[],infoURL:"https://karura.network",name:"Karura Network Testnet",nativeCurrency:{name:"Karura Token",symbol:"KAR",decimals:18},networkId:596,rpc:["https://596.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-karura-testnet.aca-staging.network","wss://eth-rpc-karura-testnet.aca-staging.network"],shortName:"tkar",slip44:1,slug:"karura-network-testnet",testnet:!0},A5t={chain:"ACA",chainId:597,explorers:[{name:"blockscout",url:"https://blockscout.acala-dev.aca-dev.network",standard:"EIP3091"}],faucets:[],infoURL:"https://acala.network",name:"Acala Network Testnet",nativeCurrency:{name:"Acala Token",symbol:"ACA",decimals:18},networkId:597,rpc:["https://597.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-acala-testnet.aca-staging.network","wss://eth-rpc-acala-testnet.aca-staging.network"],shortName:"taca",slip44:1,slug:"acala-network-testnet",testnet:!0},C5t={chain:"ETH",chainId:599,explorers:[{name:"blockscout",url:"https://goerli.explorer.metisdevops.link",standard:"EIP3091"}],faucets:["https://goerli.faucet.metisdevops.link"],features:[],icon:{url:"ipfs://QmbWKNucbMtrMPPkHG5ZmVmvNUo8CzqHHcrpk1C2BVQsEG/2022_H-Brand_Stacked_WhiteGreen.svg",width:512,height:512,format:"svg"},infoURL:"https://www.metis.io",name:"Metis Goerli Testnet",nativeCurrency:{name:"Goerli Metis",symbol:"METIS",decimals:18},networkId:599,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://testnet-bridge.metis.io"}]},redFlags:[],rpc:["https://599.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.gateway.metisdevops.link"],shortName:"metis-goerli",slip44:1,slug:"metis-goerli-testnet",status:"deprecated",testnet:!0},I5t={chain:"MeshTestChain",chainId:600,explorers:[],faucets:[],name:"Meshnyan testnet",nativeCurrency:{name:"Meshnyan Testnet Native Token",symbol:"MESHT",decimals:18},networkId:600,rpc:[],shortName:"mesh-chain-testnet",slip44:1,slug:"meshnyan-testnet",testnet:!0},k5t={chain:"VINE",chainId:601,explorers:[{name:"Vine Explorer",url:"https://vne.network/rose",standard:"none",icon:{url:"ipfs://QmTPbbhH4CkQiQWm4JUh3J9o5w79vXjFZaMBW4DKNuSVU3",width:512,height:512,format:"png"}}],faucets:["https://vne.network/rose"],icon:{url:"ipfs://QmTPbbhH4CkQiQWm4JUh3J9o5w79vXjFZaMBW4DKNuSVU3",width:512,height:512,format:"png"},infoURL:"https://www.peer.inc",name:"Vine Testnet",nativeCurrency:{name:"VINE",symbol:"VNE",decimals:18},networkId:601,rpc:["https://601.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.vne.network"],shortName:"VINE",slug:"vine-testnet",testnet:!0},S5t={chain:"EIOB",chainId:612,explorers:[{name:"EIOB Explorer",url:"https://explorer.eiob.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfJLG2mXgSqKx2V3A2jzTwt4vkozvQTTXkRy3os27wEVm",width:48,height:48,format:"png"},name:"EIOB Mainnet",nativeCurrency:{name:"EIOB",symbol:"EIOB",decimals:18},networkId:612,rpc:["https://612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eiob.xyz"],shortName:"eiob",slug:"eiob",testnet:!1},R5t={chain:"GLQ Blockchain",chainId:614,explorers:[{name:"GLQ Explorer",url:"https://explorer.graphlinq.io",standard:"none"}],faucets:[],infoURL:"https://graphlinq.io",name:"Graphlinq Blockchain Mainnet",nativeCurrency:{name:"GLQ",symbol:"GLQ",decimals:18},networkId:614,rpc:["https://614.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://glq-dataseed.graphlinq.io"],shortName:"glq",slug:"graphlinq-blockchain",testnet:!1},M5t={chain:"Avocado",chainId:634,explorers:[{name:"avoscan",url:"https://avoscan.co",standard:"none",icon:{url:"ipfs://Qma9rJSgy32UL1iXtXKFZQJA6FjkcUcDU4HR6y13Wu1vjn",width:600,height:600,format:"png"}}],faucets:[],icon:{url:"ipfs://Qma9rJSgy32UL1iXtXKFZQJA6FjkcUcDU4HR6y13Wu1vjn",width:600,height:600,format:"png"},infoURL:"https://avocado.instadapp.io",name:"Avocado",nativeCurrency:{name:"USDC",symbol:"USDC",decimals:18},networkId:634,rpc:["https://634.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.avocado.instadapp.io"],shortName:"avocado",slug:"avocado",testnet:!1},B5t={chain:"Flow",chainId:646,explorers:[{name:"Flow Diver",url:"https://previewnet.flowdiver.io",standard:"none"}],faucets:["https://previewnet-faucet.onflow.org"],icon:{url:"ipfs://QmQFugEvsfU3ARjjJ7YRLJwSxMfTk54WWzrofekTRBKFaC",width:2e3,height:2e3,format:"png"},infoURL:"https://developers.flow.com/evm/about",name:"Previewnet",nativeCurrency:{name:"FLOW",symbol:"FLOW",decimals:18},networkId:646,rpc:["https://646.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://previewnet.evm.nodes.onflow.org"],shortName:"flow-previewnet",slug:"previewnet",testnet:!1},D5t={chain:"SX",chainId:647,explorers:[{name:"SX Network Toronto Explorer",url:"https://explorer.toronto.sx.technology",standard:"EIP3091"}],faucets:["https://faucet.toronto.sx.technology"],icon:{url:"ipfs://QmSXLXqyr2H6Ja5XrmznXbWTEvF2gFaL8RXNXgyLmDHjAF",width:896,height:690,format:"png"},infoURL:"https://www.sx.technology",name:"SX Network Testnet",nativeCurrency:{name:"SX Network",symbol:"SX",decimals:18},networkId:647,rpc:["https://647.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.toronto.sx.technology"],shortName:"SX-Testnet",slip44:1,slug:"sx-network-testnet",testnet:!0},P5t={chain:"ACE",chainId:648,explorers:[{name:"Endurance Scan",url:"https://explorer.endurance.fusionist.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ace.fusionist.io/",name:"Endurance Smart Chain Mainnet",nativeCurrency:{name:"Endurance Chain Native Token",symbol:"ACE",decimals:18},networkId:648,rpc:["https://648.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-endurance.fusionist.io/"],shortName:"ace",slug:"endurance-smart-chain",testnet:!1},L5t={chain:"Kalichain",chainId:653,explorers:[{name:"kalichain explorer",url:"https://explorer.kalichain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreieox7v337p3jfhd37dz74mq6mn3uk5i5475rmzpirmyp6ydcfzzqi",width:350,height:350,format:"png"},infoURL:"https://kalichain.com",name:"Kalichain Testnet",nativeCurrency:{name:"kalis",symbol:"KALIS",decimals:18},networkId:653,rpc:["https://653.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kalichain.com"],shortName:"kalichain",slug:"kalichain-testnet",testnet:!0},F5t={chain:"Kalichain",chainId:654,explorers:[{name:"kalichain explorer",url:"https://explorer.kalichain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreieox7v337p3jfhd37dz74mq6mn3uk5i5475rmzpirmyp6ydcfzzqi",width:350,height:350,format:"png"},infoURL:"https://kalichain.com",name:"Kalichain",nativeCurrency:{name:"kalis",symbol:"KALIS",decimals:18},networkId:654,rpc:["https://654.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.kalichain.com"],shortName:"kalichainMainnet",slug:"kalichain",testnet:!1},N5t={chain:"UltronSmartchain",chainId:662,explorers:[{name:"ultronsmartchain explorer",url:"https://scan.ultronsmartchain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTns2FXAqDCq1QJsocUBGjhxsgWYK7pFfD4UrRZ9JBsF1",width:50,height:50,format:"png"},infoURL:"https://ultronsmartchain.io",name:"UltronSmartchain",nativeCurrency:{name:"ulc",symbol:"ULC",decimals:18},networkId:662,rpc:["https://662.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ultronsmartchain.io"],shortName:"ultronsmartchain",slug:"ultronsmartchain",testnet:!1},O5t={chain:"PixieChain",chainId:666,explorers:[],faucets:["https://chain.pixie.xyz/faucet"],infoURL:"https://scan-testnet.chain.pixie.xyz",name:"Pixie Chain Testnet",nativeCurrency:{name:"Pixie Chain Testnet Native Token",symbol:"PCTT",decimals:18},networkId:666,rpc:["https://666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.chain.pixie.xyz","wss://ws-testnet.chain.pixie.xyz"],shortName:"pixie-chain-testnet",slip44:1,slug:"pixie-chain-testnet",testnet:!0},U5t={chain:"LAOS",chainId:667,explorers:[{name:"blockscout",url:"https://arrakis.gorengine.com",standard:"EIP3091",icon:{url:"ipfs://QmZ4YYcvhcaeotMPaGXC5Vab7JFaVkka37V8TiTJpT7Mak",width:586,height:558,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZ4YYcvhcaeotMPaGXC5Vab7JFaVkka37V8TiTJpT7Mak",width:586,height:558,format:"png"},infoURL:"https://www.laosfoundation.io/",name:"LAOS Arrakis",nativeCurrency:{name:"LAOS",symbol:"LAOS",decimals:18},networkId:667,rpc:["https://667.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://arrakis.gorengine.com/own","wss://arrakis.gorengine.com/own"],shortName:"laos",slug:"laos-arrakis",testnet:!0,title:"LAOS Testnet Arrakis"},H5t={chain:"JuncaChain",chainId:668,explorers:[{name:"JuncaScan",url:"https://scan.juncachain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://junca-cash.world",name:"JuncaChain",nativeCurrency:{name:"JuncaChain Native Token",symbol:"JGC",decimals:18},networkId:668,rpc:["https://668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.juncachain.com"],shortName:"junca",slug:"juncachain",testnet:!1},z5t={chain:"JuncaChain testnet",chainId:669,explorers:[{name:"JuncaScan",url:"https://scan-testnet.juncachain.com",standard:"EIP3091"}],faucets:["https://faucet-testnet.juncachain.com"],infoURL:"https://junca-cash.world",name:"JuncaChain testnet",nativeCurrency:{name:"JuncaChain Testnet Native Token",symbol:"JGCT",decimals:18},networkId:669,rpc:["https://669.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.juncachain.com","wss://ws-testnet.juncachain.com"],shortName:"juncat",slip44:1,slug:"juncachain-testnet",testnet:!0},W5t={chain:"KAR",chainId:686,explorers:[{name:"blockscout",url:"https://blockscout.karura.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://acala.network/karura",name:"Karura Network",nativeCurrency:{name:"Karura Token",symbol:"KAR",decimals:18},networkId:686,rpc:["https://686.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-karura.aca-api.network","wss://eth-rpc-karura.aca-api.network"],shortName:"kar",slip44:686,slug:"karura-network",testnet:!1},q5t={chain:"ETH",chainId:690,explorers:[{name:"blockscout",url:"https://explorer.redstone.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreieyaqgkgntvxuo5tnhgseladga5q6gutc37dab7kqqfdguhq7vkxq",width:5836,height:5836,format:"png"},infoURL:"https://redstone.xyz",name:"Redstone",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:690,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://redstone.xyz/deposit"}]},rpc:["https://690.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.redstonechain.com","wss://rpc.redstonechain.com"],shortName:"redstone",slug:"redstone",testnet:!1},j5t={chain:"SNS",chainId:700,explorers:[{name:"starscan",url:"https://avastar.info",standard:"EIP3091"}],faucets:[],infoURL:"https://info.avastar.cc",name:"Star Social Testnet",nativeCurrency:{name:"Social",symbol:"SNS",decimals:18},networkId:700,rpc:["https://700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://avastar.cc/ext/bc/C/rpc"],shortName:"SNS",slip44:1,slug:"star-social-testnet",testnet:!0},G5t={chain:"BCS",chainId:707,explorers:[{name:"BlockChain Station Explorer",url:"https://explorer.bcsdev.io",standard:"EIP3091"}],faucets:[],infoURL:"https://blockchainstation.io",name:"BlockChain Station Mainnet",nativeCurrency:{name:"BCS Token",symbol:"BCS",decimals:18},networkId:707,rpc:["https://707.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.bcsdev.io","wss://rpc-ws-mainnet.bcsdev.io"],shortName:"bcs",slug:"blockchain-station",testnet:!1},K5t={chain:"BCS",chainId:708,explorers:[{name:"BlockChain Station Explorer",url:"https://testnet.bcsdev.io",standard:"EIP3091"}],faucets:["https://faucet.bcsdev.io"],infoURL:"https://blockchainstation.io",name:"BlockChain Station Testnet",nativeCurrency:{name:"BCS Testnet Token",symbol:"tBCS",decimals:18},networkId:708,rpc:["https://708.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bcsdev.io","wss://rpc-ws-testnet.bcsdev.io"],shortName:"tbcs",slip44:1,slug:"blockchain-station-testnet",testnet:!0},Q5t={chain:"HIGHBURY",chainId:710,explorers:[{name:"Furya EVM Explorer",url:"https://explorer.furya.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiby27m6esbsjthmknckq5ktsaaj2z6hylzljbsmvx4fgezdra3q4m",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiby27m6esbsjthmknckq5ktsaaj2z6hylzljbsmvx4fgezdra3q4m",width:512,height:512,format:"png"},infoURL:"https://www.fury.black",name:"Highbury",nativeCurrency:{name:"Fury",symbol:"FURY",decimals:18},networkId:710,rpc:["https://710.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://highbury.furya.io","https://rest.furya.io"],shortName:"fury",slug:"highbury",testnet:!1},V5t={chain:"VRC",chainId:713,explorers:[{name:"vrcscan",url:"https://vrcscan.com",standard:"EIP3091"},{name:"dxbscan",url:"https://dxb.vrcscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmasMkZJ6m7y77fgY6SooNnrH3Y4a3vVYNDWe9T3KusxeU",width:512,height:512,format:"png"},infoURL:"https://vrccoin.com",name:"Vrcscan Mainnet",nativeCurrency:{name:"VRC Chain",symbol:"VRC",decimals:18},networkId:713,rpc:["https://713.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-5.vrcscan.com","https://rpc-mainnet-6.vrcscan.com","https://rpc-mainnet-7.vrcscan.com","https://rpc-mainnet-8.vrcscan.com"],shortName:"vrc",slug:"vrcscan",testnet:!1},Y5t={chain:"Shibarium",chainId:719,explorers:[{name:"shibscan",url:"https://puppyscan.shib.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYNVkoZgRjDBQzJz6kog9mA2yPzQFW2oSKvhnkwuBhLQE",width:2e3,height:2e3,format:"png"},infoURL:"https://beta.shibariumtech.com",name:"Shibarium Beta",nativeCurrency:{name:"BONE",symbol:"BONE",decimals:18},networkId:719,rpc:["https://719.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://puppynet.shibrpc.com"],shortName:"shibarium",slug:"shibarium-beta",testnet:!1},$5t={chain:"LYC",chainId:721,explorers:[{name:"blockscout",url:"https://explorer.lycanchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZsp3gnmHCJPw3qReiqV8P8Ct5Eidib4E5jDNfBUxYEgP",width:512,height:512,format:"png"},infoURL:"https://lycanchain.com",name:"Lycan Chain",nativeCurrency:{name:"Lycan",symbol:"LYC",decimals:18},networkId:721,rpc:["https://721.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lycanchain.com/","https://us-east.lycanchain.com","https://us-west.lycanchain.com","https://eu-north.lycanchain.com","https://eu-west.lycanchain.com","https://asia-southeast.lycanchain.com"],shortName:"LYC",slug:"lycan-chain",testnet:!1},J5t={chain:"BLU",chainId:727,explorers:[],faucets:[],infoURL:"https://www.blucrates.com",name:"Blucrates",nativeCurrency:{name:"Blucrates",symbol:"BLU",decimals:18},networkId:727,rpc:["https://727.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data.bluchain.pro"],shortName:"blu",slip44:727,slug:"blucrates",testnet:!1},X5t={chain:"Lovely",chainId:730,explorers:[{name:"Lovely Network Mainnet",url:"https://scan.lovely.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPB7uW7Wj8zWWdeuPnUHPJ5FhaiTL76tv4ZQ4oKWEpb1g",width:897,height:824,format:"png"},infoURL:"https://lovely.network",name:"Lovely Network Mainnet",nativeCurrency:{name:"Lovely",symbol:"LOVELY",decimals:18},networkId:730,rpc:["https://730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lovely.network"],shortName:"LOVELY",slug:"lovely-network",testnet:!1},Z5t={chain:"Canto Tesnet",chainId:740,explorers:[{name:"Canto Tesnet Explorer (Neobase)",url:"https://testnet-explorer.canto.neobase.one",standard:"none"}],faucets:[],infoURL:"https://canto.io",name:"Canto Testnet",nativeCurrency:{name:"Canto",symbol:"CANTO",decimals:18},networkId:740,rpc:["https://740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth.plexnode.wtf/"],shortName:"tcanto",slip44:1,slug:"canto-testnet",status:"deprecated",testnet:!0},edt={chain:"VSCT",chainId:741,explorers:[{name:"ventionscan",url:"https://testnet.ventionscan.io",standard:"EIP3091"}],faucets:["https://faucet.vention.network"],icon:{url:"ipfs://QmcNepHmbmHW1BZYM3MFqJW4awwhmDqhUPRXXmRnXwg1U4",width:250,height:250,format:"png"},infoURL:"https://testnet.ventionscan.io",name:"Vention Smart Chain Testnet",nativeCurrency:{name:"VNT",symbol:"VNT",decimals:18},networkId:741,rpc:["https://741.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node-testnet.vention.network"],shortName:"vsct",slip44:1,slug:"vention-smart-chain-testnet",testnet:!0},tdt={chain:"SPAY",chainId:742,explorers:[{name:"Script Explorer",url:"https://explorer.script.tv",standard:"none"}],faucets:[],infoURL:"https://token.script.tv",name:"Script Testnet",nativeCurrency:{name:"Script",symbol:"SPAY",decimals:18},networkId:742,rpc:["https://742.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testeth-rpc-api.script.tv/rpc"],shortName:"SPAY",slip44:1,slug:"script-testnet",testnet:!0},ndt={chain:"Flow",chainId:747,explorers:[{name:"Flow Diver",url:"https://flowdiver.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQFugEvsfU3ARjjJ7YRLJwSxMfTk54WWzrofekTRBKFaC",width:2e3,height:2e3,format:"png"},infoURL:"https://developers.flow.com/evm/about",name:"Mainnet",nativeCurrency:{name:"FLOW",symbol:"FLOW",decimals:18},networkId:747,rpc:["https://747.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.evm.nodes.onflow.org"],shortName:"flow-mainnet",slug:"flow-mainnet",testnet:!1},adt={chain:"QOM",chainId:766,explorers:[{name:"QL1 Mainnet Explorer",url:"https://mainnet.qom.one",standard:"EIP3091",icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"},infoURL:"https://qom.one",name:"QL1",nativeCurrency:{name:"Shiba Predator",symbol:"QOM",decimals:18},networkId:766,rpc:["https://766.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.qom.one"],shortName:"qom",slug:"ql1",status:"incubating",testnet:!1},rdt={chain:"OpenChain Testnet",chainId:776,explorers:[{name:"OPEN CHAIN TESTNET",url:"https://testnet.openchain.info",standard:"none"}],faucets:["https://faucet.openchain.info/"],infoURL:"https://testnet.openchain.info/",name:"OpenChain Testnet",nativeCurrency:{name:"Openchain Testnet",symbol:"TOPC",decimals:18},networkId:776,rpc:[],shortName:"opc",slip44:1,slug:"openchain-testnet",testnet:!0},fdt={chain:"cheapETH",chainId:777,explorers:[],faucets:[],infoURL:"https://cheapeth.org/",name:"cheapETH",nativeCurrency:{name:"cTH",symbol:"cTH",decimals:18},networkId:777,rpc:["https://777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.cheapeth.org/rpc"],shortName:"cth",slug:"cheapeth",testnet:!1},idt={chain:"MAAL",chainId:786,explorers:[{name:"maalscan",url:"https://maalscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiexfqfe2x4impvwhra3xxa5eb25gv25zi3kkaoatdnld7wbxdzf2a",width:512,height:512,format:"png"},infoURL:"https://www.maalchain.com/",name:"MAAL Chain",nativeCurrency:{name:"MAAL",symbol:"MAAL",decimals:18},networkId:786,rpc:["https://786.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1-mainnet.maalscan.io/","https://node2-mainnet.maalscan.io/","https://node3-mainnet.maalscan.io/"],shortName:"maal",slug:"maal-chain",testnet:!1},sdt={chain:"ACA",chainId:787,explorers:[{name:"blockscout",url:"https://blockscout.acala.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://acala.network",name:"Acala Network",nativeCurrency:{name:"Acala Token",symbol:"ACA",decimals:18},networkId:787,rpc:["https://787.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-acala.aca-api.network","wss://eth-rpc-acala.aca-api.network"],shortName:"aca",slip44:787,slug:"acala-network",testnet:!1},odt={chain:"Aerochain",chainId:788,explorers:[{name:"aeroscan",url:"https://testnet.aeroscan.id",standard:"EIP3091"}],faucets:["https://faucet.aerochain.id/"],infoURL:"https://aerochaincoin.org/",name:"Aerochain Testnet",nativeCurrency:{name:"Aerochain Testnet",symbol:"TAero",decimals:18},networkId:788,rpc:["https://788.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.aerochain.id/"],shortName:"taero",slip44:1,slug:"aerochain-testnet",testnet:!0},cdt={chain:"ETH",chainId:789,explorers:[{name:"patexscan",url:"https://patexscan.io",standard:"EIP3091",icon:{url:"ipfs://QmTNTSNn3t5WpSEzQmUYbkxYkBKaH6QahyVdVrRKyPHChr",width:800,height:800,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTNTSNn3t5WpSEzQmUYbkxYkBKaH6QahyVdVrRKyPHChr",width:800,height:800,format:"png"},infoURL:"https://patex.io/",name:"Patex",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:789,rpc:["https://789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.patex.io/"],shortName:"peth",slug:"patex",testnet:!1},ddt={chain:"Rupaya Testnet",chainId:799,explorers:[{name:"rupayascan",url:"https://scan.testnet.rupaya.io",standard:"EIP3091"}],faucets:["https://faucet.testnet.rupaya.io"],infoURL:"https://www.rupaya.io",name:"Rupaya Testnet",nativeCurrency:{name:"Test Rupaya",symbol:"TRUPX",decimals:18},networkId:799,rpc:["https://799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.rupaya.io"],shortName:"RupayaTestnet",slip44:1,slug:"rupaya-testnet",testnet:!0},ldt={chain:"Lucid",chainId:800,explorers:[{name:"Lucid Explorer",url:"https://explorer.lucidcoin.io",standard:"none"}],faucets:["https://faucet.lucidcoin.io"],icon:{url:"ipfs://bafybeigxiyyxll4vst5cjjh732mr6zhsnligxubaldyiul2xdvvi6ibktu",width:800,height:800,format:"png"},infoURL:"https://lucidcoin.io",name:"Lucid Blockchain",nativeCurrency:{name:"LUCID",symbol:"LUCID",decimals:18},networkId:800,rpc:["https://800.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lucidcoin.io"],shortName:"LUCID",slug:"lucid-blockchain",testnet:!1},udt={chain:"Haic",chainId:803,explorers:[],faucets:[],infoURL:"https://www.haichain.io/",name:"Haic",nativeCurrency:{name:"Haicoin",symbol:"HAIC",decimals:18},networkId:803,rpc:["https://803.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://orig.haichain.io/"],shortName:"haic",slug:"haic",testnet:!1},pdt={chain:"PF",chainId:808,explorers:[],faucets:[],icon:{url:"ipfs://QmeMa6aw3ebUKJdGgbzDgcVtggzp7cQdfSrmzMYmnt5ywc",width:200,height:200,format:"png"},infoURL:"https://portalfantasy.io",name:"Portal Fantasy Chain Test",nativeCurrency:{name:"Portal Fantasy Token",symbol:"PFT",decimals:18},networkId:808,rpc:["https://808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/portal-fantasy/testnet/rpc"],shortName:"PFTEST",slip44:1,slug:"portal-fantasy-chain-test",testnet:!0},hdt={chain:"haven1",chainId:810,explorers:[{name:"Haven1 Explorer",url:"https://testnet-explorer.haven1.org",standard:"EIP3091",icon:{url:"ipfs://bafkreih4jq33lz2mjwvu62hmo2ptt277et5l6oqi5ejuyxv2dir2iohsai",width:128,height:128,format:"png"}}],faucets:["https://www.haven1.org/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreih4jq33lz2mjwvu62hmo2ptt277et5l6oqi5ejuyxv2dir2iohsai",width:128,height:128,format:"png"},infoURL:"https://www.haven1.org",name:"Haven1 Testnet",nativeCurrency:{name:"Haven1",symbol:"H1",decimals:18},networkId:810,rpc:["https://810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.haven1.org"],shortName:"h1",slug:"haven1-testnet",testnet:!0},bdt={chain:"MEER",chainId:813,explorers:[{name:"meerscan",url:"https://qng.qitmeer.io",standard:"EIP3091",icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"}},{name:"meerscan",url:"https://qng.meerscan.io",standard:"EIP3091",icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Mainnet",nativeCurrency:{name:"Qitmeer",symbol:"MEER",decimals:18},networkId:813,rpc:["https://813.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-dataseed1.meerscan.io","https://evm-dataseed2.meerscan.io","https://evm-dataseed3.meerscan.io","https://evm-dataseed.meerscan.com","https://qng.rpc.qitmeer.io","https://mainnet.meerlabs.com","https://rpc.dimai.ai","https://rpc.woowow.io"],shortName:"meer",slip44:813,slug:"qitmeer-network",testnet:!1},mdt={chain:"Firechain",chainId:814,explorers:[],faucets:[],icon:{url:"ipfs://QmYjuztyURb3Fc6ZTLgCbwQa64CcVoigF5j9cafzuSbqgf",width:512,height:512,format:"png"},infoURL:"https://docs.thefirechain.com/",name:"Firechain zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:814,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://zkevm-bridge-rpc.thefirechain.com"}]},rpc:["https://814.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-zkevm.thefirechain.com"],shortName:"firechan-zkEVM",slug:"firechain-zkevm",testnet:!1,title:"Firechain zkEVM"},ydt={chain:"BOC",chainId:818,explorers:[{name:"BeOne Chain Mainnet",url:"https://beonescan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbVLQnaMDu86bPyKgCvTGhFBeYwjr15hQnrCcsp1EkAGL",width:500,height:500,format:"png"},infoURL:"https://beonechain.com",name:"BeOne Chain Mainnet",nativeCurrency:{name:"BeOne Chain Mainnet",symbol:"BOC",decimals:18},networkId:818,rpc:["https://818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed1.beonechain.com","https://dataseed2.beonechain.com","https://dataseed-us1.beonechain.com","https://dataseed-us2.beonechain.com","https://dataseed-uk1.beonechain.com","https://dataseed-uk2.beonechain.com"],shortName:"BOC",slip44:8181,slug:"beone-chain",testnet:!1},gdt={chain:"CLO",chainId:820,explorers:[],faucets:[],infoURL:"https://callisto.network",name:"Callisto Mainnet",nativeCurrency:{name:"Callisto",symbol:"CLO",decimals:18},networkId:1,rpc:["https://820.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.callisto.network/"],shortName:"clo",slip44:820,slug:"callisto",testnet:!1},vdt={chain:"CLO",chainId:821,explorers:[],faucets:[],infoURL:"https://callisto.network",name:"Callisto Testnet Deprecated",nativeCurrency:{name:"Callisto Testnet Ether",symbol:"TCLO",decimals:18},networkId:2,rpc:[],shortName:"tclo",slip44:1,slug:"callisto-testnet-deprecated",status:"deprecated",testnet:!0},wdt={chain:"Runic",chainId:822,explorers:[{name:"RunicScan",url:"https://scan.runic.build",standard:"EIP3091",icon:{url:"ipfs://QmW3RZKwBq12F7jVV2pn6T9WzwU5rosLYkVqoRQckfKvXo",width:340,height:340,format:"png"}}],faucets:["https://faucet.runic.build"],icon:{url:"ipfs://QmW3RZKwBq12F7jVV2pn6T9WzwU5rosLYkVqoRQckfKvXo",width:340,height:340,format:"png"},infoURL:"https://runic.build",name:"Runic Chain Testnet",nativeCurrency:{name:"Bitcoin",symbol:"rBTC",decimals:18},networkId:822,rpc:["https://822.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.runic.build"],shortName:"runic-testnet",slug:"runic-chain-testnet",status:"active",testnet:!0},Tdt={chain:"CDT Blockchain",chainId:831,explorers:[{name:"CDT Explorer",url:"https://explorer.checkdot.io",standard:"none"}],faucets:[],infoURL:"https://checkdot.io",name:"CheckDot Blockchain Devnet",nativeCurrency:{name:"CDT",symbol:"CDT",decimals:18},networkId:831,rpc:["https://831.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.checkdot.io"],shortName:"cdt",slug:"checkdot-blockchain-devnet",testnet:!1},xdt={chain:"Tara",chainId:841,explorers:[{name:"Taraxa Explorer",url:"https://explorer.mainnet.taraxa.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQhdktNyBeXmCaVuQpi1B4yXheSUKrJA17L4wpECKzG5D",width:310,height:310,format:"png"},infoURL:"https://taraxa.io",name:"Taraxa Mainnet",nativeCurrency:{name:"Tara",symbol:"TARA",decimals:18},networkId:841,rpc:["https://841.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.taraxa.io/"],shortName:"tara",slug:"taraxa",testnet:!1},Edt={chain:"Tara",chainId:842,explorers:[{name:"Taraxa Explorer",url:"https://explorer.testnet.taraxa.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQhdktNyBeXmCaVuQpi1B4yXheSUKrJA17L4wpECKzG5D",width:310,height:310,format:"png"},infoURL:"https://taraxa.io",name:"Taraxa Testnet",nativeCurrency:{name:"Tara",symbol:"TARA",decimals:18},networkId:842,rpc:["https://842.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.taraxa.io/"],shortName:"taratest",slip44:1,slug:"taraxa-testnet",testnet:!0},_dt={chain:"ZeethChainDev",chainId:859,explorers:[{name:"Zeeth Explorer Dev",url:"https://explorer.dev.zeeth.io",standard:"none"}],faucets:[],name:"Zeeth Chain Dev",nativeCurrency:{name:"Zeeth Token",symbol:"ZTH",decimals:18},networkId:859,rpc:["https://859.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.zeeth.io"],shortName:"zeethdev",slug:"zeeth-chain-dev",testnet:!1},Adt={chain:"FSC",chainId:868,explorers:[{name:"FSCScan",url:"https://explorer.fantasiachain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://fantasiachain.com/",name:"Fantasia Chain Mainnet",nativeCurrency:{name:"FST",symbol:"FST",decimals:18},networkId:868,rpc:["https://868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-data1.fantasiachain.com/","https://mainnet-data2.fantasiachain.com/","https://mainnet-data3.fantasiachain.com/"],shortName:"FSCMainnet",slug:"fantasia-chain",testnet:!1},Cdt={chain:"Bandai Namco Research Verse",chainId:876,explorers:[{name:"Bandai Namco Research Verse Explorer",url:"https://explorer.main.oasvrs.bnken.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifhetalm3vpvjrg5u5d2momkcgvkz6rhltur5co3rslltbxzpr6yq",width:2048,height:2048,format:"png"},infoURL:"https://www.bandainamco-mirai.com/en/",name:"Bandai Namco Research Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:876,parent:{type:"L2",chain:"eip155-248"},rpc:["https://876.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.main.oasvrs.bnken.net"],shortName:"BNKEN",slug:"bandai-namco-research-verse",testnet:!1},Idt={chain:"DXT",chainId:877,explorers:[{name:"dxtscan",url:"https://dxtscan.com",standard:"EIP3091"}],faucets:["https://faucet.dexit.network"],infoURL:"https://dexit.network",name:"Dexit Network",nativeCurrency:{name:"Dexit network",symbol:"DXT",decimals:18},networkId:877,rpc:["https://877.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dxt.dexit.network"],shortName:"DXT",slug:"dexit-network",testnet:!1},kdt={chain:"ambroschain",chainId:880,explorers:[{name:"Ambros Chain Explorer",url:"https://ambrosscan.com",standard:"none"}],faucets:[],infoURL:"https://ambros.network",name:"Ambros Chain Mainnet",nativeCurrency:{name:"AMBROS",symbol:"AMBROS",decimals:18},networkId:880,rpc:["https://880.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ambros.network"],shortName:"ambros",slug:"ambros-chain",testnet:!1},Sdt={chain:"Hypr",chainId:881,explorers:[],faucets:[],features:[],icon:{url:"ipfs://bafybeie6wdqkhub4p346rixkvft3l2bxa3kzo4q6dh5c5vgq6oejwlhu4a/",width:3600,height:3600,format:"PNG"},infoURL:"https://www.hypr.network",name:"Hypr Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:881,parent:{type:"OP Stack",chain:"OP",bridges:[]},redFlags:[],rpc:["https://881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hypr.network"],shortName:"ether",slug:"hypr",testnet:!1},Rdt={chain:"Hypr",chainId:882,explorers:[{name:"Explorer",url:"https://explorer-testnet.hypr.network",standard:"OP Stack EVM"}],faucets:[],features:[],icon:{url:"ipfs://bafybeie6wdqkhub4p346rixkvft3l2bxa3kzo4q6dh5c5vgq6oejwlhu4a/",width:3600,height:3600,format:"ONG"},name:"Hypr Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:882,redFlags:[],rpc:["https://882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.hypr.network"],shortName:"eth",slug:"hypr-testnet",testnet:!0,title:"https://explorer-testnet.hypr.network"},Mdt={chain:"WAN",chainId:888,explorers:[],faucets:[],infoURL:"https://www.wanscan.org",name:"Wanchain",nativeCurrency:{name:"Wancoin",symbol:"WAN",decimals:18},networkId:888,rpc:["https://888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gwan-ssl.wandevs.org:56891/"],shortName:"wan",slip44:5718350,slug:"wanchain",testnet:!1},Bdt={chain:"MAXI",chainId:898,explorers:[{name:"Maxi Chain Testnet Explorer",url:"https://testnet.maxi.network",standard:"EIP3091"}],faucets:["https://faucet.maxi.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXMLcCaNPMyWCEYX2MZDJHNvj5cpj2cR5dRQtedBRNypT",width:512,height:512,format:"png"},infoURL:"https://maxi.network",name:"MAXI Chain Testnet",nativeCurrency:{name:"MAXICOIN",symbol:"MAXI",decimals:18},networkId:898,rpc:["https://898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.maxi.network"],shortName:"maxi-testnet",slug:"maxi-chain-testnet",testnet:!0},Ddt={chain:"GAR",chainId:900,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage0",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:900,rpc:["https://900.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s0-testnet.garizon.net/rpc"],shortName:"gar-test-s0",slug:"garizon-testnet-stage0",testnet:!0},Pdt={chain:"GAR",chainId:901,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage1",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:901,parent:{type:"shard",chain:"eip155-900"},rpc:["https://901.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s1-testnet.garizon.net/rpc"],shortName:"gar-test-s1",slip44:1,slug:"garizon-testnet-stage1",testnet:!0},Ldt={chain:"GAR",chainId:902,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage2",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:902,parent:{type:"shard",chain:"eip155-900"},rpc:["https://902.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s2-testnet.garizon.net/rpc"],shortName:"gar-test-s2",slip44:1,slug:"garizon-testnet-stage2",testnet:!0},Fdt={chain:"GAR",chainId:903,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage3",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:903,parent:{type:"shard",chain:"eip155-900"},rpc:["https://903.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s3-testnet.garizon.net/rpc"],shortName:"gar-test-s3",slip44:1,slug:"garizon-testnet-stage3",testnet:!0},Ndt={chain:"PF",chainId:909,explorers:[],faucets:[],icon:{url:"ipfs://QmeMa6aw3ebUKJdGgbzDgcVtggzp7cQdfSrmzMYmnt5ywc",width:200,height:200,format:"png"},infoURL:"https://portalfantasy.io",name:"Portal Fantasy Chain",nativeCurrency:{name:"Portal Fantasy Token",symbol:"PFT",decimals:18},networkId:909,rpc:[],shortName:"PF",slug:"portal-fantasy-chain",status:"incubating",testnet:!1},Odt={chain:"DBONE",chainId:910,explorers:[],faucets:[],infoURL:"https://decentrabone.com",name:"DecentraBone Layer1 Testnet",nativeCurrency:{name:"DecentraBone",symbol:"DBONE",decimals:18},networkId:910,rpc:["https://910.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://layer1test.decentrabone.com"],shortName:"DBONE",slip44:1,slug:"decentrabone-layer1-testnet",testnet:!0},Udt={chain:"TAPROOT CHAIN",chainId:911,explorers:[{name:"TAPROOT Scan",url:"https://scan.taprootchain.io",standard:"EIP3091",icon:{url:"ipfs://QmeucqvcreQk8nnSRUiHo3QTvLoYYB7shJTKXj5Tk6BtWi",width:100,height:100,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeucqvcreQk8nnSRUiHo3QTvLoYYB7shJTKXj5Tk6BtWi",width:100,height:100,format:"png"},infoURL:"https://taprootchain.io",name:"TAPROOT Mainnet",nativeCurrency:{name:"TBTC",symbol:"TBTC",decimals:18},networkId:911,rpc:["https://911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.taprootchain.io"],shortName:"TAPROOT-Mainnet",slug:"taproot",testnet:!1,title:"TAPROOT Mainnet"},Hdt={chain:"FIRE",chainId:917,explorers:[{name:"FireScan",url:"https://rinia.firescan.io",standard:"EIP3091"}],faucets:["https://faucet.thefirechain.com"],icon:{url:"ipfs://QmRnnw2gtbU9TWJMLJ6tks7SN6HQV5rRugeoyN6csTYHt1",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Rinia Testnet",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:917,rpc:["https://917.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinia-rpc1.thefirechain.com"],shortName:"tfire",slip44:1,slug:"rinia-testnet",testnet:!0},zdt={chain:"ETH",chainId:919,explorers:[{name:"modescout",url:"https://sepolia.explorer.mode.network",standard:"none"}],faucets:["https://sepoliafaucet.com/"],icon:{url:"ipfs://bafkreidi5y7afj5z4xrz7uz5rkg2mcsv2p2n4ui4g7q4k4ecdz65i2agou",width:2160,height:2160,format:"png"},infoURL:"https://docs.mode.network/",name:"Mode Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:919,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.mode.network/"}]},rpc:["https://919.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.mode.network"],shortName:"modesep",slip44:1,slug:"mode-testnet",testnet:!0},Wdt={chain:"Yidark",chainId:927,explorers:[{name:"Yidarkscan",url:"https://yidarkscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdbFGqrpiLQGtAeUAyeS2NBvACfgrchEF466ni5q36fuZ",width:401,height:401,format:"png"},infoURL:"https://yidarkscan.com",name:"Yidark Chain Mainnet",nativeCurrency:{name:"Yidark",symbol:"YDK",decimals:18},networkId:927,rpc:["https://927.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.yidark.io"],shortName:"ydk",slug:"yidark-chain",testnet:!1},qdt={chain:"tPLS",chainId:940,explorers:[],faucets:["https://faucet.v2.testnet.pulsechain.com/"],infoURL:"https://pulsechain.com/",name:"PulseChain Testnet",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:940,rpc:["https://940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v2.testnet.pulsechain.com/","wss://rpc.v2.testnet.pulsechain.com/"],shortName:"tpls",slip44:1,slug:"pulsechain-testnet",status:"deprecated",testnet:!0},jdt={chain:"t2bPLS",chainId:941,explorers:[],faucets:["https://faucet.v2b.testnet.pulsechain.com/"],infoURL:"https://pulsechain.com/",name:"PulseChain Testnet v2b",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:941,rpc:["https://941.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v2b.testnet.pulsechain.com/","wss://rpc.v2b.testnet.pulsechain.com/"],shortName:"t2bpls",slip44:1,slug:"pulsechain-testnet-v2b",status:"deprecated",testnet:!0},Gdt={chain:"t3PLS",chainId:942,explorers:[],faucets:["https://faucet.v3.testnet.pulsechain.com/"],infoURL:"https://pulsechain.com/",name:"PulseChain Testnet v3",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:942,rpc:["https://942.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v3.testnet.pulsechain.com/","wss://rpc.v3.testnet.pulsechain.com/"],shortName:"t3pls",slip44:1,slug:"pulsechain-testnet-v3",status:"deprecated",testnet:!0},Kdt={chain:"t4PLS",chainId:943,ens:{registry:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},explorers:[{name:"blockscout",url:"https://otter-testnet-pulsechain.g4mm4.io",standard:"EIP3091"}],faucets:["https://faucet.v4.testnet.pulsechain.com/"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmckj9B9F3jWDk9bv9HwoPmfjrx2Ju8J2BQSNoPFdYGduj",width:433,height:402,format:"png"},infoURL:"https://pulsechain.com",name:"PulseChain Testnet v4",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:943,rpc:["https://943.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v4.testnet.pulsechain.com","wss://rpc.v4.testnet.pulsechain.com","https://pulsechain-testnet-rpc.publicnode.com","wss://pulsechain-testnet-rpc.publicnode.com","https://rpc-testnet-pulsechain.g4mm4.io","wss://rpc-testnet-pulsechain.g4mm4.io"],shortName:"t4pls",slip44:1,slug:"pulsechain-testnet-v4",status:"active",testnet:!0},Qdt={chain:"Avalanche",chainId:949,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s5t",nativeCurrency:{name:"QI0521s5t Token",symbol:"VTV",decimals:18},networkId:949,redFlags:[],rpc:["https://949.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s5t",slug:"qi0521s5t",testnet:!0},Vdt={chain:"munode",chainId:956,explorers:[],faucets:[],infoURL:"https://munode.dev/",name:"muNode Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:956,rpc:[],shortName:"munode",slip44:1,slug:"munode-testnet",testnet:!0},Ydt={chain:"Lyra",chainId:957,explorers:[{name:"Lyra Explorer",url:"https://explorer.lyra.finance",standard:"EIP3091",icon:{url:"ipfs://bafkreifrvwcwcgs2luampufdbdgohuxue5rep3u4p4owmwskob7hzpcfdq",width:2640,height:2640,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifrvwcwcgs2luampufdbdgohuxue5rep3u4p4owmwskob7hzpcfdq",width:2640,height:2640,format:"png"},infoURL:"https://lyra.finance",name:"Lyra Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:957,rpc:["https://957.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lyra.finance"],shortName:"lyra",slug:"lyra-chain",testnet:!1},$dt={chain:"BTC20",chainId:963,explorers:[{name:"blockscout",url:"https://scan.bitcoincode.technology",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmRUzDpn3xqPYnjLuZvFs2Attio9VxGRUprXEjcNQDcpe5",width:375,height:456,format:"png"},infoURL:"https://bitcoincode.technology",name:"BTC20 Smart Chain",nativeCurrency:{name:"BTCC",symbol:"BTCC",decimals:18},networkId:963,rpc:["https://963.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitcoincode.technology/"],shortName:"btc20",slug:"btc20-smart-chain",testnet:!1},Jdt={chain:"EthXY",chainId:969,explorers:[{name:"EthXY Network Explorer",url:"https://explorer.ethxy.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreihq3b3cqbg2ttlp4dfbgmirrwdw6bbpmmbr5wolddd2izbyqay4xq",width:480,height:480,format:"png"},infoURL:"https://ethxy.com",name:"EthXY",nativeCurrency:{name:"Settled EthXY Token",symbol:"SEXY",decimals:18},networkId:969,rpc:["https://969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ethxy.com"],shortName:"sexy",slug:"ethxy",testnet:!1},Xdt={chain:"Oort Mainnet",chainId:970,explorers:[{name:"Oort Mainnet Explorer",url:"https://mainnet-scan.oortech.com",standard:"none",icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"},infoURL:"https://oortech.com",name:"Oort Mainnet",nativeCurrency:{name:"Oort",symbol:"OORT",decimals:18},networkId:970,rpc:["https://970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oortech.com"],shortName:"ccn",slug:"oort",testnet:!1},Zdt={chain:"Huygens",chainId:971,explorers:[],faucets:[],icon:{url:"ipfs://QmZ1jbxFZcuotj3eZ6iKFrg9ZXnaV8AK6sGRa7ELrceWyD",width:1043,height:1079,format:"png"},infoURL:"https://oortech.com",name:"Oort Huygens",nativeCurrency:{name:"Oort",symbol:"CCN",decimals:18},networkId:971,rpc:[],shortName:"Huygens",slug:"oort-huygens",testnet:!1},elt={chain:"Ascraeus",chainId:972,explorers:[{name:"Oort Ascraeus Explorer",url:"https://ascraeus-scan.oortech.com",standard:"none",icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"},infoURL:"https://oortech.com",name:"Oort Ascraeus",nativeCurrency:{name:"Oort",symbol:"CCNA",decimals:18},networkId:972,rpc:["https://972.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ascraeus-rpc.oortech.com"],shortName:"Ascraeus",slug:"oort-ascraeus",testnet:!1,title:"Oort Ascraeus"},tlt={chain:"YETI",chainId:977,explorers:[],faucets:["https://faucet.nepalblockchain.network"],infoURL:"https://nepalblockchain.network",name:"Nepal Blockchain Network",nativeCurrency:{name:"Nepal Blockchain Network Ether",symbol:"YETI",decimals:18},networkId:977,rpc:["https://977.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.nepalblockchain.dev","https://api.nepalblockchain.network"],shortName:"yeti",slug:"nepal-blockchain-network",testnet:!1},nlt={chain:"EthXY",chainId:979,explorers:[{name:"EthXY Testnet Network Explorer",url:"https://explorer.testnet.ethxy.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreihq3b3cqbg2ttlp4dfbgmirrwdw6bbpmmbr5wolddd2izbyqay4xq",width:480,height:480,format:"png"},infoURL:"https://ethxy.com",name:"EthXY Testnet",nativeCurrency:{name:"Settled EthXY Token",symbol:"SEXY",decimals:18},networkId:979,rpc:["https://979.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.ethxy.com"],shortName:"sexyTestnet",slug:"ethxy-testnet",testnet:!0},alt={chain:"TOP",chainId:980,explorers:[{name:"topscan.dev",url:"https://www.topscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmYikaM849eZrL8pGNeVhEHVTKWpxdGMvCY5oFBfZ2ndhd",width:800,height:800,format:"png"},infoURL:"https://www.topnetwork.org/",name:"TOP Mainnet EVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:0,rpc:["https://980.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ethapi.topnetwork.org"],shortName:"top_evm",slug:"top-evm",testnet:!1},rlt={chain:"MEMO",chainId:985,explorers:[{name:"Memo Mainnet Explorer",url:"https://scan.metamemo.one:8080",standard:"EIP3091",icon:{url:"ipfs://bafkreig52paynhccs4o5ew6f7mk3xoqu2bqtitmfvlgnwarh2pm33gbdrq",width:128,height:128,format:"png"}}],faucets:["https://faucet.metamemo.one/"],icon:{url:"ipfs://bafkreig52paynhccs4o5ew6f7mk3xoqu2bqtitmfvlgnwarh2pm33gbdrq",width:128,height:128,format:"png"},name:"Memo Smart Chain Mainnet",nativeCurrency:{name:"Memo",symbol:"CMEMO",decimals:18},networkId:985,rpc:["https://985.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.metamemo.one:8501","wss://chain.metamemo.one:16801"],shortName:"memochain",slug:"memo-smart-chain",testnet:!1},flt={chain:"Avalanche",chainId:987,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Orange Testnet",nativeCurrency:{name:"Orange Testnet Token",symbol:"JUICE",decimals:18},networkId:987,redFlags:[],rpc:["https://987.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/orangetest/testnet/rpc"],shortName:"Orange Testnet",slug:"orange-testnet",testnet:!0},ilt={chain:"TOP",chainId:989,explorers:[{name:"topscan.dev",url:"https://www.topscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmYikaM849eZrL8pGNeVhEHVTKWpxdGMvCY5oFBfZ2ndhd",width:800,height:800,format:"png"},infoURL:"https://www.topnetwork.org/",name:"TOP Mainnet",nativeCurrency:{name:"TOP",symbol:"TOP",decimals:6},networkId:0,rpc:[],shortName:"top",slug:"top",testnet:!1},slt={chain:"$EL",chainId:990,explorers:[{name:"eLiberty Mainnet",url:"https://explorer.eliberty.ngo",standard:"EIP3091"}],faucets:["https://faucet.eliberty.ngo"],icon:{url:"ipfs://Qmcr8US1DZcK3ooiMtE8tEQPgep12abXzxPw1jCkgZhji9",width:150,height:150,format:"png"},infoURL:"https://eliberty.ngo",name:"eLiberty Mainnet",nativeCurrency:{name:"eLiberty",symbol:"$EL",decimals:18},networkId:990,rpc:["https://990.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eliberty.ngo"],shortName:"ELm",slug:"eliberty",testnet:!1},olt={chain:"5ireChain",chainId:997,explorers:[{name:"5ireChain Explorer",url:"https://explorer.5ire.network",standard:"none",icon:{url:"ipfs://QmaZDNDFLWESH4i3XqwEWfWBb1HPnQSNbDAr74nr2x8QAk",width:800,height:800,format:"svg"}}],faucets:["https://explorer.5ire.network/faucet"],icon:{url:"ipfs://QmaZDNDFLWESH4i3XqwEWfWBb1HPnQSNbDAr74nr2x8QAk",width:800,height:800,format:"svg"},infoURL:"https://5ire.org",name:"5ireChain Thunder",nativeCurrency:{name:"5ire Token",symbol:"5ire",decimals:18},networkId:997,rpc:["https://997.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.5ire.network"],shortName:"5ire",slug:"5irechain-thunder",testnet:!0},clt={chain:"LN",chainId:998,explorers:[{name:"blockscout",url:"https://explorer.luckynetwork.org",standard:"none"},{name:"expedition",url:"https://lnscan.org",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreidmvcd5i7touug55hj45mf2pgabxamy5fziva7mtx5n664s3yap6m",width:205,height:28,format:"png"},infoURL:"https://luckynetwork.org",name:"Lucky Network",nativeCurrency:{name:"Lucky",symbol:"L99",decimals:18},networkId:998,rpc:["https://998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.luckynetwork.org","wss://ws.lnscan.org","https://rpc.lnscan.org"],shortName:"ln",slug:"lucky-network",testnet:!1},dlt={chain:"ETH",chainId:999,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmZ6qaRwTPFEZUspwMUjaxC6KhmzcELdRQcQzS3P72Dzts/Vector.svg",width:512,height:512,format:"svg"},name:"Zora Testnet",nativeCurrency:{name:"Ether",symbol:"GETH",decimals:18},networkId:999,redFlags:["reusedChainId"],rpc:["https://999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.zora.co/"],shortName:"zora-testnet",slug:"zora-testnet",testnet:!0},llt={chain:"GTON",chainId:1e3,explorers:[{name:"GTON Network Explorer",url:"https://explorer.gton.network",standard:"EIP3091"}],faucets:[],infoURL:"https://gton.capital",name:"GTON Mainnet",nativeCurrency:{name:"GCD",symbol:"GCD",decimals:18},networkId:1e3,parent:{type:"L2",chain:"eip155-1"},rpc:["https://1000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gton.network/"],shortName:"gton",slug:"gton",testnet:!1},ult={chain:"KLAY",chainId:1001,explorers:[{name:"Klaytnscope",url:"https://baobab.klaytnscope.com",standard:"EIP3091"},{name:"Klaytnfinder",url:"https://baobab.klaytnfinder.io",standard:"EIP3091"}],faucets:["https://baobab.wallet.klaytn.com/access?next=faucet"],features:[],infoURL:"https://klaytn.foundation",name:"Klaytn Testnet Baobab",nativeCurrency:{name:"KLAY",symbol:"KLAY",decimals:18},networkId:1001,redFlags:[],rpc:["https://1001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-en-baobab.klaytn.net","https://api.baobab.klaytn.net:8651"],shortName:"Baobab",slip44:1,slug:"klaytn-testnet-baobab",testnet:!0},plt={chain:"TET",chainId:1003,explorers:[{name:"Tectum explorer",url:"https://explorer.tectum.io",standard:"EIP3091",icon:{url:"ipfs://QmYvFVprVdAGJH4iHUCXGEmy7pq8MMfxEjM64SuXutz9qx",width:256,height:256,format:"png"}}],faucets:[],infoURL:"https://softnote.com",name:"Tectum Emission Token",nativeCurrency:{name:"Tectum",symbol:"TET",decimals:8},networkId:1003,rpc:["https://1003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.softnote.com/"],shortName:"tet",slug:"tectum-emission-token",testnet:!1},hlt={chain:"T-EKTA",chainId:1004,explorers:[{name:"test-ektascan",url:"https://test.ektascan.io",standard:"EIP3091",icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"},infoURL:"https://www.ekta.io",name:"T-EKTA",nativeCurrency:{name:"T-EKTA",symbol:"T-EKTA",decimals:18},networkId:1004,rpc:["https://1004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.ekta.io:8545"],shortName:"t-ekta",slug:"t-ekta",testnet:!0,title:"EKTA Testnet T-EKTA"},blt={chain:"NEW",chainId:1007,explorers:[],faucets:[],infoURL:"https://www.newtonproject.org/",name:"Newton Testnet",nativeCurrency:{name:"Newton",symbol:"NEW",decimals:18},networkId:1007,rpc:["https://1007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.newchain.newtonproject.org"],shortName:"tnew",slip44:1,slug:"newton-testnet",testnet:!0},mlt={chain:"EUN",chainId:1008,explorers:[{name:"eurusexplorer",url:"https://explorer.eurus.network",standard:"none",icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"},infoURL:"https://eurus.network",name:"Eurus Mainnet",nativeCurrency:{name:"Eurus",symbol:"EUN",decimals:18},networkId:1008,rpc:["https://1008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.eurus.network/"],shortName:"eun",slug:"eurus",testnet:!1},ylt={chain:"Jumbo",chainId:1009,explorers:[{name:"Jumboscan",url:"https://jumboscan.jumbochain.org",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://jumbochain.org",name:"Jumbochain Mainnet",nativeCurrency:{name:"JNFTC",symbol:"JNFTC",decimals:18},networkId:1009,rpc:["https://1009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcpriv.jumbochain.org"],shortName:"Jumboscan",slip44:1,slug:"jumbochain",testnet:!1},glt={chain:"EVC",chainId:1010,explorers:[],faucets:[],infoURL:"https://evrice.com",name:"Evrice Network",nativeCurrency:{name:"Evrice",symbol:"EVC",decimals:18},networkId:1010,rpc:["https://1010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://meta.evrice.com"],shortName:"EVC",slip44:1020,slug:"evrice-network",testnet:!1},vlt={chain:"REBUS",chainId:1011,explorers:[{name:"Rebus EVM Explorer (Blockscout)",url:"https://evm.rebuschain.com",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}},{name:"Rebus Cosmos Explorer (ping.pub)",url:"https://cosmos.rebuschain.com",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"},infoURL:"https://www.rebuschain.com",name:"Rebus Mainnet",nativeCurrency:{name:"Rebus",symbol:"REBUS",decimals:18},networkId:1011,rpc:["https://1011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://apievm.rebuschain.com/rpc"],shortName:"rebus",slug:"rebus",testnet:!1,title:"Rebuschain Mainnet"},wlt={chain:"NEW",chainId:1012,explorers:[],faucets:[],infoURL:"https://www.newtonproject.org/",name:"Newton",nativeCurrency:{name:"Newton",symbol:"NEW",decimals:18},networkId:1012,rpc:["https://1012.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://global.rpc.mainnet.newtonproject.org"],shortName:"new",slug:"newton",testnet:!1},Tlt={chain:"Sakura",chainId:1022,explorers:[],faucets:[],infoURL:"https://clover.finance/sakura",name:"Sakura",nativeCurrency:{name:"Sakura",symbol:"SKU",decimals:18},networkId:1022,rpc:[],shortName:"sku",slug:"sakura",testnet:!1},xlt={chain:"Clover",chainId:1023,explorers:[],faucets:[],infoURL:"https://clover.finance",name:"Clover Testnet",nativeCurrency:{name:"Clover",symbol:"CLV",decimals:18},networkId:1023,rpc:[],shortName:"tclv",slip44:1,slug:"clover-testnet",testnet:!0},Elt={chain:"CLV",chainId:1024,explorers:[],faucets:[],infoURL:"https://clv.org",name:"CLV Parachain",nativeCurrency:{name:"CLV",symbol:"CLV",decimals:18},networkId:1024,rpc:["https://1024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api-para.clover.finance"],shortName:"clv",slug:"clv-parachain",testnet:!1},_lt={chain:"BTTC",chainId:1028,explorers:[{name:"testbttcscan",url:"https://testscan.bittorrentchain.io",standard:"none"}],faucets:[],infoURL:"https://bittorrentchain.io/",name:"BitTorrent Chain Testnet",nativeCurrency:{name:"BitTorrent",symbol:"BTT",decimals:18},networkId:1028,rpc:["https://1028.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.bittorrentchain.io/"],shortName:"tbtt",slip44:1,slug:"bittorrent-chain-testnet",testnet:!0},Alt={chain:"Conflux",chainId:1030,explorers:[{name:"Conflux Scan",url:"https://evm.confluxscan.net",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreifj7n24u2dslfijfihwqvpdeigt5aj3k3sxv6s35lv75sxsfr3ojy",width:460,height:576,format:"png"},infoURL:"https://confluxnetwork.org",name:"Conflux eSpace",nativeCurrency:{name:"CFX",symbol:"CFX",decimals:18},networkId:1030,rpc:["https://1030.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.confluxrpc.com"],shortName:"cfx",slug:"conflux-espace",testnet:!1},Clt={chain:"Proxy Network",chainId:1031,explorers:[{name:"proxy network testnet",url:"http://testnet-explorer.theproxy.network",standard:"EIP3091"}],faucets:[],infoURL:"https://theproxy.network",name:"Proxy Network Testnet",nativeCurrency:{name:"PRX",symbol:"PRX",decimals:18},networkId:1031,rpc:["https://1031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://128.199.94.183:8041"],shortName:"prx",slip44:1,slug:"proxy-network-testnet",testnet:!0},Ilt={chain:"Bronos",chainId:1038,explorers:[{name:"Bronos Testnet Explorer",url:"https://tbroscan.bronos.org",standard:"none",icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"}}],faucets:["https://faucet.bronos.org"],icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"},infoURL:"https://bronos.org",name:"Bronos Testnet",nativeCurrency:{name:"tBRO",symbol:"tBRO",decimals:18},networkId:1038,rpc:["https://1038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-testnet.bronos.org"],shortName:"bronos-testnet",slip44:1,slug:"bronos-testnet",testnet:!0},klt={chain:"Bronos",chainId:1039,explorers:[{name:"Bronos Explorer",url:"https://broscan.bronos.org",standard:"none",icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"},infoURL:"https://bronos.org",name:"Bronos Mainnet",nativeCurrency:{name:"BRO",symbol:"BRO",decimals:18},networkId:1039,rpc:[],shortName:"bronos-mainnet",slug:"bronos",testnet:!1},Slt={chain:"ShimmerEVM",chainId:1071,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.shimmer.network",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.shimmer.network","https://evm-faucet.testnet.shimmer.network"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM Testnet Deprecated",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:18},networkId:1071,rpc:[],shortName:"shimmerevm-testnet-deprecated",slip44:1,slug:"shimmerevm-testnet-deprecated",status:"deprecated",testnet:!0,title:"ShimmerEVM Testnet Deprecated"},Rlt={chain:"ShimmerEVM",chainId:1072,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.shimmer.network",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.shimmer.network","https://evm-faucet.testnet.shimmer.network"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM Testnet Deprecated 1072",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:6},networkId:1072,rpc:[],shortName:"shimmerevm-testnet-deprecated-1072",slip44:1,slug:"shimmerevm-testnet-deprecated-1072",status:"deprecated",testnet:!0,title:"ShimmerEVM Testnet Deprecated 1072"},Mlt={chain:"ShimmerEVM",chainId:1073,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.shimmer.network",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.shimmer.network","https://evm-faucet.testnet.shimmer.network"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM Testnet",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:18},networkId:1073,rpc:["https://1073.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.testnet.shimmer.network"],shortName:"shimmerevm-testnet",slip44:1,slug:"shimmerevm-testnet",testnet:!0,title:"ShimmerEVM Testnet"},Blt={chain:"IOTA EVM",chainId:1075,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.iotaledger.net",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.iotaledger.net"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://www.iota.org",name:"IOTA EVM Testnet",nativeCurrency:{name:"IOTA",symbol:"IOTA",decimals:18},networkId:1075,rpc:["https://1075.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.testnet.iotaledger.net"],shortName:"iotaevm-testnet",slug:"iota-evm-testnet",testnet:!0,title:"IOTA EVM Testnet"},Dlt={chain:"Mintara",chainId:1079,explorers:[{name:"explorer",url:"https://subnets-test.avax.network/mintara",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeie7jzlzlpz7c3a3oh4x5joej23dj2qf3cexmchjyc72hv3fblcaja",width:256,height:256,format:"png"},infoURL:"https://playthink.co.jp",name:"Mintara Testnet",nativeCurrency:{name:"MINTARA",symbol:"MNTR",decimals:18},networkId:1079,rpc:["https://1079.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mintara/testnet/rpc"],shortName:"mintara-testnet",slip44:1,slug:"mintara-testnet",testnet:!0,title:"Mintara Testnet"},Plt={chain:"Mintara",chainId:1080,explorers:[{name:"explorer",url:"https://subnets.avax.network/mintara",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeie7jzlzlpz7c3a3oh4x5joej23dj2qf3cexmchjyc72hv3fblcaja",width:256,height:256,format:"png"},infoURL:"https://playthink.co.jp",name:"Mintara Mainnet",nativeCurrency:{name:"MINTARA",symbol:"MNTR",decimals:18},networkId:1080,rpc:["https://1080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mintara/mainnet/rpc"],shortName:"mintara",slug:"mintara",testnet:!1,title:"Mintara Mainnet"},Llt={chain:"ETH",chainId:1088,explorers:[{name:"blockscout",url:"https://andromeda-explorer.metis.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmbWKNucbMtrMPPkHG5ZmVmvNUo8CzqHHcrpk1C2BVQsEG/2022_H-Brand_Stacked_WhiteGreen.svg",width:512,height:512,format:"svg"},infoURL:"https://www.metis.io",name:"Metis Andromeda Mainnet",nativeCurrency:{name:"Metis",symbol:"METIS",decimals:18},networkId:1088,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.metis.io"}]},redFlags:[],rpc:["https://1088.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://andromeda.metis.io/?owner=1088","https://metis.drpc.org","wss://metis.drpc.org"],shortName:"metis-andromeda",slug:"metis-andromeda",testnet:!1},Flt={chain:"Humans",chainId:1089,explorers:[{name:"explorer.guru",url:"https://humans.explorers.guru",standard:"none",icon:{url:"ipfs://QmU83haX3TNifDDjBx6RP6ByqES1Kg9VqeJC87X9ipKyCS",width:386,height:397,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX6XuoQDTTjYqAmdNJiieLDZSwHHyUx44yQb4E3tmHmEA",width:400,height:400,format:"png"},infoURL:"https://humans.ai",name:"Humans.ai Mainnet",nativeCurrency:{name:"HEART",symbol:"HEART",decimals:18},networkId:1089,rpc:["https://1089.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.humans.nodestake.top","https://humans-mainnet-evm.itrocket.net","https://humans-evm-rpc.staketab.org:443","https://evm.humans.stakepool.dev.br","https://mainnet-humans-evm.konsortech.xyz","https://evm-rpc.mainnet.humans.zone","https://json-rpc.humans.bh.rocks","https://evm-rpc.humans.huginn.tech"],shortName:"humans",slug:"humans-ai",testnet:!1},Nlt={chain:"MOAC",chainId:1099,explorers:[{name:"moac explorer",url:"https://explorer.moac.io",standard:"none"}],faucets:[],infoURL:"https://moac.io",name:"MOAC mainnet",nativeCurrency:{name:"MOAC",symbol:"mc",decimals:18},networkId:1099,rpc:[],shortName:"moac",slip44:314,slug:"moac",testnet:!1},Olt={chain:"Dymension",chainId:1100,explorers:[{name:"dym.fyi",url:"https://dym.fyi",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreic4sjyqikz33xzpcctczvkiwfj44q5i3i7zslycnjiqmyx5ybc3fi",width:1200,height:1200,format:"png"},infoURL:"https://dymension.xyz",name:"Dymension",nativeCurrency:{name:"DYM",symbol:"DYM",decimals:18},networkId:1100,rpc:["https://1100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dymension-evm.blockpi.network/v1/rpc/public","https://dymension-evm-rpc.publicnode.com","wss://dymension-evm-rpc.publicnode.com"],shortName:"dymension",slug:"dymension",testnet:!1},Ult={chain:"Polygon",chainId:1101,explorers:[{name:"blockscout",url:"https://zkevm.polygonscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"},infoURL:"https://polygon.technology/polygon-zkevm",name:"Polygon zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1101,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zkevm-rpc.com"}]},rpc:["https://1101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zkevm-rpc.com","https://polygon-zkevm.drpc.org","wss://polygon-zkevm.drpc.org"],shortName:"zkevm",slug:"polygon-zkevm",testnet:!1,title:"Polygon zkEVM"},Hlt={chain:"BLXQ",chainId:1107,explorers:[{name:"BLXq Explorer",url:"https://explorer.blx.org",standard:"none",icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"},infoURL:"https://blx.org",name:"BLXq Testnet",nativeCurrency:{name:"BLXQ",symbol:"BLXQ",decimals:18},networkId:1107,rpc:["https://1107.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetq1.blx.org"],shortName:"tblxq",slip44:1,slug:"blxq-testnet",testnet:!0},zlt={chain:"BLXQ",chainId:1108,explorers:[{name:"BLXq Explorer",url:"https://explorer.blxq.org",standard:"EIP3091",icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"},infoURL:"https://blx.org",name:"BLXq Mainnet",nativeCurrency:{name:"BLXQ",symbol:"BLXQ",decimals:18},networkId:1108,rpc:["https://1108.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.blxq.org"],shortName:"blxq",slug:"blxq",testnet:!1},Wlt={chain:"WEMIX",chainId:1111,explorers:[{name:"WEMIX Block Explorer",url:"https://explorer.wemix.com",standard:"EIP3091"}],faucets:[],infoURL:"https://wemix.com",name:"WEMIX3.0 Mainnet",nativeCurrency:{name:"WEMIX",symbol:"WEMIX",decimals:18},networkId:1111,rpc:["https://1111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.wemix.com","wss://ws.wemix.com"],shortName:"wemix",slug:"wemix3-0",testnet:!1},qlt={chain:"TWEMIX",chainId:1112,explorers:[{name:"WEMIX Testnet Microscope",url:"https://microscope.test.wemix.com",standard:"EIP3091"}],faucets:["https://wallet.test.wemix.com/faucet"],infoURL:"https://wemix.com",name:"WEMIX3.0 Testnet",nativeCurrency:{name:"TestnetWEMIX",symbol:"tWEMIX",decimals:18},networkId:1112,rpc:["https://1112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.test.wemix.com","wss://ws.test.wemix.com"],shortName:"twemix",slip44:1,slug:"wemix3-0-testnet",testnet:!0},jlt={chain:"BSQ",chainId:1113,explorers:[{name:"B2 Hub Habitat Testnet Explorer",url:"https://testnet-hub-explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Hub Testnet",nativeCurrency:{name:"BSquared Token",symbol:"B2",decimals:18},networkId:1113,rpc:["https://1113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-hub-rpc.bsquared.network"],shortName:"B2Hub-testnet",slug:"b2-hub-testnet",testnet:!0},Glt={chain:"Core",chainId:1115,explorers:[{name:"Core Scan Testnet",url:"https://scan.test.btcs.network",standard:"EIP3091",icon:{url:"ipfs://QmeTQaBCkpbsxNNWTpoNrMsnwnAEf1wYTcn7CiiZGfUXD2",width:200,height:217,format:"png"}}],faucets:["https://scan.test.btcs.network/faucet"],icon:{url:"ipfs://QmeTQaBCkpbsxNNWTpoNrMsnwnAEf1wYTcn7CiiZGfUXD2",width:200,height:217,format:"png"},infoURL:"https://www.coredao.org",name:"Core Blockchain Testnet",nativeCurrency:{name:"Core Blockchain Testnet Native Token",symbol:"tCORE",decimals:18},networkId:1115,rpc:["https://1115.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.btcs.network/"],shortName:"tcore",slip44:1,slug:"core-blockchain-testnet",testnet:!0},Klt={chain:"Core",chainId:1116,explorers:[{name:"Core Scan",url:"https://scan.coredao.org",standard:"EIP3091",icon:{url:"ipfs://QmeTQaBCkpbsxNNWTpoNrMsnwnAEf1wYTcn7CiiZGfUXD2",width:200,height:217,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeTQaBCkpbsxNNWTpoNrMsnwnAEf1wYTcn7CiiZGfUXD2",width:200,height:217,format:"png"},infoURL:"https://www.coredao.org",name:"Core Blockchain Mainnet",nativeCurrency:{name:"Core Blockchain Native Token",symbol:"CORE",decimals:18},networkId:1116,rpc:["https://1116.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.coredao.org/","https://rpc-core.icecreamswap.com","https://core.drpc.org","wss://core.drpc.org"],shortName:"core",slug:"core-blockchain",testnet:!1},Qlt={chain:"DOGS",chainId:1117,explorers:[{name:"Dogcoin",url:"https://explorer.dogcoin.network",standard:"EIP3091"}],faucets:["https://faucet.dogcoin.network"],icon:{url:"ipfs://QmZCadkExKThak3msvszZjo6UnAbUJKE61dAcg4TixuMC3",width:160,height:171,format:"png"},infoURL:"https://dogcoin.network",name:"Dogcoin Mainnet",nativeCurrency:{name:"Dogcoin",symbol:"DOGS",decimals:18},networkId:1117,rpc:["https://1117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.dogcoin.me"],shortName:"DOGSm",slug:"dogcoin",testnet:!1},Vlt={chain:"Habitat",chainId:1123,explorers:[{name:"blockscout",url:"https://testnet-explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Testnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:1123,parent:{type:"L2",chain:"eip155-1113"},rpc:["https://1123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://b2-testnet.alt.technology"],shortName:"B2-testnet",slug:"b2-testnet",testnet:!0,title:"B2 Testnet"},Ylt={chain:"defichain-evm",chainId:1130,explorers:[],faucets:[],icon:{url:"ipfs://QmdR3YL9F95ajwVwfxAGoEzYwm9w7JNsPSfUPjSaQogVjK",width:512,height:512,format:"svg"},infoURL:"https://meta.defichain.com/",name:"DeFiChain EVM Network Mainnet",nativeCurrency:{name:"DeFiChain",symbol:"DFI",decimals:18},networkId:1130,rpc:[],shortName:"DFI",slip44:1130,slug:"defichain-evm-network",status:"incubating",testnet:!1},$lt={chain:"defichain-evm-testnet",chainId:1131,explorers:[],faucets:[],icon:{url:"ipfs://QmdR3YL9F95ajwVwfxAGoEzYwm9w7JNsPSfUPjSaQogVjK",width:512,height:512,format:"svg"},infoURL:"https://meta.defichain.com/",name:"DeFiChain EVM Network Testnet",nativeCurrency:{name:"DeFiChain",symbol:"DFI",decimals:18},networkId:1131,rpc:[],shortName:"DFI-T",slip44:1,slug:"defichain-evm-network-testnet",status:"incubating",testnet:!0},Jlt={chain:"DFI",chainId:1133,explorers:[{name:"MetaScan",url:"https://meta.defiscan.live",standard:"EIP3091"}],faucets:["http://tc04.mydefichain.com/faucet"],icon:{url:"ipfs://QmdR3YL9F95ajwVwfxAGoEzYwm9w7JNsPSfUPjSaQogVjK",width:512,height:512,format:"svg"},infoURL:"https://meta.defichain.com",name:"DeFiMetaChain Changi Testnet",nativeCurrency:{name:"DeFiChain Token",symbol:"DFI",decimals:18},networkId:1133,rpc:["https://1133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dmc.mydefichain.com/changi","https://testnet-dmc.mydefichain.com:20551"],shortName:"changi",slug:"defimetachain-changi-testnet",testnet:!0},Xlt={chain:"ETH",chainId:1135,explorers:[{name:"blockscout",url:"https://blockscout.lisk.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://lisk.com",name:"Lisk",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1135,rpc:["https://1135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.lisk.com"],shortName:"lisk",slip44:134,slug:"lisk",testnet:!1},Zlt={chain:"AmStar",chainId:1138,explorers:[{name:"amstarscan-testnet",url:"https://testnet.amstarscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmd4TMQdnYxaUZqnVddh5S37NGH72g2kkK38ccCEgdZz1C",width:599,height:563,format:"png"},infoURL:"https://sinso.io",name:"AmStar Testnet",nativeCurrency:{name:"SINSO",symbol:"SINSO",decimals:18},networkId:1138,rpc:["https://1138.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.amstarscan.com"],shortName:"ASARt",slip44:1,slug:"amstar-testnet",testnet:!0},e2t={chain:"MATH",chainId:1139,explorers:[],faucets:[],infoURL:"https://mathchain.org",name:"MathChain",nativeCurrency:{name:"MathChain",symbol:"MATH",decimals:18},networkId:1139,rpc:["https://1139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mathchain-asia.maiziqianbao.net/rpc","https://mathchain-us.maiziqianbao.net/rpc"],shortName:"MATH",slug:"mathchain",testnet:!1},t2t={chain:"MATH",chainId:1140,explorers:[],faucets:["https://scan.boka.network/#/Galois/faucet"],infoURL:"https://mathchain.org",name:"MathChain Testnet",nativeCurrency:{name:"MathChain",symbol:"MATH",decimals:18},networkId:1140,rpc:["https://1140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://galois-hk.maiziqianbao.net/rpc"],shortName:"tMATH",slip44:1,slug:"mathchain-testnet",testnet:!0},Use={chain:"Flag",chainId:1147,explorers:[{name:"Flag Testnet Explorer",url:"https://testnet-explorer.flagscan.xyz",standard:"EIP3091"}],faucets:["https://faucet.flagscan.xyz"],icon:{url:"ipfs://bafybeibcrxeavdxpwwmj4mc6hhp232nkrfbpvfpngcqux2v5rmoshycj3u",width:500,height:500,format:"png"},infoURL:"https://testnet-explorer.flagscan.xyz",name:"Flag Testnet",nativeCurrency:{name:"Flag Testnet",symbol:"FLAG",decimals:18},networkId:1147,rpc:["https://1147.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.flagscan.xyz"],shortName:"tFLAG",slug:"flag-testnet",testnet:!0},n2t={chain:"Plexchain",chainId:1149,explorers:[{name:"Plexchain Explorer",url:"https://explorer.plexfinance.us",standard:"EIP3091",icon:{url:"ipfs://QmcXzfMNSQ7SZzKemNquVoXyG5ergdqCGeLWjRYETGBTUM",width:256,height:256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcXzfMNSQ7SZzKemNquVoXyG5ergdqCGeLWjRYETGBTUM",width:256,height:256,format:"png"},infoURL:"https://plexfinance.us/",name:"Symplexia Smart Chain",nativeCurrency:{name:"Plex Native Token",symbol:"PLEX",decimals:18},networkId:1149,rpc:["https://1149.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://plex-rpc.plexfinance.us"],shortName:"Plexchain",slug:"symplexia-smart-chain",testnet:!1},a2t={chain:"Origin",chainId:1170,explorers:[{name:"Origin Explorer",url:"https://evm-explorer.origin.uptick.network",standard:"none",icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"},infoURL:"https://www.uptick.network",name:"Origin Testnet",nativeCurrency:{name:"Origin",symbol:"UOC",decimals:18},networkId:1170,rpc:["https://1170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.origin.uptick.network"],shortName:"auoc",slip44:1,slug:"origin-testnet",testnet:!0},r2t={chain:"SHT",chainId:1177,explorers:[{name:"Smart Host Teknoloji TESTNET Explorer",url:"https://s2.tl.web.tr:4000",standard:"EIP3091",icon:{url:"ipfs://QmTrLGHyQ1Le25Q7EgNSF5Qq8D2SocKvroDkLqurdBuSQQ",width:1655,height:1029,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTrLGHyQ1Le25Q7EgNSF5Qq8D2SocKvroDkLqurdBuSQQ",width:1655,height:1029,format:"png"},infoURL:"https://smart-host.com.tr",name:"Smart Host Teknoloji TESTNET",nativeCurrency:{name:"Smart Host Teknoloji TESTNET",symbol:"tSHT",decimals:18},networkId:1177,rpc:["https://1177.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s2.tl.web.tr:4041"],shortName:"sht",slip44:1,slug:"smart-host-teknoloji-testnet",testnet:!0},f2t={chain:"MOS",chainId:1188,explorers:[{name:"mosscan",url:"https://www.mosscan.com",standard:"none",icon:{url:"ipfs://QmczQf61mZmg3NmmGnwseDxzH1AqapA252KCTT85GuNG96",width:51,height:50,format:"png"}}],faucets:[],icon:{url:"ipfs://QmczQf61mZmg3NmmGnwseDxzH1AqapA252KCTT85GuNG96",width:51,height:50,format:"png"},infoURL:"https://www.mosscan.com",name:"ClubMos Mainnet",nativeCurrency:{name:"ClubMos",symbol:"MOS",decimals:18},networkId:1188,rpc:["https://1188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.mosscan.com"],shortName:"MOS",slug:"clubmos",testnet:!1},i2t={chain:"IORA",chainId:1197,explorers:[{name:"ioraexplorer",url:"https://explorer.iorachain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiehps5cqdhqottu2efo4jeehwpkz5rbux3cjxd75rm6rjm4sgs2wi",width:250,height:250,format:"png"},infoURL:"https://iorachain.com",name:"Iora Chain",nativeCurrency:{name:"Iora",symbol:"IORA",decimals:18},networkId:1197,rpc:["https://1197.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.iorachain.com"],shortName:"iora",slug:"iora-chain",testnet:!1},s2t={chain:"Evanesco Testnet",chainId:1201,explorers:[],faucets:[],infoURL:"https://evanesco.org/",name:"Evanesco Testnet",nativeCurrency:{name:"AVIS",symbol:"AVIS",decimals:18},networkId:1201,rpc:["https://1201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed5.evanesco.org:8547"],shortName:"avis",slip44:1,slug:"evanesco-testnet",testnet:!0},o2t={chain:"WTT",chainId:1202,explorers:[{name:"WTTScout",url:"https://explorer.cadaut.com",standard:"EIP3091"}],faucets:[],infoURL:"http://www.cadaut.com",name:"World Trade Technical Chain Mainnet",nativeCurrency:{name:"World Trade Token",symbol:"WTT",decimals:18},networkId:2048,rpc:["https://1202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cadaut.com","wss://rpc.cadaut.com/ws"],shortName:"wtt",slug:"world-trade-technical-chain",testnet:!1},c2t={chain:"SaitaBlockChain(SBC)",chainId:1209,explorers:[{name:"Saitascan explorer",url:"https://saitascan.io",standard:"none",icon:{url:"ipfs://QmVFWTqfqnMXbiPKpDFucE9QSQ1SVsUWs4HxBqRGjgQCbu",width:974,height:263,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVFWTqfqnMXbiPKpDFucE9QSQ1SVsUWs4HxBqRGjgQCbu",width:974,height:263,format:"png"},infoURL:"https://saitachain.com",name:"SaitaBlockChain(SBC)",nativeCurrency:{name:"SaitaBlockChain(SBC)",symbol:"STC",decimals:18},networkId:1209,rpc:["https://1209.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nodes.saitascan.io"],shortName:"SBC",slug:"saitablockchain-sbc",testnet:!1},d2t={chain:"POPCATEUM",chainId:1213,explorers:[{name:"popcateum explorer",url:"https://explorer.popcateum.org",standard:"none"}],faucets:[],infoURL:"https://popcateum.org",name:"Popcateum Mainnet",nativeCurrency:{name:"Popcat",symbol:"POP",decimals:18},networkId:1213,rpc:["https://1213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.popcateum.org"],shortName:"popcat",slug:"popcateum",testnet:!1},l2t={chain:"ENTER",chainId:1214,explorers:[{name:"Enter Explorer - Expenter",url:"https://explorer.entercoin.net",standard:"EIP3091",icon:{url:"ipfs://Qmb2UYVc1MjLPi8vhszWRxqBJYoYkWQVxDJRSmtrgk6j2E",width:64,height:64,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmb2UYVc1MjLPi8vhszWRxqBJYoYkWQVxDJRSmtrgk6j2E",width:64,height:64,format:"png"},infoURL:"https://entercoin.net",name:"EnterChain Mainnet",nativeCurrency:{name:"EnterCoin",symbol:"ENTER",decimals:18},networkId:1214,rpc:["https://1214.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tapi.entercoin.net/"],shortName:"enter",slug:"enterchain",testnet:!1},u2t={chain:"1220",chainId:1220,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmXo2p1i4zsbTNEu41EjjrhdmbKFDGHEHeADXZ3x2fgNKE/1682003789585.jpeg",width:3600,height:3600,format:"jpeg"},infoURL:"https://flagblockchain.com/",name:"Flag Testnet",nativeCurrency:{name:"FLAG",symbol:"FLAG",decimals:18},networkId:1220,redFlags:[],rpc:["https://1220.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.flagscan.io"],shortName:"Flag",slug:"flag-testnet-flag",testnet:!0},p2t={chain:"ETH",chainId:1221,explorers:[],faucets:[],icon:{url:"ipfs://QmeC4mKGbBpwmLfFxUSsareWkSWJomevUmex8ajjxo1zHx",width:500,height:500,format:"png"},infoURL:"https://www.cyclenetwork.io/",name:"Cycle Network Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1221,rpc:["https://1221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.cyclenetwork.io"],shortName:"Cycle",slug:"cycle-network-testnet",testnet:!0},h2t={chain:"HYB",chainId:1224,explorers:[{name:"Hybrid Testnet",url:"https://explorer.buildonhybrid.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGfvH9qfvbMXYKosS1nHbw3q5UtFJky4hdMDmmKDTx8Y",width:250,height:250,format:"png"},infoURL:"https://buildonhybrid.com",name:"Hybrid Testnet",nativeCurrency:{name:"Hybrid",symbol:"HYB",decimals:18},networkId:1224,rpc:["https://1224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.buildonhybrid.com"],shortName:"hyb",slug:"hybrid-testnet",testnet:!0},b2t={chain:"EXZO",chainId:1229,explorers:[{name:"blockscout",url:"https://exzoscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeYpc2JfEsHa2Bh11SKRx3sgDtMeg6T8KpXNLepBEKnbJ",width:128,height:128,format:"png"},infoURL:"https://exzo.network",name:"Exzo Network Mainnet",nativeCurrency:{name:"Exzo",symbol:"XZO",decimals:18},networkId:1229,rpc:["https://1229.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.exzo.technology"],shortName:"xzo",slug:"exzo-network",testnet:!1},m2t={chain:"Ultron",chainId:1230,explorers:[{name:"Ultron Testnet Explorer",url:"https://explorer.ultron-dev.io",standard:"none",icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"},infoURL:"https://ultron.foundation",name:"Ultron Testnet",nativeCurrency:{name:"Ultron",symbol:"ULX",decimals:18},networkId:1230,rpc:["https://1230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ultron-dev.io"],shortName:"UltronTestnet",slip44:1,slug:"ultron-testnet",testnet:!0},y2t={chain:"Ultron",chainId:1231,explorers:[{name:"Ultron Explorer",url:"https://ulxscan.com",standard:"none",icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"},infoURL:"https://ultron.foundation",name:"Ultron Mainnet",nativeCurrency:{name:"Ultron",symbol:"ULX",decimals:18},networkId:1231,rpc:["https://1231.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ultron-rpc.net"],shortName:"UtronMainnet",slug:"ultron",testnet:!1},g2t={chain:"STEP",chainId:1234,explorers:[{name:"StepScan",url:"https://stepscan.io",standard:"EIP3091",icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"},infoURL:"https://step.network",name:"Step Network",nativeCurrency:{name:"FITFI",symbol:"FITFI",decimals:18},networkId:1234,parent:{type:"L2",chain:"eip155-43114",bridges:[{url:"https://bridge.step.network"}]},rpc:["https://1234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.step.network"],shortName:"step",slug:"step-network",testnet:!1,title:"Step Main Network"},v2t={chain:"ARC",chainId:1243,explorers:[{name:"archiescan",url:"https://app.archiescan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafybeiady63oqduls2pm4aaykzjhahblagokhnpsc5qeq5dmkxqelh7i2i",width:512,height:512,format:"png"},infoURL:"https://archiechain.io/",name:"ARC Mainnet",nativeCurrency:{name:"ARC",symbol:"ARC",decimals:18},networkId:1243,rpc:["https://1243.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-main-1.archiechain.io"],shortName:"ARC",slug:"arc",testnet:!1},w2t={chain:"ARC",chainId:1244,explorers:[{name:"archiescan",url:"https://testnet.archiescan.io",standard:"none"}],faucets:["https://faucet.archiechain.io"],icon:{url:"ipfs://bafybeiady63oqduls2pm4aaykzjhahblagokhnpsc5qeq5dmkxqelh7i2i",width:512,height:512,format:"png"},infoURL:"https://archiechain.io/",name:"ARC Testnet",nativeCurrency:{name:"ARC",symbol:"ARC",decimals:18},networkId:1244,rpc:["https://1244.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test-1.archiechain.io"],shortName:"TARC",slip44:1,slug:"arc-testnet",testnet:!0},T2t={chain:"omplatform",chainId:1246,explorers:[{name:"OMSCAN - Expenter",url:"https://omscan.omplatform.com",standard:"none"}],faucets:[],infoURL:"https://omplatform.com/",name:"OM Platform Mainnet",nativeCurrency:{name:"OMCOIN",symbol:"OM",decimals:18},networkId:1246,rpc:["https://1246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-cnx.omplatform.com/"],shortName:"om",slug:"om-platform",testnet:!1},x2t={chain:"Dogether",chainId:1248,explorers:[{name:"DogetherExplorer",url:"https://explorer.dogether.dog",standard:"EIP3091"}],faucets:[],infoURL:"https://www.dogether.dog/",name:"Dogether Mainnet",nativeCurrency:{name:"Dogether",symbol:"dogeth",decimals:18},networkId:1248,rpc:["https://1248.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dogether.dog/"],shortName:"Dogether",slug:"dogether",testnet:!1},E2t={chain:"CICT",chainId:1252,explorers:[{name:"CICscan",url:"https://testnet.cicscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"}}],faucets:["https://cicfaucet.com"],icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"},infoURL:"https://www.cicchain.net",name:"CIC Chain Testnet",nativeCurrency:{name:"Crazy Internet Coin",symbol:"CICT",decimals:18},networkId:1252,rpc:["https://1252.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testapi.cicscan.com"],shortName:"CICT",slip44:1,slug:"cic-chain-testnet",testnet:!0},_2t={chain:"HALO",chainId:1280,explorers:[{name:"HALOexplorer",url:"https://browser.halo.land",standard:"none"}],faucets:[],infoURL:"https://halo.land/#/",name:"HALO Mainnet",nativeCurrency:{name:"HALO",symbol:"HO",decimals:18},networkId:1280,rpc:["https://1280.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodes.halo.land"],shortName:"HO",slug:"halo",testnet:!1},A2t={chain:"MOON",chainId:1284,explorers:[{name:"moonscan",url:"https://moonbeam.moonscan.io",standard:"none"}],faucets:[],infoURL:"https://moonbeam.network/networks/moonbeam/",name:"Moonbeam",nativeCurrency:{name:"Glimmer",symbol:"GLMR",decimals:18},networkId:1284,rpc:["https://1284.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonbeam.network","wss://wss.api.moonbeam.network","https://moonbeam.public.blastapi.io","wss://moonbeam.public.blastapi.io","https://moonbeam-rpc.dwellir.com","wss://moonbeam-rpc.dwellir.com","https://moonbeam.api.onfinality.io/public","wss://moonbeam.api.onfinality.io/public-ws","https://moonbeam.unitedbloc.com","wss://moonbeam.unitedbloc.com","https://moonbeam-rpc.publicnode.com","wss://moonbeam-rpc.publicnode.com","https://moonbeam.drpc.org","wss://moonbeam.drpc.org"],shortName:"mbeam",slug:"moonbeam",testnet:!1},C2t={chain:"MOON",chainId:1285,explorers:[{name:"moonscan",url:"https://moonriver.moonscan.io",standard:"none"}],faucets:[],infoURL:"https://moonbeam.network/networks/moonriver/",name:"Moonriver",nativeCurrency:{name:"Moonriver",symbol:"MOVR",decimals:18},networkId:1285,rpc:["https://1285.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonriver.moonbeam.network","wss://wss.api.moonriver.moonbeam.network","https://moonriver.public.blastapi.io","wss://moonriver.public.blastapi.io","https://moonriver-rpc.dwellir.com","wss://moonriver-rpc.dwellir.com","https://moonriver.api.onfinality.io/public","wss://moonriver.api.onfinality.io/public-ws","https://moonriver.unitedbloc.com","wss://moonriver.unitedbloc.com","https://moonriver-rpc.publicnode.com","wss://moonriver-rpc.publicnode.com","https://moonriver.drpc.org","wss://moonriver.drpc.org"],shortName:"mriver",slug:"moonriver",testnet:!1},I2t={chain:"MOON",chainId:1286,explorers:[],faucets:[],name:"Moonrock old",nativeCurrency:{name:"Rocs",symbol:"ROC",decimals:18},networkId:1286,rpc:[],shortName:"mrock-old",slug:"moonrock-old",status:"deprecated",testnet:!1},k2t={chain:"MOON",chainId:1287,explorers:[{name:"moonscan",url:"https://moonbase.moonscan.io",standard:"none"}],faucets:[],features:[],infoURL:"https://docs.moonbeam.network/learn/platform/networks/moonbase/",name:"Moonbase Alpha",nativeCurrency:{name:"Dev",symbol:"DEV",decimals:18},networkId:1287,redFlags:[],rpc:["https://1287.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonbase.moonbeam.network","wss://wss.api.moonbase.moonbeam.network","https://moonbase-alpha.public.blastapi.io","wss://moonbase-alpha.public.blastapi.io","https://moonbase-rpc.dwellir.com","wss://moonbase-rpc.dwellir.com","https://moonbeam-alpha.api.onfinality.io/public","wss://moonbeam-alpha.api.onfinality.io/public-ws","https://moonbase.unitedbloc.com","wss://moonbase.unitedbloc.com","https://moonbase-alpha.drpc.org","wss://moonbase-alpha.drpc.org"],shortName:"mbase",slip44:1,slug:"moonbase-alpha",testnet:!0},S2t={chain:"MOON",chainId:1288,explorers:[],faucets:[],infoURL:"https://docs.moonbeam.network/learn/platform/networks/overview/",name:"Moonrock",nativeCurrency:{name:"Rocs",symbol:"ROC",decimals:18},networkId:1288,rpc:["https://1288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonrock.moonbeam.network","wss://wss.api.moonrock.moonbeam.network"],shortName:"mrock",slug:"moonrock",testnet:!1},R2t={chain:"SWTR",chainId:1291,explorers:[{name:"Swisstronik Scout",url:"https://explorer-evm.testnet.swisstronik.com",standard:"none"}],faucets:["https://faucet.testnet.swisstronik.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeihuintkoipxalwans23vhxajbwjnozpy34ww7ia7ds7nay3rpylzi",width:256,height:256,format:"svg"},infoURL:"https://www.swisstronik.com",name:"Swisstronik Testnet",nativeCurrency:{name:"Swisstronik",symbol:"SWTR",decimals:18},networkId:1291,rpc:["https://1291.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.testnet.swisstronik.com"],shortName:"swtr",slip44:1,slug:"swisstronik-testnet",testnet:!0},M2t={chain:"Bobabeam",chainId:1294,explorers:[{name:"Bobabeam block explorer",url:"https://blockexplorer.bobabeam.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobabeam",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:1294,rpc:["https://1294.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bobabeam.boba.network","wss://wss.bobabeam.boba.network","https://replica.bobabeam.boba.network","wss://replica-wss.bobabeam.boba.network"],shortName:"Bobabeam",slug:"bobabeam",status:"deprecated",testnet:!1},B2t={chain:"Bobabase Testnet",chainId:1297,explorers:[{name:"Bobabase block explorer",url:"https://blockexplorer.bobabase.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobabase Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:1297,rpc:["https://1297.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bobabase.boba.network","wss://wss.bobabase.boba.network","https://replica.bobabase.boba.network","wss://replica-wss.bobabase.boba.network"],shortName:"Bobabase",slip44:1,slug:"bobabase-testnet",status:"deprecated",testnet:!0},D2t={chain:"DOS",chainId:1311,explorers:[{name:"dos-testnet",url:"https://test.doscan.io",standard:"EIP3091"}],faucets:[],infoURL:"http://doschain.io/",name:"Dos Fuji Subnet",nativeCurrency:{name:"Dos Native Token",symbol:"DOS",decimals:18},networkId:1311,rpc:["https://1311.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.doschain.com/jsonrpc"],shortName:"TDOS",slug:"dos-fuji-subnet",testnet:!0},P2t={chain:"ALYX",chainId:1314,explorers:[{name:"alyxscan",url:"https://www.alyxscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifd43fcvh77mdcwjrpzpnlhthounc6b4u645kukqpqhduaveatf6i",width:2481,height:2481,format:"png"},infoURL:"https://www.alyxchain.com",name:"Alyx Mainnet",nativeCurrency:{name:"Alyx Chain Native Token",symbol:"ALYX",decimals:18},networkId:1314,rpc:["https://1314.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alyxchain.com"],shortName:"alyx",slug:"alyx",testnet:!1},L2t={chain:"AIA",chainId:1319,explorers:[{name:"AIA Chain Explorer Mainnet",url:"https://aiascan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXbBMMhjTTGAGjmqMpJm3ufFrtdkfEXCFyXYgz7nnZzsy",width:160,height:160,format:"png"},infoURL:"https://aiachain.org/",name:"AIA Mainnet",nativeCurrency:{name:"AIA Mainnet",symbol:"AIA",decimals:18},networkId:1319,rpc:["https://1319.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://aia-dataseed1.aiachain.org","https://aia-dataseed2.aiachain.org","https://aia-dataseed3.aiachain.org","https://aia-dataseed4.aiachain.org"],shortName:"aia",slug:"aia",testnet:!1},F2t={chain:"AIA",chainId:1320,explorers:[{name:"AIA Chain Explorer Testnet",url:"https://testnet.aiascan.com",standard:"EIP3091"}],faucets:["https://aia-faucet-testnet.aiachain.org"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXbBMMhjTTGAGjmqMpJm3ufFrtdkfEXCFyXYgz7nnZzsy",width:160,height:160,format:"png"},infoURL:"https://aiachain.org",name:"AIA Testnet",nativeCurrency:{name:"AIA Testnet",symbol:"AIA",decimals:18},networkId:1320,rpc:["https://1320.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://aia-dataseed1-testnet.aiachain.org"],shortName:"aiatestnet",slip44:1,slug:"aia-testnet",testnet:!0},N2t={chain:"Sei",chainId:1329,explorers:[{name:"Seitrace",url:"https://seitrace.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreia2tiurhfkc2lifytbpv356d4rfmqoivzrepg2wsrqwrqgbb4bp7a",width:600,height:600,format:"png"},infoURL:"https://www.sei.io",name:"Sei Network",nativeCurrency:{name:"Sei",symbol:"SEI",decimals:18},networkId:1329,rpc:["https://1329.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.sei-apis.com","wss://evm-ws.sei-apis.com"],shortName:"sei",slug:"sei-network",testnet:!1},xHe={chain:"ETH",chainId:1337,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},name:"Localhost",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1337,redFlags:[],rpc:["http://localhost:8545"],shortName:"local",slug:"localhost",testnet:!0},O2t={chain:"Elysium",chainId:1338,explorers:[{name:"Elysium testnet explorer",url:"https://elysium-explorer.vulcanforged.com",standard:"none"}],faucets:[],infoURL:"https://elysiumscan.vulcanforged.com",name:"Elysium Testnet",nativeCurrency:{name:"LAVA",symbol:"LAVA",decimals:18},networkId:1338,rpc:["https://1338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://elysium-test-rpc.vulcanforged.com"],shortName:"ELST",slip44:1,slug:"elysium-testnet",testnet:!0,title:"An L1, carbon-neutral, tree-planting, metaverse dedicated blockchain created by VulcanForged"},U2t={chain:"Elysium",chainId:1339,explorers:[{name:"Elysium mainnet explorer",url:"https://explorer.elysiumchain.tech",standard:"none"}],faucets:[],infoURL:"https://elysiumscan.vulcanforged.com",name:"Elysium Mainnet",nativeCurrency:{name:"LAVA",symbol:"LAVA",decimals:18},networkId:1339,rpc:["https://1339.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.elysiumchain.tech/"],shortName:"ELSM",slug:"elysium",testnet:!1,title:"An L1, carbon-neutral, tree-planting, metaverse dedicated blockchain created by VulcanForged"},H2t={chain:"BLITZ",chainId:1343,explorers:[{name:"BLITZ Explorer",url:"https://subnets-test.avax.network/blitz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://blitz.gg",name:"Blitz Subnet",nativeCurrency:{name:"BLITZ GAS",symbol:"BGAS",decimals:18},networkId:1343,rpc:["https://1343.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/blitz/testnet/rpc"],shortName:"blitz",slug:"blitz-subnet",testnet:!0},z2t={chain:"CIC",chainId:1353,explorers:[{name:"CICscan",url:"https://cicscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"},infoURL:"https://www.cicchain.net",name:"CIC Chain Mainnet",nativeCurrency:{name:"Crazy Internet Coin",symbol:"CIC",decimals:18},networkId:1353,rpc:["https://1353.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xapi.cicscan.com"],shortName:"CIC",slug:"cic-chain",testnet:!1},W2t={chain:"ZAFIC",chainId:1369,explorers:[{name:"zafirium-explorer",url:"https://explorer.zakumi.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZT1Wq3P4YbgKBSUmCtgbs5ijPF5d91BzaMPh7Aub8d8t",width:192,height:192,format:"png"},infoURL:"https://www.zakumi.io",name:"Zafirium Mainnet",nativeCurrency:{name:"Zakumi Chain Native Token",symbol:"ZAFIC",decimals:18},networkId:1369,rpc:["https://1369.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.zakumi.io"],shortName:"zafic",slug:"zafirium",testnet:!1},q2t={chain:"Ramestta",chainId:1370,explorers:[{name:"ramascan",url:"https://ramascan.com",standard:"EIP3091",icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"},infoURL:"https://www.ramestta.com",name:"Ramestta Mainnet",nativeCurrency:{name:"Rama",symbol:"RAMA",decimals:18},networkId:1370,rpc:["https://1370.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain.ramestta.com","https://blockchain2.ramestta.com"],shortName:"RAMA",slug:"ramestta",testnet:!1},j2t={chain:"Pingaksha",chainId:1377,explorers:[{name:"Pingaksha",url:"https://pingaksha.ramascan.com",standard:"EIP3091",icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"},infoURL:"https://www.ramestta.com",name:"Pingaksha testnet",nativeCurrency:{name:"Rama",symbol:"tRAMA",decimals:18},networkId:1377,rpc:["https://1377.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.ramestta.com"],shortName:"tRAMA",slug:"pingaksha-testnet",testnet:!0},G2t={chain:"KLC",chainId:1379,explorers:[{name:"kalarscan",url:"https://explorer.kalarchain.tech",standard:"EIP3091",icon:{url:"ipfs://bafkreidbzzv3lrwlzquhlpl4jcmr54sifhi5ufoek6olb5kjh3h3kvktdq",width:411,height:159,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreihfoy2kgf2rebaoicso7z5h7ju46z6gtr64mskkths3qbfkrtnkjm",width:190,height:170,format:"png"},infoURL:"https://kalarchain.tech",name:"Kalar Chain",nativeCurrency:{name:"Kalar",symbol:"KLC",decimals:18},networkId:1379,rpc:["https://1379.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-api.kalarchain.tech"],shortName:"KLC",slug:"kalar-chain",testnet:!1},K2t={chain:"AmStar",chainId:1388,explorers:[{name:"amstarscan",url:"https://mainnet.amstarscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmd4TMQdnYxaUZqnVddh5S37NGH72g2kkK38ccCEgdZz1C",width:599,height:563,format:"png"},infoURL:"https://sinso.io",name:"AmStar Mainnet",nativeCurrency:{name:"SINSO",symbol:"SINSO",decimals:18},networkId:1388,rpc:["https://1388.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.amstarscan.com"],shortName:"ASAR",slug:"amstar",testnet:!1},Q2t={chain:"Joseon",chainId:1392,explorers:[{name:"BlockExplorer",url:"https://www.blockexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQjwcNRCLXU8JBtSkPLUnbWVrpoqbnZVffpJ9Bu8rG34e",width:148,height:148,format:"svg"},infoURL:"https://www.joseon.com/",name:"Joseon Mainnet",nativeCurrency:{name:"Joseon Mun",symbol:"JSM",decimals:18},networkId:1392,rpc:["https://1392.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.modchain.net/blockchain.joseon.com/rpc"],shortName:"mun",slug:"joseon",testnet:!1},V2t={chain:"Polygon",chainId:1402,explorers:[{name:"blockscout",url:"https://explorer.public.zkevm-test.net",standard:"EIP3091"}],faucets:[],infoURL:"https://polygon.technology/solutions/polygon-zkevm/",name:"Polygon zkEVM Testnet old",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1402,rpc:[],shortName:"zkevmtest",slip44:1,slug:"polygon-zkevm-testnet-old",status:"deprecated",testnet:!0,title:"Polygon zkEVM Testnet"},Y2t={chain:"Silicon",chainId:1414,explorers:[],faucets:[],icon:{url:"ipfs://QmTEnk2fosqbY6HQW5vySrLGbopJfeni9ThZ6R9sVefbnq",width:800,height:800,format:"png"},name:"Silicon zkEVM Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1414,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:[],shortName:"silicon-sepolia-testnet",slug:"silicon-zkevm-sepolia-testnet",status:"incubating",testnet:!0,title:"Silicon zkEVM Sepolia Testnet"},$2t={chain:"Polygon",chainId:1422,explorers:[{name:"Polygon zkEVM explorer",url:"https://explorer.public.zkevm-test.net",standard:"EIP3091"}],faucets:[],infoURL:"https://polygon.technology/solutions/polygon-zkevm/",name:"Polygon zkEVM Testnet Pre Audit-Upgraded",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1422,rpc:[],shortName:"testnet-zkEVM-mango-pre-audit-upgraded",slip44:1,slug:"polygon-zkevm-testnet-pre-audit-upgraded",status:"deprecated",testnet:!0,title:"Polygon zkEVM Testnet Pre Audit-Upgraded"},J2t={chain:"Rikeza",chainId:1433,explorers:[{name:"Rikeza Blockchain explorer",url:"https://rikscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfJ1Qxpzi6CSLeFeWY1Bwe435CpT5za5WfrLUE7vNzZfy",width:512,height:512,format:"png"},infoURL:"https://rikeza.io",name:"Rikeza Network Mainnet",nativeCurrency:{name:"Rikeza",symbol:"RIK",decimals:18},networkId:1433,rpc:["https://1433.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rikscan.com"],shortName:"RIK",slug:"rikeza-network",testnet:!1,title:"Rikeza Network Mainnet"},X2t={chain:"LAS",chainId:1440,explorers:[],faucets:[],icon:{url:"ipfs://QmRidubY7BVwC737BQwGEttenP1npAXN7ZNryktE416uUW",width:500,height:500,format:"jpg"},infoURL:"https://dev.livingassets.io/",name:"Living Assets Mainnet",nativeCurrency:{name:"LAS",symbol:"LAS",decimals:18},networkId:1440,rpc:["https://1440.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beta.mainnet.livingassets.io/rpc","https://gamma.mainnet.livingassets.io/rpc"],shortName:"LAS",slug:"living-assets",testnet:!1},Z2t={chain:"Polygon",chainId:1442,explorers:[{name:"Polygon zkEVM explorer",url:"https://explorer.public.zkevm-test.net",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"},infoURL:"https://polygon.technology/solutions/polygon-zkevm/",name:"Polygon zkEVM Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1442,redFlags:[],rpc:["https://1442.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.public.zkevm-test.net","https://polygon-zkevm-testnet.drpc.org","wss://polygon-zkevm-testnet.drpc.org"],shortName:"testnet-zkEVM-mango",slip44:1,slug:"polygon-zkevm-testnet",testnet:!0,title:"Polygon zkEVM Testnet"},eut={chain:"GIL",chainId:1452,explorers:[{name:"GIL Explorer",url:"https://explorer.giltestnet.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeDXUAYgQxwaSJLsqWgTqnrJVwicgEyNf9199xAMyRkqA",width:243,height:243,format:"svg"},infoURL:"https://gaussgang.com/",name:"GIL Testnet",nativeCurrency:{name:"GANG",symbol:"GANG",decimals:18},networkId:1452,rpc:["https://1452.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.giltestnet.com"],shortName:"gil",slip44:1,slug:"gil-testnet",testnet:!0},tut={chain:"MTC",chainId:1453,explorers:[{name:"MetaExplorer",url:"https://istanbul-explorer.metachain.dev",standard:"EIP3091"}],faucets:["https://istanbul-faucet.metachain.dev"],icon:{url:"ipfs://QmUH2Ph2hW4upvevEAGCaSo7nd8nthqMx5RrHcrnNZ9Y3g",width:512,height:512,format:"svg"},infoURL:"https://metatime.com/en",name:"MetaChain Istanbul",nativeCurrency:{name:"Metatime Coin",symbol:"MTC",decimals:18},networkId:1453,rpc:["https://1453.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://istanbul-rpc.metachain.dev"],shortName:"metatimeistanbul",slip44:1453,slug:"metachain-istanbul",testnet:!0,title:"MetaChain Testnet Istanbul"},nut={chain:"Ctex Scan Blockchain",chainId:1455,explorers:[{name:"Ctex Scan Explorer",url:"https://ctexscan.com",standard:"none"}],faucets:["https://faucet.ctexscan.com"],icon:{url:"ipfs://bafkreid5evn4qovxo6msuekizv5zn7va62tea7w2zpdx5sskconebuhqle",width:800,height:800,format:"png"},infoURL:"https://ctextoken.io",name:"Ctex Scan Blockchain",nativeCurrency:{name:"CTEX",symbol:"CTEX",decimals:18},networkId:1455,rpc:["https://1455.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.ctexscan.com/"],shortName:"CTEX",slug:"ctex-scan-blockchain",testnet:!1},aut={chain:"Vitruveo",chainId:1490,explorers:[{name:"Vitruveo Explorer",url:"https://explorer.vitruveo.xyz",standard:"EIP3091",icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"},infoURL:"https://www.vitruveo.xyz",name:"Vitruveo Mainnet",nativeCurrency:{name:"Vitruveo Coin",symbol:"VTRU",decimals:18},networkId:1490,rpc:["https://1490.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.vitruveo.xyz"],shortName:"vitruveo",slug:"vitruveo",testnet:!1,title:"Vitruveo is a blockchain for Creators"},rut={chain:"IGC",chainId:1499,explorers:[{name:"IGC-Scan",url:"https://igcscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeXuzaYXCDwHgQdpuE9L55JfEChzj11P73Ngrn8vDTE9T",width:1024,height:1024,format:"png"},infoURL:"https://idosgames.com/",name:"iDos Games Chain Testnet",nativeCurrency:{name:"iDos Games Coin",symbol:"IGC",decimals:18},networkId:1499,rpc:["https://1499.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.idos.games"],shortName:"IGC",slug:"idos-games-chain-testnet",testnet:!0},fut={chain:"ChainX",chainId:1501,explorers:[{name:"bevm canary scan",url:"https://scan-canary.bevm.io",standard:"none"}],faucets:[],features:[],icon:{url:"https://cloudflare-ipfs.com/ipfs/bafkreibvwfrow3w6q5qj2mk6n7yx5oahxzgn3pnghdr76zsyxvc3l5hh7y",width:3600,height:3600,format:"png"},infoURL:"https://chainx.org",name:"BEVM Canary",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:1501,redFlags:[],rpc:["https://1501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-canary-1.bevm.io/","https://rpc-canary-2.bevm.io/"],shortName:"chainx",slug:"bevm-canary",testnet:!1},iut={chain:"Sherpax Mainnet",chainId:1506,explorers:[{name:"Sherpax Mainnet Explorer",url:"https://evm.sherpax.io",standard:"none"}],faucets:[],infoURL:"https://sherpax.io/",name:"Sherpax Mainnet",nativeCurrency:{name:"KSX",symbol:"KSX",decimals:18},networkId:1506,rpc:["https://1506.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.sherpax.io/rpc"],shortName:"Sherpax",slug:"sherpax",testnet:!1},sut={chain:"Sherpax Testnet",chainId:1507,explorers:[{name:"Sherpax Testnet Explorer",url:"https://evm-pre.sherpax.io",standard:"none"}],faucets:[],infoURL:"https://sherpax.io/",name:"Sherpax Testnet",nativeCurrency:{name:"KSX",symbol:"KSX",decimals:18},networkId:1507,rpc:["https://1507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sherpax-testnet.chainx.org/rpc"],shortName:"SherpaxTestnet",slip44:1,slug:"sherpax-testnet",testnet:!0},out={chain:"BMC",chainId:1515,explorers:[{name:"Beagle Messaging Chain Explorer",url:"https://eth.beagle.chat",standard:"EIP3091"}],faucets:["https://faucet.beagle.chat/"],infoURL:"https://beagle.chat/",name:"Beagle Messaging Chain",nativeCurrency:{name:"Beagle",symbol:"BG",decimals:18},networkId:1515,rpc:["https://1515.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beagle.chat/eth"],shortName:"beagle",slug:"beagle-messaging-chain",testnet:!1},cut={chain:"TENET",chainId:1559,explorers:[{name:"TenetScan Mainnet",url:"https://tenetscan.io",standard:"EIP3091",icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"}}],faucets:[],icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"},infoURL:"https://tenet.org/",name:"Tenet",nativeCurrency:{name:"TENET",symbol:"TENET",decimals:18},networkId:1559,rpc:["https://1559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tenet.org","https://tenet-evm.publicnode.com","wss://tenet-evm.publicnode.com"],shortName:"tenet",slug:"tenet",testnet:!1,title:"Tenet Mainnet"},dut={chain:"gETH",chainId:1582,explorers:[],faucets:[],features:[],icon:{url:"ipfs://bafybeibfpls2ealp4e5fdeoxessfjjkldgjnrcx2erph7524pg7alskk6a/1f9cb.svg",width:512,height:512,format:"svg"},infoURL:"https://bubstestnet.com",name:"Bubs Testnet",nativeCurrency:{name:"Ether",symbol:"gETH",decimals:18},networkId:1582,redFlags:[],rpc:[],shortName:"Bubs",slug:"bubs-testnet",status:"deprecated",testnet:!0},lut={chain:"Avalanche",chainId:1614,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0305I1 Testnet",nativeCurrency:{name:"QI0305I1 Testnet Token",symbol:"PDC",decimals:18},networkId:1614,redFlags:[],rpc:["https://1614.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0305I1 Testnet",slug:"qi0305i1-testnet",testnet:!0},uut={chain:"ETINS",chainId:1617,explorers:[{name:"Ethereum Inscription Explorer",url:"https://explorer.etins.org",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.etins.org",name:"Ethereum Inscription Mainnet",nativeCurrency:{name:"Ethereum Inscription",symbol:"ETINS",decimals:18},networkId:1617,rpc:["https://1617.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.etins.org"],shortName:"etins",slug:"ethereum-inscription",testnet:!1},put={chain:"Catechain",chainId:1618,explorers:[],faucets:[],infoURL:"https://catechain.com",name:"Catecoin Chain Mainnet",nativeCurrency:{name:"Catecoin",symbol:"CATE",decimals:18},networkId:1618,rpc:["https://1618.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://send.catechain.com"],shortName:"cate",slug:"catecoin-chain",testnet:!1},hut={chain:"ATH",chainId:1620,explorers:[],faucets:[],infoURL:"https://atheios.org",name:"Atheios",nativeCurrency:{name:"Atheios Ether",symbol:"ATH",decimals:18},networkId:11235813,rpc:["https://1620.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.atheios.org/"],shortName:"ath",slip44:1620,slug:"atheios",testnet:!1},but={chain:"Gravity",chainId:1625,explorers:[{name:"Gravity Alpha Mainnet Explorer",url:"https://explorer.gravity.xyz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"},{name:"EIP1108"}],icon:{url:"ipfs://QmU5XU4S5oaGM5fj8oU1ovhWoXCzGWspwRj2zWRTuJrU4k",width:512,height:512,format:"png"},infoURL:"https://gravity.xyz",name:"Gravity Alpha Mainnet",nativeCurrency:{name:"Gravity",symbol:"G.",decimals:18},networkId:1625,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.gravity.xyz"}]},rpc:["https://1625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gravity.xyz"],shortName:"gravity",slug:"gravity-alpha",testnet:!1},mut={chain:"btachain",chainId:1657,explorers:[],faucets:[],infoURL:"https://bitcoinasset.io/",name:"Btachain",nativeCurrency:{name:"Bitcoin Asset",symbol:"BTA",decimals:18},networkId:1657,rpc:["https://1657.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed1.btachain.com/"],shortName:"bta",slug:"btachain",testnet:!1},yut={chain:"LQC",chainId:1662,explorers:[{name:"Liquichain Mainnet",url:"https://mainnet.liquichain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://liquichain.io/",name:"Liquichain",nativeCurrency:{name:"Licoin",symbol:"LCN",decimals:18},networkId:1662,redFlags:["reusedChainId"],rpc:[],shortName:"Liquichain",slug:"liquichain",testnet:!1},gut={chain:"Gobi",chainId:1663,explorers:[{name:"Gobi Testnet Block Explorer",url:"https://gobi-explorer.horizen.io",standard:"EIP3091",icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"}}],faucets:["https://faucet.horizen.io"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"},infoURL:"https://horizen.io/",name:"Horizen Gobi Testnet",nativeCurrency:{name:"Testnet Zen",symbol:"tZEN",decimals:18},networkId:1663,rpc:["https://1663.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gobi-rpc.horizenlabs.io/ethv1","https://rpc.ankr.com/horizen_gobi_testnet"],shortName:"Gobi",slip44:1,slug:"horizen-gobi-testnet",testnet:!0},vut={chain:"ETH",chainId:1686,explorers:[{name:"blockscout",url:"https://testnet-explorer.mintchain.io",standard:"EIP3091",icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"},infoURL:"https://www.mintchain.io",name:"Mint Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1686,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://testnet-bridge.mintchain.io"}]},rpc:["https://1686.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.mintchain.io"],shortName:"minttest",slug:"mint-testnet",testnet:!0},wut={chain:"ETH",chainId:1687,explorers:[{name:"blockscout",url:"https://sepolia-testnet-explorer.mintchain.io",standard:"EIP3091",icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"},infoURL:"https://www.mintchain.io",name:"Mint Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1687,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sepolia-testnet-bridge.mintchain.io"}]},rpc:["https://1687.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-testnet-rpc.mintchain.io"],shortName:"mintsepoliatest",slug:"mint-sepolia-testnet",testnet:!0},Tut={chain:"LUDAN",chainId:1688,explorers:[],faucets:[],icon:{url:"ipfs://bafkreigzeanzqgxrzzep45t776ovbwi242poqxbryuu2go5eedeuwwcsay",width:512,height:512,format:"png"},infoURL:"https://www.ludan.org/",name:"LUDAN Mainnet",nativeCurrency:{name:"LUDAN",symbol:"LUDAN",decimals:18},networkId:1688,rpc:["https://1688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ludan.org/"],shortName:"LUDAN",slug:"ludan",testnet:!1},xut={chain:"ETH",chainId:1701,explorers:[{name:"Anytype Explorer",url:"https://explorer.anytype.io",standard:"EIP3091",icon:{url:"ipfs://QmaARJiAQUn4Z6wG8GLEry3kTeBB3k6RfHzSZU9SPhBgcG",width:200,height:200,format:"png"}}],faucets:["https://evm.anytype.io/faucet"],icon:{url:"ipfs://QmaARJiAQUn4Z6wG8GLEry3kTeBB3k6RfHzSZU9SPhBgcG",width:200,height:200,format:"png"},infoURL:"https://evm.anytype.io",name:"Anytype EVM Chain",nativeCurrency:{name:"ANY",symbol:"ANY",decimals:18},networkId:1701,rpc:["https://1701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geth.anytype.io"],shortName:"AnytypeChain",slug:"anytype-evm-chain",testnet:!1},Eut={chain:"TBSI",chainId:1707,explorers:[{name:"blockscout",url:"https://exp.blockchain.or.th",standard:"EIP3091"}],faucets:[],infoURL:"https://blockchain.or.th",name:"TBSI Mainnet",nativeCurrency:{name:"Jinda",symbol:"JINDA",decimals:18},networkId:1707,rpc:["https://1707.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blockchain.or.th"],shortName:"TBSI",slug:"tbsi",testnet:!1,title:"Thai Blockchain Service Infrastructure Mainnet"},_ut={chain:"TBSI",chainId:1708,explorers:[{name:"blockscout",url:"https://exp.testnet.blockchain.or.th",standard:"EIP3091"}],faucets:["https://faucet.blockchain.or.th"],infoURL:"https://blockchain.or.th",name:"TBSI Testnet",nativeCurrency:{name:"Jinda",symbol:"JINDA",decimals:18},networkId:1708,rpc:["https://1708.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.blockchain.or.th"],shortName:"tTBSI",slip44:1,slug:"tbsi-testnet",testnet:!0,title:"Thai Blockchain Service Infrastructure Testnet"},Aut={chain:"DRC",chainId:1717,explorers:[{name:"Doric Explorer",url:"https://explorer.doric.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdFEozqneC8abhpfgtGpvfKpWVEbL8eMZjJKtUPuBTanK",width:988,height:901,format:"png"},infoURL:"https://doric.network",name:"Doric Network",nativeCurrency:{name:"Doric Native Token",symbol:"DRC",decimals:18},networkId:1717,rpc:["https://1717.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.doric.network"],shortName:"DRC",slug:"doric-network",testnet:!1},Cut={chain:"PLT",chainId:1718,explorers:[{name:"Palettescan",url:"https://palettescan.com",standard:"none",icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"},infoURL:"https://hashpalette.com/",name:"Palette Chain Mainnet",nativeCurrency:{name:"Palette Token",symbol:"PLT",decimals:18},networkId:1718,rpc:["https://1718.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palette-rpc.com:22000"],shortName:"PCM",slug:"palette-chain",testnet:!1},Iut={chain:"Reya",chainId:1729,explorers:[{name:"Reya Network Explorer",url:"https://explorer.reya.network",standard:"EIP3091"}],faucets:[],infoURL:"https://reya.network",name:"Reya Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1729,rpc:["https://1729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.reya.network","wss://ws.reya.network"],shortName:"reya",slug:"reya-network",testnet:!1},kut={chain:"Metal L2 Testnet",chainId:1740,explorers:[{name:"blockscout",url:"https://testnet.explorer.metall2.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmesm61n8vVVDEeZU7npz39aQYofes9vMfXYwWM4JehLFS",width:250,height:250,format:"svg"},infoURL:"https://metall2.com",name:"Metal L2 Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:1740,rpc:["https://1740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.metall2.com"],shortName:"metall2-testnet",slug:"metal-l2-testnet",testnet:!0},Sut={chain:"Metal L2",chainId:1750,explorers:[{name:"blockscout",url:"https://explorer.metall2.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmesm61n8vVVDEeZU7npz39aQYofes9vMfXYwWM4JehLFS",width:250,height:250,format:"svg"},infoURL:"https://metall2.com",name:"Metal L2",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:1750,rpc:["https://1750.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metall2.com"],shortName:"metall2",slug:"metal-l2",testnet:!1},Rut={chain:"mainnet",chainId:1773,explorers:[{name:"PartyExplorer",url:"https://partyexplorer.co",standard:"EIP3091",icon:{url:"ipfs://QmerDBFoXvgev2xx9U71gAaAK4CtxaaQVaAPf9Qi6UF9MS",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmerDBFoXvgev2xx9U71gAaAK4CtxaaQVaAPf9Qi6UF9MS",width:400,height:400,format:"jpg"},name:"PartyChain",nativeCurrency:{name:"Grams",symbol:"GRAMS",decimals:18},networkId:1773,rpc:["https://1773.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tea.mining4people.com/rpc","http://172.104.194.36:8545"],shortName:"TeaParty",slug:"partychain",status:"incubating",testnet:!1},Mut={chain:"Gauss",chainId:1777,explorers:[{name:"Gauss Explorer",url:"https://explorer.gaussgang.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeDXUAYgQxwaSJLsqWgTqnrJVwicgEyNf9199xAMyRkqA",width:243,height:243,format:"svg"},infoURL:"https://gaussgang.com/",name:"Gauss Mainnet",nativeCurrency:{name:"GANG",symbol:"GANG",decimals:18},networkId:1777,rpc:["https://1777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gaussgang.com"],shortName:"gauss",slug:"gauss",testnet:!1},But={chain:"ETH",chainId:1789,explorers:[{name:"ZKbase Block Explorer",url:"https://sepolia-explorer.zkbase.app",standard:"EIP3091",icon:{url:"ipfs://QmRLtNvkVhC7rRDiLMHLckWbesaSU6sNYhQZgsAM1phTZx",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmRLtNvkVhC7rRDiLMHLckWbesaSU6sNYhQZgsAM1phTZx",width:400,height:400,format:"jpg"},infoURL:"https://zkbase.org/",name:"ZKBase Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1789,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://portral.zkbase.app/"}]},redFlags:["reusedChainId"],rpc:["https://1789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.zkbase.app"],shortName:"zkbase-sepolia",slip44:1,slug:"zkbase-sepolia-testnet",testnet:!0},Dut={chain:"CRC",chainId:1804,explorers:[{name:"Lite Explorer",url:"https://ethereum-pocr.github.io/explorer/kerleano",standard:"EIP3091",icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"}}],faucets:["https://github.com/ethereum-pocr/kerleano/blob/main/docs/faucet.md"],icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"},infoURL:"https://github.com/ethereum-pocr/kerleano",name:"Kerleano",nativeCurrency:{name:"Climate awaReness Coin",symbol:"CRC",decimals:18},networkId:1804,rpc:["https://1804.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cacib-saturn-test.francecentral.cloudapp.azure.com","wss://cacib-saturn-test.francecentral.cloudapp.azure.com:9443"],shortName:"kerleano",slip44:1,slug:"kerleano",status:"active",testnet:!0,title:"Proof of Climate awaReness testnet"},Put={chain:"rAna",chainId:1807,explorers:[{name:"blockscout",url:"https://rabbit.analogscan.com",standard:"none"}],faucets:["https://analogfaucet.com"],icon:{url:"ipfs://QmdfbjjF3ZzN2jTkH9REgrA8jDS6A6c21n7rbWSVbSnvQc",width:310,height:251,format:"svg"},infoURL:"https://rabbit.analogscan.com",name:"Rabbit Analog Testnet Chain",nativeCurrency:{name:"Rabbit Analog Test Chain Native Token ",symbol:"rAna",decimals:18},networkId:1807,rpc:["https://1807.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rabbit.analog-rpc.com"],shortName:"rAna",slip44:1,slug:"rabbit-analog-testnet-chain",testnet:!0},Lut={chain:"Cube",chainId:1818,explorers:[{name:"cube-scan",url:"https://cubescan.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbENgHTymTUUArX5MZ2XXH69WGenirU3oamkRD448hYdz",width:282,height:250,format:"png"},infoURL:"https://www.cube.network",name:"Cube Chain Mainnet",nativeCurrency:{name:"Cube Chain Native Token",symbol:"CUBE",decimals:18},networkId:1818,rpc:["https://1818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.cube.network","wss://ws-mainnet.cube.network","https://http-mainnet-sg.cube.network","wss://ws-mainnet-sg.cube.network","https://http-mainnet-us.cube.network","wss://ws-mainnet-us.cube.network"],shortName:"cube",slip44:1818,slug:"cube-chain",testnet:!1},Fut={chain:"Cube",chainId:1819,explorers:[{name:"cubetest-scan",url:"https://testnet.cubescan.network",standard:"EIP3091"}],faucets:["https://faucet.cube.network"],icon:{url:"ipfs://QmbENgHTymTUUArX5MZ2XXH69WGenirU3oamkRD448hYdz",width:282,height:250,format:"png"},infoURL:"https://www.cube.network",name:"Cube Chain Testnet",nativeCurrency:{name:"Cube Chain Test Native Token",symbol:"CUBET",decimals:18},networkId:1819,rpc:["https://1819.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.cube.network","wss://ws-testnet.cube.network","https://http-testnet-sg.cube.network","wss://ws-testnet-sg.cube.network","https://http-testnet-jp.cube.network","wss://ws-testnet-jp.cube.network","https://http-testnet-us.cube.network","wss://ws-testnet-us.cube.network"],shortName:"cubet",slip44:1,slug:"cube-chain-testnet",testnet:!0},Nut={chain:"RUBY",chainId:1821,explorers:[{name:"RUBY Smart Chain MAINNET Explorer",url:"https://rubyscan.net",standard:"none",icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"},infoURL:"https://rubychain.io",name:"Ruby Smart Chain MAINNET",nativeCurrency:{name:"RUBY Smart Chain Native Token",symbol:"RUBY",decimals:18},networkId:1821,rpc:["https://1821.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-data.rubychain.io/","https://mainnet.rubychain.io/"],shortName:"RUBY",slip44:1,slug:"ruby-smart-chain",testnet:!1},Out={chain:"Avalanche",chainId:1838,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Traderlands Testnet",nativeCurrency:{name:"Traderlands Testnet Token",symbol:"TDL3",decimals:18},networkId:1838,redFlags:[],rpc:["https://1838.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/traderland/testnet/rpc"],shortName:"Traderlands Testnet",slug:"traderlands-testnet",testnet:!0},Uut={chain:"Avalanche",chainId:1853,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"HighOctane",nativeCurrency:{name:"HighOctane Token",symbol:"HO",decimals:18},networkId:1853,redFlags:[],rpc:["https://1853.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/highoctane/mainnet/rpc"],shortName:"HighOctane",slug:"highoctane",testnet:!1},Hut={chain:"TSF",chainId:1856,explorers:[],faucets:[],infoURL:"https://teslafunds.io",name:"Teslafunds",nativeCurrency:{name:"Teslafunds Ether",symbol:"TSF",decimals:18},networkId:1,rpc:["https://1856.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tsfapi.europool.me"],shortName:"tsf",slug:"teslafunds",testnet:!1},zut={chain:"WBT",chainId:1875,explorers:[{name:"whitechain-explorer",url:"https://explorer.whitechain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNeELax6vjkR9WZVmtggk8cam9xHVABZ4WvQyqkGCJ5qf",width:512,height:512,format:"png"},infoURL:"https://whitechain.io",name:"Whitechain",nativeCurrency:{name:"WhiteBIT Coin",symbol:"WBT",decimals:18},networkId:1875,rpc:["https://1875.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.whitechain.io"],shortName:"wbt",slug:"whitechain",testnet:!1},Wut={chain:"Gitshock Cartenz",chainId:1881,explorers:[{name:"blockscout",url:"https://scan.cartenz.works",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifqpj5jkjazvh24muc7wv4r22tihzzl75cevgecxhvojm4ls6mzpq",width:512,height:512,format:"png"},infoURL:"https://gitshock.com",name:"Gitshock Cartenz Testnet",nativeCurrency:{name:"Gitshock Cartenz",symbol:"tGTFX",decimals:18},networkId:1881,rpc:["https://1881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cartenz.works"],shortName:"gitshockchain",slip44:1,slug:"gitshock-cartenz-testnet",testnet:!0},qut={chain:"Lightlink Phoenix Mainnet",chainId:1890,explorers:[{name:"phoenix",url:"https://phoenix.lightlink.io",standard:"EIP3091",icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"},infoURL:"https://lightlink.io",name:"Lightlink Phoenix Mainnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:1890,rpc:["https://1890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://replicator.phoenix.lightlink.io/rpc/v1"],shortName:"lightlink_phoenix",slug:"lightlink-phoenix",testnet:!1},jut={chain:"Lightlink Pegasus Testnet",chainId:1891,explorers:[{name:"pegasus",url:"https://pegasus.lightlink.io",standard:"EIP3091",icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"}}],faucets:["https://faucet.pegasus.lightlink.io/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"},infoURL:"https://lightlink.io",name:"Lightlink Pegasus Testnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:1891,rpc:["https://1891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://replicator.pegasus.lightlink.io/rpc/v1"],shortName:"lightlink_pegasus",slip44:1,slug:"lightlink-pegasus-testnet",testnet:!0},Gut={chain:"BON",chainId:1898,explorers:[{name:"explorer",url:"https://explorer.boyanet.org:4001",standard:"EIP3091"}],faucets:[],infoURL:"https://boyanet.org",name:"BON Network",nativeCurrency:{name:"BOYACoin",symbol:"BOY",decimals:18},networkId:1,rpc:["https://1898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc.boyanet.org:8545","ws://rpc.boyanet.org:8546"],shortName:"boya",slug:"bon-network",testnet:!1},Kut={chain:"SCN",chainId:1904,explorers:[{name:"blockscout",url:"https://explorer.sportschainnetwork.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdW7XfRgeyoaHXEvXp8MaVteonankR32CxhL3K5Yc2uQM",width:345,height:321,format:"png"},infoURL:"https://sportschainnetwork.xyz",name:"Sports Chain Network",nativeCurrency:{name:"SCN",symbol:"SCN",decimals:18},networkId:1904,rpc:["https://1904.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sportschainnetwork.xyz/"],shortName:"SCN",slug:"sports-chain-network",testnet:!1},Qut={chain:"BITCI",chainId:1907,explorers:[{name:"Bitci Explorer",url:"https://bitciexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbxmfWw5sVMASz5EbR1DCgLfk8PnqpSJGQKpYuEUpoxqn",width:64,height:64,format:"svg"},infoURL:"https://www.bitcichain.com",name:"Bitcichain Mainnet",nativeCurrency:{name:"Bitci",symbol:"BITCI",decimals:18},networkId:1907,rpc:["https://1907.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitci.com"],shortName:"bitci",slug:"bitcichain",testnet:!1},Vut={chain:"TBITCI",chainId:1908,explorers:[{name:"Bitci Explorer Testnet",url:"https://testnet.bitciexplorer.com",standard:"EIP3091"}],faucets:["https://faucet.bitcichain.com"],icon:{url:"ipfs://QmbxmfWw5sVMASz5EbR1DCgLfk8PnqpSJGQKpYuEUpoxqn",width:64,height:64,format:"svg"},infoURL:"https://www.bitcichain.com",name:"Bitcichain Testnet",nativeCurrency:{name:"Test Bitci",symbol:"TBITCI",decimals:18},networkId:1908,rpc:["https://1908.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bitcichain.com"],shortName:"tbitci",slip44:1,slug:"bitcichain-testnet",testnet:!0},Yut={chain:"MRK",chainId:1909,explorers:[{name:"blockscout",url:"https://merklescan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZocJpCSLoQqoYFkF1kn7uKDuAiFRNTK8P5PoVeiigDBU",width:114,height:132,format:"png"},infoURL:"https://merklescan.com",name:"Merkle Scan",nativeCurrency:{name:"Merkle",symbol:"MRK",decimals:18},networkId:1909,rpc:["https://1909.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://marklechain-rpc.merklescan.com"],shortName:"MRK",slug:"merkle-scan",testnet:!1},$ut={chain:"ETH",chainId:1911,explorers:[{name:"scalind",url:"https://explorer.scalind.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmayuauUTSkYxbT1xi2AkkG5VLEMDhcMeZ18WZHiApPa9M",width:512,height:512,format:"png"},infoURL:"https://scalind.com",name:"Scalind",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1911,rpc:["https://1911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.scalind.com"],shortName:"scal",slug:"scalind",testnet:!1},Jut={chain:"RUBY",chainId:1912,explorers:[{name:"RUBY Smart Chain Testnet Explorer",url:"https://testnet.rubyscan.net",standard:"none",icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"}}],faucets:["https://claim-faucet.rubychain.io/"],icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"},infoURL:"https://rubychain.io",name:"Ruby Smart Chain Testnet",nativeCurrency:{name:"RUBY Smart Chain Native Token",symbol:"tRUBY",decimals:18},networkId:1912,rpc:["https://1912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rchain.rubychain.io/"],shortName:"tRUBY",slip44:1,slug:"ruby-smart-chain-testnet",testnet:!0},Xut={chain:"UPBEth",chainId:1918,explorers:[],faucets:[],infoURL:"https://mobylab.docs.crescdi.pub.ro/blog/UPB-CRESCDI-Testnet",name:"UPB CRESCDI Testnet",nativeCurrency:{name:"UPBEth",symbol:"UPBEth",decimals:18},networkId:1918,rpc:["https://1918.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.crescdi.pub.ro"],shortName:"UPBEth",slug:"upb-crescdi-testnet",testnet:!0},Zut={chain:"onus",chainId:1945,explorers:[{name:"Onus explorer testnet",url:"https://explorer-testnet.onuschain.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiec34ik3glrm5jrzafdytvu4kxdsrxhqmagbe27fytdcuzkhoooay",width:512,height:512,format:"png"}}],faucets:[],infoURL:"https://onuschain.io",name:"ONUS Chain Testnet",nativeCurrency:{name:"ONUS",symbol:"ONUS",decimals:18},networkId:1945,rpc:["https://1945.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.onuschain.io"],shortName:"onus-testnet",slip44:1,slug:"onus-chain-testnet",testnet:!0,title:"ONUS Chain Testnet"},ept={chain:"D-Chain",chainId:1951,explorers:[],faucets:[],icon:{url:"ipfs://QmV2vhTqS9UyrX9Q6BSCbK4JrKBnS8ErHvstMjfb2oVWaj",width:700,height:495,format:"png"},name:"D-Chain Mainnet",nativeCurrency:{name:"DOINX",symbol:"DOINX",decimals:18},networkId:1951,rpc:["https://1951.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.d-chain.network/ext/bc/2ZiR1Bro5E59siVuwdNuRFzqL95NkvkbzyLBdrsYR9BLSHV7H4/rpc"],shortName:"dchain-mainnet",slug:"d-chain",testnet:!1},tpt={chain:"tSEL",chainId:1953,explorers:[],faucets:[],icon:{url:"ipfs://QmbnLDuVc4JReFysyKvmpuqUtj9HCus6qoKD5nQ9QkokzK",width:512,height:512,format:"png"},infoURL:"https://selendra.org",name:"Selendra Network Testnet",nativeCurrency:{name:"Selendra",symbol:"tSEL",decimals:18},networkId:1953,rpc:["https://1953.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0-testnet.selendra.org","https://rpc1-testnet.selendra.org"],shortName:"tSEL",slug:"selendra-network-testnet",testnet:!0},npt={chain:"Dexilla",chainId:1954,explorers:[{name:"dos-mainnet",url:"https://exp.dexilla.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUBveetVibvSEWQrjyxySgUphLuoMGSVLGmYnobt5FgEZ",width:512,height:512,format:"png"},infoURL:"https://dexilla.com",name:"Dexilla Testnet",nativeCurrency:{name:"Dexilla Native Token",symbol:"DXZ",decimals:18},networkId:1954,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.dexilla.com"}]},rpc:["https://1954.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dexilla.com"],shortName:"Dexilla",slip44:1,slug:"dexilla-testnet",testnet:!0},apt={chain:"AIW3",chainId:1956,explorers:[{name:"aiw3 testnet scan",url:"https://scan-testnet.aiw3.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreigfxcyvnx2r46a3unljb2auxeez5olbg56lbu4gkpa4me7wqoajjy",width:500,height:500,format:"png"},infoURL:"https://aiw3.io/",name:"AIW3 Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:1956,rpc:["https://1956.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.aiw3.io/"],shortName:"AIW3-Testnet",slug:"aiw3-testnet",testnet:!0},rpt={chain:"SEL",chainId:1961,explorers:[{name:"Selendra Scan",url:"https://scan.selendra.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmbnLDuVc4JReFysyKvmpuqUtj9HCus6qoKD5nQ9QkokzK",width:512,height:512,format:"png"},infoURL:"https://selendra.org",name:"Selendra Network Mainnet",nativeCurrency:{name:"Selendra",symbol:"SEL",decimals:18},networkId:1961,rpc:["https://1961.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0.selendra.org","https://rpc1.selendra.org"],shortName:"SEL",slug:"selendra-network",testnet:!1},fpt={chain:"Avalanche",chainId:1962,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3295 Testnet",nativeCurrency:{name:"QaUser3295 Testnet Token",symbol:"JXA",decimals:18},networkId:1962,redFlags:[],rpc:["https://1962.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3295 Testnet",slug:"qauser3295-testnet",testnet:!0},ipt={chain:"MTC",chainId:1967,explorers:[{name:"metaexplorer-eleanor",url:"https://explorer.metatime.com/eleanor",standard:"EIP3091"}],faucets:["https://faucet.metatime.com/eleanor"],infoURL:"https://eleanor.metatime.com",name:"Eleanor",nativeCurrency:{name:"Eleanor Metacoin",symbol:"MTC",decimals:18},networkId:1967,rpc:["https://1967.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metatime.com/eleanor","wss://ws.metatime.com/eleanor"],shortName:"mtc",slip44:1,slug:"eleanor",testnet:!0,title:"Metatime Testnet Eleanor"},spt={chain:"TSCS",chainId:1969,explorers:[{name:"blockscout",url:"https://testnetscan.scschain.com",standard:"EIP3091"}],faucets:["https://testnet.scschain.com"],icon:{url:"ipfs://QmW4C4QHLMhLeH5MsdVbauMc2Skb4ehzLKU3egLKKoux4D",width:130,height:130,format:"png"},infoURL:"https://testnet.scschain.com",name:"Super Smart Chain Testnet",nativeCurrency:{name:"Super Chain Native Token",symbol:"TSCS",decimals:18},networkId:1969,rpc:["https://1969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetrpc.scschain.com"],shortName:"tscs",slip44:1,slug:"super-smart-chain-testnet",testnet:!0},opt={chain:"SCS",chainId:1970,explorers:[{name:"blockscout",url:"https://scan.scschain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmW4C4QHLMhLeH5MsdVbauMc2Skb4ehzLKU3egLKKoux4D",width:130,height:130,format:"png"},infoURL:"https://scschain.com",name:"Super Smart Chain Mainnet",nativeCurrency:{name:"Super Chain Native Token",symbol:"SCS",decimals:18},networkId:1970,rpc:["https://1970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.scschain.com"],shortName:"scs",slug:"super-smart-chain",testnet:!1},cpt={chain:"ALTR",chainId:1971,explorers:[],faucets:[],icon:{url:"ipfs://bafkreigcquvoalec3ll2m26v4wsx5enlxwyn6nk2mgfqwncyqrgwivla5u",width:200,height:200,format:"png"},infoURL:"https://1971.network/",name:"Atelier",nativeCurrency:{name:"ATLR",symbol:"ATLR",decimals:18},networkId:1971,rpc:["https://1971.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://1971.network/atlr","wss://1971.network/atlr"],shortName:"atlr",slip44:1,slug:"atelier",testnet:!0,title:"Atelier Test Network"},dpt={chain:"REDEV2",chainId:1972,explorers:[{name:"RedeCoin Explorer",url:"https://explorer3.redecoin.eu",standard:"none"}],faucets:[],infoURL:"https://www.redecoin.eu",name:"RedeCoin",nativeCurrency:{name:"RedeCoin",symbol:"REDEV2",decimals:18},networkId:1972,rpc:["https://1972.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc2.redecoin.eu"],shortName:"rede",slug:"redecoin",testnet:!1},lpt={chain:"onus",chainId:1975,explorers:[{name:"Onus explorer mainnet",url:"https://explorer.onuschain.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiec34ik3glrm5jrzafdytvu4kxdsrxhqmagbe27fytdcuzkhoooay",width:512,height:512,format:"png"}}],faucets:[],infoURL:"https://onuschain.io",name:"ONUS Chain Mainnet",nativeCurrency:{name:"ONUS",symbol:"ONUS",decimals:18},networkId:1975,rpc:["https://1975.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.onuschain.io","wss://ws.onuschain.io"],shortName:"onus-mainnet",slug:"onus-chain",testnet:!1,title:"ONUS Chain Mainnet"},upt={chain:"EUN",chainId:1984,explorers:[{name:"testnetexplorer",url:"https://testnetexplorer.eurus.network",standard:"none",icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"},infoURL:"https://eurus.network",name:"Eurus Testnet",nativeCurrency:{name:"Eurus",symbol:"EUN",decimals:18},networkId:1984,rpc:["https://1984.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.eurus.network"],shortName:"euntest",slip44:1,slug:"eurus-testnet",testnet:!0},ppt={chain:"TUSHY",chainId:1985,explorers:[{name:"mainnetexplorer",url:"http://explore.satosh.ie",standard:"none",icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"},infoURL:"https://satosh.ie",name:"SatoshIE",nativeCurrency:{name:"Tushy Token",symbol:"TUSHY",decimals:18},networkId:1985,rpc:["https://1985.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc.satosh.ie"],shortName:"satoshie",slug:"satoshie",testnet:!1},hpt={chain:"TUSHY",chainId:1986,explorers:[{name:"testnetexplorer",url:"http://explore-testnet.satosh.ie",standard:"none",icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"},infoURL:"https://satosh.ie",name:"SatoshIE Testnet",nativeCurrency:{name:"Tushy Token",symbol:"TUSHY",decimals:18},networkId:1986,rpc:["https://1986.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.satosh.ie"],shortName:"satoshie_testnet",slip44:1,slug:"satoshie-testnet",testnet:!0},bpt={chain:"EGEM",chainId:1987,explorers:[],faucets:[],infoURL:"https://egem.io",name:"EtherGem",nativeCurrency:{name:"EtherGem Ether",symbol:"EGEM",decimals:18},networkId:1987,rpc:["https://1987.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.egem.io/custom"],shortName:"egem",slip44:1987,slug:"ethergem",testnet:!1},mpt={chain:"Hubblenet",chainId:1992,explorers:[{name:"routescan",url:"https://explorer.hubble.exchange",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmU9t9fZaWiqpAZ9dw2ojTpJycnB8BxekLWVSCJikJVgjW",width:512,height:512,format:"png"},infoURL:"https://www.hubble.exchange",name:"Hubble Exchange",nativeCurrency:{name:"USD Coin",symbol:"USDC",decimals:18},networkId:1992,rpc:["https://1992.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hubble.exchange","wss://ws-rpc.hubble.exchange"],shortName:"hubblenet",slip44:60,slug:"hubble-exchange",testnet:!1},ypt={chain:"B3 Sepolia",chainId:1993,explorers:[],faucets:[],features:[],icon:{url:"https://cdn.b3.fun/b3_logo%40.png",width:512,height:512,format:"png"},infoURL:"https://docs.b3.fun/",name:"B3 Sepolia",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:1993,parent:{type:"L3",chain:"eip155-1",bridges:[{url:"https://bridge.b3.fun/"}]},redFlags:[],rpc:["https://1993.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.b3.fun/http"],shortName:"b3-sepolia",slug:"b3-sepolia",testnet:!0,title:"B3 Sepolia"},gpt={chain:"EKTA",chainId:1994,explorers:[{name:"ektascan",url:"https://ektascan.io",standard:"EIP3091",icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"},infoURL:"https://www.ekta.io",name:"Ekta",nativeCurrency:{name:"EKTA",symbol:"EKTA",decimals:18},networkId:1994,rpc:["https://1994.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://main.ekta.io"],shortName:"ekta",slug:"ekta",testnet:!1},vpt={chain:"edeXa TestNetwork",chainId:1995,explorers:[{name:"edexa-testnet",url:"https://explorer.testnet.edexa.network",standard:"EIP3091"}],faucets:["https://faucet.edexa.com/"],icon:{url:"ipfs://QmSgvmLpRsCiu2ySqyceA5xN4nwi7URJRNEZLffwEKXdoR",width:1028,height:1042,format:"png"},infoURL:"https://edexa.network/",name:"edeXa Testnet",nativeCurrency:{name:"EDEXA",symbol:"EDX",decimals:18},networkId:1995,rpc:["https://1995.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.edexa.network/rpc","https://io-dataseed1.testnet.edexa.io-market.com/rpc"],shortName:"edx",slip44:1,slug:"edexa-testnet",testnet:!0},wpt={chain:"Sanko",chainId:1996,explorers:[{name:"Sanko Explorer",url:"https://explorer.sanko.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmbwi5FoJdL6HuFmQGQu1sdyoGrSuj45H12tMNTnpRAmLw",width:795,height:792,format:"png"},infoURL:"https://sanko.xyz/",name:"Sanko",nativeCurrency:{name:"DMT",symbol:"DMT",decimals:18},networkId:1996,rpc:["https://1996.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.sanko.xyz"],shortName:"Sanko",slug:"sanko",testnet:!1},Tpt={chain:"KYOTO",chainId:1998,explorers:[{name:"Kyotoscan",url:"https://testnet.kyotoscan.io",standard:"EIP3091"}],faucets:["https://faucet.kyotoprotocol.io"],features:[{name:"EIP155"}],infoURL:"https://kyotoprotocol.io",name:"Kyoto Testnet",nativeCurrency:{name:"Kyoto",symbol:"KYOTO",decimals:18},networkId:1998,rpc:["https://1998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.kyotoprotocol.io:8545"],shortName:"kyoto-testnet",slip44:1,slug:"kyoto-testnet",testnet:!0},xpt={chain:"DC",chainId:2e3,explorers:[{name:"dogechain explorer",url:"https://explorer.dogechain.dog",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNS6B6L8FfgGSMTEi2SxD3bK5cdmKPNtQKcYaJeRWrkHs",width:732,height:732,format:"png"},infoURL:"https://dogechain.dog",name:"Dogechain Mainnet",nativeCurrency:{name:"Dogecoin",symbol:"DOGE",decimals:18},networkId:2e3,rpc:["https://2000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dogechain.dog","https://rpc01-sg.dogechain.dog","https://rpc.ankr.com/dogechain"],shortName:"dc",slug:"dogechain",testnet:!1},Ept={chain:"milkAda",chainId:2001,explorers:[{name:"Blockscout",url:"https://explorer-mainnet-cardano-evm.c1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda C1 Mainnet",nativeCurrency:{name:"milkAda",symbol:"mADA",decimals:18},networkId:2001,rpc:["https://2001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-cardano-evm.c1.milkomeda.com","wss://rpc-mainnet-cardano-evm.c1.milkomeda.com"],shortName:"milkAda",slug:"milkomeda-c1",testnet:!1},_pt={chain:"milkALGO",chainId:2002,explorers:[{name:"Blockscout",url:"https://explorer-mainnet-algorand-rollup.a1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda A1 Mainnet",nativeCurrency:{name:"milkALGO",symbol:"mALGO",decimals:18},networkId:2002,rpc:["https://2002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-algorand-rollup.a1.milkomeda.com","wss://rpc-mainnet-algorand-rollup.a1.milkomeda.com/ws"],shortName:"milkALGO",slug:"milkomeda-a1",testnet:!1},Apt={chain:"CloudWalk Testnet",chainId:2008,explorers:[{name:"CloudWalk Testnet Explorer",url:"https://explorer.testnet.cloudwalk.io",standard:"none"}],faucets:[],infoURL:"https://cloudwalk.io",name:"CloudWalk Testnet",nativeCurrency:{name:"CloudWalk Native Token",symbol:"CWN",decimals:18},networkId:2008,rpc:[],shortName:"cloudwalk_testnet",slip44:1,slug:"cloudwalk-testnet",testnet:!0},Cpt={chain:"CloudWalk Mainnet",chainId:2009,explorers:[{name:"CloudWalk Mainnet Explorer",url:"https://explorer.mainnet.cloudwalk.io",standard:"none"}],faucets:[],infoURL:"https://cloudwalk.io",name:"CloudWalk Mainnet",nativeCurrency:{name:"CloudWalk Native Token",symbol:"CWN",decimals:18},networkId:2009,rpc:[],shortName:"cloudwalk_mainnet",slug:"cloudwalk",testnet:!1},Ipt={chain:"Panarchy",chainId:2013,explorers:[],faucets:[],infoURL:"https://polytopia.org/",name:"Panarchy",nativeCurrency:{name:"GAS",symbol:"GAS",decimals:18},networkId:1,rpc:["https://2013.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://polytopia.org:8545"],shortName:"panarchy",slug:"panarchy",testnet:!1},kpt={chain:"NOW",chainId:2014,explorers:[{name:"nowscan",url:"https://nowscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSUzhRGzMyMyGwBcE3ooZ5jvHKyJ1FjVjh5SfoGHG36MX",width:512,height:512,format:"png"},infoURL:"https://nowchain.co",name:"NOW Chain",nativeCurrency:{name:"NOW Coin",symbol:"NOW",decimals:18},networkId:2014,rpc:["https://2014.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.nowscan.io"],shortName:"now",slug:"now-chain",testnet:!1},Spt={chain:"NetZ",chainId:2016,explorers:[{name:"MainnetZ",url:"https://explorer.mainnetz.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmT5gJ5weBiLT3GoYuF5yRTRLdPLCVZ3tXznfqW7M8fxgG",width:400,height:400,format:"png"},infoURL:"https://mainnetz.io",name:"MainnetZ Mainnet",nativeCurrency:{name:"MainnetZ",symbol:"NetZ",decimals:18},networkId:2016,rpc:["https://2016.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.mainnetz.io","https://eu-rpc.mainnetz.io"],shortName:"netz",slug:"z-mainnet",testnet:!1},Rpt={chain:"TEL",chainId:2017,explorers:[{name:"telscan",url:"https://telscan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreih4obvrymfdqohzhiafhvpcy6zwqbgpfm26aahrv3qx2dtcei7hk4",width:79,height:80,format:"svg"}}],faucets:["https://telcoin.network/faucet"],icon:{url:"ipfs://bafkreih4obvrymfdqohzhiafhvpcy6zwqbgpfm26aahrv3qx2dtcei7hk4",width:79,height:80,format:"svg"},infoURL:"https://telcoin.network",name:"Adiri",nativeCurrency:{name:"Telcoin",symbol:"TEL",decimals:18},networkId:2017,rpc:["https://2017.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.telcoin.network","https://adiri.tel","https://node1.telcoin.network","https://node2.telcoin.network","https://node3.telcoin.network","https://node4.telcoin.network"],shortName:"tel",slip44:1,slug:"adiri",testnet:!0,title:"Telcoin Network Testnet"},Mpt={chain:"PublicMint",chainId:2018,explorers:[{name:"PublicMint Explorer",url:"https://explorer.dev.publicmint.io",standard:"EIP3091"}],faucets:[],infoURL:"https://publicmint.com",name:"PublicMint Devnet",nativeCurrency:{name:"USD",symbol:"USD",decimals:18},networkId:2018,rpc:["https://2018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.publicmint.io:8545"],shortName:"pmint_dev",slip44:60,slug:"publicmint-devnet",testnet:!1,title:"Public Mint Devnet"},Bpt={chain:"PublicMint",chainId:2019,explorers:[{name:"PublicMint Explorer",url:"https://explorer.tst.publicmint.io",standard:"EIP3091"}],faucets:[],infoURL:"https://publicmint.com",name:"PublicMint Testnet",nativeCurrency:{name:"USD",symbol:"USD",decimals:18},networkId:2019,rpc:["https://2019.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tst.publicmint.io:8545"],shortName:"pmint_test",slip44:1,slug:"publicmint-testnet",testnet:!0,title:"Public Mint Testnet"},Dpt={chain:"PublicMint",chainId:2020,explorers:[{name:"PublicMint Explorer",url:"https://explorer.publicmint.io",standard:"EIP3091"}],faucets:[],infoURL:"https://publicmint.com",name:"PublicMint Mainnet",nativeCurrency:{name:"USD",symbol:"USD",decimals:18},networkId:2020,rpc:["https://2020.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.publicmint.io:8545"],shortName:"pmint",slip44:60,slug:"publicmint",testnet:!1,title:"Public Mint Mainnet"},Ppt={chain:"EDG",chainId:2021,explorers:[{name:"Edgscan EdgeEVM explorer by Bharathcoorg",url:"https://edgscan.live",standard:"EIP3091"},{name:"Edgscan EdgeWASM explorer by Bharathcoorg",url:"https://edgscan.ink",standard:"none",icon:{url:"ipfs://QmVV7ibcq8pS44Nt77jWSLNY2RkfQooHBCZMBPSMdAfZ3d",width:88,height:88,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWCSXYLigYE6qEiese4cso2icgKQyosV3x1adtxJnRyJ9",width:88,height:76,format:"svg"},infoURL:"https://edgeware.io",name:"Edgeware EdgeEVM Mainnet",nativeCurrency:{name:"Edgeware",symbol:"EDG",decimals:18},networkId:2021,rpc:["https://2021.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://edgeware-evm.jelliedowl.net","https://edgeware-evm0.jelliedowl.net","https://edgeware-evm1.jelliedowl.net","https://edgeware-evm2.jelliedowl.net","https://edgeware-evm3.jelliedowl.net","wss://edgeware.jelliedowl.net","wss://edgeware-rpc0.jelliedowl.net","wss://edgeware-rpc1.jelliedowl.net","wss://edgeware-rpc2.jelliedowl.net","wss://edgeware-rpc3.jelliedowl.net"],shortName:"edg",slip44:523,slug:"edgeware-edgeevm",testnet:!1},Lpt={chain:"EDG",chainId:2022,explorers:[{name:"Edgscan by Bharathcoorg",url:"https://testnet.edgscan.live",standard:"EIP3091"}],faucets:[],infoURL:"https://edgeware.io/build",name:"Beresheet BereEVM Testnet",nativeCurrency:{name:"Testnet EDG",symbol:"tEDG",decimals:18},networkId:2022,rpc:["https://2022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beresheet-evm.jelliedowl.net","wss://beresheet.jelliedowl.net"],shortName:"edgt",slip44:1,slug:"beresheet-bereevm-testnet",testnet:!0},Fpt={chain:"Taycan",chainId:2023,explorers:[{name:"Taycan Explorer(Blockscout)",url:"https://evmscan-test.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}},{name:"Taycan Cosmos Explorer",url:"https://cosmoscan-test.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}}],faucets:["https://ttaycan-faucet.hupayx.io/"],icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"},infoURL:"https://hupayx.io",name:"Taycan Testnet",nativeCurrency:{name:"test-Shuffle",symbol:"tSFL",decimals:18},networkId:2023,rpc:["https://2023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-taycan.hupayx.io"],shortName:"taycan-testnet",slip44:1,slug:"taycan-testnet",testnet:!0},Npt={chain:"SWAN",chainId:2024,explorers:[],faucets:[],infoURL:"https://swanchain.io/",name:"Swan Saturn Testnet",nativeCurrency:{name:"SWANETH",symbol:"sETH",decimals:18},networkId:2024,rpc:["https://2024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://saturn-rpc.swanchain.io"],shortName:"swan",slug:"swan-saturn-testnet",testnet:!0},Opt={chain:"Rangers",chainId:2025,explorers:[{name:"rangersscan",url:"https://scan.rangersprotocol.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"Rangers Protocol Mainnet",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"RPG",decimals:18},networkId:2025,rpc:["https://2025.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rangersprotocol.com/api/jsonrpc"],shortName:"rpg",slip44:1008,slug:"rangers-protocol",testnet:!1},Upt={chain:"Edgeless",chainId:2026,explorers:[{name:"Edgeless Explorer",url:"https://explorer.edgeless.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://edgeless.network",name:"Edgeless Network",nativeCurrency:{name:"Edgeless Wrapped Eth",symbol:"EwEth",decimals:18},networkId:2026,rpc:["https://2026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.edgeless.network/http"],shortName:"edgeless",slug:"edgeless-network",testnet:!1},Hpt={chain:"CFG",chainId:2031,explorers:[{name:"subscan",url:"https://centrifuge.subscan.io",standard:"EIP3091",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmedNc3WvTm66iNK2NYW6Fzu5tx5FgNa6HCBf3DTHpzQZ1",width:209,height:208,format:"svg"},infoURL:"https://centrifuge.io",name:"Centrifuge",nativeCurrency:{name:"Centrifuge",symbol:"CFG",decimals:18},networkId:2031,rpc:["https://2031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fullnode.centrifuge.io","wss://fullnode.centrifuge.io","https://centrifuge-parachain.api.onfinality.io/public","wss://centrifuge-parachain.api.onfinality.io/public-ws","https://centrifuge-rpc.dwellir.com","wss://centrifuge-rpc.dwellir.com","https://rpc-centrifuge.luckyfriday.io","wss://rpc-centrifuge.luckyfriday.io"],shortName:"cfg",slug:"centrifuge",testnet:!1},zpt={chain:"CFG",chainId:2032,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://centrifuge.io",name:"Catalyst",nativeCurrency:{name:"Catalyst CFG",symbol:"NCFG",decimals:18},networkId:2032,rpc:["wss://fullnode.catalyst.cntrfg.com"],shortName:"ncfg",slug:"catalyst",testnet:!1},Wpt={chain:"PHA",chainId:2035,explorers:[],faucets:[],infoURL:"https://phala.network",name:"Phala Network",nativeCurrency:{name:"Phala",symbol:"PHA",decimals:18},networkId:2035,rpc:[],shortName:"pha",slug:"phala-network",testnet:!1},qpt={chain:"KIWI",chainId:2037,explorers:[{name:"KIWI Explorer",url:"https://subnets-test.avax.network/kiwi",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],name:"Kiwi Subnet",nativeCurrency:{name:"Shrapgas",symbol:"SHRAP",decimals:18},networkId:2037,rpc:["https://2037.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/kiwi/testnet/rpc"],shortName:"kiwi",slip44:1,slug:"kiwi-subnet",testnet:!0},jpt={chain:"SHRAPNEL",chainId:2038,explorers:[{name:"SHRAPNEL Explorer",url:"https://subnets-test.avax.network/shrapnel",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.shrapnel.com/",name:"Shrapnel Testnet",nativeCurrency:{name:"SHRAPG",symbol:"SHRAPG",decimals:18},networkId:2038,rpc:["https://2038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/shrapnel/testnet/rpc"],shortName:"shraptest",slip44:1,slug:"shrapnel-testnet",testnet:!0},Gpt={chain:"Aleph Zero Testnet",chainId:2039,explorers:[{name:"Aleph Zero Testnet",url:"https://test.azero.dev/#/explorer",standard:"none",icon:{url:"ipfs://QmbeSYW2c5pXAyEUzj8UFRdJhp5oMQzRMPqAsxJAqbGiem",width:317,height:303,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbeSYW2c5pXAyEUzj8UFRdJhp5oMQzRMPqAsxJAqbGiem",width:317,height:303,format:"png"},infoURL:"https://testnet.alephzero.org",name:"Aleph Zero Testnet",nativeCurrency:{name:"TZERO",symbol:"TZERO",decimals:18},networkId:2039,rpc:["https://2039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alephzero-testnet.gelato.digital","wss://rpc.alephzero-testnet.gelato.digital"],shortName:"aleph",slug:"aleph-zero-testnet",testnet:!0},Kpt={chain:"VANAR",chainId:2040,explorers:[{name:"Vanar Explorer",url:"https://explorer.vanarchain.com",standard:"EIP3091",icon:{url:"ipfs://Qmbx25iq4Vn4zLooPit9bbguXJzdiogwtVQWtSseyQPuSC",width:1e3,height:1628,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://Qmbx25iq4Vn4zLooPit9bbguXJzdiogwtVQWtSseyQPuSC",width:1e3,height:1628,format:"png"},infoURL:"https://vanarchain.com",name:"Vanar Mainnet",nativeCurrency:{name:"VANRY",symbol:"VANRY",decimals:18},networkId:2040,rpc:["https://2040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.vanarchain.com","wss://ws.vanarchain.com"],shortName:"Vanar",slug:"vanar",testnet:!1,title:"Vanarchain"},Qpt={chain:"OTP",chainId:2043,explorers:[],faucets:[],infoURL:"https://parachain.origintrail.io",name:"OriginTrail Parachain",nativeCurrency:{name:"OriginTrail Parachain Token",symbol:"OTP",decimals:12},networkId:2043,rpc:["https://2043.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://astrosat.origintrail.network","wss://parachain-rpc.origin-trail.network"],shortName:"otp",slug:"origintrail-parachain",testnet:!1},Vpt={chain:"shrapnel",chainId:2044,explorers:[],faucets:[],infoURL:"https://www.shrapnel.com/",name:"Shrapnel Subnet",nativeCurrency:{name:"Shrapnel Gas Token",symbol:"SHRAPG",decimals:18},networkId:2044,rpc:["https://2044.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/shrapnel/mainnet/rpc"],shortName:"Shrapnel",slug:"shrapnel-subnet",testnet:!1},Ypt={chain:"AIW3",chainId:2045,explorers:[],faucets:[],icon:{url:"ipfs://bafkreigfxcyvnx2r46a3unljb2auxeez5olbg56lbu4gkpa4me7wqoajjy",width:500,height:500,format:"png"},infoURL:"https://aiw3.io/",name:"AIW3 Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:2045,rpc:[],shortName:"AIW3",slug:"aiw3",status:"incubating",testnet:!1},$pt={chain:"STOS",chainId:2047,explorers:[{name:"Stratos EVM Explorer (Blockscout)",url:"https://web3-explorer-mesos.thestratos.org",standard:"none"},{name:"Stratos Cosmos Explorer (BigDipper)",url:"https://big-dipper-mesos.thestratos.org",standard:"none"}],faucets:[],infoURL:"https://www.thestratos.org",name:"Stratos Testnet",nativeCurrency:{name:"STOS",symbol:"STOS",decimals:18},networkId:2047,rpc:["https://2047.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://web3-rpc-mesos.thestratos.org"],shortName:"stos-testnet",slip44:1,slug:"stratos-testnet",testnet:!0},Jpt={chain:"STOS",chainId:2048,explorers:[{name:"Stratos EVM Explorer (Blockscout)",url:"https://web3-explorer.thestratos.org",standard:"none"},{name:"Stratos Cosmos Explorer (BigDipper)",url:"https://explorer.thestratos.org",standard:"none"}],faucets:[],infoURL:"https://www.thestratos.org",name:"Stratos",nativeCurrency:{name:"STOS",symbol:"STOS",decimals:18},networkId:2048,rpc:["https://2048.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://web3-rpc.thestratos.org"],shortName:"stos-mainnet",slug:"stratos",testnet:!1},Xpt={chain:"MOVO",chainId:2049,explorers:[{name:"movoscan",url:"https://movoscan.com",standard:"none",icon:{url:"ipfs://QmdFJMdnTvu4adiMERMP7B5ZZDwgiPmU3kU1qrUFdvHmUY",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSQGKhhBpMTM7vYpGdgMTDFyzaAN3PGG5AnmWy7KQPdSn",width:1200,height:1200,format:"png"},infoURL:"https://movo.uk",name:"Movo Smart Chain Mainnet",nativeCurrency:{name:"Movo Smart Chain",symbol:"MOVO",decimals:18},networkId:2049,rpc:["https://2049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://msc-rpc.movoscan.com","https://msc-rpc.movochain.org","https://msc-rpc.movoswap.com"],shortName:"movo",slip44:2050,slug:"movo-smart-chain",testnet:!1},Zpt={chain:"Qkacoin",chainId:2077,explorers:[{name:"blockscout",url:"https://explorer.qkacoin.org",standard:"EIP3091"}],faucets:[],infoURL:"https://qkacoin.org",name:"Quokkacoin Mainnet",nativeCurrency:{name:"Qkacoin",symbol:"QKA",decimals:18},networkId:2077,rpc:["https://2077.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.qkacoin.org"],shortName:"QKA",slug:"quokkacoin",testnet:!1},e8t={chain:"AIR",chainId:2088,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSwqWxZ5HRdc25HMhEmVKxZkwSKapuuyGHb8kyrtuzxat",width:210,height:210,format:"svg"},infoURL:"https://centrifuge.io",name:"Altair",nativeCurrency:{name:"Altair",symbol:"AIR",decimals:18},networkId:2088,rpc:["wss://fullnode.altair.centrifuge.io","wss://altair.api.onfinality.io/public-ws"],shortName:"air",slug:"altair",testnet:!1},t8t={chain:"algol",chainId:2089,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://centrifuge.io",name:"Algol",nativeCurrency:{name:"Algol",symbol:"ALGL",decimals:18},networkId:2089,rpc:["wss://fullnode.algol.cntrfg.com"],shortName:"algl",slug:"algol",status:"deprecated",testnet:!1},n8t={chain:"ECO",chainId:2100,explorers:[{name:"Ecoball Explorer",url:"https://scan.ecoball.org",standard:"EIP3091"}],faucets:[],infoURL:"https://ecoball.org",name:"Ecoball Mainnet",nativeCurrency:{name:"Ecoball Coin",symbol:"ECO",decimals:18},networkId:2100,rpc:["https://2100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ecoball.org/ecoball/"],shortName:"eco",slug:"ecoball",testnet:!1},a8t={chain:"ECO",chainId:2101,explorers:[{name:"Ecoball Testnet Explorer",url:"https://espuma-scan.ecoball.org",standard:"EIP3091"}],faucets:[],infoURL:"https://ecoball.org",name:"Ecoball Testnet Espuma",nativeCurrency:{name:"Espuma Coin",symbol:"ECO",decimals:18},networkId:2101,rpc:["https://2101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ecoball.org/espuma/"],shortName:"esp",slip44:1,slug:"ecoball-testnet-espuma",testnet:!0},r8t={chain:"EXN",chainId:2109,explorers:[{name:"blockscout",url:"https://explorer.exosama.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaQxfwpXYTomUd24PMx5tKjosupXcm99z1jL1XLq9LWBS",width:468,height:468,format:"png"},infoURL:"https://moonsama.com",name:"Exosama Network",nativeCurrency:{name:"Sama Token",symbol:"SAMA",decimals:18},networkId:2109,rpc:["https://2109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.exosama.com","wss://rpc.exosama.com"],shortName:"exn",slip44:2109,slug:"exosama-network",testnet:!1},f8t={chain:"UCHAIN",chainId:2112,explorers:[{name:"uchain.info",url:"https://uchain.info",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUz6jimQbYZ43aeQBC6nSy2m7W7U6xR2qG8tCki2Jvj9k",width:344,height:342,format:"png"},infoURL:"https://u.cash/",name:"UCHAIN Mainnet",nativeCurrency:{name:"UCASH",symbol:"UCASH",decimals:18},networkId:2112,rpc:["https://2112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.uchain.link/"],shortName:"uchain",slug:"uchain",testnet:!1},i8t={chain:"Avalanche",chainId:2121,explorers:[{name:"catenascan",url:"https://catenascan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"M TEST 1103-2",nativeCurrency:{name:"M TEST 1103-2 Token",symbol:"RJI",decimals:18},networkId:2121,redFlags:[],rpc:["https://2121.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/cb82eb40-2d0d-4188-905b-d50c4b09b40b","https://rpc1.catenarpc.com"],shortName:"M TEST 1103-2",slug:"m-test-1103-2",testnet:!0},s8t={chain:"METAD",chainId:2122,explorers:[{name:"Metad Scan",url:"https://scan.metaplayer.one",standard:"EIP3091",icon:{url:"ipfs://QmZyxS9BfRGYWWDtvrV6qtthCYV4TwdjLoH2sF6MkiTYFf",width:1280,height:1280,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZyxS9BfRGYWWDtvrV6qtthCYV4TwdjLoH2sF6MkiTYFf",width:1280,height:1280,format:"png"},infoURL:"https://docs.metaplayer.one/",name:"Metaplayerone Mainnet",nativeCurrency:{name:"METAD",symbol:"METAD",decimals:18},networkId:2122,rpc:["https://2122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metaplayer.one/"],shortName:"Metad",slug:"metaplayerone",testnet:!1},o8t={chain:"MP1 Dubai-Testnet",chainId:2124,explorers:[{name:"MP1Scan",url:"https://dubai.mp1scan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.metaplayer.one/",name:"Metaplayerone Dubai Testnet",nativeCurrency:{name:"Metaunit",symbol:"MEU",decimals:18},networkId:2124,rpc:["https://2124.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-dubai.mp1network.com/"],shortName:"MEU",slip44:1,slug:"metaplayerone-dubai-testnet",testnet:!0},c8t={chain:"BIGSB Testnet",chainId:2136,explorers:[{name:"Polkadot.js",url:"https://polkadot.js.org/apps/?rpc=wss://test-market.bigsb.network#/explorer",standard:"none"}],faucets:[],infoURL:"https://bigshortbets.com/",name:"BigShortBets Testnet",nativeCurrency:{name:"Dolarz",symbol:"Dolarz",decimals:18},networkId:2136,rpc:["https://2136.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-market.bigsb.io","wss://test-market.bigsb.io"],shortName:"bigsb_testnet",slug:"bigshortbets-testnet",testnet:!0},d8t={chain:"BIGSB",chainId:2137,explorers:[],faucets:[],infoURL:"https://bigshortbets.com/",name:"BigShortBets",nativeCurrency:{name:"USD Coin",symbol:"USDC",decimals:18},networkId:2137,rpc:["https://2137.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://market.bigsb.io","wss://market.bigsb.io"],shortName:"bigsb",slug:"bigshortbets",testnet:!1},l8t={chain:"dfiometatest",chainId:2138,ens:{registry:"0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85"},explorers:[{name:"Quorum Explorer",url:"https://public-2138.defi-oracle.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmYrMRnjQJcNkYq9AvZ2FQ9kzYj9szzP4YDmyNA1ybd8xE",width:1e3,height:1043,format:"png"},infoURL:"https://defi-oracle.io/",name:"Defi Oracle Meta Testnet",nativeCurrency:{name:"testEther",symbol:"tETH",decimals:18},networkId:21,rpc:["https://2138.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.public-2138.defi-oracle.io","wss://rpc.public-2138.defi-oracle.io"],shortName:"dfio-meta-test",slip44:1,slug:"defi-oracle-meta-testnet",testnet:!0},u8t={chain:"Oneness",chainId:2140,explorers:[{name:"oneness-mainnet",url:"https://scan.onenesslabs.io",standard:"EIP3091"}],faucets:[],name:"Oneness Network",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:2140,rpc:["https://2140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.onenesslabs.io/"],shortName:"oneness",slug:"oneness-network",testnet:!1},p8t={chain:"Oneness-Testnet",chainId:2141,explorers:[{name:"oneness-testnet",url:"https://scan.testnet.onenesslabs.io",standard:"EIP3091"}],faucets:[],name:"Oneness TestNet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:2141,rpc:["https://2141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.onenesslabs.io/"],shortName:"oneness-testnet",slug:"oneness-testnet",testnet:!0},h8t={chain:"ETH",chainId:2151,explorers:[{name:"BOASCAN",url:"https://boascan.io",standard:"EIP3091",icon:{url:"ipfs://QmW3CT4SHmso5dRJdsjR8GL1qmt79HkdAebCn2uNaWXFYh",width:256,height:257,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3CT4SHmso5dRJdsjR8GL1qmt79HkdAebCn2uNaWXFYh",width:256,height:257,format:"png"},infoURL:"https://docs.bosagora.org",name:"BOSagora Mainnet",nativeCurrency:{name:"BOSAGORA",symbol:"BOA",decimals:18},networkId:2151,rpc:["https://2151.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bosagora.org","https://rpc.bosagora.org"],shortName:"boa",slug:"bosagora",testnet:!1},b8t={chain:"Findora",chainId:2152,explorers:[{name:"findorascan",url:"https://evm.findorascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://findora.org/",name:"Findora Mainnet",nativeCurrency:{name:"FRA",symbol:"FRA",decimals:18},networkId:2152,rpc:["https://2152.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.findora.org"],shortName:"fra",slug:"findora",testnet:!1},m8t={chain:"Testnet-anvil",chainId:2153,explorers:[{name:"findorascan",url:"https://testnet-anvil.evm.findorascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://findora.org/",name:"Findora Testnet",nativeCurrency:{name:"FRA",symbol:"FRA",decimals:18},networkId:2153,rpc:["https://2153.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://prod-testnet.prod.findora.org:8545/"],shortName:"findora-testnet",slip44:1,slug:"findora-testnet",testnet:!0},y8t={chain:"Testnet-forge",chainId:2154,explorers:[{name:"findorascan",url:"https://testnet-forge.evm.findorascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://findora.org/",name:"Findora Forge",nativeCurrency:{name:"FRA",symbol:"FRA",decimals:18},networkId:2154,rpc:["https://2154.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://prod-forge.prod.findora.org:8545/"],shortName:"findora-forge",slip44:1,slug:"findora-forge",testnet:!0},g8t={chain:"MSN",chainId:2199,explorers:[{name:"blockscout",url:"https://explorer.moonsama.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://multiverse.moonsama.com/faucet"],icon:{url:"ipfs://QmaQxfwpXYTomUd24PMx5tKjosupXcm99z1jL1XLq9LWBS",width:468,height:468,format:"png"},infoURL:"https://moonsama.com",name:"Moonsama Network",nativeCurrency:{name:"Sama Token",symbol:"SAMA",decimals:18},networkId:2199,rpc:["https://2199.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.moonsama.com","wss://rpc.moonsama.com/ws"],shortName:"msn",slip44:2199,slug:"moonsama-network",testnet:!1},v8t={chain:"ABN",chainId:2202,explorers:[{name:"Antofy Mainnet",url:"https://antofyscan.com",standard:"EIP3091"}],faucets:["https://faucet.antofy.io"],icon:{url:"ipfs://QmdTfku81ohnG9ECU1Xswmeumt678cBhwHWuFYZ7i1Qsto",width:400,height:400,format:"png"},infoURL:"https://antofy.io",name:"Antofy Mainnet",nativeCurrency:{name:"Antofy",symbol:"ABN",decimals:18},networkId:2202,rpc:["https://2202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.antofy.io"],shortName:"ABNm",slug:"antofy",testnet:!1},w8t={chain:"Bitcoin EVM",chainId:2203,explorers:[{name:"Explorer",url:"https://explorer.bitcoinevm.com",standard:"none",icon:{url:"ipfs://bafkreic4aq265oaf6yze7ba5okefqh6vnqudyrz6ovukvbnrlhet36itle",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreic4aq265oaf6yze7ba5okefqh6vnqudyrz6ovukvbnrlhet36itle",width:200,height:200,format:"png"},infoURL:"https://bitcoinevm.com",name:"Bitcoin EVM",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:2203,rpc:["https://2203.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.bitcoinevm.com"],shortName:"BTC",slug:"bitcoin-evm",testnet:!1},T8t={chain:"EVA",chainId:2213,explorers:[{name:"Evanesco Explorer",url:"https://explorer.evanesco.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZbmGYdfbMRrWJore3c7hyD6q7B5pXHJqTSNjbZZUK6V8",width:200,height:200,format:"png"},infoURL:"https://evanesco.org/",name:"Evanesco Mainnet",nativeCurrency:{name:"EVA",symbol:"EVA",decimals:18},networkId:2213,rpc:["https://2213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed4.evanesco.org:8546"],shortName:"evanesco",slug:"evanesco",testnet:!1},x8t={chain:"KAVA",chainId:2221,explorers:[{name:"Kava Testnet Explorer",url:"http://testnet.kavascan.com",standard:"EIP3091",icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"}}],faucets:["https://faucet.kava.io"],icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"},infoURL:"https://www.kava.io",name:"Kava Testnet",nativeCurrency:{name:"TKava",symbol:"TKAVA",decimals:18},networkId:2221,rpc:["https://2221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.testnet.kava.io","wss://wevm.testnet.kava.io","https://kava-testnet.drpc.org","wss://kava-testnet.drpc.org"],shortName:"tkava",slug:"kava-testnet",testnet:!0},E8t={chain:"KAVA",chainId:2222,explorers:[{name:"Kava EVM Explorer",url:"https://kavascan.com",standard:"EIP3091",icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"},infoURL:"https://www.kava.io",name:"Kava",nativeCurrency:{name:"Kava",symbol:"KAVA",decimals:18},networkId:2222,redFlags:[],rpc:["https://2222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kava-evm-rpc.publicnode.com","wss://kava-evm-rpc.publicnode.com","https://evm.kava.io","wss://wevm.kava.io","https://kava-rpc.gateway.pokt.network","https://evm.kava-rpc.com","wss://wevm.kava-rpc.com","https://rpc.ankr.com/kava_evm","https://kava.drpc.org","wss://kava.drpc.org"],shortName:"kava",slug:"kava",testnet:!1},_8t={chain:"VChain",chainId:2223,explorers:[{name:"VChain Scan",url:"https://scan.vcex.xyz",standard:"EIP3091"}],faucets:[],infoURL:"https://bo.vcex.xyz/",name:"VChain Mainnet",nativeCurrency:{name:"VNDT",symbol:"VNDT",decimals:18},networkId:2223,rpc:["https://2223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bc.vcex.xyz"],shortName:"VChain",slug:"vchain",testnet:!1},A8t={chain:"Krest",chainId:2241,explorers:[{name:"Polkadot.js",url:"https://polkadot.js.org/apps/?rpc=wss://wss-krest.peaq.network#/explorer",standard:"none"},{name:"Subscan",url:"https://krest.subscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreid732273ib5at7krjdl2t7lteljlepwd3tvifqge7mu7g6naxavhe",width:256,height:256,format:"png"},infoURL:"https://www.peaq.network",name:"Krest Network",nativeCurrency:{name:"Krest",symbol:"KRST",decimals:18},networkId:2241,rpc:["https://2241.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://erpc-krest.peaq.network","https://krest.unitedbloc.com"],shortName:"KRST",slug:"krest-network",testnet:!1},C8t={chain:"BOMB",chainId:2300,explorers:[{name:"bombscan",url:"https://bombscan.com",standard:"EIP3091",icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"},infoURL:"https://www.bombchain.com",name:"BOMB Chain",nativeCurrency:{name:"BOMB Token",symbol:"BOMB",decimals:18},networkId:2300,rpc:["https://2300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bombchain.com"],shortName:"bomb",slug:"bomb-chain",testnet:!1},I8t={chain:"ebro",chainId:2306,explorers:[],faucets:[],infoURL:"https://www.ebrochain.com",name:"Ebro Network",nativeCurrency:{name:"Ebro",symbol:"ebro",decimals:18},networkId:2306,rpc:["https://2306.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://greendinoswap.com"],shortName:"ebro",slug:"ebro-network",testnet:!1},k8t={chain:"Arevia",chainId:2309,explorers:[],faucets:[],name:"Arevia",nativeCurrency:{name:"Arev",symbol:"AR\xC9V",decimals:18},networkId:2309,rpc:[],shortName:"arevia",slug:"arevia",status:"incubating",testnet:!1},S8t={chain:"SOMA",chainId:2323,explorers:[{name:"SOMA Testnet Explorer",url:"https://testnet.somascan.io",standard:"none",icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"}}],faucets:["https://faucet.somanetwork.io"],icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"},infoURL:"https://somanetwork.io",name:"SOMA Network Testnet",nativeCurrency:{name:"SMA",symbol:"tSMA",decimals:18},networkId:2323,rpc:["https://2323.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-testnet-v1.somanetwork.io/","https://testnet-au-server-2.somanetwork.io","https://testnet-au-server-1.somanetwork.io","https://testnet-sg-server-1.somanetwork.io","https://testnet-sg-server-2.somanetwork.io"],shortName:"sma",slip44:1,slug:"soma-network-testnet",testnet:!0},R8t={chain:"mainnet",chainId:2330,explorers:[{name:"expedition",url:"http://expedition.altcoinchain.org",standard:"none",icon:{url:"ipfs://QmYwHmGC9CRVcKo1LSesqxU31SDj9vk2iQxcFjQArzhix4",width:720,height:720,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYwHmGC9CRVcKo1LSesqxU31SDj9vk2iQxcFjQArzhix4",width:720,height:720,format:"png"},infoURL:"https://altcoinchain.org",name:"Altcoinchain",nativeCurrency:{name:"Altcoin",symbol:"ALT",decimals:18},networkId:2330,rpc:["https://2330.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0.altcoinchain.org/rpc"],shortName:"alt",slug:"altcoinchain",status:"active",testnet:!1},M8t={chain:"RSS3",chainId:2331,explorers:[{name:"RSS3 VSL Sepolia Testnet Scan",url:"https://scan.testnet.rss3.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTE6hnMTQaGU8Fm7nQbeTqQ5Ha3kyLKHR6QTd59prP2mC",width:200,height:200,format:"svg"},infoURL:"https://rss3.io",name:"RSS3 VSL Sepolia Testnet",nativeCurrency:{name:"RSS3",symbol:"RSS3",decimals:18},networkId:2331,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://explorer.testnet.rss3.io/bridge"}]},rpc:["https://2331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.rss3.io"],shortName:"rss3-testnet",slug:"rss3-vsl-sepolia-testnet",testnet:!0},B8t={chain:"SOMA",chainId:2332,explorers:[{name:"SOMA Explorer Mainnet",url:"https://somascan.io",standard:"none",icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"}}],faucets:["https://airdrop.somanetwork.io"],icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"},infoURL:"https://somanetwork.io",name:"SOMA Network Mainnet",nativeCurrency:{name:"Soma Native Token",symbol:"SMA",decimals:18},networkId:2332,rpc:["https://2332.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-mainnet-v1.somanetwork.io/","https://id-mainnet.somanetwork.io","https://hk-mainnet.somanetwork.io","https://sg-mainnet.somanetwork.io"],shortName:"smam",slug:"soma-network",status:"incubating",testnet:!1},D8t={chain:"Atleta",chainId:2340,explorers:[{name:"Atleta Testnet Explorer",url:"https://polkadot-explorer.atleta.network/#/explorer",standard:"none",icon:{url:"ipfs://QmV2JVr4FCcb6aRiUoA3wS5erLoxtLBLonQ1Nvz8fNuEcR",width:128,height:128,format:"png"}}],faucets:["https://faucet.atleta.network"],icon:{url:"ipfs://QmV2JVr4FCcb6aRiUoA3wS5erLoxtLBLonQ1Nvz8fNuEcR",width:128,height:128,format:"png"},infoURL:"https://atleta.network",name:"Atleta Olympia",nativeCurrency:{name:"Atla",symbol:"ATLA",decimals:18},networkId:2340,rpc:["https://2340.rpc.thirdweb.com/${THIRDWEB_API_KEY}","wss://testnet-rpc.atleta.network:9944","https://testnet-rpc.atleta.network:9944"],shortName:"atla",slip44:1,slug:"atleta-olympia",testnet:!0},P8t={chain:"OMNIA",chainId:2342,explorers:[{name:"OmniaVerse Explorer",url:"https://scan.omniaverse.io",standard:"EIP3091"}],faucets:["https://www.omniaverse.io"],icon:{url:"ipfs://QmdNQMFxcjB9PAP1LZVqaQmyppV5QGTqXXmbBeQyaTUpMM",width:192,height:192,format:"png"},infoURL:"https://www.omniaverse.io",name:"Omnia Chain",nativeCurrency:{name:"Omnia",symbol:"OMNIA",decimals:18},networkId:2342,rpc:["https://2342.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.omniaverse.io"],shortName:"omnia",slug:"omnia-chain",testnet:!1},L8t={chain:"Silicon",chainId:2355,explorers:[],faucets:[],icon:{url:"ipfs://QmTEnk2fosqbY6HQW5vySrLGbopJfeni9ThZ6R9sVefbnq",width:800,height:800,format:"png"},name:"Silicon zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2355,parent:{type:"L2",chain:"eip155-1",bridges:[]},rpc:[],shortName:"silicon-zk",slug:"silicon-zkevm",status:"incubating",testnet:!1,title:"Silicon zkEVM Mainnet"},F8t={chain:"ETH",chainId:2357,explorers:[{name:"blockscout",url:"https://blockscout.sepolia-deprecated.kroma.network",standard:"EIP3091",icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"},infoURL:"https://kroma.network",name:"(deprecated) Kroma Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:2357,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://kroma.network/bridge"}]},rpc:["https://2357.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.sepolia-deprecated.kroma.network"],shortName:"deprecated-kroma-sepolia",slip44:1,slug:"deprecated-kroma-sepolia",status:"deprecated",testnet:!0,title:"(deprecated) Kroma Testnet Sepolia"},N8t={chain:"ETH",chainId:2358,explorers:[{name:"blockscout",url:"https://blockscout.sepolia.kroma.network",standard:"EIP3091",icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"},infoURL:"https://kroma.network",name:"Kroma Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:2358,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://kroma.network/bridge"}]},rpc:["https://2358.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.sepolia.kroma.network"],shortName:"kroma-sepolia",slip44:1,slug:"kroma-sepolia",testnet:!0,title:"Kroma Testnet Sepolia"},O8t={chain:"Nexis Network",chainId:2370,explorers:[{name:"Nexis Testnet Explorer",url:"https://evm-testnet.nexscan.io",standard:"EIP3091"}],faucets:["https://evm-faucet.nexis.network"],icon:{url:"ipfs://QmdJwWuMgbhoZhgFM4zWrZne6qs5ktcL1vBLKX12VGgALM",width:1892,height:1892,format:"png"},infoURL:"https://nexis.network/",name:"Nexis Network Testnet",nativeCurrency:{name:"Nexis",symbol:"NZT",decimals:18},networkId:2370,rpc:["https://2370.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-testnet.nexis.network"],shortName:"nzt",slug:"nexis-network-testnet",testnet:!0},U8t={chain:"BOMB",chainId:2399,explorers:[{name:"bombscan-testnet",url:"https://explorer.bombchain-testnet.ankr.com",standard:"EIP3091",icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"}}],faucets:["https://faucet.bombchain-testnet.ankr.com/"],icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"},infoURL:"https://www.bombmoney.com",name:"BOMB Chain Testnet",nativeCurrency:{name:"BOMB Token",symbol:"tBOMB",decimals:18},networkId:2399,rpc:["https://2399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bombchain-testnet.ankr.com/bas_full_rpc_1"],shortName:"bombt",slip44:1,slug:"bomb-chain-testnet",testnet:!0},H8t={chain:"TCG Verse",chainId:2400,explorers:[{name:"TCG Verse Explorer",url:"https://explorer.tcgverse.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreidg4wpewve5mdxrofneqblydkrjl3oevtgpdf3fk3z3vjqam6ocoe",width:350,height:350,format:"png"},infoURL:"https://tcgverse.xyz/",name:"TCG Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:2400,parent:{type:"L2",chain:"eip155-248"},rpc:["https://2400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tcgverse.xyz"],shortName:"TCGV",slug:"tcg-verse",testnet:!1},z8t={chain:"Karak",chainId:2410,explorers:[{name:"Karak Mainnet Explorer",url:"https://explorer.karak.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRvHRuhfQgDRyGgt6vCoHqjZW2Dir7siowYnBpR5BRSej",width:1080,height:1080,format:"png"},infoURL:"https://karak.network",name:"Karak Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2410,parent:{type:"L2",chain:"eip155-1"},rpc:["https://2410.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.karak.network"],shortName:"karak-mainnet",slug:"karak",testnet:!1},W8t={chain:"XODEX",chainId:2415,explorers:[{name:"XODEX Explorer",url:"https://explorer.xo-dex.com",standard:"EIP3091",icon:{url:"ipfs://QmXt49jPfHUmDF4n8TF7ks6txiPztx6qUHanWmHnCoEAhW",width:256,height:256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXt49jPfHUmDF4n8TF7ks6txiPztx6qUHanWmHnCoEAhW",width:256,height:256,format:"png"},infoURL:"https://xo-dex.com",name:"XODEX",nativeCurrency:{name:"XODEX Native Token",symbol:"XODEX",decimals:18},networkId:10,rpc:["https://2415.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.xo-dex.com/rpc","https://xo-dex.io"],shortName:"xodex",slug:"xodex",testnet:!1},q8t={chain:"KOL",chainId:2425,explorers:[{name:"King Of Legends Devnet Explorer",url:"https://devnet.kingscan.org",standard:"EIP3091",icon:{url:"ipfs://QmTZFXhYJboYE9fbaeje12iTF3QPLn6xgyFgrDVe2isDBH",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTZFXhYJboYE9fbaeje12iTF3QPLn6xgyFgrDVe2isDBH",width:400,height:400,format:"png"},infoURL:"https://kingoflegends.net/",name:"King Of Legends Devnet",nativeCurrency:{name:"King Of Legends",symbol:"KOL",decimals:18},networkId:2425,rpc:["https://2425.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-devnet.kinggamer.org/"],shortName:"kol",slip44:1,slug:"king-of-legends-devnet",testnet:!1,title:"King Of Legends Devnet"},j8t={chain:"Polygon",chainId:2442,explorers:[{name:"polygonscan",url:"https://cardona-zkevm.polygonscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"},infoURL:"https://polygon.technology/polygon-zkevm",name:"Polygon zkEVM Cardona Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2442,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge-ui.cardona.zkevm-rpc.com"}]},rpc:["https://2442.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cardona.zkevm-rpc.com"],shortName:"zkevm-testnet-cardona",slug:"polygon-zkevm-cardona-testnet",testnet:!0,title:"Polygon zkEVM Cardona Testnet"},G8t={chain:"HYBRID",chainId:2458,explorers:[{name:"Hybrid Chain Explorer Testnet",url:"https://testnet.hybridscan.ai",standard:"none",icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"}}],faucets:["https://faucet-testnet.hybridchain.ai"],icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"},infoURL:"https://hybridchain.ai",name:"Hybrid Chain Network Testnet",nativeCurrency:{name:"Hybrid Chain Native Token",symbol:"tHRC",decimals:18},networkId:2458,rpc:["https://2458.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.hybridchain.ai/"],shortName:"thrc",slip44:1,slug:"hybrid-chain-network-testnet",testnet:!0},K8t={chain:"HYBRID",chainId:2468,explorers:[{name:"Hybrid Chain Explorer Mainnet",url:"https://hybridscan.ai",standard:"none",icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"}}],faucets:["https://faucet-testnet.hybridchain.ai"],icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"},infoURL:"https://hybridchain.ai",name:"Hybrid Chain Network Mainnet",nativeCurrency:{name:"Hybrid Chain Native Token",symbol:"HRC",decimals:18},networkId:2468,rpc:["https://2468.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coredata-mainnet.hybridchain.ai/","https://rpc-mainnet.hybridchain.ai"],shortName:"hrc",slug:"hybrid-chain-network",testnet:!0},Q8t={chain:"u2u",chainId:2484,explorers:[{name:"U2U Explorer",url:"https://testnet.u2uscan.xyz",standard:"EIP3091",icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"}}],faucets:["https://faucet.uniultra.xyz"],icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"},infoURL:"https://uniultra.xyz",name:"Unicorn Ultra Nebulas Testnet",nativeCurrency:{name:"Unicorn Ultra Nebulas Testnet",symbol:"U2U",decimals:18},networkId:2484,rpc:["https://2484.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nebulas-testnet.uniultra.xyz"],shortName:"u2u_nebulas",slip44:1,slug:"unicorn-ultra-nebulas-testnet",testnet:!0},V8t={chain:"Karak",chainId:2511,explorers:[{name:"Karak Goerli Explorer",url:"https://goerli.scan.karak.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRvHRuhfQgDRyGgt6vCoHqjZW2Dir7siowYnBpR5BRSej",width:1080,height:1080,format:"png"},infoURL:"https://karak.network",name:"Karak Goerli",nativeCurrency:{name:"Karak",symbol:"KRK",decimals:18},networkId:2511,parent:{type:"L2",chain:"eip155-5"},rpc:["https://2511.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.node1.karak.network"],shortName:"karak-goerli",slug:"karak-goerli",status:"deprecated",testnet:!1},Y8t={chain:"FRAX",chainId:2522,explorers:[{name:"fraxscan",url:"https://holesky.fraxscan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmQLJk5G7zF8ZDxSxkRcpHqEqcifrJEhGmEKC6zwyPXWAw/fraxchain.png",width:512,height:512,format:"PNG"},infoURL:"https://testnet.frax.com",name:"Fraxtal Testnet",nativeCurrency:{name:"Frax Ether",symbol:"frxETH",decimals:18},networkId:2522,redFlags:[],rpc:["https://2522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.frax.com"],shortName:"fraxtal-testnet",slip44:1,slug:"fraxtal-testnet",status:"active",testnet:!0},$8t={chain:"inEVM",chainId:2525,explorers:[],faucets:[],icon:{url:"ipfs://QmU9KU1qgReJR7vyVxN5zwWB3nkhSs658ViArUjT7GCh4r",width:2e3,height:2e3,format:"png"},infoURL:"https://inevm.com",name:"inEVM Mainnet",nativeCurrency:{name:"Injective",symbol:"INJ",decimals:18},networkId:2525,rpc:["https://2525.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rpc.inevm.com/http"],shortName:"inevm",slug:"inevm",status:"active",testnet:!1},J8t={chain:"Kortho Chain",chainId:2559,explorers:[],faucets:[],infoURL:"https://www.kortho.io/",name:"Kortho Mainnet",nativeCurrency:{name:"KorthoChain",symbol:"KTO",decimals:11},networkId:2559,rpc:["https://2559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.kortho-chain.com"],shortName:"ktoc",slug:"kortho",testnet:!1},X8t={chain:"TPC",chainId:2569,explorers:[{name:"tpcscan",url:"https://tpcscan.com",standard:"EIP3091",icon:{url:"ipfs://QmQyTyJUnhD1dca35Vyj96pm3v3Xyw8xbG9m8HXHw3k2zR",width:578,height:701,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmQyTyJUnhD1dca35Vyj96pm3v3Xyw8xbG9m8HXHw3k2zR",width:578,height:701,format:"svg"},infoURL:"https://techpay.io/",name:"TechPay Mainnet",nativeCurrency:{name:"TechPay",symbol:"TPC",decimals:18},networkId:2569,rpc:["https://2569.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.techpay.io/"],shortName:"tpc",slug:"techpay",testnet:!1},Z8t={chain:"CRC",chainId:2606,explorers:[{name:"Lite Explorer",url:"https://ethereum-pocr.github.io/explorer/pocrnet",standard:"EIP3091",icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"},infoURL:"https://github.com/ethereum-pocr/pocrnet",name:"PoCRNet",nativeCurrency:{name:"Climate awaReness Coin",symbol:"CRC",decimals:18},networkId:2606,rpc:["https://2606.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pocrnet.westeurope.cloudapp.azure.com/http","wss://pocrnet.westeurope.cloudapp.azure.com/ws"],shortName:"pocrnet",slug:"pocrnet",status:"active",testnet:!1,title:"Proof of Climate awaReness mainnet"},eht={chain:"REDLC",chainId:2611,explorers:[{name:"REDLC Explorer",url:"https://redlightscan.finance",standard:"EIP3091"}],faucets:[],infoURL:"https://redlight.finance/",name:"Redlight Chain Mainnet",nativeCurrency:{name:"Redlight Coin",symbol:"REDLC",decimals:18},networkId:2611,rpc:["https://2611.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed2.redlightscan.finance"],shortName:"REDLC",slug:"redlight-chain",testnet:!1},tht={chain:"EZC",chainId:2612,explorers:[{name:"ezchain",url:"https://cchain-explorer.ezchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPKJbYCFjGmY9X2cA4b9YQjWYHQncmKnFtKyQh9rHkFTb",width:146,height:48,format:"png"},infoURL:"https://ezchain.com",name:"EZChain C-Chain Mainnet",nativeCurrency:{name:"EZChain",symbol:"EZC",decimals:18},networkId:2612,rpc:["https://2612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ezchain.com/ext/bc/C/rpc"],shortName:"EZChain",slug:"ezchain-c-chain",testnet:!1},nht={chain:"EZC",chainId:2613,explorers:[{name:"ezchain",url:"https://testnet-cchain-explorer.ezchain.com",standard:"EIP3091"}],faucets:["https://testnet-faucet.ezchain.com"],icon:{url:"ipfs://QmPKJbYCFjGmY9X2cA4b9YQjWYHQncmKnFtKyQh9rHkFTb",width:146,height:48,format:"png"},infoURL:"https://ezchain.com",name:"EZChain C-Chain Testnet",nativeCurrency:{name:"EZChain",symbol:"EZC",decimals:18},networkId:2613,rpc:["https://2613.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-api.ezchain.com/ext/bc/C/rpc"],shortName:"Fuji-EZChain",slip44:1,slug:"ezchain-c-chain-testnet",testnet:!0},aht={chain:"WBT",chainId:2625,explorers:[{name:"whitechain-testnet-explorer",url:"https://testnet.whitechain.io",standard:"EIP3091"}],faucets:["https://testnet.whitechain.io/faucet"],icon:{url:"ipfs://QmNeELax6vjkR9WZVmtggk8cam9xHVABZ4WvQyqkGCJ5qf",width:512,height:512,format:"png"},infoURL:"https://whitechain.io",name:"Whitechain Testnet",nativeCurrency:{name:"WhiteBIT Coin",symbol:"WBT",decimals:18},networkId:2625,rpc:["https://2625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.whitechain.io"],shortName:"twbt",slip44:1,slug:"whitechain-testnet",testnet:!0},rht={chain:"ETH",chainId:2662,explorers:[],faucets:[],icon:{url:"ipfs://QmTYgeN1E3GGXnMF2oa43v2ehX2bYqrHPrGQ9xbBMXy1we",width:1280,height:1280,format:"png"},infoURL:"https://apexlayer.xyz/",name:"APEX",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2662,parent:{type:"L2",chain:"eip155-1"},rpc:[],shortName:"apexmainnet",slug:"apex",status:"incubating",testnet:!1},fht={chain:"ETH",chainId:2710,explorers:[{name:"Morph Testnet Explorer",url:"https://explorer-testnet.morphl2.io",standard:"EIP3091"}],faucets:[],infoURL:"https://morphl2.io",name:"Morph Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2710,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge-testnet.morphl2.io"}]},rpc:["https://2710.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.morphl2.io"],shortName:"tmorph",slip44:1,slug:"morph-testnet",testnet:!0},iht={chain:"K-LAOS",chainId:2718,explorers:[{name:"blockscout",url:"https://blockscout.klaos.laosfoundation.io",standard:"EIP3091",icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"},infoURL:"https://www.laosfoundation.io/",name:"K-LAOS",nativeCurrency:{name:"KLAOS",symbol:"KLAOS",decimals:18},networkId:2718,rpc:["https://2718.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.klaos.laosfoundation.io","wss://rpc.klaos.laosfoundation.io"],shortName:"k-laos",slug:"k-laos",testnet:!1,title:"K-LAOS: LAOS on Kusama"},sht={chain:"XR Sepolia",chainId:2730,explorers:[{name:"XR Sepolia Explorer",url:"https://xr-sepolia-testnet.explorer.caldera.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmRdBsZF2sgWitedT5qAtBZwrYwY1xecHN9u5fgddqA1eL/xr-sepolia.png",width:300,height:300,format:"png"},infoURL:"https://xr-one.gitbook.io",name:"XR Sepolia",nativeCurrency:{name:"tXR",symbol:"tXR",decimals:18},networkId:2730,parent:{type:"L2",chain:"eip155-421614",bridges:[]},redFlags:[],rpc:["https://2730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xr-sepolia-testnet.rpc.caldera.xyz/infra-partner-http","https://xr-sepolia-testnet.rpc.caldera.xyz/http"],shortName:"xr-sepolia",slip44:60,slug:"xr-sepolia",status:"active",testnet:!0},oht={chain:"Elizabeth",chainId:2731,explorers:[{name:"Time Network Explorer",url:"https://testnet-scanner.timenetwork.io",standard:"none",icon:{url:"ipfs://bafkreidoudwo453gr3hoxpreleguga73rm55yl6vuedxrfmhknljppqbiu",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidoudwo453gr3hoxpreleguga73rm55yl6vuedxrfmhknljppqbiu",width:512,height:512,format:"png"},infoURL:"https://whitepaper.anttime.net/overview/anttime",name:"Elizabeth Testnet",nativeCurrency:{name:"TIME",symbol:"TIME",decimals:18},networkId:2731,rpc:["https://2731.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.timenetwork.io"],shortName:"TIME",slug:"elizabeth-testnet",testnet:!0},cht={chain:"ETH",chainId:2748,explorers:[{name:"Nanon Rollup Explorer",url:"https://explorer.nanon.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiduib2fygrwziqpy4yuqr6vvnd6elhahpigbcowcipjjhk6c3qiny",width:400,height:400,format:"png"},infoURL:"https://www.nanon.network",name:"Nanon",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2748,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.nanon.network"}]},rpc:["https://2748.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.nanon.network"],shortName:"Nanon",slip44:1,slug:"nanon",testnet:!1,title:"Nanon Rollup"},dht={chain:"ETH",chainId:2810,explorers:[{name:"Morph Holesky Testnet Explorer",url:"https://explorer-holesky.morphl2.io",standard:"EIP3091"}],faucets:[],infoURL:"https://morphl2.io",name:"Morph Holesky",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2810,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge-holesky.morphl2.io"}]},rpc:["https://2810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-quicknode-holesky.morphl2.io","wss://rpc-quicknode-holesky.morphl2.io","https://rpc-holesky.morphl2.io"],shortName:"hmorph",slip44:1,slug:"morph-holesky",testnet:!0,title:"Morph Holesky Testnet"},lht={chain:"Avalanche",chainId:2828,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan's Testnet 1",nativeCurrency:{name:"Cohan's Testnet 1 Token",symbol:"FQC",decimals:18},networkId:2828,redFlags:[],rpc:["https://2828.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/a6eec829-2c08-4264-b0d7-6d393997e9a6"],shortName:"Cohan's Testnet 1",slug:"cohan-s-testnet-1",testnet:!0},uht={chain:"Avalanche",chainId:2864,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0613I1",nativeCurrency:{name:"QI0613I1 Token",symbol:"NPQ",decimals:18},networkId:2864,redFlags:[],rpc:["https://2864.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0613I1",slug:"qi0613i1",testnet:!0},pht={chain:"ETH",chainId:2888,explorers:[{name:"Blockscout",url:"https://testnet.bobascan.com",standard:"none"}],faucets:[],features:[],infoURL:"https://boba.network",name:"Boba Network Goerli Testnet",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:2888,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},redFlags:[],rpc:["https://2888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.boba.network/","wss://wss.goerli.boba.network/"],shortName:"BobaGoerli",slip44:1,slug:"boba-network-goerli-testnet",status:"deprecated",testnet:!0},hht={chain:"ELUX",chainId:2907,explorers:[{name:"blockscout",url:"https://eluxscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQC7LzzFj8kL71a1MXRgn3TSeRrgF1tTuVEzvWx5cQjv1",width:114,height:132,format:"png"},infoURL:"https://eluxscan.com",name:"Elux Chain",nativeCurrency:{name:"Elux Chain",symbol:"ELUX",decimals:18},networkId:2907,rpc:["https://2907.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eluxscan.com"],shortName:"ELUX",slug:"elux-chain",testnet:!1},bht={chain:"2911",chainId:2911,explorers:[{name:"blockscout",url:"https://explorer.hychain.com",standard:"EIP3091",icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"},infoURL:"https://www.hychain.com",name:"HYCHAIN",nativeCurrency:{name:"TOPIA",symbol:"TOPIA",decimals:18},networkId:2911,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.hychain.com"}]},redFlags:[],rpc:["https://2911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hychain.com/http"],shortName:"hychain",slug:"hychain",testnet:!0},mht={chain:"XEN",chainId:2941,explorers:[{name:"Xenon testnet Explorer",url:"https://testnet.xenonchain.com",standard:"none"}],faucets:["https://xfaucet.xenonchain.com"],icon:{url:"ipfs://QmNSoxDnj6MV8mPJWiuzzLbATcbk5op11NTwMTdzcr272F",width:500,height:500,format:"png"},infoURL:"https://xenonchain.com",name:"Xenon Chain Testnet",nativeCurrency:{name:"Xenon Testnet",symbol:"tXEN",decimals:18},networkId:2941,rpc:["https://2941.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-chain.xenonchain.com/","https://testnet-dev.xenonchain.com/"],shortName:"xenon",slip44:1,slug:"xenon-chain-testnet",testnet:!0},yht={chain:"BTY",chainId:2999,explorers:[{name:"BitYuan Block Chain Explorer",url:"https://mainnet.bityuan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmUmJVof2m5e4HUXb3GmijWUFsLUNhrQiwwQG3CqcXEtHt",width:91,height:24,format:"png"},infoURL:"https://www.bityuan.com",name:"BitYuan Mainnet",nativeCurrency:{name:"BTY",symbol:"BTY",decimals:18},networkId:2999,rpc:["https://2999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bityuan.com/eth"],shortName:"bty",slug:"bityuan",testnet:!1},ght={chain:"CENNZnet",chainId:3e3,explorers:[],faucets:["https://app-faucet.centrality.me"],icon:{url:"ipfs://QmWhNm7tTi6SYbiumULDRk956hxgqaZSX77vcxBNn8fvnw",width:112,height:112,format:"svg"},infoURL:"https://cennz.net",name:"CENNZnet Rata",nativeCurrency:{name:"CPAY",symbol:"CPAY",decimals:18},networkId:3e3,rpc:[],shortName:"cennz-r",slug:"cennznet-rata",testnet:!1},vht={chain:"CENNZnet",chainId:3001,explorers:[{name:"UNcover",url:"https://www.uncoverexplorer.com/?network=Nikau",standard:"none"}],faucets:["https://app-faucet.centrality.me"],icon:{url:"ipfs://QmWhNm7tTi6SYbiumULDRk956hxgqaZSX77vcxBNn8fvnw",width:112,height:112,format:"svg"},infoURL:"https://cennz.net",name:"CENNZnet Nikau",nativeCurrency:{name:"CPAY",symbol:"CPAY",decimals:18},networkId:3001,rpc:["https://3001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nikau.centrality.me/public"],shortName:"cennz-n",slug:"cennznet-nikau",testnet:!1},wht={chain:"CAU",chainId:3003,explorers:[{name:"canxium explorer",url:"https://explorer.canxium.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXHSbtVNCJVfe2CvRH7njdyf2SrX5u5bNTfvhqjLeFN2A",width:938,height:938,format:"png"},infoURL:"https://canxium.org",name:"Canxium Mainnet",nativeCurrency:{name:"Canxium",symbol:"CAU",decimals:18},networkId:3003,rpc:["https://3003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.canxium.org"],shortName:"cau",slug:"canxium",testnet:!1},Tht={chain:"3ULL",chainId:3011,explorers:[{name:"PLAYA3ULL GAMES Explorer",url:"https://3011.routescan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreib62bv2d65d7nidojgpkgatrt7smee2l4ov6i6ozqhpfaqsonxku4",width:512,height:443,format:"png"}}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreib62bv2d65d7nidojgpkgatrt7smee2l4ov6i6ozqhpfaqsonxku4",width:512,height:443,format:"png"},infoURL:"https://playa3ull.games",name:"PLAYA3ULL GAMES",nativeCurrency:{name:"3ULL",symbol:"3ULL",decimals:18},networkId:3011,rpc:["https://3011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.mainnet.playa3ull.games"],shortName:"3ULL",slug:"playa3ull-games",testnet:!1},xht={chain:"Avalanche",chainId:3026,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405064 NO INTEROP PRECOMPILE",nativeCurrency:{name:"QIM2405064 NO INTEROP PRECOMPILE Token",symbol:"BLY",decimals:18},networkId:3026,redFlags:[],rpc:["https://3026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405064 NO INTEROP PRECOMPILE",slug:"qim2405064-no-interop-precompile",testnet:!0},Eht={chain:"ORL",chainId:3031,explorers:[{name:"Orlando (ORL) Explorer",url:"https://orlscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNsuuBBTHErnuFDcdyzaY8CKoVJtobsLJx2WQjaPjcp7g",width:512,height:528,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNsuuBBTHErnuFDcdyzaY8CKoVJtobsLJx2WQjaPjcp7g",width:512,height:528,format:"png"},infoURL:"https://orlchain.com",name:"Orlando Chain",nativeCurrency:{name:"Orlando",symbol:"ORL",decimals:18},networkId:3031,rpc:["https://3031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.orlchain.com"],shortName:"ORL",slug:"orlando-chain",testnet:!0},_ht={chain:"REBUS",chainId:3033,explorers:[{name:"Rebus EVM Explorer (Blockscout)",url:"https://evm.testnet.rebus.money",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}},{name:"Rebus Cosmos Explorer (ping.pub)",url:"https://testnet.rebus.money/rebustestnet",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"},infoURL:"https://www.rebuschain.com",name:"Rebus Testnet",nativeCurrency:{name:"Rebus",symbol:"REBUS",decimals:18},networkId:3033,rpc:["https://3033.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rebus.money/rpc"],shortName:"rebus-testnet",slug:"rebus-testnet",testnet:!0,title:"Rebuschain Testnet"},Aht={chain:"Avalanche",chainId:3036,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"QED",decimals:18},networkId:3036,redFlags:[],rpc:["https://3036.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet",testnet:!0},Cht={chain:"BFC",chainId:3068,explorers:[{name:"explorer-thebifrost",url:"https://explorer.mainnet.bifrostnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYxniqbiFD7nXBNjN8boUhoXYEAW23YquArD2Rnkq8WHS",width:480,height:480,format:"png"},infoURL:"https://bifrostnetwork.com",name:"Bifrost Mainnet",nativeCurrency:{name:"Bifrost",symbol:"BFC",decimals:18},networkId:3068,rpc:["https://3068.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-01.mainnet.bifrostnetwork.com/rpc","https://public-02.mainnet.bifrostnetwork.com/rpc"],shortName:"bfc",slug:"bifrost",testnet:!1,title:"Bifrost Network Mainnet"},Iht={chain:"Avalanche",chainId:3070,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9054",nativeCurrency:{name:"QaUser9054 Token",symbol:"QFE",decimals:18},networkId:3070,redFlags:[],rpc:["https://3070.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9054",slug:"qauser9054",testnet:!0},kht={chain:"MOVE",chainId:3073,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:3073,rpc:[],shortName:"move",slug:"movement-evm",status:"incubating",testnet:!1},Sht={chain:"Avalanche",chainId:3084,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"XL Network Testnet",nativeCurrency:{name:"XL Network Testnet Token",symbol:"XLN",decimals:18},networkId:3084,redFlags:[],rpc:["https://3084.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xlnetworkt/testnet/rpc"],shortName:"XL Network Testnet",slug:"xl-network-testnet",testnet:!0},Rht={chain:"EVMCC",chainId:3100,explorers:[],faucets:[],infoURL:"https://immu3.io",name:"Immu3 EVM",nativeCurrency:{name:"IMMU",symbol:"IMMU",decimals:18},networkId:3100,rpc:["https://3100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-flashbox-2800-rpc.a.stagenet.tanssi.network","wss://fraa-flashbox-2800-rpc.a.stagenet.tanssi.network"],shortName:"Immu3",slug:"immu3-evm",testnet:!1},Mht={chain:"VFIEVMCC",chainId:3102,explorers:[],faucets:[],infoURL:"https://vulture.finance",name:"Vulture EVM Beta",nativeCurrency:{name:"VFI",symbol:"VFI",decimals:18},networkId:3102,rpc:["https://3102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3050-rpc.a.dancebox.tanssi.network","wss://fraa-dancebox-3050-rpc.a.dancebox.tanssi.network"],shortName:"VFI",slug:"vulture-evm-beta",testnet:!1},Bht={chain:"SatoshiVM",chainId:3109,explorers:[],faucets:[],icon:{url:"ipfs://QmdXnQw9YwzEBZnciSe42MMwnH1SqhfY3FcVbseyM4k7Th",width:940,height:941,format:"png"},infoURL:"https://www.satoshivm.io/",name:"SatoshiVM Alpha Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:3109,rpc:["https://3109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-rpc-node-http.svmscan.io"],shortName:"SAVM",slug:"satoshivm-alpha",testnet:!1},Dht={chain:"SatoshiVM",chainId:3110,explorers:[],faucets:[],icon:{url:"ipfs://QmdXnQw9YwzEBZnciSe42MMwnH1SqhfY3FcVbseyM4k7Th",width:940,height:941,format:"png"},infoURL:"https://www.satoshivm.io/",name:"SatoshiVM Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:3110,rpc:["https://3110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc-node-http.svmscan.io"],shortName:"tSAVM",slug:"satoshivm-testnet",testnet:!0},Pht={chain:"FIL",chainId:3141,explorers:[],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Hyperspace testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:3141,rpc:[],shortName:"filecoin-hyperspace",slip44:1,slug:"filecoin-hyperspace-testnet",status:"deprecated",testnet:!0},Lht={chain:"DUBX",chainId:3269,explorers:[],faucets:[],infoURL:"https://arabianchain.org",name:"Dubxcoin network",nativeCurrency:{name:"Dubxcoin mainnet",symbol:"DUBX",decimals:18},networkId:3269,rpc:["https://3269.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcmain.arabianchain.org"],shortName:"dubx",slug:"dubxcoin-network",testnet:!1},Fht={chain:"TESTDUBX",chainId:3270,explorers:[],faucets:["https://faucet.arabianchain.org/"],infoURL:"https://arabianchain.org",name:"Dubxcoin testnet",nativeCurrency:{name:"Dubxcoin testnet",symbol:"TDUBX",decimals:18},networkId:3270,rpc:["https://3270.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctestnet.arabianchain.org"],shortName:"testdubx",slip44:1,slug:"dubxcoin-testnet",testnet:!0},Nht={chain:"Debounce Network",chainId:3306,explorers:[{name:"Debounce Devnet Explorer",url:"https://explorer.debounce.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeib5q4hez37s7b2fx4hqt2q4ji2tuudxjhfdgnp6q3d5mqm6wsxdfq",width:256,height:256,format:"png"},infoURL:"https://debounce.network",name:"Debounce Subnet Testnet",nativeCurrency:{name:"Debounce Network",symbol:"DB",decimals:18},networkId:3306,rpc:["https://3306.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dev-rpc.debounce.network"],shortName:"debounce-devnet",slip44:1,slug:"debounce-subnet-testnet",testnet:!0},Oht={chain:"Beach",chainId:3331,explorers:[],faucets:["https://faucet.zcore.cash"],icon:{url:"ipfs://QmQnXu13ym8W1VA3QxocaNVXGAuEPmamSCkS7bBscVk1f4",width:1050,height:1050,format:"png"},infoURL:"https://zcore.cash",name:"ZCore Testnet",nativeCurrency:{name:"ZCore",symbol:"ZCR",decimals:18},networkId:3331,rpc:["https://3331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.zcore.cash"],shortName:"zcrbeach",slip44:1,slug:"zcore-testnet",testnet:!0},Uht={chain:"EthStorage",chainId:3333,explorers:[],faucets:[],infoURL:"https://ethstorage.io/",name:"EthStorage Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3333,rpc:["https://3333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.ethstorage.io:9540"],shortName:"es-t",slip44:1,slug:"ethstorage-testnet",testnet:!0},Hht={chain:"Web3Q",chainId:3334,explorers:[{name:"w3q-galileo",url:"https://explorer.galileo.web3q.io",standard:"EIP3091"}],faucets:[],infoURL:"https://galileo.web3q.io/home.w3q/",name:"Web3Q Galileo",nativeCurrency:{name:"Web3Q",symbol:"W3Q",decimals:18},networkId:3334,rpc:["https://3334.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://galileo.web3q.io:8545"],shortName:"w3q-g",slug:"web3q-galileo",testnet:!1},zht={chain:"EthStorage",chainId:3335,explorers:[],faucets:[],infoURL:"https://ethstorage.io/",name:"EthStorage Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3335,rpc:["https://3335.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://mainnet.ethstorage.io:9540"],shortName:"es-m",slip44:1,slug:"ethstorage",testnet:!1},Wht={chain:"PRB",chainId:3400,explorers:[{name:"Paribu Net Explorer",url:"https://explorer.paribu.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVgc77jYo2zrxQjhYwT4KzvSrSZ1DBJraJVX57xAvP8MD",width:2362,height:2362,format:"png"},infoURL:"https://net.paribu.com",name:"Paribu Net Mainnet",nativeCurrency:{name:"PRB",symbol:"PRB",decimals:18},networkId:3400,rpc:["https://3400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.paribu.network"],shortName:"prb",slug:"paribu-net",testnet:!1},qht={chain:"EVO",chainId:3424,explorers:[{name:"Evolve Mainnet Explorer",url:"https://evoexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVxtpYYzc5214CB7BgsMC4mRNRHCD8fpbNMzZguBWyRwa",width:600,height:600,format:"png"},infoURL:"https://evolveblockchain.io",name:"EVOLVE Mainnet",nativeCurrency:{name:"Evolve",symbol:"EVO",decimals:18},networkId:3424,rpc:["https://3424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.evolveblockchain.io"],shortName:"EVOm",slug:"evolve",testnet:!1},jht={chain:"SCAI",chainId:3434,explorers:[{name:"SecureChain",url:"https://testnet.securechain.ai",standard:"EIP3091"}],faucets:["https://faucet.securechain.ai"],icon:{url:"ipfs://Qme2Z8VFYjhHGfLQPBnfseNpEdRfmTDy7VXqrdH4AHETJf",width:150,height:150,format:"png"},infoURL:"https://securechain.ai",name:"SecureChain Testnet",nativeCurrency:{name:"SCAI",symbol:"SCAI",decimals:18},networkId:3434,rpc:["https://3434.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.securechain.ai"],shortName:"SCAIt",slip44:1,slug:"securechain-testnet",testnet:!0},Ght={chain:"Avalanche",chainId:3454,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Masa",nativeCurrency:{name:"Masa Token",symbol:"MASA",decimals:18},networkId:3454,redFlags:[],rpc:["https://3454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/masa/mainnet/rpc"],shortName:"Masa",slug:"masa",testnet:!1},Kht={chain:"PRB",chainId:3500,explorers:[{name:"Paribu Net Testnet Explorer",url:"https://testnet.paribuscan.com",standard:"EIP3091"}],faucets:["https://faucet.paribuscan.com"],icon:{url:"ipfs://QmVgc77jYo2zrxQjhYwT4KzvSrSZ1DBJraJVX57xAvP8MD",width:2362,height:2362,format:"png"},infoURL:"https://net.paribu.com",name:"Paribu Net Testnet",nativeCurrency:{name:"PRB",symbol:"PRB",decimals:18},networkId:3500,rpc:["https://3500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.paribuscan.com"],shortName:"prbtestnet",slip44:1,slug:"paribu-net-testnet",testnet:!0},Qht={chain:"JFIN",chainId:3501,explorers:[{name:"JFIN Chain Explorer",url:"https://exp.jfinchain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://jfinchain.com",name:"JFIN Chain",nativeCurrency:{name:"JFIN Coin",symbol:"JFIN",decimals:18},networkId:3501,rpc:["https://3501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.jfinchain.com"],shortName:"JFIN",slug:"jfin-chain",testnet:!1},Vht={chain:"PandoProject",chainId:3601,explorers:[{name:"Pando Mainnet Explorer",url:"https://explorer.pandoproject.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNduBtT5BNGDw7DjRwDvaZBb6gjxf46WD7BYhn4gauGc9",width:1e3,height:1628,format:"png"},infoURL:"https://www.pandoproject.org/",name:"PandoProject Mainnet",nativeCurrency:{name:"pando-token",symbol:"PTX",decimals:18},networkId:3601,rpc:["https://3601.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api.pandoproject.org/rpc"],shortName:"pando-mainnet",slug:"pandoproject",testnet:!1},Yht={chain:"PandoProject",chainId:3602,explorers:[{name:"Pando Testnet Explorer",url:"https://testnet.explorer.pandoproject.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNduBtT5BNGDw7DjRwDvaZBb6gjxf46WD7BYhn4gauGc9",width:1e3,height:1628,format:"png"},infoURL:"https://www.pandoproject.org/",name:"PandoProject Testnet",nativeCurrency:{name:"pando-token",symbol:"PTX",decimals:18},networkId:3602,rpc:["https://3602.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.ethrpc.pandoproject.org/rpc"],shortName:"pando-testnet",slip44:1,slug:"pandoproject-testnet",testnet:!0},$ht={chain:"TYCON",chainId:3630,explorers:[],faucets:[],name:"Tycooncoin",nativeCurrency:{name:"Tycooncoin",symbol:"TYCO",decimals:18},networkId:3630,rpc:["https://3630.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tycoscan.com"],shortName:"TYCON",slug:"tycooncoin",testnet:!1},Jht={chain:"BOTANIX",chainId:3636,explorers:[{name:"3xpl",url:"https://3xpl.com/botanix",standard:"EIP3091"},{name:"Blockscout",url:"https://blockscout.botanixlabs.dev",standard:"EIP3091"}],faucets:["https://faucet.botanixlabs.dev"],icon:{url:"ipfs://QmVE5s2pXiqdMnAcxhAmWkZYhpFB5CysypeLyPKzT4rGYe",width:512,height:512,format:"png"},infoURL:"https://botanixlabs.xyz",name:"Botanix Testnet",nativeCurrency:{name:"Botanix",symbol:"BTC",decimals:18},networkId:3636,rpc:["https://3636.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.botanixlabs.dev"],shortName:"BTNX",slip44:1,slug:"botanix-testnet",testnet:!0},Xht={chain:"BTC",chainId:3637,explorers:[{name:"Botanix",url:"https://btxtestchain.com",standard:"EIP3091"}],faucets:["https://faucet.btxtestchain.com"],icon:{url:"ipfs://QmVE5s2pXiqdMnAcxhAmWkZYhpFB5CysypeLyPKzT4rGYe",width:512,height:512,format:"png"},infoURL:"https://btxtestchain.com",name:"Botanix Mainnet",nativeCurrency:{name:"Botanix",symbol:"BTC",decimals:18},networkId:3637,rpc:["https://3637.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.btxtestchain.com"],shortName:"BTCm",slug:"botanix",testnet:!0},Zht={chain:"iChain",chainId:3639,explorers:[{name:"iChainscan",url:"https://ichainscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://islamicoin.finance",name:"iChain Network",nativeCurrency:{name:"ISLAMICOIN",symbol:"ISLAMI",decimals:18},networkId:3639,rpc:["https://3639.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ichainscan.com"],shortName:"ISLAMI",slug:"ichain-network",testnet:!1},e3t={chain:"Jouleverse",chainId:3666,explorers:[{name:"jscan",url:"https://jscan.jnsdao.com",standard:"EIP3091"}],faucets:[],infoURL:"https://jnsdao.com",name:"Jouleverse Mainnet",nativeCurrency:{name:"J",symbol:"J",decimals:18},networkId:3666,rpc:["https://3666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.jnsdao.com:8503"],shortName:"jouleverse",slug:"jouleverse",testnet:!1},t3t={chain:"BTX",chainId:3690,explorers:[{name:"bittexscan",url:"https://bittexscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://bittexscan.com",name:"Bittex Mainnet",nativeCurrency:{name:"Bittex",symbol:"BTX",decimals:18},networkId:3690,rpc:["https://3690.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.bittexscan.info","https://rpc2.bittexscan.info"],shortName:"btx",slug:"bittex",testnet:!1},n3t={chain:"EMPIRE",chainId:3693,explorers:[{name:"Empire Explorer",url:"https://explorer.empirenetwork.io",standard:"none"}],faucets:[],infoURL:"https://www.empirenetwork.io/",name:"Empire Network",nativeCurrency:{name:"Empire",symbol:"EMPIRE",decimals:18},networkId:3693,rpc:["https://3693.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.empirenetwork.io"],shortName:"empire",slug:"empire-network",testnet:!1},a3t={chain:"SPC",chainId:3698,explorers:[{name:"SenjePowers",url:"https://testnet.senjepowersscan.com",standard:"EIP3091"}],faucets:["https://faucet.senjepowersscan.com"],icon:{url:"ipfs://QmcpyTj4hUyHJZ2VmSdkXFpPpRcNKRP1VxMs7Cp1anymNy",width:504,height:495,format:"png"},infoURL:"https://senjepowersscan.com",name:"SenjePowers Testnet",nativeCurrency:{name:"SenjePowers",symbol:"SPC",decimals:18},networkId:3698,rpc:["https://3698.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.senjepowersscan.com"],shortName:"SPCt",slip44:1,slug:"senjepowers-testnet",testnet:!0},r3t={chain:"SPC",chainId:3699,explorers:[{name:"SenjePowers",url:"https://senjepowersscan.com",standard:"EIP3091"}],faucets:["https://faucet.senjepowersscan.com"],icon:{url:"ipfs://QmcpyTj4hUyHJZ2VmSdkXFpPpRcNKRP1VxMs7Cp1anymNy",width:504,height:495,format:"png"},infoURL:"https://senjepowersscan.com",name:"SenjePowers Mainnet",nativeCurrency:{name:"SenjePowers",symbol:"SPC",decimals:18},networkId:3699,rpc:["https://3699.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.senjepowersscan.com"],shortName:"SPCm",slug:"senjepowers",testnet:!1},f3t={chain:"XPLATest",chainId:3701,explorers:[{name:"XPLA Explorer",url:"https://explorer.xpla.io",standard:"none"}],faucets:["https://faucet.xpla.io"],icon:{url:"ipfs://Qmf4GoxfpeA5VGqu7KP5eyv1WKaCpNDbvMxq1MjQBwFWxq",width:512,height:512,format:"png"},infoURL:"https://xpla.io",name:"Xpla Testnet",nativeCurrency:{name:"XPLA",symbol:"XPLA",decimals:18},networkId:3701,rpc:["https://3701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dimension-rpc.xpla.dev"],shortName:"xplatest",slip44:1,slug:"xpla-testnet-xplatest",status:"deprecated",testnet:!0},i3t={chain:"Crossbell",chainId:3737,explorers:[{name:"Crossbell Explorer",url:"https://scan.crossbell.io",standard:"EIP3091"}],faucets:["https://faucet.crossbell.io"],icon:{url:"ipfs://QmS8zEetTb6pwdNpVjv5bz55BXiSMGP9BjTJmNcjcUT91t",width:408,height:408,format:"svg"},infoURL:"https://crossbell.io",name:"Crossbell",nativeCurrency:{name:"Crossbell Token",symbol:"CSB",decimals:18},networkId:3737,rpc:["https://3737.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.crossbell.io"],shortName:"csb",slug:"crossbell",testnet:!1},s3t={chain:"ETH",chainId:3776,explorers:[{name:"Blockscout Astar zkEVM explorer",url:"https://astar-zkevm.explorer.startale.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmRySLe3su59dE5x5JPm2b1GeZfz6DR9qUzcbp3rt4SD3A",width:300,height:300,format:"png"},infoURL:"https://astar.network",name:"Astar zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3776,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.gelato.network/bridge/astar-zkevm"}]},redFlags:[],rpc:["https://3776.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.startale.com/astar-zkevm"],shortName:"astarzk",slug:"astar-zkevm",testnet:!1,title:"Astar zkEVM Mainnet"},o3t={chain:"ALV",chainId:3797,explorers:[{name:"AlveyScan",url:"https://alveyscan.com",standard:"EIP3091",icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"},infoURL:"https://alveychain.com/",name:"AlveyChain Mainnet",nativeCurrency:{name:"AlveyCoin",symbol:"ALV",decimals:18},networkId:3797,rpc:["https://3797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://elves-core1.alvey.io","https://elves-core2.alvey.io","https://elves-core3.alvey.io"],shortName:"alv",slug:"alveychain",testnet:!1},c3t={chain:"Tangle Testnet",chainId:3799,explorers:[{name:"ttntscan",url:"https://testnet-explorer.tangle.tools",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://faucet.tangle.tools"],icon:{url:"ipfs://QmbxMNBTeQgch8t9GpWdLiS2R3wPYCzVRaX5kCQ4o5QU3w",width:1600,height:1600,format:"png"},infoURL:"https://docs.tangle.tools",name:"Tangle Testnet",nativeCurrency:{name:"Testnet Tangle Network Token",symbol:"tTNT",decimals:18},networkId:3799,rpc:["https://3799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.tangle.tools","https://testnet-rpc-archive.tangle.tools","wss://testnet-rpc.tangle.tools","wss://testnet-rpc-archive.tangle.tools"],shortName:"tTangle",slug:"tangle-testnet",testnet:!0},d3t={chain:"3839",chainId:3839,explorers:[{name:"traderlands explorer",url:"https://sepolia.arbiscan.io/",standard:"standard",icon:{url:"ipfs://QmRQVgjLcoWAVTocuYegwumz8J8b2F3Le2WnQhwffRmWcg/traderlands%20logo.png",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmRQVgjLcoWAVTocuYegwumz8J8b2F3Le2WnQhwffRmWcg/traderlands%20logo.png",width:512,height:512,format:"png"},infoURL:"https://sepolia.arbiscan.io/",name:"traderlands-sepolia",nativeCurrency:{name:"Traderlands",symbol:"TRADE",decimals:18},networkId:3839,redFlags:[],rpc:["https://3839.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://traderlands-sepolia.rpc.caldera.xyz/http"],shortName:"Tradetest",slug:"traderlands-sepolia",testnet:!0},l3t={chain:"Firechain",chainId:3885,explorers:[],faucets:[],infoURL:"https://docs.thefirechain.com/",name:"Firechain zkEVM Ghostrider",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3885,rpc:["https://3885.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-zkevm-ghostrider.thefirechain.com"],shortName:"firechain-zkEVM-testnet",slug:"firechain-zkevm-ghostrider",testnet:!0,title:"Firechain zkEVM Testnet"},u3t={chain:"KLC",chainId:3888,explorers:[{name:"KalyScan",url:"https://kalyscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUaXcPewLuQtY5a7xPTzJyVdjkH487VfV7gSR8UXrbxQ3",width:512,height:512,format:"png"},infoURL:"https://kalychain.io",name:"KalyChain Mainnet",nativeCurrency:{name:"KalyCoin",symbol:"KLC",decimals:18},networkId:3888,rpc:["https://3888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kalychain.io/rpc"],shortName:"kalymainnet",slug:"kalychain",testnet:!1},p3t={chain:"KLC",chainId:3889,explorers:[{name:"KalyScan",url:"https://testnet.kalyscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUaXcPewLuQtY5a7xPTzJyVdjkH487VfV7gSR8UXrbxQ3",width:512,height:512,format:"png"},infoURL:"https://kalychain.io",name:"KalyChain Testnet",nativeCurrency:{name:"KalyCoin",symbol:"KLC",decimals:18},networkId:3889,rpc:["https://3889.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetrpc.kalychain.io/rpc"],shortName:"kalytestnet",slip44:1,slug:"kalychain-testnet",testnet:!0},h3t={chain:"DRAC",chainId:3912,explorers:[{name:"DRAC_Network Scan",url:"https://www.dracscan.io",standard:"EIP3091"}],faucets:["https://www.dracscan.io/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://drac.io/",name:"DRAC Network",nativeCurrency:{name:"DRAC",symbol:"DRAC",decimals:18},networkId:3912,rpc:["https://3912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.dracscan.com/rpc"],shortName:"drac",slug:"drac-network",testnet:!1},b3t={chain:"DOS",chainId:3939,explorers:[{name:"DOScan-Test",url:"https://test.doscan.io",standard:"EIP3091",icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"},infoURL:"http://doschain.io/",name:"DOS Tesnet",nativeCurrency:{name:"DOS",symbol:"DOS",decimals:18},networkId:3939,rpc:["https://3939.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.doschain.com"],shortName:"dost",slip44:1,slug:"dos-tesnet",testnet:!0},m3t={chain:"DYNO",chainId:3966,explorers:[{name:"DYNO Explorer",url:"https://dynoscan.io",standard:"EIP3091"}],faucets:["https://faucet.dynoscan.io"],infoURL:"https://dynoprotocol.com",name:"DYNO Mainnet",nativeCurrency:{name:"DYNO Token",symbol:"DYNO",decimals:18},networkId:3966,rpc:["https://3966.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.dynoprotocol.com"],shortName:"dyno",slug:"dyno",testnet:!1},y3t={chain:"DYNO",chainId:3967,explorers:[{name:"DYNO Explorer",url:"https://testnet.dynoscan.io",standard:"EIP3091"}],faucets:["https://faucet.dynoscan.io"],infoURL:"https://dynoprotocol.com",name:"DYNO Testnet",nativeCurrency:{name:"DYNO Token",symbol:"tDYNO",decimals:18},networkId:3967,rpc:["https://3967.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tapi.dynoprotocol.com"],shortName:"tdyno",slip44:1,slug:"dyno-testnet",testnet:!0},g3t={chain:"ETH",chainId:3993,explorers:[{name:"blockscout",url:"https://exp-testnet.apexlayer.xyz",standard:"EIP3091"}],faucets:["https://sepoliafaucet.com/"],icon:{url:"ipfs://qmxhs7fvjanzwm14vjpbnmklre32gsiy9chsarrnbtfa1n",width:1280,height:1280,format:"png"},infoURL:"https://docs.apexlayer.xyz/",name:"APEX Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:3993,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://apexlayer.xyz/bridge"}]},rpc:["https://3993.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.apexlayer.xyz"],shortName:"apexsep",slip44:1,slug:"apex-testnet",testnet:!0},v3t={chain:"YCC",chainId:3999,explorers:[{name:"YuanChain Explorer",url:"https://mainnet.yuan.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdbPhiB5W2gbHZGkYsN7i2VTKKP9casmAN2hRnpDaL9W4",width:96,height:96,format:"png"},infoURL:"https://www.yuan.org",name:"YuanChain Mainnet",nativeCurrency:{name:"YCC",symbol:"YCC",decimals:18},networkId:3999,rpc:["https://3999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.yuan.org/eth"],shortName:"ycc",slug:"yuanchain",testnet:!1},w3t={chain:"OZONE",chainId:4e3,explorers:[{name:"OZONE Scan",url:"https://ozonescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbM4weV8Bk6c9yNhosYntkVw39SNZtCHYGgWyXTxkevZ8",width:1600,height:1600,format:"png"},infoURL:"https://ozonechain.io",name:"Ozone Chain Mainnet",nativeCurrency:{name:"OZONE",symbol:"OZO",decimals:18},networkId:4e3,rpc:["https://4000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.ozonechain.io"],shortName:"ozo",slug:"ozone-chain",testnet:!1},T3t={chain:"PERIUM",chainId:4001,explorers:[{name:"Peperium Chain Explorer",url:"https://scan-testnet.peperium.io",standard:"EIP3091",icon:{url:"ipfs://Qmag2hr5DQghRzKPN3oUFBkjWzqd5CndQzZeb5LfoiMCXf",width:160,height:160,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmag2hr5DQghRzKPN3oUFBkjWzqd5CndQzZeb5LfoiMCXf",width:160,height:160,format:"png"},infoURL:"https://peperium.io",name:"Peperium Chain Testnet",nativeCurrency:{name:"Peperium Chain Testnet",symbol:"PERIUM",decimals:18},networkId:4001,rpc:["https://4001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.peperium.io"],shortName:"PERIUM",slip44:1,slug:"peperium-chain-testnet",testnet:!0},EHe={chain:"FTM",chainId:4002,explorers:[{name:"ftmscan",url:"https://testnet.ftmscan.com",standard:"EIP3091",icon:{url:"ipfs://QmRqbK449Fo9sJ3xMpkPbg6uV1weQj4yVV1xNMP9cdPmjf",width:73,height:73,format:"png"}}],faucets:["https://faucet.fantom.network"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"},infoURL:"https://docs.fantom.foundation/quick-start/short-guide#fantom-testnet",name:"Fantom Testnet",nativeCurrency:{name:"Fantom",symbol:"FTM",decimals:18},networkId:4002,redFlags:[],rpc:["https://4002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.fantom.network","https://fantom-testnet-rpc.publicnode.com","wss://fantom-testnet-rpc.publicnode.com","https://fantom-testnet.drpc.org","wss://fantom-testnet.drpc.org"],shortName:"tftm",slip44:1,slug:"fantom-testnet",testnet:!0},x3t={chain:"X1",chainId:4003,explorers:[{name:"Blockscout",url:"https://explorer.x1-fastnet.xen.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://docs.xen.network/go-x1/",name:"X1 Fastnet",nativeCurrency:{name:"XN",symbol:"XN",decimals:18},networkId:4003,rpc:["https://4003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://x1-fastnet.xen.network"],shortName:"x1-fastnet",slip44:1,slug:"x1-fastnet",testnet:!1},E3t={chain:"CBR",chainId:4040,explorers:[{name:"Carbonium Network tesnet Explorer",url:"https://testnet.carboniumscan.com",standard:"none",icon:{url:"ipfs://QmUTDMvoY7JgDs9sZuuBhsyJz6B2dNfc5jj6xUj355be2C",width:500,height:500,format:"png"}}],faucets:["https://getfaucet.carbonium.network"],icon:{url:"ipfs://QmUTDMvoY7JgDs9sZuuBhsyJz6B2dNfc5jj6xUj355be2C",width:500,height:500,format:"png"},infoURL:"https://carbonium.network",name:"Carbonium Testnet Network",nativeCurrency:{name:"Carbonium",symbol:"tCBR",decimals:18},networkId:4040,rpc:["https://4040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-dev.carbonium.network/","https://server-testnet.carbonium.network"],shortName:"tcbr",slip44:1,slug:"carbonium-testnet-network",testnet:!0},_3t={chain:"GAN",chainId:4048,explorers:[{name:"ganscan",url:"https://ganscan.gpu.net",standard:"none"}],faucets:[],icon:{url:"ipfs://QmTYgL4PMNJya3XchuRx99ggNzMHL9kWaZvj3wycdEwpQA",width:1248,height:1197,format:"png"},infoURL:"https://docs.gpu.net/",name:"GAN Testnet",nativeCurrency:{name:"GP Token",symbol:"GP",decimals:18},networkId:4048,rpc:["https://4048.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gpu.net"],shortName:"GANTestnet",slug:"gan-testnet",testnet:!0},A3t={chain:"Bobaopera Testnet",chainId:4051,explorers:[{name:"Bobaopera Testnet block explorer",url:"https://blockexplorer.testnet.bobaopera.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobaopera Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:4051,rpc:["https://4051.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bobaopera.boba.network","wss://wss.testnet.bobaopera.boba.network","https://replica.testnet.bobaopera.boba.network","wss://replica-wss.testnet.bobaopera.boba.network"],shortName:"BobaoperaTestnet",slip44:1,slug:"bobaopera-testnet",status:"deprecated",testnet:!0},C3t={chain:"Nahmii",chainId:4061,explorers:[{name:"Nahmii 3 Mainnet Explorer",url:"https://explorer.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 3 Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4061,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://accounts.nahmii.io"}]},rpc:["https://4061.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.n3.nahmii.io"],shortName:"Nahmii3Mainnet",slug:"nahmii-3",status:"active",testnet:!1},I3t={chain:"Nahmii",chainId:4062,explorers:[{name:"Nahmii 3 Testnet Explorer",url:"https://explorer.testnet.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 3 Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:4062,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://accounts.testnet.nahmii.io"}]},rpc:["https://4062.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.nahmii.io"],shortName:"Nahmii3Testnet",slip44:1,slug:"nahmii-3-testnet",status:"active",testnet:!0},k3t={chain:"Muster",chainId:4078,explorers:[{name:"Musterscan",url:"https://muster-explorer.alt.technology",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiexm4aoscqo4d7dipicdgmfaemgzck2w7qhfp5mnoo7z2plcxleju",width:512,height:512,format:"png"},name:"Muster Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4078,parent:{type:"L2",chain:"eip155-42161",bridges:[]},rpc:["https://4078.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://muster.alt.technology"],shortName:"muster",slug:"muster",testnet:!1},S3t={chain:"TBC",chainId:4080,explorers:[{name:"tobescan",url:"https://tobescan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXARMjJGkXEVEdjUyxkeG4ffsWvEo9vSJpVon3JwRxckS",width:512,height:512,format:"png"},infoURL:"https://tobechain.net",name:"Tobe Chain",nativeCurrency:{name:"Tobe Coin",symbol:"TBC",decimals:18},networkId:4080,rpc:["https://4080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tobescan.com"],shortName:"tbc",slug:"tobe-chain",testnet:!1},R3t={chain:"Fastex Chain (Bahamut)",chainId:4090,explorers:[{name:"blockscout",url:"https://oasis.ftnscan.com",standard:"none"}],faucets:["https://faucet.oasis.fastexchain.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSemioP83RXnDWwTZbet8VpwJxcFRboX4B3pcdhLZGodP",width:200,height:200,format:"png"},infoURL:"https://fastexchain.com",name:"Fastex Chain (Bahamut) Oasis Testnet",nativeCurrency:{name:"FTN",symbol:"FTN",decimals:18},networkId:4090,rpc:["https://4090.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.oasis.bahamutchain.com"],shortName:"Oasis",slip44:1,slug:"fastex-chain-bahamut-oasis-testnet",testnet:!0,title:"Bahamut testnet Oasis"},M3t={chain:"BNI",chainId:4096,explorers:[{name:"Bitindi",url:"https://testnet.bitindiscan.com",standard:"EIP3091"}],faucets:["https://faucet.bitindi.org"],features:[],icon:{url:"ipfs://QmRAFFPiLiSgjGTs9QaZdnR9fsDgyUdTejwSxcnPXo292s",width:60,height:72,format:"png"},infoURL:"https://bitindi.org",name:"Bitindi Testnet",nativeCurrency:{name:"BNI",symbol:"$BNI",decimals:18},networkId:4096,redFlags:[],rpc:["https://4096.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bitindi.org","https://testnet-rpc.bitindi.org"],shortName:"BNIt",slip44:1,slug:"bitindi-testnet",testnet:!0},B3t={chain:"BNI",chainId:4099,explorers:[{name:"Bitindi",url:"https://bitindiscan.com",standard:"EIP3091"}],faucets:["https://faucet.bitindi.org"],features:[],icon:{url:"ipfs://QmRAFFPiLiSgjGTs9QaZdnR9fsDgyUdTejwSxcnPXo292s",width:60,height:72,format:"png"},infoURL:"https://bitindi.org",name:"Bitindi Mainnet",nativeCurrency:{name:"BNI",symbol:"$BNI",decimals:18},networkId:4099,redFlags:[],rpc:["https://4099.rpc.thirdweb.com/${THIRDWEB_API_KEY}"," https://rpc-mainnet.bitindi.org","https://mainnet-rpc.bitindi.org"],shortName:"BNIm",slug:"bitindi",testnet:!1},D3t={chain:"AIOZ",chainId:4102,explorers:[{name:"AIOZ Network Testnet Explorer",url:"https://testnet.explorer.aioz.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRAGPFhvQiXgoJkui7WHajpKctGFrJNhHqzYdwcWt5V3Z",width:1024,height:1024,format:"png"},infoURL:"https://aioz.network",name:"AIOZ Network Testnet",nativeCurrency:{name:"testAIOZ",symbol:"AIOZ",decimals:18},networkId:4102,rpc:["https://4102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-ds.testnet.aioz.network"],shortName:"aioz-testnet",slip44:1,slug:"aioz-network-testnet",testnet:!0},P3t={chain:"Humans Testnet",chainId:4139,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX6XuoQDTTjYqAmdNJiieLDZSwHHyUx44yQb4E3tmHmEA",width:400,height:400,format:"png"},infoURL:"https://humans.ai",name:"Humans.ai Testnet",nativeCurrency:{name:"HEART",symbol:"HEART",decimals:18},networkId:4139,rpc:["https://4139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.testnet.humans.zone"],shortName:"humans_testnet",slip44:1,slug:"humans-ai-testnet",testnet:!0},L3t={chain:"TPBX",chainId:4141,explorers:[{name:"Tipboxcoin",url:"https://testnet.tipboxcoin.net",standard:"EIP3091"}],faucets:["https://faucet.tipboxcoin.net"],icon:{url:"ipfs://QmbiaHnR3fVVofZ7Xq2GYZxwHkLEy3Fh5qDtqnqXD6ACAh",width:192,height:192,format:"png"},infoURL:"https://tipboxcoin.net",name:"Tipboxcoin Testnet",nativeCurrency:{name:"Tipboxcoin",symbol:"TPBX",decimals:18},networkId:4141,rpc:["https://4141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.tipboxcoin.net"],shortName:"TPBXt",slip44:1,slug:"tipboxcoin-testnet",testnet:!0},F3t={chain:"Avalanche",chainId:4145,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I2",nativeCurrency:{name:"QI1212I2 Token",symbol:"HSCX",decimals:18},networkId:4145,redFlags:[],rpc:["https://4145.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1212I2",slug:"qi1212i2",testnet:!0},N3t={chain:"XFI",chainId:4157,explorers:[{name:"CrossFi Testnet Scan",url:"https://scan.testnet.ms",standard:"EIP3091"},{name:"Scan Testnet",url:"https://scan.testnet.ms/",standard:"EIP1559"}],faucets:[],features:[],infoURL:"https://crossfi.org/",name:"CrossFi Testnet",nativeCurrency:{name:"XFI",symbol:"XFI",decimals:18},networkId:4157,redFlags:[],rpc:["https://4157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.ms/","https://rpc.testnet.ms"],shortName:"XFI",slip44:1,slug:"crossfi-testnet",testnet:!0,title:"https://scan.testnet.ms/"},O3t={chain:"PHI V1",chainId:4181,explorers:[{name:"PHI Explorer",url:"https://explorer.phi.network",standard:"none",icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"},infoURL:"https://phi.network",name:"PHI Network V1",nativeCurrency:{name:"PHI",symbol:"\u03A6",decimals:18},networkId:4181,rpc:["https://4181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.phi.network","https://rpc2.phi.network"],shortName:"PHIv1",slug:"phi-network-v1",testnet:!1},U3t={chain:"Merlin",chainId:4200,explorers:[{name:"L2scan",url:"https://scan.merlinchain.io",standard:"EIP3091",icon:{url:"ipfs://QmULpMFUvKSmJT8sWXS3WDnTm4EacgRbsEynDenpxcfrAj",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmULpMFUvKSmJT8sWXS3WDnTm4EacgRbsEynDenpxcfrAj",width:400,height:400,format:"jpg"},infoURL:"https://merlinchain.io",name:"Merlin Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:4200,rpc:["https://4200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.merlinchain.io","https://merlin-mainnet-enterprise.unifra.io","https://rpc-merlin.rockx.com"],shortName:"Merlin-Mainnet",slug:"merlin",testnet:!1,title:"Merlin Mainnet"},H3t={chain:"LUKSO Testnet",chainId:4201,explorers:[{name:"Blockscout",url:"https://explorer.execution.testnet.lukso.network",standard:"none"}],faucets:["https://faucet.testnet.lukso.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmeg9sFF5tAGi6MCx7YjtVHW6a23zqvHRK1xwzSdp9iE7z",width:512,height:512,format:"png"},infoURL:"https://lukso.network",name:"LUKSO Testnet",nativeCurrency:{name:"TestLYX",symbol:"LYXt",decimals:18},networkId:4201,rpc:["https://4201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.lukso.network","wss://ws-rpc.testnet.lukso.network"],shortName:"lukso-testnet",slip44:1,slug:"lukso-testnet",testnet:!0},z3t={chain:"ETH",chainId:4202,explorers:[{name:"liskscout",url:"https://sepolia-blockscout.lisk.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://lisk.com",name:"Lisk Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:4202,rpc:["https://4202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sepolia-api.lisk.com"],shortName:"lisksep",slip44:134,slug:"lisk-sepolia-testnet",testnet:!0},W3t={chain:"Nexi",chainId:4242,explorers:[{name:"nexiscan",url:"https://www.nexiscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeifxqd7zel2m237kq5enavnh2s6cshaavswigogyvae2wevxy5k2ti",width:512,height:578,format:"png"},infoURL:"https://www.nexi.technology/",name:"Nexi Mainnet",nativeCurrency:{name:"Nexi",symbol:"NEXI",decimals:18},networkId:4242,rpc:["https://4242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chain.nexi.technology/","https://chain.nexilix.com","https://chain.nexi.evmnode.online"],shortName:"nexi",slip44:2500,slug:"nexi",testnet:!1},q3t={chain:"Nexi V2",chainId:4243,explorers:[{name:"nexiscan",url:"https://www.nexiscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeifxqd7zel2m237kq5enavnh2s6cshaavswigogyvae2wevxy5k2ti",width:512,height:578,format:"png"},infoURL:"https://www.nexi.technology/",name:"Nexi V2 Mainnet",nativeCurrency:{name:"NexiV2",symbol:"NEXI",decimals:18},networkId:4243,rpc:["https://4243.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.nexiv2.nexilix.com","https://rpc.chainv1.nexi.technology"],shortName:"NexiV2",slip44:2500,slug:"nexi-v2",testnet:!1},j3t={chain:"Bobafuji Testnet",chainId:4328,explorers:[{name:"Bobafuji Testnet block explorer",url:"https://blockexplorer.testnet.avax.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobafuji Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:4328,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://4328.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.avax.boba.network","wss://wss.testnet.avax.boba.network","https://replica.testnet.avax.boba.network"],shortName:"BobaFujiTestnet",slip44:1,slug:"bobafuji-testnet",status:"deprecated",testnet:!0},G3t={chain:"BEAM",chainId:4337,explorers:[{name:"Beam Explorer",url:"https://subnets.avax.network/beam",standard:"EIP3091"}],faucets:["https://faucet.onbeam.com"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmQJ21NWyGGDraicVEzS1Uqq1yXahM9NCuNZgnfYvtspdt",width:512,height:512,format:"png"},infoURL:"https://www.onbeam.com",name:"Beam",nativeCurrency:{name:"Beam",symbol:"BEAM",decimals:18},networkId:4337,rpc:["https://4337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://build.onbeam.com/rpc","wss://build.onbeam.com/ws","https://subnets.avax.network/beam/mainnet/rpc","wss://subnets.avax.network/beam/mainnet/ws"],shortName:"beam",slug:"beam",testnet:!1},K3t={chain:"CREDIT",chainId:4400,explorers:[{name:"Creditscan",url:"https://scan.creditsmartchain.com",standard:"EIP3091",icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"},infoURL:"https://creditsmartchain.com",name:"Credit Smart Chain Mainnet",nativeCurrency:{name:"Credit",symbol:"CREDIT",decimals:18},networkId:4400,rpc:["https://4400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.creditsmartchain.com"],shortName:"CreditEdge",slug:"credit-smart-chain",testnet:!1},Q3t={chain:"mainnet",chainId:4444,explorers:[{name:"htmlcoin",url:"https://explorer.htmlcoin.com",standard:"none",icon:{url:"ipfs://QmR1oDRSadPerfyWMhKHNP268vPKvpczt5zPawgFSZisz2",width:1e3,height:1e3,format:"png"}}],faucets:["https://gruvin.me/htmlcoin"],icon:{url:"ipfs://QmR1oDRSadPerfyWMhKHNP268vPKvpczt5zPawgFSZisz2",width:1e3,height:1e3,format:"png"},infoURL:"https://htmlcoin.com",name:"Htmlcoin Mainnet",nativeCurrency:{name:"Htmlcoin",symbol:"HTML",decimals:8},networkId:4444,rpc:["https://4444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://janus.htmlcoin.com/api/"],shortName:"html",slug:"htmlcoin",status:"active",testnet:!1},V3t={chain:"ETH",chainId:4460,explorers:[{name:"basescout",url:"https://explorerl2new-orderly-l2-4460-sepolia-8tc3sd7dvy.t.conduit.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSpwp3RAVhZsErAQrCQxEmjnGqJQMigarzZbfqr9Ktakb",width:512,height:512,format:"png"},name:"Orderly Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:4460,rpc:["https://4460.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-orderly-l2-4460-sepolia-8tc3sd7dvy.t.conduit.xyz"],shortName:"orderlyl2",slip44:1,slug:"orderly-sepolia-testnet",testnet:!0},Y3t={chain:"Emoney",chainId:4544,explorers:[{name:"EMoney ethscan",url:"https://ethscan.emoney.network",standard:"EIP3091",icon:{url:"ipfs://bafkreigo4gtboztftjdnbvy2rb2ku2gxxbhm4iwutzgnzhvden3vcbsqui",width:472,height:462,format:"png"}}],faucets:["https://faucet.emoney.network/faucet"],icon:{url:"ipfs://bafkreigo4gtboztftjdnbvy2rb2ku2gxxbhm4iwutzgnzhvden3vcbsqui",width:472,height:462,format:"png"},infoURL:"https://emoney.network/",name:"Emoney Network Testnet",nativeCurrency:{name:"Emoney Network",symbol:"EMYC",decimals:18},networkId:4544,rpc:["https://4544.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.emoney.network/"],shortName:"emoney",slip44:118,slug:"emoney-network-testnet",testnet:!0},$3t={chain:"VERY Mainnet",chainId:4613,explorers:[{name:"VERY explorer",url:"https://www.veryscan.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreidyrvphfojaf7iev57trxk3sxbo6qikg26pdy66ke4n22dgm52wwa",width:320,height:320,format:"png"},infoURL:"https://www.verylabs.io/",name:"VERY Mainnet",nativeCurrency:{name:"VERY",symbol:"VERY",decimals:18},networkId:4613,rpc:["https://4613.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.verylabs.io"],shortName:"very",slug:"very",testnet:!1,title:"VERY Mainnet"},J3t={chain:"Avalanche",chainId:4638,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3387",nativeCurrency:{name:"QaUser3387 Token",symbol:"LPB",decimals:18},networkId:4638,redFlags:[],rpc:["https://4638.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3387",slug:"qauser3387",testnet:!0},X3t={chain:"Gold",chainId:4653,explorers:[],faucets:[],icon:{url:"ipfs://QmbvuHpn8Np5uTTbVNgv4JHCj2zfHBfmSoRcVNdWbcV5Vq",width:226,height:104,format:"png"},infoURL:"https://gold.dev",name:"Gold Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4653,rpc:["https://4653.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.gold.dev"],shortName:"gold",slug:"gold-chain",status:"incubating",testnet:!1,title:"Gold Chain"},Z3t={chain:"iotex.io",chainId:4689,explorers:[{name:"iotexscan",url:"https://iotexscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmQKHQrvtyUC5b5B76ke5GPTGXoGTVCubXS6gHgzCAswKo",width:250,height:250,format:"png"},infoURL:"https://iotex.io",name:"IoTeX Network Mainnet",nativeCurrency:{name:"IoTeX",symbol:"IOTX",decimals:18},networkId:4689,redFlags:[],rpc:["https://4689.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ankr.com/iotex","https://babel-api.mainnet.iotex.io"],shortName:"iotex-mainnet",slug:"iotex-network",testnet:!1},ebt={chain:"iotex.io",chainId:4690,explorers:[{name:"testnet iotexscan",url:"https://testnet.iotexscan.io",standard:"EIP3091"}],faucets:["https://faucet.iotex.io/"],features:[],icon:{url:"ipfs://QmQKHQrvtyUC5b5B76ke5GPTGXoGTVCubXS6gHgzCAswKo",width:250,height:250,format:"png"},infoURL:"https://iotex.io",name:"IoTeX Network Testnet",nativeCurrency:{name:"IoTeX",symbol:"IOTX",decimals:18},networkId:4690,redFlags:[],rpc:["https://4690.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://babel-api.testnet.iotex.io"],shortName:"iotex-testnet",slip44:1,slug:"iotex-network-testnet",testnet:!0},tbt={chain:"MEVerse",chainId:4759,explorers:[{name:"MEVerse Chain Testnet Explorer",url:"https://testnet.meversescan.io",standard:"none",icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"},infoURL:"https://www.meverse.sg",name:"MEVerse Chain Testnet",nativeCurrency:{name:"MEVerse",symbol:"MEV",decimals:18},networkId:4759,rpc:["https://4759.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.meversetestnet.io"],shortName:"TESTMEV",slip44:1,slug:"meverse-chain-testnet",testnet:!0},nbt={chain:"TBXN",chainId:4777,explorers:[{name:"blockscout",url:"https://testnet-explorer.blackfort.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmPasA8xykRtJDivB2bcKDiRCUNWDPtfUTTKVAcaF2wVxC",width:1968,height:1968,format:"png"},infoURL:"https://blackfort.exchange",name:"BlackFort Exchange Network Testnet",nativeCurrency:{name:"BlackFort Testnet Token",symbol:"TBXN",decimals:18},networkId:4777,rpc:["https://4777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.blackfort.network/rpc"],shortName:"TBXN",slip44:1,slug:"blackfort-exchange-network-testnet",testnet:!0},abt={chain:"GC",chainId:4893,explorers:[{name:"blockscout",url:"https://gcscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmPRHDsVNpRZ72GoQgDbpa3R4wKENmrXCRNuYJkxocFRDb",width:306,height:293,format:"png"},infoURL:"https://gcscan.io",name:"Globel Chain",nativeCurrency:{name:"Globel Chain",symbol:"GC",decimals:18},networkId:4893,rpc:["https://4893.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gcscan.io"],shortName:"GC",slug:"globel-chain",testnet:!1},rbt={chain:"Avalanche",chainId:4905,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"XFX",decimals:18},networkId:4905,redFlags:[],rpc:["https://4905.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f4ceb0cc-0d11-4d49-888e-d744e333488a"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet",testnet:!0},fbt={chain:"XVM",chainId:4918,explorers:[{name:"Venidium EVM Testnet Explorer",url:"https://evm-testnet.venidiumexplorer.com",standard:"EIP3091"}],faucets:[],infoURL:"https://venidium.io",name:"Venidium Testnet",nativeCurrency:{name:"Venidium",symbol:"XVM",decimals:18},networkId:4918,rpc:["https://4918.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-evm-testnet.venidium.io"],shortName:"txvm",slip44:1,slug:"venidium-testnet",testnet:!0},ibt={chain:"XVM",chainId:4919,explorers:[{name:"Venidium Explorer",url:"https://evm.venidiumexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiaplwlym5g27jm4mjhotfqq6al2cxp3fnkmzdusqjg7wnipq5wn2e",width:1e3,height:1e3,format:"png"},infoURL:"https://venidium.io",name:"Venidium Mainnet",nativeCurrency:{name:"Venidium",symbol:"XVM",decimals:18},networkId:4919,rpc:["https://4919.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.venidium.io"],shortName:"xvm",slug:"venidium",testnet:!1},sbt={chain:"BXN",chainId:4999,explorers:[{name:"blockscout",url:"https://explorer.blackfort.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmPasA8xykRtJDivB2bcKDiRCUNWDPtfUTTKVAcaF2wVxC",width:1968,height:1968,format:"png"},infoURL:"https://blackfort.exchange",name:"BlackFort Exchange Network",nativeCurrency:{name:"BlackFort Token",symbol:"BXN",decimals:18},networkId:4999,rpc:["https://4999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.blackfort.network/rpc","https://mainnet-1.blackfort.network/rpc","https://mainnet-2.blackfort.network/rpc","https://mainnet-3.blackfort.network/rpc"],shortName:"BXN",slug:"blackfort-exchange-network",testnet:!1},obt={chain:"ETH",chainId:5e3,explorers:[{name:"Mantle Explorer",url:"https://explorer.mantle.xyz",standard:"EIP3091"},{name:"Mantle Explorer",url:"https://mantlescan.xyz/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmYddHh5zdceSsBU7uGfQvEHg6UUtAFbzQBBaePS4whx7o",width:225,height:225,format:"png"},infoURL:"https://mantle.xyz",name:"Mantle",nativeCurrency:{name:"Mantle",symbol:"MNT",decimals:18},networkId:5e3,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.mantle.xyz"}]},redFlags:[],rpc:["https://5000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mantle.xyz","https://mantle-rpc.publicnode.com","wss://mantle-rpc.publicnode.com"],shortName:"mantle",slug:"mantle",testnet:!1},cbt={chain:"ETH",chainId:5001,explorers:[{name:"Mantle Testnet Explorer",url:"https://explorer.testnet.mantle.xyz",standard:"EIP3091"}],faucets:["https://faucet.testnet.mantle.xyz"],features:[],infoURL:"https://mantle.xyz",name:"Mantle Testnet",nativeCurrency:{name:"Testnet Mantle",symbol:"MNT",decimals:18},networkId:5001,redFlags:[],rpc:["https://5001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.mantle.xyz"],shortName:"mantle-testnet",slip44:1,slug:"mantle-testnet",status:"deprecated",testnet:!0},dbt={chain:"Treasurenet Mainnet Alpha",chainId:5002,explorers:[{name:"Treasurenet EVM BlockExplorer",url:"https://evmexplorer.treasurenet.io",standard:"none",icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"},infoURL:"https://www.treasurenet.io",name:"Treasurenet Mainnet Alpha",nativeCurrency:{name:"UNIT",symbol:"UNIT",decimals:18},networkId:5002,rpc:["https://5002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node0.treasurenet.io","https://node1.treasurenet.io","https://node2.treasurenet.io","https://node3.treasurenet.io"],shortName:"treasurenet",slug:"treasurenet-alpha",testnet:!1},lbt={chain:"ETH",chainId:5003,explorers:[{name:"blockscout",url:"https://explorer.sepolia.mantle.xyz",standard:"EIP3091"}],faucets:["https://faucet.sepolia.mantle.xyz"],features:[],infoURL:"https://mantle.xyz",name:"Mantle Sepolia Testnet",nativeCurrency:{name:"Sepolia Mantle",symbol:"MNT",decimals:18},networkId:5003,redFlags:[],rpc:["https://5003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sepolia.mantle.xyz"],shortName:"mnt-sep",slip44:1,slug:"mantle-sepolia-testnet",testnet:!0},ubt={chain:"Treasurenet Testnet",chainId:5005,explorers:[{name:"Treasurenet EVM BlockExplorer",url:"https://evmexplorer.testnet.treasurenet.io",standard:"none",icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"},infoURL:"https://www.testnet.treasurenet.io",name:"Treasurenet Testnet",nativeCurrency:{name:"UNIT",symbol:"UNIT",decimals:18},networkId:5005,rpc:["https://5005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node0.testnet.treasurenet.io","https://node1.testnet.treasurenet.io","https://node2.testnet.treasurenet.io","https://node3.testnet.treasurenet.io"],shortName:"tntest",slip44:1,slug:"treasurenet-testnet",testnet:!0},pbt={chain:"ONIGIRI",chainId:5039,explorers:[{name:"ONIGIRI Explorer",url:"https://subnets-test.avax.network/onigiri",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreieenivbkpmaxslvvvaybi53hynnarng4ek37xhtf5euvsyunvhbai",width:256,height:256,format:"png"},infoURL:"https://www.ongr.org/",name:"ONIGIRI Test Subnet",nativeCurrency:{name:"ONIGIRI",symbol:"ONGR",decimals:18},networkId:5039,rpc:["https://5039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/onigiri/testnet/rpc"],shortName:"onigiritest",slug:"onigiri-test-subnet",testnet:!0},hbt={chain:"ONIGIRI",chainId:5040,explorers:[{name:"ONIGIRI Explorer",url:"https://subnets.avax.network/onigiri",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreieenivbkpmaxslvvvaybi53hynnarng4ek37xhtf5euvsyunvhbai",width:256,height:256,format:"png"},infoURL:"https://www.ongr.org/",name:"ONIGIRI Subnet",nativeCurrency:{name:"ONIGIRI",symbol:"ONGR",decimals:18},networkId:5040,rpc:["https://5040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/onigiri/mainnet/rpc"],shortName:"onigiri",slug:"onigiri-subnet",testnet:!1},bbt={chain:"Avalanche",chainId:5041,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"OMOCHI",nativeCurrency:{name:"OMOCHI Token",symbol:"OMCH",decimals:18},networkId:5041,redFlags:[],rpc:["https://5041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/omochi/mainnet/rpc"],shortName:"OMOCHI",slug:"omochi",testnet:!1},mbt={chain:"Avalanche",chainId:5042,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"OMOCHI",nativeCurrency:{name:"OMOCHI Token",symbol:"OMCH",decimals:18},networkId:5042,redFlags:[],rpc:["https://5042.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/omochi/testnet/rpc"],shortName:"OMOCHI",slug:"omochi-omochi",testnet:!0},ybt={chain:"Skatechain",chainId:5051,explorers:[{name:"Nollie Skate Chain Testnet Explorer",url:"https://nolliescan.skatechain.org",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmdofX1W8QFt4TSDaq2wyPvYuUba9LabgD1MYcn3Hezu8h",width:600,height:875,format:"png"},name:"Nollie Skatechain Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5051,rpc:["https://5051.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nollie-rpc.skatechain.org/"],shortName:"nollie-testnet",slug:"nollie-skatechain-testnet",status:"active",testnet:!0},gbt={chain:"Syndicate",chainId:5100,explorers:[],faucets:[],icon:{url:"ipfs://QmeSvQcD3XvLFAiMLoQSPbGK9JxVfbCWPBUTMLhhhzYPqX",width:16e3,height:16e3,format:"png"},infoURL:"https://syndicate.io",name:"Syndicate Testnet",nativeCurrency:{name:"S-Ether",symbol:"ETH",decimals:18},networkId:5100,rpc:["https://5100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.syndicate.io"],shortName:"syndicate-chain-testnet",slug:"syndicate-testnet",status:"incubating",testnet:!0,title:"Syndicate Testnet"},vbt={chain:"Syndicate Frame",chainId:5101,explorers:[],faucets:[],icon:{url:"ipfs://QmeSvQcD3XvLFAiMLoQSPbGK9JxVfbCWPBUTMLhhhzYPqX",width:16e3,height:16e3,format:"png"},infoURL:"https://syndicate.io",name:"Syndicate Frame Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5101,rpc:["https://5101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-frame.syndicate.io"],shortName:"syndicate-chain-frame",slug:"syndicate-frame-chain",status:"incubating",testnet:!1,title:"Syndicate Frame Chain"},wbt={chain:"SIC Testnet",chainId:5102,explorers:[{name:"blockscout",url:"https://explorerl2new-sic-testnet-zvr7tlkzsi.t.conduit.xyz",standard:"EIP3091"}],faucets:[],infoURL:"https://www.fwb.help/",name:"SIC Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5102,rpc:["https://5102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sic-testnet-zvr7tlkzsi.t.conduit.xyz"],shortName:"sic-testnet",slug:"sic-testnet",testnet:!0},Tbt={chain:"Coordinape Testnet",chainId:5103,explorers:[],faucets:[],infoURL:"https://coordinape.com/",name:"Coordinape Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5103,rpc:["https://5103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-coordinape-testnet-vs9se3oc4v.t.conduit.xyz"],shortName:"coordinape-testnet",slug:"coordinape-testnet",testnet:!0},xbt={chain:"Charmverse Testnet",chainId:5104,explorers:[],faucets:[],infoURL:"https://charmverse.io/",name:"Charmverse Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5104,rpc:["https://5104.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-charmverse-testnet-g6blnaebes.t.conduit.xyz"],shortName:"charmverse-testnet",slug:"charmverse-testnet",testnet:!0},Ebt={chain:"Superloyalty Testnet",chainId:5105,explorers:[],faucets:[],infoURL:"https://www.superloyal.com/",name:"Superloyalty Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5105,rpc:["https://5105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-superloyalty-testnet-1m5gwjbsv1.t.conduit.xyz"],shortName:"superloyalty-testnet",slug:"superloyalty-testnet",testnet:!0},_bt={chain:"Azra Testnet",chainId:5106,explorers:[{name:"blockscout",url:"https://explorerl2new-azra-testnet-6hz86owb1n.t.conduit.xyz",standard:"EIP3091"}],faucets:[],infoURL:"https://azragames.com",name:"Azra Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5106,rpc:["https://5106.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-azra-testnet-6hz86owb1n.t.conduit.xyz"],shortName:"azra-testnet",slug:"azra-testnet",testnet:!0},Abt={chain:"Bahamut",chainId:5165,explorers:[{name:"blockscout",url:"https://ftnscan.com",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSemioP83RXnDWwTZbet8VpwJxcFRboX4B3pcdhLZGodP",width:200,height:200,format:"png"},infoURL:"https://bahamut.io",name:"Bahamut",nativeCurrency:{name:"FTN",symbol:"FTN",decimals:18},networkId:5165,rpc:["https://5165.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.bahamut.io","https://rpc2.bahamut.io","wss://ws1.sahara.bahamutchain.com","wss://ws2.sahara.bahamutchain.com","https://bahamut-rpc.publicnode.com","wss://bahamut-rpc.publicnode.com"],shortName:"ftn",slug:"bahamut",testnet:!1,title:"Bahamut mainnet"},Cbt={chain:"SLN",chainId:5169,explorers:[{name:"SLN Mainnet Explorer",url:"https://explorer.main.smartlayer.network",standard:"EIP3091"}],faucets:[],infoURL:"https://www.smartlayer.network/",name:"Smart Layer Network",nativeCurrency:{name:"Service Unit Token",symbol:"SU",decimals:18},networkId:5169,rpc:["https://5169.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.main.smartlayer.network"],shortName:"SLN",slug:"smart-layer-network",testnet:!1},Ibt={chain:"TLC",chainId:5177,explorers:[{name:"TLChain Explorer",url:"https://explorer.tlchain.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmaR5TsgnWSjLys6wGaciKUbc5qYL3Es4jtgQcosVqDWR3",width:2048,height:2048,format:"png"},infoURL:"https://tlchain.network/",name:"TLChain Network Mainnet",nativeCurrency:{name:"TLChain Network",symbol:"TLC",decimals:18},networkId:5177,rpc:["https://5177.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tlxscan.com/"],shortName:"tlc",slug:"tlchain-network",testnet:!1},kbt={chain:"ESN",chainId:5197,explorers:[],faucets:[],icon:{url:"ipfs://QmV1wZ1RVXeD7216aiVBpLkbBBHWNuoTvcSzpVQsqi2uaH",width:200,height:200,format:"png"},infoURL:"https://eraswap.info/",name:"EraSwap Mainnet",nativeCurrency:{name:"EraSwap",symbol:"ES",decimals:18},networkId:5197,rpc:["https://5197.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.eraswap.network","https://rpc-mumbai.mainnet.eraswap.network"],shortName:"es",slug:"eraswap",testnet:!1},Sbt={chain:"HMND",chainId:5234,explorers:[{name:"Subscan",url:"https://humanode.subscan.io",standard:"EIP3091",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://bafybeihuskzfwqogwvutaxil6sztmvpiavzbrzwjwpn6w2i4j3jysbybra",width:1043,height:1043,format:"png"},infoURL:"https://humanode.io",name:"Humanode Mainnet",nativeCurrency:{name:"eHMND",symbol:"eHMND",decimals:18},networkId:5234,rpc:["https://5234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://explorer-rpc-http.mainnet.stages.humanode.io"],shortName:"hmnd",slug:"humanode",testnet:!1},Rbt={chain:"FIRE",chainId:5290,explorers:[],faucets:[],icon:{url:"ipfs://QmYjuztyURb3Fc6ZTLgCbwQa64CcVoigF5j9cafzuSbqgf",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Firechain Mainnet Old",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:5290,rpc:["https://5290.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rpc1.thefirechain.com"],shortName:"_old_fire",slug:"firechain-old",status:"deprecated",testnet:!1},Mbt={chain:"UZMI",chainId:5315,explorers:[],faucets:[],infoURL:"https://uzmigames.com.br/",name:"Uzmi Network Mainnet",nativeCurrency:{name:"UZMI",symbol:"UZMI",decimals:18},networkId:5315,rpc:["https://5315.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://network.uzmigames.com.br/"],shortName:"UZMI",slug:"uzmi-network",testnet:!1},Bbt={chain:"OpTrust",chainId:5317,explorers:[{name:"OpTrust Testnet explorer",url:"https://scantest.optrust.io",standard:"none",icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"},infoURL:"https://optrust.io",name:"OpTrust Testnet",nativeCurrency:{name:"TestBSC",symbol:"tBNB",decimals:18},networkId:5317,rpc:["https://5317.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.optrust.io"],shortName:"toptrust",slug:"optrust-testnet",testnet:!0},Dbt={chain:"TRITANIUM",chainId:5353,explorers:[{name:"TRITANIUM Testnet Explorer",url:"https://testnet.tritanium.network",standard:"none",icon:{url:"ipfs://QmRm6gcEPJmU9a86zrmyP7FALTN4Toz9HrnrL2Kwg6FPeh",width:512,height:512,format:"png"}}],faucets:["https://faucet.tritanium.network"],icon:{url:"ipfs://QmRm6gcEPJmU9a86zrmyP7FALTN4Toz9HrnrL2Kwg6FPeh",width:512,height:512,format:"png"},infoURL:"https://tritanium.network",name:"Tritanium Testnet",nativeCurrency:{name:"Tritanium Native Token",symbol:"tTRN",decimals:18},networkId:5353,rpc:["https://5353.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodetestnet-station-one.tritanium.network/","https://nodetestnet-station-two.tritanium.network/"],shortName:"ttrn",slip44:1,slug:"tritanium-testnet",testnet:!0},Pbt={chain:"Settlus",chainId:5372,explorers:[{name:"Settlus Scan",url:"https://testnet.settlus.network",standard:"EIP3091"}],faucets:["https://faucet.settlus.io"],infoURL:"https://settlus.org",name:"Settlus Testnet",nativeCurrency:{name:"Setl",symbol:"SETL",decimals:18},networkId:5372,rpc:["https://5372.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://settlus-test-eth.settlus.io"],shortName:"settlus-testnet",slug:"settlus-testnet",testnet:!0},Lbt={chain:"edeXa Network",chainId:5424,explorers:[{name:"edexa-mainnet",url:"https://explorer.edexa.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSgvmLpRsCiu2ySqyceA5xN4nwi7URJRNEZLffwEKXdoR",width:1028,height:1042,format:"png"},infoURL:"https://edexa.network/",name:"edeXa Mainnet",nativeCurrency:{name:"EDEXA",symbol:"EDX",decimals:18},networkId:5424,rpc:["https://5424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.edexa.network/rpc","https://mainnet.edexa.com/rpc","https://io-dataseed1.mainnet.edexa.io-market.com/rpc"],shortName:"edeXa",slip44:1,slug:"edexa",testnet:!1},Fbt={chain:"EGAX",chainId:5439,explorers:[{name:"egoscan",url:"https://egoscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.egochain.org/",name:"Egochain",nativeCurrency:{name:"EGAX",symbol:"EGAX",decimals:18},networkId:5439,rpc:["https://5439.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.egochain.org"],shortName:"egax",slug:"egochain",testnet:!1},Nbt={chain:"vex",chainId:5522,explorers:[{name:"Vexascan-EVM-TestNet",url:"https://testnet.vexascan.com/evmexplorer",standard:"EIP3091"}],faucets:["https://t.me/vexfaucetbot"],icon:{url:"ipfs://QmcZiEAGFYEEax1uxYnDUh8X5YBvZqMi9K92yZoq4o2zeM",width:451,height:446,format:"png"},infoURL:"https://vexanium.com",name:"VEX EVM TESTNET",nativeCurrency:{name:"VEX EVM TESTNET",symbol:"VEX",decimals:18},networkId:5522,rpc:["https://5522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.vexascan.com/evmapi"],shortName:"VEX",slip44:1,slug:"vex-evm-testnet",testnet:!0},Obt={chain:"Nahmii",chainId:5551,explorers:[{name:"Nahmii 2 Mainnet Explorer",url:"https://explorer.n2.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 2 Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5551,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://n2.bridge.nahmii.io"}]},rpc:["https://5551.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2.nahmii.io"],shortName:"Nahmii",slug:"nahmii-2",status:"active",testnet:!1},Ubt={chain:"Nahmii",chainId:5553,explorers:[{name:"blockscout",url:"https://explorer.testnet.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 2 Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5553,parent:{type:"L2",chain:"eip155-3",bridges:[{url:"https://bridge.nahmii.io"}]},rpc:["https://5553.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2.testnet.nahmii.io"],shortName:"NahmiiTestnet",slip44:1,slug:"nahmii-2-testnet",status:"deprecated",testnet:!0},Hbt={chain:"CVERSE",chainId:5555,explorers:[{name:"Chain Verse Explorer",url:"https://explorer.chainverse.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQyJt28h4wN3QHPXUQJQYQqGiFUD77han3zibZPzHbitk",width:1e3,height:1436,format:"png"},infoURL:"https://chainverse.info",name:"Chain Verse Mainnet",nativeCurrency:{name:"Oasys",symbol:"OAS",decimals:18},networkId:5555,rpc:["https://5555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chainverse.info"],shortName:"cverse",slug:"chain-verse",testnet:!1},zbt={chain:"opBNB",chainId:5611,explorers:[{name:"bscscan-opbnb-testnet",url:"https://opbnb-testnet.bscscan.com",standard:"EIP3091"},{name:"opbnbscan",url:"https://opbnbscan.com",standard:"EIP3091"}],faucets:["https://testnet.bnbchain.org/faucet-smart"],icon:{url:"ipfs://bafybeib75gwytvblyvjpfminitr3i6mpat3a624udfsqsl5nysf5vuuvie",width:96,height:96,format:"png"},infoURL:"https://opbnb.bnbchain.org/en",name:"opBNB Testnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"tBNB",decimals:18},networkId:5611,rpc:["https://5611.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://opbnb-testnet-rpc.bnbchain.org","https://opbnb-testnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3","wss://opbnb-testnet.nodereal.io/ws/v1/64a9df0874fb4a93b9d0a3849de012d3","https://opbnb-testnet.nodereal.io/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","wss://opbnb-testnet.nodereal.io/ws/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","https://opbnb-testnet-rpc.publicnode.com","wss://opbnb-testnet-rpc.publicnode.com"],shortName:"obnbt",slip44:1,slug:"opbnb-testnet",testnet:!0},Wbt={chain:"Arcturus",chainId:5615,explorers:[{name:"explorer-arcturus-testnet",url:"https://testnet.arcscan.net",standard:"EIP3091"}],faucets:["https://faucet.arcturuschain.io"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://arcturuschain.io",name:"Arcturus Testneet",nativeCurrency:{name:"tARC",symbol:"tARC",decimals:18},networkId:5615,rpc:["https://5615.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.arcturuschain.io/"],shortName:"arcturus-testnet",slug:"arcturus-testneet",testnet:!0},qbt={chain:"ARCTURUS",chainId:5616,explorers:[],faucets:[],infoURL:"https://arcturuschain.io",name:"Arcturus Chain Testnet",nativeCurrency:{name:"Test Arct",symbol:"tARCT",decimals:18},networkId:5616,rpc:["https://5616.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://185.99.196.3:8545"],shortName:"ARCT",slip44:1,slug:"arcturus-chain-testnet",testnet:!0},jbt={chain:"QIE",chainId:5656,explorers:[{name:"QIE Explorer",url:"https://mainnet.qiblockchain.online",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRoNxCti6cHrPgZ48YQVSMg9g6ympfXuV8kGQJXrbbmed",width:600,height:600,format:"png"},infoURL:"https://qiblockchain.online/",name:"QIE Blockchain",nativeCurrency:{name:"QIE Blockchain",symbol:"QIE",decimals:18},networkId:5656,rpc:["https://5656.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-main1.qiblockchain.online/","https://rpc-main2.qiblockchain.online/"],shortName:"QIE",slug:"qie-blockchain",testnet:!1},Gbt={chain:"Avalanche",chainId:5668,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"JONO122",nativeCurrency:{name:"JONO122 Token",symbol:"JONO",decimals:18},networkId:5668,redFlags:[],rpc:["https://5668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jono122/testnet/rpc"],shortName:"JONO122",slug:"jono122",testnet:!0},Kbt={chain:"Filenova",chainId:5675,explorers:[{name:"filenova testnet explorer",url:"https://scantest.filenova.org",standard:"none",icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"},infoURL:"https://filenova.org",name:"Filenova Testnet",nativeCurrency:{name:"Test Filecoin",symbol:"tFIL",decimals:18},networkId:5675,rpc:["https://5675.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.filenova.org"],shortName:"tfilenova",slug:"filenova-testnet",testnet:!0},Qbt={chain:"TANGO",chainId:5678,explorers:[{name:"BlockScout",url:"https://3001-blockscout.a.dancebox.tanssi.network",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.tanssi.network/builders/tanssi-network/networks/dancebox/demo-evm-containerchain",name:"Tanssi Demo",nativeCurrency:{name:"TANGO",symbol:"TANGO",decimals:18},networkId:5678,rpc:["https://5678.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3001-rpc.a.dancebox.tanssi.network","wss://fraa-dancebox-3001-rpc.a.dancebox.tanssi.network"],shortName:"tango",slug:"tanssi-demo",testnet:!1},Vbt={chain:"SYS",chainId:5700,explorers:[{name:"Syscoin Testnet Block Explorer",url:"https://tanenbaum.io",standard:"EIP3091"}],faucets:["https://faucet.tanenbaum.io"],infoURL:"https://syscoin.org",name:"Syscoin Tanenbaum Testnet",nativeCurrency:{name:"Testnet Syscoin",symbol:"tSYS",decimals:18},networkId:5700,rpc:["https://5700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tanenbaum.io","wss://rpc.tanenbaum.io/wss","https://syscoin-tanenbaum-evm.publicnode.com","wss://syscoin-tanenbaum-evm.publicnode.com"],shortName:"tsys",slip44:1,slug:"syscoin-tanenbaum-testnet",testnet:!0},Ybt={chain:"HIK",chainId:5729,explorers:[{name:"Hika Network Testnet Explorer",url:"https://scan-testnet.hika.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmW44FPm3CMM2JDs8BQxLNvUtykkUtrGkQkQsUDJSi3Gmp",width:350,height:84,format:"png"},infoURL:"https://hika.network/",name:"Hika Network Testnet",nativeCurrency:{name:"Hik Token",symbol:"HIK",decimals:18},networkId:5729,rpc:["https://5729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.hika.network/"],shortName:"hik",slug:"hika-network-testnet",testnet:!0,title:"Hika Network Testnet"},$bt={chain:"SATS",chainId:5758,explorers:[{name:"SatoshiChain Testnet Explorer",url:"https://testnet.satoshiscan.io",standard:"EIP3091"}],faucets:["https://faucet.satoshichain.io"],icon:{url:"ipfs://QmRegpZQBW4o1imYNsW3d27MQjygBSU23Gf6JKje26nvs7",width:1251,height:1251,format:"png"},infoURL:"https://satoshichain.net",name:"SatoshiChain Testnet",nativeCurrency:{name:"SatoshiChain Coin",symbol:"SATS",decimals:18},networkId:5758,rpc:["https://5758.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.satoshichain.io"],shortName:"satst",slip44:1,slug:"satoshichain-testnet",testnet:!0},Jbt={chain:"ETH",chainId:5777,explorers:[],faucets:[],icon:{url:"ipfs://Qmc9N7V8CiLB4r7FEcG7GojqfiGGsRCZqcFWCahwMohbDW",width:267,height:300,format:"png"},infoURL:"https://trufflesuite.com/ganache/",name:"Ganache",nativeCurrency:{name:"Ganache Test Ether",symbol:"ETH",decimals:18},networkId:5777,rpc:["https://5777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://127.0.0.1:7545"],shortName:"ggui",slip44:1,slug:"ganache",testnet:!0,title:"Ganache GUI Ethereum Testnet"},Xbt={chain:"Avalanche",chainId:5810,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Reg Tnet",nativeCurrency:{name:"Reg Tnet Token",symbol:"LUG",decimals:18},networkId:5810,redFlags:[],rpc:["https://5810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Reg Tnet",slug:"reg-tnet",testnet:!0},Zbt={chain:"Tangle",chainId:5845,explorers:[{name:"Tangle EVM Explorer",url:"https://explorer.tangle.tools",standard:"EIP3091",icon:{url:"ipfs://QmbxMNBTeQgch8t9GpWdLiS2R3wPYCzVRaX5kCQ4o5QU3w",width:1600,height:1600,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbxMNBTeQgch8t9GpWdLiS2R3wPYCzVRaX5kCQ4o5QU3w",width:1600,height:1600,format:"png"},infoURL:"https://docs.tangle.tools",name:"Tangle",nativeCurrency:{name:"Tangle",symbol:"TNT",decimals:18},networkId:5845,rpc:["https://5845.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tangle.tools","wss://rpc.tangle.tools"],shortName:"tangle",slug:"tangle",testnet:!1},emt={chain:"Ontology",chainId:5851,explorers:[{name:"explorer",url:"https://explorer.ont.io/testnet",standard:"EIP3091"}],faucets:["https://developer.ont.io/"],icon:{url:"ipfs://bafkreigmvn6spvbiirtutowpq6jmetevbxoof5plzixjoerbeswy4htfb4",width:400,height:400,format:"png"},infoURL:"https://ont.io/",name:"Ontology Testnet",nativeCurrency:{name:"ONG",symbol:"ONG",decimals:18},networkId:5851,rpc:["https://5851.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://polaris1.ont.io:20339","http://polaris2.ont.io:20339","http://polaris3.ont.io:20339","http://polaris4.ont.io:20339","https://polaris1.ont.io:10339","https://polaris2.ont.io:10339","https://polaris3.ont.io:10339","https://polaris4.ont.io:10339"],shortName:"OntologyTestnet",slip44:1,slug:"ontology-testnet",testnet:!0},tmt={chain:"RBD",chainId:5869,explorers:[{name:"wegoscan2",url:"https://scan2.wegochain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.wegochain.io",name:"Wegochain Rubidium Mainnet",nativeCurrency:{name:"Rubid",symbol:"RBD",decimals:18},networkId:5869,rpc:["https://5869.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy.wegochain.io","http://wallet.wegochain.io:7764"],shortName:"rbd",slug:"wegochain-rubidium",testnet:!1},nmt={chain:"BounceBit",chainId:6e3,explorers:[{name:"BBScan Testnet Explorer",url:"https://bbscan.io",standard:"none"}],faucets:[],infoURL:"https://bouncebit.io",name:"BounceBit Testnet",nativeCurrency:{name:"BounceBit",symbol:"BB",decimals:18},networkId:6e3,rpc:["https://6000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fullnode-testnet.bouncebitapi.com/"],shortName:"bouncebit-testnet",slug:"bouncebit-testnet",testnet:!0},amt={chain:"BounceBit",chainId:6001,explorers:[{name:"BBScan Mainnet Explorer",url:"https://bbscan.io",standard:"none"}],faucets:[],infoURL:"https://bouncebit.io",name:"BounceBit Mainnet",nativeCurrency:{name:"BounceBit",symbol:"BB",decimals:18},networkId:6001,rpc:["https://6001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fullnode-mainnet.bouncebitapi.com/"],shortName:"bouncebit-mainnet",slug:"bouncebit",testnet:!1},rmt={chain:"TresLeches",chainId:6065,explorers:[{name:"treslechesexplorer",url:"https://explorer-test.tresleches.finance",standard:"EIP3091",icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"}}],faucets:["http://faucet.tresleches.finance:8080"],icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"},infoURL:"https://treschain.com",name:"Tres Testnet",nativeCurrency:{name:"TRES",symbol:"TRES",decimals:18},networkId:6065,rpc:["https://6065.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.tresleches.finance/"],shortName:"TRESTEST",slip44:1,slug:"tres-testnet",testnet:!0},fmt={chain:"TresLeches",chainId:6066,explorers:[{name:"treslechesexplorer",url:"https://explorer.tresleches.finance",standard:"EIP3091",icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"},infoURL:"https://treschain.com",name:"Tres Mainnet",nativeCurrency:{name:"TRES",symbol:"TRES",decimals:18},networkId:6066,rpc:["https://6066.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tresleches.finance/","https://rpc.treschain.io/"],shortName:"TRESMAIN",slug:"tres",testnet:!1},imt={chain:"Cascadia",chainId:6102,explorers:[{name:"Cascadia EVM Explorer",url:"https://explorer.cascadia.foundation",standard:"none",icon:{url:"ipfs://QmQtcwxNiJ9D1QDz4k6jZ7qacLcqMk6CeW85TTBWBvNp3z",width:256,height:256,format:"png"}},{name:"Cascadia Cosmos Explorer",url:"https://validator.cascadia.foundation",standard:"none",icon:{url:"ipfs://QmQtcwxNiJ9D1QDz4k6jZ7qacLcqMk6CeW85TTBWBvNp3z",width:256,height:256,format:"png"}}],faucets:["https://www.cascadia.foundation/faucet"],icon:{url:"ipfs://QmQtcwxNiJ9D1QDz4k6jZ7qacLcqMk6CeW85TTBWBvNp3z",width:256,height:256,format:"png"},infoURL:"https://www.cascadia.foundation",name:"Cascadia Testnet",nativeCurrency:{name:"CC",symbol:"tCC",decimals:18},networkId:6102,rpc:["https://6102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.cascadia.foundation"],shortName:"cascadia",slug:"cascadia-testnet",testnet:!0},smt={chain:"UPTN",chainId:6118,explorers:[{name:"UPTN Testnet Explorer",url:"https://testnet.explorer.uptn.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://Qma6cGPCDcJPFxy5KQaMBrLtuVQiqeLncXVybcBoQuhai5",width:128,height:128,format:"png"},infoURL:"https://uptn.io",name:"UPTN Testnet",nativeCurrency:{name:"UPTN",symbol:"UPTN",decimals:18},networkId:6118,rpc:["https://6118.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node-api.alp.uptn.io/v1/ext/rpc"],shortName:"UPTN-TEST",slip44:1,slug:"uptn-testnet",testnet:!0},omt={chain:"UPTN",chainId:6119,explorers:[{name:"UPTN Explorer",url:"https://explorer.uptn.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://Qma6cGPCDcJPFxy5KQaMBrLtuVQiqeLncXVybcBoQuhai5",width:128,height:128,format:"png"},infoURL:"https://uptn.io",name:"UPTN",nativeCurrency:{name:"UPTN",symbol:"UPTN",decimals:18},networkId:6119,rpc:["https://6119.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node-api.uptn.io/v1/ext/rpc"],shortName:"UPTN",slug:"uptn",testnet:!1},cmt={chain:"Avalanche",chainId:6213,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8112",nativeCurrency:{name:"QaUser8112 Token",symbol:"PEN",decimals:18},networkId:6213,redFlags:[],rpc:["https://6213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8112",slug:"qauser8112",testnet:!0},dmt={chain:"Aura",chainId:6321,explorers:[{name:"Aurascan Explorer",url:"https://euphoria.aurascan.io",standard:"none",icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"}}],faucets:["https://aura.faucetme.pro"],icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"},infoURL:"https://aura.network",name:"Aura Euphoria Testnet",nativeCurrency:{name:"test-EAura",symbol:"eAura",decimals:18},networkId:6321,rpc:["https://6321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.euphoria.aura.network"],shortName:"eaura",slip44:1,slug:"aura-euphoria-testnet",testnet:!0},lmt={chain:"Aura",chainId:6322,explorers:[{name:"Aurascan Explorer",url:"https://aurascan.io",standard:"none",icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"},infoURL:"https://aura.network",name:"Aura Mainnet",nativeCurrency:{name:"Aura",symbol:"AURA",decimals:18},networkId:6322,rpc:["https://6322.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.aura.network"],shortName:"aura",slip44:1,slug:"aura",testnet:!1},umt={chain:"DGS",chainId:6363,explorers:[],faucets:[],icon:{url:"ipfs://QmRiAUu3xV5uiX6Nk1iXD5w6qjki5ugGFETRVavzJ2h5QF",width:370,height:320,format:"png"},name:"Digit Soul Smart Chain",nativeCurrency:{name:"Digit Coin",symbol:"DGC",decimals:18},networkId:6363,rpc:["https://6363.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dsc-rpc.digitsoul.co.th"],shortName:"DGS",slug:"digit-soul-smart-chain",testnet:!1},pmt={chain:"P2P",chainId:6502,explorers:[],faucets:[],infoURL:"https://peerpay.su.gy",name:"Peerpay",nativeCurrency:{name:"Peerpay",symbol:"P2P",decimals:18},networkId:6502,rpc:["https://6502.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://peerpay.su.gy/p2p"],shortName:"Peerpay",slug:"peerpay",testnet:!1},hmt={chain:"SCOLWEI-testnet",chainId:6552,explorers:[{name:"Scolscan Testnet Explorer",url:"https://testnet-explorer.scolcoin.com",standard:"EIP3091"}],faucets:["https://faucet.scolcoin.com"],icon:{url:"ipfs://QmVES1eqDXhP8SdeCpM85wvjmhrQDXGRquQebDrSdvJqpt",width:792,height:822,format:"png"},infoURL:"https://scolcoin.com",name:"Scolcoin WeiChain Testnet",nativeCurrency:{name:"Scolcoin",symbol:"SCOL",decimals:18},networkId:6552,rpc:["https://6552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.scolcoin.com"],shortName:"SRC-test",slip44:1,slug:"scolcoin-weichain-testnet",testnet:!0},bmt={chain:"FOX",chainId:6565,explorers:[{name:"FOX Testnet Explorer",url:"https://testnet.foxscan.app",standard:"none",icon:{url:"ipfs://Qmbp1rwhtRr6JQRyYqyfLqkbmzXr1T17zbmChsi2ouvg3M",width:100,height:100,format:"png"}}],faucets:["https://faucet.foxchain.app"],icon:{url:"ipfs://Qmbp1rwhtRr6JQRyYqyfLqkbmzXr1T17zbmChsi2ouvg3M",width:100,height:100,format:"png"},infoURL:"https://foxchain.app",name:"Fox Testnet Network",nativeCurrency:{name:"FOX Native Token",symbol:"tFOX",decimals:18},networkId:6565,rpc:["https://6565.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet-v1.foxchain.app/","https://rpc2-testnet-v1.foxchain.app/","https://rpc3-testnet-v1.foxchain.app"],shortName:"fox",slip44:1,slug:"fox-testnet-network",testnet:!0},mmt={chain:"PixieChain",chainId:6626,explorers:[{name:"blockscout",url:"https://scan.chain.pixie.xyz",standard:"none"}],faucets:[],infoURL:"https://chain.pixie.xyz",name:"Pixie Chain Mainnet",nativeCurrency:{name:"Pixie Chain Native Token",symbol:"PIX",decimals:18},networkId:6626,rpc:["https://6626.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.chain.pixie.xyz","wss://ws-mainnet.chain.pixie.xyz"],shortName:"pixie-chain",slug:"pixie-chain",testnet:!1},ymt={chain:"LATEST",chainId:6660,explorers:[{name:"Latest Chain",url:"http://testnet.latestchain.io",standard:"EIP3091"}],faucets:["http://faucet.latestchain.io"],icon:{url:"ipfs://QmUU784i1ZHDNwgXvt9weZmq6YbHHkyXvuDS7r4iDzao72",width:1115,height:1242,format:"png"},infoURL:"https://latestcoin.io",name:"Latest Chain Testnet",nativeCurrency:{name:"Latest",symbol:"LATEST",decimals:18},networkId:6660,rpc:["https://6660.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.latestcoin.io"],shortName:"LATESTt",slug:"latest-chain-testnet",testnet:!0},gmt={chain:"CYBA",chainId:6661,explorers:[{name:"Cybria Explorer",url:"https://cybascan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiagdqfrvnbdjhkh27gjbvepzo66dpqgnbffmpnywuw5ncprg3jk3u",width:2264,height:408,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreiarso74bytq5ccnl3mlfhd4ejiylwautsr6ovbqgmynzjzmkorn6y",width:500,height:500,format:"svg"},infoURL:"https://cybria.io",name:"Cybria Mainnet",nativeCurrency:{name:"Cybria",symbol:"CYBA",decimals:18},networkId:6661,parent:{type:"L2",chain:"eip155-11155420",bridges:[{url:"https://app.optimism.io/bridge"}]},rpc:["https://6661.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.cybria.io"],shortName:"cyba",slug:"cybria",testnet:!1},vmt={chain:"CYBA",chainId:6666,explorers:[{name:"Cybria Explorer",url:"https://explorer.cybascan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiagdqfrvnbdjhkh27gjbvepzo66dpqgnbffmpnywuw5ncprg3jk3u",width:2264,height:408,format:"png"}}],faucets:["https://faucet.cybascan.io"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreiarso74bytq5ccnl3mlfhd4ejiylwautsr6ovbqgmynzjzmkorn6y",width:500,height:500,format:"svg"},infoURL:"https://cybria.io",name:"Cybria Testnet",nativeCurrency:{name:"Cybria",symbol:"CYBA",decimals:18},networkId:6666,parent:{type:"L2",chain:"eip155-11155420",bridges:[{url:"https://app.optimism.io/bridge"}]},rpc:["https://6666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-rpc.cybascan.io"],shortName:"tcyba",slug:"cybria-testnet",testnet:!0},wmt={chain:"IRIShub",chainId:6688,explorers:[{name:"IRISHub Cosmos Explorer (IOBScan)",url:"https://irishub.iobscan.io",standard:"none",icon:{url:"ipfs://QmTKgKs7kJiWDhdjbELE4Y2HVZ36KS4bYkNCbXdsXk66sW",width:1062,height:1062,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTKgKs7kJiWDhdjbELE4Y2HVZ36KS4bYkNCbXdsXk66sW",width:1062,height:1062,format:"png"},infoURL:"https://www.irisnet.org",name:"IRIShub",nativeCurrency:{name:"Eris",symbol:"ERIS",decimals:18},networkId:6688,rpc:["https://6688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmrpc.irishub-1.irisnet.org","https://iris-evm.publicnode.com","wss://iris-evm.publicnode.com"],shortName:"iris",slug:"irishub",testnet:!1},Tmt={chain:"PAXB",chainId:6701,explorers:[{name:"PAXB Explorer",url:"https://scan.paxb.io",standard:"EIP3091",icon:{url:"ipfs://QmSP66CHynXpMYkjV28uLjTR4kjuoJyy92igYYpvLoqHtG",width:300,height:300,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSP66CHynXpMYkjV28uLjTR4kjuoJyy92igYYpvLoqHtG",width:300,height:300,format:"png"},infoURL:"https://paxb.io/",name:"PAXB Mainnet",nativeCurrency:{name:"PAXB",symbol:"PAXB",decimals:18},networkId:6701,rpc:["https://6701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.paxb.io"],shortName:"PAXB",slug:"paxb",testnet:!1},xmt={chain:"Avalanche",chainId:6713,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7475",nativeCurrency:{name:"QaUser7475 Token",symbol:"GZR",decimals:18},networkId:6713,redFlags:[],rpc:["https://6713.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7475",slug:"qauser7475",testnet:!0},Emt={chain:"CPV",chainId:6779,explorers:[{name:"cpvscan",url:"https://scan.compverse.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYbskrGpidbMwsJekTeLrr8Z6GA9q4Uxh7piS1F9BdWWv",width:256,height:256,format:"png"},infoURL:"https://compverse.io",name:"Compverse Mainnet",nativeCurrency:{name:"compverse",symbol:"CPV",decimals:18},networkId:6779,rpc:["https://6779.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.compverse.io/","https://rpc-useast1.compverse.io/"],shortName:"compverse",slip44:7779,slug:"compverse",testnet:!1},_mt={chain:"STAND",chainId:6789,explorers:[{name:"Gold Smart Chain",url:"https://mainnet.goldsmartchain.com",standard:"EIP3091"}],faucets:["https://faucet.goldsmartchain.com"],icon:{url:"ipfs://QmPNuymyaKLJhCaXnyrsL8358FeTxabZFsaxMmWNU4Tzt3",width:396,height:418,format:"png"},infoURL:"https://goldsmartchain.com",name:"Gold Smart Chain Mainnet",nativeCurrency:{name:"Standard in Gold",symbol:"STAND",decimals:18},networkId:6789,rpc:["https://6789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.goldsmartchain.com"],shortName:"STANDm",slug:"gold-smart-chain",testnet:!1},Amt={chain:"Pools",chainId:6868,explorers:[{name:"poolsscan",url:"https://scan.poolsmobility.com",standard:"EIP3091",icon:{url:"ipfs://QmV18PRFPkp9pwKKJp4ksVDhMEiqNZ8A5DhQapdNCckeeQ",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmV18PRFPkp9pwKKJp4ksVDhMEiqNZ8A5DhQapdNCckeeQ",width:512,height:512,format:"png"},infoURL:"https://www.poolschain.org",name:"Pools Mainnet",nativeCurrency:{name:"POOLS Native Token",symbol:"POOLS",decimals:18},networkId:6868,rpc:["https://6868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.poolsmobility.com"],shortName:"POOLS",slip44:6868,slug:"pools",testnet:!1},Cmt={chain:"Tomb Chain",chainId:6969,explorers:[{name:"tombscout",url:"https://tombscout.com",standard:"none"}],faucets:[],infoURL:"https://tombchain.com/",name:"Tomb Chain Mainnet",nativeCurrency:{name:"Tomb",symbol:"TOMB",decimals:18},networkId:6969,parent:{type:"L2",chain:"eip155-250",bridges:[{url:"https://lif3.com/bridge"}]},rpc:["https://6969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tombchain.com/"],shortName:"tombchain",slug:"tomb-chain",testnet:!1},Imt={chain:"PSC",chainId:6999,explorers:[],faucets:[],infoURL:"https://www.polysmartchain.com/",name:"PolySmartChain",nativeCurrency:{name:"PSC",symbol:"PSC",decimals:18},networkId:6999,rpc:["https://6999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed0.polysmartchain.com/","https://seed1.polysmartchain.com/","https://seed2.polysmartchain.com/"],shortName:"psc",slug:"polysmartchain",testnet:!1},kmt={chain:"ZetaChain",chainId:7e3,explorers:[{name:"ZetaChain Mainnet Explorer",url:"https://explorer.zetachain.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmP4Gnf4Lkp8q5LQVePNjAWxSqrw8vU2JAf7amcFz4vEUy",width:712,height:712,format:"png"},infoURL:"https://zetachain.com/docs/",name:"ZetaChain Mainnet",nativeCurrency:{name:"Zeta",symbol:"ZETA",decimals:18},networkId:7e3,rpc:["https://7000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zetachain-evm.blockpi.network/v1/rpc/public","https://zetachain-mainnet-archive.allthatnode.com:8545"],shortName:"zetachain-mainnet",slug:"zetachain",status:"active",testnet:!1},Smt={chain:"ZetaChain",chainId:7001,explorers:[{name:"blockscout",url:"https://zetachain-athens-3.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"ZetaChain Athens Testnet Explorer",url:"https://athens3.explorer.zetachain.com",standard:"none"}],faucets:["https://labs.zetachain.com/get-zeta"],icon:{url:"ipfs://QmP4Gnf4Lkp8q5LQVePNjAWxSqrw8vU2JAf7amcFz4vEUy",width:712,height:712,format:"png"},infoURL:"https://zetachain.com/docs",name:"ZetaChain Athens 3 Testnet",nativeCurrency:{name:"Zeta",symbol:"ZETA",decimals:18},networkId:7001,rpc:["https://7001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zetachain-athens-evm.blockpi.network/v1/rpc/public","wss://zetachain-athens.blockpi.network/rpc/v1/public/websocket","https://zetachain-testnet-archive.allthatnode.com:8545"],shortName:"zetachain-athens",slip44:1,slug:"zetachain-athens-3-testnet",status:"active",testnet:!0},Rmt={chain:"BSTC",chainId:7007,explorers:[{name:"blockscout",url:"https://bstscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPko9BJhR5FWTsThcwUFnnnjgLjrXVDm1n98dCuaQNW59",width:506,height:652,format:"png"},infoURL:"https://bstchain.io",name:"BST Chain",nativeCurrency:{name:"BST Chain",symbol:"BSTC",decimals:18},networkId:7007,rpc:["https://7007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bstchain.io/"],shortName:"BSTC",slug:"bst-chain",testnet:!1},Mmt={chain:"ella",chainId:7027,explorers:[{name:"Ella",url:"https://ella.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVkAhSaHhH3wKoLT56Aq8dNyEH4RySPEpqPcLwsptGBDm",width:512,height:512,format:"png"},infoURL:"https://ella.network",name:"Ella the heart",nativeCurrency:{name:"Ella",symbol:"ELLA",decimals:18},networkId:7027,rpc:["https://7027.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ella.network"],shortName:"ELLA",slug:"ella-the-heart",testnet:!1},Bmt={chain:"Planq",chainId:7070,explorers:[{name:"Planq EVM Explorer (Blockscout)",url:"https://evm.planq.network",standard:"none"},{name:"Planq Cosmos Explorer (BigDipper)",url:"https://explorer.planq.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWEy9xK5BoqxPuVs7T48WM4exJrxzkEFt45iHcxWqUy8D",width:256,height:256,format:"png"},infoURL:"https://planq.network",name:"Planq Mainnet",nativeCurrency:{name:"Planq",symbol:"PLQ",decimals:18},networkId:7070,rpc:["https://7070.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.planq.network"],shortName:"planq",slug:"planq",testnet:!1},Dmt={chain:"Planq",chainId:7077,explorers:[],faucets:[],icon:{url:"ipfs://QmWEy9xK5BoqxPuVs7T48WM4exJrxzkEFt45iHcxWqUy8D",width:256,height:256,format:"png"},infoURL:"https://planq.network",name:"Planq Atlas Testnet",nativeCurrency:{name:"Planq",symbol:"tPLQ",decimals:18},networkId:7077,rpc:["https://7077.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc-atlas.planq.network"],shortName:"planq-atlas-testnet",slug:"planq-atlas-testnet",testnet:!0},Pmt={chain:"Nume",chainId:7100,explorers:[{name:"numeexplorer",url:"https://explorer.numecrypto.com",standard:"none",icon:{url:"ipfs://QmNbp1K6vKKFYh7bWeWtjBqKgdH88suDVbztP5CYU3pYNG",width:1280,height:1280,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNbp1K6vKKFYh7bWeWtjBqKgdH88suDVbztP5CYU3pYNG",width:1280,height:1280,format:"png"},infoURL:"https://numecrypto.com",name:"Nume",nativeCurrency:{name:"Dai Stablecoin",symbol:"DAI",decimals:18},networkId:7100,rpc:["https://7100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.numecrypto.com"],shortName:"nume",slug:"nume",testnet:!1,title:"Nume"},Lmt={chain:"mainnet",chainId:7118,explorers:[],faucets:[],icon:{url:"ipfs://QmNR4Y3cUxefV7KGpGxMkjp5ofeJvbaUkR1GavsmTtK248",width:1e3,height:1e3,format:"png"},infoURL:"https://hth.world",name:"Help The Homeless",nativeCurrency:{name:"Help The Homeless Coin",symbol:"HTH",decimals:18},networkId:7118,rpc:[],shortName:"hth",slug:"help-the-homeless",status:"incubating",testnet:!1},Fmt={chain:"Avalanche",chainId:7158,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"TESTNet FirstTEST",nativeCurrency:{name:"TESTNet FirstTEST Token",symbol:"TEST",decimals:18},networkId:7158,redFlags:[],rpc:["https://7158.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testnetfir/testnet/rpc"],shortName:"TESTNet FirstTEST",slug:"testnet-firsttest",testnet:!0},Nmt={chain:"Bitrock",chainId:7171,explorers:[{name:"Bitrock Explorer",url:"https://explorer.bit-rock.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfXZCAh3HWS2bJroUStN9TieL4QA9QArMotie3X4pwBfj",width:72,height:72,format:"svg"},infoURL:"https://bit-rock.io",name:"Bitrock Mainnet",nativeCurrency:{name:"BITROCK",symbol:"BROCK",decimals:18},networkId:7171,rpc:["https://7171.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.bit-rock.io","https://brockrpc.io"],shortName:"bitrock",slug:"bitrock",testnet:!1},Omt={chain:"Avalanche",chainId:7207,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401222",nativeCurrency:{name:"QI M 2401222 Token",symbol:"HZU",decimals:18},networkId:7207,redFlags:[],rpc:["https://7207.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401222",slug:"qi-m-2401222",testnet:!0},Umt={chain:"XPLA Verse",chainId:7300,explorers:[{name:"XPLA Verse Explorer",url:"https://explorer-xpla-verse.xpla.dev",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZvqcTNWPUoT1F3r9DTAMhdjt3zQC8eRUStvUGEF68KCt",width:857,height:132,format:"png"},infoURL:"https://www.xpla.io",name:"XPLA Verse",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:7300,parent:{type:"L2",chain:"eip155-248"},rpc:["https://7300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-xpla-verse.xpla.dev"],shortName:"XPLAVERSE",slug:"xpla-verse",testnet:!1},Hmt={chain:"Avalanche",chainId:7317,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5017 Testnet",nativeCurrency:{name:"QaUser5017 Testnet Token",symbol:"IHS",decimals:18},networkId:7317,redFlags:[],rpc:["https://7317.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5017 Testnet",slug:"qauser5017-testnet",testnet:!0},zmt={chain:"Avalanche",chainId:7326,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2403051 Testnet",nativeCurrency:{name:"QI M 2403051 Testnet Token",symbol:"VVC",decimals:18},networkId:7326,redFlags:[],rpc:["https://7326.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2403051 Testnet",slug:"qi-m-2403051-testnet",testnet:!0},Wmt={chain:"KLY",chainId:7331,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmaDr9R6dKnZLsogRxojjq4dwXuXcudR8UeTZ8Nq553K4u",width:400,height:400,format:"png"},infoURL:"https://klyntar.org",name:"KLYNTAR",nativeCurrency:{name:"KLYNTAR",symbol:"KLY",decimals:18},networkId:7331,rpc:["https://7331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.klyntar.org/kly_evm_rpc","https://evm.klyntarscan.org/kly_evm_rpc"],shortName:"kly",slug:"klyntar",status:"incubating",testnet:!1},qmt={chain:"EON",chainId:7332,explorers:[{name:"Horizen EON Block Explorer",url:"https://eon-explorer.horizenlabs.io",standard:"EIP3091",icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"},infoURL:"https://horizen.io/",name:"Horizen EON Mainnet",nativeCurrency:{name:"Zencash",symbol:"ZEN",decimals:18},networkId:7332,rpc:["https://7332.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eon-rpc.horizenlabs.io/ethv1","https://rpc.ankr.com/horizen_eon"],shortName:"EON",slip44:121,slug:"horizen-eon",testnet:!1},jmt={chain:"SHYFT",chainId:7341,explorers:[{name:"Shyft BX",url:"https://bx.shyft.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUkFZC2ZmoYPTKf7AHdjwRPZoV2h1MCuHaGM4iu8SNFpi",width:400,height:400,format:"svg"},infoURL:"https://shyft.network",name:"Shyft Mainnet",nativeCurrency:{name:"Shyft",symbol:"SHYFT",decimals:18},networkId:7341,rpc:["https://7341.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shyft.network/"],shortName:"shyft",slip44:2147490989,slug:"shyft",testnet:!1},Gmt={chain:"Avalanche",chainId:7366,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7888",nativeCurrency:{name:"QaUser7888 Token",symbol:"NHF",decimals:18},networkId:7366,redFlags:[],rpc:["https://7366.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7888",slug:"qauser7888",testnet:!0},Kmt={chain:"Raba",chainId:7484,explorers:[{name:"raba",url:"https://x.raba.app/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmatP9qMHEYoXqRDyHMTyjYRQa6j6Gk7pmv1QLxQkvpGRP",width:787,height:750,format:"png"},infoURL:"https://x.raba.app/",name:"Raba Network Mainnet",nativeCurrency:{name:"Raba",symbol:"RABA",decimals:18},networkId:7484,rpc:["https://7484.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.x.raba.app/","wss://rpc.x.raba.app/ws/"],shortName:"raba",slug:"raba-network",testnet:!1},Qmt={chain:"Avalanche",chainId:7507,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7740 Testnet",nativeCurrency:{name:"QaUser7740 Testnet Token",symbol:"RUI",decimals:18},networkId:7507,redFlags:[],rpc:["https://7507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7740 Testnet",slug:"qauser7740-testnet",testnet:!0},Vmt={chain:"MEVerse",chainId:7518,explorers:[{name:"MEVerse Chain Explorer",url:"https://www.meversescan.io",standard:"none",icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"},infoURL:"https://www.meverse.sg",name:"MEVerse Chain Mainnet",nativeCurrency:{name:"MEVerse",symbol:"MEV",decimals:18},networkId:7518,rpc:["https://7518.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.meversemainnet.io"],shortName:"MEV",slug:"meverse-chain",testnet:!1},Ymt={chain:"Cyber",chainId:7560,explorers:[{name:"Cyber Mainnet Explorer",url:"https://cyberscan.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmR8NuaSqALStb95YsMsJRG2BoYkibjS1XE1pZFtvEkAXY",width:213,height:212,format:"svg"},infoURL:"https://cyber.co/",name:"Cyber Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:7560,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://cyber.co/bridge"}]},rpc:["https://7560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cyber.alt.technology/","wss://cyber-ws.alt.technology/","https://rpc.cyber.co/","wss://rpc.cyber.co/"],shortName:"cyeth",slug:"cyber",testnet:!1},$mt={chain:"ADIL",chainId:7575,explorers:[{name:"ADIL Testnet Explorer",url:"https://testnet.adilchain-scan.io",standard:"EIP3091"}],faucets:["https://testnet-faucet.adil-scan.io"],icon:{url:"ipfs://QmeHNYUx6n8CjUFSLWNT17oAtDYrUq6r8buyvGCUBXCJw6",width:500,height:500,format:"png"},infoURL:"https://adilchain.io",name:"ADIL Testnet",nativeCurrency:{name:"Testnet ADIL",symbol:"ADIL",decimals:18},networkId:7575,rpc:["https://7575.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.adilchain-rpc.io"],shortName:"tadil",slip44:1,slug:"adil-testnet",testnet:!0},Jmt={chain:"ADIL",chainId:7576,explorers:[{name:"ADIL Mainnet Explorer",url:"https://adilchain-scan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeHNYUx6n8CjUFSLWNT17oAtDYrUq6r8buyvGCUBXCJw6",width:500,height:500,format:"png"},infoURL:"https://adilchain.io",name:"Adil Chain V2 Mainnet",nativeCurrency:{name:"ADIL",symbol:"ADIL",decimals:18},networkId:7576,rpc:["https://7576.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://adilchain-rpc.io"],shortName:"adil",slug:"adil-chain-v2",testnet:!1},Xmt={chain:"Avalanche",chainId:7640,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0205I1",nativeCurrency:{name:"QI0205I1 Token",symbol:"KOA",decimals:18},networkId:7640,redFlags:[],rpc:["https://7640.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0205I1",slug:"qi0205i1",testnet:!0},Zmt={chain:"TRN",chainId:7668,explorers:[{name:"rootnet",url:"https://explorer.rootnet.live",standard:"EIP3091"}],faucets:[],infoURL:"https://www.futureverse.com/technology/root",name:"The Root Network - Mainnet",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:6},networkId:7668,rpc:["https://7668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://root.rootnet.live/archive","wss://root.rootnet.live/archive/ws"],shortName:"trn-mainnet",slug:"the-root-network",testnet:!1},e4t={chain:"TRN",chainId:7672,explorers:[{name:"rootnet",url:"https://explorer.rootnet.cloud",standard:"EIP3091"}],faucets:[],infoURL:"https://www.futureverse.com/technology/root",name:"The Root Network - Porcini Testnet",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:6},networkId:7672,rpc:["https://7672.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://porcini.rootnet.app/archive","wss://porcini.rootnet.app/archive/ws"],shortName:"trn-porcini",slip44:1,slug:"the-root-network-porcini-testnet",testnet:!0},t4t={chain:"Canto",chainId:7700,explorers:[{name:"Canto Explorer (OKLink)",url:"https://www.oklink.com/canto",standard:"EIP3091"},{name:"Canto EVM Explorer (Blockscout)",url:"https://tuber.build",standard:"EIP3091"},{name:"dexguru",url:"https://canto.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],infoURL:"https://canto.io",name:"Canto",nativeCurrency:{name:"Canto",symbol:"CANTO",decimals:18},networkId:7700,rpc:["https://7700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://canto.slingshot.finance","https://canto-rpc.ansybl.io","https://mainnode.plexnode.org:8545","https://canto.gravitychain.io/"],shortName:"canto",slug:"canto",testnet:!1},n4t={chain:"Canto",chainId:7701,explorers:[{name:"Canto Testnet EVM Explorer (Blockscout)",url:"https://testnet.tuber.build",standard:"none"},{name:"dexguru",url:"https://canto-test.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],infoURL:"https://canto.io",name:"Canto Tesnet",nativeCurrency:{name:"Testnet Canto",symbol:"CANTO",decimals:18},networkId:7701,rpc:["https://7701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-archive.plexnode.wtf"],shortName:"TestnetCanto",slip44:1,slug:"canto-tesnet",testnet:!0},a4t={chain:"Bitrock",chainId:7771,explorers:[{name:"Bitrock Testnet Explorer",url:"https://testnetscan.bit-rock.io",standard:"EIP3091"}],faucets:["https://faucet.bit-rock.io"],icon:{url:"ipfs://QmfXZCAh3HWS2bJroUStN9TieL4QA9QArMotie3X4pwBfj",width:72,height:72,format:"svg"},infoURL:"https://bit-rock.io",name:"Bitrock Testnet",nativeCurrency:{name:"BITROCK",symbol:"BROCK",decimals:18},networkId:7771,rpc:["https://7771.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bit-rock.io"],shortName:"tbitrock",slip44:1,slug:"bitrock-testnet",testnet:!0},r4t={chain:"GDCC",chainId:7775,explorers:[{name:"GDCC",url:"https://testnet.gdccscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmY4vp1mJoGpUiuWbRVenNiDZC17wSyyueGPK9A5QyK1M2",width:72,height:72,format:"png"},infoURL:"https://gdcchain.com",name:"GDCC TESTNET",nativeCurrency:{name:"GDCC",symbol:"GDCC",decimals:18},networkId:7775,rpc:["https://7775.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc1.gdccscan.io"],shortName:"GDCC",slug:"gdcc-testnet",testnet:!0},f4t={chain:"nmactest",chainId:7777,explorers:[{name:"avascan",url:"https://testnet.avascan.info/blockchain/2mZ9doojfwHzXN3VXDQELKnKyZYxv7833U8Yq5eTfFx3hxJtiy",standard:"none"}],faucets:[],infoURL:"https://riseofthewarbots.com/",name:"Rise of the Warbots Testnet",nativeCurrency:{name:"Nano Machines",symbol:"NMAC",decimals:18},networkId:7777,rpc:["https://7777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet1.riseofthewarbots.com","https://testnet2.riseofthewarbots.com","https://testnet3.riseofthewarbots.com","https://testnet4.riseofthewarbots.com","https://testnet5.riseofthewarbots.com"],shortName:"RiseOfTheWarbotsTestnet",slip44:1,slug:"rise-of-the-warbots-testnet",testnet:!0},i4t={chain:"ORE",chainId:7778,explorers:[{name:"ORE Mainnet Explorer",url:"https://oreniumscan.org",standard:"none",icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"},infoURL:"https://orenium.org",name:"Orenium Mainnet Protocol",nativeCurrency:{name:"ORENIUM",symbol:"ORE",decimals:18},networkId:7778,rpc:["https://7778.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://validator-mainnet.orenium.org","https://rpc-oracle-mainnet.orenium.org","https://portalmainnet.orenium.org"],shortName:"ore",slip44:1,slug:"orenium-protocol",testnet:!1},s4t={chain:"OEX",chainId:7798,explorers:[{name:"OpenEX Long Testnet Explorer",url:"https://scan.long.openex.network",standard:"EIP3091",icon:{url:"ipfs://bafkreidnu6p6vmmplerzvkboq7fz73ygkomzpnnokuxstrqv2fvxgmgg7i",width:512,height:512,format:"png"}}],faucets:["https://long.hub.openex.network/faucet"],icon:{url:"ipfs://bafkreidnu6p6vmmplerzvkboq7fz73ygkomzpnnokuxstrqv2fvxgmgg7i",width:512,height:512,format:"png"},infoURL:"https://openex.network",name:"OpenEX LONG Testnet",nativeCurrency:{name:"USDT Testnet",symbol:"USDT",decimals:18},networkId:7798,rpc:["https://7798.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://long.rpc.openex.network/"],shortName:"oex",slip44:1,slug:"openex-long-testnet",testnet:!0,title:"OpenEX LONG Testnet"},o4t={chain:"MaalChain Testnet",chainId:7860,explorers:[{name:"maalscan testnet",url:"https://testnet.maalscan.io",standard:"EIP3091"}],faucets:["https://faucet-testnet.maalscan.io/"],icon:{url:"ipfs://bafkreiexfqfe2x4impvwhra3xxa5eb25gv25zi3kkaoatdnld7wbxdzf2a",width:512,height:512,format:"png"},infoURL:"https://www.maalchain.com/",name:"MaalChain Testnet",nativeCurrency:{name:"MAAL",symbol:"MAAL",decimals:18},networkId:7860,rpc:["https://7860.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.maalscan.io/","https://rpc-bntest.maalscan.io/"],shortName:"maal-test",slip44:1,slug:"maalchain-testnet",testnet:!0},c4t={chain:"Avalanche",chainId:7865,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST 02-07",nativeCurrency:{name:"ST 02-07 Token",symbol:"TJO",decimals:18},networkId:7865,redFlags:[],rpc:["https://7865.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 02-07",slug:"st-02-07",testnet:!0},d4t={chain:"Avalanche",chainId:7872,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QAUSer4 Testnet",nativeCurrency:{name:"QAUSer4 Testnet Token",symbol:"VVC",decimals:18},networkId:7872,redFlags:[],rpc:["https://7872.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QAUSer4 Testnet",slug:"qauser4-testnet",testnet:!0},l4t={chain:"SCAS",chainId:7878,explorers:[{name:"Hazlor Testnet Explorer",url:"https://explorer.hazlor.com",standard:"none"}],faucets:["https://faucet.hazlor.com"],infoURL:"https://hazlor.com",name:"Hazlor Testnet",nativeCurrency:{name:"Hazlor Test Coin",symbol:"TSCAS",decimals:18},networkId:7878,rpc:["https://7878.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hatlas.rpc.hazlor.com:8545","wss://hatlas.rpc.hazlor.com:8546"],shortName:"tscas",slip44:1,slug:"hazlor-testnet",testnet:!0},u4t={chain:"Kinto Mainnet",chainId:7887,explorers:[{name:"Kinto Explorer",url:"https://explorer.kinto.xyz",standard:"EIP3091",icon:{url:"ipfs://QmZw4zfR4Q8MD6MZRwkQrMeiiiu77AJffHdCMdemt4R2VM",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmZw4zfR4Q8MD6MZRwkQrMeiiiu77AJffHdCMdemt4R2VM",width:400,height:400,format:"jpg"},infoURL:"https://kinto.xyz",name:"Kinto Mainnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:7887,rpc:["https://7887.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kinto.xyz/http","https://kinto-mainnet.calderachain.xyz/http"],shortName:"kintoMainnet",slug:"kinto",testnet:!1},p4t={chain:"ATHENA",chainId:7895,explorers:[{name:"ARDENIUM Athena Explorer",url:"https://testnet.ardscan.com",standard:"none",icon:{url:"ipfs://QmdwifhejRfF8QfyzYrNdFVhfhCR6iuzWMmppK4eL7kttG",width:120,height:120,format:"png"}}],faucets:["https://faucet-athena.ardescan.com/"],icon:{url:"ipfs://QmdwifhejRfF8QfyzYrNdFVhfhCR6iuzWMmppK4eL7kttG",width:120,height:120,format:"png"},infoURL:"https://ardenium.org",name:"ARDENIUM Athena",nativeCurrency:{name:"ARD",symbol:"tARD",decimals:18},networkId:7895,rpc:["https://7895.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-athena.ardescan.com/"],shortName:"ard",slug:"ardenium-athena",testnet:!0},h4t={chain:"Avalanche",chainId:7909,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3870 Testnet",nativeCurrency:{name:"QaUser3870 Testnet Token",symbol:"RAY",decimals:18},networkId:7909,redFlags:[],rpc:["https://7909.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3870 Testnet",slug:"qauser3870-testnet",testnet:!0},b4t={chain:"DTBX",chainId:7923,explorers:[{name:"blockscout",url:"https://explorer.dotblox.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZy2TMY881ghRxXJA7VyRA8Zhj2LJJ86DpHRZs3VQZqoJ",width:53,height:53,format:"png"},infoURL:"https://explorer.dotblox.io",name:"Dot Blox",nativeCurrency:{name:"Dot Blox",symbol:"DTBX",decimals:18},networkId:7923,rpc:["https://7923.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dotblox.io"],shortName:"DTBX",slug:"dot-blox",testnet:!1},m4t={chain:"DOS",chainId:7979,explorers:[{name:"DOScan",url:"https://doscan.io",standard:"EIP3091",icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"}},{name:"DOScan",url:"https://explorer.doschain.com/",standard:"EIP3091",icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"},infoURL:"https://doschain.com/",name:"DOS Chain",nativeCurrency:{name:"DOS",symbol:"DOS",decimals:18},networkId:7979,redFlags:[],rpc:["https://7979.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://main.doschain.com"],shortName:"dos",slug:"dos-chain",testnet:!1},y4t={chain:"Teleport",chainId:8e3,explorers:[{name:"Teleport EVM Explorer (Blockscout)",url:"https://evm-explorer.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}},{name:"Teleport Cosmos Explorer (Big Dipper)",url:"https://explorer.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"},infoURL:"https://teleport.network",name:"Teleport",nativeCurrency:{name:"Tele",symbol:"TELE",decimals:18},networkId:8e3,rpc:["https://8000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.teleport.network"],shortName:"teleport",slug:"teleport",testnet:!1},g4t={chain:"Teleport",chainId:8001,explorers:[{name:"Teleport EVM Explorer (Blockscout)",url:"https://evm-explorer.testnet.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}},{name:"Teleport Cosmos Explorer (Big Dipper)",url:"https://explorer.testnet.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}}],faucets:["https://chain-docs.teleport.network/testnet/faucet.html"],icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"},infoURL:"https://teleport.network",name:"Teleport Testnet",nativeCurrency:{name:"Tele",symbol:"TELE",decimals:18},networkId:8001,rpc:["https://8001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.testnet.teleport.network"],shortName:"teleport-testnet",slip44:1,slug:"teleport-testnet",testnet:!0},v4t={chain:"MDGL",chainId:8029,explorers:[],faucets:[],infoURL:"https://mdgl.io",name:"MDGL Testnet",nativeCurrency:{name:"MDGL Token",symbol:"MDGLT",decimals:18},networkId:8029,rpc:["https://8029.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.mdgl.io"],shortName:"mdgl",slip44:1,slug:"mdgl-testnet",testnet:!0},w4t={chain:"BOAT",chainId:8047,explorers:[{name:"BOAT Mainnet Explorer",url:"https://scan.come.boats",standard:"EIP3091",icon:{url:"ipfs://bafkreibqgh23s7yt7rikybybiwfivwtoh32n24scjykvgbgewo3ecbrcye",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreibqgh23s7yt7rikybybiwfivwtoh32n24scjykvgbgewo3ecbrcye",width:512,height:512,format:"png"},infoURL:"https://come.boats",name:"BOAT Mainnet",nativeCurrency:{name:"Best Of All Time Token",symbol:"BOAT",decimals:18},networkId:8047,rpc:["https://8047.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0.come.boat/"],shortName:"boat",slip44:1,slug:"boat",testnet:!1,title:"BOAT Mainnet"},T4t={chain:"Karak",chainId:8054,explorers:[{name:"Karak Sepolia Explorer",url:"https://explorer.sepolia.karak.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRvHRuhfQgDRyGgt6vCoHqjZW2Dir7siowYnBpR5BRSej",width:1080,height:1080,format:"png"},infoURL:"https://karak.network",name:"Karak Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8054,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://8054.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sepolia.karak.network"],shortName:"karak-sepolia",slug:"karak-sepolia",testnet:!0,title:"Karak Testnet Sepolia"},x4t={chain:"Shardeum",chainId:8080,explorers:[{name:"Shardeum Scan",url:"https://explorer-liberty10.shardeum.org",standard:"EIP3091"}],faucets:["https://faucet.liberty10.shardeum.org"],features:[],icon:{url:"ipfs://Qma1bfuubpepKn7DLDy4NPSKDeT3S4VPCNhu6UmdGrb6YD",width:609,height:533,format:"png"},infoURL:"https://docs.shardeum.org/",name:"Shardeum Liberty 1.X",nativeCurrency:{name:"Shardeum SHM",symbol:"SHM",decimals:18},networkId:8080,redFlags:["reusedChainId"],rpc:["https://8080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://liberty10.shardeum.org/"],shortName:"Liberty10",slug:"shardeum-liberty-1-x",status:"deprecated",testnet:!0},E4t={chain:"Shardeum",chainId:8081,explorers:[{name:"Shardeum Scan",url:"https://explorer-liberty20.shardeum.org",standard:"EIP3091"}],faucets:["https://faucet.liberty20.shardeum.org"],features:[],icon:{url:"ipfs://Qma1bfuubpepKn7DLDy4NPSKDeT3S4VPCNhu6UmdGrb6YD",width:609,height:533,format:"png"},infoURL:"https://docs.shardeum.org/",name:"Shardeum Liberty 2.X",nativeCurrency:{name:"Shardeum SHM",symbol:"SHM",decimals:18},networkId:8081,redFlags:["reusedChainId"],rpc:["https://8081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://liberty20.shardeum.org/"],shortName:"Liberty20",slug:"shardeum-liberty-2-x",status:"deprecated",testnet:!0},_4t={chain:"Shardeum",chainId:8082,explorers:[{name:"Shardeum Scan",url:"https://explorer-sphinx.shardeum.org",standard:"EIP3091"}],faucets:["https://faucet-sphinx.shardeum.org/"],features:[],icon:{url:"ipfs://Qma1bfuubpepKn7DLDy4NPSKDeT3S4VPCNhu6UmdGrb6YD",width:609,height:533,format:"png"},infoURL:"https://docs.shardeum.org/",name:"Shardeum Sphinx 1.X",nativeCurrency:{name:"Shardeum SHM",symbol:"SHM",decimals:18},networkId:8082,redFlags:["reusedChainId"],rpc:["https://8082.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sphinx.shardeum.org/"],shortName:"Sphinx10",slug:"shardeum-sphinx-1-x",testnet:!0},A4t={chain:"BTC",chainId:8086,explorers:[],faucets:[],infoURL:"https://biteth.org",name:"Bitcoin Chain",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:8086,rpc:["https://8086.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.biteth.org"],shortName:"Bitcoin",slug:"bitcoin-chain",testnet:!1},C4t={chain:"USD",chainId:8087,explorers:[],faucets:[],infoURL:"https://e-dollar.org",name:"E-Dollar",nativeCurrency:{name:"E-Dollar",symbol:"USD",decimals:18},networkId:8087,rpc:["https://8087.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.e-dollar.org"],shortName:"E-Dollar",slug:"e-dollar",testnet:!1},I4t={chain:"StreamuX",chainId:8098,explorers:[],faucets:[],infoURL:"https://www.streamux.cloud",name:"StreamuX Blockchain",nativeCurrency:{name:"StreamuX",symbol:"SmuX",decimals:18},networkId:8098,rpc:["https://8098.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://u0ma6t6heb:KDNwOsRDGcyM2Oeui1p431Bteb4rvcWkuPgQNHwB4FM@u0xy4x6x82-u0e2mg517m-rpc.us0-aws.kaleido.io/"],shortName:"StreamuX",slug:"streamux-blockchain",testnet:!1},k4t={chain:"MEER",chainId:8131,explorers:[{name:"meerscan testnet",url:"https://testnet-qng.qitmeer.io",standard:"EIP3091",icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"}}],faucets:["https://faucet.qitmeer.io"],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Testnet",nativeCurrency:{name:"Qitmeer Testnet",symbol:"MEER-T",decimals:18},networkId:8131,rpc:["https://8131.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-qng.rpc.qitmeer.io","https://testnet.meerlabs.com","https://meer.testnet.meerfans.club"],shortName:"meertest",slip44:1,slug:"qitmeer-network-testnet",testnet:!0},S4t={chain:"MEER",chainId:8132,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Mixnet",nativeCurrency:{name:"Qitmeer Mixnet",symbol:"MEER-M",decimals:18},networkId:8132,rpc:[],shortName:"meermix",slug:"qitmeer-network-mixnet",status:"incubating",testnet:!1},R4t={chain:"MEER",chainId:8133,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Privnet",nativeCurrency:{name:"Qitmeer Privnet",symbol:"MEER-P",decimals:18},networkId:8133,rpc:[],shortName:"meerpriv",slug:"qitmeer-network-privnet",status:"incubating",testnet:!1},M4t={chain:"MEER",chainId:8134,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana",nativeCurrency:{name:"Amana Mainnet",symbol:"MEER",decimals:18},networkId:8134,rpc:[],shortName:"amana",slug:"amana",status:"incubating",testnet:!1},B4t={chain:"MEER",chainId:8135,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana",nativeCurrency:{name:"Flana Mainnet",symbol:"MEER",decimals:18},networkId:8135,rpc:[],shortName:"flana",slug:"flana",status:"incubating",testnet:!1},D4t={chain:"MEER",chainId:8136,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana",nativeCurrency:{name:"Mizana Mainnet",symbol:"MEER",decimals:18},networkId:8136,rpc:[],shortName:"mizana",slug:"mizana",status:"incubating",testnet:!1},P4t={chain:"Avalanche",chainId:8154,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0318sGCP",nativeCurrency:{name:"QR0318sGCP Token",symbol:"VEG",decimals:18},networkId:8154,redFlags:[],rpc:["https://8154.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0318sgcp/testnet/rpc"],shortName:"QR0318sGCP",slug:"qr0318sgcp",testnet:!0},L4t={chain:"tBOC",chainId:8181,explorers:[{name:"Testnet BeOne Chain",url:"https://testnet.beonescan.com",standard:"none",icon:{url:"ipfs://QmbVLQnaMDu86bPyKgCvTGhFBeYwjr15hQnrCcsp1EkAGL",width:500,height:500,format:"png"}}],faucets:["https://testnet.beonescan.com/faucet"],icon:{url:"ipfs://QmbVLQnaMDu86bPyKgCvTGhFBeYwjr15hQnrCcsp1EkAGL",width:500,height:500,format:"png"},infoURL:"https://testnet.beonescan.com",name:"Testnet BeOne Chain",nativeCurrency:{name:"Testnet BeOne Chain",symbol:"tBOC",decimals:18},networkId:8181,rpc:["https://8181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pre-boc1.beonechain.com"],shortName:"tBOC",slip44:1,slug:"testnet-beone-chain",testnet:!0},F4t={chain:"TQF",chainId:8192,explorers:[{name:"blockscout",url:"https://toruscan.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidchntjaxmq52cuqqoalpajk5ssk4p77k7n4jgywqmkpldo5qgobm",width:1200,height:1200,format:"png"},infoURL:"https://docs.toruschain.com",name:"Torus Mainnet",nativeCurrency:{name:"TQF",symbol:"TQF",decimals:18},networkId:8192,rpc:["https://8192.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.toruschain.com"],shortName:"tqf",slug:"torus",testnet:!1},N4t={chain:"TQF",chainId:8194,explorers:[{name:"blockscout",url:"https://testnet.toruscan.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidchntjaxmq52cuqqoalpajk5ssk4p77k7n4jgywqmkpldo5qgobm",width:1200,height:1200,format:"png"},infoURL:"https://docs.toruschain.com",name:"Torus Testnet",nativeCurrency:{name:"tTQF",symbol:"TTQF",decimals:18},networkId:8194,rpc:["https://8194.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.toruschain.com"],shortName:"ttqf",slip44:1,slug:"torus-testnet",testnet:!0},O4t={chain:"KLAY",chainId:8217,explorers:[{name:"Klaytnscope",url:"https://scope.klaytn.com",standard:"EIP3091"},{name:"Klaytnfinder",url:"https://klaytnfinder.io",standard:"EIP3091"},{name:"klaytnfinder",url:"https://www.klaytnfinder.io/",standard:"none"}],faucets:[],features:[],icon:{url:"ipfs://bafkreigtgdivlmfvf7trqjqy4vkz2d26xk3iif6av265v4klu5qavsugm4",width:1e3,height:1e3,format:"png"},infoURL:"https://klaytn.foundation",name:"Klaytn Mainnet Cypress",nativeCurrency:{name:"KLAY",symbol:"KLAY",decimals:18},networkId:8217,redFlags:[],rpc:["https://8217.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-en-cypress.klaytn.net","https://klaytn-mainnet-rpc.allthatnode.com:8551","https://klaytn.blockpi.network/v1/rpc/public"],shortName:"Cypress",slip44:8217,slug:"klaytn-cypress",testnet:!1},U4t={chain:"Avalanche",chainId:8227,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Space",nativeCurrency:{name:"Space Token",symbol:"FUEL",decimals:18},networkId:8227,redFlags:[],rpc:["https://8227.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/space/mainnet/rpc"],shortName:"Space",slug:"space",testnet:!1},H4t={chain:"Blockton Blockchain",chainId:8272,explorers:[{name:"Blockton Explorer",url:"https://blocktonscan.com",standard:"none"}],faucets:["https://faucet.blocktonscan.com/"],icon:{url:"ipfs://bafkreig3hoedafisrgc6iffdo2jcblm6kov35h72gcblc3zkmt7t4ucwhy",width:800,height:800,format:"png"},infoURL:"https://blocktoncoin.com",name:"Blockton Blockchain",nativeCurrency:{name:"BLOCKTON",symbol:"BTON",decimals:18},networkId:8272,rpc:["https://8272.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blocktonscan.com/"],shortName:"BTON",slug:"blockton-blockchain",testnet:!1},z4t={chain:"Kortho",chainId:8285,explorers:[],faucets:[],infoURL:"https://www.kortho.io/",name:"KorthoTest",nativeCurrency:{name:"Kortho Test",symbol:"KTO",decimals:11},networkId:8285,rpc:["https://8285.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.krotho-test.net"],shortName:"Kortho",slip44:1,slug:"korthotest",testnet:!0},W4t={chain:"Lorenzo",chainId:8329,explorers:[{name:"Lorenzo Explorer",url:"https://scan.lorenzo-protocol.xyz",standard:"none",icon:{url:"ipfs://QmcwDCeZpzvRWBwtTgyEFv4tLJk6SFUb26rwsRXyJrhnP7",width:288,height:288,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcwDCeZpzvRWBwtTgyEFv4tLJk6SFUb26rwsRXyJrhnP7",width:288,height:288,format:"png"},infoURL:"https://www.lorenzo-protocol.xyz/",name:"Lorenzo",nativeCurrency:{name:"Lorenzo stBTC",symbol:"stBTC",decimals:18},networkId:8329,rpc:["https://8329.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lorenzo-protocol.xyz"],shortName:"lrz",slug:"lorenzo",testnet:!1},q4t={chain:"FUCK",chainId:8387,explorers:[],faucets:[],icon:{url:"ipfs://bafybeibpyckp65pqjvrvqhdt26wqoqk55m6anshbfgyqnaemn6l34nlwya",width:1024,height:1024,format:"png"},infoURL:"https://wolfery.com",name:"Dracones Financial Services",nativeCurrency:{name:"Functionally Universal Coin Kind",symbol:"FUCK",decimals:18},networkId:8387,rpc:["https://8387.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.dracones.net/"],shortName:"fuck",slug:"dracones-financial-services",testnet:!1,title:"The Dracones Mainnet"},xW={chain:"ETH",chainId:8453,explorers:[{name:"basescan",url:"https://basescan.org",standard:"none"},{name:"basescout",url:"https://base.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://base.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmW5Vn15HeRkScMfPcW12ZdZcC2yUASpu6eCsECRdEmjjj/base-512.png",width:512,height:512,format:"png"},infoURL:"https://base.org",name:"Base",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8453,redFlags:[],rpc:["https://8453.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.base.org/","https://developer-access-mainnet.base.org/","https://base.gateway.tenderly.co","wss://base.gateway.tenderly.co","https://base-rpc.publicnode.com","wss://base-rpc.publicnode.com"],shortName:"base",slug:"base",status:"active",testnet:!1},j4t={chain:"TOKI",chainId:8654,explorers:[],faucets:[],icon:{url:"ipfs://QmbCBBH4dFHGr8u1yQspCieQG9hLcPFNYdRx1wnVsX8hUw",width:512,height:512,format:"svg"},infoURL:"https://www.buildwithtoki.com",name:"Toki Network",nativeCurrency:{name:"Toki",symbol:"TOKI",decimals:18},networkId:8654,rpc:["https://8654.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.buildwithtoki.com/v0/rpc"],shortName:"toki",slug:"toki-network",testnet:!1},G4t={chain:"TOKI",chainId:8655,explorers:[],faucets:[],icon:{url:"ipfs://QmbCBBH4dFHGr8u1yQspCieQG9hLcPFNYdRx1wnVsX8hUw",width:512,height:512,format:"svg"},infoURL:"https://www.buildwithtoki.com",name:"Toki Testnet",nativeCurrency:{name:"Toki",symbol:"TOKI",decimals:18},networkId:8655,rpc:["https://8655.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.buildwithtoki.com/v0/rpc"],shortName:"toki-testnet",slip44:1,slug:"toki-testnet",testnet:!0},K4t={chain:"Hela",chainId:8668,explorers:[{name:"Hela Official Runtime Mainnet Explorer",url:"https://mainnet-blockexplorer.helachain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQbUVcaxFwY8gqMq1Jeup4NEyivo12QYhbLvVRvgXRBFb",width:719,height:216,format:"png"},infoURL:"https://helalabs.com",name:"Hela Official Runtime Mainnet",nativeCurrency:{name:"Hela HLUSD",symbol:"HLUSD",decimals:18},networkId:8668,rpc:["https://8668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.helachain.com"],shortName:"hela",slug:"hela-official-runtime",testnet:!1},Q4t={chain:"OLO",chainId:8723,explorers:[{name:"OLO Block Explorer",url:"https://www.olo.network",standard:"EIP3091"}],faucets:[],infoURL:"https://ibdt.io",name:"TOOL Global Mainnet",nativeCurrency:{name:"TOOL Global",symbol:"OLO",decimals:18},networkId:8723,rpc:["https://8723.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-web3.wolot.io"],shortName:"olo",slip44:479,slug:"tool-global",testnet:!1},V4t={chain:"OLO",chainId:8724,explorers:[],faucets:["https://testnet-explorer.wolot.io"],infoURL:"https://testnet-explorer.wolot.io",name:"TOOL Global Testnet",nativeCurrency:{name:"TOOL Global",symbol:"OLO",decimals:18},networkId:8724,rpc:["https://8724.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-web3.wolot.io"],shortName:"tolo",slip44:1,slug:"tool-global-testnet",testnet:!0},Y4t={chain:"Storagechain",chainId:8726,explorers:[{name:"Storscan",url:"https://explorer-storagechain.invo.zone/?network=StorageChain",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfN9r1S7FvzkbjqfNMdUikhHmCw5e6UqsTuRD51S8T6Cq",width:512,height:512,format:"png"},infoURL:"https://storagechain.io/about-us",name:"Storagechain Mainnet",nativeCurrency:{name:"Storagechain",symbol:"STOR",decimals:18},networkId:8726,rpc:["https://8726.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-validator.storagechain.io"],shortName:"stor",slug:"storagechain",testnet:!1},$4t={chain:"Storagechain",chainId:8727,explorers:[{name:"Storscan",url:"https://explorer-storagechain.invo.zone/?network=StorageChain%20Testnet",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfN9r1S7FvzkbjqfNMdUikhHmCw5e6UqsTuRD51S8T6Cq",width:512,height:512,format:"png"},infoURL:"https://storagechain.io/about-us",name:"Storagechain Testnet",nativeCurrency:{name:"Storagechain",symbol:"STOR",decimals:18},networkId:8727,rpc:["https://8727.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-validator.storagechain.io"],shortName:"tstor",slug:"storagechain-testnet",testnet:!0},J4t={chain:"ALPH",chainId:8738,explorers:[{name:"alphscan",url:"https://explorer.alph.network",standard:"EIP3091"}],faucets:[],infoURL:"https://alph.network",name:"Alph Network",nativeCurrency:{name:"Alph Network",symbol:"ALPH",decimals:18},networkId:8738,rpc:["https://8738.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alph.network","wss://rpc.alph.network"],shortName:"alph",slug:"alph-network",testnet:!1},X4t={chain:"TMY",chainId:8768,explorers:[],faucets:["https://faucet.tmychain.org/"],icon:{url:"ipfs://Qmcd19ksUvNMD1XQFSC55jJhDPoF2zUzzV7woteFiugwBH",width:1024,height:1023,format:"svg"},infoURL:"https://tmychain.org/",name:"TMY Chain",nativeCurrency:{name:"TMY",symbol:"TMY",decimals:18},networkId:8768,rpc:["https://8768.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.tmyblockchain.org/rpc"],shortName:"tmy",slug:"tmy-chain",testnet:!1},Z4t={chain:"IOTA EVM",chainId:8822,explorers:[{name:"explorer",url:"https://explorer.evm.iota.org",standard:"EIP3091",icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://www.iota.org",name:"IOTA EVM",nativeCurrency:{name:"IOTA",symbol:"IOTA",decimals:18},networkId:8822,rpc:["https://8822.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.iotaledger.net","https://ws.json-rpc.evm.iotaledger.net"],shortName:"iotaevm",slug:"iota-evm",testnet:!1,title:"IOTA EVM"},eyt={chain:"MARO Blockchain",chainId:8848,explorers:[{name:"MARO Scan",url:"https://scan.ma.ro/#",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreig47k53aipns6nu3u5fxpysp7mogzk6zyvatgpbam7yut3yvtuefa",width:160,height:160,format:"png"},infoURL:"https://ma.ro/",name:"MARO Blockchain Mainnet",nativeCurrency:{name:"MARO",symbol:"MARO",decimals:18},networkId:8848,rpc:["https://8848.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.ma.ro"],shortName:"maro",slug:"maro-blockchain",testnet:!1},tyt={chain:"SuperLumio",chainId:8866,explorers:[{name:"Lumio explorer",url:"https://explorer.lumio.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXiatdz5WBFypfsudoDsFnsLdiHzDwcD3pWcHwBovbPiZ",width:256,height:256,format:"png"},infoURL:"https://lumio.io/",name:"SuperLumio",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8866,rpc:["https://8866.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.lumio.io/"],shortName:"superlumio",slug:"superlumio",testnet:!1},nyt={chain:"UNQ",chainId:8880,explorers:[{name:"Unique Scan",url:"https://uniquescan.io/unique",standard:"none"}],faucets:[],icon:{url:"ipfs://QmbJ7CGZ2GxWMp7s6jy71UGzRsMe4w3KANKXDAExYWdaFR",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Unique",nativeCurrency:{name:"Unique",symbol:"UNQ",decimals:18},networkId:8880,rpc:["https://8880.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.unique.network","https://eu-rpc.unique.network","https://asia-rpc.unique.network","https://us-rpc.unique.network"],shortName:"unq",slug:"unique",testnet:!1},ayt={chain:"UNQ",chainId:8881,explorers:[{name:"Unique Scan / Quartz",url:"https://uniquescan.io/quartz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmaGPdccULQEFcCGxzstnmE8THfac2kSiGwvWRAiaRq4dp",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Quartz by Unique",nativeCurrency:{name:"Quartz",symbol:"QTZ",decimals:18},networkId:8881,rpc:["https://8881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-quartz.unique.network","https://quartz.api.onfinality.io/public-ws","https://eu-rpc-quartz.unique.network","https://asia-rpc-quartz.unique.network","https://us-rpc-quartz.unique.network"],shortName:"qtz",slug:"quartz-by-unique",testnet:!1},ryt={chain:"UNQ",chainId:8882,explorers:[{name:"Unique Scan / Opal",url:"https://uniquescan.io/opal",standard:"none"}],faucets:["https://t.me/unique2faucet_opal_bot"],icon:{url:"ipfs://QmYJDpmWyjDa3H6BxweFmQXk4fU8b1GU7M9EqYcaUNvXzc",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Opal testnet by Unique",nativeCurrency:{name:"Opal",symbol:"UNQ",decimals:18},networkId:8882,rpc:["https://8882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-opal.unique.network","https://us-rpc-opal.unique.network","https://eu-rpc-opal.unique.network","https://asia-rpc-opal.unique.network"],shortName:"opl",slip44:1,slug:"opal-testnet-by-unique",testnet:!0},fyt={chain:"UNQ",chainId:8883,explorers:[{name:"Unique Scan / Sapphire",url:"https://uniquescan.io/sapphire",standard:"none"}],faucets:[],icon:{url:"ipfs://Qmd1PGt4cDRjFbh4ihP5QKEd4XQVwN1MkebYKdF56V74pf",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Sapphire by Unique",nativeCurrency:{name:"Quartz",symbol:"QTZ",decimals:18},networkId:8883,rpc:["https://8883.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sapphire.unique.network","https://us-rpc-sapphire.unique.network","https://eu-rpc-sapphire.unique.network","https://asia-rpc-sapphire.unique.network"],shortName:"sph",slug:"sapphire-by-unique",testnet:!1},iyt={chain:"XANAChain",chainId:8888,explorers:[{name:"XANAChain",url:"https://xanachain.xana.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWGNfwJ9o2vmKD3E6fjrxpbFP8W5q45zmYzHHoXwqqAoj",width:512,height:512,format:"png"},infoURL:"https://xanachain.xana.net/",name:"XANAChain",nativeCurrency:{name:"XETA",symbol:"XETA",decimals:18},networkId:8888,redFlags:["reusedChainId"],rpc:["https://8888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.xana.net/rpc"],shortName:"XANAChain",slug:"xanachain",testnet:!1},syt={chain:"VSC",chainId:8889,explorers:[],faucets:[],infoURL:"https://vsc-dataseed.vyvo.org",name:"Vyvo Smart Chain",nativeCurrency:{name:"VSC",symbol:"VSC",decimals:18},networkId:8889,rpc:["https://8889.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vsc-dataseed.vyvo.org:8889"],shortName:"vsc",slug:"vyvo-smart-chain",testnet:!1},oyt={chain:"ORE",chainId:8890,explorers:[{name:"ORE Testnet Explorer",url:"https://testnet.oreniumscan.org",standard:"none",icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"}}],faucets:["https://faucetcoin.orenium.org"],icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"},infoURL:"https://orenium.org",name:"Orenium Testnet Protocol",nativeCurrency:{name:"ORENIUM",symbol:"tORE",decimals:18},networkId:8890,rpc:["https://8890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-dev-testnet.orenium.org/","https://rpc-testnet.orenium.org/","https://rpc-orc.oredex.finance","https://testnet-rpc.oredex.finance","https://oredex-node.oredex.finance"],shortName:"tore",slip44:1,slug:"orenium-testnet-protocol",testnet:!0},cyt={chain:"MMT",chainId:8898,explorers:[{name:"mmtscan",url:"https://mmtscan.io",standard:"EIP3091",icon:{url:"ipfs://QmaF5gi2CbDKsJ2UchNkjBqmWjv8JEDP3vePBmxeUHiaK4",width:250,height:250,format:"png"}}],faucets:["https://faucet.mmtscan.io/"],icon:{url:"ipfs://QmaF5gi2CbDKsJ2UchNkjBqmWjv8JEDP3vePBmxeUHiaK4",width:250,height:250,format:"png"},infoURL:"https://mmtchain.io/",name:"Mammoth Mainnet",nativeCurrency:{name:"Mammoth Token",symbol:"MMT",decimals:18},networkId:8898,rpc:["https://8898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.mmtscan.io","https://dataseed1.mmtscan.io","https://dataseed2.mmtscan.io"],shortName:"mmt",slug:"mammoth",testnet:!1,title:"Mammoth Chain"},dyt={chain:"JBC",chainId:8899,explorers:[{name:"JIBCHAIN Explorer",url:"https://exp-l1.jibchain.net",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWvTUSCcQ17mDiKg3w1X5nW3q4wZGuVsZ9vwzJ8S9oCns",width:200,height:200,format:"png"},infoURL:"https://jibchain.net",name:"JIBCHAIN L1",nativeCurrency:{name:"JIBCOIN",symbol:"JBC",decimals:18},networkId:8899,rpc:["https://8899.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-l1.jibchain.net","https://jib-rpc.inan.in.th"],shortName:"jbc",slug:"jibchain-l1",testnet:!1},lyt={chain:"ALG",chainId:8911,explorers:[{name:"algscan",url:"https://scan.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8911,rpc:["https://8911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.algen.network"],shortName:"alg",slug:"algen",testnet:!1},uyt={chain:"ALG",chainId:8912,explorers:[{name:"algscan",url:"https://scan.test.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen Testnet",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8912,rpc:["https://8912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.algen.network"],shortName:"algTest",slug:"algen-testnet",testnet:!0},pyt={chain:"ALG L2",chainId:8921,explorers:[{name:"algl2scan",url:"https://scan.alg2.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen Layer2",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8921,parent:{type:"shard",chain:"eip155-8911"},rpc:["https://8921.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alg2.algen.network"],shortName:"algl2",slug:"algen-layer2",testnet:!1},hyt={chain:"ALG L2",chainId:8922,explorers:[{name:"algl2scan",url:"https://scan.alg2-test.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen Layer2 Testnet",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8922,parent:{type:"shard",chain:"eip155-8921"},rpc:["https://8922.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alg2-test.algen.network"],shortName:"algl2Test",slug:"algen-layer2-testnet",testnet:!0},byt={chain:"GMMT",chainId:8989,explorers:[{name:"gmmtscan",url:"https://scan.gmmtchain.io",standard:"EIP3091",icon:{url:"ipfs://QmVth4aPeskDTFqRifUugJx6gyEHCmx2PFbMWUtsCSQFkF",width:468,height:518,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVth4aPeskDTFqRifUugJx6gyEHCmx2PFbMWUtsCSQFkF",width:468,height:518,format:"png"},infoURL:"https://gmmtchain.io/",name:"Giant Mammoth Mainnet",nativeCurrency:{name:"Giant Mammoth Coin",symbol:"GMMT",decimals:18},networkId:8989,rpc:["https://8989.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-asia.gmmtchain.io"],shortName:"gmmt",slug:"giant-mammoth",testnet:!1,title:"Giant Mammoth Chain"},myt={chain:"bloxberg",chainId:8995,explorers:[],faucets:["https://faucet.bloxberg.org/"],infoURL:"https://bloxberg.org",name:"bloxberg",nativeCurrency:{name:"BERG",symbol:"U+25B3",decimals:18},networkId:8995,rpc:["https://8995.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://core.bloxberg.org"],shortName:"berg",slug:"bloxberg",testnet:!1},yyt={chain:"Evmos",chainId:9e3,explorers:[{name:"Evmos Explorer (Escan)",url:"https://testnet.escan.live",standard:"none",icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"}}],faucets:["https://faucet.evmos.dev"],icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"},infoURL:"https://evmos.org",name:"Evmos Testnet",nativeCurrency:{name:"test-Evmos",symbol:"tEVMOS",decimals:18},networkId:9e3,rpc:["https://9000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmos-testnet.lava.build","https://eth.bd.evmos.dev:8545"],shortName:"evmos-testnet",slip44:1,slug:"evmos-testnet",testnet:!0},gyt={chain:"Evmos",chainId:9001,explorers:[{name:"Evmos Explorer (Escan)",url:"https://escan.live",standard:"none",icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"},infoURL:"https://evmos.org",name:"Evmos",nativeCurrency:{name:"Evmos",symbol:"EVMOS",decimals:18},networkId:9001,rpc:["https://9001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmos.lava.build","wss://evmos.lava.build/websocket","https://evmos-evm.publicnode.com","wss://evmos-evm.publicnode.com"],shortName:"evmos",slug:"evmos",testnet:!1},vyt={chain:"Shido Testnet",chainId:9007,explorers:[{name:"Shidoblock Testnet Explorer",url:"https://testnet.shidoscan.com",standard:"none",icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"}}],faucets:["https://testnet.shidoscan.com/faucet"],icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"},infoURL:"https://www.nexablock.io",name:"Shido Testnet Block",nativeCurrency:{name:"Shido Testnet Token",symbol:"SHIDO",decimals:18},networkId:9007,rpc:["https://9007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet-nodes.shidoscan.com","wss://wss-testnet-nodes.shidoscan.com"],shortName:"ShidoTestnet",slug:"shido-testnet-block",testnet:!0},wyt={chain:"Shido Mainnet",chainId:9008,explorers:[{name:"Shidoblock Mainnet Explorer",url:"https://shidoscan.com",standard:"none",icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"},infoURL:"https://shido.io",name:"Shido Mainnet Block",nativeCurrency:{name:"Shido Mainnet Token",symbol:"SHIDO",decimals:18},networkId:9008,rpc:["https://9008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nodes.shidoscan.com","wss://wss-nodes.shidoscan.com","https://rpc-delta-nodes.shidoscan.com","wss://wss-delta-nodes.shidoscan.com"],shortName:"Shido",slug:"shido-block",testnet:!1},Tyt={chain:"BRB",chainId:9012,explorers:[{name:"berylbit-explorer",url:"https://explorer.berylbit.io",standard:"EIP3091"}],faucets:["https://t.me/BerylBit"],icon:{url:"ipfs://QmeDXHkpranzqGN1BmQqZSrFp4vGXf4JfaB5iq8WHHiwDi",width:162,height:162,format:"png"},infoURL:"https://www.beryl-bit.com",name:"BerylBit Mainnet",nativeCurrency:{name:"BerylBit Chain Native Token",symbol:"BRB",decimals:18},networkId:9012,rpc:["https://9012.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.berylbit.io"],shortName:"brb",slug:"berylbit",testnet:!1},xyt={chain:"Nexa Testnet",chainId:9024,explorers:[{name:"Nexablock Testnet Explorer",url:"https://testnet.nexablockscan.io",standard:"none",icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"}}],faucets:["https://testnet.nexablockscan.io/faucet"],icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"},infoURL:"https://www.nexablock.io",name:"Nexa Testnet Block",nativeCurrency:{name:"Nexa Testnet Token",symbol:"NEXB",decimals:18},networkId:9024,rpc:["https://9024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet-nodes.nexablockscan.io"],shortName:"NexaTestnet",slug:"nexa-testnet-block",testnet:!0},Eyt={chain:"Nexa Mainnet",chainId:9025,explorers:[{name:"Nexablock Mainnet Explorer",url:"https://nexablockscan.io",standard:"none",icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"},infoURL:"https://www.nexablock.io",name:"Nexa Mainnet Block",nativeCurrency:{name:"Nexa Mainnet Token",symbol:"NEXB",decimals:18},networkId:9025,rpc:["https://9025.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nodes.nexablockscan.io","wss://wss-nodes.nexablockscan.io","https://rpc-nodes-delta.nexablockscan.io"],shortName:"Nexa",slug:"nexa-block",testnet:!1},_yt={chain:"Genesis",chainId:9100,explorers:[],faucets:[],infoURL:"https://genesis-gn.com",name:"Genesis Coin",nativeCurrency:{name:"GN Coin",symbol:"GNC",decimals:18},networkId:9100,rpc:["https://9100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://genesis-gn.com","wss://genesis-gn.com"],shortName:"GENEC",slug:"genesis-coin",testnet:!1},Ayt={chain:"FIRE",chainId:9170,explorers:[],faucets:["https://faucet.thefirechain.com"],icon:{url:"ipfs://QmRnnw2gtbU9TWJMLJ6tks7SN6HQV5rRugeoyN6csTYHt1",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Rinia Testnet Old",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:9170,rpc:[],shortName:"_old_tfire",slip44:1,slug:"rinia-testnet-old",status:"deprecated",testnet:!0},Cyt={chain:"COF",chainId:9223,explorers:[{name:"Codefin Net Explorer",url:"https://explorer.codefin.pro",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVyAuAnKKNnGEpqeYMLPRfMdysLgPBTZeEXihXbRytGhp",width:1024,height:1024,format:"png"},infoURL:"https://network.codefin.pro",name:"Codefin Mainnet",nativeCurrency:{name:"Codefin",symbol:"COF",decimals:18},networkId:9223,rpc:["https://9223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.codefin.pro"],shortName:"COF",slug:"codefin",testnet:!1},Iyt={chain:"Avalanche",chainId:9294,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"TQO",decimals:18},networkId:9294,redFlags:[],rpc:["https://9294.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet",testnet:!0},kyt={chain:"DOGS",chainId:9339,explorers:[{name:"Dogcoin",url:"https://testnet.dogcoin.network",standard:"EIP3091"}],faucets:["https://faucet.dogcoin.network"],icon:{url:"ipfs://QmZCadkExKThak3msvszZjo6UnAbUJKE61dAcg4TixuMC3",width:160,height:171,format:"png"},infoURL:"https://dogcoin.network",name:"Dogcoin Testnet",nativeCurrency:{name:"Dogcoin",symbol:"DOGS",decimals:18},networkId:9339,rpc:["https://9339.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.dogcoin.me"],shortName:"DOGSt",slip44:1,slug:"dogcoin-testnet",testnet:!0},Syt={chain:"ETH",chainId:9393,explorers:[{name:"basescout",url:"https://sepolia-delascan.deperp.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZQbfJfxYez8iQyVsB65y7ZTssKbgUpMXzPTEk5xGDwQB",width:600,height:600,format:"png"},infoURL:"https://www.deperp.com/dela",name:"Dela Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:9393,rpc:["https://9393.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-dela.deperp.com"],shortName:"delasep",slip44:1,slug:"dela-sepolia-testnet",testnet:!0},Ryt={chain:"MTHN",chainId:9395,explorers:[{name:"Evoke SmartChain Explorer",url:"https://explorer.evokescan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreia5q26knsvxgkwxze7woepvsqat5n2hodokh4ozzphmhexqez5s34",width:100,height:100,format:"png"},infoURL:"https://explorer.evokescan.org",name:"Evoke Mainnet",nativeCurrency:{name:"MTHN",symbol:"MTHN",decimals:18},networkId:9395,rpc:["https://9395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.evokescan.org"],shortName:"MTHN",slug:"evoke",testnet:!1},Myt={chain:"Rangers",chainId:9527,explorers:[{name:"rangersscan-robin",url:"https://robin-rangersscan.rangersprotocol.com",standard:"none"}],faucets:["https://robin-faucet.rangersprotocol.com"],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"Rangers Protocol Testnet Robin",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"tRPG",decimals:18},networkId:9527,rpc:["https://9527.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://robin.rangersprotocol.com/api/jsonrpc"],shortName:"trpg",slip44:1,slug:"rangers-protocol-testnet-robin",testnet:!0},Byt={chain:"QET",chainId:9528,explorers:[{name:"QEasyWeb3 Explorer",url:"https://www.qeasyweb3.com",standard:"EIP3091"}],faucets:["http://faucet.qeasyweb3.com"],infoURL:"https://www.qeasyweb3.com",name:"QEasyWeb3 Testnet",nativeCurrency:{name:"QET",symbol:"QET",decimals:18},networkId:9528,rpc:["https://9528.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://qeasyweb3.com"],shortName:"QETTest",slip44:1,slug:"qeasyweb3-testnet",testnet:!0},Dyt={chain:"Avalanche",chainId:9543,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4523",nativeCurrency:{name:"QaUser4523 Token",symbol:"NBW",decimals:18},networkId:9543,redFlags:[],rpc:["https://9543.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4523",slug:"qauser4523",testnet:!0},Pyt={chain:"Neonlink",chainId:9559,explorers:[{name:"Neon Blockchain Explorer",url:"https://testnet-scan.neonlink.io",standard:"EIP3091",icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"}}],faucets:["https://faucet.neonlink.io/"],icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"},infoURL:"https://neonlink.io",name:"Neonlink Testnet",nativeCurrency:{name:"Neonlink Native Token",symbol:"tNEON",decimals:18},networkId:9559,rpc:["https://9559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.neonlink.io"],shortName:"testneon",slip44:1,slug:"neonlink-testnet",testnet:!0},Lyt={chain:"MainnetDev",chainId:9700,explorers:[{name:"Oort MainnetDev Scan",url:"https://dev-scan.oortech.com",standard:"none",icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"},infoURL:"https://oortech.com",name:"Oort MainnetDev",nativeCurrency:{name:"Oort",symbol:"OORT",decimals:18},networkId:9700,rpc:["https://9700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dev-rpc.oortech.com"],shortName:"MainnetDev",slug:"oort-dev",testnet:!1,title:"Oort MainnetDev"},Fyt={chain:"Boba BNB Testnet",chainId:9728,explorers:[{name:"Boba BNB Testnet block explorer",url:"https://testnet.bobascan.com",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba BNB Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:9728,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://9728.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bnb.boba.network","wss://wss.testnet.bnb.boba.network","https://replica.testnet.bnb.boba.network","wss://replica-wss.testnet.bnb.boba.network","https://boba-bnb-testnet.gateway.tenderly.co","wss://boba-bnb-testnet.gateway.tenderly.co"],shortName:"BobaBnbTestnet",slip44:1,slug:"boba-bnb-testnet",testnet:!0},Nyt={chain:"NetZ",chainId:9768,explorers:[{name:"MainnetZ",url:"https://testnet.mainnetz.io",standard:"EIP3091"}],faucets:["https://faucet.mainnetz.io"],icon:{url:"ipfs://QmT5gJ5weBiLT3GoYuF5yRTRLdPLCVZ3tXznfqW7M8fxgG",width:400,height:400,format:"png"},infoURL:"https://testnet.mainnetz.io",name:"MainnetZ Testnet",nativeCurrency:{name:"MainnetZ",symbol:"NetZ",decimals:18},networkId:9768,rpc:["https://9768.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.mainnetz.io"],shortName:"NetZt",slip44:1,slug:"z-testnet",testnet:!0},Oyt={chain:"PepeNetwork",chainId:9779,explorers:[{name:"Pepe Explorer",url:"https://explorer.pepenetwork.io",standard:"none",icon:{url:"ipfs://QmPX3uipdwd195z1MJff7uj8hpZdSuVvM5z47eiz2o7Gz5",width:960,height:944,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPX3uipdwd195z1MJff7uj8hpZdSuVvM5z47eiz2o7Gz5",width:960,height:944,format:"png"},infoURL:"https://pepenetwork.io",name:"PepeNetwork Mainnet",nativeCurrency:{name:"Pepe",symbol:"WPEPE",decimals:18},networkId:9779,rpc:["https://9779.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.pepenetwork.io"],shortName:"pn",slug:"pepenetwork",testnet:!1},Uyt={chain:"ETH",chainId:9789,explorers:[{name:"Tabi Testnet Explorer",url:"https://testnet.tabiscan.com",standard:"none"},{name:"Tabi Testnet Explorer",url:"https://testnet.tabiscan.com/",standard:"EIP3091"}],faucets:["https://faucet.testnet.tabichain.com"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://www.tabichain.com",name:"Tabichain",nativeCurrency:{name:"TABI",symbol:"TABI",decimals:18},networkId:9789,redFlags:[],rpc:["https://9789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.tabichain.com"],shortName:"tabichain",slug:"tabichain",testnet:!0},Hyt={chain:"Carbon",chainId:9790,explorers:[],faucets:[],icon:{url:"ipfs://QmQUHqi1gyuTuKmJQHqt9EyhN1FPmmmLNUK8u93nMGrxAy",width:1600,height:1600,format:"png"},infoURL:"https://carbon.network/",name:"Carbon EVM",nativeCurrency:{name:"swth",symbol:"SWTH",decimals:18},networkId:9790,rpc:["https://9790.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-api.carbon.network/"],shortName:"carbon",slug:"carbon-evm",testnet:!1},zyt={chain:"Carbon",chainId:9792,explorers:[],faucets:[],icon:{url:"ipfs://QmQUHqi1gyuTuKmJQHqt9EyhN1FPmmmLNUK8u93nMGrxAy",width:1600,height:1600,format:"png"},infoURL:"https://carbon.network/",name:"Carbon EVM Testnet",nativeCurrency:{name:"swth",symbol:"SWTH",decimals:18},networkId:9792,rpc:["https://9792.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-evm-api.carbon.network/"],shortName:"carbon-testnet",slip44:1,slug:"carbon-evm-testnet",testnet:!0},Wyt={chain:"tIMP",chainId:9818,explorers:[{name:"IMPERIUM TESTNET Explorer",url:"https://network.impscan.com",standard:"none",icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"}}],faucets:["https://faucet.imperiumchain.com/"],icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"},infoURL:"https://imperiumchain.com",name:"IMPERIUM TESTNET",nativeCurrency:{name:"tIMP",symbol:"tIMP",decimals:18},networkId:9818,rpc:["https://9818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-aws-testnet.imperiumchain.com","https://data-aws2-testnet.imperiumchain.com"],shortName:"tIMP",slip44:1,slug:"imperium-testnet",testnet:!0},qyt={chain:"IMP",chainId:9819,explorers:[{name:"IMPERIUM Explorer",url:"https://impscan.com",standard:"none",icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"}}],faucets:["https://faucet.imperiumchain.com/"],icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"},infoURL:"https://imperiumchain.com",name:"IMPERIUM MAINNET",nativeCurrency:{name:"IMP",symbol:"IMP",decimals:18},networkId:9819,rpc:["https://9819.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-aws-mainnet.imperiumchain.com","https://data-aws2-mainnet.imperiumchain.com"],shortName:"IMP",slug:"imperium",testnet:!1},jyt={chain:"Avalanche",chainId:9872,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0507 Testnet",nativeCurrency:{name:"QaUser0507 Testnet Token",symbol:"KQA",decimals:18},networkId:9872,redFlags:[],rpc:["https://9872.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0507 Testnet",slug:"qauser0507-testnet",testnet:!0},Gyt={chain:"Dogelayer",chainId:9888,explorers:[{name:"Dogelayer mainnet explorer",url:"https://dl-explorer.dogelayer.org",standard:"EIP3091"}],faucets:[],infoURL:"https://dogelayer.org",name:"Dogelayer Mainnet",nativeCurrency:{name:"Dogecoin",symbol:"DOGE",decimals:18},networkId:9888,rpc:["https://9888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dl-rpc.dogelayer.org"],shortName:"Dogelayer",slug:"dogelayer",testnet:!1},Kyt={chain:"Larissa",chainId:9898,explorers:[{name:"Larissa Scan",url:"https://scan.larissa.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZTWoZ3LvivSinaJ4aSwqU8pCXw8oSZNnUCh4wwXxtAoQ",width:500,height:500,format:"png"},infoURL:"https://larissa.network",name:"Larissa Chain",nativeCurrency:{name:"Larissa",symbol:"LRS",decimals:18},networkId:1,rpc:["https://9898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.larissa.network"],shortName:"lrs",slip44:9898,slug:"larissa-chain",status:"active",testnet:!1,title:"Larissa Chain"},Qyt={chain:"SPENT",chainId:9911,explorers:[{name:"escscan",url:"https://escscan.com",standard:"EIP3091",icon:{url:"ipfs://QmVvQdmAj6GNQjP1dsxQKbA7xgzqsciooGTQtQ2RsJ37Lf",width:335,height:335,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmVvQdmAj6GNQjP1dsxQKbA7xgzqsciooGTQtQ2RsJ37Lf",width:335,height:335,format:"svg"},infoURL:"https://espento.network",name:"Espento Mainnet",nativeCurrency:{name:"ESPENTO",symbol:"SPENT",decimals:18},networkId:9911,rpc:["https://9911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.escscan.com/"],shortName:"spent",slug:"espento",testnet:!1},Vyt={chain:"tMIND",chainId:9977,explorers:[{name:"Mind Chain explorer",url:"https://testnet.mindscan.info",standard:"EIP3091"}],faucets:["https://faucet.mindchain.info/"],icon:{url:"ipfs://QmX2b4CzNyrNgy4ERBEteSS9MsuYNVYeq2sSMMiogGjbFP",width:732,height:732,format:"jpg"},infoURL:"https://mindchain.info",name:"Mind Smart Chain Testnet",nativeCurrency:{name:"MIND Coin",symbol:"tMIND",decimals:18},networkId:9977,rpc:["https://9977.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-msc.mindchain.info/","wss://testnet-msc.mindchain.info/ws"],shortName:"tMIND",slip44:1,slug:"mind-smart-chain-testnet",testnet:!0},Yyt={chain:"Combo",chainId:9980,explorers:[{name:"combotrace explorer",url:"https://combotrace.nodereal.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRR4v6h6z21BpgS9xY3ExLB4Gkmm3i3dJWQx27oTGifq8",width:800,height:693,format:"png"},infoURL:"https://combonetwork.io",name:"Combo Mainnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"BNB",decimals:18},networkId:9980,rpc:["https://9980.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.combonetwork.io"],shortName:"combo-mainnet",slug:"combo",testnet:!1},$yt={chain:"Avalanche",chainId:9981,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4131",nativeCurrency:{name:"QaUser4131 Token",symbol:"SGT",decimals:18},networkId:9981,redFlags:[],rpc:["https://9981.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4131",slug:"qauser4131",testnet:!0},Jyt={chain:"Agung",chainId:9990,explorers:[{name:"Polkadot.js",url:"https://polkadot.js.org/apps/?rpc=wss://wsspc1-qa.agung.peaq.network#/explorer",standard:"none"},{name:"Subscan",url:"https://agung.subscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreibkqdof3ztkdhgukwvkacwgrjb27e23hgz5c6mmudzu5hipyvgisa",width:256,height:256,format:"png"},infoURL:"https://www.peaq.network",name:"Agung Network",nativeCurrency:{name:"Agung",symbol:"AGNG",decimals:18},networkId:9990,rpc:["https://9990.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcpc1-qa.agung.peaq.network"],shortName:"AGNG",slug:"agung-network",testnet:!1},Xyt={chain:"MIND",chainId:9996,explorers:[{name:"Mind Chain explorer",url:"https://mainnet.mindscan.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmX2b4CzNyrNgy4ERBEteSS9MsuYNVYeq2sSMMiogGjbFP",width:732,height:732,format:"jpg"},infoURL:"https://mindchain.info",name:"Mind Smart Chain Mainnet",nativeCurrency:{name:"MIND Coin",symbol:"MIND",decimals:18},networkId:9996,rpc:["https://9996.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-msc.mindchain.info/","https://seednode.mindchain.info","https://archive.mindchain.info/","wss://archive.mindchain.info/ws","wss://seednode.mindchain.info/ws"],shortName:"MIND",slug:"mind-smart-chain",testnet:!1},Zyt={chain:"ETH",chainId:9997,explorers:[{name:"blockscout",url:"https://testnet-rollup-explorer.altlayer.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcEfZJU7NMn9ycTAcEooQgGNfa2nYBToSUZHdFCFadcjb",width:1080,height:1025,format:"png"},infoURL:"https://altlayer.io",name:"AltLayer Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:9997,rpc:["https://9997.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rollup-api.altlayer.io"],shortName:"alt-testnet",slip44:1,slug:"altlayer-testnet",testnet:!0},e7t={chain:"ZTC",chainId:9998,explorers:[],faucets:[],infoURL:"https://ztc.best",name:"Ztc Mainnet",nativeCurrency:{name:"Ztcer",symbol:"ZTC",decimals:5},networkId:9998,rpc:["https://9998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zitcoin.us"],shortName:"ZTC",slug:"ztc",testnet:!1},t7t={chain:"myOwn",chainId:9999,explorers:[],faucets:[],infoURL:"https://docs.bccloud.net/",name:"myOwn Testnet",nativeCurrency:{name:"MYN",symbol:"MYN",decimals:18},networkId:9999,rpc:["https://9999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geth.dev.bccloud.net"],shortName:"myn",slip44:1,slug:"myown-testnet",testnet:!0},n7t={chain:"smartBCH",chainId:1e4,explorers:[],faucets:[],infoURL:"https://smartbch.org/",name:"Smart Bitcoin Cash",nativeCurrency:{name:"Bitcoin Cash",symbol:"BCH",decimals:18},networkId:1e4,rpc:["https://10000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://smartbch.greyh.at","https://rpc-mainnet.smartbch.org","https://smartbch.fountainhead.cash/mainnet","https://smartbch.devops.cash/mainnet"],shortName:"smartbch",slug:"smart-bitcoin-cash",testnet:!1},a7t={chain:"smartBCHTest",chainId:10001,explorers:[],faucets:[],infoURL:"http://smartbch.org/",name:"Smart Bitcoin Cash Testnet",nativeCurrency:{name:"Bitcoin Cash Test Token",symbol:"BCHT",decimals:18},networkId:10001,rpc:["https://10001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.smartbch.org","https://smartbch.devops.cash/testnet"],shortName:"smartbchtest",slip44:1,slug:"smart-bitcoin-cash-testnet",testnet:!0},r7t={chain:"GonChain",chainId:10024,explorers:[{name:"Gon Explorer",url:"https://gonscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmPtiJGaApbW3ATZhPW3pKJpw3iGVrRGsZLWhrDKF9ZK18",width:1024,height:1024,format:"png"},name:"Gon Chain",nativeCurrency:{name:"Gon Token",symbol:"GT",decimals:18},networkId:10024,rpc:["https://10024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.testnet.gaiaopen.network","https://node1.mainnet.gon.network","https://node2.mainnet.gon.network","https://node3.mainnet.gon.network","https://node4.mainnet.gon.network"],shortName:"gon",slug:"gon-chain",testnet:!0},f7t={chain:"Avalanche",chainId:10036,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Innovo Markets Mainnet",nativeCurrency:{name:"Innovo Markets Mainnet Token",symbol:"INN",decimals:18},networkId:10036,redFlags:[],rpc:["https://10036.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/innovo/mainnet/rpc"],shortName:"Innovo Markets Mainnet",slug:"innovo-markets",testnet:!1},i7t={chain:"Avalanche",chainId:10050,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0327S1D Testnet",nativeCurrency:{name:"QR0327S1D Testnet Token",symbol:"WZL",decimals:18},networkId:10050,redFlags:[],rpc:["https://10050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0327s1dt/testnet/rpc"],shortName:"QR0327S1D Testnet",slug:"qr0327s1d-testnet",testnet:!0},s7t={chain:"JOCT",chainId:10081,explorers:[{name:"Testnet Block Explorer",url:"https://explorer.testnet.japanopenchain.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.japanopenchain.org/",name:"Japan Open Chain Testnet",nativeCurrency:{name:"Japan Open Chain Testnet Token",symbol:"JOCT",decimals:18},networkId:10081,rpc:["https://10081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.testnet.japanopenchain.org:8545","https://rpc-2.testnet.japanopenchain.org:8545"],shortName:"joct",slip44:1,slug:"japan-open-chain-testnet",testnet:!0},o7t={chain:"ETH",chainId:10086,explorers:[],faucets:[],infoURL:"https://sjis.me",name:"SJATSH",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:10086,rpc:["https://10086.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://geth.free.idcfengye.com"],shortName:"SJ",slug:"sjatsh",testnet:!1},c7t={chain:"GEN",chainId:10101,explorers:[],faucets:[],infoURL:"https://www.xixoio.com/",name:"Blockchain Genesis Mainnet",nativeCurrency:{name:"GEN",symbol:"GEN",decimals:18},networkId:10101,rpc:["https://10101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eu.mainnet.xixoio.com","https://us.mainnet.xixoio.com","https://asia.mainnet.xixoio.com"],shortName:"GEN",slug:"blockchain-genesis",testnet:!1},d7t={chain:"Avalanche",chainId:10154,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405023 Interop",nativeCurrency:{name:"QIM2405023 Interop Token",symbol:"UZP",decimals:18},networkId:10154,redFlags:[],rpc:["https://10154.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405023 Interop",slug:"qim2405023-interop",testnet:!0},l7t={chain:"GNO",chainId:10200,explorers:[{name:"blockscout",url:"https://gnosis-chiado.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://gnosisfaucet.com"],icon:{url:"ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm",width:1800,height:1800,format:"png"},infoURL:"https://docs.gnosischain.com",name:"Gnosis Chiado Testnet",nativeCurrency:{name:"Chiado xDAI",symbol:"XDAI",decimals:18},networkId:10200,rpc:["https://10200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chiadochain.net","https://rpc.chiado.gnosis.gateway.fm","wss://rpc.chiadochain.net/wss","https://gnosis-chiado-rpc.publicnode.com","wss://gnosis-chiado-rpc.publicnode.com","https://gnosis-chiado.drpc.org","wss://gnosis-chiado.drpc.org"],shortName:"chi",slip44:1,slug:"gnosis-chiado-testnet",testnet:!0},u7t={chain:"MaxxChain",chainId:10201,explorers:[{name:"MaxxChain Block Explorer",url:"https://explorer.maxxchain.org",standard:"EIP3091"}],faucets:["https://faucet.maxxchain.org"],icon:{url:"ipfs://QmRhQG9TZrXDdbQeTzBmjg3pqgwaD5TKVZj8k4kaz8AoZx",width:1021,height:1021,format:"png"},infoURL:"https://www.maxxchain.org/",name:"MaxxChain Mainnet",nativeCurrency:{name:"Power",symbol:"PWR",decimals:18},networkId:10201,rpc:["https://10201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.maxxchain.org","https://rpc1.maxxchain.org","https://rpc2.maxxchain.org"],shortName:"PWR",slug:"maxxchain",testnet:!1},p7t={chain:"AA",chainId:10242,explorers:[{name:"blockscout",url:"https://explorer.arthera.net",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYQp3e52KjkT4bYdAvB6ACEEpXs2D8DozsDitaADRY2Ak",width:1024,height:998,format:"png"},infoURL:"https://docs.arthera.net/build/developing-sc/using-hardhat",name:"Arthera Mainnet",nativeCurrency:{name:"Arthera",symbol:"AA",decimals:18},networkId:10242,rpc:["https://10242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.arthera.net"],shortName:"aa",slip44:10242,slug:"arthera",testnet:!1},h7t={chain:"AA",chainId:10243,explorers:[{name:"blockscout",url:"https://explorer-test.arthera.net",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://faucet.arthera.net"],icon:{url:"ipfs://QmYQp3e52KjkT4bYdAvB6ACEEpXs2D8DozsDitaADRY2Ak",width:1024,height:998,format:"png"},infoURL:"https://docs.arthera.net",name:"Arthera Testnet",nativeCurrency:{name:"Arthera",symbol:"AA",decimals:18},networkId:10243,rpc:["https://10243.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.arthera.net"],shortName:"aat",slip44:1,slug:"arthera-testnet",testnet:!0},b7t={chain:"0XTade Chain",chainId:10248,explorers:[{name:"0xtrade Scan",url:"https://www.0xtscan.com",standard:"none"}],faucets:[],infoURL:"https://www.0xtrade.finance/",name:"0XTade",nativeCurrency:{name:"0XT",symbol:"0XT",decimals:18},networkId:10248,rpc:["https://10248.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.0xtchain.com"],shortName:"0xt",slug:"0xtade",testnet:!1},m7t={chain:"Avalanche",chainId:10255,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Coqnet Testnet",nativeCurrency:{name:"Coqnet Testnet Token",symbol:"COQ",decimals:18},networkId:10255,redFlags:[],rpc:["https://10255.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/coqnet/testnet/rpc"],shortName:"Coqnet Testnet",slug:"coqnet-testnet",testnet:!0},y7t={chain:"TAO EVM",chainId:10321,explorers:[{name:"TAO Mainnet Explorer",url:"https://taoscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmS78hUX5zqYDqoFgyVmtWpCcx7bZW86Nhw5Nqt2GJrLh2",width:256,height:234,format:"png"},infoURL:"https://taoevm.io",name:"TAO EVM Mainnet",nativeCurrency:{name:"TAO",symbol:"TAO",decimals:18},networkId:10321,rpc:["https://10321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.taoevm.io"],shortName:"TAOm",slug:"tao-evm",testnet:!1},g7t={chain:"TAO EVM",chainId:10324,explorers:[{name:"TAO Testnet Explorer",url:"https://testnet.taoscan.org",standard:"EIP3091"}],faucets:["https://faucet.taoevm.io"],icon:{url:"ipfs://QmS78hUX5zqYDqoFgyVmtWpCcx7bZW86Nhw5Nqt2GJrLh2",width:256,height:234,format:"png"},infoURL:"https://taoevm.io",name:"TAO EVM Testnet",nativeCurrency:{name:"TAO",symbol:"TAO",decimals:18},networkId:10324,rpc:["https://10324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.taoevm.io"],shortName:"TAOt",slug:"tao-evm-testnet",testnet:!0},v7t={chain:"Worldland",chainId:10395,explorers:[{name:"Worldland Explorer",url:"https://testscan.worldland.foundation",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYZNTfK3byhgLsTjXP8vPubVHRz2CWsBrTJxZrQmKq6JZ",width:3509,height:2482,format:"png"},infoURL:"https://worldland.foundation",name:"WorldLand Testnet",nativeCurrency:{name:"Worldland",symbol:"WLC",decimals:18},networkId:10395,rpc:["https://10395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gwangju.worldland.foundation"],shortName:"TWLC",slip44:1,slug:"worldland-testnet",testnet:!0},w7t={chain:"NUM",chainId:10507,explorers:[{name:"ethernal",url:"https://mainnet.num.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreie3ba6ofosjqqiya6empkyw6u5xdrtcfzi2evvyt4u6utzeiezyhi",width:1500,height:1500,format:"png"},infoURL:"https://numbersprotocol.io",name:"Numbers Mainnet",nativeCurrency:{name:"NUM Token",symbol:"NUM",decimals:18},networkId:10507,rpc:["https://10507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnetrpc.num.network"],shortName:"Jade",slug:"numbers",testnet:!1},T7t={chain:"NUM",chainId:10508,explorers:[{name:"ethernal",url:"https://testnet.num.network",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=num","https://faucet.num.network"],icon:{url:"ipfs://bafkreie3ba6ofosjqqiya6empkyw6u5xdrtcfzi2evvyt4u6utzeiezyhi",width:1500,height:1500,format:"png"},infoURL:"https://numbersprotocol.io",name:"Numbers Testnet",nativeCurrency:{name:"NUM Token",symbol:"NUM",decimals:18},networkId:10508,rpc:["https://10508.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetrpc.num.network"],shortName:"Snow",slip44:1,slug:"numbers-testnet",testnet:!0},x7t={chain:"Avalanche",chainId:10671,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 12131",nativeCurrency:{name:"QI M 12131 Token",symbol:"XVL",decimals:18},networkId:10671,redFlags:[],rpc:["https://10671.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/c3c8cc74-5101-4380-937f-4f534cad0128"],shortName:"QI M 12131",slug:"qi-m-12131",testnet:!0},E7t={chain:"CCP",chainId:10823,explorers:[{name:"CCP Explorer",url:"https://cryptocoinpay.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPw1ixYYeXvTiRWoCt2jWe4YMd3B5o7TzL18SBEHXvhXX",width:200,height:200,format:"png"},infoURL:"https://www.cryptocoinpay.co",name:"CryptoCoinPay",nativeCurrency:{name:"CryptoCoinPay",symbol:"CCP",decimals:18},networkId:10823,rpc:["https://10823.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://node106.cryptocoinpay.info:8545","ws://node106.cryptocoinpay.info:8546"],shortName:"CCP",slug:"cryptocoinpay",testnet:!1},_7t={chain:"Avalanche",chainId:10849,explorers:[{name:"Lamina1 Explorer",url:"https://subnets.avax.network/lamina1",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1",nativeCurrency:{name:"Lamina1 Token",symbol:"L",decimals:18},networkId:10849,redFlags:[],rpc:["https://10849.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1/mainnet/rpc"],shortName:"Lamina1",slip44:1,slug:"lamina1",testnet:!1},A7t={chain:"Avalanche",chainId:10850,explorers:[{name:"Lamina1 Identity Explorer",url:"https://subnets.avax.network/lamina1id",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1 Identity",nativeCurrency:{name:"Lamina1 Identity Token",symbol:"LID",decimals:18},networkId:10850,redFlags:[],rpc:["https://10850.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1id/mainnet/rpc"],shortName:"Lamina1 Identity",slip44:1,slug:"lamina1-identity",testnet:!1},C7t={chain:"QDC",chainId:10946,explorers:[{name:"explorer",url:"https://explorer.quadrans.io",standard:"EIP3091",icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"},infoURL:"https://quadrans.io",name:"Quadrans Blockchain",nativeCurrency:{name:"Quadrans Coin",symbol:"QDC",decimals:18},networkId:10946,rpc:["https://10946.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.quadrans.io","https://rpcna.quadrans.io","https://rpceu.quadrans.io"],shortName:"quadrans",slug:"quadrans-blockchain",testnet:!1},I7t={chain:"tQDC",chainId:10947,explorers:[{name:"explorer",url:"https://explorer.testnet.quadrans.io",standard:"EIP3091",icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"}}],faucets:["https://faucetpage.quadrans.io"],icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"},infoURL:"https://quadrans.io",name:"Quadrans Blockchain Testnet",nativeCurrency:{name:"Quadrans Testnet Coin",symbol:"tQDC",decimals:18},networkId:10947,rpc:["https://10947.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.quadrans.io","https://rpctest2.quadrans.io"],shortName:"quadranstestnet",slip44:1,slug:"quadrans-blockchain-testnet",testnet:!0},k7t={chain:"Astra",chainId:11110,explorers:[{name:"Astra EVM Explorer (Blockscout)",url:"https://explorer.astranaut.io",standard:"none",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}},{name:"Astra PingPub Explorer",url:"https://ping.astranaut.io/astra",standard:"none",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"},infoURL:"https://astranaut.io",name:"Astra",nativeCurrency:{name:"Astra",symbol:"ASA",decimals:18},networkId:11110,rpc:["https://11110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.astranaut.io","https://rpc1.astranaut.io"],shortName:"astra",slug:"astra",testnet:!1},S7t={chain:"WAGMI",chainId:11111,explorers:[{name:"Avalanche Subnet Explorer",url:"https://subnets-test.avax.network/wagmi",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=wagmi"],icon:{url:"ipfs://QmNoyUXxnak8B3xgFxErkVfyVEPJUMHBzq7qJcYzkUrPR4",width:1920,height:1920,format:"png"},infoURL:"https://subnets-test.avax.network/wagmi/details",name:"WAGMI",nativeCurrency:{name:"WAGMI",symbol:"WGM",decimals:18},networkId:11111,rpc:["https://11111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/wagmi/wagmi-chain-testnet/rpc"],shortName:"WAGMI",slug:"wagmi",testnet:!0},R7t={chain:"Astra",chainId:11115,explorers:[{name:"Astra EVM Explorer",url:"https://explorer.astranaut.dev",standard:"EIP3091",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}},{name:"Astra PingPub Explorer",url:"https://ping.astranaut.dev/astra",standard:"none",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}}],faucets:["https://faucet.astranaut.dev"],icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"},infoURL:"https://astranaut.io",name:"Astra Testnet",nativeCurrency:{name:"test-Astra",symbol:"tASA",decimals:18},networkId:11115,rpc:["https://11115.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.astranaut.dev"],shortName:"astra-testnet",slip44:1,slug:"astra-testnet",testnet:!0},M7t={chain:"HBIT",chainId:11119,explorers:[{name:"hashbitscan",url:"https://explorer.hashbit.org",standard:"EIP3091"}],faucets:[],infoURL:"https://hashbit.org",name:"HashBit Mainnet",nativeCurrency:{name:"HashBit Native Token",symbol:"HBIT",decimals:18},networkId:11119,rpc:["https://11119.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.hashbit.org","https://rpc.hashbit.org"],shortName:"hbit",slug:"hashbit",testnet:!1},B7t={chain:"Avalanche",chainId:11198,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304I2 Testnet",nativeCurrency:{name:"QI0304I2 Testnet Token",symbol:"LOD",decimals:18},networkId:11198,redFlags:[],rpc:["https://11198.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304I2 Testnet",slug:"qi0304i2-testnet",testnet:!0},D7t={chain:"SC20",chainId:11221,explorers:[{name:"shinescan",url:"https://shinescan.io",standard:"none",icon:{url:"ipfs://QmUBkpY3prCTZHpx1fjrYLAJ6dPaGvNVTj97iy6p3NPUi1",width:161,height:161,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUBkpY3prCTZHpx1fjrYLAJ6dPaGvNVTj97iy6p3NPUi1",width:161,height:161,format:"png"},infoURL:"https://shinechain.tech",name:"Shine Chain",nativeCurrency:{name:"Shine",symbol:"SC20",decimals:18},networkId:11221,rpc:["https://11221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shinescan.io"],shortName:"SC20",slug:"shine-chain",testnet:!1},P7t={chain:"Avalanche",chainId:11227,explorers:[{name:"JIRITSUTES Explorer",url:"https://subnets-test.avax.network/jiritsutes",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jiritsu Testnet",nativeCurrency:{name:"Jiritsu Testnet Token",symbol:"TZW",decimals:18},networkId:11227,redFlags:[],rpc:["https://11227.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jiritsutes/testnet/rpc"],shortName:"Jiritsu Testnet",slug:"jiritsu-testnet",testnet:!0},L7t={chain:"Haqq",chainId:11235,explorers:[{name:"Mainnet HAQQ Explorer",url:"https://explorer.haqq.network",standard:"EIP3091"}],faucets:[],infoURL:"https://islamiccoin.net",name:"Haqq Network",nativeCurrency:{name:"Islamic Coin",symbol:"ISLM",decimals:18},networkId:11235,rpc:["https://11235.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eth.haqq.network","https://haqq-evm-rpc.publicnode.com","wss://haqq-evm-rpc.publicnode.com","https://haqq.drpc.org","wss://haqq.drpc.org"],shortName:"ISLM",slug:"haqq-network",testnet:!1},F7t={chain:"SHYFTT",chainId:11437,explorers:[{name:"Shyft Testnet BX",url:"https://bx.testnet.shyft.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUkFZC2ZmoYPTKf7AHdjwRPZoV2h1MCuHaGM4iu8SNFpi",width:400,height:400,format:"svg"},infoURL:"https://shyft.network",name:"Shyft Testnet",nativeCurrency:{name:"Shyft Test Token",symbol:"SHYFTT",decimals:18},networkId:11437,rpc:[],shortName:"shyftt",slip44:1,slug:"shyft-testnet",testnet:!0},N7t={chain:"BEVM",chainId:11501,explorers:[{name:"bevm mainnet scan",url:"https://scan-mainnet.bevm.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfMXiYn4xF9JwdjaqM5YKhqoByox51XvnL68VvKJS6yyu",width:1e3,height:1e3,format:"png"},infoURL:"https://bevm.io",name:"BEVM Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:11501,rpc:["https://11501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-1.bevm.io/","https://rpc-mainnet-2.bevm.io/"],shortName:"bevm",slug:"bevm",testnet:!1},O7t={chain:"BEVM",chainId:11503,explorers:[{name:"bevm testnet scan",url:"https://scan-testnet.bevm.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfMXiYn4xF9JwdjaqM5YKhqoByox51XvnL68VvKJS6yyu",width:1e3,height:1e3,format:"png"},infoURL:"https://bevm.io",name:"BEVM Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:11503,rpc:["https://11503.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bevm.io/"],shortName:"bevm-test",slug:"bevm-testnet",testnet:!0},U7t={chain:"Avalanche",chainId:11516,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tenzro",nativeCurrency:{name:"Tenzro Token",symbol:"TNZO",decimals:18},networkId:11516,redFlags:[],rpc:["https://11516.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/tenzro/testnet/rpc"],shortName:"Tenzro",slug:"tenzro",testnet:!0},H7t={chain:"SRDX",chainId:11612,explorers:[{name:"Sardis",url:"https://testnet.sardisnetwork.com",standard:"EIP3091"}],faucets:["https://faucet.sardisnetwork.com"],icon:{url:"ipfs://QmdR9QJjQEh1mBnf2WbJfehverxiP5RDPWMtEECbDP2rc3",width:512,height:512,format:"png"},infoURL:"https://mysardis.com",name:"Sardis Testnet",nativeCurrency:{name:"Sardis",symbol:"SRDX",decimals:18},networkId:11612,rpc:["https://11612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.sardisnetwork.com"],shortName:"SRDXt",slip44:1,slug:"sardis-testnet",testnet:!0},z7t={chain:"Avalanche",chainId:11625,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 202402121",nativeCurrency:{name:"QI M 202402121 Token",symbol:"CYB",decimals:18},networkId:11625,redFlags:[],rpc:["https://11625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 202402121",slug:"qi-m-202402121",testnet:!0},W7t={chain:"Avalanche",chainId:11881,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2353 Testnet",nativeCurrency:{name:"QaUser2353 Testnet Token",symbol:"ODB",decimals:18},networkId:11881,redFlags:[],rpc:["https://11881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2353 Testnet",slug:"qauser2353-testnet",testnet:!0},q7t={chain:"Santiment Intelligence Network",chainId:11888,explorers:[{name:"Santiment Intelligence Explorer",url:"https://app-explorer-pos.sanr.app",standard:"none"}],faucets:[],icon:{url:"ipfs://QmPLMg5mYD8XRknvYbDkD2x7FXxYan7MPTeUWZC2CihwDM",width:2048,height:2048,format:"png"},infoURL:"https://sanr.app",name:"Santiment Intelligence Network",nativeCurrency:{name:"SANR",symbol:"SANR",decimals:18},networkId:11888,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sanr.app"}]},rpc:["https://11888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sanrchain-node.santiment.net"],shortName:"SAN",slug:"santiment-intelligence-network",testnet:!1},j7t={chain:"Arianee",chainId:11891,explorers:[{name:"Polygon Supernet Arianee Explorer",url:"https://polygonsupernet.explorer.arianee.net",standard:"EIP3091"}],faucets:[],infoURL:"https://arianee.org",name:"Polygon Supernet Arianee",nativeCurrency:{name:"Arianee",symbol:"ARIA20",decimals:18},networkId:11891,parent:{type:"L2",chain:"eip155-1"},rpc:["https://11891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.polygonsupernet.public.arianee.net"],shortName:"Arianee",slug:"polygon-supernet-arianee",testnet:!1},G7t={chain:"Avalanche",chainId:12001,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Mikias's Testnet",nativeCurrency:{name:"Mikias's Testnet Token",symbol:"XVL",decimals:18},networkId:12001,redFlags:[],rpc:["https://12001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/c3c8cc74-5101-4380-937f-4f534cad0128"],shortName:"Mikias's Testnet",slug:"mikias-s-testnet",testnet:!0},K7t={chain:"SATS",chainId:12009,explorers:[{name:"SatoshiChain Explorer",url:"https://satoshiscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRegpZQBW4o1imYNsW3d27MQjygBSU23Gf6JKje26nvs7",width:1251,height:1251,format:"png"},infoURL:"https://satoshichain.net",name:"SatoshiChain Mainnet",nativeCurrency:{name:"SatoshiChain Coin",symbol:"SATS",decimals:18},networkId:12009,rpc:["https://12009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.satoshichain.io"],shortName:"sats",slug:"satoshichain",testnet:!1},Q7t={chain:"Aternos",chainId:12020,explorers:[{name:"blockscout",url:"https://explorer.aternoschain.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://faucet.aternoschain.com"],icon:{url:"ipfs://QmUgfhv3rEsS6t9g6Lsf3TJ1mbnJqBrb8YUFPDiNG59QvT",width:1e3,height:1e3,format:"png"},infoURL:"https://aternoschain.com",name:"Aternos",nativeCurrency:{name:"Aternos",symbol:"ATR",decimals:18},networkId:12020,rpc:["https://12020.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.aternoschain.com"],shortName:"ATR",slug:"aternos",testnet:!1},V7t={chain:"Avalanche",chainId:12035,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI M 11272",nativeCurrency:{name:"QI M 11272 Token",symbol:"JZW",decimals:18},networkId:12035,redFlags:[],rpc:["https://12035.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/b19c9e32-f359-451f-ad15-7ec784625c04"],shortName:"QI M 11272",slug:"qi-m-11272",testnet:!0},Y7t={chain:"ZERO",chainId:12051,explorers:[{name:"zeroscan",url:"https://betaenv.singularity.gold:18002",standard:"EIP3091"}],faucets:["https://nft.singularity.gold"],infoURL:"https://www.singularity.gold",name:"Singularity ZERO Testnet",nativeCurrency:{name:"ZERO",symbol:"tZERO",decimals:18},networkId:12051,rpc:["https://12051.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://betaenv.singularity.gold:18545"],shortName:"tZERO",slip44:1,slug:"singularity-zero-testnet",testnet:!0},$7t={chain:"ZERO",chainId:12052,explorers:[{name:"zeroscan",url:"https://zeroscan.singularity.gold",standard:"EIP3091"}],faucets:["https://zeroscan.singularity.gold"],infoURL:"https://www.singularity.gold",name:"Singularity ZERO Mainnet",nativeCurrency:{name:"ZERO",symbol:"ZERO",decimals:18},networkId:12052,rpc:["https://12052.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zerorpc.singularity.gold"],shortName:"ZERO",slip44:621,slug:"singularity-zero",testnet:!1},J7t={chain:"Avalanche",chainId:12065,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405061 WITH INTEROPERABILITY",nativeCurrency:{name:"QIM2405061 WITH INTEROPERABILITY Token",symbol:"BLY",decimals:18},networkId:12065,redFlags:[],rpc:["https://12065.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405061 WITH INTEROPERABILITY",slug:"qim2405061-with-interoperability",testnet:!0},X7t={chain:"BRC",chainId:12123,explorers:[{name:"BRC Chain Explorer",url:"https://scan.brcchain.io",standard:"EIP3091"}],faucets:["https://faucet.brcchain.io"],icon:{url:"ipfs://QmX8qGX7xoZqYUpHxA85uZwQX2fgbTHvmddE1NfseDyBED",width:512,height:512,format:"png"},infoURL:"https://bridge.brcchain.io",name:"BRC Chain Mainnet",nativeCurrency:{name:"BRC Chain mainnet native token",symbol:"BRC",decimals:18},networkId:12123,rpc:["https://12123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.brcchain.io"],shortName:"BRC",slug:"brc-chain",testnet:!1},Z7t={chain:"FIBO",chainId:12306,explorers:[{name:"fiboscan",url:"https://scan.fibochain.org",standard:"EIP3091"}],faucets:["https://test.fibochain.org/faucets"],icon:{url:"ipfs://bafkreidiedaz3jugxmh2ylzlc4nympbd5iwab33adhwkcnblyop6vvj25y",width:1494,height:1494,format:"png"},infoURL:"https://fibochain.org",name:"Fibonacci Mainnet",nativeCurrency:{name:"FIBONACCI UTILITY TOKEN",symbol:"FIBO",decimals:18},networkId:1230,rpc:["https://12306.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.fibo-api.asia","https://node2.fibo-api.asia","https://node3.fibo-api.asia","https://node4.fibo-api.asia","https://node5.fibo-api.asia","https://node6.fibo-api.asia","https://node7.fibo-api.asia","https://node1.fibo-rpc.asia","https://node2.fibo-rpc.asia","https://node3.fibo-rpc.asia","https://node4.fibo-rpc.asia","https://node5.fibo-rpc.asia","https://node6.fibo-rpc.asia","https://node7.fibo-rpc.asia"],shortName:"fibo",slug:"fibonacci",testnet:!0},e9t={chain:"BLG",chainId:12321,explorers:[],faucets:["https://faucet.blgchain.com"],icon:{url:"ipfs://QmUN5j2cre8GHKv52JE8ag88aAnRmuHMGFxePPvKMogisC",width:512,height:512,format:"svg"},infoURL:"https://blgchain.com",name:"BLG Testnet",nativeCurrency:{name:"Blg",symbol:"BLG",decimals:18},networkId:12321,rpc:["https://12321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blgchain.com"],shortName:"blgchain",slip44:1,slug:"blg-testnet",testnet:!0},t9t={chain:"L3X",chainId:12324,explorers:[{name:"L3X Mainnet Explorer",url:"https://explorer.l3x.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmf1cim2ZvkgszKiFtmZj3K1z2YgVY7A4VtLkWw8kQxijq",width:100,height:100,format:"png"},infoURL:"https://l3x.com",name:"L3X Protocol",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:12324,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.arbitrum.io"}]},rpc:["https://12324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.l3x.com"],shortName:"l3x",slug:"l3x-protocol",testnet:!1},n9t={chain:"L3X",chainId:12325,explorers:[{name:"L3X Testnet Explorer",url:"https://explorer-testnet.l3x.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmf1cim2ZvkgszKiFtmZj3K1z2YgVY7A4VtLkWw8kQxijq",width:100,height:100,format:"png"},infoURL:"https://l3x.com",name:"L3X Protocol Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:12325,parent:{type:"L2",chain:"eip155-421614",bridges:[{url:"https://bridge.arbitrum.io"}]},rpc:["https://12325.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.l3x.com"],shortName:"l3x-testnet",slug:"l3x-protocol-testnet",testnet:!0},a9t={chain:"STEP",chainId:12345,explorers:[{name:"StepScan",url:"https://testnet.stepscan.io",standard:"EIP3091",icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"}}],faucets:["https://faucet.step.network"],icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"},infoURL:"https://step.network",name:"Step Testnet",nativeCurrency:{name:"FITFI",symbol:"FITFI",decimals:18},networkId:12345,parent:{type:"L2",chain:"eip155-43113"},rpc:["https://12345.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.step.network"],shortName:"steptest",slip44:1,slug:"step-testnet",testnet:!0,title:"Step Test Network"},r9t={chain:"RSS3",chainId:12553,explorers:[{name:"RSS3 VSL Scan",url:"https://scan.rss3.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZFWYnufi6G2Z54oJ25sx2yf2Skx5tseJHJJa6Hc1G34t",width:200,height:200,format:"svg"},infoURL:"https://rss3.io",name:"RSS3 VSL Mainnet",nativeCurrency:{name:"RSS3",symbol:"RSS3",decimals:18},networkId:12553,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://explorer.rss3.io/bridge"}]},rpc:["https://12553.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rss3.io"],shortName:"rss3",slug:"rss3-vsl",testnet:!1},f9t={chain:"Rikeza",chainId:12715,explorers:[{name:"Rikeza Blockchain explorer",url:"https://testnet.rikscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfJ1Qxpzi6CSLeFeWY1Bwe435CpT5za5WfrLUE7vNzZfy",width:512,height:512,format:"png"},infoURL:"https://rikeza.io",name:"Rikeza Network Testnet",nativeCurrency:{name:"Rikeza",symbol:"RIK",decimals:18},networkId:12715,rpc:["https://12715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.rikscan.com"],shortName:"tRIK",slip44:1,slug:"rikeza-network-testnet",testnet:!0,title:"Rikeza Network Testnet"},i9t={chain:"Avalanche",chainId:12781,explorers:[{name:"Playdapp Testnet Explorer",url:"https://subnets-test.avax.network/playdappte",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"playdapp Testnet",nativeCurrency:{name:"playdapp Testnet Token",symbol:"PDA",decimals:18},networkId:12781,redFlags:[],rpc:["https://12781.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/playdappte/testnet/rpc"],shortName:"playdapp Testnet",slug:"playdapp-testnet",testnet:!0},s9t={chain:"tQNET",chainId:12890,explorers:[{name:"Quantum Scan Testnet",url:"https://testnet.quantumscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibwywok67uewqbtqdzgr7nlk3lvvg7hxmbgwtn7kdwxe34useucvm",width:1024,height:1024,format:"png"},infoURL:"https://quantumnetwork.gg",name:"Quantum Chain Testnet",nativeCurrency:{name:"Quantum Chain",symbol:"tQNET",decimals:18},networkId:12890,rpc:["https://12890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.quantumscan.org"],shortName:"tqnet",slip44:1,slug:"quantum-chain-testnet",testnet:!0},o9t={chain:"PLAYFAIR",chainId:12898,explorers:[{name:"Avalanche Subnet Explorer",url:"https://subnets-test.avax.network/letsplayfair",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNvoUp2RWiWQzHUKrZ7SnPzwF3FbCNd3jSdpGJhQdH1y5",width:256,height:256,format:"png"},infoURL:"https://letsplayfair.ai",name:"PlayFair Testnet Subnet",nativeCurrency:{name:"BTLT Token",symbol:"BTLT",decimals:18},networkId:12898,rpc:["https://12898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.letsplayfair.ai/ext/bc/2hhXFNp1jR4RuqvCmWQnBtt9CZnCmmyGr7TNTkxt7XY7pAzHMY/rpc"],shortName:"playfair",slug:"playfair-testnet-subnet",testnet:!0},c9t={chain:"SPS",chainId:13e3,explorers:[{name:"SPS Explorer",url:"http://spsscan.ssquad.games",standard:"EIP3091"}],faucets:[],infoURL:"https://ssquad.games/",name:"SPS",nativeCurrency:{name:"ECG",symbol:"ECG",decimals:18},networkId:13e3,rpc:["https://13000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ssquad.games"],shortName:"SPS",slug:"sps",testnet:!1},d9t={chain:"CREDIT",chainId:13308,explorers:[{name:"Creditscan",url:"https://scan.creditsmartchain.com",standard:"EIP3091",icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"},infoURL:"https://creditsmartchain.com",name:"Credit Smart Chain",nativeCurrency:{name:"Credit",symbol:"CREDIT",decimals:18},networkId:13308,rpc:["https://13308.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.creditsmartchain.com"],shortName:"Credit",slug:"credit-smart-chain-credit",testnet:!1},l9t={chain:"BEAM",chainId:13337,explorers:[{name:"Beam Explorer",url:"https://subnets-test.avax.network/beam",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=beam","https://faucet.onbeam.com"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmQJ21NWyGGDraicVEzS1Uqq1yXahM9NCuNZgnfYvtspdt",width:512,height:512,format:"png"},infoURL:"https://www.onbeam.com",name:"Beam Testnet",nativeCurrency:{name:"Beam",symbol:"BEAM",decimals:18},networkId:13337,rpc:["https://13337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://build.onbeam.com/rpc/testnet","wss://build.onbeam.com/ws/testnet","https://subnets.avax.network/beam/testnet/rpc","wss://subnets.avax.network/beam/testnet/ws"],shortName:"beam-testnet",slip44:1,slug:"beam-testnet",testnet:!0},u9t={chain:"Immutable zkEVM",chainId:13371,explorers:[{name:"Immutable explorer",url:"https://explorer.immutable.com",standard:"EIP3091",icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"}}],faucets:["https://docs.immutable.com/docs/zkEVM/guides/faucet"],icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"},infoURL:"https://www.immutable.com",name:"Immutable zkEVM",nativeCurrency:{name:"IMX",symbol:"IMX",decimals:18},networkId:13371,rpc:["https://13371.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.immutable.com","https://immutable-zkevm.drpc.org","wss://immutable-zkevm.drpc.org"],shortName:"imx",slug:"immutable-zkevm",testnet:!1},p9t={chain:"Phoenix",chainId:13381,explorers:[{name:"phoenixplorer",url:"https://phoenixplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYiLMeKDXMSNuQmtxNdxm53xR588pcRXMf7zuiZLjQnc6",width:1501,height:1501,format:"png"},infoURL:"https://cryptophoenix.org/phoenix",name:"Phoenix Mainnet",nativeCurrency:{name:"Phoenix",symbol:"PHX",decimals:18},networkId:13381,rpc:["https://13381.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.phoenixplorer.com/"],shortName:"Phoenix",slug:"phoenix",testnet:!1},h9t={chain:"Avalanche",chainId:13396,explorers:[{name:"Masa Explorer",url:"https://subnets.avax.network/masa",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Masa Network ",nativeCurrency:{name:"Masa Network Token",symbol:"MASA",decimals:18},networkId:13396,redFlags:[],rpc:["https://13396.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/masanetwork/mainnet/rpc"],shortName:"Masa Network ",slug:"masa-network",testnet:!1},b9t={chain:"Immutable zkEVM",chainId:13473,explorers:[{name:"Immutable Testnet explorer",url:"https://explorer.testnet.immutable.com",standard:"EIP3091",icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"}}],faucets:["https://docs.immutable.com/docs/zkEVM/guides/faucet"],icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"},infoURL:"https://www.immutable.com",name:"Immutable zkEVM Testnet",nativeCurrency:{name:"Test IMX",symbol:"tIMX",decimals:18},networkId:13473,rpc:["https://13473.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.immutable.com","https://immutable-zkevm-testnet.drpc.org","wss://immutable-zkevm-testnet.drpc.org"],shortName:"imx-testnet",slip44:1,slug:"immutable-zkevm-testnet",testnet:!0},m9t={chain:"Gravity",chainId:13505,explorers:[{name:"Gravity Alpha Testnet Sepolia Explorer",url:"https://explorer-sepolia.gravity.xyz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"},{name:"EIP1108"}],icon:{url:"ipfs://QmU5XU4S5oaGM5fj8oU1ovhWoXCzGWspwRj2zWRTuJrU4k",width:512,height:512,format:"png"},infoURL:"https://gravity.xyz",name:"Gravity Alpha Testnet Sepolia",nativeCurrency:{name:"Sepolia Gravity",symbol:"G.",decimals:18},networkId:13505,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:["https://13505.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sepolia.gravity.xyz"],shortName:"gravitysep",slug:"gravity-alpha-testnet-sepolia",testnet:!0},y9t={chain:"KNB",chainId:13600,explorers:[{name:"qbitscan",url:"https://explorer.qbitscan.com",standard:"EIP3091",icon:{url:"ipfs://QmZEuR4bJaZkC497qQnsxHv23pZFcXb9dTdaDPCPo2sj9Z",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZEuR4bJaZkC497qQnsxHv23pZFcXb9dTdaDPCPo2sj9Z",width:200,height:200,format:"png"},infoURL:"https://kronobit.org",name:"Kronobit Mainnet",nativeCurrency:{name:"Kronobit",symbol:"KNB",decimals:18},networkId:13600,rpc:["https://13600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.qbitscan.com"],shortName:"KNB",slug:"kronobit",testnet:!1,title:"Kronobit Mainnet"},g9t={chain:"SUS",chainId:13812,explorers:[{name:"Susono",url:"http://explorer.opn.network",standard:"none"}],faucets:[],name:"Susono",nativeCurrency:{name:"Susono",symbol:"OPN",decimals:18},networkId:13812,rpc:["https://13812.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gateway.opn.network/node/ext/bc/2VsZe5DstWw2bfgdx3YbjKcMsJnNDjni95sZorBEdk9L9Qr9Fr/rpc"],shortName:"sus",slug:"susono",testnet:!1},v9t={chain:"Avalanche",chainId:13838,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"XTraderlands Subnet Tesnet",nativeCurrency:{name:"XTraderlands Subnet Tesnet Token",symbol:"XTDL",decimals:18},networkId:13838,redFlags:[],rpc:["https://13838.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xtraderlan/testnet/rpc"],shortName:"XTraderlands Subnet Tesnet",slug:"xtraderlands-subnet-tesnet",testnet:!0},w9t={chain:"SPS-Testnet",chainId:14e3,explorers:[{name:"SPS Test Explorer",url:"https://explorer.3sps.net",standard:"EIP3091"}],faucets:[],infoURL:"https://ssquad.games/",name:"SPS Testnet",nativeCurrency:{name:"ECG",symbol:"ECG",decimals:18},networkId:14e3,rpc:["https://14000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.3sps.net"],shortName:"SPS-Test",slip44:1,slug:"sps-testnet",testnet:!0},T9t={chain:"Avalanche",chainId:14255,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521S2T",nativeCurrency:{name:"QI0521S2T Token",symbol:"YFT",decimals:18},networkId:14255,redFlags:[],rpc:["https://14255.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521S2T",slug:"qi0521s2t",testnet:!0},x9t={chain:"EVO",chainId:14324,explorers:[{name:"Evolve Testnet Explorer",url:"https://testnet.evolveblockchain.io",standard:"EIP3091"}],faucets:["https://faucet.evolveblockchain.io"],icon:{url:"ipfs://QmVxtpYYzc5214CB7BgsMC4mRNRHCD8fpbNMzZguBWyRwa",width:600,height:600,format:"png"},infoURL:"https://evolveblockchain.io",name:"EVOLVE Testnet",nativeCurrency:{name:"Evolve",symbol:"EVO",decimals:18},networkId:14324,rpc:["https://14324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.evolveblockchain.io"],shortName:"evo",slug:"evolve-testnet",testnet:!0},E9t={chain:"Vitruveo",chainId:14333,explorers:[{name:"Vitruveo Testnet Explorer",url:"https://test-explorer.vitruveo.xyz",standard:"EIP3091",icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"}}],faucets:["https://faucet.vitruveo.xyz"],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"},infoURL:"https://www.vitruveo.xyz",name:"Vitruveo Testnet",nativeCurrency:{name:"Vitruveo Test Coin",symbol:"tVTRU",decimals:18},networkId:14333,rpc:["https://14333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc.vitruveo.xyz"],shortName:"vitruveo-test",slug:"vitruveo-testnet",testnet:!0,title:"Vitruveo is a blockchain for Creators"},_9t={chain:"Humanode Testnet 5",chainId:14853,explorers:[],faucets:["https://t.me/HumanodeTestnet5FaucetBot"],icon:{url:"ipfs://bafybeihuskzfwqogwvutaxil6sztmvpiavzbrzwjwpn6w2i4j3jysbybra",width:1043,height:1043,format:"png"},infoURL:"https://humanode.io",name:"Humanode Testnet 5 Israfel",nativeCurrency:{name:"eHMND",symbol:"eHMND",decimals:18},networkId:14853,rpc:["https://14853.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://explorer-rpc-http.testnet5.stages.humanode.io"],shortName:"hmnd-t5",slip44:1,slug:"humanode-testnet-5-israfel",testnet:!0},A9t={chain:"Immutable zkEVM",chainId:15003,explorers:[{name:"Immutable Devnet explorer",url:"https://explorer.dev.immutable.com",standard:"EIP3091",icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"}}],faucets:["https://docs.immutable.com/docs/zkEVM/guides/faucet"],icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"},infoURL:"https://www.immutable.com",name:"Immutable zkEVM Devnet",nativeCurrency:{name:"Dev IMX",symbol:"dIMX",decimals:18},networkId:15003,rpc:["https://15003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.immutable.com"],shortName:"imx-devnet",slug:"immutable-zkevm-devnet",testnet:!1},C9t={chain:"Avalanche",chainId:15056,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402052",nativeCurrency:{name:"QI M 2402052 Token",symbol:"ACI",decimals:18},networkId:15056,redFlags:[],rpc:["https://15056.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402052",slug:"qi-m-2402052",testnet:!0},I9t={chain:"Avalanche",chainId:15104,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402054",nativeCurrency:{name:"QI M 2402054 Token",symbol:"ACI",decimals:18},networkId:15104,redFlags:[],rpc:["https://15104.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402054",slug:"qi-m-2402054",testnet:!0},k9t={chain:"Poodl",chainId:15257,explorers:[{name:"Poodl Testnet Explorer",url:"https://testnet.poodl.org",standard:"EIP3091"}],faucets:["https://faucet.poodl.org"],icon:{url:"ipfs://QmXfBFHHb5kJGQ3dMLnhDhfFBsgAvm9U72jBSYcfmRHL2p",width:400,height:400,format:"png"},infoURL:"https://poodl.org",name:"Poodl Testnet",nativeCurrency:{name:"Poodl",symbol:"POODL",decimals:18},networkId:15257,rpc:["https://15257.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.poodl.org"],shortName:"poodlt",slug:"poodl-testnet",testnet:!0},S9t={chain:"Poodl",chainId:15259,explorers:[{name:"Poodl Mainnet Explorer",url:"https://explorer.poodl.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXfBFHHb5kJGQ3dMLnhDhfFBsgAvm9U72jBSYcfmRHL2p",width:400,height:400,format:"png"},infoURL:"https://poodl.org",name:"Poodl Mainnet",nativeCurrency:{name:"Poodl",symbol:"POODL",decimals:18},networkId:15259,rpc:["https://15259.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.poodl.org"],shortName:"poodle",slug:"poodl",testnet:!1},R9t={chain:"Avalanche",chainId:15535,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI M 11271",nativeCurrency:{name:"QI M 11271 Token",symbol:"JZW",decimals:18},networkId:15535,redFlags:[],rpc:["https://15535.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/a47e1c06-fa75-4536-a900-1574d198e197"],shortName:"QI M 11271",slug:"qi-m-11271",testnet:!0},M9t={chain:"LoopNetwork",chainId:15551,explorers:[{name:"loopscan",url:"http://explorer.mainnetloop.com",standard:"none"}],faucets:[],infoURL:"http://theloopnetwork.org/",name:"LoopNetwork Mainnet",nativeCurrency:{name:"LOOP",symbol:"LOOP",decimals:18},networkId:15551,rpc:["https://15551.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.mainnetloop.com"],shortName:"loop",slug:"loopnetwork",testnet:!1},B9t={chain:"Trust EVM Testnet",chainId:15555,explorers:[{name:"Trust EVM Explorer",url:"https://trustscan.one",standard:"EIP3091"}],faucets:["https://faucet.testnet-dev.trust.one/"],infoURL:"https://www.trust.one/",name:"Trust EVM Testnet",nativeCurrency:{name:"Trust EVM",symbol:"EVM",decimals:18},networkId:15555,rpc:["https://15555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.testnet-dev.trust.one"],shortName:"TrustTestnet",slip44:1,slug:"trust-evm-testnet",testnet:!0},D9t={chain:"EOS",chainId:15557,explorers:[{name:"EOS EVM Explorer",url:"https://explorer.testnet.evm.eosnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXkK5D5GWizvY1FmL6pV8cYLAbhehKETubktCgh6qDJZb",width:500,height:750,format:"png"},infoURL:"https://eosnetwork.com/eos-evm",name:"EOS EVM Network Testnet",nativeCurrency:{name:"EOS",symbol:"EOS",decimals:18},networkId:15557,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.testnet.evm.eosnetwork.com"}]},rpc:["https://15557.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.testnet.evm.eosnetwork.com"],shortName:"eos-testnet",slip44:1,slug:"eos-evm-network-testnet",testnet:!0},P9t={chain:"MTT",chainId:16e3,explorers:[],faucets:[],infoURL:"https://metadot.network",name:"MetaDot Mainnet",nativeCurrency:{name:"MetaDot Token",symbol:"MTT",decimals:18},networkId:16e3,rpc:["https://16000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.metadot.network"],shortName:"mtt",slug:"metadot",testnet:!1},L9t={chain:"MTTTest",chainId:16001,explorers:[],faucets:["https://faucet.metadot.network/"],infoURL:"https://metadot.network",name:"MetaDot Testnet",nativeCurrency:{name:"MetaDot Token TestNet",symbol:"MTTest",decimals:18},networkId:16001,rpc:["https://16001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.metadot.network"],shortName:"mtttest",slip44:1,slug:"metadot-testnet",testnet:!0},F9t={chain:"DeFiVerse",chainId:16116,explorers:[{name:"DeFiVerse Explorer",url:"https://scan.defi-verse.org",standard:"EIP3091",icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"},infoURL:"https://defi-verse.org",name:"DeFiVerse Mainnet",nativeCurrency:{name:"Oasys",symbol:"OAS",decimals:18},networkId:16116,parent:{type:"L2",chain:"eip155-248"},rpc:["https://16116.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.defi-verse.org/"],shortName:"DFV",slug:"defiverse",testnet:!1},N9t={chain:"Genesys",chainId:16507,explorers:[{name:"GchainExplorer",url:"https://gchainexplorer.genesys.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreie6nai3yhykcdlsyshn5lbcbyba5y7zwsqg6owcfek2urhoucr6rm",width:800,height:800,format:"png"},infoURL:"https://www.genesys.network/",name:"Genesys Mainnet",nativeCurrency:{name:"Genesys",symbol:"GSYS",decimals:18},networkId:16507,rpc:["https://16507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.genesys.network"],shortName:"Genesys",slug:"genesys",testnet:!1},O9t={chain:"Avalanche",chainId:16587,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I1",nativeCurrency:{name:"QI0603I1 Token",symbol:"ODK",decimals:18},networkId:16587,redFlags:[],rpc:["https://16587.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I1",slug:"qi0603i1",testnet:!0},U9t={chain:"IRIShub",chainId:16688,explorers:[{name:"IRISHub Testnet Cosmos Explorer (IOBScan)",url:"https://nyancat.iobscan.io",standard:"none",icon:{url:"ipfs://QmRaSx7AX1VDgcqjwLgSDP4WZmKBHPdHhbjkcEEXPA2Fnc",width:1062,height:822,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmRaSx7AX1VDgcqjwLgSDP4WZmKBHPdHhbjkcEEXPA2Fnc",width:1062,height:822,format:"png"},infoURL:"https://www.irisnet.org",name:"IRIShub Testnet",nativeCurrency:{name:"Eris",symbol:"ERIS",decimals:18},networkId:16688,rpc:["https://16688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmrpc.nyancat.irisnet.org"],shortName:"nyancat",slip44:1,slug:"irishub-testnet",testnet:!0},H9t={chain:"ambnet",chainId:16718,explorers:[{name:"AirDAO Network Explorer",url:"https://airdao.io/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSxXjvWng3Diz4YwXDV2VqSPgMyzLYBNfkjJcr7rzkxom",width:400,height:400,format:"png"},infoURL:"https://airdao.io",name:"AirDAO Mainnet",nativeCurrency:{name:"Amber",symbol:"AMB",decimals:18},networkId:16718,rpc:["https://16718.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://network.ambrosus.io"],shortName:"airdao",slug:"airdao",testnet:!1},z9t={chain:"IVAR",chainId:16888,explorers:[{name:"ivarscan",url:"https://testnet.ivarscan.com",standard:"EIP3091"}],faucets:["https://tfaucet.ivarex.com/"],icon:{url:"ipfs://QmV8UmSwqGF2fxrqVEBTHbkyZueahqyYtkfH2RBF5pNysM",width:519,height:519,format:"svg"},infoURL:"https://ivarex.com",name:"IVAR Chain Testnet",nativeCurrency:{name:"tIvar",symbol:"tIVAR",decimals:18},networkId:16888,rpc:["https://16888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.ivarex.com"],shortName:"tivar",slip44:1,slug:"ivar-chain-testnet",testnet:!0},W9t={chain:"ETH",chainId:17e3,explorers:[{name:"Holesky Explorer",url:"https://holesky.beaconcha.in",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}},{name:"otterscan-holesky",url:"https://holesky.otterscan.io",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}},{name:"Holesky Etherscan",url:"https://holesky.etherscan.io",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.holesky.ethpandaops.io","https://holesky-faucet.pk910.de"],features:[],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://holesky.ethpandaops.io",name:"Holesky",nativeCurrency:{name:"Testnet ETH",symbol:"ETH",decimals:18},networkId:17e3,redFlags:[],rpc:["https://17000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.holesky.ethpandaops.io","https://ethereum-holesky-rpc.publicnode.com","wss://ethereum-holesky-rpc.publicnode.com","https://holesky.drpc.org","wss://holesky.drpc.org","https://rpc-holesky.rockx.com"],shortName:"holesky",slip44:1,slug:"holesky",status:"incubating",testnet:!0,title:"Ethereum Testnet Holesky"},q9t={chain:"ETH",chainId:17001,explorers:[{name:"Redstone Holesky Explorer",url:"https://explorer.holesky.redstone.xyz",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreieyaqgkgntvxuo5tnhgseladga5q6gutc37dab7kqqfdguhq7vkxq",width:5836,height:5836,format:"png"},infoURL:"https://redstone.xyz/docs/network-info",name:"Redstone Holesky Testnet",nativeCurrency:{name:"Redstone Testnet Ether",symbol:"ETH",decimals:18},networkId:17001,rpc:["https://17001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.holesky.redstone.xyz"],shortName:"redstone-holesky",slip44:1,slug:"redstone-holesky-testnet",status:"deprecated",testnet:!0},j9t={chain:"Avalanche",chainId:17026,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI1204I3",nativeCurrency:{name:"QI1204I3 Token",symbol:"BHOX",decimals:18},networkId:17026,redFlags:[],rpc:["https://17026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/e7aeac38-06b2-4aaa-87b4-2c2da10fa43e"],shortName:"QI1204I3",slug:"qi1204i3",testnet:!0},G9t={chain:"ETH",chainId:17069,explorers:[{name:"blockscout",url:"https://explorer.garnetchain.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmWhHvjbjTiNNsHKpbEz9rxSt4CCL2Q5xVZjk8eQkp82B9",width:600,height:600,format:"png"},infoURL:"https://redstone.xyz",name:"Garnet Holesky",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:17069,parent:{type:"L2",chain:"eip155-17000",bridges:[{url:"https://garnetchain.com/deposit"}]},redFlags:[],rpc:["https://17069.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.garnetchain.com","wss://rpc.garnetchain.com"],shortName:"garnet",slug:"garnet-holesky",testnet:!0},K9t={chain:"DeFiVerse Testnet",chainId:17117,explorers:[{name:"DeFiVerse Testnet Explorer",url:"https://scan-testnet.defi-verse.org",standard:"EIP3091",icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"},infoURL:"https://defi-verse.org",name:"DeFiVerse Testnet",nativeCurrency:{name:"Oasys",symbol:"OAS",decimals:18},networkId:17117,rpc:["https://17117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.defi-verse.org/"],shortName:"DFV-testnet",slug:"defiverse-testnet",testnet:!0},Q9t={chain:"G8C",chainId:17171,explorers:[{name:"G8Chain",url:"https://mainnet.oneg8.network",standard:"EIP3091"}],faucets:["https://faucet.oneg8.network"],icon:{url:"ipfs://QmbkCVC5vZpVAfq8SuPXR9PhpTRS2m8w6LGqBkhXAvmie6",width:80,height:80,format:"png"},infoURL:"https://oneg8.one",name:"G8Chain Mainnet",nativeCurrency:{name:"G8Chain",symbol:"G8C",decimals:18},networkId:17171,rpc:["https://17171.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oneg8.network"],shortName:"G8Cm",slug:"g8chain",testnet:!1},V9t={chain:"ECLIPSE",chainId:17172,explorers:[{name:"ECLIPSE Explorer",url:"https://subnets-test.avax.network/eclipse",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"http://eclipsenet.io",name:"Eclipse Subnet",nativeCurrency:{name:"Eclipse",symbol:"ECLP",decimals:16},networkId:17172,rpc:["https://17172.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/eclipse/testnet/rpc"],shortName:"eclipse",slug:"eclipse-subnet",testnet:!0},Y9t={chain:"PLT",chainId:17180,explorers:[{name:"Palettescan",url:"https://testnet.palettescan.com",standard:"none",icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"},infoURL:"https://hashpalette.com/",name:"Palette Chain Testnet",nativeCurrency:{name:"Palette Token",symbol:"PLT",decimals:18},networkId:17180,rpc:["https://17180.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palette-opennet.com:22000"],shortName:"PCT",slip44:1,slug:"palette-chain-testnet",testnet:!0},$9t={chain:"ETH",chainId:17186,explorers:[],faucets:[],features:[],name:"lazy-crimson-coral",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:17186,parent:{type:"L3",chain:"Base",bridges:[{url:"https://lazy-crimson-coral-cotlv0ftqf.testnets.superbridge.app"}]},redFlags:[],rpc:["https://17186.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-lazy-crimson-coral-cotlv0ftqf.t.conduit.xyz"],shortName:"lazy-crimson-coral",slug:"lazy-crimson-coral",testnet:!0},J9t={chain:"KONET",chainId:17217,explorers:[{name:"konet-explorer",url:"https://explorer.kon-wallet.com",standard:"EIP3091"},{name:"Konetscan",url:"https://konetexplorer.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmSszu2AhLPgcp8SZYiBYCQiRVwb9ueqbnGbcTx9H9CJjZ",width:1851,height:1851,format:"png"},infoURL:"https://konetmain.com",name:"KONET Mainnet",nativeCurrency:{name:"KONET",symbol:"KONET",decimals:18},networkId:17217,redFlags:[],rpc:["https://17217.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.kon-wallet.com"],shortName:"KONET",slip44:1,slug:"konet",testnet:!1},X9t={chain:"Avalanche",chainId:17511,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"PST 1-17-24",nativeCurrency:{name:"PST 1-17-24 Token",symbol:"MUB",decimals:18},networkId:17511,redFlags:[],rpc:["https://17511.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"PST 1-17-24",slug:"pst-1-17-24",testnet:!0},Z9t={chain:"EOS",chainId:17777,explorers:[{name:"EOS EVM Explorer",url:"https://explorer.evm.eosnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXkK5D5GWizvY1FmL6pV8cYLAbhehKETubktCgh6qDJZb",width:500,height:750,format:"png"},infoURL:"https://eosnetwork.com/eos-evm",name:"EOS EVM Network",nativeCurrency:{name:"EOS",symbol:"EOS",decimals:18},networkId:17777,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.evm.eosnetwork.com"},{url:"https://app.multichain.org"}]},rpc:["https://17777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.evm.eosnetwork.com"],shortName:"eos",slug:"eos-evm-network",testnet:!1},egt={chain:"Game Network",chainId:18e3,explorers:[{name:"Game Network",url:"https://explorer.fod.games",standard:"EIP3091"}],faucets:[],infoURL:"https://goexosphere.com",name:"Frontier of Dreams Testnet",nativeCurrency:{name:"ZKST",symbol:"ZKST",decimals:18},networkId:18e3,rpc:["https://18000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.fod.games/"],shortName:"ZKST",slip44:1,slug:"frontier-of-dreams-testnet",testnet:!0},tgt={chain:"Avalanche",chainId:18105,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Found Test",nativeCurrency:{name:"Found Test Token",symbol:"TVJ",decimals:18},networkId:18105,redFlags:[],rpc:["https://18105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Found Test",slug:"found-test",testnet:!0},ngt={chain:"Avalanche",chainId:18109,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7737 Testnet",nativeCurrency:{name:"QaUser7737 Testnet Token",symbol:"XSP",decimals:18},networkId:18109,redFlags:[],rpc:["https://18109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7737 Testnet",slug:"qauser7737-testnet",testnet:!0},agt={chain:"Smart Trade Networks",chainId:18122,explorers:[{name:"stnscan",url:"https://stnscan.com",standard:"none",icon:{url:"ipfs://QmRgZVpjik4cH3Sb6wLRpdnfv9kiMEZ8fugfkzTgk3bpRW",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRgZVpjik4cH3Sb6wLRpdnfv9kiMEZ8fugfkzTgk3bpRW",width:500,height:500,format:"png"},infoURL:"https://www.smarttradenetworks.com",name:"Smart Trade Networks",nativeCurrency:{name:"STN",symbol:"STN",decimals:18},networkId:18122,rpc:["https://18122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beefledgerwallet.com:8544"],shortName:"STN",slug:"smart-trade-networks",testnet:!1},rgt={chain:"POM",chainId:18159,explorers:[{name:"explorer-proofofmemes",url:"https://memescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmePhfibWz9jnGUqF9Rven4x734br1h3LxrChYTEjbbQvo",width:256,height:256,format:"png"},infoURL:"https://proofofmemes.org",name:"Proof Of Memes",nativeCurrency:{name:"Proof Of Memes",symbol:"POM",decimals:18},networkId:18159,rpc:["https://18159.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.memescan.io","https://mainnet-rpc2.memescan.io","https://mainnet-rpc3.memescan.io","https://mainnet-rpc4.memescan.io"],shortName:"pom",slug:"proof-of-memes",testnet:!1,title:"Proof Of Memes Mainnet"},fgt={chain:"G8C",chainId:18181,explorers:[{name:"G8Chain",url:"https://testnet.oneg8.network",standard:"EIP3091"}],faucets:["https://faucet.oneg8.network"],icon:{url:"ipfs://QmbkCVC5vZpVAfq8SuPXR9PhpTRS2m8w6LGqBkhXAvmie6",width:80,height:80,format:"png"},infoURL:"https://oneg8.one",name:"G8Chain Testnet",nativeCurrency:{name:"G8Coin",symbol:"G8C",decimals:18},networkId:18181,rpc:["https://18181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.oneg8.network"],shortName:"G8Ct",slip44:1,slug:"g8chain-testnet",testnet:!0},igt={chain:"unreal",chainId:18231,explorers:[{name:"blockscout",url:"https://unreal.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/unreal",name:"unreal-old",nativeCurrency:{name:"unreal Ether",symbol:"ETH",decimals:18},networkId:18231,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:["https://18231.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.unreal.gelato.digital","wss://ws.unreal.gelato.digital"],shortName:"unreal-old",slip44:60,slug:"unreal-old",status:"deprecated",testnet:!0,title:"unreal testnet for re.al"},sgt={chain:"unreal",chainId:18233,explorers:[{name:"blockscout",url:"https://unreal.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/unreal",name:"unreal",nativeCurrency:{name:"unreal Ether",symbol:"reETH",decimals:18},networkId:18233,parent:{type:"L2",chain:"eip155-17000",bridges:[{url:"https://bridge.gelato.network/bridge/unreal"}]},rpc:["https://18233.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.unreal-orbit.gelato.digital","wss://ws.unreal-orbit.gelato.digital"],shortName:"unreal",slip44:60,slug:"unreal",testnet:!0,title:"unreal testnet for re.al"},ogt={chain:"Avalanche",chainId:18263,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0528S1T",nativeCurrency:{name:"QR0528S1T Token",symbol:"STZ",decimals:18},networkId:18263,redFlags:[],rpc:["https://18263.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0528s1t/testnet/rpc"],shortName:"QR0528S1T",slug:"qr0528s1t",testnet:!0},cgt={chain:"Avalanche",chainId:18303,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Zeroone Testnet",nativeCurrency:{name:"Zeroone Testnet Token",symbol:"ZERO",decimals:18},networkId:18303,redFlags:[],rpc:["https://18303.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/zeroonetes/testnet/rpc"],shortName:"Zeroone Testnet",slug:"zeroone-testnet",testnet:!0},dgt={chain:"MXC zkEVM",chainId:18686,explorers:[{name:"MXC zkEVM Moonchain",url:"https://explorer.moonchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGCthKA11K9kCZJdbTP5WPAyq1wiRZ3REn6KG58MrWaE",width:159,height:159,format:"png"},infoURL:"https://doc.mxc.com/docs/intro",name:"MXC zkEVM Moonchain",nativeCurrency:{name:"MXC zkEVM Moonchain",symbol:"MXC",decimals:18},networkId:18686,rpc:["https://18686.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mxc.com"],shortName:"MXCzkEVM",slug:"mxc-zkevm-moonchain",testnet:!1},lgt={chain:"Titan (TKX)",chainId:18888,explorers:[{name:"Titan Explorer",url:"https://tkxscan.io/Titan",standard:"none",icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"},infoURL:"https://titanlab.io",name:"Titan (TKX)",nativeCurrency:{name:"Titan tkx",symbol:"TKX",decimals:18},networkId:18888,rpc:["https://18888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://titan-json-rpc.titanlab.io","https://titan-json-rpc-tokyo.titanlab.io","https://titan-json-rpc-seoul.titanlab.io","https://titan-json-rpc-hongkong.titanlab.io"],shortName:"titan_tkx",slip44:1,slug:"titan-tkx",testnet:!1},ugt={chain:"Titan (TKX)",chainId:18889,explorers:[{name:"Titan Explorer",url:"https://titan-testnet-explorer-light.titanlab.io/Titan%20Testnet",standard:"none",icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"},infoURL:"https://titanlab.io",name:"Titan (TKX) Testnet",nativeCurrency:{name:"Titan tkx",symbol:"TKX",decimals:18},networkId:18889,rpc:["https://18889.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://titan-testnet-json-rpc.titanlab.io","https://titan-testnet-json-rpc-1.titanlab.io","https://titan-testnet-json-rpc-2.titanlab.io"],shortName:"titan_tkx-testnet",slip44:1,slug:"titan-tkx-testnet",testnet:!0},pgt={chain:"Avalanche",chainId:18898,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"NLD",decimals:18},networkId:18898,redFlags:[],rpc:["https://18898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-18898",testnet:!0},hgt={chain:"HOME Verse",chainId:19011,explorers:[{name:"HOME Verse Explorer",url:"https://explorer.oasys.homeverse.games",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeGb65zSworzoHmwK3jdkPtEsQZMUSJRxf8K8Feg56soU",width:597,height:597,format:"png"},infoURL:"https://www.homeverse.games/",name:"HOME Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:19011,parent:{type:"L2",chain:"eip155-248"},rpc:["https://19011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.oasys.homeverse.games/"],shortName:"HMV",slug:"home-verse",testnet:!1},bgt={chain:"Avalanche",chainId:19110,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s3t",nativeCurrency:{name:"QI0521s3t Token",symbol:"VTV",decimals:18},networkId:19110,redFlags:[],rpc:["https://19110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s3t",slug:"qi0521s3t",testnet:!0},mgt={chain:"Avalanche",chainId:19112,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304s1 Testnet",nativeCurrency:{name:"QI0304s1 Testnet Token",symbol:"LKG",decimals:18},networkId:19112,redFlags:[],rpc:["https://19112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304s1 Testnet",slug:"qi0304s1-testnet",testnet:!0},ygt={chain:"DCSM",chainId:19224,explorers:[{name:"Decentraconnect Social",url:"https://decentraconnect.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmatvJXLgMthjXwydGBVFRtga9fZXJ3qFEVJ6cMRxniFUc",width:307,height:314,format:"png"},infoURL:"https://docs.decentraconnect.io",name:"Decentraconnect Social",nativeCurrency:{name:"Decentraconnect Social",symbol:"DCSM",decimals:18},networkId:19224,rpc:["https://19224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.decentraconnect.io"],shortName:"DCSMs",slug:"decentraconnect-social",testnet:!1},ggt={chain:"Magnet",chainId:19527,explorers:[],faucets:[],infoURL:"https://magnet.magport.io/",name:"Magnet Network",nativeCurrency:{name:"Magnet Network",symbol:"DOT",decimals:18},networkId:19527,rpc:["https://19527.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://magnet-rpc.magport.io/"],shortName:"mgt",slug:"magnet-network",testnet:!1},vgt={chain:"LBRY",chainId:19600,explorers:[{name:"LBRY Block Explorer",url:"https://explorer.lbry.com",standard:"none",icon:{url:"ipfs://QmUoSiFWaPTbVY6ZfJswzrM9jKuhfhXWwstRo49cVCWr8x",width:400,height:400,format:"jpg"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmUoSiFWaPTbVY6ZfJswzrM9jKuhfhXWwstRo49cVCWr8x",width:400,height:400,format:"jpg"},infoURL:"https://lbry.com",name:"LBRY Mainnet",nativeCurrency:{name:"LBRY Credits",symbol:"LBC",decimals:8},networkId:19600,rpc:["https://19600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://lbry.nl/rpc"],shortName:"LBRY",slip44:140,slug:"lbry",testnet:!1},wgt={chain:"Avalanche",chainId:19683,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"ST 12-07 V1",nativeCurrency:{name:"ST 12-07 V1 Token",symbol:"XRL",decimals:18},networkId:19683,redFlags:[],rpc:["https://19683.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/d26b972e-1832-4d3a-bf7b-d0ce1f4331c2"],shortName:"ST 12-07 V1",slug:"st-12-07-v1",testnet:!0},Tgt={chain:"BTCIX",chainId:19845,explorers:[{name:"BTCIXScan",url:"https://btcixscan.com",standard:"none"}],faucets:[],infoURL:"https://bitcolojix.org",name:"BTCIX Network",nativeCurrency:{name:"BTCIX Network",symbol:"BTCIX",decimals:18},networkId:19845,rpc:["https://19845.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed.btcix.org/rpc"],shortName:"btcix",slug:"btcix-network",testnet:!1},xgt={chain:"ETHW",chainId:20001,explorers:[{name:"CamelarkScan",url:"https://scan.camelark.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeJerrsURFNt2LL7DE7TxeunjrQXiuezdfHyqmsbwX3MZ",width:128,height:128,format:"png"},infoURL:"https://www.camelark.com",name:"Camelark Mainnet",nativeCurrency:{name:"EthereumPoW",symbol:"ETHW",decimals:18},networkId:20001,rpc:["https://20001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-http-rpc.camelark.com"],shortName:"Camelark",slug:"camelark",testnet:!1},Egt={chain:"Avalanche",chainId:20139,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0129I1",nativeCurrency:{name:"QR0129I1 Token",symbol:"YOD",decimals:18},networkId:20139,redFlags:[],rpc:["https://20139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0129i1/testnet/rpc"],shortName:"QR0129I1",slug:"qr0129i1",testnet:!0},_gt={chain:"Avalanche",chainId:20141,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Shelby's Testnet",nativeCurrency:{name:"Shelby's Testnet Token",symbol:"FUC",decimals:18},networkId:20141,redFlags:[],rpc:["https://20141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c6fcfa18-e711-4f91-b8d4-ad59cfd30316"],shortName:"Shelby's Testnet",slug:"shelby-s-testnet",testnet:!0},Agt={chain:"Avalanche",chainId:20519,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4113 Testnet",nativeCurrency:{name:"QaUser4113 Testnet Token",symbol:"FYP",decimals:18},networkId:20519,redFlags:[],rpc:["https://20519.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4113 Testnet",slug:"qauser4113-testnet",testnet:!0},Cgt={chain:"CLO",chainId:20729,explorers:[],faucets:["https://faucet.callisto.network/"],infoURL:"https://callisto.network",name:"Callisto Testnet",nativeCurrency:{name:"Callisto",symbol:"CLO",decimals:18},networkId:79,rpc:["https://20729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.callisto.network/"],shortName:"CLOTestnet",slip44:1,slug:"callisto-testnet",testnet:!0},Igt={chain:"P12",chainId:20736,explorers:[{name:"P12 Chain Explorer",url:"https://explorer.p12.games",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreieiro4imoujeewc4r4thf5hxj47l56j2iwuz6d6pdj6ieb6ub3h7e",width:512,height:512,format:"png"},infoURL:"https://p12.network",name:"P12 Chain",nativeCurrency:{name:"Hooked P2",symbol:"hP2",decimals:18},networkId:20736,rpc:["https://20736.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-chain.p12.games"],shortName:"p12",slug:"p12-chain",testnet:!1},kgt={chain:"JONO11",chainId:20765,explorers:[{name:"JONO11 Explorer",url:"https://subnets-test.avax.network/jono11",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreievzx4ke62dtc77o47x7vs7nn67ghzrwku6h5dxo3hwcsqfeblke4",width:612,height:612,format:"png"},name:"Jono11 Subnet",nativeCurrency:{name:"Jono11 Token",symbol:"JONO",decimals:18},networkId:20765,rpc:["https://20765.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jono11/testnet/rpc"],shortName:"jono11",slug:"jono11-subnet",testnet:!0},Sgt={chain:"Avalanche",chainId:20948,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"GoldFever",nativeCurrency:{name:"GoldFever Token",symbol:"GFT",decimals:18},networkId:20948,redFlags:[],rpc:["https://20948.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/goldfever/testnet/rpc"],shortName:"GoldFever",slug:"goldfever",testnet:!0},Rgt={chain:"C4EI",chainId:21004,explorers:[{name:"C4EI sirato",url:"https://exp.c4ei.net",standard:"none",icon:{url:"ipfs://QmNPQBLEau3DsUYczt9QCLqZd9jK488GhF5y2SbtLRSrvB",width:512,height:512,format:"png"}}],faucets:["https://play.google.com/store/apps/details?id=net.c4ei.fps2"],infoURL:"https://c4ei.net",name:"C4EI",nativeCurrency:{name:"C4EI",symbol:"C4EI",decimals:18},networkId:21004,rpc:["https://21004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.c4ei.net"],shortName:"c4ei",slug:"c4ei",testnet:!1},Mgt={chain:"AAH",chainId:21133,explorers:[{name:"AAH Blockscout",url:"https://exp.c4ex.net",standard:"EIP3091",icon:{url:"ipfs://QmY7HDEj3vnTZzCmenotr48nYyD13R2Fyd5t12R9ARu4wJ",width:256,height:256,format:"png"}}],faucets:["https://t.me/c4eiAirdrop"],infoURL:"https://c4ex.net",name:"All About Healthy",nativeCurrency:{name:"AAH",symbol:"AAH",decimals:18},networkId:21133,rpc:["https://21133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.c4ex.net"],shortName:"aah",slug:"all-about-healthy",testnet:!1},Bgt={chain:"Avalanche",chainId:21178,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430I2",nativeCurrency:{name:"QI0430I2 Token",symbol:"ETI",decimals:18},networkId:21178,redFlags:[],rpc:["https://21178.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430I2",slug:"qi0430i2",testnet:!0},Dgt={chain:"DCpay",chainId:21223,explorers:[{name:"DCpay Mainnet Explorer",url:"https://mainnet.dcpay.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmezBwVepoegoCqb86idzPgvPxtaSuXzMLBGiiYfyTGTkc",width:458,height:468,format:"png"},infoURL:"https://dcpay.io",name:"DCpay Mainnet",nativeCurrency:{name:"DCP",symbol:"DCP",decimals:18},networkId:21223,rpc:["https://21223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dcpay.io"],shortName:"DCPm",slug:"dcpay",testnet:!1},Pgt={chain:"DCpay",chainId:21224,explorers:[{name:"DCpay Testnet Explorer",url:"https://testnet.dcpay.io",standard:"EIP3091"}],faucets:["https://faucet.dcpay.io"],icon:{url:"ipfs://QmezBwVepoegoCqb86idzPgvPxtaSuXzMLBGiiYfyTGTkc",width:458,height:468,format:"png"},infoURL:"https://dcpay.io",name:"DCpay Testnet",nativeCurrency:{name:"DCP",symbol:"DCP",decimals:18},networkId:21224,rpc:["https://21224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.dcpay.io"],shortName:"DCPt",slug:"dcpay-testnet",testnet:!0},Lgt={chain:"CENNZnet",chainId:21337,explorers:[{name:"UNcover",url:"https://uncoverexplorer.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWhNm7tTi6SYbiumULDRk956hxgqaZSX77vcxBNn8fvnw",width:112,height:112,format:"svg"},infoURL:"https://cennz.net",name:"CENNZnet Azalea",nativeCurrency:{name:"CPAY",symbol:"CPAY",decimals:18},networkId:21337,rpc:["https://21337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cennznet.unfrastructure.io/public"],shortName:"cennz-a",slug:"cennznet-azalea",testnet:!1},Fgt={chain:"Avalanche",chainId:21758,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FST 01-16 Multi",nativeCurrency:{name:"FST 01-16 Multi Token",symbol:"RUI",decimals:18},networkId:21758,redFlags:[],rpc:["https://21758.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"FST 01-16 Multi",slug:"fst-01-16-multi",testnet:!0},Ngt={chain:"OML",chainId:21816,explorers:[{name:"omChain Explorer",url:"https://explorer.omchain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQtEHaejiDbmiCvbBYw9jNQv3DLK5XHCQwLRfnLNpdN5j",width:256,height:256,format:"png"},infoURL:"https://omchain.io",name:"omChain Mainnet",nativeCurrency:{name:"omChain",symbol:"OMC",decimals:18},networkId:21816,rpc:["https://21816.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed.omchain.io"],shortName:"omc",slug:"omchain",testnet:!1},Ogt={chain:"Avalanche",chainId:21825,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6991",nativeCurrency:{name:"QaUser6991 Token",symbol:"HIO",decimals:18},networkId:21825,redFlags:[],rpc:["https://21825.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6991",slug:"qauser6991",testnet:!0},Ugt={chain:"BSL",chainId:21912,explorers:[{name:"BSL Mainnet Explorer",url:"https://scan.nftruth.io",standard:"EIP3091"}],faucets:[],infoURL:"https://bsquarelab.com/",name:"BSL Mainnet",nativeCurrency:{name:"Origin NFT",symbol:"ONF",decimals:18},networkId:21912,rpc:["https://21912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc-mainnet.nftruth.io:8545","ws://rpc-mainnet.nftruth.io:8645"],shortName:"onf",slug:"bsl",testnet:!1},Hgt={chain:"Taycan",chainId:22023,explorers:[{name:"Taycan Explorer(Blockscout)",url:"https://taycan-evmscan.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}},{name:"Taycan Cosmos Explorer(BigDipper)",url:"https://taycan-cosmoscan.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"},infoURL:"https://hupayx.io",name:"Taycan",nativeCurrency:{name:"shuffle",symbol:"SFL",decimals:18},networkId:22023,rpc:["https://22023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://taycan-rpc.hupayx.io:8545"],shortName:"SFL",slug:"taycan",testnet:!1},zgt={chain:"Avalanche",chainId:22039,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1631",nativeCurrency:{name:"QaUser1631 Token",symbol:"UVA",decimals:18},networkId:22039,redFlags:[],rpc:["https://22039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1631",slug:"qauser1631",testnet:!0},Wgt={chain:"ambnet-test",chainId:22040,explorers:[{name:"AirDAO Network Explorer",url:"https://testnet.airdao.io/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSxXjvWng3Diz4YwXDV2VqSPgMyzLYBNfkjJcr7rzkxom",width:400,height:400,format:"png"},infoURL:"https://testnet.airdao.io",name:"AirDAO Testnet",nativeCurrency:{name:"Amber",symbol:"AMB",decimals:18},networkId:22040,rpc:["https://22040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://network.ambrosus-test.io"],shortName:"airdao-test",slip44:1,slug:"airdao-testnet",testnet:!0},qgt={chain:"ETH",chainId:22222,explorers:[{name:"Nautscan",url:"https://nautscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"},infoURL:"https://docs.nautchain.xyz",name:"Nautilus Mainnet",nativeCurrency:{name:"Zebec",symbol:"ZBC",decimals:18},networkId:22222,rpc:["https://22222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.nautilus.nautchain.xyz"],shortName:"NAUTCHAIN",slug:"nautilus",testnet:!1},jgt={chain:"GoldXTestnet",chainId:22324,explorers:[{name:"GoldXChain Testnet Explorer",url:"https://testnet-explorer.goldxchain.io",standard:"EIP3091"}],faucets:["https://faucet.goldxchain.io"],infoURL:"https://goldxchain.io",name:"GoldXChain Testnet",nativeCurrency:{name:"GoldX",symbol:"GOLDX",decimals:18},networkId:22324,rpc:["https://22324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.goldxchain.io"],shortName:"goldx-testnet",slug:"goldxchain-testnet",testnet:!0},Ggt={chain:"Avalanche",chainId:22662,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QA5-03-07 Testnet",nativeCurrency:{name:"QA5-03-07 Testnet Token",symbol:"TYP",decimals:18},networkId:22662,redFlags:[],rpc:["https://22662.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QA5-03-07 Testnet",slug:"qa5-03-07-testnet",testnet:!0},Kgt={chain:"MAPO",chainId:22776,explorers:[{name:"maposcan",url:"https://maposcan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmcLdQ8gM4iHv3CCKA9HuxmzTxY4WhjWtepUVCc3dpzKxD",width:512,height:512,format:"png"},infoURL:"https://mapprotocol.io/",name:"MAP Protocol",nativeCurrency:{name:"MAPO",symbol:"MAPO",decimals:18},networkId:22776,rpc:["https://22776.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.maplabs.io"],shortName:"mapo",slip44:60,slug:"map-protocol",testnet:!1},Qgt={chain:"Avalanche",chainId:22886,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"MBM",decimals:18},networkId:22886,redFlags:[],rpc:["https://22886.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet",testnet:!0},Vgt={chain:"ETH",chainId:22985,explorers:[{name:"beyond-sepolia-3wng1zu3j3 explorer",url:"https://explorerl2new-beyond-sepolia-3wng1zu3j3.t.conduit.xyz",standard:"standard",icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"},infoURL:"https://explorerl2new-beyond-sepolia-3wng1zu3j3.t.conduit.xyz",name:"Beyond Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:22985,redFlags:[],rpc:["https://22985.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-beyond-sepolia-3wng1zu3j3.t.conduit.xyz"],shortName:"beyond-sepolia",slug:"beyond-sepolia",testnet:!0},Ygt={chain:"ABN",chainId:23006,explorers:[{name:"Antofy Testnet",url:"https://test.antofyscan.com",standard:"EIP3091"}],faucets:["https://faucet.antofy.io"],icon:{url:"ipfs://QmdTfku81ohnG9ECU1Xswmeumt678cBhwHWuFYZ7i1Qsto",width:400,height:400,format:"png"},infoURL:"https://antofy.io",name:"Antofy Testnet",nativeCurrency:{name:"Antofy",symbol:"ABN",decimals:18},networkId:23006,rpc:["https://23006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.antofy.io"],shortName:"ABNt",slip44:1,slug:"antofy-testnet",testnet:!0},$gt={chain:"Opside",chainId:23118,explorers:[{name:"opsideInfo",url:"https://opside.info",standard:"EIP3091"}],faucets:["https://faucet.opside.network"],icon:{url:"ipfs://QmeCyZeibUoHNoYGzy1GkzH2uhxyRHKvH51PdaUMer4VTo",width:591,height:591,format:"png"},infoURL:"https://opside.network",name:"Opside Testnet",nativeCurrency:{name:"IDE",symbol:"IDE",decimals:18},networkId:23118,rpc:["https://23118.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.opside.network"],shortName:"opside",slip44:1,slug:"opside-testnet",testnet:!0},Jgt={chain:"Sapphire",chainId:23294,explorers:[{name:"Oasis Sapphire Explorer",url:"https://explorer.oasis.io/mainnet/sapphire",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/sapphire",name:"Oasis Sapphire",nativeCurrency:{name:"Sapphire Rose",symbol:"ROSE",decimals:18},networkId:23294,rpc:["https://23294.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sapphire.oasis.io","wss://sapphire.oasis.io/ws"],shortName:"sapphire",slug:"oasis-sapphire",testnet:!1},Xgt={chain:"Sapphire",chainId:23295,explorers:[{name:"Oasis Sapphire Testnet Explorer",url:"https://explorer.oasis.io/testnet/sapphire",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/sapphire",name:"Oasis Sapphire Testnet",nativeCurrency:{name:"Sapphire Test Rose",symbol:"TEST",decimals:18},networkId:23295,rpc:["https://23295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.sapphire.oasis.io","wss://testnet.sapphire.oasis.io/ws"],shortName:"sapphire-testnet",slip44:1,slug:"oasis-sapphire-testnet",testnet:!0},Zgt={chain:"Avalanche",chainId:23444,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402272",nativeCurrency:{name:"QI M 2402272 Token",symbol:"OVU",decimals:18},networkId:23444,redFlags:[],rpc:["https://23444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402272",slug:"qi-m-2402272",testnet:!0},evt={chain:"DreyerX",chainId:23451,explorers:[{name:"drxscan",url:"https://scan.dreyerx.com",standard:"EIP3091",icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"},infoURL:"https://dreyerx.com",name:"DreyerX Mainnet",nativeCurrency:{name:"DreyerX",symbol:"DRX",decimals:18},networkId:23451,rpc:["https://23451.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dreyerx.com"],shortName:"dreyerx",slug:"dreyerx",testnet:!1},tvt={chain:"DreyerX",chainId:23452,explorers:[{name:"drxscan",url:"https://testnet-scan.dreyerx.com",standard:"EIP3091",icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"},infoURL:"https://dreyerx.com",name:"DreyerX Testnet",nativeCurrency:{name:"DreyerX",symbol:"DRX",decimals:18},networkId:23452,rpc:["https://23452.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.dreyerx.com"],shortName:"dreyerx-testnet",slug:"dreyerx-testnet",testnet:!0},nvt={chain:"Avalanche",chainId:23812,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"kjCohan Testnet",nativeCurrency:{name:"kjCohan Testnet Token",symbol:"DBM",decimals:18},networkId:23812,redFlags:[],rpc:["https://23812.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/d2b6bd35-89f7-4019-bc88-643c31221e5c"],shortName:"kjCohan Testnet",slug:"kjcohan-testnet",testnet:!0},avt={chain:"ETH",chainId:23888,explorers:[{name:"Blast Testnet",url:"http://testnet-explorer.blastblockchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdHpjiepU2Q4bt4kR48tKHPgaQW57Sb6UVFgLh4MCyg6U",width:595,height:582,format:"png"},infoURL:"https://docs.blastblockchain.com",name:"Blast Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:23888,rpc:["https://23888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet-rpc.blastblockchain.com"],shortName:"blastT",slug:"blast-testnet",testnet:!0},rvt={chain:"Avalanche",chainId:23934,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"ST 11-16 v7 Regression",nativeCurrency:{name:"ST 11-16 v7 Regression Token",symbol:"WLA",decimals:18},networkId:23934,redFlags:[],rpc:["https://23934.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 11-16 v7 Regression",slug:"st-11-16-v7-regression",testnet:!0},fvt={chain:"Avalanche",chainId:24010,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Stealthnet Testing ",nativeCurrency:{name:"Stealthnet Testing Token",symbol:"AVCLDDEV",decimals:18},networkId:24010,redFlags:[],rpc:["https://24010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/stealthnet/testnet/rpc"],shortName:"Stealthnet Testing ",slug:"stealthnet-testing",testnet:!0},ivt={chain:"Avalanche",chainId:24070,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0315I2 Testnet",nativeCurrency:{name:"QI0315I2 Testnet Token",symbol:"GAW",decimals:18},networkId:24070,redFlags:[],rpc:["https://24070.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0315I2 Testnet",slug:"qi0315i2-testnet",testnet:!0},svt={chain:"Avalanche",chainId:24347,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnet 02-27",nativeCurrency:{name:"Tnet 02-27 Token",symbol:"TJO",decimals:18},networkId:24347,redFlags:[],rpc:["https://24347.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnet 02-27",slug:"tnet-02-27",testnet:!0},ovt={chain:"WEB",chainId:24484,explorers:[],faucets:[],infoURL:"https://webchain.network",name:"Webchain",nativeCurrency:{name:"Webchain Ether",symbol:"WEB",decimals:18},networkId:37129,rpc:[],shortName:"web",slip44:227,slug:"webchain",testnet:!1},cvt={chain:"Avalanche",chainId:24538,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402133",nativeCurrency:{name:"QI M 2402133 Token",symbol:"XVL",decimals:18},networkId:24538,redFlags:[],rpc:["https://24538.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402133",slug:"qi-m-2402133",testnet:!0},dvt={chain:"Avalanche",chainId:24545,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9167 Testnet",nativeCurrency:{name:"QaUser9167 Testnet Token",symbol:"HBG",decimals:18},networkId:24545,redFlags:[],rpc:["https://24545.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9167 Testnet",slug:"qauser9167-testnet",testnet:!0},lvt={chain:"Avalanche",chainId:24668,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4994 Testnet",nativeCurrency:{name:"QaUser4994 Testnet Token",symbol:"PBE",decimals:18},networkId:24668,redFlags:[],rpc:["https://24668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4994 Testnet",slug:"qauser4994-testnet",testnet:!0},uvt={chain:"MINTME",chainId:24734,explorers:[],faucets:[],infoURL:"https://www.mintme.com",name:"MintMe.com Coin",nativeCurrency:{name:"MintMe.com Coin",symbol:"MINTME",decimals:18},networkId:37480,rpc:["https://24734.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.mintme.com"],shortName:"mintme",slug:"mintme-com-coin",testnet:!1},pvt={chain:"Avalanche",chainId:24867,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser45 Testnet",nativeCurrency:{name:"QaUser45 Testnet Token",symbol:"ZAG",decimals:18},networkId:24867,redFlags:[],rpc:["https://24867.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser45 Testnet",slug:"qauser45-testnet",testnet:!0},hvt={chain:"LiquidLayer",chainId:25186,explorers:[{name:"LiquidLayer Mainnet Explorer",url:"https://scan.liquidlayer.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiayuuzfpcgwjll4us4hquvpqa5gwq3lbiedv4qftmlwcxhcyjzzpq",width:500,height:500,format:"png"},infoURL:"https://scan.liquidlayer.network",name:"LiquidLayer Mainnet",nativeCurrency:{name:"LiquidLayer",symbol:"LILA",decimals:18},networkId:25186,rpc:["https://25186.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.liquidlayer.network"],shortName:"LILA",slug:"liquidlayer",testnet:!1},bvt={chain:"Avalanche",chainId:25284,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405021",nativeCurrency:{name:"QIM2405021 Token",symbol:"UZP",decimals:18},networkId:25284,redFlags:[],rpc:["https://25284.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405021",slug:"qim2405021",testnet:!0},mvt={chain:"Avalanche",chainId:25688,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0520T1TD",nativeCurrency:{name:"QR0520T1TD Token",symbol:"DYH",decimals:18},networkId:25688,redFlags:[],rpc:["https://25688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0520t1td/testnet/rpc"],shortName:"QR0520T1TD",slug:"qr0520t1td",testnet:!0},yvt={chain:"tALV",chainId:25839,explorers:[{name:"AlveyScan Testnet",url:"https://alveytestnet.com",standard:"EIP3091",icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"}}],faucets:["https://faucet.alveytestnet.com"],icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"},infoURL:"https://alveychain.com/",name:"AlveyChain Testnet",nativeCurrency:{name:"AlveyCoin Testnet",symbol:"tALV",decimals:18},networkId:25839,rpc:["https://25839.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.alvey.io"],shortName:"talv",slug:"alveychain-testnet",testnet:!0},gvt={chain:"HammerChain",chainId:25888,explorers:[{name:"Hammer Chain Explorer",url:"https://www.hammerchain.io",standard:"none"}],faucets:[],infoURL:"https://www.hammerchain.io",name:"Hammer Chain Mainnet",nativeCurrency:{name:"GOLDT",symbol:"GOLDT",decimals:18},networkId:25888,rpc:["https://25888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.hammerchain.io/rpc"],shortName:"GOLDT",slug:"hammer-chain",testnet:!1},vvt={chain:"BKC",chainId:25925,explorers:[{name:"bkcscan-testnet",url:"https://testnet.bkcscan.com",standard:"none",icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"}}],faucets:["https://faucet.bitkubchain.com"],icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"},infoURL:"https://www.bitkubchain.com/",name:"Bitkub Chain Testnet",nativeCurrency:{name:"Bitkub Coin",symbol:"tKUB",decimals:18},networkId:25925,rpc:["https://25925.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bitkubchain.io","wss://wss-testnet.bitkubchain.io"],shortName:"bkct",slip44:1,slug:"bitkub-chain-testnet",testnet:!0},wvt={chain:"Avalanche",chainId:25968,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5275",nativeCurrency:{name:"QaUser5275 Token",symbol:"EZL",decimals:18},networkId:25968,redFlags:[],rpc:["https://25968.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5275",slug:"qauser5275",testnet:!0},Tvt={chain:"tFRM",chainId:26026,explorers:[{name:"polkadotjs",url:"https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Ftestnet.dev.svcs.ferrumnetwork.io#/explorer",standard:"none"}],faucets:["https://testnet.faucet.ferrumnetwork.io"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://ferrum.network",name:"Ferrum Testnet",nativeCurrency:{name:"Ferrum",symbol:"tFRM",decimals:18},networkId:26026,rpc:["https://26026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.dev.svcs.ferrumnetwork.io:9933"],shortName:"frm",slip44:1,slug:"ferrum-testnet",testnet:!0},xvt={chain:"Avalanche",chainId:26031,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7894 Testnet",nativeCurrency:{name:"QaUser7894 Testnet Token",symbol:"YUT",decimals:18},networkId:26031,redFlags:[],rpc:["https://26031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7894 Testnet",slug:"qauser7894-testnet",testnet:!0},Evt={chain:"Avalanche",chainId:26563,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2404261",nativeCurrency:{name:"QIM2404261 Token",symbol:"YCW",decimals:18},networkId:26563,redFlags:[],rpc:["https://26563.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2404261",slug:"qim2404261",testnet:!0},_vt={chain:"HTZ",chainId:26600,explorers:[{name:"Hertz Scan",url:"https://hertzscan.com",standard:"EIP3091",icon:{url:"ipfs://Qmf3GYbPXmTDpSP6t7Ug2j5HjEwrY5oGhBDP7d4TQHvGnG",width:162,height:129,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmf3GYbPXmTDpSP6t7Ug2j5HjEwrY5oGhBDP7d4TQHvGnG",width:162,height:129,format:"png"},infoURL:"https://www.hertz-network.com",name:"Hertz Network Mainnet",nativeCurrency:{name:"Hertz",symbol:"HTZ",decimals:18},networkId:26600,rpc:["https://26600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.hertzscan.com"],shortName:"HTZ",slug:"hertz-network",testnet:!1},Avt={chain:"Avalanche",chainId:26730,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet-AJJ",nativeCurrency:{name:"Testnet-AJJ Token",symbol:"AJJ",decimals:18},networkId:26730,redFlags:[],rpc:["https://26730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet-AJJ",slug:"testnet-ajj",testnet:!0},Cvt={chain:"OasisChain",chainId:26863,explorers:[{name:"OasisChain Explorer",url:"https://scan.oasischain.io",standard:"EIP3091"}],faucets:["http://faucet.oasischain.io"],infoURL:"https://scan.oasischain.io",name:"OasisChain Mainnet",nativeCurrency:{name:"OAC",symbol:"OAC",decimals:18},networkId:26863,rpc:["https://26863.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.oasischain.io","https://rpc2.oasischain.io","https://rpc3.oasischain.io"],shortName:"OAC",slug:"oasischain",testnet:!1},Ivt={chain:"KLAOS Nova",chainId:27181,explorers:[{name:"blockscout",url:"https://blockscout.klaosnova.laosfoundation.io",standard:"EIP3091",icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"},infoURL:"https://www.laosfoundation.io/",name:"KLAOS Nova",nativeCurrency:{name:"KLAOS",symbol:"KLAOS",decimals:18},networkId:27181,rpc:["https://27181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.klaosnova.laosfoundation.io","wss://rpc.klaosnova.laosfoundation.io"],shortName:"klaosnova",slug:"klaos-nova",testnet:!0,title:"KLAOS Nova Test Chain"},kvt={chain:"ETH",chainId:27483,explorers:[{name:"Nanon Sepolia Rollup Testnet Explorer",url:"https://sepolia-explorer.nanon.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiduib2fygrwziqpy4yuqr6vvnd6elhahpigbcowcipjjhk6c3qiny",width:400,height:400,format:"png"},infoURL:"https://www.nanon.network",name:"Nanon Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:27483,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://sepolia-bridge.nanon.network"}]},rpc:["https://27483.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.nanon.network"],shortName:"Nanon-Testnet",slip44:1,slug:"nanon-sepolia",testnet:!0,title:"Nanon Sepolia Rollup Testnet"},Svt={chain:"Avalanche",chainId:27550,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405065 NO INTEROP NO SIM",nativeCurrency:{name:"QIM2405065 NO INTEROP NO SIM Token",symbol:"BLY",decimals:18},networkId:27550,redFlags:[],rpc:["https://27550.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qim2405065/testnet/rpc"],shortName:"QIM2405065 NO INTEROP NO SIM",slug:"qim2405065-no-interop-no-sim",testnet:!0},Rvt={chain:"Avalanche",chainId:27827,explorers:[{name:"ZEROONEMAI Explorer",url:"https://subnets.avax.network/zeroonemai",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"zeroone Mainnet",nativeCurrency:{name:"zeroone Mainnet Token",symbol:"ZERO",decimals:18},networkId:27827,redFlags:[],rpc:["https://27827.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/zeroonemai/mainnet/rpc"],shortName:"zeroone Mainnet",slug:"zeroone",testnet:!1},Mvt={chain:"Avalanche",chainId:28106,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Mezzanine Testnet",nativeCurrency:{name:"Mezzanine Testnet Token",symbol:"OWQ",decimals:18},networkId:28106,redFlags:[],rpc:["https://28106.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mezzaninet/testnet/rpc"],shortName:"Mezzanine Testnet",slug:"mezzanine-testnet",testnet:!0},Bvt={chain:"Avalanche",chainId:28408,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405062 NO INTEROP",nativeCurrency:{name:"QIM2405062 NO INTEROP Token",symbol:"BLY",decimals:18},networkId:28408,redFlags:[],rpc:["https://28408.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405062 NO INTEROP",slug:"qim2405062-no-interop",testnet:!0},Dvt={chain:"Vizing Testnet",chainId:28516,explorers:[{name:"blockscout",url:"https://explorer-sepolia.vizing.com",standard:"EIP3091",icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"},infoURL:"https://vizing.com",name:"Vizing Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28516,rpc:["https://28516.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sepolia.vizing.com"],shortName:"Vizing-Testnet",slug:"vizing-testnet",testnet:!0,title:"Vizing Testnet"},Pvt={chain:"Vizing Mainnet",chainId:28518,explorers:[{name:"blockscout",url:"https://explorer.vizing.com",standard:"EIP3091",icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"},infoURL:"https://vizing.com",name:"Vizing Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28518,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.vizing.com"}]},rpc:["https://28518.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.vizing.com"],shortName:"Vizing",slug:"vizing",testnet:!1,title:"Vizing Mainnet"},Lvt={chain:"ETH",chainId:28528,explorers:[{name:"blockscout",url:"https://blockscout.com/optimism/bedrock-alpha",standard:"EIP3091"}],faucets:[],features:[],infoURL:"https://community.optimism.io/docs/developers/bedrock",name:"Optimism Bedrock (Goerli Alpha Testnet)",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:28528,redFlags:[],rpc:["https://28528.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-1-replica-0.bedrock-goerli.optimism.io","https://alpha-1-replica-1.bedrock-goerli.optimism.io","https://alpha-1-replica-2.bedrock-goerli.optimism.io"],shortName:"obgor",slip44:1,slug:"optimism-bedrock-goerli-alpha-testnet",status:"deprecated",testnet:!0},Fvt={chain:"ETH",chainId:28882,explorers:[{name:"Bobascan",url:"https://testnet.bobascan.com",standard:"none"}],faucets:["https://www.l2faucet.com/boba"],infoURL:"https://boba.network",name:"Boba Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28882,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://28882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.boba.network","https://boba-sepolia.gateway.tenderly.co","https://gateway.tenderly.co/public/boba-sepolia","wss://boba-sepolia.gateway.tenderly.co/","wss://gateway.tenderly.co/public/boba-sepolia"],shortName:"BobaSepolia",slug:"boba-sepolia",testnet:!0},Nvt={chain:"Avalanche",chainId:28982,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"RUI",decimals:18},networkId:28982,redFlags:[],rpc:["https://28982.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet",testnet:!0},Ovt={chain:"ETH",chainId:29112,explorers:[{name:"blockscout",url:"https://testnet.explorer.hychain.com",standard:"EIP3091",icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"},infoURL:"https://www.hychain.com",name:"HYCHAIN Testnet",nativeCurrency:{name:"TOPIA",symbol:"TOPIA",decimals:18},networkId:29112,parent:{type:"L2",chain:"eip155-58008",bridges:[]},redFlags:[],rpc:["https://29112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.hychain.com/http"],shortName:"hychain-testnet",slug:"hychain-testnet",testnet:!0},Uvt={chain:"Avalanche",chainId:29386,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4106 Testnet",nativeCurrency:{name:"QaUser4106 Testnet Token",symbol:"BBS",decimals:18},networkId:29386,redFlags:[],rpc:["https://29386.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4106 Testnet",slug:"qauser4106-testnet",testnet:!0},Hvt={chain:"Avalanche",chainId:29442,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402055",nativeCurrency:{name:"QI M 2402055 Token",symbol:"ACI",decimals:18},networkId:29442,redFlags:[],rpc:["https://29442.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402055",slug:"qi-m-2402055",testnet:!0},zvt={chain:"KaiChain",chainId:29536,explorers:[{name:"KaiChain Explorer",url:"https://testnet-explorer.kaichain.net",standard:"EIP3091"}],faucets:["https://faucet.kaichain.net"],infoURL:"https://kaichain.net",name:"KaiChain Testnet",nativeCurrency:{name:"KaiChain Testnet Native Token",symbol:"KEC",decimals:18},networkId:29536,rpc:["https://29536.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.kaichain.net"],shortName:"tkec",slug:"kaichain-testnet",testnet:!0},Wvt={chain:"MCH Verse",chainId:29548,explorers:[{name:"MCH Verse Explorer",url:"https://explorer.oasys.mycryptoheroes.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZZnwR1y6cU1sare2TQmwqkNDLXQxD4GdPrmHLmUoPtbU",width:4e3,height:4e3,format:"png"},infoURL:"https://www.mycryptoheroes.net/verse",name:"MCH Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:29548,parent:{type:"L2",chain:"eip155-248"},rpc:["https://29548.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.oasys.mycryptoheroes.net"],shortName:"MCHV",slug:"mch-verse",testnet:!1},qvt={chain:"Avalanche",chainId:29645,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6355 Testnet",nativeCurrency:{name:"QaUser6355 Testnet Token",symbol:"MQO",decimals:18},networkId:29645,redFlags:[],rpc:["https://29645.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6355 Testnet",slug:"qauser6355-testnet",testnet:!0},jvt={chain:"Avalanche",chainId:29830,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6165 Testnet",nativeCurrency:{name:"QaUser6165 Testnet Token",symbol:"TGQ",decimals:18},networkId:29830,redFlags:[],rpc:["https://29830.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6165 Testnet",slug:"qauser6165-testnet",testnet:!0},Gvt={chain:"PieceNetwork",chainId:30067,explorers:[{name:"Piece Scan",url:"https://testnet-scan.piecenetwork.com",standard:"EIP3091"}],faucets:["https://piecenetwork.com/faucet"],icon:{url:"ipfs://QmWAU39z1kcYshAqkENRH8qUjfR5CJehCxA4GiC33p3HpH",width:800,height:800,format:"png"},infoURL:"https://piecenetwork.com",name:"Piece testnet",nativeCurrency:{name:"ECE",symbol:"ECE",decimals:18},networkId:30067,rpc:["https://30067.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc0.piecenetwork.com"],shortName:"Piece",slip44:1,slug:"piece-testnet",testnet:!0},Kvt={chain:"MiYou Chain",chainId:30088,ens:{registry:"0xFEfa9B3061435977424DD947E756566cFB60473E"},explorers:[{name:"MiYou block explorer",url:"https://myscan.miyou.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmfP1QDK42B7EzYWsYN2PGfjkZUQtSjm1k5gNNT52ixsKL",width:216,height:216,format:"png"},infoURL:"https://www.miyou.io",name:"MiYou Mainnet",nativeCurrency:{name:"Miyou",symbol:"MY",decimals:18},networkId:30088,rpc:["https://30088.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain.miyou.io","https://blockchain.miyoulab.com"],shortName:"MiYou",slip44:60,slug:"miyou",testnet:!1},Qvt={chain:"CAU",chainId:30103,explorers:[{name:"canxium explorer",url:"https://cerium-explorer.canxium.net",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXHSbtVNCJVfe2CvRH7njdyf2SrX5u5bNTfvhqjLeFN2A",width:938,height:938,format:"png"},infoURL:"https://canxium.org",name:"Cerium Testnet",nativeCurrency:{name:"Canxium",symbol:"CAU",decimals:18},networkId:30103,rpc:["https://30103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cerium-rpc.canxium.net"],shortName:"ceri",slip44:1,slug:"cerium-testnet",testnet:!0},Vvt={chain:"Avalanche",chainId:30226,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"JPQ",decimals:18},networkId:30226,redFlags:[],rpc:["https://30226.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet-30226",testnet:!0},Yvt={chain:"Avalanche",chainId:30266,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnet02-06",nativeCurrency:{name:"Tnet02-06 Token",symbol:"LFC",decimals:18},networkId:30266,redFlags:[],rpc:["https://30266.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnet02-06",slug:"tnet02-06",testnet:!0},$vt={chain:"Avalanche",chainId:30289,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0528I1",nativeCurrency:{name:"QI0528I1 Token",symbol:"JQI",decimals:18},networkId:30289,redFlags:[],rpc:["https://30289.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0528I1",slug:"qi0528i1",testnet:!0},Jvt={chain:"Avalanche",chainId:30406,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"MUGEN Testnet",nativeCurrency:{name:"MUGEN Testnet Token",symbol:"MGN",decimals:18},networkId:30406,redFlags:[],rpc:["https://30406.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mugen/testnet/rpc"],shortName:"MUGEN Testnet",slug:"mugen-testnet",testnet:!0},Xvt={chain:"MOVE",chainId:30730,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM Legacy",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:30730,rpc:[],shortName:"moveleg",slug:"movement-evm-legacy",status:"incubating",testnet:!1},Zvt={chain:"MOVE",chainId:30731,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM Devnet",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:30731,rpc:[],shortName:"movedev",slug:"movement-evm-devnet",status:"incubating",testnet:!1},ewt={chain:"MOVE",chainId:30732,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM Testnet",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:30732,rpc:[],shortName:"movetest",slug:"movement-evm-testnet",status:"incubating",testnet:!0},twt={chain:"Avalanche",chainId:30772,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0835",nativeCurrency:{name:"QaUser0835 Token",symbol:"VIG",decimals:18},networkId:30772,redFlags:[],rpc:["https://30772.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0835",slug:"qauser0835",testnet:!0},nwt={chain:"Avalanche",chainId:30891,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"CXY",decimals:18},networkId:30891,redFlags:[],rpc:["https://30891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/e8b04790-d50c-4bb1-89ba-7bd140b674f3"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet-jambon's testnet",testnet:!0},awt={chain:"Avalanche",chainId:30915,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Deboard's Testnet",nativeCurrency:{name:"Deboard's Testnet Token",symbol:"DEVAX",decimals:18},networkId:30915,redFlags:[],rpc:["https://30915.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/deboardste/testnet/rpc"],shortName:"Deboard's Testnet",slug:"deboard-s-testnet",testnet:!0},rwt={chain:"ESN",chainId:31102,explorers:[],faucets:[],infoURL:"https://ethersocial.org",name:"Ethersocial Network",nativeCurrency:{name:"Ethersocial Network Ether",symbol:"ESN",decimals:18},networkId:1,rpc:["https://31102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.esn.gonspool.com"],shortName:"esn",slip44:31102,slug:"ethersocial-network",testnet:!1},fwt={chain:"CLD",chainId:31223,explorers:[{name:"cloudtxscan",url:"https://scan.cloudtx.finance",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSEsi71AdA5HYH6VNC5QUQezFg1C7BiVQJdx1VVfGz3g3",width:713,height:830,format:"png"},infoURL:"https://cloudtx.finance",name:"CloudTx Mainnet",nativeCurrency:{name:"CloudTx",symbol:"CLD",decimals:18},networkId:31223,rpc:["https://31223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.cloudtx.finance"],shortName:"CLDTX",slug:"cloudtx",testnet:!1},iwt={chain:"CloudTx",chainId:31224,explorers:[{name:"cloudtxexplorer",url:"https://explorer.cloudtx.finance",standard:"EIP3091"}],faucets:["https://faucet.cloudtx.finance"],icon:{url:"ipfs://QmSEsi71AdA5HYH6VNC5QUQezFg1C7BiVQJdx1VVfGz3g3",width:713,height:830,format:"png"},infoURL:"https://cloudtx.finance/",name:"CloudTx Testnet",nativeCurrency:{name:"CloudTx",symbol:"CLD",decimals:18},networkId:31224,rpc:["https://31224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.cloudtx.finance"],shortName:"CLD",slip44:1,slug:"cloudtx-testnet",testnet:!0},swt={chain:"GO",chainId:31337,explorers:[{name:"GoChain Testnet Explorer",url:"https://testnet-explorer.gochain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://gochain.io",name:"GoChain Testnet",nativeCurrency:{name:"GoChain Coin",symbol:"GO",decimals:18},networkId:31337,rpc:["https://31337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.gochain.io"],shortName:"got",slip44:1,slug:"gochain-testnet",testnet:!0},owt={chain:"Avalanche",chainId:31338,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT8 Testnet",nativeCurrency:{name:"LT8 Testnet Token",symbol:"LT",decimals:18},networkId:31338,redFlags:[],rpc:["https://31338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt8/testnet/rpc"],shortName:"LT8 Testnet",slug:"lt8-testnet",testnet:!0},cwt={chain:"Avalanche",chainId:31339,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT9",nativeCurrency:{name:"LT9 Token",symbol:"LT",decimals:18},networkId:31339,redFlags:[],rpc:["https://31339.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt9/testnet/rpc"],shortName:"LT9",slug:"lt9",testnet:!0},dwt={chain:"Evoke",chainId:31414,explorers:[{name:"Evoke SmartChain Testnet Explorer",url:"https://testnet-explorer.evokescan.org",standard:"EIP3091"}],faucets:["https://faucet.evokescan.org"],icon:{url:"ipfs://bafkreia5q26knsvxgkwxze7woepvsqat5n2hodokh4ozzphmhexqez5s34",width:100,height:100,format:"png"},infoURL:"https://testnet-explorer.evokescan.org",name:"Evoke Testnet",nativeCurrency:{name:"MTHN Testnet",symbol:"MTHN",decimals:18},networkId:31414,rpc:["https://31414.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.evokescan.org"],shortName:"tmthn",slug:"evoke-testnet",testnet:!0},lwt={chain:"FIL",chainId:31415,explorers:[],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Wallaby testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:31415,rpc:[],shortName:"filecoin-wallaby",slip44:1,slug:"filecoin-wallaby-testnet",status:"deprecated",testnet:!0},uwt={chain:"Avalanche",chainId:31646,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9492 Testnet",nativeCurrency:{name:"QaUser9492 Testnet Token",symbol:"UVI",decimals:18},networkId:31646,redFlags:[],rpc:["https://31646.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9492 Testnet",slug:"qauser9492-testnet",testnet:!0},pwt={chain:"Xchain",chainId:31753,explorers:[{name:"Xchain Mainnet Explorer",url:"https://xchainscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeia5n537fj2mkfcwmjfwktkmqrcwef3affdodhxnvmkg2gkvmbv2ke",width:500,height:500,format:"png"},infoURL:"https://xchainscan.com",name:"Xchain Mainnet",nativeCurrency:{name:"Intdestcoin",symbol:"INTD",decimals:18},networkId:31753,rpc:["https://31753.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xchainscan.com"],shortName:"INTD",slug:"xchain",testnet:!1},hwt={chain:"Xchain",chainId:31754,explorers:[{name:"Xchain Testnet Explorer",url:"https://xchaintest.net",standard:"EIP3091"}],faucets:["https://xchainfaucet.net"],icon:{url:"ipfs://bafybeia5n537fj2mkfcwmjfwktkmqrcwef3affdodhxnvmkg2gkvmbv2ke",width:500,height:500,format:"png"},infoURL:"https://xchaintest.net",name:"Xchain Testnet",nativeCurrency:{name:"Intdestcoin Testnet",symbol:"INTD",decimals:18},networkId:31754,rpc:["https://31754.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xchaintest.net"],shortName:"tINTD",slug:"xchain-testnet",testnet:!0},bwt={chain:"ETH",chainId:31929,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmQHysdcSj7FemPm96k6ShNrc7bMcuzcqpD1gcUPY3YjA3/photo_2024-05-13%2017.19.03.jpeg",width:512,height:512,format:"jpeg"},name:"Worlds OP",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:31929,redFlags:[],rpc:["https://31929.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-worlds-hwbmpbzcnh.t.conduit.xyz/"],shortName:"WorldsOP",slug:"worlds-op",testnet:!0},mwt={chain:"ETH",chainId:32001,explorers:[{name:"W3Gamez Holesky Explorer",url:"https://w3gamez-holesky.web3games.com",standard:"EIP3091",icon:{url:"ipfs://QmUc57w3UTHiWapNW9oQb1dP57ymtdemTTbpvGkjVHBRCo",width:192,height:192,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaQdiE7vwxKeuWCjk4nKBikcpg4XCzQkFWGrAZHmMKnrq",width:400,height:400,format:"png"},infoURL:"https://web3games.com/",name:"W3Gamez Holesky Testnet",nativeCurrency:{name:"W3Gamez Testnet Ether",symbol:"ETH",decimals:18},networkId:32001,rpc:["https://32001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-holesky.w3gamez.network"],shortName:"w3gamez",slip44:1,slug:"w3gamez-holesky-testnet",testnet:!0},ywt={chain:"Avalanche",chainId:32277,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402058",nativeCurrency:{name:"QI M 2402058 Token",symbol:"ACI",decimals:18},networkId:32277,redFlags:[],rpc:["https://32277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402058",slug:"qi-m-2402058",testnet:!0},gwt={chain:"Avalanche",chainId:32366,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4578 Testnet",nativeCurrency:{name:"QaUser4578 Testnet Token",symbol:"EXP",decimals:18},networkId:32366,redFlags:[],rpc:["https://32366.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4578 Testnet",slug:"qauser4578-testnet",testnet:!0},vwt={chain:"Avalanche",chainId:32517,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4536 Testnet",nativeCurrency:{name:"QaUser4536 Testnet Token",symbol:"ZKJ",decimals:18},networkId:32517,redFlags:[],rpc:["https://32517.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4536 Testnet",slug:"qauser4536-testnet",testnet:!0},wwt={chain:"Brise",chainId:32520,explorers:[{name:"Brise Scan",url:"https://brisescan.com",standard:"EIP3091",icon:{url:"ipfs://QmY3vKe1rG9AyHSGH1ouP3ER3EVUZRtRrFbFZEfEpMSd4V",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmY3vKe1rG9AyHSGH1ouP3ER3EVUZRtRrFbFZEfEpMSd4V",width:512,height:512,format:"png"},infoURL:"https://bitgert.com/",name:"Bitgert Mainnet",nativeCurrency:{name:"Bitrise Token",symbol:"Brise",decimals:18},networkId:32520,rpc:["https://32520.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.icecreamswap.com","https://mainnet-rpc.brisescan.com","https://chainrpc.com","https://serverrpc.com"],shortName:"Brise",slug:"bitgert",testnet:!1},Twt={chain:"FSN",chainId:32659,explorers:[{name:"fsnscan",url:"https://fsnscan.com",standard:"EIP3091",icon:{url:"ipfs://QmSAFx34SKNi7a139agX12f68oBMo2Ktt9c8yD8aFa14gd",width:48,height:51,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX3tsEoj7SdaBLLV8VyyCUAmymdEGiSGeuTbxMrEMVvth",width:31,height:31,format:"svg"},infoURL:"https://fusion.org",name:"Fusion Mainnet",nativeCurrency:{name:"Fusion",symbol:"FSN",decimals:18},networkId:32659,rpc:["https://32659.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.fusionnetwork.io","wss://mainnet.fusionnetwork.io"],shortName:"fsn",slip44:288,slug:"fusion",testnet:!1},xwt={chain:"ZIL",chainId:32769,explorers:[{name:"Zilliqa EVM Explorer",url:"https://evmx.zilliqa.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:32769,rpc:["https://32769.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.zilliqa.com"],shortName:"zil",slug:"zilliqa-evm",testnet:!1},Ewt={chain:"ZIL",chainId:32990,explorers:[{name:"Zilliqa EVM Isolated Server Explorer",url:"https://devex.zilliqa.com/?network=https://zilliqa-isolated-server.zilliqa.com",standard:"none"}],faucets:["https://dev-wallet.zilliqa.com/faucet?network=isolated_server"],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM Isolated Server",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:32990,rpc:["https://32990.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zilliqa-isolated-server.zilliqa.com/"],shortName:"zil-isolated-server",slug:"zilliqa-evm-isolated-server",testnet:!1},_wt={chain:"NGL",chainId:33033,explorers:[{name:"Entangle Mainnet Explorer",url:"https://explorer.entangle.fi",standard:"none"}],faucets:[],icon:{url:"ipfs://QmUQiosuH8ib8aXSpYcJRTje9Lro9VeZyd4cNXrXGY5r8D",width:100,height:100,format:"svg"},infoURL:"https://www.entangle.fi",name:"Entangle Mainnet",nativeCurrency:{name:"Entangle",symbol:"NGL",decimals:18},networkId:33033,rpc:["https://33033.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.entangle.fi"],shortName:"ngl",slug:"entangle",testnet:!1},Awt={chain:"ZIL",chainId:33101,explorers:[{name:"Zilliqa EVM Explorer",url:"https://evmx.zilliqa.com",standard:"none"}],faucets:["https://dev-wallet.zilliqa.com/faucet?network=testnet"],infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM Testnet",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:33101,rpc:["https://33101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dev-api.zilliqa.com"],shortName:"zil-testnet",slip44:1,slug:"zilliqa-evm-testnet",testnet:!0},Cwt={chain:"NGL",chainId:33133,explorers:[],faucets:[],icon:{url:"ipfs://QmUQiosuH8ib8aXSpYcJRTje9Lro9VeZyd4cNXrXGY5r8D",width:100,height:100,format:"svg"},infoURL:"https://www.entangle.fi",name:"Entangle Testnet",nativeCurrency:{name:"Entangle",symbol:"NGL",decimals:18},networkId:33133,rpc:["https://33133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-testnet.entangle.fi"],shortName:"tngl",slug:"entangle-testnet",testnet:!0},Iwt={chain:"CLOUDVERSE",chainId:33210,explorers:[{name:"CLOUDVERSE Explorer",url:"https://subnets.avax.network/cloudverse",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://muadao.build/",name:"Cloudverse Subnet",nativeCurrency:{name:"XCLOUD",symbol:"XCLOUD",decimals:18},networkId:33210,rpc:["https://33210.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/cloudverse/mainnet/rpc"],shortName:"cloudverse",slug:"cloudverse-subnet",testnet:!1},kwt={chain:"AVS",chainId:33333,explorers:[{name:"avescan",url:"https://avescan.io",standard:"EIP3091",icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"},infoURL:"https://avescoin.io",name:"Aves Mainnet",nativeCurrency:{name:"Aves",symbol:"AVS",decimals:18},networkId:33333,rpc:["https://33333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.avescoin.io"],shortName:"avs",slug:"aves",testnet:!1},Swt={chain:"ZIL",chainId:33385,explorers:[{name:"Zilliqa EVM Devnet Explorer",url:"https://otterscan.devnet.zilliqa.com",standard:"EIP3091"}],faucets:["https://faucet.devnet.zilliqa.com/"],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM Devnet",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:33385,rpc:["https://33385.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.devnet.zilliqa.com/"],shortName:"zil-devnet",slug:"zilliqa-evm-devnet",testnet:!1},Rwt={chain:"Avalanche",chainId:33448,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s2 Testnet",nativeCurrency:{name:"QI0408s2 Testnet Token",symbol:"QCE",decimals:18},networkId:33448,redFlags:[],rpc:["https://33448.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s2 Testnet",slug:"qi0408s2-testnet",testnet:!0},Mwt={chain:"ZIL",chainId:33469,explorers:[{name:"Zilliqa-2 EVM Devnet Explorer",url:"https://explorer.zq2-devnet.zilliqa.com",standard:"EIP3091"}],faucets:["https://faucet.zq2-devnet.zilliqa.com"],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa-2 EVM Devnet",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:33469,rpc:["https://33469.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.zq2-devnet.zilliqa.com"],shortName:"zq2-devnet",slug:"zilliqa-2-evm-devnet",testnet:!1},Bwt={chain:"Avalanche",chainId:33795,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9260",nativeCurrency:{name:"QaUser9260 Token",symbol:"SBM",decimals:18},networkId:33795,redFlags:[],rpc:["https://33795.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9260",slug:"qauser9260",testnet:!0},Dwt={chain:"Avalanche",chainId:33841,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0422s2 Testnet",nativeCurrency:{name:"QI0422s2 Testnet Token",symbol:"HOS",decimals:18},networkId:33841,redFlags:[],rpc:["https://33841.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0422s2 Testnet",slug:"qi0422s2-testnet",testnet:!0},Pwt={chain:"Avalanche",chainId:33909,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Reg1116test",nativeCurrency:{name:"Reg1116test Token",symbol:"JUO",decimals:18},networkId:33909,redFlags:[],rpc:["https://33909.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Reg1116test",slug:"reg1116test",testnet:!0},Lwt={chain:"ETH",chainId:33979,explorers:[{name:"Funki Mainnet Explorer",url:"https://mainnet.funkichain.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWLjmfbjx2qZC39GCFXDzt72NXVTtDBVzVSq6rwaquyp3",width:1200,height:410,format:"png"},infoURL:"https://funkichain.com",name:"Funki",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:33979,rpc:[],shortName:"funki",slug:"funki",testnet:!1},Fwt={chain:"Avalanche",chainId:34295,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402132",nativeCurrency:{name:"QI M 2402132 Token",symbol:"CYB",decimals:18},networkId:34295,redFlags:[],rpc:["https://34295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402132",slug:"qi-m-2402132",testnet:!0},Nwt={chain:"ETH",chainId:34443,explorers:[{name:"modescout",url:"https://explorer.mode.network",standard:"none"}],faucets:[],infoURL:"https://docs.mode.network/",name:"Mode",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:34443,rpc:["https://34443.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.mode.network","https://mode.drpc.org","wss://mode.drpc.org"],shortName:"mode",slug:"mode",testnet:!1},Owt={chain:"Avalanche",chainId:34851,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0235",nativeCurrency:{name:"QaUser0235 Token",symbol:"GET",decimals:18},networkId:34851,redFlags:[],rpc:["https://34851.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0235",slug:"qauser0235",testnet:!0},Uwt={chain:"TARO",chainId:35011,explorers:[{name:"J2O Taro Explorer",url:"https://exp.j2o.io",standard:"EIP3091",icon:{url:"ipfs://QmdUYi8fjnvdM9iFQ7dwE2YvmhDtavSB3bKhCD2GhPxPks",width:512,height:512,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://j2o.io",name:"J2O Taro",nativeCurrency:{name:"TARO Coin",symbol:"taro",decimals:18},networkId:35011,rpc:["https://35011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.j2o.io"],shortName:"j2o",slug:"j2o-taro",testnet:!1},Hwt={chain:"Avalanche",chainId:35395,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Found 1-4-23",nativeCurrency:{name:"Found 1-4-23 Token",symbol:"TVJ",decimals:18},networkId:35395,redFlags:[],rpc:["https://35395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Found 1-4-23",slug:"found-1-4-23",testnet:!0},zwt={chain:"Avalanche",chainId:35439,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401122",nativeCurrency:{name:"QI M 2401122 Token",symbol:"HZU",decimals:18},networkId:35439,redFlags:[],rpc:["https://35439.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401122",slug:"qi-m-2401122",testnet:!0},Wwt={chain:"Q",chainId:35441,explorers:[{name:"Q explorer",url:"https://explorer.q.org",standard:"EIP3091",icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"},infoURL:"https://q.org",name:"Q Mainnet",nativeCurrency:{name:"QGOV",symbol:"QGOV",decimals:18},networkId:35441,rpc:["https://35441.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.q.org"],shortName:"q",slug:"q",testnet:!1},qwt={chain:"Q",chainId:35443,explorers:[{name:"Q explorer",url:"https://explorer.qtestnet.org",standard:"EIP3091",icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"},infoURL:"https://q.org/",name:"Q Testnet",nativeCurrency:{name:"Q token",symbol:"Q",decimals:18},networkId:35443,rpc:["https://35443.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.qtestnet.org"],shortName:"q-testnet",slip44:1,slug:"q-testnet",testnet:!0},jwt={chain:"Avalanche",chainId:35641,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3338",nativeCurrency:{name:"QaUser3338 Token",symbol:"BQL",decimals:18},networkId:35641,redFlags:[],rpc:["https://35641.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3338",slug:"qauser3338",testnet:!0},Gwt={chain:"Avalanche",chainId:35730,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QR1129I1",nativeCurrency:{name:"QR1129I1 Token",symbol:"YXAX",decimals:18},networkId:35730,redFlags:[],rpc:["https://35730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr1129i1/testnet/rpc"],shortName:"QR1129I1",slug:"qr1129i1",testnet:!0},Kwt={chain:"Avalanche",chainId:36530,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Super Subnet",nativeCurrency:{name:"Will's Super Subnet Token",symbol:"VRJ",decimals:18},networkId:36530,redFlags:[],rpc:["https://36530.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Super Subnet",slug:"will-s-super-subnet",testnet:!0},Qwt={chain:"Avalanche",chainId:36695,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan Yolo Testnet",nativeCurrency:{name:"Cohan Yolo Testnet Token",symbol:"KYI",decimals:18},networkId:36695,redFlags:[],rpc:["https://36695.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c033f73a-70ff-463d-b121-81b9542e11a1"],shortName:"Cohan Yolo Testnet",slug:"cohan-yolo-testnet",testnet:!0},Vwt={chain:"Avalanche",chainId:36746,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1213 Testnet",nativeCurrency:{name:"QaUser1213 Testnet Token",symbol:"ZKJ",decimals:18},networkId:36746,redFlags:[],rpc:["https://36746.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1213 Testnet",slug:"qauser1213-testnet",testnet:!0},Ywt={chain:"Avalanche",chainId:36908,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QR1205s1",nativeCurrency:{name:"QR1205s1 Token",symbol:"MDN",decimals:18},networkId:36908,redFlags:[],rpc:["https://36908.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr1205s1/testnet/rpc"],shortName:"QR1205s1",slug:"qr1205s1",testnet:!0},$wt={chain:"crtr-testnet",chainId:37003,explorers:[{name:"blockscout",url:"https://explorerl2new-crtr-testnet-mev0ni0xlx.t.conduit.xyz",standard:"EIP3091",icon:{url:"ipfs://QmbYKZ1MuDa1hzwLGjdCZGapuhV7C9uyRDPJWD994qbocY/generic-icon.png",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmbYKZ1MuDa1hzwLGjdCZGapuhV7C9uyRDPJWD994qbocY/generic-icon.png",width:512,height:512,format:"png"},name:"crtr-testnet",nativeCurrency:{name:"CRTR",symbol:"CRTR",decimals:18},networkId:37003,parent:{type:"L3",chain:"eip155-1",bridges:[]},redFlags:[],rpc:["https://37003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-crtr-testnet-mev0ni0xlx.t.conduit.xyz"],shortName:"crtr-testnet-mev0ni0xlx",slug:"crtr-testnet",testnet:!0},Jwt={chain:"Avalanche",chainId:37195,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Thari",nativeCurrency:{name:"Thari Token",symbol:"THARI",decimals:18},networkId:37195,redFlags:[],rpc:["https://37195.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/thari/testnet/rpc"],shortName:"Thari",slug:"thari",testnet:!0},Xwt={chain:"Avalanche",chainId:37375,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402057",nativeCurrency:{name:"QI M 2402057 Token",symbol:"ACI",decimals:18},networkId:37375,redFlags:[],rpc:["https://37375.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402057",slug:"qi-m-2402057",testnet:!0},Zwt={chain:"Avalanche",chainId:37767,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnet 01-15",nativeCurrency:{name:"Tnet 01-15 Token",symbol:"LFC",decimals:18},networkId:37767,redFlags:[],rpc:["https://37767.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnet 01-15",slug:"tnet-01-15",testnet:!0},eTt={chain:"Avalanche",chainId:38085,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0227I1",nativeCurrency:{name:"QI0227I1 Token",symbol:"ULH",decimals:18},networkId:38085,redFlags:[],rpc:["https://38085.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0227I1",slug:"qi0227i1",testnet:!0},tTt={chain:"Avalanche",chainId:38168,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0531S1T",nativeCurrency:{name:"QR0531S1T Token",symbol:"GKN",decimals:18},networkId:38168,redFlags:[],rpc:["https://38168.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0531s1t/testnet/rpc"],shortName:"QR0531S1T",slug:"qr0531s1t",testnet:!0},nTt={chain:"Rangers",chainId:38400,explorers:[{name:"rangersscan",url:"https://scan.rangersprotocol.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"ConnectorManager",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"cmRPG",decimals:18},networkId:38400,rpc:["https://38400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cm.rangersprotocol.com/api/jsonrpc"],shortName:"cmrpg",slug:"connectormanager",testnet:!1},aTt={chain:"Rangers",chainId:38401,explorers:[{name:"rangersscan-robin",url:"https://robin-rangersscan.rangersprotocol.com",standard:"none"}],faucets:["https://robin-faucet.rangersprotocol.com"],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"ConnectorManager Robin",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"ttRPG",decimals:18},networkId:38401,rpc:["https://38401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://robin-cm.rangersprotocol.com/api/jsonrpc"],shortName:"ttrpg",slug:"connectormanager-robin",testnet:!1},rTt={chain:"Avalanche",chainId:38904,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1490 Testnet",nativeCurrency:{name:"QaUser1490 Testnet Token",symbol:"PNK",decimals:18},networkId:38904,redFlags:[],rpc:["https://38904.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1490 Testnet",slug:"qauser1490-testnet",testnet:!0},fTt={chain:"Avalanche",chainId:39098,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI 20240108",nativeCurrency:{name:"QI 20240108 Token",symbol:"COZ",decimals:18},networkId:39098,redFlags:[],rpc:["https://39098.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f575b5b1-8b60-47f3-af28-13f3f3de2ba5"],shortName:"QI 20240108",slug:"qi-20240108",testnet:!0},iTt={chain:"Avalanche",chainId:39142,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST Found 1-05-24",nativeCurrency:{name:"ST Found 1-05-24 Token",symbol:"LGT",decimals:18},networkId:39142,redFlags:[],rpc:["https://39142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST Found 1-05-24",slug:"st-found-1-05-24",testnet:!0},sTt={chain:"Avalanche",chainId:39585,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5884",nativeCurrency:{name:"QaUser5884 Token",symbol:"YRO",decimals:18},networkId:39585,redFlags:[],rpc:["https://39585.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5884",slug:"qauser5884",testnet:!0},oTt={chain:"prm",chainId:39656,explorers:[{name:"Primal Network",url:"https://prmscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmckkDRkuCQWbvhpKGsqa8ajuQvf3W5dekzw5qpiPC6shk",width:1220,height:1220,format:"png"},infoURL:"https://primalnetwork.org",name:"PRM Mainnet",nativeCurrency:{name:"Primal Network",symbol:"PRM",decimals:18},networkId:39656,rpc:["https://39656.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.prmscan.org"],shortName:"prm",slug:"prm",testnet:!1},cTt={chain:"Avalanche",chainId:39747,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser41Testnet",nativeCurrency:{name:"QaUser41Testnet Token",symbol:"GYF",decimals:18},networkId:39747,redFlags:[],rpc:["https://39747.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser41Testnet",slug:"qauser41testnet",testnet:!0},dTt={chain:"NRG",chainId:39797,explorers:[],faucets:[],infoURL:"https://www.energi.world/",name:"Energi Mainnet",nativeCurrency:{name:"Energi",symbol:"NRG",decimals:18},networkId:39797,rpc:["https://39797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodeapi.energi.network"],shortName:"nrg",slip44:39797,slug:"energi",testnet:!1},lTt={chain:"OHO",chainId:39815,explorers:[{name:"ohoscan",url:"https://ohoscan.com",standard:"EIP3091",icon:{url:"ipfs://QmZt75xixnEtFzqHTrJa8kJkV4cTXmUZqeMeHM8BcvomQc",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZt75xixnEtFzqHTrJa8kJkV4cTXmUZqeMeHM8BcvomQc",width:512,height:512,format:"png"},infoURL:"https://oho.ai",name:"OHO Mainnet",nativeCurrency:{name:"OHO",symbol:"OHO",decimals:18},networkId:39815,rpc:["https://39815.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.oho.ai"],shortName:"oho",slug:"oho",testnet:!1},uTt={chain:"Avalanche",chainId:40100,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4426",nativeCurrency:{name:"QaUser4426 Token",symbol:"PMC",decimals:18},networkId:40100,redFlags:[],rpc:["https://40100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4426",slug:"qauser4426",testnet:!0},pTt={chain:"Avalanche",chainId:40542,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I8",nativeCurrency:{name:"QI1212I8 Token",symbol:"HSCX",decimals:18},networkId:40542,redFlags:[],rpc:["https://40542.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/ba4e7766-4bc6-44ec-b43f-598647b4ee71"],shortName:"QI1212I8",slug:"qi1212i8",testnet:!0},hTt={chain:"Avalanche",chainId:40798,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0109y1p",nativeCurrency:{name:"qr0109y1p Token",symbol:"KZP",decimals:18},networkId:40798,redFlags:[],rpc:["https://40798.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0109y1p/testnet/rpc"],shortName:"qr0109y1p",slug:"qr0109y1p",testnet:!0},bTt={chain:"Avalanche",chainId:40868,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5110 Testnet",nativeCurrency:{name:"QaUser5110 Testnet Token",symbol:"CRL",decimals:18},networkId:40868,redFlags:[],rpc:["https://40868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5110 Testnet",slug:"qauser5110-testnet",testnet:!0},mTt={chain:"Avalanche",chainId:41077,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"REALLY",nativeCurrency:{name:"REALLY Token",symbol:"FAN",decimals:18},networkId:41077,redFlags:[],rpc:["https://41077.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/really/testnet/rpc"],shortName:"REALLY",slug:"really",testnet:!0},yTt={chain:"Avalanche",chainId:41425,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0205I1",nativeCurrency:{name:"QR0205I1 Token",symbol:"PVW",decimals:18},networkId:41425,redFlags:[],rpc:["https://41425.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0205i1/testnet/rpc"],shortName:"QR0205I1",slug:"qr0205i1",testnet:!0},gTt={chain:"Opulent-X",chainId:41500,explorers:[{name:"Opulent-X BETA Explorer",url:"https://explorer.opulent-x.com",standard:"none"}],faucets:[],infoURL:"https://beta.opulent-x.com",name:"Opulent-X BETA",nativeCurrency:{name:"Oxyn Gas",symbol:"OXYN",decimals:18},networkId:41500,rpc:["https://41500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.opulent-x.com"],shortName:"ox-beta",slug:"opulent-x-beta",testnet:!1},vTt={chain:"Avalanche",chainId:41604,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"LFC",decimals:18},networkId:41604,redFlags:[],rpc:["https://41604.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-41604",testnet:!0},wTt={chain:"Avalanche",chainId:41720,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0409s1 Testnet",nativeCurrency:{name:"QR0409s1 Testnet Token",symbol:"ZSP",decimals:18},networkId:41720,redFlags:[],rpc:["https://41720.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0409s1/testnet/rpc"],shortName:"QR0409s1 Testnet",slug:"qr0409s1-testnet",testnet:!0},TTt={chain:"Avalanche",chainId:41799,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's New Testnet",nativeCurrency:{name:"Will's New Testnet Token",symbol:"ZBO",decimals:18},networkId:41799,redFlags:[],rpc:["https://41799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's New Testnet",slug:"will-s-new-testnet",testnet:!0},xTt={chain:"42069",chainId:42069,explorers:[],faucets:[],infoURL:"https://teampeggle.com",name:"pegglecoin",nativeCurrency:{name:"pegglecoin",symbol:"peggle",decimals:18},networkId:42069,rpc:[],shortName:"PC",slug:"pegglecoin",testnet:!1},ETt={chain:"AgentLayer",chainId:42072,explorers:[{name:"AgentLayer Testnet Explorer",url:"https://testnet-explorer.agentlayer.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSj6SSWmBiRjnjZQPb17kvhGDmB9xAGRkG13RwPuXLTCT",width:512,height:512,format:"png"},infoURL:"https://agentlayer.xyz/home",name:"AgentLayer Testnet",nativeCurrency:{name:"Agent",symbol:"AGENT",decimals:18},networkId:42072,rpc:["https://42072.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.agentlayer.xyz"],shortName:"agent",slug:"agentlayer-testnet",testnet:!0},_He={chain:"ETH",chainId:42161,explorers:[{name:"Arbiscan",url:"https://arbiscan.io",standard:"EIP3091"},{name:"Arbitrum Explorer",url:"https://explorer.arbitrum.io",standard:"EIP3091"},{name:"dexguru",url:"https://arbitrum.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/arbitrum/512.png",width:512,height:512,format:"png"},infoURL:"https://arbitrum.io",name:"Arbitrum One",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:42161,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.arbitrum.io"}]},redFlags:[],rpc:["https://42161.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://arbitrum-mainnet.infura.io/v3/${INFURA_API_KEY}","https://arb-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}","https://arb1.arbitrum.io/rpc","https://arbitrum-one.publicnode.com","wss://arbitrum-one.publicnode.com"],shortName:"arb1",slug:"arbitrum",testnet:!1},_Tt={chain:"ETH",chainId:42170,explorers:[{name:"Arbitrum Nova Chain Explorer",url:"https://nova-explorer.arbitrum.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://nova.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],infoURL:"https://arbitrum.io",name:"Arbitrum Nova",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:42170,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.arbitrum.io"}]},rpc:["https://42170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nova.arbitrum.io/rpc","https://arbitrum-nova.publicnode.com","wss://arbitrum-nova.publicnode.com"],shortName:"arb-nova",slug:"arbitrum-nova",testnet:!1},KS={chain:"CELO",chainId:42220,explorers:[{name:"blockscout",url:"https://explorer.celo.org",standard:"none"},{name:"Celoscan",url:"https://celoscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.celo.org/",name:"Celo Mainnet",nativeCurrency:{name:"CELO",symbol:"CELO",decimals:18},networkId:42220,rpc:["https://42220.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://forno.celo.org","wss://forno.celo.org/ws"],shortName:"celo",slug:"celo",testnet:!1},ATt={chain:"Emerald",chainId:42261,explorers:[{name:"Oasis Emerald Testnet Explorer",url:"https://explorer.oasis.io/testnet/emerald",standard:"EIP3091"}],faucets:["https://faucet.testnet.oasis.io/"],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/emerald",name:"Oasis Emerald Testnet",nativeCurrency:{name:"Emerald Rose",symbol:"ROSE",decimals:18},networkId:42261,rpc:["https://42261.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.emerald.oasis.io/","wss://testnet.emerald.oasis.io/ws"],shortName:"emerald-testnet",slip44:1,slug:"oasis-emerald-testnet",testnet:!0},CTt={chain:"Emerald",chainId:42262,explorers:[{name:"Oasis Emerald Explorer",url:"https://explorer.oasis.io/mainnet/emerald",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/emerald",name:"Oasis Emerald",nativeCurrency:{name:"Emerald Rose",symbol:"ROSE",decimals:18},networkId:42262,rpc:["https://42262.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://emerald.oasis.io","wss://emerald.oasis.io/ws"],shortName:"emerald",slug:"oasis-emerald",testnet:!1},ITt={chain:"GoldX",chainId:42355,explorers:[{name:"GoldXChain Explorer",url:"https://explorer.goldxchain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://goldxchain.io",name:"GoldXChain Mainnet",nativeCurrency:{name:"GoldX",symbol:"GOLDX",decimals:18},networkId:42355,rpc:["https://42355.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.goldxchain.io"],shortName:"goldx",slug:"goldxchain",testnet:!1},kTt={chain:"Avalanche",chainId:42451,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1220s1",nativeCurrency:{name:"QI1220s1 Token",symbol:"BKX",decimals:18},networkId:42451,redFlags:[],rpc:["https://42451.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1220s1",slug:"qi1220s1",testnet:!0},STt={chain:"ZKFair",chainId:42766,explorers:[{name:"blockscout",url:"https://scan.zkfair.io",standard:"EIP3091",icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"},infoURL:"https://zkfair.io",name:"ZKFair Mainnet",nativeCurrency:{name:"USDC Token",symbol:"USDC",decimals:18},networkId:42766,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://wallet.zkfair.io"}]},rpc:["https://42766.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zkfair.io"],shortName:"ZKFair-Mainnet",slug:"zkfair",testnet:!1,title:"ZKFair Mainnet"},RTt={chain:"Etherlink",chainId:42793,explorers:[{name:"Etherlink Explorer",url:"https://explorer.etherlink.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmVqE4wq3fd3RKZwo7GxmW333ywHgYBZGvqwh3TUBM5DUi",width:584,height:545,format:"png"},infoURL:"https://etherlink.com",name:"Etherlink Mainnet",nativeCurrency:{name:"tez",symbol:"XTZ",decimals:18},networkId:42793,rpc:["https://42793.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.mainnet.etherlink.com"],shortName:"etlk",slug:"etherlink",testnet:!1},MTt={chain:"Gesoten Verse",chainId:42801,explorers:[{name:"Gesoten Verse Testnet Explorer",url:"https://explorer.testnet.verse.gesoten.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmb7oJY9zd9sTzxNNQNTVZQz2hkd1aA94mWm4cvXfJ9QxV",width:1280,height:1280,format:"png"},infoURL:"https://gesoten.com/",name:"Gesoten Verse Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:42801,rpc:["https://42801.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.verse.gesoten.com/"],shortName:"GST",slip44:1,slug:"gesoten-verse-testnet",testnet:!0},BTt={chain:"Avalanche",chainId:42840,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"DQX",decimals:18},networkId:42840,redFlags:[],rpc:["https://42840.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet-42840",testnet:!0},DTt={chain:"ETH",chainId:42888,explorers:[{name:"kintoscan",url:"http://35.215.120.180:4000",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://ethereum.org",name:"Kinto Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:42888,rpc:["https://42888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://35.215.120.180:8545"],shortName:"keth",slip44:1,slug:"kinto-testnet",testnet:!0,title:"Kinto Testnet"},PTt={chain:"ATH",chainId:43110,explorers:[],faucets:["http://athfaucet.ava.network//?address=${ADDRESS}"],infoURL:"https://athereum.ava.network",name:"Athereum",nativeCurrency:{name:"Athereum Ether",symbol:"ATH",decimals:18},networkId:43110,rpc:["https://43110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ava.network:21015/ext/evm/rpc"],shortName:"avaeth",slug:"athereum",testnet:!1},LTt={chain:"ETH",chainId:43111,explorers:[],faucets:[],icon:{url:"ipfs://QmfP6GDn5eXFcpWuoiyWn5pjn6PYB7HQhRD8nSko1zR8KD",width:1200,height:1200,format:"png"},infoURL:"https://hemi.xyz",name:"Hemi Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:43111,parent:{type:"L2",chain:"eip155-1"},rpc:[],shortName:"hemi",slug:"hemi-network",status:"incubating",testnet:!1},AHe={chain:"AVAX",chainId:43113,explorers:[{name:"snowtrace",url:"https://testnet.snowtrace.io",standard:"EIP3091"}],faucets:["https://faucet.avax-test.network/"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/avalanche/512.png",width:512,height:512,format:"png"},infoURL:"https://cchain.explorer.avax-test.network",name:"Avalanche Fuji Testnet",nativeCurrency:{name:"Avalanche",symbol:"AVAX",decimals:18},networkId:43113,redFlags:[],rpc:["https://43113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.avax-test.network/ext/bc/C/rpc","https://avalanche-fuji-c-chain-rpc.publicnode.com","wss://avalanche-fuji-c-chain-rpc.publicnode.com"],shortName:"Fuji",slip44:1,slug:"avalanche-fuji",testnet:!0},CHe={chain:"AVAX",chainId:43114,explorers:[{name:"snowtrace",url:"https://snowtrace.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/avalanche/512.png",width:512,height:512,format:"png"},infoURL:"https://www.avax.network/",name:"Avalanche C-Chain",nativeCurrency:{name:"Avalanche",symbol:"AVAX",decimals:18},networkId:43114,redFlags:[],rpc:["https://43114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://avalanche-mainnet.infura.io/v3/${INFURA_API_KEY}","https://api.avax.network/ext/bc/C/rpc","https://avalanche-c-chain-rpc.publicnode.com","wss://avalanche-c-chain-rpc.publicnode.com"],shortName:"avax",slip44:9005,slug:"avalanche",testnet:!1},FTt={chain:"Avalanche",chainId:43125,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3950 Testnet",nativeCurrency:{name:"QaUser3950 Testnet Token",symbol:"SZL",decimals:18},networkId:43125,redFlags:[],rpc:["https://43125.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3950 Testnet",slug:"qauser3950-testnet",testnet:!0},NTt={chain:"Boba Avax",chainId:43288,explorers:[{name:"Boba Avax Explorer",url:"https://blockexplorer.avax.boba.network",standard:"none"}],faucets:[],infoURL:"https://docs.boba.network/for-developers/network-avalanche",name:"Boba Avax",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:43288,rpc:["https://43288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://avax.boba.network","wss://wss.avax.boba.network","https://replica.avax.boba.network","wss://replica-wss.avax.boba.network"],shortName:"bobaavax",slug:"boba-avax",status:"deprecated",testnet:!1},OTt={chain:"Avalanche",chainId:43593,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1596",nativeCurrency:{name:"QaUser1596 Token",symbol:"VNE",decimals:18},networkId:43593,redFlags:[],rpc:["https://43593.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1596",slug:"qauser1596",testnet:!0},UTt={chain:"ETH",chainId:43851,explorers:[{name:"ZKFair Testnet Info",url:"https://testnet-scan.zkfair.io",standard:"EIP3091",icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"},infoURL:"https://zkfair.io",name:"ZKFair Testnet",nativeCurrency:{name:"USDC Token",symbol:"USDC",decimals:18},networkId:43851,rpc:["https://43851.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.zkfair.io"],shortName:"ZKFair-Testnet",slip44:1,slug:"zkfair-testnet",testnet:!0},HTt={chain:"Avalanche",chainId:44044,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM 240530 TEST INTEROP",nativeCurrency:{name:"QIM 240530 TEST INTEROP Token",symbol:"WCC",decimals:18},networkId:44044,redFlags:[],rpc:["https://44044.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qim240530t/testnet/rpc"],shortName:"QIM 240530 TEST INTEROP",slug:"qim-240530-test-interop",testnet:!0},zTt={chain:"fren",chainId:44444,explorers:[{name:"blockscout",url:"https://frenscan.io",standard:"EIP3091",icon:{url:"ipfs://QmQk41bYX6WpYyUAdRgomZekxP5mbvZXhfxLEEqtatyJv4",width:128,height:128,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQk41bYX6WpYyUAdRgomZekxP5mbvZXhfxLEEqtatyJv4",width:128,height:128,format:"png"},infoURL:"https://frenchain.app",name:"Frenchain",nativeCurrency:{name:"FREN",symbol:"FREN",decimals:18},networkId:44444,rpc:["https://44444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-02.frenscan.io"],shortName:"FREN",slug:"frenchain",testnet:!1},WTt={chain:"Quantum",chainId:44445,explorers:[{name:"Quantum Explorer",url:"https://qtm.avescoin.io",standard:"EIP3091",icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"},infoURL:"https://avescoin.io/",name:"Quantum Network",nativeCurrency:{name:"Quantum",symbol:"QTM",decimals:18},networkId:44445,rpc:["https://44445.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcqtm.avescoin.io"],shortName:"QTM",slug:"quantum-network",testnet:!1},QS={chain:"CELO",chainId:44787,explorers:[{name:"Alfajoresscan",url:"https://alfajores.celoscan.io",standard:"EIP3091"}],faucets:["https://celo.org/developers/faucet","https://cauldron.pretoriaresearchlab.io/alfajores-faucet"],features:[],infoURL:"https://docs.celo.org/",name:"Celo Alfajores Testnet",nativeCurrency:{name:"CELO",symbol:"CELO",decimals:18},networkId:44787,redFlags:[],rpc:["https://44787.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alfajores-forno.celo-testnet.org","wss://alfajores-forno.celo-testnet.org/ws"],shortName:"ALFA",slip44:1,slug:"celo-alfajores-testnet",testnet:!0},qTt={chain:"Avalanche",chainId:44808,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"klCohan Testnet",nativeCurrency:{name:"klCohan Testnet Token",symbol:"DBM",decimals:18},networkId:44808,redFlags:[],rpc:["https://44808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/d2b6bd35-89f7-4019-bc88-643c31221e5c"],shortName:"klCohan Testnet",slug:"klcohan-testnet",testnet:!0},jTt={chain:"Avalanche",chainId:44850,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0318I1 Testnet",nativeCurrency:{name:"QI0318I1 Testnet Token",symbol:"WJN",decimals:18},networkId:44850,redFlags:[],rpc:["https://44850.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0318I1 Testnet",slug:"qi0318i1-testnet",testnet:!0},GTt={chain:"TXL",chainId:45e3,explorers:[{name:"autobahn explorer",url:"https://explorer.autobahn.network",standard:"EIP3091",icon:{url:"ipfs://QmZP19pbqTco4vaP9siduLWP8pdYArFK3onfR55tvjr12s",width:489,height:489,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZP19pbqTco4vaP9siduLWP8pdYArFK3onfR55tvjr12s",width:489,height:489,format:"png"},infoURL:"https://autobahn.network",name:"Autobahn Network",nativeCurrency:{name:"TXL",symbol:"TXL",decimals:18},networkId:45e3,rpc:["https://45000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.autobahn.network"],shortName:"AutobahnNetwork",slug:"autobahn-network",testnet:!1},KTt={chain:"SWP",chainId:45454,explorers:[{name:"blockscout",url:"https://swamps-explorer.tc.l2aas.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTEEgWsknzdqjLbaAvLHqCCzCtMJZh2d1SqMscxZCXBwA",width:150,height:150,format:"png"},infoURL:"https://www.swamps.fi",name:"Swamps L2",nativeCurrency:{name:"SWP",symbol:"SWP",decimals:18},networkId:45454,rpc:["https://45454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://swamps.tc.l2aas.com"],shortName:"SWP",slug:"swamps-l2",testnet:!1},QTt={chain:"DEE",chainId:45510,explorers:[{name:"Deelance Mainnet Explorer",url:"https://deescan.com",standard:"EIP3091"}],faucets:["https://faucet.deelance.com"],icon:{url:"ipfs://Qmay2j8biuo5xLJL8NcLtrzubAEHuCWz65cdbKE1pSnGf6",width:500,height:500,format:"png"},infoURL:"https://deelance.com",name:"Deelance Mainnet",nativeCurrency:{name:"Deelance",symbol:"DEE",decimals:18},networkId:45510,rpc:["https://45510.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.deelance.com"],shortName:"dee",slug:"deelance",testnet:!1,title:"Deelance Network Mainnet"},VTt={chain:"Avalanche",chainId:45544,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6609 Testnet",nativeCurrency:{name:"QaUser6609 Testnet Token",symbol:"NHU",decimals:18},networkId:45544,redFlags:[],rpc:["https://45544.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6609 Testnet",slug:"qauser6609-testnet",testnet:!0},YTt={chain:"Avalanche",chainId:45979,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5277 Testnet",nativeCurrency:{name:"QaUser5277 Testnet Token",symbol:"LWR",decimals:18},networkId:45979,redFlags:[],rpc:["https://45979.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5277 Testnet",slug:"qauser5277-testnet",testnet:!0},$Tt={chain:"Avalanche",chainId:46092,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0213I1",nativeCurrency:{name:"QI0213I1 Token",symbol:"ORR",decimals:18},networkId:46092,redFlags:[],rpc:["https://46092.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/f0aae4b1-a373-43ed-9e61-ba61d42131bb"],shortName:"QI0213I1",slug:"qi0213i1",testnet:!0},JTt={chain:"Avalanche",chainId:46109,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0224t1tp Testnet",nativeCurrency:{name:"qr0224t1tp Testnet Token",symbol:"CRH",decimals:18},networkId:46109,redFlags:[],rpc:["https://46109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0224t1tp/testnet/rpc"],shortName:"qr0224t1tp Testnet",slug:"qr0224t1tp-testnet",testnet:!0},XTt={chain:"Avalanche",chainId:46145,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0520I2",nativeCurrency:{name:"QI0520I2 Token",symbol:"YZG",decimals:18},networkId:46145,redFlags:[],rpc:["https://46145.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0520I2",slug:"qi0520i2",testnet:!0},ZTt={chain:"Avalanche",chainId:46565,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430s2",nativeCurrency:{name:"QI0430s2 Token",symbol:"SWS",decimals:18},networkId:46565,redFlags:[],rpc:["https://46565.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430s2",slug:"qi0430s2",testnet:!0},ext={chain:"FSN",chainId:46688,explorers:[{name:"fsnscan",url:"https://testnet.fsnscan.com",standard:"EIP3091",icon:{url:"ipfs://QmSAFx34SKNi7a139agX12f68oBMo2Ktt9c8yD8aFa14gd",width:48,height:51,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX3tsEoj7SdaBLLV8VyyCUAmymdEGiSGeuTbxMrEMVvth",width:31,height:31,format:"svg"},infoURL:"https://fusion.org",name:"Fusion Testnet",nativeCurrency:{name:"Testnet Fusion",symbol:"T-FSN",decimals:18},networkId:46688,rpc:["https://46688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.fusionnetwork.io","wss://testnet.fusionnetwork.io"],shortName:"tfsn",slip44:1,slug:"fusion-testnet",testnet:!0},txt={chain:"Avalanche",chainId:47157,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Avaland Testnet",nativeCurrency:{name:"Avaland Testnet Token",symbol:"AVA",decimals:18},networkId:47157,redFlags:[],rpc:["https://47157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/avalandtes/testnet/rpc"],shortName:"Avaland Testnet",slug:"avaland-testnet",testnet:!0},nxt={chain:"REI",chainId:47805,explorers:[{name:"rei-scan",url:"https://scan.rei.network",standard:"none"}],faucets:[],infoURL:"https://rei.network/",name:"REI Network",nativeCurrency:{name:"REI",symbol:"REI",decimals:18},networkId:47805,rpc:["https://47805.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rei.network","wss://rpc.rei.network"],shortName:"REI",slug:"rei-network",testnet:!1},axt={chain:"Avalanche",chainId:47992,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2555",nativeCurrency:{name:"QaUser2555 Token",symbol:"PRY",decimals:18},networkId:47992,redFlags:[],rpc:["https://47992.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2555",slug:"qauser2555",testnet:!0},rxt={chain:"Avalanche",chainId:48137,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9608 Testnet",nativeCurrency:{name:"QaUser9608 Testnet Token",symbol:"ASI",decimals:18},networkId:48137,redFlags:[],rpc:["https://48137.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9608 Testnet",slug:"qauser9608-testnet",testnet:!0},fxt={chain:"Avalanche",chainId:48267,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0130I2",nativeCurrency:{name:"QI0130I2 Token",symbol:"NZY",decimals:18},networkId:48267,redFlags:[],rpc:["https://48267.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0130I2",slug:"qi0130i2",testnet:!0},ixt={chain:"Avalanche",chainId:48702,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"LUG",decimals:18},networkId:48702,redFlags:[],rpc:["https://48702.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-48702",testnet:!0},sxt={chain:"Avalanche",chainId:48795,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Space",nativeCurrency:{name:"Space Token",symbol:"FUEL",decimals:18},networkId:48795,redFlags:[],rpc:["https://48795.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/space/testnet/rpc"],shortName:"Space",slug:"space-space",testnet:!0},oxt={chain:"Wireshape",chainId:49049,explorers:[{name:"Wire Explorer",url:"https://floripa-explorer.wireshape.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTAyT3YrW2654CBRqRkec2cCznv6EBsbsRc2y6WQPbvXx",width:1280,height:1280,format:"png"},infoURL:"https://wireshape.org",name:"Wireshape Floripa Testnet",nativeCurrency:{name:"WIRE",symbol:"WIRE",decimals:18},networkId:49049,rpc:["https://49049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-floripa.wireshape.org"],shortName:"floripa",slip44:1,slug:"wireshape-floripa-testnet",testnet:!0,title:"Wireshape Floripa Testnet"},cxt={chain:"Avalanche",chainId:49053,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5759 Testnet",nativeCurrency:{name:"QaUser5759 Testnet Token",symbol:"ATZ",decimals:18},networkId:49053,redFlags:[],rpc:["https://49053.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5759 Testnet",slug:"qauser5759-testnet",testnet:!0},dxt={chain:"BFC",chainId:49088,explorers:[{name:"explorer-thebifrost",url:"https://explorer.testnet.bifrostnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYxniqbiFD7nXBNjN8boUhoXYEAW23YquArD2Rnkq8WHS",width:480,height:480,format:"png"},infoURL:"https://bifrostnetwork.com",name:"Bifrost Testnet",nativeCurrency:{name:"Bifrost",symbol:"BFC",decimals:18},networkId:49088,rpc:["https://49088.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-01.testnet.bifrostnetwork.com/rpc","https://public-02.testnet.bifrostnetwork.com/rpc"],shortName:"tbfc",slip44:1,slug:"bifrost-testnet",testnet:!0,title:"Bifrost Network Testnet"},lxt={chain:"tGUN",chainId:49321,explorers:[{name:"blockscout",url:"https://testnet.gunzscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmd5R5khFePwY9dYBGhjRA1rGtUAKaHg7Z2B7mBrbA6TiB",width:512,height:512,format:"png"},infoURL:"https://gunbygunz.com",name:"GUNZ Testnet",nativeCurrency:{name:"GUN",symbol:"GUN",decimals:18},networkId:49321,rpc:["https://49321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gunz.dev/ext/bc/ryk9vkvNuKtewME2PeCgybo9sdWXGmCkBrrx4VPuZPdVdAak8/rpc"],shortName:"Stork",slug:"gunz-testnet",testnet:!0},uxt={chain:"NRG",chainId:49797,explorers:[],faucets:[],infoURL:"https://www.energi.world/",name:"Energi Testnet",nativeCurrency:{name:"Energi",symbol:"NRG",decimals:18},networkId:49797,rpc:["https://49797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodeapi.test.energi.network"],shortName:"tnrg",slip44:1,slug:"energi-testnet",testnet:!0},pxt={chain:"Liveplex OracleEVM Network",chainId:50001,explorers:[],faucets:[],name:"Liveplex OracleEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:50001,rpc:["https://50001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.oracle.liveplex.io"],shortName:"LOE",slug:"liveplex-oracleevm",testnet:!1},hxt={chain:"Yooldo Verse",chainId:50005,explorers:[{name:"Yooldo Verse Explorer",url:"https://explorer.yooldo-verse.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWvfA2usnYp1ktzLcqFS8eTLgdp4ifrxjiify46KyG9NZ",width:512,height:512,format:"png"},infoURL:"https://yooldo.gg/",name:"Yooldo Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:50005,parent:{type:"L2",chain:"eip155-248"},rpc:["https://50005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.yooldo-verse.xyz/"],shortName:"YVM",slug:"yooldo-verse",testnet:!1},bxt={chain:"Yooldo Verse",chainId:50006,explorers:[{name:"Yooldo Verse Explorer",url:"https://explorer.testnet.yooldo-verse.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWvfA2usnYp1ktzLcqFS8eTLgdp4ifrxjiify46KyG9NZ",width:512,height:512,format:"png"},infoURL:"https://yooldo.gg/",name:"Yooldo Verse Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:50006,parent:{type:"L2",chain:"eip155-248"},rpc:["https://50006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.yooldo-verse.xyz/"],shortName:"YVT",slip44:1,slug:"yooldo-verse-testnet",testnet:!0},mxt={chain:"GTON Testnet",chainId:50021,explorers:[{name:"GTON Testnet Network Explorer",url:"https://explorer.testnet.gton.network",standard:"EIP3091"}],faucets:[],infoURL:"https://gton.capital",name:"GTON Testnet",nativeCurrency:{name:"GCD",symbol:"GCD",decimals:18},networkId:50021,parent:{type:"L2",chain:"eip155-3"},rpc:["https://50021.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.gton.network/"],shortName:"tgton",slip44:1,slug:"gton-testnet",testnet:!0},yxt={chain:"Avalanche",chainId:50059,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0122I1 Testnet",nativeCurrency:{name:"QI0122I1 Testnet Token",symbol:"MPX",decimals:18},networkId:50059,redFlags:[],rpc:["https://50059.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0122I1 Testnet",slug:"qi0122i1-testnet",testnet:!0},gxt={chain:"BTC",chainId:50097,explorers:[{name:"Zytron Explorer",url:"http://b2-testnet-zytron-blockscout.zypher.game/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"https://d391b93f5f62d9c15f67142e43841acc.ipfscdn.io/ipfs/bafybeiaav4gyweksnce4asrkqxxjevkpcx7xol6a72kzihrhppb5p5z6aa/zytron_T_white.png",width:1420,height:400,format:"png"},name:"Zytron B2 Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:50097,redFlags:[],rpc:[],shortName:"zytron-b2-testnet",slug:"zytron-b2-testnet",testnet:!0},vxt={chain:"Avalanche",chainId:50528,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9606 Testnet",nativeCurrency:{name:"QaUser9606 Testnet Token",symbol:"JTW",decimals:18},networkId:50528,redFlags:[],rpc:["https://50528.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9606 Testnet",slug:"qauser9606-testnet",testnet:!0},wxt={chain:"Avalanche",chainId:51161,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I6",nativeCurrency:{name:"QI1212I6 Token",symbol:"HSCX",decimals:18},networkId:51161,redFlags:[],rpc:["https://51161.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1212I6",slug:"qi1212i6",testnet:!0},Txt={chain:"ETH",chainId:51178,explorers:[{name:"LumozTestnetInfo",url:"https://lumoz.info",standard:"EIP3091",icon:{url:"ipfs://QmZnE2ygPL2ZGuzHGvFCHmrqxwdurrhz3K1yPnwLzKbgay",width:401,height:400,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmZnE2ygPL2ZGuzHGvFCHmrqxwdurrhz3K1yPnwLzKbgay",width:401,height:400,format:"png"},infoURL:"https://lumoz.org",name:"Lumoz Testnet Alpha",nativeCurrency:{name:"Lumoz Test Token",symbol:"MOZ",decimals:18},networkId:51178,rpc:["https://51178.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-us-http-geth.lumoz.org","https://alpha-hk-http-geth.lumoz.org"],shortName:"Lumoz-Testnet",slip44:1,slug:"lumoz-testnet-alpha",testnet:!0},xxt={chain:"Avalanche",chainId:51277,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0344s1 Testne",nativeCurrency:{name:"QI0344s1 Testne Token",symbol:"LKG",decimals:18},networkId:51277,redFlags:[],rpc:["https://51277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0344s1 Testne",slug:"qi0344s1-testne",testnet:!0},Ext={chain:"Avalanche",chainId:51435,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0410s1d Testnet",nativeCurrency:{name:"QR0410s1d Testnet Token",symbol:"CWV",decimals:18},networkId:51435,redFlags:[],rpc:["https://51435.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0410s1d/testnet/rpc"],shortName:"QR0410s1d Testnet",slug:"qr0410s1d-testnet",testnet:!0},_xt={chain:"Avalanche",chainId:51440,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430s4",nativeCurrency:{name:"QI0430s4 Token",symbol:"SWS",decimals:18},networkId:51440,redFlags:[],rpc:["https://51440.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430s4",slug:"qi0430s4",testnet:!0},Axt={chain:"SRDX",chainId:51712,explorers:[{name:"Sardis",url:"https://contract-mainnet.sardisnetwork.com",standard:"EIP3091"}],faucets:["https://faucet.sardisnetwork.com"],icon:{url:"ipfs://QmdR9QJjQEh1mBnf2WbJfehverxiP5RDPWMtEECbDP2rc3",width:512,height:512,format:"png"},infoURL:"https://mysardis.com",name:"Sardis Mainnet",nativeCurrency:{name:"Sardis",symbol:"SRDX",decimals:18},networkId:51712,rpc:["https://51712.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.sardisnetwork.com"],shortName:"SRDXm",slug:"sardis",testnet:!1},Cxt={chain:"Avalanche",chainId:51740,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4Testnet",nativeCurrency:{name:"QaUser4Testnet Token",symbol:"VGW",decimals:18},networkId:51740,redFlags:[],rpc:["https://51740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4Testnet",slug:"qauser4testnet",testnet:!0},Ixt={chain:"Electroneum",chainId:52014,explorers:[{name:"blockscout",url:"https://blockexplorer.electroneum.com",standard:"EIP3091",icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"},infoURL:"https://electroneum.com",name:"Electroneum Mainnet",nativeCurrency:{name:"Electroneum",symbol:"ETN",decimals:18},networkId:52014,rpc:["https://52014.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.electroneum.com"],shortName:"etn-mainnet",slug:"electroneum",testnet:!1},kxt={chain:"Avalanche",chainId:52146,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4359 Testnet",nativeCurrency:{name:"QaUser4359 Testnet Token",symbol:"WBP",decimals:18},networkId:52146,redFlags:[],rpc:["https://52146.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4359 Testnet",slug:"qauser4359-testnet",testnet:!0},Sxt={chain:"Avalanche",chainId:52150,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304I1 Testnet",nativeCurrency:{name:"QI0304I1 Testnet Token",symbol:"LOD",decimals:18},networkId:52150,redFlags:[],rpc:["https://52150.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304I1 Testnet",slug:"qi0304i1-testnet",testnet:!0},Rxt={chain:"Avalanche",chainId:53123,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Metasky",nativeCurrency:{name:"Metasky Token",symbol:"MSK",decimals:18},networkId:53123,redFlags:[],rpc:["https://53123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/metasky/testnet/rpc"],shortName:"Metasky",slug:"metasky",testnet:!0},Mxt={chain:"DOID",chainId:53277,explorers:[{name:"DOID Scan",url:"https://scan.doid.tech",standard:"EIP3091",icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"},infoURL:"https://doid.tech",name:"DOID",nativeCurrency:{name:"DOID",symbol:"DOID",decimals:18},networkId:53277,rpc:["https://53277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.doid.tech"],shortName:"DOID",slug:"doid",testnet:!1},Bxt={chain:"Avalanche",chainId:53383,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"GNF",decimals:18},networkId:53383,redFlags:[],rpc:["https://53383.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c37c3f83-6d95-4473-b5c7-626fad519f50"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet-jambon's testnet-53383",testnet:!0},Dxt={chain:"DODOchain",chainId:53457,explorers:[{name:"DODOchain Testnet (Sepolia) Explorer",url:"https://testnet-scan.dodochain.com",standard:"EIP3091",icon:{url:"ipfs://QmQDdZQjpKhrVM62479RTzppUG8QHhHd8Bq4RFYAjN1yf4",width:160,height:160,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQDdZQjpKhrVM62479RTzppUG8QHhHd8Bq4RFYAjN1yf4",width:160,height:160,format:"png"},infoURL:"https://www.dodochain.com",name:"DODOchain testnet",nativeCurrency:{name:"DODO",symbol:"DODO",decimals:18},networkId:53457,rpc:["https://53457.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dodochain-testnet.alt.technology","wss://dodochain-testnet.alt.technology/ws"],shortName:"dodochain",slug:"dodochain-testnet",testnet:!0,title:"DODOchain testnet"},Pxt={chain:"Avalanche",chainId:53687,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0409s1 Testnet",nativeCurrency:{name:"QI0409s1 Testnet Token",symbol:"QCE",decimals:18},networkId:53687,redFlags:[],rpc:["https://53687.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0409s1 Testnet",slug:"qi0409s1-testnet",testnet:!0},Lxt={chain:"DFK",chainId:53935,explorers:[{name:"ethernal",url:"https://explorer.dfkchain.com",standard:"none",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQB48m15TzhUFrmu56QCRQjkrkgUaKfgCmKE8o3RzmuPJ",width:500,height:500,format:"png"},infoURL:"https://defikingdoms.com",name:"DFK Chain",nativeCurrency:{name:"Jewel",symbol:"JEWEL",decimals:18},networkId:53935,redFlags:[],rpc:["https://53935.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc","https://avax-pokt.nodies.app/ext/bc/q2aTwKuyzgs8pynF7UXBZCU7DejbZbZ6EUyHr3JQzYgwNPUPi/rpc"],shortName:"DFK",slug:"dfk-chain",testnet:!1},Fxt={chain:"TestEdge2",chainId:54211,explorers:[{name:"TestEdge HAQQ Explorer",url:"https://explorer.testedge2.haqq.network",standard:"EIP3091"}],faucets:["https://testedge2.haqq.network"],infoURL:"https://islamiccoin.net",name:"Haqq Chain Testnet",nativeCurrency:{name:"Islamic Coin",symbol:"ISLMT",decimals:18},networkId:54211,rpc:["https://54211.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eth.testedge2.haqq.network"],shortName:"ISLMT",slip44:1,slug:"haqq-chain-testnet",testnet:!0},Nxt={chain:"Toronet",chainId:54321,ens:{registry:"0x059C474f26D65B0458F9da10A649a7322aB02C09"},explorers:[{name:"toronet_explorer",url:"https://testnet.toronet.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmciSvgLatP6jhgdazuiyD3fSrhipfAN7wC943v1qxcrpv",width:846,height:733,format:"png"},infoURL:"https://toronet.org",name:"Toronet Testnet",nativeCurrency:{name:"Toro",symbol:"TORO",decimals:18},networkId:54321,rpc:["https://54321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.toronet.org/rpc"],shortName:"ToronetTestnet",slip44:1,slug:"toronet-testnet",testnet:!0},Oxt={chain:"Avalanche",chainId:54356,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"ZEG",decimals:18},networkId:54356,redFlags:[],rpc:["https://54356.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/e6f00b45-8486-445d-b3b8-815708aab379"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet-jambon's testnet-54356",testnet:!0},Uxt={chain:"Avalanche",chainId:54414,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Innovo Markets Testnet",nativeCurrency:{name:"Innovo Markets Testnet Token",symbol:"INN",decimals:18},networkId:54414,redFlags:[],rpc:["https://54414.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/innovomark/testnet/rpc"],shortName:"Innovo Markets Testnet",slug:"innovo-markets-testnet",testnet:!0},Hxt={chain:"Avalanche",chainId:54454,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405063 INTEROP NO PRECOMPILE",nativeCurrency:{name:"QIM2405063 INTEROP NO PRECOMPILE Token",symbol:"BLY",decimals:18},networkId:54454,redFlags:[],rpc:["https://54454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405063 INTEROP NO PRECOMPILE",slug:"qim2405063-interop-no-precompile",testnet:!0},zxt={chain:"Photon",chainId:54555,explorers:[{name:"photon_testnet_explorer",url:"https://testnet.photonchain.io",standard:"none"}],faucets:["https://photonchain.io/airdrop"],infoURL:"https://photonchain.io",name:"Photon Testnet",nativeCurrency:{name:"Photon",symbol:"PTON",decimals:18},networkId:54555,rpc:["https://54555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.photonchain.io"],shortName:"pton",slug:"photon-testnet",testnet:!0},Wxt={chain:"Avalanche",chainId:54688,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430I1",nativeCurrency:{name:"QI0430I1 Token",symbol:"ILF",decimals:18},networkId:54688,redFlags:[],rpc:["https://54688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430I1",slug:"qi0430i1",testnet:!0},qxt={chain:"Avalanche",chainId:54763,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3051 Testnet",nativeCurrency:{name:"QaUser3051 Testnet Token",symbol:"DSX",decimals:18},networkId:54763,redFlags:[],rpc:["https://54763.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3051 Testnet",slug:"qauser3051-testnet",testnet:!0},jxt={chain:"ETH",chainId:55004,explorers:[{name:"blockscout",url:"https://explorer.titan.tokamak.network",standard:"EIP3091"}],faucets:[],infoURL:"https://tokamak.network",name:"Titan",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:55004,rpc:["https://55004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.titan.tokamak.network","wss://rpc.titan.tokamak.network"],shortName:"teth",slug:"titan",testnet:!1},Gxt={chain:"Avalanche",chainId:55200,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5256",nativeCurrency:{name:"QaUser5256 Token",symbol:"UDQ",decimals:18},networkId:55200,redFlags:[],rpc:["https://55200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5256",slug:"qauser5256",testnet:!0},Kxt={chain:"Avalanche",chainId:55246,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6469",nativeCurrency:{name:"QaUser6469 Token",symbol:"ZZX",decimals:18},networkId:55246,redFlags:[],rpc:["https://55246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6469",slug:"qauser6469",testnet:!0},Qxt={chain:"Avalanche",chainId:55432,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM DEMO 0527",nativeCurrency:{name:"QIM DEMO 0527 Token",symbol:"WCC",decimals:18},networkId:55432,redFlags:[],rpc:["https://55432.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qimdemo052/testnet/rpc"],shortName:"QIM DEMO 0527",slug:"qim-demo-0527",testnet:!0},Vxt={chain:"REI",chainId:55555,explorers:[{name:"reiscan",url:"https://reiscan.com",standard:"EIP3091"}],faucets:["http://kururu.finance/faucet?chainId=55555"],icon:{url:"ipfs://QmNy5d5knHVjJJS9g4kLsh9i73RTjckpKL6KZvRk6ptbhf",width:591,height:591,format:"svg"},infoURL:"https://reichain.io",name:"REI Chain Mainnet",nativeCurrency:{name:"Rei",symbol:"REI",decimals:18},networkId:55555,rpc:["https://55555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rei-rpc.moonrhythm.io"],shortName:"reichain",slug:"rei-chain",testnet:!1},Yxt={chain:"REI",chainId:55556,explorers:[{name:"reiscan",url:"https://testnet.reiscan.com",standard:"EIP3091"}],faucets:["http://kururu.finance/faucet?chainId=55556"],icon:{url:"ipfs://QmNy5d5knHVjJJS9g4kLsh9i73RTjckpKL6KZvRk6ptbhf",width:591,height:591,format:"svg"},infoURL:"https://reichain.io",name:"REI Chain Testnet",nativeCurrency:{name:"tRei",symbol:"tREI",decimals:18},networkId:55556,rpc:["https://55556.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rei-testnet-rpc.moonrhythm.io"],shortName:"trei",slip44:1,slug:"rei-chain-testnet",testnet:!0},$xt={chain:"Lambda Chain",chainId:56026,explorers:[{name:"Lambda Chain Mainnet Explorer",url:"https://scan.lambda.im",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXCWjWSTd6kJZKnH9aQRjgLdWRH9NTxU1wC21iBvoB4Hp",width:256,height:256,format:"png"},infoURL:"https://lambda.im",name:"Lambda Chain Mainnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:56026,rpc:["https://56026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nrpc.lambda.im/"],shortName:"lambda",slip44:1,slug:"lambda-chain",testnet:!1},Jxt={chain:"Avalanche",chainId:56054,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4688",nativeCurrency:{name:"QaUser4688 Token",symbol:"DPN",decimals:18},networkId:56054,redFlags:[],rpc:["https://56054.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4688",slug:"qauser4688",testnet:!0},Xxt={chain:"Boba BNB Mainnet",chainId:56288,explorers:[{name:"Boba BNB block explorer",url:"https://bobascan.com",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba BNB Mainnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:56288,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://56288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bnb.boba.network","https://boba-bnb.gateway.tenderly.co/","https://gateway.tenderly.co/public/boba-bnb","https://replica.bnb.boba.network","wss://boba-bnb.gateway.tenderly.co/","wss://gateway.tenderly.co/public/boba-bnb"],shortName:"BobaBnb",slug:"boba-bnb",testnet:!1},Zxt={chain:"Avalanche",chainId:56400,explorers:[{name:"TESTNETZER Explorer",url:"https://subnets-test.avax.network/testnetzer",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet Zeroone",nativeCurrency:{name:"Testnet Zeroone Token",symbol:"ZERO",decimals:18},networkId:56400,redFlags:[],rpc:["https://56400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testnetzer/testnet/rpc"],shortName:"Testnet Zeroone",slug:"testnet-zeroone",testnet:!0},eEt={chain:"Avalanche",chainId:56525,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"TSQ",decimals:18},networkId:56525,redFlags:[],rpc:["https://56525.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-56525",testnet:!0},tEt={chain:"Avalanche",chainId:56570,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4Testnet",nativeCurrency:{name:"QaUser4Testnet Token",symbol:"GYF",decimals:18},networkId:56570,redFlags:[],rpc:["https://56570.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4Testnet",slug:"qauser4testnet-qauser4testnet",testnet:!0},nEt={chain:"Avalanche",chainId:56636,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0429I3",nativeCurrency:{name:"QI0429I3 Token",symbol:"IJK",decimals:18},networkId:56636,redFlags:[],rpc:["https://56636.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/b6421f40-aa32-4cdc-98f2-bf22d0db7b4f"],shortName:"QI0429I3",slug:"qi0429i3",testnet:!0},aEt={chain:"NOVA chain",chainId:56789,explorers:[{name:"novascan",url:"https://novascan.velo.org",standard:"EIP3091"}],faucets:["https://nova-faucet.velo.org"],icon:{url:"ipfs://QmYqvnW2jwPEKUv8BdaV4sbL8Audcwosat6SPn4GqYtKxc",width:225,height:225,format:"png"},infoURL:"https://velo.org",name:"VELO Labs Mainnet",nativeCurrency:{name:"Nova",symbol:"NOVA",decimals:18},networkId:56789,rpc:["https://56789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nova.velo.org"],shortName:"VELO",slug:"velo-labs",testnet:!1},rEt={chain:"DOID",chainId:56797,explorers:[{name:"DOID Testnet Scan",url:"https://scan.testnet.doid.tech",standard:"EIP3091",icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"},infoURL:"https://doid.tech",name:"DOID Testnet",nativeCurrency:{name:"DOID",symbol:"DOID",decimals:18},networkId:56797,rpc:["https://56797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.doid.tech"],shortName:"doidTestnet",slug:"doid-testnet",testnet:!0},fEt={chain:"Avalanche",chainId:56914,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"KK1223",nativeCurrency:{name:"KK1223 Token",symbol:"KLK",decimals:18},networkId:56914,redFlags:[],rpc:["https://56914.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/bf540c23-4601-4768-9e26-f2e5f0f89c18"],shortName:"KK1223",slug:"kk1223",testnet:!0},iEt={chain:"Avalanche",chainId:56973,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0587",nativeCurrency:{name:"QaUser0587 Token",symbol:"IDZ",decimals:18},networkId:56973,redFlags:[],rpc:["https://56973.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0587",slug:"qauser0587",testnet:!0},sEt={chain:"SYS",chainId:57e3,explorers:[{name:"Rollux Testnet Explorer",url:"https://rollux.tanenbaum.io",standard:"EIP3091"}],faucets:["https://rollux.id/faucetapp"],infoURL:"https://rollux.com",name:"Rollux Testnet",nativeCurrency:{name:"Testnet Syscoin",symbol:"TSYS",decimals:18},networkId:57e3,rpc:["https://57000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-tanenbaum.rollux.com","https://rpc.ankr.com/rollux_testnet/${ANKR_API_KEY}","wss://rpc-tanenbaum.rollux.com/wss","https://rollux.rpc.tanenbaum.io","wss://rollux.rpc.tanenbaum.io/wss"],shortName:"tsys-rollux",slip44:1,slug:"rollux-testnet",testnet:!0},oEt={chain:"Avalanche",chainId:57021,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2403061",nativeCurrency:{name:"QIM2403061 Token",symbol:"VVC",decimals:18},networkId:57021,redFlags:[],rpc:["https://57021.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2403061",slug:"qim2403061",testnet:!0},cEt={chain:"Avalanche",chainId:57487,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"PTNEWLO",nativeCurrency:{name:"PTNEWLO Token",symbol:"PTNL",decimals:18},networkId:57487,redFlags:[],rpc:["https://57487.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/ptnewlo/testnet/rpc"],shortName:"PTNEWLO",slug:"ptnewlo",testnet:!0},dEt={chain:"Avalanche",chainId:57522,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan Test",nativeCurrency:{name:"Cohan Test Token",symbol:"NYU",decimals:18},networkId:57522,redFlags:[],rpc:["https://57522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/fc395ee3-9e2d-45ea-951a-233b4f3e367d"],shortName:"Cohan Test",slug:"cohan-test",testnet:!0},lEt={chain:"Avalanche",chainId:57973,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5524 Testnet",nativeCurrency:{name:"QaUser5524 Testnet Token",symbol:"ADN",decimals:18},networkId:57973,redFlags:[],rpc:["https://57973.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5524 Testnet",slug:"qauser5524-testnet",testnet:!0},uEt={chain:"ETH",chainId:58008,explorers:[{name:"blockscout",url:"https://explorer.sepolia.publicgoods.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUVJ7MLCEAfq3pHVPFLscqRMiyAY5biVgTkeDQCmAhHNS",width:574,height:574,format:"svg"},infoURL:"https://publicgoods.network/",name:"Sepolia PGN (Public Goods Network)",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:58008,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://pgn-bridge.vercel.app/bridge"}]},redFlags:[],rpc:["https://58008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.publicgoods.network"],shortName:"sepPGN",slug:"sepolia-pgn-public-goods-network",testnet:!0},pEt={chain:"Avalanche",chainId:58050,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0417",nativeCurrency:{name:"QaUser0417 Token",symbol:"HAR",decimals:18},networkId:58050,redFlags:[],rpc:["https://58050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0417",slug:"qauser0417",testnet:!0},hEt={chain:"Avalanche",chainId:58064,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0209I3",nativeCurrency:{name:"QI0209I3 Token",symbol:"BLOX",decimals:18},networkId:58064,redFlags:[],rpc:["https://58064.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0209I3",slug:"qi0209i3",testnet:!0},bEt={chain:"Avalanche",chainId:58316,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1943 Testnet",nativeCurrency:{name:"QaUser1943 Testnet Token",symbol:"JAI",decimals:18},networkId:58316,redFlags:[],rpc:["https://58316.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1943 Testnet",slug:"qauser1943-testnet",testnet:!0},mEt={chain:"Avalanche",chainId:58474,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s4 Testnet",nativeCurrency:{name:"QI0408s4 Testnet Token",symbol:"QCE",decimals:18},networkId:58474,redFlags:[],rpc:["https://58474.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s4 Testnet",slug:"qi0408s4-testnet",testnet:!0},yEt={chain:"Avalanche",chainId:59069,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST 12-12 V2",nativeCurrency:{name:"ST 12-12 V2 Token",symbol:"GXE",decimals:18},networkId:59069,redFlags:[],rpc:["https://59069.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 12-12 V2",slug:"st-12-12-v2",testnet:!0},gEt={chain:"ETH",chainId:59140,explorers:[{name:"Etherscan",url:"https://goerli.lineascan.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"Blockscout",url:"https://explorer.goerli.linea.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}}],faucets:["https://faucetlink.to/goerli"],features:[],icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"},infoURL:"https://linea.build",name:"Linea Goerli",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},networkId:59140,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://goerli.hop.exchange/#/send?token=ETH&sourceNetwork=ethereum&destNetwork=linea"}]},redFlags:[],rpc:["https://59140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linea-goerli.infura.io/v3/${INFURA_API_KEY}","wss://linea-goerli.infura.io/ws/v3/${INFURA_API_KEY}","https://rpc.goerli.linea.build","wss://rpc.goerli.linea.build"],shortName:"linea-goerli",slip44:1,slug:"linea-goerli",status:"deprecated",testnet:!0,title:"Linea Goerli Testnet"},vEt={chain:"ETH",chainId:59141,explorers:[{name:"Etherscan",url:"https://sepolia.lineascan.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"Blockscout",url:"https://explorer.sepolia.linea.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"blockscout",url:"https://explorer.sepolia.linea.build/",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:30,height:30,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:30,height:30,format:"svg"},infoURL:"https://linea.build",name:"Linea Sepolia",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},networkId:59141,parent:{type:"L2",chain:"eip155-5",bridges:[]},redFlags:[],rpc:["https://59141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linea-sepolia.infura.io/v3/${INFURA_API_KEY}","wss://linea-sepolia.infura.io/ws/v3/${INFURA_API_KEY}","https://rpc.sepolia.linea.build","wss://rpc.sepolia.linea.build"],shortName:"linea-sepolia",slip44:1,slug:"linea-sepolia",status:"active",testnet:!0,title:"Linea Sepolia Testnet"},wEt={chain:"ETH",chainId:59144,explorers:[{name:"lineascan",url:"https://lineascan.build",standard:"EIP3091"},{name:"Blockscout",url:"https://explorer.linea.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"L2scan",url:"https://linea.l2scan.co",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"},infoURL:"https://linea.build",name:"Linea",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},networkId:59144,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.linea.build"}]},redFlags:[],rpc:["https://59144.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linea-mainnet.infura.io/v3/${INFURA_API_KEY}","wss://linea-mainnet.infura.io/ws/v3/${INFURA_API_KEY}","https://rpc.linea.build","wss://rpc.linea.build"],shortName:"linea",slug:"linea",status:"active",testnet:!1,title:"Linea Mainnet"},TEt={chain:"BEYOND",chainId:59185,explorers:[{name:"Beyond",url:"https://explorerl2new-beyond-indigo-playground-xz87sjgmaj.t.conduit.xyz",standard:"standard",icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"},infoURL:"https://explorerl2new-beyond-indigo-playground-xz87sjgmaj.t.conduit.xyz",name:"BeyondChain Testnet",nativeCurrency:{name:"BEYOND",symbol:"BEYOND",decimals:18},networkId:59185,redFlags:[],rpc:["https://59185.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-beyond-indigo-playground-xz87sjgmaj.t.conduit.xyz"],shortName:"beyond-indigo-playground-xz87sjgmaj",slug:"beyondchain-testnet",testnet:!0},xEt={chain:"Avalanche",chainId:59932,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Insomnia Testnet",nativeCurrency:{name:"Insomnia Testnet Token",symbol:"TECH",decimals:18},networkId:59932,redFlags:[],rpc:["https://59932.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/instest/testnet/rpc"],shortName:"Insomnia Testnet",slug:"insomnia-testnet",testnet:!0},EEt={chain:"Avalanche",chainId:59940,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0510s1",nativeCurrency:{name:"QR0510s1 Token",symbol:"RTQ",decimals:18},networkId:59940,redFlags:[],rpc:["https://59940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0510s1/testnet/rpc"],shortName:"QR0510s1",slug:"qr0510s1",testnet:!0},_Et={chain:"Avalanche",chainId:59944,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7920 Testnet",nativeCurrency:{name:"QaUser7920 Testnet Token",symbol:"USH",decimals:18},networkId:59944,redFlags:[],rpc:["https://59944.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7920 Testnet",slug:"qauser7920-testnet",testnet:!0},AEt={chain:"GCODE",chainId:59971,explorers:[{name:"Genesys Scan",url:"https://genesysscan.io",standard:"none",icon:{url:"ipfs://bafkreihgmpaceze7rxpajv7yrlx3cb6daqubippkpvgryzairtaubsjjoe",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreihgmpaceze7rxpajv7yrlx3cb6daqubippkpvgryzairtaubsjjoe",width:512,height:512,format:"png"},infoURL:"https://genesyscode.io",name:"Genesys Code Mainnet",nativeCurrency:{name:"GenesysCode",symbol:"GCODE",decimals:18},networkId:59971,rpc:["https://59971.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.genesyscode.io/"],shortName:"gcode",slug:"genesys-code",testnet:!1},CEt={chain:"Thinkium",chainId:6e4,explorers:[{name:"thinkiumscan",url:"https://test0.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 0",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:6e4,rpc:["https://60000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.thinkiumrpc.net/"],shortName:"TKM-test0",slip44:1,slug:"thinkium-testnet-chain-0",testnet:!0},IEt={chain:"Thinkium",chainId:60001,explorers:[{name:"thinkiumscan",url:"https://test1.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 1",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:60001,rpc:["https://60001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test1.thinkiumrpc.net/"],shortName:"TKM-test1",slip44:1,slug:"thinkium-testnet-chain-1",testnet:!0},kEt={chain:"Thinkium",chainId:60002,explorers:[{name:"thinkiumscan",url:"https://test2.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 2",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:60002,rpc:["https://60002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test2.thinkiumrpc.net/"],shortName:"TKM-test2",slip44:1,slug:"thinkium-testnet-chain-2",testnet:!0},SEt={chain:"Thinkium",chainId:60103,explorers:[{name:"thinkiumscan",url:"https://test103.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 103",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:60103,rpc:["https://60103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test103.thinkiumrpc.net/"],shortName:"TKM-test103",slip44:1,slug:"thinkium-testnet-chain-103",testnet:!0},REt={chain:"ETH",chainId:60808,explorers:[{name:"bobscout",url:"https://explorer.gobob.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaX5iqQTrJD8TBuvoT97xPMG6LYamjPCPnZUUMh12jc99",width:297,height:378,format:"png"},infoURL:"https://gobob.xyz",name:"BOB",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:60808,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://app.gobob.xyz"}]},rpc:["https://60808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gobob.xyz","wss://rpc.gobob.xyz"],shortName:"bob",slug:"bob",status:"active",testnet:!1},MEt={chain:"Avalanche",chainId:60834,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402059",nativeCurrency:{name:"QI M 2402059 Token",symbol:"ACI",decimals:18},networkId:60834,redFlags:[],rpc:["https://60834.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402059",slug:"qi-m-2402059",testnet:!0},BEt={chain:"Avalanche",chainId:60841,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"SCG-K",nativeCurrency:{name:"SCG-K Token",symbol:"REC",decimals:18},networkId:60841,redFlags:[],rpc:["https://60841.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/scgk/testnet/rpc"],shortName:"SCG-K",slug:"scg-k",testnet:!0},DEt={chain:"Avalanche",chainId:61205,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6116 Testnet",nativeCurrency:{name:"QaUser6116 Testnet Token",symbol:"YLJ",decimals:18},networkId:61205,redFlags:[],rpc:["https://61205.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6116 Testnet",slug:"qauser6116-testnet",testnet:!0},PEt={chain:"Avalanche",chainId:61258,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7821 Testnet",nativeCurrency:{name:"QaUser7821 Testnet Token",symbol:"WND",decimals:18},networkId:61258,redFlags:[],rpc:["https://61258.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7821 Testnet",slug:"qauser7821-testnet",testnet:!0},LEt={chain:"KEC",chainId:61406,explorers:[{name:"KaiChain Explorer",url:"https://explorer.kaichain.net",standard:"EIP3091"},{name:"KEC SCAN",url:"https://explorer.kaichain.net/",standard:"EIP3091",icon:{url:"ipfs://QmbfRP2Ugo66pw6Mn8m9ChP4UE6Rn5nobtDo7Vy7ej93qA/kaichain%20icon.png",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmbfRP2Ugo66pw6Mn8m9ChP4UE6Rn5nobtDo7Vy7ej93qA/kaichain%20icon.png",width:512,height:512,format:"png"},infoURL:"http://kaichain.net/",name:"Kaichain Mainnet",nativeCurrency:{name:"Kaichain",symbol:"KEC",decimals:18},networkId:61406,redFlags:[],rpc:["https://61406.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.kaichain.net"],shortName:"Kaichain",slug:"kaichain",testnet:!1},FEt={chain:"Avalanche",chainId:61514,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI011624I1",nativeCurrency:{name:"QI011624I1 Token",symbol:"DGQ",decimals:18},networkId:61514,redFlags:[],rpc:["https://61514.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/e81adde6-3c1b-46ce-8dfe-e7a689f8c7eb"],shortName:"QI011624I1",slug:"qi011624i1",testnet:!0},NEt={chain:"Avalanche",chainId:61551,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0304T1TS Testnet",nativeCurrency:{name:"QR0304T1TS Testnet Token",symbol:"OYU",decimals:18},networkId:61551,redFlags:[],rpc:["https://61551.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0304t1ts/testnet/rpc"],shortName:"QR0304T1TS Testnet",slug:"qr0304t1ts-testnet",testnet:!0},OEt={chain:"AXEL",chainId:61800,explorers:[{name:"AxelChain Dev-Net Explorer",url:"https://devexplorer2.viacube.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNx8FRacfNeawhkjk5p57EKzDHkLGMaBBmK2VRL5CB2P2",width:40,height:40,format:"svg"},infoURL:"https://www.axel.org",name:"AxelChain Dev-Net",nativeCurrency:{name:"Axelium",symbol:"AIUM",decimals:18},networkId:61800,rpc:["https://61800.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://aium-rpc-dev.viacube.com"],shortName:"aium-dev",slug:"axelchain-dev-net",testnet:!1},UEt={chain:"Etica Protocol (ETI/EGAZ)",chainId:61803,explorers:[{name:"eticascan",url:"https://eticascan.org",standard:"EIP3091"},{name:"eticastats",url:"http://explorer.etica-stats.org",standard:"EIP3091"}],faucets:["http://faucet.etica-stats.org/"],icon:{url:"ipfs://QmYSyhUqm6ArWyALBe3G64823ZpEUmFdkzKZ93hUUhNKgU",width:360,height:361,format:"png"},infoURL:"https://eticaprotocol.org",name:"Etica Mainnet",nativeCurrency:{name:"EGAZ",symbol:"EGAZ",decimals:18},networkId:61803,rpc:["https://61803.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eticamainnet.eticascan.org","https://eticamainnet.eticaprotocol.org"],shortName:"Etica",slug:"etica",testnet:!1},HEt={chain:"DoKEN Super Chain",chainId:61916,explorers:[{name:"DSC Scan",url:"https://explore.doken.dev",standard:"EIP3091",icon:{url:"ipfs://bafkreifms4eio6v56oyeemnnu5luq3sc44hptan225lr45itgzu3u372iu",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreifms4eio6v56oyeemnnu5luq3sc44hptan225lr45itgzu3u372iu",width:200,height:200,format:"png"},infoURL:"https://doken.dev/",name:"DoKEN Super Chain Mainnet",nativeCurrency:{name:"DoKEN",symbol:"DKN",decimals:18},networkId:61916,rpc:["https://61916.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sgrpc.doken.dev","https://nyrpc.doken.dev","https://ukrpc.doken.dev"],shortName:"DoKEN",slug:"doken-super-chain",testnet:!1},zEt={chain:"Avalanche",chainId:62040,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430s1",nativeCurrency:{name:"QI0430s1 Token",symbol:"SWS",decimals:18},networkId:62040,redFlags:[],rpc:["https://62040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430s1",slug:"qi0430s1",testnet:!0},WEt={chain:"ETH",chainId:62049,explorers:[{name:"optopia-testnet-scan",url:"https://scan-testnet.optopia.ai",standard:"EIP3091",icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"},infoURL:"https://optopia.ai",name:"OPTOPIA Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:62049,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge-testnet.optopia.ai"}]},rpc:["https://62049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.optopia.ai"],shortName:"OPTOPIA-Testnet",slug:"optopia-testnet",testnet:!0},qEt={chain:"ETH",chainId:62050,explorers:[{name:"optopia-scan",url:"https://scan.optopia.ai",standard:"EIP3091",icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"},infoURL:"https://optopia.ai",name:"Optopia Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:62050,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.optopia.ai"}]},rpc:["https://62050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.optopia.ai","https://rpc-mainnet-2.optopia.ai"],shortName:"Optopia",slug:"optopia",testnet:!1},jEt={chain:"Avalanche",chainId:62278,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"qi1121i1",nativeCurrency:{name:"qi1121i1 Token",symbol:"SJOX",decimals:18},networkId:62278,redFlags:[],rpc:["https://62278.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"qi1121i1",slug:"qi1121i1",testnet:!0},GEt={chain:"Avalanche",chainId:62293,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0516s1dev",nativeCurrency:{name:"QI0516s1dev Token",symbol:"OMF",decimals:18},networkId:62293,redFlags:[],rpc:["https://62293.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0516s1dev",slug:"qi0516s1dev",testnet:!0},Hse={chain:"CELO",chainId:62320,explorers:[],faucets:["https://docs.google.com/forms/d/e/1FAIpQLSdfr1BwUTYepVmmvfVUDRCwALejZ-TUva2YujNpvrEmPAX2pg/viewform","https://cauldron.pretoriaresearchlab.io/baklava-faucet"],infoURL:"https://docs.celo.org/",name:"Celo Baklava Testnet",nativeCurrency:{name:"CELO",symbol:"CELO",decimals:18},networkId:62320,rpc:["https://62320.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://baklava-forno.celo-testnet.org"],shortName:"BKLV",slip44:1,slug:"celo-baklava-testnet",testnet:!0},KEt={chain:"MultiVAC",chainId:62621,explorers:[{name:"MultiVAC Explorer",url:"https://e.mtv.ac",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWb1gthhbzkiLdgcP8ccZprGbJVjFcW8Rn4uJjrw4jd3B",width:200,height:200,format:"png"},infoURL:"https://mtv.ac",name:"MultiVAC Mainnet",nativeCurrency:{name:"MultiVAC",symbol:"MTV",decimals:18},networkId:62621,rpc:["https://62621.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mtv.ac","https://rpc-eu.mtv.ac"],shortName:"mtv",slug:"multivac",testnet:!1},QEt={chain:"Avalanche",chainId:62831,explorers:[{name:"Avalanche Subnet Testnet Explorer",url:"https://subnets-test.avax.network/plyr",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=plyr"],features:[],icon:{url:"https://plyr.network/plyr_logo.png",width:256,height:256,format:"png"},infoURL:"https://plyr.network",name:"PLYR TAU TESTNET",nativeCurrency:{name:"PLYR TAU TESTNET Token",symbol:"PLYR",decimals:18},networkId:62831,redFlags:[],rpc:["https://62831.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/plyr/testnet/rpc"],shortName:"PLYR TAU TESTNET",slip44:1,slug:"plyr-tau-testnet",testnet:!0},VEt={chain:"ECS",chainId:63e3,explorers:[{name:"eCredits MainNet Explorer",url:"https://explorer.ecredits.com",standard:"EIP3091",icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"}}],faucets:[],icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"},infoURL:"https://ecredits.com",name:"eCredits Mainnet",nativeCurrency:{name:"eCredits",symbol:"ECS",decimals:18},networkId:63e3,rpc:["https://63000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ecredits.com"],shortName:"ecs",slug:"ecredits",testnet:!1},YEt={chain:"ECS",chainId:63001,explorers:[{name:"eCredits TestNet Explorer",url:"https://explorer.tst.ecredits.com",standard:"EIP3091",icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"}}],faucets:["https://faucet.tst.ecredits.com"],icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"},infoURL:"https://ecredits.com",name:"eCredits Testnet",nativeCurrency:{name:"eCredits",symbol:"ECS",decimals:18},networkId:63001,rpc:["https://63001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tst.ecredits.com"],shortName:"ecs-testnet",slip44:1,slug:"ecredits-testnet",testnet:!0},$Et={chain:"Avalanche",chainId:63079,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"MT 1121-2",nativeCurrency:{name:"MT 1121-2 Token",symbol:"RCE",decimals:18},networkId:63079,redFlags:[],rpc:["https://63079.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/d76ea66a-e423-49f6-8ef1-4355260b47f1"],shortName:"MT 1121-2",slug:"mt-1121-2",testnet:!0},JEt={chain:"Avalanche",chainId:63367,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ReSFT 1-16-24",nativeCurrency:{name:"ReSFT 1-16-24 Token",symbol:"ZAF",decimals:18},networkId:63367,redFlags:[],rpc:["https://63367.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ReSFT 1-16-24",slug:"resft-1-16-24",testnet:!0},XEt={chain:"Avalanche",chainId:63891,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnetv2",nativeCurrency:{name:"Tnetv2 Token",symbol:"LFC",decimals:18},networkId:63891,redFlags:[],rpc:["https://63891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnetv2",slug:"tnetv2",testnet:!0},ZEt={chain:"Avalanche",chainId:64029,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0524I1",nativeCurrency:{name:"QI0524I1 Token",symbol:"LHU",decimals:18},networkId:64029,redFlags:[],rpc:["https://64029.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0524I1",slug:"qi0524i1",testnet:!0},e_t={chain:"Avalanche",chainId:64092,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3186 Testnet",nativeCurrency:{name:"QaUser3186 Testnet Token",symbol:"KII",decimals:18},networkId:64092,redFlags:[],rpc:["https://64092.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3186 Testnet",slug:"qauser3186-testnet",testnet:!0},t_t={chain:"FTM",chainId:64165,ens:{registry:"standard"},explorers:[{name:"Fantom Sonic Builders Testnet",url:"https://sonicscan.io/",standard:"standard",icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"}}],faucets:["https://public-sonic.fantom.network/account"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"},infoURL:"https://sonicscan.io/",name:"Fantom Sonic Builders Testnet",nativeCurrency:{name:"Fantom",symbol:"FTM",decimals:18},networkId:64165,redFlags:[],rpc:["https://64165.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sonic.fantom.network/"],shortName:"FantomTestnet",slug:"fantom-sonic-builders-testnet",testnet:!0},n_t={chain:"Avalanche",chainId:64273,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"REALLY",nativeCurrency:{name:"REALLY Token",symbol:"FAN",decimals:18},networkId:64273,redFlags:[],rpc:["https://64273.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/really/mainnet/rpc"],shortName:"REALLY",slug:"really-really",testnet:!1},a_t={chain:"Avalanche",chainId:64326,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523s1t",nativeCurrency:{name:"QI0523s1t Token",symbol:"ADN",decimals:18},networkId:64326,redFlags:[],rpc:["https://64326.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523s1t",slug:"qi0523s1t",testnet:!0},r_t={chain:"Avalanche",chainId:64361,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8734 Testnet",nativeCurrency:{name:"QaUser8734 Testnet Token",symbol:"XPI",decimals:18},networkId:64361,redFlags:[],rpc:["https://64361.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8734 Testnet",slug:"qauser8734-testnet",testnet:!0},f_t={chain:"Avalanche",chainId:64643,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qasim Testnet",nativeCurrency:{name:"qasim Testnet Token",symbol:"SQJ",decimals:18},networkId:64643,redFlags:[],rpc:["https://64643.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"qasim Testnet",slug:"qasim-testnet",testnet:!0},i_t={chain:"Avalanche",chainId:64943,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430I1",nativeCurrency:{name:"QI0430I1 Token",symbol:"JIQ",decimals:18},networkId:64943,redFlags:[],rpc:["https://64943.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430I1",slug:"qi0430i1-qi0430i1",testnet:!0},s_t={chain:"Avalanche",chainId:65044,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"EXR0314 Testnet",nativeCurrency:{name:"EXR0314 Testnet Token",symbol:"BPR",decimals:18},networkId:65044,redFlags:[],rpc:["https://65044.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"EXR0314 Testnet",slug:"exr0314-testnet",testnet:!0},o_t={chain:"Avalanche",chainId:65174,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9821 Testnet",nativeCurrency:{name:"QaUser9821 Testnet Token",symbol:"HKL",decimals:18},networkId:65174,redFlags:[],rpc:["https://65174.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9821 Testnet",slug:"qauser9821-testnet",testnet:!0},c_t={chain:"Avalanche",chainId:65300,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser46 Testnet",nativeCurrency:{name:"QaUser46 Testnet Token",symbol:"ZAG",decimals:18},networkId:65300,redFlags:[],rpc:["https://65300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser46 Testnet",slug:"qauser46-testnet",testnet:!0},d_t={chain:"SCOLWEI",chainId:65450,explorers:[{name:"Scolscan Explorer",url:"https://explorer.scolcoin.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVES1eqDXhP8SdeCpM85wvjmhrQDXGRquQebDrSdvJqpt",width:792,height:822,format:"png"},infoURL:"https://scolcoin.com",name:"Scolcoin Mainnet",nativeCurrency:{name:"Scolcoin",symbol:"SCOL",decimals:18},networkId:65450,rpc:["https://65450.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.scolcoin.com"],shortName:"SRC",slug:"scolcoin",testnet:!1},l_t={chain:"Avalanche",chainId:65842,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4143 Testnet",nativeCurrency:{name:"QaUser4143 Testnet Token",symbol:"NHU",decimals:18},networkId:65842,redFlags:[],rpc:["https://65842.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4143 Testnet",slug:"qauser4143-testnet",testnet:!0},u_t={chain:"Avalanche",chainId:66042,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408I1 Testnet",nativeCurrency:{name:"QI0408I1 Testnet Token",symbol:"YXE",decimals:18},networkId:66042,redFlags:[],rpc:["https://66042.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408I1 Testnet",slug:"qi0408i1-testnet",testnet:!0},p_t={chain:"Avalanche",chainId:66063,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3324 Testnet",nativeCurrency:{name:"QaUser3324 Testnet Token",symbol:"IYM",decimals:18},networkId:66063,redFlags:[],rpc:["https://66063.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3324 Testnet",slug:"qauser3324-testnet",testnet:!0},h_t={chain:"Avalanche",chainId:66904,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1335 Testnet",nativeCurrency:{name:"QaUser1335 Testnet Token",symbol:"KFZ",decimals:18},networkId:66904,redFlags:[],rpc:["https://66904.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1335 Testnet",slug:"qauser1335-testnet",testnet:!0},b_t={chain:"JanusNetwork",chainId:66988,explorers:[{name:"JanusNetwork Testnet Explorer",url:"https://beta.scan.janusnetwork.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreifc3vnwf4hj3bo6fg4u5qlqmjgajjgezyeg236qjcihl4ha42siuq",width:819,height:792,format:"png"},infoURL:"https://janus-network.gitbook.io/janus",name:"Janus Testnet",nativeCurrency:{name:"Janus",symbol:"JNS",decimals:18},networkId:66988,rpc:["https://66988.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.janusnetwork.io"],shortName:"janusnetwork-testnet",slip44:1,slug:"janus-testnet",status:"active",testnet:!0},m_t={chain:"SIN",chainId:67390,explorers:[{name:"siriusnetscan",url:"https://siriusnet.tryethernal.com",standard:"EIP3091"}],faucets:[],infoURL:"https://macaucasinolisboa.xyz",name:"SiriusNet",nativeCurrency:{name:"MCD",symbol:"MCD",decimals:18},networkId:67390,rpc:["https://67390.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://u0tnafcv6j:o2T045sxuCNXL878RDQLp5__Zj-es2cvdjtgkl4etn0@u0v7kwtvtg-u0wj114sve-rpc.us0-aws.kaleido.io/"],shortName:"mcl",slug:"siriusnet",status:"deprecated",testnet:!1},y_t={chain:"Avalanche",chainId:67451,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6097 Testnet",nativeCurrency:{name:"QaUser6097 Testnet Token",symbol:"NHU",decimals:18},networkId:67451,redFlags:[],rpc:["https://67451.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6097 Testnet",slug:"qauser6097-testnet",testnet:!0},g_t={chain:"COSMIC",chainId:67588,explorers:[],faucets:[],infoURL:"https://cosmicchain.site",name:"Cosmic Chain",nativeCurrency:{name:"Cosmic Chain",symbol:"COSMIC",decimals:18},networkId:3344,rpc:["https://67588.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.cosmicchain.site:3344"],shortName:"Cosmic",slug:"cosmic-chain",testnet:!0},v_t={chain:"Avalanche",chainId:67700,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523T1DT",nativeCurrency:{name:"QI0523T1DT Token",symbol:"WYI",decimals:18},networkId:67700,redFlags:[],rpc:["https://67700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523T1DT",slug:"qi0523t1dt",testnet:!0},w_t={chain:"Avalanche",chainId:68007,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"infra Testnet",nativeCurrency:{name:"infra Testnet Token",symbol:"ZPO",decimals:18},networkId:68007,redFlags:[],rpc:["https://68007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/infratestn/testnet/rpc"],shortName:"infra Testnet",slug:"infra-testnet",testnet:!0},T_t={chain:"Avalanche",chainId:68042,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0514s1",nativeCurrency:{name:"QI0514s1 Token",symbol:"TQA",decimals:18},networkId:68042,redFlags:[],rpc:["https://68042.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0514s1",slug:"qi0514s1",testnet:!0},x_t={chain:"Avalanche",chainId:68064,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3451 Testnet",nativeCurrency:{name:"QaUser3451 Testnet Token",symbol:"NKL",decimals:18},networkId:68064,redFlags:[],rpc:["https://68064.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3451 Testnet",slug:"qauser3451-testnet",testnet:!0},E_t={chain:"Avalanche",chainId:68295,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0116y1s",nativeCurrency:{name:"qr0116y1s Token",symbol:"ANG",decimals:18},networkId:68295,redFlags:[],rpc:["https://68295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0116y1s/testnet/rpc"],shortName:"qr0116y1s",slug:"qr0116y1s",testnet:!0},__t={chain:"Avalanche",chainId:68688,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Haku Chain Testnet",nativeCurrency:{name:"Haku Chain Testnet Token",symbol:"HAKU",decimals:18},networkId:68688,redFlags:[],rpc:["https://68688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/hakuchain/testnet/rpc"],shortName:"Haku Chain Testnet",slug:"haku-chain-testnet",testnet:!0},A_t={chain:"DM2 Verse",chainId:68770,explorers:[{name:"DM2Verse Explorer",url:"https://explorer.dm2verse.dmm.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPMqjf5XKZ4Cxa1u8qc8Zj9mmVLBoqK7N5h2zFr3Rsyzw",width:260,height:260,format:"png"},infoURL:"https://seamoon.dmm.com",name:"DM2 Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:68770,parent:{type:"L2",chain:"eip155-248"},rpc:["https://68770.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dm2verse.dmm.com"],shortName:"dm2",slug:"dm2-verse",testnet:!1},C_t={chain:"Avalanche",chainId:68976,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s1 Testnet",nativeCurrency:{name:"QI0408s1 Testnet Token",symbol:"ICV",decimals:18},networkId:68976,redFlags:[],rpc:["https://68976.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s1 Testnet",slug:"qi0408s1-testnet",testnet:!0},I_t={chain:"Avalanche",chainId:69399,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0103I1",nativeCurrency:{name:"QI0103I1 Token",symbol:"AYYX",decimals:18},networkId:69399,redFlags:[],rpc:["https://69399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0103I1",slug:"qi0103i1",testnet:!0},k_t={chain:"ETH",chainId:69420,explorers:[{name:"Condrieu explorer",url:"https://explorer.condrieu.ethdevops.io",standard:"none"}],faucets:["https://faucet.condrieu.ethdevops.io"],infoURL:"https://condrieu.ethdevops.io",name:"Condrieu",nativeCurrency:{name:"Condrieu Testnet Ether",symbol:"CTE",decimals:18},networkId:69420,rpc:["https://69420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.condrieu.ethdevops.io:8545"],shortName:"cndr",slip44:1,slug:"condrieu",testnet:!0,title:"Ethereum Verkle Testnet Condrieu"},S_t={chain:"Avalanche",chainId:69740,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"WLDVNT",decimals:18},networkId:69740,redFlags:[],rpc:["https://69740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet-69740",testnet:!0},R_t={chain:"Avalanche",chainId:69743,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"SCG-K",nativeCurrency:{name:"SCG-K Token",symbol:"REC",decimals:18},networkId:69743,redFlags:[],rpc:["https://69743.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/scgk/mainnet/rpc"],shortName:"SCG-K",slug:"scg-k-scg-k",testnet:!1},M_t={chain:"Thinkium",chainId:7e4,explorers:[{name:"thinkiumscan",url:"https://chain0.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 0",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:7e4,rpc:["https://70000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy.thinkiumrpc.net/"],shortName:"TKM0",slug:"thinkium-chain-0",testnet:!1},B_t={chain:"Thinkium",chainId:70001,explorers:[{name:"thinkiumscan",url:"https://chain1.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 1",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:70001,rpc:["https://70001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy1.thinkiumrpc.net/"],shortName:"TKM1",slug:"thinkium-chain-1",testnet:!1},D_t={chain:"Thinkium",chainId:70002,explorers:[{name:"thinkiumscan",url:"https://chain2.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 2",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:70002,rpc:["https://70002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy2.thinkiumrpc.net/"],shortName:"TKM2",slug:"thinkium-chain-2",testnet:!1},P_t={chain:"Avalanche",chainId:70038,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"John's Testnet",nativeCurrency:{name:"John's Testnet Token",symbol:"FLG",decimals:18},networkId:70038,redFlags:[],rpc:["https://70038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"John's Testnet",slug:"john-s-testnet",testnet:!0},L_t={chain:"Thinkium",chainId:70103,explorers:[{name:"thinkiumscan",url:"https://chain103.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 103",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:70103,rpc:["https://70103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy103.thinkiumrpc.net/"],shortName:"TKM103",slug:"thinkium-chain-103",testnet:!1},F_t={chain:"Avalanche",chainId:70341,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1957 Testnet",nativeCurrency:{name:"QaUser1957 Testnet Token",symbol:"AKI",decimals:18},networkId:70341,redFlags:[],rpc:["https://70341.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1957 Testnet",slug:"qauser1957-testnet",testnet:!0},N_t={chain:"Avalanche",chainId:70408,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523T2TD",nativeCurrency:{name:"QI0523T2TD Token",symbol:"WYI",decimals:18},networkId:70408,redFlags:[],rpc:["https://70408.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523T2TD",slug:"qi0523t2td",testnet:!0},O_t={chain:"Avalanche",chainId:70457,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9604",nativeCurrency:{name:"QaUser9604 Token",symbol:"CEB",decimals:18},networkId:70457,redFlags:[],rpc:["https://70457.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9604",slug:"qauser9604",testnet:!0},U_t={chain:"Avalanche",chainId:70466,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan test3",nativeCurrency:{name:"Cohan test3 Token",symbol:"HYN",decimals:18},networkId:70466,redFlags:[],rpc:["https://70466.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f44b72ee-0574-44d2-a10b-363a74964145"],shortName:"Cohan test3",slug:"cohan-test3",testnet:!0},H_t={chain:"ETH",chainId:70700,explorers:[{name:"Proof of Play Apex Explorer",url:"https://explorer.apex.proofofplay.com",standard:"EIP3091",icon:{url:"ipfs://QmW3NPDe6WRqucrWbe8pg3GqSMPi8V6Qa1fAiaQuqjxSJC",width:1256,height:1256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3NPDe6WRqucrWbe8pg3GqSMPi8V6Qa1fAiaQuqjxSJC",width:1256,height:1256,format:"png"},infoURL:"https://proofofplay.com",name:"Proof of Play - Apex",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:70700,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.arbitrum.io"},{url:"https://relay.link/bridge/apex/"}]},rpc:["https://70700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.apex.proofofplay.com"],shortName:"pop-apex",slug:"proof-of-play-apex",testnet:!1},z_t={chain:"GuapcoinX",chainId:71111,explorers:[{name:"GuapcoinX Explorer",url:"http://explorer.guapcoinx.com",standard:"none",icon:{url:"ipfs://QmcDTR7982VQKDDz2Mh4fZbnE9hn67MuFPWQv1MimCqPvB",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcDTR7982VQKDDz2Mh4fZbnE9hn67MuFPWQv1MimCqPvB",width:800,height:800,format:"png"},infoURL:"https://guapcoin.org/",name:"GuapcoinX",nativeCurrency:{name:"GuapcoinX",symbol:"GuapX",decimals:18},networkId:71111,rpc:["https://71111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.guapcoinx.com/","https://rpc-mainnet-1.guapcoinx.com/","https://rpc-mainnet-2.guapcoinx.com/"],shortName:"GuapX",slug:"guapcoinx",testnet:!1},W_t={chain:"Avalanche",chainId:71169,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"PJH",decimals:18},networkId:71169,redFlags:[],rpc:["https://71169.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-71169",testnet:!0},q_t={chain:"CKB",chainId:71393,explorers:[],faucets:["https://faucet.nervos.org/"],icon:{url:"ipfs://QmZ5gFWUxLFqqT3DkefYfRsVksMwMTc5VvBjkbHpeFMsNe",width:1001,height:1629,format:"png"},infoURL:"https://github.com/nervosnetwork/godwoken",name:"Polyjuice Testnet",nativeCurrency:{name:"CKB",symbol:"CKB",decimals:8},networkId:1,rpc:["https://71393.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://godwoken-testnet-web3-rpc.ckbapp.dev","ws://godwoken-testnet-web3-rpc.ckbapp.dev/ws"],shortName:"ckb",slip44:1,slug:"polyjuice-testnet",testnet:!0},j_t={chain:"GWT",chainId:71401,explorers:[{name:"GWScan Block Explorer",url:"https://v1.testnet.gwscan.com",standard:"none"}],faucets:["https://testnet.bridge.godwoken.io"],infoURL:"https://www.nervos.org",name:"Godwoken Testnet v1",nativeCurrency:{name:"pCKB",symbol:"pCKB",decimals:18},networkId:71401,rpc:["https://71401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://godwoken-testnet-v1.ckbapp.dev","https://v1.testnet.godwoken.io/rpc"],shortName:"gw-testnet-v1",slip44:1,slug:"godwoken-testnet-v1",testnet:!0},G_t={chain:"GWT",chainId:71402,explorers:[{name:"GWScan Block Explorer",url:"https://v1.gwscan.com",standard:"none"}],faucets:[],infoURL:"https://www.nervos.org",name:"Godwoken Mainnet",nativeCurrency:{name:"pCKB",symbol:"pCKB",decimals:18},networkId:71402,rpc:["https://71402.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://v1.mainnet.godwoken.io/rpc"],shortName:"gw-mainnet-v1",slug:"godwoken",testnet:!1},K_t={chain:"Jambon's Devnet",chainId:72605,explorers:[],faucets:[],features:[],icon:{url:"",width:256,height:256,format:".svg"},name:"Jambon's Devnet",nativeCurrency:{name:"Jambon's Devnet",symbol:"DOB",decimals:18},networkId:72605,redFlags:[],rpc:[],shortName:"Jambon's Devnet",slug:"jambon-s-devnet",testnet:!0},Q_t={chain:"Avalanche",chainId:72647,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3938",nativeCurrency:{name:"QaUser3938 Token",symbol:"HTO",decimals:18},networkId:72647,redFlags:[],rpc:["https://72647.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3938",slug:"qauser3938",testnet:!0},V_t={chain:"Avalanche",chainId:72709,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Dragon Testnet",nativeCurrency:{name:"Dragon Testnet Token",symbol:"BDI",decimals:18},networkId:72709,redFlags:[],rpc:["https://72709.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/dragontest/testnet/rpc"],shortName:"Dragon Testnet",slug:"dragon-testnet",testnet:!0},Y_t={chain:"Ankara",chainId:72778,explorers:[{name:"ankara",url:"https://explorer.ankara-cagacrypto.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmeiop9gSdzU4NNJ6GCuPk6AeYwD9pbhEFVfRdk4dXs3kJ",width:640,height:640,format:"png"},infoURL:"https://www.cagacrypto.com/",name:"CAGA crypto Ankara testnet",nativeCurrency:{name:"Caga",symbol:"CAGA",decimals:18},networkId:72778,rpc:["https://72778.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.ankara-cagacrypto.com","wss://wss.ankara-cagacrypto.com"],shortName:"caga",slug:"caga-crypto-ankara-testnet",testnet:!0},$_t={chain:"Avalanche",chainId:72877,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"ZAG",decimals:18},networkId:72877,redFlags:[],rpc:["https://72877.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-72877",testnet:!0},J_t={chain:"Grok",chainId:72992,explorers:[{name:"GrokScan",url:"https://mainnet-explorer.grokchain.dev",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreicepw6yqtmubtpcthecjx47ndwgywartfqnkdhf66k3q57h2hlewm",width:512,height:512,format:"png"},infoURL:"https://grokchain.dev",name:"Grok Chain Mainnet",nativeCurrency:{name:"Groc",symbol:"GROC",decimals:18},networkId:72992,rpc:["https://72992.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.grokchain.dev"],shortName:"GrokChain",slug:"grok-chain",testnet:!1},X_t={chain:"ICBT",chainId:73114,explorers:[{name:"ICB Tesnet Explorer",url:"https://testnet.icbscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifgpv7tnai42hsdegnpwzbvq5iymgub357e553cotitirwy2ir7je",width:2e3,height:2243,format:"png"},infoURL:"https://icb.network",name:"ICB Testnet",nativeCurrency:{name:"ICB Testnet Token",symbol:"ICBT",decimals:18},networkId:73114,rpc:["https://73114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1-testnet.icbnetwork.info/","https://rpc2-testnet.icbnetwork.info/"],shortName:"ICBT",slug:"icb-testnet",testnet:!0},Z_t={chain:"ICB",chainId:73115,explorers:[{name:"ICB Explorer",url:"https://icbscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifgpv7tnai42hsdegnpwzbvq5iymgub357e553cotitirwy2ir7je",width:2e3,height:2243,format:"png"},infoURL:"https://icb.network",name:"ICB Network",nativeCurrency:{name:"ICB Native Token",symbol:"ICBX",decimals:18},networkId:73115,rpc:["https://73115.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1-mainnet.icbnetwork.info/","https://rpc2-mainnet.icbnetwork.info/"],shortName:"ICBX",slug:"icb-network",testnet:!1},eAt={chain:"Avalanche",chainId:73277,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9250 Testnet",nativeCurrency:{name:"QaUser9250 Testnet Token",symbol:"UDU",decimals:18},networkId:73277,redFlags:[],rpc:["https://73277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9250 Testnet",slug:"qauser9250-testnet",testnet:!0},tAt={chain:"Avalanche",chainId:73322,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7831",nativeCurrency:{name:"QaUser7831 Token",symbol:"RAN",decimals:18},networkId:73322,redFlags:[],rpc:["https://73322.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7831",slug:"qauser7831",testnet:!0},nAt={chain:"Avalanche",chainId:73486,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405024 NO INTEROP",nativeCurrency:{name:"QIM2405024 NO INTEROP Token",symbol:"UZP",decimals:18},networkId:73486,redFlags:[],rpc:["https://73486.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405024 NO INTEROP",slug:"qim2405024-no-interop",testnet:!0},aAt={chain:"Avalanche",chainId:73592,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5450",nativeCurrency:{name:"QaUser5450 Token",symbol:"PXB",decimals:18},networkId:73592,redFlags:[],rpc:["https://73592.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5450",slug:"qauser5450",testnet:!0},rAt={chain:"Avalanche",chainId:73677,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9318 Testnet",nativeCurrency:{name:"QaUser9318 Testnet Token",symbol:"XUK",decimals:18},networkId:73677,redFlags:[],rpc:["https://73677.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9318 Testnet",slug:"qauser9318-testnet",testnet:!0},fAt={chain:"Volta",chainId:73799,explorers:[],faucets:["https://voltafaucet.energyweb.org"],infoURL:"https://energyweb.org",name:"Energy Web Volta Testnet",nativeCurrency:{name:"Volta Token",symbol:"VT",decimals:18},networkId:73799,rpc:["https://73799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://volta-rpc.energyweb.org","wss://volta-rpc.energyweb.org/ws"],shortName:"vt",slip44:1,slug:"energy-web-volta-testnet",testnet:!0},iAt={chain:"Avalanche",chainId:73813,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405082",nativeCurrency:{name:"QIM2405082 Token",symbol:"WCC",decimals:18},networkId:73813,redFlags:[],rpc:["https://73813.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405082",slug:"qim2405082",testnet:!0},sAt={chain:"MVM",chainId:73927,explorers:[{name:"mvmscan",url:"https://scan.mvm.dev",standard:"EIP3091",icon:{url:"ipfs://QmeuDgSprukzfV7fi9XYHYcfmT4aZZZU7idgShtRS8Vf6V",width:471,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeuDgSprukzfV7fi9XYHYcfmT4aZZZU7idgShtRS8Vf6V",width:471,height:512,format:"png"},infoURL:"https://mvm.dev",name:"Mixin Virtual Machine",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:73927,rpc:["https://73927.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geth.mvm.dev"],shortName:"mvm",slug:"mixin-virtual-machine",testnet:!1},oAt={chain:"Avalanche",chainId:74006,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0219",nativeCurrency:{name:"QaUser0219 Token",symbol:"QVH",decimals:18},networkId:74006,redFlags:[],rpc:["https://74006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0219",slug:"qauser0219",testnet:!0},cAt={chain:"Avalanche",chainId:74356,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"S Testnet 1-5-24",nativeCurrency:{name:"S Testnet 1-5-24 Token",symbol:"ZLQ",decimals:18},networkId:74356,redFlags:[],rpc:["https://74356.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"S Testnet 1-5-24",slug:"s-testnet-1-5-24",testnet:!0},dAt={chain:"Avalanche",chainId:74738,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"CWA",decimals:18},networkId:74738,redFlags:[],rpc:["https://74738.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-74738",testnet:!0},lAt={chain:"RESIN",chainId:75e3,explorers:[{name:"ResinScan",url:"https://explorer.resincoin.dev",standard:"none"}],faucets:[],icon:{url:"ipfs://QmTBszPzBeWPhjozf4TxpL2ws1NkG9yJvisx9h6MFii1zb",width:460,height:460,format:"png"},infoURL:"https://resincoin.dev",name:"ResinCoin Mainnet",nativeCurrency:{name:"Ether",symbol:"RESIN",decimals:18},networkId:75e3,rpc:[],shortName:"resin",slug:"resincoin",testnet:!1},uAt={chain:"GEEK",chainId:75512,explorers:[{name:"Geek Explorer",url:"https://explorer.geekout-pte.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.geekout-pte.com",name:"GEEK Verse Mainnet",nativeCurrency:{name:"Geek",symbol:"GEEK",decimals:18},networkId:75512,rpc:["https://75512.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.geekout-pte.com"],shortName:"GEEK",slug:"geek-verse",testnet:!1},pAt={chain:"Avalanche",chainId:75817,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"SFT 1-8-24",nativeCurrency:{name:"SFT 1-8-24 Token",symbol:"ZAF",decimals:18},networkId:75817,redFlags:[],rpc:["https://75817.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"SFT 1-8-24",slug:"sft-1-8-24",testnet:!0},hAt={chain:"Avalanche",chainId:76950,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1204I2",nativeCurrency:{name:"QI1204I2 Token",symbol:"BHOX",decimals:18},networkId:76950,redFlags:[],rpc:["https://76950.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/ba4e7766-4bc6-44ec-b43f-598647b4ee71"],shortName:"QI1204I2",slug:"qi1204i2",testnet:!0},bAt={chain:"BORA",chainId:77001,explorers:[{name:"BORAchainscope",url:"https://scope.boraportal.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmccGWJcCzQh3rP6ZMdRyTc7JjtusKnXkoUtGUANQgjNqR",width:48,height:48,format:"svg"},infoURL:"https://www.boraportal.com",name:"BORAchain mainnet",nativeCurrency:{name:"BGAS",symbol:"BGAS",decimals:18},networkId:77001,rpc:["https://77001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-node.api.boraportal.com/bora/mainnet"],shortName:"BORAchain",slip44:8217,slug:"borachain",testnet:!1},mAt={chain:"Avalanche",chainId:77209,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2491",nativeCurrency:{name:"QaUser2491 Token",symbol:"GCW",decimals:18},networkId:77209,redFlags:[],rpc:["https://77209.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2491",slug:"qauser2491",testnet:!0},yAt={chain:"tFNC",chainId:77238,explorers:[{name:"Foundry Scan Testnet",url:"https://testnet-explorer.foundryscan.org",standard:"EIP3091"}],faucets:["https://faucet.foundryscan.org"],icon:{url:"ipfs://bafkreifx4vef7ubqz4iiaxckcvkdwjrp2hbliljwjlwu2vytlngg3r4pg4",width:192,height:192,format:"png"},infoURL:"https://foundrychain.org",name:"Foundry Chain Testnet",nativeCurrency:{name:"Foundry Chain Testnet",symbol:"tFNC",decimals:18},networkId:77238,rpc:["https://77238.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.foundryscan.org/"],shortName:"fnc",slip44:1,slug:"foundry-chain-testnet",testnet:!0},gAt={chain:"Avalanche",chainId:77552,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3673 Testnet",nativeCurrency:{name:"QaUser3673 Testnet Token",symbol:"YSI",decimals:18},networkId:77552,redFlags:[],rpc:["https://77552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3673 Testnet",slug:"qauser3673-testnet",testnet:!0},vAt={chain:"Avalanche",chainId:77572,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0993 Testnet",nativeCurrency:{name:"QaUser0993 Testnet Token",symbol:"JOE",decimals:18},networkId:77572,redFlags:[],rpc:["https://77572.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0993 Testnet",slug:"qauser0993-testnet",testnet:!0},wAt={chain:"Avalanche",chainId:77576,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6624 Testnet",nativeCurrency:{name:"QaUser6624 Testnet Token",symbol:"WVN",decimals:18},networkId:77576,redFlags:[],rpc:["https://77576.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6624 Testnet",slug:"qauser6624-testnet",testnet:!0},TAt={chain:"VSC",chainId:77612,explorers:[{name:"ventionscan",url:"https://ventionscan.io",standard:"EIP3091"}],faucets:["https://faucet.vention.network"],icon:{url:"ipfs://QmcNepHmbmHW1BZYM3MFqJW4awwhmDqhUPRXXmRnXwg1U4",width:250,height:250,format:"png"},infoURL:"https://ventionscan.io",name:"Vention Smart Chain Mainnet",nativeCurrency:{name:"VNT",symbol:"VNT",decimals:18},networkId:77612,rpc:["https://77612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.vention.network"],shortName:"vscm",slug:"vention-smart-chain",testnet:!1},xAt={chain:"Toronet",chainId:77777,ens:{registry:"0x1f45a71f4aAD769E27c969c4359E0e250C67165c"},explorers:[{name:"toronet_explorer",url:"https://toronet.org/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmciSvgLatP6jhgdazuiyD3fSrhipfAN7wC943v1qxcrpv",width:846,height:733,format:"png"},infoURL:"https://toronet.org",name:"Toronet Mainnet",nativeCurrency:{name:"Toro",symbol:"TORO",decimals:18},networkId:77777,rpc:["https://77777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://toronet.org/rpc"],shortName:"Toronet",slug:"toronet",testnet:!1},EAt={chain:"Avalanche",chainId:77898,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0517I1",nativeCurrency:{name:"QI0517I1 Token",symbol:"YGV",decimals:18},networkId:77898,redFlags:[],rpc:["https://77898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0517I1",slug:"qi0517i1",testnet:!0},_At={chain:"ETH",chainId:78110,explorers:[],faucets:[],infoURL:"https://primusmoney.com",name:"Firenze test network",nativeCurrency:{name:"Firenze Ether",symbol:"FIN",decimals:18},networkId:78110,rpc:["https://78110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ethnode.primusmoney.com/firenze"],shortName:"firenze",slip44:1,slug:"firenze-test-network",testnet:!0},AAt={chain:"Avalanche",chainId:78170,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"MXS Games Testnet",nativeCurrency:{name:"MXS Games Testnet Token",symbol:"XSEED",decimals:18},networkId:78170,redFlags:[],rpc:["https://78170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mxsgameste/testnet/rpc"],shortName:"MXS Games Testnet",slug:"mxs-games-testnet",testnet:!0},CAt={chain:"Dragonfly",chainId:78281,explorers:[{name:"Dragonfly Blockscout",url:"https://blockscout.dragonfly.hexapod.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPXhdPGufjcPzZ9Y6nY6QyW8MgA6793L88iPMRh1Q3gjJ",width:512,height:366,format:"png"},infoURL:"https://hexapod.network",name:"Dragonfly Mainnet (Hexapod)",nativeCurrency:{name:"Dragonfly",symbol:"DFLY",decimals:18},networkId:78281,rpc:["https://78281.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dragonfly-rpc.switch.ch","https://dragonfly-rpc.kore-technologies.ch","https://dragonfly-rpc.phoenix-systems.io","https://dragonfly-rpc.block-spirit.ch"],shortName:"dfly",slug:"dragonfly-hexapod",testnet:!1},IAt={chain:"AMPLIFY",chainId:78430,explorers:[{name:"AMPLIFY Explorer",url:"https://subnets-test.avax.network/amplify",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.avax.network",name:"Amplify Subnet",nativeCurrency:{name:"AMP",symbol:"AMP",decimals:18},networkId:78430,rpc:["https://78430.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/amplify/testnet/rpc"],shortName:"amplify",slip44:1,slug:"amplify-subnet",testnet:!0},kAt={chain:"BULLETIN",chainId:78431,explorers:[{name:"BULLETIN Explorer",url:"https://subnets-test.avax.network/bulletin",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.avax.network",name:"Bulletin Subnet",nativeCurrency:{name:"BLT",symbol:"BLT",decimals:18},networkId:78431,rpc:["https://78431.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/bulletin/testnet/rpc"],shortName:"bulletin",slip44:1,slug:"bulletin-subnet",testnet:!0},SAt={chain:"CONDUIT",chainId:78432,explorers:[{name:"CONDUIT Explorer",url:"https://subnets-test.avax.network/conduit",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.avax.network",name:"Conduit Subnet",nativeCurrency:{name:"CON",symbol:"CON",decimals:18},networkId:78432,rpc:["https://78432.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/conduit/testnet/rpc"],shortName:"conduit",slip44:1,slug:"conduit-subnet",testnet:!0},RAt={chain:"VANAR",chainId:78600,explorers:[{name:"Vanguard Explorer",url:"https://explorer-vanguard.vanarchain.com",standard:"EIP3091",icon:{url:"ipfs://QmeERjnmdZ6v1tfCyfKfy2Rzh1vPCsU7x2sLJcLqQ6E3Fd",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.vanarchain.com"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmeERjnmdZ6v1tfCyfKfy2Rzh1vPCsU7x2sLJcLqQ6E3Fd",width:1e3,height:1628,format:"png"},infoURL:"https://vanarchain.com",name:"Vanguard",nativeCurrency:{name:"Vanguard Vanry",symbol:"VANRY",decimals:18},networkId:78600,rpc:["https://78600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-vanguard.vanarchain.com","wss://ws-vanguard.vanarchain.com"],shortName:"vanguard",slug:"vanguard",testnet:!0,title:"Vanar Testnet Vanguard"},MAt={chain:"Avalanche",chainId:78933,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FST 12-22 V2",nativeCurrency:{name:"FST 12-22 V2 Token",symbol:"EJJ",decimals:18},networkId:78933,redFlags:[],rpc:["https://78933.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"FST 12-22 V2",slug:"fst-12-22-v2",testnet:!0},BAt={chain:"Avalanche",chainId:79062,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s4t",nativeCurrency:{name:"QI0521s4t Token",symbol:"VTV",decimals:18},networkId:79062,redFlags:[],rpc:["https://79062.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s4t",slug:"qi0521s4t",testnet:!0},DAt={chain:"Avalanche",chainId:79338,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0122I1 Testnet",nativeCurrency:{name:"QR0122I1 Testnet Token",symbol:"JVTX",decimals:18},networkId:79338,redFlags:[],rpc:["https://79338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0122i1te/testnet/rpc"],shortName:"QR0122I1 Testnet",slug:"qr0122i1-testnet",testnet:!0},PAt={chain:"Avalanche",chainId:79466,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0513I2",nativeCurrency:{name:"QI0513I2 Token",symbol:"YSC",decimals:18},networkId:79466,redFlags:[],rpc:["https://79466.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0513I2",slug:"qi0513i2",testnet:!0},LAt={chain:"Avalanche",chainId:79490,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2672 Testnet",nativeCurrency:{name:"QaUser2672 Testnet Token",symbol:"ENU",decimals:18},networkId:79490,redFlags:[],rpc:["https://79490.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2672 Testnet",slug:"qauser2672-testnet",testnet:!0},FAt={chain:"STAND",chainId:79879,explorers:[{name:"Gold Smart Chain",url:"https://testnet.goldsmartchain.com",standard:"EIP3091"}],faucets:["https://faucet.goldsmartchain.com"],icon:{url:"ipfs://QmPNuymyaKLJhCaXnyrsL8358FeTxabZFsaxMmWNU4Tzt3",width:396,height:418,format:"png"},infoURL:"https://goldsmartchain.com",name:"Gold Smart Chain Testnet",nativeCurrency:{name:"Standard in Gold",symbol:"STAND",decimals:18},networkId:79879,rpc:["https://79879.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.goldsmartchain.com"],shortName:"STANDt",slip44:1,slug:"gold-smart-chain-testnet",testnet:!0},EW={chain:"Polygon",chainId:80001,explorers:[{name:"polygonscan",url:"https://mumbai.polygonscan.com",standard:"EIP3091"}],faucets:["https://faucet.polygon.technology/"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/polygon/512.png",width:512,height:512,format:"png"},infoURL:"https://polygon.technology/",name:"Mumbai",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},networkId:80001,redFlags:[],rpc:["https://80001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mumbai.maticvigil.com","https://polygon-mumbai-bor-rpc.publicnode.com","wss://polygon-mumbai-bor-rpc.publicnode.com","https://polygon-mumbai.gateway.tenderly.co","wss://polygon-mumbai.gateway.tenderly.co"],shortName:"maticmum",slip44:1,slug:"mumbai",status:"deprecated",testnet:!0,title:"Polygon Testnet Mumbai"},NAt={chain:"Polygon",chainId:80002,explorers:[{name:"polygonamoy",url:"https://www.oklink.com/amoy",standard:"EIP3091"}],faucets:["https://faucet.polygon.technology/"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/polygon/512.png",width:512,height:512,format:"png"},infoURL:"https://polygon.technology/",name:"Polygon Amoy Testnet",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},networkId:80002,redFlags:[],rpc:["https://80002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-amoy.polygon.technology","https://polygon-amoy-bor-rpc.publicnode.com","wss://polygon-amoy-bor-rpc.publicnode.com"],shortName:"polygonamoy",slip44:1,slug:"polygon-amoy-testnet",testnet:!0,title:"Polygon Amoy Testnet"},OAt={chain:"Berachain",chainId:80085,explorers:[{name:"Beratrail",url:"https://artio.beratrail.io",standard:"none",icon:{url:"ipfs://QmW2xrDkSqBB7qgftp5PUecEGg4zwUBJgSN45CaR7CKJMr",width:256,height:256,format:"png"}}],faucets:["https://artio.faucet.berachain.com"],features:[],icon:{url:"ipfs://QmW2xrDkSqBB7qgftp5PUecEGg4zwUBJgSN45CaR7CKJMr",width:256,height:256,format:"png"},infoURL:"https://www.berachain.com/",name:"Berachain Artio",nativeCurrency:{name:"BERA",symbol:"BERA",decimals:18},networkId:80085,redFlags:[],rpc:["https://80085.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://quicknode-rpc.berachain.com","https://artio.rpc.berachain.com","https://rpc.ankr.com/berachain_testnet"],shortName:"bera-artio",slug:"berachain-artio",testnet:!0},UAt={chain:"Avalanche",chainId:80092,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4009",nativeCurrency:{name:"QaUser4009 Token",symbol:"MHP",decimals:18},networkId:80092,redFlags:[],rpc:["https://80092.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4009",slug:"qauser4009",testnet:!0},HAt={chain:"HZC",chainId:80096,explorers:[{name:"blockscout",url:"https://hizoco.net:38443",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNWGj94URMQNyGZbGuAareEL4UpHjTwYWFEFBcX9utBZX",width:421,height:421,format:"png"},infoURL:"http://hizoco.net",name:"Hizoco mainnet",nativeCurrency:{name:"Hizoco",symbol:"HZC",decimals:18},networkId:80096,rpc:["https://80096.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hizoco.net/rpc"],shortName:"hzc",slug:"hizoco",testnet:!1},zAt={chain:"Avalanche",chainId:80182,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI M 12051",nativeCurrency:{name:"QI M 12051 Token",symbol:"VTV",decimals:18},networkId:80182,redFlags:[],rpc:["https://80182.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/b19c9e32-f359-451f-ad15-7ec784625c04"],shortName:"QI M 12051",slug:"qi-m-12051",testnet:!0},WAt={chain:"Avalanche",chainId:80375,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0103y1s",nativeCurrency:{name:"qr0103y1s Token",symbol:"IJB",decimals:18},networkId:80375,redFlags:[],rpc:["https://80375.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0103y1s/testnet/rpc"],shortName:"qr0103y1s",slug:"qr0103y1s",testnet:!0},qAt={chain:"Avalanche",chainId:80719,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4301 Testnet",nativeCurrency:{name:"QaUser4301 Testnet Token",symbol:"NHU",decimals:18},networkId:80719,redFlags:[],rpc:["https://80719.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4301 Testnet",slug:"qauser4301-testnet",testnet:!0},jAt={chain:"Nordek",chainId:81041,explorers:[{name:"nordek",url:"https://nordekscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreie45fcr2hllmej2elwqpdxmiaycxmz25tl5ymraduhtefqndhlm4q",width:222,height:306,format:"png"},infoURL:"https://nordekscan.com",name:"Nordek Mainnet",nativeCurrency:{name:"NRK",symbol:"NRK",decimals:18},networkId:81041,rpc:["https://81041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.nordekscan.com"],shortName:"nordek",slug:"nordek",testnet:!1},GAt={chain:"Avalanche",chainId:81079,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 21343243",nativeCurrency:{name:"QI M 21343243 Token",symbol:"JZW",decimals:18},networkId:81079,redFlags:[],rpc:["https://81079.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f575b5b1-8b60-47f3-af28-13f3f3de2ba5"],shortName:"QI M 21343243",slug:"qi-m-21343243",testnet:!0},KAt={chain:"MEER",chainId:81341,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana Testnet",nativeCurrency:{name:"Amana Testnet",symbol:"MEER-T",decimals:18},networkId:81341,rpc:[],shortName:"amanatest",slip44:1,slug:"amana-testnet",status:"incubating",testnet:!0},QAt={chain:"MEER",chainId:81342,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana Mixnet",nativeCurrency:{name:"Amana Mixnet",symbol:"MEER-M",decimals:18},networkId:81342,rpc:[],shortName:"amanamix",slug:"amana-mixnet",status:"incubating",testnet:!1},VAt={chain:"MEER",chainId:81343,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana Privnet",nativeCurrency:{name:"Amana Privnet",symbol:"MEER-P",decimals:18},networkId:81343,rpc:[],shortName:"amanapriv",slug:"amana-privnet",status:"incubating",testnet:!1},YAt={chain:"MEER",chainId:81351,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana Testnet",nativeCurrency:{name:"Flana Testnet",symbol:"MEER-T",decimals:18},networkId:81351,rpc:[],shortName:"flanatest",slip44:1,slug:"flana-testnet",status:"incubating",testnet:!0},$At={chain:"MEER",chainId:81352,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana Mixnet",nativeCurrency:{name:"Flana Mixnet",symbol:"MEER-M",decimals:18},networkId:81352,rpc:[],shortName:"flanamix",slug:"flana-mixnet",status:"incubating",testnet:!1},JAt={chain:"MEER",chainId:81353,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana Privnet",nativeCurrency:{name:"Flana Privnet",symbol:"MEER-P",decimals:18},networkId:81353,rpc:[],shortName:"flanapriv",slug:"flana-privnet",status:"incubating",testnet:!1},XAt={chain:"MEER",chainId:81361,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana Testnet",nativeCurrency:{name:"Mizana Testnet",symbol:"MEER-T",decimals:18},networkId:81361,rpc:[],shortName:"mizanatest",slip44:1,slug:"mizana-testnet",status:"incubating",testnet:!0},ZAt={chain:"MEER",chainId:81362,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana Mixnet",nativeCurrency:{name:"Mizana Mixnet",symbol:"MEER-M",decimals:18},networkId:81362,rpc:[],shortName:"mizanamix",slug:"mizana-mixnet",status:"incubating",testnet:!1},eCt={chain:"MEER",chainId:81363,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana Privnet",nativeCurrency:{name:"Mizana Privnet",symbol:"MEER-P",decimals:18},networkId:81363,rpc:[],shortName:"mizanapriv",slug:"mizana-privnet",status:"incubating",testnet:!1},tCt={chain:"ETH",chainId:81457,explorers:[{name:"Blastscan",url:"https://blastscan.io",standard:"EIP3091",icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"}},{name:"Blast Explorer",url:"https://blastexplorer.io",standard:"EIP3091",icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"},infoURL:"https://blast.io/",name:"Blast",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:81457,parent:{type:"L2",chain:"eip155-1"},redFlags:[],rpc:["https://81457.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blast.io","https://rpc.ankr.com/blast","https://blast.din.dev/rpc","https://blast.blockpi.network/v1/rpc/public","https://blastl2-mainnet.public.blastapi.io"],shortName:"blastmainnet",slug:"blast-blastmainnet",status:"active",testnet:!1},nCt={chain:"Avalanche",chainId:81573,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIS0311 Testnet",nativeCurrency:{name:"QIS0311 Testnet Token",symbol:"MVD",decimals:18},networkId:81573,redFlags:[],rpc:["https://81573.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIS0311 Testnet",slug:"qis0311-testnet",testnet:!0},aCt={chain:"QNET",chainId:81720,explorers:[{name:"Quantum Scan Mainnet",url:"https://quantumscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibwywok67uewqbtqdzgr7nlk3lvvg7hxmbgwtn7kdwxe34useucvm",width:1024,height:1024,format:"png"},infoURL:"https://quantumnetwork.gg",name:"Quantum Chain Mainnet",nativeCurrency:{name:"Quantum Chain",symbol:"QNET",decimals:18},networkId:81720,rpc:["https://81720.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.quantumscan.org"],shortName:"qnet",slug:"quantum-chain",testnet:!1},rCt={chain:"Avalanche",chainId:82261,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0423s1 Testnet",nativeCurrency:{name:"QI0423s1 Testnet Token",symbol:"PUU",decimals:18},networkId:82261,redFlags:[],rpc:["https://82261.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0423s1 Testnet",slug:"qi0423s1-testnet",testnet:!0},fCt={chain:"Avalanche",chainId:82368,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0116S1",nativeCurrency:{name:"QR0116S1 Token",symbol:"USJ",decimals:18},networkId:82368,redFlags:[],rpc:["https://82368.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0116s1/testnet/rpc"],shortName:"QR0116S1",slug:"qr0116s1",testnet:!0},iCt={chain:"SLN",chainId:82459,explorers:[{name:"SLN Testnet Explorer",url:"https://explorer.test.smartlayer.network",standard:"EIP3091"}],faucets:[],infoURL:"https://www.smartlayer.network/",name:"Smart Layer Network Testnet",nativeCurrency:{name:"Service Unit Token",symbol:"SU",decimals:18},networkId:82459,rpc:["https://82459.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.smartlayer.network"],shortName:"tSLN",slug:"smart-layer-network-testnet",testnet:!0},sCt={chain:"Avalanche",chainId:82552,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0209I2",nativeCurrency:{name:"QI0209I2 Token",symbol:"BLOX",decimals:18},networkId:82552,redFlags:[],rpc:["https://82552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0209I2",slug:"qi0209i2",testnet:!0},oCt={chain:"zFirst AvaCloud Subnet Thirdweb",chainId:82807,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"zFirst AvaCloud Subnet Thirdweb",nativeCurrency:{name:"zFirst AvaCloud Subnet Thirdweb",symbol:"YOOO",decimals:18},networkId:82807,redFlags:[],rpc:["https://82807.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f2ea180d-0fda-4b06-9b2e-53a65d3fd789"],shortName:"zFirst AvaCloud Subnet Thirdweb",slug:"zfirst-avacloud-subnet-thirdweb",testnet:!0},cCt={chain:"Avalanche",chainId:83414,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Q IM 2402132",nativeCurrency:{name:"Q IM 2402132 Token",symbol:"XVL",decimals:18},networkId:83414,redFlags:[],rpc:["https://83414.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Q IM 2402132",slug:"q-im-2402132",testnet:!0},dCt={chain:"Avalanche",chainId:83862,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST 12-12 V1",nativeCurrency:{name:"ST 12-12 V1 Token",symbol:"GXE",decimals:18},networkId:83862,redFlags:[],rpc:["https://83862.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 12-12 V1",slug:"st-12-12-v1",testnet:!0},lCt={chain:"ZEDXION",chainId:83872,explorers:[{name:"Zedscan",url:"http://zedscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.zedscan.net",name:"ZEDXION",nativeCurrency:{name:"Zedxion",symbol:"zedx",decimals:9},networkId:83872,rpc:["https://83872.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.zedscan.net"],shortName:"ZEDX",slug:"zedxion",testnet:!1},uCt={chain:"Avalanche",chainId:83900,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0122I1 Testnet",nativeCurrency:{name:"QI0122I1 Testnet Token",symbol:"XTT",decimals:18},networkId:83900,redFlags:[],rpc:["https://83900.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/a5f62fea-1375-4ddd-b88f-72b56b435259"],shortName:"QI0122I1 Testnet",slug:"qi0122i1-testnet-qi0122i1 testnet",testnet:!0},pCt={chain:"Avalanche",chainId:84045,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jovica's Testnet",nativeCurrency:{name:"Jovica's Testnet Token",symbol:"ZQG",decimals:18},networkId:84045,redFlags:[],rpc:["https://84045.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jovicax/testnet/rpc"],shortName:"Jovica's Testnet",slug:"jovica-s-testnet",testnet:!0},hCt={chain:"ETH",chainId:84531,explorers:[{name:"basescan",url:"https://goerli.basescan.org",standard:"none"},{name:"basescout",url:"https://base-goerli.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://base-goerli.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:["https://www.coinbase.com/faucets/base-ethereum-goerli-faucet"],features:[],icon:{url:"ipfs://QmW5Vn15HeRkScMfPcW12ZdZcC2yUASpu6eCsECRdEmjjj/base-512.png",width:512,height:512,format:"png"},infoURL:"https://base.org",name:"Base Goerli Testnet",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:84531,redFlags:[],rpc:["https://84531.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.base.org","https://base-goerli.gateway.tenderly.co","wss://base-goerli.gateway.tenderly.co","https://base-goerli-rpc.publicnode.com","wss://base-goerli-rpc.publicnode.com"],shortName:"basegor",slip44:1,slug:"base-goerli",status:"deprecated",testnet:!0},_W={chain:"ETH",chainId:84532,explorers:[{name:"basescout",url:"https://base-sepolia.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaxRoHpxZd8PqccAynherrMznMufG6sdmHZLihkECXmZv",width:1200,height:1200,format:"png"},infoURL:"https://base.org",name:"Base Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:84532,rpc:["https://84532.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.base.org","https://base-sepolia-rpc.publicnode.com","wss://base-sepolia-rpc.publicnode.com"],shortName:"basesep",slip44:1,slug:"base-sepolia-testnet",testnet:!0},bCt={chain:"Avalanche",chainId:84623,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401221",nativeCurrency:{name:"QI M 2401221 Token",symbol:"HZU",decimals:18},networkId:84623,redFlags:[],rpc:["https://84623.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401221",slug:"qi-m-2401221",testnet:!0},mCt={chain:"Avalanche",chainId:84860,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0422I1 Testnet",nativeCurrency:{name:"QI0422I1 Testnet Token",symbol:"LLV",decimals:18},networkId:84860,redFlags:[],rpc:["https://84860.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0422I1 Testnet",slug:"qi0422i1-testnet",testnet:!0},yCt={chain:"Aerie",chainId:84886,explorers:[{name:"Aerie Explorer",url:"https://explorer.aerielab.io",standard:"EIP3091",icon:{url:"ipfs://bafkreig54jss26xllpjbclmfgwvot72m4ku7qxignhlqei6mijvwi2m4pu",width:1062,height:1069,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreig54jss26xllpjbclmfgwvot72m4ku7qxignhlqei6mijvwi2m4pu",width:1062,height:1069,format:"png"},infoURL:"https://aerielab.io/",name:"Aerie Network",nativeCurrency:{name:"Aerie",symbol:"AER",decimals:18},networkId:84886,rpc:["https://84886.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.aerielab.io"],shortName:"Aerie",slug:"aerie-network",testnet:!1},gCt={chain:"Avalanche",chainId:85023,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"NishiOgikubo Subnet",nativeCurrency:{name:"NishiOgikubo Subnet Token",symbol:"NOS",decimals:18},networkId:85023,redFlags:[],rpc:["https://85023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/nishiogiku/testnet/rpc"],shortName:"NishiOgikubo Subnet",slug:"nishiogikubo-subnet",testnet:!0},vCt={chain:"CYBER",chainId:85449,explorers:[],faucets:[],infoURL:"https://cybertrust.space",name:"CYBERTRUST",nativeCurrency:{name:"Cyber Trust",symbol:"CYBER",decimals:18},networkId:48501,rpc:["https://85449.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.cybertrust.space:48501"],shortName:"Cyber",slug:"cybertrust",testnet:!0},wCt={chain:"Avalanche",chainId:85678,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0122I1 Testnet",nativeCurrency:{name:"QI0122I1 Testnet Token",symbol:"KIP",decimals:18},networkId:85678,redFlags:[],rpc:["https://85678.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0122I1 Testnet",slug:"qi0122i1-testnet-qi0122i1 testnet-85678",testnet:!0},TCt={chain:"Avalanche",chainId:86157,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0523S1T",nativeCurrency:{name:"QR0523S1T Token",symbol:"STZ",decimals:18},networkId:86157,redFlags:[],rpc:["https://86157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0523s1t/testnet/rpc"],shortName:"QR0523S1T",slug:"qr0523s1t",testnet:!0},xCt={chain:"Avalanche",chainId:86663,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7218 Testnet",nativeCurrency:{name:"QaUser7218 Testnet Token",symbol:"GCY",decimals:18},networkId:86663,redFlags:[],rpc:["https://86663.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7218 Testnet",slug:"qauser7218-testnet",testnet:!0},ECt={chain:"Avalanche",chainId:87389,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1804",nativeCurrency:{name:"QaUser1804 Token",symbol:"UOA",decimals:18},networkId:87389,redFlags:[],rpc:["https://87389.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1804",slug:"qauser1804",testnet:!0},_Ct={chain:"Avalanche",chainId:87460,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1360 Testnet",nativeCurrency:{name:"QaUser1360 Testnet Token",symbol:"KYP",decimals:18},networkId:87460,redFlags:[],rpc:["https://87460.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1360 Testnet",slug:"qauser1360-testnet",testnet:!0},ACt={chain:"Avalanche",chainId:87815,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402056",nativeCurrency:{name:"QI M 2402056 Token",symbol:"ACI",decimals:18},networkId:87815,redFlags:[],rpc:["https://87815.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402056",slug:"qi-m-2402056",testnet:!0},CCt={chain:"ETH",chainId:88002,explorers:[{name:"Nautscan",url:"https://proteus.nautscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"}}],faucets:["https://proteusfaucet.nautchain.xyz"],icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"},infoURL:"https://docs.nautchain.xyz",name:"Nautilus Proteus Testnet",nativeCurrency:{name:"Zebec Test Token",symbol:"tZBC",decimals:18},networkId:88002,rpc:["https://88002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.proteus.nautchain.xyz/solana"],shortName:"NAUTTest",slip44:1,slug:"nautilus-proteus-testnet",testnet:!0},ICt={chain:"Avalanche",chainId:88018,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402131",nativeCurrency:{name:"QI M 2402131 Token",symbol:"CYB",decimals:18},networkId:88018,redFlags:[],rpc:["https://88018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402131",slug:"qi-m-2402131",testnet:!0},kCt={chain:"INOAI",chainId:88559,explorers:[{name:"inoai live",url:"https://inoai.live",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdP8zAZEwUbf3pt8t9Ykho866ni5AMgutvkn3cBsV8gKG",width:500,height:500,format:"png"},infoURL:"https://inoai.info",name:"Inoai Network",nativeCurrency:{name:"Inoai",symbol:"INO",decimals:18},networkId:88559,rpc:["https://88559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://inoai-network.com"],shortName:"INOAI",slug:"inoai-network",testnet:!1},SCt={chain:"Avalanche",chainId:88795,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8230 Testnet",nativeCurrency:{name:"QaUser8230 Testnet Token",symbol:"GRB",decimals:18},networkId:88795,redFlags:[],rpc:["https://88795.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8230 Testnet",slug:"qauser8230-testnet",testnet:!0},RCt={chain:"Unit Zero",chainId:88817,explorers:[{name:"explorer-testnet",url:"https://explorer-testnet.unit0.dev",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://units.network",name:"Unit Zero Testnet",nativeCurrency:{name:"UNIT0",symbol:"UNIT0",decimals:18},networkId:88817,rpc:["https://88817.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.unit0.dev"],shortName:"unit0-testnet",slug:"unit-zero-testnet",testnet:!0},MCt={chain:"Unit Zero",chainId:88819,explorers:[{name:"explorer-stagenet",url:"https://explorer-stagenet.unit0.dev",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://units.network",name:"Unit Zero Stagenet",nativeCurrency:{name:"UNIT0",symbol:"UNIT0",decimals:18},networkId:88819,rpc:["https://88819.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-stagenet.unit0.dev"],shortName:"unit0-stagenet",slug:"unit-zero-stagenet",testnet:!1},BCt={chain:"CHZ",chainId:88880,explorers:[{name:"scoville-explorer",url:"https://scoville-explorer.chiliz.com",standard:"none"}],faucets:["https://scoville-faucet.chiliz.com"],icon:{url:"ipfs://QmYV5xUVZhHRzLy7ie9D8qZeygJHvNZZAxwnB9GXYy6EED",width:400,height:400,format:"png"},infoURL:"https://www.chiliz.com/en/chain",name:"Chiliz Scoville Testnet",nativeCurrency:{name:"Chiliz",symbol:"CHZ",decimals:18},networkId:88880,rpc:["https://88880.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://scoville-rpc.chiliz.com"],shortName:"chz",slip44:1,slug:"chiliz-scoville-testnet",status:"deprecated",testnet:!0},DCt={chain:"Spicy",chainId:88882,explorers:[{name:"spicy-explorer",url:"https://testnet.chiliscan.com",standard:"EIP3091"},{name:"Spicy Explorer",url:"http://spicy-explorer.chiliz.com/",standard:"none"}],faucets:["https://spicy-faucet.chiliz.com","https://tatum.io/faucets/chiliz","https://spicy-faucet.chiliz.com/"],features:[],icon:{url:"ipfs://QmTGYofJ8VLkeNY4J69AvXi8e126kmbHmf34wLFoJ1FKAK",width:400,height:400,format:"png"},infoURL:"https://chiliz.com/",name:"Spicy Chain",nativeCurrency:{name:"Chiliz",symbol:"CHZ",decimals:18},networkId:88882,redFlags:[],rpc:["https://88882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://spicy-rpc.chiliz.com/","https://spicy-rpc.chiliz.com"],shortName:"Spicy",slip44:1,slug:"spicy-chain",testnet:!0},PCt={chain:"Avalanche",chainId:88883,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Proj Orc Testnet Alpha",nativeCurrency:{name:"Proj Orc Testnet Alpha Token",symbol:"STX",decimals:18},networkId:88883,redFlags:[],rpc:["https://88883.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/projorctes/testnet/rpc"],shortName:"Proj Orc Testnet Alpha",slug:"proj-orc-testnet-alpha",testnet:!0},LCt={chain:"CC2",chainId:88888,explorers:[{name:"cc2scan",url:"https://scan.chiliz.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmTGYofJ8VLkeNY4J69AvXi8e126kmbHmf34wLFoJ1FKAK",width:400,height:400,format:"png"},infoURL:"https://chiliz.com/chiliz-chain-2-0/",name:"Chiliz Chain",nativeCurrency:{name:"Chiliz",symbol:"CHZ",decimals:18},networkId:88888,redFlags:["reusedChainId"],rpc:["https://88888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ankr.com/chiliz","https://rpc.chiliz.com"],shortName:"cc2",slug:"chiliz-chain",testnet:!1},FCt={chain:"Avalanche",chainId:88945,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"SwapTest",nativeCurrency:{name:"SwapTest Token",symbol:"ZQG",decimals:18},networkId:88945,redFlags:[],rpc:["https://88945.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/swaptest/testnet/rpc"],shortName:"SwapTest",slug:"swaptest",testnet:!0},NCt={chain:"Avalanche",chainId:89283,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIS0326 Testnet",nativeCurrency:{name:"QIS0326 Testnet Token",symbol:"AKK",decimals:18},networkId:89283,redFlags:[],rpc:["https://89283.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIS0326 Testnet",slug:"qis0326-testnet",testnet:!0},OCt={chain:"Avalanche",chainId:89327,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304I3 Testnet",nativeCurrency:{name:"QI0304I3 Testnet Token",symbol:"ZIK",decimals:18},networkId:89327,redFlags:[],rpc:["https://89327.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304I3 Testnet",slug:"qi0304i3-testnet",testnet:!0},UCt={chain:"Fxcore",chainId:90001,explorers:[],faucets:[],icon:{url:"ipfs://QmauD5hzc5q1VgEU1nT4AGLCeV79CB8GgfnXXeeLmBZVHf",width:36,height:36,format:"png"},infoURL:"https://functionx.io/",name:"F(x)Core Testnet Network",nativeCurrency:{name:"Function X",symbol:"FX",decimals:18},networkId:90001,rpc:["https://90001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-fx-json-web3.functionx.io:8545"],shortName:"dhobyghaut",slug:"f-x-core-testnet-network",testnet:!0},HCt={chain:"ETH",chainId:90210,explorers:[{name:"Beverly Hills explorer",url:"https://explorer.beverlyhills.ethdevops.io",standard:"none"}],faucets:["https://faucet.beverlyhills.ethdevops.io"],infoURL:"https://beverlyhills.ethdevops.io",name:"Beverly Hills",nativeCurrency:{name:"Beverly Hills Testnet Ether",symbol:"BVE",decimals:18},networkId:90210,rpc:["https://90210.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.beverlyhills.ethdevops.io:8545"],shortName:"bvhl",slug:"beverly-hills",status:"incubating",testnet:!0,title:"Ethereum multi-client Verkle Testnet Beverly Hills"},zCt={chain:"ETH",chainId:90354,explorers:[{name:"Block Explorer",url:"https://explorerl2new-camp-network-4xje7wy105.t.conduit.xyz",standard:"EIP3091",icon:{url:"ipfs://Qmd5ux27W44fjxHP2opz7eLhJ6CJJm9WR6VcKNhbQBxiSd/QOyzwbO2_400x400.jpg",width:400,height:400,format:"jpg"}}],faucets:["https://www.campnetwork.xyz/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmd5ux27W44fjxHP2opz7eLhJ6CJJm9WR6VcKNhbQBxiSd/QOyzwbO2_400x400.jpg",width:400,height:400,format:"jpg"},infoURL:"https://campaign-1.gitbook.io/camp-technical-docs\xE5",name:"Camp Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:90354,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://camp-testnet-bridge.vercel.app/"}]},redFlags:[],rpc:["https://90354.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-camp-network-4xje7wy105.t.conduit.xyz/","https://rpc-camp-network-4xje7wy105.t.conduit.xyz"],shortName:"campaign-l2",slip44:1,slug:"camp-network",testnet:!1},WCt={chain:"Avalanche",chainId:90663,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0416s1 Testnet",nativeCurrency:{name:"QI0416s1 Testnet Token",symbol:"ZKE",decimals:18},networkId:90663,redFlags:[],rpc:["https://90663.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0416s1 Testnet",slug:"qi0416s1-testnet",testnet:!0},qCt={chain:"Avalanche",chainId:90871,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0426s1 Testnet",nativeCurrency:{name:"QI0426s1 Testnet Token",symbol:"WDC",decimals:18},networkId:90871,redFlags:[],rpc:["https://90871.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0426s1 Testnet",slug:"qi0426s1-testnet",testnet:!0},jCt={chain:"ETH",chainId:91002,explorers:[{name:"Nautscan",url:"https://triton.nautscan.com",standard:"EIP3091"}],faucets:["https://faucet.eclipse.builders"],icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"},infoURL:"https://docs.nautchain.xyz",name:"Nautilus Trition Chain",nativeCurrency:{name:"Nautilus Zebec Testnet Tokens",symbol:"tZBC",decimals:18},networkId:91002,rpc:["https://91002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://triton.api.nautchain.xyz"],shortName:"NAUT",slug:"nautilus-trition-chain",testnet:!0,title:"Nautilus Trition Testnet"},GCt={chain:"WRLDS",chainId:91003,explorers:[],faucets:["https://faucet.evm.worlds.dev.eclipsenetwork.xyz/request_neon"],features:[],name:"Worlds Appchain",nativeCurrency:{name:"WRLDS",symbol:"WRLDS",decimals:18},networkId:91003,redFlags:[],rpc:["https://91003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.evm.worlds.dev.eclipsenetwork.xyz/"],shortName:"WRLDS",slug:"worlds-appchain",testnet:!0},KCt={chain:"Avalanche",chainId:91041,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0318I1 Testnet",nativeCurrency:{name:"QI0318I1 Testnet Token",symbol:"DVN",decimals:18},networkId:91041,redFlags:[],rpc:["https://91041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0318I1 Testnet",slug:"qi0318i1-testnet-qi0318i1 testnet",testnet:!0},QCt={chain:"MetaDAP",chainId:91120,explorers:[{name:"MetaDAP Enterprise Mainnet explorer",url:"https://explorer.chain.metadap.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmcCFUTStKKJKfzTwrjfMFoVaPCMsvAvWXRdDkYMvCkEs3",width:800,height:800,format:"svg"},infoURL:"https://metadap.io/",name:"MetaDAP Enterprise Mainnet",nativeCurrency:{name:"DAP",symbol:"DAP",decimals:18},networkId:91120,rpc:["https://91120.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chain.metadap.io","wss://rpc-ws.chain.metadap.io"],shortName:"MetaDAP",slug:"metadap-enterprise",testnet:!1,title:"MetaDAP Enterprise Mainnet"},VCt={chain:"Avalanche",chainId:91132,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"New Will's Testnet",nativeCurrency:{name:"New Will's Testnet Token",symbol:"MBM",decimals:18},networkId:91132,redFlags:[],rpc:["https://91132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"New Will's Testnet",slug:"new-will-s-testnet",testnet:!0},YCt={chain:"Avalanche",chainId:91399,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0506s1",nativeCurrency:{name:"QI0506s1 Token",symbol:"NGH",decimals:18},networkId:91399,redFlags:[],rpc:["https://91399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0506s1",slug:"qi0506s1",testnet:!0},$Ct={chain:"Avalanche",chainId:91513,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon Universe",nativeCurrency:{name:"Jambon Universe Token",symbol:"NIX",decimals:18},networkId:91513,redFlags:[],rpc:["https://91513.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jambonuvrs/testnet/rpc"],shortName:"Jambon Universe",slug:"jambon-universe",testnet:!0},JCt={chain:"Avalanche",chainId:91558,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Shelby's Testnet 1-18",nativeCurrency:{name:"Shelby's Testnet 1-18 Token",symbol:"LIE",decimals:18},networkId:91558,redFlags:[],rpc:["https://91558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Shelby's Testnet 1-18",slug:"shelby-s-testnet-1-18",testnet:!0},XCt={chain:"Combo",chainId:91715,explorers:[{name:"combotrace explorer",url:"https://combotrace-testnet.nodereal.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRR4v6h6z21BpgS9xY3ExLB4Gkmm3i3dJWQx27oTGifq8",width:800,height:693,format:"png"},infoURL:"https://combonetwork.io",name:"Combo Testnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"tcBNB",decimals:18},networkId:91715,rpc:["https://91715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc.combonetwork.io"],shortName:"combo-testnet",slug:"combo-testnet",testnet:!0},ZCt={chain:"Avalanche",chainId:91735,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1228I2",nativeCurrency:{name:"QI1228I2 Token",symbol:"ZMY",decimals:18},networkId:91735,redFlags:[],rpc:["https://91735.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f51649a9-3420-4636-bb44-206f63998951"],shortName:"QI1228I2",slug:"qi1228i2",testnet:!0},eIt={chain:"Avalanche",chainId:91924,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0506I1",nativeCurrency:{name:"QI0506I1 Token",symbol:"KQA",decimals:18},networkId:91924,redFlags:[],rpc:["https://91924.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0506I1",slug:"qi0506i1",testnet:!0},tIt={chain:"Lambda",chainId:92001,explorers:[{name:"Lambda EVM Explorer",url:"https://explorer.lambda.top",standard:"EIP3091",icon:{url:"ipfs://QmWsoME6LCghQTpGYf7EnUojaDdYo7kfkWVjE6VvNtkjwy",width:500,height:500,format:"png"}}],faucets:["https://faucet.lambda.top"],icon:{url:"ipfs://QmWsoME6LCghQTpGYf7EnUojaDdYo7kfkWVjE6VvNtkjwy",width:500,height:500,format:"png"},infoURL:"https://lambda.im",name:"Lambda Testnet",nativeCurrency:{name:"test-Lamb",symbol:"LAMB",decimals:18},networkId:92001,rpc:["https://92001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.lambda.top/"],shortName:"lambda-testnet",slip44:1,slug:"lambda-testnet",testnet:!0},nIt={chain:"Avalanche",chainId:92185,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0506I2",nativeCurrency:{name:"QI0506I2 Token",symbol:"EXW",decimals:18},networkId:92185,redFlags:[],rpc:["https://92185.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0506I2",slug:"qi0506i2",testnet:!0},aIt={chain:"Avalanche",chainId:92314,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM 2405081",nativeCurrency:{name:"QIM 2405081 Token",symbol:"WCC",decimals:18},networkId:92314,redFlags:[],rpc:["https://92314.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f069738d-9c43-497b-96c1-9dda60d647e2"],shortName:"QIM 2405081",slug:"qim-2405081",testnet:!0},rIt={chain:"Avalanche",chainId:92496,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"OWO",decimals:18},networkId:92496,redFlags:[],rpc:["https://92496.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testnet/testnet/rpc"],shortName:"Testnet",slug:"testnet-testnet-92496",testnet:!0},fIt={chain:"Avalanche",chainId:92780,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402053",nativeCurrency:{name:"QI M 2402053 Token",symbol:"ACI",decimals:18},networkId:92780,redFlags:[],rpc:["https://92780.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402053",slug:"qi-m-2402053",testnet:!0},iIt={chain:"Avalanche",chainId:92847,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4251",nativeCurrency:{name:"QaUser4251 Token",symbol:"ERU",decimals:18},networkId:92847,redFlags:[],rpc:["https://92847.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4251",slug:"qauser4251",testnet:!0},sIt={chain:"Avalanche",chainId:92850,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I3",nativeCurrency:{name:"QI1212I3 Token",symbol:"HSCX",decimals:18},networkId:92850,redFlags:[],rpc:["https://92850.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1212I3",slug:"qi1212i3",testnet:!0},oIt={chain:"Avalanche",chainId:92978,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4903 Testnet",nativeCurrency:{name:"QaUser4903 Testnet Token",symbol:"CQS",decimals:18},networkId:92978,redFlags:[],rpc:["https://92978.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4903 Testnet",slug:"qauser4903-testnet",testnet:!0},cIt={chain:"Avalanche",chainId:93017,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIS0313 Testnet",nativeCurrency:{name:"QIS0313 Testnet Token",symbol:"NCG",decimals:18},networkId:93017,redFlags:[],rpc:["https://93017.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIS0313 Testnet",slug:"qis0313-testnet",testnet:!0},dIt={chain:"LILA",chainId:93572,explorers:[{name:"LiquidLayer Testnet Explorer",url:"https://testnet-scan.liquidlayer.network",standard:"EIP3091"}],faucets:["https://claim.liquidlayer.network"],icon:{url:"ipfs://bafkreiayuuzfpcgwjll4us4hquvpqa5gwq3lbiedv4qftmlwcxhcyjzzpq",width:500,height:500,format:"png"},infoURL:"https://testnet-scan.liquidlayer.network",name:"LiquidLayer Testnet",nativeCurrency:{name:"LiquidLayer Testnet",symbol:"LILA",decimals:18},networkId:93572,rpc:["https://93572.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.liquidlayer.network"],shortName:"tLILA",slug:"liquidlayer-testnet",testnet:!0},lIt={chain:"Avalanche",chainId:93625,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0222I2",nativeCurrency:{name:"QI0222I2 Token",symbol:"INK",decimals:18},networkId:93625,redFlags:[],rpc:["https://93625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0222I2",slug:"qi0222i2",testnet:!0},uIt={chain:"Avalanche",chainId:93694,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401291",nativeCurrency:{name:"QI M 2401291 Token",symbol:"HZU",decimals:18},networkId:93694,redFlags:[],rpc:["https://93694.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401291",slug:"qi-m-2401291",testnet:!0},pIt={chain:"Avalanche",chainId:93797,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8328",nativeCurrency:{name:"QaUser8328 Token",symbol:"CPY",decimals:18},networkId:93797,redFlags:[],rpc:["https://93797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8328",slug:"qauser8328",testnet:!0},hIt={chain:"Avalanche",chainId:94006,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3298",nativeCurrency:{name:"QaUser3298 Token",symbol:"TPM",decimals:18},networkId:94006,redFlags:[],rpc:["https://94006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3298",slug:"qauser3298",testnet:!0},bIt={chain:"Avalanche",chainId:94158,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FST 12-22 V1",nativeCurrency:{name:"FST 12-22 V1 Token",symbol:"EJJ",decimals:18},networkId:94158,redFlags:[],rpc:["https://94158.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"FST 12-22 V1",slug:"fst-12-22-v1",testnet:!0},mIt={chain:"Avalanche",chainId:94171,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1828",nativeCurrency:{name:"QaUser1828 Token",symbol:"GGY",decimals:18},networkId:94171,redFlags:[],rpc:["https://94171.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1828",slug:"qauser1828",testnet:!0},yIt={chain:"Avalanche",chainId:94565,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"T 0117",nativeCurrency:{name:"T 0117 Token",symbol:"RUI",decimals:18},networkId:94565,redFlags:[],rpc:["https://94565.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"T 0117",slug:"t-0117",testnet:!0},gIt={chain:"Avalanche",chainId:94918,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Sample Testnet",nativeCurrency:{name:"Sample Testnet Token",symbol:"INS",decimals:18},networkId:94918,redFlags:[],rpc:["https://94918.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/sampletest/testnet/rpc"],shortName:"Sample Testnet",slug:"sample-testnet",testnet:!0},vIt={chain:"Avalanche",chainId:95063,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0263",nativeCurrency:{name:"QaUser0263 Token",symbol:"BDU",decimals:18},networkId:95063,redFlags:[],rpc:["https://95063.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0263",slug:"qauser0263",testnet:!0},wIt={chain:"Avalanche",chainId:95395,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"MFD",decimals:18},networkId:95395,redFlags:[],rpc:["https://95395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-95395",testnet:!0},TIt={chain:"Avalanche",chainId:95446,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s1t",nativeCurrency:{name:"QI0521s1t Token",symbol:"YFT",decimals:18},networkId:95446,redFlags:[],rpc:["https://95446.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s1t",slug:"qi0521s1t",testnet:!0},xIt={chain:"Avalanche",chainId:95468,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0528T1TS",nativeCurrency:{name:"QR0528T1TS Token",symbol:"TLK",decimals:18},networkId:95468,redFlags:[],rpc:["https://95468.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0528t1ts/testnet/rpc"],shortName:"QR0528T1TS",slug:"qr0528t1ts",testnet:!0},EIt={chain:"Avalanche",chainId:95549,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Borne Testnet Testnet",nativeCurrency:{name:"Borne Testnet Testnet Token",symbol:"BORNE",decimals:18},networkId:95549,redFlags:[],rpc:["https://95549.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/borne/testnet/rpc"],shortName:"Borne Testnet Testnet",slug:"borne-testnet-testnet",testnet:!0},_It={chain:"Avalanche",chainId:95598,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523I1",nativeCurrency:{name:"QI0523I1 Token",symbol:"TQQ",decimals:18},networkId:95598,redFlags:[],rpc:["https://95598.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523I1",slug:"qi0523i1",testnet:!0},AIt={chain:"Avalanche",chainId:96040,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FIZIT",nativeCurrency:{name:"FIZIT Token",symbol:"FIZIT",decimals:18},networkId:96040,redFlags:[],rpc:["https://96040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/fizit/testnet/rpc"],shortName:"FIZIT",slug:"fizit",testnet:!0},CIt={chain:"Avalanche",chainId:96081,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2213 Testnet",nativeCurrency:{name:"QaUser2213 Testnet Token",symbol:"QLV",decimals:18},networkId:96081,redFlags:[],rpc:["https://96081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2213 Testnet",slug:"qauser2213-testnet",testnet:!0},IIt={chain:"Avalanche",chainId:96105,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5410",nativeCurrency:{name:"QaUser5410 Token",symbol:"JIV",decimals:18},networkId:96105,redFlags:[],rpc:["https://96105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5410",slug:"qauser5410",testnet:!0},kIt={chain:"Avalanche",chainId:96552,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI032924 Testnet",nativeCurrency:{name:"QI032924 Testnet Token",symbol:"KJA",decimals:18},networkId:96552,redFlags:[],rpc:["https://96552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI032924 Testnet",slug:"qi032924-testnet",testnet:!0},SIt={chain:"Avalanche",chainId:96809,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2368 Testnet",nativeCurrency:{name:"QaUser2368 Testnet Token",symbol:"ZKJ",decimals:18},networkId:96809,redFlags:[],rpc:["https://96809.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2368 Testnet",slug:"qauser2368-testnet",testnet:!0},RIt={chain:"Mantis",chainId:96970,explorers:[{name:"Mantis Blockscout",url:"https://blockscout.mantis.hexapod.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://mantis.switch.ch/faucet","https://mantis.kore-technologies.ch/faucet","https://mantis.phoenix-systems.io/faucet","https://mantis.block-spirit.ch/faucet"],icon:{url:"ipfs://Qma8dDhxSSVUyzV8Pu5bo252WaZEEikYFndRh7LVktvQEy",width:512,height:330,format:"png"},infoURL:"https://hexapod.network",name:"Mantis Testnet (Hexapod)",nativeCurrency:{name:"Mantis",symbol:"MANTIS",decimals:18},networkId:96970,rpc:["https://96970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mantis-rpc.switch.ch","https://mantis-rpc.kore-technologies.ch","https://mantis-rpc.phoenix-systems.io"],shortName:"mantis",slip44:1,slug:"mantis-testnet-hexapod",testnet:!0},MIt={chain:"Boba BNB Mainnet",chainId:97288,explorers:[{name:"Boba BNB block explorer",url:"https://blockexplorer.bnb.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba BNB Mainnet Old",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:97288,rpc:[],shortName:"BobaBnbOld",slug:"boba-bnb-old",status:"deprecated",testnet:!1},BIt={chain:"Avalanche",chainId:97370,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8236",nativeCurrency:{name:"QaUser8236 Token",symbol:"BPZ",decimals:18},networkId:97370,redFlags:[],rpc:["https://97370.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8236",slug:"qauser8236",testnet:!0},DIt={chain:"Green Chain",chainId:97531,explorers:[{name:"Green Chain Explorer",url:"https://explorer.greenchain.app",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNWBcc2AtknphNxt4GtTxbWF6vDkf6sh2nvkPn9wqchW6",width:519,height:518,format:"png"},infoURL:"https://www.greenchain.app",name:"Green Chain Testnet",nativeCurrency:{name:"GREEN",symbol:"GREEN",decimals:18},networkId:97531,rpc:["https://97531.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.greenchain.app/rpc/"],shortName:"greenchain",slug:"green-chain-testnet",testnet:!0},PIt={chain:"Avalanche",chainId:97590,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0527T1TD",nativeCurrency:{name:"QI0527T1TD Token",symbol:"WYI",decimals:18},networkId:97590,redFlags:[],rpc:["https://97590.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0527T1TD",slug:"qi0527t1td",testnet:!0},LIt={chain:"Avalanche",chainId:97622,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0130I1",nativeCurrency:{name:"QI0130I1 Token",symbol:"NZY",decimals:18},networkId:97622,redFlags:[],rpc:["https://97622.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0130I1",slug:"qi0130i1",testnet:!0},FIt={chain:"Avalanche",chainId:98273,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0520I1",nativeCurrency:{name:"QI0520I1 Token",symbol:"YZG",decimals:18},networkId:98273,redFlags:[],rpc:["https://98273.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0520I1",slug:"qi0520i1",testnet:!0},NIt={chain:"Avalanche",chainId:98540,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I5",nativeCurrency:{name:"QI1212I5 Token",symbol:"HSCX",decimals:18},networkId:98540,redFlags:[],rpc:["https://98540.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/ba4e7766-4bc6-44ec-b43f-598647b4ee71"],shortName:"QI1212I5",slug:"qi1212i5",testnet:!0},OIt={chain:"Avalanche",chainId:98557,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0201I1",nativeCurrency:{name:"QR0201I1 Token",symbol:"OCZ",decimals:18},networkId:98557,redFlags:[],rpc:["https://98557.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0201i1/testnet/rpc"],shortName:"QR0201I1",slug:"qr0201i1",testnet:!0},UIt={chain:"Avalanche",chainId:98857,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Thetan Testnet",nativeCurrency:{name:"Thetan Testnet Token",symbol:"THG",decimals:18},networkId:98857,redFlags:[],rpc:["https://98857.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/thetantest/testnet/rpc"],shortName:"Thetan Testnet",slug:"thetan-testnet",testnet:!0},HIt={chain:"Ebi",chainId:98881,explorers:[],faucets:[],infoURL:"https://ebi.xyz",name:"Ebi Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:98881,rpc:["https://98881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ebi.xyz"],shortName:"ebi",slug:"ebi-chain",status:"incubating",testnet:!1,title:"Ebi Chain"},zIt={chain:"$EL",chainId:99099,explorers:[{name:"eLiberty Testnet",url:"https://testnet.eliberty.ngo",standard:"EIP3091"}],faucets:["https://faucet.eliberty.ngo"],icon:{url:"ipfs://Qmcr8US1DZcK3ooiMtE8tEQPgep12abXzxPw1jCkgZhji9",width:150,height:150,format:"png"},infoURL:"https://eliberty.ngo",name:"eLiberty Testnet",nativeCurrency:{name:"eLiberty",symbol:"$EL",decimals:18},networkId:99099,rpc:["https://99099.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.eliberty.ngo"],shortName:"ELt",slip44:1,slug:"eliberty-testnet",testnet:!0},WIt={chain:"Avalanche",chainId:99132,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0222I1",nativeCurrency:{name:"QI0222I1 Token",symbol:"ZKUx",decimals:18},networkId:99132,redFlags:[],rpc:["https://99132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0222I1",slug:"qi0222i1",testnet:!0},qIt={chain:"Avalanche",chainId:99181,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9727 Testnet",nativeCurrency:{name:"QaUser9727 Testnet Token",symbol:"PCE",decimals:18},networkId:99181,redFlags:[],rpc:["https://99181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9727 Testnet",slug:"qauser9727-testnet",testnet:!0},jIt={chain:"Avalanche",chainId:99308,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Borne Gaming Testnet",nativeCurrency:{name:"Borne Gaming Testnet Token",symbol:"BORNE",decimals:18},networkId:99308,redFlags:[],rpc:["https://99308.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/bornegamin/testnet/rpc"],shortName:"Borne Gaming Testnet",slug:"borne-gaming-testnet",testnet:!0},GIt={chain:"Avalanche",chainId:99733,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6779 Testnet",nativeCurrency:{name:"QaUser6779 Testnet Token",symbol:"WAG",decimals:18},networkId:99733,redFlags:[],rpc:["https://99733.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6779 Testnet",slug:"qauser6779-testnet",testnet:!0},KIt={chain:"Avalanche",chainId:99947,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402141",nativeCurrency:{name:"QI M 2402141 Token",symbol:"CYB",decimals:18},networkId:99947,redFlags:[],rpc:["https://99947.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402141",slug:"qi-m-2402141",testnet:!0},QIt={chain:"USC",chainId:99998,explorers:[],faucets:[],infoURL:"https://www.ubchain.site",name:"UB Smart Chain(testnet)",nativeCurrency:{name:"UBC",symbol:"UBC",decimals:18},networkId:99998,rpc:["https://99998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.uschain.network"],shortName:"usctest",slip44:1,slug:"ub-smart-chain-testnet",testnet:!0},VIt={chain:"USC",chainId:99999,explorers:[],faucets:[],infoURL:"https://www.ubchain.site/",name:"UB Smart Chain",nativeCurrency:{name:"UBC",symbol:"UBC",decimals:18},networkId:99999,rpc:["https://99999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.uschain.network"],shortName:"usc",slug:"ub-smart-chain",testnet:!1},YIt={chain:"QuarkChain",chainId:1e5,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Root",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:1e5,rpc:["https://100000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://jrpc.mainnet.quarkchain.io:38391"],shortName:"qkc-r",slug:"quarkchain-root",testnet:!1},$It={chain:"QuarkChain",chainId:100001,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/0",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 0",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100001,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s0-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39000"],shortName:"qkc-s0",slug:"quarkchain-shard-0",testnet:!1},JIt={chain:"QuarkChain",chainId:100002,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/1",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 1",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100002,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s1-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39001"],shortName:"qkc-s1",slug:"quarkchain-shard-1",testnet:!1},XIt={chain:"QuarkChain",chainId:100003,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/2",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 2",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100003,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s2-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39002"],shortName:"qkc-s2",slug:"quarkchain-shard-2",testnet:!1},ZIt={chain:"QuarkChain",chainId:100004,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/3",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 3",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100004,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s3-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39003"],shortName:"qkc-s3",slug:"quarkchain-shard-3",testnet:!1},ekt={chain:"QuarkChain",chainId:100005,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/4",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 4",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100005,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s4-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39004"],shortName:"qkc-s4",slug:"quarkchain-shard-4",testnet:!1},tkt={chain:"QuarkChain",chainId:100006,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/5",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 5",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100006,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s5-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39005"],shortName:"qkc-s5",slug:"quarkchain-shard-5",testnet:!1},nkt={chain:"QuarkChain",chainId:100007,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/6",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 6",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100007,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s6-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39006"],shortName:"qkc-s6",slug:"quarkchain-shard-6",testnet:!1},akt={chain:"QuarkChain",chainId:100008,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/7",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 7",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100008,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s7-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39007"],shortName:"qkc-s7",slug:"quarkchain-shard-7",testnet:!1},rkt={chain:"VeChain",chainId:100009,explorers:[{name:"VeChain Stats",url:"https://vechainstats.com",standard:"none"},{name:"VeChain Explorer",url:"https://explore.vechain.org",standard:"none"}],faucets:[],infoURL:"https://vechain.org",name:"VeChain",nativeCurrency:{name:"VeChain",symbol:"VET",decimals:18},networkId:100009,rpc:[],shortName:"vechain",slug:"vechain",testnet:!1},fkt={chain:"VeChain",chainId:100010,explorers:[{name:"VeChain Explorer",url:"https://explore-testnet.vechain.org",standard:"none"}],faucets:["https://faucet.vecha.in"],infoURL:"https://vechain.org",name:"VeChain Testnet",nativeCurrency:{name:"VeChain",symbol:"VET",decimals:18},networkId:100010,rpc:[],shortName:"vechain-testnet",slip44:1,slug:"vechain-testnet",testnet:!0},ikt={chain:"CHI1",chainId:100100,explorers:[],faucets:[],icon:{url:"ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm",width:1800,height:1800,format:"png"},infoURL:"https://docs.gnosischain.com",name:"Deprecated CHI",nativeCurrency:{name:"Chiado xDAI",symbol:"xDAI",decimals:18},networkId:100100,rpc:[],shortName:"chi1",slug:"deprecated-chi",status:"deprecated",testnet:!1},skt={chain:"GTN",chainId:101010,explorers:[{name:"blockscout",url:"https://stability.blockscout.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreid3wd6ouu53r677q2z24a4eq5un5tlwbc4izfapcvvtrlhkmz43au",width:133,height:144,format:"png"},infoURL:"https://stabilityprotocol.com",name:"Global Trust Network",nativeCurrency:{name:"FREE",symbol:"FREE",decimals:18},networkId:101010,redFlags:["reusedChainId"],rpc:["https://101010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gtn.stabilityprotocol.com"],shortName:"stabilityprotocol",slug:"global-trust-network",testnet:!1},okt={chain:"CTC",chainId:102031,explorers:[{name:"blockscout",url:"https://creditcoin-testnet.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTfecECALDCy51zwVbXBSXb6TokqowCYzVLv65etahLxX",width:1024,height:1024,format:"png"},infoURL:"https://creditcoin.org",name:"Creditcoin Testnet",nativeCurrency:{name:"Testnet CTC",symbol:"tCTC",decimals:18},networkId:102031,rpc:["https://102031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cc3-testnet.creditcoin.network"],shortName:"ctctest",slug:"creditcoin-testnet",testnet:!0},ckt={chain:"crystal",chainId:103090,explorers:[{name:"blockscout",url:"https://scan.crystaleum.org",standard:"EIP3091",icon:{url:"ipfs://Qmbry1Uc6HnXmqFNXW5dFJ7To8EezCCjNr4TqqvAyzXS4h",width:150,height:150,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmbry1Uc6HnXmqFNXW5dFJ7To8EezCCjNr4TqqvAyzXS4h",width:150,height:150,format:"png"},infoURL:"https://crystaleum.org",name:"Crystaleum",nativeCurrency:{name:"CRFI",symbol:"\u25C8",decimals:18},networkId:1,rpc:["https://103090.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.cryptocurrencydevs.org","https://rpc.crystaleum.org"],shortName:"CRFI",slug:"crystaleum",testnet:!1},dkt={chain:"Avalanche",chainId:103454,explorers:[{name:"Masa Testnet Explorer",url:"https://subnets-test.avax.network/masatestnet",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Masa Testnet",nativeCurrency:{name:"Masa Testnet Token",symbol:"tMASA",decimals:18},networkId:103454,redFlags:[],rpc:["https://103454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/masatestne/testnet/rpc"],shortName:"Masa Testnet",slug:"masa-testnet",testnet:!0},lkt={chain:"KaspaClassic",chainId:104566,explorers:[{name:"KaspaClassic Explorer",url:"https://explorer.kaspaclassic.world",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNMuNBwg9opKvsnrDaoYBP743LeddeooQupVYjpBXf7d7",width:400,height:400,format:"png"},infoURL:"https://kaspaclassic.com/",name:"KaspaClassic Mainnet",nativeCurrency:{name:"KaspaClassic",symbol:"CAS",decimals:18},networkId:104566,rpc:["https://104566.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.kaspaclassic.world/","http://80.178.101.118:8000/"],shortName:"cas",slug:"kaspaclassic",testnet:!1},ukt={chain:"Stratis",chainId:105105,explorers:[{name:"Stratis Explorer",url:"https://explorer.stratisevm.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWiRBqfzoZ3GC7oCbYFqbwLyF4uDHM4eYdKUUJ7LHf2EA",width:59,height:55,format:"svg"},infoURL:"https://www.stratisplatform.com",name:"Stratis Mainnet",nativeCurrency:{name:"Stratis",symbol:"STRAX",decimals:18},networkId:105105,rpc:["https://105105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.stratisevm.com"],shortName:"stratis",slug:"stratis",testnet:!1},pkt={chain:"BRO",chainId:108801,explorers:[{name:"BROChain Explorer",url:"https://explorer.brochain.org",standard:"EIP3091"}],faucets:[],infoURL:"https://brochain.org",name:"BROChain Mainnet",nativeCurrency:{name:"Brother",symbol:"BRO",decimals:18},networkId:108801,rpc:["https://108801.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.brochain.org","http://rpc.brochain.org","https://rpc.brochain.org/mainnet","http://rpc.brochain.org/mainnet"],shortName:"bro",slug:"brochain",testnet:!1},hkt={chain:"QuarkChain",chainId:11e4,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Root",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:11e4,rpc:["https://110000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://jrpc.devnet.quarkchain.io:38391"],shortName:"qkc-d-r",slug:"quarkchain-devnet-root",testnet:!1},bkt={chain:"QuarkChain",chainId:110001,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/0",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 0",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110001,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s0-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39900"],shortName:"qkc-d-s0",slug:"quarkchain-devnet-shard-0",testnet:!1},mkt={chain:"QuarkChain",chainId:110002,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/1",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 1",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110002,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s1-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39901"],shortName:"qkc-d-s1",slug:"quarkchain-devnet-shard-1",testnet:!1},ykt={chain:"QuarkChain",chainId:110003,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/2",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 2",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110003,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s2-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39902"],shortName:"qkc-d-s2",slug:"quarkchain-devnet-shard-2",testnet:!1},gkt={chain:"QuarkChain",chainId:110004,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/3",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 3",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110004,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s3-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39903"],shortName:"qkc-d-s3",slug:"quarkchain-devnet-shard-3",testnet:!1},vkt={chain:"QuarkChain",chainId:110005,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/4",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 4",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110005,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s4-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39904"],shortName:"qkc-d-s4",slug:"quarkchain-devnet-shard-4",testnet:!1},wkt={chain:"QuarkChain",chainId:110006,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/5",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 5",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110006,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s5-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39905"],shortName:"qkc-d-s5",slug:"quarkchain-devnet-shard-5",testnet:!1},Tkt={chain:"QuarkChain",chainId:110007,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/6",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 6",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110007,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s6-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39906"],shortName:"qkc-d-s6",slug:"quarkchain-devnet-shard-6",testnet:!1},xkt={chain:"QuarkChain",chainId:110008,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/7",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 7",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110008,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s7-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39907"],shortName:"qkc-d-s7",slug:"quarkchain-devnet-shard-7",testnet:!1},Ekt={chain:"SBR",chainId:111e3,explorers:[{name:"Siberium Testnet Explorer - blockscout",url:"https://explorer.test.siberium.net",standard:"EIP3091",icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"},infoURL:"https://siberium.net",name:"Siberium Test Network",nativeCurrency:{name:"TestSIBR",symbol:"SIBR",decimals:18},networkId:111e3,rpc:["https://111000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.siberium.net"],shortName:"testsbr",slip44:1,slug:"siberium-test-network",testnet:!0},_kt={chain:"SBR",chainId:111111,explorers:[{name:"Siberium Mainnet Explorer - blockscout - 2",url:"https://explorer.main.siberium.net.ru",standard:"EIP3091",icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"},infoURL:"https://siberium.net",name:"Siberium Network",nativeCurrency:{name:"Siberium",symbol:"SIBR",decimals:18},networkId:111111,rpc:["https://111111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.main.siberium.net","https://rpc.main.siberium.net.ru"],shortName:"sbr",slug:"siberium-network",testnet:!1},Akt={chain:"re.al",chainId:111188,explorers:[{name:"blockscout",url:"https://explorer.re.al",standard:"EIP3091",icon:{url:"ipfs://QmNUmWC7jNEBcTs6ZqkrQ5vMAQG8qjq7n3FcZnXvJZLoQ9",width:301,height:302,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNUmWC7jNEBcTs6ZqkrQ5vMAQG8qjq7n3FcZnXvJZLoQ9",width:301,height:302,format:"png"},infoURL:"https://re.al",name:"re.al",nativeCurrency:{name:"re.al Ether",symbol:"reETH",decimals:18},networkId:111188,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://re.al/bridge"},{url:"https://bridge.gelato.network/bridge/real"}]},rpc:["https://111188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://real.drpc.org","wss://real.drpc.org"],shortName:"re-al",slip44:60,slug:"re-al",testnet:!1,title:"re.al Real-World Assets network"},Ckt={chain:"METAO",chainId:112358,explorers:[{name:"blockscout",url:"https://explorer.metachain.one",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTmo2QAtX5PbhX96vewnvH4Vc5H83Ft2DJGi6tAqTcFij",width:1e3,height:981,format:"png"},infoURL:"https://metachain.one",name:"Metachain One Mainnet",nativeCurrency:{name:"Metao",symbol:"METAO",decimals:18},networkId:112358,rpc:["https://112358.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metachain.one","https://rpc2.metachain.one"],shortName:"metao",slug:"metachain-one",testnet:!1},Ikt={chain:"MetaDAP",chainId:119139,explorers:[{name:"MetaDAP Enterprise Testnet explorer",url:"https://explorer.testnet.chain.metadap.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmcCFUTStKKJKfzTwrjfMFoVaPCMsvAvWXRdDkYMvCkEs3",width:800,height:800,format:"svg"},infoURL:"https://metadap.io/",name:"MetaDAP Enterprise Testnet",nativeCurrency:{name:"DAP",symbol:"DAP",decimals:18},networkId:119139,rpc:["https://119139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.chain.metadap.io","wss://rpc-ws.testnet.chain.metadap.io"],shortName:"MetaDAP-T",slug:"metadap-enterprise-testnet",testnet:!0,title:"MetaDAP Enterprise Testnet"},kkt={chain:"ADIL",chainId:123456,explorers:[{name:"ADIL Devnet Explorer",url:"https://devnet.adilchain-scan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeHNYUx6n8CjUFSLWNT17oAtDYrUq6r8buyvGCUBXCJw6",width:500,height:500,format:"png"},infoURL:"https://adilchain.io",name:"ADIL Devnet",nativeCurrency:{name:"Devnet ADIL",symbol:"ADIL",decimals:18},networkId:123456,rpc:["https://123456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.adilchain-rpc.io"],shortName:"dadil",slug:"adil-devnet",testnet:!1},Skt={chain:"Etherlink",chainId:128123,explorers:[{name:"Etherlink Testnet Explorer",url:"https://testnet-explorer.etherlink.com",standard:"EIP3091"}],faucets:["https://faucet.etherlink.com"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmVqE4wq3fd3RKZwo7GxmW333ywHgYBZGvqwh3TUBM5DUi",width:3600,height:3600,format:"PNG"},infoURL:"https://node.ghostnet.etherlink.com",name:"Etherlink Testnet",nativeCurrency:{name:"tez",symbol:"XTZ",decimals:18},networkId:128123,parent:{type:"Etherlink",chain:"Etherlink",bridges:[]},redFlags:[],rpc:["https://128123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.ghostnet.etherlink.com"],shortName:"etlt",slug:"etherlink-testnet",testnet:!0},Rkt={chain:"DIONE",chainId:131313,explorers:[],faucets:["https://faucet.dioneprotocol.com/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmVt5Y585JqBSrkpZmYaEnX9FW7tDwfDLmUGNyDdyV2Pd2",width:48,height:48,format:"svg"},infoURL:"https://www.dioneprotocol.com/",name:"Odyssey Chain (Testnet)",nativeCurrency:{name:"DIONE",symbol:"DIONE",decimals:18},networkId:131313,rpc:["https://131313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnode.dioneprotocol.com/ext/bc/D/rpc"],shortName:"DIONE",slug:"odyssey-chain-testnet",testnet:!0},Mkt={chain:"ETND",chainId:131419,explorers:[{name:"etndscan",url:"https://scan.etnd.pro",standard:"none",icon:{url:"ipfs://Qmd26eRJxPb1jJg5Q4mC2M4kD9Jrs5vmcnr5LczHFMGwSD",width:128,height:128,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmd26eRJxPb1jJg5Q4mC2M4kD9Jrs5vmcnr5LczHFMGwSD",width:128,height:128,format:"png"},infoURL:"https://www.etnd.pro",name:"ETND Chain Mainnets",nativeCurrency:{name:"ETND",symbol:"ETND",decimals:18},networkId:131419,rpc:["https://131419.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.node1.etnd.pro/"],shortName:"ETND",slug:"etnd-chain-s",testnet:!1},Bkt={chain:"Form",chainId:132902,explorers:[],faucets:["https://info.form.network/faucet"],features:[],icon:{url:"ipfs://bafkreif6anuffunp3le26jsyemdrg4ydf2abensokw4qnlgvg5nc43zqbi",width:3600,height:3600,format:"PNG"},infoURL:"https://info.form.network",name:"Form Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:132902,parent:{type:"Optimism",chain:"Optimism",bridges:[]},redFlags:[],rpc:["https://132902.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.form.network/http"],shortName:"Form",slug:"form-testnet",testnet:!0,title:"https://explorer.form.network/"},Dkt={chain:"Avalanche",chainId:141221,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Xantus Testnet",nativeCurrency:{name:"Xantus Testnet Token",symbol:"XAN",decimals:18},networkId:141221,redFlags:[],rpc:["https://141221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xantustest/testnet/rpc"],shortName:"Xantus Testnet",slug:"xantus-testnet",testnet:!0},Pkt={chain:"MagApe",chainId:141319,explorers:[{name:"etherscan",url:"http://testnet-api.magape.io:81",standard:"EIP3091",icon:{url:"ipfs://QmPsxWMvnxnZ9dZcRJJMaE24o34dQsnsAMCJh3kVDrE1aB",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmPsxWMvnxnZ9dZcRJJMaE24o34dQsnsAMCJh3kVDrE1aB",width:1e3,height:1e3,format:"png"},infoURL:"https://magape.io",name:"MagApe Testnet",nativeCurrency:{name:"MagApe",symbol:"MAG",decimals:18},networkId:141319,rpc:["https://141319.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-api.magape.io/chain/"],shortName:"mag",slug:"magape-testnet",testnet:!0,title:"MagApeChain"},Lkt={chain:"ICPlaza",chainId:142857,explorers:[{name:"ICPlaza",url:"https://browsemainnet.ic-plaza.org/index",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQpKKwpqrx77VA4SJLEWhuv9eLFMcVV9uvxRCLb6gdgCX",width:847,height:906,format:"png"},infoURL:"https://docs.ic-plaza.org/",name:"ICPlaza Mainnet",nativeCurrency:{name:"ict",symbol:"ict",decimals:18},networkId:142857,rpc:["https://142857.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcmainnet.ic-plaza.org/"],shortName:"ICPlaza",slug:"icplaza",testnet:!1},Fkt={chain:"Avalanche",chainId:151221,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Xantus",nativeCurrency:{name:"Xantus Token",symbol:"XAN",decimals:18},networkId:151221,redFlags:[],rpc:["https://151221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xantus/testnet/rpc"],shortName:"Xantus",slug:"xantus",testnet:!0},Nkt={chain:"PLAY",chainId:161212,explorers:[],faucets:[],infoURL:"https://www.playfi.ai/",name:"PlayFi Mainnet",nativeCurrency:{name:"Play",symbol:"PLAY",decimals:18},networkId:161212,rpc:[],shortName:"playfi",slug:"playfi",status:"incubating",testnet:!1},Okt={chain:"Eclat",chainId:165279,explorers:[{name:"Eclat Mainnet Explorer",url:"https://eclatscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeigpyvnir6awzgeazkk5xdkvexw7w6ww3yxawszue6zms4a5ygdfky",width:500,height:500,format:"png"},infoURL:"https://eclatscan.com",name:"Eclat Mainnet",nativeCurrency:{name:"Eclat",symbol:"ECLAT",decimals:18},networkId:165279,rpc:["https://165279.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.eclatscan.com"],shortName:"ECLAT",slug:"eclat",testnet:!1},Ukt={chain:"ETH",chainId:167e3,explorers:[{name:"etherscan",url:"https://taikoscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167e3,redFlags:[],rpc:["https://167000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.taiko.xyz/","https://rpc.ankr.com/taiko/","https://rpc.taiko.xyz/","https://rpc.mainnet.taiko.xyz","wss://ws.mainnet.taiko.xyz"],shortName:"tko-mainnet",slug:"taiko",status:"active",testnet:!1},Hkt={chain:"ETH",chainId:167004,explorers:[{name:"blockscout",url:"https://explorer.a2.taiko.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko (Alpha-2 Testnet)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167004,rpc:["https://167004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.a2.taiko.xyz"],shortName:"taiko-a2",slip44:1,slug:"taiko-alpha-2-testnet",status:"deprecated",testnet:!0},zkt={chain:"ETH",chainId:167008,explorers:[{name:"blockscout",url:"https://explorer.katla.taiko.xyz",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko Katla L2",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167008,redFlags:[],rpc:["https://167008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.katla.taiko.xyz","wss://ws.katla.taiko.xyz","https://taiko-katla.drpc.org","wss://taiko-katla.drpc.org"],shortName:"tko-katla",slug:"taiko-katla-l2",status:"deprecated",testnet:!0},Wkt={chain:"ETH",chainId:167009,explorers:[{name:"blockscout",url:"https://blockscoutapi.hekla.taiko.xyz",standard:"EIP3091"},{name:"routescan",url:"https://hekla.taikoscan.network",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko Hekla L2",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167009,redFlags:[],rpc:["https://167009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://taiko-hekla.blockpi.network/v1/rpc/public","https://rpc.hekla.taiko.xyz","wss://ws.hekla.taiko.xyz"],shortName:"tko-hekla",slug:"taiko-hekla-l2",status:"active",testnet:!1},qkt={chain:"BDCC",chainId:188710,explorers:[{name:"Bitica DPOS Blockchain Explorer",url:"https://biticablockchain.com",standard:"none"}],faucets:[],infoURL:"https://biticablockchain.com/",name:"Bitica Chain Mainnet",nativeCurrency:{name:"Bitica Coin",symbol:"BDCC",decimals:18},networkId:188710,rpc:["https://188710.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.biticablockchain.com/"],shortName:"bdcc",slug:"bitica-chain",testnet:!1},jkt={chain:"CONDOR",chainId:188881,explorers:[{name:"CondorScan",url:"https://explorer.condor.systems",standard:"none"}],faucets:["https://faucet.condor.systems"],icon:{url:"ipfs://QmPRDuEJSTqp2cDUvWCp71Wns6XV8nvdeAVKWH6srpk4xM",width:752,height:752,format:"png"},infoURL:"https://condor.systems",name:"Condor Test Network",nativeCurrency:{name:"Condor Native Token",symbol:"CONDOR",decimals:18},networkId:188881,rpc:["https://188881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.condor.systems/rpc"],shortName:"condor",slip44:1,slug:"condor-test-network",testnet:!0},Gkt={chain:"FHET",chainId:192940,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://mindnetwork.xyz",name:"Mind Network Testnet",nativeCurrency:{name:"FHE",symbol:"FHE",decimals:18},networkId:192940,rpc:["https://192940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.mindnetwork.xyz","wss://rpc-testnet.mindnetwork.xyz"],shortName:"fhet",slug:"mind-network-testnet",testnet:!0},Kkt={chain:"FAIT",chainId:2e5,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://xfair.ai",name:"xFair.AI Testnet",nativeCurrency:{name:"FAI",symbol:"FAI",decimals:18},networkId:2e5,rpc:["https://200000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc_testnet.xfair.ai","wss://rpc_testnet.xfair.ai"],shortName:"fait",slug:"xfair-ai-testnet",testnet:!0},Qkt={chain:"milkTAda",chainId:200101,explorers:[{name:"Blockscout",url:"https://explorer-devnet-cardano-evm.c1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda C1 Testnet",nativeCurrency:{name:"milkTAda",symbol:"mTAda",decimals:18},networkId:200101,rpc:["https://200101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-devnet-cardano-evm.c1.milkomeda.com","wss://rpc-devnet-cardano-evm.c1.milkomeda.com"],shortName:"milkTAda",slip44:1,slug:"milkomeda-c1-testnet",testnet:!0},Vkt={chain:"milkTAlgo",chainId:200202,explorers:[{name:"Blockscout",url:"https://explorer-devnet-algorand-rollup.a1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda A1 Testnet",nativeCurrency:{name:"milkTAlgo",symbol:"mTAlgo",decimals:18},networkId:200202,rpc:["https://200202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-devnet-algorand-rollup.a1.milkomeda.com"],shortName:"milkTAlgo",slip44:1,slug:"milkomeda-a1-testnet",testnet:!0},Ykt={chain:"AKA",chainId:200625,explorers:[],faucets:[],infoURL:"https://akroma.io",name:"Akroma",nativeCurrency:{name:"Akroma Ether",symbol:"AKA",decimals:18},networkId:200625,rpc:["https://200625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://remote.akroma.io"],shortName:"aka",slip44:200625,slug:"akroma",testnet:!1},$kt={chain:"Bitlayer",chainId:200810,explorers:[{name:"bitlayer testnet scan",url:"https://testnet-scan.bitlayer.org",standard:"none"}],faucets:["https://www.bitlayer.org/faucet"],icon:{url:"ipfs://QmdWZ1frB47fr3tw31xE68C2Vocaw5Ef53LQ5WDNdNnNyG",width:4500,height:4500,format:"jpg"},infoURL:"https://docs.bitlayer.org/",name:"Bitlayer Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:200810,rpc:["https://200810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.bitlayer.org","wss://testnet-ws.bitlayer.org","https://testnet-rpc.bitlayer-rpc.com","wss://testnet-ws.bitlayer-rpc.com","https://rpc.ankr.com/bitlayer_testnet"],shortName:"btrt",slip44:1,slug:"bitlayer-testnet",testnet:!0},Jkt={chain:"Bitlayer",chainId:200901,explorers:[{name:"bitlayer mainnet scan",url:"https://www.btrscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdWZ1frB47fr3tw31xE68C2Vocaw5Ef53LQ5WDNdNnNyG",width:4500,height:4500,format:"jpg"},infoURL:"https://docs.bitlayer.org/",name:"Bitlayer Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:200901,rpc:["https://200901.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitlayer.org","https://rpc.bitlayer-rpc.com","https://rpc.ankr.com/bitlayer","https://rpc-bitlayer.rockx.com","wss://ws.bitlayer.org","wss://ws.bitlayer-rpc.com"],shortName:"btr",slip44:1,slug:"bitlayer",testnet:!1},Xkt={chain:"Alaya",chainId:201018,explorers:[{name:"alaya explorer",url:"https://scan.alaya.network",standard:"none"}],faucets:[],icon:{url:"ipfs://Qmci6vPcWAwmq19j98yuQxjV6UPzHtThMdCAUDbKeb8oYu",width:1140,height:1140,format:"png"},infoURL:"https://www.alaya.network/",name:"Alaya Mainnet",nativeCurrency:{name:"ATP",symbol:"atp",decimals:18},networkId:1,rpc:["https://201018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://openapi.alaya.network/rpc","wss://openapi.alaya.network/ws"],shortName:"alaya",slug:"alaya",testnet:!1},Zkt={chain:"Alaya",chainId:201030,explorers:[{name:"alaya explorer",url:"https://devnetscan.alaya.network",standard:"none"}],faucets:["https://faucet.alaya.network/faucet/?id=f93426c0887f11eb83b900163e06151c"],icon:{url:"ipfs://Qmci6vPcWAwmq19j98yuQxjV6UPzHtThMdCAUDbKeb8oYu",width:1140,height:1140,format:"png"},infoURL:"https://www.alaya.network/",name:"Alaya Dev Testnet",nativeCurrency:{name:"ATP",symbol:"atp",decimals:18},networkId:1,rpc:["https://201030.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnetopenapi.alaya.network/rpc","wss://devnetopenapi.alaya.network/ws"],shortName:"alayadev",slip44:1,slug:"alaya-dev-testnet",testnet:!0},eSt={chain:"MYTH",chainId:201804,explorers:[{name:"Mythical Chain Explorer",url:"https://explorer.mythicalgames.com",standard:"EIP3091",icon:{url:"ipfs://bafkreihru6cccfblrjz5bv36znq2l3h67u6xj5ivtc4bj5l6gzofbgtnb4",width:350,height:350,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreihru6cccfblrjz5bv36znq2l3h67u6xj5ivtc4bj5l6gzofbgtnb4",width:350,height:350,format:"png"},infoURL:"https://mythicalgames.com/",name:"Mythical Chain",nativeCurrency:{name:"Mythos",symbol:"MYTH",decimals:18},networkId:201804,rpc:["https://201804.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.mythicalgames.com"],shortName:"myth",slug:"mythical-chain",testnet:!1},tSt={chain:"tDSC",chainId:202020,explorers:[{name:"DSC Explorer Testnet",url:"https://testnet.explorer.decimalchain.com",standard:"EIP3091",icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"},infoURL:"https://decimalchain.com",name:"Decimal Smart Chain Testnet",nativeCurrency:{name:"Decimal",symbol:"tDEL",decimals:18},networkId:202020,rpc:["https://202020.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-val.decimalchain.com/web3/"],shortName:"tDSC",slip44:1,slug:"decimal-smart-chain-testnet",testnet:!0},nSt={chain:"X1",chainId:202212,explorers:[{name:"Blockscout",url:"https://explorer.x1-devnet.xen.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://docs.xen.network/x1/",name:"X1 Devnet",nativeCurrency:{name:"XN",symbol:"XN",decimals:18},networkId:202212,rpc:["https://202212.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://x1-devnet.xen.network"],shortName:"x1-devnet",slug:"x1-devnet",testnet:!1},aSt={chain:"YMTECH-BESU",chainId:202401,explorers:[{name:"YMTECH-BESU Chainlens",url:"http://39.119.118.198",standard:"none"}],faucets:[],infoURL:"https://www.ymtech.co.kr",name:"YMTECH-BESU Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:202401,rpc:["https://202401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://39.119.118.216:8545"],shortName:"YMTECH-BESU",slug:"ymtech-besu-testnet",testnet:!0},rSt={chain:"ETH",chainId:202624,explorers:[{name:"Jellie Blockchain Explorer",url:"https://jellie.twala.io",standard:"EIP3091",icon:{url:"ipfs://QmTXJVhVKvVC7DQEnGKXvydvwpvVaUEBJrMHvsCr4nr1sK",width:1326,height:1265,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTXJVhVKvVC7DQEnGKXvydvwpvVaUEBJrMHvsCr4nr1sK",width:1326,height:1265,format:"png"},infoURL:"https://twala.io/",name:"Jellie",nativeCurrency:{name:"Twala Coin",symbol:"TWL",decimals:18},networkId:202624,rpc:["https://202624.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jellie-rpc.twala.io/","wss://jellie-rpc-wss.twala.io/"],shortName:"twl-jellie",slip44:1,slug:"jellie",testnet:!0,title:"Twala Testnet Jellie"},fSt={chain:"X1",chainId:204005,explorers:[{name:"Blockscout",url:"https://explorer.x1-testnet.xen.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://docs.xen.network/go-x1/",name:"X1 Network",nativeCurrency:{name:"XN",symbol:"XN",decimals:18},networkId:204005,rpc:["https://204005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://x1-testnet.xen.network"],shortName:"x1-testnet",slug:"x1-network",testnet:!0},iSt={chain:"Auroria",chainId:205205,explorers:[{name:"Auroria Testnet Explorer",url:"https://auroria.explorer.stratisevm.com",standard:"EIP3091"}],faucets:["https://auroria.faucet.stratisevm.com"],icon:{url:"ipfs://QmbkTh6qNYUnae5yNjied3qZqVyZcb4x3hfUpJ33bGg9QY",width:800,height:800,format:"jpg"},infoURL:"https://www.stratisplatform.com",name:"Auroria Testnet",nativeCurrency:{name:"Auroria Stratis",symbol:"tSTRAX",decimals:18},networkId:205205,rpc:["https://205205.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://auroria.rpc.stratisevm.com"],shortName:"auroria",slug:"auroria-testnet",testnet:!0,title:"Stratis Testnet Auroria"},sSt={chain:"GitAGI",chainId:210049,explorers:[],faucets:[],infoURL:"https://gitagi.org/",name:"GitAGI Atlas Testnet",nativeCurrency:{name:"GitAGI",symbol:"tGAGI",decimals:18},networkId:210049,rpc:["https://210049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gitagi.org"],shortName:"atlas",slug:"gitagi-atlas-testnet",testnet:!0},oSt={chain:"PlatON",chainId:210425,explorers:[{name:"PlatON explorer",url:"https://scan.platon.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmT7PSXBiVBma6E15hNkivmstqLu3JSnG1jXN5pTmcCGRC",width:180,height:180,format:"png"},infoURL:"https://www.platon.network",name:"PlatON Mainnet",nativeCurrency:{name:"LAT",symbol:"lat",decimals:18},networkId:1,rpc:["https://210425.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://openapi2.platon.network/rpc","wss://openapi2.platon.network/ws"],shortName:"platon",slug:"platon",testnet:!1},cSt={chain:"Avalanche",chainId:210815,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Stavax Testnet",nativeCurrency:{name:"Stavax Testnet Token",symbol:"STA",decimals:18},networkId:210815,redFlags:[],rpc:["https://210815.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/stavaxtest/testnet/rpc"],shortName:"Stavax Testnet",slug:"stavax-testnet",testnet:!0},dSt={chain:"MAS",chainId:220315,explorers:[{name:"explorer masnet",url:"https://explorer.masnet.ai",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmZ9njQhhKkpJKGnoYy6XTuDtk5CYiDFUd8atqWthqUT3Q",width:1024,height:1024,format:"png"},infoURL:"https://masterbank.org",name:"Mas Mainnet",nativeCurrency:{name:"Master Bank",symbol:"MAS",decimals:18},networkId:220315,rpc:["https://220315.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://node.masnet.ai:8545"],shortName:"mas",slug:"mas",testnet:!1},lSt={chain:"REAP",chainId:221230,explorers:[{name:"Reapchain Dashboard",url:"https://dashboard.reapchain.org",standard:"none",icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"},infoURL:"https://reapchain.com",name:"Reapchain Mainnet",nativeCurrency:{name:"Reap",symbol:"REAP",decimals:18},networkId:221230,rpc:["https://221230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth.reapchain.org"],shortName:"reap",slug:"reapchain",testnet:!1},uSt={chain:"REAP",chainId:221231,explorers:[{name:"Reapchain Testnet Dashboard",url:"https://test-dashboard.reapchain.org",standard:"none",icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"}}],faucets:["http://faucet.reapchain.com"],features:[],icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"},infoURL:"https://reapchain.com",name:"Reapchain Testnet",nativeCurrency:{name:"test-Reap",symbol:"tREAP",decimals:18},networkId:221231,rpc:["https://221231.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-eth.reapchain.org"],shortName:"reap-testnet",slip44:1,slug:"reapchain-testnet",testnet:!0},pSt={chain:"HDX",chainId:222222,explorers:[{name:"blockscout",url:"https://explorer.evm.hydration.cloud",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQnx3j1ZtQ9Br873FuS6612HQfosXsr4Whew8eN4ArYwE",width:400,height:400,format:"svg"},infoURL:"https://hydradx.io",name:"HydraDX",nativeCurrency:{name:"Wrapped ETH",symbol:"WETH",decimals:18},networkId:222222,rpc:["https://222222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hydradx.cloud","wss://rpc.hydradx.cloud"],shortName:"hdx",slug:"hydradx",testnet:!1},hSt={chain:"DEEPL",chainId:222555,explorers:[{name:"DeepL Mainnet Explorer",url:"https://scan.deeplnetwork.org",standard:"EIP3091",icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"},infoURL:"https://deeplnetwork.org",name:"DeepL Mainnet",nativeCurrency:{name:"DeepL",symbol:"DEEPL",decimals:18},networkId:222555,rpc:["https://222555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.deeplnetwork.org"],shortName:"deepl",slug:"deepl",testnet:!1},bSt={chain:"DEEPL",chainId:222666,explorers:[{name:"DeepL Testnet Explorer",url:"https://testnet-scan.deeplnetwork.org",standard:"EIP3091",icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"}}],faucets:["https://faucet.deeplnetwork.org"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"},infoURL:"https://deeplnetwork.org",name:"DeepL Testnet",nativeCurrency:{name:"DeepL",symbol:"DEEPL",decimals:18},networkId:222666,rpc:["https://222666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.deeplnetwork.org"],shortName:"tdeepl",slug:"deepl-testnet",testnet:!0},mSt={chain:"Taf ECO Chain",chainId:224168,explorers:[{name:"Taf ECO Chain Mainnet",url:"https://ecoscan.tafchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreigpxhu7glccsislhjqpl5fnsfmj2io4cy33blhky642uiuyojossy",width:400,height:400,format:"png"},infoURL:"https://www.tafchain.com",name:"Taf ECO Chain Mainnet",nativeCurrency:{name:"Taf ECO Chain Mainnet",symbol:"TAFECO",decimals:18},networkId:224168,rpc:["https://224168.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.tafchain.com/v1"],shortName:"TAFECO",slug:"taf-eco-chain",testnet:!1},ySt={chain:"CONET",chainId:224422,explorers:[{name:"CONET Scan",url:"https://scan.conet.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreibjxqd5kqcc2shstjjujvxzg6cwegwr6dgjyyd56v6h7yusgks7sy",width:1200,height:1200,format:"png"},infoURL:"https://conet.network",name:"CONET Sebolia Testnet",nativeCurrency:{name:"CONET Sebolia",symbol:"CONET",decimals:18},networkId:224422,rpc:["https://224422.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.conet.network"],shortName:"conet-sebolia",slip44:1,slug:"conet-sebolia-testnet",testnet:!0},gSt={chain:"CONET Holesky",chainId:224433,explorers:[{name:"CONET Holesky Scan",url:"https://scan.conet.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreibjxqd5kqcc2shstjjujvxzg6cwegwr6dgjyyd56v6h7yusgks7sy",width:1200,height:1200,format:"png"},infoURL:"https://conet.network",name:"CONET Holesky",nativeCurrency:{name:"CONET Holesky",symbol:"CONET",decimals:18},networkId:224433,rpc:["https://224433.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.conet.network"],shortName:"conet-holesky",slip44:2147708081,slug:"conet-holesky",testnet:!1},vSt={chain:"HashKey",chainId:230315,explorers:[{name:"HashKey Chain Testnet Explorer",url:"https://testnet.hashkeyscan.io",standard:"none"}],faucets:["https://testnet.hashkeychain/faucet"],icon:{url:"ipfs://QmNU11AqYB2htrrSyBSP9ct7bPtuZTP7Hrz21PrEcB9nYE",width:1440,height:448,format:"png"},infoURL:"https://www.hashkey.com",name:"HashKey Chain Testnet(discard)",nativeCurrency:{name:"HashKey Token",symbol:"tHSK",decimals:18},networkId:230315,rpc:["https://230315.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.hashkeychain/rpc"],shortName:"hsktest",slip44:1,slug:"hashkey-chain-testnet-discard",testnet:!0},wSt={chain:"Avalanche",chainId:234560,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Project Orc",nativeCurrency:{name:"Project Orc Token",symbol:"STX",decimals:18},networkId:234560,redFlags:[],rpc:["https://234560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/projectorc/testnet/rpc"],shortName:"Project Orc",slug:"project-orc",testnet:!0},TSt={chain:"tHYM",chainId:234666,explorers:[],faucets:[],infoURL:"https://haymoswap.web.app/",name:"Haymo Testnet",nativeCurrency:{name:"HAYMO",symbol:"HYM",decimals:18},networkId:234666,rpc:["https://234666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet1.haymo.network"],shortName:"hym",slip44:1,slug:"haymo-testnet",testnet:!0},xSt={chain:"ARTIS",chainId:246529,explorers:[],faucets:[],infoURL:"https://artis.eco",name:"ARTIS sigma1",nativeCurrency:{name:"ARTIS sigma1 Ether",symbol:"ATS",decimals:18},networkId:246529,rpc:["https://246529.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sigma1.artis.network"],shortName:"ats",slip44:246529,slug:"artis-sigma1",testnet:!1},ESt={chain:"ARTIS",chainId:246785,explorers:[],faucets:[],infoURL:"https://artis.network",name:"ARTIS Testnet tau1",nativeCurrency:{name:"ARTIS tau1 Ether",symbol:"tATS",decimals:18},networkId:246785,rpc:["https://246785.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tau1.artis.network"],shortName:"atstau",slip44:1,slug:"artis-testnet-tau1",testnet:!0},_St={chain:"Saakuru",chainId:247253,explorers:[{name:"saakuru-explorer-testnet",url:"https://explorer-testnet.saakuru.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmduEdtFobPpZWSc45MU6RKxZfTEzLux2z8ikHFhT8usqv",width:1024,height:1024,format:"png"},infoURL:"https://saakuru.network",name:"Saakuru Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:247253,rpc:["https://247253.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.saakuru.network"],shortName:"saakuru-testnet",slip44:1,slug:"saakuru-testnet",testnet:!0},ASt={chain:"CMP",chainId:256256,explorers:[{name:"Mainnet Scan",url:"https://mainnet.scan.caduceus.foundation",standard:"none"}],faucets:[],infoURL:"https://caduceus.foundation/",name:"CMP-Mainnet",nativeCurrency:{name:"Caduceus Token",symbol:"CMP",decimals:18},networkId:256256,rpc:["https://256256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.block.caduceus.foundation","wss://mainnet.block.caduceus.foundation"],shortName:"cmp-mainnet",slug:"cmp",testnet:!1},CSt={chain:"WP",chainId:260693,explorers:[],faucets:[],features:[],icon:{url:"ipfs://Qmd4g9i2VjndV1TuWZySYoBiNt6eVyJMEujov7YtcTyoqq/whalepass_logo_3.png",width:512,height:512,format:"png"},name:"Whalepass Testnet",nativeCurrency:{name:"Whalepass",symbol:"WP",decimals:18},networkId:260693,redFlags:[],rpc:["https://260693.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-flashbox-2684-rpc.a.stagenet.tanssi.network"],shortName:"wptest",slug:"whalepass-testnet",testnet:!0},ISt={chain:"Eclat",chainId:262371,explorers:[{name:"Eclat Testnet Explorer",url:"https://testnet-explorer.eclatscan.com",standard:"EIP3091"}],faucets:["https://faucet.eclatscan.com"],icon:{url:"ipfs://bafybeigpyvnir6awzgeazkk5xdkvexw7w6ww3yxawszue6zms4a5ygdfky",width:500,height:500,format:"png"},infoURL:"https://testnet-explorer.eclatscan.com",name:"Eclat Testnet",nativeCurrency:{name:"Eclat Testnet",symbol:"ECLAT",decimals:18},networkId:262371,rpc:["https://262371.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.eclatscan.com"],shortName:"tECLAT",slug:"eclat-testnet",testnet:!0},kSt={chain:"GearZero",chainId:266256,explorers:[],faucets:[],infoURL:"https://token.gearzero.ca/testnet",name:"Gear Zero Network Testnet",nativeCurrency:{name:"Gear Zero Network Native Token",symbol:"GZN",decimals:18},networkId:266256,rpc:["https://266256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gzn-test.linksme.info"],shortName:"gz-testnet",slip44:1,slug:"gear-zero-network-testnet",testnet:!0},SSt={chain:"EGON",chainId:271271,explorers:[{name:"EgonCoin Testnet",url:"https://testnet.egonscan.com",standard:"EIP3091"}],faucets:["https://faucet.egonscan.com"],icon:{url:"ipfs://QmNZiMmzMQYjyGtNSghtzLg4UooYhDgMQsa677DAP5KsBg",width:512,height:512,format:"png"},infoURL:"https://egonscan.com",name:"EgonCoin Testnet",nativeCurrency:{name:"EgonCoin",symbol:"EGON",decimals:18},networkId:271271,rpc:["https://271271.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.egonscan.com"],shortName:"EGONt",slip44:1,slug:"egoncoin-testnet",testnet:!0},RSt={chain:"SoChain",chainId:281121,explorers:[],faucets:[],infoURL:"https://digitalnext.business/SocialSmartChain",name:"Social Smart Chain Mainnet",nativeCurrency:{name:"SoChain",symbol:"$OC",decimals:18},networkId:281121,rpc:["https://281121.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://socialsmartchain.digitalnext.business"],shortName:"SoChain",slug:"social-smart-chain",testnet:!1},MSt={chain:"ETH",chainId:282828,explorers:[{name:"zillscout",url:"https://sepolia.zillnet.io",standard:"EIP3091",icon:{url:"ipfs://QmfVmjLNiBh8KyCr9mwDZh34aEhhQ2LAjuP87DFxhfd9nn",width:264,height:264,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfVmjLNiBh8KyCr9mwDZh34aEhhQ2LAjuP87DFxhfd9nn",width:264,height:264,format:"png"},infoURL:"https://zillnet.io",name:"Zillion Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:282828,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://282828.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.zillnet.io/rpc"],shortName:"zillsep",slip44:1,slug:"zillion-sepolia-testnet",status:"active",testnet:!0},BSt={chain:"One World Chain",chainId:309075,explorers:[{name:"One World Chain Mainnet Explorer",url:"https://mainnet.oneworldchain.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPmZ6vgtdMG7jttVZQUobF96Sva1noi5Fsi28V1Eck6eC",width:200,height:200,format:"png"},infoURL:"https://oneworldchain.org",name:"One World Chain Mainnet",nativeCurrency:{name:"OWCT",symbol:"OWCT",decimals:18},networkId:309075,rpc:["https://309075.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oneworldchain.org"],shortName:"OWCTm",slug:"one-world-chain",testnet:!1},DSt={chain:"Avalanche",chainId:313310,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT10",nativeCurrency:{name:"LT10 Token",symbol:"LT",decimals:18},networkId:313310,redFlags:[],rpc:["https://313310.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt10/testnet/rpc"],shortName:"LT10",slug:"lt10",testnet:!0},PSt={chain:"Avalanche",chainId:313311,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT11",nativeCurrency:{name:"LT11 Token",symbol:"LT",decimals:18},networkId:313311,redFlags:[],rpc:["https://313311.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt11/testnet/rpc"],shortName:"LT11",slug:"lt11",testnet:!0},LSt={chain:"Sahara",chainId:313313,explorers:[{name:"Testnet Scan",url:"https://explorer.saharaa.info",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQXCm6w8xvWMkksTQYw3So14VCbwHP6chH41v6ysXdSwF",width:608,height:608,format:"svg"},infoURL:"https://saharalabs.ai",name:"SaharaAI Testnet",nativeCurrency:{name:"SAHARA",symbol:"SAH",decimals:18},networkId:313313,rpc:["https://313313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.saharalabs.ai"],shortName:"saharatest",slug:"saharaai-testnet",testnet:!0},FSt={chain:"FIL",chainId:314159,explorers:[{name:"Filscan - Calibration",url:"https://calibration.filscan.io",standard:"none"},{name:"Filscout - Calibration",url:"https://calibration.filscout.com/en",standard:"none"},{name:"Filfox - Calibration",url:"https://calibration.filfox.info",standard:"none"},{name:"Glif Explorer - Calibration",url:"https://explorer.glif.io/?network=calibration",standard:"none"},{name:"Beryx",url:"https://beryx.zondax.ch",standard:"none"}],faucets:["https://faucet.calibration.fildev.network/"],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Calibration testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:314159,rpc:["https://314159.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.calibration.node.glif.io/rpc/v1","https://rpc.ankr.com/filecoin_testnet","https://filecoin-calibration.chainstacklabs.com/rpc/v1","https://filecoin-calibration.chainup.net/rpc/v1","https://calibration.filfox.info/rpc/v1","https://filecoin-calibration.drpc.org","wss://filecoin-calibration.drpc.org"],shortName:"filecoin-calibration",slip44:1,slug:"filecoin-calibration-testnet",testnet:!0},NSt={chain:"Parex",chainId:322202,explorers:[{name:"Parex Mainnet Explorer",url:"https://scan.parex.network",standard:"EIP3091",icon:{url:"ipfs://QmSPD3QcjFJL2KpYRnNDxa8Xg5rcSgPugG9kcBBNeavVKi",width:128,height:128,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSPD3QcjFJL2KpYRnNDxa8Xg5rcSgPugG9kcBBNeavVKi",width:128,height:128,format:"png"},infoURL:"https://parex.network",name:"Parex Mainnet",nativeCurrency:{name:"PAREX",symbol:"PRX",decimals:18},networkId:322202,rpc:["https://322202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.parex.network"],shortName:"parex",slug:"parex",testnet:!1,title:"Parex Mainnet"},OSt={chain:"Bloom",chainId:323213,explorers:[{name:"Bloom Genesis Testnet",url:"https://testnet.bloomgenesis.com",standard:"EIP3091"}],faucets:["https://faucet.bloomgenesis.com"],icon:{url:"ipfs://Qmetu9hMLvczYo7tDPRyjqjBHwwpHU8mEgW3PEPPre56su",width:2794,height:2711,format:"png"},infoURL:"https://www.bloomgenesis.com",name:"Bloom Genesis Testnet",nativeCurrency:{name:"Bloom",symbol:"BGBC",decimals:18},networkId:323213,rpc:["https://323213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.bloomgenesis.com"],shortName:"BGBC-Testnet",slug:"bloom-genesis-testnet",testnet:!0},USt={chain:"TSC",chainId:330844,explorers:[{name:"TTcoin Smart Chain Explorer",url:"https://tscscan.com",standard:"EIP3091",icon:{url:"ipfs://QmS7ipvvyZ16weG1DM7AZbi1v9ixYwU2FjP25Jj5jkLiuf",width:512,height:512,format:"png"}}],faucets:["https://faucet.tscscan.com"],icon:{url:"ipfs://QmS7ipvvyZ16weG1DM7AZbi1v9ixYwU2FjP25Jj5jkLiuf",width:512,height:512,format:"png"},infoURL:"https://ttcoin.info/",name:"TTcoin Smart Chain Mainnet",nativeCurrency:{name:"TTcoin",symbol:"TC",decimals:18},networkId:330844,rpc:["https://330844.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tscscan.com"],shortName:"tc",slug:"ttcoin-smart-chain",testnet:!1},HSt={chain:"POPTestnet",chainId:331769,explorers:[{name:"ProofOfPepe Explorer",url:"https://pepescan.app/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmP8rYvcc7aJB3c2YZxjxaySvHapHnoK8MnxuSuDT4PtF2",width:400,height:400,format:"png"},name:"ProofOfPepe Testnet",nativeCurrency:{name:"POP",symbol:"POP",decimals:18},networkId:331769,redFlags:[],rpc:["https://331769.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet01.proofofpepe.tech"],shortName:"POPTestnet",slug:"proofofpepe-testnet",testnet:!0},zSt={chain:"POP",chainId:331771,explorers:[{name:"Pepescan",url:"https://pepescan.app",standard:"none"}],faucets:[],features:[],icon:{url:"ipfs://QmP8rYvcc7aJB3c2YZxjxaySvHapHnoK8MnxuSuDT4PtF2",width:400,height:400,format:"png"},name:"POP Mainnet",nativeCurrency:{name:"Pepe",symbol:"PEPE",decimals:18},networkId:331771,redFlags:[],rpc:["https://331771.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc00.proofofpepe.tech","https://rpc01.proofofpepe.tech","https://rpc02.proofofpepe.tech"],shortName:"POP",slug:"pop",testnet:!1},WSt={chain:"Avalanche",chainId:332323,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s3dev Testnet",nativeCurrency:{name:"QI0408s3dev Testnet Token",symbol:"REQ",decimals:18},networkId:332323,redFlags:[],rpc:["https://332323.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s3dev Testnet",slug:"qi0408s3dev-testnet",testnet:!0},qSt={chain:"Bloom",chainId:333313,explorers:[{name:"Bloom Genesis Mainnet",url:"https://explorer.bloomgenesis.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmetu9hMLvczYo7tDPRyjqjBHwwpHU8mEgW3PEPPre56su",width:2794,height:2711,format:"png"},infoURL:"https://www.bloomgenesis.com",name:"Bloom Genesis Mainnet",nativeCurrency:{name:"Bloom",symbol:"BGBC",decimals:18},networkId:333313,rpc:["https://333313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.bloomgenesis.com"],shortName:"BGBC",slug:"bloom-genesis",testnet:!1},jSt={chain:"AVST",chainId:333331,explorers:[{name:"avescan",url:"https://testnet.avescoin.io",standard:"EIP3091",icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"},infoURL:"https://ethereum.org",name:"Aves Testnet",nativeCurrency:{name:"AvesT",symbol:"AVST",decimals:18},networkId:333331,rpc:["https://333331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.rpc.avescoin.io"],shortName:"avst",slip44:1,slug:"aves-testnet",testnet:!0},GSt={chain:"N3-Test",chainId:333333,explorers:[{name:"Nativ3 Test Explorer",url:"https://scantest.nativ3.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVzJDndPui6qBSeJWe5kMLA56C3KpVhqqqk9xvVKE1DGb",width:256,height:256,format:"png"},infoURL:"https://nativ3.network",name:"Nativ3 Testnet",nativeCurrency:{name:"USNT",symbol:"USNT",decimals:18},networkId:333333,parent:{type:"L2",chain:"eip155-421613",bridges:[{url:"https://bridgetest.nativ3.network"}]},rpc:["https://333333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.nativ3.network","wss://wstest.nativ3.network"],shortName:"N3-Test",slip44:1,slug:"nativ3-testnet",testnet:!0},KSt={chain:"OONE Testnet",chainId:333666,explorers:[{name:"blockscout",url:"https://testnet.oonescan.com",standard:"none"}],faucets:["https://apps-test.adigium.com/faucet"],infoURL:"https://oonechain.com",name:"Oone Chain Testnet",nativeCurrency:{name:"tOONE",symbol:"tOONE",decimals:18},networkId:333666,rpc:["https://333666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.oonechain.com"],shortName:"oonetest",slip44:1,slug:"oone-chain-testnet",testnet:!0},QSt={chain:"OONE Devnet",chainId:333777,explorers:[{name:"blockscout",url:"https://dev.oonescan.com",standard:"none"}],faucets:["https://apps-test.adigium.com/faucet"],infoURL:"https://oonechain.com",name:"Oone Chain Devnet",nativeCurrency:{name:"tOONE",symbol:"tOONE",decimals:18},networkId:333777,rpc:["https://333777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.oonechain.com"],shortName:"oonedev",slug:"oone-chain-devnet",testnet:!0},VSt={chain:"Sparta",chainId:333888,explorers:[],faucets:["https://faucet.polis.tech"],icon:{url:"ipfs://QmagWrtyApex28H2QeXcs3jJ2F7p2K7eESz3cDbHdQ3pjG",width:1050,height:1050,format:"png"},infoURL:"https://polis.tech",name:"Polis Testnet",nativeCurrency:{name:"tPolis",symbol:"tPOLIS",decimals:18},networkId:333888,rpc:["https://333888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sparta-rpc.polis.tech"],shortName:"sparta",slip44:1,slug:"polis-testnet",testnet:!0},YSt={chain:"Olympus",chainId:333999,explorers:[],faucets:["https://faucet.polis.tech"],icon:{url:"ipfs://QmagWrtyApex28H2QeXcs3jJ2F7p2K7eESz3cDbHdQ3pjG",width:1050,height:1050,format:"png"},infoURL:"https://polis.tech",name:"Polis Mainnet",nativeCurrency:{name:"Polis",symbol:"POLIS",decimals:18},networkId:333999,rpc:["https://333999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.polis.tech"],shortName:"olympus",slug:"polis",testnet:!1},$St={chain:"UPchain",chainId:336655,explorers:[{name:"UPchain Testnet Explorer",url:"https://explorer-testnet.uniport.network",standard:"EIP3091",icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"}}],faucets:["https://faucet-testnet.uniport.network"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"},infoURL:"https://uniport.network",name:"UPchain Testnet",nativeCurrency:{name:"UBTC",symbol:"UBTC",decimals:18},networkId:336655,rpc:["https://336655.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.uniport.network"],shortName:"UPchain-testnet",slug:"upchain-testnet",testnet:!0},JSt={chain:"UPchain",chainId:336666,explorers:[{name:"UPchain Mainnet Explorer",url:"https://explorer.uniport.network",standard:"EIP3091",icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"},infoURL:"https://uniport.network",name:"UPchain Mainnet",nativeCurrency:{name:"UBTC",symbol:"UBTC",decimals:18},networkId:336666,rpc:["https://336666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.uniport.network"],shortName:"UPchain-mainnet",slug:"upchain",testnet:!1},XSt={chain:"BFT",chainId:355110,explorers:[{name:"Bitfinity Mainnet Block Explorer",url:"https://explorer.mainnet.bitfinity.network",standard:"EIP3091",icon:{url:"ipfs://bafkreiczbhnoc5wpjikskmehexmg3xmqr4fchrny64db4wmk3lrygqik5e",width:796,height:129,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://bitfinity.network",name:"Bitfinity Network Mainnet",nativeCurrency:{name:"Bitfinity Token",symbol:"BFT",decimals:18},networkId:355110,rpc:["https://355110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bitfinity.network"],shortName:"bitfinity-mainnet",slug:"bitfinity-network",testnet:!1},ZSt={chain:"BFT",chainId:355113,explorers:[{name:"Bitfinity Testnet Block Explorer",url:"https://explorer.testnet.bitfinity.network",standard:"EIP3091",icon:{url:"ipfs://bafkreiczbhnoc5wpjikskmehexmg3xmqr4fchrny64db4wmk3lrygqik5e",width:796,height:129,format:"png"}},{name:"Bitfinity Testnet Block Explorer",url:"https://bitfinity-test.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:["https://bitfinity.network/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://bitfinity.network",name:"Bitfinity Network Testnet",nativeCurrency:{name:"Bitfinity Token",symbol:"BFT",decimals:18},networkId:355113,rpc:["https://355113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bitfinity.network"],shortName:"bitfinity-testnet",slug:"bitfinity-network-testnet",testnet:!0},eRt={chain:"LAVITA",chainId:360890,explorers:[{name:"LAVITA Mainnet Explorer",url:"https://tsub360890-explorer.thetatoken.org",standard:"EIP3091",icon:{url:"ipfs://QmfHbWCxwSjf8qmg4yw8jySHZijRXTPW8f5xd2T5sjbeCY",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfHbWCxwSjf8qmg4yw8jySHZijRXTPW8f5xd2T5sjbeCY",width:1024,height:1024,format:"png"},infoURL:"https://www.lavita.ai",name:"LAVITA Mainnet",nativeCurrency:{name:"vTFUEL",symbol:"vTFUEL",decimals:18},networkId:360890,rpc:["https://360890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tsub360890-eth-rpc.thetatoken.org/rpc"],shortName:"lavita-mainnet",slug:"lavita",testnet:!1},tRt={chain:"DS2",chainId:363636,explorers:[{name:"Digit Soul Explorer",url:"https://dgs-exp.digitsoul.co.th",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRiAUu3xV5uiX6Nk1iXD5w6qjki5ugGFETRVavzJ2h5QF",width:370,height:320,format:"png"},name:"Digit Soul Smart Chain 2",nativeCurrency:{name:"Digit Coin",symbol:"DGC",decimals:18},networkId:363636,rpc:["https://363636.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dgs-rpc.digitsoul.co.th"],shortName:"DS2",slug:"digit-soul-smart-chain-2",testnet:!1},nRt={chain:"HAPchain",chainId:373737,explorers:[{name:"HAP EVM Explorer (Blockscout)",url:"https://blockscout-test.hap.land",standard:"none",icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"},infoURL:"https://hap.land",name:"HAPchain Testnet",nativeCurrency:{name:"HAP",symbol:"HAP",decimals:18},networkId:373737,rpc:["https://373737.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc-test.hap.land"],shortName:"hap-testnet",slip44:1,slug:"hapchain-testnet",testnet:!0},aRt={chain:"Metal",chainId:381931,explorers:[{name:"metalscan",url:"https://metalscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.metalblockchain.org/",name:"Metal C-Chain",nativeCurrency:{name:"Metal",symbol:"METAL",decimals:18},networkId:381931,rpc:["https://381931.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.metalblockchain.org/ext/bc/C/rpc"],shortName:"metal",slip44:9005,slug:"metal-c-chain",testnet:!1},rRt={chain:"Metal",chainId:381932,explorers:[{name:"metalscan",url:"https://tahoe.metalscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.metalblockchain.org/",name:"Metal Tahoe C-Chain",nativeCurrency:{name:"Metal",symbol:"METAL",decimals:18},networkId:381932,rpc:["https://381932.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tahoe.metalblockchain.org/ext/bc/C/rpc"],shortName:"Tahoe",slip44:9005,slug:"metal-tahoe-c-chain",testnet:!1},fRt={chain:"TPBX",chainId:404040,explorers:[{name:"Tipboxcoin",url:"https://tipboxcoin.net",standard:"EIP3091"}],faucets:["https://faucet.tipboxcoin.net"],icon:{url:"ipfs://QmbiaHnR3fVVofZ7Xq2GYZxwHkLEy3Fh5qDtqnqXD6ACAh",width:192,height:192,format:"png"},infoURL:"https://tipboxcoin.net",name:"Tipboxcoin Mainnet",nativeCurrency:{name:"Tipboxcoin",symbol:"TPBX",decimals:18},networkId:404040,rpc:["https://404040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tipboxcoin.net"],shortName:"TPBXm",slug:"tipboxcoin",testnet:!1},iRt={chain:"AIE",chainId:413413,explorers:[{name:"aiescan-testnet",url:"https://testnet.aiescan.io",standard:"none",icon:{url:"ipfs://bafkreihok46mhn5yf7b5jgmq7tiyw2fw76wklvj4frpc3gbswgfxzerhhm",width:3481,height:3500,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreihok46mhn5yf7b5jgmq7tiyw2fw76wklvj4frpc3gbswgfxzerhhm",width:3481,height:3500,format:"png"},infoURL:"https://testnet.aiescan.io",name:"AIE Testnet",nativeCurrency:{name:"AIE",symbol:"tAIE",decimals:18},networkId:413413,rpc:["https://413413.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1-testnet.aiechain.io"],shortName:"aiet",slug:"aie-testnet",testnet:!0},sRt={chain:"kek",chainId:420420,explorers:[{name:"blockscout",url:"https://mainnet-explorer.kekchain.com",standard:"EIP3091",icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"},infoURL:"https://kekchain.com",name:"Kekchain",nativeCurrency:{name:"KEK",symbol:"KEK",decimals:18},networkId:103090,rpc:["https://420420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.kekchain.com"],shortName:"KEK",slug:"kekchain",testnet:!1},oRt={chain:"kek",chainId:420666,explorers:[{name:"blockscout",url:"https://testnet-explorer.kekchain.com",standard:"EIP3091",icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"},infoURL:"https://kekchain.com",name:"Kekchain (kektest)",nativeCurrency:{name:"tKEK",symbol:"tKEK",decimals:18},networkId:1,rpc:["https://420666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.kekchain.com"],shortName:"tKEK",slip44:1,slug:"kekchain-kektest",testnet:!0},cRt={chain:"ALT",chainId:420692,explorers:[{name:"Alterium L2 Testnet Explorer",url:"https://l2-testnet.altscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreid3v7ow4c4t3ljya6aouiwvqbtssb2lzmkwt2eghryk234g7yynrq",width:756,height:756,format:"png"},infoURL:"https://alteriumprotocol.org",name:"Alterium L2 Testnet",nativeCurrency:{name:"Alterium ETH",symbol:"AltETH",decimals:18},networkId:420692,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://testnet-bridge.alteriumprotocol.org"}]},rpc:["https://420692.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-testnet-rpc.altscan.org"],shortName:"alterium",slip44:1,slug:"alterium-l2-testnet",testnet:!0},dRt={chain:"ETH",chainId:421611,explorers:[{name:"arbiscan-testnet",url:"https://testnet.arbiscan.io",standard:"EIP3091"},{name:"arbitrum-rinkeby",url:"https://rinkeby-explorer.arbitrum.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=421611&address=${ADDRESS}"],features:[],infoURL:"https://arbitrum.io",name:"Arbitrum Rinkeby",nativeCurrency:{name:"Arbitrum Rinkeby Ether",symbol:"ETH",decimals:18},networkId:421611,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://bridge.arbitrum.io"}]},redFlags:[],rpc:["https://421611.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinkeby.arbitrum.io/rpc"],shortName:"arb-rinkeby",slip44:1,slug:"arbitrum-rinkeby",status:"deprecated",testnet:!0,title:"Arbitrum Testnet Rinkeby"},lRt={chain:"ETH",chainId:421613,explorers:[{name:"Arbitrum Goerli Arbiscan",url:"https://goerli.arbiscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/arbitrum/512.png",width:512,height:512,format:"png"},infoURL:"https://arbitrum.io/",name:"Arbitrum Goerli",nativeCurrency:{name:"Arbitrum Goerli Ether",symbol:"AGOR",decimals:18},networkId:421613,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://bridge.arbitrum.io/"}]},redFlags:[],rpc:["https://421613.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli-rollup.arbitrum.io/rpc","https://arbitrum-goerli.publicnode.com","wss://arbitrum-goerli.publicnode.com"],shortName:"arb-goerli",slip44:1,slug:"arbitrum-goerli",status:"deprecated",testnet:!0,title:"Arbitrum Goerli Rollup Testnet"},IHe={chain:"ETH",chainId:421614,explorers:[{name:"Arbitrum Sepolia Rollup Testnet Explorer",url:"https://sepolia-explorer.arbitrum.io",standard:"EIP3091"}],faucets:[],infoURL:"https://arbitrum.io",name:"Arbitrum Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:421614,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.arbitrum.io"}]},rpc:["https://421614.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rollup.arbitrum.io/rpc","https://arbitrum-sepolia.infura.io/v3/${INFURA_API_KEY}"],shortName:"arb-sep",slip44:1,slug:"arbitrum-sepolia",testnet:!0,title:"Arbitrum Sepolia Rollup Testnet"},uRt={chain:"FTN",chainId:424242,explorers:[{name:"blockscout",url:"https://testnet.ftnscan.com",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://fastex.com",name:"Fastex Chain testnet",nativeCurrency:{name:"FTN",symbol:"FTN",decimals:18},networkId:424242,rpc:["https://424242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.fastexchain.com"],shortName:"fastexTestnet",slip44:1,slug:"fastex-chain-testnet",testnet:!0,title:"Fastex Chain testnet"},pRt={chain:"Unified",chainId:431140,explorers:[],faucets:[],icon:{url:"ipfs://QmVMBTZVPawyLBD2B5VbG68dfWLfZ1CnB8V59xduBe2kwh",width:84,height:84,format:"png"},infoURL:"https://www.markr.io/",name:"Markr Go",nativeCurrency:{name:"Avalanche",symbol:"AVAX",decimals:18},networkId:431140,rpc:["https://431140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.markr.io/ext/"],shortName:"markr-go",slug:"markr-go",status:"incubating",testnet:!1},hRt={chain:"Avalanche",chainId:431188,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Foundation Testnet",nativeCurrency:{name:"Foundation Testnet Token",symbol:"TFND",decimals:18},networkId:431188,redFlags:[],rpc:["https://431188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/foundation/testnet/rpc"],shortName:"Foundation Testnet",slug:"foundation-testnet",testnet:!0},bRt={chain:"DEXALOT",chainId:432201,explorers:[{name:"Avalanche Subnet Testnet Explorer",url:"https://subnets-test.avax.network/dexalot",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=dexalot"],icon:{url:"ipfs://QmfVxdrWjtUKiGzqFDzAxHH2FqwP2aRuZTGcYWdWg519Xy",width:256,height:256,format:"png"},infoURL:"https://dexalot.com",name:"Dexalot Subnet Testnet",nativeCurrency:{name:"Dexalot",symbol:"ALOT",decimals:18},networkId:432201,rpc:["https://432201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/dexalot/testnet/rpc"],shortName:"dexalot-testnet",slip44:1,slug:"dexalot-subnet-testnet",testnet:!0},mRt={chain:"DEXALOT",chainId:432204,explorers:[{name:"Avalanche Subnet Explorer",url:"https://subnets.avax.network/dexalot",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfVxdrWjtUKiGzqFDzAxHH2FqwP2aRuZTGcYWdWg519Xy",width:256,height:256,format:"png"},infoURL:"https://dexalot.com",name:"Dexalot Subnet",nativeCurrency:{name:"Dexalot",symbol:"ALOT",decimals:18},networkId:432204,rpc:["https://432204.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/dexalot/mainnet/rpc"],shortName:"dexalot",slug:"dexalot-subnet",testnet:!1},yRt={chain:"SYNDRSEPOLIA",chainId:444444,explorers:[{name:"Syndr L3 Sepolia Testnet Explorer",url:"https://sepolia-explorer.syndr.com",standard:"EIP3091"}],faucets:[],infoURL:"https://syndr.com",name:"Syndr L3 Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:444444,parent:{type:"L2",chain:"eip155-421614",bridges:[{url:"https://sepolia-bridge.syndr.com"}]},rpc:["https://444444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.syndr.com/http","wss://sepolia.syndr.com/ws"],shortName:"syndr",slug:"syndr-l3-sepolia",testnet:!0,title:"Syndr L3 Sepolia Rollup Testnet"},gRt={chain:"WLK",chainId:444900,explorers:[{name:"weelink-testnet",url:"https://weelink.cloud/#/blockView/overview",standard:"none"}],faucets:["https://faucet.weelink.gw002.oneitfarm.com"],infoURL:"https://weelink.cloud",name:"Weelink Testnet",nativeCurrency:{name:"Weelink Chain Token",symbol:"tWLK",decimals:18},networkId:444900,rpc:["https://444900.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://weelinknode1c.gw002.oneitfarm.com"],shortName:"wlkt",slip44:1,slug:"weelink-testnet",testnet:!0},vRt={chain:"ETH",chainId:471100,explorers:[],faucets:[],infoURL:"https://patex.io/",name:"Patex Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:471100,rpc:["https://471100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc.patex.io/"],shortName:"psep",slip44:1,slug:"patex-sepolia-testnet",testnet:!0},wRt={chain:"ultrapro",chainId:473861,explorers:[{name:"ultraproscan",url:"https://ultraproscan.io",standard:"EIP3091",icon:{url:"ipfs://QmT11iJMLe9sAk5NiRQbe2wv1jtLFCs2sF2w9vFwDLkkgE",width:500,height:500,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmT11iJMLe9sAk5NiRQbe2wv1jtLFCs2sF2w9vFwDLkkgE",width:500,height:500,format:"png"},infoURL:"https://ultrapro.info",name:"Ultra Pro Mainnet",nativeCurrency:{name:"Ultra Pro",symbol:"UPRO",decimals:18},networkId:473861,rpc:["https://473861.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.ultraproscan.io"],shortName:"ultrapro",slug:"ultra-pro",testnet:!1},TRt={chain:"OpenChain",chainId:474142,explorers:[{name:"SIDE SCAN",url:"https://sidescan.luniverse.io/1641349324562974539",standard:"none"}],faucets:[],infoURL:"https://www.openchain.live",name:"OpenChain Mainnet",nativeCurrency:{name:"OpenCoin",symbol:"OPC",decimals:10},networkId:474142,rpc:["https://474142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://baas-rpc.luniverse.io:18545?lChainId=1641349324562974539"],shortName:"oc",slug:"openchain",testnet:!1},xRt={chain:"Avalanche",chainId:504441,explorers:[{name:"Playdapp Explorer",url:"https://subnets.avax.network/playdappne",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Playdapp Network",nativeCurrency:{name:"Playdapp Network Token",symbol:"PDA",decimals:18},networkId:504441,redFlags:[],rpc:["https://504441.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/playdappne/mainnet/rpc"],shortName:"Playdapp Network",slug:"playdapp-network",testnet:!1},ERt={chain:"CMP",chainId:512512,explorers:[{name:"Galaxy Scan",url:"https://galaxy.scan.caduceus.foundation",standard:"none"}],faucets:["https://dev.caduceus.foundation/testNetwork"],infoURL:"https://caduceus.foundation/",name:"CMP-Testnet",nativeCurrency:{name:"Caduceus Testnet Token",symbol:"CMP",decimals:18},networkId:512512,rpc:["https://512512.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://galaxy.block.caduceus.foundation","wss://galaxy.block.caduceus.foundation"],shortName:"cmp",slip44:1,slug:"cmp-testnet",testnet:!0},_Rt={chain:"DIS",chainId:513100,explorers:[{name:"DisChain",url:"https://www.oklink.com/dis",standard:"EIP3091"}],faucets:[],infoURL:"https://dischain.xyz",name:"DisChain",nativeCurrency:{name:"DisChain",symbol:"DIS",decimals:18},networkId:513100,rpc:["https://513100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dischain.xyz"],shortName:"dis",slug:"dischain",testnet:!1},ARt={chain:"DoCoin",chainId:526916,explorers:[{name:"DoCoin Community Chain Explorer",url:"https://explorer.docoin.shop",standard:"EIP3091"}],faucets:[],infoURL:"https://docoin.network",name:"DoCoin Community Chain",nativeCurrency:{name:"DO",symbol:"DCT",decimals:18},networkId:526916,rpc:["https://526916.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.docoin.shop"],shortName:"DoCoin",slug:"docoin-community-chain",testnet:!1,title:"DoCoin Community Chain"},CRt={chain:"ETH",chainId:534351,explorers:[{name:"Scroll Sepolia Etherscan",url:"https://sepolia.scrollscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://scroll.io",name:"Scroll Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:534351,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://sepolia.scroll.io/bridge"}]},rpc:["https://534351.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.scroll.io","https://rpc.ankr.com/scroll_sepolia_testnet","https://scroll-sepolia.chainstacklabs.com","https://scroll-testnet-public.unifra.io"],shortName:"scr-sepolia",slip44:1,slug:"scroll-sepolia-testnet",status:"active",testnet:!0},IRt={chain:"ETH",chainId:534352,explorers:[{name:"Scrollscan",url:"https://scrollscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://scroll.io",name:"Scroll",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:534352,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://scroll.io/bridge"}]},rpc:["https://534352.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.scroll.io","https://rpc.ankr.com/scroll","https://scroll-mainnet.chainstacklabs.com"],shortName:"scr",slug:"scroll",status:"active",testnet:!1},kRt={chain:"ETH",chainId:534353,explorers:[{name:"Scroll Alpha Testnet Block Explorer",url:"https://alpha-blockscout.scroll.io",standard:"EIP3091"}],faucets:[],infoURL:"https://scroll.io",name:"Scroll Alpha Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:534353,parent:{type:"L2",chain:"eip155-5",bridges:[]},rpc:["https://534353.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-rpc.scroll.io/l2"],shortName:"scr-alpha",slip44:1,slug:"scroll-alpha-testnet",status:"deprecated",testnet:!0},SRt={chain:"ETH",chainId:534354,explorers:[],faucets:[],infoURL:"https://scroll.io",name:"Scroll Pre-Alpha Testnet",nativeCurrency:{name:"Ether",symbol:"TSETH",decimals:18},networkId:534354,rpc:[],shortName:"scr-prealpha",slip44:1,slug:"scroll-pre-alpha-testnet",status:"deprecated",testnet:!0},RRt={chain:"Shinarium",chainId:534849,explorers:[{name:"shinascan",url:"https://shinascan.shinarium.org",standard:"EIP3091"}],faucets:["https://faucet.shinarium.org"],icon:{url:"ipfs://bafybeiadbavrwcial76vs5ovhyykyaobteltuhliqcthdairbja4klwzhu",width:1e3,height:1e3,format:"png"},infoURL:"https://shinarium.org",name:"Shinarium Beta",nativeCurrency:{name:"Shina Inu",symbol:"SHI",decimals:18},networkId:534849,rpc:["https://534849.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shinarium.org"],shortName:"shi",slug:"shinarium-beta",testnet:!1},MRt={chain:"BESC",chainId:535037,explorers:[{name:"bescscan",url:"https://Bescscan.io",standard:"EIP3091"}],faucets:[],name:"BeanEco SmartChain",nativeCurrency:{name:"BeanEco SmartChain",symbol:"BESC",decimals:18},networkId:535037,rpc:["https://535037.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.bescscan.io"],shortName:"BESC",slug:"beaneco-smartchain",testnet:!1,title:"BESC Mainnet"},BRt={chain:"One World Chain",chainId:552981,explorers:[{name:"One World Chain Testnet Explorer",url:"https://testnet.oneworldchain.org",standard:"EIP3091"}],faucets:["https://faucet.oneworldchain.org"],icon:{url:"ipfs://QmPmZ6vgtdMG7jttVZQUobF96Sva1noi5Fsi28V1Eck6eC",width:200,height:200,format:"png"},infoURL:"https://oneworldchain.org",name:"One World Chain Testnet",nativeCurrency:{name:"OWCT",symbol:"OWCT",decimals:18},networkId:552981,rpc:["https://552981.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.oneworldchain.org"],shortName:"OWCTt",slug:"one-world-chain-testnet",testnet:!0},DRt={chain:"Avalanche",chainId:555666,explorers:[{name:"ECLIPSE Explorer",url:"https://subnets-test.avax.network/eclipsecha",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"EclipseChain Testnet",nativeCurrency:{name:"EclipseChain Testnet Token",symbol:"ECLPS",decimals:18},networkId:555666,redFlags:[],rpc:["https://555666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/eclipsecha/testnet/rpc"],shortName:"EclipseChain Testnet",slug:"eclipsechain-testnet",testnet:!0},PRt={chain:"HYP",chainId:622277,explorers:[{name:"hypra",url:"https://explorer.hypra.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreiawlhc2trzyxgnz24vowdymxme2m446uk4vmrplgxsdd74ecpfloq",width:830,height:830,format:"png"},infoURL:"https://www.hypra.network",name:"Hypra Mainnet",nativeCurrency:{name:"Hypra",symbol:"HYP",decimals:18},networkId:622277,rpc:["https://622277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hypra.network","https://rpc.rethereum.org","https://rethereum.rpc.restratagem.com","https://rpc.rthcentral.org"],shortName:"hyp",slug:"hypra",testnet:!1},LRt={chain:"BRNKC",chainId:641230,explorers:[{name:"brnkscan",url:"https://brnkscan.bearnetwork.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQqhH28QpUrreoRw5Gj8YShzdHxxVGMjfVrx3TqJNLSLv",width:1067,height:1067,format:"png"},infoURL:"https://bearnetwork.net",name:"Bear Network Chain Mainnet",nativeCurrency:{name:"Bear Network Chain Native Token",symbol:"BRNKC",decimals:18},networkId:641230,rpc:["https://641230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://brnkc-mainnet.bearnetwork.net","https://brnkc-mainnet1.bearnetwork.net"],shortName:"BRNKC",slug:"bear-network-chain",testnet:!1},FRt={chain:"ALL",chainId:651940,explorers:[{name:"Alltra SmartChain Explorer",url:"https://alltra.global",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibqe2mgiqezi24sx272kunqt6pv7uzxhpkxuobvpbsptce3q6nn5i",width:1e3,height:1e3,format:"png"},infoURL:"https://alltra.world",name:"ALL Mainnet",nativeCurrency:{name:"ALL",symbol:"ALL",decimals:18},networkId:651940,rpc:["https://651940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.alltra.global"],shortName:"ALL",slug:"all",testnet:!1},NRt={chain:"Xai Mainnet",chainId:660279,explorers:[{name:"Blockscout",url:"https://explorer.xai-chain.net",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmZKFekbHxDkB8gFmmmjWz89SLhwg38GkALmAKo3gn753N/2024-01-10%2012.50.15.jpg",width:512,height:512,format:"jpg"},infoURL:"https://xai.games/",name:"Xai Mainnet",nativeCurrency:{name:"XAI token",symbol:"XAI",decimals:18},networkId:660279,redFlags:[],rpc:["https://660279.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xai-chain.net/rpc/xai79df8614da076af58f199126a07db","https://xai-chain.net/rpc"],shortName:"xai",slug:"xai",testnet:!1},ORt={chain:"OCASH",chainId:660868,explorers:[],faucets:[],features:[],icon:{url:"https://ipfs.io/ipfs/QmbwuoezvkfZBY9nrZ65n3iHGyhJG6yDRyhPjqE6k3uCiM",width:350,height:350,format:"PNG"},infoURL:"https://www.overline.network",name:"Ocash testnet",nativeCurrency:{name:"OCASH",symbol:"OCASH",decimals:18},networkId:660868,redFlags:[],rpc:[],shortName:"ocash",slug:"ocash-testnet",testnet:!0},URt={chain:"Vision-Vpioneer",chainId:666666,explorers:[],faucets:["https://vpioneerfaucet.visionscan.org"],infoURL:"https://visionscan.org",name:"Vision - Vpioneer Test Chain",nativeCurrency:{name:"VS",symbol:"VS",decimals:18},networkId:666666,rpc:["https://666666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vpioneer.infragrid.v.network/ethereum/compatible"],shortName:"vpioneer",slip44:1,slug:"vision-vpioneer-test-chain",testnet:!0},HRt={chain:"Hela",chainId:666888,explorers:[{name:"Hela Official Runtime Testnet Explorer",url:"https://testnet-blockexplorer.helachain.com",standard:"EIP3091"}],faucets:["https://testnet-faucet.helachain.com"],icon:{url:"ipfs://QmQbUVcaxFwY8gqMq1Jeup4NEyivo12QYhbLvVRvgXRBFb",width:719,height:216,format:"png"},infoURL:"https://helalabs.com",name:"Hela Official Runtime Testnet",nativeCurrency:{name:"Hela HLUSD",symbol:"HLUSD",decimals:18},networkId:666888,rpc:["https://666888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.helachain.com"],shortName:"hela-testnet",slip44:1,slug:"hela-official-runtime-testnet",testnet:!0},zRt={chain:"WON",chainId:686868,explorers:[{name:"Won Explorer",url:"https://scan.wonnetwork.org",standard:"EIP3091"}],faucets:["https://faucet.wondollars.org"],icon:{url:"ipfs://QmQ6mjKWJQ5WmFiJzcqJnuHWZK53nQYJB1SnMQZEqgr74h",width:250,height:250,format:"png"},infoURL:"https://wonnetwork.org",name:"Won Network",nativeCurrency:{name:"Won",symbol:"WON",decimals:18},networkId:686868,rpc:["https://686868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.wonnetwork.org"],shortName:"WonChain",slug:"won-network",testnet:!1},WRt={chain:"Galadriel",chainId:696969,explorers:[{name:"Galadriel Explorer",url:"https://explorer.galadriel.com",standard:"none"}],faucets:["https://docs.galadriel.com/faucet"],infoURL:"https://galadriel.com",name:"Galadriel Devnet",nativeCurrency:{name:"Galadriel Devnet token",symbol:"GAL",decimals:18},networkId:696969,rpc:["https://696969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.galadriel.com"],shortName:"galadriel-devnet",slug:"galadriel-devnet",testnet:!1},qRt={chain:"Avalanche",chainId:710420,explorers:[{name:"TILTYARD Explorer",url:"https://subnets.avax.network/tiltyard",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tiltyard",nativeCurrency:{name:"Tiltyard Token",symbol:"TILT",decimals:18},networkId:710420,redFlags:[],rpc:["https://710420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/tiltyard/mainnet/rpc"],shortName:"Tiltyard",slug:"tiltyard",testnet:!1},jRt={chain:"Sei",chainId:713715,explorers:[{name:"Seistream",url:"https://seistream.app",standard:"none"},{name:"Seitrace",url:"https://seitrace.com",standard:"EIP3091"}],faucets:["https://sei-faucet.nima.enterprises","https://sei-evm.faucetme.pro"],icon:{url:"ipfs://bafkreih3l3iisplmikofkbfyimqlox7nmixzlkzhjoewmpi4jbqitwryoa",width:600,height:600,format:"png"},infoURL:"https://www.sei.io",name:"Sei Devnet",nativeCurrency:{name:"Sei",symbol:"SEI",decimals:18},networkId:713715,rpc:["https://713715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc-arctic-1.sei-apis.com","https://evm-rpc.arctic-1.seinetwork.io"],shortName:"sei-devnet",slug:"sei-devnet",testnet:!1},GRt={chain:"ETH",chainId:743111,explorers:[{name:"blockscout",url:"https://testnet.explorer.hemi.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfP6GDn5eXFcpWuoiyWn5pjn6PYB7HQhRD8nSko1zR8KD",width:1200,height:1200,format:"png"},infoURL:"https://hemi.xyz",name:"Hemi Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:743111,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://743111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.hemi.network/rpc"],shortName:"hemi-sep",slug:"hemi-sepolia",status:"active",testnet:!0},KRt={chain:"BRNKCTEST",chainId:751230,explorers:[{name:"brnktestscan",url:"https://brnktest-scan.bearnetwork.net",standard:"EIP3091"}],faucets:["https://faucet.bearnetwork.net"],icon:{url:"ipfs://QmQqhH28QpUrreoRw5Gj8YShzdHxxVGMjfVrx3TqJNLSLv",width:1067,height:1067,format:"png"},infoURL:"https://bearnetwork.net",name:"Bear Network Chain Testnet",nativeCurrency:{name:"Bear Network Chain Testnet Token",symbol:"tBRNKC",decimals:18},networkId:751230,rpc:["https://751230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://brnkc-test.bearnetwork.net"],shortName:"BRNKCTEST",slip44:1,slug:"bear-network-chain-testnet",testnet:!0},QRt={chain:"MiexsSmartchain",chainId:761412,explorers:[{name:"Miexs Smartchain Explorer",url:"https://miexs.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreic6tcc6swh5kzljwqnswj6rlemcm7n6ra7xkgttwv5v3fv7ozj5zu",width:1500,height:1500,format:"png"},infoURL:"https://miexs.com",name:"Miexs Smartchain",nativeCurrency:{name:"Miexs Coin",symbol:"MIX",decimals:18},networkId:761412,rpc:["https://761412.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.miexs.com"],shortName:"Miexs",slug:"miexs-smartchain",testnet:!1},VRt={chain:"Avalanche",chainId:764984,explorers:[{name:"Lamina1 Test Explorer",url:"https://subnets-test.avax.network/lamina1tes",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1 Testnet",nativeCurrency:{name:"Lamina1 Testnet Token",symbol:"L1T",decimals:18},networkId:764984,redFlags:[],rpc:["https://764984.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1tes/testnet/rpc"],shortName:"Lamina1 Testnet",slip44:1,slug:"lamina1-testnet",testnet:!0},YRt={chain:"Avalanche",chainId:767368,explorers:[{name:"Lamina1 Identity Testnet Explorer",url:"https://subnets-test.avax.network/lamina1id",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1 Identity Testnet",nativeCurrency:{name:"Lamina1 Identity Testnet Token",symbol:"L1IDT",decimals:18},networkId:767368,redFlags:[],rpc:["https://767368.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1id/testnet/rpc"],shortName:"Lamina1 Identity Testnet",slip44:1,slug:"lamina1-identity-testnet",testnet:!0},$Rt={chain:"EVMCC",chainId:776877,explorers:[{name:"Tanssi Explorer",url:"https://tanssi-evmexplorer.netlify.app/?rpcUrl=https://fraa-dancebox-3035-rpc.a.dancebox.tanssi.network",standard:"none"}],faucets:[],infoURL:"https://www.rmrk.app/",name:"Modularium",nativeCurrency:{name:"Modularium",symbol:"MDM",decimals:18},networkId:776877,rpc:["https://776877.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3035-rpc.a.dancebox.tanssi.network"],shortName:"mdlrm",slug:"modularium",testnet:!1},JRt={chain:"OCTA",chainId:800001,explorers:[{name:"blockscout",url:"https://explorer.octa.space",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVhezQHkqSZ5Tvtsw18giA1yBjV1URSsBQ7HenUh6p6oC",width:512,height:512,format:"png"},infoURL:"https://octa.space",name:"OctaSpace",nativeCurrency:{name:"OctaSpace",symbol:"OCTA",decimals:18},networkId:800001,rpc:["https://800001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.octa.space","wss://rpc.octa.space"],shortName:"octa",slug:"octaspace",testnet:!1},XRt={chain:"BIZT Testnet",chainId:808080,explorers:[{name:"BIZ Smart Chain Testnet Explorer",url:"https://testnet.btscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmNnaDZRoMz9aoho35TGHBY5zD16P39cgPpw3z3jnkDHHB",width:104,height:104,format:"png"},infoURL:"https://www.biztoken.io/",name:"BIZ Smart Chain Testnet",nativeCurrency:{name:"tBIZT",symbol:"tBIZT",decimals:18},networkId:808080,rpc:["https://808080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bizex.io/"],shortName:"bizt-testnet",slip44:1,slug:"biz-smart-chain-testnet",testnet:!0},ZRt={chain:"ETH",chainId:810180,explorers:[{name:"zkLink Nova Block Explorer",url:"https://explorer.zklink.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"},infoURL:"https://zklink.io",name:"zkLink Nova Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:810180,parent:{type:"L2",chain:"eip155-59144",bridges:[{url:"https://portal.zklink.io"}]},rpc:["https://810180.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zklink.io","wss://rpc.zklink.io"],shortName:"zklink-nova",slip44:1,slug:"zklink-nova",testnet:!1},eMt={chain:"ETH",chainId:810181,explorers:[{name:"zkLink Nova Block Explorer",url:"https://sepolia.explorer.zklink.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"},infoURL:"https://zklink.io",name:"zkLink Nova Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:810181,parent:{type:"L2",chain:"eip155-59141",bridges:[{url:"https://sepolia.portal.zklink.io"}]},rpc:["https://810181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.rpc.zklink.io","wss://sepolia.rpc.zklink.io"],shortName:"zklink-nova-sepolia",slip44:1,slug:"zklink-nova-sepolia-testnet",testnet:!0},tMt={chain:"ETH",chainId:810182,explorers:[{name:"zkLink Nova Block Explorer",url:"https://goerli.explorer.zklink.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"},infoURL:"https://zklink.io",name:"zkLink Nova Goerli Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:810182,parent:{type:"L2",chain:"eip155-59140",bridges:[{url:"https://goerli.portal.zklink.io"}]},rpc:["https://810182.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.rpc.zklink.io","wss://goerli.rpc.zklink.io"],shortName:"zklink-nova-goerli",slip44:1,slug:"zklink-nova-goerli-testnet",testnet:!0},nMt={chain:"CURVE",chainId:827431,explorers:[{name:"CURVE Mainnet",url:"https://curvescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTjV3TTR5aLb7fi7tjx8gcDvYtqBpusqhCSaznVxJ7NJg",width:150,height:150,format:"png"},infoURL:"https://curvescan.io",name:"CURVE Mainnet",nativeCurrency:{name:"Curve",symbol:"CURVE",decimals:18},networkId:827431,rpc:["https://827431.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.curvescan.io"],shortName:"CURVEm",slug:"curve",testnet:!1},aMt={chain:"prm",chainId:839320,explorers:[{name:"Primal Network Testnet",url:"https://testnet-explorer.prmscan.org",standard:"EIP3091"}],faucets:["https://faucet.prmscan.org"],icon:{url:"ipfs://QmckkDRkuCQWbvhpKGsqa8ajuQvf3W5dekzw5qpiPC6shk",width:1220,height:1220,format:"png"},infoURL:"https://primalnetwork.org",name:"PRM Testnet",nativeCurrency:{name:"Primal Network",symbol:"PRM",decimals:18},networkId:839320,rpc:["https://839320.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.prmscan.org"],shortName:"prmtest",slug:"prm-testnet",testnet:!0},rMt={chain:"4GN",chainId:846e3,explorers:[],faucets:[],infoURL:"https://bloqs4good.com",name:"4GoodNetwork",nativeCurrency:{name:"APTA",symbol:"APTA",decimals:18},networkId:846e3,rpc:["https://846000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.deptofgood.com"],shortName:"bloqs4good",slug:"4goodnetwork",testnet:!1},fMt={chain:"EVMCC",chainId:855456,explorers:[{name:"Dodao Explorer",url:"https://tanssi-evmexplorer.netlify.app/?rpcUrl=https://fraa-dancebox-3041-rpc.a.dancebox.tanssi.network",standard:"EIP3091",icon:{url:"ipfs://QmdWsi6mhs6Agb3LF4uycUwx2fgNmwkuAGb7JmsLPkwd3j",width:636,height:629,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdWsi6mhs6Agb3LF4uycUwx2fgNmwkuAGb7JmsLPkwd3j",width:636,height:629,format:"png"},infoURL:"https://dodao.dev/",name:"Dodao",nativeCurrency:{name:"Dodao",symbol:"DODAO",decimals:18},networkId:855456,rpc:["https://855456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3041-rpc.a.dancebox.tanssi.network","wss://fraa-dancebox-3041-rpc.a.dancebox.tanssi.network"],shortName:"dodao",slug:"dodao",testnet:!1},iMt={chain:"BLX",chainId:879151,explorers:[{name:"BlocX Mainnet Explorer",url:"https://explorer.blxscan.com",standard:"none",icon:{url:"ipfs://QmXM7XiLdSxhCub8MLSSo2J9V2qAkTcwdAGxcT57kurUzg",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXM7XiLdSxhCub8MLSSo2J9V2qAkTcwdAGxcT57kurUzg",width:512,height:512,format:"png"},infoURL:"https://www.blocxchain.org/",name:"BlocX Mainnet",nativeCurrency:{name:"BlocX",symbol:"BLX",decimals:18},networkId:879151,rpc:["https://879151.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.blxscan.com/"],shortName:"blx",slug:"blocx",testnet:!1},sMt={chain:"REXX",chainId:888882,explorers:[{name:"REXX Mainnet Explorer",url:"https://rexxnetwork.com",standard:"EIP3091"}],faucets:[],infoURL:"https://rexxnetwork.com",name:"REXX Mainnet",nativeCurrency:{name:"REXX",symbol:"REXX",decimals:18},networkId:888882,rpc:["https://888882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rexxnetwork.com"],shortName:"REXX",slug:"rexx",testnet:!1,title:"REXX Mainnet"},oMt={chain:"Vision",chainId:888888,explorers:[{name:"Visionscan",url:"https://www.visionscan.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.v.network",name:"Vision - Mainnet",nativeCurrency:{name:"VS",symbol:"VS",decimals:18},networkId:888888,rpc:["https://888888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://infragrid.v.network/ethereum/compatible"],shortName:"vision",slip44:60,slug:"vision",testnet:!1},cMt={chain:"TWT",chainId:894538,explorers:[{name:"explorer",url:"https://subnets-test.avax.network/thirdweb",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmXDGoJKuuwQKzY1Y7ZhgULg8hcmveu6PVaDaYQzEjKwkQ/Thirdweb-Icon-Black-BG.png",width:512,height:512,format:"png"},name:"thirdweb test subnet",nativeCurrency:{name:"TWT",symbol:"TWT",decimals:18},networkId:894538,redFlags:[],rpc:["https://894538.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/thirdweb/testnet/rpc"],shortName:"twt",slug:"thirdweb-test-subnet",testnet:!0},dMt={chain:"PSC",chainId:9e5,explorers:[{name:"Posichain Explorer",url:"https://explorer.posichain.org",standard:"EIP3091"}],faucets:[],infoURL:"https://posichain.org",name:"Posichain Mainnet Shard 0",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:9e5,rpc:["https://900000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.posichain.org","https://api.s0.posichain.org"],shortName:"psc-s0",slug:"posichain-shard-0",testnet:!1},lMt={chain:"PSC",chainId:91e4,explorers:[{name:"Posichain Explorer Testnet",url:"https://explorer-testnet.posichain.org",standard:"EIP3091"}],faucets:["https://faucet.posichain.org/"],infoURL:"https://posichain.org",name:"Posichain Testnet Shard 0",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:91e4,rpc:["https://910000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.t.posichain.org"],shortName:"psc-t-s0",slug:"posichain-testnet-shard-0",testnet:!0},uMt={chain:"RIA",chainId:912559,explorers:[{name:"Astria EVM Dusknet Explorer",url:"https://explorer.evm.dusk-3.devnet.astria.org",standard:"EIP3091"}],faucets:["https://faucet.evm.dusk-3.devnet.astria.org/"],icon:{url:"ipfs://QmVbzZYXdVFY3uFaWQd7iSRtdM2UKWohj9fVqqEwxcw2RV",width:200,height:200,format:"png"},infoURL:"https://docs.astria.org",name:"Astria EVM Dusknet",nativeCurrency:{name:"RIA",symbol:"RIA",decimals:18},networkId:912559,rpc:["https://912559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.evm.dusk-3.devnet.astria.org"],shortName:"ria-dev",slug:"astria-evm-dusknet",testnet:!1},pMt={chain:"Avalanche",chainId:914031,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0408T1TS Testnet",nativeCurrency:{name:"QR0408T1TS Testnet Token",symbol:"HOK",decimals:18},networkId:914031,redFlags:[],rpc:["https://914031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0408t1ts/testnet/rpc"],shortName:"QR0408T1TS Testnet",slug:"qr0408t1ts-testnet",testnet:!0},hMt={chain:"Avalanche",chainId:918806,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0529T1TS",nativeCurrency:{name:"QR0529T1TS Token",symbol:"MCV",decimals:18},networkId:918806,redFlags:[],rpc:["https://918806.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0529t1ts/testnet/rpc"],shortName:"QR0529T1TS",slug:"qr0529t1ts",testnet:!0},bMt={chain:"Avalanche",chainId:919517,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0508T1TP",nativeCurrency:{name:"QR0508T1TP Token",symbol:"AHO",decimals:18},networkId:919517,redFlags:[],rpc:["https://919517.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0508t1tp/testnet/rpc"],shortName:"QR0508T1TP",slug:"qr0508t1tp",testnet:!0},mMt={chain:"PSC",chainId:92e4,explorers:[{name:"Posichain Explorer Devnet",url:"https://explorer-devnet.posichain.org",standard:"EIP3091"}],faucets:["https://faucet.posichain.org/"],infoURL:"https://posichain.org",name:"Posichain Devnet Shard 0",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:92e4,rpc:["https://920000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.d.posichain.org"],shortName:"psc-d-s0",slug:"posichain-devnet-shard-0",testnet:!1},yMt={chain:"PSC",chainId:920001,explorers:[{name:"Posichain Explorer Devnet",url:"https://explorer-devnet.posichain.org",standard:"EIP3091"}],faucets:["https://faucet.posichain.org/"],infoURL:"https://posichain.org",name:"Posichain Devnet Shard 1",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:920001,rpc:["https://920001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.d.posichain.org"],shortName:"psc-d-s1",slug:"posichain-devnet-shard-1",testnet:!1},gMt={chain:"FNCY",chainId:923018,explorers:[{name:"fncy scan testnet",url:"https://fncyscan-testnet.fncy.world",standard:"EIP3091",icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"}}],faucets:["https://faucet-testnet.fncy.world"],icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"},infoURL:"https://fncyscan-testnet.fncy.world",name:"FNCY Testnet",nativeCurrency:{name:"FNCY",symbol:"FNCY",decimals:18},networkId:923018,rpc:["https://923018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fncy-testnet-seed.fncy.world"],shortName:"tFNCY",slip44:1,slug:"fncy-testnet",testnet:!0},vMt={chain:"Avalanche",chainId:928010,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0408T2TS Testnet",nativeCurrency:{name:"QR0408T2TS Testnet Token",symbol:"XYZ",decimals:18},networkId:928010,redFlags:[],rpc:["https://928010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0408t2ts/testnet/rpc"],shortName:"QR0408T2TS Testnet",slug:"qr0408t2ts-testnet",testnet:!0},wMt={chain:"Avalanche",chainId:929038,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0215Y1MP",nativeCurrency:{name:"QR0215Y1MP Token",symbol:"QAT",decimals:18},networkId:929038,redFlags:[],rpc:["https://929038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0215y1mp/mainnet/rpc"],shortName:"QR0215Y1MP",slug:"qr0215y1mp",testnet:!1},TMt={chain:"Avalanche",chainId:933039,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0422T1TS Testnet",nativeCurrency:{name:"QR0422T1TS Testnet Token",symbol:"DIF",decimals:18},networkId:933039,redFlags:[],rpc:["https://933039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0422t1ts/testnet/rpc"],shortName:"QR0422T1TS Testnet",slug:"qr0422t1ts-testnet",testnet:!0},xMt={chain:"Avalanche",chainId:933326,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0326T2TS Testnet",nativeCurrency:{name:"QR0326T2TS Testnet Token",symbol:"XFT",decimals:18},networkId:933326,redFlags:[],rpc:[],shortName:"QR0326T2TS Testnet",slug:"qr0326t2ts-testnet",testnet:!0},EMt={chain:"Avalanche",chainId:934567,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0506T1TS",nativeCurrency:{name:"QR0506T1TS Token",symbol:"VPE",decimals:18},networkId:934567,redFlags:[],rpc:["https://934567.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0506t1ts/testnet/rpc"],shortName:"QR0506T1TS",slug:"qr0506t1ts",testnet:!0},_Mt={chain:"Avalanche",chainId:939359,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0501T1TS",nativeCurrency:{name:"QR0501T1TS Token",symbol:"ZGM",decimals:18},networkId:939359,redFlags:[],rpc:["https://939359.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0501t1ts/testnet/rpc"],shortName:"QR0501T1TS",slug:"qr0501t1ts",testnet:!0},AMt={chain:"Avalanche",chainId:943503,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0520T1TS",nativeCurrency:{name:"QR0520T1TS Token",symbol:"JQH",decimals:18},networkId:943503,redFlags:[],rpc:["https://943503.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0520t1ts/testnet/rpc"],shortName:"QR0520T1TS",slug:"qr0520t1ts",testnet:!0},CMt={chain:"Avalanche",chainId:946751,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0214Y1P",nativeCurrency:{name:"QR0214Y1P Token",symbol:"QAT",decimals:18},networkId:946751,redFlags:[],rpc:["https://946751.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0214y1p/testnet/rpc"],shortName:"QR0214Y1P",slug:"qr0214y1p",testnet:!0},IMt={chain:"Avalanche",chainId:950375,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0209Y1S",nativeCurrency:{name:"QR0209Y1S Token",symbol:"XPU",decimals:18},networkId:950375,redFlags:[],rpc:["https://950375.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0209y1s/testnet/rpc"],shortName:"QR0209Y1S",slug:"qr0209y1s",testnet:!0},kMt={chain:"Avalanche",chainId:951083,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0205Y1S",nativeCurrency:{name:"QR0205Y1S Token",symbol:"MYO",decimals:18},networkId:951083,redFlags:[],rpc:["https://951083.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0205y1s/testnet/rpc"],shortName:"QR0205Y1S",slug:"qr0205y1s",testnet:!0},SMt={chain:"JONO12",chainId:955081,explorers:[{name:"JONO12 Explorer",url:"https://subnets-test.avax.network/jono12",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreievzx4ke62dtc77o47x7vs7nn67ghzrwku6h5dxo3hwcsqfeblke4",width:612,height:612,format:"png"},name:"Jono12 Subnet",nativeCurrency:{name:"Jono12 Token",symbol:"JONO",decimals:18},networkId:955081,rpc:["https://955081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jono12/testnet/rpc"],shortName:"jono12",slug:"jono12-subnet",testnet:!0},RMt={chain:"Eluvio",chainId:955305,explorers:[{name:"blockscout",url:"https://explorer.eluv.io",standard:"EIP3091"}],faucets:[],infoURL:"https://eluv.io",name:"Eluvio Content Fabric",nativeCurrency:{name:"ELV",symbol:"ELV",decimals:18},networkId:955305,rpc:["https://955305.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://host-76-74-28-226.contentfabric.io/eth/","https://host-76-74-28-232.contentfabric.io/eth/","https://host-76-74-29-2.contentfabric.io/eth/","https://host-76-74-29-8.contentfabric.io/eth/","https://host-76-74-29-34.contentfabric.io/eth/","https://host-76-74-29-35.contentfabric.io/eth/","https://host-154-14-211-98.contentfabric.io/eth/","https://host-154-14-192-66.contentfabric.io/eth/","https://host-60-240-133-202.contentfabric.io/eth/","https://host-64-235-250-98.contentfabric.io/eth/"],shortName:"elv",slip44:1011,slug:"eluvio-content-fabric",testnet:!1},MMt={chain:"Avalanche",chainId:958798,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0513T1TS",nativeCurrency:{name:"QR0513T1TS Token",symbol:"PME",decimals:18},networkId:958798,redFlags:[],rpc:["https://958798.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0513t1ts/testnet/rpc"],shortName:"QR0513T1TS",slug:"qr0513t1ts",testnet:!0},BMt={chain:"Avalanche",chainId:959009,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0508T1MP",nativeCurrency:{name:"QR0508T1MP Token",symbol:"AHO",decimals:18},networkId:959009,redFlags:[],rpc:["https://959009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0508t1mp/mainnet/rpc"],shortName:"QR0508T1MP",slug:"qr0508t1mp",testnet:!1},DMt={chain:"Avalanche",chainId:961256,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0326T4TS Testnet",nativeCurrency:{name:"QR0326T4TS Testnet Token",symbol:"HTF",decimals:18},networkId:961256,redFlags:[],rpc:["https://961256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0326t4ts/testnet/rpc"],shortName:"QR0326T4TS Testnet",slug:"qr0326t4ts-testnet",testnet:!0},PMt={chain:"Avalanche",chainId:970066,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0522T1TS",nativeCurrency:{name:"QR0522T1TS Token",symbol:"BUL",decimals:18},networkId:970066,redFlags:[],rpc:["https://970066.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0522t1ts/testnet/rpc"],shortName:"QR0522T1TS",slug:"qr0522t1ts",testnet:!0},LMt={chain:"Avalanche",chainId:976517,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0507Y1TS",nativeCurrency:{name:"QR0507Y1TS Token",symbol:"SQR",decimals:18},networkId:976517,redFlags:[],rpc:["https://976517.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0507y1ts/testnet/rpc"],shortName:"QR0507Y1TS",slug:"qr0507y1ts",testnet:!0},FMt={chain:"treasure",chainId:978657,explorers:[{name:"Treasurescan",url:"https://testnet.treasurescan.io/",standard:"EIP3091",icon:{url:"ipfs://QmbzZk23owb7grDEbEJLuxgUAqQVcHmdjsEkkCD7E9C5R9/Treasure_Primary_Icon%20-%20Karel%20Vuong.png",width:512,height:512,format:"png"}}],faucets:["https://portal.treasure.lol/faucet"],features:[],icon:{url:"ipfs://QmQYRpJAMyPt1DKz1iAuseX3puBZYmdGgFeaZCFDPhixXp",width:512,height:512,format:"svg"},infoURL:"https://portal.treasure.lol",name:"Treasure Ruby",nativeCurrency:{name:"Testnet MAGIC",symbol:"MAGIC",decimals:18},networkId:978657,redFlags:[],rpc:["https://978657.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.treasure.lol/http","wss://rpc-testnet.treasure.lol/ws"],shortName:"MAGIC",slug:"treasure-ruby",testnet:!0},NMt={chain:"Avalanche",chainId:978993,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0318T1TS Testnet",nativeCurrency:{name:"QR0318T1TS Testnet Token",symbol:"OSF",decimals:18},networkId:978993,redFlags:[],rpc:["https://978993.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0318t1ts/testnet/rpc"],shortName:"QR0318T1TS Testnet",slug:"qr0318t1ts-testnet",testnet:!0},OMt={chain:"Avalanche",chainId:980892,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0530T1TS",nativeCurrency:{name:"QR0530T1TS Token",symbol:"OXQ",decimals:18},networkId:980892,redFlags:[],rpc:["https://980892.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0530t1ts/testnet/rpc"],shortName:"QR0530T1TS",slug:"qr0530t1ts",testnet:!0},UMt={chain:"Avalanche",chainId:982558,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0429T1TS",nativeCurrency:{name:"QR0429T1TS Token",symbol:"EXT",decimals:18},networkId:982558,redFlags:[],rpc:["https://982558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0429t1ts/testnet/rpc"],shortName:"QR0429T1TS",slug:"qr0429t1ts",testnet:!0},HMt={chain:"Forma",chainId:984122,explorers:[{name:"blockscout",url:"https://explorer.forma.art",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQkjcadjAEefa4HLG26pKFvCaNZeZ7wWNxMkCVarW9tiU",width:400,height:400,format:"png"},infoURL:"https://forma.art",name:"Forma",nativeCurrency:{name:"TIA",symbol:"TIA",decimals:18},networkId:984122,rpc:["https://984122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.forma.art"],shortName:"forma",slug:"forma",testnet:!1},zMt={chain:"Forma",chainId:984123,explorers:[{name:"blockscout",url:"https://explorer.sketchpad-1.forma.art",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQkjcadjAEefa4HLG26pKFvCaNZeZ7wWNxMkCVarW9tiU",width:400,height:400,format:"png"},infoURL:"https://forma.art",name:"Forma Sketchpad",nativeCurrency:{name:"TIA",symbol:"TIA",decimals:18},networkId:984123,rpc:["https://984123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sketchpad-1.forma.art"],shortName:"sketchpad",slug:"forma-sketchpad",testnet:!1},WMt={chain:"Ecrox Chain",chainId:988207,explorers:[{name:"Ecrox Chain Explorer",url:"https://ecroxscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibnqdlwgotu4hwx6oeu4ye3huobr3eaiuvv55n5tolyxya2q7edmq",width:300,height:300,format:"png"},infoURL:"https://ecroxcoin.io/",name:"Ecrox Chain Mainnet",nativeCurrency:{name:"ECROX COIN",symbol:"ECROX",decimals:18},networkId:988207,rpc:["https://988207.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.ecroxscan.com/"],shortName:"ecrox",slug:"ecrox-chain",testnet:!1},qMt={chain:"Avalanche",chainId:991424,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0213Y1S",nativeCurrency:{name:"QR0213Y1S Token",symbol:"GCH",decimals:18},networkId:991424,redFlags:[],rpc:["https://991424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0213y1s/testnet/rpc"],shortName:"QR0213Y1S",slug:"qr0213y1s",testnet:!0},jMt={chain:"Avalanche",chainId:993535,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"qr1120y1",nativeCurrency:{name:"qr1120y1 Token",symbol:"LMK",decimals:18},networkId:993535,redFlags:[],rpc:["https://993535.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr1120y1/testnet/rpc"],shortName:"qr1120y1",slug:"qr1120y1",testnet:!0},GMt={chain:"Avalanche",chainId:994504,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0523y1ts",nativeCurrency:{name:"qr0523y1ts Token",symbol:"QHZ",decimals:18},networkId:994504,redFlags:[],rpc:["https://994504.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0523y1ts/testnet/rpc"],shortName:"qr0523y1ts",slug:"qr0523y1ts",testnet:!0},KMt={chain:"Avalanche",chainId:995201,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0426T1TS",nativeCurrency:{name:"QR0426T1TS Token",symbol:"XOF",decimals:18},networkId:995201,redFlags:[],rpc:["https://995201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0426t1ts/testnet/rpc"],shortName:"QR0426T1TS",slug:"qr0426t1ts",testnet:!0},QMt={chain:"Avalanche",chainId:996699,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0521T1TS",nativeCurrency:{name:"QR0521T1TS Token",symbol:"ATH",decimals:18},networkId:996699,redFlags:[],rpc:["https://996699.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0521t1ts/testnet/rpc"],shortName:"QR0521T1TS",slug:"qr0521t1ts",testnet:!0},VMt={chain:"Avalanche",chainId:999511,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0227T1TS",nativeCurrency:{name:"QR0227T1TS Token",symbol:"YFL",decimals:18},networkId:999511,redFlags:[],rpc:["https://999511.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0227t1ts/testnet/rpc"],shortName:"QR0227T1TS",slug:"qr0227t1ts",testnet:!0},YMt={chain:"AmChain",chainId:999999,explorers:[{name:"AMCAmChain explorer",url:"https://explorer.amchain.net",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmb6VAhhtaJmdaW1j7PAjxaLju1V24PPDFBdXtebyTSfsZ",width:200,height:200,format:"png"},infoURL:"https://hewe.io/",name:"AmChain",nativeCurrency:{name:"AMC",symbol:"AMC",decimals:18},networkId:999999,rpc:["https://999999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.amchain.net"],shortName:"AMC",slug:"amchain",testnet:!1,title:"AMC"},$Mt={chain:"NetMind",chainId:1100789,explorers:[{name:"NetMind Testnet Explorer",url:"https://testbrower.protago-dev.com",standard:"EIP3091",icon:{url:"ipfs://QmQNipd6uen7sm7HZXGbqhcSVkUXxu3Tp6c3BoeFpvmywp",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQNipd6uen7sm7HZXGbqhcSVkUXxu3Tp6c3BoeFpvmywp",width:500,height:500,format:"png"},infoURL:"https://netmind.ai",name:"Netmind Chain Testnet",nativeCurrency:{name:"NMT",symbol:"NMT",decimals:18},networkId:1100789,rpc:["https://1100789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testblock.protago-dev.com"],shortName:"nmtTest",slug:"netmind-chain-testnet",testnet:!0,title:"NetMind Chain Testnet"},JMt={chain:"TILTYARD",chainId:1127469,explorers:[{name:"TILTYARD Explorer",url:"http://testnet-explorer.tiltyard.gg",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],name:"Tiltyard Subnet",nativeCurrency:{name:"Tiltyard Token",symbol:"TILTG",decimals:18},networkId:1127469,rpc:["https://1127469.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/tiltyard/testnet/rpc"],shortName:"tiltyard",slug:"tiltyard-subnet",testnet:!0},XMt={chain:"ETH",chainId:1261120,explorers:[{name:"Blockscout zKatana chain explorer",url:"https://zkatana.blockscout.com",standard:"EIP3091"},{name:"Startale zKatana chain explorer",url:"https://zkatana.explorer.startale.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRySLe3su59dE5x5JPm2b1GeZfz6DR9qUzcbp3rt4SD3A",width:300,height:300,format:"png"},infoURL:"https://astar.network",name:"zKatana",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1261120,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://portal.astar.network"},{url:"https://bridge.zkatana.gelato.digital"}]},rpc:["https://1261120.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zkatana.gelato.digital","https://rpc.startale.com/zkatana","https://astar-zkatana.drpc.org","wss://astar-zkatana.drpc.org"],shortName:"azktn",slug:"zkatana",status:"active",testnet:!0,title:"Astar zkEVM Testnet zKatana"},ZMt={chain:"ETHO",chainId:1313114,explorers:[{name:"blockscout",url:"https://explorer.ethoprotocol.com",standard:"none"}],faucets:[],infoURL:"https://ethoprotocol.com",name:"Etho Protocol",nativeCurrency:{name:"Etho Protocol",symbol:"ETHO",decimals:18},networkId:1313114,rpc:["https://1313114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ethoprotocol.com"],shortName:"etho",slip44:1313114,slug:"etho-protocol",testnet:!1},eBt={chain:"XERO",chainId:1313500,explorers:[],faucets:[],infoURL:"https://xerom.org",name:"Xerom",nativeCurrency:{name:"Xerom Ether",symbol:"XERO",decimals:18},networkId:1313500,rpc:["https://1313500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xerom.org"],shortName:"xero",slug:"xerom",testnet:!1},tBt={chain:"ETH",chainId:1337702,explorers:[{name:"kintsugi explorer",url:"https://explorer.kintsugi.themerge.dev",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=1337702&address=${ADDRESS}","https://faucet.kintsugi.themerge.dev"],infoURL:"https://kintsugi.themerge.dev/",name:"Kintsugi",nativeCurrency:{name:"kintsugi Ethere",symbol:"kiETH",decimals:18},networkId:1337702,rpc:["https://1337702.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kintsugi.themerge.dev"],shortName:"kintsugi",slug:"kintsugi",testnet:!0,title:"Kintsugi merge testnet"},nBt={chain:"ETH",chainId:1337802,explorers:[{name:"Kiln Explorer",url:"https://explorer.kiln.themerge.dev",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.kiln.themerge.dev","https://kiln-faucet.pk910.de","https://kilnfaucet.com"],features:[],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://kiln.themerge.dev/",name:"Kiln",nativeCurrency:{name:"Testnet ETH",symbol:"ETH",decimals:18},networkId:1337802,redFlags:[],rpc:["https://1337802.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kiln.themerge.dev"],shortName:"kiln",slug:"kiln",status:"deprecated",testnet:!1},aBt={chain:"ETH",chainId:1337803,explorers:[{name:"Zhejiang Explorer",url:"https://zhejiang.beaconcha.in",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.zhejiang.ethpandaops.io","https://zhejiang-faucet.pk910.de"],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://zhejiang.ethpandaops.io",name:"Zhejiang",nativeCurrency:{name:"Testnet ETH",symbol:"ETH",decimals:18},networkId:1337803,rpc:["https://1337803.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zhejiang.ethpandaops.io"],shortName:"zhejiang",slug:"zhejiang",testnet:!0},rBt={chain:"Automata Testnet",chainId:1398243,explorers:[],faucets:[],icon:{url:"ipfs://QmW7ugm31MRdhjGtimzWMK5N4g5L84tSyKMpZQYk6N9KvJ",width:1676,height:1600,format:"png"},infoURL:"https://ata.network",name:"Automata Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1398243,rpc:[],shortName:"automatatest",slug:"automata-testnet",testnet:!0},fBt={chain:"XRPL",chainId:1440002,explorers:[{name:"XRP Ledger Explorer",url:"https://evm-sidechain.xrpl.org/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://bafkreidmgxjwjircegjkvysgz25b2ukw6h7axoirkxv6idupzzqsdrljgy",width:780,height:680,format:"png"},name:"XRP Ledger EVM Devnet Sidechain",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:18},networkId:1440002,redFlags:[],rpc:["https://1440002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-evm-sidechain.xrpl.org"],shortName:"XRPL-EVM-Devnet-Sidechain",slug:"xrp-ledger-evm-devnet-sidechain",testnet:!0},iBt={chain:"ETH",chainId:1612127,explorers:[{name:"PlayFi Block Explorer",url:"https://albireo-explorer.playfi.ai",standard:"EIP3091"}],faucets:[],infoURL:"https://www.playfi.ai/",name:"PlayFi Albireo Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1612127,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://portal.playfi.ai/bridge"}]},rpc:["https://1612127.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://albireo-rpc.playfi.ai"],shortName:"alberio",slip44:1,slug:"playfi-albireo-testnet",testnet:!0},sBt={chain:"ETH",chainId:1731313,explorers:[],faucets:[],name:"Turkey Demo Dev",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1731313,rpc:["https://1731313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devchain-poa.huabeizhenxuan.com"],shortName:"TDD",slug:"turkey-demo-dev",testnet:!1},oBt={chain:"DeBank",chainId:2021398,explorers:[{name:"DeBank Chain Explorer",url:"https://explorer.testnet.debank.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Testnet",nativeCurrency:{name:"DeBank USD",symbol:"USD",decimals:18},networkId:2021398,rpc:["https://2021398.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc.testnet.debank.com"],shortName:"dbk",slip44:1,slug:"debank-testnet",testnet:!0},cBt={chain:"Plian",chainId:2099156,explorers:[{name:"piscan",url:"https://piscan.plian.org/pchain",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org/",name:"Plian Mainnet Main",nativeCurrency:{name:"Plian Token",symbol:"PI",decimals:18},networkId:2099156,rpc:["https://2099156.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.plian.io/pchain"],shortName:"plian-mainnet",slug:"plian-main",testnet:!1},dBt={chain:"Optimism",chainId:2125031,explorers:[{name:"Bubs Sepolia Explorer",url:"https://bubs-sepolia.explorer.caldera.xyz/",standard:"EIP1559",icon:{url:"https://raw.githubusercontent.com/twitter/twemoji/d94f4cf793e6d5ca592aa00f58a88f6a4229ad43/assets/svg/1f9cb.svg",width:512,height:512,format:"svg"}}],faucets:["https://bubs-sepolia.hub.caldera.xyz/"],features:[],icon:{url:"https://raw.githubusercontent.com/twitter/twemoji/d94f4cf793e6d5ca592aa00f58a88f6a4229ad43/assets/svg/1f9cb.svg",width:512,height:512,format:"svg"},infoURL:"https://bubs-sepolia.hub.caldera.xyz/",name:"Bubs Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2125031,redFlags:[],rpc:["https://2125031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bubs-sepolia.rpc.caldera.xyz/http","wss://bubs-sepolia.rpc.caldera.xyz/ws"],shortName:"Bubs",slug:"bubs-testnet-bubs",testnet:!0},lBt={chain:"PlatON",chainId:2203181,explorers:[{name:"PlatON explorer",url:"https://devnetscan.platon.network",standard:"none"}],faucets:["https://devnet2faucet.platon.network/faucet"],icon:{url:"ipfs://QmT7PSXBiVBma6E15hNkivmstqLu3JSnG1jXN5pTmcCGRC",width:180,height:180,format:"png"},infoURL:"https://www.platon.network",name:"PlatON Dev Testnet Deprecated",nativeCurrency:{name:"LAT",symbol:"lat",decimals:18},networkId:1,rpc:["https://2203181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnetopenapi2.platon.network/rpc","wss://devnetopenapi2.platon.network/ws"],shortName:"platondev",slip44:1,slug:"platon-dev-testnet-deprecated",status:"deprecated",testnet:!0},uBt={chain:"PlatON",chainId:2206132,explorers:[{name:"PlatON explorer",url:"https://devnet2scan.platon.network",standard:"none"}],faucets:["https://devnet2faucet.platon.network/faucet"],icon:{url:"ipfs://QmT7PSXBiVBma6E15hNkivmstqLu3JSnG1jXN5pTmcCGRC",width:180,height:180,format:"png"},infoURL:"https://www.platon.network",name:"PlatON Dev Testnet2",nativeCurrency:{name:"LAT",symbol:"lat",decimals:18},networkId:1,rpc:["https://2206132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet2openapi.platon.network/rpc","wss://devnet2openapi.platon.network/ws"],shortName:"platondev2",slip44:1,slug:"platon-dev-testnet2",testnet:!0},pBt={chain:"DPU",chainId:2611555,explorers:[],faucets:[],name:"DPU Chain",nativeCurrency:{name:"DGC",symbol:"DGC",decimals:18},networkId:2611555,rpc:["https://2611555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sc-rpc.dpu.ac.th"],shortName:"DPU",slug:"dpu-chain",testnet:!1},hBt={chain:"Sahara",chainId:3132023,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQXCm6w8xvWMkksTQYw3So14VCbwHP6chH41v6ysXdSwF",width:608,height:608,format:"svg"},infoURL:"https://saharalabs.ai",name:"SaharaAI Network",nativeCurrency:{name:"SAHARA",symbol:"SAH",decimals:18},networkId:3132023,rpc:["https://3132023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.saharalabs.ai"],shortName:"sahara",slug:"saharaai-network",testnet:!1},bBt={chain:"FIL",chainId:3141592,explorers:[],faucets:["https://faucet.butterfly.fildev.network"],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Butterfly testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:3141592,rpc:[],shortName:"filecoin-butterfly",slip44:1,slug:"filecoin-butterfly-testnet",status:"incubating",testnet:!0},mBt={chain:"ETH",chainId:3397901,explorers:[{name:"Funki Sepolia Sandbox Explorer",url:"https://sepolia-sandbox.funkichain.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWLjmfbjx2qZC39GCFXDzt72NXVTtDBVzVSq6rwaquyp3",width:1200,height:410,format:"png"},infoURL:"https://funkichain.com",name:"Funki Sepolia Sandbox",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3397901,rpc:["https://3397901.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://funki-testnet.alt.technology"],shortName:"funkisepolia",slug:"funki-sepolia-sandbox",testnet:!0},yBt={chain:"Manta Pacific",chainId:3441005,explorers:[{name:"manta-testnet Explorer",url:"https://manta-testnet.calderaexplorer.xyz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTckcVTViRZ3NqT36MTt8AvgBSmudrbgU3pi8AaNtthoV",width:834,height:834,format:"png"},infoURL:"https://manta-testnet.caldera.dev/",name:"Manta Pacific Testnet",nativeCurrency:{name:"Manta",symbol:"MANTA",decimals:18},networkId:3441005,rpc:["https://3441005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://manta-testnet.calderachain.xyz/http","https://manta-pacific-testnet.drpc.org","wss://manta-pacific-testnet.drpc.org"],shortName:"mantaTestnet",slip44:1,slug:"manta-pacific-testnet",testnet:!0},gBt={chain:"Manta Pacific",chainId:3441006,explorers:[{name:"manta-testnet Explorer",url:"https://pacific-explorer.sepolia-testnet.manta.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTckcVTViRZ3NqT36MTt8AvgBSmudrbgU3pi8AaNtthoV",width:834,height:834,format:"png"},infoURL:"https://manta-testnet.caldera.dev/",name:"Manta Pacific Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3441006,rpc:["https://3441006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pacific-rpc.sepolia-testnet.manta.network/http"],shortName:"mantaSepoliaTestnet",slip44:1,slug:"manta-pacific-sepolia-testnet",testnet:!0},vBt={chain:"ETH",chainId:4000003,explorers:[{name:"blockscout",url:"https://zero-explorer.alt.technology",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcEfZJU7NMn9ycTAcEooQgGNfa2nYBToSUZHdFCFadcjb",width:1080,height:1025,format:"png"},infoURL:"https://altlayer.io",name:"AltLayer Zero Gas Network",nativeCurrency:{name:"ZERO",symbol:"ZERO",decimals:18},networkId:4000003,rpc:["https://4000003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zero.alt.technology"],shortName:"alt-zerogas",slug:"altlayer-zero-gas-network",testnet:!1},wBt={chain:"WCal",chainId:4281033,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://caldera.xyz/",name:"Worlds Caldera",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4281033,rpc:["https://4281033.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://worlds-test.calderachain.xyz/http"],shortName:"worldscal",slug:"worlds-caldera",testnet:!0},TBt={chain:"NumBlock",chainId:5112023,explorers:[{name:"NumBlock Explorer",url:"https://mainnet.numblock.org",standard:"none",icon:{url:"ipfs://QmRY72AKDaUwxgPukdfSBj19NfMrmsSm48mdBe9zJcW3jB",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRY72AKDaUwxgPukdfSBj19NfMrmsSm48mdBe9zJcW3jB",width:200,height:200,format:"png"},infoURL:"https://numblock.org",name:"NumBlock Chain",nativeCurrency:{name:"NUMB Token",symbol:"NUMB",decimals:18},networkId:5112023,rpc:["https://5112023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.numblock.org"],shortName:"NUMB",slug:"numblock-chain",testnet:!1},xBt={chain:"ETH",chainId:5151706,explorers:[{name:"Explorer",url:"https://explorer.lootchain.com/",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://adventuregold.org/",name:"Loot Chain Mainnet",nativeCurrency:{name:"AGLD",symbol:"AGLD",decimals:18},networkId:5151706,redFlags:[],rpc:["https://5151706.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lootchain.com/http "],shortName:"AGLD",slug:"loot-chain",testnet:!0},EBt={chain:"MXC zkEVM",chainId:5167003,explorers:[{name:"MXC Wannsee zkEVM Testnet",url:"https://wannsee-explorer.mxc.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGCthKA11K9kCZJdbTP5WPAyq1wiRZ3REn6KG58MrWaE",width:159,height:159,format:"png"},infoURL:"https://wannsee.mxc.com/docs/intro",name:"MXC Wannsee zkEVM Testnet",nativeCurrency:{name:"MXC Wannsee zkEVM Testnet",symbol:"MXC",decimals:18},networkId:5167003,rpc:["https://5167003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://wannsee-rpc.mxc.com"],shortName:"MXCdiscontinued",slip44:1,slug:"mxc-wannsee-zkevm-testnet",testnet:!0},_Bt={chain:"MXC zkEVM",chainId:5167004,explorers:[{name:"Moonchain Geneva Testnet",url:"https://geneva-explorer.moonchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGCthKA11K9kCZJdbTP5WPAyq1wiRZ3REn6KG58MrWaE",width:159,height:159,format:"png"},infoURL:"https://doc.mxc.com/docs/intro",name:"Moonchain Geneva Testnet",nativeCurrency:{name:"Moonchain Geneva Testnet",symbol:"MXC",decimals:18},networkId:5167004,rpc:["https://5167004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geneva-rpc.moonchain.com"],shortName:"MXC",slip44:1,slug:"moonchain-geneva-testnet",testnet:!0},ABt={chain:"Electroneum",chainId:5201420,explorers:[{name:"blockscout",url:"https://blockexplorer.thesecurityteam.rocks",standard:"EIP3091",icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"},infoURL:"https://electroneum.com",name:"Electroneum Testnet",nativeCurrency:{name:"Electroneum",symbol:"ETN",decimals:18},networkId:5201420,rpc:["https://5201420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.electroneum.com"],shortName:"etn-testnet",slip44:1,slug:"electroneum-testnet",testnet:!0},CBt={chain:"REACT",chainId:5318008,explorers:[{name:"reactscan",url:"https://kopli.reactscan.net",standard:"none"}],faucets:["https://dev.reactive.network/docs/kopli-testnet#faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmZewyubd3zC17pmmGbjix6gFsppYpLsP3ntu3aB7rCJmW",width:800,height:800,format:"png"},infoURL:"https://reactive.network",name:"Reactive Kopli",nativeCurrency:{name:"Kopli React",symbol:"REACT",decimals:18},networkId:5318008,rpc:["https://5318008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kopli-rpc.reactive.network","http://kopli-rpc.rkt.ink"],shortName:"kreact",slug:"reactive-kopli",testnet:!0,title:"Reactive Network Testnet Kopli"},IBt={chain:"Imversed",chainId:5555555,explorers:[{name:"Imversed EVM explorer (Blockscout)",url:"https://txe.imversed.network",standard:"EIP3091",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}},{name:"Imversed Cosmos Explorer (Big Dipper)",url:"https://tex-c.imversed.com",standard:"none",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"},infoURL:"https://imversed.com",name:"Imversed Mainnet",nativeCurrency:{name:"Imversed Token",symbol:"IMV",decimals:18},networkId:5555555,rpc:["https://5555555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.imversed.network","https://ws-jsonrpc.imversed.network"],shortName:"imversed",slug:"imversed",testnet:!1},kBt={chain:"Imversed",chainId:5555558,explorers:[{name:"Imversed EVM Explorer (Blockscout)",url:"https://txe-test.imversed.network",standard:"EIP3091",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}},{name:"Imversed Cosmos Explorer (Big Dipper)",url:"https://tex-t.imversed.com",standard:"none",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"},infoURL:"https://imversed.com",name:"Imversed Testnet",nativeCurrency:{name:"Imversed Token",symbol:"IMV",decimals:18},networkId:5555558,rpc:["https://5555558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc-test.imversed.network","https://ws-jsonrpc-test.imversed.network"],shortName:"imversed-testnet",slip44:1,slug:"imversed-testnet",testnet:!0},SBt={chain:"ETH",chainId:6038361,explorers:[{name:"Blockscout zKyoto explorer",url:"https://astar-zkyoto.blockscout.com",standard:"EIP3091"},{name:"Astar zkEVM Testnet zKyoto",url:"https://zkyoto.explorer.startale.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmRySLe3su59dE5x5JPm2b1GeZfz6DR9qUzcbp3rt4SD3A",width:300,height:300,format:"png"},infoURL:"https://astar.network",name:"Astar zKyoto",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:6038361,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},redFlags:[],rpc:["https://6038361.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.startale.com/zkyoto","https://rpc.zkyoto.gelato.digital"],shortName:"azkyt",slug:"astar-zkyoto",testnet:!0,title:"Astar zkEVM Testnet zKyoto"},RBt={chain:"Safe(AnWang)",chainId:6666665,explorers:[{name:"Safe(AnWang) Explorer",url:"http://safe4.anwang.com",standard:"EIP3091",icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"}}],faucets:[],icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"},infoURL:"https://www.anwang.com",name:"Safe(AnWang) Mainnet",nativeCurrency:{name:"SAFE(AnWang)",symbol:"SAFE",decimals:18},networkId:6666665,rpc:["https://6666665.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.anwang.com"],shortName:"SafeMainnet",slug:"safe-anwang",testnet:!1},MBt={chain:"Safe(AnWang)",chainId:6666666,explorers:[{name:"Safe(AnWang) Testnet Explorer",url:"http://safe4-testnet.anwang.com",standard:"EIP3091",icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"}}],faucets:[],icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"},infoURL:"https://www.anwang.com",name:"Safe(AnWang) Testnet",nativeCurrency:{name:"SAFE(AnWang)",symbol:"SAFE",decimals:18},networkId:6666666,rpc:["https://6666666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.anwang.com"],shortName:"SafeTestnet",slug:"safe-anwang-testnet",testnet:!0},BBt={chain:"Saakuru",chainId:7225878,explorers:[{name:"saakuru-explorer",url:"https://explorer.saakuru.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmduEdtFobPpZWSc45MU6RKxZfTEzLux2z8ikHFhT8usqv",width:1024,height:1024,format:"png"},infoURL:"https://saakuru.network",name:"Saakuru Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:7225878,rpc:["https://7225878.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.saakuru.network"],shortName:"saakuru",slug:"saakuru",testnet:!1},DBt={chain:"VSL",chainId:7355310,explorers:[{name:"openvessel-mainnet",url:"https://mainnet-explorer.openvessel.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmeknNzGCZXQK7egwfwyxQan7Lw8bLnqYsyoEgEbDNCzJX",width:600,height:529,format:"png"},infoURL:"https://www.openvessel.io",name:"OpenVessel",nativeCurrency:{name:"Vessel ETH",symbol:"VETH",decimals:18},networkId:7355310,rpc:["https://7355310.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-external.openvessel.io"],shortName:"vsl",slug:"openvessel",testnet:!1},PBt={chain:"QOM",chainId:7668378,explorers:[{name:"QL1 Testnet Explorer",url:"https://testnet.qom.one",standard:"EIP3091",icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"}}],faucets:["https://faucet.qom.one"],icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"},infoURL:"https://qom.one",name:"QL1 Testnet",nativeCurrency:{name:"Shiba Predator",symbol:"QOM",decimals:18},networkId:7668378,rpc:["https://7668378.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.qom.one"],shortName:"tqom",slip44:1,slug:"ql1-testnet",status:"incubating",testnet:!0},LBt={chain:"MUSIC",chainId:7762959,explorers:[],faucets:[],infoURL:"https://musicoin.tw",name:"Musicoin",nativeCurrency:{name:"Musicoin",symbol:"MUSIC",decimals:18},networkId:7762959,rpc:["https://7762959.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mewapi.musicoin.tw"],shortName:"music",slip44:184,slug:"musicoin",testnet:!1},zse={chain:"ETH",chainId:7777777,explorers:[{name:"Zora Network Explorer",url:"https://explorer.zora.energy",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmZ6qaRwTPFEZUspwMUjaxC6KhmzcELdRQcQzS3P72Dzts/Vector.svg",width:512,height:512,format:"svg"},infoURL:"https://zora.energy",name:"Zora",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:7777777,redFlags:[],rpc:["https://7777777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zora.energy/"],shortName:"zora",slug:"zora",testnet:!1},FBt={chain:"Plian",chainId:8007736,explorers:[{name:"piscan",url:"https://piscan.plian.org/child_0",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org",name:"Plian Mainnet Subchain 1",nativeCurrency:{name:"Plian Token",symbol:"PI",decimals:18},networkId:8007736,parent:{type:"L2",chain:"eip155-2099156"},rpc:["https://8007736.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.plian.io/child_0"],shortName:"plian-mainnet-l2",slug:"plian-subchain-1",testnet:!1},NBt={chain:"Hokum",chainId:8080808,explorers:[{name:"Hokum Explorer",url:"https://explorer.hokum.gg",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmafrUmh1FD48WWQwk6pfW1Y7eA9VQTdpeL387Wt2JFrAd",width:512,height:512,format:"png"},infoURL:"https://hokum.gg",name:"Hokum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8080808,rpc:["https://8080808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.hokum.gg"],shortName:"hokum",slug:"hokum",testnet:!1},OBt={chain:"Waterfall Testnet8",chainId:8601152,explorers:[],faucets:["https://faucet.testnet8.waterfall.network"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmSDJPBKh9cLVL8UZ5KYwdwPyhD8bRWNb33jjt48wtu5Uc",width:241,height:179,format:"png"},infoURL:"https://waterfall.network",name:"Waterfall 8 Test Network",nativeCurrency:{name:"WATER",symbol:"WATER",decimals:18},networkId:8601152,rpc:["https://8601152.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet8.waterfall.network/"],shortName:"waterfall",slug:"waterfall-8-test-network",testnet:!0},UBt={chain:"HAPchain",chainId:8794598,explorers:[{name:"HAP EVM Explorer (Blockscout)",url:"https://blockscout.hap.land",standard:"none",icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"},infoURL:"https://hap.land",name:"HAPchain",nativeCurrency:{name:"HAP",symbol:"HAP",decimals:18},networkId:8794598,rpc:["https://8794598.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.hap.land"],shortName:"hap",slug:"hapchain",testnet:!1},HBt={chain:"Quarix",chainId:8888881,explorers:[],faucets:[],icon:{url:"ipfs://QmTw8TyeeNhUFWrck2WCiN17MaHRt5qzRBtaAvmz6L7qq7",width:669,height:587,format:"png"},name:"Quarix Testnet",nativeCurrency:{name:"QARE",symbol:"QARE",decimals:18},networkId:8888881,rpc:[],shortName:"quarix-testnet",slip44:1,slug:"quarix-testnet",status:"incubating",testnet:!0},zBt={chain:"Quarix",chainId:8888888,explorers:[],faucets:[],icon:{url:"ipfs://QmTw8TyeeNhUFWrck2WCiN17MaHRt5qzRBtaAvmz6L7qq7",width:669,height:587,format:"png"},name:"Quarix",nativeCurrency:{name:"QARE",symbol:"QARE",decimals:18},networkId:8888888,rpc:[],shortName:"quarix",slug:"quarix",status:"incubating",testnet:!1},WBt={chain:"XCAP",chainId:9322252,explorers:[{name:"blockscout",url:"https://xcap-mainnet.explorer.xcap.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeTj6tfaw9qf9wnEUQh7PnCpNWyvm56e7kY35kANRWNxj",width:1600,height:1600,format:"png"},infoURL:"https://xcap.network/",name:"XCAP",nativeCurrency:{name:"Gas",symbol:"GAS",decimals:18},networkId:9322252,rpc:["https://9322252.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xcap-mainnet.relay.xcap.network/znzvh2ueyvm2yts5fv5gnul395jbkfb2/rpc1"],shortName:"xcap",slug:"xcap",testnet:!1,title:"XCAP Mainnet"},qBt={chain:"XCAP",chainId:9322253,explorers:[{name:"blockscout",url:"https://xcap-milvine.explorer.xcap.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeTj6tfaw9qf9wnEUQh7PnCpNWyvm56e7kY35kANRWNxj",width:1600,height:1600,format:"png"},infoURL:"https://xcap.network/",name:"Milvine",nativeCurrency:{name:"Gas",symbol:"GAS",decimals:18},networkId:9322253,rpc:["https://9322253.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xcap-milvine.relay.xcap.network/zj5l55ftsgi027kz4nf14vs8d89inego/rpc1"],shortName:"milv",slug:"milvine",testnet:!0,title:"XCAP Testnet Milvine"},jBt={chain:"Plian",chainId:10067275,explorers:[{name:"piscan",url:"https://testnet.plian.org/child_test",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org/",name:"Plian Testnet Subchain 1",nativeCurrency:{name:"Plian Token",symbol:"TPI",decimals:18},networkId:10067275,parent:{type:"L2",chain:"eip155-16658437"},rpc:["https://10067275.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.plian.io/child_test"],shortName:"plian-testnet-l2",slip44:1,slug:"plian-testnet-subchain-1",testnet:!0},GBt={chain:"SVRN",chainId:10101010,explorers:[{name:"Soverun",url:"https://explorer.soverun.com",standard:"EIP3091"}],faucets:["https://faucet.soverun.com"],icon:{url:"ipfs://QmTYazUzgY9Nn2mCjWwFUSLy3dG6i2PvALpwCNQvx1zXyi",width:1154,height:1154,format:"png"},infoURL:"https://soverun.com",name:"Soverun Mainnet",nativeCurrency:{name:"Soverun",symbol:"SVRN",decimals:18},networkId:10101010,rpc:["https://10101010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.soverun.com"],shortName:"SVRNm",slug:"soverun",testnet:!1},KBt={chain:"ALIENX Hal",chainId:10241025,explorers:[{name:"Hal Explorer",url:"https://hal-explorer.alienxchain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWAa7JayD8HCtAMXezzUNcUoi2Rikqpu2WmrHpFBmDEez",width:480,height:480,format:"png"},infoURL:"https://alienxchain.io/home",name:"ALIENX Hal Testnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:10241025,rpc:["https://10241025.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hal-rpc.alienxchain.io/http","https://hal.rpc.caldera.xyz/http"],shortName:"ALIENXHal",slug:"alienx-hal-testnet",testnet:!0},kHe={chain:"ETH",chainId:11155111,explorers:[{name:"etherscan-sepolia",url:"https://sepolia.etherscan.io",standard:"EIP3091"},{name:"otterscan-sepolia",url:"https://sepolia.otterscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=11155111&address=${ADDRESS}"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://sepolia.otterscan.io",name:"Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:11155111,redFlags:[],rpc:["https://11155111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.infura.io/v3/${INFURA_API_KEY}","wss://sepolia.infura.io/v3/${INFURA_API_KEY}","https://rpc.sepolia.org","https://rpc2.sepolia.org","https://rpc-sepolia.rockx.com","https://rpc.sepolia.ethpandaops.io","https://sepolia.gateway.tenderly.co","wss://sepolia.gateway.tenderly.co","https://ethereum-sepolia-rpc.publicnode.com","wss://ethereum-sepolia-rpc.publicnode.com","https://sepolia.drpc.org","wss://sepolia.drpc.org"],shortName:"sep",slip44:1,slug:"sepolia",testnet:!0,title:"Ethereum Testnet Sepolia"},AW={chain:"ETH",chainId:11155420,explorers:[{name:"opscout",url:"https://optimism-sepolia.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://app.optimism.io/faucet"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/optimism/512.png",width:512,height:512,format:"png"},infoURL:"https://optimism.io",name:"OP Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:11155420,redFlags:[],rpc:["https://11155420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.optimism.io","https://optimism-sepolia.drpc.org","wss://optimism-sepolia.drpc.org"],shortName:"opsep",slip44:1,slug:"op-sepolia-testnet",testnet:!0},QBt={chain:"COTI",chainId:13068200,explorers:[{name:"coti devnet explorer",url:"https://explorer-devnet.coti.io",standard:"EIP3091",icon:{url:"ipfs://QmVQidJf4ZXt6whYqZk9atCXLrmterkHrL4wYBCetZbsdj",width:200,height:200,format:"png"}}],faucets:["https://faucet.coti.io"],icon:{url:"ipfs://QmR58SroHx7ovpqEB5iRkw4PufEXmcCBAJ8AZ7mChDgTfV",width:528,height:528,format:"png"},infoURL:"https://coti.io/",name:"COTI Devnet",nativeCurrency:{name:"COTI2",symbol:"COTI2",decimals:18},networkId:13068200,rpc:["https://13068200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.coti.io/rpc"],shortName:"coti-devnet",slug:"coti-devnet",testnet:!1,title:"COTI Devnet"},VBt={chain:"PEP",chainId:13371337,explorers:[],faucets:[],infoURL:"https://pepchain.io",name:"PepChain Churchill",nativeCurrency:{name:"PepChain Churchill Ether",symbol:"TPEP",decimals:18},networkId:13371337,rpc:["https://13371337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://churchill-rpc.pepchain.io"],shortName:"tpep",slug:"pepchain-churchill",testnet:!1},YBt={chain:"anduschain",chainId:14288640,explorers:[{name:"anduschain explorer",url:"https://explorer.anduschain.io",standard:"none",icon:{url:"ipfs://bafkreiapaxokh2p4j7hg43ug2inomixiwrdhni4kpqazvqifssnez7efze",width:512,height:512,format:"png"}}],faucets:[],infoURL:"https://anduschain.io/",name:"Anduschain Mainnet",nativeCurrency:{name:"DAON",symbol:"DEB",decimals:18},networkId:14288640,rpc:["https://14288640.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.anduschain.io/rpc","wss://rpc.anduschain.io/ws"],shortName:"anduschain-mainnet",slug:"anduschain",testnet:!1},$Bt={chain:"Plian",chainId:16658437,explorers:[{name:"piscan",url:"https://testnet.plian.org/testnet",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org",name:"Plian Testnet Main",nativeCurrency:{name:"Plian Testnet Token",symbol:"TPI",decimals:18},networkId:16658437,rpc:["https://16658437.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.plian.io/testnet"],shortName:"plian-testnet",slip44:1,slug:"plian-testnet-main",testnet:!0},JBt={chain:"Lambda Chain",chainId:17000920,explorers:[{name:"Lambda Chain Testnet Explorer",url:"https://testscan.lambda.im",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXCWjWSTd6kJZKnH9aQRjgLdWRH9NTxU1wC21iBvoB4Hp",width:256,height:256,format:"png"},infoURL:"https://lambda.im",name:"Lambda Chain Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:17000920,rpc:["https://17000920.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnrpc.lambda.im/"],shortName:"tlambda",slip44:1,slug:"lambda-chain-testnet",testnet:!0},XBt={chain:"ILT",chainId:18289463,explorers:[],faucets:[],infoURL:"https://iolite.io",name:"IOLite",nativeCurrency:{name:"IOLite Ether",symbol:"ILT",decimals:18},networkId:18289463,rpc:["https://18289463.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://net.iolite.io"],shortName:"ilt",slug:"iolite",testnet:!1},ZBt={chain:"stabilityTestnet",chainId:20180427,explorers:[{name:"blockscout",url:"https://stability-testnet.blockscout.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreid3wd6ouu53r677q2z24a4eq5un5tlwbc4izfapcvvtrlhkmz43au",width:133,height:144,format:"png"},infoURL:"https://stabilityprotocol.com",name:"Stability Testnet",nativeCurrency:{name:"FREE",symbol:"FREE",decimals:18},networkId:20180427,rpc:["https://20180427.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://free.testnet.stabilityprotocol.com"],shortName:"stabilitytestnet",slip44:1,slug:"stability-testnet",testnet:!0},eDt={chain:"Spectrum",chainId:20180430,explorers:[{name:"spectrum",url:"https://spectrum.pub",standard:"none"}],faucets:[],infoURL:"https://smartmesh.io",name:"SmartMesh Mainnet",nativeCurrency:{name:"SmartMesh Native Token",symbol:"SMT",decimals:18},networkId:1,rpc:["https://20180430.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonapi1.smartmesh.cn"],shortName:"spectrum",slug:"smartmesh",testnet:!1},tDt={chain:"QKI",chainId:20181205,explorers:[{name:"qkiscan",url:"https://qkiscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://quarkblockchain.org/",name:"quarkblockchain",nativeCurrency:{name:"quarkblockchain Native Token",symbol:"QKI",decimals:18},networkId:20181205,rpc:["https://20181205.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hz.rpc.qkiscan.cn","https://jp.rpc.qkiscan.io","https://rpc1.qkiscan.io","https://rpc2.qkiscan.io","https://rpc3.qkiscan.io"],shortName:"qki",slug:"quarkblockchain",testnet:!1},nDt={chain:"PEGO",chainId:20201022,explorers:[{name:"Pego Network Explorer",url:"https://scan.pego.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVf1afskRHuZjFSLCZH8397KrVNAoYgyAePX9VMBrPVtx",width:246,height:247,format:"png"},infoURL:"https://pego.network",name:"Pego Network",nativeCurrency:{name:"Pego Native Token",symbol:"PG",decimals:18},networkId:20201022,rpc:["https://20201022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pegorpc.com","https://node1.pegorpc.com","https://node2.pegorpc.com","https://node3.pegorpc.com"],shortName:"pg",slug:"pego-network",testnet:!1},aDt={chain:"DeBank",chainId:20240324,explorers:[{name:"DeBank Chain Explorer",url:"https://sepolia-explorer.testnet.debank.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Sepolia Testnet",nativeCurrency:{name:"DeBank USD",symbol:"USD",decimals:18},networkId:20240324,rpc:["https://20240324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.testnet.debank.com"],shortName:"dbkse",slip44:1,slug:"debank-sepolia-testnet",testnet:!0},rDt={chain:"SWAN",chainId:20241133,explorers:[{name:"Swan Proxima Chain explorer",url:"https://proxima-explorer.swanchain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://swanchain.io/",name:"Swan Proxima Testnet",nativeCurrency:{name:"SWANETH",symbol:"sETH",decimals:18},networkId:20241133,rpc:["https://20241133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-proxima.swanchain.io"],shortName:"Proxima",slug:"swan-proxima-testnet",testnet:!0},fDt={chain:"HokumTestnet",chainId:20482050,explorers:[{name:"Hokum Explorer",url:"https://testnet-explorer.hokum.gg",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmafrUmh1FD48WWQwk6pfW1Y7eA9VQTdpeL387Wt2JFrAd",width:512,height:512,format:"png"},infoURL:"https://hokum.gg",name:"Hokum Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:20482050,rpc:["https://20482050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.hokum.gg"],shortName:"hokum-testnet",slug:"hokum-testnet",testnet:!0},iDt={chain:"XLON",chainId:22052002,explorers:[{name:"Excelon explorer",url:"https://explorer.excelon.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTV45o4jTe6ayscF1XWh1WXk5DPck4QohR5kQocSWjvQP",width:300,height:300,format:"png"},infoURL:"https://xlon.org",name:"Excelon Mainnet",nativeCurrency:{name:"Excelon",symbol:"xlon",decimals:18},networkId:22052002,rpc:["https://22052002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://edgewallet1.xlon.org/"],shortName:"xlon",slug:"excelon",testnet:!1},sDt={chain:"TEXL",chainId:27082017,explorers:[{name:"exlscan",url:"https://testnet-explorer.exlscan.com",standard:"EIP3091",icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"}}],faucets:["https://faucet.exlscan.com"],icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"},name:"Excoincial Chain Volta-Testnet",nativeCurrency:{name:"TExlcoin",symbol:"TEXL",decimals:18},networkId:27082017,rpc:["https://27082017.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.exlscan.com"],shortName:"exlvolta",slip44:1,slug:"excoincial-chain-volta-testnet",testnet:!0},oDt={chain:"EXL",chainId:27082022,explorers:[{name:"exlscan",url:"https://exlscan.com",standard:"EIP3091",icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"},name:"Excoincial Chain Mainnet",nativeCurrency:{name:"Exlcoin",symbol:"EXL",decimals:18},networkId:27082022,rpc:["https://27082022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.exlscan.com"],shortName:"exl",slug:"excoincial-chain",testnet:!1},cDt={chain:"Ancient8",chainId:28122024,explorers:[{name:"scan-testnet",url:"https://scanv2-testnet.ancient8.gg",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreievnqg3xjokaty4kfbxxbrzm5v5y7exbaaia2txrh4sfgrqsalfym",width:128,height:128,format:"png"},infoURL:"https://ancient8.gg/",name:"Ancient8 Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28122024,rpc:["https://28122024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcv2-testnet.ancient8.gg"],shortName:"a8",slip44:1,slug:"ancient8-testnet",testnet:!0},dDt={chain:"AUX",chainId:28945486,explorers:[],faucets:[],infoURL:"https://auxilium.global",name:"Auxilium Network Mainnet",nativeCurrency:{name:"Auxilium coin",symbol:"AUX",decimals:18},networkId:28945486,rpc:["https://28945486.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.auxilium.global"],shortName:"auxi",slip44:344,slug:"auxilium-network",testnet:!1},lDt={chain:"FLX",chainId:29032022,explorers:[{name:"FLXExplorer",url:"https://explorer.flaexchange.top",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeiadlvc4pfiykehyt2z67nvgt5w4vlov27olu5obvmryv4xzua4tae",width:256,height:256,format:"png"},infoURL:"https://www.flaexchange.top",name:"Flachain Mainnet",nativeCurrency:{name:"Flacoin",symbol:"FLA",decimals:18},networkId:29032022,rpc:["https://29032022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://flachain.flaexchange.top/"],shortName:"fla",slug:"flachain",testnet:!1},uDt={chain:"FIL",chainId:31415926,explorers:[],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Local testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:31415926,rpc:[],shortName:"filecoin-local",slip44:1,slug:"filecoin-local-testnet",status:"incubating",testnet:!0},pDt={chain:"JOYS",chainId:35855456,explorers:[],faucets:[],infoURL:"https://joys.digital",name:"Joys Digital Mainnet",nativeCurrency:{name:"JOYS",symbol:"JOYS",decimals:18},networkId:35855456,rpc:["https://35855456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.joys.digital"],shortName:"JOYS",slug:"joys-digital",testnet:!1},hDt={chain:"lanky-ill-funny-testnet",chainId:37084624,explorers:[{name:"Blockscout",url:"https://lanky-ill-funny-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafybeic5eexvd34wfy4kuebcyu73qpkv3x57s54ebzjyhyjsmeuni5jwcm",width:500,height:500,format:"png"},infoURL:"https://nebulachain.io/",name:"SKALE Nebula Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:37084624,rpc:["https://37084624.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/lanky-ill-funny-testnet","wss://testnet.skalenodes.com/v1/ws/lanky-ill-funny-testnet"],shortName:"nebula-testnet",slip44:1,slug:"skale-nebula-hub-testnet",testnet:!0,title:"SKALE Nebula Hub Testnet"},bDt={chain:"KingdomChain",chainId:39916801,explorers:[{name:"TravelSong",url:"https://www.beastkingdom.io/travelsong",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://www.beastkingdom.io/",name:"Kingdom Chain",nativeCurrency:{name:"Kozi",symbol:"KOZI",decimals:18},networkId:39916801,rpc:["https://39916801.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kingdomchain.observer/rpc"],shortName:"kchain",slug:"kingdom-chain",testnet:!1},mDt={chain:"MAI",chainId:43214913,explorers:[{name:"maistesntet",url:"http://174.138.9.169:3006/?network=maistesntet",standard:"none"}],faucets:[],name:"maistestsubnet",nativeCurrency:{name:"maistestsubnet",symbol:"MAI",decimals:18},networkId:43214913,rpc:["https://43214913.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://174.138.9.169:9650/ext/bc/VUKSzFZKckx4PoZF9gX5QAqLPxbLzvu1vcssPG5QuodaJtdHT/rpc"],shortName:"mais",slip44:1,slug:"maistestsubnet",testnet:!0},yDt={chain:"AQUA",chainId:61717561,explorers:[],faucets:["https://aquacha.in/faucet"],infoURL:"https://aquachain.github.io",name:"Aquachain",nativeCurrency:{name:"Aquachain Ether",symbol:"AQUA",decimals:18},networkId:61717561,rpc:["https://61717561.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://c.onical.org","https://tx.aquacha.in/api"],shortName:"aqua",slip44:61717561,slug:"aquachain",testnet:!1},gDt={chain:"AUT",chainId:6501e4,explorers:[{name:"autonity-blockscout",url:"https://bakerloo.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Bakerloo (Thames) Testnet",nativeCurrency:{name:"Bakerloo Auton",symbol:"ATN",decimals:18},networkId:6501e4,rpc:[],shortName:"bakerloo-0",slip44:1,slug:"autonity-bakerloo-thames-testnet",status:"deprecated",testnet:!0},vDt={chain:"AUT",chainId:65010001,explorers:[{name:"autonity-blockscout",url:"https://bakerloo.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Bakerloo (Barada) Testnet",nativeCurrency:{name:"Bakerloo Auton",symbol:"ATN",decimals:18},networkId:65010001,rpc:[],shortName:"bakerloo-01",slip44:1,slug:"autonity-bakerloo-barada-testnet",status:"deprecated",testnet:!0},wDt={chain:"AUT",chainId:65010002,explorers:[{name:"autonity-blockscout",url:"https://bakerloo.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Bakerloo (Sumida) Testnet",nativeCurrency:{name:"Bakerloo Auton",symbol:"ATN",decimals:18},networkId:65010002,rpc:["https://65010002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.bakerloo.autonity.org/","wss://rpc1.bakerloo.autonity.org/ws/"],shortName:"bakerloo-02",slip44:1,slug:"autonity-bakerloo-sumida-testnet",testnet:!0},TDt={chain:"AUT",chainId:651e5,explorers:[{name:"autonity-blockscout",url:"https://piccadilly.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Piccadilly (Thames) Testnet",nativeCurrency:{name:"Piccadilly Auton",symbol:"ATN",decimals:18},networkId:651e5,rpc:[],shortName:"piccadilly-0",slip44:1,slug:"autonity-piccadilly-thames-testnet",status:"deprecated",testnet:!0},xDt={chain:"AUT",chainId:65100001,explorers:[{name:"autonity-blockscout",url:"https://piccadilly.autonity.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Piccadilly (Barada) Testnet",nativeCurrency:{name:"Piccadilly Auton",symbol:"ATN",decimals:18},networkId:65100001,rpc:[],shortName:"piccadilly-01",slip44:1,slug:"autonity-piccadilly-barada-testnet",status:"deprecated",testnet:!0},EDt={chain:"AUT",chainId:65100002,explorers:[{name:"autonity-blockscout",url:"https://piccadilly.autonity.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Piccadilly (Sumida) Testnet",nativeCurrency:{name:"Piccadilly Auton",symbol:"ATN",decimals:18},networkId:65100002,rpc:["https://65100002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.piccadilly.autonity.org/","wss://rpc1.piccadilly.autonity.org/ws/"],shortName:"piccadilly-02",slip44:1,slug:"autonity-piccadilly-sumida-testnet",testnet:!0},_Dt={chain:"ETH",chainId:68840142,explorers:[{name:"Frame Testnet Explorer",url:"https://explorer.testnet.frame.xyz",standard:"EIP3091"},{name:"Frame Testnet Explorer",url:"https://explorer.testnet.frame.xyz/",standard:"EIP3091"}],faucets:["https://faucet.triangleplatform.com/frame/testnet","https://faucet.triangleplatform.com/frame"],features:[],icon:{url:"ipfs://QmRxeKFwBwrXyDksoN4NzNRp3R35s8pVnTBfBj4AJSCq5g",width:512,height:512,format:"png"},infoURL:"https://frame.xyz",name:"Frame Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:68840142,redFlags:[],rpc:["https://68840142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.frame.xyz/http"],shortName:"frame-test",slip44:1,slug:"frame-testnet",testnet:!0},ADt={chain:"HETH",chainId:77787778,explorers:[{name:"blockscout",url:"https://test.0xhashscan.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://0xhash.io",name:"0xHash Testnet",nativeCurrency:{name:"0xHash",symbol:"HETH",decimals:18},networkId:77787778,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://app.optimism.io/bridge/deposit"}]},rpc:["https://77787778.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.0xhash.io"],shortName:"HETH",slip44:1,slug:"0xhash-testnet",testnet:!0},CDt={chain:"TEAM",chainId:88888888,explorers:[{name:"teamscan",url:"https://teamblockchain.team",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcnA15BLE9uvznbugXKjqquizZs1eLPeEEkc92DSmvhmt",width:248,height:248,format:"png"},infoURL:"https://teamblockchain.team",name:"T.E.A.M Blockchain",nativeCurrency:{name:"TEAM",symbol:"$TEAM",decimals:18},networkId:88888888,rpc:["https://88888888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.teamblockchain.team"],shortName:"team",slug:"t-e-a-m-blockchain",testnet:!1},IDt={chain:"ETH",chainId:94204209,explorers:[{name:"blockscout",url:"https://polygon-blackberry.gelatoscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"blockscout",url:"https://polygon-blackberry.gelatoscout.com/",standard:"EIP3091",icon:{url:"ipfs://QmYotcuJYjUBXZ33CYoWMyNnJbjK14f8ma6sge55Z5bg5W/polygon-blackberry.svg",width:300,height:300,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmYotcuJYjUBXZ33CYoWMyNnJbjK14f8ma6sge55Z5bg5W/polygon-blackberry.svg",width:300,height:300,format:"svg"},infoURL:"https://raas.gelato.network/rollups/details/public/polygon-blackberry",name:"Polygon Blackberry",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:94204209,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.gelato.network/bridge/polygon-blackberry"}]},redFlags:[],rpc:["https://94204209.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.polygon-blackberry.gelato.digital","wss://ws.polygon-blackberry.gelato.digital"],shortName:"polygon-blackberry",slip44:60,slug:"polygon-blackberry",status:"active",testnet:!0,title:"Polygon Blackberry Testnet"},kDt={chain:"TOYS",chainId:99415706,explorers:[],faucets:["https://faucet.joys.digital/"],infoURL:"https://joys.digital",name:"Joys Digital TestNet",nativeCurrency:{name:"TOYS",symbol:"TOYS",decimals:18},networkId:99415706,rpc:["https://99415706.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://toys.joys.cash/"],shortName:"TOYS",slip44:1,slug:"joys-digital-testnet",testnet:!0},SDt={chain:"Oraichain",chainId:108160679,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://orai.io",name:"Oraichain Mainnet",nativeCurrency:{name:"Oraichain Token",symbol:"ORAI",decimals:18},networkId:108160679,rpc:["https://108160679.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.orai.io"],shortName:"Oraichain",slug:"oraichain",testnet:!1,title:"Oraichain Mainnet"},RDt={chain:"Cyber",chainId:111557560,explorers:[{name:"Cyber Testnet Explorer",url:"https://testnet.cyberscan.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmR8NuaSqALStb95YsMsJRG2BoYkibjS1XE1pZFtvEkAXY",width:213,height:212,format:"svg"},infoURL:"https://cyber.co/",name:"Cyber Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:111557560,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://cyber-testnet.testnets.rollbridge.app/"}]},rpc:["https://111557560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cyber-testnet.alt.technology/","wss://cyber-testnet.alt.technology/ws","https://rpc.testnet.cyber.co/","wss://rpc.testnet.cyber.co/"],shortName:"cysep",slug:"cyber-testnet",testnet:!0},MDt={chain:"ETH",chainId:123420111,explorers:[{name:"blockscout",url:"https://opcelestia-raspberry.gelatoscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQXw4QEDR4AbUwX9scH7aGhiSDhQRxu6LCQoUkgsYgGyK/Gelato%20brand%20mark.png",width:300,height:300,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/opcelestia-raspberry",name:"OP Celestia Rasberry",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:123420111,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.gelato.network/bridge/opcelestia-raspberry"}]},redFlags:[],rpc:["https://123420111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.opcelestia-raspberry.gelato.digital","wss://ws.opcelestia-raspberry.gelato.digital"],shortName:"opcelestia-rasberry",slip44:60,slug:"op-celestia-rasberry",status:"active",testnet:!0,title:"OP Celestia Rasberry"},BDt={chain:"ETH",chainId:161221135,explorers:[{name:"Blockscout",url:"https://testnet-explorer.plumenetwork.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNUpqkYWYJoDXKUpZ8FVbGyN6HCwxYonKNAieCf2oTzGn",width:1062,height:1062,format:"png"},infoURL:"https://www.plumenetwork.xyz/",name:"Plume Testnet",nativeCurrency:{name:"Plume Sepolia Ether",symbol:"ETH",decimals:18},networkId:161221135,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://testnet-bridge.plumenetwork.xyz"}]},rpc:["https://161221135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.plumenetwork.xyz/http","wss://testnet-rpc.plumenetwork.xyz/ws"],shortName:"plume-testnet",slip44:1,slug:"plume-testnet",testnet:!0,title:"Plume Sepolia Rollup Testnet"},DDt={chain:"ETH",chainId:168587773,explorers:[{name:"Blast Sepolia Explorer",url:"https://testnet.blastscan.io",standard:"EIP3091",icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"}}],faucets:["https://faucet.quicknode.com/blast/sepolia"],icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"},infoURL:"https://blast.io/",name:"Blast Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:168587773,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://168587773.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.blast.io","https://blast-sepolia.drpc.org","wss://blast-sepolia.drpc.org"],shortName:"blastsepolia",slug:"blast-sepolia-testnet",testnet:!0},PDt={chain:"GTH",chainId:192837465,explorers:[{name:"Blockscout",url:"https://explorer.gather.network",standard:"none",icon:{url:"ipfs://QmTYR8CeFiNbJ1zJHnE3DK2wEN18r2y2vqSKUcLweUT2Gz",width:1080,height:1080,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://Qmc9AJGg9aNhoH56n3deaZeUc8Ty1jDYJsW6Lu6hgSZH4S",width:512,height:512,format:"png"},infoURL:"https://gather.network",name:"Gather Mainnet Network",nativeCurrency:{name:"Gather",symbol:"GTH",decimals:18},networkId:192837465,redFlags:[],rpc:["https://192837465.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.gather.network"],shortName:"GTH",slug:"gather-network",testnet:!1},LDt={chain:"Kanazawa",chainId:222000222,explorers:[{name:"explorer",url:"https://testnet.meldscan.io",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}},{name:"explorer",url:"https://subnets-test.avax.network/meld",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"},infoURL:"https://meld.com",name:"Kanazawa",nativeCurrency:{name:"gMeld",symbol:"gMELD",decimals:18},networkId:222000222,rpc:["https://222000222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.meld.com"],shortName:"kanazawa",slip44:1,slug:"kanazawa",testnet:!0,title:"Meld Testnet Kanazawa"},FDt={chain:"Solana",chainId:245022926,explorers:[{name:"blockscout",url:"https://neon-devnet.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"neonscan",url:"https://devnet.neonscan.org",standard:"EIP3091"}],faucets:["https://neonfaucet.org"],icon:{url:"ipfs://Qmcxevb3v8PEvnvfYgcG3bCBuPhe5YAdsHeaufDChSSR3Q",width:512,height:512,format:"png"},infoURL:"https://neon-labs.org",name:"Neon EVM Devnet",nativeCurrency:{name:"Neon",symbol:"NEON",decimals:18},networkId:245022926,rpc:["https://245022926.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.neonevm.org","https://neon-evm-devnet.drpc.org","wss://neon-evm-devnet.drpc.org"],shortName:"neonevm-devnet",slug:"neon-evm-devnet",testnet:!1},NDt={chain:"Solana",chainId:245022934,explorers:[{name:"neonscan",url:"https://neonscan.org",standard:"EIP3091"},{name:"native",url:"https://neon.blockscout.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmcxevb3v8PEvnvfYgcG3bCBuPhe5YAdsHeaufDChSSR3Q",width:512,height:512,format:"png"},infoURL:"https://neonevm.org",name:"Neon EVM Mainnet",nativeCurrency:{name:"Neon",symbol:"NEON",decimals:18},networkId:245022934,rpc:["https://245022934.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://neon-proxy-mainnet.solana.p2p.org","https://neon-evm.drpc.org","wss://neon-evm.drpc.org"],shortName:"neonevm-mainnet",slug:"neon-evm",testnet:!1},ODt={chain:"Solana",chainId:245022940,explorers:[{name:"native",url:"https://testnet.explorer.neon-labs.org",standard:"EIP3091"},{name:"neonscan",url:"https://testnet.neonscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmcxevb3v8PEvnvfYgcG3bCBuPhe5YAdsHeaufDChSSR3Q",width:512,height:512,format:"png"},infoURL:"https://neon-labs.org",name:"Neon EVM TestNet",nativeCurrency:{name:"Neon",symbol:"NEON",decimals:18},networkId:245022940,rpc:["https://245022940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.neonevm.org"],shortName:"neonevm-testnet",slip44:1,slug:"neon-evm-testnet",status:"deprecated",testnet:!0},UDt={chain:"Razor Schain",chainId:278611351,explorers:[{name:"turbulent-unique-scheat",url:"https://turbulent-unique-scheat.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://faucet.razorscan.io/"],icon:{url:"ipfs://QmUdwAZJfyKGZnfPGDsCnNvGu123mdd57kTGj1Y3EWVuWK",width:900,height:900,format:"png"},infoURL:"https://razor.network",name:"Razor Skale Chain",nativeCurrency:{name:"sFuel",symbol:"SFUEL",decimals:18},networkId:278611351,rpc:["https://278611351.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/turbulent-unique-scheat"],shortName:"razor",slug:"razor-skale-chain",testnet:!1},HDt={chain:"OLT",chainId:311752642,explorers:[{name:"OneLedger Block Explorer",url:"https://mainnet-explorer.oneledger.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRhqq4Gp8G9w27ND3LeFW49o5PxcxrbJsqHbpBFtzEMfC",width:225,height:225,format:"png"},infoURL:"https://oneledger.io",name:"OneLedger Mainnet",nativeCurrency:{name:"OLT",symbol:"OLT",decimals:18},networkId:311752642,rpc:["https://311752642.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oneledger.network"],shortName:"oneledger",slug:"oneledger",testnet:!1},zDt={chain:"MELD",chainId:333000333,explorers:[{name:"explorer",url:"https://meldscan.io",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}},{name:"explorer",url:"https://subnets.avax.network/meld",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"},infoURL:"https://meld.com",name:"Meld",nativeCurrency:{name:"gMeld",symbol:"gMELD",decimals:18},networkId:333000333,rpc:["https://333000333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.meld.com"],shortName:"meld",slug:"meld",testnet:!1,title:"Meld Mainnet"},WDt={chain:"staging-utter-unripe-menkar",chainId:344106930,explorers:[{name:"Blockscout",url:"https://staging-utter-unripe-menkar.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafybeigyayzxvt7vosat4rtrbmhhnldgx57w2pfbutuniax7h6kswzi42m",width:1637,height:1636,format:"png"},infoURL:"https://calypsohub.network/",name:"Deprecated SKALE Calypso Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:344106930,rpc:["https://344106930.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-utter-unripe-menkar"],shortName:"deprected-calypso-testnet",slip44:1,slug:"deprecated-skale-calypso-hub-testnet",status:"deprecated",testnet:!0,title:"Deprecated Calypso NFT Hub Testnet"},qDt={chain:"GTH",chainId:356256156,explorers:[{name:"Blockscout",url:"https://testnet-explorer.gather.network",standard:"none",icon:{url:"ipfs://QmTYR8CeFiNbJ1zJHnE3DK2wEN18r2y2vqSKUcLweUT2Gz",width:1080,height:1080,format:"svg"}}],faucets:["https://testnet-faucet.gather.network/"],features:[],icon:{url:"ipfs://Qmc9AJGg9aNhoH56n3deaZeUc8Ty1jDYJsW6Lu6hgSZH4S",width:512,height:512,format:"png"},infoURL:"https://gather.network",name:"Gather Testnet Network",nativeCurrency:{name:"Gather",symbol:"GTH",decimals:18},networkId:356256156,redFlags:[],rpc:["https://356256156.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.gather.network"],shortName:"tGTH",slip44:1,slug:"gather-testnet-network",testnet:!0},jDt={chain:"staging-legal-crazy-castor",chainId:476158412,explorers:[{name:"Blockscout",url:"https://staging-legal-crazy-castor.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafkreiezcwowhm6xjrkt44cmiu6ml36rhrxx3amcg3cfkcntv2vgcvgbre",width:600,height:600,format:"png"},infoURL:"https://europahub.network/",name:"Deprecated SKALE Europa Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:476158412,rpc:["https://476158412.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-legal-crazy-castor"],shortName:"deprecated-europa-testnet",slip44:1,slug:"deprecated-skale-europa-hub-testnet",status:"deprecated",testnet:!0,title:"Deprecated Europa Hub Testnet"},GDt={chain:"GTH",chainId:486217935,explorers:[{name:"Blockscout",url:"https://devnet-explorer.gather.network",standard:"none"}],faucets:[],infoURL:"https://gather.network",name:"Gather Devnet Network",nativeCurrency:{name:"Gather",symbol:"GTH",decimals:18},networkId:486217935,rpc:["https://486217935.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.gather.network"],shortName:"dGTH",slug:"gather-devnet-network",testnet:!1},KDt={chain:"staging-faint-slimy-achird",chainId:503129905,explorers:[{name:"Blockscout",url:"https://staging-faint-slimy-achird.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafybeic5eexvd34wfy4kuebcyu73qpkv3x57s54ebzjyhyjsmeuni5jwcm",width:500,height:500,format:"png"},infoURL:"https://nebulachain.io/",name:"Deprecated SKALE Nebula Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:503129905,rpc:["https://503129905.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-faint-slimy-achird","wss://staging-v3.skalenodes.com/v1/ws/staging-faint-slimy-achird"],shortName:"deprecated-nebula-testnet",slip44:1,slug:"deprecated-skale-nebula-hub-testnet",status:"deprecated",testnet:!0},QDt={chain:"Degen",chainId:666666666,explorers:[],faucets:[],icon:{url:"ipfs://Qmb6yAe4wXeBkxjfhxzoUT9TzETcmE7Vne59etm9GJaQf7",width:789,height:668,format:"svg"},infoURL:"https://degen.tips",name:"Degen Chain",nativeCurrency:{name:"DEGEN",symbol:"DEGEN",decimals:18},networkId:666666666,rpc:["https://666666666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.degen.tips"],shortName:"degen-chain",slug:"degen-chain",status:"incubating",testnet:!1,title:"Degen Chain"},VDt={chain:"Ancient8",chainId:888888888,explorers:[{name:"Ancient8 Explorer",url:"https://scan.ancient8.gg",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreievnqg3xjokaty4kfbxxbrzm5v5y7exbaaia2txrh4sfgrqsalfym",width:128,height:128,format:"png"},infoURL:"https://ancient8.gg/",name:"Ancient8",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:888888888,rpc:["https://888888888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ancient8.gg"],shortName:"ancient8",slug:"ancient8",testnet:!1},YDt={chain:"PTCE",chainId:889910245,explorers:[{name:"PTCESCAN Testnet Explorer",url:"https://explorer-testnet.ptcscan.io",standard:"EIP3091"}],faucets:["https://faucet.ptcscan.io/"],infoURL:"https://ptcscan.io",name:"PTCESCAN Testnet",nativeCurrency:{name:"PTCE",symbol:"PTCE",decimals:18},networkId:889910245,rpc:["https://889910245.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.ptcscan.io"],shortName:"PTCE",slug:"ptcescan-testnet",testnet:!0,title:"PTCESCAN Testnet"},$Dt={chain:"PTCE",chainId:889910246,explorers:[{name:"PTCESCAN Explorer",url:"https://ptcscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ptcscan.io",name:"PTCESCAN Mainnet",nativeCurrency:{name:"PTCE",symbol:"PTCE",decimals:18},networkId:889910246,rpc:["https://889910246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ptcscan.io"],shortName:"POLYTECH",slug:"ptcescan",testnet:!1,title:"PTCESCAN Mainnet"},JDt={chain:"giant-half-dual-testnet",chainId:974399131,explorers:[{name:"Blockscout",url:"https://giant-half-dual-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafybeigyayzxvt7vosat4rtrbmhhnldgx57w2pfbutuniax7h6kswzi42m",width:1637,height:1636,format:"png"},infoURL:"https://calypsohub.network/",name:"SKALE Calypso Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:974399131,rpc:["https://974399131.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/giant-half-dual-testnet"],shortName:"calypso-testnet",slip44:1,slug:"skale-calypso-hub-testnet",testnet:!0,title:"SKALE Calypso Hub Testnet"},Wse={chain:"ETH",chainId:999999999,explorers:[{name:"Zora Sepolia Testnet Network Explorer",url:"https://sepolia.explorer.zora.energy",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifvrly5tgd34xqeo67s4etmiu52bkroml7uy7eosizf57htf5nrzq",width:250,height:250,format:"png"},infoURL:"https://zora.energy",name:"Zora Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:999999999,rpc:["https://999999999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.rpc.zora.energy"],shortName:"zsep",slip44:1,slug:"zora-sepolia-testnet",testnet:!0},XDt={chain:"aware-fake-trim-testnet",chainId:1020352220,explorers:[{name:"Blockscout",url:"https://aware-fake-trim-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafkreiagrt5dhgltg2kmw7hf24kslstr5h42e745luuxwp2wbg24gm6zza",width:500,height:500,format:"png"},name:"SKALE Titan Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1020352220,rpc:["https://1020352220.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/aware-fake-trim-testnet","wss://testnet.skalenodes.com/v1/ws/aware-fake-trim-testnet"],shortName:"titan-testnet",slip44:1,slug:"skale-titan-hub-testnet",testnet:!0,title:"SKALE Titan Hub Testnet"},ZDt={chain:"IPOS",chainId:1122334455,explorers:[],faucets:[],infoURL:"https://iposlab.com",name:"IPOS Network",nativeCurrency:{name:"IPOS Network Ether",symbol:"IPOS",decimals:18},networkId:1122334455,rpc:["https://1122334455.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.iposlab.com","https://rpc2.iposlab.com"],shortName:"ipos",slug:"ipos-network",testnet:!1},ePt={chain:"cyberdeck",chainId:1146703430,explorers:[{name:"CybEthExplorer",url:"http://cybeth1.cyberdeck.eu:8000",standard:"none",icon:{url:"ipfs://QmTvYMJXeZeWxYPuoQ15mHCS8K5EQzkMMCHQVs3GshooyR",width:193,height:214,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTvYMJXeZeWxYPuoQ15mHCS8K5EQzkMMCHQVs3GshooyR",width:193,height:214,format:"png"},infoURL:"https://cyberdeck.eu",name:"CyberdeckNet",nativeCurrency:{name:"Cyb",symbol:"CYB",decimals:18},networkId:1146703430,rpc:["https://1146703430.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://cybeth1.cyberdeck.eu:8545"],shortName:"cyb",slug:"cyberdecknet",status:"active",testnet:!1},tPt={chain:"wan-red-ain",chainId:1273227453,explorers:[{name:"Blockscout",url:"https://wan-red-ain.explorer.mainnet.skalenodes.com",standard:"EIP3091",icon:{url:"ipfs://QmT5KKrpNt6duU8QfwaYw3xf4ifTBPtjahpWsMi3gsFmcS",width:440,height:600,format:"png"}}],faucets:["https://dashboard.humanprotocol.org/faucet"],infoURL:"https://www.humanprotocol.org",name:"HUMAN Protocol",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1273227453,rpc:["https://1273227453.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/wan-red-ain"],shortName:"human-mainnet",slug:"human-protocol",testnet:!1,title:"HUMAN Protocol"},nPt={chain:"NEAR",chainId:1313161554,explorers:[{name:"aurorascan.dev",url:"https://aurorascan.dev",standard:"EIP3091"}],faucets:[],infoURL:"https://aurora.dev",name:"Aurora Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161554,rpc:["https://1313161554.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.aurora.dev","https://aurora.drpc.org","wss://aurora.drpc.org"],shortName:"aurora",slug:"aurora",testnet:!1},aPt={chain:"NEAR",chainId:1313161555,explorers:[{name:"aurorascan.dev",url:"https://testnet.aurorascan.dev",standard:"EIP3091"}],faucets:[],infoURL:"https://aurora.dev",name:"Aurora Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161555,rpc:["https://1313161555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.aurora.dev/","https://aurora-testnet.drpc.org","wss://aurora-testnet.drpc.org"],shortName:"aurora-testnet",slip44:1,slug:"aurora-testnet",testnet:!0},rPt={chain:"NEAR",chainId:1313161556,explorers:[],faucets:[],infoURL:"https://aurora.dev",name:"Aurora Betanet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161556,rpc:[],shortName:"aurora-betanet",slug:"aurora-betanet",testnet:!1},fPt={chain:"NEAR",chainId:1313161560,explorers:[{name:"PowerGold explorer",url:"https://explorer.powergold.aurora.dev",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreib2sabb6vgfoskobp2wdr6if7v6s34f2xwjecfceui6qhjudmu4u4",width:512,height:512,format:"png"},infoURL:"https://www.powergold.tech",name:"PowerGold",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161560,rpc:["https://1313161560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://powergold.aurora.dev"],shortName:"powergold",slug:"powergold",testnet:!1},iPt={chain:"parallel-stormy-spica",chainId:1350216234,explorers:[{name:"Blockscout",url:"https://parallel-stormy-spica.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.skale.network/"],icon:{url:"ipfs://bafkreiagrt5dhgltg2kmw7hf24kslstr5h42e745luuxwp2wbg24gm6zza",width:500,height:500,format:"png"},name:"SKALE Titan Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1350216234,rpc:["https://1350216234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/parallel-stormy-spica","wss://mainnet.skalenodes.com/v1/ws/parallel-stormy-spica"],shortName:"titan-mainnet",slug:"skale-titan-hub",testnet:!1},sPt={chain:"staging-fast-active-bellatrix",chainId:1351057110,explorers:[{name:"Blockscout",url:"https://staging-fast-active-bellatrix.explorer.staging-v3.skalenodes.com",standard:"EIP3091",icon:{url:"ipfs://QmbYYCoU2G4LUfRr9ofGowF3eatfvWv9FiPVhqKndZeqwA",width:400,height:400,format:"png"}}],faucets:["https://sfuel.skale.network/staging/chaos"],infoURL:"https://docs.skale.network/develop/",name:"Chaos (SKALE Testnet)",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1351057110,rpc:["https://1351057110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-fast-active-bellatrix"],shortName:"chaos-tenet",slip44:1,slug:"chaos-skale-testnet",testnet:!0,title:"Chaos Testnet"},oPt={chain:"Rari",chainId:1380012617,explorers:[{name:"rarichain-explorer",url:"https://mainnet.explorer.rarichain.org",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmdAX6818vZ3bAsPRv1DZGrc7qc8XTrgCnRLWrMecixhXb/RARI%20Chain%20Logomark%20Color.png",width:512,height:512,format:"png"},infoURL:"https://rari-mainnet.caldera.dev/",name:"Rari Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1380012617,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://rari.calderabridge.xyz/"}]},redFlags:[],rpc:["https://1380012617.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rpc.rarichain.org/http","https://rari.calderachain.xyz/http"],shortName:"rari",slug:"rari",testnet:!1},cPt={chain:"RPTR",chainId:1380996178,explorers:[{name:"RaptorChain Explorer",url:"https://explorer.raptorchain.io",standard:"EIP3091",icon:{url:"ipfs://QmQuvmiN6vM6Rqzqe1pMzDf8iZXqTtSeqCgGe5k5AyksDU",width:200,height:200,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmQuvmiN6vM6Rqzqe1pMzDf8iZXqTtSeqCgGe5k5AyksDU",width:200,height:200,format:"png"},infoURL:"https://raptorchain.io",name:"RaptorChain",nativeCurrency:{name:"Raptor",symbol:"RPTR",decimals:18},networkId:1380996178,rpc:["https://1380996178.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.raptorchain.io/web3"],shortName:"rptr",slug:"raptorchain",testnet:!1},dPt={chain:"juicy-low-small-testnet",chainId:1444673419,explorers:[{name:"Blockscout",url:"https://juicy-low-small-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafkreiezcwowhm6xjrkt44cmiu6ml36rhrxx3amcg3cfkcntv2vgcvgbre",width:600,height:600,format:"png"},infoURL:"https://europahub.network/",name:"SKALE Europa Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1444673419,rpc:["https://1444673419.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/juicy-low-small-testnet"],shortName:"europa-testnet",slip44:1,slug:"skale-europa-hub-testnet",testnet:!0,title:"SKALE Europa Hub Testnet"},lPt={chain:"green-giddy-denebola",chainId:1482601649,explorers:[{name:"Blockscout",url:"https://green-giddy-denebola.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.skale.network/"],icon:{url:"ipfs://bafybeic5eexvd34wfy4kuebcyu73qpkv3x57s54ebzjyhyjsmeuni5jwcm",width:500,height:500,format:"png"},infoURL:"https://nebulachain.io/",name:"SKALE Nebula Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1482601649,rpc:["https://1482601649.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/green-giddy-denebola","wss://mainnet-proxy.skalenodes.com/v1/ws/green-giddy-denebola"],shortName:"nebula-mainnet",slug:"skale-nebula-hub",testnet:!1},uPt={chain:"staging-aware-chief-gianfar",chainId:1517929550,explorers:[{name:"Blockscout",url:"https://staging-aware-chief-gianfar.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafkreiagrt5dhgltg2kmw7hf24kslstr5h42e745luuxwp2wbg24gm6zza",width:500,height:500,format:"png"},name:"Deprecated SKALE Titan Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1517929550,rpc:["https://1517929550.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-aware-chief-gianfar","wss://staging-v3.skalenodes.com/v1/ws/staging-aware-chief-gianfar"],shortName:"deprecated-titan-testnet",slip44:1,slug:"deprecated-skale-titan-hub-testnet",status:"deprecated",testnet:!0},pPt={chain:"honorable-steel-rasalhague",chainId:1564830818,explorers:[{name:"Blockscout",url:"https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev"],icon:{url:"ipfs://bafybeigyayzxvt7vosat4rtrbmhhnldgx57w2pfbutuniax7h6kswzi42m",width:1637,height:1636,format:"png"},infoURL:"https://calypsohub.network/",name:"SKALE Calypso Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1564830818,rpc:["https://1564830818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/honorable-steel-rasalhague"],shortName:"calypso-mainnet",slug:"skale-calypso-hub",testnet:!1},hPt={chain:"Harmony",chainId:16666e5,ens:{registry:"0x4cd2563118e57b19179d8dc033f2b0c5b5d69ff5"},explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one",standard:"EIP3091"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 0",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:16666e5,rpc:["https://1666600000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.harmony.one","https://a.api.s0.t.hmny.io","https://api.s0.t.hmny.io","https://rpc.ankr.com/harmony","https://harmony.api.onfinality.io/public","https://1rpc.io/one","https://harmony-0.drpc.org","wss://harmony-0.drpc.org"],shortName:"hmy-s0",slip44:1023,slug:"harmony-shard-0",testnet:!1},bPt={chain:"Harmony",chainId:1666600001,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one/blocks/shard/1",standard:"none"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 1",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666600001,rpc:["https://1666600001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.t.hmny.io","https://harmony-1.drpc.org","wss://harmony-1.drpc.org"],shortName:"hmy-s1",slip44:1023,slug:"harmony-shard-1",testnet:!1},mPt={chain:"Harmony",chainId:1666600002,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one/blocks/shard/2",standard:"none"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 2",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666600002,rpc:["https://1666600002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s2.t.hmny.io"],shortName:"hmy-s2",slip44:1023,slug:"harmony-shard-2",status:"deprecated",testnet:!1},yPt={chain:"Harmony",chainId:1666600003,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one/blocks/shard/3",standard:"none"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 3",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666600003,rpc:["https://1666600003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s3.t.hmny.io"],shortName:"hmy-s3",slip44:1023,slug:"harmony-shard-3",status:"deprecated",testnet:!1},gPt={chain:"Harmony",chainId:16667e5,explorers:[{name:"Harmony Testnet Block Explorer",url:"https://explorer.testnet.harmony.one",standard:"EIP3091"}],faucets:["https://faucet.pops.one"],infoURL:"https://www.harmony.one/",name:"Harmony Testnet Shard 0",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:16667e5,rpc:["https://1666700000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.b.hmny.io"],shortName:"hmy-b-s0",slug:"harmony-testnet-shard-0",testnet:!0},vPt={chain:"Harmony",chainId:1666700001,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.testnet.harmony.one",standard:"none"}],faucets:["https://faucet.pops.one"],infoURL:"https://www.harmony.one/",name:"Harmony Testnet Shard 1",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666700001,rpc:["https://1666700001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.b.hmny.io"],shortName:"hmy-b-s1",slug:"harmony-testnet-shard-1",testnet:!0},wPt={chain:"Harmony",chainId:16669e5,explorers:[],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Devnet Shard 0",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:16669e5,rpc:["https://1666900000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.ps.hmny.io"],shortName:"hmy-ps-s0",slug:"harmony-devnet-shard-0",testnet:!1},TPt={chain:"Harmony",chainId:1666900001,explorers:[],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Devnet Shard 1",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666900001,rpc:["https://1666900001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.ps.hmny.io"],shortName:"hmy-ps-s1",slug:"harmony-devnet-shard-1",testnet:!1},xPt={chain:"ETH",chainId:1802203764,explorers:[{name:"Kakarot Scan",url:"https://sepolia.kakarotscan.org",standard:"EIP3091"},{name:"Kakarot Explorer",url:"https://sepolia-explorer.kakarot.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNTZ9nEomAXK6bLxUbMfTS1TvrsN22HU1zTtxHUpMkUhz",width:1e3,height:1e3,format:"png"},infoURL:"https://kakarot.org",name:"Kakarot Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1802203764,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:["https://1802203764.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.kakarot.org"],shortName:"kkrt-sepolia",slug:"kakarot-sepolia",testnet:!1},EPt={chain:"RARI-T",chainId:1918988905,explorers:[{name:"rarichain-testnet-explorer",url:"https://explorer.rarichain.org",standard:"EIP3091"}],faucets:[],features:[],infoURL:"https://rarichain.org/",name:"RARIchain Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1918988905,redFlags:[],rpc:["https://1918988905.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.rarichain.org/http"],shortName:"eth",slug:"rarichain-testnet",testnet:!0},_Pt={chain:"HOP",chainId:2021121117,explorers:[],faucets:[],infoURL:"https://www.DataHopper.com",name:"DataHopper",nativeCurrency:{name:"DataHoppers",symbol:"HOP",decimals:18},networkId:2021121117,rpc:["https://2021121117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://23.92.21.121:8545"],shortName:"hop",slug:"datahopper",testnet:!1},APt={chain:"europa",chainId:2046399126,explorers:[{name:"Blockscout",url:"https://elated-tan-skat.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://ruby.exchange/faucet.html","https://sfuel.mylilius.com/"],icon:{url:"ipfs://bafkreiezcwowhm6xjrkt44cmiu6ml36rhrxx3amcg3cfkcntv2vgcvgbre",width:600,height:600,format:"png"},infoURL:"https://europahub.network/",name:"SKALE Europa Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:2046399126,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://ruby.exchange/bridge.html"}]},rpc:["https://2046399126.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/elated-tan-skat","wss://mainnet.skalenodes.com/v1/elated-tan-skat"],shortName:"europa",slug:"skale-europa-hub",testnet:!1},CPt={chain:"Ancient8",chainId:2863311531,explorers:[{name:"a8scan-testnet",url:"https://testnet.a8scan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreievnqg3xjokaty4kfbxxbrzm5v5y7exbaaia2txrh4sfgrqsalfym",width:128,height:128,format:"png"},infoURL:"https://ancient8.gg/",name:"Ancient8 Testnet (deprecated)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2863311531,rpc:["https://2863311531.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.ancient8.gg"],shortName:"a8old",slip44:1,slug:"ancient8-testnet-deprecated",status:"deprecated",testnet:!0},IPt={chain:"PIRL",chainId:3125659152,explorers:[],faucets:[],infoURL:"https://pirl.io",name:"Pirl",nativeCurrency:{name:"Pirl Ether",symbol:"PIRL",decimals:18},networkId:3125659152,rpc:["https://3125659152.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://wallrpc.pirl.io"],shortName:"pirl",slip44:164,slug:"pirl",testnet:!1},kPt={chain:"OLT",chainId:4216137055,explorers:[{name:"OneLedger Block Explorer",url:"https://frankenstein-explorer.oneledger.network",standard:"EIP3091"}],faucets:["https://frankenstein-faucet.oneledger.network"],icon:{url:"ipfs://QmRhqq4Gp8G9w27ND3LeFW49o5PxcxrbJsqHbpBFtzEMfC",width:225,height:225,format:"png"},infoURL:"https://oneledger.io",name:"OneLedger Testnet Frankenstein",nativeCurrency:{name:"OLT",symbol:"OLT",decimals:18},networkId:4216137055,rpc:["https://4216137055.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://frankenstein-rpc.oneledger.network"],shortName:"frankenstein",slip44:1,slug:"oneledger-testnet-frankenstein",testnet:!0},SPt={chain:"Palm",chainId:11297108099,explorers:[{name:"Chainlens",url:"https://testnet.palm.chainlens.com",standard:"EIP3091"},{name:"Dora",url:"https://www.ondora.xyz/network/palm-testnet",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihifvvbq6xzviygveivayogqiotdtpjvilu27bgqobduqemzeq7o4",width:72,height:72,format:"svg"},infoURL:"https://palm.network",name:"Palm Testnet",nativeCurrency:{name:"PALM",symbol:"PALM",decimals:18},networkId:11297108099,rpc:["https://11297108099.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palm-testnet.infura.io/v3/${INFURA_API_KEY}","https://palm-testnet.public.blastapi.io"],shortName:"tpalm",slip44:1,slug:"palm-testnet",testnet:!0},RPt={chain:"Palm",chainId:11297108109,explorers:[{name:"Chainlens",url:"https://palm.chainlens.com",standard:"EIP3091"},{name:"Dora",url:"https://www.ondora.xyz/network/palm",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihifvvbq6xzviygveivayogqiotdtpjvilu27bgqobduqemzeq7o4",width:72,height:72,format:"svg"},infoURL:"https://palm.network",name:"Palm",nativeCurrency:{name:"PALM",symbol:"PALM",decimals:18},networkId:11297108109,rpc:["https://11297108109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palm-mainnet.infura.io/v3/${INFURA_API_KEY}","https://palm-mainnet.public.blastapi.io"],shortName:"palm",slug:"palm",testnet:!1},MPt={chain:"ETH",chainId:28872323069,explorers:[],faucets:[],icon:{url:"ipfs://bafkreihdfuzytq2og65n3d3b2kzfvk6yywvqdlorrt6h76q4baz5phcvju",width:256,height:256,format:"png"},infoURL:"https://gitswarm.com/",name:"GitSwarm Test Network",nativeCurrency:{name:"GitSwarm Ether",symbol:"GS-ETH",decimals:18},networkId:28872323069,rpc:["https://28872323069.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gitswarm.com:2096"],shortName:"GS-ETH",slip44:1,slug:"gitswarm-test-network",status:"incubating",testnet:!0,title:"GitSwarm Test Network"},BPt={chain:"Xai Sepolia",chainId:37714555429,explorers:[{name:"Blockscout",url:"https://testnet-explorer-v2.xai-chain.net",standard:"EIP3091"},{name:"blockscout",url:"https://testnet-explorer-v2.xai-chain.net/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmZKFekbHxDkB8gFmmmjWz89SLhwg38GkALmAKo3gn753N/2024-01-10%2012.50.15.jpg",width:512,height:512,format:"jpg"},infoURL:"https://xai.games",name:"Xai Sepolia",nativeCurrency:{name:"sXAI",symbol:"sXAI",decimals:18},networkId:37714555429,parent:{type:"L3",chain:"eip155-1",bridges:[]},redFlags:[],rpc:["https://37714555429.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-v2.xai-chain.net/rpc"],shortName:"xai-sepolia",slug:"xai-sepolia",testnet:!0},DPt={chain:"Xai Goerli Orbit Testnet",chainId:47279324479,explorers:[],faucets:[],features:[],infoURL:"https://xai.games/",name:"Xai Goerli Orbit",nativeCurrency:{name:"Xai Goerli Ether",symbol:"ETH",decimals:18},networkId:47279324479,redFlags:[],rpc:[],shortName:"xai-goerli",slug:"xai-goerli-orbit",status:"deprecated",testnet:!0},PPt={chain:"ETH",chainId:88153591557,explorers:[{name:"blockscout",url:"https://arb-blueberry.gelatoscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQXw4QEDR4AbUwX9scH7aGhiSDhQRxu6LCQoUkgsYgGyK/Gelato%20brand%20mark.png",width:300,height:300,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/arb-blueberry",name:"Arbitrum Blueberry",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:88153591557,parent:{type:"L2",chain:"eip155-421614",bridges:[{url:"https://bridge.gelato.network/bridge/arb-blueberry"}]},redFlags:[],rpc:["https://88153591557.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.arb-blueberry.gelato.digital","wss://ws.arb-blueberry.gelato.digital"],shortName:"arb-blueberry",slip44:60,slug:"arbitrum-blueberry",status:"active",testnet:!0,title:"Arbitrum Blueberry"},LPt={chain:"ETH",chainId:107107114116,explorers:[],faucets:[],icon:{url:"ipfs://QmNTZ9nEomAXK6bLxUbMfTS1TvrsN22HU1zTtxHUpMkUhz",width:1e3,height:1e3,format:"png"},infoURL:"https://kakarot.org",name:"Kakarot Sepolia Deprecated",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:107107114116,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:[],shortName:"kkrt-sepolia-deprecated",slug:"kakarot-sepolia-deprecated",testnet:!1},FPt={chain:"Alphabet Network",chainId:111222333444,explorers:[{name:"Alphabet Explorer",url:"https://scan.alphabetnetwork.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfTeudwVJcu7jzySBcpD9H5ZVK66nPJKRnicxend1bxfq",width:500,height:500,format:"svg"},infoURL:"https://alphabetnetwork.org",name:"Alphabet Mainnet",nativeCurrency:{name:"ALT",symbol:"ALT",decimals:18},networkId:111222333444,rpc:["https://111222333444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://londonpublic.alphabetnetwork.org","wss://londonpublic.alphabetnetwork.org/ws/","https://main-rpc.com","wss://main-rpc.com/ws/"],shortName:"alphabet",slug:"alphabet",testnet:!1},NPt={chain:"Ntity",chainId:197710212030,explorers:[{name:"Ntity Blockscout",url:"https://blockscout.ntity.io",standard:"EIP3091",icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"},infoURL:"https://ntity.io",name:"Ntity Mainnet",nativeCurrency:{name:"Ntity",symbol:"NTT",decimals:18},networkId:197710212030,rpc:["https://197710212030.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ntity.io"],shortName:"ntt",slug:"ntity",testnet:!1},OPt={chain:"Ntity",chainId:197710212031,explorers:[{name:"Ntity Haradev Blockscout",url:"https://blockscout.haradev.com",standard:"EIP3091",icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"},infoURL:"https://ntity.io",name:"Haradev Testnet",nativeCurrency:{name:"Ntity Haradev",symbol:"NTTH",decimals:18},networkId:197710212031,rpc:["https://197710212031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain.haradev.com"],shortName:"ntt-haradev",slip44:1,slug:"haradev-testnet",testnet:!0},UPt={chain:"ZENIQ",chainId:383414847825,explorers:[{name:"zeniq-smart-chain-explorer",url:"https://smart.zeniq.net",standard:"EIP3091"}],faucets:["https://faucet.zeniq.net/"],infoURL:"https://www.zeniq.dev/",name:"Zeniq",nativeCurrency:{name:"Zeniq",symbol:"ZENIQ",decimals:18},networkId:383414847825,rpc:["https://383414847825.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://smart.zeniq.network:9545"],shortName:"zeniq",slug:"zeniq",testnet:!1},HPt={chain:"IPDC",chainId:666301171999,explorers:[{name:"ipdcscan",url:"https://scan.ipdc.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ipdc.io",name:"PDC Mainnet",nativeCurrency:{name:"PDC",symbol:"PDC",decimals:18},networkId:666301171999,rpc:["https://666301171999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.ipdc.io/"],shortName:"ipdc",slug:"pdc",testnet:!1},zPt={chain:"ETH",chainId:6022140761023,explorers:[],faucets:[],infoURL:"https://github.com/Jdubedition/molereum",name:"Molereum Network",nativeCurrency:{name:"Molereum Ether",symbol:"MOLE",decimals:18},networkId:6022140761023,rpc:["https://6022140761023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://molereum.jdubedition.com"],shortName:"mole",slug:"molereum-network",testnet:!1},WPt={chain:"GWT",chainId:868455272153094,explorers:[{name:"GWScan Block Explorer",url:"https://v1.aggron.gwscan.com",standard:"none"}],faucets:["https://homura.github.io/light-godwoken"],infoURL:"https://www.nervos.org",name:"Godwoken Testnet (V1)",nativeCurrency:{name:"CKB",symbol:"CKB",decimals:8},networkId:868455272153094,rpc:["https://868455272153094.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://godwoken-testnet-web3-v1-rpc.ckbapp.dev"],shortName:"gw-testnet-v1-deprecated",slip44:1,slug:"godwoken-testnet-v1-gw-testnet-v1-deprecated",status:"deprecated",testnet:!0},qPt={chain:"dchaint",chainId:2713017997578e3,explorers:[{name:"dchaint scan",url:"https://dchaintestnet-2713017997578000-1.testnet.sagaexplorer.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmP2cDWvgMuPgwAAEX9KexowUEjw6q7zCUSsWcb8HdudUH",width:512,height:512,format:"png"},infoURL:"https://www.dchain.foundation/",name:"DCHAIN Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2713017997578e3,rpc:["https://2713017997578000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dchaintestnet-2713017997578000-1.jsonrpc.testnet.sagarpc.io"],shortName:"dchaint",slug:"dchain-testnet",testnet:!0,title:"DCHAIN Testnet"},jPt={chain:"dchainmainnet",chainId:2716446429837e3,explorers:[{name:"dchain scan",url:"https://dchain-2716446429837000-1.sagaexplorer.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmamkxtxT1uFWQGxswmzBRkoTcZuU5biM1QvdsU6SD36K6",width:512,height:512,format:"png"},infoURL:"https://www.dchain.foundation/",name:"DCHAIN",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2716446429837e3,rpc:["https://2716446429837000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dchain-2716446429837000-1.jsonrpc.sagarpc.io"],shortName:"dchainmainnet",slug:"dchain",testnet:!1,title:"DCHAIN Mainnet"};n1=[I6,kHe,xW,_W,H7,EW,_He,IHe,TW,AW,vHe,wHe,THe,EHe,CHe,AHe,xHe],GPt=[I6,Jit,Xit,Zit,est,tst,nst,ast,rst,TW,fst,ist,sst,ost,cst,dst,lst,ust,pst,hst,bst,mst,yst,gst,vst,wst,Tst,xst,Est,_st,Ast,Cst,Ist,kst,Sst,Rst,Mst,Bst,Dst,Pst,Lst,Fst,Nst,Ost,Ust,Hst,zst,Wst,qst,jst,Gst,Kst,Qst,Vst,Yst,vHe,$st,Jst,Xst,Zst,eot,tot,not,aot,rot,fot,iot,sot,oot,cot,dot,lot,uot,pot,hot,bot,mot,yot,got,vot,wot,Tot,xot,Eot,_ot,Aot,Cot,Iot,kot,Sot,Rot,Mot,Bot,Dot,Pot,Lot,wHe,Fot,Not,Oot,Uot,Hot,zot,Wot,qot,jot,Got,Kot,Qot,Vot,Yot,$ot,Jot,Xot,Zot,e1t,t1t,n1t,a1t,r1t,f1t,i1t,s1t,o1t,c1t,d1t,l1t,u1t,p1t,h1t,b1t,m1t,y1t,g1t,v1t,H7,w1t,T1t,x1t,E1t,_1t,A1t,C1t,Ose,I1t,k1t,S1t,R1t,M1t,B1t,D1t,P1t,L1t,F1t,N1t,O1t,U1t,H1t,z1t,W1t,q1t,j1t,G1t,K1t,Q1t,V1t,Y1t,$1t,J1t,X1t,Z1t,ect,tct,nct,act,rct,fct,ict,sct,oct,cct,dct,lct,uct,pct,hct,bct,mct,yct,gct,vct,wct,Tct,xct,Ect,_ct,Act,Cct,Ict,kct,Sct,Rct,Mct,Bct,Dct,Pct,Lct,Fct,THe,Nct,Oct,Uct,Hct,zct,Wct,qct,jct,Gct,Kct,Qct,Vct,Yct,$ct,Jct,Xct,Zct,e6t,t6t,n6t,a6t,r6t,f6t,i6t,s6t,o6t,c6t,d6t,l6t,u6t,p6t,h6t,b6t,m6t,y6t,g6t,v6t,w6t,T6t,x6t,E6t,_6t,A6t,C6t,I6t,k6t,S6t,R6t,M6t,B6t,D6t,P6t,L6t,F6t,N6t,O6t,U6t,H6t,z6t,W6t,q6t,j6t,G6t,K6t,Q6t,V6t,Y6t,$6t,J6t,X6t,Z6t,e5t,t5t,n5t,a5t,r5t,f5t,i5t,s5t,o5t,c5t,d5t,l5t,u5t,p5t,h5t,b5t,m5t,y5t,g5t,v5t,w5t,T5t,x5t,E5t,_5t,A5t,C5t,I5t,k5t,S5t,R5t,M5t,B5t,D5t,P5t,L5t,F5t,N5t,O5t,U5t,H5t,z5t,W5t,q5t,j5t,G5t,K5t,Q5t,V5t,Y5t,$5t,J5t,X5t,Z5t,edt,tdt,ndt,adt,rdt,fdt,idt,sdt,odt,cdt,ddt,ldt,udt,pdt,hdt,bdt,mdt,ydt,gdt,vdt,wdt,Tdt,xdt,Edt,_dt,Adt,Cdt,Idt,kdt,Sdt,Rdt,Mdt,Bdt,Ddt,Pdt,Ldt,Fdt,Ndt,Odt,Udt,Hdt,zdt,Wdt,qdt,jdt,Gdt,Kdt,Qdt,Vdt,Ydt,$dt,Jdt,Xdt,Zdt,elt,tlt,nlt,alt,rlt,flt,ilt,slt,olt,clt,dlt,llt,ult,plt,hlt,blt,mlt,ylt,glt,vlt,wlt,Tlt,xlt,Elt,_lt,Alt,Clt,Ilt,klt,Slt,Rlt,Mlt,Blt,Dlt,Plt,Llt,Flt,Nlt,Olt,Ult,Hlt,zlt,Wlt,qlt,jlt,Glt,Klt,Qlt,Vlt,Ylt,$lt,Jlt,Xlt,Zlt,e2t,t2t,Use,n2t,a2t,r2t,f2t,i2t,s2t,o2t,c2t,d2t,l2t,u2t,p2t,h2t,b2t,m2t,y2t,g2t,v2t,w2t,T2t,x2t,E2t,_2t,A2t,C2t,I2t,k2t,S2t,R2t,M2t,B2t,D2t,P2t,L2t,F2t,N2t,xHe,O2t,U2t,H2t,z2t,W2t,q2t,j2t,G2t,K2t,Q2t,V2t,Y2t,$2t,J2t,X2t,Z2t,eut,tut,nut,aut,rut,fut,iut,sut,out,cut,dut,lut,uut,put,hut,but,mut,yut,gut,vut,wut,Tut,xut,Eut,_ut,Aut,Cut,Iut,kut,Sut,Rut,Mut,But,Dut,Put,Lut,Fut,Nut,Out,Uut,Hut,zut,Wut,qut,jut,Gut,Kut,Qut,Vut,Yut,$ut,Jut,Xut,Zut,ept,tpt,npt,apt,rpt,fpt,ipt,spt,opt,cpt,dpt,lpt,upt,ppt,hpt,bpt,mpt,ypt,gpt,vpt,wpt,Tpt,xpt,Ept,_pt,Apt,Cpt,Ipt,kpt,Spt,Rpt,Mpt,Bpt,Dpt,Ppt,Lpt,Fpt,Npt,Opt,Upt,Hpt,zpt,Wpt,qpt,jpt,Gpt,Kpt,Qpt,Vpt,Ypt,$pt,Jpt,Xpt,Zpt,e8t,t8t,n8t,a8t,r8t,f8t,i8t,s8t,o8t,c8t,d8t,l8t,u8t,p8t,h8t,b8t,m8t,y8t,g8t,v8t,w8t,T8t,x8t,E8t,_8t,A8t,C8t,I8t,k8t,S8t,R8t,M8t,B8t,D8t,P8t,L8t,F8t,N8t,O8t,U8t,H8t,z8t,W8t,q8t,j8t,G8t,K8t,Q8t,V8t,Y8t,$8t,J8t,X8t,Z8t,eht,tht,nht,aht,rht,fht,iht,sht,oht,cht,dht,lht,uht,pht,hht,bht,mht,yht,ght,vht,wht,Tht,xht,Eht,_ht,Aht,Cht,Iht,kht,Sht,Rht,Mht,Bht,Dht,Pht,Lht,Fht,Nht,Oht,Uht,Hht,zht,Wht,qht,jht,Ght,Kht,Qht,Vht,Yht,$ht,Jht,Xht,Zht,e3t,t3t,n3t,a3t,r3t,f3t,i3t,s3t,o3t,c3t,d3t,l3t,u3t,p3t,h3t,b3t,m3t,y3t,g3t,v3t,w3t,T3t,EHe,x3t,E3t,_3t,A3t,C3t,I3t,k3t,S3t,R3t,M3t,B3t,D3t,P3t,L3t,F3t,N3t,O3t,U3t,H3t,z3t,W3t,q3t,j3t,G3t,K3t,Q3t,V3t,Y3t,$3t,J3t,X3t,Z3t,ebt,tbt,nbt,abt,rbt,fbt,ibt,sbt,obt,cbt,dbt,lbt,ubt,pbt,hbt,bbt,mbt,ybt,gbt,vbt,wbt,Tbt,xbt,Ebt,_bt,Abt,Cbt,Ibt,kbt,Sbt,Rbt,Mbt,Bbt,Dbt,Pbt,Lbt,Fbt,Nbt,Obt,Ubt,Hbt,zbt,Wbt,qbt,jbt,Gbt,Kbt,Qbt,Vbt,Ybt,$bt,Jbt,Xbt,Zbt,emt,tmt,nmt,amt,rmt,fmt,imt,smt,omt,cmt,dmt,lmt,umt,pmt,hmt,bmt,mmt,ymt,gmt,vmt,wmt,Tmt,xmt,Emt,_mt,Amt,Cmt,Imt,kmt,Smt,Rmt,Mmt,Bmt,Dmt,Pmt,Lmt,Fmt,Nmt,Omt,Umt,Hmt,zmt,Wmt,qmt,jmt,Gmt,Kmt,Qmt,Vmt,Ymt,$mt,Jmt,Xmt,Zmt,e4t,t4t,n4t,a4t,r4t,f4t,i4t,s4t,o4t,c4t,d4t,l4t,u4t,p4t,h4t,b4t,m4t,y4t,g4t,v4t,w4t,T4t,x4t,E4t,_4t,A4t,C4t,I4t,k4t,S4t,R4t,M4t,B4t,D4t,P4t,L4t,F4t,N4t,O4t,U4t,H4t,z4t,W4t,q4t,xW,j4t,G4t,K4t,Q4t,V4t,Y4t,$4t,J4t,X4t,Z4t,eyt,tyt,nyt,ayt,ryt,fyt,iyt,syt,oyt,cyt,dyt,lyt,uyt,pyt,hyt,byt,myt,yyt,gyt,vyt,wyt,Tyt,xyt,Eyt,_yt,Ayt,Cyt,Iyt,kyt,Syt,Ryt,Myt,Byt,Dyt,Pyt,Lyt,Fyt,Nyt,Oyt,Uyt,Hyt,zyt,Wyt,qyt,jyt,Gyt,Kyt,Qyt,Vyt,Yyt,$yt,Jyt,Xyt,Zyt,e7t,t7t,n7t,a7t,r7t,f7t,i7t,s7t,o7t,c7t,d7t,l7t,u7t,p7t,h7t,b7t,m7t,y7t,g7t,v7t,w7t,T7t,x7t,E7t,_7t,A7t,C7t,I7t,k7t,S7t,R7t,M7t,B7t,D7t,P7t,L7t,F7t,N7t,O7t,U7t,H7t,z7t,W7t,q7t,j7t,G7t,K7t,Q7t,V7t,Y7t,$7t,J7t,X7t,Z7t,e9t,t9t,n9t,a9t,r9t,f9t,i9t,s9t,o9t,c9t,d9t,l9t,u9t,p9t,h9t,b9t,m9t,y9t,g9t,v9t,w9t,T9t,x9t,E9t,_9t,A9t,C9t,I9t,k9t,S9t,R9t,M9t,B9t,D9t,P9t,L9t,F9t,N9t,O9t,U9t,H9t,z9t,W9t,q9t,j9t,G9t,K9t,Q9t,V9t,Y9t,$9t,J9t,X9t,Z9t,egt,tgt,ngt,agt,rgt,fgt,igt,sgt,ogt,cgt,dgt,lgt,ugt,pgt,hgt,bgt,mgt,ygt,ggt,vgt,wgt,Tgt,xgt,Egt,_gt,Agt,Cgt,Igt,kgt,Sgt,Rgt,Mgt,Bgt,Dgt,Pgt,Lgt,Fgt,Ngt,Ogt,Ugt,Hgt,zgt,Wgt,qgt,jgt,Ggt,Kgt,Qgt,Vgt,Ygt,$gt,Jgt,Xgt,Zgt,evt,tvt,nvt,avt,rvt,fvt,ivt,svt,ovt,cvt,dvt,lvt,uvt,pvt,hvt,bvt,mvt,yvt,gvt,vvt,wvt,Tvt,xvt,Evt,_vt,Avt,Cvt,Ivt,kvt,Svt,Rvt,Mvt,Bvt,Dvt,Pvt,Lvt,Fvt,Nvt,Ovt,Uvt,Hvt,zvt,Wvt,qvt,jvt,Gvt,Kvt,Qvt,Vvt,Yvt,$vt,Jvt,Xvt,Zvt,ewt,twt,nwt,awt,rwt,fwt,iwt,swt,owt,cwt,dwt,lwt,uwt,pwt,hwt,bwt,mwt,ywt,gwt,vwt,wwt,Twt,xwt,Ewt,_wt,Awt,Cwt,Iwt,kwt,Swt,Rwt,Mwt,Bwt,Dwt,Pwt,Lwt,Fwt,Nwt,Owt,Uwt,Hwt,zwt,Wwt,qwt,jwt,Gwt,Kwt,Qwt,Vwt,Ywt,$wt,Jwt,Xwt,Zwt,eTt,tTt,nTt,aTt,rTt,fTt,iTt,sTt,oTt,cTt,dTt,lTt,uTt,pTt,hTt,bTt,mTt,yTt,gTt,vTt,wTt,TTt,xTt,ETt,_He,_Tt,KS,ATt,CTt,ITt,kTt,STt,RTt,MTt,BTt,DTt,PTt,LTt,AHe,CHe,FTt,NTt,OTt,UTt,HTt,zTt,WTt,QS,qTt,jTt,GTt,KTt,QTt,VTt,YTt,$Tt,JTt,XTt,ZTt,ext,txt,nxt,axt,rxt,fxt,ixt,sxt,oxt,cxt,dxt,lxt,uxt,pxt,hxt,bxt,mxt,yxt,gxt,vxt,wxt,Txt,xxt,Ext,_xt,Axt,Cxt,Ixt,kxt,Sxt,Rxt,Mxt,Bxt,Dxt,Pxt,Lxt,Fxt,Nxt,Oxt,Uxt,Hxt,zxt,Wxt,qxt,jxt,Gxt,Kxt,Qxt,Vxt,Yxt,$xt,Jxt,Xxt,Zxt,eEt,tEt,nEt,aEt,rEt,fEt,iEt,sEt,oEt,cEt,dEt,lEt,uEt,pEt,hEt,bEt,mEt,yEt,gEt,vEt,wEt,TEt,xEt,EEt,_Et,AEt,CEt,IEt,kEt,SEt,REt,MEt,BEt,DEt,PEt,LEt,FEt,NEt,OEt,UEt,HEt,zEt,WEt,qEt,jEt,GEt,Hse,KEt,QEt,VEt,YEt,$Et,JEt,XEt,ZEt,e_t,t_t,n_t,a_t,r_t,f_t,i_t,s_t,o_t,c_t,d_t,l_t,u_t,p_t,h_t,b_t,m_t,y_t,g_t,v_t,w_t,T_t,x_t,E_t,__t,A_t,C_t,I_t,k_t,S_t,R_t,M_t,B_t,D_t,P_t,L_t,F_t,N_t,O_t,U_t,H_t,z_t,W_t,q_t,j_t,G_t,K_t,Q_t,V_t,Y_t,$_t,J_t,X_t,Z_t,eAt,tAt,nAt,aAt,rAt,fAt,iAt,sAt,oAt,cAt,dAt,lAt,uAt,pAt,hAt,bAt,mAt,yAt,gAt,vAt,wAt,TAt,xAt,EAt,_At,AAt,CAt,IAt,kAt,SAt,RAt,MAt,BAt,DAt,PAt,LAt,FAt,EW,NAt,OAt,UAt,HAt,zAt,WAt,qAt,jAt,GAt,KAt,QAt,VAt,YAt,$At,JAt,XAt,ZAt,eCt,tCt,nCt,aCt,rCt,fCt,iCt,sCt,oCt,cCt,dCt,lCt,uCt,pCt,hCt,_W,bCt,mCt,yCt,gCt,vCt,wCt,TCt,xCt,ECt,_Ct,ACt,CCt,ICt,kCt,SCt,RCt,MCt,BCt,DCt,PCt,LCt,FCt,NCt,OCt,UCt,HCt,zCt,WCt,qCt,jCt,GCt,KCt,QCt,VCt,YCt,$Ct,JCt,XCt,ZCt,eIt,tIt,nIt,aIt,rIt,fIt,iIt,sIt,oIt,cIt,dIt,lIt,uIt,pIt,hIt,bIt,mIt,yIt,gIt,vIt,wIt,TIt,xIt,EIt,_It,AIt,CIt,IIt,kIt,SIt,RIt,MIt,BIt,DIt,PIt,LIt,FIt,NIt,OIt,UIt,HIt,zIt,WIt,qIt,jIt,GIt,KIt,QIt,VIt,YIt,$It,JIt,XIt,ZIt,ekt,tkt,nkt,akt,rkt,fkt,ikt,skt,okt,ckt,dkt,lkt,ukt,pkt,hkt,bkt,mkt,ykt,gkt,vkt,wkt,Tkt,xkt,Ekt,_kt,Akt,Ckt,Ikt,kkt,Skt,Rkt,Mkt,Bkt,Dkt,Pkt,Lkt,Fkt,Nkt,Okt,Ukt,Hkt,zkt,Wkt,qkt,jkt,Gkt,Kkt,Qkt,Vkt,Ykt,$kt,Jkt,Xkt,Zkt,eSt,tSt,nSt,aSt,rSt,fSt,iSt,sSt,oSt,cSt,dSt,lSt,uSt,pSt,hSt,bSt,mSt,ySt,gSt,vSt,wSt,TSt,xSt,ESt,_St,ASt,CSt,ISt,kSt,SSt,RSt,MSt,BSt,DSt,PSt,LSt,FSt,NSt,OSt,USt,HSt,zSt,WSt,qSt,jSt,GSt,KSt,QSt,VSt,YSt,$St,JSt,XSt,ZSt,eRt,tRt,nRt,aRt,rRt,fRt,iRt,sRt,oRt,cRt,dRt,lRt,IHe,uRt,pRt,hRt,bRt,mRt,yRt,gRt,vRt,wRt,TRt,xRt,ERt,_Rt,ARt,CRt,IRt,kRt,SRt,RRt,MRt,BRt,DRt,PRt,LRt,FRt,NRt,ORt,URt,HRt,zRt,WRt,qRt,jRt,GRt,KRt,QRt,VRt,YRt,$Rt,JRt,XRt,ZRt,eMt,tMt,nMt,aMt,rMt,fMt,iMt,sMt,oMt,cMt,dMt,lMt,uMt,pMt,hMt,bMt,mMt,yMt,gMt,vMt,wMt,TMt,xMt,EMt,_Mt,AMt,CMt,IMt,kMt,SMt,RMt,MMt,BMt,DMt,PMt,LMt,FMt,NMt,OMt,UMt,HMt,zMt,WMt,qMt,jMt,GMt,KMt,QMt,VMt,YMt,$Mt,JMt,XMt,ZMt,eBt,tBt,nBt,aBt,rBt,fBt,iBt,sBt,oBt,cBt,dBt,lBt,uBt,pBt,hBt,bBt,mBt,yBt,gBt,vBt,wBt,TBt,xBt,EBt,_Bt,ABt,CBt,IBt,kBt,SBt,RBt,MBt,BBt,DBt,PBt,LBt,zse,FBt,NBt,OBt,UBt,HBt,zBt,WBt,qBt,jBt,GBt,KBt,kHe,AW,QBt,VBt,YBt,$Bt,JBt,XBt,ZBt,eDt,tDt,nDt,aDt,rDt,fDt,iDt,sDt,oDt,cDt,dDt,lDt,uDt,pDt,hDt,bDt,mDt,yDt,gDt,vDt,wDt,TDt,xDt,EDt,_Dt,ADt,CDt,IDt,kDt,SDt,RDt,MDt,BDt,DDt,PDt,LDt,FDt,NDt,ODt,UDt,HDt,zDt,WDt,qDt,jDt,GDt,KDt,QDt,VDt,YDt,$Dt,JDt,Wse,XDt,ZDt,ePt,tPt,nPt,aPt,rPt,fPt,iPt,sPt,oPt,cPt,dPt,lPt,uPt,pPt,hPt,bPt,mPt,yPt,gPt,vPt,wPt,TPt,xPt,EPt,_Pt,APt,CPt,IPt,kPt,SPt,RPt,MPt,BPt,DPt,PPt,LPt,FPt,NPt,OPt,UPt,HPt,zPt,WPt,qPt,jPt]});function QPt(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var a=n.call(t,e||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function VPt(t){var e=QPt(t,"string");return typeof e=="symbol"?e:e+""}function Pe(t,e,n){return e=VPt(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var kt=ce(()=>{"use strict";u();p()});function YPt(t){return t instanceof Uint8Array||t!=null&&typeof t=="object"&&t.constructor.name==="Uint8Array"}function qse(t,...e){if(!YPt(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error(`Uint8Array expected of length ${e}, not of length=${t.length}`)}function jse(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function MHe(t,e){qse(t);let n=e.outputLen;if(t.length{u();p()});function $Pt(t){if(typeof t!="string")throw new Error(`utf8ToBytes expected string, got ${typeof t}`);return new Uint8Array(new TextEncoder().encode(t))}function Kse(t){return typeof t=="string"&&(t=$Pt(t)),qse(t),t}function BHe(t){let e=a=>t().update(Kse(a)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}var IW,wl,kfa,CW,Sfa,Qse=ce(()=>{u();p();Gse();IW=t=>new DataView(t.buffer,t.byteOffset,t.byteLength),wl=(t,e)=>t<<32-e|t>>>e,kfa=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;CW=class{clone(){return this._cloneInto()}},Sfa={}.toString});function JPt(t,e,n,a){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,a);let r=BigInt(32),f=BigInt(4294967295),i=Number(n>>r&f),s=Number(n&f),o=a?4:0,c=a?0:4;t.setUint32(e+o,i,a),t.setUint32(e+c,s,a)}var DHe,PHe,kW,LHe=ce(()=>{u();p();Gse();Qse();DHe=(t,e,n)=>t&e^~t&n,PHe=(t,e,n)=>t&e^t&n^e&n,kW=class extends CW{constructor(e,n,a,r){super(),this.blockLen=e,this.outputLen=n,this.padOffset=a,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=IW(this.buffer)}update(e){jse(this);let{view:n,buffer:a,blockLen:r}=this;e=Kse(e);let f=e.length;for(let i=0;ir-i&&(this.process(a,0),i=0);for(let l=i;ld.length)throw new Error("_sha2: outputLen bigger than state");for(let l=0;l{u();p();LHe();Qse();XPt=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),xb=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Eb=new Uint32Array(64),Vse=class extends kW{constructor(){super(64,32,8,!1),this.A=xb[0]|0,this.B=xb[1]|0,this.C=xb[2]|0,this.D=xb[3]|0,this.E=xb[4]|0,this.F=xb[5]|0,this.G=xb[6]|0,this.H=xb[7]|0}get(){let{A:e,B:n,C:a,D:r,E:f,F:i,G:s,H:o}=this;return[e,n,a,r,f,i,s,o]}set(e,n,a,r,f,i,s,o){this.A=e|0,this.B=n|0,this.C=a|0,this.D=r|0,this.E=f|0,this.F=i|0,this.G=s|0,this.H=o|0}process(e,n){for(let l=0;l<16;l++,n+=4)Eb[l]=e.getUint32(n,!1);for(let l=16;l<64;l++){let h=Eb[l-15],y=Eb[l-2],v=wl(h,7)^wl(h,18)^h>>>3,S=wl(y,17)^wl(y,19)^y>>>10;Eb[l]=S+Eb[l-7]+v+Eb[l-16]|0}let{A:a,B:r,C:f,D:i,E:s,F:o,G:c,H:d}=this;for(let l=0;l<64;l++){let h=wl(s,6)^wl(s,11)^wl(s,25),y=d+h+DHe(s,o,c)+XPt[l]+Eb[l]|0,S=(wl(a,2)^wl(a,13)^wl(a,22))+PHe(a,r,f)|0;d=c,c=o,o=s,s=i+y|0,i=f,f=r,r=a,a=y+S|0}a=a+this.A|0,r=r+this.B|0,f=f+this.C|0,i=i+this.D|0,s=s+this.E|0,o=o+this.F|0,c=c+this.G|0,d=d+this.H|0,this.set(a,r,f,i,s,o,c,d)}roundClean(){Eb.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},FHe=BHe(()=>new Vse)});var OHe=D((qfa,SW)=>{u();p();(function(){"use strict";var t="input is invalid type",e="finalize already called",n=typeof window=="object",a=n?window:{};a.JS_SHA3_NO_WINDOW&&(n=!1);var r=!n&&typeof self=="object",f=!a.JS_SHA3_NO_NODE_JS&&typeof E=="object"&&E.versions&&E.versions.node;f?a=global:r&&(a=self);for(var i=!a.JS_SHA3_NO_COMMON_JS&&typeof SW=="object"&&SW.exports,s=typeof define=="function"&&define.amd,o=!a.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",c="0123456789abcdef".split(""),d=[31,7936,2031616,520093696],l=[4,1024,262144,67108864],h=[1,256,65536,16777216],y=[6,1536,393216,100663296],v=[0,8,16,24],S=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],O=[224,256,384,512],F=[128,256],z=["hex","buffer","arrayBuffer","array","digest"],W={128:168,256:136},j=a.JS_SHA3_NO_NODE_JS||!Array.isArray?function(Y){return Object.prototype.toString.call(Y)==="[object Array]"}:Array.isArray,Q=o&&(a.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)?function(Y){return typeof Y=="object"&&Y.buffer&&Y.buffer.constructor===ArrayBuffer}:ArrayBuffer.isView,V=function(Y){var re=typeof Y;if(re==="string")return[Y,!0];if(re!=="object"||Y===null)throw new Error(t);if(o&&Y.constructor===ArrayBuffer)return[new Uint8Array(Y),!1];if(!j(Y)&&!Q(Y))throw new Error(t);return[Y,!1]},X=function(Y){return V(Y)[0].length===0},K=function(Y){for(var re=[],ie=0;ie>5,this.byteCount=this.blockCount<<2,this.outputBlocks=ie>>5,this.extraBytes=(ie&31)>>3;for(var ge=0;ge<50;++ge)this.s[ge]=0}Z.prototype.update=function(Y){if(this.finalized)throw new Error(e);var re=V(Y);Y=re[0];for(var ie=re[1],ge=this.blocks,de=this.byteCount,Ae=Y.length,Ge=this.blockCount,Be=0,c0=this.s,Ye,He;Be>2]|=He<>2]|=(192|He>>6)<>2]|=(128|He&63)<=57344?(ge[Ye>>2]|=(224|He>>12)<>2]|=(128|He>>6&63)<>2]|=(128|He&63)<>2]|=(240|He>>18)<>2]|=(128|He>>12&63)<>2]|=(128|He>>6&63)<>2]|=(128|He&63)<>2]|=Y[Be]<=de){for(this.start=Ye-de,this.block=ge[Ge],Ye=0;Ye>8,ie=Y&255;ie>0;)de.unshift(ie),Y=Y>>8,ie=Y&255,++ge;return re?de.push(ge):de.unshift(ge),this.update(de),de.length},Z.prototype.encodeString=function(Y){var re=V(Y);Y=re[0];var ie=re[1],ge=0,de=Y.length;if(ie)for(var Ae=0;Ae=57344?ge+=3:(Ge=65536+((Ge&1023)<<10|Y.charCodeAt(++Ae)&1023),ge+=4)}else ge=de;return ge+=this.encode(ge*8),this.update(Y),ge},Z.prototype.bytepad=function(Y,re){for(var ie=this.encode(re),ge=0;ge>2]|=this.padding[re&3],this.lastByteIndex===this.byteCount)for(Y[0]=Y[ie],re=1;re>4&15]+c[Be&15]+c[Be>>12&15]+c[Be>>8&15]+c[Be>>20&15]+c[Be>>16&15]+c[Be>>28&15]+c[Be>>24&15];Ae%Y===0&&(re=K(re),ue(re),de=0)}return ge&&(Be=re[de],Ge+=c[Be>>4&15]+c[Be&15],ge>1&&(Ge+=c[Be>>12&15]+c[Be>>8&15]),ge>2&&(Ge+=c[Be>>20&15]+c[Be>>16&15])),Ge},Z.prototype.arrayBuffer=function(){this.finalize();var Y=this.blockCount,re=this.s,ie=this.outputBlocks,ge=this.extraBytes,de=0,Ae=0,Ge=this.outputBits>>3,Be;ge?Be=new ArrayBuffer(ie+1<<2):Be=new ArrayBuffer(Ge);for(var c0=new Uint32Array(Be);Ae>8&255,Ge[Be+2]=c0>>16&255,Ge[Be+3]=c0>>24&255;Ae%Y===0&&(re=K(re),ue(re))}return ge&&(Be=Ae<<2,c0=re[de],Ge[Be]=c0&255,ge>1&&(Ge[Be+1]=c0>>8&255),ge>2&&(Ge[Be+2]=c0>>16&255)),Ge};function ne(Y,re,ie){Z.call(this,Y,re,ie)}ne.prototype=new Z,ne.prototype.finalize=function(){return this.encode(this.outputBits,!0),Z.prototype.finalize.call(this)};var ue=function(Y){var re,ie,ge,de,Ae,Ge,Be,c0,Ye,He,_0,L0,Ze,I0,pe,he,Te,Ce,Se,Qe,u0,qe,v0,w0,Ve,be,ye,_e,ze,je,Ue,b0,h0,$e,M0,P0,t0,j0,z0,Ke,B0,G0,s0,X0,Y0,l0,K0,tt,p0,et,Et,$0,Tt,Pn,Ln,Fn,Nn,On,Ha,pr,za,hr,ar;for(ge=0;ge<48;ge+=2)de=Y[0]^Y[10]^Y[20]^Y[30]^Y[40],Ae=Y[1]^Y[11]^Y[21]^Y[31]^Y[41],Ge=Y[2]^Y[12]^Y[22]^Y[32]^Y[42],Be=Y[3]^Y[13]^Y[23]^Y[33]^Y[43],c0=Y[4]^Y[14]^Y[24]^Y[34]^Y[44],Ye=Y[5]^Y[15]^Y[25]^Y[35]^Y[45],He=Y[6]^Y[16]^Y[26]^Y[36]^Y[46],_0=Y[7]^Y[17]^Y[27]^Y[37]^Y[47],L0=Y[8]^Y[18]^Y[28]^Y[38]^Y[48],Ze=Y[9]^Y[19]^Y[29]^Y[39]^Y[49],re=L0^(Ge<<1|Be>>>31),ie=Ze^(Be<<1|Ge>>>31),Y[0]^=re,Y[1]^=ie,Y[10]^=re,Y[11]^=ie,Y[20]^=re,Y[21]^=ie,Y[30]^=re,Y[31]^=ie,Y[40]^=re,Y[41]^=ie,re=de^(c0<<1|Ye>>>31),ie=Ae^(Ye<<1|c0>>>31),Y[2]^=re,Y[3]^=ie,Y[12]^=re,Y[13]^=ie,Y[22]^=re,Y[23]^=ie,Y[32]^=re,Y[33]^=ie,Y[42]^=re,Y[43]^=ie,re=Ge^(He<<1|_0>>>31),ie=Be^(_0<<1|He>>>31),Y[4]^=re,Y[5]^=ie,Y[14]^=re,Y[15]^=ie,Y[24]^=re,Y[25]^=ie,Y[34]^=re,Y[35]^=ie,Y[44]^=re,Y[45]^=ie,re=c0^(L0<<1|Ze>>>31),ie=Ye^(Ze<<1|L0>>>31),Y[6]^=re,Y[7]^=ie,Y[16]^=re,Y[17]^=ie,Y[26]^=re,Y[27]^=ie,Y[36]^=re,Y[37]^=ie,Y[46]^=re,Y[47]^=ie,re=He^(de<<1|Ae>>>31),ie=_0^(Ae<<1|de>>>31),Y[8]^=re,Y[9]^=ie,Y[18]^=re,Y[19]^=ie,Y[28]^=re,Y[29]^=ie,Y[38]^=re,Y[39]^=ie,Y[48]^=re,Y[49]^=ie,I0=Y[0],pe=Y[1],l0=Y[11]<<4|Y[10]>>>28,K0=Y[10]<<4|Y[11]>>>28,_e=Y[20]<<3|Y[21]>>>29,ze=Y[21]<<3|Y[20]>>>29,pr=Y[31]<<9|Y[30]>>>23,za=Y[30]<<9|Y[31]>>>23,G0=Y[40]<<18|Y[41]>>>14,s0=Y[41]<<18|Y[40]>>>14,$e=Y[2]<<1|Y[3]>>>31,M0=Y[3]<<1|Y[2]>>>31,he=Y[13]<<12|Y[12]>>>20,Te=Y[12]<<12|Y[13]>>>20,tt=Y[22]<<10|Y[23]>>>22,p0=Y[23]<<10|Y[22]>>>22,je=Y[33]<<13|Y[32]>>>19,Ue=Y[32]<<13|Y[33]>>>19,hr=Y[42]<<2|Y[43]>>>30,ar=Y[43]<<2|Y[42]>>>30,Pn=Y[5]<<30|Y[4]>>>2,Ln=Y[4]<<30|Y[5]>>>2,P0=Y[14]<<6|Y[15]>>>26,t0=Y[15]<<6|Y[14]>>>26,Ce=Y[25]<<11|Y[24]>>>21,Se=Y[24]<<11|Y[25]>>>21,et=Y[34]<<15|Y[35]>>>17,Et=Y[35]<<15|Y[34]>>>17,b0=Y[45]<<29|Y[44]>>>3,h0=Y[44]<<29|Y[45]>>>3,w0=Y[6]<<28|Y[7]>>>4,Ve=Y[7]<<28|Y[6]>>>4,Fn=Y[17]<<23|Y[16]>>>9,Nn=Y[16]<<23|Y[17]>>>9,j0=Y[26]<<25|Y[27]>>>7,z0=Y[27]<<25|Y[26]>>>7,Qe=Y[36]<<21|Y[37]>>>11,u0=Y[37]<<21|Y[36]>>>11,$0=Y[47]<<24|Y[46]>>>8,Tt=Y[46]<<24|Y[47]>>>8,X0=Y[8]<<27|Y[9]>>>5,Y0=Y[9]<<27|Y[8]>>>5,be=Y[18]<<20|Y[19]>>>12,ye=Y[19]<<20|Y[18]>>>12,On=Y[29]<<7|Y[28]>>>25,Ha=Y[28]<<7|Y[29]>>>25,Ke=Y[38]<<8|Y[39]>>>24,B0=Y[39]<<8|Y[38]>>>24,qe=Y[48]<<14|Y[49]>>>18,v0=Y[49]<<14|Y[48]>>>18,Y[0]=I0^~he&Ce,Y[1]=pe^~Te&Se,Y[10]=w0^~be&_e,Y[11]=Ve^~ye&ze,Y[20]=$e^~P0&j0,Y[21]=M0^~t0&z0,Y[30]=X0^~l0&tt,Y[31]=Y0^~K0&p0,Y[40]=Pn^~Fn&On,Y[41]=Ln^~Nn&Ha,Y[2]=he^~Ce&Qe,Y[3]=Te^~Se&u0,Y[12]=be^~_e&je,Y[13]=ye^~ze&Ue,Y[22]=P0^~j0&Ke,Y[23]=t0^~z0&B0,Y[32]=l0^~tt&et,Y[33]=K0^~p0&Et,Y[42]=Fn^~On&pr,Y[43]=Nn^~Ha&za,Y[4]=Ce^~Qe&qe,Y[5]=Se^~u0&v0,Y[14]=_e^~je&b0,Y[15]=ze^~Ue&h0,Y[24]=j0^~Ke&G0,Y[25]=z0^~B0&s0,Y[34]=tt^~et&$0,Y[35]=p0^~Et&Tt,Y[44]=On^~pr&hr,Y[45]=Ha^~za&ar,Y[6]=Qe^~qe&I0,Y[7]=u0^~v0&pe,Y[16]=je^~b0&w0,Y[17]=Ue^~h0&Ve,Y[26]=Ke^~G0&$e,Y[27]=B0^~s0&M0,Y[36]=et^~$0&X0,Y[37]=Et^~Tt&Y0,Y[46]=pr^~hr&Pn,Y[47]=za^~ar&Ln,Y[8]=qe^~I0&he,Y[9]=v0^~pe&Te,Y[18]=b0^~w0&be,Y[19]=h0^~Ve&ye,Y[28]=G0^~$e&P0,Y[29]=s0^~M0&t0,Y[38]=$0^~X0&l0,Y[39]=Tt^~Y0&K0,Y[48]=hr^~Pn&Fn,Y[49]=ar^~Ln&Nn,Y[0]^=S[ge],Y[1]^=S[ge+1]};if(i)SW.exports=g;else{for(M=0;Mr+f.length,0));let n=new Uint8Array(e),a=0;for(let r of t)eoe(r),n.set(r,a),a+=r.length;return n}function iLt(t){if(typeof t!="string")throw new TypeError(`Expected \`string\`, got \`${typeof t}\``)}function sLt(t){return t.replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}function oLt(t){return t.replaceAll("-","+").replaceAll("_","/")}function dLt(t){let{urlSafe:e=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};eoe(t);let n;if(t.lengthe.codePointAt(0))}function uLt(t){eoe(t);let e="";for(let n=0;n3&&arguments[3]!==void 0?arguments[3]:{},i=await RW(),{key:s,iv:o}=await yLt(n,t,a,r,f);try{let c=await i.subtle.decrypt({name:"AES-CBC",iv:o},s,e);return WHe().decode(c)}catch{throw new Error("Decrypt failed")}}function mLt(t){let e=null,n=qHe(t),[a,r]=Xse(n,pLt*4),f=new DataView(a.buffer);return f.getInt32(0)===1398893684&&f.getInt32(4)===1701076831&&([e,n]=Xse(r,hLt*4)),{ciphertext:n,salt:e}}async function yLt(t,e,n,a,r){let f=await RW(),i=Zse().encode(t),s=gLt(i,e,n+a,r),[o,c]=Xse(s,n*4);return{key:await f.subtle.importKey("raw",o,"AES-CBC",!1,["decrypt"]),iv:c}}function gLt(t,e,n,a){let r=new Uint8Array,f=new Uint8Array;for(;r.byteLength{"use strict";u();p();NHe();ZPt=Ee(OHe()),Yse=class{get encoder(){return this._encoder||(this._encoder=new TextEncoder),this._encoder}get decoder(){return this._decoder||(this._decoder=new TextDecoder),this._decoder}},zHe=new Yse;UHe="input is invalid type",eLt="finalize already called",tLt=[128,32768,8388608,-2147483648];$se=class{constructor(){ae(this,"lastByteIndex",0);let e=new ArrayBuffer(68);this.buffer8=new Uint8Array(e),this.blocks=new Uint32Array(e),this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}update(e){if(this.finalized)throw new Error(eLt);let[n,a]=nLt(e),r=this.blocks,f=0;ArrayBuffer.isView(n)?f=n.byteLength:f=n.length;let i,s=0,o,c=this.buffer8;for(;s>>6,c[o++]=128|i&63):i<55296||i>=57344?(c[o++]=224|i>>>12,c[o++]=128|i>>>6&63,c[o++]=128|i&63):(i=65536+((i&1023)<<10|n.charCodeAt(++s)&1023),c[o++]=240|i>>>18,c[o++]=128|i>>>12&63,c[o++]=128|i>>>6&63,c[o++]=128|i&63);else for(o=this.start;s=64?(this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}finalize(){if(this.finalized)return;this.finalized=!0;let e=this.blocks,n=this.lastByteIndex;e[n>>>2]|=tLt[n&3],n>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}hash(){let e=this.blocks,n,a,r,f,i,s;this.first?(n=e[0]-680876937,n=(n<<7|n>>>25)-271733879<<0,f=(-1732584194^n&2004318071)+e[1]-117830708,f=(f<<12|f>>>20)+n<<0,r=(-271733879^f&(n^-271733879))+e[2]-1126478375,r=(r<<17|r>>>15)+f<<0,a=(n^r&(f^n))+e[3]-1316259209,a=(a<<22|a>>>10)+r<<0):(n=this.h0,a=this.h1,r=this.h2,f=this.h3,n+=(f^a&(r^f))+e[0]-680876936,n=(n<<7|n>>>25)+a<<0,f+=(r^n&(a^r))+e[1]-389564586,f=(f<<12|f>>>20)+n<<0,r+=(a^f&(n^a))+e[2]+606105819,r=(r<<17|r>>>15)+f<<0,a+=(n^r&(f^n))+e[3]-1044525330,a=(a<<22|a>>>10)+r<<0),n+=(f^a&(r^f))+e[4]-176418897,n=(n<<7|n>>>25)+a<<0,f+=(r^n&(a^r))+e[5]+1200080426,f=(f<<12|f>>>20)+n<<0,r+=(a^f&(n^a))+e[6]-1473231341,r=(r<<17|r>>>15)+f<<0,a+=(n^r&(f^n))+e[7]-45705983,a=(a<<22|a>>>10)+r<<0,n+=(f^a&(r^f))+e[8]+1770035416,n=(n<<7|n>>>25)+a<<0,f+=(r^n&(a^r))+e[9]-1958414417,f=(f<<12|f>>>20)+n<<0,r+=(a^f&(n^a))+e[10]-42063,r=(r<<17|r>>>15)+f<<0,a+=(n^r&(f^n))+e[11]-1990404162,a=(a<<22|a>>>10)+r<<0,n+=(f^a&(r^f))+e[12]+1804603682,n=(n<<7|n>>>25)+a<<0,f+=(r^n&(a^r))+e[13]-40341101,f=(f<<12|f>>>20)+n<<0,r+=(a^f&(n^a))+e[14]-1502002290,r=(r<<17|r>>>15)+f<<0,a+=(n^r&(f^n))+e[15]+1236535329,a=(a<<22|a>>>10)+r<<0,n+=(r^f&(a^r))+e[1]-165796510,n=(n<<5|n>>>27)+a<<0,f+=(a^r&(n^a))+e[6]-1069501632,f=(f<<9|f>>>23)+n<<0,r+=(n^a&(f^n))+e[11]+643717713,r=(r<<14|r>>>18)+f<<0,a+=(f^n&(r^f))+e[0]-373897302,a=(a<<20|a>>>12)+r<<0,n+=(r^f&(a^r))+e[5]-701558691,n=(n<<5|n>>>27)+a<<0,f+=(a^r&(n^a))+e[10]+38016083,f=(f<<9|f>>>23)+n<<0,r+=(n^a&(f^n))+e[15]-660478335,r=(r<<14|r>>>18)+f<<0,a+=(f^n&(r^f))+e[4]-405537848,a=(a<<20|a>>>12)+r<<0,n+=(r^f&(a^r))+e[9]+568446438,n=(n<<5|n>>>27)+a<<0,f+=(a^r&(n^a))+e[14]-1019803690,f=(f<<9|f>>>23)+n<<0,r+=(n^a&(f^n))+e[3]-187363961,r=(r<<14|r>>>18)+f<<0,a+=(f^n&(r^f))+e[8]+1163531501,a=(a<<20|a>>>12)+r<<0,n+=(r^f&(a^r))+e[13]-1444681467,n=(n<<5|n>>>27)+a<<0,f+=(a^r&(n^a))+e[2]-51403784,f=(f<<9|f>>>23)+n<<0,r+=(n^a&(f^n))+e[7]+1735328473,r=(r<<14|r>>>18)+f<<0,a+=(f^n&(r^f))+e[12]-1926607734,a=(a<<20|a>>>12)+r<<0,i=a^r,n+=(i^f)+e[5]-378558,n=(n<<4|n>>>28)+a<<0,f+=(i^n)+e[8]-2022574463,f=(f<<11|f>>>21)+n<<0,s=f^n,r+=(s^a)+e[11]+1839030562,r=(r<<16|r>>>16)+f<<0,a+=(s^r)+e[14]-35309556,a=(a<<23|a>>>9)+r<<0,i=a^r,n+=(i^f)+e[1]-1530992060,n=(n<<4|n>>>28)+a<<0,f+=(i^n)+e[4]+1272893353,f=(f<<11|f>>>21)+n<<0,s=f^n,r+=(s^a)+e[7]-155497632,r=(r<<16|r>>>16)+f<<0,a+=(s^r)+e[10]-1094730640,a=(a<<23|a>>>9)+r<<0,i=a^r,n+=(i^f)+e[13]+681279174,n=(n<<4|n>>>28)+a<<0,f+=(i^n)+e[0]-358537222,f=(f<<11|f>>>21)+n<<0,s=f^n,r+=(s^a)+e[3]-722521979,r=(r<<16|r>>>16)+f<<0,a+=(s^r)+e[6]+76029189,a=(a<<23|a>>>9)+r<<0,i=a^r,n+=(i^f)+e[9]-640364487,n=(n<<4|n>>>28)+a<<0,f+=(i^n)+e[12]-421815835,f=(f<<11|f>>>21)+n<<0,s=f^n,r+=(s^a)+e[15]+530742520,r=(r<<16|r>>>16)+f<<0,a+=(s^r)+e[2]-995338651,a=(a<<23|a>>>9)+r<<0,n+=(r^(a|~f))+e[0]-198630844,n=(n<<6|n>>>26)+a<<0,f+=(a^(n|~r))+e[7]+1126891415,f=(f<<10|f>>>22)+n<<0,r+=(n^(f|~a))+e[14]-1416354905,r=(r<<15|r>>>17)+f<<0,a+=(f^(r|~n))+e[5]-57434055,a=(a<<21|a>>>11)+r<<0,n+=(r^(a|~f))+e[12]+1700485571,n=(n<<6|n>>>26)+a<<0,f+=(a^(n|~r))+e[3]-1894986606,f=(f<<10|f>>>22)+n<<0,r+=(n^(f|~a))+e[10]-1051523,r=(r<<15|r>>>17)+f<<0,a+=(f^(r|~n))+e[1]-2054922799,a=(a<<21|a>>>11)+r<<0,n+=(r^(a|~f))+e[8]+1873313359,n=(n<<6|n>>>26)+a<<0,f+=(a^(n|~r))+e[15]-30611744,f=(f<<10|f>>>22)+n<<0,r+=(n^(f|~a))+e[6]-1560198380,r=(r<<15|r>>>17)+f<<0,a+=(f^(r|~n))+e[13]+1309151649,a=(a<<21|a>>>11)+r<<0,n+=(r^(a|~f))+e[4]-145523070,n=(n<<6|n>>>26)+a<<0,f+=(a^(n|~r))+e[11]-1120210379,f=(f<<10|f>>>22)+n<<0,r+=(n^(f|~a))+e[2]+718787259,r=(r<<15|r>>>17)+f<<0,a+=(f^(r|~n))+e[9]-343485551,a=(a<<21|a>>>11)+r<<0,this.first?(this.h0=n+1732584193<<0,this.h1=a-271733879<<0,this.h2=r-1732584194<<0,this.h3=f+271733878<<0,this.first=!1):(this.h0=this.h0+n<<0,this.h1=this.h1+a<<0,this.h2=this.h2+r<<0,this.h3=this.h3+f<<0)}arrayBuffer(){this.finalize();let e=new ArrayBuffer(16),n=new Uint32Array(e);return n[0]=this.h0,n[1]=this.h1,n[2]=this.h2,n[3]=this.h3,e}};aLt=Object.prototype.toString,rLt="[object Uint8Array]";cLt=65535;lLt=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));pLt=2,hLt=2});function d0(t,e){if(!t){if(TLt)throw new Error(toe);var n=typeof e=="function"?e():e,a=n?"".concat(toe,": ").concat(n):toe;throw new Error(a)}}var TLt,toe,ir=ce(()=>{u();p();TLt=E.env.NODE_ENV==="production",toe="Invariant failed"});var QHe=D((eia,KHe)=>{"use strict";u();p();function xLt(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),n=0;n>>0,W=new Uint8Array(z);O!==F;){for(var j=y[O],Q=0,V=z-1;(j!==0||Q>>0,W[V]=j%i>>>0,j=j/i>>>0;if(j!==0)throw new Error("Non-zero carry");S=Q,O++}for(var X=z-S;X!==z&&W[X]===0;)X++;for(var K=s.repeat(v);X>>0,z=new Uint8Array(F);y[v];){var W=e[y.charCodeAt(v)];if(W===255)return;for(var j=0,Q=F-1;(W!==0||j>>0,z[Q]=W%256>>>0,W=W/256>>>0;if(W!==0)throw new Error("Non-zero carry");O=j,v++}for(var V=F-O;V!==F&&z[V]===0;)V++;for(var X=new Uint8Array(S+(F-V)),K=S;V!==F;)X[K++]=z[V++];return X}function h(y){var v=l(y);if(v)return v;throw new Error("Non-base"+i+" character")}return{encode:d,decodeUnsafe:l,decode:h}}KHe.exports=xLt});var ro=D((aia,VHe)=>{u();p();var ELt=QHe(),_Lt="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";VHe.exports=ELt(_Lt)});var $He,YHe=ce(()=>{$He=[{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"}]});var noe,JHe=ce(()=>{noe=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phases",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var ZHe,XHe=ce(()=>{ZHe=[{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var aoe,eze=ce(()=>{aoe=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phase",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var roe,tze=ce(()=>{roe=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phase",type:"tuple",internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var j1=D((lia,RLt)=>{RLt.exports=[{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"who",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var aze,nze=ce(()=>{aze=[{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"}]});var foe,rze=ce(()=>{foe=[{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var DW,fze=ce(()=>{DW=[{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"}]});var sze,ize=ce(()=>{sze=[{type:"function",name:"mintWithSignature",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var ioe=D((mia,LLt)=>{LLt.exports=[{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}]});var cze,oze=ce(()=>{cze=[{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"}]});var lze,dze=ce(()=>{lze=[{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"view"},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var soe,uze=ce(()=>{soe=[{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"reveal",inputs:[{name:"identifier",type:"uint256",internalType:"uint256"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var hze,pze=ce(()=>{hze=[{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"balance",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"operator",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"amount",type:"uint256",internalType:"uint256"},{name:"baseURIForTokens",type:"string",internalType:"string"},{name:"encryptedBaseURI",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"owner",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NFTRevealed",inputs:[{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var lx=D((Tia,HLt)=>{HLt.exports=[{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"_approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var mze,bze=ce(()=>{mze=[{type:"function",name:"tokenByIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"_owner",type:"address",internalType:"address"},{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var gze,yze=ce(()=>{gze=[{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"balance",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"explicitOwnershipOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct IERC721AUpgradeable.TokenOwnership",components:[{name:"addr",type:"address",internalType:"address"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"burned",type:"bool",internalType:"bool"},{name:"extraData",type:"uint24",internalType:"uint24"}]}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"operator",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"owner",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"_approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokensOfOwner",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"tokensOfOwnerIn",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"start",type:"uint256",internalType:"uint256"},{name:"stop",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ConsecutiveTransfer",inputs:[{name:"fromTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"toTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"InvalidQueryRange",inputs:[]},{type:"error",name:"MintERC2309QuantityExceedsLimit",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"OwnershipNotInitializedForExtraData",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var wze,vze=ce(()=>{wze=[{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var VS,Tze=ce(()=>{VS=[{type:"function",name:"lazyMint",inputs:[{name:"amount",type:"uint256",internalType:"uint256"},{name:"baseURIForTokens",type:"string",internalType:"string"},{name:"extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1}]});var ooe,xze=ce(()=>{ooe=[{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var _ze,Eze=ce(()=>{_ze=[{type:"function",name:"mintWithSignature",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var Cze,Aze=ce(()=>{Cze=[{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"tokenIdMinted",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"}]});var kze,Ize=ce(()=>{kze=[{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getMetadataForAllTiers",inputs:[],outputs:[{name:"metadataForAllTiers",type:"tuple[]",internalType:"struct LazyMintWithTier_V1.TierMetadata[]",components:[{name:"tier",type:"string",internalType:"string"},{name:"ranges",type:"tuple[]",internalType:"struct LazyMintWithTier_V1.TokenRange[]",components:[{name:"startIdInclusive",type:"uint256",internalType:"uint256"},{name:"endIdNonInclusive",type:"uint256",internalType:"uint256"}]},{name:"baseURIs",type:"string[]",internalType:"string[]"}]}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_tier",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"TokensLazyMinted",inputs:[{name:"tier",type:"string",indexed:!0,internalType:"string"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1}]});var Rze,Sze=ce(()=>{Rze=[{type:"function",name:"setSharedMetadata",inputs:[{name:"_metadata",type:"tuple",internalType:"struct ISharedMetadata.SharedMetadataInfo",components:[{name:"name",type:"string",internalType:"string"},{name:"description",type:"string",internalType:"string"},{name:"imageURI",type:"string",internalType:"string"},{name:"animationURI",type:"string",internalType:"string"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"sharedMetadata",inputs:[],outputs:[{name:"name",type:"string",internalType:"string"},{name:"description",type:"string",internalType:"string"},{name:"imageURI",type:"string",internalType:"string"},{name:"animationURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SharedMetadataUpdated",inputs:[{name:"name",type:"string",indexed:!1,internalType:"string"},{name:"description",type:"string",indexed:!1,internalType:"string"},{name:"imageURI",type:"string",indexed:!1,internalType:"string"},{name:"animationURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var Bze,Mze=ce(()=>{Bze=[{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"}],name:"Access_MissingRoleOrAdmin",type:"error"},{inputs:[],name:"Access_OnlyAdmin",type:"error"},{inputs:[],name:"Access_WithdrawNotAllowed",type:"error"},{inputs:[{internalType:"address",name:"proposedAddress",type:"address"}],name:"Admin_InvalidUpgradeAddress",type:"error"},{inputs:[],name:"Admin_UnableToFinalizeNotOpenEdition",type:"error"},{inputs:[],name:"ExternalMetadataRenderer_CallFailed",type:"error"},{inputs:[],name:"InvalidMintSchedule",type:"error"},{inputs:[],name:"MarketFilterDAOAddressNotSupportedForChain",type:"error"},{inputs:[],name:"MintFee_FundsSendFailure",type:"error"},{inputs:[],name:"Mint_SoldOut",type:"error"},{inputs:[{internalType:"address",name:"operator",type:"address"}],name:"OperatorNotAllowed",type:"error"},{inputs:[],name:"Presale_Inactive",type:"error"},{inputs:[],name:"Presale_MerkleNotApproved",type:"error"},{inputs:[],name:"Presale_TooManyForAddress",type:"error"},{inputs:[],name:"Purchase_TooManyForAddress",type:"error"},{inputs:[{internalType:"uint256",name:"correctPrice",type:"uint256"}],name:"Purchase_WrongPrice",type:"error"},{inputs:[],name:"RemoteOperatorFilterRegistryCallFailed",type:"error"},{inputs:[],name:"Sale_Inactive",type:"error"},{inputs:[{internalType:"uint16",name:"maxRoyaltyBPS",type:"uint16"}],name:"Setup_RoyaltyPercentageTooHigh",type:"error"},{inputs:[],name:"Withdraw_FundsSendFailure",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"newAddress",type:"address"},{indexed:!0,internalType:"address",name:"changedBy",type:"address"}],name:"FundsRecipientChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"withdrawnBy",type:"address"},{indexed:!0,internalType:"address",name:"withdrawnTo",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"},{indexed:!1,internalType:"address",name:"feeRecipient",type:"address"},{indexed:!1,internalType:"uint256",name:"feeAmount",type:"uint256"}],name:"FundsWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!0,internalType:"address",name:"tokenContract",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"quantity",type:"uint256"},{indexed:!1,internalType:"string",name:"comment",type:"string"}],name:"MintComment",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"mintFeeAmount",type:"uint256"},{indexed:!1,internalType:"address",name:"mintFeeRecipient",type:"address"},{indexed:!1,internalType:"bool",name:"success",type:"bool"}],name:"MintFeePayout",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"uint256",name:"numberOfMints",type:"uint256"}],name:"OpenMintFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!0,internalType:"uint256",name:"quantity",type:"uint256"},{indexed:!0,internalType:"uint256",name:"pricePerToken",type:"uint256"},{indexed:!1,internalType:"uint256",name:"firstPurchasedTokenId",type:"uint256"}],name:"Sale",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"changedBy",type:"address"}],name:"SalesConfigChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"contract IMetadataRenderer",name:"renderer",type:"address"}],name:"UpdatedMetadataRenderer",type:"event"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"quantity",type:"uint256"}],name:"adminMint",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"to",type:"address[]"}],name:"adminMintAirdrop",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"user",type:"address"}],name:"isAdmin",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"minter",type:"address"}],name:"mintedPerAddress",outputs:[{components:[{internalType:"uint256",name:"totalMints",type:"uint256"},{internalType:"uint256",name:"presaleMints",type:"uint256"},{internalType:"uint256",name:"publicMints",type:"uint256"}],internalType:"struct IERC721Drop.AddressMintDetails",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"quantity",type:"uint256"}],name:"purchase",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"payable",type:"function"},{inputs:[{internalType:"uint256",name:"quantity",type:"uint256"},{internalType:"uint256",name:"maxQuantity",type:"uint256"},{internalType:"uint256",name:"pricePerToken",type:"uint256"},{internalType:"bytes32[]",name:"merkleProof",type:"bytes32[]"}],name:"purchasePresale",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"payable",type:"function"},{inputs:[],name:"saleDetails",outputs:[{components:[{internalType:"bool",name:"publicSaleActive",type:"bool"},{internalType:"bool",name:"presaleActive",type:"bool"},{internalType:"uint256",name:"publicSalePrice",type:"uint256"},{internalType:"uint64",name:"publicSaleStart",type:"uint64"},{internalType:"uint64",name:"publicSaleEnd",type:"uint64"},{internalType:"uint64",name:"presaleStart",type:"uint64"},{internalType:"uint64",name:"presaleEnd",type:"uint64"},{internalType:"bytes32",name:"presaleMerkleRoot",type:"bytes32"},{internalType:"uint256",name:"maxSalePurchasePerAddress",type:"uint256"},{internalType:"uint256",name:"totalMinted",type:"uint256"},{internalType:"uint256",name:"maxSupply",type:"uint256"}],internalType:"struct IERC721Drop.SaleDetails",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract IMetadataRenderer",name:"newRenderer",type:"address"},{internalType:"bytes",name:"setupRenderer",type:"bytes"}],name:"setMetadataRenderer",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint104",name:"publicSalePrice",type:"uint104"},{internalType:"uint32",name:"maxSalePurchasePerAddress",type:"uint32"},{internalType:"uint64",name:"publicSaleStart",type:"uint64"},{internalType:"uint64",name:"publicSaleEnd",type:"uint64"},{internalType:"uint64",name:"presaleStart",type:"uint64"},{internalType:"uint64",name:"presaleEnd",type:"uint64"},{internalType:"bytes32",name:"presaleMerkleRoot",type:"bytes32"}],name:"setSaleConfiguration",outputs:[],stateMutability:"nonpayable",type:"function"}]});var Pze,Dze=ce(()=>{Pze=[{type:"function",name:"cancel",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"revoke",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var coe,Lze=ce(()=>{coe=[{type:"function",name:"freezeMetadata",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setTokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var doe=D((Pia,ZLt)=>{ZLt.exports=[{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}]});var Nze,Fze=ce(()=>{Nze=[{type:"function",name:"burn",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"}]});var Uze,Oze=ce(()=>{Uze=[{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"view"},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var zze,Hze=ce(()=>{zze=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDrop1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phases",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var loe,Wze=ce(()=>{loe=[{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"amount",type:"uint256",internalType:"uint256"},{name:"baseURIForTokens",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SaleRecipientForTokenUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"saleRecipient",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!1,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var jze,qze=ce(()=>{jze=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phase",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var Kze,Gze=ce(()=>{Kze=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase1155_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phase",type:"tuple",internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var ux=D((zia,iFt)=>{iFt.exports=[{type:"function",name:"balanceOf",inputs:[{name:"_owner",type:"address",internalType:"address"},{name:"_id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"_owners",type:"address[]",internalType:"address[]"},{name:"_ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"_owner",type:"address",internalType:"address"},{name:"_operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_ids",type:"uint256[]",internalType:"uint256[]"},{name:"_values",type:"uint256[]",internalType:"uint256[]"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_id",type:"uint256",internalType:"uint256"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"_operator",type:"address",internalType:"address"},{name:"_approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ApprovalForAll",inputs:[{name:"_owner",type:"address",indexed:!0,internalType:"address"},{name:"_operator",type:"address",indexed:!0,internalType:"address"},{name:"_approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"_operator",type:"address",indexed:!0,internalType:"address"},{name:"_from",type:"address",indexed:!0,internalType:"address"},{name:"_to",type:"address",indexed:!0,internalType:"address"},{name:"_ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"_values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"_operator",type:"address",indexed:!0,internalType:"address"},{name:"_from",type:"address",indexed:!0,internalType:"address"},{name:"_to",type:"address",indexed:!0,internalType:"address"},{name:"_id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"_value",type:"string",indexed:!1,internalType:"string"},{name:"_id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var uoe=D((Wia,sFt)=>{sFt.exports=[{type:"function",name:"uri",inputs:[{name:"_id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}]});var Vze,Qze=ce(()=>{Vze=[{type:"function",name:"totalSupply",inputs:[{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var $ze,Yze=ce(()=>{$ze=[{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var poe,Jze=ce(()=>{poe=[{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var Zze,Xze=ce(()=>{Zze=[{type:"function",name:"mintWithSignature",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var tWe,eWe=ce(()=>{tWe=[{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"}]});var aWe,nWe=ce(()=>{aWe=[{type:"function",name:"appURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"setAppURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AppURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var fWe,rWe=ce(()=>{fWe=[{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var sWe,iWe=ce(()=>{sWe=[{type:"function",name:"approveBuyerForListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_buyer",type:"address",internalType:"address"},{name:"_toApprove",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"approveCurrencyForListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerTokenInCurrency",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"buyFromListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_buyFor",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_expectedTotalPrice",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"cancelListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"createListing",inputs:[{name:"_params",type:"tuple",internalType:"struct IDirectListings.ListingParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"reserved",type:"bool",internalType:"bool"}]}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"getAllListings",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"listings",type:"tuple[]",internalType:"struct IDirectListings.Listing[]",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],stateMutability:"view"},{type:"function",name:"getAllValidListings",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"listings",type:"tuple[]",internalType:"struct IDirectListings.Listing[]",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],stateMutability:"view"},{type:"function",name:"getListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"}],outputs:[{name:"listing",type:"tuple",internalType:"struct IDirectListings.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],stateMutability:"view"},{type:"function",name:"totalListings",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"updateListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_params",type:"tuple",internalType:"struct IDirectListings.ListingParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"reserved",type:"bool",internalType:"bool"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"BuyerApprovedForListing",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"buyer",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"CancelledListing",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"CurrencyApprovedForListing",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"currency",type:"address",indexed:!0,internalType:"address"},{name:"pricePerToken",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NewListing",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"listing",type:"tuple",indexed:!1,internalType:"struct IDirectListings.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],anonymous:!1},{type:"event",name:"NewSale",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"buyer",type:"address",indexed:!1,internalType:"address"},{name:"quantityBought",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalPricePaid",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"UpdatedListing",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"listing",type:"tuple",indexed:!1,internalType:"struct IDirectListings.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],anonymous:!1}]});var cWe,oWe=ce(()=>{cWe=[{type:"function",name:"bidInAuction",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"},{name:"_bidAmount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"cancelAuction",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"collectAuctionPayout",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"collectAuctionTokens",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"createAuction",inputs:[{name:"_params",type:"tuple",internalType:"struct IEnglishAuctions.AuctionParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"}]}],outputs:[{name:"auctionId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"getAllAuctions",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"auctions",type:"tuple[]",internalType:"struct IEnglishAuctions.Auction[]",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],stateMutability:"view"},{type:"function",name:"getAllValidAuctions",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"auctions",type:"tuple[]",internalType:"struct IEnglishAuctions.Auction[]",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],stateMutability:"view"},{type:"function",name:"getAuction",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"auction",type:"tuple",internalType:"struct IEnglishAuctions.Auction",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],stateMutability:"view"},{type:"function",name:"getWinningBid",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"bidder",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"bidAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"isAuctionExpired",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isNewWinningBid",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"},{name:"_bidAmount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"AuctionClosed",inputs:[{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"closer",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"auctionCreator",type:"address",indexed:!1,internalType:"address"},{name:"winningBidder",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"CancelledAuction",inputs:[{name:"auctionCreator",type:"address",indexed:!0,internalType:"address"},{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NewAuction",inputs:[{name:"auctionCreator",type:"address",indexed:!0,internalType:"address"},{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"auction",type:"tuple",indexed:!1,internalType:"struct IEnglishAuctions.Auction",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],anonymous:!1},{type:"event",name:"NewBid",inputs:[{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"bidder",type:"address",indexed:!0,internalType:"address"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"bidAmount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"auction",type:"tuple",indexed:!1,internalType:"struct IEnglishAuctions.Auction",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],anonymous:!1}]});var lWe,dWe=ce(()=>{lWe=[{type:"function",name:"acceptOffer",inputs:[{name:"_offerId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"cancelOffer",inputs:[{name:"_offerId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getAllOffers",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"offers",type:"tuple[]",internalType:"struct IOffers.Offer[]",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],stateMutability:"view"},{type:"function",name:"getAllValidOffers",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"offers",type:"tuple[]",internalType:"struct IOffers.Offer[]",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],stateMutability:"view"},{type:"function",name:"getOffer",inputs:[{name:"_offerId",type:"uint256",internalType:"uint256"}],outputs:[{name:"offer",type:"tuple",internalType:"struct IOffers.Offer",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],stateMutability:"view"},{type:"function",name:"makeOffer",inputs:[{name:"_params",type:"tuple",internalType:"struct IOffers.OfferParams",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"}]}],outputs:[{name:"offerId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"AcceptedOffer",inputs:[{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"offerId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"seller",type:"address",indexed:!1,internalType:"address"},{name:"quantityBought",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalPricePaid",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"CancelledOffer",inputs:[{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"offerId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NewOffer",inputs:[{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"offerId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"offer",type:"tuple",indexed:!1,internalType:"struct IOffers.Offer",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],anonymous:!1}]});var PW,hoe=ce(()=>{PW=[{type:"function",name:"canClaimRewards",inputs:[{name:"_opener",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"claimRewards",inputs:[],outputs:[{name:"rewardUnits",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"nonpayable"},{type:"function",name:"createPack",inputs:[{name:"contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"numOfRewardUnits",type:"uint256[]",internalType:"uint256[]"},{name:"packUri",type:"string",internalType:"string"},{name:"openStartTimestamp",type:"uint128",internalType:"uint128"},{name:"amountDistributedPerOpen",type:"uint128",internalType:"uint128"},{name:"recipient",type:"address",internalType:"address"}],outputs:[{name:"packId",type:"uint256",internalType:"uint256"},{name:"packTotalSupply",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"openPack",inputs:[{name:"packId",type:"uint256",internalType:"uint256"},{name:"amountToOpen",type:"uint256",internalType:"uint256"}],outputs:[{name:"requestId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"openPackAndClaimRewards",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"},{name:"_amountToOpen",type:"uint256",internalType:"uint256"},{name:"_callBackGasLimit",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"PackCreated",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"recipient",type:"address",indexed:!1,internalType:"address"},{name:"totalPacksCreated",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PackOpenRequested",inputs:[{name:"opener",type:"address",indexed:!0,internalType:"address"},{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"amountToOpen",type:"uint256",indexed:!1,internalType:"uint256"},{name:"requestId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PackOpened",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opener",type:"address",indexed:!0,internalType:"address"},{name:"numOfPacksOpened",type:"uint256",indexed:!1,internalType:"uint256"},{name:"rewardUnitsDistributed",type:"tuple[]",indexed:!1,internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],anonymous:!1},{type:"event",name:"PackRandomnessFulfilled",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"requestId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var pWe,uWe=ce(()=>{pWe=[{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var bWe,hWe=ce(()=>{bWe=[{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var yWe,mWe=ce(()=>{yWe=[{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var vWe,gWe=ce(()=>{vWe=[{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var TWe,wWe=ce(()=>{TWe=[{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"recipient",type:"address",internalType:"address"},{name:"bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var EWe,xWe=ce(()=>{EWe=[{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"OwnableUnauthorized",inputs:[]}]});var AWe,_We=ce(()=>{AWe=[{type:"function",name:"airdropERC20",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"contents",type:"tuple[]",internalType:"struct IAirdropERC20.AirdropContent[]",components:[{name:"recipient",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}]}],outputs:[],stateMutability:"payable"},{type:"event",name:"AirdropFailed",inputs:[{name:"tokenAddress",type:"address",indexed:!0,internalType:"address"},{name:"tokenOwner",type:"address",indexed:!0,internalType:"address"},{name:"recipient",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var IWe,CWe=ce(()=>{IWe=[{type:"function",name:"airdropERC721",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"contents",type:"tuple[]",internalType:"struct IAirdropERC721.AirdropContent[]",components:[{name:"recipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AirdropFailed",inputs:[{name:"tokenAddress",type:"address",indexed:!0,internalType:"address"},{name:"tokenOwner",type:"address",indexed:!0,internalType:"address"},{name:"recipient",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var SWe,kWe=ce(()=>{SWe=[{type:"function",name:"airdropERC1155",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"contents",type:"tuple[]",internalType:"struct IAirdropERC1155.AirdropContent[]",components:[{name:"recipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AirdropFailed",inputs:[{name:"tokenAddress",type:"address",indexed:!0,internalType:"address"},{name:"tokenOwner",type:"address",indexed:!0,internalType:"address"},{name:"recipient",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var MWe,RWe=ce(()=>{MWe=[{type:"function",name:"accountImplementation",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"createAccount",inputs:[{name:"admin",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"account",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"getAccountsOfSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"accounts",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAddress",inputs:[{name:"adminSigner",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getAllAccounts",inputs:[],outputs:[{name:"",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"event",name:"AccountCreated",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"accountAdmin",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"SignerAdded",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"signer",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"SignerRemoved",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"signer",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var DWe,BWe=ce(()=>{DWe=[{type:"function",name:"getAllActiveSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getAllAdmins",inputs:[],outputs:[{name:"admins",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAllSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getPermissionsForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"permissions",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissions",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"isActiveSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isAdmin",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"setPermissionsForSigner",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifySignerPermissionRequest",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"AdminUpdated",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"isAdmin",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"SignerPermissionsUpdated",inputs:[{name:"authorizingSigner",type:"address",indexed:!0,internalType:"address"},{name:"targetSigner",type:"address",indexed:!0,internalType:"address"},{name:"permissions",type:"tuple",indexed:!1,internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var LWe,PWe=ce(()=>{LWe=[{type:"function",name:"getAllActiveSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions_V1.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getAllAdmins",inputs:[],outputs:[{name:"admins",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAllSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions_V1.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getPermissionsForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"permissions",type:"tuple",internalType:"struct IAccountPermissions_V1.SignerPermissions",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"isActiveSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isAdmin",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"setAdmin",inputs:[{name:"account",type:"address",internalType:"address"},{name:"isAdmin",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPermissionsForSigner",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions_V1.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifySignerPermissionRequest",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions_V1.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"AdminUpdated",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"isAdmin",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"SignerPermissionsUpdated",inputs:[{name:"authorizingSigner",type:"address",indexed:!0,internalType:"address"},{name:"targetSigner",type:"address",indexed:!0,internalType:"address"},{name:"permissions",type:"tuple",indexed:!1,internalType:"struct IAccountPermissions_V1.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var NWe,FWe=ce(()=>{NWe=[{type:"function",name:"validateUserOp",inputs:[{name:"userOp",type:"tuple",internalType:"struct UserOperation",components:[{name:"sender",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"initCode",type:"bytes",internalType:"bytes"},{name:"callData",type:"bytes",internalType:"bytes"},{name:"callGasLimit",type:"uint256",internalType:"uint256"},{name:"verificationGasLimit",type:"uint256",internalType:"uint256"},{name:"preVerificationGas",type:"uint256",internalType:"uint256"},{name:"maxFeePerGas",type:"uint256",internalType:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256",internalType:"uint256"},{name:"paymasterAndData",type:"bytes",internalType:"bytes"},{name:"signature",type:"bytes",internalType:"bytes"}]},{name:"userOpHash",type:"bytes32",internalType:"bytes32"},{name:"missingAccountFunds",type:"uint256",internalType:"uint256"}],outputs:[{name:"validationData",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"}]});var LW=D((psa,BFt)=>{BFt.exports=[{type:"constructor",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_trustedForwarder",type:"address",internalType:"address"},{name:"_prevPublisher",type:"address",internalType:"contract IContractPublisher"}],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getAllPublishedContracts",inputs:[{name:"_publisher",type:"address",internalType:"address"}],outputs:[{name:"published",type:"tuple[]",internalType:"struct IContractPublisher.CustomContractInstance[]",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPublishedContract",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"}],outputs:[{name:"published",type:"tuple",internalType:"struct IContractPublisher.CustomContractInstance",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPublishedContractVersions",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"}],outputs:[{name:"published",type:"tuple[]",internalType:"struct IContractPublisher.CustomContractInstance[]",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPublishedUriFromCompilerUri",inputs:[{name:"compilerMetadataUri",type:"string",internalType:"string"}],outputs:[{name:"publishedMetadataUris",type:"string[]",internalType:"string[]"}],stateMutability:"view"},{type:"function",name:"getPublisherProfileUri",inputs:[{name:"publisher",type:"address",internalType:"address"}],outputs:[{name:"uri",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isPaused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"prevPublisher",inputs:[],outputs:[{name:"",type:"address",internalType:"contract IContractPublisher"}],stateMutability:"view"},{type:"function",name:"publishContract",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"},{name:"_publishMetadataUri",type:"string",internalType:"string"},{name:"_compilerMetadataUri",type:"string",internalType:"string"},{name:"_bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"_implementation",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPause",inputs:[{name:"_pause",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrevPublisher",inputs:[{name:"_prevPublisher",type:"address",internalType:"contract IContractPublisher"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPublisherProfileUri",inputs:[{name:"publisher",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"unpublishContract",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ContractPublished",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"publisher",type:"address",indexed:!0,internalType:"address"},{name:"publishedContract",type:"tuple",indexed:!1,internalType:"struct IContractPublisher.CustomContractInstance",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"ContractUnpublished",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"publisher",type:"address",indexed:!0,internalType:"address"},{name:"contractId",type:"string",indexed:!0,internalType:"string"}],anonymous:!1},{type:"event",name:"Paused",inputs:[{name:"isPaused",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"PublisherProfileUpdated",inputs:[{name:"publisher",type:"address",indexed:!0,internalType:"address"},{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var boe=D((hsa,DFt)=>{DFt.exports=[{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"}]});var moe=D((bsa,PFt)=>{PFt.exports=[{type:"function",name:"OPERATOR_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"_msgData",inputs:[],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"_msgSender",inputs:[],outputs:[{name:"sender",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"add",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"},{name:"_chainId",type:"uint256",internalType:"uint256"},{name:"metadataUri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"count",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"deploymentCount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getAll",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"allDeployments",type:"tuple[]",internalType:"struct ITWMultichainRegistry.Deployment[]",components:[{name:"deploymentAddress",type:"address",internalType:"address"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"metadataURI",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getMetadataUri",inputs:[{name:"_chainId",type:"uint256",internalType:"uint256"},{name:"_deployment",type:"address",internalType:"address"}],outputs:[{name:"metadataUri",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"remove",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"},{name:"_chainId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"Added",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"},{name:"chainId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"metadataUri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"Deleted",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"},{name:"chainId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var YS=D((msa,LFt)=>{LFt.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"execute",inputs:[{name:"req",type:"tuple",internalType:"struct Forwarder.ForwardRequest",components:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gas",type:"uint256",internalType:"uint256"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"payable"},{type:"function",name:"getNonce",inputs:[{name:"from",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct Forwarder.ForwardRequest",components:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gas",type:"uint256",internalType:"uint256"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"error",name:"InvalidShortString",inputs:[]},{type:"error",name:"StringTooLong",inputs:[{name:"str",type:"string",internalType:"string"}]}]});var UWe=D((ysa,OWe)=>{"use strict";u();p();function FFt(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),n=0;n>>0,W=new Uint8Array(z);O!==F;){for(var j=y[O],Q=0,V=z-1;(j!==0||Q>>0,W[V]=j%i>>>0,j=j/i>>>0;if(j!==0)throw new Error("Non-zero carry");S=Q,O++}for(var X=z-S;X!==z&&W[X]===0;)X++;for(var K=s.repeat(v);X>>0,z=new Uint8Array(F);y[v];){var W=e[y.charCodeAt(v)];if(W===255)return;for(var j=0,Q=F-1;(W!==0||j>>0,z[Q]=W%256>>>0,W=W/256>>>0;if(W!==0)throw new Error("Non-zero carry");O=j,v++}if(y[v]!==" "){for(var V=F-O;V!==F&&z[V]===0;)V++;for(var X=new Uint8Array(S+(F-V)),K=S;V!==F;)X[K++]=z[V++];return X}}}function h(y){var v=l(y);if(v)return v;throw new Error("Non-base"+i+" character")}return{encode:d,decodeUnsafe:l,decode:h}}OWe.exports=FFt});var FW=D((wsa,HWe)=>{"use strict";u();p();var NFt=new TextDecoder,OFt=t=>NFt.decode(t),UFt=new TextEncoder,HFt=t=>UFt.encode(t);function zFt(t,e){let n=new Uint8Array(e),a=0;for(let r of t)n.set(r,a),a+=r.length;return n}HWe.exports={decodeText:OFt,encodeText:HFt,concat:zFt}});var WWe=D((Esa,zWe)=>{"use strict";u();p();var{encodeText:WFt}=FW(),yoe=class{constructor(e,n,a,r){this.name=e,this.code=n,this.codeBuf=WFt(this.code),this.alphabet=r,this.codec=a(r)}encode(e){return this.codec.encode(e)}decode(e){for(let n of e)if(this.alphabet&&this.alphabet.indexOf(n)<0)throw new Error(`invalid character '${n}' in '${e}'`);return this.codec.decode(e)}};zWe.exports=yoe});var jWe=D((Csa,qWe)=>{"use strict";u();p();var qFt=(t,e,n)=>{let a={};for(let c=0;c=8&&(i-=8,f[o++]=255&s>>i)}if(i>=n||255&s<<8-i)throw new SyntaxError("Unexpected end of data");return f},jFt=(t,e,n)=>{let a=e[e.length-1]==="=",r=(1<n;)i-=n,f+=e[r&s>>i];if(i&&(f+=e[r&s<e=>({encode(n){return jFt(n,e,t)},decode(n){return qFt(n,e,t)}});qWe.exports={rfc4648:GFt}});var VWe=D((Ssa,QWe)=>{"use strict";u();p();var $S=UWe(),KFt=WWe(),{rfc4648:fo}=jWe(),{decodeText:QFt,encodeText:VFt}=FW(),YFt=()=>({encode:QFt,decode:VFt}),GWe=[["identity","\0",YFt,""],["base2","0",fo(1),"01"],["base8","7",fo(3),"01234567"],["base10","9",$S,"0123456789"],["base16","f",fo(4),"0123456789abcdef"],["base16upper","F",fo(4),"0123456789ABCDEF"],["base32hex","v",fo(5),"0123456789abcdefghijklmnopqrstuv"],["base32hexupper","V",fo(5),"0123456789ABCDEFGHIJKLMNOPQRSTUV"],["base32hexpad","t",fo(5),"0123456789abcdefghijklmnopqrstuv="],["base32hexpadupper","T",fo(5),"0123456789ABCDEFGHIJKLMNOPQRSTUV="],["base32","b",fo(5),"abcdefghijklmnopqrstuvwxyz234567"],["base32upper","B",fo(5),"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"],["base32pad","c",fo(5),"abcdefghijklmnopqrstuvwxyz234567="],["base32padupper","C",fo(5),"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567="],["base32z","h",fo(5),"ybndrfg8ejkmcpqxot1uwisza345h769"],["base36","k",$S,"0123456789abcdefghijklmnopqrstuvwxyz"],["base36upper","K",$S,"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"],["base58btc","z",$S,"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"],["base58flickr","Z",$S,"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"],["base64","m",fo(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"],["base64pad","M",fo(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],["base64url","u",fo(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"],["base64urlpad","U",fo(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="]],KWe=GWe.reduce((t,e)=>(t[e[0]]=new KFt(e[0],e[1],e[2],e[3]),t),{}),$Ft=GWe.reduce((t,e)=>(t[e[1]]=KWe[e[0]],t),{});QWe.exports={names:KWe,codes:$Ft}});var JS=D((H8,$We)=>{"use strict";u();p();var px=VWe(),{encodeText:JFt,decodeText:NW,concat:YWe}=FW();function XFt(t,e){if(!e)throw new Error("requires an encoded Uint8Array");let{name:n,codeBuf:a}=z7(t);return nNt(n,e),YWe([a,e],a.length+e.length)}function ZFt(t,e){let n=z7(t),a=JFt(n.encode(e));return YWe([n.codeBuf,a],n.codeBuf.length+a.length)}function eNt(t){t instanceof Uint8Array&&(t=NW(t));let e=t[0];return["f","F","v","V","t","T","b","B","c","C","h","k","K"].includes(e)&&(t=t.toLowerCase()),z7(t[0]).decode(t.substring(1))}function tNt(t){if(t instanceof Uint8Array&&(t=NW(t)),Object.prototype.toString.call(t)!=="[object String]")return!1;try{return z7(t[0]).name}catch{return!1}}function nNt(t,e){z7(t).decode(NW(e))}function z7(t){if(Object.prototype.hasOwnProperty.call(px.names,t))return px.names[t];if(Object.prototype.hasOwnProperty.call(px.codes,t))return px.codes[t];throw new Error(`Unsupported encoding: ${t}`)}function aNt(t){return t instanceof Uint8Array&&(t=NW(t)),z7(t[0])}H8=$We.exports=XFt;H8.encode=ZFt;H8.decode=eNt;H8.isEncoded=tNt;H8.encoding=z7;H8.encodingFromData=aNt;var rNt=Object.freeze(px.names),fNt=Object.freeze(px.codes);H8.names=rNt;H8.codes=fNt});var eqe=D((Psa,ZWe)=>{u();p();ZWe.exports=XWe;var JWe=128,iNt=127,sNt=~iNt,oNt=Math.pow(2,31);function XWe(t,e,n){e=e||[],n=n||0;for(var a=n;t>=oNt;)e[n++]=t&255|JWe,t/=128;for(;t&sNt;)e[n++]=t&255|JWe,t>>>=7;return e[n]=t|0,XWe.bytes=n-a+1,e}});var aqe=D((Nsa,nqe)=>{u();p();nqe.exports=goe;var cNt=128,tqe=127;function goe(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s)throw goe.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&tqe)<=cNt);return goe.bytes=f-a,n}});var fqe=D((Hsa,rqe)=>{u();p();var dNt=Math.pow(2,7),lNt=Math.pow(2,14),uNt=Math.pow(2,21),pNt=Math.pow(2,28),hNt=Math.pow(2,35),bNt=Math.pow(2,42),mNt=Math.pow(2,49),yNt=Math.pow(2,56),gNt=Math.pow(2,63);rqe.exports=function(t){return t{u();p();iqe.exports={encode:eqe(),decode:aqe(),encodingLength:fqe()}});var cqe=D((Ksa,oqe)=>{"use strict";u();p();var vNt=Object.freeze({identity:0,sha1:17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,blake3:30,"murmur3-128":34,"murmur3-32":35,"dbl-sha2-256":86,md4:212,md5:213,bmt:214,"sha2-256-trunc254-padded":4114,"ripemd-128":4178,"ripemd-160":4179,"ripemd-256":4180,"ripemd-320":4181,x11:4352,kangarootwelve:7425,"sm3-256":21325,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46e3,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"poseidon-bls12_381-a2-fc1":46081,"poseidon-bls12_381-a2-fc1-sc":46082});oqe.exports={names:vNt}});var ZS=D((Ysa,bqe)=>{"use strict";u();p();var dqe=JS(),hx=sqe(),{names:XS}=cqe(),{toString:OW}=(rx(),vn(Nz)),{fromString:wNt}=(kS(),vn(rse)),{concat:TNt}=(ZT(),vn(Iz)),bx={};for(let t in XS){let e=t;bx[XS[e]]=e}Object.freeze(bx);function xNt(t){if(!(t instanceof Uint8Array))throw new Error("must be passed a Uint8Array");return OW(t,"base16")}function ENt(t){return wNt(t,"base16")}function _Nt(t){if(!(t instanceof Uint8Array))throw new Error("must be passed a Uint8Array");return OW(dqe.encode("base58btc",t)).slice(1)}function ANt(t){let e=t instanceof Uint8Array?OW(t):t;return dqe.decode("z"+e)}function lqe(t){if(!(t instanceof Uint8Array))throw new Error("multihash must be a Uint8Array");if(t.length<2)throw new Error("multihash too short. must be > 2 bytes.");let e=hx.decode(t);if(!pqe(e))throw new Error(`multihash unknown function code: 0x${e.toString(16)}`);t=t.slice(hx.decode.bytes);let n=hx.decode(t);if(n<0)throw new Error(`multihash invalid length: ${n}`);if(t=t.slice(hx.decode.bytes),t.length!==n)throw new Error(`multihash length inconsistent: 0x${OW(t,"base16")}`);return{code:e,name:bx[e],length:n,digest:t}}function CNt(t,e,n){if(!t||e===void 0)throw new Error("multihash encode requires at least two args: digest, code");let a=uqe(e);if(!(t instanceof Uint8Array))throw new Error("digest should be a Uint8Array");if(n==null&&(n=t.length),n&&t.length!==n)throw new Error("digest length should be equal to specified length.");let r=hx.encode(a),f=hx.encode(n);return TNt([r,f,t],r.length+f.length+t.length)}function uqe(t){let e=t;if(typeof t=="string"){if(XS[t]===void 0)throw new Error(`Unrecognized hash function named: ${t}`);e=XS[t]}if(typeof e!="number")throw new Error(`Hash function code should be a number. Got: ${e}`);if(bx[e]===void 0&&!voe(e))throw new Error(`Unrecognized function code: ${e}`);return e}function voe(t){return t>0&&t<16}function pqe(t){return!!(voe(t)||bx[t])}function hqe(t){lqe(t)}function INt(t){return hqe(t),t.subarray(0,2)}bqe.exports={names:XS,codes:bx,toHexString:xNt,fromHexString:ENt,toB58String:_Nt,fromB58String:ANt,decode:lqe,encode:CNt,coerceCode:uqe,isAppCode:voe,validate:hqe,prefix:INt,isValidCode:pqe}});var gqe=D((Xsa,yqe)=>{u();p();yqe.exports=woe;var mqe=128,kNt=127,SNt=~kNt,RNt=Math.pow(2,31);function woe(t,e,n){if(Number.MAX_SAFE_INTEGER&&t>Number.MAX_SAFE_INTEGER)throw woe.bytes=0,new RangeError("Could not encode varint");e=e||[],n=n||0;for(var a=n;t>=RNt;)e[n++]=t&255|mqe,t/=128;for(;t&SNt;)e[n++]=t&255|mqe,t>>>=7;return e[n]=t|0,woe.bytes=n-a+1,e}});var Tqe=D((toa,wqe)=>{u();p();wqe.exports=Toe;var MNt=128,vqe=127;function Toe(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s||r>49)throw Toe.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&vqe)<=MNt);return Toe.bytes=f-a,n}});var Eqe=D((roa,xqe)=>{u();p();var BNt=Math.pow(2,7),DNt=Math.pow(2,14),PNt=Math.pow(2,21),LNt=Math.pow(2,28),FNt=Math.pow(2,35),NNt=Math.pow(2,42),ONt=Math.pow(2,49),UNt=Math.pow(2,56),HNt=Math.pow(2,63);xqe.exports=function(t){return t{u();p();_qe.exports={encode:gqe(),decode:Tqe(),encodingLength:Eqe()}});var Eoe=D((doa,Iqe)=>{"use strict";u();p();var Aqe=xoe(),{toString:zNt}=(rx(),vn(Nz)),{fromString:WNt}=(kS(),vn(rse));Iqe.exports={numberToUint8Array:qNt,uint8ArrayToNumber:Cqe,varintUint8ArrayEncode:jNt,varintEncode:GNt};function Cqe(t){return parseInt(zNt(t,"base16"),16)}function qNt(t){let e=t.toString(16);return e.length%2===1&&(e="0"+e),WNt(e,"base16")}function jNt(t){return Uint8Array.from(Aqe.encode(Cqe(t)))}function GNt(t){return Uint8Array.from(Aqe.encode(t))}});var Sqe=D((poa,kqe)=>{"use strict";u();p();var KNt=Object.freeze({identity:0,cidv1:1,cidv2:2,cidv3:3,ip4:4,tcp:6,sha1:17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,blake3:30,dccp:33,"murmur3-128":34,"murmur3-32":35,ip6:41,ip6zone:42,path:47,multicodec:48,multihash:49,multiaddr:50,multibase:51,dns:53,dns4:54,dns6:55,dnsaddr:56,protobuf:80,cbor:81,raw:85,"dbl-sha2-256":86,rlp:96,bencode:99,"dag-pb":112,"dag-cbor":113,"libp2p-key":114,"git-raw":120,"torrent-info":123,"torrent-file":124,"leofcoin-block":129,"leofcoin-tx":130,"leofcoin-pr":131,sctp:132,"dag-jose":133,"dag-cose":134,"eth-block":144,"eth-block-list":145,"eth-tx-trie":146,"eth-tx":147,"eth-tx-receipt-trie":148,"eth-tx-receipt":149,"eth-state-trie":150,"eth-account-snapshot":151,"eth-storage-trie":152,"eth-receipt-log-trie":153,"eth-reciept-log":154,"bitcoin-block":176,"bitcoin-tx":177,"bitcoin-witness-commitment":178,"zcash-block":192,"zcash-tx":193,"caip-50":202,streamid:206,"stellar-block":208,"stellar-tx":209,md4:212,md5:213,bmt:214,"decred-block":224,"decred-tx":225,"ipld-ns":226,"ipfs-ns":227,"swarm-ns":228,"ipns-ns":229,zeronet:230,"secp256k1-pub":231,"bls12_381-g1-pub":234,"bls12_381-g2-pub":235,"x25519-pub":236,"ed25519-pub":237,"bls12_381-g1g2-pub":238,"dash-block":240,"dash-tx":241,"swarm-manifest":250,"swarm-feed":251,udp:273,"p2p-webrtc-star":275,"p2p-webrtc-direct":276,"p2p-stardust":277,"p2p-circuit":290,"dag-json":297,udt:301,utp:302,unix:400,thread:406,p2p:421,ipfs:421,https:443,onion:444,onion3:445,garlic64:446,garlic32:447,tls:448,noise:454,quic:460,ws:477,wss:478,"p2p-websocket-star":479,http:480,"swhid-1-snp":496,json:512,messagepack:513,"libp2p-peer-record":769,"libp2p-relay-rsvp":770,"car-index-sorted":1024,"sha2-256-trunc254-padded":4114,"ripemd-128":4178,"ripemd-160":4179,"ripemd-256":4180,"ripemd-320":4181,x11:4352,"p256-pub":4608,"p384-pub":4609,"p521-pub":4610,"ed448-pub":4611,"x448-pub":4612,"ed25519-priv":4864,"secp256k1-priv":4865,"x25519-priv":4866,kangarootwelve:7425,"sm3-256":21325,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46e3,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"poseidon-bls12_381-a2-fc1":46081,"poseidon-bls12_381-a2-fc1-sc":46082,"zeroxcert-imprint-256":52753,"fil-commitment-unsealed":61697,"fil-commitment-sealed":61698,"holochain-adr-v0":8417572,"holochain-adr-v1":8483108,"holochain-key-v0":9728292,"holochain-key-v1":9793828,"holochain-sig-v0":10645796,"holochain-sig-v1":10711332,"skynet-ns":11639056,"arweave-ns":11704592});kqe.exports={baseTable:KNt}});var Mqe=D((moa,Rqe)=>{"use strict";u();p();var{baseTable:_oe}=Sqe(),QNt=Eoe().varintEncode,Aoe={},Coe={},UW={};for(let t in _oe){let e=t,n=_oe[e];Aoe[e]=QNt(n);let a=e.toUpperCase().replace(/-/g,"_");Coe[a]=n,UW[n]||(UW[n]=e)}Object.freeze(Aoe);Object.freeze(Coe);Object.freeze(UW);var VNt=Object.freeze(_oe);Rqe.exports={nameToVarint:Aoe,constantToCode:Coe,nameToCode:VNt,codeToName:UW}});var zqe=D((voa,Hqe)=>{"use strict";u();p();var HW=xoe(),{concat:YNt}=(ZT(),vn(Iz)),Bqe=Eoe(),{nameToVarint:zW,constantToCode:$Nt,nameToCode:Dqe,codeToName:Ioe}=Mqe();function JNt(t,e){let n;if(t instanceof Uint8Array)n=Bqe.varintUint8ArrayEncode(t);else if(zW[t])n=zW[t];else throw new Error("multicodec not recognized");return YNt([n,e],n.length+e.length)}function XNt(t){return HW.decode(t),t.slice(HW.decode.bytes)}function Pqe(t){let e=HW.decode(t),n=Ioe[e];if(n===void 0)throw new Error(`Code "${e}" not found`);return n}function Lqe(t){return Ioe[t]}function Fqe(t){let e=Dqe[t];if(e===void 0)throw new Error(`Codec "${t}" not found`);return e}function Nqe(t){return HW.decode(t)}function Oqe(t){let e=zW[t];if(e===void 0)throw new Error(`Codec "${t}" not found`);return e}function Uqe(t){return Bqe.varintEncode(t)}function ZNt(t){return Pqe(t)}function eOt(t){return Lqe(t)}function tOt(t){return Fqe(t)}function nOt(t){return Nqe(t)}function aOt(t){return Oqe(t)}function rOt(t){return Array.from(Uqe(t))}Hqe.exports={addPrefix:JNt,rmPrefix:XNt,getNameFromData:Pqe,getNameFromCode:Lqe,getCodeFromName:Fqe,getCodeFromData:Nqe,getVarintFromName:Oqe,getVarintFromCode:Uqe,getCodec:ZNt,getName:eOt,getNumber:tOt,getCode:nOt,getCodeVarint:aOt,getVarint:rOt,...$Nt,nameToVarint:zW,nameToCode:Dqe,codeToName:Ioe}});var qqe=D((xoa,Wqe)=>{"use strict";u();p();var fOt=ZS(),iOt={checkCIDComponents:function(t){if(t==null)return"null values are not valid CIDs";if(!(t.version===0||t.version===1))return"Invalid version, must be a number equal to 1 or 0";if(typeof t.codec!="string")return"codec must be string";if(t.version===0){if(t.codec!=="dag-pb")return"codec must be 'dag-pb' for CIDv0";if(t.multibaseName!=="base58btc")return"multibaseName must be 'base58btc' for CIDv0"}if(!(t.multihash instanceof Uint8Array))return"multihash must be a Uint8Array";try{fOt.validate(t.multihash)}catch(e){let n=e.message;return n||(n="Multihash validation failed"),n}}};Wqe.exports=iOt});var Gqe={};V0(Gqe,{equals:()=>jqe});function jqe(t,e){if(t===e)return!0;if(t.byteLength!==e.byteLength)return!1;for(let n=0;n{u();p()});var GW=D((Ioa,Vqe)=>{"use strict";u();p();var WW=ZS(),Soe=JS(),W7=zqe(),sOt=qqe(),{concat:Kqe}=(ZT(),vn(Iz)),{toString:oOt}=(rx(),vn(Nz)),{equals:cOt}=(koe(),vn(Gqe)),qW=W7.nameToCode,dOt=Object.keys(qW).reduce((t,e)=>(t[qW[e]]=e,t),{}),Qqe=Symbol.for("@ipld/js-cid/CID"),jW=class t{constructor(e,n,a,r){if(this.version,this.codec,this.multihash,Object.defineProperty(this,Qqe,{value:!0}),t.isCID(e)){let f=e;this.version=f.version,this.codec=f.codec,this.multihash=f.multihash,this.multibaseName=f.multibaseName||(f.version===0?"base58btc":"base32");return}if(typeof e=="string"){let f=Soe.isEncoded(e);if(f){let i=Soe.decode(e);this.version=parseInt(i[0].toString(),16),this.codec=W7.getCodec(i.slice(1)),this.multihash=W7.rmPrefix(i.slice(1)),this.multibaseName=f}else this.version=0,this.codec="dag-pb",this.multihash=WW.fromB58String(e),this.multibaseName="base58btc";t.validateCID(this),Object.defineProperty(this,"string",{value:e});return}if(e instanceof Uint8Array){let f=parseInt(e[0].toString(),16);if(f===1){let i=e;this.version=f,this.codec=W7.getCodec(i.slice(1)),this.multihash=W7.rmPrefix(i.slice(1)),this.multibaseName="base32"}else this.version=0,this.codec="dag-pb",this.multihash=e,this.multibaseName="base58btc";t.validateCID(this);return}this.version=e,typeof n=="number"&&(n=dOt[n]),this.codec=n,this.multihash=a,this.multibaseName=r||(e===0?"base58btc":"base32"),t.validateCID(this)}get bytes(){let e=this._bytes;if(!e){if(this.version===0)e=this.multihash;else if(this.version===1){let n=W7.getCodeVarint(this.codec);e=Kqe([[1],n,this.multihash],1+n.byteLength+this.multihash.byteLength)}else throw new Error("unsupported version");Object.defineProperty(this,"_bytes",{value:e})}return e}get prefix(){let e=W7.getCodeVarint(this.codec),n=WW.prefix(this.multihash);return Kqe([[this.version],e,n],1+e.byteLength+n.byteLength)}get code(){return qW[this.codec]}toV0(){if(this.codec!=="dag-pb")throw new Error("Cannot convert a non dag-pb CID to CIDv0");let{name:e,length:n}=WW.decode(this.multihash);if(e!=="sha2-256")throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");if(n!==32)throw new Error("Cannot convert non 32 byte multihash CID to CIDv0");return new t(0,this.codec,this.multihash)}toV1(){return new t(1,this.codec,this.multihash,this.multibaseName)}toBaseEncodedString(e=this.multibaseName){if(this.string&&this.string.length!==0&&e===this.multibaseName)return this.string;let n;if(this.version===0){if(e!=="base58btc")throw new Error("not supported with CIDv0, to support different bases, please migrate the instance do CIDv1, you can do that through cid.toV1()");n=WW.toB58String(this.multihash)}else if(this.version===1)n=oOt(Soe.encode(e,this.bytes));else throw new Error("unsupported version");return e===this.multibaseName&&Object.defineProperty(this,"string",{value:n}),n}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}toString(e){return this.toBaseEncodedString(e)}toJSON(){return{codec:this.codec,version:this.version,hash:this.multihash}}equals(e){return this.codec===e.codec&&this.version===e.version&&cOt(this.multihash,e.multihash)}static validateCID(e){let n=sOt.checkCIDComponents(e);if(n)throw new Error(n)}static isCID(e){return e instanceof t||!!(e&&e[Qqe])}};jW.codecs=qW;Vqe.exports=jW});var Roe=D((Moa,$qe)=>{u();p();function Yqe(t){if(t.stack&&t.name&&t.message)return t.stack.substring(t.name.length+3+t.message.length).split(` +`});var eOe=ce(()=>{u();p();ZNe();Sz();lb();$ie();AS()});var tOe={};V0(tOe,{CID:()=>IS,bases:()=>Lz,bytes:()=>kz,codecs:()=>Vat,digest:()=>L7,hasher:()=>Bz,hashes:()=>Qat,varint:()=>ax});var Lz,Qat,Vat,tse=ce(()=>{u();p();MNe();BNe();DNe();PNe();LNe();zie();FNe();jie();NNe();UNe();GNe();VNe();YNe();$Ne();eOe();Lz={...Lie,...Fie,...Nie,...Oie,...Uie,...Hie,...Wie,...qie,...Gie,...Kie},Qat={...Jie,...Xie},Vat={raw:Zie,json:ese}});function aOe(t,e,n,a){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:a}}}var nOe,nse,Yat,Fz,ase=ce(()=>{u();p();tse();Cz();nOe=aOe("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),nse=aOe("ascii","a",t=>{let e="a";for(let n=0;n{t=t.substring(1);let e=ES(t.length);for(let n=0;nMi});function Mi(t,e="utf8"){let n=Fz[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("utf8"):n.encoder.encode(t).substring(1)}var rx=ce(()=>{u();p();ase()});var rse={};V0(rse,{fromString:()=>Es});function Es(t,e="utf8"){let n=Fz[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?R7(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}var kS=ce(()=>{u();p();ase();xS()});function Oz(t){return Mi(Es(z1(t),wNe),Cie)}function Uz(t){let e=Es(CNe,Iie),n=ANe+Mi(M7([e,t]),Iie);return[ENe,_Ne,n].join(xNe)}function $at(t){return Mi(t,Cie)}function rOe(t){return Es([Oz(t.header),Oz(t.payload)].join(Aie),TNe)}function fOe(t){return[Oz(t.header),Oz(t.payload),$at(t.signature)].join(Aie)}var fse=ce(()=>{u();p();ZT();rx();kS();E7();Az()});function ise(t=(0,iOe.randomBytes)(32)){return SS.generateKeyPairFromSeed(t)}async function oOe(t,e,n,a,r=(0,sOe.fromMiliseconds)(Date.now())){let f={alg:gNe,typ:vNe},i=Uz(a.publicKey),s=r+n,o={iss:i,sub:t,aud:e,iat:r,exp:s},c=rOe({header:f,payload:o}),d=SS.sign(a.secretKey,c);return fOe({header:f,payload:o,signature:d})}var SS,iOe,sOe,cOe=ce(()=>{u();p();SS=Ee(yNe()),iOe=Ee(vS()),sOe=Ee(_7());Az();fse()});var dOe=ce(()=>{u();p()});var lOe=ce(()=>{u();p();cOe();Az();dOe();fse()});function Hz(t){return t?bOe(t):typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new art:typeof navigator<"u"?bOe(navigator.userAgent):crt()}function srt(t){return t!==""&&irt.reduce(function(e,n){var a=n[0],r=n[1];if(e)return e;var f=r.exec(t);return!!f&&[a,f]},!1)}function bOe(t){var e=srt(t);if(!e)return null;var n=e[0],a=e[1];if(n==="searchbot")return new nrt;var r=a[1]&&a[1].split(".").join("_").split("_").slice(0,3);r?r.length{u();p();uOe=function(t,e,n){if(n||arguments.length===2)for(var a=0,r=e.length,f;a{"use strict";u();p();Object.defineProperty(Hr,"__esModule",{value:!0});Hr.getLocalStorage=Hr.getLocalStorageOrThrow=Hr.getCrypto=Hr.getCryptoOrThrow=Hr.getLocation=Hr.getLocationOrThrow=Hr.getNavigator=Hr.getNavigatorOrThrow=Hr.getDocument=Hr.getDocumentOrThrow=Hr.getFromWindowOrThrow=Hr.getFromWindow=void 0;function F7(t){let e;return typeof window<"u"&&typeof window[t]<"u"&&(e=window[t]),e}Hr.getFromWindow=F7;function fx(t){let e=F7(t);if(!e)throw new Error(`${t} is not defined in Window`);return e}Hr.getFromWindowOrThrow=fx;function lrt(){return fx("document")}Hr.getDocumentOrThrow=lrt;function urt(){return F7("document")}Hr.getDocument=urt;function prt(){return fx("navigator")}Hr.getNavigatorOrThrow=prt;function hrt(){return F7("navigator")}Hr.getNavigator=hrt;function brt(){return fx("location")}Hr.getLocationOrThrow=brt;function mrt(){return F7("location")}Hr.getLocation=mrt;function yrt(){return fx("crypto")}Hr.getCryptoOrThrow=yrt;function grt(){return F7("crypto")}Hr.getCrypto=grt;function vrt(){return fx("localStorage")}Hr.getLocalStorageOrThrow=vrt;function wrt(){return F7("localStorage")}Hr.getLocalStorage=wrt});var yOe=D(zz=>{"use strict";u();p();Object.defineProperty(zz,"__esModule",{value:!0});zz.getWindowMetadata=void 0;var mOe=ose();function Trt(){let t,e;try{t=mOe.getDocumentOrThrow(),e=mOe.getLocationOrThrow()}catch{return null}function n(){let l=t.getElementsByTagName("link"),h=[];for(let y=0;y-1){let O=v.getAttribute("href");if(O)if(O.toLowerCase().indexOf("https:")===-1&&O.toLowerCase().indexOf("http:")===-1&&O.indexOf("//")!==0){let F=e.protocol+"//"+e.host;if(O.indexOf("/")===0)F+=O;else{let z=e.pathname.split("/");z.pop();let W=z.join("/");F+=W+"/"+O}h.push(F)}else if(O.indexOf("//")===0){let F=e.protocol+O;h.push(F)}else h.push(O)}}return h}function a(...l){let h=t.getElementsByTagName("meta");for(let y=0;yv.getAttribute(O)).filter(O=>O?l.includes(O):!1);if(k.length&&k){let O=v.getAttribute("content");if(O)return O}}return""}function r(){let l=a("name","og:site_name","og:title","twitter:title");return l||(l=t.title),l}function f(){return a("description","og:description","twitter:description","keywords")}let i=r(),s=f(),o=e.origin,c=n();return{description:s,url:o,icons:c,name:i}}zz.getWindowMetadata=Trt});var vOe=D((iaa,gOe)=>{"use strict";u();p();gOe.exports=t=>encodeURIComponent(t).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)});var _Oe=D((caa,EOe)=>{"use strict";u();p();var xOe="%[a-f0-9]{2}",wOe=new RegExp("("+xOe+")|([^%]+?)","gi"),TOe=new RegExp("("+xOe+")+","gi");function cse(t,e){try{return[decodeURIComponent(t.join(""))]}catch{}if(t.length===1)return t;e=e||1;var n=t.slice(0,e),a=t.slice(e);return Array.prototype.concat.call([],cse(n),cse(a))}function xrt(t){try{return decodeURIComponent(t)}catch{for(var e=t.match(wOe)||[],n=1;n{"use strict";u();p();AOe.exports=(t,e)=>{if(!(typeof t=="string"&&typeof e=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e==="")return[t];let n=t.indexOf(e);return n===-1?[t]:[t.slice(0,n),t.slice(n+e.length)]}});var kOe=D((baa,IOe)=>{"use strict";u();p();IOe.exports=function(t,e){for(var n={},a=Object.keys(t),r=Array.isArray(e),f=0;f{"use strict";u();p();var _rt=vOe(),Art=_Oe(),ROe=COe(),Crt=kOe(),Irt=t=>t==null,dse=Symbol("encodeFragmentIdentifier");function krt(t){switch(t.arrayFormat){case"index":return e=>(n,a)=>{let r=n.length;return a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,[bi(e,t),"[",r,"]"].join("")]:[...n,[bi(e,t),"[",bi(r,t),"]=",bi(a,t)].join("")]};case"bracket":return e=>(n,a)=>a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,[bi(e,t),"[]"].join("")]:[...n,[bi(e,t),"[]=",bi(a,t)].join("")];case"colon-list-separator":return e=>(n,a)=>a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,[bi(e,t),":list="].join("")]:[...n,[bi(e,t),":list=",bi(a,t)].join("")];case"comma":case"separator":case"bracket-separator":{let e=t.arrayFormat==="bracket-separator"?"[]=":"=";return n=>(a,r)=>r===void 0||t.skipNull&&r===null||t.skipEmptyString&&r===""?a:(r=r===null?"":r,a.length===0?[[bi(n,t),e,bi(r,t)].join("")]:[[a,bi(r,t)].join(t.arrayFormatSeparator)])}default:return e=>(n,a)=>a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,bi(e,t)]:[...n,[bi(e,t),"=",bi(a,t)].join("")]}}function Srt(t){let e;switch(t.arrayFormat){case"index":return(n,a,r)=>{if(e=/\[(\d*)\]$/.exec(n),n=n.replace(/\[\d*\]$/,""),!e){r[n]=a;return}r[n]===void 0&&(r[n]={}),r[n][e[1]]=a};case"bracket":return(n,a,r)=>{if(e=/(\[\])$/.exec(n),n=n.replace(/\[\]$/,""),!e){r[n]=a;return}if(r[n]===void 0){r[n]=[a];return}r[n]=[].concat(r[n],a)};case"colon-list-separator":return(n,a,r)=>{if(e=/(:list)$/.exec(n),n=n.replace(/:list$/,""),!e){r[n]=a;return}if(r[n]===void 0){r[n]=[a];return}r[n]=[].concat(r[n],a)};case"comma":case"separator":return(n,a,r)=>{let f=typeof a=="string"&&a.includes(t.arrayFormatSeparator),i=typeof a=="string"&&!f&&M8(a,t).includes(t.arrayFormatSeparator);a=i?M8(a,t):a;let s=f||i?a.split(t.arrayFormatSeparator).map(o=>M8(o,t)):a===null?a:M8(a,t);r[n]=s};case"bracket-separator":return(n,a,r)=>{let f=/(\[\])$/.test(n);if(n=n.replace(/\[\]$/,""),!f){r[n]=a&&M8(a,t);return}let i=a===null?[]:a.split(t.arrayFormatSeparator).map(s=>M8(s,t));if(r[n]===void 0){r[n]=i;return}r[n]=[].concat(r[n],i)};default:return(n,a,r)=>{if(r[n]===void 0){r[n]=a;return}r[n]=[].concat(r[n],a)}}}function MOe(t){if(typeof t!="string"||t.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function bi(t,e){return e.encode?e.strict?_rt(t):encodeURIComponent(t):t}function M8(t,e){return e.decode?Art(t):t}function BOe(t){return Array.isArray(t)?t.sort():typeof t=="object"?BOe(Object.keys(t)).sort((e,n)=>Number(e)-Number(n)).map(e=>t[e]):t}function DOe(t){let e=t.indexOf("#");return e!==-1&&(t=t.slice(0,e)),t}function Rrt(t){let e="",n=t.indexOf("#");return n!==-1&&(e=t.slice(n)),e}function POe(t){t=DOe(t);let e=t.indexOf("?");return e===-1?"":t.slice(e+1)}function SOe(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&typeof t=="string"&&t.trim()!==""?t=Number(t):e.parseBooleans&&t!==null&&(t.toLowerCase()==="true"||t.toLowerCase()==="false")&&(t=t.toLowerCase()==="true"),t}function LOe(t,e){e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e),MOe(e.arrayFormatSeparator);let n=Srt(e),a=Object.create(null);if(typeof t!="string"||(t=t.trim().replace(/^[?#&]/,""),!t))return a;for(let r of t.split("&")){if(r==="")continue;let[f,i]=ROe(e.decode?r.replace(/\+/g," "):r,"=");i=i===void 0?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?i:M8(i,e),n(M8(f,e),i,a)}for(let r of Object.keys(a)){let f=a[r];if(typeof f=="object"&&f!==null)for(let i of Object.keys(f))f[i]=SOe(f[i],e);else a[r]=SOe(f,e)}return e.sort===!1?a:(e.sort===!0?Object.keys(a).sort():Object.keys(a).sort(e.sort)).reduce((r,f)=>{let i=a[f];return i&&typeof i=="object"&&!Array.isArray(i)?r[f]=BOe(i):r[f]=i,r},Object.create(null))}Fc.extract=POe;Fc.parse=LOe;Fc.stringify=(t,e)=>{if(!t)return"";e=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},e),MOe(e.arrayFormatSeparator);let n=i=>e.skipNull&&Irt(t[i])||e.skipEmptyString&&t[i]==="",a=krt(e),r={};for(let i of Object.keys(t))n(i)||(r[i]=t[i]);let f=Object.keys(r);return e.sort!==!1&&f.sort(e.sort),f.map(i=>{let s=t[i];return s===void 0?"":s===null?bi(i,e):Array.isArray(s)?s.length===0&&e.arrayFormat==="bracket-separator"?bi(i,e)+"[]":s.reduce(a(i),[]).join("&"):bi(i,e)+"="+bi(s,e)}).filter(i=>i.length>0).join("&")};Fc.parseUrl=(t,e)=>{e=Object.assign({decode:!0},e);let[n,a]=ROe(t,"#");return Object.assign({url:n.split("?")[0]||"",query:LOe(POe(t),e)},e&&e.parseFragmentIdentifier&&a?{fragmentIdentifier:M8(a,e)}:{})};Fc.stringifyUrl=(t,e)=>{e=Object.assign({encode:!0,strict:!0,[dse]:!0},e);let n=DOe(t.url).split("?")[0]||"",a=Fc.extract(t.url),r=Fc.parse(a,{sort:!1}),f=Object.assign(r,t.query),i=Fc.stringify(f,e);i&&(i=`?${i}`);let s=Rrt(t.url);return t.fragmentIdentifier&&(s=`#${e[dse]?bi(t.fragmentIdentifier,e):t.fragmentIdentifier}`),`${n}${i}${s}`};Fc.pick=(t,e,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[dse]:!1},n);let{url:a,query:r,fragmentIdentifier:f}=Fc.parseUrl(t,n);return Fc.stringifyUrl({url:a,query:Crt(r,e),fragmentIdentifier:f},n)};Fc.exclude=(t,e,n)=>{let a=Array.isArray(e)?r=>!e.includes(r):(r,f)=>!e(r,f);return Fc.pick(t,a,n)}});var OOe=D(Wz=>{"use strict";u();p();Object.defineProperty(Wz,"__esModule",{value:!0});var Zo=YT(),lse=K5(),Mrt=20;function Brt(t,e,n){for(var a=1634760805,r=857760878,f=2036477234,i=1797285236,s=n[3]<<24|n[2]<<16|n[1]<<8|n[0],o=n[7]<<24|n[6]<<16|n[5]<<8|n[4],c=n[11]<<24|n[10]<<16|n[9]<<8|n[8],d=n[15]<<24|n[14]<<16|n[13]<<8|n[12],l=n[19]<<24|n[18]<<16|n[17]<<8|n[16],h=n[23]<<24|n[22]<<16|n[21]<<8|n[20],y=n[27]<<24|n[26]<<16|n[25]<<8|n[24],v=n[31]<<24|n[30]<<16|n[29]<<8|n[28],k=e[3]<<24|e[2]<<16|e[1]<<8|e[0],O=e[7]<<24|e[6]<<16|e[5]<<8|e[4],F=e[11]<<24|e[10]<<16|e[9]<<8|e[8],z=e[15]<<24|e[14]<<16|e[13]<<8|e[12],W=a,j=r,Q=f,V=i,X=s,K=o,G=c,R=d,T=l,N=h,w=y,m=v,A=k,P=O,L=F,x=z,g=0;g>>16|A<<16,T=T+A|0,X^=T,X=X>>>20|X<<12,j=j+K|0,P^=j,P=P>>>16|P<<16,N=N+P|0,K^=N,K=K>>>20|K<<12,Q=Q+G|0,L^=Q,L=L>>>16|L<<16,w=w+L|0,G^=w,G=G>>>20|G<<12,V=V+R|0,x^=V,x=x>>>16|x<<16,m=m+x|0,R^=m,R=R>>>20|R<<12,Q=Q+G|0,L^=Q,L=L>>>24|L<<8,w=w+L|0,G^=w,G=G>>>25|G<<7,V=V+R|0,x^=V,x=x>>>24|x<<8,m=m+x|0,R^=m,R=R>>>25|R<<7,j=j+K|0,P^=j,P=P>>>24|P<<8,N=N+P|0,K^=N,K=K>>>25|K<<7,W=W+X|0,A^=W,A=A>>>24|A<<8,T=T+A|0,X^=T,X=X>>>25|X<<7,W=W+K|0,x^=W,x=x>>>16|x<<16,w=w+x|0,K^=w,K=K>>>20|K<<12,j=j+G|0,A^=j,A=A>>>16|A<<16,m=m+A|0,G^=m,G=G>>>20|G<<12,Q=Q+R|0,P^=Q,P=P>>>16|P<<16,T=T+P|0,R^=T,R=R>>>20|R<<12,V=V+X|0,L^=V,L=L>>>16|L<<16,N=N+L|0,X^=N,X=X>>>20|X<<12,Q=Q+R|0,P^=Q,P=P>>>24|P<<8,T=T+P|0,R^=T,R=R>>>25|R<<7,V=V+X|0,L^=V,L=L>>>24|L<<8,N=N+L|0,X^=N,X=X>>>25|X<<7,j=j+G|0,A^=j,A=A>>>24|A<<8,m=m+A|0,G^=m,G=G>>>25|G<<7,W=W+K|0,x^=W,x=x>>>24|x<<8,w=w+x|0,K^=w,K=K>>>25|K<<7;Zo.writeUint32LE(W+a|0,t,0),Zo.writeUint32LE(j+r|0,t,4),Zo.writeUint32LE(Q+f|0,t,8),Zo.writeUint32LE(V+i|0,t,12),Zo.writeUint32LE(X+s|0,t,16),Zo.writeUint32LE(K+o|0,t,20),Zo.writeUint32LE(G+c|0,t,24),Zo.writeUint32LE(R+d|0,t,28),Zo.writeUint32LE(T+l|0,t,32),Zo.writeUint32LE(N+h|0,t,36),Zo.writeUint32LE(w+y|0,t,40),Zo.writeUint32LE(m+v|0,t,44),Zo.writeUint32LE(A+k|0,t,48),Zo.writeUint32LE(P+O|0,t,52),Zo.writeUint32LE(L+F|0,t,56),Zo.writeUint32LE(x+z|0,t,60)}function NOe(t,e,n,a,r){if(r===void 0&&(r=0),t.length!==32)throw new Error("ChaCha: key size must be 32 bytes");if(a.length>>=8,e++;if(a>0)throw new Error("ChaCha: counter overflow")}});var qz=D(ix=>{"use strict";u();p();Object.defineProperty(ix,"__esModule",{value:!0});function Lrt(t,e,n){return~(t-1)&e|t-1&n}ix.select=Lrt;function Frt(t,e){return(t|0)-(e|0)-1>>>31&1}ix.lessOrEqual=Frt;function UOe(t,e){if(t.length!==e.length)return 0;for(var n=0,a=0;a>>8}ix.compare=UOe;function Nrt(t,e){return t.length===0||e.length===0?!1:UOe(t,e)!==0}ix.equal=Nrt});var zOe=D(B8=>{"use strict";u();p();Object.defineProperty(B8,"__esModule",{value:!0});var Ort=qz(),jz=K5();B8.DIGEST_LENGTH=16;var HOe=function(){function t(e){this.digestLength=B8.DIGEST_LENGTH,this._buffer=new Uint8Array(16),this._r=new Uint16Array(10),this._h=new Uint16Array(10),this._pad=new Uint16Array(8),this._leftover=0,this._fin=0,this._finished=!1;var n=e[0]|e[1]<<8;this._r[0]=n&8191;var a=e[2]|e[3]<<8;this._r[1]=(n>>>13|a<<3)&8191;var r=e[4]|e[5]<<8;this._r[2]=(a>>>10|r<<6)&7939;var f=e[6]|e[7]<<8;this._r[3]=(r>>>7|f<<9)&8191;var i=e[8]|e[9]<<8;this._r[4]=(f>>>4|i<<12)&255,this._r[5]=i>>>1&8190;var s=e[10]|e[11]<<8;this._r[6]=(i>>>14|s<<2)&8191;var o=e[12]|e[13]<<8;this._r[7]=(s>>>11|o<<5)&8065;var c=e[14]|e[15]<<8;this._r[8]=(o>>>8|c<<8)&8191,this._r[9]=c>>>5&127,this._pad[0]=e[16]|e[17]<<8,this._pad[1]=e[18]|e[19]<<8,this._pad[2]=e[20]|e[21]<<8,this._pad[3]=e[22]|e[23]<<8,this._pad[4]=e[24]|e[25]<<8,this._pad[5]=e[26]|e[27]<<8,this._pad[6]=e[28]|e[29]<<8,this._pad[7]=e[30]|e[31]<<8}return t.prototype._blocks=function(e,n,a){for(var r=this._fin?0:2048,f=this._h[0],i=this._h[1],s=this._h[2],o=this._h[3],c=this._h[4],d=this._h[5],l=this._h[6],h=this._h[7],y=this._h[8],v=this._h[9],k=this._r[0],O=this._r[1],F=this._r[2],z=this._r[3],W=this._r[4],j=this._r[5],Q=this._r[6],V=this._r[7],X=this._r[8],K=this._r[9];a>=16;){var G=e[n+0]|e[n+1]<<8;f+=G&8191;var R=e[n+2]|e[n+3]<<8;i+=(G>>>13|R<<3)&8191;var T=e[n+4]|e[n+5]<<8;s+=(R>>>10|T<<6)&8191;var N=e[n+6]|e[n+7]<<8;o+=(T>>>7|N<<9)&8191;var w=e[n+8]|e[n+9]<<8;c+=(N>>>4|w<<12)&8191,d+=w>>>1&8191;var m=e[n+10]|e[n+11]<<8;l+=(w>>>14|m<<2)&8191;var A=e[n+12]|e[n+13]<<8;h+=(m>>>11|A<<5)&8191;var P=e[n+14]|e[n+15]<<8;y+=(A>>>8|P<<8)&8191,v+=P>>>5|r;var L=0,x=L;x+=f*k,x+=i*(5*K),x+=s*(5*X),x+=o*(5*V),x+=c*(5*Q),L=x>>>13,x&=8191,x+=d*(5*j),x+=l*(5*W),x+=h*(5*z),x+=y*(5*F),x+=v*(5*O),L+=x>>>13,x&=8191;var g=L;g+=f*O,g+=i*k,g+=s*(5*K),g+=o*(5*X),g+=c*(5*V),L=g>>>13,g&=8191,g+=d*(5*Q),g+=l*(5*j),g+=h*(5*W),g+=y*(5*z),g+=v*(5*F),L+=g>>>13,g&=8191;var B=L;B+=f*F,B+=i*O,B+=s*k,B+=o*(5*K),B+=c*(5*X),L=B>>>13,B&=8191,B+=d*(5*V),B+=l*(5*Q),B+=h*(5*j),B+=y*(5*W),B+=v*(5*z),L+=B>>>13,B&=8191;var M=L;M+=f*z,M+=i*F,M+=s*O,M+=o*k,M+=c*(5*K),L=M>>>13,M&=8191,M+=d*(5*X),M+=l*(5*V),M+=h*(5*Q),M+=y*(5*j),M+=v*(5*W),L+=M>>>13,M&=8191;var S=L;S+=f*W,S+=i*z,S+=s*F,S+=o*O,S+=c*k,L=S>>>13,S&=8191,S+=d*(5*K),S+=l*(5*X),S+=h*(5*V),S+=y*(5*Q),S+=v*(5*j),L+=S>>>13,S&=8191;var q=L;q+=f*j,q+=i*W,q+=s*z,q+=o*F,q+=c*O,L=q>>>13,q&=8191,q+=d*k,q+=l*(5*K),q+=h*(5*X),q+=y*(5*V),q+=v*(5*Q),L+=q>>>13,q&=8191;var ee=L;ee+=f*Q,ee+=i*j,ee+=s*W,ee+=o*z,ee+=c*F,L=ee>>>13,ee&=8191,ee+=d*O,ee+=l*k,ee+=h*(5*K),ee+=y*(5*X),ee+=v*(5*V),L+=ee>>>13,ee&=8191;var U=L;U+=f*V,U+=i*Q,U+=s*j,U+=o*W,U+=c*z,L=U>>>13,U&=8191,U+=d*F,U+=l*O,U+=h*k,U+=y*(5*K),U+=v*(5*X),L+=U>>>13,U&=8191;var J=L;J+=f*X,J+=i*V,J+=s*Q,J+=o*j,J+=c*W,L=J>>>13,J&=8191,J+=d*z,J+=l*F,J+=h*O,J+=y*k,J+=v*(5*K),L+=J>>>13,J&=8191;var Z=L;Z+=f*K,Z+=i*X,Z+=s*V,Z+=o*Q,Z+=c*j,L=Z>>>13,Z&=8191,Z+=d*W,Z+=l*z,Z+=h*F,Z+=y*O,Z+=v*k,L+=Z>>>13,Z&=8191,L=(L<<2)+L|0,L=L+x|0,x=L&8191,L=L>>>13,g+=L,f=x,i=g,s=B,o=M,c=S,d=q,l=ee,h=U,y=J,v=Z,n+=16,a-=16}this._h[0]=f,this._h[1]=i,this._h[2]=s,this._h[3]=o,this._h[4]=c,this._h[5]=d,this._h[6]=l,this._h[7]=h,this._h[8]=y,this._h[9]=v},t.prototype.finish=function(e,n){n===void 0&&(n=0);var a=new Uint16Array(10),r,f,i,s;if(this._leftover){for(s=this._leftover,this._buffer[s++]=1;s<16;s++)this._buffer[s]=0;this._fin=1,this._blocks(this._buffer,0,16)}for(r=this._h[1]>>>13,this._h[1]&=8191,s=2;s<10;s++)this._h[s]+=r,r=this._h[s]>>>13,this._h[s]&=8191;for(this._h[0]+=r*5,r=this._h[0]>>>13,this._h[0]&=8191,this._h[1]+=r,r=this._h[1]>>>13,this._h[1]&=8191,this._h[2]+=r,a[0]=this._h[0]+5,r=a[0]>>>13,a[0]&=8191,s=1;s<10;s++)a[s]=this._h[s]+r,r=a[s]>>>13,a[s]&=8191;for(a[9]-=8192,f=(r^1)-1,s=0;s<10;s++)a[s]&=f;for(f=~f,s=0;s<10;s++)this._h[s]=this._h[s]&f|a[s];for(this._h[0]=(this._h[0]|this._h[1]<<13)&65535,this._h[1]=(this._h[1]>>>3|this._h[2]<<10)&65535,this._h[2]=(this._h[2]>>>6|this._h[3]<<7)&65535,this._h[3]=(this._h[3]>>>9|this._h[4]<<4)&65535,this._h[4]=(this._h[4]>>>12|this._h[5]<<1|this._h[6]<<14)&65535,this._h[5]=(this._h[6]>>>2|this._h[7]<<11)&65535,this._h[6]=(this._h[7]>>>5|this._h[8]<<8)&65535,this._h[7]=(this._h[8]>>>8|this._h[9]<<5)&65535,i=this._h[0]+this._pad[0],this._h[0]=i&65535,s=1;s<8;s++)i=(this._h[s]+this._pad[s]|0)+(i>>>16)|0,this._h[s]=i&65535;return e[n+0]=this._h[0]>>>0,e[n+1]=this._h[0]>>>8,e[n+2]=this._h[1]>>>0,e[n+3]=this._h[1]>>>8,e[n+4]=this._h[2]>>>0,e[n+5]=this._h[2]>>>8,e[n+6]=this._h[3]>>>0,e[n+7]=this._h[3]>>>8,e[n+8]=this._h[4]>>>0,e[n+9]=this._h[4]>>>8,e[n+10]=this._h[5]>>>0,e[n+11]=this._h[5]>>>8,e[n+12]=this._h[6]>>>0,e[n+13]=this._h[6]>>>8,e[n+14]=this._h[7]>>>0,e[n+15]=this._h[7]>>>8,this._finished=!0,this},t.prototype.update=function(e){var n=0,a=e.length,r;if(this._leftover){r=16-this._leftover,r>a&&(r=a);for(var f=0;f=16&&(r=a-a%16,this._blocks(e,n,r),n+=r,a-=r),a){for(var f=0;f{"use strict";u();p();Object.defineProperty(D8,"__esModule",{value:!0});var Gz=OOe(),zrt=zOe(),RS=K5(),WOe=YT(),Wrt=qz();D8.KEY_LENGTH=32;D8.NONCE_LENGTH=12;D8.TAG_LENGTH=16;var qOe=new Uint8Array(16),qrt=function(){function t(e){if(this.nonceLength=D8.NONCE_LENGTH,this.tagLength=D8.TAG_LENGTH,e.length!==D8.KEY_LENGTH)throw new Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(e)}return t.prototype.seal=function(e,n,a,r){if(e.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");var f=new Uint8Array(16);f.set(e,f.length-e.length);var i=new Uint8Array(32);Gz.stream(this._key,f,i,4);var s=n.length+this.tagLength,o;if(r){if(r.length!==s)throw new Error("ChaCha20Poly1305: incorrect destination length");o=r}else o=new Uint8Array(s);return Gz.streamXOR(this._key,f,n,o,4),this._authenticate(o.subarray(o.length-this.tagLength,o.length),i,o.subarray(0,o.length-this.tagLength),a),RS.wipe(f),o},t.prototype.open=function(e,n,a,r){if(e.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");if(n.length0&&f.update(qOe.subarray(r.length%16))),f.update(a),a.length%16>0&&f.update(qOe.subarray(a.length%16));var i=new Uint8Array(8);r&&WOe.writeUint64LE(r.length,i),f.update(i),WOe.writeUint64LE(a.length,i),f.update(i);for(var s=f.digest(),o=0;o{"use strict";u();p();Object.defineProperty(use,"__esModule",{value:!0});function jrt(t){return typeof t.saveState<"u"&&typeof t.restoreState<"u"&&typeof t.cleanSavedState<"u"}use.isSerializableHash=jrt});var QOe=D(MS=>{"use strict";u();p();Object.defineProperty(MS,"__esModule",{value:!0});var Z2=GOe(),Grt=qz(),Krt=K5(),KOe=function(){function t(e,n){this._finished=!1,this._inner=new e,this._outer=new e,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var a=new Uint8Array(this.blockSize);n.length>this.blockSize?this._inner.update(n).finish(a).clean():a.set(n);for(var r=0;r{"use strict";u();p();Object.defineProperty(pse,"__esModule",{value:!0});var VOe=QOe(),YOe=K5(),Vrt=function(){function t(e,n,a,r){a===void 0&&(a=new Uint8Array(0)),this._counter=new Uint8Array(1),this._hash=e,this._info=r;var f=VOe.hmac(this._hash,a,n);this._hmac=new VOe.HMAC(e,f),this._buffer=new Uint8Array(this._hmac.digestLength),this._bufpos=this._buffer.length}return t.prototype._fillBuffer=function(){this._counter[0]++;var e=this._counter[0];if(e===0)throw new Error("hkdf: cannot expand more");this._hmac.reset(),e>1&&this._hmac.update(this._buffer),this._info&&this._hmac.update(this._info),this._hmac.update(this._counter),this._hmac.finish(this._buffer),this._bufpos=0},t.prototype.expand=function(e){for(var n=new Uint8Array(e),a=0;a{"use strict";u();p();Object.defineProperty(hb,"__esModule",{value:!0});var Qz=YT(),Kz=K5();hb.DIGEST_LENGTH=32;hb.BLOCK_SIZE=64;var JOe=function(){function t(){this.digestLength=hb.DIGEST_LENGTH,this.blockSize=hb.BLOCK_SIZE,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return t.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},t.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},t.prototype.clean=function(){Kz.wipe(this._buffer),Kz.wipe(this._temp),this.reset()},t.prototype.update=function(e,n){if(n===void 0&&(n=e.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var a=0;if(this._bytesHashed+=n,this._bufferLength>0){for(;this._bufferLength0;)this._buffer[this._bufferLength++]=e[a++],n--;this._bufferLength===this.blockSize&&(hse(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(n>=this.blockSize&&(a=hse(this._temp,this._state,e,a,n),n%=this.blockSize);n>0;)this._buffer[this._bufferLength++]=e[a++],n--;return this},t.prototype.finish=function(e){if(!this._finished){var n=this._bytesHashed,a=this._bufferLength,r=n/536870912|0,f=n<<3,i=n%64<56?64:128;this._buffer[a]=128;for(var s=a+1;s0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},t.prototype.restoreState=function(e){return this._state.set(e.state),this._bufferLength=e.bufferLength,e.buffer&&this._buffer.set(e.buffer),this._bytesHashed=e.bytesHashed,this._finished=!1,this},t.prototype.cleanSavedState=function(e){Kz.wipe(e.state),e.buffer&&Kz.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},t}();hb.SHA256=JOe;var Yrt=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function hse(t,e,n,a,r){for(;r>=64;){for(var f=e[0],i=e[1],s=e[2],o=e[3],c=e[4],d=e[5],l=e[6],h=e[7],y=0;y<16;y++){var v=a+y*4;t[y]=Qz.readUint32BE(n,v)}for(var y=16;y<64;y++){var k=t[y-2],O=(k>>>17|k<<15)^(k>>>19|k<<13)^k>>>10;k=t[y-15];var F=(k>>>7|k<<25)^(k>>>18|k<<14)^k>>>3;t[y]=(O+t[y-7]|0)+(F+t[y-16]|0)}for(var y=0;y<64;y++){var O=(((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&d^~c&l)|0)+(h+(Yrt[y]+t[y]|0)|0)|0,F=((f>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10))+(f&i^f&s^i&s)|0;h=l,l=d,d=c,c=o+O|0,o=s,s=i,i=f,f=O+F|0}e[0]+=f,e[1]+=i,e[2]+=s,e[3]+=o,e[4]+=c,e[5]+=d,e[6]+=l,e[7]+=h,a+=64,r-=64}return a}function $rt(t){var e=new JOe;e.update(t);var n=e.digest();return e.clean(),n}hb.hash=$rt});var nUe=D(Zf=>{"use strict";u();p();Object.defineProperty(Zf,"__esModule",{value:!0});Zf.sharedKey=Zf.generateKeyPair=Zf.generateKeyPairFromSeed=Zf.scalarMultBase=Zf.scalarMult=Zf.SHARED_KEY_LENGTH=Zf.SECRET_KEY_LENGTH=Zf.PUBLIC_KEY_LENGTH=void 0;var Jrt=vS(),Xrt=K5();Zf.PUBLIC_KEY_LENGTH=32;Zf.SECRET_KEY_LENGTH=32;Zf.SHARED_KEY_LENGTH=32;function eu(t){let e=new Float64Array(16);if(t)for(let n=0;n>16&1),n[i-1]&=65535;n[15]=a[15]-32767-(n[14]>>16&1);let f=n[15]>>16&1;n[14]&=65535,BS(a,n,1-f)}for(let r=0;r<16;r++)t[2*r]=a[r]&255,t[2*r+1]=a[r]>>8}function tft(t,e){for(let n=0;n<16;n++)t[n]=e[2*n]+(e[2*n+1]<<8);t[15]&=32767}function Vz(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]+n[a]}function Yz(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]-n[a]}function P8(t,e,n){let a,r,f=0,i=0,s=0,o=0,c=0,d=0,l=0,h=0,y=0,v=0,k=0,O=0,F=0,z=0,W=0,j=0,Q=0,V=0,X=0,K=0,G=0,R=0,T=0,N=0,w=0,m=0,A=0,P=0,L=0,x=0,g=0,B=n[0],M=n[1],S=n[2],q=n[3],ee=n[4],U=n[5],J=n[6],Z=n[7],ne=n[8],ue=n[9],Y=n[10],re=n[11],ie=n[12],ge=n[13],de=n[14],Ae=n[15];a=e[0],f+=a*B,i+=a*M,s+=a*S,o+=a*q,c+=a*ee,d+=a*U,l+=a*J,h+=a*Z,y+=a*ne,v+=a*ue,k+=a*Y,O+=a*re,F+=a*ie,z+=a*ge,W+=a*de,j+=a*Ae,a=e[1],i+=a*B,s+=a*M,o+=a*S,c+=a*q,d+=a*ee,l+=a*U,h+=a*J,y+=a*Z,v+=a*ne,k+=a*ue,O+=a*Y,F+=a*re,z+=a*ie,W+=a*ge,j+=a*de,Q+=a*Ae,a=e[2],s+=a*B,o+=a*M,c+=a*S,d+=a*q,l+=a*ee,h+=a*U,y+=a*J,v+=a*Z,k+=a*ne,O+=a*ue,F+=a*Y,z+=a*re,W+=a*ie,j+=a*ge,Q+=a*de,V+=a*Ae,a=e[3],o+=a*B,c+=a*M,d+=a*S,l+=a*q,h+=a*ee,y+=a*U,v+=a*J,k+=a*Z,O+=a*ne,F+=a*ue,z+=a*Y,W+=a*re,j+=a*ie,Q+=a*ge,V+=a*de,X+=a*Ae,a=e[4],c+=a*B,d+=a*M,l+=a*S,h+=a*q,y+=a*ee,v+=a*U,k+=a*J,O+=a*Z,F+=a*ne,z+=a*ue,W+=a*Y,j+=a*re,Q+=a*ie,V+=a*ge,X+=a*de,K+=a*Ae,a=e[5],d+=a*B,l+=a*M,h+=a*S,y+=a*q,v+=a*ee,k+=a*U,O+=a*J,F+=a*Z,z+=a*ne,W+=a*ue,j+=a*Y,Q+=a*re,V+=a*ie,X+=a*ge,K+=a*de,G+=a*Ae,a=e[6],l+=a*B,h+=a*M,y+=a*S,v+=a*q,k+=a*ee,O+=a*U,F+=a*J,z+=a*Z,W+=a*ne,j+=a*ue,Q+=a*Y,V+=a*re,X+=a*ie,K+=a*ge,G+=a*de,R+=a*Ae,a=e[7],h+=a*B,y+=a*M,v+=a*S,k+=a*q,O+=a*ee,F+=a*U,z+=a*J,W+=a*Z,j+=a*ne,Q+=a*ue,V+=a*Y,X+=a*re,K+=a*ie,G+=a*ge,R+=a*de,T+=a*Ae,a=e[8],y+=a*B,v+=a*M,k+=a*S,O+=a*q,F+=a*ee,z+=a*U,W+=a*J,j+=a*Z,Q+=a*ne,V+=a*ue,X+=a*Y,K+=a*re,G+=a*ie,R+=a*ge,T+=a*de,N+=a*Ae,a=e[9],v+=a*B,k+=a*M,O+=a*S,F+=a*q,z+=a*ee,W+=a*U,j+=a*J,Q+=a*Z,V+=a*ne,X+=a*ue,K+=a*Y,G+=a*re,R+=a*ie,T+=a*ge,N+=a*de,w+=a*Ae,a=e[10],k+=a*B,O+=a*M,F+=a*S,z+=a*q,W+=a*ee,j+=a*U,Q+=a*J,V+=a*Z,X+=a*ne,K+=a*ue,G+=a*Y,R+=a*re,T+=a*ie,N+=a*ge,w+=a*de,m+=a*Ae,a=e[11],O+=a*B,F+=a*M,z+=a*S,W+=a*q,j+=a*ee,Q+=a*U,V+=a*J,X+=a*Z,K+=a*ne,G+=a*ue,R+=a*Y,T+=a*re,N+=a*ie,w+=a*ge,m+=a*de,A+=a*Ae,a=e[12],F+=a*B,z+=a*M,W+=a*S,j+=a*q,Q+=a*ee,V+=a*U,X+=a*J,K+=a*Z,G+=a*ne,R+=a*ue,T+=a*Y,N+=a*re,w+=a*ie,m+=a*ge,A+=a*de,P+=a*Ae,a=e[13],z+=a*B,W+=a*M,j+=a*S,Q+=a*q,V+=a*ee,X+=a*U,K+=a*J,G+=a*Z,R+=a*ne,T+=a*ue,N+=a*Y,w+=a*re,m+=a*ie,A+=a*ge,P+=a*de,L+=a*Ae,a=e[14],W+=a*B,j+=a*M,Q+=a*S,V+=a*q,X+=a*ee,K+=a*U,G+=a*J,R+=a*Z,T+=a*ne,N+=a*ue,w+=a*Y,m+=a*re,A+=a*ie,P+=a*ge,L+=a*de,x+=a*Ae,a=e[15],j+=a*B,Q+=a*M,V+=a*S,X+=a*q,K+=a*ee,G+=a*U,R+=a*J,T+=a*Z,N+=a*ne,w+=a*ue,m+=a*Y,A+=a*re,P+=a*ie,L+=a*ge,x+=a*de,g+=a*Ae,f+=38*Q,i+=38*V,s+=38*X,o+=38*K,c+=38*G,d+=38*R,l+=38*T,h+=38*N,y+=38*w,v+=38*m,k+=38*A,O+=38*P,F+=38*L,z+=38*x,W+=38*g,r=1,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=v+r+65535,r=Math.floor(a/65536),v=a-r*65536,a=k+r+65535,r=Math.floor(a/65536),k=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=F+r+65535,r=Math.floor(a/65536),F=a-r*65536,a=z+r+65535,r=Math.floor(a/65536),z=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,a=j+r+65535,r=Math.floor(a/65536),j=a-r*65536,f+=r-1+37*(r-1),r=1,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=v+r+65535,r=Math.floor(a/65536),v=a-r*65536,a=k+r+65535,r=Math.floor(a/65536),k=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=F+r+65535,r=Math.floor(a/65536),F=a-r*65536,a=z+r+65535,r=Math.floor(a/65536),z=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,a=j+r+65535,r=Math.floor(a/65536),j=a-r*65536,f+=r-1+37*(r-1),t[0]=f,t[1]=i,t[2]=s,t[3]=o,t[4]=c,t[5]=d,t[6]=l,t[7]=h,t[8]=y,t[9]=v,t[10]=k,t[11]=O,t[12]=F,t[13]=z,t[14]=W,t[15]=j}function DS(t,e){P8(t,e,e)}function nft(t,e){let n=eu();for(let a=0;a<16;a++)n[a]=e[a];for(let a=253;a>=0;a--)DS(n,n),a!==2&&a!==4&&P8(n,n,e);for(let a=0;a<16;a++)t[a]=n[a]}function mse(t,e){let n=new Uint8Array(32),a=new Float64Array(80),r=eu(),f=eu(),i=eu(),s=eu(),o=eu(),c=eu();for(let y=0;y<31;y++)n[y]=t[y];n[31]=t[31]&127|64,n[0]&=248,tft(a,e);for(let y=0;y<16;y++)f[y]=a[y];r[0]=s[0]=1;for(let y=254;y>=0;--y){let v=n[y>>>3]>>>(y&7)&1;BS(r,f,v),BS(i,s,v),Vz(o,r,i),Yz(r,r,i),Vz(i,f,s),Yz(f,f,s),DS(s,o),DS(c,r),P8(r,i,r),P8(i,f,o),Vz(o,r,i),Yz(r,r,i),DS(f,r),Yz(i,s,c),P8(r,i,Zrt),Vz(r,r,s),P8(i,i,r),P8(r,s,c),P8(s,f,a),DS(f,o),BS(r,f,v),BS(i,s,v)}for(let y=0;y<16;y++)a[y+16]=r[y],a[y+32]=i[y],a[y+48]=f[y],a[y+64]=s[y];let d=a.subarray(32),l=a.subarray(16);nft(d,d),P8(l,l,d);let h=new Uint8Array(32);return eft(h,l),h}Zf.scalarMult=mse;function eUe(t){return mse(t,ZOe)}Zf.scalarMultBase=eUe;function tUe(t){if(t.length!==Zf.SECRET_KEY_LENGTH)throw new Error(`x25519: seed must be ${Zf.SECRET_KEY_LENGTH} bytes`);let e=new Uint8Array(t);return{publicKey:eUe(e),secretKey:e}}Zf.generateKeyPairFromSeed=tUe;function aft(t){let e=(0,Jrt.randomBytes)(32,t),n=tUe(e);return(0,Xrt.wipe)(e),n}Zf.generateKeyPair=aft;function rft(t,e,n=!1){if(t.length!==Zf.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect secret key length");if(e.length!==Zf.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect public key length");let a=mse(t,e);if(n){let r=0;for(let f=0;f{u();p();aUe={waku:{publish:"waku_publish",batchPublish:"waku_batchPublish",subscribe:"waku_subscribe",batchSubscribe:"waku_batchSubscribe",subscription:"waku_subscription",unsubscribe:"waku_unsubscribe",batchUnsubscribe:"waku_batchUnsubscribe",batchFetchMessages:"waku_batchFetchMessages"},irn:{publish:"irn_publish",batchPublish:"irn_batchPublish",subscribe:"irn_subscribe",batchSubscribe:"irn_batchSubscribe",subscription:"irn_subscription",unsubscribe:"irn_unsubscribe",batchUnsubscribe:"irn_batchUnsubscribe",batchFetchMessages:"irn_batchFetchMessages"},iridium:{publish:"iridium_publish",batchPublish:"iridium_batchPublish",subscribe:"iridium_subscribe",batchSubscribe:"iridium_batchSubscribe",subscription:"iridium_subscription",unsubscribe:"iridium_unsubscribe",batchUnsubscribe:"iridium_batchUnsubscribe",batchFetchMessages:"iridium_batchFetchMessages"}}});var fUe,iUe,sUe,oUe,$z,PS,yse,Jz,bb,LS,Xz=ce(()=>{u();p();fUe="PARSE_ERROR",iUe="INVALID_REQUEST",sUe="METHOD_NOT_FOUND",oUe="INVALID_PARAMS",$z="INTERNAL_ERROR",PS="SERVER_ERROR",yse=[-32700,-32600,-32601,-32602,-32603],Jz=[-32e3,-32099],bb={[fUe]:{code:-32700,message:"Parse error"},[iUe]:{code:-32600,message:"Invalid Request"},[sUe]:{code:-32601,message:"Method not found"},[oUe]:{code:-32602,message:"Invalid params"},[$z]:{code:-32603,message:"Internal error"},[PS]:{code:-32e3,message:"Server error"}},LS=PS});function fft(t){return t<=Jz[0]&&t>=Jz[1]}function Zz(t){return yse.includes(t)}function cUe(t){return typeof t=="number"}function eW(t){return Object.keys(bb).includes(t)?bb[t]:bb[LS]}function tW(t){let e=Object.values(bb).find(n=>n.code===t);return e||bb[LS]}function ift(t){if(typeof t.error.code>"u")return{valid:!1,error:"Missing code for JSON-RPC error"};if(typeof t.error.message>"u")return{valid:!1,error:"Missing message for JSON-RPC error"};if(!cUe(t.error.code))return{valid:!1,error:`Invalid error code type for JSON-RPC: ${t.error.code}`};if(Zz(t.error.code)){let e=tW(t.error.code);if(e.message!==bb[LS].message&&t.error.message===e.message)return{valid:!1,error:`Invalid error code message for JSON-RPC: ${t.error.code}`}}return{valid:!0}}function FS(t,e,n){return t.message.includes("getaddrinfo ENOTFOUND")||t.message.includes("connect ECONNREFUSED")?new Error(`Unavailable ${n} RPC url at ${e}`):t}var gse=ce(()=>{u();p();Xz()});var lUe=D(mb=>{"use strict";u();p();Object.defineProperty(mb,"__esModule",{value:!0});mb.isBrowserCryptoAvailable=mb.getSubtleCrypto=mb.getBrowerCrypto=void 0;function vse(){return(global===null||global===void 0?void 0:global.crypto)||(global===null||global===void 0?void 0:global.msCrypto)||{}}mb.getBrowerCrypto=vse;function dUe(){let t=vse();return t.subtle||t.webkitSubtle}mb.getSubtleCrypto=dUe;function sft(){return!!vse()&&!!dUe()}mb.isBrowserCryptoAvailable=sft});var hUe=D(yb=>{"use strict";u();p();Object.defineProperty(yb,"__esModule",{value:!0});yb.isBrowser=yb.isNode=yb.isReactNative=void 0;function uUe(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}yb.isReactNative=uUe;function pUe(){return typeof E<"u"&&typeof E.versions<"u"&&typeof E.versions.node<"u"}yb.isNode=pUe;function oft(){return!uUe()&&!pUe()}yb.isBrowser=oft});var wse=D(nW=>{"use strict";u();p();Object.defineProperty(nW,"__esModule",{value:!0});var bUe=(Y2(),vn(V2));bUe.__exportStar(lUe(),nW);bUe.__exportStar(hUe(),nW)});var Bi={};V0(Bi,{isNodeJs:()=>yUe});var mUe,yUe,gUe=ce(()=>{u();p();mUe=Ee(wse());Vi(Bi,Ee(wse()));yUe=mUe.isNode});function tu(t=3){let e=Date.now()*Math.pow(10,t),n=Math.floor(Math.random()*Math.pow(10,t));return e+n}function gl(t=6){return BigInt(tu(t))}function nu(t,e,n){return{id:n||tu(),jsonrpc:"2.0",method:t,params:e}}function L8(t,e){return{id:t,jsonrpc:"2.0",result:e}}function F8(t,e,n){return{id:t,jsonrpc:"2.0",error:vUe(e,n)}}function vUe(t,e){return typeof t>"u"?eW($z):(typeof t=="string"&&(t=Object.assign(Object.assign({},eW(PS)),{message:t})),typeof e<"u"&&(t.data=e),Zz(t.code)&&(t=tW(t.code)),t)}var wUe=ce(()=>{u();p();gse();Xz()});function cft(t){return t.includes("*")?rW(t):!/\W/g.test(t)}function aW(t){return t==="*"}function rW(t){return aW(t)?!0:!(!t.includes("*")||t.split("*").length!==2||t.split("*").filter(e=>e.trim()==="").length!==1)}function dft(t){return!aW(t)&&rW(t)&&!t.split("*")[0].trim()}function lft(t){return!aW(t)&&rW(t)&&!t.split("*")[1].trim()}var TUe=ce(()=>{u();p()});var NS,Tse,fW,OS,xUe=ce(()=>{u();p();NS=class{},Tse=class extends NS{constructor(e){super()}},fW=class extends NS{constructor(){super()}},OS=class extends fW{constructor(e){super()}}});var EUe=ce(()=>{u();p();xUe()});function hft(t){let e=t.match(new RegExp(/^\w+:/,"gi"));if(!(!e||!e.length))return e[0]}function _Ue(t,e){let n=hft(t);return typeof n>"u"?!1:new RegExp(e).test(n)}function iW(t){return _Ue(t,uft)}function sW(t){return _Ue(t,pft)}function xse(t){return new RegExp("wss?://localhost(:d{2,5})?").test(t)}var uft,pft,AUe=ce(()=>{u();p();uft="^https?:",pft="^wss?:"});function Ese(t){return typeof t=="object"&&"id"in t&&"jsonrpc"in t&&t.jsonrpc==="2.0"}function sx(t){return Ese(t)&&"method"in t}function gb(t){return Ese(t)&&(A6(t)||e1(t))}function A6(t){return"result"in t}function e1(t){return"error"in t}function bft(t){return"error"in t&&t.valid===!1}var CUe=ce(()=>{u();p()});var W1={};V0(W1,{DEFAULT_ERROR:()=>LS,IBaseJsonRpcProvider:()=>fW,IEvents:()=>NS,IJsonRpcConnection:()=>Tse,IJsonRpcProvider:()=>OS,INTERNAL_ERROR:()=>$z,INVALID_PARAMS:()=>oUe,INVALID_REQUEST:()=>iUe,METHOD_NOT_FOUND:()=>sUe,PARSE_ERROR:()=>fUe,RESERVED_ERROR_CODES:()=>yse,SERVER_ERROR:()=>PS,SERVER_ERROR_CODE_RANGE:()=>Jz,STANDARD_ERROR_MAP:()=>bb,formatErrorMessage:()=>vUe,formatJsonRpcError:()=>F8,formatJsonRpcRequest:()=>nu,formatJsonRpcResult:()=>L8,getBigIntRpcId:()=>gl,getError:()=>eW,getErrorByCode:()=>tW,isHttpUrl:()=>iW,isJsonRpcError:()=>e1,isJsonRpcPayload:()=>Ese,isJsonRpcRequest:()=>sx,isJsonRpcResponse:()=>gb,isJsonRpcResult:()=>A6,isJsonRpcValidationInvalid:()=>bft,isLocalhostUrl:()=>xse,isNodeJs:()=>yUe,isReservedErrorCode:()=>Zz,isServerErrorCode:()=>fft,isValidDefaultRoute:()=>aW,isValidErrorCode:()=>cUe,isValidLeadingWildcardRoute:()=>dft,isValidRoute:()=>cft,isValidTrailingWildcardRoute:()=>lft,isValidWildcardRoute:()=>rW,isWsUrl:()=>sW,parseConnectionError:()=>FS,payloadId:()=>tu,validateJsonRpcError:()=>ift});var vb=ce(()=>{u();p();Xz();gse();gUe();Vi(W1,Bi);wUe();TUe();EUe();AUe();CUe()});var kUe=D((Qra,IUe)=>{"use strict";u();p();IUe.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}});var MUe,mft,yft,SUe,RUe,gft,oW,BUe=ce(()=>{u();p();MUe=Ee(Nr());E7();vb();mft=()=>typeof WebSocket<"u"?WebSocket:typeof global<"u"&&typeof global.WebSocket<"u"?global.WebSocket:typeof window<"u"&&typeof window.WebSocket<"u"?window.WebSocket:typeof self<"u"&&typeof self.WebSocket<"u"?self.WebSocket:kUe(),yft=()=>typeof WebSocket<"u"||typeof global<"u"&&typeof global.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u",SUe=t=>t.split("?")[0],RUe=10,gft=mft(),oW=class{constructor(e){if(this.url=e,this.events=new MUe.EventEmitter,this.registering=!1,!sW(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);this.url=e}get connected(){return typeof this.socket<"u"}get connecting(){return this.registering}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async open(e=this.url){await this.register(e)}async close(){return new Promise((e,n)=>{if(typeof this.socket>"u"){n(new Error("Connection already closed"));return}this.socket.onclose=a=>{this.onClose(a),e()},this.socket.close()})}async send(e){typeof this.socket>"u"&&(this.socket=await this.register());try{this.socket.send(z1(e))}catch(n){this.onError(e.id,n)}}register(e=this.url){if(!sW(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);if(this.registering){let n=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=n||this.events.listenerCount("open")>=n)&&this.events.setMaxListeners(n+1),new Promise((a,r)=>{this.events.once("register_error",f=>{this.resetMaxListeners(),r(f)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.socket>"u")return r(new Error("WebSocket connection is missing or invalid"));a(this.socket)})})}return this.url=e,this.registering=!0,new Promise((n,a)=>{let r=new URLSearchParams(e).get("origin"),f=(0,W1.isReactNative)()?{headers:{origin:r}}:{rejectUnauthorized:!xse(e)},i=new gft(e,[],f);yft()?i.onerror=s=>{let o=s;a(this.emitError(o.error))}:i.on("error",s=>{a(this.emitError(s))}),i.onopen=()=>{this.onOpen(i),n(i)}})}onOpen(e){e.onmessage=n=>this.onPayload(n),e.onclose=n=>this.onClose(n),this.socket=e,this.registering=!1,this.events.emit("open")}onClose(e){this.socket=void 0,this.registering=!1,this.events.emit("close",e)}onPayload(e){if(typeof e.data>"u")return;let n=typeof e.data=="string"?Q2(e.data):e.data;this.events.emit("payload",n)}onError(e,n){let a=this.parseError(n),r=a.message||a.toString(),f=F8(e,r);this.events.emit("payload",f)}parseError(e,n=this.url){return FS(e,SUe(n),"WS")}resetMaxListeners(){this.events.getMaxListeners()>RUe&&this.events.setMaxListeners(RUe)}emitError(e){let n=this.parseError(new Error(e?.message||`WebSocket connection failed for host: ${SUe(this.url)}`));return this.events.emit("register_error",n),n}}});var pHe=D((US,cx)=>{u();p();var vft=200,Pse="__lodash_hash_undefined__",mW=1,jUe=2,GUe=9007199254740991,cW="[object Arguments]",Ise="[object Array]",wft="[object AsyncFunction]",KUe="[object Boolean]",QUe="[object Date]",VUe="[object Error]",YUe="[object Function]",Tft="[object GeneratorFunction]",dW="[object Map]",$Ue="[object Number]",xft="[object Null]",ox="[object Object]",DUe="[object Promise]",Eft="[object Proxy]",JUe="[object RegExp]",lW="[object Set]",XUe="[object String]",_ft="[object Symbol]",Aft="[object Undefined]",kse="[object WeakMap]",ZUe="[object ArrayBuffer]",uW="[object DataView]",Cft="[object Float32Array]",Ift="[object Float64Array]",kft="[object Int8Array]",Sft="[object Int16Array]",Rft="[object Int32Array]",Mft="[object Uint8Array]",Bft="[object Uint8ClampedArray]",Dft="[object Uint16Array]",Pft="[object Uint32Array]",Lft=/[\\^$.*+?()[\]{}|]/g,Fft=/^\[object .+?Constructor\]$/,Nft=/^(?:0|[1-9]\d*)$/,tf={};tf[Cft]=tf[Ift]=tf[kft]=tf[Sft]=tf[Rft]=tf[Mft]=tf[Bft]=tf[Dft]=tf[Pft]=!0;tf[cW]=tf[Ise]=tf[ZUe]=tf[KUe]=tf[uW]=tf[QUe]=tf[VUe]=tf[YUe]=tf[dW]=tf[$Ue]=tf[ox]=tf[JUe]=tf[lW]=tf[XUe]=tf[kse]=!1;var eHe=typeof global=="object"&&global&&global.Object===Object&&global,Oft=typeof self=="object"&&self&&self.Object===Object&&self,N8=eHe||Oft||Function("return this")(),tHe=typeof US=="object"&&US&&!US.nodeType&&US,PUe=tHe&&typeof cx=="object"&&cx&&!cx.nodeType&&cx,nHe=PUe&&PUe.exports===tHe,_se=nHe&&eHe.process,LUe=function(){try{return _se&&_se.binding&&_se.binding("util")}catch{}}(),FUe=LUe&&LUe.isTypedArray;function Uft(t,e){for(var n=-1,a=t==null?0:t.length,r=0,f=[];++n-1}function bit(t,e){var n=this.__data__,a=gW(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this}O8.prototype.clear=lit;O8.prototype.delete=uit;O8.prototype.get=pit;O8.prototype.has=hit;O8.prototype.set=bit;function U7(t){var e=-1,n=t==null?0:t.length;for(this.clear();++es))return!1;var c=f.get(t);if(c&&f.get(e))return c==e;var d=-1,l=!0,h=n&jUe?new hW:void 0;for(f.set(t,e),f.set(e,t);++d-1&&t%1==0&&t-1&&t%1==0&&t<=GUe}function lHe(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function WS(t){return t!=null&&typeof t=="object"}var uHe=FUe?qft(FUe):Bit;function Kit(t){return jit(t)?kit(t):Dit(t)}function Qit(){return[]}function Vit(){return!1}cx.exports=Git});var Lse=D((afa,hHe)=>{u();p();hHe.exports=function(t,e){return e=e||{},new Promise(function(n,a){var r=new XMLHttpRequest,f=[],i=[],s={},o=function(){return{ok:(r.status/100|0)==2,statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){return Promise.resolve(r.responseText)},json:function(){return Promise.resolve(r.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([r.response]))},clone:o,headers:{keys:function(){return f},entries:function(){return i},get:function(d){return s[d.toLowerCase()]},has:function(d){return d.toLowerCase()in s}}}};for(var c in r.open(e.method||"get",t,!0),r.onload=function(){r.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(d,l,h){f.push(l=l.toLowerCase()),i.push([l,h]),s[l]=s[l]?s[l]+","+h:h}),n(o())},r.onerror=a,r.withCredentials=e.credentials=="include",e.headers)r.setRequestHeader(c,e.headers[c]);r.send(e.body||null)})}});var mHe=D((ifa,bHe)=>{u();p();bHe.exports=self.fetch||(self.fetch=Lse().default||Lse())});var Nse=D((cfa,Fse)=>{"use strict";u();p();var Yit=Object.prototype.hasOwnProperty,q1="~";function jS(){}Object.create&&(jS.prototype=Object.create(null),new jS().__proto__||(q1=!1));function $it(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function yHe(t,e,n,a,r){if(typeof n!="function")throw new TypeError("The listener must be a function");var f=new $it(n,a||t,r),i=q1?q1+e:e;return t._events[i]?t._events[i].fn?t._events[i]=[t._events[i],f]:t._events[i].push(f):(t._events[i]=f,t._eventsCount++),t}function wW(t,e){--t._eventsCount===0?t._events=new jS:delete t._events[e]}function t1(){this._events=new jS,this._eventsCount=0}t1.prototype.eventNames=function(){var e=[],n,a;if(this._eventsCount===0)return e;for(a in n=this._events)Yit.call(n,a)&&e.push(q1?a.slice(1):a);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(n)):e};t1.prototype.listeners=function(e){var n=q1?q1+e:e,a=this._events[n];if(!a)return[];if(a.fn)return[a.fn];for(var r=0,f=a.length,i=new Array(f);r{u();p();gHe=Ee(Nse(),1),C6=gHe.default});function vl(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"http",a=[];if(t.rpc.forEach(r=>{if(!(n==="http"&&!r.startsWith("http"))&&!(n==="ws"&&!r.startsWith("ws")))if(r.includes("${THIRDWEB_API_KEY}"))e?a.push(r.replace("${THIRDWEB_API_KEY}",e)+(typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis&&globalThis.APP_BUNDLE_ID?`/?bundleId=${globalThis.APP_BUNDLE_ID}`:"")):a.push(r.replace("${THIRDWEB_API_KEY}",""));else{if(r.includes("${"))return;a.push(r)}}),a.length===0)throw new Error(`No RPC available for chainId "${t.chainId}" with mode ${n}`);return a}function U8(t,e){try{return{...t,rpc:vl(t,e)}}catch{return t}}function SHe(){return GS||(GS={},GPt.forEach(t=>{GS[t.chainId]=t}),GS)}function KPt(t){let e=SHe();return t in e}function RHe(t){if(KPt(t))return SHe()[t];throw new Error(`Chain with chainId "${t}" not found`)}var I6,Jit,Xit,Zit,est,tst,nst,ast,rst,TW,fst,ist,sst,ost,cst,dst,lst,ust,pst,hst,bst,mst,yst,gst,vst,wst,Tst,xst,Est,_st,Ast,Cst,Ist,kst,Sst,Rst,Mst,Bst,Dst,Pst,Lst,Fst,Nst,Ost,Ust,Hst,zst,Wst,qst,jst,Gst,Kst,Qst,Vst,Yst,vHe,$st,Jst,Xst,Zst,eot,tot,not,aot,rot,fot,iot,sot,oot,cot,dot,lot,uot,pot,hot,bot,mot,yot,got,vot,wot,Tot,xot,Eot,_ot,Aot,Cot,Iot,kot,Sot,Rot,Mot,Bot,Dot,Pot,Lot,wHe,Fot,Not,Oot,Uot,Hot,zot,Wot,qot,jot,Got,Kot,Qot,Vot,Yot,$ot,Jot,Xot,Zot,e1t,t1t,n1t,a1t,r1t,f1t,i1t,s1t,o1t,c1t,d1t,l1t,u1t,p1t,h1t,b1t,m1t,y1t,g1t,v1t,z7,w1t,T1t,x1t,E1t,_1t,A1t,C1t,Ose,I1t,k1t,S1t,R1t,M1t,B1t,D1t,P1t,L1t,F1t,N1t,O1t,U1t,H1t,z1t,W1t,q1t,j1t,G1t,K1t,Q1t,V1t,Y1t,$1t,J1t,X1t,Z1t,ect,tct,nct,act,rct,fct,ict,sct,oct,cct,dct,lct,uct,pct,hct,bct,mct,yct,gct,vct,wct,Tct,xct,Ect,_ct,Act,Cct,Ict,kct,Sct,Rct,Mct,Bct,Dct,Pct,Lct,Fct,THe,Nct,Oct,Uct,Hct,zct,Wct,qct,jct,Gct,Kct,Qct,Vct,Yct,$ct,Jct,Xct,Zct,e6t,t6t,n6t,a6t,r6t,f6t,i6t,s6t,o6t,c6t,d6t,l6t,u6t,p6t,h6t,b6t,m6t,y6t,g6t,v6t,w6t,T6t,x6t,E6t,_6t,A6t,C6t,I6t,k6t,S6t,R6t,M6t,B6t,D6t,P6t,L6t,F6t,N6t,O6t,U6t,H6t,z6t,W6t,q6t,j6t,G6t,K6t,Q6t,V6t,Y6t,$6t,J6t,X6t,Z6t,e5t,t5t,n5t,a5t,r5t,f5t,i5t,s5t,o5t,c5t,d5t,l5t,u5t,p5t,h5t,b5t,m5t,y5t,g5t,v5t,w5t,T5t,x5t,E5t,_5t,A5t,C5t,I5t,k5t,S5t,R5t,M5t,B5t,D5t,P5t,L5t,F5t,N5t,O5t,U5t,H5t,z5t,W5t,q5t,j5t,G5t,K5t,Q5t,V5t,Y5t,$5t,J5t,X5t,Z5t,edt,tdt,ndt,adt,rdt,fdt,idt,sdt,odt,cdt,ddt,ldt,udt,pdt,hdt,bdt,mdt,ydt,gdt,vdt,wdt,Tdt,xdt,Edt,_dt,Adt,Cdt,Idt,kdt,Sdt,Rdt,Mdt,Bdt,Ddt,Pdt,Ldt,Fdt,Ndt,Odt,Udt,Hdt,zdt,Wdt,qdt,jdt,Gdt,Kdt,Qdt,Vdt,Ydt,$dt,Jdt,Xdt,Zdt,elt,tlt,nlt,alt,rlt,flt,ilt,slt,olt,clt,dlt,llt,ult,plt,hlt,blt,mlt,ylt,glt,vlt,wlt,Tlt,xlt,Elt,_lt,Alt,Clt,Ilt,klt,Slt,Rlt,Mlt,Blt,Dlt,Plt,Llt,Flt,Nlt,Olt,Ult,Hlt,zlt,Wlt,qlt,jlt,Glt,Klt,Qlt,Vlt,Ylt,$lt,Jlt,Xlt,Zlt,e2t,t2t,Use,n2t,a2t,r2t,f2t,i2t,s2t,o2t,c2t,d2t,l2t,u2t,p2t,h2t,b2t,m2t,y2t,g2t,v2t,w2t,T2t,x2t,E2t,_2t,A2t,C2t,I2t,k2t,S2t,R2t,M2t,B2t,D2t,P2t,L2t,F2t,N2t,xHe,O2t,U2t,H2t,z2t,W2t,q2t,j2t,G2t,K2t,Q2t,V2t,Y2t,$2t,J2t,X2t,Z2t,eut,tut,nut,aut,rut,fut,iut,sut,out,cut,dut,lut,uut,put,hut,but,mut,yut,gut,vut,wut,Tut,xut,Eut,_ut,Aut,Cut,Iut,kut,Sut,Rut,Mut,But,Dut,Put,Lut,Fut,Nut,Out,Uut,Hut,zut,Wut,qut,jut,Gut,Kut,Qut,Vut,Yut,$ut,Jut,Xut,Zut,ept,tpt,npt,apt,rpt,fpt,ipt,spt,opt,cpt,dpt,lpt,upt,ppt,hpt,bpt,mpt,ypt,gpt,vpt,wpt,Tpt,xpt,Ept,_pt,Apt,Cpt,Ipt,kpt,Spt,Rpt,Mpt,Bpt,Dpt,Ppt,Lpt,Fpt,Npt,Opt,Upt,Hpt,zpt,Wpt,qpt,jpt,Gpt,Kpt,Qpt,Vpt,Ypt,$pt,Jpt,Xpt,Zpt,e8t,t8t,n8t,a8t,r8t,f8t,i8t,s8t,o8t,c8t,d8t,l8t,u8t,p8t,h8t,b8t,m8t,y8t,g8t,v8t,w8t,T8t,x8t,E8t,_8t,A8t,C8t,I8t,k8t,S8t,R8t,M8t,B8t,D8t,P8t,L8t,F8t,N8t,O8t,U8t,H8t,z8t,W8t,q8t,j8t,G8t,K8t,Q8t,V8t,Y8t,$8t,J8t,X8t,Z8t,eht,tht,nht,aht,rht,fht,iht,sht,oht,cht,dht,lht,uht,pht,hht,bht,mht,yht,ght,vht,wht,Tht,xht,Eht,_ht,Aht,Cht,Iht,kht,Sht,Rht,Mht,Bht,Dht,Pht,Lht,Fht,Nht,Oht,Uht,Hht,zht,Wht,qht,jht,Ght,Kht,Qht,Vht,Yht,$ht,Jht,Xht,Zht,e3t,t3t,n3t,a3t,r3t,f3t,i3t,s3t,o3t,c3t,d3t,l3t,u3t,p3t,h3t,b3t,m3t,y3t,g3t,v3t,w3t,T3t,EHe,x3t,E3t,_3t,A3t,C3t,I3t,k3t,S3t,R3t,M3t,B3t,D3t,P3t,L3t,F3t,N3t,O3t,U3t,H3t,z3t,W3t,q3t,j3t,G3t,K3t,Q3t,V3t,Y3t,$3t,J3t,X3t,Z3t,ebt,tbt,nbt,abt,rbt,fbt,ibt,sbt,obt,cbt,dbt,lbt,ubt,pbt,hbt,bbt,mbt,ybt,gbt,vbt,wbt,Tbt,xbt,Ebt,_bt,Abt,Cbt,Ibt,kbt,Sbt,Rbt,Mbt,Bbt,Dbt,Pbt,Lbt,Fbt,Nbt,Obt,Ubt,Hbt,zbt,Wbt,qbt,jbt,Gbt,Kbt,Qbt,Vbt,Ybt,$bt,Jbt,Xbt,Zbt,emt,tmt,nmt,amt,rmt,fmt,imt,smt,omt,cmt,dmt,lmt,umt,pmt,hmt,bmt,mmt,ymt,gmt,vmt,wmt,Tmt,xmt,Emt,_mt,Amt,Cmt,Imt,kmt,Smt,Rmt,Mmt,Bmt,Dmt,Pmt,Lmt,Fmt,Nmt,Omt,Umt,Hmt,zmt,Wmt,qmt,jmt,Gmt,Kmt,Qmt,Vmt,Ymt,$mt,Jmt,Xmt,Zmt,e4t,t4t,n4t,a4t,r4t,f4t,i4t,s4t,o4t,c4t,d4t,l4t,u4t,p4t,h4t,b4t,m4t,y4t,g4t,v4t,w4t,T4t,x4t,E4t,_4t,A4t,C4t,I4t,k4t,S4t,R4t,M4t,B4t,D4t,P4t,L4t,F4t,N4t,O4t,U4t,H4t,z4t,W4t,q4t,xW,j4t,G4t,K4t,Q4t,V4t,Y4t,$4t,J4t,X4t,Z4t,eyt,tyt,nyt,ayt,ryt,fyt,iyt,syt,oyt,cyt,dyt,lyt,uyt,pyt,hyt,byt,myt,yyt,gyt,vyt,wyt,Tyt,xyt,Eyt,_yt,Ayt,Cyt,Iyt,kyt,Syt,Ryt,Myt,Byt,Dyt,Pyt,Lyt,Fyt,Nyt,Oyt,Uyt,Hyt,zyt,Wyt,qyt,jyt,Gyt,Kyt,Qyt,Vyt,Yyt,$yt,Jyt,Xyt,Zyt,e7t,t7t,n7t,a7t,r7t,f7t,i7t,s7t,o7t,c7t,d7t,l7t,u7t,p7t,h7t,b7t,m7t,y7t,g7t,v7t,w7t,T7t,x7t,E7t,_7t,A7t,C7t,I7t,k7t,S7t,R7t,M7t,B7t,D7t,P7t,L7t,F7t,N7t,O7t,U7t,H7t,z7t,W7t,q7t,j7t,G7t,K7t,Q7t,V7t,Y7t,$7t,J7t,X7t,Z7t,e9t,t9t,n9t,a9t,r9t,f9t,i9t,s9t,o9t,c9t,d9t,l9t,u9t,p9t,h9t,b9t,m9t,y9t,g9t,v9t,w9t,T9t,x9t,E9t,_9t,A9t,C9t,I9t,k9t,S9t,R9t,M9t,B9t,D9t,P9t,L9t,F9t,N9t,O9t,U9t,H9t,z9t,W9t,q9t,j9t,G9t,K9t,Q9t,V9t,Y9t,$9t,J9t,X9t,Z9t,egt,tgt,ngt,agt,rgt,fgt,igt,sgt,ogt,cgt,dgt,lgt,ugt,pgt,hgt,bgt,mgt,ygt,ggt,vgt,wgt,Tgt,xgt,Egt,_gt,Agt,Cgt,Igt,kgt,Sgt,Rgt,Mgt,Bgt,Dgt,Pgt,Lgt,Fgt,Ngt,Ogt,Ugt,Hgt,zgt,Wgt,qgt,jgt,Ggt,Kgt,Qgt,Vgt,Ygt,$gt,Jgt,Xgt,Zgt,evt,tvt,nvt,avt,rvt,fvt,ivt,svt,ovt,cvt,dvt,lvt,uvt,pvt,hvt,bvt,mvt,yvt,gvt,vvt,wvt,Tvt,xvt,Evt,_vt,Avt,Cvt,Ivt,kvt,Svt,Rvt,Mvt,Bvt,Dvt,Pvt,Lvt,Fvt,Nvt,Ovt,Uvt,Hvt,zvt,Wvt,qvt,jvt,Gvt,Kvt,Qvt,Vvt,Yvt,$vt,Jvt,Xvt,Zvt,ewt,twt,nwt,awt,rwt,fwt,iwt,swt,owt,cwt,dwt,lwt,uwt,pwt,hwt,bwt,mwt,ywt,gwt,vwt,wwt,Twt,xwt,Ewt,_wt,Awt,Cwt,Iwt,kwt,Swt,Rwt,Mwt,Bwt,Dwt,Pwt,Lwt,Fwt,Nwt,Owt,Uwt,Hwt,zwt,Wwt,qwt,jwt,Gwt,Kwt,Qwt,Vwt,Ywt,$wt,Jwt,Xwt,Zwt,eTt,tTt,nTt,aTt,rTt,fTt,iTt,sTt,oTt,cTt,dTt,lTt,uTt,pTt,hTt,bTt,mTt,yTt,gTt,vTt,wTt,TTt,xTt,ETt,_He,_Tt,KS,ATt,CTt,ITt,kTt,STt,RTt,MTt,BTt,DTt,PTt,LTt,AHe,CHe,FTt,NTt,OTt,UTt,HTt,zTt,WTt,QS,qTt,jTt,GTt,KTt,QTt,VTt,YTt,$Tt,JTt,XTt,ZTt,ext,txt,nxt,axt,rxt,fxt,ixt,sxt,oxt,cxt,dxt,lxt,uxt,pxt,hxt,bxt,mxt,yxt,gxt,vxt,wxt,Txt,xxt,Ext,_xt,Axt,Cxt,Ixt,kxt,Sxt,Rxt,Mxt,Bxt,Dxt,Pxt,Lxt,Fxt,Nxt,Oxt,Uxt,Hxt,zxt,Wxt,qxt,jxt,Gxt,Kxt,Qxt,Vxt,Yxt,$xt,Jxt,Xxt,Zxt,eEt,tEt,nEt,aEt,rEt,fEt,iEt,sEt,oEt,cEt,dEt,lEt,uEt,pEt,hEt,bEt,mEt,yEt,gEt,vEt,wEt,TEt,xEt,EEt,_Et,AEt,CEt,IEt,kEt,SEt,REt,MEt,BEt,DEt,PEt,LEt,FEt,NEt,OEt,UEt,HEt,zEt,WEt,qEt,jEt,GEt,Hse,KEt,QEt,VEt,YEt,$Et,JEt,XEt,ZEt,e_t,t_t,n_t,a_t,r_t,f_t,i_t,s_t,o_t,c_t,d_t,l_t,u_t,p_t,h_t,b_t,m_t,y_t,g_t,v_t,w_t,T_t,x_t,E_t,__t,A_t,C_t,I_t,k_t,S_t,R_t,M_t,B_t,D_t,P_t,L_t,F_t,N_t,O_t,U_t,H_t,z_t,W_t,q_t,j_t,G_t,K_t,Q_t,V_t,Y_t,$_t,J_t,X_t,Z_t,eAt,tAt,nAt,aAt,rAt,fAt,iAt,sAt,oAt,cAt,dAt,lAt,uAt,pAt,hAt,bAt,mAt,yAt,gAt,vAt,wAt,TAt,xAt,EAt,_At,AAt,CAt,IAt,kAt,SAt,RAt,MAt,BAt,DAt,PAt,LAt,FAt,EW,NAt,OAt,UAt,HAt,zAt,WAt,qAt,jAt,GAt,KAt,QAt,VAt,YAt,$At,JAt,XAt,ZAt,eCt,tCt,nCt,aCt,rCt,fCt,iCt,sCt,oCt,cCt,dCt,lCt,uCt,pCt,hCt,_W,bCt,mCt,yCt,gCt,vCt,wCt,TCt,xCt,ECt,_Ct,ACt,CCt,ICt,kCt,SCt,RCt,MCt,BCt,DCt,PCt,LCt,FCt,NCt,OCt,UCt,HCt,zCt,WCt,qCt,jCt,GCt,KCt,QCt,VCt,YCt,$Ct,JCt,XCt,ZCt,eIt,tIt,nIt,aIt,rIt,fIt,iIt,sIt,oIt,cIt,dIt,lIt,uIt,pIt,hIt,bIt,mIt,yIt,gIt,vIt,wIt,TIt,xIt,EIt,_It,AIt,CIt,IIt,kIt,SIt,RIt,MIt,BIt,DIt,PIt,LIt,FIt,NIt,OIt,UIt,HIt,zIt,WIt,qIt,jIt,GIt,KIt,QIt,VIt,YIt,$It,JIt,XIt,ZIt,ekt,tkt,nkt,akt,rkt,fkt,ikt,skt,okt,ckt,dkt,lkt,ukt,pkt,hkt,bkt,mkt,ykt,gkt,vkt,wkt,Tkt,xkt,Ekt,_kt,Akt,Ckt,Ikt,kkt,Skt,Rkt,Mkt,Bkt,Dkt,Pkt,Lkt,Fkt,Nkt,Okt,Ukt,Hkt,zkt,Wkt,qkt,jkt,Gkt,Kkt,Qkt,Vkt,Ykt,$kt,Jkt,Xkt,Zkt,eSt,tSt,nSt,aSt,rSt,fSt,iSt,sSt,oSt,cSt,dSt,lSt,uSt,pSt,hSt,bSt,mSt,ySt,gSt,vSt,wSt,TSt,xSt,ESt,_St,ASt,CSt,ISt,kSt,SSt,RSt,MSt,BSt,DSt,PSt,LSt,FSt,NSt,OSt,USt,HSt,zSt,WSt,qSt,jSt,GSt,KSt,QSt,VSt,YSt,$St,JSt,XSt,ZSt,eRt,tRt,nRt,aRt,rRt,fRt,iRt,sRt,oRt,cRt,dRt,lRt,IHe,uRt,pRt,hRt,bRt,mRt,yRt,gRt,vRt,wRt,TRt,xRt,ERt,_Rt,ARt,CRt,IRt,kRt,SRt,RRt,MRt,BRt,DRt,PRt,LRt,FRt,NRt,ORt,URt,HRt,zRt,WRt,qRt,jRt,GRt,KRt,QRt,VRt,YRt,$Rt,JRt,XRt,ZRt,eMt,tMt,nMt,aMt,rMt,fMt,iMt,sMt,oMt,cMt,dMt,lMt,uMt,pMt,hMt,bMt,mMt,yMt,gMt,vMt,wMt,TMt,xMt,EMt,_Mt,AMt,CMt,IMt,kMt,SMt,RMt,MMt,BMt,DMt,PMt,LMt,FMt,NMt,OMt,UMt,HMt,zMt,WMt,qMt,jMt,GMt,KMt,QMt,VMt,YMt,$Mt,JMt,XMt,ZMt,eBt,tBt,nBt,aBt,rBt,fBt,iBt,sBt,oBt,cBt,dBt,lBt,uBt,pBt,hBt,bBt,mBt,yBt,gBt,vBt,wBt,TBt,xBt,EBt,_Bt,ABt,CBt,IBt,kBt,SBt,RBt,MBt,BBt,DBt,PBt,LBt,zse,FBt,NBt,OBt,UBt,HBt,zBt,WBt,qBt,jBt,GBt,KBt,kHe,AW,QBt,VBt,YBt,$Bt,JBt,XBt,ZBt,eDt,tDt,nDt,aDt,rDt,fDt,iDt,sDt,oDt,cDt,dDt,lDt,uDt,pDt,hDt,bDt,mDt,yDt,gDt,vDt,wDt,TDt,xDt,EDt,_Dt,ADt,CDt,IDt,kDt,SDt,RDt,MDt,BDt,DDt,PDt,LDt,FDt,NDt,ODt,UDt,HDt,zDt,WDt,qDt,jDt,GDt,KDt,QDt,VDt,YDt,$Dt,JDt,Wse,XDt,ZDt,ePt,tPt,nPt,aPt,rPt,fPt,iPt,sPt,oPt,cPt,dPt,lPt,uPt,pPt,hPt,bPt,mPt,yPt,gPt,vPt,wPt,TPt,xPt,EPt,_Pt,APt,CPt,IPt,kPt,SPt,RPt,MPt,BPt,DPt,PPt,LPt,FPt,NPt,OPt,UPt,HPt,zPt,WPt,qPt,jPt,n1,GPt,GS,Nc=ce(()=>{"use strict";u();p();I6={chain:"ETH",chainId:1,ens:{registry:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},explorers:[{name:"etherscan",url:"https://etherscan.io",standard:"EIP3091"},{name:"blockscout",url:"https://eth.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://ethereum.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://ethereum.org",name:"Ethereum Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1,redFlags:[],rpc:["https://1.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.infura.io/v3/${INFURA_API_KEY}","wss://mainnet.infura.io/ws/v3/${INFURA_API_KEY}","https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}","https://api.mycryptoapi.com/eth","https://cloudflare-eth.com","https://ethereum-rpc.publicnode.com","wss://ethereum-rpc.publicnode.com","https://mainnet.gateway.tenderly.co","wss://mainnet.gateway.tenderly.co","https://rpc.blocknative.com/boost","https://rpc.flashbots.net","https://rpc.flashbots.net/fast","https://rpc.mevblocker.io","https://rpc.mevblocker.io/fast","https://rpc.mevblocker.io/noreverts","https://rpc.mevblocker.io/fullprivacy","https://eth.drpc.org","wss://eth.drpc.org"],shortName:"eth",slip44:60,slug:"ethereum",testnet:!1},Jit={chain:"EXP",chainId:2,explorers:[],faucets:[],infoURL:"https://expanse.tech",name:"Expanse Network",nativeCurrency:{name:"Expanse Network Ether",symbol:"EXP",decimals:18},networkId:1,rpc:["https://2.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.expanse.tech"],shortName:"exp",slip44:40,slug:"expanse-network",testnet:!1},Xit={chain:"ETH",chainId:3,ens:{registry:"0x112234455c3a32fd11230c42e7bccd4a84e02010"},explorers:[{name:"etherscan",url:"https://ropsten.etherscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=3&address=${ADDRESS}","https://faucet.ropsten.be?${ADDRESS}"],features:[],infoURL:"https://github.com/ethereum/ropsten",name:"Ropsten",nativeCurrency:{name:"Ropsten Ether",symbol:"ETH",decimals:18},networkId:3,redFlags:[],rpc:["https://3.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ropsten.infura.io/v3/${INFURA_API_KEY}","wss://ropsten.infura.io/ws/v3/${INFURA_API_KEY}"],shortName:"rop",slip44:1,slug:"ropsten",status:"deprecated",testnet:!1,title:"Ethereum Testnet Ropsten"},Zit={chain:"ETH",chainId:4,ens:{registry:"0xe7410170f87102df0055eb195163a03b7f2bff4a"},explorers:[{name:"etherscan-rinkeby",url:"https://rinkeby.etherscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=4&address=${ADDRESS}","https://faucet.rinkeby.io"],features:[],infoURL:"https://www.rinkeby.io",name:"Rinkeby",nativeCurrency:{name:"Rinkeby Ether",symbol:"ETH",decimals:18},networkId:4,redFlags:[],rpc:["https://4.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinkeby.infura.io/v3/${INFURA_API_KEY}","wss://rinkeby.infura.io/ws/v3/${INFURA_API_KEY}"],shortName:"rin",slip44:1,slug:"rinkeby",status:"deprecated",testnet:!0,title:"Ethereum Testnet Rinkeby"},est={chain:"ETH",chainId:5,ens:{registry:"0x112234455c3a32fd11230c42e7bccd4a84e02010"},explorers:[{name:"etherscan-goerli",url:"https://goerli.etherscan.io",standard:"EIP3091"},{name:"blockscout-goerli",url:"https://eth-goerli.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["http://fauceth.komputing.org?chain=5&address=${ADDRESS}","https://goerli-faucet.slock.it?address=${ADDRESS}","https://faucet.goerli.mudit.blog"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://goerli.net/#about",name:"Goerli",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:5,redFlags:[],rpc:["https://5.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.infura.io/v3/${INFURA_API_KEY}","wss://goerli.infura.io/v3/${INFURA_API_KEY}","https://rpc.goerli.mudit.blog/","https://ethereum-goerli-rpc.publicnode.com","wss://ethereum-goerli-rpc.publicnode.com","https://goerli.gateway.tenderly.co","wss://goerli.gateway.tenderly.co"],shortName:"gor",slip44:1,slug:"goerli",status:"deprecated",testnet:!0,title:"Ethereum Testnet Goerli"},tst={chain:"ETC",chainId:6,explorers:[],faucets:[],icon:{url:"ipfs://QmawMDPsaj3kBTZErCYQ3tshv5RrMAN3smWNs72m943Fyj",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org/development/testnets",name:"Kotti Testnet",nativeCurrency:{name:"Kotti Ether",symbol:"KOT",decimals:18},networkId:6,rpc:[],shortName:"kot",slip44:1,slug:"kotti-testnet",status:"deprecated",testnet:!0,title:"Ethereum Classic Kotti Testnet"},nst={chain:"TCH",chainId:7,explorers:[{name:"Thaichain Explorer",url:"https://exp.thaichain.org",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://thaichain.io",name:"ThaiChain",nativeCurrency:{name:"ThaiChain Ether",symbol:"TCH",decimals:18},networkId:7,rpc:["https://7.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dome.cloud","https://rpc.thaichain.org"],shortName:"tch",slug:"thaichain",testnet:!1},ast={chain:"UBQ",chainId:8,explorers:[{name:"ubiqscan",url:"https://ubiqscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ubiqsmart.com",name:"Ubiq",nativeCurrency:{name:"Ubiq Ether",symbol:"UBQ",decimals:18},networkId:8,rpc:["https://8.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.octano.dev","https://pyrus2.ubiqscan.io"],shortName:"ubq",slip44:108,slug:"ubiq",testnet:!1},rst={chain:"UBQ",chainId:9,explorers:[],faucets:[],infoURL:"https://ethersocial.org",name:"Ubiq Network Testnet",nativeCurrency:{name:"Ubiq Testnet Ether",symbol:"TUBQ",decimals:18},networkId:2,rpc:[],shortName:"tubq",slip44:1,slug:"ubiq-network-testnet",testnet:!0},TW={chain:"ETH",chainId:10,explorers:[{name:"etherscan",url:"https://optimistic.etherscan.io",standard:"EIP3091"},{name:"blockscout",url:"https://optimism.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://optimism.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/optimism/512.png",width:512,height:512,format:"png"},infoURL:"https://optimism.io",name:"OP Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:10,redFlags:[],rpc:["https://10.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://optimism-mainnet.infura.io/v3/${INFURA_API_KEY}","https://mainnet.optimism.io","https://optimism.publicnode.com","wss://optimism.publicnode.com","https://optimism.gateway.tenderly.co","wss://optimism.gateway.tenderly.co","https://optimism-rpc.publicnode.com","wss://optimism-rpc.publicnode.com","https://optimism.drpc.org","wss://optimism.drpc.org"],shortName:"oeth",slug:"optimism",testnet:!1},fst={chain:"META",chainId:11,explorers:[],faucets:[],infoURL:"https://metadium.com",name:"Metadium Mainnet",nativeCurrency:{name:"Metadium Mainnet Ether",symbol:"META",decimals:18},networkId:11,rpc:["https://11.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.metadium.com/prod"],shortName:"meta",slip44:916,slug:"metadium",testnet:!1},ist={chain:"META",chainId:12,explorers:[],faucets:[],infoURL:"https://metadium.com",name:"Metadium Testnet",nativeCurrency:{name:"Metadium Testnet Ether",symbol:"KAL",decimals:18},networkId:12,rpc:["https://12.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.metadium.com/dev"],shortName:"kal",slip44:1,slug:"metadium-testnet",testnet:!0},sst={chain:"DIODE",chainId:13,explorers:[],faucets:[],infoURL:"https://diode.io/staging",name:"Diode Testnet Staging",nativeCurrency:{name:"Staging Diodes",symbol:"sDIODE",decimals:18},networkId:13,rpc:["https://13.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging.diode.io:8443/","wss://staging.diode.io:8443/ws"],shortName:"dstg",slip44:1,slug:"diode-testnet-staging",testnet:!0},ost={chain:"FLR",chainId:14,explorers:[{name:"blockscout",url:"https://flare-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://mainnet.flarescan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmbT52cCx4h1rcz6nXGfUPFdRyw1VfFMU8kKpY7YCtvUjs",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Flare Mainnet",nativeCurrency:{name:"Flare",symbol:"FLR",decimals:18},networkId:14,rpc:["https://14.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://flare-api.flare.network/ext/C/rpc","https://flare-bundler.etherspot.io","https://rpc.ankr.com/flare","https://01-gravelines-003-01.rpc.tatum.io/ext/bc/C/rpc","https://01-vinthill-003-02.rpc.tatum.io/ext/bc/C/rpc","https://rpc.ftso.au/flare","https://flare.enosys.global/ext/C/rpc","https://flare.solidifi.app/ext/C/rpc"],shortName:"flr",slug:"flare",testnet:!1},cst={chain:"DIODE",chainId:15,explorers:[],faucets:[],infoURL:"https://diode.io/prenet",name:"Diode Prenet",nativeCurrency:{name:"Diodes",symbol:"DIODE",decimals:18},networkId:15,rpc:["https://15.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://prenet.diode.io:8443/","wss://prenet.diode.io:8443/ws"],shortName:"diode",slug:"diode-prenet",testnet:!1},dst={chain:"SGB",chainId:16,explorers:[{name:"blockscout",url:"https://coston-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://coston.testnet.flarescan.com",standard:"EIP3091"}],faucets:["https://faucet.flare.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmV5PVhxaT3ePRHYsH3aryEHin2c49W18xW3Xg4o171iYE",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Songbird Testnet Coston",nativeCurrency:{name:"Coston Flare",symbol:"CFLR",decimals:18},networkId:16,rpc:["https://16.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coston-api.flare.network/ext/C/rpc","https://01-gravelines-004-01.rpc.tatum.io/ext/bc/C/rpc","https://02-chicago-004-02.rpc.tatum.io/ext/bc/C/rpc","https://02-tokyo-004-03.rpc.tatum.io/ext/bc/C/rpc","https://coston.enosys.global/ext/C/rpc"],shortName:"cflr",slip44:1,slug:"songbird-testnet-coston",testnet:!0},lst={chain:"TCH",chainId:17,explorers:[],faucets:[],infoURL:"https://exp.thaifi.com",name:"ThaiChain 2.0 ThaiFi",nativeCurrency:{name:"Thaifi Ether",symbol:"TFI",decimals:18},networkId:17,rpc:["https://17.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.thaifi.com"],shortName:"tfi",slug:"thaichain-2-0-thaifi",testnet:!1},ust={chain:"TST",chainId:18,explorers:[{name:"thundercore-blockscout-testnet",url:"https://explorer-testnet.thundercore.com",standard:"EIP3091"}],faucets:["https://faucet-testnet.thundercore.com"],infoURL:"https://thundercore.com",name:"ThunderCore Testnet",nativeCurrency:{name:"ThunderCore Testnet Token",symbol:"TST",decimals:18},networkId:18,rpc:["https://18.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.thundercore.com","https://thundercore-testnet.drpc.org","wss://thundercore-testnet.drpc.org"],shortName:"TST",slip44:1,slug:"thundercore-testnet",testnet:!0},pst={chain:"SGB",chainId:19,explorers:[{name:"blockscout",url:"https://songbird-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://songbird.flarescan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdpaH9pEFDXB4tUPxcqAHfB3Sfx3BQufz6EAzBWhHH6Ka",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Songbird Canary-Network",nativeCurrency:{name:"Songbird",symbol:"SGB",decimals:18},networkId:19,rpc:["https://19.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://songbird-api.flare.network/ext/C/rpc","https://01-gravelines-006-01.rpc.tatum.io/ext/bc/C/rpc","https://01-vinthill-006-02.rpc.tatum.io/ext/bc/C/rpc","https://02-tokyo-006-03.rpc.tatum.io/ext/bc/C/rpc","https://rpc.ftso.au/songbird","https://songbird.enosys.global/ext/C/rpc","https://songbird.solidifi.app/ext/C/rpc"],shortName:"sgb",slug:"songbird-canary-network",testnet:!1},hst={chain:"ETH",chainId:20,explorers:[{name:"elastos esc explorer",url:"https://esc.elastos.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.elastos.org/",name:"Elastos Smart Chain",nativeCurrency:{name:"Elastos",symbol:"ELA",decimals:18},networkId:20,rpc:["https://20.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.elastos.io/eth"],shortName:"esc",slug:"elastos-smart-chain",testnet:!1},bst={chain:"ETH",chainId:21,explorers:[{name:"elastos esc explorer",url:"https://esc-testnet.elastos.io",standard:"EIP3091"}],faucets:["https://esc-faucet.elastos.io/"],infoURL:"https://www.elastos.org/",name:"Elastos Smart Chain Testnet",nativeCurrency:{name:"Elastos",symbol:"tELA",decimals:18},networkId:21,rpc:["https://21.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api-testnet.elastos.io/eth"],shortName:"esct",slug:"elastos-smart-chain-testnet",testnet:!0},mst={chain:"ETH",chainId:22,explorers:[],faucets:[],infoURL:"https://www.elastos.org/",name:"ELA-DID-Sidechain Mainnet",nativeCurrency:{name:"Elastos",symbol:"ELA",decimals:18},networkId:22,rpc:[],shortName:"eladid",slug:"ela-did-sidechain",testnet:!1},yst={chain:"ETH",chainId:23,explorers:[],faucets:[],infoURL:"https://elaeth.io/",name:"ELA-DID-Sidechain Testnet",nativeCurrency:{name:"Elastos",symbol:"tELA",decimals:18},networkId:23,rpc:[],shortName:"eladidt",slip44:1,slug:"ela-did-sidechain-testnet",testnet:!0},gst={chain:"KAI",chainId:24,explorers:[],faucets:[],icon:{url:"ipfs://QmXoHaZXJevc59GuzEgBhwRSH6kio1agMRvL8bD93pARRV",width:297,height:297,format:"png"},infoURL:"https://kardiachain.io",name:"KardiaChain Mainnet",nativeCurrency:{name:"KardiaChain",symbol:"KAI",decimals:18},networkId:0,redFlags:["reusedChainId"],rpc:["https://24.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kardiachain.io"],shortName:"kardiachain",slug:"kardiachain",testnet:!1},vst={chain:"CRO",chainId:25,explorers:[{name:"Cronos Explorer",url:"https://explorer.cronos.org",standard:"none"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://cronos.org/",name:"Cronos Mainnet",nativeCurrency:{name:"Cronos",symbol:"CRO",decimals:18},networkId:25,redFlags:[],rpc:["https://25.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cronos.blockpi.network/v1/rpc/public","https://evm.cronos.org","https://cronos-evm-rpc.publicnode.com","wss://cronos-evm-rpc.publicnode.com","https://cronos.drpc.org","wss://cronos.drpc.org"],shortName:"cro",slug:"cronos",testnet:!1},wst={chain:"genesis",chainId:26,explorers:[{name:"Genesis L1 testnet explorer",url:"https://testnet.genesisl1.org",standard:"none"}],faucets:[],infoURL:"https://www.genesisl1.com",name:"Genesis L1 testnet",nativeCurrency:{name:"L1 testcoin",symbol:"L1test",decimals:18},networkId:26,rpc:["https://26.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.genesisl1.org"],shortName:"L1test",slip44:1,slug:"genesis-l1-testnet",testnet:!0},Tst={chain:"SHIB",chainId:27,explorers:[{name:"Shiba Explorer",url:"https://exp.shibchain.org",standard:"none"}],faucets:[],infoURL:"https://shibchain.org",name:"ShibaChain",nativeCurrency:{name:"SHIBA INU COIN",symbol:"SHIB",decimals:18},networkId:27,rpc:["https://27.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shibchain.org"],shortName:"shib",slug:"shibachain",testnet:!1},xst={chain:"ETH",chainId:28,explorers:[{name:"Blockscout",url:"https://blockexplorer.rinkeby.boba.network",standard:"none"}],faucets:[],features:[],infoURL:"https://boba.network",name:"Boba Network Rinkeby Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://gateway.rinkeby.boba.network"}]},redFlags:[],rpc:["https://28.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinkeby.boba.network/"],shortName:"BobaRinkeby",slip44:1,slug:"boba-network-rinkeby-testnet",status:"deprecated",testnet:!0},Est={chain:"genesis",chainId:29,explorers:[{name:"Genesis L1 blockchain explorer",url:"https://explorer.genesisl1.org",standard:"none"}],faucets:[],infoURL:"https://www.genesisl1.com",name:"Genesis L1",nativeCurrency:{name:"L1 coin",symbol:"L1",decimals:18},networkId:29,rpc:["https://29.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.genesisl1.org"],shortName:"L1",slug:"genesis-l1",testnet:!1},_st={chain:"Rootstock",chainId:30,explorers:[{name:"blockscout",url:"https://rootstock.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"Rootstock Explorer",url:"https://explorer.rsk.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreigidzbf22dnpmmlfxv6u7oifq6ln33j4n57ox4ipiproalufrheym",width:3e3,height:3325,format:"png"},infoURL:"https://rootstock.io",name:"Rootstock Mainnet",nativeCurrency:{name:"Smart Bitcoin",symbol:"RBTC",decimals:18},networkId:30,rpc:["https://30.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-node.rsk.co","https://mycrypto.rsk.co"],shortName:"rsk",slip44:137,slug:"rootstock",testnet:!1},Ast={chain:"Rootstock",chainId:31,explorers:[{name:"RSK Testnet Explorer",url:"https://explorer.testnet.rsk.co",standard:"EIP3091"}],faucets:["https://faucet.rsk.co/"],icon:{url:"ipfs://bafkreigidzbf22dnpmmlfxv6u7oifq6ln33j4n57ox4ipiproalufrheym",width:3e3,height:3325,format:"png"},infoURL:"https://rootstock.io",name:"Rootstock Testnet",nativeCurrency:{name:"Testnet Smart Bitcoin",symbol:"tRBTC",decimals:18},networkId:31,rpc:["https://31.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-node.testnet.rsk.co","https://mycrypto.testnet.rsk.co"],shortName:"trsk",slip44:1,slug:"rootstock-testnet",testnet:!0},Cst={chain:"GooD",chainId:32,explorers:[],faucets:[],infoURL:"https://www.goodata.org",name:"GoodData Testnet",nativeCurrency:{name:"GoodData Testnet Ether",symbol:"GooD",decimals:18},networkId:32,rpc:["https://32.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test2.goodata.io"],shortName:"GooDT",slip44:1,slug:"gooddata-testnet",testnet:!0},Ist={chain:"GooD",chainId:33,explorers:[],faucets:[],infoURL:"https://www.goodata.org",name:"GoodData Mainnet",nativeCurrency:{name:"GoodData Mainnet Ether",symbol:"GooD",decimals:18},networkId:33,rpc:["https://33.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.goodata.io"],shortName:"GooD",slug:"gooddata",testnet:!1},kst={chain:"SCAI",chainId:34,explorers:[{name:"SecureChain Mainnet",url:"https://explorer.securechain.ai",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qme2Z8VFYjhHGfLQPBnfseNpEdRfmTDy7VXqrdH4AHETJf",width:150,height:150,format:"png"},infoURL:"https://securechain.ai",name:"SecureChain Mainnet",nativeCurrency:{name:"SecureChain",symbol:"SCAI",decimals:18},networkId:34,redFlags:["reusedChainId"],rpc:["https://34.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.scai.network"],shortName:"scai",slug:"securechain",testnet:!1},Sst={chain:"TBWG",chainId:35,explorers:[],faucets:[],infoURL:"https://tbwg.io",name:"TBWG Chain",nativeCurrency:{name:"TBWG Ether",symbol:"TBG",decimals:18},networkId:35,rpc:["https://35.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tbwg.io"],shortName:"tbwg",slug:"tbwg-chain",testnet:!1},Rst={chain:"Dxchain",chainId:36,explorers:[{name:"dxscan",url:"https://dxscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYBup5bWoBfkaHntbcgW8Ji7ncad7f53deJ4Q55z4PNQs",width:128,height:128,format:"png"},infoURL:"https://www.dxchain.com/",name:"Dxchain Mainnet",nativeCurrency:{name:"Dxchain",symbol:"DX",decimals:18},networkId:36,rpc:["https://36.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.dxchain.com"],shortName:"dx",slug:"dxchain",testnet:!1},Mst={chain:"XPLA",chainId:37,explorers:[{name:"XPLA Explorer",url:"https://explorer.xpla.io/mainnet",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmf4GoxfpeA5VGqu7KP5eyv1WKaCpNDbvMxq1MjQBwFWxq",width:512,height:512,format:"png"},infoURL:"https://xpla.io",name:"Xpla Mainnet",nativeCurrency:{name:"XPLA",symbol:"XPLA",decimals:18},networkId:37,redFlags:["reusedChainId"],rpc:["https://37.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dimension-evm-rpc.xpla.dev"],shortName:"xpla",slug:"xpla",testnet:!1},Bst={chain:"VAL",chainId:38,explorers:[],faucets:[],infoURL:"https://valorbit.com",name:"Valorbit",nativeCurrency:{name:"Valorbit",symbol:"VAL",decimals:18},networkId:38,rpc:["https://38.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.valorbit.com/v2"],shortName:"val",slip44:538,slug:"valorbit",testnet:!1},Dst={chain:"u2u",chainId:39,explorers:[{name:"U2U Explorer",url:"https://u2uscan.xyz",standard:"EIP3091",icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"},infoURL:"https://uniultra.xyz",name:"U2U Solaris Mainnet",nativeCurrency:{name:"Unicorn Ultra",symbol:"U2U",decimals:18},networkId:39,rpc:["https://39.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.uniultra.xyz"],shortName:"u2u",slug:"u2u-solaris",testnet:!1},Pst={chain:"TLOS",chainId:40,explorers:[{name:"teloscan",url:"https://teloscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmdkgQDtDedsNNth3ZVgWfwRZPCePLA13MtLvV4CEYSuTR/TLOS.png",width:228,height:228,format:"png"},infoURL:"https://telos.net",name:"Telos EVM Mainnet",nativeCurrency:{name:"Telos",symbol:"TLOS",decimals:18},networkId:40,redFlags:[],rpc:["https://40.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.telos.net/evm","https://telos.drpc.org","wss://telos.drpc.org"],shortName:"TelosEVM",slug:"telos-evm",testnet:!1},Lst={chain:"TLOS",chainId:41,explorers:[{name:"teloscan",url:"https://testnet.teloscan.io",standard:"EIP3091"}],faucets:["https://app.telos.net/testnet/developers"],features:[],icon:{url:"ipfs://QmdkgQDtDedsNNth3ZVgWfwRZPCePLA13MtLvV4CEYSuTR/TLOS.png",width:228,height:228,format:"png"},infoURL:"https://telos.net",name:"Telos EVM Testnet",nativeCurrency:{name:"Telos",symbol:"TLOS",decimals:18},networkId:41,redFlags:[],rpc:["https://41.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.telos.net/evm","https://telos-testnet.drpc.org","wss://telos-testnet.drpc.org"],shortName:"TelosEVMTestnet",slip44:1,slug:"telos-evm-testnet",testnet:!0},Fst={chain:"LUKSO",chainId:42,explorers:[{name:"Blockscout",url:"https://explorer.execution.mainnet.lukso.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmeg9sFF5tAGi6MCx7YjtVHW6a23zqvHRK1xwzSdp9iE7z",width:512,height:512,format:"png"},infoURL:"https://lukso.network",name:"LUKSO Mainnet",nativeCurrency:{name:"LUKSO",symbol:"LYX",decimals:18},networkId:42,redFlags:["reusedChainId"],rpc:["https://42.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.lukso.network","wss://ws-rpc.mainnet.lukso.network"],shortName:"lukso",slug:"lukso",testnet:!1},Nst={chain:"pangolin",chainId:43,explorers:[{name:"subscan",url:"https://pangolin.subscan.io",standard:"EIP3091"}],faucets:["https://docs.darwinia.network/pangolin-testnet-1e9ac8b09e874e8abd6a7f18c096ca6a"],infoURL:"https://darwinia.network/",name:"Darwinia Pangolin Testnet",nativeCurrency:{name:"Pangolin Network Native Token",symbol:"PRING",decimals:18},networkId:43,rpc:["https://43.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pangolin-rpc.darwinia.network"],shortName:"pangolin",slip44:1,slug:"darwinia-pangolin-testnet",testnet:!0},Ost={chain:"crab",chainId:44,explorers:[{name:"subscan",url:"https://crab.subscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://crab.network/",name:"Crab Network",nativeCurrency:{name:"Crab Network Native Token",symbol:"CRAB",decimals:18},networkId:44,rpc:["https://44.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://crab-rpc.darwinia.network","https://crab-rpc.darwiniacommunitydao.xyz"],shortName:"crab",slug:"crab-network",testnet:!1},Ust={chain:"pangoro",chainId:45,explorers:[{name:"subscan",url:"https://pangoro.subscan.io",standard:"none"}],faucets:["https://docs.darwinia.network/pangoro-testnet-70cfec5dc9ca42759959ba3803edaec2"],infoURL:"https://darwinia.network/",name:"Darwinia Pangoro Testnet",nativeCurrency:{name:"Pangoro Network Native Token",symbol:"ORING",decimals:18},networkId:45,rpc:["https://45.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pangoro-rpc.darwinia.network"],shortName:"pangoro",slip44:1,slug:"darwinia-pangoro-testnet",testnet:!0},Hst={chain:"darwinia",chainId:46,explorers:[{name:"subscan",url:"https://darwinia.subscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://darwinia.network/",name:"Darwinia Network",nativeCurrency:{name:"Darwinia Network Native Token",symbol:"RING",decimals:18},networkId:46,rpc:["https://46.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.darwinia.network","https://darwinia-rpc.darwiniacommunitydao.xyz","https://darwinia-rpc.dwellir.com"],shortName:"darwinia",slug:"darwinia-network",testnet:!1},zst={chain:"XPLA",chainId:47,explorers:[{name:"XPLA Explorer",url:"https://explorer.xpla.io/testnet",standard:"none"}],faucets:["https://faucet.xpla.io/"],features:[],icon:{url:"ipfs://QmbvEAKZfgJckEziU3mpCwz6jqMeWRcLgd8TNsWA7g8sD9/xpla.png",width:512,height:512,format:"png"},infoURL:"https://xpla.io/",name:"Xpla Testnet",nativeCurrency:{name:"XPLA",symbol:"XPLA",decimals:18},networkId:47,redFlags:["reusedChainId"],rpc:["https://47.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cube-evm-rpc.xpla.dev"],shortName:"xpla-test",slug:"xpla-testnet",testnet:!0},Wst={chain:"ETMP",chainId:48,explorers:[{name:"etmpscan",url:"https://etmscan.network",standard:"EIP3091",icon:{url:"ipfs://QmT7DTqT1V2y42pRpt3sj9ifijfmbtkHN7D2vTfAUAS622",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmT7DTqT1V2y42pRpt3sj9ifijfmbtkHN7D2vTfAUAS622",width:512,height:512,format:"png"},infoURL:"https://etm.network",name:"Ennothem Mainnet Proterozoic",nativeCurrency:{name:"Ennothem",symbol:"ETMP",decimals:18},networkId:48,rpc:["https://48.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.etm.network"],shortName:"etmp",slug:"ennothem-proterozoic",testnet:!1},qst={chain:"ETMP",chainId:49,explorers:[{name:"etmp",url:"https://pioneer.etmscan.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmT7DTqT1V2y42pRpt3sj9ifijfmbtkHN7D2vTfAUAS622",width:512,height:512,format:"png"},infoURL:"https://etm.network",name:"Ennothem Testnet Pioneer",nativeCurrency:{name:"Ennothem",symbol:"ETMP",decimals:18},networkId:49,rpc:["https://49.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.pioneer.etm.network"],shortName:"etmpTest",slip44:1,slug:"ennothem-testnet-pioneer",testnet:!0},jst={chain:"XDC",chainId:50,explorers:[{name:"xdcscan",url:"https://xdcscan.io",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}},{name:"blocksscan",url:"https://xdc.blocksscan.io",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeRq7pabiJE2n1xU3Y5Mb4TZSX9kQ74x7a3P2Z4PqcMRX",width:1450,height:1450,format:"png"},infoURL:"https://xinfin.org",name:"XDC Network",nativeCurrency:{name:"XinFin",symbol:"XDC",decimals:18},networkId:50,rpc:["https://50.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://erpc.xinfin.network","https://rpc.xinfin.network","https://rpc1.xinfin.network","https://rpc-xdc.icecreamswap.com"],shortName:"xdc",slug:"xdc-network",testnet:!1},Gst={chain:"XDC",chainId:51,explorers:[{name:"xdcscan",url:"https://apothem.xinfinscan.com",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}},{name:"blocksscan",url:"https://apothem.blocksscan.io",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}}],faucets:["https://faucet.apothem.network"],features:[],icon:{url:"ipfs://QmeRq7pabiJE2n1xU3Y5Mb4TZSX9kQ74x7a3P2Z4PqcMRX",width:1450,height:1450,format:"png"},infoURL:"https://xinfin.org",name:"XDC Apothem Network",nativeCurrency:{name:"XinFin",symbol:"TXDC",decimals:18},networkId:51,redFlags:[],rpc:["https://51.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://apothem.xdcrpc.com","https://rpc.apothem.network","https://erpc.apothem.network"],shortName:"txdc",slug:"xdc-apothem-network",testnet:!1},Kst={chain:"CSC",chainId:52,explorers:[{name:"coinexscan",url:"https://www.coinex.net",standard:"none"}],faucets:[],infoURL:"https://www.coinex.org/",name:"CoinEx Smart Chain Mainnet",nativeCurrency:{name:"CoinEx Chain Native Token",symbol:"cet",decimals:18},networkId:52,rpc:["https://52.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.coinex.net"],shortName:"cet",slug:"coinex-smart-chain",testnet:!1},Qst={chain:"CSC",chainId:53,explorers:[{name:"coinexscan",url:"https://testnet.coinex.net",standard:"none"}],faucets:[],infoURL:"https://www.coinex.org/",name:"CoinEx Smart Chain Testnet",nativeCurrency:{name:"CoinEx Chain Test Native Token",symbol:"cett",decimals:18},networkId:53,rpc:["https://53.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.coinex.net/"],shortName:"tcet",slip44:1,slug:"coinex-smart-chain-testnet",testnet:!0},Vst={chain:"OPENPIECE",chainId:54,explorers:[{name:"Belly Scan",url:"https://bellyscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmVTahJkdSH3HPYsJMK2GmqfWZjLyxE7cXy1aHEnHU3vp2",width:250,height:250,format:"png"},infoURL:"https://cryptopiece.online",name:"Openpiece Mainnet",nativeCurrency:{name:"Belly",symbol:"BELLY",decimals:18},networkId:54,rpc:["https://54.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.openpiece.io"],shortName:"OP",slug:"openpiece",testnet:!1},Yst={chain:"ZYX",chainId:55,explorers:[{name:"zyxscan",url:"https://zyxscan.com",standard:"none"}],faucets:[],infoURL:"https://zyx.network/",name:"Zyx Mainnet",nativeCurrency:{name:"Zyx",symbol:"ZYX",decimals:18},networkId:55,rpc:["https://55.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.zyx.network/","https://rpc-2.zyx.network/","https://rpc-3.zyx.network/","https://rpc-4.zyx.network/","https://rpc-5.zyx.network/","https://rpc-6.zyx.network/"],shortName:"ZYX",slug:"zyx",testnet:!1},vHe={chain:"BSC",chainId:56,explorers:[{name:"bscscan",url:"https://bscscan.com",standard:"EIP3091"},{name:"dexguru",url:"https://bnb.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/binance-coin/512.png",width:512,height:512,format:"png"},infoURL:"https://www.bnbchain.org/en",name:"BNB Smart Chain Mainnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"BNB",decimals:18},networkId:56,redFlags:[],rpc:["https://56.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bsc-dataseed1.bnbchain.org","https://bsc-dataseed2.bnbchain.org","https://bsc-dataseed3.bnbchain.org","https://bsc-dataseed4.bnbchain.org","https://bsc-dataseed1.defibit.io","https://bsc-dataseed2.defibit.io","https://bsc-dataseed3.defibit.io","https://bsc-dataseed4.defibit.io","https://bsc-dataseed1.ninicoin.io","https://bsc-dataseed2.ninicoin.io","https://bsc-dataseed3.ninicoin.io","https://bsc-dataseed4.ninicoin.io","https://bsc-rpc.publicnode.com","wss://bsc-rpc.publicnode.com","wss://bsc-ws-node.nariox.org"],shortName:"bnb",slip44:714,slug:"binance",testnet:!1},$st={chain:"SYS",chainId:57,explorers:[{name:"Syscoin Block Explorer",url:"https://explorer.syscoin.org",standard:"EIP3091"}],faucets:["https://faucet.syscoin.org"],infoURL:"https://www.syscoin.org",name:"Syscoin Mainnet",nativeCurrency:{name:"Syscoin",symbol:"SYS",decimals:18},networkId:57,rpc:["https://57.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.syscoin.org","https://rpc.ankr.com/syscoin/${ANKR_API_KEY}","https://syscoin.public-rpc.com","wss://rpc.syscoin.org/wss","https://syscoin-evm.publicnode.com","wss://syscoin-evm.publicnode.com"],shortName:"sys",slug:"syscoin",testnet:!1},Jst={chain:"Ontology",chainId:58,explorers:[{name:"explorer",url:"https://explorer.ont.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreigmvn6spvbiirtutowpq6jmetevbxoof5plzixjoerbeswy4htfb4",width:400,height:400,format:"png"},infoURL:"https://ont.io/",name:"Ontology Mainnet",nativeCurrency:{name:"ONG",symbol:"ONG",decimals:18},networkId:58,rpc:["https://58.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://dappnode1.ont.io:20339","http://dappnode2.ont.io:20339","http://dappnode3.ont.io:20339","http://dappnode4.ont.io:20339","https://dappnode1.ont.io:10339","https://dappnode2.ont.io:10339","https://dappnode3.ont.io:10339","https://dappnode4.ont.io:10339"],shortName:"OntologyMainnet",slug:"ontology",testnet:!1},Xst={chain:"EOS",chainId:59,explorers:[],faucets:[],infoURL:"https://eosargentina.io",name:"EOS EVM Legacy",nativeCurrency:{name:"EOS",symbol:"EOS",decimals:18},networkId:59,rpc:["https://59.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.eosargentina.io"],shortName:"eos-legacy",slug:"eos-evm-legacy",status:"deprecated",testnet:!1},Zst={chain:"GO",chainId:60,explorers:[{name:"GoChain Explorer",url:"https://explorer.gochain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://gochain.io",name:"GoChain",nativeCurrency:{name:"GoChain Ether",symbol:"GO",decimals:18},networkId:60,rpc:["https://60.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gochain.io"],shortName:"go",slip44:6060,slug:"gochain",testnet:!1},eot={chain:"ETC",chainId:61,explorers:[{name:"etcnetworkinfo-blockscout-ethereum-classic",url:"https://explorer-blockscout.etc-network.info",standard:"none"},{name:"etcnetworkinfo-alethio-ethereum-classic",url:"https://explorer-alethio.etc-network.info",standard:"none"},{name:"etcnetworkinfo-expedition-ethereum-classic",url:"https://explorer-expedition.etc-network.info",standard:"none"},{name:"hebeblock-ethereum-classic",url:"https://etcerscan.com",standard:"EIP3091"},{name:"oklink-ethereum-classic",url:"https://www.oklink.com/etc",standard:"EIP3091"},{name:"tokenview-ethereum-classic",url:"https://etc.tokenview.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://Qme7PT7gidTzRuf3T2JdxQ64JeZPgFH7yNBB8mYoMPbpTe",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org",name:"Ethereum Classic",nativeCurrency:{name:"Ether",symbol:"ETC",decimals:18},networkId:61,redFlags:[],rpc:["https://61.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://etc.etcdesktop.com","https://etc.rivet.link","https://besu-at.etc-network.info","https://geth-at.etc-network.info","https://etc.mytokenpocket.vip"],shortName:"etc",slip44:61,slug:"ethereum-classic",status:"active",testnet:!1,title:"Ethereum Classic Mainnet"},tot={chain:"ETC",chainId:62,explorers:[],faucets:[],icon:{url:"ipfs://QmawMDPsaj3kBTZErCYQ3tshv5RrMAN3smWNs72m943Fyj",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org/development/testnets",name:"Morden Testnet",nativeCurrency:{name:"Morden Ether",symbol:"TETC",decimals:18},networkId:2,rpc:[],shortName:"tetc",slip44:1,slug:"morden-testnet",status:"deprecated",testnet:!0,title:"Ethereum Classic Morden Testnet"},not={chain:"ETC",chainId:63,explorers:[{name:"blockscout-mordor",url:"https://etc-mordor.blockscout.com",standard:"EIP3091"},{name:"etcnetworkinfo-expedition-mordor",url:"https://explorer-expedition.etc-network.info/?network=Ethereum+Classic+at+etc-network.info+GETH+Mordor",standard:"none"}],faucets:["https://easy.hebeswap.com/#/faucet","https://faucet.mordortest.net"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmawMDPsaj3kBTZErCYQ3tshv5RrMAN3smWNs72m943Fyj",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org/development/testnets",name:"Mordor Testnet",nativeCurrency:{name:"Mordor Ether",symbol:"METC",decimals:18},networkId:7,rpc:["https://63.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mordor.etccooperative.org","https://geth-mordor.etc-network.info"],shortName:"metc",slip44:1,slug:"mordor-testnet",status:"active",testnet:!0,title:"Ethereum Classic Mordor Testnet"},aot={chain:"ELLA",chainId:64,explorers:[],faucets:[],infoURL:"https://ellaism.org",name:"Ellaism",nativeCurrency:{name:"Ellaism Ether",symbol:"ELLA",decimals:18},networkId:64,rpc:["https://64.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.ellaism.org"],shortName:"ellaism",slip44:163,slug:"ellaism",testnet:!1},rot={chain:"okexchain",chainId:65,explorers:[{name:"OKLink",url:"https://www.oklink.com/okexchain-test",standard:"EIP3091"}],faucets:["https://www.okex.com/drawdex"],infoURL:"https://www.okex.com/okexchain",name:"OKExChain Testnet",nativeCurrency:{name:"OKExChain Global Utility Token in testnet",symbol:"OKT",decimals:18},networkId:65,rpc:["https://65.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://exchaintestrpc.okex.org"],shortName:"tokt",slip44:1,slug:"okexchain-testnet",testnet:!0},fot={chain:"okxchain",chainId:66,explorers:[{name:"OKLink",url:"https://www.oklink.com/en/okc",standard:"EIP3091"}],faucets:[],infoURL:"https://www.okex.com/okc",name:"OKXChain Mainnet",nativeCurrency:{name:"OKXChain Global Utility Token",symbol:"OKT",decimals:18},networkId:66,rpc:["https://66.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://exchainrpc.okex.org","https://okc-mainnet.gateway.pokt.network/v1/lb/6275309bea1b320039c893ff"],shortName:"okt",slug:"okxchain",testnet:!1},iot={chain:"DBM",chainId:67,explorers:[],faucets:[],infoURL:"http://test.dbmbp.com",name:"DBChain Testnet",nativeCurrency:{name:"DBChain Testnet",symbol:"DBM",decimals:18},networkId:67,rpc:["https://67.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://test-rpc.dbmbp.com"],shortName:"dbm",slip44:1,slug:"dbchain-testnet",testnet:!0},sot={chain:"SOTER",chainId:68,explorers:[],faucets:[],infoURL:"https://www.soterone.com",name:"SoterOne Mainnet",nativeCurrency:{name:"SoterOne Mainnet Ether",symbol:"SOTER",decimals:18},networkId:68,rpc:["https://68.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.soter.one"],shortName:"SO1",slug:"soterone",testnet:!1},oot={chain:"ETH",chainId:69,explorers:[{name:"etherscan",url:"https://kovan-optimistic.etherscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=69&address=${ADDRESS}"],infoURL:"https://optimism.io",name:"Optimism Kovan",nativeCurrency:{name:"Kovan Ether",symbol:"ETH",decimals:18},networkId:69,rpc:["https://69.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kovan.optimism.io/"],shortName:"okov",slip44:1,slug:"optimism-kovan",testnet:!0,title:"Optimism Testnet Kovan"},cot={chain:"HSC",chainId:70,explorers:[{name:"hooscan",url:"https://www.hooscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.hoosmartchain.com",name:"Hoo Smart Chain",nativeCurrency:{name:"Hoo Smart Chain Native Token",symbol:"HOO",decimals:18},networkId:70,rpc:["https://70.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.hoosmartchain.com","https://http-mainnet2.hoosmartchain.com","wss://ws-mainnet.hoosmartchain.com","wss://ws-mainnet2.hoosmartchain.com"],shortName:"hsc",slip44:1170,slug:"hoo-smart-chain",testnet:!1},dot={chain:"Conflux",chainId:71,explorers:[{name:"Conflux Scan",url:"https://evmtestnet.confluxscan.net",standard:"none"}],faucets:["https://faucet.confluxnetwork.org"],icon:{url:"ipfs://bafkreifj7n24u2dslfijfihwqvpdeigt5aj3k3sxv6s35lv75sxsfr3ojy",width:460,height:576,format:"png"},infoURL:"https://confluxnetwork.org",name:"Conflux eSpace (Testnet)",nativeCurrency:{name:"CFX",symbol:"CFX",decimals:18},networkId:71,rpc:["https://71.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmtestnet.confluxrpc.com"],shortName:"cfxtest",slug:"conflux-espace-testnet",testnet:!0},lot={chain:"DxChain",chainId:72,explorers:[],faucets:["https://faucet.dxscan.io"],infoURL:"https://testnet.dxscan.io/",name:"DxChain Testnet",nativeCurrency:{name:"DxChain Testnet",symbol:"DX",decimals:18},networkId:72,rpc:["https://72.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-http.dxchain.com"],shortName:"dxc",slip44:1,slug:"dxchain-testnet",testnet:!0},uot={chain:"FNCY",chainId:73,explorers:[{name:"fncy scan",url:"https://fncyscan.fncy.world",standard:"EIP3091",icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"}}],faucets:["https://faucet-testnet.fncy.world"],icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"},infoURL:"https://fncyscan.fncy.world",name:"FNCY",nativeCurrency:{name:"FNCY",symbol:"FNCY",decimals:18},networkId:73,rpc:["https://73.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fncy-seed1.fncy.world"],shortName:"FNCY",slug:"fncy",testnet:!0},pot={chain:"IDChain",chainId:74,explorers:[{name:"explorer",url:"https://explorer.idchain.one",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZVwsY6HPXScKqZCA9SWNrr4jrQAHkPhVhMWi6Fj1DsrJ",width:162,height:129,format:"png"},infoURL:"https://idchain.one/begin/",name:"IDChain Mainnet",nativeCurrency:{name:"EIDI",symbol:"EIDI",decimals:18},networkId:74,rpc:["https://74.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://idchain.one/rpc/","wss://idchain.one/ws/"],shortName:"idchain",slug:"idchain",testnet:!1},hot={chain:"DSC",chainId:75,explorers:[{name:"DSC Explorer Mainnet",url:"https://explorer.decimalchain.com",standard:"EIP3091",icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"},infoURL:"https://decimalchain.com",name:"Decimal Smart Chain Mainnet",nativeCurrency:{name:"Decimal",symbol:"DEL",decimals:18},networkId:75,rpc:["https://75.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.decimalchain.com/web3/","https://node1-mainnet.decimalchain.com/web3/","https://node2-mainnet.decimalchain.com/web3/","https://node3-mainnet.decimalchain.com/web3/","https://node4-mainnet.decimalchain.com/web3/"],shortName:"DSC",slug:"decimal-smart-chain",testnet:!1},bot={chain:"MIX",chainId:76,explorers:[],faucets:[],infoURL:"https://mix-blockchain.org",name:"Mix",nativeCurrency:{name:"Mix Ether",symbol:"MIX",decimals:18},networkId:76,rpc:["https://76.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc2.mix-blockchain.org:8647"],shortName:"mix",slip44:76,slug:"mix",testnet:!1},mot={chain:"POA",chainId:77,explorers:[{name:"blockscout",url:"https://blockscout.com/poa/sokol",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://poa.network",name:"POA Network Sokol",nativeCurrency:{name:"POA Sokol Ether",symbol:"SPOA",decimals:18},networkId:77,rpc:["https://77.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sokol.poa.network","wss://sokol.poa.network/wss","ws://sokol.poa.network:8546"],shortName:"spoa",slug:"poa-network-sokol",testnet:!1},yot={chain:"PC",chainId:78,explorers:[],faucets:[],infoURL:"https://primusmoney.com",name:"PrimusChain mainnet",nativeCurrency:{name:"Primus Ether",symbol:"PETH",decimals:18},networkId:78,rpc:["https://78.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ethnode.primusmoney.com/mainnet"],shortName:"primuschain",slug:"primuschain",testnet:!1},got={chain:"Zenith",chainId:79,explorers:[{name:"zenith scan",url:"https://scan.zenithchain.co",standard:"EIP3091"}],faucets:[],infoURL:"https://www.zenithchain.co/",name:"Zenith Mainnet",nativeCurrency:{name:"ZENITH",symbol:"ZENITH",decimals:18},networkId:79,rpc:["https://79.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataserver-us-1.zenithchain.co/","https://dataserver-asia-3.zenithchain.co/","https://dataserver-asia-4.zenithchain.co/","https://dataserver-asia-2.zenithchain.co/","https://dataserver-asia-5.zenithchain.co/","https://dataserver-asia-6.zenithchain.co/","https://dataserver-asia-7.zenithchain.co/"],shortName:"zenith",slug:"zenith",testnet:!1},vot={chain:"GeneChain",chainId:80,explorers:[{name:"GeneChain Scan",url:"https://scan.genechain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://scan.genechain.io/",name:"GeneChain",nativeCurrency:{name:"RNA",symbol:"RNA",decimals:18},networkId:80,rpc:["https://80.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.genechain.io"],shortName:"GeneChain",slug:"genechain",testnet:!1},wot={chain:"JOC",chainId:81,explorers:[{name:"Block Explorer",url:"https://explorer.japanopenchain.org",standard:"EIP3091",icon:{url:"ipfs://bafkreidhsiuqrct42bel76zhi3rx35k4lnk6aqgde27nvvxcz563ttfefy",width:2e3,height:2e3,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidhsiuqrct42bel76zhi3rx35k4lnk6aqgde27nvvxcz563ttfefy",width:2e3,height:2e3,format:"png"},infoURL:"https://www.japanopenchain.org/",name:"Japan Open Chain Mainnet",nativeCurrency:{name:"Japan Open Chain Token",symbol:"JOC",decimals:18},networkId:81,redFlags:["reusedChainId"],rpc:["https://81.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.japanopenchain.org:8545","https://rpc-2.japanopenchain.org:8545"],shortName:"joc",slug:"japan-open-chain",testnet:!1},Tot={chain:"METER",chainId:82,explorers:[{name:"Meter Mainnet Scan",url:"https://scan.meter.io",standard:"EIP3091"}],faucets:["https://faucet.meter.io"],infoURL:"https://www.meter.io",name:"Meter Mainnet",nativeCurrency:{name:"Meter",symbol:"MTR",decimals:18},networkId:82,rpc:["https://82.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.meter.io"],shortName:"Meter",slug:"meter",testnet:!1},xot={chain:"METER Testnet",chainId:83,explorers:[{name:"Meter Testnet Scan",url:"https://scan-warringstakes.meter.io",standard:"EIP3091"}],faucets:["https://faucet-warringstakes.meter.io"],infoURL:"https://www.meter.io",name:"Meter Testnet",nativeCurrency:{name:"Meter",symbol:"MTR",decimals:18},networkId:83,rpc:["https://83.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.meter.io"],shortName:"MeterTest",slip44:1,slug:"meter-testnet",testnet:!0},Eot={chain:"LNQ",chainId:84,explorers:[{name:"Linqto Devnet Explorer",url:"https://explorer.linqto-dev.com",standard:"EIP3091"}],faucets:[],infoURL:"https://linqto.com",name:"Linqto Devnet",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:18},networkId:84,rpc:["https://84.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linqto-dev.com"],shortName:"linqto-devnet",slug:"linqto-devnet",testnet:!1},_ot={chain:"GTTEST",chainId:85,explorers:[{name:"GateScan",url:"https://www.gatescan.org/testnet",standard:"EIP3091"}],faucets:["https://www.gatescan.org/testnet/faucet"],infoURL:"https://www.gatechain.io",name:"GateChain Testnet",nativeCurrency:{name:"GateToken",symbol:"GT",decimals:18},networkId:85,rpc:["https://85.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.gatenode.cc"],shortName:"gttest",slip44:1,slug:"gatechain-testnet",testnet:!0},Aot={chain:"GT",chainId:86,explorers:[{name:"GateScan",url:"https://www.gatescan.org",standard:"EIP3091"}],faucets:["https://www.gatescan.org/faucet"],infoURL:"https://www.gatechain.io",name:"GateChain Mainnet",nativeCurrency:{name:"GateToken",symbol:"GT",decimals:18},networkId:86,rpc:["https://86.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.gatenode.cc"],shortName:"gt",slug:"gatechain",testnet:!1},Cot={chain:"NNW",chainId:87,explorers:[{name:"novanetwork",url:"https://explorer.novanetwork.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTTamJ55YGQwMboq4aqf3JjTEy5WDtjo4GBRQ5VdsWA6U",width:512,height:512,format:"png"},infoURL:"https://novanetwork.io",name:"Nova Network",nativeCurrency:{name:"Supernova",symbol:"SNT",decimals:18},networkId:87,rpc:["https://87.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.novanetwork.io","https://0x57.redjackstudio.com","https://rpc.novanetwork.io:9070"],shortName:"nnw",slug:"nova-network",testnet:!1},Iot={chain:"Viction",chainId:88,explorers:[],faucets:[],infoURL:"https://viction.xyz",name:"Viction",nativeCurrency:{name:"Viction",symbol:"VIC",decimals:18},networkId:88,rpc:["https://88.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.viction.xyz"],shortName:"vic",slip44:889,slug:"viction",testnet:!1},kot={chain:"Viction",chainId:89,explorers:[],faucets:[],infoURL:"https://viction.xyz",name:"Viction Testnet",nativeCurrency:{name:"Viction",symbol:"VIC",decimals:18},networkId:89,rpc:["https://89.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.viction.xyz"],shortName:"vict",slip44:1,slug:"viction-testnet",testnet:!0},Sot={chain:"GAR",chainId:90,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage0",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:90,rpc:["https://90.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s0.garizon.net/rpc"],shortName:"gar-s0",slug:"garizon-stage0",testnet:!1},Rot={chain:"GAR",chainId:91,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage1",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:91,parent:{type:"shard",chain:"eip155-90"},rpc:["https://91.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s1.garizon.net/rpc"],shortName:"gar-s1",slug:"garizon-stage1",testnet:!1},Mot={chain:"GAR",chainId:92,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage2",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:92,parent:{type:"shard",chain:"eip155-90"},rpc:["https://92.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s2.garizon.net/rpc"],shortName:"gar-s2",slug:"garizon-stage2",testnet:!1},Bot={chain:"GAR",chainId:93,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage3",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:93,parent:{type:"shard",chain:"eip155-90"},rpc:["https://93.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s3.garizon.net/rpc"],shortName:"gar-s3",slug:"garizon-stage3",testnet:!1},Dot={chain:"SDLT",chainId:94,explorers:[{name:"SwissDLT Explorer",url:"https://explorer.swissdlt.ch",standard:"EIP3091",icon:{url:"ipfs://bafkreig7x5z4j6vh2r3pugmjnob3tmlksaekhqcgsorqzvs55o6v7ehqd4",width:682,height:512,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreig7x5z4j6vh2r3pugmjnob3tmlksaekhqcgsorqzvs55o6v7ehqd4",width:682,height:512,format:"png"},infoURL:"https://bcts.ch",name:"SwissDLT",nativeCurrency:{name:"BCTS",symbol:"BCTS",decimals:18},networkId:94,rpc:["https://94.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.swissdlt.ch"],shortName:"sdlt",slug:"swissdlt",testnet:!1},Pot={chain:"CADL",chainId:95,explorers:[{name:"CamDL Block Explorer",url:"https://explorer.camdl.gov.kh",standard:"EIP3091"}],faucets:["https://faucet.camdl.gov.kh/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmW5Fpb2Ywnfqcj4ibvpbKvPv5Mo5eseWdYZnnUvLkj2Hp",width:1453,height:1453,format:"png"},infoURL:"https://camdl.gov.kh/",name:"CamDL Mainnet",nativeCurrency:{name:"CADL",symbol:"CADL",decimals:18},networkId:95,redFlags:["reusedChainId"],rpc:["https://95.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.camdl.gov.kh/"],shortName:"camdl",slug:"camdl",status:"active",testnet:!1},Lot={chain:"BKC",chainId:96,explorers:[{name:"Bitkub Chain Explorer",url:"https://bkcscan.com",standard:"none",icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"},infoURL:"https://www.bitkubchain.com/",name:"Bitkub Chain",nativeCurrency:{name:"Bitkub Coin",symbol:"KUB",decimals:18},networkId:96,redFlags:["reusedChainId"],rpc:["https://96.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitkubchain.io","wss://wss.bitkubchain.io"],shortName:"bkc",slug:"bitkub-chain",testnet:!1},wHe={chain:"BSC",chainId:97,explorers:[{name:"bscscan-testnet",url:"https://testnet.bscscan.com",standard:"EIP3091"}],faucets:["https://testnet.bnbchain.org/faucet-smart"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/binance-coin/512.png",width:512,height:512,format:"png"},infoURL:"https://www.bnbchain.org/en",name:"BNB Smart Chain Testnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"tBNB",decimals:18},networkId:97,redFlags:[],rpc:["https://97.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-seed-prebsc-1-s1.bnbchain.org:8545","https://data-seed-prebsc-2-s1.bnbchain.org:8545","https://data-seed-prebsc-1-s2.bnbchain.org:8545","https://data-seed-prebsc-2-s2.bnbchain.org:8545","https://data-seed-prebsc-1-s3.bnbchain.org:8545","https://data-seed-prebsc-2-s3.bnbchain.org:8545","https://bsc-testnet-rpc.publicnode.com","wss://bsc-testnet-rpc.publicnode.com"],shortName:"bnbt",slip44:1,slug:"binance-testnet",testnet:!0},Fot={chain:"SIXNET",chainId:98,explorers:[{name:"SIX Scan",url:"https://sixscan.io/sixnet",standard:"none",icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"},infoURL:"https://six.network/",name:"Six Protocol",nativeCurrency:{name:"SIX evm token",symbol:"SIX",decimals:18},networkId:98,rpc:["https://98.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sixnet-rpc-evm.sixprotocol.net"],shortName:"six",slug:"six-protocol",testnet:!1},Not={chain:"POA",chainId:99,explorers:[{name:"blockscout",url:"https://blockscout.com/poa/core",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://poa.network",name:"POA Network Core",nativeCurrency:{name:"POA Network Core Ether",symbol:"POA",decimals:18},networkId:99,rpc:["https://99.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://core.poa.network"],shortName:"poa",slip44:178,slug:"poa-network-core",testnet:!1},Oot={chain:"GNO",chainId:100,explorers:[{name:"blockscout",url:"https://gnosis.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"gnosisscan",url:"https://gnosisscan.io",standard:"EIP3091"},{name:"dexguru",url:"https://gnosis.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:["https://gnosisfaucet.com","https://stakely.io/faucet/gnosis-chain-xdai","https://faucet.prussia.dev/xdai"],icon:{url:"ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm",width:1800,height:1800,format:"png"},infoURL:"https://docs.gnosischain.com",name:"Gnosis",nativeCurrency:{name:"xDAI",symbol:"XDAI",decimals:18},networkId:100,rpc:["https://100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gnosischain.com","https://rpc.gnosis.gateway.fm","https://rpc.ankr.com/gnosis","https://gnosischain-rpc.gateway.pokt.network","https://gnosis-mainnet.public.blastapi.io","https://gnosis.api.onfinality.io/public","https://gnosis.blockpi.network/v1/rpc/public","https://web3endpoints.com/gnosischain-mainnet","https://gnosis.oat.farm","wss://rpc.gnosischain.com/wss","https://gnosis-rpc.publicnode.com","wss://gnosis-rpc.publicnode.com"],shortName:"gno",slip44:700,slug:"gnosis",testnet:!1},Uot={chain:"ETI",chainId:101,explorers:[],faucets:[],infoURL:"https://einc.io",name:"EtherInc",nativeCurrency:{name:"EtherInc Ether",symbol:"ETI",decimals:18},networkId:1,rpc:["https://101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.einc.io/jsonrpc/mainnet"],shortName:"eti",slip44:464,slug:"etherinc",testnet:!1},Hot={chain:"Web3Games",chainId:102,explorers:[],faucets:[],icon:{url:"ipfs://QmUc57w3UTHiWapNW9oQb1dP57ymtdemTTbpvGkjVHBRCo",width:192,height:192,format:"png"},infoURL:"https://web3games.org/",name:"Web3Games Testnet",nativeCurrency:{name:"Web3Games",symbol:"W3G",decimals:18},networkId:102,rpc:["https://102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc-0.web3games.org/evm","https://testnet-rpc-1.web3games.org/evm","https://testnet-rpc-2.web3games.org/evm"],shortName:"tw3g",slip44:1,slug:"web3games-testnet",testnet:!0},zot={chain:"Worldland",chainId:103,explorers:[{name:"Worldland Explorer",url:"https://scan.worldland.foundation",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYZNTfK3byhgLsTjXP8vPubVHRz2CWsBrTJxZrQmKq6JZ",width:3509,height:2482,format:"png"},infoURL:"https://worldland.foundation",name:"WorldLand Mainnet",nativeCurrency:{name:"Worldland",symbol:"WLC",decimals:18},networkId:103,rpc:["https://103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seoul.worldland.foundation","https://seoul2.worldland.foundation"],shortName:"WLC",slug:"worldland",testnet:!1},Wot={chain:"tKLC",chainId:104,explorers:[{name:"kaibascan",url:"https://kaibascan.io",standard:"EIP3091",icon:{url:"ipfs://bafybeihbsw3ky7yf6llpww6fabo4dicotcgwjpefscoxrppstjx25dvtea",width:932,height:932,format:"png"}}],faucets:[],icon:{url:"ipfs://bafybeihbsw3ky7yf6llpww6fabo4dicotcgwjpefscoxrppstjx25dvtea",width:932,height:932,format:"png"},infoURL:"https://kaibadefi.com",name:"Kaiba Lightning Chain Testnet",nativeCurrency:{name:"Kaiba Testnet Token",symbol:"tKAIBA",decimals:18},networkId:104,rpc:["https://104.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://klc.live/"],shortName:"tklc",slip44:1,slug:"kaiba-lightning-chain-testnet",testnet:!0},qot={chain:"Web3Games",chainId:105,explorers:[{name:"Web3Games Explorer",url:"https://explorer-devnet.web3games.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmUc57w3UTHiWapNW9oQb1dP57ymtdemTTbpvGkjVHBRCo",width:192,height:192,format:"png"},infoURL:"https://web3games.org/",name:"Web3Games Devnet",nativeCurrency:{name:"Web3Games",symbol:"W3G",decimals:18},networkId:105,rpc:["https://105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.web3games.org/evm"],shortName:"dw3g",slug:"web3games-devnet",testnet:!1},jot={chain:"Velas",chainId:106,explorers:[{name:"Velas Explorer",url:"https://evmexplorer.velas.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNXiCXJxEeBd7ZYGYjPSMTSdbDd2nfodLC677gUfk9ku5",width:924,height:800,format:"png"},infoURL:"https://velas.com",name:"Velas EVM Mainnet",nativeCurrency:{name:"Velas",symbol:"VLX",decimals:18},networkId:106,rpc:["https://106.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmexplorer.velas.com/rpc","https://explorer.velas.com/rpc"],shortName:"vlx",slug:"velas-evm",testnet:!1},Got={chain:"NTN",chainId:107,explorers:[{name:"nebulatestnet",url:"https://explorer.novanetwork.io",standard:"EIP3091"}],faucets:["https://faucet.novanetwork.io"],icon:{url:"ipfs://QmeFaJtQqTKKuXQR7ysS53bLFPasFBcZw445cvYJ2HGeTo",width:512,height:512,format:"png"},infoURL:"https://novanetwork.io",name:"Nebula Testnet",nativeCurrency:{name:"Nebula X",symbol:"NBX",decimals:18},networkId:107,rpc:["https://107.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.novanetwork.io"],shortName:"ntn",slip44:1,slug:"nebula-testnet",testnet:!0},Kot={chain:"TT",chainId:108,explorers:[{name:"thundercore-viewblock",url:"https://viewblock.io/thundercore",standard:"EIP3091"}],faucets:[],infoURL:"https://thundercore.com",name:"ThunderCore Mainnet",nativeCurrency:{name:"ThunderCore Token",symbol:"TT",decimals:18},networkId:108,rpc:["https://108.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.thundercore.com","https://mainnet-rpc.thundertoken.net","https://mainnet-rpc.thundercore.io"],shortName:"TT",slip44:1001,slug:"thundercore",testnet:!1},Qot={chain:"Shibarium",chainId:109,explorers:[{name:"shibariumscan",url:"https://www.shibariumscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmYNVkoZgRjDBQzJz6kog9mA2yPzQFW2oSKvhnkwuBhLQE",width:2e3,height:2e3,format:"png"},infoURL:"https://shibariumecosystem.com",name:"Shibarium",nativeCurrency:{name:"BONE Shibarium",symbol:"BONE",decimals:18},networkId:109,rpc:["https://109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.shibrpc.com"],shortName:"shibariumecosystem",slug:"shibarium",testnet:!1},Vot={chain:"XPR",chainId:110,explorers:[],faucets:[],infoURL:"https://protonchain.com",name:"Proton Testnet",nativeCurrency:{name:"Proton",symbol:"XPR",decimals:4},networkId:110,rpc:["https://110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://protontestnet.greymass.com/"],shortName:"xpr",slip44:1,slug:"proton-testnet",testnet:!0},Yot={chain:"ETL",chainId:111,explorers:[],faucets:["https://etherlite.org/faucets"],icon:{url:"ipfs://QmbNAai1KnBnw4SPQKgrf6vBddifPCQTg2PePry1bmmZYy",width:88,height:88,format:"png"},infoURL:"https://etherlite.org",name:"EtherLite Chain",nativeCurrency:{name:"EtherLite",symbol:"ETL",decimals:18},networkId:111,rpc:["https://111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.etherlite.org"],shortName:"ETL",slug:"etherlite-chain",testnet:!1},$ot={chain:"Coinbit",chainId:112,explorers:[{name:"blockscout",url:"https://coinbit-explorer.chain.sbcrypto.app",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdaQRUbAXJGfHeJ8jaB8WVh8CCmHExq8VjvAfXpLWWQEo",width:760,height:760,format:"png"},infoURL:"https://crypto.stockbit.com/",name:"Coinbit Mainnet",nativeCurrency:{name:"Gas IDR",symbol:"GIDR",decimals:18},networkId:112,rpc:["https://112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coinbit-rpc-mainnet.chain.sbcrypto.app"],shortName:"coinbit",slug:"coinbit",testnet:!1},Jot={chain:"Dehvo",chainId:113,explorers:[{name:"Dehvo Explorer",url:"https://explorer.dehvo.com",standard:"EIP3091"}],faucets:["https://buy.dehvo.com"],infoURL:"https://dehvo.com",name:"Dehvo",nativeCurrency:{name:"Dehvo",symbol:"Deh",decimals:18},networkId:113,rpc:["https://113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.dehvo.com","https://rpc.dehvo.com","https://rpc1.dehvo.com","https://rpc2.dehvo.com"],shortName:"deh",slip44:714,slug:"dehvo",testnet:!1},Xot={chain:"FLR",chainId:114,explorers:[{name:"blockscout",url:"https://coston2-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://coston2.testnet.flarescan.com",standard:"EIP3091"}],faucets:["https://faucet.flare.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSmXY36oXCLmTp1u3Z2MSrBstBFVFyQv3aGKLKf1hxB6u",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Flare Testnet Coston2",nativeCurrency:{name:"Coston2 Flare",symbol:"C2FLR",decimals:18},networkId:114,rpc:["https://114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coston2-api.flare.network/ext/C/rpc","https://flaretestnet-bundler.etherspot.io","https://01-gravelines-005-01.rpc.tatum.io/ext/bc/C/rpc","https://02-chicago-005-02.rpc.tatum.io/ext/bc/C/rpc","https://02-tokyo-005-03.rpc.tatum.io/ext/bc/C/rpc","https://coston2.enosys.global/ext/C/rpc"],shortName:"c2flr",slip44:1,slug:"flare-testnet-coston2",testnet:!0},Zot={chain:"DeBank",chainId:115,explorers:[],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Testnet(Deprecated)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:115,rpc:[],shortName:"debank-testnet",slip44:1,slug:"debank-testnet-deprecated",status:"deprecated",testnet:!0},e1t={chain:"DeBank",chainId:116,explorers:[],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:116,rpc:[],shortName:"debank-mainnet",slug:"debank",status:"deprecated",testnet:!1},t1t={chain:"Uptick",chainId:117,explorers:[{name:"Uptick Explorer",url:"https://evm-explorer.uptick.network",standard:"none",icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"},infoURL:"https://www.uptick.network",name:"Uptick Mainnet",nativeCurrency:{name:"Uptick",symbol:"UPTICK",decimals:18},networkId:117,rpc:["https://117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.uptick.network"],shortName:"auptick",slug:"uptick",testnet:!1},n1t={chain:"Arcology",chainId:118,explorers:[{name:"arcology",url:"https://testnet.arcology.network/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmRD7itMvaZutfBjyA7V9xkMGDtsZiJSagPwd3ijqka8kE",width:288,height:288,format:"png"},infoURL:"https://arcology.network/",name:"Arcology Testnet",nativeCurrency:{name:"Arcology Coin",symbol:"Acol",decimals:18},networkId:118,rpc:["https://118.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.arcology.network/rpc"],shortName:"arcology",slip44:1,slug:"arcology-testnet",testnet:!0},a1t={chain:"ENULS",chainId:119,explorers:[{name:"enulsscan",url:"https://evmscan.nuls.io",standard:"EIP3091",icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"},infoURL:"https://nuls.io",name:"ENULS Mainnet",nativeCurrency:{name:"NULS",symbol:"NULS",decimals:18},networkId:119,rpc:["https://119.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmapi.nuls.io","https://evmapi2.nuls.io"],shortName:"enuls",slug:"enuls",testnet:!1},r1t={chain:"ENULS",chainId:120,explorers:[{name:"enulsscan",url:"https://beta.evmscan.nuls.io",standard:"EIP3091",icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"}}],faucets:["http://faucet.nuls.io"],icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"},infoURL:"https://nuls.io",name:"ENULS Testnet",nativeCurrency:{name:"NULS",symbol:"NULS",decimals:18},networkId:120,rpc:["https://120.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beta.evmapi.nuls.io","https://beta.evmapi2.nuls.io"],shortName:"enulst",slip44:1,slug:"enuls-testnet",testnet:!0},f1t={chain:"REAL",chainId:121,explorers:[{name:"realscan",url:"https://rclscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.rclsidechain.com/",name:"Realchain Mainnet",nativeCurrency:{name:"Realchain",symbol:"REAL",decimals:18},networkId:121,rpc:["https://121.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rcl-dataseed1.rclsidechain.com","https://rcl-dataseed2.rclsidechain.com","https://rcl-dataseed3.rclsidechain.com","https://rcl-dataseed4.rclsidechain.com","wss://rcl-dataseed1.rclsidechain.com/v1/","wss://rcl-dataseed2.rclsidechain.com/v1/","wss://rcl-dataseed3.rclsidechain.com/v1/","wss://rcl-dataseed4.rclsidechain.com/v1/"],shortName:"REAL",slip44:714,slug:"realchain",testnet:!1},i1t={chain:"FUSE",chainId:122,explorers:[{name:"blockscout",url:"https://explorer.fuse.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQg8aqyeaMfHvjzFDtZkb8dUNRYhFezPp8UYVc1HnLpRW/green.png",width:512,height:512,format:"png"},infoURL:"https://fuse.io/",name:"Fuse Mainnet",nativeCurrency:{name:"Fuse",symbol:"FUSE",decimals:18},networkId:122,redFlags:[],rpc:["https://122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.fuse.io","https://fuse.drpc.org","wss://fuse.drpc.org"],shortName:"fuse",slug:"fuse",testnet:!1},s1t={chain:"fuse",chainId:123,explorers:[],faucets:["https://get.fusespark.io"],features:[],icon:{url:"ipfs://QmQg8aqyeaMfHvjzFDtZkb8dUNRYhFezPp8UYVc1HnLpRW/green.png",width:512,height:512,format:"png"},infoURL:"https://docs.fuse.io/general/fuse-network-blockchain/fuse-testnet",name:"Fuse Sparknet",nativeCurrency:{name:"Spark",symbol:"SPARK",decimals:18},networkId:123,redFlags:[],rpc:["https://123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.fusespark.io"],shortName:"spark",slug:"fuse-sparknet",testnet:!0},o1t={chain:"DWU",chainId:124,explorers:[],faucets:[],infoURL:"https://decentralized-web.tech/dw_chain.php",name:"Decentralized Web Mainnet",nativeCurrency:{name:"Decentralized Web Utility",symbol:"DWU",decimals:18},networkId:124,rpc:["https://124.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://decentralized-web.tech/dw_rpc.php"],shortName:"dwu",slug:"decentralized-web",testnet:!1},c1t={chain:"OYchain",chainId:125,explorers:[{name:"OYchain Testnet Explorer",url:"https://explorer.testnet.oychain.io",standard:"none"}],faucets:["https://faucet.oychain.io"],infoURL:"https://www.oychain.io",name:"OYchain Testnet",nativeCurrency:{name:"OYchain Token",symbol:"OY",decimals:18},networkId:125,rpc:["https://125.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.oychain.io"],shortName:"OYchainTestnet",slip44:1,slug:"oychain-testnet",testnet:!0},d1t={chain:"OYchain",chainId:126,explorers:[{name:"OYchain Mainnet Explorer",url:"https://explorer.oychain.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXW5T2MaGHznXUmQEXoyJjcdmX7dhLbj5fnqvZZKqeKzA",width:677,height:237,format:"png"},infoURL:"https://www.oychain.io",name:"OYchain Mainnet",nativeCurrency:{name:"OYchain Token",symbol:"OY",decimals:18},networkId:126,rpc:["https://126.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.oychain.io"],shortName:"OYchainMainnet",slip44:126,slug:"oychain",testnet:!1},l1t={chain:"FETH",chainId:127,explorers:[],faucets:[],infoURL:"https://www.factory127.com",name:"Factory 127 Mainnet",nativeCurrency:{name:"Factory 127 Token",symbol:"FETH",decimals:18},networkId:127,rpc:[],shortName:"feth",slip44:127,slug:"factory-127",testnet:!1},u1t={chain:"Heco",chainId:128,explorers:[{name:"hecoinfo",url:"https://hecoinfo.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.hecochain.com",name:"Huobi ECO Chain Mainnet",nativeCurrency:{name:"Huobi ECO Chain Native Token",symbol:"HT",decimals:18},networkId:128,rpc:["https://128.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.hecochain.com","wss://ws-mainnet.hecochain.com"],shortName:"heco",slip44:1010,slug:"huobi-eco-chain",testnet:!1},p1t={chain:"INNOVATOR",chainId:129,explorers:[{name:"Innovator Explorer",url:"https://evm.innovatorchain.com",standard:"none",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmVJBGeFYZXMQqicNdzctMfvPN5CrtRrfZBTw3CEpkCBsS",width:1500,height:1500,format:"png"},infoURL:"https://innovatorchain.com",name:"Innovator Chain",nativeCurrency:{name:"INOV8",symbol:"INOV8",decimals:18},networkId:129,rpc:["https://129.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.innovatorchain.com"],shortName:"Innovator",slug:"innovator-chain",testnet:!1},h1t={chain:"tGRAM",chainId:131,explorers:[{name:"blockscout",url:"https://tokioscan-v2.engram.tech",standard:"EIP3091",icon:{url:"ipfs://bafkreidn7dolavrzgqxthydb6rt5iwuzm6cvkxqirzh2szarjspsdp4kyu",width:400,height:400,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreidn7dolavrzgqxthydb6rt5iwuzm6cvkxqirzh2szarjspsdp4kyu",width:400,height:400,format:"svg"},infoURL:"https://engramnet.io",name:"Engram Testnet",nativeCurrency:{name:"Engram Tokio Testnet",symbol:"tGRAM",decimals:18},networkId:131,rpc:["https://131.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tokioswift.engram.tech","https://tokio-archive.engram.tech"],shortName:"tgram",slug:"engram-testnet",testnet:!0},b1t={chain:"NFIC",chainId:132,explorers:[],faucets:[],infoURL:"https://namefi.io/",name:"Namefi Chain Mainnet",nativeCurrency:{name:"Namefi Coin",symbol:"NFIC",decimals:18},networkId:132,rpc:["https://132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chain.namefi.io"],shortName:"nfic",slug:"namefi-chain",testnet:!1},m1t={chain:"HashKey Chain Testnet",chainId:133,explorers:[],faucets:[],infoURL:"https://hashkey.cloud",name:"HashKey Chain Testnet",nativeCurrency:{name:"HashKey EcoPoints",symbol:"HSK",decimals:18},networkId:133,parent:{type:"L2",chain:"eip155-11155111"},rpc:[],shortName:"HSKT",slug:"hashkey-chain-testnet",testnet:!0,title:"HashKey Chain Testnet"},y1t={chain:"Bellecour",chainId:134,explorers:[{name:"blockscout",url:"https://blockscout.bellecour.iex.ec",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUYKpVmZL4aS3TEZLG5wbrRJ6exxLiwm1rejfGYYNicfb",width:155,height:155,format:"png"},infoURL:"https://iex.ec",name:"iExec Sidechain",nativeCurrency:{name:"xRLC",symbol:"xRLC",decimals:18},networkId:134,rpc:["https://134.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bellecour.iex.ec"],shortName:"rlc",slug:"iexec-sidechain",testnet:!1},g1t={chain:"Alyx Chain Testnet",chainId:135,explorers:[{name:"alyx testnet scan",url:"https://testnet.alyxscan.com",standard:"EIP3091"}],faucets:["https://faucet.alyxchain.com"],icon:{url:"ipfs://bafkreifd43fcvh77mdcwjrpzpnlhthounc6b4u645kukqpqhduaveatf6i",width:2481,height:2481,format:"png"},infoURL:"https://www.alyxchain.com",name:"Alyx Chain Testnet",nativeCurrency:{name:"Alyx Testnet Native Token",symbol:"ALYX",decimals:18},networkId:135,rpc:["https://135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.alyxchain.com"],shortName:"AlyxTestnet",slip44:1,slug:"alyx-chain-testnet",testnet:!0},v1t={chain:"Deamchain",chainId:136,explorers:[{name:"Deamchain Block Explorer",url:"https://scan.deamchain.com",standard:"EIP3091",icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"},infoURL:"https://deamchain.com",name:"Deamchain Mainnet",nativeCurrency:{name:"Deamchain Native Token",symbol:"DEAM",decimals:18},networkId:136,rpc:["https://136.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.deamchain.com"],shortName:"deam",slug:"deamchain",testnet:!1},z7={chain:"Polygon",chainId:137,explorers:[{name:"polygonscan",url:"https://polygonscan.com",standard:"EIP3091"},{name:"dexguru",url:"https://polygon.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/polygon/512.png",width:512,height:512,format:"png"},infoURL:"https://polygon.technology/",name:"Polygon Mainnet",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},networkId:137,redFlags:[],rpc:["https://137.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://polygon-mainnet.infura.io/v3/${INFURA_API_KEY}","https://polygon-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}","https://polygon-rpc.com/","https://rpc-mainnet.matic.network","https://matic-mainnet.chainstacklabs.com","https://rpc-mainnet.maticvigil.com","https://rpc-mainnet.matic.quiknode.pro","https://matic-mainnet-full-rpc.bwarelabs.com","https://polygon-bor-rpc.publicnode.com","wss://polygon-bor-rpc.publicnode.com","https://polygon.gateway.tenderly.co","wss://polygon.gateway.tenderly.co","https://polygon.drpc.org","wss://polygon.drpc.org"],shortName:"matic",slip44:966,slug:"polygon",testnet:!1},w1t={chain:"dfiometa",chainId:138,ens:{registry:"0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85"},explorers:[{name:"Blockscout Explorer",url:"https://blockscout.defi-oracle.io",standard:"none"},{name:"Quorum Explorer",url:"https://explorer.defi-oracle.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmYrMRnjQJcNkYq9AvZ2FQ9kzYj9szzP4YDmyNA1ybd8xE",width:1e3,height:1043,format:"png"},infoURL:"https://info.defi-oracle.io/",name:"Defi Oracle Meta Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1,rpc:["https://138.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.defi-oracle.io","wss://wss.defi-oracle.io"],shortName:"dfio-meta-main",slip44:60,slug:"defi-oracle-meta",testnet:!1},T1t={chain:"WOOP",chainId:139,explorers:[{name:"wikiwoop",url:"https://explorer.wikiwoop.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qma7LpnkGjAN1dwL6VTXUYqzySNxjLg4br7J8UE4yZWYec",width:310,height:310,format:"png"},infoURL:"https://wikiwoop.com",name:"WoopChain Mainnet",nativeCurrency:{name:"WoopCoin",symbol:"WOOC",decimals:18},networkId:139,rpc:["https://139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.woop.ai/rpc"],shortName:"woop",slug:"woopchain",testnet:!1},x1t={chain:"Eter",chainId:140,explorers:[],faucets:[],icon:{url:"ipfs://bafybeibexfskndvhn5xtrcmpjoifp2ufnzgwiwbfrjcxat55alergskkve",width:122,height:133,format:"svg"},infoURL:"https://eternalcoin.io",name:"EternalCoin Mainnet",nativeCurrency:{name:"Eternal",symbol:"Eter",decimals:18},networkId:140,rpc:["https://140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.eternalcoin.io/v1","ws://mainnet.eternalcoin.io/v1/ws"],shortName:"Eter",slug:"eternalcoin",testnet:!1},E1t={chain:"OPENPIECE",chainId:141,explorers:[{name:"Belly Scan",url:"https://testnet.bellyscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmVTahJkdSH3HPYsJMK2GmqfWZjLyxE7cXy1aHEnHU3vp2",width:250,height:250,format:"png"},infoURL:"https://cryptopiece.online",name:"Openpiece Testnet",nativeCurrency:{name:"Belly",symbol:"BELLY",decimals:18},networkId:141,rpc:["https://141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.openpiece.io"],shortName:"OPtest",slip44:1,slug:"openpiece-testnet",testnet:!0},_1t={chain:"DAX",chainId:142,explorers:[],faucets:[],infoURL:"https://prodax.io/",name:"DAX CHAIN",nativeCurrency:{name:"Prodax",symbol:"DAX",decimals:18},networkId:142,rpc:["https://142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.prodax.io"],shortName:"dax",slug:"dax-chain",testnet:!1},A1t={chain:"PHI",chainId:144,explorers:[{name:"Phiscan",url:"https://phiscan.com",standard:"none",icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"},infoURL:"https://phi.network",name:"PHI Network v2",nativeCurrency:{name:"PHI",symbol:"\u03A6",decimals:18},networkId:144,rpc:["https://144.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.phi.network"],shortName:"PHI",slug:"phi-network-v2",testnet:!1},C1t={chain:"SETH",chainId:145,explorers:[{name:"blockscout",url:"https://explorer.soraai.bot",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://soraai.bot",name:"SoraAI Testnet",nativeCurrency:{name:"SoraETH",symbol:"SETH",decimals:18},networkId:145,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.soraai.bot"}]},rpc:["https://145.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.soraai.bot"],shortName:"SETH",slip44:1,slug:"soraai-testnet",testnet:!0},Ose={chain:"Flag",chainId:147,explorers:[{name:"Flag Mainnet Explorer",url:"https://flagscan.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeibcrxeavdxpwwmj4mc6hhp232nkrfbpvfpngcqux2v5rmoshycj3u",width:500,height:500,format:"png"},infoURL:"https://flagscan.xyz",name:"Flag Mainnet",nativeCurrency:{name:"Flag",symbol:"FLAG",decimals:18},networkId:147,rpc:["https://147.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.flagscan.xyz"],shortName:"FLAG",slug:"flag",testnet:!1},I1t={chain:"ShimmerEVM",chainId:148,explorers:[{name:"explorer",url:"https://explorer.evm.shimmer.network",standard:"EIP3091",icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:18},networkId:148,rpc:["https://148.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.shimmer.network"],shortName:"shimmerevm",slug:"shimmerevm",testnet:!1,title:"ShimmerEVM"},k1t={chain:"FIVENET",chainId:150,explorers:[{name:"SIX Scan fivenet",url:"https://sixscan.io/fivenet",standard:"none",icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"}}],faucets:["https://faucet.sixprotocol.net"],icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"},infoURL:"https://six.network/",name:"Six Protocol Testnet",nativeCurrency:{name:"SIX testnet evm token",symbol:"tSIX",decimals:18},networkId:150,rpc:["https://150.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-evm.fivenet.sixprotocol.net"],shortName:"sixt",slug:"six-protocol-testnet",testnet:!0},S1t={chain:"RBN",chainId:151,explorers:[],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network Mainnet",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:151,rpc:[],shortName:"rbn",slip44:824,slug:"redbelly-network",status:"incubating",testnet:!1},R1t={chain:"RBN",chainId:152,explorers:[],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network Devnet",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:152,rpc:[],shortName:"rbn-devnet",slug:"redbelly-network-devnet",status:"incubating",testnet:!1},M1t={chain:"RBN",chainId:153,explorers:[{name:"Redbelly Network Testnet Explorer",url:"https://explorer.testnet.redbelly.network",standard:"none"}],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network Testnet",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:153,rpc:["https://153.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://governors.testnet.redbelly.network"],shortName:"rbn-testnet",slip44:1,slug:"redbelly-network-testnet",status:"active",testnet:!0},B1t={chain:"RBN",chainId:154,explorers:[],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network TGE",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:154,rpc:[],shortName:"rbn-tge",slug:"redbelly-network-tge",testnet:!1},D1t={chain:"TENET",chainId:155,explorers:[{name:"TenetScan Testnet",url:"https://testnet.tenetscan.io",standard:"EIP3091",icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"}}],faucets:["https://faucet.testnet.tenet.org"],icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"},infoURL:"https://tenet.org/",name:"Tenet Testnet",nativeCurrency:{name:"TENET",symbol:"TENET",decimals:18},networkId:155,rpc:["https://155.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.tenet.org"],shortName:"tenet-testnet",slip44:1,slug:"tenet-testnet",testnet:!0,title:"Tenet Testnet"},P1t={chain:"OEBt",chainId:156,explorers:[{name:"OEScan explorer",url:"https://testnet.oescan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdoQUfYqtkWMfjtoPv2KWDY4MxDDSsyWgwXtCx6jfkezz",width:155,height:177,format:"png"},infoURL:"https://www.oeblock.com/",name:"OEBlock Testnet",nativeCurrency:{name:"OEBlock",symbol:"OEB",decimals:18},networkId:156,rpc:["https://156.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.oeblock.com"],shortName:"obe",slip44:1,slug:"oeblock-testnet",testnet:!0},L1t={chain:"Puppynet Shibarium",chainId:157,explorers:[{name:"puppyscan",url:"https://puppyscan.shib.io",standard:"none"}],faucets:["https://beta.shibariumtech.com/faucet"],icon:{url:"ipfs://QmYNVkoZgRjDBQzJz6kog9mA2yPzQFW2oSKvhnkwuBhLQE",width:2e3,height:2e3,format:"png"},infoURL:"https://shibariumecosystem.com",name:"Puppynet Shibarium",nativeCurrency:{name:"BONE",symbol:"BONE",decimals:18},networkId:157,rpc:["https://157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://puppynet.shibrpc.com"],shortName:"puppynet",slug:"puppynet-shibarium",testnet:!1},F1t={chain:"RBA",chainId:158,explorers:[{name:"Rbascan Explorer",url:"https://rbascan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTk1uhB9nvnvXifvwEPGFcdgsXRt4EXNjovUGyUmfFRcB",width:4e3,height:4e3,format:"png"},infoURL:"https://www.roburna.com/",name:"Roburna Mainnet",nativeCurrency:{name:"Roburna",symbol:"RBA",decimals:18},networkId:158,rpc:["https://158.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.roburna.com"],shortName:"rba",slug:"roburna",testnet:!1},N1t={chain:"RBAT",chainId:159,explorers:[{name:"Rbascan Testnet Explorer",url:"https://testnet.rbascan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTk1uhB9nvnvXifvwEPGFcdgsXRt4EXNjovUGyUmfFRcB",width:4e3,height:4e3,format:"png"},infoURL:"https://www.roburna.com/",name:"Roburna Testnet",nativeCurrency:{name:"Roburna",symbol:"RBAT",decimals:18},networkId:159,rpc:["https://159.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://preseed-testnet-1.roburna.com"],shortName:"rbat",slug:"roburna-testnet",testnet:!0},O1t={chain:"Eva",chainId:160,explorers:[],faucets:[],infoURL:"https://amax.network",name:"Armonia Eva Chain Mainnet",nativeCurrency:{name:"Armonia Multichain Native Token",symbol:"AMAX",decimals:18},networkId:160,rpc:["https://160.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evascan.io/api/eth-rpc/"],shortName:"eva",slug:"armonia-eva-chain",status:"incubating",testnet:!1},U1t={chain:"Wall-e",chainId:161,explorers:[{name:"blockscout - evascan",url:"https://testnet.evascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://amax.network",name:"Armonia Eva Chain Testnet",nativeCurrency:{name:"Armonia Multichain Native Token",symbol:"AMAX",decimals:18},networkId:161,rpc:["https://161.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.evascan.io/api/eth-rpc/"],shortName:"wall-e",slip44:1,slug:"armonia-eva-chain-testnet",testnet:!0},H1t={chain:"PHT",chainId:162,explorers:[],faucets:["https://discuss.lightstreams.network/t/request-test-tokens"],infoURL:"https://explorer.sirius.lightstreams.io",name:"Lightstreams Testnet",nativeCurrency:{name:"Lightstreams PHT",symbol:"PHT",decimals:18},networkId:162,rpc:["https://162.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.sirius.lightstreams.io"],shortName:"tpht",slip44:1,slug:"lightstreams-testnet",testnet:!0},z1t={chain:"PHT",chainId:163,explorers:[],faucets:[],infoURL:"https://explorer.lightstreams.io",name:"Lightstreams Mainnet",nativeCurrency:{name:"Lightstreams PHT",symbol:"PHT",decimals:18},networkId:163,rpc:["https://163.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.mainnet.lightstreams.io"],shortName:"pht",slug:"lightstreams",testnet:!1},W1t={chain:"Omni",chainId:164,explorers:[{name:"Omni X-Explorer",url:"https://explorer.testnet.omni.network",standard:"none"},{name:"Omni EVM Explorer on Blockscout",url:"https://omni-testnet.blockscout.com",standard:"EIP3091"},{name:"Omni EVM Explorer on Routescan",url:"https://testnet.omniscan.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://docs.omni.network",name:"Omni Testnet",nativeCurrency:{name:"Omni",symbol:"OMNI",decimals:18},networkId:164,rpc:["https://164.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.omni.network"],shortName:"omni_testnet",slip44:1,slug:"omni-testnet",status:"active",testnet:!0},q1t={chain:"Omni",chainId:165,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://docs.omni.network/",name:"Omni Testnet (Deprecated)",nativeCurrency:{name:"Omni",symbol:"OMNI",decimals:18},networkId:165,rpc:[],shortName:"omni_testnet_deprecated",slip44:1,slug:"omni-testnet-deprecated",status:"deprecated",testnet:!0},j1t={chain:"Omni",chainId:166,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://docs.omni.network/",name:"Omni",nativeCurrency:{name:"Omni",symbol:"OMNI",decimals:18},networkId:166,rpc:[],shortName:"omni",slip44:1,slug:"omni",status:"incubating",testnet:!1},G1t={chain:"ATOSHI",chainId:167,explorers:[{name:"atoshiscan",url:"https://scan.atoverse.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfFK6B4MFLrpSS46aLf7hjpt28poHFeTGEKEuH248Tbyj",width:200,height:200,format:"png"},infoURL:"https://atoshi.org",name:"Atoshi Testnet",nativeCurrency:{name:"ATOSHI",symbol:"ATOS",decimals:18},networkId:167,rpc:["https://167.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.atoshi.io/"],shortName:"atoshi",slip44:1,slug:"atoshi-testnet",testnet:!0},K1t={chain:"AIOZ",chainId:168,explorers:[{name:"AIOZ Network Explorer",url:"https://explorer.aioz.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRAGPFhvQiXgoJkui7WHajpKctGFrJNhHqzYdwcWt5V3Z",width:1024,height:1024,format:"png"},infoURL:"https://aioz.network",name:"AIOZ Network",nativeCurrency:{name:"AIOZ",symbol:"AIOZ",decimals:18},networkId:168,rpc:["https://168.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-dataseed.aioz.network"],shortName:"aioz",slip44:60,slug:"aioz-network",testnet:!1},Q1t={chain:"Manta Pacific",chainId:169,explorers:[{name:"manta-pacific Explorer",url:"https://pacific-explorer.manta.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTckcVTViRZ3NqT36MTt8AvgBSmudrbgU3pi8AaNtthoV",width:834,height:834,format:"png"},infoURL:"https://pacific-info.manta.network",name:"Manta Pacific Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:169,rpc:["https://169.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pacific-rpc.manta.network/http","https://manta-pacific.drpc.org","wss://manta-pacific.drpc.org"],shortName:"manta",slug:"manta-pacific",testnet:!1},V1t={chain:"ETH",chainId:170,explorers:[],faucets:["https://faucet-testnet.hscscan.com/"],infoURL:"https://www.hoosmartchain.com",name:"HOO Smart Chain Testnet",nativeCurrency:{name:"HOO",symbol:"HOO",decimals:18},networkId:170,rpc:["https://170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.hoosmartchain.com"],shortName:"hoosmartchain",slip44:1,slug:"hoo-smart-chain-testnet",testnet:!0},Y1t={chain:"Resil",chainId:172,explorers:[],faucets:["https://faucet.latam-blockchain.com"],infoURL:"https://latam-blockchain.com",name:"Latam-Blockchain Resil Testnet",nativeCurrency:{name:"Latam-Blockchain Resil Test Native Token",symbol:"usd",decimals:18},networkId:172,rpc:["https://172.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.latam-blockchain.com","wss://ws.latam-blockchain.com"],shortName:"resil",slip44:1,slug:"latam-blockchain-resil-testnet",testnet:!0},$1t={chain:"dcchain",chainId:176,explorers:[{name:"dcscan",url:"https://exp.dcnetio.cloud",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQsNtUoaKUHWaxFMBuCQwkX9WmKHz7iNotcZTFkWo7Qgt",width:1020,height:1022,format:"png"},infoURL:"https://www.dcnetio.cloud",name:"DC Mainnet",nativeCurrency:{name:"DC Native Token",symbol:"DCT",decimals:18},networkId:176,rpc:["https://176.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dcnetio.cloud","wss://ws.dcnetio.cloud"],shortName:"dcchain",slug:"dc",testnet:!1},J1t={chain:"AME",chainId:180,explorers:[{name:"AME Scan",url:"https://amescan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://amechain.io/",name:"AME Chain Mainnet",nativeCurrency:{name:"AME",symbol:"AME",decimals:18},networkId:180,rpc:["https://180.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.amechain.io/"],shortName:"ame",slug:"ame-chain",testnet:!1},X1t={chain:"ETH",chainId:185,explorers:[{name:"blockscout",url:"https://explorer.mintchain.io",standard:"EIP3091",icon:{url:"ipfs://QmVfsiKWkiYzxoq1j2Ri3yLYGvgHJBPybVEPsgyw5kqsMN",width:96,height:96,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVfsiKWkiYzxoq1j2Ri3yLYGvgHJBPybVEPsgyw5kqsMN",width:96,height:96,format:"png"},infoURL:"https://www.mintchain.io",name:"Mint Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:185,rpc:["https://185.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mintchain.io","https://global.rpc.mintchain.io","https://asia.rpc.mintchain.io"],shortName:"mint",slug:"mint",testnet:!1},Z1t={chain:"Seele",chainId:186,explorers:[{name:"seeleview",url:"https://seeleview.net",standard:"none"}],faucets:[],infoURL:"https://seelen.pro/",name:"Seele Mainnet",nativeCurrency:{name:"Seele",symbol:"Seele",decimals:18},networkId:186,rpc:["https://186.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.seelen.pro/"],shortName:"Seele",slug:"seele",testnet:!1},ect={chain:"BMC",chainId:188,explorers:[{name:"Blockmeta",url:"https://bmc.blockmeta.com",standard:"none"}],faucets:[],infoURL:"https://bmc.bytom.io/",name:"BMC Mainnet",nativeCurrency:{name:"BTM",symbol:"BTM",decimals:18},networkId:188,rpc:["https://188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bmcchain.com/"],shortName:"BMC",slug:"bmc",testnet:!1},tct={chain:"BMC",chainId:189,explorers:[{name:"Blockmeta",url:"https://bmctestnet.blockmeta.com",standard:"none"}],faucets:[],infoURL:"https://bmc.bytom.io/",name:"BMC Testnet",nativeCurrency:{name:"BTM",symbol:"BTM",decimals:18},networkId:189,rpc:["https://189.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bmcchain.com"],shortName:"BMCT",slip44:1,slug:"bmc-testnet",testnet:!0},nct={chain:"FFG",chainId:191,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreihsas2rwakc7lllmtb4pcgwutlel2woibmqmhd4aiin342zgtpmwy",width:512,height:512,format:"png"},infoURL:"https://filefilego.com",name:"FileFileGo",nativeCurrency:{name:"FFG",symbol:"FFG",decimals:18},networkId:191,rpc:["https://191.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.filefilego.com/rpc"],shortName:"ffg",slug:"filefilego",testnet:!1},act={chain:"CEM",chainId:193,explorers:[{name:"cemscan",url:"https://cemscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://cemblockchain.com/",name:"Crypto Emergency",nativeCurrency:{name:"Crypto Emergency",symbol:"CEM",decimals:18},networkId:193,rpc:["https://193.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cemchain.com"],shortName:"cem",slug:"crypto-emergency",testnet:!1},rct={chain:"X Layer",chainId:195,explorers:[{name:"OKLink",url:"https://www.oklink.com/xlayer-test",standard:"EIP3091"}],faucets:["https://www.okx.com/xlayer/faucet"],features:[],icon:{url:"ipfs://QmSLkiAAr6VtJ6jEqEzz3QdZtVEHzR6Az7E4XD8qXwjuio",width:1e3,height:1e3,format:"png"},infoURL:"https://www.okx.com/xlayer",name:"X Layer Testnet",nativeCurrency:{name:"X Layer Global Utility Token in testnet",symbol:"OKB",decimals:18},networkId:195,rpc:["https://195.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.xlayer.tech","https://xlayertestrpc.okx.com"],shortName:"tokb",slip44:1,slug:"x-layer-testnet",status:"active",testnet:!0},fct={chain:"X Layer",chainId:196,explorers:[{name:"OKLink",url:"https://www.oklink.com/xlayer",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmSLkiAAr6VtJ6jEqEzz3QdZtVEHzR6Az7E4XD8qXwjuio",width:1e3,height:1e3,format:"png"},infoURL:"https://www.okx.com/xlayer",name:"X Layer Mainnet",nativeCurrency:{name:"X Layer Global Utility Token",symbol:"OKB",decimals:18},networkId:196,rpc:["https://196.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xlayer.tech","https://xlayerrpc.okx.com"],shortName:"okb",slug:"x-layer",status:"active",testnet:!1},ict={chain:"NEUTR",chainId:197,explorers:[{name:"blockscout",url:"https://testnet.neutrinoschain.com",standard:"EIP3091"}],faucets:["https://neutrinoschain.com/faucet"],infoURL:"https://docs.neutrinoschain.com",name:"Neutrinos TestNet",nativeCurrency:{name:"Neutrinos",symbol:"NEUTR",decimals:18},networkId:197,rpc:["https://197.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.neutrinoschain.com"],shortName:"NEUTR",slip44:1,slug:"neutrinos-testnet",testnet:!0},sct={chain:"Bit",chainId:198,explorers:[{name:"Bitchain Scan",url:"https://explorer.bitchain.biz",standard:"EIP3091"}],faucets:[],infoURL:"https://www.bitchain.biz/",name:"Bitchain Mainnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:198,rpc:["https://198.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitchain.biz/"],shortName:"bit",slug:"bitchain",testnet:!1},oct={chain:"BTTC",chainId:199,explorers:[{name:"BitTorrent Chain Explorer",url:"https://bttcscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://bt.io",name:"BitTorrent Chain Mainnet",nativeCurrency:{name:"BitTorrent",symbol:"BTT",decimals:18},networkId:199,rpc:["https://199.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bt.io","https://bittorrent.drpc.org","wss://bittorrent.drpc.org"],shortName:"BTT",slug:"bittorrent-chain",testnet:!1},cct={chain:"AOX",chainId:200,explorers:[{name:"blockscout",url:"https://blockscout.com/xdai/arbitrum",standard:"EIP3091"}],faucets:[],infoURL:"https://xdaichain.com",name:"Arbitrum on xDai",nativeCurrency:{name:"xDAI",symbol:"xDAI",decimals:18},networkId:200,parent:{type:"L2",chain:"eip155-100"},rpc:["https://200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://arbitrum.xdaichain.com/"],shortName:"aox",slug:"arbitrum-on-xdai",testnet:!1},dct={chain:"MOAC",chainId:201,explorers:[{name:"moac testnet explorer",url:"https://testnet.moac.io",standard:"none"}],faucets:[],infoURL:"https://moac.io",name:"MOAC testnet",nativeCurrency:{name:"MOAC",symbol:"mc",decimals:18},networkId:201,rpc:["https://201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gateway.moac.io/testnet"],shortName:"moactest",slip44:1,slug:"moac-testnet",testnet:!0},lct={chain:"EdgelessTestnet",chainId:202,explorers:[{name:"Edgeless Explorer",url:"https://testnet.explorer.edgeless.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://edgeless.network",name:"Edgeless Testnet",nativeCurrency:{name:"Edgeless Wrapped Eth",symbol:"EwEth",decimals:18},networkId:202,rpc:["https://202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.edgeless.network/http"],shortName:"edgeless-testnet",slug:"edgeless-testnet",testnet:!0},uct={chain:"opBNB",chainId:204,explorers:[{name:"opbnbscan",url:"https://mainnet.opbnbscan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmXxTwwfYzagtJqvWreUDoq4pKz3A22YmAi7c3hcgZp5Rt/bnb-bnb-logo.png",width:96,height:96,format:"png"},infoURL:"https://opbnb.bnbchain.org/en",name:"opBNB Mainnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"BNB",decimals:18},networkId:204,redFlags:[],rpc:["https://204.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://opbnb-mainnet-rpc.bnbchain.org","https://opbnb-mainnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3","wss://opbnb-mainnet.nodereal.io/ws/v1/64a9df0874fb4a93b9d0a3849de012d3","https://opbnb-mainnet.nodereal.io/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","wss://opbnb-mainnet.nodereal.io/ws/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","https://opbnb-rpc.publicnode.com","wss://opbnb-rpc.publicnode.com","https://opbnb.drpc.org","wss://opbnb.drpc.org"],shortName:"obnb",slip44:714,slug:"opbnb",testnet:!1},pct={chain:"VinuChain Testnet",chainId:206,explorers:[{name:"VinuScan Testnet",url:"https://testnet.vinuscan.com",standard:"none",icon:{url:"ipfs://bafkreiayq7a5qncxzlilfnvpgzt4pwfxbof2qrqr2nyd2suztfummpty4i",width:2e3,height:2e3,format:"jpg"}}],faucets:[],icon:{url:"ipfs://bafkreidtie4srt52ry67wd3dpxhklmug2ozrawvf3jdlljveinp3frutra",width:2e3,height:392,format:"png"},infoURL:"https://vitainu.org",name:"VinuChain Testnet",nativeCurrency:{name:"VinuChain",symbol:"VC",decimals:18},networkId:206,rpc:["https://206.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vinufoundation-rpc.com"],shortName:"VCTEST",slip44:1,slug:"vinuchain-testnet",testnet:!0},hct={chain:"VinuChain",chainId:207,explorers:[{name:"VinuScan",url:"https://vinuscan.com",standard:"none",icon:{url:"ipfs://bafkreiayq7a5qncxzlilfnvpgzt4pwfxbof2qrqr2nyd2suztfummpty4i",width:2e3,height:2e3,format:"jpg"}}],faucets:[],icon:{url:"ipfs://bafybeiderli6uaaxk7eboyf7g4abnybgrkbglmqbkmf25z57ode7zdzmvy",width:613,height:613,format:"png"},infoURL:"https://vitainu.org",name:"VinuChain Network",nativeCurrency:{name:"VinuChain",symbol:"VC",decimals:18},networkId:207,rpc:["https://207.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vinuchain-rpc.com"],shortName:"VC",slug:"vinuchain-network",testnet:!1},bct={chain:"utx",chainId:208,explorers:[],faucets:[],infoURL:"https://structx.io",name:"Structx Mainnet",nativeCurrency:{name:"Notes",symbol:"utx",decimals:18},networkId:208,rpc:["https://208.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.structx.io"],shortName:"utx",slug:"structx",testnet:!1},mct={chain:"BTN",chainId:210,explorers:[{name:"Bitnet Explorer",url:"https://btnscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmS9h3nFiCzaBLnBNw8Wot4U7vvEVK45EQfi8nxH4nvrmz",width:512,height:512,format:"png"},infoURL:"https://bitnet.money",name:"Bitnet",nativeCurrency:{name:"Bitnet",symbol:"BTN",decimals:18},networkId:210,rpc:["https://210.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitnet.money","https://rpc.btnscan.com"],shortName:"BTN",slug:"bitnet",testnet:!1},yct={chain:"EDI",chainId:211,explorers:[],faucets:["http://faucet.freight.sh"],infoURL:"https://freighttrust.com",name:"Freight Trust Network",nativeCurrency:{name:"Freight Trust Native",symbol:"0xF",decimals:18},networkId:0,rpc:["https://211.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://13.57.207.168:3435","https://app.freighttrust.net/ftn/${API_KEY}"],shortName:"EDI",slug:"freight-trust-network",testnet:!1},gct={chain:"MAPO",chainId:212,explorers:[{name:"maposcan",url:"https://testnet.maposcan.io",standard:"EIP3091"}],faucets:["https://faucet.mapprotocol.io"],infoURL:"https://mapprotocol.io/",name:"MAPO Makalu",nativeCurrency:{name:"Makalu MAPO",symbol:"MAPO",decimals:18},networkId:212,rpc:["https://212.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.maplabs.io"],shortName:"makalu",slug:"mapo-makalu",testnet:!0,title:"MAPO Testnet Makalu"},vct={chain:"B2",chainId:213,explorers:[{name:"B2 Hub Mainnet Explorer",url:"https://hub-explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Hub Mainnet",nativeCurrency:{name:"BSquared Token",symbol:"B2",decimals:18},networkId:213,rpc:["https://213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hub-rpc.bsquared.network"],shortName:"B2Hub-mainnet",slug:"b2-hub",testnet:!1},wct={chain:"Shinarium",chainId:214,explorers:[{name:"shinascan",url:"https://shinascan.shinarium.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiadbavrwcial76vs5ovhyykyaobteltuhliqcthdairbja4klwzhu",width:1e3,height:1e3,format:"png"},infoURL:"https://shinarium.org",name:"Shinarium Mainnet",nativeCurrency:{name:"Shina Inu",symbol:"SHI",decimals:18},networkId:214,rpc:["https://214.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.shinarium.org"],shortName:"shinarium",slug:"shinarium",testnet:!1},Tct={chain:"SIN2",chainId:217,explorers:[{name:"siriusnet explorer",url:"https://scan.siriusnet.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafybeicxuxdzrzpwsil4owqmn7wpwka2rqsohpfqmukg57pifzyxr5om2q",width:100,height:100,format:"png"},infoURL:"https://siriusnet.io",name:"SiriusNet V2",nativeCurrency:{name:"MCD",symbol:"MCD",decimals:18},networkId:217,rpc:["https://217.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc2.siriusnet.io"],shortName:"SIN2",slug:"siriusnet-v2",testnet:!1},xct={chain:"SOTER",chainId:218,explorers:[],faucets:[],infoURL:"https://www.soterone.com",name:"SoterOne Mainnet old",nativeCurrency:{name:"SoterOne Mainnet Ether",symbol:"SOTER",decimals:18},networkId:218,rpc:["https://218.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.soter.one"],shortName:"SO1-old",slug:"soterone-old",status:"deprecated",testnet:!1},Ect={chain:"Flag",chainId:220,explorers:[{name:"flagscan",url:"https://scan.flagscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmXo2p1i4zsbTNEu41EjjrhdmbKFDGHEHeADXZ3x2fgNKE/1682003789585.jpeg",width:200,height:200,format:"jpeg"},infoURL:"https://flagblockchain.com/",name:"Flag Mainnet",nativeCurrency:{name:"Flag",symbol:"Flag",decimals:18},networkId:220,redFlags:[],rpc:["https://220.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.flagscan.io/"],shortName:"Flag",slug:"flag-flag",testnet:!1},_ct={chain:"ASK",chainId:222,explorers:[],faucets:[],infoURL:"https://permission.io/",name:"Permission",nativeCurrency:{name:"ASK",symbol:"ASK",decimals:18},networkId:2221,rpc:["https://222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain-api-mainnet.permission.io/rpc"],shortName:"ASK",slip44:2221,slug:"permission",status:"deprecated",testnet:!1},Act={chain:"B2",chainId:223,explorers:[{name:"blockscout",url:"https://explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Mainnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:223,parent:{type:"L2",chain:"eip155-213",bridges:[{url:"https://www.bsquared.network/bridge"}]},rpc:["https://223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.b2-rpc.com","https://rpc.bsquared.network","https://b2-mainnet.alt.technology","https://b2-mainnet-public.s.chainbase.com"],shortName:"B2-mainnet",slug:"b2",testnet:!1,title:"B2 Mainnet"},Cct={chain:"VRD",chainId:224,explorers:[{name:"Viridis Testnet",url:"https://testnet.vrd.network",standard:"EIP3091"}],faucets:["https://faucet.vrd.network"],icon:{url:"ipfs://QmPdxcJwPogfZdec7UAqxeatRxrivEktpP1ftJBTeJQTdR",width:3e3,height:2e3,format:"png"},infoURL:"https://viridis.network",name:"Viridis Testnet",nativeCurrency:{name:"Viridis Token",symbol:"VRD",decimals:18},networkId:224,rpc:["https://224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.vrd.network"],shortName:"VRD-Testnet",slug:"viridis-testnet",testnet:!0},Ict={chain:"LA",chainId:225,explorers:[{name:"blockscout",url:"https://scan.lachain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},infoURL:"https://lachain.io",name:"LACHAIN Mainnet",nativeCurrency:{name:"LA",symbol:"LA",decimals:18},networkId:225,rpc:["https://225.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.lachain.io"],shortName:"LA",slug:"lachain",testnet:!1},kct={chain:"TLA",chainId:226,explorers:[{name:"blockscout",url:"https://scan-test.lachain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},infoURL:"https://lachain.io",name:"LACHAIN Testnet",nativeCurrency:{name:"TLA",symbol:"TLA",decimals:18},networkId:226,rpc:["https://226.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.lachain.io"],shortName:"TLA",slip44:1,slug:"lachain-testnet",testnet:!0},Sct={chain:"FHE",chainId:228,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://mindnetwork.xyz",name:"Mind Network Mainnet",nativeCurrency:{name:"FHE",symbol:"FHE",decimals:18},networkId:228,rpc:["https://228.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc_mainnet.mindnetwork.xyz","wss://rpc_mainnet.mindnetwork.xyz"],shortName:"fhe",slug:"mind-network",testnet:!1},Rct={chain:"SDX",chainId:230,explorers:[{name:"SwapDEX",url:"https://evm.swapdex.network",standard:"none"}],faucets:[],infoURL:"https://swapdex.network/",name:"SwapDEX",nativeCurrency:{name:"SwapDEX",symbol:"SDX",decimals:18},networkId:230,rpc:["https://230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.swapdex.network","wss://ss.swapdex.network"],shortName:"SDX",slug:"swapdex",testnet:!1},Mct={chain:"Jumbo",chainId:234,explorers:[{name:"ProtoJumbo",url:"https://protojumbo.jumbochain.org",standard:"EIP3091"}],faucets:["https://protojumbo.jumbochain.org/faucet-smart"],features:[{name:"EIP155"}],infoURL:"https://jumbochain.org",name:"ProtoJumbo Testnet",nativeCurrency:{name:"JNFTC",symbol:"JNFTC",decimals:18},networkId:234,rpc:["https://234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnode.jumbochain.org"],shortName:"ProtoJumbo",slip44:1,slug:"protojumbo-testnet",testnet:!0},Bct={chain:"Deamchain",chainId:236,explorers:[{name:"Deamchain Testnet Explorer",url:"https://testnet-scan.deamchain.com",standard:"EIP3091",icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"}}],faucets:["https://faucet.deamchain.com"],icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"},infoURL:"https://deamchain.com",name:"Deamchain Testnet",nativeCurrency:{name:"Deamchain Native Token",symbol:"DEAM",decimals:18},networkId:236,rpc:["https://236.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.deamchain.com"],shortName:"deamtest",slip44:1,slug:"deamchain-testnet",testnet:!0},Dct={chain:"ETH",chainId:238,explorers:[{name:"Blast Mainnet",url:"https://scan.blastblockchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdHpjiepU2Q4bt4kR48tKHPgaQW57Sb6UVFgLh4MCyg6U",width:595,height:582,format:"png"},infoURL:"https://docs.blastblockchain.com",name:"Blast Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:238,rpc:["https://238.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blastblockchain.com"],shortName:"blast",slug:"blast",testnet:!1},Pct={chain:"Plinga",chainId:242,explorers:[{name:"plgscan",url:"https://www.plgscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeibpvlod5nyev6wyuvp6pbestmgvru3ovbadsul32odpno26xwld6y",width:1039,height:1022,format:"svg"},infoURL:"https://www.plinga.technology/",name:"Plinga Mainnet",nativeCurrency:{name:"Plinga",symbol:"PLINGA",decimals:18},networkId:242,rpc:["https://242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcurl.mainnet.plgchain.com","https://rpcurl.plgchain.blockchain.evmnode.online","https://rpcurl.mainnet.plgchain.plinga.technology"],shortName:"plgchain",slug:"plinga",testnet:!1},Lct={chain:"Energy Web Chain",chainId:246,explorers:[{name:"blockscout",url:"https://explorer.energyweb.org",standard:"none"}],faucets:[],infoURL:"https://energyweb.org",name:"Energy Web Chain",nativeCurrency:{name:"Energy Web Token",symbol:"EWT",decimals:18},networkId:246,rpc:["https://246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.energyweb.org","wss://rpc.energyweb.org/ws"],shortName:"ewt",slip44:246,slug:"energy-web-chain",testnet:!1},Fct={chain:"Oasys",chainId:248,explorers:[{name:"blockscout",url:"https://explorer.oasys.games",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmYcGHTPheBwLv9zoJfQAJ7NB6MCtXe2zV7XqPyiTJg3WP/Oasys_Large%20Logo%20Black.png",width:1250,height:1250,format:".png"},infoURL:"https://oasys.games",name:"Oasys Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:248,redFlags:[],rpc:["https://248.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.oasys.games"],shortName:"OAS",slug:"oasys",testnet:!1},THe={chain:"FTM",chainId:250,explorers:[{name:"ftmscan",url:"https://ftmscan.com",standard:"EIP3091",icon:{url:"ipfs://QmRqbK449Fo9sJ3xMpkPbg6uV1weQj4yVV1xNMP9cdPmjf",width:73,height:73,format:"png"}},{name:"dexguru",url:"https://fantom.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"},infoURL:"https://fantom.foundation",name:"Fantom Opera",nativeCurrency:{name:"Fantom",symbol:"FTM",decimals:18},networkId:250,redFlags:[],rpc:["https://250.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ftm.tools","https://fantom-rpc.publicnode.com","wss://fantom-rpc.publicnode.com","https://fantom.drpc.org","wss://fantom.drpc.org"],shortName:"ftm",slug:"fantom",testnet:!1},Nct={chain:"FRAX",chainId:252,explorers:[{name:"fraxscan",url:"https://fraxscan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmQLJk5G7zF8ZDxSxkRcpHqEqcifrJEhGmEKC6zwyPXWAw/fraxchain.png",width:512,height:512,format:"PNG"},infoURL:"https://mainnet.frax.com",name:"Fraxtal",nativeCurrency:{name:"Frax Ether",symbol:"frxETH",decimals:18},networkId:252,redFlags:[],rpc:["https://252.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.frax.com"],shortName:"fraxtal",slug:"fraxtal",status:"active",testnet:!1},Oct={chain:"ETH",chainId:255,explorers:[{name:"blockscout",url:"https://blockscout.kroma.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"},infoURL:"https://kroma.network",name:"Kroma",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:255,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://kroma.network/bridge"}]},redFlags:[],rpc:["https://255.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.kroma.network","https://1rpc.io/kroma","https://rpc-kroma.rockx.com"],shortName:"kroma",slug:"kroma",testnet:!1},Uct={chain:"Heco",chainId:256,explorers:[],faucets:["https://scan-testnet.hecochain.com/faucet"],infoURL:"https://testnet.hecoinfo.com",name:"Huobi ECO Chain Testnet",nativeCurrency:{name:"Huobi ECO Chain Test Native Token",symbol:"htt",decimals:18},networkId:256,rpc:["https://256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.hecochain.com","wss://ws-testnet.hecochain.com"],shortName:"hecot",slug:"huobi-eco-chain-testnet",testnet:!0},Hct={chain:"Setheum",chainId:258,explorers:[],faucets:[],infoURL:"https://setheum.xyz",name:"Setheum",nativeCurrency:{name:"Setheum",symbol:"SETM",decimals:18},networkId:258,rpc:[],shortName:"setm",slug:"setheum",testnet:!1},zct={chain:"Neonlink",chainId:259,explorers:[{name:"Neon Blockchain Explorer",url:"https://scan.neonlink.io",standard:"EIP3091",icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"},infoURL:"https://neonlink.io",name:"Neonlink Mainnet",nativeCurrency:{name:"Neonlink Native Token",symbol:"NEON",decimals:18},networkId:259,rpc:["https://259.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.neonlink.io"],shortName:"neon",slug:"neonlink",testnet:!1},Wct={chain:"SUR",chainId:262,explorers:[{name:"Surnet Explorer",url:"https://explorer.surnet.org",standard:"EIP3091",icon:{url:"ipfs://QmbUcDQHCvheYQrWk9WFJRMW5fTJQmtZqkoGUed4bhCM7T",width:3e3,height:3e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbUcDQHCvheYQrWk9WFJRMW5fTJQmtZqkoGUed4bhCM7T",width:3e3,height:3e3,format:"png"},infoURL:"https://surnet.org",name:"SUR Blockchain Network",nativeCurrency:{name:"Suren",symbol:"SRN",decimals:18},networkId:1,rpc:["https://262.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sur.nilin.org"],shortName:"SUR",slug:"sur-blockchain-network",testnet:!1},qct={chain:"NEURA",chainId:266,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"},infoURL:"https://www.neuraprotocol.io/",name:"Neura",nativeCurrency:{name:"Ankr",symbol:"ANKR",decimals:18},networkId:266,rpc:[],shortName:"neura",slug:"neura",status:"incubating",testnet:!1,title:"Neura Mainnet"},jct={chain:"NEURA",chainId:267,explorers:[{name:"blockscout",url:"https://explorer.neura-testnet.ankr.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"ankrscan-neura",url:"https://testnet.explorer.neuraprotocol.io",standard:"EIP3091",icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"}}],faucets:["https://testnet.neuraprotocol.io/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"},infoURL:"https://www.neuraprotocol.io/",name:"Neura Testnet",nativeCurrency:{name:"Testnet Ankr",symbol:"ANKR",decimals:18},networkId:267,rpc:["https://267.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ankr.com/neura_testnet"],shortName:"tneura",slip44:1,slug:"neura-testnet",status:"active",testnet:!0,title:"Neura Testnet"},Gct={chain:"NEURA",chainId:268,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"},infoURL:"https://www.neuraprotocol.io/",name:"Neura Devnet",nativeCurrency:{name:"Devnet Ankr",symbol:"ANKR",decimals:18},networkId:268,rpc:[],shortName:"dneura",slip44:1,slug:"neura-devnet",status:"incubating",testnet:!1,title:"Neura Devnet"},Kct={chain:"HPB",chainId:269,explorers:[{name:"hscan",url:"https://hscan.org",standard:"EIP3091"}],faucets:["https://myhpbwallet.com/"],infoURL:"https://hpb.io",name:"High Performance Blockchain",nativeCurrency:{name:"High Performance Blockchain Ether",symbol:"HPB",decimals:18},networkId:269,rpc:["https://269.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hpbnode.com","wss://ws.hpbnode.com"],shortName:"hpb",slip44:269,slug:"high-performance-blockchain",testnet:!1},Qct={chain:"EGON",chainId:271,explorers:[{name:"EgonCoin Mainnet",url:"https://egonscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNZiMmzMQYjyGtNSghtzLg4UooYhDgMQsa677DAP5KsBg",width:512,height:512,format:"png"},infoURL:"https://egonscan.com",name:"EgonCoin Mainnet",nativeCurrency:{name:"EgonCoin",symbol:"EGON",decimals:18},networkId:271,rpc:["https://271.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.egonscan.com"],shortName:"EGONm",slug:"egoncoin",testnet:!1},Vct={chain:"LaChain",chainId:274,explorers:[{name:"LaChain Explorer",url:"https://explorer.lachain.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},name:"LaChain",nativeCurrency:{name:"LaCoin",symbol:"LAC",decimals:18},networkId:274,rpc:["https://274.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.mainnet.lachain.network","https://rpc2.mainnet.lachain.network","https://lachain.rpc-nodes.cedalio.dev"],shortName:"lachain",slug:"lachain-lachain",testnet:!1},Yct={chain:"FAI",chainId:278,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://xfair.ai",name:"xFair.AI Mainnet",nativeCurrency:{name:"FAI",symbol:"FAI",decimals:18},networkId:278,rpc:["https://278.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc_mainnet.xfair.ai","wss://rpc_mainnet.xfair.ai"],shortName:"fai",slug:"xfair-ai",testnet:!1},$ct={chain:"BPX",chainId:279,explorers:[],faucets:[],icon:{url:"ipfs://bafkreiatcu42wbjlo24mr35jou4awvsqpaqys6iv4kxgkjhno3haovsiaq",width:140,height:140,format:"svg"},infoURL:"https://bpxchain.cc",name:"BPX Blockchain",nativeCurrency:{name:"BPX",symbol:"BPX",decimals:18},networkId:279,rpc:["https://279.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.bpxchain.cc","https://bpx-dataseed.infinex.cc"],shortName:"bpx",slug:"bpx-blockchain",testnet:!1},Jct={chain:"ETH",chainId:280,explorers:[{name:"zkSync Era Block Explorer",url:"https://goerli.explorer.zksync.io",standard:"EIP3091",icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"},infoURL:"https://zksync.io/",name:"zkSync Era Goerli Testnet (deprecated)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:280,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zksync.io/"}]},redFlags:[],rpc:["https://280.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.era.zksync.dev"],shortName:"zksync-goerli",slip44:1,slug:"zksync-era-goerli-testnet-deprecated",status:"deprecated",testnet:!0},Xct={chain:"CronosZkEVMTestnet",chainId:282,explorers:[{name:"Cronos zkEVM Testnet Explorer",url:"https://zkevm-t0.cronos.org/explorer",standard:"none"}],faucets:["https://zkevm-t0.cronos.org/faucet"],infoURL:"https://docs.cronos.org/cronos-zkevm-chain/introduction-to-cronos-zkevm-chain-testnet",name:"Cronos zkEVM Testnet",nativeCurrency:{name:"Cronos zkEVM Test Coin",symbol:"TCRO",decimals:18},networkId:282,rpc:["https://282.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-zkevm-t0.cronos.org"],shortName:"zktcro",slip44:1,slug:"cronos-zkevm-testnet",testnet:!0},Zct={chain:"ETH",chainId:288,explorers:[{name:"Bobascan",url:"https://bobascan.com",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:288,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.boba.network","https://replica.boba.network","https://boba-ethereum.gateway.tenderly.co","https://gateway.tenderly.co/public/boba-ethereum","wss://boba-ethereum.gateway.tenderly.co/","wss://gateway.tenderly.co/public/boba-ethereum","https://boba-eth.drpc.org","wss://boba-eth.drpc.org"],shortName:"Boba",slug:"boba-network",testnet:!1},e6t={chain:"ETH",chainId:291,explorers:[{name:"orderlyscout",url:"https://explorer.orderly.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSpwp3RAVhZsErAQrCQxEmjnGqJQMigarzZbfqr9Ktakb",width:512,height:512,format:"png"},name:"Orderly Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:291,rpc:["https://291.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.orderly.network","https://l2-orderly-mainnet-0.t.conduit.xyz"],shortName:"orderly",slug:"orderly",testnet:!1},t6t={chain:"Hedera",chainId:295,explorers:[{name:"HashScan",url:"https://hashscan.io/mainnet",standard:"EIP3091"},{name:"Arkhia Explorer",url:"https://explorer.arkhia.io",standard:"none"},{name:"DragonGlass",url:"https://app.dragonglass.me",standard:"none"},{name:"Hedera Explorer",url:"https://hederaexplorer.io",standard:"none"},{name:"Ledger Works Explore",url:"https://explore.lworks.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Mainnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:295,rpc:["https://295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.hashio.io/api"],shortName:"hedera-mainnet",slip44:3030,slug:"hedera",testnet:!1},n6t={chain:"Hedera",chainId:296,explorers:[{name:"HashScan",url:"https://hashscan.io/testnet",standard:"EIP3091"},{name:"Arkhia Explorer",url:"https://explorer.arkhia.io",standard:"none"},{name:"DragonGlass",url:"https://app.dragonglass.me",standard:"none"},{name:"Hedera Explorer",url:"https://hederaexplorer.io",standard:"none"},{name:"Ledger Works Explore",url:"https://explore.lworks.io",standard:"none"}],faucets:["https://portal.hedera.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Testnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:296,rpc:["https://296.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.hashio.io/api"],shortName:"hedera-testnet",slip44:1,slug:"hedera-testnet",testnet:!0},a6t={chain:"Hedera",chainId:297,explorers:[{name:"HashScan",url:"https://hashscan.io/previewnet",standard:"EIP3091"}],faucets:["https://portal.hedera.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Previewnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:297,rpc:["https://297.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://previewnet.hashio.io/api"],shortName:"hedera-previewnet",slip44:3030,slug:"hedera-previewnet",testnet:!1},r6t={chain:"Hedera",chainId:298,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Localnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:298,rpc:[],shortName:"hedera-localnet",slip44:3030,slug:"hedera-localnet",testnet:!1},f6t={chain:"ETH",chainId:300,explorers:[{name:"zkSync Block Explorer",url:"https://sepolia.explorer.zksync.io",standard:"EIP3091",icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"},infoURL:"https://zksync.io/",name:"zkSync Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:300,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zksync.io/"}]},redFlags:["reusedChainId"],rpc:["https://300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.era.zksync.dev","https://zksync-sepolia.drpc.org","wss://zksync-sepolia.drpc.org"],shortName:"zksync-sepolia",slip44:1,slug:"zksync-sepolia-testnet",testnet:!0},i6t={chain:"Bobaopera",chainId:301,explorers:[{name:"Bobaopera block explorer",url:"https://blockexplorer.bobaopera.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobaopera",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:301,rpc:["https://301.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bobaopera.boba.network","wss://wss.bobaopera.boba.network","https://replica.bobaopera.boba.network","wss://replica-wss.bobaopera.boba.network"],shortName:"Bobaopera",slug:"bobaopera",status:"deprecated",testnet:!1},s6t={chain:"ETH",chainId:302,explorers:[{name:"zkCandy Block Explorer",url:"https://sepolia.explorer.zkcandy.io",standard:"EIP3091",icon:{url:"ipfs://bafkreib5jsvl6kxn2qvv4giag3l3e54d2wolo2lqbgkhivxu4cpjzi77eq",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://bafkreib5jsvl6kxn2qvv4giag3l3e54d2wolo2lqbgkhivxu4cpjzi77eq",width:512,height:512,format:"svg"},infoURL:"https://zkcandy.io/",name:"zkCandy Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:302,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sepolia.bridge.zkcandy.io/"}]},redFlags:["reusedChainId"],rpc:["https://302.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.rpc.zkcandy.io"],shortName:"zkcandy-sepolia",slug:"zkcandy-sepolia-testnet",testnet:!0},o6t={chain:"NCN",chainId:303,explorers:[{name:"neuroscan",url:"https://testnet.ncnscan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.neurochain.ai",name:"Neurochain Testnet",nativeCurrency:{name:"Neurochain",symbol:"tNCN",decimals:18},networkId:303,rpc:["https://303.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nc-rpc-test1.neurochain.io"],shortName:"ncnt",slip44:1,slug:"neurochain-testnet",testnet:!0},c6t={chain:"ZKSats",chainId:305,explorers:[{name:"blockscout",url:"https://explorer.zksats.io",standard:"EIP3091",icon:{url:"ipfs://QmaopiJuCSxRKZJHDkCu9w77x2HEmbNb3QeLC1SUavehEE",width:3072,height:3072,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaopiJuCSxRKZJHDkCu9w77x2HEmbNb3QeLC1SUavehEE",width:3072,height:3072,format:"png"},infoURL:"https://zksats.io",name:"ZKSats Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:305,rpc:["https://305.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.zksats.io"],shortName:"ZKSats-Mainnet",slug:"zksats",testnet:!1,title:"ZKSats Mainnet"},d6t={chain:"Lovely",chainId:307,explorers:[{name:"Lovely Network Testnet",url:"https://tscan.lovely.network",standard:"EIP3091"}],faucets:["https://faucet.lovely.network"],icon:{url:"ipfs://QmPB7uW7Wj8zWWdeuPnUHPJ5FhaiTL76tv4ZQ4oKWEpb1g",width:897,height:824,format:"png"},infoURL:"https://lovely.network",name:"Lovely Network Testnet",nativeCurrency:{name:"Lovely",symbol:"LOVELY",decimals:18},networkId:307,rpc:["https://307.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://trpc.lovely.network"],shortName:"LOVELY-Testnet",slug:"lovely-network-testnet",testnet:!0},l6t={chain:"FTH",chainId:308,explorers:[{name:"furthscan",url:"http://furthscan.com",standard:"EIP3091"},{name:"Furthscan Network Explorer",url:"http://furthscan.com/",standard:"standard",icon:{url:"ipfs://QmaZCiLBHGvQptmspWseHHs6L9iCHGKZbqVTqZ7Cf557Vg",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmaZCiLBHGvQptmspWseHHs6L9iCHGKZbqVTqZ7Cf557Vg",width:512,height:512,format:"png"},infoURL:"http://furthscan.com/",name:"Furtheon Network",nativeCurrency:{name:"Furtheon",symbol:"FTH",decimals:18},networkId:308,redFlags:[],rpc:["https://308.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.furtheon.org/","https://rpc.furtheon.org"],shortName:"FTH",slug:"furtheon-network",testnet:!1},u6t={chain:"WYZ",chainId:309,explorers:[{name:"wyzth",url:"http://24.199.108.65:4000",standard:"EIP3091",icon:{url:"ipfs://QmT5UMzAftM4mHCtk4pWX4sqyJCki88APbqECywrhJp91Q",width:324,height:82,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmeDfLgA5heAAXsU8kf5J23Y8up4uHN27uRBEAJFPMJEu7",width:48,height:48,format:"png"},infoURL:"https://wyzth.org/",name:"Wyzth Testnet",nativeCurrency:{name:"Wyzth",symbol:"WYZ",decimals:18},networkId:309,rpc:["https://309.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet3.wyzthchain.org/"],shortName:"wyz",slip44:1,slug:"wyzth-testnet",testnet:!0},p6t={chain:"OMAX Chain",chainId:311,explorers:[{name:"Omax Chain Explorer",url:"https://omaxray.com",standard:"EIP3091",icon:{url:"ipfs://Qmd7omPxrehSuxHHPMYd5Nr7nfrtjKdRJQEhDLfTb87w8G",width:500,height:500,format:"png"}}],faucets:["https://faucet.omaxray.com/"],icon:{url:"ipfs://Qmd7omPxrehSuxHHPMYd5Nr7nfrtjKdRJQEhDLfTb87w8G",width:500,height:500,format:"png"},infoURL:"https://www.omaxcoin.com/",name:"Omax Mainnet",nativeCurrency:{name:"OMAX COIN",symbol:"OMAX",decimals:18},networkId:311,rpc:["https://311.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainapi.omaxray.com"],shortName:"omax",slug:"omax",testnet:!1},h6t={chain:"NCN",chainId:313,explorers:[{name:"neuroscan",url:"https://ncnscan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.neurochain.ai",name:"Neurochain Mainnet",nativeCurrency:{name:"Neurochain",symbol:"NCN",decimals:18},networkId:313,rpc:["https://313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nc-rpc-prd1.neurochain.io","https://nc-rpc-prd2.neurochain.io"],shortName:"ncn",slug:"neurochain",testnet:!1},b6t={chain:"FIL",chainId:314,explorers:[{name:"Filfox",url:"https://filfox.info/en",standard:"none"},{name:"Beryx",url:"https://beryx.zondax.ch",standard:"none"},{name:"Glif Explorer",url:"https://explorer.glif.io",standard:"EIP3091"},{name:"Dev.storage",url:"https://dev.storage",standard:"none"},{name:"Filscan",url:"https://filscan.io",standard:"none"},{name:"Filscout",url:"https://filscout.io/en",standard:"none"}],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Mainnet",nativeCurrency:{name:"filecoin",symbol:"FIL",decimals:18},networkId:314,rpc:["https://314.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.node.glif.io/","https://rpc.ankr.com/filecoin","https://filecoin-mainnet.chainstacklabs.com/rpc/v1","https://filfox.info/rpc/v1","https://filecoin.drpc.org","wss://filecoin.drpc.org"],shortName:"filecoin",slip44:461,slug:"filecoin",testnet:!1},m6t={chain:"KCC",chainId:321,explorers:[{name:"KCC Explorer",url:"https://explorer.kcc.io/en",standard:"EIP3091"}],faucets:[],infoURL:"https://kcc.io",name:"KCC Mainnet",nativeCurrency:{name:"KuCoin Token",symbol:"KCS",decimals:18},networkId:321,rpc:["https://321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.kcc.network","https://kcc.mytokenpocket.vip","https://public-rpc.blockpi.io/http/kcc"],shortName:"kcs",slip44:641,slug:"kcc",testnet:!1},y6t={chain:"KCC",chainId:322,explorers:[{name:"kcc-scan-testnet",url:"https://scan-testnet.kcc.network",standard:"EIP3091"}],faucets:["https://faucet-testnet.kcc.network"],infoURL:"https://scan-testnet.kcc.network",name:"KCC Testnet",nativeCurrency:{name:"KuCoin Testnet Token",symbol:"tKCS",decimals:18},networkId:322,rpc:["https://322.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.kcc.network"],shortName:"kcst",slip44:1,slug:"kcc-testnet",testnet:!0},g6t={chain:"CVM",chainId:323,explorers:[{name:"Blockscout",url:"https://explorer.cosvm.net",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://cosvm.network",name:"Cosvm Mainnet",nativeCurrency:{name:"Cosvm",symbol:"CVM",decimals:18},networkId:323,rpc:["https://323.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cosvm.net"],shortName:"cvm",slug:"cosvm",testnet:!1},v6t={chain:"ETH",chainId:324,explorers:[{name:"zkSync Era Block Explorer",url:"https://explorer.zksync.io",standard:"EIP3091",icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"},infoURL:"https://zksync.io/",name:"zkSync Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:324,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zksync.io/"}]},rpc:["https://324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.era.zksync.io","https://zksync.drpc.org","wss://zksync.drpc.org"],shortName:"zksync",slug:"zksync",testnet:!1},w6t={chain:"Web3Q",chainId:333,explorers:[{name:"w3q-mainnet",url:"https://explorer.mainnet.web3q.io",standard:"EIP3091"}],faucets:[],infoURL:"https://web3q.io/home.w3q/",name:"Web3Q Mainnet",nativeCurrency:{name:"Web3Q",symbol:"W3Q",decimals:18},networkId:333,rpc:["https://333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.web3q.io:8545"],shortName:"w3q",slug:"web3q",testnet:!1},T6t={chain:"DFK",chainId:335,explorers:[{name:"ethernal",url:"https://explorer-test.dfkchain.com",standard:"none",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQB48m15TzhUFrmu56QCRQjkrkgUaKfgCmKE8o3RzmuPJ",width:500,height:500,format:"png"},infoURL:"https://defikingdoms.com",name:"DFK Chain Test",nativeCurrency:{name:"Jewel",symbol:"JEWEL",decimals:18},networkId:335,rpc:["https://335.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain-testnet/rpc"],shortName:"DFKTEST",slip44:1,slug:"dfk-chain-test",testnet:!0},x6t={chain:"SDN",chainId:336,explorers:[{name:"blockscout",url:"https://blockscout.com/shiden",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"subscan",url:"https://shiden.subscan.io",standard:"none",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQySjAoWHgk3ou1yvBi2TrTcgH6KhfGiU7GcrLzrAeRkE",width:250,height:250,format:"png"},infoURL:"https://shiden.astar.network/",name:"Shiden",nativeCurrency:{name:"Shiden",symbol:"SDN",decimals:18},networkId:336,rpc:["https://336.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://shiden.api.onfinality.io/public","https://shiden-rpc.dwellir.com","https://shiden.public.blastapi.io","wss://shiden.api.onfinality.io/public-ws","wss://shiden.public.blastapi.io","wss://shiden-rpc.dwellir.com"],shortName:"sdn",slug:"shiden",testnet:!1},E6t={chain:"CRO",chainId:338,explorers:[{name:"Cronos Testnet Explorer",url:"https://explorer.cronos.org/testnet",standard:"none"}],faucets:["https://cronos.org/faucet"],infoURL:"https://cronos.org",name:"Cronos Testnet",nativeCurrency:{name:"Cronos Test Coin",symbol:"TCRO",decimals:18},networkId:338,rpc:["https://338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-t3.cronos.org","https://cronos-testnet.drpc.org","wss://cronos-testnet.drpc.org"],shortName:"tcro",slip44:1,slug:"cronos-testnet",testnet:!0},_6t={chain:"Theta",chainId:361,explorers:[{name:"Theta Mainnet Explorer",url:"https://explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Mainnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:361,rpc:["https://361.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api.thetatoken.org/rpc"],shortName:"theta-mainnet",slug:"theta",testnet:!1},A6t={chain:"Theta",chainId:363,explorers:[{name:"Theta Sapphire Testnet Explorer",url:"https://guardian-testnet-sapphire-explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Sapphire Testnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:363,rpc:["https://363.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api-sapphire.thetatoken.org/rpc"],shortName:"theta-sapphire",slip44:1,slug:"theta-sapphire-testnet",testnet:!0},C6t={chain:"Theta",chainId:364,explorers:[{name:"Theta Amber Testnet Explorer",url:"https://guardian-testnet-amber-explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Amber Testnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:364,rpc:["https://364.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api-amber.thetatoken.org/rpc"],shortName:"theta-amber",slip44:1,slug:"theta-amber-testnet",testnet:!0},I6t={chain:"Theta",chainId:365,explorers:[{name:"Theta Testnet Explorer",url:"https://testnet-explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Testnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:365,rpc:["https://365.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api-testnet.thetatoken.org/rpc"],shortName:"theta-testnet",slip44:1,slug:"theta-testnet",testnet:!0},k6t={chain:"PLS",chainId:369,ens:{registry:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},explorers:[{name:"blockscout",url:"https://scan.pulsechain.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"otterscan",url:"https://otter.pulsechain.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://pulsechain.com/",name:"PulseChain",nativeCurrency:{name:"Pulse",symbol:"PLS",decimals:18},networkId:369,redFlags:[],rpc:["https://369.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evex.cloud/pulserpc","https://rpc.pulsechain.com","wss://rpc.pulsechain.com","https://pulsechain-rpc.publicnode.com","wss://pulsechain-rpc.publicnode.com","https://rpc-pulsechain.g4mm4.io","wss://rpc-pulsechain.g4mm4.io"],shortName:"pls",slip44:60,slug:"pulsechain",status:"active",testnet:!1},S6t={chain:"tCNT",chainId:371,explorers:[{name:"blockscout",url:"https://explorer-testnet.theconsta.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfQ1yae6uvXgBSwnwJM4Mtp8ctH66tM6mB1Hsgu4XvsC9",width:2e3,height:2e3,format:"png"},infoURL:"http://theconsta.com",name:"Consta Testnet",nativeCurrency:{name:"tCNT",symbol:"tCNT",decimals:18},networkId:371,rpc:["https://371.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.theconsta.com"],shortName:"tCNT",slip44:1,slug:"consta-testnet",testnet:!0},R6t={chain:"FIL",chainId:380,explorers:[{name:"ZKAmoeba Test Explorer",url:"https://testnetexplorer.zkamoeba.com",standard:"EIP3091",icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"},infoURL:"https://testnet.zkamoeba.com",name:"ZKAmoeba Testnet",nativeCurrency:{name:"filecoin",symbol:"FIL",decimals:18},networkId:380,parent:{type:"L2",chain:"eip155-314",bridges:[{url:"https://testnet.zkamoeba.com/en/bridge"}]},rpc:["https://380.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.zkamoeba.com:4050/","https://rpc1.testnet.zkamoeba.com:4050/"],shortName:"zkamoeba-test",slug:"zkamoeba-testnet",testnet:!0},M6t={chain:"FIL",chainId:381,explorers:[{name:"ZKAmoeba Explorer",url:"https://explorer.zkamoeba.com",standard:"EIP3091",icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"},infoURL:"https://www.zkamoeba.com",name:"ZKAmoeba Mainnet",nativeCurrency:{name:"filecoin",symbol:"FIL",decimals:18},networkId:381,parent:{type:"L2",chain:"eip155-314",bridges:[{url:"https://www.zkamoeba.com/en/bridge"}]},rpc:["https://381.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.zkamoeba.com/rpc"],shortName:"zkamoeba",slug:"zkamoeba",testnet:!1},B6t={chain:"CRO",chainId:385,explorers:[],faucets:["https://pipa.lisinski.online"],infoURL:"https://lisinski.online",name:"Lisinski",nativeCurrency:{name:"Lisinski Ether",symbol:"LISINS",decimals:18},networkId:385,rpc:["https://385.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-bitfalls1.lisinski.online"],shortName:"lisinski",slug:"lisinski",testnet:!1},D6t={chain:"CADL",chainId:395,explorers:[{name:"CamDL Testnet Explorer",url:"https://explorer.testnet.camdl.gov.kh",standard:"EIP3091"}],faucets:["https://faucet.testnet.camdl.gov.kh/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmW5Fpb2Ywnfqcj4ibvpbKvPv5Mo5eseWdYZnnUvLkj2Hp",width:1453,height:1453,format:"png"},infoURL:"https://camdl.gov.kh/",name:"CamDL Testnet",nativeCurrency:{name:"CADL",symbol:"CADL",decimals:18},networkId:395,rpc:["https://395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.testnet.camdl.gov.kh/"],shortName:"camdl-testnet",slug:"camdl-testnet",status:"active",testnet:!0},P6t={chain:"NEAR",chainId:397,explorers:[{name:"Near Blocks",url:"https://nearblocks.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreiayxzdbu3e5ahri3ooieg6k6pjxrwkrkc2x5cnyadqeu5zbmaummq",width:639,height:639,format:"png"},infoURL:"https://near.org/",name:"Near Mainnet",nativeCurrency:{name:"NEAR",symbol:"NEAR",decimals:18},networkId:397,rpc:[],shortName:"near",slug:"near",testnet:!1},L6t={chain:"NEAR",chainId:398,explorers:[{name:"Near blocks",url:"https://testnet.nearblocks.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreiayxzdbu3e5ahri3ooieg6k6pjxrwkrkc2x5cnyadqeu5zbmaummq",width:639,height:639,format:"png"},infoURL:"https://aurora.dev",name:"Near Testnet",nativeCurrency:{name:"Testnet NEAR",symbol:"NEAR",decimals:18},networkId:398,rpc:[],shortName:"near-testnet",slug:"near-testnet",testnet:!0},F6t={chain:"Nativ3",chainId:399,explorers:[{name:"N3scan",url:"https://scan.nativ3.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVzJDndPui6qBSeJWe5kMLA56C3KpVhqqqk9xvVKE1DGb",width:256,height:256,format:"png"},infoURL:"https://nativ3.network",name:"Nativ3 Mainnet",nativeCurrency:{name:"USNT",symbol:"USNT",decimals:18},networkId:399,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.nativ3.network"}]},rpc:["https://399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.nativ3.network","wss://ws.nativ3.network"],shortName:"N3",slug:"nativ3",testnet:!1},N6t={chain:"HPN",chainId:400,explorers:[{name:"blockscout",url:"https://testnet.hyperonchain.com",standard:"EIP3091",icon:{url:"ipfs://QmWxhyxXTEsWH98v7M3ck4ZL1qQoUaHG4HgtgxzD2KJQ5m",width:540,height:541,format:"png"}}],faucets:["https://faucet.hyperonchain.com"],icon:{url:"ipfs://QmWxhyxXTEsWH98v7M3ck4ZL1qQoUaHG4HgtgxzD2KJQ5m",width:540,height:541,format:"png"},infoURL:"https://docs.hyperonchain.com",name:"HyperonChain TestNet",nativeCurrency:{name:"HyperonChain",symbol:"HPN",decimals:18},networkId:400,rpc:["https://400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.hyperonchain.com"],shortName:"hpn",slip44:1,slug:"hyperonchain-testnet",testnet:!0},O6t={chain:"OZONE",chainId:401,explorers:[{name:"OZONE Scan",url:"https://testnet.ozonescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbM4weV8Bk6c9yNhosYntkVw39SNZtCHYGgWyXTxkevZ8",width:1600,height:1600,format:"png"},infoURL:"https://ozonechain.io",name:"Ozone Chain Testnet",nativeCurrency:{name:"OZONE",symbol:"OZO",decimals:18},networkId:401,rpc:["https://401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.testnet.ozonechain.io"],shortName:"ozo_tst",slip44:1,slug:"ozone-chain-testnet",testnet:!0},U6t={chain:"SYNDR",chainId:404,explorers:[{name:"Syndr L3 Explorer",url:"https://explorer.syndr.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibsl7iuxeibovp7uddigbus3lyse2f7n4s2lomgvf33fmgyxjwq5i",width:1e3,height:1e3,format:"png"},infoURL:"https://syndr.com",name:"Syndr L3",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:404,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.syndr.com"}]},rpc:["https://404.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.syndr.com","wss://rpc.syndr.com/ws"],shortName:"syndr-l3",slug:"syndr-l3",testnet:!1,title:"Syndr L3 Rollup"},H6t={chain:"OmegaNetwork",chainId:408,explorers:[],faucets:[],features:[],icon:{url:"ipfs://bafkreig676zxfhwhcx5bvvvjxedx6ftr2wq4iiznrwm3c6ozrprbc4oxwm",width:512,height:512,format:"png"},name:"Omega Mainnet",nativeCurrency:{name:"Omega Network Coin",symbol:"OMN",decimals:18},networkId:408,redFlags:[],rpc:["https://408.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.omtch.com"],shortName:"OmegaNetwork",slug:"omega",testnet:!1},z6t={chain:"PC",chainId:411,explorers:[{name:"pepechain explorer",url:"https://explorer.pepe-chain.vip",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibjsc3gww3moti27za2hpyq552aevux3yv5y2ntdklksyr4v4uavy",width:512,height:512,format:"png"},infoURL:"https://pepe-chain.vip",name:"Pepe Chain Mainnet",nativeCurrency:{name:"Pepe",symbol:"PEPE",decimals:18},networkId:411,rpc:["https://411.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.pepe-chain.vip"],shortName:"pepe",slug:"pepe-chain",status:"active",testnet:!1},W6t={chain:"SX",chainId:416,explorers:[{name:"SX Network Explorer",url:"https://explorer.sx.technology",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSXLXqyr2H6Ja5XrmznXbWTEvF2gFaL8RXNXgyLmDHjAF",width:896,height:690,format:"png"},infoURL:"https://www.sx.technology",name:"SX Network Mainnet",nativeCurrency:{name:"SX Network",symbol:"SX",decimals:18},networkId:416,rpc:["https://416.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sx.technology"],shortName:"SX",slug:"sx-network",testnet:!1},q6t={chain:"LaTestnet",chainId:418,explorers:[{name:"LaTestnet Explorer",url:"https://testexplorer.lachain.network",standard:"EIP3091"}],faucets:["https://faucet.lachain.network"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},name:"LaTestnet",nativeCurrency:{name:"Test LaCoin",symbol:"TLA",decimals:18},networkId:418,rpc:["https://418.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.lachain.network","https://lachain-testnet.rpc-nodes.cedalio.dev"],shortName:"latestnet",slug:"latestnet",testnet:!0},j6t={chain:"ETH",chainId:420,explorers:[{name:"blockscout",url:"https://optimism-goerli.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/optimism/512.png",width:512,height:512,format:"png"},infoURL:"https://optimism.io",name:"Optimism Goerli Testnet",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:420,redFlags:[],rpc:["https://420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.optimism.io","https://optimism-goerli-rpc.publicnode.com","wss://optimism-goerli-rpc.publicnode.com","https://optimism-goerli.gateway.tenderly.co","wss://optimism-goerli.gateway.tenderly.co","https://optimism-testnet.drpc.org","wss://optimism-testnet.drpc.org"],shortName:"ogor",slip44:1,slug:"optimism-goerli",status:"deprecated",testnet:!0},G6t={chain:"VRD",chainId:422,explorers:[{name:"Viridis Mainnet",url:"https://explorer.vrd.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPdxcJwPogfZdec7UAqxeatRxrivEktpP1ftJBTeJQTdR",width:3e3,height:2e3,format:"png"},infoURL:"https://viridis.network",name:"Viridis Mainnet",nativeCurrency:{name:"Viridis Token",symbol:"VRD",decimals:18},networkId:422,rpc:["https://422.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.vrd.network"],shortName:"vrd",slug:"viridis",testnet:!1},K6t={chain:"ETH",chainId:424,explorers:[{name:"blockscout",url:"https://explorer.publicgoods.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUVJ7MLCEAfq3pHVPFLscqRMiyAY5biVgTkeDQCmAhHNS",width:574,height:574,format:"svg"},infoURL:"https://publicgoods.network/",name:"PGN (Public Goods Network)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:424,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.publicgoods.network"}]},rpc:["https://424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.publicgoods.network"],shortName:"PGN",slug:"pgn-public-goods-network",testnet:!1},Q6t={chain:"ZeethChain",chainId:427,explorers:[{name:"Zeeth Explorer",url:"https://explorer.zeeth.io",standard:"none"}],faucets:[],name:"Zeeth Chain",nativeCurrency:{name:"Zeeth Token",symbol:"ZTH",decimals:18},networkId:427,rpc:["https://427.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zeeth.io"],shortName:"zeeth",slug:"zeeth-chain",testnet:!1},V6t={chain:"Geso Verse",chainId:428,explorers:[{name:"Geso Verse Explorer",url:"https://explorer.verse.gesoten.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmb7oJY9zd9sTzxNNQNTVZQz2hkd1aA94mWm4cvXfJ9QxV",width:1280,height:1280,format:"png"},infoURL:"https://gesoten.com/",name:"Geso Verse",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:428,rpc:["https://428.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.verse.gesoten.com/"],shortName:"GSV",slug:"geso-verse",testnet:!1},Y6t={chain:"BYC",chainId:434,explorers:[{name:"Boyaa explorer",url:"https://explorer.mainnet.boyaa.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiapootrvggtigdlvgvk6srfseplpuowsqq3zpyup4j5yj5moxuala",width:500,height:500,format:"png"},infoURL:"https://boyaa.network",name:"Boyaa Mainnet",nativeCurrency:{name:"Boyaa mainnet native coin",symbol:"BYC",decimals:18},networkId:434,rpc:["https://434.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.mainnet.boyaa.network"],shortName:"BYC",slug:"boyaa",testnet:!1},$6t={chain:"ETH",chainId:443,explorers:[{name:"Ten Sepolia Rollup Explorer",url:"https://tenscan.io",standard:"none"}],faucets:[],features:[],infoURL:"https://ten.xyz",name:"Ten Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:443,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://bridge.ten.xyz"}]},redFlags:[],rpc:["https://443.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.ten.xyz/v1/","https://testnet.ten.xyz"],shortName:"ten-testnet",slip44:1,slug:"ten-testnet",testnet:!0,title:"Ten Sepolia Rollup Testnet"},J6t={chain:"ETH",chainId:444,explorers:[{name:"Synapse Chain Sepolia",url:"https://sepolia.synapsescan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmX2Z71QszaZvpMppdNWeCLqmeWk8NA6KMDLMqAt5VRyVi/synapse.webp",width:720,height:720,format:"webp"},infoURL:"https://synapseprotocol.com",name:"Synapse Chain Testnet",nativeCurrency:{name:"Sepolia ETH",symbol:"ETH",decimals:18},networkId:444,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://docs.synapseprotocol.com/synapse-chain/using-synapse-chain/bridging-to-synapse-chain"}]},redFlags:["reusedChainId"],rpc:["https://444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.synapseprotocol.com"],shortName:"synapse-sepolia",slip44:1,slug:"synapse-chain-testnet",status:"active",testnet:!0},X6t={chain:"ARZIO",chainId:456,explorers:[{name:"ARZIO Scan",url:"https://scan.arzio.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUwqGWGjjQweTprn5LBirAwRjYnteTiFLCVpSNHrfMmSL",width:150,height:150,format:"png"},infoURL:"https://chain.arzio.co",name:"ARZIO Chain",nativeCurrency:{name:"ARZIO",symbol:"AZO",decimals:18},networkId:456,rpc:["https://456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.arzio.co"],shortName:"arzio",slug:"arzio-chain",testnet:!1},Z6t={chain:"Areon",chainId:462,explorers:[{name:"AreonScan",url:"https://areonscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihs2nrnizpcuzjmuu2yi7wrtwd7qlqje46qnil5bnntfbfkb2roea",width:1e3,height:1e3,format:"png"},infoURL:"https://areon.network",name:"Areon Network Testnet",nativeCurrency:{name:"Areon",symbol:"TAREA",decimals:18},networkId:462,rpc:["https://462.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.areon.network","https://testnet-rpc2.areon.network","https://testnet-rpc3.areon.network","https://testnet-rpc4.areon.network","https://testnet-rpc5.areon.network"],shortName:"tarea",slip44:1,slug:"areon-network-testnet",testnet:!0},e5t={chain:"Areon",chainId:463,explorers:[{name:"AreonScan",url:"https://areonscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihs2nrnizpcuzjmuu2yi7wrtwd7qlqje46qnil5bnntfbfkb2roea",width:1e3,height:1e3,format:"png"},infoURL:"https://areon.network",name:"Areon Network Mainnet",nativeCurrency:{name:"Areon",symbol:"AREA",decimals:18},networkId:463,rpc:["https://463.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.areon.network","https://mainnet-rpc2.areon.network","https://mainnet-rpc3.areon.network","https://mainnet-rpc4.areon.network","https://mainnet-rpc5.areon.network"],shortName:"area",slug:"areon-network",testnet:!1},t5t={chain:"RUPX",chainId:499,explorers:[],faucets:[],infoURL:"https://www.rupaya.io",name:"Rupaya",nativeCurrency:{name:"Rupaya",symbol:"RUPX",decimals:18},networkId:499,rpc:[],shortName:"rupx",slip44:499,slug:"rupaya",testnet:!1},n5t={chain:"CAM",chainId:500,explorers:[{name:"blockexplorer",url:"https://suite.camino.network/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSEoUonisawfCvT3osysuZzbqUEHugtgNraePKWL8PKYa",width:768,height:768,format:"png"},infoURL:"https://camino.network/",name:"Camino C-Chain",nativeCurrency:{name:"Camino",symbol:"CAM",decimals:18},networkId:1e3,rpc:["https://500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.camino.network/ext/bc/C/rpc"],shortName:"Camino",slug:"camino-c-chain",testnet:!1},a5t={chain:"CAM",chainId:501,explorers:[{name:"blockexplorer",url:"https://suite.camino.network/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSEoUonisawfCvT3osysuZzbqUEHugtgNraePKWL8PKYa",width:768,height:768,format:"png"},infoURL:"https://camino.network/",name:"Columbus Test Network",nativeCurrency:{name:"Camino",symbol:"CAM",decimals:18},networkId:1001,rpc:["https://501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://columbus.camino.network/ext/bc/C/rpc"],shortName:"Columbus",slip44:1,slug:"columbus-test-network",testnet:!0},r5t={chain:"Syndicate",chainId:510,explorers:[],faucets:[],icon:{url:"ipfs://QmeSvQcD3XvLFAiMLoQSPbGK9JxVfbCWPBUTMLhhhzYPqX",width:16e3,height:16e3,format:"png"},infoURL:"https://syndicate.io",name:"Syndicate Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:510,rpc:["https://510.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.syndicate.io"],shortName:"syndicate-chain-mainnet",slug:"syndicate-chain",status:"incubating",testnet:!1,title:"Syndicate Chain"},f5t={chain:"AAC",chainId:512,explorers:[{name:"aacscan",url:"https://scan.acuteangle.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRUrz4dULaoaMpnqd8qXT7ehwz3aaqnYKY4ePsy7isGaF",width:512,height:512,format:"png"},infoURL:"https://www.acuteangle.com/",name:"Double-A Chain Mainnet",nativeCurrency:{name:"Acuteangle Native Token",symbol:"AAC",decimals:18},networkId:512,rpc:["https://512.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.acuteangle.com"],shortName:"aac",slip44:1512,slug:"double-a-chain",testnet:!1},i5t={chain:"AAC",chainId:513,explorers:[{name:"aacscan-testnet",url:"https://scan-testnet.acuteangle.com",standard:"EIP3091"}],faucets:["https://scan-testnet.acuteangle.com/faucet"],icon:{url:"ipfs://QmRUrz4dULaoaMpnqd8qXT7ehwz3aaqnYKY4ePsy7isGaF",width:512,height:512,format:"png"},infoURL:"https://www.acuteangle.com/",name:"Double-A Chain Testnet",nativeCurrency:{name:"Acuteangle Native Token",symbol:"AAC",decimals:18},networkId:513,rpc:["https://513.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.acuteangle.com"],shortName:"aact",slip44:1,slug:"double-a-chain-testnet",testnet:!0},s5t={chain:"GearZero",chainId:516,explorers:[],faucets:[],infoURL:"https://token.gearzero.ca/mainnet",name:"Gear Zero Network Mainnet",nativeCurrency:{name:"Gear Zero Network Native Token",symbol:"GZN",decimals:18},networkId:516,rpc:["https://516.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gzn.linksme.info"],shortName:"gz-mainnet",slip44:516,slug:"gear-zero-network",testnet:!1},o5t={chain:"XSC",chainId:520,explorers:[{name:"xscscan",url:"https://xscscan.pub",standard:"EIP3091"}],faucets:["https://xsc.pub/faucet"],icon:{url:"ipfs://QmNmAFgQKkjofaBR5mhB5ygE1Gna36YBVsGkgZQxrwW85s",width:98,height:96,format:"png"},infoURL:"https://xsc.pub/",name:"XT Smart Chain Mainnet",nativeCurrency:{name:"XT Smart Chain Native Token",symbol:"XT",decimals:18},networkId:1024,rpc:["https://520.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://datarpc1.xsc.pub","https://datarpc2.xsc.pub","https://datarpc3.xsc.pub"],shortName:"xt",slug:"xt-smart-chain",testnet:!1},c5t={chain:"FIRE",chainId:529,explorers:[],faucets:[],icon:{url:"ipfs://QmYjuztyURb3Fc6ZTLgCbwQa64CcVoigF5j9cafzuSbqgf",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Firechain Mainnet",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:529,rpc:["https://529.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.thefirechain.com"],shortName:"fire",slug:"firechain",status:"incubating",testnet:!1},d5t={chain:"Fxcore",chainId:530,explorers:[{name:"FunctionX Explorer",url:"https://fx-evm.functionx.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmauD5hzc5q1VgEU1nT4AGLCeV79CB8GgfnXXeeLmBZVHf",width:36,height:36,format:"png"},infoURL:"https://functionx.io/",name:"F(x)Core Mainnet Network",nativeCurrency:{name:"Function X",symbol:"FX",decimals:18},networkId:530,rpc:["https://530.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fx-json-web3.functionx.io:8545"],shortName:"FxCore",slug:"f-x-core-network",testnet:!1},l5t={chain:"Candle",chainId:534,explorers:[{name:"candleexplorer",url:"https://candleexplorer.com",standard:"EIP3091"}],faucets:[],infoURL:"https://candlelabs.org/",name:"Candle",nativeCurrency:{name:"CANDLE",symbol:"CNDL",decimals:18},networkId:534,rpc:["https://534.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://candle-rpc.com/","https://rpc.cndlchain.com"],shortName:"CNDL",slip44:674,slug:"candle",testnet:!1},u5t={chain:"OpTrust",chainId:537,explorers:[{name:"OpTrust explorer",url:"https://scan.optrust.io",standard:"none",icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"},infoURL:"https://optrust.io",name:"OpTrust Mainnet",nativeCurrency:{name:"BSC",symbol:"BNB",decimals:18},networkId:537,rpc:["https://537.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.optrust.io"],shortName:"optrust",slug:"optrust",testnet:!1},p5t={chain:"PAW",chainId:542,explorers:[{name:"PAWCHAIN Testnet",url:"https://pawscan.io",standard:"none"}],faucets:[],infoURL:"https://pawchainx.com/",name:"PAWCHAIN Testnet",nativeCurrency:{name:"PAW",symbol:"PAW",decimals:18},networkId:542,rpc:["https://542.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pawchainx.com/"],shortName:"PAW",slip44:1,slug:"pawchain-testnet",testnet:!0},h5t={chain:"Flow",chainId:545,explorers:[{name:"Flow Diver",url:"https://testnet.flowdiver.io",standard:"none"}],faucets:["https://testnet-faucet.onflow.org"],icon:{url:"ipfs://QmQFugEvsfU3ARjjJ7YRLJwSxMfTk54WWzrofekTRBKFaC",width:2e3,height:2e3,format:"png"},infoURL:"https://developers.flow.com/evm/about",name:"Testnet",nativeCurrency:{name:"FLOW",symbol:"FLOW",decimals:18},networkId:545,rpc:["https://545.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.evm.nodes.onflow.org"],shortName:"flow-testnet",slug:"testnet",testnet:!0},b5t={chain:"VELA1",chainId:555,explorers:[{name:"Vela1 Chain Mainnet Explorer",url:"https://exp.velaverse.io",standard:"EIP3091"}],faucets:[],infoURL:"https://velaverse.io",name:"Vela1 Chain Mainnet",nativeCurrency:{name:"CLASS COIN",symbol:"CLASS",decimals:18},networkId:555,rpc:["https://555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.velaverse.io"],shortName:"CLASS",slug:"vela1-chain",testnet:!1},m5t={chain:"TAO",chainId:558,explorers:[],faucets:[],infoURL:"https://tao.network",name:"Tao Network",nativeCurrency:{name:"Tao",symbol:"TAO",decimals:18},networkId:558,rpc:["https://558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.tao.network","http://rpc.testnet.tao.network:8545","https://rpc.tao.network","wss://rpc.tao.network"],shortName:"tao",slug:"tao-network",testnet:!0},y5t={chain:"DC",chainId:568,explorers:[{name:"dogechain testnet explorer",url:"https://explorer-testnet.dogechain.dog",standard:"EIP3091"}],faucets:["https://faucet.dogechain.dog"],icon:{url:"ipfs://QmNS6B6L8FfgGSMTEi2SxD3bK5cdmKPNtQKcYaJeRWrkHs",width:732,height:732,format:"png"},infoURL:"https://dogechain.dog",name:"Dogechain Testnet",nativeCurrency:{name:"Dogecoin",symbol:"DOGE",decimals:18},networkId:568,rpc:["https://568.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.dogechain.dog"],shortName:"dct",slip44:1,slug:"dogechain-testnet",testnet:!0},g5t={chain:"SYS",chainId:570,explorers:[{name:"Rollux Explorer",url:"https://explorer.rollux.com",standard:"EIP3091"}],faucets:["https://rollux.id/faucetapp"],infoURL:"https://rollux.com",name:"Rollux Mainnet",nativeCurrency:{name:"Syscoin",symbol:"SYS",decimals:18},networkId:570,rpc:["https://570.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rollux.com","wss://rpc.rollux.com/wss","https://rollux.rpc.syscoin.org","wss://rollux.rpc.syscoin.org/wss"],shortName:"sys-rollux",slug:"rollux",testnet:!1},v5t={chain:"MTC",chainId:571,explorers:[{name:"MetaExplorer",url:"https://explorer.metatime.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUH2Ph2hW4upvevEAGCaSo7nd8nthqMx5RrHcrnNZ9Y3g",width:512,height:512,format:"svg"},infoURL:"https://metatime.com/en",name:"MetaChain Mainnet",nativeCurrency:{name:"Metatime Coin",symbol:"MTC",decimals:18},networkId:571,rpc:["https://571.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metatime.com"],shortName:"metatime",slip44:571,slug:"metachain",testnet:!1},w5t={chain:"Filenova",chainId:579,explorers:[{name:"filenova explorer",url:"https://scan.filenova.org",standard:"none",icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"},infoURL:"https://filenova.org",name:"Filenova Mainnet",nativeCurrency:{name:"Filecoin",symbol:"FIL",decimals:18},networkId:579,rpc:["https://579.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.filenova.org"],shortName:"filenova",slug:"filenova",testnet:!1},T5t={chain:"ETH",chainId:588,explorers:[{name:"blockscout",url:"https://stardust-explorer.metis.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.metis.io",name:"Metis Stardust Testnet",nativeCurrency:{name:"tMetis",symbol:"METIS",decimals:18},networkId:588,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://bridge.metis.io"}]},rpc:["https://588.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://stardust.metis.io/?owner=588"],shortName:"metis-stardust",slip44:1,slug:"metis-stardust-testnet",status:"deprecated",testnet:!0},x5t={chain:"ASTR",chainId:592,explorers:[{name:"blockscout",url:"https://blockscout.com/astar",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"subscan",url:"https://astar.subscan.io",standard:"none",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://Qmdvmx3p6gXBCLUMU1qivscaTNkT6h3URdhUTZCHLwKudg",width:1e3,height:1e3,format:"png"},infoURL:"https://astar.network/",name:"Astar",nativeCurrency:{name:"Astar",symbol:"ASTR",decimals:18},networkId:592,redFlags:[],rpc:["https://592.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.astar.network","https://rpc.astar.network:8545"],shortName:"astr",slug:"astar",testnet:!1},E5t={chain:"mACA",chainId:595,explorers:[{name:"blockscout",url:"https://blockscout.mandala.aca-staging.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://acala.network",name:"Acala Mandala Testnet TC9",nativeCurrency:{name:"Acala Mandala Token",symbol:"mACA",decimals:18},networkId:595,rpc:["https://595.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-tc9.aca-staging.network","wss://eth-rpc-tc9.aca-staging.network"],shortName:"maca",slip44:1,slug:"acala-mandala-testnet-tc9",testnet:!0},_5t={chain:"KAR",chainId:596,explorers:[{name:"blockscout",url:"https://blockscout.karura-testnet.aca-staging.network",standard:"EIP3091"}],faucets:[],infoURL:"https://karura.network",name:"Karura Network Testnet",nativeCurrency:{name:"Karura Token",symbol:"KAR",decimals:18},networkId:596,rpc:["https://596.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-karura-testnet.aca-staging.network","wss://eth-rpc-karura-testnet.aca-staging.network"],shortName:"tkar",slip44:1,slug:"karura-network-testnet",testnet:!0},A5t={chain:"ACA",chainId:597,explorers:[{name:"blockscout",url:"https://blockscout.acala-dev.aca-dev.network",standard:"EIP3091"}],faucets:[],infoURL:"https://acala.network",name:"Acala Network Testnet",nativeCurrency:{name:"Acala Token",symbol:"ACA",decimals:18},networkId:597,rpc:["https://597.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-acala-testnet.aca-staging.network","wss://eth-rpc-acala-testnet.aca-staging.network"],shortName:"taca",slip44:1,slug:"acala-network-testnet",testnet:!0},C5t={chain:"ETH",chainId:599,explorers:[{name:"blockscout",url:"https://goerli.explorer.metisdevops.link",standard:"EIP3091"}],faucets:["https://goerli.faucet.metisdevops.link"],features:[],icon:{url:"ipfs://QmbWKNucbMtrMPPkHG5ZmVmvNUo8CzqHHcrpk1C2BVQsEG/2022_H-Brand_Stacked_WhiteGreen.svg",width:512,height:512,format:"svg"},infoURL:"https://www.metis.io",name:"Metis Goerli Testnet",nativeCurrency:{name:"Goerli Metis",symbol:"METIS",decimals:18},networkId:599,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://testnet-bridge.metis.io"}]},redFlags:[],rpc:["https://599.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.gateway.metisdevops.link"],shortName:"metis-goerli",slip44:1,slug:"metis-goerli-testnet",status:"deprecated",testnet:!0},I5t={chain:"MeshTestChain",chainId:600,explorers:[],faucets:[],name:"Meshnyan testnet",nativeCurrency:{name:"Meshnyan Testnet Native Token",symbol:"MESHT",decimals:18},networkId:600,rpc:[],shortName:"mesh-chain-testnet",slip44:1,slug:"meshnyan-testnet",testnet:!0},k5t={chain:"VINE",chainId:601,explorers:[{name:"Vine Explorer",url:"https://vne.network/rose",standard:"none",icon:{url:"ipfs://QmTPbbhH4CkQiQWm4JUh3J9o5w79vXjFZaMBW4DKNuSVU3",width:512,height:512,format:"png"}}],faucets:["https://vne.network/rose"],icon:{url:"ipfs://QmTPbbhH4CkQiQWm4JUh3J9o5w79vXjFZaMBW4DKNuSVU3",width:512,height:512,format:"png"},infoURL:"https://www.peer.inc",name:"Vine Testnet",nativeCurrency:{name:"VINE",symbol:"VNE",decimals:18},networkId:601,rpc:["https://601.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.vne.network"],shortName:"VINE",slug:"vine-testnet",testnet:!0},S5t={chain:"EIOB",chainId:612,explorers:[{name:"EIOB Explorer",url:"https://explorer.eiob.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfJLG2mXgSqKx2V3A2jzTwt4vkozvQTTXkRy3os27wEVm",width:48,height:48,format:"png"},name:"EIOB Mainnet",nativeCurrency:{name:"EIOB",symbol:"EIOB",decimals:18},networkId:612,rpc:["https://612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eiob.xyz"],shortName:"eiob",slug:"eiob",testnet:!1},R5t={chain:"GLQ Blockchain",chainId:614,explorers:[{name:"GLQ Explorer",url:"https://explorer.graphlinq.io",standard:"none"}],faucets:[],infoURL:"https://graphlinq.io",name:"Graphlinq Blockchain Mainnet",nativeCurrency:{name:"GLQ",symbol:"GLQ",decimals:18},networkId:614,rpc:["https://614.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://glq-dataseed.graphlinq.io"],shortName:"glq",slug:"graphlinq-blockchain",testnet:!1},M5t={chain:"Avocado",chainId:634,explorers:[{name:"avoscan",url:"https://avoscan.co",standard:"none",icon:{url:"ipfs://Qma9rJSgy32UL1iXtXKFZQJA6FjkcUcDU4HR6y13Wu1vjn",width:600,height:600,format:"png"}}],faucets:[],icon:{url:"ipfs://Qma9rJSgy32UL1iXtXKFZQJA6FjkcUcDU4HR6y13Wu1vjn",width:600,height:600,format:"png"},infoURL:"https://avocado.instadapp.io",name:"Avocado",nativeCurrency:{name:"USDC",symbol:"USDC",decimals:18},networkId:634,rpc:["https://634.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.avocado.instadapp.io"],shortName:"avocado",slug:"avocado",testnet:!1},B5t={chain:"Flow",chainId:646,explorers:[{name:"Flow Diver",url:"https://previewnet.flowdiver.io",standard:"none"}],faucets:["https://previewnet-faucet.onflow.org"],icon:{url:"ipfs://QmQFugEvsfU3ARjjJ7YRLJwSxMfTk54WWzrofekTRBKFaC",width:2e3,height:2e3,format:"png"},infoURL:"https://developers.flow.com/evm/about",name:"Previewnet",nativeCurrency:{name:"FLOW",symbol:"FLOW",decimals:18},networkId:646,rpc:["https://646.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://previewnet.evm.nodes.onflow.org"],shortName:"flow-previewnet",slug:"previewnet",testnet:!1},D5t={chain:"SX",chainId:647,explorers:[{name:"SX Network Toronto Explorer",url:"https://explorer.toronto.sx.technology",standard:"EIP3091"}],faucets:["https://faucet.toronto.sx.technology"],icon:{url:"ipfs://QmSXLXqyr2H6Ja5XrmznXbWTEvF2gFaL8RXNXgyLmDHjAF",width:896,height:690,format:"png"},infoURL:"https://www.sx.technology",name:"SX Network Testnet",nativeCurrency:{name:"SX Network",symbol:"SX",decimals:18},networkId:647,rpc:["https://647.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.toronto.sx.technology"],shortName:"SX-Testnet",slip44:1,slug:"sx-network-testnet",testnet:!0},P5t={chain:"ACE",chainId:648,explorers:[{name:"Endurance Scan",url:"https://explorer.endurance.fusionist.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ace.fusionist.io/",name:"Endurance Smart Chain Mainnet",nativeCurrency:{name:"Endurance Chain Native Token",symbol:"ACE",decimals:18},networkId:648,rpc:["https://648.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-endurance.fusionist.io/"],shortName:"ace",slug:"endurance-smart-chain",testnet:!1},L5t={chain:"Kalichain",chainId:653,explorers:[{name:"kalichain explorer",url:"https://explorer.kalichain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreieox7v337p3jfhd37dz74mq6mn3uk5i5475rmzpirmyp6ydcfzzqi",width:350,height:350,format:"png"},infoURL:"https://kalichain.com",name:"Kalichain Testnet",nativeCurrency:{name:"kalis",symbol:"KALIS",decimals:18},networkId:653,rpc:["https://653.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kalichain.com"],shortName:"kalichain",slug:"kalichain-testnet",testnet:!0},F5t={chain:"Kalichain",chainId:654,explorers:[{name:"kalichain explorer",url:"https://explorer.kalichain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreieox7v337p3jfhd37dz74mq6mn3uk5i5475rmzpirmyp6ydcfzzqi",width:350,height:350,format:"png"},infoURL:"https://kalichain.com",name:"Kalichain",nativeCurrency:{name:"kalis",symbol:"KALIS",decimals:18},networkId:654,rpc:["https://654.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.kalichain.com"],shortName:"kalichainMainnet",slug:"kalichain",testnet:!1},N5t={chain:"UltronSmartchain",chainId:662,explorers:[{name:"ultronsmartchain explorer",url:"https://scan.ultronsmartchain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTns2FXAqDCq1QJsocUBGjhxsgWYK7pFfD4UrRZ9JBsF1",width:50,height:50,format:"png"},infoURL:"https://ultronsmartchain.io",name:"UltronSmartchain",nativeCurrency:{name:"ulc",symbol:"ULC",decimals:18},networkId:662,rpc:["https://662.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ultronsmartchain.io"],shortName:"ultronsmartchain",slug:"ultronsmartchain",testnet:!1},O5t={chain:"PixieChain",chainId:666,explorers:[],faucets:["https://chain.pixie.xyz/faucet"],infoURL:"https://scan-testnet.chain.pixie.xyz",name:"Pixie Chain Testnet",nativeCurrency:{name:"Pixie Chain Testnet Native Token",symbol:"PCTT",decimals:18},networkId:666,rpc:["https://666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.chain.pixie.xyz","wss://ws-testnet.chain.pixie.xyz"],shortName:"pixie-chain-testnet",slip44:1,slug:"pixie-chain-testnet",testnet:!0},U5t={chain:"LAOS",chainId:667,explorers:[{name:"blockscout",url:"https://arrakis.gorengine.com",standard:"EIP3091",icon:{url:"ipfs://QmZ4YYcvhcaeotMPaGXC5Vab7JFaVkka37V8TiTJpT7Mak",width:586,height:558,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZ4YYcvhcaeotMPaGXC5Vab7JFaVkka37V8TiTJpT7Mak",width:586,height:558,format:"png"},infoURL:"https://www.laosfoundation.io/",name:"LAOS Arrakis",nativeCurrency:{name:"LAOS",symbol:"LAOS",decimals:18},networkId:667,rpc:["https://667.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://arrakis.gorengine.com/own","wss://arrakis.gorengine.com/own"],shortName:"laos",slug:"laos-arrakis",testnet:!0,title:"LAOS Testnet Arrakis"},H5t={chain:"JuncaChain",chainId:668,explorers:[{name:"JuncaScan",url:"https://scan.juncachain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://junca-cash.world",name:"JuncaChain",nativeCurrency:{name:"JuncaChain Native Token",symbol:"JGC",decimals:18},networkId:668,rpc:["https://668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.juncachain.com"],shortName:"junca",slug:"juncachain",testnet:!1},z5t={chain:"JuncaChain testnet",chainId:669,explorers:[{name:"JuncaScan",url:"https://scan-testnet.juncachain.com",standard:"EIP3091"}],faucets:["https://faucet-testnet.juncachain.com"],infoURL:"https://junca-cash.world",name:"JuncaChain testnet",nativeCurrency:{name:"JuncaChain Testnet Native Token",symbol:"JGCT",decimals:18},networkId:669,rpc:["https://669.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.juncachain.com","wss://ws-testnet.juncachain.com"],shortName:"juncat",slip44:1,slug:"juncachain-testnet",testnet:!0},W5t={chain:"KAR",chainId:686,explorers:[{name:"blockscout",url:"https://blockscout.karura.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://acala.network/karura",name:"Karura Network",nativeCurrency:{name:"Karura Token",symbol:"KAR",decimals:18},networkId:686,rpc:["https://686.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-karura.aca-api.network","wss://eth-rpc-karura.aca-api.network"],shortName:"kar",slip44:686,slug:"karura-network",testnet:!1},q5t={chain:"ETH",chainId:690,explorers:[{name:"blockscout",url:"https://explorer.redstone.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreieyaqgkgntvxuo5tnhgseladga5q6gutc37dab7kqqfdguhq7vkxq",width:5836,height:5836,format:"png"},infoURL:"https://redstone.xyz",name:"Redstone",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:690,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://redstone.xyz/deposit"}]},rpc:["https://690.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.redstonechain.com","wss://rpc.redstonechain.com"],shortName:"redstone",slug:"redstone",testnet:!1},j5t={chain:"SNS",chainId:700,explorers:[{name:"starscan",url:"https://avastar.info",standard:"EIP3091"}],faucets:[],infoURL:"https://info.avastar.cc",name:"Star Social Testnet",nativeCurrency:{name:"Social",symbol:"SNS",decimals:18},networkId:700,rpc:["https://700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://avastar.cc/ext/bc/C/rpc"],shortName:"SNS",slip44:1,slug:"star-social-testnet",testnet:!0},G5t={chain:"BCS",chainId:707,explorers:[{name:"BlockChain Station Explorer",url:"https://explorer.bcsdev.io",standard:"EIP3091"}],faucets:[],infoURL:"https://blockchainstation.io",name:"BlockChain Station Mainnet",nativeCurrency:{name:"BCS Token",symbol:"BCS",decimals:18},networkId:707,rpc:["https://707.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.bcsdev.io","wss://rpc-ws-mainnet.bcsdev.io"],shortName:"bcs",slug:"blockchain-station",testnet:!1},K5t={chain:"BCS",chainId:708,explorers:[{name:"BlockChain Station Explorer",url:"https://testnet.bcsdev.io",standard:"EIP3091"}],faucets:["https://faucet.bcsdev.io"],infoURL:"https://blockchainstation.io",name:"BlockChain Station Testnet",nativeCurrency:{name:"BCS Testnet Token",symbol:"tBCS",decimals:18},networkId:708,rpc:["https://708.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bcsdev.io","wss://rpc-ws-testnet.bcsdev.io"],shortName:"tbcs",slip44:1,slug:"blockchain-station-testnet",testnet:!0},Q5t={chain:"HIGHBURY",chainId:710,explorers:[{name:"Furya EVM Explorer",url:"https://explorer.furya.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiby27m6esbsjthmknckq5ktsaaj2z6hylzljbsmvx4fgezdra3q4m",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiby27m6esbsjthmknckq5ktsaaj2z6hylzljbsmvx4fgezdra3q4m",width:512,height:512,format:"png"},infoURL:"https://www.fury.black",name:"Highbury",nativeCurrency:{name:"Fury",symbol:"FURY",decimals:18},networkId:710,rpc:["https://710.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://highbury.furya.io","https://rest.furya.io"],shortName:"fury",slug:"highbury",testnet:!1},V5t={chain:"VRC",chainId:713,explorers:[{name:"vrcscan",url:"https://vrcscan.com",standard:"EIP3091"},{name:"dxbscan",url:"https://dxb.vrcscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmasMkZJ6m7y77fgY6SooNnrH3Y4a3vVYNDWe9T3KusxeU",width:512,height:512,format:"png"},infoURL:"https://vrccoin.com",name:"Vrcscan Mainnet",nativeCurrency:{name:"VRC Chain",symbol:"VRC",decimals:18},networkId:713,rpc:["https://713.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-5.vrcscan.com","https://rpc-mainnet-6.vrcscan.com","https://rpc-mainnet-7.vrcscan.com","https://rpc-mainnet-8.vrcscan.com"],shortName:"vrc",slug:"vrcscan",testnet:!1},Y5t={chain:"Shibarium",chainId:719,explorers:[{name:"shibscan",url:"https://puppyscan.shib.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYNVkoZgRjDBQzJz6kog9mA2yPzQFW2oSKvhnkwuBhLQE",width:2e3,height:2e3,format:"png"},infoURL:"https://beta.shibariumtech.com",name:"Shibarium Beta",nativeCurrency:{name:"BONE",symbol:"BONE",decimals:18},networkId:719,rpc:["https://719.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://puppynet.shibrpc.com"],shortName:"shibarium",slug:"shibarium-beta",testnet:!1},$5t={chain:"LYC",chainId:721,explorers:[{name:"blockscout",url:"https://explorer.lycanchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZsp3gnmHCJPw3qReiqV8P8Ct5Eidib4E5jDNfBUxYEgP",width:512,height:512,format:"png"},infoURL:"https://lycanchain.com",name:"Lycan Chain",nativeCurrency:{name:"Lycan",symbol:"LYC",decimals:18},networkId:721,rpc:["https://721.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lycanchain.com/","https://us-east.lycanchain.com","https://us-west.lycanchain.com","https://eu-north.lycanchain.com","https://eu-west.lycanchain.com","https://asia-southeast.lycanchain.com"],shortName:"LYC",slug:"lycan-chain",testnet:!1},J5t={chain:"BLU",chainId:727,explorers:[],faucets:[],infoURL:"https://www.blucrates.com",name:"Blucrates",nativeCurrency:{name:"Blucrates",symbol:"BLU",decimals:18},networkId:727,rpc:["https://727.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data.bluchain.pro"],shortName:"blu",slip44:727,slug:"blucrates",testnet:!1},X5t={chain:"Lovely",chainId:730,explorers:[{name:"Lovely Network Mainnet",url:"https://scan.lovely.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPB7uW7Wj8zWWdeuPnUHPJ5FhaiTL76tv4ZQ4oKWEpb1g",width:897,height:824,format:"png"},infoURL:"https://lovely.network",name:"Lovely Network Mainnet",nativeCurrency:{name:"Lovely",symbol:"LOVELY",decimals:18},networkId:730,rpc:["https://730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lovely.network"],shortName:"LOVELY",slug:"lovely-network",testnet:!1},Z5t={chain:"Canto Tesnet",chainId:740,explorers:[{name:"Canto Tesnet Explorer (Neobase)",url:"https://testnet-explorer.canto.neobase.one",standard:"none"}],faucets:[],infoURL:"https://canto.io",name:"Canto Testnet",nativeCurrency:{name:"Canto",symbol:"CANTO",decimals:18},networkId:740,rpc:["https://740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth.plexnode.wtf/"],shortName:"tcanto",slip44:1,slug:"canto-testnet",status:"deprecated",testnet:!0},edt={chain:"VSCT",chainId:741,explorers:[{name:"ventionscan",url:"https://testnet.ventionscan.io",standard:"EIP3091"}],faucets:["https://faucet.vention.network"],icon:{url:"ipfs://QmcNepHmbmHW1BZYM3MFqJW4awwhmDqhUPRXXmRnXwg1U4",width:250,height:250,format:"png"},infoURL:"https://testnet.ventionscan.io",name:"Vention Smart Chain Testnet",nativeCurrency:{name:"VNT",symbol:"VNT",decimals:18},networkId:741,rpc:["https://741.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node-testnet.vention.network"],shortName:"vsct",slip44:1,slug:"vention-smart-chain-testnet",testnet:!0},tdt={chain:"SPAY",chainId:742,explorers:[{name:"Script Explorer",url:"https://explorer.script.tv",standard:"none"}],faucets:[],infoURL:"https://token.script.tv",name:"Script Testnet",nativeCurrency:{name:"Script",symbol:"SPAY",decimals:18},networkId:742,rpc:["https://742.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testeth-rpc-api.script.tv/rpc"],shortName:"SPAY",slip44:1,slug:"script-testnet",testnet:!0},ndt={chain:"Flow",chainId:747,explorers:[{name:"Flow Diver",url:"https://flowdiver.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQFugEvsfU3ARjjJ7YRLJwSxMfTk54WWzrofekTRBKFaC",width:2e3,height:2e3,format:"png"},infoURL:"https://developers.flow.com/evm/about",name:"Mainnet",nativeCurrency:{name:"FLOW",symbol:"FLOW",decimals:18},networkId:747,rpc:["https://747.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.evm.nodes.onflow.org"],shortName:"flow-mainnet",slug:"flow-mainnet",testnet:!1},adt={chain:"QOM",chainId:766,explorers:[{name:"QL1 Mainnet Explorer",url:"https://mainnet.qom.one",standard:"EIP3091",icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"},infoURL:"https://qom.one",name:"QL1",nativeCurrency:{name:"Shiba Predator",symbol:"QOM",decimals:18},networkId:766,rpc:["https://766.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.qom.one"],shortName:"qom",slug:"ql1",status:"incubating",testnet:!1},rdt={chain:"OpenChain Testnet",chainId:776,explorers:[{name:"OPEN CHAIN TESTNET",url:"https://testnet.openchain.info",standard:"none"}],faucets:["https://faucet.openchain.info/"],infoURL:"https://testnet.openchain.info/",name:"OpenChain Testnet",nativeCurrency:{name:"Openchain Testnet",symbol:"TOPC",decimals:18},networkId:776,rpc:[],shortName:"opc",slip44:1,slug:"openchain-testnet",testnet:!0},fdt={chain:"cheapETH",chainId:777,explorers:[],faucets:[],infoURL:"https://cheapeth.org/",name:"cheapETH",nativeCurrency:{name:"cTH",symbol:"cTH",decimals:18},networkId:777,rpc:["https://777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.cheapeth.org/rpc"],shortName:"cth",slug:"cheapeth",testnet:!1},idt={chain:"MAAL",chainId:786,explorers:[{name:"maalscan",url:"https://maalscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiexfqfe2x4impvwhra3xxa5eb25gv25zi3kkaoatdnld7wbxdzf2a",width:512,height:512,format:"png"},infoURL:"https://www.maalchain.com/",name:"MAAL Chain",nativeCurrency:{name:"MAAL",symbol:"MAAL",decimals:18},networkId:786,rpc:["https://786.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1-mainnet.maalscan.io/","https://node2-mainnet.maalscan.io/","https://node3-mainnet.maalscan.io/"],shortName:"maal",slug:"maal-chain",testnet:!1},sdt={chain:"ACA",chainId:787,explorers:[{name:"blockscout",url:"https://blockscout.acala.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://acala.network",name:"Acala Network",nativeCurrency:{name:"Acala Token",symbol:"ACA",decimals:18},networkId:787,rpc:["https://787.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-acala.aca-api.network","wss://eth-rpc-acala.aca-api.network"],shortName:"aca",slip44:787,slug:"acala-network",testnet:!1},odt={chain:"Aerochain",chainId:788,explorers:[{name:"aeroscan",url:"https://testnet.aeroscan.id",standard:"EIP3091"}],faucets:["https://faucet.aerochain.id/"],infoURL:"https://aerochaincoin.org/",name:"Aerochain Testnet",nativeCurrency:{name:"Aerochain Testnet",symbol:"TAero",decimals:18},networkId:788,rpc:["https://788.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.aerochain.id/"],shortName:"taero",slip44:1,slug:"aerochain-testnet",testnet:!0},cdt={chain:"ETH",chainId:789,explorers:[{name:"patexscan",url:"https://patexscan.io",standard:"EIP3091",icon:{url:"ipfs://QmTNTSNn3t5WpSEzQmUYbkxYkBKaH6QahyVdVrRKyPHChr",width:800,height:800,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTNTSNn3t5WpSEzQmUYbkxYkBKaH6QahyVdVrRKyPHChr",width:800,height:800,format:"png"},infoURL:"https://patex.io/",name:"Patex",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:789,rpc:["https://789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.patex.io/"],shortName:"peth",slug:"patex",testnet:!1},ddt={chain:"Rupaya Testnet",chainId:799,explorers:[{name:"rupayascan",url:"https://scan.testnet.rupaya.io",standard:"EIP3091"}],faucets:["https://faucet.testnet.rupaya.io"],infoURL:"https://www.rupaya.io",name:"Rupaya Testnet",nativeCurrency:{name:"Test Rupaya",symbol:"TRUPX",decimals:18},networkId:799,rpc:["https://799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.rupaya.io"],shortName:"RupayaTestnet",slip44:1,slug:"rupaya-testnet",testnet:!0},ldt={chain:"Lucid",chainId:800,explorers:[{name:"Lucid Explorer",url:"https://explorer.lucidcoin.io",standard:"none"}],faucets:["https://faucet.lucidcoin.io"],icon:{url:"ipfs://bafybeigxiyyxll4vst5cjjh732mr6zhsnligxubaldyiul2xdvvi6ibktu",width:800,height:800,format:"png"},infoURL:"https://lucidcoin.io",name:"Lucid Blockchain",nativeCurrency:{name:"LUCID",symbol:"LUCID",decimals:18},networkId:800,rpc:["https://800.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lucidcoin.io"],shortName:"LUCID",slug:"lucid-blockchain",testnet:!1},udt={chain:"Haic",chainId:803,explorers:[],faucets:[],infoURL:"https://www.haichain.io/",name:"Haic",nativeCurrency:{name:"Haicoin",symbol:"HAIC",decimals:18},networkId:803,rpc:["https://803.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://orig.haichain.io/"],shortName:"haic",slug:"haic",testnet:!1},pdt={chain:"PF",chainId:808,explorers:[],faucets:[],icon:{url:"ipfs://QmeMa6aw3ebUKJdGgbzDgcVtggzp7cQdfSrmzMYmnt5ywc",width:200,height:200,format:"png"},infoURL:"https://portalfantasy.io",name:"Portal Fantasy Chain Test",nativeCurrency:{name:"Portal Fantasy Token",symbol:"PFT",decimals:18},networkId:808,rpc:["https://808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/portal-fantasy/testnet/rpc"],shortName:"PFTEST",slip44:1,slug:"portal-fantasy-chain-test",testnet:!0},hdt={chain:"haven1",chainId:810,explorers:[{name:"Haven1 Explorer",url:"https://testnet-explorer.haven1.org",standard:"EIP3091",icon:{url:"ipfs://bafkreih4jq33lz2mjwvu62hmo2ptt277et5l6oqi5ejuyxv2dir2iohsai",width:128,height:128,format:"png"}}],faucets:["https://www.haven1.org/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreih4jq33lz2mjwvu62hmo2ptt277et5l6oqi5ejuyxv2dir2iohsai",width:128,height:128,format:"png"},infoURL:"https://www.haven1.org",name:"Haven1 Testnet",nativeCurrency:{name:"Haven1",symbol:"H1",decimals:18},networkId:810,rpc:["https://810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.haven1.org"],shortName:"h1",slug:"haven1-testnet",testnet:!0},bdt={chain:"MEER",chainId:813,explorers:[{name:"meerscan",url:"https://qng.qitmeer.io",standard:"EIP3091",icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"}},{name:"meerscan",url:"https://qng.meerscan.io",standard:"EIP3091",icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Mainnet",nativeCurrency:{name:"Qitmeer",symbol:"MEER",decimals:18},networkId:813,rpc:["https://813.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-dataseed1.meerscan.io","https://evm-dataseed2.meerscan.io","https://evm-dataseed3.meerscan.io","https://evm-dataseed.meerscan.com","https://qng.rpc.qitmeer.io","https://mainnet.meerlabs.com","https://rpc.dimai.ai","https://rpc.woowow.io"],shortName:"meer",slip44:813,slug:"qitmeer-network",testnet:!1},mdt={chain:"Firechain",chainId:814,explorers:[],faucets:[],icon:{url:"ipfs://QmYjuztyURb3Fc6ZTLgCbwQa64CcVoigF5j9cafzuSbqgf",width:512,height:512,format:"png"},infoURL:"https://docs.thefirechain.com/",name:"Firechain zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:814,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://zkevm-bridge-rpc.thefirechain.com"}]},rpc:["https://814.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-zkevm.thefirechain.com"],shortName:"firechan-zkEVM",slug:"firechain-zkevm",testnet:!1,title:"Firechain zkEVM"},ydt={chain:"BOC",chainId:818,explorers:[{name:"BeOne Chain Mainnet",url:"https://beonescan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbVLQnaMDu86bPyKgCvTGhFBeYwjr15hQnrCcsp1EkAGL",width:500,height:500,format:"png"},infoURL:"https://beonechain.com",name:"BeOne Chain Mainnet",nativeCurrency:{name:"BeOne Chain Mainnet",symbol:"BOC",decimals:18},networkId:818,rpc:["https://818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed1.beonechain.com","https://dataseed2.beonechain.com","https://dataseed-us1.beonechain.com","https://dataseed-us2.beonechain.com","https://dataseed-uk1.beonechain.com","https://dataseed-uk2.beonechain.com"],shortName:"BOC",slip44:8181,slug:"beone-chain",testnet:!1},gdt={chain:"CLO",chainId:820,explorers:[],faucets:[],infoURL:"https://callisto.network",name:"Callisto Mainnet",nativeCurrency:{name:"Callisto",symbol:"CLO",decimals:18},networkId:1,rpc:["https://820.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.callisto.network/"],shortName:"clo",slip44:820,slug:"callisto",testnet:!1},vdt={chain:"CLO",chainId:821,explorers:[],faucets:[],infoURL:"https://callisto.network",name:"Callisto Testnet Deprecated",nativeCurrency:{name:"Callisto Testnet Ether",symbol:"TCLO",decimals:18},networkId:2,rpc:[],shortName:"tclo",slip44:1,slug:"callisto-testnet-deprecated",status:"deprecated",testnet:!0},wdt={chain:"Runic",chainId:822,explorers:[{name:"RunicScan",url:"https://scan.runic.build",standard:"EIP3091",icon:{url:"ipfs://QmW3RZKwBq12F7jVV2pn6T9WzwU5rosLYkVqoRQckfKvXo",width:340,height:340,format:"png"}}],faucets:["https://faucet.runic.build"],icon:{url:"ipfs://QmW3RZKwBq12F7jVV2pn6T9WzwU5rosLYkVqoRQckfKvXo",width:340,height:340,format:"png"},infoURL:"https://runic.build",name:"Runic Chain Testnet",nativeCurrency:{name:"Bitcoin",symbol:"rBTC",decimals:18},networkId:822,rpc:["https://822.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.runic.build"],shortName:"runic-testnet",slug:"runic-chain-testnet",status:"active",testnet:!0},Tdt={chain:"CDT Blockchain",chainId:831,explorers:[{name:"CDT Explorer",url:"https://explorer.checkdot.io",standard:"none"}],faucets:[],infoURL:"https://checkdot.io",name:"CheckDot Blockchain Devnet",nativeCurrency:{name:"CDT",symbol:"CDT",decimals:18},networkId:831,rpc:["https://831.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.checkdot.io"],shortName:"cdt",slug:"checkdot-blockchain-devnet",testnet:!1},xdt={chain:"Tara",chainId:841,explorers:[{name:"Taraxa Explorer",url:"https://explorer.mainnet.taraxa.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQhdktNyBeXmCaVuQpi1B4yXheSUKrJA17L4wpECKzG5D",width:310,height:310,format:"png"},infoURL:"https://taraxa.io",name:"Taraxa Mainnet",nativeCurrency:{name:"Tara",symbol:"TARA",decimals:18},networkId:841,rpc:["https://841.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.taraxa.io/"],shortName:"tara",slug:"taraxa",testnet:!1},Edt={chain:"Tara",chainId:842,explorers:[{name:"Taraxa Explorer",url:"https://explorer.testnet.taraxa.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQhdktNyBeXmCaVuQpi1B4yXheSUKrJA17L4wpECKzG5D",width:310,height:310,format:"png"},infoURL:"https://taraxa.io",name:"Taraxa Testnet",nativeCurrency:{name:"Tara",symbol:"TARA",decimals:18},networkId:842,rpc:["https://842.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.taraxa.io/"],shortName:"taratest",slip44:1,slug:"taraxa-testnet",testnet:!0},_dt={chain:"ZeethChainDev",chainId:859,explorers:[{name:"Zeeth Explorer Dev",url:"https://explorer.dev.zeeth.io",standard:"none"}],faucets:[],name:"Zeeth Chain Dev",nativeCurrency:{name:"Zeeth Token",symbol:"ZTH",decimals:18},networkId:859,rpc:["https://859.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.zeeth.io"],shortName:"zeethdev",slug:"zeeth-chain-dev",testnet:!1},Adt={chain:"FSC",chainId:868,explorers:[{name:"FSCScan",url:"https://explorer.fantasiachain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://fantasiachain.com/",name:"Fantasia Chain Mainnet",nativeCurrency:{name:"FST",symbol:"FST",decimals:18},networkId:868,rpc:["https://868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-data1.fantasiachain.com/","https://mainnet-data2.fantasiachain.com/","https://mainnet-data3.fantasiachain.com/"],shortName:"FSCMainnet",slug:"fantasia-chain",testnet:!1},Cdt={chain:"Bandai Namco Research Verse",chainId:876,explorers:[{name:"Bandai Namco Research Verse Explorer",url:"https://explorer.main.oasvrs.bnken.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifhetalm3vpvjrg5u5d2momkcgvkz6rhltur5co3rslltbxzpr6yq",width:2048,height:2048,format:"png"},infoURL:"https://www.bandainamco-mirai.com/en/",name:"Bandai Namco Research Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:876,parent:{type:"L2",chain:"eip155-248"},rpc:["https://876.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.main.oasvrs.bnken.net"],shortName:"BNKEN",slug:"bandai-namco-research-verse",testnet:!1},Idt={chain:"DXT",chainId:877,explorers:[{name:"dxtscan",url:"https://dxtscan.com",standard:"EIP3091"}],faucets:["https://faucet.dexit.network"],infoURL:"https://dexit.network",name:"Dexit Network",nativeCurrency:{name:"Dexit network",symbol:"DXT",decimals:18},networkId:877,rpc:["https://877.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dxt.dexit.network"],shortName:"DXT",slug:"dexit-network",testnet:!1},kdt={chain:"ambroschain",chainId:880,explorers:[{name:"Ambros Chain Explorer",url:"https://ambrosscan.com",standard:"none"}],faucets:[],infoURL:"https://ambros.network",name:"Ambros Chain Mainnet",nativeCurrency:{name:"AMBROS",symbol:"AMBROS",decimals:18},networkId:880,rpc:["https://880.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ambros.network"],shortName:"ambros",slug:"ambros-chain",testnet:!1},Sdt={chain:"Hypr",chainId:881,explorers:[],faucets:[],features:[],icon:{url:"ipfs://bafybeie6wdqkhub4p346rixkvft3l2bxa3kzo4q6dh5c5vgq6oejwlhu4a/",width:3600,height:3600,format:"PNG"},infoURL:"https://www.hypr.network",name:"Hypr Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:881,parent:{type:"OP Stack",chain:"OP",bridges:[]},redFlags:[],rpc:["https://881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hypr.network"],shortName:"ether",slug:"hypr",testnet:!1},Rdt={chain:"Hypr",chainId:882,explorers:[{name:"Explorer",url:"https://explorer-testnet.hypr.network",standard:"OP Stack EVM"}],faucets:[],features:[],icon:{url:"ipfs://bafybeie6wdqkhub4p346rixkvft3l2bxa3kzo4q6dh5c5vgq6oejwlhu4a/",width:3600,height:3600,format:"ONG"},name:"Hypr Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:882,redFlags:[],rpc:["https://882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.hypr.network"],shortName:"eth",slug:"hypr-testnet",testnet:!0,title:"https://explorer-testnet.hypr.network"},Mdt={chain:"WAN",chainId:888,explorers:[],faucets:[],infoURL:"https://www.wanscan.org",name:"Wanchain",nativeCurrency:{name:"Wancoin",symbol:"WAN",decimals:18},networkId:888,rpc:["https://888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gwan-ssl.wandevs.org:56891/"],shortName:"wan",slip44:5718350,slug:"wanchain",testnet:!1},Bdt={chain:"MAXI",chainId:898,explorers:[{name:"Maxi Chain Testnet Explorer",url:"https://testnet.maxi.network",standard:"EIP3091"}],faucets:["https://faucet.maxi.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXMLcCaNPMyWCEYX2MZDJHNvj5cpj2cR5dRQtedBRNypT",width:512,height:512,format:"png"},infoURL:"https://maxi.network",name:"MAXI Chain Testnet",nativeCurrency:{name:"MAXICOIN",symbol:"MAXI",decimals:18},networkId:898,rpc:["https://898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.maxi.network"],shortName:"maxi-testnet",slug:"maxi-chain-testnet",testnet:!0},Ddt={chain:"GAR",chainId:900,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage0",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:900,rpc:["https://900.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s0-testnet.garizon.net/rpc"],shortName:"gar-test-s0",slug:"garizon-testnet-stage0",testnet:!0},Pdt={chain:"GAR",chainId:901,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage1",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:901,parent:{type:"shard",chain:"eip155-900"},rpc:["https://901.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s1-testnet.garizon.net/rpc"],shortName:"gar-test-s1",slip44:1,slug:"garizon-testnet-stage1",testnet:!0},Ldt={chain:"GAR",chainId:902,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage2",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:902,parent:{type:"shard",chain:"eip155-900"},rpc:["https://902.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s2-testnet.garizon.net/rpc"],shortName:"gar-test-s2",slip44:1,slug:"garizon-testnet-stage2",testnet:!0},Fdt={chain:"GAR",chainId:903,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage3",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:903,parent:{type:"shard",chain:"eip155-900"},rpc:["https://903.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s3-testnet.garizon.net/rpc"],shortName:"gar-test-s3",slip44:1,slug:"garizon-testnet-stage3",testnet:!0},Ndt={chain:"PF",chainId:909,explorers:[],faucets:[],icon:{url:"ipfs://QmeMa6aw3ebUKJdGgbzDgcVtggzp7cQdfSrmzMYmnt5ywc",width:200,height:200,format:"png"},infoURL:"https://portalfantasy.io",name:"Portal Fantasy Chain",nativeCurrency:{name:"Portal Fantasy Token",symbol:"PFT",decimals:18},networkId:909,rpc:[],shortName:"PF",slug:"portal-fantasy-chain",status:"incubating",testnet:!1},Odt={chain:"DBONE",chainId:910,explorers:[],faucets:[],infoURL:"https://decentrabone.com",name:"DecentraBone Layer1 Testnet",nativeCurrency:{name:"DecentraBone",symbol:"DBONE",decimals:18},networkId:910,rpc:["https://910.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://layer1test.decentrabone.com"],shortName:"DBONE",slip44:1,slug:"decentrabone-layer1-testnet",testnet:!0},Udt={chain:"TAPROOT CHAIN",chainId:911,explorers:[{name:"TAPROOT Scan",url:"https://scan.taprootchain.io",standard:"EIP3091",icon:{url:"ipfs://QmeucqvcreQk8nnSRUiHo3QTvLoYYB7shJTKXj5Tk6BtWi",width:100,height:100,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeucqvcreQk8nnSRUiHo3QTvLoYYB7shJTKXj5Tk6BtWi",width:100,height:100,format:"png"},infoURL:"https://taprootchain.io",name:"TAPROOT Mainnet",nativeCurrency:{name:"TBTC",symbol:"TBTC",decimals:18},networkId:911,rpc:["https://911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.taprootchain.io"],shortName:"TAPROOT-Mainnet",slug:"taproot",testnet:!1,title:"TAPROOT Mainnet"},Hdt={chain:"FIRE",chainId:917,explorers:[{name:"FireScan",url:"https://rinia.firescan.io",standard:"EIP3091"}],faucets:["https://faucet.thefirechain.com"],icon:{url:"ipfs://QmRnnw2gtbU9TWJMLJ6tks7SN6HQV5rRugeoyN6csTYHt1",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Rinia Testnet",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:917,rpc:["https://917.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinia-rpc1.thefirechain.com"],shortName:"tfire",slip44:1,slug:"rinia-testnet",testnet:!0},zdt={chain:"ETH",chainId:919,explorers:[{name:"modescout",url:"https://sepolia.explorer.mode.network",standard:"none"}],faucets:["https://sepoliafaucet.com/"],icon:{url:"ipfs://bafkreidi5y7afj5z4xrz7uz5rkg2mcsv2p2n4ui4g7q4k4ecdz65i2agou",width:2160,height:2160,format:"png"},infoURL:"https://docs.mode.network/",name:"Mode Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:919,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.mode.network/"}]},rpc:["https://919.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.mode.network"],shortName:"modesep",slip44:1,slug:"mode-testnet",testnet:!0},Wdt={chain:"Yidark",chainId:927,explorers:[{name:"Yidarkscan",url:"https://yidarkscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdbFGqrpiLQGtAeUAyeS2NBvACfgrchEF466ni5q36fuZ",width:401,height:401,format:"png"},infoURL:"https://yidarkscan.com",name:"Yidark Chain Mainnet",nativeCurrency:{name:"Yidark",symbol:"YDK",decimals:18},networkId:927,rpc:["https://927.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.yidark.io"],shortName:"ydk",slug:"yidark-chain",testnet:!1},qdt={chain:"tPLS",chainId:940,explorers:[],faucets:["https://faucet.v2.testnet.pulsechain.com/"],infoURL:"https://pulsechain.com/",name:"PulseChain Testnet",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:940,rpc:["https://940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v2.testnet.pulsechain.com/","wss://rpc.v2.testnet.pulsechain.com/"],shortName:"tpls",slip44:1,slug:"pulsechain-testnet",status:"deprecated",testnet:!0},jdt={chain:"t2bPLS",chainId:941,explorers:[],faucets:["https://faucet.v2b.testnet.pulsechain.com/"],infoURL:"https://pulsechain.com/",name:"PulseChain Testnet v2b",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:941,rpc:["https://941.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v2b.testnet.pulsechain.com/","wss://rpc.v2b.testnet.pulsechain.com/"],shortName:"t2bpls",slip44:1,slug:"pulsechain-testnet-v2b",status:"deprecated",testnet:!0},Gdt={chain:"t3PLS",chainId:942,explorers:[],faucets:["https://faucet.v3.testnet.pulsechain.com/"],infoURL:"https://pulsechain.com/",name:"PulseChain Testnet v3",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:942,rpc:["https://942.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v3.testnet.pulsechain.com/","wss://rpc.v3.testnet.pulsechain.com/"],shortName:"t3pls",slip44:1,slug:"pulsechain-testnet-v3",status:"deprecated",testnet:!0},Kdt={chain:"t4PLS",chainId:943,ens:{registry:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},explorers:[{name:"blockscout",url:"https://otter-testnet-pulsechain.g4mm4.io",standard:"EIP3091"}],faucets:["https://faucet.v4.testnet.pulsechain.com/"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmckj9B9F3jWDk9bv9HwoPmfjrx2Ju8J2BQSNoPFdYGduj",width:433,height:402,format:"png"},infoURL:"https://pulsechain.com",name:"PulseChain Testnet v4",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:943,rpc:["https://943.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v4.testnet.pulsechain.com","wss://rpc.v4.testnet.pulsechain.com","https://pulsechain-testnet-rpc.publicnode.com","wss://pulsechain-testnet-rpc.publicnode.com","https://rpc-testnet-pulsechain.g4mm4.io","wss://rpc-testnet-pulsechain.g4mm4.io"],shortName:"t4pls",slip44:1,slug:"pulsechain-testnet-v4",status:"active",testnet:!0},Qdt={chain:"Avalanche",chainId:949,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s5t",nativeCurrency:{name:"QI0521s5t Token",symbol:"VTV",decimals:18},networkId:949,redFlags:[],rpc:["https://949.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s5t",slug:"qi0521s5t",testnet:!0},Vdt={chain:"munode",chainId:956,explorers:[],faucets:[],infoURL:"https://munode.dev/",name:"muNode Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:956,rpc:[],shortName:"munode",slip44:1,slug:"munode-testnet",testnet:!0},Ydt={chain:"Lyra",chainId:957,explorers:[{name:"Lyra Explorer",url:"https://explorer.lyra.finance",standard:"EIP3091",icon:{url:"ipfs://bafkreifrvwcwcgs2luampufdbdgohuxue5rep3u4p4owmwskob7hzpcfdq",width:2640,height:2640,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifrvwcwcgs2luampufdbdgohuxue5rep3u4p4owmwskob7hzpcfdq",width:2640,height:2640,format:"png"},infoURL:"https://lyra.finance",name:"Lyra Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:957,rpc:["https://957.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lyra.finance"],shortName:"lyra",slug:"lyra-chain",testnet:!1},$dt={chain:"BTC20",chainId:963,explorers:[{name:"blockscout",url:"https://scan.bitcoincode.technology",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmRUzDpn3xqPYnjLuZvFs2Attio9VxGRUprXEjcNQDcpe5",width:375,height:456,format:"png"},infoURL:"https://bitcoincode.technology",name:"BTC20 Smart Chain",nativeCurrency:{name:"BTCC",symbol:"BTCC",decimals:18},networkId:963,rpc:["https://963.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitcoincode.technology/"],shortName:"btc20",slug:"btc20-smart-chain",testnet:!1},Jdt={chain:"EthXY",chainId:969,explorers:[{name:"EthXY Network Explorer",url:"https://explorer.ethxy.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreihq3b3cqbg2ttlp4dfbgmirrwdw6bbpmmbr5wolddd2izbyqay4xq",width:480,height:480,format:"png"},infoURL:"https://ethxy.com",name:"EthXY",nativeCurrency:{name:"Settled EthXY Token",symbol:"SEXY",decimals:18},networkId:969,rpc:["https://969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ethxy.com"],shortName:"sexy",slug:"ethxy",testnet:!1},Xdt={chain:"Oort Mainnet",chainId:970,explorers:[{name:"Oort Mainnet Explorer",url:"https://mainnet-scan.oortech.com",standard:"none",icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"},infoURL:"https://oortech.com",name:"Oort Mainnet",nativeCurrency:{name:"Oort",symbol:"OORT",decimals:18},networkId:970,rpc:["https://970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oortech.com"],shortName:"ccn",slug:"oort",testnet:!1},Zdt={chain:"Huygens",chainId:971,explorers:[],faucets:[],icon:{url:"ipfs://QmZ1jbxFZcuotj3eZ6iKFrg9ZXnaV8AK6sGRa7ELrceWyD",width:1043,height:1079,format:"png"},infoURL:"https://oortech.com",name:"Oort Huygens",nativeCurrency:{name:"Oort",symbol:"CCN",decimals:18},networkId:971,rpc:[],shortName:"Huygens",slug:"oort-huygens",testnet:!1},elt={chain:"Ascraeus",chainId:972,explorers:[{name:"Oort Ascraeus Explorer",url:"https://ascraeus-scan.oortech.com",standard:"none",icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"},infoURL:"https://oortech.com",name:"Oort Ascraeus",nativeCurrency:{name:"Oort",symbol:"CCNA",decimals:18},networkId:972,rpc:["https://972.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ascraeus-rpc.oortech.com"],shortName:"Ascraeus",slug:"oort-ascraeus",testnet:!1,title:"Oort Ascraeus"},tlt={chain:"YETI",chainId:977,explorers:[],faucets:["https://faucet.nepalblockchain.network"],infoURL:"https://nepalblockchain.network",name:"Nepal Blockchain Network",nativeCurrency:{name:"Nepal Blockchain Network Ether",symbol:"YETI",decimals:18},networkId:977,rpc:["https://977.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.nepalblockchain.dev","https://api.nepalblockchain.network"],shortName:"yeti",slug:"nepal-blockchain-network",testnet:!1},nlt={chain:"EthXY",chainId:979,explorers:[{name:"EthXY Testnet Network Explorer",url:"https://explorer.testnet.ethxy.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreihq3b3cqbg2ttlp4dfbgmirrwdw6bbpmmbr5wolddd2izbyqay4xq",width:480,height:480,format:"png"},infoURL:"https://ethxy.com",name:"EthXY Testnet",nativeCurrency:{name:"Settled EthXY Token",symbol:"SEXY",decimals:18},networkId:979,rpc:["https://979.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.ethxy.com"],shortName:"sexyTestnet",slug:"ethxy-testnet",testnet:!0},alt={chain:"TOP",chainId:980,explorers:[{name:"topscan.dev",url:"https://www.topscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmYikaM849eZrL8pGNeVhEHVTKWpxdGMvCY5oFBfZ2ndhd",width:800,height:800,format:"png"},infoURL:"https://www.topnetwork.org/",name:"TOP Mainnet EVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:0,rpc:["https://980.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ethapi.topnetwork.org"],shortName:"top_evm",slug:"top-evm",testnet:!1},rlt={chain:"MEMO",chainId:985,explorers:[{name:"Memo Mainnet Explorer",url:"https://scan.metamemo.one:8080",standard:"EIP3091",icon:{url:"ipfs://bafkreig52paynhccs4o5ew6f7mk3xoqu2bqtitmfvlgnwarh2pm33gbdrq",width:128,height:128,format:"png"}}],faucets:["https://faucet.metamemo.one/"],icon:{url:"ipfs://bafkreig52paynhccs4o5ew6f7mk3xoqu2bqtitmfvlgnwarh2pm33gbdrq",width:128,height:128,format:"png"},name:"Memo Smart Chain Mainnet",nativeCurrency:{name:"Memo",symbol:"CMEMO",decimals:18},networkId:985,rpc:["https://985.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.metamemo.one:8501","wss://chain.metamemo.one:16801"],shortName:"memochain",slug:"memo-smart-chain",testnet:!1},flt={chain:"Avalanche",chainId:987,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Orange Testnet",nativeCurrency:{name:"Orange Testnet Token",symbol:"JUICE",decimals:18},networkId:987,redFlags:[],rpc:["https://987.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/orangetest/testnet/rpc"],shortName:"Orange Testnet",slug:"orange-testnet",testnet:!0},ilt={chain:"TOP",chainId:989,explorers:[{name:"topscan.dev",url:"https://www.topscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmYikaM849eZrL8pGNeVhEHVTKWpxdGMvCY5oFBfZ2ndhd",width:800,height:800,format:"png"},infoURL:"https://www.topnetwork.org/",name:"TOP Mainnet",nativeCurrency:{name:"TOP",symbol:"TOP",decimals:6},networkId:0,rpc:[],shortName:"top",slug:"top",testnet:!1},slt={chain:"$EL",chainId:990,explorers:[{name:"eLiberty Mainnet",url:"https://explorer.eliberty.ngo",standard:"EIP3091"}],faucets:["https://faucet.eliberty.ngo"],icon:{url:"ipfs://Qmcr8US1DZcK3ooiMtE8tEQPgep12abXzxPw1jCkgZhji9",width:150,height:150,format:"png"},infoURL:"https://eliberty.ngo",name:"eLiberty Mainnet",nativeCurrency:{name:"eLiberty",symbol:"$EL",decimals:18},networkId:990,rpc:["https://990.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eliberty.ngo"],shortName:"ELm",slug:"eliberty",testnet:!1},olt={chain:"5ireChain",chainId:997,explorers:[{name:"5ireChain Explorer",url:"https://explorer.5ire.network",standard:"none",icon:{url:"ipfs://QmaZDNDFLWESH4i3XqwEWfWBb1HPnQSNbDAr74nr2x8QAk",width:800,height:800,format:"svg"}}],faucets:["https://explorer.5ire.network/faucet"],icon:{url:"ipfs://QmaZDNDFLWESH4i3XqwEWfWBb1HPnQSNbDAr74nr2x8QAk",width:800,height:800,format:"svg"},infoURL:"https://5ire.org",name:"5ireChain Thunder",nativeCurrency:{name:"5ire Token",symbol:"5ire",decimals:18},networkId:997,rpc:["https://997.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.5ire.network"],shortName:"5ire",slug:"5irechain-thunder",testnet:!0},clt={chain:"LN",chainId:998,explorers:[{name:"blockscout",url:"https://explorer.luckynetwork.org",standard:"none"},{name:"expedition",url:"https://lnscan.org",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreidmvcd5i7touug55hj45mf2pgabxamy5fziva7mtx5n664s3yap6m",width:205,height:28,format:"png"},infoURL:"https://luckynetwork.org",name:"Lucky Network",nativeCurrency:{name:"Lucky",symbol:"L99",decimals:18},networkId:998,rpc:["https://998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.luckynetwork.org","wss://ws.lnscan.org","https://rpc.lnscan.org"],shortName:"ln",slug:"lucky-network",testnet:!1},dlt={chain:"ETH",chainId:999,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmZ6qaRwTPFEZUspwMUjaxC6KhmzcELdRQcQzS3P72Dzts/Vector.svg",width:512,height:512,format:"svg"},name:"Zora Testnet",nativeCurrency:{name:"Ether",symbol:"GETH",decimals:18},networkId:999,redFlags:["reusedChainId"],rpc:["https://999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.zora.co/"],shortName:"zora-testnet",slug:"zora-testnet",testnet:!0},llt={chain:"GTON",chainId:1e3,explorers:[{name:"GTON Network Explorer",url:"https://explorer.gton.network",standard:"EIP3091"}],faucets:[],infoURL:"https://gton.capital",name:"GTON Mainnet",nativeCurrency:{name:"GCD",symbol:"GCD",decimals:18},networkId:1e3,parent:{type:"L2",chain:"eip155-1"},rpc:["https://1000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gton.network/"],shortName:"gton",slug:"gton",testnet:!1},ult={chain:"KLAY",chainId:1001,explorers:[{name:"Klaytnscope",url:"https://baobab.klaytnscope.com",standard:"EIP3091"},{name:"Klaytnfinder",url:"https://baobab.klaytnfinder.io",standard:"EIP3091"}],faucets:["https://baobab.wallet.klaytn.com/access?next=faucet"],features:[],infoURL:"https://klaytn.foundation",name:"Klaytn Testnet Baobab",nativeCurrency:{name:"KLAY",symbol:"KLAY",decimals:18},networkId:1001,redFlags:[],rpc:["https://1001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-en-baobab.klaytn.net","https://api.baobab.klaytn.net:8651"],shortName:"Baobab",slip44:1,slug:"klaytn-testnet-baobab",testnet:!0},plt={chain:"TET",chainId:1003,explorers:[{name:"Tectum explorer",url:"https://explorer.tectum.io",standard:"EIP3091",icon:{url:"ipfs://QmYvFVprVdAGJH4iHUCXGEmy7pq8MMfxEjM64SuXutz9qx",width:256,height:256,format:"png"}}],faucets:[],infoURL:"https://softnote.com",name:"Tectum Emission Token",nativeCurrency:{name:"Tectum",symbol:"TET",decimals:8},networkId:1003,rpc:["https://1003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.softnote.com/"],shortName:"tet",slug:"tectum-emission-token",testnet:!1},hlt={chain:"T-EKTA",chainId:1004,explorers:[{name:"test-ektascan",url:"https://test.ektascan.io",standard:"EIP3091",icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"},infoURL:"https://www.ekta.io",name:"T-EKTA",nativeCurrency:{name:"T-EKTA",symbol:"T-EKTA",decimals:18},networkId:1004,rpc:["https://1004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.ekta.io:8545"],shortName:"t-ekta",slug:"t-ekta",testnet:!0,title:"EKTA Testnet T-EKTA"},blt={chain:"NEW",chainId:1007,explorers:[],faucets:[],infoURL:"https://www.newtonproject.org/",name:"Newton Testnet",nativeCurrency:{name:"Newton",symbol:"NEW",decimals:18},networkId:1007,rpc:["https://1007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.newchain.newtonproject.org"],shortName:"tnew",slip44:1,slug:"newton-testnet",testnet:!0},mlt={chain:"EUN",chainId:1008,explorers:[{name:"eurusexplorer",url:"https://explorer.eurus.network",standard:"none",icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"},infoURL:"https://eurus.network",name:"Eurus Mainnet",nativeCurrency:{name:"Eurus",symbol:"EUN",decimals:18},networkId:1008,rpc:["https://1008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.eurus.network/"],shortName:"eun",slug:"eurus",testnet:!1},ylt={chain:"Jumbo",chainId:1009,explorers:[{name:"Jumboscan",url:"https://jumboscan.jumbochain.org",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://jumbochain.org",name:"Jumbochain Mainnet",nativeCurrency:{name:"JNFTC",symbol:"JNFTC",decimals:18},networkId:1009,rpc:["https://1009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcpriv.jumbochain.org"],shortName:"Jumboscan",slip44:1,slug:"jumbochain",testnet:!1},glt={chain:"EVC",chainId:1010,explorers:[],faucets:[],infoURL:"https://evrice.com",name:"Evrice Network",nativeCurrency:{name:"Evrice",symbol:"EVC",decimals:18},networkId:1010,rpc:["https://1010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://meta.evrice.com"],shortName:"EVC",slip44:1020,slug:"evrice-network",testnet:!1},vlt={chain:"REBUS",chainId:1011,explorers:[{name:"Rebus EVM Explorer (Blockscout)",url:"https://evm.rebuschain.com",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}},{name:"Rebus Cosmos Explorer (ping.pub)",url:"https://cosmos.rebuschain.com",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"},infoURL:"https://www.rebuschain.com",name:"Rebus Mainnet",nativeCurrency:{name:"Rebus",symbol:"REBUS",decimals:18},networkId:1011,rpc:["https://1011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://apievm.rebuschain.com/rpc"],shortName:"rebus",slug:"rebus",testnet:!1,title:"Rebuschain Mainnet"},wlt={chain:"NEW",chainId:1012,explorers:[],faucets:[],infoURL:"https://www.newtonproject.org/",name:"Newton",nativeCurrency:{name:"Newton",symbol:"NEW",decimals:18},networkId:1012,rpc:["https://1012.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://global.rpc.mainnet.newtonproject.org"],shortName:"new",slug:"newton",testnet:!1},Tlt={chain:"Sakura",chainId:1022,explorers:[],faucets:[],infoURL:"https://clover.finance/sakura",name:"Sakura",nativeCurrency:{name:"Sakura",symbol:"SKU",decimals:18},networkId:1022,rpc:[],shortName:"sku",slug:"sakura",testnet:!1},xlt={chain:"Clover",chainId:1023,explorers:[],faucets:[],infoURL:"https://clover.finance",name:"Clover Testnet",nativeCurrency:{name:"Clover",symbol:"CLV",decimals:18},networkId:1023,rpc:[],shortName:"tclv",slip44:1,slug:"clover-testnet",testnet:!0},Elt={chain:"CLV",chainId:1024,explorers:[],faucets:[],infoURL:"https://clv.org",name:"CLV Parachain",nativeCurrency:{name:"CLV",symbol:"CLV",decimals:18},networkId:1024,rpc:["https://1024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api-para.clover.finance"],shortName:"clv",slug:"clv-parachain",testnet:!1},_lt={chain:"BTTC",chainId:1028,explorers:[{name:"testbttcscan",url:"https://testscan.bittorrentchain.io",standard:"none"}],faucets:[],infoURL:"https://bittorrentchain.io/",name:"BitTorrent Chain Testnet",nativeCurrency:{name:"BitTorrent",symbol:"BTT",decimals:18},networkId:1028,rpc:["https://1028.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.bittorrentchain.io/"],shortName:"tbtt",slip44:1,slug:"bittorrent-chain-testnet",testnet:!0},Alt={chain:"Conflux",chainId:1030,explorers:[{name:"Conflux Scan",url:"https://evm.confluxscan.net",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreifj7n24u2dslfijfihwqvpdeigt5aj3k3sxv6s35lv75sxsfr3ojy",width:460,height:576,format:"png"},infoURL:"https://confluxnetwork.org",name:"Conflux eSpace",nativeCurrency:{name:"CFX",symbol:"CFX",decimals:18},networkId:1030,rpc:["https://1030.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.confluxrpc.com"],shortName:"cfx",slug:"conflux-espace",testnet:!1},Clt={chain:"Proxy Network",chainId:1031,explorers:[{name:"proxy network testnet",url:"http://testnet-explorer.theproxy.network",standard:"EIP3091"}],faucets:[],infoURL:"https://theproxy.network",name:"Proxy Network Testnet",nativeCurrency:{name:"PRX",symbol:"PRX",decimals:18},networkId:1031,rpc:["https://1031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://128.199.94.183:8041"],shortName:"prx",slip44:1,slug:"proxy-network-testnet",testnet:!0},Ilt={chain:"Bronos",chainId:1038,explorers:[{name:"Bronos Testnet Explorer",url:"https://tbroscan.bronos.org",standard:"none",icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"}}],faucets:["https://faucet.bronos.org"],icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"},infoURL:"https://bronos.org",name:"Bronos Testnet",nativeCurrency:{name:"tBRO",symbol:"tBRO",decimals:18},networkId:1038,rpc:["https://1038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-testnet.bronos.org"],shortName:"bronos-testnet",slip44:1,slug:"bronos-testnet",testnet:!0},klt={chain:"Bronos",chainId:1039,explorers:[{name:"Bronos Explorer",url:"https://broscan.bronos.org",standard:"none",icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"},infoURL:"https://bronos.org",name:"Bronos Mainnet",nativeCurrency:{name:"BRO",symbol:"BRO",decimals:18},networkId:1039,rpc:[],shortName:"bronos-mainnet",slug:"bronos",testnet:!1},Slt={chain:"ShimmerEVM",chainId:1071,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.shimmer.network",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.shimmer.network","https://evm-faucet.testnet.shimmer.network"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM Testnet Deprecated",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:18},networkId:1071,rpc:[],shortName:"shimmerevm-testnet-deprecated",slip44:1,slug:"shimmerevm-testnet-deprecated",status:"deprecated",testnet:!0,title:"ShimmerEVM Testnet Deprecated"},Rlt={chain:"ShimmerEVM",chainId:1072,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.shimmer.network",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.shimmer.network","https://evm-faucet.testnet.shimmer.network"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM Testnet Deprecated 1072",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:6},networkId:1072,rpc:[],shortName:"shimmerevm-testnet-deprecated-1072",slip44:1,slug:"shimmerevm-testnet-deprecated-1072",status:"deprecated",testnet:!0,title:"ShimmerEVM Testnet Deprecated 1072"},Mlt={chain:"ShimmerEVM",chainId:1073,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.shimmer.network",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.shimmer.network","https://evm-faucet.testnet.shimmer.network"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM Testnet",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:18},networkId:1073,rpc:["https://1073.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.testnet.shimmer.network"],shortName:"shimmerevm-testnet",slip44:1,slug:"shimmerevm-testnet",testnet:!0,title:"ShimmerEVM Testnet"},Blt={chain:"IOTA EVM",chainId:1075,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.iotaledger.net",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.iotaledger.net"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://www.iota.org",name:"IOTA EVM Testnet",nativeCurrency:{name:"IOTA",symbol:"IOTA",decimals:18},networkId:1075,rpc:["https://1075.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.testnet.iotaledger.net"],shortName:"iotaevm-testnet",slug:"iota-evm-testnet",testnet:!0,title:"IOTA EVM Testnet"},Dlt={chain:"Mintara",chainId:1079,explorers:[{name:"explorer",url:"https://subnets-test.avax.network/mintara",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeie7jzlzlpz7c3a3oh4x5joej23dj2qf3cexmchjyc72hv3fblcaja",width:256,height:256,format:"png"},infoURL:"https://playthink.co.jp",name:"Mintara Testnet",nativeCurrency:{name:"MINTARA",symbol:"MNTR",decimals:18},networkId:1079,rpc:["https://1079.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mintara/testnet/rpc"],shortName:"mintara-testnet",slip44:1,slug:"mintara-testnet",testnet:!0,title:"Mintara Testnet"},Plt={chain:"Mintara",chainId:1080,explorers:[{name:"explorer",url:"https://subnets.avax.network/mintara",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeie7jzlzlpz7c3a3oh4x5joej23dj2qf3cexmchjyc72hv3fblcaja",width:256,height:256,format:"png"},infoURL:"https://playthink.co.jp",name:"Mintara Mainnet",nativeCurrency:{name:"MINTARA",symbol:"MNTR",decimals:18},networkId:1080,rpc:["https://1080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mintara/mainnet/rpc"],shortName:"mintara",slug:"mintara",testnet:!1,title:"Mintara Mainnet"},Llt={chain:"ETH",chainId:1088,explorers:[{name:"blockscout",url:"https://andromeda-explorer.metis.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmbWKNucbMtrMPPkHG5ZmVmvNUo8CzqHHcrpk1C2BVQsEG/2022_H-Brand_Stacked_WhiteGreen.svg",width:512,height:512,format:"svg"},infoURL:"https://www.metis.io",name:"Metis Andromeda Mainnet",nativeCurrency:{name:"Metis",symbol:"METIS",decimals:18},networkId:1088,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.metis.io"}]},redFlags:[],rpc:["https://1088.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://andromeda.metis.io/?owner=1088","https://metis.drpc.org","wss://metis.drpc.org"],shortName:"metis-andromeda",slug:"metis-andromeda",testnet:!1},Flt={chain:"Humans",chainId:1089,explorers:[{name:"explorer.guru",url:"https://humans.explorers.guru",standard:"none",icon:{url:"ipfs://QmU83haX3TNifDDjBx6RP6ByqES1Kg9VqeJC87X9ipKyCS",width:386,height:397,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX6XuoQDTTjYqAmdNJiieLDZSwHHyUx44yQb4E3tmHmEA",width:400,height:400,format:"png"},infoURL:"https://humans.ai",name:"Humans.ai Mainnet",nativeCurrency:{name:"HEART",symbol:"HEART",decimals:18},networkId:1089,rpc:["https://1089.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.humans.nodestake.top","https://humans-mainnet-evm.itrocket.net","https://humans-evm-rpc.staketab.org:443","https://evm.humans.stakepool.dev.br","https://mainnet-humans-evm.konsortech.xyz","https://evm-rpc.mainnet.humans.zone","https://json-rpc.humans.bh.rocks","https://evm-rpc.humans.huginn.tech"],shortName:"humans",slug:"humans-ai",testnet:!1},Nlt={chain:"MOAC",chainId:1099,explorers:[{name:"moac explorer",url:"https://explorer.moac.io",standard:"none"}],faucets:[],infoURL:"https://moac.io",name:"MOAC mainnet",nativeCurrency:{name:"MOAC",symbol:"mc",decimals:18},networkId:1099,rpc:[],shortName:"moac",slip44:314,slug:"moac",testnet:!1},Olt={chain:"Dymension",chainId:1100,explorers:[{name:"dym.fyi",url:"https://dym.fyi",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreic4sjyqikz33xzpcctczvkiwfj44q5i3i7zslycnjiqmyx5ybc3fi",width:1200,height:1200,format:"png"},infoURL:"https://dymension.xyz",name:"Dymension",nativeCurrency:{name:"DYM",symbol:"DYM",decimals:18},networkId:1100,rpc:["https://1100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dymension-evm.blockpi.network/v1/rpc/public","https://dymension-evm-rpc.publicnode.com","wss://dymension-evm-rpc.publicnode.com"],shortName:"dymension",slug:"dymension",testnet:!1},Ult={chain:"Polygon",chainId:1101,explorers:[{name:"blockscout",url:"https://zkevm.polygonscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"},infoURL:"https://polygon.technology/polygon-zkevm",name:"Polygon zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1101,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zkevm-rpc.com"}]},rpc:["https://1101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zkevm-rpc.com","https://polygon-zkevm.drpc.org","wss://polygon-zkevm.drpc.org"],shortName:"zkevm",slug:"polygon-zkevm",testnet:!1,title:"Polygon zkEVM"},Hlt={chain:"BLXQ",chainId:1107,explorers:[{name:"BLXq Explorer",url:"https://explorer.blx.org",standard:"none",icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"},infoURL:"https://blx.org",name:"BLXq Testnet",nativeCurrency:{name:"BLXQ",symbol:"BLXQ",decimals:18},networkId:1107,rpc:["https://1107.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetq1.blx.org"],shortName:"tblxq",slip44:1,slug:"blxq-testnet",testnet:!0},zlt={chain:"BLXQ",chainId:1108,explorers:[{name:"BLXq Explorer",url:"https://explorer.blxq.org",standard:"EIP3091",icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"},infoURL:"https://blx.org",name:"BLXq Mainnet",nativeCurrency:{name:"BLXQ",symbol:"BLXQ",decimals:18},networkId:1108,rpc:["https://1108.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.blxq.org"],shortName:"blxq",slug:"blxq",testnet:!1},Wlt={chain:"WEMIX",chainId:1111,explorers:[{name:"WEMIX Block Explorer",url:"https://explorer.wemix.com",standard:"EIP3091"}],faucets:[],infoURL:"https://wemix.com",name:"WEMIX3.0 Mainnet",nativeCurrency:{name:"WEMIX",symbol:"WEMIX",decimals:18},networkId:1111,rpc:["https://1111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.wemix.com","wss://ws.wemix.com"],shortName:"wemix",slug:"wemix3-0",testnet:!1},qlt={chain:"TWEMIX",chainId:1112,explorers:[{name:"WEMIX Testnet Microscope",url:"https://microscope.test.wemix.com",standard:"EIP3091"}],faucets:["https://wallet.test.wemix.com/faucet"],infoURL:"https://wemix.com",name:"WEMIX3.0 Testnet",nativeCurrency:{name:"TestnetWEMIX",symbol:"tWEMIX",decimals:18},networkId:1112,rpc:["https://1112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.test.wemix.com","wss://ws.test.wemix.com"],shortName:"twemix",slip44:1,slug:"wemix3-0-testnet",testnet:!0},jlt={chain:"BSQ",chainId:1113,explorers:[{name:"B2 Hub Habitat Testnet Explorer",url:"https://testnet-hub-explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Hub Testnet",nativeCurrency:{name:"BSquared Token",symbol:"B2",decimals:18},networkId:1113,rpc:["https://1113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-hub-rpc.bsquared.network"],shortName:"B2Hub-testnet",slug:"b2-hub-testnet",testnet:!0},Glt={chain:"Core",chainId:1115,explorers:[{name:"Core Scan Testnet",url:"https://scan.test.btcs.network",standard:"EIP3091",icon:{url:"ipfs://QmeTQaBCkpbsxNNWTpoNrMsnwnAEf1wYTcn7CiiZGfUXD2",width:200,height:217,format:"png"}}],faucets:["https://scan.test.btcs.network/faucet"],icon:{url:"ipfs://QmeTQaBCkpbsxNNWTpoNrMsnwnAEf1wYTcn7CiiZGfUXD2",width:200,height:217,format:"png"},infoURL:"https://www.coredao.org",name:"Core Blockchain Testnet",nativeCurrency:{name:"Core Blockchain Testnet Native Token",symbol:"tCORE",decimals:18},networkId:1115,rpc:["https://1115.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.btcs.network/"],shortName:"tcore",slip44:1,slug:"core-blockchain-testnet",testnet:!0},Klt={chain:"Core",chainId:1116,explorers:[{name:"Core Scan",url:"https://scan.coredao.org",standard:"EIP3091",icon:{url:"ipfs://QmeTQaBCkpbsxNNWTpoNrMsnwnAEf1wYTcn7CiiZGfUXD2",width:200,height:217,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeTQaBCkpbsxNNWTpoNrMsnwnAEf1wYTcn7CiiZGfUXD2",width:200,height:217,format:"png"},infoURL:"https://www.coredao.org",name:"Core Blockchain Mainnet",nativeCurrency:{name:"Core Blockchain Native Token",symbol:"CORE",decimals:18},networkId:1116,rpc:["https://1116.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.coredao.org/","https://rpc-core.icecreamswap.com","https://core.drpc.org","wss://core.drpc.org"],shortName:"core",slug:"core-blockchain",testnet:!1},Qlt={chain:"DOGS",chainId:1117,explorers:[{name:"Dogcoin",url:"https://explorer.dogcoin.network",standard:"EIP3091"}],faucets:["https://faucet.dogcoin.network"],icon:{url:"ipfs://QmZCadkExKThak3msvszZjo6UnAbUJKE61dAcg4TixuMC3",width:160,height:171,format:"png"},infoURL:"https://dogcoin.network",name:"Dogcoin Mainnet",nativeCurrency:{name:"Dogcoin",symbol:"DOGS",decimals:18},networkId:1117,rpc:["https://1117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.dogcoin.me"],shortName:"DOGSm",slug:"dogcoin",testnet:!1},Vlt={chain:"Habitat",chainId:1123,explorers:[{name:"blockscout",url:"https://testnet-explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Testnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:1123,parent:{type:"L2",chain:"eip155-1113"},rpc:["https://1123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://b2-testnet.alt.technology"],shortName:"B2-testnet",slug:"b2-testnet",testnet:!0,title:"B2 Testnet"},Ylt={chain:"defichain-evm",chainId:1130,explorers:[],faucets:[],icon:{url:"ipfs://QmdR3YL9F95ajwVwfxAGoEzYwm9w7JNsPSfUPjSaQogVjK",width:512,height:512,format:"svg"},infoURL:"https://meta.defichain.com/",name:"DeFiChain EVM Network Mainnet",nativeCurrency:{name:"DeFiChain",symbol:"DFI",decimals:18},networkId:1130,rpc:[],shortName:"DFI",slip44:1130,slug:"defichain-evm-network",status:"incubating",testnet:!1},$lt={chain:"defichain-evm-testnet",chainId:1131,explorers:[],faucets:[],icon:{url:"ipfs://QmdR3YL9F95ajwVwfxAGoEzYwm9w7JNsPSfUPjSaQogVjK",width:512,height:512,format:"svg"},infoURL:"https://meta.defichain.com/",name:"DeFiChain EVM Network Testnet",nativeCurrency:{name:"DeFiChain",symbol:"DFI",decimals:18},networkId:1131,rpc:[],shortName:"DFI-T",slip44:1,slug:"defichain-evm-network-testnet",status:"incubating",testnet:!0},Jlt={chain:"DFI",chainId:1133,explorers:[{name:"MetaScan",url:"https://meta.defiscan.live",standard:"EIP3091"}],faucets:["http://tc04.mydefichain.com/faucet"],icon:{url:"ipfs://QmdR3YL9F95ajwVwfxAGoEzYwm9w7JNsPSfUPjSaQogVjK",width:512,height:512,format:"svg"},infoURL:"https://meta.defichain.com",name:"DeFiMetaChain Changi Testnet",nativeCurrency:{name:"DeFiChain Token",symbol:"DFI",decimals:18},networkId:1133,rpc:["https://1133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dmc.mydefichain.com/changi","https://testnet-dmc.mydefichain.com:20551"],shortName:"changi",slug:"defimetachain-changi-testnet",testnet:!0},Xlt={chain:"ETH",chainId:1135,explorers:[{name:"blockscout",url:"https://blockscout.lisk.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://lisk.com",name:"Lisk",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1135,rpc:["https://1135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.lisk.com"],shortName:"lisk",slip44:134,slug:"lisk",testnet:!1},Zlt={chain:"AmStar",chainId:1138,explorers:[{name:"amstarscan-testnet",url:"https://testnet.amstarscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmd4TMQdnYxaUZqnVddh5S37NGH72g2kkK38ccCEgdZz1C",width:599,height:563,format:"png"},infoURL:"https://sinso.io",name:"AmStar Testnet",nativeCurrency:{name:"SINSO",symbol:"SINSO",decimals:18},networkId:1138,rpc:["https://1138.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.amstarscan.com"],shortName:"ASARt",slip44:1,slug:"amstar-testnet",testnet:!0},e2t={chain:"MATH",chainId:1139,explorers:[],faucets:[],infoURL:"https://mathchain.org",name:"MathChain",nativeCurrency:{name:"MathChain",symbol:"MATH",decimals:18},networkId:1139,rpc:["https://1139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mathchain-asia.maiziqianbao.net/rpc","https://mathchain-us.maiziqianbao.net/rpc"],shortName:"MATH",slug:"mathchain",testnet:!1},t2t={chain:"MATH",chainId:1140,explorers:[],faucets:["https://scan.boka.network/#/Galois/faucet"],infoURL:"https://mathchain.org",name:"MathChain Testnet",nativeCurrency:{name:"MathChain",symbol:"MATH",decimals:18},networkId:1140,rpc:["https://1140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://galois-hk.maiziqianbao.net/rpc"],shortName:"tMATH",slip44:1,slug:"mathchain-testnet",testnet:!0},Use={chain:"Flag",chainId:1147,explorers:[{name:"Flag Testnet Explorer",url:"https://testnet-explorer.flagscan.xyz",standard:"EIP3091"}],faucets:["https://faucet.flagscan.xyz"],icon:{url:"ipfs://bafybeibcrxeavdxpwwmj4mc6hhp232nkrfbpvfpngcqux2v5rmoshycj3u",width:500,height:500,format:"png"},infoURL:"https://testnet-explorer.flagscan.xyz",name:"Flag Testnet",nativeCurrency:{name:"Flag Testnet",symbol:"FLAG",decimals:18},networkId:1147,rpc:["https://1147.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.flagscan.xyz"],shortName:"tFLAG",slug:"flag-testnet",testnet:!0},n2t={chain:"Plexchain",chainId:1149,explorers:[{name:"Plexchain Explorer",url:"https://explorer.plexfinance.us",standard:"EIP3091",icon:{url:"ipfs://QmcXzfMNSQ7SZzKemNquVoXyG5ergdqCGeLWjRYETGBTUM",width:256,height:256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcXzfMNSQ7SZzKemNquVoXyG5ergdqCGeLWjRYETGBTUM",width:256,height:256,format:"png"},infoURL:"https://plexfinance.us/",name:"Symplexia Smart Chain",nativeCurrency:{name:"Plex Native Token",symbol:"PLEX",decimals:18},networkId:1149,rpc:["https://1149.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://plex-rpc.plexfinance.us"],shortName:"Plexchain",slug:"symplexia-smart-chain",testnet:!1},a2t={chain:"Origin",chainId:1170,explorers:[{name:"Origin Explorer",url:"https://evm-explorer.origin.uptick.network",standard:"none",icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"},infoURL:"https://www.uptick.network",name:"Origin Testnet",nativeCurrency:{name:"Origin",symbol:"UOC",decimals:18},networkId:1170,rpc:["https://1170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.origin.uptick.network"],shortName:"auoc",slip44:1,slug:"origin-testnet",testnet:!0},r2t={chain:"SHT",chainId:1177,explorers:[{name:"Smart Host Teknoloji TESTNET Explorer",url:"https://s2.tl.web.tr:4000",standard:"EIP3091",icon:{url:"ipfs://QmTrLGHyQ1Le25Q7EgNSF5Qq8D2SocKvroDkLqurdBuSQQ",width:1655,height:1029,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTrLGHyQ1Le25Q7EgNSF5Qq8D2SocKvroDkLqurdBuSQQ",width:1655,height:1029,format:"png"},infoURL:"https://smart-host.com.tr",name:"Smart Host Teknoloji TESTNET",nativeCurrency:{name:"Smart Host Teknoloji TESTNET",symbol:"tSHT",decimals:18},networkId:1177,rpc:["https://1177.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s2.tl.web.tr:4041"],shortName:"sht",slip44:1,slug:"smart-host-teknoloji-testnet",testnet:!0},f2t={chain:"MOS",chainId:1188,explorers:[{name:"mosscan",url:"https://www.mosscan.com",standard:"none",icon:{url:"ipfs://QmczQf61mZmg3NmmGnwseDxzH1AqapA252KCTT85GuNG96",width:51,height:50,format:"png"}}],faucets:[],icon:{url:"ipfs://QmczQf61mZmg3NmmGnwseDxzH1AqapA252KCTT85GuNG96",width:51,height:50,format:"png"},infoURL:"https://www.mosscan.com",name:"ClubMos Mainnet",nativeCurrency:{name:"ClubMos",symbol:"MOS",decimals:18},networkId:1188,rpc:["https://1188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.mosscan.com"],shortName:"MOS",slug:"clubmos",testnet:!1},i2t={chain:"IORA",chainId:1197,explorers:[{name:"ioraexplorer",url:"https://explorer.iorachain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiehps5cqdhqottu2efo4jeehwpkz5rbux3cjxd75rm6rjm4sgs2wi",width:250,height:250,format:"png"},infoURL:"https://iorachain.com",name:"Iora Chain",nativeCurrency:{name:"Iora",symbol:"IORA",decimals:18},networkId:1197,rpc:["https://1197.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.iorachain.com"],shortName:"iora",slug:"iora-chain",testnet:!1},s2t={chain:"Evanesco Testnet",chainId:1201,explorers:[],faucets:[],infoURL:"https://evanesco.org/",name:"Evanesco Testnet",nativeCurrency:{name:"AVIS",symbol:"AVIS",decimals:18},networkId:1201,rpc:["https://1201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed5.evanesco.org:8547"],shortName:"avis",slip44:1,slug:"evanesco-testnet",testnet:!0},o2t={chain:"WTT",chainId:1202,explorers:[{name:"WTTScout",url:"https://explorer.cadaut.com",standard:"EIP3091"}],faucets:[],infoURL:"http://www.cadaut.com",name:"World Trade Technical Chain Mainnet",nativeCurrency:{name:"World Trade Token",symbol:"WTT",decimals:18},networkId:2048,rpc:["https://1202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cadaut.com","wss://rpc.cadaut.com/ws"],shortName:"wtt",slug:"world-trade-technical-chain",testnet:!1},c2t={chain:"SaitaBlockChain(SBC)",chainId:1209,explorers:[{name:"Saitascan explorer",url:"https://saitascan.io",standard:"none",icon:{url:"ipfs://QmVFWTqfqnMXbiPKpDFucE9QSQ1SVsUWs4HxBqRGjgQCbu",width:974,height:263,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVFWTqfqnMXbiPKpDFucE9QSQ1SVsUWs4HxBqRGjgQCbu",width:974,height:263,format:"png"},infoURL:"https://saitachain.com",name:"SaitaBlockChain(SBC)",nativeCurrency:{name:"SaitaBlockChain(SBC)",symbol:"STC",decimals:18},networkId:1209,rpc:["https://1209.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nodes.saitascan.io"],shortName:"SBC",slug:"saitablockchain-sbc",testnet:!1},d2t={chain:"POPCATEUM",chainId:1213,explorers:[{name:"popcateum explorer",url:"https://explorer.popcateum.org",standard:"none"}],faucets:[],infoURL:"https://popcateum.org",name:"Popcateum Mainnet",nativeCurrency:{name:"Popcat",symbol:"POP",decimals:18},networkId:1213,rpc:["https://1213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.popcateum.org"],shortName:"popcat",slug:"popcateum",testnet:!1},l2t={chain:"ENTER",chainId:1214,explorers:[{name:"Enter Explorer - Expenter",url:"https://explorer.entercoin.net",standard:"EIP3091",icon:{url:"ipfs://Qmb2UYVc1MjLPi8vhszWRxqBJYoYkWQVxDJRSmtrgk6j2E",width:64,height:64,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmb2UYVc1MjLPi8vhszWRxqBJYoYkWQVxDJRSmtrgk6j2E",width:64,height:64,format:"png"},infoURL:"https://entercoin.net",name:"EnterChain Mainnet",nativeCurrency:{name:"EnterCoin",symbol:"ENTER",decimals:18},networkId:1214,rpc:["https://1214.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tapi.entercoin.net/"],shortName:"enter",slug:"enterchain",testnet:!1},u2t={chain:"1220",chainId:1220,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmXo2p1i4zsbTNEu41EjjrhdmbKFDGHEHeADXZ3x2fgNKE/1682003789585.jpeg",width:3600,height:3600,format:"jpeg"},infoURL:"https://flagblockchain.com/",name:"Flag Testnet",nativeCurrency:{name:"FLAG",symbol:"FLAG",decimals:18},networkId:1220,redFlags:[],rpc:["https://1220.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.flagscan.io"],shortName:"Flag",slug:"flag-testnet-flag",testnet:!0},p2t={chain:"ETH",chainId:1221,explorers:[],faucets:[],icon:{url:"ipfs://QmeC4mKGbBpwmLfFxUSsareWkSWJomevUmex8ajjxo1zHx",width:500,height:500,format:"png"},infoURL:"https://www.cyclenetwork.io/",name:"Cycle Network Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1221,rpc:["https://1221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.cyclenetwork.io"],shortName:"Cycle",slug:"cycle-network-testnet",testnet:!0},h2t={chain:"HYB",chainId:1224,explorers:[{name:"Hybrid Testnet",url:"https://explorer.buildonhybrid.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGfvH9qfvbMXYKosS1nHbw3q5UtFJky4hdMDmmKDTx8Y",width:250,height:250,format:"png"},infoURL:"https://buildonhybrid.com",name:"Hybrid Testnet",nativeCurrency:{name:"Hybrid",symbol:"HYB",decimals:18},networkId:1224,rpc:["https://1224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.buildonhybrid.com"],shortName:"hyb",slug:"hybrid-testnet",testnet:!0},b2t={chain:"EXZO",chainId:1229,explorers:[{name:"blockscout",url:"https://exzoscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeYpc2JfEsHa2Bh11SKRx3sgDtMeg6T8KpXNLepBEKnbJ",width:128,height:128,format:"png"},infoURL:"https://exzo.network",name:"Exzo Network Mainnet",nativeCurrency:{name:"Exzo",symbol:"XZO",decimals:18},networkId:1229,rpc:["https://1229.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.exzo.technology"],shortName:"xzo",slug:"exzo-network",testnet:!1},m2t={chain:"Ultron",chainId:1230,explorers:[{name:"Ultron Testnet Explorer",url:"https://explorer.ultron-dev.io",standard:"none",icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"},infoURL:"https://ultron.foundation",name:"Ultron Testnet",nativeCurrency:{name:"Ultron",symbol:"ULX",decimals:18},networkId:1230,rpc:["https://1230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ultron-dev.io"],shortName:"UltronTestnet",slip44:1,slug:"ultron-testnet",testnet:!0},y2t={chain:"Ultron",chainId:1231,explorers:[{name:"Ultron Explorer",url:"https://ulxscan.com",standard:"none",icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"},infoURL:"https://ultron.foundation",name:"Ultron Mainnet",nativeCurrency:{name:"Ultron",symbol:"ULX",decimals:18},networkId:1231,rpc:["https://1231.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ultron-rpc.net"],shortName:"UtronMainnet",slug:"ultron",testnet:!1},g2t={chain:"STEP",chainId:1234,explorers:[{name:"StepScan",url:"https://stepscan.io",standard:"EIP3091",icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"},infoURL:"https://step.network",name:"Step Network",nativeCurrency:{name:"FITFI",symbol:"FITFI",decimals:18},networkId:1234,parent:{type:"L2",chain:"eip155-43114",bridges:[{url:"https://bridge.step.network"}]},rpc:["https://1234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.step.network"],shortName:"step",slug:"step-network",testnet:!1,title:"Step Main Network"},v2t={chain:"ARC",chainId:1243,explorers:[{name:"archiescan",url:"https://app.archiescan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafybeiady63oqduls2pm4aaykzjhahblagokhnpsc5qeq5dmkxqelh7i2i",width:512,height:512,format:"png"},infoURL:"https://archiechain.io/",name:"ARC Mainnet",nativeCurrency:{name:"ARC",symbol:"ARC",decimals:18},networkId:1243,rpc:["https://1243.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-main-1.archiechain.io"],shortName:"ARC",slug:"arc",testnet:!1},w2t={chain:"ARC",chainId:1244,explorers:[{name:"archiescan",url:"https://testnet.archiescan.io",standard:"none"}],faucets:["https://faucet.archiechain.io"],icon:{url:"ipfs://bafybeiady63oqduls2pm4aaykzjhahblagokhnpsc5qeq5dmkxqelh7i2i",width:512,height:512,format:"png"},infoURL:"https://archiechain.io/",name:"ARC Testnet",nativeCurrency:{name:"ARC",symbol:"ARC",decimals:18},networkId:1244,rpc:["https://1244.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test-1.archiechain.io"],shortName:"TARC",slip44:1,slug:"arc-testnet",testnet:!0},T2t={chain:"omplatform",chainId:1246,explorers:[{name:"OMSCAN - Expenter",url:"https://omscan.omplatform.com",standard:"none"}],faucets:[],infoURL:"https://omplatform.com/",name:"OM Platform Mainnet",nativeCurrency:{name:"OMCOIN",symbol:"OM",decimals:18},networkId:1246,rpc:["https://1246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-cnx.omplatform.com/"],shortName:"om",slug:"om-platform",testnet:!1},x2t={chain:"Dogether",chainId:1248,explorers:[{name:"DogetherExplorer",url:"https://explorer.dogether.dog",standard:"EIP3091"}],faucets:[],infoURL:"https://www.dogether.dog/",name:"Dogether Mainnet",nativeCurrency:{name:"Dogether",symbol:"dogeth",decimals:18},networkId:1248,rpc:["https://1248.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dogether.dog/"],shortName:"Dogether",slug:"dogether",testnet:!1},E2t={chain:"CICT",chainId:1252,explorers:[{name:"CICscan",url:"https://testnet.cicscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"}}],faucets:["https://cicfaucet.com"],icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"},infoURL:"https://www.cicchain.net",name:"CIC Chain Testnet",nativeCurrency:{name:"Crazy Internet Coin",symbol:"CICT",decimals:18},networkId:1252,rpc:["https://1252.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testapi.cicscan.com"],shortName:"CICT",slip44:1,slug:"cic-chain-testnet",testnet:!0},_2t={chain:"HALO",chainId:1280,explorers:[{name:"HALOexplorer",url:"https://browser.halo.land",standard:"none"}],faucets:[],infoURL:"https://halo.land/#/",name:"HALO Mainnet",nativeCurrency:{name:"HALO",symbol:"HO",decimals:18},networkId:1280,rpc:["https://1280.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodes.halo.land"],shortName:"HO",slug:"halo",testnet:!1},A2t={chain:"MOON",chainId:1284,explorers:[{name:"moonscan",url:"https://moonbeam.moonscan.io",standard:"none"}],faucets:[],infoURL:"https://moonbeam.network/networks/moonbeam/",name:"Moonbeam",nativeCurrency:{name:"Glimmer",symbol:"GLMR",decimals:18},networkId:1284,rpc:["https://1284.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonbeam.network","wss://wss.api.moonbeam.network","https://moonbeam.public.blastapi.io","wss://moonbeam.public.blastapi.io","https://moonbeam-rpc.dwellir.com","wss://moonbeam-rpc.dwellir.com","https://moonbeam.api.onfinality.io/public","wss://moonbeam.api.onfinality.io/public-ws","https://moonbeam.unitedbloc.com","wss://moonbeam.unitedbloc.com","https://moonbeam-rpc.publicnode.com","wss://moonbeam-rpc.publicnode.com","https://moonbeam.drpc.org","wss://moonbeam.drpc.org"],shortName:"mbeam",slug:"moonbeam",testnet:!1},C2t={chain:"MOON",chainId:1285,explorers:[{name:"moonscan",url:"https://moonriver.moonscan.io",standard:"none"}],faucets:[],infoURL:"https://moonbeam.network/networks/moonriver/",name:"Moonriver",nativeCurrency:{name:"Moonriver",symbol:"MOVR",decimals:18},networkId:1285,rpc:["https://1285.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonriver.moonbeam.network","wss://wss.api.moonriver.moonbeam.network","https://moonriver.public.blastapi.io","wss://moonriver.public.blastapi.io","https://moonriver-rpc.dwellir.com","wss://moonriver-rpc.dwellir.com","https://moonriver.api.onfinality.io/public","wss://moonriver.api.onfinality.io/public-ws","https://moonriver.unitedbloc.com","wss://moonriver.unitedbloc.com","https://moonriver-rpc.publicnode.com","wss://moonriver-rpc.publicnode.com","https://moonriver.drpc.org","wss://moonriver.drpc.org"],shortName:"mriver",slug:"moonriver",testnet:!1},I2t={chain:"MOON",chainId:1286,explorers:[],faucets:[],name:"Moonrock old",nativeCurrency:{name:"Rocs",symbol:"ROC",decimals:18},networkId:1286,rpc:[],shortName:"mrock-old",slug:"moonrock-old",status:"deprecated",testnet:!1},k2t={chain:"MOON",chainId:1287,explorers:[{name:"moonscan",url:"https://moonbase.moonscan.io",standard:"none"}],faucets:[],features:[],infoURL:"https://docs.moonbeam.network/learn/platform/networks/moonbase/",name:"Moonbase Alpha",nativeCurrency:{name:"Dev",symbol:"DEV",decimals:18},networkId:1287,redFlags:[],rpc:["https://1287.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonbase.moonbeam.network","wss://wss.api.moonbase.moonbeam.network","https://moonbase-alpha.public.blastapi.io","wss://moonbase-alpha.public.blastapi.io","https://moonbase-rpc.dwellir.com","wss://moonbase-rpc.dwellir.com","https://moonbeam-alpha.api.onfinality.io/public","wss://moonbeam-alpha.api.onfinality.io/public-ws","https://moonbase.unitedbloc.com","wss://moonbase.unitedbloc.com","https://moonbase-alpha.drpc.org","wss://moonbase-alpha.drpc.org"],shortName:"mbase",slip44:1,slug:"moonbase-alpha",testnet:!0},S2t={chain:"MOON",chainId:1288,explorers:[],faucets:[],infoURL:"https://docs.moonbeam.network/learn/platform/networks/overview/",name:"Moonrock",nativeCurrency:{name:"Rocs",symbol:"ROC",decimals:18},networkId:1288,rpc:["https://1288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonrock.moonbeam.network","wss://wss.api.moonrock.moonbeam.network"],shortName:"mrock",slug:"moonrock",testnet:!1},R2t={chain:"SWTR",chainId:1291,explorers:[{name:"Swisstronik Scout",url:"https://explorer-evm.testnet.swisstronik.com",standard:"none"}],faucets:["https://faucet.testnet.swisstronik.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeihuintkoipxalwans23vhxajbwjnozpy34ww7ia7ds7nay3rpylzi",width:256,height:256,format:"svg"},infoURL:"https://www.swisstronik.com",name:"Swisstronik Testnet",nativeCurrency:{name:"Swisstronik",symbol:"SWTR",decimals:18},networkId:1291,rpc:["https://1291.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.testnet.swisstronik.com"],shortName:"swtr",slip44:1,slug:"swisstronik-testnet",testnet:!0},M2t={chain:"Bobabeam",chainId:1294,explorers:[{name:"Bobabeam block explorer",url:"https://blockexplorer.bobabeam.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobabeam",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:1294,rpc:["https://1294.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bobabeam.boba.network","wss://wss.bobabeam.boba.network","https://replica.bobabeam.boba.network","wss://replica-wss.bobabeam.boba.network"],shortName:"Bobabeam",slug:"bobabeam",status:"deprecated",testnet:!1},B2t={chain:"Bobabase Testnet",chainId:1297,explorers:[{name:"Bobabase block explorer",url:"https://blockexplorer.bobabase.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobabase Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:1297,rpc:["https://1297.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bobabase.boba.network","wss://wss.bobabase.boba.network","https://replica.bobabase.boba.network","wss://replica-wss.bobabase.boba.network"],shortName:"Bobabase",slip44:1,slug:"bobabase-testnet",status:"deprecated",testnet:!0},D2t={chain:"DOS",chainId:1311,explorers:[{name:"dos-testnet",url:"https://test.doscan.io",standard:"EIP3091"}],faucets:[],infoURL:"http://doschain.io/",name:"Dos Fuji Subnet",nativeCurrency:{name:"Dos Native Token",symbol:"DOS",decimals:18},networkId:1311,rpc:["https://1311.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.doschain.com/jsonrpc"],shortName:"TDOS",slug:"dos-fuji-subnet",testnet:!0},P2t={chain:"ALYX",chainId:1314,explorers:[{name:"alyxscan",url:"https://www.alyxscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifd43fcvh77mdcwjrpzpnlhthounc6b4u645kukqpqhduaveatf6i",width:2481,height:2481,format:"png"},infoURL:"https://www.alyxchain.com",name:"Alyx Mainnet",nativeCurrency:{name:"Alyx Chain Native Token",symbol:"ALYX",decimals:18},networkId:1314,rpc:["https://1314.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alyxchain.com"],shortName:"alyx",slug:"alyx",testnet:!1},L2t={chain:"AIA",chainId:1319,explorers:[{name:"AIA Chain Explorer Mainnet",url:"https://aiascan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXbBMMhjTTGAGjmqMpJm3ufFrtdkfEXCFyXYgz7nnZzsy",width:160,height:160,format:"png"},infoURL:"https://aiachain.org/",name:"AIA Mainnet",nativeCurrency:{name:"AIA Mainnet",symbol:"AIA",decimals:18},networkId:1319,rpc:["https://1319.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://aia-dataseed1.aiachain.org","https://aia-dataseed2.aiachain.org","https://aia-dataseed3.aiachain.org","https://aia-dataseed4.aiachain.org"],shortName:"aia",slug:"aia",testnet:!1},F2t={chain:"AIA",chainId:1320,explorers:[{name:"AIA Chain Explorer Testnet",url:"https://testnet.aiascan.com",standard:"EIP3091"}],faucets:["https://aia-faucet-testnet.aiachain.org"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXbBMMhjTTGAGjmqMpJm3ufFrtdkfEXCFyXYgz7nnZzsy",width:160,height:160,format:"png"},infoURL:"https://aiachain.org",name:"AIA Testnet",nativeCurrency:{name:"AIA Testnet",symbol:"AIA",decimals:18},networkId:1320,rpc:["https://1320.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://aia-dataseed1-testnet.aiachain.org"],shortName:"aiatestnet",slip44:1,slug:"aia-testnet",testnet:!0},N2t={chain:"Sei",chainId:1329,explorers:[{name:"Seitrace",url:"https://seitrace.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreia2tiurhfkc2lifytbpv356d4rfmqoivzrepg2wsrqwrqgbb4bp7a",width:600,height:600,format:"png"},infoURL:"https://www.sei.io",name:"Sei Network",nativeCurrency:{name:"Sei",symbol:"SEI",decimals:18},networkId:1329,rpc:["https://1329.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.sei-apis.com","wss://evm-ws.sei-apis.com"],shortName:"sei",slug:"sei-network",testnet:!1},xHe={chain:"ETH",chainId:1337,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},name:"Localhost",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1337,redFlags:[],rpc:["http://localhost:8545"],shortName:"local",slug:"localhost",testnet:!0},O2t={chain:"Elysium",chainId:1338,explorers:[{name:"Elysium testnet explorer",url:"https://elysium-explorer.vulcanforged.com",standard:"none"}],faucets:[],infoURL:"https://elysiumscan.vulcanforged.com",name:"Elysium Testnet",nativeCurrency:{name:"LAVA",symbol:"LAVA",decimals:18},networkId:1338,rpc:["https://1338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://elysium-test-rpc.vulcanforged.com"],shortName:"ELST",slip44:1,slug:"elysium-testnet",testnet:!0,title:"An L1, carbon-neutral, tree-planting, metaverse dedicated blockchain created by VulcanForged"},U2t={chain:"Elysium",chainId:1339,explorers:[{name:"Elysium mainnet explorer",url:"https://explorer.elysiumchain.tech",standard:"none"}],faucets:[],infoURL:"https://elysiumscan.vulcanforged.com",name:"Elysium Mainnet",nativeCurrency:{name:"LAVA",symbol:"LAVA",decimals:18},networkId:1339,rpc:["https://1339.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.elysiumchain.tech/"],shortName:"ELSM",slug:"elysium",testnet:!1,title:"An L1, carbon-neutral, tree-planting, metaverse dedicated blockchain created by VulcanForged"},H2t={chain:"BLITZ",chainId:1343,explorers:[{name:"BLITZ Explorer",url:"https://subnets-test.avax.network/blitz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://blitz.gg",name:"Blitz Subnet",nativeCurrency:{name:"BLITZ GAS",symbol:"BGAS",decimals:18},networkId:1343,rpc:["https://1343.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/blitz/testnet/rpc"],shortName:"blitz",slug:"blitz-subnet",testnet:!0},z2t={chain:"CIC",chainId:1353,explorers:[{name:"CICscan",url:"https://cicscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"},infoURL:"https://www.cicchain.net",name:"CIC Chain Mainnet",nativeCurrency:{name:"Crazy Internet Coin",symbol:"CIC",decimals:18},networkId:1353,rpc:["https://1353.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xapi.cicscan.com"],shortName:"CIC",slug:"cic-chain",testnet:!1},W2t={chain:"ZAFIC",chainId:1369,explorers:[{name:"zafirium-explorer",url:"https://explorer.zakumi.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZT1Wq3P4YbgKBSUmCtgbs5ijPF5d91BzaMPh7Aub8d8t",width:192,height:192,format:"png"},infoURL:"https://www.zakumi.io",name:"Zafirium Mainnet",nativeCurrency:{name:"Zakumi Chain Native Token",symbol:"ZAFIC",decimals:18},networkId:1369,rpc:["https://1369.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.zakumi.io"],shortName:"zafic",slug:"zafirium",testnet:!1},q2t={chain:"Ramestta",chainId:1370,explorers:[{name:"ramascan",url:"https://ramascan.com",standard:"EIP3091",icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"},infoURL:"https://www.ramestta.com",name:"Ramestta Mainnet",nativeCurrency:{name:"Rama",symbol:"RAMA",decimals:18},networkId:1370,rpc:["https://1370.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain.ramestta.com","https://blockchain2.ramestta.com"],shortName:"RAMA",slug:"ramestta",testnet:!1},j2t={chain:"Pingaksha",chainId:1377,explorers:[{name:"Pingaksha",url:"https://pingaksha.ramascan.com",standard:"EIP3091",icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"},infoURL:"https://www.ramestta.com",name:"Pingaksha testnet",nativeCurrency:{name:"Rama",symbol:"tRAMA",decimals:18},networkId:1377,rpc:["https://1377.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.ramestta.com"],shortName:"tRAMA",slug:"pingaksha-testnet",testnet:!0},G2t={chain:"KLC",chainId:1379,explorers:[{name:"kalarscan",url:"https://explorer.kalarchain.tech",standard:"EIP3091",icon:{url:"ipfs://bafkreidbzzv3lrwlzquhlpl4jcmr54sifhi5ufoek6olb5kjh3h3kvktdq",width:411,height:159,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreihfoy2kgf2rebaoicso7z5h7ju46z6gtr64mskkths3qbfkrtnkjm",width:190,height:170,format:"png"},infoURL:"https://kalarchain.tech",name:"Kalar Chain",nativeCurrency:{name:"Kalar",symbol:"KLC",decimals:18},networkId:1379,rpc:["https://1379.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-api.kalarchain.tech"],shortName:"KLC",slug:"kalar-chain",testnet:!1},K2t={chain:"AmStar",chainId:1388,explorers:[{name:"amstarscan",url:"https://mainnet.amstarscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmd4TMQdnYxaUZqnVddh5S37NGH72g2kkK38ccCEgdZz1C",width:599,height:563,format:"png"},infoURL:"https://sinso.io",name:"AmStar Mainnet",nativeCurrency:{name:"SINSO",symbol:"SINSO",decimals:18},networkId:1388,rpc:["https://1388.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.amstarscan.com"],shortName:"ASAR",slug:"amstar",testnet:!1},Q2t={chain:"Joseon",chainId:1392,explorers:[{name:"BlockExplorer",url:"https://www.blockexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQjwcNRCLXU8JBtSkPLUnbWVrpoqbnZVffpJ9Bu8rG34e",width:148,height:148,format:"svg"},infoURL:"https://www.joseon.com/",name:"Joseon Mainnet",nativeCurrency:{name:"Joseon Mun",symbol:"JSM",decimals:18},networkId:1392,rpc:["https://1392.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.modchain.net/blockchain.joseon.com/rpc"],shortName:"mun",slug:"joseon",testnet:!1},V2t={chain:"Polygon",chainId:1402,explorers:[{name:"blockscout",url:"https://explorer.public.zkevm-test.net",standard:"EIP3091"}],faucets:[],infoURL:"https://polygon.technology/solutions/polygon-zkevm/",name:"Polygon zkEVM Testnet old",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1402,rpc:[],shortName:"zkevmtest",slip44:1,slug:"polygon-zkevm-testnet-old",status:"deprecated",testnet:!0,title:"Polygon zkEVM Testnet"},Y2t={chain:"Silicon",chainId:1414,explorers:[],faucets:[],icon:{url:"ipfs://QmTEnk2fosqbY6HQW5vySrLGbopJfeni9ThZ6R9sVefbnq",width:800,height:800,format:"png"},name:"Silicon zkEVM Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1414,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:[],shortName:"silicon-sepolia-testnet",slug:"silicon-zkevm-sepolia-testnet",status:"incubating",testnet:!0,title:"Silicon zkEVM Sepolia Testnet"},$2t={chain:"Polygon",chainId:1422,explorers:[{name:"Polygon zkEVM explorer",url:"https://explorer.public.zkevm-test.net",standard:"EIP3091"}],faucets:[],infoURL:"https://polygon.technology/solutions/polygon-zkevm/",name:"Polygon zkEVM Testnet Pre Audit-Upgraded",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1422,rpc:[],shortName:"testnet-zkEVM-mango-pre-audit-upgraded",slip44:1,slug:"polygon-zkevm-testnet-pre-audit-upgraded",status:"deprecated",testnet:!0,title:"Polygon zkEVM Testnet Pre Audit-Upgraded"},J2t={chain:"Rikeza",chainId:1433,explorers:[{name:"Rikeza Blockchain explorer",url:"https://rikscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfJ1Qxpzi6CSLeFeWY1Bwe435CpT5za5WfrLUE7vNzZfy",width:512,height:512,format:"png"},infoURL:"https://rikeza.io",name:"Rikeza Network Mainnet",nativeCurrency:{name:"Rikeza",symbol:"RIK",decimals:18},networkId:1433,rpc:["https://1433.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rikscan.com"],shortName:"RIK",slug:"rikeza-network",testnet:!1,title:"Rikeza Network Mainnet"},X2t={chain:"LAS",chainId:1440,explorers:[],faucets:[],icon:{url:"ipfs://QmRidubY7BVwC737BQwGEttenP1npAXN7ZNryktE416uUW",width:500,height:500,format:"jpg"},infoURL:"https://dev.livingassets.io/",name:"Living Assets Mainnet",nativeCurrency:{name:"LAS",symbol:"LAS",decimals:18},networkId:1440,rpc:["https://1440.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beta.mainnet.livingassets.io/rpc","https://gamma.mainnet.livingassets.io/rpc"],shortName:"LAS",slug:"living-assets",testnet:!1},Z2t={chain:"Polygon",chainId:1442,explorers:[{name:"Polygon zkEVM explorer",url:"https://explorer.public.zkevm-test.net",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"},infoURL:"https://polygon.technology/solutions/polygon-zkevm/",name:"Polygon zkEVM Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1442,redFlags:[],rpc:["https://1442.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.public.zkevm-test.net","https://polygon-zkevm-testnet.drpc.org","wss://polygon-zkevm-testnet.drpc.org"],shortName:"testnet-zkEVM-mango",slip44:1,slug:"polygon-zkevm-testnet",testnet:!0,title:"Polygon zkEVM Testnet"},eut={chain:"GIL",chainId:1452,explorers:[{name:"GIL Explorer",url:"https://explorer.giltestnet.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeDXUAYgQxwaSJLsqWgTqnrJVwicgEyNf9199xAMyRkqA",width:243,height:243,format:"svg"},infoURL:"https://gaussgang.com/",name:"GIL Testnet",nativeCurrency:{name:"GANG",symbol:"GANG",decimals:18},networkId:1452,rpc:["https://1452.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.giltestnet.com"],shortName:"gil",slip44:1,slug:"gil-testnet",testnet:!0},tut={chain:"MTC",chainId:1453,explorers:[{name:"MetaExplorer",url:"https://istanbul-explorer.metachain.dev",standard:"EIP3091"}],faucets:["https://istanbul-faucet.metachain.dev"],icon:{url:"ipfs://QmUH2Ph2hW4upvevEAGCaSo7nd8nthqMx5RrHcrnNZ9Y3g",width:512,height:512,format:"svg"},infoURL:"https://metatime.com/en",name:"MetaChain Istanbul",nativeCurrency:{name:"Metatime Coin",symbol:"MTC",decimals:18},networkId:1453,rpc:["https://1453.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://istanbul-rpc.metachain.dev"],shortName:"metatimeistanbul",slip44:1453,slug:"metachain-istanbul",testnet:!0,title:"MetaChain Testnet Istanbul"},nut={chain:"Ctex Scan Blockchain",chainId:1455,explorers:[{name:"Ctex Scan Explorer",url:"https://ctexscan.com",standard:"none"}],faucets:["https://faucet.ctexscan.com"],icon:{url:"ipfs://bafkreid5evn4qovxo6msuekizv5zn7va62tea7w2zpdx5sskconebuhqle",width:800,height:800,format:"png"},infoURL:"https://ctextoken.io",name:"Ctex Scan Blockchain",nativeCurrency:{name:"CTEX",symbol:"CTEX",decimals:18},networkId:1455,rpc:["https://1455.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.ctexscan.com/"],shortName:"CTEX",slug:"ctex-scan-blockchain",testnet:!1},aut={chain:"Vitruveo",chainId:1490,explorers:[{name:"Vitruveo Explorer",url:"https://explorer.vitruveo.xyz",standard:"EIP3091",icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"},infoURL:"https://www.vitruveo.xyz",name:"Vitruveo Mainnet",nativeCurrency:{name:"Vitruveo Coin",symbol:"VTRU",decimals:18},networkId:1490,rpc:["https://1490.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.vitruveo.xyz"],shortName:"vitruveo",slug:"vitruveo",testnet:!1,title:"Vitruveo is a blockchain for Creators"},rut={chain:"IGC",chainId:1499,explorers:[{name:"IGC-Scan",url:"https://igcscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeXuzaYXCDwHgQdpuE9L55JfEChzj11P73Ngrn8vDTE9T",width:1024,height:1024,format:"png"},infoURL:"https://idosgames.com/",name:"iDos Games Chain Testnet",nativeCurrency:{name:"iDos Games Coin",symbol:"IGC",decimals:18},networkId:1499,rpc:["https://1499.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.idos.games"],shortName:"IGC",slug:"idos-games-chain-testnet",testnet:!0},fut={chain:"ChainX",chainId:1501,explorers:[{name:"bevm canary scan",url:"https://scan-canary.bevm.io",standard:"none"}],faucets:[],features:[],icon:{url:"https://cloudflare-ipfs.com/ipfs/bafkreibvwfrow3w6q5qj2mk6n7yx5oahxzgn3pnghdr76zsyxvc3l5hh7y",width:3600,height:3600,format:"png"},infoURL:"https://chainx.org",name:"BEVM Canary",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:1501,redFlags:[],rpc:["https://1501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-canary-1.bevm.io/","https://rpc-canary-2.bevm.io/"],shortName:"chainx",slug:"bevm-canary",testnet:!1},iut={chain:"Sherpax Mainnet",chainId:1506,explorers:[{name:"Sherpax Mainnet Explorer",url:"https://evm.sherpax.io",standard:"none"}],faucets:[],infoURL:"https://sherpax.io/",name:"Sherpax Mainnet",nativeCurrency:{name:"KSX",symbol:"KSX",decimals:18},networkId:1506,rpc:["https://1506.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.sherpax.io/rpc"],shortName:"Sherpax",slug:"sherpax",testnet:!1},sut={chain:"Sherpax Testnet",chainId:1507,explorers:[{name:"Sherpax Testnet Explorer",url:"https://evm-pre.sherpax.io",standard:"none"}],faucets:[],infoURL:"https://sherpax.io/",name:"Sherpax Testnet",nativeCurrency:{name:"KSX",symbol:"KSX",decimals:18},networkId:1507,rpc:["https://1507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sherpax-testnet.chainx.org/rpc"],shortName:"SherpaxTestnet",slip44:1,slug:"sherpax-testnet",testnet:!0},out={chain:"BMC",chainId:1515,explorers:[{name:"Beagle Messaging Chain Explorer",url:"https://eth.beagle.chat",standard:"EIP3091"}],faucets:["https://faucet.beagle.chat/"],infoURL:"https://beagle.chat/",name:"Beagle Messaging Chain",nativeCurrency:{name:"Beagle",symbol:"BG",decimals:18},networkId:1515,rpc:["https://1515.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beagle.chat/eth"],shortName:"beagle",slug:"beagle-messaging-chain",testnet:!1},cut={chain:"TENET",chainId:1559,explorers:[{name:"TenetScan Mainnet",url:"https://tenetscan.io",standard:"EIP3091",icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"}}],faucets:[],icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"},infoURL:"https://tenet.org/",name:"Tenet",nativeCurrency:{name:"TENET",symbol:"TENET",decimals:18},networkId:1559,rpc:["https://1559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tenet.org","https://tenet-evm.publicnode.com","wss://tenet-evm.publicnode.com"],shortName:"tenet",slug:"tenet",testnet:!1,title:"Tenet Mainnet"},dut={chain:"gETH",chainId:1582,explorers:[],faucets:[],features:[],icon:{url:"ipfs://bafybeibfpls2ealp4e5fdeoxessfjjkldgjnrcx2erph7524pg7alskk6a/1f9cb.svg",width:512,height:512,format:"svg"},infoURL:"https://bubstestnet.com",name:"Bubs Testnet",nativeCurrency:{name:"Ether",symbol:"gETH",decimals:18},networkId:1582,redFlags:[],rpc:[],shortName:"Bubs",slug:"bubs-testnet",status:"deprecated",testnet:!0},lut={chain:"Avalanche",chainId:1614,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0305I1 Testnet",nativeCurrency:{name:"QI0305I1 Testnet Token",symbol:"PDC",decimals:18},networkId:1614,redFlags:[],rpc:["https://1614.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0305I1 Testnet",slug:"qi0305i1-testnet",testnet:!0},uut={chain:"ETINS",chainId:1617,explorers:[{name:"Ethereum Inscription Explorer",url:"https://explorer.etins.org",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.etins.org",name:"Ethereum Inscription Mainnet",nativeCurrency:{name:"Ethereum Inscription",symbol:"ETINS",decimals:18},networkId:1617,rpc:["https://1617.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.etins.org"],shortName:"etins",slug:"ethereum-inscription",testnet:!1},put={chain:"Catechain",chainId:1618,explorers:[],faucets:[],infoURL:"https://catechain.com",name:"Catecoin Chain Mainnet",nativeCurrency:{name:"Catecoin",symbol:"CATE",decimals:18},networkId:1618,rpc:["https://1618.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://send.catechain.com"],shortName:"cate",slug:"catecoin-chain",testnet:!1},hut={chain:"ATH",chainId:1620,explorers:[],faucets:[],infoURL:"https://atheios.org",name:"Atheios",nativeCurrency:{name:"Atheios Ether",symbol:"ATH",decimals:18},networkId:11235813,rpc:["https://1620.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.atheios.org/"],shortName:"ath",slip44:1620,slug:"atheios",testnet:!1},but={chain:"Gravity",chainId:1625,explorers:[{name:"Gravity Alpha Mainnet Explorer",url:"https://explorer.gravity.xyz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"},{name:"EIP1108"}],icon:{url:"ipfs://QmU5XU4S5oaGM5fj8oU1ovhWoXCzGWspwRj2zWRTuJrU4k",width:512,height:512,format:"png"},infoURL:"https://gravity.xyz",name:"Gravity Alpha Mainnet",nativeCurrency:{name:"Gravity",symbol:"G.",decimals:18},networkId:1625,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.gravity.xyz"}]},rpc:["https://1625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gravity.xyz"],shortName:"gravity",slug:"gravity-alpha",testnet:!1},mut={chain:"btachain",chainId:1657,explorers:[],faucets:[],infoURL:"https://bitcoinasset.io/",name:"Btachain",nativeCurrency:{name:"Bitcoin Asset",symbol:"BTA",decimals:18},networkId:1657,rpc:["https://1657.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed1.btachain.com/"],shortName:"bta",slug:"btachain",testnet:!1},yut={chain:"LQC",chainId:1662,explorers:[{name:"Liquichain Mainnet",url:"https://mainnet.liquichain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://liquichain.io/",name:"Liquichain",nativeCurrency:{name:"Licoin",symbol:"LCN",decimals:18},networkId:1662,redFlags:["reusedChainId"],rpc:[],shortName:"Liquichain",slug:"liquichain",testnet:!1},gut={chain:"Gobi",chainId:1663,explorers:[{name:"Gobi Testnet Block Explorer",url:"https://gobi-explorer.horizen.io",standard:"EIP3091",icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"}}],faucets:["https://faucet.horizen.io"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"},infoURL:"https://horizen.io/",name:"Horizen Gobi Testnet",nativeCurrency:{name:"Testnet Zen",symbol:"tZEN",decimals:18},networkId:1663,rpc:["https://1663.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gobi-rpc.horizenlabs.io/ethv1","https://rpc.ankr.com/horizen_gobi_testnet"],shortName:"Gobi",slip44:1,slug:"horizen-gobi-testnet",testnet:!0},vut={chain:"ETH",chainId:1686,explorers:[{name:"blockscout",url:"https://testnet-explorer.mintchain.io",standard:"EIP3091",icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"},infoURL:"https://www.mintchain.io",name:"Mint Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1686,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://testnet-bridge.mintchain.io"}]},rpc:["https://1686.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.mintchain.io"],shortName:"minttest",slug:"mint-testnet",testnet:!0},wut={chain:"ETH",chainId:1687,explorers:[{name:"blockscout",url:"https://sepolia-testnet-explorer.mintchain.io",standard:"EIP3091",icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"},infoURL:"https://www.mintchain.io",name:"Mint Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1687,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sepolia-testnet-bridge.mintchain.io"}]},rpc:["https://1687.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-testnet-rpc.mintchain.io"],shortName:"mintsepoliatest",slug:"mint-sepolia-testnet",testnet:!0},Tut={chain:"LUDAN",chainId:1688,explorers:[],faucets:[],icon:{url:"ipfs://bafkreigzeanzqgxrzzep45t776ovbwi242poqxbryuu2go5eedeuwwcsay",width:512,height:512,format:"png"},infoURL:"https://www.ludan.org/",name:"LUDAN Mainnet",nativeCurrency:{name:"LUDAN",symbol:"LUDAN",decimals:18},networkId:1688,rpc:["https://1688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ludan.org/"],shortName:"LUDAN",slug:"ludan",testnet:!1},xut={chain:"ETH",chainId:1701,explorers:[{name:"Anytype Explorer",url:"https://explorer.anytype.io",standard:"EIP3091",icon:{url:"ipfs://QmaARJiAQUn4Z6wG8GLEry3kTeBB3k6RfHzSZU9SPhBgcG",width:200,height:200,format:"png"}}],faucets:["https://evm.anytype.io/faucet"],icon:{url:"ipfs://QmaARJiAQUn4Z6wG8GLEry3kTeBB3k6RfHzSZU9SPhBgcG",width:200,height:200,format:"png"},infoURL:"https://evm.anytype.io",name:"Anytype EVM Chain",nativeCurrency:{name:"ANY",symbol:"ANY",decimals:18},networkId:1701,rpc:["https://1701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geth.anytype.io"],shortName:"AnytypeChain",slug:"anytype-evm-chain",testnet:!1},Eut={chain:"TBSI",chainId:1707,explorers:[{name:"blockscout",url:"https://exp.blockchain.or.th",standard:"EIP3091"}],faucets:[],infoURL:"https://blockchain.or.th",name:"TBSI Mainnet",nativeCurrency:{name:"Jinda",symbol:"JINDA",decimals:18},networkId:1707,rpc:["https://1707.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blockchain.or.th"],shortName:"TBSI",slug:"tbsi",testnet:!1,title:"Thai Blockchain Service Infrastructure Mainnet"},_ut={chain:"TBSI",chainId:1708,explorers:[{name:"blockscout",url:"https://exp.testnet.blockchain.or.th",standard:"EIP3091"}],faucets:["https://faucet.blockchain.or.th"],infoURL:"https://blockchain.or.th",name:"TBSI Testnet",nativeCurrency:{name:"Jinda",symbol:"JINDA",decimals:18},networkId:1708,rpc:["https://1708.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.blockchain.or.th"],shortName:"tTBSI",slip44:1,slug:"tbsi-testnet",testnet:!0,title:"Thai Blockchain Service Infrastructure Testnet"},Aut={chain:"DRC",chainId:1717,explorers:[{name:"Doric Explorer",url:"https://explorer.doric.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdFEozqneC8abhpfgtGpvfKpWVEbL8eMZjJKtUPuBTanK",width:988,height:901,format:"png"},infoURL:"https://doric.network",name:"Doric Network",nativeCurrency:{name:"Doric Native Token",symbol:"DRC",decimals:18},networkId:1717,rpc:["https://1717.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.doric.network"],shortName:"DRC",slug:"doric-network",testnet:!1},Cut={chain:"PLT",chainId:1718,explorers:[{name:"Palettescan",url:"https://palettescan.com",standard:"none",icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"},infoURL:"https://hashpalette.com/",name:"Palette Chain Mainnet",nativeCurrency:{name:"Palette Token",symbol:"PLT",decimals:18},networkId:1718,rpc:["https://1718.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palette-rpc.com:22000"],shortName:"PCM",slug:"palette-chain",testnet:!1},Iut={chain:"Reya",chainId:1729,explorers:[{name:"Reya Network Explorer",url:"https://explorer.reya.network",standard:"EIP3091"}],faucets:[],infoURL:"https://reya.network",name:"Reya Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1729,rpc:["https://1729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.reya.network","wss://ws.reya.network"],shortName:"reya",slug:"reya-network",testnet:!1},kut={chain:"Metal L2 Testnet",chainId:1740,explorers:[{name:"blockscout",url:"https://testnet.explorer.metall2.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmesm61n8vVVDEeZU7npz39aQYofes9vMfXYwWM4JehLFS",width:250,height:250,format:"svg"},infoURL:"https://metall2.com",name:"Metal L2 Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:1740,rpc:["https://1740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.metall2.com"],shortName:"metall2-testnet",slug:"metal-l2-testnet",testnet:!0},Sut={chain:"Metal L2",chainId:1750,explorers:[{name:"blockscout",url:"https://explorer.metall2.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmesm61n8vVVDEeZU7npz39aQYofes9vMfXYwWM4JehLFS",width:250,height:250,format:"svg"},infoURL:"https://metall2.com",name:"Metal L2",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:1750,rpc:["https://1750.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metall2.com"],shortName:"metall2",slug:"metal-l2",testnet:!1},Rut={chain:"mainnet",chainId:1773,explorers:[{name:"PartyExplorer",url:"https://partyexplorer.co",standard:"EIP3091",icon:{url:"ipfs://QmerDBFoXvgev2xx9U71gAaAK4CtxaaQVaAPf9Qi6UF9MS",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmerDBFoXvgev2xx9U71gAaAK4CtxaaQVaAPf9Qi6UF9MS",width:400,height:400,format:"jpg"},name:"PartyChain",nativeCurrency:{name:"Grams",symbol:"GRAMS",decimals:18},networkId:1773,rpc:["https://1773.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tea.mining4people.com/rpc","http://172.104.194.36:8545"],shortName:"TeaParty",slug:"partychain",status:"incubating",testnet:!1},Mut={chain:"Gauss",chainId:1777,explorers:[{name:"Gauss Explorer",url:"https://explorer.gaussgang.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeDXUAYgQxwaSJLsqWgTqnrJVwicgEyNf9199xAMyRkqA",width:243,height:243,format:"svg"},infoURL:"https://gaussgang.com/",name:"Gauss Mainnet",nativeCurrency:{name:"GANG",symbol:"GANG",decimals:18},networkId:1777,rpc:["https://1777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gaussgang.com"],shortName:"gauss",slug:"gauss",testnet:!1},But={chain:"ETH",chainId:1789,explorers:[{name:"ZKbase Block Explorer",url:"https://sepolia-explorer.zkbase.app",standard:"EIP3091",icon:{url:"ipfs://QmRLtNvkVhC7rRDiLMHLckWbesaSU6sNYhQZgsAM1phTZx",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmRLtNvkVhC7rRDiLMHLckWbesaSU6sNYhQZgsAM1phTZx",width:400,height:400,format:"jpg"},infoURL:"https://zkbase.org/",name:"ZKBase Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1789,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://portral.zkbase.app/"}]},redFlags:["reusedChainId"],rpc:["https://1789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.zkbase.app"],shortName:"zkbase-sepolia",slip44:1,slug:"zkbase-sepolia-testnet",testnet:!0},Dut={chain:"CRC",chainId:1804,explorers:[{name:"Lite Explorer",url:"https://ethereum-pocr.github.io/explorer/kerleano",standard:"EIP3091",icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"}}],faucets:["https://github.com/ethereum-pocr/kerleano/blob/main/docs/faucet.md"],icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"},infoURL:"https://github.com/ethereum-pocr/kerleano",name:"Kerleano",nativeCurrency:{name:"Climate awaReness Coin",symbol:"CRC",decimals:18},networkId:1804,rpc:["https://1804.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cacib-saturn-test.francecentral.cloudapp.azure.com","wss://cacib-saturn-test.francecentral.cloudapp.azure.com:9443"],shortName:"kerleano",slip44:1,slug:"kerleano",status:"active",testnet:!0,title:"Proof of Climate awaReness testnet"},Put={chain:"rAna",chainId:1807,explorers:[{name:"blockscout",url:"https://rabbit.analogscan.com",standard:"none"}],faucets:["https://analogfaucet.com"],icon:{url:"ipfs://QmdfbjjF3ZzN2jTkH9REgrA8jDS6A6c21n7rbWSVbSnvQc",width:310,height:251,format:"svg"},infoURL:"https://rabbit.analogscan.com",name:"Rabbit Analog Testnet Chain",nativeCurrency:{name:"Rabbit Analog Test Chain Native Token ",symbol:"rAna",decimals:18},networkId:1807,rpc:["https://1807.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rabbit.analog-rpc.com"],shortName:"rAna",slip44:1,slug:"rabbit-analog-testnet-chain",testnet:!0},Lut={chain:"Cube",chainId:1818,explorers:[{name:"cube-scan",url:"https://cubescan.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbENgHTymTUUArX5MZ2XXH69WGenirU3oamkRD448hYdz",width:282,height:250,format:"png"},infoURL:"https://www.cube.network",name:"Cube Chain Mainnet",nativeCurrency:{name:"Cube Chain Native Token",symbol:"CUBE",decimals:18},networkId:1818,rpc:["https://1818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.cube.network","wss://ws-mainnet.cube.network","https://http-mainnet-sg.cube.network","wss://ws-mainnet-sg.cube.network","https://http-mainnet-us.cube.network","wss://ws-mainnet-us.cube.network"],shortName:"cube",slip44:1818,slug:"cube-chain",testnet:!1},Fut={chain:"Cube",chainId:1819,explorers:[{name:"cubetest-scan",url:"https://testnet.cubescan.network",standard:"EIP3091"}],faucets:["https://faucet.cube.network"],icon:{url:"ipfs://QmbENgHTymTUUArX5MZ2XXH69WGenirU3oamkRD448hYdz",width:282,height:250,format:"png"},infoURL:"https://www.cube.network",name:"Cube Chain Testnet",nativeCurrency:{name:"Cube Chain Test Native Token",symbol:"CUBET",decimals:18},networkId:1819,rpc:["https://1819.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.cube.network","wss://ws-testnet.cube.network","https://http-testnet-sg.cube.network","wss://ws-testnet-sg.cube.network","https://http-testnet-jp.cube.network","wss://ws-testnet-jp.cube.network","https://http-testnet-us.cube.network","wss://ws-testnet-us.cube.network"],shortName:"cubet",slip44:1,slug:"cube-chain-testnet",testnet:!0},Nut={chain:"RUBY",chainId:1821,explorers:[{name:"RUBY Smart Chain MAINNET Explorer",url:"https://rubyscan.net",standard:"none",icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"},infoURL:"https://rubychain.io",name:"Ruby Smart Chain MAINNET",nativeCurrency:{name:"RUBY Smart Chain Native Token",symbol:"RUBY",decimals:18},networkId:1821,rpc:["https://1821.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-data.rubychain.io/","https://mainnet.rubychain.io/"],shortName:"RUBY",slip44:1,slug:"ruby-smart-chain",testnet:!1},Out={chain:"Avalanche",chainId:1838,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Traderlands Testnet",nativeCurrency:{name:"Traderlands Testnet Token",symbol:"TDL3",decimals:18},networkId:1838,redFlags:[],rpc:["https://1838.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/traderland/testnet/rpc"],shortName:"Traderlands Testnet",slug:"traderlands-testnet",testnet:!0},Uut={chain:"Avalanche",chainId:1853,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"HighOctane",nativeCurrency:{name:"HighOctane Token",symbol:"HO",decimals:18},networkId:1853,redFlags:[],rpc:["https://1853.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/highoctane/mainnet/rpc"],shortName:"HighOctane",slug:"highoctane",testnet:!1},Hut={chain:"TSF",chainId:1856,explorers:[],faucets:[],infoURL:"https://teslafunds.io",name:"Teslafunds",nativeCurrency:{name:"Teslafunds Ether",symbol:"TSF",decimals:18},networkId:1,rpc:["https://1856.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tsfapi.europool.me"],shortName:"tsf",slug:"teslafunds",testnet:!1},zut={chain:"WBT",chainId:1875,explorers:[{name:"whitechain-explorer",url:"https://explorer.whitechain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNeELax6vjkR9WZVmtggk8cam9xHVABZ4WvQyqkGCJ5qf",width:512,height:512,format:"png"},infoURL:"https://whitechain.io",name:"Whitechain",nativeCurrency:{name:"WhiteBIT Coin",symbol:"WBT",decimals:18},networkId:1875,rpc:["https://1875.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.whitechain.io"],shortName:"wbt",slug:"whitechain",testnet:!1},Wut={chain:"Gitshock Cartenz",chainId:1881,explorers:[{name:"blockscout",url:"https://scan.cartenz.works",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifqpj5jkjazvh24muc7wv4r22tihzzl75cevgecxhvojm4ls6mzpq",width:512,height:512,format:"png"},infoURL:"https://gitshock.com",name:"Gitshock Cartenz Testnet",nativeCurrency:{name:"Gitshock Cartenz",symbol:"tGTFX",decimals:18},networkId:1881,rpc:["https://1881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cartenz.works"],shortName:"gitshockchain",slip44:1,slug:"gitshock-cartenz-testnet",testnet:!0},qut={chain:"Lightlink Phoenix Mainnet",chainId:1890,explorers:[{name:"phoenix",url:"https://phoenix.lightlink.io",standard:"EIP3091",icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"},infoURL:"https://lightlink.io",name:"Lightlink Phoenix Mainnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:1890,rpc:["https://1890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://replicator.phoenix.lightlink.io/rpc/v1"],shortName:"lightlink_phoenix",slug:"lightlink-phoenix",testnet:!1},jut={chain:"Lightlink Pegasus Testnet",chainId:1891,explorers:[{name:"pegasus",url:"https://pegasus.lightlink.io",standard:"EIP3091",icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"}}],faucets:["https://faucet.pegasus.lightlink.io/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"},infoURL:"https://lightlink.io",name:"Lightlink Pegasus Testnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:1891,rpc:["https://1891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://replicator.pegasus.lightlink.io/rpc/v1"],shortName:"lightlink_pegasus",slip44:1,slug:"lightlink-pegasus-testnet",testnet:!0},Gut={chain:"BON",chainId:1898,explorers:[{name:"explorer",url:"https://explorer.boyanet.org:4001",standard:"EIP3091"}],faucets:[],infoURL:"https://boyanet.org",name:"BON Network",nativeCurrency:{name:"BOYACoin",symbol:"BOY",decimals:18},networkId:1,rpc:["https://1898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc.boyanet.org:8545","ws://rpc.boyanet.org:8546"],shortName:"boya",slug:"bon-network",testnet:!1},Kut={chain:"SCN",chainId:1904,explorers:[{name:"blockscout",url:"https://explorer.sportschainnetwork.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdW7XfRgeyoaHXEvXp8MaVteonankR32CxhL3K5Yc2uQM",width:345,height:321,format:"png"},infoURL:"https://sportschainnetwork.xyz",name:"Sports Chain Network",nativeCurrency:{name:"SCN",symbol:"SCN",decimals:18},networkId:1904,rpc:["https://1904.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sportschainnetwork.xyz/"],shortName:"SCN",slug:"sports-chain-network",testnet:!1},Qut={chain:"BITCI",chainId:1907,explorers:[{name:"Bitci Explorer",url:"https://bitciexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbxmfWw5sVMASz5EbR1DCgLfk8PnqpSJGQKpYuEUpoxqn",width:64,height:64,format:"svg"},infoURL:"https://www.bitcichain.com",name:"Bitcichain Mainnet",nativeCurrency:{name:"Bitci",symbol:"BITCI",decimals:18},networkId:1907,rpc:["https://1907.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitci.com"],shortName:"bitci",slug:"bitcichain",testnet:!1},Vut={chain:"TBITCI",chainId:1908,explorers:[{name:"Bitci Explorer Testnet",url:"https://testnet.bitciexplorer.com",standard:"EIP3091"}],faucets:["https://faucet.bitcichain.com"],icon:{url:"ipfs://QmbxmfWw5sVMASz5EbR1DCgLfk8PnqpSJGQKpYuEUpoxqn",width:64,height:64,format:"svg"},infoURL:"https://www.bitcichain.com",name:"Bitcichain Testnet",nativeCurrency:{name:"Test Bitci",symbol:"TBITCI",decimals:18},networkId:1908,rpc:["https://1908.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bitcichain.com"],shortName:"tbitci",slip44:1,slug:"bitcichain-testnet",testnet:!0},Yut={chain:"MRK",chainId:1909,explorers:[{name:"blockscout",url:"https://merklescan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZocJpCSLoQqoYFkF1kn7uKDuAiFRNTK8P5PoVeiigDBU",width:114,height:132,format:"png"},infoURL:"https://merklescan.com",name:"Merkle Scan",nativeCurrency:{name:"Merkle",symbol:"MRK",decimals:18},networkId:1909,rpc:["https://1909.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://marklechain-rpc.merklescan.com"],shortName:"MRK",slug:"merkle-scan",testnet:!1},$ut={chain:"ETH",chainId:1911,explorers:[{name:"scalind",url:"https://explorer.scalind.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmayuauUTSkYxbT1xi2AkkG5VLEMDhcMeZ18WZHiApPa9M",width:512,height:512,format:"png"},infoURL:"https://scalind.com",name:"Scalind",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1911,rpc:["https://1911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.scalind.com"],shortName:"scal",slug:"scalind",testnet:!1},Jut={chain:"RUBY",chainId:1912,explorers:[{name:"RUBY Smart Chain Testnet Explorer",url:"https://testnet.rubyscan.net",standard:"none",icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"}}],faucets:["https://claim-faucet.rubychain.io/"],icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"},infoURL:"https://rubychain.io",name:"Ruby Smart Chain Testnet",nativeCurrency:{name:"RUBY Smart Chain Native Token",symbol:"tRUBY",decimals:18},networkId:1912,rpc:["https://1912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rchain.rubychain.io/"],shortName:"tRUBY",slip44:1,slug:"ruby-smart-chain-testnet",testnet:!0},Xut={chain:"UPBEth",chainId:1918,explorers:[],faucets:[],infoURL:"https://mobylab.docs.crescdi.pub.ro/blog/UPB-CRESCDI-Testnet",name:"UPB CRESCDI Testnet",nativeCurrency:{name:"UPBEth",symbol:"UPBEth",decimals:18},networkId:1918,rpc:["https://1918.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.crescdi.pub.ro"],shortName:"UPBEth",slug:"upb-crescdi-testnet",testnet:!0},Zut={chain:"onus",chainId:1945,explorers:[{name:"Onus explorer testnet",url:"https://explorer-testnet.onuschain.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiec34ik3glrm5jrzafdytvu4kxdsrxhqmagbe27fytdcuzkhoooay",width:512,height:512,format:"png"}}],faucets:[],infoURL:"https://onuschain.io",name:"ONUS Chain Testnet",nativeCurrency:{name:"ONUS",symbol:"ONUS",decimals:18},networkId:1945,rpc:["https://1945.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.onuschain.io"],shortName:"onus-testnet",slip44:1,slug:"onus-chain-testnet",testnet:!0,title:"ONUS Chain Testnet"},ept={chain:"D-Chain",chainId:1951,explorers:[],faucets:[],icon:{url:"ipfs://QmV2vhTqS9UyrX9Q6BSCbK4JrKBnS8ErHvstMjfb2oVWaj",width:700,height:495,format:"png"},name:"D-Chain Mainnet",nativeCurrency:{name:"DOINX",symbol:"DOINX",decimals:18},networkId:1951,rpc:["https://1951.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.d-chain.network/ext/bc/2ZiR1Bro5E59siVuwdNuRFzqL95NkvkbzyLBdrsYR9BLSHV7H4/rpc"],shortName:"dchain-mainnet",slug:"d-chain",testnet:!1},tpt={chain:"tSEL",chainId:1953,explorers:[],faucets:[],icon:{url:"ipfs://QmbnLDuVc4JReFysyKvmpuqUtj9HCus6qoKD5nQ9QkokzK",width:512,height:512,format:"png"},infoURL:"https://selendra.org",name:"Selendra Network Testnet",nativeCurrency:{name:"Selendra",symbol:"tSEL",decimals:18},networkId:1953,rpc:["https://1953.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0-testnet.selendra.org","https://rpc1-testnet.selendra.org"],shortName:"tSEL",slug:"selendra-network-testnet",testnet:!0},npt={chain:"Dexilla",chainId:1954,explorers:[{name:"dos-mainnet",url:"https://exp.dexilla.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUBveetVibvSEWQrjyxySgUphLuoMGSVLGmYnobt5FgEZ",width:512,height:512,format:"png"},infoURL:"https://dexilla.com",name:"Dexilla Testnet",nativeCurrency:{name:"Dexilla Native Token",symbol:"DXZ",decimals:18},networkId:1954,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.dexilla.com"}]},rpc:["https://1954.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dexilla.com"],shortName:"Dexilla",slip44:1,slug:"dexilla-testnet",testnet:!0},apt={chain:"AIW3",chainId:1956,explorers:[{name:"aiw3 testnet scan",url:"https://scan-testnet.aiw3.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreigfxcyvnx2r46a3unljb2auxeez5olbg56lbu4gkpa4me7wqoajjy",width:500,height:500,format:"png"},infoURL:"https://aiw3.io/",name:"AIW3 Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:1956,rpc:["https://1956.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.aiw3.io/"],shortName:"AIW3-Testnet",slug:"aiw3-testnet",testnet:!0},rpt={chain:"SEL",chainId:1961,explorers:[{name:"Selendra Scan",url:"https://scan.selendra.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmbnLDuVc4JReFysyKvmpuqUtj9HCus6qoKD5nQ9QkokzK",width:512,height:512,format:"png"},infoURL:"https://selendra.org",name:"Selendra Network Mainnet",nativeCurrency:{name:"Selendra",symbol:"SEL",decimals:18},networkId:1961,rpc:["https://1961.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0.selendra.org","https://rpc1.selendra.org"],shortName:"SEL",slug:"selendra-network",testnet:!1},fpt={chain:"Avalanche",chainId:1962,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3295 Testnet",nativeCurrency:{name:"QaUser3295 Testnet Token",symbol:"JXA",decimals:18},networkId:1962,redFlags:[],rpc:["https://1962.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3295 Testnet",slug:"qauser3295-testnet",testnet:!0},ipt={chain:"MTC",chainId:1967,explorers:[{name:"metaexplorer-eleanor",url:"https://explorer.metatime.com/eleanor",standard:"EIP3091"}],faucets:["https://faucet.metatime.com/eleanor"],infoURL:"https://eleanor.metatime.com",name:"Eleanor",nativeCurrency:{name:"Eleanor Metacoin",symbol:"MTC",decimals:18},networkId:1967,rpc:["https://1967.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metatime.com/eleanor","wss://ws.metatime.com/eleanor"],shortName:"mtc",slip44:1,slug:"eleanor",testnet:!0,title:"Metatime Testnet Eleanor"},spt={chain:"TSCS",chainId:1969,explorers:[{name:"blockscout",url:"https://testnetscan.scschain.com",standard:"EIP3091"}],faucets:["https://testnet.scschain.com"],icon:{url:"ipfs://QmW4C4QHLMhLeH5MsdVbauMc2Skb4ehzLKU3egLKKoux4D",width:130,height:130,format:"png"},infoURL:"https://testnet.scschain.com",name:"Super Smart Chain Testnet",nativeCurrency:{name:"Super Chain Native Token",symbol:"TSCS",decimals:18},networkId:1969,rpc:["https://1969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetrpc.scschain.com"],shortName:"tscs",slip44:1,slug:"super-smart-chain-testnet",testnet:!0},opt={chain:"SCS",chainId:1970,explorers:[{name:"blockscout",url:"https://scan.scschain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmW4C4QHLMhLeH5MsdVbauMc2Skb4ehzLKU3egLKKoux4D",width:130,height:130,format:"png"},infoURL:"https://scschain.com",name:"Super Smart Chain Mainnet",nativeCurrency:{name:"Super Chain Native Token",symbol:"SCS",decimals:18},networkId:1970,rpc:["https://1970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.scschain.com"],shortName:"scs",slug:"super-smart-chain",testnet:!1},cpt={chain:"ALTR",chainId:1971,explorers:[],faucets:[],icon:{url:"ipfs://bafkreigcquvoalec3ll2m26v4wsx5enlxwyn6nk2mgfqwncyqrgwivla5u",width:200,height:200,format:"png"},infoURL:"https://1971.network/",name:"Atelier",nativeCurrency:{name:"ATLR",symbol:"ATLR",decimals:18},networkId:1971,rpc:["https://1971.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://1971.network/atlr","wss://1971.network/atlr"],shortName:"atlr",slip44:1,slug:"atelier",testnet:!0,title:"Atelier Test Network"},dpt={chain:"REDEV2",chainId:1972,explorers:[{name:"RedeCoin Explorer",url:"https://explorer3.redecoin.eu",standard:"none"}],faucets:[],infoURL:"https://www.redecoin.eu",name:"RedeCoin",nativeCurrency:{name:"RedeCoin",symbol:"REDEV2",decimals:18},networkId:1972,rpc:["https://1972.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc2.redecoin.eu"],shortName:"rede",slug:"redecoin",testnet:!1},lpt={chain:"onus",chainId:1975,explorers:[{name:"Onus explorer mainnet",url:"https://explorer.onuschain.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiec34ik3glrm5jrzafdytvu4kxdsrxhqmagbe27fytdcuzkhoooay",width:512,height:512,format:"png"}}],faucets:[],infoURL:"https://onuschain.io",name:"ONUS Chain Mainnet",nativeCurrency:{name:"ONUS",symbol:"ONUS",decimals:18},networkId:1975,rpc:["https://1975.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.onuschain.io","wss://ws.onuschain.io"],shortName:"onus-mainnet",slug:"onus-chain",testnet:!1,title:"ONUS Chain Mainnet"},upt={chain:"EUN",chainId:1984,explorers:[{name:"testnetexplorer",url:"https://testnetexplorer.eurus.network",standard:"none",icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"},infoURL:"https://eurus.network",name:"Eurus Testnet",nativeCurrency:{name:"Eurus",symbol:"EUN",decimals:18},networkId:1984,rpc:["https://1984.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.eurus.network"],shortName:"euntest",slip44:1,slug:"eurus-testnet",testnet:!0},ppt={chain:"TUSHY",chainId:1985,explorers:[{name:"mainnetexplorer",url:"http://explore.satosh.ie",standard:"none",icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"},infoURL:"https://satosh.ie",name:"SatoshIE",nativeCurrency:{name:"Tushy Token",symbol:"TUSHY",decimals:18},networkId:1985,rpc:["https://1985.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc.satosh.ie"],shortName:"satoshie",slug:"satoshie",testnet:!1},hpt={chain:"TUSHY",chainId:1986,explorers:[{name:"testnetexplorer",url:"http://explore-testnet.satosh.ie",standard:"none",icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"},infoURL:"https://satosh.ie",name:"SatoshIE Testnet",nativeCurrency:{name:"Tushy Token",symbol:"TUSHY",decimals:18},networkId:1986,rpc:["https://1986.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.satosh.ie"],shortName:"satoshie_testnet",slip44:1,slug:"satoshie-testnet",testnet:!0},bpt={chain:"EGEM",chainId:1987,explorers:[],faucets:[],infoURL:"https://egem.io",name:"EtherGem",nativeCurrency:{name:"EtherGem Ether",symbol:"EGEM",decimals:18},networkId:1987,rpc:["https://1987.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.egem.io/custom"],shortName:"egem",slip44:1987,slug:"ethergem",testnet:!1},mpt={chain:"Hubblenet",chainId:1992,explorers:[{name:"routescan",url:"https://explorer.hubble.exchange",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmU9t9fZaWiqpAZ9dw2ojTpJycnB8BxekLWVSCJikJVgjW",width:512,height:512,format:"png"},infoURL:"https://www.hubble.exchange",name:"Hubble Exchange",nativeCurrency:{name:"USD Coin",symbol:"USDC",decimals:18},networkId:1992,rpc:["https://1992.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hubble.exchange","wss://ws-rpc.hubble.exchange"],shortName:"hubblenet",slip44:60,slug:"hubble-exchange",testnet:!1},ypt={chain:"B3 Sepolia",chainId:1993,explorers:[],faucets:[],features:[],icon:{url:"https://cdn.b3.fun/b3_logo%40.png",width:512,height:512,format:"png"},infoURL:"https://docs.b3.fun/",name:"B3 Sepolia",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:1993,parent:{type:"L3",chain:"eip155-1",bridges:[{url:"https://bridge.b3.fun/"}]},redFlags:[],rpc:["https://1993.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.b3.fun/http"],shortName:"b3-sepolia",slug:"b3-sepolia",testnet:!0,title:"B3 Sepolia"},gpt={chain:"EKTA",chainId:1994,explorers:[{name:"ektascan",url:"https://ektascan.io",standard:"EIP3091",icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"},infoURL:"https://www.ekta.io",name:"Ekta",nativeCurrency:{name:"EKTA",symbol:"EKTA",decimals:18},networkId:1994,rpc:["https://1994.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://main.ekta.io"],shortName:"ekta",slug:"ekta",testnet:!1},vpt={chain:"edeXa TestNetwork",chainId:1995,explorers:[{name:"edexa-testnet",url:"https://explorer.testnet.edexa.network",standard:"EIP3091"}],faucets:["https://faucet.edexa.com/"],icon:{url:"ipfs://QmSgvmLpRsCiu2ySqyceA5xN4nwi7URJRNEZLffwEKXdoR",width:1028,height:1042,format:"png"},infoURL:"https://edexa.network/",name:"edeXa Testnet",nativeCurrency:{name:"EDEXA",symbol:"EDX",decimals:18},networkId:1995,rpc:["https://1995.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.edexa.network/rpc","https://io-dataseed1.testnet.edexa.io-market.com/rpc"],shortName:"edx",slip44:1,slug:"edexa-testnet",testnet:!0},wpt={chain:"Sanko",chainId:1996,explorers:[{name:"Sanko Explorer",url:"https://explorer.sanko.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmbwi5FoJdL6HuFmQGQu1sdyoGrSuj45H12tMNTnpRAmLw",width:795,height:792,format:"png"},infoURL:"https://sanko.xyz/",name:"Sanko",nativeCurrency:{name:"DMT",symbol:"DMT",decimals:18},networkId:1996,rpc:["https://1996.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.sanko.xyz"],shortName:"Sanko",slug:"sanko",testnet:!1},Tpt={chain:"KYOTO",chainId:1998,explorers:[{name:"Kyotoscan",url:"https://testnet.kyotoscan.io",standard:"EIP3091"}],faucets:["https://faucet.kyotoprotocol.io"],features:[{name:"EIP155"}],infoURL:"https://kyotoprotocol.io",name:"Kyoto Testnet",nativeCurrency:{name:"Kyoto",symbol:"KYOTO",decimals:18},networkId:1998,rpc:["https://1998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.kyotoprotocol.io:8545"],shortName:"kyoto-testnet",slip44:1,slug:"kyoto-testnet",testnet:!0},xpt={chain:"DC",chainId:2e3,explorers:[{name:"dogechain explorer",url:"https://explorer.dogechain.dog",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNS6B6L8FfgGSMTEi2SxD3bK5cdmKPNtQKcYaJeRWrkHs",width:732,height:732,format:"png"},infoURL:"https://dogechain.dog",name:"Dogechain Mainnet",nativeCurrency:{name:"Dogecoin",symbol:"DOGE",decimals:18},networkId:2e3,rpc:["https://2000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dogechain.dog","https://rpc01-sg.dogechain.dog","https://rpc.ankr.com/dogechain"],shortName:"dc",slug:"dogechain",testnet:!1},Ept={chain:"milkAda",chainId:2001,explorers:[{name:"Blockscout",url:"https://explorer-mainnet-cardano-evm.c1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda C1 Mainnet",nativeCurrency:{name:"milkAda",symbol:"mADA",decimals:18},networkId:2001,rpc:["https://2001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-cardano-evm.c1.milkomeda.com","wss://rpc-mainnet-cardano-evm.c1.milkomeda.com"],shortName:"milkAda",slug:"milkomeda-c1",testnet:!1},_pt={chain:"milkALGO",chainId:2002,explorers:[{name:"Blockscout",url:"https://explorer-mainnet-algorand-rollup.a1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda A1 Mainnet",nativeCurrency:{name:"milkALGO",symbol:"mALGO",decimals:18},networkId:2002,rpc:["https://2002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-algorand-rollup.a1.milkomeda.com","wss://rpc-mainnet-algorand-rollup.a1.milkomeda.com/ws"],shortName:"milkALGO",slug:"milkomeda-a1",testnet:!1},Apt={chain:"CloudWalk Testnet",chainId:2008,explorers:[{name:"CloudWalk Testnet Explorer",url:"https://explorer.testnet.cloudwalk.io",standard:"none"}],faucets:[],infoURL:"https://cloudwalk.io",name:"CloudWalk Testnet",nativeCurrency:{name:"CloudWalk Native Token",symbol:"CWN",decimals:18},networkId:2008,rpc:[],shortName:"cloudwalk_testnet",slip44:1,slug:"cloudwalk-testnet",testnet:!0},Cpt={chain:"CloudWalk Mainnet",chainId:2009,explorers:[{name:"CloudWalk Mainnet Explorer",url:"https://explorer.mainnet.cloudwalk.io",standard:"none"}],faucets:[],infoURL:"https://cloudwalk.io",name:"CloudWalk Mainnet",nativeCurrency:{name:"CloudWalk Native Token",symbol:"CWN",decimals:18},networkId:2009,rpc:[],shortName:"cloudwalk_mainnet",slug:"cloudwalk",testnet:!1},Ipt={chain:"Panarchy",chainId:2013,explorers:[],faucets:[],infoURL:"https://polytopia.org/",name:"Panarchy",nativeCurrency:{name:"GAS",symbol:"GAS",decimals:18},networkId:1,rpc:["https://2013.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://polytopia.org:8545"],shortName:"panarchy",slug:"panarchy",testnet:!1},kpt={chain:"NOW",chainId:2014,explorers:[{name:"nowscan",url:"https://nowscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSUzhRGzMyMyGwBcE3ooZ5jvHKyJ1FjVjh5SfoGHG36MX",width:512,height:512,format:"png"},infoURL:"https://nowchain.co",name:"NOW Chain",nativeCurrency:{name:"NOW Coin",symbol:"NOW",decimals:18},networkId:2014,rpc:["https://2014.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.nowscan.io"],shortName:"now",slug:"now-chain",testnet:!1},Spt={chain:"NetZ",chainId:2016,explorers:[{name:"MainnetZ",url:"https://explorer.mainnetz.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmT5gJ5weBiLT3GoYuF5yRTRLdPLCVZ3tXznfqW7M8fxgG",width:400,height:400,format:"png"},infoURL:"https://mainnetz.io",name:"MainnetZ Mainnet",nativeCurrency:{name:"MainnetZ",symbol:"NetZ",decimals:18},networkId:2016,rpc:["https://2016.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.mainnetz.io","https://eu-rpc.mainnetz.io"],shortName:"netz",slug:"z-mainnet",testnet:!1},Rpt={chain:"TEL",chainId:2017,explorers:[{name:"telscan",url:"https://telscan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreih4obvrymfdqohzhiafhvpcy6zwqbgpfm26aahrv3qx2dtcei7hk4",width:79,height:80,format:"svg"}}],faucets:["https://telcoin.network/faucet"],icon:{url:"ipfs://bafkreih4obvrymfdqohzhiafhvpcy6zwqbgpfm26aahrv3qx2dtcei7hk4",width:79,height:80,format:"svg"},infoURL:"https://telcoin.network",name:"Adiri",nativeCurrency:{name:"Telcoin",symbol:"TEL",decimals:18},networkId:2017,rpc:["https://2017.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.telcoin.network","https://adiri.tel","https://node1.telcoin.network","https://node2.telcoin.network","https://node3.telcoin.network","https://node4.telcoin.network"],shortName:"tel",slip44:1,slug:"adiri",testnet:!0,title:"Telcoin Network Testnet"},Mpt={chain:"PublicMint",chainId:2018,explorers:[{name:"PublicMint Explorer",url:"https://explorer.dev.publicmint.io",standard:"EIP3091"}],faucets:[],infoURL:"https://publicmint.com",name:"PublicMint Devnet",nativeCurrency:{name:"USD",symbol:"USD",decimals:18},networkId:2018,rpc:["https://2018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.publicmint.io:8545"],shortName:"pmint_dev",slip44:60,slug:"publicmint-devnet",testnet:!1,title:"Public Mint Devnet"},Bpt={chain:"PublicMint",chainId:2019,explorers:[{name:"PublicMint Explorer",url:"https://explorer.tst.publicmint.io",standard:"EIP3091"}],faucets:[],infoURL:"https://publicmint.com",name:"PublicMint Testnet",nativeCurrency:{name:"USD",symbol:"USD",decimals:18},networkId:2019,rpc:["https://2019.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tst.publicmint.io:8545"],shortName:"pmint_test",slip44:1,slug:"publicmint-testnet",testnet:!0,title:"Public Mint Testnet"},Dpt={chain:"PublicMint",chainId:2020,explorers:[{name:"PublicMint Explorer",url:"https://explorer.publicmint.io",standard:"EIP3091"}],faucets:[],infoURL:"https://publicmint.com",name:"PublicMint Mainnet",nativeCurrency:{name:"USD",symbol:"USD",decimals:18},networkId:2020,rpc:["https://2020.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.publicmint.io:8545"],shortName:"pmint",slip44:60,slug:"publicmint",testnet:!1,title:"Public Mint Mainnet"},Ppt={chain:"EDG",chainId:2021,explorers:[{name:"Edgscan EdgeEVM explorer by Bharathcoorg",url:"https://edgscan.live",standard:"EIP3091"},{name:"Edgscan EdgeWASM explorer by Bharathcoorg",url:"https://edgscan.ink",standard:"none",icon:{url:"ipfs://QmVV7ibcq8pS44Nt77jWSLNY2RkfQooHBCZMBPSMdAfZ3d",width:88,height:88,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWCSXYLigYE6qEiese4cso2icgKQyosV3x1adtxJnRyJ9",width:88,height:76,format:"svg"},infoURL:"https://edgeware.io",name:"Edgeware EdgeEVM Mainnet",nativeCurrency:{name:"Edgeware",symbol:"EDG",decimals:18},networkId:2021,rpc:["https://2021.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://edgeware-evm.jelliedowl.net","https://edgeware-evm0.jelliedowl.net","https://edgeware-evm1.jelliedowl.net","https://edgeware-evm2.jelliedowl.net","https://edgeware-evm3.jelliedowl.net","wss://edgeware.jelliedowl.net","wss://edgeware-rpc0.jelliedowl.net","wss://edgeware-rpc1.jelliedowl.net","wss://edgeware-rpc2.jelliedowl.net","wss://edgeware-rpc3.jelliedowl.net"],shortName:"edg",slip44:523,slug:"edgeware-edgeevm",testnet:!1},Lpt={chain:"EDG",chainId:2022,explorers:[{name:"Edgscan by Bharathcoorg",url:"https://testnet.edgscan.live",standard:"EIP3091"}],faucets:[],infoURL:"https://edgeware.io/build",name:"Beresheet BereEVM Testnet",nativeCurrency:{name:"Testnet EDG",symbol:"tEDG",decimals:18},networkId:2022,rpc:["https://2022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beresheet-evm.jelliedowl.net","wss://beresheet.jelliedowl.net"],shortName:"edgt",slip44:1,slug:"beresheet-bereevm-testnet",testnet:!0},Fpt={chain:"Taycan",chainId:2023,explorers:[{name:"Taycan Explorer(Blockscout)",url:"https://evmscan-test.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}},{name:"Taycan Cosmos Explorer",url:"https://cosmoscan-test.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}}],faucets:["https://ttaycan-faucet.hupayx.io/"],icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"},infoURL:"https://hupayx.io",name:"Taycan Testnet",nativeCurrency:{name:"test-Shuffle",symbol:"tSFL",decimals:18},networkId:2023,rpc:["https://2023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-taycan.hupayx.io"],shortName:"taycan-testnet",slip44:1,slug:"taycan-testnet",testnet:!0},Npt={chain:"SWAN",chainId:2024,explorers:[],faucets:[],infoURL:"https://swanchain.io/",name:"Swan Saturn Testnet",nativeCurrency:{name:"SWANETH",symbol:"sETH",decimals:18},networkId:2024,rpc:["https://2024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://saturn-rpc.swanchain.io"],shortName:"swan",slug:"swan-saturn-testnet",testnet:!0},Opt={chain:"Rangers",chainId:2025,explorers:[{name:"rangersscan",url:"https://scan.rangersprotocol.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"Rangers Protocol Mainnet",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"RPG",decimals:18},networkId:2025,rpc:["https://2025.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rangersprotocol.com/api/jsonrpc"],shortName:"rpg",slip44:1008,slug:"rangers-protocol",testnet:!1},Upt={chain:"Edgeless",chainId:2026,explorers:[{name:"Edgeless Explorer",url:"https://explorer.edgeless.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://edgeless.network",name:"Edgeless Network",nativeCurrency:{name:"Edgeless Wrapped Eth",symbol:"EwEth",decimals:18},networkId:2026,rpc:["https://2026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.edgeless.network/http"],shortName:"edgeless",slug:"edgeless-network",testnet:!1},Hpt={chain:"CFG",chainId:2031,explorers:[{name:"subscan",url:"https://centrifuge.subscan.io",standard:"EIP3091",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmedNc3WvTm66iNK2NYW6Fzu5tx5FgNa6HCBf3DTHpzQZ1",width:209,height:208,format:"svg"},infoURL:"https://centrifuge.io",name:"Centrifuge",nativeCurrency:{name:"Centrifuge",symbol:"CFG",decimals:18},networkId:2031,rpc:["https://2031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fullnode.centrifuge.io","wss://fullnode.centrifuge.io","https://centrifuge-parachain.api.onfinality.io/public","wss://centrifuge-parachain.api.onfinality.io/public-ws","https://centrifuge-rpc.dwellir.com","wss://centrifuge-rpc.dwellir.com","https://rpc-centrifuge.luckyfriday.io","wss://rpc-centrifuge.luckyfriday.io"],shortName:"cfg",slug:"centrifuge",testnet:!1},zpt={chain:"CFG",chainId:2032,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://centrifuge.io",name:"Catalyst",nativeCurrency:{name:"Catalyst CFG",symbol:"NCFG",decimals:18},networkId:2032,rpc:["wss://fullnode.catalyst.cntrfg.com"],shortName:"ncfg",slug:"catalyst",testnet:!1},Wpt={chain:"PHA",chainId:2035,explorers:[],faucets:[],infoURL:"https://phala.network",name:"Phala Network",nativeCurrency:{name:"Phala",symbol:"PHA",decimals:18},networkId:2035,rpc:[],shortName:"pha",slug:"phala-network",testnet:!1},qpt={chain:"KIWI",chainId:2037,explorers:[{name:"KIWI Explorer",url:"https://subnets-test.avax.network/kiwi",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],name:"Kiwi Subnet",nativeCurrency:{name:"Shrapgas",symbol:"SHRAP",decimals:18},networkId:2037,rpc:["https://2037.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/kiwi/testnet/rpc"],shortName:"kiwi",slip44:1,slug:"kiwi-subnet",testnet:!0},jpt={chain:"SHRAPNEL",chainId:2038,explorers:[{name:"SHRAPNEL Explorer",url:"https://subnets-test.avax.network/shrapnel",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.shrapnel.com/",name:"Shrapnel Testnet",nativeCurrency:{name:"SHRAPG",symbol:"SHRAPG",decimals:18},networkId:2038,rpc:["https://2038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/shrapnel/testnet/rpc"],shortName:"shraptest",slip44:1,slug:"shrapnel-testnet",testnet:!0},Gpt={chain:"Aleph Zero Testnet",chainId:2039,explorers:[{name:"Aleph Zero Testnet",url:"https://test.azero.dev/#/explorer",standard:"none",icon:{url:"ipfs://QmbeSYW2c5pXAyEUzj8UFRdJhp5oMQzRMPqAsxJAqbGiem",width:317,height:303,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbeSYW2c5pXAyEUzj8UFRdJhp5oMQzRMPqAsxJAqbGiem",width:317,height:303,format:"png"},infoURL:"https://testnet.alephzero.org",name:"Aleph Zero Testnet",nativeCurrency:{name:"TZERO",symbol:"TZERO",decimals:18},networkId:2039,rpc:["https://2039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alephzero-testnet.gelato.digital","wss://rpc.alephzero-testnet.gelato.digital"],shortName:"aleph",slug:"aleph-zero-testnet",testnet:!0},Kpt={chain:"VANAR",chainId:2040,explorers:[{name:"Vanar Explorer",url:"https://explorer.vanarchain.com",standard:"EIP3091",icon:{url:"ipfs://Qmbx25iq4Vn4zLooPit9bbguXJzdiogwtVQWtSseyQPuSC",width:1e3,height:1628,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://Qmbx25iq4Vn4zLooPit9bbguXJzdiogwtVQWtSseyQPuSC",width:1e3,height:1628,format:"png"},infoURL:"https://vanarchain.com",name:"Vanar Mainnet",nativeCurrency:{name:"VANRY",symbol:"VANRY",decimals:18},networkId:2040,rpc:["https://2040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.vanarchain.com","wss://ws.vanarchain.com"],shortName:"Vanar",slug:"vanar",testnet:!1,title:"Vanarchain"},Qpt={chain:"OTP",chainId:2043,explorers:[],faucets:[],infoURL:"https://parachain.origintrail.io",name:"OriginTrail Parachain",nativeCurrency:{name:"OriginTrail Parachain Token",symbol:"OTP",decimals:12},networkId:2043,rpc:["https://2043.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://astrosat.origintrail.network","wss://parachain-rpc.origin-trail.network"],shortName:"otp",slug:"origintrail-parachain",testnet:!1},Vpt={chain:"shrapnel",chainId:2044,explorers:[],faucets:[],infoURL:"https://www.shrapnel.com/",name:"Shrapnel Subnet",nativeCurrency:{name:"Shrapnel Gas Token",symbol:"SHRAPG",decimals:18},networkId:2044,rpc:["https://2044.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/shrapnel/mainnet/rpc"],shortName:"Shrapnel",slug:"shrapnel-subnet",testnet:!1},Ypt={chain:"AIW3",chainId:2045,explorers:[],faucets:[],icon:{url:"ipfs://bafkreigfxcyvnx2r46a3unljb2auxeez5olbg56lbu4gkpa4me7wqoajjy",width:500,height:500,format:"png"},infoURL:"https://aiw3.io/",name:"AIW3 Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:2045,rpc:[],shortName:"AIW3",slug:"aiw3",status:"incubating",testnet:!1},$pt={chain:"STOS",chainId:2047,explorers:[{name:"Stratos EVM Explorer (Blockscout)",url:"https://web3-explorer-mesos.thestratos.org",standard:"none"},{name:"Stratos Cosmos Explorer (BigDipper)",url:"https://big-dipper-mesos.thestratos.org",standard:"none"}],faucets:[],infoURL:"https://www.thestratos.org",name:"Stratos Testnet",nativeCurrency:{name:"STOS",symbol:"STOS",decimals:18},networkId:2047,rpc:["https://2047.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://web3-rpc-mesos.thestratos.org"],shortName:"stos-testnet",slip44:1,slug:"stratos-testnet",testnet:!0},Jpt={chain:"STOS",chainId:2048,explorers:[{name:"Stratos EVM Explorer (Blockscout)",url:"https://web3-explorer.thestratos.org",standard:"none"},{name:"Stratos Cosmos Explorer (BigDipper)",url:"https://explorer.thestratos.org",standard:"none"}],faucets:[],infoURL:"https://www.thestratos.org",name:"Stratos",nativeCurrency:{name:"STOS",symbol:"STOS",decimals:18},networkId:2048,rpc:["https://2048.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://web3-rpc.thestratos.org"],shortName:"stos-mainnet",slug:"stratos",testnet:!1},Xpt={chain:"MOVO",chainId:2049,explorers:[{name:"movoscan",url:"https://movoscan.com",standard:"none",icon:{url:"ipfs://QmdFJMdnTvu4adiMERMP7B5ZZDwgiPmU3kU1qrUFdvHmUY",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSQGKhhBpMTM7vYpGdgMTDFyzaAN3PGG5AnmWy7KQPdSn",width:1200,height:1200,format:"png"},infoURL:"https://movo.uk",name:"Movo Smart Chain Mainnet",nativeCurrency:{name:"Movo Smart Chain",symbol:"MOVO",decimals:18},networkId:2049,rpc:["https://2049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://msc-rpc.movoscan.com","https://msc-rpc.movochain.org","https://msc-rpc.movoswap.com"],shortName:"movo",slip44:2050,slug:"movo-smart-chain",testnet:!1},Zpt={chain:"Qkacoin",chainId:2077,explorers:[{name:"blockscout",url:"https://explorer.qkacoin.org",standard:"EIP3091"}],faucets:[],infoURL:"https://qkacoin.org",name:"Quokkacoin Mainnet",nativeCurrency:{name:"Qkacoin",symbol:"QKA",decimals:18},networkId:2077,rpc:["https://2077.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.qkacoin.org"],shortName:"QKA",slug:"quokkacoin",testnet:!1},e8t={chain:"AIR",chainId:2088,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSwqWxZ5HRdc25HMhEmVKxZkwSKapuuyGHb8kyrtuzxat",width:210,height:210,format:"svg"},infoURL:"https://centrifuge.io",name:"Altair",nativeCurrency:{name:"Altair",symbol:"AIR",decimals:18},networkId:2088,rpc:["wss://fullnode.altair.centrifuge.io","wss://altair.api.onfinality.io/public-ws"],shortName:"air",slug:"altair",testnet:!1},t8t={chain:"algol",chainId:2089,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://centrifuge.io",name:"Algol",nativeCurrency:{name:"Algol",symbol:"ALGL",decimals:18},networkId:2089,rpc:["wss://fullnode.algol.cntrfg.com"],shortName:"algl",slug:"algol",status:"deprecated",testnet:!1},n8t={chain:"ECO",chainId:2100,explorers:[{name:"Ecoball Explorer",url:"https://scan.ecoball.org",standard:"EIP3091"}],faucets:[],infoURL:"https://ecoball.org",name:"Ecoball Mainnet",nativeCurrency:{name:"Ecoball Coin",symbol:"ECO",decimals:18},networkId:2100,rpc:["https://2100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ecoball.org/ecoball/"],shortName:"eco",slug:"ecoball",testnet:!1},a8t={chain:"ECO",chainId:2101,explorers:[{name:"Ecoball Testnet Explorer",url:"https://espuma-scan.ecoball.org",standard:"EIP3091"}],faucets:[],infoURL:"https://ecoball.org",name:"Ecoball Testnet Espuma",nativeCurrency:{name:"Espuma Coin",symbol:"ECO",decimals:18},networkId:2101,rpc:["https://2101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ecoball.org/espuma/"],shortName:"esp",slip44:1,slug:"ecoball-testnet-espuma",testnet:!0},r8t={chain:"EXN",chainId:2109,explorers:[{name:"blockscout",url:"https://explorer.exosama.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaQxfwpXYTomUd24PMx5tKjosupXcm99z1jL1XLq9LWBS",width:468,height:468,format:"png"},infoURL:"https://moonsama.com",name:"Exosama Network",nativeCurrency:{name:"Sama Token",symbol:"SAMA",decimals:18},networkId:2109,rpc:["https://2109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.exosama.com","wss://rpc.exosama.com"],shortName:"exn",slip44:2109,slug:"exosama-network",testnet:!1},f8t={chain:"UCHAIN",chainId:2112,explorers:[{name:"uchain.info",url:"https://uchain.info",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUz6jimQbYZ43aeQBC6nSy2m7W7U6xR2qG8tCki2Jvj9k",width:344,height:342,format:"png"},infoURL:"https://u.cash/",name:"UCHAIN Mainnet",nativeCurrency:{name:"UCASH",symbol:"UCASH",decimals:18},networkId:2112,rpc:["https://2112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.uchain.link/"],shortName:"uchain",slug:"uchain",testnet:!1},i8t={chain:"Avalanche",chainId:2121,explorers:[{name:"catenascan",url:"https://catenascan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"M TEST 1103-2",nativeCurrency:{name:"M TEST 1103-2 Token",symbol:"RJI",decimals:18},networkId:2121,redFlags:[],rpc:["https://2121.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/cb82eb40-2d0d-4188-905b-d50c4b09b40b","https://rpc1.catenarpc.com"],shortName:"M TEST 1103-2",slug:"m-test-1103-2",testnet:!0},s8t={chain:"METAD",chainId:2122,explorers:[{name:"Metad Scan",url:"https://scan.metaplayer.one",standard:"EIP3091",icon:{url:"ipfs://QmZyxS9BfRGYWWDtvrV6qtthCYV4TwdjLoH2sF6MkiTYFf",width:1280,height:1280,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZyxS9BfRGYWWDtvrV6qtthCYV4TwdjLoH2sF6MkiTYFf",width:1280,height:1280,format:"png"},infoURL:"https://docs.metaplayer.one/",name:"Metaplayerone Mainnet",nativeCurrency:{name:"METAD",symbol:"METAD",decimals:18},networkId:2122,rpc:["https://2122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metaplayer.one/"],shortName:"Metad",slug:"metaplayerone",testnet:!1},o8t={chain:"MP1 Dubai-Testnet",chainId:2124,explorers:[{name:"MP1Scan",url:"https://dubai.mp1scan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.metaplayer.one/",name:"Metaplayerone Dubai Testnet",nativeCurrency:{name:"Metaunit",symbol:"MEU",decimals:18},networkId:2124,rpc:["https://2124.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-dubai.mp1network.com/"],shortName:"MEU",slip44:1,slug:"metaplayerone-dubai-testnet",testnet:!0},c8t={chain:"BIGSB Testnet",chainId:2136,explorers:[{name:"Polkadot.js",url:"https://polkadot.js.org/apps/?rpc=wss://test-market.bigsb.network#/explorer",standard:"none"}],faucets:[],infoURL:"https://bigshortbets.com/",name:"BigShortBets Testnet",nativeCurrency:{name:"Dolarz",symbol:"Dolarz",decimals:18},networkId:2136,rpc:["https://2136.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-market.bigsb.io","wss://test-market.bigsb.io"],shortName:"bigsb_testnet",slug:"bigshortbets-testnet",testnet:!0},d8t={chain:"BIGSB",chainId:2137,explorers:[],faucets:[],infoURL:"https://bigshortbets.com/",name:"BigShortBets",nativeCurrency:{name:"USD Coin",symbol:"USDC",decimals:18},networkId:2137,rpc:["https://2137.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://market.bigsb.io","wss://market.bigsb.io"],shortName:"bigsb",slug:"bigshortbets",testnet:!1},l8t={chain:"dfiometatest",chainId:2138,ens:{registry:"0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85"},explorers:[{name:"Quorum Explorer",url:"https://public-2138.defi-oracle.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmYrMRnjQJcNkYq9AvZ2FQ9kzYj9szzP4YDmyNA1ybd8xE",width:1e3,height:1043,format:"png"},infoURL:"https://defi-oracle.io/",name:"Defi Oracle Meta Testnet",nativeCurrency:{name:"testEther",symbol:"tETH",decimals:18},networkId:21,rpc:["https://2138.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.public-2138.defi-oracle.io","wss://rpc.public-2138.defi-oracle.io"],shortName:"dfio-meta-test",slip44:1,slug:"defi-oracle-meta-testnet",testnet:!0},u8t={chain:"Oneness",chainId:2140,explorers:[{name:"oneness-mainnet",url:"https://scan.onenesslabs.io",standard:"EIP3091"}],faucets:[],name:"Oneness Network",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:2140,rpc:["https://2140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.onenesslabs.io/"],shortName:"oneness",slug:"oneness-network",testnet:!1},p8t={chain:"Oneness-Testnet",chainId:2141,explorers:[{name:"oneness-testnet",url:"https://scan.testnet.onenesslabs.io",standard:"EIP3091"}],faucets:[],name:"Oneness TestNet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:2141,rpc:["https://2141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.onenesslabs.io/"],shortName:"oneness-testnet",slug:"oneness-testnet",testnet:!0},h8t={chain:"ETH",chainId:2151,explorers:[{name:"BOASCAN",url:"https://boascan.io",standard:"EIP3091",icon:{url:"ipfs://QmW3CT4SHmso5dRJdsjR8GL1qmt79HkdAebCn2uNaWXFYh",width:256,height:257,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3CT4SHmso5dRJdsjR8GL1qmt79HkdAebCn2uNaWXFYh",width:256,height:257,format:"png"},infoURL:"https://docs.bosagora.org",name:"BOSagora Mainnet",nativeCurrency:{name:"BOSAGORA",symbol:"BOA",decimals:18},networkId:2151,rpc:["https://2151.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bosagora.org","https://rpc.bosagora.org"],shortName:"boa",slug:"bosagora",testnet:!1},b8t={chain:"Findora",chainId:2152,explorers:[{name:"findorascan",url:"https://evm.findorascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://findora.org/",name:"Findora Mainnet",nativeCurrency:{name:"FRA",symbol:"FRA",decimals:18},networkId:2152,rpc:["https://2152.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.findora.org"],shortName:"fra",slug:"findora",testnet:!1},m8t={chain:"Testnet-anvil",chainId:2153,explorers:[{name:"findorascan",url:"https://testnet-anvil.evm.findorascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://findora.org/",name:"Findora Testnet",nativeCurrency:{name:"FRA",symbol:"FRA",decimals:18},networkId:2153,rpc:["https://2153.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://prod-testnet.prod.findora.org:8545/"],shortName:"findora-testnet",slip44:1,slug:"findora-testnet",testnet:!0},y8t={chain:"Testnet-forge",chainId:2154,explorers:[{name:"findorascan",url:"https://testnet-forge.evm.findorascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://findora.org/",name:"Findora Forge",nativeCurrency:{name:"FRA",symbol:"FRA",decimals:18},networkId:2154,rpc:["https://2154.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://prod-forge.prod.findora.org:8545/"],shortName:"findora-forge",slip44:1,slug:"findora-forge",testnet:!0},g8t={chain:"MSN",chainId:2199,explorers:[{name:"blockscout",url:"https://explorer.moonsama.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://multiverse.moonsama.com/faucet"],icon:{url:"ipfs://QmaQxfwpXYTomUd24PMx5tKjosupXcm99z1jL1XLq9LWBS",width:468,height:468,format:"png"},infoURL:"https://moonsama.com",name:"Moonsama Network",nativeCurrency:{name:"Sama Token",symbol:"SAMA",decimals:18},networkId:2199,rpc:["https://2199.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.moonsama.com","wss://rpc.moonsama.com/ws"],shortName:"msn",slip44:2199,slug:"moonsama-network",testnet:!1},v8t={chain:"ABN",chainId:2202,explorers:[{name:"Antofy Mainnet",url:"https://antofyscan.com",standard:"EIP3091"}],faucets:["https://faucet.antofy.io"],icon:{url:"ipfs://QmdTfku81ohnG9ECU1Xswmeumt678cBhwHWuFYZ7i1Qsto",width:400,height:400,format:"png"},infoURL:"https://antofy.io",name:"Antofy Mainnet",nativeCurrency:{name:"Antofy",symbol:"ABN",decimals:18},networkId:2202,rpc:["https://2202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.antofy.io"],shortName:"ABNm",slug:"antofy",testnet:!1},w8t={chain:"Bitcoin EVM",chainId:2203,explorers:[{name:"Explorer",url:"https://explorer.bitcoinevm.com",standard:"none",icon:{url:"ipfs://bafkreic4aq265oaf6yze7ba5okefqh6vnqudyrz6ovukvbnrlhet36itle",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreic4aq265oaf6yze7ba5okefqh6vnqudyrz6ovukvbnrlhet36itle",width:200,height:200,format:"png"},infoURL:"https://bitcoinevm.com",name:"Bitcoin EVM",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:2203,rpc:["https://2203.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.bitcoinevm.com"],shortName:"BTC",slug:"bitcoin-evm",testnet:!1},T8t={chain:"EVA",chainId:2213,explorers:[{name:"Evanesco Explorer",url:"https://explorer.evanesco.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZbmGYdfbMRrWJore3c7hyD6q7B5pXHJqTSNjbZZUK6V8",width:200,height:200,format:"png"},infoURL:"https://evanesco.org/",name:"Evanesco Mainnet",nativeCurrency:{name:"EVA",symbol:"EVA",decimals:18},networkId:2213,rpc:["https://2213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed4.evanesco.org:8546"],shortName:"evanesco",slug:"evanesco",testnet:!1},x8t={chain:"KAVA",chainId:2221,explorers:[{name:"Kava Testnet Explorer",url:"http://testnet.kavascan.com",standard:"EIP3091",icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"}}],faucets:["https://faucet.kava.io"],icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"},infoURL:"https://www.kava.io",name:"Kava Testnet",nativeCurrency:{name:"TKava",symbol:"TKAVA",decimals:18},networkId:2221,rpc:["https://2221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.testnet.kava.io","wss://wevm.testnet.kava.io","https://kava-testnet.drpc.org","wss://kava-testnet.drpc.org"],shortName:"tkava",slug:"kava-testnet",testnet:!0},E8t={chain:"KAVA",chainId:2222,explorers:[{name:"Kava EVM Explorer",url:"https://kavascan.com",standard:"EIP3091",icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"},infoURL:"https://www.kava.io",name:"Kava",nativeCurrency:{name:"Kava",symbol:"KAVA",decimals:18},networkId:2222,redFlags:[],rpc:["https://2222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kava-evm-rpc.publicnode.com","wss://kava-evm-rpc.publicnode.com","https://evm.kava.io","wss://wevm.kava.io","https://kava-rpc.gateway.pokt.network","https://evm.kava-rpc.com","wss://wevm.kava-rpc.com","https://rpc.ankr.com/kava_evm","https://kava.drpc.org","wss://kava.drpc.org"],shortName:"kava",slug:"kava",testnet:!1},_8t={chain:"VChain",chainId:2223,explorers:[{name:"VChain Scan",url:"https://scan.vcex.xyz",standard:"EIP3091"}],faucets:[],infoURL:"https://bo.vcex.xyz/",name:"VChain Mainnet",nativeCurrency:{name:"VNDT",symbol:"VNDT",decimals:18},networkId:2223,rpc:["https://2223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bc.vcex.xyz"],shortName:"VChain",slug:"vchain",testnet:!1},A8t={chain:"Krest",chainId:2241,explorers:[{name:"Polkadot.js",url:"https://polkadot.js.org/apps/?rpc=wss://wss-krest.peaq.network#/explorer",standard:"none"},{name:"Subscan",url:"https://krest.subscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreid732273ib5at7krjdl2t7lteljlepwd3tvifqge7mu7g6naxavhe",width:256,height:256,format:"png"},infoURL:"https://www.peaq.network",name:"Krest Network",nativeCurrency:{name:"Krest",symbol:"KRST",decimals:18},networkId:2241,rpc:["https://2241.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://erpc-krest.peaq.network","https://krest.unitedbloc.com"],shortName:"KRST",slug:"krest-network",testnet:!1},C8t={chain:"BOMB",chainId:2300,explorers:[{name:"bombscan",url:"https://bombscan.com",standard:"EIP3091",icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"},infoURL:"https://www.bombchain.com",name:"BOMB Chain",nativeCurrency:{name:"BOMB Token",symbol:"BOMB",decimals:18},networkId:2300,rpc:["https://2300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bombchain.com"],shortName:"bomb",slug:"bomb-chain",testnet:!1},I8t={chain:"ebro",chainId:2306,explorers:[],faucets:[],infoURL:"https://www.ebrochain.com",name:"Ebro Network",nativeCurrency:{name:"Ebro",symbol:"ebro",decimals:18},networkId:2306,rpc:["https://2306.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://greendinoswap.com"],shortName:"ebro",slug:"ebro-network",testnet:!1},k8t={chain:"Arevia",chainId:2309,explorers:[],faucets:[],name:"Arevia",nativeCurrency:{name:"Arev",symbol:"AR\xC9V",decimals:18},networkId:2309,rpc:[],shortName:"arevia",slug:"arevia",status:"incubating",testnet:!1},S8t={chain:"SOMA",chainId:2323,explorers:[{name:"SOMA Testnet Explorer",url:"https://testnet.somascan.io",standard:"none",icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"}}],faucets:["https://faucet.somanetwork.io"],icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"},infoURL:"https://somanetwork.io",name:"SOMA Network Testnet",nativeCurrency:{name:"SMA",symbol:"tSMA",decimals:18},networkId:2323,rpc:["https://2323.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-testnet-v1.somanetwork.io/","https://testnet-au-server-2.somanetwork.io","https://testnet-au-server-1.somanetwork.io","https://testnet-sg-server-1.somanetwork.io","https://testnet-sg-server-2.somanetwork.io"],shortName:"sma",slip44:1,slug:"soma-network-testnet",testnet:!0},R8t={chain:"mainnet",chainId:2330,explorers:[{name:"expedition",url:"http://expedition.altcoinchain.org",standard:"none",icon:{url:"ipfs://QmYwHmGC9CRVcKo1LSesqxU31SDj9vk2iQxcFjQArzhix4",width:720,height:720,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYwHmGC9CRVcKo1LSesqxU31SDj9vk2iQxcFjQArzhix4",width:720,height:720,format:"png"},infoURL:"https://altcoinchain.org",name:"Altcoinchain",nativeCurrency:{name:"Altcoin",symbol:"ALT",decimals:18},networkId:2330,rpc:["https://2330.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0.altcoinchain.org/rpc"],shortName:"alt",slug:"altcoinchain",status:"active",testnet:!1},M8t={chain:"RSS3",chainId:2331,explorers:[{name:"RSS3 VSL Sepolia Testnet Scan",url:"https://scan.testnet.rss3.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTE6hnMTQaGU8Fm7nQbeTqQ5Ha3kyLKHR6QTd59prP2mC",width:200,height:200,format:"svg"},infoURL:"https://rss3.io",name:"RSS3 VSL Sepolia Testnet",nativeCurrency:{name:"RSS3",symbol:"RSS3",decimals:18},networkId:2331,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://explorer.testnet.rss3.io/bridge"}]},rpc:["https://2331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.rss3.io"],shortName:"rss3-testnet",slug:"rss3-vsl-sepolia-testnet",testnet:!0},B8t={chain:"SOMA",chainId:2332,explorers:[{name:"SOMA Explorer Mainnet",url:"https://somascan.io",standard:"none",icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"}}],faucets:["https://airdrop.somanetwork.io"],icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"},infoURL:"https://somanetwork.io",name:"SOMA Network Mainnet",nativeCurrency:{name:"Soma Native Token",symbol:"SMA",decimals:18},networkId:2332,rpc:["https://2332.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-mainnet-v1.somanetwork.io/","https://id-mainnet.somanetwork.io","https://hk-mainnet.somanetwork.io","https://sg-mainnet.somanetwork.io"],shortName:"smam",slug:"soma-network",status:"incubating",testnet:!1},D8t={chain:"Atleta",chainId:2340,explorers:[{name:"Atleta Testnet Explorer",url:"https://polkadot-explorer.atleta.network/#/explorer",standard:"none",icon:{url:"ipfs://QmV2JVr4FCcb6aRiUoA3wS5erLoxtLBLonQ1Nvz8fNuEcR",width:128,height:128,format:"png"}}],faucets:["https://faucet.atleta.network"],icon:{url:"ipfs://QmV2JVr4FCcb6aRiUoA3wS5erLoxtLBLonQ1Nvz8fNuEcR",width:128,height:128,format:"png"},infoURL:"https://atleta.network",name:"Atleta Olympia",nativeCurrency:{name:"Atla",symbol:"ATLA",decimals:18},networkId:2340,rpc:["https://2340.rpc.thirdweb.com/${THIRDWEB_API_KEY}","wss://testnet-rpc.atleta.network:9944","https://testnet-rpc.atleta.network:9944"],shortName:"atla",slip44:1,slug:"atleta-olympia",testnet:!0},P8t={chain:"OMNIA",chainId:2342,explorers:[{name:"OmniaVerse Explorer",url:"https://scan.omniaverse.io",standard:"EIP3091"}],faucets:["https://www.omniaverse.io"],icon:{url:"ipfs://QmdNQMFxcjB9PAP1LZVqaQmyppV5QGTqXXmbBeQyaTUpMM",width:192,height:192,format:"png"},infoURL:"https://www.omniaverse.io",name:"Omnia Chain",nativeCurrency:{name:"Omnia",symbol:"OMNIA",decimals:18},networkId:2342,rpc:["https://2342.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.omniaverse.io"],shortName:"omnia",slug:"omnia-chain",testnet:!1},L8t={chain:"Silicon",chainId:2355,explorers:[],faucets:[],icon:{url:"ipfs://QmTEnk2fosqbY6HQW5vySrLGbopJfeni9ThZ6R9sVefbnq",width:800,height:800,format:"png"},name:"Silicon zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2355,parent:{type:"L2",chain:"eip155-1",bridges:[]},rpc:[],shortName:"silicon-zk",slug:"silicon-zkevm",status:"incubating",testnet:!1,title:"Silicon zkEVM Mainnet"},F8t={chain:"ETH",chainId:2357,explorers:[{name:"blockscout",url:"https://blockscout.sepolia-deprecated.kroma.network",standard:"EIP3091",icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"},infoURL:"https://kroma.network",name:"(deprecated) Kroma Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:2357,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://kroma.network/bridge"}]},rpc:["https://2357.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.sepolia-deprecated.kroma.network"],shortName:"deprecated-kroma-sepolia",slip44:1,slug:"deprecated-kroma-sepolia",status:"deprecated",testnet:!0,title:"(deprecated) Kroma Testnet Sepolia"},N8t={chain:"ETH",chainId:2358,explorers:[{name:"blockscout",url:"https://blockscout.sepolia.kroma.network",standard:"EIP3091",icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"},infoURL:"https://kroma.network",name:"Kroma Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:2358,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://kroma.network/bridge"}]},rpc:["https://2358.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.sepolia.kroma.network"],shortName:"kroma-sepolia",slip44:1,slug:"kroma-sepolia",testnet:!0,title:"Kroma Testnet Sepolia"},O8t={chain:"Nexis Network",chainId:2370,explorers:[{name:"Nexis Testnet Explorer",url:"https://evm-testnet.nexscan.io",standard:"EIP3091"}],faucets:["https://evm-faucet.nexis.network"],icon:{url:"ipfs://QmdJwWuMgbhoZhgFM4zWrZne6qs5ktcL1vBLKX12VGgALM",width:1892,height:1892,format:"png"},infoURL:"https://nexis.network/",name:"Nexis Network Testnet",nativeCurrency:{name:"Nexis",symbol:"NZT",decimals:18},networkId:2370,rpc:["https://2370.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-testnet.nexis.network"],shortName:"nzt",slug:"nexis-network-testnet",testnet:!0},U8t={chain:"BOMB",chainId:2399,explorers:[{name:"bombscan-testnet",url:"https://explorer.bombchain-testnet.ankr.com",standard:"EIP3091",icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"}}],faucets:["https://faucet.bombchain-testnet.ankr.com/"],icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"},infoURL:"https://www.bombmoney.com",name:"BOMB Chain Testnet",nativeCurrency:{name:"BOMB Token",symbol:"tBOMB",decimals:18},networkId:2399,rpc:["https://2399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bombchain-testnet.ankr.com/bas_full_rpc_1"],shortName:"bombt",slip44:1,slug:"bomb-chain-testnet",testnet:!0},H8t={chain:"TCG Verse",chainId:2400,explorers:[{name:"TCG Verse Explorer",url:"https://explorer.tcgverse.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreidg4wpewve5mdxrofneqblydkrjl3oevtgpdf3fk3z3vjqam6ocoe",width:350,height:350,format:"png"},infoURL:"https://tcgverse.xyz/",name:"TCG Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:2400,parent:{type:"L2",chain:"eip155-248"},rpc:["https://2400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tcgverse.xyz"],shortName:"TCGV",slug:"tcg-verse",testnet:!1},z8t={chain:"Karak",chainId:2410,explorers:[{name:"Karak Mainnet Explorer",url:"https://explorer.karak.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRvHRuhfQgDRyGgt6vCoHqjZW2Dir7siowYnBpR5BRSej",width:1080,height:1080,format:"png"},infoURL:"https://karak.network",name:"Karak Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2410,parent:{type:"L2",chain:"eip155-1"},rpc:["https://2410.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.karak.network"],shortName:"karak-mainnet",slug:"karak",testnet:!1},W8t={chain:"XODEX",chainId:2415,explorers:[{name:"XODEX Explorer",url:"https://explorer.xo-dex.com",standard:"EIP3091",icon:{url:"ipfs://QmXt49jPfHUmDF4n8TF7ks6txiPztx6qUHanWmHnCoEAhW",width:256,height:256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXt49jPfHUmDF4n8TF7ks6txiPztx6qUHanWmHnCoEAhW",width:256,height:256,format:"png"},infoURL:"https://xo-dex.com",name:"XODEX",nativeCurrency:{name:"XODEX Native Token",symbol:"XODEX",decimals:18},networkId:10,rpc:["https://2415.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.xo-dex.com/rpc","https://xo-dex.io"],shortName:"xodex",slug:"xodex",testnet:!1},q8t={chain:"KOL",chainId:2425,explorers:[{name:"King Of Legends Devnet Explorer",url:"https://devnet.kingscan.org",standard:"EIP3091",icon:{url:"ipfs://QmTZFXhYJboYE9fbaeje12iTF3QPLn6xgyFgrDVe2isDBH",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTZFXhYJboYE9fbaeje12iTF3QPLn6xgyFgrDVe2isDBH",width:400,height:400,format:"png"},infoURL:"https://kingoflegends.net/",name:"King Of Legends Devnet",nativeCurrency:{name:"King Of Legends",symbol:"KOL",decimals:18},networkId:2425,rpc:["https://2425.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-devnet.kinggamer.org/"],shortName:"kol",slip44:1,slug:"king-of-legends-devnet",testnet:!1,title:"King Of Legends Devnet"},j8t={chain:"Polygon",chainId:2442,explorers:[{name:"polygonscan",url:"https://cardona-zkevm.polygonscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"},infoURL:"https://polygon.technology/polygon-zkevm",name:"Polygon zkEVM Cardona Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2442,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge-ui.cardona.zkevm-rpc.com"}]},rpc:["https://2442.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cardona.zkevm-rpc.com"],shortName:"zkevm-testnet-cardona",slug:"polygon-zkevm-cardona-testnet",testnet:!0,title:"Polygon zkEVM Cardona Testnet"},G8t={chain:"HYBRID",chainId:2458,explorers:[{name:"Hybrid Chain Explorer Testnet",url:"https://testnet.hybridscan.ai",standard:"none",icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"}}],faucets:["https://faucet-testnet.hybridchain.ai"],icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"},infoURL:"https://hybridchain.ai",name:"Hybrid Chain Network Testnet",nativeCurrency:{name:"Hybrid Chain Native Token",symbol:"tHRC",decimals:18},networkId:2458,rpc:["https://2458.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.hybridchain.ai/"],shortName:"thrc",slip44:1,slug:"hybrid-chain-network-testnet",testnet:!0},K8t={chain:"HYBRID",chainId:2468,explorers:[{name:"Hybrid Chain Explorer Mainnet",url:"https://hybridscan.ai",standard:"none",icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"}}],faucets:["https://faucet-testnet.hybridchain.ai"],icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"},infoURL:"https://hybridchain.ai",name:"Hybrid Chain Network Mainnet",nativeCurrency:{name:"Hybrid Chain Native Token",symbol:"HRC",decimals:18},networkId:2468,rpc:["https://2468.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coredata-mainnet.hybridchain.ai/","https://rpc-mainnet.hybridchain.ai"],shortName:"hrc",slug:"hybrid-chain-network",testnet:!0},Q8t={chain:"u2u",chainId:2484,explorers:[{name:"U2U Explorer",url:"https://testnet.u2uscan.xyz",standard:"EIP3091",icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"}}],faucets:["https://faucet.uniultra.xyz"],icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"},infoURL:"https://uniultra.xyz",name:"Unicorn Ultra Nebulas Testnet",nativeCurrency:{name:"Unicorn Ultra Nebulas Testnet",symbol:"U2U",decimals:18},networkId:2484,rpc:["https://2484.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nebulas-testnet.uniultra.xyz"],shortName:"u2u_nebulas",slip44:1,slug:"unicorn-ultra-nebulas-testnet",testnet:!0},V8t={chain:"Karak",chainId:2511,explorers:[{name:"Karak Goerli Explorer",url:"https://goerli.scan.karak.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRvHRuhfQgDRyGgt6vCoHqjZW2Dir7siowYnBpR5BRSej",width:1080,height:1080,format:"png"},infoURL:"https://karak.network",name:"Karak Goerli",nativeCurrency:{name:"Karak",symbol:"KRK",decimals:18},networkId:2511,parent:{type:"L2",chain:"eip155-5"},rpc:["https://2511.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.node1.karak.network"],shortName:"karak-goerli",slug:"karak-goerli",status:"deprecated",testnet:!1},Y8t={chain:"FRAX",chainId:2522,explorers:[{name:"fraxscan",url:"https://holesky.fraxscan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmQLJk5G7zF8ZDxSxkRcpHqEqcifrJEhGmEKC6zwyPXWAw/fraxchain.png",width:512,height:512,format:"PNG"},infoURL:"https://testnet.frax.com",name:"Fraxtal Testnet",nativeCurrency:{name:"Frax Ether",symbol:"frxETH",decimals:18},networkId:2522,redFlags:[],rpc:["https://2522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.frax.com"],shortName:"fraxtal-testnet",slip44:1,slug:"fraxtal-testnet",status:"active",testnet:!0},$8t={chain:"inEVM",chainId:2525,explorers:[],faucets:[],icon:{url:"ipfs://QmU9KU1qgReJR7vyVxN5zwWB3nkhSs658ViArUjT7GCh4r",width:2e3,height:2e3,format:"png"},infoURL:"https://inevm.com",name:"inEVM Mainnet",nativeCurrency:{name:"Injective",symbol:"INJ",decimals:18},networkId:2525,rpc:["https://2525.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rpc.inevm.com/http"],shortName:"inevm",slug:"inevm",status:"active",testnet:!1},J8t={chain:"Kortho Chain",chainId:2559,explorers:[],faucets:[],infoURL:"https://www.kortho.io/",name:"Kortho Mainnet",nativeCurrency:{name:"KorthoChain",symbol:"KTO",decimals:11},networkId:2559,rpc:["https://2559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.kortho-chain.com"],shortName:"ktoc",slug:"kortho",testnet:!1},X8t={chain:"TPC",chainId:2569,explorers:[{name:"tpcscan",url:"https://tpcscan.com",standard:"EIP3091",icon:{url:"ipfs://QmQyTyJUnhD1dca35Vyj96pm3v3Xyw8xbG9m8HXHw3k2zR",width:578,height:701,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmQyTyJUnhD1dca35Vyj96pm3v3Xyw8xbG9m8HXHw3k2zR",width:578,height:701,format:"svg"},infoURL:"https://techpay.io/",name:"TechPay Mainnet",nativeCurrency:{name:"TechPay",symbol:"TPC",decimals:18},networkId:2569,rpc:["https://2569.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.techpay.io/"],shortName:"tpc",slug:"techpay",testnet:!1},Z8t={chain:"CRC",chainId:2606,explorers:[{name:"Lite Explorer",url:"https://ethereum-pocr.github.io/explorer/pocrnet",standard:"EIP3091",icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"},infoURL:"https://github.com/ethereum-pocr/pocrnet",name:"PoCRNet",nativeCurrency:{name:"Climate awaReness Coin",symbol:"CRC",decimals:18},networkId:2606,rpc:["https://2606.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pocrnet.westeurope.cloudapp.azure.com/http","wss://pocrnet.westeurope.cloudapp.azure.com/ws"],shortName:"pocrnet",slug:"pocrnet",status:"active",testnet:!1,title:"Proof of Climate awaReness mainnet"},eht={chain:"REDLC",chainId:2611,explorers:[{name:"REDLC Explorer",url:"https://redlightscan.finance",standard:"EIP3091"}],faucets:[],infoURL:"https://redlight.finance/",name:"Redlight Chain Mainnet",nativeCurrency:{name:"Redlight Coin",symbol:"REDLC",decimals:18},networkId:2611,rpc:["https://2611.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed2.redlightscan.finance"],shortName:"REDLC",slug:"redlight-chain",testnet:!1},tht={chain:"EZC",chainId:2612,explorers:[{name:"ezchain",url:"https://cchain-explorer.ezchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPKJbYCFjGmY9X2cA4b9YQjWYHQncmKnFtKyQh9rHkFTb",width:146,height:48,format:"png"},infoURL:"https://ezchain.com",name:"EZChain C-Chain Mainnet",nativeCurrency:{name:"EZChain",symbol:"EZC",decimals:18},networkId:2612,rpc:["https://2612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ezchain.com/ext/bc/C/rpc"],shortName:"EZChain",slug:"ezchain-c-chain",testnet:!1},nht={chain:"EZC",chainId:2613,explorers:[{name:"ezchain",url:"https://testnet-cchain-explorer.ezchain.com",standard:"EIP3091"}],faucets:["https://testnet-faucet.ezchain.com"],icon:{url:"ipfs://QmPKJbYCFjGmY9X2cA4b9YQjWYHQncmKnFtKyQh9rHkFTb",width:146,height:48,format:"png"},infoURL:"https://ezchain.com",name:"EZChain C-Chain Testnet",nativeCurrency:{name:"EZChain",symbol:"EZC",decimals:18},networkId:2613,rpc:["https://2613.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-api.ezchain.com/ext/bc/C/rpc"],shortName:"Fuji-EZChain",slip44:1,slug:"ezchain-c-chain-testnet",testnet:!0},aht={chain:"WBT",chainId:2625,explorers:[{name:"whitechain-testnet-explorer",url:"https://testnet.whitechain.io",standard:"EIP3091"}],faucets:["https://testnet.whitechain.io/faucet"],icon:{url:"ipfs://QmNeELax6vjkR9WZVmtggk8cam9xHVABZ4WvQyqkGCJ5qf",width:512,height:512,format:"png"},infoURL:"https://whitechain.io",name:"Whitechain Testnet",nativeCurrency:{name:"WhiteBIT Coin",symbol:"WBT",decimals:18},networkId:2625,rpc:["https://2625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.whitechain.io"],shortName:"twbt",slip44:1,slug:"whitechain-testnet",testnet:!0},rht={chain:"ETH",chainId:2662,explorers:[],faucets:[],icon:{url:"ipfs://QmTYgeN1E3GGXnMF2oa43v2ehX2bYqrHPrGQ9xbBMXy1we",width:1280,height:1280,format:"png"},infoURL:"https://apexlayer.xyz/",name:"APEX",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2662,parent:{type:"L2",chain:"eip155-1"},rpc:[],shortName:"apexmainnet",slug:"apex",status:"incubating",testnet:!1},fht={chain:"ETH",chainId:2710,explorers:[{name:"Morph Testnet Explorer",url:"https://explorer-testnet.morphl2.io",standard:"EIP3091"}],faucets:[],infoURL:"https://morphl2.io",name:"Morph Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2710,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge-testnet.morphl2.io"}]},rpc:["https://2710.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.morphl2.io"],shortName:"tmorph",slip44:1,slug:"morph-testnet",testnet:!0},iht={chain:"K-LAOS",chainId:2718,explorers:[{name:"blockscout",url:"https://blockscout.klaos.laosfoundation.io",standard:"EIP3091",icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"},infoURL:"https://www.laosfoundation.io/",name:"K-LAOS",nativeCurrency:{name:"KLAOS",symbol:"KLAOS",decimals:18},networkId:2718,rpc:["https://2718.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.klaos.laosfoundation.io","wss://rpc.klaos.laosfoundation.io"],shortName:"k-laos",slug:"k-laos",testnet:!1,title:"K-LAOS: LAOS on Kusama"},sht={chain:"XR Sepolia",chainId:2730,explorers:[{name:"XR Sepolia Explorer",url:"https://xr-sepolia-testnet.explorer.caldera.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmRdBsZF2sgWitedT5qAtBZwrYwY1xecHN9u5fgddqA1eL/xr-sepolia.png",width:300,height:300,format:"png"},infoURL:"https://xr-one.gitbook.io",name:"XR Sepolia",nativeCurrency:{name:"tXR",symbol:"tXR",decimals:18},networkId:2730,parent:{type:"L2",chain:"eip155-421614",bridges:[]},redFlags:[],rpc:["https://2730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xr-sepolia-testnet.rpc.caldera.xyz/infra-partner-http","https://xr-sepolia-testnet.rpc.caldera.xyz/http"],shortName:"xr-sepolia",slip44:60,slug:"xr-sepolia",status:"active",testnet:!0},oht={chain:"Elizabeth",chainId:2731,explorers:[{name:"Time Network Explorer",url:"https://testnet-scanner.timenetwork.io",standard:"none",icon:{url:"ipfs://bafkreidoudwo453gr3hoxpreleguga73rm55yl6vuedxrfmhknljppqbiu",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidoudwo453gr3hoxpreleguga73rm55yl6vuedxrfmhknljppqbiu",width:512,height:512,format:"png"},infoURL:"https://whitepaper.anttime.net/overview/anttime",name:"Elizabeth Testnet",nativeCurrency:{name:"TIME",symbol:"TIME",decimals:18},networkId:2731,rpc:["https://2731.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.timenetwork.io"],shortName:"TIME",slug:"elizabeth-testnet",testnet:!0},cht={chain:"ETH",chainId:2748,explorers:[{name:"Nanon Rollup Explorer",url:"https://explorer.nanon.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiduib2fygrwziqpy4yuqr6vvnd6elhahpigbcowcipjjhk6c3qiny",width:400,height:400,format:"png"},infoURL:"https://www.nanon.network",name:"Nanon",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2748,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.nanon.network"}]},rpc:["https://2748.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.nanon.network"],shortName:"Nanon",slip44:1,slug:"nanon",testnet:!1,title:"Nanon Rollup"},dht={chain:"ETH",chainId:2810,explorers:[{name:"Morph Holesky Testnet Explorer",url:"https://explorer-holesky.morphl2.io",standard:"EIP3091"}],faucets:[],infoURL:"https://morphl2.io",name:"Morph Holesky",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2810,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge-holesky.morphl2.io"}]},rpc:["https://2810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-quicknode-holesky.morphl2.io","wss://rpc-quicknode-holesky.morphl2.io","https://rpc-holesky.morphl2.io"],shortName:"hmorph",slip44:1,slug:"morph-holesky",testnet:!0,title:"Morph Holesky Testnet"},lht={chain:"Avalanche",chainId:2828,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan's Testnet 1",nativeCurrency:{name:"Cohan's Testnet 1 Token",symbol:"FQC",decimals:18},networkId:2828,redFlags:[],rpc:["https://2828.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/a6eec829-2c08-4264-b0d7-6d393997e9a6"],shortName:"Cohan's Testnet 1",slug:"cohan-s-testnet-1",testnet:!0},uht={chain:"Avalanche",chainId:2864,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0613I1",nativeCurrency:{name:"QI0613I1 Token",symbol:"NPQ",decimals:18},networkId:2864,redFlags:[],rpc:["https://2864.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0613I1",slug:"qi0613i1",testnet:!0},pht={chain:"ETH",chainId:2888,explorers:[{name:"Blockscout",url:"https://testnet.bobascan.com",standard:"none"}],faucets:[],features:[],infoURL:"https://boba.network",name:"Boba Network Goerli Testnet",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:2888,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},redFlags:[],rpc:["https://2888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.boba.network/","wss://wss.goerli.boba.network/"],shortName:"BobaGoerli",slip44:1,slug:"boba-network-goerli-testnet",status:"deprecated",testnet:!0},hht={chain:"ELUX",chainId:2907,explorers:[{name:"blockscout",url:"https://eluxscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQC7LzzFj8kL71a1MXRgn3TSeRrgF1tTuVEzvWx5cQjv1",width:114,height:132,format:"png"},infoURL:"https://eluxscan.com",name:"Elux Chain",nativeCurrency:{name:"Elux Chain",symbol:"ELUX",decimals:18},networkId:2907,rpc:["https://2907.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eluxscan.com"],shortName:"ELUX",slug:"elux-chain",testnet:!1},bht={chain:"2911",chainId:2911,explorers:[{name:"blockscout",url:"https://explorer.hychain.com",standard:"EIP3091",icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"},infoURL:"https://www.hychain.com",name:"HYCHAIN",nativeCurrency:{name:"TOPIA",symbol:"TOPIA",decimals:18},networkId:2911,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.hychain.com"}]},redFlags:[],rpc:["https://2911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hychain.com/http"],shortName:"hychain",slug:"hychain",testnet:!0},mht={chain:"XEN",chainId:2941,explorers:[{name:"Xenon testnet Explorer",url:"https://testnet.xenonchain.com",standard:"none"}],faucets:["https://xfaucet.xenonchain.com"],icon:{url:"ipfs://QmNSoxDnj6MV8mPJWiuzzLbATcbk5op11NTwMTdzcr272F",width:500,height:500,format:"png"},infoURL:"https://xenonchain.com",name:"Xenon Chain Testnet",nativeCurrency:{name:"Xenon Testnet",symbol:"tXEN",decimals:18},networkId:2941,rpc:["https://2941.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-chain.xenonchain.com/","https://testnet-dev.xenonchain.com/"],shortName:"xenon",slip44:1,slug:"xenon-chain-testnet",testnet:!0},yht={chain:"BTY",chainId:2999,explorers:[{name:"BitYuan Block Chain Explorer",url:"https://mainnet.bityuan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmUmJVof2m5e4HUXb3GmijWUFsLUNhrQiwwQG3CqcXEtHt",width:91,height:24,format:"png"},infoURL:"https://www.bityuan.com",name:"BitYuan Mainnet",nativeCurrency:{name:"BTY",symbol:"BTY",decimals:18},networkId:2999,rpc:["https://2999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bityuan.com/eth"],shortName:"bty",slug:"bityuan",testnet:!1},ght={chain:"CENNZnet",chainId:3e3,explorers:[],faucets:["https://app-faucet.centrality.me"],icon:{url:"ipfs://QmWhNm7tTi6SYbiumULDRk956hxgqaZSX77vcxBNn8fvnw",width:112,height:112,format:"svg"},infoURL:"https://cennz.net",name:"CENNZnet Rata",nativeCurrency:{name:"CPAY",symbol:"CPAY",decimals:18},networkId:3e3,rpc:[],shortName:"cennz-r",slug:"cennznet-rata",testnet:!1},vht={chain:"CENNZnet",chainId:3001,explorers:[{name:"UNcover",url:"https://www.uncoverexplorer.com/?network=Nikau",standard:"none"}],faucets:["https://app-faucet.centrality.me"],icon:{url:"ipfs://QmWhNm7tTi6SYbiumULDRk956hxgqaZSX77vcxBNn8fvnw",width:112,height:112,format:"svg"},infoURL:"https://cennz.net",name:"CENNZnet Nikau",nativeCurrency:{name:"CPAY",symbol:"CPAY",decimals:18},networkId:3001,rpc:["https://3001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nikau.centrality.me/public"],shortName:"cennz-n",slug:"cennznet-nikau",testnet:!1},wht={chain:"CAU",chainId:3003,explorers:[{name:"canxium explorer",url:"https://explorer.canxium.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXHSbtVNCJVfe2CvRH7njdyf2SrX5u5bNTfvhqjLeFN2A",width:938,height:938,format:"png"},infoURL:"https://canxium.org",name:"Canxium Mainnet",nativeCurrency:{name:"Canxium",symbol:"CAU",decimals:18},networkId:3003,rpc:["https://3003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.canxium.org"],shortName:"cau",slug:"canxium",testnet:!1},Tht={chain:"3ULL",chainId:3011,explorers:[{name:"PLAYA3ULL GAMES Explorer",url:"https://3011.routescan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreib62bv2d65d7nidojgpkgatrt7smee2l4ov6i6ozqhpfaqsonxku4",width:512,height:443,format:"png"}}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreib62bv2d65d7nidojgpkgatrt7smee2l4ov6i6ozqhpfaqsonxku4",width:512,height:443,format:"png"},infoURL:"https://playa3ull.games",name:"PLAYA3ULL GAMES",nativeCurrency:{name:"3ULL",symbol:"3ULL",decimals:18},networkId:3011,rpc:["https://3011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.mainnet.playa3ull.games"],shortName:"3ULL",slug:"playa3ull-games",testnet:!1},xht={chain:"Avalanche",chainId:3026,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405064 NO INTEROP PRECOMPILE",nativeCurrency:{name:"QIM2405064 NO INTEROP PRECOMPILE Token",symbol:"BLY",decimals:18},networkId:3026,redFlags:[],rpc:["https://3026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405064 NO INTEROP PRECOMPILE",slug:"qim2405064-no-interop-precompile",testnet:!0},Eht={chain:"ORL",chainId:3031,explorers:[{name:"Orlando (ORL) Explorer",url:"https://orlscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNsuuBBTHErnuFDcdyzaY8CKoVJtobsLJx2WQjaPjcp7g",width:512,height:528,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNsuuBBTHErnuFDcdyzaY8CKoVJtobsLJx2WQjaPjcp7g",width:512,height:528,format:"png"},infoURL:"https://orlchain.com",name:"Orlando Chain",nativeCurrency:{name:"Orlando",symbol:"ORL",decimals:18},networkId:3031,rpc:["https://3031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.orlchain.com"],shortName:"ORL",slug:"orlando-chain",testnet:!0},_ht={chain:"REBUS",chainId:3033,explorers:[{name:"Rebus EVM Explorer (Blockscout)",url:"https://evm.testnet.rebus.money",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}},{name:"Rebus Cosmos Explorer (ping.pub)",url:"https://testnet.rebus.money/rebustestnet",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"},infoURL:"https://www.rebuschain.com",name:"Rebus Testnet",nativeCurrency:{name:"Rebus",symbol:"REBUS",decimals:18},networkId:3033,rpc:["https://3033.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rebus.money/rpc"],shortName:"rebus-testnet",slug:"rebus-testnet",testnet:!0,title:"Rebuschain Testnet"},Aht={chain:"Avalanche",chainId:3036,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"QED",decimals:18},networkId:3036,redFlags:[],rpc:["https://3036.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet",testnet:!0},Cht={chain:"BFC",chainId:3068,explorers:[{name:"explorer-thebifrost",url:"https://explorer.mainnet.bifrostnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYxniqbiFD7nXBNjN8boUhoXYEAW23YquArD2Rnkq8WHS",width:480,height:480,format:"png"},infoURL:"https://bifrostnetwork.com",name:"Bifrost Mainnet",nativeCurrency:{name:"Bifrost",symbol:"BFC",decimals:18},networkId:3068,rpc:["https://3068.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-01.mainnet.bifrostnetwork.com/rpc","https://public-02.mainnet.bifrostnetwork.com/rpc"],shortName:"bfc",slug:"bifrost",testnet:!1,title:"Bifrost Network Mainnet"},Iht={chain:"Avalanche",chainId:3070,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9054",nativeCurrency:{name:"QaUser9054 Token",symbol:"QFE",decimals:18},networkId:3070,redFlags:[],rpc:["https://3070.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9054",slug:"qauser9054",testnet:!0},kht={chain:"MOVE",chainId:3073,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:3073,rpc:[],shortName:"move",slug:"movement-evm",status:"incubating",testnet:!1},Sht={chain:"Avalanche",chainId:3084,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"XL Network Testnet",nativeCurrency:{name:"XL Network Testnet Token",symbol:"XLN",decimals:18},networkId:3084,redFlags:[],rpc:["https://3084.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xlnetworkt/testnet/rpc"],shortName:"XL Network Testnet",slug:"xl-network-testnet",testnet:!0},Rht={chain:"EVMCC",chainId:3100,explorers:[],faucets:[],infoURL:"https://immu3.io",name:"Immu3 EVM",nativeCurrency:{name:"IMMU",symbol:"IMMU",decimals:18},networkId:3100,rpc:["https://3100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-flashbox-2800-rpc.a.stagenet.tanssi.network","wss://fraa-flashbox-2800-rpc.a.stagenet.tanssi.network"],shortName:"Immu3",slug:"immu3-evm",testnet:!1},Mht={chain:"VFIEVMCC",chainId:3102,explorers:[],faucets:[],infoURL:"https://vulture.finance",name:"Vulture EVM Beta",nativeCurrency:{name:"VFI",symbol:"VFI",decimals:18},networkId:3102,rpc:["https://3102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3050-rpc.a.dancebox.tanssi.network","wss://fraa-dancebox-3050-rpc.a.dancebox.tanssi.network"],shortName:"VFI",slug:"vulture-evm-beta",testnet:!1},Bht={chain:"SatoshiVM",chainId:3109,explorers:[],faucets:[],icon:{url:"ipfs://QmdXnQw9YwzEBZnciSe42MMwnH1SqhfY3FcVbseyM4k7Th",width:940,height:941,format:"png"},infoURL:"https://www.satoshivm.io/",name:"SatoshiVM Alpha Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:3109,rpc:["https://3109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-rpc-node-http.svmscan.io"],shortName:"SAVM",slug:"satoshivm-alpha",testnet:!1},Dht={chain:"SatoshiVM",chainId:3110,explorers:[],faucets:[],icon:{url:"ipfs://QmdXnQw9YwzEBZnciSe42MMwnH1SqhfY3FcVbseyM4k7Th",width:940,height:941,format:"png"},infoURL:"https://www.satoshivm.io/",name:"SatoshiVM Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:3110,rpc:["https://3110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc-node-http.svmscan.io"],shortName:"tSAVM",slug:"satoshivm-testnet",testnet:!0},Pht={chain:"FIL",chainId:3141,explorers:[],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Hyperspace testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:3141,rpc:[],shortName:"filecoin-hyperspace",slip44:1,slug:"filecoin-hyperspace-testnet",status:"deprecated",testnet:!0},Lht={chain:"DUBX",chainId:3269,explorers:[],faucets:[],infoURL:"https://arabianchain.org",name:"Dubxcoin network",nativeCurrency:{name:"Dubxcoin mainnet",symbol:"DUBX",decimals:18},networkId:3269,rpc:["https://3269.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcmain.arabianchain.org"],shortName:"dubx",slug:"dubxcoin-network",testnet:!1},Fht={chain:"TESTDUBX",chainId:3270,explorers:[],faucets:["https://faucet.arabianchain.org/"],infoURL:"https://arabianchain.org",name:"Dubxcoin testnet",nativeCurrency:{name:"Dubxcoin testnet",symbol:"TDUBX",decimals:18},networkId:3270,rpc:["https://3270.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctestnet.arabianchain.org"],shortName:"testdubx",slip44:1,slug:"dubxcoin-testnet",testnet:!0},Nht={chain:"Debounce Network",chainId:3306,explorers:[{name:"Debounce Devnet Explorer",url:"https://explorer.debounce.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeib5q4hez37s7b2fx4hqt2q4ji2tuudxjhfdgnp6q3d5mqm6wsxdfq",width:256,height:256,format:"png"},infoURL:"https://debounce.network",name:"Debounce Subnet Testnet",nativeCurrency:{name:"Debounce Network",symbol:"DB",decimals:18},networkId:3306,rpc:["https://3306.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dev-rpc.debounce.network"],shortName:"debounce-devnet",slip44:1,slug:"debounce-subnet-testnet",testnet:!0},Oht={chain:"Beach",chainId:3331,explorers:[],faucets:["https://faucet.zcore.cash"],icon:{url:"ipfs://QmQnXu13ym8W1VA3QxocaNVXGAuEPmamSCkS7bBscVk1f4",width:1050,height:1050,format:"png"},infoURL:"https://zcore.cash",name:"ZCore Testnet",nativeCurrency:{name:"ZCore",symbol:"ZCR",decimals:18},networkId:3331,rpc:["https://3331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.zcore.cash"],shortName:"zcrbeach",slip44:1,slug:"zcore-testnet",testnet:!0},Uht={chain:"EthStorage",chainId:3333,explorers:[],faucets:[],infoURL:"https://ethstorage.io/",name:"EthStorage Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3333,rpc:["https://3333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.ethstorage.io:9540"],shortName:"es-t",slip44:1,slug:"ethstorage-testnet",testnet:!0},Hht={chain:"Web3Q",chainId:3334,explorers:[{name:"w3q-galileo",url:"https://explorer.galileo.web3q.io",standard:"EIP3091"}],faucets:[],infoURL:"https://galileo.web3q.io/home.w3q/",name:"Web3Q Galileo",nativeCurrency:{name:"Web3Q",symbol:"W3Q",decimals:18},networkId:3334,rpc:["https://3334.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://galileo.web3q.io:8545"],shortName:"w3q-g",slug:"web3q-galileo",testnet:!1},zht={chain:"EthStorage",chainId:3335,explorers:[],faucets:[],infoURL:"https://ethstorage.io/",name:"EthStorage Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3335,rpc:["https://3335.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://mainnet.ethstorage.io:9540"],shortName:"es-m",slip44:1,slug:"ethstorage",testnet:!1},Wht={chain:"PRB",chainId:3400,explorers:[{name:"Paribu Net Explorer",url:"https://explorer.paribu.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVgc77jYo2zrxQjhYwT4KzvSrSZ1DBJraJVX57xAvP8MD",width:2362,height:2362,format:"png"},infoURL:"https://net.paribu.com",name:"Paribu Net Mainnet",nativeCurrency:{name:"PRB",symbol:"PRB",decimals:18},networkId:3400,rpc:["https://3400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.paribu.network"],shortName:"prb",slug:"paribu-net",testnet:!1},qht={chain:"EVO",chainId:3424,explorers:[{name:"Evolve Mainnet Explorer",url:"https://evoexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVxtpYYzc5214CB7BgsMC4mRNRHCD8fpbNMzZguBWyRwa",width:600,height:600,format:"png"},infoURL:"https://evolveblockchain.io",name:"EVOLVE Mainnet",nativeCurrency:{name:"Evolve",symbol:"EVO",decimals:18},networkId:3424,rpc:["https://3424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.evolveblockchain.io"],shortName:"EVOm",slug:"evolve",testnet:!1},jht={chain:"SCAI",chainId:3434,explorers:[{name:"SecureChain",url:"https://testnet.securechain.ai",standard:"EIP3091"}],faucets:["https://faucet.securechain.ai"],icon:{url:"ipfs://Qme2Z8VFYjhHGfLQPBnfseNpEdRfmTDy7VXqrdH4AHETJf",width:150,height:150,format:"png"},infoURL:"https://securechain.ai",name:"SecureChain Testnet",nativeCurrency:{name:"SCAI",symbol:"SCAI",decimals:18},networkId:3434,rpc:["https://3434.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.securechain.ai"],shortName:"SCAIt",slip44:1,slug:"securechain-testnet",testnet:!0},Ght={chain:"Avalanche",chainId:3454,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Masa",nativeCurrency:{name:"Masa Token",symbol:"MASA",decimals:18},networkId:3454,redFlags:[],rpc:["https://3454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/masa/mainnet/rpc"],shortName:"Masa",slug:"masa",testnet:!1},Kht={chain:"PRB",chainId:3500,explorers:[{name:"Paribu Net Testnet Explorer",url:"https://testnet.paribuscan.com",standard:"EIP3091"}],faucets:["https://faucet.paribuscan.com"],icon:{url:"ipfs://QmVgc77jYo2zrxQjhYwT4KzvSrSZ1DBJraJVX57xAvP8MD",width:2362,height:2362,format:"png"},infoURL:"https://net.paribu.com",name:"Paribu Net Testnet",nativeCurrency:{name:"PRB",symbol:"PRB",decimals:18},networkId:3500,rpc:["https://3500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.paribuscan.com"],shortName:"prbtestnet",slip44:1,slug:"paribu-net-testnet",testnet:!0},Qht={chain:"JFIN",chainId:3501,explorers:[{name:"JFIN Chain Explorer",url:"https://exp.jfinchain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://jfinchain.com",name:"JFIN Chain",nativeCurrency:{name:"JFIN Coin",symbol:"JFIN",decimals:18},networkId:3501,rpc:["https://3501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.jfinchain.com"],shortName:"JFIN",slug:"jfin-chain",testnet:!1},Vht={chain:"PandoProject",chainId:3601,explorers:[{name:"Pando Mainnet Explorer",url:"https://explorer.pandoproject.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNduBtT5BNGDw7DjRwDvaZBb6gjxf46WD7BYhn4gauGc9",width:1e3,height:1628,format:"png"},infoURL:"https://www.pandoproject.org/",name:"PandoProject Mainnet",nativeCurrency:{name:"pando-token",symbol:"PTX",decimals:18},networkId:3601,rpc:["https://3601.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api.pandoproject.org/rpc"],shortName:"pando-mainnet",slug:"pandoproject",testnet:!1},Yht={chain:"PandoProject",chainId:3602,explorers:[{name:"Pando Testnet Explorer",url:"https://testnet.explorer.pandoproject.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNduBtT5BNGDw7DjRwDvaZBb6gjxf46WD7BYhn4gauGc9",width:1e3,height:1628,format:"png"},infoURL:"https://www.pandoproject.org/",name:"PandoProject Testnet",nativeCurrency:{name:"pando-token",symbol:"PTX",decimals:18},networkId:3602,rpc:["https://3602.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.ethrpc.pandoproject.org/rpc"],shortName:"pando-testnet",slip44:1,slug:"pandoproject-testnet",testnet:!0},$ht={chain:"TYCON",chainId:3630,explorers:[],faucets:[],name:"Tycooncoin",nativeCurrency:{name:"Tycooncoin",symbol:"TYCO",decimals:18},networkId:3630,rpc:["https://3630.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tycoscan.com"],shortName:"TYCON",slug:"tycooncoin",testnet:!1},Jht={chain:"BOTANIX",chainId:3636,explorers:[{name:"3xpl",url:"https://3xpl.com/botanix",standard:"EIP3091"},{name:"Blockscout",url:"https://blockscout.botanixlabs.dev",standard:"EIP3091"}],faucets:["https://faucet.botanixlabs.dev"],icon:{url:"ipfs://QmVE5s2pXiqdMnAcxhAmWkZYhpFB5CysypeLyPKzT4rGYe",width:512,height:512,format:"png"},infoURL:"https://botanixlabs.xyz",name:"Botanix Testnet",nativeCurrency:{name:"Botanix",symbol:"BTC",decimals:18},networkId:3636,rpc:["https://3636.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.botanixlabs.dev"],shortName:"BTNX",slip44:1,slug:"botanix-testnet",testnet:!0},Xht={chain:"BTC",chainId:3637,explorers:[{name:"Botanix",url:"https://btxtestchain.com",standard:"EIP3091"}],faucets:["https://faucet.btxtestchain.com"],icon:{url:"ipfs://QmVE5s2pXiqdMnAcxhAmWkZYhpFB5CysypeLyPKzT4rGYe",width:512,height:512,format:"png"},infoURL:"https://btxtestchain.com",name:"Botanix Mainnet",nativeCurrency:{name:"Botanix",symbol:"BTC",decimals:18},networkId:3637,rpc:["https://3637.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.btxtestchain.com"],shortName:"BTCm",slug:"botanix",testnet:!0},Zht={chain:"iChain",chainId:3639,explorers:[{name:"iChainscan",url:"https://ichainscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://islamicoin.finance",name:"iChain Network",nativeCurrency:{name:"ISLAMICOIN",symbol:"ISLAMI",decimals:18},networkId:3639,rpc:["https://3639.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ichainscan.com"],shortName:"ISLAMI",slug:"ichain-network",testnet:!1},e3t={chain:"Jouleverse",chainId:3666,explorers:[{name:"jscan",url:"https://jscan.jnsdao.com",standard:"EIP3091"}],faucets:[],infoURL:"https://jnsdao.com",name:"Jouleverse Mainnet",nativeCurrency:{name:"J",symbol:"J",decimals:18},networkId:3666,rpc:["https://3666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.jnsdao.com:8503"],shortName:"jouleverse",slug:"jouleverse",testnet:!1},t3t={chain:"BTX",chainId:3690,explorers:[{name:"bittexscan",url:"https://bittexscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://bittexscan.com",name:"Bittex Mainnet",nativeCurrency:{name:"Bittex",symbol:"BTX",decimals:18},networkId:3690,rpc:["https://3690.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.bittexscan.info","https://rpc2.bittexscan.info"],shortName:"btx",slug:"bittex",testnet:!1},n3t={chain:"EMPIRE",chainId:3693,explorers:[{name:"Empire Explorer",url:"https://explorer.empirenetwork.io",standard:"none"}],faucets:[],infoURL:"https://www.empirenetwork.io/",name:"Empire Network",nativeCurrency:{name:"Empire",symbol:"EMPIRE",decimals:18},networkId:3693,rpc:["https://3693.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.empirenetwork.io"],shortName:"empire",slug:"empire-network",testnet:!1},a3t={chain:"SPC",chainId:3698,explorers:[{name:"SenjePowers",url:"https://testnet.senjepowersscan.com",standard:"EIP3091"}],faucets:["https://faucet.senjepowersscan.com"],icon:{url:"ipfs://QmcpyTj4hUyHJZ2VmSdkXFpPpRcNKRP1VxMs7Cp1anymNy",width:504,height:495,format:"png"},infoURL:"https://senjepowersscan.com",name:"SenjePowers Testnet",nativeCurrency:{name:"SenjePowers",symbol:"SPC",decimals:18},networkId:3698,rpc:["https://3698.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.senjepowersscan.com"],shortName:"SPCt",slip44:1,slug:"senjepowers-testnet",testnet:!0},r3t={chain:"SPC",chainId:3699,explorers:[{name:"SenjePowers",url:"https://senjepowersscan.com",standard:"EIP3091"}],faucets:["https://faucet.senjepowersscan.com"],icon:{url:"ipfs://QmcpyTj4hUyHJZ2VmSdkXFpPpRcNKRP1VxMs7Cp1anymNy",width:504,height:495,format:"png"},infoURL:"https://senjepowersscan.com",name:"SenjePowers Mainnet",nativeCurrency:{name:"SenjePowers",symbol:"SPC",decimals:18},networkId:3699,rpc:["https://3699.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.senjepowersscan.com"],shortName:"SPCm",slug:"senjepowers",testnet:!1},f3t={chain:"XPLATest",chainId:3701,explorers:[{name:"XPLA Explorer",url:"https://explorer.xpla.io",standard:"none"}],faucets:["https://faucet.xpla.io"],icon:{url:"ipfs://Qmf4GoxfpeA5VGqu7KP5eyv1WKaCpNDbvMxq1MjQBwFWxq",width:512,height:512,format:"png"},infoURL:"https://xpla.io",name:"Xpla Testnet",nativeCurrency:{name:"XPLA",symbol:"XPLA",decimals:18},networkId:3701,rpc:["https://3701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dimension-rpc.xpla.dev"],shortName:"xplatest",slip44:1,slug:"xpla-testnet-xplatest",status:"deprecated",testnet:!0},i3t={chain:"Crossbell",chainId:3737,explorers:[{name:"Crossbell Explorer",url:"https://scan.crossbell.io",standard:"EIP3091"}],faucets:["https://faucet.crossbell.io"],icon:{url:"ipfs://QmS8zEetTb6pwdNpVjv5bz55BXiSMGP9BjTJmNcjcUT91t",width:408,height:408,format:"svg"},infoURL:"https://crossbell.io",name:"Crossbell",nativeCurrency:{name:"Crossbell Token",symbol:"CSB",decimals:18},networkId:3737,rpc:["https://3737.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.crossbell.io"],shortName:"csb",slug:"crossbell",testnet:!1},s3t={chain:"ETH",chainId:3776,explorers:[{name:"Blockscout Astar zkEVM explorer",url:"https://astar-zkevm.explorer.startale.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmRySLe3su59dE5x5JPm2b1GeZfz6DR9qUzcbp3rt4SD3A",width:300,height:300,format:"png"},infoURL:"https://astar.network",name:"Astar zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3776,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.gelato.network/bridge/astar-zkevm"}]},redFlags:[],rpc:["https://3776.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.startale.com/astar-zkevm"],shortName:"astarzk",slug:"astar-zkevm",testnet:!1,title:"Astar zkEVM Mainnet"},o3t={chain:"ALV",chainId:3797,explorers:[{name:"AlveyScan",url:"https://alveyscan.com",standard:"EIP3091",icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"},infoURL:"https://alveychain.com/",name:"AlveyChain Mainnet",nativeCurrency:{name:"AlveyCoin",symbol:"ALV",decimals:18},networkId:3797,rpc:["https://3797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://elves-core1.alvey.io","https://elves-core2.alvey.io","https://elves-core3.alvey.io"],shortName:"alv",slug:"alveychain",testnet:!1},c3t={chain:"Tangle Testnet",chainId:3799,explorers:[{name:"ttntscan",url:"https://testnet-explorer.tangle.tools",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://faucet.tangle.tools"],icon:{url:"ipfs://QmbxMNBTeQgch8t9GpWdLiS2R3wPYCzVRaX5kCQ4o5QU3w",width:1600,height:1600,format:"png"},infoURL:"https://docs.tangle.tools",name:"Tangle Testnet",nativeCurrency:{name:"Testnet Tangle Network Token",symbol:"tTNT",decimals:18},networkId:3799,rpc:["https://3799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.tangle.tools","https://testnet-rpc-archive.tangle.tools","wss://testnet-rpc.tangle.tools","wss://testnet-rpc-archive.tangle.tools"],shortName:"tTangle",slug:"tangle-testnet",testnet:!0},d3t={chain:"3839",chainId:3839,explorers:[{name:"traderlands explorer",url:"https://sepolia.arbiscan.io/",standard:"standard",icon:{url:"ipfs://QmRQVgjLcoWAVTocuYegwumz8J8b2F3Le2WnQhwffRmWcg/traderlands%20logo.png",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmRQVgjLcoWAVTocuYegwumz8J8b2F3Le2WnQhwffRmWcg/traderlands%20logo.png",width:512,height:512,format:"png"},infoURL:"https://sepolia.arbiscan.io/",name:"traderlands-sepolia",nativeCurrency:{name:"Traderlands",symbol:"TRADE",decimals:18},networkId:3839,redFlags:[],rpc:["https://3839.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://traderlands-sepolia.rpc.caldera.xyz/http"],shortName:"Tradetest",slug:"traderlands-sepolia",testnet:!0},l3t={chain:"Firechain",chainId:3885,explorers:[],faucets:[],infoURL:"https://docs.thefirechain.com/",name:"Firechain zkEVM Ghostrider",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3885,rpc:["https://3885.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-zkevm-ghostrider.thefirechain.com"],shortName:"firechain-zkEVM-testnet",slug:"firechain-zkevm-ghostrider",testnet:!0,title:"Firechain zkEVM Testnet"},u3t={chain:"KLC",chainId:3888,explorers:[{name:"KalyScan",url:"https://kalyscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUaXcPewLuQtY5a7xPTzJyVdjkH487VfV7gSR8UXrbxQ3",width:512,height:512,format:"png"},infoURL:"https://kalychain.io",name:"KalyChain Mainnet",nativeCurrency:{name:"KalyCoin",symbol:"KLC",decimals:18},networkId:3888,rpc:["https://3888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kalychain.io/rpc"],shortName:"kalymainnet",slug:"kalychain",testnet:!1},p3t={chain:"KLC",chainId:3889,explorers:[{name:"KalyScan",url:"https://testnet.kalyscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUaXcPewLuQtY5a7xPTzJyVdjkH487VfV7gSR8UXrbxQ3",width:512,height:512,format:"png"},infoURL:"https://kalychain.io",name:"KalyChain Testnet",nativeCurrency:{name:"KalyCoin",symbol:"KLC",decimals:18},networkId:3889,rpc:["https://3889.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetrpc.kalychain.io/rpc"],shortName:"kalytestnet",slip44:1,slug:"kalychain-testnet",testnet:!0},h3t={chain:"DRAC",chainId:3912,explorers:[{name:"DRAC_Network Scan",url:"https://www.dracscan.io",standard:"EIP3091"}],faucets:["https://www.dracscan.io/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://drac.io/",name:"DRAC Network",nativeCurrency:{name:"DRAC",symbol:"DRAC",decimals:18},networkId:3912,rpc:["https://3912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.dracscan.com/rpc"],shortName:"drac",slug:"drac-network",testnet:!1},b3t={chain:"DOS",chainId:3939,explorers:[{name:"DOScan-Test",url:"https://test.doscan.io",standard:"EIP3091",icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"},infoURL:"http://doschain.io/",name:"DOS Tesnet",nativeCurrency:{name:"DOS",symbol:"DOS",decimals:18},networkId:3939,rpc:["https://3939.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.doschain.com"],shortName:"dost",slip44:1,slug:"dos-tesnet",testnet:!0},m3t={chain:"DYNO",chainId:3966,explorers:[{name:"DYNO Explorer",url:"https://dynoscan.io",standard:"EIP3091"}],faucets:["https://faucet.dynoscan.io"],infoURL:"https://dynoprotocol.com",name:"DYNO Mainnet",nativeCurrency:{name:"DYNO Token",symbol:"DYNO",decimals:18},networkId:3966,rpc:["https://3966.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.dynoprotocol.com"],shortName:"dyno",slug:"dyno",testnet:!1},y3t={chain:"DYNO",chainId:3967,explorers:[{name:"DYNO Explorer",url:"https://testnet.dynoscan.io",standard:"EIP3091"}],faucets:["https://faucet.dynoscan.io"],infoURL:"https://dynoprotocol.com",name:"DYNO Testnet",nativeCurrency:{name:"DYNO Token",symbol:"tDYNO",decimals:18},networkId:3967,rpc:["https://3967.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tapi.dynoprotocol.com"],shortName:"tdyno",slip44:1,slug:"dyno-testnet",testnet:!0},g3t={chain:"ETH",chainId:3993,explorers:[{name:"blockscout",url:"https://exp-testnet.apexlayer.xyz",standard:"EIP3091"}],faucets:["https://sepoliafaucet.com/"],icon:{url:"ipfs://qmxhs7fvjanzwm14vjpbnmklre32gsiy9chsarrnbtfa1n",width:1280,height:1280,format:"png"},infoURL:"https://docs.apexlayer.xyz/",name:"APEX Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:3993,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://apexlayer.xyz/bridge"}]},rpc:["https://3993.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.apexlayer.xyz"],shortName:"apexsep",slip44:1,slug:"apex-testnet",testnet:!0},v3t={chain:"YCC",chainId:3999,explorers:[{name:"YuanChain Explorer",url:"https://mainnet.yuan.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdbPhiB5W2gbHZGkYsN7i2VTKKP9casmAN2hRnpDaL9W4",width:96,height:96,format:"png"},infoURL:"https://www.yuan.org",name:"YuanChain Mainnet",nativeCurrency:{name:"YCC",symbol:"YCC",decimals:18},networkId:3999,rpc:["https://3999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.yuan.org/eth"],shortName:"ycc",slug:"yuanchain",testnet:!1},w3t={chain:"OZONE",chainId:4e3,explorers:[{name:"OZONE Scan",url:"https://ozonescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbM4weV8Bk6c9yNhosYntkVw39SNZtCHYGgWyXTxkevZ8",width:1600,height:1600,format:"png"},infoURL:"https://ozonechain.io",name:"Ozone Chain Mainnet",nativeCurrency:{name:"OZONE",symbol:"OZO",decimals:18},networkId:4e3,rpc:["https://4000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.ozonechain.io"],shortName:"ozo",slug:"ozone-chain",testnet:!1},T3t={chain:"PERIUM",chainId:4001,explorers:[{name:"Peperium Chain Explorer",url:"https://scan-testnet.peperium.io",standard:"EIP3091",icon:{url:"ipfs://Qmag2hr5DQghRzKPN3oUFBkjWzqd5CndQzZeb5LfoiMCXf",width:160,height:160,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmag2hr5DQghRzKPN3oUFBkjWzqd5CndQzZeb5LfoiMCXf",width:160,height:160,format:"png"},infoURL:"https://peperium.io",name:"Peperium Chain Testnet",nativeCurrency:{name:"Peperium Chain Testnet",symbol:"PERIUM",decimals:18},networkId:4001,rpc:["https://4001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.peperium.io"],shortName:"PERIUM",slip44:1,slug:"peperium-chain-testnet",testnet:!0},EHe={chain:"FTM",chainId:4002,explorers:[{name:"ftmscan",url:"https://testnet.ftmscan.com",standard:"EIP3091",icon:{url:"ipfs://QmRqbK449Fo9sJ3xMpkPbg6uV1weQj4yVV1xNMP9cdPmjf",width:73,height:73,format:"png"}}],faucets:["https://faucet.fantom.network"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"},infoURL:"https://docs.fantom.foundation/quick-start/short-guide#fantom-testnet",name:"Fantom Testnet",nativeCurrency:{name:"Fantom",symbol:"FTM",decimals:18},networkId:4002,redFlags:[],rpc:["https://4002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.fantom.network","https://fantom-testnet-rpc.publicnode.com","wss://fantom-testnet-rpc.publicnode.com","https://fantom-testnet.drpc.org","wss://fantom-testnet.drpc.org"],shortName:"tftm",slip44:1,slug:"fantom-testnet",testnet:!0},x3t={chain:"X1",chainId:4003,explorers:[{name:"Blockscout",url:"https://explorer.x1-fastnet.xen.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://docs.xen.network/go-x1/",name:"X1 Fastnet",nativeCurrency:{name:"XN",symbol:"XN",decimals:18},networkId:4003,rpc:["https://4003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://x1-fastnet.xen.network"],shortName:"x1-fastnet",slip44:1,slug:"x1-fastnet",testnet:!1},E3t={chain:"CBR",chainId:4040,explorers:[{name:"Carbonium Network tesnet Explorer",url:"https://testnet.carboniumscan.com",standard:"none",icon:{url:"ipfs://QmUTDMvoY7JgDs9sZuuBhsyJz6B2dNfc5jj6xUj355be2C",width:500,height:500,format:"png"}}],faucets:["https://getfaucet.carbonium.network"],icon:{url:"ipfs://QmUTDMvoY7JgDs9sZuuBhsyJz6B2dNfc5jj6xUj355be2C",width:500,height:500,format:"png"},infoURL:"https://carbonium.network",name:"Carbonium Testnet Network",nativeCurrency:{name:"Carbonium",symbol:"tCBR",decimals:18},networkId:4040,rpc:["https://4040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-dev.carbonium.network/","https://server-testnet.carbonium.network"],shortName:"tcbr",slip44:1,slug:"carbonium-testnet-network",testnet:!0},_3t={chain:"GAN",chainId:4048,explorers:[{name:"ganscan",url:"https://ganscan.gpu.net",standard:"none"}],faucets:[],icon:{url:"ipfs://QmTYgL4PMNJya3XchuRx99ggNzMHL9kWaZvj3wycdEwpQA",width:1248,height:1197,format:"png"},infoURL:"https://docs.gpu.net/",name:"GAN Testnet",nativeCurrency:{name:"GP Token",symbol:"GP",decimals:18},networkId:4048,rpc:["https://4048.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gpu.net"],shortName:"GANTestnet",slug:"gan-testnet",testnet:!0},A3t={chain:"Bobaopera Testnet",chainId:4051,explorers:[{name:"Bobaopera Testnet block explorer",url:"https://blockexplorer.testnet.bobaopera.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobaopera Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:4051,rpc:["https://4051.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bobaopera.boba.network","wss://wss.testnet.bobaopera.boba.network","https://replica.testnet.bobaopera.boba.network","wss://replica-wss.testnet.bobaopera.boba.network"],shortName:"BobaoperaTestnet",slip44:1,slug:"bobaopera-testnet",status:"deprecated",testnet:!0},C3t={chain:"Nahmii",chainId:4061,explorers:[{name:"Nahmii 3 Mainnet Explorer",url:"https://explorer.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 3 Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4061,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://accounts.nahmii.io"}]},rpc:["https://4061.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.n3.nahmii.io"],shortName:"Nahmii3Mainnet",slug:"nahmii-3",status:"active",testnet:!1},I3t={chain:"Nahmii",chainId:4062,explorers:[{name:"Nahmii 3 Testnet Explorer",url:"https://explorer.testnet.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 3 Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:4062,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://accounts.testnet.nahmii.io"}]},rpc:["https://4062.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.nahmii.io"],shortName:"Nahmii3Testnet",slip44:1,slug:"nahmii-3-testnet",status:"active",testnet:!0},k3t={chain:"Muster",chainId:4078,explorers:[{name:"Musterscan",url:"https://muster-explorer.alt.technology",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiexm4aoscqo4d7dipicdgmfaemgzck2w7qhfp5mnoo7z2plcxleju",width:512,height:512,format:"png"},name:"Muster Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4078,parent:{type:"L2",chain:"eip155-42161",bridges:[]},rpc:["https://4078.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://muster.alt.technology"],shortName:"muster",slug:"muster",testnet:!1},S3t={chain:"TBC",chainId:4080,explorers:[{name:"tobescan",url:"https://tobescan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXARMjJGkXEVEdjUyxkeG4ffsWvEo9vSJpVon3JwRxckS",width:512,height:512,format:"png"},infoURL:"https://tobechain.net",name:"Tobe Chain",nativeCurrency:{name:"Tobe Coin",symbol:"TBC",decimals:18},networkId:4080,rpc:["https://4080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tobescan.com"],shortName:"tbc",slug:"tobe-chain",testnet:!1},R3t={chain:"Fastex Chain (Bahamut)",chainId:4090,explorers:[{name:"blockscout",url:"https://oasis.ftnscan.com",standard:"none"}],faucets:["https://faucet.oasis.fastexchain.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSemioP83RXnDWwTZbet8VpwJxcFRboX4B3pcdhLZGodP",width:200,height:200,format:"png"},infoURL:"https://fastexchain.com",name:"Fastex Chain (Bahamut) Oasis Testnet",nativeCurrency:{name:"FTN",symbol:"FTN",decimals:18},networkId:4090,rpc:["https://4090.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.oasis.bahamutchain.com"],shortName:"Oasis",slip44:1,slug:"fastex-chain-bahamut-oasis-testnet",testnet:!0,title:"Bahamut testnet Oasis"},M3t={chain:"BNI",chainId:4096,explorers:[{name:"Bitindi",url:"https://testnet.bitindiscan.com",standard:"EIP3091"}],faucets:["https://faucet.bitindi.org"],features:[],icon:{url:"ipfs://QmRAFFPiLiSgjGTs9QaZdnR9fsDgyUdTejwSxcnPXo292s",width:60,height:72,format:"png"},infoURL:"https://bitindi.org",name:"Bitindi Testnet",nativeCurrency:{name:"BNI",symbol:"$BNI",decimals:18},networkId:4096,redFlags:[],rpc:["https://4096.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bitindi.org","https://testnet-rpc.bitindi.org"],shortName:"BNIt",slip44:1,slug:"bitindi-testnet",testnet:!0},B3t={chain:"BNI",chainId:4099,explorers:[{name:"Bitindi",url:"https://bitindiscan.com",standard:"EIP3091"}],faucets:["https://faucet.bitindi.org"],features:[],icon:{url:"ipfs://QmRAFFPiLiSgjGTs9QaZdnR9fsDgyUdTejwSxcnPXo292s",width:60,height:72,format:"png"},infoURL:"https://bitindi.org",name:"Bitindi Mainnet",nativeCurrency:{name:"BNI",symbol:"$BNI",decimals:18},networkId:4099,redFlags:[],rpc:["https://4099.rpc.thirdweb.com/${THIRDWEB_API_KEY}"," https://rpc-mainnet.bitindi.org","https://mainnet-rpc.bitindi.org"],shortName:"BNIm",slug:"bitindi",testnet:!1},D3t={chain:"AIOZ",chainId:4102,explorers:[{name:"AIOZ Network Testnet Explorer",url:"https://testnet.explorer.aioz.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRAGPFhvQiXgoJkui7WHajpKctGFrJNhHqzYdwcWt5V3Z",width:1024,height:1024,format:"png"},infoURL:"https://aioz.network",name:"AIOZ Network Testnet",nativeCurrency:{name:"testAIOZ",symbol:"AIOZ",decimals:18},networkId:4102,rpc:["https://4102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-ds.testnet.aioz.network"],shortName:"aioz-testnet",slip44:1,slug:"aioz-network-testnet",testnet:!0},P3t={chain:"Humans Testnet",chainId:4139,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX6XuoQDTTjYqAmdNJiieLDZSwHHyUx44yQb4E3tmHmEA",width:400,height:400,format:"png"},infoURL:"https://humans.ai",name:"Humans.ai Testnet",nativeCurrency:{name:"HEART",symbol:"HEART",decimals:18},networkId:4139,rpc:["https://4139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.testnet.humans.zone"],shortName:"humans_testnet",slip44:1,slug:"humans-ai-testnet",testnet:!0},L3t={chain:"TPBX",chainId:4141,explorers:[{name:"Tipboxcoin",url:"https://testnet.tipboxcoin.net",standard:"EIP3091"}],faucets:["https://faucet.tipboxcoin.net"],icon:{url:"ipfs://QmbiaHnR3fVVofZ7Xq2GYZxwHkLEy3Fh5qDtqnqXD6ACAh",width:192,height:192,format:"png"},infoURL:"https://tipboxcoin.net",name:"Tipboxcoin Testnet",nativeCurrency:{name:"Tipboxcoin",symbol:"TPBX",decimals:18},networkId:4141,rpc:["https://4141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.tipboxcoin.net"],shortName:"TPBXt",slip44:1,slug:"tipboxcoin-testnet",testnet:!0},F3t={chain:"Avalanche",chainId:4145,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I2",nativeCurrency:{name:"QI1212I2 Token",symbol:"HSCX",decimals:18},networkId:4145,redFlags:[],rpc:["https://4145.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1212I2",slug:"qi1212i2",testnet:!0},N3t={chain:"XFI",chainId:4157,explorers:[{name:"CrossFi Testnet Scan",url:"https://scan.testnet.ms",standard:"EIP3091"},{name:"Scan Testnet",url:"https://scan.testnet.ms/",standard:"EIP1559"}],faucets:[],features:[],infoURL:"https://crossfi.org/",name:"CrossFi Testnet",nativeCurrency:{name:"XFI",symbol:"XFI",decimals:18},networkId:4157,redFlags:[],rpc:["https://4157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.ms/","https://rpc.testnet.ms"],shortName:"XFI",slip44:1,slug:"crossfi-testnet",testnet:!0,title:"https://scan.testnet.ms/"},O3t={chain:"PHI V1",chainId:4181,explorers:[{name:"PHI Explorer",url:"https://explorer.phi.network",standard:"none",icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"},infoURL:"https://phi.network",name:"PHI Network V1",nativeCurrency:{name:"PHI",symbol:"\u03A6",decimals:18},networkId:4181,rpc:["https://4181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.phi.network","https://rpc2.phi.network"],shortName:"PHIv1",slug:"phi-network-v1",testnet:!1},U3t={chain:"Merlin",chainId:4200,explorers:[{name:"L2scan",url:"https://scan.merlinchain.io",standard:"EIP3091",icon:{url:"ipfs://QmULpMFUvKSmJT8sWXS3WDnTm4EacgRbsEynDenpxcfrAj",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmULpMFUvKSmJT8sWXS3WDnTm4EacgRbsEynDenpxcfrAj",width:400,height:400,format:"jpg"},infoURL:"https://merlinchain.io",name:"Merlin Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:4200,rpc:["https://4200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.merlinchain.io","https://merlin-mainnet-enterprise.unifra.io","https://rpc-merlin.rockx.com"],shortName:"Merlin-Mainnet",slug:"merlin",testnet:!1,title:"Merlin Mainnet"},H3t={chain:"LUKSO Testnet",chainId:4201,explorers:[{name:"Blockscout",url:"https://explorer.execution.testnet.lukso.network",standard:"none"}],faucets:["https://faucet.testnet.lukso.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmeg9sFF5tAGi6MCx7YjtVHW6a23zqvHRK1xwzSdp9iE7z",width:512,height:512,format:"png"},infoURL:"https://lukso.network",name:"LUKSO Testnet",nativeCurrency:{name:"TestLYX",symbol:"LYXt",decimals:18},networkId:4201,rpc:["https://4201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.lukso.network","wss://ws-rpc.testnet.lukso.network"],shortName:"lukso-testnet",slip44:1,slug:"lukso-testnet",testnet:!0},z3t={chain:"ETH",chainId:4202,explorers:[{name:"liskscout",url:"https://sepolia-blockscout.lisk.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://lisk.com",name:"Lisk Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:4202,rpc:["https://4202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sepolia-api.lisk.com"],shortName:"lisksep",slip44:134,slug:"lisk-sepolia-testnet",testnet:!0},W3t={chain:"Nexi",chainId:4242,explorers:[{name:"nexiscan",url:"https://www.nexiscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeifxqd7zel2m237kq5enavnh2s6cshaavswigogyvae2wevxy5k2ti",width:512,height:578,format:"png"},infoURL:"https://www.nexi.technology/",name:"Nexi Mainnet",nativeCurrency:{name:"Nexi",symbol:"NEXI",decimals:18},networkId:4242,rpc:["https://4242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chain.nexi.technology/","https://chain.nexilix.com","https://chain.nexi.evmnode.online"],shortName:"nexi",slip44:2500,slug:"nexi",testnet:!1},q3t={chain:"Nexi V2",chainId:4243,explorers:[{name:"nexiscan",url:"https://www.nexiscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeifxqd7zel2m237kq5enavnh2s6cshaavswigogyvae2wevxy5k2ti",width:512,height:578,format:"png"},infoURL:"https://www.nexi.technology/",name:"Nexi V2 Mainnet",nativeCurrency:{name:"NexiV2",symbol:"NEXI",decimals:18},networkId:4243,rpc:["https://4243.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.nexiv2.nexilix.com","https://rpc.chainv1.nexi.technology"],shortName:"NexiV2",slip44:2500,slug:"nexi-v2",testnet:!1},j3t={chain:"Bobafuji Testnet",chainId:4328,explorers:[{name:"Bobafuji Testnet block explorer",url:"https://blockexplorer.testnet.avax.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobafuji Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:4328,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://4328.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.avax.boba.network","wss://wss.testnet.avax.boba.network","https://replica.testnet.avax.boba.network"],shortName:"BobaFujiTestnet",slip44:1,slug:"bobafuji-testnet",status:"deprecated",testnet:!0},G3t={chain:"BEAM",chainId:4337,explorers:[{name:"Beam Explorer",url:"https://subnets.avax.network/beam",standard:"EIP3091"}],faucets:["https://faucet.onbeam.com"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmQJ21NWyGGDraicVEzS1Uqq1yXahM9NCuNZgnfYvtspdt",width:512,height:512,format:"png"},infoURL:"https://www.onbeam.com",name:"Beam",nativeCurrency:{name:"Beam",symbol:"BEAM",decimals:18},networkId:4337,rpc:["https://4337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://build.onbeam.com/rpc","wss://build.onbeam.com/ws","https://subnets.avax.network/beam/mainnet/rpc","wss://subnets.avax.network/beam/mainnet/ws"],shortName:"beam",slug:"beam",testnet:!1},K3t={chain:"CREDIT",chainId:4400,explorers:[{name:"Creditscan",url:"https://scan.creditsmartchain.com",standard:"EIP3091",icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"},infoURL:"https://creditsmartchain.com",name:"Credit Smart Chain Mainnet",nativeCurrency:{name:"Credit",symbol:"CREDIT",decimals:18},networkId:4400,rpc:["https://4400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.creditsmartchain.com"],shortName:"CreditEdge",slug:"credit-smart-chain",testnet:!1},Q3t={chain:"mainnet",chainId:4444,explorers:[{name:"htmlcoin",url:"https://explorer.htmlcoin.com",standard:"none",icon:{url:"ipfs://QmR1oDRSadPerfyWMhKHNP268vPKvpczt5zPawgFSZisz2",width:1e3,height:1e3,format:"png"}}],faucets:["https://gruvin.me/htmlcoin"],icon:{url:"ipfs://QmR1oDRSadPerfyWMhKHNP268vPKvpczt5zPawgFSZisz2",width:1e3,height:1e3,format:"png"},infoURL:"https://htmlcoin.com",name:"Htmlcoin Mainnet",nativeCurrency:{name:"Htmlcoin",symbol:"HTML",decimals:8},networkId:4444,rpc:["https://4444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://janus.htmlcoin.com/api/"],shortName:"html",slug:"htmlcoin",status:"active",testnet:!1},V3t={chain:"ETH",chainId:4460,explorers:[{name:"basescout",url:"https://explorerl2new-orderly-l2-4460-sepolia-8tc3sd7dvy.t.conduit.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSpwp3RAVhZsErAQrCQxEmjnGqJQMigarzZbfqr9Ktakb",width:512,height:512,format:"png"},name:"Orderly Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:4460,rpc:["https://4460.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-orderly-l2-4460-sepolia-8tc3sd7dvy.t.conduit.xyz"],shortName:"orderlyl2",slip44:1,slug:"orderly-sepolia-testnet",testnet:!0},Y3t={chain:"Emoney",chainId:4544,explorers:[{name:"EMoney ethscan",url:"https://ethscan.emoney.network",standard:"EIP3091",icon:{url:"ipfs://bafkreigo4gtboztftjdnbvy2rb2ku2gxxbhm4iwutzgnzhvden3vcbsqui",width:472,height:462,format:"png"}}],faucets:["https://faucet.emoney.network/faucet"],icon:{url:"ipfs://bafkreigo4gtboztftjdnbvy2rb2ku2gxxbhm4iwutzgnzhvden3vcbsqui",width:472,height:462,format:"png"},infoURL:"https://emoney.network/",name:"Emoney Network Testnet",nativeCurrency:{name:"Emoney Network",symbol:"EMYC",decimals:18},networkId:4544,rpc:["https://4544.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.emoney.network/"],shortName:"emoney",slip44:118,slug:"emoney-network-testnet",testnet:!0},$3t={chain:"VERY Mainnet",chainId:4613,explorers:[{name:"VERY explorer",url:"https://www.veryscan.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreidyrvphfojaf7iev57trxk3sxbo6qikg26pdy66ke4n22dgm52wwa",width:320,height:320,format:"png"},infoURL:"https://www.verylabs.io/",name:"VERY Mainnet",nativeCurrency:{name:"VERY",symbol:"VERY",decimals:18},networkId:4613,rpc:["https://4613.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.verylabs.io"],shortName:"very",slug:"very",testnet:!1,title:"VERY Mainnet"},J3t={chain:"Avalanche",chainId:4638,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3387",nativeCurrency:{name:"QaUser3387 Token",symbol:"LPB",decimals:18},networkId:4638,redFlags:[],rpc:["https://4638.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3387",slug:"qauser3387",testnet:!0},X3t={chain:"Gold",chainId:4653,explorers:[],faucets:[],icon:{url:"ipfs://QmbvuHpn8Np5uTTbVNgv4JHCj2zfHBfmSoRcVNdWbcV5Vq",width:226,height:104,format:"png"},infoURL:"https://gold.dev",name:"Gold Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4653,rpc:["https://4653.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.gold.dev"],shortName:"gold",slug:"gold-chain",status:"incubating",testnet:!1,title:"Gold Chain"},Z3t={chain:"iotex.io",chainId:4689,explorers:[{name:"iotexscan",url:"https://iotexscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmQKHQrvtyUC5b5B76ke5GPTGXoGTVCubXS6gHgzCAswKo",width:250,height:250,format:"png"},infoURL:"https://iotex.io",name:"IoTeX Network Mainnet",nativeCurrency:{name:"IoTeX",symbol:"IOTX",decimals:18},networkId:4689,redFlags:[],rpc:["https://4689.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ankr.com/iotex","https://babel-api.mainnet.iotex.io"],shortName:"iotex-mainnet",slug:"iotex-network",testnet:!1},ebt={chain:"iotex.io",chainId:4690,explorers:[{name:"testnet iotexscan",url:"https://testnet.iotexscan.io",standard:"EIP3091"}],faucets:["https://faucet.iotex.io/"],features:[],icon:{url:"ipfs://QmQKHQrvtyUC5b5B76ke5GPTGXoGTVCubXS6gHgzCAswKo",width:250,height:250,format:"png"},infoURL:"https://iotex.io",name:"IoTeX Network Testnet",nativeCurrency:{name:"IoTeX",symbol:"IOTX",decimals:18},networkId:4690,redFlags:[],rpc:["https://4690.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://babel-api.testnet.iotex.io"],shortName:"iotex-testnet",slip44:1,slug:"iotex-network-testnet",testnet:!0},tbt={chain:"MEVerse",chainId:4759,explorers:[{name:"MEVerse Chain Testnet Explorer",url:"https://testnet.meversescan.io",standard:"none",icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"},infoURL:"https://www.meverse.sg",name:"MEVerse Chain Testnet",nativeCurrency:{name:"MEVerse",symbol:"MEV",decimals:18},networkId:4759,rpc:["https://4759.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.meversetestnet.io"],shortName:"TESTMEV",slip44:1,slug:"meverse-chain-testnet",testnet:!0},nbt={chain:"TBXN",chainId:4777,explorers:[{name:"blockscout",url:"https://testnet-explorer.blackfort.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmPasA8xykRtJDivB2bcKDiRCUNWDPtfUTTKVAcaF2wVxC",width:1968,height:1968,format:"png"},infoURL:"https://blackfort.exchange",name:"BlackFort Exchange Network Testnet",nativeCurrency:{name:"BlackFort Testnet Token",symbol:"TBXN",decimals:18},networkId:4777,rpc:["https://4777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.blackfort.network/rpc"],shortName:"TBXN",slip44:1,slug:"blackfort-exchange-network-testnet",testnet:!0},abt={chain:"GC",chainId:4893,explorers:[{name:"blockscout",url:"https://gcscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmPRHDsVNpRZ72GoQgDbpa3R4wKENmrXCRNuYJkxocFRDb",width:306,height:293,format:"png"},infoURL:"https://gcscan.io",name:"Globel Chain",nativeCurrency:{name:"Globel Chain",symbol:"GC",decimals:18},networkId:4893,rpc:["https://4893.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gcscan.io"],shortName:"GC",slug:"globel-chain",testnet:!1},rbt={chain:"Avalanche",chainId:4905,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"XFX",decimals:18},networkId:4905,redFlags:[],rpc:["https://4905.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f4ceb0cc-0d11-4d49-888e-d744e333488a"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet",testnet:!0},fbt={chain:"XVM",chainId:4918,explorers:[{name:"Venidium EVM Testnet Explorer",url:"https://evm-testnet.venidiumexplorer.com",standard:"EIP3091"}],faucets:[],infoURL:"https://venidium.io",name:"Venidium Testnet",nativeCurrency:{name:"Venidium",symbol:"XVM",decimals:18},networkId:4918,rpc:["https://4918.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-evm-testnet.venidium.io"],shortName:"txvm",slip44:1,slug:"venidium-testnet",testnet:!0},ibt={chain:"XVM",chainId:4919,explorers:[{name:"Venidium Explorer",url:"https://evm.venidiumexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiaplwlym5g27jm4mjhotfqq6al2cxp3fnkmzdusqjg7wnipq5wn2e",width:1e3,height:1e3,format:"png"},infoURL:"https://venidium.io",name:"Venidium Mainnet",nativeCurrency:{name:"Venidium",symbol:"XVM",decimals:18},networkId:4919,rpc:["https://4919.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.venidium.io"],shortName:"xvm",slug:"venidium",testnet:!1},sbt={chain:"BXN",chainId:4999,explorers:[{name:"blockscout",url:"https://explorer.blackfort.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmPasA8xykRtJDivB2bcKDiRCUNWDPtfUTTKVAcaF2wVxC",width:1968,height:1968,format:"png"},infoURL:"https://blackfort.exchange",name:"BlackFort Exchange Network",nativeCurrency:{name:"BlackFort Token",symbol:"BXN",decimals:18},networkId:4999,rpc:["https://4999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.blackfort.network/rpc","https://mainnet-1.blackfort.network/rpc","https://mainnet-2.blackfort.network/rpc","https://mainnet-3.blackfort.network/rpc"],shortName:"BXN",slug:"blackfort-exchange-network",testnet:!1},obt={chain:"ETH",chainId:5e3,explorers:[{name:"Mantle Explorer",url:"https://explorer.mantle.xyz",standard:"EIP3091"},{name:"Mantle Explorer",url:"https://mantlescan.xyz/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmYddHh5zdceSsBU7uGfQvEHg6UUtAFbzQBBaePS4whx7o",width:225,height:225,format:"png"},infoURL:"https://mantle.xyz",name:"Mantle",nativeCurrency:{name:"Mantle",symbol:"MNT",decimals:18},networkId:5e3,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.mantle.xyz"}]},redFlags:[],rpc:["https://5000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mantle.xyz","https://mantle-rpc.publicnode.com","wss://mantle-rpc.publicnode.com"],shortName:"mantle",slug:"mantle",testnet:!1},cbt={chain:"ETH",chainId:5001,explorers:[{name:"Mantle Testnet Explorer",url:"https://explorer.testnet.mantle.xyz",standard:"EIP3091"}],faucets:["https://faucet.testnet.mantle.xyz"],features:[],infoURL:"https://mantle.xyz",name:"Mantle Testnet",nativeCurrency:{name:"Testnet Mantle",symbol:"MNT",decimals:18},networkId:5001,redFlags:[],rpc:["https://5001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.mantle.xyz"],shortName:"mantle-testnet",slip44:1,slug:"mantle-testnet",status:"deprecated",testnet:!0},dbt={chain:"Treasurenet Mainnet Alpha",chainId:5002,explorers:[{name:"Treasurenet EVM BlockExplorer",url:"https://evmexplorer.treasurenet.io",standard:"none",icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"},infoURL:"https://www.treasurenet.io",name:"Treasurenet Mainnet Alpha",nativeCurrency:{name:"UNIT",symbol:"UNIT",decimals:18},networkId:5002,rpc:["https://5002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node0.treasurenet.io","https://node1.treasurenet.io","https://node2.treasurenet.io","https://node3.treasurenet.io"],shortName:"treasurenet",slug:"treasurenet-alpha",testnet:!1},lbt={chain:"ETH",chainId:5003,explorers:[{name:"blockscout",url:"https://explorer.sepolia.mantle.xyz",standard:"EIP3091"}],faucets:["https://faucet.sepolia.mantle.xyz"],features:[],infoURL:"https://mantle.xyz",name:"Mantle Sepolia Testnet",nativeCurrency:{name:"Sepolia Mantle",symbol:"MNT",decimals:18},networkId:5003,redFlags:[],rpc:["https://5003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sepolia.mantle.xyz"],shortName:"mnt-sep",slip44:1,slug:"mantle-sepolia-testnet",testnet:!0},ubt={chain:"Treasurenet Testnet",chainId:5005,explorers:[{name:"Treasurenet EVM BlockExplorer",url:"https://evmexplorer.testnet.treasurenet.io",standard:"none",icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"},infoURL:"https://www.testnet.treasurenet.io",name:"Treasurenet Testnet",nativeCurrency:{name:"UNIT",symbol:"UNIT",decimals:18},networkId:5005,rpc:["https://5005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node0.testnet.treasurenet.io","https://node1.testnet.treasurenet.io","https://node2.testnet.treasurenet.io","https://node3.testnet.treasurenet.io"],shortName:"tntest",slip44:1,slug:"treasurenet-testnet",testnet:!0},pbt={chain:"ONIGIRI",chainId:5039,explorers:[{name:"ONIGIRI Explorer",url:"https://subnets-test.avax.network/onigiri",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreieenivbkpmaxslvvvaybi53hynnarng4ek37xhtf5euvsyunvhbai",width:256,height:256,format:"png"},infoURL:"https://www.ongr.org/",name:"ONIGIRI Test Subnet",nativeCurrency:{name:"ONIGIRI",symbol:"ONGR",decimals:18},networkId:5039,rpc:["https://5039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/onigiri/testnet/rpc"],shortName:"onigiritest",slug:"onigiri-test-subnet",testnet:!0},hbt={chain:"ONIGIRI",chainId:5040,explorers:[{name:"ONIGIRI Explorer",url:"https://subnets.avax.network/onigiri",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreieenivbkpmaxslvvvaybi53hynnarng4ek37xhtf5euvsyunvhbai",width:256,height:256,format:"png"},infoURL:"https://www.ongr.org/",name:"ONIGIRI Subnet",nativeCurrency:{name:"ONIGIRI",symbol:"ONGR",decimals:18},networkId:5040,rpc:["https://5040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/onigiri/mainnet/rpc"],shortName:"onigiri",slug:"onigiri-subnet",testnet:!1},bbt={chain:"Avalanche",chainId:5041,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"OMOCHI",nativeCurrency:{name:"OMOCHI Token",symbol:"OMCH",decimals:18},networkId:5041,redFlags:[],rpc:["https://5041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/omochi/mainnet/rpc"],shortName:"OMOCHI",slug:"omochi",testnet:!1},mbt={chain:"Avalanche",chainId:5042,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"OMOCHI",nativeCurrency:{name:"OMOCHI Token",symbol:"OMCH",decimals:18},networkId:5042,redFlags:[],rpc:["https://5042.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/omochi/testnet/rpc"],shortName:"OMOCHI",slug:"omochi-omochi",testnet:!0},ybt={chain:"Skatechain",chainId:5051,explorers:[{name:"Nollie Skate Chain Testnet Explorer",url:"https://nolliescan.skatechain.org",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmdofX1W8QFt4TSDaq2wyPvYuUba9LabgD1MYcn3Hezu8h",width:600,height:875,format:"png"},name:"Nollie Skatechain Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5051,rpc:["https://5051.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nollie-rpc.skatechain.org/"],shortName:"nollie-testnet",slug:"nollie-skatechain-testnet",status:"active",testnet:!0},gbt={chain:"Syndicate",chainId:5100,explorers:[],faucets:[],icon:{url:"ipfs://QmeSvQcD3XvLFAiMLoQSPbGK9JxVfbCWPBUTMLhhhzYPqX",width:16e3,height:16e3,format:"png"},infoURL:"https://syndicate.io",name:"Syndicate Testnet",nativeCurrency:{name:"S-Ether",symbol:"ETH",decimals:18},networkId:5100,rpc:["https://5100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.syndicate.io"],shortName:"syndicate-chain-testnet",slug:"syndicate-testnet",status:"incubating",testnet:!0,title:"Syndicate Testnet"},vbt={chain:"Syndicate Frame",chainId:5101,explorers:[],faucets:[],icon:{url:"ipfs://QmeSvQcD3XvLFAiMLoQSPbGK9JxVfbCWPBUTMLhhhzYPqX",width:16e3,height:16e3,format:"png"},infoURL:"https://syndicate.io",name:"Syndicate Frame Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5101,rpc:["https://5101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-frame.syndicate.io"],shortName:"syndicate-chain-frame",slug:"syndicate-frame-chain",status:"incubating",testnet:!1,title:"Syndicate Frame Chain"},wbt={chain:"SIC Testnet",chainId:5102,explorers:[{name:"blockscout",url:"https://explorerl2new-sic-testnet-zvr7tlkzsi.t.conduit.xyz",standard:"EIP3091"}],faucets:[],infoURL:"https://www.fwb.help/",name:"SIC Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5102,rpc:["https://5102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sic-testnet-zvr7tlkzsi.t.conduit.xyz"],shortName:"sic-testnet",slug:"sic-testnet",testnet:!0},Tbt={chain:"Coordinape Testnet",chainId:5103,explorers:[],faucets:[],infoURL:"https://coordinape.com/",name:"Coordinape Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5103,rpc:["https://5103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-coordinape-testnet-vs9se3oc4v.t.conduit.xyz"],shortName:"coordinape-testnet",slug:"coordinape-testnet",testnet:!0},xbt={chain:"Charmverse Testnet",chainId:5104,explorers:[],faucets:[],infoURL:"https://charmverse.io/",name:"Charmverse Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5104,rpc:["https://5104.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-charmverse-testnet-g6blnaebes.t.conduit.xyz"],shortName:"charmverse-testnet",slug:"charmverse-testnet",testnet:!0},Ebt={chain:"Superloyalty Testnet",chainId:5105,explorers:[],faucets:[],infoURL:"https://www.superloyal.com/",name:"Superloyalty Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5105,rpc:["https://5105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-superloyalty-testnet-1m5gwjbsv1.t.conduit.xyz"],shortName:"superloyalty-testnet",slug:"superloyalty-testnet",testnet:!0},_bt={chain:"Azra Testnet",chainId:5106,explorers:[{name:"blockscout",url:"https://explorerl2new-azra-testnet-6hz86owb1n.t.conduit.xyz",standard:"EIP3091"}],faucets:[],infoURL:"https://azragames.com",name:"Azra Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5106,rpc:["https://5106.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-azra-testnet-6hz86owb1n.t.conduit.xyz"],shortName:"azra-testnet",slug:"azra-testnet",testnet:!0},Abt={chain:"Bahamut",chainId:5165,explorers:[{name:"blockscout",url:"https://ftnscan.com",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSemioP83RXnDWwTZbet8VpwJxcFRboX4B3pcdhLZGodP",width:200,height:200,format:"png"},infoURL:"https://bahamut.io",name:"Bahamut",nativeCurrency:{name:"FTN",symbol:"FTN",decimals:18},networkId:5165,rpc:["https://5165.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.bahamut.io","https://rpc2.bahamut.io","wss://ws1.sahara.bahamutchain.com","wss://ws2.sahara.bahamutchain.com","https://bahamut-rpc.publicnode.com","wss://bahamut-rpc.publicnode.com"],shortName:"ftn",slug:"bahamut",testnet:!1,title:"Bahamut mainnet"},Cbt={chain:"SLN",chainId:5169,explorers:[{name:"SLN Mainnet Explorer",url:"https://explorer.main.smartlayer.network",standard:"EIP3091"}],faucets:[],infoURL:"https://www.smartlayer.network/",name:"Smart Layer Network",nativeCurrency:{name:"Service Unit Token",symbol:"SU",decimals:18},networkId:5169,rpc:["https://5169.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.main.smartlayer.network"],shortName:"SLN",slug:"smart-layer-network",testnet:!1},Ibt={chain:"TLC",chainId:5177,explorers:[{name:"TLChain Explorer",url:"https://explorer.tlchain.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmaR5TsgnWSjLys6wGaciKUbc5qYL3Es4jtgQcosVqDWR3",width:2048,height:2048,format:"png"},infoURL:"https://tlchain.network/",name:"TLChain Network Mainnet",nativeCurrency:{name:"TLChain Network",symbol:"TLC",decimals:18},networkId:5177,rpc:["https://5177.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tlxscan.com/"],shortName:"tlc",slug:"tlchain-network",testnet:!1},kbt={chain:"ESN",chainId:5197,explorers:[],faucets:[],icon:{url:"ipfs://QmV1wZ1RVXeD7216aiVBpLkbBBHWNuoTvcSzpVQsqi2uaH",width:200,height:200,format:"png"},infoURL:"https://eraswap.info/",name:"EraSwap Mainnet",nativeCurrency:{name:"EraSwap",symbol:"ES",decimals:18},networkId:5197,rpc:["https://5197.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.eraswap.network","https://rpc-mumbai.mainnet.eraswap.network"],shortName:"es",slug:"eraswap",testnet:!1},Sbt={chain:"HMND",chainId:5234,explorers:[{name:"Subscan",url:"https://humanode.subscan.io",standard:"EIP3091",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://bafybeihuskzfwqogwvutaxil6sztmvpiavzbrzwjwpn6w2i4j3jysbybra",width:1043,height:1043,format:"png"},infoURL:"https://humanode.io",name:"Humanode Mainnet",nativeCurrency:{name:"eHMND",symbol:"eHMND",decimals:18},networkId:5234,rpc:["https://5234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://explorer-rpc-http.mainnet.stages.humanode.io"],shortName:"hmnd",slug:"humanode",testnet:!1},Rbt={chain:"FIRE",chainId:5290,explorers:[],faucets:[],icon:{url:"ipfs://QmYjuztyURb3Fc6ZTLgCbwQa64CcVoigF5j9cafzuSbqgf",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Firechain Mainnet Old",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:5290,rpc:["https://5290.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rpc1.thefirechain.com"],shortName:"_old_fire",slug:"firechain-old",status:"deprecated",testnet:!1},Mbt={chain:"UZMI",chainId:5315,explorers:[],faucets:[],infoURL:"https://uzmigames.com.br/",name:"Uzmi Network Mainnet",nativeCurrency:{name:"UZMI",symbol:"UZMI",decimals:18},networkId:5315,rpc:["https://5315.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://network.uzmigames.com.br/"],shortName:"UZMI",slug:"uzmi-network",testnet:!1},Bbt={chain:"OpTrust",chainId:5317,explorers:[{name:"OpTrust Testnet explorer",url:"https://scantest.optrust.io",standard:"none",icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"},infoURL:"https://optrust.io",name:"OpTrust Testnet",nativeCurrency:{name:"TestBSC",symbol:"tBNB",decimals:18},networkId:5317,rpc:["https://5317.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.optrust.io"],shortName:"toptrust",slug:"optrust-testnet",testnet:!0},Dbt={chain:"TRITANIUM",chainId:5353,explorers:[{name:"TRITANIUM Testnet Explorer",url:"https://testnet.tritanium.network",standard:"none",icon:{url:"ipfs://QmRm6gcEPJmU9a86zrmyP7FALTN4Toz9HrnrL2Kwg6FPeh",width:512,height:512,format:"png"}}],faucets:["https://faucet.tritanium.network"],icon:{url:"ipfs://QmRm6gcEPJmU9a86zrmyP7FALTN4Toz9HrnrL2Kwg6FPeh",width:512,height:512,format:"png"},infoURL:"https://tritanium.network",name:"Tritanium Testnet",nativeCurrency:{name:"Tritanium Native Token",symbol:"tTRN",decimals:18},networkId:5353,rpc:["https://5353.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodetestnet-station-one.tritanium.network/","https://nodetestnet-station-two.tritanium.network/"],shortName:"ttrn",slip44:1,slug:"tritanium-testnet",testnet:!0},Pbt={chain:"Settlus",chainId:5372,explorers:[{name:"Settlus Scan",url:"https://testnet.settlus.network",standard:"EIP3091"}],faucets:["https://faucet.settlus.io"],infoURL:"https://settlus.org",name:"Settlus Testnet",nativeCurrency:{name:"Setl",symbol:"SETL",decimals:18},networkId:5372,rpc:["https://5372.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://settlus-test-eth.settlus.io"],shortName:"settlus-testnet",slug:"settlus-testnet",testnet:!0},Lbt={chain:"edeXa Network",chainId:5424,explorers:[{name:"edexa-mainnet",url:"https://explorer.edexa.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSgvmLpRsCiu2ySqyceA5xN4nwi7URJRNEZLffwEKXdoR",width:1028,height:1042,format:"png"},infoURL:"https://edexa.network/",name:"edeXa Mainnet",nativeCurrency:{name:"EDEXA",symbol:"EDX",decimals:18},networkId:5424,rpc:["https://5424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.edexa.network/rpc","https://mainnet.edexa.com/rpc","https://io-dataseed1.mainnet.edexa.io-market.com/rpc"],shortName:"edeXa",slip44:1,slug:"edexa",testnet:!1},Fbt={chain:"EGAX",chainId:5439,explorers:[{name:"egoscan",url:"https://egoscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.egochain.org/",name:"Egochain",nativeCurrency:{name:"EGAX",symbol:"EGAX",decimals:18},networkId:5439,rpc:["https://5439.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.egochain.org"],shortName:"egax",slug:"egochain",testnet:!1},Nbt={chain:"vex",chainId:5522,explorers:[{name:"Vexascan-EVM-TestNet",url:"https://testnet.vexascan.com/evmexplorer",standard:"EIP3091"}],faucets:["https://t.me/vexfaucetbot"],icon:{url:"ipfs://QmcZiEAGFYEEax1uxYnDUh8X5YBvZqMi9K92yZoq4o2zeM",width:451,height:446,format:"png"},infoURL:"https://vexanium.com",name:"VEX EVM TESTNET",nativeCurrency:{name:"VEX EVM TESTNET",symbol:"VEX",decimals:18},networkId:5522,rpc:["https://5522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.vexascan.com/evmapi"],shortName:"VEX",slip44:1,slug:"vex-evm-testnet",testnet:!0},Obt={chain:"Nahmii",chainId:5551,explorers:[{name:"Nahmii 2 Mainnet Explorer",url:"https://explorer.n2.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 2 Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5551,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://n2.bridge.nahmii.io"}]},rpc:["https://5551.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2.nahmii.io"],shortName:"Nahmii",slug:"nahmii-2",status:"active",testnet:!1},Ubt={chain:"Nahmii",chainId:5553,explorers:[{name:"blockscout",url:"https://explorer.testnet.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 2 Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5553,parent:{type:"L2",chain:"eip155-3",bridges:[{url:"https://bridge.nahmii.io"}]},rpc:["https://5553.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2.testnet.nahmii.io"],shortName:"NahmiiTestnet",slip44:1,slug:"nahmii-2-testnet",status:"deprecated",testnet:!0},Hbt={chain:"CVERSE",chainId:5555,explorers:[{name:"Chain Verse Explorer",url:"https://explorer.chainverse.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQyJt28h4wN3QHPXUQJQYQqGiFUD77han3zibZPzHbitk",width:1e3,height:1436,format:"png"},infoURL:"https://chainverse.info",name:"Chain Verse Mainnet",nativeCurrency:{name:"Oasys",symbol:"OAS",decimals:18},networkId:5555,rpc:["https://5555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chainverse.info"],shortName:"cverse",slug:"chain-verse",testnet:!1},zbt={chain:"opBNB",chainId:5611,explorers:[{name:"bscscan-opbnb-testnet",url:"https://opbnb-testnet.bscscan.com",standard:"EIP3091"},{name:"opbnbscan",url:"https://opbnbscan.com",standard:"EIP3091"}],faucets:["https://testnet.bnbchain.org/faucet-smart"],icon:{url:"ipfs://bafybeib75gwytvblyvjpfminitr3i6mpat3a624udfsqsl5nysf5vuuvie",width:96,height:96,format:"png"},infoURL:"https://opbnb.bnbchain.org/en",name:"opBNB Testnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"tBNB",decimals:18},networkId:5611,rpc:["https://5611.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://opbnb-testnet-rpc.bnbchain.org","https://opbnb-testnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3","wss://opbnb-testnet.nodereal.io/ws/v1/64a9df0874fb4a93b9d0a3849de012d3","https://opbnb-testnet.nodereal.io/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","wss://opbnb-testnet.nodereal.io/ws/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","https://opbnb-testnet-rpc.publicnode.com","wss://opbnb-testnet-rpc.publicnode.com"],shortName:"obnbt",slip44:1,slug:"opbnb-testnet",testnet:!0},Wbt={chain:"Arcturus",chainId:5615,explorers:[{name:"explorer-arcturus-testnet",url:"https://testnet.arcscan.net",standard:"EIP3091"}],faucets:["https://faucet.arcturuschain.io"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://arcturuschain.io",name:"Arcturus Testneet",nativeCurrency:{name:"tARC",symbol:"tARC",decimals:18},networkId:5615,rpc:["https://5615.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.arcturuschain.io/"],shortName:"arcturus-testnet",slug:"arcturus-testneet",testnet:!0},qbt={chain:"ARCTURUS",chainId:5616,explorers:[],faucets:[],infoURL:"https://arcturuschain.io",name:"Arcturus Chain Testnet",nativeCurrency:{name:"Test Arct",symbol:"tARCT",decimals:18},networkId:5616,rpc:["https://5616.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://185.99.196.3:8545"],shortName:"ARCT",slip44:1,slug:"arcturus-chain-testnet",testnet:!0},jbt={chain:"QIE",chainId:5656,explorers:[{name:"QIE Explorer",url:"https://mainnet.qiblockchain.online",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRoNxCti6cHrPgZ48YQVSMg9g6ympfXuV8kGQJXrbbmed",width:600,height:600,format:"png"},infoURL:"https://qiblockchain.online/",name:"QIE Blockchain",nativeCurrency:{name:"QIE Blockchain",symbol:"QIE",decimals:18},networkId:5656,rpc:["https://5656.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-main1.qiblockchain.online/","https://rpc-main2.qiblockchain.online/"],shortName:"QIE",slug:"qie-blockchain",testnet:!1},Gbt={chain:"Avalanche",chainId:5668,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"JONO122",nativeCurrency:{name:"JONO122 Token",symbol:"JONO",decimals:18},networkId:5668,redFlags:[],rpc:["https://5668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jono122/testnet/rpc"],shortName:"JONO122",slug:"jono122",testnet:!0},Kbt={chain:"Filenova",chainId:5675,explorers:[{name:"filenova testnet explorer",url:"https://scantest.filenova.org",standard:"none",icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"},infoURL:"https://filenova.org",name:"Filenova Testnet",nativeCurrency:{name:"Test Filecoin",symbol:"tFIL",decimals:18},networkId:5675,rpc:["https://5675.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.filenova.org"],shortName:"tfilenova",slug:"filenova-testnet",testnet:!0},Qbt={chain:"TANGO",chainId:5678,explorers:[{name:"BlockScout",url:"https://3001-blockscout.a.dancebox.tanssi.network",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.tanssi.network/builders/tanssi-network/networks/dancebox/demo-evm-containerchain",name:"Tanssi Demo",nativeCurrency:{name:"TANGO",symbol:"TANGO",decimals:18},networkId:5678,rpc:["https://5678.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3001-rpc.a.dancebox.tanssi.network","wss://fraa-dancebox-3001-rpc.a.dancebox.tanssi.network"],shortName:"tango",slug:"tanssi-demo",testnet:!1},Vbt={chain:"SYS",chainId:5700,explorers:[{name:"Syscoin Testnet Block Explorer",url:"https://tanenbaum.io",standard:"EIP3091"}],faucets:["https://faucet.tanenbaum.io"],infoURL:"https://syscoin.org",name:"Syscoin Tanenbaum Testnet",nativeCurrency:{name:"Testnet Syscoin",symbol:"tSYS",decimals:18},networkId:5700,rpc:["https://5700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tanenbaum.io","wss://rpc.tanenbaum.io/wss","https://syscoin-tanenbaum-evm.publicnode.com","wss://syscoin-tanenbaum-evm.publicnode.com"],shortName:"tsys",slip44:1,slug:"syscoin-tanenbaum-testnet",testnet:!0},Ybt={chain:"HIK",chainId:5729,explorers:[{name:"Hika Network Testnet Explorer",url:"https://scan-testnet.hika.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmW44FPm3CMM2JDs8BQxLNvUtykkUtrGkQkQsUDJSi3Gmp",width:350,height:84,format:"png"},infoURL:"https://hika.network/",name:"Hika Network Testnet",nativeCurrency:{name:"Hik Token",symbol:"HIK",decimals:18},networkId:5729,rpc:["https://5729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.hika.network/"],shortName:"hik",slug:"hika-network-testnet",testnet:!0,title:"Hika Network Testnet"},$bt={chain:"SATS",chainId:5758,explorers:[{name:"SatoshiChain Testnet Explorer",url:"https://testnet.satoshiscan.io",standard:"EIP3091"}],faucets:["https://faucet.satoshichain.io"],icon:{url:"ipfs://QmRegpZQBW4o1imYNsW3d27MQjygBSU23Gf6JKje26nvs7",width:1251,height:1251,format:"png"},infoURL:"https://satoshichain.net",name:"SatoshiChain Testnet",nativeCurrency:{name:"SatoshiChain Coin",symbol:"SATS",decimals:18},networkId:5758,rpc:["https://5758.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.satoshichain.io"],shortName:"satst",slip44:1,slug:"satoshichain-testnet",testnet:!0},Jbt={chain:"ETH",chainId:5777,explorers:[],faucets:[],icon:{url:"ipfs://Qmc9N7V8CiLB4r7FEcG7GojqfiGGsRCZqcFWCahwMohbDW",width:267,height:300,format:"png"},infoURL:"https://trufflesuite.com/ganache/",name:"Ganache",nativeCurrency:{name:"Ganache Test Ether",symbol:"ETH",decimals:18},networkId:5777,rpc:["https://5777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://127.0.0.1:7545"],shortName:"ggui",slip44:1,slug:"ganache",testnet:!0,title:"Ganache GUI Ethereum Testnet"},Xbt={chain:"Avalanche",chainId:5810,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Reg Tnet",nativeCurrency:{name:"Reg Tnet Token",symbol:"LUG",decimals:18},networkId:5810,redFlags:[],rpc:["https://5810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Reg Tnet",slug:"reg-tnet",testnet:!0},Zbt={chain:"Tangle",chainId:5845,explorers:[{name:"Tangle EVM Explorer",url:"https://explorer.tangle.tools",standard:"EIP3091",icon:{url:"ipfs://QmbxMNBTeQgch8t9GpWdLiS2R3wPYCzVRaX5kCQ4o5QU3w",width:1600,height:1600,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbxMNBTeQgch8t9GpWdLiS2R3wPYCzVRaX5kCQ4o5QU3w",width:1600,height:1600,format:"png"},infoURL:"https://docs.tangle.tools",name:"Tangle",nativeCurrency:{name:"Tangle",symbol:"TNT",decimals:18},networkId:5845,rpc:["https://5845.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tangle.tools","wss://rpc.tangle.tools"],shortName:"tangle",slug:"tangle",testnet:!1},emt={chain:"Ontology",chainId:5851,explorers:[{name:"explorer",url:"https://explorer.ont.io/testnet",standard:"EIP3091"}],faucets:["https://developer.ont.io/"],icon:{url:"ipfs://bafkreigmvn6spvbiirtutowpq6jmetevbxoof5plzixjoerbeswy4htfb4",width:400,height:400,format:"png"},infoURL:"https://ont.io/",name:"Ontology Testnet",nativeCurrency:{name:"ONG",symbol:"ONG",decimals:18},networkId:5851,rpc:["https://5851.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://polaris1.ont.io:20339","http://polaris2.ont.io:20339","http://polaris3.ont.io:20339","http://polaris4.ont.io:20339","https://polaris1.ont.io:10339","https://polaris2.ont.io:10339","https://polaris3.ont.io:10339","https://polaris4.ont.io:10339"],shortName:"OntologyTestnet",slip44:1,slug:"ontology-testnet",testnet:!0},tmt={chain:"RBD",chainId:5869,explorers:[{name:"wegoscan2",url:"https://scan2.wegochain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.wegochain.io",name:"Wegochain Rubidium Mainnet",nativeCurrency:{name:"Rubid",symbol:"RBD",decimals:18},networkId:5869,rpc:["https://5869.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy.wegochain.io","http://wallet.wegochain.io:7764"],shortName:"rbd",slug:"wegochain-rubidium",testnet:!1},nmt={chain:"BounceBit",chainId:6e3,explorers:[{name:"BBScan Testnet Explorer",url:"https://bbscan.io",standard:"none"}],faucets:[],infoURL:"https://bouncebit.io",name:"BounceBit Testnet",nativeCurrency:{name:"BounceBit",symbol:"BB",decimals:18},networkId:6e3,rpc:["https://6000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fullnode-testnet.bouncebitapi.com/"],shortName:"bouncebit-testnet",slug:"bouncebit-testnet",testnet:!0},amt={chain:"BounceBit",chainId:6001,explorers:[{name:"BBScan Mainnet Explorer",url:"https://bbscan.io",standard:"none"}],faucets:[],infoURL:"https://bouncebit.io",name:"BounceBit Mainnet",nativeCurrency:{name:"BounceBit",symbol:"BB",decimals:18},networkId:6001,rpc:["https://6001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fullnode-mainnet.bouncebitapi.com/"],shortName:"bouncebit-mainnet",slug:"bouncebit",testnet:!1},rmt={chain:"TresLeches",chainId:6065,explorers:[{name:"treslechesexplorer",url:"https://explorer-test.tresleches.finance",standard:"EIP3091",icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"}}],faucets:["http://faucet.tresleches.finance:8080"],icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"},infoURL:"https://treschain.com",name:"Tres Testnet",nativeCurrency:{name:"TRES",symbol:"TRES",decimals:18},networkId:6065,rpc:["https://6065.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.tresleches.finance/"],shortName:"TRESTEST",slip44:1,slug:"tres-testnet",testnet:!0},fmt={chain:"TresLeches",chainId:6066,explorers:[{name:"treslechesexplorer",url:"https://explorer.tresleches.finance",standard:"EIP3091",icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"},infoURL:"https://treschain.com",name:"Tres Mainnet",nativeCurrency:{name:"TRES",symbol:"TRES",decimals:18},networkId:6066,rpc:["https://6066.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tresleches.finance/","https://rpc.treschain.io/"],shortName:"TRESMAIN",slug:"tres",testnet:!1},imt={chain:"Cascadia",chainId:6102,explorers:[{name:"Cascadia EVM Explorer",url:"https://explorer.cascadia.foundation",standard:"none",icon:{url:"ipfs://QmQtcwxNiJ9D1QDz4k6jZ7qacLcqMk6CeW85TTBWBvNp3z",width:256,height:256,format:"png"}},{name:"Cascadia Cosmos Explorer",url:"https://validator.cascadia.foundation",standard:"none",icon:{url:"ipfs://QmQtcwxNiJ9D1QDz4k6jZ7qacLcqMk6CeW85TTBWBvNp3z",width:256,height:256,format:"png"}}],faucets:["https://www.cascadia.foundation/faucet"],icon:{url:"ipfs://QmQtcwxNiJ9D1QDz4k6jZ7qacLcqMk6CeW85TTBWBvNp3z",width:256,height:256,format:"png"},infoURL:"https://www.cascadia.foundation",name:"Cascadia Testnet",nativeCurrency:{name:"CC",symbol:"tCC",decimals:18},networkId:6102,rpc:["https://6102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.cascadia.foundation"],shortName:"cascadia",slug:"cascadia-testnet",testnet:!0},smt={chain:"UPTN",chainId:6118,explorers:[{name:"UPTN Testnet Explorer",url:"https://testnet.explorer.uptn.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://Qma6cGPCDcJPFxy5KQaMBrLtuVQiqeLncXVybcBoQuhai5",width:128,height:128,format:"png"},infoURL:"https://uptn.io",name:"UPTN Testnet",nativeCurrency:{name:"UPTN",symbol:"UPTN",decimals:18},networkId:6118,rpc:["https://6118.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node-api.alp.uptn.io/v1/ext/rpc"],shortName:"UPTN-TEST",slip44:1,slug:"uptn-testnet",testnet:!0},omt={chain:"UPTN",chainId:6119,explorers:[{name:"UPTN Explorer",url:"https://explorer.uptn.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://Qma6cGPCDcJPFxy5KQaMBrLtuVQiqeLncXVybcBoQuhai5",width:128,height:128,format:"png"},infoURL:"https://uptn.io",name:"UPTN",nativeCurrency:{name:"UPTN",symbol:"UPTN",decimals:18},networkId:6119,rpc:["https://6119.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node-api.uptn.io/v1/ext/rpc"],shortName:"UPTN",slug:"uptn",testnet:!1},cmt={chain:"Avalanche",chainId:6213,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8112",nativeCurrency:{name:"QaUser8112 Token",symbol:"PEN",decimals:18},networkId:6213,redFlags:[],rpc:["https://6213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8112",slug:"qauser8112",testnet:!0},dmt={chain:"Aura",chainId:6321,explorers:[{name:"Aurascan Explorer",url:"https://euphoria.aurascan.io",standard:"none",icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"}}],faucets:["https://aura.faucetme.pro"],icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"},infoURL:"https://aura.network",name:"Aura Euphoria Testnet",nativeCurrency:{name:"test-EAura",symbol:"eAura",decimals:18},networkId:6321,rpc:["https://6321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.euphoria.aura.network"],shortName:"eaura",slip44:1,slug:"aura-euphoria-testnet",testnet:!0},lmt={chain:"Aura",chainId:6322,explorers:[{name:"Aurascan Explorer",url:"https://aurascan.io",standard:"none",icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"},infoURL:"https://aura.network",name:"Aura Mainnet",nativeCurrency:{name:"Aura",symbol:"AURA",decimals:18},networkId:6322,rpc:["https://6322.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.aura.network"],shortName:"aura",slip44:1,slug:"aura",testnet:!1},umt={chain:"DGS",chainId:6363,explorers:[],faucets:[],icon:{url:"ipfs://QmRiAUu3xV5uiX6Nk1iXD5w6qjki5ugGFETRVavzJ2h5QF",width:370,height:320,format:"png"},name:"Digit Soul Smart Chain",nativeCurrency:{name:"Digit Coin",symbol:"DGC",decimals:18},networkId:6363,rpc:["https://6363.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dsc-rpc.digitsoul.co.th"],shortName:"DGS",slug:"digit-soul-smart-chain",testnet:!1},pmt={chain:"P2P",chainId:6502,explorers:[],faucets:[],infoURL:"https://peerpay.su.gy",name:"Peerpay",nativeCurrency:{name:"Peerpay",symbol:"P2P",decimals:18},networkId:6502,rpc:["https://6502.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://peerpay.su.gy/p2p"],shortName:"Peerpay",slug:"peerpay",testnet:!1},hmt={chain:"SCOLWEI-testnet",chainId:6552,explorers:[{name:"Scolscan Testnet Explorer",url:"https://testnet-explorer.scolcoin.com",standard:"EIP3091"}],faucets:["https://faucet.scolcoin.com"],icon:{url:"ipfs://QmVES1eqDXhP8SdeCpM85wvjmhrQDXGRquQebDrSdvJqpt",width:792,height:822,format:"png"},infoURL:"https://scolcoin.com",name:"Scolcoin WeiChain Testnet",nativeCurrency:{name:"Scolcoin",symbol:"SCOL",decimals:18},networkId:6552,rpc:["https://6552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.scolcoin.com"],shortName:"SRC-test",slip44:1,slug:"scolcoin-weichain-testnet",testnet:!0},bmt={chain:"FOX",chainId:6565,explorers:[{name:"FOX Testnet Explorer",url:"https://testnet.foxscan.app",standard:"none",icon:{url:"ipfs://Qmbp1rwhtRr6JQRyYqyfLqkbmzXr1T17zbmChsi2ouvg3M",width:100,height:100,format:"png"}}],faucets:["https://faucet.foxchain.app"],icon:{url:"ipfs://Qmbp1rwhtRr6JQRyYqyfLqkbmzXr1T17zbmChsi2ouvg3M",width:100,height:100,format:"png"},infoURL:"https://foxchain.app",name:"Fox Testnet Network",nativeCurrency:{name:"FOX Native Token",symbol:"tFOX",decimals:18},networkId:6565,rpc:["https://6565.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet-v1.foxchain.app/","https://rpc2-testnet-v1.foxchain.app/","https://rpc3-testnet-v1.foxchain.app"],shortName:"fox",slip44:1,slug:"fox-testnet-network",testnet:!0},mmt={chain:"PixieChain",chainId:6626,explorers:[{name:"blockscout",url:"https://scan.chain.pixie.xyz",standard:"none"}],faucets:[],infoURL:"https://chain.pixie.xyz",name:"Pixie Chain Mainnet",nativeCurrency:{name:"Pixie Chain Native Token",symbol:"PIX",decimals:18},networkId:6626,rpc:["https://6626.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.chain.pixie.xyz","wss://ws-mainnet.chain.pixie.xyz"],shortName:"pixie-chain",slug:"pixie-chain",testnet:!1},ymt={chain:"LATEST",chainId:6660,explorers:[{name:"Latest Chain",url:"http://testnet.latestchain.io",standard:"EIP3091"}],faucets:["http://faucet.latestchain.io"],icon:{url:"ipfs://QmUU784i1ZHDNwgXvt9weZmq6YbHHkyXvuDS7r4iDzao72",width:1115,height:1242,format:"png"},infoURL:"https://latestcoin.io",name:"Latest Chain Testnet",nativeCurrency:{name:"Latest",symbol:"LATEST",decimals:18},networkId:6660,rpc:["https://6660.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.latestcoin.io"],shortName:"LATESTt",slug:"latest-chain-testnet",testnet:!0},gmt={chain:"CYBA",chainId:6661,explorers:[{name:"Cybria Explorer",url:"https://cybascan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiagdqfrvnbdjhkh27gjbvepzo66dpqgnbffmpnywuw5ncprg3jk3u",width:2264,height:408,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreiarso74bytq5ccnl3mlfhd4ejiylwautsr6ovbqgmynzjzmkorn6y",width:500,height:500,format:"svg"},infoURL:"https://cybria.io",name:"Cybria Mainnet",nativeCurrency:{name:"Cybria",symbol:"CYBA",decimals:18},networkId:6661,parent:{type:"L2",chain:"eip155-11155420",bridges:[{url:"https://app.optimism.io/bridge"}]},rpc:["https://6661.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.cybria.io"],shortName:"cyba",slug:"cybria",testnet:!1},vmt={chain:"CYBA",chainId:6666,explorers:[{name:"Cybria Explorer",url:"https://explorer.cybascan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiagdqfrvnbdjhkh27gjbvepzo66dpqgnbffmpnywuw5ncprg3jk3u",width:2264,height:408,format:"png"}}],faucets:["https://faucet.cybascan.io"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreiarso74bytq5ccnl3mlfhd4ejiylwautsr6ovbqgmynzjzmkorn6y",width:500,height:500,format:"svg"},infoURL:"https://cybria.io",name:"Cybria Testnet",nativeCurrency:{name:"Cybria",symbol:"CYBA",decimals:18},networkId:6666,parent:{type:"L2",chain:"eip155-11155420",bridges:[{url:"https://app.optimism.io/bridge"}]},rpc:["https://6666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-rpc.cybascan.io"],shortName:"tcyba",slug:"cybria-testnet",testnet:!0},wmt={chain:"IRIShub",chainId:6688,explorers:[{name:"IRISHub Cosmos Explorer (IOBScan)",url:"https://irishub.iobscan.io",standard:"none",icon:{url:"ipfs://QmTKgKs7kJiWDhdjbELE4Y2HVZ36KS4bYkNCbXdsXk66sW",width:1062,height:1062,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTKgKs7kJiWDhdjbELE4Y2HVZ36KS4bYkNCbXdsXk66sW",width:1062,height:1062,format:"png"},infoURL:"https://www.irisnet.org",name:"IRIShub",nativeCurrency:{name:"Eris",symbol:"ERIS",decimals:18},networkId:6688,rpc:["https://6688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmrpc.irishub-1.irisnet.org","https://iris-evm.publicnode.com","wss://iris-evm.publicnode.com"],shortName:"iris",slug:"irishub",testnet:!1},Tmt={chain:"PAXB",chainId:6701,explorers:[{name:"PAXB Explorer",url:"https://scan.paxb.io",standard:"EIP3091",icon:{url:"ipfs://QmSP66CHynXpMYkjV28uLjTR4kjuoJyy92igYYpvLoqHtG",width:300,height:300,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSP66CHynXpMYkjV28uLjTR4kjuoJyy92igYYpvLoqHtG",width:300,height:300,format:"png"},infoURL:"https://paxb.io/",name:"PAXB Mainnet",nativeCurrency:{name:"PAXB",symbol:"PAXB",decimals:18},networkId:6701,rpc:["https://6701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.paxb.io"],shortName:"PAXB",slug:"paxb",testnet:!1},xmt={chain:"Avalanche",chainId:6713,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7475",nativeCurrency:{name:"QaUser7475 Token",symbol:"GZR",decimals:18},networkId:6713,redFlags:[],rpc:["https://6713.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7475",slug:"qauser7475",testnet:!0},Emt={chain:"CPV",chainId:6779,explorers:[{name:"cpvscan",url:"https://scan.compverse.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYbskrGpidbMwsJekTeLrr8Z6GA9q4Uxh7piS1F9BdWWv",width:256,height:256,format:"png"},infoURL:"https://compverse.io",name:"Compverse Mainnet",nativeCurrency:{name:"compverse",symbol:"CPV",decimals:18},networkId:6779,rpc:["https://6779.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.compverse.io/","https://rpc-useast1.compverse.io/"],shortName:"compverse",slip44:7779,slug:"compverse",testnet:!1},_mt={chain:"STAND",chainId:6789,explorers:[{name:"Gold Smart Chain",url:"https://mainnet.goldsmartchain.com",standard:"EIP3091"}],faucets:["https://faucet.goldsmartchain.com"],icon:{url:"ipfs://QmPNuymyaKLJhCaXnyrsL8358FeTxabZFsaxMmWNU4Tzt3",width:396,height:418,format:"png"},infoURL:"https://goldsmartchain.com",name:"Gold Smart Chain Mainnet",nativeCurrency:{name:"Standard in Gold",symbol:"STAND",decimals:18},networkId:6789,rpc:["https://6789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.goldsmartchain.com"],shortName:"STANDm",slug:"gold-smart-chain",testnet:!1},Amt={chain:"Pools",chainId:6868,explorers:[{name:"poolsscan",url:"https://scan.poolsmobility.com",standard:"EIP3091",icon:{url:"ipfs://QmV18PRFPkp9pwKKJp4ksVDhMEiqNZ8A5DhQapdNCckeeQ",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmV18PRFPkp9pwKKJp4ksVDhMEiqNZ8A5DhQapdNCckeeQ",width:512,height:512,format:"png"},infoURL:"https://www.poolschain.org",name:"Pools Mainnet",nativeCurrency:{name:"POOLS Native Token",symbol:"POOLS",decimals:18},networkId:6868,rpc:["https://6868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.poolsmobility.com"],shortName:"POOLS",slip44:6868,slug:"pools",testnet:!1},Cmt={chain:"Tomb Chain",chainId:6969,explorers:[{name:"tombscout",url:"https://tombscout.com",standard:"none"}],faucets:[],infoURL:"https://tombchain.com/",name:"Tomb Chain Mainnet",nativeCurrency:{name:"Tomb",symbol:"TOMB",decimals:18},networkId:6969,parent:{type:"L2",chain:"eip155-250",bridges:[{url:"https://lif3.com/bridge"}]},rpc:["https://6969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tombchain.com/"],shortName:"tombchain",slug:"tomb-chain",testnet:!1},Imt={chain:"PSC",chainId:6999,explorers:[],faucets:[],infoURL:"https://www.polysmartchain.com/",name:"PolySmartChain",nativeCurrency:{name:"PSC",symbol:"PSC",decimals:18},networkId:6999,rpc:["https://6999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed0.polysmartchain.com/","https://seed1.polysmartchain.com/","https://seed2.polysmartchain.com/"],shortName:"psc",slug:"polysmartchain",testnet:!1},kmt={chain:"ZetaChain",chainId:7e3,explorers:[{name:"ZetaChain Mainnet Explorer",url:"https://explorer.zetachain.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmP4Gnf4Lkp8q5LQVePNjAWxSqrw8vU2JAf7amcFz4vEUy",width:712,height:712,format:"png"},infoURL:"https://zetachain.com/docs/",name:"ZetaChain Mainnet",nativeCurrency:{name:"Zeta",symbol:"ZETA",decimals:18},networkId:7e3,rpc:["https://7000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zetachain-evm.blockpi.network/v1/rpc/public","https://zetachain-mainnet-archive.allthatnode.com:8545"],shortName:"zetachain-mainnet",slug:"zetachain",status:"active",testnet:!1},Smt={chain:"ZetaChain",chainId:7001,explorers:[{name:"blockscout",url:"https://zetachain-athens-3.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"ZetaChain Athens Testnet Explorer",url:"https://athens3.explorer.zetachain.com",standard:"none"}],faucets:["https://labs.zetachain.com/get-zeta"],icon:{url:"ipfs://QmP4Gnf4Lkp8q5LQVePNjAWxSqrw8vU2JAf7amcFz4vEUy",width:712,height:712,format:"png"},infoURL:"https://zetachain.com/docs",name:"ZetaChain Athens 3 Testnet",nativeCurrency:{name:"Zeta",symbol:"ZETA",decimals:18},networkId:7001,rpc:["https://7001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zetachain-athens-evm.blockpi.network/v1/rpc/public","wss://zetachain-athens.blockpi.network/rpc/v1/public/websocket","https://zetachain-testnet-archive.allthatnode.com:8545"],shortName:"zetachain-athens",slip44:1,slug:"zetachain-athens-3-testnet",status:"active",testnet:!0},Rmt={chain:"BSTC",chainId:7007,explorers:[{name:"blockscout",url:"https://bstscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPko9BJhR5FWTsThcwUFnnnjgLjrXVDm1n98dCuaQNW59",width:506,height:652,format:"png"},infoURL:"https://bstchain.io",name:"BST Chain",nativeCurrency:{name:"BST Chain",symbol:"BSTC",decimals:18},networkId:7007,rpc:["https://7007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bstchain.io/"],shortName:"BSTC",slug:"bst-chain",testnet:!1},Mmt={chain:"ella",chainId:7027,explorers:[{name:"Ella",url:"https://ella.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVkAhSaHhH3wKoLT56Aq8dNyEH4RySPEpqPcLwsptGBDm",width:512,height:512,format:"png"},infoURL:"https://ella.network",name:"Ella the heart",nativeCurrency:{name:"Ella",symbol:"ELLA",decimals:18},networkId:7027,rpc:["https://7027.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ella.network"],shortName:"ELLA",slug:"ella-the-heart",testnet:!1},Bmt={chain:"Planq",chainId:7070,explorers:[{name:"Planq EVM Explorer (Blockscout)",url:"https://evm.planq.network",standard:"none"},{name:"Planq Cosmos Explorer (BigDipper)",url:"https://explorer.planq.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWEy9xK5BoqxPuVs7T48WM4exJrxzkEFt45iHcxWqUy8D",width:256,height:256,format:"png"},infoURL:"https://planq.network",name:"Planq Mainnet",nativeCurrency:{name:"Planq",symbol:"PLQ",decimals:18},networkId:7070,rpc:["https://7070.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.planq.network"],shortName:"planq",slug:"planq",testnet:!1},Dmt={chain:"Planq",chainId:7077,explorers:[],faucets:[],icon:{url:"ipfs://QmWEy9xK5BoqxPuVs7T48WM4exJrxzkEFt45iHcxWqUy8D",width:256,height:256,format:"png"},infoURL:"https://planq.network",name:"Planq Atlas Testnet",nativeCurrency:{name:"Planq",symbol:"tPLQ",decimals:18},networkId:7077,rpc:["https://7077.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc-atlas.planq.network"],shortName:"planq-atlas-testnet",slug:"planq-atlas-testnet",testnet:!0},Pmt={chain:"Nume",chainId:7100,explorers:[{name:"numeexplorer",url:"https://explorer.numecrypto.com",standard:"none",icon:{url:"ipfs://QmNbp1K6vKKFYh7bWeWtjBqKgdH88suDVbztP5CYU3pYNG",width:1280,height:1280,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNbp1K6vKKFYh7bWeWtjBqKgdH88suDVbztP5CYU3pYNG",width:1280,height:1280,format:"png"},infoURL:"https://numecrypto.com",name:"Nume",nativeCurrency:{name:"Dai Stablecoin",symbol:"DAI",decimals:18},networkId:7100,rpc:["https://7100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.numecrypto.com"],shortName:"nume",slug:"nume",testnet:!1,title:"Nume"},Lmt={chain:"mainnet",chainId:7118,explorers:[],faucets:[],icon:{url:"ipfs://QmNR4Y3cUxefV7KGpGxMkjp5ofeJvbaUkR1GavsmTtK248",width:1e3,height:1e3,format:"png"},infoURL:"https://hth.world",name:"Help The Homeless",nativeCurrency:{name:"Help The Homeless Coin",symbol:"HTH",decimals:18},networkId:7118,rpc:[],shortName:"hth",slug:"help-the-homeless",status:"incubating",testnet:!1},Fmt={chain:"Avalanche",chainId:7158,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"TESTNet FirstTEST",nativeCurrency:{name:"TESTNet FirstTEST Token",symbol:"TEST",decimals:18},networkId:7158,redFlags:[],rpc:["https://7158.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testnetfir/testnet/rpc"],shortName:"TESTNet FirstTEST",slug:"testnet-firsttest",testnet:!0},Nmt={chain:"Bitrock",chainId:7171,explorers:[{name:"Bitrock Explorer",url:"https://explorer.bit-rock.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfXZCAh3HWS2bJroUStN9TieL4QA9QArMotie3X4pwBfj",width:72,height:72,format:"svg"},infoURL:"https://bit-rock.io",name:"Bitrock Mainnet",nativeCurrency:{name:"BITROCK",symbol:"BROCK",decimals:18},networkId:7171,rpc:["https://7171.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.bit-rock.io","https://brockrpc.io"],shortName:"bitrock",slug:"bitrock",testnet:!1},Omt={chain:"Avalanche",chainId:7207,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401222",nativeCurrency:{name:"QI M 2401222 Token",symbol:"HZU",decimals:18},networkId:7207,redFlags:[],rpc:["https://7207.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401222",slug:"qi-m-2401222",testnet:!0},Umt={chain:"XPLA Verse",chainId:7300,explorers:[{name:"XPLA Verse Explorer",url:"https://explorer-xpla-verse.xpla.dev",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZvqcTNWPUoT1F3r9DTAMhdjt3zQC8eRUStvUGEF68KCt",width:857,height:132,format:"png"},infoURL:"https://www.xpla.io",name:"XPLA Verse",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:7300,parent:{type:"L2",chain:"eip155-248"},rpc:["https://7300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-xpla-verse.xpla.dev"],shortName:"XPLAVERSE",slug:"xpla-verse",testnet:!1},Hmt={chain:"Avalanche",chainId:7317,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5017 Testnet",nativeCurrency:{name:"QaUser5017 Testnet Token",symbol:"IHS",decimals:18},networkId:7317,redFlags:[],rpc:["https://7317.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5017 Testnet",slug:"qauser5017-testnet",testnet:!0},zmt={chain:"Avalanche",chainId:7326,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2403051 Testnet",nativeCurrency:{name:"QI M 2403051 Testnet Token",symbol:"VVC",decimals:18},networkId:7326,redFlags:[],rpc:["https://7326.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2403051 Testnet",slug:"qi-m-2403051-testnet",testnet:!0},Wmt={chain:"KLY",chainId:7331,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmaDr9R6dKnZLsogRxojjq4dwXuXcudR8UeTZ8Nq553K4u",width:400,height:400,format:"png"},infoURL:"https://klyntar.org",name:"KLYNTAR",nativeCurrency:{name:"KLYNTAR",symbol:"KLY",decimals:18},networkId:7331,rpc:["https://7331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.klyntar.org/kly_evm_rpc","https://evm.klyntarscan.org/kly_evm_rpc"],shortName:"kly",slug:"klyntar",status:"incubating",testnet:!1},qmt={chain:"EON",chainId:7332,explorers:[{name:"Horizen EON Block Explorer",url:"https://eon-explorer.horizenlabs.io",standard:"EIP3091",icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"},infoURL:"https://horizen.io/",name:"Horizen EON Mainnet",nativeCurrency:{name:"Zencash",symbol:"ZEN",decimals:18},networkId:7332,rpc:["https://7332.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eon-rpc.horizenlabs.io/ethv1","https://rpc.ankr.com/horizen_eon"],shortName:"EON",slip44:121,slug:"horizen-eon",testnet:!1},jmt={chain:"SHYFT",chainId:7341,explorers:[{name:"Shyft BX",url:"https://bx.shyft.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUkFZC2ZmoYPTKf7AHdjwRPZoV2h1MCuHaGM4iu8SNFpi",width:400,height:400,format:"svg"},infoURL:"https://shyft.network",name:"Shyft Mainnet",nativeCurrency:{name:"Shyft",symbol:"SHYFT",decimals:18},networkId:7341,rpc:["https://7341.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shyft.network/"],shortName:"shyft",slip44:2147490989,slug:"shyft",testnet:!1},Gmt={chain:"Avalanche",chainId:7366,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7888",nativeCurrency:{name:"QaUser7888 Token",symbol:"NHF",decimals:18},networkId:7366,redFlags:[],rpc:["https://7366.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7888",slug:"qauser7888",testnet:!0},Kmt={chain:"Raba",chainId:7484,explorers:[{name:"raba",url:"https://x.raba.app/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmatP9qMHEYoXqRDyHMTyjYRQa6j6Gk7pmv1QLxQkvpGRP",width:787,height:750,format:"png"},infoURL:"https://x.raba.app/",name:"Raba Network Mainnet",nativeCurrency:{name:"Raba",symbol:"RABA",decimals:18},networkId:7484,rpc:["https://7484.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.x.raba.app/","wss://rpc.x.raba.app/ws/"],shortName:"raba",slug:"raba-network",testnet:!1},Qmt={chain:"Avalanche",chainId:7507,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7740 Testnet",nativeCurrency:{name:"QaUser7740 Testnet Token",symbol:"RUI",decimals:18},networkId:7507,redFlags:[],rpc:["https://7507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7740 Testnet",slug:"qauser7740-testnet",testnet:!0},Vmt={chain:"MEVerse",chainId:7518,explorers:[{name:"MEVerse Chain Explorer",url:"https://www.meversescan.io",standard:"none",icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"},infoURL:"https://www.meverse.sg",name:"MEVerse Chain Mainnet",nativeCurrency:{name:"MEVerse",symbol:"MEV",decimals:18},networkId:7518,rpc:["https://7518.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.meversemainnet.io"],shortName:"MEV",slug:"meverse-chain",testnet:!1},Ymt={chain:"Cyber",chainId:7560,explorers:[{name:"Cyber Mainnet Explorer",url:"https://cyberscan.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmR8NuaSqALStb95YsMsJRG2BoYkibjS1XE1pZFtvEkAXY",width:213,height:212,format:"svg"},infoURL:"https://cyber.co/",name:"Cyber Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:7560,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://cyber.co/bridge"}]},rpc:["https://7560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cyber.alt.technology/","wss://cyber-ws.alt.technology/","https://rpc.cyber.co/","wss://rpc.cyber.co/"],shortName:"cyeth",slug:"cyber",testnet:!1},$mt={chain:"ADIL",chainId:7575,explorers:[{name:"ADIL Testnet Explorer",url:"https://testnet.adilchain-scan.io",standard:"EIP3091"}],faucets:["https://testnet-faucet.adil-scan.io"],icon:{url:"ipfs://QmeHNYUx6n8CjUFSLWNT17oAtDYrUq6r8buyvGCUBXCJw6",width:500,height:500,format:"png"},infoURL:"https://adilchain.io",name:"ADIL Testnet",nativeCurrency:{name:"Testnet ADIL",symbol:"ADIL",decimals:18},networkId:7575,rpc:["https://7575.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.adilchain-rpc.io"],shortName:"tadil",slip44:1,slug:"adil-testnet",testnet:!0},Jmt={chain:"ADIL",chainId:7576,explorers:[{name:"ADIL Mainnet Explorer",url:"https://adilchain-scan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeHNYUx6n8CjUFSLWNT17oAtDYrUq6r8buyvGCUBXCJw6",width:500,height:500,format:"png"},infoURL:"https://adilchain.io",name:"Adil Chain V2 Mainnet",nativeCurrency:{name:"ADIL",symbol:"ADIL",decimals:18},networkId:7576,rpc:["https://7576.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://adilchain-rpc.io"],shortName:"adil",slug:"adil-chain-v2",testnet:!1},Xmt={chain:"Avalanche",chainId:7640,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0205I1",nativeCurrency:{name:"QI0205I1 Token",symbol:"KOA",decimals:18},networkId:7640,redFlags:[],rpc:["https://7640.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0205I1",slug:"qi0205i1",testnet:!0},Zmt={chain:"TRN",chainId:7668,explorers:[{name:"rootnet",url:"https://explorer.rootnet.live",standard:"EIP3091"}],faucets:[],infoURL:"https://www.futureverse.com/technology/root",name:"The Root Network - Mainnet",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:6},networkId:7668,rpc:["https://7668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://root.rootnet.live/archive","wss://root.rootnet.live/archive/ws"],shortName:"trn-mainnet",slug:"the-root-network",testnet:!1},e4t={chain:"TRN",chainId:7672,explorers:[{name:"rootnet",url:"https://explorer.rootnet.cloud",standard:"EIP3091"}],faucets:[],infoURL:"https://www.futureverse.com/technology/root",name:"The Root Network - Porcini Testnet",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:6},networkId:7672,rpc:["https://7672.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://porcini.rootnet.app/archive","wss://porcini.rootnet.app/archive/ws"],shortName:"trn-porcini",slip44:1,slug:"the-root-network-porcini-testnet",testnet:!0},t4t={chain:"Canto",chainId:7700,explorers:[{name:"Canto Explorer (OKLink)",url:"https://www.oklink.com/canto",standard:"EIP3091"},{name:"Canto EVM Explorer (Blockscout)",url:"https://tuber.build",standard:"EIP3091"},{name:"dexguru",url:"https://canto.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],infoURL:"https://canto.io",name:"Canto",nativeCurrency:{name:"Canto",symbol:"CANTO",decimals:18},networkId:7700,rpc:["https://7700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://canto.slingshot.finance","https://canto-rpc.ansybl.io","https://mainnode.plexnode.org:8545","https://canto.gravitychain.io/"],shortName:"canto",slug:"canto",testnet:!1},n4t={chain:"Canto",chainId:7701,explorers:[{name:"Canto Testnet EVM Explorer (Blockscout)",url:"https://testnet.tuber.build",standard:"none"},{name:"dexguru",url:"https://canto-test.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],infoURL:"https://canto.io",name:"Canto Tesnet",nativeCurrency:{name:"Testnet Canto",symbol:"CANTO",decimals:18},networkId:7701,rpc:["https://7701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-archive.plexnode.wtf"],shortName:"TestnetCanto",slip44:1,slug:"canto-tesnet",testnet:!0},a4t={chain:"Bitrock",chainId:7771,explorers:[{name:"Bitrock Testnet Explorer",url:"https://testnetscan.bit-rock.io",standard:"EIP3091"}],faucets:["https://faucet.bit-rock.io"],icon:{url:"ipfs://QmfXZCAh3HWS2bJroUStN9TieL4QA9QArMotie3X4pwBfj",width:72,height:72,format:"svg"},infoURL:"https://bit-rock.io",name:"Bitrock Testnet",nativeCurrency:{name:"BITROCK",symbol:"BROCK",decimals:18},networkId:7771,rpc:["https://7771.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bit-rock.io"],shortName:"tbitrock",slip44:1,slug:"bitrock-testnet",testnet:!0},r4t={chain:"GDCC",chainId:7775,explorers:[{name:"GDCC",url:"https://testnet.gdccscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmY4vp1mJoGpUiuWbRVenNiDZC17wSyyueGPK9A5QyK1M2",width:72,height:72,format:"png"},infoURL:"https://gdcchain.com",name:"GDCC TESTNET",nativeCurrency:{name:"GDCC",symbol:"GDCC",decimals:18},networkId:7775,rpc:["https://7775.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc1.gdccscan.io"],shortName:"GDCC",slug:"gdcc-testnet",testnet:!0},f4t={chain:"nmactest",chainId:7777,explorers:[{name:"avascan",url:"https://testnet.avascan.info/blockchain/2mZ9doojfwHzXN3VXDQELKnKyZYxv7833U8Yq5eTfFx3hxJtiy",standard:"none"}],faucets:[],infoURL:"https://riseofthewarbots.com/",name:"Rise of the Warbots Testnet",nativeCurrency:{name:"Nano Machines",symbol:"NMAC",decimals:18},networkId:7777,rpc:["https://7777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet1.riseofthewarbots.com","https://testnet2.riseofthewarbots.com","https://testnet3.riseofthewarbots.com","https://testnet4.riseofthewarbots.com","https://testnet5.riseofthewarbots.com"],shortName:"RiseOfTheWarbotsTestnet",slip44:1,slug:"rise-of-the-warbots-testnet",testnet:!0},i4t={chain:"ORE",chainId:7778,explorers:[{name:"ORE Mainnet Explorer",url:"https://oreniumscan.org",standard:"none",icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"},infoURL:"https://orenium.org",name:"Orenium Mainnet Protocol",nativeCurrency:{name:"ORENIUM",symbol:"ORE",decimals:18},networkId:7778,rpc:["https://7778.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://validator-mainnet.orenium.org","https://rpc-oracle-mainnet.orenium.org","https://portalmainnet.orenium.org"],shortName:"ore",slip44:1,slug:"orenium-protocol",testnet:!1},s4t={chain:"OEX",chainId:7798,explorers:[{name:"OpenEX Long Testnet Explorer",url:"https://scan.long.openex.network",standard:"EIP3091",icon:{url:"ipfs://bafkreidnu6p6vmmplerzvkboq7fz73ygkomzpnnokuxstrqv2fvxgmgg7i",width:512,height:512,format:"png"}}],faucets:["https://long.hub.openex.network/faucet"],icon:{url:"ipfs://bafkreidnu6p6vmmplerzvkboq7fz73ygkomzpnnokuxstrqv2fvxgmgg7i",width:512,height:512,format:"png"},infoURL:"https://openex.network",name:"OpenEX LONG Testnet",nativeCurrency:{name:"USDT Testnet",symbol:"USDT",decimals:18},networkId:7798,rpc:["https://7798.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://long.rpc.openex.network/"],shortName:"oex",slip44:1,slug:"openex-long-testnet",testnet:!0,title:"OpenEX LONG Testnet"},o4t={chain:"MaalChain Testnet",chainId:7860,explorers:[{name:"maalscan testnet",url:"https://testnet.maalscan.io",standard:"EIP3091"}],faucets:["https://faucet-testnet.maalscan.io/"],icon:{url:"ipfs://bafkreiexfqfe2x4impvwhra3xxa5eb25gv25zi3kkaoatdnld7wbxdzf2a",width:512,height:512,format:"png"},infoURL:"https://www.maalchain.com/",name:"MaalChain Testnet",nativeCurrency:{name:"MAAL",symbol:"MAAL",decimals:18},networkId:7860,rpc:["https://7860.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.maalscan.io/","https://rpc-bntest.maalscan.io/"],shortName:"maal-test",slip44:1,slug:"maalchain-testnet",testnet:!0},c4t={chain:"Avalanche",chainId:7865,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST 02-07",nativeCurrency:{name:"ST 02-07 Token",symbol:"TJO",decimals:18},networkId:7865,redFlags:[],rpc:["https://7865.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 02-07",slug:"st-02-07",testnet:!0},d4t={chain:"Avalanche",chainId:7872,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QAUSer4 Testnet",nativeCurrency:{name:"QAUSer4 Testnet Token",symbol:"VVC",decimals:18},networkId:7872,redFlags:[],rpc:["https://7872.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QAUSer4 Testnet",slug:"qauser4-testnet",testnet:!0},l4t={chain:"SCAS",chainId:7878,explorers:[{name:"Hazlor Testnet Explorer",url:"https://explorer.hazlor.com",standard:"none"}],faucets:["https://faucet.hazlor.com"],infoURL:"https://hazlor.com",name:"Hazlor Testnet",nativeCurrency:{name:"Hazlor Test Coin",symbol:"TSCAS",decimals:18},networkId:7878,rpc:["https://7878.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hatlas.rpc.hazlor.com:8545","wss://hatlas.rpc.hazlor.com:8546"],shortName:"tscas",slip44:1,slug:"hazlor-testnet",testnet:!0},u4t={chain:"Kinto Mainnet",chainId:7887,explorers:[{name:"Kinto Explorer",url:"https://explorer.kinto.xyz",standard:"EIP3091",icon:{url:"ipfs://QmZw4zfR4Q8MD6MZRwkQrMeiiiu77AJffHdCMdemt4R2VM",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmZw4zfR4Q8MD6MZRwkQrMeiiiu77AJffHdCMdemt4R2VM",width:400,height:400,format:"jpg"},infoURL:"https://kinto.xyz",name:"Kinto Mainnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:7887,rpc:["https://7887.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kinto.xyz/http","https://kinto-mainnet.calderachain.xyz/http"],shortName:"kintoMainnet",slug:"kinto",testnet:!1},p4t={chain:"ATHENA",chainId:7895,explorers:[{name:"ARDENIUM Athena Explorer",url:"https://testnet.ardscan.com",standard:"none",icon:{url:"ipfs://QmdwifhejRfF8QfyzYrNdFVhfhCR6iuzWMmppK4eL7kttG",width:120,height:120,format:"png"}}],faucets:["https://faucet-athena.ardescan.com/"],icon:{url:"ipfs://QmdwifhejRfF8QfyzYrNdFVhfhCR6iuzWMmppK4eL7kttG",width:120,height:120,format:"png"},infoURL:"https://ardenium.org",name:"ARDENIUM Athena",nativeCurrency:{name:"ARD",symbol:"tARD",decimals:18},networkId:7895,rpc:["https://7895.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-athena.ardescan.com/"],shortName:"ard",slug:"ardenium-athena",testnet:!0},h4t={chain:"Avalanche",chainId:7909,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3870 Testnet",nativeCurrency:{name:"QaUser3870 Testnet Token",symbol:"RAY",decimals:18},networkId:7909,redFlags:[],rpc:["https://7909.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3870 Testnet",slug:"qauser3870-testnet",testnet:!0},b4t={chain:"DTBX",chainId:7923,explorers:[{name:"blockscout",url:"https://explorer.dotblox.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZy2TMY881ghRxXJA7VyRA8Zhj2LJJ86DpHRZs3VQZqoJ",width:53,height:53,format:"png"},infoURL:"https://explorer.dotblox.io",name:"Dot Blox",nativeCurrency:{name:"Dot Blox",symbol:"DTBX",decimals:18},networkId:7923,rpc:["https://7923.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dotblox.io"],shortName:"DTBX",slug:"dot-blox",testnet:!1},m4t={chain:"DOS",chainId:7979,explorers:[{name:"DOScan",url:"https://doscan.io",standard:"EIP3091",icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"}},{name:"DOScan",url:"https://explorer.doschain.com/",standard:"EIP3091",icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"},infoURL:"https://doschain.com/",name:"DOS Chain",nativeCurrency:{name:"DOS",symbol:"DOS",decimals:18},networkId:7979,redFlags:[],rpc:["https://7979.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://main.doschain.com"],shortName:"dos",slug:"dos-chain",testnet:!1},y4t={chain:"Teleport",chainId:8e3,explorers:[{name:"Teleport EVM Explorer (Blockscout)",url:"https://evm-explorer.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}},{name:"Teleport Cosmos Explorer (Big Dipper)",url:"https://explorer.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"},infoURL:"https://teleport.network",name:"Teleport",nativeCurrency:{name:"Tele",symbol:"TELE",decimals:18},networkId:8e3,rpc:["https://8000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.teleport.network"],shortName:"teleport",slug:"teleport",testnet:!1},g4t={chain:"Teleport",chainId:8001,explorers:[{name:"Teleport EVM Explorer (Blockscout)",url:"https://evm-explorer.testnet.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}},{name:"Teleport Cosmos Explorer (Big Dipper)",url:"https://explorer.testnet.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}}],faucets:["https://chain-docs.teleport.network/testnet/faucet.html"],icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"},infoURL:"https://teleport.network",name:"Teleport Testnet",nativeCurrency:{name:"Tele",symbol:"TELE",decimals:18},networkId:8001,rpc:["https://8001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.testnet.teleport.network"],shortName:"teleport-testnet",slip44:1,slug:"teleport-testnet",testnet:!0},v4t={chain:"MDGL",chainId:8029,explorers:[],faucets:[],infoURL:"https://mdgl.io",name:"MDGL Testnet",nativeCurrency:{name:"MDGL Token",symbol:"MDGLT",decimals:18},networkId:8029,rpc:["https://8029.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.mdgl.io"],shortName:"mdgl",slip44:1,slug:"mdgl-testnet",testnet:!0},w4t={chain:"BOAT",chainId:8047,explorers:[{name:"BOAT Mainnet Explorer",url:"https://scan.come.boats",standard:"EIP3091",icon:{url:"ipfs://bafkreibqgh23s7yt7rikybybiwfivwtoh32n24scjykvgbgewo3ecbrcye",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreibqgh23s7yt7rikybybiwfivwtoh32n24scjykvgbgewo3ecbrcye",width:512,height:512,format:"png"},infoURL:"https://come.boats",name:"BOAT Mainnet",nativeCurrency:{name:"Best Of All Time Token",symbol:"BOAT",decimals:18},networkId:8047,rpc:["https://8047.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0.come.boat/"],shortName:"boat",slip44:1,slug:"boat",testnet:!1,title:"BOAT Mainnet"},T4t={chain:"Karak",chainId:8054,explorers:[{name:"Karak Sepolia Explorer",url:"https://explorer.sepolia.karak.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRvHRuhfQgDRyGgt6vCoHqjZW2Dir7siowYnBpR5BRSej",width:1080,height:1080,format:"png"},infoURL:"https://karak.network",name:"Karak Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8054,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://8054.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sepolia.karak.network"],shortName:"karak-sepolia",slug:"karak-sepolia",testnet:!0,title:"Karak Testnet Sepolia"},x4t={chain:"Shardeum",chainId:8080,explorers:[{name:"Shardeum Scan",url:"https://explorer-liberty10.shardeum.org",standard:"EIP3091"}],faucets:["https://faucet.liberty10.shardeum.org"],features:[],icon:{url:"ipfs://Qma1bfuubpepKn7DLDy4NPSKDeT3S4VPCNhu6UmdGrb6YD",width:609,height:533,format:"png"},infoURL:"https://docs.shardeum.org/",name:"Shardeum Liberty 1.X",nativeCurrency:{name:"Shardeum SHM",symbol:"SHM",decimals:18},networkId:8080,redFlags:["reusedChainId"],rpc:["https://8080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://liberty10.shardeum.org/"],shortName:"Liberty10",slug:"shardeum-liberty-1-x",status:"deprecated",testnet:!0},E4t={chain:"Shardeum",chainId:8081,explorers:[{name:"Shardeum Scan",url:"https://explorer-liberty20.shardeum.org",standard:"EIP3091"}],faucets:["https://faucet.liberty20.shardeum.org"],features:[],icon:{url:"ipfs://Qma1bfuubpepKn7DLDy4NPSKDeT3S4VPCNhu6UmdGrb6YD",width:609,height:533,format:"png"},infoURL:"https://docs.shardeum.org/",name:"Shardeum Liberty 2.X",nativeCurrency:{name:"Shardeum SHM",symbol:"SHM",decimals:18},networkId:8081,redFlags:["reusedChainId"],rpc:["https://8081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://liberty20.shardeum.org/"],shortName:"Liberty20",slug:"shardeum-liberty-2-x",status:"deprecated",testnet:!0},_4t={chain:"Shardeum",chainId:8082,explorers:[{name:"Shardeum Scan",url:"https://explorer-sphinx.shardeum.org",standard:"EIP3091"}],faucets:["https://faucet-sphinx.shardeum.org/"],features:[],icon:{url:"ipfs://Qma1bfuubpepKn7DLDy4NPSKDeT3S4VPCNhu6UmdGrb6YD",width:609,height:533,format:"png"},infoURL:"https://docs.shardeum.org/",name:"Shardeum Sphinx 1.X",nativeCurrency:{name:"Shardeum SHM",symbol:"SHM",decimals:18},networkId:8082,redFlags:["reusedChainId"],rpc:["https://8082.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sphinx.shardeum.org/"],shortName:"Sphinx10",slug:"shardeum-sphinx-1-x",testnet:!0},A4t={chain:"BTC",chainId:8086,explorers:[],faucets:[],infoURL:"https://biteth.org",name:"Bitcoin Chain",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:8086,rpc:["https://8086.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.biteth.org"],shortName:"Bitcoin",slug:"bitcoin-chain",testnet:!1},C4t={chain:"USD",chainId:8087,explorers:[],faucets:[],infoURL:"https://e-dollar.org",name:"E-Dollar",nativeCurrency:{name:"E-Dollar",symbol:"USD",decimals:18},networkId:8087,rpc:["https://8087.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.e-dollar.org"],shortName:"E-Dollar",slug:"e-dollar",testnet:!1},I4t={chain:"StreamuX",chainId:8098,explorers:[],faucets:[],infoURL:"https://www.streamux.cloud",name:"StreamuX Blockchain",nativeCurrency:{name:"StreamuX",symbol:"SmuX",decimals:18},networkId:8098,rpc:["https://8098.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://u0ma6t6heb:KDNwOsRDGcyM2Oeui1p431Bteb4rvcWkuPgQNHwB4FM@u0xy4x6x82-u0e2mg517m-rpc.us0-aws.kaleido.io/"],shortName:"StreamuX",slug:"streamux-blockchain",testnet:!1},k4t={chain:"MEER",chainId:8131,explorers:[{name:"meerscan testnet",url:"https://testnet-qng.qitmeer.io",standard:"EIP3091",icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"}}],faucets:["https://faucet.qitmeer.io"],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Testnet",nativeCurrency:{name:"Qitmeer Testnet",symbol:"MEER-T",decimals:18},networkId:8131,rpc:["https://8131.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-qng.rpc.qitmeer.io","https://testnet.meerlabs.com","https://meer.testnet.meerfans.club"],shortName:"meertest",slip44:1,slug:"qitmeer-network-testnet",testnet:!0},S4t={chain:"MEER",chainId:8132,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Mixnet",nativeCurrency:{name:"Qitmeer Mixnet",symbol:"MEER-M",decimals:18},networkId:8132,rpc:[],shortName:"meermix",slug:"qitmeer-network-mixnet",status:"incubating",testnet:!1},R4t={chain:"MEER",chainId:8133,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Privnet",nativeCurrency:{name:"Qitmeer Privnet",symbol:"MEER-P",decimals:18},networkId:8133,rpc:[],shortName:"meerpriv",slug:"qitmeer-network-privnet",status:"incubating",testnet:!1},M4t={chain:"MEER",chainId:8134,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana",nativeCurrency:{name:"Amana Mainnet",symbol:"MEER",decimals:18},networkId:8134,rpc:[],shortName:"amana",slug:"amana",status:"incubating",testnet:!1},B4t={chain:"MEER",chainId:8135,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana",nativeCurrency:{name:"Flana Mainnet",symbol:"MEER",decimals:18},networkId:8135,rpc:[],shortName:"flana",slug:"flana",status:"incubating",testnet:!1},D4t={chain:"MEER",chainId:8136,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana",nativeCurrency:{name:"Mizana Mainnet",symbol:"MEER",decimals:18},networkId:8136,rpc:[],shortName:"mizana",slug:"mizana",status:"incubating",testnet:!1},P4t={chain:"Avalanche",chainId:8154,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0318sGCP",nativeCurrency:{name:"QR0318sGCP Token",symbol:"VEG",decimals:18},networkId:8154,redFlags:[],rpc:["https://8154.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0318sgcp/testnet/rpc"],shortName:"QR0318sGCP",slug:"qr0318sgcp",testnet:!0},L4t={chain:"tBOC",chainId:8181,explorers:[{name:"Testnet BeOne Chain",url:"https://testnet.beonescan.com",standard:"none",icon:{url:"ipfs://QmbVLQnaMDu86bPyKgCvTGhFBeYwjr15hQnrCcsp1EkAGL",width:500,height:500,format:"png"}}],faucets:["https://testnet.beonescan.com/faucet"],icon:{url:"ipfs://QmbVLQnaMDu86bPyKgCvTGhFBeYwjr15hQnrCcsp1EkAGL",width:500,height:500,format:"png"},infoURL:"https://testnet.beonescan.com",name:"Testnet BeOne Chain",nativeCurrency:{name:"Testnet BeOne Chain",symbol:"tBOC",decimals:18},networkId:8181,rpc:["https://8181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pre-boc1.beonechain.com"],shortName:"tBOC",slip44:1,slug:"testnet-beone-chain",testnet:!0},F4t={chain:"TQF",chainId:8192,explorers:[{name:"blockscout",url:"https://toruscan.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidchntjaxmq52cuqqoalpajk5ssk4p77k7n4jgywqmkpldo5qgobm",width:1200,height:1200,format:"png"},infoURL:"https://docs.toruschain.com",name:"Torus Mainnet",nativeCurrency:{name:"TQF",symbol:"TQF",decimals:18},networkId:8192,rpc:["https://8192.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.toruschain.com"],shortName:"tqf",slug:"torus",testnet:!1},N4t={chain:"TQF",chainId:8194,explorers:[{name:"blockscout",url:"https://testnet.toruscan.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidchntjaxmq52cuqqoalpajk5ssk4p77k7n4jgywqmkpldo5qgobm",width:1200,height:1200,format:"png"},infoURL:"https://docs.toruschain.com",name:"Torus Testnet",nativeCurrency:{name:"tTQF",symbol:"TTQF",decimals:18},networkId:8194,rpc:["https://8194.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.toruschain.com"],shortName:"ttqf",slip44:1,slug:"torus-testnet",testnet:!0},O4t={chain:"KLAY",chainId:8217,explorers:[{name:"Klaytnscope",url:"https://scope.klaytn.com",standard:"EIP3091"},{name:"Klaytnfinder",url:"https://klaytnfinder.io",standard:"EIP3091"},{name:"klaytnfinder",url:"https://www.klaytnfinder.io/",standard:"none"}],faucets:[],features:[],icon:{url:"ipfs://bafkreigtgdivlmfvf7trqjqy4vkz2d26xk3iif6av265v4klu5qavsugm4",width:1e3,height:1e3,format:"png"},infoURL:"https://klaytn.foundation",name:"Klaytn Mainnet Cypress",nativeCurrency:{name:"KLAY",symbol:"KLAY",decimals:18},networkId:8217,redFlags:[],rpc:["https://8217.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-en-cypress.klaytn.net","https://klaytn-mainnet-rpc.allthatnode.com:8551","https://klaytn.blockpi.network/v1/rpc/public"],shortName:"Cypress",slip44:8217,slug:"klaytn-cypress",testnet:!1},U4t={chain:"Avalanche",chainId:8227,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Space",nativeCurrency:{name:"Space Token",symbol:"FUEL",decimals:18},networkId:8227,redFlags:[],rpc:["https://8227.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/space/mainnet/rpc"],shortName:"Space",slug:"space",testnet:!1},H4t={chain:"Blockton Blockchain",chainId:8272,explorers:[{name:"Blockton Explorer",url:"https://blocktonscan.com",standard:"none"}],faucets:["https://faucet.blocktonscan.com/"],icon:{url:"ipfs://bafkreig3hoedafisrgc6iffdo2jcblm6kov35h72gcblc3zkmt7t4ucwhy",width:800,height:800,format:"png"},infoURL:"https://blocktoncoin.com",name:"Blockton Blockchain",nativeCurrency:{name:"BLOCKTON",symbol:"BTON",decimals:18},networkId:8272,rpc:["https://8272.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blocktonscan.com/"],shortName:"BTON",slug:"blockton-blockchain",testnet:!1},z4t={chain:"Kortho",chainId:8285,explorers:[],faucets:[],infoURL:"https://www.kortho.io/",name:"KorthoTest",nativeCurrency:{name:"Kortho Test",symbol:"KTO",decimals:11},networkId:8285,rpc:["https://8285.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.krotho-test.net"],shortName:"Kortho",slip44:1,slug:"korthotest",testnet:!0},W4t={chain:"Lorenzo",chainId:8329,explorers:[{name:"Lorenzo Explorer",url:"https://scan.lorenzo-protocol.xyz",standard:"none",icon:{url:"ipfs://QmcwDCeZpzvRWBwtTgyEFv4tLJk6SFUb26rwsRXyJrhnP7",width:288,height:288,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcwDCeZpzvRWBwtTgyEFv4tLJk6SFUb26rwsRXyJrhnP7",width:288,height:288,format:"png"},infoURL:"https://www.lorenzo-protocol.xyz/",name:"Lorenzo",nativeCurrency:{name:"Lorenzo stBTC",symbol:"stBTC",decimals:18},networkId:8329,rpc:["https://8329.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lorenzo-protocol.xyz"],shortName:"lrz",slug:"lorenzo",testnet:!1},q4t={chain:"FUCK",chainId:8387,explorers:[],faucets:[],icon:{url:"ipfs://bafybeibpyckp65pqjvrvqhdt26wqoqk55m6anshbfgyqnaemn6l34nlwya",width:1024,height:1024,format:"png"},infoURL:"https://wolfery.com",name:"Dracones Financial Services",nativeCurrency:{name:"Functionally Universal Coin Kind",symbol:"FUCK",decimals:18},networkId:8387,rpc:["https://8387.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.dracones.net/"],shortName:"fuck",slug:"dracones-financial-services",testnet:!1,title:"The Dracones Mainnet"},xW={chain:"ETH",chainId:8453,explorers:[{name:"basescan",url:"https://basescan.org",standard:"none"},{name:"basescout",url:"https://base.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://base.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmW5Vn15HeRkScMfPcW12ZdZcC2yUASpu6eCsECRdEmjjj/base-512.png",width:512,height:512,format:"png"},infoURL:"https://base.org",name:"Base",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8453,redFlags:[],rpc:["https://8453.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.base.org/","https://developer-access-mainnet.base.org/","https://base.gateway.tenderly.co","wss://base.gateway.tenderly.co","https://base-rpc.publicnode.com","wss://base-rpc.publicnode.com"],shortName:"base",slug:"base",status:"active",testnet:!1},j4t={chain:"TOKI",chainId:8654,explorers:[],faucets:[],icon:{url:"ipfs://QmbCBBH4dFHGr8u1yQspCieQG9hLcPFNYdRx1wnVsX8hUw",width:512,height:512,format:"svg"},infoURL:"https://www.buildwithtoki.com",name:"Toki Network",nativeCurrency:{name:"Toki",symbol:"TOKI",decimals:18},networkId:8654,rpc:["https://8654.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.buildwithtoki.com/v0/rpc"],shortName:"toki",slug:"toki-network",testnet:!1},G4t={chain:"TOKI",chainId:8655,explorers:[],faucets:[],icon:{url:"ipfs://QmbCBBH4dFHGr8u1yQspCieQG9hLcPFNYdRx1wnVsX8hUw",width:512,height:512,format:"svg"},infoURL:"https://www.buildwithtoki.com",name:"Toki Testnet",nativeCurrency:{name:"Toki",symbol:"TOKI",decimals:18},networkId:8655,rpc:["https://8655.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.buildwithtoki.com/v0/rpc"],shortName:"toki-testnet",slip44:1,slug:"toki-testnet",testnet:!0},K4t={chain:"Hela",chainId:8668,explorers:[{name:"Hela Official Runtime Mainnet Explorer",url:"https://mainnet-blockexplorer.helachain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQbUVcaxFwY8gqMq1Jeup4NEyivo12QYhbLvVRvgXRBFb",width:719,height:216,format:"png"},infoURL:"https://helalabs.com",name:"Hela Official Runtime Mainnet",nativeCurrency:{name:"Hela HLUSD",symbol:"HLUSD",decimals:18},networkId:8668,rpc:["https://8668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.helachain.com"],shortName:"hela",slug:"hela-official-runtime",testnet:!1},Q4t={chain:"OLO",chainId:8723,explorers:[{name:"OLO Block Explorer",url:"https://www.olo.network",standard:"EIP3091"}],faucets:[],infoURL:"https://ibdt.io",name:"TOOL Global Mainnet",nativeCurrency:{name:"TOOL Global",symbol:"OLO",decimals:18},networkId:8723,rpc:["https://8723.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-web3.wolot.io"],shortName:"olo",slip44:479,slug:"tool-global",testnet:!1},V4t={chain:"OLO",chainId:8724,explorers:[],faucets:["https://testnet-explorer.wolot.io"],infoURL:"https://testnet-explorer.wolot.io",name:"TOOL Global Testnet",nativeCurrency:{name:"TOOL Global",symbol:"OLO",decimals:18},networkId:8724,rpc:["https://8724.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-web3.wolot.io"],shortName:"tolo",slip44:1,slug:"tool-global-testnet",testnet:!0},Y4t={chain:"Storagechain",chainId:8726,explorers:[{name:"Storscan",url:"https://explorer-storagechain.invo.zone/?network=StorageChain",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfN9r1S7FvzkbjqfNMdUikhHmCw5e6UqsTuRD51S8T6Cq",width:512,height:512,format:"png"},infoURL:"https://storagechain.io/about-us",name:"Storagechain Mainnet",nativeCurrency:{name:"Storagechain",symbol:"STOR",decimals:18},networkId:8726,rpc:["https://8726.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-validator.storagechain.io"],shortName:"stor",slug:"storagechain",testnet:!1},$4t={chain:"Storagechain",chainId:8727,explorers:[{name:"Storscan",url:"https://explorer-storagechain.invo.zone/?network=StorageChain%20Testnet",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfN9r1S7FvzkbjqfNMdUikhHmCw5e6UqsTuRD51S8T6Cq",width:512,height:512,format:"png"},infoURL:"https://storagechain.io/about-us",name:"Storagechain Testnet",nativeCurrency:{name:"Storagechain",symbol:"STOR",decimals:18},networkId:8727,rpc:["https://8727.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-validator.storagechain.io"],shortName:"tstor",slug:"storagechain-testnet",testnet:!0},J4t={chain:"ALPH",chainId:8738,explorers:[{name:"alphscan",url:"https://explorer.alph.network",standard:"EIP3091"}],faucets:[],infoURL:"https://alph.network",name:"Alph Network",nativeCurrency:{name:"Alph Network",symbol:"ALPH",decimals:18},networkId:8738,rpc:["https://8738.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alph.network","wss://rpc.alph.network"],shortName:"alph",slug:"alph-network",testnet:!1},X4t={chain:"TMY",chainId:8768,explorers:[],faucets:["https://faucet.tmychain.org/"],icon:{url:"ipfs://Qmcd19ksUvNMD1XQFSC55jJhDPoF2zUzzV7woteFiugwBH",width:1024,height:1023,format:"svg"},infoURL:"https://tmychain.org/",name:"TMY Chain",nativeCurrency:{name:"TMY",symbol:"TMY",decimals:18},networkId:8768,rpc:["https://8768.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.tmyblockchain.org/rpc"],shortName:"tmy",slug:"tmy-chain",testnet:!1},Z4t={chain:"IOTA EVM",chainId:8822,explorers:[{name:"explorer",url:"https://explorer.evm.iota.org",standard:"EIP3091",icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://www.iota.org",name:"IOTA EVM",nativeCurrency:{name:"IOTA",symbol:"IOTA",decimals:18},networkId:8822,rpc:["https://8822.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.iotaledger.net","https://ws.json-rpc.evm.iotaledger.net"],shortName:"iotaevm",slug:"iota-evm",testnet:!1,title:"IOTA EVM"},eyt={chain:"MARO Blockchain",chainId:8848,explorers:[{name:"MARO Scan",url:"https://scan.ma.ro/#",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreig47k53aipns6nu3u5fxpysp7mogzk6zyvatgpbam7yut3yvtuefa",width:160,height:160,format:"png"},infoURL:"https://ma.ro/",name:"MARO Blockchain Mainnet",nativeCurrency:{name:"MARO",symbol:"MARO",decimals:18},networkId:8848,rpc:["https://8848.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.ma.ro"],shortName:"maro",slug:"maro-blockchain",testnet:!1},tyt={chain:"SuperLumio",chainId:8866,explorers:[{name:"Lumio explorer",url:"https://explorer.lumio.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXiatdz5WBFypfsudoDsFnsLdiHzDwcD3pWcHwBovbPiZ",width:256,height:256,format:"png"},infoURL:"https://lumio.io/",name:"SuperLumio",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8866,rpc:["https://8866.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.lumio.io/"],shortName:"superlumio",slug:"superlumio",testnet:!1},nyt={chain:"UNQ",chainId:8880,explorers:[{name:"Unique Scan",url:"https://uniquescan.io/unique",standard:"none"}],faucets:[],icon:{url:"ipfs://QmbJ7CGZ2GxWMp7s6jy71UGzRsMe4w3KANKXDAExYWdaFR",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Unique",nativeCurrency:{name:"Unique",symbol:"UNQ",decimals:18},networkId:8880,rpc:["https://8880.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.unique.network","https://eu-rpc.unique.network","https://asia-rpc.unique.network","https://us-rpc.unique.network"],shortName:"unq",slug:"unique",testnet:!1},ayt={chain:"UNQ",chainId:8881,explorers:[{name:"Unique Scan / Quartz",url:"https://uniquescan.io/quartz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmaGPdccULQEFcCGxzstnmE8THfac2kSiGwvWRAiaRq4dp",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Quartz by Unique",nativeCurrency:{name:"Quartz",symbol:"QTZ",decimals:18},networkId:8881,rpc:["https://8881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-quartz.unique.network","https://quartz.api.onfinality.io/public-ws","https://eu-rpc-quartz.unique.network","https://asia-rpc-quartz.unique.network","https://us-rpc-quartz.unique.network"],shortName:"qtz",slug:"quartz-by-unique",testnet:!1},ryt={chain:"UNQ",chainId:8882,explorers:[{name:"Unique Scan / Opal",url:"https://uniquescan.io/opal",standard:"none"}],faucets:["https://t.me/unique2faucet_opal_bot"],icon:{url:"ipfs://QmYJDpmWyjDa3H6BxweFmQXk4fU8b1GU7M9EqYcaUNvXzc",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Opal testnet by Unique",nativeCurrency:{name:"Opal",symbol:"UNQ",decimals:18},networkId:8882,rpc:["https://8882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-opal.unique.network","https://us-rpc-opal.unique.network","https://eu-rpc-opal.unique.network","https://asia-rpc-opal.unique.network"],shortName:"opl",slip44:1,slug:"opal-testnet-by-unique",testnet:!0},fyt={chain:"UNQ",chainId:8883,explorers:[{name:"Unique Scan / Sapphire",url:"https://uniquescan.io/sapphire",standard:"none"}],faucets:[],icon:{url:"ipfs://Qmd1PGt4cDRjFbh4ihP5QKEd4XQVwN1MkebYKdF56V74pf",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Sapphire by Unique",nativeCurrency:{name:"Quartz",symbol:"QTZ",decimals:18},networkId:8883,rpc:["https://8883.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sapphire.unique.network","https://us-rpc-sapphire.unique.network","https://eu-rpc-sapphire.unique.network","https://asia-rpc-sapphire.unique.network"],shortName:"sph",slug:"sapphire-by-unique",testnet:!1},iyt={chain:"XANAChain",chainId:8888,explorers:[{name:"XANAChain",url:"https://xanachain.xana.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWGNfwJ9o2vmKD3E6fjrxpbFP8W5q45zmYzHHoXwqqAoj",width:512,height:512,format:"png"},infoURL:"https://xanachain.xana.net/",name:"XANAChain",nativeCurrency:{name:"XETA",symbol:"XETA",decimals:18},networkId:8888,redFlags:["reusedChainId"],rpc:["https://8888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.xana.net/rpc"],shortName:"XANAChain",slug:"xanachain",testnet:!1},syt={chain:"VSC",chainId:8889,explorers:[],faucets:[],infoURL:"https://vsc-dataseed.vyvo.org",name:"Vyvo Smart Chain",nativeCurrency:{name:"VSC",symbol:"VSC",decimals:18},networkId:8889,rpc:["https://8889.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vsc-dataseed.vyvo.org:8889"],shortName:"vsc",slug:"vyvo-smart-chain",testnet:!1},oyt={chain:"ORE",chainId:8890,explorers:[{name:"ORE Testnet Explorer",url:"https://testnet.oreniumscan.org",standard:"none",icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"}}],faucets:["https://faucetcoin.orenium.org"],icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"},infoURL:"https://orenium.org",name:"Orenium Testnet Protocol",nativeCurrency:{name:"ORENIUM",symbol:"tORE",decimals:18},networkId:8890,rpc:["https://8890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-dev-testnet.orenium.org/","https://rpc-testnet.orenium.org/","https://rpc-orc.oredex.finance","https://testnet-rpc.oredex.finance","https://oredex-node.oredex.finance"],shortName:"tore",slip44:1,slug:"orenium-testnet-protocol",testnet:!0},cyt={chain:"MMT",chainId:8898,explorers:[{name:"mmtscan",url:"https://mmtscan.io",standard:"EIP3091",icon:{url:"ipfs://QmaF5gi2CbDKsJ2UchNkjBqmWjv8JEDP3vePBmxeUHiaK4",width:250,height:250,format:"png"}}],faucets:["https://faucet.mmtscan.io/"],icon:{url:"ipfs://QmaF5gi2CbDKsJ2UchNkjBqmWjv8JEDP3vePBmxeUHiaK4",width:250,height:250,format:"png"},infoURL:"https://mmtchain.io/",name:"Mammoth Mainnet",nativeCurrency:{name:"Mammoth Token",symbol:"MMT",decimals:18},networkId:8898,rpc:["https://8898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.mmtscan.io","https://dataseed1.mmtscan.io","https://dataseed2.mmtscan.io"],shortName:"mmt",slug:"mammoth",testnet:!1,title:"Mammoth Chain"},dyt={chain:"JBC",chainId:8899,explorers:[{name:"JIBCHAIN Explorer",url:"https://exp-l1.jibchain.net",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWvTUSCcQ17mDiKg3w1X5nW3q4wZGuVsZ9vwzJ8S9oCns",width:200,height:200,format:"png"},infoURL:"https://jibchain.net",name:"JIBCHAIN L1",nativeCurrency:{name:"JIBCOIN",symbol:"JBC",decimals:18},networkId:8899,rpc:["https://8899.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-l1.jibchain.net","https://jib-rpc.inan.in.th"],shortName:"jbc",slug:"jibchain-l1",testnet:!1},lyt={chain:"ALG",chainId:8911,explorers:[{name:"algscan",url:"https://scan.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8911,rpc:["https://8911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.algen.network"],shortName:"alg",slug:"algen",testnet:!1},uyt={chain:"ALG",chainId:8912,explorers:[{name:"algscan",url:"https://scan.test.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen Testnet",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8912,rpc:["https://8912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.algen.network"],shortName:"algTest",slug:"algen-testnet",testnet:!0},pyt={chain:"ALG L2",chainId:8921,explorers:[{name:"algl2scan",url:"https://scan.alg2.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen Layer2",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8921,parent:{type:"shard",chain:"eip155-8911"},rpc:["https://8921.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alg2.algen.network"],shortName:"algl2",slug:"algen-layer2",testnet:!1},hyt={chain:"ALG L2",chainId:8922,explorers:[{name:"algl2scan",url:"https://scan.alg2-test.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen Layer2 Testnet",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8922,parent:{type:"shard",chain:"eip155-8921"},rpc:["https://8922.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alg2-test.algen.network"],shortName:"algl2Test",slug:"algen-layer2-testnet",testnet:!0},byt={chain:"GMMT",chainId:8989,explorers:[{name:"gmmtscan",url:"https://scan.gmmtchain.io",standard:"EIP3091",icon:{url:"ipfs://QmVth4aPeskDTFqRifUugJx6gyEHCmx2PFbMWUtsCSQFkF",width:468,height:518,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVth4aPeskDTFqRifUugJx6gyEHCmx2PFbMWUtsCSQFkF",width:468,height:518,format:"png"},infoURL:"https://gmmtchain.io/",name:"Giant Mammoth Mainnet",nativeCurrency:{name:"Giant Mammoth Coin",symbol:"GMMT",decimals:18},networkId:8989,rpc:["https://8989.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-asia.gmmtchain.io"],shortName:"gmmt",slug:"giant-mammoth",testnet:!1,title:"Giant Mammoth Chain"},myt={chain:"bloxberg",chainId:8995,explorers:[],faucets:["https://faucet.bloxberg.org/"],infoURL:"https://bloxberg.org",name:"bloxberg",nativeCurrency:{name:"BERG",symbol:"U+25B3",decimals:18},networkId:8995,rpc:["https://8995.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://core.bloxberg.org"],shortName:"berg",slug:"bloxberg",testnet:!1},yyt={chain:"Evmos",chainId:9e3,explorers:[{name:"Evmos Explorer (Escan)",url:"https://testnet.escan.live",standard:"none",icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"}}],faucets:["https://faucet.evmos.dev"],icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"},infoURL:"https://evmos.org",name:"Evmos Testnet",nativeCurrency:{name:"test-Evmos",symbol:"tEVMOS",decimals:18},networkId:9e3,rpc:["https://9000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmos-testnet.lava.build","https://eth.bd.evmos.dev:8545"],shortName:"evmos-testnet",slip44:1,slug:"evmos-testnet",testnet:!0},gyt={chain:"Evmos",chainId:9001,explorers:[{name:"Evmos Explorer (Escan)",url:"https://escan.live",standard:"none",icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"},infoURL:"https://evmos.org",name:"Evmos",nativeCurrency:{name:"Evmos",symbol:"EVMOS",decimals:18},networkId:9001,rpc:["https://9001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmos.lava.build","wss://evmos.lava.build/websocket","https://evmos-evm.publicnode.com","wss://evmos-evm.publicnode.com"],shortName:"evmos",slug:"evmos",testnet:!1},vyt={chain:"Shido Testnet",chainId:9007,explorers:[{name:"Shidoblock Testnet Explorer",url:"https://testnet.shidoscan.com",standard:"none",icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"}}],faucets:["https://testnet.shidoscan.com/faucet"],icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"},infoURL:"https://www.nexablock.io",name:"Shido Testnet Block",nativeCurrency:{name:"Shido Testnet Token",symbol:"SHIDO",decimals:18},networkId:9007,rpc:["https://9007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet-nodes.shidoscan.com","wss://wss-testnet-nodes.shidoscan.com"],shortName:"ShidoTestnet",slug:"shido-testnet-block",testnet:!0},wyt={chain:"Shido Mainnet",chainId:9008,explorers:[{name:"Shidoblock Mainnet Explorer",url:"https://shidoscan.com",standard:"none",icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"},infoURL:"https://shido.io",name:"Shido Mainnet Block",nativeCurrency:{name:"Shido Mainnet Token",symbol:"SHIDO",decimals:18},networkId:9008,rpc:["https://9008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nodes.shidoscan.com","wss://wss-nodes.shidoscan.com","https://rpc-delta-nodes.shidoscan.com","wss://wss-delta-nodes.shidoscan.com"],shortName:"Shido",slug:"shido-block",testnet:!1},Tyt={chain:"BRB",chainId:9012,explorers:[{name:"berylbit-explorer",url:"https://explorer.berylbit.io",standard:"EIP3091"}],faucets:["https://t.me/BerylBit"],icon:{url:"ipfs://QmeDXHkpranzqGN1BmQqZSrFp4vGXf4JfaB5iq8WHHiwDi",width:162,height:162,format:"png"},infoURL:"https://www.beryl-bit.com",name:"BerylBit Mainnet",nativeCurrency:{name:"BerylBit Chain Native Token",symbol:"BRB",decimals:18},networkId:9012,rpc:["https://9012.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.berylbit.io"],shortName:"brb",slug:"berylbit",testnet:!1},xyt={chain:"Nexa Testnet",chainId:9024,explorers:[{name:"Nexablock Testnet Explorer",url:"https://testnet.nexablockscan.io",standard:"none",icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"}}],faucets:["https://testnet.nexablockscan.io/faucet"],icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"},infoURL:"https://www.nexablock.io",name:"Nexa Testnet Block",nativeCurrency:{name:"Nexa Testnet Token",symbol:"NEXB",decimals:18},networkId:9024,rpc:["https://9024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet-nodes.nexablockscan.io"],shortName:"NexaTestnet",slug:"nexa-testnet-block",testnet:!0},Eyt={chain:"Nexa Mainnet",chainId:9025,explorers:[{name:"Nexablock Mainnet Explorer",url:"https://nexablockscan.io",standard:"none",icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"},infoURL:"https://www.nexablock.io",name:"Nexa Mainnet Block",nativeCurrency:{name:"Nexa Mainnet Token",symbol:"NEXB",decimals:18},networkId:9025,rpc:["https://9025.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nodes.nexablockscan.io","wss://wss-nodes.nexablockscan.io","https://rpc-nodes-delta.nexablockscan.io"],shortName:"Nexa",slug:"nexa-block",testnet:!1},_yt={chain:"Genesis",chainId:9100,explorers:[],faucets:[],infoURL:"https://genesis-gn.com",name:"Genesis Coin",nativeCurrency:{name:"GN Coin",symbol:"GNC",decimals:18},networkId:9100,rpc:["https://9100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://genesis-gn.com","wss://genesis-gn.com"],shortName:"GENEC",slug:"genesis-coin",testnet:!1},Ayt={chain:"FIRE",chainId:9170,explorers:[],faucets:["https://faucet.thefirechain.com"],icon:{url:"ipfs://QmRnnw2gtbU9TWJMLJ6tks7SN6HQV5rRugeoyN6csTYHt1",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Rinia Testnet Old",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:9170,rpc:[],shortName:"_old_tfire",slip44:1,slug:"rinia-testnet-old",status:"deprecated",testnet:!0},Cyt={chain:"COF",chainId:9223,explorers:[{name:"Codefin Net Explorer",url:"https://explorer.codefin.pro",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVyAuAnKKNnGEpqeYMLPRfMdysLgPBTZeEXihXbRytGhp",width:1024,height:1024,format:"png"},infoURL:"https://network.codefin.pro",name:"Codefin Mainnet",nativeCurrency:{name:"Codefin",symbol:"COF",decimals:18},networkId:9223,rpc:["https://9223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.codefin.pro"],shortName:"COF",slug:"codefin",testnet:!1},Iyt={chain:"Avalanche",chainId:9294,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"TQO",decimals:18},networkId:9294,redFlags:[],rpc:["https://9294.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet",testnet:!0},kyt={chain:"DOGS",chainId:9339,explorers:[{name:"Dogcoin",url:"https://testnet.dogcoin.network",standard:"EIP3091"}],faucets:["https://faucet.dogcoin.network"],icon:{url:"ipfs://QmZCadkExKThak3msvszZjo6UnAbUJKE61dAcg4TixuMC3",width:160,height:171,format:"png"},infoURL:"https://dogcoin.network",name:"Dogcoin Testnet",nativeCurrency:{name:"Dogcoin",symbol:"DOGS",decimals:18},networkId:9339,rpc:["https://9339.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.dogcoin.me"],shortName:"DOGSt",slip44:1,slug:"dogcoin-testnet",testnet:!0},Syt={chain:"ETH",chainId:9393,explorers:[{name:"basescout",url:"https://sepolia-delascan.deperp.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZQbfJfxYez8iQyVsB65y7ZTssKbgUpMXzPTEk5xGDwQB",width:600,height:600,format:"png"},infoURL:"https://www.deperp.com/dela",name:"Dela Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:9393,rpc:["https://9393.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-dela.deperp.com"],shortName:"delasep",slip44:1,slug:"dela-sepolia-testnet",testnet:!0},Ryt={chain:"MTHN",chainId:9395,explorers:[{name:"Evoke SmartChain Explorer",url:"https://explorer.evokescan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreia5q26knsvxgkwxze7woepvsqat5n2hodokh4ozzphmhexqez5s34",width:100,height:100,format:"png"},infoURL:"https://explorer.evokescan.org",name:"Evoke Mainnet",nativeCurrency:{name:"MTHN",symbol:"MTHN",decimals:18},networkId:9395,rpc:["https://9395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.evokescan.org"],shortName:"MTHN",slug:"evoke",testnet:!1},Myt={chain:"Rangers",chainId:9527,explorers:[{name:"rangersscan-robin",url:"https://robin-rangersscan.rangersprotocol.com",standard:"none"}],faucets:["https://robin-faucet.rangersprotocol.com"],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"Rangers Protocol Testnet Robin",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"tRPG",decimals:18},networkId:9527,rpc:["https://9527.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://robin.rangersprotocol.com/api/jsonrpc"],shortName:"trpg",slip44:1,slug:"rangers-protocol-testnet-robin",testnet:!0},Byt={chain:"QET",chainId:9528,explorers:[{name:"QEasyWeb3 Explorer",url:"https://www.qeasyweb3.com",standard:"EIP3091"}],faucets:["http://faucet.qeasyweb3.com"],infoURL:"https://www.qeasyweb3.com",name:"QEasyWeb3 Testnet",nativeCurrency:{name:"QET",symbol:"QET",decimals:18},networkId:9528,rpc:["https://9528.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://qeasyweb3.com"],shortName:"QETTest",slip44:1,slug:"qeasyweb3-testnet",testnet:!0},Dyt={chain:"Avalanche",chainId:9543,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4523",nativeCurrency:{name:"QaUser4523 Token",symbol:"NBW",decimals:18},networkId:9543,redFlags:[],rpc:["https://9543.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4523",slug:"qauser4523",testnet:!0},Pyt={chain:"Neonlink",chainId:9559,explorers:[{name:"Neon Blockchain Explorer",url:"https://testnet-scan.neonlink.io",standard:"EIP3091",icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"}}],faucets:["https://faucet.neonlink.io/"],icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"},infoURL:"https://neonlink.io",name:"Neonlink Testnet",nativeCurrency:{name:"Neonlink Native Token",symbol:"tNEON",decimals:18},networkId:9559,rpc:["https://9559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.neonlink.io"],shortName:"testneon",slip44:1,slug:"neonlink-testnet",testnet:!0},Lyt={chain:"MainnetDev",chainId:9700,explorers:[{name:"Oort MainnetDev Scan",url:"https://dev-scan.oortech.com",standard:"none",icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"},infoURL:"https://oortech.com",name:"Oort MainnetDev",nativeCurrency:{name:"Oort",symbol:"OORT",decimals:18},networkId:9700,rpc:["https://9700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dev-rpc.oortech.com"],shortName:"MainnetDev",slug:"oort-dev",testnet:!1,title:"Oort MainnetDev"},Fyt={chain:"Boba BNB Testnet",chainId:9728,explorers:[{name:"Boba BNB Testnet block explorer",url:"https://testnet.bobascan.com",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba BNB Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:9728,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://9728.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bnb.boba.network","wss://wss.testnet.bnb.boba.network","https://replica.testnet.bnb.boba.network","wss://replica-wss.testnet.bnb.boba.network","https://boba-bnb-testnet.gateway.tenderly.co","wss://boba-bnb-testnet.gateway.tenderly.co"],shortName:"BobaBnbTestnet",slip44:1,slug:"boba-bnb-testnet",testnet:!0},Nyt={chain:"NetZ",chainId:9768,explorers:[{name:"MainnetZ",url:"https://testnet.mainnetz.io",standard:"EIP3091"}],faucets:["https://faucet.mainnetz.io"],icon:{url:"ipfs://QmT5gJ5weBiLT3GoYuF5yRTRLdPLCVZ3tXznfqW7M8fxgG",width:400,height:400,format:"png"},infoURL:"https://testnet.mainnetz.io",name:"MainnetZ Testnet",nativeCurrency:{name:"MainnetZ",symbol:"NetZ",decimals:18},networkId:9768,rpc:["https://9768.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.mainnetz.io"],shortName:"NetZt",slip44:1,slug:"z-testnet",testnet:!0},Oyt={chain:"PepeNetwork",chainId:9779,explorers:[{name:"Pepe Explorer",url:"https://explorer.pepenetwork.io",standard:"none",icon:{url:"ipfs://QmPX3uipdwd195z1MJff7uj8hpZdSuVvM5z47eiz2o7Gz5",width:960,height:944,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPX3uipdwd195z1MJff7uj8hpZdSuVvM5z47eiz2o7Gz5",width:960,height:944,format:"png"},infoURL:"https://pepenetwork.io",name:"PepeNetwork Mainnet",nativeCurrency:{name:"Pepe",symbol:"WPEPE",decimals:18},networkId:9779,rpc:["https://9779.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.pepenetwork.io"],shortName:"pn",slug:"pepenetwork",testnet:!1},Uyt={chain:"ETH",chainId:9789,explorers:[{name:"Tabi Testnet Explorer",url:"https://testnet.tabiscan.com",standard:"none"},{name:"Tabi Testnet Explorer",url:"https://testnet.tabiscan.com/",standard:"EIP3091"}],faucets:["https://faucet.testnet.tabichain.com"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://www.tabichain.com",name:"Tabichain",nativeCurrency:{name:"TABI",symbol:"TABI",decimals:18},networkId:9789,redFlags:[],rpc:["https://9789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.tabichain.com"],shortName:"tabichain",slug:"tabichain",testnet:!0},Hyt={chain:"Carbon",chainId:9790,explorers:[],faucets:[],icon:{url:"ipfs://QmQUHqi1gyuTuKmJQHqt9EyhN1FPmmmLNUK8u93nMGrxAy",width:1600,height:1600,format:"png"},infoURL:"https://carbon.network/",name:"Carbon EVM",nativeCurrency:{name:"swth",symbol:"SWTH",decimals:18},networkId:9790,rpc:["https://9790.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-api.carbon.network/"],shortName:"carbon",slug:"carbon-evm",testnet:!1},zyt={chain:"Carbon",chainId:9792,explorers:[],faucets:[],icon:{url:"ipfs://QmQUHqi1gyuTuKmJQHqt9EyhN1FPmmmLNUK8u93nMGrxAy",width:1600,height:1600,format:"png"},infoURL:"https://carbon.network/",name:"Carbon EVM Testnet",nativeCurrency:{name:"swth",symbol:"SWTH",decimals:18},networkId:9792,rpc:["https://9792.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-evm-api.carbon.network/"],shortName:"carbon-testnet",slip44:1,slug:"carbon-evm-testnet",testnet:!0},Wyt={chain:"tIMP",chainId:9818,explorers:[{name:"IMPERIUM TESTNET Explorer",url:"https://network.impscan.com",standard:"none",icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"}}],faucets:["https://faucet.imperiumchain.com/"],icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"},infoURL:"https://imperiumchain.com",name:"IMPERIUM TESTNET",nativeCurrency:{name:"tIMP",symbol:"tIMP",decimals:18},networkId:9818,rpc:["https://9818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-aws-testnet.imperiumchain.com","https://data-aws2-testnet.imperiumchain.com"],shortName:"tIMP",slip44:1,slug:"imperium-testnet",testnet:!0},qyt={chain:"IMP",chainId:9819,explorers:[{name:"IMPERIUM Explorer",url:"https://impscan.com",standard:"none",icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"}}],faucets:["https://faucet.imperiumchain.com/"],icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"},infoURL:"https://imperiumchain.com",name:"IMPERIUM MAINNET",nativeCurrency:{name:"IMP",symbol:"IMP",decimals:18},networkId:9819,rpc:["https://9819.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-aws-mainnet.imperiumchain.com","https://data-aws2-mainnet.imperiumchain.com"],shortName:"IMP",slug:"imperium",testnet:!1},jyt={chain:"Avalanche",chainId:9872,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0507 Testnet",nativeCurrency:{name:"QaUser0507 Testnet Token",symbol:"KQA",decimals:18},networkId:9872,redFlags:[],rpc:["https://9872.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0507 Testnet",slug:"qauser0507-testnet",testnet:!0},Gyt={chain:"Dogelayer",chainId:9888,explorers:[{name:"Dogelayer mainnet explorer",url:"https://dl-explorer.dogelayer.org",standard:"EIP3091"}],faucets:[],infoURL:"https://dogelayer.org",name:"Dogelayer Mainnet",nativeCurrency:{name:"Dogecoin",symbol:"DOGE",decimals:18},networkId:9888,rpc:["https://9888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dl-rpc.dogelayer.org"],shortName:"Dogelayer",slug:"dogelayer",testnet:!1},Kyt={chain:"Larissa",chainId:9898,explorers:[{name:"Larissa Scan",url:"https://scan.larissa.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZTWoZ3LvivSinaJ4aSwqU8pCXw8oSZNnUCh4wwXxtAoQ",width:500,height:500,format:"png"},infoURL:"https://larissa.network",name:"Larissa Chain",nativeCurrency:{name:"Larissa",symbol:"LRS",decimals:18},networkId:1,rpc:["https://9898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.larissa.network"],shortName:"lrs",slip44:9898,slug:"larissa-chain",status:"active",testnet:!1,title:"Larissa Chain"},Qyt={chain:"SPENT",chainId:9911,explorers:[{name:"escscan",url:"https://escscan.com",standard:"EIP3091",icon:{url:"ipfs://QmVvQdmAj6GNQjP1dsxQKbA7xgzqsciooGTQtQ2RsJ37Lf",width:335,height:335,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmVvQdmAj6GNQjP1dsxQKbA7xgzqsciooGTQtQ2RsJ37Lf",width:335,height:335,format:"svg"},infoURL:"https://espento.network",name:"Espento Mainnet",nativeCurrency:{name:"ESPENTO",symbol:"SPENT",decimals:18},networkId:9911,rpc:["https://9911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.escscan.com/"],shortName:"spent",slug:"espento",testnet:!1},Vyt={chain:"tMIND",chainId:9977,explorers:[{name:"Mind Chain explorer",url:"https://testnet.mindscan.info",standard:"EIP3091"}],faucets:["https://faucet.mindchain.info/"],icon:{url:"ipfs://QmX2b4CzNyrNgy4ERBEteSS9MsuYNVYeq2sSMMiogGjbFP",width:732,height:732,format:"jpg"},infoURL:"https://mindchain.info",name:"Mind Smart Chain Testnet",nativeCurrency:{name:"MIND Coin",symbol:"tMIND",decimals:18},networkId:9977,rpc:["https://9977.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-msc.mindchain.info/","wss://testnet-msc.mindchain.info/ws"],shortName:"tMIND",slip44:1,slug:"mind-smart-chain-testnet",testnet:!0},Yyt={chain:"Combo",chainId:9980,explorers:[{name:"combotrace explorer",url:"https://combotrace.nodereal.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRR4v6h6z21BpgS9xY3ExLB4Gkmm3i3dJWQx27oTGifq8",width:800,height:693,format:"png"},infoURL:"https://combonetwork.io",name:"Combo Mainnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"BNB",decimals:18},networkId:9980,rpc:["https://9980.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.combonetwork.io"],shortName:"combo-mainnet",slug:"combo",testnet:!1},$yt={chain:"Avalanche",chainId:9981,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4131",nativeCurrency:{name:"QaUser4131 Token",symbol:"SGT",decimals:18},networkId:9981,redFlags:[],rpc:["https://9981.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4131",slug:"qauser4131",testnet:!0},Jyt={chain:"Agung",chainId:9990,explorers:[{name:"Polkadot.js",url:"https://polkadot.js.org/apps/?rpc=wss://wsspc1-qa.agung.peaq.network#/explorer",standard:"none"},{name:"Subscan",url:"https://agung.subscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreibkqdof3ztkdhgukwvkacwgrjb27e23hgz5c6mmudzu5hipyvgisa",width:256,height:256,format:"png"},infoURL:"https://www.peaq.network",name:"Agung Network",nativeCurrency:{name:"Agung",symbol:"AGNG",decimals:18},networkId:9990,rpc:["https://9990.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcpc1-qa.agung.peaq.network"],shortName:"AGNG",slug:"agung-network",testnet:!1},Xyt={chain:"MIND",chainId:9996,explorers:[{name:"Mind Chain explorer",url:"https://mainnet.mindscan.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmX2b4CzNyrNgy4ERBEteSS9MsuYNVYeq2sSMMiogGjbFP",width:732,height:732,format:"jpg"},infoURL:"https://mindchain.info",name:"Mind Smart Chain Mainnet",nativeCurrency:{name:"MIND Coin",symbol:"MIND",decimals:18},networkId:9996,rpc:["https://9996.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-msc.mindchain.info/","https://seednode.mindchain.info","https://archive.mindchain.info/","wss://archive.mindchain.info/ws","wss://seednode.mindchain.info/ws"],shortName:"MIND",slug:"mind-smart-chain",testnet:!1},Zyt={chain:"ETH",chainId:9997,explorers:[{name:"blockscout",url:"https://testnet-rollup-explorer.altlayer.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcEfZJU7NMn9ycTAcEooQgGNfa2nYBToSUZHdFCFadcjb",width:1080,height:1025,format:"png"},infoURL:"https://altlayer.io",name:"AltLayer Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:9997,rpc:["https://9997.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rollup-api.altlayer.io"],shortName:"alt-testnet",slip44:1,slug:"altlayer-testnet",testnet:!0},e7t={chain:"ZTC",chainId:9998,explorers:[],faucets:[],infoURL:"https://ztc.best",name:"Ztc Mainnet",nativeCurrency:{name:"Ztcer",symbol:"ZTC",decimals:5},networkId:9998,rpc:["https://9998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zitcoin.us"],shortName:"ZTC",slug:"ztc",testnet:!1},t7t={chain:"myOwn",chainId:9999,explorers:[],faucets:[],infoURL:"https://docs.bccloud.net/",name:"myOwn Testnet",nativeCurrency:{name:"MYN",symbol:"MYN",decimals:18},networkId:9999,rpc:["https://9999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geth.dev.bccloud.net"],shortName:"myn",slip44:1,slug:"myown-testnet",testnet:!0},n7t={chain:"smartBCH",chainId:1e4,explorers:[],faucets:[],infoURL:"https://smartbch.org/",name:"Smart Bitcoin Cash",nativeCurrency:{name:"Bitcoin Cash",symbol:"BCH",decimals:18},networkId:1e4,rpc:["https://10000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://smartbch.greyh.at","https://rpc-mainnet.smartbch.org","https://smartbch.fountainhead.cash/mainnet","https://smartbch.devops.cash/mainnet"],shortName:"smartbch",slug:"smart-bitcoin-cash",testnet:!1},a7t={chain:"smartBCHTest",chainId:10001,explorers:[],faucets:[],infoURL:"http://smartbch.org/",name:"Smart Bitcoin Cash Testnet",nativeCurrency:{name:"Bitcoin Cash Test Token",symbol:"BCHT",decimals:18},networkId:10001,rpc:["https://10001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.smartbch.org","https://smartbch.devops.cash/testnet"],shortName:"smartbchtest",slip44:1,slug:"smart-bitcoin-cash-testnet",testnet:!0},r7t={chain:"GonChain",chainId:10024,explorers:[{name:"Gon Explorer",url:"https://gonscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmPtiJGaApbW3ATZhPW3pKJpw3iGVrRGsZLWhrDKF9ZK18",width:1024,height:1024,format:"png"},name:"Gon Chain",nativeCurrency:{name:"Gon Token",symbol:"GT",decimals:18},networkId:10024,rpc:["https://10024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.testnet.gaiaopen.network","https://node1.mainnet.gon.network","https://node2.mainnet.gon.network","https://node3.mainnet.gon.network","https://node4.mainnet.gon.network"],shortName:"gon",slug:"gon-chain",testnet:!0},f7t={chain:"Avalanche",chainId:10036,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Innovo Markets Mainnet",nativeCurrency:{name:"Innovo Markets Mainnet Token",symbol:"INN",decimals:18},networkId:10036,redFlags:[],rpc:["https://10036.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/innovo/mainnet/rpc"],shortName:"Innovo Markets Mainnet",slug:"innovo-markets",testnet:!1},i7t={chain:"Avalanche",chainId:10050,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0327S1D Testnet",nativeCurrency:{name:"QR0327S1D Testnet Token",symbol:"WZL",decimals:18},networkId:10050,redFlags:[],rpc:["https://10050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0327s1dt/testnet/rpc"],shortName:"QR0327S1D Testnet",slug:"qr0327s1d-testnet",testnet:!0},s7t={chain:"JOCT",chainId:10081,explorers:[{name:"Testnet Block Explorer",url:"https://explorer.testnet.japanopenchain.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.japanopenchain.org/",name:"Japan Open Chain Testnet",nativeCurrency:{name:"Japan Open Chain Testnet Token",symbol:"JOCT",decimals:18},networkId:10081,rpc:["https://10081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.testnet.japanopenchain.org:8545","https://rpc-2.testnet.japanopenchain.org:8545"],shortName:"joct",slip44:1,slug:"japan-open-chain-testnet",testnet:!0},o7t={chain:"ETH",chainId:10086,explorers:[],faucets:[],infoURL:"https://sjis.me",name:"SJATSH",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:10086,rpc:["https://10086.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://geth.free.idcfengye.com"],shortName:"SJ",slug:"sjatsh",testnet:!1},c7t={chain:"GEN",chainId:10101,explorers:[],faucets:[],infoURL:"https://www.xixoio.com/",name:"Blockchain Genesis Mainnet",nativeCurrency:{name:"GEN",symbol:"GEN",decimals:18},networkId:10101,rpc:["https://10101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eu.mainnet.xixoio.com","https://us.mainnet.xixoio.com","https://asia.mainnet.xixoio.com"],shortName:"GEN",slug:"blockchain-genesis",testnet:!1},d7t={chain:"Avalanche",chainId:10154,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405023 Interop",nativeCurrency:{name:"QIM2405023 Interop Token",symbol:"UZP",decimals:18},networkId:10154,redFlags:[],rpc:["https://10154.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405023 Interop",slug:"qim2405023-interop",testnet:!0},l7t={chain:"GNO",chainId:10200,explorers:[{name:"blockscout",url:"https://gnosis-chiado.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://gnosisfaucet.com"],icon:{url:"ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm",width:1800,height:1800,format:"png"},infoURL:"https://docs.gnosischain.com",name:"Gnosis Chiado Testnet",nativeCurrency:{name:"Chiado xDAI",symbol:"XDAI",decimals:18},networkId:10200,rpc:["https://10200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chiadochain.net","https://rpc.chiado.gnosis.gateway.fm","wss://rpc.chiadochain.net/wss","https://gnosis-chiado-rpc.publicnode.com","wss://gnosis-chiado-rpc.publicnode.com","https://gnosis-chiado.drpc.org","wss://gnosis-chiado.drpc.org"],shortName:"chi",slip44:1,slug:"gnosis-chiado-testnet",testnet:!0},u7t={chain:"MaxxChain",chainId:10201,explorers:[{name:"MaxxChain Block Explorer",url:"https://explorer.maxxchain.org",standard:"EIP3091"}],faucets:["https://faucet.maxxchain.org"],icon:{url:"ipfs://QmRhQG9TZrXDdbQeTzBmjg3pqgwaD5TKVZj8k4kaz8AoZx",width:1021,height:1021,format:"png"},infoURL:"https://www.maxxchain.org/",name:"MaxxChain Mainnet",nativeCurrency:{name:"Power",symbol:"PWR",decimals:18},networkId:10201,rpc:["https://10201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.maxxchain.org","https://rpc1.maxxchain.org","https://rpc2.maxxchain.org"],shortName:"PWR",slug:"maxxchain",testnet:!1},p7t={chain:"AA",chainId:10242,explorers:[{name:"blockscout",url:"https://explorer.arthera.net",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYQp3e52KjkT4bYdAvB6ACEEpXs2D8DozsDitaADRY2Ak",width:1024,height:998,format:"png"},infoURL:"https://docs.arthera.net/build/developing-sc/using-hardhat",name:"Arthera Mainnet",nativeCurrency:{name:"Arthera",symbol:"AA",decimals:18},networkId:10242,rpc:["https://10242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.arthera.net"],shortName:"aa",slip44:10242,slug:"arthera",testnet:!1},h7t={chain:"AA",chainId:10243,explorers:[{name:"blockscout",url:"https://explorer-test.arthera.net",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://faucet.arthera.net"],icon:{url:"ipfs://QmYQp3e52KjkT4bYdAvB6ACEEpXs2D8DozsDitaADRY2Ak",width:1024,height:998,format:"png"},infoURL:"https://docs.arthera.net",name:"Arthera Testnet",nativeCurrency:{name:"Arthera",symbol:"AA",decimals:18},networkId:10243,rpc:["https://10243.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.arthera.net"],shortName:"aat",slip44:1,slug:"arthera-testnet",testnet:!0},b7t={chain:"0XTade Chain",chainId:10248,explorers:[{name:"0xtrade Scan",url:"https://www.0xtscan.com",standard:"none"}],faucets:[],infoURL:"https://www.0xtrade.finance/",name:"0XTade",nativeCurrency:{name:"0XT",symbol:"0XT",decimals:18},networkId:10248,rpc:["https://10248.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.0xtchain.com"],shortName:"0xt",slug:"0xtade",testnet:!1},m7t={chain:"Avalanche",chainId:10255,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Coqnet Testnet",nativeCurrency:{name:"Coqnet Testnet Token",symbol:"COQ",decimals:18},networkId:10255,redFlags:[],rpc:["https://10255.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/coqnet/testnet/rpc"],shortName:"Coqnet Testnet",slug:"coqnet-testnet",testnet:!0},y7t={chain:"TAO EVM",chainId:10321,explorers:[{name:"TAO Mainnet Explorer",url:"https://taoscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmS78hUX5zqYDqoFgyVmtWpCcx7bZW86Nhw5Nqt2GJrLh2",width:256,height:234,format:"png"},infoURL:"https://taoevm.io",name:"TAO EVM Mainnet",nativeCurrency:{name:"TAO",symbol:"TAO",decimals:18},networkId:10321,rpc:["https://10321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.taoevm.io"],shortName:"TAOm",slug:"tao-evm",testnet:!1},g7t={chain:"TAO EVM",chainId:10324,explorers:[{name:"TAO Testnet Explorer",url:"https://testnet.taoscan.org",standard:"EIP3091"}],faucets:["https://faucet.taoevm.io"],icon:{url:"ipfs://QmS78hUX5zqYDqoFgyVmtWpCcx7bZW86Nhw5Nqt2GJrLh2",width:256,height:234,format:"png"},infoURL:"https://taoevm.io",name:"TAO EVM Testnet",nativeCurrency:{name:"TAO",symbol:"TAO",decimals:18},networkId:10324,rpc:["https://10324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.taoevm.io"],shortName:"TAOt",slug:"tao-evm-testnet",testnet:!0},v7t={chain:"Worldland",chainId:10395,explorers:[{name:"Worldland Explorer",url:"https://testscan.worldland.foundation",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYZNTfK3byhgLsTjXP8vPubVHRz2CWsBrTJxZrQmKq6JZ",width:3509,height:2482,format:"png"},infoURL:"https://worldland.foundation",name:"WorldLand Testnet",nativeCurrency:{name:"Worldland",symbol:"WLC",decimals:18},networkId:10395,rpc:["https://10395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gwangju.worldland.foundation"],shortName:"TWLC",slip44:1,slug:"worldland-testnet",testnet:!0},w7t={chain:"NUM",chainId:10507,explorers:[{name:"ethernal",url:"https://mainnet.num.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreie3ba6ofosjqqiya6empkyw6u5xdrtcfzi2evvyt4u6utzeiezyhi",width:1500,height:1500,format:"png"},infoURL:"https://numbersprotocol.io",name:"Numbers Mainnet",nativeCurrency:{name:"NUM Token",symbol:"NUM",decimals:18},networkId:10507,rpc:["https://10507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnetrpc.num.network"],shortName:"Jade",slug:"numbers",testnet:!1},T7t={chain:"NUM",chainId:10508,explorers:[{name:"ethernal",url:"https://testnet.num.network",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=num","https://faucet.num.network"],icon:{url:"ipfs://bafkreie3ba6ofosjqqiya6empkyw6u5xdrtcfzi2evvyt4u6utzeiezyhi",width:1500,height:1500,format:"png"},infoURL:"https://numbersprotocol.io",name:"Numbers Testnet",nativeCurrency:{name:"NUM Token",symbol:"NUM",decimals:18},networkId:10508,rpc:["https://10508.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetrpc.num.network"],shortName:"Snow",slip44:1,slug:"numbers-testnet",testnet:!0},x7t={chain:"Avalanche",chainId:10671,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 12131",nativeCurrency:{name:"QI M 12131 Token",symbol:"XVL",decimals:18},networkId:10671,redFlags:[],rpc:["https://10671.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/c3c8cc74-5101-4380-937f-4f534cad0128"],shortName:"QI M 12131",slug:"qi-m-12131",testnet:!0},E7t={chain:"CCP",chainId:10823,explorers:[{name:"CCP Explorer",url:"https://cryptocoinpay.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPw1ixYYeXvTiRWoCt2jWe4YMd3B5o7TzL18SBEHXvhXX",width:200,height:200,format:"png"},infoURL:"https://www.cryptocoinpay.co",name:"CryptoCoinPay",nativeCurrency:{name:"CryptoCoinPay",symbol:"CCP",decimals:18},networkId:10823,rpc:["https://10823.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://node106.cryptocoinpay.info:8545","ws://node106.cryptocoinpay.info:8546"],shortName:"CCP",slug:"cryptocoinpay",testnet:!1},_7t={chain:"Avalanche",chainId:10849,explorers:[{name:"Lamina1 Explorer",url:"https://subnets.avax.network/lamina1",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1",nativeCurrency:{name:"Lamina1 Token",symbol:"L",decimals:18},networkId:10849,redFlags:[],rpc:["https://10849.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1/mainnet/rpc"],shortName:"Lamina1",slip44:1,slug:"lamina1",testnet:!1},A7t={chain:"Avalanche",chainId:10850,explorers:[{name:"Lamina1 Identity Explorer",url:"https://subnets.avax.network/lamina1id",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1 Identity",nativeCurrency:{name:"Lamina1 Identity Token",symbol:"LID",decimals:18},networkId:10850,redFlags:[],rpc:["https://10850.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1id/mainnet/rpc"],shortName:"Lamina1 Identity",slip44:1,slug:"lamina1-identity",testnet:!1},C7t={chain:"QDC",chainId:10946,explorers:[{name:"explorer",url:"https://explorer.quadrans.io",standard:"EIP3091",icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"},infoURL:"https://quadrans.io",name:"Quadrans Blockchain",nativeCurrency:{name:"Quadrans Coin",symbol:"QDC",decimals:18},networkId:10946,rpc:["https://10946.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.quadrans.io","https://rpcna.quadrans.io","https://rpceu.quadrans.io"],shortName:"quadrans",slug:"quadrans-blockchain",testnet:!1},I7t={chain:"tQDC",chainId:10947,explorers:[{name:"explorer",url:"https://explorer.testnet.quadrans.io",standard:"EIP3091",icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"}}],faucets:["https://faucetpage.quadrans.io"],icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"},infoURL:"https://quadrans.io",name:"Quadrans Blockchain Testnet",nativeCurrency:{name:"Quadrans Testnet Coin",symbol:"tQDC",decimals:18},networkId:10947,rpc:["https://10947.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.quadrans.io","https://rpctest2.quadrans.io"],shortName:"quadranstestnet",slip44:1,slug:"quadrans-blockchain-testnet",testnet:!0},k7t={chain:"Astra",chainId:11110,explorers:[{name:"Astra EVM Explorer (Blockscout)",url:"https://explorer.astranaut.io",standard:"none",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}},{name:"Astra PingPub Explorer",url:"https://ping.astranaut.io/astra",standard:"none",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"},infoURL:"https://astranaut.io",name:"Astra",nativeCurrency:{name:"Astra",symbol:"ASA",decimals:18},networkId:11110,rpc:["https://11110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.astranaut.io","https://rpc1.astranaut.io"],shortName:"astra",slug:"astra",testnet:!1},S7t={chain:"WAGMI",chainId:11111,explorers:[{name:"Avalanche Subnet Explorer",url:"https://subnets-test.avax.network/wagmi",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=wagmi"],icon:{url:"ipfs://QmNoyUXxnak8B3xgFxErkVfyVEPJUMHBzq7qJcYzkUrPR4",width:1920,height:1920,format:"png"},infoURL:"https://subnets-test.avax.network/wagmi/details",name:"WAGMI",nativeCurrency:{name:"WAGMI",symbol:"WGM",decimals:18},networkId:11111,rpc:["https://11111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/wagmi/wagmi-chain-testnet/rpc"],shortName:"WAGMI",slug:"wagmi",testnet:!0},R7t={chain:"Astra",chainId:11115,explorers:[{name:"Astra EVM Explorer",url:"https://explorer.astranaut.dev",standard:"EIP3091",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}},{name:"Astra PingPub Explorer",url:"https://ping.astranaut.dev/astra",standard:"none",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}}],faucets:["https://faucet.astranaut.dev"],icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"},infoURL:"https://astranaut.io",name:"Astra Testnet",nativeCurrency:{name:"test-Astra",symbol:"tASA",decimals:18},networkId:11115,rpc:["https://11115.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.astranaut.dev"],shortName:"astra-testnet",slip44:1,slug:"astra-testnet",testnet:!0},M7t={chain:"HBIT",chainId:11119,explorers:[{name:"hashbitscan",url:"https://explorer.hashbit.org",standard:"EIP3091"}],faucets:[],infoURL:"https://hashbit.org",name:"HashBit Mainnet",nativeCurrency:{name:"HashBit Native Token",symbol:"HBIT",decimals:18},networkId:11119,rpc:["https://11119.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.hashbit.org","https://rpc.hashbit.org"],shortName:"hbit",slug:"hashbit",testnet:!1},B7t={chain:"Avalanche",chainId:11198,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304I2 Testnet",nativeCurrency:{name:"QI0304I2 Testnet Token",symbol:"LOD",decimals:18},networkId:11198,redFlags:[],rpc:["https://11198.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304I2 Testnet",slug:"qi0304i2-testnet",testnet:!0},D7t={chain:"SC20",chainId:11221,explorers:[{name:"shinescan",url:"https://shinescan.io",standard:"none",icon:{url:"ipfs://QmUBkpY3prCTZHpx1fjrYLAJ6dPaGvNVTj97iy6p3NPUi1",width:161,height:161,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUBkpY3prCTZHpx1fjrYLAJ6dPaGvNVTj97iy6p3NPUi1",width:161,height:161,format:"png"},infoURL:"https://shinechain.tech",name:"Shine Chain",nativeCurrency:{name:"Shine",symbol:"SC20",decimals:18},networkId:11221,rpc:["https://11221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shinescan.io"],shortName:"SC20",slug:"shine-chain",testnet:!1},P7t={chain:"Avalanche",chainId:11227,explorers:[{name:"JIRITSUTES Explorer",url:"https://subnets-test.avax.network/jiritsutes",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jiritsu Testnet",nativeCurrency:{name:"Jiritsu Testnet Token",symbol:"TZW",decimals:18},networkId:11227,redFlags:[],rpc:["https://11227.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jiritsutes/testnet/rpc"],shortName:"Jiritsu Testnet",slug:"jiritsu-testnet",testnet:!0},L7t={chain:"Haqq",chainId:11235,explorers:[{name:"Mainnet HAQQ Explorer",url:"https://explorer.haqq.network",standard:"EIP3091"}],faucets:[],infoURL:"https://islamiccoin.net",name:"Haqq Network",nativeCurrency:{name:"Islamic Coin",symbol:"ISLM",decimals:18},networkId:11235,rpc:["https://11235.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eth.haqq.network","https://haqq-evm-rpc.publicnode.com","wss://haqq-evm-rpc.publicnode.com","https://haqq.drpc.org","wss://haqq.drpc.org"],shortName:"ISLM",slug:"haqq-network",testnet:!1},F7t={chain:"SHYFTT",chainId:11437,explorers:[{name:"Shyft Testnet BX",url:"https://bx.testnet.shyft.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUkFZC2ZmoYPTKf7AHdjwRPZoV2h1MCuHaGM4iu8SNFpi",width:400,height:400,format:"svg"},infoURL:"https://shyft.network",name:"Shyft Testnet",nativeCurrency:{name:"Shyft Test Token",symbol:"SHYFTT",decimals:18},networkId:11437,rpc:[],shortName:"shyftt",slip44:1,slug:"shyft-testnet",testnet:!0},N7t={chain:"BEVM",chainId:11501,explorers:[{name:"bevm mainnet scan",url:"https://scan-mainnet.bevm.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfMXiYn4xF9JwdjaqM5YKhqoByox51XvnL68VvKJS6yyu",width:1e3,height:1e3,format:"png"},infoURL:"https://bevm.io",name:"BEVM Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:11501,rpc:["https://11501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-1.bevm.io/","https://rpc-mainnet-2.bevm.io/"],shortName:"bevm",slug:"bevm",testnet:!1},O7t={chain:"BEVM",chainId:11503,explorers:[{name:"bevm testnet scan",url:"https://scan-testnet.bevm.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfMXiYn4xF9JwdjaqM5YKhqoByox51XvnL68VvKJS6yyu",width:1e3,height:1e3,format:"png"},infoURL:"https://bevm.io",name:"BEVM Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:11503,rpc:["https://11503.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bevm.io/"],shortName:"bevm-test",slug:"bevm-testnet",testnet:!0},U7t={chain:"Avalanche",chainId:11516,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tenzro",nativeCurrency:{name:"Tenzro Token",symbol:"TNZO",decimals:18},networkId:11516,redFlags:[],rpc:["https://11516.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/tenzro/testnet/rpc"],shortName:"Tenzro",slug:"tenzro",testnet:!0},H7t={chain:"SRDX",chainId:11612,explorers:[{name:"Sardis",url:"https://testnet.sardisnetwork.com",standard:"EIP3091"}],faucets:["https://faucet.sardisnetwork.com"],icon:{url:"ipfs://QmdR9QJjQEh1mBnf2WbJfehverxiP5RDPWMtEECbDP2rc3",width:512,height:512,format:"png"},infoURL:"https://mysardis.com",name:"Sardis Testnet",nativeCurrency:{name:"Sardis",symbol:"SRDX",decimals:18},networkId:11612,rpc:["https://11612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.sardisnetwork.com"],shortName:"SRDXt",slip44:1,slug:"sardis-testnet",testnet:!0},z7t={chain:"Avalanche",chainId:11625,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 202402121",nativeCurrency:{name:"QI M 202402121 Token",symbol:"CYB",decimals:18},networkId:11625,redFlags:[],rpc:["https://11625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 202402121",slug:"qi-m-202402121",testnet:!0},W7t={chain:"Avalanche",chainId:11881,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2353 Testnet",nativeCurrency:{name:"QaUser2353 Testnet Token",symbol:"ODB",decimals:18},networkId:11881,redFlags:[],rpc:["https://11881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2353 Testnet",slug:"qauser2353-testnet",testnet:!0},q7t={chain:"Santiment Intelligence Network",chainId:11888,explorers:[{name:"Santiment Intelligence Explorer",url:"https://app-explorer-pos.sanr.app",standard:"none"}],faucets:[],icon:{url:"ipfs://QmPLMg5mYD8XRknvYbDkD2x7FXxYan7MPTeUWZC2CihwDM",width:2048,height:2048,format:"png"},infoURL:"https://sanr.app",name:"Santiment Intelligence Network",nativeCurrency:{name:"SANR",symbol:"SANR",decimals:18},networkId:11888,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sanr.app"}]},rpc:["https://11888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sanrchain-node.santiment.net"],shortName:"SAN",slug:"santiment-intelligence-network",testnet:!1},j7t={chain:"Arianee",chainId:11891,explorers:[{name:"Polygon Supernet Arianee Explorer",url:"https://polygonsupernet.explorer.arianee.net",standard:"EIP3091"}],faucets:[],infoURL:"https://arianee.org",name:"Polygon Supernet Arianee",nativeCurrency:{name:"Arianee",symbol:"ARIA20",decimals:18},networkId:11891,parent:{type:"L2",chain:"eip155-1"},rpc:["https://11891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.polygonsupernet.public.arianee.net"],shortName:"Arianee",slug:"polygon-supernet-arianee",testnet:!1},G7t={chain:"Avalanche",chainId:12001,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Mikias's Testnet",nativeCurrency:{name:"Mikias's Testnet Token",symbol:"XVL",decimals:18},networkId:12001,redFlags:[],rpc:["https://12001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/c3c8cc74-5101-4380-937f-4f534cad0128"],shortName:"Mikias's Testnet",slug:"mikias-s-testnet",testnet:!0},K7t={chain:"SATS",chainId:12009,explorers:[{name:"SatoshiChain Explorer",url:"https://satoshiscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRegpZQBW4o1imYNsW3d27MQjygBSU23Gf6JKje26nvs7",width:1251,height:1251,format:"png"},infoURL:"https://satoshichain.net",name:"SatoshiChain Mainnet",nativeCurrency:{name:"SatoshiChain Coin",symbol:"SATS",decimals:18},networkId:12009,rpc:["https://12009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.satoshichain.io"],shortName:"sats",slug:"satoshichain",testnet:!1},Q7t={chain:"Aternos",chainId:12020,explorers:[{name:"blockscout",url:"https://explorer.aternoschain.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://faucet.aternoschain.com"],icon:{url:"ipfs://QmUgfhv3rEsS6t9g6Lsf3TJ1mbnJqBrb8YUFPDiNG59QvT",width:1e3,height:1e3,format:"png"},infoURL:"https://aternoschain.com",name:"Aternos",nativeCurrency:{name:"Aternos",symbol:"ATR",decimals:18},networkId:12020,rpc:["https://12020.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.aternoschain.com"],shortName:"ATR",slug:"aternos",testnet:!1},V7t={chain:"Avalanche",chainId:12035,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI M 11272",nativeCurrency:{name:"QI M 11272 Token",symbol:"JZW",decimals:18},networkId:12035,redFlags:[],rpc:["https://12035.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/b19c9e32-f359-451f-ad15-7ec784625c04"],shortName:"QI M 11272",slug:"qi-m-11272",testnet:!0},Y7t={chain:"ZERO",chainId:12051,explorers:[{name:"zeroscan",url:"https://betaenv.singularity.gold:18002",standard:"EIP3091"}],faucets:["https://nft.singularity.gold"],infoURL:"https://www.singularity.gold",name:"Singularity ZERO Testnet",nativeCurrency:{name:"ZERO",symbol:"tZERO",decimals:18},networkId:12051,rpc:["https://12051.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://betaenv.singularity.gold:18545"],shortName:"tZERO",slip44:1,slug:"singularity-zero-testnet",testnet:!0},$7t={chain:"ZERO",chainId:12052,explorers:[{name:"zeroscan",url:"https://zeroscan.singularity.gold",standard:"EIP3091"}],faucets:["https://zeroscan.singularity.gold"],infoURL:"https://www.singularity.gold",name:"Singularity ZERO Mainnet",nativeCurrency:{name:"ZERO",symbol:"ZERO",decimals:18},networkId:12052,rpc:["https://12052.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zerorpc.singularity.gold"],shortName:"ZERO",slip44:621,slug:"singularity-zero",testnet:!1},J7t={chain:"Avalanche",chainId:12065,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405061 WITH INTEROPERABILITY",nativeCurrency:{name:"QIM2405061 WITH INTEROPERABILITY Token",symbol:"BLY",decimals:18},networkId:12065,redFlags:[],rpc:["https://12065.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405061 WITH INTEROPERABILITY",slug:"qim2405061-with-interoperability",testnet:!0},X7t={chain:"BRC",chainId:12123,explorers:[{name:"BRC Chain Explorer",url:"https://scan.brcchain.io",standard:"EIP3091"}],faucets:["https://faucet.brcchain.io"],icon:{url:"ipfs://QmX8qGX7xoZqYUpHxA85uZwQX2fgbTHvmddE1NfseDyBED",width:512,height:512,format:"png"},infoURL:"https://bridge.brcchain.io",name:"BRC Chain Mainnet",nativeCurrency:{name:"BRC Chain mainnet native token",symbol:"BRC",decimals:18},networkId:12123,rpc:["https://12123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.brcchain.io"],shortName:"BRC",slug:"brc-chain",testnet:!1},Z7t={chain:"FIBO",chainId:12306,explorers:[{name:"fiboscan",url:"https://scan.fibochain.org",standard:"EIP3091"}],faucets:["https://test.fibochain.org/faucets"],icon:{url:"ipfs://bafkreidiedaz3jugxmh2ylzlc4nympbd5iwab33adhwkcnblyop6vvj25y",width:1494,height:1494,format:"png"},infoURL:"https://fibochain.org",name:"Fibonacci Mainnet",nativeCurrency:{name:"FIBONACCI UTILITY TOKEN",symbol:"FIBO",decimals:18},networkId:1230,rpc:["https://12306.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.fibo-api.asia","https://node2.fibo-api.asia","https://node3.fibo-api.asia","https://node4.fibo-api.asia","https://node5.fibo-api.asia","https://node6.fibo-api.asia","https://node7.fibo-api.asia","https://node1.fibo-rpc.asia","https://node2.fibo-rpc.asia","https://node3.fibo-rpc.asia","https://node4.fibo-rpc.asia","https://node5.fibo-rpc.asia","https://node6.fibo-rpc.asia","https://node7.fibo-rpc.asia"],shortName:"fibo",slug:"fibonacci",testnet:!0},e9t={chain:"BLG",chainId:12321,explorers:[],faucets:["https://faucet.blgchain.com"],icon:{url:"ipfs://QmUN5j2cre8GHKv52JE8ag88aAnRmuHMGFxePPvKMogisC",width:512,height:512,format:"svg"},infoURL:"https://blgchain.com",name:"BLG Testnet",nativeCurrency:{name:"Blg",symbol:"BLG",decimals:18},networkId:12321,rpc:["https://12321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blgchain.com"],shortName:"blgchain",slip44:1,slug:"blg-testnet",testnet:!0},t9t={chain:"L3X",chainId:12324,explorers:[{name:"L3X Mainnet Explorer",url:"https://explorer.l3x.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmf1cim2ZvkgszKiFtmZj3K1z2YgVY7A4VtLkWw8kQxijq",width:100,height:100,format:"png"},infoURL:"https://l3x.com",name:"L3X Protocol",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:12324,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.arbitrum.io"}]},rpc:["https://12324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.l3x.com"],shortName:"l3x",slug:"l3x-protocol",testnet:!1},n9t={chain:"L3X",chainId:12325,explorers:[{name:"L3X Testnet Explorer",url:"https://explorer-testnet.l3x.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmf1cim2ZvkgszKiFtmZj3K1z2YgVY7A4VtLkWw8kQxijq",width:100,height:100,format:"png"},infoURL:"https://l3x.com",name:"L3X Protocol Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:12325,parent:{type:"L2",chain:"eip155-421614",bridges:[{url:"https://bridge.arbitrum.io"}]},rpc:["https://12325.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.l3x.com"],shortName:"l3x-testnet",slug:"l3x-protocol-testnet",testnet:!0},a9t={chain:"STEP",chainId:12345,explorers:[{name:"StepScan",url:"https://testnet.stepscan.io",standard:"EIP3091",icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"}}],faucets:["https://faucet.step.network"],icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"},infoURL:"https://step.network",name:"Step Testnet",nativeCurrency:{name:"FITFI",symbol:"FITFI",decimals:18},networkId:12345,parent:{type:"L2",chain:"eip155-43113"},rpc:["https://12345.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.step.network"],shortName:"steptest",slip44:1,slug:"step-testnet",testnet:!0,title:"Step Test Network"},r9t={chain:"RSS3",chainId:12553,explorers:[{name:"RSS3 VSL Scan",url:"https://scan.rss3.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZFWYnufi6G2Z54oJ25sx2yf2Skx5tseJHJJa6Hc1G34t",width:200,height:200,format:"svg"},infoURL:"https://rss3.io",name:"RSS3 VSL Mainnet",nativeCurrency:{name:"RSS3",symbol:"RSS3",decimals:18},networkId:12553,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://explorer.rss3.io/bridge"}]},rpc:["https://12553.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rss3.io"],shortName:"rss3",slug:"rss3-vsl",testnet:!1},f9t={chain:"Rikeza",chainId:12715,explorers:[{name:"Rikeza Blockchain explorer",url:"https://testnet.rikscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfJ1Qxpzi6CSLeFeWY1Bwe435CpT5za5WfrLUE7vNzZfy",width:512,height:512,format:"png"},infoURL:"https://rikeza.io",name:"Rikeza Network Testnet",nativeCurrency:{name:"Rikeza",symbol:"RIK",decimals:18},networkId:12715,rpc:["https://12715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.rikscan.com"],shortName:"tRIK",slip44:1,slug:"rikeza-network-testnet",testnet:!0,title:"Rikeza Network Testnet"},i9t={chain:"Avalanche",chainId:12781,explorers:[{name:"Playdapp Testnet Explorer",url:"https://subnets-test.avax.network/playdappte",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"playdapp Testnet",nativeCurrency:{name:"playdapp Testnet Token",symbol:"PDA",decimals:18},networkId:12781,redFlags:[],rpc:["https://12781.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/playdappte/testnet/rpc"],shortName:"playdapp Testnet",slug:"playdapp-testnet",testnet:!0},s9t={chain:"tQNET",chainId:12890,explorers:[{name:"Quantum Scan Testnet",url:"https://testnet.quantumscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibwywok67uewqbtqdzgr7nlk3lvvg7hxmbgwtn7kdwxe34useucvm",width:1024,height:1024,format:"png"},infoURL:"https://quantumnetwork.gg",name:"Quantum Chain Testnet",nativeCurrency:{name:"Quantum Chain",symbol:"tQNET",decimals:18},networkId:12890,rpc:["https://12890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.quantumscan.org"],shortName:"tqnet",slip44:1,slug:"quantum-chain-testnet",testnet:!0},o9t={chain:"PLAYFAIR",chainId:12898,explorers:[{name:"Avalanche Subnet Explorer",url:"https://subnets-test.avax.network/letsplayfair",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNvoUp2RWiWQzHUKrZ7SnPzwF3FbCNd3jSdpGJhQdH1y5",width:256,height:256,format:"png"},infoURL:"https://letsplayfair.ai",name:"PlayFair Testnet Subnet",nativeCurrency:{name:"BTLT Token",symbol:"BTLT",decimals:18},networkId:12898,rpc:["https://12898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.letsplayfair.ai/ext/bc/2hhXFNp1jR4RuqvCmWQnBtt9CZnCmmyGr7TNTkxt7XY7pAzHMY/rpc"],shortName:"playfair",slug:"playfair-testnet-subnet",testnet:!0},c9t={chain:"SPS",chainId:13e3,explorers:[{name:"SPS Explorer",url:"http://spsscan.ssquad.games",standard:"EIP3091"}],faucets:[],infoURL:"https://ssquad.games/",name:"SPS",nativeCurrency:{name:"ECG",symbol:"ECG",decimals:18},networkId:13e3,rpc:["https://13000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ssquad.games"],shortName:"SPS",slug:"sps",testnet:!1},d9t={chain:"CREDIT",chainId:13308,explorers:[{name:"Creditscan",url:"https://scan.creditsmartchain.com",standard:"EIP3091",icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"},infoURL:"https://creditsmartchain.com",name:"Credit Smart Chain",nativeCurrency:{name:"Credit",symbol:"CREDIT",decimals:18},networkId:13308,rpc:["https://13308.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.creditsmartchain.com"],shortName:"Credit",slug:"credit-smart-chain-credit",testnet:!1},l9t={chain:"BEAM",chainId:13337,explorers:[{name:"Beam Explorer",url:"https://subnets-test.avax.network/beam",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=beam","https://faucet.onbeam.com"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmQJ21NWyGGDraicVEzS1Uqq1yXahM9NCuNZgnfYvtspdt",width:512,height:512,format:"png"},infoURL:"https://www.onbeam.com",name:"Beam Testnet",nativeCurrency:{name:"Beam",symbol:"BEAM",decimals:18},networkId:13337,rpc:["https://13337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://build.onbeam.com/rpc/testnet","wss://build.onbeam.com/ws/testnet","https://subnets.avax.network/beam/testnet/rpc","wss://subnets.avax.network/beam/testnet/ws"],shortName:"beam-testnet",slip44:1,slug:"beam-testnet",testnet:!0},u9t={chain:"Immutable zkEVM",chainId:13371,explorers:[{name:"Immutable explorer",url:"https://explorer.immutable.com",standard:"EIP3091",icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"}}],faucets:["https://docs.immutable.com/docs/zkEVM/guides/faucet"],icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"},infoURL:"https://www.immutable.com",name:"Immutable zkEVM",nativeCurrency:{name:"IMX",symbol:"IMX",decimals:18},networkId:13371,rpc:["https://13371.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.immutable.com","https://immutable-zkevm.drpc.org","wss://immutable-zkevm.drpc.org"],shortName:"imx",slug:"immutable-zkevm",testnet:!1},p9t={chain:"Phoenix",chainId:13381,explorers:[{name:"phoenixplorer",url:"https://phoenixplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYiLMeKDXMSNuQmtxNdxm53xR588pcRXMf7zuiZLjQnc6",width:1501,height:1501,format:"png"},infoURL:"https://cryptophoenix.org/phoenix",name:"Phoenix Mainnet",nativeCurrency:{name:"Phoenix",symbol:"PHX",decimals:18},networkId:13381,rpc:["https://13381.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.phoenixplorer.com/"],shortName:"Phoenix",slug:"phoenix",testnet:!1},h9t={chain:"Avalanche",chainId:13396,explorers:[{name:"Masa Explorer",url:"https://subnets.avax.network/masa",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Masa Network ",nativeCurrency:{name:"Masa Network Token",symbol:"MASA",decimals:18},networkId:13396,redFlags:[],rpc:["https://13396.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/masanetwork/mainnet/rpc"],shortName:"Masa Network ",slug:"masa-network",testnet:!1},b9t={chain:"Immutable zkEVM",chainId:13473,explorers:[{name:"Immutable Testnet explorer",url:"https://explorer.testnet.immutable.com",standard:"EIP3091",icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"}}],faucets:["https://docs.immutable.com/docs/zkEVM/guides/faucet"],icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"},infoURL:"https://www.immutable.com",name:"Immutable zkEVM Testnet",nativeCurrency:{name:"Test IMX",symbol:"tIMX",decimals:18},networkId:13473,rpc:["https://13473.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.immutable.com","https://immutable-zkevm-testnet.drpc.org","wss://immutable-zkevm-testnet.drpc.org"],shortName:"imx-testnet",slip44:1,slug:"immutable-zkevm-testnet",testnet:!0},m9t={chain:"Gravity",chainId:13505,explorers:[{name:"Gravity Alpha Testnet Sepolia Explorer",url:"https://explorer-sepolia.gravity.xyz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"},{name:"EIP1108"}],icon:{url:"ipfs://QmU5XU4S5oaGM5fj8oU1ovhWoXCzGWspwRj2zWRTuJrU4k",width:512,height:512,format:"png"},infoURL:"https://gravity.xyz",name:"Gravity Alpha Testnet Sepolia",nativeCurrency:{name:"Sepolia Gravity",symbol:"G.",decimals:18},networkId:13505,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:["https://13505.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sepolia.gravity.xyz"],shortName:"gravitysep",slug:"gravity-alpha-testnet-sepolia",testnet:!0},y9t={chain:"KNB",chainId:13600,explorers:[{name:"qbitscan",url:"https://explorer.qbitscan.com",standard:"EIP3091",icon:{url:"ipfs://QmZEuR4bJaZkC497qQnsxHv23pZFcXb9dTdaDPCPo2sj9Z",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZEuR4bJaZkC497qQnsxHv23pZFcXb9dTdaDPCPo2sj9Z",width:200,height:200,format:"png"},infoURL:"https://kronobit.org",name:"Kronobit Mainnet",nativeCurrency:{name:"Kronobit",symbol:"KNB",decimals:18},networkId:13600,rpc:["https://13600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.qbitscan.com"],shortName:"KNB",slug:"kronobit",testnet:!1,title:"Kronobit Mainnet"},g9t={chain:"SUS",chainId:13812,explorers:[{name:"Susono",url:"http://explorer.opn.network",standard:"none"}],faucets:[],name:"Susono",nativeCurrency:{name:"Susono",symbol:"OPN",decimals:18},networkId:13812,rpc:["https://13812.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gateway.opn.network/node/ext/bc/2VsZe5DstWw2bfgdx3YbjKcMsJnNDjni95sZorBEdk9L9Qr9Fr/rpc"],shortName:"sus",slug:"susono",testnet:!1},v9t={chain:"Avalanche",chainId:13838,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"XTraderlands Subnet Tesnet",nativeCurrency:{name:"XTraderlands Subnet Tesnet Token",symbol:"XTDL",decimals:18},networkId:13838,redFlags:[],rpc:["https://13838.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xtraderlan/testnet/rpc"],shortName:"XTraderlands Subnet Tesnet",slug:"xtraderlands-subnet-tesnet",testnet:!0},w9t={chain:"SPS-Testnet",chainId:14e3,explorers:[{name:"SPS Test Explorer",url:"https://explorer.3sps.net",standard:"EIP3091"}],faucets:[],infoURL:"https://ssquad.games/",name:"SPS Testnet",nativeCurrency:{name:"ECG",symbol:"ECG",decimals:18},networkId:14e3,rpc:["https://14000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.3sps.net"],shortName:"SPS-Test",slip44:1,slug:"sps-testnet",testnet:!0},T9t={chain:"Avalanche",chainId:14255,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521S2T",nativeCurrency:{name:"QI0521S2T Token",symbol:"YFT",decimals:18},networkId:14255,redFlags:[],rpc:["https://14255.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521S2T",slug:"qi0521s2t",testnet:!0},x9t={chain:"EVO",chainId:14324,explorers:[{name:"Evolve Testnet Explorer",url:"https://testnet.evolveblockchain.io",standard:"EIP3091"}],faucets:["https://faucet.evolveblockchain.io"],icon:{url:"ipfs://QmVxtpYYzc5214CB7BgsMC4mRNRHCD8fpbNMzZguBWyRwa",width:600,height:600,format:"png"},infoURL:"https://evolveblockchain.io",name:"EVOLVE Testnet",nativeCurrency:{name:"Evolve",symbol:"EVO",decimals:18},networkId:14324,rpc:["https://14324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.evolveblockchain.io"],shortName:"evo",slug:"evolve-testnet",testnet:!0},E9t={chain:"Vitruveo",chainId:14333,explorers:[{name:"Vitruveo Testnet Explorer",url:"https://test-explorer.vitruveo.xyz",standard:"EIP3091",icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"}}],faucets:["https://faucet.vitruveo.xyz"],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"},infoURL:"https://www.vitruveo.xyz",name:"Vitruveo Testnet",nativeCurrency:{name:"Vitruveo Test Coin",symbol:"tVTRU",decimals:18},networkId:14333,rpc:["https://14333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc.vitruveo.xyz"],shortName:"vitruveo-test",slug:"vitruveo-testnet",testnet:!0,title:"Vitruveo is a blockchain for Creators"},_9t={chain:"Humanode Testnet 5",chainId:14853,explorers:[],faucets:["https://t.me/HumanodeTestnet5FaucetBot"],icon:{url:"ipfs://bafybeihuskzfwqogwvutaxil6sztmvpiavzbrzwjwpn6w2i4j3jysbybra",width:1043,height:1043,format:"png"},infoURL:"https://humanode.io",name:"Humanode Testnet 5 Israfel",nativeCurrency:{name:"eHMND",symbol:"eHMND",decimals:18},networkId:14853,rpc:["https://14853.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://explorer-rpc-http.testnet5.stages.humanode.io"],shortName:"hmnd-t5",slip44:1,slug:"humanode-testnet-5-israfel",testnet:!0},A9t={chain:"Immutable zkEVM",chainId:15003,explorers:[{name:"Immutable Devnet explorer",url:"https://explorer.dev.immutable.com",standard:"EIP3091",icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"}}],faucets:["https://docs.immutable.com/docs/zkEVM/guides/faucet"],icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"},infoURL:"https://www.immutable.com",name:"Immutable zkEVM Devnet",nativeCurrency:{name:"Dev IMX",symbol:"dIMX",decimals:18},networkId:15003,rpc:["https://15003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.immutable.com"],shortName:"imx-devnet",slug:"immutable-zkevm-devnet",testnet:!1},C9t={chain:"Avalanche",chainId:15056,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402052",nativeCurrency:{name:"QI M 2402052 Token",symbol:"ACI",decimals:18},networkId:15056,redFlags:[],rpc:["https://15056.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402052",slug:"qi-m-2402052",testnet:!0},I9t={chain:"Avalanche",chainId:15104,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402054",nativeCurrency:{name:"QI M 2402054 Token",symbol:"ACI",decimals:18},networkId:15104,redFlags:[],rpc:["https://15104.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402054",slug:"qi-m-2402054",testnet:!0},k9t={chain:"Poodl",chainId:15257,explorers:[{name:"Poodl Testnet Explorer",url:"https://testnet.poodl.org",standard:"EIP3091"}],faucets:["https://faucet.poodl.org"],icon:{url:"ipfs://QmXfBFHHb5kJGQ3dMLnhDhfFBsgAvm9U72jBSYcfmRHL2p",width:400,height:400,format:"png"},infoURL:"https://poodl.org",name:"Poodl Testnet",nativeCurrency:{name:"Poodl",symbol:"POODL",decimals:18},networkId:15257,rpc:["https://15257.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.poodl.org"],shortName:"poodlt",slug:"poodl-testnet",testnet:!0},S9t={chain:"Poodl",chainId:15259,explorers:[{name:"Poodl Mainnet Explorer",url:"https://explorer.poodl.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXfBFHHb5kJGQ3dMLnhDhfFBsgAvm9U72jBSYcfmRHL2p",width:400,height:400,format:"png"},infoURL:"https://poodl.org",name:"Poodl Mainnet",nativeCurrency:{name:"Poodl",symbol:"POODL",decimals:18},networkId:15259,rpc:["https://15259.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.poodl.org"],shortName:"poodle",slug:"poodl",testnet:!1},R9t={chain:"Avalanche",chainId:15535,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI M 11271",nativeCurrency:{name:"QI M 11271 Token",symbol:"JZW",decimals:18},networkId:15535,redFlags:[],rpc:["https://15535.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/a47e1c06-fa75-4536-a900-1574d198e197"],shortName:"QI M 11271",slug:"qi-m-11271",testnet:!0},M9t={chain:"LoopNetwork",chainId:15551,explorers:[{name:"loopscan",url:"http://explorer.mainnetloop.com",standard:"none"}],faucets:[],infoURL:"http://theloopnetwork.org/",name:"LoopNetwork Mainnet",nativeCurrency:{name:"LOOP",symbol:"LOOP",decimals:18},networkId:15551,rpc:["https://15551.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.mainnetloop.com"],shortName:"loop",slug:"loopnetwork",testnet:!1},B9t={chain:"Trust EVM Testnet",chainId:15555,explorers:[{name:"Trust EVM Explorer",url:"https://trustscan.one",standard:"EIP3091"}],faucets:["https://faucet.testnet-dev.trust.one/"],infoURL:"https://www.trust.one/",name:"Trust EVM Testnet",nativeCurrency:{name:"Trust EVM",symbol:"EVM",decimals:18},networkId:15555,rpc:["https://15555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.testnet-dev.trust.one"],shortName:"TrustTestnet",slip44:1,slug:"trust-evm-testnet",testnet:!0},D9t={chain:"EOS",chainId:15557,explorers:[{name:"EOS EVM Explorer",url:"https://explorer.testnet.evm.eosnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXkK5D5GWizvY1FmL6pV8cYLAbhehKETubktCgh6qDJZb",width:500,height:750,format:"png"},infoURL:"https://eosnetwork.com/eos-evm",name:"EOS EVM Network Testnet",nativeCurrency:{name:"EOS",symbol:"EOS",decimals:18},networkId:15557,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.testnet.evm.eosnetwork.com"}]},rpc:["https://15557.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.testnet.evm.eosnetwork.com"],shortName:"eos-testnet",slip44:1,slug:"eos-evm-network-testnet",testnet:!0},P9t={chain:"MTT",chainId:16e3,explorers:[],faucets:[],infoURL:"https://metadot.network",name:"MetaDot Mainnet",nativeCurrency:{name:"MetaDot Token",symbol:"MTT",decimals:18},networkId:16e3,rpc:["https://16000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.metadot.network"],shortName:"mtt",slug:"metadot",testnet:!1},L9t={chain:"MTTTest",chainId:16001,explorers:[],faucets:["https://faucet.metadot.network/"],infoURL:"https://metadot.network",name:"MetaDot Testnet",nativeCurrency:{name:"MetaDot Token TestNet",symbol:"MTTest",decimals:18},networkId:16001,rpc:["https://16001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.metadot.network"],shortName:"mtttest",slip44:1,slug:"metadot-testnet",testnet:!0},F9t={chain:"DeFiVerse",chainId:16116,explorers:[{name:"DeFiVerse Explorer",url:"https://scan.defi-verse.org",standard:"EIP3091",icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"},infoURL:"https://defi-verse.org",name:"DeFiVerse Mainnet",nativeCurrency:{name:"Oasys",symbol:"OAS",decimals:18},networkId:16116,parent:{type:"L2",chain:"eip155-248"},rpc:["https://16116.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.defi-verse.org/"],shortName:"DFV",slug:"defiverse",testnet:!1},N9t={chain:"Genesys",chainId:16507,explorers:[{name:"GchainExplorer",url:"https://gchainexplorer.genesys.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreie6nai3yhykcdlsyshn5lbcbyba5y7zwsqg6owcfek2urhoucr6rm",width:800,height:800,format:"png"},infoURL:"https://www.genesys.network/",name:"Genesys Mainnet",nativeCurrency:{name:"Genesys",symbol:"GSYS",decimals:18},networkId:16507,rpc:["https://16507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.genesys.network"],shortName:"Genesys",slug:"genesys",testnet:!1},O9t={chain:"Avalanche",chainId:16587,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I1",nativeCurrency:{name:"QI0603I1 Token",symbol:"ODK",decimals:18},networkId:16587,redFlags:[],rpc:["https://16587.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I1",slug:"qi0603i1",testnet:!0},U9t={chain:"IRIShub",chainId:16688,explorers:[{name:"IRISHub Testnet Cosmos Explorer (IOBScan)",url:"https://nyancat.iobscan.io",standard:"none",icon:{url:"ipfs://QmRaSx7AX1VDgcqjwLgSDP4WZmKBHPdHhbjkcEEXPA2Fnc",width:1062,height:822,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmRaSx7AX1VDgcqjwLgSDP4WZmKBHPdHhbjkcEEXPA2Fnc",width:1062,height:822,format:"png"},infoURL:"https://www.irisnet.org",name:"IRIShub Testnet",nativeCurrency:{name:"Eris",symbol:"ERIS",decimals:18},networkId:16688,rpc:["https://16688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmrpc.nyancat.irisnet.org"],shortName:"nyancat",slip44:1,slug:"irishub-testnet",testnet:!0},H9t={chain:"ambnet",chainId:16718,explorers:[{name:"AirDAO Network Explorer",url:"https://airdao.io/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSxXjvWng3Diz4YwXDV2VqSPgMyzLYBNfkjJcr7rzkxom",width:400,height:400,format:"png"},infoURL:"https://airdao.io",name:"AirDAO Mainnet",nativeCurrency:{name:"Amber",symbol:"AMB",decimals:18},networkId:16718,rpc:["https://16718.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://network.ambrosus.io"],shortName:"airdao",slug:"airdao",testnet:!1},z9t={chain:"IVAR",chainId:16888,explorers:[{name:"ivarscan",url:"https://testnet.ivarscan.com",standard:"EIP3091"}],faucets:["https://tfaucet.ivarex.com/"],icon:{url:"ipfs://QmV8UmSwqGF2fxrqVEBTHbkyZueahqyYtkfH2RBF5pNysM",width:519,height:519,format:"svg"},infoURL:"https://ivarex.com",name:"IVAR Chain Testnet",nativeCurrency:{name:"tIvar",symbol:"tIVAR",decimals:18},networkId:16888,rpc:["https://16888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.ivarex.com"],shortName:"tivar",slip44:1,slug:"ivar-chain-testnet",testnet:!0},W9t={chain:"ETH",chainId:17e3,explorers:[{name:"Holesky Explorer",url:"https://holesky.beaconcha.in",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}},{name:"otterscan-holesky",url:"https://holesky.otterscan.io",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}},{name:"Holesky Etherscan",url:"https://holesky.etherscan.io",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.holesky.ethpandaops.io","https://holesky-faucet.pk910.de"],features:[],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://holesky.ethpandaops.io",name:"Holesky",nativeCurrency:{name:"Testnet ETH",symbol:"ETH",decimals:18},networkId:17e3,redFlags:[],rpc:["https://17000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.holesky.ethpandaops.io","https://ethereum-holesky-rpc.publicnode.com","wss://ethereum-holesky-rpc.publicnode.com","https://holesky.drpc.org","wss://holesky.drpc.org","https://rpc-holesky.rockx.com"],shortName:"holesky",slip44:1,slug:"holesky",status:"incubating",testnet:!0,title:"Ethereum Testnet Holesky"},q9t={chain:"ETH",chainId:17001,explorers:[{name:"Redstone Holesky Explorer",url:"https://explorer.holesky.redstone.xyz",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreieyaqgkgntvxuo5tnhgseladga5q6gutc37dab7kqqfdguhq7vkxq",width:5836,height:5836,format:"png"},infoURL:"https://redstone.xyz/docs/network-info",name:"Redstone Holesky Testnet",nativeCurrency:{name:"Redstone Testnet Ether",symbol:"ETH",decimals:18},networkId:17001,rpc:["https://17001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.holesky.redstone.xyz"],shortName:"redstone-holesky",slip44:1,slug:"redstone-holesky-testnet",status:"deprecated",testnet:!0},j9t={chain:"Avalanche",chainId:17026,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI1204I3",nativeCurrency:{name:"QI1204I3 Token",symbol:"BHOX",decimals:18},networkId:17026,redFlags:[],rpc:["https://17026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/e7aeac38-06b2-4aaa-87b4-2c2da10fa43e"],shortName:"QI1204I3",slug:"qi1204i3",testnet:!0},G9t={chain:"ETH",chainId:17069,explorers:[{name:"blockscout",url:"https://explorer.garnetchain.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmWhHvjbjTiNNsHKpbEz9rxSt4CCL2Q5xVZjk8eQkp82B9",width:600,height:600,format:"png"},infoURL:"https://redstone.xyz",name:"Garnet Holesky",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:17069,parent:{type:"L2",chain:"eip155-17000",bridges:[{url:"https://garnetchain.com/deposit"}]},redFlags:[],rpc:["https://17069.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.garnetchain.com","wss://rpc.garnetchain.com"],shortName:"garnet",slug:"garnet-holesky",testnet:!0},K9t={chain:"DeFiVerse Testnet",chainId:17117,explorers:[{name:"DeFiVerse Testnet Explorer",url:"https://scan-testnet.defi-verse.org",standard:"EIP3091",icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"},infoURL:"https://defi-verse.org",name:"DeFiVerse Testnet",nativeCurrency:{name:"Oasys",symbol:"OAS",decimals:18},networkId:17117,rpc:["https://17117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.defi-verse.org/"],shortName:"DFV-testnet",slug:"defiverse-testnet",testnet:!0},Q9t={chain:"G8C",chainId:17171,explorers:[{name:"G8Chain",url:"https://mainnet.oneg8.network",standard:"EIP3091"}],faucets:["https://faucet.oneg8.network"],icon:{url:"ipfs://QmbkCVC5vZpVAfq8SuPXR9PhpTRS2m8w6LGqBkhXAvmie6",width:80,height:80,format:"png"},infoURL:"https://oneg8.one",name:"G8Chain Mainnet",nativeCurrency:{name:"G8Chain",symbol:"G8C",decimals:18},networkId:17171,rpc:["https://17171.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oneg8.network"],shortName:"G8Cm",slug:"g8chain",testnet:!1},V9t={chain:"ECLIPSE",chainId:17172,explorers:[{name:"ECLIPSE Explorer",url:"https://subnets-test.avax.network/eclipse",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"http://eclipsenet.io",name:"Eclipse Subnet",nativeCurrency:{name:"Eclipse",symbol:"ECLP",decimals:16},networkId:17172,rpc:["https://17172.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/eclipse/testnet/rpc"],shortName:"eclipse",slug:"eclipse-subnet",testnet:!0},Y9t={chain:"PLT",chainId:17180,explorers:[{name:"Palettescan",url:"https://testnet.palettescan.com",standard:"none",icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"},infoURL:"https://hashpalette.com/",name:"Palette Chain Testnet",nativeCurrency:{name:"Palette Token",symbol:"PLT",decimals:18},networkId:17180,rpc:["https://17180.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palette-opennet.com:22000"],shortName:"PCT",slip44:1,slug:"palette-chain-testnet",testnet:!0},$9t={chain:"ETH",chainId:17186,explorers:[],faucets:[],features:[],name:"lazy-crimson-coral",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:17186,parent:{type:"L3",chain:"Base",bridges:[{url:"https://lazy-crimson-coral-cotlv0ftqf.testnets.superbridge.app"}]},redFlags:[],rpc:["https://17186.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-lazy-crimson-coral-cotlv0ftqf.t.conduit.xyz"],shortName:"lazy-crimson-coral",slug:"lazy-crimson-coral",testnet:!0},J9t={chain:"KONET",chainId:17217,explorers:[{name:"konet-explorer",url:"https://explorer.kon-wallet.com",standard:"EIP3091"},{name:"Konetscan",url:"https://konetexplorer.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmSszu2AhLPgcp8SZYiBYCQiRVwb9ueqbnGbcTx9H9CJjZ",width:1851,height:1851,format:"png"},infoURL:"https://konetmain.com",name:"KONET Mainnet",nativeCurrency:{name:"KONET",symbol:"KONET",decimals:18},networkId:17217,redFlags:[],rpc:["https://17217.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.kon-wallet.com"],shortName:"KONET",slip44:1,slug:"konet",testnet:!1},X9t={chain:"Avalanche",chainId:17511,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"PST 1-17-24",nativeCurrency:{name:"PST 1-17-24 Token",symbol:"MUB",decimals:18},networkId:17511,redFlags:[],rpc:["https://17511.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"PST 1-17-24",slug:"pst-1-17-24",testnet:!0},Z9t={chain:"EOS",chainId:17777,explorers:[{name:"EOS EVM Explorer",url:"https://explorer.evm.eosnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXkK5D5GWizvY1FmL6pV8cYLAbhehKETubktCgh6qDJZb",width:500,height:750,format:"png"},infoURL:"https://eosnetwork.com/eos-evm",name:"EOS EVM Network",nativeCurrency:{name:"EOS",symbol:"EOS",decimals:18},networkId:17777,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.evm.eosnetwork.com"},{url:"https://app.multichain.org"}]},rpc:["https://17777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.evm.eosnetwork.com"],shortName:"eos",slug:"eos-evm-network",testnet:!1},egt={chain:"Game Network",chainId:18e3,explorers:[{name:"Game Network",url:"https://explorer.fod.games",standard:"EIP3091"}],faucets:[],infoURL:"https://goexosphere.com",name:"Frontier of Dreams Testnet",nativeCurrency:{name:"ZKST",symbol:"ZKST",decimals:18},networkId:18e3,rpc:["https://18000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.fod.games/"],shortName:"ZKST",slip44:1,slug:"frontier-of-dreams-testnet",testnet:!0},tgt={chain:"Avalanche",chainId:18105,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Found Test",nativeCurrency:{name:"Found Test Token",symbol:"TVJ",decimals:18},networkId:18105,redFlags:[],rpc:["https://18105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Found Test",slug:"found-test",testnet:!0},ngt={chain:"Avalanche",chainId:18109,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7737 Testnet",nativeCurrency:{name:"QaUser7737 Testnet Token",symbol:"XSP",decimals:18},networkId:18109,redFlags:[],rpc:["https://18109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7737 Testnet",slug:"qauser7737-testnet",testnet:!0},agt={chain:"Smart Trade Networks",chainId:18122,explorers:[{name:"stnscan",url:"https://stnscan.com",standard:"none",icon:{url:"ipfs://QmRgZVpjik4cH3Sb6wLRpdnfv9kiMEZ8fugfkzTgk3bpRW",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRgZVpjik4cH3Sb6wLRpdnfv9kiMEZ8fugfkzTgk3bpRW",width:500,height:500,format:"png"},infoURL:"https://www.smarttradenetworks.com",name:"Smart Trade Networks",nativeCurrency:{name:"STN",symbol:"STN",decimals:18},networkId:18122,rpc:["https://18122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beefledgerwallet.com:8544"],shortName:"STN",slug:"smart-trade-networks",testnet:!1},rgt={chain:"POM",chainId:18159,explorers:[{name:"explorer-proofofmemes",url:"https://memescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmePhfibWz9jnGUqF9Rven4x734br1h3LxrChYTEjbbQvo",width:256,height:256,format:"png"},infoURL:"https://proofofmemes.org",name:"Proof Of Memes",nativeCurrency:{name:"Proof Of Memes",symbol:"POM",decimals:18},networkId:18159,rpc:["https://18159.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.memescan.io","https://mainnet-rpc2.memescan.io","https://mainnet-rpc3.memescan.io","https://mainnet-rpc4.memescan.io"],shortName:"pom",slug:"proof-of-memes",testnet:!1,title:"Proof Of Memes Mainnet"},fgt={chain:"G8C",chainId:18181,explorers:[{name:"G8Chain",url:"https://testnet.oneg8.network",standard:"EIP3091"}],faucets:["https://faucet.oneg8.network"],icon:{url:"ipfs://QmbkCVC5vZpVAfq8SuPXR9PhpTRS2m8w6LGqBkhXAvmie6",width:80,height:80,format:"png"},infoURL:"https://oneg8.one",name:"G8Chain Testnet",nativeCurrency:{name:"G8Coin",symbol:"G8C",decimals:18},networkId:18181,rpc:["https://18181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.oneg8.network"],shortName:"G8Ct",slip44:1,slug:"g8chain-testnet",testnet:!0},igt={chain:"unreal",chainId:18231,explorers:[{name:"blockscout",url:"https://unreal.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/unreal",name:"unreal-old",nativeCurrency:{name:"unreal Ether",symbol:"ETH",decimals:18},networkId:18231,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:["https://18231.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.unreal.gelato.digital","wss://ws.unreal.gelato.digital"],shortName:"unreal-old",slip44:60,slug:"unreal-old",status:"deprecated",testnet:!0,title:"unreal testnet for re.al"},sgt={chain:"unreal",chainId:18233,explorers:[{name:"blockscout",url:"https://unreal.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/unreal",name:"unreal",nativeCurrency:{name:"unreal Ether",symbol:"reETH",decimals:18},networkId:18233,parent:{type:"L2",chain:"eip155-17000",bridges:[{url:"https://bridge.gelato.network/bridge/unreal"}]},rpc:["https://18233.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.unreal-orbit.gelato.digital","wss://ws.unreal-orbit.gelato.digital"],shortName:"unreal",slip44:60,slug:"unreal",testnet:!0,title:"unreal testnet for re.al"},ogt={chain:"Avalanche",chainId:18263,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0528S1T",nativeCurrency:{name:"QR0528S1T Token",symbol:"STZ",decimals:18},networkId:18263,redFlags:[],rpc:["https://18263.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0528s1t/testnet/rpc"],shortName:"QR0528S1T",slug:"qr0528s1t",testnet:!0},cgt={chain:"Avalanche",chainId:18303,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Zeroone Testnet",nativeCurrency:{name:"Zeroone Testnet Token",symbol:"ZERO",decimals:18},networkId:18303,redFlags:[],rpc:["https://18303.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/zeroonetes/testnet/rpc"],shortName:"Zeroone Testnet",slug:"zeroone-testnet",testnet:!0},dgt={chain:"MXC zkEVM",chainId:18686,explorers:[{name:"MXC zkEVM Moonchain",url:"https://explorer.moonchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGCthKA11K9kCZJdbTP5WPAyq1wiRZ3REn6KG58MrWaE",width:159,height:159,format:"png"},infoURL:"https://doc.mxc.com/docs/intro",name:"MXC zkEVM Moonchain",nativeCurrency:{name:"MXC zkEVM Moonchain",symbol:"MXC",decimals:18},networkId:18686,rpc:["https://18686.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mxc.com"],shortName:"MXCzkEVM",slug:"mxc-zkevm-moonchain",testnet:!1},lgt={chain:"Titan (TKX)",chainId:18888,explorers:[{name:"Titan Explorer",url:"https://tkxscan.io/Titan",standard:"none",icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"},infoURL:"https://titanlab.io",name:"Titan (TKX)",nativeCurrency:{name:"Titan tkx",symbol:"TKX",decimals:18},networkId:18888,rpc:["https://18888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://titan-json-rpc.titanlab.io","https://titan-json-rpc-tokyo.titanlab.io","https://titan-json-rpc-seoul.titanlab.io","https://titan-json-rpc-hongkong.titanlab.io"],shortName:"titan_tkx",slip44:1,slug:"titan-tkx",testnet:!1},ugt={chain:"Titan (TKX)",chainId:18889,explorers:[{name:"Titan Explorer",url:"https://titan-testnet-explorer-light.titanlab.io/Titan%20Testnet",standard:"none",icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"},infoURL:"https://titanlab.io",name:"Titan (TKX) Testnet",nativeCurrency:{name:"Titan tkx",symbol:"TKX",decimals:18},networkId:18889,rpc:["https://18889.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://titan-testnet-json-rpc.titanlab.io","https://titan-testnet-json-rpc-1.titanlab.io","https://titan-testnet-json-rpc-2.titanlab.io"],shortName:"titan_tkx-testnet",slip44:1,slug:"titan-tkx-testnet",testnet:!0},pgt={chain:"Avalanche",chainId:18898,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"NLD",decimals:18},networkId:18898,redFlags:[],rpc:["https://18898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-18898",testnet:!0},hgt={chain:"HOME Verse",chainId:19011,explorers:[{name:"HOME Verse Explorer",url:"https://explorer.oasys.homeverse.games",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeGb65zSworzoHmwK3jdkPtEsQZMUSJRxf8K8Feg56soU",width:597,height:597,format:"png"},infoURL:"https://www.homeverse.games/",name:"HOME Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:19011,parent:{type:"L2",chain:"eip155-248"},rpc:["https://19011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.oasys.homeverse.games/"],shortName:"HMV",slug:"home-verse",testnet:!1},bgt={chain:"Avalanche",chainId:19110,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s3t",nativeCurrency:{name:"QI0521s3t Token",symbol:"VTV",decimals:18},networkId:19110,redFlags:[],rpc:["https://19110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s3t",slug:"qi0521s3t",testnet:!0},mgt={chain:"Avalanche",chainId:19112,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304s1 Testnet",nativeCurrency:{name:"QI0304s1 Testnet Token",symbol:"LKG",decimals:18},networkId:19112,redFlags:[],rpc:["https://19112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304s1 Testnet",slug:"qi0304s1-testnet",testnet:!0},ygt={chain:"DCSM",chainId:19224,explorers:[{name:"Decentraconnect Social",url:"https://decentraconnect.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmatvJXLgMthjXwydGBVFRtga9fZXJ3qFEVJ6cMRxniFUc",width:307,height:314,format:"png"},infoURL:"https://docs.decentraconnect.io",name:"Decentraconnect Social",nativeCurrency:{name:"Decentraconnect Social",symbol:"DCSM",decimals:18},networkId:19224,rpc:["https://19224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.decentraconnect.io"],shortName:"DCSMs",slug:"decentraconnect-social",testnet:!1},ggt={chain:"Magnet",chainId:19527,explorers:[],faucets:[],infoURL:"https://magnet.magport.io/",name:"Magnet Network",nativeCurrency:{name:"Magnet Network",symbol:"DOT",decimals:18},networkId:19527,rpc:["https://19527.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://magnet-rpc.magport.io/"],shortName:"mgt",slug:"magnet-network",testnet:!1},vgt={chain:"LBRY",chainId:19600,explorers:[{name:"LBRY Block Explorer",url:"https://explorer.lbry.com",standard:"none",icon:{url:"ipfs://QmUoSiFWaPTbVY6ZfJswzrM9jKuhfhXWwstRo49cVCWr8x",width:400,height:400,format:"jpg"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmUoSiFWaPTbVY6ZfJswzrM9jKuhfhXWwstRo49cVCWr8x",width:400,height:400,format:"jpg"},infoURL:"https://lbry.com",name:"LBRY Mainnet",nativeCurrency:{name:"LBRY Credits",symbol:"LBC",decimals:8},networkId:19600,rpc:["https://19600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://lbry.nl/rpc"],shortName:"LBRY",slip44:140,slug:"lbry",testnet:!1},wgt={chain:"Avalanche",chainId:19683,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"ST 12-07 V1",nativeCurrency:{name:"ST 12-07 V1 Token",symbol:"XRL",decimals:18},networkId:19683,redFlags:[],rpc:["https://19683.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/d26b972e-1832-4d3a-bf7b-d0ce1f4331c2"],shortName:"ST 12-07 V1",slug:"st-12-07-v1",testnet:!0},Tgt={chain:"BTCIX",chainId:19845,explorers:[{name:"BTCIXScan",url:"https://btcixscan.com",standard:"none"}],faucets:[],infoURL:"https://bitcolojix.org",name:"BTCIX Network",nativeCurrency:{name:"BTCIX Network",symbol:"BTCIX",decimals:18},networkId:19845,rpc:["https://19845.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed.btcix.org/rpc"],shortName:"btcix",slug:"btcix-network",testnet:!1},xgt={chain:"ETHW",chainId:20001,explorers:[{name:"CamelarkScan",url:"https://scan.camelark.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeJerrsURFNt2LL7DE7TxeunjrQXiuezdfHyqmsbwX3MZ",width:128,height:128,format:"png"},infoURL:"https://www.camelark.com",name:"Camelark Mainnet",nativeCurrency:{name:"EthereumPoW",symbol:"ETHW",decimals:18},networkId:20001,rpc:["https://20001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-http-rpc.camelark.com"],shortName:"Camelark",slug:"camelark",testnet:!1},Egt={chain:"Avalanche",chainId:20139,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0129I1",nativeCurrency:{name:"QR0129I1 Token",symbol:"YOD",decimals:18},networkId:20139,redFlags:[],rpc:["https://20139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0129i1/testnet/rpc"],shortName:"QR0129I1",slug:"qr0129i1",testnet:!0},_gt={chain:"Avalanche",chainId:20141,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Shelby's Testnet",nativeCurrency:{name:"Shelby's Testnet Token",symbol:"FUC",decimals:18},networkId:20141,redFlags:[],rpc:["https://20141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c6fcfa18-e711-4f91-b8d4-ad59cfd30316"],shortName:"Shelby's Testnet",slug:"shelby-s-testnet",testnet:!0},Agt={chain:"Avalanche",chainId:20519,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4113 Testnet",nativeCurrency:{name:"QaUser4113 Testnet Token",symbol:"FYP",decimals:18},networkId:20519,redFlags:[],rpc:["https://20519.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4113 Testnet",slug:"qauser4113-testnet",testnet:!0},Cgt={chain:"CLO",chainId:20729,explorers:[],faucets:["https://faucet.callisto.network/"],infoURL:"https://callisto.network",name:"Callisto Testnet",nativeCurrency:{name:"Callisto",symbol:"CLO",decimals:18},networkId:79,rpc:["https://20729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.callisto.network/"],shortName:"CLOTestnet",slip44:1,slug:"callisto-testnet",testnet:!0},Igt={chain:"P12",chainId:20736,explorers:[{name:"P12 Chain Explorer",url:"https://explorer.p12.games",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreieiro4imoujeewc4r4thf5hxj47l56j2iwuz6d6pdj6ieb6ub3h7e",width:512,height:512,format:"png"},infoURL:"https://p12.network",name:"P12 Chain",nativeCurrency:{name:"Hooked P2",symbol:"hP2",decimals:18},networkId:20736,rpc:["https://20736.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-chain.p12.games"],shortName:"p12",slug:"p12-chain",testnet:!1},kgt={chain:"JONO11",chainId:20765,explorers:[{name:"JONO11 Explorer",url:"https://subnets-test.avax.network/jono11",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreievzx4ke62dtc77o47x7vs7nn67ghzrwku6h5dxo3hwcsqfeblke4",width:612,height:612,format:"png"},name:"Jono11 Subnet",nativeCurrency:{name:"Jono11 Token",symbol:"JONO",decimals:18},networkId:20765,rpc:["https://20765.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jono11/testnet/rpc"],shortName:"jono11",slug:"jono11-subnet",testnet:!0},Sgt={chain:"Avalanche",chainId:20948,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"GoldFever",nativeCurrency:{name:"GoldFever Token",symbol:"GFT",decimals:18},networkId:20948,redFlags:[],rpc:["https://20948.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/goldfever/testnet/rpc"],shortName:"GoldFever",slug:"goldfever",testnet:!0},Rgt={chain:"C4EI",chainId:21004,explorers:[{name:"C4EI sirato",url:"https://exp.c4ei.net",standard:"none",icon:{url:"ipfs://QmNPQBLEau3DsUYczt9QCLqZd9jK488GhF5y2SbtLRSrvB",width:512,height:512,format:"png"}}],faucets:["https://play.google.com/store/apps/details?id=net.c4ei.fps2"],infoURL:"https://c4ei.net",name:"C4EI",nativeCurrency:{name:"C4EI",symbol:"C4EI",decimals:18},networkId:21004,rpc:["https://21004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.c4ei.net"],shortName:"c4ei",slug:"c4ei",testnet:!1},Mgt={chain:"AAH",chainId:21133,explorers:[{name:"AAH Blockscout",url:"https://exp.c4ex.net",standard:"EIP3091",icon:{url:"ipfs://QmY7HDEj3vnTZzCmenotr48nYyD13R2Fyd5t12R9ARu4wJ",width:256,height:256,format:"png"}}],faucets:["https://t.me/c4eiAirdrop"],infoURL:"https://c4ex.net",name:"All About Healthy",nativeCurrency:{name:"AAH",symbol:"AAH",decimals:18},networkId:21133,rpc:["https://21133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.c4ex.net"],shortName:"aah",slug:"all-about-healthy",testnet:!1},Bgt={chain:"Avalanche",chainId:21178,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430I2",nativeCurrency:{name:"QI0430I2 Token",symbol:"ETI",decimals:18},networkId:21178,redFlags:[],rpc:["https://21178.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430I2",slug:"qi0430i2",testnet:!0},Dgt={chain:"DCpay",chainId:21223,explorers:[{name:"DCpay Mainnet Explorer",url:"https://mainnet.dcpay.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmezBwVepoegoCqb86idzPgvPxtaSuXzMLBGiiYfyTGTkc",width:458,height:468,format:"png"},infoURL:"https://dcpay.io",name:"DCpay Mainnet",nativeCurrency:{name:"DCP",symbol:"DCP",decimals:18},networkId:21223,rpc:["https://21223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dcpay.io"],shortName:"DCPm",slug:"dcpay",testnet:!1},Pgt={chain:"DCpay",chainId:21224,explorers:[{name:"DCpay Testnet Explorer",url:"https://testnet.dcpay.io",standard:"EIP3091"}],faucets:["https://faucet.dcpay.io"],icon:{url:"ipfs://QmezBwVepoegoCqb86idzPgvPxtaSuXzMLBGiiYfyTGTkc",width:458,height:468,format:"png"},infoURL:"https://dcpay.io",name:"DCpay Testnet",nativeCurrency:{name:"DCP",symbol:"DCP",decimals:18},networkId:21224,rpc:["https://21224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.dcpay.io"],shortName:"DCPt",slug:"dcpay-testnet",testnet:!0},Lgt={chain:"CENNZnet",chainId:21337,explorers:[{name:"UNcover",url:"https://uncoverexplorer.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWhNm7tTi6SYbiumULDRk956hxgqaZSX77vcxBNn8fvnw",width:112,height:112,format:"svg"},infoURL:"https://cennz.net",name:"CENNZnet Azalea",nativeCurrency:{name:"CPAY",symbol:"CPAY",decimals:18},networkId:21337,rpc:["https://21337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cennznet.unfrastructure.io/public"],shortName:"cennz-a",slug:"cennznet-azalea",testnet:!1},Fgt={chain:"Avalanche",chainId:21758,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FST 01-16 Multi",nativeCurrency:{name:"FST 01-16 Multi Token",symbol:"RUI",decimals:18},networkId:21758,redFlags:[],rpc:["https://21758.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"FST 01-16 Multi",slug:"fst-01-16-multi",testnet:!0},Ngt={chain:"OML",chainId:21816,explorers:[{name:"omChain Explorer",url:"https://explorer.omchain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQtEHaejiDbmiCvbBYw9jNQv3DLK5XHCQwLRfnLNpdN5j",width:256,height:256,format:"png"},infoURL:"https://omchain.io",name:"omChain Mainnet",nativeCurrency:{name:"omChain",symbol:"OMC",decimals:18},networkId:21816,rpc:["https://21816.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed.omchain.io"],shortName:"omc",slug:"omchain",testnet:!1},Ogt={chain:"Avalanche",chainId:21825,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6991",nativeCurrency:{name:"QaUser6991 Token",symbol:"HIO",decimals:18},networkId:21825,redFlags:[],rpc:["https://21825.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6991",slug:"qauser6991",testnet:!0},Ugt={chain:"BSL",chainId:21912,explorers:[{name:"BSL Mainnet Explorer",url:"https://scan.nftruth.io",standard:"EIP3091"}],faucets:[],infoURL:"https://bsquarelab.com/",name:"BSL Mainnet",nativeCurrency:{name:"Origin NFT",symbol:"ONF",decimals:18},networkId:21912,rpc:["https://21912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc-mainnet.nftruth.io:8545","ws://rpc-mainnet.nftruth.io:8645"],shortName:"onf",slug:"bsl",testnet:!1},Hgt={chain:"Taycan",chainId:22023,explorers:[{name:"Taycan Explorer(Blockscout)",url:"https://taycan-evmscan.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}},{name:"Taycan Cosmos Explorer(BigDipper)",url:"https://taycan-cosmoscan.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"},infoURL:"https://hupayx.io",name:"Taycan",nativeCurrency:{name:"shuffle",symbol:"SFL",decimals:18},networkId:22023,rpc:["https://22023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://taycan-rpc.hupayx.io:8545"],shortName:"SFL",slug:"taycan",testnet:!1},zgt={chain:"Avalanche",chainId:22039,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1631",nativeCurrency:{name:"QaUser1631 Token",symbol:"UVA",decimals:18},networkId:22039,redFlags:[],rpc:["https://22039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1631",slug:"qauser1631",testnet:!0},Wgt={chain:"ambnet-test",chainId:22040,explorers:[{name:"AirDAO Network Explorer",url:"https://testnet.airdao.io/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSxXjvWng3Diz4YwXDV2VqSPgMyzLYBNfkjJcr7rzkxom",width:400,height:400,format:"png"},infoURL:"https://testnet.airdao.io",name:"AirDAO Testnet",nativeCurrency:{name:"Amber",symbol:"AMB",decimals:18},networkId:22040,rpc:["https://22040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://network.ambrosus-test.io"],shortName:"airdao-test",slip44:1,slug:"airdao-testnet",testnet:!0},qgt={chain:"ETH",chainId:22222,explorers:[{name:"Nautscan",url:"https://nautscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"},infoURL:"https://docs.nautchain.xyz",name:"Nautilus Mainnet",nativeCurrency:{name:"Zebec",symbol:"ZBC",decimals:18},networkId:22222,rpc:["https://22222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.nautilus.nautchain.xyz"],shortName:"NAUTCHAIN",slug:"nautilus",testnet:!1},jgt={chain:"GoldXTestnet",chainId:22324,explorers:[{name:"GoldXChain Testnet Explorer",url:"https://testnet-explorer.goldxchain.io",standard:"EIP3091"}],faucets:["https://faucet.goldxchain.io"],infoURL:"https://goldxchain.io",name:"GoldXChain Testnet",nativeCurrency:{name:"GoldX",symbol:"GOLDX",decimals:18},networkId:22324,rpc:["https://22324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.goldxchain.io"],shortName:"goldx-testnet",slug:"goldxchain-testnet",testnet:!0},Ggt={chain:"Avalanche",chainId:22662,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QA5-03-07 Testnet",nativeCurrency:{name:"QA5-03-07 Testnet Token",symbol:"TYP",decimals:18},networkId:22662,redFlags:[],rpc:["https://22662.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QA5-03-07 Testnet",slug:"qa5-03-07-testnet",testnet:!0},Kgt={chain:"MAPO",chainId:22776,explorers:[{name:"maposcan",url:"https://maposcan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmcLdQ8gM4iHv3CCKA9HuxmzTxY4WhjWtepUVCc3dpzKxD",width:512,height:512,format:"png"},infoURL:"https://mapprotocol.io/",name:"MAP Protocol",nativeCurrency:{name:"MAPO",symbol:"MAPO",decimals:18},networkId:22776,rpc:["https://22776.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.maplabs.io"],shortName:"mapo",slip44:60,slug:"map-protocol",testnet:!1},Qgt={chain:"Avalanche",chainId:22886,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"MBM",decimals:18},networkId:22886,redFlags:[],rpc:["https://22886.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet",testnet:!0},Vgt={chain:"ETH",chainId:22985,explorers:[{name:"beyond-sepolia-3wng1zu3j3 explorer",url:"https://explorerl2new-beyond-sepolia-3wng1zu3j3.t.conduit.xyz",standard:"standard",icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"},infoURL:"https://explorerl2new-beyond-sepolia-3wng1zu3j3.t.conduit.xyz",name:"Beyond Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:22985,redFlags:[],rpc:["https://22985.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-beyond-sepolia-3wng1zu3j3.t.conduit.xyz"],shortName:"beyond-sepolia",slug:"beyond-sepolia",testnet:!0},Ygt={chain:"ABN",chainId:23006,explorers:[{name:"Antofy Testnet",url:"https://test.antofyscan.com",standard:"EIP3091"}],faucets:["https://faucet.antofy.io"],icon:{url:"ipfs://QmdTfku81ohnG9ECU1Xswmeumt678cBhwHWuFYZ7i1Qsto",width:400,height:400,format:"png"},infoURL:"https://antofy.io",name:"Antofy Testnet",nativeCurrency:{name:"Antofy",symbol:"ABN",decimals:18},networkId:23006,rpc:["https://23006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.antofy.io"],shortName:"ABNt",slip44:1,slug:"antofy-testnet",testnet:!0},$gt={chain:"Opside",chainId:23118,explorers:[{name:"opsideInfo",url:"https://opside.info",standard:"EIP3091"}],faucets:["https://faucet.opside.network"],icon:{url:"ipfs://QmeCyZeibUoHNoYGzy1GkzH2uhxyRHKvH51PdaUMer4VTo",width:591,height:591,format:"png"},infoURL:"https://opside.network",name:"Opside Testnet",nativeCurrency:{name:"IDE",symbol:"IDE",decimals:18},networkId:23118,rpc:["https://23118.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.opside.network"],shortName:"opside",slip44:1,slug:"opside-testnet",testnet:!0},Jgt={chain:"Sapphire",chainId:23294,explorers:[{name:"Oasis Sapphire Explorer",url:"https://explorer.oasis.io/mainnet/sapphire",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/sapphire",name:"Oasis Sapphire",nativeCurrency:{name:"Sapphire Rose",symbol:"ROSE",decimals:18},networkId:23294,rpc:["https://23294.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sapphire.oasis.io","wss://sapphire.oasis.io/ws"],shortName:"sapphire",slug:"oasis-sapphire",testnet:!1},Xgt={chain:"Sapphire",chainId:23295,explorers:[{name:"Oasis Sapphire Testnet Explorer",url:"https://explorer.oasis.io/testnet/sapphire",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/sapphire",name:"Oasis Sapphire Testnet",nativeCurrency:{name:"Sapphire Test Rose",symbol:"TEST",decimals:18},networkId:23295,rpc:["https://23295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.sapphire.oasis.io","wss://testnet.sapphire.oasis.io/ws"],shortName:"sapphire-testnet",slip44:1,slug:"oasis-sapphire-testnet",testnet:!0},Zgt={chain:"Avalanche",chainId:23444,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402272",nativeCurrency:{name:"QI M 2402272 Token",symbol:"OVU",decimals:18},networkId:23444,redFlags:[],rpc:["https://23444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402272",slug:"qi-m-2402272",testnet:!0},evt={chain:"DreyerX",chainId:23451,explorers:[{name:"drxscan",url:"https://scan.dreyerx.com",standard:"EIP3091",icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"},infoURL:"https://dreyerx.com",name:"DreyerX Mainnet",nativeCurrency:{name:"DreyerX",symbol:"DRX",decimals:18},networkId:23451,rpc:["https://23451.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dreyerx.com"],shortName:"dreyerx",slug:"dreyerx",testnet:!1},tvt={chain:"DreyerX",chainId:23452,explorers:[{name:"drxscan",url:"https://testnet-scan.dreyerx.com",standard:"EIP3091",icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"},infoURL:"https://dreyerx.com",name:"DreyerX Testnet",nativeCurrency:{name:"DreyerX",symbol:"DRX",decimals:18},networkId:23452,rpc:["https://23452.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.dreyerx.com"],shortName:"dreyerx-testnet",slug:"dreyerx-testnet",testnet:!0},nvt={chain:"Avalanche",chainId:23812,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"kjCohan Testnet",nativeCurrency:{name:"kjCohan Testnet Token",symbol:"DBM",decimals:18},networkId:23812,redFlags:[],rpc:["https://23812.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/d2b6bd35-89f7-4019-bc88-643c31221e5c"],shortName:"kjCohan Testnet",slug:"kjcohan-testnet",testnet:!0},avt={chain:"ETH",chainId:23888,explorers:[{name:"Blast Testnet",url:"http://testnet-explorer.blastblockchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdHpjiepU2Q4bt4kR48tKHPgaQW57Sb6UVFgLh4MCyg6U",width:595,height:582,format:"png"},infoURL:"https://docs.blastblockchain.com",name:"Blast Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:23888,rpc:["https://23888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet-rpc.blastblockchain.com"],shortName:"blastT",slug:"blast-testnet",testnet:!0},rvt={chain:"Avalanche",chainId:23934,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"ST 11-16 v7 Regression",nativeCurrency:{name:"ST 11-16 v7 Regression Token",symbol:"WLA",decimals:18},networkId:23934,redFlags:[],rpc:["https://23934.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 11-16 v7 Regression",slug:"st-11-16-v7-regression",testnet:!0},fvt={chain:"Avalanche",chainId:24010,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Stealthnet Testing ",nativeCurrency:{name:"Stealthnet Testing Token",symbol:"AVCLDDEV",decimals:18},networkId:24010,redFlags:[],rpc:["https://24010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/stealthnet/testnet/rpc"],shortName:"Stealthnet Testing ",slug:"stealthnet-testing",testnet:!0},ivt={chain:"Avalanche",chainId:24070,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0315I2 Testnet",nativeCurrency:{name:"QI0315I2 Testnet Token",symbol:"GAW",decimals:18},networkId:24070,redFlags:[],rpc:["https://24070.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0315I2 Testnet",slug:"qi0315i2-testnet",testnet:!0},svt={chain:"Avalanche",chainId:24347,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnet 02-27",nativeCurrency:{name:"Tnet 02-27 Token",symbol:"TJO",decimals:18},networkId:24347,redFlags:[],rpc:["https://24347.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnet 02-27",slug:"tnet-02-27",testnet:!0},ovt={chain:"WEB",chainId:24484,explorers:[],faucets:[],infoURL:"https://webchain.network",name:"Webchain",nativeCurrency:{name:"Webchain Ether",symbol:"WEB",decimals:18},networkId:37129,rpc:[],shortName:"web",slip44:227,slug:"webchain",testnet:!1},cvt={chain:"Avalanche",chainId:24538,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402133",nativeCurrency:{name:"QI M 2402133 Token",symbol:"XVL",decimals:18},networkId:24538,redFlags:[],rpc:["https://24538.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402133",slug:"qi-m-2402133",testnet:!0},dvt={chain:"Avalanche",chainId:24545,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9167 Testnet",nativeCurrency:{name:"QaUser9167 Testnet Token",symbol:"HBG",decimals:18},networkId:24545,redFlags:[],rpc:["https://24545.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9167 Testnet",slug:"qauser9167-testnet",testnet:!0},lvt={chain:"Avalanche",chainId:24668,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4994 Testnet",nativeCurrency:{name:"QaUser4994 Testnet Token",symbol:"PBE",decimals:18},networkId:24668,redFlags:[],rpc:["https://24668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4994 Testnet",slug:"qauser4994-testnet",testnet:!0},uvt={chain:"MINTME",chainId:24734,explorers:[],faucets:[],infoURL:"https://www.mintme.com",name:"MintMe.com Coin",nativeCurrency:{name:"MintMe.com Coin",symbol:"MINTME",decimals:18},networkId:37480,rpc:["https://24734.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.mintme.com"],shortName:"mintme",slug:"mintme-com-coin",testnet:!1},pvt={chain:"Avalanche",chainId:24867,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser45 Testnet",nativeCurrency:{name:"QaUser45 Testnet Token",symbol:"ZAG",decimals:18},networkId:24867,redFlags:[],rpc:["https://24867.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser45 Testnet",slug:"qauser45-testnet",testnet:!0},hvt={chain:"LiquidLayer",chainId:25186,explorers:[{name:"LiquidLayer Mainnet Explorer",url:"https://scan.liquidlayer.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiayuuzfpcgwjll4us4hquvpqa5gwq3lbiedv4qftmlwcxhcyjzzpq",width:500,height:500,format:"png"},infoURL:"https://scan.liquidlayer.network",name:"LiquidLayer Mainnet",nativeCurrency:{name:"LiquidLayer",symbol:"LILA",decimals:18},networkId:25186,rpc:["https://25186.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.liquidlayer.network"],shortName:"LILA",slug:"liquidlayer",testnet:!1},bvt={chain:"Avalanche",chainId:25284,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405021",nativeCurrency:{name:"QIM2405021 Token",symbol:"UZP",decimals:18},networkId:25284,redFlags:[],rpc:["https://25284.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405021",slug:"qim2405021",testnet:!0},mvt={chain:"Avalanche",chainId:25688,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0520T1TD",nativeCurrency:{name:"QR0520T1TD Token",symbol:"DYH",decimals:18},networkId:25688,redFlags:[],rpc:["https://25688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0520t1td/testnet/rpc"],shortName:"QR0520T1TD",slug:"qr0520t1td",testnet:!0},yvt={chain:"tALV",chainId:25839,explorers:[{name:"AlveyScan Testnet",url:"https://alveytestnet.com",standard:"EIP3091",icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"}}],faucets:["https://faucet.alveytestnet.com"],icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"},infoURL:"https://alveychain.com/",name:"AlveyChain Testnet",nativeCurrency:{name:"AlveyCoin Testnet",symbol:"tALV",decimals:18},networkId:25839,rpc:["https://25839.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.alvey.io"],shortName:"talv",slug:"alveychain-testnet",testnet:!0},gvt={chain:"HammerChain",chainId:25888,explorers:[{name:"Hammer Chain Explorer",url:"https://www.hammerchain.io",standard:"none"}],faucets:[],infoURL:"https://www.hammerchain.io",name:"Hammer Chain Mainnet",nativeCurrency:{name:"GOLDT",symbol:"GOLDT",decimals:18},networkId:25888,rpc:["https://25888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.hammerchain.io/rpc"],shortName:"GOLDT",slug:"hammer-chain",testnet:!1},vvt={chain:"BKC",chainId:25925,explorers:[{name:"bkcscan-testnet",url:"https://testnet.bkcscan.com",standard:"none",icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"}}],faucets:["https://faucet.bitkubchain.com"],icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"},infoURL:"https://www.bitkubchain.com/",name:"Bitkub Chain Testnet",nativeCurrency:{name:"Bitkub Coin",symbol:"tKUB",decimals:18},networkId:25925,rpc:["https://25925.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bitkubchain.io","wss://wss-testnet.bitkubchain.io"],shortName:"bkct",slip44:1,slug:"bitkub-chain-testnet",testnet:!0},wvt={chain:"Avalanche",chainId:25968,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5275",nativeCurrency:{name:"QaUser5275 Token",symbol:"EZL",decimals:18},networkId:25968,redFlags:[],rpc:["https://25968.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5275",slug:"qauser5275",testnet:!0},Tvt={chain:"tFRM",chainId:26026,explorers:[{name:"polkadotjs",url:"https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Ftestnet.dev.svcs.ferrumnetwork.io#/explorer",standard:"none"}],faucets:["https://testnet.faucet.ferrumnetwork.io"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://ferrum.network",name:"Ferrum Testnet",nativeCurrency:{name:"Ferrum",symbol:"tFRM",decimals:18},networkId:26026,rpc:["https://26026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.dev.svcs.ferrumnetwork.io:9933"],shortName:"frm",slip44:1,slug:"ferrum-testnet",testnet:!0},xvt={chain:"Avalanche",chainId:26031,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7894 Testnet",nativeCurrency:{name:"QaUser7894 Testnet Token",symbol:"YUT",decimals:18},networkId:26031,redFlags:[],rpc:["https://26031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7894 Testnet",slug:"qauser7894-testnet",testnet:!0},Evt={chain:"Avalanche",chainId:26563,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2404261",nativeCurrency:{name:"QIM2404261 Token",symbol:"YCW",decimals:18},networkId:26563,redFlags:[],rpc:["https://26563.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2404261",slug:"qim2404261",testnet:!0},_vt={chain:"HTZ",chainId:26600,explorers:[{name:"Hertz Scan",url:"https://hertzscan.com",standard:"EIP3091",icon:{url:"ipfs://Qmf3GYbPXmTDpSP6t7Ug2j5HjEwrY5oGhBDP7d4TQHvGnG",width:162,height:129,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmf3GYbPXmTDpSP6t7Ug2j5HjEwrY5oGhBDP7d4TQHvGnG",width:162,height:129,format:"png"},infoURL:"https://www.hertz-network.com",name:"Hertz Network Mainnet",nativeCurrency:{name:"Hertz",symbol:"HTZ",decimals:18},networkId:26600,rpc:["https://26600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.hertzscan.com"],shortName:"HTZ",slug:"hertz-network",testnet:!1},Avt={chain:"Avalanche",chainId:26730,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet-AJJ",nativeCurrency:{name:"Testnet-AJJ Token",symbol:"AJJ",decimals:18},networkId:26730,redFlags:[],rpc:["https://26730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet-AJJ",slug:"testnet-ajj",testnet:!0},Cvt={chain:"OasisChain",chainId:26863,explorers:[{name:"OasisChain Explorer",url:"https://scan.oasischain.io",standard:"EIP3091"}],faucets:["http://faucet.oasischain.io"],infoURL:"https://scan.oasischain.io",name:"OasisChain Mainnet",nativeCurrency:{name:"OAC",symbol:"OAC",decimals:18},networkId:26863,rpc:["https://26863.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.oasischain.io","https://rpc2.oasischain.io","https://rpc3.oasischain.io"],shortName:"OAC",slug:"oasischain",testnet:!1},Ivt={chain:"KLAOS Nova",chainId:27181,explorers:[{name:"blockscout",url:"https://blockscout.klaosnova.laosfoundation.io",standard:"EIP3091",icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"},infoURL:"https://www.laosfoundation.io/",name:"KLAOS Nova",nativeCurrency:{name:"KLAOS",symbol:"KLAOS",decimals:18},networkId:27181,rpc:["https://27181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.klaosnova.laosfoundation.io","wss://rpc.klaosnova.laosfoundation.io"],shortName:"klaosnova",slug:"klaos-nova",testnet:!0,title:"KLAOS Nova Test Chain"},kvt={chain:"ETH",chainId:27483,explorers:[{name:"Nanon Sepolia Rollup Testnet Explorer",url:"https://sepolia-explorer.nanon.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiduib2fygrwziqpy4yuqr6vvnd6elhahpigbcowcipjjhk6c3qiny",width:400,height:400,format:"png"},infoURL:"https://www.nanon.network",name:"Nanon Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:27483,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://sepolia-bridge.nanon.network"}]},rpc:["https://27483.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.nanon.network"],shortName:"Nanon-Testnet",slip44:1,slug:"nanon-sepolia",testnet:!0,title:"Nanon Sepolia Rollup Testnet"},Svt={chain:"Avalanche",chainId:27550,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405065 NO INTEROP NO SIM",nativeCurrency:{name:"QIM2405065 NO INTEROP NO SIM Token",symbol:"BLY",decimals:18},networkId:27550,redFlags:[],rpc:["https://27550.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qim2405065/testnet/rpc"],shortName:"QIM2405065 NO INTEROP NO SIM",slug:"qim2405065-no-interop-no-sim",testnet:!0},Rvt={chain:"Avalanche",chainId:27827,explorers:[{name:"ZEROONEMAI Explorer",url:"https://subnets.avax.network/zeroonemai",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"zeroone Mainnet",nativeCurrency:{name:"zeroone Mainnet Token",symbol:"ZERO",decimals:18},networkId:27827,redFlags:[],rpc:["https://27827.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/zeroonemai/mainnet/rpc"],shortName:"zeroone Mainnet",slug:"zeroone",testnet:!1},Mvt={chain:"Avalanche",chainId:28106,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Mezzanine Testnet",nativeCurrency:{name:"Mezzanine Testnet Token",symbol:"OWQ",decimals:18},networkId:28106,redFlags:[],rpc:["https://28106.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mezzaninet/testnet/rpc"],shortName:"Mezzanine Testnet",slug:"mezzanine-testnet",testnet:!0},Bvt={chain:"Avalanche",chainId:28408,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405062 NO INTEROP",nativeCurrency:{name:"QIM2405062 NO INTEROP Token",symbol:"BLY",decimals:18},networkId:28408,redFlags:[],rpc:["https://28408.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405062 NO INTEROP",slug:"qim2405062-no-interop",testnet:!0},Dvt={chain:"Vizing Testnet",chainId:28516,explorers:[{name:"blockscout",url:"https://explorer-sepolia.vizing.com",standard:"EIP3091",icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"},infoURL:"https://vizing.com",name:"Vizing Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28516,rpc:["https://28516.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sepolia.vizing.com"],shortName:"Vizing-Testnet",slug:"vizing-testnet",testnet:!0,title:"Vizing Testnet"},Pvt={chain:"Vizing Mainnet",chainId:28518,explorers:[{name:"blockscout",url:"https://explorer.vizing.com",standard:"EIP3091",icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"},infoURL:"https://vizing.com",name:"Vizing Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28518,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.vizing.com"}]},rpc:["https://28518.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.vizing.com"],shortName:"Vizing",slug:"vizing",testnet:!1,title:"Vizing Mainnet"},Lvt={chain:"ETH",chainId:28528,explorers:[{name:"blockscout",url:"https://blockscout.com/optimism/bedrock-alpha",standard:"EIP3091"}],faucets:[],features:[],infoURL:"https://community.optimism.io/docs/developers/bedrock",name:"Optimism Bedrock (Goerli Alpha Testnet)",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:28528,redFlags:[],rpc:["https://28528.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-1-replica-0.bedrock-goerli.optimism.io","https://alpha-1-replica-1.bedrock-goerli.optimism.io","https://alpha-1-replica-2.bedrock-goerli.optimism.io"],shortName:"obgor",slip44:1,slug:"optimism-bedrock-goerli-alpha-testnet",status:"deprecated",testnet:!0},Fvt={chain:"ETH",chainId:28882,explorers:[{name:"Bobascan",url:"https://testnet.bobascan.com",standard:"none"}],faucets:["https://www.l2faucet.com/boba"],infoURL:"https://boba.network",name:"Boba Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28882,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://28882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.boba.network","https://boba-sepolia.gateway.tenderly.co","https://gateway.tenderly.co/public/boba-sepolia","wss://boba-sepolia.gateway.tenderly.co/","wss://gateway.tenderly.co/public/boba-sepolia"],shortName:"BobaSepolia",slug:"boba-sepolia",testnet:!0},Nvt={chain:"Avalanche",chainId:28982,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"RUI",decimals:18},networkId:28982,redFlags:[],rpc:["https://28982.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet",testnet:!0},Ovt={chain:"ETH",chainId:29112,explorers:[{name:"blockscout",url:"https://testnet.explorer.hychain.com",standard:"EIP3091",icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"},infoURL:"https://www.hychain.com",name:"HYCHAIN Testnet",nativeCurrency:{name:"TOPIA",symbol:"TOPIA",decimals:18},networkId:29112,parent:{type:"L2",chain:"eip155-58008",bridges:[]},redFlags:[],rpc:["https://29112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.hychain.com/http"],shortName:"hychain-testnet",slug:"hychain-testnet",testnet:!0},Uvt={chain:"Avalanche",chainId:29386,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4106 Testnet",nativeCurrency:{name:"QaUser4106 Testnet Token",symbol:"BBS",decimals:18},networkId:29386,redFlags:[],rpc:["https://29386.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4106 Testnet",slug:"qauser4106-testnet",testnet:!0},Hvt={chain:"Avalanche",chainId:29442,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402055",nativeCurrency:{name:"QI M 2402055 Token",symbol:"ACI",decimals:18},networkId:29442,redFlags:[],rpc:["https://29442.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402055",slug:"qi-m-2402055",testnet:!0},zvt={chain:"KaiChain",chainId:29536,explorers:[{name:"KaiChain Explorer",url:"https://testnet-explorer.kaichain.net",standard:"EIP3091"}],faucets:["https://faucet.kaichain.net"],infoURL:"https://kaichain.net",name:"KaiChain Testnet",nativeCurrency:{name:"KaiChain Testnet Native Token",symbol:"KEC",decimals:18},networkId:29536,rpc:["https://29536.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.kaichain.net"],shortName:"tkec",slug:"kaichain-testnet",testnet:!0},Wvt={chain:"MCH Verse",chainId:29548,explorers:[{name:"MCH Verse Explorer",url:"https://explorer.oasys.mycryptoheroes.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZZnwR1y6cU1sare2TQmwqkNDLXQxD4GdPrmHLmUoPtbU",width:4e3,height:4e3,format:"png"},infoURL:"https://www.mycryptoheroes.net/verse",name:"MCH Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:29548,parent:{type:"L2",chain:"eip155-248"},rpc:["https://29548.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.oasys.mycryptoheroes.net"],shortName:"MCHV",slug:"mch-verse",testnet:!1},qvt={chain:"Avalanche",chainId:29645,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6355 Testnet",nativeCurrency:{name:"QaUser6355 Testnet Token",symbol:"MQO",decimals:18},networkId:29645,redFlags:[],rpc:["https://29645.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6355 Testnet",slug:"qauser6355-testnet",testnet:!0},jvt={chain:"Avalanche",chainId:29830,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6165 Testnet",nativeCurrency:{name:"QaUser6165 Testnet Token",symbol:"TGQ",decimals:18},networkId:29830,redFlags:[],rpc:["https://29830.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6165 Testnet",slug:"qauser6165-testnet",testnet:!0},Gvt={chain:"PieceNetwork",chainId:30067,explorers:[{name:"Piece Scan",url:"https://testnet-scan.piecenetwork.com",standard:"EIP3091"}],faucets:["https://piecenetwork.com/faucet"],icon:{url:"ipfs://QmWAU39z1kcYshAqkENRH8qUjfR5CJehCxA4GiC33p3HpH",width:800,height:800,format:"png"},infoURL:"https://piecenetwork.com",name:"Piece testnet",nativeCurrency:{name:"ECE",symbol:"ECE",decimals:18},networkId:30067,rpc:["https://30067.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc0.piecenetwork.com"],shortName:"Piece",slip44:1,slug:"piece-testnet",testnet:!0},Kvt={chain:"MiYou Chain",chainId:30088,ens:{registry:"0xFEfa9B3061435977424DD947E756566cFB60473E"},explorers:[{name:"MiYou block explorer",url:"https://myscan.miyou.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmfP1QDK42B7EzYWsYN2PGfjkZUQtSjm1k5gNNT52ixsKL",width:216,height:216,format:"png"},infoURL:"https://www.miyou.io",name:"MiYou Mainnet",nativeCurrency:{name:"Miyou",symbol:"MY",decimals:18},networkId:30088,rpc:["https://30088.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain.miyou.io","https://blockchain.miyoulab.com"],shortName:"MiYou",slip44:60,slug:"miyou",testnet:!1},Qvt={chain:"CAU",chainId:30103,explorers:[{name:"canxium explorer",url:"https://cerium-explorer.canxium.net",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXHSbtVNCJVfe2CvRH7njdyf2SrX5u5bNTfvhqjLeFN2A",width:938,height:938,format:"png"},infoURL:"https://canxium.org",name:"Cerium Testnet",nativeCurrency:{name:"Canxium",symbol:"CAU",decimals:18},networkId:30103,rpc:["https://30103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cerium-rpc.canxium.net"],shortName:"ceri",slip44:1,slug:"cerium-testnet",testnet:!0},Vvt={chain:"Avalanche",chainId:30226,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"JPQ",decimals:18},networkId:30226,redFlags:[],rpc:["https://30226.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet-30226",testnet:!0},Yvt={chain:"Avalanche",chainId:30266,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnet02-06",nativeCurrency:{name:"Tnet02-06 Token",symbol:"LFC",decimals:18},networkId:30266,redFlags:[],rpc:["https://30266.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnet02-06",slug:"tnet02-06",testnet:!0},$vt={chain:"Avalanche",chainId:30289,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0528I1",nativeCurrency:{name:"QI0528I1 Token",symbol:"JQI",decimals:18},networkId:30289,redFlags:[],rpc:["https://30289.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0528I1",slug:"qi0528i1",testnet:!0},Jvt={chain:"Avalanche",chainId:30406,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"MUGEN Testnet",nativeCurrency:{name:"MUGEN Testnet Token",symbol:"MGN",decimals:18},networkId:30406,redFlags:[],rpc:["https://30406.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mugen/testnet/rpc"],shortName:"MUGEN Testnet",slug:"mugen-testnet",testnet:!0},Xvt={chain:"MOVE",chainId:30730,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM Legacy",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:30730,rpc:[],shortName:"moveleg",slug:"movement-evm-legacy",status:"incubating",testnet:!1},Zvt={chain:"MOVE",chainId:30731,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM Devnet",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:30731,rpc:[],shortName:"movedev",slug:"movement-evm-devnet",status:"incubating",testnet:!1},ewt={chain:"MOVE",chainId:30732,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM Testnet",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:30732,rpc:[],shortName:"movetest",slug:"movement-evm-testnet",status:"incubating",testnet:!0},twt={chain:"Avalanche",chainId:30772,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0835",nativeCurrency:{name:"QaUser0835 Token",symbol:"VIG",decimals:18},networkId:30772,redFlags:[],rpc:["https://30772.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0835",slug:"qauser0835",testnet:!0},nwt={chain:"Avalanche",chainId:30891,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"CXY",decimals:18},networkId:30891,redFlags:[],rpc:["https://30891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/e8b04790-d50c-4bb1-89ba-7bd140b674f3"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet-jambon's testnet",testnet:!0},awt={chain:"Avalanche",chainId:30915,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Deboard's Testnet",nativeCurrency:{name:"Deboard's Testnet Token",symbol:"DEVAX",decimals:18},networkId:30915,redFlags:[],rpc:["https://30915.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/deboardste/testnet/rpc"],shortName:"Deboard's Testnet",slug:"deboard-s-testnet",testnet:!0},rwt={chain:"ESN",chainId:31102,explorers:[],faucets:[],infoURL:"https://ethersocial.org",name:"Ethersocial Network",nativeCurrency:{name:"Ethersocial Network Ether",symbol:"ESN",decimals:18},networkId:1,rpc:["https://31102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.esn.gonspool.com"],shortName:"esn",slip44:31102,slug:"ethersocial-network",testnet:!1},fwt={chain:"CLD",chainId:31223,explorers:[{name:"cloudtxscan",url:"https://scan.cloudtx.finance",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSEsi71AdA5HYH6VNC5QUQezFg1C7BiVQJdx1VVfGz3g3",width:713,height:830,format:"png"},infoURL:"https://cloudtx.finance",name:"CloudTx Mainnet",nativeCurrency:{name:"CloudTx",symbol:"CLD",decimals:18},networkId:31223,rpc:["https://31223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.cloudtx.finance"],shortName:"CLDTX",slug:"cloudtx",testnet:!1},iwt={chain:"CloudTx",chainId:31224,explorers:[{name:"cloudtxexplorer",url:"https://explorer.cloudtx.finance",standard:"EIP3091"}],faucets:["https://faucet.cloudtx.finance"],icon:{url:"ipfs://QmSEsi71AdA5HYH6VNC5QUQezFg1C7BiVQJdx1VVfGz3g3",width:713,height:830,format:"png"},infoURL:"https://cloudtx.finance/",name:"CloudTx Testnet",nativeCurrency:{name:"CloudTx",symbol:"CLD",decimals:18},networkId:31224,rpc:["https://31224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.cloudtx.finance"],shortName:"CLD",slip44:1,slug:"cloudtx-testnet",testnet:!0},swt={chain:"GO",chainId:31337,explorers:[{name:"GoChain Testnet Explorer",url:"https://testnet-explorer.gochain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://gochain.io",name:"GoChain Testnet",nativeCurrency:{name:"GoChain Coin",symbol:"GO",decimals:18},networkId:31337,rpc:["https://31337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.gochain.io"],shortName:"got",slip44:1,slug:"gochain-testnet",testnet:!0},owt={chain:"Avalanche",chainId:31338,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT8 Testnet",nativeCurrency:{name:"LT8 Testnet Token",symbol:"LT",decimals:18},networkId:31338,redFlags:[],rpc:["https://31338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt8/testnet/rpc"],shortName:"LT8 Testnet",slug:"lt8-testnet",testnet:!0},cwt={chain:"Avalanche",chainId:31339,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT9",nativeCurrency:{name:"LT9 Token",symbol:"LT",decimals:18},networkId:31339,redFlags:[],rpc:["https://31339.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt9/testnet/rpc"],shortName:"LT9",slug:"lt9",testnet:!0},dwt={chain:"Evoke",chainId:31414,explorers:[{name:"Evoke SmartChain Testnet Explorer",url:"https://testnet-explorer.evokescan.org",standard:"EIP3091"}],faucets:["https://faucet.evokescan.org"],icon:{url:"ipfs://bafkreia5q26knsvxgkwxze7woepvsqat5n2hodokh4ozzphmhexqez5s34",width:100,height:100,format:"png"},infoURL:"https://testnet-explorer.evokescan.org",name:"Evoke Testnet",nativeCurrency:{name:"MTHN Testnet",symbol:"MTHN",decimals:18},networkId:31414,rpc:["https://31414.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.evokescan.org"],shortName:"tmthn",slug:"evoke-testnet",testnet:!0},lwt={chain:"FIL",chainId:31415,explorers:[],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Wallaby testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:31415,rpc:[],shortName:"filecoin-wallaby",slip44:1,slug:"filecoin-wallaby-testnet",status:"deprecated",testnet:!0},uwt={chain:"Avalanche",chainId:31646,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9492 Testnet",nativeCurrency:{name:"QaUser9492 Testnet Token",symbol:"UVI",decimals:18},networkId:31646,redFlags:[],rpc:["https://31646.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9492 Testnet",slug:"qauser9492-testnet",testnet:!0},pwt={chain:"Xchain",chainId:31753,explorers:[{name:"Xchain Mainnet Explorer",url:"https://xchainscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeia5n537fj2mkfcwmjfwktkmqrcwef3affdodhxnvmkg2gkvmbv2ke",width:500,height:500,format:"png"},infoURL:"https://xchainscan.com",name:"Xchain Mainnet",nativeCurrency:{name:"Intdestcoin",symbol:"INTD",decimals:18},networkId:31753,rpc:["https://31753.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xchainscan.com"],shortName:"INTD",slug:"xchain",testnet:!1},hwt={chain:"Xchain",chainId:31754,explorers:[{name:"Xchain Testnet Explorer",url:"https://xchaintest.net",standard:"EIP3091"}],faucets:["https://xchainfaucet.net"],icon:{url:"ipfs://bafybeia5n537fj2mkfcwmjfwktkmqrcwef3affdodhxnvmkg2gkvmbv2ke",width:500,height:500,format:"png"},infoURL:"https://xchaintest.net",name:"Xchain Testnet",nativeCurrency:{name:"Intdestcoin Testnet",symbol:"INTD",decimals:18},networkId:31754,rpc:["https://31754.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xchaintest.net"],shortName:"tINTD",slug:"xchain-testnet",testnet:!0},bwt={chain:"ETH",chainId:31929,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmQHysdcSj7FemPm96k6ShNrc7bMcuzcqpD1gcUPY3YjA3/photo_2024-05-13%2017.19.03.jpeg",width:512,height:512,format:"jpeg"},name:"Worlds OP",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:31929,redFlags:[],rpc:["https://31929.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-worlds-hwbmpbzcnh.t.conduit.xyz/"],shortName:"WorldsOP",slug:"worlds-op",testnet:!0},mwt={chain:"ETH",chainId:32001,explorers:[{name:"W3Gamez Holesky Explorer",url:"https://w3gamez-holesky.web3games.com",standard:"EIP3091",icon:{url:"ipfs://QmUc57w3UTHiWapNW9oQb1dP57ymtdemTTbpvGkjVHBRCo",width:192,height:192,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaQdiE7vwxKeuWCjk4nKBikcpg4XCzQkFWGrAZHmMKnrq",width:400,height:400,format:"png"},infoURL:"https://web3games.com/",name:"W3Gamez Holesky Testnet",nativeCurrency:{name:"W3Gamez Testnet Ether",symbol:"ETH",decimals:18},networkId:32001,rpc:["https://32001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-holesky.w3gamez.network"],shortName:"w3gamez",slip44:1,slug:"w3gamez-holesky-testnet",testnet:!0},ywt={chain:"Avalanche",chainId:32277,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402058",nativeCurrency:{name:"QI M 2402058 Token",symbol:"ACI",decimals:18},networkId:32277,redFlags:[],rpc:["https://32277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402058",slug:"qi-m-2402058",testnet:!0},gwt={chain:"Avalanche",chainId:32366,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4578 Testnet",nativeCurrency:{name:"QaUser4578 Testnet Token",symbol:"EXP",decimals:18},networkId:32366,redFlags:[],rpc:["https://32366.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4578 Testnet",slug:"qauser4578-testnet",testnet:!0},vwt={chain:"Avalanche",chainId:32517,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4536 Testnet",nativeCurrency:{name:"QaUser4536 Testnet Token",symbol:"ZKJ",decimals:18},networkId:32517,redFlags:[],rpc:["https://32517.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4536 Testnet",slug:"qauser4536-testnet",testnet:!0},wwt={chain:"Brise",chainId:32520,explorers:[{name:"Brise Scan",url:"https://brisescan.com",standard:"EIP3091",icon:{url:"ipfs://QmY3vKe1rG9AyHSGH1ouP3ER3EVUZRtRrFbFZEfEpMSd4V",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmY3vKe1rG9AyHSGH1ouP3ER3EVUZRtRrFbFZEfEpMSd4V",width:512,height:512,format:"png"},infoURL:"https://bitgert.com/",name:"Bitgert Mainnet",nativeCurrency:{name:"Bitrise Token",symbol:"Brise",decimals:18},networkId:32520,rpc:["https://32520.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.icecreamswap.com","https://mainnet-rpc.brisescan.com","https://chainrpc.com","https://serverrpc.com"],shortName:"Brise",slug:"bitgert",testnet:!1},Twt={chain:"FSN",chainId:32659,explorers:[{name:"fsnscan",url:"https://fsnscan.com",standard:"EIP3091",icon:{url:"ipfs://QmSAFx34SKNi7a139agX12f68oBMo2Ktt9c8yD8aFa14gd",width:48,height:51,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX3tsEoj7SdaBLLV8VyyCUAmymdEGiSGeuTbxMrEMVvth",width:31,height:31,format:"svg"},infoURL:"https://fusion.org",name:"Fusion Mainnet",nativeCurrency:{name:"Fusion",symbol:"FSN",decimals:18},networkId:32659,rpc:["https://32659.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.fusionnetwork.io","wss://mainnet.fusionnetwork.io"],shortName:"fsn",slip44:288,slug:"fusion",testnet:!1},xwt={chain:"ZIL",chainId:32769,explorers:[{name:"Zilliqa EVM Explorer",url:"https://evmx.zilliqa.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:32769,rpc:["https://32769.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.zilliqa.com"],shortName:"zil",slug:"zilliqa-evm",testnet:!1},Ewt={chain:"ZIL",chainId:32990,explorers:[{name:"Zilliqa EVM Isolated Server Explorer",url:"https://devex.zilliqa.com/?network=https://zilliqa-isolated-server.zilliqa.com",standard:"none"}],faucets:["https://dev-wallet.zilliqa.com/faucet?network=isolated_server"],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM Isolated Server",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:32990,rpc:["https://32990.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zilliqa-isolated-server.zilliqa.com/"],shortName:"zil-isolated-server",slug:"zilliqa-evm-isolated-server",testnet:!1},_wt={chain:"NGL",chainId:33033,explorers:[{name:"Entangle Mainnet Explorer",url:"https://explorer.entangle.fi",standard:"none"}],faucets:[],icon:{url:"ipfs://QmUQiosuH8ib8aXSpYcJRTje9Lro9VeZyd4cNXrXGY5r8D",width:100,height:100,format:"svg"},infoURL:"https://www.entangle.fi",name:"Entangle Mainnet",nativeCurrency:{name:"Entangle",symbol:"NGL",decimals:18},networkId:33033,rpc:["https://33033.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.entangle.fi"],shortName:"ngl",slug:"entangle",testnet:!1},Awt={chain:"ZIL",chainId:33101,explorers:[{name:"Zilliqa EVM Explorer",url:"https://evmx.zilliqa.com",standard:"none"}],faucets:["https://dev-wallet.zilliqa.com/faucet?network=testnet"],infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM Testnet",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:33101,rpc:["https://33101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dev-api.zilliqa.com"],shortName:"zil-testnet",slip44:1,slug:"zilliqa-evm-testnet",testnet:!0},Cwt={chain:"NGL",chainId:33133,explorers:[],faucets:[],icon:{url:"ipfs://QmUQiosuH8ib8aXSpYcJRTje9Lro9VeZyd4cNXrXGY5r8D",width:100,height:100,format:"svg"},infoURL:"https://www.entangle.fi",name:"Entangle Testnet",nativeCurrency:{name:"Entangle",symbol:"NGL",decimals:18},networkId:33133,rpc:["https://33133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-testnet.entangle.fi"],shortName:"tngl",slug:"entangle-testnet",testnet:!0},Iwt={chain:"CLOUDVERSE",chainId:33210,explorers:[{name:"CLOUDVERSE Explorer",url:"https://subnets.avax.network/cloudverse",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://muadao.build/",name:"Cloudverse Subnet",nativeCurrency:{name:"XCLOUD",symbol:"XCLOUD",decimals:18},networkId:33210,rpc:["https://33210.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/cloudverse/mainnet/rpc"],shortName:"cloudverse",slug:"cloudverse-subnet",testnet:!1},kwt={chain:"AVS",chainId:33333,explorers:[{name:"avescan",url:"https://avescan.io",standard:"EIP3091",icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"},infoURL:"https://avescoin.io",name:"Aves Mainnet",nativeCurrency:{name:"Aves",symbol:"AVS",decimals:18},networkId:33333,rpc:["https://33333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.avescoin.io"],shortName:"avs",slug:"aves",testnet:!1},Swt={chain:"ZIL",chainId:33385,explorers:[{name:"Zilliqa EVM Devnet Explorer",url:"https://otterscan.devnet.zilliqa.com",standard:"EIP3091"}],faucets:["https://faucet.devnet.zilliqa.com/"],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM Devnet",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:33385,rpc:["https://33385.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.devnet.zilliqa.com/"],shortName:"zil-devnet",slug:"zilliqa-evm-devnet",testnet:!1},Rwt={chain:"Avalanche",chainId:33448,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s2 Testnet",nativeCurrency:{name:"QI0408s2 Testnet Token",symbol:"QCE",decimals:18},networkId:33448,redFlags:[],rpc:["https://33448.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s2 Testnet",slug:"qi0408s2-testnet",testnet:!0},Mwt={chain:"ZIL",chainId:33469,explorers:[{name:"Zilliqa-2 EVM Devnet Explorer",url:"https://explorer.zq2-devnet.zilliqa.com",standard:"EIP3091"}],faucets:["https://faucet.zq2-devnet.zilliqa.com"],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa-2 EVM Devnet",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:33469,rpc:["https://33469.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.zq2-devnet.zilliqa.com"],shortName:"zq2-devnet",slug:"zilliqa-2-evm-devnet",testnet:!1},Bwt={chain:"Avalanche",chainId:33795,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9260",nativeCurrency:{name:"QaUser9260 Token",symbol:"SBM",decimals:18},networkId:33795,redFlags:[],rpc:["https://33795.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9260",slug:"qauser9260",testnet:!0},Dwt={chain:"Avalanche",chainId:33841,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0422s2 Testnet",nativeCurrency:{name:"QI0422s2 Testnet Token",symbol:"HOS",decimals:18},networkId:33841,redFlags:[],rpc:["https://33841.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0422s2 Testnet",slug:"qi0422s2-testnet",testnet:!0},Pwt={chain:"Avalanche",chainId:33909,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Reg1116test",nativeCurrency:{name:"Reg1116test Token",symbol:"JUO",decimals:18},networkId:33909,redFlags:[],rpc:["https://33909.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Reg1116test",slug:"reg1116test",testnet:!0},Lwt={chain:"ETH",chainId:33979,explorers:[{name:"Funki Mainnet Explorer",url:"https://mainnet.funkichain.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWLjmfbjx2qZC39GCFXDzt72NXVTtDBVzVSq6rwaquyp3",width:1200,height:410,format:"png"},infoURL:"https://funkichain.com",name:"Funki",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:33979,rpc:[],shortName:"funki",slug:"funki",testnet:!1},Fwt={chain:"Avalanche",chainId:34295,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402132",nativeCurrency:{name:"QI M 2402132 Token",symbol:"CYB",decimals:18},networkId:34295,redFlags:[],rpc:["https://34295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402132",slug:"qi-m-2402132",testnet:!0},Nwt={chain:"ETH",chainId:34443,explorers:[{name:"modescout",url:"https://explorer.mode.network",standard:"none"}],faucets:[],infoURL:"https://docs.mode.network/",name:"Mode",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:34443,rpc:["https://34443.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.mode.network","https://mode.drpc.org","wss://mode.drpc.org"],shortName:"mode",slug:"mode",testnet:!1},Owt={chain:"Avalanche",chainId:34851,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0235",nativeCurrency:{name:"QaUser0235 Token",symbol:"GET",decimals:18},networkId:34851,redFlags:[],rpc:["https://34851.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0235",slug:"qauser0235",testnet:!0},Uwt={chain:"TARO",chainId:35011,explorers:[{name:"J2O Taro Explorer",url:"https://exp.j2o.io",standard:"EIP3091",icon:{url:"ipfs://QmdUYi8fjnvdM9iFQ7dwE2YvmhDtavSB3bKhCD2GhPxPks",width:512,height:512,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://j2o.io",name:"J2O Taro",nativeCurrency:{name:"TARO Coin",symbol:"taro",decimals:18},networkId:35011,rpc:["https://35011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.j2o.io"],shortName:"j2o",slug:"j2o-taro",testnet:!1},Hwt={chain:"Avalanche",chainId:35395,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Found 1-4-23",nativeCurrency:{name:"Found 1-4-23 Token",symbol:"TVJ",decimals:18},networkId:35395,redFlags:[],rpc:["https://35395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Found 1-4-23",slug:"found-1-4-23",testnet:!0},zwt={chain:"Avalanche",chainId:35439,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401122",nativeCurrency:{name:"QI M 2401122 Token",symbol:"HZU",decimals:18},networkId:35439,redFlags:[],rpc:["https://35439.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401122",slug:"qi-m-2401122",testnet:!0},Wwt={chain:"Q",chainId:35441,explorers:[{name:"Q explorer",url:"https://explorer.q.org",standard:"EIP3091",icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"},infoURL:"https://q.org",name:"Q Mainnet",nativeCurrency:{name:"QGOV",symbol:"QGOV",decimals:18},networkId:35441,rpc:["https://35441.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.q.org"],shortName:"q",slug:"q",testnet:!1},qwt={chain:"Q",chainId:35443,explorers:[{name:"Q explorer",url:"https://explorer.qtestnet.org",standard:"EIP3091",icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"},infoURL:"https://q.org/",name:"Q Testnet",nativeCurrency:{name:"Q token",symbol:"Q",decimals:18},networkId:35443,rpc:["https://35443.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.qtestnet.org"],shortName:"q-testnet",slip44:1,slug:"q-testnet",testnet:!0},jwt={chain:"Avalanche",chainId:35641,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3338",nativeCurrency:{name:"QaUser3338 Token",symbol:"BQL",decimals:18},networkId:35641,redFlags:[],rpc:["https://35641.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3338",slug:"qauser3338",testnet:!0},Gwt={chain:"Avalanche",chainId:35730,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QR1129I1",nativeCurrency:{name:"QR1129I1 Token",symbol:"YXAX",decimals:18},networkId:35730,redFlags:[],rpc:["https://35730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr1129i1/testnet/rpc"],shortName:"QR1129I1",slug:"qr1129i1",testnet:!0},Kwt={chain:"Avalanche",chainId:36530,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Super Subnet",nativeCurrency:{name:"Will's Super Subnet Token",symbol:"VRJ",decimals:18},networkId:36530,redFlags:[],rpc:["https://36530.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Super Subnet",slug:"will-s-super-subnet",testnet:!0},Qwt={chain:"Avalanche",chainId:36695,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan Yolo Testnet",nativeCurrency:{name:"Cohan Yolo Testnet Token",symbol:"KYI",decimals:18},networkId:36695,redFlags:[],rpc:["https://36695.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c033f73a-70ff-463d-b121-81b9542e11a1"],shortName:"Cohan Yolo Testnet",slug:"cohan-yolo-testnet",testnet:!0},Vwt={chain:"Avalanche",chainId:36746,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1213 Testnet",nativeCurrency:{name:"QaUser1213 Testnet Token",symbol:"ZKJ",decimals:18},networkId:36746,redFlags:[],rpc:["https://36746.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1213 Testnet",slug:"qauser1213-testnet",testnet:!0},Ywt={chain:"Avalanche",chainId:36908,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QR1205s1",nativeCurrency:{name:"QR1205s1 Token",symbol:"MDN",decimals:18},networkId:36908,redFlags:[],rpc:["https://36908.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr1205s1/testnet/rpc"],shortName:"QR1205s1",slug:"qr1205s1",testnet:!0},$wt={chain:"crtr-testnet",chainId:37003,explorers:[{name:"blockscout",url:"https://explorerl2new-crtr-testnet-mev0ni0xlx.t.conduit.xyz",standard:"EIP3091",icon:{url:"ipfs://QmbYKZ1MuDa1hzwLGjdCZGapuhV7C9uyRDPJWD994qbocY/generic-icon.png",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmbYKZ1MuDa1hzwLGjdCZGapuhV7C9uyRDPJWD994qbocY/generic-icon.png",width:512,height:512,format:"png"},name:"crtr-testnet",nativeCurrency:{name:"CRTR",symbol:"CRTR",decimals:18},networkId:37003,parent:{type:"L3",chain:"eip155-1",bridges:[]},redFlags:[],rpc:["https://37003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-crtr-testnet-mev0ni0xlx.t.conduit.xyz"],shortName:"crtr-testnet-mev0ni0xlx",slug:"crtr-testnet",testnet:!0},Jwt={chain:"Avalanche",chainId:37195,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Thari",nativeCurrency:{name:"Thari Token",symbol:"THARI",decimals:18},networkId:37195,redFlags:[],rpc:["https://37195.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/thari/testnet/rpc"],shortName:"Thari",slug:"thari",testnet:!0},Xwt={chain:"Avalanche",chainId:37375,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402057",nativeCurrency:{name:"QI M 2402057 Token",symbol:"ACI",decimals:18},networkId:37375,redFlags:[],rpc:["https://37375.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402057",slug:"qi-m-2402057",testnet:!0},Zwt={chain:"Avalanche",chainId:37767,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnet 01-15",nativeCurrency:{name:"Tnet 01-15 Token",symbol:"LFC",decimals:18},networkId:37767,redFlags:[],rpc:["https://37767.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnet 01-15",slug:"tnet-01-15",testnet:!0},eTt={chain:"Avalanche",chainId:38085,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0227I1",nativeCurrency:{name:"QI0227I1 Token",symbol:"ULH",decimals:18},networkId:38085,redFlags:[],rpc:["https://38085.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0227I1",slug:"qi0227i1",testnet:!0},tTt={chain:"Avalanche",chainId:38168,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0531S1T",nativeCurrency:{name:"QR0531S1T Token",symbol:"GKN",decimals:18},networkId:38168,redFlags:[],rpc:["https://38168.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0531s1t/testnet/rpc"],shortName:"QR0531S1T",slug:"qr0531s1t",testnet:!0},nTt={chain:"Rangers",chainId:38400,explorers:[{name:"rangersscan",url:"https://scan.rangersprotocol.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"ConnectorManager",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"cmRPG",decimals:18},networkId:38400,rpc:["https://38400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cm.rangersprotocol.com/api/jsonrpc"],shortName:"cmrpg",slug:"connectormanager",testnet:!1},aTt={chain:"Rangers",chainId:38401,explorers:[{name:"rangersscan-robin",url:"https://robin-rangersscan.rangersprotocol.com",standard:"none"}],faucets:["https://robin-faucet.rangersprotocol.com"],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"ConnectorManager Robin",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"ttRPG",decimals:18},networkId:38401,rpc:["https://38401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://robin-cm.rangersprotocol.com/api/jsonrpc"],shortName:"ttrpg",slug:"connectormanager-robin",testnet:!1},rTt={chain:"Avalanche",chainId:38904,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1490 Testnet",nativeCurrency:{name:"QaUser1490 Testnet Token",symbol:"PNK",decimals:18},networkId:38904,redFlags:[],rpc:["https://38904.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1490 Testnet",slug:"qauser1490-testnet",testnet:!0},fTt={chain:"Avalanche",chainId:39098,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI 20240108",nativeCurrency:{name:"QI 20240108 Token",symbol:"COZ",decimals:18},networkId:39098,redFlags:[],rpc:["https://39098.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f575b5b1-8b60-47f3-af28-13f3f3de2ba5"],shortName:"QI 20240108",slug:"qi-20240108",testnet:!0},iTt={chain:"Avalanche",chainId:39142,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST Found 1-05-24",nativeCurrency:{name:"ST Found 1-05-24 Token",symbol:"LGT",decimals:18},networkId:39142,redFlags:[],rpc:["https://39142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST Found 1-05-24",slug:"st-found-1-05-24",testnet:!0},sTt={chain:"Avalanche",chainId:39585,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5884",nativeCurrency:{name:"QaUser5884 Token",symbol:"YRO",decimals:18},networkId:39585,redFlags:[],rpc:["https://39585.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5884",slug:"qauser5884",testnet:!0},oTt={chain:"prm",chainId:39656,explorers:[{name:"Primal Network",url:"https://prmscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmckkDRkuCQWbvhpKGsqa8ajuQvf3W5dekzw5qpiPC6shk",width:1220,height:1220,format:"png"},infoURL:"https://primalnetwork.org",name:"PRM Mainnet",nativeCurrency:{name:"Primal Network",symbol:"PRM",decimals:18},networkId:39656,rpc:["https://39656.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.prmscan.org"],shortName:"prm",slug:"prm",testnet:!1},cTt={chain:"Avalanche",chainId:39747,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser41Testnet",nativeCurrency:{name:"QaUser41Testnet Token",symbol:"GYF",decimals:18},networkId:39747,redFlags:[],rpc:["https://39747.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser41Testnet",slug:"qauser41testnet",testnet:!0},dTt={chain:"NRG",chainId:39797,explorers:[],faucets:[],infoURL:"https://www.energi.world/",name:"Energi Mainnet",nativeCurrency:{name:"Energi",symbol:"NRG",decimals:18},networkId:39797,rpc:["https://39797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodeapi.energi.network"],shortName:"nrg",slip44:39797,slug:"energi",testnet:!1},lTt={chain:"OHO",chainId:39815,explorers:[{name:"ohoscan",url:"https://ohoscan.com",standard:"EIP3091",icon:{url:"ipfs://QmZt75xixnEtFzqHTrJa8kJkV4cTXmUZqeMeHM8BcvomQc",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZt75xixnEtFzqHTrJa8kJkV4cTXmUZqeMeHM8BcvomQc",width:512,height:512,format:"png"},infoURL:"https://oho.ai",name:"OHO Mainnet",nativeCurrency:{name:"OHO",symbol:"OHO",decimals:18},networkId:39815,rpc:["https://39815.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.oho.ai"],shortName:"oho",slug:"oho",testnet:!1},uTt={chain:"Avalanche",chainId:40100,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4426",nativeCurrency:{name:"QaUser4426 Token",symbol:"PMC",decimals:18},networkId:40100,redFlags:[],rpc:["https://40100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4426",slug:"qauser4426",testnet:!0},pTt={chain:"Avalanche",chainId:40542,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I8",nativeCurrency:{name:"QI1212I8 Token",symbol:"HSCX",decimals:18},networkId:40542,redFlags:[],rpc:["https://40542.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/ba4e7766-4bc6-44ec-b43f-598647b4ee71"],shortName:"QI1212I8",slug:"qi1212i8",testnet:!0},hTt={chain:"Avalanche",chainId:40798,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0109y1p",nativeCurrency:{name:"qr0109y1p Token",symbol:"KZP",decimals:18},networkId:40798,redFlags:[],rpc:["https://40798.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0109y1p/testnet/rpc"],shortName:"qr0109y1p",slug:"qr0109y1p",testnet:!0},bTt={chain:"Avalanche",chainId:40868,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5110 Testnet",nativeCurrency:{name:"QaUser5110 Testnet Token",symbol:"CRL",decimals:18},networkId:40868,redFlags:[],rpc:["https://40868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5110 Testnet",slug:"qauser5110-testnet",testnet:!0},mTt={chain:"Avalanche",chainId:41077,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"REALLY",nativeCurrency:{name:"REALLY Token",symbol:"FAN",decimals:18},networkId:41077,redFlags:[],rpc:["https://41077.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/really/testnet/rpc"],shortName:"REALLY",slug:"really",testnet:!0},yTt={chain:"Avalanche",chainId:41425,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0205I1",nativeCurrency:{name:"QR0205I1 Token",symbol:"PVW",decimals:18},networkId:41425,redFlags:[],rpc:["https://41425.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0205i1/testnet/rpc"],shortName:"QR0205I1",slug:"qr0205i1",testnet:!0},gTt={chain:"Opulent-X",chainId:41500,explorers:[{name:"Opulent-X BETA Explorer",url:"https://explorer.opulent-x.com",standard:"none"}],faucets:[],infoURL:"https://beta.opulent-x.com",name:"Opulent-X BETA",nativeCurrency:{name:"Oxyn Gas",symbol:"OXYN",decimals:18},networkId:41500,rpc:["https://41500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.opulent-x.com"],shortName:"ox-beta",slug:"opulent-x-beta",testnet:!1},vTt={chain:"Avalanche",chainId:41604,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"LFC",decimals:18},networkId:41604,redFlags:[],rpc:["https://41604.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-41604",testnet:!0},wTt={chain:"Avalanche",chainId:41720,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0409s1 Testnet",nativeCurrency:{name:"QR0409s1 Testnet Token",symbol:"ZSP",decimals:18},networkId:41720,redFlags:[],rpc:["https://41720.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0409s1/testnet/rpc"],shortName:"QR0409s1 Testnet",slug:"qr0409s1-testnet",testnet:!0},TTt={chain:"Avalanche",chainId:41799,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's New Testnet",nativeCurrency:{name:"Will's New Testnet Token",symbol:"ZBO",decimals:18},networkId:41799,redFlags:[],rpc:["https://41799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's New Testnet",slug:"will-s-new-testnet",testnet:!0},xTt={chain:"42069",chainId:42069,explorers:[],faucets:[],infoURL:"https://teampeggle.com",name:"pegglecoin",nativeCurrency:{name:"pegglecoin",symbol:"peggle",decimals:18},networkId:42069,rpc:[],shortName:"PC",slug:"pegglecoin",testnet:!1},ETt={chain:"AgentLayer",chainId:42072,explorers:[{name:"AgentLayer Testnet Explorer",url:"https://testnet-explorer.agentlayer.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSj6SSWmBiRjnjZQPb17kvhGDmB9xAGRkG13RwPuXLTCT",width:512,height:512,format:"png"},infoURL:"https://agentlayer.xyz/home",name:"AgentLayer Testnet",nativeCurrency:{name:"Agent",symbol:"AGENT",decimals:18},networkId:42072,rpc:["https://42072.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.agentlayer.xyz"],shortName:"agent",slug:"agentlayer-testnet",testnet:!0},_He={chain:"ETH",chainId:42161,explorers:[{name:"Arbiscan",url:"https://arbiscan.io",standard:"EIP3091"},{name:"Arbitrum Explorer",url:"https://explorer.arbitrum.io",standard:"EIP3091"},{name:"dexguru",url:"https://arbitrum.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/arbitrum/512.png",width:512,height:512,format:"png"},infoURL:"https://arbitrum.io",name:"Arbitrum One",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:42161,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.arbitrum.io"}]},redFlags:[],rpc:["https://42161.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://arbitrum-mainnet.infura.io/v3/${INFURA_API_KEY}","https://arb-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}","https://arb1.arbitrum.io/rpc","https://arbitrum-one.publicnode.com","wss://arbitrum-one.publicnode.com"],shortName:"arb1",slug:"arbitrum",testnet:!1},_Tt={chain:"ETH",chainId:42170,explorers:[{name:"Arbitrum Nova Chain Explorer",url:"https://nova-explorer.arbitrum.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://nova.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],infoURL:"https://arbitrum.io",name:"Arbitrum Nova",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:42170,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.arbitrum.io"}]},rpc:["https://42170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nova.arbitrum.io/rpc","https://arbitrum-nova.publicnode.com","wss://arbitrum-nova.publicnode.com"],shortName:"arb-nova",slug:"arbitrum-nova",testnet:!1},KS={chain:"CELO",chainId:42220,explorers:[{name:"blockscout",url:"https://explorer.celo.org",standard:"none"},{name:"Celoscan",url:"https://celoscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.celo.org/",name:"Celo Mainnet",nativeCurrency:{name:"CELO",symbol:"CELO",decimals:18},networkId:42220,rpc:["https://42220.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://forno.celo.org","wss://forno.celo.org/ws"],shortName:"celo",slug:"celo",testnet:!1},ATt={chain:"Emerald",chainId:42261,explorers:[{name:"Oasis Emerald Testnet Explorer",url:"https://explorer.oasis.io/testnet/emerald",standard:"EIP3091"}],faucets:["https://faucet.testnet.oasis.io/"],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/emerald",name:"Oasis Emerald Testnet",nativeCurrency:{name:"Emerald Rose",symbol:"ROSE",decimals:18},networkId:42261,rpc:["https://42261.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.emerald.oasis.io/","wss://testnet.emerald.oasis.io/ws"],shortName:"emerald-testnet",slip44:1,slug:"oasis-emerald-testnet",testnet:!0},CTt={chain:"Emerald",chainId:42262,explorers:[{name:"Oasis Emerald Explorer",url:"https://explorer.oasis.io/mainnet/emerald",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/emerald",name:"Oasis Emerald",nativeCurrency:{name:"Emerald Rose",symbol:"ROSE",decimals:18},networkId:42262,rpc:["https://42262.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://emerald.oasis.io","wss://emerald.oasis.io/ws"],shortName:"emerald",slug:"oasis-emerald",testnet:!1},ITt={chain:"GoldX",chainId:42355,explorers:[{name:"GoldXChain Explorer",url:"https://explorer.goldxchain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://goldxchain.io",name:"GoldXChain Mainnet",nativeCurrency:{name:"GoldX",symbol:"GOLDX",decimals:18},networkId:42355,rpc:["https://42355.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.goldxchain.io"],shortName:"goldx",slug:"goldxchain",testnet:!1},kTt={chain:"Avalanche",chainId:42451,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1220s1",nativeCurrency:{name:"QI1220s1 Token",symbol:"BKX",decimals:18},networkId:42451,redFlags:[],rpc:["https://42451.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1220s1",slug:"qi1220s1",testnet:!0},STt={chain:"ZKFair",chainId:42766,explorers:[{name:"blockscout",url:"https://scan.zkfair.io",standard:"EIP3091",icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"},infoURL:"https://zkfair.io",name:"ZKFair Mainnet",nativeCurrency:{name:"USDC Token",symbol:"USDC",decimals:18},networkId:42766,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://wallet.zkfair.io"}]},rpc:["https://42766.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zkfair.io"],shortName:"ZKFair-Mainnet",slug:"zkfair",testnet:!1,title:"ZKFair Mainnet"},RTt={chain:"Etherlink",chainId:42793,explorers:[{name:"Etherlink Explorer",url:"https://explorer.etherlink.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmVqE4wq3fd3RKZwo7GxmW333ywHgYBZGvqwh3TUBM5DUi",width:584,height:545,format:"png"},infoURL:"https://etherlink.com",name:"Etherlink Mainnet",nativeCurrency:{name:"tez",symbol:"XTZ",decimals:18},networkId:42793,rpc:["https://42793.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.mainnet.etherlink.com"],shortName:"etlk",slug:"etherlink",testnet:!1},MTt={chain:"Gesoten Verse",chainId:42801,explorers:[{name:"Gesoten Verse Testnet Explorer",url:"https://explorer.testnet.verse.gesoten.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmb7oJY9zd9sTzxNNQNTVZQz2hkd1aA94mWm4cvXfJ9QxV",width:1280,height:1280,format:"png"},infoURL:"https://gesoten.com/",name:"Gesoten Verse Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:42801,rpc:["https://42801.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.verse.gesoten.com/"],shortName:"GST",slip44:1,slug:"gesoten-verse-testnet",testnet:!0},BTt={chain:"Avalanche",chainId:42840,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"DQX",decimals:18},networkId:42840,redFlags:[],rpc:["https://42840.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet-42840",testnet:!0},DTt={chain:"ETH",chainId:42888,explorers:[{name:"kintoscan",url:"http://35.215.120.180:4000",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://ethereum.org",name:"Kinto Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:42888,rpc:["https://42888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://35.215.120.180:8545"],shortName:"keth",slip44:1,slug:"kinto-testnet",testnet:!0,title:"Kinto Testnet"},PTt={chain:"ATH",chainId:43110,explorers:[],faucets:["http://athfaucet.ava.network//?address=${ADDRESS}"],infoURL:"https://athereum.ava.network",name:"Athereum",nativeCurrency:{name:"Athereum Ether",symbol:"ATH",decimals:18},networkId:43110,rpc:["https://43110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ava.network:21015/ext/evm/rpc"],shortName:"avaeth",slug:"athereum",testnet:!1},LTt={chain:"ETH",chainId:43111,explorers:[],faucets:[],icon:{url:"ipfs://QmfP6GDn5eXFcpWuoiyWn5pjn6PYB7HQhRD8nSko1zR8KD",width:1200,height:1200,format:"png"},infoURL:"https://hemi.xyz",name:"Hemi Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:43111,parent:{type:"L2",chain:"eip155-1"},rpc:[],shortName:"hemi",slug:"hemi-network",status:"incubating",testnet:!1},AHe={chain:"AVAX",chainId:43113,explorers:[{name:"snowtrace",url:"https://testnet.snowtrace.io",standard:"EIP3091"}],faucets:["https://faucet.avax-test.network/"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/avalanche/512.png",width:512,height:512,format:"png"},infoURL:"https://cchain.explorer.avax-test.network",name:"Avalanche Fuji Testnet",nativeCurrency:{name:"Avalanche",symbol:"AVAX",decimals:18},networkId:43113,redFlags:[],rpc:["https://43113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.avax-test.network/ext/bc/C/rpc","https://avalanche-fuji-c-chain-rpc.publicnode.com","wss://avalanche-fuji-c-chain-rpc.publicnode.com"],shortName:"Fuji",slip44:1,slug:"avalanche-fuji",testnet:!0},CHe={chain:"AVAX",chainId:43114,explorers:[{name:"snowtrace",url:"https://snowtrace.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/avalanche/512.png",width:512,height:512,format:"png"},infoURL:"https://www.avax.network/",name:"Avalanche C-Chain",nativeCurrency:{name:"Avalanche",symbol:"AVAX",decimals:18},networkId:43114,redFlags:[],rpc:["https://43114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://avalanche-mainnet.infura.io/v3/${INFURA_API_KEY}","https://api.avax.network/ext/bc/C/rpc","https://avalanche-c-chain-rpc.publicnode.com","wss://avalanche-c-chain-rpc.publicnode.com"],shortName:"avax",slip44:9005,slug:"avalanche",testnet:!1},FTt={chain:"Avalanche",chainId:43125,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3950 Testnet",nativeCurrency:{name:"QaUser3950 Testnet Token",symbol:"SZL",decimals:18},networkId:43125,redFlags:[],rpc:["https://43125.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3950 Testnet",slug:"qauser3950-testnet",testnet:!0},NTt={chain:"Boba Avax",chainId:43288,explorers:[{name:"Boba Avax Explorer",url:"https://blockexplorer.avax.boba.network",standard:"none"}],faucets:[],infoURL:"https://docs.boba.network/for-developers/network-avalanche",name:"Boba Avax",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:43288,rpc:["https://43288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://avax.boba.network","wss://wss.avax.boba.network","https://replica.avax.boba.network","wss://replica-wss.avax.boba.network"],shortName:"bobaavax",slug:"boba-avax",status:"deprecated",testnet:!1},OTt={chain:"Avalanche",chainId:43593,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1596",nativeCurrency:{name:"QaUser1596 Token",symbol:"VNE",decimals:18},networkId:43593,redFlags:[],rpc:["https://43593.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1596",slug:"qauser1596",testnet:!0},UTt={chain:"ETH",chainId:43851,explorers:[{name:"ZKFair Testnet Info",url:"https://testnet-scan.zkfair.io",standard:"EIP3091",icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"},infoURL:"https://zkfair.io",name:"ZKFair Testnet",nativeCurrency:{name:"USDC Token",symbol:"USDC",decimals:18},networkId:43851,rpc:["https://43851.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.zkfair.io"],shortName:"ZKFair-Testnet",slip44:1,slug:"zkfair-testnet",testnet:!0},HTt={chain:"Avalanche",chainId:44044,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM 240530 TEST INTEROP",nativeCurrency:{name:"QIM 240530 TEST INTEROP Token",symbol:"WCC",decimals:18},networkId:44044,redFlags:[],rpc:["https://44044.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qim240530t/testnet/rpc"],shortName:"QIM 240530 TEST INTEROP",slug:"qim-240530-test-interop",testnet:!0},zTt={chain:"fren",chainId:44444,explorers:[{name:"blockscout",url:"https://frenscan.io",standard:"EIP3091",icon:{url:"ipfs://QmQk41bYX6WpYyUAdRgomZekxP5mbvZXhfxLEEqtatyJv4",width:128,height:128,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQk41bYX6WpYyUAdRgomZekxP5mbvZXhfxLEEqtatyJv4",width:128,height:128,format:"png"},infoURL:"https://frenchain.app",name:"Frenchain",nativeCurrency:{name:"FREN",symbol:"FREN",decimals:18},networkId:44444,rpc:["https://44444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-02.frenscan.io"],shortName:"FREN",slug:"frenchain",testnet:!1},WTt={chain:"Quantum",chainId:44445,explorers:[{name:"Quantum Explorer",url:"https://qtm.avescoin.io",standard:"EIP3091",icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"},infoURL:"https://avescoin.io/",name:"Quantum Network",nativeCurrency:{name:"Quantum",symbol:"QTM",decimals:18},networkId:44445,rpc:["https://44445.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcqtm.avescoin.io"],shortName:"QTM",slug:"quantum-network",testnet:!1},QS={chain:"CELO",chainId:44787,explorers:[{name:"Alfajoresscan",url:"https://alfajores.celoscan.io",standard:"EIP3091"}],faucets:["https://celo.org/developers/faucet","https://cauldron.pretoriaresearchlab.io/alfajores-faucet"],features:[],infoURL:"https://docs.celo.org/",name:"Celo Alfajores Testnet",nativeCurrency:{name:"CELO",symbol:"CELO",decimals:18},networkId:44787,redFlags:[],rpc:["https://44787.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alfajores-forno.celo-testnet.org","wss://alfajores-forno.celo-testnet.org/ws"],shortName:"ALFA",slip44:1,slug:"celo-alfajores-testnet",testnet:!0},qTt={chain:"Avalanche",chainId:44808,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"klCohan Testnet",nativeCurrency:{name:"klCohan Testnet Token",symbol:"DBM",decimals:18},networkId:44808,redFlags:[],rpc:["https://44808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/d2b6bd35-89f7-4019-bc88-643c31221e5c"],shortName:"klCohan Testnet",slug:"klcohan-testnet",testnet:!0},jTt={chain:"Avalanche",chainId:44850,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0318I1 Testnet",nativeCurrency:{name:"QI0318I1 Testnet Token",symbol:"WJN",decimals:18},networkId:44850,redFlags:[],rpc:["https://44850.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0318I1 Testnet",slug:"qi0318i1-testnet",testnet:!0},GTt={chain:"TXL",chainId:45e3,explorers:[{name:"autobahn explorer",url:"https://explorer.autobahn.network",standard:"EIP3091",icon:{url:"ipfs://QmZP19pbqTco4vaP9siduLWP8pdYArFK3onfR55tvjr12s",width:489,height:489,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZP19pbqTco4vaP9siduLWP8pdYArFK3onfR55tvjr12s",width:489,height:489,format:"png"},infoURL:"https://autobahn.network",name:"Autobahn Network",nativeCurrency:{name:"TXL",symbol:"TXL",decimals:18},networkId:45e3,rpc:["https://45000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.autobahn.network"],shortName:"AutobahnNetwork",slug:"autobahn-network",testnet:!1},KTt={chain:"SWP",chainId:45454,explorers:[{name:"blockscout",url:"https://swamps-explorer.tc.l2aas.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTEEgWsknzdqjLbaAvLHqCCzCtMJZh2d1SqMscxZCXBwA",width:150,height:150,format:"png"},infoURL:"https://www.swamps.fi",name:"Swamps L2",nativeCurrency:{name:"SWP",symbol:"SWP",decimals:18},networkId:45454,rpc:["https://45454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://swamps.tc.l2aas.com"],shortName:"SWP",slug:"swamps-l2",testnet:!1},QTt={chain:"DEE",chainId:45510,explorers:[{name:"Deelance Mainnet Explorer",url:"https://deescan.com",standard:"EIP3091"}],faucets:["https://faucet.deelance.com"],icon:{url:"ipfs://Qmay2j8biuo5xLJL8NcLtrzubAEHuCWz65cdbKE1pSnGf6",width:500,height:500,format:"png"},infoURL:"https://deelance.com",name:"Deelance Mainnet",nativeCurrency:{name:"Deelance",symbol:"DEE",decimals:18},networkId:45510,rpc:["https://45510.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.deelance.com"],shortName:"dee",slug:"deelance",testnet:!1,title:"Deelance Network Mainnet"},VTt={chain:"Avalanche",chainId:45544,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6609 Testnet",nativeCurrency:{name:"QaUser6609 Testnet Token",symbol:"NHU",decimals:18},networkId:45544,redFlags:[],rpc:["https://45544.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6609 Testnet",slug:"qauser6609-testnet",testnet:!0},YTt={chain:"Avalanche",chainId:45979,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5277 Testnet",nativeCurrency:{name:"QaUser5277 Testnet Token",symbol:"LWR",decimals:18},networkId:45979,redFlags:[],rpc:["https://45979.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5277 Testnet",slug:"qauser5277-testnet",testnet:!0},$Tt={chain:"Avalanche",chainId:46092,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0213I1",nativeCurrency:{name:"QI0213I1 Token",symbol:"ORR",decimals:18},networkId:46092,redFlags:[],rpc:["https://46092.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/f0aae4b1-a373-43ed-9e61-ba61d42131bb"],shortName:"QI0213I1",slug:"qi0213i1",testnet:!0},JTt={chain:"Avalanche",chainId:46109,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0224t1tp Testnet",nativeCurrency:{name:"qr0224t1tp Testnet Token",symbol:"CRH",decimals:18},networkId:46109,redFlags:[],rpc:["https://46109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0224t1tp/testnet/rpc"],shortName:"qr0224t1tp Testnet",slug:"qr0224t1tp-testnet",testnet:!0},XTt={chain:"Avalanche",chainId:46145,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0520I2",nativeCurrency:{name:"QI0520I2 Token",symbol:"YZG",decimals:18},networkId:46145,redFlags:[],rpc:["https://46145.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0520I2",slug:"qi0520i2",testnet:!0},ZTt={chain:"Avalanche",chainId:46565,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430s2",nativeCurrency:{name:"QI0430s2 Token",symbol:"SWS",decimals:18},networkId:46565,redFlags:[],rpc:["https://46565.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430s2",slug:"qi0430s2",testnet:!0},ext={chain:"FSN",chainId:46688,explorers:[{name:"fsnscan",url:"https://testnet.fsnscan.com",standard:"EIP3091",icon:{url:"ipfs://QmSAFx34SKNi7a139agX12f68oBMo2Ktt9c8yD8aFa14gd",width:48,height:51,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX3tsEoj7SdaBLLV8VyyCUAmymdEGiSGeuTbxMrEMVvth",width:31,height:31,format:"svg"},infoURL:"https://fusion.org",name:"Fusion Testnet",nativeCurrency:{name:"Testnet Fusion",symbol:"T-FSN",decimals:18},networkId:46688,rpc:["https://46688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.fusionnetwork.io","wss://testnet.fusionnetwork.io"],shortName:"tfsn",slip44:1,slug:"fusion-testnet",testnet:!0},txt={chain:"Avalanche",chainId:47157,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Avaland Testnet",nativeCurrency:{name:"Avaland Testnet Token",symbol:"AVA",decimals:18},networkId:47157,redFlags:[],rpc:["https://47157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/avalandtes/testnet/rpc"],shortName:"Avaland Testnet",slug:"avaland-testnet",testnet:!0},nxt={chain:"REI",chainId:47805,explorers:[{name:"rei-scan",url:"https://scan.rei.network",standard:"none"}],faucets:[],infoURL:"https://rei.network/",name:"REI Network",nativeCurrency:{name:"REI",symbol:"REI",decimals:18},networkId:47805,rpc:["https://47805.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rei.network","wss://rpc.rei.network"],shortName:"REI",slug:"rei-network",testnet:!1},axt={chain:"Avalanche",chainId:47992,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2555",nativeCurrency:{name:"QaUser2555 Token",symbol:"PRY",decimals:18},networkId:47992,redFlags:[],rpc:["https://47992.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2555",slug:"qauser2555",testnet:!0},rxt={chain:"Avalanche",chainId:48137,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9608 Testnet",nativeCurrency:{name:"QaUser9608 Testnet Token",symbol:"ASI",decimals:18},networkId:48137,redFlags:[],rpc:["https://48137.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9608 Testnet",slug:"qauser9608-testnet",testnet:!0},fxt={chain:"Avalanche",chainId:48267,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0130I2",nativeCurrency:{name:"QI0130I2 Token",symbol:"NZY",decimals:18},networkId:48267,redFlags:[],rpc:["https://48267.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0130I2",slug:"qi0130i2",testnet:!0},ixt={chain:"Avalanche",chainId:48702,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"LUG",decimals:18},networkId:48702,redFlags:[],rpc:["https://48702.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-48702",testnet:!0},sxt={chain:"Avalanche",chainId:48795,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Space",nativeCurrency:{name:"Space Token",symbol:"FUEL",decimals:18},networkId:48795,redFlags:[],rpc:["https://48795.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/space/testnet/rpc"],shortName:"Space",slug:"space-space",testnet:!0},oxt={chain:"Wireshape",chainId:49049,explorers:[{name:"Wire Explorer",url:"https://floripa-explorer.wireshape.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTAyT3YrW2654CBRqRkec2cCznv6EBsbsRc2y6WQPbvXx",width:1280,height:1280,format:"png"},infoURL:"https://wireshape.org",name:"Wireshape Floripa Testnet",nativeCurrency:{name:"WIRE",symbol:"WIRE",decimals:18},networkId:49049,rpc:["https://49049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-floripa.wireshape.org"],shortName:"floripa",slip44:1,slug:"wireshape-floripa-testnet",testnet:!0,title:"Wireshape Floripa Testnet"},cxt={chain:"Avalanche",chainId:49053,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5759 Testnet",nativeCurrency:{name:"QaUser5759 Testnet Token",symbol:"ATZ",decimals:18},networkId:49053,redFlags:[],rpc:["https://49053.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5759 Testnet",slug:"qauser5759-testnet",testnet:!0},dxt={chain:"BFC",chainId:49088,explorers:[{name:"explorer-thebifrost",url:"https://explorer.testnet.bifrostnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYxniqbiFD7nXBNjN8boUhoXYEAW23YquArD2Rnkq8WHS",width:480,height:480,format:"png"},infoURL:"https://bifrostnetwork.com",name:"Bifrost Testnet",nativeCurrency:{name:"Bifrost",symbol:"BFC",decimals:18},networkId:49088,rpc:["https://49088.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-01.testnet.bifrostnetwork.com/rpc","https://public-02.testnet.bifrostnetwork.com/rpc"],shortName:"tbfc",slip44:1,slug:"bifrost-testnet",testnet:!0,title:"Bifrost Network Testnet"},lxt={chain:"tGUN",chainId:49321,explorers:[{name:"blockscout",url:"https://testnet.gunzscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmd5R5khFePwY9dYBGhjRA1rGtUAKaHg7Z2B7mBrbA6TiB",width:512,height:512,format:"png"},infoURL:"https://gunbygunz.com",name:"GUNZ Testnet",nativeCurrency:{name:"GUN",symbol:"GUN",decimals:18},networkId:49321,rpc:["https://49321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gunz.dev/ext/bc/ryk9vkvNuKtewME2PeCgybo9sdWXGmCkBrrx4VPuZPdVdAak8/rpc"],shortName:"Stork",slug:"gunz-testnet",testnet:!0},uxt={chain:"NRG",chainId:49797,explorers:[],faucets:[],infoURL:"https://www.energi.world/",name:"Energi Testnet",nativeCurrency:{name:"Energi",symbol:"NRG",decimals:18},networkId:49797,rpc:["https://49797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodeapi.test.energi.network"],shortName:"tnrg",slip44:1,slug:"energi-testnet",testnet:!0},pxt={chain:"Liveplex OracleEVM Network",chainId:50001,explorers:[],faucets:[],name:"Liveplex OracleEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:50001,rpc:["https://50001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.oracle.liveplex.io"],shortName:"LOE",slug:"liveplex-oracleevm",testnet:!1},hxt={chain:"Yooldo Verse",chainId:50005,explorers:[{name:"Yooldo Verse Explorer",url:"https://explorer.yooldo-verse.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWvfA2usnYp1ktzLcqFS8eTLgdp4ifrxjiify46KyG9NZ",width:512,height:512,format:"png"},infoURL:"https://yooldo.gg/",name:"Yooldo Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:50005,parent:{type:"L2",chain:"eip155-248"},rpc:["https://50005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.yooldo-verse.xyz/"],shortName:"YVM",slug:"yooldo-verse",testnet:!1},bxt={chain:"Yooldo Verse",chainId:50006,explorers:[{name:"Yooldo Verse Explorer",url:"https://explorer.testnet.yooldo-verse.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWvfA2usnYp1ktzLcqFS8eTLgdp4ifrxjiify46KyG9NZ",width:512,height:512,format:"png"},infoURL:"https://yooldo.gg/",name:"Yooldo Verse Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:50006,parent:{type:"L2",chain:"eip155-248"},rpc:["https://50006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.yooldo-verse.xyz/"],shortName:"YVT",slip44:1,slug:"yooldo-verse-testnet",testnet:!0},mxt={chain:"GTON Testnet",chainId:50021,explorers:[{name:"GTON Testnet Network Explorer",url:"https://explorer.testnet.gton.network",standard:"EIP3091"}],faucets:[],infoURL:"https://gton.capital",name:"GTON Testnet",nativeCurrency:{name:"GCD",symbol:"GCD",decimals:18},networkId:50021,parent:{type:"L2",chain:"eip155-3"},rpc:["https://50021.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.gton.network/"],shortName:"tgton",slip44:1,slug:"gton-testnet",testnet:!0},yxt={chain:"Avalanche",chainId:50059,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0122I1 Testnet",nativeCurrency:{name:"QI0122I1 Testnet Token",symbol:"MPX",decimals:18},networkId:50059,redFlags:[],rpc:["https://50059.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0122I1 Testnet",slug:"qi0122i1-testnet",testnet:!0},gxt={chain:"BTC",chainId:50097,explorers:[{name:"Zytron Explorer",url:"http://b2-testnet-zytron-blockscout.zypher.game/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"https://d391b93f5f62d9c15f67142e43841acc.ipfscdn.io/ipfs/bafybeiaav4gyweksnce4asrkqxxjevkpcx7xol6a72kzihrhppb5p5z6aa/zytron_T_white.png",width:1420,height:400,format:"png"},name:"Zytron B2 Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:50097,redFlags:[],rpc:[],shortName:"zytron-b2-testnet",slug:"zytron-b2-testnet",testnet:!0},vxt={chain:"Avalanche",chainId:50528,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9606 Testnet",nativeCurrency:{name:"QaUser9606 Testnet Token",symbol:"JTW",decimals:18},networkId:50528,redFlags:[],rpc:["https://50528.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9606 Testnet",slug:"qauser9606-testnet",testnet:!0},wxt={chain:"Avalanche",chainId:51161,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I6",nativeCurrency:{name:"QI1212I6 Token",symbol:"HSCX",decimals:18},networkId:51161,redFlags:[],rpc:["https://51161.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1212I6",slug:"qi1212i6",testnet:!0},Txt={chain:"ETH",chainId:51178,explorers:[{name:"LumozTestnetInfo",url:"https://lumoz.info",standard:"EIP3091",icon:{url:"ipfs://QmZnE2ygPL2ZGuzHGvFCHmrqxwdurrhz3K1yPnwLzKbgay",width:401,height:400,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmZnE2ygPL2ZGuzHGvFCHmrqxwdurrhz3K1yPnwLzKbgay",width:401,height:400,format:"png"},infoURL:"https://lumoz.org",name:"Lumoz Testnet Alpha",nativeCurrency:{name:"Lumoz Test Token",symbol:"MOZ",decimals:18},networkId:51178,rpc:["https://51178.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-us-http-geth.lumoz.org","https://alpha-hk-http-geth.lumoz.org"],shortName:"Lumoz-Testnet",slip44:1,slug:"lumoz-testnet-alpha",testnet:!0},xxt={chain:"Avalanche",chainId:51277,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0344s1 Testne",nativeCurrency:{name:"QI0344s1 Testne Token",symbol:"LKG",decimals:18},networkId:51277,redFlags:[],rpc:["https://51277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0344s1 Testne",slug:"qi0344s1-testne",testnet:!0},Ext={chain:"Avalanche",chainId:51435,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0410s1d Testnet",nativeCurrency:{name:"QR0410s1d Testnet Token",symbol:"CWV",decimals:18},networkId:51435,redFlags:[],rpc:["https://51435.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0410s1d/testnet/rpc"],shortName:"QR0410s1d Testnet",slug:"qr0410s1d-testnet",testnet:!0},_xt={chain:"Avalanche",chainId:51440,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430s4",nativeCurrency:{name:"QI0430s4 Token",symbol:"SWS",decimals:18},networkId:51440,redFlags:[],rpc:["https://51440.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430s4",slug:"qi0430s4",testnet:!0},Axt={chain:"SRDX",chainId:51712,explorers:[{name:"Sardis",url:"https://contract-mainnet.sardisnetwork.com",standard:"EIP3091"}],faucets:["https://faucet.sardisnetwork.com"],icon:{url:"ipfs://QmdR9QJjQEh1mBnf2WbJfehverxiP5RDPWMtEECbDP2rc3",width:512,height:512,format:"png"},infoURL:"https://mysardis.com",name:"Sardis Mainnet",nativeCurrency:{name:"Sardis",symbol:"SRDX",decimals:18},networkId:51712,rpc:["https://51712.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.sardisnetwork.com"],shortName:"SRDXm",slug:"sardis",testnet:!1},Cxt={chain:"Avalanche",chainId:51740,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4Testnet",nativeCurrency:{name:"QaUser4Testnet Token",symbol:"VGW",decimals:18},networkId:51740,redFlags:[],rpc:["https://51740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4Testnet",slug:"qauser4testnet",testnet:!0},Ixt={chain:"Electroneum",chainId:52014,explorers:[{name:"blockscout",url:"https://blockexplorer.electroneum.com",standard:"EIP3091",icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"},infoURL:"https://electroneum.com",name:"Electroneum Mainnet",nativeCurrency:{name:"Electroneum",symbol:"ETN",decimals:18},networkId:52014,rpc:["https://52014.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.electroneum.com"],shortName:"etn-mainnet",slug:"electroneum",testnet:!1},kxt={chain:"Avalanche",chainId:52146,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4359 Testnet",nativeCurrency:{name:"QaUser4359 Testnet Token",symbol:"WBP",decimals:18},networkId:52146,redFlags:[],rpc:["https://52146.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4359 Testnet",slug:"qauser4359-testnet",testnet:!0},Sxt={chain:"Avalanche",chainId:52150,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304I1 Testnet",nativeCurrency:{name:"QI0304I1 Testnet Token",symbol:"LOD",decimals:18},networkId:52150,redFlags:[],rpc:["https://52150.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304I1 Testnet",slug:"qi0304i1-testnet",testnet:!0},Rxt={chain:"Avalanche",chainId:53123,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Metasky",nativeCurrency:{name:"Metasky Token",symbol:"MSK",decimals:18},networkId:53123,redFlags:[],rpc:["https://53123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/metasky/testnet/rpc"],shortName:"Metasky",slug:"metasky",testnet:!0},Mxt={chain:"DOID",chainId:53277,explorers:[{name:"DOID Scan",url:"https://scan.doid.tech",standard:"EIP3091",icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"},infoURL:"https://doid.tech",name:"DOID",nativeCurrency:{name:"DOID",symbol:"DOID",decimals:18},networkId:53277,rpc:["https://53277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.doid.tech"],shortName:"DOID",slug:"doid",testnet:!1},Bxt={chain:"Avalanche",chainId:53383,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"GNF",decimals:18},networkId:53383,redFlags:[],rpc:["https://53383.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c37c3f83-6d95-4473-b5c7-626fad519f50"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet-jambon's testnet-53383",testnet:!0},Dxt={chain:"DODOchain",chainId:53457,explorers:[{name:"DODOchain Testnet (Sepolia) Explorer",url:"https://testnet-scan.dodochain.com",standard:"EIP3091",icon:{url:"ipfs://QmQDdZQjpKhrVM62479RTzppUG8QHhHd8Bq4RFYAjN1yf4",width:160,height:160,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQDdZQjpKhrVM62479RTzppUG8QHhHd8Bq4RFYAjN1yf4",width:160,height:160,format:"png"},infoURL:"https://www.dodochain.com",name:"DODOchain testnet",nativeCurrency:{name:"DODO",symbol:"DODO",decimals:18},networkId:53457,rpc:["https://53457.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dodochain-testnet.alt.technology","wss://dodochain-testnet.alt.technology/ws"],shortName:"dodochain",slug:"dodochain-testnet",testnet:!0,title:"DODOchain testnet"},Pxt={chain:"Avalanche",chainId:53687,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0409s1 Testnet",nativeCurrency:{name:"QI0409s1 Testnet Token",symbol:"QCE",decimals:18},networkId:53687,redFlags:[],rpc:["https://53687.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0409s1 Testnet",slug:"qi0409s1-testnet",testnet:!0},Lxt={chain:"DFK",chainId:53935,explorers:[{name:"ethernal",url:"https://explorer.dfkchain.com",standard:"none",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQB48m15TzhUFrmu56QCRQjkrkgUaKfgCmKE8o3RzmuPJ",width:500,height:500,format:"png"},infoURL:"https://defikingdoms.com",name:"DFK Chain",nativeCurrency:{name:"Jewel",symbol:"JEWEL",decimals:18},networkId:53935,redFlags:[],rpc:["https://53935.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc","https://avax-pokt.nodies.app/ext/bc/q2aTwKuyzgs8pynF7UXBZCU7DejbZbZ6EUyHr3JQzYgwNPUPi/rpc"],shortName:"DFK",slug:"dfk-chain",testnet:!1},Fxt={chain:"TestEdge2",chainId:54211,explorers:[{name:"TestEdge HAQQ Explorer",url:"https://explorer.testedge2.haqq.network",standard:"EIP3091"}],faucets:["https://testedge2.haqq.network"],infoURL:"https://islamiccoin.net",name:"Haqq Chain Testnet",nativeCurrency:{name:"Islamic Coin",symbol:"ISLMT",decimals:18},networkId:54211,rpc:["https://54211.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eth.testedge2.haqq.network"],shortName:"ISLMT",slip44:1,slug:"haqq-chain-testnet",testnet:!0},Nxt={chain:"Toronet",chainId:54321,ens:{registry:"0x059C474f26D65B0458F9da10A649a7322aB02C09"},explorers:[{name:"toronet_explorer",url:"https://testnet.toronet.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmciSvgLatP6jhgdazuiyD3fSrhipfAN7wC943v1qxcrpv",width:846,height:733,format:"png"},infoURL:"https://toronet.org",name:"Toronet Testnet",nativeCurrency:{name:"Toro",symbol:"TORO",decimals:18},networkId:54321,rpc:["https://54321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.toronet.org/rpc"],shortName:"ToronetTestnet",slip44:1,slug:"toronet-testnet",testnet:!0},Oxt={chain:"Avalanche",chainId:54356,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"ZEG",decimals:18},networkId:54356,redFlags:[],rpc:["https://54356.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/e6f00b45-8486-445d-b3b8-815708aab379"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet-jambon's testnet-54356",testnet:!0},Uxt={chain:"Avalanche",chainId:54414,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Innovo Markets Testnet",nativeCurrency:{name:"Innovo Markets Testnet Token",symbol:"INN",decimals:18},networkId:54414,redFlags:[],rpc:["https://54414.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/innovomark/testnet/rpc"],shortName:"Innovo Markets Testnet",slug:"innovo-markets-testnet",testnet:!0},Hxt={chain:"Avalanche",chainId:54454,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405063 INTEROP NO PRECOMPILE",nativeCurrency:{name:"QIM2405063 INTEROP NO PRECOMPILE Token",symbol:"BLY",decimals:18},networkId:54454,redFlags:[],rpc:["https://54454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405063 INTEROP NO PRECOMPILE",slug:"qim2405063-interop-no-precompile",testnet:!0},zxt={chain:"Photon",chainId:54555,explorers:[{name:"photon_testnet_explorer",url:"https://testnet.photonchain.io",standard:"none"}],faucets:["https://photonchain.io/airdrop"],infoURL:"https://photonchain.io",name:"Photon Testnet",nativeCurrency:{name:"Photon",symbol:"PTON",decimals:18},networkId:54555,rpc:["https://54555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.photonchain.io"],shortName:"pton",slug:"photon-testnet",testnet:!0},Wxt={chain:"Avalanche",chainId:54688,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430I1",nativeCurrency:{name:"QI0430I1 Token",symbol:"ILF",decimals:18},networkId:54688,redFlags:[],rpc:["https://54688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430I1",slug:"qi0430i1",testnet:!0},qxt={chain:"Avalanche",chainId:54763,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3051 Testnet",nativeCurrency:{name:"QaUser3051 Testnet Token",symbol:"DSX",decimals:18},networkId:54763,redFlags:[],rpc:["https://54763.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3051 Testnet",slug:"qauser3051-testnet",testnet:!0},jxt={chain:"ETH",chainId:55004,explorers:[{name:"blockscout",url:"https://explorer.titan.tokamak.network",standard:"EIP3091"}],faucets:[],infoURL:"https://tokamak.network",name:"Titan",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:55004,rpc:["https://55004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.titan.tokamak.network","wss://rpc.titan.tokamak.network"],shortName:"teth",slug:"titan",testnet:!1},Gxt={chain:"Avalanche",chainId:55200,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5256",nativeCurrency:{name:"QaUser5256 Token",symbol:"UDQ",decimals:18},networkId:55200,redFlags:[],rpc:["https://55200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5256",slug:"qauser5256",testnet:!0},Kxt={chain:"Avalanche",chainId:55246,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6469",nativeCurrency:{name:"QaUser6469 Token",symbol:"ZZX",decimals:18},networkId:55246,redFlags:[],rpc:["https://55246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6469",slug:"qauser6469",testnet:!0},Qxt={chain:"Avalanche",chainId:55432,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM DEMO 0527",nativeCurrency:{name:"QIM DEMO 0527 Token",symbol:"WCC",decimals:18},networkId:55432,redFlags:[],rpc:["https://55432.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qimdemo052/testnet/rpc"],shortName:"QIM DEMO 0527",slug:"qim-demo-0527",testnet:!0},Vxt={chain:"REI",chainId:55555,explorers:[{name:"reiscan",url:"https://reiscan.com",standard:"EIP3091"}],faucets:["http://kururu.finance/faucet?chainId=55555"],icon:{url:"ipfs://QmNy5d5knHVjJJS9g4kLsh9i73RTjckpKL6KZvRk6ptbhf",width:591,height:591,format:"svg"},infoURL:"https://reichain.io",name:"REI Chain Mainnet",nativeCurrency:{name:"Rei",symbol:"REI",decimals:18},networkId:55555,rpc:["https://55555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rei-rpc.moonrhythm.io"],shortName:"reichain",slug:"rei-chain",testnet:!1},Yxt={chain:"REI",chainId:55556,explorers:[{name:"reiscan",url:"https://testnet.reiscan.com",standard:"EIP3091"}],faucets:["http://kururu.finance/faucet?chainId=55556"],icon:{url:"ipfs://QmNy5d5knHVjJJS9g4kLsh9i73RTjckpKL6KZvRk6ptbhf",width:591,height:591,format:"svg"},infoURL:"https://reichain.io",name:"REI Chain Testnet",nativeCurrency:{name:"tRei",symbol:"tREI",decimals:18},networkId:55556,rpc:["https://55556.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rei-testnet-rpc.moonrhythm.io"],shortName:"trei",slip44:1,slug:"rei-chain-testnet",testnet:!0},$xt={chain:"Lambda Chain",chainId:56026,explorers:[{name:"Lambda Chain Mainnet Explorer",url:"https://scan.lambda.im",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXCWjWSTd6kJZKnH9aQRjgLdWRH9NTxU1wC21iBvoB4Hp",width:256,height:256,format:"png"},infoURL:"https://lambda.im",name:"Lambda Chain Mainnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:56026,rpc:["https://56026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nrpc.lambda.im/"],shortName:"lambda",slip44:1,slug:"lambda-chain",testnet:!1},Jxt={chain:"Avalanche",chainId:56054,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4688",nativeCurrency:{name:"QaUser4688 Token",symbol:"DPN",decimals:18},networkId:56054,redFlags:[],rpc:["https://56054.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4688",slug:"qauser4688",testnet:!0},Xxt={chain:"Boba BNB Mainnet",chainId:56288,explorers:[{name:"Boba BNB block explorer",url:"https://bobascan.com",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba BNB Mainnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:56288,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://56288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bnb.boba.network","https://boba-bnb.gateway.tenderly.co/","https://gateway.tenderly.co/public/boba-bnb","https://replica.bnb.boba.network","wss://boba-bnb.gateway.tenderly.co/","wss://gateway.tenderly.co/public/boba-bnb"],shortName:"BobaBnb",slug:"boba-bnb",testnet:!1},Zxt={chain:"Avalanche",chainId:56400,explorers:[{name:"TESTNETZER Explorer",url:"https://subnets-test.avax.network/testnetzer",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet Zeroone",nativeCurrency:{name:"Testnet Zeroone Token",symbol:"ZERO",decimals:18},networkId:56400,redFlags:[],rpc:["https://56400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testnetzer/testnet/rpc"],shortName:"Testnet Zeroone",slug:"testnet-zeroone",testnet:!0},eEt={chain:"Avalanche",chainId:56525,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"TSQ",decimals:18},networkId:56525,redFlags:[],rpc:["https://56525.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-56525",testnet:!0},tEt={chain:"Avalanche",chainId:56570,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4Testnet",nativeCurrency:{name:"QaUser4Testnet Token",symbol:"GYF",decimals:18},networkId:56570,redFlags:[],rpc:["https://56570.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4Testnet",slug:"qauser4testnet-qauser4testnet",testnet:!0},nEt={chain:"Avalanche",chainId:56636,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0429I3",nativeCurrency:{name:"QI0429I3 Token",symbol:"IJK",decimals:18},networkId:56636,redFlags:[],rpc:["https://56636.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/b6421f40-aa32-4cdc-98f2-bf22d0db7b4f"],shortName:"QI0429I3",slug:"qi0429i3",testnet:!0},aEt={chain:"NOVA chain",chainId:56789,explorers:[{name:"novascan",url:"https://novascan.velo.org",standard:"EIP3091"}],faucets:["https://nova-faucet.velo.org"],icon:{url:"ipfs://QmYqvnW2jwPEKUv8BdaV4sbL8Audcwosat6SPn4GqYtKxc",width:225,height:225,format:"png"},infoURL:"https://velo.org",name:"VELO Labs Mainnet",nativeCurrency:{name:"Nova",symbol:"NOVA",decimals:18},networkId:56789,rpc:["https://56789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nova.velo.org"],shortName:"VELO",slug:"velo-labs",testnet:!1},rEt={chain:"DOID",chainId:56797,explorers:[{name:"DOID Testnet Scan",url:"https://scan.testnet.doid.tech",standard:"EIP3091",icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"},infoURL:"https://doid.tech",name:"DOID Testnet",nativeCurrency:{name:"DOID",symbol:"DOID",decimals:18},networkId:56797,rpc:["https://56797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.doid.tech"],shortName:"doidTestnet",slug:"doid-testnet",testnet:!0},fEt={chain:"Avalanche",chainId:56914,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"KK1223",nativeCurrency:{name:"KK1223 Token",symbol:"KLK",decimals:18},networkId:56914,redFlags:[],rpc:["https://56914.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/bf540c23-4601-4768-9e26-f2e5f0f89c18"],shortName:"KK1223",slug:"kk1223",testnet:!0},iEt={chain:"Avalanche",chainId:56973,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0587",nativeCurrency:{name:"QaUser0587 Token",symbol:"IDZ",decimals:18},networkId:56973,redFlags:[],rpc:["https://56973.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0587",slug:"qauser0587",testnet:!0},sEt={chain:"SYS",chainId:57e3,explorers:[{name:"Rollux Testnet Explorer",url:"https://rollux.tanenbaum.io",standard:"EIP3091"}],faucets:["https://rollux.id/faucetapp"],infoURL:"https://rollux.com",name:"Rollux Testnet",nativeCurrency:{name:"Testnet Syscoin",symbol:"TSYS",decimals:18},networkId:57e3,rpc:["https://57000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-tanenbaum.rollux.com","https://rpc.ankr.com/rollux_testnet/${ANKR_API_KEY}","wss://rpc-tanenbaum.rollux.com/wss","https://rollux.rpc.tanenbaum.io","wss://rollux.rpc.tanenbaum.io/wss"],shortName:"tsys-rollux",slip44:1,slug:"rollux-testnet",testnet:!0},oEt={chain:"Avalanche",chainId:57021,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2403061",nativeCurrency:{name:"QIM2403061 Token",symbol:"VVC",decimals:18},networkId:57021,redFlags:[],rpc:["https://57021.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2403061",slug:"qim2403061",testnet:!0},cEt={chain:"Avalanche",chainId:57487,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"PTNEWLO",nativeCurrency:{name:"PTNEWLO Token",symbol:"PTNL",decimals:18},networkId:57487,redFlags:[],rpc:["https://57487.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/ptnewlo/testnet/rpc"],shortName:"PTNEWLO",slug:"ptnewlo",testnet:!0},dEt={chain:"Avalanche",chainId:57522,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan Test",nativeCurrency:{name:"Cohan Test Token",symbol:"NYU",decimals:18},networkId:57522,redFlags:[],rpc:["https://57522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/fc395ee3-9e2d-45ea-951a-233b4f3e367d"],shortName:"Cohan Test",slug:"cohan-test",testnet:!0},lEt={chain:"Avalanche",chainId:57973,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5524 Testnet",nativeCurrency:{name:"QaUser5524 Testnet Token",symbol:"ADN",decimals:18},networkId:57973,redFlags:[],rpc:["https://57973.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5524 Testnet",slug:"qauser5524-testnet",testnet:!0},uEt={chain:"ETH",chainId:58008,explorers:[{name:"blockscout",url:"https://explorer.sepolia.publicgoods.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUVJ7MLCEAfq3pHVPFLscqRMiyAY5biVgTkeDQCmAhHNS",width:574,height:574,format:"svg"},infoURL:"https://publicgoods.network/",name:"Sepolia PGN (Public Goods Network)",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:58008,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://pgn-bridge.vercel.app/bridge"}]},redFlags:[],rpc:["https://58008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.publicgoods.network"],shortName:"sepPGN",slug:"sepolia-pgn-public-goods-network",testnet:!0},pEt={chain:"Avalanche",chainId:58050,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0417",nativeCurrency:{name:"QaUser0417 Token",symbol:"HAR",decimals:18},networkId:58050,redFlags:[],rpc:["https://58050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0417",slug:"qauser0417",testnet:!0},hEt={chain:"Avalanche",chainId:58064,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0209I3",nativeCurrency:{name:"QI0209I3 Token",symbol:"BLOX",decimals:18},networkId:58064,redFlags:[],rpc:["https://58064.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0209I3",slug:"qi0209i3",testnet:!0},bEt={chain:"Avalanche",chainId:58316,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1943 Testnet",nativeCurrency:{name:"QaUser1943 Testnet Token",symbol:"JAI",decimals:18},networkId:58316,redFlags:[],rpc:["https://58316.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1943 Testnet",slug:"qauser1943-testnet",testnet:!0},mEt={chain:"Avalanche",chainId:58474,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s4 Testnet",nativeCurrency:{name:"QI0408s4 Testnet Token",symbol:"QCE",decimals:18},networkId:58474,redFlags:[],rpc:["https://58474.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s4 Testnet",slug:"qi0408s4-testnet",testnet:!0},yEt={chain:"Avalanche",chainId:59069,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST 12-12 V2",nativeCurrency:{name:"ST 12-12 V2 Token",symbol:"GXE",decimals:18},networkId:59069,redFlags:[],rpc:["https://59069.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 12-12 V2",slug:"st-12-12-v2",testnet:!0},gEt={chain:"ETH",chainId:59140,explorers:[{name:"Etherscan",url:"https://goerli.lineascan.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"Blockscout",url:"https://explorer.goerli.linea.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}}],faucets:["https://faucetlink.to/goerli"],features:[],icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"},infoURL:"https://linea.build",name:"Linea Goerli",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},networkId:59140,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://goerli.hop.exchange/#/send?token=ETH&sourceNetwork=ethereum&destNetwork=linea"}]},redFlags:[],rpc:["https://59140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linea-goerli.infura.io/v3/${INFURA_API_KEY}","wss://linea-goerli.infura.io/ws/v3/${INFURA_API_KEY}","https://rpc.goerli.linea.build","wss://rpc.goerli.linea.build"],shortName:"linea-goerli",slip44:1,slug:"linea-goerli",status:"deprecated",testnet:!0,title:"Linea Goerli Testnet"},vEt={chain:"ETH",chainId:59141,explorers:[{name:"Etherscan",url:"https://sepolia.lineascan.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"Blockscout",url:"https://explorer.sepolia.linea.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"blockscout",url:"https://explorer.sepolia.linea.build/",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:30,height:30,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:30,height:30,format:"svg"},infoURL:"https://linea.build",name:"Linea Sepolia",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},networkId:59141,parent:{type:"L2",chain:"eip155-5",bridges:[]},redFlags:[],rpc:["https://59141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linea-sepolia.infura.io/v3/${INFURA_API_KEY}","wss://linea-sepolia.infura.io/ws/v3/${INFURA_API_KEY}","https://rpc.sepolia.linea.build","wss://rpc.sepolia.linea.build"],shortName:"linea-sepolia",slip44:1,slug:"linea-sepolia",status:"active",testnet:!0,title:"Linea Sepolia Testnet"},wEt={chain:"ETH",chainId:59144,explorers:[{name:"lineascan",url:"https://lineascan.build",standard:"EIP3091"},{name:"Blockscout",url:"https://explorer.linea.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"L2scan",url:"https://linea.l2scan.co",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"},infoURL:"https://linea.build",name:"Linea",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},networkId:59144,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.linea.build"}]},redFlags:[],rpc:["https://59144.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linea-mainnet.infura.io/v3/${INFURA_API_KEY}","wss://linea-mainnet.infura.io/ws/v3/${INFURA_API_KEY}","https://rpc.linea.build","wss://rpc.linea.build"],shortName:"linea",slug:"linea",status:"active",testnet:!1,title:"Linea Mainnet"},TEt={chain:"BEYOND",chainId:59185,explorers:[{name:"Beyond",url:"https://explorerl2new-beyond-indigo-playground-xz87sjgmaj.t.conduit.xyz",standard:"standard",icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"},infoURL:"https://explorerl2new-beyond-indigo-playground-xz87sjgmaj.t.conduit.xyz",name:"BeyondChain Testnet",nativeCurrency:{name:"BEYOND",symbol:"BEYOND",decimals:18},networkId:59185,redFlags:[],rpc:["https://59185.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-beyond-indigo-playground-xz87sjgmaj.t.conduit.xyz"],shortName:"beyond-indigo-playground-xz87sjgmaj",slug:"beyondchain-testnet",testnet:!0},xEt={chain:"Avalanche",chainId:59932,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Insomnia Testnet",nativeCurrency:{name:"Insomnia Testnet Token",symbol:"TECH",decimals:18},networkId:59932,redFlags:[],rpc:["https://59932.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/instest/testnet/rpc"],shortName:"Insomnia Testnet",slug:"insomnia-testnet",testnet:!0},EEt={chain:"Avalanche",chainId:59940,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0510s1",nativeCurrency:{name:"QR0510s1 Token",symbol:"RTQ",decimals:18},networkId:59940,redFlags:[],rpc:["https://59940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0510s1/testnet/rpc"],shortName:"QR0510s1",slug:"qr0510s1",testnet:!0},_Et={chain:"Avalanche",chainId:59944,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7920 Testnet",nativeCurrency:{name:"QaUser7920 Testnet Token",symbol:"USH",decimals:18},networkId:59944,redFlags:[],rpc:["https://59944.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7920 Testnet",slug:"qauser7920-testnet",testnet:!0},AEt={chain:"GCODE",chainId:59971,explorers:[{name:"Genesys Scan",url:"https://genesysscan.io",standard:"none",icon:{url:"ipfs://bafkreihgmpaceze7rxpajv7yrlx3cb6daqubippkpvgryzairtaubsjjoe",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreihgmpaceze7rxpajv7yrlx3cb6daqubippkpvgryzairtaubsjjoe",width:512,height:512,format:"png"},infoURL:"https://genesyscode.io",name:"Genesys Code Mainnet",nativeCurrency:{name:"GenesysCode",symbol:"GCODE",decimals:18},networkId:59971,rpc:["https://59971.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.genesyscode.io/"],shortName:"gcode",slug:"genesys-code",testnet:!1},CEt={chain:"Thinkium",chainId:6e4,explorers:[{name:"thinkiumscan",url:"https://test0.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 0",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:6e4,rpc:["https://60000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.thinkiumrpc.net/"],shortName:"TKM-test0",slip44:1,slug:"thinkium-testnet-chain-0",testnet:!0},IEt={chain:"Thinkium",chainId:60001,explorers:[{name:"thinkiumscan",url:"https://test1.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 1",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:60001,rpc:["https://60001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test1.thinkiumrpc.net/"],shortName:"TKM-test1",slip44:1,slug:"thinkium-testnet-chain-1",testnet:!0},kEt={chain:"Thinkium",chainId:60002,explorers:[{name:"thinkiumscan",url:"https://test2.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 2",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:60002,rpc:["https://60002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test2.thinkiumrpc.net/"],shortName:"TKM-test2",slip44:1,slug:"thinkium-testnet-chain-2",testnet:!0},SEt={chain:"Thinkium",chainId:60103,explorers:[{name:"thinkiumscan",url:"https://test103.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 103",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:60103,rpc:["https://60103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test103.thinkiumrpc.net/"],shortName:"TKM-test103",slip44:1,slug:"thinkium-testnet-chain-103",testnet:!0},REt={chain:"ETH",chainId:60808,explorers:[{name:"bobscout",url:"https://explorer.gobob.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaX5iqQTrJD8TBuvoT97xPMG6LYamjPCPnZUUMh12jc99",width:297,height:378,format:"png"},infoURL:"https://gobob.xyz",name:"BOB",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:60808,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://app.gobob.xyz"}]},rpc:["https://60808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gobob.xyz","wss://rpc.gobob.xyz"],shortName:"bob",slug:"bob",status:"active",testnet:!1},MEt={chain:"Avalanche",chainId:60834,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402059",nativeCurrency:{name:"QI M 2402059 Token",symbol:"ACI",decimals:18},networkId:60834,redFlags:[],rpc:["https://60834.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402059",slug:"qi-m-2402059",testnet:!0},BEt={chain:"Avalanche",chainId:60841,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"SCG-K",nativeCurrency:{name:"SCG-K Token",symbol:"REC",decimals:18},networkId:60841,redFlags:[],rpc:["https://60841.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/scgk/testnet/rpc"],shortName:"SCG-K",slug:"scg-k",testnet:!0},DEt={chain:"Avalanche",chainId:61205,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6116 Testnet",nativeCurrency:{name:"QaUser6116 Testnet Token",symbol:"YLJ",decimals:18},networkId:61205,redFlags:[],rpc:["https://61205.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6116 Testnet",slug:"qauser6116-testnet",testnet:!0},PEt={chain:"Avalanche",chainId:61258,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7821 Testnet",nativeCurrency:{name:"QaUser7821 Testnet Token",symbol:"WND",decimals:18},networkId:61258,redFlags:[],rpc:["https://61258.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7821 Testnet",slug:"qauser7821-testnet",testnet:!0},LEt={chain:"KEC",chainId:61406,explorers:[{name:"KaiChain Explorer",url:"https://explorer.kaichain.net",standard:"EIP3091"},{name:"KEC SCAN",url:"https://explorer.kaichain.net/",standard:"EIP3091",icon:{url:"ipfs://QmbfRP2Ugo66pw6Mn8m9ChP4UE6Rn5nobtDo7Vy7ej93qA/kaichain%20icon.png",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmbfRP2Ugo66pw6Mn8m9ChP4UE6Rn5nobtDo7Vy7ej93qA/kaichain%20icon.png",width:512,height:512,format:"png"},infoURL:"http://kaichain.net/",name:"Kaichain Mainnet",nativeCurrency:{name:"Kaichain",symbol:"KEC",decimals:18},networkId:61406,redFlags:[],rpc:["https://61406.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.kaichain.net"],shortName:"Kaichain",slug:"kaichain",testnet:!1},FEt={chain:"Avalanche",chainId:61514,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI011624I1",nativeCurrency:{name:"QI011624I1 Token",symbol:"DGQ",decimals:18},networkId:61514,redFlags:[],rpc:["https://61514.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/e81adde6-3c1b-46ce-8dfe-e7a689f8c7eb"],shortName:"QI011624I1",slug:"qi011624i1",testnet:!0},NEt={chain:"Avalanche",chainId:61551,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0304T1TS Testnet",nativeCurrency:{name:"QR0304T1TS Testnet Token",symbol:"OYU",decimals:18},networkId:61551,redFlags:[],rpc:["https://61551.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0304t1ts/testnet/rpc"],shortName:"QR0304T1TS Testnet",slug:"qr0304t1ts-testnet",testnet:!0},OEt={chain:"AXEL",chainId:61800,explorers:[{name:"AxelChain Dev-Net Explorer",url:"https://devexplorer2.viacube.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNx8FRacfNeawhkjk5p57EKzDHkLGMaBBmK2VRL5CB2P2",width:40,height:40,format:"svg"},infoURL:"https://www.axel.org",name:"AxelChain Dev-Net",nativeCurrency:{name:"Axelium",symbol:"AIUM",decimals:18},networkId:61800,rpc:["https://61800.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://aium-rpc-dev.viacube.com"],shortName:"aium-dev",slug:"axelchain-dev-net",testnet:!1},UEt={chain:"Etica Protocol (ETI/EGAZ)",chainId:61803,explorers:[{name:"eticascan",url:"https://eticascan.org",standard:"EIP3091"},{name:"eticastats",url:"http://explorer.etica-stats.org",standard:"EIP3091"}],faucets:["http://faucet.etica-stats.org/"],icon:{url:"ipfs://QmYSyhUqm6ArWyALBe3G64823ZpEUmFdkzKZ93hUUhNKgU",width:360,height:361,format:"png"},infoURL:"https://eticaprotocol.org",name:"Etica Mainnet",nativeCurrency:{name:"EGAZ",symbol:"EGAZ",decimals:18},networkId:61803,rpc:["https://61803.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eticamainnet.eticascan.org","https://eticamainnet.eticaprotocol.org"],shortName:"Etica",slug:"etica",testnet:!1},HEt={chain:"DoKEN Super Chain",chainId:61916,explorers:[{name:"DSC Scan",url:"https://explore.doken.dev",standard:"EIP3091",icon:{url:"ipfs://bafkreifms4eio6v56oyeemnnu5luq3sc44hptan225lr45itgzu3u372iu",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreifms4eio6v56oyeemnnu5luq3sc44hptan225lr45itgzu3u372iu",width:200,height:200,format:"png"},infoURL:"https://doken.dev/",name:"DoKEN Super Chain Mainnet",nativeCurrency:{name:"DoKEN",symbol:"DKN",decimals:18},networkId:61916,rpc:["https://61916.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sgrpc.doken.dev","https://nyrpc.doken.dev","https://ukrpc.doken.dev"],shortName:"DoKEN",slug:"doken-super-chain",testnet:!1},zEt={chain:"Avalanche",chainId:62040,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430s1",nativeCurrency:{name:"QI0430s1 Token",symbol:"SWS",decimals:18},networkId:62040,redFlags:[],rpc:["https://62040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430s1",slug:"qi0430s1",testnet:!0},WEt={chain:"ETH",chainId:62049,explorers:[{name:"optopia-testnet-scan",url:"https://scan-testnet.optopia.ai",standard:"EIP3091",icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"},infoURL:"https://optopia.ai",name:"OPTOPIA Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:62049,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge-testnet.optopia.ai"}]},rpc:["https://62049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.optopia.ai"],shortName:"OPTOPIA-Testnet",slug:"optopia-testnet",testnet:!0},qEt={chain:"ETH",chainId:62050,explorers:[{name:"optopia-scan",url:"https://scan.optopia.ai",standard:"EIP3091",icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"},infoURL:"https://optopia.ai",name:"Optopia Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:62050,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.optopia.ai"}]},rpc:["https://62050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.optopia.ai","https://rpc-mainnet-2.optopia.ai"],shortName:"Optopia",slug:"optopia",testnet:!1},jEt={chain:"Avalanche",chainId:62278,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"qi1121i1",nativeCurrency:{name:"qi1121i1 Token",symbol:"SJOX",decimals:18},networkId:62278,redFlags:[],rpc:["https://62278.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"qi1121i1",slug:"qi1121i1",testnet:!0},GEt={chain:"Avalanche",chainId:62293,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0516s1dev",nativeCurrency:{name:"QI0516s1dev Token",symbol:"OMF",decimals:18},networkId:62293,redFlags:[],rpc:["https://62293.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0516s1dev",slug:"qi0516s1dev",testnet:!0},Hse={chain:"CELO",chainId:62320,explorers:[],faucets:["https://docs.google.com/forms/d/e/1FAIpQLSdfr1BwUTYepVmmvfVUDRCwALejZ-TUva2YujNpvrEmPAX2pg/viewform","https://cauldron.pretoriaresearchlab.io/baklava-faucet"],infoURL:"https://docs.celo.org/",name:"Celo Baklava Testnet",nativeCurrency:{name:"CELO",symbol:"CELO",decimals:18},networkId:62320,rpc:["https://62320.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://baklava-forno.celo-testnet.org"],shortName:"BKLV",slip44:1,slug:"celo-baklava-testnet",testnet:!0},KEt={chain:"MultiVAC",chainId:62621,explorers:[{name:"MultiVAC Explorer",url:"https://e.mtv.ac",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWb1gthhbzkiLdgcP8ccZprGbJVjFcW8Rn4uJjrw4jd3B",width:200,height:200,format:"png"},infoURL:"https://mtv.ac",name:"MultiVAC Mainnet",nativeCurrency:{name:"MultiVAC",symbol:"MTV",decimals:18},networkId:62621,rpc:["https://62621.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mtv.ac","https://rpc-eu.mtv.ac"],shortName:"mtv",slug:"multivac",testnet:!1},QEt={chain:"Avalanche",chainId:62831,explorers:[{name:"Avalanche Subnet Testnet Explorer",url:"https://subnets-test.avax.network/plyr",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=plyr"],features:[],icon:{url:"https://plyr.network/plyr_logo.png",width:256,height:256,format:"png"},infoURL:"https://plyr.network",name:"PLYR TAU TESTNET",nativeCurrency:{name:"PLYR TAU TESTNET Token",symbol:"PLYR",decimals:18},networkId:62831,redFlags:[],rpc:["https://62831.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/plyr/testnet/rpc"],shortName:"PLYR TAU TESTNET",slip44:1,slug:"plyr-tau-testnet",testnet:!0},VEt={chain:"ECS",chainId:63e3,explorers:[{name:"eCredits MainNet Explorer",url:"https://explorer.ecredits.com",standard:"EIP3091",icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"}}],faucets:[],icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"},infoURL:"https://ecredits.com",name:"eCredits Mainnet",nativeCurrency:{name:"eCredits",symbol:"ECS",decimals:18},networkId:63e3,rpc:["https://63000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ecredits.com"],shortName:"ecs",slug:"ecredits",testnet:!1},YEt={chain:"ECS",chainId:63001,explorers:[{name:"eCredits TestNet Explorer",url:"https://explorer.tst.ecredits.com",standard:"EIP3091",icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"}}],faucets:["https://faucet.tst.ecredits.com"],icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"},infoURL:"https://ecredits.com",name:"eCredits Testnet",nativeCurrency:{name:"eCredits",symbol:"ECS",decimals:18},networkId:63001,rpc:["https://63001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tst.ecredits.com"],shortName:"ecs-testnet",slip44:1,slug:"ecredits-testnet",testnet:!0},$Et={chain:"Avalanche",chainId:63079,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"MT 1121-2",nativeCurrency:{name:"MT 1121-2 Token",symbol:"RCE",decimals:18},networkId:63079,redFlags:[],rpc:["https://63079.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/d76ea66a-e423-49f6-8ef1-4355260b47f1"],shortName:"MT 1121-2",slug:"mt-1121-2",testnet:!0},JEt={chain:"Avalanche",chainId:63367,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ReSFT 1-16-24",nativeCurrency:{name:"ReSFT 1-16-24 Token",symbol:"ZAF",decimals:18},networkId:63367,redFlags:[],rpc:["https://63367.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ReSFT 1-16-24",slug:"resft-1-16-24",testnet:!0},XEt={chain:"Avalanche",chainId:63891,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnetv2",nativeCurrency:{name:"Tnetv2 Token",symbol:"LFC",decimals:18},networkId:63891,redFlags:[],rpc:["https://63891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnetv2",slug:"tnetv2",testnet:!0},ZEt={chain:"Avalanche",chainId:64029,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0524I1",nativeCurrency:{name:"QI0524I1 Token",symbol:"LHU",decimals:18},networkId:64029,redFlags:[],rpc:["https://64029.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0524I1",slug:"qi0524i1",testnet:!0},e_t={chain:"Avalanche",chainId:64092,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3186 Testnet",nativeCurrency:{name:"QaUser3186 Testnet Token",symbol:"KII",decimals:18},networkId:64092,redFlags:[],rpc:["https://64092.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3186 Testnet",slug:"qauser3186-testnet",testnet:!0},t_t={chain:"FTM",chainId:64165,ens:{registry:"standard"},explorers:[{name:"Fantom Sonic Builders Testnet",url:"https://sonicscan.io/",standard:"standard",icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"}}],faucets:["https://public-sonic.fantom.network/account"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"},infoURL:"https://sonicscan.io/",name:"Fantom Sonic Builders Testnet",nativeCurrency:{name:"Fantom",symbol:"FTM",decimals:18},networkId:64165,redFlags:[],rpc:["https://64165.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sonic.fantom.network/"],shortName:"FantomTestnet",slug:"fantom-sonic-builders-testnet",testnet:!0},n_t={chain:"Avalanche",chainId:64273,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"REALLY",nativeCurrency:{name:"REALLY Token",symbol:"FAN",decimals:18},networkId:64273,redFlags:[],rpc:["https://64273.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/really/mainnet/rpc"],shortName:"REALLY",slug:"really-really",testnet:!1},a_t={chain:"Avalanche",chainId:64326,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523s1t",nativeCurrency:{name:"QI0523s1t Token",symbol:"ADN",decimals:18},networkId:64326,redFlags:[],rpc:["https://64326.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523s1t",slug:"qi0523s1t",testnet:!0},r_t={chain:"Avalanche",chainId:64361,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8734 Testnet",nativeCurrency:{name:"QaUser8734 Testnet Token",symbol:"XPI",decimals:18},networkId:64361,redFlags:[],rpc:["https://64361.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8734 Testnet",slug:"qauser8734-testnet",testnet:!0},f_t={chain:"Avalanche",chainId:64643,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qasim Testnet",nativeCurrency:{name:"qasim Testnet Token",symbol:"SQJ",decimals:18},networkId:64643,redFlags:[],rpc:["https://64643.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"qasim Testnet",slug:"qasim-testnet",testnet:!0},i_t={chain:"Avalanche",chainId:64943,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430I1",nativeCurrency:{name:"QI0430I1 Token",symbol:"JIQ",decimals:18},networkId:64943,redFlags:[],rpc:["https://64943.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430I1",slug:"qi0430i1-qi0430i1",testnet:!0},s_t={chain:"Avalanche",chainId:65044,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"EXR0314 Testnet",nativeCurrency:{name:"EXR0314 Testnet Token",symbol:"BPR",decimals:18},networkId:65044,redFlags:[],rpc:["https://65044.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"EXR0314 Testnet",slug:"exr0314-testnet",testnet:!0},o_t={chain:"Avalanche",chainId:65174,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9821 Testnet",nativeCurrency:{name:"QaUser9821 Testnet Token",symbol:"HKL",decimals:18},networkId:65174,redFlags:[],rpc:["https://65174.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9821 Testnet",slug:"qauser9821-testnet",testnet:!0},c_t={chain:"Avalanche",chainId:65300,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser46 Testnet",nativeCurrency:{name:"QaUser46 Testnet Token",symbol:"ZAG",decimals:18},networkId:65300,redFlags:[],rpc:["https://65300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser46 Testnet",slug:"qauser46-testnet",testnet:!0},d_t={chain:"SCOLWEI",chainId:65450,explorers:[{name:"Scolscan Explorer",url:"https://explorer.scolcoin.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVES1eqDXhP8SdeCpM85wvjmhrQDXGRquQebDrSdvJqpt",width:792,height:822,format:"png"},infoURL:"https://scolcoin.com",name:"Scolcoin Mainnet",nativeCurrency:{name:"Scolcoin",symbol:"SCOL",decimals:18},networkId:65450,rpc:["https://65450.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.scolcoin.com"],shortName:"SRC",slug:"scolcoin",testnet:!1},l_t={chain:"Avalanche",chainId:65842,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4143 Testnet",nativeCurrency:{name:"QaUser4143 Testnet Token",symbol:"NHU",decimals:18},networkId:65842,redFlags:[],rpc:["https://65842.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4143 Testnet",slug:"qauser4143-testnet",testnet:!0},u_t={chain:"Avalanche",chainId:66042,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408I1 Testnet",nativeCurrency:{name:"QI0408I1 Testnet Token",symbol:"YXE",decimals:18},networkId:66042,redFlags:[],rpc:["https://66042.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408I1 Testnet",slug:"qi0408i1-testnet",testnet:!0},p_t={chain:"Avalanche",chainId:66063,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3324 Testnet",nativeCurrency:{name:"QaUser3324 Testnet Token",symbol:"IYM",decimals:18},networkId:66063,redFlags:[],rpc:["https://66063.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3324 Testnet",slug:"qauser3324-testnet",testnet:!0},h_t={chain:"Avalanche",chainId:66904,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1335 Testnet",nativeCurrency:{name:"QaUser1335 Testnet Token",symbol:"KFZ",decimals:18},networkId:66904,redFlags:[],rpc:["https://66904.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1335 Testnet",slug:"qauser1335-testnet",testnet:!0},b_t={chain:"JanusNetwork",chainId:66988,explorers:[{name:"JanusNetwork Testnet Explorer",url:"https://beta.scan.janusnetwork.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreifc3vnwf4hj3bo6fg4u5qlqmjgajjgezyeg236qjcihl4ha42siuq",width:819,height:792,format:"png"},infoURL:"https://janus-network.gitbook.io/janus",name:"Janus Testnet",nativeCurrency:{name:"Janus",symbol:"JNS",decimals:18},networkId:66988,rpc:["https://66988.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.janusnetwork.io"],shortName:"janusnetwork-testnet",slip44:1,slug:"janus-testnet",status:"active",testnet:!0},m_t={chain:"SIN",chainId:67390,explorers:[{name:"siriusnetscan",url:"https://siriusnet.tryethernal.com",standard:"EIP3091"}],faucets:[],infoURL:"https://macaucasinolisboa.xyz",name:"SiriusNet",nativeCurrency:{name:"MCD",symbol:"MCD",decimals:18},networkId:67390,rpc:["https://67390.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://u0tnafcv6j:o2T045sxuCNXL878RDQLp5__Zj-es2cvdjtgkl4etn0@u0v7kwtvtg-u0wj114sve-rpc.us0-aws.kaleido.io/"],shortName:"mcl",slug:"siriusnet",status:"deprecated",testnet:!1},y_t={chain:"Avalanche",chainId:67451,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6097 Testnet",nativeCurrency:{name:"QaUser6097 Testnet Token",symbol:"NHU",decimals:18},networkId:67451,redFlags:[],rpc:["https://67451.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6097 Testnet",slug:"qauser6097-testnet",testnet:!0},g_t={chain:"COSMIC",chainId:67588,explorers:[],faucets:[],infoURL:"https://cosmicchain.site",name:"Cosmic Chain",nativeCurrency:{name:"Cosmic Chain",symbol:"COSMIC",decimals:18},networkId:3344,rpc:["https://67588.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.cosmicchain.site:3344"],shortName:"Cosmic",slug:"cosmic-chain",testnet:!0},v_t={chain:"Avalanche",chainId:67700,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523T1DT",nativeCurrency:{name:"QI0523T1DT Token",symbol:"WYI",decimals:18},networkId:67700,redFlags:[],rpc:["https://67700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523T1DT",slug:"qi0523t1dt",testnet:!0},w_t={chain:"Avalanche",chainId:68007,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"infra Testnet",nativeCurrency:{name:"infra Testnet Token",symbol:"ZPO",decimals:18},networkId:68007,redFlags:[],rpc:["https://68007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/infratestn/testnet/rpc"],shortName:"infra Testnet",slug:"infra-testnet",testnet:!0},T_t={chain:"Avalanche",chainId:68042,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0514s1",nativeCurrency:{name:"QI0514s1 Token",symbol:"TQA",decimals:18},networkId:68042,redFlags:[],rpc:["https://68042.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0514s1",slug:"qi0514s1",testnet:!0},x_t={chain:"Avalanche",chainId:68064,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3451 Testnet",nativeCurrency:{name:"QaUser3451 Testnet Token",symbol:"NKL",decimals:18},networkId:68064,redFlags:[],rpc:["https://68064.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3451 Testnet",slug:"qauser3451-testnet",testnet:!0},E_t={chain:"Avalanche",chainId:68295,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0116y1s",nativeCurrency:{name:"qr0116y1s Token",symbol:"ANG",decimals:18},networkId:68295,redFlags:[],rpc:["https://68295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0116y1s/testnet/rpc"],shortName:"qr0116y1s",slug:"qr0116y1s",testnet:!0},__t={chain:"Avalanche",chainId:68688,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Haku Chain Testnet",nativeCurrency:{name:"Haku Chain Testnet Token",symbol:"HAKU",decimals:18},networkId:68688,redFlags:[],rpc:["https://68688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/hakuchain/testnet/rpc"],shortName:"Haku Chain Testnet",slug:"haku-chain-testnet",testnet:!0},A_t={chain:"DM2 Verse",chainId:68770,explorers:[{name:"DM2Verse Explorer",url:"https://explorer.dm2verse.dmm.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPMqjf5XKZ4Cxa1u8qc8Zj9mmVLBoqK7N5h2zFr3Rsyzw",width:260,height:260,format:"png"},infoURL:"https://seamoon.dmm.com",name:"DM2 Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:68770,parent:{type:"L2",chain:"eip155-248"},rpc:["https://68770.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dm2verse.dmm.com"],shortName:"dm2",slug:"dm2-verse",testnet:!1},C_t={chain:"Avalanche",chainId:68976,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s1 Testnet",nativeCurrency:{name:"QI0408s1 Testnet Token",symbol:"ICV",decimals:18},networkId:68976,redFlags:[],rpc:["https://68976.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s1 Testnet",slug:"qi0408s1-testnet",testnet:!0},I_t={chain:"Avalanche",chainId:69399,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0103I1",nativeCurrency:{name:"QI0103I1 Token",symbol:"AYYX",decimals:18},networkId:69399,redFlags:[],rpc:["https://69399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0103I1",slug:"qi0103i1",testnet:!0},k_t={chain:"ETH",chainId:69420,explorers:[{name:"Condrieu explorer",url:"https://explorer.condrieu.ethdevops.io",standard:"none"}],faucets:["https://faucet.condrieu.ethdevops.io"],infoURL:"https://condrieu.ethdevops.io",name:"Condrieu",nativeCurrency:{name:"Condrieu Testnet Ether",symbol:"CTE",decimals:18},networkId:69420,rpc:["https://69420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.condrieu.ethdevops.io:8545"],shortName:"cndr",slip44:1,slug:"condrieu",testnet:!0,title:"Ethereum Verkle Testnet Condrieu"},S_t={chain:"Avalanche",chainId:69740,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"WLDVNT",decimals:18},networkId:69740,redFlags:[],rpc:["https://69740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet-69740",testnet:!0},R_t={chain:"Avalanche",chainId:69743,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"SCG-K",nativeCurrency:{name:"SCG-K Token",symbol:"REC",decimals:18},networkId:69743,redFlags:[],rpc:["https://69743.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/scgk/mainnet/rpc"],shortName:"SCG-K",slug:"scg-k-scg-k",testnet:!1},M_t={chain:"Thinkium",chainId:7e4,explorers:[{name:"thinkiumscan",url:"https://chain0.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 0",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:7e4,rpc:["https://70000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy.thinkiumrpc.net/"],shortName:"TKM0",slug:"thinkium-chain-0",testnet:!1},B_t={chain:"Thinkium",chainId:70001,explorers:[{name:"thinkiumscan",url:"https://chain1.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 1",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:70001,rpc:["https://70001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy1.thinkiumrpc.net/"],shortName:"TKM1",slug:"thinkium-chain-1",testnet:!1},D_t={chain:"Thinkium",chainId:70002,explorers:[{name:"thinkiumscan",url:"https://chain2.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 2",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:70002,rpc:["https://70002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy2.thinkiumrpc.net/"],shortName:"TKM2",slug:"thinkium-chain-2",testnet:!1},P_t={chain:"Avalanche",chainId:70038,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"John's Testnet",nativeCurrency:{name:"John's Testnet Token",symbol:"FLG",decimals:18},networkId:70038,redFlags:[],rpc:["https://70038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"John's Testnet",slug:"john-s-testnet",testnet:!0},L_t={chain:"Thinkium",chainId:70103,explorers:[{name:"thinkiumscan",url:"https://chain103.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 103",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:70103,rpc:["https://70103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy103.thinkiumrpc.net/"],shortName:"TKM103",slug:"thinkium-chain-103",testnet:!1},F_t={chain:"Avalanche",chainId:70341,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1957 Testnet",nativeCurrency:{name:"QaUser1957 Testnet Token",symbol:"AKI",decimals:18},networkId:70341,redFlags:[],rpc:["https://70341.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1957 Testnet",slug:"qauser1957-testnet",testnet:!0},N_t={chain:"Avalanche",chainId:70408,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523T2TD",nativeCurrency:{name:"QI0523T2TD Token",symbol:"WYI",decimals:18},networkId:70408,redFlags:[],rpc:["https://70408.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523T2TD",slug:"qi0523t2td",testnet:!0},O_t={chain:"Avalanche",chainId:70457,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9604",nativeCurrency:{name:"QaUser9604 Token",symbol:"CEB",decimals:18},networkId:70457,redFlags:[],rpc:["https://70457.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9604",slug:"qauser9604",testnet:!0},U_t={chain:"Avalanche",chainId:70466,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan test3",nativeCurrency:{name:"Cohan test3 Token",symbol:"HYN",decimals:18},networkId:70466,redFlags:[],rpc:["https://70466.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f44b72ee-0574-44d2-a10b-363a74964145"],shortName:"Cohan test3",slug:"cohan-test3",testnet:!0},H_t={chain:"ETH",chainId:70700,explorers:[{name:"Proof of Play Apex Explorer",url:"https://explorer.apex.proofofplay.com",standard:"EIP3091",icon:{url:"ipfs://QmW3NPDe6WRqucrWbe8pg3GqSMPi8V6Qa1fAiaQuqjxSJC",width:1256,height:1256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3NPDe6WRqucrWbe8pg3GqSMPi8V6Qa1fAiaQuqjxSJC",width:1256,height:1256,format:"png"},infoURL:"https://proofofplay.com",name:"Proof of Play - Apex",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:70700,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.arbitrum.io"},{url:"https://relay.link/bridge/apex/"}]},rpc:["https://70700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.apex.proofofplay.com"],shortName:"pop-apex",slug:"proof-of-play-apex",testnet:!1},z_t={chain:"GuapcoinX",chainId:71111,explorers:[{name:"GuapcoinX Explorer",url:"http://explorer.guapcoinx.com",standard:"none",icon:{url:"ipfs://QmcDTR7982VQKDDz2Mh4fZbnE9hn67MuFPWQv1MimCqPvB",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcDTR7982VQKDDz2Mh4fZbnE9hn67MuFPWQv1MimCqPvB",width:800,height:800,format:"png"},infoURL:"https://guapcoin.org/",name:"GuapcoinX",nativeCurrency:{name:"GuapcoinX",symbol:"GuapX",decimals:18},networkId:71111,rpc:["https://71111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.guapcoinx.com/","https://rpc-mainnet-1.guapcoinx.com/","https://rpc-mainnet-2.guapcoinx.com/"],shortName:"GuapX",slug:"guapcoinx",testnet:!1},W_t={chain:"Avalanche",chainId:71169,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"PJH",decimals:18},networkId:71169,redFlags:[],rpc:["https://71169.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-71169",testnet:!0},q_t={chain:"CKB",chainId:71393,explorers:[],faucets:["https://faucet.nervos.org/"],icon:{url:"ipfs://QmZ5gFWUxLFqqT3DkefYfRsVksMwMTc5VvBjkbHpeFMsNe",width:1001,height:1629,format:"png"},infoURL:"https://github.com/nervosnetwork/godwoken",name:"Polyjuice Testnet",nativeCurrency:{name:"CKB",symbol:"CKB",decimals:8},networkId:1,rpc:["https://71393.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://godwoken-testnet-web3-rpc.ckbapp.dev","ws://godwoken-testnet-web3-rpc.ckbapp.dev/ws"],shortName:"ckb",slip44:1,slug:"polyjuice-testnet",testnet:!0},j_t={chain:"GWT",chainId:71401,explorers:[{name:"GWScan Block Explorer",url:"https://v1.testnet.gwscan.com",standard:"none"}],faucets:["https://testnet.bridge.godwoken.io"],infoURL:"https://www.nervos.org",name:"Godwoken Testnet v1",nativeCurrency:{name:"pCKB",symbol:"pCKB",decimals:18},networkId:71401,rpc:["https://71401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://godwoken-testnet-v1.ckbapp.dev","https://v1.testnet.godwoken.io/rpc"],shortName:"gw-testnet-v1",slip44:1,slug:"godwoken-testnet-v1",testnet:!0},G_t={chain:"GWT",chainId:71402,explorers:[{name:"GWScan Block Explorer",url:"https://v1.gwscan.com",standard:"none"}],faucets:[],infoURL:"https://www.nervos.org",name:"Godwoken Mainnet",nativeCurrency:{name:"pCKB",symbol:"pCKB",decimals:18},networkId:71402,rpc:["https://71402.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://v1.mainnet.godwoken.io/rpc"],shortName:"gw-mainnet-v1",slug:"godwoken",testnet:!1},K_t={chain:"Jambon's Devnet",chainId:72605,explorers:[],faucets:[],features:[],icon:{url:"",width:256,height:256,format:".svg"},name:"Jambon's Devnet",nativeCurrency:{name:"Jambon's Devnet",symbol:"DOB",decimals:18},networkId:72605,redFlags:[],rpc:[],shortName:"Jambon's Devnet",slug:"jambon-s-devnet",testnet:!0},Q_t={chain:"Avalanche",chainId:72647,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3938",nativeCurrency:{name:"QaUser3938 Token",symbol:"HTO",decimals:18},networkId:72647,redFlags:[],rpc:["https://72647.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3938",slug:"qauser3938",testnet:!0},V_t={chain:"Avalanche",chainId:72709,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Dragon Testnet",nativeCurrency:{name:"Dragon Testnet Token",symbol:"BDI",decimals:18},networkId:72709,redFlags:[],rpc:["https://72709.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/dragontest/testnet/rpc"],shortName:"Dragon Testnet",slug:"dragon-testnet",testnet:!0},Y_t={chain:"Ankara",chainId:72778,explorers:[{name:"ankara",url:"https://explorer.ankara-cagacrypto.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmeiop9gSdzU4NNJ6GCuPk6AeYwD9pbhEFVfRdk4dXs3kJ",width:640,height:640,format:"png"},infoURL:"https://www.cagacrypto.com/",name:"CAGA crypto Ankara testnet",nativeCurrency:{name:"Caga",symbol:"CAGA",decimals:18},networkId:72778,rpc:["https://72778.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.ankara-cagacrypto.com","wss://wss.ankara-cagacrypto.com"],shortName:"caga",slug:"caga-crypto-ankara-testnet",testnet:!0},$_t={chain:"Avalanche",chainId:72877,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"ZAG",decimals:18},networkId:72877,redFlags:[],rpc:["https://72877.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-72877",testnet:!0},J_t={chain:"Grok",chainId:72992,explorers:[{name:"GrokScan",url:"https://mainnet-explorer.grokchain.dev",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreicepw6yqtmubtpcthecjx47ndwgywartfqnkdhf66k3q57h2hlewm",width:512,height:512,format:"png"},infoURL:"https://grokchain.dev",name:"Grok Chain Mainnet",nativeCurrency:{name:"Groc",symbol:"GROC",decimals:18},networkId:72992,rpc:["https://72992.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.grokchain.dev"],shortName:"GrokChain",slug:"grok-chain",testnet:!1},X_t={chain:"ICBT",chainId:73114,explorers:[{name:"ICB Tesnet Explorer",url:"https://testnet.icbscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifgpv7tnai42hsdegnpwzbvq5iymgub357e553cotitirwy2ir7je",width:2e3,height:2243,format:"png"},infoURL:"https://icb.network",name:"ICB Testnet",nativeCurrency:{name:"ICB Testnet Token",symbol:"ICBT",decimals:18},networkId:73114,rpc:["https://73114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1-testnet.icbnetwork.info/","https://rpc2-testnet.icbnetwork.info/"],shortName:"ICBT",slug:"icb-testnet",testnet:!0},Z_t={chain:"ICB",chainId:73115,explorers:[{name:"ICB Explorer",url:"https://icbscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifgpv7tnai42hsdegnpwzbvq5iymgub357e553cotitirwy2ir7je",width:2e3,height:2243,format:"png"},infoURL:"https://icb.network",name:"ICB Network",nativeCurrency:{name:"ICB Native Token",symbol:"ICBX",decimals:18},networkId:73115,rpc:["https://73115.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1-mainnet.icbnetwork.info/","https://rpc2-mainnet.icbnetwork.info/"],shortName:"ICBX",slug:"icb-network",testnet:!1},eAt={chain:"Avalanche",chainId:73277,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9250 Testnet",nativeCurrency:{name:"QaUser9250 Testnet Token",symbol:"UDU",decimals:18},networkId:73277,redFlags:[],rpc:["https://73277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9250 Testnet",slug:"qauser9250-testnet",testnet:!0},tAt={chain:"Avalanche",chainId:73322,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7831",nativeCurrency:{name:"QaUser7831 Token",symbol:"RAN",decimals:18},networkId:73322,redFlags:[],rpc:["https://73322.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7831",slug:"qauser7831",testnet:!0},nAt={chain:"Avalanche",chainId:73486,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405024 NO INTEROP",nativeCurrency:{name:"QIM2405024 NO INTEROP Token",symbol:"UZP",decimals:18},networkId:73486,redFlags:[],rpc:["https://73486.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405024 NO INTEROP",slug:"qim2405024-no-interop",testnet:!0},aAt={chain:"Avalanche",chainId:73592,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5450",nativeCurrency:{name:"QaUser5450 Token",symbol:"PXB",decimals:18},networkId:73592,redFlags:[],rpc:["https://73592.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5450",slug:"qauser5450",testnet:!0},rAt={chain:"Avalanche",chainId:73677,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9318 Testnet",nativeCurrency:{name:"QaUser9318 Testnet Token",symbol:"XUK",decimals:18},networkId:73677,redFlags:[],rpc:["https://73677.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9318 Testnet",slug:"qauser9318-testnet",testnet:!0},fAt={chain:"Volta",chainId:73799,explorers:[],faucets:["https://voltafaucet.energyweb.org"],infoURL:"https://energyweb.org",name:"Energy Web Volta Testnet",nativeCurrency:{name:"Volta Token",symbol:"VT",decimals:18},networkId:73799,rpc:["https://73799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://volta-rpc.energyweb.org","wss://volta-rpc.energyweb.org/ws"],shortName:"vt",slip44:1,slug:"energy-web-volta-testnet",testnet:!0},iAt={chain:"Avalanche",chainId:73813,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405082",nativeCurrency:{name:"QIM2405082 Token",symbol:"WCC",decimals:18},networkId:73813,redFlags:[],rpc:["https://73813.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405082",slug:"qim2405082",testnet:!0},sAt={chain:"MVM",chainId:73927,explorers:[{name:"mvmscan",url:"https://scan.mvm.dev",standard:"EIP3091",icon:{url:"ipfs://QmeuDgSprukzfV7fi9XYHYcfmT4aZZZU7idgShtRS8Vf6V",width:471,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeuDgSprukzfV7fi9XYHYcfmT4aZZZU7idgShtRS8Vf6V",width:471,height:512,format:"png"},infoURL:"https://mvm.dev",name:"Mixin Virtual Machine",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:73927,rpc:["https://73927.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geth.mvm.dev"],shortName:"mvm",slug:"mixin-virtual-machine",testnet:!1},oAt={chain:"Avalanche",chainId:74006,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0219",nativeCurrency:{name:"QaUser0219 Token",symbol:"QVH",decimals:18},networkId:74006,redFlags:[],rpc:["https://74006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0219",slug:"qauser0219",testnet:!0},cAt={chain:"Avalanche",chainId:74356,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"S Testnet 1-5-24",nativeCurrency:{name:"S Testnet 1-5-24 Token",symbol:"ZLQ",decimals:18},networkId:74356,redFlags:[],rpc:["https://74356.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"S Testnet 1-5-24",slug:"s-testnet-1-5-24",testnet:!0},dAt={chain:"Avalanche",chainId:74738,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"CWA",decimals:18},networkId:74738,redFlags:[],rpc:["https://74738.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-74738",testnet:!0},lAt={chain:"RESIN",chainId:75e3,explorers:[{name:"ResinScan",url:"https://explorer.resincoin.dev",standard:"none"}],faucets:[],icon:{url:"ipfs://QmTBszPzBeWPhjozf4TxpL2ws1NkG9yJvisx9h6MFii1zb",width:460,height:460,format:"png"},infoURL:"https://resincoin.dev",name:"ResinCoin Mainnet",nativeCurrency:{name:"Ether",symbol:"RESIN",decimals:18},networkId:75e3,rpc:[],shortName:"resin",slug:"resincoin",testnet:!1},uAt={chain:"GEEK",chainId:75512,explorers:[{name:"Geek Explorer",url:"https://explorer.geekout-pte.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.geekout-pte.com",name:"GEEK Verse Mainnet",nativeCurrency:{name:"Geek",symbol:"GEEK",decimals:18},networkId:75512,rpc:["https://75512.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.geekout-pte.com"],shortName:"GEEK",slug:"geek-verse",testnet:!1},pAt={chain:"Avalanche",chainId:75817,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"SFT 1-8-24",nativeCurrency:{name:"SFT 1-8-24 Token",symbol:"ZAF",decimals:18},networkId:75817,redFlags:[],rpc:["https://75817.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"SFT 1-8-24",slug:"sft-1-8-24",testnet:!0},hAt={chain:"Avalanche",chainId:76950,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1204I2",nativeCurrency:{name:"QI1204I2 Token",symbol:"BHOX",decimals:18},networkId:76950,redFlags:[],rpc:["https://76950.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/ba4e7766-4bc6-44ec-b43f-598647b4ee71"],shortName:"QI1204I2",slug:"qi1204i2",testnet:!0},bAt={chain:"BORA",chainId:77001,explorers:[{name:"BORAchainscope",url:"https://scope.boraportal.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmccGWJcCzQh3rP6ZMdRyTc7JjtusKnXkoUtGUANQgjNqR",width:48,height:48,format:"svg"},infoURL:"https://www.boraportal.com",name:"BORAchain mainnet",nativeCurrency:{name:"BGAS",symbol:"BGAS",decimals:18},networkId:77001,rpc:["https://77001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-node.api.boraportal.com/bora/mainnet"],shortName:"BORAchain",slip44:8217,slug:"borachain",testnet:!1},mAt={chain:"Avalanche",chainId:77209,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2491",nativeCurrency:{name:"QaUser2491 Token",symbol:"GCW",decimals:18},networkId:77209,redFlags:[],rpc:["https://77209.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2491",slug:"qauser2491",testnet:!0},yAt={chain:"tFNC",chainId:77238,explorers:[{name:"Foundry Scan Testnet",url:"https://testnet-explorer.foundryscan.org",standard:"EIP3091"}],faucets:["https://faucet.foundryscan.org"],icon:{url:"ipfs://bafkreifx4vef7ubqz4iiaxckcvkdwjrp2hbliljwjlwu2vytlngg3r4pg4",width:192,height:192,format:"png"},infoURL:"https://foundrychain.org",name:"Foundry Chain Testnet",nativeCurrency:{name:"Foundry Chain Testnet",symbol:"tFNC",decimals:18},networkId:77238,rpc:["https://77238.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.foundryscan.org/"],shortName:"fnc",slip44:1,slug:"foundry-chain-testnet",testnet:!0},gAt={chain:"Avalanche",chainId:77552,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3673 Testnet",nativeCurrency:{name:"QaUser3673 Testnet Token",symbol:"YSI",decimals:18},networkId:77552,redFlags:[],rpc:["https://77552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3673 Testnet",slug:"qauser3673-testnet",testnet:!0},vAt={chain:"Avalanche",chainId:77572,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0993 Testnet",nativeCurrency:{name:"QaUser0993 Testnet Token",symbol:"JOE",decimals:18},networkId:77572,redFlags:[],rpc:["https://77572.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0993 Testnet",slug:"qauser0993-testnet",testnet:!0},wAt={chain:"Avalanche",chainId:77576,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6624 Testnet",nativeCurrency:{name:"QaUser6624 Testnet Token",symbol:"WVN",decimals:18},networkId:77576,redFlags:[],rpc:["https://77576.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6624 Testnet",slug:"qauser6624-testnet",testnet:!0},TAt={chain:"VSC",chainId:77612,explorers:[{name:"ventionscan",url:"https://ventionscan.io",standard:"EIP3091"}],faucets:["https://faucet.vention.network"],icon:{url:"ipfs://QmcNepHmbmHW1BZYM3MFqJW4awwhmDqhUPRXXmRnXwg1U4",width:250,height:250,format:"png"},infoURL:"https://ventionscan.io",name:"Vention Smart Chain Mainnet",nativeCurrency:{name:"VNT",symbol:"VNT",decimals:18},networkId:77612,rpc:["https://77612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.vention.network"],shortName:"vscm",slug:"vention-smart-chain",testnet:!1},xAt={chain:"Toronet",chainId:77777,ens:{registry:"0x1f45a71f4aAD769E27c969c4359E0e250C67165c"},explorers:[{name:"toronet_explorer",url:"https://toronet.org/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmciSvgLatP6jhgdazuiyD3fSrhipfAN7wC943v1qxcrpv",width:846,height:733,format:"png"},infoURL:"https://toronet.org",name:"Toronet Mainnet",nativeCurrency:{name:"Toro",symbol:"TORO",decimals:18},networkId:77777,rpc:["https://77777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://toronet.org/rpc"],shortName:"Toronet",slug:"toronet",testnet:!1},EAt={chain:"Avalanche",chainId:77898,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0517I1",nativeCurrency:{name:"QI0517I1 Token",symbol:"YGV",decimals:18},networkId:77898,redFlags:[],rpc:["https://77898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0517I1",slug:"qi0517i1",testnet:!0},_At={chain:"ETH",chainId:78110,explorers:[],faucets:[],infoURL:"https://primusmoney.com",name:"Firenze test network",nativeCurrency:{name:"Firenze Ether",symbol:"FIN",decimals:18},networkId:78110,rpc:["https://78110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ethnode.primusmoney.com/firenze"],shortName:"firenze",slip44:1,slug:"firenze-test-network",testnet:!0},AAt={chain:"Avalanche",chainId:78170,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"MXS Games Testnet",nativeCurrency:{name:"MXS Games Testnet Token",symbol:"XSEED",decimals:18},networkId:78170,redFlags:[],rpc:["https://78170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mxsgameste/testnet/rpc"],shortName:"MXS Games Testnet",slug:"mxs-games-testnet",testnet:!0},CAt={chain:"Dragonfly",chainId:78281,explorers:[{name:"Dragonfly Blockscout",url:"https://blockscout.dragonfly.hexapod.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPXhdPGufjcPzZ9Y6nY6QyW8MgA6793L88iPMRh1Q3gjJ",width:512,height:366,format:"png"},infoURL:"https://hexapod.network",name:"Dragonfly Mainnet (Hexapod)",nativeCurrency:{name:"Dragonfly",symbol:"DFLY",decimals:18},networkId:78281,rpc:["https://78281.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dragonfly-rpc.switch.ch","https://dragonfly-rpc.kore-technologies.ch","https://dragonfly-rpc.phoenix-systems.io","https://dragonfly-rpc.block-spirit.ch"],shortName:"dfly",slug:"dragonfly-hexapod",testnet:!1},IAt={chain:"AMPLIFY",chainId:78430,explorers:[{name:"AMPLIFY Explorer",url:"https://subnets-test.avax.network/amplify",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.avax.network",name:"Amplify Subnet",nativeCurrency:{name:"AMP",symbol:"AMP",decimals:18},networkId:78430,rpc:["https://78430.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/amplify/testnet/rpc"],shortName:"amplify",slip44:1,slug:"amplify-subnet",testnet:!0},kAt={chain:"BULLETIN",chainId:78431,explorers:[{name:"BULLETIN Explorer",url:"https://subnets-test.avax.network/bulletin",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.avax.network",name:"Bulletin Subnet",nativeCurrency:{name:"BLT",symbol:"BLT",decimals:18},networkId:78431,rpc:["https://78431.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/bulletin/testnet/rpc"],shortName:"bulletin",slip44:1,slug:"bulletin-subnet",testnet:!0},SAt={chain:"CONDUIT",chainId:78432,explorers:[{name:"CONDUIT Explorer",url:"https://subnets-test.avax.network/conduit",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.avax.network",name:"Conduit Subnet",nativeCurrency:{name:"CON",symbol:"CON",decimals:18},networkId:78432,rpc:["https://78432.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/conduit/testnet/rpc"],shortName:"conduit",slip44:1,slug:"conduit-subnet",testnet:!0},RAt={chain:"VANAR",chainId:78600,explorers:[{name:"Vanguard Explorer",url:"https://explorer-vanguard.vanarchain.com",standard:"EIP3091",icon:{url:"ipfs://QmeERjnmdZ6v1tfCyfKfy2Rzh1vPCsU7x2sLJcLqQ6E3Fd",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.vanarchain.com"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmeERjnmdZ6v1tfCyfKfy2Rzh1vPCsU7x2sLJcLqQ6E3Fd",width:1e3,height:1628,format:"png"},infoURL:"https://vanarchain.com",name:"Vanguard",nativeCurrency:{name:"Vanguard Vanry",symbol:"VANRY",decimals:18},networkId:78600,rpc:["https://78600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-vanguard.vanarchain.com","wss://ws-vanguard.vanarchain.com"],shortName:"vanguard",slug:"vanguard",testnet:!0,title:"Vanar Testnet Vanguard"},MAt={chain:"Avalanche",chainId:78933,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FST 12-22 V2",nativeCurrency:{name:"FST 12-22 V2 Token",symbol:"EJJ",decimals:18},networkId:78933,redFlags:[],rpc:["https://78933.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"FST 12-22 V2",slug:"fst-12-22-v2",testnet:!0},BAt={chain:"Avalanche",chainId:79062,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s4t",nativeCurrency:{name:"QI0521s4t Token",symbol:"VTV",decimals:18},networkId:79062,redFlags:[],rpc:["https://79062.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s4t",slug:"qi0521s4t",testnet:!0},DAt={chain:"Avalanche",chainId:79338,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0122I1 Testnet",nativeCurrency:{name:"QR0122I1 Testnet Token",symbol:"JVTX",decimals:18},networkId:79338,redFlags:[],rpc:["https://79338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0122i1te/testnet/rpc"],shortName:"QR0122I1 Testnet",slug:"qr0122i1-testnet",testnet:!0},PAt={chain:"Avalanche",chainId:79466,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0513I2",nativeCurrency:{name:"QI0513I2 Token",symbol:"YSC",decimals:18},networkId:79466,redFlags:[],rpc:["https://79466.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0513I2",slug:"qi0513i2",testnet:!0},LAt={chain:"Avalanche",chainId:79490,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2672 Testnet",nativeCurrency:{name:"QaUser2672 Testnet Token",symbol:"ENU",decimals:18},networkId:79490,redFlags:[],rpc:["https://79490.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2672 Testnet",slug:"qauser2672-testnet",testnet:!0},FAt={chain:"STAND",chainId:79879,explorers:[{name:"Gold Smart Chain",url:"https://testnet.goldsmartchain.com",standard:"EIP3091"}],faucets:["https://faucet.goldsmartchain.com"],icon:{url:"ipfs://QmPNuymyaKLJhCaXnyrsL8358FeTxabZFsaxMmWNU4Tzt3",width:396,height:418,format:"png"},infoURL:"https://goldsmartchain.com",name:"Gold Smart Chain Testnet",nativeCurrency:{name:"Standard in Gold",symbol:"STAND",decimals:18},networkId:79879,rpc:["https://79879.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.goldsmartchain.com"],shortName:"STANDt",slip44:1,slug:"gold-smart-chain-testnet",testnet:!0},EW={chain:"Polygon",chainId:80001,explorers:[{name:"polygonscan",url:"https://mumbai.polygonscan.com",standard:"EIP3091"}],faucets:["https://faucet.polygon.technology/"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/polygon/512.png",width:512,height:512,format:"png"},infoURL:"https://polygon.technology/",name:"Mumbai",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},networkId:80001,redFlags:[],rpc:["https://80001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mumbai.maticvigil.com","https://polygon-mumbai-bor-rpc.publicnode.com","wss://polygon-mumbai-bor-rpc.publicnode.com","https://polygon-mumbai.gateway.tenderly.co","wss://polygon-mumbai.gateway.tenderly.co"],shortName:"maticmum",slip44:1,slug:"mumbai",status:"deprecated",testnet:!0,title:"Polygon Testnet Mumbai"},NAt={chain:"Polygon",chainId:80002,explorers:[{name:"polygonamoy",url:"https://www.oklink.com/amoy",standard:"EIP3091"}],faucets:["https://faucet.polygon.technology/"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/polygon/512.png",width:512,height:512,format:"png"},infoURL:"https://polygon.technology/",name:"Polygon Amoy Testnet",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},networkId:80002,redFlags:[],rpc:["https://80002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-amoy.polygon.technology","https://polygon-amoy-bor-rpc.publicnode.com","wss://polygon-amoy-bor-rpc.publicnode.com"],shortName:"polygonamoy",slip44:1,slug:"polygon-amoy-testnet",testnet:!0,title:"Polygon Amoy Testnet"},OAt={chain:"Berachain",chainId:80085,explorers:[{name:"Beratrail",url:"https://artio.beratrail.io",standard:"none",icon:{url:"ipfs://QmW2xrDkSqBB7qgftp5PUecEGg4zwUBJgSN45CaR7CKJMr",width:256,height:256,format:"png"}}],faucets:["https://artio.faucet.berachain.com"],features:[],icon:{url:"ipfs://QmW2xrDkSqBB7qgftp5PUecEGg4zwUBJgSN45CaR7CKJMr",width:256,height:256,format:"png"},infoURL:"https://www.berachain.com/",name:"Berachain Artio",nativeCurrency:{name:"BERA",symbol:"BERA",decimals:18},networkId:80085,redFlags:[],rpc:["https://80085.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://quicknode-rpc.berachain.com","https://artio.rpc.berachain.com","https://rpc.ankr.com/berachain_testnet"],shortName:"bera-artio",slug:"berachain-artio",testnet:!0},UAt={chain:"Avalanche",chainId:80092,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4009",nativeCurrency:{name:"QaUser4009 Token",symbol:"MHP",decimals:18},networkId:80092,redFlags:[],rpc:["https://80092.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4009",slug:"qauser4009",testnet:!0},HAt={chain:"HZC",chainId:80096,explorers:[{name:"blockscout",url:"https://hizoco.net:38443",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNWGj94URMQNyGZbGuAareEL4UpHjTwYWFEFBcX9utBZX",width:421,height:421,format:"png"},infoURL:"http://hizoco.net",name:"Hizoco mainnet",nativeCurrency:{name:"Hizoco",symbol:"HZC",decimals:18},networkId:80096,rpc:["https://80096.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hizoco.net/rpc"],shortName:"hzc",slug:"hizoco",testnet:!1},zAt={chain:"Avalanche",chainId:80182,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI M 12051",nativeCurrency:{name:"QI M 12051 Token",symbol:"VTV",decimals:18},networkId:80182,redFlags:[],rpc:["https://80182.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/b19c9e32-f359-451f-ad15-7ec784625c04"],shortName:"QI M 12051",slug:"qi-m-12051",testnet:!0},WAt={chain:"Avalanche",chainId:80375,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0103y1s",nativeCurrency:{name:"qr0103y1s Token",symbol:"IJB",decimals:18},networkId:80375,redFlags:[],rpc:["https://80375.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0103y1s/testnet/rpc"],shortName:"qr0103y1s",slug:"qr0103y1s",testnet:!0},qAt={chain:"Avalanche",chainId:80719,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4301 Testnet",nativeCurrency:{name:"QaUser4301 Testnet Token",symbol:"NHU",decimals:18},networkId:80719,redFlags:[],rpc:["https://80719.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4301 Testnet",slug:"qauser4301-testnet",testnet:!0},jAt={chain:"Nordek",chainId:81041,explorers:[{name:"nordek",url:"https://nordekscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreie45fcr2hllmej2elwqpdxmiaycxmz25tl5ymraduhtefqndhlm4q",width:222,height:306,format:"png"},infoURL:"https://nordekscan.com",name:"Nordek Mainnet",nativeCurrency:{name:"NRK",symbol:"NRK",decimals:18},networkId:81041,rpc:["https://81041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.nordekscan.com"],shortName:"nordek",slug:"nordek",testnet:!1},GAt={chain:"Avalanche",chainId:81079,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 21343243",nativeCurrency:{name:"QI M 21343243 Token",symbol:"JZW",decimals:18},networkId:81079,redFlags:[],rpc:["https://81079.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f575b5b1-8b60-47f3-af28-13f3f3de2ba5"],shortName:"QI M 21343243",slug:"qi-m-21343243",testnet:!0},KAt={chain:"MEER",chainId:81341,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana Testnet",nativeCurrency:{name:"Amana Testnet",symbol:"MEER-T",decimals:18},networkId:81341,rpc:[],shortName:"amanatest",slip44:1,slug:"amana-testnet",status:"incubating",testnet:!0},QAt={chain:"MEER",chainId:81342,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana Mixnet",nativeCurrency:{name:"Amana Mixnet",symbol:"MEER-M",decimals:18},networkId:81342,rpc:[],shortName:"amanamix",slug:"amana-mixnet",status:"incubating",testnet:!1},VAt={chain:"MEER",chainId:81343,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana Privnet",nativeCurrency:{name:"Amana Privnet",symbol:"MEER-P",decimals:18},networkId:81343,rpc:[],shortName:"amanapriv",slug:"amana-privnet",status:"incubating",testnet:!1},YAt={chain:"MEER",chainId:81351,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana Testnet",nativeCurrency:{name:"Flana Testnet",symbol:"MEER-T",decimals:18},networkId:81351,rpc:[],shortName:"flanatest",slip44:1,slug:"flana-testnet",status:"incubating",testnet:!0},$At={chain:"MEER",chainId:81352,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana Mixnet",nativeCurrency:{name:"Flana Mixnet",symbol:"MEER-M",decimals:18},networkId:81352,rpc:[],shortName:"flanamix",slug:"flana-mixnet",status:"incubating",testnet:!1},JAt={chain:"MEER",chainId:81353,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana Privnet",nativeCurrency:{name:"Flana Privnet",symbol:"MEER-P",decimals:18},networkId:81353,rpc:[],shortName:"flanapriv",slug:"flana-privnet",status:"incubating",testnet:!1},XAt={chain:"MEER",chainId:81361,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana Testnet",nativeCurrency:{name:"Mizana Testnet",symbol:"MEER-T",decimals:18},networkId:81361,rpc:[],shortName:"mizanatest",slip44:1,slug:"mizana-testnet",status:"incubating",testnet:!0},ZAt={chain:"MEER",chainId:81362,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana Mixnet",nativeCurrency:{name:"Mizana Mixnet",symbol:"MEER-M",decimals:18},networkId:81362,rpc:[],shortName:"mizanamix",slug:"mizana-mixnet",status:"incubating",testnet:!1},eCt={chain:"MEER",chainId:81363,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana Privnet",nativeCurrency:{name:"Mizana Privnet",symbol:"MEER-P",decimals:18},networkId:81363,rpc:[],shortName:"mizanapriv",slug:"mizana-privnet",status:"incubating",testnet:!1},tCt={chain:"ETH",chainId:81457,explorers:[{name:"Blastscan",url:"https://blastscan.io",standard:"EIP3091",icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"}},{name:"Blast Explorer",url:"https://blastexplorer.io",standard:"EIP3091",icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"},infoURL:"https://blast.io/",name:"Blast",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:81457,parent:{type:"L2",chain:"eip155-1"},redFlags:[],rpc:["https://81457.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blast.io","https://rpc.ankr.com/blast","https://blast.din.dev/rpc","https://blast.blockpi.network/v1/rpc/public","https://blastl2-mainnet.public.blastapi.io"],shortName:"blastmainnet",slug:"blast-blastmainnet",status:"active",testnet:!1},nCt={chain:"Avalanche",chainId:81573,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIS0311 Testnet",nativeCurrency:{name:"QIS0311 Testnet Token",symbol:"MVD",decimals:18},networkId:81573,redFlags:[],rpc:["https://81573.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIS0311 Testnet",slug:"qis0311-testnet",testnet:!0},aCt={chain:"QNET",chainId:81720,explorers:[{name:"Quantum Scan Mainnet",url:"https://quantumscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibwywok67uewqbtqdzgr7nlk3lvvg7hxmbgwtn7kdwxe34useucvm",width:1024,height:1024,format:"png"},infoURL:"https://quantumnetwork.gg",name:"Quantum Chain Mainnet",nativeCurrency:{name:"Quantum Chain",symbol:"QNET",decimals:18},networkId:81720,rpc:["https://81720.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.quantumscan.org"],shortName:"qnet",slug:"quantum-chain",testnet:!1},rCt={chain:"Avalanche",chainId:82261,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0423s1 Testnet",nativeCurrency:{name:"QI0423s1 Testnet Token",symbol:"PUU",decimals:18},networkId:82261,redFlags:[],rpc:["https://82261.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0423s1 Testnet",slug:"qi0423s1-testnet",testnet:!0},fCt={chain:"Avalanche",chainId:82368,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0116S1",nativeCurrency:{name:"QR0116S1 Token",symbol:"USJ",decimals:18},networkId:82368,redFlags:[],rpc:["https://82368.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0116s1/testnet/rpc"],shortName:"QR0116S1",slug:"qr0116s1",testnet:!0},iCt={chain:"SLN",chainId:82459,explorers:[{name:"SLN Testnet Explorer",url:"https://explorer.test.smartlayer.network",standard:"EIP3091"}],faucets:[],infoURL:"https://www.smartlayer.network/",name:"Smart Layer Network Testnet",nativeCurrency:{name:"Service Unit Token",symbol:"SU",decimals:18},networkId:82459,rpc:["https://82459.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.smartlayer.network"],shortName:"tSLN",slug:"smart-layer-network-testnet",testnet:!0},sCt={chain:"Avalanche",chainId:82552,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0209I2",nativeCurrency:{name:"QI0209I2 Token",symbol:"BLOX",decimals:18},networkId:82552,redFlags:[],rpc:["https://82552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0209I2",slug:"qi0209i2",testnet:!0},oCt={chain:"zFirst AvaCloud Subnet Thirdweb",chainId:82807,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"zFirst AvaCloud Subnet Thirdweb",nativeCurrency:{name:"zFirst AvaCloud Subnet Thirdweb",symbol:"YOOO",decimals:18},networkId:82807,redFlags:[],rpc:["https://82807.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f2ea180d-0fda-4b06-9b2e-53a65d3fd789"],shortName:"zFirst AvaCloud Subnet Thirdweb",slug:"zfirst-avacloud-subnet-thirdweb",testnet:!0},cCt={chain:"Avalanche",chainId:83414,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Q IM 2402132",nativeCurrency:{name:"Q IM 2402132 Token",symbol:"XVL",decimals:18},networkId:83414,redFlags:[],rpc:["https://83414.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Q IM 2402132",slug:"q-im-2402132",testnet:!0},dCt={chain:"Avalanche",chainId:83862,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST 12-12 V1",nativeCurrency:{name:"ST 12-12 V1 Token",symbol:"GXE",decimals:18},networkId:83862,redFlags:[],rpc:["https://83862.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 12-12 V1",slug:"st-12-12-v1",testnet:!0},lCt={chain:"ZEDXION",chainId:83872,explorers:[{name:"Zedscan",url:"http://zedscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.zedscan.net",name:"ZEDXION",nativeCurrency:{name:"Zedxion",symbol:"zedx",decimals:9},networkId:83872,rpc:["https://83872.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.zedscan.net"],shortName:"ZEDX",slug:"zedxion",testnet:!1},uCt={chain:"Avalanche",chainId:83900,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0122I1 Testnet",nativeCurrency:{name:"QI0122I1 Testnet Token",symbol:"XTT",decimals:18},networkId:83900,redFlags:[],rpc:["https://83900.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/a5f62fea-1375-4ddd-b88f-72b56b435259"],shortName:"QI0122I1 Testnet",slug:"qi0122i1-testnet-qi0122i1 testnet",testnet:!0},pCt={chain:"Avalanche",chainId:84045,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jovica's Testnet",nativeCurrency:{name:"Jovica's Testnet Token",symbol:"ZQG",decimals:18},networkId:84045,redFlags:[],rpc:["https://84045.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jovicax/testnet/rpc"],shortName:"Jovica's Testnet",slug:"jovica-s-testnet",testnet:!0},hCt={chain:"ETH",chainId:84531,explorers:[{name:"basescan",url:"https://goerli.basescan.org",standard:"none"},{name:"basescout",url:"https://base-goerli.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://base-goerli.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:["https://www.coinbase.com/faucets/base-ethereum-goerli-faucet"],features:[],icon:{url:"ipfs://QmW5Vn15HeRkScMfPcW12ZdZcC2yUASpu6eCsECRdEmjjj/base-512.png",width:512,height:512,format:"png"},infoURL:"https://base.org",name:"Base Goerli Testnet",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:84531,redFlags:[],rpc:["https://84531.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.base.org","https://base-goerli.gateway.tenderly.co","wss://base-goerli.gateway.tenderly.co","https://base-goerli-rpc.publicnode.com","wss://base-goerli-rpc.publicnode.com"],shortName:"basegor",slip44:1,slug:"base-goerli",status:"deprecated",testnet:!0},_W={chain:"ETH",chainId:84532,explorers:[{name:"basescout",url:"https://base-sepolia.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaxRoHpxZd8PqccAynherrMznMufG6sdmHZLihkECXmZv",width:1200,height:1200,format:"png"},infoURL:"https://base.org",name:"Base Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:84532,rpc:["https://84532.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.base.org","https://base-sepolia-rpc.publicnode.com","wss://base-sepolia-rpc.publicnode.com"],shortName:"basesep",slip44:1,slug:"base-sepolia-testnet",testnet:!0},bCt={chain:"Avalanche",chainId:84623,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401221",nativeCurrency:{name:"QI M 2401221 Token",symbol:"HZU",decimals:18},networkId:84623,redFlags:[],rpc:["https://84623.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401221",slug:"qi-m-2401221",testnet:!0},mCt={chain:"Avalanche",chainId:84860,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0422I1 Testnet",nativeCurrency:{name:"QI0422I1 Testnet Token",symbol:"LLV",decimals:18},networkId:84860,redFlags:[],rpc:["https://84860.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0422I1 Testnet",slug:"qi0422i1-testnet",testnet:!0},yCt={chain:"Aerie",chainId:84886,explorers:[{name:"Aerie Explorer",url:"https://explorer.aerielab.io",standard:"EIP3091",icon:{url:"ipfs://bafkreig54jss26xllpjbclmfgwvot72m4ku7qxignhlqei6mijvwi2m4pu",width:1062,height:1069,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreig54jss26xllpjbclmfgwvot72m4ku7qxignhlqei6mijvwi2m4pu",width:1062,height:1069,format:"png"},infoURL:"https://aerielab.io/",name:"Aerie Network",nativeCurrency:{name:"Aerie",symbol:"AER",decimals:18},networkId:84886,rpc:["https://84886.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.aerielab.io"],shortName:"Aerie",slug:"aerie-network",testnet:!1},gCt={chain:"Avalanche",chainId:85023,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"NishiOgikubo Subnet",nativeCurrency:{name:"NishiOgikubo Subnet Token",symbol:"NOS",decimals:18},networkId:85023,redFlags:[],rpc:["https://85023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/nishiogiku/testnet/rpc"],shortName:"NishiOgikubo Subnet",slug:"nishiogikubo-subnet",testnet:!0},vCt={chain:"CYBER",chainId:85449,explorers:[],faucets:[],infoURL:"https://cybertrust.space",name:"CYBERTRUST",nativeCurrency:{name:"Cyber Trust",symbol:"CYBER",decimals:18},networkId:48501,rpc:["https://85449.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.cybertrust.space:48501"],shortName:"Cyber",slug:"cybertrust",testnet:!0},wCt={chain:"Avalanche",chainId:85678,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0122I1 Testnet",nativeCurrency:{name:"QI0122I1 Testnet Token",symbol:"KIP",decimals:18},networkId:85678,redFlags:[],rpc:["https://85678.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0122I1 Testnet",slug:"qi0122i1-testnet-qi0122i1 testnet-85678",testnet:!0},TCt={chain:"Avalanche",chainId:86157,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0523S1T",nativeCurrency:{name:"QR0523S1T Token",symbol:"STZ",decimals:18},networkId:86157,redFlags:[],rpc:["https://86157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0523s1t/testnet/rpc"],shortName:"QR0523S1T",slug:"qr0523s1t",testnet:!0},xCt={chain:"Avalanche",chainId:86663,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7218 Testnet",nativeCurrency:{name:"QaUser7218 Testnet Token",symbol:"GCY",decimals:18},networkId:86663,redFlags:[],rpc:["https://86663.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7218 Testnet",slug:"qauser7218-testnet",testnet:!0},ECt={chain:"Avalanche",chainId:87389,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1804",nativeCurrency:{name:"QaUser1804 Token",symbol:"UOA",decimals:18},networkId:87389,redFlags:[],rpc:["https://87389.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1804",slug:"qauser1804",testnet:!0},_Ct={chain:"Avalanche",chainId:87460,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1360 Testnet",nativeCurrency:{name:"QaUser1360 Testnet Token",symbol:"KYP",decimals:18},networkId:87460,redFlags:[],rpc:["https://87460.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1360 Testnet",slug:"qauser1360-testnet",testnet:!0},ACt={chain:"Avalanche",chainId:87815,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402056",nativeCurrency:{name:"QI M 2402056 Token",symbol:"ACI",decimals:18},networkId:87815,redFlags:[],rpc:["https://87815.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402056",slug:"qi-m-2402056",testnet:!0},CCt={chain:"ETH",chainId:88002,explorers:[{name:"Nautscan",url:"https://proteus.nautscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"}}],faucets:["https://proteusfaucet.nautchain.xyz"],icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"},infoURL:"https://docs.nautchain.xyz",name:"Nautilus Proteus Testnet",nativeCurrency:{name:"Zebec Test Token",symbol:"tZBC",decimals:18},networkId:88002,rpc:["https://88002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.proteus.nautchain.xyz/solana"],shortName:"NAUTTest",slip44:1,slug:"nautilus-proteus-testnet",testnet:!0},ICt={chain:"Avalanche",chainId:88018,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402131",nativeCurrency:{name:"QI M 2402131 Token",symbol:"CYB",decimals:18},networkId:88018,redFlags:[],rpc:["https://88018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402131",slug:"qi-m-2402131",testnet:!0},kCt={chain:"INOAI",chainId:88559,explorers:[{name:"inoai live",url:"https://inoai.live",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdP8zAZEwUbf3pt8t9Ykho866ni5AMgutvkn3cBsV8gKG",width:500,height:500,format:"png"},infoURL:"https://inoai.info",name:"Inoai Network",nativeCurrency:{name:"Inoai",symbol:"INO",decimals:18},networkId:88559,rpc:["https://88559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://inoai-network.com"],shortName:"INOAI",slug:"inoai-network",testnet:!1},SCt={chain:"Avalanche",chainId:88795,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8230 Testnet",nativeCurrency:{name:"QaUser8230 Testnet Token",symbol:"GRB",decimals:18},networkId:88795,redFlags:[],rpc:["https://88795.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8230 Testnet",slug:"qauser8230-testnet",testnet:!0},RCt={chain:"Unit Zero",chainId:88817,explorers:[{name:"explorer-testnet",url:"https://explorer-testnet.unit0.dev",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://units.network",name:"Unit Zero Testnet",nativeCurrency:{name:"UNIT0",symbol:"UNIT0",decimals:18},networkId:88817,rpc:["https://88817.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.unit0.dev"],shortName:"unit0-testnet",slug:"unit-zero-testnet",testnet:!0},MCt={chain:"Unit Zero",chainId:88819,explorers:[{name:"explorer-stagenet",url:"https://explorer-stagenet.unit0.dev",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://units.network",name:"Unit Zero Stagenet",nativeCurrency:{name:"UNIT0",symbol:"UNIT0",decimals:18},networkId:88819,rpc:["https://88819.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-stagenet.unit0.dev"],shortName:"unit0-stagenet",slug:"unit-zero-stagenet",testnet:!1},BCt={chain:"CHZ",chainId:88880,explorers:[{name:"scoville-explorer",url:"https://scoville-explorer.chiliz.com",standard:"none"}],faucets:["https://scoville-faucet.chiliz.com"],icon:{url:"ipfs://QmYV5xUVZhHRzLy7ie9D8qZeygJHvNZZAxwnB9GXYy6EED",width:400,height:400,format:"png"},infoURL:"https://www.chiliz.com/en/chain",name:"Chiliz Scoville Testnet",nativeCurrency:{name:"Chiliz",symbol:"CHZ",decimals:18},networkId:88880,rpc:["https://88880.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://scoville-rpc.chiliz.com"],shortName:"chz",slip44:1,slug:"chiliz-scoville-testnet",status:"deprecated",testnet:!0},DCt={chain:"Spicy",chainId:88882,explorers:[{name:"spicy-explorer",url:"https://testnet.chiliscan.com",standard:"EIP3091"},{name:"Spicy Explorer",url:"http://spicy-explorer.chiliz.com/",standard:"none"}],faucets:["https://spicy-faucet.chiliz.com","https://tatum.io/faucets/chiliz","https://spicy-faucet.chiliz.com/"],features:[],icon:{url:"ipfs://QmTGYofJ8VLkeNY4J69AvXi8e126kmbHmf34wLFoJ1FKAK",width:400,height:400,format:"png"},infoURL:"https://chiliz.com/",name:"Spicy Chain",nativeCurrency:{name:"Chiliz",symbol:"CHZ",decimals:18},networkId:88882,redFlags:[],rpc:["https://88882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://spicy-rpc.chiliz.com/","https://spicy-rpc.chiliz.com"],shortName:"Spicy",slip44:1,slug:"spicy-chain",testnet:!0},PCt={chain:"Avalanche",chainId:88883,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Proj Orc Testnet Alpha",nativeCurrency:{name:"Proj Orc Testnet Alpha Token",symbol:"STX",decimals:18},networkId:88883,redFlags:[],rpc:["https://88883.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/projorctes/testnet/rpc"],shortName:"Proj Orc Testnet Alpha",slug:"proj-orc-testnet-alpha",testnet:!0},LCt={chain:"CC2",chainId:88888,explorers:[{name:"cc2scan",url:"https://scan.chiliz.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmTGYofJ8VLkeNY4J69AvXi8e126kmbHmf34wLFoJ1FKAK",width:400,height:400,format:"png"},infoURL:"https://chiliz.com/chiliz-chain-2-0/",name:"Chiliz Chain",nativeCurrency:{name:"Chiliz",symbol:"CHZ",decimals:18},networkId:88888,redFlags:["reusedChainId"],rpc:["https://88888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ankr.com/chiliz","https://rpc.chiliz.com"],shortName:"cc2",slug:"chiliz-chain",testnet:!1},FCt={chain:"Avalanche",chainId:88945,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"SwapTest",nativeCurrency:{name:"SwapTest Token",symbol:"ZQG",decimals:18},networkId:88945,redFlags:[],rpc:["https://88945.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/swaptest/testnet/rpc"],shortName:"SwapTest",slug:"swaptest",testnet:!0},NCt={chain:"Avalanche",chainId:89283,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIS0326 Testnet",nativeCurrency:{name:"QIS0326 Testnet Token",symbol:"AKK",decimals:18},networkId:89283,redFlags:[],rpc:["https://89283.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIS0326 Testnet",slug:"qis0326-testnet",testnet:!0},OCt={chain:"Avalanche",chainId:89327,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304I3 Testnet",nativeCurrency:{name:"QI0304I3 Testnet Token",symbol:"ZIK",decimals:18},networkId:89327,redFlags:[],rpc:["https://89327.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304I3 Testnet",slug:"qi0304i3-testnet",testnet:!0},UCt={chain:"Fxcore",chainId:90001,explorers:[],faucets:[],icon:{url:"ipfs://QmauD5hzc5q1VgEU1nT4AGLCeV79CB8GgfnXXeeLmBZVHf",width:36,height:36,format:"png"},infoURL:"https://functionx.io/",name:"F(x)Core Testnet Network",nativeCurrency:{name:"Function X",symbol:"FX",decimals:18},networkId:90001,rpc:["https://90001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-fx-json-web3.functionx.io:8545"],shortName:"dhobyghaut",slug:"f-x-core-testnet-network",testnet:!0},HCt={chain:"ETH",chainId:90210,explorers:[{name:"Beverly Hills explorer",url:"https://explorer.beverlyhills.ethdevops.io",standard:"none"}],faucets:["https://faucet.beverlyhills.ethdevops.io"],infoURL:"https://beverlyhills.ethdevops.io",name:"Beverly Hills",nativeCurrency:{name:"Beverly Hills Testnet Ether",symbol:"BVE",decimals:18},networkId:90210,rpc:["https://90210.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.beverlyhills.ethdevops.io:8545"],shortName:"bvhl",slug:"beverly-hills",status:"incubating",testnet:!0,title:"Ethereum multi-client Verkle Testnet Beverly Hills"},zCt={chain:"ETH",chainId:90354,explorers:[{name:"Block Explorer",url:"https://explorerl2new-camp-network-4xje7wy105.t.conduit.xyz",standard:"EIP3091",icon:{url:"ipfs://Qmd5ux27W44fjxHP2opz7eLhJ6CJJm9WR6VcKNhbQBxiSd/QOyzwbO2_400x400.jpg",width:400,height:400,format:"jpg"}}],faucets:["https://www.campnetwork.xyz/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmd5ux27W44fjxHP2opz7eLhJ6CJJm9WR6VcKNhbQBxiSd/QOyzwbO2_400x400.jpg",width:400,height:400,format:"jpg"},infoURL:"https://campaign-1.gitbook.io/camp-technical-docs\xE5",name:"Camp Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:90354,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://camp-testnet-bridge.vercel.app/"}]},redFlags:[],rpc:["https://90354.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-camp-network-4xje7wy105.t.conduit.xyz/","https://rpc-camp-network-4xje7wy105.t.conduit.xyz"],shortName:"campaign-l2",slip44:1,slug:"camp-network",testnet:!1},WCt={chain:"Avalanche",chainId:90663,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0416s1 Testnet",nativeCurrency:{name:"QI0416s1 Testnet Token",symbol:"ZKE",decimals:18},networkId:90663,redFlags:[],rpc:["https://90663.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0416s1 Testnet",slug:"qi0416s1-testnet",testnet:!0},qCt={chain:"Avalanche",chainId:90871,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0426s1 Testnet",nativeCurrency:{name:"QI0426s1 Testnet Token",symbol:"WDC",decimals:18},networkId:90871,redFlags:[],rpc:["https://90871.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0426s1 Testnet",slug:"qi0426s1-testnet",testnet:!0},jCt={chain:"ETH",chainId:91002,explorers:[{name:"Nautscan",url:"https://triton.nautscan.com",standard:"EIP3091"}],faucets:["https://faucet.eclipse.builders"],icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"},infoURL:"https://docs.nautchain.xyz",name:"Nautilus Trition Chain",nativeCurrency:{name:"Nautilus Zebec Testnet Tokens",symbol:"tZBC",decimals:18},networkId:91002,rpc:["https://91002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://triton.api.nautchain.xyz"],shortName:"NAUT",slug:"nautilus-trition-chain",testnet:!0,title:"Nautilus Trition Testnet"},GCt={chain:"WRLDS",chainId:91003,explorers:[],faucets:["https://faucet.evm.worlds.dev.eclipsenetwork.xyz/request_neon"],features:[],name:"Worlds Appchain",nativeCurrency:{name:"WRLDS",symbol:"WRLDS",decimals:18},networkId:91003,redFlags:[],rpc:["https://91003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.evm.worlds.dev.eclipsenetwork.xyz/"],shortName:"WRLDS",slug:"worlds-appchain",testnet:!0},KCt={chain:"Avalanche",chainId:91041,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0318I1 Testnet",nativeCurrency:{name:"QI0318I1 Testnet Token",symbol:"DVN",decimals:18},networkId:91041,redFlags:[],rpc:["https://91041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0318I1 Testnet",slug:"qi0318i1-testnet-qi0318i1 testnet",testnet:!0},QCt={chain:"MetaDAP",chainId:91120,explorers:[{name:"MetaDAP Enterprise Mainnet explorer",url:"https://explorer.chain.metadap.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmcCFUTStKKJKfzTwrjfMFoVaPCMsvAvWXRdDkYMvCkEs3",width:800,height:800,format:"svg"},infoURL:"https://metadap.io/",name:"MetaDAP Enterprise Mainnet",nativeCurrency:{name:"DAP",symbol:"DAP",decimals:18},networkId:91120,rpc:["https://91120.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chain.metadap.io","wss://rpc-ws.chain.metadap.io"],shortName:"MetaDAP",slug:"metadap-enterprise",testnet:!1,title:"MetaDAP Enterprise Mainnet"},VCt={chain:"Avalanche",chainId:91132,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"New Will's Testnet",nativeCurrency:{name:"New Will's Testnet Token",symbol:"MBM",decimals:18},networkId:91132,redFlags:[],rpc:["https://91132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"New Will's Testnet",slug:"new-will-s-testnet",testnet:!0},YCt={chain:"Avalanche",chainId:91399,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0506s1",nativeCurrency:{name:"QI0506s1 Token",symbol:"NGH",decimals:18},networkId:91399,redFlags:[],rpc:["https://91399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0506s1",slug:"qi0506s1",testnet:!0},$Ct={chain:"Avalanche",chainId:91513,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon Universe",nativeCurrency:{name:"Jambon Universe Token",symbol:"NIX",decimals:18},networkId:91513,redFlags:[],rpc:["https://91513.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jambonuvrs/testnet/rpc"],shortName:"Jambon Universe",slug:"jambon-universe",testnet:!0},JCt={chain:"Avalanche",chainId:91558,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Shelby's Testnet 1-18",nativeCurrency:{name:"Shelby's Testnet 1-18 Token",symbol:"LIE",decimals:18},networkId:91558,redFlags:[],rpc:["https://91558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Shelby's Testnet 1-18",slug:"shelby-s-testnet-1-18",testnet:!0},XCt={chain:"Combo",chainId:91715,explorers:[{name:"combotrace explorer",url:"https://combotrace-testnet.nodereal.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRR4v6h6z21BpgS9xY3ExLB4Gkmm3i3dJWQx27oTGifq8",width:800,height:693,format:"png"},infoURL:"https://combonetwork.io",name:"Combo Testnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"tcBNB",decimals:18},networkId:91715,rpc:["https://91715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc.combonetwork.io"],shortName:"combo-testnet",slug:"combo-testnet",testnet:!0},ZCt={chain:"Avalanche",chainId:91735,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1228I2",nativeCurrency:{name:"QI1228I2 Token",symbol:"ZMY",decimals:18},networkId:91735,redFlags:[],rpc:["https://91735.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f51649a9-3420-4636-bb44-206f63998951"],shortName:"QI1228I2",slug:"qi1228i2",testnet:!0},eIt={chain:"Avalanche",chainId:91924,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0506I1",nativeCurrency:{name:"QI0506I1 Token",symbol:"KQA",decimals:18},networkId:91924,redFlags:[],rpc:["https://91924.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0506I1",slug:"qi0506i1",testnet:!0},tIt={chain:"Lambda",chainId:92001,explorers:[{name:"Lambda EVM Explorer",url:"https://explorer.lambda.top",standard:"EIP3091",icon:{url:"ipfs://QmWsoME6LCghQTpGYf7EnUojaDdYo7kfkWVjE6VvNtkjwy",width:500,height:500,format:"png"}}],faucets:["https://faucet.lambda.top"],icon:{url:"ipfs://QmWsoME6LCghQTpGYf7EnUojaDdYo7kfkWVjE6VvNtkjwy",width:500,height:500,format:"png"},infoURL:"https://lambda.im",name:"Lambda Testnet",nativeCurrency:{name:"test-Lamb",symbol:"LAMB",decimals:18},networkId:92001,rpc:["https://92001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.lambda.top/"],shortName:"lambda-testnet",slip44:1,slug:"lambda-testnet",testnet:!0},nIt={chain:"Avalanche",chainId:92185,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0506I2",nativeCurrency:{name:"QI0506I2 Token",symbol:"EXW",decimals:18},networkId:92185,redFlags:[],rpc:["https://92185.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0506I2",slug:"qi0506i2",testnet:!0},aIt={chain:"Avalanche",chainId:92314,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM 2405081",nativeCurrency:{name:"QIM 2405081 Token",symbol:"WCC",decimals:18},networkId:92314,redFlags:[],rpc:["https://92314.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f069738d-9c43-497b-96c1-9dda60d647e2"],shortName:"QIM 2405081",slug:"qim-2405081",testnet:!0},rIt={chain:"Avalanche",chainId:92496,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"OWO",decimals:18},networkId:92496,redFlags:[],rpc:["https://92496.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testnet/testnet/rpc"],shortName:"Testnet",slug:"testnet-testnet-92496",testnet:!0},fIt={chain:"Avalanche",chainId:92780,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402053",nativeCurrency:{name:"QI M 2402053 Token",symbol:"ACI",decimals:18},networkId:92780,redFlags:[],rpc:["https://92780.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402053",slug:"qi-m-2402053",testnet:!0},iIt={chain:"Avalanche",chainId:92847,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4251",nativeCurrency:{name:"QaUser4251 Token",symbol:"ERU",decimals:18},networkId:92847,redFlags:[],rpc:["https://92847.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4251",slug:"qauser4251",testnet:!0},sIt={chain:"Avalanche",chainId:92850,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I3",nativeCurrency:{name:"QI1212I3 Token",symbol:"HSCX",decimals:18},networkId:92850,redFlags:[],rpc:["https://92850.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1212I3",slug:"qi1212i3",testnet:!0},oIt={chain:"Avalanche",chainId:92978,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4903 Testnet",nativeCurrency:{name:"QaUser4903 Testnet Token",symbol:"CQS",decimals:18},networkId:92978,redFlags:[],rpc:["https://92978.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4903 Testnet",slug:"qauser4903-testnet",testnet:!0},cIt={chain:"Avalanche",chainId:93017,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIS0313 Testnet",nativeCurrency:{name:"QIS0313 Testnet Token",symbol:"NCG",decimals:18},networkId:93017,redFlags:[],rpc:["https://93017.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIS0313 Testnet",slug:"qis0313-testnet",testnet:!0},dIt={chain:"LILA",chainId:93572,explorers:[{name:"LiquidLayer Testnet Explorer",url:"https://testnet-scan.liquidlayer.network",standard:"EIP3091"}],faucets:["https://claim.liquidlayer.network"],icon:{url:"ipfs://bafkreiayuuzfpcgwjll4us4hquvpqa5gwq3lbiedv4qftmlwcxhcyjzzpq",width:500,height:500,format:"png"},infoURL:"https://testnet-scan.liquidlayer.network",name:"LiquidLayer Testnet",nativeCurrency:{name:"LiquidLayer Testnet",symbol:"LILA",decimals:18},networkId:93572,rpc:["https://93572.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.liquidlayer.network"],shortName:"tLILA",slug:"liquidlayer-testnet",testnet:!0},lIt={chain:"Avalanche",chainId:93625,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0222I2",nativeCurrency:{name:"QI0222I2 Token",symbol:"INK",decimals:18},networkId:93625,redFlags:[],rpc:["https://93625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0222I2",slug:"qi0222i2",testnet:!0},uIt={chain:"Avalanche",chainId:93694,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401291",nativeCurrency:{name:"QI M 2401291 Token",symbol:"HZU",decimals:18},networkId:93694,redFlags:[],rpc:["https://93694.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401291",slug:"qi-m-2401291",testnet:!0},pIt={chain:"Avalanche",chainId:93797,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8328",nativeCurrency:{name:"QaUser8328 Token",symbol:"CPY",decimals:18},networkId:93797,redFlags:[],rpc:["https://93797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8328",slug:"qauser8328",testnet:!0},hIt={chain:"Avalanche",chainId:94006,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3298",nativeCurrency:{name:"QaUser3298 Token",symbol:"TPM",decimals:18},networkId:94006,redFlags:[],rpc:["https://94006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3298",slug:"qauser3298",testnet:!0},bIt={chain:"Avalanche",chainId:94158,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FST 12-22 V1",nativeCurrency:{name:"FST 12-22 V1 Token",symbol:"EJJ",decimals:18},networkId:94158,redFlags:[],rpc:["https://94158.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"FST 12-22 V1",slug:"fst-12-22-v1",testnet:!0},mIt={chain:"Avalanche",chainId:94171,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1828",nativeCurrency:{name:"QaUser1828 Token",symbol:"GGY",decimals:18},networkId:94171,redFlags:[],rpc:["https://94171.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1828",slug:"qauser1828",testnet:!0},yIt={chain:"Avalanche",chainId:94565,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"T 0117",nativeCurrency:{name:"T 0117 Token",symbol:"RUI",decimals:18},networkId:94565,redFlags:[],rpc:["https://94565.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"T 0117",slug:"t-0117",testnet:!0},gIt={chain:"Avalanche",chainId:94918,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Sample Testnet",nativeCurrency:{name:"Sample Testnet Token",symbol:"INS",decimals:18},networkId:94918,redFlags:[],rpc:["https://94918.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/sampletest/testnet/rpc"],shortName:"Sample Testnet",slug:"sample-testnet",testnet:!0},vIt={chain:"Avalanche",chainId:95063,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0263",nativeCurrency:{name:"QaUser0263 Token",symbol:"BDU",decimals:18},networkId:95063,redFlags:[],rpc:["https://95063.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0263",slug:"qauser0263",testnet:!0},wIt={chain:"Avalanche",chainId:95395,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"MFD",decimals:18},networkId:95395,redFlags:[],rpc:["https://95395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-95395",testnet:!0},TIt={chain:"Avalanche",chainId:95446,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s1t",nativeCurrency:{name:"QI0521s1t Token",symbol:"YFT",decimals:18},networkId:95446,redFlags:[],rpc:["https://95446.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s1t",slug:"qi0521s1t",testnet:!0},xIt={chain:"Avalanche",chainId:95468,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0528T1TS",nativeCurrency:{name:"QR0528T1TS Token",symbol:"TLK",decimals:18},networkId:95468,redFlags:[],rpc:["https://95468.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0528t1ts/testnet/rpc"],shortName:"QR0528T1TS",slug:"qr0528t1ts",testnet:!0},EIt={chain:"Avalanche",chainId:95549,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Borne Testnet Testnet",nativeCurrency:{name:"Borne Testnet Testnet Token",symbol:"BORNE",decimals:18},networkId:95549,redFlags:[],rpc:["https://95549.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/borne/testnet/rpc"],shortName:"Borne Testnet Testnet",slug:"borne-testnet-testnet",testnet:!0},_It={chain:"Avalanche",chainId:95598,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523I1",nativeCurrency:{name:"QI0523I1 Token",symbol:"TQQ",decimals:18},networkId:95598,redFlags:[],rpc:["https://95598.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523I1",slug:"qi0523i1",testnet:!0},AIt={chain:"Avalanche",chainId:96040,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FIZIT",nativeCurrency:{name:"FIZIT Token",symbol:"FIZIT",decimals:18},networkId:96040,redFlags:[],rpc:["https://96040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/fizit/testnet/rpc"],shortName:"FIZIT",slug:"fizit",testnet:!0},CIt={chain:"Avalanche",chainId:96081,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2213 Testnet",nativeCurrency:{name:"QaUser2213 Testnet Token",symbol:"QLV",decimals:18},networkId:96081,redFlags:[],rpc:["https://96081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2213 Testnet",slug:"qauser2213-testnet",testnet:!0},IIt={chain:"Avalanche",chainId:96105,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5410",nativeCurrency:{name:"QaUser5410 Token",symbol:"JIV",decimals:18},networkId:96105,redFlags:[],rpc:["https://96105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5410",slug:"qauser5410",testnet:!0},kIt={chain:"Avalanche",chainId:96552,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI032924 Testnet",nativeCurrency:{name:"QI032924 Testnet Token",symbol:"KJA",decimals:18},networkId:96552,redFlags:[],rpc:["https://96552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI032924 Testnet",slug:"qi032924-testnet",testnet:!0},SIt={chain:"Avalanche",chainId:96809,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2368 Testnet",nativeCurrency:{name:"QaUser2368 Testnet Token",symbol:"ZKJ",decimals:18},networkId:96809,redFlags:[],rpc:["https://96809.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2368 Testnet",slug:"qauser2368-testnet",testnet:!0},RIt={chain:"Mantis",chainId:96970,explorers:[{name:"Mantis Blockscout",url:"https://blockscout.mantis.hexapod.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://mantis.switch.ch/faucet","https://mantis.kore-technologies.ch/faucet","https://mantis.phoenix-systems.io/faucet","https://mantis.block-spirit.ch/faucet"],icon:{url:"ipfs://Qma8dDhxSSVUyzV8Pu5bo252WaZEEikYFndRh7LVktvQEy",width:512,height:330,format:"png"},infoURL:"https://hexapod.network",name:"Mantis Testnet (Hexapod)",nativeCurrency:{name:"Mantis",symbol:"MANTIS",decimals:18},networkId:96970,rpc:["https://96970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mantis-rpc.switch.ch","https://mantis-rpc.kore-technologies.ch","https://mantis-rpc.phoenix-systems.io"],shortName:"mantis",slip44:1,slug:"mantis-testnet-hexapod",testnet:!0},MIt={chain:"Boba BNB Mainnet",chainId:97288,explorers:[{name:"Boba BNB block explorer",url:"https://blockexplorer.bnb.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba BNB Mainnet Old",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:97288,rpc:[],shortName:"BobaBnbOld",slug:"boba-bnb-old",status:"deprecated",testnet:!1},BIt={chain:"Avalanche",chainId:97370,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8236",nativeCurrency:{name:"QaUser8236 Token",symbol:"BPZ",decimals:18},networkId:97370,redFlags:[],rpc:["https://97370.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8236",slug:"qauser8236",testnet:!0},DIt={chain:"Green Chain",chainId:97531,explorers:[{name:"Green Chain Explorer",url:"https://explorer.greenchain.app",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNWBcc2AtknphNxt4GtTxbWF6vDkf6sh2nvkPn9wqchW6",width:519,height:518,format:"png"},infoURL:"https://www.greenchain.app",name:"Green Chain Testnet",nativeCurrency:{name:"GREEN",symbol:"GREEN",decimals:18},networkId:97531,rpc:["https://97531.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.greenchain.app/rpc/"],shortName:"greenchain",slug:"green-chain-testnet",testnet:!0},PIt={chain:"Avalanche",chainId:97590,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0527T1TD",nativeCurrency:{name:"QI0527T1TD Token",symbol:"WYI",decimals:18},networkId:97590,redFlags:[],rpc:["https://97590.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0527T1TD",slug:"qi0527t1td",testnet:!0},LIt={chain:"Avalanche",chainId:97622,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0130I1",nativeCurrency:{name:"QI0130I1 Token",symbol:"NZY",decimals:18},networkId:97622,redFlags:[],rpc:["https://97622.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0130I1",slug:"qi0130i1",testnet:!0},FIt={chain:"Avalanche",chainId:98273,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0520I1",nativeCurrency:{name:"QI0520I1 Token",symbol:"YZG",decimals:18},networkId:98273,redFlags:[],rpc:["https://98273.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0520I1",slug:"qi0520i1",testnet:!0},NIt={chain:"Avalanche",chainId:98540,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I5",nativeCurrency:{name:"QI1212I5 Token",symbol:"HSCX",decimals:18},networkId:98540,redFlags:[],rpc:["https://98540.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/ba4e7766-4bc6-44ec-b43f-598647b4ee71"],shortName:"QI1212I5",slug:"qi1212i5",testnet:!0},OIt={chain:"Avalanche",chainId:98557,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0201I1",nativeCurrency:{name:"QR0201I1 Token",symbol:"OCZ",decimals:18},networkId:98557,redFlags:[],rpc:["https://98557.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0201i1/testnet/rpc"],shortName:"QR0201I1",slug:"qr0201i1",testnet:!0},UIt={chain:"Avalanche",chainId:98857,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Thetan Testnet",nativeCurrency:{name:"Thetan Testnet Token",symbol:"THG",decimals:18},networkId:98857,redFlags:[],rpc:["https://98857.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/thetantest/testnet/rpc"],shortName:"Thetan Testnet",slug:"thetan-testnet",testnet:!0},HIt={chain:"Ebi",chainId:98881,explorers:[],faucets:[],infoURL:"https://ebi.xyz",name:"Ebi Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:98881,rpc:["https://98881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ebi.xyz"],shortName:"ebi",slug:"ebi-chain",status:"incubating",testnet:!1,title:"Ebi Chain"},zIt={chain:"$EL",chainId:99099,explorers:[{name:"eLiberty Testnet",url:"https://testnet.eliberty.ngo",standard:"EIP3091"}],faucets:["https://faucet.eliberty.ngo"],icon:{url:"ipfs://Qmcr8US1DZcK3ooiMtE8tEQPgep12abXzxPw1jCkgZhji9",width:150,height:150,format:"png"},infoURL:"https://eliberty.ngo",name:"eLiberty Testnet",nativeCurrency:{name:"eLiberty",symbol:"$EL",decimals:18},networkId:99099,rpc:["https://99099.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.eliberty.ngo"],shortName:"ELt",slip44:1,slug:"eliberty-testnet",testnet:!0},WIt={chain:"Avalanche",chainId:99132,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0222I1",nativeCurrency:{name:"QI0222I1 Token",symbol:"ZKUx",decimals:18},networkId:99132,redFlags:[],rpc:["https://99132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0222I1",slug:"qi0222i1",testnet:!0},qIt={chain:"Avalanche",chainId:99181,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9727 Testnet",nativeCurrency:{name:"QaUser9727 Testnet Token",symbol:"PCE",decimals:18},networkId:99181,redFlags:[],rpc:["https://99181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9727 Testnet",slug:"qauser9727-testnet",testnet:!0},jIt={chain:"Avalanche",chainId:99308,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Borne Gaming Testnet",nativeCurrency:{name:"Borne Gaming Testnet Token",symbol:"BORNE",decimals:18},networkId:99308,redFlags:[],rpc:["https://99308.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/bornegamin/testnet/rpc"],shortName:"Borne Gaming Testnet",slug:"borne-gaming-testnet",testnet:!0},GIt={chain:"Avalanche",chainId:99733,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6779 Testnet",nativeCurrency:{name:"QaUser6779 Testnet Token",symbol:"WAG",decimals:18},networkId:99733,redFlags:[],rpc:["https://99733.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6779 Testnet",slug:"qauser6779-testnet",testnet:!0},KIt={chain:"Avalanche",chainId:99947,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402141",nativeCurrency:{name:"QI M 2402141 Token",symbol:"CYB",decimals:18},networkId:99947,redFlags:[],rpc:["https://99947.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402141",slug:"qi-m-2402141",testnet:!0},QIt={chain:"USC",chainId:99998,explorers:[],faucets:[],infoURL:"https://www.ubchain.site",name:"UB Smart Chain(testnet)",nativeCurrency:{name:"UBC",symbol:"UBC",decimals:18},networkId:99998,rpc:["https://99998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.uschain.network"],shortName:"usctest",slip44:1,slug:"ub-smart-chain-testnet",testnet:!0},VIt={chain:"USC",chainId:99999,explorers:[],faucets:[],infoURL:"https://www.ubchain.site/",name:"UB Smart Chain",nativeCurrency:{name:"UBC",symbol:"UBC",decimals:18},networkId:99999,rpc:["https://99999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.uschain.network"],shortName:"usc",slug:"ub-smart-chain",testnet:!1},YIt={chain:"QuarkChain",chainId:1e5,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Root",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:1e5,rpc:["https://100000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://jrpc.mainnet.quarkchain.io:38391"],shortName:"qkc-r",slug:"quarkchain-root",testnet:!1},$It={chain:"QuarkChain",chainId:100001,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/0",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 0",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100001,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s0-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39000"],shortName:"qkc-s0",slug:"quarkchain-shard-0",testnet:!1},JIt={chain:"QuarkChain",chainId:100002,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/1",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 1",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100002,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s1-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39001"],shortName:"qkc-s1",slug:"quarkchain-shard-1",testnet:!1},XIt={chain:"QuarkChain",chainId:100003,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/2",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 2",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100003,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s2-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39002"],shortName:"qkc-s2",slug:"quarkchain-shard-2",testnet:!1},ZIt={chain:"QuarkChain",chainId:100004,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/3",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 3",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100004,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s3-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39003"],shortName:"qkc-s3",slug:"quarkchain-shard-3",testnet:!1},ekt={chain:"QuarkChain",chainId:100005,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/4",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 4",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100005,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s4-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39004"],shortName:"qkc-s4",slug:"quarkchain-shard-4",testnet:!1},tkt={chain:"QuarkChain",chainId:100006,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/5",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 5",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100006,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s5-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39005"],shortName:"qkc-s5",slug:"quarkchain-shard-5",testnet:!1},nkt={chain:"QuarkChain",chainId:100007,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/6",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 6",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100007,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s6-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39006"],shortName:"qkc-s6",slug:"quarkchain-shard-6",testnet:!1},akt={chain:"QuarkChain",chainId:100008,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/7",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 7",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100008,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s7-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39007"],shortName:"qkc-s7",slug:"quarkchain-shard-7",testnet:!1},rkt={chain:"VeChain",chainId:100009,explorers:[{name:"VeChain Stats",url:"https://vechainstats.com",standard:"none"},{name:"VeChain Explorer",url:"https://explore.vechain.org",standard:"none"}],faucets:[],infoURL:"https://vechain.org",name:"VeChain",nativeCurrency:{name:"VeChain",symbol:"VET",decimals:18},networkId:100009,rpc:[],shortName:"vechain",slug:"vechain",testnet:!1},fkt={chain:"VeChain",chainId:100010,explorers:[{name:"VeChain Explorer",url:"https://explore-testnet.vechain.org",standard:"none"}],faucets:["https://faucet.vecha.in"],infoURL:"https://vechain.org",name:"VeChain Testnet",nativeCurrency:{name:"VeChain",symbol:"VET",decimals:18},networkId:100010,rpc:[],shortName:"vechain-testnet",slip44:1,slug:"vechain-testnet",testnet:!0},ikt={chain:"CHI1",chainId:100100,explorers:[],faucets:[],icon:{url:"ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm",width:1800,height:1800,format:"png"},infoURL:"https://docs.gnosischain.com",name:"Deprecated CHI",nativeCurrency:{name:"Chiado xDAI",symbol:"xDAI",decimals:18},networkId:100100,rpc:[],shortName:"chi1",slug:"deprecated-chi",status:"deprecated",testnet:!1},skt={chain:"GTN",chainId:101010,explorers:[{name:"blockscout",url:"https://stability.blockscout.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreid3wd6ouu53r677q2z24a4eq5un5tlwbc4izfapcvvtrlhkmz43au",width:133,height:144,format:"png"},infoURL:"https://stabilityprotocol.com",name:"Global Trust Network",nativeCurrency:{name:"FREE",symbol:"FREE",decimals:18},networkId:101010,redFlags:["reusedChainId"],rpc:["https://101010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gtn.stabilityprotocol.com"],shortName:"stabilityprotocol",slug:"global-trust-network",testnet:!1},okt={chain:"CTC",chainId:102031,explorers:[{name:"blockscout",url:"https://creditcoin-testnet.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTfecECALDCy51zwVbXBSXb6TokqowCYzVLv65etahLxX",width:1024,height:1024,format:"png"},infoURL:"https://creditcoin.org",name:"Creditcoin Testnet",nativeCurrency:{name:"Testnet CTC",symbol:"tCTC",decimals:18},networkId:102031,rpc:["https://102031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cc3-testnet.creditcoin.network"],shortName:"ctctest",slug:"creditcoin-testnet",testnet:!0},ckt={chain:"crystal",chainId:103090,explorers:[{name:"blockscout",url:"https://scan.crystaleum.org",standard:"EIP3091",icon:{url:"ipfs://Qmbry1Uc6HnXmqFNXW5dFJ7To8EezCCjNr4TqqvAyzXS4h",width:150,height:150,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmbry1Uc6HnXmqFNXW5dFJ7To8EezCCjNr4TqqvAyzXS4h",width:150,height:150,format:"png"},infoURL:"https://crystaleum.org",name:"Crystaleum",nativeCurrency:{name:"CRFI",symbol:"\u25C8",decimals:18},networkId:1,rpc:["https://103090.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.cryptocurrencydevs.org","https://rpc.crystaleum.org"],shortName:"CRFI",slug:"crystaleum",testnet:!1},dkt={chain:"Avalanche",chainId:103454,explorers:[{name:"Masa Testnet Explorer",url:"https://subnets-test.avax.network/masatestnet",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Masa Testnet",nativeCurrency:{name:"Masa Testnet Token",symbol:"tMASA",decimals:18},networkId:103454,redFlags:[],rpc:["https://103454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/masatestne/testnet/rpc"],shortName:"Masa Testnet",slug:"masa-testnet",testnet:!0},lkt={chain:"KaspaClassic",chainId:104566,explorers:[{name:"KaspaClassic Explorer",url:"https://explorer.kaspaclassic.world",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNMuNBwg9opKvsnrDaoYBP743LeddeooQupVYjpBXf7d7",width:400,height:400,format:"png"},infoURL:"https://kaspaclassic.com/",name:"KaspaClassic Mainnet",nativeCurrency:{name:"KaspaClassic",symbol:"CAS",decimals:18},networkId:104566,rpc:["https://104566.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.kaspaclassic.world/","http://80.178.101.118:8000/"],shortName:"cas",slug:"kaspaclassic",testnet:!1},ukt={chain:"Stratis",chainId:105105,explorers:[{name:"Stratis Explorer",url:"https://explorer.stratisevm.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWiRBqfzoZ3GC7oCbYFqbwLyF4uDHM4eYdKUUJ7LHf2EA",width:59,height:55,format:"svg"},infoURL:"https://www.stratisplatform.com",name:"Stratis Mainnet",nativeCurrency:{name:"Stratis",symbol:"STRAX",decimals:18},networkId:105105,rpc:["https://105105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.stratisevm.com"],shortName:"stratis",slug:"stratis",testnet:!1},pkt={chain:"BRO",chainId:108801,explorers:[{name:"BROChain Explorer",url:"https://explorer.brochain.org",standard:"EIP3091"}],faucets:[],infoURL:"https://brochain.org",name:"BROChain Mainnet",nativeCurrency:{name:"Brother",symbol:"BRO",decimals:18},networkId:108801,rpc:["https://108801.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.brochain.org","http://rpc.brochain.org","https://rpc.brochain.org/mainnet","http://rpc.brochain.org/mainnet"],shortName:"bro",slug:"brochain",testnet:!1},hkt={chain:"QuarkChain",chainId:11e4,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Root",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:11e4,rpc:["https://110000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://jrpc.devnet.quarkchain.io:38391"],shortName:"qkc-d-r",slug:"quarkchain-devnet-root",testnet:!1},bkt={chain:"QuarkChain",chainId:110001,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/0",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 0",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110001,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s0-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39900"],shortName:"qkc-d-s0",slug:"quarkchain-devnet-shard-0",testnet:!1},mkt={chain:"QuarkChain",chainId:110002,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/1",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 1",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110002,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s1-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39901"],shortName:"qkc-d-s1",slug:"quarkchain-devnet-shard-1",testnet:!1},ykt={chain:"QuarkChain",chainId:110003,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/2",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 2",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110003,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s2-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39902"],shortName:"qkc-d-s2",slug:"quarkchain-devnet-shard-2",testnet:!1},gkt={chain:"QuarkChain",chainId:110004,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/3",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 3",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110004,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s3-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39903"],shortName:"qkc-d-s3",slug:"quarkchain-devnet-shard-3",testnet:!1},vkt={chain:"QuarkChain",chainId:110005,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/4",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 4",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110005,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s4-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39904"],shortName:"qkc-d-s4",slug:"quarkchain-devnet-shard-4",testnet:!1},wkt={chain:"QuarkChain",chainId:110006,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/5",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 5",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110006,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s5-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39905"],shortName:"qkc-d-s5",slug:"quarkchain-devnet-shard-5",testnet:!1},Tkt={chain:"QuarkChain",chainId:110007,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/6",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 6",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110007,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s6-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39906"],shortName:"qkc-d-s6",slug:"quarkchain-devnet-shard-6",testnet:!1},xkt={chain:"QuarkChain",chainId:110008,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/7",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 7",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110008,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s7-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39907"],shortName:"qkc-d-s7",slug:"quarkchain-devnet-shard-7",testnet:!1},Ekt={chain:"SBR",chainId:111e3,explorers:[{name:"Siberium Testnet Explorer - blockscout",url:"https://explorer.test.siberium.net",standard:"EIP3091",icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"},infoURL:"https://siberium.net",name:"Siberium Test Network",nativeCurrency:{name:"TestSIBR",symbol:"SIBR",decimals:18},networkId:111e3,rpc:["https://111000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.siberium.net"],shortName:"testsbr",slip44:1,slug:"siberium-test-network",testnet:!0},_kt={chain:"SBR",chainId:111111,explorers:[{name:"Siberium Mainnet Explorer - blockscout - 2",url:"https://explorer.main.siberium.net.ru",standard:"EIP3091",icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"},infoURL:"https://siberium.net",name:"Siberium Network",nativeCurrency:{name:"Siberium",symbol:"SIBR",decimals:18},networkId:111111,rpc:["https://111111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.main.siberium.net","https://rpc.main.siberium.net.ru"],shortName:"sbr",slug:"siberium-network",testnet:!1},Akt={chain:"re.al",chainId:111188,explorers:[{name:"blockscout",url:"https://explorer.re.al",standard:"EIP3091",icon:{url:"ipfs://QmNUmWC7jNEBcTs6ZqkrQ5vMAQG8qjq7n3FcZnXvJZLoQ9",width:301,height:302,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNUmWC7jNEBcTs6ZqkrQ5vMAQG8qjq7n3FcZnXvJZLoQ9",width:301,height:302,format:"png"},infoURL:"https://re.al",name:"re.al",nativeCurrency:{name:"re.al Ether",symbol:"reETH",decimals:18},networkId:111188,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://re.al/bridge"},{url:"https://bridge.gelato.network/bridge/real"}]},rpc:["https://111188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://real.drpc.org","wss://real.drpc.org"],shortName:"re-al",slip44:60,slug:"re-al",testnet:!1,title:"re.al Real-World Assets network"},Ckt={chain:"METAO",chainId:112358,explorers:[{name:"blockscout",url:"https://explorer.metachain.one",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTmo2QAtX5PbhX96vewnvH4Vc5H83Ft2DJGi6tAqTcFij",width:1e3,height:981,format:"png"},infoURL:"https://metachain.one",name:"Metachain One Mainnet",nativeCurrency:{name:"Metao",symbol:"METAO",decimals:18},networkId:112358,rpc:["https://112358.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metachain.one","https://rpc2.metachain.one"],shortName:"metao",slug:"metachain-one",testnet:!1},Ikt={chain:"MetaDAP",chainId:119139,explorers:[{name:"MetaDAP Enterprise Testnet explorer",url:"https://explorer.testnet.chain.metadap.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmcCFUTStKKJKfzTwrjfMFoVaPCMsvAvWXRdDkYMvCkEs3",width:800,height:800,format:"svg"},infoURL:"https://metadap.io/",name:"MetaDAP Enterprise Testnet",nativeCurrency:{name:"DAP",symbol:"DAP",decimals:18},networkId:119139,rpc:["https://119139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.chain.metadap.io","wss://rpc-ws.testnet.chain.metadap.io"],shortName:"MetaDAP-T",slug:"metadap-enterprise-testnet",testnet:!0,title:"MetaDAP Enterprise Testnet"},kkt={chain:"ADIL",chainId:123456,explorers:[{name:"ADIL Devnet Explorer",url:"https://devnet.adilchain-scan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeHNYUx6n8CjUFSLWNT17oAtDYrUq6r8buyvGCUBXCJw6",width:500,height:500,format:"png"},infoURL:"https://adilchain.io",name:"ADIL Devnet",nativeCurrency:{name:"Devnet ADIL",symbol:"ADIL",decimals:18},networkId:123456,rpc:["https://123456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.adilchain-rpc.io"],shortName:"dadil",slug:"adil-devnet",testnet:!1},Skt={chain:"Etherlink",chainId:128123,explorers:[{name:"Etherlink Testnet Explorer",url:"https://testnet-explorer.etherlink.com",standard:"EIP3091"}],faucets:["https://faucet.etherlink.com"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmVqE4wq3fd3RKZwo7GxmW333ywHgYBZGvqwh3TUBM5DUi",width:3600,height:3600,format:"PNG"},infoURL:"https://node.ghostnet.etherlink.com",name:"Etherlink Testnet",nativeCurrency:{name:"tez",symbol:"XTZ",decimals:18},networkId:128123,parent:{type:"Etherlink",chain:"Etherlink",bridges:[]},redFlags:[],rpc:["https://128123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.ghostnet.etherlink.com"],shortName:"etlt",slug:"etherlink-testnet",testnet:!0},Rkt={chain:"DIONE",chainId:131313,explorers:[],faucets:["https://faucet.dioneprotocol.com/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmVt5Y585JqBSrkpZmYaEnX9FW7tDwfDLmUGNyDdyV2Pd2",width:48,height:48,format:"svg"},infoURL:"https://www.dioneprotocol.com/",name:"Odyssey Chain (Testnet)",nativeCurrency:{name:"DIONE",symbol:"DIONE",decimals:18},networkId:131313,rpc:["https://131313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnode.dioneprotocol.com/ext/bc/D/rpc"],shortName:"DIONE",slug:"odyssey-chain-testnet",testnet:!0},Mkt={chain:"ETND",chainId:131419,explorers:[{name:"etndscan",url:"https://scan.etnd.pro",standard:"none",icon:{url:"ipfs://Qmd26eRJxPb1jJg5Q4mC2M4kD9Jrs5vmcnr5LczHFMGwSD",width:128,height:128,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmd26eRJxPb1jJg5Q4mC2M4kD9Jrs5vmcnr5LczHFMGwSD",width:128,height:128,format:"png"},infoURL:"https://www.etnd.pro",name:"ETND Chain Mainnets",nativeCurrency:{name:"ETND",symbol:"ETND",decimals:18},networkId:131419,rpc:["https://131419.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.node1.etnd.pro/"],shortName:"ETND",slug:"etnd-chain-s",testnet:!1},Bkt={chain:"Form",chainId:132902,explorers:[],faucets:["https://info.form.network/faucet"],features:[],icon:{url:"ipfs://bafkreif6anuffunp3le26jsyemdrg4ydf2abensokw4qnlgvg5nc43zqbi",width:3600,height:3600,format:"PNG"},infoURL:"https://info.form.network",name:"Form Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:132902,parent:{type:"Optimism",chain:"Optimism",bridges:[]},redFlags:[],rpc:["https://132902.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.form.network/http"],shortName:"Form",slug:"form-testnet",testnet:!0,title:"https://explorer.form.network/"},Dkt={chain:"Avalanche",chainId:141221,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Xantus Testnet",nativeCurrency:{name:"Xantus Testnet Token",symbol:"XAN",decimals:18},networkId:141221,redFlags:[],rpc:["https://141221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xantustest/testnet/rpc"],shortName:"Xantus Testnet",slug:"xantus-testnet",testnet:!0},Pkt={chain:"MagApe",chainId:141319,explorers:[{name:"etherscan",url:"http://testnet-api.magape.io:81",standard:"EIP3091",icon:{url:"ipfs://QmPsxWMvnxnZ9dZcRJJMaE24o34dQsnsAMCJh3kVDrE1aB",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmPsxWMvnxnZ9dZcRJJMaE24o34dQsnsAMCJh3kVDrE1aB",width:1e3,height:1e3,format:"png"},infoURL:"https://magape.io",name:"MagApe Testnet",nativeCurrency:{name:"MagApe",symbol:"MAG",decimals:18},networkId:141319,rpc:["https://141319.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-api.magape.io/chain/"],shortName:"mag",slug:"magape-testnet",testnet:!0,title:"MagApeChain"},Lkt={chain:"ICPlaza",chainId:142857,explorers:[{name:"ICPlaza",url:"https://browsemainnet.ic-plaza.org/index",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQpKKwpqrx77VA4SJLEWhuv9eLFMcVV9uvxRCLb6gdgCX",width:847,height:906,format:"png"},infoURL:"https://docs.ic-plaza.org/",name:"ICPlaza Mainnet",nativeCurrency:{name:"ict",symbol:"ict",decimals:18},networkId:142857,rpc:["https://142857.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcmainnet.ic-plaza.org/"],shortName:"ICPlaza",slug:"icplaza",testnet:!1},Fkt={chain:"Avalanche",chainId:151221,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Xantus",nativeCurrency:{name:"Xantus Token",symbol:"XAN",decimals:18},networkId:151221,redFlags:[],rpc:["https://151221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xantus/testnet/rpc"],shortName:"Xantus",slug:"xantus",testnet:!0},Nkt={chain:"PLAY",chainId:161212,explorers:[],faucets:[],infoURL:"https://www.playfi.ai/",name:"PlayFi Mainnet",nativeCurrency:{name:"Play",symbol:"PLAY",decimals:18},networkId:161212,rpc:[],shortName:"playfi",slug:"playfi",status:"incubating",testnet:!1},Okt={chain:"Eclat",chainId:165279,explorers:[{name:"Eclat Mainnet Explorer",url:"https://eclatscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeigpyvnir6awzgeazkk5xdkvexw7w6ww3yxawszue6zms4a5ygdfky",width:500,height:500,format:"png"},infoURL:"https://eclatscan.com",name:"Eclat Mainnet",nativeCurrency:{name:"Eclat",symbol:"ECLAT",decimals:18},networkId:165279,rpc:["https://165279.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.eclatscan.com"],shortName:"ECLAT",slug:"eclat",testnet:!1},Ukt={chain:"ETH",chainId:167e3,explorers:[{name:"etherscan",url:"https://taikoscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167e3,redFlags:[],rpc:["https://167000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.taiko.xyz/","https://rpc.ankr.com/taiko/","https://rpc.taiko.xyz/","https://rpc.mainnet.taiko.xyz","wss://ws.mainnet.taiko.xyz"],shortName:"tko-mainnet",slug:"taiko",status:"active",testnet:!1},Hkt={chain:"ETH",chainId:167004,explorers:[{name:"blockscout",url:"https://explorer.a2.taiko.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko (Alpha-2 Testnet)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167004,rpc:["https://167004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.a2.taiko.xyz"],shortName:"taiko-a2",slip44:1,slug:"taiko-alpha-2-testnet",status:"deprecated",testnet:!0},zkt={chain:"ETH",chainId:167008,explorers:[{name:"blockscout",url:"https://explorer.katla.taiko.xyz",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko Katla L2",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167008,redFlags:[],rpc:["https://167008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.katla.taiko.xyz","wss://ws.katla.taiko.xyz","https://taiko-katla.drpc.org","wss://taiko-katla.drpc.org"],shortName:"tko-katla",slug:"taiko-katla-l2",status:"deprecated",testnet:!0},Wkt={chain:"ETH",chainId:167009,explorers:[{name:"blockscout",url:"https://blockscoutapi.hekla.taiko.xyz",standard:"EIP3091"},{name:"routescan",url:"https://hekla.taikoscan.network",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko Hekla L2",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167009,redFlags:[],rpc:["https://167009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://taiko-hekla.blockpi.network/v1/rpc/public","https://rpc.hekla.taiko.xyz","wss://ws.hekla.taiko.xyz"],shortName:"tko-hekla",slug:"taiko-hekla-l2",status:"active",testnet:!1},qkt={chain:"BDCC",chainId:188710,explorers:[{name:"Bitica DPOS Blockchain Explorer",url:"https://biticablockchain.com",standard:"none"}],faucets:[],infoURL:"https://biticablockchain.com/",name:"Bitica Chain Mainnet",nativeCurrency:{name:"Bitica Coin",symbol:"BDCC",decimals:18},networkId:188710,rpc:["https://188710.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.biticablockchain.com/"],shortName:"bdcc",slug:"bitica-chain",testnet:!1},jkt={chain:"CONDOR",chainId:188881,explorers:[{name:"CondorScan",url:"https://explorer.condor.systems",standard:"none"}],faucets:["https://faucet.condor.systems"],icon:{url:"ipfs://QmPRDuEJSTqp2cDUvWCp71Wns6XV8nvdeAVKWH6srpk4xM",width:752,height:752,format:"png"},infoURL:"https://condor.systems",name:"Condor Test Network",nativeCurrency:{name:"Condor Native Token",symbol:"CONDOR",decimals:18},networkId:188881,rpc:["https://188881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.condor.systems/rpc"],shortName:"condor",slip44:1,slug:"condor-test-network",testnet:!0},Gkt={chain:"FHET",chainId:192940,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://mindnetwork.xyz",name:"Mind Network Testnet",nativeCurrency:{name:"FHE",symbol:"FHE",decimals:18},networkId:192940,rpc:["https://192940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.mindnetwork.xyz","wss://rpc-testnet.mindnetwork.xyz"],shortName:"fhet",slug:"mind-network-testnet",testnet:!0},Kkt={chain:"FAIT",chainId:2e5,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://xfair.ai",name:"xFair.AI Testnet",nativeCurrency:{name:"FAI",symbol:"FAI",decimals:18},networkId:2e5,rpc:["https://200000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc_testnet.xfair.ai","wss://rpc_testnet.xfair.ai"],shortName:"fait",slug:"xfair-ai-testnet",testnet:!0},Qkt={chain:"milkTAda",chainId:200101,explorers:[{name:"Blockscout",url:"https://explorer-devnet-cardano-evm.c1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda C1 Testnet",nativeCurrency:{name:"milkTAda",symbol:"mTAda",decimals:18},networkId:200101,rpc:["https://200101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-devnet-cardano-evm.c1.milkomeda.com","wss://rpc-devnet-cardano-evm.c1.milkomeda.com"],shortName:"milkTAda",slip44:1,slug:"milkomeda-c1-testnet",testnet:!0},Vkt={chain:"milkTAlgo",chainId:200202,explorers:[{name:"Blockscout",url:"https://explorer-devnet-algorand-rollup.a1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda A1 Testnet",nativeCurrency:{name:"milkTAlgo",symbol:"mTAlgo",decimals:18},networkId:200202,rpc:["https://200202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-devnet-algorand-rollup.a1.milkomeda.com"],shortName:"milkTAlgo",slip44:1,slug:"milkomeda-a1-testnet",testnet:!0},Ykt={chain:"AKA",chainId:200625,explorers:[],faucets:[],infoURL:"https://akroma.io",name:"Akroma",nativeCurrency:{name:"Akroma Ether",symbol:"AKA",decimals:18},networkId:200625,rpc:["https://200625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://remote.akroma.io"],shortName:"aka",slip44:200625,slug:"akroma",testnet:!1},$kt={chain:"Bitlayer",chainId:200810,explorers:[{name:"bitlayer testnet scan",url:"https://testnet-scan.bitlayer.org",standard:"none"}],faucets:["https://www.bitlayer.org/faucet"],icon:{url:"ipfs://QmdWZ1frB47fr3tw31xE68C2Vocaw5Ef53LQ5WDNdNnNyG",width:4500,height:4500,format:"jpg"},infoURL:"https://docs.bitlayer.org/",name:"Bitlayer Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:200810,rpc:["https://200810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.bitlayer.org","wss://testnet-ws.bitlayer.org","https://testnet-rpc.bitlayer-rpc.com","wss://testnet-ws.bitlayer-rpc.com","https://rpc.ankr.com/bitlayer_testnet"],shortName:"btrt",slip44:1,slug:"bitlayer-testnet",testnet:!0},Jkt={chain:"Bitlayer",chainId:200901,explorers:[{name:"bitlayer mainnet scan",url:"https://www.btrscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdWZ1frB47fr3tw31xE68C2Vocaw5Ef53LQ5WDNdNnNyG",width:4500,height:4500,format:"jpg"},infoURL:"https://docs.bitlayer.org/",name:"Bitlayer Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:200901,rpc:["https://200901.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitlayer.org","https://rpc.bitlayer-rpc.com","https://rpc.ankr.com/bitlayer","https://rpc-bitlayer.rockx.com","wss://ws.bitlayer.org","wss://ws.bitlayer-rpc.com"],shortName:"btr",slip44:1,slug:"bitlayer",testnet:!1},Xkt={chain:"Alaya",chainId:201018,explorers:[{name:"alaya explorer",url:"https://scan.alaya.network",standard:"none"}],faucets:[],icon:{url:"ipfs://Qmci6vPcWAwmq19j98yuQxjV6UPzHtThMdCAUDbKeb8oYu",width:1140,height:1140,format:"png"},infoURL:"https://www.alaya.network/",name:"Alaya Mainnet",nativeCurrency:{name:"ATP",symbol:"atp",decimals:18},networkId:1,rpc:["https://201018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://openapi.alaya.network/rpc","wss://openapi.alaya.network/ws"],shortName:"alaya",slug:"alaya",testnet:!1},Zkt={chain:"Alaya",chainId:201030,explorers:[{name:"alaya explorer",url:"https://devnetscan.alaya.network",standard:"none"}],faucets:["https://faucet.alaya.network/faucet/?id=f93426c0887f11eb83b900163e06151c"],icon:{url:"ipfs://Qmci6vPcWAwmq19j98yuQxjV6UPzHtThMdCAUDbKeb8oYu",width:1140,height:1140,format:"png"},infoURL:"https://www.alaya.network/",name:"Alaya Dev Testnet",nativeCurrency:{name:"ATP",symbol:"atp",decimals:18},networkId:1,rpc:["https://201030.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnetopenapi.alaya.network/rpc","wss://devnetopenapi.alaya.network/ws"],shortName:"alayadev",slip44:1,slug:"alaya-dev-testnet",testnet:!0},eSt={chain:"MYTH",chainId:201804,explorers:[{name:"Mythical Chain Explorer",url:"https://explorer.mythicalgames.com",standard:"EIP3091",icon:{url:"ipfs://bafkreihru6cccfblrjz5bv36znq2l3h67u6xj5ivtc4bj5l6gzofbgtnb4",width:350,height:350,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreihru6cccfblrjz5bv36znq2l3h67u6xj5ivtc4bj5l6gzofbgtnb4",width:350,height:350,format:"png"},infoURL:"https://mythicalgames.com/",name:"Mythical Chain",nativeCurrency:{name:"Mythos",symbol:"MYTH",decimals:18},networkId:201804,rpc:["https://201804.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.mythicalgames.com"],shortName:"myth",slug:"mythical-chain",testnet:!1},tSt={chain:"tDSC",chainId:202020,explorers:[{name:"DSC Explorer Testnet",url:"https://testnet.explorer.decimalchain.com",standard:"EIP3091",icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"},infoURL:"https://decimalchain.com",name:"Decimal Smart Chain Testnet",nativeCurrency:{name:"Decimal",symbol:"tDEL",decimals:18},networkId:202020,rpc:["https://202020.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-val.decimalchain.com/web3/"],shortName:"tDSC",slip44:1,slug:"decimal-smart-chain-testnet",testnet:!0},nSt={chain:"X1",chainId:202212,explorers:[{name:"Blockscout",url:"https://explorer.x1-devnet.xen.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://docs.xen.network/x1/",name:"X1 Devnet",nativeCurrency:{name:"XN",symbol:"XN",decimals:18},networkId:202212,rpc:["https://202212.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://x1-devnet.xen.network"],shortName:"x1-devnet",slug:"x1-devnet",testnet:!1},aSt={chain:"YMTECH-BESU",chainId:202401,explorers:[{name:"YMTECH-BESU Chainlens",url:"http://39.119.118.198",standard:"none"}],faucets:[],infoURL:"https://www.ymtech.co.kr",name:"YMTECH-BESU Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:202401,rpc:["https://202401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://39.119.118.216:8545"],shortName:"YMTECH-BESU",slug:"ymtech-besu-testnet",testnet:!0},rSt={chain:"ETH",chainId:202624,explorers:[{name:"Jellie Blockchain Explorer",url:"https://jellie.twala.io",standard:"EIP3091",icon:{url:"ipfs://QmTXJVhVKvVC7DQEnGKXvydvwpvVaUEBJrMHvsCr4nr1sK",width:1326,height:1265,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTXJVhVKvVC7DQEnGKXvydvwpvVaUEBJrMHvsCr4nr1sK",width:1326,height:1265,format:"png"},infoURL:"https://twala.io/",name:"Jellie",nativeCurrency:{name:"Twala Coin",symbol:"TWL",decimals:18},networkId:202624,rpc:["https://202624.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jellie-rpc.twala.io/","wss://jellie-rpc-wss.twala.io/"],shortName:"twl-jellie",slip44:1,slug:"jellie",testnet:!0,title:"Twala Testnet Jellie"},fSt={chain:"X1",chainId:204005,explorers:[{name:"Blockscout",url:"https://explorer.x1-testnet.xen.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://docs.xen.network/go-x1/",name:"X1 Network",nativeCurrency:{name:"XN",symbol:"XN",decimals:18},networkId:204005,rpc:["https://204005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://x1-testnet.xen.network"],shortName:"x1-testnet",slug:"x1-network",testnet:!0},iSt={chain:"Auroria",chainId:205205,explorers:[{name:"Auroria Testnet Explorer",url:"https://auroria.explorer.stratisevm.com",standard:"EIP3091"}],faucets:["https://auroria.faucet.stratisevm.com"],icon:{url:"ipfs://QmbkTh6qNYUnae5yNjied3qZqVyZcb4x3hfUpJ33bGg9QY",width:800,height:800,format:"jpg"},infoURL:"https://www.stratisplatform.com",name:"Auroria Testnet",nativeCurrency:{name:"Auroria Stratis",symbol:"tSTRAX",decimals:18},networkId:205205,rpc:["https://205205.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://auroria.rpc.stratisevm.com"],shortName:"auroria",slug:"auroria-testnet",testnet:!0,title:"Stratis Testnet Auroria"},sSt={chain:"GitAGI",chainId:210049,explorers:[],faucets:[],infoURL:"https://gitagi.org/",name:"GitAGI Atlas Testnet",nativeCurrency:{name:"GitAGI",symbol:"tGAGI",decimals:18},networkId:210049,rpc:["https://210049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gitagi.org"],shortName:"atlas",slug:"gitagi-atlas-testnet",testnet:!0},oSt={chain:"PlatON",chainId:210425,explorers:[{name:"PlatON explorer",url:"https://scan.platon.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmT7PSXBiVBma6E15hNkivmstqLu3JSnG1jXN5pTmcCGRC",width:180,height:180,format:"png"},infoURL:"https://www.platon.network",name:"PlatON Mainnet",nativeCurrency:{name:"LAT",symbol:"lat",decimals:18},networkId:1,rpc:["https://210425.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://openapi2.platon.network/rpc","wss://openapi2.platon.network/ws"],shortName:"platon",slug:"platon",testnet:!1},cSt={chain:"Avalanche",chainId:210815,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Stavax Testnet",nativeCurrency:{name:"Stavax Testnet Token",symbol:"STA",decimals:18},networkId:210815,redFlags:[],rpc:["https://210815.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/stavaxtest/testnet/rpc"],shortName:"Stavax Testnet",slug:"stavax-testnet",testnet:!0},dSt={chain:"MAS",chainId:220315,explorers:[{name:"explorer masnet",url:"https://explorer.masnet.ai",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmZ9njQhhKkpJKGnoYy6XTuDtk5CYiDFUd8atqWthqUT3Q",width:1024,height:1024,format:"png"},infoURL:"https://masterbank.org",name:"Mas Mainnet",nativeCurrency:{name:"Master Bank",symbol:"MAS",decimals:18},networkId:220315,rpc:["https://220315.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://node.masnet.ai:8545"],shortName:"mas",slug:"mas",testnet:!1},lSt={chain:"REAP",chainId:221230,explorers:[{name:"Reapchain Dashboard",url:"https://dashboard.reapchain.org",standard:"none",icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"},infoURL:"https://reapchain.com",name:"Reapchain Mainnet",nativeCurrency:{name:"Reap",symbol:"REAP",decimals:18},networkId:221230,rpc:["https://221230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth.reapchain.org"],shortName:"reap",slug:"reapchain",testnet:!1},uSt={chain:"REAP",chainId:221231,explorers:[{name:"Reapchain Testnet Dashboard",url:"https://test-dashboard.reapchain.org",standard:"none",icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"}}],faucets:["http://faucet.reapchain.com"],features:[],icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"},infoURL:"https://reapchain.com",name:"Reapchain Testnet",nativeCurrency:{name:"test-Reap",symbol:"tREAP",decimals:18},networkId:221231,rpc:["https://221231.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-eth.reapchain.org"],shortName:"reap-testnet",slip44:1,slug:"reapchain-testnet",testnet:!0},pSt={chain:"HDX",chainId:222222,explorers:[{name:"blockscout",url:"https://explorer.evm.hydration.cloud",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQnx3j1ZtQ9Br873FuS6612HQfosXsr4Whew8eN4ArYwE",width:400,height:400,format:"svg"},infoURL:"https://hydradx.io",name:"HydraDX",nativeCurrency:{name:"Wrapped ETH",symbol:"WETH",decimals:18},networkId:222222,rpc:["https://222222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hydradx.cloud","wss://rpc.hydradx.cloud"],shortName:"hdx",slug:"hydradx",testnet:!1},hSt={chain:"DEEPL",chainId:222555,explorers:[{name:"DeepL Mainnet Explorer",url:"https://scan.deeplnetwork.org",standard:"EIP3091",icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"},infoURL:"https://deeplnetwork.org",name:"DeepL Mainnet",nativeCurrency:{name:"DeepL",symbol:"DEEPL",decimals:18},networkId:222555,rpc:["https://222555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.deeplnetwork.org"],shortName:"deepl",slug:"deepl",testnet:!1},bSt={chain:"DEEPL",chainId:222666,explorers:[{name:"DeepL Testnet Explorer",url:"https://testnet-scan.deeplnetwork.org",standard:"EIP3091",icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"}}],faucets:["https://faucet.deeplnetwork.org"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"},infoURL:"https://deeplnetwork.org",name:"DeepL Testnet",nativeCurrency:{name:"DeepL",symbol:"DEEPL",decimals:18},networkId:222666,rpc:["https://222666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.deeplnetwork.org"],shortName:"tdeepl",slug:"deepl-testnet",testnet:!0},mSt={chain:"Taf ECO Chain",chainId:224168,explorers:[{name:"Taf ECO Chain Mainnet",url:"https://ecoscan.tafchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreigpxhu7glccsislhjqpl5fnsfmj2io4cy33blhky642uiuyojossy",width:400,height:400,format:"png"},infoURL:"https://www.tafchain.com",name:"Taf ECO Chain Mainnet",nativeCurrency:{name:"Taf ECO Chain Mainnet",symbol:"TAFECO",decimals:18},networkId:224168,rpc:["https://224168.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.tafchain.com/v1"],shortName:"TAFECO",slug:"taf-eco-chain",testnet:!1},ySt={chain:"CONET",chainId:224422,explorers:[{name:"CONET Scan",url:"https://scan.conet.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreibjxqd5kqcc2shstjjujvxzg6cwegwr6dgjyyd56v6h7yusgks7sy",width:1200,height:1200,format:"png"},infoURL:"https://conet.network",name:"CONET Sebolia Testnet",nativeCurrency:{name:"CONET Sebolia",symbol:"CONET",decimals:18},networkId:224422,rpc:["https://224422.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.conet.network"],shortName:"conet-sebolia",slip44:1,slug:"conet-sebolia-testnet",testnet:!0},gSt={chain:"CONET Holesky",chainId:224433,explorers:[{name:"CONET Holesky Scan",url:"https://scan.conet.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreibjxqd5kqcc2shstjjujvxzg6cwegwr6dgjyyd56v6h7yusgks7sy",width:1200,height:1200,format:"png"},infoURL:"https://conet.network",name:"CONET Holesky",nativeCurrency:{name:"CONET Holesky",symbol:"CONET",decimals:18},networkId:224433,rpc:["https://224433.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.conet.network"],shortName:"conet-holesky",slip44:2147708081,slug:"conet-holesky",testnet:!1},vSt={chain:"HashKey",chainId:230315,explorers:[{name:"HashKey Chain Testnet Explorer",url:"https://testnet.hashkeyscan.io",standard:"none"}],faucets:["https://testnet.hashkeychain/faucet"],icon:{url:"ipfs://QmNU11AqYB2htrrSyBSP9ct7bPtuZTP7Hrz21PrEcB9nYE",width:1440,height:448,format:"png"},infoURL:"https://www.hashkey.com",name:"HashKey Chain Testnet(discard)",nativeCurrency:{name:"HashKey Token",symbol:"tHSK",decimals:18},networkId:230315,rpc:["https://230315.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.hashkeychain/rpc"],shortName:"hsktest",slip44:1,slug:"hashkey-chain-testnet-discard",testnet:!0},wSt={chain:"Avalanche",chainId:234560,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Project Orc",nativeCurrency:{name:"Project Orc Token",symbol:"STX",decimals:18},networkId:234560,redFlags:[],rpc:["https://234560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/projectorc/testnet/rpc"],shortName:"Project Orc",slug:"project-orc",testnet:!0},TSt={chain:"tHYM",chainId:234666,explorers:[],faucets:[],infoURL:"https://haymoswap.web.app/",name:"Haymo Testnet",nativeCurrency:{name:"HAYMO",symbol:"HYM",decimals:18},networkId:234666,rpc:["https://234666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet1.haymo.network"],shortName:"hym",slip44:1,slug:"haymo-testnet",testnet:!0},xSt={chain:"ARTIS",chainId:246529,explorers:[],faucets:[],infoURL:"https://artis.eco",name:"ARTIS sigma1",nativeCurrency:{name:"ARTIS sigma1 Ether",symbol:"ATS",decimals:18},networkId:246529,rpc:["https://246529.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sigma1.artis.network"],shortName:"ats",slip44:246529,slug:"artis-sigma1",testnet:!1},ESt={chain:"ARTIS",chainId:246785,explorers:[],faucets:[],infoURL:"https://artis.network",name:"ARTIS Testnet tau1",nativeCurrency:{name:"ARTIS tau1 Ether",symbol:"tATS",decimals:18},networkId:246785,rpc:["https://246785.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tau1.artis.network"],shortName:"atstau",slip44:1,slug:"artis-testnet-tau1",testnet:!0},_St={chain:"Saakuru",chainId:247253,explorers:[{name:"saakuru-explorer-testnet",url:"https://explorer-testnet.saakuru.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmduEdtFobPpZWSc45MU6RKxZfTEzLux2z8ikHFhT8usqv",width:1024,height:1024,format:"png"},infoURL:"https://saakuru.network",name:"Saakuru Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:247253,rpc:["https://247253.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.saakuru.network"],shortName:"saakuru-testnet",slip44:1,slug:"saakuru-testnet",testnet:!0},ASt={chain:"CMP",chainId:256256,explorers:[{name:"Mainnet Scan",url:"https://mainnet.scan.caduceus.foundation",standard:"none"}],faucets:[],infoURL:"https://caduceus.foundation/",name:"CMP-Mainnet",nativeCurrency:{name:"Caduceus Token",symbol:"CMP",decimals:18},networkId:256256,rpc:["https://256256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.block.caduceus.foundation","wss://mainnet.block.caduceus.foundation"],shortName:"cmp-mainnet",slug:"cmp",testnet:!1},CSt={chain:"WP",chainId:260693,explorers:[],faucets:[],features:[],icon:{url:"ipfs://Qmd4g9i2VjndV1TuWZySYoBiNt6eVyJMEujov7YtcTyoqq/whalepass_logo_3.png",width:512,height:512,format:"png"},name:"Whalepass Testnet",nativeCurrency:{name:"Whalepass",symbol:"WP",decimals:18},networkId:260693,redFlags:[],rpc:["https://260693.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-flashbox-2684-rpc.a.stagenet.tanssi.network"],shortName:"wptest",slug:"whalepass-testnet",testnet:!0},ISt={chain:"Eclat",chainId:262371,explorers:[{name:"Eclat Testnet Explorer",url:"https://testnet-explorer.eclatscan.com",standard:"EIP3091"}],faucets:["https://faucet.eclatscan.com"],icon:{url:"ipfs://bafybeigpyvnir6awzgeazkk5xdkvexw7w6ww3yxawszue6zms4a5ygdfky",width:500,height:500,format:"png"},infoURL:"https://testnet-explorer.eclatscan.com",name:"Eclat Testnet",nativeCurrency:{name:"Eclat Testnet",symbol:"ECLAT",decimals:18},networkId:262371,rpc:["https://262371.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.eclatscan.com"],shortName:"tECLAT",slug:"eclat-testnet",testnet:!0},kSt={chain:"GearZero",chainId:266256,explorers:[],faucets:[],infoURL:"https://token.gearzero.ca/testnet",name:"Gear Zero Network Testnet",nativeCurrency:{name:"Gear Zero Network Native Token",symbol:"GZN",decimals:18},networkId:266256,rpc:["https://266256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gzn-test.linksme.info"],shortName:"gz-testnet",slip44:1,slug:"gear-zero-network-testnet",testnet:!0},SSt={chain:"EGON",chainId:271271,explorers:[{name:"EgonCoin Testnet",url:"https://testnet.egonscan.com",standard:"EIP3091"}],faucets:["https://faucet.egonscan.com"],icon:{url:"ipfs://QmNZiMmzMQYjyGtNSghtzLg4UooYhDgMQsa677DAP5KsBg",width:512,height:512,format:"png"},infoURL:"https://egonscan.com",name:"EgonCoin Testnet",nativeCurrency:{name:"EgonCoin",symbol:"EGON",decimals:18},networkId:271271,rpc:["https://271271.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.egonscan.com"],shortName:"EGONt",slip44:1,slug:"egoncoin-testnet",testnet:!0},RSt={chain:"SoChain",chainId:281121,explorers:[],faucets:[],infoURL:"https://digitalnext.business/SocialSmartChain",name:"Social Smart Chain Mainnet",nativeCurrency:{name:"SoChain",symbol:"$OC",decimals:18},networkId:281121,rpc:["https://281121.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://socialsmartchain.digitalnext.business"],shortName:"SoChain",slug:"social-smart-chain",testnet:!1},MSt={chain:"ETH",chainId:282828,explorers:[{name:"zillscout",url:"https://sepolia.zillnet.io",standard:"EIP3091",icon:{url:"ipfs://QmfVmjLNiBh8KyCr9mwDZh34aEhhQ2LAjuP87DFxhfd9nn",width:264,height:264,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfVmjLNiBh8KyCr9mwDZh34aEhhQ2LAjuP87DFxhfd9nn",width:264,height:264,format:"png"},infoURL:"https://zillnet.io",name:"Zillion Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:282828,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://282828.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.zillnet.io/rpc"],shortName:"zillsep",slip44:1,slug:"zillion-sepolia-testnet",status:"active",testnet:!0},BSt={chain:"One World Chain",chainId:309075,explorers:[{name:"One World Chain Mainnet Explorer",url:"https://mainnet.oneworldchain.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPmZ6vgtdMG7jttVZQUobF96Sva1noi5Fsi28V1Eck6eC",width:200,height:200,format:"png"},infoURL:"https://oneworldchain.org",name:"One World Chain Mainnet",nativeCurrency:{name:"OWCT",symbol:"OWCT",decimals:18},networkId:309075,rpc:["https://309075.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oneworldchain.org"],shortName:"OWCTm",slug:"one-world-chain",testnet:!1},DSt={chain:"Avalanche",chainId:313310,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT10",nativeCurrency:{name:"LT10 Token",symbol:"LT",decimals:18},networkId:313310,redFlags:[],rpc:["https://313310.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt10/testnet/rpc"],shortName:"LT10",slug:"lt10",testnet:!0},PSt={chain:"Avalanche",chainId:313311,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT11",nativeCurrency:{name:"LT11 Token",symbol:"LT",decimals:18},networkId:313311,redFlags:[],rpc:["https://313311.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt11/testnet/rpc"],shortName:"LT11",slug:"lt11",testnet:!0},LSt={chain:"Sahara",chainId:313313,explorers:[{name:"Testnet Scan",url:"https://explorer.saharaa.info",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQXCm6w8xvWMkksTQYw3So14VCbwHP6chH41v6ysXdSwF",width:608,height:608,format:"svg"},infoURL:"https://saharalabs.ai",name:"SaharaAI Testnet",nativeCurrency:{name:"SAHARA",symbol:"SAH",decimals:18},networkId:313313,rpc:["https://313313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.saharalabs.ai"],shortName:"saharatest",slug:"saharaai-testnet",testnet:!0},FSt={chain:"FIL",chainId:314159,explorers:[{name:"Filscan - Calibration",url:"https://calibration.filscan.io",standard:"none"},{name:"Filscout - Calibration",url:"https://calibration.filscout.com/en",standard:"none"},{name:"Filfox - Calibration",url:"https://calibration.filfox.info",standard:"none"},{name:"Glif Explorer - Calibration",url:"https://explorer.glif.io/?network=calibration",standard:"none"},{name:"Beryx",url:"https://beryx.zondax.ch",standard:"none"}],faucets:["https://faucet.calibration.fildev.network/"],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Calibration testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:314159,rpc:["https://314159.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.calibration.node.glif.io/rpc/v1","https://rpc.ankr.com/filecoin_testnet","https://filecoin-calibration.chainstacklabs.com/rpc/v1","https://filecoin-calibration.chainup.net/rpc/v1","https://calibration.filfox.info/rpc/v1","https://filecoin-calibration.drpc.org","wss://filecoin-calibration.drpc.org"],shortName:"filecoin-calibration",slip44:1,slug:"filecoin-calibration-testnet",testnet:!0},NSt={chain:"Parex",chainId:322202,explorers:[{name:"Parex Mainnet Explorer",url:"https://scan.parex.network",standard:"EIP3091",icon:{url:"ipfs://QmSPD3QcjFJL2KpYRnNDxa8Xg5rcSgPugG9kcBBNeavVKi",width:128,height:128,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSPD3QcjFJL2KpYRnNDxa8Xg5rcSgPugG9kcBBNeavVKi",width:128,height:128,format:"png"},infoURL:"https://parex.network",name:"Parex Mainnet",nativeCurrency:{name:"PAREX",symbol:"PRX",decimals:18},networkId:322202,rpc:["https://322202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.parex.network"],shortName:"parex",slug:"parex",testnet:!1,title:"Parex Mainnet"},OSt={chain:"Bloom",chainId:323213,explorers:[{name:"Bloom Genesis Testnet",url:"https://testnet.bloomgenesis.com",standard:"EIP3091"}],faucets:["https://faucet.bloomgenesis.com"],icon:{url:"ipfs://Qmetu9hMLvczYo7tDPRyjqjBHwwpHU8mEgW3PEPPre56su",width:2794,height:2711,format:"png"},infoURL:"https://www.bloomgenesis.com",name:"Bloom Genesis Testnet",nativeCurrency:{name:"Bloom",symbol:"BGBC",decimals:18},networkId:323213,rpc:["https://323213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.bloomgenesis.com"],shortName:"BGBC-Testnet",slug:"bloom-genesis-testnet",testnet:!0},USt={chain:"TSC",chainId:330844,explorers:[{name:"TTcoin Smart Chain Explorer",url:"https://tscscan.com",standard:"EIP3091",icon:{url:"ipfs://QmS7ipvvyZ16weG1DM7AZbi1v9ixYwU2FjP25Jj5jkLiuf",width:512,height:512,format:"png"}}],faucets:["https://faucet.tscscan.com"],icon:{url:"ipfs://QmS7ipvvyZ16weG1DM7AZbi1v9ixYwU2FjP25Jj5jkLiuf",width:512,height:512,format:"png"},infoURL:"https://ttcoin.info/",name:"TTcoin Smart Chain Mainnet",nativeCurrency:{name:"TTcoin",symbol:"TC",decimals:18},networkId:330844,rpc:["https://330844.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tscscan.com"],shortName:"tc",slug:"ttcoin-smart-chain",testnet:!1},HSt={chain:"POPTestnet",chainId:331769,explorers:[{name:"ProofOfPepe Explorer",url:"https://pepescan.app/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmP8rYvcc7aJB3c2YZxjxaySvHapHnoK8MnxuSuDT4PtF2",width:400,height:400,format:"png"},name:"ProofOfPepe Testnet",nativeCurrency:{name:"POP",symbol:"POP",decimals:18},networkId:331769,redFlags:[],rpc:["https://331769.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet01.proofofpepe.tech"],shortName:"POPTestnet",slug:"proofofpepe-testnet",testnet:!0},zSt={chain:"POP",chainId:331771,explorers:[{name:"Pepescan",url:"https://pepescan.app",standard:"none"}],faucets:[],features:[],icon:{url:"ipfs://QmP8rYvcc7aJB3c2YZxjxaySvHapHnoK8MnxuSuDT4PtF2",width:400,height:400,format:"png"},name:"POP Mainnet",nativeCurrency:{name:"Pepe",symbol:"PEPE",decimals:18},networkId:331771,redFlags:[],rpc:["https://331771.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc00.proofofpepe.tech","https://rpc01.proofofpepe.tech","https://rpc02.proofofpepe.tech"],shortName:"POP",slug:"pop",testnet:!1},WSt={chain:"Avalanche",chainId:332323,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s3dev Testnet",nativeCurrency:{name:"QI0408s3dev Testnet Token",symbol:"REQ",decimals:18},networkId:332323,redFlags:[],rpc:["https://332323.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s3dev Testnet",slug:"qi0408s3dev-testnet",testnet:!0},qSt={chain:"Bloom",chainId:333313,explorers:[{name:"Bloom Genesis Mainnet",url:"https://explorer.bloomgenesis.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmetu9hMLvczYo7tDPRyjqjBHwwpHU8mEgW3PEPPre56su",width:2794,height:2711,format:"png"},infoURL:"https://www.bloomgenesis.com",name:"Bloom Genesis Mainnet",nativeCurrency:{name:"Bloom",symbol:"BGBC",decimals:18},networkId:333313,rpc:["https://333313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.bloomgenesis.com"],shortName:"BGBC",slug:"bloom-genesis",testnet:!1},jSt={chain:"AVST",chainId:333331,explorers:[{name:"avescan",url:"https://testnet.avescoin.io",standard:"EIP3091",icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"},infoURL:"https://ethereum.org",name:"Aves Testnet",nativeCurrency:{name:"AvesT",symbol:"AVST",decimals:18},networkId:333331,rpc:["https://333331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.rpc.avescoin.io"],shortName:"avst",slip44:1,slug:"aves-testnet",testnet:!0},GSt={chain:"N3-Test",chainId:333333,explorers:[{name:"Nativ3 Test Explorer",url:"https://scantest.nativ3.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVzJDndPui6qBSeJWe5kMLA56C3KpVhqqqk9xvVKE1DGb",width:256,height:256,format:"png"},infoURL:"https://nativ3.network",name:"Nativ3 Testnet",nativeCurrency:{name:"USNT",symbol:"USNT",decimals:18},networkId:333333,parent:{type:"L2",chain:"eip155-421613",bridges:[{url:"https://bridgetest.nativ3.network"}]},rpc:["https://333333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.nativ3.network","wss://wstest.nativ3.network"],shortName:"N3-Test",slip44:1,slug:"nativ3-testnet",testnet:!0},KSt={chain:"OONE Testnet",chainId:333666,explorers:[{name:"blockscout",url:"https://testnet.oonescan.com",standard:"none"}],faucets:["https://apps-test.adigium.com/faucet"],infoURL:"https://oonechain.com",name:"Oone Chain Testnet",nativeCurrency:{name:"tOONE",symbol:"tOONE",decimals:18},networkId:333666,rpc:["https://333666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.oonechain.com"],shortName:"oonetest",slip44:1,slug:"oone-chain-testnet",testnet:!0},QSt={chain:"OONE Devnet",chainId:333777,explorers:[{name:"blockscout",url:"https://dev.oonescan.com",standard:"none"}],faucets:["https://apps-test.adigium.com/faucet"],infoURL:"https://oonechain.com",name:"Oone Chain Devnet",nativeCurrency:{name:"tOONE",symbol:"tOONE",decimals:18},networkId:333777,rpc:["https://333777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.oonechain.com"],shortName:"oonedev",slug:"oone-chain-devnet",testnet:!0},VSt={chain:"Sparta",chainId:333888,explorers:[],faucets:["https://faucet.polis.tech"],icon:{url:"ipfs://QmagWrtyApex28H2QeXcs3jJ2F7p2K7eESz3cDbHdQ3pjG",width:1050,height:1050,format:"png"},infoURL:"https://polis.tech",name:"Polis Testnet",nativeCurrency:{name:"tPolis",symbol:"tPOLIS",decimals:18},networkId:333888,rpc:["https://333888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sparta-rpc.polis.tech"],shortName:"sparta",slip44:1,slug:"polis-testnet",testnet:!0},YSt={chain:"Olympus",chainId:333999,explorers:[],faucets:["https://faucet.polis.tech"],icon:{url:"ipfs://QmagWrtyApex28H2QeXcs3jJ2F7p2K7eESz3cDbHdQ3pjG",width:1050,height:1050,format:"png"},infoURL:"https://polis.tech",name:"Polis Mainnet",nativeCurrency:{name:"Polis",symbol:"POLIS",decimals:18},networkId:333999,rpc:["https://333999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.polis.tech"],shortName:"olympus",slug:"polis",testnet:!1},$St={chain:"UPchain",chainId:336655,explorers:[{name:"UPchain Testnet Explorer",url:"https://explorer-testnet.uniport.network",standard:"EIP3091",icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"}}],faucets:["https://faucet-testnet.uniport.network"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"},infoURL:"https://uniport.network",name:"UPchain Testnet",nativeCurrency:{name:"UBTC",symbol:"UBTC",decimals:18},networkId:336655,rpc:["https://336655.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.uniport.network"],shortName:"UPchain-testnet",slug:"upchain-testnet",testnet:!0},JSt={chain:"UPchain",chainId:336666,explorers:[{name:"UPchain Mainnet Explorer",url:"https://explorer.uniport.network",standard:"EIP3091",icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"},infoURL:"https://uniport.network",name:"UPchain Mainnet",nativeCurrency:{name:"UBTC",symbol:"UBTC",decimals:18},networkId:336666,rpc:["https://336666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.uniport.network"],shortName:"UPchain-mainnet",slug:"upchain",testnet:!1},XSt={chain:"BFT",chainId:355110,explorers:[{name:"Bitfinity Mainnet Block Explorer",url:"https://explorer.mainnet.bitfinity.network",standard:"EIP3091",icon:{url:"ipfs://bafkreiczbhnoc5wpjikskmehexmg3xmqr4fchrny64db4wmk3lrygqik5e",width:796,height:129,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://bitfinity.network",name:"Bitfinity Network Mainnet",nativeCurrency:{name:"Bitfinity Token",symbol:"BFT",decimals:18},networkId:355110,rpc:["https://355110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bitfinity.network"],shortName:"bitfinity-mainnet",slug:"bitfinity-network",testnet:!1},ZSt={chain:"BFT",chainId:355113,explorers:[{name:"Bitfinity Testnet Block Explorer",url:"https://explorer.testnet.bitfinity.network",standard:"EIP3091",icon:{url:"ipfs://bafkreiczbhnoc5wpjikskmehexmg3xmqr4fchrny64db4wmk3lrygqik5e",width:796,height:129,format:"png"}},{name:"Bitfinity Testnet Block Explorer",url:"https://bitfinity-test.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:["https://bitfinity.network/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://bitfinity.network",name:"Bitfinity Network Testnet",nativeCurrency:{name:"Bitfinity Token",symbol:"BFT",decimals:18},networkId:355113,rpc:["https://355113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bitfinity.network"],shortName:"bitfinity-testnet",slug:"bitfinity-network-testnet",testnet:!0},eRt={chain:"LAVITA",chainId:360890,explorers:[{name:"LAVITA Mainnet Explorer",url:"https://tsub360890-explorer.thetatoken.org",standard:"EIP3091",icon:{url:"ipfs://QmfHbWCxwSjf8qmg4yw8jySHZijRXTPW8f5xd2T5sjbeCY",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfHbWCxwSjf8qmg4yw8jySHZijRXTPW8f5xd2T5sjbeCY",width:1024,height:1024,format:"png"},infoURL:"https://www.lavita.ai",name:"LAVITA Mainnet",nativeCurrency:{name:"vTFUEL",symbol:"vTFUEL",decimals:18},networkId:360890,rpc:["https://360890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tsub360890-eth-rpc.thetatoken.org/rpc"],shortName:"lavita-mainnet",slug:"lavita",testnet:!1},tRt={chain:"DS2",chainId:363636,explorers:[{name:"Digit Soul Explorer",url:"https://dgs-exp.digitsoul.co.th",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRiAUu3xV5uiX6Nk1iXD5w6qjki5ugGFETRVavzJ2h5QF",width:370,height:320,format:"png"},name:"Digit Soul Smart Chain 2",nativeCurrency:{name:"Digit Coin",symbol:"DGC",decimals:18},networkId:363636,rpc:["https://363636.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dgs-rpc.digitsoul.co.th"],shortName:"DS2",slug:"digit-soul-smart-chain-2",testnet:!1},nRt={chain:"HAPchain",chainId:373737,explorers:[{name:"HAP EVM Explorer (Blockscout)",url:"https://blockscout-test.hap.land",standard:"none",icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"},infoURL:"https://hap.land",name:"HAPchain Testnet",nativeCurrency:{name:"HAP",symbol:"HAP",decimals:18},networkId:373737,rpc:["https://373737.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc-test.hap.land"],shortName:"hap-testnet",slip44:1,slug:"hapchain-testnet",testnet:!0},aRt={chain:"Metal",chainId:381931,explorers:[{name:"metalscan",url:"https://metalscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.metalblockchain.org/",name:"Metal C-Chain",nativeCurrency:{name:"Metal",symbol:"METAL",decimals:18},networkId:381931,rpc:["https://381931.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.metalblockchain.org/ext/bc/C/rpc"],shortName:"metal",slip44:9005,slug:"metal-c-chain",testnet:!1},rRt={chain:"Metal",chainId:381932,explorers:[{name:"metalscan",url:"https://tahoe.metalscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.metalblockchain.org/",name:"Metal Tahoe C-Chain",nativeCurrency:{name:"Metal",symbol:"METAL",decimals:18},networkId:381932,rpc:["https://381932.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tahoe.metalblockchain.org/ext/bc/C/rpc"],shortName:"Tahoe",slip44:9005,slug:"metal-tahoe-c-chain",testnet:!1},fRt={chain:"TPBX",chainId:404040,explorers:[{name:"Tipboxcoin",url:"https://tipboxcoin.net",standard:"EIP3091"}],faucets:["https://faucet.tipboxcoin.net"],icon:{url:"ipfs://QmbiaHnR3fVVofZ7Xq2GYZxwHkLEy3Fh5qDtqnqXD6ACAh",width:192,height:192,format:"png"},infoURL:"https://tipboxcoin.net",name:"Tipboxcoin Mainnet",nativeCurrency:{name:"Tipboxcoin",symbol:"TPBX",decimals:18},networkId:404040,rpc:["https://404040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tipboxcoin.net"],shortName:"TPBXm",slug:"tipboxcoin",testnet:!1},iRt={chain:"AIE",chainId:413413,explorers:[{name:"aiescan-testnet",url:"https://testnet.aiescan.io",standard:"none",icon:{url:"ipfs://bafkreihok46mhn5yf7b5jgmq7tiyw2fw76wklvj4frpc3gbswgfxzerhhm",width:3481,height:3500,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreihok46mhn5yf7b5jgmq7tiyw2fw76wklvj4frpc3gbswgfxzerhhm",width:3481,height:3500,format:"png"},infoURL:"https://testnet.aiescan.io",name:"AIE Testnet",nativeCurrency:{name:"AIE",symbol:"tAIE",decimals:18},networkId:413413,rpc:["https://413413.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1-testnet.aiechain.io"],shortName:"aiet",slug:"aie-testnet",testnet:!0},sRt={chain:"kek",chainId:420420,explorers:[{name:"blockscout",url:"https://mainnet-explorer.kekchain.com",standard:"EIP3091",icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"},infoURL:"https://kekchain.com",name:"Kekchain",nativeCurrency:{name:"KEK",symbol:"KEK",decimals:18},networkId:103090,rpc:["https://420420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.kekchain.com"],shortName:"KEK",slug:"kekchain",testnet:!1},oRt={chain:"kek",chainId:420666,explorers:[{name:"blockscout",url:"https://testnet-explorer.kekchain.com",standard:"EIP3091",icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"},infoURL:"https://kekchain.com",name:"Kekchain (kektest)",nativeCurrency:{name:"tKEK",symbol:"tKEK",decimals:18},networkId:1,rpc:["https://420666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.kekchain.com"],shortName:"tKEK",slip44:1,slug:"kekchain-kektest",testnet:!0},cRt={chain:"ALT",chainId:420692,explorers:[{name:"Alterium L2 Testnet Explorer",url:"https://l2-testnet.altscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreid3v7ow4c4t3ljya6aouiwvqbtssb2lzmkwt2eghryk234g7yynrq",width:756,height:756,format:"png"},infoURL:"https://alteriumprotocol.org",name:"Alterium L2 Testnet",nativeCurrency:{name:"Alterium ETH",symbol:"AltETH",decimals:18},networkId:420692,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://testnet-bridge.alteriumprotocol.org"}]},rpc:["https://420692.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-testnet-rpc.altscan.org"],shortName:"alterium",slip44:1,slug:"alterium-l2-testnet",testnet:!0},dRt={chain:"ETH",chainId:421611,explorers:[{name:"arbiscan-testnet",url:"https://testnet.arbiscan.io",standard:"EIP3091"},{name:"arbitrum-rinkeby",url:"https://rinkeby-explorer.arbitrum.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=421611&address=${ADDRESS}"],features:[],infoURL:"https://arbitrum.io",name:"Arbitrum Rinkeby",nativeCurrency:{name:"Arbitrum Rinkeby Ether",symbol:"ETH",decimals:18},networkId:421611,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://bridge.arbitrum.io"}]},redFlags:[],rpc:["https://421611.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinkeby.arbitrum.io/rpc"],shortName:"arb-rinkeby",slip44:1,slug:"arbitrum-rinkeby",status:"deprecated",testnet:!0,title:"Arbitrum Testnet Rinkeby"},lRt={chain:"ETH",chainId:421613,explorers:[{name:"Arbitrum Goerli Arbiscan",url:"https://goerli.arbiscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/arbitrum/512.png",width:512,height:512,format:"png"},infoURL:"https://arbitrum.io/",name:"Arbitrum Goerli",nativeCurrency:{name:"Arbitrum Goerli Ether",symbol:"AGOR",decimals:18},networkId:421613,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://bridge.arbitrum.io/"}]},redFlags:[],rpc:["https://421613.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli-rollup.arbitrum.io/rpc","https://arbitrum-goerli.publicnode.com","wss://arbitrum-goerli.publicnode.com"],shortName:"arb-goerli",slip44:1,slug:"arbitrum-goerli",status:"deprecated",testnet:!0,title:"Arbitrum Goerli Rollup Testnet"},IHe={chain:"ETH",chainId:421614,explorers:[{name:"Arbitrum Sepolia Rollup Testnet Explorer",url:"https://sepolia-explorer.arbitrum.io",standard:"EIP3091"}],faucets:[],infoURL:"https://arbitrum.io",name:"Arbitrum Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:421614,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.arbitrum.io"}]},rpc:["https://421614.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rollup.arbitrum.io/rpc","https://arbitrum-sepolia.infura.io/v3/${INFURA_API_KEY}"],shortName:"arb-sep",slip44:1,slug:"arbitrum-sepolia",testnet:!0,title:"Arbitrum Sepolia Rollup Testnet"},uRt={chain:"FTN",chainId:424242,explorers:[{name:"blockscout",url:"https://testnet.ftnscan.com",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://fastex.com",name:"Fastex Chain testnet",nativeCurrency:{name:"FTN",symbol:"FTN",decimals:18},networkId:424242,rpc:["https://424242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.fastexchain.com"],shortName:"fastexTestnet",slip44:1,slug:"fastex-chain-testnet",testnet:!0,title:"Fastex Chain testnet"},pRt={chain:"Unified",chainId:431140,explorers:[],faucets:[],icon:{url:"ipfs://QmVMBTZVPawyLBD2B5VbG68dfWLfZ1CnB8V59xduBe2kwh",width:84,height:84,format:"png"},infoURL:"https://www.markr.io/",name:"Markr Go",nativeCurrency:{name:"Avalanche",symbol:"AVAX",decimals:18},networkId:431140,rpc:["https://431140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.markr.io/ext/"],shortName:"markr-go",slug:"markr-go",status:"incubating",testnet:!1},hRt={chain:"Avalanche",chainId:431188,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Foundation Testnet",nativeCurrency:{name:"Foundation Testnet Token",symbol:"TFND",decimals:18},networkId:431188,redFlags:[],rpc:["https://431188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/foundation/testnet/rpc"],shortName:"Foundation Testnet",slug:"foundation-testnet",testnet:!0},bRt={chain:"DEXALOT",chainId:432201,explorers:[{name:"Avalanche Subnet Testnet Explorer",url:"https://subnets-test.avax.network/dexalot",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=dexalot"],icon:{url:"ipfs://QmfVxdrWjtUKiGzqFDzAxHH2FqwP2aRuZTGcYWdWg519Xy",width:256,height:256,format:"png"},infoURL:"https://dexalot.com",name:"Dexalot Subnet Testnet",nativeCurrency:{name:"Dexalot",symbol:"ALOT",decimals:18},networkId:432201,rpc:["https://432201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/dexalot/testnet/rpc"],shortName:"dexalot-testnet",slip44:1,slug:"dexalot-subnet-testnet",testnet:!0},mRt={chain:"DEXALOT",chainId:432204,explorers:[{name:"Avalanche Subnet Explorer",url:"https://subnets.avax.network/dexalot",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfVxdrWjtUKiGzqFDzAxHH2FqwP2aRuZTGcYWdWg519Xy",width:256,height:256,format:"png"},infoURL:"https://dexalot.com",name:"Dexalot Subnet",nativeCurrency:{name:"Dexalot",symbol:"ALOT",decimals:18},networkId:432204,rpc:["https://432204.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/dexalot/mainnet/rpc"],shortName:"dexalot",slug:"dexalot-subnet",testnet:!1},yRt={chain:"SYNDRSEPOLIA",chainId:444444,explorers:[{name:"Syndr L3 Sepolia Testnet Explorer",url:"https://sepolia-explorer.syndr.com",standard:"EIP3091"}],faucets:[],infoURL:"https://syndr.com",name:"Syndr L3 Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:444444,parent:{type:"L2",chain:"eip155-421614",bridges:[{url:"https://sepolia-bridge.syndr.com"}]},rpc:["https://444444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.syndr.com/http","wss://sepolia.syndr.com/ws"],shortName:"syndr",slug:"syndr-l3-sepolia",testnet:!0,title:"Syndr L3 Sepolia Rollup Testnet"},gRt={chain:"WLK",chainId:444900,explorers:[{name:"weelink-testnet",url:"https://weelink.cloud/#/blockView/overview",standard:"none"}],faucets:["https://faucet.weelink.gw002.oneitfarm.com"],infoURL:"https://weelink.cloud",name:"Weelink Testnet",nativeCurrency:{name:"Weelink Chain Token",symbol:"tWLK",decimals:18},networkId:444900,rpc:["https://444900.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://weelinknode1c.gw002.oneitfarm.com"],shortName:"wlkt",slip44:1,slug:"weelink-testnet",testnet:!0},vRt={chain:"ETH",chainId:471100,explorers:[],faucets:[],infoURL:"https://patex.io/",name:"Patex Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:471100,rpc:["https://471100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc.patex.io/"],shortName:"psep",slip44:1,slug:"patex-sepolia-testnet",testnet:!0},wRt={chain:"ultrapro",chainId:473861,explorers:[{name:"ultraproscan",url:"https://ultraproscan.io",standard:"EIP3091",icon:{url:"ipfs://QmT11iJMLe9sAk5NiRQbe2wv1jtLFCs2sF2w9vFwDLkkgE",width:500,height:500,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmT11iJMLe9sAk5NiRQbe2wv1jtLFCs2sF2w9vFwDLkkgE",width:500,height:500,format:"png"},infoURL:"https://ultrapro.info",name:"Ultra Pro Mainnet",nativeCurrency:{name:"Ultra Pro",symbol:"UPRO",decimals:18},networkId:473861,rpc:["https://473861.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.ultraproscan.io"],shortName:"ultrapro",slug:"ultra-pro",testnet:!1},TRt={chain:"OpenChain",chainId:474142,explorers:[{name:"SIDE SCAN",url:"https://sidescan.luniverse.io/1641349324562974539",standard:"none"}],faucets:[],infoURL:"https://www.openchain.live",name:"OpenChain Mainnet",nativeCurrency:{name:"OpenCoin",symbol:"OPC",decimals:10},networkId:474142,rpc:["https://474142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://baas-rpc.luniverse.io:18545?lChainId=1641349324562974539"],shortName:"oc",slug:"openchain",testnet:!1},xRt={chain:"Avalanche",chainId:504441,explorers:[{name:"Playdapp Explorer",url:"https://subnets.avax.network/playdappne",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Playdapp Network",nativeCurrency:{name:"Playdapp Network Token",symbol:"PDA",decimals:18},networkId:504441,redFlags:[],rpc:["https://504441.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/playdappne/mainnet/rpc"],shortName:"Playdapp Network",slug:"playdapp-network",testnet:!1},ERt={chain:"CMP",chainId:512512,explorers:[{name:"Galaxy Scan",url:"https://galaxy.scan.caduceus.foundation",standard:"none"}],faucets:["https://dev.caduceus.foundation/testNetwork"],infoURL:"https://caduceus.foundation/",name:"CMP-Testnet",nativeCurrency:{name:"Caduceus Testnet Token",symbol:"CMP",decimals:18},networkId:512512,rpc:["https://512512.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://galaxy.block.caduceus.foundation","wss://galaxy.block.caduceus.foundation"],shortName:"cmp",slip44:1,slug:"cmp-testnet",testnet:!0},_Rt={chain:"DIS",chainId:513100,explorers:[{name:"DisChain",url:"https://www.oklink.com/dis",standard:"EIP3091"}],faucets:[],infoURL:"https://dischain.xyz",name:"DisChain",nativeCurrency:{name:"DisChain",symbol:"DIS",decimals:18},networkId:513100,rpc:["https://513100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dischain.xyz"],shortName:"dis",slug:"dischain",testnet:!1},ARt={chain:"DoCoin",chainId:526916,explorers:[{name:"DoCoin Community Chain Explorer",url:"https://explorer.docoin.shop",standard:"EIP3091"}],faucets:[],infoURL:"https://docoin.network",name:"DoCoin Community Chain",nativeCurrency:{name:"DO",symbol:"DCT",decimals:18},networkId:526916,rpc:["https://526916.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.docoin.shop"],shortName:"DoCoin",slug:"docoin-community-chain",testnet:!1,title:"DoCoin Community Chain"},CRt={chain:"ETH",chainId:534351,explorers:[{name:"Scroll Sepolia Etherscan",url:"https://sepolia.scrollscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://scroll.io",name:"Scroll Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:534351,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://sepolia.scroll.io/bridge"}]},rpc:["https://534351.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.scroll.io","https://rpc.ankr.com/scroll_sepolia_testnet","https://scroll-sepolia.chainstacklabs.com","https://scroll-testnet-public.unifra.io"],shortName:"scr-sepolia",slip44:1,slug:"scroll-sepolia-testnet",status:"active",testnet:!0},IRt={chain:"ETH",chainId:534352,explorers:[{name:"Scrollscan",url:"https://scrollscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://scroll.io",name:"Scroll",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:534352,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://scroll.io/bridge"}]},rpc:["https://534352.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.scroll.io","https://rpc.ankr.com/scroll","https://scroll-mainnet.chainstacklabs.com"],shortName:"scr",slug:"scroll",status:"active",testnet:!1},kRt={chain:"ETH",chainId:534353,explorers:[{name:"Scroll Alpha Testnet Block Explorer",url:"https://alpha-blockscout.scroll.io",standard:"EIP3091"}],faucets:[],infoURL:"https://scroll.io",name:"Scroll Alpha Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:534353,parent:{type:"L2",chain:"eip155-5",bridges:[]},rpc:["https://534353.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-rpc.scroll.io/l2"],shortName:"scr-alpha",slip44:1,slug:"scroll-alpha-testnet",status:"deprecated",testnet:!0},SRt={chain:"ETH",chainId:534354,explorers:[],faucets:[],infoURL:"https://scroll.io",name:"Scroll Pre-Alpha Testnet",nativeCurrency:{name:"Ether",symbol:"TSETH",decimals:18},networkId:534354,rpc:[],shortName:"scr-prealpha",slip44:1,slug:"scroll-pre-alpha-testnet",status:"deprecated",testnet:!0},RRt={chain:"Shinarium",chainId:534849,explorers:[{name:"shinascan",url:"https://shinascan.shinarium.org",standard:"EIP3091"}],faucets:["https://faucet.shinarium.org"],icon:{url:"ipfs://bafybeiadbavrwcial76vs5ovhyykyaobteltuhliqcthdairbja4klwzhu",width:1e3,height:1e3,format:"png"},infoURL:"https://shinarium.org",name:"Shinarium Beta",nativeCurrency:{name:"Shina Inu",symbol:"SHI",decimals:18},networkId:534849,rpc:["https://534849.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shinarium.org"],shortName:"shi",slug:"shinarium-beta",testnet:!1},MRt={chain:"BESC",chainId:535037,explorers:[{name:"bescscan",url:"https://Bescscan.io",standard:"EIP3091"}],faucets:[],name:"BeanEco SmartChain",nativeCurrency:{name:"BeanEco SmartChain",symbol:"BESC",decimals:18},networkId:535037,rpc:["https://535037.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.bescscan.io"],shortName:"BESC",slug:"beaneco-smartchain",testnet:!1,title:"BESC Mainnet"},BRt={chain:"One World Chain",chainId:552981,explorers:[{name:"One World Chain Testnet Explorer",url:"https://testnet.oneworldchain.org",standard:"EIP3091"}],faucets:["https://faucet.oneworldchain.org"],icon:{url:"ipfs://QmPmZ6vgtdMG7jttVZQUobF96Sva1noi5Fsi28V1Eck6eC",width:200,height:200,format:"png"},infoURL:"https://oneworldchain.org",name:"One World Chain Testnet",nativeCurrency:{name:"OWCT",symbol:"OWCT",decimals:18},networkId:552981,rpc:["https://552981.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.oneworldchain.org"],shortName:"OWCTt",slug:"one-world-chain-testnet",testnet:!0},DRt={chain:"Avalanche",chainId:555666,explorers:[{name:"ECLIPSE Explorer",url:"https://subnets-test.avax.network/eclipsecha",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"EclipseChain Testnet",nativeCurrency:{name:"EclipseChain Testnet Token",symbol:"ECLPS",decimals:18},networkId:555666,redFlags:[],rpc:["https://555666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/eclipsecha/testnet/rpc"],shortName:"EclipseChain Testnet",slug:"eclipsechain-testnet",testnet:!0},PRt={chain:"HYP",chainId:622277,explorers:[{name:"hypra",url:"https://explorer.hypra.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreiawlhc2trzyxgnz24vowdymxme2m446uk4vmrplgxsdd74ecpfloq",width:830,height:830,format:"png"},infoURL:"https://www.hypra.network",name:"Hypra Mainnet",nativeCurrency:{name:"Hypra",symbol:"HYP",decimals:18},networkId:622277,rpc:["https://622277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hypra.network","https://rpc.rethereum.org","https://rethereum.rpc.restratagem.com","https://rpc.rthcentral.org"],shortName:"hyp",slug:"hypra",testnet:!1},LRt={chain:"BRNKC",chainId:641230,explorers:[{name:"brnkscan",url:"https://brnkscan.bearnetwork.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQqhH28QpUrreoRw5Gj8YShzdHxxVGMjfVrx3TqJNLSLv",width:1067,height:1067,format:"png"},infoURL:"https://bearnetwork.net",name:"Bear Network Chain Mainnet",nativeCurrency:{name:"Bear Network Chain Native Token",symbol:"BRNKC",decimals:18},networkId:641230,rpc:["https://641230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://brnkc-mainnet.bearnetwork.net","https://brnkc-mainnet1.bearnetwork.net"],shortName:"BRNKC",slug:"bear-network-chain",testnet:!1},FRt={chain:"ALL",chainId:651940,explorers:[{name:"Alltra SmartChain Explorer",url:"https://alltra.global",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibqe2mgiqezi24sx272kunqt6pv7uzxhpkxuobvpbsptce3q6nn5i",width:1e3,height:1e3,format:"png"},infoURL:"https://alltra.world",name:"ALL Mainnet",nativeCurrency:{name:"ALL",symbol:"ALL",decimals:18},networkId:651940,rpc:["https://651940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.alltra.global"],shortName:"ALL",slug:"all",testnet:!1},NRt={chain:"Xai Mainnet",chainId:660279,explorers:[{name:"Blockscout",url:"https://explorer.xai-chain.net",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmZKFekbHxDkB8gFmmmjWz89SLhwg38GkALmAKo3gn753N/2024-01-10%2012.50.15.jpg",width:512,height:512,format:"jpg"},infoURL:"https://xai.games/",name:"Xai Mainnet",nativeCurrency:{name:"XAI token",symbol:"XAI",decimals:18},networkId:660279,redFlags:[],rpc:["https://660279.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xai-chain.net/rpc/xai79df8614da076af58f199126a07db","https://xai-chain.net/rpc"],shortName:"xai",slug:"xai",testnet:!1},ORt={chain:"OCASH",chainId:660868,explorers:[],faucets:[],features:[],icon:{url:"https://ipfs.io/ipfs/QmbwuoezvkfZBY9nrZ65n3iHGyhJG6yDRyhPjqE6k3uCiM",width:350,height:350,format:"PNG"},infoURL:"https://www.overline.network",name:"Ocash testnet",nativeCurrency:{name:"OCASH",symbol:"OCASH",decimals:18},networkId:660868,redFlags:[],rpc:[],shortName:"ocash",slug:"ocash-testnet",testnet:!0},URt={chain:"Vision-Vpioneer",chainId:666666,explorers:[],faucets:["https://vpioneerfaucet.visionscan.org"],infoURL:"https://visionscan.org",name:"Vision - Vpioneer Test Chain",nativeCurrency:{name:"VS",symbol:"VS",decimals:18},networkId:666666,rpc:["https://666666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vpioneer.infragrid.v.network/ethereum/compatible"],shortName:"vpioneer",slip44:1,slug:"vision-vpioneer-test-chain",testnet:!0},HRt={chain:"Hela",chainId:666888,explorers:[{name:"Hela Official Runtime Testnet Explorer",url:"https://testnet-blockexplorer.helachain.com",standard:"EIP3091"}],faucets:["https://testnet-faucet.helachain.com"],icon:{url:"ipfs://QmQbUVcaxFwY8gqMq1Jeup4NEyivo12QYhbLvVRvgXRBFb",width:719,height:216,format:"png"},infoURL:"https://helalabs.com",name:"Hela Official Runtime Testnet",nativeCurrency:{name:"Hela HLUSD",symbol:"HLUSD",decimals:18},networkId:666888,rpc:["https://666888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.helachain.com"],shortName:"hela-testnet",slip44:1,slug:"hela-official-runtime-testnet",testnet:!0},zRt={chain:"WON",chainId:686868,explorers:[{name:"Won Explorer",url:"https://scan.wonnetwork.org",standard:"EIP3091"}],faucets:["https://faucet.wondollars.org"],icon:{url:"ipfs://QmQ6mjKWJQ5WmFiJzcqJnuHWZK53nQYJB1SnMQZEqgr74h",width:250,height:250,format:"png"},infoURL:"https://wonnetwork.org",name:"Won Network",nativeCurrency:{name:"Won",symbol:"WON",decimals:18},networkId:686868,rpc:["https://686868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.wonnetwork.org"],shortName:"WonChain",slug:"won-network",testnet:!1},WRt={chain:"Galadriel",chainId:696969,explorers:[{name:"Galadriel Explorer",url:"https://explorer.galadriel.com",standard:"none"}],faucets:["https://docs.galadriel.com/faucet"],infoURL:"https://galadriel.com",name:"Galadriel Devnet",nativeCurrency:{name:"Galadriel Devnet token",symbol:"GAL",decimals:18},networkId:696969,rpc:["https://696969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.galadriel.com"],shortName:"galadriel-devnet",slug:"galadriel-devnet",testnet:!1},qRt={chain:"Avalanche",chainId:710420,explorers:[{name:"TILTYARD Explorer",url:"https://subnets.avax.network/tiltyard",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tiltyard",nativeCurrency:{name:"Tiltyard Token",symbol:"TILT",decimals:18},networkId:710420,redFlags:[],rpc:["https://710420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/tiltyard/mainnet/rpc"],shortName:"Tiltyard",slug:"tiltyard",testnet:!1},jRt={chain:"Sei",chainId:713715,explorers:[{name:"Seistream",url:"https://seistream.app",standard:"none"},{name:"Seitrace",url:"https://seitrace.com",standard:"EIP3091"}],faucets:["https://sei-faucet.nima.enterprises","https://sei-evm.faucetme.pro"],icon:{url:"ipfs://bafkreih3l3iisplmikofkbfyimqlox7nmixzlkzhjoewmpi4jbqitwryoa",width:600,height:600,format:"png"},infoURL:"https://www.sei.io",name:"Sei Devnet",nativeCurrency:{name:"Sei",symbol:"SEI",decimals:18},networkId:713715,rpc:["https://713715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc-arctic-1.sei-apis.com","https://evm-rpc.arctic-1.seinetwork.io"],shortName:"sei-devnet",slug:"sei-devnet",testnet:!1},GRt={chain:"ETH",chainId:743111,explorers:[{name:"blockscout",url:"https://testnet.explorer.hemi.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfP6GDn5eXFcpWuoiyWn5pjn6PYB7HQhRD8nSko1zR8KD",width:1200,height:1200,format:"png"},infoURL:"https://hemi.xyz",name:"Hemi Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:743111,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://743111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.hemi.network/rpc"],shortName:"hemi-sep",slug:"hemi-sepolia",status:"active",testnet:!0},KRt={chain:"BRNKCTEST",chainId:751230,explorers:[{name:"brnktestscan",url:"https://brnktest-scan.bearnetwork.net",standard:"EIP3091"}],faucets:["https://faucet.bearnetwork.net"],icon:{url:"ipfs://QmQqhH28QpUrreoRw5Gj8YShzdHxxVGMjfVrx3TqJNLSLv",width:1067,height:1067,format:"png"},infoURL:"https://bearnetwork.net",name:"Bear Network Chain Testnet",nativeCurrency:{name:"Bear Network Chain Testnet Token",symbol:"tBRNKC",decimals:18},networkId:751230,rpc:["https://751230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://brnkc-test.bearnetwork.net"],shortName:"BRNKCTEST",slip44:1,slug:"bear-network-chain-testnet",testnet:!0},QRt={chain:"MiexsSmartchain",chainId:761412,explorers:[{name:"Miexs Smartchain Explorer",url:"https://miexs.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreic6tcc6swh5kzljwqnswj6rlemcm7n6ra7xkgttwv5v3fv7ozj5zu",width:1500,height:1500,format:"png"},infoURL:"https://miexs.com",name:"Miexs Smartchain",nativeCurrency:{name:"Miexs Coin",symbol:"MIX",decimals:18},networkId:761412,rpc:["https://761412.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.miexs.com"],shortName:"Miexs",slug:"miexs-smartchain",testnet:!1},VRt={chain:"Avalanche",chainId:764984,explorers:[{name:"Lamina1 Test Explorer",url:"https://subnets-test.avax.network/lamina1tes",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1 Testnet",nativeCurrency:{name:"Lamina1 Testnet Token",symbol:"L1T",decimals:18},networkId:764984,redFlags:[],rpc:["https://764984.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1tes/testnet/rpc"],shortName:"Lamina1 Testnet",slip44:1,slug:"lamina1-testnet",testnet:!0},YRt={chain:"Avalanche",chainId:767368,explorers:[{name:"Lamina1 Identity Testnet Explorer",url:"https://subnets-test.avax.network/lamina1id",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1 Identity Testnet",nativeCurrency:{name:"Lamina1 Identity Testnet Token",symbol:"L1IDT",decimals:18},networkId:767368,redFlags:[],rpc:["https://767368.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1id/testnet/rpc"],shortName:"Lamina1 Identity Testnet",slip44:1,slug:"lamina1-identity-testnet",testnet:!0},$Rt={chain:"EVMCC",chainId:776877,explorers:[{name:"Tanssi Explorer",url:"https://tanssi-evmexplorer.netlify.app/?rpcUrl=https://fraa-dancebox-3035-rpc.a.dancebox.tanssi.network",standard:"none"}],faucets:[],infoURL:"https://www.rmrk.app/",name:"Modularium",nativeCurrency:{name:"Modularium",symbol:"MDM",decimals:18},networkId:776877,rpc:["https://776877.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3035-rpc.a.dancebox.tanssi.network"],shortName:"mdlrm",slug:"modularium",testnet:!1},JRt={chain:"OCTA",chainId:800001,explorers:[{name:"blockscout",url:"https://explorer.octa.space",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVhezQHkqSZ5Tvtsw18giA1yBjV1URSsBQ7HenUh6p6oC",width:512,height:512,format:"png"},infoURL:"https://octa.space",name:"OctaSpace",nativeCurrency:{name:"OctaSpace",symbol:"OCTA",decimals:18},networkId:800001,rpc:["https://800001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.octa.space","wss://rpc.octa.space"],shortName:"octa",slug:"octaspace",testnet:!1},XRt={chain:"BIZT Testnet",chainId:808080,explorers:[{name:"BIZ Smart Chain Testnet Explorer",url:"https://testnet.btscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmNnaDZRoMz9aoho35TGHBY5zD16P39cgPpw3z3jnkDHHB",width:104,height:104,format:"png"},infoURL:"https://www.biztoken.io/",name:"BIZ Smart Chain Testnet",nativeCurrency:{name:"tBIZT",symbol:"tBIZT",decimals:18},networkId:808080,rpc:["https://808080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bizex.io/"],shortName:"bizt-testnet",slip44:1,slug:"biz-smart-chain-testnet",testnet:!0},ZRt={chain:"ETH",chainId:810180,explorers:[{name:"zkLink Nova Block Explorer",url:"https://explorer.zklink.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"},infoURL:"https://zklink.io",name:"zkLink Nova Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:810180,parent:{type:"L2",chain:"eip155-59144",bridges:[{url:"https://portal.zklink.io"}]},rpc:["https://810180.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zklink.io","wss://rpc.zklink.io"],shortName:"zklink-nova",slip44:1,slug:"zklink-nova",testnet:!1},eMt={chain:"ETH",chainId:810181,explorers:[{name:"zkLink Nova Block Explorer",url:"https://sepolia.explorer.zklink.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"},infoURL:"https://zklink.io",name:"zkLink Nova Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:810181,parent:{type:"L2",chain:"eip155-59141",bridges:[{url:"https://sepolia.portal.zklink.io"}]},rpc:["https://810181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.rpc.zklink.io","wss://sepolia.rpc.zklink.io"],shortName:"zklink-nova-sepolia",slip44:1,slug:"zklink-nova-sepolia-testnet",testnet:!0},tMt={chain:"ETH",chainId:810182,explorers:[{name:"zkLink Nova Block Explorer",url:"https://goerli.explorer.zklink.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"},infoURL:"https://zklink.io",name:"zkLink Nova Goerli Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:810182,parent:{type:"L2",chain:"eip155-59140",bridges:[{url:"https://goerli.portal.zklink.io"}]},rpc:["https://810182.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.rpc.zklink.io","wss://goerli.rpc.zklink.io"],shortName:"zklink-nova-goerli",slip44:1,slug:"zklink-nova-goerli-testnet",testnet:!0},nMt={chain:"CURVE",chainId:827431,explorers:[{name:"CURVE Mainnet",url:"https://curvescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTjV3TTR5aLb7fi7tjx8gcDvYtqBpusqhCSaznVxJ7NJg",width:150,height:150,format:"png"},infoURL:"https://curvescan.io",name:"CURVE Mainnet",nativeCurrency:{name:"Curve",symbol:"CURVE",decimals:18},networkId:827431,rpc:["https://827431.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.curvescan.io"],shortName:"CURVEm",slug:"curve",testnet:!1},aMt={chain:"prm",chainId:839320,explorers:[{name:"Primal Network Testnet",url:"https://testnet-explorer.prmscan.org",standard:"EIP3091"}],faucets:["https://faucet.prmscan.org"],icon:{url:"ipfs://QmckkDRkuCQWbvhpKGsqa8ajuQvf3W5dekzw5qpiPC6shk",width:1220,height:1220,format:"png"},infoURL:"https://primalnetwork.org",name:"PRM Testnet",nativeCurrency:{name:"Primal Network",symbol:"PRM",decimals:18},networkId:839320,rpc:["https://839320.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.prmscan.org"],shortName:"prmtest",slug:"prm-testnet",testnet:!0},rMt={chain:"4GN",chainId:846e3,explorers:[],faucets:[],infoURL:"https://bloqs4good.com",name:"4GoodNetwork",nativeCurrency:{name:"APTA",symbol:"APTA",decimals:18},networkId:846e3,rpc:["https://846000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.deptofgood.com"],shortName:"bloqs4good",slug:"4goodnetwork",testnet:!1},fMt={chain:"EVMCC",chainId:855456,explorers:[{name:"Dodao Explorer",url:"https://tanssi-evmexplorer.netlify.app/?rpcUrl=https://fraa-dancebox-3041-rpc.a.dancebox.tanssi.network",standard:"EIP3091",icon:{url:"ipfs://QmdWsi6mhs6Agb3LF4uycUwx2fgNmwkuAGb7JmsLPkwd3j",width:636,height:629,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdWsi6mhs6Agb3LF4uycUwx2fgNmwkuAGb7JmsLPkwd3j",width:636,height:629,format:"png"},infoURL:"https://dodao.dev/",name:"Dodao",nativeCurrency:{name:"Dodao",symbol:"DODAO",decimals:18},networkId:855456,rpc:["https://855456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3041-rpc.a.dancebox.tanssi.network","wss://fraa-dancebox-3041-rpc.a.dancebox.tanssi.network"],shortName:"dodao",slug:"dodao",testnet:!1},iMt={chain:"BLX",chainId:879151,explorers:[{name:"BlocX Mainnet Explorer",url:"https://explorer.blxscan.com",standard:"none",icon:{url:"ipfs://QmXM7XiLdSxhCub8MLSSo2J9V2qAkTcwdAGxcT57kurUzg",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXM7XiLdSxhCub8MLSSo2J9V2qAkTcwdAGxcT57kurUzg",width:512,height:512,format:"png"},infoURL:"https://www.blocxchain.org/",name:"BlocX Mainnet",nativeCurrency:{name:"BlocX",symbol:"BLX",decimals:18},networkId:879151,rpc:["https://879151.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.blxscan.com/"],shortName:"blx",slug:"blocx",testnet:!1},sMt={chain:"REXX",chainId:888882,explorers:[{name:"REXX Mainnet Explorer",url:"https://rexxnetwork.com",standard:"EIP3091"}],faucets:[],infoURL:"https://rexxnetwork.com",name:"REXX Mainnet",nativeCurrency:{name:"REXX",symbol:"REXX",decimals:18},networkId:888882,rpc:["https://888882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rexxnetwork.com"],shortName:"REXX",slug:"rexx",testnet:!1,title:"REXX Mainnet"},oMt={chain:"Vision",chainId:888888,explorers:[{name:"Visionscan",url:"https://www.visionscan.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.v.network",name:"Vision - Mainnet",nativeCurrency:{name:"VS",symbol:"VS",decimals:18},networkId:888888,rpc:["https://888888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://infragrid.v.network/ethereum/compatible"],shortName:"vision",slip44:60,slug:"vision",testnet:!1},cMt={chain:"TWT",chainId:894538,explorers:[{name:"explorer",url:"https://subnets-test.avax.network/thirdweb",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmXDGoJKuuwQKzY1Y7ZhgULg8hcmveu6PVaDaYQzEjKwkQ/Thirdweb-Icon-Black-BG.png",width:512,height:512,format:"png"},name:"thirdweb test subnet",nativeCurrency:{name:"TWT",symbol:"TWT",decimals:18},networkId:894538,redFlags:[],rpc:["https://894538.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/thirdweb/testnet/rpc"],shortName:"twt",slug:"thirdweb-test-subnet",testnet:!0},dMt={chain:"PSC",chainId:9e5,explorers:[{name:"Posichain Explorer",url:"https://explorer.posichain.org",standard:"EIP3091"}],faucets:[],infoURL:"https://posichain.org",name:"Posichain Mainnet Shard 0",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:9e5,rpc:["https://900000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.posichain.org","https://api.s0.posichain.org"],shortName:"psc-s0",slug:"posichain-shard-0",testnet:!1},lMt={chain:"PSC",chainId:91e4,explorers:[{name:"Posichain Explorer Testnet",url:"https://explorer-testnet.posichain.org",standard:"EIP3091"}],faucets:["https://faucet.posichain.org/"],infoURL:"https://posichain.org",name:"Posichain Testnet Shard 0",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:91e4,rpc:["https://910000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.t.posichain.org"],shortName:"psc-t-s0",slug:"posichain-testnet-shard-0",testnet:!0},uMt={chain:"RIA",chainId:912559,explorers:[{name:"Astria EVM Dusknet Explorer",url:"https://explorer.evm.dusk-3.devnet.astria.org",standard:"EIP3091"}],faucets:["https://faucet.evm.dusk-3.devnet.astria.org/"],icon:{url:"ipfs://QmVbzZYXdVFY3uFaWQd7iSRtdM2UKWohj9fVqqEwxcw2RV",width:200,height:200,format:"png"},infoURL:"https://docs.astria.org",name:"Astria EVM Dusknet",nativeCurrency:{name:"RIA",symbol:"RIA",decimals:18},networkId:912559,rpc:["https://912559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.evm.dusk-3.devnet.astria.org"],shortName:"ria-dev",slug:"astria-evm-dusknet",testnet:!1},pMt={chain:"Avalanche",chainId:914031,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0408T1TS Testnet",nativeCurrency:{name:"QR0408T1TS Testnet Token",symbol:"HOK",decimals:18},networkId:914031,redFlags:[],rpc:["https://914031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0408t1ts/testnet/rpc"],shortName:"QR0408T1TS Testnet",slug:"qr0408t1ts-testnet",testnet:!0},hMt={chain:"Avalanche",chainId:918806,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0529T1TS",nativeCurrency:{name:"QR0529T1TS Token",symbol:"MCV",decimals:18},networkId:918806,redFlags:[],rpc:["https://918806.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0529t1ts/testnet/rpc"],shortName:"QR0529T1TS",slug:"qr0529t1ts",testnet:!0},bMt={chain:"Avalanche",chainId:919517,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0508T1TP",nativeCurrency:{name:"QR0508T1TP Token",symbol:"AHO",decimals:18},networkId:919517,redFlags:[],rpc:["https://919517.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0508t1tp/testnet/rpc"],shortName:"QR0508T1TP",slug:"qr0508t1tp",testnet:!0},mMt={chain:"PSC",chainId:92e4,explorers:[{name:"Posichain Explorer Devnet",url:"https://explorer-devnet.posichain.org",standard:"EIP3091"}],faucets:["https://faucet.posichain.org/"],infoURL:"https://posichain.org",name:"Posichain Devnet Shard 0",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:92e4,rpc:["https://920000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.d.posichain.org"],shortName:"psc-d-s0",slug:"posichain-devnet-shard-0",testnet:!1},yMt={chain:"PSC",chainId:920001,explorers:[{name:"Posichain Explorer Devnet",url:"https://explorer-devnet.posichain.org",standard:"EIP3091"}],faucets:["https://faucet.posichain.org/"],infoURL:"https://posichain.org",name:"Posichain Devnet Shard 1",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:920001,rpc:["https://920001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.d.posichain.org"],shortName:"psc-d-s1",slug:"posichain-devnet-shard-1",testnet:!1},gMt={chain:"FNCY",chainId:923018,explorers:[{name:"fncy scan testnet",url:"https://fncyscan-testnet.fncy.world",standard:"EIP3091",icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"}}],faucets:["https://faucet-testnet.fncy.world"],icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"},infoURL:"https://fncyscan-testnet.fncy.world",name:"FNCY Testnet",nativeCurrency:{name:"FNCY",symbol:"FNCY",decimals:18},networkId:923018,rpc:["https://923018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fncy-testnet-seed.fncy.world"],shortName:"tFNCY",slip44:1,slug:"fncy-testnet",testnet:!0},vMt={chain:"Avalanche",chainId:928010,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0408T2TS Testnet",nativeCurrency:{name:"QR0408T2TS Testnet Token",symbol:"XYZ",decimals:18},networkId:928010,redFlags:[],rpc:["https://928010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0408t2ts/testnet/rpc"],shortName:"QR0408T2TS Testnet",slug:"qr0408t2ts-testnet",testnet:!0},wMt={chain:"Avalanche",chainId:929038,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0215Y1MP",nativeCurrency:{name:"QR0215Y1MP Token",symbol:"QAT",decimals:18},networkId:929038,redFlags:[],rpc:["https://929038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0215y1mp/mainnet/rpc"],shortName:"QR0215Y1MP",slug:"qr0215y1mp",testnet:!1},TMt={chain:"Avalanche",chainId:933039,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0422T1TS Testnet",nativeCurrency:{name:"QR0422T1TS Testnet Token",symbol:"DIF",decimals:18},networkId:933039,redFlags:[],rpc:["https://933039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0422t1ts/testnet/rpc"],shortName:"QR0422T1TS Testnet",slug:"qr0422t1ts-testnet",testnet:!0},xMt={chain:"Avalanche",chainId:933326,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0326T2TS Testnet",nativeCurrency:{name:"QR0326T2TS Testnet Token",symbol:"XFT",decimals:18},networkId:933326,redFlags:[],rpc:[],shortName:"QR0326T2TS Testnet",slug:"qr0326t2ts-testnet",testnet:!0},EMt={chain:"Avalanche",chainId:934567,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0506T1TS",nativeCurrency:{name:"QR0506T1TS Token",symbol:"VPE",decimals:18},networkId:934567,redFlags:[],rpc:["https://934567.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0506t1ts/testnet/rpc"],shortName:"QR0506T1TS",slug:"qr0506t1ts",testnet:!0},_Mt={chain:"Avalanche",chainId:939359,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0501T1TS",nativeCurrency:{name:"QR0501T1TS Token",symbol:"ZGM",decimals:18},networkId:939359,redFlags:[],rpc:["https://939359.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0501t1ts/testnet/rpc"],shortName:"QR0501T1TS",slug:"qr0501t1ts",testnet:!0},AMt={chain:"Avalanche",chainId:943503,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0520T1TS",nativeCurrency:{name:"QR0520T1TS Token",symbol:"JQH",decimals:18},networkId:943503,redFlags:[],rpc:["https://943503.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0520t1ts/testnet/rpc"],shortName:"QR0520T1TS",slug:"qr0520t1ts",testnet:!0},CMt={chain:"Avalanche",chainId:946751,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0214Y1P",nativeCurrency:{name:"QR0214Y1P Token",symbol:"QAT",decimals:18},networkId:946751,redFlags:[],rpc:["https://946751.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0214y1p/testnet/rpc"],shortName:"QR0214Y1P",slug:"qr0214y1p",testnet:!0},IMt={chain:"Avalanche",chainId:950375,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0209Y1S",nativeCurrency:{name:"QR0209Y1S Token",symbol:"XPU",decimals:18},networkId:950375,redFlags:[],rpc:["https://950375.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0209y1s/testnet/rpc"],shortName:"QR0209Y1S",slug:"qr0209y1s",testnet:!0},kMt={chain:"Avalanche",chainId:951083,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0205Y1S",nativeCurrency:{name:"QR0205Y1S Token",symbol:"MYO",decimals:18},networkId:951083,redFlags:[],rpc:["https://951083.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0205y1s/testnet/rpc"],shortName:"QR0205Y1S",slug:"qr0205y1s",testnet:!0},SMt={chain:"JONO12",chainId:955081,explorers:[{name:"JONO12 Explorer",url:"https://subnets-test.avax.network/jono12",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreievzx4ke62dtc77o47x7vs7nn67ghzrwku6h5dxo3hwcsqfeblke4",width:612,height:612,format:"png"},name:"Jono12 Subnet",nativeCurrency:{name:"Jono12 Token",symbol:"JONO",decimals:18},networkId:955081,rpc:["https://955081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jono12/testnet/rpc"],shortName:"jono12",slug:"jono12-subnet",testnet:!0},RMt={chain:"Eluvio",chainId:955305,explorers:[{name:"blockscout",url:"https://explorer.eluv.io",standard:"EIP3091"}],faucets:[],infoURL:"https://eluv.io",name:"Eluvio Content Fabric",nativeCurrency:{name:"ELV",symbol:"ELV",decimals:18},networkId:955305,rpc:["https://955305.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://host-76-74-28-226.contentfabric.io/eth/","https://host-76-74-28-232.contentfabric.io/eth/","https://host-76-74-29-2.contentfabric.io/eth/","https://host-76-74-29-8.contentfabric.io/eth/","https://host-76-74-29-34.contentfabric.io/eth/","https://host-76-74-29-35.contentfabric.io/eth/","https://host-154-14-211-98.contentfabric.io/eth/","https://host-154-14-192-66.contentfabric.io/eth/","https://host-60-240-133-202.contentfabric.io/eth/","https://host-64-235-250-98.contentfabric.io/eth/"],shortName:"elv",slip44:1011,slug:"eluvio-content-fabric",testnet:!1},MMt={chain:"Avalanche",chainId:958798,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0513T1TS",nativeCurrency:{name:"QR0513T1TS Token",symbol:"PME",decimals:18},networkId:958798,redFlags:[],rpc:["https://958798.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0513t1ts/testnet/rpc"],shortName:"QR0513T1TS",slug:"qr0513t1ts",testnet:!0},BMt={chain:"Avalanche",chainId:959009,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0508T1MP",nativeCurrency:{name:"QR0508T1MP Token",symbol:"AHO",decimals:18},networkId:959009,redFlags:[],rpc:["https://959009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0508t1mp/mainnet/rpc"],shortName:"QR0508T1MP",slug:"qr0508t1mp",testnet:!1},DMt={chain:"Avalanche",chainId:961256,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0326T4TS Testnet",nativeCurrency:{name:"QR0326T4TS Testnet Token",symbol:"HTF",decimals:18},networkId:961256,redFlags:[],rpc:["https://961256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0326t4ts/testnet/rpc"],shortName:"QR0326T4TS Testnet",slug:"qr0326t4ts-testnet",testnet:!0},PMt={chain:"Avalanche",chainId:970066,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0522T1TS",nativeCurrency:{name:"QR0522T1TS Token",symbol:"BUL",decimals:18},networkId:970066,redFlags:[],rpc:["https://970066.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0522t1ts/testnet/rpc"],shortName:"QR0522T1TS",slug:"qr0522t1ts",testnet:!0},LMt={chain:"Avalanche",chainId:976517,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0507Y1TS",nativeCurrency:{name:"QR0507Y1TS Token",symbol:"SQR",decimals:18},networkId:976517,redFlags:[],rpc:["https://976517.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0507y1ts/testnet/rpc"],shortName:"QR0507Y1TS",slug:"qr0507y1ts",testnet:!0},FMt={chain:"treasure",chainId:978657,explorers:[{name:"Treasurescan",url:"https://testnet.treasurescan.io/",standard:"EIP3091",icon:{url:"ipfs://QmbzZk23owb7grDEbEJLuxgUAqQVcHmdjsEkkCD7E9C5R9/Treasure_Primary_Icon%20-%20Karel%20Vuong.png",width:512,height:512,format:"png"}}],faucets:["https://portal.treasure.lol/faucet"],features:[],icon:{url:"ipfs://QmQYRpJAMyPt1DKz1iAuseX3puBZYmdGgFeaZCFDPhixXp",width:512,height:512,format:"svg"},infoURL:"https://portal.treasure.lol",name:"Treasure Ruby",nativeCurrency:{name:"Testnet MAGIC",symbol:"MAGIC",decimals:18},networkId:978657,redFlags:[],rpc:["https://978657.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.treasure.lol/http","wss://rpc-testnet.treasure.lol/ws"],shortName:"MAGIC",slug:"treasure-ruby",testnet:!0},NMt={chain:"Avalanche",chainId:978993,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0318T1TS Testnet",nativeCurrency:{name:"QR0318T1TS Testnet Token",symbol:"OSF",decimals:18},networkId:978993,redFlags:[],rpc:["https://978993.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0318t1ts/testnet/rpc"],shortName:"QR0318T1TS Testnet",slug:"qr0318t1ts-testnet",testnet:!0},OMt={chain:"Avalanche",chainId:980892,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0530T1TS",nativeCurrency:{name:"QR0530T1TS Token",symbol:"OXQ",decimals:18},networkId:980892,redFlags:[],rpc:["https://980892.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0530t1ts/testnet/rpc"],shortName:"QR0530T1TS",slug:"qr0530t1ts",testnet:!0},UMt={chain:"Avalanche",chainId:982558,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0429T1TS",nativeCurrency:{name:"QR0429T1TS Token",symbol:"EXT",decimals:18},networkId:982558,redFlags:[],rpc:["https://982558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0429t1ts/testnet/rpc"],shortName:"QR0429T1TS",slug:"qr0429t1ts",testnet:!0},HMt={chain:"Forma",chainId:984122,explorers:[{name:"blockscout",url:"https://explorer.forma.art",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQkjcadjAEefa4HLG26pKFvCaNZeZ7wWNxMkCVarW9tiU",width:400,height:400,format:"png"},infoURL:"https://forma.art",name:"Forma",nativeCurrency:{name:"TIA",symbol:"TIA",decimals:18},networkId:984122,rpc:["https://984122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.forma.art"],shortName:"forma",slug:"forma",testnet:!1},zMt={chain:"Forma",chainId:984123,explorers:[{name:"blockscout",url:"https://explorer.sketchpad-1.forma.art",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQkjcadjAEefa4HLG26pKFvCaNZeZ7wWNxMkCVarW9tiU",width:400,height:400,format:"png"},infoURL:"https://forma.art",name:"Forma Sketchpad",nativeCurrency:{name:"TIA",symbol:"TIA",decimals:18},networkId:984123,rpc:["https://984123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sketchpad-1.forma.art"],shortName:"sketchpad",slug:"forma-sketchpad",testnet:!1},WMt={chain:"Ecrox Chain",chainId:988207,explorers:[{name:"Ecrox Chain Explorer",url:"https://ecroxscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibnqdlwgotu4hwx6oeu4ye3huobr3eaiuvv55n5tolyxya2q7edmq",width:300,height:300,format:"png"},infoURL:"https://ecroxcoin.io/",name:"Ecrox Chain Mainnet",nativeCurrency:{name:"ECROX COIN",symbol:"ECROX",decimals:18},networkId:988207,rpc:["https://988207.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.ecroxscan.com/"],shortName:"ecrox",slug:"ecrox-chain",testnet:!1},qMt={chain:"Avalanche",chainId:991424,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0213Y1S",nativeCurrency:{name:"QR0213Y1S Token",symbol:"GCH",decimals:18},networkId:991424,redFlags:[],rpc:["https://991424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0213y1s/testnet/rpc"],shortName:"QR0213Y1S",slug:"qr0213y1s",testnet:!0},jMt={chain:"Avalanche",chainId:993535,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"qr1120y1",nativeCurrency:{name:"qr1120y1 Token",symbol:"LMK",decimals:18},networkId:993535,redFlags:[],rpc:["https://993535.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr1120y1/testnet/rpc"],shortName:"qr1120y1",slug:"qr1120y1",testnet:!0},GMt={chain:"Avalanche",chainId:994504,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0523y1ts",nativeCurrency:{name:"qr0523y1ts Token",symbol:"QHZ",decimals:18},networkId:994504,redFlags:[],rpc:["https://994504.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0523y1ts/testnet/rpc"],shortName:"qr0523y1ts",slug:"qr0523y1ts",testnet:!0},KMt={chain:"Avalanche",chainId:995201,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0426T1TS",nativeCurrency:{name:"QR0426T1TS Token",symbol:"XOF",decimals:18},networkId:995201,redFlags:[],rpc:["https://995201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0426t1ts/testnet/rpc"],shortName:"QR0426T1TS",slug:"qr0426t1ts",testnet:!0},QMt={chain:"Avalanche",chainId:996699,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0521T1TS",nativeCurrency:{name:"QR0521T1TS Token",symbol:"ATH",decimals:18},networkId:996699,redFlags:[],rpc:["https://996699.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0521t1ts/testnet/rpc"],shortName:"QR0521T1TS",slug:"qr0521t1ts",testnet:!0},VMt={chain:"Avalanche",chainId:999511,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0227T1TS",nativeCurrency:{name:"QR0227T1TS Token",symbol:"YFL",decimals:18},networkId:999511,redFlags:[],rpc:["https://999511.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0227t1ts/testnet/rpc"],shortName:"QR0227T1TS",slug:"qr0227t1ts",testnet:!0},YMt={chain:"AmChain",chainId:999999,explorers:[{name:"AMCAmChain explorer",url:"https://explorer.amchain.net",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmb6VAhhtaJmdaW1j7PAjxaLju1V24PPDFBdXtebyTSfsZ",width:200,height:200,format:"png"},infoURL:"https://hewe.io/",name:"AmChain",nativeCurrency:{name:"AMC",symbol:"AMC",decimals:18},networkId:999999,rpc:["https://999999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.amchain.net"],shortName:"AMC",slug:"amchain",testnet:!1,title:"AMC"},$Mt={chain:"NetMind",chainId:1100789,explorers:[{name:"NetMind Testnet Explorer",url:"https://testbrower.protago-dev.com",standard:"EIP3091",icon:{url:"ipfs://QmQNipd6uen7sm7HZXGbqhcSVkUXxu3Tp6c3BoeFpvmywp",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQNipd6uen7sm7HZXGbqhcSVkUXxu3Tp6c3BoeFpvmywp",width:500,height:500,format:"png"},infoURL:"https://netmind.ai",name:"Netmind Chain Testnet",nativeCurrency:{name:"NMT",symbol:"NMT",decimals:18},networkId:1100789,rpc:["https://1100789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testblock.protago-dev.com"],shortName:"nmtTest",slug:"netmind-chain-testnet",testnet:!0,title:"NetMind Chain Testnet"},JMt={chain:"TILTYARD",chainId:1127469,explorers:[{name:"TILTYARD Explorer",url:"http://testnet-explorer.tiltyard.gg",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],name:"Tiltyard Subnet",nativeCurrency:{name:"Tiltyard Token",symbol:"TILTG",decimals:18},networkId:1127469,rpc:["https://1127469.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/tiltyard/testnet/rpc"],shortName:"tiltyard",slug:"tiltyard-subnet",testnet:!0},XMt={chain:"ETH",chainId:1261120,explorers:[{name:"Blockscout zKatana chain explorer",url:"https://zkatana.blockscout.com",standard:"EIP3091"},{name:"Startale zKatana chain explorer",url:"https://zkatana.explorer.startale.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRySLe3su59dE5x5JPm2b1GeZfz6DR9qUzcbp3rt4SD3A",width:300,height:300,format:"png"},infoURL:"https://astar.network",name:"zKatana",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1261120,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://portal.astar.network"},{url:"https://bridge.zkatana.gelato.digital"}]},rpc:["https://1261120.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zkatana.gelato.digital","https://rpc.startale.com/zkatana","https://astar-zkatana.drpc.org","wss://astar-zkatana.drpc.org"],shortName:"azktn",slug:"zkatana",status:"active",testnet:!0,title:"Astar zkEVM Testnet zKatana"},ZMt={chain:"ETHO",chainId:1313114,explorers:[{name:"blockscout",url:"https://explorer.ethoprotocol.com",standard:"none"}],faucets:[],infoURL:"https://ethoprotocol.com",name:"Etho Protocol",nativeCurrency:{name:"Etho Protocol",symbol:"ETHO",decimals:18},networkId:1313114,rpc:["https://1313114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ethoprotocol.com"],shortName:"etho",slip44:1313114,slug:"etho-protocol",testnet:!1},eBt={chain:"XERO",chainId:1313500,explorers:[],faucets:[],infoURL:"https://xerom.org",name:"Xerom",nativeCurrency:{name:"Xerom Ether",symbol:"XERO",decimals:18},networkId:1313500,rpc:["https://1313500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xerom.org"],shortName:"xero",slug:"xerom",testnet:!1},tBt={chain:"ETH",chainId:1337702,explorers:[{name:"kintsugi explorer",url:"https://explorer.kintsugi.themerge.dev",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=1337702&address=${ADDRESS}","https://faucet.kintsugi.themerge.dev"],infoURL:"https://kintsugi.themerge.dev/",name:"Kintsugi",nativeCurrency:{name:"kintsugi Ethere",symbol:"kiETH",decimals:18},networkId:1337702,rpc:["https://1337702.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kintsugi.themerge.dev"],shortName:"kintsugi",slug:"kintsugi",testnet:!0,title:"Kintsugi merge testnet"},nBt={chain:"ETH",chainId:1337802,explorers:[{name:"Kiln Explorer",url:"https://explorer.kiln.themerge.dev",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.kiln.themerge.dev","https://kiln-faucet.pk910.de","https://kilnfaucet.com"],features:[],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://kiln.themerge.dev/",name:"Kiln",nativeCurrency:{name:"Testnet ETH",symbol:"ETH",decimals:18},networkId:1337802,redFlags:[],rpc:["https://1337802.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kiln.themerge.dev"],shortName:"kiln",slug:"kiln",status:"deprecated",testnet:!1},aBt={chain:"ETH",chainId:1337803,explorers:[{name:"Zhejiang Explorer",url:"https://zhejiang.beaconcha.in",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.zhejiang.ethpandaops.io","https://zhejiang-faucet.pk910.de"],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://zhejiang.ethpandaops.io",name:"Zhejiang",nativeCurrency:{name:"Testnet ETH",symbol:"ETH",decimals:18},networkId:1337803,rpc:["https://1337803.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zhejiang.ethpandaops.io"],shortName:"zhejiang",slug:"zhejiang",testnet:!0},rBt={chain:"Automata Testnet",chainId:1398243,explorers:[],faucets:[],icon:{url:"ipfs://QmW7ugm31MRdhjGtimzWMK5N4g5L84tSyKMpZQYk6N9KvJ",width:1676,height:1600,format:"png"},infoURL:"https://ata.network",name:"Automata Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1398243,rpc:[],shortName:"automatatest",slug:"automata-testnet",testnet:!0},fBt={chain:"XRPL",chainId:1440002,explorers:[{name:"XRP Ledger Explorer",url:"https://evm-sidechain.xrpl.org/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://bafkreidmgxjwjircegjkvysgz25b2ukw6h7axoirkxv6idupzzqsdrljgy",width:780,height:680,format:"png"},name:"XRP Ledger EVM Devnet Sidechain",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:18},networkId:1440002,redFlags:[],rpc:["https://1440002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-evm-sidechain.xrpl.org"],shortName:"XRPL-EVM-Devnet-Sidechain",slug:"xrp-ledger-evm-devnet-sidechain",testnet:!0},iBt={chain:"ETH",chainId:1612127,explorers:[{name:"PlayFi Block Explorer",url:"https://albireo-explorer.playfi.ai",standard:"EIP3091"}],faucets:[],infoURL:"https://www.playfi.ai/",name:"PlayFi Albireo Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1612127,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://portal.playfi.ai/bridge"}]},rpc:["https://1612127.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://albireo-rpc.playfi.ai"],shortName:"alberio",slip44:1,slug:"playfi-albireo-testnet",testnet:!0},sBt={chain:"ETH",chainId:1731313,explorers:[],faucets:[],name:"Turkey Demo Dev",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1731313,rpc:["https://1731313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devchain-poa.huabeizhenxuan.com"],shortName:"TDD",slug:"turkey-demo-dev",testnet:!1},oBt={chain:"DeBank",chainId:2021398,explorers:[{name:"DeBank Chain Explorer",url:"https://explorer.testnet.debank.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Testnet",nativeCurrency:{name:"DeBank USD",symbol:"USD",decimals:18},networkId:2021398,rpc:["https://2021398.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc.testnet.debank.com"],shortName:"dbk",slip44:1,slug:"debank-testnet",testnet:!0},cBt={chain:"Plian",chainId:2099156,explorers:[{name:"piscan",url:"https://piscan.plian.org/pchain",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org/",name:"Plian Mainnet Main",nativeCurrency:{name:"Plian Token",symbol:"PI",decimals:18},networkId:2099156,rpc:["https://2099156.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.plian.io/pchain"],shortName:"plian-mainnet",slug:"plian-main",testnet:!1},dBt={chain:"Optimism",chainId:2125031,explorers:[{name:"Bubs Sepolia Explorer",url:"https://bubs-sepolia.explorer.caldera.xyz/",standard:"EIP1559",icon:{url:"https://raw.githubusercontent.com/twitter/twemoji/d94f4cf793e6d5ca592aa00f58a88f6a4229ad43/assets/svg/1f9cb.svg",width:512,height:512,format:"svg"}}],faucets:["https://bubs-sepolia.hub.caldera.xyz/"],features:[],icon:{url:"https://raw.githubusercontent.com/twitter/twemoji/d94f4cf793e6d5ca592aa00f58a88f6a4229ad43/assets/svg/1f9cb.svg",width:512,height:512,format:"svg"},infoURL:"https://bubs-sepolia.hub.caldera.xyz/",name:"Bubs Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2125031,redFlags:[],rpc:["https://2125031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bubs-sepolia.rpc.caldera.xyz/http","wss://bubs-sepolia.rpc.caldera.xyz/ws"],shortName:"Bubs",slug:"bubs-testnet-bubs",testnet:!0},lBt={chain:"PlatON",chainId:2203181,explorers:[{name:"PlatON explorer",url:"https://devnetscan.platon.network",standard:"none"}],faucets:["https://devnet2faucet.platon.network/faucet"],icon:{url:"ipfs://QmT7PSXBiVBma6E15hNkivmstqLu3JSnG1jXN5pTmcCGRC",width:180,height:180,format:"png"},infoURL:"https://www.platon.network",name:"PlatON Dev Testnet Deprecated",nativeCurrency:{name:"LAT",symbol:"lat",decimals:18},networkId:1,rpc:["https://2203181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnetopenapi2.platon.network/rpc","wss://devnetopenapi2.platon.network/ws"],shortName:"platondev",slip44:1,slug:"platon-dev-testnet-deprecated",status:"deprecated",testnet:!0},uBt={chain:"PlatON",chainId:2206132,explorers:[{name:"PlatON explorer",url:"https://devnet2scan.platon.network",standard:"none"}],faucets:["https://devnet2faucet.platon.network/faucet"],icon:{url:"ipfs://QmT7PSXBiVBma6E15hNkivmstqLu3JSnG1jXN5pTmcCGRC",width:180,height:180,format:"png"},infoURL:"https://www.platon.network",name:"PlatON Dev Testnet2",nativeCurrency:{name:"LAT",symbol:"lat",decimals:18},networkId:1,rpc:["https://2206132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet2openapi.platon.network/rpc","wss://devnet2openapi.platon.network/ws"],shortName:"platondev2",slip44:1,slug:"platon-dev-testnet2",testnet:!0},pBt={chain:"DPU",chainId:2611555,explorers:[],faucets:[],name:"DPU Chain",nativeCurrency:{name:"DGC",symbol:"DGC",decimals:18},networkId:2611555,rpc:["https://2611555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sc-rpc.dpu.ac.th"],shortName:"DPU",slug:"dpu-chain",testnet:!1},hBt={chain:"Sahara",chainId:3132023,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQXCm6w8xvWMkksTQYw3So14VCbwHP6chH41v6ysXdSwF",width:608,height:608,format:"svg"},infoURL:"https://saharalabs.ai",name:"SaharaAI Network",nativeCurrency:{name:"SAHARA",symbol:"SAH",decimals:18},networkId:3132023,rpc:["https://3132023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.saharalabs.ai"],shortName:"sahara",slug:"saharaai-network",testnet:!1},bBt={chain:"FIL",chainId:3141592,explorers:[],faucets:["https://faucet.butterfly.fildev.network"],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Butterfly testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:3141592,rpc:[],shortName:"filecoin-butterfly",slip44:1,slug:"filecoin-butterfly-testnet",status:"incubating",testnet:!0},mBt={chain:"ETH",chainId:3397901,explorers:[{name:"Funki Sepolia Sandbox Explorer",url:"https://sepolia-sandbox.funkichain.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWLjmfbjx2qZC39GCFXDzt72NXVTtDBVzVSq6rwaquyp3",width:1200,height:410,format:"png"},infoURL:"https://funkichain.com",name:"Funki Sepolia Sandbox",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3397901,rpc:["https://3397901.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://funki-testnet.alt.technology"],shortName:"funkisepolia",slug:"funki-sepolia-sandbox",testnet:!0},yBt={chain:"Manta Pacific",chainId:3441005,explorers:[{name:"manta-testnet Explorer",url:"https://manta-testnet.calderaexplorer.xyz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTckcVTViRZ3NqT36MTt8AvgBSmudrbgU3pi8AaNtthoV",width:834,height:834,format:"png"},infoURL:"https://manta-testnet.caldera.dev/",name:"Manta Pacific Testnet",nativeCurrency:{name:"Manta",symbol:"MANTA",decimals:18},networkId:3441005,rpc:["https://3441005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://manta-testnet.calderachain.xyz/http","https://manta-pacific-testnet.drpc.org","wss://manta-pacific-testnet.drpc.org"],shortName:"mantaTestnet",slip44:1,slug:"manta-pacific-testnet",testnet:!0},gBt={chain:"Manta Pacific",chainId:3441006,explorers:[{name:"manta-testnet Explorer",url:"https://pacific-explorer.sepolia-testnet.manta.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTckcVTViRZ3NqT36MTt8AvgBSmudrbgU3pi8AaNtthoV",width:834,height:834,format:"png"},infoURL:"https://manta-testnet.caldera.dev/",name:"Manta Pacific Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3441006,rpc:["https://3441006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pacific-rpc.sepolia-testnet.manta.network/http"],shortName:"mantaSepoliaTestnet",slip44:1,slug:"manta-pacific-sepolia-testnet",testnet:!0},vBt={chain:"ETH",chainId:4000003,explorers:[{name:"blockscout",url:"https://zero-explorer.alt.technology",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcEfZJU7NMn9ycTAcEooQgGNfa2nYBToSUZHdFCFadcjb",width:1080,height:1025,format:"png"},infoURL:"https://altlayer.io",name:"AltLayer Zero Gas Network",nativeCurrency:{name:"ZERO",symbol:"ZERO",decimals:18},networkId:4000003,rpc:["https://4000003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zero.alt.technology"],shortName:"alt-zerogas",slug:"altlayer-zero-gas-network",testnet:!1},wBt={chain:"WCal",chainId:4281033,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://caldera.xyz/",name:"Worlds Caldera",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4281033,rpc:["https://4281033.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://worlds-test.calderachain.xyz/http"],shortName:"worldscal",slug:"worlds-caldera",testnet:!0},TBt={chain:"NumBlock",chainId:5112023,explorers:[{name:"NumBlock Explorer",url:"https://mainnet.numblock.org",standard:"none",icon:{url:"ipfs://QmRY72AKDaUwxgPukdfSBj19NfMrmsSm48mdBe9zJcW3jB",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRY72AKDaUwxgPukdfSBj19NfMrmsSm48mdBe9zJcW3jB",width:200,height:200,format:"png"},infoURL:"https://numblock.org",name:"NumBlock Chain",nativeCurrency:{name:"NUMB Token",symbol:"NUMB",decimals:18},networkId:5112023,rpc:["https://5112023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.numblock.org"],shortName:"NUMB",slug:"numblock-chain",testnet:!1},xBt={chain:"ETH",chainId:5151706,explorers:[{name:"Explorer",url:"https://explorer.lootchain.com/",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://adventuregold.org/",name:"Loot Chain Mainnet",nativeCurrency:{name:"AGLD",symbol:"AGLD",decimals:18},networkId:5151706,redFlags:[],rpc:["https://5151706.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lootchain.com/http "],shortName:"AGLD",slug:"loot-chain",testnet:!0},EBt={chain:"MXC zkEVM",chainId:5167003,explorers:[{name:"MXC Wannsee zkEVM Testnet",url:"https://wannsee-explorer.mxc.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGCthKA11K9kCZJdbTP5WPAyq1wiRZ3REn6KG58MrWaE",width:159,height:159,format:"png"},infoURL:"https://wannsee.mxc.com/docs/intro",name:"MXC Wannsee zkEVM Testnet",nativeCurrency:{name:"MXC Wannsee zkEVM Testnet",symbol:"MXC",decimals:18},networkId:5167003,rpc:["https://5167003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://wannsee-rpc.mxc.com"],shortName:"MXCdiscontinued",slip44:1,slug:"mxc-wannsee-zkevm-testnet",testnet:!0},_Bt={chain:"MXC zkEVM",chainId:5167004,explorers:[{name:"Moonchain Geneva Testnet",url:"https://geneva-explorer.moonchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGCthKA11K9kCZJdbTP5WPAyq1wiRZ3REn6KG58MrWaE",width:159,height:159,format:"png"},infoURL:"https://doc.mxc.com/docs/intro",name:"Moonchain Geneva Testnet",nativeCurrency:{name:"Moonchain Geneva Testnet",symbol:"MXC",decimals:18},networkId:5167004,rpc:["https://5167004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geneva-rpc.moonchain.com"],shortName:"MXC",slip44:1,slug:"moonchain-geneva-testnet",testnet:!0},ABt={chain:"Electroneum",chainId:5201420,explorers:[{name:"blockscout",url:"https://blockexplorer.thesecurityteam.rocks",standard:"EIP3091",icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"},infoURL:"https://electroneum.com",name:"Electroneum Testnet",nativeCurrency:{name:"Electroneum",symbol:"ETN",decimals:18},networkId:5201420,rpc:["https://5201420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.electroneum.com"],shortName:"etn-testnet",slip44:1,slug:"electroneum-testnet",testnet:!0},CBt={chain:"REACT",chainId:5318008,explorers:[{name:"reactscan",url:"https://kopli.reactscan.net",standard:"none"}],faucets:["https://dev.reactive.network/docs/kopli-testnet#faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmZewyubd3zC17pmmGbjix6gFsppYpLsP3ntu3aB7rCJmW",width:800,height:800,format:"png"},infoURL:"https://reactive.network",name:"Reactive Kopli",nativeCurrency:{name:"Kopli React",symbol:"REACT",decimals:18},networkId:5318008,rpc:["https://5318008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kopli-rpc.reactive.network","http://kopli-rpc.rkt.ink"],shortName:"kreact",slug:"reactive-kopli",testnet:!0,title:"Reactive Network Testnet Kopli"},IBt={chain:"Imversed",chainId:5555555,explorers:[{name:"Imversed EVM explorer (Blockscout)",url:"https://txe.imversed.network",standard:"EIP3091",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}},{name:"Imversed Cosmos Explorer (Big Dipper)",url:"https://tex-c.imversed.com",standard:"none",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"},infoURL:"https://imversed.com",name:"Imversed Mainnet",nativeCurrency:{name:"Imversed Token",symbol:"IMV",decimals:18},networkId:5555555,rpc:["https://5555555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.imversed.network","https://ws-jsonrpc.imversed.network"],shortName:"imversed",slug:"imversed",testnet:!1},kBt={chain:"Imversed",chainId:5555558,explorers:[{name:"Imversed EVM Explorer (Blockscout)",url:"https://txe-test.imversed.network",standard:"EIP3091",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}},{name:"Imversed Cosmos Explorer (Big Dipper)",url:"https://tex-t.imversed.com",standard:"none",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"},infoURL:"https://imversed.com",name:"Imversed Testnet",nativeCurrency:{name:"Imversed Token",symbol:"IMV",decimals:18},networkId:5555558,rpc:["https://5555558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc-test.imversed.network","https://ws-jsonrpc-test.imversed.network"],shortName:"imversed-testnet",slip44:1,slug:"imversed-testnet",testnet:!0},SBt={chain:"ETH",chainId:6038361,explorers:[{name:"Blockscout zKyoto explorer",url:"https://astar-zkyoto.blockscout.com",standard:"EIP3091"},{name:"Astar zkEVM Testnet zKyoto",url:"https://zkyoto.explorer.startale.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmRySLe3su59dE5x5JPm2b1GeZfz6DR9qUzcbp3rt4SD3A",width:300,height:300,format:"png"},infoURL:"https://astar.network",name:"Astar zKyoto",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:6038361,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},redFlags:[],rpc:["https://6038361.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.startale.com/zkyoto","https://rpc.zkyoto.gelato.digital"],shortName:"azkyt",slug:"astar-zkyoto",testnet:!0,title:"Astar zkEVM Testnet zKyoto"},RBt={chain:"Safe(AnWang)",chainId:6666665,explorers:[{name:"Safe(AnWang) Explorer",url:"http://safe4.anwang.com",standard:"EIP3091",icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"}}],faucets:[],icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"},infoURL:"https://www.anwang.com",name:"Safe(AnWang) Mainnet",nativeCurrency:{name:"SAFE(AnWang)",symbol:"SAFE",decimals:18},networkId:6666665,rpc:["https://6666665.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.anwang.com"],shortName:"SafeMainnet",slug:"safe-anwang",testnet:!1},MBt={chain:"Safe(AnWang)",chainId:6666666,explorers:[{name:"Safe(AnWang) Testnet Explorer",url:"http://safe4-testnet.anwang.com",standard:"EIP3091",icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"}}],faucets:[],icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"},infoURL:"https://www.anwang.com",name:"Safe(AnWang) Testnet",nativeCurrency:{name:"SAFE(AnWang)",symbol:"SAFE",decimals:18},networkId:6666666,rpc:["https://6666666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.anwang.com"],shortName:"SafeTestnet",slug:"safe-anwang-testnet",testnet:!0},BBt={chain:"Saakuru",chainId:7225878,explorers:[{name:"saakuru-explorer",url:"https://explorer.saakuru.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmduEdtFobPpZWSc45MU6RKxZfTEzLux2z8ikHFhT8usqv",width:1024,height:1024,format:"png"},infoURL:"https://saakuru.network",name:"Saakuru Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:7225878,rpc:["https://7225878.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.saakuru.network"],shortName:"saakuru",slug:"saakuru",testnet:!1},DBt={chain:"VSL",chainId:7355310,explorers:[{name:"openvessel-mainnet",url:"https://mainnet-explorer.openvessel.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmeknNzGCZXQK7egwfwyxQan7Lw8bLnqYsyoEgEbDNCzJX",width:600,height:529,format:"png"},infoURL:"https://www.openvessel.io",name:"OpenVessel",nativeCurrency:{name:"Vessel ETH",symbol:"VETH",decimals:18},networkId:7355310,rpc:["https://7355310.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-external.openvessel.io"],shortName:"vsl",slug:"openvessel",testnet:!1},PBt={chain:"QOM",chainId:7668378,explorers:[{name:"QL1 Testnet Explorer",url:"https://testnet.qom.one",standard:"EIP3091",icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"}}],faucets:["https://faucet.qom.one"],icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"},infoURL:"https://qom.one",name:"QL1 Testnet",nativeCurrency:{name:"Shiba Predator",symbol:"QOM",decimals:18},networkId:7668378,rpc:["https://7668378.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.qom.one"],shortName:"tqom",slip44:1,slug:"ql1-testnet",status:"incubating",testnet:!0},LBt={chain:"MUSIC",chainId:7762959,explorers:[],faucets:[],infoURL:"https://musicoin.tw",name:"Musicoin",nativeCurrency:{name:"Musicoin",symbol:"MUSIC",decimals:18},networkId:7762959,rpc:["https://7762959.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mewapi.musicoin.tw"],shortName:"music",slip44:184,slug:"musicoin",testnet:!1},zse={chain:"ETH",chainId:7777777,explorers:[{name:"Zora Network Explorer",url:"https://explorer.zora.energy",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmZ6qaRwTPFEZUspwMUjaxC6KhmzcELdRQcQzS3P72Dzts/Vector.svg",width:512,height:512,format:"svg"},infoURL:"https://zora.energy",name:"Zora",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:7777777,redFlags:[],rpc:["https://7777777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zora.energy/"],shortName:"zora",slug:"zora",testnet:!1},FBt={chain:"Plian",chainId:8007736,explorers:[{name:"piscan",url:"https://piscan.plian.org/child_0",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org",name:"Plian Mainnet Subchain 1",nativeCurrency:{name:"Plian Token",symbol:"PI",decimals:18},networkId:8007736,parent:{type:"L2",chain:"eip155-2099156"},rpc:["https://8007736.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.plian.io/child_0"],shortName:"plian-mainnet-l2",slug:"plian-subchain-1",testnet:!1},NBt={chain:"Hokum",chainId:8080808,explorers:[{name:"Hokum Explorer",url:"https://explorer.hokum.gg",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmafrUmh1FD48WWQwk6pfW1Y7eA9VQTdpeL387Wt2JFrAd",width:512,height:512,format:"png"},infoURL:"https://hokum.gg",name:"Hokum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8080808,rpc:["https://8080808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.hokum.gg"],shortName:"hokum",slug:"hokum",testnet:!1},OBt={chain:"Waterfall Testnet8",chainId:8601152,explorers:[],faucets:["https://faucet.testnet8.waterfall.network"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmSDJPBKh9cLVL8UZ5KYwdwPyhD8bRWNb33jjt48wtu5Uc",width:241,height:179,format:"png"},infoURL:"https://waterfall.network",name:"Waterfall 8 Test Network",nativeCurrency:{name:"WATER",symbol:"WATER",decimals:18},networkId:8601152,rpc:["https://8601152.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet8.waterfall.network/"],shortName:"waterfall",slug:"waterfall-8-test-network",testnet:!0},UBt={chain:"HAPchain",chainId:8794598,explorers:[{name:"HAP EVM Explorer (Blockscout)",url:"https://blockscout.hap.land",standard:"none",icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"},infoURL:"https://hap.land",name:"HAPchain",nativeCurrency:{name:"HAP",symbol:"HAP",decimals:18},networkId:8794598,rpc:["https://8794598.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.hap.land"],shortName:"hap",slug:"hapchain",testnet:!1},HBt={chain:"Quarix",chainId:8888881,explorers:[],faucets:[],icon:{url:"ipfs://QmTw8TyeeNhUFWrck2WCiN17MaHRt5qzRBtaAvmz6L7qq7",width:669,height:587,format:"png"},name:"Quarix Testnet",nativeCurrency:{name:"QARE",symbol:"QARE",decimals:18},networkId:8888881,rpc:[],shortName:"quarix-testnet",slip44:1,slug:"quarix-testnet",status:"incubating",testnet:!0},zBt={chain:"Quarix",chainId:8888888,explorers:[],faucets:[],icon:{url:"ipfs://QmTw8TyeeNhUFWrck2WCiN17MaHRt5qzRBtaAvmz6L7qq7",width:669,height:587,format:"png"},name:"Quarix",nativeCurrency:{name:"QARE",symbol:"QARE",decimals:18},networkId:8888888,rpc:[],shortName:"quarix",slug:"quarix",status:"incubating",testnet:!1},WBt={chain:"XCAP",chainId:9322252,explorers:[{name:"blockscout",url:"https://xcap-mainnet.explorer.xcap.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeTj6tfaw9qf9wnEUQh7PnCpNWyvm56e7kY35kANRWNxj",width:1600,height:1600,format:"png"},infoURL:"https://xcap.network/",name:"XCAP",nativeCurrency:{name:"Gas",symbol:"GAS",decimals:18},networkId:9322252,rpc:["https://9322252.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xcap-mainnet.relay.xcap.network/znzvh2ueyvm2yts5fv5gnul395jbkfb2/rpc1"],shortName:"xcap",slug:"xcap",testnet:!1,title:"XCAP Mainnet"},qBt={chain:"XCAP",chainId:9322253,explorers:[{name:"blockscout",url:"https://xcap-milvine.explorer.xcap.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeTj6tfaw9qf9wnEUQh7PnCpNWyvm56e7kY35kANRWNxj",width:1600,height:1600,format:"png"},infoURL:"https://xcap.network/",name:"Milvine",nativeCurrency:{name:"Gas",symbol:"GAS",decimals:18},networkId:9322253,rpc:["https://9322253.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xcap-milvine.relay.xcap.network/zj5l55ftsgi027kz4nf14vs8d89inego/rpc1"],shortName:"milv",slug:"milvine",testnet:!0,title:"XCAP Testnet Milvine"},jBt={chain:"Plian",chainId:10067275,explorers:[{name:"piscan",url:"https://testnet.plian.org/child_test",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org/",name:"Plian Testnet Subchain 1",nativeCurrency:{name:"Plian Token",symbol:"TPI",decimals:18},networkId:10067275,parent:{type:"L2",chain:"eip155-16658437"},rpc:["https://10067275.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.plian.io/child_test"],shortName:"plian-testnet-l2",slip44:1,slug:"plian-testnet-subchain-1",testnet:!0},GBt={chain:"SVRN",chainId:10101010,explorers:[{name:"Soverun",url:"https://explorer.soverun.com",standard:"EIP3091"}],faucets:["https://faucet.soverun.com"],icon:{url:"ipfs://QmTYazUzgY9Nn2mCjWwFUSLy3dG6i2PvALpwCNQvx1zXyi",width:1154,height:1154,format:"png"},infoURL:"https://soverun.com",name:"Soverun Mainnet",nativeCurrency:{name:"Soverun",symbol:"SVRN",decimals:18},networkId:10101010,rpc:["https://10101010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.soverun.com"],shortName:"SVRNm",slug:"soverun",testnet:!1},KBt={chain:"ALIENX Hal",chainId:10241025,explorers:[{name:"Hal Explorer",url:"https://hal-explorer.alienxchain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWAa7JayD8HCtAMXezzUNcUoi2Rikqpu2WmrHpFBmDEez",width:480,height:480,format:"png"},infoURL:"https://alienxchain.io/home",name:"ALIENX Hal Testnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:10241025,rpc:["https://10241025.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hal-rpc.alienxchain.io/http","https://hal.rpc.caldera.xyz/http"],shortName:"ALIENXHal",slug:"alienx-hal-testnet",testnet:!0},kHe={chain:"ETH",chainId:11155111,explorers:[{name:"etherscan-sepolia",url:"https://sepolia.etherscan.io",standard:"EIP3091"},{name:"otterscan-sepolia",url:"https://sepolia.otterscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=11155111&address=${ADDRESS}"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://sepolia.otterscan.io",name:"Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:11155111,redFlags:[],rpc:["https://11155111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.infura.io/v3/${INFURA_API_KEY}","wss://sepolia.infura.io/v3/${INFURA_API_KEY}","https://rpc.sepolia.org","https://rpc2.sepolia.org","https://rpc-sepolia.rockx.com","https://rpc.sepolia.ethpandaops.io","https://sepolia.gateway.tenderly.co","wss://sepolia.gateway.tenderly.co","https://ethereum-sepolia-rpc.publicnode.com","wss://ethereum-sepolia-rpc.publicnode.com","https://sepolia.drpc.org","wss://sepolia.drpc.org"],shortName:"sep",slip44:1,slug:"sepolia",testnet:!0,title:"Ethereum Testnet Sepolia"},AW={chain:"ETH",chainId:11155420,explorers:[{name:"opscout",url:"https://optimism-sepolia.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://app.optimism.io/faucet"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/optimism/512.png",width:512,height:512,format:"png"},infoURL:"https://optimism.io",name:"OP Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:11155420,redFlags:[],rpc:["https://11155420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.optimism.io","https://optimism-sepolia.drpc.org","wss://optimism-sepolia.drpc.org"],shortName:"opsep",slip44:1,slug:"op-sepolia-testnet",testnet:!0},QBt={chain:"COTI",chainId:13068200,explorers:[{name:"coti devnet explorer",url:"https://explorer-devnet.coti.io",standard:"EIP3091",icon:{url:"ipfs://QmVQidJf4ZXt6whYqZk9atCXLrmterkHrL4wYBCetZbsdj",width:200,height:200,format:"png"}}],faucets:["https://faucet.coti.io"],icon:{url:"ipfs://QmR58SroHx7ovpqEB5iRkw4PufEXmcCBAJ8AZ7mChDgTfV",width:528,height:528,format:"png"},infoURL:"https://coti.io/",name:"COTI Devnet",nativeCurrency:{name:"COTI2",symbol:"COTI2",decimals:18},networkId:13068200,rpc:["https://13068200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.coti.io/rpc"],shortName:"coti-devnet",slug:"coti-devnet",testnet:!1,title:"COTI Devnet"},VBt={chain:"PEP",chainId:13371337,explorers:[],faucets:[],infoURL:"https://pepchain.io",name:"PepChain Churchill",nativeCurrency:{name:"PepChain Churchill Ether",symbol:"TPEP",decimals:18},networkId:13371337,rpc:["https://13371337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://churchill-rpc.pepchain.io"],shortName:"tpep",slug:"pepchain-churchill",testnet:!1},YBt={chain:"anduschain",chainId:14288640,explorers:[{name:"anduschain explorer",url:"https://explorer.anduschain.io",standard:"none",icon:{url:"ipfs://bafkreiapaxokh2p4j7hg43ug2inomixiwrdhni4kpqazvqifssnez7efze",width:512,height:512,format:"png"}}],faucets:[],infoURL:"https://anduschain.io/",name:"Anduschain Mainnet",nativeCurrency:{name:"DAON",symbol:"DEB",decimals:18},networkId:14288640,rpc:["https://14288640.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.anduschain.io/rpc","wss://rpc.anduschain.io/ws"],shortName:"anduschain-mainnet",slug:"anduschain",testnet:!1},$Bt={chain:"Plian",chainId:16658437,explorers:[{name:"piscan",url:"https://testnet.plian.org/testnet",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org",name:"Plian Testnet Main",nativeCurrency:{name:"Plian Testnet Token",symbol:"TPI",decimals:18},networkId:16658437,rpc:["https://16658437.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.plian.io/testnet"],shortName:"plian-testnet",slip44:1,slug:"plian-testnet-main",testnet:!0},JBt={chain:"Lambda Chain",chainId:17000920,explorers:[{name:"Lambda Chain Testnet Explorer",url:"https://testscan.lambda.im",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXCWjWSTd6kJZKnH9aQRjgLdWRH9NTxU1wC21iBvoB4Hp",width:256,height:256,format:"png"},infoURL:"https://lambda.im",name:"Lambda Chain Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:17000920,rpc:["https://17000920.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnrpc.lambda.im/"],shortName:"tlambda",slip44:1,slug:"lambda-chain-testnet",testnet:!0},XBt={chain:"ILT",chainId:18289463,explorers:[],faucets:[],infoURL:"https://iolite.io",name:"IOLite",nativeCurrency:{name:"IOLite Ether",symbol:"ILT",decimals:18},networkId:18289463,rpc:["https://18289463.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://net.iolite.io"],shortName:"ilt",slug:"iolite",testnet:!1},ZBt={chain:"stabilityTestnet",chainId:20180427,explorers:[{name:"blockscout",url:"https://stability-testnet.blockscout.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreid3wd6ouu53r677q2z24a4eq5un5tlwbc4izfapcvvtrlhkmz43au",width:133,height:144,format:"png"},infoURL:"https://stabilityprotocol.com",name:"Stability Testnet",nativeCurrency:{name:"FREE",symbol:"FREE",decimals:18},networkId:20180427,rpc:["https://20180427.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://free.testnet.stabilityprotocol.com"],shortName:"stabilitytestnet",slip44:1,slug:"stability-testnet",testnet:!0},eDt={chain:"Spectrum",chainId:20180430,explorers:[{name:"spectrum",url:"https://spectrum.pub",standard:"none"}],faucets:[],infoURL:"https://smartmesh.io",name:"SmartMesh Mainnet",nativeCurrency:{name:"SmartMesh Native Token",symbol:"SMT",decimals:18},networkId:1,rpc:["https://20180430.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonapi1.smartmesh.cn"],shortName:"spectrum",slug:"smartmesh",testnet:!1},tDt={chain:"QKI",chainId:20181205,explorers:[{name:"qkiscan",url:"https://qkiscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://quarkblockchain.org/",name:"quarkblockchain",nativeCurrency:{name:"quarkblockchain Native Token",symbol:"QKI",decimals:18},networkId:20181205,rpc:["https://20181205.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hz.rpc.qkiscan.cn","https://jp.rpc.qkiscan.io","https://rpc1.qkiscan.io","https://rpc2.qkiscan.io","https://rpc3.qkiscan.io"],shortName:"qki",slug:"quarkblockchain",testnet:!1},nDt={chain:"PEGO",chainId:20201022,explorers:[{name:"Pego Network Explorer",url:"https://scan.pego.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVf1afskRHuZjFSLCZH8397KrVNAoYgyAePX9VMBrPVtx",width:246,height:247,format:"png"},infoURL:"https://pego.network",name:"Pego Network",nativeCurrency:{name:"Pego Native Token",symbol:"PG",decimals:18},networkId:20201022,rpc:["https://20201022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pegorpc.com","https://node1.pegorpc.com","https://node2.pegorpc.com","https://node3.pegorpc.com"],shortName:"pg",slug:"pego-network",testnet:!1},aDt={chain:"DeBank",chainId:20240324,explorers:[{name:"DeBank Chain Explorer",url:"https://sepolia-explorer.testnet.debank.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Sepolia Testnet",nativeCurrency:{name:"DeBank USD",symbol:"USD",decimals:18},networkId:20240324,rpc:["https://20240324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.testnet.debank.com"],shortName:"dbkse",slip44:1,slug:"debank-sepolia-testnet",testnet:!0},rDt={chain:"SWAN",chainId:20241133,explorers:[{name:"Swan Proxima Chain explorer",url:"https://proxima-explorer.swanchain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://swanchain.io/",name:"Swan Proxima Testnet",nativeCurrency:{name:"SWANETH",symbol:"sETH",decimals:18},networkId:20241133,rpc:["https://20241133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-proxima.swanchain.io"],shortName:"Proxima",slug:"swan-proxima-testnet",testnet:!0},fDt={chain:"HokumTestnet",chainId:20482050,explorers:[{name:"Hokum Explorer",url:"https://testnet-explorer.hokum.gg",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmafrUmh1FD48WWQwk6pfW1Y7eA9VQTdpeL387Wt2JFrAd",width:512,height:512,format:"png"},infoURL:"https://hokum.gg",name:"Hokum Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:20482050,rpc:["https://20482050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.hokum.gg"],shortName:"hokum-testnet",slug:"hokum-testnet",testnet:!0},iDt={chain:"XLON",chainId:22052002,explorers:[{name:"Excelon explorer",url:"https://explorer.excelon.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTV45o4jTe6ayscF1XWh1WXk5DPck4QohR5kQocSWjvQP",width:300,height:300,format:"png"},infoURL:"https://xlon.org",name:"Excelon Mainnet",nativeCurrency:{name:"Excelon",symbol:"xlon",decimals:18},networkId:22052002,rpc:["https://22052002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://edgewallet1.xlon.org/"],shortName:"xlon",slug:"excelon",testnet:!1},sDt={chain:"TEXL",chainId:27082017,explorers:[{name:"exlscan",url:"https://testnet-explorer.exlscan.com",standard:"EIP3091",icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"}}],faucets:["https://faucet.exlscan.com"],icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"},name:"Excoincial Chain Volta-Testnet",nativeCurrency:{name:"TExlcoin",symbol:"TEXL",decimals:18},networkId:27082017,rpc:["https://27082017.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.exlscan.com"],shortName:"exlvolta",slip44:1,slug:"excoincial-chain-volta-testnet",testnet:!0},oDt={chain:"EXL",chainId:27082022,explorers:[{name:"exlscan",url:"https://exlscan.com",standard:"EIP3091",icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"},name:"Excoincial Chain Mainnet",nativeCurrency:{name:"Exlcoin",symbol:"EXL",decimals:18},networkId:27082022,rpc:["https://27082022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.exlscan.com"],shortName:"exl",slug:"excoincial-chain",testnet:!1},cDt={chain:"Ancient8",chainId:28122024,explorers:[{name:"scan-testnet",url:"https://scanv2-testnet.ancient8.gg",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreievnqg3xjokaty4kfbxxbrzm5v5y7exbaaia2txrh4sfgrqsalfym",width:128,height:128,format:"png"},infoURL:"https://ancient8.gg/",name:"Ancient8 Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28122024,rpc:["https://28122024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcv2-testnet.ancient8.gg"],shortName:"a8",slip44:1,slug:"ancient8-testnet",testnet:!0},dDt={chain:"AUX",chainId:28945486,explorers:[],faucets:[],infoURL:"https://auxilium.global",name:"Auxilium Network Mainnet",nativeCurrency:{name:"Auxilium coin",symbol:"AUX",decimals:18},networkId:28945486,rpc:["https://28945486.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.auxilium.global"],shortName:"auxi",slip44:344,slug:"auxilium-network",testnet:!1},lDt={chain:"FLX",chainId:29032022,explorers:[{name:"FLXExplorer",url:"https://explorer.flaexchange.top",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeiadlvc4pfiykehyt2z67nvgt5w4vlov27olu5obvmryv4xzua4tae",width:256,height:256,format:"png"},infoURL:"https://www.flaexchange.top",name:"Flachain Mainnet",nativeCurrency:{name:"Flacoin",symbol:"FLA",decimals:18},networkId:29032022,rpc:["https://29032022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://flachain.flaexchange.top/"],shortName:"fla",slug:"flachain",testnet:!1},uDt={chain:"FIL",chainId:31415926,explorers:[],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Local testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:31415926,rpc:[],shortName:"filecoin-local",slip44:1,slug:"filecoin-local-testnet",status:"incubating",testnet:!0},pDt={chain:"JOYS",chainId:35855456,explorers:[],faucets:[],infoURL:"https://joys.digital",name:"Joys Digital Mainnet",nativeCurrency:{name:"JOYS",symbol:"JOYS",decimals:18},networkId:35855456,rpc:["https://35855456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.joys.digital"],shortName:"JOYS",slug:"joys-digital",testnet:!1},hDt={chain:"lanky-ill-funny-testnet",chainId:37084624,explorers:[{name:"Blockscout",url:"https://lanky-ill-funny-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafybeic5eexvd34wfy4kuebcyu73qpkv3x57s54ebzjyhyjsmeuni5jwcm",width:500,height:500,format:"png"},infoURL:"https://nebulachain.io/",name:"SKALE Nebula Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:37084624,rpc:["https://37084624.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/lanky-ill-funny-testnet","wss://testnet.skalenodes.com/v1/ws/lanky-ill-funny-testnet"],shortName:"nebula-testnet",slip44:1,slug:"skale-nebula-hub-testnet",testnet:!0,title:"SKALE Nebula Hub Testnet"},bDt={chain:"KingdomChain",chainId:39916801,explorers:[{name:"TravelSong",url:"https://www.beastkingdom.io/travelsong",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://www.beastkingdom.io/",name:"Kingdom Chain",nativeCurrency:{name:"Kozi",symbol:"KOZI",decimals:18},networkId:39916801,rpc:["https://39916801.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kingdomchain.observer/rpc"],shortName:"kchain",slug:"kingdom-chain",testnet:!1},mDt={chain:"MAI",chainId:43214913,explorers:[{name:"maistesntet",url:"http://174.138.9.169:3006/?network=maistesntet",standard:"none"}],faucets:[],name:"maistestsubnet",nativeCurrency:{name:"maistestsubnet",symbol:"MAI",decimals:18},networkId:43214913,rpc:["https://43214913.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://174.138.9.169:9650/ext/bc/VUKSzFZKckx4PoZF9gX5QAqLPxbLzvu1vcssPG5QuodaJtdHT/rpc"],shortName:"mais",slip44:1,slug:"maistestsubnet",testnet:!0},yDt={chain:"AQUA",chainId:61717561,explorers:[],faucets:["https://aquacha.in/faucet"],infoURL:"https://aquachain.github.io",name:"Aquachain",nativeCurrency:{name:"Aquachain Ether",symbol:"AQUA",decimals:18},networkId:61717561,rpc:["https://61717561.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://c.onical.org","https://tx.aquacha.in/api"],shortName:"aqua",slip44:61717561,slug:"aquachain",testnet:!1},gDt={chain:"AUT",chainId:6501e4,explorers:[{name:"autonity-blockscout",url:"https://bakerloo.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Bakerloo (Thames) Testnet",nativeCurrency:{name:"Bakerloo Auton",symbol:"ATN",decimals:18},networkId:6501e4,rpc:[],shortName:"bakerloo-0",slip44:1,slug:"autonity-bakerloo-thames-testnet",status:"deprecated",testnet:!0},vDt={chain:"AUT",chainId:65010001,explorers:[{name:"autonity-blockscout",url:"https://bakerloo.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Bakerloo (Barada) Testnet",nativeCurrency:{name:"Bakerloo Auton",symbol:"ATN",decimals:18},networkId:65010001,rpc:[],shortName:"bakerloo-01",slip44:1,slug:"autonity-bakerloo-barada-testnet",status:"deprecated",testnet:!0},wDt={chain:"AUT",chainId:65010002,explorers:[{name:"autonity-blockscout",url:"https://bakerloo.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Bakerloo (Sumida) Testnet",nativeCurrency:{name:"Bakerloo Auton",symbol:"ATN",decimals:18},networkId:65010002,rpc:["https://65010002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.bakerloo.autonity.org/","wss://rpc1.bakerloo.autonity.org/ws/"],shortName:"bakerloo-02",slip44:1,slug:"autonity-bakerloo-sumida-testnet",testnet:!0},TDt={chain:"AUT",chainId:651e5,explorers:[{name:"autonity-blockscout",url:"https://piccadilly.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Piccadilly (Thames) Testnet",nativeCurrency:{name:"Piccadilly Auton",symbol:"ATN",decimals:18},networkId:651e5,rpc:[],shortName:"piccadilly-0",slip44:1,slug:"autonity-piccadilly-thames-testnet",status:"deprecated",testnet:!0},xDt={chain:"AUT",chainId:65100001,explorers:[{name:"autonity-blockscout",url:"https://piccadilly.autonity.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Piccadilly (Barada) Testnet",nativeCurrency:{name:"Piccadilly Auton",symbol:"ATN",decimals:18},networkId:65100001,rpc:[],shortName:"piccadilly-01",slip44:1,slug:"autonity-piccadilly-barada-testnet",status:"deprecated",testnet:!0},EDt={chain:"AUT",chainId:65100002,explorers:[{name:"autonity-blockscout",url:"https://piccadilly.autonity.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Piccadilly (Sumida) Testnet",nativeCurrency:{name:"Piccadilly Auton",symbol:"ATN",decimals:18},networkId:65100002,rpc:["https://65100002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.piccadilly.autonity.org/","wss://rpc1.piccadilly.autonity.org/ws/"],shortName:"piccadilly-02",slip44:1,slug:"autonity-piccadilly-sumida-testnet",testnet:!0},_Dt={chain:"ETH",chainId:68840142,explorers:[{name:"Frame Testnet Explorer",url:"https://explorer.testnet.frame.xyz",standard:"EIP3091"},{name:"Frame Testnet Explorer",url:"https://explorer.testnet.frame.xyz/",standard:"EIP3091"}],faucets:["https://faucet.triangleplatform.com/frame/testnet","https://faucet.triangleplatform.com/frame"],features:[],icon:{url:"ipfs://QmRxeKFwBwrXyDksoN4NzNRp3R35s8pVnTBfBj4AJSCq5g",width:512,height:512,format:"png"},infoURL:"https://frame.xyz",name:"Frame Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:68840142,redFlags:[],rpc:["https://68840142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.frame.xyz/http"],shortName:"frame-test",slip44:1,slug:"frame-testnet",testnet:!0},ADt={chain:"HETH",chainId:77787778,explorers:[{name:"blockscout",url:"https://test.0xhashscan.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://0xhash.io",name:"0xHash Testnet",nativeCurrency:{name:"0xHash",symbol:"HETH",decimals:18},networkId:77787778,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://app.optimism.io/bridge/deposit"}]},rpc:["https://77787778.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.0xhash.io"],shortName:"HETH",slip44:1,slug:"0xhash-testnet",testnet:!0},CDt={chain:"TEAM",chainId:88888888,explorers:[{name:"teamscan",url:"https://teamblockchain.team",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcnA15BLE9uvznbugXKjqquizZs1eLPeEEkc92DSmvhmt",width:248,height:248,format:"png"},infoURL:"https://teamblockchain.team",name:"T.E.A.M Blockchain",nativeCurrency:{name:"TEAM",symbol:"$TEAM",decimals:18},networkId:88888888,rpc:["https://88888888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.teamblockchain.team"],shortName:"team",slug:"t-e-a-m-blockchain",testnet:!1},IDt={chain:"ETH",chainId:94204209,explorers:[{name:"blockscout",url:"https://polygon-blackberry.gelatoscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"blockscout",url:"https://polygon-blackberry.gelatoscout.com/",standard:"EIP3091",icon:{url:"ipfs://QmYotcuJYjUBXZ33CYoWMyNnJbjK14f8ma6sge55Z5bg5W/polygon-blackberry.svg",width:300,height:300,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmYotcuJYjUBXZ33CYoWMyNnJbjK14f8ma6sge55Z5bg5W/polygon-blackberry.svg",width:300,height:300,format:"svg"},infoURL:"https://raas.gelato.network/rollups/details/public/polygon-blackberry",name:"Polygon Blackberry",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:94204209,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.gelato.network/bridge/polygon-blackberry"}]},redFlags:[],rpc:["https://94204209.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.polygon-blackberry.gelato.digital","wss://ws.polygon-blackberry.gelato.digital"],shortName:"polygon-blackberry",slip44:60,slug:"polygon-blackberry",status:"active",testnet:!0,title:"Polygon Blackberry Testnet"},kDt={chain:"TOYS",chainId:99415706,explorers:[],faucets:["https://faucet.joys.digital/"],infoURL:"https://joys.digital",name:"Joys Digital TestNet",nativeCurrency:{name:"TOYS",symbol:"TOYS",decimals:18},networkId:99415706,rpc:["https://99415706.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://toys.joys.cash/"],shortName:"TOYS",slip44:1,slug:"joys-digital-testnet",testnet:!0},SDt={chain:"Oraichain",chainId:108160679,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://orai.io",name:"Oraichain Mainnet",nativeCurrency:{name:"Oraichain Token",symbol:"ORAI",decimals:18},networkId:108160679,rpc:["https://108160679.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.orai.io"],shortName:"Oraichain",slug:"oraichain",testnet:!1,title:"Oraichain Mainnet"},RDt={chain:"Cyber",chainId:111557560,explorers:[{name:"Cyber Testnet Explorer",url:"https://testnet.cyberscan.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmR8NuaSqALStb95YsMsJRG2BoYkibjS1XE1pZFtvEkAXY",width:213,height:212,format:"svg"},infoURL:"https://cyber.co/",name:"Cyber Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:111557560,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://cyber-testnet.testnets.rollbridge.app/"}]},rpc:["https://111557560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cyber-testnet.alt.technology/","wss://cyber-testnet.alt.technology/ws","https://rpc.testnet.cyber.co/","wss://rpc.testnet.cyber.co/"],shortName:"cysep",slug:"cyber-testnet",testnet:!0},MDt={chain:"ETH",chainId:123420111,explorers:[{name:"blockscout",url:"https://opcelestia-raspberry.gelatoscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQXw4QEDR4AbUwX9scH7aGhiSDhQRxu6LCQoUkgsYgGyK/Gelato%20brand%20mark.png",width:300,height:300,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/opcelestia-raspberry",name:"OP Celestia Rasberry",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:123420111,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.gelato.network/bridge/opcelestia-raspberry"}]},redFlags:[],rpc:["https://123420111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.opcelestia-raspberry.gelato.digital","wss://ws.opcelestia-raspberry.gelato.digital"],shortName:"opcelestia-rasberry",slip44:60,slug:"op-celestia-rasberry",status:"active",testnet:!0,title:"OP Celestia Rasberry"},BDt={chain:"ETH",chainId:161221135,explorers:[{name:"Blockscout",url:"https://testnet-explorer.plumenetwork.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNUpqkYWYJoDXKUpZ8FVbGyN6HCwxYonKNAieCf2oTzGn",width:1062,height:1062,format:"png"},infoURL:"https://www.plumenetwork.xyz/",name:"Plume Testnet",nativeCurrency:{name:"Plume Sepolia Ether",symbol:"ETH",decimals:18},networkId:161221135,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://testnet-bridge.plumenetwork.xyz"}]},rpc:["https://161221135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.plumenetwork.xyz/http","wss://testnet-rpc.plumenetwork.xyz/ws"],shortName:"plume-testnet",slip44:1,slug:"plume-testnet",testnet:!0,title:"Plume Sepolia Rollup Testnet"},DDt={chain:"ETH",chainId:168587773,explorers:[{name:"Blast Sepolia Explorer",url:"https://testnet.blastscan.io",standard:"EIP3091",icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"}}],faucets:["https://faucet.quicknode.com/blast/sepolia"],icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"},infoURL:"https://blast.io/",name:"Blast Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:168587773,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://168587773.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.blast.io","https://blast-sepolia.drpc.org","wss://blast-sepolia.drpc.org"],shortName:"blastsepolia",slug:"blast-sepolia-testnet",testnet:!0},PDt={chain:"GTH",chainId:192837465,explorers:[{name:"Blockscout",url:"https://explorer.gather.network",standard:"none",icon:{url:"ipfs://QmTYR8CeFiNbJ1zJHnE3DK2wEN18r2y2vqSKUcLweUT2Gz",width:1080,height:1080,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://Qmc9AJGg9aNhoH56n3deaZeUc8Ty1jDYJsW6Lu6hgSZH4S",width:512,height:512,format:"png"},infoURL:"https://gather.network",name:"Gather Mainnet Network",nativeCurrency:{name:"Gather",symbol:"GTH",decimals:18},networkId:192837465,redFlags:[],rpc:["https://192837465.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.gather.network"],shortName:"GTH",slug:"gather-network",testnet:!1},LDt={chain:"Kanazawa",chainId:222000222,explorers:[{name:"explorer",url:"https://testnet.meldscan.io",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}},{name:"explorer",url:"https://subnets-test.avax.network/meld",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"},infoURL:"https://meld.com",name:"Kanazawa",nativeCurrency:{name:"gMeld",symbol:"gMELD",decimals:18},networkId:222000222,rpc:["https://222000222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.meld.com"],shortName:"kanazawa",slip44:1,slug:"kanazawa",testnet:!0,title:"Meld Testnet Kanazawa"},FDt={chain:"Solana",chainId:245022926,explorers:[{name:"blockscout",url:"https://neon-devnet.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"neonscan",url:"https://devnet.neonscan.org",standard:"EIP3091"}],faucets:["https://neonfaucet.org"],icon:{url:"ipfs://Qmcxevb3v8PEvnvfYgcG3bCBuPhe5YAdsHeaufDChSSR3Q",width:512,height:512,format:"png"},infoURL:"https://neon-labs.org",name:"Neon EVM Devnet",nativeCurrency:{name:"Neon",symbol:"NEON",decimals:18},networkId:245022926,rpc:["https://245022926.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.neonevm.org","https://neon-evm-devnet.drpc.org","wss://neon-evm-devnet.drpc.org"],shortName:"neonevm-devnet",slug:"neon-evm-devnet",testnet:!1},NDt={chain:"Solana",chainId:245022934,explorers:[{name:"neonscan",url:"https://neonscan.org",standard:"EIP3091"},{name:"native",url:"https://neon.blockscout.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmcxevb3v8PEvnvfYgcG3bCBuPhe5YAdsHeaufDChSSR3Q",width:512,height:512,format:"png"},infoURL:"https://neonevm.org",name:"Neon EVM Mainnet",nativeCurrency:{name:"Neon",symbol:"NEON",decimals:18},networkId:245022934,rpc:["https://245022934.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://neon-proxy-mainnet.solana.p2p.org","https://neon-evm.drpc.org","wss://neon-evm.drpc.org"],shortName:"neonevm-mainnet",slug:"neon-evm",testnet:!1},ODt={chain:"Solana",chainId:245022940,explorers:[{name:"native",url:"https://testnet.explorer.neon-labs.org",standard:"EIP3091"},{name:"neonscan",url:"https://testnet.neonscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmcxevb3v8PEvnvfYgcG3bCBuPhe5YAdsHeaufDChSSR3Q",width:512,height:512,format:"png"},infoURL:"https://neon-labs.org",name:"Neon EVM TestNet",nativeCurrency:{name:"Neon",symbol:"NEON",decimals:18},networkId:245022940,rpc:["https://245022940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.neonevm.org"],shortName:"neonevm-testnet",slip44:1,slug:"neon-evm-testnet",status:"deprecated",testnet:!0},UDt={chain:"Razor Schain",chainId:278611351,explorers:[{name:"turbulent-unique-scheat",url:"https://turbulent-unique-scheat.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://faucet.razorscan.io/"],icon:{url:"ipfs://QmUdwAZJfyKGZnfPGDsCnNvGu123mdd57kTGj1Y3EWVuWK",width:900,height:900,format:"png"},infoURL:"https://razor.network",name:"Razor Skale Chain",nativeCurrency:{name:"sFuel",symbol:"SFUEL",decimals:18},networkId:278611351,rpc:["https://278611351.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/turbulent-unique-scheat"],shortName:"razor",slug:"razor-skale-chain",testnet:!1},HDt={chain:"OLT",chainId:311752642,explorers:[{name:"OneLedger Block Explorer",url:"https://mainnet-explorer.oneledger.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRhqq4Gp8G9w27ND3LeFW49o5PxcxrbJsqHbpBFtzEMfC",width:225,height:225,format:"png"},infoURL:"https://oneledger.io",name:"OneLedger Mainnet",nativeCurrency:{name:"OLT",symbol:"OLT",decimals:18},networkId:311752642,rpc:["https://311752642.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oneledger.network"],shortName:"oneledger",slug:"oneledger",testnet:!1},zDt={chain:"MELD",chainId:333000333,explorers:[{name:"explorer",url:"https://meldscan.io",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}},{name:"explorer",url:"https://subnets.avax.network/meld",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"},infoURL:"https://meld.com",name:"Meld",nativeCurrency:{name:"gMeld",symbol:"gMELD",decimals:18},networkId:333000333,rpc:["https://333000333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.meld.com"],shortName:"meld",slug:"meld",testnet:!1,title:"Meld Mainnet"},WDt={chain:"staging-utter-unripe-menkar",chainId:344106930,explorers:[{name:"Blockscout",url:"https://staging-utter-unripe-menkar.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafybeigyayzxvt7vosat4rtrbmhhnldgx57w2pfbutuniax7h6kswzi42m",width:1637,height:1636,format:"png"},infoURL:"https://calypsohub.network/",name:"Deprecated SKALE Calypso Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:344106930,rpc:["https://344106930.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-utter-unripe-menkar"],shortName:"deprected-calypso-testnet",slip44:1,slug:"deprecated-skale-calypso-hub-testnet",status:"deprecated",testnet:!0,title:"Deprecated Calypso NFT Hub Testnet"},qDt={chain:"GTH",chainId:356256156,explorers:[{name:"Blockscout",url:"https://testnet-explorer.gather.network",standard:"none",icon:{url:"ipfs://QmTYR8CeFiNbJ1zJHnE3DK2wEN18r2y2vqSKUcLweUT2Gz",width:1080,height:1080,format:"svg"}}],faucets:["https://testnet-faucet.gather.network/"],features:[],icon:{url:"ipfs://Qmc9AJGg9aNhoH56n3deaZeUc8Ty1jDYJsW6Lu6hgSZH4S",width:512,height:512,format:"png"},infoURL:"https://gather.network",name:"Gather Testnet Network",nativeCurrency:{name:"Gather",symbol:"GTH",decimals:18},networkId:356256156,redFlags:[],rpc:["https://356256156.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.gather.network"],shortName:"tGTH",slip44:1,slug:"gather-testnet-network",testnet:!0},jDt={chain:"staging-legal-crazy-castor",chainId:476158412,explorers:[{name:"Blockscout",url:"https://staging-legal-crazy-castor.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafkreiezcwowhm6xjrkt44cmiu6ml36rhrxx3amcg3cfkcntv2vgcvgbre",width:600,height:600,format:"png"},infoURL:"https://europahub.network/",name:"Deprecated SKALE Europa Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:476158412,rpc:["https://476158412.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-legal-crazy-castor"],shortName:"deprecated-europa-testnet",slip44:1,slug:"deprecated-skale-europa-hub-testnet",status:"deprecated",testnet:!0,title:"Deprecated Europa Hub Testnet"},GDt={chain:"GTH",chainId:486217935,explorers:[{name:"Blockscout",url:"https://devnet-explorer.gather.network",standard:"none"}],faucets:[],infoURL:"https://gather.network",name:"Gather Devnet Network",nativeCurrency:{name:"Gather",symbol:"GTH",decimals:18},networkId:486217935,rpc:["https://486217935.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.gather.network"],shortName:"dGTH",slug:"gather-devnet-network",testnet:!1},KDt={chain:"staging-faint-slimy-achird",chainId:503129905,explorers:[{name:"Blockscout",url:"https://staging-faint-slimy-achird.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafybeic5eexvd34wfy4kuebcyu73qpkv3x57s54ebzjyhyjsmeuni5jwcm",width:500,height:500,format:"png"},infoURL:"https://nebulachain.io/",name:"Deprecated SKALE Nebula Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:503129905,rpc:["https://503129905.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-faint-slimy-achird","wss://staging-v3.skalenodes.com/v1/ws/staging-faint-slimy-achird"],shortName:"deprecated-nebula-testnet",slip44:1,slug:"deprecated-skale-nebula-hub-testnet",status:"deprecated",testnet:!0},QDt={chain:"Degen",chainId:666666666,explorers:[],faucets:[],icon:{url:"ipfs://Qmb6yAe4wXeBkxjfhxzoUT9TzETcmE7Vne59etm9GJaQf7",width:789,height:668,format:"svg"},infoURL:"https://degen.tips",name:"Degen Chain",nativeCurrency:{name:"DEGEN",symbol:"DEGEN",decimals:18},networkId:666666666,rpc:["https://666666666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.degen.tips"],shortName:"degen-chain",slug:"degen-chain",status:"incubating",testnet:!1,title:"Degen Chain"},VDt={chain:"Ancient8",chainId:888888888,explorers:[{name:"Ancient8 Explorer",url:"https://scan.ancient8.gg",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreievnqg3xjokaty4kfbxxbrzm5v5y7exbaaia2txrh4sfgrqsalfym",width:128,height:128,format:"png"},infoURL:"https://ancient8.gg/",name:"Ancient8",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:888888888,rpc:["https://888888888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ancient8.gg"],shortName:"ancient8",slug:"ancient8",testnet:!1},YDt={chain:"PTCE",chainId:889910245,explorers:[{name:"PTCESCAN Testnet Explorer",url:"https://explorer-testnet.ptcscan.io",standard:"EIP3091"}],faucets:["https://faucet.ptcscan.io/"],infoURL:"https://ptcscan.io",name:"PTCESCAN Testnet",nativeCurrency:{name:"PTCE",symbol:"PTCE",decimals:18},networkId:889910245,rpc:["https://889910245.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.ptcscan.io"],shortName:"PTCE",slug:"ptcescan-testnet",testnet:!0,title:"PTCESCAN Testnet"},$Dt={chain:"PTCE",chainId:889910246,explorers:[{name:"PTCESCAN Explorer",url:"https://ptcscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ptcscan.io",name:"PTCESCAN Mainnet",nativeCurrency:{name:"PTCE",symbol:"PTCE",decimals:18},networkId:889910246,rpc:["https://889910246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ptcscan.io"],shortName:"POLYTECH",slug:"ptcescan",testnet:!1,title:"PTCESCAN Mainnet"},JDt={chain:"giant-half-dual-testnet",chainId:974399131,explorers:[{name:"Blockscout",url:"https://giant-half-dual-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafybeigyayzxvt7vosat4rtrbmhhnldgx57w2pfbutuniax7h6kswzi42m",width:1637,height:1636,format:"png"},infoURL:"https://calypsohub.network/",name:"SKALE Calypso Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:974399131,rpc:["https://974399131.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/giant-half-dual-testnet"],shortName:"calypso-testnet",slip44:1,slug:"skale-calypso-hub-testnet",testnet:!0,title:"SKALE Calypso Hub Testnet"},Wse={chain:"ETH",chainId:999999999,explorers:[{name:"Zora Sepolia Testnet Network Explorer",url:"https://sepolia.explorer.zora.energy",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifvrly5tgd34xqeo67s4etmiu52bkroml7uy7eosizf57htf5nrzq",width:250,height:250,format:"png"},infoURL:"https://zora.energy",name:"Zora Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:999999999,rpc:["https://999999999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.rpc.zora.energy"],shortName:"zsep",slip44:1,slug:"zora-sepolia-testnet",testnet:!0},XDt={chain:"aware-fake-trim-testnet",chainId:1020352220,explorers:[{name:"Blockscout",url:"https://aware-fake-trim-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafkreiagrt5dhgltg2kmw7hf24kslstr5h42e745luuxwp2wbg24gm6zza",width:500,height:500,format:"png"},name:"SKALE Titan Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1020352220,rpc:["https://1020352220.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/aware-fake-trim-testnet","wss://testnet.skalenodes.com/v1/ws/aware-fake-trim-testnet"],shortName:"titan-testnet",slip44:1,slug:"skale-titan-hub-testnet",testnet:!0,title:"SKALE Titan Hub Testnet"},ZDt={chain:"IPOS",chainId:1122334455,explorers:[],faucets:[],infoURL:"https://iposlab.com",name:"IPOS Network",nativeCurrency:{name:"IPOS Network Ether",symbol:"IPOS",decimals:18},networkId:1122334455,rpc:["https://1122334455.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.iposlab.com","https://rpc2.iposlab.com"],shortName:"ipos",slug:"ipos-network",testnet:!1},ePt={chain:"cyberdeck",chainId:1146703430,explorers:[{name:"CybEthExplorer",url:"http://cybeth1.cyberdeck.eu:8000",standard:"none",icon:{url:"ipfs://QmTvYMJXeZeWxYPuoQ15mHCS8K5EQzkMMCHQVs3GshooyR",width:193,height:214,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTvYMJXeZeWxYPuoQ15mHCS8K5EQzkMMCHQVs3GshooyR",width:193,height:214,format:"png"},infoURL:"https://cyberdeck.eu",name:"CyberdeckNet",nativeCurrency:{name:"Cyb",symbol:"CYB",decimals:18},networkId:1146703430,rpc:["https://1146703430.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://cybeth1.cyberdeck.eu:8545"],shortName:"cyb",slug:"cyberdecknet",status:"active",testnet:!1},tPt={chain:"wan-red-ain",chainId:1273227453,explorers:[{name:"Blockscout",url:"https://wan-red-ain.explorer.mainnet.skalenodes.com",standard:"EIP3091",icon:{url:"ipfs://QmT5KKrpNt6duU8QfwaYw3xf4ifTBPtjahpWsMi3gsFmcS",width:440,height:600,format:"png"}}],faucets:["https://dashboard.humanprotocol.org/faucet"],infoURL:"https://www.humanprotocol.org",name:"HUMAN Protocol",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1273227453,rpc:["https://1273227453.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/wan-red-ain"],shortName:"human-mainnet",slug:"human-protocol",testnet:!1,title:"HUMAN Protocol"},nPt={chain:"NEAR",chainId:1313161554,explorers:[{name:"aurorascan.dev",url:"https://aurorascan.dev",standard:"EIP3091"}],faucets:[],infoURL:"https://aurora.dev",name:"Aurora Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161554,rpc:["https://1313161554.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.aurora.dev","https://aurora.drpc.org","wss://aurora.drpc.org"],shortName:"aurora",slug:"aurora",testnet:!1},aPt={chain:"NEAR",chainId:1313161555,explorers:[{name:"aurorascan.dev",url:"https://testnet.aurorascan.dev",standard:"EIP3091"}],faucets:[],infoURL:"https://aurora.dev",name:"Aurora Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161555,rpc:["https://1313161555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.aurora.dev/","https://aurora-testnet.drpc.org","wss://aurora-testnet.drpc.org"],shortName:"aurora-testnet",slip44:1,slug:"aurora-testnet",testnet:!0},rPt={chain:"NEAR",chainId:1313161556,explorers:[],faucets:[],infoURL:"https://aurora.dev",name:"Aurora Betanet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161556,rpc:[],shortName:"aurora-betanet",slug:"aurora-betanet",testnet:!1},fPt={chain:"NEAR",chainId:1313161560,explorers:[{name:"PowerGold explorer",url:"https://explorer.powergold.aurora.dev",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreib2sabb6vgfoskobp2wdr6if7v6s34f2xwjecfceui6qhjudmu4u4",width:512,height:512,format:"png"},infoURL:"https://www.powergold.tech",name:"PowerGold",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161560,rpc:["https://1313161560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://powergold.aurora.dev"],shortName:"powergold",slug:"powergold",testnet:!1},iPt={chain:"parallel-stormy-spica",chainId:1350216234,explorers:[{name:"Blockscout",url:"https://parallel-stormy-spica.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.skale.network/"],icon:{url:"ipfs://bafkreiagrt5dhgltg2kmw7hf24kslstr5h42e745luuxwp2wbg24gm6zza",width:500,height:500,format:"png"},name:"SKALE Titan Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1350216234,rpc:["https://1350216234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/parallel-stormy-spica","wss://mainnet.skalenodes.com/v1/ws/parallel-stormy-spica"],shortName:"titan-mainnet",slug:"skale-titan-hub",testnet:!1},sPt={chain:"staging-fast-active-bellatrix",chainId:1351057110,explorers:[{name:"Blockscout",url:"https://staging-fast-active-bellatrix.explorer.staging-v3.skalenodes.com",standard:"EIP3091",icon:{url:"ipfs://QmbYYCoU2G4LUfRr9ofGowF3eatfvWv9FiPVhqKndZeqwA",width:400,height:400,format:"png"}}],faucets:["https://sfuel.skale.network/staging/chaos"],infoURL:"https://docs.skale.network/develop/",name:"Chaos (SKALE Testnet)",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1351057110,rpc:["https://1351057110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-fast-active-bellatrix"],shortName:"chaos-tenet",slip44:1,slug:"chaos-skale-testnet",testnet:!0,title:"Chaos Testnet"},oPt={chain:"Rari",chainId:1380012617,explorers:[{name:"rarichain-explorer",url:"https://mainnet.explorer.rarichain.org",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmdAX6818vZ3bAsPRv1DZGrc7qc8XTrgCnRLWrMecixhXb/RARI%20Chain%20Logomark%20Color.png",width:512,height:512,format:"png"},infoURL:"https://rari-mainnet.caldera.dev/",name:"Rari Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1380012617,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://rari.calderabridge.xyz/"}]},redFlags:[],rpc:["https://1380012617.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rpc.rarichain.org/http","https://rari.calderachain.xyz/http"],shortName:"rari",slug:"rari",testnet:!1},cPt={chain:"RPTR",chainId:1380996178,explorers:[{name:"RaptorChain Explorer",url:"https://explorer.raptorchain.io",standard:"EIP3091",icon:{url:"ipfs://QmQuvmiN6vM6Rqzqe1pMzDf8iZXqTtSeqCgGe5k5AyksDU",width:200,height:200,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmQuvmiN6vM6Rqzqe1pMzDf8iZXqTtSeqCgGe5k5AyksDU",width:200,height:200,format:"png"},infoURL:"https://raptorchain.io",name:"RaptorChain",nativeCurrency:{name:"Raptor",symbol:"RPTR",decimals:18},networkId:1380996178,rpc:["https://1380996178.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.raptorchain.io/web3"],shortName:"rptr",slug:"raptorchain",testnet:!1},dPt={chain:"juicy-low-small-testnet",chainId:1444673419,explorers:[{name:"Blockscout",url:"https://juicy-low-small-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafkreiezcwowhm6xjrkt44cmiu6ml36rhrxx3amcg3cfkcntv2vgcvgbre",width:600,height:600,format:"png"},infoURL:"https://europahub.network/",name:"SKALE Europa Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1444673419,rpc:["https://1444673419.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/juicy-low-small-testnet"],shortName:"europa-testnet",slip44:1,slug:"skale-europa-hub-testnet",testnet:!0,title:"SKALE Europa Hub Testnet"},lPt={chain:"green-giddy-denebola",chainId:1482601649,explorers:[{name:"Blockscout",url:"https://green-giddy-denebola.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.skale.network/"],icon:{url:"ipfs://bafybeic5eexvd34wfy4kuebcyu73qpkv3x57s54ebzjyhyjsmeuni5jwcm",width:500,height:500,format:"png"},infoURL:"https://nebulachain.io/",name:"SKALE Nebula Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1482601649,rpc:["https://1482601649.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/green-giddy-denebola","wss://mainnet-proxy.skalenodes.com/v1/ws/green-giddy-denebola"],shortName:"nebula-mainnet",slug:"skale-nebula-hub",testnet:!1},uPt={chain:"staging-aware-chief-gianfar",chainId:1517929550,explorers:[{name:"Blockscout",url:"https://staging-aware-chief-gianfar.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafkreiagrt5dhgltg2kmw7hf24kslstr5h42e745luuxwp2wbg24gm6zza",width:500,height:500,format:"png"},name:"Deprecated SKALE Titan Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1517929550,rpc:["https://1517929550.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-aware-chief-gianfar","wss://staging-v3.skalenodes.com/v1/ws/staging-aware-chief-gianfar"],shortName:"deprecated-titan-testnet",slip44:1,slug:"deprecated-skale-titan-hub-testnet",status:"deprecated",testnet:!0},pPt={chain:"honorable-steel-rasalhague",chainId:1564830818,explorers:[{name:"Blockscout",url:"https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev"],icon:{url:"ipfs://bafybeigyayzxvt7vosat4rtrbmhhnldgx57w2pfbutuniax7h6kswzi42m",width:1637,height:1636,format:"png"},infoURL:"https://calypsohub.network/",name:"SKALE Calypso Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1564830818,rpc:["https://1564830818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/honorable-steel-rasalhague"],shortName:"calypso-mainnet",slug:"skale-calypso-hub",testnet:!1},hPt={chain:"Harmony",chainId:16666e5,ens:{registry:"0x4cd2563118e57b19179d8dc033f2b0c5b5d69ff5"},explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one",standard:"EIP3091"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 0",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:16666e5,rpc:["https://1666600000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.harmony.one","https://a.api.s0.t.hmny.io","https://api.s0.t.hmny.io","https://rpc.ankr.com/harmony","https://harmony.api.onfinality.io/public","https://1rpc.io/one","https://harmony-0.drpc.org","wss://harmony-0.drpc.org"],shortName:"hmy-s0",slip44:1023,slug:"harmony-shard-0",testnet:!1},bPt={chain:"Harmony",chainId:1666600001,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one/blocks/shard/1",standard:"none"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 1",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666600001,rpc:["https://1666600001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.t.hmny.io","https://harmony-1.drpc.org","wss://harmony-1.drpc.org"],shortName:"hmy-s1",slip44:1023,slug:"harmony-shard-1",testnet:!1},mPt={chain:"Harmony",chainId:1666600002,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one/blocks/shard/2",standard:"none"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 2",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666600002,rpc:["https://1666600002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s2.t.hmny.io"],shortName:"hmy-s2",slip44:1023,slug:"harmony-shard-2",status:"deprecated",testnet:!1},yPt={chain:"Harmony",chainId:1666600003,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one/blocks/shard/3",standard:"none"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 3",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666600003,rpc:["https://1666600003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s3.t.hmny.io"],shortName:"hmy-s3",slip44:1023,slug:"harmony-shard-3",status:"deprecated",testnet:!1},gPt={chain:"Harmony",chainId:16667e5,explorers:[{name:"Harmony Testnet Block Explorer",url:"https://explorer.testnet.harmony.one",standard:"EIP3091"}],faucets:["https://faucet.pops.one"],infoURL:"https://www.harmony.one/",name:"Harmony Testnet Shard 0",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:16667e5,rpc:["https://1666700000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.b.hmny.io"],shortName:"hmy-b-s0",slug:"harmony-testnet-shard-0",testnet:!0},vPt={chain:"Harmony",chainId:1666700001,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.testnet.harmony.one",standard:"none"}],faucets:["https://faucet.pops.one"],infoURL:"https://www.harmony.one/",name:"Harmony Testnet Shard 1",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666700001,rpc:["https://1666700001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.b.hmny.io"],shortName:"hmy-b-s1",slug:"harmony-testnet-shard-1",testnet:!0},wPt={chain:"Harmony",chainId:16669e5,explorers:[],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Devnet Shard 0",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:16669e5,rpc:["https://1666900000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.ps.hmny.io"],shortName:"hmy-ps-s0",slug:"harmony-devnet-shard-0",testnet:!1},TPt={chain:"Harmony",chainId:1666900001,explorers:[],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Devnet Shard 1",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666900001,rpc:["https://1666900001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.ps.hmny.io"],shortName:"hmy-ps-s1",slug:"harmony-devnet-shard-1",testnet:!1},xPt={chain:"ETH",chainId:1802203764,explorers:[{name:"Kakarot Scan",url:"https://sepolia.kakarotscan.org",standard:"EIP3091"},{name:"Kakarot Explorer",url:"https://sepolia-explorer.kakarot.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNTZ9nEomAXK6bLxUbMfTS1TvrsN22HU1zTtxHUpMkUhz",width:1e3,height:1e3,format:"png"},infoURL:"https://kakarot.org",name:"Kakarot Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1802203764,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:["https://1802203764.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.kakarot.org"],shortName:"kkrt-sepolia",slug:"kakarot-sepolia",testnet:!1},EPt={chain:"RARI-T",chainId:1918988905,explorers:[{name:"rarichain-testnet-explorer",url:"https://explorer.rarichain.org",standard:"EIP3091"}],faucets:[],features:[],infoURL:"https://rarichain.org/",name:"RARIchain Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1918988905,redFlags:[],rpc:["https://1918988905.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.rarichain.org/http"],shortName:"eth",slug:"rarichain-testnet",testnet:!0},_Pt={chain:"HOP",chainId:2021121117,explorers:[],faucets:[],infoURL:"https://www.DataHopper.com",name:"DataHopper",nativeCurrency:{name:"DataHoppers",symbol:"HOP",decimals:18},networkId:2021121117,rpc:["https://2021121117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://23.92.21.121:8545"],shortName:"hop",slug:"datahopper",testnet:!1},APt={chain:"europa",chainId:2046399126,explorers:[{name:"Blockscout",url:"https://elated-tan-skat.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://ruby.exchange/faucet.html","https://sfuel.mylilius.com/"],icon:{url:"ipfs://bafkreiezcwowhm6xjrkt44cmiu6ml36rhrxx3amcg3cfkcntv2vgcvgbre",width:600,height:600,format:"png"},infoURL:"https://europahub.network/",name:"SKALE Europa Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:2046399126,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://ruby.exchange/bridge.html"}]},rpc:["https://2046399126.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/elated-tan-skat","wss://mainnet.skalenodes.com/v1/elated-tan-skat"],shortName:"europa",slug:"skale-europa-hub",testnet:!1},CPt={chain:"Ancient8",chainId:2863311531,explorers:[{name:"a8scan-testnet",url:"https://testnet.a8scan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreievnqg3xjokaty4kfbxxbrzm5v5y7exbaaia2txrh4sfgrqsalfym",width:128,height:128,format:"png"},infoURL:"https://ancient8.gg/",name:"Ancient8 Testnet (deprecated)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2863311531,rpc:["https://2863311531.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.ancient8.gg"],shortName:"a8old",slip44:1,slug:"ancient8-testnet-deprecated",status:"deprecated",testnet:!0},IPt={chain:"PIRL",chainId:3125659152,explorers:[],faucets:[],infoURL:"https://pirl.io",name:"Pirl",nativeCurrency:{name:"Pirl Ether",symbol:"PIRL",decimals:18},networkId:3125659152,rpc:["https://3125659152.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://wallrpc.pirl.io"],shortName:"pirl",slip44:164,slug:"pirl",testnet:!1},kPt={chain:"OLT",chainId:4216137055,explorers:[{name:"OneLedger Block Explorer",url:"https://frankenstein-explorer.oneledger.network",standard:"EIP3091"}],faucets:["https://frankenstein-faucet.oneledger.network"],icon:{url:"ipfs://QmRhqq4Gp8G9w27ND3LeFW49o5PxcxrbJsqHbpBFtzEMfC",width:225,height:225,format:"png"},infoURL:"https://oneledger.io",name:"OneLedger Testnet Frankenstein",nativeCurrency:{name:"OLT",symbol:"OLT",decimals:18},networkId:4216137055,rpc:["https://4216137055.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://frankenstein-rpc.oneledger.network"],shortName:"frankenstein",slip44:1,slug:"oneledger-testnet-frankenstein",testnet:!0},SPt={chain:"Palm",chainId:11297108099,explorers:[{name:"Chainlens",url:"https://testnet.palm.chainlens.com",standard:"EIP3091"},{name:"Dora",url:"https://www.ondora.xyz/network/palm-testnet",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihifvvbq6xzviygveivayogqiotdtpjvilu27bgqobduqemzeq7o4",width:72,height:72,format:"svg"},infoURL:"https://palm.network",name:"Palm Testnet",nativeCurrency:{name:"PALM",symbol:"PALM",decimals:18},networkId:11297108099,rpc:["https://11297108099.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palm-testnet.infura.io/v3/${INFURA_API_KEY}","https://palm-testnet.public.blastapi.io"],shortName:"tpalm",slip44:1,slug:"palm-testnet",testnet:!0},RPt={chain:"Palm",chainId:11297108109,explorers:[{name:"Chainlens",url:"https://palm.chainlens.com",standard:"EIP3091"},{name:"Dora",url:"https://www.ondora.xyz/network/palm",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihifvvbq6xzviygveivayogqiotdtpjvilu27bgqobduqemzeq7o4",width:72,height:72,format:"svg"},infoURL:"https://palm.network",name:"Palm",nativeCurrency:{name:"PALM",symbol:"PALM",decimals:18},networkId:11297108109,rpc:["https://11297108109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palm-mainnet.infura.io/v3/${INFURA_API_KEY}","https://palm-mainnet.public.blastapi.io"],shortName:"palm",slug:"palm",testnet:!1},MPt={chain:"ETH",chainId:28872323069,explorers:[],faucets:[],icon:{url:"ipfs://bafkreihdfuzytq2og65n3d3b2kzfvk6yywvqdlorrt6h76q4baz5phcvju",width:256,height:256,format:"png"},infoURL:"https://gitswarm.com/",name:"GitSwarm Test Network",nativeCurrency:{name:"GitSwarm Ether",symbol:"GS-ETH",decimals:18},networkId:28872323069,rpc:["https://28872323069.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gitswarm.com:2096"],shortName:"GS-ETH",slip44:1,slug:"gitswarm-test-network",status:"incubating",testnet:!0,title:"GitSwarm Test Network"},BPt={chain:"Xai Sepolia",chainId:37714555429,explorers:[{name:"Blockscout",url:"https://testnet-explorer-v2.xai-chain.net",standard:"EIP3091"},{name:"blockscout",url:"https://testnet-explorer-v2.xai-chain.net/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmZKFekbHxDkB8gFmmmjWz89SLhwg38GkALmAKo3gn753N/2024-01-10%2012.50.15.jpg",width:512,height:512,format:"jpg"},infoURL:"https://xai.games",name:"Xai Sepolia",nativeCurrency:{name:"sXAI",symbol:"sXAI",decimals:18},networkId:37714555429,parent:{type:"L3",chain:"eip155-1",bridges:[]},redFlags:[],rpc:["https://37714555429.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-v2.xai-chain.net/rpc"],shortName:"xai-sepolia",slug:"xai-sepolia",testnet:!0},DPt={chain:"Xai Goerli Orbit Testnet",chainId:47279324479,explorers:[],faucets:[],features:[],infoURL:"https://xai.games/",name:"Xai Goerli Orbit",nativeCurrency:{name:"Xai Goerli Ether",symbol:"ETH",decimals:18},networkId:47279324479,redFlags:[],rpc:[],shortName:"xai-goerli",slug:"xai-goerli-orbit",status:"deprecated",testnet:!0},PPt={chain:"ETH",chainId:88153591557,explorers:[{name:"blockscout",url:"https://arb-blueberry.gelatoscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQXw4QEDR4AbUwX9scH7aGhiSDhQRxu6LCQoUkgsYgGyK/Gelato%20brand%20mark.png",width:300,height:300,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/arb-blueberry",name:"Arbitrum Blueberry",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:88153591557,parent:{type:"L2",chain:"eip155-421614",bridges:[{url:"https://bridge.gelato.network/bridge/arb-blueberry"}]},redFlags:[],rpc:["https://88153591557.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.arb-blueberry.gelato.digital","wss://ws.arb-blueberry.gelato.digital"],shortName:"arb-blueberry",slip44:60,slug:"arbitrum-blueberry",status:"active",testnet:!0,title:"Arbitrum Blueberry"},LPt={chain:"ETH",chainId:107107114116,explorers:[],faucets:[],icon:{url:"ipfs://QmNTZ9nEomAXK6bLxUbMfTS1TvrsN22HU1zTtxHUpMkUhz",width:1e3,height:1e3,format:"png"},infoURL:"https://kakarot.org",name:"Kakarot Sepolia Deprecated",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:107107114116,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:[],shortName:"kkrt-sepolia-deprecated",slug:"kakarot-sepolia-deprecated",testnet:!1},FPt={chain:"Alphabet Network",chainId:111222333444,explorers:[{name:"Alphabet Explorer",url:"https://scan.alphabetnetwork.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfTeudwVJcu7jzySBcpD9H5ZVK66nPJKRnicxend1bxfq",width:500,height:500,format:"svg"},infoURL:"https://alphabetnetwork.org",name:"Alphabet Mainnet",nativeCurrency:{name:"ALT",symbol:"ALT",decimals:18},networkId:111222333444,rpc:["https://111222333444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://londonpublic.alphabetnetwork.org","wss://londonpublic.alphabetnetwork.org/ws/","https://main-rpc.com","wss://main-rpc.com/ws/"],shortName:"alphabet",slug:"alphabet",testnet:!1},NPt={chain:"Ntity",chainId:197710212030,explorers:[{name:"Ntity Blockscout",url:"https://blockscout.ntity.io",standard:"EIP3091",icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"},infoURL:"https://ntity.io",name:"Ntity Mainnet",nativeCurrency:{name:"Ntity",symbol:"NTT",decimals:18},networkId:197710212030,rpc:["https://197710212030.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ntity.io"],shortName:"ntt",slug:"ntity",testnet:!1},OPt={chain:"Ntity",chainId:197710212031,explorers:[{name:"Ntity Haradev Blockscout",url:"https://blockscout.haradev.com",standard:"EIP3091",icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"},infoURL:"https://ntity.io",name:"Haradev Testnet",nativeCurrency:{name:"Ntity Haradev",symbol:"NTTH",decimals:18},networkId:197710212031,rpc:["https://197710212031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain.haradev.com"],shortName:"ntt-haradev",slip44:1,slug:"haradev-testnet",testnet:!0},UPt={chain:"ZENIQ",chainId:383414847825,explorers:[{name:"zeniq-smart-chain-explorer",url:"https://smart.zeniq.net",standard:"EIP3091"}],faucets:["https://faucet.zeniq.net/"],infoURL:"https://www.zeniq.dev/",name:"Zeniq",nativeCurrency:{name:"Zeniq",symbol:"ZENIQ",decimals:18},networkId:383414847825,rpc:["https://383414847825.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://smart.zeniq.network:9545"],shortName:"zeniq",slug:"zeniq",testnet:!1},HPt={chain:"IPDC",chainId:666301171999,explorers:[{name:"ipdcscan",url:"https://scan.ipdc.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ipdc.io",name:"PDC Mainnet",nativeCurrency:{name:"PDC",symbol:"PDC",decimals:18},networkId:666301171999,rpc:["https://666301171999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.ipdc.io/"],shortName:"ipdc",slug:"pdc",testnet:!1},zPt={chain:"ETH",chainId:6022140761023,explorers:[],faucets:[],infoURL:"https://github.com/Jdubedition/molereum",name:"Molereum Network",nativeCurrency:{name:"Molereum Ether",symbol:"MOLE",decimals:18},networkId:6022140761023,rpc:["https://6022140761023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://molereum.jdubedition.com"],shortName:"mole",slug:"molereum-network",testnet:!1},WPt={chain:"GWT",chainId:868455272153094,explorers:[{name:"GWScan Block Explorer",url:"https://v1.aggron.gwscan.com",standard:"none"}],faucets:["https://homura.github.io/light-godwoken"],infoURL:"https://www.nervos.org",name:"Godwoken Testnet (V1)",nativeCurrency:{name:"CKB",symbol:"CKB",decimals:8},networkId:868455272153094,rpc:["https://868455272153094.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://godwoken-testnet-web3-v1-rpc.ckbapp.dev"],shortName:"gw-testnet-v1-deprecated",slip44:1,slug:"godwoken-testnet-v1-gw-testnet-v1-deprecated",status:"deprecated",testnet:!0},qPt={chain:"dchaint",chainId:2713017997578e3,explorers:[{name:"dchaint scan",url:"https://dchaintestnet-2713017997578000-1.testnet.sagaexplorer.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmP2cDWvgMuPgwAAEX9KexowUEjw6q7zCUSsWcb8HdudUH",width:512,height:512,format:"png"},infoURL:"https://www.dchain.foundation/",name:"DCHAIN Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2713017997578e3,rpc:["https://2713017997578000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dchaintestnet-2713017997578000-1.jsonrpc.testnet.sagarpc.io"],shortName:"dchaint",slug:"dchain-testnet",testnet:!0,title:"DCHAIN Testnet"},jPt={chain:"dchainmainnet",chainId:2716446429837e3,explorers:[{name:"dchain scan",url:"https://dchain-2716446429837000-1.sagaexplorer.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmamkxtxT1uFWQGxswmzBRkoTcZuU5biM1QvdsU6SD36K6",width:512,height:512,format:"png"},infoURL:"https://www.dchain.foundation/",name:"DCHAIN",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2716446429837e3,rpc:["https://2716446429837000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dchain-2716446429837000-1.jsonrpc.sagarpc.io"],shortName:"dchainmainnet",slug:"dchain",testnet:!1,title:"DCHAIN Mainnet"};n1=[I6,kHe,xW,_W,z7,EW,_He,IHe,TW,AW,vHe,wHe,THe,EHe,CHe,AHe,xHe],GPt=[I6,Jit,Xit,Zit,est,tst,nst,ast,rst,TW,fst,ist,sst,ost,cst,dst,lst,ust,pst,hst,bst,mst,yst,gst,vst,wst,Tst,xst,Est,_st,Ast,Cst,Ist,kst,Sst,Rst,Mst,Bst,Dst,Pst,Lst,Fst,Nst,Ost,Ust,Hst,zst,Wst,qst,jst,Gst,Kst,Qst,Vst,Yst,vHe,$st,Jst,Xst,Zst,eot,tot,not,aot,rot,fot,iot,sot,oot,cot,dot,lot,uot,pot,hot,bot,mot,yot,got,vot,wot,Tot,xot,Eot,_ot,Aot,Cot,Iot,kot,Sot,Rot,Mot,Bot,Dot,Pot,Lot,wHe,Fot,Not,Oot,Uot,Hot,zot,Wot,qot,jot,Got,Kot,Qot,Vot,Yot,$ot,Jot,Xot,Zot,e1t,t1t,n1t,a1t,r1t,f1t,i1t,s1t,o1t,c1t,d1t,l1t,u1t,p1t,h1t,b1t,m1t,y1t,g1t,v1t,z7,w1t,T1t,x1t,E1t,_1t,A1t,C1t,Ose,I1t,k1t,S1t,R1t,M1t,B1t,D1t,P1t,L1t,F1t,N1t,O1t,U1t,H1t,z1t,W1t,q1t,j1t,G1t,K1t,Q1t,V1t,Y1t,$1t,J1t,X1t,Z1t,ect,tct,nct,act,rct,fct,ict,sct,oct,cct,dct,lct,uct,pct,hct,bct,mct,yct,gct,vct,wct,Tct,xct,Ect,_ct,Act,Cct,Ict,kct,Sct,Rct,Mct,Bct,Dct,Pct,Lct,Fct,THe,Nct,Oct,Uct,Hct,zct,Wct,qct,jct,Gct,Kct,Qct,Vct,Yct,$ct,Jct,Xct,Zct,e6t,t6t,n6t,a6t,r6t,f6t,i6t,s6t,o6t,c6t,d6t,l6t,u6t,p6t,h6t,b6t,m6t,y6t,g6t,v6t,w6t,T6t,x6t,E6t,_6t,A6t,C6t,I6t,k6t,S6t,R6t,M6t,B6t,D6t,P6t,L6t,F6t,N6t,O6t,U6t,H6t,z6t,W6t,q6t,j6t,G6t,K6t,Q6t,V6t,Y6t,$6t,J6t,X6t,Z6t,e5t,t5t,n5t,a5t,r5t,f5t,i5t,s5t,o5t,c5t,d5t,l5t,u5t,p5t,h5t,b5t,m5t,y5t,g5t,v5t,w5t,T5t,x5t,E5t,_5t,A5t,C5t,I5t,k5t,S5t,R5t,M5t,B5t,D5t,P5t,L5t,F5t,N5t,O5t,U5t,H5t,z5t,W5t,q5t,j5t,G5t,K5t,Q5t,V5t,Y5t,$5t,J5t,X5t,Z5t,edt,tdt,ndt,adt,rdt,fdt,idt,sdt,odt,cdt,ddt,ldt,udt,pdt,hdt,bdt,mdt,ydt,gdt,vdt,wdt,Tdt,xdt,Edt,_dt,Adt,Cdt,Idt,kdt,Sdt,Rdt,Mdt,Bdt,Ddt,Pdt,Ldt,Fdt,Ndt,Odt,Udt,Hdt,zdt,Wdt,qdt,jdt,Gdt,Kdt,Qdt,Vdt,Ydt,$dt,Jdt,Xdt,Zdt,elt,tlt,nlt,alt,rlt,flt,ilt,slt,olt,clt,dlt,llt,ult,plt,hlt,blt,mlt,ylt,glt,vlt,wlt,Tlt,xlt,Elt,_lt,Alt,Clt,Ilt,klt,Slt,Rlt,Mlt,Blt,Dlt,Plt,Llt,Flt,Nlt,Olt,Ult,Hlt,zlt,Wlt,qlt,jlt,Glt,Klt,Qlt,Vlt,Ylt,$lt,Jlt,Xlt,Zlt,e2t,t2t,Use,n2t,a2t,r2t,f2t,i2t,s2t,o2t,c2t,d2t,l2t,u2t,p2t,h2t,b2t,m2t,y2t,g2t,v2t,w2t,T2t,x2t,E2t,_2t,A2t,C2t,I2t,k2t,S2t,R2t,M2t,B2t,D2t,P2t,L2t,F2t,N2t,xHe,O2t,U2t,H2t,z2t,W2t,q2t,j2t,G2t,K2t,Q2t,V2t,Y2t,$2t,J2t,X2t,Z2t,eut,tut,nut,aut,rut,fut,iut,sut,out,cut,dut,lut,uut,put,hut,but,mut,yut,gut,vut,wut,Tut,xut,Eut,_ut,Aut,Cut,Iut,kut,Sut,Rut,Mut,But,Dut,Put,Lut,Fut,Nut,Out,Uut,Hut,zut,Wut,qut,jut,Gut,Kut,Qut,Vut,Yut,$ut,Jut,Xut,Zut,ept,tpt,npt,apt,rpt,fpt,ipt,spt,opt,cpt,dpt,lpt,upt,ppt,hpt,bpt,mpt,ypt,gpt,vpt,wpt,Tpt,xpt,Ept,_pt,Apt,Cpt,Ipt,kpt,Spt,Rpt,Mpt,Bpt,Dpt,Ppt,Lpt,Fpt,Npt,Opt,Upt,Hpt,zpt,Wpt,qpt,jpt,Gpt,Kpt,Qpt,Vpt,Ypt,$pt,Jpt,Xpt,Zpt,e8t,t8t,n8t,a8t,r8t,f8t,i8t,s8t,o8t,c8t,d8t,l8t,u8t,p8t,h8t,b8t,m8t,y8t,g8t,v8t,w8t,T8t,x8t,E8t,_8t,A8t,C8t,I8t,k8t,S8t,R8t,M8t,B8t,D8t,P8t,L8t,F8t,N8t,O8t,U8t,H8t,z8t,W8t,q8t,j8t,G8t,K8t,Q8t,V8t,Y8t,$8t,J8t,X8t,Z8t,eht,tht,nht,aht,rht,fht,iht,sht,oht,cht,dht,lht,uht,pht,hht,bht,mht,yht,ght,vht,wht,Tht,xht,Eht,_ht,Aht,Cht,Iht,kht,Sht,Rht,Mht,Bht,Dht,Pht,Lht,Fht,Nht,Oht,Uht,Hht,zht,Wht,qht,jht,Ght,Kht,Qht,Vht,Yht,$ht,Jht,Xht,Zht,e3t,t3t,n3t,a3t,r3t,f3t,i3t,s3t,o3t,c3t,d3t,l3t,u3t,p3t,h3t,b3t,m3t,y3t,g3t,v3t,w3t,T3t,EHe,x3t,E3t,_3t,A3t,C3t,I3t,k3t,S3t,R3t,M3t,B3t,D3t,P3t,L3t,F3t,N3t,O3t,U3t,H3t,z3t,W3t,q3t,j3t,G3t,K3t,Q3t,V3t,Y3t,$3t,J3t,X3t,Z3t,ebt,tbt,nbt,abt,rbt,fbt,ibt,sbt,obt,cbt,dbt,lbt,ubt,pbt,hbt,bbt,mbt,ybt,gbt,vbt,wbt,Tbt,xbt,Ebt,_bt,Abt,Cbt,Ibt,kbt,Sbt,Rbt,Mbt,Bbt,Dbt,Pbt,Lbt,Fbt,Nbt,Obt,Ubt,Hbt,zbt,Wbt,qbt,jbt,Gbt,Kbt,Qbt,Vbt,Ybt,$bt,Jbt,Xbt,Zbt,emt,tmt,nmt,amt,rmt,fmt,imt,smt,omt,cmt,dmt,lmt,umt,pmt,hmt,bmt,mmt,ymt,gmt,vmt,wmt,Tmt,xmt,Emt,_mt,Amt,Cmt,Imt,kmt,Smt,Rmt,Mmt,Bmt,Dmt,Pmt,Lmt,Fmt,Nmt,Omt,Umt,Hmt,zmt,Wmt,qmt,jmt,Gmt,Kmt,Qmt,Vmt,Ymt,$mt,Jmt,Xmt,Zmt,e4t,t4t,n4t,a4t,r4t,f4t,i4t,s4t,o4t,c4t,d4t,l4t,u4t,p4t,h4t,b4t,m4t,y4t,g4t,v4t,w4t,T4t,x4t,E4t,_4t,A4t,C4t,I4t,k4t,S4t,R4t,M4t,B4t,D4t,P4t,L4t,F4t,N4t,O4t,U4t,H4t,z4t,W4t,q4t,xW,j4t,G4t,K4t,Q4t,V4t,Y4t,$4t,J4t,X4t,Z4t,eyt,tyt,nyt,ayt,ryt,fyt,iyt,syt,oyt,cyt,dyt,lyt,uyt,pyt,hyt,byt,myt,yyt,gyt,vyt,wyt,Tyt,xyt,Eyt,_yt,Ayt,Cyt,Iyt,kyt,Syt,Ryt,Myt,Byt,Dyt,Pyt,Lyt,Fyt,Nyt,Oyt,Uyt,Hyt,zyt,Wyt,qyt,jyt,Gyt,Kyt,Qyt,Vyt,Yyt,$yt,Jyt,Xyt,Zyt,e7t,t7t,n7t,a7t,r7t,f7t,i7t,s7t,o7t,c7t,d7t,l7t,u7t,p7t,h7t,b7t,m7t,y7t,g7t,v7t,w7t,T7t,x7t,E7t,_7t,A7t,C7t,I7t,k7t,S7t,R7t,M7t,B7t,D7t,P7t,L7t,F7t,N7t,O7t,U7t,H7t,z7t,W7t,q7t,j7t,G7t,K7t,Q7t,V7t,Y7t,$7t,J7t,X7t,Z7t,e9t,t9t,n9t,a9t,r9t,f9t,i9t,s9t,o9t,c9t,d9t,l9t,u9t,p9t,h9t,b9t,m9t,y9t,g9t,v9t,w9t,T9t,x9t,E9t,_9t,A9t,C9t,I9t,k9t,S9t,R9t,M9t,B9t,D9t,P9t,L9t,F9t,N9t,O9t,U9t,H9t,z9t,W9t,q9t,j9t,G9t,K9t,Q9t,V9t,Y9t,$9t,J9t,X9t,Z9t,egt,tgt,ngt,agt,rgt,fgt,igt,sgt,ogt,cgt,dgt,lgt,ugt,pgt,hgt,bgt,mgt,ygt,ggt,vgt,wgt,Tgt,xgt,Egt,_gt,Agt,Cgt,Igt,kgt,Sgt,Rgt,Mgt,Bgt,Dgt,Pgt,Lgt,Fgt,Ngt,Ogt,Ugt,Hgt,zgt,Wgt,qgt,jgt,Ggt,Kgt,Qgt,Vgt,Ygt,$gt,Jgt,Xgt,Zgt,evt,tvt,nvt,avt,rvt,fvt,ivt,svt,ovt,cvt,dvt,lvt,uvt,pvt,hvt,bvt,mvt,yvt,gvt,vvt,wvt,Tvt,xvt,Evt,_vt,Avt,Cvt,Ivt,kvt,Svt,Rvt,Mvt,Bvt,Dvt,Pvt,Lvt,Fvt,Nvt,Ovt,Uvt,Hvt,zvt,Wvt,qvt,jvt,Gvt,Kvt,Qvt,Vvt,Yvt,$vt,Jvt,Xvt,Zvt,ewt,twt,nwt,awt,rwt,fwt,iwt,swt,owt,cwt,dwt,lwt,uwt,pwt,hwt,bwt,mwt,ywt,gwt,vwt,wwt,Twt,xwt,Ewt,_wt,Awt,Cwt,Iwt,kwt,Swt,Rwt,Mwt,Bwt,Dwt,Pwt,Lwt,Fwt,Nwt,Owt,Uwt,Hwt,zwt,Wwt,qwt,jwt,Gwt,Kwt,Qwt,Vwt,Ywt,$wt,Jwt,Xwt,Zwt,eTt,tTt,nTt,aTt,rTt,fTt,iTt,sTt,oTt,cTt,dTt,lTt,uTt,pTt,hTt,bTt,mTt,yTt,gTt,vTt,wTt,TTt,xTt,ETt,_He,_Tt,KS,ATt,CTt,ITt,kTt,STt,RTt,MTt,BTt,DTt,PTt,LTt,AHe,CHe,FTt,NTt,OTt,UTt,HTt,zTt,WTt,QS,qTt,jTt,GTt,KTt,QTt,VTt,YTt,$Tt,JTt,XTt,ZTt,ext,txt,nxt,axt,rxt,fxt,ixt,sxt,oxt,cxt,dxt,lxt,uxt,pxt,hxt,bxt,mxt,yxt,gxt,vxt,wxt,Txt,xxt,Ext,_xt,Axt,Cxt,Ixt,kxt,Sxt,Rxt,Mxt,Bxt,Dxt,Pxt,Lxt,Fxt,Nxt,Oxt,Uxt,Hxt,zxt,Wxt,qxt,jxt,Gxt,Kxt,Qxt,Vxt,Yxt,$xt,Jxt,Xxt,Zxt,eEt,tEt,nEt,aEt,rEt,fEt,iEt,sEt,oEt,cEt,dEt,lEt,uEt,pEt,hEt,bEt,mEt,yEt,gEt,vEt,wEt,TEt,xEt,EEt,_Et,AEt,CEt,IEt,kEt,SEt,REt,MEt,BEt,DEt,PEt,LEt,FEt,NEt,OEt,UEt,HEt,zEt,WEt,qEt,jEt,GEt,Hse,KEt,QEt,VEt,YEt,$Et,JEt,XEt,ZEt,e_t,t_t,n_t,a_t,r_t,f_t,i_t,s_t,o_t,c_t,d_t,l_t,u_t,p_t,h_t,b_t,m_t,y_t,g_t,v_t,w_t,T_t,x_t,E_t,__t,A_t,C_t,I_t,k_t,S_t,R_t,M_t,B_t,D_t,P_t,L_t,F_t,N_t,O_t,U_t,H_t,z_t,W_t,q_t,j_t,G_t,K_t,Q_t,V_t,Y_t,$_t,J_t,X_t,Z_t,eAt,tAt,nAt,aAt,rAt,fAt,iAt,sAt,oAt,cAt,dAt,lAt,uAt,pAt,hAt,bAt,mAt,yAt,gAt,vAt,wAt,TAt,xAt,EAt,_At,AAt,CAt,IAt,kAt,SAt,RAt,MAt,BAt,DAt,PAt,LAt,FAt,EW,NAt,OAt,UAt,HAt,zAt,WAt,qAt,jAt,GAt,KAt,QAt,VAt,YAt,$At,JAt,XAt,ZAt,eCt,tCt,nCt,aCt,rCt,fCt,iCt,sCt,oCt,cCt,dCt,lCt,uCt,pCt,hCt,_W,bCt,mCt,yCt,gCt,vCt,wCt,TCt,xCt,ECt,_Ct,ACt,CCt,ICt,kCt,SCt,RCt,MCt,BCt,DCt,PCt,LCt,FCt,NCt,OCt,UCt,HCt,zCt,WCt,qCt,jCt,GCt,KCt,QCt,VCt,YCt,$Ct,JCt,XCt,ZCt,eIt,tIt,nIt,aIt,rIt,fIt,iIt,sIt,oIt,cIt,dIt,lIt,uIt,pIt,hIt,bIt,mIt,yIt,gIt,vIt,wIt,TIt,xIt,EIt,_It,AIt,CIt,IIt,kIt,SIt,RIt,MIt,BIt,DIt,PIt,LIt,FIt,NIt,OIt,UIt,HIt,zIt,WIt,qIt,jIt,GIt,KIt,QIt,VIt,YIt,$It,JIt,XIt,ZIt,ekt,tkt,nkt,akt,rkt,fkt,ikt,skt,okt,ckt,dkt,lkt,ukt,pkt,hkt,bkt,mkt,ykt,gkt,vkt,wkt,Tkt,xkt,Ekt,_kt,Akt,Ckt,Ikt,kkt,Skt,Rkt,Mkt,Bkt,Dkt,Pkt,Lkt,Fkt,Nkt,Okt,Ukt,Hkt,zkt,Wkt,qkt,jkt,Gkt,Kkt,Qkt,Vkt,Ykt,$kt,Jkt,Xkt,Zkt,eSt,tSt,nSt,aSt,rSt,fSt,iSt,sSt,oSt,cSt,dSt,lSt,uSt,pSt,hSt,bSt,mSt,ySt,gSt,vSt,wSt,TSt,xSt,ESt,_St,ASt,CSt,ISt,kSt,SSt,RSt,MSt,BSt,DSt,PSt,LSt,FSt,NSt,OSt,USt,HSt,zSt,WSt,qSt,jSt,GSt,KSt,QSt,VSt,YSt,$St,JSt,XSt,ZSt,eRt,tRt,nRt,aRt,rRt,fRt,iRt,sRt,oRt,cRt,dRt,lRt,IHe,uRt,pRt,hRt,bRt,mRt,yRt,gRt,vRt,wRt,TRt,xRt,ERt,_Rt,ARt,CRt,IRt,kRt,SRt,RRt,MRt,BRt,DRt,PRt,LRt,FRt,NRt,ORt,URt,HRt,zRt,WRt,qRt,jRt,GRt,KRt,QRt,VRt,YRt,$Rt,JRt,XRt,ZRt,eMt,tMt,nMt,aMt,rMt,fMt,iMt,sMt,oMt,cMt,dMt,lMt,uMt,pMt,hMt,bMt,mMt,yMt,gMt,vMt,wMt,TMt,xMt,EMt,_Mt,AMt,CMt,IMt,kMt,SMt,RMt,MMt,BMt,DMt,PMt,LMt,FMt,NMt,OMt,UMt,HMt,zMt,WMt,qMt,jMt,GMt,KMt,QMt,VMt,YMt,$Mt,JMt,XMt,ZMt,eBt,tBt,nBt,aBt,rBt,fBt,iBt,sBt,oBt,cBt,dBt,lBt,uBt,pBt,hBt,bBt,mBt,yBt,gBt,vBt,wBt,TBt,xBt,EBt,_Bt,ABt,CBt,IBt,kBt,SBt,RBt,MBt,BBt,DBt,PBt,LBt,zse,FBt,NBt,OBt,UBt,HBt,zBt,WBt,qBt,jBt,GBt,KBt,kHe,AW,QBt,VBt,YBt,$Bt,JBt,XBt,ZBt,eDt,tDt,nDt,aDt,rDt,fDt,iDt,sDt,oDt,cDt,dDt,lDt,uDt,pDt,hDt,bDt,mDt,yDt,gDt,vDt,wDt,TDt,xDt,EDt,_Dt,ADt,CDt,IDt,kDt,SDt,RDt,MDt,BDt,DDt,PDt,LDt,FDt,NDt,ODt,UDt,HDt,zDt,WDt,qDt,jDt,GDt,KDt,QDt,VDt,YDt,$Dt,JDt,Wse,XDt,ZDt,ePt,tPt,nPt,aPt,rPt,fPt,iPt,sPt,oPt,cPt,dPt,lPt,uPt,pPt,hPt,bPt,mPt,yPt,gPt,vPt,wPt,TPt,xPt,EPt,_Pt,APt,CPt,IPt,kPt,SPt,RPt,MPt,BPt,DPt,PPt,LPt,FPt,NPt,OPt,UPt,HPt,zPt,WPt,qPt,jPt]});function QPt(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var a=n.call(t,e||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function VPt(t){var e=QPt(t,"string");return typeof e=="symbol"?e:e+""}function Pe(t,e,n){return e=VPt(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var kt=ce(()=>{"use strict";u();p()});function YPt(t){return t instanceof Uint8Array||t!=null&&typeof t=="object"&&t.constructor.name==="Uint8Array"}function qse(t,...e){if(!YPt(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error(`Uint8Array expected of length ${e}, not of length=${t.length}`)}function jse(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function MHe(t,e){qse(t);let n=e.outputLen;if(t.length{u();p()});function $Pt(t){if(typeof t!="string")throw new Error(`utf8ToBytes expected string, got ${typeof t}`);return new Uint8Array(new TextEncoder().encode(t))}function Kse(t){return typeof t=="string"&&(t=$Pt(t)),qse(t),t}function BHe(t){let e=a=>t().update(Kse(a)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}var IW,wl,kfa,CW,Sfa,Qse=ce(()=>{u();p();Gse();IW=t=>new DataView(t.buffer,t.byteOffset,t.byteLength),wl=(t,e)=>t<<32-e|t>>>e,kfa=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;CW=class{clone(){return this._cloneInto()}},Sfa={}.toString});function JPt(t,e,n,a){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,a);let r=BigInt(32),f=BigInt(4294967295),i=Number(n>>r&f),s=Number(n&f),o=a?4:0,c=a?0:4;t.setUint32(e+o,i,a),t.setUint32(e+c,s,a)}var DHe,PHe,kW,LHe=ce(()=>{u();p();Gse();Qse();DHe=(t,e,n)=>t&e^~t&n,PHe=(t,e,n)=>t&e^t&n^e&n,kW=class extends CW{constructor(e,n,a,r){super(),this.blockLen=e,this.outputLen=n,this.padOffset=a,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=IW(this.buffer)}update(e){jse(this);let{view:n,buffer:a,blockLen:r}=this;e=Kse(e);let f=e.length;for(let i=0;ir-i&&(this.process(a,0),i=0);for(let l=i;ld.length)throw new Error("_sha2: outputLen bigger than state");for(let l=0;l{u();p();LHe();Qse();XPt=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),xb=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Eb=new Uint32Array(64),Vse=class extends kW{constructor(){super(64,32,8,!1),this.A=xb[0]|0,this.B=xb[1]|0,this.C=xb[2]|0,this.D=xb[3]|0,this.E=xb[4]|0,this.F=xb[5]|0,this.G=xb[6]|0,this.H=xb[7]|0}get(){let{A:e,B:n,C:a,D:r,E:f,F:i,G:s,H:o}=this;return[e,n,a,r,f,i,s,o]}set(e,n,a,r,f,i,s,o){this.A=e|0,this.B=n|0,this.C=a|0,this.D=r|0,this.E=f|0,this.F=i|0,this.G=s|0,this.H=o|0}process(e,n){for(let l=0;l<16;l++,n+=4)Eb[l]=e.getUint32(n,!1);for(let l=16;l<64;l++){let h=Eb[l-15],y=Eb[l-2],v=wl(h,7)^wl(h,18)^h>>>3,k=wl(y,17)^wl(y,19)^y>>>10;Eb[l]=k+Eb[l-7]+v+Eb[l-16]|0}let{A:a,B:r,C:f,D:i,E:s,F:o,G:c,H:d}=this;for(let l=0;l<64;l++){let h=wl(s,6)^wl(s,11)^wl(s,25),y=d+h+DHe(s,o,c)+XPt[l]+Eb[l]|0,k=(wl(a,2)^wl(a,13)^wl(a,22))+PHe(a,r,f)|0;d=c,c=o,o=s,s=i+y|0,i=f,f=r,r=a,a=y+k|0}a=a+this.A|0,r=r+this.B|0,f=f+this.C|0,i=i+this.D|0,s=s+this.E|0,o=o+this.F|0,c=c+this.G|0,d=d+this.H|0,this.set(a,r,f,i,s,o,c,d)}roundClean(){Eb.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},FHe=BHe(()=>new Vse)});var OHe=D((qfa,SW)=>{u();p();(function(){"use strict";var t="input is invalid type",e="finalize already called",n=typeof window=="object",a=n?window:{};a.JS_SHA3_NO_WINDOW&&(n=!1);var r=!n&&typeof self=="object",f=!a.JS_SHA3_NO_NODE_JS&&typeof E=="object"&&E.versions&&E.versions.node;f?a=global:r&&(a=self);for(var i=!a.JS_SHA3_NO_COMMON_JS&&typeof SW=="object"&&SW.exports,s=typeof define=="function"&&define.amd,o=!a.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",c="0123456789abcdef".split(""),d=[31,7936,2031616,520093696],l=[4,1024,262144,67108864],h=[1,256,65536,16777216],y=[6,1536,393216,100663296],v=[0,8,16,24],k=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],O=[224,256,384,512],F=[128,256],z=["hex","buffer","arrayBuffer","array","digest"],W={128:168,256:136},j=a.JS_SHA3_NO_NODE_JS||!Array.isArray?function(Y){return Object.prototype.toString.call(Y)==="[object Array]"}:Array.isArray,Q=o&&(a.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)?function(Y){return typeof Y=="object"&&Y.buffer&&Y.buffer.constructor===ArrayBuffer}:ArrayBuffer.isView,V=function(Y){var re=typeof Y;if(re==="string")return[Y,!0];if(re!=="object"||Y===null)throw new Error(t);if(o&&Y.constructor===ArrayBuffer)return[new Uint8Array(Y),!1];if(!j(Y)&&!Q(Y))throw new Error(t);return[Y,!1]},X=function(Y){return V(Y)[0].length===0},K=function(Y){for(var re=[],ie=0;ie>5,this.byteCount=this.blockCount<<2,this.outputBlocks=ie>>5,this.extraBytes=(ie&31)>>3;for(var ge=0;ge<50;++ge)this.s[ge]=0}Z.prototype.update=function(Y){if(this.finalized)throw new Error(e);var re=V(Y);Y=re[0];for(var ie=re[1],ge=this.blocks,de=this.byteCount,Ae=Y.length,Ge=this.blockCount,Be=0,c0=this.s,Ye,He;Be>2]|=He<>2]|=(192|He>>6)<>2]|=(128|He&63)<=57344?(ge[Ye>>2]|=(224|He>>12)<>2]|=(128|He>>6&63)<>2]|=(128|He&63)<>2]|=(240|He>>18)<>2]|=(128|He>>12&63)<>2]|=(128|He>>6&63)<>2]|=(128|He&63)<>2]|=Y[Be]<=de){for(this.start=Ye-de,this.block=ge[Ge],Ye=0;Ye>8,ie=Y&255;ie>0;)de.unshift(ie),Y=Y>>8,ie=Y&255,++ge;return re?de.push(ge):de.unshift(ge),this.update(de),de.length},Z.prototype.encodeString=function(Y){var re=V(Y);Y=re[0];var ie=re[1],ge=0,de=Y.length;if(ie)for(var Ae=0;Ae=57344?ge+=3:(Ge=65536+((Ge&1023)<<10|Y.charCodeAt(++Ae)&1023),ge+=4)}else ge=de;return ge+=this.encode(ge*8),this.update(Y),ge},Z.prototype.bytepad=function(Y,re){for(var ie=this.encode(re),ge=0;ge>2]|=this.padding[re&3],this.lastByteIndex===this.byteCount)for(Y[0]=Y[ie],re=1;re>4&15]+c[Be&15]+c[Be>>12&15]+c[Be>>8&15]+c[Be>>20&15]+c[Be>>16&15]+c[Be>>28&15]+c[Be>>24&15];Ae%Y===0&&(re=K(re),ue(re),de=0)}return ge&&(Be=re[de],Ge+=c[Be>>4&15]+c[Be&15],ge>1&&(Ge+=c[Be>>12&15]+c[Be>>8&15]),ge>2&&(Ge+=c[Be>>20&15]+c[Be>>16&15])),Ge},Z.prototype.arrayBuffer=function(){this.finalize();var Y=this.blockCount,re=this.s,ie=this.outputBlocks,ge=this.extraBytes,de=0,Ae=0,Ge=this.outputBits>>3,Be;ge?Be=new ArrayBuffer(ie+1<<2):Be=new ArrayBuffer(Ge);for(var c0=new Uint32Array(Be);Ae>8&255,Ge[Be+2]=c0>>16&255,Ge[Be+3]=c0>>24&255;Ae%Y===0&&(re=K(re),ue(re))}return ge&&(Be=Ae<<2,c0=re[de],Ge[Be]=c0&255,ge>1&&(Ge[Be+1]=c0>>8&255),ge>2&&(Ge[Be+2]=c0>>16&255)),Ge};function ne(Y,re,ie){Z.call(this,Y,re,ie)}ne.prototype=new Z,ne.prototype.finalize=function(){return this.encode(this.outputBits,!0),Z.prototype.finalize.call(this)};var ue=function(Y){var re,ie,ge,de,Ae,Ge,Be,c0,Ye,He,_0,L0,Ze,I0,pe,he,Te,Ce,Se,Qe,u0,qe,v0,w0,Ve,be,ye,_e,ze,je,Ue,b0,h0,$e,M0,P0,t0,j0,z0,Ke,B0,G0,s0,X0,Y0,l0,K0,tt,p0,et,Et,$0,Tt,Pn,Ln,Fn,Nn,On,Ha,pr,za,hr,ar;for(ge=0;ge<48;ge+=2)de=Y[0]^Y[10]^Y[20]^Y[30]^Y[40],Ae=Y[1]^Y[11]^Y[21]^Y[31]^Y[41],Ge=Y[2]^Y[12]^Y[22]^Y[32]^Y[42],Be=Y[3]^Y[13]^Y[23]^Y[33]^Y[43],c0=Y[4]^Y[14]^Y[24]^Y[34]^Y[44],Ye=Y[5]^Y[15]^Y[25]^Y[35]^Y[45],He=Y[6]^Y[16]^Y[26]^Y[36]^Y[46],_0=Y[7]^Y[17]^Y[27]^Y[37]^Y[47],L0=Y[8]^Y[18]^Y[28]^Y[38]^Y[48],Ze=Y[9]^Y[19]^Y[29]^Y[39]^Y[49],re=L0^(Ge<<1|Be>>>31),ie=Ze^(Be<<1|Ge>>>31),Y[0]^=re,Y[1]^=ie,Y[10]^=re,Y[11]^=ie,Y[20]^=re,Y[21]^=ie,Y[30]^=re,Y[31]^=ie,Y[40]^=re,Y[41]^=ie,re=de^(c0<<1|Ye>>>31),ie=Ae^(Ye<<1|c0>>>31),Y[2]^=re,Y[3]^=ie,Y[12]^=re,Y[13]^=ie,Y[22]^=re,Y[23]^=ie,Y[32]^=re,Y[33]^=ie,Y[42]^=re,Y[43]^=ie,re=Ge^(He<<1|_0>>>31),ie=Be^(_0<<1|He>>>31),Y[4]^=re,Y[5]^=ie,Y[14]^=re,Y[15]^=ie,Y[24]^=re,Y[25]^=ie,Y[34]^=re,Y[35]^=ie,Y[44]^=re,Y[45]^=ie,re=c0^(L0<<1|Ze>>>31),ie=Ye^(Ze<<1|L0>>>31),Y[6]^=re,Y[7]^=ie,Y[16]^=re,Y[17]^=ie,Y[26]^=re,Y[27]^=ie,Y[36]^=re,Y[37]^=ie,Y[46]^=re,Y[47]^=ie,re=He^(de<<1|Ae>>>31),ie=_0^(Ae<<1|de>>>31),Y[8]^=re,Y[9]^=ie,Y[18]^=re,Y[19]^=ie,Y[28]^=re,Y[29]^=ie,Y[38]^=re,Y[39]^=ie,Y[48]^=re,Y[49]^=ie,I0=Y[0],pe=Y[1],l0=Y[11]<<4|Y[10]>>>28,K0=Y[10]<<4|Y[11]>>>28,_e=Y[20]<<3|Y[21]>>>29,ze=Y[21]<<3|Y[20]>>>29,pr=Y[31]<<9|Y[30]>>>23,za=Y[30]<<9|Y[31]>>>23,G0=Y[40]<<18|Y[41]>>>14,s0=Y[41]<<18|Y[40]>>>14,$e=Y[2]<<1|Y[3]>>>31,M0=Y[3]<<1|Y[2]>>>31,he=Y[13]<<12|Y[12]>>>20,Te=Y[12]<<12|Y[13]>>>20,tt=Y[22]<<10|Y[23]>>>22,p0=Y[23]<<10|Y[22]>>>22,je=Y[33]<<13|Y[32]>>>19,Ue=Y[32]<<13|Y[33]>>>19,hr=Y[42]<<2|Y[43]>>>30,ar=Y[43]<<2|Y[42]>>>30,Pn=Y[5]<<30|Y[4]>>>2,Ln=Y[4]<<30|Y[5]>>>2,P0=Y[14]<<6|Y[15]>>>26,t0=Y[15]<<6|Y[14]>>>26,Ce=Y[25]<<11|Y[24]>>>21,Se=Y[24]<<11|Y[25]>>>21,et=Y[34]<<15|Y[35]>>>17,Et=Y[35]<<15|Y[34]>>>17,b0=Y[45]<<29|Y[44]>>>3,h0=Y[44]<<29|Y[45]>>>3,w0=Y[6]<<28|Y[7]>>>4,Ve=Y[7]<<28|Y[6]>>>4,Fn=Y[17]<<23|Y[16]>>>9,Nn=Y[16]<<23|Y[17]>>>9,j0=Y[26]<<25|Y[27]>>>7,z0=Y[27]<<25|Y[26]>>>7,Qe=Y[36]<<21|Y[37]>>>11,u0=Y[37]<<21|Y[36]>>>11,$0=Y[47]<<24|Y[46]>>>8,Tt=Y[46]<<24|Y[47]>>>8,X0=Y[8]<<27|Y[9]>>>5,Y0=Y[9]<<27|Y[8]>>>5,be=Y[18]<<20|Y[19]>>>12,ye=Y[19]<<20|Y[18]>>>12,On=Y[29]<<7|Y[28]>>>25,Ha=Y[28]<<7|Y[29]>>>25,Ke=Y[38]<<8|Y[39]>>>24,B0=Y[39]<<8|Y[38]>>>24,qe=Y[48]<<14|Y[49]>>>18,v0=Y[49]<<14|Y[48]>>>18,Y[0]=I0^~he&Ce,Y[1]=pe^~Te&Se,Y[10]=w0^~be&_e,Y[11]=Ve^~ye&ze,Y[20]=$e^~P0&j0,Y[21]=M0^~t0&z0,Y[30]=X0^~l0&tt,Y[31]=Y0^~K0&p0,Y[40]=Pn^~Fn&On,Y[41]=Ln^~Nn&Ha,Y[2]=he^~Ce&Qe,Y[3]=Te^~Se&u0,Y[12]=be^~_e&je,Y[13]=ye^~ze&Ue,Y[22]=P0^~j0&Ke,Y[23]=t0^~z0&B0,Y[32]=l0^~tt&et,Y[33]=K0^~p0&Et,Y[42]=Fn^~On&pr,Y[43]=Nn^~Ha&za,Y[4]=Ce^~Qe&qe,Y[5]=Se^~u0&v0,Y[14]=_e^~je&b0,Y[15]=ze^~Ue&h0,Y[24]=j0^~Ke&G0,Y[25]=z0^~B0&s0,Y[34]=tt^~et&$0,Y[35]=p0^~Et&Tt,Y[44]=On^~pr&hr,Y[45]=Ha^~za&ar,Y[6]=Qe^~qe&I0,Y[7]=u0^~v0&pe,Y[16]=je^~b0&w0,Y[17]=Ue^~h0&Ve,Y[26]=Ke^~G0&$e,Y[27]=B0^~s0&M0,Y[36]=et^~$0&X0,Y[37]=Et^~Tt&Y0,Y[46]=pr^~hr&Pn,Y[47]=za^~ar&Ln,Y[8]=qe^~I0&he,Y[9]=v0^~pe&Te,Y[18]=b0^~w0&be,Y[19]=h0^~Ve&ye,Y[28]=G0^~$e&P0,Y[29]=s0^~M0&t0,Y[38]=$0^~X0&l0,Y[39]=Tt^~Y0&K0,Y[48]=hr^~Pn&Fn,Y[49]=ar^~Ln&Nn,Y[0]^=k[ge],Y[1]^=k[ge+1]};if(i)SW.exports=g;else{for(M=0;Mr+f.length,0));let n=new Uint8Array(e),a=0;for(let r of t)eoe(r),n.set(r,a),a+=r.length;return n}function iLt(t){if(typeof t!="string")throw new TypeError(`Expected \`string\`, got \`${typeof t}\``)}function sLt(t){return t.replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}function oLt(t){return t.replaceAll("-","+").replaceAll("_","/")}function dLt(t){let{urlSafe:e=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};eoe(t);let n;if(t.lengthe.codePointAt(0))}function uLt(t){eoe(t);let e="";for(let n=0;n3&&arguments[3]!==void 0?arguments[3]:{},i=await RW(),{key:s,iv:o}=await yLt(n,t,a,r,f);try{let c=await i.subtle.decrypt({name:"AES-CBC",iv:o},s,e);return WHe().decode(c)}catch{throw new Error("Decrypt failed")}}function mLt(t){let e=null,n=qHe(t),[a,r]=Xse(n,pLt*4),f=new DataView(a.buffer);return f.getInt32(0)===1398893684&&f.getInt32(4)===1701076831&&([e,n]=Xse(r,hLt*4)),{ciphertext:n,salt:e}}async function yLt(t,e,n,a,r){let f=await RW(),i=Zse().encode(t),s=gLt(i,e,n+a,r),[o,c]=Xse(s,n*4);return{key:await f.subtle.importKey("raw",o,"AES-CBC",!1,["decrypt"]),iv:c}}function gLt(t,e,n,a){let r=new Uint8Array,f=new Uint8Array;for(;r.byteLength{"use strict";u();p();NHe();ZPt=Ee(OHe()),Yse=class{get encoder(){return this._encoder||(this._encoder=new TextEncoder),this._encoder}get decoder(){return this._decoder||(this._decoder=new TextDecoder),this._decoder}},zHe=new Yse;UHe="input is invalid type",eLt="finalize already called",tLt=[128,32768,8388608,-2147483648];$se=class{constructor(){ae(this,"lastByteIndex",0);let e=new ArrayBuffer(68);this.buffer8=new Uint8Array(e),this.blocks=new Uint32Array(e),this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}update(e){if(this.finalized)throw new Error(eLt);let[n,a]=nLt(e),r=this.blocks,f=0;ArrayBuffer.isView(n)?f=n.byteLength:f=n.length;let i,s=0,o,c=this.buffer8;for(;s>>6,c[o++]=128|i&63):i<55296||i>=57344?(c[o++]=224|i>>>12,c[o++]=128|i>>>6&63,c[o++]=128|i&63):(i=65536+((i&1023)<<10|n.charCodeAt(++s)&1023),c[o++]=240|i>>>18,c[o++]=128|i>>>12&63,c[o++]=128|i>>>6&63,c[o++]=128|i&63);else for(o=this.start;s=64?(this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}finalize(){if(this.finalized)return;this.finalized=!0;let e=this.blocks,n=this.lastByteIndex;e[n>>>2]|=tLt[n&3],n>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}hash(){let e=this.blocks,n,a,r,f,i,s;this.first?(n=e[0]-680876937,n=(n<<7|n>>>25)-271733879<<0,f=(-1732584194^n&2004318071)+e[1]-117830708,f=(f<<12|f>>>20)+n<<0,r=(-271733879^f&(n^-271733879))+e[2]-1126478375,r=(r<<17|r>>>15)+f<<0,a=(n^r&(f^n))+e[3]-1316259209,a=(a<<22|a>>>10)+r<<0):(n=this.h0,a=this.h1,r=this.h2,f=this.h3,n+=(f^a&(r^f))+e[0]-680876936,n=(n<<7|n>>>25)+a<<0,f+=(r^n&(a^r))+e[1]-389564586,f=(f<<12|f>>>20)+n<<0,r+=(a^f&(n^a))+e[2]+606105819,r=(r<<17|r>>>15)+f<<0,a+=(n^r&(f^n))+e[3]-1044525330,a=(a<<22|a>>>10)+r<<0),n+=(f^a&(r^f))+e[4]-176418897,n=(n<<7|n>>>25)+a<<0,f+=(r^n&(a^r))+e[5]+1200080426,f=(f<<12|f>>>20)+n<<0,r+=(a^f&(n^a))+e[6]-1473231341,r=(r<<17|r>>>15)+f<<0,a+=(n^r&(f^n))+e[7]-45705983,a=(a<<22|a>>>10)+r<<0,n+=(f^a&(r^f))+e[8]+1770035416,n=(n<<7|n>>>25)+a<<0,f+=(r^n&(a^r))+e[9]-1958414417,f=(f<<12|f>>>20)+n<<0,r+=(a^f&(n^a))+e[10]-42063,r=(r<<17|r>>>15)+f<<0,a+=(n^r&(f^n))+e[11]-1990404162,a=(a<<22|a>>>10)+r<<0,n+=(f^a&(r^f))+e[12]+1804603682,n=(n<<7|n>>>25)+a<<0,f+=(r^n&(a^r))+e[13]-40341101,f=(f<<12|f>>>20)+n<<0,r+=(a^f&(n^a))+e[14]-1502002290,r=(r<<17|r>>>15)+f<<0,a+=(n^r&(f^n))+e[15]+1236535329,a=(a<<22|a>>>10)+r<<0,n+=(r^f&(a^r))+e[1]-165796510,n=(n<<5|n>>>27)+a<<0,f+=(a^r&(n^a))+e[6]-1069501632,f=(f<<9|f>>>23)+n<<0,r+=(n^a&(f^n))+e[11]+643717713,r=(r<<14|r>>>18)+f<<0,a+=(f^n&(r^f))+e[0]-373897302,a=(a<<20|a>>>12)+r<<0,n+=(r^f&(a^r))+e[5]-701558691,n=(n<<5|n>>>27)+a<<0,f+=(a^r&(n^a))+e[10]+38016083,f=(f<<9|f>>>23)+n<<0,r+=(n^a&(f^n))+e[15]-660478335,r=(r<<14|r>>>18)+f<<0,a+=(f^n&(r^f))+e[4]-405537848,a=(a<<20|a>>>12)+r<<0,n+=(r^f&(a^r))+e[9]+568446438,n=(n<<5|n>>>27)+a<<0,f+=(a^r&(n^a))+e[14]-1019803690,f=(f<<9|f>>>23)+n<<0,r+=(n^a&(f^n))+e[3]-187363961,r=(r<<14|r>>>18)+f<<0,a+=(f^n&(r^f))+e[8]+1163531501,a=(a<<20|a>>>12)+r<<0,n+=(r^f&(a^r))+e[13]-1444681467,n=(n<<5|n>>>27)+a<<0,f+=(a^r&(n^a))+e[2]-51403784,f=(f<<9|f>>>23)+n<<0,r+=(n^a&(f^n))+e[7]+1735328473,r=(r<<14|r>>>18)+f<<0,a+=(f^n&(r^f))+e[12]-1926607734,a=(a<<20|a>>>12)+r<<0,i=a^r,n+=(i^f)+e[5]-378558,n=(n<<4|n>>>28)+a<<0,f+=(i^n)+e[8]-2022574463,f=(f<<11|f>>>21)+n<<0,s=f^n,r+=(s^a)+e[11]+1839030562,r=(r<<16|r>>>16)+f<<0,a+=(s^r)+e[14]-35309556,a=(a<<23|a>>>9)+r<<0,i=a^r,n+=(i^f)+e[1]-1530992060,n=(n<<4|n>>>28)+a<<0,f+=(i^n)+e[4]+1272893353,f=(f<<11|f>>>21)+n<<0,s=f^n,r+=(s^a)+e[7]-155497632,r=(r<<16|r>>>16)+f<<0,a+=(s^r)+e[10]-1094730640,a=(a<<23|a>>>9)+r<<0,i=a^r,n+=(i^f)+e[13]+681279174,n=(n<<4|n>>>28)+a<<0,f+=(i^n)+e[0]-358537222,f=(f<<11|f>>>21)+n<<0,s=f^n,r+=(s^a)+e[3]-722521979,r=(r<<16|r>>>16)+f<<0,a+=(s^r)+e[6]+76029189,a=(a<<23|a>>>9)+r<<0,i=a^r,n+=(i^f)+e[9]-640364487,n=(n<<4|n>>>28)+a<<0,f+=(i^n)+e[12]-421815835,f=(f<<11|f>>>21)+n<<0,s=f^n,r+=(s^a)+e[15]+530742520,r=(r<<16|r>>>16)+f<<0,a+=(s^r)+e[2]-995338651,a=(a<<23|a>>>9)+r<<0,n+=(r^(a|~f))+e[0]-198630844,n=(n<<6|n>>>26)+a<<0,f+=(a^(n|~r))+e[7]+1126891415,f=(f<<10|f>>>22)+n<<0,r+=(n^(f|~a))+e[14]-1416354905,r=(r<<15|r>>>17)+f<<0,a+=(f^(r|~n))+e[5]-57434055,a=(a<<21|a>>>11)+r<<0,n+=(r^(a|~f))+e[12]+1700485571,n=(n<<6|n>>>26)+a<<0,f+=(a^(n|~r))+e[3]-1894986606,f=(f<<10|f>>>22)+n<<0,r+=(n^(f|~a))+e[10]-1051523,r=(r<<15|r>>>17)+f<<0,a+=(f^(r|~n))+e[1]-2054922799,a=(a<<21|a>>>11)+r<<0,n+=(r^(a|~f))+e[8]+1873313359,n=(n<<6|n>>>26)+a<<0,f+=(a^(n|~r))+e[15]-30611744,f=(f<<10|f>>>22)+n<<0,r+=(n^(f|~a))+e[6]-1560198380,r=(r<<15|r>>>17)+f<<0,a+=(f^(r|~n))+e[13]+1309151649,a=(a<<21|a>>>11)+r<<0,n+=(r^(a|~f))+e[4]-145523070,n=(n<<6|n>>>26)+a<<0,f+=(a^(n|~r))+e[11]-1120210379,f=(f<<10|f>>>22)+n<<0,r+=(n^(f|~a))+e[2]+718787259,r=(r<<15|r>>>17)+f<<0,a+=(f^(r|~n))+e[9]-343485551,a=(a<<21|a>>>11)+r<<0,this.first?(this.h0=n+1732584193<<0,this.h1=a-271733879<<0,this.h2=r-1732584194<<0,this.h3=f+271733878<<0,this.first=!1):(this.h0=this.h0+n<<0,this.h1=this.h1+a<<0,this.h2=this.h2+r<<0,this.h3=this.h3+f<<0)}arrayBuffer(){this.finalize();let e=new ArrayBuffer(16),n=new Uint32Array(e);return n[0]=this.h0,n[1]=this.h1,n[2]=this.h2,n[3]=this.h3,e}};aLt=Object.prototype.toString,rLt="[object Uint8Array]";cLt=65535;lLt=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));pLt=2,hLt=2});function d0(t,e){if(!t){if(TLt)throw new Error(toe);var n=typeof e=="function"?e():e,a=n?"".concat(toe,": ").concat(n):toe;throw new Error(a)}}var TLt,toe,ir=ce(()=>{u();p();TLt=E.env.NODE_ENV==="production",toe="Invariant failed"});var QHe=D((eia,KHe)=>{"use strict";u();p();function xLt(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),n=0;n>>0,W=new Uint8Array(z);O!==F;){for(var j=y[O],Q=0,V=z-1;(j!==0||Q>>0,W[V]=j%i>>>0,j=j/i>>>0;if(j!==0)throw new Error("Non-zero carry");k=Q,O++}for(var X=z-k;X!==z&&W[X]===0;)X++;for(var K=s.repeat(v);X>>0,z=new Uint8Array(F);y[v];){var W=e[y.charCodeAt(v)];if(W===255)return;for(var j=0,Q=F-1;(W!==0||j>>0,z[Q]=W%256>>>0,W=W/256>>>0;if(W!==0)throw new Error("Non-zero carry");O=j,v++}for(var V=F-O;V!==F&&z[V]===0;)V++;for(var X=new Uint8Array(k+(F-V)),K=k;V!==F;)X[K++]=z[V++];return X}function h(y){var v=l(y);if(v)return v;throw new Error("Non-base"+i+" character")}return{encode:d,decodeUnsafe:l,decode:h}}KHe.exports=xLt});var ro=D((aia,VHe)=>{u();p();var ELt=QHe(),_Lt="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";VHe.exports=ELt(_Lt)});var $He,YHe=ce(()=>{$He=[{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"}]});var noe,JHe=ce(()=>{noe=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phases",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var ZHe,XHe=ce(()=>{ZHe=[{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var aoe,eze=ce(()=>{aoe=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phase",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var roe,tze=ce(()=>{roe=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phase",type:"tuple",internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var j1=D((lia,RLt)=>{RLt.exports=[{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"who",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var aze,nze=ce(()=>{aze=[{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"}]});var foe,rze=ce(()=>{foe=[{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var DW,fze=ce(()=>{DW=[{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"}]});var sze,ize=ce(()=>{sze=[{type:"function",name:"mintWithSignature",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var ioe=D((mia,LLt)=>{LLt.exports=[{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}]});var cze,oze=ce(()=>{cze=[{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"}]});var lze,dze=ce(()=>{lze=[{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"view"},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var soe,uze=ce(()=>{soe=[{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"reveal",inputs:[{name:"identifier",type:"uint256",internalType:"uint256"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var hze,pze=ce(()=>{hze=[{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"balance",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"operator",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"amount",type:"uint256",internalType:"uint256"},{name:"baseURIForTokens",type:"string",internalType:"string"},{name:"encryptedBaseURI",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"owner",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NFTRevealed",inputs:[{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var lx=D((Tia,HLt)=>{HLt.exports=[{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"_approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var mze,bze=ce(()=>{mze=[{type:"function",name:"tokenByIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"_owner",type:"address",internalType:"address"},{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var gze,yze=ce(()=>{gze=[{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"balance",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"explicitOwnershipOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct IERC721AUpgradeable.TokenOwnership",components:[{name:"addr",type:"address",internalType:"address"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"burned",type:"bool",internalType:"bool"},{name:"extraData",type:"uint24",internalType:"uint24"}]}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"operator",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"owner",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"_approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokensOfOwner",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"tokensOfOwnerIn",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"start",type:"uint256",internalType:"uint256"},{name:"stop",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ConsecutiveTransfer",inputs:[{name:"fromTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"toTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"InvalidQueryRange",inputs:[]},{type:"error",name:"MintERC2309QuantityExceedsLimit",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"OwnershipNotInitializedForExtraData",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var wze,vze=ce(()=>{wze=[{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var VS,Tze=ce(()=>{VS=[{type:"function",name:"lazyMint",inputs:[{name:"amount",type:"uint256",internalType:"uint256"},{name:"baseURIForTokens",type:"string",internalType:"string"},{name:"extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1}]});var ooe,xze=ce(()=>{ooe=[{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var _ze,Eze=ce(()=>{_ze=[{type:"function",name:"mintWithSignature",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var Cze,Aze=ce(()=>{Cze=[{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"tokenIdMinted",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"}]});var kze,Ize=ce(()=>{kze=[{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getMetadataForAllTiers",inputs:[],outputs:[{name:"metadataForAllTiers",type:"tuple[]",internalType:"struct LazyMintWithTier_V1.TierMetadata[]",components:[{name:"tier",type:"string",internalType:"string"},{name:"ranges",type:"tuple[]",internalType:"struct LazyMintWithTier_V1.TokenRange[]",components:[{name:"startIdInclusive",type:"uint256",internalType:"uint256"},{name:"endIdNonInclusive",type:"uint256",internalType:"uint256"}]},{name:"baseURIs",type:"string[]",internalType:"string[]"}]}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_tier",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"TokensLazyMinted",inputs:[{name:"tier",type:"string",indexed:!0,internalType:"string"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1}]});var Rze,Sze=ce(()=>{Rze=[{type:"function",name:"setSharedMetadata",inputs:[{name:"_metadata",type:"tuple",internalType:"struct ISharedMetadata.SharedMetadataInfo",components:[{name:"name",type:"string",internalType:"string"},{name:"description",type:"string",internalType:"string"},{name:"imageURI",type:"string",internalType:"string"},{name:"animationURI",type:"string",internalType:"string"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"sharedMetadata",inputs:[],outputs:[{name:"name",type:"string",internalType:"string"},{name:"description",type:"string",internalType:"string"},{name:"imageURI",type:"string",internalType:"string"},{name:"animationURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SharedMetadataUpdated",inputs:[{name:"name",type:"string",indexed:!1,internalType:"string"},{name:"description",type:"string",indexed:!1,internalType:"string"},{name:"imageURI",type:"string",indexed:!1,internalType:"string"},{name:"animationURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var Bze,Mze=ce(()=>{Bze=[{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"}],name:"Access_MissingRoleOrAdmin",type:"error"},{inputs:[],name:"Access_OnlyAdmin",type:"error"},{inputs:[],name:"Access_WithdrawNotAllowed",type:"error"},{inputs:[{internalType:"address",name:"proposedAddress",type:"address"}],name:"Admin_InvalidUpgradeAddress",type:"error"},{inputs:[],name:"Admin_UnableToFinalizeNotOpenEdition",type:"error"},{inputs:[],name:"ExternalMetadataRenderer_CallFailed",type:"error"},{inputs:[],name:"InvalidMintSchedule",type:"error"},{inputs:[],name:"MarketFilterDAOAddressNotSupportedForChain",type:"error"},{inputs:[],name:"MintFee_FundsSendFailure",type:"error"},{inputs:[],name:"Mint_SoldOut",type:"error"},{inputs:[{internalType:"address",name:"operator",type:"address"}],name:"OperatorNotAllowed",type:"error"},{inputs:[],name:"Presale_Inactive",type:"error"},{inputs:[],name:"Presale_MerkleNotApproved",type:"error"},{inputs:[],name:"Presale_TooManyForAddress",type:"error"},{inputs:[],name:"Purchase_TooManyForAddress",type:"error"},{inputs:[{internalType:"uint256",name:"correctPrice",type:"uint256"}],name:"Purchase_WrongPrice",type:"error"},{inputs:[],name:"RemoteOperatorFilterRegistryCallFailed",type:"error"},{inputs:[],name:"Sale_Inactive",type:"error"},{inputs:[{internalType:"uint16",name:"maxRoyaltyBPS",type:"uint16"}],name:"Setup_RoyaltyPercentageTooHigh",type:"error"},{inputs:[],name:"Withdraw_FundsSendFailure",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"newAddress",type:"address"},{indexed:!0,internalType:"address",name:"changedBy",type:"address"}],name:"FundsRecipientChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"withdrawnBy",type:"address"},{indexed:!0,internalType:"address",name:"withdrawnTo",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"},{indexed:!1,internalType:"address",name:"feeRecipient",type:"address"},{indexed:!1,internalType:"uint256",name:"feeAmount",type:"uint256"}],name:"FundsWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!0,internalType:"address",name:"tokenContract",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"quantity",type:"uint256"},{indexed:!1,internalType:"string",name:"comment",type:"string"}],name:"MintComment",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"mintFeeAmount",type:"uint256"},{indexed:!1,internalType:"address",name:"mintFeeRecipient",type:"address"},{indexed:!1,internalType:"bool",name:"success",type:"bool"}],name:"MintFeePayout",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"uint256",name:"numberOfMints",type:"uint256"}],name:"OpenMintFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!0,internalType:"uint256",name:"quantity",type:"uint256"},{indexed:!0,internalType:"uint256",name:"pricePerToken",type:"uint256"},{indexed:!1,internalType:"uint256",name:"firstPurchasedTokenId",type:"uint256"}],name:"Sale",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"changedBy",type:"address"}],name:"SalesConfigChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"contract IMetadataRenderer",name:"renderer",type:"address"}],name:"UpdatedMetadataRenderer",type:"event"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"quantity",type:"uint256"}],name:"adminMint",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"to",type:"address[]"}],name:"adminMintAirdrop",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"user",type:"address"}],name:"isAdmin",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"minter",type:"address"}],name:"mintedPerAddress",outputs:[{components:[{internalType:"uint256",name:"totalMints",type:"uint256"},{internalType:"uint256",name:"presaleMints",type:"uint256"},{internalType:"uint256",name:"publicMints",type:"uint256"}],internalType:"struct IERC721Drop.AddressMintDetails",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"quantity",type:"uint256"}],name:"purchase",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"payable",type:"function"},{inputs:[{internalType:"uint256",name:"quantity",type:"uint256"},{internalType:"uint256",name:"maxQuantity",type:"uint256"},{internalType:"uint256",name:"pricePerToken",type:"uint256"},{internalType:"bytes32[]",name:"merkleProof",type:"bytes32[]"}],name:"purchasePresale",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"payable",type:"function"},{inputs:[],name:"saleDetails",outputs:[{components:[{internalType:"bool",name:"publicSaleActive",type:"bool"},{internalType:"bool",name:"presaleActive",type:"bool"},{internalType:"uint256",name:"publicSalePrice",type:"uint256"},{internalType:"uint64",name:"publicSaleStart",type:"uint64"},{internalType:"uint64",name:"publicSaleEnd",type:"uint64"},{internalType:"uint64",name:"presaleStart",type:"uint64"},{internalType:"uint64",name:"presaleEnd",type:"uint64"},{internalType:"bytes32",name:"presaleMerkleRoot",type:"bytes32"},{internalType:"uint256",name:"maxSalePurchasePerAddress",type:"uint256"},{internalType:"uint256",name:"totalMinted",type:"uint256"},{internalType:"uint256",name:"maxSupply",type:"uint256"}],internalType:"struct IERC721Drop.SaleDetails",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract IMetadataRenderer",name:"newRenderer",type:"address"},{internalType:"bytes",name:"setupRenderer",type:"bytes"}],name:"setMetadataRenderer",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint104",name:"publicSalePrice",type:"uint104"},{internalType:"uint32",name:"maxSalePurchasePerAddress",type:"uint32"},{internalType:"uint64",name:"publicSaleStart",type:"uint64"},{internalType:"uint64",name:"publicSaleEnd",type:"uint64"},{internalType:"uint64",name:"presaleStart",type:"uint64"},{internalType:"uint64",name:"presaleEnd",type:"uint64"},{internalType:"bytes32",name:"presaleMerkleRoot",type:"bytes32"}],name:"setSaleConfiguration",outputs:[],stateMutability:"nonpayable",type:"function"}]});var Pze,Dze=ce(()=>{Pze=[{type:"function",name:"cancel",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"revoke",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var coe,Lze=ce(()=>{coe=[{type:"function",name:"freezeMetadata",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setTokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var doe=D((Pia,ZLt)=>{ZLt.exports=[{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}]});var Nze,Fze=ce(()=>{Nze=[{type:"function",name:"burn",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"}]});var Uze,Oze=ce(()=>{Uze=[{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"view"},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var zze,Hze=ce(()=>{zze=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDrop1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phases",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var loe,Wze=ce(()=>{loe=[{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"amount",type:"uint256",internalType:"uint256"},{name:"baseURIForTokens",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SaleRecipientForTokenUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"saleRecipient",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!1,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var jze,qze=ce(()=>{jze=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phase",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var Kze,Gze=ce(()=>{Kze=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase1155_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phase",type:"tuple",internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var ux=D((zia,iFt)=>{iFt.exports=[{type:"function",name:"balanceOf",inputs:[{name:"_owner",type:"address",internalType:"address"},{name:"_id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"_owners",type:"address[]",internalType:"address[]"},{name:"_ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"_owner",type:"address",internalType:"address"},{name:"_operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_ids",type:"uint256[]",internalType:"uint256[]"},{name:"_values",type:"uint256[]",internalType:"uint256[]"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_id",type:"uint256",internalType:"uint256"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"_operator",type:"address",internalType:"address"},{name:"_approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ApprovalForAll",inputs:[{name:"_owner",type:"address",indexed:!0,internalType:"address"},{name:"_operator",type:"address",indexed:!0,internalType:"address"},{name:"_approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"_operator",type:"address",indexed:!0,internalType:"address"},{name:"_from",type:"address",indexed:!0,internalType:"address"},{name:"_to",type:"address",indexed:!0,internalType:"address"},{name:"_ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"_values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"_operator",type:"address",indexed:!0,internalType:"address"},{name:"_from",type:"address",indexed:!0,internalType:"address"},{name:"_to",type:"address",indexed:!0,internalType:"address"},{name:"_id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"_value",type:"string",indexed:!1,internalType:"string"},{name:"_id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var uoe=D((Wia,sFt)=>{sFt.exports=[{type:"function",name:"uri",inputs:[{name:"_id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}]});var Vze,Qze=ce(()=>{Vze=[{type:"function",name:"totalSupply",inputs:[{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var $ze,Yze=ce(()=>{$ze=[{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var poe,Jze=ce(()=>{poe=[{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var Zze,Xze=ce(()=>{Zze=[{type:"function",name:"mintWithSignature",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var tWe,eWe=ce(()=>{tWe=[{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"}]});var aWe,nWe=ce(()=>{aWe=[{type:"function",name:"appURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"setAppURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AppURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var fWe,rWe=ce(()=>{fWe=[{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var sWe,iWe=ce(()=>{sWe=[{type:"function",name:"approveBuyerForListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_buyer",type:"address",internalType:"address"},{name:"_toApprove",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"approveCurrencyForListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerTokenInCurrency",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"buyFromListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_buyFor",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_expectedTotalPrice",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"cancelListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"createListing",inputs:[{name:"_params",type:"tuple",internalType:"struct IDirectListings.ListingParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"reserved",type:"bool",internalType:"bool"}]}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"getAllListings",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"listings",type:"tuple[]",internalType:"struct IDirectListings.Listing[]",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],stateMutability:"view"},{type:"function",name:"getAllValidListings",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"listings",type:"tuple[]",internalType:"struct IDirectListings.Listing[]",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],stateMutability:"view"},{type:"function",name:"getListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"}],outputs:[{name:"listing",type:"tuple",internalType:"struct IDirectListings.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],stateMutability:"view"},{type:"function",name:"totalListings",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"updateListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_params",type:"tuple",internalType:"struct IDirectListings.ListingParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"reserved",type:"bool",internalType:"bool"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"BuyerApprovedForListing",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"buyer",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"CancelledListing",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"CurrencyApprovedForListing",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"currency",type:"address",indexed:!0,internalType:"address"},{name:"pricePerToken",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NewListing",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"listing",type:"tuple",indexed:!1,internalType:"struct IDirectListings.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],anonymous:!1},{type:"event",name:"NewSale",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"buyer",type:"address",indexed:!1,internalType:"address"},{name:"quantityBought",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalPricePaid",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"UpdatedListing",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"listing",type:"tuple",indexed:!1,internalType:"struct IDirectListings.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],anonymous:!1}]});var cWe,oWe=ce(()=>{cWe=[{type:"function",name:"bidInAuction",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"},{name:"_bidAmount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"cancelAuction",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"collectAuctionPayout",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"collectAuctionTokens",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"createAuction",inputs:[{name:"_params",type:"tuple",internalType:"struct IEnglishAuctions.AuctionParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"}]}],outputs:[{name:"auctionId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"getAllAuctions",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"auctions",type:"tuple[]",internalType:"struct IEnglishAuctions.Auction[]",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],stateMutability:"view"},{type:"function",name:"getAllValidAuctions",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"auctions",type:"tuple[]",internalType:"struct IEnglishAuctions.Auction[]",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],stateMutability:"view"},{type:"function",name:"getAuction",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"auction",type:"tuple",internalType:"struct IEnglishAuctions.Auction",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],stateMutability:"view"},{type:"function",name:"getWinningBid",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"bidder",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"bidAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"isAuctionExpired",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isNewWinningBid",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"},{name:"_bidAmount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"AuctionClosed",inputs:[{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"closer",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"auctionCreator",type:"address",indexed:!1,internalType:"address"},{name:"winningBidder",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"CancelledAuction",inputs:[{name:"auctionCreator",type:"address",indexed:!0,internalType:"address"},{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NewAuction",inputs:[{name:"auctionCreator",type:"address",indexed:!0,internalType:"address"},{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"auction",type:"tuple",indexed:!1,internalType:"struct IEnglishAuctions.Auction",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],anonymous:!1},{type:"event",name:"NewBid",inputs:[{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"bidder",type:"address",indexed:!0,internalType:"address"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"bidAmount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"auction",type:"tuple",indexed:!1,internalType:"struct IEnglishAuctions.Auction",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],anonymous:!1}]});var lWe,dWe=ce(()=>{lWe=[{type:"function",name:"acceptOffer",inputs:[{name:"_offerId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"cancelOffer",inputs:[{name:"_offerId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getAllOffers",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"offers",type:"tuple[]",internalType:"struct IOffers.Offer[]",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],stateMutability:"view"},{type:"function",name:"getAllValidOffers",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"offers",type:"tuple[]",internalType:"struct IOffers.Offer[]",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],stateMutability:"view"},{type:"function",name:"getOffer",inputs:[{name:"_offerId",type:"uint256",internalType:"uint256"}],outputs:[{name:"offer",type:"tuple",internalType:"struct IOffers.Offer",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],stateMutability:"view"},{type:"function",name:"makeOffer",inputs:[{name:"_params",type:"tuple",internalType:"struct IOffers.OfferParams",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"}]}],outputs:[{name:"offerId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"AcceptedOffer",inputs:[{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"offerId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"seller",type:"address",indexed:!1,internalType:"address"},{name:"quantityBought",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalPricePaid",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"CancelledOffer",inputs:[{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"offerId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NewOffer",inputs:[{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"offerId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"offer",type:"tuple",indexed:!1,internalType:"struct IOffers.Offer",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],anonymous:!1}]});var PW,hoe=ce(()=>{PW=[{type:"function",name:"canClaimRewards",inputs:[{name:"_opener",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"claimRewards",inputs:[],outputs:[{name:"rewardUnits",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"nonpayable"},{type:"function",name:"createPack",inputs:[{name:"contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"numOfRewardUnits",type:"uint256[]",internalType:"uint256[]"},{name:"packUri",type:"string",internalType:"string"},{name:"openStartTimestamp",type:"uint128",internalType:"uint128"},{name:"amountDistributedPerOpen",type:"uint128",internalType:"uint128"},{name:"recipient",type:"address",internalType:"address"}],outputs:[{name:"packId",type:"uint256",internalType:"uint256"},{name:"packTotalSupply",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"openPack",inputs:[{name:"packId",type:"uint256",internalType:"uint256"},{name:"amountToOpen",type:"uint256",internalType:"uint256"}],outputs:[{name:"requestId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"openPackAndClaimRewards",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"},{name:"_amountToOpen",type:"uint256",internalType:"uint256"},{name:"_callBackGasLimit",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"PackCreated",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"recipient",type:"address",indexed:!1,internalType:"address"},{name:"totalPacksCreated",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PackOpenRequested",inputs:[{name:"opener",type:"address",indexed:!0,internalType:"address"},{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"amountToOpen",type:"uint256",indexed:!1,internalType:"uint256"},{name:"requestId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PackOpened",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opener",type:"address",indexed:!0,internalType:"address"},{name:"numOfPacksOpened",type:"uint256",indexed:!1,internalType:"uint256"},{name:"rewardUnitsDistributed",type:"tuple[]",indexed:!1,internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],anonymous:!1},{type:"event",name:"PackRandomnessFulfilled",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"requestId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var pWe,uWe=ce(()=>{pWe=[{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var bWe,hWe=ce(()=>{bWe=[{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var yWe,mWe=ce(()=>{yWe=[{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var vWe,gWe=ce(()=>{vWe=[{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var TWe,wWe=ce(()=>{TWe=[{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"recipient",type:"address",internalType:"address"},{name:"bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var EWe,xWe=ce(()=>{EWe=[{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"OwnableUnauthorized",inputs:[]}]});var AWe,_We=ce(()=>{AWe=[{type:"function",name:"airdropERC20",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"contents",type:"tuple[]",internalType:"struct IAirdropERC20.AirdropContent[]",components:[{name:"recipient",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}]}],outputs:[],stateMutability:"payable"},{type:"event",name:"AirdropFailed",inputs:[{name:"tokenAddress",type:"address",indexed:!0,internalType:"address"},{name:"tokenOwner",type:"address",indexed:!0,internalType:"address"},{name:"recipient",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var IWe,CWe=ce(()=>{IWe=[{type:"function",name:"airdropERC721",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"contents",type:"tuple[]",internalType:"struct IAirdropERC721.AirdropContent[]",components:[{name:"recipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AirdropFailed",inputs:[{name:"tokenAddress",type:"address",indexed:!0,internalType:"address"},{name:"tokenOwner",type:"address",indexed:!0,internalType:"address"},{name:"recipient",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var SWe,kWe=ce(()=>{SWe=[{type:"function",name:"airdropERC1155",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"contents",type:"tuple[]",internalType:"struct IAirdropERC1155.AirdropContent[]",components:[{name:"recipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AirdropFailed",inputs:[{name:"tokenAddress",type:"address",indexed:!0,internalType:"address"},{name:"tokenOwner",type:"address",indexed:!0,internalType:"address"},{name:"recipient",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var MWe,RWe=ce(()=>{MWe=[{type:"function",name:"accountImplementation",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"createAccount",inputs:[{name:"admin",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"account",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"getAccountsOfSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"accounts",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAddress",inputs:[{name:"adminSigner",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getAllAccounts",inputs:[],outputs:[{name:"",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"event",name:"AccountCreated",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"accountAdmin",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"SignerAdded",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"signer",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"SignerRemoved",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"signer",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var DWe,BWe=ce(()=>{DWe=[{type:"function",name:"getAllActiveSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getAllAdmins",inputs:[],outputs:[{name:"admins",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAllSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getPermissionsForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"permissions",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissions",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"isActiveSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isAdmin",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"setPermissionsForSigner",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifySignerPermissionRequest",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"AdminUpdated",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"isAdmin",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"SignerPermissionsUpdated",inputs:[{name:"authorizingSigner",type:"address",indexed:!0,internalType:"address"},{name:"targetSigner",type:"address",indexed:!0,internalType:"address"},{name:"permissions",type:"tuple",indexed:!1,internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var LWe,PWe=ce(()=>{LWe=[{type:"function",name:"getAllActiveSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions_V1.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getAllAdmins",inputs:[],outputs:[{name:"admins",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAllSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions_V1.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getPermissionsForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"permissions",type:"tuple",internalType:"struct IAccountPermissions_V1.SignerPermissions",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"isActiveSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isAdmin",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"setAdmin",inputs:[{name:"account",type:"address",internalType:"address"},{name:"isAdmin",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPermissionsForSigner",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions_V1.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifySignerPermissionRequest",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions_V1.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"AdminUpdated",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"isAdmin",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"SignerPermissionsUpdated",inputs:[{name:"authorizingSigner",type:"address",indexed:!0,internalType:"address"},{name:"targetSigner",type:"address",indexed:!0,internalType:"address"},{name:"permissions",type:"tuple",indexed:!1,internalType:"struct IAccountPermissions_V1.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var NWe,FWe=ce(()=>{NWe=[{type:"function",name:"validateUserOp",inputs:[{name:"userOp",type:"tuple",internalType:"struct UserOperation",components:[{name:"sender",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"initCode",type:"bytes",internalType:"bytes"},{name:"callData",type:"bytes",internalType:"bytes"},{name:"callGasLimit",type:"uint256",internalType:"uint256"},{name:"verificationGasLimit",type:"uint256",internalType:"uint256"},{name:"preVerificationGas",type:"uint256",internalType:"uint256"},{name:"maxFeePerGas",type:"uint256",internalType:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256",internalType:"uint256"},{name:"paymasterAndData",type:"bytes",internalType:"bytes"},{name:"signature",type:"bytes",internalType:"bytes"}]},{name:"userOpHash",type:"bytes32",internalType:"bytes32"},{name:"missingAccountFunds",type:"uint256",internalType:"uint256"}],outputs:[{name:"validationData",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"}]});var LW=D((psa,BFt)=>{BFt.exports=[{type:"constructor",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_trustedForwarder",type:"address",internalType:"address"},{name:"_prevPublisher",type:"address",internalType:"contract IContractPublisher"}],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getAllPublishedContracts",inputs:[{name:"_publisher",type:"address",internalType:"address"}],outputs:[{name:"published",type:"tuple[]",internalType:"struct IContractPublisher.CustomContractInstance[]",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPublishedContract",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"}],outputs:[{name:"published",type:"tuple",internalType:"struct IContractPublisher.CustomContractInstance",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPublishedContractVersions",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"}],outputs:[{name:"published",type:"tuple[]",internalType:"struct IContractPublisher.CustomContractInstance[]",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPublishedUriFromCompilerUri",inputs:[{name:"compilerMetadataUri",type:"string",internalType:"string"}],outputs:[{name:"publishedMetadataUris",type:"string[]",internalType:"string[]"}],stateMutability:"view"},{type:"function",name:"getPublisherProfileUri",inputs:[{name:"publisher",type:"address",internalType:"address"}],outputs:[{name:"uri",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isPaused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"prevPublisher",inputs:[],outputs:[{name:"",type:"address",internalType:"contract IContractPublisher"}],stateMutability:"view"},{type:"function",name:"publishContract",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"},{name:"_publishMetadataUri",type:"string",internalType:"string"},{name:"_compilerMetadataUri",type:"string",internalType:"string"},{name:"_bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"_implementation",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPause",inputs:[{name:"_pause",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrevPublisher",inputs:[{name:"_prevPublisher",type:"address",internalType:"contract IContractPublisher"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPublisherProfileUri",inputs:[{name:"publisher",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"unpublishContract",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ContractPublished",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"publisher",type:"address",indexed:!0,internalType:"address"},{name:"publishedContract",type:"tuple",indexed:!1,internalType:"struct IContractPublisher.CustomContractInstance",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"ContractUnpublished",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"publisher",type:"address",indexed:!0,internalType:"address"},{name:"contractId",type:"string",indexed:!0,internalType:"string"}],anonymous:!1},{type:"event",name:"Paused",inputs:[{name:"isPaused",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"PublisherProfileUpdated",inputs:[{name:"publisher",type:"address",indexed:!0,internalType:"address"},{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var boe=D((hsa,DFt)=>{DFt.exports=[{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"}]});var moe=D((bsa,PFt)=>{PFt.exports=[{type:"function",name:"OPERATOR_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"_msgData",inputs:[],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"_msgSender",inputs:[],outputs:[{name:"sender",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"add",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"},{name:"_chainId",type:"uint256",internalType:"uint256"},{name:"metadataUri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"count",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"deploymentCount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getAll",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"allDeployments",type:"tuple[]",internalType:"struct ITWMultichainRegistry.Deployment[]",components:[{name:"deploymentAddress",type:"address",internalType:"address"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"metadataURI",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getMetadataUri",inputs:[{name:"_chainId",type:"uint256",internalType:"uint256"},{name:"_deployment",type:"address",internalType:"address"}],outputs:[{name:"metadataUri",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"remove",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"},{name:"_chainId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"Added",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"},{name:"chainId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"metadataUri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"Deleted",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"},{name:"chainId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var YS=D((msa,LFt)=>{LFt.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"execute",inputs:[{name:"req",type:"tuple",internalType:"struct Forwarder.ForwardRequest",components:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gas",type:"uint256",internalType:"uint256"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"payable"},{type:"function",name:"getNonce",inputs:[{name:"from",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct Forwarder.ForwardRequest",components:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gas",type:"uint256",internalType:"uint256"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"error",name:"InvalidShortString",inputs:[]},{type:"error",name:"StringTooLong",inputs:[{name:"str",type:"string",internalType:"string"}]}]});var UWe=D((ysa,OWe)=>{"use strict";u();p();function FFt(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),n=0;n>>0,W=new Uint8Array(z);O!==F;){for(var j=y[O],Q=0,V=z-1;(j!==0||Q>>0,W[V]=j%i>>>0,j=j/i>>>0;if(j!==0)throw new Error("Non-zero carry");k=Q,O++}for(var X=z-k;X!==z&&W[X]===0;)X++;for(var K=s.repeat(v);X>>0,z=new Uint8Array(F);y[v];){var W=e[y.charCodeAt(v)];if(W===255)return;for(var j=0,Q=F-1;(W!==0||j>>0,z[Q]=W%256>>>0,W=W/256>>>0;if(W!==0)throw new Error("Non-zero carry");O=j,v++}if(y[v]!==" "){for(var V=F-O;V!==F&&z[V]===0;)V++;for(var X=new Uint8Array(k+(F-V)),K=k;V!==F;)X[K++]=z[V++];return X}}}function h(y){var v=l(y);if(v)return v;throw new Error("Non-base"+i+" character")}return{encode:d,decodeUnsafe:l,decode:h}}OWe.exports=FFt});var FW=D((wsa,HWe)=>{"use strict";u();p();var NFt=new TextDecoder,OFt=t=>NFt.decode(t),UFt=new TextEncoder,HFt=t=>UFt.encode(t);function zFt(t,e){let n=new Uint8Array(e),a=0;for(let r of t)n.set(r,a),a+=r.length;return n}HWe.exports={decodeText:OFt,encodeText:HFt,concat:zFt}});var WWe=D((Esa,zWe)=>{"use strict";u();p();var{encodeText:WFt}=FW(),yoe=class{constructor(e,n,a,r){this.name=e,this.code=n,this.codeBuf=WFt(this.code),this.alphabet=r,this.codec=a(r)}encode(e){return this.codec.encode(e)}decode(e){for(let n of e)if(this.alphabet&&this.alphabet.indexOf(n)<0)throw new Error(`invalid character '${n}' in '${e}'`);return this.codec.decode(e)}};zWe.exports=yoe});var jWe=D((Csa,qWe)=>{"use strict";u();p();var qFt=(t,e,n)=>{let a={};for(let c=0;c=8&&(i-=8,f[o++]=255&s>>i)}if(i>=n||255&s<<8-i)throw new SyntaxError("Unexpected end of data");return f},jFt=(t,e,n)=>{let a=e[e.length-1]==="=",r=(1<n;)i-=n,f+=e[r&s>>i];if(i&&(f+=e[r&s<e=>({encode(n){return jFt(n,e,t)},decode(n){return qFt(n,e,t)}});qWe.exports={rfc4648:GFt}});var VWe=D((Ssa,QWe)=>{"use strict";u();p();var $S=UWe(),KFt=WWe(),{rfc4648:fo}=jWe(),{decodeText:QFt,encodeText:VFt}=FW(),YFt=()=>({encode:QFt,decode:VFt}),GWe=[["identity","\0",YFt,""],["base2","0",fo(1),"01"],["base8","7",fo(3),"01234567"],["base10","9",$S,"0123456789"],["base16","f",fo(4),"0123456789abcdef"],["base16upper","F",fo(4),"0123456789ABCDEF"],["base32hex","v",fo(5),"0123456789abcdefghijklmnopqrstuv"],["base32hexupper","V",fo(5),"0123456789ABCDEFGHIJKLMNOPQRSTUV"],["base32hexpad","t",fo(5),"0123456789abcdefghijklmnopqrstuv="],["base32hexpadupper","T",fo(5),"0123456789ABCDEFGHIJKLMNOPQRSTUV="],["base32","b",fo(5),"abcdefghijklmnopqrstuvwxyz234567"],["base32upper","B",fo(5),"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"],["base32pad","c",fo(5),"abcdefghijklmnopqrstuvwxyz234567="],["base32padupper","C",fo(5),"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567="],["base32z","h",fo(5),"ybndrfg8ejkmcpqxot1uwisza345h769"],["base36","k",$S,"0123456789abcdefghijklmnopqrstuvwxyz"],["base36upper","K",$S,"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"],["base58btc","z",$S,"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"],["base58flickr","Z",$S,"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"],["base64","m",fo(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"],["base64pad","M",fo(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],["base64url","u",fo(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"],["base64urlpad","U",fo(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="]],KWe=GWe.reduce((t,e)=>(t[e[0]]=new KFt(e[0],e[1],e[2],e[3]),t),{}),$Ft=GWe.reduce((t,e)=>(t[e[1]]=KWe[e[0]],t),{});QWe.exports={names:KWe,codes:$Ft}});var JS=D((H8,$We)=>{"use strict";u();p();var px=VWe(),{encodeText:JFt,decodeText:NW,concat:YWe}=FW();function XFt(t,e){if(!e)throw new Error("requires an encoded Uint8Array");let{name:n,codeBuf:a}=W7(t);return nNt(n,e),YWe([a,e],a.length+e.length)}function ZFt(t,e){let n=W7(t),a=JFt(n.encode(e));return YWe([n.codeBuf,a],n.codeBuf.length+a.length)}function eNt(t){t instanceof Uint8Array&&(t=NW(t));let e=t[0];return["f","F","v","V","t","T","b","B","c","C","h","k","K"].includes(e)&&(t=t.toLowerCase()),W7(t[0]).decode(t.substring(1))}function tNt(t){if(t instanceof Uint8Array&&(t=NW(t)),Object.prototype.toString.call(t)!=="[object String]")return!1;try{return W7(t[0]).name}catch{return!1}}function nNt(t,e){W7(t).decode(NW(e))}function W7(t){if(Object.prototype.hasOwnProperty.call(px.names,t))return px.names[t];if(Object.prototype.hasOwnProperty.call(px.codes,t))return px.codes[t];throw new Error(`Unsupported encoding: ${t}`)}function aNt(t){return t instanceof Uint8Array&&(t=NW(t)),W7(t[0])}H8=$We.exports=XFt;H8.encode=ZFt;H8.decode=eNt;H8.isEncoded=tNt;H8.encoding=W7;H8.encodingFromData=aNt;var rNt=Object.freeze(px.names),fNt=Object.freeze(px.codes);H8.names=rNt;H8.codes=fNt});var eqe=D((Psa,ZWe)=>{u();p();ZWe.exports=XWe;var JWe=128,iNt=127,sNt=~iNt,oNt=Math.pow(2,31);function XWe(t,e,n){e=e||[],n=n||0;for(var a=n;t>=oNt;)e[n++]=t&255|JWe,t/=128;for(;t&sNt;)e[n++]=t&255|JWe,t>>>=7;return e[n]=t|0,XWe.bytes=n-a+1,e}});var aqe=D((Nsa,nqe)=>{u();p();nqe.exports=goe;var cNt=128,tqe=127;function goe(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s)throw goe.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&tqe)<=cNt);return goe.bytes=f-a,n}});var fqe=D((Hsa,rqe)=>{u();p();var dNt=Math.pow(2,7),lNt=Math.pow(2,14),uNt=Math.pow(2,21),pNt=Math.pow(2,28),hNt=Math.pow(2,35),bNt=Math.pow(2,42),mNt=Math.pow(2,49),yNt=Math.pow(2,56),gNt=Math.pow(2,63);rqe.exports=function(t){return t{u();p();iqe.exports={encode:eqe(),decode:aqe(),encodingLength:fqe()}});var cqe=D((Ksa,oqe)=>{"use strict";u();p();var vNt=Object.freeze({identity:0,sha1:17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,blake3:30,"murmur3-128":34,"murmur3-32":35,"dbl-sha2-256":86,md4:212,md5:213,bmt:214,"sha2-256-trunc254-padded":4114,"ripemd-128":4178,"ripemd-160":4179,"ripemd-256":4180,"ripemd-320":4181,x11:4352,kangarootwelve:7425,"sm3-256":21325,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46e3,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"poseidon-bls12_381-a2-fc1":46081,"poseidon-bls12_381-a2-fc1-sc":46082});oqe.exports={names:vNt}});var ZS=D((Ysa,bqe)=>{"use strict";u();p();var dqe=JS(),hx=sqe(),{names:XS}=cqe(),{toString:OW}=(rx(),vn(Nz)),{fromString:wNt}=(kS(),vn(rse)),{concat:TNt}=(ZT(),vn(Iz)),bx={};for(let t in XS){let e=t;bx[XS[e]]=e}Object.freeze(bx);function xNt(t){if(!(t instanceof Uint8Array))throw new Error("must be passed a Uint8Array");return OW(t,"base16")}function ENt(t){return wNt(t,"base16")}function _Nt(t){if(!(t instanceof Uint8Array))throw new Error("must be passed a Uint8Array");return OW(dqe.encode("base58btc",t)).slice(1)}function ANt(t){let e=t instanceof Uint8Array?OW(t):t;return dqe.decode("z"+e)}function lqe(t){if(!(t instanceof Uint8Array))throw new Error("multihash must be a Uint8Array");if(t.length<2)throw new Error("multihash too short. must be > 2 bytes.");let e=hx.decode(t);if(!pqe(e))throw new Error(`multihash unknown function code: 0x${e.toString(16)}`);t=t.slice(hx.decode.bytes);let n=hx.decode(t);if(n<0)throw new Error(`multihash invalid length: ${n}`);if(t=t.slice(hx.decode.bytes),t.length!==n)throw new Error(`multihash length inconsistent: 0x${OW(t,"base16")}`);return{code:e,name:bx[e],length:n,digest:t}}function CNt(t,e,n){if(!t||e===void 0)throw new Error("multihash encode requires at least two args: digest, code");let a=uqe(e);if(!(t instanceof Uint8Array))throw new Error("digest should be a Uint8Array");if(n==null&&(n=t.length),n&&t.length!==n)throw new Error("digest length should be equal to specified length.");let r=hx.encode(a),f=hx.encode(n);return TNt([r,f,t],r.length+f.length+t.length)}function uqe(t){let e=t;if(typeof t=="string"){if(XS[t]===void 0)throw new Error(`Unrecognized hash function named: ${t}`);e=XS[t]}if(typeof e!="number")throw new Error(`Hash function code should be a number. Got: ${e}`);if(bx[e]===void 0&&!voe(e))throw new Error(`Unrecognized function code: ${e}`);return e}function voe(t){return t>0&&t<16}function pqe(t){return!!(voe(t)||bx[t])}function hqe(t){lqe(t)}function INt(t){return hqe(t),t.subarray(0,2)}bqe.exports={names:XS,codes:bx,toHexString:xNt,fromHexString:ENt,toB58String:_Nt,fromB58String:ANt,decode:lqe,encode:CNt,coerceCode:uqe,isAppCode:voe,validate:hqe,prefix:INt,isValidCode:pqe}});var gqe=D((Xsa,yqe)=>{u();p();yqe.exports=woe;var mqe=128,kNt=127,SNt=~kNt,RNt=Math.pow(2,31);function woe(t,e,n){if(Number.MAX_SAFE_INTEGER&&t>Number.MAX_SAFE_INTEGER)throw woe.bytes=0,new RangeError("Could not encode varint");e=e||[],n=n||0;for(var a=n;t>=RNt;)e[n++]=t&255|mqe,t/=128;for(;t&SNt;)e[n++]=t&255|mqe,t>>>=7;return e[n]=t|0,woe.bytes=n-a+1,e}});var Tqe=D((toa,wqe)=>{u();p();wqe.exports=Toe;var MNt=128,vqe=127;function Toe(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s||r>49)throw Toe.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&vqe)<=MNt);return Toe.bytes=f-a,n}});var Eqe=D((roa,xqe)=>{u();p();var BNt=Math.pow(2,7),DNt=Math.pow(2,14),PNt=Math.pow(2,21),LNt=Math.pow(2,28),FNt=Math.pow(2,35),NNt=Math.pow(2,42),ONt=Math.pow(2,49),UNt=Math.pow(2,56),HNt=Math.pow(2,63);xqe.exports=function(t){return t{u();p();_qe.exports={encode:gqe(),decode:Tqe(),encodingLength:Eqe()}});var Eoe=D((doa,Iqe)=>{"use strict";u();p();var Aqe=xoe(),{toString:zNt}=(rx(),vn(Nz)),{fromString:WNt}=(kS(),vn(rse));Iqe.exports={numberToUint8Array:qNt,uint8ArrayToNumber:Cqe,varintUint8ArrayEncode:jNt,varintEncode:GNt};function Cqe(t){return parseInt(zNt(t,"base16"),16)}function qNt(t){let e=t.toString(16);return e.length%2===1&&(e="0"+e),WNt(e,"base16")}function jNt(t){return Uint8Array.from(Aqe.encode(Cqe(t)))}function GNt(t){return Uint8Array.from(Aqe.encode(t))}});var Sqe=D((poa,kqe)=>{"use strict";u();p();var KNt=Object.freeze({identity:0,cidv1:1,cidv2:2,cidv3:3,ip4:4,tcp:6,sha1:17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,blake3:30,dccp:33,"murmur3-128":34,"murmur3-32":35,ip6:41,ip6zone:42,path:47,multicodec:48,multihash:49,multiaddr:50,multibase:51,dns:53,dns4:54,dns6:55,dnsaddr:56,protobuf:80,cbor:81,raw:85,"dbl-sha2-256":86,rlp:96,bencode:99,"dag-pb":112,"dag-cbor":113,"libp2p-key":114,"git-raw":120,"torrent-info":123,"torrent-file":124,"leofcoin-block":129,"leofcoin-tx":130,"leofcoin-pr":131,sctp:132,"dag-jose":133,"dag-cose":134,"eth-block":144,"eth-block-list":145,"eth-tx-trie":146,"eth-tx":147,"eth-tx-receipt-trie":148,"eth-tx-receipt":149,"eth-state-trie":150,"eth-account-snapshot":151,"eth-storage-trie":152,"eth-receipt-log-trie":153,"eth-reciept-log":154,"bitcoin-block":176,"bitcoin-tx":177,"bitcoin-witness-commitment":178,"zcash-block":192,"zcash-tx":193,"caip-50":202,streamid:206,"stellar-block":208,"stellar-tx":209,md4:212,md5:213,bmt:214,"decred-block":224,"decred-tx":225,"ipld-ns":226,"ipfs-ns":227,"swarm-ns":228,"ipns-ns":229,zeronet:230,"secp256k1-pub":231,"bls12_381-g1-pub":234,"bls12_381-g2-pub":235,"x25519-pub":236,"ed25519-pub":237,"bls12_381-g1g2-pub":238,"dash-block":240,"dash-tx":241,"swarm-manifest":250,"swarm-feed":251,udp:273,"p2p-webrtc-star":275,"p2p-webrtc-direct":276,"p2p-stardust":277,"p2p-circuit":290,"dag-json":297,udt:301,utp:302,unix:400,thread:406,p2p:421,ipfs:421,https:443,onion:444,onion3:445,garlic64:446,garlic32:447,tls:448,noise:454,quic:460,ws:477,wss:478,"p2p-websocket-star":479,http:480,"swhid-1-snp":496,json:512,messagepack:513,"libp2p-peer-record":769,"libp2p-relay-rsvp":770,"car-index-sorted":1024,"sha2-256-trunc254-padded":4114,"ripemd-128":4178,"ripemd-160":4179,"ripemd-256":4180,"ripemd-320":4181,x11:4352,"p256-pub":4608,"p384-pub":4609,"p521-pub":4610,"ed448-pub":4611,"x448-pub":4612,"ed25519-priv":4864,"secp256k1-priv":4865,"x25519-priv":4866,kangarootwelve:7425,"sm3-256":21325,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46e3,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"poseidon-bls12_381-a2-fc1":46081,"poseidon-bls12_381-a2-fc1-sc":46082,"zeroxcert-imprint-256":52753,"fil-commitment-unsealed":61697,"fil-commitment-sealed":61698,"holochain-adr-v0":8417572,"holochain-adr-v1":8483108,"holochain-key-v0":9728292,"holochain-key-v1":9793828,"holochain-sig-v0":10645796,"holochain-sig-v1":10711332,"skynet-ns":11639056,"arweave-ns":11704592});kqe.exports={baseTable:KNt}});var Mqe=D((moa,Rqe)=>{"use strict";u();p();var{baseTable:_oe}=Sqe(),QNt=Eoe().varintEncode,Aoe={},Coe={},UW={};for(let t in _oe){let e=t,n=_oe[e];Aoe[e]=QNt(n);let a=e.toUpperCase().replace(/-/g,"_");Coe[a]=n,UW[n]||(UW[n]=e)}Object.freeze(Aoe);Object.freeze(Coe);Object.freeze(UW);var VNt=Object.freeze(_oe);Rqe.exports={nameToVarint:Aoe,constantToCode:Coe,nameToCode:VNt,codeToName:UW}});var zqe=D((voa,Hqe)=>{"use strict";u();p();var HW=xoe(),{concat:YNt}=(ZT(),vn(Iz)),Bqe=Eoe(),{nameToVarint:zW,constantToCode:$Nt,nameToCode:Dqe,codeToName:Ioe}=Mqe();function JNt(t,e){let n;if(t instanceof Uint8Array)n=Bqe.varintUint8ArrayEncode(t);else if(zW[t])n=zW[t];else throw new Error("multicodec not recognized");return YNt([n,e],n.length+e.length)}function XNt(t){return HW.decode(t),t.slice(HW.decode.bytes)}function Pqe(t){let e=HW.decode(t),n=Ioe[e];if(n===void 0)throw new Error(`Code "${e}" not found`);return n}function Lqe(t){return Ioe[t]}function Fqe(t){let e=Dqe[t];if(e===void 0)throw new Error(`Codec "${t}" not found`);return e}function Nqe(t){return HW.decode(t)}function Oqe(t){let e=zW[t];if(e===void 0)throw new Error(`Codec "${t}" not found`);return e}function Uqe(t){return Bqe.varintEncode(t)}function ZNt(t){return Pqe(t)}function eOt(t){return Lqe(t)}function tOt(t){return Fqe(t)}function nOt(t){return Nqe(t)}function aOt(t){return Oqe(t)}function rOt(t){return Array.from(Uqe(t))}Hqe.exports={addPrefix:JNt,rmPrefix:XNt,getNameFromData:Pqe,getNameFromCode:Lqe,getCodeFromName:Fqe,getCodeFromData:Nqe,getVarintFromName:Oqe,getVarintFromCode:Uqe,getCodec:ZNt,getName:eOt,getNumber:tOt,getCode:nOt,getCodeVarint:aOt,getVarint:rOt,...$Nt,nameToVarint:zW,nameToCode:Dqe,codeToName:Ioe}});var qqe=D((xoa,Wqe)=>{"use strict";u();p();var fOt=ZS(),iOt={checkCIDComponents:function(t){if(t==null)return"null values are not valid CIDs";if(!(t.version===0||t.version===1))return"Invalid version, must be a number equal to 1 or 0";if(typeof t.codec!="string")return"codec must be string";if(t.version===0){if(t.codec!=="dag-pb")return"codec must be 'dag-pb' for CIDv0";if(t.multibaseName!=="base58btc")return"multibaseName must be 'base58btc' for CIDv0"}if(!(t.multihash instanceof Uint8Array))return"multihash must be a Uint8Array";try{fOt.validate(t.multihash)}catch(e){let n=e.message;return n||(n="Multihash validation failed"),n}}};Wqe.exports=iOt});var Gqe={};V0(Gqe,{equals:()=>jqe});function jqe(t,e){if(t===e)return!0;if(t.byteLength!==e.byteLength)return!1;for(let n=0;n{u();p()});var GW=D((Ioa,Vqe)=>{"use strict";u();p();var WW=ZS(),Soe=JS(),q7=zqe(),sOt=qqe(),{concat:Kqe}=(ZT(),vn(Iz)),{toString:oOt}=(rx(),vn(Nz)),{equals:cOt}=(koe(),vn(Gqe)),qW=q7.nameToCode,dOt=Object.keys(qW).reduce((t,e)=>(t[qW[e]]=e,t),{}),Qqe=Symbol.for("@ipld/js-cid/CID"),jW=class t{constructor(e,n,a,r){if(this.version,this.codec,this.multihash,Object.defineProperty(this,Qqe,{value:!0}),t.isCID(e)){let f=e;this.version=f.version,this.codec=f.codec,this.multihash=f.multihash,this.multibaseName=f.multibaseName||(f.version===0?"base58btc":"base32");return}if(typeof e=="string"){let f=Soe.isEncoded(e);if(f){let i=Soe.decode(e);this.version=parseInt(i[0].toString(),16),this.codec=q7.getCodec(i.slice(1)),this.multihash=q7.rmPrefix(i.slice(1)),this.multibaseName=f}else this.version=0,this.codec="dag-pb",this.multihash=WW.fromB58String(e),this.multibaseName="base58btc";t.validateCID(this),Object.defineProperty(this,"string",{value:e});return}if(e instanceof Uint8Array){let f=parseInt(e[0].toString(),16);if(f===1){let i=e;this.version=f,this.codec=q7.getCodec(i.slice(1)),this.multihash=q7.rmPrefix(i.slice(1)),this.multibaseName="base32"}else this.version=0,this.codec="dag-pb",this.multihash=e,this.multibaseName="base58btc";t.validateCID(this);return}this.version=e,typeof n=="number"&&(n=dOt[n]),this.codec=n,this.multihash=a,this.multibaseName=r||(e===0?"base58btc":"base32"),t.validateCID(this)}get bytes(){let e=this._bytes;if(!e){if(this.version===0)e=this.multihash;else if(this.version===1){let n=q7.getCodeVarint(this.codec);e=Kqe([[1],n,this.multihash],1+n.byteLength+this.multihash.byteLength)}else throw new Error("unsupported version");Object.defineProperty(this,"_bytes",{value:e})}return e}get prefix(){let e=q7.getCodeVarint(this.codec),n=WW.prefix(this.multihash);return Kqe([[this.version],e,n],1+e.byteLength+n.byteLength)}get code(){return qW[this.codec]}toV0(){if(this.codec!=="dag-pb")throw new Error("Cannot convert a non dag-pb CID to CIDv0");let{name:e,length:n}=WW.decode(this.multihash);if(e!=="sha2-256")throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");if(n!==32)throw new Error("Cannot convert non 32 byte multihash CID to CIDv0");return new t(0,this.codec,this.multihash)}toV1(){return new t(1,this.codec,this.multihash,this.multibaseName)}toBaseEncodedString(e=this.multibaseName){if(this.string&&this.string.length!==0&&e===this.multibaseName)return this.string;let n;if(this.version===0){if(e!=="base58btc")throw new Error("not supported with CIDv0, to support different bases, please migrate the instance do CIDv1, you can do that through cid.toV1()");n=WW.toB58String(this.multihash)}else if(this.version===1)n=oOt(Soe.encode(e,this.bytes));else throw new Error("unsupported version");return e===this.multibaseName&&Object.defineProperty(this,"string",{value:n}),n}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}toString(e){return this.toBaseEncodedString(e)}toJSON(){return{codec:this.codec,version:this.version,hash:this.multihash}}equals(e){return this.codec===e.codec&&this.version===e.version&&cOt(this.multihash,e.multihash)}static validateCID(e){let n=sOt.checkCIDComponents(e);if(n)throw new Error(n)}static isCID(e){return e instanceof t||!!(e&&e[Qqe])}};jW.codecs=qW;Vqe.exports=jW});var Roe=D((Moa,$qe)=>{u();p();function Yqe(t){if(t.stack&&t.name&&t.message)return t.stack.substring(t.name.length+3+t.message.length).split(` `);if(t.stack)return t.stack.split(` `)}function lOt(t,e){return t.filter(function(n){return!~e.indexOf(n)})}var Roa=$qe.exports=function(t,e){if(!(t.stack&&t.name&&t.message))return console.error(new Error("stackless error")),t;var n=new Error(e),a=lOt(Yqe(n).slice(1),Yqe(t)).join(` `);return n.__proto__=t,n.stack=n.name+": "+n.message+` `+a+` - `+t.stack,n}});var Xqe=D((Poa,Jqe)=>{"use strict";u();p();var uOt=GW(),pOt=Roe();Jqe.exports=function(e){try{e=new uOt(e)}catch(n){throw pOt(n,`invalid cid: ${e}`)}return e.version!==1&&(e=e.toV1()),e.toBaseEncodedString("base32")}});var Moe=D((Noa,Zqe)=>{"use strict";u();p();var hOt=JS();Zqe.exports=function(){let e=[];for(let n of Object.values(hOt.names))e.push({name:n.name,code:n.code});return e}});var Boe=D((Hoa,eje)=>{"use strict";u();p();var bOt=GW();eje.exports=function(){let e=[];for(let[n,a]of Object.entries(bOt.codecs))e.push({name:n,code:a});return e}});var fje=D((qoa,rje)=>{"use strict";u();p();var{bases:tje}=(tse(),vn(tOe));function aje(t,e,n,a){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:a}}}var nje=aje("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),Doe=aje("ascii","a",t=>{let e="a";for(let n=0;n{t=t.substring(1);let e=new Uint8Array(t.length);for(let n=0;n{"use strict";u();p();var yOt=fje();function gOt(t,e="utf8"){let n=yOt[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return n.encoder.encode(t).substring(1)}ije.exports=gOt});var lje=D((Yoa,dje)=>{"use strict";u();p();var vOt=GW(),wOt=Moe(),TOt=Boe(),xOt=Roe(),Poe=JS(),mx=ZS(),eR=sje();dje.exports=function(e,n){n=n||{};let a=n.format||"%s";if(a==="prefix"&&(a="%P"),!oje(a)||a.indexOf("%")===-1)throw new Error(`invalid format string: ${a}`);let r=e;try{e=new vOt(e)}catch(i){throw xOt(i,`invalid cid: ${e}`)}if(n.cidVersion!=null&&e.version!==n.cidVersion)if(n.cidVersion===0)e=e.toV0();else if(n.cidVersion===1)e=e.toV1();else throw new Error(`invalid cid version: ${n.cidVersion}`);let f="base58btc";return n.base?f=cje(n.base).name:oje(r)&&(f=Poe.isEncoded(r)||f),a.replace(/%([a-zA-Z%])/g,EOt(e,f))};function oje(t){return Object.prototype.toString.call(t)==="[object String]"}function EOt(t,e){return(a,r)=>{switch(r){case"%":return"%";case"b":return e;case"B":return cje(e).code;case"v":return`cidv${t.version}`;case"V":return t.version.toString();case"c":return t.codec;case"C":return _Ot(t).toString();case"h":return mx.decode(t.multihash).name;case"H":return mx.decode(t.multihash).code.toString();case"L":return mx.decode(t.multihash).length.toString();case"m":return eR(Poe.encode(e,t.multihash));case"M":return eR(t.multihash,e);case"d":return eR(Poe.encode(e,mx.decode(t.multihash).digest));case"D":return eR(mx.decode(t.multihash).digest,e);case"s":return t.toString(e);case"S":return t.version===1?t.toString(e).slice(1):eR(t.bytes,e);case"P":return AOt(t);default:throw new Error(`unrecognized specifier in format string: ${r}`)}}}function cje(t){let e=wOt().find(n=>n.code===t||n.name===t);if(!e)throw new Error(`invalid multibase: ${t}`);return e}function _Ot(t){let e=TOt().find(n=>n.name===t.codec);if(!e)throw new Error(`invalid codec: ${t.codec}`);return e.code}function AOt(t){let{name:e,length:n}=mx.decode(t.multihash);return`cidv${t.version}-${t.codec}-${e}-${n}`}});var pje=D((Xoa,uje)=>{"use strict";u();p();var COt=ZS();uje.exports=function(){let e=[];for(let[n,a]of Object.entries(COt.names))e.push({name:n,code:a});return e}});var hje=D(yx=>{"use strict";u();p();yx.base32=Xqe();yx.bases=Moe();yx.codecs=Boe();yx.format=lje();yx.hashes=pje()});var mje=D((r1a,bje)=>{"use strict";u();p();bje.exports=hje()});var gje=D((s1a,yje)=>{u();p();yje.exports=typeof self=="object"?self.FormData:window.FormData});function IOt(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof E<"u"&&E.env[t]?E.env[t]:e}function Loe(t){let e=new URL(t).hostname;return e.endsWith(_je)?!0:e.endsWith(kOt)}function DOt(t){return Array.isArray(t)?{"ipfs://":t}:t||{}}function POt(t,e,n){let a=e.split("/"),r=FOt(a[0]),f=a.slice(1).join("/"),i=t;if(t.includes("{cid}")&&t.includes("{path}")?i=i.replace("{cid}",r).replace("{path}",f):t.includes("{cid}")?i=i.replace("{cid}",r):i+=`${r}/${f}`,t.includes("{clientId}")){if(!n)throw new Error("Cannot use {clientId} in gateway URL without providing a client ID");i=i.replace("{clientId}",n)}return i}function LOt(t,e,n){let a={...MOt,...t};for(let r of Object.keys(a)){let f=a[r].map(i=>{if(e&&i.includes("{clientId}"))return i.replace("{clientId}",e);if(n&&i.includes("{clientId}")){if(typeof window<"u")throw new Error("Cannot use secretKey in browser context");let o=MW(n).slice(0,32);return i.replace("{clientId}",o)}else return i.includes("{clientId}")?void 0:i}).filter(i=>i!==void 0);a[r]=f}return a}function FOt(t){let e="";try{let n=t.split("/")[0];e=xje.default.base32(n)}catch{throw new Error(`The CID ${t} is not valid.`)}return e}function q7(){return typeof window<"u"}function QW(t){return global.File&&t instanceof File}function gx(t){return global.Buffer&&t instanceof _.Buffer}function VW(t){return!!(t&&t.name&&t.data&&typeof t.name=="string"&&(typeof t.data=="string"||gx(t.data)))}function Ab(t){return QW(t)||gx(t)||VW(t)}function NOt(t,e){if(QW(t)&&QW(e)){if(t.name===e.name&&t.lastModified===e.lastModified&&t.size===e.size)return!0}else{if(gx(t)&&gx(e))return t.equals(e);if(VW(t)&&VW(e)&&t.name===e.name){if(typeof t.data=="string"&&typeof e.data=="string")return t.data===e.data;if(gx(t.data)&&gx(e.data))return t.data.equals(e.data)}}return!1}function OOt(t,e){let n=t.replace("{cid}","(?[^/]+)").replace("{path}","(?[^?#]+)"),a=new RegExp(n),r=e.match(a);if(r){let f=r.groups?.hash,i=r.groups?.path,s=e.includes("?")?e.substring(e.indexOf("?")+1):"";return{hash:f,path:i,query:s}}}function qoe(t,e){for(let n of Object.keys(e))for(let a of e[n])if(a.includes("{cid}")){let r=OOt(a,t);if(r?.hash&&r?.path){let f=r?.query?`?${r?.query}`:"";return`${n}${r?.hash}/${r?.path}${f}`}else return t}else if(t.startsWith(a))return t.replace(a,n);return t}function joe(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3?arguments[3]:void 0,r=Object.keys(e).find(s=>t.startsWith(s)),f=r?e[r]:[];if(!r&&n>0||r&&n>=f.length)return;if(!r)return t;let i=t.replace(r,"");try{return POt(f[n],i,a)}catch{console.warn(`The IPFS uri: ${i} is not valid.`);return}}function Noe(t,e){return typeof t=="string"?qoe(t,e):typeof t=="object"?!t||Ab(t)?t:Array.isArray(t)?t.map(n=>Noe(n,e)):Object.fromEntries(Object.entries(t).map(n=>{let[a,r]=n;return[a,Noe(r,e)]})):t}function YW(t,e,n){return typeof t=="string"?joe(t,e,0,n):typeof t=="object"?!t||Ab(t)?t:Array.isArray(t)?t.map(a=>YW(a,e,n)):Object.fromEntries(Object.entries(t).map(a=>{let[r,f]=a;return[r,YW(f,e,n)]})):t}function Ooe(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(Ab(t))return e.push(t),e;if(typeof t=="object"){if(!t)return e;Array.isArray(t)?t.forEach(n=>Ooe(n,e)):Object.keys(t).map(n=>Ooe(t[n],e))}return e}function Uoe(t,e){if(Ab(t)){if(e.length)return t=e.shift(),t;console.warn("Not enough URIs to replace all files in object.")}return typeof t=="object"?t&&(Array.isArray(t)?t.map(n=>Uoe(n,e)):Object.fromEntries(Object.entries(t).map(n=>{let[a,r]=n;return[a,Uoe(r,e)]}))):t}function UOt(t){for(let e=0,n=vje.length;e"u"?{x_sdk_name:KW.name,x_sdk_platform:Tje(),x_sdk_version:KW.version,x_sdk_os:wje(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=KW.name,globalThis.X_SDK_PLATFORM=Tje(),globalThis.X_SDK_VERSION=KW.version,globalThis.X_SDK_OS=wje(),globalThis.APP_BUNDLE_ID=void 0),{x_sdk_name:globalThis.X_SDK_NAME,x_sdk_platform:globalThis.X_SDK_PLATFORM,x_sdk_version:globalThis.X_SDK_VERSION,x_sdk_os:globalThis.X_SDK_OS,app_bundle_id:globalThis.APP_BUNDLE_ID||""})}function Tje(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":typeof window<"u"?"browser":"node"}function zOt(t){return zoe.has(t)}function WOt(t,e){Foe.has(t)&&clearTimeout(Foe.get(t));let n=e.headers.get("Retry-After"),a=5e3;if(n){let r=parseInt(n);isNaN(r)||(a=r*1e3)}zoe.set(t,!0),Foe.set(t,setTimeout(()=>zoe.delete(t),a))}var xje,Eje,_je,kOt,SOt,ROt,MOt,BOt,KW,vje,Hoe,zoe,Foe,Woe,_b,vx=ce(()=>{"use strict";u();p();xje=Ee(mje());BW();Eje=Ee(gje());_je=".ipfscdn.io",kOt=".thirdwebstorage-staging.com",SOt=[`https://{clientId}${_je}/ipfs/{cid}/{path}`];ROt=["https://{cid}.ipfs.cf-ipfs.com/{path}","https://{cid}.ipfs.dweb.link/{path}","https://ipfs.io/ipfs/{cid}/{path}","https://cloudflare-ipfs.com/ipfs/{cid}/{path}","https://{cid}.ipfs.w3s.link/{path}","https://w3s.link/ipfs/{cid}/{path}","https://nftstorage.link/ipfs/{cid}/{path}","https://gateway.pinata.cloud/ipfs/{cid}/{path}"],MOt={"ipfs://":[...SOt,...ROt]},BOt=IOt("CUSTOM_UPLOAD_SERVER_URL","https://storage.thirdweb.com");KW={name:"@thirdweb-dev/storage",version:"2.0.15",main:"dist/thirdweb-dev-storage.cjs.js",module:"dist/thirdweb-dev-storage.esm.js",exports:{".":{module:"./dist/thirdweb-dev-storage.esm.js",default:"./dist/thirdweb-dev-storage.cjs.js"},"./package.json":"./package.json"},repository:"https://github.com/thirdweb-dev/js/tree/main/legacy_packages/storage",author:"thirdweb eng ",license:"Apache-2.0",sideEffects:!1,scripts:{format:"prettier --write 'src/**/*'",lint:"eslint src/",fix:"eslint src/ --fix",clean:"rm -rf dist/",build:"tsc && preconstruct build",test:"vitest run",push:"yalc push",typedoc:"node scripts/typedoc.mjs"},files:["dist/"],preconstruct:{exports:!0},devDependencies:{"@microsoft/api-documenter":"^7.24.5","@microsoft/api-extractor":"^7.43.0","@microsoft/tsdoc":"^0.14.2","@preconstruct/cli":"2.7.0","@swc-node/register":"^1.9.0","@thirdweb-dev/tsconfig":"workspace:*","@types/uuid":"^9.0.8",eslint:"8.57.0","eslint-config-thirdweb":"workspace:*","eslint-plugin-tsdoc":"^0.2.17",esm:"^3.2.25",rimraf:"5.0.5","typedoc-gen":"workspace:*",typescript:"5.4.4"},dependencies:{"@thirdweb-dev/crypto":"workspace:*","cid-tool":"^3.0.0","form-data":"^4.0.0",uuid:"^9.0.1"},engines:{node:">=18"}},vje=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];Hoe=class{constructor(e){ae(this,"DEFAULT_TIMEOUT_IN_SECONDS",60);ae(this,"DEFAULT_MAX_RETRIES",3);this.secretKey=e.secretKey,this.clientId=e.clientId,this.defaultTimeout=e.timeoutInSeconds||this.DEFAULT_TIMEOUT_IN_SECONDS}async download(e,n,a){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,f=a?.maxRetries||this.DEFAULT_MAX_RETRIES;if(r>f)return console.error("[FAILED_TO_DOWNLOAD_ERROR] Failed to download from URI - too many attempts failed."),new Response(JSON.stringify({error:"Not Found"}),{status:404,headers:{"Content-Type":"application/json"}});let i=joe(e,n,r,this.clientId);if(i)r>0&&console.warn(`Retrying download with backup gateway URL: ${i}`);else return console.error("[FAILED_TO_DOWNLOAD_ERROR] Unable to download from URI - all gateway URLs failed to respond."),new Response(JSON.stringify({error:"Not Found"}),{status:404,headers:{"Content-Type":"application/json"}});let s={};if(Loe(i)){let h=Goe().app_bundle_id;this.secretKey?s={"x-secret-key":this.secretKey}:this.clientId&&(!i.includes("bundleId")&&h&&(i=i+(h?`?bundleId=${h}`:"")),s["x-client-Id"]=this.clientId),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(s={...s,authorization:`Bearer ${globalThis.TW_AUTH_TOKEN}`}),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(s={...s,authorization:`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`},s["x-authorize-wallet"]="true"),Aje(s)}if(zOt(i))return this.download(e,n,a,r+1);let o=new AbortController,c=a?.timeoutInSeconds||this.defaultTimeout,d=setTimeout(()=>o.abort(),c*1e3),l=await fetch(i,{headers:s,signal:o.signal}).catch(h=>h);if(d&&clearTimeout(d),!("status"in l))throw new Error(`Request timed out after ${c} seconds. ${Loe(i)?"You can update the timeoutInSeconds option to increase the timeout.":"You're using a public IPFS gateway, pass in a clientId or secretKey for a reliable IPFS gateway."}`);return l.ok?l:l.status===429?(WOt(i,l),this.download(e,n,a,r+1)):l.status===410?(console.error(`Request to ${i} failed because this content seems to be blocklisted. Search VirusTotal for this URL to confirm: ${i} `),l):(console.warn(`Request to ${i} failed with status ${l.status} - ${l.statusText}`),l.status===404&&Loe(i)||l.status!==408&&l.status!==429&&l.status<500?l:this.download(e,n,a,r+1))}},zoe=new Map;Foe=new Map;Woe=class{constructor(e){this.uploadWithGatewayUrl=e?.uploadWithGatewayUrl||!1,this.uploadServerUrl=e?.uploadServerUrl||BOt,this.clientId=e?.clientId,this.secretKey=e?.secretKey}async uploadBatch(e,n){if(n?.uploadWithoutDirectory&&e.length>1)throw new Error("[UPLOAD_WITHOUT_DIRECTORY_ERROR] Cannot upload more than one file or object without directory!");let a=new Eje.default,{form:r,fileNames:f}=this.buildFormData(a,e,n);return q7()?this.uploadBatchBrowser(r,f,n):this.uploadBatchNode(r,f,n)}buildFormData(e,n,a){let r=new Map,f=[];for(let s=0;s-1&&(h=o.name.substring(y))}c=`${s+a.rewriteFileNames.fileStartNumber}${h}`}else c=`${o.name}`;else VW(o)?(d=o.data,a?.rewriteFileNames?c=`${s+a.rewriteFileNames.fileStartNumber}`:c=`${o.name}`):a?.rewriteFileNames?c=`${s+a.rewriteFileNames.fileStartNumber}`:c=`${s}`;let l=a?.uploadWithoutDirectory?"files":`files/${c}`;if(r.has(c)){if(NOt(r.get(c),o)){f.push(c);continue}throw new Error(`[DUPLICATE_FILE_NAME_ERROR] File name ${c} was passed for more than one different file.`)}r.set(c,o),f.push(c),q7()?e.append("file",new Blob([d]),l):e.append("file",d,{filepath:l})}let i={name:"Storage SDK",keyvalues:{...a?.metadata}};return e.append("pinataMetadata",JSON.stringify(i)),a?.uploadWithoutDirectory&&e.append("pinataOptions",JSON.stringify({wrapWithDirectory:!1})),{form:e,fileNames:f.map(s=>encodeURIComponent(s))}}async uploadBatchBrowser(e,n,a){return new Promise((r,f)=>{let i=new XMLHttpRequest,s=setTimeout(()=>{i.abort(),f(new Error("Request to upload timed out! No upload progress received in 30s"))},3e4);i.upload.addEventListener("loadstart",()=>{console.log(`[${Date.now()}] [IPFS] Started`)}),i.upload.addEventListener("progress",o=>{console.log(`[IPFS] Progress Event ${o.loaded}/${o.total}`),clearTimeout(s),o.loaded{i.abort(),f(new Error("Request to upload timed out! No upload progress received in 30s"))},3e4):console.log(`[${Date.now()}] [IPFS] Uploaded files. Waiting for response.`),o.lengthComputable&&a?.onProgress&&a?.onProgress({progress:o.loaded,total:o.total})}),i.addEventListener("load",()=>{if(console.log(`[${Date.now()}] [IPFS] Load`),clearTimeout(s),i.status>=200&&i.status<300){let o;try{o=JSON.parse(i.responseText)}catch{return f(new Error("Failed to parse JSON from upload response"))}let c=o.IpfsHash;if(!c)throw new Error("Failed to get IPFS hash from upload response");return a?.uploadWithoutDirectory?r([`ipfs://${c}`]):r(n.map(d=>`ipfs://${c}/${d}`))}return f(new Error(`Upload failed with status ${i.status} - ${i.responseText}`))}),i.addEventListener("error",()=>(console.log("[IPFS] Load"),clearTimeout(s),i.readyState!==0&&i.readyState!==4||i.status===0?f(new Error("Upload failed due to a network error.")):f(new Error("Unknown upload error occured")))),i.open("POST",`${this.uploadServerUrl}/ipfs/upload`),this.secretKey?i.setRequestHeader("x-secret-key",this.secretKey):this.clientId&&i.setRequestHeader("x-client-id",this.clientId),HOt(i),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&i.setRequestHeader("authorization",`Bearer ${globalThis.TW_AUTH_TOKEN}`),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(i.setRequestHeader("authorization",`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`),i.setRequestHeader("x-authorize-wallet","true")),i.send(e)})}async uploadBatchNode(e,n,a){a?.onProgress&&console.warn("The onProgress option is only supported in the browser");let r={};this.secretKey?r["x-secret-key"]=this.secretKey:this.clientId&&(r["x-client-id"]=this.clientId),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(r.authorization=`Bearer ${globalThis.TW_AUTH_TOKEN}`),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(r.authorization=`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`,r["x-authorize-wallet"]="true"),Aje(r);let f=await fetch(`${this.uploadServerUrl}/ipfs/upload`,{method:"POST",headers:{...r,...e.getHeaders()},body:e.getBuffer()});if(!f.ok)throw f.status===401?new Error("Unauthorized - You don't have permission to use this service."):new Error(`Failed to upload files to IPFS - ${f.status} - ${f.statusText} - ${await f.text()}`);let s=(await f.json()).IpfsHash;if(!s)throw new Error("Failed to upload files to IPFS - Bad CID");return a?.uploadWithoutDirectory?[`ipfs://${s}`]:n.map(o=>`ipfs://${s}/${o}`)}},_b=class{constructor(e){this.uploader=e?.uploader||new Woe({clientId:e?.clientId,secretKey:e?.secretKey,uploadServerUrl:e?.uploadServerUrl}),this.downloader=e?.downloader||new Hoe({secretKey:e?.secretKey,clientId:e?.clientId}),this.gatewayUrls=LOt(DOt(e?.gatewayUrls),e?.clientId,e?.secretKey),this.clientId=e?.clientId}resolveScheme(e){return joe(e,this.gatewayUrls,0,this.clientId)}async download(e,n){return this.downloader.download(e,this.gatewayUrls,n)}async downloadJSON(e,n){let r=await(await this.download(e,n)).json();return YW(r,this.gatewayUrls,this.clientId)}async upload(e,n){let[a]=await this.uploadBatch([e],n);return a}async uploadBatch(e,n){if(e=e.filter(f=>f!==void 0),!e.length)return[];let a=e.map(f=>Ab(f)||typeof f=="string").every(f=>!!f),r=[];if(a)r=await this.uploader.uploadBatch(e,n);else{let f=(await this.uploadAndReplaceFilesWithHashes(e,n)).map(i=>typeof i=="string"?i:JSON.stringify(i));r=await this.uploader.uploadBatch(f,n)}return n?.uploadWithGatewayUrl||this.uploader.uploadWithGatewayUrl?r.map(f=>this.resolveScheme(f)):r}getGatewayUrls(){return this.gatewayUrls}async uploadAndReplaceFilesWithHashes(e,n){let a=e;a=Noe(a,this.gatewayUrls);let r=Ooe(a);if(r.length){let f=await this.uploader.uploadBatch(r,n);a=Uoe(a,f)}return(n?.uploadWithGatewayUrl||this.uploader.uploadWithGatewayUrl)&&(a=YW(a,this.gatewayUrls,this.clientId)),a}}});var Ije=D(Cje=>{"use strict";u();p();Object.defineProperty(Cje,"__esModule",{value:!0})});var Sje=D(kje=>{"use strict";u();p();Object.defineProperty(kje,"__esModule",{value:!0})});var Lje=D(V5=>{"use strict";u();p();Object.defineProperty(V5,"__esModule",{value:!0});V5.MessageReceiptStatus=V5.MessageDirection=V5.MessageStatus=V5.L2ChainID=V5.L1ChainID=void 0;var Rje;(function(t){t[t.MAINNET=1]="MAINNET",t[t.GOERLI=5]="GOERLI",t[t.SEPOLIA=11155111]="SEPOLIA",t[t.HARDHAT_LOCAL=31337]="HARDHAT_LOCAL",t[t.BEDROCK_LOCAL_DEVNET=900]="BEDROCK_LOCAL_DEVNET"})(Rje||(V5.L1ChainID=Rje={}));var Mje;(function(t){t[t.OPTIMISM=10]="OPTIMISM",t[t.OPTIMISM_GOERLI=420]="OPTIMISM_GOERLI",t[t.OPTIMISM_SEPOLIA=11155420]="OPTIMISM_SEPOLIA",t[t.OPTIMISM_HARDHAT_LOCAL=31337]="OPTIMISM_HARDHAT_LOCAL",t[t.OPTIMISM_HARDHAT_DEVNET=17]="OPTIMISM_HARDHAT_DEVNET",t[t.OPTIMISM_BEDROCK_ALPHA_TESTNET=28528]="OPTIMISM_BEDROCK_ALPHA_TESTNET",t[t.BASE_GOERLI=84531]="BASE_GOERLI",t[t.BASE_SEPOLIA=84532]="BASE_SEPOLIA",t[t.BASE_MAINNET=8453]="BASE_MAINNET",t[t.ZORA_GOERLI=999]="ZORA_GOERLI",t[t.ZORA_MAINNET=7777777]="ZORA_MAINNET",t[t.MODE_SEPOLIA=919]="MODE_SEPOLIA",t[t.MODE_MAINNET=34443]="MODE_MAINNET"})(Mje||(V5.L2ChainID=Mje={}));var Bje;(function(t){t[t.UNCONFIRMED_L1_TO_L2_MESSAGE=0]="UNCONFIRMED_L1_TO_L2_MESSAGE",t[t.FAILED_L1_TO_L2_MESSAGE=1]="FAILED_L1_TO_L2_MESSAGE",t[t.STATE_ROOT_NOT_PUBLISHED=2]="STATE_ROOT_NOT_PUBLISHED",t[t.READY_TO_PROVE=3]="READY_TO_PROVE",t[t.IN_CHALLENGE_PERIOD=4]="IN_CHALLENGE_PERIOD",t[t.READY_FOR_RELAY=5]="READY_FOR_RELAY",t[t.RELAYED=6]="RELAYED"})(Bje||(V5.MessageStatus=Bje={}));var Dje;(function(t){t[t.L1_TO_L2=0]="L1_TO_L2",t[t.L2_TO_L1=1]="L2_TO_L1"})(Dje||(V5.MessageDirection=Dje={}));var Pje;(function(t){t[t.RELAYED_FAILED=0]="RELAYED_FAILED",t[t.RELAYED_SUCCEEDED=1]="RELAYED_SUCCEEDED"})(Pje||(V5.MessageReceiptStatus=Pje={}))});var wx=D(z8=>{"use strict";u();p();var qOt=z8&&z8.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Koe=z8&&z8.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&qOt(e,t,n)};Object.defineProperty(z8,"__esModule",{value:!0});Koe(Ije(),z8);Koe(Sje(),z8);Koe(Lje(),z8)});var Qoe=D($W=>{"use strict";u();p();Object.defineProperty($W,"__esModule",{value:!0});$W.assert=void 0;var jOt=(t,e)=>{if(!t)throw new Error(e)};$W.assert=jOt});var Yoe=D(_s=>{"use strict";u();p();Object.defineProperty(_s,"__esModule",{value:!0});_s.toAddress=_s.toNumber=_s.toBigNumber=_s.toTransactionHash=_s.toJsonRpcProvider=_s.toProvider=_s.toSignerOrProvider=void 0;var Fje=E3(),GOt=r8(),Cb=Xe(),Voe=Qoe(),KOt=t=>{if(typeof t=="string")return new Cb.ethers.providers.JsonRpcProvider(t);if(Fje.Provider.isProvider(t))return t;if(GOt.Signer.isSigner(t))return t;throw new Error("Invalid provider")};_s.toSignerOrProvider=KOt;var QOt=t=>{if(typeof t=="string")return new Cb.ethers.providers.JsonRpcProvider(t);if(Fje.Provider.isProvider(t))return t;throw new Error("Invalid provider")};_s.toProvider=QOt;var VOt=t=>{let e=(0,_s.toProvider)(t);if("send"in e)return e;throw new Error('Invalid JsonRpcProvider, does not have "send" function')};_s.toJsonRpcProvider=VOt;var YOt=t=>{if(typeof t=="string")return(0,Voe.assert)(Cb.ethers.utils.isHexString(t,32),"Invalid transaction hash"),t;if(t.transactionHash)return t.transactionHash;if(t.hash)return t.hash;throw new Error("Invalid transaction")};_s.toTransactionHash=YOt;var $Ot=t=>Cb.ethers.BigNumber.from(t);_s.toBigNumber=$Ot;var JOt=t=>(0,_s.toBigNumber)(t).toNumber();_s.toNumber=JOt;var XOt=t=>typeof t=="string"?((0,Voe.assert)(Cb.ethers.utils.isAddress(t),"Invalid address"),Cb.ethers.utils.getAddress(t)):((0,Voe.assert)(Cb.ethers.utils.isAddress(t.address),"Invalid address"),Cb.ethers.utils.getAddress(t.address));_s.toAddress=XOt});var Nje=D((D1a,ZOt)=>{ZOt.exports={_format:"hh-sol-artifact-1",contractName:"iL1ChugSplashDeployer",sourceName:"contracts/chugsplash/interfaces/iL1ChugSplashDeployer.sol",abi:[{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Oje=D((P1a,eUt)=>{eUt.exports={_format:"hh-sol-artifact-1",contractName:"L1ChugSplashProxy",sourceName:"contracts/chugsplash/L1ChugSplashProxy.sol",abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"},{inputs:[],name:"getImplementation",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"setCode",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_key",type:"bytes32"},{internalType:"bytes32",name:"_value",type:"bytes32"}],name:"setStorage",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b50604051610a5d380380610a5d83398101604081905261002f9161005d565b610057817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b5061008d565b60006020828403121561006f57600080fd5b81516001600160a01b038116811461008657600080fd5b9392505050565b6109c18061009c6000396000f3fe60806040526004361061005a5760003560e01c8063893d20e811610043578063893d20e8146100a45780639b0b0fda146100e2578063aaf10f42146101025761005a565b806313af4035146100645780636c5d4ad014610084575b610062610117565b005b34801561007057600080fd5b5061006261007f366004610792565b6103ba565b34801561009057600080fd5b5061006261009f3660046107fe565b61044b565b3480156100b057600080fd5b506100b9610601565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100ee57600080fd5b506100626100fd3660046108cd565b610698565b34801561010e57600080fd5b506100b9610706565b60006101417fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fb7947262000000000000000000000000000000000000000000000000000000001790529051919250600091829173ffffffffffffffffffffffffffffffffffffffff8516916101c3919061092a565b600060405180830381855afa9150503d80600081146101fe576040519150601f19603f3d011682016040523d82523d6000602084013e610203565b606091505b5091509150818015610216575080516020145b156102c8576000818060200190518101906102319190610936565b905080156102c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c314368756753706c61736850726f78793a2073797374656d2069732063757260448201527f72656e746c79206265696e67207570677261646564000000000000000000000060648201526084015b60405180910390fd5b505b60006102f27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905073ffffffffffffffffffffffffffffffffffffffff8116610397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4c314368756753706c61736850726f78793a20696d706c656d656e746174696f60448201527f6e206973206e6f7420736574207965740000000000000000000000000000000060648201526084016102bd565b3660008037600080366000845af43d6000803e806103b4573d6000fd5b503d6000f35b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610413575033155b1561044357610440817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b50565b610440610117565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806104a4575033155b156104435760006104d37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b9050803f8251602084012014156104e8575050565b60405160009061051e907f600d380380600d6000396000f30000000000000000000000000000000000000090859060200161094f565b604051602081830303815290604052905060008151602083016000f084516020860120909150813f146105d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f4c314368756753706c61736850726f78793a20636f646520776173206e6f742060448201527f636f72726563746c79206465706c6f7965642e0000000000000000000000000060648201526084016102bd565b6105fb817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b50505050565b600061062b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610662575033155b1561068d57507fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610695610117565b90565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806106f1575033155b156106fa579055565b610702610117565b5050565b60006107307fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610767575033155b1561068d57507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6000602082840312156107a457600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146107c857600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561081057600080fd5b813567ffffffffffffffff8082111561082857600080fd5b818401915084601f83011261083c57600080fd5b81358181111561084e5761084e6107cf565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610894576108946107cf565b816040528281528760208487010111156108ad57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080604083850312156108e057600080fd5b50508035926020909101359150565b6000815160005b8181101561091057602081850181015186830152016108f6565b8181111561091f576000828601525b509290920192915050565b60006107c882846108ef565b60006020828403121561094857600080fd5b5051919050565b7fffffffffffffffffffffffffff00000000000000000000000000000000000000831681526000610983600d8301846108ef565b94935050505056fea2646970667358221220aea34fd8cdcf3a9cced029d5f7b1e628f42ad1514501878e0040df2afddb6e7164736f6c63430008090033",deployedBytecode:"0x60806040526004361061005a5760003560e01c8063893d20e811610043578063893d20e8146100a45780639b0b0fda146100e2578063aaf10f42146101025761005a565b806313af4035146100645780636c5d4ad014610084575b610062610117565b005b34801561007057600080fd5b5061006261007f366004610792565b6103ba565b34801561009057600080fd5b5061006261009f3660046107fe565b61044b565b3480156100b057600080fd5b506100b9610601565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100ee57600080fd5b506100626100fd3660046108cd565b610698565b34801561010e57600080fd5b506100b9610706565b60006101417fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fb7947262000000000000000000000000000000000000000000000000000000001790529051919250600091829173ffffffffffffffffffffffffffffffffffffffff8516916101c3919061092a565b600060405180830381855afa9150503d80600081146101fe576040519150601f19603f3d011682016040523d82523d6000602084013e610203565b606091505b5091509150818015610216575080516020145b156102c8576000818060200190518101906102319190610936565b905080156102c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c314368756753706c61736850726f78793a2073797374656d2069732063757260448201527f72656e746c79206265696e67207570677261646564000000000000000000000060648201526084015b60405180910390fd5b505b60006102f27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905073ffffffffffffffffffffffffffffffffffffffff8116610397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4c314368756753706c61736850726f78793a20696d706c656d656e746174696f60448201527f6e206973206e6f7420736574207965740000000000000000000000000000000060648201526084016102bd565b3660008037600080366000845af43d6000803e806103b4573d6000fd5b503d6000f35b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610413575033155b1561044357610440817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b50565b610440610117565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806104a4575033155b156104435760006104d37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b9050803f8251602084012014156104e8575050565b60405160009061051e907f600d380380600d6000396000f30000000000000000000000000000000000000090859060200161094f565b604051602081830303815290604052905060008151602083016000f084516020860120909150813f146105d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f4c314368756753706c61736850726f78793a20636f646520776173206e6f742060448201527f636f72726563746c79206465706c6f7965642e0000000000000000000000000060648201526084016102bd565b6105fb817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b50505050565b600061062b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610662575033155b1561068d57507fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610695610117565b90565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806106f1575033155b156106fa579055565b610702610117565b5050565b60006107307fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610767575033155b1561068d57507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6000602082840312156107a457600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146107c857600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561081057600080fd5b813567ffffffffffffffff8082111561082857600080fd5b818401915084601f83011261083c57600080fd5b81358181111561084e5761084e6107cf565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610894576108946107cf565b816040528281528760208487010111156108ad57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080604083850312156108e057600080fd5b50508035926020909101359150565b6000815160005b8181101561091057602081850181015186830152016108f6565b8181111561091f576000828601525b509290920192915050565b60006107c882846108ef565b60006020828403121561094857600080fd5b5051919050565b7fffffffffffffffffffffffffff00000000000000000000000000000000000000831681526000610983600d8301846108ef565b94935050505056fea2646970667358221220aea34fd8cdcf3a9cced029d5f7b1e628f42ad1514501878e0040df2afddb6e7164736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Uje=D((L1a,tUt)=>{tUt.exports={_format:"hh-sol-artifact-1",contractName:"AddressDictator",sourceName:"contracts/L1/deployment/AddressDictator.sol",abi:[{inputs:[{internalType:"contract Lib_AddressManager",name:"_manager",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"string[]",name:"_names",type:"string[]"},{internalType:"address[]",name:"_addresses",type:"address[]"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNamedAddresses",outputs:[{components:[{internalType:"string",name:"name",type:"string"},{internalType:"address",name:"addr",type:"address"}],internalType:"struct AddressDictator.NamedAddress[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"manager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"setAddresses",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b5060405162000d5e38038062000d5e83398101604081905262000034916200037a565b600080546001600160a01b038087166001600160a01b03199283161790925560018054928616929091169190911790558051825114620000ee5760405162461bcd60e51b815260206004820152604560248201527f416464726573734469637461746f723a204d7573742070726f7669646520616e60448201527f20657175616c206e756d626572206f66206e616d657320616e6420616464726560648201526439b9b2b99760d91b608482015260a40160405180910390fd5b60005b8251811015620001c357600260405180604001604052808584815181106200011d576200011d62000505565b602002602001015181526020018484815181106200013f576200013f62000505565b6020908102919091018101516001600160a01b0316909152825460018101845560009384529281902082518051939460020290910192620001849284920190620001ce565b5060209190910151600190910180546001600160a01b0319166001600160a01b0390921691909117905580620001ba816200051b565b915050620000f1565b505050505062000582565b828054620001dc9062000545565b90600052602060002090601f0160209004810192826200020057600085556200024b565b82601f106200021b57805160ff19168380011785556200024b565b828001600101855582156200024b579182015b828111156200024b5782518255916020019190600101906200022e565b50620002599291506200025d565b5090565b5b808211156200025957600081556001016200025e565b6001600160a01b03811681146200028a57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620002ce57620002ce6200028d565b604052919050565b60006001600160401b03821115620002f257620002f26200028d565b5060051b60200190565b600082601f8301126200030e57600080fd5b81516020620003276200032183620002d6565b620002a3565b82815260059290921b840181019181810190868411156200034757600080fd5b8286015b848110156200036f578051620003618162000274565b83529183019183016200034b565b509695505050505050565b600080600080608085870312156200039157600080fd5b84516200039e8162000274565b80945050602080860151620003b38162000274565b60408701519094506001600160401b0380821115620003d157600080fd5b818801915088601f830112620003e657600080fd5b8151620003f76200032182620002d6565b81815260059190911b8301840190848101908b8311156200041757600080fd5b8585015b83811015620004ce57805185811115620004355760008081fd5b8601603f81018e13620004485760008081fd5b87810151868111156200045f576200045f6200028d565b62000473601f8201601f19168a01620002a3565b8181528f60408385010111156200048a5760008081fd5b60005b82811015620004ab57838101604001518282018c01528a016200048d565b82811115620004bd5760008b84840101525b50855250509186019186016200041b565b5060608b01519097509450505080831115620004e957600080fd5b5050620004f987828801620002fc565b91505092959194509250565b634e487b7160e01b600052603260045260246000fd5b60006000198214156200053e57634e487b7160e01b600052601160045260246000fd5b5060010190565b600181811c908216806200055a57607f821691505b602082108114156200057c57634e487b7160e01b600052602260045260246000fd5b50919050565b6107cc80620005926000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80633ccad6fc116100505780633ccad6fc146100c0578063481c6a75146100d5578063bc3a429b146100f557600080fd5b806317ad94ec1461006c578063297d1a34146100b6575b600080fd5b60015461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100be6100fd565b005b6100c8610232565b6040516100ad91906104af565b60005461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b6100be610343565b60015473ffffffffffffffffffffffffffffffffffffffff1633146101a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f416464726573734469637461746f723a206f6e6c792063616c6c61626c65206260448201527f792066696e616c4f776e65720000000000000000000000000000000000000000606482015260840160405180910390fd5b6000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024015b600060405180830381600087803b15801561021857600080fd5b505af115801561022c573d6000803e3d6000fd5b50505050565b60606002805480602002602001604051908101604052809291908181526020016000905b8282101561033a5783829060005260206000209060020201604051806040016040529081600082018054610289906105ae565b80601f01602080910402602001604051908101604052809291908181526020018280546102b5906105ae565b80156103025780601f106102d757610100808354040283529160200191610302565b820191906000526020600020905b8154815290600101906020018083116102e557829003601f168201915b505050918352505060019182015473ffffffffffffffffffffffffffffffffffffffff16602091820152918352929092019101610256565b50505050905090565b60005b600254811015610454576000546002805473ffffffffffffffffffffffffffffffffffffffff90921691639b2ea4bd91908490811061038757610387610602565b9060005260206000209060020201600001600284815481106103ab576103ab610602565b60009182526020909120600160029092020101546040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815261040f929173ffffffffffffffffffffffffffffffffffffffff1690600401610631565b600060405180830381600087803b15801561042957600080fd5b505af115801561043d573d6000803e3d6000fd5b50505050808061044c90610736565b915050610346565b506000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024016101fe565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561059f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08a8503018652825180518886528051808a880152845b81811015610532578281018c0151888201606001528b01610516565b8181111561054357856060838a0101525b50918a015173ffffffffffffffffffffffffffffffffffffffff16868b01525095880195601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690930160600192918701916001016104d7565b50919998505050505050505050565b600181811c908216806105c257607f821691505b602082108114156105fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60408152600080845481600182811c91508083168061065157607f831692505b602080841082141561068a577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b60408801849052606088018280156106a957600181146106d857610703565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00871682528282019750610703565b60008c81526020902060005b878110156106fd578154848201529086019084016106e4565b83019850505b50508596506107298189018a73ffffffffffffffffffffffffffffffffffffffff169052565b5050505050509392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561078f577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea26469706673582212207993fbd341ec4f9e20c9ca42c43294b14f2a103fa8da10fc05d197e3abc8766164736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100675760003560e01c80633ccad6fc116100505780633ccad6fc146100c0578063481c6a75146100d5578063bc3a429b146100f557600080fd5b806317ad94ec1461006c578063297d1a34146100b6575b600080fd5b60015461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100be6100fd565b005b6100c8610232565b6040516100ad91906104af565b60005461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b6100be610343565b60015473ffffffffffffffffffffffffffffffffffffffff1633146101a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f416464726573734469637461746f723a206f6e6c792063616c6c61626c65206260448201527f792066696e616c4f776e65720000000000000000000000000000000000000000606482015260840160405180910390fd5b6000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024015b600060405180830381600087803b15801561021857600080fd5b505af115801561022c573d6000803e3d6000fd5b50505050565b60606002805480602002602001604051908101604052809291908181526020016000905b8282101561033a5783829060005260206000209060020201604051806040016040529081600082018054610289906105ae565b80601f01602080910402602001604051908101604052809291908181526020018280546102b5906105ae565b80156103025780601f106102d757610100808354040283529160200191610302565b820191906000526020600020905b8154815290600101906020018083116102e557829003601f168201915b505050918352505060019182015473ffffffffffffffffffffffffffffffffffffffff16602091820152918352929092019101610256565b50505050905090565b60005b600254811015610454576000546002805473ffffffffffffffffffffffffffffffffffffffff90921691639b2ea4bd91908490811061038757610387610602565b9060005260206000209060020201600001600284815481106103ab576103ab610602565b60009182526020909120600160029092020101546040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815261040f929173ffffffffffffffffffffffffffffffffffffffff1690600401610631565b600060405180830381600087803b15801561042957600080fd5b505af115801561043d573d6000803e3d6000fd5b50505050808061044c90610736565b915050610346565b506000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024016101fe565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561059f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08a8503018652825180518886528051808a880152845b81811015610532578281018c0151888201606001528b01610516565b8181111561054357856060838a0101525b50918a015173ffffffffffffffffffffffffffffffffffffffff16868b01525095880195601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690930160600192918701916001016104d7565b50919998505050505050505050565b600181811c908216806105c257607f821691505b602082108114156105fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60408152600080845481600182811c91508083168061065157607f831692505b602080841082141561068a577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b60408801849052606088018280156106a957600181146106d857610703565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00871682528282019750610703565b60008c81526020902060005b878110156106fd578154848201529086019084016106e4565b83019850505b50508596506107298189018a73ffffffffffffffffffffffffffffffffffffffff169052565b5050505050509392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561078f577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea26469706673582212207993fbd341ec4f9e20c9ca42c43294b14f2a103fa8da10fc05d197e3abc8766164736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Hje=D((F1a,nUt)=>{nUt.exports={_format:"hh-sol-artifact-1",contractName:"ChugSplashDictator",sourceName:"contracts/L1/deployment/ChugSplashDictator.sol",abi:[{inputs:[{internalType:"contract L1ChugSplashProxy",name:"_target",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"bytes32",name:"_codeHash",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotVal",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotVal",type:"bytes32"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"bridgeSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"bridgeSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"codeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"doActions",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"target",outputs:[{internalType:"contract L1ChugSplashProxy",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x60806040526000805460ff1916600117905534801561001d57600080fd5b5060405161088338038061088383398101604081905261003c916100a8565b60008054610100600160a81b0319166101006001600160a01b03998a1602179055600180546001600160a01b031916969097169590951790955560029290925560035560045560059190915560065561010f565b6001600160a01b03811681146100a557600080fd5b50565b600080600080600080600060e0888a0312156100c357600080fd5b87516100ce81610090565b60208901519097506100df81610090565b604089015160608a015160808b015160a08c015160c0909c01519a9d939c50919a90999198509650945092505050565b6107658061011e6000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c8063708518de11610076578063a3b2d8a51161005b578063a3b2d8a51461015c578063b794726214610165578063d4b839921461018257600080fd5b8063708518de1461014a578063907023dd1461015357600080fd5b806318edaaf2116100a757806318edaaf214610122578063297d1a34146101395780635307023b1461014157600080fd5b80630bf56f21146100c357806317ad94ec146100d8575b600080fd5b6100d66100d13660046105ed565b6101a7565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61012b60025481565b604051908152602001610119565b6100d6610489565b61012b60045481565b61012b60035481565b61012b60065481565b61012b60055481565b6000546101729060ff1681565b6040519015158152602001610119565b6000546100f890610100900473ffffffffffffffffffffffffffffffffffffffff1681565b6002548151602083012014610243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4368756753706c6173684469637461746f723a20496e636f727265637420636f60448201527f646520686173682e00000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000546040517f6c5d4ad000000000000000000000000000000000000000000000000000000000815261010090910473ffffffffffffffffffffffffffffffffffffffff1690636c5d4ad09061029d9084906004016106bc565b600060405180830381600087803b1580156102b757600080fd5b505af11580156102cb573d6000803e3d6000fd5b5050600054600354600480546040517f9b0b0fda00000000000000000000000000000000000000000000000000000000815291820192909252602481019190915261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b15801561034e57600080fd5b505af1158015610362573d6000803e3d6000fd5b50506000546005546006546040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081526004810192909252602482015261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b1580156103e257600080fd5b505af11580156103f6573d6000803e3d6000fd5b50506000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526101009092041692506313af40359150602401600060405180830381600087803b15801561046e57600080fd5b505af1158015610482573d6000803e3d6000fd5b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4368756753706c6173684469637461746f723a206f6e6c792063616c6c61626c60448201527f652062792066696e616c4f776e65720000000000000000000000000000000000606482015260840161023a565b6000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015261010090920416906313af403590602401600060405180830381600087803b1580156105a457600080fd5b505af11580156105b8573d6000803e3d6000fd5b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156105ff57600080fd5b813567ffffffffffffffff8082111561061757600080fd5b818401915084601f83011261062b57600080fd5b81358181111561063d5761063d6105be565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610683576106836105be565b8160405282815287602084870101111561069c57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b818110156106e9578581018301518582016040015282016106cd565b818111156106fb576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea2646970667358221220d6996ebde67a73563bf52d2b5545adec064534b2fcd91ec70e83fc1ef951152464736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100be5760003560e01c8063708518de11610076578063a3b2d8a51161005b578063a3b2d8a51461015c578063b794726214610165578063d4b839921461018257600080fd5b8063708518de1461014a578063907023dd1461015357600080fd5b806318edaaf2116100a757806318edaaf214610122578063297d1a34146101395780635307023b1461014157600080fd5b80630bf56f21146100c357806317ad94ec146100d8575b600080fd5b6100d66100d13660046105ed565b6101a7565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61012b60025481565b604051908152602001610119565b6100d6610489565b61012b60045481565b61012b60035481565b61012b60065481565b61012b60055481565b6000546101729060ff1681565b6040519015158152602001610119565b6000546100f890610100900473ffffffffffffffffffffffffffffffffffffffff1681565b6002548151602083012014610243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4368756753706c6173684469637461746f723a20496e636f727265637420636f60448201527f646520686173682e00000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000546040517f6c5d4ad000000000000000000000000000000000000000000000000000000000815261010090910473ffffffffffffffffffffffffffffffffffffffff1690636c5d4ad09061029d9084906004016106bc565b600060405180830381600087803b1580156102b757600080fd5b505af11580156102cb573d6000803e3d6000fd5b5050600054600354600480546040517f9b0b0fda00000000000000000000000000000000000000000000000000000000815291820192909252602481019190915261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b15801561034e57600080fd5b505af1158015610362573d6000803e3d6000fd5b50506000546005546006546040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081526004810192909252602482015261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b1580156103e257600080fd5b505af11580156103f6573d6000803e3d6000fd5b50506000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526101009092041692506313af40359150602401600060405180830381600087803b15801561046e57600080fd5b505af1158015610482573d6000803e3d6000fd5b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4368756753706c6173684469637461746f723a206f6e6c792063616c6c61626c60448201527f652062792066696e616c4f776e65720000000000000000000000000000000000606482015260840161023a565b6000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015261010090920416906313af403590602401600060405180830381600087803b1580156105a457600080fd5b505af11580156105b8573d6000803e3d6000fd5b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156105ff57600080fd5b813567ffffffffffffffff8082111561061757600080fd5b818401915084601f83011261062b57600080fd5b81358181111561063d5761063d6105be565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610683576106836105be565b8160405282815287602084870101111561069c57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b818110156106e9578581018301518582016040015282016106cd565b818111156106fb576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea2646970667358221220d6996ebde67a73563bf52d2b5545adec064534b2fcd91ec70e83fc1ef951152464736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var zje=D((N1a,aUt)=>{aUt.exports={_format:"hh-sol-artifact-1",contractName:"IL1CrossDomainMessenger",sourceName:"contracts/L1/messaging/IL1CrossDomainMessenger.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Wje=D((O1a,rUt)=>{rUt.exports={_format:"hh-sol-artifact-1",contractName:"IL1ERC20Bridge",sourceName:"contracts/L1/messaging/IL1ERC20Bridge.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var qje=D((U1a,fUt)=>{fUt.exports={_format:"hh-sol-artifact-1",contractName:"IL1StandardBridge",sourceName:"contracts/L1/messaging/IL1StandardBridge.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var jje=D((H1a,iUt)=>{iUt.exports={_format:"hh-sol-artifact-1",contractName:"L1CrossDomainMessenger",sourceName:"contracts/L1/messaging/L1CrossDomainMessenger.sol",abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageAllowed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageBlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"allowMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"blockMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"blockedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405260cc80546001600160a01b03191661dead17905534801561002457600080fd5b50600080546001600160a01b0319169055613865806100446000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c8063715018a6116100b2578063b1b1b20911610081578063c6b94ab011610066578063c6b94ab014610275578063d7fd19dd14610298578063f2fde38b146102ab57600080fd5b8063b1b1b2091461023f578063c4d66de81461026257600080fd5b8063715018a6146101fe57806381ada46c146102065780638456cb59146102195780638da5cb5b1461022157600080fd5b8063461a4478116100ee578063461a4478146101c55780635c975abb146101d85780636e296e45146101e35780636f1c8d47146101eb57600080fd5b80630ecf2eea1461012057806321d800ec14610135578063299ca4781461016d5780633dbb202b146101b2575b600080fd5b61013361012e366004612d2e565b6102be565b005b610158610143366004612d2e565b60ca6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b60005461018d9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610164565b6101336101c0366004612ea6565b610309565b61018d6101d3366004612f06565b610451565b60655460ff16610158565b61018d6104fe565b6101336101f9366004612f57565b61058d565b610133610774565b610133610214366004612d2e565b610788565b6101336107d0565b60335473ffffffffffffffffffffffffffffffffffffffff1661018d565b61015861024d366004612d2e565b60cb6020526000908152604090205460ff1681565b610133610270366004612fe3565b6107e0565b610158610283366004612d2e565b60c96020526000908152604090205460ff1681565b6101336102a6366004613149565b610ab8565b6101336102b9366004612fe3565b610f3c565b6102c6610fd9565b600081815260c96020526040808220805460ff191660011790555182917ff52508d5339edf0d7e5060a416df98db067af561bdc60872d29c0439eaa13a0291a250565b60006103496040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b905060008173ffffffffffffffffffffffffffffffffffffffff1663b8f770056040518163ffffffff1660e01b815260040160206040518083038186803b15801561039357600080fd5b505afa1580156103a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103cb9190613297565b905060006103e28633878564ffffffffff16611040565b90506103f583828663ffffffff166110bb565b8573ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33878588604051610441949392919061330e565b60405180910390a2505050505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906104a8908590600401613361565b60206040518083038186803b1580156104c057600080fd5b505afa1580156104d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f89190613374565b92915050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff1661dead14156105705760405162461bcd60e51b815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b60006105cd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b6040517f2a7f18be0000000000000000000000000000000000000000000000000000000081526004810186905290915060009073ffffffffffffffffffffffffffffffffffffffff831690632a7f18be9060240160606040518083038186803b15801561063957600080fd5b505afa15801561064d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106719190613391565b9050600061068189898989611040565b90506000731111000000000000000000000000000000001111300173420000000000000000000000000000000000000787846040516020016106c694939291906133f6565b604051602081830303815290604052805190602001209050826000015181146107575760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520686173206e6f74206265656e20656e60448201527f7175657565642e000000000000000000000000000000000000000000000000006064820152608401610567565b61076884838763ffffffff166110bb565b50505050505050505050565b61077c610fd9565b610786600061115c565b565b610790610fd9565b600081815260c96020526040808220805460ff191690555182917f52c8a2680a9f4cc0ad0bf88f32096eadbebf0646ea611d93a0ce6a29a024040591a250565b6107d8610fd9565b6107866111d3565b6000547501000000000000000000000000000000000000000000900460ff161580801561082b575060005460017401000000000000000000000000000000000000000090910460ff16105b8061085d5750303b15801561085d575060005474010000000000000000000000000000000000000000900460ff166001145b6108cf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610567565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055801561095557600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60005473ffffffffffffffffffffffffffffffffffffffff16156109e15760405162461bcd60e51b815260206004820152602a60248201527f4c3143726f7373446f6d61696e4d657373656e67657220616c7265616479206960448201527f6e7469616c697a65642e000000000000000000000000000000000000000000006064820152608401610567565b6000805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560cc805490911661dead179055610a3961123a565b610a416112cb565b610a49611365565b610a51611402565b8015610ab457600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60026097541415610b0b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610567565b6002609755610b1861149a565b6000610b2686868686611040565b9050610b3281836114ed565b1515600114610ba95760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610567565b8051602080830191909120600081815260cb90925260409091205460ff1615610c3a5760405162461bcd60e51b815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610567565b600081815260c9602052604090205460ff1615610cbf5760405162461bcd60e51b815260206004820152602260248201527f50726f7669646564206d65737361676520686173206265656e20626c6f636b6560448201527f642e0000000000000000000000000000000000000000000000000000000000006064820152608401610567565b610cfd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415610d9e5760405162461bcd60e51b815260206004820152603360248201527f43616e6e6f742073656e64204c322d3e4c31206d6573736167657320746f204c60448201527f312073797374656d20636f6e7472616374732e000000000000000000000000006064820152608401610567565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff88811691909117909155604051600091891690610df790889061343b565b6000604051808303816000865af19150503d8060008114610e34576040519150601f19603f3d011682016040523d82523d6000602084013e610e39565b606091505b505060cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080151560011415610eb957600082815260cb6020526040808220805460ff191660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610ee5565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b6000833343604051602001610efc93929190613457565b60408051601f198184030181529181528151602092830120600090815260ca9092529020805460ff19166001908117909155609755505050505050505050565b610f44610fd9565b73ffffffffffffffffffffffffffffffffffffffff8116610fcd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610567565b610fd68161115c565b50565b60335473ffffffffffffffffffffffffffffffffffffffff1633146107865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610567565b60608484848460405160240161105994939291906134a9565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b6040517f6fee07e000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841690636fee07e0906111259073420000000000000000000000000000000000000790859087906004016134f3565b600060405180830381600087803b15801561113f57600080fd5b505af1158015611153573d6000803e3d6000fd5b50505050505050565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111db61149a565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112103390565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6000547501000000000000000000000000000000000000000000900460ff166107865760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6000547501000000000000000000000000000000000000000000900460ff1661135c5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6107863361115c565b6000547501000000000000000000000000000000000000000000900460ff166113f65760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6065805460ff19169055565b6000547501000000000000000000000000000000000000000000900460ff166114935760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6001609755565b60655460ff16156107865760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610567565b60006114f882611510565b8015611509575061150983836116b2565b9392505050565b6000806115516040518060400160405280601481526020017f5374617465436f6d6d69746d656e74436861696e000000000000000000000000815250610451565b60208401516040517f9418bddd00000000000000000000000000000000000000000000000000000000815291925073ffffffffffffffffffffffffffffffffffffffff831691639418bddd916115a991600401613565565b60206040518083038186803b1580156115c157600080fd5b505afa1580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190613578565b15801561150957508251602084015160408086015190517f4d69ee5700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851693634d69ee579361166293919290919060040161359a565b60206040518083038186803b15801561167a57600080fd5b505afa15801561168e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115099190613578565b600080837342000000000000000000000000000000000000076040516020016116dc929190613612565b60408051601f1981840301815282825280516020918201209083015260009082015260600160408051601f198184030181529082905280516020918201207f4200000000000000000000000000000000000000000000000000000000000000918301919091529150600090819061176c9060340160408051601f1981840301815291905260608701518751611896565b909250905060018215151461180f5760405162461bcd60e51b815260206004820152604d60248201527f4d6573736167652070617373696e67207072656465706c6f7920686173206e6f60448201527f74206265656e20696e697469616c697a6564206f7220696e76616c696420707260648201527f6f6f662070726f76696465642e00000000000000000000000000000000000000608482015260a401610567565b600061181a826118bf565b905061188b8460405160200161183291815260200190565b60408051601f19818403018152908290527f010000000000000000000000000000000000000000000000000000000000000060208301529060210160405160208183030381529060405288608001518460400151611983565b979650505050505050565b6000606060006118a5866119a7565b90506118b28186866119d9565b9250925050935093915050565b6040805160808101825260008082526020820181905291810182905260608101829052906118ec83611ab4565b9050604051806080016040528061191c8360008151811061190f5761190f61365c565b6020026020010151611ae7565b81526020016119378360018151811061190f5761190f61365c565b815260200161195f836002815181106119525761195261365c565b6020026020010151611aee565b815260200161197a836003815181106119525761195261365c565b90529392505050565b60008061198f866119a7565b905061199d81868686611bf0565b9695505050505050565b606081805190602001206040516020016119c391815260200190565b6040516020818303038152906040529050919050565b6000606060006119e885611c26565b905060008060006119fa848a89611d21565b81519295509093509150158080611a0e5750815b611a5a5760405162461bcd60e51b815260206004820152601a60248201527f50726f76696465642070726f6f6620697320696e76616c69642e0000000000006044820152606401610567565b600081611a765760405180602001604052806000815250611aa2565b611aa286611a856001886136ba565b81518110611a9557611a9561365c565b60200260200101516121bc565b919b919a509098505050505050505050565b6040805180820182526000808252602091820152815180830190925282518252808301908201526060906104f8906121e6565b60006104f8825b6000602182600001511115611b455760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000806000611b53856123e5565b919450925090506000816001811115611b6e57611b6e6136d1565b14611bbb5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000838660200151611bcd9190613700565b8051909150602084101561199d5760208490036101000a90049695505050505050565b6000806000611c008786866119d9565b9150915081801561188b575080516020808301919091208751918801919091201461188b565b60606000611c3383611ab4565b90506000815167ffffffffffffffff811115611c5157611c51612d69565b604051908082528060200260200182016040528015611c9657816020015b6040805180820190915260608082526020820152815260200190600190039081611c6f5790505b50905060005b8251811015611d19576000611cc9848381518110611cbc57611cbc61365c565b6020026020010151612736565b90506040518060400160405280828152602001611ce583611ab4565b815250838381518110611cfa57611cfa61365c565b6020026020010181905250508080611d1190613718565b915050611c9c565b509392505050565b60006060818080611d31876127c6565b90506000869050600080611d58604051806040016040528060608152602001606081525090565b60005b8c51811015612178578c8181518110611d7657611d7661365c565b602002602001015191508284611d8c9190613700565b9350611d99600188613700565b965083611dfd57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601160248201527f496e76616c696420726f6f7420686173680000000000000000000000000000006044820152606401610567565b611eba565b815151602011611e5f57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964206c6172676520696e7465726e616c206861736800000000006044820152606401610567565b84611e6d8360000151612949565b14611eba5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420696e7465726e616c206e6f646520686173680000000000006044820152606401610567565b611ec660106001613700565b8260200151511415611f3f578551841415611ee057612178565b6000868581518110611ef457611ef461365c565b602001015160f81c60f81b60f81c9050600083602001518260ff1681518110611f1f57611f1f61365c565b60200260200101519050611f3281612971565b9650600194505050612166565b6002826020015151141561211e576000611f58836129a7565b9050600081600081518110611f6f57611f6f61365c565b016020015160f81c90506000611f86600283613780565b611f919060026137a2565b90506000611fa2848360ff166129cb565b90506000611fb08b8a6129cb565b90506000611fbe8383612a01565b905060ff851660021480611fd5575060ff85166003145b1561202b57808351148015611fea5750808251145b15611ffc57611ff9818b613700565b99505b507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b60ff8516158061203e575060ff85166001145b156120b0578251811461207a57507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b6120a188602001516001815181106120945761209461365c565b6020026020010151612971565b9a509750612166945050505050565b60405162461bcd60e51b815260206004820152602660248201527f52656365697665642061206e6f6465207769746820616e20756e6b6e6f776e2060448201527f70726566697800000000000000000000000000000000000000000000000000006064820152608401610567565b60405162461bcd60e51b815260206004820152601d60248201527f526563656976656420616e20756e706172736561626c65206e6f64652e0000006044820152606401610567565b8061217081613718565b915050611d5b565b507f80000000000000000000000000000000000000000000000000000000000000008414866121a787866129cb565b909e909d50909b509950505050505050505050565b602081015180516060916104f8916121d6906001906136ba565b81518110611cbc57611cbc61365c565b60606000806121f4846123e5565b91935090915060019050816001811115612210576122106136d1565b1461225d5760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c50206c6973742076616c75652e0000000000000000006044820152606401610567565b6040805160208082526104208201909252600091816020015b60408051808201909152600080825260208201528152602001906001900390816122765790505090506000835b86518110156123da57602082106123225760405162461bcd60e51b815260206004820152602a60248201527f50726f766964656420524c50206c6973742065786365656473206d6178206c6960448201527f7374206c656e6774682e000000000000000000000000000000000000000000006064820152608401610567565b60008061235f6040518060400160405280858c6000015161234391906136ba565b8152602001858c602001516123589190613700565b90526123e5565b50915091506040518060400160405280838361237b9190613700565b8152602001848b602001516123909190613700565b8152508585815181106123a5576123a561365c565b60209081029190910101526123bb600185613700565b93506123c78183613700565b6123d19084613700565b925050506122a3565b508152949350505050565b60008060008084600001511161243d5760405162461bcd60e51b815260206004820152601860248201527f524c50206974656d2063616e6e6f74206265206e756c6c2e00000000000000006044820152606401610567565b6020840151805160001a607f811161246257600060016000945094509450505061272f565b60b781116124de5760006124776080836136ba565b9050808760000151116124cc5760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420524c502073686f727420737472696e672e000000000000006044820152606401610567565b6001955093506000925061272f915050565b60bf81116125cd5760006124f360b7836136ba565b9050808760000151116125485760405162461bcd60e51b815260206004820152601f60248201527f496e76616c696420524c50206c6f6e6720737472696e67206c656e6774682e006044820152606401610567565b600183015160208290036101000a90046125628183613700565b8851116125b15760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c50206c6f6e6720737472696e672e00000000000000006044820152606401610567565b6125bc826001613700565b965094506000935061272f92505050565b60f781116126485760006125e260c0836136ba565b9050808760000151116126375760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c502073686f7274206c6973742e0000000000000000006044820152606401610567565b60019550935084925061272f915050565b600061265560f7836136ba565b9050808760000151116126aa5760405162461bcd60e51b815260206004820152601d60248201527f496e76616c696420524c50206c6f6e67206c697374206c656e6774682e0000006044820152606401610567565b600183015160208290036101000a90046126c48183613700565b8851116127135760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420524c50206c6f6e67206c6973742e000000000000000000006044820152606401610567565b61271e826001613700565b965094506001935061272f92505050565b9193909250565b60606000806000612746856123e5565b919450925090506000816001811115612761576127616136d1565b146127ae5760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c502062797465732076616c75652e00000000000000006044820152606401610567565b6127bd85602001518484612aad565b95945050505050565b60606000825160026127d891906137c5565b67ffffffffffffffff8111156127f0576127f0612d69565b6040519080825280601f01601f19166020018201604052801561281a576020820181803683370190505b50905060005b835181101561294257600484828151811061283d5761283d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c826128728360026137c5565b815181106128825761288261365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060108482815181106128c5576128c561365c565b01602001516128d7919060f81c613780565b60f81b826128e68360026137c5565b6128f1906001613700565b815181106129015761290161365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508061293a81613718565b915050612820565b5092915050565b600060208251101561295d57506020015190565b818060200190518101906104f89190613802565b600060606020836000015110156129925761298b83612b8c565b905061299e565b61299b83612736565b90505b61150981612949565b60606104f86129c68360200151600081518110611cbc57611cbc61365c565b6127c6565b6060825182106129ea57506040805160208101909152600081526104f8565b61150983838486516129fc91906136ba565b612b97565b6000805b808451118015612a155750808351115b8015612a965750828181518110612a2e57612a2e61365c565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916848281518110612a6d57612a6d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156115095780612aa581613718565b915050612a05565b606060008267ffffffffffffffff811115612aca57612aca612d69565b6040519080825280601f01601f191660200182016040528015612af4576020820181803683370190505b509050805160001415612b08579050611509565b6000612b148587613700565b90506020820160005b612b2860208761381b565b811015612b5f5782518252612b3e602084613700565b9250612b4b602083613700565b915080612b5781613718565b915050612b1d565b5060006001602087066020036101000a039050808251168119845116178252839450505050509392505050565b60606104f882612d18565b606081612ba581601f613700565b1015612bf35760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b82612bfe8382613700565b1015612c4c5760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b612c568284613700565b84511015612ca65760405162461bcd60e51b815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610567565b606082158015612cc55760405191506000825260208201604052612d0f565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612cfe578051835260209283019201612ce6565b5050858452601f01601f1916604052505b50949350505050565b60606104f8826020015160008460000151612aad565b600060208284031215612d4057600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610fd657600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b60405290565b60405160a0810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b604051601f8201601f1916810167ffffffffffffffff81118282101715612e0d57612e0d612d69565b604052919050565b600067ffffffffffffffff831115612e2f57612e2f612d69565b612e426020601f19601f86011601612de4565b9050828152838383011115612e5657600080fd5b828260208301376000602084830101529392505050565b600082601f830112612e7e57600080fd5b61150983833560208501612e15565b803563ffffffff81168114612ea157600080fd5b919050565b600080600060608486031215612ebb57600080fd5b8335612ec681612d47565b9250602084013567ffffffffffffffff811115612ee257600080fd5b612eee86828701612e6d565b925050612efd60408501612e8d565b90509250925092565b600060208284031215612f1857600080fd5b813567ffffffffffffffff811115612f2f57600080fd5b8201601f81018413612f4057600080fd5b612f4f84823560208401612e15565b949350505050565b60008060008060008060c08789031215612f7057600080fd5b8635612f7b81612d47565b95506020870135612f8b81612d47565b9450604087013567ffffffffffffffff811115612fa757600080fd5b612fb389828a01612e6d565b94505060608701359250612fc960808801612e8d565b9150612fd760a08801612e8d565b90509295509295509295565b600060208284031215612ff557600080fd5b813561150981612d47565b600060a0828403121561301257600080fd5b60405160a0810167ffffffffffffffff828210818311171561303657613036612d69565b8160405282935084358352602085013560208401526040850135604084015260608501356060840152608085013591508082111561307357600080fd5b5061308085828601612e6d565b6080830152505092915050565b60006040828403121561309f57600080fd5b6130a7612d98565b90508135815260208083013567ffffffffffffffff808211156130c957600080fd5b818501915085601f8301126130dd57600080fd5b8135818111156130ef576130ef612d69565b8060051b9150613100848301612de4565b818152918301840191848101908884111561311a57600080fd5b938501935b838510156131385784358252938501939085019061311f565b808688015250505050505092915050565b600080600080600060a0868803121561316157600080fd5b853561316c81612d47565b9450602086013561317c81612d47565b9350604086013567ffffffffffffffff8082111561319957600080fd5b6131a589838a01612e6d565b94506060880135935060808801359150808211156131c257600080fd5b9087019060a0828a0312156131d657600080fd5b6131de612dc1565b823581526020830135828111156131f457600080fd5b6132008b828601613000565b60208301525060408301358281111561321857600080fd5b6132248b82860161308d565b60408301525060608301358281111561323c57600080fd5b6132488b828601612e6d565b60608301525060808301358281111561326057600080fd5b61326c8b828601612e6d565b6080830152508093505050509295509295909350565b805164ffffffffff81168114612ea157600080fd5b6000602082840312156132a957600080fd5b61150982613282565b60005b838110156132cd5781810151838201526020016132b5565b838111156132dc576000848401525b50505050565b600081518084526132fa8160208601602086016132b2565b601f01601f19169290920160200192915050565b73ffffffffffffffffffffffffffffffffffffffff8516815260806020820152600061333d60808301866132e2565b905064ffffffffff8416604083015263ffffffff8316606083015295945050505050565b60208152600061150960208301846132e2565b60006020828403121561338657600080fd5b815161150981612d47565b6000606082840312156133a357600080fd5b6040516060810181811067ffffffffffffffff821117156133c6576133c6612d69565b604052825181526133d960208401613282565b60208201526133ea60408401613282565b60408201529392505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525063ffffffff841660408301526080606083015261199d60808301846132e2565b6000825161344d8184602087016132b2565b9190910192915050565b600084516134698184602089016132b2565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250608060408301526134e260808301856132e2565b905082606083015295945050505050565b73ffffffffffffffffffffffffffffffffffffffff841681528260208201526060604082015260006127bd60608301846132e2565b805182526020810151602083015260408101516040830152606081015160608301526000608082015160a06080850152612f4f60a08501826132e2565b6020815260006115096020830184613528565b60006020828403121561358a57600080fd5b8151801515811461150957600080fd5b838152600060206060818401526135b46060840186613528565b83810360408501526040810185518252828601516040848401528181518084526060850191508583019450600093505b8084101561360457845182529385019360019390930192908501906135e4565b509998505050505050505050565b600083516136248184602088016132b2565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156136cc576136cc61368b565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600082198211156137135761371361368b565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561374a5761374a61368b565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600060ff83168061379357613793613751565b8060ff84160691505092915050565b600060ff821660ff8416808210156137bc576137bc61368b565b90039392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137fd576137fd61368b565b500290565b60006020828403121561381457600080fd5b5051919050565b60008261382a5761382a613751565b50049056fea2646970667358221220c8cd169b919168f911dffe50407de9b3c321b6388069872b5a97be3545f41dca64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b506004361061011b5760003560e01c8063715018a6116100b2578063b1b1b20911610081578063c6b94ab011610066578063c6b94ab014610275578063d7fd19dd14610298578063f2fde38b146102ab57600080fd5b8063b1b1b2091461023f578063c4d66de81461026257600080fd5b8063715018a6146101fe57806381ada46c146102065780638456cb59146102195780638da5cb5b1461022157600080fd5b8063461a4478116100ee578063461a4478146101c55780635c975abb146101d85780636e296e45146101e35780636f1c8d47146101eb57600080fd5b80630ecf2eea1461012057806321d800ec14610135578063299ca4781461016d5780633dbb202b146101b2575b600080fd5b61013361012e366004612d2e565b6102be565b005b610158610143366004612d2e565b60ca6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b60005461018d9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610164565b6101336101c0366004612ea6565b610309565b61018d6101d3366004612f06565b610451565b60655460ff16610158565b61018d6104fe565b6101336101f9366004612f57565b61058d565b610133610774565b610133610214366004612d2e565b610788565b6101336107d0565b60335473ffffffffffffffffffffffffffffffffffffffff1661018d565b61015861024d366004612d2e565b60cb6020526000908152604090205460ff1681565b610133610270366004612fe3565b6107e0565b610158610283366004612d2e565b60c96020526000908152604090205460ff1681565b6101336102a6366004613149565b610ab8565b6101336102b9366004612fe3565b610f3c565b6102c6610fd9565b600081815260c96020526040808220805460ff191660011790555182917ff52508d5339edf0d7e5060a416df98db067af561bdc60872d29c0439eaa13a0291a250565b60006103496040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b905060008173ffffffffffffffffffffffffffffffffffffffff1663b8f770056040518163ffffffff1660e01b815260040160206040518083038186803b15801561039357600080fd5b505afa1580156103a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103cb9190613297565b905060006103e28633878564ffffffffff16611040565b90506103f583828663ffffffff166110bb565b8573ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33878588604051610441949392919061330e565b60405180910390a2505050505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906104a8908590600401613361565b60206040518083038186803b1580156104c057600080fd5b505afa1580156104d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f89190613374565b92915050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff1661dead14156105705760405162461bcd60e51b815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b60006105cd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b6040517f2a7f18be0000000000000000000000000000000000000000000000000000000081526004810186905290915060009073ffffffffffffffffffffffffffffffffffffffff831690632a7f18be9060240160606040518083038186803b15801561063957600080fd5b505afa15801561064d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106719190613391565b9050600061068189898989611040565b90506000731111000000000000000000000000000000001111300173420000000000000000000000000000000000000787846040516020016106c694939291906133f6565b604051602081830303815290604052805190602001209050826000015181146107575760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520686173206e6f74206265656e20656e60448201527f7175657565642e000000000000000000000000000000000000000000000000006064820152608401610567565b61076884838763ffffffff166110bb565b50505050505050505050565b61077c610fd9565b610786600061115c565b565b610790610fd9565b600081815260c96020526040808220805460ff191690555182917f52c8a2680a9f4cc0ad0bf88f32096eadbebf0646ea611d93a0ce6a29a024040591a250565b6107d8610fd9565b6107866111d3565b6000547501000000000000000000000000000000000000000000900460ff161580801561082b575060005460017401000000000000000000000000000000000000000090910460ff16105b8061085d5750303b15801561085d575060005474010000000000000000000000000000000000000000900460ff166001145b6108cf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610567565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055801561095557600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60005473ffffffffffffffffffffffffffffffffffffffff16156109e15760405162461bcd60e51b815260206004820152602a60248201527f4c3143726f7373446f6d61696e4d657373656e67657220616c7265616479206960448201527f6e7469616c697a65642e000000000000000000000000000000000000000000006064820152608401610567565b6000805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560cc805490911661dead179055610a3961123a565b610a416112cb565b610a49611365565b610a51611402565b8015610ab457600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60026097541415610b0b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610567565b6002609755610b1861149a565b6000610b2686868686611040565b9050610b3281836114ed565b1515600114610ba95760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610567565b8051602080830191909120600081815260cb90925260409091205460ff1615610c3a5760405162461bcd60e51b815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610567565b600081815260c9602052604090205460ff1615610cbf5760405162461bcd60e51b815260206004820152602260248201527f50726f7669646564206d65737361676520686173206265656e20626c6f636b6560448201527f642e0000000000000000000000000000000000000000000000000000000000006064820152608401610567565b610cfd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415610d9e5760405162461bcd60e51b815260206004820152603360248201527f43616e6e6f742073656e64204c322d3e4c31206d6573736167657320746f204c60448201527f312073797374656d20636f6e7472616374732e000000000000000000000000006064820152608401610567565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff88811691909117909155604051600091891690610df790889061343b565b6000604051808303816000865af19150503d8060008114610e34576040519150601f19603f3d011682016040523d82523d6000602084013e610e39565b606091505b505060cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080151560011415610eb957600082815260cb6020526040808220805460ff191660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610ee5565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b6000833343604051602001610efc93929190613457565b60408051601f198184030181529181528151602092830120600090815260ca9092529020805460ff19166001908117909155609755505050505050505050565b610f44610fd9565b73ffffffffffffffffffffffffffffffffffffffff8116610fcd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610567565b610fd68161115c565b50565b60335473ffffffffffffffffffffffffffffffffffffffff1633146107865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610567565b60608484848460405160240161105994939291906134a9565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b6040517f6fee07e000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841690636fee07e0906111259073420000000000000000000000000000000000000790859087906004016134f3565b600060405180830381600087803b15801561113f57600080fd5b505af1158015611153573d6000803e3d6000fd5b50505050505050565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111db61149a565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112103390565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6000547501000000000000000000000000000000000000000000900460ff166107865760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6000547501000000000000000000000000000000000000000000900460ff1661135c5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6107863361115c565b6000547501000000000000000000000000000000000000000000900460ff166113f65760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6065805460ff19169055565b6000547501000000000000000000000000000000000000000000900460ff166114935760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6001609755565b60655460ff16156107865760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610567565b60006114f882611510565b8015611509575061150983836116b2565b9392505050565b6000806115516040518060400160405280601481526020017f5374617465436f6d6d69746d656e74436861696e000000000000000000000000815250610451565b60208401516040517f9418bddd00000000000000000000000000000000000000000000000000000000815291925073ffffffffffffffffffffffffffffffffffffffff831691639418bddd916115a991600401613565565b60206040518083038186803b1580156115c157600080fd5b505afa1580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190613578565b15801561150957508251602084015160408086015190517f4d69ee5700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851693634d69ee579361166293919290919060040161359a565b60206040518083038186803b15801561167a57600080fd5b505afa15801561168e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115099190613578565b600080837342000000000000000000000000000000000000076040516020016116dc929190613612565b60408051601f1981840301815282825280516020918201209083015260009082015260600160408051601f198184030181529082905280516020918201207f4200000000000000000000000000000000000000000000000000000000000000918301919091529150600090819061176c9060340160408051601f1981840301815291905260608701518751611896565b909250905060018215151461180f5760405162461bcd60e51b815260206004820152604d60248201527f4d6573736167652070617373696e67207072656465706c6f7920686173206e6f60448201527f74206265656e20696e697469616c697a6564206f7220696e76616c696420707260648201527f6f6f662070726f76696465642e00000000000000000000000000000000000000608482015260a401610567565b600061181a826118bf565b905061188b8460405160200161183291815260200190565b60408051601f19818403018152908290527f010000000000000000000000000000000000000000000000000000000000000060208301529060210160405160208183030381529060405288608001518460400151611983565b979650505050505050565b6000606060006118a5866119a7565b90506118b28186866119d9565b9250925050935093915050565b6040805160808101825260008082526020820181905291810182905260608101829052906118ec83611ab4565b9050604051806080016040528061191c8360008151811061190f5761190f61365c565b6020026020010151611ae7565b81526020016119378360018151811061190f5761190f61365c565b815260200161195f836002815181106119525761195261365c565b6020026020010151611aee565b815260200161197a836003815181106119525761195261365c565b90529392505050565b60008061198f866119a7565b905061199d81868686611bf0565b9695505050505050565b606081805190602001206040516020016119c391815260200190565b6040516020818303038152906040529050919050565b6000606060006119e885611c26565b905060008060006119fa848a89611d21565b81519295509093509150158080611a0e5750815b611a5a5760405162461bcd60e51b815260206004820152601a60248201527f50726f76696465642070726f6f6620697320696e76616c69642e0000000000006044820152606401610567565b600081611a765760405180602001604052806000815250611aa2565b611aa286611a856001886136ba565b81518110611a9557611a9561365c565b60200260200101516121bc565b919b919a509098505050505050505050565b6040805180820182526000808252602091820152815180830190925282518252808301908201526060906104f8906121e6565b60006104f8825b6000602182600001511115611b455760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000806000611b53856123e5565b919450925090506000816001811115611b6e57611b6e6136d1565b14611bbb5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000838660200151611bcd9190613700565b8051909150602084101561199d5760208490036101000a90049695505050505050565b6000806000611c008786866119d9565b9150915081801561188b575080516020808301919091208751918801919091201461188b565b60606000611c3383611ab4565b90506000815167ffffffffffffffff811115611c5157611c51612d69565b604051908082528060200260200182016040528015611c9657816020015b6040805180820190915260608082526020820152815260200190600190039081611c6f5790505b50905060005b8251811015611d19576000611cc9848381518110611cbc57611cbc61365c565b6020026020010151612736565b90506040518060400160405280828152602001611ce583611ab4565b815250838381518110611cfa57611cfa61365c565b6020026020010181905250508080611d1190613718565b915050611c9c565b509392505050565b60006060818080611d31876127c6565b90506000869050600080611d58604051806040016040528060608152602001606081525090565b60005b8c51811015612178578c8181518110611d7657611d7661365c565b602002602001015191508284611d8c9190613700565b9350611d99600188613700565b965083611dfd57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601160248201527f496e76616c696420726f6f7420686173680000000000000000000000000000006044820152606401610567565b611eba565b815151602011611e5f57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964206c6172676520696e7465726e616c206861736800000000006044820152606401610567565b84611e6d8360000151612949565b14611eba5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420696e7465726e616c206e6f646520686173680000000000006044820152606401610567565b611ec660106001613700565b8260200151511415611f3f578551841415611ee057612178565b6000868581518110611ef457611ef461365c565b602001015160f81c60f81b60f81c9050600083602001518260ff1681518110611f1f57611f1f61365c565b60200260200101519050611f3281612971565b9650600194505050612166565b6002826020015151141561211e576000611f58836129a7565b9050600081600081518110611f6f57611f6f61365c565b016020015160f81c90506000611f86600283613780565b611f919060026137a2565b90506000611fa2848360ff166129cb565b90506000611fb08b8a6129cb565b90506000611fbe8383612a01565b905060ff851660021480611fd5575060ff85166003145b1561202b57808351148015611fea5750808251145b15611ffc57611ff9818b613700565b99505b507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b60ff8516158061203e575060ff85166001145b156120b0578251811461207a57507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b6120a188602001516001815181106120945761209461365c565b6020026020010151612971565b9a509750612166945050505050565b60405162461bcd60e51b815260206004820152602660248201527f52656365697665642061206e6f6465207769746820616e20756e6b6e6f776e2060448201527f70726566697800000000000000000000000000000000000000000000000000006064820152608401610567565b60405162461bcd60e51b815260206004820152601d60248201527f526563656976656420616e20756e706172736561626c65206e6f64652e0000006044820152606401610567565b8061217081613718565b915050611d5b565b507f80000000000000000000000000000000000000000000000000000000000000008414866121a787866129cb565b909e909d50909b509950505050505050505050565b602081015180516060916104f8916121d6906001906136ba565b81518110611cbc57611cbc61365c565b60606000806121f4846123e5565b91935090915060019050816001811115612210576122106136d1565b1461225d5760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c50206c6973742076616c75652e0000000000000000006044820152606401610567565b6040805160208082526104208201909252600091816020015b60408051808201909152600080825260208201528152602001906001900390816122765790505090506000835b86518110156123da57602082106123225760405162461bcd60e51b815260206004820152602a60248201527f50726f766964656420524c50206c6973742065786365656473206d6178206c6960448201527f7374206c656e6774682e000000000000000000000000000000000000000000006064820152608401610567565b60008061235f6040518060400160405280858c6000015161234391906136ba565b8152602001858c602001516123589190613700565b90526123e5565b50915091506040518060400160405280838361237b9190613700565b8152602001848b602001516123909190613700565b8152508585815181106123a5576123a561365c565b60209081029190910101526123bb600185613700565b93506123c78183613700565b6123d19084613700565b925050506122a3565b508152949350505050565b60008060008084600001511161243d5760405162461bcd60e51b815260206004820152601860248201527f524c50206974656d2063616e6e6f74206265206e756c6c2e00000000000000006044820152606401610567565b6020840151805160001a607f811161246257600060016000945094509450505061272f565b60b781116124de5760006124776080836136ba565b9050808760000151116124cc5760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420524c502073686f727420737472696e672e000000000000006044820152606401610567565b6001955093506000925061272f915050565b60bf81116125cd5760006124f360b7836136ba565b9050808760000151116125485760405162461bcd60e51b815260206004820152601f60248201527f496e76616c696420524c50206c6f6e6720737472696e67206c656e6774682e006044820152606401610567565b600183015160208290036101000a90046125628183613700565b8851116125b15760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c50206c6f6e6720737472696e672e00000000000000006044820152606401610567565b6125bc826001613700565b965094506000935061272f92505050565b60f781116126485760006125e260c0836136ba565b9050808760000151116126375760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c502073686f7274206c6973742e0000000000000000006044820152606401610567565b60019550935084925061272f915050565b600061265560f7836136ba565b9050808760000151116126aa5760405162461bcd60e51b815260206004820152601d60248201527f496e76616c696420524c50206c6f6e67206c697374206c656e6774682e0000006044820152606401610567565b600183015160208290036101000a90046126c48183613700565b8851116127135760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420524c50206c6f6e67206c6973742e000000000000000000006044820152606401610567565b61271e826001613700565b965094506001935061272f92505050565b9193909250565b60606000806000612746856123e5565b919450925090506000816001811115612761576127616136d1565b146127ae5760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c502062797465732076616c75652e00000000000000006044820152606401610567565b6127bd85602001518484612aad565b95945050505050565b60606000825160026127d891906137c5565b67ffffffffffffffff8111156127f0576127f0612d69565b6040519080825280601f01601f19166020018201604052801561281a576020820181803683370190505b50905060005b835181101561294257600484828151811061283d5761283d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c826128728360026137c5565b815181106128825761288261365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060108482815181106128c5576128c561365c565b01602001516128d7919060f81c613780565b60f81b826128e68360026137c5565b6128f1906001613700565b815181106129015761290161365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508061293a81613718565b915050612820565b5092915050565b600060208251101561295d57506020015190565b818060200190518101906104f89190613802565b600060606020836000015110156129925761298b83612b8c565b905061299e565b61299b83612736565b90505b61150981612949565b60606104f86129c68360200151600081518110611cbc57611cbc61365c565b6127c6565b6060825182106129ea57506040805160208101909152600081526104f8565b61150983838486516129fc91906136ba565b612b97565b6000805b808451118015612a155750808351115b8015612a965750828181518110612a2e57612a2e61365c565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916848281518110612a6d57612a6d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156115095780612aa581613718565b915050612a05565b606060008267ffffffffffffffff811115612aca57612aca612d69565b6040519080825280601f01601f191660200182016040528015612af4576020820181803683370190505b509050805160001415612b08579050611509565b6000612b148587613700565b90506020820160005b612b2860208761381b565b811015612b5f5782518252612b3e602084613700565b9250612b4b602083613700565b915080612b5781613718565b915050612b1d565b5060006001602087066020036101000a039050808251168119845116178252839450505050509392505050565b60606104f882612d18565b606081612ba581601f613700565b1015612bf35760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b82612bfe8382613700565b1015612c4c5760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b612c568284613700565b84511015612ca65760405162461bcd60e51b815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610567565b606082158015612cc55760405191506000825260208201604052612d0f565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612cfe578051835260209283019201612ce6565b5050858452601f01601f1916604052505b50949350505050565b60606104f8826020015160008460000151612aad565b600060208284031215612d4057600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610fd657600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b60405290565b60405160a0810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b604051601f8201601f1916810167ffffffffffffffff81118282101715612e0d57612e0d612d69565b604052919050565b600067ffffffffffffffff831115612e2f57612e2f612d69565b612e426020601f19601f86011601612de4565b9050828152838383011115612e5657600080fd5b828260208301376000602084830101529392505050565b600082601f830112612e7e57600080fd5b61150983833560208501612e15565b803563ffffffff81168114612ea157600080fd5b919050565b600080600060608486031215612ebb57600080fd5b8335612ec681612d47565b9250602084013567ffffffffffffffff811115612ee257600080fd5b612eee86828701612e6d565b925050612efd60408501612e8d565b90509250925092565b600060208284031215612f1857600080fd5b813567ffffffffffffffff811115612f2f57600080fd5b8201601f81018413612f4057600080fd5b612f4f84823560208401612e15565b949350505050565b60008060008060008060c08789031215612f7057600080fd5b8635612f7b81612d47565b95506020870135612f8b81612d47565b9450604087013567ffffffffffffffff811115612fa757600080fd5b612fb389828a01612e6d565b94505060608701359250612fc960808801612e8d565b9150612fd760a08801612e8d565b90509295509295509295565b600060208284031215612ff557600080fd5b813561150981612d47565b600060a0828403121561301257600080fd5b60405160a0810167ffffffffffffffff828210818311171561303657613036612d69565b8160405282935084358352602085013560208401526040850135604084015260608501356060840152608085013591508082111561307357600080fd5b5061308085828601612e6d565b6080830152505092915050565b60006040828403121561309f57600080fd5b6130a7612d98565b90508135815260208083013567ffffffffffffffff808211156130c957600080fd5b818501915085601f8301126130dd57600080fd5b8135818111156130ef576130ef612d69565b8060051b9150613100848301612de4565b818152918301840191848101908884111561311a57600080fd5b938501935b838510156131385784358252938501939085019061311f565b808688015250505050505092915050565b600080600080600060a0868803121561316157600080fd5b853561316c81612d47565b9450602086013561317c81612d47565b9350604086013567ffffffffffffffff8082111561319957600080fd5b6131a589838a01612e6d565b94506060880135935060808801359150808211156131c257600080fd5b9087019060a0828a0312156131d657600080fd5b6131de612dc1565b823581526020830135828111156131f457600080fd5b6132008b828601613000565b60208301525060408301358281111561321857600080fd5b6132248b82860161308d565b60408301525060608301358281111561323c57600080fd5b6132488b828601612e6d565b60608301525060808301358281111561326057600080fd5b61326c8b828601612e6d565b6080830152508093505050509295509295909350565b805164ffffffffff81168114612ea157600080fd5b6000602082840312156132a957600080fd5b61150982613282565b60005b838110156132cd5781810151838201526020016132b5565b838111156132dc576000848401525b50505050565b600081518084526132fa8160208601602086016132b2565b601f01601f19169290920160200192915050565b73ffffffffffffffffffffffffffffffffffffffff8516815260806020820152600061333d60808301866132e2565b905064ffffffffff8416604083015263ffffffff8316606083015295945050505050565b60208152600061150960208301846132e2565b60006020828403121561338657600080fd5b815161150981612d47565b6000606082840312156133a357600080fd5b6040516060810181811067ffffffffffffffff821117156133c6576133c6612d69565b604052825181526133d960208401613282565b60208201526133ea60408401613282565b60408201529392505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525063ffffffff841660408301526080606083015261199d60808301846132e2565b6000825161344d8184602087016132b2565b9190910192915050565b600084516134698184602089016132b2565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250608060408301526134e260808301856132e2565b905082606083015295945050505050565b73ffffffffffffffffffffffffffffffffffffffff841681528260208201526060604082015260006127bd60608301846132e2565b805182526020810151602083015260408101516040830152606081015160608301526000608082015160a06080850152612f4f60a08501826132e2565b6020815260006115096020830184613528565b60006020828403121561358a57600080fd5b8151801515811461150957600080fd5b838152600060206060818401526135b46060840186613528565b83810360408501526040810185518252828601516040848401528181518084526060850191508583019450600093505b8084101561360457845182529385019360019390930192908501906135e4565b509998505050505050505050565b600083516136248184602088016132b2565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156136cc576136cc61368b565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600082198211156137135761371361368b565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561374a5761374a61368b565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600060ff83168061379357613793613751565b8060ff84160691505092915050565b600060ff821660ff8416808210156137bc576137bc61368b565b90039392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137fd576137fd61368b565b500290565b60006020828403121561381457600080fd5b5051919050565b60008261382a5761382a613751565b50049056fea2646970667358221220c8cd169b919168f911dffe50407de9b3c321b6388069872b5a97be3545f41dca64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Gje=D((z1a,sUt)=>{sUt.exports={_format:"hh-sol-artifact-1",contractName:"L1StandardBridge",sourceName:"contracts/L1/messaging/L1StandardBridge.sol",abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"donateETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1messenger",type:"address"},{internalType:"address",name:"_l2TokenBridge",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],bytecode:"0x608060405234801561001057600080fd5b50600080546001600160a01b031916905561199e806100306000396000f3fe6080604052600436106100c05760003560e01c80638b4c40b0116100745780639a2ac6d51161004e5780639a2ac6d514610288578063a9f9e6751461029b578063b1a1a882146102bb57600080fd5b80638b4c40b0146101375780638f601f661461021557806391c49bf81461025b57600080fd5b8063485cc955116100a5578063485cc955146101b557806358a997f6146101d5578063838b2520146101f557600080fd5b80631532ec341461013e5780633cb747bf1461015e57600080fd5b3661013957333b156101195760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f41000000000000000000000000000000000060448201526064015b60405180910390fd5b610137333362030d40604051806020016040528060008152506102ce565b005b600080fd5b34801561014a57600080fd5b50610137610159366004611357565b61041a565b34801561016a57600080fd5b5060005461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101c157600080fd5b506101376101d03660046113ca565b610790565b3480156101e157600080fd5b506101376101f036600461141c565b61086f565b34801561020157600080fd5b5061013761021036600461149f565b6108d6565b34801561022157600080fd5b5061024d6102303660046113ca565b600260209081526000928352604080842090915290825290205481565b6040519081526020016101ac565b34801561026757600080fd5b5060015461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b610137610296366004611535565b6108ef565b3480156102a757600080fd5b506101376102b6366004611598565b610937565b6101376102c9366004611611565b610c59565b600063662a633a60e01b600073deaddeaddeaddeaddeaddeaddeaddeaddead000087873487604051602401610308969594939291906116da565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506103ac9073ffffffffffffffffffffffffffffffffffffffff168483610cef565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23348560405161040b929190611735565b60405180910390a35050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661045260005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104f25760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff1661052860005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561056d57600080fd5b505afa158015610581573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a5919061174e565b73ffffffffffffffffffffffffffffffffffffffff161461062e5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff8716908690604051610665919061176b565b60006040518083038185875af1925050503d80600081146106a2576040519150601f19603f3d011682016040523d82523d6000602084013e6106a7565b606091505b505090508061071e5760405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527f20455448207472616e73666572206661696c65640000000000000000000000006064820152608401610110565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e63187878760405161077f939291906117d0565b60405180910390a350505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff161561081c5760405162461bcd60e51b815260206004820152602660248201527f436f6e74726163742068617320616c7265616479206265656e20696e6974696160448201527f6c697a65642e00000000000000000000000000000000000000000000000000006064820152608401610110565b6000805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560018054929093169116179055565b333b156108be5760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b6108ce8686333388888888610d77565b505050505050565b6108e68787338888888888610d77565b50505050505050565b61093133858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b50505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661096f60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a0f5760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff16610a4560005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b158015610a8a57600080fd5b505afa158015610a9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac2919061174e565b73ffffffffffffffffffffffffffffffffffffffff1614610b4b5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b1683529290522054610b89908590611822565b73ffffffffffffffffffffffffffffffffffffffff808a166000818152600260209081526040808320948d1683529390529190912091909155610bcd908686610f27565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b388888888604051610c479493929190611839565b60405180910390a45050505050505050565b333b15610ca85760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b610cea33338585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b505050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610d4990869085908790600401611879565b600060405180830381600087803b158015610d6357600080fd5b505af11580156108e6573d6000803e3d6000fd5b610d9973ffffffffffffffffffffffffffffffffffffffff8916873087610ffb565b600063662a633a60e01b89898989898888604051602401610dc097969594939291906118be565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600154909150610e649073ffffffffffffffffffffffffffffffffffffffff168583610cef565b73ffffffffffffffffffffffffffffffffffffffff808a166000908152600260209081526040808320938c1683529290522054610ea290869061191b565b73ffffffffffffffffffffffffffffffffffffffff808b1660008181526002602090815260408083208e86168085529252918290209490945551918a1692917f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039690610f14908b908b908a908a90611839565b60405180910390a4505050505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610cea9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611059565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526109319085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401610f79565b60006110bb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661114b9092919063ffffffff16565b805190915015610cea57808060200190518101906110d99190611933565b610cea5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610110565b606061115a8484600085611164565b90505b9392505050565b6060824710156111dc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610110565b843b61122a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610110565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611253919061176b565b60006040518083038185875af1925050503d8060008114611290576040519150601f19603f3d011682016040523d82523d6000602084013e611295565b606091505b50915091506112a58282866112b0565b979650505050505050565b606083156112bf57508161115d565b8251156112cf5782518084602001fd5b8160405162461bcd60e51b81526004016101109190611955565b73ffffffffffffffffffffffffffffffffffffffff8116811461130b57600080fd5b50565b60008083601f84011261132057600080fd5b50813567ffffffffffffffff81111561133857600080fd5b60208301915083602082850101111561135057600080fd5b9250929050565b60008060008060006080868803121561136f57600080fd5b853561137a816112e9565b9450602086013561138a816112e9565b935060408601359250606086013567ffffffffffffffff8111156113ad57600080fd5b6113b98882890161130e565b969995985093965092949392505050565b600080604083850312156113dd57600080fd5b82356113e8816112e9565b915060208301356113f8816112e9565b809150509250929050565b803563ffffffff8116811461141757600080fd5b919050565b60008060008060008060a0878903121561143557600080fd5b8635611440816112e9565b95506020870135611450816112e9565b94506040870135935061146560608801611403565b9250608087013567ffffffffffffffff81111561148157600080fd5b61148d89828a0161130e565b979a9699509497509295939492505050565b600080600080600080600060c0888a0312156114ba57600080fd5b87356114c5816112e9565b965060208801356114d5816112e9565b955060408801356114e5816112e9565b9450606088013593506114fa60808901611403565b925060a088013567ffffffffffffffff81111561151657600080fd5b6115228a828b0161130e565b989b979a50959850939692959293505050565b6000806000806060858703121561154b57600080fd5b8435611556816112e9565b935061156460208601611403565b9250604085013567ffffffffffffffff81111561158057600080fd5b61158c8782880161130e565b95989497509550505050565b600080600080600080600060c0888a0312156115b357600080fd5b87356115be816112e9565b965060208801356115ce816112e9565b955060408801356115de816112e9565b945060608801356115ee816112e9565b93506080880135925060a088013567ffffffffffffffff81111561151657600080fd5b60008060006040848603121561162657600080fd5b61162f84611403565b9250602084013567ffffffffffffffff81111561164b57600080fd5b6116578682870161130e565b9497909650939450505050565b60005b8381101561167f578181015183820152602001611667565b838111156109315750506000910152565b600081518084526116a8816020860160208601611664565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a083015261172960c0830184611690565b98975050505050505050565b82815260406020820152600061115a6040830184611690565b60006020828403121561176057600080fd5b815161115d816112e9565b6000825161177d818460208701611664565b9190910192915050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b8381526040602082015260006117ea604083018486611787565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611834576118346117f3565b500390565b73ffffffffffffffffffffffffffffffffffffffff8516815283602082015260606040820152600061186f606083018486611787565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006118a86060830185611690565b905063ffffffff83166040830152949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261190e60c083018486611787565b9998505050505050505050565b6000821982111561192e5761192e6117f3565b500190565b60006020828403121561194557600080fd5b8151801515811461115d57600080fd5b60208152600061115d602083018461169056fea26469706673582212209e8d495a5c754054f8fb1569a883aab4029fddac8f25cf6ce1219795b06797ad64736f6c63430008090033",deployedBytecode:"0x6080604052600436106100c05760003560e01c80638b4c40b0116100745780639a2ac6d51161004e5780639a2ac6d514610288578063a9f9e6751461029b578063b1a1a882146102bb57600080fd5b80638b4c40b0146101375780638f601f661461021557806391c49bf81461025b57600080fd5b8063485cc955116100a5578063485cc955146101b557806358a997f6146101d5578063838b2520146101f557600080fd5b80631532ec341461013e5780633cb747bf1461015e57600080fd5b3661013957333b156101195760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f41000000000000000000000000000000000060448201526064015b60405180910390fd5b610137333362030d40604051806020016040528060008152506102ce565b005b600080fd5b34801561014a57600080fd5b50610137610159366004611357565b61041a565b34801561016a57600080fd5b5060005461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101c157600080fd5b506101376101d03660046113ca565b610790565b3480156101e157600080fd5b506101376101f036600461141c565b61086f565b34801561020157600080fd5b5061013761021036600461149f565b6108d6565b34801561022157600080fd5b5061024d6102303660046113ca565b600260209081526000928352604080842090915290825290205481565b6040519081526020016101ac565b34801561026757600080fd5b5060015461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b610137610296366004611535565b6108ef565b3480156102a757600080fd5b506101376102b6366004611598565b610937565b6101376102c9366004611611565b610c59565b600063662a633a60e01b600073deaddeaddeaddeaddeaddeaddeaddeaddead000087873487604051602401610308969594939291906116da565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506103ac9073ffffffffffffffffffffffffffffffffffffffff168483610cef565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23348560405161040b929190611735565b60405180910390a35050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661045260005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104f25760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff1661052860005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561056d57600080fd5b505afa158015610581573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a5919061174e565b73ffffffffffffffffffffffffffffffffffffffff161461062e5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff8716908690604051610665919061176b565b60006040518083038185875af1925050503d80600081146106a2576040519150601f19603f3d011682016040523d82523d6000602084013e6106a7565b606091505b505090508061071e5760405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527f20455448207472616e73666572206661696c65640000000000000000000000006064820152608401610110565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e63187878760405161077f939291906117d0565b60405180910390a350505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff161561081c5760405162461bcd60e51b815260206004820152602660248201527f436f6e74726163742068617320616c7265616479206265656e20696e6974696160448201527f6c697a65642e00000000000000000000000000000000000000000000000000006064820152608401610110565b6000805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560018054929093169116179055565b333b156108be5760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b6108ce8686333388888888610d77565b505050505050565b6108e68787338888888888610d77565b50505050505050565b61093133858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b50505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661096f60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a0f5760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff16610a4560005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b158015610a8a57600080fd5b505afa158015610a9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac2919061174e565b73ffffffffffffffffffffffffffffffffffffffff1614610b4b5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b1683529290522054610b89908590611822565b73ffffffffffffffffffffffffffffffffffffffff808a166000818152600260209081526040808320948d1683529390529190912091909155610bcd908686610f27565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b388888888604051610c479493929190611839565b60405180910390a45050505050505050565b333b15610ca85760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b610cea33338585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b505050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610d4990869085908790600401611879565b600060405180830381600087803b158015610d6357600080fd5b505af11580156108e6573d6000803e3d6000fd5b610d9973ffffffffffffffffffffffffffffffffffffffff8916873087610ffb565b600063662a633a60e01b89898989898888604051602401610dc097969594939291906118be565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600154909150610e649073ffffffffffffffffffffffffffffffffffffffff168583610cef565b73ffffffffffffffffffffffffffffffffffffffff808a166000908152600260209081526040808320938c1683529290522054610ea290869061191b565b73ffffffffffffffffffffffffffffffffffffffff808b1660008181526002602090815260408083208e86168085529252918290209490945551918a1692917f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039690610f14908b908b908a908a90611839565b60405180910390a4505050505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610cea9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611059565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526109319085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401610f79565b60006110bb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661114b9092919063ffffffff16565b805190915015610cea57808060200190518101906110d99190611933565b610cea5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610110565b606061115a8484600085611164565b90505b9392505050565b6060824710156111dc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610110565b843b61122a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610110565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611253919061176b565b60006040518083038185875af1925050503d8060008114611290576040519150601f19603f3d011682016040523d82523d6000602084013e611295565b606091505b50915091506112a58282866112b0565b979650505050505050565b606083156112bf57508161115d565b8251156112cf5782518084602001fd5b8160405162461bcd60e51b81526004016101109190611955565b73ffffffffffffffffffffffffffffffffffffffff8116811461130b57600080fd5b50565b60008083601f84011261132057600080fd5b50813567ffffffffffffffff81111561133857600080fd5b60208301915083602082850101111561135057600080fd5b9250929050565b60008060008060006080868803121561136f57600080fd5b853561137a816112e9565b9450602086013561138a816112e9565b935060408601359250606086013567ffffffffffffffff8111156113ad57600080fd5b6113b98882890161130e565b969995985093965092949392505050565b600080604083850312156113dd57600080fd5b82356113e8816112e9565b915060208301356113f8816112e9565b809150509250929050565b803563ffffffff8116811461141757600080fd5b919050565b60008060008060008060a0878903121561143557600080fd5b8635611440816112e9565b95506020870135611450816112e9565b94506040870135935061146560608801611403565b9250608087013567ffffffffffffffff81111561148157600080fd5b61148d89828a0161130e565b979a9699509497509295939492505050565b600080600080600080600060c0888a0312156114ba57600080fd5b87356114c5816112e9565b965060208801356114d5816112e9565b955060408801356114e5816112e9565b9450606088013593506114fa60808901611403565b925060a088013567ffffffffffffffff81111561151657600080fd5b6115228a828b0161130e565b989b979a50959850939692959293505050565b6000806000806060858703121561154b57600080fd5b8435611556816112e9565b935061156460208601611403565b9250604085013567ffffffffffffffff81111561158057600080fd5b61158c8782880161130e565b95989497509550505050565b600080600080600080600060c0888a0312156115b357600080fd5b87356115be816112e9565b965060208801356115ce816112e9565b955060408801356115de816112e9565b945060608801356115ee816112e9565b93506080880135925060a088013567ffffffffffffffff81111561151657600080fd5b60008060006040848603121561162657600080fd5b61162f84611403565b9250602084013567ffffffffffffffff81111561164b57600080fd5b6116578682870161130e565b9497909650939450505050565b60005b8381101561167f578181015183820152602001611667565b838111156109315750506000910152565b600081518084526116a8816020860160208601611664565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a083015261172960c0830184611690565b98975050505050505050565b82815260406020820152600061115a6040830184611690565b60006020828403121561176057600080fd5b815161115d816112e9565b6000825161177d818460208701611664565b9190910192915050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b8381526040602082015260006117ea604083018486611787565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611834576118346117f3565b500390565b73ffffffffffffffffffffffffffffffffffffffff8516815283602082015260606040820152600061186f606083018486611787565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006118a86060830185611690565b905063ffffffff83166040830152949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261190e60c083018486611787565b9998505050505050505050565b6000821982111561192e5761192e6117f3565b500190565b60006020828403121561194557600080fd5b8151801515811461115d57600080fd5b60208152600061115d602083018461169056fea26469706673582212209e8d495a5c754054f8fb1569a883aab4029fddac8f25cf6ce1219795b06797ad64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Kje=D((W1a,oUt)=>{oUt.exports={_format:"hh-sol-artifact-1",contractName:"CanonicalTransactionChain",sourceName:"contracts/L1/rollup/CanonicalTransactionChain.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_maxTransactionGasLimit",type:"uint256"},{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"MAX_ROLLUP_TX_SIZE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_ROLLUP_TX_GAS",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"enqueueGasCost",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"enqueueL2GasPrepaid",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2GasDiscountDivisor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxTransactionGasLimit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5060405162001a9838038062001a9883398101604081905261003191610072565b600080546001600160a01b0319166001600160a01b03861617905560048390556002829055600181905561006581836100bd565b600355506100ea92505050565b6000806000806080858703121561008857600080fd5b84516001600160a01b038116811461009f57600080fd5b60208601516040870151606090970151919890975090945092505050565b60008160001904831182151516156100e557634e487b7160e01b600052601160045260246000fd5b500290565b61199e80620000fa6000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c8063876ed5cb116100cd578063d0f8934411610081578063e654b1fb11610066578063e654b1fb146102c0578063edcc4a45146102c9578063f722b41a146102dc57600080fd5b8063d0f89344146102b0578063e561dddc146102b857600080fd5b8063b8f77005116100b2578063b8f7700514610297578063ccf987c81461029f578063cfdf677e146102a857600080fd5b8063876ed5cb146102855780638d38c6c11461028e57600080fd5b80635ae6256d1161012457806378f4b2f21161010957806378f4b2f2146102645780637a167a8a1461026e5780637aa63a861461027d57600080fd5b80635ae6256d146102475780636fee07e01461024f57600080fd5b80632a7f18be116101555780632a7f18be146101d25780633789977014610216578063461a44781461023457600080fd5b80630b3dfa9714610171578063299ca4781461018d575b600080fd5b61017a60035481565b6040519081526020015b60405180910390f35b6000546101ad9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610184565b6101e56101e03660046113e5565b6102e4565b604080518251815260208084015164ffffffffff908116918301919091529282015190921690820152606001610184565b61021e610362565b60405164ffffffffff9091168152602001610184565b6101ad6102423660046114c1565b610376565b61021e610423565b61026261025d366004611537565b610437565b005b61017a620186a081565b60055464ffffffffff1661021e565b61017a610899565b61017a61c35081565b61017a60045481565b60065461021e565b61017a60025481565b6101ad6108b4565b6102626108dc565b61017a610df8565b61017a60015481565b6102626102d73660046115a4565b610e7f565b61021e611016565b604080516060810182526000808252602082018190529181019190915260068281548110610314576103146115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401949094526501000000000090049092169181019190915292915050565b60008061036d611032565b50949350505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906103cd908590600401611660565b60206040518083038186803b1580156103e557600080fd5b505afa1580156103f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041d919061167a565b92915050565b60008061042e611032565b95945050505050565b61c350815111156104cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20646174612073697a652065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084015b60405180910390fd5b600454821115610561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20676173206c696d69742065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084016104c6565b620186a08210156105f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5472616e73616374696f6e20676173206c696d697420746f6f206c6f7720746f60448201527f20656e71756575652e000000000000000000000000000000000000000000000060648201526084016104c6565b6003548211156106dc5760006002546003548461061191906116c6565b61061b91906116dd565b905060005a90508181116106b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e73756666696369656e742067617320666f72204c322072617465206c696d60448201527f6974696e67206275726e2e00000000000000000000000000000000000000000060648201526084016104c6565b60005b825a6106c090846116c6565b10156106d857806106d081611718565b9150506106b4565b5050505b6000333214156106ed575033610706565b5033731111000000000000000000000000000000001111015b60008185858560405160200161071f9493929190611751565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828252805160209182012060608401835280845264ffffffffff42811692850192835243811693850193845260068054600181810183556000838152975160029092027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f81019290925594517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4090910180549651841665010000000000027fffffffffffffffffffffffffffffffffffffffffffff0000000000000000000090971691909316179490941790559154919350610825916116c6565b9050808673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f4b388aecf9fa6cc92253704e5975a6129a4f735bdbd99567df4ed0094ee4ceb58888426040516108899392919061179a565b60405180910390a4505050505050565b6000806108a4611032565b50505064ffffffffff1692915050565b60006108d760405180606001604052806021815260200161194860219139610376565b905090565b60043560d81c60093560e890811c90600c35901c6108f8610899565b8364ffffffffff161461098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016104c6565b6109cb6040518060400160405280600d81526020017f4f564d5f53657175656e63657200000000000000000000000000000000000000815250610376565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f68652053657175656e6365722e0000000000000000000000000000000000000060648201526084016104c6565b6000610a9762ffffff831660106117c3565b610aa290600f611800565b905064ffffffffff8116361015610b3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4e6f7420656e6f756768204261746368436f6e74657874732070726f7669646560448201527f642e00000000000000000000000000000000000000000000000000000000000060648201526084016104c6565b6005546040805160808101825260008082526020820181905291810182905260608101829052909164ffffffffff169060005b8562ffffff168163ffffffff161015610bcc576000610b928263ffffffff166110ed565b8051909350839150610ba49086611818565b9450826020015184610bb69190611840565b9350508080610bc490611860565b915050610b6e565b5060065464ffffffffff83161115610c8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f417474656d7074656420746f20617070656e64206d6f726520656c656d656e7460448201527f73207468616e2061726520617661696c61626c6520696e20746865207175657560648201527f652e000000000000000000000000000000000000000000000000000000000000608482015260a4016104c6565b6000610c9d8462ffffff8916611884565b63ffffffff169050600080836020015160001415610cc657505060408201516060830151610d37565b60006006610cd56001886118a9565b64ffffffffff1681548110610cec57610cec6115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401859052650100000000009091041691018190529093509150505b610d5b610d456001436116c6565b408a62ffffff168564ffffffffff168585611174565b7f602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899610d8684876118a9565b84610d8f610899565b6040805164ffffffffff94851681529390921660208401529082015260600160405180910390a15050600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000001664ffffffffff949094169390931790925550505050505050565b6000610e026108b4565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610e4757600080fd5b505afa158015610e5b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d791906118c7565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ee557600080fd5b505afa158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d919061167a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fb1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c792063616c6c61626c6520627920746865204275726e2041646d696e2e60448201526064016104c6565b60018190556002829055610fc581836117c3565b60038190556002546001546040805192835260208301919091528101919091527fc6ed75e96b8b18b71edc1a6e82a9d677f8268c774a262c624eeb2cf0a8b3e07e9060600160405180910390a15050565b6005546006546000916108d79164ffffffffff909116906118a9565b60008060008060006110426108b4565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b15801561108757600080fd5b505afa15801561109b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bf91906118e0565b64ffffffffff602882901c811697605083901c82169750607883901c8216965060a09290921c169350915050565b6111186040518060800160405280600081526020016000815260200160008152602001600081525090565b60006111256010846117c3565b61113090600f611800565b60408051608081018252823560e890811c82526003840135901c6020820152600683013560d890811c92820192909252600b90920135901c60608201529392505050565b600061117e6108b4565b905060008061118b611032565b50509150915060006040518060a001604052808573ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b1580156111e457600080fd5b505afa1580156111f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121c91906118c7565b81526020018a81526020018981526020018464ffffffffff16815260200160405180602001604052806000815250815250905080600001517f127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e82602001518360400151846060015185608001516040516112999493929190611922565b60405180910390a260006112ac8261139f565b905060006112e78360400151866112c39190611840565b6112cd8b87611840565b602890811b9190911760508b901b1760788a901b17901b90565b6040517f2015276c000000000000000000000000000000000000000000000000000000008152600481018490527fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008216602482015290915073ffffffffffffffffffffffffffffffffffffffff871690632015276c90604401600060405180830381600087803b15801561137a57600080fd5b505af115801561138e573d6000803e3d6000fd5b505050505050505050505050505050565b600081602001518260400151836060015184608001516040516020016113c89493929190611922565b604051602081830303815290604052805190602001209050919050565b6000602082840312156113f757600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115611448576114486113fe565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561148e5761148e6113fe565b816040528093508581528686860111156114a757600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156114d357600080fd5b813567ffffffffffffffff8111156114ea57600080fd5b8201601f810184136114fb57600080fd5b61150a8482356020840161142d565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461153457600080fd5b50565b60008060006060848603121561154c57600080fd5b833561155781611512565b925060208401359150604084013567ffffffffffffffff81111561157a57600080fd5b8401601f8101861361158b57600080fd5b61159a8682356020840161142d565b9150509250925092565b600080604083850312156115b757600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815180845260005b8181101561161b576020818501810151868301820152016115ff565b8181111561162d576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061167360208301846115f5565b9392505050565b60006020828403121561168c57600080fd5b815161167381611512565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156116d8576116d8611697565b500390565b600082611713577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561174a5761174a611697565b5060010190565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261179060808301846115f5565b9695505050505050565b8381526060602082015260006117b360608301856115f5565b9050826040830152949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156117fb576117fb611697565b500290565b6000821982111561181357611813611697565b500190565b600063ffffffff80831681851680830382111561183757611837611697565b01949350505050565b600064ffffffffff80831681851680830382111561183757611837611697565b600063ffffffff8083168181141561187a5761187a611697565b6001019392505050565b600063ffffffff838116908316818110156118a1576118a1611697565b039392505050565b600064ffffffffff838116908316818110156118a1576118a1611697565b6000602082840312156118d957600080fd5b5051919050565b6000602082840312156118f257600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461167357600080fd5b84815283602082015282604082015260806060820152600061179060808301846115f556fe436861696e53746f72616765436f6e7461696e65722d4354432d62617463686573a264697066735822122071f9046c41835cfaa3b888bb4aa8b907bdd46588ad69741847a96bf3fcaad90264736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b506004361061016c5760003560e01c8063876ed5cb116100cd578063d0f8934411610081578063e654b1fb11610066578063e654b1fb146102c0578063edcc4a45146102c9578063f722b41a146102dc57600080fd5b8063d0f89344146102b0578063e561dddc146102b857600080fd5b8063b8f77005116100b2578063b8f7700514610297578063ccf987c81461029f578063cfdf677e146102a857600080fd5b8063876ed5cb146102855780638d38c6c11461028e57600080fd5b80635ae6256d1161012457806378f4b2f21161010957806378f4b2f2146102645780637a167a8a1461026e5780637aa63a861461027d57600080fd5b80635ae6256d146102475780636fee07e01461024f57600080fd5b80632a7f18be116101555780632a7f18be146101d25780633789977014610216578063461a44781461023457600080fd5b80630b3dfa9714610171578063299ca4781461018d575b600080fd5b61017a60035481565b6040519081526020015b60405180910390f35b6000546101ad9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610184565b6101e56101e03660046113e5565b6102e4565b604080518251815260208084015164ffffffffff908116918301919091529282015190921690820152606001610184565b61021e610362565b60405164ffffffffff9091168152602001610184565b6101ad6102423660046114c1565b610376565b61021e610423565b61026261025d366004611537565b610437565b005b61017a620186a081565b60055464ffffffffff1661021e565b61017a610899565b61017a61c35081565b61017a60045481565b60065461021e565b61017a60025481565b6101ad6108b4565b6102626108dc565b61017a610df8565b61017a60015481565b6102626102d73660046115a4565b610e7f565b61021e611016565b604080516060810182526000808252602082018190529181019190915260068281548110610314576103146115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401949094526501000000000090049092169181019190915292915050565b60008061036d611032565b50949350505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906103cd908590600401611660565b60206040518083038186803b1580156103e557600080fd5b505afa1580156103f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041d919061167a565b92915050565b60008061042e611032565b95945050505050565b61c350815111156104cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20646174612073697a652065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084015b60405180910390fd5b600454821115610561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20676173206c696d69742065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084016104c6565b620186a08210156105f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5472616e73616374696f6e20676173206c696d697420746f6f206c6f7720746f60448201527f20656e71756575652e000000000000000000000000000000000000000000000060648201526084016104c6565b6003548211156106dc5760006002546003548461061191906116c6565b61061b91906116dd565b905060005a90508181116106b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e73756666696369656e742067617320666f72204c322072617465206c696d60448201527f6974696e67206275726e2e00000000000000000000000000000000000000000060648201526084016104c6565b60005b825a6106c090846116c6565b10156106d857806106d081611718565b9150506106b4565b5050505b6000333214156106ed575033610706565b5033731111000000000000000000000000000000001111015b60008185858560405160200161071f9493929190611751565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828252805160209182012060608401835280845264ffffffffff42811692850192835243811693850193845260068054600181810183556000838152975160029092027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f81019290925594517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4090910180549651841665010000000000027fffffffffffffffffffffffffffffffffffffffffffff0000000000000000000090971691909316179490941790559154919350610825916116c6565b9050808673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f4b388aecf9fa6cc92253704e5975a6129a4f735bdbd99567df4ed0094ee4ceb58888426040516108899392919061179a565b60405180910390a4505050505050565b6000806108a4611032565b50505064ffffffffff1692915050565b60006108d760405180606001604052806021815260200161194860219139610376565b905090565b60043560d81c60093560e890811c90600c35901c6108f8610899565b8364ffffffffff161461098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016104c6565b6109cb6040518060400160405280600d81526020017f4f564d5f53657175656e63657200000000000000000000000000000000000000815250610376565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f68652053657175656e6365722e0000000000000000000000000000000000000060648201526084016104c6565b6000610a9762ffffff831660106117c3565b610aa290600f611800565b905064ffffffffff8116361015610b3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4e6f7420656e6f756768204261746368436f6e74657874732070726f7669646560448201527f642e00000000000000000000000000000000000000000000000000000000000060648201526084016104c6565b6005546040805160808101825260008082526020820181905291810182905260608101829052909164ffffffffff169060005b8562ffffff168163ffffffff161015610bcc576000610b928263ffffffff166110ed565b8051909350839150610ba49086611818565b9450826020015184610bb69190611840565b9350508080610bc490611860565b915050610b6e565b5060065464ffffffffff83161115610c8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f417474656d7074656420746f20617070656e64206d6f726520656c656d656e7460448201527f73207468616e2061726520617661696c61626c6520696e20746865207175657560648201527f652e000000000000000000000000000000000000000000000000000000000000608482015260a4016104c6565b6000610c9d8462ffffff8916611884565b63ffffffff169050600080836020015160001415610cc657505060408201516060830151610d37565b60006006610cd56001886118a9565b64ffffffffff1681548110610cec57610cec6115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401859052650100000000009091041691018190529093509150505b610d5b610d456001436116c6565b408a62ffffff168564ffffffffff168585611174565b7f602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899610d8684876118a9565b84610d8f610899565b6040805164ffffffffff94851681529390921660208401529082015260600160405180910390a15050600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000001664ffffffffff949094169390931790925550505050505050565b6000610e026108b4565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610e4757600080fd5b505afa158015610e5b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d791906118c7565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ee557600080fd5b505afa158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d919061167a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fb1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c792063616c6c61626c6520627920746865204275726e2041646d696e2e60448201526064016104c6565b60018190556002829055610fc581836117c3565b60038190556002546001546040805192835260208301919091528101919091527fc6ed75e96b8b18b71edc1a6e82a9d677f8268c774a262c624eeb2cf0a8b3e07e9060600160405180910390a15050565b6005546006546000916108d79164ffffffffff909116906118a9565b60008060008060006110426108b4565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b15801561108757600080fd5b505afa15801561109b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bf91906118e0565b64ffffffffff602882901c811697605083901c82169750607883901c8216965060a09290921c169350915050565b6111186040518060800160405280600081526020016000815260200160008152602001600081525090565b60006111256010846117c3565b61113090600f611800565b60408051608081018252823560e890811c82526003840135901c6020820152600683013560d890811c92820192909252600b90920135901c60608201529392505050565b600061117e6108b4565b905060008061118b611032565b50509150915060006040518060a001604052808573ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b1580156111e457600080fd5b505afa1580156111f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121c91906118c7565b81526020018a81526020018981526020018464ffffffffff16815260200160405180602001604052806000815250815250905080600001517f127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e82602001518360400151846060015185608001516040516112999493929190611922565b60405180910390a260006112ac8261139f565b905060006112e78360400151866112c39190611840565b6112cd8b87611840565b602890811b9190911760508b901b1760788a901b17901b90565b6040517f2015276c000000000000000000000000000000000000000000000000000000008152600481018490527fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008216602482015290915073ffffffffffffffffffffffffffffffffffffffff871690632015276c90604401600060405180830381600087803b15801561137a57600080fd5b505af115801561138e573d6000803e3d6000fd5b505050505050505050505050505050565b600081602001518260400151836060015184608001516040516020016113c89493929190611922565b604051602081830303815290604052805190602001209050919050565b6000602082840312156113f757600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115611448576114486113fe565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561148e5761148e6113fe565b816040528093508581528686860111156114a757600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156114d357600080fd5b813567ffffffffffffffff8111156114ea57600080fd5b8201601f810184136114fb57600080fd5b61150a8482356020840161142d565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461153457600080fd5b50565b60008060006060848603121561154c57600080fd5b833561155781611512565b925060208401359150604084013567ffffffffffffffff81111561157a57600080fd5b8401601f8101861361158b57600080fd5b61159a8682356020840161142d565b9150509250925092565b600080604083850312156115b757600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815180845260005b8181101561161b576020818501810151868301820152016115ff565b8181111561162d576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061167360208301846115f5565b9392505050565b60006020828403121561168c57600080fd5b815161167381611512565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156116d8576116d8611697565b500390565b600082611713577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561174a5761174a611697565b5060010190565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261179060808301846115f5565b9695505050505050565b8381526060602082015260006117b360608301856115f5565b9050826040830152949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156117fb576117fb611697565b500290565b6000821982111561181357611813611697565b500190565b600063ffffffff80831681851680830382111561183757611837611697565b01949350505050565b600064ffffffffff80831681851680830382111561183757611837611697565b600063ffffffff8083168181141561187a5761187a611697565b6001019392505050565b600063ffffffff838116908316818110156118a1576118a1611697565b039392505050565b600064ffffffffff838116908316818110156118a1576118a1611697565b6000602082840312156118d957600080fd5b5051919050565b6000602082840312156118f257600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461167357600080fd5b84815283602082015282604082015260806060820152600061179060808301846115f556fe436861696e53746f72616765436f6e7461696e65722d4354432d62617463686573a264697066735822122071f9046c41835cfaa3b888bb4aa8b907bdd46588ad69741847a96bf3fcaad90264736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Qje=D((q1a,cUt)=>{cUt.exports={_format:"hh-sol-artifact-1",contractName:"ChainStorageContainer",sourceName:"contracts/L1/rollup/ChainStorageContainer.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b50604051620011b3380380620011b3833981016040819052620000349162000129565b600080546001600160a01b0319166001600160a01b0384161790558051620000649060019060208401906200006d565b50505062000266565b8280546200007b9062000229565b90600052602060002090601f0160209004810192826200009f5760008555620000ea565b82601f10620000ba57805160ff1916838001178555620000ea565b82800160010185558215620000ea579182015b82811115620000ea578251825591602001919060010190620000cd565b50620000f8929150620000fc565b5090565b5b80821115620000f85760008155600101620000fd565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156200013d57600080fd5b82516001600160a01b03811681146200015557600080fd5b602084810151919350906001600160401b03808211156200017557600080fd5b818601915086601f8301126200018a57600080fd5b8151818111156200019f576200019f62000113565b604051601f8201601f19908116603f01168101908382118183101715620001ca57620001ca62000113565b816040528281528986848701011115620001e357600080fd5b600093505b82841015620002075784840186015181850187015292850192620001e8565b82841115620002195760008684830101525b8096505050505050509250929050565b600181811c908216806200023e57607f821691505b602082108114156200026057634e487b7160e01b600052602260045260246000fd5b50919050565b610f3d80620002766000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c8063461a4478116100815780639507d39a1161005b5780639507d39a146101a4578063b298e36b146101b7578063ccf8f969146101ca57600080fd5b8063461a4478146101695780634651d91e1461017c5780638da5cb5b1461018f57600080fd5b80632015276c116100b25780632015276c146100fe57806329061de214610111578063299ca4781461012457600080fd5b8063167fd681146100ce5780631f7b6d32146100e3575b600080fd5b6100e16100dc366004610c59565b6101e9565b005b6100eb61034d565b6040519081526020015b60405180910390f35b6100e161010c366004610c59565b610365565b6100e161011f366004610c85565b61043d565b6000546101449073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f5565b610144610177366004610cd6565b610517565b6100e161018a366004610da5565b6105c4565b61019761069b565b6040516100f59190610dbe565b6100eb6101b2366004610da5565b610729565b6100e16101c5366004610da5565b61073d565b6101d2610814565b60405164ffffffffff1990911681526020016100f5565b61027c600180546101f990610e31565b80601f016020809104026020016040519081016040528092919081815260200182805461022590610e31565b80156102725780601f1061024757610100808354040283529160200191610272565b820191906000526020600020905b81548152906001019060200180831161025557829003601f168201915b5050505050610517565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461033d57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e60648201526084015b60405180910390fd5b61034960028383610825565b5050565b6000610359600261090c565b64ffffffffff16905090565b610375600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461043157604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b61034960028383610957565b61044d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461050957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b6105146002826109e6565b50565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061056e908590600401610dbe565b60206040518083038186803b15801561058657600080fd5b505afa15801561059a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105be9190610e85565b92915050565b6105d4600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461069057604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610a47565b600180546106a890610e31565b80601f01602080910402602001604051908101604052809291908181526020018280546106d490610e31565b80156107215780601f106106f657610100808354040283529160200191610721565b820191906000526020600020905b81548152906001019060200180831161070457829003601f168201915b505050505081565b60006105be600264ffffffffff8416610aa4565b61074d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461080957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610b73565b60006108206002610bd0565b905090565b600061086784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050806000015164ffffffffff168364ffffffffff16106108e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b64ffffffffff8316815264ffffffffff19821660208201526109068482610c1e565b50505050565b60008061094f83604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b519392505050565b600061099984604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805164ffffffffff16600090815260018601602052604090208490558051909150816109c482610ebb565b64ffffffffff1690525064ffffffffff19821660208201526109068482610c1e565b6000610a2883604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b64ffffffffff19831660208201529050610a428382610c1e565b505050565b6000610a8983604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856108259092919063ffffffff16565b600080610ae784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805190915064ffffffffff168310610b5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b50506000908152600191909101602052604090205490565b6000610bb583604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856109579092919063ffffffff16565b600080610c1383604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b602001519392505050565b8051602082015183548183179291908314610c37578285555b5050505050565b803564ffffffffff1981168114610c5457600080fd5b919050565b60008060408385031215610c6c57600080fd5b82359150610c7c60208401610c3e565b90509250929050565b600060208284031215610c9757600080fd5b610ca082610c3e565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610ce857600080fd5b813567ffffffffffffffff80821115610d0057600080fd5b818401915084601f830112610d1457600080fd5b813581811115610d2657610d26610ca7565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610d6c57610d6c610ca7565b81604052828152876020848701011115610d8557600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208284031215610db757600080fd5b5035919050565b600060208083528351808285015260005b81811015610deb57858101830151858201604001528201610dcf565b81811115610dfd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600181811c90821680610e4557607f821691505b60208210811415610e7f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208284031215610e9757600080fd5b815173ffffffffffffffffffffffffffffffffffffffff81168114610ca057600080fd5b600064ffffffffff80831681811415610efd577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600101939250505056fea2646970667358221220e1995ee56c4c5e67de41c56ad510b16704727d3ab1fa5bb2e3c62b0bd7c0597564736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100c95760003560e01c8063461a4478116100815780639507d39a1161005b5780639507d39a146101a4578063b298e36b146101b7578063ccf8f969146101ca57600080fd5b8063461a4478146101695780634651d91e1461017c5780638da5cb5b1461018f57600080fd5b80632015276c116100b25780632015276c146100fe57806329061de214610111578063299ca4781461012457600080fd5b8063167fd681146100ce5780631f7b6d32146100e3575b600080fd5b6100e16100dc366004610c59565b6101e9565b005b6100eb61034d565b6040519081526020015b60405180910390f35b6100e161010c366004610c59565b610365565b6100e161011f366004610c85565b61043d565b6000546101449073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f5565b610144610177366004610cd6565b610517565b6100e161018a366004610da5565b6105c4565b61019761069b565b6040516100f59190610dbe565b6100eb6101b2366004610da5565b610729565b6100e16101c5366004610da5565b61073d565b6101d2610814565b60405164ffffffffff1990911681526020016100f5565b61027c600180546101f990610e31565b80601f016020809104026020016040519081016040528092919081815260200182805461022590610e31565b80156102725780601f1061024757610100808354040283529160200191610272565b820191906000526020600020905b81548152906001019060200180831161025557829003601f168201915b5050505050610517565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461033d57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e60648201526084015b60405180910390fd5b61034960028383610825565b5050565b6000610359600261090c565b64ffffffffff16905090565b610375600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461043157604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b61034960028383610957565b61044d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461050957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b6105146002826109e6565b50565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061056e908590600401610dbe565b60206040518083038186803b15801561058657600080fd5b505afa15801561059a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105be9190610e85565b92915050565b6105d4600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461069057604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610a47565b600180546106a890610e31565b80601f01602080910402602001604051908101604052809291908181526020018280546106d490610e31565b80156107215780601f106106f657610100808354040283529160200191610721565b820191906000526020600020905b81548152906001019060200180831161070457829003601f168201915b505050505081565b60006105be600264ffffffffff8416610aa4565b61074d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461080957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610b73565b60006108206002610bd0565b905090565b600061086784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050806000015164ffffffffff168364ffffffffff16106108e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b64ffffffffff8316815264ffffffffff19821660208201526109068482610c1e565b50505050565b60008061094f83604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b519392505050565b600061099984604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805164ffffffffff16600090815260018601602052604090208490558051909150816109c482610ebb565b64ffffffffff1690525064ffffffffff19821660208201526109068482610c1e565b6000610a2883604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b64ffffffffff19831660208201529050610a428382610c1e565b505050565b6000610a8983604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856108259092919063ffffffff16565b600080610ae784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805190915064ffffffffff168310610b5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b50506000908152600191909101602052604090205490565b6000610bb583604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856109579092919063ffffffff16565b600080610c1383604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b602001519392505050565b8051602082015183548183179291908314610c37578285555b5050505050565b803564ffffffffff1981168114610c5457600080fd5b919050565b60008060408385031215610c6c57600080fd5b82359150610c7c60208401610c3e565b90509250929050565b600060208284031215610c9757600080fd5b610ca082610c3e565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610ce857600080fd5b813567ffffffffffffffff80821115610d0057600080fd5b818401915084601f830112610d1457600080fd5b813581811115610d2657610d26610ca7565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610d6c57610d6c610ca7565b81604052828152876020848701011115610d8557600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208284031215610db757600080fd5b5035919050565b600060208083528351808285015260005b81811015610deb57858101830151858201604001528201610dcf565b81811115610dfd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600181811c90821680610e4557607f821691505b60208210811415610e7f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208284031215610e9757600080fd5b815173ffffffffffffffffffffffffffffffffffffffff81168114610ca057600080fd5b600064ffffffffff80831681811415610efd577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600101939250505056fea2646970667358221220e1995ee56c4c5e67de41c56ad510b16704727d3ab1fa5bb2e3c62b0bd7c0597564736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Vje=D((j1a,dUt)=>{dUt.exports={_format:"hh-sol-artifact-1",contractName:"ICanonicalTransactionChain",sourceName:"contracts/L1/rollup/ICanonicalTransactionChain.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Yje=D((G1a,lUt)=>{lUt.exports={_format:"hh-sol-artifact-1",contractName:"IChainStorageContainer",sourceName:"contracts/L1/rollup/IChainStorageContainer.sol",abi:[{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var $je=D((K1a,uUt)=>{uUt.exports={_format:"hh-sol-artifact-1",contractName:"IStateCommitmentChain",sourceName:"contracts/L1/rollup/IStateCommitmentChain.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"_verified",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Jje=D((Q1a,pUt)=>{pUt.exports={_format:"hh-sol-artifact-1",contractName:"StateCommitmentChain",sourceName:"contracts/L1/rollup/StateCommitmentChain.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_fraudProofWindow",type:"uint256"},{internalType:"uint256",name:"_sequencerPublishWindow",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[],name:"FRAUD_PROOF_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"SEQUENCER_PUBLISH_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506040516120bb3803806120bb83398101604081905261002f9161005b565b600080546001600160a01b0319166001600160a01b03949094169390931790925560015560025561009e565b60008060006060848603121561007057600080fd5b83516001600160a01b038116811461008757600080fd5b602085015160409095015190969495509392505050565b61200e806100ad6000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80638ca5cbb911610081578063c17b291b1161005b578063c17b291b146101bb578063cfdf677e146101c4578063e561dddc146101cc57600080fd5b80638ca5cbb9146101805780639418bddd14610195578063b8e189ac146101a857600080fd5b80637aa63a86116100b25780637aa63a86146101595780637ad168a01461016f57806381eb62ef1461017757600080fd5b8063299ca478146100d9578063461a4478146101235780634d69ee5714610136575b600080fd5b6000546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100f9610131366004611a1b565b6101d4565b610149610144366004611b8d565b610281565b604051901515815260200161011a565b610161610350565b60405190815260200161011a565b610161610369565b61016160025481565b61019361018e366004611c4a565b610382565b005b6101496101a3366004611c8f565b61075c565b6101936101b6366004611c8f565b610804565b61016160015481565b6100f96109c0565b6101616109e8565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061022b908590600401611d2f565b60206040518083038186803b15801561024357600080fd5b505afa158015610257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027b9190611d64565b92915050565b600061028c83610a6f565b6102dd5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064015b60405180910390fd5b6102fa836020015185846000015185602001518760400151610b31565b6103465760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420696e636c7573696f6e2070726f6f662e000000000000000060448201526064016102d4565b5060019392505050565b60008061035b610d9f565b5064ffffffffff1692915050565b600080610374610d9f565b64ffffffffff169392505050565b61038a610350565b81146103fe5760405162461bcd60e51b815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016102d4565b61043c6040518060400160405280600b81526020017f426f6e644d616e616765720000000000000000000000000000000000000000008152506101d4565b6040517f02ad4d2a00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff91909116906302ad4d2a9060240160206040518083038186803b1580156104a357600080fd5b505afa1580156104b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104db9190611d81565b61054d5760405162461bcd60e51b815260206004820152602f60248201527f50726f706f73657220646f6573206e6f74206861766520656e6f75676820636f60448201527f6c6c61746572616c20706f73746564000000000000000000000000000000000060648201526084016102d4565b60008251116105c45760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f74207375626d697420616e20656d7074792073746174652062617460448201527f63682e000000000000000000000000000000000000000000000000000000000060648201526084016102d4565b6106026040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff16637aa63a866040518163ffffffff1660e01b815260040160206040518083038186803b15801561064757600080fd5b505afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190611da3565b8251610689610350565b6106939190611deb565b111561072d5760405162461bcd60e51b815260206004820152604960248201527f4e756d626572206f6620737461746520726f6f74732063616e6e6f742065786360448201527f65656420746865206e756d626572206f662063616e6f6e6963616c207472616e60648201527f73616374696f6e732e0000000000000000000000000000000000000000000000608482015260a4016102d4565b6040805142602082015233818301528151808203830181526060909101909152610758908390610e43565b5050565b60008082608001518060200190518101906107779190611e03565b509050806107ed5760405162461bcd60e51b815260206004820152602560248201527f4261746368206865616465722074696d657374616d702063616e6e6f7420626560448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016102d4565b42600154826107fc9190611deb565b119392505050565b6108426040518060400160405280601181526020017f4f564d5f467261756456657269666965720000000000000000000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108e25760405162461bcd60e51b815260206004820152603b60248201527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f6420627920746865204f564d5f467261756456657269666965722e000000000060648201526084016102d4565b6108eb81610a6f565b6109375760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6109408161075c565b6109b4576040805162461bcd60e51b81526020600482015260248101919091527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f642077697468696e207468652066726175642070726f6f662077696e646f772e60648201526084016102d4565b6109bd816110e6565b50565b60006109e3604051806060016040528060218152602001611fb8602191396101d4565b905090565b60006109f26109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610a3757600080fd5b505afa158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e39190611da3565b6000610a796109c0565b82516040517f9507d39a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921691639507d39a91610ad19160040190815260200190565b60206040518083038186803b158015610ae957600080fd5b505afa158015610afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b219190611da3565b610b2a83611317565b1492915050565b6000808211610ba85760405162461bcd60e51b815260206004820152603760248201527f4c69625f4d65726b6c65547265653a20546f74616c206c6561766573206d757360448201527f742062652067726561746572207468616e207a65726f2e00000000000000000060648201526084016102d4565b818410610c1c5760405162461bcd60e51b8152602060048201526024808201527f4c69625f4d65726b6c65547265653a20496e646578206f7574206f6620626f7560448201527f6e64732e0000000000000000000000000000000000000000000000000000000060648201526084016102d4565b610c258261135d565b835114610cc05760405162461bcd60e51b815260206004820152604d60248201527f4c69625f4d65726b6c65547265653a20546f74616c207369626c696e6773206460448201527f6f6573206e6f7420636f72726563746c7920636f72726573706f6e6420746f2060648201527f746f74616c206c65617665732e00000000000000000000000000000000000000608482015260a4016102d4565b8460005b8451811015610d92578560011660011415610d2b57848181518110610ceb57610ceb611e33565b602002602001015182604051602001610d0e929190918252602082015260400190565b604051602081830303815290604052805190602001209150610d79565b81858281518110610d3e57610d3e611e33565b6020026020010151604051602001610d60929190918252602082015260400190565b6040516020818303038152906040528051906020012091505b60019590951c9480610d8a81611e62565b915050610cc4565b5090951495945050505050565b6000806000610dac6109c0565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b158015610df157600080fd5b505afa158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190611e9b565b64ffffffffff602882901c169460509190911c9350915050565b6000610e836040518060400160405280600c81526020017f4f564d5f50726f706f73657200000000000000000000000000000000000000008152506101d4565b9050600080610e90610d9f565b90925090503373ffffffffffffffffffffffffffffffffffffffff84161415610eba575042610f69565b426002548264ffffffffff16610ed09190611deb565b10610f695760405162461bcd60e51b815260206004820152604360248201527f43616e6e6f74207075626c69736820737461746520726f6f747320776974686960448201527f6e207468652073657175656e636572207075626c69636174696f6e2077696e6460648201527f6f772e0000000000000000000000000000000000000000000000000000000000608482015260a4016102d4565b60006040518060a00160405280610f7e6109e8565b8152602001610f8c88611443565b8152602001875181526020018464ffffffffff16815260200186815250905080600001517f16be4c5129a4e03cf3350262e181dc02ddfb4a6008d925368c0899fcd97ca9c58260200151836040015184606001518560800151604051610ff59493929190611edd565b60405180910390a26110056109c0565b73ffffffffffffffffffffffffffffffffffffffff16632015276c61102983611317565b61104e846040015185606001516110409190611deb565b602887811b91909117901b90565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156110c657600080fd5b505af11580156110da573d6000803e3d6000fd5b50505050505050505050565b6110ee6109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b15801561113357600080fd5b505afa158015611147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116b9190611da3565b8151106111ba5760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420626174636820696e6465782e00000000000000000000000060448201526064016102d4565b6111c381610a6f565b61120f5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6112176109c0565b8151606083015173ffffffffffffffffffffffffffffffffffffffff929092169163167fd681919060281b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156112ba57600080fd5b505af11580156112ce573d6000803e3d6000fd5b5050505080600001517f8747b69ce8fdb31c3b9b0a67bd8049ad8c1a69ea417b69b12174068abd9cbd64826020015160405161130c91815260200190565b60405180910390a250565b600081602001518260400151836060015184608001516040516020016113409493929190611edd565b604051602081830303815290604052805190602001209050919050565b60008082116113d45760405162461bcd60e51b815260206004820152603060248201527f4c69625f4d65726b6c65547265653a2043616e6e6f7420636f6d70757465206360448201527f65696c286c6f675f3229206f6620302e0000000000000000000000000000000060648201526084016102d4565b81600114156113e557506000919050565b81600060805b600181106114235780611401600180831b611f0c565b901b83161561141b576114148183611deb565b92811c9291505b60011c6113eb565b506001811b841461143c57611439600182611deb565b90505b9392505050565b6000808251116114bb5760405162461bcd60e51b815260206004820152603460248201527f4c69625f4d65726b6c65547265653a204d7573742070726f766964652061742060448201527f6c65617374206f6e65206c65616620686173682e00000000000000000000000060648201526084016102d4565b8151600114156114e757816000815181106114d8576114d8611e33565b60200260200101519050919050565b60408051610200810182527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56381527f633dc4d7da7256660a892f8f1604a44b5432649cc8ec5cb3ced4c4e6ac94dd1d60208201527f890740a8eb06ce9be422cb8da5cdafc2b58c0a5e24036c578de2a433c828ff7d818301527f3b8ec09e026fdc305365dfc94e189a81b38c7597b3d941c279f042e8206e0bd86060808301919091527fecd50eee38e386bd62be9bedb990706951b65fe053bd9d8a521af753d139e2da60808301527fdefff6d330bb5403f63b14f33b578274160de3a50df4efecf0e0db73bcdd3da560a08301527f617bdd11f7c0a11f49db22f629387a12da7596f9d1704d7465177c63d88ec7d760c08301527f292c23a9aa1d8bea7e2435e555a4a60e379a5a35f3f452bae60121073fb6eead60e08301527fe1cea92ed99acdcb045a6726b2f87107e8a61620a232cf4d7d5b5766b3952e106101008301527f7ad66c0a68c72cb89e4fb4303841966e4062a76ab97451e3b9fb526a5ceb7f826101208301527fe026cc5a4aed3c22a58cbd3d2ac754c9352c5436f638042dca99034e836365166101408301527f3d04cffd8b46a874edf5cfae63077de85f849a660426697b06a829c70dd1409c6101608301527fad676aa337a485e4728a0b240d92b3ef7b3c372d06d189322bfd5f61f1e7203e6101808301527fa2fca4a49658f9fab7aa63289c91b7c7b6c832a6d0e69334ff5b0a3483d09dab6101a08301527f4ebfd9cd7bca2505f7bef59cc1c12ecc708fff26ae4af19abe852afe9e20c8626101c08301527f2def10d13dd169f550f578bda343d9717a138562e0093b380a1120789d53cf106101e083015282518381529081018352909160009190602082018180368337505085519192506000918291508180805b60018411156118fd57611798600285611f52565b91506117a5600285611f66565b600114905060005b82811015611851578a6117c1826002611f7a565b815181106117d1576117d1611e33565b602002602001015196508a8160026117e99190611f7a565b6117f4906001611deb565b8151811061180457611804611e33565b6020026020010151955086602089015285604089015287805190602001208b828151811061183457611834611e33565b60209081029190910101528061184981611e62565b9150506117ad565b5080156118cd5789611864600186611f0c565b8151811061187457611874611e33565b6020026020010151955087836010811061189057611890611e33565b602002015160001b945085602088015284604088015286805190602001208a83815181106118c0576118c0611e33565b6020026020010181815250505b806118d95760006118dc565b60015b6118e99060ff1683611deb565b9350826118f581611e62565b935050611784565b8960008151811061191057611910611e33565b602002602001015198505050505050505050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561199d5761199d611927565b604052919050565b600067ffffffffffffffff8311156119bf576119bf611927565b6119f060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601611956565b9050828152838383011115611a0457600080fd5b828260208301376000602084830101529392505050565b600060208284031215611a2d57600080fd5b813567ffffffffffffffff811115611a4457600080fd5b8201601f81018413611a5557600080fd5b611a64848235602084016119a5565b949350505050565b600060a08284031215611a7e57600080fd5b60405160a0810167ffffffffffffffff8282108183111715611aa257611aa2611927565b81604052829350843583526020850135602084015260408501356040840152606085013560608401526080850135915080821115611adf57600080fd5b508301601f81018513611af157600080fd5b611b00858235602084016119a5565b6080830152505092915050565b600082601f830112611b1e57600080fd5b8135602067ffffffffffffffff821115611b3a57611b3a611927565b8160051b611b49828201611956565b9283528481018201928281019087851115611b6357600080fd5b83870192505b84831015611b8257823582529183019190830190611b69565b979650505050505050565b600080600060608486031215611ba257600080fd5b83359250602084013567ffffffffffffffff80821115611bc157600080fd5b611bcd87838801611a6c565b93506040860135915080821115611be357600080fd5b9085019060408288031215611bf757600080fd5b604051604081018181108382111715611c1257611c12611927565b60405282358152602083013582811115611c2b57600080fd5b611c3789828601611b0d565b6020830152508093505050509250925092565b60008060408385031215611c5d57600080fd5b823567ffffffffffffffff811115611c7457600080fd5b611c8085828601611b0d565b95602094909401359450505050565b600060208284031215611ca157600080fd5b813567ffffffffffffffff811115611cb857600080fd5b611a6484828501611a6c565b6000815180845260005b81811015611cea57602081850181015186830182015201611cce565b81811115611cfc576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061143c6020830184611cc4565b73ffffffffffffffffffffffffffffffffffffffff811681146109bd57600080fd5b600060208284031215611d7657600080fd5b815161143c81611d42565b600060208284031215611d9357600080fd5b8151801515811461143c57600080fd5b600060208284031215611db557600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115611dfe57611dfe611dbc565b500190565b60008060408385031215611e1657600080fd5b825191506020830151611e2881611d42565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611e9457611e94611dbc565b5060010190565b600060208284031215611ead57600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461143c57600080fd5b848152836020820152826040820152608060608201526000611f026080830184611cc4565b9695505050505050565b600082821015611f1e57611f1e611dbc565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082611f6157611f61611f23565b500490565b600082611f7557611f75611f23565b500690565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611fb257611fb2611dbc565b50029056fe436861696e53746f72616765436f6e7461696e65722d5343432d62617463686573a26469706673582212209fa13437d607d4f762adfcb0d6685a91847a6cbe7462977fd99188a01185f7b564736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100d45760003560e01c80638ca5cbb911610081578063c17b291b1161005b578063c17b291b146101bb578063cfdf677e146101c4578063e561dddc146101cc57600080fd5b80638ca5cbb9146101805780639418bddd14610195578063b8e189ac146101a857600080fd5b80637aa63a86116100b25780637aa63a86146101595780637ad168a01461016f57806381eb62ef1461017757600080fd5b8063299ca478146100d9578063461a4478146101235780634d69ee5714610136575b600080fd5b6000546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100f9610131366004611a1b565b6101d4565b610149610144366004611b8d565b610281565b604051901515815260200161011a565b610161610350565b60405190815260200161011a565b610161610369565b61016160025481565b61019361018e366004611c4a565b610382565b005b6101496101a3366004611c8f565b61075c565b6101936101b6366004611c8f565b610804565b61016160015481565b6100f96109c0565b6101616109e8565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061022b908590600401611d2f565b60206040518083038186803b15801561024357600080fd5b505afa158015610257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027b9190611d64565b92915050565b600061028c83610a6f565b6102dd5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064015b60405180910390fd5b6102fa836020015185846000015185602001518760400151610b31565b6103465760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420696e636c7573696f6e2070726f6f662e000000000000000060448201526064016102d4565b5060019392505050565b60008061035b610d9f565b5064ffffffffff1692915050565b600080610374610d9f565b64ffffffffff169392505050565b61038a610350565b81146103fe5760405162461bcd60e51b815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016102d4565b61043c6040518060400160405280600b81526020017f426f6e644d616e616765720000000000000000000000000000000000000000008152506101d4565b6040517f02ad4d2a00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff91909116906302ad4d2a9060240160206040518083038186803b1580156104a357600080fd5b505afa1580156104b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104db9190611d81565b61054d5760405162461bcd60e51b815260206004820152602f60248201527f50726f706f73657220646f6573206e6f74206861766520656e6f75676820636f60448201527f6c6c61746572616c20706f73746564000000000000000000000000000000000060648201526084016102d4565b60008251116105c45760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f74207375626d697420616e20656d7074792073746174652062617460448201527f63682e000000000000000000000000000000000000000000000000000000000060648201526084016102d4565b6106026040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff16637aa63a866040518163ffffffff1660e01b815260040160206040518083038186803b15801561064757600080fd5b505afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190611da3565b8251610689610350565b6106939190611deb565b111561072d5760405162461bcd60e51b815260206004820152604960248201527f4e756d626572206f6620737461746520726f6f74732063616e6e6f742065786360448201527f65656420746865206e756d626572206f662063616e6f6e6963616c207472616e60648201527f73616374696f6e732e0000000000000000000000000000000000000000000000608482015260a4016102d4565b6040805142602082015233818301528151808203830181526060909101909152610758908390610e43565b5050565b60008082608001518060200190518101906107779190611e03565b509050806107ed5760405162461bcd60e51b815260206004820152602560248201527f4261746368206865616465722074696d657374616d702063616e6e6f7420626560448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016102d4565b42600154826107fc9190611deb565b119392505050565b6108426040518060400160405280601181526020017f4f564d5f467261756456657269666965720000000000000000000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108e25760405162461bcd60e51b815260206004820152603b60248201527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f6420627920746865204f564d5f467261756456657269666965722e000000000060648201526084016102d4565b6108eb81610a6f565b6109375760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6109408161075c565b6109b4576040805162461bcd60e51b81526020600482015260248101919091527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f642077697468696e207468652066726175642070726f6f662077696e646f772e60648201526084016102d4565b6109bd816110e6565b50565b60006109e3604051806060016040528060218152602001611fb8602191396101d4565b905090565b60006109f26109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610a3757600080fd5b505afa158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e39190611da3565b6000610a796109c0565b82516040517f9507d39a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921691639507d39a91610ad19160040190815260200190565b60206040518083038186803b158015610ae957600080fd5b505afa158015610afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b219190611da3565b610b2a83611317565b1492915050565b6000808211610ba85760405162461bcd60e51b815260206004820152603760248201527f4c69625f4d65726b6c65547265653a20546f74616c206c6561766573206d757360448201527f742062652067726561746572207468616e207a65726f2e00000000000000000060648201526084016102d4565b818410610c1c5760405162461bcd60e51b8152602060048201526024808201527f4c69625f4d65726b6c65547265653a20496e646578206f7574206f6620626f7560448201527f6e64732e0000000000000000000000000000000000000000000000000000000060648201526084016102d4565b610c258261135d565b835114610cc05760405162461bcd60e51b815260206004820152604d60248201527f4c69625f4d65726b6c65547265653a20546f74616c207369626c696e6773206460448201527f6f6573206e6f7420636f72726563746c7920636f72726573706f6e6420746f2060648201527f746f74616c206c65617665732e00000000000000000000000000000000000000608482015260a4016102d4565b8460005b8451811015610d92578560011660011415610d2b57848181518110610ceb57610ceb611e33565b602002602001015182604051602001610d0e929190918252602082015260400190565b604051602081830303815290604052805190602001209150610d79565b81858281518110610d3e57610d3e611e33565b6020026020010151604051602001610d60929190918252602082015260400190565b6040516020818303038152906040528051906020012091505b60019590951c9480610d8a81611e62565b915050610cc4565b5090951495945050505050565b6000806000610dac6109c0565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b158015610df157600080fd5b505afa158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190611e9b565b64ffffffffff602882901c169460509190911c9350915050565b6000610e836040518060400160405280600c81526020017f4f564d5f50726f706f73657200000000000000000000000000000000000000008152506101d4565b9050600080610e90610d9f565b90925090503373ffffffffffffffffffffffffffffffffffffffff84161415610eba575042610f69565b426002548264ffffffffff16610ed09190611deb565b10610f695760405162461bcd60e51b815260206004820152604360248201527f43616e6e6f74207075626c69736820737461746520726f6f747320776974686960448201527f6e207468652073657175656e636572207075626c69636174696f6e2077696e6460648201527f6f772e0000000000000000000000000000000000000000000000000000000000608482015260a4016102d4565b60006040518060a00160405280610f7e6109e8565b8152602001610f8c88611443565b8152602001875181526020018464ffffffffff16815260200186815250905080600001517f16be4c5129a4e03cf3350262e181dc02ddfb4a6008d925368c0899fcd97ca9c58260200151836040015184606001518560800151604051610ff59493929190611edd565b60405180910390a26110056109c0565b73ffffffffffffffffffffffffffffffffffffffff16632015276c61102983611317565b61104e846040015185606001516110409190611deb565b602887811b91909117901b90565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156110c657600080fd5b505af11580156110da573d6000803e3d6000fd5b50505050505050505050565b6110ee6109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b15801561113357600080fd5b505afa158015611147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116b9190611da3565b8151106111ba5760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420626174636820696e6465782e00000000000000000000000060448201526064016102d4565b6111c381610a6f565b61120f5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6112176109c0565b8151606083015173ffffffffffffffffffffffffffffffffffffffff929092169163167fd681919060281b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156112ba57600080fd5b505af11580156112ce573d6000803e3d6000fd5b5050505080600001517f8747b69ce8fdb31c3b9b0a67bd8049ad8c1a69ea417b69b12174068abd9cbd64826020015160405161130c91815260200190565b60405180910390a250565b600081602001518260400151836060015184608001516040516020016113409493929190611edd565b604051602081830303815290604052805190602001209050919050565b60008082116113d45760405162461bcd60e51b815260206004820152603060248201527f4c69625f4d65726b6c65547265653a2043616e6e6f7420636f6d70757465206360448201527f65696c286c6f675f3229206f6620302e0000000000000000000000000000000060648201526084016102d4565b81600114156113e557506000919050565b81600060805b600181106114235780611401600180831b611f0c565b901b83161561141b576114148183611deb565b92811c9291505b60011c6113eb565b506001811b841461143c57611439600182611deb565b90505b9392505050565b6000808251116114bb5760405162461bcd60e51b815260206004820152603460248201527f4c69625f4d65726b6c65547265653a204d7573742070726f766964652061742060448201527f6c65617374206f6e65206c65616620686173682e00000000000000000000000060648201526084016102d4565b8151600114156114e757816000815181106114d8576114d8611e33565b60200260200101519050919050565b60408051610200810182527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56381527f633dc4d7da7256660a892f8f1604a44b5432649cc8ec5cb3ced4c4e6ac94dd1d60208201527f890740a8eb06ce9be422cb8da5cdafc2b58c0a5e24036c578de2a433c828ff7d818301527f3b8ec09e026fdc305365dfc94e189a81b38c7597b3d941c279f042e8206e0bd86060808301919091527fecd50eee38e386bd62be9bedb990706951b65fe053bd9d8a521af753d139e2da60808301527fdefff6d330bb5403f63b14f33b578274160de3a50df4efecf0e0db73bcdd3da560a08301527f617bdd11f7c0a11f49db22f629387a12da7596f9d1704d7465177c63d88ec7d760c08301527f292c23a9aa1d8bea7e2435e555a4a60e379a5a35f3f452bae60121073fb6eead60e08301527fe1cea92ed99acdcb045a6726b2f87107e8a61620a232cf4d7d5b5766b3952e106101008301527f7ad66c0a68c72cb89e4fb4303841966e4062a76ab97451e3b9fb526a5ceb7f826101208301527fe026cc5a4aed3c22a58cbd3d2ac754c9352c5436f638042dca99034e836365166101408301527f3d04cffd8b46a874edf5cfae63077de85f849a660426697b06a829c70dd1409c6101608301527fad676aa337a485e4728a0b240d92b3ef7b3c372d06d189322bfd5f61f1e7203e6101808301527fa2fca4a49658f9fab7aa63289c91b7c7b6c832a6d0e69334ff5b0a3483d09dab6101a08301527f4ebfd9cd7bca2505f7bef59cc1c12ecc708fff26ae4af19abe852afe9e20c8626101c08301527f2def10d13dd169f550f578bda343d9717a138562e0093b380a1120789d53cf106101e083015282518381529081018352909160009190602082018180368337505085519192506000918291508180805b60018411156118fd57611798600285611f52565b91506117a5600285611f66565b600114905060005b82811015611851578a6117c1826002611f7a565b815181106117d1576117d1611e33565b602002602001015196508a8160026117e99190611f7a565b6117f4906001611deb565b8151811061180457611804611e33565b6020026020010151955086602089015285604089015287805190602001208b828151811061183457611834611e33565b60209081029190910101528061184981611e62565b9150506117ad565b5080156118cd5789611864600186611f0c565b8151811061187457611874611e33565b6020026020010151955087836010811061189057611890611e33565b602002015160001b945085602088015284604088015286805190602001208a83815181106118c0576118c0611e33565b6020026020010181815250505b806118d95760006118dc565b60015b6118e99060ff1683611deb565b9350826118f581611e62565b935050611784565b8960008151811061191057611910611e33565b602002602001015198505050505050505050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561199d5761199d611927565b604052919050565b600067ffffffffffffffff8311156119bf576119bf611927565b6119f060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601611956565b9050828152838383011115611a0457600080fd5b828260208301376000602084830101529392505050565b600060208284031215611a2d57600080fd5b813567ffffffffffffffff811115611a4457600080fd5b8201601f81018413611a5557600080fd5b611a64848235602084016119a5565b949350505050565b600060a08284031215611a7e57600080fd5b60405160a0810167ffffffffffffffff8282108183111715611aa257611aa2611927565b81604052829350843583526020850135602084015260408501356040840152606085013560608401526080850135915080821115611adf57600080fd5b508301601f81018513611af157600080fd5b611b00858235602084016119a5565b6080830152505092915050565b600082601f830112611b1e57600080fd5b8135602067ffffffffffffffff821115611b3a57611b3a611927565b8160051b611b49828201611956565b9283528481018201928281019087851115611b6357600080fd5b83870192505b84831015611b8257823582529183019190830190611b69565b979650505050505050565b600080600060608486031215611ba257600080fd5b83359250602084013567ffffffffffffffff80821115611bc157600080fd5b611bcd87838801611a6c565b93506040860135915080821115611be357600080fd5b9085019060408288031215611bf757600080fd5b604051604081018181108382111715611c1257611c12611927565b60405282358152602083013582811115611c2b57600080fd5b611c3789828601611b0d565b6020830152508093505050509250925092565b60008060408385031215611c5d57600080fd5b823567ffffffffffffffff811115611c7457600080fd5b611c8085828601611b0d565b95602094909401359450505050565b600060208284031215611ca157600080fd5b813567ffffffffffffffff811115611cb857600080fd5b611a6484828501611a6c565b6000815180845260005b81811015611cea57602081850181015186830182015201611cce565b81811115611cfc576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061143c6020830184611cc4565b73ffffffffffffffffffffffffffffffffffffffff811681146109bd57600080fd5b600060208284031215611d7657600080fd5b815161143c81611d42565b600060208284031215611d9357600080fd5b8151801515811461143c57600080fd5b600060208284031215611db557600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115611dfe57611dfe611dbc565b500190565b60008060408385031215611e1657600080fd5b825191506020830151611e2881611d42565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611e9457611e94611dbc565b5060010190565b600060208284031215611ead57600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461143c57600080fd5b848152836020820152826040820152608060608201526000611f026080830184611cc4565b9695505050505050565b600082821015611f1e57611f1e611dbc565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082611f6157611f61611f23565b500490565b600082611f7557611f75611f23565b500690565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611fb257611fb2611dbc565b50029056fe436861696e53746f72616765436f6e7461696e65722d5343432d62617463686573a26469706673582212209fa13437d607d4f762adfcb0d6685a91847a6cbe7462977fd99188a01185f7b564736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Xje=D((V1a,hUt)=>{hUt.exports={_format:"hh-sol-artifact-1",contractName:"BondManager",sourceName:"contracts/L1/verification/BondManager.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5060405161048838038061048883398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b6103f5806100936000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806302ad4d2a14610046578063299ca4781461006e578063461a4478146100b3575b600080fd5b61005961005436600461020d565b6100c6565b60405190151581526020015b60405180910390f35b60005461008e9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610065565b61008e6100c1366004610260565b61013b565b60006101066040518060400160405280600c81526020017f4f564d5f50726f706f736572000000000000000000000000000000000000000081525061013b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061019290859060040161032f565b60206040518083038186803b1580156101aa57600080fd5b505afa1580156101be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e291906103a2565b92915050565b73ffffffffffffffffffffffffffffffffffffffff8116811461020a57600080fd5b50565b60006020828403121561021f57600080fd5b813561022a816101e8565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561027257600080fd5b813567ffffffffffffffff8082111561028a57600080fd5b818401915084601f83011261029e57600080fd5b8135818111156102b0576102b0610231565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156102f6576102f6610231565b8160405282815287602084870101111561030f57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b8181101561035c57858101830151858201604001528201610340565b8181111561036e576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000602082840312156103b457600080fd5b815161022a816101e856fea26469706673582212206d45ac9d4da85c7fa5ddf8f46b2c33843e35e585aeabba15cbcdb39ea83ef2e064736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100415760003560e01c806302ad4d2a14610046578063299ca4781461006e578063461a4478146100b3575b600080fd5b61005961005436600461020d565b6100c6565b60405190151581526020015b60405180910390f35b60005461008e9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610065565b61008e6100c1366004610260565b61013b565b60006101066040518060400160405280600c81526020017f4f564d5f50726f706f736572000000000000000000000000000000000000000081525061013b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061019290859060040161032f565b60206040518083038186803b1580156101aa57600080fd5b505afa1580156101be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e291906103a2565b92915050565b73ffffffffffffffffffffffffffffffffffffffff8116811461020a57600080fd5b50565b60006020828403121561021f57600080fd5b813561022a816101e8565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561027257600080fd5b813567ffffffffffffffff8082111561028a57600080fd5b818401915084601f83011261029e57600080fd5b8135818111156102b0576102b0610231565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156102f6576102f6610231565b8160405282815287602084870101111561030f57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b8181101561035c57858101830151858201604001528201610340565b8181111561036e576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000602082840312156103b457600080fd5b815161022a816101e856fea26469706673582212206d45ac9d4da85c7fa5ddf8f46b2c33843e35e585aeabba15cbcdb39ea83ef2e064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Zje=D((Y1a,bUt)=>{bUt.exports={_format:"hh-sol-artifact-1",contractName:"IBondManager",sourceName:"contracts/L1/verification/IBondManager.sol",abi:[{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var eGe=D(($1a,mUt)=>{mUt.exports={_format:"hh-sol-artifact-1",contractName:"IL2CrossDomainMessenger",sourceName:"contracts/L2/messaging/IL2CrossDomainMessenger.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var tGe=D((J1a,yUt)=>{yUt.exports={_format:"hh-sol-artifact-1",contractName:"IL2ERC20Bridge",sourceName:"contracts/L2/messaging/IL2ERC20Bridge.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFailed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"WithdrawalInitiated",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var nGe=D((X1a,gUt)=>{gUt.exports={_format:"hh-sol-artifact-1",contractName:"L2CrossDomainMessenger",sourceName:"contracts/L2/messaging/L2CrossDomainMessenger.sol",abi:[{inputs:[{internalType:"address",name:"_l1CrossDomainMessenger",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[],name:"l1CrossDomainMessenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"sentMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x6080604052600480546001600160a01b03191661dead17905534801561002457600080fd5b50604051610cc3380380610cc383398101604081905261004391610068565b600580546001600160a01b0319166001600160a01b0392909216919091179055610098565b60006020828403121561007a57600080fd5b81516001600160a01b038116811461009157600080fd5b9392505050565b610c1c806100a76000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063a71198691161005b578063a71198691461012a578063b1b1b2091461014a578063cbd4ece91461016d578063ecc704281461018057600080fd5b806321d800ec1461008d5780633dbb202b146100c55780636e296e45146100da57806382e3702d14610107575b600080fd5b6100b061009b366004610826565b60006020819052908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100d86100d3366004610942565b610197565b005b6100e26102e2565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100bc565b6100b0610115366004610826565b60026020526000908152604090205460ff1681565b6005546100e29073ffffffffffffffffffffffffffffffffffffffff1681565b6100b0610158366004610826565b60016020526000908152604090205460ff1681565b6100d861017b3660046109ad565b61038b565b61018960035481565b6040519081526020016100bc565b60006101a784338560035461078d565b80516020808301919091206000908152600290915260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055517fcafa81dc0000000000000000000000000000000000000000000000000000000081529091507342000000000000000000000000000000000000009063cafa81dc9061023c908490600401610a89565b600060405180830381600087803b15801561025657600080fd5b505af115801561026a573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385600354866040516102bc9493929190610aa3565b60405180910390a26001600360008282546102d79190610aef565b909155505050505050565b60045460009073ffffffffffffffffffffffffffffffffffffffff1661dead141561036e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060045473ffffffffffffffffffffffffffffffffffffffff1690565b60055473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef330173ffffffffffffffffffffffffffffffffffffffff161461046a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610365565b60006104788585858561078d565b8051602080830191909120600081815260019092526040909120549192509060ff1615610527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610365565b73ffffffffffffffffffffffffffffffffffffffff8616734200000000000000000000000000000000000000141561059957600090815260016020819052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909117905550610787565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff878116919091179091556040516000918816906105f2908790610b2e565b6000604051808303816000865af19150503d806000811461062f576040519150601f19603f3d011682016040523d82523d6000602084013e610634565b606091505b5050600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790559050801515600114156106d557600082815260016020819052604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169092179091555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610701565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b600083334360405160200161071893929190610b4a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181528151602092830120600090815291829052902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055505050505b50505050565b6060848484846040516024016107a69493929190610b9c565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b60006020828403121561083857600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461086357600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126108a857600080fd5b813567ffffffffffffffff808211156108c3576108c3610868565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561090957610909610868565b8160405283815286602085880101111561092257600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561095757600080fd5b6109608461083f565b9250602084013567ffffffffffffffff81111561097c57600080fd5b61098886828701610897565b925050604084013563ffffffff811681146109a257600080fd5b809150509250925092565b600080600080608085870312156109c357600080fd5b6109cc8561083f565b93506109da6020860161083f565b9250604085013567ffffffffffffffff8111156109f657600080fd5b610a0287828801610897565b949793965093946060013593505050565b60005b83811015610a2e578181015183820152602001610a16565b838111156107875750506000910152565b60008151808452610a57816020860160208601610a13565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610a9c6020830184610a3f565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000610ad26080830186610a3f565b905083604083015263ffffffff8316606083015295945050505050565b60008219821115610b29577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500190565b60008251610b40818460208701610a13565b9190910192915050565b60008451610b5c818460208901610a13565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152610bd56080830185610a3f565b90508260608301529594505050505056fea26469706673582212200850448c0279e4b97192d90d3a7dc1713b21b1d60ff8c8e34c2f8910d610b65064736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063a71198691161005b578063a71198691461012a578063b1b1b2091461014a578063cbd4ece91461016d578063ecc704281461018057600080fd5b806321d800ec1461008d5780633dbb202b146100c55780636e296e45146100da57806382e3702d14610107575b600080fd5b6100b061009b366004610826565b60006020819052908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100d86100d3366004610942565b610197565b005b6100e26102e2565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100bc565b6100b0610115366004610826565b60026020526000908152604090205460ff1681565b6005546100e29073ffffffffffffffffffffffffffffffffffffffff1681565b6100b0610158366004610826565b60016020526000908152604090205460ff1681565b6100d861017b3660046109ad565b61038b565b61018960035481565b6040519081526020016100bc565b60006101a784338560035461078d565b80516020808301919091206000908152600290915260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055517fcafa81dc0000000000000000000000000000000000000000000000000000000081529091507342000000000000000000000000000000000000009063cafa81dc9061023c908490600401610a89565b600060405180830381600087803b15801561025657600080fd5b505af115801561026a573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385600354866040516102bc9493929190610aa3565b60405180910390a26001600360008282546102d79190610aef565b909155505050505050565b60045460009073ffffffffffffffffffffffffffffffffffffffff1661dead141561036e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060045473ffffffffffffffffffffffffffffffffffffffff1690565b60055473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef330173ffffffffffffffffffffffffffffffffffffffff161461046a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610365565b60006104788585858561078d565b8051602080830191909120600081815260019092526040909120549192509060ff1615610527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610365565b73ffffffffffffffffffffffffffffffffffffffff8616734200000000000000000000000000000000000000141561059957600090815260016020819052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909117905550610787565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff878116919091179091556040516000918816906105f2908790610b2e565b6000604051808303816000865af19150503d806000811461062f576040519150601f19603f3d011682016040523d82523d6000602084013e610634565b606091505b5050600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790559050801515600114156106d557600082815260016020819052604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169092179091555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610701565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b600083334360405160200161071893929190610b4a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181528151602092830120600090815291829052902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055505050505b50505050565b6060848484846040516024016107a69493929190610b9c565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b60006020828403121561083857600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461086357600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126108a857600080fd5b813567ffffffffffffffff808211156108c3576108c3610868565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561090957610909610868565b8160405283815286602085880101111561092257600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561095757600080fd5b6109608461083f565b9250602084013567ffffffffffffffff81111561097c57600080fd5b61098886828701610897565b925050604084013563ffffffff811681146109a257600080fd5b809150509250925092565b600080600080608085870312156109c357600080fd5b6109cc8561083f565b93506109da6020860161083f565b9250604085013567ffffffffffffffff8111156109f657600080fd5b610a0287828801610897565b949793965093946060013593505050565b60005b83811015610a2e578181015183820152602001610a16565b838111156107875750506000910152565b60008151808452610a57816020860160208601610a13565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610a9c6020830184610a3f565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000610ad26080830186610a3f565b905083604083015263ffffffff8316606083015295945050505050565b60008219821115610b29577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500190565b60008251610b40818460208701610a13565b9190910192915050565b60008451610b5c818460208901610a13565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152610bd56080830185610a3f565b90508260608301529594505050505056fea26469706673582212200850448c0279e4b97192d90d3a7dc1713b21b1d60ff8c8e34c2f8910d610b65064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var aGe=D((Z1a,vUt)=>{vUt.exports={_format:"hh-sol-artifact-1",contractName:"L2StandardBridge",sourceName:"contracts/L2/messaging/L2StandardBridge.sol",abi:[{inputs:[{internalType:"address",name:"_l2CrossDomainMessenger",type:"address"},{internalType:"address",name:"_l1TokenBridge",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFailed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"WithdrawalInitiated",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506040516111c43803806111c483398101604081905261002f9161007c565b600080546001600160a01b039384166001600160a01b031991821617909155600180549290931691161790556100af565b80516001600160a01b038116811461007757600080fd5b919050565b6000806040838503121561008f57600080fd5b61009883610060565b91506100a660208401610060565b90509250929050565b611106806100be6000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80633cb747bf116100505780633cb747bf146100ca578063662a633a146100ea578063a3a79548146100fd57600080fd5b806332b7006d1461006c57806336c717c114610081575b600080fd5b61007f61007a366004610d0f565b610110565b005b6001546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b61007f6100f8366004610d80565b610126565b61007f61010b366004610e18565b6106c1565b61011f853333878787876106d8565b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661015e60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461021d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e7469636174656400000000000000000000000000000000000060648201526084015b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661025360005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561029857600080fd5b505afa1580156102ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d09190610e9b565b73ffffffffffffffffffffffffffffffffffffffff1614610373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610214565b61039d877f1d1d8b6300000000000000000000000000000000000000000000000000000000610a32565b801561045357508673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156103ec57600080fd5b505af1158015610400573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104249190610e9b565b73ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16145b15610567576040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018690528816906340c10f1990604401600060405180830381600087803b1580156104c857600080fd5b505af11580156104dc573d6000803e3d6000fd5b505050508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd898888888860405161055a9493929190610f08565b60405180910390a46106b7565b600063a9f9e67560e01b8989888a89898960405160240161058e9796959493929190610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506106339073ffffffffffffffffffffffffffffffffffffffff16600083610a57565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167f7ea89a4591614515571c2b51f5ea06494056f261c10ab1ed8c03c7590d87bce0898989896040516106ad9493929190610f08565b60405180910390a4505b5050505050505050565b6106d0863387878787876106d8565b505050505050565b6040517f9dc29fac0000000000000000000000000000000000000000000000000000000081523360048201526024810185905273ffffffffffffffffffffffffffffffffffffffff881690639dc29fac90604401600060405180830381600087803b15801561074657600080fd5b505af115801561075a573d6000803e3d6000fd5b5050505060008773ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156107a857600080fd5b505af11580156107bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e09190610e9b565b9050606073ffffffffffffffffffffffffffffffffffffffff891673deaddeaddeaddeaddeaddeaddeaddeaddead000014156108d5576040517f1532ec340000000000000000000000000000000000000000000000000000000090610851908a908a908a9089908990602401610f9b565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091529050610994565b6040517fa9f9e67500000000000000000000000000000000000000000000000000000000906109149084908c908c908c908c908b908b90602401610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915290505b6001546109b89073ffffffffffffffffffffffffffffffffffffffff168683610a57565b3373ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e8a8a89896040516106ad9493929190610f08565b6000610a3d83610ae8565b8015610a4e5750610a4e8383610b4c565b90505b92915050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610ab190869085908790600401611016565b600060405180830381600087803b158015610acb57600080fd5b505af1158015610adf573d6000803e3d6000fd5b50505050505050565b6000610b14827f01ffc9a700000000000000000000000000000000000000000000000000000000610b4c565b8015610a515750610b45827fffffffff00000000000000000000000000000000000000000000000000000000610b4c565b1592915050565b604080517fffffffff00000000000000000000000000000000000000000000000000000000831660248083019190915282518083039091018152604490910182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a7000000000000000000000000000000000000000000000000000000001790529051600091908290819073ffffffffffffffffffffffffffffffffffffffff87169061753090610c06908690611092565b6000604051808303818686fa925050503d8060008114610c42576040519150601f19603f3d011682016040523d82523d6000602084013e610c47565b606091505b5091509150602081511015610c625760009350505050610a51565b818015610c7e575080806020019051810190610c7e91906110ae565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610caa57600080fd5b50565b803563ffffffff81168114610cc157600080fd5b919050565b60008083601f840112610cd857600080fd5b50813567ffffffffffffffff811115610cf057600080fd5b602083019150836020828501011115610d0857600080fd5b9250929050565b600080600080600060808688031215610d2757600080fd5b8535610d3281610c88565b945060208601359350610d4760408701610cad565b9250606086013567ffffffffffffffff811115610d6357600080fd5b610d6f88828901610cc6565b969995985093965092949392505050565b600080600080600080600060c0888a031215610d9b57600080fd5b8735610da681610c88565b96506020880135610db681610c88565b95506040880135610dc681610c88565b94506060880135610dd681610c88565b93506080880135925060a088013567ffffffffffffffff811115610df957600080fd5b610e058a828b01610cc6565b989b979a50959850939692959293505050565b60008060008060008060a08789031215610e3157600080fd5b8635610e3c81610c88565b95506020870135610e4c81610c88565b945060408701359350610e6160608801610cad565b9250608087013567ffffffffffffffff811115610e7d57600080fd5b610e8989828a01610cc6565b979a9699509497509295939492505050565b600060208284031215610ead57600080fd5b8151610eb881610c88565b9392505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff85168152836020820152606060408201526000610c7e606083018486610ebf565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a0830152610f8e60c083018486610ebf565b9998505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015260806060830152610fdb608083018486610ebf565b979650505050505050565b60005b83811015611001578181015183820152602001610fe9565b83811115611010576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260008351806060840152611051816080850160208801610fe6565b63ffffffff93909316604083015250601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160160800192915050565b600082516110a4818460208701610fe6565b9190910192915050565b6000602082840312156110c057600080fd5b81518015158114610eb857600080fdfea264697066735822122010667ebcc24792729564391d0b930bac1cb56e230a93bcfd2f78b11ecc51757e64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100675760003560e01c80633cb747bf116100505780633cb747bf146100ca578063662a633a146100ea578063a3a79548146100fd57600080fd5b806332b7006d1461006c57806336c717c114610081575b600080fd5b61007f61007a366004610d0f565b610110565b005b6001546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b61007f6100f8366004610d80565b610126565b61007f61010b366004610e18565b6106c1565b61011f853333878787876106d8565b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661015e60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461021d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e7469636174656400000000000000000000000000000000000060648201526084015b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661025360005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561029857600080fd5b505afa1580156102ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d09190610e9b565b73ffffffffffffffffffffffffffffffffffffffff1614610373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610214565b61039d877f1d1d8b6300000000000000000000000000000000000000000000000000000000610a32565b801561045357508673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156103ec57600080fd5b505af1158015610400573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104249190610e9b565b73ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16145b15610567576040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018690528816906340c10f1990604401600060405180830381600087803b1580156104c857600080fd5b505af11580156104dc573d6000803e3d6000fd5b505050508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd898888888860405161055a9493929190610f08565b60405180910390a46106b7565b600063a9f9e67560e01b8989888a89898960405160240161058e9796959493929190610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506106339073ffffffffffffffffffffffffffffffffffffffff16600083610a57565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167f7ea89a4591614515571c2b51f5ea06494056f261c10ab1ed8c03c7590d87bce0898989896040516106ad9493929190610f08565b60405180910390a4505b5050505050505050565b6106d0863387878787876106d8565b505050505050565b6040517f9dc29fac0000000000000000000000000000000000000000000000000000000081523360048201526024810185905273ffffffffffffffffffffffffffffffffffffffff881690639dc29fac90604401600060405180830381600087803b15801561074657600080fd5b505af115801561075a573d6000803e3d6000fd5b5050505060008773ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156107a857600080fd5b505af11580156107bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e09190610e9b565b9050606073ffffffffffffffffffffffffffffffffffffffff891673deaddeaddeaddeaddeaddeaddeaddeaddead000014156108d5576040517f1532ec340000000000000000000000000000000000000000000000000000000090610851908a908a908a9089908990602401610f9b565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091529050610994565b6040517fa9f9e67500000000000000000000000000000000000000000000000000000000906109149084908c908c908c908c908b908b90602401610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915290505b6001546109b89073ffffffffffffffffffffffffffffffffffffffff168683610a57565b3373ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e8a8a89896040516106ad9493929190610f08565b6000610a3d83610ae8565b8015610a4e5750610a4e8383610b4c565b90505b92915050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610ab190869085908790600401611016565b600060405180830381600087803b158015610acb57600080fd5b505af1158015610adf573d6000803e3d6000fd5b50505050505050565b6000610b14827f01ffc9a700000000000000000000000000000000000000000000000000000000610b4c565b8015610a515750610b45827fffffffff00000000000000000000000000000000000000000000000000000000610b4c565b1592915050565b604080517fffffffff00000000000000000000000000000000000000000000000000000000831660248083019190915282518083039091018152604490910182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a7000000000000000000000000000000000000000000000000000000001790529051600091908290819073ffffffffffffffffffffffffffffffffffffffff87169061753090610c06908690611092565b6000604051808303818686fa925050503d8060008114610c42576040519150601f19603f3d011682016040523d82523d6000602084013e610c47565b606091505b5091509150602081511015610c625760009350505050610a51565b818015610c7e575080806020019051810190610c7e91906110ae565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610caa57600080fd5b50565b803563ffffffff81168114610cc157600080fd5b919050565b60008083601f840112610cd857600080fd5b50813567ffffffffffffffff811115610cf057600080fd5b602083019150836020828501011115610d0857600080fd5b9250929050565b600080600080600060808688031215610d2757600080fd5b8535610d3281610c88565b945060208601359350610d4760408701610cad565b9250606086013567ffffffffffffffff811115610d6357600080fd5b610d6f88828901610cc6565b969995985093965092949392505050565b600080600080600080600060c0888a031215610d9b57600080fd5b8735610da681610c88565b96506020880135610db681610c88565b95506040880135610dc681610c88565b94506060880135610dd681610c88565b93506080880135925060a088013567ffffffffffffffff811115610df957600080fd5b610e058a828b01610cc6565b989b979a50959850939692959293505050565b60008060008060008060a08789031215610e3157600080fd5b8635610e3c81610c88565b95506020870135610e4c81610c88565b945060408701359350610e6160608801610cad565b9250608087013567ffffffffffffffff811115610e7d57600080fd5b610e8989828a01610cc6565b979a9699509497509295939492505050565b600060208284031215610ead57600080fd5b8151610eb881610c88565b9392505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff85168152836020820152606060408201526000610c7e606083018486610ebf565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a0830152610f8e60c083018486610ebf565b9998505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015260806060830152610fdb608083018486610ebf565b979650505050505050565b60005b83811015611001578181015183820152602001610fe9565b83811115611010576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260008351806060840152611051816080850160208801610fe6565b63ffffffff93909316604083015250601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160160800192915050565b600082516110a4818460208701610fe6565b9190910192915050565b6000602082840312156110c057600080fd5b81518015158114610eb857600080fdfea264697066735822122010667ebcc24792729564391d0b930bac1cb56e230a93bcfd2f78b11ecc51757e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var rGe=D((eca,wUt)=>{wUt.exports={_format:"hh-sol-artifact-1",contractName:"L2StandardTokenFactory",sourceName:"contracts/L2/messaging/L2StandardTokenFactory.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"}],name:"StandardL2TokenCreated",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],name:"createStandardL2Token",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506117bc806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063896f93d114610030575b600080fd5b61004361003e36600461025f565b610045565b005b73ffffffffffffffffffffffffffffffffffffffff83166100c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d7573742070726f76696465204c3120746f6b656e2061646472657373000000604482015260640160405180910390fd5b60007342000000000000000000000000000000000000108484846040516100ec90610178565b6100f99493929190610359565b604051809103906000f080158015610115573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a350505050565b6113d7806103b083390190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126101c557600080fd5b813567ffffffffffffffff808211156101e0576101e0610185565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561022657610226610185565b8160405283815286602085880101111561023f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561027457600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461029857600080fd5b9250602084013567ffffffffffffffff808211156102b557600080fd5b6102c1878388016101b4565b935060408601359150808211156102d757600080fd5b506102e4868287016101b4565b9150509250925092565b6000815180845260005b81811015610314576020818501810151868301820152016102f8565b81811115610326576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152506080604083015261039260808301856102ee565b82810360608401526103a481856102ee565b97965050505050505056fe60806040523480156200001157600080fd5b50604051620013d7380380620013d783398101604081905262000034916200022f565b8151829082906200004d9060039060208501906200009f565b508051620000639060049060208401906200009f565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620002fc915050565b828054620000ad90620002bf565b90600052602060002090601f016020900481019282620000d157600085556200011c565b82601f10620000ec57805160ff19168380011785556200011c565b828001600101855582156200011c579182015b828111156200011c578251825591602001919060010190620000ff565b506200012a9291506200012e565b5090565b5b808211156200012a57600081556001016200012f565b80516001600160a01b03811681146200015d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018a57600080fd5b81516001600160401b0380821115620001a757620001a762000162565b604051601f8301601f19908116603f01168101908282118183101715620001d257620001d262000162565b81604052838152602092508683858801011115620001ef57600080fd5b600091505b83821015620002135785820183015181830184015290820190620001f4565b83821115620002255760008385830101525b9695505050505050565b600080600080608085870312156200024657600080fd5b620002518562000145565b9350620002616020860162000145565b60408601519093506001600160401b03808211156200027f57600080fd5b6200028d8883890162000178565b93506060870151915080821115620002a457600080fd5b50620002b38782880162000178565b91505092959194509250565b600181811c90821680620002d457607f821691505b60208210811415620002f657634e487b7160e01b600052602260045260246000fd5b50919050565b6110cb806200030c6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033a2646970667358221220d2e13f28319115807ec7308d1cd88642a8542d0b838e00b8769f8a85d696f26764736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063896f93d114610030575b600080fd5b61004361003e36600461025f565b610045565b005b73ffffffffffffffffffffffffffffffffffffffff83166100c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d7573742070726f76696465204c3120746f6b656e2061646472657373000000604482015260640160405180910390fd5b60007342000000000000000000000000000000000000108484846040516100ec90610178565b6100f99493929190610359565b604051809103906000f080158015610115573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a350505050565b6113d7806103b083390190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126101c557600080fd5b813567ffffffffffffffff808211156101e0576101e0610185565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561022657610226610185565b8160405283815286602085880101111561023f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561027457600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461029857600080fd5b9250602084013567ffffffffffffffff808211156102b557600080fd5b6102c1878388016101b4565b935060408601359150808211156102d757600080fd5b506102e4868287016101b4565b9150509250925092565b6000815180845260005b81811015610314576020818501810151868301820152016102f8565b81811115610326576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152506080604083015261039260808301856102ee565b82810360608401526103a481856102ee565b97965050505050505056fe60806040523480156200001157600080fd5b50604051620013d7380380620013d783398101604081905262000034916200022f565b8151829082906200004d9060039060208501906200009f565b508051620000639060049060208401906200009f565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620002fc915050565b828054620000ad90620002bf565b90600052602060002090601f016020900481019282620000d157600085556200011c565b82601f10620000ec57805160ff19168380011785556200011c565b828001600101855582156200011c579182015b828111156200011c578251825591602001919060010190620000ff565b506200012a9291506200012e565b5090565b5b808211156200012a57600081556001016200012f565b80516001600160a01b03811681146200015d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018a57600080fd5b81516001600160401b0380821115620001a757620001a762000162565b604051601f8301601f19908116603f01168101908282118183101715620001d257620001d262000162565b81604052838152602092508683858801011115620001ef57600080fd5b600091505b83821015620002135785820183015181830184015290820190620001f4565b83821115620002255760008385830101525b9695505050505050565b600080600080608085870312156200024657600080fd5b620002518562000145565b9350620002616020860162000145565b60408601519093506001600160401b03808211156200027f57600080fd5b6200028d8883890162000178565b93506060870151915080821115620002a457600080fd5b50620002b38782880162000178565b91505092959194509250565b600181811c90821680620002d457607f821691505b60208210811415620002f657634e487b7160e01b600052602260045260246000fd5b50919050565b6110cb806200030c6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033a2646970667358221220d2e13f28319115807ec7308d1cd88642a8542d0b838e00b8769f8a85d696f26764736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var fGe=D((tca,TUt)=>{TUt.exports={_format:"hh-sol-artifact-1",contractName:"iOVM_L1BlockNumber",sourceName:"contracts/L2/predeploys/iOVM_L1BlockNumber.sol",abi:[{inputs:[],name:"getL1BlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var iGe=D((nca,xUt)=>{xUt.exports={_format:"hh-sol-artifact-1",contractName:"iOVM_L2ToL1MessagePasser",sourceName:"contracts/L2/predeploys/iOVM_L2ToL1MessagePasser.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_nonce",type:"uint256"},{indexed:!1,internalType:"address",name:"_sender",type:"address"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"L2ToL1Message",type:"event"},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"}],name:"passMessageToL1",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var sGe=D((aca,EUt)=>{EUt.exports={_format:"hh-sol-artifact-1",contractName:"OVM_DeployerWhitelist",sourceName:"contracts/L2/predeploys/OVM_DeployerWhitelist.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"oldOwner",type:"address"},{indexed:!1,internalType:"address",name:"newOwner",type:"address"}],name:"OwnerChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"oldOwner",type:"address"}],name:"WhitelistDisabled",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"deployer",type:"address"},{indexed:!1,internalType:"bool",name:"whitelisted",type:"bool"}],name:"WhitelistStatusChanged",type:"event"},{inputs:[],name:"enableArbitraryContractDeployment",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_deployer",type:"address"}],name:"isDeployerAllowed",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_deployer",type:"address"},{internalType:"bool",name:"_isWhitelisted",type:"bool"}],name:"setWhitelistedDeployer",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"whitelist",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506106a8806100206000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c80639b19251a116100505780639b19251a146100e9578063b1540a011461011c578063bdc7b54f1461012f57600080fd5b806308fd63221461007757806313af40351461008c5780638da5cb5b1461009f575b600080fd5b61008a610085366004610614565b610137565b005b61008a61009a366004610650565b610271565b6000546100bf9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61010c6100f7366004610650565b60016020526000908152604090205460ff1681565b60405190151581526020016100e0565b61010c61012a366004610650565b61047c565b61008a6104cd565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526001602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168515159081179091558251938452908301527f8daaf060c3306c38e068a75c054bf96ecd85a3db1252712c4d93632744c42e0d910160405180910390a15050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b73ffffffffffffffffffffffffffffffffffffffff81166103e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f4f564d5f4465706c6f79657257686974656c6973743a2063616e206f6e6c792060448201527f62652064697361626c65642076696120656e61626c654172626974726172794360648201527f6f6e74726163744465706c6f796d656e74000000000000000000000000000000608482015260a4016101da565b6000546040805173ffffffffffffffffffffffffffffffffffffffff928316815291831660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff1615806104c7575073ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604090205460ff165b92915050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681527fc0e106cf568e50698fdbde1eff56f5a5c966cc7958e37e276918e9e4ccdf8cd49060200160405180910390a1600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461060f57600080fd5b919050565b6000806040838503121561062757600080fd5b610630836105eb565b91506020830135801515811461064557600080fd5b809150509250929050565b60006020828403121561066257600080fd5b61066b826105eb565b939250505056fea264697066735822122045a02b3906eca00a51b37c2965ab13be381f71f60af681951849865fb2daa75f64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100725760003560e01c80639b19251a116100505780639b19251a146100e9578063b1540a011461011c578063bdc7b54f1461012f57600080fd5b806308fd63221461007757806313af40351461008c5780638da5cb5b1461009f575b600080fd5b61008a610085366004610614565b610137565b005b61008a61009a366004610650565b610271565b6000546100bf9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61010c6100f7366004610650565b60016020526000908152604090205460ff1681565b60405190151581526020016100e0565b61010c61012a366004610650565b61047c565b61008a6104cd565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526001602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168515159081179091558251938452908301527f8daaf060c3306c38e068a75c054bf96ecd85a3db1252712c4d93632744c42e0d910160405180910390a15050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b73ffffffffffffffffffffffffffffffffffffffff81166103e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f4f564d5f4465706c6f79657257686974656c6973743a2063616e206f6e6c792060448201527f62652064697361626c65642076696120656e61626c654172626974726172794360648201527f6f6e74726163744465706c6f796d656e74000000000000000000000000000000608482015260a4016101da565b6000546040805173ffffffffffffffffffffffffffffffffffffffff928316815291831660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff1615806104c7575073ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604090205460ff165b92915050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681527fc0e106cf568e50698fdbde1eff56f5a5c966cc7958e37e276918e9e4ccdf8cd49060200160405180910390a1600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461060f57600080fd5b919050565b6000806040838503121561062757600080fd5b610630836105eb565b91506020830135801515811461064557600080fd5b809150509250929050565b60006020828403121561066257600080fd5b61066b826105eb565b939250505056fea264697066735822122045a02b3906eca00a51b37c2965ab13be381f71f60af681951849865fb2daa75f64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var oGe=D((rca,_Ut)=>{_Ut.exports={_format:"hh-sol-artifact-1",contractName:"OVM_ETH",sourceName:"contracts/L2/predeploys/OVM_ETH.sol",abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Burn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Mint",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2Bridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"mint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes4",name:"_interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b5073420000000000000000000000000000000000001060006040518060400160405280600581526020016422ba3432b960d91b8152506040518060400160405280600381526020016208aa8960eb1b815250818181600390805190602001906200007d929190620000cf565b50805162000093906004906020840190620000cf565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620001b2915050565b828054620000dd9062000175565b90600052602060002090601f0160209004810192826200010157600085556200014c565b82601f106200011c57805160ff19168380011785556200014c565b828001600101855582156200014c579182015b828111156200014c5782518255916020019190600101906200012f565b506200015a9291506200015e565b5090565b5b808211156200015a57600081556001016200015f565b600181811c908216806200018a57607f821691505b60208210811415620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b610eee80620001c26000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610c6d565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610cb6565b610118610150366004610d52565b610425565b6002545b604051908152602001610124565b610118610175366004610d7c565b6104db565b60405160128152602001610124565b610118610197366004610d52565b61058c565b6101af6101aa366004610d52565b61063d565b005b6101596101bf366004610db8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561071c565b6101af6101fd366004610d52565b61072b565b610118610210366004610d52565b6107fe565b610118610223366004610d52565b6108af565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610dd3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610e06565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610e06565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f4f564d5f4554483a20617070726f76652069732064697361626c65642070656e60448201527f64696e67206675727468657220636f6d6d756e6974792064697363757373696f60648201527f6e2e000000000000000000000000000000000000000000000000000000000000608482015260009060a4015b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604760248201527f4f564d5f4554483a207472616e7366657246726f6d2069732064697361626c6560448201527f642070656e64696e67206675727468657220636f6d6d756e697479206469736360648201527f757373696f6e2e00000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a20696e637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6106c88282610960565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161071091815260200190565b60405180910390a25050565b6060600480546103a290610e06565b60065473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6107b68282610a80565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161071091815260200190565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a206465637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f564d5f4554483a207472616e736665722069732064697361626c656420706560448201527f6e64696e67206675727468657220636f6d6d756e69747920646973637573736960648201527f6f6e2e0000000000000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b73ffffffffffffffffffffffffffffffffffffffff82166109dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104d2565b80600260008282546109ef9190610e89565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610a29908490610e89565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610b23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610bd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610c15908490610ea1565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600060208284031215610c7f57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610caf57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ce357858101830151858201604001528201610cc7565b81811115610cf5576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d4d57600080fd5b919050565b60008060408385031215610d6557600080fd5b610d6e83610d29565b946020939093013593505050565b600080600060608486031215610d9157600080fd5b610d9a84610d29565b9250610da860208501610d29565b9150604084013590509250925092565b600060208284031215610dca57600080fd5b610caf82610d29565b60008060408385031215610de657600080fd5b610def83610d29565b9150610dfd60208401610d29565b90509250929050565b600181811c90821680610e1a57607f821691505b60208210811415610e54577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610e9c57610e9c610e5a565b500190565b600082821015610eb357610eb3610e5a565b50039056fea2646970667358221220b71535a5111461b42945e5d842957b3a5926f7ed07d271872f6da21952b5f8b464736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610c6d565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610cb6565b610118610150366004610d52565b610425565b6002545b604051908152602001610124565b610118610175366004610d7c565b6104db565b60405160128152602001610124565b610118610197366004610d52565b61058c565b6101af6101aa366004610d52565b61063d565b005b6101596101bf366004610db8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561071c565b6101af6101fd366004610d52565b61072b565b610118610210366004610d52565b6107fe565b610118610223366004610d52565b6108af565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610dd3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610e06565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610e06565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f4f564d5f4554483a20617070726f76652069732064697361626c65642070656e60448201527f64696e67206675727468657220636f6d6d756e6974792064697363757373696f60648201527f6e2e000000000000000000000000000000000000000000000000000000000000608482015260009060a4015b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604760248201527f4f564d5f4554483a207472616e7366657246726f6d2069732064697361626c6560448201527f642070656e64696e67206675727468657220636f6d6d756e697479206469736360648201527f757373696f6e2e00000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a20696e637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6106c88282610960565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161071091815260200190565b60405180910390a25050565b6060600480546103a290610e06565b60065473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6107b68282610a80565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161071091815260200190565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a206465637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f564d5f4554483a207472616e736665722069732064697361626c656420706560448201527f6e64696e67206675727468657220636f6d6d756e69747920646973637573736960648201527f6f6e2e0000000000000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b73ffffffffffffffffffffffffffffffffffffffff82166109dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104d2565b80600260008282546109ef9190610e89565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610a29908490610e89565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610b23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610bd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610c15908490610ea1565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600060208284031215610c7f57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610caf57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ce357858101830151858201604001528201610cc7565b81811115610cf5576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d4d57600080fd5b919050565b60008060408385031215610d6557600080fd5b610d6e83610d29565b946020939093013593505050565b600080600060608486031215610d9157600080fd5b610d9a84610d29565b9250610da860208501610d29565b9150604084013590509250925092565b600060208284031215610dca57600080fd5b610caf82610d29565b60008060408385031215610de657600080fd5b610def83610d29565b9150610dfd60208401610d29565b90509250929050565b600181811c90821680610e1a57607f821691505b60208210811415610e54577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610e9c57610e9c610e5a565b500190565b600082821015610eb357610eb3610e5a565b50039056fea2646970667358221220b71535a5111461b42945e5d842957b3a5926f7ed07d271872f6da21952b5f8b464736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var cGe=D((fca,AUt)=>{AUt.exports={_format:"hh-sol-artifact-1",contractName:"OVM_GasPriceOracle",sourceName:"contracts/L2/predeploys/OVM_GasPriceOracle.sol",abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"DecimalsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"GasPriceUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"L1BaseFeeUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"OverheadUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"ScalarUpdated",type:"event"},{inputs:[],name:"decimals",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"gasPrice",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],name:"getL1Fee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],name:"getL1GasUsed",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l1BaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"overhead",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"scalar",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_decimals",type:"uint256"}],name:"setDecimals",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_gasPrice",type:"uint256"}],name:"setGasPrice",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_baseFee",type:"uint256"}],name:"setL1BaseFee",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_overhead",type:"uint256"}],name:"setOverhead",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_scalar",type:"uint256"}],name:"setScalar",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b50604051610e55380380610e5583398101604081905261002f91610167565b61003833610047565b61004181610097565b50610197565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146100f65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03811661015b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016100ed565b61016481610047565b50565b60006020828403121561017957600080fd5b81516001600160a01b038116811461019057600080fd5b9392505050565b610caf806101a66000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638c8885c811610097578063de26c4a111610066578063de26c4a1146101cc578063f2fde38b146101df578063f45e65d8146101f2578063fe173b97146101fb57600080fd5b80638c8885c81461016b5780638da5cb5b1461017e578063bede39b5146101a6578063bf1fe420146101b957600080fd5b806349948e0e116100d357806349948e0e14610134578063519b4bd3146101475780637046559714610150578063715018a61461016357600080fd5b80630c18c162146100fa578063313ce567146101165780633577afc51461011f575b600080fd5b61010360035481565b6040519081526020015b60405180910390f35b61010360055481565b61013261012d3660046108d0565b610204565b005b610103610142366004610918565b6102c6565b61010360025481565b61013261015e3660046108d0565b610322565b6101326103d8565b6101326101793660046108d0565b610465565b60005460405173ffffffffffffffffffffffffffffffffffffffff909116815260200161010d565b6101326101b43660046108d0565b61051b565b6101326101c73660046108d0565b6105d1565b6101036101da366004610918565b610687565b6101326101ed3660046109e7565b61072b565b61010360045481565b61010360015481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461028a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60038190556040518181527f32740b35c0ea213650f60d44366b4fb211c9033b50714e4a1d34e65d5beb9bb4906020015b60405180910390a150565b6000806102d283610687565b90506000600254826102e49190610a53565b90506000600554600a6102f79190610bb2565b90506000600454836103099190610a53565b905060006103178383610bbe565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146103a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60048190556040518181527f3336cd9708eaf2769a0f0dc0679f30e80f15dcd88d1921b5a16858e8b85c591a906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b610463600061085b565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60058190556040518181527fd68112a8707e326d08be3656b528c1bcc5bbbfc47f4177e2179b14d8640838c1906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff16331461059c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60028190556040518181527f351fb23757bb5ea0546c85b7996ddd7155f96b939ebaa5ff7bc49c75f27f2c44906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60018190556040518181527ffcdccc6074c6c42e4bd578aa9870c697dc976a270968452d2b8c8dc369fae396906020016102bb565b600080805b8351811015610704578381815181106106a7576106a7610bf9565b01602001517fff00000000000000000000000000000000000000000000000000000000000000166106e4576106dd600483610c28565b91506106f2565b6106ef601083610c28565b91505b806106fc81610c40565b91505061068c565b506000600354826107159190610c28565b905061072381610440610c28565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b73ffffffffffffffffffffffffffffffffffffffff811661084f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610281565b6108588161085b565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156108e257600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561092a57600080fd5b813567ffffffffffffffff8082111561094257600080fd5b818401915084601f83011261095657600080fd5b813581811115610968576109686108e9565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156109ae576109ae6108e9565b816040528281528760208487010111156109c757600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000602082840312156109f957600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610a1d57600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610a8b57610a8b610a24565b500290565b600181815b80851115610ae957817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610acf57610acf610a24565b80851615610adc57918102915b93841c9390800290610a95565b509250929050565b600082610b0057506001610bac565b81610b0d57506000610bac565b8160018114610b235760028114610b2d57610b49565b6001915050610bac565b60ff841115610b3e57610b3e610a24565b50506001821b610bac565b5060208310610133831016604e8410600b8410161715610b6c575081810a610bac565b610b768383610a90565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ba857610ba8610a24565b0290505b92915050565b6000610a1d8383610af1565b600082610bf4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115610c3b57610c3b610a24565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610c7257610c72610a24565b506001019056fea2646970667358221220b949ef5f9defd6c0aab6259672d00d239cb8854c9972ba1866af1c6ec6433d4c64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80638c8885c811610097578063de26c4a111610066578063de26c4a1146101cc578063f2fde38b146101df578063f45e65d8146101f2578063fe173b97146101fb57600080fd5b80638c8885c81461016b5780638da5cb5b1461017e578063bede39b5146101a6578063bf1fe420146101b957600080fd5b806349948e0e116100d357806349948e0e14610134578063519b4bd3146101475780637046559714610150578063715018a61461016357600080fd5b80630c18c162146100fa578063313ce567146101165780633577afc51461011f575b600080fd5b61010360035481565b6040519081526020015b60405180910390f35b61010360055481565b61013261012d3660046108d0565b610204565b005b610103610142366004610918565b6102c6565b61010360025481565b61013261015e3660046108d0565b610322565b6101326103d8565b6101326101793660046108d0565b610465565b60005460405173ffffffffffffffffffffffffffffffffffffffff909116815260200161010d565b6101326101b43660046108d0565b61051b565b6101326101c73660046108d0565b6105d1565b6101036101da366004610918565b610687565b6101326101ed3660046109e7565b61072b565b61010360045481565b61010360015481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461028a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60038190556040518181527f32740b35c0ea213650f60d44366b4fb211c9033b50714e4a1d34e65d5beb9bb4906020015b60405180910390a150565b6000806102d283610687565b90506000600254826102e49190610a53565b90506000600554600a6102f79190610bb2565b90506000600454836103099190610a53565b905060006103178383610bbe565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146103a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60048190556040518181527f3336cd9708eaf2769a0f0dc0679f30e80f15dcd88d1921b5a16858e8b85c591a906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b610463600061085b565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60058190556040518181527fd68112a8707e326d08be3656b528c1bcc5bbbfc47f4177e2179b14d8640838c1906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff16331461059c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60028190556040518181527f351fb23757bb5ea0546c85b7996ddd7155f96b939ebaa5ff7bc49c75f27f2c44906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60018190556040518181527ffcdccc6074c6c42e4bd578aa9870c697dc976a270968452d2b8c8dc369fae396906020016102bb565b600080805b8351811015610704578381815181106106a7576106a7610bf9565b01602001517fff00000000000000000000000000000000000000000000000000000000000000166106e4576106dd600483610c28565b91506106f2565b6106ef601083610c28565b91505b806106fc81610c40565b91505061068c565b506000600354826107159190610c28565b905061072381610440610c28565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b73ffffffffffffffffffffffffffffffffffffffff811661084f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610281565b6108588161085b565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156108e257600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561092a57600080fd5b813567ffffffffffffffff8082111561094257600080fd5b818401915084601f83011261095657600080fd5b813581811115610968576109686108e9565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156109ae576109ae6108e9565b816040528281528760208487010111156109c757600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000602082840312156109f957600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610a1d57600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610a8b57610a8b610a24565b500290565b600181815b80851115610ae957817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610acf57610acf610a24565b80851615610adc57918102915b93841c9390800290610a95565b509250929050565b600082610b0057506001610bac565b81610b0d57506000610bac565b8160018114610b235760028114610b2d57610b49565b6001915050610bac565b60ff841115610b3e57610b3e610a24565b50506001821b610bac565b5060208310610133831016604e8410600b8410161715610b6c575081810a610bac565b610b768383610a90565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ba857610ba8610a24565b0290505b92915050565b6000610a1d8383610af1565b600082610bf4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115610c3b57610c3b610a24565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610c7257610c72610a24565b506001019056fea2646970667358221220b949ef5f9defd6c0aab6259672d00d239cb8854c9972ba1866af1c6ec6433d4c64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var dGe=D((ica,CUt)=>{CUt.exports={_format:"hh-sol-artifact-1",contractName:"OVM_L2ToL1MessagePasser",sourceName:"contracts/L2/predeploys/OVM_L2ToL1MessagePasser.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_nonce",type:"uint256"},{indexed:!1,internalType:"address",name:"_sender",type:"address"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"L2ToL1Message",type:"event"},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"}],name:"passMessageToL1",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"sentMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506102c8806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806382e3702d1461003b578063cafa81dc14610072575b600080fd5b61005e610049366004610112565b60006020819052908152604090205460ff1681565b604051901515815260200160405180910390f35b61008561008036600461015a565b610087565b005b6001600080833360405160200161009f929190610229565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815291815281516020928301208352908201929092520160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905550565b60006020828403121561012457600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561016c57600080fd5b813567ffffffffffffffff8082111561018457600080fd5b818401915084601f83011261019857600080fd5b8135818111156101aa576101aa61012b565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156101f0576101f061012b565b8160405282815287602084870101111561020957600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000835160005b8181101561024a5760208187018101518583015201610230565b81811115610259576000828501525b5060609390931b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016919092019081526014019291505056fea2646970667358221220d836baf0739bec24cef040cc8b2c24969df1a65ce8dcdb49d35d9528caff8b7f64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100365760003560e01c806382e3702d1461003b578063cafa81dc14610072575b600080fd5b61005e610049366004610112565b60006020819052908152604090205460ff1681565b604051901515815260200160405180910390f35b61008561008036600461015a565b610087565b005b6001600080833360405160200161009f929190610229565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815291815281516020928301208352908201929092520160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905550565b60006020828403121561012457600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561016c57600080fd5b813567ffffffffffffffff8082111561018457600080fd5b818401915084601f83011261019857600080fd5b8135818111156101aa576101aa61012b565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156101f0576101f061012b565b8160405282815287602084870101111561020957600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000835160005b8181101561024a5760208187018101518583015201610230565b81811115610259576000828501525b5060609390931b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016919092019081526014019291505056fea2646970667358221220d836baf0739bec24cef040cc8b2c24969df1a65ce8dcdb49d35d9528caff8b7f64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var lGe=D((sca,IUt)=>{IUt.exports={_format:"hh-sol-artifact-1",contractName:"OVM_SequencerFeeVault",sourceName:"contracts/L2/predeploys/OVM_SequencerFeeVault.sol",abi:[{inputs:[{internalType:"address",name:"_l1FeeWallet",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"MIN_WITHDRAWAL_AMOUNT",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l1FeeWallet",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],bytecode:"0x608060405234801561001057600080fd5b506040516103de3803806103de83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61034b806100936000396000f3fe6080604052600436106100385760003560e01c80633ccfd60b14610044578063d3e5792b1461005b578063d4ff92181461008a57600080fd5b3661003f57005b600080fd5b34801561005057600080fd5b506100596100dc565b005b34801561006757600080fd5b5061007767d02ab486cedc000081565b6040519081526020015b60405180910390f35b34801561009657600080fd5b506000546100b79073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610081565b67d02ab486cedc000047101561019e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605760248201527f4f564d5f53657175656e6365724665655661756c743a2077697468647261776160448201527f6c20616d6f756e74206d7573742062652067726561746572207468616e206d6960648201527f6e696d756d207769746864726177616c20616d6f756e74000000000000000000608482015260a40160405180910390fd5b600080546040805160208101825283815290517fa3a795480000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000109363a3a79548936102309373deaddeaddeaddeaddeaddeaddeaddeaddead00009373ffffffffffffffffffffffffffffffffffffffff909216924792909190600401610264565b600060405180830381600087803b15801561024a57600080fd5b505af115801561025e573d6000803e3d6000fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835260208188168185015286604085015263ffffffff8616606085015260a06080850152845191508160a085015260005b828110156102cb5785810182015185820160c0015281016102af565b828111156102dd57600060c084870101525b5050601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160c001969550505050505056fea26469706673582212202380a0ef41967ef02ffabeecc94f28b588cb989aa8d64908f942558d7e378c3b64736f6c63430008090033",deployedBytecode:"0x6080604052600436106100385760003560e01c80633ccfd60b14610044578063d3e5792b1461005b578063d4ff92181461008a57600080fd5b3661003f57005b600080fd5b34801561005057600080fd5b506100596100dc565b005b34801561006757600080fd5b5061007767d02ab486cedc000081565b6040519081526020015b60405180910390f35b34801561009657600080fd5b506000546100b79073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610081565b67d02ab486cedc000047101561019e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605760248201527f4f564d5f53657175656e6365724665655661756c743a2077697468647261776160448201527f6c20616d6f756e74206d7573742062652067726561746572207468616e206d6960648201527f6e696d756d207769746864726177616c20616d6f756e74000000000000000000608482015260a40160405180910390fd5b600080546040805160208101825283815290517fa3a795480000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000109363a3a79548936102309373deaddeaddeaddeaddeaddeaddeaddeaddead00009373ffffffffffffffffffffffffffffffffffffffff909216924792909190600401610264565b600060405180830381600087803b15801561024a57600080fd5b505af115801561025e573d6000803e3d6000fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835260208188168185015286604085015263ffffffff8616606085015260a06080850152845191508160a085015260005b828110156102cb5785810182015185820160c0015281016102af565b828111156102dd57600060c084870101525b5050601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160c001969550505050505056fea26469706673582212202380a0ef41967ef02ffabeecc94f28b588cb989aa8d64908f942558d7e378c3b64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var uGe=D((oca,kUt)=>{kUt.exports={_format:"hh-sol-artifact-1",contractName:"WETH9",sourceName:"contracts/L2/predeploys/WETH9.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"src",type:"address"},{indexed:!0,internalType:"address",name:"guy",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"dst",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Deposit",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"src",type:"address"},{indexed:!0,internalType:"address",name:"dst",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"src",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Withdrawal",type:"event"},{payable:!0,stateMutability:"payable",type:"fallback"},{constant:!0,inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"guy",type:"address"},{internalType:"uint256",name:"wad",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{internalType:"address",name:"",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[],name:"deposit",outputs:[],payable:!0,stateMutability:"payable",type:"function"},{constant:!0,inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"dst",type:"address"},{internalType:"uint256",name:"wad",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"src",type:"address"},{internalType:"address",name:"dst",type:"address"},{internalType:"uint256",name:"wad",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"uint256",name:"wad",type:"uint256"}],name:"withdraw",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"}],bytecode:"0x60c0604052600d60808190526c2bb930b83832b21022ba3432b960991b60a090815261002e916000919061007a565b50604080518082019091526004808252630ae8aa8960e31b602090920191825261005a9160019161007a565b506002805460ff1916601217905534801561007457600080fd5b50610115565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100bb57805160ff19168380011785556100e8565b828001600101855582156100e8579182015b828111156100e85782518255916020019190600101906100cd565b506100f49291506100f8565b5090565b61011291905b808211156100f457600081556001016100fe565b90565b6107f9806101246000396000f3fe6080604052600436106100bc5760003560e01c8063313ce56711610074578063a9059cbb1161004e578063a9059cbb146102cb578063d0e30db0146100bc578063dd62ed3e14610311576100bc565b8063313ce5671461024b57806370a082311461027657806395d89b41146102b6576100bc565b806318160ddd116100a557806318160ddd146101aa57806323b872dd146101d15780632e1a7d4d14610221576100bc565b806306fdde03146100c6578063095ea7b314610150575b6100c4610359565b005b3480156100d257600080fd5b506100db6103a8565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101155781810151838201526020016100fd565b50505050905090810190601f1680156101425780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015c57600080fd5b506101966004803603604081101561017357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610454565b604080519115158252519081900360200190f35b3480156101b657600080fd5b506101bf6104c7565b60408051918252519081900360200190f35b3480156101dd57600080fd5b50610196600480360360608110156101f457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356104cb565b34801561022d57600080fd5b506100c46004803603602081101561024457600080fd5b503561066b565b34801561025757600080fd5b50610260610700565b6040805160ff9092168252519081900360200190f35b34801561028257600080fd5b506101bf6004803603602081101561029957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610709565b3480156102c257600080fd5b506100db61071b565b3480156102d757600080fd5b50610196600480360360408110156102ee57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610793565b34801561031d57600080fd5b506101bf6004803603604081101561033457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166107a7565b33600081815260036020908152604091829020805434908101909155825190815291517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9281900390910190a2565b6000805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b820191906000526020600020905b81548152906001019060200180831161042f57829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b4790565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120548211156104fd57600080fd5b73ffffffffffffffffffffffffffffffffffffffff84163314801590610573575073ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14155b156105ed5773ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020548211156105b557600080fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020805483900390555b73ffffffffffffffffffffffffffffffffffffffff808516600081815260036020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b3360009081526003602052604090205481111561068757600080fd5b33600081815260036020526040808220805485900390555183156108fc0291849190818181858888f193505050501580156106c6573d6000803e3d6000fd5b5060408051828152905133917f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65919081900360200190a250565b60025460ff1681565b60036020526000908152604090205481565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b60006107a03384846104cb565b9392505050565b60046020908152600092835260408084209091529082529020548156fea265627a7a7231582091c18790e0cca5011d2518024840ee00fecc67e11f56fd746f2cf84d5b583e0064736f6c63430005110032",deployedBytecode:"0x6080604052600436106100bc5760003560e01c8063313ce56711610074578063a9059cbb1161004e578063a9059cbb146102cb578063d0e30db0146100bc578063dd62ed3e14610311576100bc565b8063313ce5671461024b57806370a082311461027657806395d89b41146102b6576100bc565b806318160ddd116100a557806318160ddd146101aa57806323b872dd146101d15780632e1a7d4d14610221576100bc565b806306fdde03146100c6578063095ea7b314610150575b6100c4610359565b005b3480156100d257600080fd5b506100db6103a8565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101155781810151838201526020016100fd565b50505050905090810190601f1680156101425780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015c57600080fd5b506101966004803603604081101561017357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610454565b604080519115158252519081900360200190f35b3480156101b657600080fd5b506101bf6104c7565b60408051918252519081900360200190f35b3480156101dd57600080fd5b50610196600480360360608110156101f457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356104cb565b34801561022d57600080fd5b506100c46004803603602081101561024457600080fd5b503561066b565b34801561025757600080fd5b50610260610700565b6040805160ff9092168252519081900360200190f35b34801561028257600080fd5b506101bf6004803603602081101561029957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610709565b3480156102c257600080fd5b506100db61071b565b3480156102d757600080fd5b50610196600480360360408110156102ee57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610793565b34801561031d57600080fd5b506101bf6004803603604081101561033457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166107a7565b33600081815260036020908152604091829020805434908101909155825190815291517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9281900390910190a2565b6000805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b820191906000526020600020905b81548152906001019060200180831161042f57829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b4790565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120548211156104fd57600080fd5b73ffffffffffffffffffffffffffffffffffffffff84163314801590610573575073ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14155b156105ed5773ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020548211156105b557600080fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020805483900390555b73ffffffffffffffffffffffffffffffffffffffff808516600081815260036020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b3360009081526003602052604090205481111561068757600080fd5b33600081815260036020526040808220805485900390555183156108fc0291849190818181858888f193505050501580156106c6573d6000803e3d6000fd5b5060408051828152905133917f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65919081900360200190a250565b60025460ff1681565b60036020526000908152604090205481565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b60006107a03384846104cb565b9392505050565b60046020908152600092835260408084209091529082529020548156fea265627a7a7231582091c18790e0cca5011d2518024840ee00fecc67e11f56fd746f2cf84d5b583e0064736f6c63430005110032",linkReferences:{},deployedLinkReferences:{}}});var pGe=D((cca,SUt)=>{SUt.exports={_format:"hh-sol-artifact-1",contractName:"CrossDomainEnabled",sourceName:"contracts/libraries/bridge/CrossDomainEnabled.sol",abi:[{inputs:[{internalType:"address",name:"_messenger",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5060405161013d38038061013d83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b60ab806100926000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80633cb747bf14602d575b600080fd5b600054604c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f3fea264697066735822122007712a382b03013a51c1c5af10d9e7b9b516e09be353a5f94af5d0263a013ea064736f6c63430008090033",deployedBytecode:"0x6080604052348015600f57600080fd5b506004361060285760003560e01c80633cb747bf14602d575b600080fd5b600054604c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f3fea264697066735822122007712a382b03013a51c1c5af10d9e7b9b516e09be353a5f94af5d0263a013ea064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var hGe=D((dca,RUt)=>{RUt.exports={_format:"hh-sol-artifact-1",contractName:"ICrossDomainMessenger",sourceName:"contracts/libraries/bridge/ICrossDomainMessenger.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var bGe=D((lca,MUt)=>{MUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_CrossDomainUtils",sourceName:"contracts/libraries/bridge/Lib_CrossDomainUtils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122060e64a9ccca3ea023c0ba81dbda8783559d3eec6a4d1d8ef8418badc967c072664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122060e64a9ccca3ea023c0ba81dbda8783559d3eec6a4d1d8ef8418badc967c072664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var mGe=D((uca,BUt)=>{BUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_OVMCodec",sourceName:"contracts/libraries/codec/Lib_OVMCodec.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c2a5d11f9555d16a4e338a80443d30b1ec346c6a32a3a2423851829c61a564664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c2a5d11f9555d16a4e338a80443d30b1ec346c6a32a3a2423851829c61a564664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var yGe=D((pca,DUt)=>{DUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_DefaultValues",sourceName:"contracts/libraries/constants/Lib_DefaultValues.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220063c5ffd8afe3ee3c085661f8b942ed207ae0c52f76c705ce32343804219a1be64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220063c5ffd8afe3ee3c085661f8b942ed207ae0c52f76c705ce32343804219a1be64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var gGe=D((hca,PUt)=>{PUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_PredeployAddresses",sourceName:"contracts/libraries/constants/Lib_PredeployAddresses.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122056cad517f08aabd21cc0b53f664298b5b8af8f91610a5d788b7cd5a14d12078b64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122056cad517f08aabd21cc0b53f664298b5b8af8f91610a5d788b7cd5a14d12078b64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var vGe=D((bca,LUt)=>{LUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_AddressManager",sourceName:"contracts/libraries/resolver/Lib_AddressManager.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"string",name:"_name",type:"string"},{indexed:!1,internalType:"address",name:"_newAddress",type:"address"},{indexed:!1,internalType:"address",name:"_oldAddress",type:"address"}],name:"AddressSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],name:"setAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6107028061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80639b2ea4bd116100505780639b2ea4bd146100b9578063bf40fac1146100cc578063f2fde38b146100df57600080fd5b8063715018a61461006c5780638da5cb5b14610076575b600080fd5b6100746100f2565b005b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100746100c73660046105e4565b610184565b6100906100da366004610632565b6102d0565b6100746100ed36600461066f565b61030c565b60005473ffffffffffffffffffffffffffffffffffffffff163314610178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610182600061043c565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b6000610210836104b1565b60008181526001602052604090819020805473ffffffffffffffffffffffffffffffffffffffff8681167fffffffffffffffffffffffff000000000000000000000000000000000000000083161790925591519293501690610273908590610691565b6040805191829003822073ffffffffffffffffffffffffffffffffffffffff808716845284166020840152917f9416a153a346f93d95f94b064ae3f148b6460473c6e82b3f9fc2521b873fcd6c910160405180910390a250505050565b6000600160006102df846104b1565b815260208101919091526040016000205473ffffffffffffffffffffffffffffffffffffffff1692915050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461038d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b73ffffffffffffffffffffffffffffffffffffffff8116610430576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161016f565b6104398161043c565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000816040516020016104c49190610691565b604051602081830303815290604052805190602001209050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261052157600080fd5b813567ffffffffffffffff8082111561053c5761053c6104e1565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715610582576105826104e1565b8160405283815286602085880101111561059b57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146105df57600080fd5b919050565b600080604083850312156105f757600080fd5b823567ffffffffffffffff81111561060e57600080fd5b61061a85828601610510565b925050610629602084016105bb565b90509250929050565b60006020828403121561064457600080fd5b813567ffffffffffffffff81111561065b57600080fd5b61066784828501610510565b949350505050565b60006020828403121561068157600080fd5b61068a826105bb565b9392505050565b6000825160005b818110156106b25760208186018101518583015201610698565b818111156106c1576000828501525b50919091019291505056fea2646970667358221220882d6a267e1fbcc015c1726b422a6847e08c6be7e987e8b5ec1f7e85aa5095bb64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100675760003560e01c80639b2ea4bd116100505780639b2ea4bd146100b9578063bf40fac1146100cc578063f2fde38b146100df57600080fd5b8063715018a61461006c5780638da5cb5b14610076575b600080fd5b6100746100f2565b005b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100746100c73660046105e4565b610184565b6100906100da366004610632565b6102d0565b6100746100ed36600461066f565b61030c565b60005473ffffffffffffffffffffffffffffffffffffffff163314610178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610182600061043c565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b6000610210836104b1565b60008181526001602052604090819020805473ffffffffffffffffffffffffffffffffffffffff8681167fffffffffffffffffffffffff000000000000000000000000000000000000000083161790925591519293501690610273908590610691565b6040805191829003822073ffffffffffffffffffffffffffffffffffffffff808716845284166020840152917f9416a153a346f93d95f94b064ae3f148b6460473c6e82b3f9fc2521b873fcd6c910160405180910390a250505050565b6000600160006102df846104b1565b815260208101919091526040016000205473ffffffffffffffffffffffffffffffffffffffff1692915050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461038d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b73ffffffffffffffffffffffffffffffffffffffff8116610430576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161016f565b6104398161043c565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000816040516020016104c49190610691565b604051602081830303815290604052805190602001209050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261052157600080fd5b813567ffffffffffffffff8082111561053c5761053c6104e1565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715610582576105826104e1565b8160405283815286602085880101111561059b57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146105df57600080fd5b919050565b600080604083850312156105f757600080fd5b823567ffffffffffffffff81111561060e57600080fd5b61061a85828601610510565b925050610629602084016105bb565b90509250929050565b60006020828403121561064457600080fd5b813567ffffffffffffffff81111561065b57600080fd5b61066784828501610510565b949350505050565b60006020828403121561068157600080fd5b61068a826105bb565b9392505050565b6000825160005b818110156106b25760208186018101518583015201610698565b818111156106c1576000828501525b50919091019291505056fea2646970667358221220882d6a267e1fbcc015c1726b422a6847e08c6be7e987e8b5ec1f7e85aa5095bb64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var wGe=D((mca,FUt)=>{FUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_AddressResolver",sourceName:"contracts/libraries/resolver/Lib_AddressResolver.sol",abi:[{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var TGe=D((yca,NUt)=>{NUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_ResolvedDelegateProxy",sourceName:"contracts/libraries/resolver/Lib_ResolvedDelegateProxy.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],bytecode:"0x608060405234801561001057600080fd5b506040516105b53803806105b583398101604081905261002f91610125565b30600090815260016020908152604080832080546001600160a01b0319166001600160a01b038716179055828252909120825161006e92840190610076565b505050610252565b82805461008290610217565b90600052602060002090601f0160209004810192826100a457600085556100ea565b82601f106100bd57805160ff19168380011785556100ea565b828001600101855582156100ea579182015b828111156100ea5782518255916020019190600101906100cf565b506100f69291506100fa565b5090565b5b808211156100f657600081556001016100fb565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561013857600080fd5b82516001600160a01b038116811461014f57600080fd5b602084810151919350906001600160401b038082111561016e57600080fd5b818601915086601f83011261018257600080fd5b8151818111156101945761019461010f565b604051601f8201601f19908116603f011681019083821181831017156101bc576101bc61010f565b8160405282815289868487010111156101d457600080fd5b600093505b828410156101f657848401860151818501870152928501926101d9565b828411156102075760008684830101525b8096505050505050509250929050565b600181811c9082168061022b57607f821691505b6020821081141561024c57634e487b7160e01b600052602260045260246000fd5b50919050565b610354806102616000396000f3fe608060408181523060009081526001602090815282822054908290529181207fbf40fac1000000000000000000000000000000000000000000000000000000009093529173ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061006d9060846101f2565b60206040518083038186803b15801561008557600080fd5b505afa158015610099573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100bd91906102d1565b905073ffffffffffffffffffffffffffffffffffffffff8116610166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5461726765742061646472657373206d75737420626520696e697469616c697a60448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff1660003660405161019192919061030e565b600060405180830381855af49150503d80600081146101cc576040519150601f19603f3d011682016040523d82523d6000602084013e6101d1565b606091505b509092509050600182151514156101ea57805160208201f35b805160208201fd5b600060208083526000845481600182811c91508083168061021457607f831692505b85831081141561024b577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b8786018381526020018180156102685760018114610297576102c2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616825287820196506102c2565b60008b81526020902060005b868110156102bc578154848201529085019089016102a3565b83019750505b50949998505050505050505050565b6000602082840312156102e357600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461030757600080fd5b9392505050565b818382376000910190815291905056fea2646970667358221220d66a7dad92a7f7528f41181719174e1d244423b8bb730d2884645c76cfa0944064736f6c63430008090033",deployedBytecode:"0x608060408181523060009081526001602090815282822054908290529181207fbf40fac1000000000000000000000000000000000000000000000000000000009093529173ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061006d9060846101f2565b60206040518083038186803b15801561008557600080fd5b505afa158015610099573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100bd91906102d1565b905073ffffffffffffffffffffffffffffffffffffffff8116610166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5461726765742061646472657373206d75737420626520696e697469616c697a60448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff1660003660405161019192919061030e565b600060405180830381855af49150503d80600081146101cc576040519150601f19603f3d011682016040523d82523d6000602084013e6101d1565b606091505b509092509050600182151514156101ea57805160208201f35b805160208201fd5b600060208083526000845481600182811c91508083168061021457607f831692505b85831081141561024b577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b8786018381526020018180156102685760018114610297576102c2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616825287820196506102c2565b60008b81526020902060005b868110156102bc578154848201529085019089016102a3565b83019750505b50949998505050505050505050565b6000602082840312156102e357600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461030757600080fd5b9392505050565b818382376000910190815291905056fea2646970667358221220d66a7dad92a7f7528f41181719174e1d244423b8bb730d2884645c76cfa0944064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var xGe=D((gca,OUt)=>{OUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_RLPReader",sourceName:"contracts/libraries/rlp/Lib_RLPReader.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209b0105ac3644e4fdf76d616b816e1142d8df6b59717045de630c5b5bf5c4a49e64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209b0105ac3644e4fdf76d616b816e1142d8df6b59717045de630c5b5bf5c4a49e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var EGe=D((vca,UUt)=>{UUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_RLPWriter",sourceName:"contracts/libraries/rlp/Lib_RLPWriter.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220946ae63101b895e34c026fce9aa6f03d577c9012d8837976e8dc3a57ae0a2ef064736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220946ae63101b895e34c026fce9aa6f03d577c9012d8837976e8dc3a57ae0a2ef064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var _Ge=D((wca,HUt)=>{HUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_MerkleTrie",sourceName:"contracts/libraries/trie/Lib_MerkleTrie.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220214650a5ec3e1d09ab69aa832632dcca9858b098070c9e81cdae9075c0e89eef64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220214650a5ec3e1d09ab69aa832632dcca9858b098070c9e81cdae9075c0e89eef64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var AGe=D((Tca,zUt)=>{zUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_SecureMerkleTrie",sourceName:"contracts/libraries/trie/Lib_SecureMerkleTrie.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202660de7bb8aa0cc344e5d40ecf3a0bb218888dff6bd046588cf63c7f310cc10f64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202660de7bb8aa0cc344e5d40ecf3a0bb218888dff6bd046588cf63c7f310cc10f64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var CGe=D((xca,WUt)=>{WUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_Buffer",sourceName:"contracts/libraries/utils/Lib_Buffer.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220594b214017d57365da3ea1c77083baf56a0e2bbeb0c3e002e311ad4566a5a88e64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220594b214017d57365da3ea1c77083baf56a0e2bbeb0c3e002e311ad4566a5a88e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var IGe=D((Eca,qUt)=>{qUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_Bytes32Utils",sourceName:"contracts/libraries/utils/Lib_Bytes32Utils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122016d3dffa07e555b0803ae61d773778a6b28a769ef91e47cb00040ecc7414705764736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122016d3dffa07e555b0803ae61d773778a6b28a769ef91e47cb00040ecc7414705764736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var kGe=D((_ca,jUt)=>{jUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_BytesUtils",sourceName:"contracts/libraries/utils/Lib_BytesUtils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122017e44b43285912c440c4689616a765b1f83f985ef6c2257842a876b03fa23ec964736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122017e44b43285912c440c4689616a765b1f83f985ef6c2257842a876b03fa23ec964736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var SGe=D((Aca,GUt)=>{GUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_MerkleTree",sourceName:"contracts/libraries/utils/Lib_MerkleTree.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b7c3be019aefbed37a33a16f751525cd016777745cc3de03701a42894fef404664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b7c3be019aefbed37a33a16f751525cd016777745cc3de03701a42894fef404664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var RGe=D((Cca,KUt)=>{KUt.exports={_format:"hh-sol-artifact-1",contractName:"AddressAliasHelper",sourceName:"contracts/standards/AddressAliasHelper.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207829434f027696874d561ec0adb447d98559e472900c36a38c8a3d107364652364736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207829434f027696874d561ec0adb447d98559e472900c36a38c8a3d107364652364736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var MGe=D((Ica,QUt)=>{QUt.exports={_format:"hh-sol-artifact-1",contractName:"IL2StandardERC20",sourceName:"contracts/standards/IL2StandardERC20.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Burn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Mint",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"mint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes4",name:"interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var BGe=D((kca,VUt)=>{VUt.exports={_format:"hh-sol-artifact-1",contractName:"L2StandardERC20",sourceName:"contracts/standards/L2StandardERC20.sol",abi:[{inputs:[{internalType:"address",name:"_l2Bridge",type:"address"},{internalType:"address",name:"_l1Token",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Burn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Mint",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2Bridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"mint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes4",name:"_interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b50604051620013d7380380620013d783398101604081905262000034916200022f565b8151829082906200004d9060039060208501906200009f565b508051620000639060049060208401906200009f565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620002fc915050565b828054620000ad90620002bf565b90600052602060002090601f016020900481019282620000d157600085556200011c565b82601f10620000ec57805160ff19168380011785556200011c565b828001600101855582156200011c579182015b828111156200011c578251825591602001919060010190620000ff565b506200012a9291506200012e565b5090565b5b808211156200012a57600081556001016200012f565b80516001600160a01b03811681146200015d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018a57600080fd5b81516001600160401b0380821115620001a757620001a762000162565b604051601f8301601f19908116603f01168101908282118183101715620001d257620001d262000162565b81604052838152602092508683858801011115620001ef57600080fd5b600091505b83821015620002135785820183015181830184015290820190620001f4565b83821115620002255760008385830101525b9695505050505050565b600080600080608085870312156200024657600080fd5b620002518562000145565b9350620002616020860162000145565b60408601519093506001600160401b03808211156200027f57600080fd5b6200028d8883890162000178565b93506060870151915080821115620002a457600080fd5b50620002b38782880162000178565b91505092959194509250565b600181811c90821680620002d457607f821691505b60208210811415620002f657634e487b7160e01b600052602260045260246000fd5b50919050565b6110cb806200030c6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var SKe=D(JW=>{"use strict";u();p();Object.defineProperty(JW,"__esModule",{value:!0});JW.getContractArtifact=void 0;var DGe;try{DGe=Nje()}catch{}var PGe;try{PGe=Oje()}catch{}var LGe;try{LGe=Uje()}catch{}var FGe;try{FGe=Hje()}catch{}var NGe;try{NGe=zje()}catch{}var OGe;try{OGe=Wje()}catch{}var UGe;try{UGe=qje()}catch{}var HGe;try{HGe=jje()}catch{}var zGe;try{zGe=Gje()}catch{}var WGe;try{WGe=Kje()}catch{}var qGe;try{qGe=Qje()}catch{}var jGe;try{jGe=Vje()}catch{}var GGe;try{GGe=Yje()}catch{}var KGe;try{KGe=$je()}catch{}var QGe;try{QGe=Jje()}catch{}var VGe;try{VGe=Xje()}catch{}var YGe;try{YGe=Zje()}catch{}var $Ge;try{$Ge=eGe()}catch{}var JGe;try{JGe=tGe()}catch{}var XGe;try{XGe=nGe()}catch{}var ZGe;try{ZGe=aGe()}catch{}var eKe;try{eKe=rGe()}catch{}var tKe;try{tKe=fGe()}catch{}var nKe;try{nKe=iGe()}catch{}var aKe;try{aKe=sGe()}catch{}var rKe;try{rKe=oGe()}catch{}var fKe;try{fKe=cGe()}catch{}var iKe;try{iKe=dGe()}catch{}var sKe;try{sKe=lGe()}catch{}var oKe;try{oKe=uGe()}catch{}var cKe;try{cKe=pGe()}catch{}var dKe;try{dKe=hGe()}catch{}var lKe;try{lKe=bGe()}catch{}var uKe;try{uKe=mGe()}catch{}var pKe;try{pKe=yGe()}catch{}var hKe;try{hKe=gGe()}catch{}var bKe;try{bKe=vGe()}catch{}var mKe;try{mKe=wGe()}catch{}var yKe;try{yKe=TGe()}catch{}var gKe;try{gKe=xGe()}catch{}var vKe;try{vKe=EGe()}catch{}var wKe;try{wKe=_Ge()}catch{}var TKe;try{TKe=AGe()}catch{}var xKe;try{xKe=CGe()}catch{}var EKe;try{EKe=IGe()}catch{}var _Ke;try{_Ke=kGe()}catch{}var AKe;try{AKe=SGe()}catch{}var CKe;try{CKe=RGe()}catch{}var IKe;try{IKe=MGe()}catch{}var kKe;try{kKe=BGe()}catch{}var YUt=t=>({iL1ChugSplashDeployer:DGe,L1ChugSplashProxy:PGe,AddressDictator:LGe,ChugSplashDictator:FGe,IL1CrossDomainMessenger:NGe,IL1ERC20Bridge:OGe,IL1StandardBridge:UGe,L1CrossDomainMessenger:HGe,L1StandardBridge:zGe,CanonicalTransactionChain:WGe,ChainStorageContainer:qGe,ICanonicalTransactionChain:jGe,IChainStorageContainer:GGe,IStateCommitmentChain:KGe,StateCommitmentChain:QGe,BondManager:VGe,IBondManager:YGe,IL2CrossDomainMessenger:$Ge,IL2ERC20Bridge:JGe,L2CrossDomainMessenger:XGe,L2StandardBridge:ZGe,L2StandardTokenFactory:eKe,iOVM_L1BlockNumber:tKe,iOVM_L2ToL1MessagePasser:nKe,OVM_DeployerWhitelist:aKe,OVM_ETH:rKe,OVM_GasPriceOracle:fKe,OVM_L2ToL1MessagePasser:iKe,OVM_SequencerFeeVault:sKe,WETH9:oKe,CrossDomainEnabled:cKe,ICrossDomainMessenger:dKe,Lib_CrossDomainUtils:lKe,Lib_OVMCodec:uKe,Lib_DefaultValues:pKe,Lib_PredeployAddresses:hKe,Lib_AddressManager:bKe,Lib_AddressResolver:mKe,Lib_ResolvedDelegateProxy:yKe,Lib_RLPReader:gKe,Lib_RLPWriter:vKe,Lib_MerkleTrie:wKe,Lib_SecureMerkleTrie:TKe,Lib_Buffer:xKe,Lib_Bytes32Utils:EKe,Lib_BytesUtils:_Ke,Lib_MerkleTree:AKe,AddressAliasHelper:CKe,IL2StandardERC20:IKe,L2StandardERC20:kKe})[t];JW.getContractArtifact=YUt});var RKe=D(XW=>{"use strict";u();p();Object.defineProperty(XW,"__esModule",{value:!0});XW.getDeployedContractArtifact=void 0;var $Ut={abi:[{inputs:[{internalType:"contract Lib_AddressManager",name:"_manager",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"string[]",name:"_names",type:"string[]"},{internalType:"address[]",name:"_addresses",type:"address[]"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNamedAddresses",outputs:[{components:[{internalType:"string",name:"name",type:"string"},{internalType:"address",name:"addr",type:"address"}],internalType:"struct AddressDictator.NamedAddress[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"manager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"setAddresses",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x406905414D6c250C186F4616EFA38D5fc0759437"},JUt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xfC2ab6987C578218f99E85d61Dcf4814A26637Bd"},XUt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_maxTransactionGasLimit",type:"uint256"},{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"MAX_ROLLUP_TX_SIZE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_ROLLUP_TX_GAS",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"enqueueGasCost",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"enqueueL2GasPrepaid",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2GasDiscountDivisor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxTransactionGasLimit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x607F755149cFEB3a14E1Dc3A4E2450Cde7dfb04D"},ZUt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x4325Ac17c7fF5Afc0d05335dD30Db3D010455813"},eHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x41eF5DaF4A7719bfe89A88BA3DD0DCFF5feCeD39"},tHt={abi:[{inputs:[{internalType:"contract L1ChugSplashProxy",name:"_target",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"bytes32",name:"_codeHash",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotVal",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotVal",type:"bytes32"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"bridgeSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"bridgeSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"codeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"doActions",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"target",outputs:[{internalType:"contract L1ChugSplashProxy",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0x0e62FAf76a0239827f35f41478b521293e06195a"},nHt={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"donateETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1messenger",type:"address"},{internalType:"address",name:"_l2TokenBridge",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],address:"0x65DD71354923A51fC00DaE41A39F37eBB66549d4"},aHt={abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"string",name:"_name",type:"string"},{indexed:!1,internalType:"address",name:"_newAddress",type:"address"},{indexed:!1,internalType:"address",name:"_oldAddress",type:"address"}],name:"AddressSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],name:"setAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xa6f73589243a6A7a9023b1Fa0651b1d89c177111"},rHt={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageAllowed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageBlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"allowMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"blockMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"blockedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0x2eB424e0930E93Cf250e488f6117a929714Bb928"},fHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],address:"0x5086d1eEF304eb5284A0f6720f79403b4e9bE294"},iHt={abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"},{inputs:[],name:"getImplementation",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"setCode",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_key",type:"bytes32"},{internalType:"bytes32",name:"_value",type:"bytes32"}],name:"setStorage",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x636Af16bf2f682dD3109e60102b8E1A089FedAa8"},sHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_fraudProofWindow",type:"uint256"},{internalType:"uint256",name:"_sequencerPublishWindow",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[],name:"FRAUD_PROOF_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"SEQUENCER_PUBLISH_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],address:"0x9c945aC97Baf48cB784AbBB61399beB71aF7A378"},oHt={abi:[{inputs:[{internalType:"contract Lib_AddressManager",name:"_manager",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"string[]",name:"_names",type:"string[]"},{internalType:"address[]",name:"_addresses",type:"address[]"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNamedAddresses",outputs:[{components:[{internalType:"string",name:"name",type:"string"},{internalType:"address",name:"addr",type:"address"}],internalType:"struct AddressDictator.NamedAddress[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"manager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"setAddresses",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x7a74f7934a233e10E8757264132B2E4EbccF5098"},cHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xcd626E1328b41fCF24737F137BcD4CE0c32bc8d1"},dHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_maxTransactionGasLimit",type:"uint256"},{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"MAX_ROLLUP_TX_SIZE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_ROLLUP_TX_GAS",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"enqueueGasCost",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"enqueueL2GasPrepaid",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2GasDiscountDivisor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxTransactionGasLimit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x5E4e65926BA27467555EB562121fac00D24E9dD2"},lHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xD16463EF9b0338CE3D73309028ef1714D220c024"},uHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xb0ddFf09c4019e31960de11bD845E836078E8EbE"},pHt={abi:[{inputs:[{internalType:"contract L1ChugSplashProxy",name:"_target",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"bytes32",name:"_codeHash",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotVal",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotVal",type:"bytes32"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"bridgeSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"bridgeSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"codeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"doActions",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"target",outputs:[{internalType:"contract L1ChugSplashProxy",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xD86065136E3ab1e3FCBbf47B59404c08A431051A"},hHt={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"donateETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1messenger",type:"address"},{internalType:"address",name:"_l2TokenBridge",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],address:"0x29Ea454F8f2750e345E52e302A0c09f1A5215AC7"},bHt={abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"string",name:"_name",type:"string"},{indexed:!1,internalType:"address",name:"_newAddress",type:"address"},{indexed:!1,internalType:"address",name:"_oldAddress",type:"address"}],name:"AddressSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],name:"setAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xdE1FCfB0851916CA5101820A69b13a4E276bd81F"},mHt={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageAllowed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageBlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"allowMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"blockMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"blockedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xd9166833FF12A5F900ccfBf2c8B62a90F1Ca1FD5"},yHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],address:"0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1"},gHt={abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"},{inputs:[],name:"getImplementation",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"setCode",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_key",type:"bytes32"},{internalType:"bytes32",name:"_value",type:"bytes32"}],name:"setStorage",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"},vHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_fraudProofWindow",type:"uint256"},{internalType:"uint256",name:"_sequencerPublishWindow",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[],name:"FRAUD_PROOF_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"SEQUENCER_PUBLISH_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],address:"0xBe5dAb4A2e9cd0F27300dB4aB94BeE3A233AEB19"},wHt={abi:[{inputs:[{internalType:"uint256",name:"_minDepositAmount",type:"uint256"},{internalType:"uint256",name:"_maxDepositAmount",type:"uint256"},{internalType:"uint256",name:"_maxBalance",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!1,internalType:"uint256",name:"balance",type:"uint256"}],name:"BalanceWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"depositId",type:"uint256"},{indexed:!0,internalType:"address",name:"emitter",type:"address"},{indexed:!0,internalType:"uint256",name:"amount",type:"uint256"}],name:"EtherReceived",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"previousBalance",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newBalance",type:"uint256"}],name:"MaxBalanceSet",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"previousAmount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newAmount",type:"uint256"}],name:"MaxDepositAmountSet",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"previousAmount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newAmount",type:"uint256"}],name:"MinDepositAmountSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[],name:"maxBalance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxDepositAmount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"minDepositAmount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_maxDepositAmount",type:"uint256"}],name:"setMaxAmount",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_maxBalance",type:"uint256"}],name:"setMaxBalance",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_minDepositAmount",type:"uint256"}],name:"setMinAmount",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"totalDeposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"withdrawBalance",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],address:"0x52ec2F3d7C5977A8E558C8D9C6000B615098E8fC"},THt=(t,e)=>({goerli__AddressDictator:$Ut,goerli__BondManager:JUt,goerli__CanonicalTransactionChain:XUt,goerli__ChainStorageContainer_CTC_batches:ZUt,goerli__ChainStorageContainer_SCC_batches:eHt,goerli__ChugSplashDictator:tHt,goerli__L1StandardBridge_for_verification_only:nHt,goerli__Lib_AddressManager:aHt,goerli__OVM_L1CrossDomainMessenger:rHt,goerli__Proxy__OVM_L1CrossDomainMessenger:fHt,goerli__Proxy__OVM_L1StandardBridge:iHt,goerli__StateCommitmentChain:sHt,mainnet__AddressDictator:oHt,mainnet__BondManager:cHt,mainnet__CanonicalTransactionChain:dHt,mainnet__ChainStorageContainer_CTC_batches:lHt,mainnet__ChainStorageContainer_SCC_batches:uHt,mainnet__ChugSplashDictator:pHt,mainnet__L1StandardBridge_for_verification_only:hHt,mainnet__Lib_AddressManager:bHt,mainnet__OVM_L1CrossDomainMessenger:mHt,mainnet__Proxy__OVM_L1CrossDomainMessenger:yHt,mainnet__Proxy__OVM_L1StandardBridge:gHt,mainnet__StateCommitmentChain:vHt,mainnet__TeleportrDeposit:wHt})[(e+"__"+t).replace(/-/g,"_")];XW.getDeployedContractArtifact=THt});var BKe=D(k6=>{"use strict";u();p();Object.defineProperty(k6,"__esModule",{value:!0});k6.getContractFactory=k6.getContractInterface=k6.getDeployedContractDefinition=k6.getContractDefinition=void 0;var MKe=Xe(),xHt=t=>{let{getContractArtifact:e}=SKe(),n=e(t);if(n===void 0)throw new Error(`Unable to find artifact for contract: ${t}`);return n};k6.getContractDefinition=xHt;var EHt=(t,e)=>{let{getDeployedContractArtifact:n}=RKe(),a=n(t,e);if(a===void 0)throw new Error(`Unable to find artifact for contract on network ${e}: ${t}`);return a};k6.getDeployedContractDefinition=EHt;var _Ht=t=>{let e=(0,k6.getContractDefinition)(t);return new MKe.ethers.utils.Interface(e.abi)};k6.getContractInterface=_Ht;var AHt=(t,e)=>{let n=(0,k6.getContractDefinition)(t),a=(0,k6.getContractInterface)(t);return new MKe.ethers.ContractFactory(a,n.bytecode,e)};k6.getContractFactory=AHt});var DKe=D(Tx=>{"use strict";u();p();Object.defineProperty(Tx,"__esModule",{value:!0});Tx.futurePredeploys=Tx.predeploys=void 0;Tx.predeploys={OVM_L2ToL1MessagePasser:"0x4200000000000000000000000000000000000000",OVM_DeployerWhitelist:"0x4200000000000000000000000000000000000002",L2CrossDomainMessenger:"0x4200000000000000000000000000000000000007",OVM_GasPriceOracle:"0x420000000000000000000000000000000000000F",L2StandardBridge:"0x4200000000000000000000000000000000000010",OVM_SequencerFeeVault:"0x4200000000000000000000000000000000000011",L2StandardTokenFactory:"0x4200000000000000000000000000000000000012",OVM_L1BlockNumber:"0x4200000000000000000000000000000000000013",OVM_ETH:"0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",WETH9:"0x4200000000000000000000000000000000000006"};Tx.futurePredeploys={System0:"0x4200000000000000000000000000000000000042",System1:"0x4200000000000000000000000000000000000014"}});var xx=D(Ib=>{"use strict";u();p();var CHt=Ib&&Ib.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),PKe=Ib&&Ib.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&CHt(e,t,n)};Object.defineProperty(Ib,"__esModule",{value:!0});PKe(BKe(),Ib);PKe(DKe(),Ib)});var $oe=D((jca,IHt)=>{IHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC20To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeETH",inputs:[{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"bridgeETHTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"depositERC20",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"depositERC20To",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"depositETH",inputs:[{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"depositETHTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"deposits",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"finalizeBridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeBridgeETH",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeERC20Withdrawal",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeETHWithdrawal",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"initialize",inputs:[{name:"_messenger",type:"address",internalType:"contract CrossDomainMessenger"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l2TokenBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ERC20BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20DepositInitiated",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20WithdrawalFinalized",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeFinalized",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeInitiated",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHDepositInitiated",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHWithdrawalFinalized",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001f60008062000025565b62000234565b600054610100900460ff1615808015620000465750600054600160ff909116105b8062000076575062000063306200018a60201b620005511760201c565b15801562000076575060005460ff166001145b620000df5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000103576000805461ff0019166101001790555b603280546001600160a01b0319166001600160a01b0384161790556200013e8373420000000000000000000000000000000000001062000199565b801562000185576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b03163b151590565b600054610100900460ff16620002065760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d6565b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055565b612c4d80620002446000396000f3fe6080604052600436106101795760003560e01c80637f46ddb2116100cb578063927ede2d1161007f578063b1a1a88211610059578063b1a1a882146104fe578063c89701a214610511578063e11013dd1461053e57600080fd5b8063927ede2d146104a05780639a2ac6d5146104cb578063a9f9e675146104de57600080fd5b806387087623116100b0578063870876231461043a5780638f601f661461045a57806391c49bf8146103ef57600080fd5b80637f46ddb2146103ef578063838b25201461041a57600080fd5b80633cb747bf1161012d57806354fd4d501161010757806354fd4d501461035457806358a997f6146103aa5780635c975abb146103ca57600080fd5b80633cb747bf146102e7578063485cc95514610314578063540abf731461033457600080fd5b80631532ec341161015e5780631532ec341461026a5780631635f5fd1461027d57806335e80ab31461029057600080fd5b80630166a07a1461023757806309fc88431461025757600080fd5b3661023257333b15610212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b610230333362030d406040518060200160405280600081525061056d565b005b600080fd5b34801561024357600080fd5b506102306102523660046126b1565b610580565b610230610265366004612762565b61099a565b6102306102783660046127b5565b610a71565b61023061028b3660046127b5565b610a85565b34801561029c57600080fd5b506032546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102f357600080fd5b506003546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561032057600080fd5b5061023061032f366004612828565b610f4e565b34801561034057600080fd5b5061023061034f366004612861565b611137565b34801561036057600080fd5b5061039d6040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516102de919061294e565b3480156103b657600080fd5b506102306103c5366004612961565b61117c565b3480156103d657600080fd5b506103df611250565b60405190151581526020016102de565b3480156103fb57600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff166102bd565b34801561042657600080fd5b50610230610435366004612861565b6112e9565b34801561044657600080fd5b50610230610455366004612961565b61132e565b34801561046657600080fd5b50610492610475366004612828565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102de565b3480156104ac57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff166102bd565b6102306104d93660046129e4565b611402565b3480156104ea57600080fd5b506102306104f93660046126b1565b611444565b61023061050c366004612762565b611453565b34801561051d57600080fd5b506004546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b61023061054c3660046129e4565b611524565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61057a8484348585611567565b50505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610653575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610617573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b9190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610705576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b61070d611250565b15610774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b61077d87611731565b156108cb5761078c8787611793565b61083e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b1580156108ae57600080fd5b505af11580156108c2573d6000803e3d6000fd5b5050505061094d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054610909908490612a93565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c168352939052919091209190915561094d9085856118b3565b610991878787878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061198792505050565b50505050505050565b333b15610a29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c3333348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b505050565b610a7e8585858585610a85565b5050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610b58575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610b1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b409190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b610c12611250565b15610c79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b823414610d08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e742072657175697265640000000000006064820152608401610209565b3073ffffffffffffffffffffffffffffffffffffffff851603610dad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c6600000000000000000000000000000000000000000000000000000000006064820152608401610209565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610e58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e6765720000000000000000000000000000000000000000000000006064820152608401610209565b610e9a85858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a1592505050565b6000610eb7855a8660405180602001604052806000815250611a88565b905080610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c656400000000000000000000000000000000000000000000000000000000006064820152608401610209565b505050505050565b600054610100900460ff1615808015610f6e5750600054600160ff909116105b80610f885750303b158015610f88575060005460ff166001145b611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610209565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561107257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556110d083734200000000000000000000000000000000000010611aa2565b8015610a6c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b333b1561120b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa1580156112c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e49190612aaa565b905090565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b333b156113bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b61057a33858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61099187878787878787610580565b333b156114e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c33338585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61057a3385348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b8234146115f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c756500006064820152608401610209565b61160285858584611ec6565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd0000000000000000000000000000000000000000000000000000000090611665908b908b9086908a90602401612acc565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b90921682526116f892918890600401612b15565b6000604051808303818588803b15801561171157600080fd5b505af1158015611725573d6000803e3d6000fd5b50505050505050505050565b600061175d827f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b8061178d575061178d827fec4fc8e300000000000000000000000000000000000000000000000000000000611f39565b92915050565b60006117bf837f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b15611868578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118339190612a47565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614905061178d565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610a6c9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611f5c565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b38686866040516119ff93929190612b5a565b60405180910390a4610f46868686868686612068565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e6318484604051611a74929190612b98565b60405180910390a361057a848484846120f0565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611b39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610209565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b611b9587611731565b15611ce357611ba48787611793565b611c56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b158015611cc657600080fd5b505af1158015611cda573d6000803e3d6000fd5b50505050611d77565b611d0573ffffffffffffffffffffffffffffffffffffffff881686308661215d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054611d43908490612bb1565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b611d858787878787866121bb565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611de9908b908d908c908c908c908b90602401612bc9565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b9092168252611e7c92918790600401612b15565b600060405180830381600087803b158015611e9657600080fd5b505af1158015611eaa573d6000803e3d6000fd5b5050505050505050505050565b61099187878787878787611b8c565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f238484604051611f25929190612b98565b60405180910390a361057a84848484612249565b6000611f44836122a8565b8015611f555750611f55838361230c565b9392505050565b6000611fbe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123db9092919063ffffffff16565b805190915015610a6c5780806020019051810190611fdc9190612aaa565b610a6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610209565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd8686866040516120e093929190612b5a565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d848460405161214f929190612b98565b60405180910390a350505050565b60405173ffffffffffffffffffffffffffffffffffffffff8085166024830152831660448201526064810182905261057a9085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401611905565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039686868660405161223393929190612b5a565b60405180910390a4610f468686868686866123f2565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5848460405161214f929190612b98565b60006122d4827f01ffc9a70000000000000000000000000000000000000000000000000000000061230c565b801561178d5750612305827fffffffff0000000000000000000000000000000000000000000000000000000061230c565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156123c4575060208210155b80156123d05750600081115b979650505050505050565b60606123ea848460008561246a565b949350505050565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf8686866040516120e093929190612b5a565b6060824710156124fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610209565b73ffffffffffffffffffffffffffffffffffffffff85163b61257a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610209565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516125a39190612c24565b60006040518083038185875af1925050503d80600081146125e0576040519150601f19603f3d011682016040523d82523d6000602084013e6125e5565b606091505b50915091506123d0828286606083156125ff575081611f55565b82511561260f5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610209919061294e565b73ffffffffffffffffffffffffffffffffffffffff8116811461266557600080fd5b50565b60008083601f84011261267a57600080fd5b50813567ffffffffffffffff81111561269257600080fd5b6020830191508360208285010111156126aa57600080fd5b9250929050565b600080600080600080600060c0888a0312156126cc57600080fd5b87356126d781612643565b965060208801356126e781612643565b955060408801356126f781612643565b9450606088013561270781612643565b93506080880135925060a088013567ffffffffffffffff81111561272a57600080fd5b6127368a828b01612668565b989b979a50959850939692959293505050565b803563ffffffff8116811461275d57600080fd5b919050565b60008060006040848603121561277757600080fd5b61278084612749565b9250602084013567ffffffffffffffff81111561279c57600080fd5b6127a886828701612668565b9497909650939450505050565b6000806000806000608086880312156127cd57600080fd5b85356127d881612643565b945060208601356127e881612643565b935060408601359250606086013567ffffffffffffffff81111561280b57600080fd5b61281788828901612668565b969995985093965092949392505050565b6000806040838503121561283b57600080fd5b823561284681612643565b9150602083013561285681612643565b809150509250929050565b600080600080600080600060c0888a03121561287c57600080fd5b873561288781612643565b9650602088013561289781612643565b955060408801356128a781612643565b9450606088013593506128bc60808901612749565b925060a088013567ffffffffffffffff81111561272a57600080fd5b60005b838110156128f35781810151838201526020016128db565b8381111561057a5750506000910152565b6000815180845261291c8160208601602086016128d8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611f556020830184612904565b60008060008060008060a0878903121561297a57600080fd5b863561298581612643565b9550602087013561299581612643565b9450604087013593506129aa60608801612749565b9250608087013567ffffffffffffffff8111156129c657600080fd5b6129d289828a01612668565b979a9699509497509295939492505050565b600080600080606085870312156129fa57600080fd5b8435612a0581612643565b9350612a1360208601612749565b9250604085013567ffffffffffffffff811115612a2f57600080fd5b612a3b87828801612668565b95989497509550505050565b600060208284031215612a5957600080fd5b8151611f5581612643565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015612aa557612aa5612a64565b500390565b600060208284031215612abc57600080fd5b81518015158114611f5557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612b0b6080830184612904565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152606060208201526000612b446060830185612904565b905063ffffffff83166040830152949350505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612b8f6060830184612904565b95945050505050565b8281526040602082015260006123ea6040830184612904565b60008219821115612bc457612bc4612a64565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a0830152612c1860c0830184612904565b98975050505050505050565b60008251612c368184602087016128d8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1209:12690:128:-:0;;;3691:157;;;;;;;;;-1:-1:-1;3732:109:128::1;3786:1;::::0;3732:10:::1;:109::i;:::-;1209:12690:::0;;4055:322;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;4173:16:128::1;:36:::0;;-1:-1:-1;;;;;;4173:36:128::1;-1:-1:-1::0;;;;;4173:36:128;::::1;;::::0;;4219:151:::1;4267:10:::0;635:42:194::1;4219:21:128;:151::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;4055:322:128;;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;5373:236:230:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;830:2:350;4880:69:41;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4880:69:41;628:407:350;4880:69:41;5544:9:230::1;:22:::0;;-1:-1:-1;;;;;5544:22:230;;::::1;-1:-1:-1::0;;;;;;5544:22:230;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;628:407:350:-;1209:12690:128;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101795760003560e01c80637f46ddb2116100cb578063927ede2d1161007f578063b1a1a88211610059578063b1a1a882146104fe578063c89701a214610511578063e11013dd1461053e57600080fd5b8063927ede2d146104a05780639a2ac6d5146104cb578063a9f9e675146104de57600080fd5b806387087623116100b0578063870876231461043a5780638f601f661461045a57806391c49bf8146103ef57600080fd5b80637f46ddb2146103ef578063838b25201461041a57600080fd5b80633cb747bf1161012d57806354fd4d501161010757806354fd4d501461035457806358a997f6146103aa5780635c975abb146103ca57600080fd5b80633cb747bf146102e7578063485cc95514610314578063540abf731461033457600080fd5b80631532ec341161015e5780631532ec341461026a5780631635f5fd1461027d57806335e80ab31461029057600080fd5b80630166a07a1461023757806309fc88431461025757600080fd5b3661023257333b15610212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b610230333362030d406040518060200160405280600081525061056d565b005b600080fd5b34801561024357600080fd5b506102306102523660046126b1565b610580565b610230610265366004612762565b61099a565b6102306102783660046127b5565b610a71565b61023061028b3660046127b5565b610a85565b34801561029c57600080fd5b506032546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102f357600080fd5b506003546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561032057600080fd5b5061023061032f366004612828565b610f4e565b34801561034057600080fd5b5061023061034f366004612861565b611137565b34801561036057600080fd5b5061039d6040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516102de919061294e565b3480156103b657600080fd5b506102306103c5366004612961565b61117c565b3480156103d657600080fd5b506103df611250565b60405190151581526020016102de565b3480156103fb57600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff166102bd565b34801561042657600080fd5b50610230610435366004612861565b6112e9565b34801561044657600080fd5b50610230610455366004612961565b61132e565b34801561046657600080fd5b50610492610475366004612828565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102de565b3480156104ac57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff166102bd565b6102306104d93660046129e4565b611402565b3480156104ea57600080fd5b506102306104f93660046126b1565b611444565b61023061050c366004612762565b611453565b34801561051d57600080fd5b506004546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b61023061054c3660046129e4565b611524565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61057a8484348585611567565b50505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610653575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610617573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b9190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610705576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b61070d611250565b15610774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b61077d87611731565b156108cb5761078c8787611793565b61083e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b1580156108ae57600080fd5b505af11580156108c2573d6000803e3d6000fd5b5050505061094d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054610909908490612a93565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c168352939052919091209190915561094d9085856118b3565b610991878787878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061198792505050565b50505050505050565b333b15610a29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c3333348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b505050565b610a7e8585858585610a85565b5050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610b58575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610b1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b409190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b610c12611250565b15610c79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b823414610d08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e742072657175697265640000000000006064820152608401610209565b3073ffffffffffffffffffffffffffffffffffffffff851603610dad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c6600000000000000000000000000000000000000000000000000000000006064820152608401610209565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610e58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e6765720000000000000000000000000000000000000000000000006064820152608401610209565b610e9a85858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a1592505050565b6000610eb7855a8660405180602001604052806000815250611a88565b905080610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c656400000000000000000000000000000000000000000000000000000000006064820152608401610209565b505050505050565b600054610100900460ff1615808015610f6e5750600054600160ff909116105b80610f885750303b158015610f88575060005460ff166001145b611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610209565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561107257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556110d083734200000000000000000000000000000000000010611aa2565b8015610a6c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b333b1561120b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa1580156112c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e49190612aaa565b905090565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b333b156113bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b61057a33858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61099187878787878787610580565b333b156114e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c33338585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61057a3385348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b8234146115f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c756500006064820152608401610209565b61160285858584611ec6565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd0000000000000000000000000000000000000000000000000000000090611665908b908b9086908a90602401612acc565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b90921682526116f892918890600401612b15565b6000604051808303818588803b15801561171157600080fd5b505af1158015611725573d6000803e3d6000fd5b50505050505050505050565b600061175d827f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b8061178d575061178d827fec4fc8e300000000000000000000000000000000000000000000000000000000611f39565b92915050565b60006117bf837f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b15611868578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118339190612a47565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614905061178d565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610a6c9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611f5c565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b38686866040516119ff93929190612b5a565b60405180910390a4610f46868686868686612068565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e6318484604051611a74929190612b98565b60405180910390a361057a848484846120f0565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611b39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610209565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b611b9587611731565b15611ce357611ba48787611793565b611c56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b158015611cc657600080fd5b505af1158015611cda573d6000803e3d6000fd5b50505050611d77565b611d0573ffffffffffffffffffffffffffffffffffffffff881686308661215d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054611d43908490612bb1565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b611d858787878787866121bb565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611de9908b908d908c908c908c908b90602401612bc9565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b9092168252611e7c92918790600401612b15565b600060405180830381600087803b158015611e9657600080fd5b505af1158015611eaa573d6000803e3d6000fd5b5050505050505050505050565b61099187878787878787611b8c565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f238484604051611f25929190612b98565b60405180910390a361057a84848484612249565b6000611f44836122a8565b8015611f555750611f55838361230c565b9392505050565b6000611fbe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123db9092919063ffffffff16565b805190915015610a6c5780806020019051810190611fdc9190612aaa565b610a6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610209565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd8686866040516120e093929190612b5a565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d848460405161214f929190612b98565b60405180910390a350505050565b60405173ffffffffffffffffffffffffffffffffffffffff8085166024830152831660448201526064810182905261057a9085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401611905565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039686868660405161223393929190612b5a565b60405180910390a4610f468686868686866123f2565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5848460405161214f929190612b98565b60006122d4827f01ffc9a70000000000000000000000000000000000000000000000000000000061230c565b801561178d5750612305827fffffffff0000000000000000000000000000000000000000000000000000000061230c565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156123c4575060208210155b80156123d05750600081115b979650505050505050565b60606123ea848460008561246a565b949350505050565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf8686866040516120e093929190612b5a565b6060824710156124fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610209565b73ffffffffffffffffffffffffffffffffffffffff85163b61257a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610209565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516125a39190612c24565b60006040518083038185875af1925050503d80600081146125e0576040519150601f19603f3d011682016040523d82523d6000602084013e6125e5565b606091505b50915091506123d0828286606083156125ff575081611f55565b82511561260f5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610209919061294e565b73ffffffffffffffffffffffffffffffffffffffff8116811461266557600080fd5b50565b60008083601f84011261267a57600080fd5b50813567ffffffffffffffff81111561269257600080fd5b6020830191508360208285010111156126aa57600080fd5b9250929050565b600080600080600080600060c0888a0312156126cc57600080fd5b87356126d781612643565b965060208801356126e781612643565b955060408801356126f781612643565b9450606088013561270781612643565b93506080880135925060a088013567ffffffffffffffff81111561272a57600080fd5b6127368a828b01612668565b989b979a50959850939692959293505050565b803563ffffffff8116811461275d57600080fd5b919050565b60008060006040848603121561277757600080fd5b61278084612749565b9250602084013567ffffffffffffffff81111561279c57600080fd5b6127a886828701612668565b9497909650939450505050565b6000806000806000608086880312156127cd57600080fd5b85356127d881612643565b945060208601356127e881612643565b935060408601359250606086013567ffffffffffffffff81111561280b57600080fd5b61281788828901612668565b969995985093965092949392505050565b6000806040838503121561283b57600080fd5b823561284681612643565b9150602083013561285681612643565b809150509250929050565b600080600080600080600060c0888a03121561287c57600080fd5b873561288781612643565b9650602088013561289781612643565b955060408801356128a781612643565b9450606088013593506128bc60808901612749565b925060a088013567ffffffffffffffff81111561272a57600080fd5b60005b838110156128f35781810151838201526020016128db565b8381111561057a5750506000910152565b6000815180845261291c8160208601602086016128d8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611f556020830184612904565b60008060008060008060a0878903121561297a57600080fd5b863561298581612643565b9550602087013561299581612643565b9450604087013593506129aa60608801612749565b9250608087013567ffffffffffffffff8111156129c657600080fd5b6129d289828a01612668565b979a9699509497509295939492505050565b600080600080606085870312156129fa57600080fd5b8435612a0581612643565b9350612a1360208601612749565b9250604085013567ffffffffffffffff811115612a2f57600080fd5b612a3b87828801612668565b95989497509550505050565b600060208284031215612a5957600080fd5b8151611f5581612643565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015612aa557612aa5612a64565b500390565b600060208284031215612abc57600080fd5b81518015158114611f5557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612b0b6080830184612904565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152606060208201526000612b446060830185612904565b905063ffffffff83166040830152949350505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612b8f6060830184612904565b95945050505050565b8281526040602082015260006123ea6040830184612904565b60008219821115612bc457612bc4612a64565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a0830152612c1860c0830184612904565b98975050505050505050565b60008251612c368184602087016128d8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1209:12690:128:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4741:10:230;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;;;;;;;;;4658:81:128::1;4678:10;4690;1343:7:230;4729:9:128;;;;;;;;;;;::::0;4658:19:::1;:81::i;:::-;1209:12690:::0;;;;;13351:1084:230;;;;;;;;;;-1:-1:-1;13351:1084:230;;;;;:::i;:::-;;:::i;7253:186::-;;;;;;:::i;:::-;;:::i;8758:245:128:-;;;;;;:::i;:::-;;:::i;11717:902:230:-;;;;;;:::i;:::-;;:::i;3586:40:128:-;;;;;;;;;;-1:-1:-1;3586:40:128;;;;;;;;;;;3607:42:350;3595:55;;;3577:74;;3565:2;3550:18;3586:40:128;;;;;;;;1893:37:230;;;;;;;;;;-1:-1:-1;1893:37:230;;;;;;;;4055:322:128;;;;;;;;;;-1:-1:-1;4055:322:128;;;;;:::i;:::-;;:::i;10804:349:230:-;;;;;;;;;;-1:-1:-1;10804:349:230;;;;;:::i;:::-;;:::i;3481:40:128:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;7066:339::-;;;;;;;;;;-1:-1:-1;7066:339:128;;;;;:::i;:::-;;:::i;4418:103::-;;;;;;;;;;;;;:::i;:::-;;;7155:14:350;;7148:22;7130:41;;7118:2;7103:18;4418:103:128;6990:187:350;6369:98:230;;;;;;;;;;-1:-1:-1;6449:11:230;;;;6369:98;;8106:339:128;;;;;;;;;;-1:-1:-1;8106:339:128;;;;;:::i;:::-;;:::i;9519:349:230:-;;;;;;;;;;-1:-1:-1;9519:349:230;;;;;:::i;:::-;;:::i;1739:63::-;;;;;;;;;;-1:-1:-1;1739:63:230;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;7985:25:350;;;7973:2;7958:18;1739:63:230;7839:177:350;6024:99:230;;;;;;;;;;-1:-1:-1;6107:9:230;;;;6024:99;;6242:179:128;;;;;;:::i;:::-;;:::i;9453:305::-;;;;;;;;;;-1:-1:-1;9453:305:128;;;;;:::i;:::-;;:::i;5183:179::-;;;;;;:::i;:::-;;:::i;2028:33:230:-;;;;;;;;;;-1:-1:-1;2028:33:230;;;;;;;;8450:186;;;;;;:::i;:::-;;:::i;1175:320:57:-;1465:19;;;:23;;;1175:320::o;10356:196:128:-;10478:67;10497:5;10504:3;10509:9;10520:12;10534:10;10478:18;:67::i;:::-;10356:196;;;;:::o;13351:1084:230:-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:230;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9331:2:350;4961:204:230;;;9313:21:350;9370:2;9350:18;;;9343:30;9409:34;9389:18;;;9382:62;9480:34;9460:18;;;9453:62;9552:3;9531:19;;;9524:32;9573:19;;4961:204:230;9129:469:350;4961:204:230;13610:8:::1;:6;:8::i;:::-;:17;13602:52;;;::::0;::::1;::::0;;9805:2:350;13602:52:230::1;::::0;::::1;9787:21:350::0;9844:2;9824:18;;;9817:30;9883:24;9863:18;;;9856:52;9925:18;;13602:52:230::1;9603:346:350::0;13602:52:230::1;13668:37;13693:11;13668:24;:37::i;:::-;13664:489;;;13746:46;13766:11;13779:12;13746:19;:46::i;:::-;13721:179;;;::::0;::::1;::::0;;10156:2:350;13721:179:230::1;::::0;::::1;10138:21:350::0;10195:2;10175:18;;;10168:30;10234:34;10214:18;;;10207:62;10305:34;10285:18;;;10278:62;10377:12;10356:19;;;10349:41;10407:19;;13721:179:230::1;9954:478:350::0;13721:179:230::1;13915:53;::::0;;;;:39:::1;10629:55:350::0;;;13915:53:230::1;::::0;::::1;10611:74:350::0;10701:18;;;10694:34;;;13915:39:230;::::1;::::0;::::1;::::0;10584:18:350;;13915:53:230::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;13664:489;;;14037:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;:45:::1;::::0;14075:7;;14037:45:::1;:::i;:::-;13999:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;;;:83;;;;14096:46:::1;::::0;14129:3;14134:7;14096:32:::1;:46::i;:::-;14343:85;14369:11;14382:12;14396:5;14403:3;14408:7;14417:10;;14343:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;14343:25:230::1;::::0;-1:-1:-1;;;14343:85:230:i:1;:::-;13351:1084:::0;;;;;;;:::o;7253:186::-;4741:10;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;7353:79:::1;7372:10;7384;7396:9;7407:12;7421:10;;7353:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;7353:18:230::1;::::0;-1:-1:-1;;;7353:79:230:i:1;:::-;7253:186:::0;;;:::o;8758:245:128:-;8946:50;8964:5;8971:3;8976:7;8985:10;;8946:17;:50::i;:::-;8758:245;;;;;:::o;11717:902:230:-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:230;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9331:2:350;4961:204:230;;;9313:21:350;9370:2;9350:18;;;9343:30;9409:34;9389:18;;;9382:62;9480:34;9460:18;;;9453:62;9552:3;9531:19;;;9524:32;9573:19;;4961:204:230;9129:469:350;4961:204:230;11931:8:::1;:6;:8::i;:::-;:17;11923:52;;;::::0;::::1;::::0;;9805:2:350;11923:52:230::1;::::0;::::1;9787:21:350::0;9844:2;9824:18;;;9817:30;9883:24;9863:18;;;9856:52;9925:18;;11923:52:230::1;9603:346:350::0;11923:52:230::1;12006:7;11993:9;:20;11985:91;;;::::0;::::1;::::0;;11260:2:350;11985:91:230::1;::::0;::::1;11242:21:350::0;11299:2;11279:18;;;11272:30;11338:34;11318:18;;;11311:62;11409:28;11389:18;;;11382:56;11455:19;;11985:91:230::1;11058:422:350::0;11985:91:230::1;12109:4;12094:20;::::0;::::1;::::0;12086:68:::1;;;::::0;::::1;::::0;;11687:2:350;12086:68:230::1;::::0;::::1;11669:21:350::0;11726:2;11706:18;;;11699:30;11765:34;11745:18;;;11738:62;11836:5;11816:18;;;11809:33;11859:19;;12086:68:230::1;11485:399:350::0;12086:68:230::1;12187:9;::::0;::::1;::::0;;::::1;12172:25:::0;;::::1;::::0;12164:78:::1;;;::::0;::::1;::::0;;12091:2:350;12164:78:230::1;::::0;::::1;12073:21:350::0;12130:2;12110:18;;;12103:30;12169:34;12149:18;;;12142:62;12240:10;12220:18;;;12213:38;12268:19;;12164:78:230::1;11889:404:350::0;12164:78:230::1;12420:56;12444:5;12451:3;12456:7;12465:10;;12420:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;12420:23:230::1;::::0;-1:-1:-1;;;12420:56:230:i:1;:::-;12487:12;12502:45;12516:3;12521:9;12532:7;12502:45;;;;;;;;;;;::::0;:13:::1;:45::i;:::-;12487:60;;12565:7;12557:55;;;::::0;::::1;::::0;;12500:2:350;12557:55:230::1;::::0;::::1;12482:21:350::0;12539:2;12519:18;;;12512:30;12578:34;12558:18;;;12551:62;12649:5;12629:18;;;12622:33;12672:19;;12557:55:230::1;12298:399:350::0;12557:55:230::1;11913:706;11717:902:::0;;;;;:::o;4055:322:128:-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;12904:2:350;3146:190:41;;;12886:21:350;12943:2;12923:18;;;12916:30;12982:34;12962:18;;;12955:62;13053:16;13033:18;;;13026:44;13087:19;;3146:190:41;12702:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;4173:16:128::1;:36:::0;;;::::1;;::::0;::::1;;::::0;;4219:151:::1;4267:10:::0;635:42:194::1;4219:21:128;:151::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;13269:36:350;;3531:14:41;;13257:2:350;13242:18;3531:14:41;;;;;;;3090:472;4055:322:128;;:::o;10804:349:230:-;11047:99;11068:11;11081:12;11095:10;11107:3;11112:7;11121:12;11135:10;;11047:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11047:20:230;;-1:-1:-1;;;11047:99:230:i;7066:339:128:-;4741:10:230;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;7298:100:128::1;7320:8;7330;7340:10;7352;7364:7;7373:12;7387:10;;7298:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;7298:21:128::1;::::0;-1:-1:-1;;;7298:100:128:i:1;4418:103::-:0;4489:16;;:25;;;;;;;;4466:4;;4489:16;;;:23;;:25;;;;;;;;;;;;;;:16;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4482:32;;4418:103;:::o;8106:339::-;8345:93;8367:8;8377;8387:10;8399:3;8404:7;8413:12;8427:10;;8345:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8345:21:128;;-1:-1:-1;;;8345:93:128:i;9519:349:230:-;4741:10;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;9755:106:::1;9776:11;9789:12;9803:10;9815;9827:7;9836:12;9850:10;;9755:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;9755:20:230::1;::::0;-1:-1:-1;;;9755:106:230:i:1;6242:179:128:-:0;6352:62;6372:10;6384:3;6389:12;6403:10;;6352:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6352:19:128;;-1:-1:-1;;;6352:62:128:i;9453:305::-;9679:72;9699:8;9709;9719:5;9726:3;9731:7;9740:10;;9679:19;:72::i;5183:179::-;4741:10:230;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;5286:69:128::1;5306:10;5318;5330:12;5344:10;;5286:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;5286:19:128::1;::::0;-1:-1:-1;;;5286:69:128:i:1;8450:186:230:-:0;8557:72;8576:10;8588:3;8593:9;8604:12;8618:10;;8557:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8557:18:230;;-1:-1:-1;;;8557:72:230:i;15023:789::-;15240:7;15227:9;:20;15219:95;;;;;;;13800:2:350;15219:95:230;;;13782:21:350;13839:2;13819:18;;;13812:30;13878:34;13858:18;;;13851:62;13949:32;13929:18;;;13922:60;13999:19;;15219:95:230;13598:426:350;15219:95:230;15492:56;15516:5;15523:3;15528:7;15537:10;15492:23;:56::i;:::-;15559:9;;15630:11;;15666:88;;15559:9;;;;;:21;;15589:7;;15630:11;;;15689:31;;15666:88;;15722:5;;15729:3;;15589:7;;15743:10;;15666:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;15559:246;;;;;;;;;;;;;15782:12;;15559:246;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15023:789;;;;;:::o;18454:279::-;18527:4;18550:79;18582:6;18590:38;18550:31;:79::i;:::-;:176;;;;18645:81;18677:6;18685:40;18645:31;:81::i;:::-;18543:183;18454:279;-1:-1:-1;;18454:279:230:o;19180:410::-;19277:4;19297:87;19329:14;19345:38;19297:31;:87::i;:::-;19293:291;;;19443:14;19422:44;;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19407:61;;:11;:61;;;19400:68;;;;19293:291;19544:14;19521:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;763:205:50;902:58;;10641:42:350;10629:55;;902:58:50;;;10611:74:350;10701:18;;;10694:34;;;875:86:50;;895:5;;925:23;;10584:18:350;;902:58:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;875:19;:86::i;13450:447:128:-;13757:5;13705:84;;13743:12;13705:84;;13730:11;13705:84;;;13764:3;13769:7;13778:10;13705:84;;;;;;;;:::i;:::-;;;;;;;;13799:91;13831:11;13844:12;13858:5;13865:3;13870:7;13879:10;13799:31;:91::i;12208:328::-;12432:3;12402:55;;12425:5;12402:55;;;12437:7;12446:10;12402:55;;;;;;;:::i;:::-;;;;;;;;12467:62;12497:5;12504:3;12509:7;12518:10;12467:29;:62::i;1202:536:195:-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:195:o;5373:236:230:-;4888:13:41;;;;;;;4880:69;;;;;;;15885:2:350;4880:69:41;;;15867:21:350;15924:2;15904:18;;;15897:30;15963:34;15943:18;;;15936:62;16034:13;16014:18;;;16007:41;16065:19;;4880:69:41;15683:407:350;4880:69:41;5544:9:230::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;16506:1684::-;16767:37;16792:11;16767:24;:37::i;:::-;16763:512;;;16845:46;16865:11;16878:12;16845:19;:46::i;:::-;16820:179;;;;;;;10156:2:350;16820:179:230;;;10138:21:350;10195:2;10175:18;;;10168:30;10234:34;10214:18;;;10207:62;10305:34;10285:18;;;10278:62;10377:12;10356:19;;;10349:41;10407:19;;16820:179:230;9954:478:350;16820:179:230;17014:55;;;;;:39;10629:55:350;;;17014::230;;;10611:74:350;10701:18;;;10694:34;;;17014:39:230;;;;;10584:18:350;;17014:55:230;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16763:512;;;17100:67;:36;;;17137:5;17152:4;17159:7;17100:36;:67::i;:::-;17219:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;;:45;;17257:7;;17219:45;:::i;:::-;17181:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;:83;16763:512;17465:85;17491:11;17504:12;17518:5;17525:3;17530:7;17539:10;17465:25;:85::i;:::-;17561:9;;17614:11;;17650:482;;17561:9;;;;;:21;;17614:11;;17690:33;;17650:482;;17976:12;;18006:11;;18035:5;;18058:3;;18079:7;;18104:10;;17650:482;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;17561:622;;;;;;;;;;;;;18160:12;;17561:622;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16506:1684;;;;;;;:::o;11078:345:128:-;11329:87;11350:8;11360;11370:5;11377:3;11382:7;11391:12;11405:10;11329:20;:87::i;11651:325::-;11872:3;11845:52;;11865:5;11845:52;;;11877:7;11886:10;11845:52;;;;;;;:::i;:::-;;;;;;;;11907:62;11937:5;11944:3;11949:7;11958:10;11907:29;:62::i;1333:274:65:-;1420:4;1527:23;1542:7;1527:14;:23::i;:::-;:73;;;;;1554:46;1579:7;1588:11;1554:24;:46::i;:::-;1520:80;1333:274;-1:-1:-1;;;1333:274:65:o;3747:706:50:-;4166:23;4192:69;4220:4;4192:69;;;;;;;;;;;;;;;;;4200:5;4192:27;;;;:69;;;;;:::i;:::-;4275:17;;4166:95;;-1:-1:-1;4275:21:50;4271:176;;4370:10;4359:30;;;;;;;;;;;;:::i;:::-;4351:85;;;;;;;17109:2:350;4351:85:50;;;17091:21:350;17148:2;17128:18;;;17121:30;17187:34;17167:18;;;17160:62;17258:12;17238:18;;;17231:40;17288:19;;4351:85:50;16907:406:350;22245:341:230;22547:5;22499:80;;22533:12;22499:80;;22520:11;22499:80;;;22554:3;22559:7;22568:10;22499:80;;;;;;;;:::i;:::-;;;;;;;;22245:341;;;;;;:::o;20587:251::-;20806:3;20780:51;;20799:5;20780:51;;;20811:7;20820:10;20780:51;;;;;;;:::i;:::-;;;;;;;;20587:251;;;;:::o;974:241:50:-;1139:68;;17530:42:350;17599:15;;;1139:68:50;;;17581:34:350;17651:15;;17631:18;;;17624:43;17683:18;;;17676:34;;;1112:96:50;;1132:5;;1162:27;;17493:18:350;;1139:68:50;17318:398:350;12771:444:128;13075:5;13026:81;;13061:12;13026:81;;13048:11;13026:81;;;13082:3;13087:7;13096:10;13026:81;;;;;;;;:::i;:::-;;;;;;;;13117:91;13149:11;13162:12;13176:5;13183:3;13188:7;13197:10;13117:31;:91::i;19966:251:230:-;20185:3;20159:51;;20178:5;20159:51;;;20190:7;20199:10;20159:51;;;;;;;:::i;704:411:65:-;768:4;975:60;1000:7;1009:25;975:24;:60::i;:::-;:133;;;;-1:-1:-1;1052:56:65;1077:7;1086:21;1052:24;:56::i;:::-;1051:57;956:152;704:411;-1:-1:-1;;704:411:65:o;4223:638::-;4385:71;;;17895:66:350;17883:79;;4385:71:65;;;;17865:98:350;;;;4385:71:65;;;;;;;;;;17838:18:350;;;;4385:71:65;;;;;;;;;;;4408:34;4385:71;;;4664:20;;4316:4;;4385:71;4316:4;;;;;;4385:71;4316:4;;4664:20;4629:7;4622:5;4611:86;4600:97;;4724:16;4710:30;;4774:4;4768:11;4753:26;;4806:7;:29;;;;;4831:4;4817:10;:18;;4806:29;:48;;;;;4853:1;4839:11;:15;4806:48;4799:55;4223:638;-1:-1:-1;;;;;;;4223:638:65:o;3861:223:57:-;3994:12;4025:52;4047:6;4055:4;4061:1;4064:12;4025:21;:52::i;:::-;4018:59;3861:223;-1:-1:-1;;;;3861:223:57:o;21371:341:230:-;21673:5;21625:80;;21659:12;21625:80;;21646:11;21625:80;;;21680:3;21685:7;21694:10;21625:80;;;;;;;;:::i;4948:499:57:-;5113:12;5170:5;5145:21;:30;;5137:81;;;;;;;18176:2:350;5137:81:57;;;18158:21:350;18215:2;18195:18;;;18188:30;18254:34;18234:18;;;18227:62;18325:8;18305:18;;;18298:36;18351:19;;5137:81:57;17974:402:350;5137:81:57;1465:19;;;;5228:60;;;;;;;18583:2:350;5228:60:57;;;18565:21:350;18622:2;18602:18;;;18595:30;18661:31;18641:18;;;18634:59;18710:18;;5228:60:57;18381:353:350;5228:60:57;5300:12;5314:23;5341:6;:11;;5360:5;5367:4;5341:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:73;;;;5389:51;5406:7;5415:10;5427:12;7707;7735:7;7731:566;;;-1:-1:-1;7765:10:57;7758:17;;7731:566;7876:17;;:21;7872:415;;8120:10;8114:17;8180:15;8167:10;8163:2;8159:19;8152:44;7872:415;8259:12;8252:20;;;;;;;;;;;:::i;438:154:350:-;524:42;517:5;513:54;506:5;503:65;493:93;;582:1;579;572:12;493:93;438:154;:::o;597:347::-;648:8;658:6;712:3;705:4;697:6;693:17;689:27;679:55;;730:1;727;720:12;679:55;-1:-1:-1;753:20:350;;796:18;785:30;;782:50;;;828:1;825;818:12;782:50;865:4;857:6;853:17;841:29;;917:3;910:4;901:6;893;889:19;885:30;882:39;879:59;;;934:1;931;924:12;879:59;597:347;;;;;:::o;949:1038::-;1064:6;1072;1080;1088;1096;1104;1112;1165:3;1153:9;1144:7;1140:23;1136:33;1133:53;;;1182:1;1179;1172:12;1133:53;1221:9;1208:23;1240:31;1265:5;1240:31;:::i;:::-;1290:5;-1:-1:-1;1347:2:350;1332:18;;1319:32;1360:33;1319:32;1360:33;:::i;:::-;1412:7;-1:-1:-1;1471:2:350;1456:18;;1443:32;1484:33;1443:32;1484:33;:::i;:::-;1536:7;-1:-1:-1;1595:2:350;1580:18;;1567:32;1608:33;1567:32;1608:33;:::i;:::-;1660:7;-1:-1:-1;1714:3:350;1699:19;;1686:33;;-1:-1:-1;1770:3:350;1755:19;;1742:33;1798:18;1787:30;;1784:50;;;1830:1;1827;1820:12;1784:50;1869:58;1919:7;1910:6;1899:9;1895:22;1869:58;:::i;:::-;949:1038;;;;-1:-1:-1;949:1038:350;;-1:-1:-1;949:1038:350;;;;1843:84;;-1:-1:-1;;;949:1038:350:o;1992:163::-;2059:20;;2119:10;2108:22;;2098:33;;2088:61;;2145:1;2142;2135:12;2088:61;1992:163;;;:::o;2160:481::-;2238:6;2246;2254;2307:2;2295:9;2286:7;2282:23;2278:32;2275:52;;;2323:1;2320;2313:12;2275:52;2346:28;2364:9;2346:28;:::i;:::-;2336:38;;2425:2;2414:9;2410:18;2397:32;2452:18;2444:6;2441:30;2438:50;;;2484:1;2481;2474:12;2438:50;2523:58;2573:7;2564:6;2553:9;2549:22;2523:58;:::i;:::-;2160:481;;2600:8;;-1:-1:-1;2497:84:350;;-1:-1:-1;;;;2160:481:350:o;2646:754::-;2743:6;2751;2759;2767;2775;2828:3;2816:9;2807:7;2803:23;2799:33;2796:53;;;2845:1;2842;2835:12;2796:53;2884:9;2871:23;2903:31;2928:5;2903:31;:::i;:::-;2953:5;-1:-1:-1;3010:2:350;2995:18;;2982:32;3023:33;2982:32;3023:33;:::i;:::-;3075:7;-1:-1:-1;3129:2:350;3114:18;;3101:32;;-1:-1:-1;3184:2:350;3169:18;;3156:32;3211:18;3200:30;;3197:50;;;3243:1;3240;3233:12;3197:50;3282:58;3332:7;3323:6;3312:9;3308:22;3282:58;:::i;:::-;2646:754;;;;-1:-1:-1;2646:754:350;;-1:-1:-1;3359:8:350;;3256:84;2646:754;-1:-1:-1;;;2646:754:350:o;3924:445::-;4049:6;4057;4110:2;4098:9;4089:7;4085:23;4081:32;4078:52;;;4126:1;4123;4116:12;4078:52;4165:9;4152:23;4184:31;4209:5;4184:31;:::i;:::-;4234:5;-1:-1:-1;4291:2:350;4276:18;;4263:32;4304:33;4263:32;4304:33;:::i;:::-;4356:7;4346:17;;;3924:445;;;;;:::o;4374:969::-;4488:6;4496;4504;4512;4520;4528;4536;4589:3;4577:9;4568:7;4564:23;4560:33;4557:53;;;4606:1;4603;4596:12;4557:53;4645:9;4632:23;4664:31;4689:5;4664:31;:::i;:::-;4714:5;-1:-1:-1;4771:2:350;4756:18;;4743:32;4784:33;4743:32;4784:33;:::i;:::-;4836:7;-1:-1:-1;4895:2:350;4880:18;;4867:32;4908:33;4867:32;4908:33;:::i;:::-;4960:7;-1:-1:-1;5014:2:350;4999:18;;4986:32;;-1:-1:-1;5037:38:350;5070:3;5055:19;;5037:38;:::i;:::-;5027:48;;5126:3;5115:9;5111:19;5098:33;5154:18;5146:6;5143:30;5140:50;;;5186:1;5183;5176:12;5348:258;5420:1;5430:113;5444:6;5441:1;5438:13;5430:113;;;5520:11;;;5514:18;5501:11;;;5494:39;5466:2;5459:10;5430:113;;;5561:6;5558:1;5555:13;5552:48;;;-1:-1:-1;;5596:1:350;5578:16;;5571:27;5348:258::o;5611:317::-;5653:3;5691:5;5685:12;5718:6;5713:3;5706:19;5734:63;5790:6;5783:4;5778:3;5774:14;5767:4;5760:5;5756:16;5734:63;:::i;:::-;5842:2;5830:15;5847:66;5826:88;5817:98;;;;5917:4;5813:109;;5611:317;-1:-1:-1;;5611:317:350:o;5933:220::-;6082:2;6071:9;6064:21;6045:4;6102:45;6143:2;6132:9;6128:18;6120:6;6102:45;:::i;6158:827::-;6263:6;6271;6279;6287;6295;6303;6356:3;6344:9;6335:7;6331:23;6327:33;6324:53;;;6373:1;6370;6363:12;6324:53;6412:9;6399:23;6431:31;6456:5;6431:31;:::i;:::-;6481:5;-1:-1:-1;6538:2:350;6523:18;;6510:32;6551:33;6510:32;6551:33;:::i;:::-;6603:7;-1:-1:-1;6657:2:350;6642:18;;6629:32;;-1:-1:-1;6680:37:350;6713:2;6698:18;;6680:37;:::i;:::-;6670:47;;6768:3;6757:9;6753:19;6740:33;6796:18;6788:6;6785:30;6782:50;;;6828:1;6825;6818:12;6782:50;6867:58;6917:7;6908:6;6897:9;6893:22;6867:58;:::i;:::-;6158:827;;;;-1:-1:-1;6158:827:350;;-1:-1:-1;6158:827:350;;6944:8;;6158:827;-1:-1:-1;;;6158:827:350:o;8252:616::-;8339:6;8347;8355;8363;8416:2;8404:9;8395:7;8391:23;8387:32;8384:52;;;8432:1;8429;8422:12;8384:52;8471:9;8458:23;8490:31;8515:5;8490:31;:::i;:::-;8540:5;-1:-1:-1;8564:37:350;8597:2;8582:18;;8564:37;:::i;:::-;8554:47;;8652:2;8641:9;8637:18;8624:32;8679:18;8671:6;8668:30;8665:50;;;8711:1;8708;8701:12;8665:50;8750:58;8800:7;8791:6;8780:9;8776:22;8750:58;:::i;:::-;8252:616;;;;-1:-1:-1;8827:8:350;-1:-1:-1;;;;8252:616:350:o;8873:251::-;8943:6;8996:2;8984:9;8975:7;8971:23;8967:32;8964:52;;;9012:1;9009;9002:12;8964:52;9044:9;9038:16;9063:31;9088:5;9063:31;:::i;10739:184::-;10791:77;10788:1;10781:88;10888:4;10885:1;10878:15;10912:4;10909:1;10902:15;10928:125;10968:4;10996:1;10993;10990:8;10987:34;;;11001:18;;:::i;:::-;-1:-1:-1;11038:9:350;;10928:125::o;13316:277::-;13383:6;13436:2;13424:9;13415:7;13411:23;13407:32;13404:52;;;13452:1;13449;13442:12;13404:52;13484:9;13478:16;13537:5;13530:13;13523:21;13516:5;13513:32;13503:60;;13559:1;13556;13549:12;14029:512;14223:4;14252:42;14333:2;14325:6;14321:15;14310:9;14303:34;14385:2;14377:6;14373:15;14368:2;14357:9;14353:18;14346:43;;14425:6;14420:2;14409:9;14405:18;14398:34;14468:3;14463:2;14452:9;14448:18;14441:31;14489:46;14530:3;14519:9;14515:19;14507:6;14489:46;:::i;:::-;14481:54;14029:512;-1:-1:-1;;;;;;14029:512:350:o;14546:424::-;14759:42;14751:6;14747:55;14736:9;14729:74;14839:2;14834;14823:9;14819:18;14812:30;14710:4;14859:45;14900:2;14889:9;14885:18;14877:6;14859:45;:::i;:::-;14851:53;;14952:10;14944:6;14940:23;14935:2;14924:9;14920:18;14913:51;14546:424;;;;;;:::o;14975:409::-;15190:42;15182:6;15178:55;15167:9;15160:74;15270:6;15265:2;15254:9;15250:18;15243:34;15313:2;15308;15297:9;15293:18;15286:30;15141:4;15333:45;15374:2;15363:9;15359:18;15351:6;15333:45;:::i;:::-;15325:53;14975:409;-1:-1:-1;;;;;14975:409:350:o;15389:289::-;15564:6;15553:9;15546:25;15607:2;15602;15591:9;15587:18;15580:30;15527:4;15627:45;15668:2;15657:9;15653:18;15645:6;15627:45;:::i;16095:128::-;16135:3;16166:1;16162:6;16159:1;16156:13;16153:39;;;16172:18;;:::i;:::-;-1:-1:-1;16208:9:350;;16095:128::o;16228:674::-;16478:4;16507:42;16588:2;16580:6;16576:15;16565:9;16558:34;16640:2;16632:6;16628:15;16623:2;16612:9;16608:18;16601:43;16692:2;16684:6;16680:15;16675:2;16664:9;16660:18;16653:43;16744:2;16736:6;16732:15;16727:2;16716:9;16712:18;16705:43;;16785:6;16779:3;16768:9;16764:19;16757:35;16829:3;16823;16812:9;16808:19;16801:32;16850:46;16891:3;16880:9;16876:19;16868:6;16850:46;:::i;:::-;16842:54;16228:674;-1:-1:-1;;;;;;;;16228:674:350:o;18739:274::-;18868:3;18906:6;18900:13;18922:53;18968:6;18963:3;18956:4;18948:6;18944:17;18922:53;:::i;:::-;18991:16;;;;;18739:274;-1:-1:-1;;18739:274:350:o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC20(address,address,uint256,uint32,bytes)":"87087623","bridgeERC20To(address,address,address,uint256,uint32,bytes)":"540abf73","bridgeETH(uint32,bytes)":"09fc8843","bridgeETHTo(address,uint32,bytes)":"e11013dd","depositERC20(address,address,uint256,uint32,bytes)":"58a997f6","depositERC20To(address,address,address,uint256,uint32,bytes)":"838b2520","depositETH(uint32,bytes)":"b1a1a882","depositETHTo(address,uint32,bytes)":"9a2ac6d5","deposits(address,address)":"8f601f66","finalizeBridgeERC20(address,address,address,address,uint256,bytes)":"0166a07a","finalizeBridgeETH(address,address,uint256,bytes)":"1635f5fd","finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":"a9f9e675","finalizeETHWithdrawal(address,address,uint256,bytes)":"1532ec34","initialize(address,address)":"485cc955","l2TokenBridge()":"91c49bf8","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","superchainConfig()":"35e80ab3","version()":"54fd4d50"},rawMetadata:`{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20DepositInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20WithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHDepositInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHWithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETHTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositERC20To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositETHTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeERC20Withdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeETHWithdrawal","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract CrossDomainMessenger","name":"_messenger","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l2TokenBridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@title L1StandardBridge","events":{"ERC20DepositInitiated(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever an ERC20 deposit is initiated.","params":{"amount":"Amount of the ERC20 deposited.","extraData":"Extra data attached to the deposit.","from":"Address of the depositor.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L2."}},"ERC20WithdrawalFinalized(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever an ERC20 withdrawal is finalized.","params":{"amount":"Amount of the ERC20 withdrawn.","extraData":"Extra data attached to the withdrawal.","from":"Address of the withdrawer.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L1."}},"ETHDepositInitiated(address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever a deposit of ETH from L1 into L2 is initiated.","params":{"amount":"Amount of ETH deposited.","extraData":"Extra data attached to the deposit.","from":"Address of the depositor.","to":"Address of the recipient on L2."}},"ETHWithdrawalFinalized(address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever a withdrawal of ETH from L2 to L1 is finalized.","params":{"amount":"Amount of ETH withdrawn.","extraData":"Extra data attached to the withdrawal.","from":"Address of the withdrawer.","to":"Address of the recipient on L1."}}},"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"bridgeETH(uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_to":"Address of the receiver."}},"depositERC20(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into the sender's account on L2.","params":{"_amount":"Amount of the ERC20 to deposit.","_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_l1Token":"Address of the L1 token being deposited.","_l2Token":"Address of the corresponding token on L2.","_minGasLimit":"Minimum gas limit for the deposit message on L2."}},"depositERC20To(address,address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into a target account on L2.","params":{"_amount":"Amount of the ERC20 to deposit.","_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_l1Token":"Address of the L1 token being deposited.","_l2Token":"Address of the corresponding token on L2.","_minGasLimit":"Minimum gas limit for the deposit message on L2.","_to":"Address of the recipient on L2."}},"depositETH(uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into the sender's account on L2.","params":{"_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_minGasLimit":"Minimum gas limit for the deposit message on L2."}},"depositETHTo(address,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into a target account on L2. Note that if ETH is sent to a contract on L2 and the call fails, then that ETH will be locked in the L2StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently.","params":{"_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_minGasLimit":"Minimum gas limit for the deposit message on L2.","_to":"Address of the recipient on L2."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"params":{"_amount":"Amount of the ERC20 being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_localToken":"Address of the ERC20 on this chain.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{"params":{"_amount":"Amount of ETH being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_to":"Address of the receiver."}},"finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ERC20 tokens from L2.","params":{"_amount":"Amount of the ERC20 to withdraw.","_extraData":"Optional data forwarded from L2.","_from":"Address of the withdrawer on L2.","_l1Token":"Address of the token on L1.","_l2Token":"Address of the corresponding token on L2.","_to":"Address of the recipient on L1."}},"finalizeETHWithdrawal(address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ETH from L2.","params":{"_amount":"Amount of ETH to withdraw.","_extraData":"Optional data forwarded from L2.","_from":"Address of the withdrawer on L2.","_to":"Address of the recipient on L1."}},"initialize(address,address)":{"params":{"_messenger":"Contract for the CrossDomainMessenger on this network.","_superchainConfig":"Contract for the SuperchainConfig on this network."}},"l2TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L2 bridge contract.","returns":{"_0":"Address of the corresponding L2 bridge contract."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}}},"stateVariables":{"version":{"custom:semver":"2.1.0"}},"version":1},"userdoc":{"events":{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is initiated to the other chain."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use \`messenger\` instead."},"OTHER_BRIDGE()":{"notice":"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use \`otherBridge\` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to the sender's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to a receiver's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{"notice":"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{"notice":"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},"constructor":{"notice":"Constructs the L1StandardBridge contract."},"deposits(address,address)":{"notice":"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"notice":"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{"notice":"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address,address)":{"notice":"Initializer."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Corresponding bridge on the other domain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{"notice":"Address of the SuperchainConfig contract."},"version()":{"notice":"Semantic version."}},"notice":"The L1StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L1, it will be escrowed within this contract. If the ERC20 token is native to L2, it will be burnt. Before Bedrock, ETH was stored within this contract. After Bedrock, ETH is instead stored inside the OptimismPortal contract. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists.","version":1}},"settings":{"compilationTarget":{"src/L1/L1StandardBridge.sol":"L1StandardBridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1StandardBridge.sol":{"keccak256":"0x2fdc6f6f464a24344847c81d394f502d000cd722f7ff21fa21104b5f7e392633","license":"MIT","urls":["bzz-raw://393fd96446ab8fce3bb7d1134e6ff847bf9940e0eaa199accf01118c3917367f","dweb:/ipfs/QmX36camDYHu7pVzdjnfprinxPpZnjJehZXUKTyUdezKRK"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90","license":"MIT","urls":["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"]}},"version":1}`,metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20DepositInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20WithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHDepositInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHWithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20To"},{inputs:[{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETH"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETHTo"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"depositERC20"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"depositERC20To"},{inputs:[{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositETH"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositETHTo"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC20"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeBridgeETH"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeERC20Withdrawal"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeETHWithdrawal"},{inputs:[{internalType:"contract CrossDomainMessenger",name:"_messenger",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"depositERC20(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into the sender's account on L2.",params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositERC20To(address,address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into a target account on L2.",params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"depositETH(uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into the sender's account on L2.",params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositETHTo(address,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into a target account on L2. Note that if ETH is sent to a contract on L2 and the call fails, then that ETH will be locked in the L2StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently.",params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ERC20 tokens from L2.",params:{_amount:"Amount of the ERC20 to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_l1Token:"Address of the token on L1.",_l2Token:"Address of the corresponding token on L2.",_to:"Address of the recipient on L1."}},"finalizeETHWithdrawal(address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ETH from L2.",params:{_amount:"Amount of ETH to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_to:"Address of the recipient on L1."}},"initialize(address,address)":{params:{_messenger:"Contract for the CrossDomainMessenger on this network.",_superchainConfig:"Contract for the SuperchainConfig on this network."}},"l2TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L2 bridge contract.",returns:{_0:"Address of the corresponding L2 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L1StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address,address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L1StandardBridge.sol":"L1StandardBridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1StandardBridge.sol":{keccak256:"0x2fdc6f6f464a24344847c81d394f502d000cd722f7ff21fa21104b5f7e392633",urls:["bzz-raw://393fd96446ab8fce3bb7d1134e6ff847bf9940e0eaa199accf01118c3917367f","dweb:/ipfs/QmX36camDYHu7pVzdjnfprinxPpZnjJehZXUKTyUdezKRK"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90",urls:["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:107554,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:107557,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"spacer_1_0_20",offset:0,slot:"1",type:"t_address"},{astId:107564,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"deposits",offset:0,slot:"2",type:"t_mapping(t_address,t_mapping(t_address,t_uint256))"},{astId:107568,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"messenger",offset:0,slot:"3",type:"t_contract(CrossDomainMessenger)105498"},{astId:107572,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"otherBridge",offset:0,slot:"4",type:"t_contract(StandardBridge)108285"},{astId:107577,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"__gap",offset:0,slot:"5",type:"t_array(t_uint256)45_storage"},{astId:82468,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"superchainConfig",offset:0,slot:"50",type:"t_contract(SuperchainConfig)85848"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)45_storage":{encoding:"inplace",label:"uint256[45]",numberOfBytes:"1440",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)108285":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},"t_contract(SuperchainConfig)85848":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_uint256))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => uint256))",numberOfBytes:"32",value:"t_mapping(t_address,t_uint256)"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L1StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address,address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},events:{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is initiated to the other chain."}},notice:"The L1StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L1, it will be escrowed within this contract. If the ERC20 token is native to L2, it will be burnt. Before Bedrock, ETH was stored within this contract. After Bedrock, ETH is instead stored inside the OptimismPortal contract. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"depositERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"depositETH(uint32,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositETHTo(address,uint32,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_l1Token:"Address of the token on L1.",_l2Token:"Address of the corresponding token on L2.",_to:"Address of the recipient on L1."}},"finalizeETHWithdrawal(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_to:"Address of the recipient on L1."}},"initialize(address,address)":{params:{_messenger:"Contract for the CrossDomainMessenger on this network.",_superchainConfig:"Contract for the SuperchainConfig on this network."}},"l2TokenBridge()":{returns:{_0:"Address of the corresponding L2 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},events:{"ERC20DepositInitiated(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 deposited.",extraData:"Extra data attached to the deposit.",from:"Address of the depositor.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L2."}},"ERC20WithdrawalFinalized(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 withdrawn.",extraData:"Extra data attached to the withdrawal.",from:"Address of the withdrawer.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L1."}},"ETHDepositInitiated(address,address,uint256,bytes)":{params:{amount:"Amount of ETH deposited.",extraData:"Extra data attached to the deposit.",from:"Address of the depositor.",to:"Address of the recipient on L2."}},"ETHWithdrawalFinalized(address,address,uint256,bytes)":{params:{amount:"Amount of ETH withdrawn.",extraData:"Extra data attached to the withdrawal.",from:"Address of the withdrawer.",to:"Address of the recipient on L1."}}}},id:128}});var Joe=D((Gca,kHt)=>{kHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC20To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeETH",inputs:[{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"bridgeETHTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"deposits",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"finalizeBridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeBridgeETH",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeDeposit",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"initialize",inputs:[{name:"_otherBridge",type:"address",internalType:"contract StandardBridge"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l1TokenBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"withdraw",inputs:[{name:"_l2Token",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"withdrawTo",inputs:[{name:"_l2Token",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"event",name:"DepositFinalized",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeFinalized",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeInitiated",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"WithdrawalInitiated",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000217565b600054610100900460ff1615808015620000455750600054600160ff909116105b8062000075575062000062306200016d60201b620004811760201c565b15801562000075575060005460ff166001145b620000de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000102576000805461ff0019166101001790555b62000122734200000000000000000000000000000000000007836200017c565b801562000169576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054610100900460ff16620001e95760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055565b612a8380620002276000396000f3fe60806040526004361061012d5760003560e01c8063662a633a116100a5578063927ede2d11610074578063c4d66de811610059578063c4d66de814610421578063c89701a214610441578063e11013dd1461046e57600080fd5b8063927ede2d146103e3578063a3a795481461040e57600080fd5b8063662a633a1461036a5780637f46ddb21461025a578063870876231461037d5780638f601f661461039d57600080fd5b806336c717c1116100fc578063540abf73116100e1578063540abf73146102d857806354fd4d50146102f85780635c975abb1461034e57600080fd5b806336c717c11461025a5780633cb747bf146102ab57600080fd5b80630166a07a1461020157806309fc8843146102215780631635f5fd1461023457806332b7006d1461024757600080fd5b366101fc57333b156101c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b6101fa73deaddeaddeaddeaddeaddeaddeaddeaddead000033333462030d406040518060200160405280600081525061049d565b005b600080fd5b34801561020d57600080fd5b506101fa61021c366004612476565b610578565b6101fa61022f366004612527565b61091a565b6101fa61024236600461257a565b6109f1565b6101fa6102553660046125ed565b610e43565b34801561026657600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102b757600080fd5b506003546102819073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102e457600080fd5b506101fa6102f3366004612641565b610f1d565b34801561030457600080fd5b506103416040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516102a2919061272e565b34801561035a57600080fd5b50604051600081526020016102a2565b6101fa610378366004612476565b610f62565b34801561038957600080fd5b506101fa610398366004612741565b610fd5565b3480156103a957600080fd5b506103d56103b83660046127c4565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102a2565b3480156103ef57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff16610281565b6101fa61041c366004612741565b6110a9565b34801561042d57600080fd5b506101fa61043c3660046127fd565b6110ed565b34801561044d57600080fd5b506004546102819073ffffffffffffffffffffffffffffffffffffffff1681565b6101fa61047c36600461281a565b611296565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b7fffffffffffffffffffffffff215221522152215221522152215221522153000073ffffffffffffffffffffffffffffffffffffffff8716016104ec576104e785858585856112df565b610570565b60008673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055d919061287d565b905061056e878288888888886114a9565b505b505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff163314801561064b575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa15801561060f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610633919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b6106fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b610706876117d4565b15610854576107158787611836565b6107c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b15801561083757600080fd5b505af115801561084b573d6000803e3d6000fd5b505050506108d6565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a16835292905220546108929084906128c9565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c16835293905291909120919091556108d6908585611956565b61056e878787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a2a92505050565b333b156109a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b6109ec3333348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610ac4575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610a88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aac919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b610b76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b823414610c05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e7420726571756972656400000000000060648201526084016101bd565b3073ffffffffffffffffffffffffffffffffffffffff851603610caa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c66000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610d55576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e67657200000000000000000000000000000000000000000000000060648201526084016101bd565b610d9785858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611ab892505050565b6000610db4855a8660405180602001604052806000815250611b59565b905080610570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c6564000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b333b15610ed2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b610f16853333878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b5050505050565b61056e87873388888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b73ffffffffffffffffffffffffffffffffffffffff8716158015610faf575073ffffffffffffffffffffffffffffffffffffffff861673deaddeaddeaddeaddeaddeaddeaddeaddead0000145b15610fc657610fc185858585856109f1565b61056e565b61056e86888787878787610578565b333b15611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b61057086863333888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b610570863387878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b600054610100900460ff161580801561110d5750600054600160ff909116105b806111275750303b158015611127575060005460ff166001145b6111b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016101bd565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561121157600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b61122f73420000000000000000000000000000000000000783611b73565b801561129257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6112d93385348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b50505050565b82341461136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c7565000060648201526084016101bd565b61137a85858584611c5d565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd00000000000000000000000000000000000000000000000000000000906113dd908b908b9086908a906024016128e0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b909216825261147092918890600401612929565b6000604051808303818588803b15801561148957600080fd5b505af115801561149d573d6000803e3d6000fd5b50505050505050505050565b6114b2876117d4565b15611600576114c18787611836565b611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b1580156115e357600080fd5b505af11580156115f7573d6000803e3d6000fd5b50505050611694565b61162273ffffffffffffffffffffffffffffffffffffffff8816863086611cfe565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a168352929052205461166090849061296e565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b6116a2878787878786611d5c565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611706908b908d908c908c908c908b90602401612986565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b909216825261179992918790600401612929565b600060405180830381600087803b1580156117b357600080fd5b505af11580156117c7573d6000803e3d6000fd5b5050505050505050505050565b6000611800827f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b806118305750611830827fec4fc8e300000000000000000000000000000000000000000000000000000000611dea565b92915050565b6000611862837f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b1561190b578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d6919061287d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050611830565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109ec9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611e0d565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611aa2939291906129e1565b60405180910390a4610570868686868686611f19565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611b45939291906129e1565b60405180910390a46112d984848484611fa1565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016101bd565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611cea939291906129e1565b60405180910390a46112d98484848461200e565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526112d99085907f23b872dd00000000000000000000000000000000000000000000000000000000906084016119a8565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611dd4939291906129e1565b60405180910390a461057086868686868661206d565b6000611df5836120e5565b8015611e065750611e068383612149565b9392505050565b6000611e6f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166122189092919063ffffffff16565b8051909150156109ec5780806020019051810190611e8d9190612a1f565b6109ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016101bd565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd868686604051611f91939291906129e1565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d8484604051612000929190612a41565b60405180910390a350505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af58484604051612000929190612a41565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf868686604051611f91939291906129e1565b6000612111827f01ffc9a700000000000000000000000000000000000000000000000000000000612149565b80156118305750612142827fffffffff00000000000000000000000000000000000000000000000000000000612149565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d91506000519050828015612201575060208210155b801561220d5750600081115b979650505050505050565b6060612227848460008561222f565b949350505050565b6060824710156122c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016101bd565b73ffffffffffffffffffffffffffffffffffffffff85163b61233f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101bd565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516123689190612a5a565b60006040518083038185875af1925050503d80600081146123a5576040519150601f19603f3d011682016040523d82523d6000602084013e6123aa565b606091505b509150915061220d828286606083156123c4575081611e06565b8251156123d45782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101bd919061272e565b73ffffffffffffffffffffffffffffffffffffffff8116811461242a57600080fd5b50565b60008083601f84011261243f57600080fd5b50813567ffffffffffffffff81111561245757600080fd5b60208301915083602082850101111561246f57600080fd5b9250929050565b600080600080600080600060c0888a03121561249157600080fd5b873561249c81612408565b965060208801356124ac81612408565b955060408801356124bc81612408565b945060608801356124cc81612408565b93506080880135925060a088013567ffffffffffffffff8111156124ef57600080fd5b6124fb8a828b0161242d565b989b979a50959850939692959293505050565b803563ffffffff8116811461252257600080fd5b919050565b60008060006040848603121561253c57600080fd5b6125458461250e565b9250602084013567ffffffffffffffff81111561256157600080fd5b61256d8682870161242d565b9497909650939450505050565b60008060008060006080868803121561259257600080fd5b853561259d81612408565b945060208601356125ad81612408565b935060408601359250606086013567ffffffffffffffff8111156125d057600080fd5b6125dc8882890161242d565b969995985093965092949392505050565b60008060008060006080868803121561260557600080fd5b853561261081612408565b9450602086013593506126256040870161250e565b9250606086013567ffffffffffffffff8111156125d057600080fd5b600080600080600080600060c0888a03121561265c57600080fd5b873561266781612408565b9650602088013561267781612408565b9550604088013561268781612408565b94506060880135935061269c6080890161250e565b925060a088013567ffffffffffffffff8111156124ef57600080fd5b60005b838110156126d35781810151838201526020016126bb565b838111156112d95750506000910152565b600081518084526126fc8160208601602086016126b8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611e0660208301846126e4565b60008060008060008060a0878903121561275a57600080fd5b863561276581612408565b9550602087013561277581612408565b94506040870135935061278a6060880161250e565b9250608087013567ffffffffffffffff8111156127a657600080fd5b6127b289828a0161242d565b979a9699509497509295939492505050565b600080604083850312156127d757600080fd5b82356127e281612408565b915060208301356127f281612408565b809150509250929050565b60006020828403121561280f57600080fd5b8135611e0681612408565b6000806000806060858703121561283057600080fd5b843561283b81612408565b93506128496020860161250e565b9250604085013567ffffffffffffffff81111561286557600080fd5b6128718782880161242d565b95989497509550505050565b60006020828403121561288f57600080fd5b8151611e0681612408565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156128db576128db61289a565b500390565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261291f60808301846126e4565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8416815260606020820152600061295860608301856126e4565b905063ffffffff83166040830152949350505050565b600082198211156129815761298161289a565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a08301526129d560c08301846126e4565b98975050505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612a1660608301846126e4565b95945050505050565b600060208284031215612a3157600080fd5b81518015158114611e0657600080fd5b82815260406020820152600061222760408301846126e4565b60008251612a6c8184602087016126b8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1141:9307:145:-:0;;;2615:113;;;;;;;;;-1:-1:-1;2656:65:145::1;2714:1;2656:10;:65::i;:::-;1141:9307:::0;;2849:242;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;2927:157:145::1;480:42:194;3061:12:145::0;2927:21:::1;:157::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;2849:242:145;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;5373:236:230:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;830:2:350;4880:69:41;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4880:69:41;628:407:350;4880:69:41;5544:9:230::1;:22:::0;;-1:-1:-1;;;;;5544:22:230;;::::1;-1:-1:-1::0;;;;;;5544:22:230;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;628:407:350:-;1141:9307:145;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061012d5760003560e01c8063662a633a116100a5578063927ede2d11610074578063c4d66de811610059578063c4d66de814610421578063c89701a214610441578063e11013dd1461046e57600080fd5b8063927ede2d146103e3578063a3a795481461040e57600080fd5b8063662a633a1461036a5780637f46ddb21461025a578063870876231461037d5780638f601f661461039d57600080fd5b806336c717c1116100fc578063540abf73116100e1578063540abf73146102d857806354fd4d50146102f85780635c975abb1461034e57600080fd5b806336c717c11461025a5780633cb747bf146102ab57600080fd5b80630166a07a1461020157806309fc8843146102215780631635f5fd1461023457806332b7006d1461024757600080fd5b366101fc57333b156101c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b6101fa73deaddeaddeaddeaddeaddeaddeaddeaddead000033333462030d406040518060200160405280600081525061049d565b005b600080fd5b34801561020d57600080fd5b506101fa61021c366004612476565b610578565b6101fa61022f366004612527565b61091a565b6101fa61024236600461257a565b6109f1565b6101fa6102553660046125ed565b610e43565b34801561026657600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102b757600080fd5b506003546102819073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102e457600080fd5b506101fa6102f3366004612641565b610f1d565b34801561030457600080fd5b506103416040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516102a2919061272e565b34801561035a57600080fd5b50604051600081526020016102a2565b6101fa610378366004612476565b610f62565b34801561038957600080fd5b506101fa610398366004612741565b610fd5565b3480156103a957600080fd5b506103d56103b83660046127c4565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102a2565b3480156103ef57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff16610281565b6101fa61041c366004612741565b6110a9565b34801561042d57600080fd5b506101fa61043c3660046127fd565b6110ed565b34801561044d57600080fd5b506004546102819073ffffffffffffffffffffffffffffffffffffffff1681565b6101fa61047c36600461281a565b611296565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b7fffffffffffffffffffffffff215221522152215221522152215221522153000073ffffffffffffffffffffffffffffffffffffffff8716016104ec576104e785858585856112df565b610570565b60008673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055d919061287d565b905061056e878288888888886114a9565b505b505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff163314801561064b575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa15801561060f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610633919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b6106fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b610706876117d4565b15610854576107158787611836565b6107c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b15801561083757600080fd5b505af115801561084b573d6000803e3d6000fd5b505050506108d6565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a16835292905220546108929084906128c9565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c16835293905291909120919091556108d6908585611956565b61056e878787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a2a92505050565b333b156109a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b6109ec3333348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610ac4575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610a88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aac919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b610b76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b823414610c05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e7420726571756972656400000000000060648201526084016101bd565b3073ffffffffffffffffffffffffffffffffffffffff851603610caa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c66000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610d55576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e67657200000000000000000000000000000000000000000000000060648201526084016101bd565b610d9785858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611ab892505050565b6000610db4855a8660405180602001604052806000815250611b59565b905080610570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c6564000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b333b15610ed2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b610f16853333878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b5050505050565b61056e87873388888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b73ffffffffffffffffffffffffffffffffffffffff8716158015610faf575073ffffffffffffffffffffffffffffffffffffffff861673deaddeaddeaddeaddeaddeaddeaddeaddead0000145b15610fc657610fc185858585856109f1565b61056e565b61056e86888787878787610578565b333b15611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b61057086863333888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b610570863387878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b600054610100900460ff161580801561110d5750600054600160ff909116105b806111275750303b158015611127575060005460ff166001145b6111b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016101bd565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561121157600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b61122f73420000000000000000000000000000000000000783611b73565b801561129257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6112d93385348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b50505050565b82341461136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c7565000060648201526084016101bd565b61137a85858584611c5d565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd00000000000000000000000000000000000000000000000000000000906113dd908b908b9086908a906024016128e0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b909216825261147092918890600401612929565b6000604051808303818588803b15801561148957600080fd5b505af115801561149d573d6000803e3d6000fd5b50505050505050505050565b6114b2876117d4565b15611600576114c18787611836565b611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b1580156115e357600080fd5b505af11580156115f7573d6000803e3d6000fd5b50505050611694565b61162273ffffffffffffffffffffffffffffffffffffffff8816863086611cfe565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a168352929052205461166090849061296e565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b6116a2878787878786611d5c565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611706908b908d908c908c908c908b90602401612986565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b909216825261179992918790600401612929565b600060405180830381600087803b1580156117b357600080fd5b505af11580156117c7573d6000803e3d6000fd5b5050505050505050505050565b6000611800827f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b806118305750611830827fec4fc8e300000000000000000000000000000000000000000000000000000000611dea565b92915050565b6000611862837f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b1561190b578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d6919061287d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050611830565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109ec9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611e0d565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611aa2939291906129e1565b60405180910390a4610570868686868686611f19565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611b45939291906129e1565b60405180910390a46112d984848484611fa1565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016101bd565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611cea939291906129e1565b60405180910390a46112d98484848461200e565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526112d99085907f23b872dd00000000000000000000000000000000000000000000000000000000906084016119a8565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611dd4939291906129e1565b60405180910390a461057086868686868661206d565b6000611df5836120e5565b8015611e065750611e068383612149565b9392505050565b6000611e6f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166122189092919063ffffffff16565b8051909150156109ec5780806020019051810190611e8d9190612a1f565b6109ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016101bd565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd868686604051611f91939291906129e1565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d8484604051612000929190612a41565b60405180910390a350505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af58484604051612000929190612a41565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf868686604051611f91939291906129e1565b6000612111827f01ffc9a700000000000000000000000000000000000000000000000000000000612149565b80156118305750612142827fffffffff00000000000000000000000000000000000000000000000000000000612149565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d91506000519050828015612201575060208210155b801561220d5750600081115b979650505050505050565b6060612227848460008561222f565b949350505050565b6060824710156122c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016101bd565b73ffffffffffffffffffffffffffffffffffffffff85163b61233f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101bd565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516123689190612a5a565b60006040518083038185875af1925050503d80600081146123a5576040519150601f19603f3d011682016040523d82523d6000602084013e6123aa565b606091505b509150915061220d828286606083156123c4575081611e06565b8251156123d45782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101bd919061272e565b73ffffffffffffffffffffffffffffffffffffffff8116811461242a57600080fd5b50565b60008083601f84011261243f57600080fd5b50813567ffffffffffffffff81111561245757600080fd5b60208301915083602082850101111561246f57600080fd5b9250929050565b600080600080600080600060c0888a03121561249157600080fd5b873561249c81612408565b965060208801356124ac81612408565b955060408801356124bc81612408565b945060608801356124cc81612408565b93506080880135925060a088013567ffffffffffffffff8111156124ef57600080fd5b6124fb8a828b0161242d565b989b979a50959850939692959293505050565b803563ffffffff8116811461252257600080fd5b919050565b60008060006040848603121561253c57600080fd5b6125458461250e565b9250602084013567ffffffffffffffff81111561256157600080fd5b61256d8682870161242d565b9497909650939450505050565b60008060008060006080868803121561259257600080fd5b853561259d81612408565b945060208601356125ad81612408565b935060408601359250606086013567ffffffffffffffff8111156125d057600080fd5b6125dc8882890161242d565b969995985093965092949392505050565b60008060008060006080868803121561260557600080fd5b853561261081612408565b9450602086013593506126256040870161250e565b9250606086013567ffffffffffffffff8111156125d057600080fd5b600080600080600080600060c0888a03121561265c57600080fd5b873561266781612408565b9650602088013561267781612408565b9550604088013561268781612408565b94506060880135935061269c6080890161250e565b925060a088013567ffffffffffffffff8111156124ef57600080fd5b60005b838110156126d35781810151838201526020016126bb565b838111156112d95750506000910152565b600081518084526126fc8160208601602086016126b8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611e0660208301846126e4565b60008060008060008060a0878903121561275a57600080fd5b863561276581612408565b9550602087013561277581612408565b94506040870135935061278a6060880161250e565b9250608087013567ffffffffffffffff8111156127a657600080fd5b6127b289828a0161242d565b979a9699509497509295939492505050565b600080604083850312156127d757600080fd5b82356127e281612408565b915060208301356127f281612408565b809150509250929050565b60006020828403121561280f57600080fd5b8135611e0681612408565b6000806000806060858703121561283057600080fd5b843561283b81612408565b93506128496020860161250e565b9250604085013567ffffffffffffffff81111561286557600080fd5b6128718782880161242d565b95989497509550505050565b60006020828403121561288f57600080fd5b8151611e0681612408565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156128db576128db61289a565b500390565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261291f60808301846126e4565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8416815260606020820152600061295860608301856126e4565b905063ffffffff83166040830152949350505050565b600082198211156129815761298161289a565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a08301526129d560c08301846126e4565b98975050505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612a1660608301846126e4565b95945050505050565b600060208284031215612a3157600080fd5b81518015158114611e0657600080fd5b82815260406020820152600061222760408301846126e4565b60008251612a6c8184602087016126b8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1141:9307:145:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4741:10:230;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;;;;;;;;;3228:143:145::1;2708:42:194;3290:10:145;3302;3314:9;1343:7:230;3352:9:145;;;;;;;;;;;::::0;3228:19:::1;:143::i;:::-;1141:9307:::0;;;;;13351:1084:230;;;;;;;;;;-1:-1:-1;13351:1084:230;;;;;:::i;:::-;;:::i;7253:186::-;;;;;;:::i;:::-;;:::i;11717:902::-;;;;;;:::i;:::-;;:::i;3897:313:145:-;;;;;;:::i;:::-;;:::i;6764:101::-;;;;;;;;;;-1:-1:-1;6846:11:145;;;;6764:101;;;4271:42:350;4259:55;;;4241:74;;4229:2;4214:18;6764:101:145;;;;;;;;1893:37:230;;;;;;;;;;-1:-1:-1;1893:37:230;;;;;;;;10804:349;;;;;;;;;;-1:-1:-1;10804:349:230;;;;;:::i;:::-;;:::i;2510:40:145:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;6750:82:230:-;;;;;;;;;;-1:-1:-1;6750:82:230;;6797:4;6512:41:350;;6500:2;6485:18;6750:82:230;6372:187:350;6087:505:145;;;;;;:::i;:::-;;:::i;9519:349:230:-;;;;;;;;;;-1:-1:-1;9519:349:230;;;;;:::i;:::-;;:::i;1739:63::-;;;;;;;;;;-1:-1:-1;1739:63:230;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;8199:25:350;;;8187:2;8172:18;1739:63:230;8053:177:350;6024:99:230;;;;;;;;;;-1:-1:-1;6107:9:230;;;;6024:99;;5197:313:145;;;;;;:::i;:::-;;:::i;2849:242::-;;;;;;;;;;-1:-1:-1;2849:242:145;;;;;:::i;:::-;;:::i;2028:33:230:-;;;;;;;;;;-1:-1:-1;2028:33:230;;;;;;;;8450:186;;;;;;:::i;:::-;;:::i;1175:320:57:-;1465:19;;;:23;;;1175:320::o;7372:554:145:-;7599:39;;;;;7595:325;;7654:65;7673:5;7680:3;7685:7;7694:12;7708:10;7654:18;:65::i;:::-;7595:325;;;7750:15;7790:8;7768:39;;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7750:59;;7823:86;7844:8;7854:7;7863:5;7870:3;7875:7;7884:12;7898:10;7823:20;:86::i;:::-;7736:184;7595:325;7372:554;;;;;;:::o;13351:1084:230:-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:230;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9591:2:350;4961:204:230;;;9573:21:350;9630:2;9610:18;;;9603:30;9669:34;9649:18;;;9642:62;9740:34;9720:18;;;9713:62;9812:3;9791:19;;;9784:32;9833:19;;4961:204:230;9389:469:350;4961:204:230;13668:37:::1;13693:11;13668:24;:37::i;:::-;13664:489;;;13746:46;13766:11;13779:12;13746:19;:46::i;:::-;13721:179;;;::::0;::::1;::::0;;10416:2:350;13721:179:230::1;::::0;::::1;10398:21:350::0;10455:2;10435:18;;;10428:30;10494:34;10474:18;;;10467:62;10565:34;10545:18;;;10538:62;10637:12;10616:19;;;10609:41;10667:19;;13721:179:230::1;10214:478:350::0;13721:179:230::1;13915:53;::::0;;;;:39:::1;10889:55:350::0;;;13915:53:230::1;::::0;::::1;10871:74:350::0;10961:18;;;10954:34;;;13915:39:230;::::1;::::0;::::1;::::0;10844:18:350;;13915:53:230::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;13664:489;;;14037:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;:45:::1;::::0;14075:7;;14037:45:::1;:::i;:::-;13999:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;;;:83;;;;14096:46:::1;::::0;14129:3;14134:7;14096:32:::1;:46::i;:::-;14343:85;14369:11;14382:12;14396:5;14403:3;14408:7;14417:10;;14343:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;14343:25:230::1;::::0;-1:-1:-1;;;14343:85:230:i:1;7253:186::-:0;4741:10;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;7353:79:::1;7372:10;7384;7396:9;7407:12;7421:10;;7353:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;7353:18:230::1;::::0;-1:-1:-1;;;7353:79:230:i:1;:::-;7253:186:::0;;;:::o;11717:902::-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:230;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9591:2:350;4961:204:230;;;9573:21:350;9630:2;9610:18;;;9603:30;9669:34;9649:18;;;9642:62;9740:34;9720:18;;;9713:62;9812:3;9791:19;;;9784:32;9833:19;;4961:204:230;9389:469:350;4961:204:230;12006:7:::1;11993:9;:20;11985:91;;;::::0;::::1;::::0;;11520:2:350;11985:91:230::1;::::0;::::1;11502:21:350::0;11559:2;11539:18;;;11532:30;11598:34;11578:18;;;11571:62;11669:28;11649:18;;;11642:56;11715:19;;11985:91:230::1;11318:422:350::0;11985:91:230::1;12109:4;12094:20;::::0;::::1;::::0;12086:68:::1;;;::::0;::::1;::::0;;11947:2:350;12086:68:230::1;::::0;::::1;11929:21:350::0;11986:2;11966:18;;;11959:30;12025:34;12005:18;;;11998:62;12096:5;12076:18;;;12069:33;12119:19;;12086:68:230::1;11745:399:350::0;12086:68:230::1;12187:9;::::0;::::1;::::0;;::::1;12172:25:::0;;::::1;::::0;12164:78:::1;;;::::0;::::1;::::0;;12351:2:350;12164:78:230::1;::::0;::::1;12333:21:350::0;12390:2;12370:18;;;12363:30;12429:34;12409:18;;;12402:62;12500:10;12480:18;;;12473:38;12528:19;;12164:78:230::1;12149:404:350::0;12164:78:230::1;12420:56;12444:5;12451:3;12456:7;12465:10;;12420:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;12420:23:230::1;::::0;-1:-1:-1;;;12420:56:230:i:1;:::-;12487:12;12502:45;12516:3;12521:9;12532:7;12502:45;;;;;;;;;;;::::0;:13:::1;:45::i;:::-;12487:60;;12565:7;12557:55;;;::::0;::::1;::::0;;12760:2:350;12557:55:230::1;::::0;::::1;12742:21:350::0;12799:2;12779:18;;;12772:30;12838:34;12818:18;;;12811:62;12909:5;12889:18;;;12882:33;12932:19;;12557:55:230::1;12558:399:350::0;3897:313:145;4741:10:230;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;4115:88:145::1;4135:8;4145:10;4157;4169:7;4178:12;4192:10;;4115:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;4115:19:145::1;::::0;-1:-1:-1;;;4115:88:145:i:1;:::-;3897:313:::0;;;;;:::o;10804:349:230:-;11047:99;11068:11;11081:12;11095:10;11107:3;11112:7;11121:12;11135:10;;11047:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11047:20:230;;-1:-1:-1;;;11047:99:230:i;6087:505:145:-;6341:22;;;;:65;;;;-1:-1:-1;6367:39:145;;;2708:42:194;6367:39:145;6341:65;6337:249;;;6422:50;6440:5;6447:3;6452:7;6461:10;;6422:17;:50::i;:::-;6337:249;;;6503:72;6523:8;6533;6543:5;6550:3;6555:7;6564:10;;6503:19;:72::i;9519:349:230:-;4741:10;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;9755:106:::1;9776:11;9789:12;9803:10;9815;9827:7;9836:12;9850:10;;9755:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;9755:20:230::1;::::0;-1:-1:-1;;;9755:106:230:i:1;5197:313:145:-:0;5422:81;5442:8;5452:10;5464:3;5469:7;5478:12;5492:10;;5422:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5422:19:145;;-1:-1:-1;;;5422:81:145:i;2849:242::-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;13164:2:350;3146:190:41;;;13146:21:350;13203:2;13183:18;;;13176:30;13242:34;13222:18;;;13215:62;13313:16;13293:18;;;13286:44;13347:19;;3146:190:41;12962:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;2927:157:145::1;480:42:194;3061:12:145;2927:21;:157::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;13529:36:350;;3531:14:41;;13517:2:350;13502:18;3531:14:41;;;;;;;3457:99;3090:472;2849:242:145;:::o;8450:186:230:-;8557:72;8576:10;8588:3;8593:9;8604:12;8618:10;;8557:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8557:18:230;;-1:-1:-1;;;8557:72:230:i;:::-;8450:186;;;;:::o;15023:789::-;15240:7;15227:9;:20;15219:95;;;;;;;13778:2:350;15219:95:230;;;13760:21:350;13817:2;13797:18;;;13790:30;13856:34;13836:18;;;13829:62;13927:32;13907:18;;;13900:60;13977:19;;15219:95:230;13576:426:350;15219:95:230;15492:56;15516:5;15523:3;15528:7;15537:10;15492:23;:56::i;:::-;15559:9;;15630:11;;15666:88;;15559:9;;;;;:21;;15589:7;;15630:11;;;15689:31;;15666:88;;15722:5;;15729:3;;15589:7;;15743:10;;15666:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;15559:246;;;;;;;;;;;;;15782:12;;15559:246;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15023:789;;;;;:::o;16506:1684::-;16767:37;16792:11;16767:24;:37::i;:::-;16763:512;;;16845:46;16865:11;16878:12;16845:19;:46::i;:::-;16820:179;;;;;;;10416:2:350;16820:179:230;;;10398:21:350;10455:2;10435:18;;;10428:30;10494:34;10474:18;;;10467:62;10565:34;10545:18;;;10538:62;10637:12;10616:19;;;10609:41;10667:19;;16820:179:230;10214:478:350;16820:179:230;17014:55;;;;;:39;10889:55:350;;;17014::230;;;10871:74:350;10961:18;;;10954:34;;;17014:39:230;;;;;10844:18:350;;17014:55:230;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16763:512;;;17100:67;:36;;;17137:5;17152:4;17159:7;17100:36;:67::i;:::-;17219:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;;:45;;17257:7;;17219:45;:::i;:::-;17181:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;:83;16763:512;17465:85;17491:11;17504:12;17518:5;17525:3;17530:7;17539:10;17465:25;:85::i;:::-;17561:9;;17614:11;;17650:482;;17561:9;;;;;:21;;17614:11;;17690:33;;17650:482;;17976:12;;18006:11;;18035:5;;18058:3;;18079:7;;18104:10;;17650:482;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;17561:622;;;;;;;;;;;;;18160:12;;17561:622;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16506:1684;;;;;;;:::o;18454:279::-;18527:4;18550:79;18582:6;18590:38;18550:31;:79::i;:::-;:176;;;;18645:81;18677:6;18685:40;18645:31;:81::i;:::-;18543:183;18454:279;-1:-1:-1;;18454:279:230:o;19180:410::-;19277:4;19297:87;19329:14;19345:38;19297:31;:87::i;:::-;19293:291;;;19443:14;19422:44;;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19407:61;;:11;:61;;;19400:68;;;;19293:291;19544:14;19521:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;763:205:50;902:58;;10901:42:350;10889:55;;902:58:50;;;10871:74:350;10961:18;;;10954:34;;;875:86:50;;895:5;;925:23;;10844:18:350;;902:58:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;875:19;:86::i;10007:439:145:-;10306:5;10262:76;;10293:11;10262:76;;10279:12;10262:76;;;10313:3;10318:7;10327:10;10262:76;;;;;;;;:::i;:::-;;;;;;;;10348:91;10380:11;10393:12;10407:5;10414:3;10419:7;10428:10;10348:31;:91::i;8745:363::-;8997:5;8939:90;;2708:42:194;8939:90:145;;8964:1;8939:90;;;9004:3;9009:7;9018:10;8939:90;;;;;;;;:::i;:::-;;;;;;;;9039:62;9069:5;9076:3;9081:7;9090:10;9039:29;:62::i;1202:536:195:-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:195:o;5373:236:230:-;4888:13:41;;;;;;;4880:69;;;;;;;16381:2:350;4880:69:41;;;16363:21:350;16420:2;16400:18;;;16393:30;16459:34;16439:18;;;16432:62;16530:13;16510:18;;;16503:41;16561:19;;4880:69:41;16179:407:350;4880:69:41;5544:9:230::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;8154:366:145:-;8409:5;8348:93;;2708:42:194;8348:93:145;;8376:1;8348:93;;;8416:3;8421:7;8430:10;8348:93;;;;;;;;:::i;:::-;;;;;;;;8451:62;8481:5;8488:3;8493:7;8502:10;8451:29;:62::i;974:241:50:-;1139:68;;16803:42:350;16872:15;;;1139:68:50;;;16854:34:350;16924:15;;16904:18;;;16897:43;16956:18;;;16949:34;;;1112:96:50;;1132:5;;1162:27;;16766:18:350;;1139:68:50;16591:398:350;9338:442:145;9640:5;9593:79;;9627:11;9593:79;;9613:12;9593:79;;;9647:3;9652:7;9661:10;9593:79;;;;;;;;:::i;:::-;;;;;;;;9682:91;9714:11;9727:12;9741:5;9748:3;9753:7;9762:10;9682:31;:91::i;1333:274:65:-;1420:4;1527:23;1542:7;1527:14;:23::i;:::-;:73;;;;;1554:46;1579:7;1588:11;1554:24;:46::i;:::-;1520:80;1333:274;-1:-1:-1;;;1333:274:65:o;3747:706:50:-;4166:23;4192:69;4220:4;4192:69;;;;;;;;;;;;;;;;;4200:5;4192:27;;;;:69;;;;;:::i;:::-;4275:17;;4166:95;;-1:-1:-1;4275:21:50;4271:176;;4370:10;4359:30;;;;;;;;;;;;:::i;:::-;4351:85;;;;;;;17478:2:350;4351:85:50;;;17460:21:350;17517:2;17497:18;;;17490:30;17556:34;17536:18;;;17529:62;17627:12;17607:18;;;17600:40;17657:19;;4351:85:50;17276:406:350;22245:341:230;22547:5;22499:80;;22533:12;22499:80;;22520:11;22499:80;;;22554:3;22559:7;22568:10;22499:80;;;;;;;;:::i;:::-;;;;;;;;22245:341;;;;;;:::o;20587:251::-;20806:3;20780:51;;20799:5;20780:51;;;20811:7;20820:10;20780:51;;;;;;;:::i;:::-;;;;;;;;20587:251;;;;:::o;19966:::-;20185:3;20159:51;;20178:5;20159:51;;;20190:7;20199:10;20159:51;;;;;;;:::i;21371:341::-;21673:5;21625:80;;21659:12;21625:80;;21646:11;21625:80;;;21680:3;21685:7;21694:10;21625:80;;;;;;;;:::i;704:411:65:-;768:4;975:60;1000:7;1009:25;975:24;:60::i;:::-;:133;;;;-1:-1:-1;1052:56:65;1077:7;1086:21;1052:24;:56::i;:::-;1051:57;956:152;704:411;-1:-1:-1;;704:411:65:o;4223:638::-;4385:71;;;18155:66:350;18143:79;;4385:71:65;;;;18125:98:350;;;;4385:71:65;;;;;;;;;;18098:18:350;;;;4385:71:65;;;;;;;;;;;4408:34;4385:71;;;4664:20;;4316:4;;4385:71;4316:4;;;;;;4385:71;4316:4;;4664:20;4629:7;4622:5;4611:86;4600:97;;4724:16;4710:30;;4774:4;4768:11;4753:26;;4806:7;:29;;;;;4831:4;4817:10;:18;;4806:29;:48;;;;;4853:1;4839:11;:15;4806:48;4799:55;4223:638;-1:-1:-1;;;;;;;4223:638:65:o;3861:223:57:-;3994:12;4025:52;4047:6;4055:4;4061:1;4064:12;4025:21;:52::i;:::-;4018:59;3861:223;-1:-1:-1;;;;3861:223:57:o;4948:499::-;5113:12;5170:5;5145:21;:30;;5137:81;;;;;;;18436:2:350;5137:81:57;;;18418:21:350;18475:2;18455:18;;;18448:30;18514:34;18494:18;;;18487:62;18585:8;18565:18;;;18558:36;18611:19;;5137:81:57;18234:402:350;5137:81:57;1465:19;;;;5228:60;;;;;;;18843:2:350;5228:60:57;;;18825:21:350;18882:2;18862:18;;;18855:30;18921:31;18901:18;;;18894:59;18970:18;;5228:60:57;18641:353:350;5228:60:57;5300:12;5314:23;5341:6;:11;;5360:5;5367:4;5341:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:73;;;;5389:51;5406:7;5415:10;5427:12;7707;7735:7;7731:566;;;-1:-1:-1;7765:10:57;7758:17;;7731:566;7876:17;;:21;7872:415;;8120:10;8114:17;8180:15;8167:10;8163:2;8159:19;8152:44;7872:415;8259:12;8252:20;;;;;;;;;;;:::i;438:154:350:-;524:42;517:5;513:54;506:5;503:65;493:93;;582:1;579;572:12;493:93;438:154;:::o;597:347::-;648:8;658:6;712:3;705:4;697:6;693:17;689:27;679:55;;730:1;727;720:12;679:55;-1:-1:-1;753:20:350;;796:18;785:30;;782:50;;;828:1;825;818:12;782:50;865:4;857:6;853:17;841:29;;917:3;910:4;901:6;893;889:19;885:30;882:39;879:59;;;934:1;931;924:12;879:59;597:347;;;;;:::o;949:1038::-;1064:6;1072;1080;1088;1096;1104;1112;1165:3;1153:9;1144:7;1140:23;1136:33;1133:53;;;1182:1;1179;1172:12;1133:53;1221:9;1208:23;1240:31;1265:5;1240:31;:::i;:::-;1290:5;-1:-1:-1;1347:2:350;1332:18;;1319:32;1360:33;1319:32;1360:33;:::i;:::-;1412:7;-1:-1:-1;1471:2:350;1456:18;;1443:32;1484:33;1443:32;1484:33;:::i;:::-;1536:7;-1:-1:-1;1595:2:350;1580:18;;1567:32;1608:33;1567:32;1608:33;:::i;:::-;1660:7;-1:-1:-1;1714:3:350;1699:19;;1686:33;;-1:-1:-1;1770:3:350;1755:19;;1742:33;1798:18;1787:30;;1784:50;;;1830:1;1827;1820:12;1784:50;1869:58;1919:7;1910:6;1899:9;1895:22;1869:58;:::i;:::-;949:1038;;;;-1:-1:-1;949:1038:350;;-1:-1:-1;949:1038:350;;;;1843:84;;-1:-1:-1;;;949:1038:350:o;1992:163::-;2059:20;;2119:10;2108:22;;2098:33;;2088:61;;2145:1;2142;2135:12;2088:61;1992:163;;;:::o;2160:481::-;2238:6;2246;2254;2307:2;2295:9;2286:7;2282:23;2278:32;2275:52;;;2323:1;2320;2313:12;2275:52;2346:28;2364:9;2346:28;:::i;:::-;2336:38;;2425:2;2414:9;2410:18;2397:32;2452:18;2444:6;2441:30;2438:50;;;2484:1;2481;2474:12;2438:50;2523:58;2573:7;2564:6;2553:9;2549:22;2523:58;:::i;:::-;2160:481;;2600:8;;-1:-1:-1;2497:84:350;;-1:-1:-1;;;;2160:481:350:o;2646:754::-;2743:6;2751;2759;2767;2775;2828:3;2816:9;2807:7;2803:23;2799:33;2796:53;;;2845:1;2842;2835:12;2796:53;2884:9;2871:23;2903:31;2928:5;2903:31;:::i;:::-;2953:5;-1:-1:-1;3010:2:350;2995:18;;2982:32;3023:33;2982:32;3023:33;:::i;:::-;3075:7;-1:-1:-1;3129:2:350;3114:18;;3101:32;;-1:-1:-1;3184:2:350;3169:18;;3156:32;3211:18;3200:30;;3197:50;;;3243:1;3240;3233:12;3197:50;3282:58;3332:7;3323:6;3312:9;3308:22;3282:58;:::i;:::-;2646:754;;;;-1:-1:-1;2646:754:350;;-1:-1:-1;3359:8:350;;3256:84;2646:754;-1:-1:-1;;;2646:754:350:o;3405:685::-;3501:6;3509;3517;3525;3533;3586:3;3574:9;3565:7;3561:23;3557:33;3554:53;;;3603:1;3600;3593:12;3554:53;3642:9;3629:23;3661:31;3686:5;3661:31;:::i;:::-;3711:5;-1:-1:-1;3763:2:350;3748:18;;3735:32;;-1:-1:-1;3786:37:350;3819:2;3804:18;;3786:37;:::i;:::-;3776:47;;3874:2;3863:9;3859:18;3846:32;3901:18;3893:6;3890:30;3887:50;;;3933:1;3930;3923:12;4588:969;4702:6;4710;4718;4726;4734;4742;4750;4803:3;4791:9;4782:7;4778:23;4774:33;4771:53;;;4820:1;4817;4810:12;4771:53;4859:9;4846:23;4878:31;4903:5;4878:31;:::i;:::-;4928:5;-1:-1:-1;4985:2:350;4970:18;;4957:32;4998:33;4957:32;4998:33;:::i;:::-;5050:7;-1:-1:-1;5109:2:350;5094:18;;5081:32;5122:33;5081:32;5122:33;:::i;:::-;5174:7;-1:-1:-1;5228:2:350;5213:18;;5200:32;;-1:-1:-1;5251:38:350;5284:3;5269:19;;5251:38;:::i;:::-;5241:48;;5340:3;5329:9;5325:19;5312:33;5368:18;5360:6;5357:30;5354:50;;;5400:1;5397;5390:12;5562:258;5634:1;5644:113;5658:6;5655:1;5652:13;5644:113;;;5734:11;;;5728:18;5715:11;;;5708:39;5680:2;5673:10;5644:113;;;5775:6;5772:1;5769:13;5766:48;;;-1:-1:-1;;5810:1:350;5792:16;;5785:27;5562:258::o;5825:317::-;5867:3;5905:5;5899:12;5932:6;5927:3;5920:19;5948:63;6004:6;5997:4;5992:3;5988:14;5981:4;5974:5;5970:16;5948:63;:::i;:::-;6056:2;6044:15;6061:66;6040:88;6031:98;;;;6131:4;6027:109;;5825:317;-1:-1:-1;;5825:317:350:o;6147:220::-;6296:2;6285:9;6278:21;6259:4;6316:45;6357:2;6346:9;6342:18;6334:6;6316:45;:::i;6828:827::-;6933:6;6941;6949;6957;6965;6973;7026:3;7014:9;7005:7;7001:23;6997:33;6994:53;;;7043:1;7040;7033:12;6994:53;7082:9;7069:23;7101:31;7126:5;7101:31;:::i;:::-;7151:5;-1:-1:-1;7208:2:350;7193:18;;7180:32;7221:33;7180:32;7221:33;:::i;:::-;7273:7;-1:-1:-1;7327:2:350;7312:18;;7299:32;;-1:-1:-1;7350:37:350;7383:2;7368:18;;7350:37;:::i;:::-;7340:47;;7438:3;7427:9;7423:19;7410:33;7466:18;7458:6;7455:30;7452:50;;;7498:1;7495;7488:12;7452:50;7537:58;7587:7;7578:6;7567:9;7563:22;7537:58;:::i;:::-;6828:827;;;;-1:-1:-1;6828:827:350;;-1:-1:-1;6828:827:350;;7614:8;;6828:827;-1:-1:-1;;;6828:827:350:o;7660:388::-;7728:6;7736;7789:2;7777:9;7768:7;7764:23;7760:32;7757:52;;;7805:1;7802;7795:12;7757:52;7844:9;7831:23;7863:31;7888:5;7863:31;:::i;:::-;7913:5;-1:-1:-1;7970:2:350;7955:18;;7942:32;7983:33;7942:32;7983:33;:::i;:::-;8035:7;8025:17;;;7660:388;;;;;:::o;8235:272::-;8319:6;8372:2;8360:9;8351:7;8347:23;8343:32;8340:52;;;8388:1;8385;8378:12;8340:52;8427:9;8414:23;8446:31;8471:5;8446:31;:::i;8512:616::-;8599:6;8607;8615;8623;8676:2;8664:9;8655:7;8651:23;8647:32;8644:52;;;8692:1;8689;8682:12;8644:52;8731:9;8718:23;8750:31;8775:5;8750:31;:::i;:::-;8800:5;-1:-1:-1;8824:37:350;8857:2;8842:18;;8824:37;:::i;:::-;8814:47;;8912:2;8901:9;8897:18;8884:32;8939:18;8931:6;8928:30;8925:50;;;8971:1;8968;8961:12;8925:50;9010:58;9060:7;9051:6;9040:9;9036:22;9010:58;:::i;:::-;8512:616;;;;-1:-1:-1;9087:8:350;-1:-1:-1;;;;8512:616:350:o;9133:251::-;9203:6;9256:2;9244:9;9235:7;9231:23;9227:32;9224:52;;;9272:1;9269;9262:12;9224:52;9304:9;9298:16;9323:31;9348:5;9323:31;:::i;10999:184::-;11051:77;11048:1;11041:88;11148:4;11145:1;11138:15;11172:4;11169:1;11162:15;11188:125;11228:4;11256:1;11253;11250:8;11247:34;;;11261:18;;:::i;:::-;-1:-1:-1;11298:9:350;;11188:125::o;14007:512::-;14201:4;14230:42;14311:2;14303:6;14299:15;14288:9;14281:34;14363:2;14355:6;14351:15;14346:2;14335:9;14331:18;14324:43;;14403:6;14398:2;14387:9;14383:18;14376:34;14446:3;14441:2;14430:9;14426:18;14419:31;14467:46;14508:3;14497:9;14493:19;14485:6;14467:46;:::i;:::-;14459:54;14007:512;-1:-1:-1;;;;;;14007:512:350:o;14524:424::-;14737:42;14729:6;14725:55;14714:9;14707:74;14817:2;14812;14801:9;14797:18;14790:30;14688:4;14837:45;14878:2;14867:9;14863:18;14855:6;14837:45;:::i;:::-;14829:53;;14930:10;14922:6;14918:23;14913:2;14902:9;14898:18;14891:51;14524:424;;;;;;:::o;14953:128::-;14993:3;15024:1;15020:6;15017:1;15014:13;15011:39;;;15030:18;;:::i;:::-;-1:-1:-1;15066:9:350;;14953:128::o;15086:674::-;15336:4;15365:42;15446:2;15438:6;15434:15;15423:9;15416:34;15498:2;15490:6;15486:15;15481:2;15470:9;15466:18;15459:43;15550:2;15542:6;15538:15;15533:2;15522:9;15518:18;15511:43;15602:2;15594:6;15590:15;15585:2;15574:9;15570:18;15563:43;;15643:6;15637:3;15626:9;15622:19;15615:35;15687:3;15681;15670:9;15666:19;15659:32;15708:46;15749:3;15738:9;15734:19;15726:6;15708:46;:::i;:::-;15700:54;15086:674;-1:-1:-1;;;;;;;;15086:674:350:o;15765:409::-;15980:42;15972:6;15968:55;15957:9;15950:74;16060:6;16055:2;16044:9;16040:18;16033:34;16103:2;16098;16087:9;16083:18;16076:30;15931:4;16123:45;16164:2;16153:9;16149:18;16141:6;16123:45;:::i;:::-;16115:53;15765:409;-1:-1:-1;;;;;15765:409:350:o;16994:277::-;17061:6;17114:2;17102:9;17093:7;17089:23;17085:32;17082:52;;;17130:1;17127;17120:12;17082:52;17162:9;17156:16;17215:5;17208:13;17201:21;17194:5;17191:32;17181:60;;17237:1;17234;17227:12;17687:289;17862:6;17851:9;17844:25;17905:2;17900;17889:9;17885:18;17878:30;17825:4;17925:45;17966:2;17955:9;17951:18;17943:6;17925:45;:::i;18999:274::-;19128:3;19166:6;19160:13;19182:53;19228:6;19223:3;19216:4;19208:6;19204:17;19182:53;:::i;:::-;19251:16;;;;;18999:274;-1:-1:-1;;18999:274:350:o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC20(address,address,uint256,uint32,bytes)":"87087623","bridgeERC20To(address,address,address,uint256,uint32,bytes)":"540abf73","bridgeETH(uint32,bytes)":"09fc8843","bridgeETHTo(address,uint32,bytes)":"e11013dd","deposits(address,address)":"8f601f66","finalizeBridgeERC20(address,address,address,address,uint256,bytes)":"0166a07a","finalizeBridgeETH(address,address,uint256,bytes)":"1635f5fd","finalizeDeposit(address,address,address,address,uint256,bytes)":"662a633a","initialize(address)":"c4d66de8","l1TokenBridge()":"36c717c1","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","version()":"54fd4d50","withdraw(address,uint256,uint32,bytes)":"32b7006d","withdrawTo(address,address,uint256,uint32,bytes)":"a3a79548"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"DepositFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"WithdrawalInitiated","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETHTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeDeposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract StandardBridge","name":"_otherBridge","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l1TokenBridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"withdrawTo","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000010","events":{"DepositFinalized(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever an ERC20 deposit is finalized.","params":{"amount":"Amount of the ERC20 deposited.","extraData":"Extra data attached to the deposit.","from":"Address of the depositor.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L2."}},"WithdrawalInitiated(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever a withdrawal from L2 to L1 is initiated.","params":{"amount":"Amount of the ERC20 withdrawn.","extraData":"Extra data attached to the withdrawal.","from":"Address of the withdrawer.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L1."}}},"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"bridgeETH(uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_to":"Address of the receiver."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"params":{"_amount":"Amount of the ERC20 being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_localToken":"Address of the ERC20 on this chain.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{"params":{"_amount":"Amount of ETH being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_to":"Address of the receiver."}},"finalizeDeposit(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a deposit from L1 to L2. To finalize a deposit of ether, use address(0) and the l1Token and the Legacy ERC20 ether predeploy address as the l2Token.","params":{"_amount":"Amount of the tokens being deposited.","_extraData":"Extra data attached to the deposit.","_from":"Address of the depositor.","_l1Token":"Address of the L1 token to deposit.","_l2Token":"Address of the corresponding L2 token.","_to":"Address of the recipient."}},"initialize(address)":{"params":{"_otherBridge":"Contract for the corresponding bridge on the other chain."}},"l1TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L1 bridge contract.","returns":{"_0":"Address of the corresponding L1 bridge contract."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}},"withdraw(address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20` function to bridge native L2 tokens to L1.","params":{"_amount":"Amount of the L2 token to withdraw.","_extraData":"Extra data attached to the withdrawal.","_l2Token":"Address of the L2 token to withdraw.","_minGasLimit":"Minimum gas limit to use for the transaction."}},"withdrawTo(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1 to a target account on L1. Note that if ETH is sent to a contract on L1 and the call fails, then that ETH will be locked in the L1StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20To` function to bridge native L2 tokens to L1.","params":{"_amount":"Amount of the L2 token to withdraw.","_extraData":"Extra data attached to the withdrawal.","_l2Token":"Address of the L2 token to withdraw.","_minGasLimit":"Minimum gas limit to use for the transaction.","_to":"Recipient account on L1."}}},"stateVariables":{"version":{"custom:semver":"1.8.0"}},"title":"L2StandardBridge","version":1},"userdoc":{"events":{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is initiated to the other chain."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{"notice":"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to the sender\'s address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to a receiver\'s address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{"notice":"Sends ETH to the sender\'s address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{"notice":"Sends ETH to a receiver\'s address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},"constructor":{"notice":"Constructs the L2StandardBridge contract."},"deposits(address,address)":{"notice":"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"notice":"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{"notice":"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address)":{"notice":"Initializer."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Corresponding bridge on the other domain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},"notice":"The L2StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L2, it will be escrowed within this contract. If the ERC20 token is native to L1, it will be burnt. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists.","version":1}},"settings":{"compilationTarget":{"src/L2/L2StandardBridge.sol":"L2StandardBridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L2/L2StandardBridge.sol":{"keccak256":"0x9f17720ac0b3b44723b02385a19063cf22704cd0bd253fce3e6d24b9f76bd629","license":"MIT","urls":["bzz-raw://1575cf22553428baf7abb23059cb97c29e534ab5214f13d54a1810349166c570","dweb:/ipfs/Qme2oVH1pd1rBe1AyxUjHrofDgHXdHaUiqSgBVsSSLbKN5"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90","license":"MIT","urls":["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"DepositFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeInitiated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"WithdrawalInitiated",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20To"},{inputs:[{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETH"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETHTo"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC20"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeBridgeETH"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeDeposit"},{inputs:[{internalType:"contract StandardBridge",name:"_otherBridge",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l1TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"withdraw"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"withdrawTo"},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeDeposit(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a deposit from L1 to L2. To finalize a deposit of ether, use address(0) and the l1Token and the Legacy ERC20 ether predeploy address as the l2Token.",params:{_amount:"Amount of the tokens being deposited.",_extraData:"Extra data attached to the deposit.",_from:"Address of the depositor.",_l1Token:"Address of the L1 token to deposit.",_l2Token:"Address of the corresponding L2 token.",_to:"Address of the recipient."}},"initialize(address)":{params:{_otherBridge:"Contract for the corresponding bridge on the other chain."}},"l1TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L1 bridge contract.",returns:{_0:"Address of the corresponding L1 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"withdraw(address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20` function to bridge native L2 tokens to L1.",params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction."}},"withdrawTo(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1 to a target account on L1. Note that if ETH is sent to a contract on L1 and the call fails, then that ETH will be locked in the L1StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20To` function to bridge native L2 tokens to L1.",params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction.",_to:"Recipient account on L1."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L2StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2StandardBridge.sol":"L2StandardBridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L2/L2StandardBridge.sol":{keccak256:"0x9f17720ac0b3b44723b02385a19063cf22704cd0bd253fce3e6d24b9f76bd629",urls:["bzz-raw://1575cf22553428baf7abb23059cb97c29e534ab5214f13d54a1810349166c570","dweb:/ipfs/Qme2oVH1pd1rBe1AyxUjHrofDgHXdHaUiqSgBVsSSLbKN5"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90",urls:["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:107554,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:107557,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"spacer_1_0_20",offset:0,slot:"1",type:"t_address"},{astId:107564,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"deposits",offset:0,slot:"2",type:"t_mapping(t_address,t_mapping(t_address,t_uint256))"},{astId:107568,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"messenger",offset:0,slot:"3",type:"t_contract(CrossDomainMessenger)105498"},{astId:107572,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"otherBridge",offset:0,slot:"4",type:"t_contract(StandardBridge)108285"},{astId:107577,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"__gap",offset:0,slot:"5",type:"t_array(t_uint256)45_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)45_storage":{encoding:"inplace",label:"uint256[45]",numberOfBytes:"1440",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)108285":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_uint256))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => uint256))",numberOfBytes:"32",value:"t_mapping(t_address,t_uint256)"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L2StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},events:{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is initiated to the other chain."}},notice:"The L2StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L2, it will be escrowed within this contract. If the ERC20 token is native to L1, it will be burnt. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeDeposit(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the tokens being deposited.",_extraData:"Extra data attached to the deposit.",_from:"Address of the depositor.",_l1Token:"Address of the L1 token to deposit.",_l2Token:"Address of the corresponding L2 token.",_to:"Address of the recipient."}},"initialize(address)":{params:{_otherBridge:"Contract for the corresponding bridge on the other chain."}},"l1TokenBridge()":{returns:{_0:"Address of the corresponding L1 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"withdraw(address,uint256,uint32,bytes)":{params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction."}},"withdrawTo(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction.",_to:"Recipient account on L1."}}},events:{"DepositFinalized(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 deposited.",extraData:"Extra data attached to the deposit.",from:"Address of the depositor.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L2."}},"WithdrawalInitiated(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 withdrawn.",extraData:"Extra data attached to the withdrawal.",from:"Address of the withdrawer.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L1."}}},title:"L2StandardBridge"},id:145}});var Xoe=D((Kca,SHt)=>{SHt.exports={abi:[{type:"constructor",inputs:[{name:"_bridge",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_decimals",type:"uint8",internalType:"uint8"}],stateMutability:"nonpayable"},{type:"function",name:"BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"REMOTE_TOKEN",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"bridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"l1Token",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"l2Bridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"mint",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"remoteToken",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"_interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"pure"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Burn",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Mint",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60e06040523480156200001157600080fd5b506040516200178a3803806200178a833981016040819052620000349162000163565b828260036200004483826200029e565b5060046200005382826200029e565b5050506001600160a01b039384166080529390921660a052505060ff1660c0526200036a565b80516001600160a01b03811681146200009157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000be57600080fd5b81516001600160401b0380821115620000db57620000db62000096565b604051601f8301601f19908116603f0116810190828211818310171562000106576200010662000096565b816040528381526020925086838588010111156200012357600080fd5b600091505b8382101562000147578582018301518183018401529082019062000128565b83821115620001595760008385830101525b9695505050505050565b600080600080600060a086880312156200017c57600080fd5b620001878662000079565b9450620001976020870162000079565b60408701519094506001600160401b0380821115620001b557600080fd5b620001c389838a01620000ac565b94506060880151915080821115620001da57600080fd5b50620001e988828901620000ac565b925050608086015160ff811681146200020157600080fd5b809150509295509295909350565b600181811c908216806200022457607f821691505b6020821081036200024557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029957600081815260208120601f850160051c81016020861015620002745750805b601f850160051c820191505b81811015620002955782815560010162000280565b5050505b505050565b81516001600160401b03811115620002ba57620002ba62000096565b620002d281620002cb84546200020f565b846200024b565b602080601f8311600181146200030a5760008415620002f15750858301515b600019600386901b1c1916600185901b17855562000295565b600085815260208120601f198616915b828110156200033b578886015182559484019460019091019084016200031a565b50858210156200035a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516113d4620003b6600039600061024401526000818161034b015281816103e001528181610625015261075c0152600081816101a9015261037101526113d46000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000a",sourceMap:"833:4510:224:-:0;;;2268:292;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2440:5;2447:7;2044:5:43;:13;2440:5:224;2044::43;:13;:::i;:::-;-1:-1:-1;2067:7:43;:17;2077:7;2067;:17;:::i;:::-;-1:-1:-1;;;;;;;;2470:27:224;;::::1;;::::0;2507:16;;;::::1;;::::0;-1:-1:-1;;2533:20:224::1;;;::::0;833:4510;;14:177:350;93:13;;-1:-1:-1;;;;;135:31:350;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:127::-;257:10;252:3;248:20;245:1;238:31;288:4;285:1;278:15;312:4;309:1;302:15;328:885;382:5;435:3;428:4;420:6;416:17;412:27;402:55;;453:1;450;443:12;402:55;476:13;;-1:-1:-1;;;;;538:10:350;;;535:36;;;551:18;;:::i;:::-;626:2;620:9;594:2;680:13;;-1:-1:-1;;676:22:350;;;700:2;672:31;668:40;656:53;;;724:18;;;744:22;;;721:46;718:72;;;770:18;;:::i;:::-;810:10;806:2;799:22;845:2;837:6;830:18;867:4;857:14;;912:3;907:2;902;894:6;890:15;886:24;883:33;880:53;;;929:1;926;919:12;880:53;951:1;942:10;;961:133;975:2;972:1;969:9;961:133;;;1063:14;;;1059:23;;1053:30;1032:14;;;1028:23;;1021:63;986:10;;;;961:133;;;1112:2;1109:1;1106:9;1103:80;;;1171:1;1166:2;1161;1153:6;1149:15;1145:24;1138:35;1103:80;1201:6;328:885;-1:-1:-1;;;;;;328:885:350:o;1218:884::-;1342:6;1350;1358;1366;1374;1427:3;1415:9;1406:7;1402:23;1398:33;1395:53;;;1444:1;1441;1434:12;1395:53;1467:40;1497:9;1467:40;:::i;:::-;1457:50;;1526:49;1571:2;1560:9;1556:18;1526:49;:::i;:::-;1619:2;1604:18;;1598:25;1516:59;;-1:-1:-1;;;;;;1672:14:350;;;1669:34;;;1699:1;1696;1689:12;1669:34;1722:61;1775:7;1766:6;1755:9;1751:22;1722:61;:::i;:::-;1712:71;;1829:2;1818:9;1814:18;1808:25;1792:41;;1858:2;1848:8;1845:16;1842:36;;;1874:1;1871;1864:12;1842:36;;1897:63;1952:7;1941:8;1930:9;1926:24;1897:63;:::i;:::-;1887:73;;;2003:3;1992:9;1988:19;1982:26;2048:4;2041:5;2037:16;2030:5;2027:27;2017:55;;2068:1;2065;2058:12;2017:55;2091:5;2081:15;;;1218:884;;;;;;;;:::o;2107:380::-;2186:1;2182:12;;;;2229;;;2250:61;;2304:4;2296:6;2292:17;2282:27;;2250:61;2357:2;2349:6;2346:14;2326:18;2323:38;2320:161;;2403:10;2398:3;2394:20;2391:1;2384:31;2438:4;2435:1;2428:15;2466:4;2463:1;2456:15;2320:161;;2107:380;;;:::o;2618:545::-;2720:2;2715:3;2712:11;2709:448;;;2756:1;2781:5;2777:2;2770:17;2826:4;2822:2;2812:19;2896:2;2884:10;2880:19;2877:1;2873:27;2867:4;2863:38;2932:4;2920:10;2917:20;2914:47;;;-1:-1:-1;2955:4:350;2914:47;3010:2;3005:3;3001:12;2998:1;2994:20;2988:4;2984:31;2974:41;;3065:82;3083:2;3076:5;3073:13;3065:82;;;3128:17;;;3109:1;3098:13;3065:82;;;3069:3;;;2709:448;2618:545;;;:::o;3339:1352::-;3459:10;;-1:-1:-1;;;;;3481:30:350;;3478:56;;;3514:18;;:::i;:::-;3543:97;3633:6;3593:38;3625:4;3619:11;3593:38;:::i;:::-;3587:4;3543:97;:::i;:::-;3695:4;;3759:2;3748:14;;3776:1;3771:663;;;;4478:1;4495:6;4492:89;;;-1:-1:-1;4547:19:350;;;4541:26;4492:89;-1:-1:-1;;3296:1:350;3292:11;;;3288:24;3284:29;3274:40;3320:1;3316:11;;;3271:57;4594:81;;3741:944;;3771:663;2565:1;2558:14;;;2602:4;2589:18;;-1:-1:-1;;3807:20:350;;;3925:236;3939:7;3936:1;3933:14;3925:236;;;4028:19;;;4022:26;4007:42;;4120:27;;;;4088:1;4076:14;;;;3955:19;;3925:236;;;3929:3;4189:6;4180:7;4177:19;4174:201;;;4250:19;;;4244:26;-1:-1:-1;;4333:1:350;4329:14;;;4345:3;4325:24;4321:37;4317:42;4302:58;4287:74;;4174:201;-1:-1:-1;;;;;4421:1:350;4405:14;;;4401:22;4388:36;;-1:-1:-1;3339:1352:350:o;:::-;833:4510:224;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000a",sourceMap:"833:4510:224:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3616:519;;;;;;:::i;:::-;;:::i;:::-;;;516:14:350;;509:22;491:41;;479:2;464:18;3616:519:224;;;;;;;;1022:37;;;;;;;;719:42:350;707:55;;;689:74;;677:2;662:18;1022:37:224;543:226:350;2156:98:43;;;:::i;:::-;;;;;;;:::i;4433:197::-;;;;;;:::i;:::-;;:::i;3244:106::-;3331:12;;3244:106;;;2041:25:350;;;2029:2;2014:18;3244:106:43;1895:177:350;5192:286:43;;;;;;:::i;:::-;;:::i;5252:89:224:-;;;2582:4:350;5326:8:224;2570:17:350;2552:36;;2540:2;2525:18;5252:89:224;2410:184:350;5873:234:43;;;;;;:::i;:::-;;:::i;2739:254:224:-;;;;;;:::i;:::-;;:::i;:::-;;2009:40;;;;;;;;;;;;;;;;;;;;;3408:125:43;;;;;;:::i;:::-;3508:18;;3482:7;3508:18;;;;;;;;;;;;3408:125;2367:102;;;:::i;3174:260:224:-;;;;;;:::i;:::-;;:::i;6594:427:43:-;;;;;;:::i;:::-;;:::i;3729:189::-;;;;;;:::i;:::-;;:::i;4434:80:224:-;4501:6;4434:80;;4248:85;4314:12;4248:85;;3976:149:43;;;;;;:::i;:::-;4091:18;;;;4065:7;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3976:149;1129:31:224;;;;;3616:519;3695:4;3727:25;3844:38;3997:40;4054:22;;;;;;:48;;-1:-1:-1;4080:22:224;;;;;;;;4054:48;:74;;;-1:-1:-1;4106:22:224;;;;;;;;4054:74;4047:81;3616:519;-1:-1:-1;;;;;3616:519:224:o;2156:98:43:-;2210:13;2242:5;2235:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2156:98;:::o;4433:197::-;4516:4;719:10:58;4570:32:43;719:10:58;4586:7:43;4595:6;4570:8;:32::i;:::-;-1:-1:-1;4619:4:43;;4433:197;-1:-1:-1;;;4433:197:43:o;5192:286::-;5319:4;719:10:58;5375:38:43;5391:4;719:10:58;5406:6:43;5375:15;:38::i;:::-;5423:27;5433:4;5439:2;5443:6;5423:9;:27::i;:::-;-1:-1:-1;5467:4:43;;5192:286;-1:-1:-1;;;;5192:286:43:o;5873:234::-;719:10:58;5961:4:43;4091:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;5961:4;;719:10:58;6015:64:43;;719:10:58;;4091:27:43;;6040:38;;6068:10;;6040:38;:::i;:::-;6015:8;:64::i;2739:254:224:-;1845:10;:20;1859:6;1845:20;;1837:85;;;;;;;4021:2:350;1837:85:224;;;4003:21:350;4060:2;4040:18;;;4033:30;4099:34;4079:18;;;4072:62;4170:22;4150:18;;;4143:50;4210:19;;1837:85:224;;;;;;;;;2934:19:::1;2940:3;2945:7;2934:5;:19::i;:::-;2973:3;2968:18;;;2978:7;2968:18;;;;2041:25:350::0;;2029:2;2014:18;;1895:177;2968:18:224::1;;;;;;;;2739:254:::0;;:::o;2367:102:43:-;2423:13;2455:7;2448:14;;;;;:::i;3174:260:224:-;1845:10;:20;1859:6;1845:20;;1837:85;;;;;;;4021:2:350;1837:85:224;;;4003:21:350;4060:2;4040:18;;;4033:30;4099:34;4079:18;;;4072:62;4170:22;4150:18;;;4143:50;4210:19;;1837:85:224;3819:416:350;1837:85:224;3371:21:::1;3377:5;3384:7;3371:5;:21::i;:::-;3412:5;3407:20;;;3419:7;3407:20;;;;2041:25:350::0;;2029:2;2014:18;;1895:177;6594:427:43;719:10:58;6687:4:43;4091:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;6687:4;;719:10:58;6831:15:43;6811:16;:35;;6803:85;;;;;;;4442:2:350;6803:85:43;;;4424:21:350;4481:2;4461:18;;;4454:30;4520:34;4500:18;;;4493:62;4591:7;4571:18;;;4564:35;4616:19;;6803:85:43;4240:401:350;6803:85:43;6922:60;6931:5;6938:7;6966:15;6947:16;:34;6922:8;:60::i;3729:189::-;3808:4;719:10:58;3862:28:43;719:10:58;3879:2:43;3883:6;3862:9;:28::i;10110:370::-;10241:19;;;10233:68;;;;;;;4848:2:350;10233:68:43;;;4830:21:350;4887:2;4867:18;;;4860:30;4926:34;4906:18;;;4899:62;4997:6;4977:18;;;4970:34;5021:19;;10233:68:43;4646:400:350;10233:68:43;10319:21;;;10311:68;;;;;;;5253:2:350;10311:68:43;;;5235:21:350;5292:2;5272:18;;;5265:30;5331:34;5311:18;;;5304:62;5402:4;5382:18;;;5375:32;5424:19;;10311:68:43;5051:398:350;10311:68:43;10390:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10441:32;;2041:25:350;;;10441:32:43;;2014:18:350;10441:32:43;;;;;;;;10110:370;;;:::o;10761:441::-;4091:18;;;;10891:24;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;10977:17;10957:37;;10953:243;;11038:6;11018:16;:26;;11010:68;;;;;;;5656:2:350;11010:68:43;;;5638:21:350;5695:2;5675:18;;;5668:30;5734:31;5714:18;;;5707:59;5783:18;;11010:68:43;5454:353:350;11010:68:43;11120:51;11129:5;11136:7;11164:6;11145:16;:25;11120:8;:51::i;:::-;10881:321;10761:441;;;:::o;7475:651::-;7601:18;;;7593:68;;;;;;;6014:2:350;7593:68:43;;;5996:21:350;6053:2;6033:18;;;6026:30;6092:34;6072:18;;;6065:62;6163:7;6143:18;;;6136:35;6188:19;;7593:68:43;5812:401:350;7593:68:43;7679:16;;;7671:64;;;;;;;6420:2:350;7671:64:43;;;6402:21:350;6459:2;6439:18;;;6432:30;6498:34;6478:18;;;6471:62;6569:5;6549:18;;;6542:33;6592:19;;7671:64:43;6218:399:350;7671:64:43;7817:15;;;7795:19;7817:15;;;;;;;;;;;7850:21;;;;7842:72;;;;;;;6824:2:350;7842:72:43;;;6806:21:350;6863:2;6843:18;;;6836:30;6902:34;6882:18;;;6875:62;6973:8;6953:18;;;6946:36;6999:19;;7842:72:43;6622:402:350;7842:72:43;7948:15;;;;:9;:15;;;;;;;;;;;7966:20;;;7948:38;;8006:13;;;;;;;;:23;;7980:6;;7948:9;8006:23;;7980:6;;8006:23;:::i;:::-;;;;;;;;8060:2;8045:26;;8054:4;8045:26;;;8064:6;8045:26;;;;2041:25:350;;2029:2;2014:18;;1895:177;8045:26:43;;;;;;;;8082:37;9111:576;8402:389;8485:21;;;8477:65;;;;;;;7231:2:350;8477:65:43;;;7213:21:350;7270:2;7250:18;;;7243:30;7309:33;7289:18;;;7282:61;7360:18;;8477:65:43;7029:355:350;8477:65:43;8629:6;8613:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;8645:18:43;;;:9;:18;;;;;;;;;;:28;;8667:6;;8645:9;:28;;8667:6;;8645:28;:::i;:::-;;;;-1:-1:-1;;8688:37:43;;2041:25:350;;;8688:37:43;;;;8705:1;;8688:37;;2029:2:350;2014:18;8688:37:43;;;;;;;8402:389;;:::o;9111:576::-;9194:21;;;9186:67;;;;;;;7591:2:350;9186:67:43;;;7573:21:350;7630:2;7610:18;;;7603:30;7669:34;7649:18;;;7642:62;7740:3;7720:18;;;7713:31;7761:19;;9186:67:43;7389:397:350;9186:67:43;9349:18;;;9324:22;9349:18;;;;;;;;;;;9385:24;;;;9377:71;;;;;;;7993:2:350;9377:71:43;;;7975:21:350;8032:2;8012:18;;;8005:30;8071:34;8051:18;;;8044:62;8142:4;8122:18;;;8115:32;8164:19;;9377:71:43;7791:398:350;9377:71:43;9482:18;;;:9;:18;;;;;;;;;;9503:23;;;9482:44;;9546:12;:22;;9520:6;;9482:9;9546:22;;9520:6;;9546:22;:::i;:::-;;;;-1:-1:-1;;9584:37:43;;2041:25:350;;;9610:1:43;;9584:37;;;;;;2029:2:350;2014:18;9584:37:43;1895:177:350;14:332;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;180:9;167:23;230:66;223:5;219:78;212:5;209:89;199:117;;312:1;309;302:12;199:117;335:5;14:332;-1:-1:-1;;;14:332:350:o;774:656::-;886:4;915:2;944;933:9;926:21;976:6;970:13;1019:6;1014:2;1003:9;999:18;992:34;1044:1;1054:140;1068:6;1065:1;1062:13;1054:140;;;1163:14;;;1159:23;;1153:30;1129:17;;;1148:2;1125:26;1118:66;1083:10;;1054:140;;;1212:6;1209:1;1206:13;1203:91;;;1282:1;1277:2;1268:6;1257:9;1253:22;1249:31;1242:42;1203:91;-1:-1:-1;1346:2:350;1334:15;1351:66;1330:88;1315:104;;;;1421:2;1311:113;;774:656;-1:-1:-1;;;774:656:350:o;1435:196::-;1503:20;;1563:42;1552:54;;1542:65;;1532:93;;1621:1;1618;1611:12;1532:93;1435:196;;;:::o;1636:254::-;1704:6;1712;1765:2;1753:9;1744:7;1740:23;1736:32;1733:52;;;1781:1;1778;1771:12;1733:52;1804:29;1823:9;1804:29;:::i;:::-;1794:39;1880:2;1865:18;;;;1852:32;;-1:-1:-1;;;1636:254:350:o;2077:328::-;2154:6;2162;2170;2223:2;2211:9;2202:7;2198:23;2194:32;2191:52;;;2239:1;2236;2229:12;2191:52;2262:29;2281:9;2262:29;:::i;:::-;2252:39;;2310:38;2344:2;2333:9;2329:18;2310:38;:::i;:::-;2300:48;;2395:2;2384:9;2380:18;2367:32;2357:42;;2077:328;;;;;:::o;2599:186::-;2658:6;2711:2;2699:9;2690:7;2686:23;2682:32;2679:52;;;2727:1;2724;2717:12;2679:52;2750:29;2769:9;2750:29;:::i;2790:260::-;2858:6;2866;2919:2;2907:9;2898:7;2894:23;2890:32;2887:52;;;2935:1;2932;2925:12;2887:52;2958:29;2977:9;2958:29;:::i;:::-;2948:39;;3006:38;3040:2;3029:9;3025:18;3006:38;:::i;:::-;2996:48;;2790:260;;;;;:::o;3055:437::-;3134:1;3130:12;;;;3177;;;3198:61;;3252:4;3244:6;3240:17;3230:27;;3198:61;3305:2;3297:6;3294:14;3274:18;3271:38;3268:218;;3342:77;3339:1;3332:88;3443:4;3440:1;3433:15;3471:4;3468:1;3461:15;3268:218;;3055:437;;;:::o;3497:184::-;3549:77;3546:1;3539:88;3646:4;3643:1;3636:15;3670:4;3667:1;3660:15;3686:128;3726:3;3757:1;3753:6;3750:1;3747:13;3744:39;;;3763:18;;:::i;:::-;-1:-1:-1;3799:9:350;;3686:128::o;8194:125::-;8234:4;8262:1;8259;8256:8;8253:34;;;8267:18;;:::i;:::-;-1:-1:-1;8304:9:350;;8194:125::o",linkReferences:{},immutableReferences:{"106050":[{start:425,length:32},{start:881,length:32}],"106053":[{start:843,length:32},{start:992,length:32},{start:1573,length:32},{start:1884,length:32}],"106056":[{start:580,length:32}]}},methodIdentifiers:{"BRIDGE()":"ee9a31a2","REMOTE_TOKEN()":"033964be","allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","bridge()":"e78cea92","burn(address,uint256)":"9dc29fac","decimals()":"313ce567","decreaseAllowance(address,uint256)":"a457c2d7","increaseAllowance(address,uint256)":"39509351","l1Token()":"c01e1bd6","l2Bridge()":"ae1f6aaf","mint(address,uint256)":"40c10f19","name()":"06fdde03","remoteToken()":"d6c0b2c4","supportsInterface(bytes4)":"01ffc9a7","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_bridge","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BRIDGE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REMOTE_TOKEN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l1Token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2Bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remoteToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"events":{"Burn(address,uint256)":{"params":{"account":"Address of the account tokens are being burned from.","amount":"Amount of tokens burned."}},"Mint(address,uint256)":{"params":{"account":"Address of the account tokens are being minted for.","amount":"Amount of tokens minted."}}},"kind":"dev","methods":{"allowance(address,address)":{"details":"See {IERC20-allowance}."},"approve(address,uint256)":{"details":"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"bridge()":{"custom:legacy":"@notice Legacy getter for BRIDGE."},"burn(address,uint256)":{"params":{"_amount":"Amount of tokens to burn.","_from":"Address to burn tokens from."}},"constructor":{"params":{"_bridge":"Address of the L2 standard bridge.","_name":"ERC20 name.","_remoteToken":"Address of the corresponding L1 token.","_symbol":"ERC20 symbol."}},"decimals()":{"details":"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"decreaseAllowance(address,uint256)":{"details":"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`."},"increaseAllowance(address,uint256)":{"details":"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address."},"l1Token()":{"custom:legacy":"@notice Legacy getter for the remote token. Use REMOTE_TOKEN going forward."},"l2Bridge()":{"custom:legacy":"@notice Legacy getter for the bridge. Use BRIDGE going forward."},"mint(address,uint256)":{"params":{"_amount":"Amount of tokens to mint.","_to":"Address to mint tokens to."}},"name()":{"details":"Returns the name of the token."},"remoteToken()":{"custom:legacy":"@notice Legacy getter for REMOTE_TOKEN."},"supportsInterface(bytes4)":{"params":{"_interfaceId":"Interface ID to check."},"returns":{"_0":"Whether or not the interface is supported by this contract."}},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`."},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``\'s tokens of at least `amount`."}},"stateVariables":{"version":{"custom:semver":"1.3.0"}},"title":"OptimismMintableERC20","version":1},"userdoc":{"events":{"Burn(address,uint256)":{"notice":"Emitted whenever tokens are burned from an account."},"Mint(address,uint256)":{"notice":"Emitted whenever tokens are minted for an account."}},"kind":"user","methods":{"BRIDGE()":{"notice":"Address of the StandardBridge on this network."},"REMOTE_TOKEN()":{"notice":"Address of the corresponding version of this token on the remote chain."},"burn(address,uint256)":{"notice":"Allows the StandardBridge on this network to burn tokens."},"mint(address,uint256)":{"notice":"Allows the StandardBridge on this network to mint tokens."},"supportsInterface(bytes4)":{"notice":"ERC165 interface check function."},"version()":{"notice":"Semantic version."}},"notice":"OptimismMintableERC20 is a standard extension of the base ERC20 token contract designed to allow the StandardBridge contracts to mint and burn tokens. This makes it possible to use an OptimismMintablERC20 as the L2 representation of an L1 token, or vice-versa. Designed to be backwards compatible with the older StandardL2ERC20 token which was only meant for use on L2.","version":1}},"settings":{"compilationTarget":{"src/universal/OptimismMintableERC20.sol":"OptimismMintableERC20"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"address",name:"_bridge",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"},{internalType:"uint8",name:"_decimals",type:"uint8"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"owner",type:"address",indexed:!0},{internalType:"address",name:"spender",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"Approval",anonymous:!1},{inputs:[{internalType:"address",name:"account",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1}],type:"event",name:"Burn",anonymous:!1},{inputs:[{internalType:"address",name:"account",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1}],type:"event",name:"Mint",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"Transfer",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"BRIDGE",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"REMOTE_TOKEN",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],stateMutability:"view",type:"function",name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"account",type:"address"}],stateMutability:"view",type:"function",name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"bridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"burn"},{inputs:[],stateMutability:"view",type:"function",name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}]},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2Bridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"mint"},{inputs:[],stateMutability:"view",type:"function",name:"name",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"remoteToken",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"bytes4",name:"_interfaceId",type:"bytes4"}],stateMutability:"pure",type:"function",name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"allowance(address,address)":{details:"See {IERC20-allowance}."},"approve(address,uint256)":{details:"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"balanceOf(address)":{details:"See {IERC20-balanceOf}."},"bridge()":{"custom:legacy":"@notice Legacy getter for BRIDGE."},"burn(address,uint256)":{params:{_amount:"Amount of tokens to burn.",_from:"Address to burn tokens from."}},constructor:{params:{_bridge:"Address of the L2 standard bridge.",_name:"ERC20 name.",_remoteToken:"Address of the corresponding L1 token.",_symbol:"ERC20 symbol."}},"decimals()":{details:"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"decreaseAllowance(address,uint256)":{details:"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`."},"increaseAllowance(address,uint256)":{details:"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address."},"l1Token()":{"custom:legacy":"@notice Legacy getter for the remote token. Use REMOTE_TOKEN going forward."},"l2Bridge()":{"custom:legacy":"@notice Legacy getter for the bridge. Use BRIDGE going forward."},"mint(address,uint256)":{params:{_amount:"Amount of tokens to mint.",_to:"Address to mint tokens to."}},"name()":{details:"Returns the name of the token."},"remoteToken()":{"custom:legacy":"@notice Legacy getter for REMOTE_TOKEN."},"supportsInterface(bytes4)":{params:{_interfaceId:"Interface ID to check."},returns:{_0:"Whether or not the interface is supported by this contract."}},"symbol()":{details:"Returns the symbol of the token, usually a shorter version of the name."},"totalSupply()":{details:"See {IERC20-totalSupply}."},"transfer(address,uint256)":{details:"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`."},"transferFrom(address,address,uint256)":{details:"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`."}},version:1},userdoc:{kind:"user",methods:{"BRIDGE()":{notice:"Address of the StandardBridge on this network."},"REMOTE_TOKEN()":{notice:"Address of the corresponding version of this token on the remote chain."},"burn(address,uint256)":{notice:"Allows the StandardBridge on this network to burn tokens."},"mint(address,uint256)":{notice:"Allows the StandardBridge on this network to mint tokens."},"supportsInterface(bytes4)":{notice:"ERC165 interface check function."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/universal/OptimismMintableERC20.sol":"OptimismMintableERC20"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:48077,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_balances",offset:0,slot:"0",type:"t_mapping(t_address,t_uint256)"},{astId:48083,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_allowances",offset:0,slot:"1",type:"t_mapping(t_address,t_mapping(t_address,t_uint256))"},{astId:48085,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_totalSupply",offset:0,slot:"2",type:"t_uint256"},{astId:48087,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_name",offset:0,slot:"3",type:"t_string_storage"},{astId:48089,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_symbol",offset:0,slot:"4",type:"t_string_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_uint256))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => uint256))",numberOfBytes:"32",value:"t_mapping(t_address,t_uint256)"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},t_string_storage:{encoding:"bytes",label:"string",numberOfBytes:"32"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"}}},userdoc:{version:1,kind:"user",methods:{"BRIDGE()":{notice:"Address of the StandardBridge on this network."},"REMOTE_TOKEN()":{notice:"Address of the corresponding version of this token on the remote chain."},"burn(address,uint256)":{notice:"Allows the StandardBridge on this network to burn tokens."},"mint(address,uint256)":{notice:"Allows the StandardBridge on this network to mint tokens."},"supportsInterface(bytes4)":{notice:"ERC165 interface check function."},"version()":{notice:"Semantic version."}},events:{"Burn(address,uint256)":{notice:"Emitted whenever tokens are burned from an account."},"Mint(address,uint256)":{notice:"Emitted whenever tokens are minted for an account."}},notice:"OptimismMintableERC20 is a standard extension of the base ERC20 token contract designed to allow the StandardBridge contracts to mint and burn tokens. This makes it possible to use an OptimismMintablERC20 as the L2 representation of an L1 token, or vice-versa. Designed to be backwards compatible with the older StandardL2ERC20 token which was only meant for use on L2."},devdoc:{version:1,kind:"dev",methods:{"allowance(address,address)":{details:"See {IERC20-allowance}."},"approve(address,uint256)":{details:"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"balanceOf(address)":{details:"See {IERC20-balanceOf}."},"bridge()":{},"burn(address,uint256)":{params:{_amount:"Amount of tokens to burn.",_from:"Address to burn tokens from."}},constructor:{params:{_bridge:"Address of the L2 standard bridge.",_name:"ERC20 name.",_remoteToken:"Address of the corresponding L1 token.",_symbol:"ERC20 symbol."}},"decimals()":{details:"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"decreaseAllowance(address,uint256)":{details:"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`."},"increaseAllowance(address,uint256)":{details:"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address."},"l1Token()":{},"l2Bridge()":{},"mint(address,uint256)":{params:{_amount:"Amount of tokens to mint.",_to:"Address to mint tokens to."}},"name()":{details:"Returns the name of the token."},"remoteToken()":{},"supportsInterface(bytes4)":{params:{_interfaceId:"Interface ID to check."},returns:{_0:"Whether or not the interface is supported by this contract."}},"symbol()":{details:"Returns the symbol of the token, usually a shorter version of the name."},"totalSupply()":{details:"See {IERC20-totalSupply}."},"transfer(address,uint256)":{details:"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`."},"transferFrom(address,address,uint256)":{details:"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`."}},events:{"Burn(address,uint256)":{params:{account:"Address of the account tokens are being burned from.",amount:"Amount of tokens burned."}},"Mint(address,uint256)":{params:{account:"Address of the account tokens are being minted for.",amount:"Amount of tokens minted."}}},title:"OptimismMintableERC20"},id:224}});var LKe=D((Qca,RHt)=>{RHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"GUARDIAN",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"L2_ORACLE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract L2OutputOracle"}],stateMutability:"view"},{type:"function",name:"SYSTEM_CONFIG",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SystemConfig"}],stateMutability:"view"},{type:"function",name:"depositTransaction",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_gasLimit",type:"uint64",internalType:"uint64"},{name:"_isCreation",type:"bool",internalType:"bool"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"donateETH",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizedWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"guardian",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_l2Oracle",type:"address",internalType:"contract L2OutputOracle"},{name:"_systemConfig",type:"address",internalType:"contract SystemConfig"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isOutputFinalized",inputs:[{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"l2Oracle",inputs:[],outputs:[{name:"",type:"address",internalType:"contract L2OutputOracle"}],stateMutability:"view"},{type:"function",name:"l2Sender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"minimumGasLimit",inputs:[{name:"_byteCount",type:"uint64",internalType:"uint64"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"params",inputs:[],outputs:[{name:"prevBaseFee",type:"uint128",internalType:"uint128"},{name:"prevBoughtGas",type:"uint64",internalType:"uint64"},{name:"prevBlockNum",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"paused_",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"proveWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"},{name:"_outputRootProof",type:"tuple",internalType:"struct Types.OutputRootProof",components:[{name:"version",type:"bytes32",internalType:"bytes32"},{name:"stateRoot",type:"bytes32",internalType:"bytes32"},{name:"messagePasserStorageRoot",type:"bytes32",internalType:"bytes32"},{name:"latestBlockhash",type:"bytes32",internalType:"bytes32"}]},{name:"_withdrawalProof",type:"bytes[]",internalType:"bytes[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"provenWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"outputRoot",type:"bytes32",internalType:"bytes32"},{name:"timestamp",type:"uint128",internalType:"uint128"},{name:"l2OutputIndex",type:"uint128",internalType:"uint128"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"systemConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SystemConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"TransactionDeposited",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"version",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opaqueData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"WithdrawalFinalized",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"success",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"WithdrawalProven",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b50620000206000808062000026565b6200028f565b600054610100900460ff1615808015620000475750600054600160ff909116105b806200007757506200006430620001c160201b62001b741760201c565b15801562000077575060005460ff166001145b620000e05760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000104576000805461ff0019166101001790555b603680546001600160a01b03199081166001600160a01b03878116919091179092556037805490911685831617905560358054610100600160a81b03191661010085841602179055603254166200016a57603280546001600160a01b03191661dead1790555b62000174620001d0565b8015620001bb576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b6001600160a01b03163b151590565b600054610100900460ff166200023d5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d7565b600154600160c01b90046001600160401b03166000036200028d5760408051606081018252633b9aca0080825260006020830152436001600160401b031691909201819052600160c01b02176001555b565b6153ed806200029f6000396000f3fe6080604052600436106101625760003560e01c80638c3152e9116100c0578063c0c53b8b11610074578063e965084c11610059578063e965084c146104c7578063e9e05c4214610553578063f04987501461056657600080fd5b8063c0c53b8b14610406578063cff0ab961461042657600080fd5b80639bf62d82116100a55780639bf62d8214610370578063a14238e71461039d578063a35d99df146103cd57600080fd5b80638c3152e9146103235780639b5f694a1461034357600080fd5b806354fd4d50116101175780636dbffb78116100fc5780636dbffb78146102ee578063724c184c1461030e5780638b4c40b01461018757600080fd5b806354fd4d50146102735780635c975abb146102c957600080fd5b806335e80ab31161014857806335e80ab31461020c578063452a93201461023e5780634870496f1461025357600080fd5b80621c2ff61461018e57806333d7e2bd146101df57600080fd5b36610189576101873334620186a0600060405180602001604052806000815250610591565b005b600080fd5b34801561019a57600080fd5b5060365473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101eb57600080fd5b506037546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b34801561021857600080fd5b506035546101b590610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561024a57600080fd5b506101b561082c565b34801561025f57600080fd5b5061018761026e3660046149b4565b6108c4565b34801561027f57600080fd5b506102bc6040518060400160405280600581526020017f322e352e3000000000000000000000000000000000000000000000000000000081525081565b6040516101d69190614b06565b3480156102d557600080fd5b506102de610ef2565b60405190151581526020016101d6565b3480156102fa57600080fd5b506102de610309366004614b19565b610f85565b34801561031a57600080fd5b506101b5611040565b34801561032f57600080fd5b5061018761033e366004614b32565b61104c565b34801561034f57600080fd5b506036546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b34801561037c57600080fd5b506032546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b3480156103a957600080fd5b506102de6103b8366004614b19565b60336020526000908152604090205460ff1681565b3480156103d957600080fd5b506103ed6103e8366004614b8c565b61190d565b60405167ffffffffffffffff90911681526020016101d6565b34801561041257600080fd5b50610187610421366004614ba7565b611926565b34801561043257600080fd5b5060015461048e906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff92831660208501529116908201526060016101d6565b3480156104d357600080fd5b506105256104e2366004614b19565b603460205260009081526040902080546001909101546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041683565b604080519384526fffffffffffffffffffffffffffffffff92831660208501529116908201526060016101d6565b610187610561366004614c00565b610591565b34801561057257600080fd5b5060375473ffffffffffffffffffffffffffffffffffffffff166101b5565b8260005a905083156106485773ffffffffffffffffffffffffffffffffffffffff87161561064857604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f4f7074696d69736d506f7274616c3a206d7573742073656e6420746f2061646460448201527f72657373283029207768656e206372656174696e67206120636f6e747261637460648201526084015b60405180910390fd5b610652835161190d565b67ffffffffffffffff168567ffffffffffffffff1610156106f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4f7074696d69736d506f7274616c3a20676173206c696d697420746f6f20736d60448201527f616c6c0000000000000000000000000000000000000000000000000000000000606482015260840161063f565b6201d4c083511115610763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f7074696d69736d506f7274616c3a206461746120746f6f206c617267650000604482015260640161063f565b33328114610784575033731111000000000000000000000000000000001111015b6000348888888860405160200161079f959493929190614c7d565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c328460405161080f9190614b06565b60405180910390a450506108238282611b90565b50505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190614ce2565b905090565b6108cc610ef2565b15610933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a2070617573656400000000000000000000604482015260640161063f565b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff16036109f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e747261637400606482015260840161063f565b6036546040517fa25ae5570000000000000000000000000000000000000000000000000000000081526004810186905260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa158015610a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a869190614d1f565b519050610aa0610a9b36869003860186614d84565b611ebd565b8114610b2e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f660000000000000000000000000000000000000000000000606482015260840161063f565b6000610b3987611f19565b6000818152603460209081526040918290208251606081018452815481526001909101546fffffffffffffffffffffffffffffffff8082169383018490527001000000000000000000000000000000009091041692810192909252919250901580610c4f5750805160365460408084015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015273ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610c27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4b9190614d1f565b5114155b610cdb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173682060448201527f68617320616c7265616479206265656e2070726f76656e000000000000000000606482015260840161063f565b60408051602081018490526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815282825280516020918201209083018190529250610da49101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f0100000000000000000000000000000000000000000000000000000000000000602083015290610d9a888a614dea565b8a60400135611f49565b610e30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f660000000000000000000000000000606482015260840161063f565b604080516060810182528581526fffffffffffffffffffffffffffffffff42811660208084019182528c831684860190815260008981526034835286812095518655925190518416700100000000000000000000000000000000029316929092176001909301929092558b830151908c0151925173ffffffffffffffffffffffffffffffffffffffff918216939091169186917f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f629190a4505050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f61573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190614e6e565b6036546040517fa25ae5570000000000000000000000000000000000000000000000000000000081526004810183905260009161103a9173ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610ffb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101f9190614d1f565b602001516fffffffffffffffffffffffffffffffff16611f6d565b92915050565b60006108bf61082c565b565b611054610ef2565b156110bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a2070617573656400000000000000000000604482015260640161063f565b60325473ffffffffffffffffffffffffffffffffffffffff1661dead14611164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e00606482015260840161063f565b600061116f82611f19565b60008181526034602090815260408083208151606081018352815481526001909101546fffffffffffffffffffffffffffffffff8082169483018590527001000000000000000000000000000000009091041691810191909152929350900361125a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e207965740000000000000000000000000000606482015260840161063f565b603660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663887862726040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112eb9190614e8b565b81602001516fffffffffffffffffffffffffffffffff1610156113b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e204c32204f7261636c65207374617274696e60648201527f672074696d657374616d70000000000000000000000000000000000000000000608482015260a40161063f565b6113d581602001516fffffffffffffffffffffffffffffffff16611f6d565b611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c2066696e616c697a6174696f6e20706572696f6420686173206e6f7420656c60648201527f6170736564000000000000000000000000000000000000000000000000000000608482015260a40161063f565b60365460408281015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa15801561150e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115329190614d1f565b82518151919250146115ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4f7074696d69736d506f7274616c3a206f757470757420726f6f742070726f7660448201527f656e206973206e6f74207468652073616d652061732063757272656e74206f7560648201527f7470757420726f6f740000000000000000000000000000000000000000000000608482015260a40161063f565b61160b81602001516fffffffffffffffffffffffffffffffff16611f6d565b6116bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f66696e616c697a6174696f6e20706572696f6420686173206e6f7420656c617060648201527f7365640000000000000000000000000000000000000000000000000000000000608482015260a40161063f565b60008381526033602052604090205460ff161561175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a65640000000000000000000000606482015260840161063f565b600083815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908601516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558501516080860151606087015160a08801516117fe93929190612013565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915084907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b9061186390841515815260200190565b60405180910390a2801580156118795750326001145b15611906576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a207769746864726177616c206661696c6560448201527f6400000000000000000000000000000000000000000000000000000000000000606482015260840161063f565b5050505050565b600061191a826010614ed3565b61103a90615208614f03565b600054610100900460ff16158080156119465750600054600160ff909116105b806119605750303b158015611960575060005460ff166001145b6119ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161063f565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015611a4a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603680547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560378054909116858316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101008584160217905560325416611b0357603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b611b0b612071565b8015611b6e57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b600154600090611bc6907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1643614f2f565b90506000611bd2612184565b90506000816020015160ff16826000015163ffffffff16611bf39190614f75565b90508215611d2a57600154600090611c2a908390700100000000000000000000000000000000900467ffffffffffffffff16614fdd565b90506000836040015160ff1683611c419190615051565b600154611c619084906fffffffffffffffffffffffffffffffff16615051565b611c6b9190614f75565b600154909150600090611cbc90611c959084906fffffffffffffffffffffffffffffffff1661510d565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff16612245565b90506001861115611ceb57611ce8611c9582876040015160ff1660018a611ce39190614f2f565b612264565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b60018054869190601090611d5d908490700100000000000000000000000000000000900467ffffffffffffffff16614f03565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff161315611e40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5265736f757263654d65746572696e673a2063616e6e6f7420627579206d6f7260448201527f6520676173207468616e20617661696c61626c6520676173206c696d69740000606482015260840161063f565b600154600090611e6c906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816615181565b90506000611e7e48633b9aca006122b9565b611e8890836151be565b905060005a611e979088614f2f565b905080821115611eb357611eb3611eae8284614f2f565b6122d0565b5050505050505050565b60008160000151826020015183604001518460600151604051602001611efc949392919093845260208401929092526040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b80516020808301516040808501516060860151608087015160a08801519351600097611efc9790969591016151d2565b600080611f55866122fe565b9050611f6381868686612330565b9695505050505050565b603654604080517ff4daa291000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163f4daa2919160048083019260209291908290030181865afa158015611fdd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120019190614e8b565b61200b9083615229565b421192915050565b6000806000612023866000612360565b905080612059576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600054610100900460ff16612108576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161063f565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff1660000361104a5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015612221573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190615266565b600061225a612254858561237e565b8361238e565b90505b9392505050565b6000670de0b6b3a76400006122a561227c8583614f75565b61228e90670de0b6b3a7640000614fdd565b6122a085670de0b6b3a7640000615051565b61239d565b6122af9086615051565b61225a9190614f75565b6000818310156122c9578161225d565b5090919050565b6000805a90505b825a6122e39083614f2f565b10156122f9576122f282615305565b91506122d7565b505050565b6060818051906020012060405160200161231a91815260200190565b6040516020818303038152906040529050919050565b6000612357846123418786866123ce565b8051602091820120825192909101919091201490565b95945050505050565b600080603f83619c4001026040850201603f5a021015949350505050565b6000818312156122c9578161225d565b60008183126122c9578161225d565b600061225d670de0b6b3a7640000836123b586612e4c565b6123bf9190615051565b6123c99190614f75565b613090565b6060600084511161243b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b65790000000000000000000000604482015260640161063f565b6000612446846132cf565b90506000612453866133bb565b905060008460405160200161246a91815260200190565b60405160208183030381529060405290506000805b8451811015612dc357600085828151811061249c5761249c61533d565b602002602001015190508451831115612537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e677468000000000000000000000000000000000000606482015260840161063f565b826000036125f057805180516020918201206040516125859261255f92910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b6125eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f742068617368000000604482015260640161063f565b612747565b8051516020116126a6578051805160209182012060405161261a9261255f92910190815260200190565b6125eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c206861736800000000000000000000000000000000000000000000000000606482015260840161063f565b805184516020808701919091208251919092012014612747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f6520686173680000000000000000000000000000000000000000000000000000606482015260840161063f565b61275360106001615229565b8160200151510361292f57845183036128c75761278d81602001516010815181106127805761278061533d565b602002602001015161341e565b96506000875111612820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e6368290000000000606482015260840161063f565b6001865161282e9190614f2f565b82146128bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e636829000000000000606482015260840161063f565b50505050505061225d565b60008584815181106128db576128db61533d565b602001015160f81c60f81b60f81c9050600082602001518260ff16815181106129065761290661533d565b602002602001015190506129198161357e565b9550612926600186615229565b94505050612db0565b600281602001515103612d28576000612947826135a3565b905060008160008151811061295e5761295e61533d565b016020015160f81c9050600061297560028361536c565b61298090600261538e565b90506000612991848360ff166135c7565b9050600061299f8a896135c7565b905060006129ad83836135fd565b905080835114612a3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b6579000000000000606482015260840161063f565b60ff851660021480612a54575060ff85166003145b15612c435780825114612ae9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e646572000000606482015260840161063f565b612b0387602001516001815181106127805761278061533d565b9c5060008d5111612b96576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c6561662900000000000000606482015260840161063f565b60018c51612ba49190614f2f565b8814612c32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c656166290000000000000000606482015260840161063f565b50505050505050505050505061225d565b60ff85161580612c56575060ff85166001145b15612c9557612c828760200151600181518110612c7557612c7561533d565b602002602001015161357e565b9950612c8e818a615229565b9850612d1d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e207072656669780000000000000000000000000000606482015260840161063f565b505050505050612db0565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f6465000000000000000000000000000000000000000000000000606482015260840161063f565b5080612dbb81615305565b91505061247f565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e7473000000000000000000000000000000000000000000000000000000606482015260840161063f565b6000808213612eb7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e45440000000000000000000000000000000000000000000000604482015260640161063f565b60006060612ec4846136b1565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c182136130c157506000919050565b680755bf798b4a1bf1e58212613133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f570000000000000000000000000000000000000000604482015260640161063f565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff8111156132ed576132ed6147d4565b60405190808252806020026020018201604052801561333257816020015b604080518082019091526060808252602082015281526020019060019003908161330b5790505b50915060005b818110156133b457604051806040016040528085838151811061335d5761335d61533d565b6020026020010151815260200161338c86848151811061337f5761337f61533d565b6020026020010151613787565b8152508382815181106133a1576133a161533d565b6020908102919091010152600101613338565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613413578060011b82018184015160001a8060041c8253600f8116600183015350506001016133e5565b509295945050505050565b6060600080600061342e8561379a565b919450925090506000816001811115613449576134496153b1565b146134d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d00000000000000606482015260840161063f565b6134e08284615229565b85511461356f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e646572000000000000000000000000606482015260840161063f565b61235785602001518484614207565b6060602082600001511061359a576135958261341e565b61103a565b61103a8261429b565b606061103a6135c283602001516000815181106127805761278061533d565b6133bb565b6060825182106135e6575060408051602081019091526000815261103a565b61225d83838486516135f89190614f2f565b6142b1565b6000808251845110613610578251613613565b83515b90505b808210801561369a57508282815181106136325761363261533d565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168483815181106136715761367161533d565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156136aa57816001019150613616565b5092915050565b600080821161371c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e45440000000000000000000000000000000000000000000000604482015260640161063f565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b606061103a61379583614489565b614572565b600080600080846000015111613858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a40161063f565b6020840151805160001a607f811161387d576000600160009450945094505050614200565b60b78111613a8b576000613892608083614f2f565b90508087600001511161394d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a40161063f565b6001838101517fff000000000000000000000000000000000000000000000000000000000000001690821415806139c657507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b613a78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a40161063f565b5060019550935060009250614200915050565b60bf8111613dd9576000613aa060b783614f2f565b905080876000015111613b5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a40161063f565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003613c39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a40161063f565b600184015160088302610100031c60378111613cfd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a40161063f565b613d078184615229565b895111613dbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a40161063f565b613dc7836001615229565b97509550600094506142009350505050565b60f78111613eba576000613dee60c083614f2f565b905080876000015111613ea9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a40161063f565b600195509350849250614200915050565b6000613ec760f783614f2f565b905080876000015111613f82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a40161063f565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a40161063f565b600184015160088302610100031c60378111614124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a40161063f565b61412e8184615229565b8951116141e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a40161063f565b6141ee836001615229565b97509550600194506142009350505050565b9193909250565b60608167ffffffffffffffff811115614222576142226147d4565b6040519080825280601f01601f19166020018201604052801561424c576020820181803683370190505b509050811561225d5760006142618486615229565b90506020820160005b8481101561428257828101518282015260200161426a565b84811115614291576000858301525b5050509392505050565b606061103a826020015160008460000151614207565b60608182601f011015614320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f77000000000000000000000000000000000000604482015260640161063f565b82828401101561438c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f77000000000000000000000000000000000000604482015260640161063f565b818301845110156143f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e6473000000000000000000000000000000604482015260640161063f565b6060821580156144185760405191506000825260208201604052614480565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015614451578051835260209283019201614439565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b60408051808201909152600080825260208201526000825111614554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a40161063f565b50604080518082019091528151815260209182019181019190915290565b606060008060006145828561379a565b91945092509050600181600181111561459d5761459d6153b1565b1461462a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d0000000000000000606482015260840161063f565b84516146368385615229565b146146c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e6465720000000000000000000000000000606482015260840161063f565b604080516020808252610420820190925290816020015b60408051808201909152600080825260208201528152602001906001900390816146da5790505093506000835b86518110156147c85760008061474d6040518060400160405280858c600001516147319190614f2f565b8152602001858c602001516147469190615229565b905261379a565b5091509150604051806040016040528083836147699190615229565b8152602001848b6020015161477e9190615229565b8152508885815181106147935761479361533d565b60209081029190910101526147a9600185615229565b93506147b58183615229565b6147bf9084615229565b92505050614707565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561484a5761484a6147d4565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461487457600080fd5b50565b600082601f83011261488857600080fd5b813567ffffffffffffffff8111156148a2576148a26147d4565b6148d360207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601614803565b8181528460208386010111156148e857600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561491757600080fd5b60405160c0810167ffffffffffffffff828210818311171561493b5761493b6147d4565b81604052829350843583526020850135915061495682614852565b8160208401526040850135915061496c82614852565b816040840152606085013560608401526080850135608084015260a085013591508082111561499a57600080fd5b506149a785828601614877565b60a0830152505092915050565b600080600080600085870360e08112156149cd57600080fd5b863567ffffffffffffffff808211156149e557600080fd5b6149f18a838b01614905565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc084011215614a2a57600080fd5b60408901955060c0890135925080831115614a4457600080fd5b828901925089601f840112614a5857600080fd5b8235915080821115614a6957600080fd5b508860208260051b8401011115614a7f57600080fd5b959894975092955050506020019190565b60005b83811015614aab578181015183820152602001614a93565b83811115611b6e5750506000910152565b60008151808452614ad4816020860160208601614a90565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061225d6020830184614abc565b600060208284031215614b2b57600080fd5b5035919050565b600060208284031215614b4457600080fd5b813567ffffffffffffffff811115614b5b57600080fd5b614b6784828501614905565b949350505050565b803567ffffffffffffffff81168114614b8757600080fd5b919050565b600060208284031215614b9e57600080fd5b61225d82614b6f565b600080600060608486031215614bbc57600080fd5b8335614bc781614852565b92506020840135614bd781614852565b91506040840135614be781614852565b809150509250925092565b801515811461487457600080fd5b600080600080600060a08688031215614c1857600080fd5b8535614c2381614852565b945060208601359350614c3860408701614b6f565b92506060860135614c4881614bf2565b9150608086013567ffffffffffffffff811115614c6457600080fd5b614c7088828901614877565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b604882015260008251614cd1816049850160208701614a90565b919091016049019695505050505050565b600060208284031215614cf457600080fd5b815161225d81614852565b80516fffffffffffffffffffffffffffffffff81168114614b8757600080fd5b600060608284031215614d3157600080fd5b6040516060810181811067ffffffffffffffff82111715614d5457614d546147d4565b60405282518152614d6760208401614cff565b6020820152614d7860408401614cff565b60408201529392505050565b600060808284031215614d9657600080fd5b6040516080810181811067ffffffffffffffff82111715614db957614db96147d4565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b600067ffffffffffffffff80841115614e0557614e056147d4565b8360051b6020614e16818301614803565b868152918501918181019036841115614e2e57600080fd5b865b84811015614e6257803586811115614e485760008081fd5b614e5436828b01614877565b845250918301918301614e30565b50979650505050505050565b600060208284031215614e8057600080fd5b815161225d81614bf2565b600060208284031215614e9d57600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615614efa57614efa614ea4565b02949350505050565b600067ffffffffffffffff808316818516808303821115614f2657614f26614ea4565b01949350505050565b600082821015614f4157614f41614ea4565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082614f8457614f84614f46565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615614fd857614fd8614ea4565b500590565b6000808312837f80000000000000000000000000000000000000000000000000000000000000000183128115161561501757615017614ea4565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01831381161561504b5761504b614ea4565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60008413600084138583048511828216161561509257615092614ea4565b7f800000000000000000000000000000000000000000000000000000000000000060008712868205881281841616156150cd576150cd614ea4565b600087129250878205871284841616156150e9576150e9614ea4565b878505871281841616156150ff576150ff614ea4565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0384138115161561514757615147614ea4565b827f800000000000000000000000000000000000000000000000000000000000000003841281161561517b5761517b614ea4565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151b9576151b9614ea4565b500290565b6000826151cd576151cd614f46565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a083015261521d60c0830184614abc565b98975050505050505050565b6000821982111561523c5761523c614ea4565b500190565b805163ffffffff81168114614b8757600080fd5b805160ff81168114614b8757600080fd5b600060c0828403121561527857600080fd5b60405160c0810181811067ffffffffffffffff8211171561529b5761529b6147d4565b6040526152a783615241565b81526152b560208401615255565b60208201526152c660408401615255565b60408201526152d760608401615241565b60608201526152e860808401615241565b60808201526152f960a08401614cff565b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361533657615336614ea4565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff83168061537f5761537f614f46565b8060ff84160691505092915050565b600060ff821660ff8416808210156153a8576153a8614ea4565b90039392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea164736f6c634300080f000a",sourceMap:"1199:20463:130:-:0;;;4611:218;;;;;;;;;-1:-1:-1;4635:187:130;4694:1;;;4635:10;:187::i;:::-;1199:20463;;5047:435;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;5236:8:130::1;:20:::0;;-1:-1:-1;;;;;;5236:20:130;;::::1;-1:-1:-1::0;;;;;5236:20:130;;::::1;::::0;;;::::1;::::0;;;5266:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;5304:16:::1;:36:::0;;-1:-1:-1;;;;;;5304:36:130::1;5236:20;5304:36:::0;;::::1;;;::::0;;5354:8:::1;::::0;::::1;5350:91;;5392:8;:38:::0;;-1:-1:-1;;;;;;5392:38:130::1;1338:42:188;5392:38:130;::::0;;5350:91:::1;5450:25;:23;:25::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;5047:435:130;;;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;8309:234:133:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;830:2:350;4880:69:41;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4880:69:41;628:407:350;4880:69:41;8384:6:133::1;:19:::0;-1:-1:-1;;;8384:19:133;::::1;-1:-1:-1::0;;;;;8384:19:133::1;;:24:::0;8380:157:::1;;8433:93;::::0;;::::1;::::0;::::1;::::0;;8463:6:::1;8433:93:::0;;;-1:-1:-1;8433:93:133::1;::::0;::::1;::::0;8510:12:::1;-1:-1:-1::0;;;;;8433:93:133::1;::::0;;;;;;;-1:-1:-1;;;8424:102:133::1;;:6;:102:::0;8380:157:::1;8309:234::o:0;628:407:350:-;1199:20463:130;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101625760003560e01c80638c3152e9116100c0578063c0c53b8b11610074578063e965084c11610059578063e965084c146104c7578063e9e05c4214610553578063f04987501461056657600080fd5b8063c0c53b8b14610406578063cff0ab961461042657600080fd5b80639bf62d82116100a55780639bf62d8214610370578063a14238e71461039d578063a35d99df146103cd57600080fd5b80638c3152e9146103235780639b5f694a1461034357600080fd5b806354fd4d50116101175780636dbffb78116100fc5780636dbffb78146102ee578063724c184c1461030e5780638b4c40b01461018757600080fd5b806354fd4d50146102735780635c975abb146102c957600080fd5b806335e80ab31161014857806335e80ab31461020c578063452a93201461023e5780634870496f1461025357600080fd5b80621c2ff61461018e57806333d7e2bd146101df57600080fd5b36610189576101873334620186a0600060405180602001604052806000815250610591565b005b600080fd5b34801561019a57600080fd5b5060365473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101eb57600080fd5b506037546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b34801561021857600080fd5b506035546101b590610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561024a57600080fd5b506101b561082c565b34801561025f57600080fd5b5061018761026e3660046149b4565b6108c4565b34801561027f57600080fd5b506102bc6040518060400160405280600581526020017f322e352e3000000000000000000000000000000000000000000000000000000081525081565b6040516101d69190614b06565b3480156102d557600080fd5b506102de610ef2565b60405190151581526020016101d6565b3480156102fa57600080fd5b506102de610309366004614b19565b610f85565b34801561031a57600080fd5b506101b5611040565b34801561032f57600080fd5b5061018761033e366004614b32565b61104c565b34801561034f57600080fd5b506036546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b34801561037c57600080fd5b506032546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b3480156103a957600080fd5b506102de6103b8366004614b19565b60336020526000908152604090205460ff1681565b3480156103d957600080fd5b506103ed6103e8366004614b8c565b61190d565b60405167ffffffffffffffff90911681526020016101d6565b34801561041257600080fd5b50610187610421366004614ba7565b611926565b34801561043257600080fd5b5060015461048e906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff92831660208501529116908201526060016101d6565b3480156104d357600080fd5b506105256104e2366004614b19565b603460205260009081526040902080546001909101546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041683565b604080519384526fffffffffffffffffffffffffffffffff92831660208501529116908201526060016101d6565b610187610561366004614c00565b610591565b34801561057257600080fd5b5060375473ffffffffffffffffffffffffffffffffffffffff166101b5565b8260005a905083156106485773ffffffffffffffffffffffffffffffffffffffff87161561064857604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f4f7074696d69736d506f7274616c3a206d7573742073656e6420746f2061646460448201527f72657373283029207768656e206372656174696e67206120636f6e747261637460648201526084015b60405180910390fd5b610652835161190d565b67ffffffffffffffff168567ffffffffffffffff1610156106f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4f7074696d69736d506f7274616c3a20676173206c696d697420746f6f20736d60448201527f616c6c0000000000000000000000000000000000000000000000000000000000606482015260840161063f565b6201d4c083511115610763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f7074696d69736d506f7274616c3a206461746120746f6f206c617267650000604482015260640161063f565b33328114610784575033731111000000000000000000000000000000001111015b6000348888888860405160200161079f959493929190614c7d565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c328460405161080f9190614b06565b60405180910390a450506108238282611b90565b50505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190614ce2565b905090565b6108cc610ef2565b15610933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a2070617573656400000000000000000000604482015260640161063f565b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff16036109f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e747261637400606482015260840161063f565b6036546040517fa25ae5570000000000000000000000000000000000000000000000000000000081526004810186905260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa158015610a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a869190614d1f565b519050610aa0610a9b36869003860186614d84565b611ebd565b8114610b2e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f660000000000000000000000000000000000000000000000606482015260840161063f565b6000610b3987611f19565b6000818152603460209081526040918290208251606081018452815481526001909101546fffffffffffffffffffffffffffffffff8082169383018490527001000000000000000000000000000000009091041692810192909252919250901580610c4f5750805160365460408084015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015273ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610c27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4b9190614d1f565b5114155b610cdb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173682060448201527f68617320616c7265616479206265656e2070726f76656e000000000000000000606482015260840161063f565b60408051602081018490526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815282825280516020918201209083018190529250610da49101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f0100000000000000000000000000000000000000000000000000000000000000602083015290610d9a888a614dea565b8a60400135611f49565b610e30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f660000000000000000000000000000606482015260840161063f565b604080516060810182528581526fffffffffffffffffffffffffffffffff42811660208084019182528c831684860190815260008981526034835286812095518655925190518416700100000000000000000000000000000000029316929092176001909301929092558b830151908c0151925173ffffffffffffffffffffffffffffffffffffffff918216939091169186917f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f629190a4505050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f61573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190614e6e565b6036546040517fa25ae5570000000000000000000000000000000000000000000000000000000081526004810183905260009161103a9173ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610ffb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101f9190614d1f565b602001516fffffffffffffffffffffffffffffffff16611f6d565b92915050565b60006108bf61082c565b565b611054610ef2565b156110bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a2070617573656400000000000000000000604482015260640161063f565b60325473ffffffffffffffffffffffffffffffffffffffff1661dead14611164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e00606482015260840161063f565b600061116f82611f19565b60008181526034602090815260408083208151606081018352815481526001909101546fffffffffffffffffffffffffffffffff8082169483018590527001000000000000000000000000000000009091041691810191909152929350900361125a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e207965740000000000000000000000000000606482015260840161063f565b603660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663887862726040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112eb9190614e8b565b81602001516fffffffffffffffffffffffffffffffff1610156113b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e204c32204f7261636c65207374617274696e60648201527f672074696d657374616d70000000000000000000000000000000000000000000608482015260a40161063f565b6113d581602001516fffffffffffffffffffffffffffffffff16611f6d565b611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c2066696e616c697a6174696f6e20706572696f6420686173206e6f7420656c60648201527f6170736564000000000000000000000000000000000000000000000000000000608482015260a40161063f565b60365460408281015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa15801561150e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115329190614d1f565b82518151919250146115ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4f7074696d69736d506f7274616c3a206f757470757420726f6f742070726f7660448201527f656e206973206e6f74207468652073616d652061732063757272656e74206f7560648201527f7470757420726f6f740000000000000000000000000000000000000000000000608482015260a40161063f565b61160b81602001516fffffffffffffffffffffffffffffffff16611f6d565b6116bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f66696e616c697a6174696f6e20706572696f6420686173206e6f7420656c617060648201527f7365640000000000000000000000000000000000000000000000000000000000608482015260a40161063f565b60008381526033602052604090205460ff161561175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a65640000000000000000000000606482015260840161063f565b600083815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908601516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558501516080860151606087015160a08801516117fe93929190612013565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915084907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b9061186390841515815260200190565b60405180910390a2801580156118795750326001145b15611906576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a207769746864726177616c206661696c6560448201527f6400000000000000000000000000000000000000000000000000000000000000606482015260840161063f565b5050505050565b600061191a826010614ed3565b61103a90615208614f03565b600054610100900460ff16158080156119465750600054600160ff909116105b806119605750303b158015611960575060005460ff166001145b6119ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161063f565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015611a4a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603680547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560378054909116858316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101008584160217905560325416611b0357603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b611b0b612071565b8015611b6e57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b600154600090611bc6907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1643614f2f565b90506000611bd2612184565b90506000816020015160ff16826000015163ffffffff16611bf39190614f75565b90508215611d2a57600154600090611c2a908390700100000000000000000000000000000000900467ffffffffffffffff16614fdd565b90506000836040015160ff1683611c419190615051565b600154611c619084906fffffffffffffffffffffffffffffffff16615051565b611c6b9190614f75565b600154909150600090611cbc90611c959084906fffffffffffffffffffffffffffffffff1661510d565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff16612245565b90506001861115611ceb57611ce8611c9582876040015160ff1660018a611ce39190614f2f565b612264565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b60018054869190601090611d5d908490700100000000000000000000000000000000900467ffffffffffffffff16614f03565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff161315611e40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5265736f757263654d65746572696e673a2063616e6e6f7420627579206d6f7260448201527f6520676173207468616e20617661696c61626c6520676173206c696d69740000606482015260840161063f565b600154600090611e6c906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816615181565b90506000611e7e48633b9aca006122b9565b611e8890836151be565b905060005a611e979088614f2f565b905080821115611eb357611eb3611eae8284614f2f565b6122d0565b5050505050505050565b60008160000151826020015183604001518460600151604051602001611efc949392919093845260208401929092526040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b80516020808301516040808501516060860151608087015160a08801519351600097611efc9790969591016151d2565b600080611f55866122fe565b9050611f6381868686612330565b9695505050505050565b603654604080517ff4daa291000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163f4daa2919160048083019260209291908290030181865afa158015611fdd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120019190614e8b565b61200b9083615229565b421192915050565b6000806000612023866000612360565b905080612059576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600054610100900460ff16612108576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161063f565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff1660000361104a5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015612221573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190615266565b600061225a612254858561237e565b8361238e565b90505b9392505050565b6000670de0b6b3a76400006122a561227c8583614f75565b61228e90670de0b6b3a7640000614fdd565b6122a085670de0b6b3a7640000615051565b61239d565b6122af9086615051565b61225a9190614f75565b6000818310156122c9578161225d565b5090919050565b6000805a90505b825a6122e39083614f2f565b10156122f9576122f282615305565b91506122d7565b505050565b6060818051906020012060405160200161231a91815260200190565b6040516020818303038152906040529050919050565b6000612357846123418786866123ce565b8051602091820120825192909101919091201490565b95945050505050565b600080603f83619c4001026040850201603f5a021015949350505050565b6000818312156122c9578161225d565b60008183126122c9578161225d565b600061225d670de0b6b3a7640000836123b586612e4c565b6123bf9190615051565b6123c99190614f75565b613090565b6060600084511161243b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b65790000000000000000000000604482015260640161063f565b6000612446846132cf565b90506000612453866133bb565b905060008460405160200161246a91815260200190565b60405160208183030381529060405290506000805b8451811015612dc357600085828151811061249c5761249c61533d565b602002602001015190508451831115612537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e677468000000000000000000000000000000000000606482015260840161063f565b826000036125f057805180516020918201206040516125859261255f92910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b6125eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f742068617368000000604482015260640161063f565b612747565b8051516020116126a6578051805160209182012060405161261a9261255f92910190815260200190565b6125eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c206861736800000000000000000000000000000000000000000000000000606482015260840161063f565b805184516020808701919091208251919092012014612747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f6520686173680000000000000000000000000000000000000000000000000000606482015260840161063f565b61275360106001615229565b8160200151510361292f57845183036128c75761278d81602001516010815181106127805761278061533d565b602002602001015161341e565b96506000875111612820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e6368290000000000606482015260840161063f565b6001865161282e9190614f2f565b82146128bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e636829000000000000606482015260840161063f565b50505050505061225d565b60008584815181106128db576128db61533d565b602001015160f81c60f81b60f81c9050600082602001518260ff16815181106129065761290661533d565b602002602001015190506129198161357e565b9550612926600186615229565b94505050612db0565b600281602001515103612d28576000612947826135a3565b905060008160008151811061295e5761295e61533d565b016020015160f81c9050600061297560028361536c565b61298090600261538e565b90506000612991848360ff166135c7565b9050600061299f8a896135c7565b905060006129ad83836135fd565b905080835114612a3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b6579000000000000606482015260840161063f565b60ff851660021480612a54575060ff85166003145b15612c435780825114612ae9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e646572000000606482015260840161063f565b612b0387602001516001815181106127805761278061533d565b9c5060008d5111612b96576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c6561662900000000000000606482015260840161063f565b60018c51612ba49190614f2f565b8814612c32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c656166290000000000000000606482015260840161063f565b50505050505050505050505061225d565b60ff85161580612c56575060ff85166001145b15612c9557612c828760200151600181518110612c7557612c7561533d565b602002602001015161357e565b9950612c8e818a615229565b9850612d1d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e207072656669780000000000000000000000000000606482015260840161063f565b505050505050612db0565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f6465000000000000000000000000000000000000000000000000606482015260840161063f565b5080612dbb81615305565b91505061247f565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e7473000000000000000000000000000000000000000000000000000000606482015260840161063f565b6000808213612eb7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e45440000000000000000000000000000000000000000000000604482015260640161063f565b60006060612ec4846136b1565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c182136130c157506000919050565b680755bf798b4a1bf1e58212613133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f570000000000000000000000000000000000000000604482015260640161063f565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff8111156132ed576132ed6147d4565b60405190808252806020026020018201604052801561333257816020015b604080518082019091526060808252602082015281526020019060019003908161330b5790505b50915060005b818110156133b457604051806040016040528085838151811061335d5761335d61533d565b6020026020010151815260200161338c86848151811061337f5761337f61533d565b6020026020010151613787565b8152508382815181106133a1576133a161533d565b6020908102919091010152600101613338565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613413578060011b82018184015160001a8060041c8253600f8116600183015350506001016133e5565b509295945050505050565b6060600080600061342e8561379a565b919450925090506000816001811115613449576134496153b1565b146134d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d00000000000000606482015260840161063f565b6134e08284615229565b85511461356f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e646572000000000000000000000000606482015260840161063f565b61235785602001518484614207565b6060602082600001511061359a576135958261341e565b61103a565b61103a8261429b565b606061103a6135c283602001516000815181106127805761278061533d565b6133bb565b6060825182106135e6575060408051602081019091526000815261103a565b61225d83838486516135f89190614f2f565b6142b1565b6000808251845110613610578251613613565b83515b90505b808210801561369a57508282815181106136325761363261533d565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168483815181106136715761367161533d565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156136aa57816001019150613616565b5092915050565b600080821161371c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e45440000000000000000000000000000000000000000000000604482015260640161063f565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b606061103a61379583614489565b614572565b600080600080846000015111613858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a40161063f565b6020840151805160001a607f811161387d576000600160009450945094505050614200565b60b78111613a8b576000613892608083614f2f565b90508087600001511161394d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a40161063f565b6001838101517fff000000000000000000000000000000000000000000000000000000000000001690821415806139c657507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b613a78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a40161063f565b5060019550935060009250614200915050565b60bf8111613dd9576000613aa060b783614f2f565b905080876000015111613b5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a40161063f565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003613c39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a40161063f565b600184015160088302610100031c60378111613cfd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a40161063f565b613d078184615229565b895111613dbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a40161063f565b613dc7836001615229565b97509550600094506142009350505050565b60f78111613eba576000613dee60c083614f2f565b905080876000015111613ea9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a40161063f565b600195509350849250614200915050565b6000613ec760f783614f2f565b905080876000015111613f82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a40161063f565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a40161063f565b600184015160088302610100031c60378111614124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a40161063f565b61412e8184615229565b8951116141e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a40161063f565b6141ee836001615229565b97509550600194506142009350505050565b9193909250565b60608167ffffffffffffffff811115614222576142226147d4565b6040519080825280601f01601f19166020018201604052801561424c576020820181803683370190505b509050811561225d5760006142618486615229565b90506020820160005b8481101561428257828101518282015260200161426a565b84811115614291576000858301525b5050509392505050565b606061103a826020015160008460000151614207565b60608182601f011015614320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f77000000000000000000000000000000000000604482015260640161063f565b82828401101561438c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f77000000000000000000000000000000000000604482015260640161063f565b818301845110156143f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e6473000000000000000000000000000000604482015260640161063f565b6060821580156144185760405191506000825260208201604052614480565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015614451578051835260209283019201614439565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b60408051808201909152600080825260208201526000825111614554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a40161063f565b50604080518082019091528151815260209182019181019190915290565b606060008060006145828561379a565b91945092509050600181600181111561459d5761459d6153b1565b1461462a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d0000000000000000606482015260840161063f565b84516146368385615229565b146146c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e6465720000000000000000000000000000606482015260840161063f565b604080516020808252610420820190925290816020015b60408051808201909152600080825260208201528152602001906001900390816146da5790505093506000835b86518110156147c85760008061474d6040518060400160405280858c600001516147319190614f2f565b8152602001858c602001516147469190615229565b905261379a565b5091509150604051806040016040528083836147699190615229565b8152602001848b6020015161477e9190615229565b8152508885815181106147935761479361533d565b60209081029190910101526147a9600185615229565b93506147b58183615229565b6147bf9084615229565b92505050614707565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561484a5761484a6147d4565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461487457600080fd5b50565b600082601f83011261488857600080fd5b813567ffffffffffffffff8111156148a2576148a26147d4565b6148d360207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601614803565b8181528460208386010111156148e857600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561491757600080fd5b60405160c0810167ffffffffffffffff828210818311171561493b5761493b6147d4565b81604052829350843583526020850135915061495682614852565b8160208401526040850135915061496c82614852565b816040840152606085013560608401526080850135608084015260a085013591508082111561499a57600080fd5b506149a785828601614877565b60a0830152505092915050565b600080600080600085870360e08112156149cd57600080fd5b863567ffffffffffffffff808211156149e557600080fd5b6149f18a838b01614905565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc084011215614a2a57600080fd5b60408901955060c0890135925080831115614a4457600080fd5b828901925089601f840112614a5857600080fd5b8235915080821115614a6957600080fd5b508860208260051b8401011115614a7f57600080fd5b959894975092955050506020019190565b60005b83811015614aab578181015183820152602001614a93565b83811115611b6e5750506000910152565b60008151808452614ad4816020860160208601614a90565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061225d6020830184614abc565b600060208284031215614b2b57600080fd5b5035919050565b600060208284031215614b4457600080fd5b813567ffffffffffffffff811115614b5b57600080fd5b614b6784828501614905565b949350505050565b803567ffffffffffffffff81168114614b8757600080fd5b919050565b600060208284031215614b9e57600080fd5b61225d82614b6f565b600080600060608486031215614bbc57600080fd5b8335614bc781614852565b92506020840135614bd781614852565b91506040840135614be781614852565b809150509250925092565b801515811461487457600080fd5b600080600080600060a08688031215614c1857600080fd5b8535614c2381614852565b945060208601359350614c3860408701614b6f565b92506060860135614c4881614bf2565b9150608086013567ffffffffffffffff811115614c6457600080fd5b614c7088828901614877565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b604882015260008251614cd1816049850160208701614a90565b919091016049019695505050505050565b600060208284031215614cf457600080fd5b815161225d81614852565b80516fffffffffffffffffffffffffffffffff81168114614b8757600080fd5b600060608284031215614d3157600080fd5b6040516060810181811067ffffffffffffffff82111715614d5457614d546147d4565b60405282518152614d6760208401614cff565b6020820152614d7860408401614cff565b60408201529392505050565b600060808284031215614d9657600080fd5b6040516080810181811067ffffffffffffffff82111715614db957614db96147d4565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b600067ffffffffffffffff80841115614e0557614e056147d4565b8360051b6020614e16818301614803565b868152918501918181019036841115614e2e57600080fd5b865b84811015614e6257803586811115614e485760008081fd5b614e5436828b01614877565b845250918301918301614e30565b50979650505050505050565b600060208284031215614e8057600080fd5b815161225d81614bf2565b600060208284031215614e9d57600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615614efa57614efa614ea4565b02949350505050565b600067ffffffffffffffff808316818516808303821115614f2657614f26614ea4565b01949350505050565b600082821015614f4157614f41614ea4565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082614f8457614f84614f46565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615614fd857614fd8614ea4565b500590565b6000808312837f80000000000000000000000000000000000000000000000000000000000000000183128115161561501757615017614ea4565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01831381161561504b5761504b614ea4565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60008413600084138583048511828216161561509257615092614ea4565b7f800000000000000000000000000000000000000000000000000000000000000060008712868205881281841616156150cd576150cd614ea4565b600087129250878205871284841616156150e9576150e9614ea4565b878505871281841616156150ff576150ff614ea4565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0384138115161561514757615147614ea4565b827f800000000000000000000000000000000000000000000000000000000000000003841281161561517b5761517b614ea4565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151b9576151b9614ea4565b500290565b6000826151cd576151cd614f46565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a083015261521d60c0830184614abc565b98975050505050505050565b6000821982111561523c5761523c614ea4565b500190565b805163ffffffff81168114614b8757600080fd5b805160ff81168114614b8757600080fd5b600060c0828403121561527857600080fd5b60405160c0810181811067ffffffffffffffff8211171561529b5761529b6147d4565b6040526152a783615241565b81526152b560208401615255565b60208201526152c660408401615255565b60408201526152d760608401615241565b60608201526152e860808401615241565b60808201526152f960a08401614cff565b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361533657615336614ea4565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff83168061537f5761537f614f46565b8060ff84160691505092915050565b600060ff821660ff8416808210156153a8576153a8614ea4565b90039392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea164736f6c634300080f000a",sourceMap:"1199:20463:130:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8178:86;8197:10;8209:9;1930:7;8247:5;8254:9;;;;;;;;;;;;8178:18;:86::i;:::-;1199:20463;;;;;5760:92;;;;;;;;;;-1:-1:-1;5837:8:130;;;;5760:92;;;214:42:350;202:55;;;184:74;;172:2;157:18;5760:92:130;;;;;;;;2942:32;;;;;;;;;;-1:-1:-1;2942:32:130;;;;;;;;2698:40;;;;;;;;;;-1:-1:-1;2698:40:130;;;;;;;;;;;6820:101;;;;;;;;;;;;;:::i;9351:3746::-;;;;;;;;;;-1:-1:-1;9351:3746:130;;;;;:::i;:::-;;:::i;4508:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;7044:105::-;;;;;;;;;;;;;:::i;:::-;;;5483:14:350;;5476:22;5458:41;;5446:2;5431:18;7044:105:130;5318:187:350;21047:180:130;;;;;;;;;;-1:-1:-1;21047:180:130;;;;;:::i;:::-;;:::i;6481:86::-;;;;;;;;;;;;;:::i;13210:4839::-;;;;;;;;;;-1:-1:-1;13210:4839:130;;;;;:::i;:::-;;:::i;2826:30::-;;;;;;;;;;-1:-1:-1;2826:30:130;;;;;;;;2193:23;;;;;;;;;;-1:-1:-1;2193:23:130;;;;;;;;2307:52;;;;;;;;;;-1:-1:-1;2307:52:130;;;;;:::i;:::-;;;;;;;;;;;;;;;;7642:120;;;;;;;;;;-1:-1:-1;7642:120:130;;;;;:::i;:::-;;:::i;:::-;;;6799:18:350;6787:31;;;6769:50;;6757:2;6742:18;7642:120:130;6625:200:350;5047:435:130;;;;;;;;;;-1:-1:-1;5047:435:130;;;;;:::i;:::-;;:::i;2999:28:133:-;;;;;;;;;;-1:-1:-1;2999:28:133;;;;;;;;;;;;;;;;;;;;;;;;;7664:34:350;7652:47;;;7634:66;;7719:18;7773:15;;;7768:2;7753:18;;7746:43;7825:15;;7805:18;;;7798:43;7622:2;7607:18;2999:28:133;7436:411:350;2441:61:130;;;;;;;;;;-1:-1:-1;2441:61:130;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8054:25:350;;;8098:34;8168:15;;;8163:2;8148:18;;8141:43;8220:15;;8200:18;;;8193:43;8042:2;8027:18;2441:61:130;7852:390:350;18779:1971:130;;;;;;:::i;:::-;;:::i;6130:98::-;;;;;;;;;;-1:-1:-1;6209:12:130;;;;6130:98;;18779:1971;18985:9;3417:18:133;3438:9;3417:30;;19139:11:130::1;19135:136;;;19174:17;::::0;::::1;::::0;19166:94:::1;;;::::0;;::::1;::::0;;9309:2:350;19166:94:130::1;::::0;::::1;9291:21:350::0;9328:18;;;9321:30;;;;9387:34;9367:18;;;9360:62;9458:34;9438:18;;;9431:62;9510:19;;19166:94:130::1;;;;;;;;;19439:37;19462:5;:12;19439:15;:37::i;:::-;19426:50;;:9;:50;;;;19418:98;;;::::0;::::1;::::0;;9742:2:350;19418:98:130::1;::::0;::::1;9724:21:350::0;9781:2;9761:18;;;9754:30;9820:34;9800:18;;;9793:62;9891:5;9871:18;;;9864:33;9914:19;;19418:98:130::1;9540:399:350::0;19418:98:130::1;19911:7;19895:5;:12;:23;;19887:66;;;::::0;::::1;::::0;;10146:2:350;19887:66:130::1;::::0;::::1;10128:21:350::0;10185:2;10165:18;;;10158:30;10224:32;10204:18;;;10197:60;10274:18;;19887:66:130::1;9944:354:350::0;19887:66:130::1;20059:10;20097:9;20083:23:::0;::::1;20079:108;;-1:-1:-1::0;20165:10:130::1;741:42:232::0;1213:27;20079:108:130::1;20444:23;20487:9;20498:6;20506:9;20517:11;20530:5;20470:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20444:92;;1780:1;20710:3;20683:60;;20704:4;20683:60;;;20732:10;20683:60;;;;;;:::i;:::-;;;;;;;;19000:1750;;3548:29:133::0;3557:7;3566:10;3548:8;:29::i;:::-;3339:245;18779:1971:130;;;;;;:::o;6820:101::-;6861:7;6887:16;;;;;;;;;;;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6880:34;;6820:101;:::o;9351:3746::-;4377:8;:6;:8::i;:::-;:17;4369:52;;;;;;;11631:2:350;4369:52:130;;;11613:21:350;11670:2;11650:18;;;11643:30;11709:24;11689:18;;;11682:52;11751:18;;4369:52:130;11429:346:350;4369:52:130;9883:4:::1;9861:27;;:3;:10;;;:27;;::::0;9853:103:::1;;;::::0;::::1;::::0;;11982:2:350;9853:103:130::1;::::0;::::1;11964:21:350::0;12021:2;12001:18;;;11994:30;12060:34;12040:18;;;12033:62;12131:33;12111:18;;;12104:61;12182:19;;9853:103:130::1;11780:427:350::0;9853:103:130::1;10154:8;::::0;:36:::1;::::0;;;;::::1;::::0;::::1;12358:25:350::0;;;10133:18:130::1;::::0;10154:8:::1;;::::0;:20:::1;::::0;12331:18:350;;10154:36:130::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:47:::0;;-1:-1:-1;10335:45:130::1;;;::::0;;::::1;::::0;::::1;10363:16:::0;10335:45:::1;:::i;:::-;:27;:45::i;:::-;10321:10;:59;10300:135;;;::::0;::::1;::::0;;14068:2:350;10300:135:130::1;::::0;::::1;14050:21:350::0;14107:2;14087:18;;;14080:30;14146:34;14126:18;;;14119:62;14217:11;14197:18;;;14190:39;14246:19;;10300:135:130::1;13866:405:350::0;10300:135:130::1;10546:22;10571:27;10594:3;10571:22;:27::i;:::-;10608:40;10651:33:::0;;;:17:::1;:33;::::0;;;;;;;;10608:76;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;::::1;;::::0;;;;;;;10546:52;;-1:-1:-1;10608:76:130;11238:31;;:145:::1;;-1:-1:-1::0;11356:27:130;;11289:8:::1;::::0;11310:30:::1;::::0;;::::1;::::0;11289:52;;;;;14452:34:350;14440:47;;;11289:52:130::1;::::0;::::1;14422:66:350::0;11289:8:130::1;::::0;;::::1;::::0;:20:::1;::::0;14395:18:350;;11289:52:130::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:63:::0;:94:::1;;11238:145;11217:247;;;::::0;::::1;::::0;;14701:2:350;11217:247:130::1;::::0;::::1;14683:21:350::0;14740:2;14720:18;;;14713:30;14779:34;14759:18;;;14752:62;14850:25;14830:18;;;14823:53;14893:19;;11217:247:130::1;14499:419:350::0;11217:247:130::1;11744:147;::::0;;::::1;::::0;::::1;15097:25:350::0;;;11700:18:130::1;15138::350::0;;;15131:34;;;15070:18;;11744:147:130::1;::::0;;;;;::::1;::::0;;;;;;11721:180;;11744:147:::1;11721:180:::0;;::::1;::::0;12309:22;;::::1;12358:25:350::0;;;11721:180:130;-1:-1:-1;12254:161:130::1;::::0;12331:18:350;12309:22:130::1;::::0;;;;;::::1;::::0;;;12254:161;;::::1;::::0;;;::::1;::::0;;::::1;12309:22;12254:161:::0;::::1;::::0;12309:22;12254:161:::1;12342:16:::0;;12254:161:::1;:::i;:::-;12360:16;:41;;;12254:37;:161::i;:::-;12233:258;;;::::0;::::1;::::0;;16499:2:350;12233:258:130::1;::::0;::::1;16481:21:350::0;16538:2;16518:18;;;16511:30;16577:34;16557:18;;;16550:62;16648:20;16628:18;;;16621:48;16686:19;;12233:258:130::1;16297:414:350::0;12233:258:130::1;12809:165;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;12895:15;12809:165:::0;::::1;;::::0;;::::1;::::0;;;;;::::1;::::0;;;;;;-1:-1:-1;12773:33:130;;;:17:::1;:33:::0;;;;;:201;;;;;;;;;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;;::::0;;::::1;::::0;;;;13079:10;;::::1;::::0;13067;;::::1;::::0;13034:56;;::::1;::::0;;::::1;::::0;;;::::1;::::0;12791:14;;13034:56:::1;::::0;-1:-1:-1;13034:56:130::1;9616:3481;;;;9351:3746:::0;;;;;:::o;7044:105::-;7083:12;7117:16;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;21047:180::-;21173:8;;:36;;;;;;;;12358:25:350;;;21121:4:130;;21144:76;;21173:8;;;;;:20;;12331:18:350;;21173:36:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;;;21144:76;;:28;:76::i;:::-;21137:83;21047:180;-1:-1:-1;;21047:180:130:o;6481:86::-;6524:7;6550:10;:8;:10::i;8485:77::-;:::o;13210:4839::-;4377:8;:6;:8::i;:::-;:17;4369:52;;;;;;;11631:2:350;4369:52:130;;;11613:21:350;11670:2;11650:18;;;11643:30;11709:24;11689:18;;;11682:52;11751:18;;4369:52:130;11429:346:350;4369:52:130;13578:8:::1;::::0;:39:::1;:8;1338:42:188;13578:39:130;13557:137;;;::::0;::::1;::::0;;17168:2:350;13557:137:130::1;::::0;::::1;17150:21:350::0;17207:2;17187:18;;;17180:30;17246:34;17226:18;;;17219:62;17317:33;17297:18;;;17290:61;17368:19;;13557:137:130::1;16966:427:350::0;13557:137:130::1;13777:22;13802:27;13825:3;13802:22;:27::i;:::-;13839:40;13882:33:::0;;;:17:::1;:33;::::0;;;;;;;13839:76;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;::::1;;::::0;;;;;;;13777:52;;-1:-1:-1;14165:31:130;;14157:94:::1;;;::::0;::::1;::::0;;17600:2:350;14157:94:130::1;::::0;::::1;17582:21:350::0;17639:2;17619:18;;;17612:30;17678:34;17658:18;;;17651:62;17749:20;17729:18;;;17722:48;17787:19;;14157:94:130::1;17398:414:350::0;14157:94:130::1;14568:8;;;;;;;;;;;:26;;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;14538:16;:26;;;:58;;;;14517:180;;;::::0;::::1;::::0;;18208:2:350;14517:180:130::1;::::0;::::1;18190:21:350::0;18247:2;18227:18;;;18220:30;18286:34;18266:18;;;18259:62;18357:34;18337:18;;;18330:62;18429:13;18408:19;;;18401:42;18460:19;;14517:180:130::1;18006:479:350::0;14517:180:130::1;15087:56;15116:16;:26;;;15087:56;;:28;:56::i;:::-;15066:172;;;::::0;::::1;::::0;;18692:2:350;15066:172:130::1;::::0;::::1;18674:21:350::0;18731:2;18711:18;;;18704:30;18770:34;18750:18;;;18743:62;18841:34;18821:18;;;18814:62;18913:7;18892:19;;;18885:36;18938:19;;15066:172:130::1;18490:473:350::0;15066:172:130::1;15448:8;::::0;15469:30:::1;::::0;;::::1;::::0;15448:52;;;;;14452:34:350;14440:47;;;15448:52:130::1;::::0;::::1;14422:66:350::0;15409:36:130::1;::::0;15448:8:::1;;::::0;:20:::1;::::0;14395:18:350;;15448:52:130::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;15811:27:::0;;15788:19;;15409:91;;-1:-1:-1;15788:50:130::1;15767:170;;;::::0;::::1;::::0;;19170:2:350;15767:170:130::1;::::0;::::1;19152:21:350::0;19209:2;19189:18;;;19182:30;19248:34;19228:18;;;19221:62;19319:34;19299:18;;;19292:62;19391:11;19370:19;;;19363:40;19420:19;;15767:170:130::1;18968:477:350::0;15767:170:130::1;16036:48;16065:8;:18;;;16036:48;;:28;:48::i;:::-;16015:162;;;::::0;::::1;::::0;;19652:2:350;16015:162:130::1;::::0;::::1;19634:21:350::0;19691:2;19671:18;;;19664:30;19730:34;19710:18;;;19703:62;19801:34;19781:18;;;19774:62;19873:5;19852:19;;;19845:34;19896:19;;16015:162:130::1;19450:471:350::0;16015:162:130::1;16293:36;::::0;;;:20:::1;:36;::::0;;;;;::::1;;:45;16285:111;;;::::0;::::1;::::0;;20128:2:350;16285:111:130::1;::::0;::::1;20110:21:350::0;20167:2;20147:18;;;20140:30;20206:34;20186:18;;;20179:62;20277:23;20257:18;;;20250:51;20318:19;;16285:111:130::1;19926:417:350::0;16285:111:130::1;16476:36;::::0;;;:20:::1;:36;::::0;;;;;;;:43;;;::::1;16515:4;16476:43;::::0;;16624:10;;::::1;::::0;16613:8:::1;:21:::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;17293:10;::::1;::::0;17305:12:::1;::::0;::::1;::::0;17319:9:::1;::::0;::::1;::::0;17330:8:::1;::::0;::::1;::::0;17269:70:::1;::::0;17293:10;17305:12;17319:9;17269:23:::1;:70::i;:::-;17407:8;:38:::0;;;::::1;1338:42:188;17407:38:130;::::0;;17604:44:::1;::::0;17254:85;;-1:-1:-1;17624:14:130;;17604:44:::1;::::0;::::1;::::0;17254:85;5483:14:350;5476:22;5458:41;;5446:2;5431:18;;5318:187;17604:44:130::1;;;;;;;;17912:16:::0;::::1;::::0;::::1;:61;;-1:-1:-1::0;17932:9:130::1;1016:1:188;17932:41:130;17912:61;17908:135;;;17989:43;::::0;::::1;::::0;;20550:2:350;17989:43:130::1;::::0;::::1;20532:21:350::0;20589:2;20569:18;;;20562:30;20628:34;20608:18;;;20601:62;20699:3;20679:18;;;20672:31;20720:19;;17989:43:130::1;20348:397:350::0;17908:135:130::1;13312:4737;;;;13210:4839:::0;:::o;7642:120::-;7707:6;7732:15;:10;7745:2;7732:15;:::i;:::-;:23;;7750:5;7732:23;:::i;5047:435::-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;21657:2:350;3146:190:41;;;21639:21:350;21696:2;21676:18;;;21669:30;21735:34;21715:18;;;21708:62;21806:16;21786:18;;;21779:44;21840:19;;3146:190:41;21455:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;5236:8:130::1;:20:::0;;;;;::::1;;::::0;;::::1;::::0;;;::::1;::::0;;;5266:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;5304:16:::1;:36:::0;;;::::1;5236:20;5304:36:::0;;::::1;;;::::0;;5354:8:::1;::::0;::::1;5350:91;;5392:8;:38:::0;;;::::1;1338:42:188;5392:38:130;::::0;;5350:91:::1;5450:25;:23;:25::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;22022:36:350;;3531:14:41;;22010:2:350;21995:18;3531:14:41;;;;;;;3457:99;3090:472;5047:435:130;;;:::o;1175:320:57:-;1465:19;;;:23;;;1175:320::o;3817:4037:133:-;3984:6;:19;3949:17;;3969:34;;3984:19;;;;;3969:12;:34;:::i;:::-;3949:54;;4014:28;4045:17;:15;:17::i;:::-;4014:48;;4072:26;4171:6;:27;;;4163:36;;4128:6;:23;;;4120:32;;4113:87;;;;:::i;:::-;4072:128;-1:-1:-1;4215:13:133;;4211:2229;;4572:6;:20;4535:19;;4557:59;;4597:19;;4572:20;;;;;4557:59;:::i;:::-;4535:81;;4630:19;4761:6;:34;;;4753:43;;4724:19;:73;;;;:::i;:::-;4668:6;:18;4653:50;;4691:12;;4668:18;;4653:50;:::i;:::-;4652:146;;;;:::i;:::-;5017:6;:18;4630:168;;-1:-1:-1;4939:17:133;;4959:232;;5002:50;;4630:168;;5017:18;;5002:50;:::i;:::-;5091:6;:21;;;5083:30;;5153:6;:21;;;5145:30;;4959:16;:232::i;:::-;4939:252;;5468:1;5456:9;:13;5452:741;;;5741:437;5788:239;5845:10;5910:6;:34;;;5902:43;;6002:1;5990:9;:13;;;;:::i;:::-;5788:16;:239::i;5741:437::-;5728:450;;5452:741;6286:49;;6387:42;6349:24;6416:12;6387:42;;;6286:6;6387:42;-1:-1:-1;;4211:2229:133;6534:6;:31;;6558:7;;6534:6;:20;;:31;;6558:7;;6534:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6652:6;:23;;;6644:32;;6611:6;:20;;;;;;;;;;;;6603:29;;6596:81;;6575:190;;;;;;;24309:2:350;6575:190:133;;;24291:21:350;24348:2;24328:18;;;24321:30;24387:34;24367:18;;;24360:62;24458:32;24438:18;;;24431:60;24508:19;;6575:190:133;24107:426:350;6575:190:133;6877:6;:18;6827:20;;6850:46;;6877:18;;6850:16;;;:46;:::i;:::-;6827:69;;7378:15;7411:31;7420:13;7435:6;7411:8;:31::i;:::-;7396:46;;:12;:46;:::i;:::-;7378:64;;7722:15;7754:9;7740:23;;:11;:23;:::i;:::-;7722:41;;7787:7;7777;:17;7773:75;;;7810:27;7819:17;7829:7;7819;:17;:::i;:::-;7810:8;:27::i;:::-;3881:3973;;;;;;3817:4037;;:::o;4961:384:192:-;5060:7;5137:16;:24;;;5179:16;:26;;;5223:16;:41;;;5282:16;:32;;;5109:219;;;;;;;;;;25127:25:350;;;25183:2;25168:18;;25161:34;;;;25226:2;25211:18;;25204:34;25269:2;25254:18;;25247:34;25114:3;25099:19;;24896:391;5109:219:192;;;;;;;;;;;;;5086:252;;;;;;5079:259;;4961:384;;;:::o;4456:211::-;4590:9;;4601:10;;;;;4613;;;;;4625:9;;;;4636:12;;;;4650:8;;;;4579:80;;4543:7;;4579:80;;4590:9;;4601:10;4650:8;4579:80;;:::i;1041:343:201:-;1234:11;1261:16;1280:19;1294:4;1280:13;:19::i;:::-;1261:38;;1318:59;1350:3;1355:6;1363;1371:5;1318:31;:59::i;:::-;1309:68;1041:343;-1:-1:-1;;;;;;1041:343:201:o;21480:180:130:-;21615:8;;:38;;;;;;;;21561:4;;21615:8;;;:36;;:38;;;;;;;;;;;;;;:8;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;21602:51;;:10;:51;:::i;:::-;21584:15;:69;;21480:180;-1:-1:-1;;21480:180:130:o;4419:2320:195:-;4589:4;4609:13;4632:15;4650:21;4660:7;4669:1;4650:9;:21::i;:::-;4632:39;;4782:10;4772:1146;;4894:10;4891:1;4884:21;5009:2;5005;4998:14;5747:56;5743:2;5736:68;5900:3;5896:2;5889:15;4772:1146;6666:4;6630;6589:9;6583:16;6549:2;6538:9;6534:18;6491:6;6449:7;6415:5;6389:309;6361:337;4419:2320;-1:-1:-1;;;;;;;4419:2320:195:o;8309:234:133:-;4888:13:41;;;;;;;4880:69;;;;;;;26288:2:350;4880:69:41;;;26270:21:350;26327:2;26307:18;;;26300:30;26366:34;26346:18;;;26339:62;26437:13;26417:18;;;26410:41;26468:19;;4880:69:41;26086:407:350;4880:69:41;8384:6:133::1;:19:::0;;;::::1;;;;:24:::0;8380:157:::1;;8433:93;::::0;;::::1;::::0;::::1;::::0;;8463:6:::1;8433:93:::0;;;-1:-1:-1;8433:93:133::1;::::0;::::1;::::0;8510:12:::1;8433:93;;::::0;;;;;;;8424:102;::::1;;:6;:102:::0;8309:234::o;8811:152:130:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8927:12:130;;:29;;;;;;;-1:-1:-1;;8927:12:130;;;;;:27;;:29;;;;;-1:-1:-1;;8927:29:130;;;;;;:12;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;537:161:184:-;616:6;641:50;656:28;671:6;679:4;656:14;:28::i;:::-;686:4;641:14;:50::i;:::-;634:57;;537:161;;;;;;:::o;1040:228::-;1138:6;1257:4;1180:72;1213:19;1220:12;1257:4;1213:19;:::i;:::-;1205:28;;:4;:28;:::i;:::-;1235:16;:9;1247:4;1235:16;:::i;:::-;1180:24;:72::i;:::-;1164:89;;:12;:89;:::i;:::-;1163:98;;;;:::i;413:105:67:-;471:7;502:1;497;:6;;:14;;510:1;497:14;;;-1:-1:-1;506:1:67;;490:21;-1:-1:-1;413:105:67:o;407:192:185:-;461:9;484:18;505:9;484:30;;524:69;556:7;544:9;531:22;;:10;:22;:::i;:::-;:32;524:69;;;579:3;;;:::i;:::-;;;524:69;;;451:148;;407:192;:::o;2052:142:201:-;2116:18;2181:4;2171:15;;;;;;2154:33;;;;;;28057:19:350;;28101:2;28092:12;;27928:182;2154:33:201;;;;;;;;;;;;;2146:41;;2052:142;;;:::o;2253:281:200:-;2446:11;2482:45;2494:6;2502:24;2506:4;2512:6;2520:5;2502:3;:24::i;:::-;6693:17:186;;;;;;;6672;;;;;;;;;;:38;;6569:148;2482:45:200;2473:54;2253:281;-1:-1:-1;;;;;2253:281:200:o;3615:365:195:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:195:o;311:102:69:-;367:6;397:1;392;:6;;:14;;405:1;392:14;;491:101;547:6;576:1;572;:5;:13;;584:1;572:13;;1208:273:102;1267:6;1391:36;491:4;1410:1;1399:8;1405:1;1399:5;:8::i;:::-;:12;;;;:::i;:::-;1398:28;;;;:::i;:::-;1391:6;:36::i;2830:6314:200:-;2923:19;2976:1;2962:4;:11;:15;2954:49;;;;;;;28317:2:350;2954:49:200;;;28299:21:350;28356:2;28336:18;;;28329:30;28395:23;28375:18;;;28368:51;28436:18;;2954:49:200;28115:345:350;2954:49:200;3014:23;3040:19;3052:6;3040:11;:19::i;:::-;3014:45;;3069:16;3088:21;3104:4;3088:15;:21::i;:::-;3069:40;;3119:26;3165:5;3148:23;;;;;;28057:19:350;;28101:2;28092:12;;27928:182;3148:23:200;;;;;;;;;;;;;3119:52;;3181:23;3295:9;3290:5790;3314:5;:12;3310:1;:16;3290:5790;;;3347:27;3377:5;3383:1;3377:8;;;;;;;;:::i;:::-;;;;;;;3347:38;;3516:3;:10;3497:15;:29;;3489:88;;;;;;;28856:2:350;3489:88:200;;;28838:21:350;28895:2;28875:18;;;28868:30;28934:34;28914:18;;;28907:62;29005:16;28985:18;;;28978:44;29039:19;;3489:88:200;28654:410:350;3489:88:200;3596:15;3615:1;3596:20;3592:837;;3768:19;;3758:30;;;;;;;3741:48;;3729:76;;3741:48;;3758:30;3741:48;28057:19:350;;;28101:2;28092:12;;27928:182;3741:48:200;;;;;;;;;;;;;3791:13;6693:17:186;;;;;;;6672;;;;;;;;;;:38;;6569:148;3729:76:200;3700:176;;;;;;;29271:2:350;3700:176:200;;;29253:21:350;29310:2;29290:18;;;29283:30;29349:31;29329:18;;;29322:59;29398:18;;3700:176:200;29069:353:350;3700:176:200;3592:837;;;3901:19;;:26;3931:2;-1:-1:-1;3897:532:200;;4097:19;;4087:30;;;;;;;4070:48;;4058:76;;4070:48;;4087:30;4070:48;28057:19:350;;;28101:2;28092:12;;27928:182;4058:76:200;4029:186;;;;;;;29629:2:350;4029:186:200;;;29611:21:350;29668:2;29648:18;;;29641:30;29707:34;29687:18;;;29680:62;29778:9;29758:18;;;29751:37;29805:19;;4029:186:200;29427:403:350;3897:532:200;4336:19;;6693:17:186;;;;;;;;;;6672;;;;;;;:38;4316:98:200;;;;;;;30037:2:350;4316:98:200;;;30019:21:350;30076:2;30056:18;;;30049:30;30115:34;30095:18;;;30088:62;30186:8;30166:18;;;30159:36;30212:19;;4316:98:200;29835:402:350;4316:98:200;936:14;803:2;949:1;936:14;:::i;:::-;4447:11;:19;;;:26;:48;4443:4627;;4538:3;:10;4519:15;:29;4515:1346;;5047:52;5067:11;:19;;;803:2;5067:31;;;;;;;;:::i;:::-;;;;;;;5047:19;:52::i;:::-;5038:61;;5145:1;5129:6;:13;:17;5121:89;;;;;;;30444:2:350;5121:89:200;;;30426:21:350;30483:2;30463:18;;;30456:30;30522:34;30502:18;;;30495:62;30593:29;30573:18;;;30566:57;30640:19;;5121:89:200;30242:423:350;5121:89:200;5322:1;5307:5;:12;:16;;;;:::i;:::-;5302:1;:21;5294:92;;;;;;;30872:2:350;5294:92:200;;;30854:21:350;30911:2;30891:18;;;30884:30;30950:34;30930:18;;;30923:62;31021:28;31001:18;;;30994:56;31067:19;;5294:92:200;30670:422:350;5294:92:200;5409:13;;;;;;;;4515:1346;5609:15;5633:3;5637:15;5633:20;;;;;;;;:::i;:::-;;;;;;;;;5627:27;;5609:45;;5676:33;5712:11;:19;;;5732:9;5712:30;;;;;;;;;;:::i;:::-;;;;;;;5676:66;;5780:20;5791:8;5780:10;:20::i;:::-;5764:36;-1:-1:-1;5822:20:200;5841:1;5822:20;;:::i;:::-;;;5447:414;;4443:4627;;;1105:1;5885:11;:19;;;:26;:59;5881:3189;;5964:17;5984:25;5997:11;5984:12;:25::i;:::-;5964:45;;6027:12;6048:4;6053:1;6048:7;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;6074:12:200;6094:10;6103:1;6048:7;6094:10;:::i;:::-;6089:16;;:1;:16;:::i;:::-;6074:31;;6123:26;6152:25;6164:4;6170:6;6152:25;;:11;:25::i;:::-;6123:54;;6195:25;6223:33;6235:3;6240:15;6223:11;:33::i;:::-;6195:61;;6274:26;6303:51;6326:13;6341:12;6303:22;:51::i;:::-;6274:80;;6661:18;6637:13;:20;:42;6608:171;;;;;;;31661:2:350;6608:171:200;;;31643:21:350;31700:2;31680:18;;;31673:30;31739:34;31719:18;;;31712:62;31810:28;31790:18;;;31783:56;31856:19;;6608:171:200;31459:422:350;6608:171:200;6802:26;;;1447:1;6802:26;;:55;;-1:-1:-1;6832:25:200;;;1553:1;6832:25;6802:55;6798:2169;;;7498:18;7475:12;:19;:41;7442:185;;;;;;;32088:2:350;7442:185:200;;;32070:21:350;32127:2;32107:18;;;32100:30;32166:34;32146:18;;;32139:62;32237:31;32217:18;;;32210:59;32286:19;;7442:185:200;31886:425:350;7442:185:200;7985:43;8005:11;:19;;;8025:1;8005:22;;;;;;;;:::i;7985:43::-;7976:52;;8074:1;8058:6;:13;:17;8050:87;;;;;;;32518:2:350;8050:87:200;;;32500:21:350;32557:2;32537:18;;;32530:30;32596:34;32576:18;;;32569:62;32667:27;32647:18;;;32640:55;32712:19;;8050:87:200;32316:421:350;8050:87:200;8249:1;8234:5;:12;:16;;;;:::i;:::-;8229:1;:21;8221:90;;;;;;;32944:2:350;8221:90:200;;;32926:21:350;32983:2;32963:18;;;32956:30;33022:34;33002:18;;;32995:62;33093:26;33073:18;;;33066:54;33137:19;;8221:90:200;32742:420:350;8221:90:200;8334:13;;;;;;;;;;;;;;6798:2169;8376:31;;;;;:65;;-1:-1:-1;8411:30:200;;;1339:1;8411:30;8376:65;8372:595;;;8748:34;8759:11;:19;;;8779:1;8759:22;;;;;;;;:::i;:::-;;;;;;;8748:10;:34::i;:::-;8732:50;-1:-1:-1;8804:37:200;8823:18;8804:37;;:::i;:::-;;;8372:595;;;8888:60;;;;;33369:2:350;8888:60:200;;;33351:21:350;33408:2;33388:18;;;33381:30;33447:34;33427:18;;;33420:62;33518:20;33498:18;;;33491:48;33556:19;;8888:60:200;33167:414:350;8372:595:200;5946:3035;;;;;;5881:3189;;;9005:50;;;;;33788:2:350;9005:50:200;;;33770:21:350;33827:2;33807:18;;;33800:30;33866:34;33846:18;;;33839:62;33937:10;33917:18;;;33910:38;33965:19;;9005:50:200;33586:404:350;5881:3189:200;-1:-1:-1;3328:3:200;;;;:::i;:::-;;;;3290:5790;;;-1:-1:-1;9090:47:200;;;;;34197:2:350;9090:47:200;;;34179:21:350;34236:2;34216:18;;;34209:30;34275:34;34255:18;;;34248:62;34346:7;34326:18;;;34319:35;34371:19;;9090:47:200;33995:401:350;4596:2947:102;4644:8;4700:1;4696;:5;4688:27;;;;;;;34603:2:350;4688:27:102;;;34585:21:350;34642:1;34622:18;;;34615:29;34680:11;34660:18;;;34653:39;34709:18;;4688:27:102;34401:332:350;4688:27:102;5107:8;5145:2;5125:16;5138:1;5125:4;:16::i;:::-;5118:29;5175:3;:7;;;5161:22;;;;5208:17;;;6001:31;5997:35;;6052:5;;5459:2;6051:13;;;6068:32;6050:50;6120:5;;6119:13;;6136:33;6118:51;6189:5;;6188:13;;6205:33;6187:51;6258:5;;6257:13;;6274:33;6256:51;6327:5;;6326:13;;6343:32;6325:50;6395:5;;6394:13;;6411:30;6393:48;5398:31;5394:35;;5449:5;;5448:13;;5465:32;5447:50;5517:5;;5516:13;;5533:32;5515:50;5585:5;;5584:13;;5583:50;;5653:5;;5652:13;;5651:50;;5721:5;;5720:13;;;5719:50;;5787:5;;;:46;;6735:10;7125:43;7120:48;7232:71;:75;;;;7227:80;;;;7380:72;7375:77;7523:3;7517:9;;;-1:-1:-1;;4596:2947:102:o;1487:3103::-;1536:8;1718:21;1713:1;:26;1709:40;;-1:-1:-1;1748:1:102;;1487:3103;-1:-1:-1;1487:3103:102:o;1709:40::-;1948:21;1943:1;:26;1939:54;;1971:22;;;;;34940:2:350;1971:22:102;;;34922:21:350;34979:2;34959:18;;;34952:30;35018:14;34998:18;;;34991:42;35050:18;;1971:22:102;34738:336:350;1939:54:102;2266:5;2260:2;2255:7;;;2254:17;;-1:-1:-1;2535:8:102;2601:2;2559:29;2548:7;;;2547:41;2591:5;2547:49;2546:57;;2629:29;2625:33;;2621:37;;;3300:35;;;3355:5;;2935:2;3354:13;;;3371:32;3353:50;3423:5;;3422:13;;3421:51;;3492:5;;3491:13;;3508:34;3490:52;3562:5;;3561:13;;3560:53;;3633:5;;3632:13;;3649:35;3631:53;2941:32;2874:31;2870:35;;2925:5;;2924:13;;2923:50;;;2998:5;;;:40;;3058:5;3057:13;;;3074:35;3056:53;3127:5;;;3136:40;3127:50;4002:10;4502:49;4489:62;4564:3;:7;;;;4488:84;;;;;;-1:-1:-1;;1487:3103:102:o;9434:390:200:-;9553:13;;9500:24;;9553:13;9585:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;9585:22:200;;;;;;;;;;;;;;;;9576:31;;9622:9;9617:201;9641:6;9637:1;:10;9617:201;;;9676:72;;;;;;;;9696:6;9703:1;9696:9;;;;;;;;:::i;:::-;;;;;;;9676:72;;;;9716:29;9735:6;9742:1;9735:9;;;;;;;;:::i;:::-;;;;;;;9716:18;:29::i;:::-;9676:72;;;9664:6;9671:1;9664:9;;;;;;;;:::i;:::-;;;;;;;;;;:84;9790:3;;9617:201;;;;9526:298;9434:390;;;:::o;4332:1978:186:-;4395:12;4419:21;4550:4;4544:11;4532:23;;4663:6;4657:13;4836:11;4830:4;4826:22;5195:4;5180:13;5176:24;5169:4;5165:9;5161:40;5151:8;5147:55;5141:4;5134:69;5293:13;5283:8;5276:31;;5434:4;5426:6;5422:17;5571:4;5561:8;5557:19;5662:4;5647:622;5675:11;5672:1;5669:18;5647:622;;;5854:1;5848:4;5844:12;5830;5826:31;5996:1;5984:10;5980:18;5974:25;5968:4;5963:37;6119:1;6113:4;6109:12;6101:6;6093:29;6249:4;6246:1;6242:12;6235:4;6227:6;6223:17;6215:40;-1:-1:-1;;5702:4:186;5695:12;5647:622;;;-1:-1:-1;6295:8:186;;4332:1978;-1:-1:-1;;;;;4332:1978:186:o;3993:464:198:-;4055:17;4085:18;4105;4125:20;4149:18;4163:3;4149:13;:18::i;:::-;4084:83;;-1:-1:-1;4084:83:198;-1:-1:-1;4084:83:198;-1:-1:-1;4198:21:198;4186:8;:33;;;;;;;;:::i;:::-;;4178:103;;;;;;;35470:2:350;4178:103:198;;;35452:21:350;35509:2;35489:18;;;35482:30;35548:34;35528:18;;;35521:62;35619:27;35599:18;;;35592:55;35664:19;;4178:103:198;35268:421:350;4178:103:198;4314:23;4327:10;4314;:23;:::i;:::-;4300:10;;:37;4292:102;;;;;;;35896:2:350;4292:102:198;;;35878:21:350;35935:2;35915:18;;;35908:30;35974:34;35954:18;;;35947:62;36045:22;36025:18;;;36018:50;36085:19;;4292:102:198;35694:416:350;4292:102:198;4412:38;4418:3;:7;;;4427:10;4439;4412:5;:38::i;10121:193:200:-;10195:16;10244:2;10229:5;:12;;;:17;:78;;10281:26;10301:5;10281:19;:26::i;:::-;10229:78;;;10249:29;10272:5;10249:22;:29::i;10495:172::-;10562:21;10606:54;10622:37;10642:5;:13;;;10656:1;10642:16;;;;;;;;:::i;10622:37::-;10606:15;:54::i;3805:237:186:-;3880:12;3918:6;:13;3908:6;:23;3904:70;;-1:-1:-1;3954:9:186;;;;;;;;;-1:-1:-1;3954:9:186;;3947:16;;3904:70;3990:45;3996:6;4004;4028;4012;:13;:22;;;;:::i;:::-;3990:5;:45::i;10892:321:200:-;10980:15;11007:11;11034:2;:9;11022:2;:9;:21;11021:47;;11059:2;:9;11021:47;;;11047:2;:9;11021:47;11007:61;;11078:129;11095:3;11085:7;:13;:43;;;;;11117:2;11120:7;11117:11;;;;;;;;:::i;:::-;;;;;;;;;11102:26;;;:2;11105:7;11102:11;;;;;;;;:::i;:::-;;;;;;;:26;11085:43;11078:129;;;11173:9;;;;;11078:129;;;10997:216;10892:321;;;;:::o;15328:575:102:-;15376:9;15409:1;15405;:5;15397:27;;;;;;;34603:2:350;15397:27:102;;;34585:21:350;34642:1;34622:18;;;34615:29;34680:11;34660:18;;;34653:39;34709:18;;15397:27:102;34401:332:350;15397:27:102;-1:-1:-1;15821:1:102;15473:34;-1:-1:-1;;15467:1:102;15463:49;15566:9;;;15546:18;15543:33;15540:1;15536:41;15530:48;15624:9;;;15612:10;15609:25;15606:1;15602:33;15596:40;15678:9;;;15670:6;15667:21;15664:1;15660:29;15654:36;15730:9;;;15724:4;15721:19;15718:1;15714:27;;;15708:34;;;15781:9;;;15776:3;15773:18;15770:1;15766:26;15760:33;15832:9;;;15824:18;;;15817:26;;15811:33;15876:9;;;-1:-1:-1;15862:25:102;;15328:575::o;3732:130:198:-;3791:21;3831:24;3840:14;3850:3;3840:9;:14::i;:::-;3831:8;:24::i;5246:4079::-;5335:15;5352;5369:17;5705:1;5692:3;:10;;;:14;5684:101;;;;;;;36317:2:350;5684:101:198;;;36299:21:350;36356:2;36336:18;;;36329:30;36395:34;36375:18;;;36368:62;36466:34;36446:18;;;36439:62;36538:12;36517:19;;;36510:41;36568:19;;5684:101:198;36115:478:350;5684:101:198;5816:7;;;;5898:10;;5796:17;5890:19;5943:4;5933:14;;5929:3390;;5999:1;6002;6005:21;5991:36;;;;;;;;;;5929:3390;6058:4;6048:6;:14;6044:3275;;6164:14;6181:13;6190:4;6181:6;:13;:::i;:::-;6164:30;;6247:6;6234:3;:10;;;:19;6209:140;;;;;;;36800:2:350;6209:140:198;;;36782:21:350;36839:2;36819:18;;;36812:30;36878:34;36858:18;;;36851:62;36949:34;36929:18;;;36922:62;37021:16;37000:19;;;36993:45;37055:19;;6209:140:198;36598:482:350;6209:140:198;6471:1;6462:11;;;6456:18;6476:14;6452:39;;6544:11;;;;:41;;-1:-1:-1;6559:26:198;;;;;;6544:41;6519:177;;;;;;;37287:2:350;6519:177:198;;;37269:21:350;37326:2;37306:18;;;37299:30;37365:34;37345:18;;;37338:62;37436:34;37416:18;;;37409:62;37508:15;37487:19;;;37480:44;37541:19;;6519:177:198;37085:481:350;6519:177:198;-1:-1:-1;6719:1:198;;-1:-1:-1;6722:6:198;-1:-1:-1;6730:21:198;;-1:-1:-1;6711:41:198;;-1:-1:-1;;6711:41:198;6044:3275;6783:4;6773:6;:14;6769:2550;;6831:19;6853:13;6862:4;6853:6;:13;:::i;:::-;6831:35;;6919:11;6906:3;:10;;;:24;6881:164;;;;;;;37773:2:350;6881:164:198;;;37755:21:350;37812:2;37792:18;;;37785:30;37851:34;37831:18;;;37824:62;37922:34;37902:18;;;37895:62;37994:19;37973;;;37966:48;38031:19;;6881:164:198;37571:485:350;6881:164:198;7167:1;7158:11;;7152:18;7172:14;7148:39;7060:25;7240:26;;;7215:143;;;;;;;38263:2:350;7215:143:198;;;38245:21:350;38302:2;38282:18;;;38275:30;38341:34;38321:18;;;38314:62;38412:34;38392:18;;;38385:62;38484:12;38463:19;;;38456:41;38514:19;;7215:143:198;38061:478:350;7215:143:198;7488:1;7479:11;;7473:18;7455:1;7451:19;;7446:3;7442:29;7438:54;7537:2;7528:11;;7520:96;;;;;;;38746:2:350;7520:96:198;;;38728:21:350;38785:2;38765:18;;;38758:30;38824:34;38804:18;;;38797:62;38895:34;38875:18;;;38868:62;38967:10;38946:19;;;38939:39;38995:19;;7520:96:198;38544:476:350;7520:96:198;7669:20;7683:6;7669:11;:20;:::i;:::-;7656:10;;:33;7631:168;;;;;;;39227:2:350;7631:168:198;;;39209:21:350;39266:2;39246:18;;;39239:30;39305:34;39285:18;;;39278:62;39376:34;39356:18;;;39349:62;39448:14;39427:19;;;39420:43;39480:19;;7631:168:198;39025:480:350;7631:168:198;7822:15;7826:11;7822:1;:15;:::i;:::-;7814:55;-1:-1:-1;7839:6:198;-1:-1:-1;7847:21:198;;-1:-1:-1;7814:55:198;;-1:-1:-1;;;;7814:55:198;6769:2550;7900:4;7890:6;:14;7886:1433;;8003:15;8021:13;8030:4;8021:6;:13;:::i;:::-;8003:31;;8070:7;8057:3;:10;;;:20;8049:107;;;;;;;39712:2:350;8049:107:198;;;39694:21:350;39751:2;39731:18;;;39724:30;39790:34;39770:18;;;39763:62;39861:34;39841:18;;;39834:62;39933:12;39912:19;;;39905:41;39963:19;;8049:107:198;39510:478:350;8049:107:198;8179:1;;-1:-1:-1;8182:7:198;-1:-1:-1;8179:1:198;;-1:-1:-1;8171:42:198;;-1:-1:-1;;8171:42:198;7886:1433;8270:20;8293:13;8302:4;8293:6;:13;:::i;:::-;8270:36;;8359:12;8346:3;:10;;;:25;8321:161;;;;;;;40195:2:350;8321:161:198;;;40177:21:350;40234:2;40214:18;;;40207:30;40273:34;40253:18;;;40246:62;40344:34;40324:18;;;40317:62;40416:15;40395:19;;;40388:44;40449:19;;8321:161:198;39993:481:350;8321:161:198;8604:1;8595:11;;8589:18;8609:14;8585:39;8497:25;8677:26;;;8652:141;;;;;;;40681:2:350;8652:141:198;;;40663:21:350;40720:2;40700:18;;;40693:30;40759:34;40739:18;;;40732:62;40830:34;40810:18;;;40803:62;40902:10;40881:19;;;40874:39;40930:19;;8652:141:198;40479:476:350;8652:141:198;8926:1;8917:11;;8911:18;8892:1;8888:20;;8883:3;8879:30;8875:55;8976:2;8966:12;;8958:95;;;;;;;41162:2:350;8958:95:198;;;41144:21:350;41201:2;41181:18;;;41174:30;41240:34;41220:18;;;41213:62;41311:34;41291:18;;;41284:62;41383:8;41362:19;;;41355:37;41409:19;;8958:95:198;40960:474:350;8958:95:198;9106:22;9121:7;9106:12;:22;:::i;:::-;9093:10;;:35;9068:168;;;;;;;41641:2:350;9068:168:198;;;41623:21:350;41680:2;41660:18;;;41653:30;41719:34;41699:18;;;41692:62;41790:34;41770:18;;;41763:62;41862:12;41841:19;;;41834:41;41892:19;;9068:168:198;41439:478:350;9068:168:198;9259:16;9263:12;9259:1;:16;:::i;:::-;9251:57;-1:-1:-1;9277:7:198;-1:-1:-1;9286:21:198;;-1:-1:-1;9251:57:198;;-1:-1:-1;;;;9251:57:198;5246:4079;;;;;;:::o;9585:737::-;9676:17;9722:7;9712:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9712:18:198;-1:-1:-1;9705:25:198;-1:-1:-1;9740:54:198;;9772:11;9740:54;10010:11;10024:36;10053:7;10045:4;10024:36;:::i;:::-;10010:50;;10115:2;10109:4;10105:13;10140:1;10154:87;10168:7;10165:1;10162:14;10154:87;;;10226:11;;;10220:18;10206:12;;;10199:40;10191:2;10184:10;10154:87;;;10264:7;10261:1;10258:14;10255:51;;;10302:1;10292:7;10286:4;10282:18;10275:29;10255:51;;;10079:237;9585:737;;;;;:::o;4847:137::-;4912:17;4948:29;4954:3;:7;;;4963:1;4966:3;:10;;;4948:5;:29::i;660:2816:186:-;752:12;824:7;808;818:2;808:12;:23;;800:50;;;;;;;42124:2:350;800:50:186;;;42106:21:350;42163:2;42143:18;;;42136:30;42202:16;42182:18;;;42175:44;42236:18;;800:50:186;41922:338:350;800:50:186;892:6;881:7;872:6;:16;:26;;864:53;;;;;;;42124:2:350;864:53:186;;;42106:21:350;42163:2;42143:18;;;42136:30;42202:16;42182:18;;;42175:44;42236:18;;864:53:186;41922:338:350;864:53:186;965:7;956:6;:16;939:6;:13;:33;;931:63;;;;;;;42467:2:350;931:63:186;;;42449:21:350;42506:2;42486:18;;;42479:30;42545:19;42525:18;;;42518:47;42582:18;;931:63:186;42265:341:350;931:63:186;1015:22;1078:15;;1106:1931;;;;3178:4;3172:11;3159:24;;3365:1;3354:9;3347:20;3413:4;3402:9;3398:20;3392:4;3385:34;1071:2362;;1106:1931;1288:4;1282:11;1269:24;;1947:2;1938:7;1934:16;2329:9;2322:17;2316:4;2312:28;2300:9;2289;2285:25;2281:60;2377:7;2373:2;2369:16;2629:6;2615:9;2608:17;2602:4;2598:28;2586:9;2578:6;2574:22;2570:57;2566:70;2403:389;2662:3;2658:2;2655:11;2403:389;;;2780:9;;2769:21;;2703:4;2695:13;;;;2735;2403:389;;;-1:-1:-1;;2810:26:186;;;3018:2;3001:11;3014:7;2997:25;2991:4;2984:39;-1:-1:-1;1071:2362:186;-1:-1:-1;3460:9:186;660:2816;-1:-1:-1;;;;660:2816:186:o;1298:390:198:-;-1:-1:-1;;;;;;;;;;;;;;;;;1453:1:198;1440:3;:10;:14;1432:101;;;;;;;36317:2:350;1432:101:198;;;36299:21:350;36356:2;36336:18;;;36329:30;36395:34;36375:18;;;36368:62;36466:34;36446:18;;;36439:62;36538:12;36517:19;;;36510:41;36568:19;;1432:101:198;36115:478:350;1432:101:198;-1:-1:-1;1640:41:198;;;;;;;;;1658:10;;1640:41;;1610:2;1601:12;;;1640:41;;;;;;;;1298:390::o;1840:1740::-;1901:21;1935:18;1955;1975:20;1999:18;2013:3;1999:13;:18::i;:::-;1934:83;;-1:-1:-1;1934:83:198;-1:-1:-1;1934:83:198;-1:-1:-1;2048:21:198;2036:8;:33;;;;;;;;:::i;:::-;;2028:102;;;;;;;42813:2:350;2028:102:198;;;42795:21:350;42852:2;42832:18;;;42825:30;42891:34;42871:18;;;42864:62;42962:26;42942:18;;;42935:54;43006:19;;2028:102:198;42611:420:350;2028:102:198;2176:10;;2149:23;2162:10;2149;:23;:::i;:::-;:37;2141:100;;;;;;;43238:2:350;2141:100:198;;;43220:21:350;43277:2;43257:18;;;43250:30;43316:34;43296:18;;;43289:62;43387:20;43367:18;;;43360:48;43425:19;;2141:100:198;43036:414:350;2141:100:198;2651:30;;;1123:2;2651:30;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;2651:30:198;;;;;;;;;;;;;;-1:-1:-1;2644:37:198;-1:-1:-1;2692:17:198;2740:10;2760:681;2776:10;;2767:19;;2760:681;;;2803:18;2823;2846:150;2877:105;;;;;;;;2908:6;2895:3;:10;;;:19;;;;:::i;:::-;2877:105;;;;2972:6;2961:3;:7;;;2940:38;;;;:::i;:::-;2877:105;;2846:13;:150::i;:::-;2802:194;;;;;3201:153;;;;;;;;3248:10;3235;:23;;;;:::i;:::-;3201:153;;;;3332:6;3321:3;:7;;;3300:38;;;;:::i;:::-;3201:153;;;3183:4;3188:9;3183:15;;;;;;;;:::i;:::-;;;;;;;;;;:171;3369:14;3382:1;3369:14;;:::i;:::-;;-1:-1:-1;3407:23:198;3420:10;3407;:23;:::i;:::-;3397:33;;;;:::i;:::-;;;2788:653;;2760:681;;;-1:-1:-1;3541:23:198;;-1:-1:-1;3548:4:198;;1840:1740;-1:-1:-1;;;1840:1740:198:o;1010:184:350:-;1062:77;1059:1;1052:88;1159:4;1156:1;1149:15;1183:4;1180:1;1173:15;1199:334;1270:2;1264:9;1326:2;1316:13;;1331:66;1312:86;1300:99;;1429:18;1414:34;;1450:22;;;1411:62;1408:88;;;1476:18;;:::i;:::-;1512:2;1505:22;1199:334;;-1:-1:-1;1199:334:350:o;1538:154::-;1624:42;1617:5;1613:54;1606:5;1603:65;1593:93;;1682:1;1679;1672:12;1593:93;1538:154;:::o;1697:589::-;1739:5;1792:3;1785:4;1777:6;1773:17;1769:27;1759:55;;1810:1;1807;1800:12;1759:55;1846:6;1833:20;1872:18;1868:2;1865:26;1862:52;;;1894:18;;:::i;:::-;1938:114;2046:4;1977:66;1970:4;1966:2;1962:13;1958:86;1954:97;1938:114;:::i;:::-;2077:2;2068:7;2061:19;2123:3;2116:4;2111:2;2103:6;2099:15;2095:26;2092:35;2089:55;;;2140:1;2137;2130:12;2089:55;2205:2;2198:4;2190:6;2186:17;2179:4;2170:7;2166:18;2153:55;2253:1;2228:16;;;2246:4;2224:27;2217:38;;;;2232:7;1697:589;-1:-1:-1;;;1697:589:350:o;2291:1032::-;2359:5;2407:4;2395:9;2390:3;2386:19;2382:30;2379:50;;;2425:1;2422;2415:12;2379:50;2458:2;2452:9;2500:4;2492:6;2488:17;2524:18;2592:6;2580:10;2577:22;2572:2;2560:10;2557:18;2554:46;2551:72;;;2603:18;;:::i;:::-;2643:10;2639:2;2632:22;2672:6;2663:15;;2715:9;2702:23;2694:6;2687:39;2778:2;2767:9;2763:18;2750:32;2735:47;;2791:33;2816:7;2791:33;:::i;:::-;2857:7;2852:2;2844:6;2840:15;2833:32;2917:2;2906:9;2902:18;2889:32;2874:47;;2930:33;2955:7;2930:33;:::i;:::-;2996:7;2991:2;2983:6;2979:15;2972:32;3065:2;3054:9;3050:18;3037:32;3032:2;3024:6;3020:15;3013:57;3132:3;3121:9;3117:19;3104:33;3098:3;3090:6;3086:16;3079:59;3189:3;3178:9;3174:19;3161:33;3147:47;;3217:2;3209:6;3206:14;3203:34;;;3233:1;3230;3223:12;3203:34;;3271:45;3312:3;3303:6;3292:9;3288:22;3271:45;:::i;:::-;3265:3;3257:6;3253:16;3246:71;;;2291:1032;;;;:::o;3328:1175::-;3530:6;3538;3546;3554;3562;3606:9;3597:7;3593:23;3636:3;3632:2;3628:12;3625:32;;;3653:1;3650;3643:12;3625:32;3693:9;3680:23;3722:18;3763:2;3755:6;3752:14;3749:34;;;3779:1;3776;3769:12;3749:34;3802:72;3866:7;3857:6;3846:9;3842:22;3802:72;:::i;:::-;3792:82;;3921:2;3910:9;3906:18;3893:32;3883:42;;4018:3;3949:66;3945:2;3941:75;3937:85;3934:105;;;4035:1;4032;4025:12;3934:105;4073:2;4062:9;4058:18;4048:28;;4129:3;4118:9;4114:19;4101:33;4085:49;;4159:2;4149:8;4146:16;4143:36;;;4175:1;4172;4165:12;4143:36;4213:8;4202:9;4198:24;4188:34;;4260:7;4253:4;4249:2;4245:13;4241:27;4231:55;;4282:1;4279;4272:12;4231:55;4322:2;4309:16;4295:30;;4348:2;4340:6;4337:14;4334:34;;;4364:1;4361;4354:12;4334:34;;4417:7;4412:2;4402:6;4399:1;4395:14;4391:2;4387:23;4383:32;4380:45;4377:65;;;4438:1;4435;4428:12;4377:65;3328:1175;;;;-1:-1:-1;3328:1175:350;;-1:-1:-1;;;4469:2:350;4461:11;;4491:6;3328:1175::o;4508:258::-;4580:1;4590:113;4604:6;4601:1;4598:13;4590:113;;;4680:11;;;4674:18;4661:11;;;4654:39;4626:2;4619:10;4590:113;;;4721:6;4718:1;4715:13;4712:48;;;-1:-1:-1;;4756:1:350;4738:16;;4731:27;4508:258::o;4771:317::-;4813:3;4851:5;4845:12;4878:6;4873:3;4866:19;4894:63;4950:6;4943:4;4938:3;4934:14;4927:4;4920:5;4916:16;4894:63;:::i;:::-;5002:2;4990:15;5007:66;4986:88;4977:98;;;;5077:4;4973:109;;4771:317;-1:-1:-1;;4771:317:350:o;5093:220::-;5242:2;5231:9;5224:21;5205:4;5262:45;5303:2;5292:9;5288:18;5280:6;5262:45;:::i;5510:180::-;5569:6;5622:2;5610:9;5601:7;5597:23;5593:32;5590:52;;;5638:1;5635;5628:12;5590:52;-1:-1:-1;5661:23:350;;5510:180;-1:-1:-1;5510:180:350:o;5695:375::-;5795:6;5848:2;5836:9;5827:7;5823:23;5819:32;5816:52;;;5864:1;5861;5854:12;5816:52;5904:9;5891:23;5937:18;5929:6;5926:30;5923:50;;;5969:1;5966;5959:12;5923:50;5992:72;6056:7;6047:6;6036:9;6032:22;5992:72;:::i;:::-;5982:82;5695:375;-1:-1:-1;;;;5695:375:350:o;6260:171::-;6327:20;;6387:18;6376:30;;6366:41;;6356:69;;6421:1;6418;6411:12;6356:69;6260:171;;;:::o;6436:184::-;6494:6;6547:2;6535:9;6526:7;6522:23;6518:32;6515:52;;;6563:1;6560;6553:12;6515:52;6586:28;6604:9;6586:28;:::i;6830:601::-;6979:6;6987;6995;7048:2;7036:9;7027:7;7023:23;7019:32;7016:52;;;7064:1;7061;7054:12;7016:52;7103:9;7090:23;7122:31;7147:5;7122:31;:::i;:::-;7172:5;-1:-1:-1;7229:2:350;7214:18;;7201:32;7242:33;7201:32;7242:33;:::i;:::-;7294:7;-1:-1:-1;7353:2:350;7338:18;;7325:32;7366:33;7325:32;7366:33;:::i;:::-;7418:7;7408:17;;;6830:601;;;;;:::o;8247:118::-;8333:5;8326:13;8319:21;8312:5;8309:32;8299:60;;8355:1;8352;8345:12;8370:732;8470:6;8478;8486;8494;8502;8555:3;8543:9;8534:7;8530:23;8526:33;8523:53;;;8572:1;8569;8562:12;8523:53;8611:9;8598:23;8630:31;8655:5;8630:31;:::i;:::-;8680:5;-1:-1:-1;8732:2:350;8717:18;;8704:32;;-1:-1:-1;8755:37:350;8788:2;8773:18;;8755:37;:::i;:::-;8745:47;;8844:2;8833:9;8829:18;8816:32;8857:30;8879:7;8857:30;:::i;:::-;8906:7;-1:-1:-1;8964:3:350;8949:19;;8936:33;8992:18;8981:30;;8978:50;;;9024:1;9021;9014:12;8978:50;9047:49;9088:7;9079:6;9068:9;9064:22;9047:49;:::i;:::-;9037:59;;;8370:732;;;;;;;;:::o;10303:642::-;10566:6;10561:3;10554:19;10603:6;10598:2;10593:3;10589:12;10582:28;10662:66;10653:6;10648:3;10644:16;10640:89;10635:2;10630:3;10626:12;10619:111;10783:6;10776:14;10769:22;10764:3;10760:32;10755:2;10750:3;10746:12;10739:54;10536:3;10822:6;10816:13;10838:60;10891:6;10886:2;10881:3;10877:12;10872:2;10864:6;10860:15;10838:60;:::i;:::-;10918:16;;;;10936:2;10914:25;;10303:642;-1:-1:-1;;;;;;10303:642:350:o;11173:251::-;11243:6;11296:2;11284:9;11275:7;11271:23;11267:32;11264:52;;;11312:1;11309;11302:12;11264:52;11344:9;11338:16;11363:31;11388:5;11363:31;:::i;12394:192::-;12473:13;;12526:34;12515:46;;12505:57;;12495:85;;12576:1;12573;12566:12;12591:617;12695:6;12748:2;12736:9;12727:7;12723:23;12719:32;12716:52;;;12764:1;12761;12754:12;12716:52;12797:2;12791:9;12839:2;12831:6;12827:15;12908:6;12896:10;12893:22;12872:18;12860:10;12857:34;12854:62;12851:88;;;12919:18;;:::i;:::-;12955:2;12948:22;12994:16;;12979:32;;13044:49;13089:2;13074:18;;13044:49;:::i;:::-;13039:2;13031:6;13027:15;13020:74;13127:49;13172:2;13161:9;13157:18;13127:49;:::i;:::-;13122:2;13110:15;;13103:74;13114:6;12591:617;-1:-1:-1;;;12591:617:350:o;13213:648::-;13307:6;13360:3;13348:9;13339:7;13335:23;13331:33;13328:53;;;13377:1;13374;13367:12;13328:53;13410:2;13404:9;13452:3;13444:6;13440:16;13522:6;13510:10;13507:22;13486:18;13474:10;13471:34;13468:62;13465:88;;;13533:18;;:::i;:::-;13573:10;13569:2;13562:22;;13621:9;13608:23;13600:6;13593:39;13693:2;13682:9;13678:18;13665:32;13660:2;13652:6;13648:15;13641:57;13759:2;13748:9;13744:18;13731:32;13726:2;13718:6;13714:15;13707:57;13825:2;13814:9;13810:18;13797:32;13792:2;13784:6;13780:15;13773:57;13849:6;13839:16;;;13213:648;;;;:::o;15358:934::-;15494:9;15528:18;15569:2;15561:6;15558:14;15555:40;;;15575:18;;:::i;:::-;15621:6;15618:1;15614:14;15647:4;15671:28;15695:2;15691;15687:11;15671:28;:::i;:::-;15733:19;;;15803:14;;;;15768:12;;;;15840:14;15829:26;;15826:46;;;15868:1;15865;15858:12;15826:46;15892:5;15906:353;15922:6;15917:3;15914:15;15906:353;;;16008:3;15995:17;16044:2;16031:11;16028:19;16025:109;;;16088:1;16117:2;16113;16106:14;16025:109;16159:57;16201:14;16187:11;16180:5;16176:23;16159:57;:::i;:::-;16147:70;;-1:-1:-1;16237:12:350;;;;15939;;15906:353;;;-1:-1:-1;16281:5:350;15358:934;-1:-1:-1;;;;;;;15358:934:350:o;16716:245::-;16783:6;16836:2;16824:9;16815:7;16811:23;16807:32;16804:52;;;16852:1;16849;16842:12;16804:52;16884:9;16878:16;16903:28;16925:5;16903:28;:::i;17817:184::-;17887:6;17940:2;17928:9;17919:7;17915:23;17911:32;17908:52;;;17956:1;17953;17946:12;17908:52;-1:-1:-1;17979:16:350;;17817:184;-1:-1:-1;17817:184:350:o;20750:::-;20802:77;20799:1;20792:88;20899:4;20896:1;20889:15;20923:4;20920:1;20913:15;20939:270;20978:7;21010:18;21055:2;21052:1;21048:10;21085:2;21082:1;21078:10;21141:3;21137:2;21133:12;21128:3;21125:21;21118:3;21111:11;21104:19;21100:47;21097:73;;;21150:18;;:::i;:::-;21190:13;;20939:270;-1:-1:-1;;;;20939:270:350:o;21214:236::-;21253:3;21281:18;21326:2;21323:1;21319:10;21356:2;21353:1;21349:10;21387:3;21383:2;21379:12;21374:3;21371:21;21368:47;;;21395:18;;:::i;:::-;21431:13;;21214:236;-1:-1:-1;;;;21214:236:350:o;22069:125::-;22109:4;22137:1;22134;22131:8;22128:34;;;22142:18;;:::i;:::-;-1:-1:-1;22179:9:350;;22069:125::o;22199:184::-;22251:77;22248:1;22241:88;22348:4;22345:1;22338:15;22372:4;22369:1;22362:15;22388:308;22427:1;22453;22443:35;;22458:18;;:::i;:::-;22575:66;22572:1;22569:73;22500:66;22497:1;22494:73;22490:153;22487:179;;;22646:18;;:::i;:::-;-1:-1:-1;22680:10:350;;22388:308::o;22701:369::-;22740:4;22776:1;22773;22769:9;22885:1;22817:66;22813:74;22810:1;22806:82;22801:2;22794:10;22790:99;22787:125;;;22892:18;;:::i;:::-;23011:1;22943:66;22939:74;22936:1;22932:82;22928:2;22924:91;22921:117;;;23018:18;;:::i;:::-;-1:-1:-1;;23055:9:350;;22701:369::o;23075:655::-;23114:7;23146:66;23238:1;23235;23231:9;23266:1;23263;23259:9;23311:1;23307:2;23303:10;23300:1;23297:17;23292:2;23288;23284:11;23280:35;23277:61;;;23318:18;;:::i;:::-;23357:66;23449:1;23446;23442:9;23496:1;23492:2;23487:11;23484:1;23480:19;23475:2;23471;23467:11;23463:37;23460:63;;;23503:18;;:::i;:::-;23549:1;23546;23542:9;23532:19;;23596:1;23592:2;23587:11;23584:1;23580:19;23575:2;23571;23567:11;23563:37;23560:63;;;23603:18;;:::i;:::-;23668:1;23664:2;23659:11;23656:1;23652:19;23647:2;23643;23639:11;23635:37;23632:63;;;23675:18;;:::i;:::-;-1:-1:-1;;;23715:9:350;;;;;23075:655;-1:-1:-1;;;23075:655:350:o;23735:367::-;23774:3;23809:1;23806;23802:9;23918:1;23850:66;23846:74;23843:1;23839:82;23834:2;23827:10;23823:99;23820:125;;;23925:18;;:::i;:::-;24044:1;23976:66;23972:74;23969:1;23965:82;23961:2;23957:91;23954:117;;;24051:18;;:::i;:::-;-1:-1:-1;;24087:9:350;;23735:367::o;24538:228::-;24578:7;24704:1;24636:66;24632:74;24629:1;24626:81;24621:1;24614:9;24607:17;24603:105;24600:131;;;24711:18;;:::i;:::-;-1:-1:-1;24751:9:350;;24538:228::o;24771:120::-;24811:1;24837;24827:35;;24842:18;;:::i;:::-;-1:-1:-1;24876:9:350;;24771:120::o;25292:656::-;25579:6;25568:9;25561:25;25542:4;25605:42;25695:2;25687:6;25683:15;25678:2;25667:9;25663:18;25656:43;25747:2;25739:6;25735:15;25730:2;25719:9;25715:18;25708:43;;25787:6;25782:2;25771:9;25767:18;25760:34;25831:6;25825:3;25814:9;25810:19;25803:35;25875:3;25869;25858:9;25854:19;25847:32;25896:46;25937:3;25926:9;25922:19;25914:6;25896:46;:::i;:::-;25888:54;25292:656;-1:-1:-1;;;;;;;;25292:656:350:o;25953:128::-;25993:3;26024:1;26020:6;26017:1;26014:13;26011:39;;;26030:18;;:::i;:::-;-1:-1:-1;26066:9:350;;25953:128::o;26498:167::-;26576:13;;26629:10;26618:22;;26608:33;;26598:61;;26655:1;26652;26645:12;26670:160;26747:13;;26800:4;26789:16;;26779:27;;26769:55;;26820:1;26817;26810:12;26835:888;26938:6;26991:3;26979:9;26970:7;26966:23;26962:33;26959:53;;;27008:1;27005;26998:12;26959:53;27041:2;27035:9;27083:3;27075:6;27071:16;27153:6;27141:10;27138:22;27117:18;27105:10;27102:34;27099:62;27096:88;;;27164:18;;:::i;:::-;27200:2;27193:22;27239:39;27268:9;27239:39;:::i;:::-;27231:6;27224:55;27312:47;27355:2;27344:9;27340:18;27312:47;:::i;:::-;27307:2;27299:6;27295:15;27288:72;27393:47;27436:2;27425:9;27421:18;27393:47;:::i;:::-;27388:2;27380:6;27376:15;27369:72;27474:48;27518:2;27507:9;27503:18;27474:48;:::i;:::-;27469:2;27461:6;27457:15;27450:73;27557:49;27601:3;27590:9;27586:19;27557:49;:::i;:::-;27551:3;27543:6;27539:16;27532:75;27641:50;27686:3;27675:9;27671:19;27641:50;:::i;:::-;27635:3;27623:16;;27616:76;27627:6;26835:888;-1:-1:-1;;;26835:888:350:o;27728:195::-;27767:3;27798:66;27791:5;27788:77;27785:103;;27868:18;;:::i;:::-;-1:-1:-1;27915:1:350;27904:13;;27728:195::o;28465:184::-;28517:77;28514:1;28507:88;28614:4;28611:1;28604:15;28638:4;28635:1;28628:15;31097:157;31127:1;31161:4;31158:1;31154:12;31185:3;31175:37;;31192:18;;:::i;:::-;31244:3;31237:4;31234:1;31230:12;31226:22;31221:27;;;31097:157;;;;:::o;31259:195::-;31297:4;31334;31331:1;31327:12;31366:4;31363:1;31359:12;31391:3;31386;31383:12;31380:38;;;31398:18;;:::i;:::-;31435:13;;;31259:195;-1:-1:-1;;;31259:195:350:o;35079:184::-;35131:77;35128:1;35121:88;35228:4;35225:1;35218:15;35252:4;35249:1;35242:15",linkReferences:{}},methodIdentifiers:{"GUARDIAN()":"724c184c","L2_ORACLE()":"001c2ff6","SYSTEM_CONFIG()":"f0498750","depositTransaction(address,uint256,uint64,bool,bytes)":"e9e05c42","donateETH()":"8b4c40b0","finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":"8c3152e9","finalizedWithdrawals(bytes32)":"a14238e7","guardian()":"452a9320","initialize(address,address,address)":"c0c53b8b","isOutputFinalized(uint256)":"6dbffb78","l2Oracle()":"9b5f694a","l2Sender()":"9bf62d82","minimumGasLimit(uint64)":"a35d99df","params()":"cff0ab96","paused()":"5c975abb","proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":"4870496f","provenWithdrawals(bytes32)":"e965084c","superchainConfig()":"35e80ab3","systemConfig()":"33d7e2bd","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"version","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"opaqueData","type":"bytes"}],"name":"TransactionDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"WithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"WithdrawalProven","type":"event"},{"inputs":[],"name":"GUARDIAN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"L2_ORACLE","outputs":[{"internalType":"contract L2OutputOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SYSTEM_CONFIG","outputs":[{"internalType":"contract SystemConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint64","name":"_gasLimit","type":"uint64"},{"internalType":"bool","name":"_isCreation","type":"bool"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"depositTransaction","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"donateETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"}],"name":"finalizeWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"finalizedWithdrawals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract L2OutputOracle","name":"_l2Oracle","type":"address"},{"internalType":"contract SystemConfig","name":"_systemConfig","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"}],"name":"isOutputFinalized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2Oracle","outputs":[{"internalType":"contract L2OutputOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2Sender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_byteCount","type":"uint64"}],"name":"minimumGasLimit","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"params","outputs":[{"internalType":"uint128","name":"prevBaseFee","type":"uint128"},{"internalType":"uint64","name":"prevBoughtGas","type":"uint64"},{"internalType":"uint64","name":"prevBlockNum","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"paused_","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"},{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"},{"components":[{"internalType":"bytes32","name":"version","type":"bytes32"},{"internalType":"bytes32","name":"stateRoot","type":"bytes32"},{"internalType":"bytes32","name":"messagePasserStorageRoot","type":"bytes32"},{"internalType":"bytes32","name":"latestBlockhash","type":"bytes32"}],"internalType":"struct Types.OutputRootProof","name":"_outputRootProof","type":"tuple"},{"internalType":"bytes[]","name":"_withdrawalProof","type":"bytes[]"}],"name":"proveWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"provenWithdrawals","outputs":[{"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"internalType":"uint128","name":"timestamp","type":"uint128"},{"internalType":"uint128","name":"l2OutputIndex","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"systemConfig","outputs":[{"internalType":"contract SystemConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@title OptimismPortal","events":{"TransactionDeposited(address,address,uint256,bytes)":{"params":{"from":"Address that triggered the deposit transaction.","opaqueData":"ABI encoded deposit data to be parsed off-chain.","to":"Address that the deposit transaction is directed to.","version":"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{"params":{"success":"Whether the withdrawal transaction was successful.","withdrawalHash":"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{"params":{"from":"Address that triggered the withdrawal transaction.","to":"Address that the withdrawal transaction is directed to.","withdrawalHash":"Hash of the withdrawal transaction."}}},"kind":"dev","methods":{"GUARDIAN()":{"custom:legacy":"","returns":{"_0":"Address of the guardian."}},"L2_ORACLE()":{"custom:legacy":"","returns":{"_0":"Contract of the L2OutputOracle on this chain."}},"SYSTEM_CONFIG()":{"custom:legacy":"","returns":{"_0":"Contract of the SystemConfig on this chain."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{"params":{"_data":"Data to trigger the recipient with.","_gasLimit":"Amount of L2 gas to purchase by burning gas on L1.","_isCreation":"Whether or not the transaction is a contract creation.","_to":"Target address on L2.","_value":"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"params":{"_tx":"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"","returns":{"_0":"Address of the guardian."}},"initialize(address,address,address)":{"params":{"_l2Oracle":"Contract of the L2OutputOracle.","_superchainConfig":"Contract of the SuperchainConfig.","_systemConfig":"Contract of the SystemConfig."}},"isOutputFinalized(uint256)":{"params":{"_l2OutputIndex":"Index of the L2 output to check."},"returns":{"_0":"Whether or not the output is finalized."}},"minimumGasLimit(uint64)":{"params":{"_byteCount":"Number of bytes in the calldata."},"returns":{"_0":"The minimum gas limit for a deposit."}},"paused()":{"returns":{"paused_":"Whether or not the contract is paused."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"params":{"_l2OutputIndex":"L2 output index to prove against.","_outputRootProof":"Inclusion proof of the L2ToL1MessagePasser contract\'s storage root.","_tx":"Withdrawal transaction to finalize.","_withdrawalProof":"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}}},"stateVariables":{"l2Oracle":{"custom:network-specific":""},"spacer_53_0_1":{"custom:legacy":"@custom:spacer paused"},"systemConfig":{"custom:network-specific":""},"version":{"custom:semver":"2.5.0"}},"version":1},"userdoc":{"events":{"TransactionDeposited(address,address,uint256,bytes)":{"notice":"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{"notice":"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{"notice":"Emitted when a withdrawal transaction is proven."}},"kind":"user","methods":{"GUARDIAN()":{"notice":"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"L2_ORACLE()":{"notice":"Getter function for the contract of the L2OutputOracle on this chain. Public getter is legacy and will be removed in the future. Use `l2Oracle()` instead."},"SYSTEM_CONFIG()":{"notice":"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},"constructor":{"notice":"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{"notice":"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"donateETH()":{"notice":"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"notice":"Finalizes a withdrawal transaction."},"finalizedWithdrawals(bytes32)":{"notice":"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{"notice":"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{"notice":"Initializer."},"isOutputFinalized(uint256)":{"notice":"Determine if a given output is finalized. Reverts if the call to l2Oracle.getL2Output reverts. Returns a boolean otherwise."},"l2Oracle()":{"notice":"Contract of the L2OutputOracle."},"l2Sender()":{"notice":"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{"notice":"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"params()":{"notice":"EIP-1559 style gas parameters."},"paused()":{"notice":"Getter for the current paused status."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"notice":"Proves a withdrawal transaction."},"provenWithdrawals(bytes32)":{"notice":"A mapping of withdrawal hashes to `ProvenWithdrawal` data."},"superchainConfig()":{"notice":"Contract of the Superchain Config."},"systemConfig()":{"notice":"Contract of the SystemConfig."},"version()":{"notice":"Semantic version."}},"notice":"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface.","version":1}},"settings":{"compilationTarget":{"src/L1/OptimismPortal.sol":"OptimismPortal"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L2OutputOracle.sol":{"keccak256":"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42","license":"MIT","urls":["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"]},"src/L1/OptimismPortal.sol":{"keccak256":"0x9a8aa4a07a40af3a3273d9398306bd131bf5ef3e06df4d8ad9e4e164800bbca6","license":"MIT","urls":["bzz-raw://c4238a2f5beb466f72332046e1281c137f3098e266495230baec7cde0ec64fe0","dweb:/ipfs/QmYg4Sm3AU4QZkhBE3AgwDyyCsSm5eEM86w3F4LEYDJ9Ze"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L1/SystemConfig.sol":{"keccak256":"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a","license":"MIT","urls":["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Bytes.sol":{"keccak256":"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859","license":"MIT","urls":["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPReader.sol":{"keccak256":"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb","license":"MIT","urls":["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/libraries/trie/MerkleTrie.sol":{"keccak256":"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c","license":"MIT","urls":["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"]},"src/libraries/trie/SecureMerkleTrie.sol":{"keccak256":"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288","license":"MIT","urls":["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"version",type:"uint256",indexed:!0},{internalType:"bytes",name:"opaqueData",type:"bytes",indexed:!1}],type:"event",name:"TransactionDeposited",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"bool",name:"success",type:"bool",indexed:!1}],type:"event",name:"WithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0}],type:"event",name:"WithdrawalProven",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"GUARDIAN",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"L2_ORACLE",outputs:[{internalType:"contract L2OutputOracle",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"SYSTEM_CONFIG",outputs:[{internalType:"contract SystemConfig",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint64",name:"_gasLimit",type:"uint64"},{internalType:"bool",name:"_isCreation",type:"bool"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositTransaction"},{inputs:[],stateMutability:"payable",type:"function",name:"donateETH"},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]}],stateMutability:"nonpayable",type:"function",name:"finalizeWithdrawalTransaction"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"finalizedWithdrawals",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"guardian",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"contract L2OutputOracle",name:"_l2Oracle",type:"address"},{internalType:"contract SystemConfig",name:"_systemConfig",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"}],stateMutability:"view",type:"function",name:"isOutputFinalized",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2Oracle",outputs:[{internalType:"contract L2OutputOracle",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2Sender",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"uint64",name:"_byteCount",type:"uint64"}],stateMutability:"pure",type:"function",name:"minimumGasLimit",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"params",outputs:[{internalType:"uint128",name:"prevBaseFee",type:"uint128"},{internalType:"uint64",name:"prevBoughtGas",type:"uint64"},{internalType:"uint64",name:"prevBlockNum",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"paused_",type:"bool"}]},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]},{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"},{internalType:"struct Types.OutputRootProof",name:"_outputRootProof",type:"tuple",components:[{internalType:"bytes32",name:"version",type:"bytes32"},{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{internalType:"bytes32",name:"messagePasserStorageRoot",type:"bytes32"},{internalType:"bytes32",name:"latestBlockhash",type:"bytes32"}]},{internalType:"bytes[]",name:"_withdrawalProof",type:"bytes[]"}],stateMutability:"nonpayable",type:"function",name:"proveWithdrawalTransaction"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"provenWithdrawals",outputs:[{internalType:"bytes32",name:"outputRoot",type:"bytes32"},{internalType:"uint128",name:"timestamp",type:"uint128"},{internalType:"uint128",name:"l2OutputIndex",type:"uint128"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"systemConfig",outputs:[{internalType:"contract SystemConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"GUARDIAN()":{"custom:legacy":"",returns:{_0:"Address of the guardian."}},"L2_ORACLE()":{"custom:legacy":"",returns:{_0:"Contract of the L2OutputOracle on this chain."}},"SYSTEM_CONFIG()":{"custom:legacy":"",returns:{_0:"Contract of the SystemConfig on this chain."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"",returns:{_0:"Address of the guardian."}},"initialize(address,address,address)":{params:{_l2Oracle:"Contract of the L2OutputOracle.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"isOutputFinalized(uint256)":{params:{_l2OutputIndex:"Index of the L2 output to check."},returns:{_0:"Whether or not the output is finalized."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"paused()":{returns:{paused_:"Whether or not the contract is paused."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_l2OutputIndex:"L2 output index to prove against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}}},version:1},userdoc:{kind:"user",methods:{"GUARDIAN()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"L2_ORACLE()":{notice:"Getter function for the contract of the L2OutputOracle on this chain. Public getter is legacy and will be removed in the future. Use `l2Oracle()` instead."},"SYSTEM_CONFIG()":{notice:"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{notice:"Initializer."},"isOutputFinalized(uint256)":{notice:"Determine if a given output is finalized. Reverts if the call to l2Oracle.getL2Output reverts. Returns a boolean otherwise."},"l2Oracle()":{notice:"Contract of the L2OutputOracle."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32)":{notice:"A mapping of withdrawal hashes to `ProvenWithdrawal` data."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/OptimismPortal.sol":"OptimismPortal"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L2OutputOracle.sol":{keccak256:"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42",urls:["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"],license:"MIT"},"src/L1/OptimismPortal.sol":{keccak256:"0x9a8aa4a07a40af3a3273d9398306bd131bf5ef3e06df4d8ad9e4e164800bbca6",urls:["bzz-raw://c4238a2f5beb466f72332046e1281c137f3098e266495230baec7cde0ec64fe0","dweb:/ipfs/QmYg4Sm3AU4QZkhBE3AgwDyyCsSm5eEM86w3F4LEYDJ9Ze"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L1/SystemConfig.sol":{keccak256:"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a",urls:["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Bytes.sol":{keccak256:"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859",urls:["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPReader.sol":{keccak256:"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb",urls:["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/libraries/trie/MerkleTrie.sol":{keccak256:"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c",urls:["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"],license:"MIT"},"src/libraries/trie/SecureMerkleTrie.sol":{keccak256:"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288",urls:["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:85318,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"params",offset:0,slot:"1",type:"t_struct(ResourceParams)85301_storage"},{astId:85323,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"__gap",offset:0,slot:"2",type:"t_array(t_uint256)48_storage"},{astId:83459,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"l2Sender",offset:0,slot:"50",type:"t_address"},{astId:83464,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"finalizedWithdrawals",offset:0,slot:"51",type:"t_mapping(t_bytes32,t_bool)"},{astId:83470,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"provenWithdrawals",offset:0,slot:"52",type:"t_mapping(t_bytes32,t_struct(ProvenWithdrawal)83448_storage)"},{astId:83473,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"spacer_53_0_1",offset:0,slot:"53",type:"t_bool"},{astId:83477,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"superchainConfig",offset:1,slot:"53",type:"t_contract(SuperchainConfig)85848"},{astId:83481,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"l2Oracle",offset:0,slot:"54",type:"t_contract(L2OutputOracle)83406"},{astId:83485,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"systemConfig",offset:0,slot:"55",type:"t_contract(SystemConfig)86662"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)48_storage":{encoding:"inplace",label:"uint256[48]",numberOfBytes:"1536",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(L2OutputOracle)83406":{encoding:"inplace",label:"contract L2OutputOracle",numberOfBytes:"20"},"t_contract(SuperchainConfig)85848":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_contract(SystemConfig)86662":{encoding:"inplace",label:"contract SystemConfig",numberOfBytes:"20"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},"t_mapping(t_bytes32,t_struct(ProvenWithdrawal)83448_storage)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => struct OptimismPortal.ProvenWithdrawal)",numberOfBytes:"32",value:"t_struct(ProvenWithdrawal)83448_storage"},"t_struct(ProvenWithdrawal)83448_storage":{encoding:"inplace",label:"struct OptimismPortal.ProvenWithdrawal",numberOfBytes:"64",members:[{astId:83443,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"outputRoot",offset:0,slot:"0",type:"t_bytes32"},{astId:83445,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"timestamp",offset:0,slot:"1",type:"t_uint128"},{astId:83447,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"l2OutputIndex",offset:16,slot:"1",type:"t_uint128"}]},"t_struct(ResourceParams)85301_storage":{encoding:"inplace",label:"struct ResourceMetering.ResourceParams",numberOfBytes:"32",members:[{astId:85296,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"prevBaseFee",offset:0,slot:"0",type:"t_uint128"},{astId:85298,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"prevBoughtGas",offset:16,slot:"0",type:"t_uint64"},{astId:85300,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"prevBlockNum",offset:24,slot:"0",type:"t_uint64"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint64:{encoding:"inplace",label:"uint64",numberOfBytes:"8"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"GUARDIAN()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"L2_ORACLE()":{notice:"Getter function for the contract of the L2OutputOracle on this chain. Public getter is legacy and will be removed in the future. Use `l2Oracle()` instead."},"SYSTEM_CONFIG()":{notice:"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{notice:"Initializer."},"isOutputFinalized(uint256)":{notice:"Determine if a given output is finalized. Reverts if the call to l2Oracle.getL2Output reverts. Returns a boolean otherwise."},"l2Oracle()":{notice:"Contract of the L2OutputOracle."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32)":{notice:"A mapping of withdrawal hashes to `ProvenWithdrawal` data."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},events:{"TransactionDeposited(address,address,uint256,bytes)":{notice:"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{notice:"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{notice:"Emitted when a withdrawal transaction is proven."}},notice:"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface."},devdoc:{version:1,kind:"dev",methods:{"GUARDIAN()":{returns:{_0:"Address of the guardian."}},"L2_ORACLE()":{returns:{_0:"Contract of the L2OutputOracle on this chain."}},"SYSTEM_CONFIG()":{returns:{_0:"Contract of the SystemConfig on this chain."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"guardian()":{returns:{_0:"Address of the guardian."}},"initialize(address,address,address)":{params:{_l2Oracle:"Contract of the L2OutputOracle.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"isOutputFinalized(uint256)":{params:{_l2OutputIndex:"Index of the L2 output to check."},returns:{_0:"Whether or not the output is finalized."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"paused()":{returns:{paused_:"Whether or not the contract is paused."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_l2OutputIndex:"L2 output index to prove against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}}},events:{"TransactionDeposited(address,address,uint256,bytes)":{params:{from:"Address that triggered the deposit transaction.",opaqueData:"ABI encoded deposit data to be parsed off-chain.",to:"Address that the deposit transaction is directed to.",version:"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{params:{success:"Whether the withdrawal transaction was successful.",withdrawalHash:"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{params:{from:"Address that triggered the withdrawal transaction.",to:"Address that the withdrawal transaction is directed to.",withdrawalHash:"Hash of the withdrawal transaction."}}}},id:130}});var FKe=D((Vca,MHt)=>{MHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSAGE_VERSION",inputs:[],outputs:[{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"OTHER_MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"PORTAL",inputs:[],outputs:[{name:"",type:"address",internalType:"contract OptimismPortal"}],stateMutability:"view"},{type:"function",name:"RELAY_CALL_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_CONSTANT_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_GAS_CHECK_BUFFER",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_RESERVED_GAS",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"baseGas",inputs:[{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"failedMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"},{name:"_portal",type:"address",internalType:"contract OptimismPortal"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"messageNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"otherMessenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"portal",inputs:[],outputs:[{name:"",type:"address",internalType:"contract OptimismPortal"}],stateMutability:"view"},{type:"function",name:"relayMessage",inputs:[{name:"_nonce",type:"uint256",internalType:"uint256"},{name:"_sender",type:"address",internalType:"address"},{name:"_target",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint256",internalType:"uint256"},{name:"_message",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"sendMessage",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[],stateMutability:"payable"},{type:"function",name:"successfulMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"xDomainMessageSender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"FailedRelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"RelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"SentMessage",inputs:[{name:"target",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!1,internalType:"address"},{name:"message",type:"bytes",indexed:!1,internalType:"bytes"},{name:"messageNonce",type:"uint256",indexed:!1,internalType:"uint256"},{name:"gasLimit",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SentMessageExtension1",inputs:[{name:"sender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001f60008062000025565b6200027f565b600054600160a81b900460ff16158080156200004e57506000546001600160a01b90910460ff16105b806200008557506200006b30620001b960201b620014d61760201c565b158015620000855750600054600160a01b900460ff166001145b620000ee5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff60a01b1916600160a01b17905580156200011c576000805460ff60a81b1916600160a81b1790555b60fb80546001600160a01b038086166001600160a01b03199283161790925560fc8054928516929091169190911790556200016b734200000000000000000000000000000000000007620001c8565b8015620001b4576000805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b03163b151590565b600054600160a81b900460ff16620002375760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000e5565b60cc546001600160a01b03166200025d5760cc80546001600160a01b03191661dead1790555b60cf80546001600160a01b0319166001600160a01b0392909216919091179055565b611f94806200028f6000396000f3fe6080604052600436106101805760003560e01c80635c975abb116100d6578063a4e7f8bd1161007f578063d764ad0b11610059578063d764ad0b14610463578063db505d8014610476578063ecc70428146104a357600080fd5b8063a4e7f8bd146103e3578063b1b1b20914610413578063b28ade251461044357600080fd5b806383a74074116100b057806383a74074146103a15780638cbeeef2146102b85780639fce812c146103b857600080fd5b80635c975abb1461033a5780636425666b1461035f5780636e296e451461038c57600080fd5b80633dbb202b116101385780634c1d6a69116101125780634c1d6a69146102b857806354fd4d50146102ce5780635644cfdf1461032457600080fd5b80633dbb202b1461025b5780633f827a5a14610270578063485cc9551461029857600080fd5b80630ff754ea116101695780630ff754ea146101cd5780632828d7e81461021957806335e80ab31461022e57600080fd5b8063028f85f7146101855780630c568498146101b8575b600080fd5b34801561019157600080fd5b5061019a601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101c457600080fd5b5061019a603f81565b3480156101d957600080fd5b5060fc5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101af565b34801561022557600080fd5b5061019a604081565b34801561023a57600080fd5b5060fb546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b61026e610269366004611a22565b610508565b005b34801561027c57600080fd5b50610285600181565b60405161ffff90911681526020016101af565b3480156102a457600080fd5b5061026e6102b3366004611a89565b610765565b3480156102c457600080fd5b5061019a619c4081565b3480156102da57600080fd5b506103176040518060400160405280600581526020017f322e332e3000000000000000000000000000000000000000000000000000000081525081565b6040516101af9190611b2d565b34801561033057600080fd5b5061019a61138881565b34801561034657600080fd5b5061034f6109d3565b60405190151581526020016101af565b34801561036b57600080fd5b5060fc546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b34801561039857600080fd5b506101f4610a6c565b3480156103ad57600080fd5b5061019a62030d4081565b3480156103c457600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166101f4565b3480156103ef57600080fd5b5061034f6103fe366004611b47565b60ce6020526000908152604090205460ff1681565b34801561041f57600080fd5b5061034f61042e366004611b47565b60cb6020526000908152604090205460ff1681565b34801561044f57600080fd5b5061019a61045e366004611b60565b610b53565b61026e610471366004611bb4565b610bc1565b34801561048257600080fd5b5060cf546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b3480156104af57600080fd5b506104fa60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016101af565b60cf5461063a9073ffffffffffffffffffffffffffffffffffffffff16610530858585610b53565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061059c60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c6040516024016105b89796959493929190611c83565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526114f2565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385856106bf60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b866040516106d1959493929190611ce2565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b6000547501000000000000000000000000000000000000000000900460ff16158080156107b0575060005460017401000000000000000000000000000000000000000090910460ff16105b806107e25750303b1580156107e2575060005474010000000000000000000000000000000000000000900460ff166001145b610873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156108f957600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60fb805473ffffffffffffffffffffffffffffffffffffffff8086167fffffffffffffffffffffffff00000000000000000000000000000000000000009283161790925560fc80549285169290911691909117905561096b73420000000000000000000000000000000000000761158b565b80156109ce57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60fb54604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611d30565b905090565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610b36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f74207365740000000000000000000000606482015260840161086a565b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f610b6f604063ffffffff8816611d81565b610b799190611db1565b610b84601088611d81565b610b919062030d40611dff565b610b9b9190611dff565b610ba59190611dff565b610baf9190611dff565b610bb99190611dff565b949350505050565b610bc96109d3565b15610c30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43726f7373446f6d61696e4d657373656e6765723a2070617573656400000000604482015260640161086a565b60f087901c60028110610ceb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161086a565b8061ffff16600003610de0576000610d3c878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506116c7915050565b600081815260cb602052604090205490915060ff1615610dde576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161086a565b505b6000610e26898989898989898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506116e692505050565b9050610e30611709565b15610e6857853414610e4457610e44611e2b565b600081815260ce602052604090205460ff1615610e6357610e63611e2b565b610fba565b3415610f1c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161086a565b600081815260ce602052604090205460ff16610fba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161086a565b610fc3876117e5565b15611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161086a565b600081815260cb602052604090205460ff1615611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161086a565b61113685611127611388619c40611dff565b67ffffffffffffffff1661182b565b158061115c575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b1561127557600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161126e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b50506114cd565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061130688619c405a6112c99190611e5a565b8988888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061184992505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156113bc57600082815260cb602052604090205460ff161561135957611359611e2b565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26114c9565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016114c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60fc546040517fe9e05c4200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063e9e05c42908490611553908890839089906000908990600401611e71565b6000604051808303818588803b15801561156c57600080fd5b505af1158015611580573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff16611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161086a565b60cc5473ffffffffffffffffffffffffffffffffffffffff166116805760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006116d585858585611863565b805190602001209050949350505050565b60006116f68787878787876118fc565b8051906020012090509695505050505050565b60fc5460009073ffffffffffffffffffffffffffffffffffffffff1633148015610a67575060cf5460fc54604080517f9bf62d82000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691639bf62d82916004808201926020929091908290030181865afa1580156117a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c99190611ec9565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600073ffffffffffffffffffffffffffffffffffffffff8216301480611825575060fc5473ffffffffffffffffffffffffffffffffffffffff8381169116145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b60608484848460405160240161187c9493929190611ee6565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161191996959493929190611f30565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff811681146119bd57600080fd5b50565b60008083601f8401126119d257600080fd5b50813567ffffffffffffffff8111156119ea57600080fd5b602083019150836020828501011115611a0257600080fd5b9250929050565b803563ffffffff81168114611a1d57600080fd5b919050565b60008060008060608587031215611a3857600080fd5b8435611a438161199b565b9350602085013567ffffffffffffffff811115611a5f57600080fd5b611a6b878288016119c0565b9094509250611a7e905060408601611a09565b905092959194509250565b60008060408385031215611a9c57600080fd5b8235611aa78161199b565b91506020830135611ab78161199b565b809150509250929050565b6000815180845260005b81811015611ae857602081850181015186830182015201611acc565b81811115611afa576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611b406020830184611ac2565b9392505050565b600060208284031215611b5957600080fd5b5035919050565b600080600060408486031215611b7557600080fd5b833567ffffffffffffffff811115611b8c57600080fd5b611b98868287016119c0565b9094509250611bab905060208501611a09565b90509250925092565b600080600080600080600060c0888a031215611bcf57600080fd5b873596506020880135611be18161199b565b95506040880135611bf18161199b565b9450606088013593506080880135925060a088013567ffffffffffffffff811115611c1b57600080fd5b611c278a828b016119c0565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611cd560c083018486611c3a565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611d12608083018688611c3a565b905083604083015263ffffffff831660608301529695505050505050565b600060208284031215611d4257600080fd5b81518015158114611b4057600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611da857611da8611d52565b02949350505050565b600067ffffffffffffffff80841680611df3577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611e2257611e22611d52565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611e6c57611e6c611d52565b500390565b73ffffffffffffffffffffffffffffffffffffffff8616815284602082015267ffffffffffffffff84166040820152821515606082015260a060808201526000611ebe60a0830184611ac2565b979650505050505050565b600060208284031215611edb57600080fd5b8151611b408161199b565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611f1f6080830185611ac2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611f7b60c0830184611ac2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"701:2432:126:-:0;;;1159:163;;;;;;;;;-1:-1:-1;1206:109:126::1;1263:1;::::0;1206:10:::1;:109::i;:::-;701:2432:::0;;1542:296;3111:19:25;3134:13;-1:-1:-1;;;3134:13:25;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;-1:-1:-1;;;3197:12:25;;;;;:16;3179:34;3178:108;;;;3220:44;3258:4;3220:29;;;;;:44;;:::i;:::-;3219:45;:66;;;;-1:-1:-1;3268:12:25;;-1:-1:-1;;;3268:12:25;;;;3284:1;3268:17;3219:66;3157:201;;;;-1:-1:-1;;;3157:201:25;;216:2:350;3157:201:25;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3157:201:25;;;;;;;;;3368:12;:16;;-1:-1:-1;;;;3368:16:25;-1:-1:-1;;;3368:16:25;;;3394:65;;;;3428:13;:20;;-1:-1:-1;;;;3428:20:25;-1:-1:-1;;;3428:20:25;;;3394:65;1651:16:126::1;:36:::0;;-1:-1:-1;;;;;1651:36:126;;::::1;-1:-1:-1::0;;;;;;1651:36:126;;::::1;;::::0;;;1697:6:::1;:16:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;1723:108:::1;480:42:194;1723:27:126;:108::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;-1:-1:-1;;;;3513:21:25;;;3553:14;;-1:-1:-1;581:36:350;;3553:14:25;;569:2:350;554:18;3553:14:25;;;;;;;3479:99;3101:483;1542:296:126;;:::o;1186:320:31:-;-1:-1:-1;;;;;1476:19:31;;:23;;;1186:320::o;18507:636:218:-;4910:13:25;;-1:-1:-1;;;4910:13:25;;;;4902:69;;;;-1:-1:-1;;;4902:69:25;;830:2:350;4902:69:25;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4902:69:25;628:407:350;4902:69:25;18992:16:218::1;::::0;-1:-1:-1;;;;;18992:16:218::1;18988:107;;19038:16;:46:::0;;-1:-1:-1;;;;;;19038:46:218::1;1338:42:188;19038:46:218;::::0;;18988:107:::1;19104:14;:32:::0;;-1:-1:-1;;;;;;19104:32:218::1;-1:-1:-1::0;;;;;19104:32:218;;;::::1;::::0;;;::::1;::::0;;18507:636::o;628:407:350:-;701:2432:126;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101805760003560e01c80635c975abb116100d6578063a4e7f8bd1161007f578063d764ad0b11610059578063d764ad0b14610463578063db505d8014610476578063ecc70428146104a357600080fd5b8063a4e7f8bd146103e3578063b1b1b20914610413578063b28ade251461044357600080fd5b806383a74074116100b057806383a74074146103a15780638cbeeef2146102b85780639fce812c146103b857600080fd5b80635c975abb1461033a5780636425666b1461035f5780636e296e451461038c57600080fd5b80633dbb202b116101385780634c1d6a69116101125780634c1d6a69146102b857806354fd4d50146102ce5780635644cfdf1461032457600080fd5b80633dbb202b1461025b5780633f827a5a14610270578063485cc9551461029857600080fd5b80630ff754ea116101695780630ff754ea146101cd5780632828d7e81461021957806335e80ab31461022e57600080fd5b8063028f85f7146101855780630c568498146101b8575b600080fd5b34801561019157600080fd5b5061019a601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101c457600080fd5b5061019a603f81565b3480156101d957600080fd5b5060fc5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101af565b34801561022557600080fd5b5061019a604081565b34801561023a57600080fd5b5060fb546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b61026e610269366004611a22565b610508565b005b34801561027c57600080fd5b50610285600181565b60405161ffff90911681526020016101af565b3480156102a457600080fd5b5061026e6102b3366004611a89565b610765565b3480156102c457600080fd5b5061019a619c4081565b3480156102da57600080fd5b506103176040518060400160405280600581526020017f322e332e3000000000000000000000000000000000000000000000000000000081525081565b6040516101af9190611b2d565b34801561033057600080fd5b5061019a61138881565b34801561034657600080fd5b5061034f6109d3565b60405190151581526020016101af565b34801561036b57600080fd5b5060fc546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b34801561039857600080fd5b506101f4610a6c565b3480156103ad57600080fd5b5061019a62030d4081565b3480156103c457600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166101f4565b3480156103ef57600080fd5b5061034f6103fe366004611b47565b60ce6020526000908152604090205460ff1681565b34801561041f57600080fd5b5061034f61042e366004611b47565b60cb6020526000908152604090205460ff1681565b34801561044f57600080fd5b5061019a61045e366004611b60565b610b53565b61026e610471366004611bb4565b610bc1565b34801561048257600080fd5b5060cf546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b3480156104af57600080fd5b506104fa60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016101af565b60cf5461063a9073ffffffffffffffffffffffffffffffffffffffff16610530858585610b53565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061059c60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c6040516024016105b89796959493929190611c83565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526114f2565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385856106bf60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b866040516106d1959493929190611ce2565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b6000547501000000000000000000000000000000000000000000900460ff16158080156107b0575060005460017401000000000000000000000000000000000000000090910460ff16105b806107e25750303b1580156107e2575060005474010000000000000000000000000000000000000000900460ff166001145b610873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156108f957600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60fb805473ffffffffffffffffffffffffffffffffffffffff8086167fffffffffffffffffffffffff00000000000000000000000000000000000000009283161790925560fc80549285169290911691909117905561096b73420000000000000000000000000000000000000761158b565b80156109ce57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60fb54604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611d30565b905090565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610b36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f74207365740000000000000000000000606482015260840161086a565b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f610b6f604063ffffffff8816611d81565b610b799190611db1565b610b84601088611d81565b610b919062030d40611dff565b610b9b9190611dff565b610ba59190611dff565b610baf9190611dff565b610bb99190611dff565b949350505050565b610bc96109d3565b15610c30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43726f7373446f6d61696e4d657373656e6765723a2070617573656400000000604482015260640161086a565b60f087901c60028110610ceb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161086a565b8061ffff16600003610de0576000610d3c878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506116c7915050565b600081815260cb602052604090205490915060ff1615610dde576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161086a565b505b6000610e26898989898989898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506116e692505050565b9050610e30611709565b15610e6857853414610e4457610e44611e2b565b600081815260ce602052604090205460ff1615610e6357610e63611e2b565b610fba565b3415610f1c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161086a565b600081815260ce602052604090205460ff16610fba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161086a565b610fc3876117e5565b15611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161086a565b600081815260cb602052604090205460ff1615611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161086a565b61113685611127611388619c40611dff565b67ffffffffffffffff1661182b565b158061115c575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b1561127557600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161126e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b50506114cd565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061130688619c405a6112c99190611e5a565b8988888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061184992505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156113bc57600082815260cb602052604090205460ff161561135957611359611e2b565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26114c9565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016114c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60fc546040517fe9e05c4200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063e9e05c42908490611553908890839089906000908990600401611e71565b6000604051808303818588803b15801561156c57600080fd5b505af1158015611580573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff16611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161086a565b60cc5473ffffffffffffffffffffffffffffffffffffffff166116805760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006116d585858585611863565b805190602001209050949350505050565b60006116f68787878787876118fc565b8051906020012090509695505050505050565b60fc5460009073ffffffffffffffffffffffffffffffffffffffff1633148015610a67575060cf5460fc54604080517f9bf62d82000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691639bf62d82916004808201926020929091908290030181865afa1580156117a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c99190611ec9565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600073ffffffffffffffffffffffffffffffffffffffff8216301480611825575060fc5473ffffffffffffffffffffffffffffffffffffffff8381169116145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b60608484848460405160240161187c9493929190611ee6565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161191996959493929190611f30565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff811681146119bd57600080fd5b50565b60008083601f8401126119d257600080fd5b50813567ffffffffffffffff8111156119ea57600080fd5b602083019150836020828501011115611a0257600080fd5b9250929050565b803563ffffffff81168114611a1d57600080fd5b919050565b60008060008060608587031215611a3857600080fd5b8435611a438161199b565b9350602085013567ffffffffffffffff811115611a5f57600080fd5b611a6b878288016119c0565b9094509250611a7e905060408601611a09565b905092959194509250565b60008060408385031215611a9c57600080fd5b8235611aa78161199b565b91506020830135611ab78161199b565b809150509250929050565b6000815180845260005b81811015611ae857602081850181015186830182015201611acc565b81811115611afa576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611b406020830184611ac2565b9392505050565b600060208284031215611b5957600080fd5b5035919050565b600080600060408486031215611b7557600080fd5b833567ffffffffffffffff811115611b8c57600080fd5b611b98868287016119c0565b9094509250611bab905060208501611a09565b90509250925092565b600080600080600080600060c0888a031215611bcf57600080fd5b873596506020880135611be18161199b565b95506040880135611bf18161199b565b9450606088013593506080880135925060a088013567ffffffffffffffff811115611c1b57600080fd5b611c278a828b016119c0565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611cd560c083018486611c3a565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611d12608083018688611c3a565b905083604083015263ffffffff831660608301529695505050505050565b600060208284031215611d4257600080fd5b81518015158114611b4057600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611da857611da8611d52565b02949350505050565b600067ffffffffffffffff80841680611df3577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611e2257611e22611d52565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611e6c57611e6c611d52565b500390565b73ffffffffffffffffffffffffffffffffffffffff8616815284602082015267ffffffffffffffff84166040820152821515606082015260a060808201526000611ebe60a0830184611ac2565b979650505050505050565b600060208284031215611edb57600080fd5b8151611b408161199b565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611f1f6080830185611ac2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611f7b60c0830184611ac2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"701:2432:126:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4456:53:218;;;;;;;;;;;;4507:2;4456:53;;;;;188:18:350;176:31;;;158:50;;146:2;131:18;4456:53:218;;;;;;;;4301:64;;;;;;;;;;;;4363:2;4301:64;;2107:87:126;;;;;;;;;;-1:-1:-1;2181:6:126;;;;2107:87;;;427:42:350;415:55;;;397:74;;385:2;370:18;2107:87:126;219:258:350;4146:62:218;;;;;;;;;;;;4206:2;4146:62;;822:40:126;;;;;;;;;;-1:-1:-1;822:40:126;;;;;;;;8628:999:218;;;;;;:::i;:::-;;:::i;:::-;;3879:42;;;;;;;;;;;;3920:1;3879:42;;;;;2213:6:350;2201:19;;;2183:38;;2171:2;2156:18;3879:42:218;2039:188:350;1542:296:126;;;;;;;;;;-1:-1:-1;1542:296:126;;;;;:::i;:::-;;:::i;4597:51:218:-;;;;;;;;;;;;4642:6;4597:51;;1048:40:126;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4943:53:218:-;;;;;;;;;;;;4991:5;4943:53;;3028:103:126;;;;;;;;;;;;;:::i;:::-;;;3601:14:350;;3594:22;3576:41;;3564:2;3549:18;3028:103:126;3436:187:350;950:28:126;;;;;;;;;;-1:-1:-1;950:28:126;;;;;;;;15768:250:218;;;;;;;;;;;;;:::i;3999:56::-;;;;;;;;;;;;4048:7;3999:56;;16321:108;;;;;;;;;;-1:-1:-1;16408:14:218;;;;16321:108;;6234:46;;;;;;;;;;-1:-1:-1;6234:46:218;;;;;:::i;:::-;;;;;;;;;;;;;;;;5252:50;;;;;;;;;;-1:-1:-1;5252:50:218;;;;;:::i;:::-;;;;;;;;;;;;;;;;17497:894;;;;;;;;;;-1:-1:-1;17497:894:218;;;;;:::i;:::-;;:::i;10315:5066::-;;;;;;:::i;:::-;;:::i;6386:42::-;;;;;;;;;;-1:-1:-1;6386:42:218;;;;;;;;16750:134;;;;;;;;;;;;16851:8;;;;4855:18:191;4852:30;;3028:103:126;16750:134:218;;;5835:25:350;;;5823:2;5808:18;16750:134:218;5689:177:350;8628:999:218;9128:14;;9088:330;;9128:14;;9168:31;9176:8;;9186:12;9168:7;:31::i;:::-;9221:9;9291:26;9319:14;16851:8;;;;4855:18:191;4852:30;;3028:103:126;9319:14:218;9335:10;9347:7;9356:9;9367:12;9381:8;;9251:156;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9088:12;:330::i;:::-;9446:7;9434:72;;;9455:10;9467:8;;9477:14;16851:8;;;;4855:18:191;4852:30;;3028:103:126;9477:14:218;9493:12;9434:72;;;;;;;;;;:::i;:::-;;;;;;;;9521:44;;9555:9;5835:25:350;;9543:10:218;;9521:44;;5823:2:350;5808:18;9521:44:218;;;;;;;-1:-1:-1;;9602:8:218;9600:10;;;;;;;;;;;;;;;;-1:-1:-1;;8628:999:218:o;1542:296:126:-;3111:19:25;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;3197:12;;;;;;:16;3179:34;3178:108;;;-1:-1:-1;3258:4:25;1476:19:31;:23;;;3219:66:25;;-1:-1:-1;3268:12:25;;;;;;;3284:1;3268:17;3219:66;3157:201;;;;;;;7634:2:350;3157:201:25;;;7616:21:350;7673:2;7653:18;;;7646:30;7712:34;7692:18;;;7685:62;7783:16;7763:18;;;7756:44;7817:19;;3157:201:25;;;;;;;;;3368:12;:16;;;;;;;;3394:65;;;;3428:13;:20;;;;;;;;3394:65;1651:16:126::1;:36:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;1697:6:::1;:16:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;1723:108:::1;480:42:194;1723:27:126;:108::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;;;;;3553:14;;-1:-1:-1;7999:36:350;;3553:14:25;;7987:2:350;7972:18;3553:14:25;;;;;;;3479:99;3101:483;1542:296:126;;:::o;3028:103::-;3099:16;;:25;;;;;;;;3076:4;;3099:16;;;:23;;:25;;;;;;;;;;;;;;:16;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3092:32;;3028:103;:::o;15768:250:218:-;15863:16;;15823:7;;15863:47;:16;:47;;15842:135;;;;;;;8530:2:350;15842:135:218;;;8512:21:350;8569:2;8549:18;;;8542:30;8608:34;8588:18;;;8581:62;8679:23;8659:18;;;8652:51;8720:19;;15842:135:218;8328:417:350;15842:135:218;-1:-1:-1;15995:16:218;;;;;15768:250::o;17497:894::-;17581:6;4991:5;4796:6;;4363:2;17810:49;4206:2;17810:49;;;;:::i;:::-;17809:90;;;;:::i;:::-;17707:51;4507:2;17714:8;17707:51;:::i;:::-;17643:116;;4048:7;17643:116;:::i;:::-;:257;;;;:::i;:::-;:412;;;;:::i;:::-;:587;;;;:::i;:::-;:741;;;;:::i;:::-;17599:785;17497:894;-1:-1:-1;;;;17497:894:218:o;10315:5066::-;10726:8;:6;:8::i;:::-;:17;10718:58;;;;;;;10015:2:350;10718:58:218;;;9997:21:350;10054:2;10034:18;;;10027:30;10093;10073:18;;;10066:58;10141:18;;10718:58:218;9813:352:350;10718:58:218;5444:3:191;5440:16;;;10873:1:218;10863:11;;10855:101;;;;;;;10372:2:350;10855:101:218;;;10354:21:350;10411:2;10391:18;;;10384:30;10450:34;10430:18;;;10423:62;10521:34;10501:18;;;10494:62;10593:15;10572:19;;;10565:44;10626:19;;10855:101:218;10170:481:350;10855:101:218;11158:7;:12;;11169:1;11158:12;11154:247;;11186:15;11204:68;11237:7;11246;11255:8;;11204:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11265:6:218;;-1:-1:-1;11204:32:218;;-1:-1:-1;;11204:68:218:i;:::-;11294:27;;;;:18;:27;;;;;;11186:86;;-1:-1:-1;11294:27:218;;:36;11286:104;;;;;;;10858:2:350;11286:104:218;;;10840:21:350;10897:2;10877:18;;;10870:30;10936:34;10916:18;;;10909:62;11007:25;10987:18;;;10980:53;11050:19;;11286:104:218;10656:419:350;11286:104:218;11172:229;11154:247;11571:21;11607:90;11640:6;11648:7;11657;11666:6;11674:12;11688:8;;11607:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11607:32:218;;-1:-1:-1;;;11607:90:218:i;:::-;11571:126;;11712:19;:17;:19::i;:::-;11708:506;;;11901:6;11888:9;:19;11881:27;;;;:::i;:::-;11930:29;;;;:14;:29;;;;;;;;11929:30;11922:38;;;;:::i;:::-;11708:506;;;11999:9;:14;11991:107;;;;;;;11471:2:350;11991:107:218;;;11453:21:350;11510:2;11490:18;;;11483:30;11549:34;11529:18;;;11522:62;11620:34;11600:18;;;11593:62;11692:18;11671:19;;;11664:47;11728:19;;11991:107:218;11269:484:350;11991:107:218;12121:29;;;;:14;:29;;;;;;;;12113:90;;;;;;;11960:2:350;12113:90:218;;;11942:21:350;11999:2;11979:18;;;11972:30;12038:34;12018:18;;;12011:62;12109:18;12089;;;12082:46;12145:19;;12113:90:218;11758:412:350;12113:90:218;12245:24;12261:7;12245:15;:24::i;:::-;:33;12224:135;;;;;;;12377:2:350;12224:135:218;;;12359:21:350;12416:2;12396:18;;;12389:30;12455:34;12435:18;;;12428:62;12526:34;12506:18;;;12499:62;12598:5;12577:19;;;12570:34;12621:19;;12224:135:218;12175:471:350;12224:135:218;12378:33;;;;:18;:33;;;;;;;;:42;12370:109;;;;;;;12853:2:350;12370:109:218;;;12835:21:350;12892:2;12872:18;;;12865:30;12931:34;12911:18;;;12904:62;13002:24;12982:18;;;12975:52;13044:19;;12370:109:218;12651:418:350;12370:109:218;13173:77;13192:12;13206:43;4991:5;4796:6;13206:43;:::i;:::-;13173:77;;:18;:77::i;:::-;13172:78;:145;;;-1:-1:-1;13270:16:218;;:47;:16;1338:42:188;13270:47:218;;13172:145;13155:919;;;13342:29;;;;:14;:29;;;;;;:36;;;;13374:4;13342:36;;;13397:35;13357:13;;13397:35;;;13912:41;:9;:41;13908:135;;13973:55;;;;;13276:2:350;13973:55:218;;;13258:21:350;13315:2;13295:18;;;13288:30;13354:34;13334:18;;;13327:62;13425:15;13405:18;;;13398:43;13458:19;;13973:55:218;13074:409:350;13908:135:218;14057:7;;;;13155:919;14084:16;:26;;;;;;;;;;-1:-1:-1;14135:72:218;14149:7;4796:6;14158:9;:30;;;;:::i;:::-;14190:6;14198:8;;14135:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14135:13:218;;-1:-1:-1;;;14135:72:218:i;:::-;14217:16;:46;;;;1338:42:188;14217:46:218;;;14120:87;-1:-1:-1;14274:1101:218;;;;14488:33;;;;:18;:33;;;;;;;;:42;14481:50;;;;:::i;:::-;14545:33;;;;:18;:33;;;;;;:40;;;;14581:4;14545:40;;;14604:29;14564:13;;14604:29;;;14274:1101;;;14664:29;;;;:14;:29;;;;;;:36;;;;14696:4;14664:36;;;14719:35;14679:13;;14719:35;;;15234:41;:9;:41;15230:135;;15295:55;;;;;13276:2:350;15295:55:218;;;13258:21:350;13315:2;13295:18;;;13288:30;13354:34;13334:18;;;13327:62;13425:15;13405:18;;;13398:43;13458:19;;15295:55:218;13074:409:350;15230:135:218;10541:4840;;;10315:5066;;;;;;;;:::o;1186:320:31:-;1476:19;;;:23;;;1186:320::o;2241::126:-;2358:6;;:196;;;;;:6;;;;;:25;;2392:6;;2358:196;;2420:3;;2392:6;;2476:9;;2358:6;;2538:5;;2358:196;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2241:320;;;;:::o;18507:636:218:-;4910:13:25;;;;;;;4902:69;;;;;;;14412:2:350;4902:69:25;;;14394:21:350;14451:2;14431:18;;;14424:30;14490:34;14470:18;;;14463:62;14561:13;14541:18;;;14534:41;14592:19;;4902:69:25;14210:407:350;4902:69:25;18992:16:218::1;::::0;:30:::1;:16;18988:107;;19038:16;:46:::0;;;::::1;1338:42:188;19038:46:218;::::0;;18988:107:::1;19104:14;:32:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;18507:636::o;3100:305:192:-;3289:7;3329:68;3365:7;3374;3383:5;3390:6;3329:35;:68::i;:::-;3319:79;;;;;;3312:86;;3100:305;;;;;;:::o;3877:375::-;4117:7;4157:87;4193:6;4201:7;4210;4219:6;4227:9;4238:5;4157:35;:87::i;:::-;4147:98;;;;;;4140:105;;3877:375;;;;;;;;:::o;2608:168:126:-;2714:6;;2669:4;;2714:6;;2692:10;:29;:77;;;;-1:-1:-1;2754:14:126;;2725:6;;:17;;;;;;;;2754:14;;;;;2725:6;;;;:15;;:17;;;;;;;;;;;;;;;:6;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;;;2685:84;;2608:168;:::o;2823:158::-;2897:4;2920:24;;;2939:4;2920:24;;:54;;-1:-1:-1;2967:6:126;;;2948:26;;;2967:6;;2948:26;2920:54;2913:61;2823:158;-1:-1:-1;;2823:158:126:o;3615:365:195:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:195:o;1202:536::-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:195:o;3073:336:191:-;3264:12;3370:7;3379;3388:5;3395:6;3299:103;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3073:336:191;;;;;;:::o;3883:516::-;4125:12;4272:6;4292:7;4313;4334:6;4354:9;4377:5;4160:232;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3883:516:191;;;;;;;;:::o;739:154:350:-;825:42;818:5;814:54;807:5;804:65;794:93;;883:1;880;873:12;794:93;739:154;:::o;898:347::-;949:8;959:6;1013:3;1006:4;998:6;994:17;990:27;980:55;;1031:1;1028;1021:12;980:55;-1:-1:-1;1054:20:350;;1097:18;1086:30;;1083:50;;;1129:1;1126;1119:12;1083:50;1166:4;1158:6;1154:17;1142:29;;1218:3;1211:4;1202:6;1194;1190:19;1186:30;1183:39;1180:59;;;1235:1;1232;1225:12;1180:59;898:347;;;;;:::o;1250:163::-;1317:20;;1377:10;1366:22;;1356:33;;1346:61;;1403:1;1400;1393:12;1346:61;1250:163;;;:::o;1418:616::-;1505:6;1513;1521;1529;1582:2;1570:9;1561:7;1557:23;1553:32;1550:52;;;1598:1;1595;1588:12;1550:52;1637:9;1624:23;1656:31;1681:5;1656:31;:::i;:::-;1706:5;-1:-1:-1;1762:2:350;1747:18;;1734:32;1789:18;1778:30;;1775:50;;;1821:1;1818;1811:12;1775:50;1860:58;1910:7;1901:6;1890:9;1886:22;1860:58;:::i;:::-;1937:8;;-1:-1:-1;1834:84:350;-1:-1:-1;1991:37:350;;-1:-1:-1;2024:2:350;2009:18;;1991:37;:::i;:::-;1981:47;;1418:616;;;;;;;:::o;2232:438::-;2350:6;2358;2411:2;2399:9;2390:7;2386:23;2382:32;2379:52;;;2427:1;2424;2417:12;2379:52;2466:9;2453:23;2485:31;2510:5;2485:31;:::i;:::-;2535:5;-1:-1:-1;2592:2:350;2577:18;;2564:32;2605:33;2564:32;2605:33;:::i;:::-;2657:7;2647:17;;;2232:438;;;;;:::o;2675:531::-;2717:3;2755:5;2749:12;2782:6;2777:3;2770:19;2807:1;2817:162;2831:6;2828:1;2825:13;2817:162;;;2893:4;2949:13;;;2945:22;;2939:29;2921:11;;;2917:20;;2910:59;2846:12;2817:162;;;2997:6;2994:1;2991:13;2988:87;;;3063:1;3056:4;3047:6;3042:3;3038:16;3034:27;3027:38;2988:87;-1:-1:-1;3120:2:350;3108:15;3125:66;3104:88;3095:98;;;;3195:4;3091:109;;2675:531;-1:-1:-1;;2675:531:350:o;3211:220::-;3360:2;3349:9;3342:21;3323:4;3380:45;3421:2;3410:9;3406:18;3398:6;3380:45;:::i;:::-;3372:53;3211:220;-1:-1:-1;;;3211:220:350:o;4121:180::-;4180:6;4233:2;4221:9;4212:7;4208:23;4204:32;4201:52;;;4249:1;4246;4239:12;4201:52;-1:-1:-1;4272:23:350;;4121:180;-1:-1:-1;4121:180:350:o;4306:481::-;4384:6;4392;4400;4453:2;4441:9;4432:7;4428:23;4424:32;4421:52;;;4469:1;4466;4459:12;4421:52;4509:9;4496:23;4542:18;4534:6;4531:30;4528:50;;;4574:1;4571;4564:12;4528:50;4613:58;4663:7;4654:6;4643:9;4639:22;4613:58;:::i;:::-;4690:8;;-1:-1:-1;4587:84:350;-1:-1:-1;4744:37:350;;-1:-1:-1;4777:2:350;4762:18;;4744:37;:::i;:::-;4734:47;;4306:481;;;;;:::o;4792:892::-;4907:6;4915;4923;4931;4939;4947;4955;5008:3;4996:9;4987:7;4983:23;4979:33;4976:53;;;5025:1;5022;5015:12;4976:53;5061:9;5048:23;5038:33;;5121:2;5110:9;5106:18;5093:32;5134:31;5159:5;5134:31;:::i;:::-;5184:5;-1:-1:-1;5241:2:350;5226:18;;5213:32;5254:33;5213:32;5254:33;:::i;:::-;5306:7;-1:-1:-1;5360:2:350;5345:18;;5332:32;;-1:-1:-1;5411:3:350;5396:19;;5383:33;;-1:-1:-1;5467:3:350;5452:19;;5439:33;5495:18;5484:30;;5481:50;;;5527:1;5524;5517:12;5481:50;5566:58;5616:7;5607:6;5596:9;5592:22;5566:58;:::i;:::-;4792:892;;;;-1:-1:-1;4792:892:350;;-1:-1:-1;4792:892:350;;;;5540:84;;-1:-1:-1;;;4792:892:350:o;5871:325::-;5959:6;5954:3;5947:19;6011:6;6004:5;5997:4;5992:3;5988:14;5975:43;;6063:1;6056:4;6047:6;6042:3;6038:16;6034:27;6027:38;5929:3;6185:4;6115:66;6110:2;6102:6;6098:15;6094:88;6089:3;6085:98;6081:109;6074:116;;5871:325;;;;:::o;6201:697::-;6496:6;6485:9;6478:25;6459:4;6522:42;6612:2;6604:6;6600:15;6595:2;6584:9;6580:18;6573:43;6664:2;6656:6;6652:15;6647:2;6636:9;6632:18;6625:43;;6704:6;6699:2;6688:9;6684:18;6677:34;6760:10;6752:6;6748:23;6742:3;6731:9;6727:19;6720:52;6809:3;6803;6792:9;6788:19;6781:32;6830:62;6887:3;6876:9;6872:19;6864:6;6856;6830:62;:::i;:::-;6822:70;6201:697;-1:-1:-1;;;;;;;;;6201:697:350:o;6903:524::-;7155:42;7147:6;7143:55;7132:9;7125:74;7235:3;7230:2;7219:9;7215:18;7208:31;7106:4;7256:62;7313:3;7302:9;7298:19;7290:6;7282;7256:62;:::i;:::-;7248:70;;7354:6;7349:2;7338:9;7334:18;7327:34;7409:10;7401:6;7397:23;7392:2;7381:9;7377:18;7370:51;6903:524;;;;;;;;:::o;8046:277::-;8113:6;8166:2;8154:9;8145:7;8141:23;8137:32;8134:52;;;8182:1;8179;8172:12;8134:52;8214:9;8208:16;8267:5;8260:13;8253:21;8246:5;8243:32;8233:60;;8289:1;8286;8279:12;8750:184;8802:77;8799:1;8792:88;8899:4;8896:1;8889:15;8923:4;8920:1;8913:15;8939:270;8978:7;9010:18;9055:2;9052:1;9048:10;9085:2;9082:1;9078:10;9141:3;9137:2;9133:12;9128:3;9125:21;9118:3;9111:11;9104:19;9100:47;9097:73;;;9150:18;;:::i;:::-;9190:13;;8939:270;-1:-1:-1;;;;8939:270:350:o;9214:353::-;9253:1;9279:18;9324:2;9321:1;9317:10;9346:3;9336:191;;9383:77;9380:1;9373:88;9484:4;9481:1;9474:15;9512:4;9509:1;9502:15;9336:191;9545:10;;9541:20;;;;;9214:353;-1:-1:-1;;9214:353:350:o;9572:236::-;9611:3;9639:18;9684:2;9681:1;9677:10;9714:2;9711:1;9707:10;9745:3;9741:2;9737:12;9732:3;9729:21;9726:47;;;9753:18;;:::i;:::-;9789:13;;9572:236;-1:-1:-1;;;;9572:236:350:o;11080:184::-;11132:77;11129:1;11122:88;11229:4;11226:1;11219:15;11253:4;11250:1;11243:15;13488:125;13528:4;13556:1;13553;13550:8;13547:34;;;13561:18;;:::i;:::-;-1:-1:-1;13598:9:350;;13488:125::o;13618:587::-;13881:42;13873:6;13869:55;13858:9;13851:74;13961:6;13956:2;13945:9;13941:18;13934:34;14016:18;14008:6;14004:31;13999:2;13988:9;13984:18;13977:59;14086:6;14079:14;14072:22;14067:2;14056:9;14052:18;14045:50;14132:3;14126;14115:9;14111:19;14104:32;13832:4;14153:46;14194:3;14183:9;14179:19;14171:6;14153:46;:::i;:::-;14145:54;13618:587;-1:-1:-1;;;;;;;13618:587:350:o;14622:251::-;14692:6;14745:2;14733:9;14724:7;14720:23;14716:32;14713:52;;;14761:1;14758;14751:12;14713:52;14793:9;14787:16;14812:31;14837:5;14812:31;:::i;14878:512::-;15072:4;15101:42;15182:2;15174:6;15170:15;15159:9;15152:34;15234:2;15226:6;15222:15;15217:2;15206:9;15202:18;15195:43;;15274:3;15269:2;15258:9;15254:18;15247:31;15295:46;15336:3;15325:9;15321:19;15313:6;15295:46;:::i;:::-;15287:54;;15377:6;15372:2;15361:9;15357:18;15350:34;14878:512;;;;;;;:::o;15395:656::-;15682:6;15671:9;15664:25;15645:4;15708:42;15798:2;15790:6;15786:15;15781:2;15770:9;15766:18;15759:43;15850:2;15842:6;15838:15;15833:2;15822:9;15818:18;15811:43;;15890:6;15885:2;15874:9;15870:18;15863:34;15934:6;15928:3;15917:9;15913:19;15906:35;15978:3;15972;15961:9;15957:19;15950:32;15999:46;16040:3;16029:9;16025:19;16017:6;15999:46;:::i;:::-;15991:54;15395:656;-1:-1:-1;;;;;;;;15395:656:350:o",linkReferences:{}},methodIdentifiers:{"MESSAGE_VERSION()":"3f827a5a","MIN_GAS_CALLDATA_OVERHEAD()":"028f85f7","MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":"0c568498","MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":"2828d7e8","OTHER_MESSENGER()":"9fce812c","PORTAL()":"0ff754ea","RELAY_CALL_OVERHEAD()":"4c1d6a69","RELAY_CONSTANT_OVERHEAD()":"83a74074","RELAY_GAS_CHECK_BUFFER()":"5644cfdf","RELAY_RESERVED_GAS()":"8cbeeef2","baseGas(bytes,uint32)":"b28ade25","failedMessages(bytes32)":"a4e7f8bd","initialize(address,address)":"485cc955","messageNonce()":"ecc70428","otherMessenger()":"db505d80","paused()":"5c975abb","portal()":"6425666b","relayMessage(uint256,address,address,uint256,uint256,bytes)":"d764ad0b","sendMessage(address,bytes,uint32)":"3dbb202b","successfulMessages(bytes32)":"b1b1b209","superchainConfig()":"35e80ab3","version()":"54fd4d50","xDomainMessageSender()":"6e296e45"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"FailedRelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"RelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"bytes","name":"message","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"messageNonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"gasLimit","type":"uint256"}],"name":"SentMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SentMessageExtension1","type":"event"},{"inputs":[],"name":"MESSAGE_VERSION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_CALLDATA_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PORTAL","outputs":[{"internalType":"contract OptimismPortal","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CALL_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CONSTANT_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_GAS_CHECK_BUFFER","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_RESERVED_GAS","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"baseGas","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"failedMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"},{"internalType":"contract OptimismPortal","name":"_portal","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"messageNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherMessenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"portal","outputs":[{"internalType":"contract OptimismPortal","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_minGasLimit","type":"uint256"},{"internalType":"bytes","name":"_message","type":"bytes"}],"name":"relayMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"sendMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"successfulMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"xDomainMessageSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@title L1CrossDomainMessenger","kind":"dev","methods":{"OTHER_MESSENGER()":{"custom:legacy":"","returns":{"_0":"CrossDomainMessenger contract on the other chain."}},"PORTAL()":{"custom:legacy":"","returns":{"_0":"Contract of the OptimismPortal on this chain."}},"baseGas(bytes,uint32)":{"params":{"_message":"Message to compute the amount of required gas for.","_minGasLimit":"Minimum desired gas limit when message goes to target."},"returns":{"_0":"Amount of gas required to guarantee message receipt."}},"initialize(address,address)":{"params":{"_portal":"Contract of the OptimismPortal contract on this network.","_superchainConfig":"Contract of the SuperchainConfig contract on this network."}},"messageNonce()":{"returns":{"_0":"Nonce of the next message to be sent, with added message version."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"params":{"_message":"Message to send to the target.","_minGasLimit":"Minimum amount of gas that the message can be executed with.","_nonce":"Nonce of the message being relayed.","_sender":"Address of the user who sent the message.","_target":"Address that the message is targeted at.","_value":"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{"params":{"_message":"Message to trigger the target address with.","_minGasLimit":"Minimum gas limit that the message can be executed with.","_target":"Target contract or wallet address."}},"xDomainMessageSender()":{"returns":{"_0":"Address of the sender of the currently executing message on the other chain."}}},"stateVariables":{"portal":{"custom:network-specific":""},"version":{"custom:semver":"2.3.0"}},"version":1},"userdoc":{"events":{"FailedRelayedMessage(bytes32)":{"notice":"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{"notice":"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{"notice":"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{"notice":"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},"kind":"user","methods":{"MESSAGE_VERSION()":{"notice":"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{"notice":"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{"notice":"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{"notice":"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{"notice":"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"PORTAL()":{"notice":"Getter function for the OptimismPortal contract on this chain. Public getter is legacy and will be removed in the future. Use `portal()` instead."},"RELAY_CALL_OVERHEAD()":{"notice":"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{"notice":"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{"notice":"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{"notice":"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{"notice":"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},"constructor":{"notice":"Constructs the L1CrossDomainMessenger contract."},"failedMessages(bytes32)":{"notice":"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address,address)":{"notice":"Initializes the contract."},"messageNonce()":{"notice":"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{"notice":"CrossDomainMessenger contract on the other chain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"portal()":{"notice":"Contract of the OptimismPortal."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"notice":"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{"notice":"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{"notice":"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"superchainConfig()":{"notice":"Contract of the SuperchainConfig."},"version()":{"notice":"Semantic version."},"xDomainMessageSender()":{"notice":"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},"notice":"The L1CrossDomainMessenger is a message passing interface between L1 and L2 responsible for sending and receiving data on the L1 side. Users are encouraged to use this interface instead of interacting with lower-level contracts directly.","version":1}},"settings":{"compilationTarget":{"src/L1/L1CrossDomainMessenger.sol":"L1CrossDomainMessenger"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1CrossDomainMessenger.sol":{"keccak256":"0x1a93450f3f9e2262b32e7831709b01d4491befb79a90cc24509b569103674e06","license":"MIT","urls":["bzz-raw://2896f906f07fb6ceb7fea3cb31a10b8289db628142cb0612d9890d62bce265b1","dweb:/ipfs/QmYGAMecafbcT4LRBbDCYFj6mPCa3u5hNGUq2tfjWU3s18"]},"src/L1/L2OutputOracle.sol":{"keccak256":"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42","license":"MIT","urls":["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"]},"src/L1/OptimismPortal.sol":{"keccak256":"0x9a8aa4a07a40af3a3273d9398306bd131bf5ef3e06df4d8ad9e4e164800bbca6","license":"MIT","urls":["bzz-raw://c4238a2f5beb466f72332046e1281c137f3098e266495230baec7cde0ec64fe0","dweb:/ipfs/QmYg4Sm3AU4QZkhBE3AgwDyyCsSm5eEM86w3F4LEYDJ9Ze"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L1/SystemConfig.sol":{"keccak256":"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a","license":"MIT","urls":["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Bytes.sol":{"keccak256":"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859","license":"MIT","urls":["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPReader.sol":{"keccak256":"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb","license":"MIT","urls":["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/libraries/trie/MerkleTrie.sol":{"keccak256":"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c","license":"MIT","urls":["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"]},"src/libraries/trie/SecureMerkleTrie.sol":{"keccak256":"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288","license":"MIT","urls":["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"FailedRelayedMessage",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"RelayedMessage",anonymous:!1},{inputs:[{internalType:"address",name:"target",type:"address",indexed:!0},{internalType:"address",name:"sender",type:"address",indexed:!1},{internalType:"bytes",name:"message",type:"bytes",indexed:!1},{internalType:"uint256",name:"messageNonce",type:"uint256",indexed:!1},{internalType:"uint256",name:"gasLimit",type:"uint256",indexed:!1}],type:"event",name:"SentMessage",anonymous:!1},{inputs:[{internalType:"address",name:"sender",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"SentMessageExtension1",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSAGE_VERSION",outputs:[{internalType:"uint16",name:"",type:"uint16"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"PORTAL",outputs:[{internalType:"contract OptimismPortal",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CALL_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CONSTANT_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_GAS_CHECK_BUFFER",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_RESERVED_GAS",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"pure",type:"function",name:"baseGas",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"failedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"},{internalType:"contract OptimismPortal",name:"_portal",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherMessenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"portal",outputs:[{internalType:"contract OptimismPortal",name:"",type:"address"}]},{inputs:[{internalType:"uint256",name:"_nonce",type:"uint256"},{internalType:"address",name:"_sender",type:"address"},{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint256",name:"_minGasLimit",type:"uint256"},{internalType:"bytes",name:"_message",type:"bytes"}],stateMutability:"payable",type:"function",name:"relayMessage"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"payable",type:"function",name:"sendMessage"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}]}],devdoc:{kind:"dev",methods:{"OTHER_MESSENGER()":{"custom:legacy":"",returns:{_0:"CrossDomainMessenger contract on the other chain."}},"PORTAL()":{"custom:legacy":"",returns:{_0:"Contract of the OptimismPortal on this chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address,address)":{params:{_portal:"Contract of the OptimismPortal contract on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}},version:1},userdoc:{kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"PORTAL()":{notice:"Getter function for the OptimismPortal contract on this chain. Public getter is legacy and will be removed in the future. Use `portal()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L1CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address,address)":{notice:"Initializes the contract."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"portal()":{notice:"Contract of the OptimismPortal."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"superchainConfig()":{notice:"Contract of the SuperchainConfig."},"version()":{notice:"Semantic version."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L1CrossDomainMessenger.sol":"L1CrossDomainMessenger"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1CrossDomainMessenger.sol":{keccak256:"0x1a93450f3f9e2262b32e7831709b01d4491befb79a90cc24509b569103674e06",urls:["bzz-raw://2896f906f07fb6ceb7fea3cb31a10b8289db628142cb0612d9890d62bce265b1","dweb:/ipfs/QmYGAMecafbcT4LRBbDCYFj6mPCa3u5hNGUq2tfjWU3s18"],license:"MIT"},"src/L1/L2OutputOracle.sol":{keccak256:"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42",urls:["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"],license:"MIT"},"src/L1/OptimismPortal.sol":{keccak256:"0x9a8aa4a07a40af3a3273d9398306bd131bf5ef3e06df4d8ad9e4e164800bbca6",urls:["bzz-raw://c4238a2f5beb466f72332046e1281c137f3098e266495230baec7cde0ec64fe0","dweb:/ipfs/QmYg4Sm3AU4QZkhBE3AgwDyyCsSm5eEM86w3F4LEYDJ9Ze"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L1/SystemConfig.sol":{keccak256:"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a",urls:["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Bytes.sol":{keccak256:"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859",urls:["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPReader.sol":{keccak256:"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb",urls:["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/libraries/trie/MerkleTrie.sol":{keccak256:"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c",urls:["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"],license:"MIT"},"src/libraries/trie/SecureMerkleTrie.sol":{keccak256:"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288",urls:["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:104934,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_0_0_20",offset:0,slot:"0",type:"t_address"},{astId:45313,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"_initialized",offset:20,slot:"0",type:"t_uint8"},{astId:45316,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"_initializing",offset:21,slot:"0",type:"t_bool"},{astId:104941,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_1_0_1600",offset:0,slot:"1",type:"t_array(t_uint256)50_storage"},{astId:104944,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_51_0_20",offset:0,slot:"51",type:"t_address"},{astId:104949,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_52_0_1568",offset:0,slot:"52",type:"t_array(t_uint256)49_storage"},{astId:104952,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_101_0_1",offset:0,slot:"101",type:"t_bool"},{astId:104957,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_102_0_1568",offset:0,slot:"102",type:"t_array(t_uint256)49_storage"},{astId:104960,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_151_0_32",offset:0,slot:"151",type:"t_uint256"},{astId:104965,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_152_0_1568",offset:0,slot:"152",type:"t_array(t_uint256)49_storage"},{astId:104970,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_201_0_32",offset:0,slot:"201",type:"t_mapping(t_bytes32,t_bool)"},{astId:104975,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_202_0_32",offset:0,slot:"202",type:"t_mapping(t_bytes32,t_bool)"},{astId:105020,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"successfulMessages",offset:0,slot:"203",type:"t_mapping(t_bytes32,t_bool)"},{astId:105023,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"xDomainMsgSender",offset:0,slot:"204",type:"t_address"},{astId:105026,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"msgNonce",offset:0,slot:"205",type:"t_uint240"},{astId:105031,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"failedMessages",offset:0,slot:"206",type:"t_mapping(t_bytes32,t_bool)"},{astId:105035,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"otherMessenger",offset:0,slot:"207",type:"t_contract(CrossDomainMessenger)105498"},{astId:105040,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"__gap",offset:0,slot:"208",type:"t_array(t_uint256)43_storage"},{astId:81957,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"superchainConfig",offset:0,slot:"251",type:"t_contract(SuperchainConfig)85848"},{astId:81961,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"portal",offset:0,slot:"252",type:"t_contract(OptimismPortal)84108"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)43_storage":{encoding:"inplace",label:"uint256[43]",numberOfBytes:"1376",base:"t_uint256"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},"t_array(t_uint256)50_storage":{encoding:"inplace",label:"uint256[50]",numberOfBytes:"1600",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(OptimismPortal)84108":{encoding:"inplace",label:"contract OptimismPortal",numberOfBytes:"20"},"t_contract(SuperchainConfig)85848":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint240:{encoding:"inplace",label:"uint240",numberOfBytes:"30"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"PORTAL()":{notice:"Getter function for the OptimismPortal contract on this chain. Public getter is legacy and will be removed in the future. Use `portal()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L1CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address,address)":{notice:"Initializes the contract."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"portal()":{notice:"Contract of the OptimismPortal."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"superchainConfig()":{notice:"Contract of the SuperchainConfig."},"version()":{notice:"Semantic version."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},events:{"FailedRelayedMessage(bytes32)":{notice:"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{notice:"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{notice:"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{notice:"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},notice:"The L1CrossDomainMessenger is a message passing interface between L1 and L2 responsible for sending and receiving data on the L1 side. Users are encouraged to use this interface instead of interacting with lower-level contracts directly."},devdoc:{version:1,kind:"dev",methods:{"OTHER_MESSENGER()":{returns:{_0:"CrossDomainMessenger contract on the other chain."}},"PORTAL()":{returns:{_0:"Contract of the OptimismPortal on this chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address,address)":{params:{_portal:"Contract of the OptimismPortal contract on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}}},id:126}});var NKe=D((Yca,BHt)=>{BHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSAGE_VERSION",inputs:[],outputs:[{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"OTHER_MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"RELAY_CALL_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_CONSTANT_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_GAS_CHECK_BUFFER",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_RESERVED_GAS",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"baseGas",inputs:[{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"failedMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_l1CrossDomainMessenger",type:"address",internalType:"contract CrossDomainMessenger"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l1CrossDomainMessenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"messageNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"otherMessenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"relayMessage",inputs:[{name:"_nonce",type:"uint256",internalType:"uint256"},{name:"_sender",type:"address",internalType:"address"},{name:"_target",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint256",internalType:"uint256"},{name:"_message",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"sendMessage",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[],stateMutability:"payable"},{type:"function",name:"successfulMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"xDomainMessageSender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"FailedRelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"RelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"SentMessage",inputs:[{name:"target",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!1,internalType:"address"},{name:"message",type:"bytes",indexed:!1,internalType:"bytes"},{name:"messageNonce",type:"uint256",indexed:!1,internalType:"uint256"},{name:"gasLimit",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SentMessageExtension1",inputs:[{name:"sender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000239565b600054600160a81b900460ff16158080156200004d57506000546001600160a01b90910460ff16105b806200008457506200006a306200017360201b620013071760201c565b158015620000845750600054600160a01b900460ff166001145b620000ed5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff60a01b1916600160a01b17905580156200011b576000805460ff60a81b1916600160a81b1790555b620001268262000182565b80156200016f576000805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054600160a81b900460ff16620001f15760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000e4565b60cc546001600160a01b0316620002175760cc80546001600160a01b03191661dead1790555b60cf80546001600160a01b0319166001600160a01b0392909216919091179055565b611c8280620002496000396000f3fe60806040526004361061016a5760003560e01c806383a74074116100cb578063b1b1b2091161007f578063d764ad0b11610059578063d764ad0b146103c7578063db505d80146103da578063ecc704281461040757600080fd5b8063b1b1b20914610357578063b28ade2514610387578063c4d66de8146103a757600080fd5b80639fce812c116100b05780639fce812c146102fc578063a4e7f8bd14610327578063a7119869146102fc57600080fd5b806383a74074146102e55780638cbeeef21461020957600080fd5b80634c1d6a69116101225780635644cfdf116101075780635644cfdf146102755780635c975abb1461028b5780636e296e45146102ab57600080fd5b80634c1d6a691461020957806354fd4d501461021f57600080fd5b80632828d7e8116101535780632828d7e8146101b75780633dbb202b146101cc5780633f827a5a146101e157600080fd5b8063028f85f71461016f5780630c568498146101a2575b600080fd5b34801561017b57600080fd5b50610184601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101ae57600080fd5b50610184603f81565b3480156101c357600080fd5b50610184604081565b6101df6101da36600461177b565b61046c565b005b3480156101ed57600080fd5b506101f6600181565b60405161ffff9091168152602001610199565b34801561021557600080fd5b50610184619c4081565b34801561022b57600080fd5b506102686040518060400160405280600581526020017f322e302e3000000000000000000000000000000000000000000000000000000081525081565b604051610199919061184d565b34801561028157600080fd5b5061018461138881565b34801561029757600080fd5b5060005b6040519015158152602001610199565b3480156102b757600080fd5b506102c06106c9565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610199565b3480156102f157600080fd5b5061018462030d4081565b34801561030857600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166102c0565b34801561033357600080fd5b5061029b610342366004611867565b60ce6020526000908152604090205460ff1681565b34801561036357600080fd5b5061029b610372366004611867565b60cb6020526000908152604090205460ff1681565b34801561039357600080fd5b506101846103a2366004611880565b6107b5565b3480156103b357600080fd5b506101df6103c23660046118d4565b610823565b6101df6103d53660046118f1565b610a22565b3480156103e657600080fd5b5060cf546102c09073ffffffffffffffffffffffffffffffffffffffff1681565b34801561041357600080fd5b5061045e60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b604051908152602001610199565b60cf5461059e9073ffffffffffffffffffffffffffffffffffffffff166104948585856107b5565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061050060cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c60405160240161051c97969594939291906119c0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611323565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33858561062360cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b86604051610635959493929190611a1f565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f7420736574000000000000000000000060648201526084015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f6107d1604063ffffffff8816611a9c565b6107db9190611acc565b6107e6601088611a9c565b6107f39062030d40611b1a565b6107fd9190611b1a565b6108079190611b1a565b6108119190611b1a565b61081b9190611b1a565b949350505050565b6000547501000000000000000000000000000000000000000000900460ff161580801561086e575060005460017401000000000000000000000000000000000000000090910460ff16105b806108a05750303b1580156108a0575060005474010000000000000000000000000000000000000000900460ff166001145b61092c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161078f565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156109b257600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b6109bb826113b1565b8015610a1e57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60f087901c60028110610add576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161078f565b8061ffff16600003610bd2576000610b2e878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506114ed915050565b600081815260cb602052604090205490915060ff1615610bd0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161078f565b505b6000610c18898989898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061150c92505050565b9050610c6160cf54337fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef0173ffffffffffffffffffffffffffffffffffffffff90811691161490565b15610c9957853414610c7557610c75611b46565b600081815260ce602052604090205460ff1615610c9457610c94611b46565b610deb565b3415610d4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161078f565b600081815260ce602052604090205460ff16610deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161078f565b610df48761152f565b15610ea7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161078f565b600081815260cb602052604090205460ff1615610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161078f565b610f6785610f58611388619c40611b1a565b67ffffffffffffffff16611584565b1580610f8d575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b156110a657600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b50506112fe565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061113788619c405a6110fa9190611b75565b8988888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115a292505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156111ed57600082815260cb602052604090205460ff161561118a5761118a611b46565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26112fa565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016112fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b6040517fc2b3e5ac0000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000169063c2b3e5ac90849061137990889088908790600401611b8c565b6000604051808303818588803b15801561139257600080fd5b505af11580156113a6573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff1661145c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161078f565b60cc5473ffffffffffffffffffffffffffffffffffffffff166114a65760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006114fb858585856115bc565b805190602001209050949350505050565b600061151c878787878787611655565b8051906020012090509695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff821630148061157e575073ffffffffffffffffffffffffffffffffffffffff8216734200000000000000000000000000000000000016145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b6060848484846040516024016115d59493929190611bd4565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161167296959493929190611c1e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461171657600080fd5b50565b60008083601f84011261172b57600080fd5b50813567ffffffffffffffff81111561174357600080fd5b60208301915083602082850101111561175b57600080fd5b9250929050565b803563ffffffff8116811461177657600080fd5b919050565b6000806000806060858703121561179157600080fd5b843561179c816116f4565b9350602085013567ffffffffffffffff8111156117b857600080fd5b6117c487828801611719565b90945092506117d7905060408601611762565b905092959194509250565b6000815180845260005b81811015611808576020818501810151868301820152016117ec565b8181111561181a576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061186060208301846117e2565b9392505050565b60006020828403121561187957600080fd5b5035919050565b60008060006040848603121561189557600080fd5b833567ffffffffffffffff8111156118ac57600080fd5b6118b886828701611719565b90945092506118cb905060208501611762565b90509250925092565b6000602082840312156118e657600080fd5b8135611860816116f4565b600080600080600080600060c0888a03121561190c57600080fd5b87359650602088013561191e816116f4565b9550604088013561192e816116f4565b9450606088013593506080880135925060a088013567ffffffffffffffff81111561195857600080fd5b6119648a828b01611719565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611a1260c083018486611977565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611a4f608083018688611977565b905083604083015263ffffffff831660608301529695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611ac357611ac3611a6d565b02949350505050565b600067ffffffffffffffff80841680611b0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611b3d57611b3d611a6d565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611b8757611b87611a6d565b500390565b73ffffffffffffffffffffffffffffffffffffffff8416815267ffffffffffffffff83166020820152606060408201526000611bcb60608301846117e2565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611c0d60808301856117e2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611c6960c08301846117e2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"812:1752:143:-:0;;;1023:127;;;;;;;;;-1:-1:-1;1070:73:143::1;1137:1;1070:10;:73::i;:::-;812:1752:::0;;1278:175;3111:19:25;3134:13;-1:-1:-1;;;3134:13:25;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;-1:-1:-1;;;3197:12:25;;;;;:16;3179:34;3178:108;;;;3220:44;3258:4;3220:29;;;;;:44;;:::i;:::-;3219:45;:66;;;;-1:-1:-1;3268:12:25;;-1:-1:-1;;;3268:12:25;;;;3284:1;3268:17;3219:66;3157:201;;;;-1:-1:-1;;;3157:201:25;;216:2:350;3157:201:25;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3157:201:25;;;;;;;;;3368:12;:16;;-1:-1:-1;;;;3368:16:25;-1:-1:-1;;;3368:16:25;;;3394:65;;;;3428:13;:20;;-1:-1:-1;;;;3428:20:25;-1:-1:-1;;;3428:20:25;;;3394:65;1373:73:143::1;1420:23:::0;1373:27:::1;:73::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;-1:-1:-1;;;;3513:21:25;;;3553:14;;-1:-1:-1;581:36:350;;3553:14:25;;569:2:350;554:18;3553:14:25;;;;;;;3479:99;3101:483;1278:175:143;:::o;1186:320:31:-;-1:-1:-1;;;;;1476:19:31;;:23;;;1186:320::o;18507:636:218:-;4910:13:25;;-1:-1:-1;;;4910:13:25;;;;4902:69;;;;-1:-1:-1;;;4902:69:25;;830:2:350;4902:69:25;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4902:69:25;628:407:350;4902:69:25;18992:16:218::1;::::0;-1:-1:-1;;;;;18992:16:218::1;18988:107;;19038:16;:46:::0;;-1:-1:-1;;;;;;19038:46:218::1;1338:42:188;19038:46:218;::::0;;18988:107:::1;19104:14;:32:::0;;-1:-1:-1;;;;;;19104:32:218::1;-1:-1:-1::0;;;;;19104:32:218;;;::::1;::::0;;;::::1;::::0;;18507:636::o;628:407:350:-;812:1752:143;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061016a5760003560e01c806383a74074116100cb578063b1b1b2091161007f578063d764ad0b11610059578063d764ad0b146103c7578063db505d80146103da578063ecc704281461040757600080fd5b8063b1b1b20914610357578063b28ade2514610387578063c4d66de8146103a757600080fd5b80639fce812c116100b05780639fce812c146102fc578063a4e7f8bd14610327578063a7119869146102fc57600080fd5b806383a74074146102e55780638cbeeef21461020957600080fd5b80634c1d6a69116101225780635644cfdf116101075780635644cfdf146102755780635c975abb1461028b5780636e296e45146102ab57600080fd5b80634c1d6a691461020957806354fd4d501461021f57600080fd5b80632828d7e8116101535780632828d7e8146101b75780633dbb202b146101cc5780633f827a5a146101e157600080fd5b8063028f85f71461016f5780630c568498146101a2575b600080fd5b34801561017b57600080fd5b50610184601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101ae57600080fd5b50610184603f81565b3480156101c357600080fd5b50610184604081565b6101df6101da36600461177b565b61046c565b005b3480156101ed57600080fd5b506101f6600181565b60405161ffff9091168152602001610199565b34801561021557600080fd5b50610184619c4081565b34801561022b57600080fd5b506102686040518060400160405280600581526020017f322e302e3000000000000000000000000000000000000000000000000000000081525081565b604051610199919061184d565b34801561028157600080fd5b5061018461138881565b34801561029757600080fd5b5060005b6040519015158152602001610199565b3480156102b757600080fd5b506102c06106c9565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610199565b3480156102f157600080fd5b5061018462030d4081565b34801561030857600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166102c0565b34801561033357600080fd5b5061029b610342366004611867565b60ce6020526000908152604090205460ff1681565b34801561036357600080fd5b5061029b610372366004611867565b60cb6020526000908152604090205460ff1681565b34801561039357600080fd5b506101846103a2366004611880565b6107b5565b3480156103b357600080fd5b506101df6103c23660046118d4565b610823565b6101df6103d53660046118f1565b610a22565b3480156103e657600080fd5b5060cf546102c09073ffffffffffffffffffffffffffffffffffffffff1681565b34801561041357600080fd5b5061045e60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b604051908152602001610199565b60cf5461059e9073ffffffffffffffffffffffffffffffffffffffff166104948585856107b5565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061050060cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c60405160240161051c97969594939291906119c0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611323565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33858561062360cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b86604051610635959493929190611a1f565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f7420736574000000000000000000000060648201526084015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f6107d1604063ffffffff8816611a9c565b6107db9190611acc565b6107e6601088611a9c565b6107f39062030d40611b1a565b6107fd9190611b1a565b6108079190611b1a565b6108119190611b1a565b61081b9190611b1a565b949350505050565b6000547501000000000000000000000000000000000000000000900460ff161580801561086e575060005460017401000000000000000000000000000000000000000090910460ff16105b806108a05750303b1580156108a0575060005474010000000000000000000000000000000000000000900460ff166001145b61092c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161078f565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156109b257600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b6109bb826113b1565b8015610a1e57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60f087901c60028110610add576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161078f565b8061ffff16600003610bd2576000610b2e878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506114ed915050565b600081815260cb602052604090205490915060ff1615610bd0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161078f565b505b6000610c18898989898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061150c92505050565b9050610c6160cf54337fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef0173ffffffffffffffffffffffffffffffffffffffff90811691161490565b15610c9957853414610c7557610c75611b46565b600081815260ce602052604090205460ff1615610c9457610c94611b46565b610deb565b3415610d4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161078f565b600081815260ce602052604090205460ff16610deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161078f565b610df48761152f565b15610ea7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161078f565b600081815260cb602052604090205460ff1615610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161078f565b610f6785610f58611388619c40611b1a565b67ffffffffffffffff16611584565b1580610f8d575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b156110a657600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b50506112fe565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061113788619c405a6110fa9190611b75565b8988888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115a292505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156111ed57600082815260cb602052604090205460ff161561118a5761118a611b46565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26112fa565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016112fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b6040517fc2b3e5ac0000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000169063c2b3e5ac90849061137990889088908790600401611b8c565b6000604051808303818588803b15801561139257600080fd5b505af11580156113a6573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff1661145c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161078f565b60cc5473ffffffffffffffffffffffffffffffffffffffff166114a65760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006114fb858585856115bc565b805190602001209050949350505050565b600061151c878787878787611655565b8051906020012090509695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff821630148061157e575073ffffffffffffffffffffffffffffffffffffffff8216734200000000000000000000000000000000000016145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b6060848484846040516024016115d59493929190611bd4565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161167296959493929190611c1e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461171657600080fd5b50565b60008083601f84011261172b57600080fd5b50813567ffffffffffffffff81111561174357600080fd5b60208301915083602082850101111561175b57600080fd5b9250929050565b803563ffffffff8116811461177657600080fd5b919050565b6000806000806060858703121561179157600080fd5b843561179c816116f4565b9350602085013567ffffffffffffffff8111156117b857600080fd5b6117c487828801611719565b90945092506117d7905060408601611762565b905092959194509250565b6000815180845260005b81811015611808576020818501810151868301820152016117ec565b8181111561181a576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061186060208301846117e2565b9392505050565b60006020828403121561187957600080fd5b5035919050565b60008060006040848603121561189557600080fd5b833567ffffffffffffffff8111156118ac57600080fd5b6118b886828701611719565b90945092506118cb905060208501611762565b90509250925092565b6000602082840312156118e657600080fd5b8135611860816116f4565b600080600080600080600060c0888a03121561190c57600080fd5b87359650602088013561191e816116f4565b9550604088013561192e816116f4565b9450606088013593506080880135925060a088013567ffffffffffffffff81111561195857600080fd5b6119648a828b01611719565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611a1260c083018486611977565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611a4f608083018688611977565b905083604083015263ffffffff831660608301529695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611ac357611ac3611a6d565b02949350505050565b600067ffffffffffffffff80841680611b0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611b3d57611b3d611a6d565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611b8757611b87611a6d565b500390565b73ffffffffffffffffffffffffffffffffffffffff8416815267ffffffffffffffff83166020820152606060408201526000611bcb60608301846117e2565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611c0d60808301856117e2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611c6960c08301846117e2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"812:1752:143:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4456:53:218;;;;;;;;;;;;4507:2;4456:53;;;;;188:18:350;176:31;;;158:50;;146:2;131:18;4456:53:218;;;;;;;;4301:64;;;;;;;;;;;;4363:2;4301:64;;4146:62;;;;;;;;;;;;4206:2;4146:62;;8628:999;;;;;;:::i;:::-;;:::i;:::-;;3879:42;;;;;;;;;;;;3920:1;3879:42;;;;;1693:6:350;1681:19;;;1663:38;;1651:2;1636:18;3879:42:218;1519:188:350;4597:51:218;;;;;;;;;;;;4642:6;4597:51;;912:40:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4943:53:218:-;;;;;;;;;;;;4991:5;4943:53;;21036:82;;;;;;;;;;-1:-1:-1;21083:4:218;21036:82;;;2638:14:350;;2631:22;2613:41;;2601:2;2586:18;21036:82:218;2473:187:350;15768:250:218;;;;;;;;;;;;;:::i;:::-;;;2841:42:350;2829:55;;;2811:74;;2799:2;2784:18;15768:250:218;2665:226:350;3999:56:218;;;;;;;;;;;;4048:7;3999:56;;16321:108;;;;;;;;;;-1:-1:-1;16408:14:218;;;;16321:108;;6234:46;;;;;;;;;;-1:-1:-1;6234:46:218;;;;;:::i;:::-;;;;;;;;;;;;;;;;5252:50;;;;;;;;;;-1:-1:-1;5252:50:218;;;;;:::i;:::-;;;;;;;;;;;;;;;;17497:894;;;;;;;;;;-1:-1:-1;17497:894:218;;;;;:::i;:::-;;:::i;1278:175:143:-;;;;;;;;;;-1:-1:-1;1278:175:143;;;;;:::i;:::-;;:::i;10315:5066:218:-;;;;;;:::i;:::-;;:::i;6386:42::-;;;;;;;;;;-1:-1:-1;6386:42:218;;;;;;;;16750:134;;;;;;;;;;;;16851:8;;;;4855:18:191;4852:30;;16750:134:218;;;;5155:25:350;;;5143:2;5128:18;16750:134:218;5009:177:350;8628:999:218;9128:14;;9088:330;;9128:14;;9168:31;9176:8;;9186:12;9168:7;:31::i;:::-;9221:9;9291:26;9319:14;16851:8;;;;4855:18:191;4852:30;;16750:134:218;9319:14;9335:10;9347:7;9356:9;9367:12;9381:8;;9251:156;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9088:12;:330::i;:::-;9446:7;9434:72;;;9455:10;9467:8;;9477:14;16851:8;;;;4855:18:191;4852:30;;16750:134:218;9477:14;9493:12;9434:72;;;;;;;;;;:::i;:::-;;;;;;;;9521:44;;9555:9;5155:25:350;;9543:10:218;;9521:44;;5143:2:350;5128:18;9521:44:218;;;;;;;-1:-1:-1;;9602:8:218;9600:10;;;;;;;;;;;;;;;;-1:-1:-1;;8628:999:218:o;15768:250::-;15863:16;;15823:7;;15863:47;:16;:47;;15842:135;;;;;;;6954:2:350;15842:135:218;;;6936:21:350;6993:2;6973:18;;;6966:30;7032:34;7012:18;;;7005:62;7103:23;7083:18;;;7076:51;7144:19;;15842:135:218;;;;;;;;;-1:-1:-1;15995:16:218;;;;;15768:250::o;17497:894::-;17581:6;4991:5;4796:6;;4363:2;17810:49;4206:2;17810:49;;;;:::i;:::-;17809:90;;;;:::i;:::-;17707:51;4507:2;17714:8;17707:51;:::i;:::-;17643:116;;4048:7;17643:116;:::i;:::-;:257;;;;:::i;:::-;:412;;;;:::i;:::-;:587;;;;:::i;:::-;:741;;;;:::i;:::-;17599:785;17497:894;-1:-1:-1;;;;17497:894:218:o;1278:175:143:-;3111:19:25;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;3197:12;;;;;;:16;3179:34;3178:108;;;-1:-1:-1;3258:4:25;1476:19:31;:23;;;3219:66:25;;-1:-1:-1;3268:12:25;;;;;;;3284:1;3268:17;3219:66;3157:201;;;;;;;8439:2:350;3157:201:25;;;8421:21:350;8478:2;8458:18;;;8451:30;8517:34;8497:18;;;8490:62;8588:16;8568:18;;;8561:44;8622:19;;3157:201:25;8237:410:350;3157:201:25;3368:12;:16;;;;;;;;3394:65;;;;3428:13;:20;;;;;;;;3394:65;1373:73:143::1;1420:23;1373:27;:73::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;;;;;3553:14;;-1:-1:-1;8804:36:350;;3553:14:25;;8792:2:350;8777:18;3553:14:25;;;;;;;3479:99;3101:483;1278:175:143;:::o;10315:5066:218:-;5444:3:191;5440:16;;;10873:1:218;10863:11;;10855:101;;;;;;;9410:2:350;10855:101:218;;;9392:21:350;9449:2;9429:18;;;9422:30;9488:34;9468:18;;;9461:62;9559:34;9539:18;;;9532:62;9631:15;9610:19;;;9603:44;9664:19;;10855:101:218;9208:481:350;10855:101:218;11158:7;:12;;11169:1;11158:12;11154:247;;11186:15;11204:68;11237:7;11246;11255:8;;11204:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11265:6:218;;-1:-1:-1;11204:32:218;;-1:-1:-1;;11204:68:218:i;:::-;11294:27;;;;:18;:27;;;;;;11186:86;;-1:-1:-1;11294:27:218;;:36;11286:104;;;;;;;9896:2:350;11286:104:218;;;9878:21:350;9935:2;9915:18;;;9908:30;9974:34;9954:18;;;9947:62;10045:25;10025:18;;;10018:53;10088:19;;11286:104:218;9694:419:350;11286:104:218;11172:229;11154:247;11571:21;11607:90;11640:6;11648:7;11657;11666:6;11674:12;11688:8;;11607:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11607:32:218;;-1:-1:-1;;;11607:90:218:i;:::-;11571:126;;11712:19;2307:14:143;;2284:10;1685:27:232;;2307:14:143;2249:73;;;2307:14;;2249:73;;2165:164;11712:19:218;11708:506;;;11901:6;11888:9;:19;11881:27;;;;:::i;:::-;11930:29;;;;:14;:29;;;;;;;;11929:30;11922:38;;;;:::i;:::-;11708:506;;;11999:9;:14;11991:107;;;;;;;10509:2:350;11991:107:218;;;10491:21:350;10548:2;10528:18;;;10521:30;10587:34;10567:18;;;10560:62;10658:34;10638:18;;;10631:62;10730:18;10709:19;;;10702:47;10766:19;;11991:107:218;10307:484:350;11991:107:218;12121:29;;;;:14;:29;;;;;;;;12113:90;;;;;;;10998:2:350;12113:90:218;;;10980:21:350;11037:2;11017:18;;;11010:30;11076:34;11056:18;;;11049:62;11147:18;11127;;;11120:46;11183:19;;12113:90:218;10796:412:350;12113:90:218;12245:24;12261:7;12245:15;:24::i;:::-;:33;12224:135;;;;;;;11415:2:350;12224:135:218;;;11397:21:350;11454:2;11434:18;;;11427:30;11493:34;11473:18;;;11466:62;11564:34;11544:18;;;11537:62;11636:5;11615:19;;;11608:34;11659:19;;12224:135:218;11213:471:350;12224:135:218;12378:33;;;;:18;:33;;;;;;;;:42;12370:109;;;;;;;11891:2:350;12370:109:218;;;11873:21:350;11930:2;11910:18;;;11903:30;11969:34;11949:18;;;11942:62;12040:24;12020:18;;;12013:52;12082:19;;12370:109:218;11689:418:350;12370:109:218;13173:77;13192:12;13206:43;4991:5;4796:6;13206:43;:::i;:::-;13173:77;;:18;:77::i;:::-;13172:78;:145;;;-1:-1:-1;13270:16:218;;:47;:16;1338:42:188;13270:47:218;;13172:145;13155:919;;;13342:29;;;;:14;:29;;;;;;:36;;;;13374:4;13342:36;;;13397:35;13357:13;;13397:35;;;13912:41;:9;:41;13908:135;;13973:55;;;;;12314:2:350;13973:55:218;;;12296:21:350;12353:2;12333:18;;;12326:30;12392:34;12372:18;;;12365:62;12463:15;12443:18;;;12436:43;12496:19;;13973:55:218;12112:409:350;13908:135:218;14057:7;;;;13155:919;14084:16;:26;;;;;;;;;;-1:-1:-1;14135:72:218;14149:7;4796:6;14158:9;:30;;;;:::i;:::-;14190:6;14198:8;;14135:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14135:13:218;;-1:-1:-1;;;14135:72:218:i;:::-;14217:16;:46;;;;1338:42:188;14217:46:218;;;14120:87;-1:-1:-1;14274:1101:218;;;;14488:33;;;;:18;:33;;;;;;;;:42;14481:50;;;;:::i;:::-;14545:33;;;;:18;:33;;;;;;:40;;;;14581:4;14545:40;;;14604:29;14564:13;;14604:29;;;14274:1101;;;14664:29;;;;:14;:29;;;;;;:36;;;;14696:4;14664:36;;;14719:35;14679:13;;14719:35;;;15234:41;:9;:41;15230:135;;15295:55;;;;;12314:2:350;15295:55:218;;;12296:21:350;12353:2;12333:18;;;12326:30;12392:34;12372:18;;;12365:62;12463:15;12443:18;;;12436:43;12496:19;;15295:55:218;12112:409:350;15230:135:218;10541:4840;;;10315:5066;;;;;;;;:::o;1186:320:31:-;1476:19;;;:23;;;1186:320::o;1849:269:143:-;1966:145;;;;;312:42:194;;1966:83:143;;2058:6;;1966:145;;2080:3;;2085:9;;2096:5;;1966:145;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1849:269;;;;:::o;18507:636:218:-;4910:13:25;;;;;;;4902:69;;;;;;;13296:2:350;4902:69:25;;;13278:21:350;13335:2;13315:18;;;13308:30;13374:34;13354:18;;;13347:62;13445:13;13425:18;;;13418:41;13476:19;;4902:69:25;13094:407:350;4902:69:25;18992:16:218::1;::::0;:30:::1;:16;18988:107;;19038:16;:46:::0;;;::::1;1338:42:188;19038:46:218;::::0;;18988:107:::1;19104:14;:32:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;18507:636::o;3100:305:192:-;3289:7;3329:68;3365:7;3374;3383:5;3390:6;3329:35;:68::i;:::-;3319:79;;;;;;3312:86;;3100:305;;;;;;:::o;3877:375::-;4117:7;4157:87;4193:6;4201:7;4210;4219:6;4227:9;4238:5;4157:35;:87::i;:::-;4147:98;;;;;;4140:105;;3877:375;;;;;;;;:::o;2376:186:143:-;2450:4;2473:24;;;2492:4;2473:24;;:82;;-1:-1:-1;2501:54:143;;;312:42:194;2501:54:143;2473:82;2466:89;2376:186;-1:-1:-1;;2376:186:143:o;3615:365:195:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:195:o;1202:536::-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:195:o;3073:336:191:-;3264:12;3370:7;3379;3388:5;3395:6;3299:103;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3073:336:191;;;;;;:::o;3883:516::-;4125:12;4272:6;4292:7;4313;4334:6;4354:9;4377:5;4160:232;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3883:516:191;;;;;;;;:::o;219:154:350:-;305:42;298:5;294:54;287:5;284:65;274:93;;363:1;360;353:12;274:93;219:154;:::o;378:347::-;429:8;439:6;493:3;486:4;478:6;474:17;470:27;460:55;;511:1;508;501:12;460:55;-1:-1:-1;534:20:350;;577:18;566:30;;563:50;;;609:1;606;599:12;563:50;646:4;638:6;634:17;622:29;;698:3;691:4;682:6;674;670:19;666:30;663:39;660:59;;;715:1;712;705:12;660:59;378:347;;;;;:::o;730:163::-;797:20;;857:10;846:22;;836:33;;826:61;;883:1;880;873:12;826:61;730:163;;;:::o;898:616::-;985:6;993;1001;1009;1062:2;1050:9;1041:7;1037:23;1033:32;1030:52;;;1078:1;1075;1068:12;1030:52;1117:9;1104:23;1136:31;1161:5;1136:31;:::i;:::-;1186:5;-1:-1:-1;1242:2:350;1227:18;;1214:32;1269:18;1258:30;;1255:50;;;1301:1;1298;1291:12;1255:50;1340:58;1390:7;1381:6;1370:9;1366:22;1340:58;:::i;:::-;1417:8;;-1:-1:-1;1314:84:350;-1:-1:-1;1471:37:350;;-1:-1:-1;1504:2:350;1489:18;;1471:37;:::i;:::-;1461:47;;898:616;;;;;;;:::o;1712:531::-;1754:3;1792:5;1786:12;1819:6;1814:3;1807:19;1844:1;1854:162;1868:6;1865:1;1862:13;1854:162;;;1930:4;1986:13;;;1982:22;;1976:29;1958:11;;;1954:20;;1947:59;1883:12;1854:162;;;2034:6;2031:1;2028:13;2025:87;;;2100:1;2093:4;2084:6;2079:3;2075:16;2071:27;2064:38;2025:87;-1:-1:-1;2157:2:350;2145:15;2162:66;2141:88;2132:98;;;;2232:4;2128:109;;1712:531;-1:-1:-1;;1712:531:350:o;2248:220::-;2397:2;2386:9;2379:21;2360:4;2417:45;2458:2;2447:9;2443:18;2435:6;2417:45;:::i;:::-;2409:53;2248:220;-1:-1:-1;;;2248:220:350:o;3158:180::-;3217:6;3270:2;3258:9;3249:7;3245:23;3241:32;3238:52;;;3286:1;3283;3276:12;3238:52;-1:-1:-1;3309:23:350;;3158:180;-1:-1:-1;3158:180:350:o;3343:481::-;3421:6;3429;3437;3490:2;3478:9;3469:7;3465:23;3461:32;3458:52;;;3506:1;3503;3496:12;3458:52;3546:9;3533:23;3579:18;3571:6;3568:30;3565:50;;;3611:1;3608;3601:12;3565:50;3650:58;3700:7;3691:6;3680:9;3676:22;3650:58;:::i;:::-;3727:8;;-1:-1:-1;3624:84:350;-1:-1:-1;3781:37:350;;-1:-1:-1;3814:2:350;3799:18;;3781:37;:::i;:::-;3771:47;;3343:481;;;;;:::o;3829:278::-;3919:6;3972:2;3960:9;3951:7;3947:23;3943:32;3940:52;;;3988:1;3985;3978:12;3940:52;4027:9;4014:23;4046:31;4071:5;4046:31;:::i;4112:892::-;4227:6;4235;4243;4251;4259;4267;4275;4328:3;4316:9;4307:7;4303:23;4299:33;4296:53;;;4345:1;4342;4335:12;4296:53;4381:9;4368:23;4358:33;;4441:2;4430:9;4426:18;4413:32;4454:31;4479:5;4454:31;:::i;:::-;4504:5;-1:-1:-1;4561:2:350;4546:18;;4533:32;4574:33;4533:32;4574:33;:::i;:::-;4626:7;-1:-1:-1;4680:2:350;4665:18;;4652:32;;-1:-1:-1;4731:3:350;4716:19;;4703:33;;-1:-1:-1;4787:3:350;4772:19;;4759:33;4815:18;4804:30;;4801:50;;;4847:1;4844;4837:12;4801:50;4886:58;4936:7;4927:6;4916:9;4912:22;4886:58;:::i;:::-;4112:892;;;;-1:-1:-1;4112:892:350;;-1:-1:-1;4112:892:350;;;;4860:84;;-1:-1:-1;;;4112:892:350:o;5191:325::-;5279:6;5274:3;5267:19;5331:6;5324:5;5317:4;5312:3;5308:14;5295:43;;5383:1;5376:4;5367:6;5362:3;5358:16;5354:27;5347:38;5249:3;5505:4;5435:66;5430:2;5422:6;5418:15;5414:88;5409:3;5405:98;5401:109;5394:116;;5191:325;;;;:::o;5521:697::-;5816:6;5805:9;5798:25;5779:4;5842:42;5932:2;5924:6;5920:15;5915:2;5904:9;5900:18;5893:43;5984:2;5976:6;5972:15;5967:2;5956:9;5952:18;5945:43;;6024:6;6019:2;6008:9;6004:18;5997:34;6080:10;6072:6;6068:23;6062:3;6051:9;6047:19;6040:52;6129:3;6123;6112:9;6108:19;6101:32;6150:62;6207:3;6196:9;6192:19;6184:6;6176;6150:62;:::i;:::-;6142:70;5521:697;-1:-1:-1;;;;;;;;;5521:697:350:o;6223:524::-;6475:42;6467:6;6463:55;6452:9;6445:74;6555:3;6550:2;6539:9;6535:18;6528:31;6426:4;6576:62;6633:3;6622:9;6618:19;6610:6;6602;6576:62;:::i;:::-;6568:70;;6674:6;6669:2;6658:9;6654:18;6647:34;6729:10;6721:6;6717:23;6712:2;6701:9;6697:18;6690:51;6223:524;;;;;;;;:::o;7174:184::-;7226:77;7223:1;7216:88;7323:4;7320:1;7313:15;7347:4;7344:1;7337:15;7363:270;7402:7;7434:18;7479:2;7476:1;7472:10;7509:2;7506:1;7502:10;7565:3;7561:2;7557:12;7552:3;7549:21;7542:3;7535:11;7528:19;7524:47;7521:73;;;7574:18;;:::i;:::-;7614:13;;7363:270;-1:-1:-1;;;;7363:270:350:o;7638:353::-;7677:1;7703:18;7748:2;7745:1;7741:10;7770:3;7760:191;;7807:77;7804:1;7797:88;7908:4;7905:1;7898:15;7936:4;7933:1;7926:15;7760:191;7969:10;;7965:20;;;;;7638:353;-1:-1:-1;;7638:353:350:o;7996:236::-;8035:3;8063:18;8108:2;8105:1;8101:10;8138:2;8135:1;8131:10;8169:3;8165:2;8161:12;8156:3;8153:21;8150:47;;;8177:18;;:::i;:::-;8213:13;;7996:236;-1:-1:-1;;;;7996:236:350:o;10118:184::-;10170:77;10167:1;10160:88;10267:4;10264:1;10257:15;10291:4;10288:1;10281:15;12526:125;12566:4;12594:1;12591;12588:8;12585:34;;;12599:18;;:::i;:::-;-1:-1:-1;12636:9:350;;12526:125::o;12656:433::-;12870:42;12862:6;12858:55;12847:9;12840:74;12962:18;12954:6;12950:31;12945:2;12934:9;12930:18;12923:59;13018:2;13013;13002:9;12998:18;12991:30;12821:4;13038:45;13079:2;13068:9;13064:18;13056:6;13038:45;:::i;:::-;13030:53;12656:433;-1:-1:-1;;;;;12656:433:350:o;13506:512::-;13700:4;13729:42;13810:2;13802:6;13798:15;13787:9;13780:34;13862:2;13854:6;13850:15;13845:2;13834:9;13830:18;13823:43;;13902:3;13897:2;13886:9;13882:18;13875:31;13923:46;13964:3;13953:9;13949:19;13941:6;13923:46;:::i;:::-;13915:54;;14005:6;14000:2;13989:9;13985:18;13978:34;13506:512;;;;;;;:::o;14023:656::-;14310:6;14299:9;14292:25;14273:4;14336:42;14426:2;14418:6;14414:15;14409:2;14398:9;14394:18;14387:43;14478:2;14470:6;14466:15;14461:2;14450:9;14446:18;14439:43;;14518:6;14513:2;14502:9;14498:18;14491:34;14562:6;14556:3;14545:9;14541:19;14534:35;14606:3;14600;14589:9;14585:19;14578:32;14627:46;14668:3;14657:9;14653:19;14645:6;14627:46;:::i;:::-;14619:54;14023:656;-1:-1:-1;;;;;;;;14023:656:350:o",linkReferences:{}},methodIdentifiers:{"MESSAGE_VERSION()":"3f827a5a","MIN_GAS_CALLDATA_OVERHEAD()":"028f85f7","MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":"0c568498","MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":"2828d7e8","OTHER_MESSENGER()":"9fce812c","RELAY_CALL_OVERHEAD()":"4c1d6a69","RELAY_CONSTANT_OVERHEAD()":"83a74074","RELAY_GAS_CHECK_BUFFER()":"5644cfdf","RELAY_RESERVED_GAS()":"8cbeeef2","baseGas(bytes,uint32)":"b28ade25","failedMessages(bytes32)":"a4e7f8bd","initialize(address)":"c4d66de8","l1CrossDomainMessenger()":"a7119869","messageNonce()":"ecc70428","otherMessenger()":"db505d80","paused()":"5c975abb","relayMessage(uint256,address,address,uint256,uint256,bytes)":"d764ad0b","sendMessage(address,bytes,uint32)":"3dbb202b","successfulMessages(bytes32)":"b1b1b209","version()":"54fd4d50","xDomainMessageSender()":"6e296e45"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"FailedRelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"RelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"bytes","name":"message","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"messageNonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"gasLimit","type":"uint256"}],"name":"SentMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SentMessageExtension1","type":"event"},{"inputs":[],"name":"MESSAGE_VERSION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_CALLDATA_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CALL_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CONSTANT_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_GAS_CHECK_BUFFER","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_RESERVED_GAS","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"baseGas","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"failedMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract CrossDomainMessenger","name":"_l1CrossDomainMessenger","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l1CrossDomainMessenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messageNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherMessenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_minGasLimit","type":"uint256"},{"internalType":"bytes","name":"_message","type":"bytes"}],"name":"relayMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"sendMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"successfulMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"xDomainMessageSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000007","kind":"dev","methods":{"OTHER_MESSENGER()":{"custom:legacy":"","returns":{"_0":"CrossDomainMessenger contract on the other chain."}},"baseGas(bytes,uint32)":{"params":{"_message":"Message to compute the amount of required gas for.","_minGasLimit":"Minimum desired gas limit when message goes to target."},"returns":{"_0":"Amount of gas required to guarantee message receipt."}},"initialize(address)":{"params":{"_l1CrossDomainMessenger":"L1CrossDomainMessenger contract on the other network."}},"l1CrossDomainMessenger()":{"custom:legacy":"","returns":{"_0":"L1CrossDomainMessenger contract."}},"messageNonce()":{"returns":{"_0":"Nonce of the next message to be sent, with added message version."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"params":{"_message":"Message to send to the target.","_minGasLimit":"Minimum amount of gas that the message can be executed with.","_nonce":"Nonce of the message being relayed.","_sender":"Address of the user who sent the message.","_target":"Address that the message is targeted at.","_value":"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{"params":{"_message":"Message to trigger the target address with.","_minGasLimit":"Minimum gas limit that the message can be executed with.","_target":"Target contract or wallet address."}},"xDomainMessageSender()":{"returns":{"_0":"Address of the sender of the currently executing message on the other chain."}}},"stateVariables":{"version":{"custom:semver":"2.0.0"}},"title":"L2CrossDomainMessenger","version":1},"userdoc":{"events":{"FailedRelayedMessage(bytes32)":{"notice":"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{"notice":"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{"notice":"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{"notice":"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},"kind":"user","methods":{"MESSAGE_VERSION()":{"notice":"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{"notice":"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{"notice":"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{"notice":"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{"notice":"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"RELAY_CALL_OVERHEAD()":{"notice":"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{"notice":"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{"notice":"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{"notice":"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{"notice":"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},"constructor":{"notice":"Constructs the L2CrossDomainMessenger contract."},"failedMessages(bytes32)":{"notice":"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address)":{"notice":"Initializer."},"l1CrossDomainMessenger()":{"notice":"Getter for the remote messenger. Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"messageNonce()":{"notice":"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{"notice":"CrossDomainMessenger contract on the other chain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"notice":"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{"notice":"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{"notice":"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"xDomainMessageSender()":{"notice":"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},"notice":"The L2CrossDomainMessenger is a high-level interface for message passing between L1 and L2 on the L2 side. Users are generally encouraged to use this contract instead of lower level message passing contracts.","version":1}},"settings":{"compilationTarget":{"src/L2/L2CrossDomainMessenger.sol":"L2CrossDomainMessenger"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L2/L2CrossDomainMessenger.sol":{"keccak256":"0xe6f3989bb296a3b8678a0d0734788cfdef8ed6632df10cba23af5a369293d355","license":"MIT","urls":["bzz-raw://1ec3c85753657891b6c6bc5a7b941ac7cffd312f9589683e006f2d0f5b725f4b","dweb:/ipfs/QmTSLy4kv3ZVUR158NED6x31vy9J69wQunHWkJVDU5VYDC"]},"src/L2/L2ToL1MessagePasser.sol":{"keccak256":"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21","license":"MIT","urls":["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"FailedRelayedMessage",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"RelayedMessage",anonymous:!1},{inputs:[{internalType:"address",name:"target",type:"address",indexed:!0},{internalType:"address",name:"sender",type:"address",indexed:!1},{internalType:"bytes",name:"message",type:"bytes",indexed:!1},{internalType:"uint256",name:"messageNonce",type:"uint256",indexed:!1},{internalType:"uint256",name:"gasLimit",type:"uint256",indexed:!1}],type:"event",name:"SentMessage",anonymous:!1},{inputs:[{internalType:"address",name:"sender",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"SentMessageExtension1",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSAGE_VERSION",outputs:[{internalType:"uint16",name:"",type:"uint16"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CALL_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CONSTANT_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_GAS_CHECK_BUFFER",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_RESERVED_GAS",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"pure",type:"function",name:"baseGas",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"failedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"contract CrossDomainMessenger",name:"_l1CrossDomainMessenger",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l1CrossDomainMessenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherMessenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"uint256",name:"_nonce",type:"uint256"},{internalType:"address",name:"_sender",type:"address"},{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint256",name:"_minGasLimit",type:"uint256"},{internalType:"bytes",name:"_message",type:"bytes"}],stateMutability:"payable",type:"function",name:"relayMessage"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"payable",type:"function",name:"sendMessage"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}]}],devdoc:{kind:"dev",methods:{"OTHER_MESSENGER()":{"custom:legacy":"",returns:{_0:"CrossDomainMessenger contract on the other chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address)":{params:{_l1CrossDomainMessenger:"L1CrossDomainMessenger contract on the other network."}},"l1CrossDomainMessenger()":{"custom:legacy":"",returns:{_0:"L1CrossDomainMessenger contract."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}},version:1},userdoc:{kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L2CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address)":{notice:"Initializer."},"l1CrossDomainMessenger()":{notice:"Getter for the remote messenger. Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2CrossDomainMessenger.sol":"L2CrossDomainMessenger"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L2/L2CrossDomainMessenger.sol":{keccak256:"0xe6f3989bb296a3b8678a0d0734788cfdef8ed6632df10cba23af5a369293d355",urls:["bzz-raw://1ec3c85753657891b6c6bc5a7b941ac7cffd312f9589683e006f2d0f5b725f4b","dweb:/ipfs/QmTSLy4kv3ZVUR158NED6x31vy9J69wQunHWkJVDU5VYDC"],license:"MIT"},"src/L2/L2ToL1MessagePasser.sol":{keccak256:"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21",urls:["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:104934,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_0_0_20",offset:0,slot:"0",type:"t_address"},{astId:45313,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"_initialized",offset:20,slot:"0",type:"t_uint8"},{astId:45316,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"_initializing",offset:21,slot:"0",type:"t_bool"},{astId:104941,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_1_0_1600",offset:0,slot:"1",type:"t_array(t_uint256)50_storage"},{astId:104944,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_51_0_20",offset:0,slot:"51",type:"t_address"},{astId:104949,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_52_0_1568",offset:0,slot:"52",type:"t_array(t_uint256)49_storage"},{astId:104952,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_101_0_1",offset:0,slot:"101",type:"t_bool"},{astId:104957,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_102_0_1568",offset:0,slot:"102",type:"t_array(t_uint256)49_storage"},{astId:104960,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_151_0_32",offset:0,slot:"151",type:"t_uint256"},{astId:104965,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_152_0_1568",offset:0,slot:"152",type:"t_array(t_uint256)49_storage"},{astId:104970,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_201_0_32",offset:0,slot:"201",type:"t_mapping(t_bytes32,t_bool)"},{astId:104975,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_202_0_32",offset:0,slot:"202",type:"t_mapping(t_bytes32,t_bool)"},{astId:105020,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"successfulMessages",offset:0,slot:"203",type:"t_mapping(t_bytes32,t_bool)"},{astId:105023,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"xDomainMsgSender",offset:0,slot:"204",type:"t_address"},{astId:105026,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"msgNonce",offset:0,slot:"205",type:"t_uint240"},{astId:105031,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"failedMessages",offset:0,slot:"206",type:"t_mapping(t_bytes32,t_bool)"},{astId:105035,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"otherMessenger",offset:0,slot:"207",type:"t_contract(CrossDomainMessenger)105498"},{astId:105040,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"__gap",offset:0,slot:"208",type:"t_array(t_uint256)43_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)43_storage":{encoding:"inplace",label:"uint256[43]",numberOfBytes:"1376",base:"t_uint256"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},"t_array(t_uint256)50_storage":{encoding:"inplace",label:"uint256[50]",numberOfBytes:"1600",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint240:{encoding:"inplace",label:"uint240",numberOfBytes:"30"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L2CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address)":{notice:"Initializer."},"l1CrossDomainMessenger()":{notice:"Getter for the remote messenger. Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},events:{"FailedRelayedMessage(bytes32)":{notice:"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{notice:"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{notice:"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{notice:"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},notice:"The L2CrossDomainMessenger is a high-level interface for message passing between L1 and L2 on the L2 side. Users are generally encouraged to use this contract instead of lower level message passing contracts."},devdoc:{version:1,kind:"dev",methods:{"OTHER_MESSENGER()":{returns:{_0:"CrossDomainMessenger contract on the other chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address)":{params:{_l1CrossDomainMessenger:"L1CrossDomainMessenger contract on the other network."}},"l1CrossDomainMessenger()":{returns:{_0:"L1CrossDomainMessenger contract."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}},title:"L2CrossDomainMessenger"},id:143}});var OKe=D(($ca,DHt)=>{DHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"bridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"createOptimismMintableERC20",inputs:[{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"createOptimismMintableERC20WithDecimals",inputs:[{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_decimals",type:"uint8",internalType:"uint8"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"createStandardL2Token",inputs:[{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_bridge",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OptimismMintableERC20Created",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"deployer",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"StandardL2TokenCreated",inputs:[{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"localToken",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}],bytecode:{object:"0x608060405234801561001057600080fd5b5061001b6000610020565b610169565b600054610100900460ff16158080156100405750600054600160ff909116105b8061006b57506100593061015a60201b61059d1760201c565b15801561006b575060005460ff166001145b6100d25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6000805460ff1916600117905580156100f5576000805461ff0019166101001790555b600180546001600160a01b0319166001600160a01b0384161790558015610156576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b6120e5806101786000396000f3fe60806040523480156200001157600080fd5b5060043610620000875760003560e01c8063c4d66de81162000062578063c4d66de81462000135578063ce5ac90f146200014e578063e78cea921462000165578063ee9a31a2146200018657600080fd5b806354fd4d50146200008c578063896f93d114620000e15780638cf0629c146200011e575b600080fd5b620000c96040518060400160405280600581526020017f312e392e3000000000000000000000000000000000000000000000000000000081525081565b604051620000d8919062000635565b60405180910390f35b620000f8620000f23660046200075d565b620001a5565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001620000d8565b620000f86200012f366004620007da565b620001bc565b6200014c6200014636600462000871565b620003ba565b005b620000f86200015f3660046200075d565b6200058c565b600154620000f89073ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff16620000f8565b6000620001b48484846200058c565b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff851662000267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d4d696e7461626c654552433230466163746f72793a206d7560448201527f73742070726f766964652072656d6f746520746f6b656e20616464726573730060648201526084015b60405180910390fd5b6000858585856040516020016200028294939291906200088f565b604051602081830303815290604052805190602001209050600081600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1688888888604051620002d290620005b9565b620002e2959493929190620008e9565b8190604051809103906000f590508015801562000303573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a360405133815273ffffffffffffffffffffffffffffffffffffffff80891691908316907f52fe89dd5930f343d25650b62fd367bae47088bcddffd2a88350a6ecdd620cdb9060200160405180910390a39695505050505050565b600054610100900460ff1615808015620003db5750600054600160ff909116105b80620003f75750303b158015620003f7575060005460ff166001145b62000485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016200025e565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015620004e457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841617905580156200058857600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6000620001b48484846012620001bc565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61178a806200094f83390190565b6000815180845260005b81811015620005ef57602081850181015186830182015201620005d1565b8181111562000602576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006200064a6020830184620005c7565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146200067657600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f830112620006bc57600080fd5b813567ffffffffffffffff80821115620006da57620006da6200067b565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156200072357620007236200067b565b816040528381528660208588010111156200073d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200077357600080fd5b6200077e8462000651565b9250602084013567ffffffffffffffff808211156200079c57600080fd5b620007aa87838801620006aa565b93506040860135915080821115620007c157600080fd5b50620007d086828701620006aa565b9150509250925092565b60008060008060808587031215620007f157600080fd5b620007fc8562000651565b9350602085013567ffffffffffffffff808211156200081a57600080fd5b6200082888838901620006aa565b945060408701359150808211156200083f57600080fd5b506200084e87828801620006aa565b925050606085013560ff811681146200086657600080fd5b939692955090935050565b6000602082840312156200088457600080fd5b6200064a8262000651565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000620008c06080830186620005c7565b8281036040840152620008d48186620005c7565b91505060ff8316606083015295945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a060408301526200092460a0830186620005c7565b8281036060840152620009388186620005c7565b91505060ff83166080830152969550505050505056fe60e06040523480156200001157600080fd5b506040516200178a3803806200178a833981016040819052620000349162000163565b828260036200004483826200029e565b5060046200005382826200029e565b5050506001600160a01b039384166080529390921660a052505060ff1660c0526200036a565b80516001600160a01b03811681146200009157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000be57600080fd5b81516001600160401b0380821115620000db57620000db62000096565b604051601f8301601f19908116603f0116810190828211818310171562000106576200010662000096565b816040528381526020925086838588010111156200012357600080fd5b600091505b8382101562000147578582018301518183018401529082019062000128565b83821115620001595760008385830101525b9695505050505050565b600080600080600060a086880312156200017c57600080fd5b620001878662000079565b9450620001976020870162000079565b60408701519094506001600160401b0380821115620001b557600080fd5b620001c389838a01620000ac565b94506060880151915080821115620001da57600080fd5b50620001e988828901620000ac565b925050608086015160ff811681146200020157600080fd5b809150509295509295909350565b600181811c908216806200022457607f821691505b6020821081036200024557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029957600081815260208120601f850160051c81016020861015620002745750805b601f850160051c820191505b81811015620002955782815560010162000280565b5050505b505050565b81516001600160401b03811115620002ba57620002ba62000096565b620002d281620002cb84546200020f565b846200024b565b602080601f8311600181146200030a5760008415620002f15750858301515b600019600386901b1c1916600185901b17855562000295565b600085815260208120601f198616915b828110156200033b578886015182559484019460019091019084016200031a565b50858210156200035a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516113d4620003b6600039600061024401526000818161034b015281816103e001528181610625015261075c0152600081816101a9015261037101526113d46000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000aa164736f6c634300080f000a",sourceMap:"770:5093:225:-:0;;;2694:66;;;;;;;;;-1:-1:-1;2718:35:225;2748:1;2718:10;:35::i;:::-;770:5093;;2876:89;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;2942:6:225::1;:16:::0;;-1:-1:-1;;;;;;2942:16:225::1;-1:-1:-1::0;;;;;2942:16:225;::::1;;::::0;;3457:99:41;;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;2876:89:225;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;429:194:350:-;770:5093:225;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040523480156200001157600080fd5b5060043610620000875760003560e01c8063c4d66de81162000062578063c4d66de81462000135578063ce5ac90f146200014e578063e78cea921462000165578063ee9a31a2146200018657600080fd5b806354fd4d50146200008c578063896f93d114620000e15780638cf0629c146200011e575b600080fd5b620000c96040518060400160405280600581526020017f312e392e3000000000000000000000000000000000000000000000000000000081525081565b604051620000d8919062000635565b60405180910390f35b620000f8620000f23660046200075d565b620001a5565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001620000d8565b620000f86200012f366004620007da565b620001bc565b6200014c6200014636600462000871565b620003ba565b005b620000f86200015f3660046200075d565b6200058c565b600154620000f89073ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff16620000f8565b6000620001b48484846200058c565b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff851662000267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d4d696e7461626c654552433230466163746f72793a206d7560448201527f73742070726f766964652072656d6f746520746f6b656e20616464726573730060648201526084015b60405180910390fd5b6000858585856040516020016200028294939291906200088f565b604051602081830303815290604052805190602001209050600081600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1688888888604051620002d290620005b9565b620002e2959493929190620008e9565b8190604051809103906000f590508015801562000303573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a360405133815273ffffffffffffffffffffffffffffffffffffffff80891691908316907f52fe89dd5930f343d25650b62fd367bae47088bcddffd2a88350a6ecdd620cdb9060200160405180910390a39695505050505050565b600054610100900460ff1615808015620003db5750600054600160ff909116105b80620003f75750303b158015620003f7575060005460ff166001145b62000485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016200025e565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015620004e457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841617905580156200058857600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6000620001b48484846012620001bc565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61178a806200094f83390190565b6000815180845260005b81811015620005ef57602081850181015186830182015201620005d1565b8181111562000602576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006200064a6020830184620005c7565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146200067657600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f830112620006bc57600080fd5b813567ffffffffffffffff80821115620006da57620006da6200067b565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156200072357620007236200067b565b816040528381528660208588010111156200073d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200077357600080fd5b6200077e8462000651565b9250602084013567ffffffffffffffff808211156200079c57600080fd5b620007aa87838801620006aa565b93506040860135915080821115620007c157600080fd5b50620007d086828701620006aa565b9150509250925092565b60008060008060808587031215620007f157600080fd5b620007fc8562000651565b9350602085013567ffffffffffffffff808211156200081a57600080fd5b6200082888838901620006aa565b945060408701359150808211156200083f57600080fd5b506200084e87828801620006aa565b925050606085013560ff811681146200086657600080fd5b939692955090935050565b6000602082840312156200088457600080fd5b6200064a8262000651565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000620008c06080830186620005c7565b8281036040840152620008d48186620005c7565b91505060ff8316606083015295945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a060408301526200092460a0830186620005c7565b8281036060840152620009388186620005c7565b91505060ff83166080830152969550505050505056fe60e06040523480156200001157600080fd5b506040516200178a3803806200178a833981016040819052620000349162000163565b828260036200004483826200029e565b5060046200005382826200029e565b5050506001600160a01b039384166080529390921660a052505060ff1660c0526200036a565b80516001600160a01b03811681146200009157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000be57600080fd5b81516001600160401b0380821115620000db57620000db62000096565b604051601f8301601f19908116603f0116810190828211818310171562000106576200010662000096565b816040528381526020925086838588010111156200012357600080fd5b600091505b8382101562000147578582018301518183018401529082019062000128565b83821115620001595760008385830101525b9695505050505050565b600080600080600060a086880312156200017c57600080fd5b620001878662000079565b9450620001976020870162000079565b60408701519094506001600160401b0380821115620001b557600080fd5b620001c389838a01620000ac565b94506060880151915080821115620001da57600080fd5b50620001e988828901620000ac565b925050608086015160ff811681146200020157600080fd5b809150509295509295909350565b600181811c908216806200022457607f821691505b6020821081036200024557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029957600081815260208120601f850160051c81016020861015620002745750805b601f850160051c820191505b81811015620002955782815560010162000280565b5050505b505050565b81516001600160401b03811115620002ba57620002ba62000096565b620002d281620002cb84546200020f565b846200024b565b602080601f8311600181146200030a5760008415620002f15750858301515b600019600386901b1c1916600185901b17855562000295565b600085815260208120601f198616915b828110156200033b578886015182559484019460019091019084016200031a565b50858210156200035a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516113d4620003b6600039600061024401526000818161034b015281816103e001528181610625015261075c0152600081816101a9015261037101526113d46000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000aa164736f6c634300080f000a",sourceMap:"770:5093:225:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2577:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;3740:255;;;;;;:::i;:::-;;:::i;:::-;;;2746:42:350;2734:55;;;2716:74;;2704:2;2689:18;3740:255:225;2570:226:350;4908:953:225;;;;;;:::i;:::-;;:::i;2876:89::-;;;;;;:::i;:::-;;:::i;:::-;;4280:275;;;;;;:::i;:::-;;:::i;1115:21::-;;;;;;;;;3237:80;3304:6;;;;3237:80;;3740:255;3901:7;3931:57;3959:12;3973:5;3980:7;3931:27;:57::i;:::-;3924:64;3740:255;-1:-1:-1;;;;3740:255:225:o;4908:953::-;5110:7;5141:26;;;5133:102;;;;;;;3974:2:350;5133:102:225;;;3956:21:350;4013:2;3993:18;;;3986:30;4052:34;4032:18;;;4025:62;4123:33;4103:18;;;4096:61;4174:19;;5133:102:225;;;;;;;;;5246:12;5282;5296:5;5303:7;5312:9;5271:51;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5261:62;;;;;;5246:77;;5333:18;5407:4;5414:6;;;;;;;;;;;5422:12;5436:5;5443:7;5452:9;5374:88;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;5333:130;;5570:10;5533:48;;5556:12;5533:48;;;;;;;;;;;;5760:66;;5815:10;2716:74:350;;5760:66:225;;;;;;;;;;;2704:2:350;2689:18;5760:66:225;;;;;;;5844:10;4908:953;-1:-1:-1;;;;;;4908:953:225:o;2876:89::-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;5684:2:350;3146:190:41;;;5666:21:350;5723:2;5703:18;;;5696:30;5762:34;5742:18;;;5735:62;5833:16;5813:18;;;5806:44;5867:19;;3146:190:41;5482:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;2942:6:225::1;:16:::0;;;::::1;;::::0;::::1;;::::0;;3457:99:41;;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;6049:36:350;;3531:14:41;;6037:2:350;6022:18;3531:14:41;;;;;;;3457:99;3090:472;2876:89:225;:::o;4280:275::-;4445:7;4475:73;4515:12;4529:5;4536:7;4545:2;4475:39;:73::i;1175:320:57:-;1465:19;;;:23;;;1175:320::o;-1:-1:-1:-;;;;;;;;:::o;14:531:350:-;56:3;94:5;88:12;121:6;116:3;109:19;146:1;156:162;170:6;167:1;164:13;156:162;;;232:4;288:13;;;284:22;;278:29;260:11;;;256:20;;249:59;185:12;156:162;;;336:6;333:1;330:13;327:87;;;402:1;395:4;386:6;381:3;377:16;373:27;366:38;327:87;-1:-1:-1;459:2:350;447:15;464:66;443:88;434:98;;;;534:4;430:109;;14:531;-1:-1:-1;;14:531:350:o;550:220::-;699:2;688:9;681:21;662:4;719:45;760:2;749:9;745:18;737:6;719:45;:::i;:::-;711:53;550:220;-1:-1:-1;;;550:220:350:o;775:196::-;843:20;;903:42;892:54;;882:65;;872:93;;961:1;958;951:12;872:93;775:196;;;:::o;976:184::-;1028:77;1025:1;1018:88;1125:4;1122:1;1115:15;1149:4;1146:1;1139:15;1165:778;1208:5;1261:3;1254:4;1246:6;1242:17;1238:27;1228:55;;1279:1;1276;1269:12;1228:55;1315:6;1302:20;1341:18;1378:2;1374;1371:10;1368:36;;;1384:18;;:::i;:::-;1518:2;1512:9;1580:4;1572:13;;1423:66;1568:22;;;1592:2;1564:31;1560:40;1548:53;;;1616:18;;;1636:22;;;1613:46;1610:72;;;1662:18;;:::i;:::-;1702:10;1698:2;1691:22;1737:2;1729:6;1722:18;1783:3;1776:4;1771:2;1763:6;1759:15;1755:26;1752:35;1749:55;;;1800:1;1797;1790:12;1749:55;1864:2;1857:4;1849:6;1845:17;1838:4;1830:6;1826:17;1813:54;1911:1;1904:4;1899:2;1891:6;1887:15;1883:26;1876:37;1931:6;1922:15;;;;;;1165:778;;;;:::o;1948:617::-;2045:6;2053;2061;2114:2;2102:9;2093:7;2089:23;2085:32;2082:52;;;2130:1;2127;2120:12;2082:52;2153:29;2172:9;2153:29;:::i;:::-;2143:39;;2233:2;2222:9;2218:18;2205:32;2256:18;2297:2;2289:6;2286:14;2283:34;;;2313:1;2310;2303:12;2283:34;2336:50;2378:7;2369:6;2358:9;2354:22;2336:50;:::i;:::-;2326:60;;2439:2;2428:9;2424:18;2411:32;2395:48;;2468:2;2458:8;2455:16;2452:36;;;2484:1;2481;2474:12;2452:36;;2507:52;2551:7;2540:8;2529:9;2525:24;2507:52;:::i;:::-;2497:62;;;1948:617;;;;;:::o;2801:775::-;2905:6;2913;2921;2929;2982:3;2970:9;2961:7;2957:23;2953:33;2950:53;;;2999:1;2996;2989:12;2950:53;3022:29;3041:9;3022:29;:::i;:::-;3012:39;;3102:2;3091:9;3087:18;3074:32;3125:18;3166:2;3158:6;3155:14;3152:34;;;3182:1;3179;3172:12;3152:34;3205:50;3247:7;3238:6;3227:9;3223:22;3205:50;:::i;:::-;3195:60;;3308:2;3297:9;3293:18;3280:32;3264:48;;3337:2;3327:8;3324:16;3321:36;;;3353:1;3350;3343:12;3321:36;;3376:52;3420:7;3409:8;3398:9;3394:24;3376:52;:::i;:::-;3366:62;;;3478:2;3467:9;3463:18;3450:32;3522:4;3515:5;3511:16;3504:5;3501:27;3491:55;;3542:1;3539;3532:12;3491:55;2801:775;;;;-1:-1:-1;2801:775:350;;-1:-1:-1;;2801:775:350:o;3581:186::-;3640:6;3693:2;3681:9;3672:7;3668:23;3664:32;3661:52;;;3709:1;3706;3699:12;3661:52;3732:29;3751:9;3732:29;:::i;4204:583::-;4465:42;4457:6;4453:55;4442:9;4435:74;4545:3;4540:2;4529:9;4525:18;4518:31;4416:4;4572:46;4613:3;4602:9;4598:19;4590:6;4572:46;:::i;:::-;4666:9;4658:6;4654:22;4649:2;4638:9;4634:18;4627:50;4694:33;4720:6;4712;4694:33;:::i;:::-;4686:41;;;4775:4;4767:6;4763:17;4758:2;4747:9;4743:18;4736:45;4204:583;;;;;;;:::o;4792:685::-;5032:4;5061:42;5142:2;5134:6;5130:15;5119:9;5112:34;5194:2;5186:6;5182:15;5177:2;5166:9;5162:18;5155:43;;5234:3;5229:2;5218:9;5214:18;5207:31;5261:46;5302:3;5291:9;5287:19;5279:6;5261:46;:::i;:::-;5355:9;5347:6;5343:22;5338:2;5327:9;5323:18;5316:50;5383:33;5409:6;5401;5383:33;:::i;:::-;5375:41;;;5465:4;5457:6;5453:17;5447:3;5436:9;5432:19;5425:46;4792:685;;;;;;;;:::o",linkReferences:{}},methodIdentifiers:{"BRIDGE()":"ee9a31a2","bridge()":"e78cea92","createOptimismMintableERC20(address,string,string)":"ce5ac90f","createOptimismMintableERC20WithDecimals(address,string,string,uint8)":"8cf0629c","createStandardL2Token(address,string,string)":"896f93d1","initialize(address)":"c4d66de8","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":false,"internalType":"address","name":"deployer","type":"address"}],"name":"OptimismMintableERC20Created","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"localToken","type":"address"}],"name":"StandardL2TokenCreated","type":"event"},{"inputs":[],"name":"BRIDGE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"createOptimismMintableERC20","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"}],"name":"createOptimismMintableERC20WithDecimals","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"createStandardL2Token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bridge","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeployed 0x4200000000000000000000000000000000000012","events":{"OptimismMintableERC20Created(address,address,address)":{"params":{"deployer":"Address of the account that deployed the token.","localToken":"Address of the created token on the local chain.","remoteToken":"Address of the corresponding token on the remote chain."}},"StandardL2TokenCreated(address,address)":{"custom:legacy":"@notice Emitted whenever a new OptimismMintableERC20 is created. Legacy version of the newer OptimismMintableERC20Created event. We recommend relying on that event instead.","params":{"localToken":"Address of the created token on the local chain.","remoteToken":"Address of the token on the remote chain."}}},"kind":"dev","methods":{"BRIDGE()":{"custom:legacy":"","returns":{"_0":"Address of the StandardBridge on this chain."}},"createOptimismMintableERC20(address,string,string)":{"params":{"_name":"ERC20 name.","_remoteToken":"Address of the token on the remote chain.","_symbol":"ERC20 symbol."},"returns":{"_0":"Address of the newly created token."}},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{"params":{"_decimals":"ERC20 decimals","_name":"ERC20 name.","_remoteToken":"Address of the token on the remote chain.","_symbol":"ERC20 symbol."},"returns":{"_0":"Address of the newly created token."}},"createStandardL2Token(address,string,string)":{"custom:legacy":"@notice Creates an instance of the OptimismMintableERC20 contract. Legacy version of the newer createOptimismMintableERC20 function, which has a more intuitive name.","params":{"_name":"ERC20 name.","_remoteToken":"Address of the token on the remote chain.","_symbol":"ERC20 symbol."},"returns":{"_0":"Address of the newly created token."}},"initialize(address)":{"params":{"_bridge":"Address of the StandardBridge on this chain."}}},"stateVariables":{"bridge":{"custom:network-specific":""},"spacer_0_2_30":{"custom:spacer":"OptimismMintableERC20Factory\'s initializer slot spacing"},"version":{"custom:semver":"1.9.0"}},"title":"OptimismMintableERC20Factory","version":1},"userdoc":{"events":{"OptimismMintableERC20Created(address,address,address)":{"notice":"Emitted whenever a new OptimismMintableERC20 is created."}},"kind":"user","methods":{"BRIDGE()":{"notice":"Getter function for the address of the StandardBridge on this chain. Public getter is legacy and will be removed in the future. Use `bridge` instead."},"bridge()":{"notice":"Address of the StandardBridge on this chain."},"constructor":{"notice":"Constructs the OptimismMintableERC20Factory contract."},"createOptimismMintableERC20(address,string,string)":{"notice":"Creates an instance of the OptimismMintableERC20 contract."},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{"notice":"Creates an instance of the OptimismMintableERC20 contract, with specified decimals."},"initialize(address)":{"notice":"Initializes the contract."},"version()":{"notice":"The semver MUST be bumped any time that there is a change in the OptimismMintableERC20 token contract since this contract is responsible for deploying OptimismMintableERC20 contracts.Semantic version."}},"notice":"OptimismMintableERC20Factory is a factory contract that generates OptimismMintableERC20 contracts on the network it\'s deployed to. Simplifies the deployment process for users who may be less familiar with deploying smart contracts. Designed to be backwards compatible with the older StandardL2ERC20Factory contract.","version":1}},"settings":{"compilationTarget":{"src/universal/OptimismMintableERC20Factory.sol":"OptimismMintableERC20Factory"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/OptimismMintableERC20Factory.sol":{"keccak256":"0xb508dc7b6f7fbf6e7156a11ae7a1e6ceed86f627c82b94d4f37dd98691b5e00f","license":"MIT","urls":["bzz-raw://5e27f27581f94a983c92809aeda85232e37e1de4552777fbf734c9a0fd84a5a9","dweb:/ipfs/QmVNzxCwipUN2UgcrYf8n7Ei7y6uE76cCYcorAwRg96Kp3"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"deployer",type:"address",indexed:!1}],type:"event",name:"OptimismMintableERC20Created",anonymous:!1},{inputs:[{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"localToken",type:"address",indexed:!0}],type:"event",name:"StandardL2TokenCreated",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"BRIDGE",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"bridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],stateMutability:"nonpayable",type:"function",name:"createOptimismMintableERC20",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"},{internalType:"uint8",name:"_decimals",type:"uint8"}],stateMutability:"nonpayable",type:"function",name:"createOptimismMintableERC20WithDecimals",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],stateMutability:"nonpayable",type:"function",name:"createStandardL2Token",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_bridge",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"BRIDGE()":{"custom:legacy":"",returns:{_0:"Address of the StandardBridge on this chain."}},"createOptimismMintableERC20(address,string,string)":{params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{params:{_decimals:"ERC20 decimals",_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createStandardL2Token(address,string,string)":{"custom:legacy":"@notice Creates an instance of the OptimismMintableERC20 contract. Legacy version of the newer createOptimismMintableERC20 function, which has a more intuitive name.",params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"initialize(address)":{params:{_bridge:"Address of the StandardBridge on this chain."}}},version:1},userdoc:{kind:"user",methods:{"BRIDGE()":{notice:"Getter function for the address of the StandardBridge on this chain. Public getter is legacy and will be removed in the future. Use `bridge` instead."},"bridge()":{notice:"Address of the StandardBridge on this chain."},constructor:{notice:"Constructs the OptimismMintableERC20Factory contract."},"createOptimismMintableERC20(address,string,string)":{notice:"Creates an instance of the OptimismMintableERC20 contract."},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{notice:"Creates an instance of the OptimismMintableERC20 contract, with specified decimals."},"initialize(address)":{notice:"Initializes the contract."},"version()":{notice:"The semver MUST be bumped any time that there is a change in the OptimismMintableERC20 token contract since this contract is responsible for deploying OptimismMintableERC20 contracts.Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/universal/OptimismMintableERC20Factory.sol":"OptimismMintableERC20Factory"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/OptimismMintableERC20Factory.sol":{keccak256:"0xb508dc7b6f7fbf6e7156a11ae7a1e6ceed86f627c82b94d4f37dd98691b5e00f",urls:["bzz-raw://5e27f27581f94a983c92809aeda85232e37e1de4552777fbf734c9a0fd84a5a9","dweb:/ipfs/QmVNzxCwipUN2UgcrYf8n7Ei7y6uE76cCYcorAwRg96Kp3"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:106271,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:106274,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"bridge",offset:0,slot:"1",type:"t_address"},{astId:106279,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"__gap",offset:0,slot:"2",type:"t_array(t_uint256)49_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"BRIDGE()":{notice:"Getter function for the address of the StandardBridge on this chain. Public getter is legacy and will be removed in the future. Use `bridge` instead."},"bridge()":{notice:"Address of the StandardBridge on this chain."},constructor:{notice:"Constructs the OptimismMintableERC20Factory contract."},"createOptimismMintableERC20(address,string,string)":{notice:"Creates an instance of the OptimismMintableERC20 contract."},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{notice:"Creates an instance of the OptimismMintableERC20 contract, with specified decimals."},"initialize(address)":{notice:"Initializes the contract."},"version()":{notice:"The semver MUST be bumped any time that there is a change in the OptimismMintableERC20 token contract since this contract is responsible for deploying OptimismMintableERC20 contracts.Semantic version."}},events:{"OptimismMintableERC20Created(address,address,address)":{notice:"Emitted whenever a new OptimismMintableERC20 is created."}},notice:"OptimismMintableERC20Factory is a factory contract that generates OptimismMintableERC20 contracts on the network it's deployed to. Simplifies the deployment process for users who may be less familiar with deploying smart contracts. Designed to be backwards compatible with the older StandardL2ERC20Factory contract."},devdoc:{version:1,kind:"dev",methods:{"BRIDGE()":{returns:{_0:"Address of the StandardBridge on this chain."}},"createOptimismMintableERC20(address,string,string)":{params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{params:{_decimals:"ERC20 decimals",_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createStandardL2Token(address,string,string)":{params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"initialize(address)":{params:{_bridge:"Address of the StandardBridge on this chain."}}},events:{"OptimismMintableERC20Created(address,address,address)":{params:{deployer:"Address of the account that deployed the token.",localToken:"Address of the created token on the local chain.",remoteToken:"Address of the corresponding token on the remote chain."}},"StandardL2TokenCreated(address,address)":{params:{localToken:"Address of the created token on the local chain.",remoteToken:"Address of the token on the remote chain."}}},title:"OptimismMintableERC20Factory"},id:225}});var UKe=D((Jca,PHt)=>{PHt.exports={abi:[{type:"constructor",inputs:[{name:"_owner",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"addressManager",inputs:[],outputs:[{name:"",type:"address",internalType:"contract AddressManager"}],stateMutability:"view"},{type:"function",name:"changeProxyAdmin",inputs:[{name:"_proxy",type:"address",internalType:"address payable"},{name:"_newAdmin",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getProxyAdmin",inputs:[{name:"_proxy",type:"address",internalType:"address payable"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getProxyImplementation",inputs:[{name:"_proxy",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"implementationName",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"isUpgrading",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"proxyType",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint8",internalType:"enum ProxyAdmin.ProxyType"}],stateMutability:"view"},{type:"function",name:"renounceOwnership",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setAddress",inputs:[{name:"_name",type:"string",internalType:"string"},{name:"_address",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setAddressManager",inputs:[{name:"_address",type:"address",internalType:"contract AddressManager"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setImplementationName",inputs:[{name:"_address",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setProxyType",inputs:[{name:"_address",type:"address",internalType:"address"},{name:"_type",type:"uint8",internalType:"enum ProxyAdmin.ProxyType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setUpgrading",inputs:[{name:"_upgrading",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"transferOwnership",inputs:[{name:"newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"upgrade",inputs:[{name:"_proxy",type:"address",internalType:"address payable"},{name:"_implementation",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"upgradeAndCall",inputs:[{name:"_proxy",type:"address",internalType:"address payable"},{name:"_implementation",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"event",name:"OwnershipTransferred",inputs:[{name:"previousOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b5060405162001a5f38038062001a5f8339810160408190526200003491620000a1565b6200003f3362000051565b6200004a8162000051565b50620000d3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620000b457600080fd5b81516001600160a01b0381168114620000cc57600080fd5b9392505050565b61197c80620000e36000396000f3fe60806040526004361061010e5760003560e01c8063860f7cda116100a557806399a88ec411610074578063b794726211610059578063b794726214610329578063f2fde38b14610364578063f3b7dead1461038457600080fd5b806399a88ec4146102e95780639b2ea4bd1461030957600080fd5b8063860f7cda1461026b5780638d52d4a01461028b5780638da5cb5b146102ab5780639623609d146102d657600080fd5b80633ab76e9f116100e15780633ab76e9f146101cc5780636bd9f516146101f9578063715018a6146102365780637eff275e1461024b57600080fd5b80630652b57a1461011357806307c8f7b014610135578063204e1c7a14610155578063238181ae1461019f575b600080fd5b34801561011f57600080fd5b5061013361012e3660046111f9565b6103a4565b005b34801561014157600080fd5b50610133610150366004611216565b6103f3565b34801561016157600080fd5b506101756101703660046111f9565b610445565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101ab57600080fd5b506101bf6101ba3660046111f9565b61066b565b60405161019691906112ae565b3480156101d857600080fd5b506003546101759073ffffffffffffffffffffffffffffffffffffffff1681565b34801561020557600080fd5b506102296102143660046111f9565b60016020526000908152604090205460ff1681565b60405161019691906112f0565b34801561024257600080fd5b50610133610705565b34801561025757600080fd5b50610133610266366004611331565b610719565b34801561027757600080fd5b5061013361028636600461148c565b6108cc565b34801561029757600080fd5b506101336102a63660046114dc565b610903565b3480156102b757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610175565b6101336102e436600461150e565b610977565b3480156102f557600080fd5b50610133610304366004611331565b610b8e565b34801561031557600080fd5b50610133610324366004611584565b610e1e565b34801561033557600080fd5b5060035474010000000000000000000000000000000000000000900460ff166040519015158152602001610196565b34801561037057600080fd5b5061013361037f3660046111f9565b610eb4565b34801561039057600080fd5b5061017561039f3660046111f9565b610f6b565b6103ac6110e1565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6103fb6110e1565b6003805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610481576104816112c1565b036104fc578273ffffffffffffffffffffffffffffffffffffffff16635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f591906115cb565b9392505050565b6001816002811115610510576105106112c1565b03610560578273ffffffffffffffffffffffffffffffffffffffff1663aaf10f426040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6002816002811115610574576105746112c1565b036105fe5760035473ffffffffffffffffffffffffffffffffffffffff8481166000908152600260205260409081902090517fbf40fac1000000000000000000000000000000000000000000000000000000008152919092169163bf40fac1916105e19190600401611635565b602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f50726f787941646d696e3a20756e6b6e6f776e2070726f78792074797065000060448201526064015b60405180910390fd5b50919050565b60026020526000908152604090208054610684906115e8565b80601f01602080910402602001604051908101604052809291908181526020018280546106b0906115e8565b80156106fd5780601f106106d2576101008083540402835291602001916106fd565b820191906000526020600020905b8154815290600101906020018083116106e057829003601f168201915b505050505081565b61070d6110e1565b6107176000611162565b565b6107216110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff169081600281111561075d5761075d6112c1565b036107e9576040517f8f28397000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690638f283970906024015b600060405180830381600087803b1580156107cc57600080fd5b505af11580156107e0573d6000803e3d6000fd5b50505050505050565b60018160028111156107fd576107fd6112c1565b03610856576040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301528416906313af4035906024016107b2565b600281600281111561086a5761086a6112c1565b036105fe576003546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301529091169063f2fde38b906024016107b2565b505050565b6108d46110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604090206108c78282611724565b61090b6110e1565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160208190526040909120805483927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009091169083600281111561096e5761096e6112c1565b02179055505050565b61097f6110e1565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081205460ff16908160028111156109bb576109bb6112c1565b03610a81576040517f4f1ef28600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851690634f1ef286903490610a16908790879060040161183e565b60006040518083038185885af1158015610a34573d6000803e3d6000fd5b50505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610a7b9190810190611875565b50610b88565b610a8b8484610b8e565b60008473ffffffffffffffffffffffffffffffffffffffff163484604051610ab391906118ec565b60006040518083038185875af1925050503d8060008114610af0576040519150601f19603f3d011682016040523d82523d6000602084013e610af5565b606091505b5050905080610b86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f50726f787941646d696e3a2063616c6c20746f2070726f78792061667465722060448201527f75706772616465206661696c6564000000000000000000000000000000000000606482015260840161065c565b505b50505050565b610b966110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff1690816002811115610bd257610bd26112c1565b03610c2b576040517f3659cfe600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690633659cfe6906024016107b2565b6001816002811115610c3f57610c3f6112c1565b03610cbe576040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc600482015273ffffffffffffffffffffffffffffffffffffffff8381166024830152841690639b0b0fda906044016107b2565b6002816002811115610cd257610cd26112c1565b03610e165773ffffffffffffffffffffffffffffffffffffffff831660009081526002602052604081208054610d07906115e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d33906115e8565b8015610d805780601f10610d5557610100808354040283529160200191610d80565b820191906000526020600020905b815481529060010190602001808311610d6357829003601f168201915b50506003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815294955073ffffffffffffffffffffffffffffffffffffffff1693639b2ea4bd9350610dde92508591508790600401611908565b600060405180830381600087803b158015610df857600080fd5b505af1158015610e0c573d6000803e3d6000fd5b5050505050505050565b6108c7611940565b610e266110e1565b6003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b2ea4bd90610e7e9085908590600401611908565b600060405180830381600087803b158015610e9857600080fd5b505af1158015610eac573d6000803e3d6000fd5b505050505050565b610ebc6110e1565b73ffffffffffffffffffffffffffffffffffffffff8116610f5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161065c565b610f6881611162565b50565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610fa757610fa76112c1565b03610ff7578273ffffffffffffffffffffffffffffffffffffffff1663f851a4406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600181600281111561100b5761100b6112c1565b0361105b578273ffffffffffffffffffffffffffffffffffffffff1663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600281600281111561106f5761106f6112c1565b036105fe57600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161065c565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff81168114610f6857600080fd5b60006020828403121561120b57600080fd5b81356104f5816111d7565b60006020828403121561122857600080fd5b813580151581146104f557600080fd5b60005b8381101561125357818101518382015260200161123b565b83811115610b885750506000910152565b6000815180845261127c816020860160208601611238565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104f56020830184611264565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b602081016003831061132b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b6000806040838503121561134457600080fd5b823561134f816111d7565b9150602083013561135f816111d7565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156113e0576113e061136a565b604052919050565b600067ffffffffffffffff8211156114025761140261136a565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600061144161143c846113e8565b611399565b905082815283838301111561145557600080fd5b828260208301376000602084830101529392505050565b600082601f83011261147d57600080fd5b6104f58383356020850161142e565b6000806040838503121561149f57600080fd5b82356114aa816111d7565b9150602083013567ffffffffffffffff8111156114c657600080fd5b6114d28582860161146c565b9150509250929050565b600080604083850312156114ef57600080fd5b82356114fa816111d7565b915060208301356003811061135f57600080fd5b60008060006060848603121561152357600080fd5b833561152e816111d7565b9250602084013561153e816111d7565b9150604084013567ffffffffffffffff81111561155a57600080fd5b8401601f8101861361156b57600080fd5b61157a8682356020840161142e565b9150509250925092565b6000806040838503121561159757600080fd5b823567ffffffffffffffff8111156115ae57600080fd5b6115ba8582860161146c565b925050602083013561135f816111d7565b6000602082840312156115dd57600080fd5b81516104f5816111d7565b600181811c908216806115fc57607f821691505b602082108103610665577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000602080835260008454611649816115e8565b8084870152604060018084166000811461166a57600181146116a2576116d0565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838a01528284151560051b8a010195506116d0565b896000528660002060005b858110156116c85781548b82018601529083019088016116ad565b8a0184019650505b509398975050505050505050565b601f8211156108c757600081815260208120601f850160051c810160208610156117055750805b601f850160051c820191505b81811015610eac57828155600101611711565b815167ffffffffffffffff81111561173e5761173e61136a565b6117528161174c84546115e8565b846116de565b602080601f8311600181146117a5576000841561176f5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555610eac565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156117f2578886015182559484019460019091019084016117d3565b508582101561182e57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b73ffffffffffffffffffffffffffffffffffffffff8316815260406020820152600061186d6040830184611264565b949350505050565b60006020828403121561188757600080fd5b815167ffffffffffffffff81111561189e57600080fd5b8201601f810184136118af57600080fd5b80516118bd61143c826113e8565b8181528560208385010111156118d257600080fd5b6118e3826020830160208601611238565b95945050505050565b600082516118fe818460208701611238565b9190910192915050565b60408152600061191b6040830185611264565b905073ffffffffffffffffffffffffffffffffffffffff831660208301529392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fdfea164736f6c634300080f000a",sourceMap:"1241:8036:229:-:0;;;2494:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;936:32:38;719:10:58;936:18:38;:32::i;:::-;2542:26:229::1;2561:6:::0;2542:18:::1;:26::i;:::-;2494:81:::0;1241:8036;;2433:187:38;2506:16;2525:6;;-1:-1:-1;;;;;2541:17:38;;;-1:-1:-1;;;;;;2541:17:38;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;14:290:350:-;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;179:16;;-1:-1:-1;;;;;224:31:350;;214:42;;204:70;;270:1;267;260:12;204:70;293:5;14:290;-1:-1:-1;;;14:290:350:o;:::-;1241:8036:229;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061010e5760003560e01c8063860f7cda116100a557806399a88ec411610074578063b794726211610059578063b794726214610329578063f2fde38b14610364578063f3b7dead1461038457600080fd5b806399a88ec4146102e95780639b2ea4bd1461030957600080fd5b8063860f7cda1461026b5780638d52d4a01461028b5780638da5cb5b146102ab5780639623609d146102d657600080fd5b80633ab76e9f116100e15780633ab76e9f146101cc5780636bd9f516146101f9578063715018a6146102365780637eff275e1461024b57600080fd5b80630652b57a1461011357806307c8f7b014610135578063204e1c7a14610155578063238181ae1461019f575b600080fd5b34801561011f57600080fd5b5061013361012e3660046111f9565b6103a4565b005b34801561014157600080fd5b50610133610150366004611216565b6103f3565b34801561016157600080fd5b506101756101703660046111f9565b610445565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101ab57600080fd5b506101bf6101ba3660046111f9565b61066b565b60405161019691906112ae565b3480156101d857600080fd5b506003546101759073ffffffffffffffffffffffffffffffffffffffff1681565b34801561020557600080fd5b506102296102143660046111f9565b60016020526000908152604090205460ff1681565b60405161019691906112f0565b34801561024257600080fd5b50610133610705565b34801561025757600080fd5b50610133610266366004611331565b610719565b34801561027757600080fd5b5061013361028636600461148c565b6108cc565b34801561029757600080fd5b506101336102a63660046114dc565b610903565b3480156102b757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610175565b6101336102e436600461150e565b610977565b3480156102f557600080fd5b50610133610304366004611331565b610b8e565b34801561031557600080fd5b50610133610324366004611584565b610e1e565b34801561033557600080fd5b5060035474010000000000000000000000000000000000000000900460ff166040519015158152602001610196565b34801561037057600080fd5b5061013361037f3660046111f9565b610eb4565b34801561039057600080fd5b5061017561039f3660046111f9565b610f6b565b6103ac6110e1565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6103fb6110e1565b6003805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610481576104816112c1565b036104fc578273ffffffffffffffffffffffffffffffffffffffff16635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f591906115cb565b9392505050565b6001816002811115610510576105106112c1565b03610560578273ffffffffffffffffffffffffffffffffffffffff1663aaf10f426040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6002816002811115610574576105746112c1565b036105fe5760035473ffffffffffffffffffffffffffffffffffffffff8481166000908152600260205260409081902090517fbf40fac1000000000000000000000000000000000000000000000000000000008152919092169163bf40fac1916105e19190600401611635565b602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f50726f787941646d696e3a20756e6b6e6f776e2070726f78792074797065000060448201526064015b60405180910390fd5b50919050565b60026020526000908152604090208054610684906115e8565b80601f01602080910402602001604051908101604052809291908181526020018280546106b0906115e8565b80156106fd5780601f106106d2576101008083540402835291602001916106fd565b820191906000526020600020905b8154815290600101906020018083116106e057829003601f168201915b505050505081565b61070d6110e1565b6107176000611162565b565b6107216110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff169081600281111561075d5761075d6112c1565b036107e9576040517f8f28397000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690638f283970906024015b600060405180830381600087803b1580156107cc57600080fd5b505af11580156107e0573d6000803e3d6000fd5b50505050505050565b60018160028111156107fd576107fd6112c1565b03610856576040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301528416906313af4035906024016107b2565b600281600281111561086a5761086a6112c1565b036105fe576003546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301529091169063f2fde38b906024016107b2565b505050565b6108d46110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604090206108c78282611724565b61090b6110e1565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160208190526040909120805483927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009091169083600281111561096e5761096e6112c1565b02179055505050565b61097f6110e1565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081205460ff16908160028111156109bb576109bb6112c1565b03610a81576040517f4f1ef28600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851690634f1ef286903490610a16908790879060040161183e565b60006040518083038185885af1158015610a34573d6000803e3d6000fd5b50505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610a7b9190810190611875565b50610b88565b610a8b8484610b8e565b60008473ffffffffffffffffffffffffffffffffffffffff163484604051610ab391906118ec565b60006040518083038185875af1925050503d8060008114610af0576040519150601f19603f3d011682016040523d82523d6000602084013e610af5565b606091505b5050905080610b86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f50726f787941646d696e3a2063616c6c20746f2070726f78792061667465722060448201527f75706772616465206661696c6564000000000000000000000000000000000000606482015260840161065c565b505b50505050565b610b966110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff1690816002811115610bd257610bd26112c1565b03610c2b576040517f3659cfe600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690633659cfe6906024016107b2565b6001816002811115610c3f57610c3f6112c1565b03610cbe576040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc600482015273ffffffffffffffffffffffffffffffffffffffff8381166024830152841690639b0b0fda906044016107b2565b6002816002811115610cd257610cd26112c1565b03610e165773ffffffffffffffffffffffffffffffffffffffff831660009081526002602052604081208054610d07906115e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d33906115e8565b8015610d805780601f10610d5557610100808354040283529160200191610d80565b820191906000526020600020905b815481529060010190602001808311610d6357829003601f168201915b50506003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815294955073ffffffffffffffffffffffffffffffffffffffff1693639b2ea4bd9350610dde92508591508790600401611908565b600060405180830381600087803b158015610df857600080fd5b505af1158015610e0c573d6000803e3d6000fd5b5050505050505050565b6108c7611940565b610e266110e1565b6003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b2ea4bd90610e7e9085908590600401611908565b600060405180830381600087803b158015610e9857600080fd5b505af1158015610eac573d6000803e3d6000fd5b505050505050565b610ebc6110e1565b73ffffffffffffffffffffffffffffffffffffffff8116610f5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161065c565b610f6881611162565b50565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610fa757610fa76112c1565b03610ff7578273ffffffffffffffffffffffffffffffffffffffff1663f851a4406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600181600281111561100b5761100b6112c1565b0361105b578273ffffffffffffffffffffffffffffffffffffffff1663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600281600281111561106f5761106f6112c1565b036105fe57600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161065c565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff81168114610f6857600080fd5b60006020828403121561120b57600080fd5b81356104f5816111d7565b60006020828403121561122857600080fd5b813580151581146104f557600080fd5b60005b8381101561125357818101518382015260200161123b565b83811115610b885750506000910152565b6000815180845261127c816020860160208601611238565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104f56020830184611264565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b602081016003831061132b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b6000806040838503121561134457600080fd5b823561134f816111d7565b9150602083013561135f816111d7565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156113e0576113e061136a565b604052919050565b600067ffffffffffffffff8211156114025761140261136a565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600061144161143c846113e8565b611399565b905082815283838301111561145557600080fd5b828260208301376000602084830101529392505050565b600082601f83011261147d57600080fd5b6104f58383356020850161142e565b6000806040838503121561149f57600080fd5b82356114aa816111d7565b9150602083013567ffffffffffffffff8111156114c657600080fd5b6114d28582860161146c565b9150509250929050565b600080604083850312156114ef57600080fd5b82356114fa816111d7565b915060208301356003811061135f57600080fd5b60008060006060848603121561152357600080fd5b833561152e816111d7565b9250602084013561153e816111d7565b9150604084013567ffffffffffffffff81111561155a57600080fd5b8401601f8101861361156b57600080fd5b61157a8682356020840161142e565b9150509250925092565b6000806040838503121561159757600080fd5b823567ffffffffffffffff8111156115ae57600080fd5b6115ba8582860161146c565b925050602083013561135f816111d7565b6000602082840312156115dd57600080fd5b81516104f5816111d7565b600181811c908216806115fc57607f821691505b602082108103610665577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000602080835260008454611649816115e8565b8084870152604060018084166000811461166a57600181146116a2576116d0565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838a01528284151560051b8a010195506116d0565b896000528660002060005b858110156116c85781548b82018601529083019088016116ad565b8a0184019650505b509398975050505050505050565b601f8211156108c757600081815260208120601f850160051c810160208610156117055750805b601f850160051c820191505b81811015610eac57828155600101611711565b815167ffffffffffffffff81111561173e5761173e61136a565b6117528161174c84546115e8565b846116de565b602080601f8311600181146117a5576000841561176f5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555610eac565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156117f2578886015182559484019460019091019084016117d3565b508582101561182e57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b73ffffffffffffffffffffffffffffffffffffffff8316815260406020820152600061186d6040830184611264565b949350505050565b60006020828403121561188757600080fd5b815167ffffffffffffffff81111561189e57600080fd5b8201601f810184136118af57600080fd5b80516118bd61143c826113e8565b8181528560208385010111156118d257600080fd5b6118e3826020830160208601611238565b95945050505050565b600082516118fe818460208701611238565b9190910192915050565b60408152600061191b6040830185611264565b905073ffffffffffffffffffffffffffffffffffffffff831660208301529392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fdfea164736f6c634300080f000a",sourceMap:"1241:8036:229:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3571:113;;;;;;;;;;-1:-1:-1;3571:113:229;;;;;:::i;:::-;;:::i;:::-;;4430:97;;;;;;;;;;-1:-1:-1;4430:97:229;;;;;:::i;:::-;;:::i;5236:569::-;;;;;;;;;;-1:-1:-1;5236:569:229;;;;;:::i;:::-;;:::i;:::-;;;1203:42:350;1191:55;;;1173:74;;1161:2;1146:18;5236:569:229;;;;;;;;2087:52;;;;;;;;;;-1:-1:-1;2087:52:229;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2273:36::-;;;;;;;;;;-1:-1:-1;2273:36:229;;;;;;;;1760:46;;;;;;;;;;-1:-1:-1;1760:46:229;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;1831:101:38:-;;;;;;;;;;;;;:::i;6689:531:229:-;;;;;;;;;;-1:-1:-1;6689:531:229;;;;;:::i;:::-;;:::i;3219:142::-;;;;;;;;;;-1:-1:-1;3219:142:229;;;;;:::i;:::-;;:::i;2796:120::-;;;;;;;;;;-1:-1:-1;2796:120:229;;;;;:::i;:::-;;:::i;1201:85:38:-;;;;;;;;;;-1:-1:-1;1247:7:38;1273:6;;;1201:85;;8644:631:229;;;;;;:::i;:::-;;:::i;7423:816::-;;;;;;;;;;-1:-1:-1;7423:816:229;;;;;:::i;:::-;;:::i;4126:137::-;;;;;;;;;;-1:-1:-1;4126:137:229;;;;;:::i;:::-;;:::i;4941:85::-;;;;;;;;;;-1:-1:-1;5010:9:229;;;;;;;4941:85;;7026:14:350;;7019:22;7001:41;;6989:2;6974:18;4941:85:229;6861:187:350;2081:198:38;;;;;;;;;;-1:-1:-1;2081:198:38;;;;;:::i;:::-;;:::i;5988:519:229:-;;;;;;;;;;-1:-1:-1;5988:519:229;;;;;:::i;:::-;;:::i;3571:113::-;1094:13:38;:11;:13::i;:::-;3652:14:229::1;:25:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;3571:113::o;4430:97::-;1094:13:38;:11;:13::i;:::-;4498:9:229::1;:22:::0;;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;4430:97::o;5236:569::-;5344:17;;;5307:7;5344:17;;;:9;:17;;;;;;;;5307:7;5375:5;:26;;;;;;;;:::i;:::-;;5371:428;;5444:6;5424:42;;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5417:51;5236:569;-1:-1:-1;;;5236:569:229:o;5371:428::-;5498:20;5489:5;:29;;;;;;;;:::i;:::-;;5485:314;;5566:6;5541:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5485:314;5623:18;5614:5;:27;;;;;;;;:::i;:::-;;5610:189;;5664:14;;;5690:26;;;5664:14;5690:26;;;:18;:26;;;;;;;5664:53;;;;;:14;;;;;:25;;:53;;5690:26;5664:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;5610:189;5748:40;;;;;9397:2:350;5748:40:229;;;9379:21:350;9436:2;9416:18;;;9409:30;9475:32;9455:18;;;9448:60;9525:18;;5748:40:229;;;;;;;;5610:189;5316:489;5236:569;;;:::o;2087:52::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1831:101:38:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;6689:531:229:-;1094:13:38;:11;:13::i;:::-;6805:17:229::1;::::0;::::1;6787:15;6805:17:::0;;;:9:::1;:17;::::0;;;;;::::1;;::::0;6836:5:::1;:26;;;;;;;;:::i;:::-;::::0;6832:382:::1;;6878:36;::::0;;;;:25:::1;1191:55:350::0;;;6878:36:229::1;::::0;::::1;1173:74:350::0;6878:25:229;::::1;::::0;::::1;::::0;1146:18:350;;6878:36:229::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;6777:443;6689:531:::0;;:::o;6832:382::-:1;6944:20;6935:5;:29;;;;;;;;:::i;:::-;::::0;6931:283:::1;;6980:45;::::0;;;;:34:::1;1191:55:350::0;;;6980:45:229::1;::::0;::::1;1173:74:350::0;6980:34:229;::::1;::::0;::::1;::::0;1146:18:350;;6980:45:229::1;1027:226:350::0;6931:283:229::1;7055:18;7046:5;:27;;;;;;;;:::i;:::-;::::0;7042:172:::1;;7089:14;::::0;:43:::1;::::0;;;;:14:::1;1191:55:350::0;;;7089:43:229::1;::::0;::::1;1173:74:350::0;7089:14:229;;::::1;::::0;:32:::1;::::0;1146:18:350;;7089:43:229::1;1027:226:350::0;7042:172:229::1;6777:443;6689:531:::0;;:::o;3219:142::-;1094:13:38;:11;:13::i;:::-;3318:28:229::1;::::0;::::1;;::::0;;;:18:::1;:28;::::0;;;;:36:::1;3349:5:::0;3318:28;:36:::1;:::i;2796:120::-:0;1094:13:38;:11;:13::i;:::-;2882:19:229::1;::::0;::::1;;::::0;;;:9:::1;:19;::::0;;;;;;;:27;;2904:5;;2882:27;;;::::1;::::0;2904:5;2882:27:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;2796:120:::0;;:::o;8644:631::-;1094:13:38;:11;:13::i;:::-;8850:17:229::1;::::0;::::1;8832:15;8850:17:::0;;;:9:::1;:17;::::0;;;;;::::1;;::::0;8881:5:::1;:26;;;;;;;;:::i;:::-;::::0;8877:392:::1;;8923:74;::::0;;;;:30:::1;::::0;::::1;::::0;::::1;::::0;8962:9:::1;::::0;8923:74:::1;::::0;8974:15;;8991:5;;8923:74:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;;8877:392;;;9076:32;9084:6;9092:15;9076:7;:32::i;:::-;9123:12;9140:6;:11;;9160:9;9172:5;9140:38;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9122:56;;;9200:7;9192:66;;;::::0;::::1;::::0;;13275:2:350;9192:66:229::1;::::0;::::1;13257:21:350::0;13314:2;13294:18;;;13287:30;13353:34;13333:18;;;13326:62;13424:16;13404:18;;;13397:44;13458:19;;9192:66:229::1;13073:410:350::0;9192:66:229::1;9014:255;8877:392;8822:453;8644:631:::0;;;:::o;7423:816::-;1094:13:38;:11;:13::i;:::-;7534:17:229::1;::::0;::::1;7516:15;7534:17:::0;;;:9:::1;:17;::::0;;;;;::::1;;::::0;7565:5:::1;:26;;;;;;;;:::i;:::-;::::0;7561:672:::1;;7607:40;::::0;;;;:23:::1;1191:55:350::0;;;7607:40:229::1;::::0;::::1;1173:74:350::0;7607:23:229;::::1;::::0;::::1;::::0;1146:18:350;;7607:40:229::1;1027:226:350::0;7561:672:229::1;7677:20;7668:5;:29;;;;;;;;:::i;:::-;::::0;7664:569:::1;;7713:150;::::0;;;;1614:66:188::1;7713:150:229;::::0;::::1;13662:25:350::0;7713:36:229::1;7815:33:::0;;::::1;13703:18:350::0;;;13696:34;7713:36:229;::::1;::::0;::::1;::::0;13635:18:350;;7713:150:229::1;13488:248:350::0;7664:569:229::1;7893:18;7884:5;:27;;;;;;;;:::i;:::-;::::0;7880:353:::1;;7948:26;::::0;::::1;7927:18;7948:26:::0;;;:18:::1;:26;::::0;;;;7927:47;;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;7988:14:229::1;::::0;:48:::1;::::0;;;;7927:47;;-1:-1:-1;7988:14:229::1;;::::0;:25:::1;::::0;-1:-1:-1;7988:48:229::1;::::0;-1:-1:-1;7927:47:229;;-1:-1:-1;8020:15:229;;7988:48:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;7913:134;6777:443;6689:531:::0;;:::o;7880:353::-:1;8209:13;;:::i;4126:137::-:0;1094:13:38;:11;:13::i;:::-;4214:14:229::1;::::0;:42:::1;::::0;;;;:14:::1;::::0;;::::1;::::0;:25:::1;::::0;:42:::1;::::0;4240:5;;4247:8;;4214:42:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4126:137:::0;;:::o;2081:198:38:-;1094:13;:11;:13::i;:::-;2169:22:::1;::::0;::::1;2161:73;;;::::0;::::1;::::0;;14477:2:350;2161:73:38::1;::::0;::::1;14459:21:350::0;14516:2;14496:18;;;14489:30;14555:34;14535:18;;;14528:62;14626:8;14606:18;;;14599:36;14652:19;;2161:73:38::1;14275:402:350::0;2161:73:38::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;5988:519:229:-;6095:17;;;6058:7;6095:17;;;:9;:17;;;;;;;;6058:7;6126:5;:26;;;;;;;;:::i;:::-;;6122:379;;6195:6;6175:33;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6122:379;6240:20;6231:5;:29;;;;;;;;:::i;:::-;;6227:274;;6308:6;6283:41;;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6227:274;6356:18;6347:5;:27;;;;;;;;:::i;:::-;;6343:158;;6397:14;;;;;;;;;;;:20;;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1359:130:38;1247:7;1273:6;1422:23;1273:6;719:10:58;1422:23:38;1414:68;;;;;;;14884:2:350;1414:68:38;;;14866:21:350;;;14903:18;;;14896:30;14962:34;14942:18;;;14935:62;15014:18;;1414:68:38;14682:356:350;2433:187:38;2506:16;2525:6;;;2541:17;;;;;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;14:170:350:-;116:42;109:5;105:54;98:5;95:65;85:93;;174:1;171;164:12;189:287;272:6;325:2;313:9;304:7;300:23;296:32;293:52;;;341:1;338;331:12;293:52;380:9;367:23;399:47;440:5;399:47;:::i;481:273::-;537:6;590:2;578:9;569:7;565:23;561:32;558:52;;;606:1;603;596:12;558:52;645:9;632:23;698:5;691:13;684:21;677:5;674:32;664:60;;720:1;717;710:12;1258:258;1330:1;1340:113;1354:6;1351:1;1348:13;1340:113;;;1430:11;;;1424:18;1411:11;;;1404:39;1376:2;1369:10;1340:113;;;1471:6;1468:1;1465:13;1462:48;;;-1:-1:-1;;1506:1:350;1488:16;;1481:27;1258:258::o;1521:317::-;1563:3;1601:5;1595:12;1628:6;1623:3;1616:19;1644:63;1700:6;1693:4;1688:3;1684:14;1677:4;1670:5;1666:16;1644:63;:::i;:::-;1752:2;1740:15;1757:66;1736:88;1727:98;;;;1827:4;1723:109;;1521:317;-1:-1:-1;;1521:317:350:o;1843:220::-;1992:2;1981:9;1974:21;1955:4;2012:45;2053:2;2042:9;2038:18;2030:6;2012:45;:::i;2323:184::-;2375:77;2372:1;2365:88;2472:4;2469:1;2462:15;2496:4;2493:1;2486:15;2512:401;2660:2;2645:18;;2693:1;2682:13;;2672:201;;2729:77;2726:1;2719:88;2830:4;2827:1;2820:15;2858:4;2855:1;2848:15;2672:201;2882:25;;;2512:401;:::o;2918:428::-;2994:6;3002;3055:2;3043:9;3034:7;3030:23;3026:32;3023:52;;;3071:1;3068;3061:12;3023:52;3110:9;3097:23;3129:47;3170:5;3129:47;:::i;:::-;3195:5;-1:-1:-1;3252:2:350;3237:18;;3224:32;3265:49;3224:32;3265:49;:::i;:::-;3333:7;3323:17;;;2918:428;;;;;:::o;3351:184::-;3403:77;3400:1;3393:88;3500:4;3497:1;3490:15;3524:4;3521:1;3514:15;3540:334;3611:2;3605:9;3667:2;3657:13;;3672:66;3653:86;3641:99;;3770:18;3755:34;;3791:22;;;3752:62;3749:88;;;3817:18;;:::i;:::-;3853:2;3846:22;3540:334;;-1:-1:-1;3540:334:350:o;3879:246::-;3928:4;3961:18;3953:6;3950:30;3947:56;;;3983:18;;:::i;:::-;-1:-1:-1;4040:2:350;4028:15;4045:66;4024:88;4114:4;4020:99;;3879:246::o;4130:338::-;4195:5;4224:53;4240:36;4269:6;4240:36;:::i;:::-;4224:53;:::i;:::-;4215:62;;4300:6;4293:5;4286:21;4340:3;4331:6;4326:3;4322:16;4319:25;4316:45;;;4357:1;4354;4347:12;4316:45;4406:6;4401:3;4394:4;4387:5;4383:16;4370:43;4460:1;4453:4;4444:6;4437:5;4433:18;4429:29;4422:40;4130:338;;;;;:::o;4473:222::-;4516:5;4569:3;4562:4;4554:6;4550:17;4546:27;4536:55;;4587:1;4584;4577:12;4536:55;4609:80;4685:3;4676:6;4663:20;4656:4;4648:6;4644:17;4609:80;:::i;4700:473::-;4778:6;4786;4839:2;4827:9;4818:7;4814:23;4810:32;4807:52;;;4855:1;4852;4845:12;4807:52;4894:9;4881:23;4913:47;4954:5;4913:47;:::i;:::-;4979:5;-1:-1:-1;5035:2:350;5020:18;;5007:32;5062:18;5051:30;;5048:50;;;5094:1;5091;5084:12;5048:50;5117;5159:7;5150:6;5139:9;5135:22;5117:50;:::i;:::-;5107:60;;;4700:473;;;;;:::o;5178:429::-;5262:6;5270;5323:2;5311:9;5302:7;5298:23;5294:32;5291:52;;;5339:1;5336;5329:12;5291:52;5378:9;5365:23;5397:47;5438:5;5397:47;:::i;:::-;5463:5;-1:-1:-1;5520:2:350;5505:18;;5492:32;5555:1;5543:14;;5533:42;;5571:1;5568;5561:12;5612:766;5706:6;5714;5722;5775:2;5763:9;5754:7;5750:23;5746:32;5743:52;;;5791:1;5788;5781:12;5743:52;5830:9;5817:23;5849:47;5890:5;5849:47;:::i;:::-;5915:5;-1:-1:-1;5972:2:350;5957:18;;5944:32;5985:49;5944:32;5985:49;:::i;:::-;6053:7;-1:-1:-1;6111:2:350;6096:18;;6083:32;6138:18;6127:30;;6124:50;;;6170:1;6167;6160:12;6124:50;6193:22;;6246:4;6238:13;;6234:27;-1:-1:-1;6224:55:350;;6275:1;6272;6265:12;6224:55;6298:74;6364:7;6359:2;6346:16;6341:2;6337;6333:11;6298:74;:::i;:::-;6288:84;;;5612:766;;;;;:::o;6383:473::-;6461:6;6469;6522:2;6510:9;6501:7;6497:23;6493:32;6490:52;;;6538:1;6535;6528:12;6490:52;6578:9;6565:23;6611:18;6603:6;6600:30;6597:50;;;6643:1;6640;6633:12;6597:50;6666;6708:7;6699:6;6688:9;6684:22;6666:50;:::i;:::-;6656:60;;;6766:2;6755:9;6751:18;6738:32;6779:47;6820:5;6779:47;:::i;7329:267::-;7399:6;7452:2;7440:9;7431:7;7427:23;7423:32;7420:52;;;7468:1;7465;7458:12;7420:52;7500:9;7494:16;7519:47;7560:5;7519:47;:::i;7601:437::-;7680:1;7676:12;;;;7723;;;7744:61;;7798:4;7790:6;7786:17;7776:27;;7744:61;7851:2;7843:6;7840:14;7820:18;7817:38;7814:218;;7888:77;7885:1;7878:88;7989:4;7986:1;7979:15;8017:4;8014:1;8007:15;8169:1021;8278:4;8307:2;8336;8325:9;8318:21;8359:1;8392:6;8386:13;8422:36;8448:9;8422:36;:::i;:::-;8494:6;8489:2;8478:9;8474:18;8467:34;8520:2;8541:1;8573:2;8562:9;8558:18;8590:1;8585:216;;;;8815:1;8810:354;;;;8551:613;;8585:216;8648:66;8637:9;8633:82;8628:2;8617:9;8613:18;8606:110;8788:2;8776:6;8769:14;8762:22;8759:1;8755:30;8744:9;8740:46;8736:55;8729:62;;8585:216;;8810:354;8841:6;8838:1;8831:17;8889:2;8886:1;8876:16;8914:1;8928:180;8942:6;8939:1;8936:13;8928:180;;;9035:14;;9011:17;;;9007:26;;9000:50;9078:16;;;;8957:10;;8928:180;;;9132:17;;9128:26;;;-1:-1:-1;;8551:613:350;-1:-1:-1;9181:3:350;;8169:1021;-1:-1:-1;;;;;;;;8169:1021:350:o;9554:545::-;9656:2;9651:3;9648:11;9645:448;;;9692:1;9717:5;9713:2;9706:17;9762:4;9758:2;9748:19;9832:2;9820:10;9816:19;9813:1;9809:27;9803:4;9799:38;9868:4;9856:10;9853:20;9850:47;;;-1:-1:-1;9891:4:350;9850:47;9946:2;9941:3;9937:12;9934:1;9930:20;9924:4;9920:31;9910:41;;10001:82;10019:2;10012:5;10009:13;10001:82;;;10064:17;;;10045:1;10034:13;10001:82;;10335:1471;10461:3;10455:10;10488:18;10480:6;10477:30;10474:56;;;10510:18;;:::i;:::-;10539:97;10629:6;10589:38;10621:4;10615:11;10589:38;:::i;:::-;10583:4;10539:97;:::i;:::-;10691:4;;10755:2;10744:14;;10772:1;10767:782;;;;11593:1;11610:6;11607:89;;;-1:-1:-1;11662:19:350;;;11656:26;11607:89;10241:66;10232:1;10228:11;;;10224:84;10220:89;10210:100;10316:1;10312:11;;;10207:117;11709:81;;10737:1063;;10767:782;8116:1;8109:14;;;8153:4;8140:18;;10815:66;10803:79;;;10980:236;10994:7;10991:1;10988:14;10980:236;;;11083:19;;;11077:26;11062:42;;11175:27;;;;11143:1;11131:14;;;;11010:19;;10980:236;;;10984:3;11244:6;11235:7;11232:19;11229:261;;;11305:19;;;11299:26;11406:66;11388:1;11384:14;;;11400:3;11380:24;11376:97;11372:102;11357:118;11342:134;;11229:261;-1:-1:-1;;;;;11536:1:350;11520:14;;;11516:22;11503:36;;-1:-1:-1;10335:1471:350:o;11811:338::-;11998:42;11990:6;11986:55;11975:9;11968:74;12078:2;12073;12062:9;12058:18;12051:30;11949:4;12098:45;12139:2;12128:9;12124:18;12116:6;12098:45;:::i;:::-;12090:53;11811:338;-1:-1:-1;;;;11811:338:350:o;12154:635::-;12233:6;12286:2;12274:9;12265:7;12261:23;12257:32;12254:52;;;12302:1;12299;12292:12;12254:52;12335:9;12329:16;12368:18;12360:6;12357:30;12354:50;;;12400:1;12397;12390:12;12354:50;12423:22;;12476:4;12468:13;;12464:27;-1:-1:-1;12454:55:350;;12505:1;12502;12495:12;12454:55;12534:2;12528:9;12559:49;12575:32;12604:2;12575:32;:::i;12559:49::-;12631:2;12624:5;12617:17;12671:7;12666:2;12661;12657;12653:11;12649:20;12646:33;12643:53;;;12692:1;12689;12682:12;12643:53;12705:54;12756:2;12751;12744:5;12740:14;12735:2;12731;12727:11;12705:54;:::i;:::-;12778:5;12154:635;-1:-1:-1;;;;;12154:635:350:o;12794:274::-;12923:3;12961:6;12955:13;12977:53;13023:6;13018:3;13011:4;13003:6;12999:17;12977:53;:::i;:::-;13046:16;;;;;12794:274;-1:-1:-1;;12794:274:350:o;13741:340::-;13918:2;13907:9;13900:21;13881:4;13938:45;13979:2;13968:9;13964:18;13956:6;13938:45;:::i;:::-;13930:53;;14031:42;14023:6;14019:55;14014:2;14003:9;13999:18;13992:83;13741:340;;;;;:::o;14086:184::-;14138:77;14135:1;14128:88;14235:4;14232:1;14225:15;14259:4;14256:1;14249:15",linkReferences:{}},methodIdentifiers:{"addressManager()":"3ab76e9f","changeProxyAdmin(address,address)":"7eff275e","getProxyAdmin(address)":"f3b7dead","getProxyImplementation(address)":"204e1c7a","implementationName(address)":"238181ae","isUpgrading()":"b7947262","owner()":"8da5cb5b","proxyType(address)":"6bd9f516","renounceOwnership()":"715018a6","setAddress(string,address)":"9b2ea4bd","setAddressManager(address)":"0652b57a","setImplementationName(address,string)":"860f7cda","setProxyType(address,uint8)":"8d52d4a0","setUpgrading(bool)":"07c8f7b0","transferOwnership(address)":"f2fde38b","upgrade(address,address)":"99a88ec4","upgradeAndCall(address,address,bytes)":"9623609d"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"addressManager","outputs":[{"internalType":"contract AddressManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"},{"internalType":"address","name":"_newAdmin","type":"address"}],"name":"changeProxyAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"}],"name":"getProxyAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_proxy","type":"address"}],"name":"getProxyImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"implementationName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isUpgrading","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"proxyType","outputs":[{"internalType":"enum ProxyAdmin.ProxyType","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"address","name":"_address","type":"address"}],"name":"setAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract AddressManager","name":"_address","type":"address"}],"name":"setAddressManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"string","name":"_name","type":"string"}],"name":"setImplementationName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"enum ProxyAdmin.ProxyType","name":"_type","type":"uint8"}],"name":"setProxyType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_upgrading","type":"bool"}],"name":"setUpgrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"},{"internalType":"address","name":"_implementation","type":"address"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"},{"internalType":"address","name":"_implementation","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"upgradeAndCall","outputs":[],"stateMutability":"payable","type":"function"}],"devdoc":{"kind":"dev","methods":{"changeProxyAdmin(address,address)":{"params":{"_newAdmin":"Address of the new proxy admin.","_proxy":"Address of the proxy to update."}},"constructor":{"params":{"_owner":"Address of the initial owner of this contract."}},"getProxyAdmin(address)":{"params":{"_proxy":"Address of the proxy to get the admin of."},"returns":{"_0":"Address of the admin of the proxy."}},"getProxyImplementation(address)":{"params":{"_proxy":"Address of the proxy to get the implementation of."},"returns":{"_0":"Address of the implementation of the proxy."}},"isUpgrading()":{"custom:legacy":"@notice Legacy function used to tell ChugSplashProxy contracts if an upgrade is happening.","returns":{"_0":"Whether or not there is an upgrade going on. May not actually tell you whether an upgrade is going on, since we don\'t currently plan to use this variable for anything other than a legacy indicator to fix a UX bug in the ChugSplash proxy."}},"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setAddress(string,address)":{"custom:legacy":"@notice Set an address in the address manager. Since only the owner of the AddressManager can directly modify addresses and the ProxyAdmin will own the AddressManager, this gives the owner of the ProxyAdmin the ability to modify addresses directly.","params":{"_address":"Address to attach to the given name.","_name":"Name to set within the AddressManager."}},"setAddressManager(address)":{"params":{"_address":"Address of the AddressManager."}},"setImplementationName(address,string)":{"params":{"_address":"Address of the ResolvedDelegateProxy.","_name":"Name of the implementation for the proxy."}},"setProxyType(address,uint8)":{"params":{"_address":"Address of the proxy.","_type":"Type of the proxy."}},"setUpgrading(bool)":{"custom:legacy":"@notice Set the upgrading status for the Chugsplash proxy type.","params":{"_upgrading":"Whether or not the system is upgrading."}},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"upgrade(address,address)":{"params":{"_implementation":"Address of the new implementation address.","_proxy":"Address of the proxy to upgrade."}},"upgradeAndCall(address,address,bytes)":{"params":{"_data":"Data to trigger the new implementation with.","_implementation":"Address of the new implementation address.","_proxy":"Address of the proxy to upgrade."}}},"title":"ProxyAdmin","version":1},"userdoc":{"kind":"user","methods":{"addressManager()":{"notice":"The address of the address manager, this is required to manage the ResolvedDelegateProxy type."},"changeProxyAdmin(address,address)":{"notice":"Updates the admin of the given proxy address."},"getProxyAdmin(address)":{"notice":"Returns the admin of the given proxy address."},"getProxyImplementation(address)":{"notice":"Returns the implementation of the given proxy address."},"implementationName(address)":{"notice":"A reverse mapping of addresses to names held in the AddressManager. This must be manually kept up to date with changes in the AddressManager for this contract to be able to work as an admin for the ResolvedDelegateProxy type."},"proxyType(address)":{"notice":"A mapping of proxy types, used for backwards compatibility."},"setAddressManager(address)":{"notice":"Set the address of the AddressManager. This is required to manage legacy ResolvedDelegateProxy type proxy contracts."},"setImplementationName(address,string)":{"notice":"Sets the implementation name for a given address. Only required for ResolvedDelegateProxy type proxies that have an implementation name."},"setProxyType(address,uint8)":{"notice":"Sets the proxy type for a given address. Only required for non-standard (legacy) proxy types."},"upgrade(address,address)":{"notice":"Changes a proxy\'s implementation contract."},"upgradeAndCall(address,address,bytes)":{"notice":"Changes a proxy\'s implementation contract and delegatecalls the new implementation with some given data. Useful for atomic upgrade-and-initialize calls."}},"notice":"This is an auxiliary contract meant to be assigned as the admin of an ERC1967 Proxy, based on the OpenZeppelin implementation. It has backwards compatibility logic to work with the various types of proxies that have been deployed by Optimism in the past.","version":1}},"settings":{"compilationTarget":{"src/universal/ProxyAdmin.sol":"ProxyAdmin"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"keccak256":"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673","license":"MIT","urls":["bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2","dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/legacy/AddressManager.sol":{"keccak256":"0x1fcb990df6473f7fa360d5924d62d39ce2ca97d45668e3901e5405cfbe598b19","license":"MIT","urls":["bzz-raw://9d08358b60dea54dbc32e988a1bb7ea909488063eaae3c5ae28a322f125c9b34","dweb:/ipfs/QmZPQwdjLh9gaamNAoTUmWwwbRKj3yHovBYfnTPnfuKvUt"]},"src/legacy/L1ChugSplashProxy.sol":{"keccak256":"0xdde5626645fa217ad3a37805c4c3012e4251de01df868aae73b986f5d03cdb23","license":"MIT","urls":["bzz-raw://a99fd0ec440c17c826465001dc88c5185dd41dc72396254fdd3cdfcc84aeae8c","dweb:/ipfs/QmStHuecN89zBL8FH9SUK1TtkyYwfzMY2KkQaFJLHZLuyA"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/universal/Proxy.sol":{"keccak256":"0x4f6f02e154bbb37137bcedcc256bef1e647865c79ec694fcaf5b6968799d7ddc","license":"MIT","urls":["bzz-raw://00df4d4c6f4813c883eb33e1ec812c953840e78237fecf09c5739389c0777223","dweb:/ipfs/QmQ1D5j7EwxBPtbQju55hKFQuruAwm8gnPHUTSXtDFjHUe"]},"src/universal/ProxyAdmin.sol":{"keccak256":"0xd15267cf5ed8c24d5a0f2099b8d470178d7ad729db52be16232eb143620b8dcf","license":"MIT","urls":["bzz-raw://e9300ee0feb16fcf6c06ee541f2496eac533256bd97f79fe2128527d2f096894","dweb:/ipfs/Qme3Md8pGSnjkG94WFXUdi5UF3a47BTQgKCdGmTKcMgcRa"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"previousOwner",type:"address",indexed:!0},{internalType:"address",name:"newOwner",type:"address",indexed:!0}],type:"event",name:"OwnershipTransferred",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"addressManager",outputs:[{internalType:"contract AddressManager",name:"",type:"address"}]},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"},{internalType:"address",name:"_newAdmin",type:"address"}],stateMutability:"nonpayable",type:"function",name:"changeProxyAdmin"},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"}],stateMutability:"view",type:"function",name:"getProxyAdmin",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_proxy",type:"address"}],stateMutability:"view",type:"function",name:"getProxyImplementation",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"implementationName",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"owner",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"proxyType",outputs:[{internalType:"enum ProxyAdmin.ProxyType",name:"",type:"uint8"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"renounceOwnership"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],stateMutability:"nonpayable",type:"function",name:"setAddress"},{inputs:[{internalType:"contract AddressManager",name:"_address",type:"address"}],stateMutability:"nonpayable",type:"function",name:"setAddressManager"},{inputs:[{internalType:"address",name:"_address",type:"address"},{internalType:"string",name:"_name",type:"string"}],stateMutability:"nonpayable",type:"function",name:"setImplementationName"},{inputs:[{internalType:"address",name:"_address",type:"address"},{internalType:"enum ProxyAdmin.ProxyType",name:"_type",type:"uint8"}],stateMutability:"nonpayable",type:"function",name:"setProxyType"},{inputs:[{internalType:"bool",name:"_upgrading",type:"bool"}],stateMutability:"nonpayable",type:"function",name:"setUpgrading"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],stateMutability:"nonpayable",type:"function",name:"transferOwnership"},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"},{internalType:"address",name:"_implementation",type:"address"}],stateMutability:"nonpayable",type:"function",name:"upgrade"},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"},{internalType:"address",name:"_implementation",type:"address"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"upgradeAndCall"}],devdoc:{kind:"dev",methods:{"changeProxyAdmin(address,address)":{params:{_newAdmin:"Address of the new proxy admin.",_proxy:"Address of the proxy to update."}},constructor:{params:{_owner:"Address of the initial owner of this contract."}},"getProxyAdmin(address)":{params:{_proxy:"Address of the proxy to get the admin of."},returns:{_0:"Address of the admin of the proxy."}},"getProxyImplementation(address)":{params:{_proxy:"Address of the proxy to get the implementation of."},returns:{_0:"Address of the implementation of the proxy."}},"isUpgrading()":{"custom:legacy":"@notice Legacy function used to tell ChugSplashProxy contracts if an upgrade is happening.",returns:{_0:"Whether or not there is an upgrade going on. May not actually tell you whether an upgrade is going on, since we don't currently plan to use this variable for anything other than a legacy indicator to fix a UX bug in the ChugSplash proxy."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setAddress(string,address)":{"custom:legacy":"@notice Set an address in the address manager. Since only the owner of the AddressManager can directly modify addresses and the ProxyAdmin will own the AddressManager, this gives the owner of the ProxyAdmin the ability to modify addresses directly.",params:{_address:"Address to attach to the given name.",_name:"Name to set within the AddressManager."}},"setAddressManager(address)":{params:{_address:"Address of the AddressManager."}},"setImplementationName(address,string)":{params:{_address:"Address of the ResolvedDelegateProxy.",_name:"Name of the implementation for the proxy."}},"setProxyType(address,uint8)":{params:{_address:"Address of the proxy.",_type:"Type of the proxy."}},"setUpgrading(bool)":{"custom:legacy":"@notice Set the upgrading status for the Chugsplash proxy type.",params:{_upgrading:"Whether or not the system is upgrading."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"upgrade(address,address)":{params:{_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}},"upgradeAndCall(address,address,bytes)":{params:{_data:"Data to trigger the new implementation with.",_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}}},version:1},userdoc:{kind:"user",methods:{"addressManager()":{notice:"The address of the address manager, this is required to manage the ResolvedDelegateProxy type."},"changeProxyAdmin(address,address)":{notice:"Updates the admin of the given proxy address."},"getProxyAdmin(address)":{notice:"Returns the admin of the given proxy address."},"getProxyImplementation(address)":{notice:"Returns the implementation of the given proxy address."},"implementationName(address)":{notice:"A reverse mapping of addresses to names held in the AddressManager. This must be manually kept up to date with changes in the AddressManager for this contract to be able to work as an admin for the ResolvedDelegateProxy type."},"proxyType(address)":{notice:"A mapping of proxy types, used for backwards compatibility."},"setAddressManager(address)":{notice:"Set the address of the AddressManager. This is required to manage legacy ResolvedDelegateProxy type proxy contracts."},"setImplementationName(address,string)":{notice:"Sets the implementation name for a given address. Only required for ResolvedDelegateProxy type proxies that have an implementation name."},"setProxyType(address,uint8)":{notice:"Sets the proxy type for a given address. Only required for non-standard (legacy) proxy types."},"upgrade(address,address)":{notice:"Changes a proxy's implementation contract."},"upgradeAndCall(address,address,bytes)":{notice:"Changes a proxy's implementation contract and delegatecalls the new implementation with some given data. Useful for atomic upgrade-and-initialize calls."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/universal/ProxyAdmin.sol":"ProxyAdmin"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{keccak256:"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673",urls:["bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2","dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/legacy/AddressManager.sol":{keccak256:"0x1fcb990df6473f7fa360d5924d62d39ce2ca97d45668e3901e5405cfbe598b19",urls:["bzz-raw://9d08358b60dea54dbc32e988a1bb7ea909488063eaae3c5ae28a322f125c9b34","dweb:/ipfs/QmZPQwdjLh9gaamNAoTUmWwwbRKj3yHovBYfnTPnfuKvUt"],license:"MIT"},"src/legacy/L1ChugSplashProxy.sol":{keccak256:"0xdde5626645fa217ad3a37805c4c3012e4251de01df868aae73b986f5d03cdb23",urls:["bzz-raw://a99fd0ec440c17c826465001dc88c5185dd41dc72396254fdd3cdfcc84aeae8c","dweb:/ipfs/QmStHuecN89zBL8FH9SUK1TtkyYwfzMY2KkQaFJLHZLuyA"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/universal/Proxy.sol":{keccak256:"0x4f6f02e154bbb37137bcedcc256bef1e647865c79ec694fcaf5b6968799d7ddc",urls:["bzz-raw://00df4d4c6f4813c883eb33e1ec812c953840e78237fecf09c5739389c0777223","dweb:/ipfs/QmQ1D5j7EwxBPtbQju55hKFQuruAwm8gnPHUTSXtDFjHUe"],license:"MIT"},"src/universal/ProxyAdmin.sol":{keccak256:"0xd15267cf5ed8c24d5a0f2099b8d470178d7ad729db52be16232eb143620b8dcf",urls:["bzz-raw://e9300ee0feb16fcf6c06ee541f2496eac533256bd97f79fe2128527d2f096894","dweb:/ipfs/Qme3Md8pGSnjkG94WFXUdi5UF3a47BTQgKCdGmTKcMgcRa"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47673,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"_owner",offset:0,slot:"0",type:"t_address"},{astId:107093,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"proxyType",offset:0,slot:"1",type:"t_mapping(t_address,t_enum(ProxyType)107087)"},{astId:107098,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"implementationName",offset:0,slot:"2",type:"t_mapping(t_address,t_string_storage)"},{astId:107102,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"addressManager",offset:0,slot:"3",type:"t_contract(AddressManager)98517"},{astId:107105,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"upgrading",offset:20,slot:"3",type:"t_bool"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},"t_contract(AddressManager)98517":{encoding:"inplace",label:"contract AddressManager",numberOfBytes:"20"},"t_enum(ProxyType)107087":{encoding:"inplace",label:"enum ProxyAdmin.ProxyType",numberOfBytes:"1"},"t_mapping(t_address,t_enum(ProxyType)107087)":{encoding:"mapping",key:"t_address",label:"mapping(address => enum ProxyAdmin.ProxyType)",numberOfBytes:"32",value:"t_enum(ProxyType)107087"},"t_mapping(t_address,t_string_storage)":{encoding:"mapping",key:"t_address",label:"mapping(address => string)",numberOfBytes:"32",value:"t_string_storage"},t_string_storage:{encoding:"bytes",label:"string",numberOfBytes:"32"}}},userdoc:{version:1,kind:"user",methods:{"addressManager()":{notice:"The address of the address manager, this is required to manage the ResolvedDelegateProxy type."},"changeProxyAdmin(address,address)":{notice:"Updates the admin of the given proxy address."},"getProxyAdmin(address)":{notice:"Returns the admin of the given proxy address."},"getProxyImplementation(address)":{notice:"Returns the implementation of the given proxy address."},"implementationName(address)":{notice:"A reverse mapping of addresses to names held in the AddressManager. This must be manually kept up to date with changes in the AddressManager for this contract to be able to work as an admin for the ResolvedDelegateProxy type."},"proxyType(address)":{notice:"A mapping of proxy types, used for backwards compatibility."},"setAddressManager(address)":{notice:"Set the address of the AddressManager. This is required to manage legacy ResolvedDelegateProxy type proxy contracts."},"setImplementationName(address,string)":{notice:"Sets the implementation name for a given address. Only required for ResolvedDelegateProxy type proxies that have an implementation name."},"setProxyType(address,uint8)":{notice:"Sets the proxy type for a given address. Only required for non-standard (legacy) proxy types."},"upgrade(address,address)":{notice:"Changes a proxy's implementation contract."},"upgradeAndCall(address,address,bytes)":{notice:"Changes a proxy's implementation contract and delegatecalls the new implementation with some given data. Useful for atomic upgrade-and-initialize calls."}},notice:"This is an auxiliary contract meant to be assigned as the admin of an ERC1967 Proxy, based on the OpenZeppelin implementation. It has backwards compatibility logic to work with the various types of proxies that have been deployed by Optimism in the past."},devdoc:{version:1,kind:"dev",methods:{"changeProxyAdmin(address,address)":{params:{_newAdmin:"Address of the new proxy admin.",_proxy:"Address of the proxy to update."}},constructor:{params:{_owner:"Address of the initial owner of this contract."}},"getProxyAdmin(address)":{params:{_proxy:"Address of the proxy to get the admin of."},returns:{_0:"Address of the admin of the proxy."}},"getProxyImplementation(address)":{params:{_proxy:"Address of the proxy to get the implementation of."},returns:{_0:"Address of the implementation of the proxy."}},"isUpgrading()":{returns:{_0:"Whether or not there is an upgrade going on. May not actually tell you whether an upgrade is going on, since we don't currently plan to use this variable for anything other than a legacy indicator to fix a UX bug in the ChugSplash proxy."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setAddress(string,address)":{params:{_address:"Address to attach to the given name.",_name:"Name to set within the AddressManager."}},"setAddressManager(address)":{params:{_address:"Address of the AddressManager."}},"setImplementationName(address,string)":{params:{_address:"Address of the ResolvedDelegateProxy.",_name:"Name of the implementation for the proxy."}},"setProxyType(address,uint8)":{params:{_address:"Address of the proxy.",_type:"Type of the proxy."}},"setUpgrading(bool)":{params:{_upgrading:"Whether or not the system is upgrading."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"upgrade(address,address)":{params:{_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}},"upgradeAndCall(address,address,bytes)":{params:{_data:"Data to trigger the new implementation with.",_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}}},title:"ProxyAdmin"},id:229}});var HKe=D((Xca,LHt)=>{LHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CHALLENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"FINALIZATION_PERIOD_SECONDS",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"L2_BLOCK_TIME",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"PROPOSER",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"SUBMISSION_INTERVAL",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"challenger",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"computeL2Timestamp",inputs:[{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"deleteL2Outputs",inputs:[{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizationPeriodSeconds",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getL2Output",inputs:[{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct Types.OutputProposal",components:[{name:"outputRoot",type:"bytes32",internalType:"bytes32"},{name:"timestamp",type:"uint128",internalType:"uint128"},{name:"l2BlockNumber",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getL2OutputAfter",inputs:[{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct Types.OutputProposal",components:[{name:"outputRoot",type:"bytes32",internalType:"bytes32"},{name:"timestamp",type:"uint128",internalType:"uint128"},{name:"l2BlockNumber",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getL2OutputIndexAfter",inputs:[{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_submissionInterval",type:"uint256",internalType:"uint256"},{name:"_l2BlockTime",type:"uint256",internalType:"uint256"},{name:"_startingBlockNumber",type:"uint256",internalType:"uint256"},{name:"_startingTimestamp",type:"uint256",internalType:"uint256"},{name:"_proposer",type:"address",internalType:"address"},{name:"_challenger",type:"address",internalType:"address"},{name:"_finalizationPeriodSeconds",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l2BlockTime",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"latestBlockNumber",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"latestOutputIndex",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextBlockNumber",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextOutputIndex",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposeL2Output",inputs:[{name:"_outputRoot",type:"bytes32",internalType:"bytes32"},{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"},{name:"_l1BlockHash",type:"bytes32",internalType:"bytes32"},{name:"_l1BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"proposer",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"startingBlockNumber",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingTimestamp",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"submissionInterval",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OutputProposed",inputs:[{name:"outputRoot",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"l2OutputIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"l2BlockNumber",type:"uint256",indexed:!0,internalType:"uint256"},{name:"l1Timestamp",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OutputsDeleted",inputs:[{name:"prevNextOutputIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"newNextOutputIndex",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b50620000256001806000808080806200002b565b62000328565b600054610100900460ff16158080156200004c5750600054600160ff909116105b806200007c575062000069306200031960201b6200135d1760201c565b1580156200007c575060005460ff166001145b620000e55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000109576000805461ff0019166101001790555b60008811620001815760405162461bcd60e51b815260206004820152603a60248201527f4c324f75747075744f7261636c653a207375626d697373696f6e20696e74657260448201527f76616c206d7573742062652067726561746572207468616e20300000000000006064820152608401620000dc565b60008711620001f95760405162461bcd60e51b815260206004820152603460248201527f4c324f75747075744f7261636c653a204c3220626c6f636b2074696d65206d7560448201527f73742062652067726561746572207468616e20300000000000000000000000006064820152608401620000dc565b428511156200027f5760405162461bcd60e51b8152602060048201526044602482018190527f4c324f75747075744f7261636c653a207374617274696e67204c322074696d65908201527f7374616d70206d757374206265206c657373207468616e2063757272656e742060648201526374696d6560e01b608482015260a401620000dc565b6004889055600587905560018690556002859055600780546001600160a01b038087166001600160a01b0319928316179092556006805492861692909116919091179055600882905580156200030f576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6001600160a01b03163b151590565b6115d580620003386000396000f3fe60806040526004361061018a5760003560e01c806389c44cbb116100d6578063ce5db8d61161007f578063dcec334811610059578063dcec33481461049b578063e1a41bcf146104b0578063f4daa291146104c657600080fd5b8063ce5db8d614610445578063cf8e5cf01461045b578063d1de856c1461047b57600080fd5b8063a25ae557116100b0578063a25ae55714610391578063a8e4fb90146103ed578063bffa7f0f1461041a57600080fd5b806389c44cbb1461034857806393991af3146103685780639aaab6481461037e57600080fd5b806369f16eec1161013857806370872aa51161011257806370872aa5146102fc5780637f00642014610312578063887862721461033257600080fd5b806369f16eec146102a75780636abcf563146102bc5780636b4d98dd146102d157600080fd5b8063529933df11610169578063529933df146101ea578063534db0e2146101ff57806354fd4d501461025157600080fd5b80622134cc1461018f5780631c89c97d146101b35780634599c788146101d5575b600080fd5b34801561019b57600080fd5b506005545b6040519081526020015b60405180910390f35b3480156101bf57600080fd5b506101d36101ce3660046113a2565b6104db565b005b3480156101e157600080fd5b506101a06108b6565b3480156101f657600080fd5b506004546101a0565b34801561020b57600080fd5b5060065461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101aa565b34801561025d57600080fd5b5061029a6040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516101aa9190611405565b3480156102b357600080fd5b506101a0610929565b3480156102c857600080fd5b506003546101a0565b3480156102dd57600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561030857600080fd5b506101a060015481565b34801561031e57600080fd5b506101a061032d366004611478565b61093b565b34801561033e57600080fd5b506101a060025481565b34801561035457600080fd5b506101d3610363366004611478565b610b4f565b34801561037457600080fd5b506101a060055481565b6101d361038c366004611491565b610de9565b34801561039d57600080fd5b506103b16103ac366004611478565b61124a565b60408051825181526020808401516fffffffffffffffffffffffffffffffff9081169183019190915292820151909216908201526060016101aa565b3480156103f957600080fd5b5060075461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561042657600080fd5b5060075473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561045157600080fd5b506101a060085481565b34801561046757600080fd5b506103b1610476366004611478565b6112de565b34801561048757600080fd5b506101a0610496366004611478565b611316565b3480156104a757600080fd5b506101a0611346565b3480156104bc57600080fd5b506101a060045481565b3480156104d257600080fd5b506008546101a0565b600054610100900460ff16158080156104fb5750600054600160ff909116105b806105155750303b158015610515575060005460ff166001145b6105a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561060457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b60008811610694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a207375626d697373696f6e20696e74657260448201527f76616c206d7573742062652067726561746572207468616e2030000000000000606482015260840161059d565b60008711610724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4c324f75747075744f7261636c653a204c3220626c6f636b2074696d65206d7560448201527f73742062652067726561746572207468616e2030000000000000000000000000606482015260840161059d565b428511156107db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526044602482018190527f4c324f75747075744f7261636c653a207374617274696e67204c322074696d65908201527f7374616d70206d757374206265206c657373207468616e2063757272656e742060648201527f74696d6500000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60048890556005879055600186905560028590556007805473ffffffffffffffffffffffffffffffffffffffff8087167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179092556006805492861692909116919091179055600882905580156108ac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6003546000901561092057600380546108d1906001906114f2565b815481106108e1576108e1611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16919050565b6001545b905090565b600354600090610924906001906114f2565b60006109456108b6565b8211156109fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f7420666f72206120626c6f636b207468617420686173206e6f74206265656e2060648201527f70726f706f736564000000000000000000000000000000000000000000000000608482015260a40161059d565b600354610aaf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f74206173206e6f206f7574707574732068617665206265656e2070726f706f7360648201527f6564207965740000000000000000000000000000000000000000000000000000608482015260a40161059d565b6003546000905b80821015610b485760006002610acc8385611538565b610ad69190611550565b90508460038281548110610aec57610aec611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff161015610b3e57610b37816001611538565b9250610b42565b8091505b50610ab6565b5092915050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610bf6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324f75747075744f7261636c653a206f6e6c7920746865206368616c6c656e60448201527f67657220616464726573732063616e2064656c657465206f7574707574730000606482015260840161059d565b6003548110610cad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f747075747320616674657220746865206c6174657374206f757470757420696e60648201527f6465780000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60085460038281548110610cc357610cc3611509565b6000918252602090912060016002909202010154610cf3906fffffffffffffffffffffffffffffffff16426114f2565b10610da6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f74707574732074686174206861766520616c7265616479206265656e2066696e60648201527f616c697a65640000000000000000000000000000000000000000000000000000608482015260a40161059d565b6000610db160035490565b90508160035581817f4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b660405160405180910390a35050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610eb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f4c324f75747075744f7261636c653a206f6e6c79207468652070726f706f736560448201527f7220616464726573732063616e2070726f706f7365206e6577206f757470757460648201527f7300000000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b610ebe611346565b8314610f72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a20626c6f636b206e756d626572206d757360448201527f7420626520657175616c20746f206e65787420657870656374656420626c6f6360648201527f6b206e756d626572000000000000000000000000000000000000000000000000608482015260a40161059d565b42610f7c84611316565b10611009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324f75747075744f7261636c653a2063616e6e6f742070726f706f7365204c60448201527f32206f757470757420696e207468652066757475726500000000000000000000606482015260840161059d565b83611096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a204c32206f75747075742070726f706f7360448201527f616c2063616e6e6f7420626520746865207a65726f2068617368000000000000606482015260840161059d565b81156111525781814014611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4c324f75747075744f7261636c653a20626c6f636b206861736820646f65732060448201527f6e6f74206d61746368207468652068617368206174207468652065787065637460648201527f6564206865696768740000000000000000000000000000000000000000000000608482015260a40161059d565b8261115c60035490565b857fa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e24260405161118e91815260200190565b60405180910390a45050604080516060810182529283526fffffffffffffffffffffffffffffffff4281166020850190815292811691840191825260038054600181018255600091909152935160029094027fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810194909455915190518216700100000000000000000000000000000000029116177fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c90910155565b60408051606081018252600080825260208201819052918101919091526003828154811061127a5761127a611509565b600091825260209182902060408051606081018252600290930290910180548352600101546fffffffffffffffffffffffffffffffff8082169484019490945270010000000000000000000000000000000090049092169181019190915292915050565b604080516060810182526000808252602082018190529181019190915260036113068361093b565b8154811061127a5761127a611509565b60006005546001548361132991906114f2565b611333919061158b565b6002546113409190611538565b92915050565b60006004546113536108b6565b6109249190611538565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b803573ffffffffffffffffffffffffffffffffffffffff8116811461139d57600080fd5b919050565b600080600080600080600060e0888a0312156113bd57600080fd5b873596506020880135955060408801359450606088013593506113e260808901611379565b92506113f060a08901611379565b915060c0880135905092959891949750929550565b600060208083528351808285015260005b8181101561143257858101830151858201604001528201611416565b81811115611444576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60006020828403121561148a57600080fd5b5035919050565b600080600080608085870312156114a757600080fd5b5050823594602084013594506040840135936060013592509050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611504576115046114c3565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561154b5761154b6114c3565b500190565b600082611586577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156115c3576115c36114c3565b50029056fea164736f6c634300080f000a",sourceMap:"611:13425:129:-:0;;;2792:305;;;;;;;;;-1:-1:-1;2816:274:129;2862:1;;2928;;;;;2816:10;:274::i;:::-;611:13425;;3742:985;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;4088:1:129::1;4066:19;:23;4058:94;;;::::0;-1:-1:-1;;;4058:94:129;;631:2:350;4058:94:129::1;::::0;::::1;613:21:350::0;670:2;650:18;;;643:30;709:34;689:18;;;682:62;780:28;760:18;;;753:56;826:19;;4058:94:129::1;429:422:350::0;4058:94:129::1;4185:1;4170:12;:16;4162:81;;;::::0;-1:-1:-1;;;4162:81:129;;1058:2:350;4162:81:129::1;::::0;::::1;1040:21:350::0;1097:2;1077:18;;;1070:30;1136:34;1116:18;;;1109:62;1207:22;1187:18;;;1180:50;1247:19;;4162:81:129::1;856:416:350::0;4162:81:129::1;4296:15;4274:18;:37;;4253:152;;;::::0;-1:-1:-1;;;4253:152:129;;1479:2:350;4253:152:129::1;::::0;::::1;1461:21:350::0;1518:2;1498:18;;;1491:30;;;1557:34;1537:18;;;1530:62;1628:34;1608:18;;;1601:62;-1:-1:-1;;;1679:19:350;;;1672:35;1724:19;;4253:152:129::1;1277:472:350::0;4253:152:129::1;4416:18;:40:::0;;;4466:11:::1;:26:::0;;;4502:19:::1;:42:::0;;;4554:17:::1;:38:::0;;;4602:8:::1;:20:::0;;-1:-1:-1;;;;;4602:20:129;;::::1;-1:-1:-1::0;;;;;;4602:20:129;;::::1;;::::0;;;4632:10:::1;:24:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;4666:25:::1;:54:::0;;;3457:99:41;;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;1906:36:350;;3531:14:41;;1894:2:350;1879:18;3531:14:41;;;;;;;3457:99;3090:472;3742:985:129;;;;;;;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;1754:194:350:-;611:13425:129;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061018a5760003560e01c806389c44cbb116100d6578063ce5db8d61161007f578063dcec334811610059578063dcec33481461049b578063e1a41bcf146104b0578063f4daa291146104c657600080fd5b8063ce5db8d614610445578063cf8e5cf01461045b578063d1de856c1461047b57600080fd5b8063a25ae557116100b0578063a25ae55714610391578063a8e4fb90146103ed578063bffa7f0f1461041a57600080fd5b806389c44cbb1461034857806393991af3146103685780639aaab6481461037e57600080fd5b806369f16eec1161013857806370872aa51161011257806370872aa5146102fc5780637f00642014610312578063887862721461033257600080fd5b806369f16eec146102a75780636abcf563146102bc5780636b4d98dd146102d157600080fd5b8063529933df11610169578063529933df146101ea578063534db0e2146101ff57806354fd4d501461025157600080fd5b80622134cc1461018f5780631c89c97d146101b35780634599c788146101d5575b600080fd5b34801561019b57600080fd5b506005545b6040519081526020015b60405180910390f35b3480156101bf57600080fd5b506101d36101ce3660046113a2565b6104db565b005b3480156101e157600080fd5b506101a06108b6565b3480156101f657600080fd5b506004546101a0565b34801561020b57600080fd5b5060065461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101aa565b34801561025d57600080fd5b5061029a6040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516101aa9190611405565b3480156102b357600080fd5b506101a0610929565b3480156102c857600080fd5b506003546101a0565b3480156102dd57600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561030857600080fd5b506101a060015481565b34801561031e57600080fd5b506101a061032d366004611478565b61093b565b34801561033e57600080fd5b506101a060025481565b34801561035457600080fd5b506101d3610363366004611478565b610b4f565b34801561037457600080fd5b506101a060055481565b6101d361038c366004611491565b610de9565b34801561039d57600080fd5b506103b16103ac366004611478565b61124a565b60408051825181526020808401516fffffffffffffffffffffffffffffffff9081169183019190915292820151909216908201526060016101aa565b3480156103f957600080fd5b5060075461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561042657600080fd5b5060075473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561045157600080fd5b506101a060085481565b34801561046757600080fd5b506103b1610476366004611478565b6112de565b34801561048757600080fd5b506101a0610496366004611478565b611316565b3480156104a757600080fd5b506101a0611346565b3480156104bc57600080fd5b506101a060045481565b3480156104d257600080fd5b506008546101a0565b600054610100900460ff16158080156104fb5750600054600160ff909116105b806105155750303b158015610515575060005460ff166001145b6105a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561060457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b60008811610694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a207375626d697373696f6e20696e74657260448201527f76616c206d7573742062652067726561746572207468616e2030000000000000606482015260840161059d565b60008711610724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4c324f75747075744f7261636c653a204c3220626c6f636b2074696d65206d7560448201527f73742062652067726561746572207468616e2030000000000000000000000000606482015260840161059d565b428511156107db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526044602482018190527f4c324f75747075744f7261636c653a207374617274696e67204c322074696d65908201527f7374616d70206d757374206265206c657373207468616e2063757272656e742060648201527f74696d6500000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60048890556005879055600186905560028590556007805473ffffffffffffffffffffffffffffffffffffffff8087167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179092556006805492861692909116919091179055600882905580156108ac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6003546000901561092057600380546108d1906001906114f2565b815481106108e1576108e1611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16919050565b6001545b905090565b600354600090610924906001906114f2565b60006109456108b6565b8211156109fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f7420666f72206120626c6f636b207468617420686173206e6f74206265656e2060648201527f70726f706f736564000000000000000000000000000000000000000000000000608482015260a40161059d565b600354610aaf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f74206173206e6f206f7574707574732068617665206265656e2070726f706f7360648201527f6564207965740000000000000000000000000000000000000000000000000000608482015260a40161059d565b6003546000905b80821015610b485760006002610acc8385611538565b610ad69190611550565b90508460038281548110610aec57610aec611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff161015610b3e57610b37816001611538565b9250610b42565b8091505b50610ab6565b5092915050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610bf6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324f75747075744f7261636c653a206f6e6c7920746865206368616c6c656e60448201527f67657220616464726573732063616e2064656c657465206f7574707574730000606482015260840161059d565b6003548110610cad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f747075747320616674657220746865206c6174657374206f757470757420696e60648201527f6465780000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60085460038281548110610cc357610cc3611509565b6000918252602090912060016002909202010154610cf3906fffffffffffffffffffffffffffffffff16426114f2565b10610da6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f74707574732074686174206861766520616c7265616479206265656e2066696e60648201527f616c697a65640000000000000000000000000000000000000000000000000000608482015260a40161059d565b6000610db160035490565b90508160035581817f4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b660405160405180910390a35050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610eb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f4c324f75747075744f7261636c653a206f6e6c79207468652070726f706f736560448201527f7220616464726573732063616e2070726f706f7365206e6577206f757470757460648201527f7300000000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b610ebe611346565b8314610f72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a20626c6f636b206e756d626572206d757360448201527f7420626520657175616c20746f206e65787420657870656374656420626c6f6360648201527f6b206e756d626572000000000000000000000000000000000000000000000000608482015260a40161059d565b42610f7c84611316565b10611009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324f75747075744f7261636c653a2063616e6e6f742070726f706f7365204c60448201527f32206f757470757420696e207468652066757475726500000000000000000000606482015260840161059d565b83611096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a204c32206f75747075742070726f706f7360448201527f616c2063616e6e6f7420626520746865207a65726f2068617368000000000000606482015260840161059d565b81156111525781814014611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4c324f75747075744f7261636c653a20626c6f636b206861736820646f65732060448201527f6e6f74206d61746368207468652068617368206174207468652065787065637460648201527f6564206865696768740000000000000000000000000000000000000000000000608482015260a40161059d565b8261115c60035490565b857fa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e24260405161118e91815260200190565b60405180910390a45050604080516060810182529283526fffffffffffffffffffffffffffffffff4281166020850190815292811691840191825260038054600181018255600091909152935160029094027fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810194909455915190518216700100000000000000000000000000000000029116177fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c90910155565b60408051606081018252600080825260208201819052918101919091526003828154811061127a5761127a611509565b600091825260209182902060408051606081018252600290930290910180548352600101546fffffffffffffffffffffffffffffffff8082169484019490945270010000000000000000000000000000000090049092169181019190915292915050565b604080516060810182526000808252602082018190529181019190915260036113068361093b565b8154811061127a5761127a611509565b60006005546001548361132991906114f2565b611333919061158b565b6002546113409190611538565b92915050565b60006004546113536108b6565b6109249190611538565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b803573ffffffffffffffffffffffffffffffffffffffff8116811461139d57600080fd5b919050565b600080600080600080600060e0888a0312156113bd57600080fd5b873596506020880135955060408801359450606088013593506113e260808901611379565b92506113f060a08901611379565b915060c0880135905092959891949750929550565b600060208083528351808285015260005b8181101561143257858101830151858201604001528201611416565b81811115611444576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60006020828403121561148a57600080fd5b5035919050565b600080600080608085870312156114a757600080fd5b5050823594602084013594506040840135936060013592509050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611504576115046114c3565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561154b5761154b6114c3565b500190565b600082611586577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156115c3576115c36114c3565b50029056fea164736f6c634300080f000a",sourceMap:"611:13425:129:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5264:92;;;;;;;;;;-1:-1:-1;5338:11:129;;5264:92;;;160:25:350;;;148:2;133:18;5264:92:129;;;;;;;;3742:985;;;;;;;;;;-1:-1:-1;3742:985:129;;;;;:::i;:::-;;:::i;:::-;;13212:174;;;;;;;;;;;;;:::i;4953:105::-;;;;;;;;;;-1:-1:-1;5033:18:129;;4953:105;;1426:25;;;;;;;;;;-1:-1:-1;1426:25:129;;;;;;;;;;;1182:42:350;1170:55;;;1152:74;;1140:2;1125:18;1426:25:129;1006:226:350;2598:40:129;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;12608:105::-;;;;;;;;;;;;;:::i;12849:97::-;;;;;;;;;;-1:-1:-1;12923:9:129;:16;12849:97;;5580:88;;;;;;;;;;-1:-1:-1;5651:10:129;;;;5580:88;;743:34;;;;;;;;;;;;;;;;10969:896;;;;;;;;;;-1:-1:-1;10969:896:129;;;;;:::i;:::-;;:::i;863:32::-;;;;;;;;;;;;;;;;6689:975;;;;;;;;;;-1:-1:-1;6689:975:129;;;;;:::i;:::-;;:::i;1285:26::-;;;;;;;;;;;;;;;;8258:1981;;;;;;:::i;:::-;;:::i;10443:146::-;;;;;;;;;;-1:-1:-1;10443:146:129;;;;;:::i;:::-;;:::i;:::-;;;;2705:13:350;;2687:32;;2766:4;2754:17;;;2748:24;2791:34;2863:21;;;2841:20;;;2834:51;;;;2933:17;;;2927:24;2923:33;;;2901:20;;;2894:63;2675:2;2660:18;10443:146:129;2473:490:350;1564:23:129;;;;;;;;;;-1:-1:-1;1564:23:129;;;;;;;;5886:84;;;;;;;;;;-1:-1:-1;5955:8:129;;;;5886:84;;1728:40;;;;;;;;;;;;;;;;12228:174;;;;;;;;;;-1:-1:-1;12228:174:129;;;;;:::i;:::-;;:::i;13854:180::-;;;;;;;;;;-1:-1:-1;13854:180:129;;;;;:::i;:::-;;:::i;13524:121::-;;;;;;;;;;;;;:::i;1114:33::-;;;;;;;;;;;;;;;;6221:120;;;;;;;;;;-1:-1:-1;6309:25:129;;6221:120;;3742:985;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;3170:2:350;3146:190:41;;;3152:21:350;3209:2;3189:18;;;3182:30;3248:34;3228:18;;;3221:62;3319:16;3299:18;;;3292:44;3353:19;;3146:190:41;;;;;;;;;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;4088:1:129::1;4066:19;:23;4058:94;;;::::0;::::1;::::0;;3585:2:350;4058:94:129::1;::::0;::::1;3567:21:350::0;3624:2;3604:18;;;3597:30;3663:34;3643:18;;;3636:62;3734:28;3714:18;;;3707:56;3780:19;;4058:94:129::1;3383:422:350::0;4058:94:129::1;4185:1;4170:12;:16;4162:81;;;::::0;::::1;::::0;;4012:2:350;4162:81:129::1;::::0;::::1;3994:21:350::0;4051:2;4031:18;;;4024:30;4090:34;4070:18;;;4063:62;4161:22;4141:18;;;4134:50;4201:19;;4162:81:129::1;3810:416:350::0;4162:81:129::1;4296:15;4274:18;:37;;4253:152;;;::::0;::::1;::::0;;4433:2:350;4253:152:129::1;::::0;::::1;4415:21:350::0;4472:2;4452:18;;;4445:30;;;4511:34;4491:18;;;4484:62;4582:34;4562:18;;;4555:62;4654:6;4633:19;;;4626:35;4678:19;;4253:152:129::1;4231:472:350::0;4253:152:129::1;4416:18;:40:::0;;;4466:11:::1;:26:::0;;;4502:19:::1;:42:::0;;;4554:17:::1;:38:::0;;;4602:8:::1;:20:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;4632:10:::1;:24:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;4666:25:::1;:54:::0;;;3457:99:41;;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;4860:36:350;;3531:14:41;;4848:2:350;4833:18;3531:14:41;;;;;;;3457:99;3090:472;3742:985:129;;;;;;;:::o;13212:174::-;13288:9;:16;13262:7;;13288:21;:91;;13334:9;13344:16;;:20;;13363:1;;13344:20;:::i;:::-;13334:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:45;;;;;;;;;13212:174;-1:-1:-1;13212:174:129:o;13288:91::-;13312:19;;13288:91;13281:98;;13212:174;:::o;12608:105::-;12686:9;:16;12660:7;;12686:20;;12705:1;;12686:20;:::i;10969:896::-;11045:7;11184:19;:17;:19::i;:::-;11166:14;:37;;11145:156;;;;;;;5617:2:350;11145:156:129;;;5599:21:350;5656:2;5636:18;;;5629:30;5695:34;5675:18;;;5668:62;5766:34;5746:18;;;5739:62;5838:10;5817:19;;;5810:39;5866:19;;11145:156:129;5415:476:350;11145:156:129;11379:9;:16;11371:103;;;;;;;6098:2:350;11371:103:129;;;6080:21:350;6137:2;6117:18;;;6110:30;6176:34;6156:18;;;6149:62;6247:34;6227:18;;;6220:62;6319:8;6298:19;;;6291:37;6345:19;;11371:103:129;5896:474:350;11371:103:129;11589:9;:16;11552:10;;11615:224;11627:2;11622;:7;11615:224;;;11645:11;11671:1;11660:7;11665:2;11660;:7;:::i;:::-;11659:13;;;;:::i;:::-;11645:27;;11721:14;11690:9;11700:3;11690:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:28;;;;;;;;:45;11686:143;;;11760:7;:3;11766:1;11760:7;:::i;:::-;11755:12;;11686:143;;;11811:3;11806:8;;11686:143;11631:208;11615:224;;;-1:-1:-1;11856:2:129;10969:896;-1:-1:-1;;10969:896:129:o;6689:975::-;6779:10;;;;6765;:24;6757:99;;;;;;;6989:2:350;6757:99:129;;;6971:21:350;7028:2;7008:18;;;7001:30;7067:34;7047:18;;;7040:62;7138:32;7118:18;;;7111:60;7188:19;;6757:99:129;6787:426:350;6757:99:129;6974:9;:16;6957:33;;6936:135;;;;;;;7420:2:350;6936:135:129;;;7402:21:350;7459:2;7439:18;;;7432:30;7498:34;7478:18;;;7471:62;7569:34;7549:18;;;7542:62;7641:5;7620:19;;;7613:34;7664:19;;6936:135:129;7218:471:350;6936:135:129;7238:25;;7200:9;7210:14;7200:25;;;;;;;;:::i;:::-;;;;;;;;;:35;:25;;;;;:35;;7182:53;;7200:35;;7182:15;:53;:::i;:::-;:81;7161:198;;;;;;;7896:2:350;7161:198:129;;;7878:21:350;7935:2;7915:18;;;7908:30;7974:34;7954:18;;;7947:62;8045:34;8025:18;;;8018:62;8117:8;8096:19;;;8089:37;8143:19;;7161:198:129;7694:474:350;7161:198:129;7370:29;7402:17;12923:9;:16;;12849:97;7402:17;7370:49;;7564:14;7548;7541:38;7642:14;7619:21;7604:53;;;;;;;;;;6747:917;6689:975;:::o;8258:1981::-;8481:8;;;;8467:10;:22;8459:100;;;;;;;8375:2:350;8459:100:129;;;8357:21:350;8414:2;8394:18;;;8387:30;8453:34;8433:18;;;8426:62;8524:34;8504:18;;;8497:62;8596:3;8575:19;;;8568:32;8617:19;;8459:100:129;8173:469:350;8459:100:129;8609:17;:15;:17::i;:::-;8591:14;:35;8570:154;;;;;;;8849:2:350;8570:154:129;;;8831:21:350;8888:2;8868:18;;;8861:30;8927:34;8907:18;;;8900:62;8998:34;8978:18;;;8971:62;9070:10;9049:19;;;9042:39;9098:19;;8570:154:129;8647:476:350;8570:154:129;8793:15;8756:34;8775:14;8756:18;:34::i;:::-;:52;8735:153;;;;;;;9330:2:350;8735:153:129;;;9312:21:350;9369:2;9349:18;;;9342:30;9408:34;9388:18;;;9381:62;9479:24;9459:18;;;9452:52;9521:19;;8735:153:129;9128:418:350;8735:153:129;8907:11;8899:96;;;;;;;9753:2:350;8899:96:129;;;9735:21:350;9792:2;9772:18;;;9765:30;9831:34;9811:18;;;9804:62;9902:28;9882:18;;;9875:56;9948:19;;8899:96:129;9551:422:350;8899:96:129;9010:26;;9006:897;;9773:12;9754:14;9744:25;:41;9719:173;;;;;;;10180:2:350;9719:173:129;;;10162:21:350;10219:2;10199:18;;;10192:30;10258:34;10238:18;;;10231:62;10329:34;10309:18;;;10302:62;10401:11;10380:19;;;10373:40;10430:19;;9719:173:129;9978:477:350;9719:173:129;9965:14;9946:17;12923:9;:16;;12849:97;9946:17;9933:11;9918:79;9981:15;9918:79;;;;160:25:350;;148:2;133:18;;14:177;9918:79:129;;;;;;;;-1:-1:-1;;10036:186:129;;;;;;;;;;;;10135:15;10036:186;;;;;;;;;;;;;;;;;10008:9;:224;;;;;;;-1:-1:-1;10008:224:129;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8258:1981::o;10443:146::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;10557:9:129;10567:14;10557:25;;;;;;;;:::i;:::-;;;;;;;;;;10550:32;;;;;;;;10557:25;;;;;;;10550:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10443:146;-1:-1:-1;;10443:146:129:o;12228:174::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;12347:9:129;12357:37;12379:14;12357:21;:37::i;:::-;12347:48;;;;;;;;:::i;13854:180::-;13927:7;14015:11;;13992:19;;13975:14;:36;;;;:::i;:::-;13974:52;;;;:::i;:::-;13953:17;;:74;;;;:::i;:::-;13946:81;13854:180;-1:-1:-1;;13854:180:129:o;13524:121::-;13572:7;13620:18;;13598:19;:17;:19::i;:::-;:40;;;;:::i;1175:320:57:-;1465:19;;;:23;;;1175:320::o;196:196:350:-;264:20;;324:42;313:54;;303:65;;293:93;;382:1;379;372:12;293:93;196:196;;;:::o;397:604::-;510:6;518;526;534;542;550;558;611:3;599:9;590:7;586:23;582:33;579:53;;;628:1;625;618:12;579:53;664:9;651:23;641:33;;721:2;710:9;706:18;693:32;683:42;;772:2;761:9;757:18;744:32;734:42;;823:2;812:9;808:18;795:32;785:42;;846:39;880:3;869:9;865:19;846:39;:::i;:::-;836:49;;904:39;938:3;927:9;923:19;904:39;:::i;:::-;894:49;;990:3;979:9;975:19;962:33;952:43;;397:604;;;;;;;;;;:::o;1237:656::-;1349:4;1378:2;1407;1396:9;1389:21;1439:6;1433:13;1482:6;1477:2;1466:9;1462:18;1455:34;1507:1;1517:140;1531:6;1528:1;1525:13;1517:140;;;1626:14;;;1622:23;;1616:30;1592:17;;;1611:2;1588:26;1581:66;1546:10;;1517:140;;;1675:6;1672:1;1669:13;1666:91;;;1745:1;1740:2;1731:6;1720:9;1716:22;1712:31;1705:42;1666:91;-1:-1:-1;1809:2:350;1797:15;1814:66;1793:88;1778:104;;;;1884:2;1774:113;;1237:656;-1:-1:-1;;;1237:656:350:o;1898:180::-;1957:6;2010:2;1998:9;1989:7;1985:23;1981:32;1978:52;;;2026:1;2023;2016:12;1978:52;-1:-1:-1;2049:23:350;;1898:180;-1:-1:-1;1898:180:350:o;2083:385::-;2169:6;2177;2185;2193;2246:3;2234:9;2225:7;2221:23;2217:33;2214:53;;;2263:1;2260;2253:12;2214:53;-1:-1:-1;;2286:23:350;;;2356:2;2341:18;;2328:32;;-1:-1:-1;2407:2:350;2392:18;;2379:32;;2458:2;2443:18;2430:32;;-1:-1:-1;2083:385:350;-1:-1:-1;2083:385:350:o;4907:184::-;4959:77;4956:1;4949:88;5056:4;5053:1;5046:15;5080:4;5077:1;5070:15;5096:125;5136:4;5164:1;5161;5158:8;5155:34;;;5169:18;;:::i;:::-;-1:-1:-1;5206:9:350;;5096:125::o;5226:184::-;5278:77;5275:1;5268:88;5375:4;5372:1;5365:15;5399:4;5396:1;5389:15;6375:128;6415:3;6446:1;6442:6;6439:1;6436:13;6433:39;;;6452:18;;:::i;:::-;-1:-1:-1;6488:9:350;;6375:128::o;6508:274::-;6548:1;6574;6564:189;;6609:77;6606:1;6599:88;6710:4;6707:1;6700:15;6738:4;6735:1;6728:15;6564:189;-1:-1:-1;6767:9:350;;6508:274::o;10460:228::-;10500:7;10626:1;10558:66;10554:74;10551:1;10548:81;10543:1;10536:9;10529:17;10525:105;10522:131;;;10633:18;;:::i;:::-;-1:-1:-1;10673:9:350;;10460:228::o",linkReferences:{}},methodIdentifiers:{"CHALLENGER()":"6b4d98dd","FINALIZATION_PERIOD_SECONDS()":"f4daa291","L2_BLOCK_TIME()":"002134cc","PROPOSER()":"bffa7f0f","SUBMISSION_INTERVAL()":"529933df","challenger()":"534db0e2","computeL2Timestamp(uint256)":"d1de856c","deleteL2Outputs(uint256)":"89c44cbb","finalizationPeriodSeconds()":"ce5db8d6","getL2Output(uint256)":"a25ae557","getL2OutputAfter(uint256)":"cf8e5cf0","getL2OutputIndexAfter(uint256)":"7f006420","initialize(uint256,uint256,uint256,uint256,address,address,uint256)":"1c89c97d","l2BlockTime()":"93991af3","latestBlockNumber()":"4599c788","latestOutputIndex()":"69f16eec","nextBlockNumber()":"dcec3348","nextOutputIndex()":"6abcf563","proposeL2Output(bytes32,uint256,bytes32,uint256)":"9aaab648","proposer()":"a8e4fb90","startingBlockNumber()":"70872aa5","startingTimestamp()":"88786272","submissionInterval()":"e1a41bcf","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"l2OutputIndex","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"l2BlockNumber","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"l1Timestamp","type":"uint256"}],"name":"OutputProposed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"prevNextOutputIndex","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newNextOutputIndex","type":"uint256"}],"name":"OutputsDeleted","type":"event"},{"inputs":[],"name":"CHALLENGER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FINALIZATION_PERIOD_SECONDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"L2_BLOCK_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROPOSER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUBMISSION_INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"challenger","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"}],"name":"computeL2Timestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"}],"name":"deleteL2Outputs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalizationPeriodSeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"}],"name":"getL2Output","outputs":[{"components":[{"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"internalType":"uint128","name":"timestamp","type":"uint128"},{"internalType":"uint128","name":"l2BlockNumber","type":"uint128"}],"internalType":"struct Types.OutputProposal","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"}],"name":"getL2OutputAfter","outputs":[{"components":[{"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"internalType":"uint128","name":"timestamp","type":"uint128"},{"internalType":"uint128","name":"l2BlockNumber","type":"uint128"}],"internalType":"struct Types.OutputProposal","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"}],"name":"getL2OutputIndexAfter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_submissionInterval","type":"uint256"},{"internalType":"uint256","name":"_l2BlockTime","type":"uint256"},{"internalType":"uint256","name":"_startingBlockNumber","type":"uint256"},{"internalType":"uint256","name":"_startingTimestamp","type":"uint256"},{"internalType":"address","name":"_proposer","type":"address"},{"internalType":"address","name":"_challenger","type":"address"},{"internalType":"uint256","name":"_finalizationPeriodSeconds","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l2BlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestOutputIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOutputIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_outputRoot","type":"bytes32"},{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"},{"internalType":"bytes32","name":"_l1BlockHash","type":"bytes32"},{"internalType":"uint256","name":"_l1BlockNumber","type":"uint256"}],"name":"proposeL2Output","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"proposer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"submissionInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@title L2OutputOracle","events":{"OutputProposed(bytes32,uint256,uint256,uint256)":{"params":{"l1Timestamp":"The L1 timestamp when proposed.","l2BlockNumber":"The L2 block number of the output root.","l2OutputIndex":"The index of the output in the l2Outputs array.","outputRoot":"The output root."}},"OutputsDeleted(uint256,uint256)":{"params":{"newNextOutputIndex":"Next L2 output index after the deletion.","prevNextOutputIndex":"Next L2 output index before the deletion."}}},"kind":"dev","methods":{"CHALLENGER()":{"custom:legacy":"","returns":{"_0":"Address of the challenger."}},"FINALIZATION_PERIOD_SECONDS()":{"custom:legacy":"","returns":{"_0":"Finalization period in seconds."}},"L2_BLOCK_TIME()":{"custom:legacy":"","returns":{"_0":"L2 block time."}},"PROPOSER()":{"custom:legacy":"","returns":{"_0":"Address of the proposer."}},"SUBMISSION_INTERVAL()":{"custom:legacy":"","returns":{"_0":"Submission interval."}},"computeL2Timestamp(uint256)":{"params":{"_l2BlockNumber":"The L2 block number of the target block."},"returns":{"_0":"L2 timestamp of the given block."}},"deleteL2Outputs(uint256)":{"params":{"_l2OutputIndex":"Index of the first L2 output to be deleted. All outputs after this output will also be deleted."}},"getL2Output(uint256)":{"params":{"_l2OutputIndex":"Index of the output to return."},"returns":{"_0":"The output at the given index."}},"getL2OutputAfter(uint256)":{"params":{"_l2BlockNumber":"L2 block number to find a checkpoint for."},"returns":{"_0":"First checkpoint that commits to the given L2 block number."}},"getL2OutputIndexAfter(uint256)":{"params":{"_l2BlockNumber":"L2 block number to find a checkpoint for."},"returns":{"_0":"Index of the first checkpoint that commits to the given L2 block number."}},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{"params":{"_challenger":"The address of the challenger.","_finalizationPeriodSeconds":"The minimum time (in seconds) that must elapse before a withdrawal can be finalized.","_l2BlockTime":"The time per L2 block, in seconds.","_proposer":"The address of the proposer.","_startingBlockNumber":"The number of the first L2 block.","_startingTimestamp":"The timestamp of the first L2 block.","_submissionInterval":"Interval in blocks at which checkpoints must be submitted."}},"latestBlockNumber()":{"returns":{"_0":"Latest submitted L2 block number."}},"latestOutputIndex()":{"returns":{"_0":"The number of outputs that have been proposed."}},"nextBlockNumber()":{"returns":{"_0":"Next L2 block number."}},"nextOutputIndex()":{"returns":{"_0":"The index of the next output to be proposed."}},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{"params":{"_l1BlockHash":"A block hash which must be included in the current chain.","_l1BlockNumber":"The block number with the specified block hash.","_l2BlockNumber":"The L2 block number that resulted in _outputRoot.","_outputRoot":"The L2 output of the checkpoint block."}}},"stateVariables":{"challenger":{"custom:network-specific":""},"finalizationPeriodSeconds":{"custom:network-specific":""},"l2BlockTime":{"custom:network-specific":""},"proposer":{"custom:network-specific":""},"submissionInterval":{"custom:network-specific":""},"version":{"custom:semver":"1.8.0"}},"version":1},"userdoc":{"events":{"OutputProposed(bytes32,uint256,uint256,uint256)":{"notice":"Emitted when an output is proposed."},"OutputsDeleted(uint256,uint256)":{"notice":"Emitted when outputs are deleted."}},"kind":"user","methods":{"CHALLENGER()":{"notice":"Getter for the challenger address. Public getter is legacy and will be removed in the future. Use `challenger` instead."},"FINALIZATION_PERIOD_SECONDS()":{"notice":"Getter for the finalizationPeriodSeconds. Public getter is legacy and will be removed in the future. Use `finalizationPeriodSeconds` instead."},"L2_BLOCK_TIME()":{"notice":"Getter for the l2BlockTime. Public getter is legacy and will be removed in the future. Use `l2BlockTime` instead."},"PROPOSER()":{"notice":"Getter for the proposer address. Public getter is legacy and will be removed in the future. Use `proposer` instead."},"SUBMISSION_INTERVAL()":{"notice":"Getter for the submissionInterval. Public getter is legacy and will be removed in the future. Use `submissionInterval` instead."},"challenger()":{"notice":"The address of the challenger. Can be updated via upgrade."},"computeL2Timestamp(uint256)":{"notice":"Returns the L2 timestamp corresponding to a given L2 block number."},"constructor":{"notice":"Constructs the L2OutputOracle contract. Initializes variables to the same values as in the getting-started config."},"deleteL2Outputs(uint256)":{"notice":"Deletes all output proposals after and including the proposal that corresponds to the given output index. Only the challenger address can delete outputs."},"finalizationPeriodSeconds()":{"notice":"The minimum time (in seconds) that must elapse before a withdrawal can be finalized."},"getL2Output(uint256)":{"notice":"Returns an output by index. Needed to return a struct instead of a tuple."},"getL2OutputAfter(uint256)":{"notice":"Returns the L2 output proposal that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"getL2OutputIndexAfter(uint256)":{"notice":"Returns the index of the L2 output that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{"notice":"Initializer."},"l2BlockTime()":{"notice":"The time between L2 blocks in seconds. Once set, this value MUST NOT be modified."},"latestBlockNumber()":{"notice":"Returns the block number of the latest submitted L2 output proposal. If no proposals been submitted yet then this function will return the starting block number."},"latestOutputIndex()":{"notice":"Returns the number of outputs that have been proposed. Will revert if no outputs have been proposed yet."},"nextBlockNumber()":{"notice":"Computes the block number of the next L2 block that needs to be checkpointed."},"nextOutputIndex()":{"notice":"Returns the index of the next output to be proposed."},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{"notice":"Accepts an outputRoot and the timestamp of the corresponding L2 block. The timestamp must be equal to the current value returned by `nextTimestamp()` in order to be accepted. This function may only be called by the Proposer."},"proposer()":{"notice":"The address of the proposer. Can be updated via upgrade."},"startingBlockNumber()":{"notice":"The number of the first L2 block recorded in this contract."},"startingTimestamp()":{"notice":"The timestamp of the first L2 block recorded in this contract."},"submissionInterval()":{"notice":"The interval in L2 blocks at which checkpoints must be submitted."},"version()":{"notice":"Semantic version."}},"notice":"The L2OutputOracle contains an array of L2 state outputs, where each output is a commitment to the state of the L2 chain. Other contracts like the OptimismPortal use these outputs to verify information about the state of L2.","version":1}},"settings":{"compilationTarget":{"src/L1/L2OutputOracle.sol":"L2OutputOracle"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L2OutputOracle.sol":{"keccak256":"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42","license":"MIT","urls":["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"outputRoot",type:"bytes32",indexed:!0},{internalType:"uint256",name:"l2OutputIndex",type:"uint256",indexed:!0},{internalType:"uint256",name:"l2BlockNumber",type:"uint256",indexed:!0},{internalType:"uint256",name:"l1Timestamp",type:"uint256",indexed:!1}],type:"event",name:"OutputProposed",anonymous:!1},{inputs:[{internalType:"uint256",name:"prevNextOutputIndex",type:"uint256",indexed:!0},{internalType:"uint256",name:"newNextOutputIndex",type:"uint256",indexed:!0}],type:"event",name:"OutputsDeleted",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"CHALLENGER",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"FINALIZATION_PERIOD_SECONDS",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"L2_BLOCK_TIME",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"PROPOSER",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"SUBMISSION_INTERVAL",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"challenger",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"}],stateMutability:"view",type:"function",name:"computeL2Timestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"deleteL2Outputs"},{inputs:[],stateMutability:"view",type:"function",name:"finalizationPeriodSeconds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"}],stateMutability:"view",type:"function",name:"getL2Output",outputs:[{internalType:"struct Types.OutputProposal",name:"",type:"tuple",components:[{internalType:"bytes32",name:"outputRoot",type:"bytes32"},{internalType:"uint128",name:"timestamp",type:"uint128"},{internalType:"uint128",name:"l2BlockNumber",type:"uint128"}]}]},{inputs:[{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"}],stateMutability:"view",type:"function",name:"getL2OutputAfter",outputs:[{internalType:"struct Types.OutputProposal",name:"",type:"tuple",components:[{internalType:"bytes32",name:"outputRoot",type:"bytes32"},{internalType:"uint128",name:"timestamp",type:"uint128"},{internalType:"uint128",name:"l2BlockNumber",type:"uint128"}]}]},{inputs:[{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"}],stateMutability:"view",type:"function",name:"getL2OutputIndexAfter",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_submissionInterval",type:"uint256"},{internalType:"uint256",name:"_l2BlockTime",type:"uint256"},{internalType:"uint256",name:"_startingBlockNumber",type:"uint256"},{internalType:"uint256",name:"_startingTimestamp",type:"uint256"},{internalType:"address",name:"_proposer",type:"address"},{internalType:"address",name:"_challenger",type:"address"},{internalType:"uint256",name:"_finalizationPeriodSeconds",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l2BlockTime",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"latestBlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"latestOutputIndex",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"nextBlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"nextOutputIndex",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes32",name:"_outputRoot",type:"bytes32"},{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"},{internalType:"bytes32",name:"_l1BlockHash",type:"bytes32"},{internalType:"uint256",name:"_l1BlockNumber",type:"uint256"}],stateMutability:"payable",type:"function",name:"proposeL2Output"},{inputs:[],stateMutability:"view",type:"function",name:"proposer",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingBlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingTimestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"submissionInterval",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"CHALLENGER()":{"custom:legacy":"",returns:{_0:"Address of the challenger."}},"FINALIZATION_PERIOD_SECONDS()":{"custom:legacy":"",returns:{_0:"Finalization period in seconds."}},"L2_BLOCK_TIME()":{"custom:legacy":"",returns:{_0:"L2 block time."}},"PROPOSER()":{"custom:legacy":"",returns:{_0:"Address of the proposer."}},"SUBMISSION_INTERVAL()":{"custom:legacy":"",returns:{_0:"Submission interval."}},"computeL2Timestamp(uint256)":{params:{_l2BlockNumber:"The L2 block number of the target block."},returns:{_0:"L2 timestamp of the given block."}},"deleteL2Outputs(uint256)":{params:{_l2OutputIndex:"Index of the first L2 output to be deleted. All outputs after this output will also be deleted."}},"getL2Output(uint256)":{params:{_l2OutputIndex:"Index of the output to return."},returns:{_0:"The output at the given index."}},"getL2OutputAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"First checkpoint that commits to the given L2 block number."}},"getL2OutputIndexAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"Index of the first checkpoint that commits to the given L2 block number."}},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{params:{_challenger:"The address of the challenger.",_finalizationPeriodSeconds:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized.",_l2BlockTime:"The time per L2 block, in seconds.",_proposer:"The address of the proposer.",_startingBlockNumber:"The number of the first L2 block.",_startingTimestamp:"The timestamp of the first L2 block.",_submissionInterval:"Interval in blocks at which checkpoints must be submitted."}},"latestBlockNumber()":{returns:{_0:"Latest submitted L2 block number."}},"latestOutputIndex()":{returns:{_0:"The number of outputs that have been proposed."}},"nextBlockNumber()":{returns:{_0:"Next L2 block number."}},"nextOutputIndex()":{returns:{_0:"The index of the next output to be proposed."}},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{params:{_l1BlockHash:"A block hash which must be included in the current chain.",_l1BlockNumber:"The block number with the specified block hash.",_l2BlockNumber:"The L2 block number that resulted in _outputRoot.",_outputRoot:"The L2 output of the checkpoint block."}}},version:1},userdoc:{kind:"user",methods:{"CHALLENGER()":{notice:"Getter for the challenger address. Public getter is legacy and will be removed in the future. Use `challenger` instead."},"FINALIZATION_PERIOD_SECONDS()":{notice:"Getter for the finalizationPeriodSeconds. Public getter is legacy and will be removed in the future. Use `finalizationPeriodSeconds` instead."},"L2_BLOCK_TIME()":{notice:"Getter for the l2BlockTime. Public getter is legacy and will be removed in the future. Use `l2BlockTime` instead."},"PROPOSER()":{notice:"Getter for the proposer address. Public getter is legacy and will be removed in the future. Use `proposer` instead."},"SUBMISSION_INTERVAL()":{notice:"Getter for the submissionInterval. Public getter is legacy and will be removed in the future. Use `submissionInterval` instead."},"challenger()":{notice:"The address of the challenger. Can be updated via upgrade."},"computeL2Timestamp(uint256)":{notice:"Returns the L2 timestamp corresponding to a given L2 block number."},constructor:{notice:"Constructs the L2OutputOracle contract. Initializes variables to the same values as in the getting-started config."},"deleteL2Outputs(uint256)":{notice:"Deletes all output proposals after and including the proposal that corresponds to the given output index. Only the challenger address can delete outputs."},"finalizationPeriodSeconds()":{notice:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized."},"getL2Output(uint256)":{notice:"Returns an output by index. Needed to return a struct instead of a tuple."},"getL2OutputAfter(uint256)":{notice:"Returns the L2 output proposal that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"getL2OutputIndexAfter(uint256)":{notice:"Returns the index of the L2 output that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{notice:"Initializer."},"l2BlockTime()":{notice:"The time between L2 blocks in seconds. Once set, this value MUST NOT be modified."},"latestBlockNumber()":{notice:"Returns the block number of the latest submitted L2 output proposal. If no proposals been submitted yet then this function will return the starting block number."},"latestOutputIndex()":{notice:"Returns the number of outputs that have been proposed. Will revert if no outputs have been proposed yet."},"nextBlockNumber()":{notice:"Computes the block number of the next L2 block that needs to be checkpointed."},"nextOutputIndex()":{notice:"Returns the index of the next output to be proposed."},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{notice:"Accepts an outputRoot and the timestamp of the corresponding L2 block. The timestamp must be equal to the current value returned by `nextTimestamp()` in order to be accepted. This function may only be called by the Proposer."},"proposer()":{notice:"The address of the proposer. Can be updated via upgrade."},"startingBlockNumber()":{notice:"The number of the first L2 block recorded in this contract."},"startingTimestamp()":{notice:"The timestamp of the first L2 block recorded in this contract."},"submissionInterval()":{notice:"The interval in L2 blocks at which checkpoints must be submitted."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L2OutputOracle.sol":"L2OutputOracle"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L2OutputOracle.sol":{keccak256:"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42",urls:["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:82910,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"startingBlockNumber",offset:0,slot:"1",type:"t_uint256"},{astId:82913,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"startingTimestamp",offset:0,slot:"2",type:"t_uint256"},{astId:82918,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"l2Outputs",offset:0,slot:"3",type:"t_array(t_struct(OutputProposal)100917_storage)dyn_storage"},{astId:82921,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"submissionInterval",offset:0,slot:"4",type:"t_uint256"},{astId:82924,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"l2BlockTime",offset:0,slot:"5",type:"t_uint256"},{astId:82927,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"challenger",offset:0,slot:"6",type:"t_address"},{astId:82930,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"proposer",offset:0,slot:"7",type:"t_address"},{astId:82933,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"finalizationPeriodSeconds",offset:0,slot:"8",type:"t_uint256"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_struct(OutputProposal)100917_storage)dyn_storage":{encoding:"dynamic_array",label:"struct Types.OutputProposal[]",numberOfBytes:"32",base:"t_struct(OutputProposal)100917_storage"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_struct(OutputProposal)100917_storage":{encoding:"inplace",label:"struct Types.OutputProposal",numberOfBytes:"64",members:[{astId:100912,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"outputRoot",offset:0,slot:"0",type:"t_bytes32"},{astId:100914,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"timestamp",offset:0,slot:"1",type:"t_uint128"},{astId:100916,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"l2BlockNumber",offset:16,slot:"1",type:"t_uint128"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"CHALLENGER()":{notice:"Getter for the challenger address. Public getter is legacy and will be removed in the future. Use `challenger` instead."},"FINALIZATION_PERIOD_SECONDS()":{notice:"Getter for the finalizationPeriodSeconds. Public getter is legacy and will be removed in the future. Use `finalizationPeriodSeconds` instead."},"L2_BLOCK_TIME()":{notice:"Getter for the l2BlockTime. Public getter is legacy and will be removed in the future. Use `l2BlockTime` instead."},"PROPOSER()":{notice:"Getter for the proposer address. Public getter is legacy and will be removed in the future. Use `proposer` instead."},"SUBMISSION_INTERVAL()":{notice:"Getter for the submissionInterval. Public getter is legacy and will be removed in the future. Use `submissionInterval` instead."},"challenger()":{notice:"The address of the challenger. Can be updated via upgrade."},"computeL2Timestamp(uint256)":{notice:"Returns the L2 timestamp corresponding to a given L2 block number."},constructor:{notice:"Constructs the L2OutputOracle contract. Initializes variables to the same values as in the getting-started config."},"deleteL2Outputs(uint256)":{notice:"Deletes all output proposals after and including the proposal that corresponds to the given output index. Only the challenger address can delete outputs."},"finalizationPeriodSeconds()":{notice:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized."},"getL2Output(uint256)":{notice:"Returns an output by index. Needed to return a struct instead of a tuple."},"getL2OutputAfter(uint256)":{notice:"Returns the L2 output proposal that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"getL2OutputIndexAfter(uint256)":{notice:"Returns the index of the L2 output that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{notice:"Initializer."},"l2BlockTime()":{notice:"The time between L2 blocks in seconds. Once set, this value MUST NOT be modified."},"latestBlockNumber()":{notice:"Returns the block number of the latest submitted L2 output proposal. If no proposals been submitted yet then this function will return the starting block number."},"latestOutputIndex()":{notice:"Returns the number of outputs that have been proposed. Will revert if no outputs have been proposed yet."},"nextBlockNumber()":{notice:"Computes the block number of the next L2 block that needs to be checkpointed."},"nextOutputIndex()":{notice:"Returns the index of the next output to be proposed."},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{notice:"Accepts an outputRoot and the timestamp of the corresponding L2 block. The timestamp must be equal to the current value returned by `nextTimestamp()` in order to be accepted. This function may only be called by the Proposer."},"proposer()":{notice:"The address of the proposer. Can be updated via upgrade."},"startingBlockNumber()":{notice:"The number of the first L2 block recorded in this contract."},"startingTimestamp()":{notice:"The timestamp of the first L2 block recorded in this contract."},"submissionInterval()":{notice:"The interval in L2 blocks at which checkpoints must be submitted."},"version()":{notice:"Semantic version."}},events:{"OutputProposed(bytes32,uint256,uint256,uint256)":{notice:"Emitted when an output is proposed."},"OutputsDeleted(uint256,uint256)":{notice:"Emitted when outputs are deleted."}},notice:"The L2OutputOracle contains an array of L2 state outputs, where each output is a commitment to the state of the L2 chain. Other contracts like the OptimismPortal use these outputs to verify information about the state of L2."},devdoc:{version:1,kind:"dev",methods:{"CHALLENGER()":{returns:{_0:"Address of the challenger."}},"FINALIZATION_PERIOD_SECONDS()":{returns:{_0:"Finalization period in seconds."}},"L2_BLOCK_TIME()":{returns:{_0:"L2 block time."}},"PROPOSER()":{returns:{_0:"Address of the proposer."}},"SUBMISSION_INTERVAL()":{returns:{_0:"Submission interval."}},"computeL2Timestamp(uint256)":{params:{_l2BlockNumber:"The L2 block number of the target block."},returns:{_0:"L2 timestamp of the given block."}},"deleteL2Outputs(uint256)":{params:{_l2OutputIndex:"Index of the first L2 output to be deleted. All outputs after this output will also be deleted."}},"getL2Output(uint256)":{params:{_l2OutputIndex:"Index of the output to return."},returns:{_0:"The output at the given index."}},"getL2OutputAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"First checkpoint that commits to the given L2 block number."}},"getL2OutputIndexAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"Index of the first checkpoint that commits to the given L2 block number."}},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{params:{_challenger:"The address of the challenger.",_finalizationPeriodSeconds:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized.",_l2BlockTime:"The time per L2 block, in seconds.",_proposer:"The address of the proposer.",_startingBlockNumber:"The number of the first L2 block.",_startingTimestamp:"The timestamp of the first L2 block.",_submissionInterval:"Interval in blocks at which checkpoints must be submitted."}},"latestBlockNumber()":{returns:{_0:"Latest submitted L2 block number."}},"latestOutputIndex()":{returns:{_0:"The number of outputs that have been proposed."}},"nextBlockNumber()":{returns:{_0:"Next L2 block number."}},"nextOutputIndex()":{returns:{_0:"The index of the next output to be proposed."}},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{params:{_l1BlockHash:"A block hash which must be included in the current chain.",_l1BlockNumber:"The block number with the specified block hash.",_l2BlockNumber:"The L2 block number that resulted in _outputRoot.",_outputRoot:"The L2 output of the checkpoint block."}}},events:{"OutputProposed(bytes32,uint256,uint256,uint256)":{params:{l1Timestamp:"The L1 timestamp when proposed.",l2BlockNumber:"The L2 block number of the output root.",l2OutputIndex:"The index of the output in the l2Outputs array.",outputRoot:"The output root."}},"OutputsDeleted(uint256,uint256)":{params:{newNextOutputIndex:"Next L2 output index after the deletion.",prevNextOutputIndex:"Next L2 output index before the deletion."}}}},id:129}});var zKe=D((Zca,FHt)=>{FHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC721To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"deposits",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"finalizeBridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_messenger",type:"address",internalType:"contract CrossDomainMessenger"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ERC721BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC721BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001f60008062000025565b62000234565b600054610100900460ff1615808015620000465750600054600160ff909116105b8062000076575062000063306200018a60201b62000b141760201c565b15801562000076575060005460ff166001145b620000df5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000103576000805461ff0019166101001790555b603280546001600160a01b0319166001600160a01b0384161790556200013e8373420000000000000000000000000000000000001462000199565b801562000185576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b03163b151590565b600054610100900460ff16620002065760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d6565b600180546001600160a01b039384166001600160a01b03199182161790915560028054929093169116179055565b6113e980620002446000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80635d93a3fc11610081578063927ede2d1161005b578063927ede2d14610231578063aa5574521461024f578063c89701a21461026257600080fd5b80635d93a3fc146101cc578063761f4493146102005780637f46ddb21461021357600080fd5b8063485cc955116100b2578063485cc9551461015857806354fd4d501461016b5780635c975abb146101b457600080fd5b806335e80ab3146100d95780633687011a146101235780633cb747bf14610138575b600080fd5b6032546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b610136610131366004610fe1565b610282565b005b6001546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b610136610166366004611064565b61032e565b6101a76040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b60405161011a9190611108565b6101bc610518565b604051901515815260200161011a565b6101bc6101da366004611122565b603160209081526000938452604080852082529284528284209052825290205460ff1681565b61013661020e366004611163565b6105b1565b60025473ffffffffffffffffffffffffffffffffffffffff166100f9565b60015473ffffffffffffffffffffffffffffffffffffffff166100f9565b61013661025d3660046111fb565b610a58565b6002546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b333b15610316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103268686333388888888610b30565b505050505050565b600054610100900460ff161580801561034e5750600054600160ff909116105b806103685750303b158015610368575060005460ff166001145b6103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161030d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561045257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556104b083734200000000000000000000000000000000000014610e70565b801561051357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610588573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ac9190611272565b905090565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156106865750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa15801561064a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066e9190611294565b73ffffffffffffffffffffffffffffffffffffffff16145b610712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161030d565b61071a610518565b15610781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4c314552433732314272696467653a2070617573656400000000000000000000604482015260640161030d565b3073ffffffffffffffffffffffffffffffffffffffff881603610826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c314552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152603160209081526040808320938a1683529281528282208683529052205460ff1615156001146108f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4c314552433732314272696467653a20546f6b656e204944206973206e6f742060448201527f657363726f77656420696e20746865204c312042726964676500000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff87811660008181526031602090815260408083208b8616845282528083208884529091529081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055517f42842e0e000000000000000000000000000000000000000000000000000000008152306004820152918616602483015260448201859052906342842e0e90606401600060405180830381600087803b1580156109b557600080fd5b505af11580156109c9573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac87878787604051610a4794939291906112fa565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff8516610afb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161030d565b610b0b8787338888888888610b30565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610bd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c314552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161030d565b600063761f449360e01b888a8989898888604051602401610bfa979695949392919061133a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000959095169490941790935273ffffffffffffffffffffffffffffffffffffffff8c81166000818152603186528381208e8416825286528381208b82529095529382902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905590517f23b872dd000000000000000000000000000000000000000000000000000000008152908a166004820152306024820152604481018890529092506323b872dd90606401600060405180830381600087803b158015610d3a57600080fd5b505af1158015610d4e573d6000803e3d6000fd5b50506001546002546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283169450633dbb202b9350610db1929091169085908990600401611397565b600060405180830381600087803b158015610dcb57600080fd5b505af1158015610ddf573d6000803e3d6000fd5b505050508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a589898888604051610e5d94939291906112fa565b60405180910390a4505050505050505050565b600054610100900460ff16610f07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161030d565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b73ffffffffffffffffffffffffffffffffffffffff81168114610f7c57600080fd5b50565b803563ffffffff81168114610f9357600080fd5b919050565b60008083601f840112610faa57600080fd5b50813567ffffffffffffffff811115610fc257600080fd5b602083019150836020828501011115610fda57600080fd5b9250929050565b60008060008060008060a08789031215610ffa57600080fd5b863561100581610f5a565b9550602087013561101581610f5a565b94506040870135935061102a60608801610f7f565b9250608087013567ffffffffffffffff81111561104657600080fd5b61105289828a01610f98565b979a9699509497509295939492505050565b6000806040838503121561107757600080fd5b823561108281610f5a565b9150602083013561109281610f5a565b809150509250929050565b6000815180845260005b818110156110c3576020818501810151868301820152016110a7565b818111156110d5576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061111b602083018461109d565b9392505050565b60008060006060848603121561113757600080fd5b833561114281610f5a565b9250602084013561115281610f5a565b929592945050506040919091013590565b600080600080600080600060c0888a03121561117e57600080fd5b873561118981610f5a565b9650602088013561119981610f5a565b955060408801356111a981610f5a565b945060608801356111b981610f5a565b93506080880135925060a088013567ffffffffffffffff8111156111dc57600080fd5b6111e88a828b01610f98565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561121657600080fd5b873561122181610f5a565b9650602088013561123181610f5a565b9550604088013561124181610f5a565b94506060880135935061125660808901610f7f565b925060a088013567ffffffffffffffff8111156111dc57600080fd5b60006020828403121561128457600080fd5b8151801515811461111b57600080fd5b6000602082840312156112a657600080fd5b815161111b81610f5a565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006113306060830184866112b1565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261138a60c0830184866112b1565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006113c6606083018561109d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"922:4498:127:-:0;;;1492:155;;;;;;;;;-1:-1:-1;1531:109:127::1;1585:1;::::0;1531:10:::1;:109::i;:::-;922:4498:::0;;1869:318;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;1987:16:127::1;:36:::0;;-1:-1:-1;;;;;;1987:36:127::1;-1:-1:-1::0;;;;;1987:36:127;::::1;;::::0;;2033:147:::1;2079:10:::0;786:42:194::1;2033:19:127;:147::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;1869:318:127;;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;3043:234:219:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;830:2:350;4880:69:41;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4880:69:41;628:407:350;4880:69:41;3212:9:219::1;:22:::0;;-1:-1:-1;;;;;3212:22:219;;::::1;-1:-1:-1::0;;;;;;3212:22:219;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;628:407:350:-;922:4498:127;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100d45760003560e01c80635d93a3fc11610081578063927ede2d1161005b578063927ede2d14610231578063aa5574521461024f578063c89701a21461026257600080fd5b80635d93a3fc146101cc578063761f4493146102005780637f46ddb21461021357600080fd5b8063485cc955116100b2578063485cc9551461015857806354fd4d501461016b5780635c975abb146101b457600080fd5b806335e80ab3146100d95780633687011a146101235780633cb747bf14610138575b600080fd5b6032546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b610136610131366004610fe1565b610282565b005b6001546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b610136610166366004611064565b61032e565b6101a76040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b60405161011a9190611108565b6101bc610518565b604051901515815260200161011a565b6101bc6101da366004611122565b603160209081526000938452604080852082529284528284209052825290205460ff1681565b61013661020e366004611163565b6105b1565b60025473ffffffffffffffffffffffffffffffffffffffff166100f9565b60015473ffffffffffffffffffffffffffffffffffffffff166100f9565b61013661025d3660046111fb565b610a58565b6002546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b333b15610316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103268686333388888888610b30565b505050505050565b600054610100900460ff161580801561034e5750600054600160ff909116105b806103685750303b158015610368575060005460ff166001145b6103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161030d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561045257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556104b083734200000000000000000000000000000000000014610e70565b801561051357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610588573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ac9190611272565b905090565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156106865750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa15801561064a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066e9190611294565b73ffffffffffffffffffffffffffffffffffffffff16145b610712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161030d565b61071a610518565b15610781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4c314552433732314272696467653a2070617573656400000000000000000000604482015260640161030d565b3073ffffffffffffffffffffffffffffffffffffffff881603610826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c314552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152603160209081526040808320938a1683529281528282208683529052205460ff1615156001146108f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4c314552433732314272696467653a20546f6b656e204944206973206e6f742060448201527f657363726f77656420696e20746865204c312042726964676500000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff87811660008181526031602090815260408083208b8616845282528083208884529091529081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055517f42842e0e000000000000000000000000000000000000000000000000000000008152306004820152918616602483015260448201859052906342842e0e90606401600060405180830381600087803b1580156109b557600080fd5b505af11580156109c9573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac87878787604051610a4794939291906112fa565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff8516610afb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161030d565b610b0b8787338888888888610b30565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610bd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c314552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161030d565b600063761f449360e01b888a8989898888604051602401610bfa979695949392919061133a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000959095169490941790935273ffffffffffffffffffffffffffffffffffffffff8c81166000818152603186528381208e8416825286528381208b82529095529382902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905590517f23b872dd000000000000000000000000000000000000000000000000000000008152908a166004820152306024820152604481018890529092506323b872dd90606401600060405180830381600087803b158015610d3a57600080fd5b505af1158015610d4e573d6000803e3d6000fd5b50506001546002546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283169450633dbb202b9350610db1929091169085908990600401611397565b600060405180830381600087803b158015610dcb57600080fd5b505af1158015610ddf573d6000803e3d6000fd5b505050508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a589898888604051610e5d94939291906112fa565b60405180910390a4505050505050505050565b600054610100900460ff16610f07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161030d565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b73ffffffffffffffffffffffffffffffffffffffff81168114610f7c57600080fd5b50565b803563ffffffff81168114610f9357600080fd5b919050565b60008083601f840112610faa57600080fd5b50813567ffffffffffffffff811115610fc257600080fd5b602083019150836020828501011115610fda57600080fd5b9250929050565b60008060008060008060a08789031215610ffa57600080fd5b863561100581610f5a565b9550602087013561101581610f5a565b94506040870135935061102a60608801610f7f565b9250608087013567ffffffffffffffff81111561104657600080fd5b61105289828a01610f98565b979a9699509497509295939492505050565b6000806040838503121561107757600080fd5b823561108281610f5a565b9150602083013561109281610f5a565b809150509250929050565b6000815180845260005b818110156110c3576020818501810151868301820152016110a7565b818111156110d5576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061111b602083018461109d565b9392505050565b60008060006060848603121561113757600080fd5b833561114281610f5a565b9250602084013561115281610f5a565b929592945050506040919091013590565b600080600080600080600060c0888a03121561117e57600080fd5b873561118981610f5a565b9650602088013561119981610f5a565b955060408801356111a981610f5a565b945060608801356111b981610f5a565b93506080880135925060a088013567ffffffffffffffff8111156111dc57600080fd5b6111e88a828b01610f98565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561121657600080fd5b873561122181610f5a565b9650602088013561123181610f5a565b9550604088013561124181610f5a565b94506060880135935061125660808901610f7f565b925060a088013567ffffffffffffffff8111156111dc57600080fd5b60006020828403121561128457600080fd5b8151801515811461111b57600080fd5b6000602082840312156112a657600080fd5b815161111b81610f5a565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006113306060830184866112b1565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261138a60c0830184866112b1565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006113c6606083018561109d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"922:4498:127:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1279:40;;;;;;;;;;;;216:42:350;204:55;;;186:74;;174:2;159:18;1279:40:127;;;;;;;;5688:971:219;;;;;;:::i;:::-;;:::i;:::-;;829:37;;;;;;;;;1869:318:127;;;;;;:::i;:::-;;:::i;1389:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2226:103::-;;;:::i;:::-;;;3420:14:350;;3413:22;3395:41;;3383:2;3368:18;2226:103:127;3255:187:350;1134:80:127;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3096:1207;;;;;;:::i;:::-;;:::i;3858:98:219:-;3938:11;;;;3858:98;;3511:99;3594:9;;;;3511:99;;7885:428;;;;;;:::i;:::-;;:::i;967:33::-;;;;;;;;;5688:971;6472:10;1465:19:57;:23;6444:89:219;;;;;;;6391:2:350;6444:89:219;;;6373:21:350;6430:2;6410:18;;;6403:30;6469:34;6449:18;;;6442:62;6540:15;6520:18;;;6513:43;6573:19;;6444:89:219;;;;;;;;;6544:108;6566:11;6579:12;6593:10;6605;6617:8;6627:12;6641:10;;6544:21;:108::i;:::-;5688:971;;;;;;:::o;1869:318:127:-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;6805:2:350;3146:190:41;;;6787:21:350;6844:2;6824:18;;;6817:30;6883:34;6863:18;;;6856:62;6954:16;6934:18;;;6927:44;6988:19;;3146:190:41;6603:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;1987:16:127::1;:36:::0;;;::::1;;::::0;::::1;;::::0;;2033:147:::1;2079:10:::0;786:42:194::1;2033:19:127;:147::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;7170:36:350;;3531:14:41;;7158:2:350;7143:18;3531:14:41;;;;;;;3457:99;3090:472;1869:318:127;;:::o;2226:103::-;2297:16;;:25;;;;;;;;2274:4;;2297:16;;;:23;;:25;;;;;;;;;;;;;;:16;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2290:32;;2226:103;:::o;3096:1207::-;2669:9:219;;;;2647:10;:32;:92;;;;-1:-1:-1;2727:11:219;;;2683:9;:32;;;;;;;;2727:11;;;;;2683:9;;;;:30;;:32;;;;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;2647:92;2626:202;;;;;;;7957:2:350;2626:202:219;;;7939:21:350;7996:2;7976:18;;;7969:30;8035:34;8015:18;;;8008:62;8106:33;8086:18;;;8079:61;8157:19;;2626:202:219;7755:427:350;2626:202:219;3359:8:127::1;:6;:8::i;:::-;:17;3351:52;;;::::0;::::1;::::0;;8389:2:350;3351:52:127::1;::::0;::::1;8371:21:350::0;8428:2;8408:18;;;8401:30;8467:24;8447:18;;;8440:52;8509:18;;3351:52:127::1;8187:346:350::0;3351:52:127::1;3444:4;3421:28;::::0;::::1;::::0;3413:83:::1;;;::::0;::::1;::::0;;8740:2:350;3413:83:127::1;::::0;::::1;8722:21:350::0;8779:2;8759:18;;;8752:30;8818:34;8798:18;;;8791:62;8889:12;8869:18;;;8862:40;8919:19;;3413:83:127::1;8538:406:350::0;3413:83:127::1;3620:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;;:45;;;;;;;::::1;;:53;;:45:::0;:53:::1;3599:157;;;::::0;::::1;::::0;;9151:2:350;3599:157:127::1;::::0;::::1;9133:21:350::0;9190:2;9170:18;;;9163:30;9229:34;9209:18;;;9202:62;9300:27;9280:18;;;9273:55;9345:19;;3599:157:127::1;8949:421:350::0;3599:157:127::1;3878:21;::::0;;::::1;3926:5;3878:21:::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;:45;;;;;;;;;;:53;;;::::1;::::0;;4053:90;;;;4107:4:::1;4053:90;::::0;::::1;9638:34:350::0;9708:15;;;9688:18;;;9681:43;9740:18;;;9733:34;;;3878:21:127;4053:37:::1;::::0;9550:18:350;;4053:90:127::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4263:5;4214:82;;4249:12;4214:82;;4236:11;4214:82;;;4270:3;4275:8;4285:10;;4214:82;;;;;;;;;:::i;:::-;;;;;;;;3096:1207:::0;;;;;;;:::o;7885:428:219:-;8124:17;;;8116:78;;;;;;;10750:2:350;8116:78:219;;;10732:21:350;10789:2;10769:18;;;10762:30;10828:34;10808:18;;;10801:62;10899:18;10879;;;10872:46;10935:19;;8116:78:219;10548:412:350;8116:78:219;8205:101;8227:11;8240:12;8254:10;8266:3;8271:8;8281:12;8295:10;;8205:21;:101::i;:::-;7885:428;;;;;;;:::o;1175:320:57:-;1465:19;;;:23;;;1175:320::o;4342:1076:127:-;4628:26;;;4620:88;;;;;;;11167:2:350;4620:88:127;;;11149:21:350;11206:2;11186:18;;;11179:30;11245:34;11225:18;;;11218:62;11316:19;11296:18;;;11289:47;11353:19;;4620:88:127;10965:413:350;4620:88:127;4798:20;4857:44;;;4903:12;4917:11;4930:5;4937:3;4942:8;4952:10;;4821:151;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5017:21;;;;-1:-1:-1;5017:21:127;;;:8;:21;;;;;:35;;;;;;;;;;:45;;;;;;;;;;:52;;;;5065:4;5017:52;;;5079:88;;;;;9656:15:350;;;5079:88:127;;;9638:34:350;5140:4:127;9688:18:350;;;9681:43;9740:18;;;9733:34;;;4821:151:127;;-1:-1:-1;5079:33:127;;9550:18:350;;5079:88:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5211:9:127;;5252:11;;5211:103;;;;;:9;;;;;-1:-1:-1;5211:21:127;;-1:-1:-1;5211:103:127;;5252:11;;;;5276:7;;5299:12;;5211:103;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5378:5;5329:82;;5364:12;5329:82;;5351:11;5329:82;;;5385:3;5390:8;5400:10;;5329:82;;;;;;;;;:::i;:::-;;;;;;;;4610:808;4342:1076;;;;;;;;:::o;3043:234:219:-;4888:13:41;;;;;;;4880:69;;;;;;;12719:2:350;4880:69:41;;;12701:21:350;12758:2;12738:18;;;12731:30;12797:34;12777:18;;;12770:62;12868:13;12848:18;;;12841:41;12899:19;;4880:69:41;12517:407:350;4880:69:41;3212:9:219::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;271:154:350:-;357:42;350:5;346:54;339:5;336:65;326:93;;415:1;412;405:12;326:93;271:154;:::o;430:163::-;497:20;;557:10;546:22;;536:33;;526:61;;583:1;580;573:12;526:61;430:163;;;:::o;598:347::-;649:8;659:6;713:3;706:4;698:6;694:17;690:27;680:55;;731:1;728;721:12;680:55;-1:-1:-1;754:20:350;;797:18;786:30;;783:50;;;829:1;826;819:12;783:50;866:4;858:6;854:17;842:29;;918:3;911:4;902:6;894;890:19;886:30;883:39;880:59;;;935:1;932;925:12;880:59;598:347;;;;;:::o;950:827::-;1055:6;1063;1071;1079;1087;1095;1148:3;1136:9;1127:7;1123:23;1119:33;1116:53;;;1165:1;1162;1155:12;1116:53;1204:9;1191:23;1223:31;1248:5;1223:31;:::i;:::-;1273:5;-1:-1:-1;1330:2:350;1315:18;;1302:32;1343:33;1302:32;1343:33;:::i;:::-;1395:7;-1:-1:-1;1449:2:350;1434:18;;1421:32;;-1:-1:-1;1472:37:350;1505:2;1490:18;;1472:37;:::i;:::-;1462:47;;1560:3;1549:9;1545:19;1532:33;1588:18;1580:6;1577:30;1574:50;;;1620:1;1617;1610:12;1574:50;1659:58;1709:7;1700:6;1689:9;1685:22;1659:58;:::i;:::-;950:827;;;;-1:-1:-1;950:827:350;;-1:-1:-1;950:827:350;;1736:8;;950:827;-1:-1:-1;;;950:827:350:o;2044:445::-;2169:6;2177;2230:2;2218:9;2209:7;2205:23;2201:32;2198:52;;;2246:1;2243;2236:12;2198:52;2285:9;2272:23;2304:31;2329:5;2304:31;:::i;:::-;2354:5;-1:-1:-1;2411:2:350;2396:18;;2383:32;2424:33;2383:32;2424:33;:::i;:::-;2476:7;2466:17;;;2044:445;;;;;:::o;2494:531::-;2536:3;2574:5;2568:12;2601:6;2596:3;2589:19;2626:1;2636:162;2650:6;2647:1;2644:13;2636:162;;;2712:4;2768:13;;;2764:22;;2758:29;2740:11;;;2736:20;;2729:59;2665:12;2636:162;;;2816:6;2813:1;2810:13;2807:87;;;2882:1;2875:4;2866:6;2861:3;2857:16;2853:27;2846:38;2807:87;-1:-1:-1;2939:2:350;2927:15;2944:66;2923:88;2914:98;;;;3014:4;2910:109;;2494:531;-1:-1:-1;;2494:531:350:o;3030:220::-;3179:2;3168:9;3161:21;3142:4;3199:45;3240:2;3229:9;3225:18;3217:6;3199:45;:::i;:::-;3191:53;3030:220;-1:-1:-1;;;3030:220:350:o;3447:456::-;3524:6;3532;3540;3593:2;3581:9;3572:7;3568:23;3564:32;3561:52;;;3609:1;3606;3599:12;3561:52;3648:9;3635:23;3667:31;3692:5;3667:31;:::i;:::-;3717:5;-1:-1:-1;3774:2:350;3759:18;;3746:32;3787:33;3746:32;3787:33;:::i;:::-;3447:456;;3839:7;;-1:-1:-1;;;3893:2:350;3878:18;;;;3865:32;;3447:456::o;3908:1038::-;4023:6;4031;4039;4047;4055;4063;4071;4124:3;4112:9;4103:7;4099:23;4095:33;4092:53;;;4141:1;4138;4131:12;4092:53;4180:9;4167:23;4199:31;4224:5;4199:31;:::i;:::-;4249:5;-1:-1:-1;4306:2:350;4291:18;;4278:32;4319:33;4278:32;4319:33;:::i;:::-;4371:7;-1:-1:-1;4430:2:350;4415:18;;4402:32;4443:33;4402:32;4443:33;:::i;:::-;4495:7;-1:-1:-1;4554:2:350;4539:18;;4526:32;4567:33;4526:32;4567:33;:::i;:::-;4619:7;-1:-1:-1;4673:3:350;4658:19;;4645:33;;-1:-1:-1;4729:3:350;4714:19;;4701:33;4757:18;4746:30;;4743:50;;;4789:1;4786;4779:12;4743:50;4828:58;4878:7;4869:6;4858:9;4854:22;4828:58;:::i;:::-;3908:1038;;;;-1:-1:-1;3908:1038:350;;-1:-1:-1;3908:1038:350;;;;4802:84;;-1:-1:-1;;;3908:1038:350:o;5215:969::-;5329:6;5337;5345;5353;5361;5369;5377;5430:3;5418:9;5409:7;5405:23;5401:33;5398:53;;;5447:1;5444;5437:12;5398:53;5486:9;5473:23;5505:31;5530:5;5505:31;:::i;:::-;5555:5;-1:-1:-1;5612:2:350;5597:18;;5584:32;5625:33;5584:32;5625:33;:::i;:::-;5677:7;-1:-1:-1;5736:2:350;5721:18;;5708:32;5749:33;5708:32;5749:33;:::i;:::-;5801:7;-1:-1:-1;5855:2:350;5840:18;;5827:32;;-1:-1:-1;5878:38:350;5911:3;5896:19;;5878:38;:::i;:::-;5868:48;;5967:3;5956:9;5952:19;5939:33;5995:18;5987:6;5984:30;5981:50;;;6027:1;6024;6017:12;7217:277;7284:6;7337:2;7325:9;7316:7;7312:23;7308:32;7305:52;;;7353:1;7350;7343:12;7305:52;7385:9;7379:16;7438:5;7431:13;7424:21;7417:5;7414:32;7404:60;;7460:1;7457;7450:12;7499:251;7569:6;7622:2;7610:9;7601:7;7597:23;7593:32;7590:52;;;7638:1;7635;7628:12;7590:52;7670:9;7664:16;7689:31;7714:5;7689:31;:::i;9778:325::-;9866:6;9861:3;9854:19;9918:6;9911:5;9904:4;9899:3;9895:14;9882:43;;9970:1;9963:4;9954:6;9949:3;9945:16;9941:27;9934:38;9836:3;10092:4;10022:66;10017:2;10009:6;10005:15;10001:88;9996:3;9992:98;9988:109;9981:116;;9778:325;;;;:::o;10108:435::-;10333:42;10325:6;10321:55;10310:9;10303:74;10413:6;10408:2;10397:9;10393:18;10386:34;10456:2;10451;10440:9;10436:18;10429:30;10284:4;10476:61;10533:2;10522:9;10518:18;10510:6;10502;10476:61;:::i;:::-;10468:69;10108:435;-1:-1:-1;;;;;;10108:435:350:o;11383:700::-;11643:4;11672:42;11753:2;11745:6;11741:15;11730:9;11723:34;11805:2;11797:6;11793:15;11788:2;11777:9;11773:18;11766:43;11857:2;11849:6;11845:15;11840:2;11829:9;11825:18;11818:43;11909:2;11901:6;11897:15;11892:2;11881:9;11877:18;11870:43;;11950:6;11944:3;11933:9;11929:19;11922:35;11994:3;11988;11977:9;11973:19;11966:32;12015:62;12072:3;12061:9;12057:19;12049:6;12041;12015:62;:::i;:::-;12007:70;11383:700;-1:-1:-1;;;;;;;;;11383:700:350:o;12088:424::-;12301:42;12293:6;12289:55;12278:9;12271:74;12381:2;12376;12365:9;12361:18;12354:30;12252:4;12401:45;12442:2;12431:9;12427:18;12419:6;12401:45;:::i;:::-;12393:53;;12494:10;12486:6;12482:23;12477:2;12466:9;12462:18;12455:51;12088:424;;;;;;:::o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC721(address,address,uint256,uint32,bytes)":"3687011a","bridgeERC721To(address,address,address,uint256,uint32,bytes)":"aa557452","deposits(address,address,uint256)":"5d93a3fc","finalizeBridgeERC721(address,address,address,address,uint256,bytes)":"761f4493","initialize(address,address)":"485cc955","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","superchainConfig()":"35e80ab3","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"deposits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract CrossDomainMessenger","name":"_messenger","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_tokenId":"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_to":"Address to receive the token on the other domain.","_tokenId":"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"params":{"_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_from":"Address that triggered the bridge on the other domain.","_localToken":"Address of the ERC721 token on this domain.","_remoteToken":"Address of the ERC721 token on the other domain.","_to":"Address to receive the token on this domain.","_tokenId":"ID of the token being deposited."}},"initialize(address,address)":{"params":{"_messenger":"Contract of the CrossDomainMessenger on this network.","_superchainConfig":"Contract of the SuperchainConfig contract on this network."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}}},"stateVariables":{"version":{"custom:semver":"2.1.0"}},"title":"L1ERC721Bridge","version":1},"userdoc":{"events":{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge to the other network is initiated."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{"notice":"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to the caller\'s account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to some recipient\'s account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"constructor":{"notice":"Constructs the L1ERC721Bridge contract."},"deposits(address,address,uint256)":{"notice":"Mapping of L1 token to L2 token to ID to boolean, indicating if the given L1 token by ID was deposited for a given L2 token."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"notice":"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address,address)":{"notice":"Initializes the contract."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Contract of the bridge on the other network."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{"notice":"Address of the SuperchainConfig contract."},"version()":{"notice":"Semantic version."}},"notice":"The L1 ERC721 bridge is a contract which works together with the L2 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as an escrow for ERC721 tokens deposited into L2.","version":1}},"settings":{"compilationTarget":{"src/L1/L1ERC721Bridge.sol":"L1ERC721Bridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{"keccak256":"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f","license":"MIT","urls":["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"]},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{"keccak256":"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf","license":"MIT","urls":["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1ERC721Bridge.sol":{"keccak256":"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd","license":"MIT","urls":["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L2/L2ERC721Bridge.sol":{"keccak256":"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9","license":"MIT","urls":["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/ERC721Bridge.sol":{"keccak256":"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f","license":"MIT","urls":["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/IOptimismMintableERC721.sol":{"keccak256":"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52","license":"MIT","urls":["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90","license":"MIT","urls":["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeInitiated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721To"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"},{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function",name:"deposits",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC721"},{inputs:[{internalType:"contract CrossDomainMessenger",name:"_messenger",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address,address)":{params:{_messenger:"Contract of the CrossDomainMessenger on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L1ERC721Bridge contract."},"deposits(address,address,uint256)":{notice:"Mapping of L1 token to L2 token to ID to boolean, indicating if the given L1 token by ID was deposited for a given L2 token."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address,address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L1ERC721Bridge.sol":"L1ERC721Bridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{keccak256:"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f",urls:["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{keccak256:"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf",urls:["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1ERC721Bridge.sol":{keccak256:"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd",urls:["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L2/L2ERC721Bridge.sol":{keccak256:"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9",urls:["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/ERC721Bridge.sol":{keccak256:"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f",urls:["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/IOptimismMintableERC721.sol":{keccak256:"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52",urls:["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90",urls:["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:105516,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:105520,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"messenger",offset:0,slot:"1",type:"t_contract(CrossDomainMessenger)105498"},{astId:105524,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"otherBridge",offset:0,slot:"2",type:"t_contract(StandardBridge)108285"},{astId:105529,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"__gap",offset:0,slot:"3",type:"t_array(t_uint256)46_storage"},{astId:82150,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"deposits",offset:0,slot:"49",type:"t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_bool)))"},{astId:82154,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"superchainConfig",offset:0,slot:"50",type:"t_contract(SuperchainConfig)85848"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)46_storage":{encoding:"inplace",label:"uint256[46]",numberOfBytes:"1472",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)108285":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},"t_contract(SuperchainConfig)85848":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_bool)))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => mapping(uint256 => bool)))",numberOfBytes:"32",value:"t_mapping(t_address,t_mapping(t_uint256,t_bool))"},"t_mapping(t_address,t_mapping(t_uint256,t_bool))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(uint256 => bool))",numberOfBytes:"32",value:"t_mapping(t_uint256,t_bool)"},"t_mapping(t_uint256,t_bool)":{encoding:"mapping",key:"t_uint256",label:"mapping(uint256 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L1ERC721Bridge contract."},"deposits(address,address,uint256)":{notice:"Mapping of L1 token to L2 token to ID to boolean, indicating if the given L1 token by ID was deposited for a given L2 token."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address,address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},events:{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge to the other network is initiated."}},notice:"The L1 ERC721 bridge is a contract which works together with the L2 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as an escrow for ERC721 tokens deposited into L2."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address,address)":{params:{_messenger:"Contract of the CrossDomainMessenger on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},title:"L1ERC721Bridge"},id:127}});var WKe=D((e6a,NHt)=>{NHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC721To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeBridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_l1ERC721Bridge",type:"address",internalType:"address payable"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ERC721BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC721BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000217565b600054610100900460ff1615808015620000455750600054600160ff909116105b8062000075575062000062306200016d60201b62000a3e1760201c565b15801562000075575060005460ff166001145b620000de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000102576000805461ff0019166101001790555b62000122734200000000000000000000000000000000000007836200017c565b801562000169576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054610100900460ff16620001e95760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b600180546001600160a01b039384166001600160a01b03199182161790915560028054929093169116179055565b61160c80620002276000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c80637f46ddb211610076578063aa5574521161005b578063aa557452146101c9578063c4d66de8146101dc578063c89701a2146101ef57600080fd5b80637f46ddb21461018d578063927ede2d146101ab57600080fd5b806354fd4d50116100a757806354fd4d50146101225780635c975abb1461016b578063761f44931461017a57600080fd5b80633687011a146100c35780633cb747bf146100d8575b600080fd5b6100d66100d136600461128a565b61020f565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61015e6040518060400160405280600581526020017f312e372e3000000000000000000000000000000000000000000000000000000081525081565b6040516101199190611378565b60405160008152602001610119565b6100d661018836600461138b565b6102bb565b60025473ffffffffffffffffffffffffffffffffffffffff166100f8565b60015473ffffffffffffffffffffffffffffffffffffffff166100f8565b6100d66101d7366004611423565b6107d9565b6100d66101ea36600461149a565b610895565b6002546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b333b156102a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102b38686333388888888610a5a565b505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156103905750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa158015610354573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037891906114b7565b73ffffffffffffffffffffffffffffffffffffffff16145b61041c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161029a565b3073ffffffffffffffffffffffffffffffffffffffff8816036104c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161029a565b6104eb877f74259ebf00000000000000000000000000000000000000000000000000000000610fc2565b610577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e20696e746560448201527f7266616365206973206e6f7420636f6d706c69616e7400000000000000000000606482015260840161029a565b8673ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e691906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16146106c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4c324552433732314272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433732312060648201527f6c6f63616c20746f6b656e000000000000000000000000000000000000000000608482015260a40161029a565b6040517fa144819400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301526024820185905288169063a144819490604401600060405180830381600087803b15801561073657600080fd5b505af115801561074a573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac878787876040516107c8949392919061151d565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff851661087c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161029a565b61088c8787338888888888610a5a565b50505050505050565b600054610100900460ff16158080156108b55750600054600160ff909116105b806108cf5750303b1580156108cf575060005460ff166001145b61095b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161029a565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156109b957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6109d773420000000000000000000000000000000000000783610fe5565b8015610a3a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610afd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161029a565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810185905273ffffffffffffffffffffffffffffffffffffffff891690636352211e90602401602060405180830381865afa158015610b68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8c91906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614610c46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324552433732314272696467653a205769746864726177616c206973206e6f60448201527f74206265696e6720696e69746961746564206279204e4654206f776e65720000606482015260840161029a565b60008873ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb791906114b7565b90508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e20646f6560448201527f73206e6f74206d6174636820676976656e2076616c7565000000000000000000606482015260840161029a565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8881166004830152602482018790528a1690639dc29fac90604401600060405180830381600087803b158015610de457600080fd5b505af1158015610df8573d6000803e3d6000fd5b50505050600063761f449360e01b828b8a8a8a8989604051602401610e23979695949392919061155d565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925260015460025492517f3dbb202b00000000000000000000000000000000000000000000000000000000815291935073ffffffffffffffffffffffffffffffffffffffff90811692633dbb202b92610f0292919091169085908a906004016115ba565b600060405180830381600087803b158015610f1c57600080fd5b505af1158015610f30573d6000803e3d6000fd5b505050508773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a58a8a8989604051610fae949392919061151d565b60405180910390a450505050505050505050565b6000610fcd836110cf565b8015610fde5750610fde8383611134565b9392505050565b600054610100900460ff1661107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161029a565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b60006110fb827f01ffc9a700000000000000000000000000000000000000000000000000000000611134565b801561112e575061112c827fffffffff00000000000000000000000000000000000000000000000000000000611134565b155b92915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156111ec575060208210155b80156111f85750600081115b979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461122557600080fd5b50565b803563ffffffff8116811461123c57600080fd5b919050565b60008083601f84011261125357600080fd5b50813567ffffffffffffffff81111561126b57600080fd5b60208301915083602082850101111561128357600080fd5b9250929050565b60008060008060008060a087890312156112a357600080fd5b86356112ae81611203565b955060208701356112be81611203565b9450604087013593506112d360608801611228565b9250608087013567ffffffffffffffff8111156112ef57600080fd5b6112fb89828a01611241565b979a9699509497509295939492505050565b6000815180845260005b8181101561133357602081850181015186830182015201611317565b81811115611345576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610fde602083018461130d565b600080600080600080600060c0888a0312156113a657600080fd5b87356113b181611203565b965060208801356113c181611203565b955060408801356113d181611203565b945060608801356113e181611203565b93506080880135925060a088013567ffffffffffffffff81111561140457600080fd5b6114108a828b01611241565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561143e57600080fd5b873561144981611203565b9650602088013561145981611203565b9550604088013561146981611203565b94506060880135935061147e60808901611228565b925060a088013567ffffffffffffffff81111561140457600080fd5b6000602082840312156114ac57600080fd5b8135610fde81611203565b6000602082840312156114c957600080fd5b8151610fde81611203565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006115536060830184866114d4565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a08301526115ad60c0830184866114d4565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006115e9606083018561130d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"1389:4507:144:-:0;;;1576:98;;;;;;;;;-1:-1:-1;1615:52:144::1;1661:1;1615:10;:52::i;:::-;1389:4507:::0;;1813:263;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;1895:174:144::1;480:42:194;2042:15:144::0;1895:19:::1;:174::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;1813:263:144;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;3043:234:219:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;830:2:350;4880:69:41;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4880:69:41;628:407:350;4880:69:41;3212:9:219::1;:22:::0;;-1:-1:-1;;;;;3212:22:219;;::::1;-1:-1:-1::0;;;;;;3212:22:219;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;628:407:350:-;1389:4507:144;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100be5760003560e01c80637f46ddb211610076578063aa5574521161005b578063aa557452146101c9578063c4d66de8146101dc578063c89701a2146101ef57600080fd5b80637f46ddb21461018d578063927ede2d146101ab57600080fd5b806354fd4d50116100a757806354fd4d50146101225780635c975abb1461016b578063761f44931461017a57600080fd5b80633687011a146100c35780633cb747bf146100d8575b600080fd5b6100d66100d136600461128a565b61020f565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61015e6040518060400160405280600581526020017f312e372e3000000000000000000000000000000000000000000000000000000081525081565b6040516101199190611378565b60405160008152602001610119565b6100d661018836600461138b565b6102bb565b60025473ffffffffffffffffffffffffffffffffffffffff166100f8565b60015473ffffffffffffffffffffffffffffffffffffffff166100f8565b6100d66101d7366004611423565b6107d9565b6100d66101ea36600461149a565b610895565b6002546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b333b156102a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102b38686333388888888610a5a565b505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156103905750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa158015610354573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037891906114b7565b73ffffffffffffffffffffffffffffffffffffffff16145b61041c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161029a565b3073ffffffffffffffffffffffffffffffffffffffff8816036104c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161029a565b6104eb877f74259ebf00000000000000000000000000000000000000000000000000000000610fc2565b610577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e20696e746560448201527f7266616365206973206e6f7420636f6d706c69616e7400000000000000000000606482015260840161029a565b8673ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e691906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16146106c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4c324552433732314272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433732312060648201527f6c6f63616c20746f6b656e000000000000000000000000000000000000000000608482015260a40161029a565b6040517fa144819400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301526024820185905288169063a144819490604401600060405180830381600087803b15801561073657600080fd5b505af115801561074a573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac878787876040516107c8949392919061151d565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff851661087c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161029a565b61088c8787338888888888610a5a565b50505050505050565b600054610100900460ff16158080156108b55750600054600160ff909116105b806108cf5750303b1580156108cf575060005460ff166001145b61095b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161029a565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156109b957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6109d773420000000000000000000000000000000000000783610fe5565b8015610a3a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610afd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161029a565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810185905273ffffffffffffffffffffffffffffffffffffffff891690636352211e90602401602060405180830381865afa158015610b68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8c91906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614610c46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324552433732314272696467653a205769746864726177616c206973206e6f60448201527f74206265696e6720696e69746961746564206279204e4654206f776e65720000606482015260840161029a565b60008873ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb791906114b7565b90508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e20646f6560448201527f73206e6f74206d6174636820676976656e2076616c7565000000000000000000606482015260840161029a565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8881166004830152602482018790528a1690639dc29fac90604401600060405180830381600087803b158015610de457600080fd5b505af1158015610df8573d6000803e3d6000fd5b50505050600063761f449360e01b828b8a8a8a8989604051602401610e23979695949392919061155d565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925260015460025492517f3dbb202b00000000000000000000000000000000000000000000000000000000815291935073ffffffffffffffffffffffffffffffffffffffff90811692633dbb202b92610f0292919091169085908a906004016115ba565b600060405180830381600087803b158015610f1c57600080fd5b505af1158015610f30573d6000803e3d6000fd5b505050508773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a58a8a8989604051610fae949392919061151d565b60405180910390a450505050505050505050565b6000610fcd836110cf565b8015610fde5750610fde8383611134565b9392505050565b600054610100900460ff1661107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161029a565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b60006110fb827f01ffc9a700000000000000000000000000000000000000000000000000000000611134565b801561112e575061112c827fffffffff00000000000000000000000000000000000000000000000000000000611134565b155b92915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156111ec575060208210155b80156111f85750600081115b979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461122557600080fd5b50565b803563ffffffff8116811461123c57600080fd5b919050565b60008083601f84011261125357600080fd5b50813567ffffffffffffffff81111561126b57600080fd5b60208301915083602082850101111561128357600080fd5b9250929050565b60008060008060008060a087890312156112a357600080fd5b86356112ae81611203565b955060208701356112be81611203565b9450604087013593506112d360608801611228565b9250608087013567ffffffffffffffff8111156112ef57600080fd5b6112fb89828a01611241565b979a9699509497509295939492505050565b6000815180845260005b8181101561133357602081850181015186830182015201611317565b81811115611345576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610fde602083018461130d565b600080600080600080600060c0888a0312156113a657600080fd5b87356113b181611203565b965060208801356113c181611203565b955060408801356113d181611203565b945060608801356113e181611203565b93506080880135925060a088013567ffffffffffffffff81111561140457600080fd5b6114108a828b01611241565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561143e57600080fd5b873561144981611203565b9650602088013561145981611203565b9550604088013561146981611203565b94506060880135935061147e60808901611228565b925060a088013567ffffffffffffffff81111561140457600080fd5b6000602082840312156114ac57600080fd5b8135610fde81611203565b6000602082840312156114c957600080fd5b8151610fde81611203565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006115536060830184866114d4565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a08301526115ad60c0830184866114d4565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006115e9606083018561130d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"1389:4507:144:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5688:971:219;;;;;;:::i;:::-;;:::i;:::-;;829:37;;;;;;;;;;;;1732:42:350;1720:55;;;1702:74;;1690:2;1675:18;829:37:219;;;;;;;;1473:40:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4239:82:219:-;;;4286:4;2688:41:350;;2676:2;2661:18;4239:82:219;2548:187:350;2843:1275:144;;;;;;:::i;:::-;;:::i;3858:98:219:-;3938:11;;;;3858:98;;3511:99;3594:9;;;;3511:99;;7885:428;;;;;;:::i;:::-;;:::i;1813:263:144:-;;;;;;:::i;:::-;;:::i;967:33:219:-;;;;;;;;;5688:971;6472:10;1465:19:57;:23;6444:89:219;;;;;;;5483:2:350;6444:89:219;;;5465:21:350;5522:2;5502:18;;;5495:30;5561:34;5541:18;;;5534:62;5632:15;5612:18;;;5605:43;5665:19;;6444:89:219;;;;;;;;;6544:108;6566:11;6579:12;6593:10;6605;6617:8;6627:12;6641:10;;6544:21;:108::i;:::-;5688:971;;;;;;:::o;2843:1275:144:-;2669:9:219;;;;2647:10;:32;:92;;;;-1:-1:-1;2727:11:219;;;2683:9;:32;;;;;;;;2727:11;;;;;2683:9;;;;:30;;:32;;;;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;2647:92;2626:202;;;;;;;6153:2:350;2626:202:219;;;6135:21:350;6192:2;6172:18;;;6165:30;6231:34;6211:18;;;6204:62;6302:33;6282:18;;;6275:61;6353:19;;2626:202:219;5951:427:350;2626:202:219;3129:4:144::1;3106:28;::::0;::::1;::::0;3098:83:::1;;;::::0;::::1;::::0;;6585:2:350;3098:83:144::1;::::0;::::1;6567:21:350::0;6624:2;6604:18;;;6597:30;6663:34;6643:18;;;6636:62;6734:12;6714:18;;;6707:40;6764:19;;3098:83:144::1;6383:406:350::0;3098:83:144::1;3331:87;3363:11;3376:41;3331:31;:87::i;:::-;3310:188;;;::::0;::::1;::::0;;6996:2:350;3310:188:144::1;::::0;::::1;6978:21:350::0;7035:2;7015:18;;;7008:30;7074:34;7054:18;;;7047:62;7145:24;7125:18;;;7118:52;7187:19;;3310:188:144::1;6794:418:350::0;3310:188:144::1;3570:11;3546:48;;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3530:66;;:12;:66;;;3509:188;;;::::0;::::1;::::0;;7419:2:350;3509:188:144::1;::::0;::::1;7401:21:350::0;7458:2;7438:18;;;7431:30;7497:34;7477:18;;;7470:62;7568:34;7548:18;;;7541:62;7640:13;7619:19;;;7612:42;7671:19;;3509:188:144::1;7217:479:350::0;3509:188:144::1;3898:60;::::0;;;;:45:::1;7893:55:350::0;;;3898:60:144::1;::::0;::::1;7875:74:350::0;7965:18;;;7958:34;;;3898:45:144;::::1;::::0;::::1;::::0;7848:18:350;;3898:60:144::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4078:5;4029:82;;4064:12;4029:82;;4051:11;4029:82;;;4085:3;4090:8;4100:10;;4029:82;;;;;;;;;:::i;:::-;;;;;;;;2843:1275:::0;;;;;;;:::o;7885:428:219:-;8124:17;;;8116:78;;;;;;;8975:2:350;8116:78:219;;;8957:21:350;9014:2;8994:18;;;8987:30;9053:34;9033:18;;;9026:62;9124:18;9104;;;9097:46;9160:19;;8116:78:219;8773:412:350;8116:78:219;8205:101;8227:11;8240:12;8254:10;8266:3;8271:8;8281:12;8295:10;;8205:21;:101::i;:::-;7885:428;;;;;;;:::o;1813:263:144:-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;9392:2:350;3146:190:41;;;9374:21:350;9431:2;9411:18;;;9404:30;9470:34;9450:18;;;9443:62;9541:16;9521:18;;;9514:44;9575:19;;3146:190:41;9190:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;1895:174:144::1;480:42:194;2042:15:144;1895:19;:174::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;9757:36:350;;3531:14:41;;9745:2:350;9730:18;3531:14:41;;;;;;;3457:99;3090:472;1813:263:144;:::o;1175:320:57:-;1465:19;;;:23;;;1175:320::o;4157:1737:144:-;4443:26;;;4435:88;;;;;;;10006:2:350;4435:88:144;;;9988:21:350;10045:2;10025:18;;;10018:30;10084:34;10064:18;;;10057:62;10155:19;10135:18;;;10128:47;10192:19;;4435:88:144;9804:413:350;4435:88:144;4637:54;;;;;;;;10368:25:350;;;4637:44:144;;;;;;10341:18:350;;4637:54:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4628:63;;:5;:63;;;4607:172;;;;;;;10606:2:350;4607:172:144;;;10588:21:350;10645:2;10625:18;;;10618:30;10684:34;10664:18;;;10657:62;10755:32;10735:18;;;10728:60;10805:19;;4607:172:144;10404:426:350;4607:172:144;4930:19;4976:11;4952:48;;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4930:72;;5035:12;5020:27;;:11;:27;;;5012:95;;;;;;;11037:2:350;5012:95:144;;;11019:21:350;11076:2;11056:18;;;11049:30;11115:34;11095:18;;;11088:62;11186:25;11166:18;;;11159:53;11229:19;;5012:95:144;10835:419:350;5012:95:144;5287:58;;;;;:41;7893:55:350;;;5287:58:144;;;7875:74:350;7965:18;;;7958:34;;;5287:41:144;;;;;7848:18:350;;5287:58:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5356:20;5415:44;;;5461:11;5474;5487:5;5494:3;5499:8;5509:10;;5379:150;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5632:9;;5673:11;;5632:103;;;;;5379:150;;-1:-1:-1;5632:9:144;;;;;:21;;:103;;5673:11;;;;;5379:150;;5720:12;;5632:103;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5854:5;5806:81;;5841:11;5806:81;;5828:11;5806:81;;;5861:3;5866:8;5876:10;;5806:81;;;;;;;;;:::i;:::-;;;;;;;;4425:1469;;4157:1737;;;;;;;;:::o;1333:274:65:-;1420:4;1527:23;1542:7;1527:14;:23::i;:::-;:73;;;;;1554:46;1579:7;1588:11;1554:24;:46::i;:::-;1520:80;1333:274;-1:-1:-1;;;1333:274:65:o;3043:234:219:-;4888:13:41;;;;;;;4880:69;;;;;;;12595:2:350;4880:69:41;;;12577:21:350;12634:2;12614:18;;;12607:30;12673:34;12653:18;;;12646:62;12744:13;12724:18;;;12717:41;12775:19;;4880:69:41;12393:407:350;4880:69:41;3212:9:219::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;704:411:65:-;768:4;975:60;1000:7;1009:25;975:24;:60::i;:::-;:133;;;;-1:-1:-1;1052:56:65;1077:7;1086:21;1052:24;:56::i;:::-;1051:57;975:133;956:152;704:411;-1:-1:-1;;704:411:65:o;4223:638::-;4385:71;;;12979:66:350;12967:79;;4385:71:65;;;;12949:98:350;;;;4385:71:65;;;;;;;;;;12922:18:350;;;;4385:71:65;;;;;;;;;;;4408:34;4385:71;;;4664:20;;4316:4;;4385:71;4316:4;;;;;;4385:71;4316:4;;4664:20;4629:7;4622:5;4611:86;4600:97;;4724:16;4710:30;;4774:4;4768:11;4753:26;;4806:7;:29;;;;;4831:4;4817:10;:18;;4806:29;:48;;;;;4853:1;4839:11;:15;4806:48;4799:55;4223:638;-1:-1:-1;;;;;;;4223:638:65:o;14:154:350:-;100:42;93:5;89:54;82:5;79:65;69:93;;158:1;155;148:12;69:93;14:154;:::o;173:163::-;240:20;;300:10;289:22;;279:33;;269:61;;326:1;323;316:12;269:61;173:163;;;:::o;341:347::-;392:8;402:6;456:3;449:4;441:6;437:17;433:27;423:55;;474:1;471;464:12;423:55;-1:-1:-1;497:20:350;;540:18;529:30;;526:50;;;572:1;569;562:12;526:50;609:4;601:6;597:17;585:29;;661:3;654:4;645:6;637;633:19;629:30;626:39;623:59;;;678:1;675;668:12;623:59;341:347;;;;;:::o;693:827::-;798:6;806;814;822;830;838;891:3;879:9;870:7;866:23;862:33;859:53;;;908:1;905;898:12;859:53;947:9;934:23;966:31;991:5;966:31;:::i;:::-;1016:5;-1:-1:-1;1073:2:350;1058:18;;1045:32;1086:33;1045:32;1086:33;:::i;:::-;1138:7;-1:-1:-1;1192:2:350;1177:18;;1164:32;;-1:-1:-1;1215:37:350;1248:2;1233:18;;1215:37;:::i;:::-;1205:47;;1303:3;1292:9;1288:19;1275:33;1331:18;1323:6;1320:30;1317:50;;;1363:1;1360;1353:12;1317:50;1402:58;1452:7;1443:6;1432:9;1428:22;1402:58;:::i;:::-;693:827;;;;-1:-1:-1;693:827:350;;-1:-1:-1;693:827:350;;1479:8;;693:827;-1:-1:-1;;;693:827:350:o;1787:531::-;1829:3;1867:5;1861:12;1894:6;1889:3;1882:19;1919:1;1929:162;1943:6;1940:1;1937:13;1929:162;;;2005:4;2061:13;;;2057:22;;2051:29;2033:11;;;2029:20;;2022:59;1958:12;1929:162;;;2109:6;2106:1;2103:13;2100:87;;;2175:1;2168:4;2159:6;2154:3;2150:16;2146:27;2139:38;2100:87;-1:-1:-1;2232:2:350;2220:15;2237:66;2216:88;2207:98;;;;2307:4;2203:109;;1787:531;-1:-1:-1;;1787:531:350:o;2323:220::-;2472:2;2461:9;2454:21;2435:4;2492:45;2533:2;2522:9;2518:18;2510:6;2492:45;:::i;2740:1038::-;2855:6;2863;2871;2879;2887;2895;2903;2956:3;2944:9;2935:7;2931:23;2927:33;2924:53;;;2973:1;2970;2963:12;2924:53;3012:9;2999:23;3031:31;3056:5;3031:31;:::i;:::-;3081:5;-1:-1:-1;3138:2:350;3123:18;;3110:32;3151:33;3110:32;3151:33;:::i;:::-;3203:7;-1:-1:-1;3262:2:350;3247:18;;3234:32;3275:33;3234:32;3275:33;:::i;:::-;3327:7;-1:-1:-1;3386:2:350;3371:18;;3358:32;3399:33;3358:32;3399:33;:::i;:::-;3451:7;-1:-1:-1;3505:3:350;3490:19;;3477:33;;-1:-1:-1;3561:3:350;3546:19;;3533:33;3589:18;3578:30;;3575:50;;;3621:1;3618;3611:12;3575:50;3660:58;3710:7;3701:6;3690:9;3686:22;3660:58;:::i;:::-;2740:1038;;;;-1:-1:-1;2740:1038:350;;-1:-1:-1;2740:1038:350;;;;3634:84;;-1:-1:-1;;;2740:1038:350:o;4047:969::-;4161:6;4169;4177;4185;4193;4201;4209;4262:3;4250:9;4241:7;4237:23;4233:33;4230:53;;;4279:1;4276;4269:12;4230:53;4318:9;4305:23;4337:31;4362:5;4337:31;:::i;:::-;4387:5;-1:-1:-1;4444:2:350;4429:18;;4416:32;4457:33;4416:32;4457:33;:::i;:::-;4509:7;-1:-1:-1;4568:2:350;4553:18;;4540:32;4581:33;4540:32;4581:33;:::i;:::-;4633:7;-1:-1:-1;4687:2:350;4672:18;;4659:32;;-1:-1:-1;4710:38:350;4743:3;4728:19;;4710:38;:::i;:::-;4700:48;;4799:3;4788:9;4784:19;4771:33;4827:18;4819:6;4816:30;4813:50;;;4859:1;4856;4849:12;5021:255;5088:6;5141:2;5129:9;5120:7;5116:23;5112:32;5109:52;;;5157:1;5154;5147:12;5109:52;5196:9;5183:23;5215:31;5240:5;5215:31;:::i;5695:251::-;5765:6;5818:2;5806:9;5797:7;5793:23;5789:32;5786:52;;;5834:1;5831;5824:12;5786:52;5866:9;5860:16;5885:31;5910:5;5885:31;:::i;8003:325::-;8091:6;8086:3;8079:19;8143:6;8136:5;8129:4;8124:3;8120:14;8107:43;;8195:1;8188:4;8179:6;8174:3;8170:16;8166:27;8159:38;8061:3;8317:4;8247:66;8242:2;8234:6;8230:15;8226:88;8221:3;8217:98;8213:109;8206:116;;8003:325;;;;:::o;8333:435::-;8558:42;8550:6;8546:55;8535:9;8528:74;8638:6;8633:2;8622:9;8618:18;8611:34;8681:2;8676;8665:9;8661:18;8654:30;8509:4;8701:61;8758:2;8747:9;8743:18;8735:6;8727;8701:61;:::i;:::-;8693:69;8333:435;-1:-1:-1;;;;;;8333:435:350:o;11259:700::-;11519:4;11548:42;11629:2;11621:6;11617:15;11606:9;11599:34;11681:2;11673:6;11669:15;11664:2;11653:9;11649:18;11642:43;11733:2;11725:6;11721:15;11716:2;11705:9;11701:18;11694:43;11785:2;11777:6;11773:15;11768:2;11757:9;11753:18;11746:43;;11826:6;11820:3;11809:9;11805:19;11798:35;11870:3;11864;11853:9;11849:19;11842:32;11891:62;11948:3;11937:9;11933:19;11925:6;11917;11891:62;:::i;:::-;11883:70;11259:700;-1:-1:-1;;;;;;;;;11259:700:350:o;11964:424::-;12177:42;12169:6;12165:55;12154:9;12147:74;12257:2;12252;12241:9;12237:18;12230:30;12128:4;12277:45;12318:2;12307:9;12303:18;12295:6;12277:45;:::i;:::-;12269:53;;12370:10;12362:6;12358:23;12353:2;12342:9;12338:18;12331:51;11964:424;;;;;;:::o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC721(address,address,uint256,uint32,bytes)":"3687011a","bridgeERC721To(address,address,address,uint256,uint32,bytes)":"aa557452","finalizeBridgeERC721(address,address,address,address,uint256,bytes)":"761f4493","initialize(address)":"c4d66de8","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_l1ERC721Bridge","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_tokenId":"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_to":"Address to receive the token on the other domain.","_tokenId":"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"params":{"_extraData":"Optional data to forward to L1. Data supplied here will not be used to execute any code on L1 and is only emitted as extra data for the convenience of off-chain tooling.","_from":"Address that triggered the bridge on the other domain.","_localToken":"Address of the ERC721 token on this domain.","_remoteToken":"Address of the ERC721 token on the other domain.","_to":"Address to receive the token on this domain.","_tokenId":"ID of the token being deposited."}},"initialize(address)":{"params":{"_l1ERC721Bridge":"Address of the ERC721 bridge contract on the other network."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}}},"stateVariables":{"version":{"custom:semver":"1.7.0"}},"title":"L2ERC721Bridge","version":1},"userdoc":{"events":{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge to the other network is initiated."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{"notice":"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to the caller\'s account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to some recipient\'s account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"constructor":{"notice":"Constructs the L2ERC721Bridge contract."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"notice":"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address)":{"notice":"Initializes the contract."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Contract of the bridge on the other network."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},"notice":"The L2 ERC721 bridge is a contract which works together with the L1 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as a minter for new tokens when it hears about deposits into the L1 ERC721 bridge. This contract also acts as a burner for tokens being withdrawn. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge ONLY supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2.","version":1}},"settings":{"compilationTarget":{"src/L2/L2ERC721Bridge.sol":"L2ERC721Bridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{"keccak256":"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f","license":"MIT","urls":["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"]},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{"keccak256":"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf","license":"MIT","urls":["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1ERC721Bridge.sol":{"keccak256":"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd","license":"MIT","urls":["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L2/L2ERC721Bridge.sol":{"keccak256":"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9","license":"MIT","urls":["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/ERC721Bridge.sol":{"keccak256":"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f","license":"MIT","urls":["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/IOptimismMintableERC721.sol":{"keccak256":"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52","license":"MIT","urls":["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90","license":"MIT","urls":["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeInitiated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721To"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC721"},{inputs:[{internalType:"address payable",name:"_l1ERC721Bridge",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L1. Data supplied here will not be used to execute any code on L1 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address)":{params:{_l1ERC721Bridge:"Address of the ERC721 bridge contract on the other network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L2ERC721Bridge contract."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2ERC721Bridge.sol":"L2ERC721Bridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{keccak256:"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f",urls:["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{keccak256:"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf",urls:["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1ERC721Bridge.sol":{keccak256:"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd",urls:["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L2/L2ERC721Bridge.sol":{keccak256:"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9",urls:["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/ERC721Bridge.sol":{keccak256:"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f",urls:["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/IOptimismMintableERC721.sol":{keccak256:"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52",urls:["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90",urls:["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:105516,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:105520,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"messenger",offset:0,slot:"1",type:"t_contract(CrossDomainMessenger)105498"},{astId:105524,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"otherBridge",offset:0,slot:"2",type:"t_contract(StandardBridge)108285"},{astId:105529,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"__gap",offset:0,slot:"3",type:"t_array(t_uint256)46_storage"}],types:{"t_array(t_uint256)46_storage":{encoding:"inplace",label:"uint256[46]",numberOfBytes:"1472",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)108285":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L2ERC721Bridge contract."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},events:{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge to the other network is initiated."}},notice:"The L2 ERC721 bridge is a contract which works together with the L1 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as a minter for new tokens when it hears about deposits into the L1 ERC721 bridge. This contract also acts as a burner for tokens being withdrawn. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge ONLY supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L1. Data supplied here will not be used to execute any code on L1 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address)":{params:{_l1ERC721Bridge:"Address of the ERC721 bridge contract on the other network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},title:"L2ERC721Bridge"},id:144}});var qKe=D((t6a,OHt)=>{OHt.exports={abi:[{type:"function",name:"DEPOSITOR_ACCOUNT",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"baseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"basefee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"batcherHash",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"blobBaseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"blobBaseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"hash",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"l1FeeOverhead",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"l1FeeScalar",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"number",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"sequenceNumber",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"setL1BlockValues",inputs:[{name:"_number",type:"uint64",internalType:"uint64"},{name:"_timestamp",type:"uint64",internalType:"uint64"},{name:"_basefee",type:"uint256",internalType:"uint256"},{name:"_hash",type:"bytes32",internalType:"bytes32"},{name:"_sequenceNumber",type:"uint64",internalType:"uint64"},{name:"_batcherHash",type:"bytes32",internalType:"bytes32"},{name:"_l1FeeOverhead",type:"uint256",internalType:"uint256"},{name:"_l1FeeScalar",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setL1BlockValuesEcotone",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"timestamp",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}],bytecode:{object:"0x608060405234801561001057600080fd5b5061053e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638381f58a11610097578063c598591811610066578063c598591814610229578063e591b28214610249578063e81b2c6d14610289578063f82061401461029257600080fd5b80638381f58a146101e35780638b239f73146101f75780639e8c496614610200578063b80777ea1461020957600080fd5b806354fd4d50116100d357806354fd4d50146101335780635cf249691461017c57806364ca23ef1461018557806368d5dca6146101b257600080fd5b8063015d8eb9146100fa57806309bd5a601461010f578063440a5e201461012b575b600080fd5b61010d61010836600461044c565b61029b565b005b61011860025481565b6040519081526020015b60405180910390f35b61010d6103da565b61016f6040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161012291906104be565b61011860015481565b6003546101999067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610122565b6003546101ce9068010000000000000000900463ffffffff1681565b60405163ffffffff9091168152602001610122565b6000546101999067ffffffffffffffff1681565b61011860055481565b61011860065481565b6000546101999068010000000000000000900467ffffffffffffffff1681565b6003546101ce906c01000000000000000000000000900463ffffffff1681565b61026473deaddeaddeaddeaddeaddeaddeaddeaddead000181565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610122565b61011860045481565b61011860075481565b3373deaddeaddeaddeaddeaddeaddeaddeaddead000114610342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4c31426c6f636b3a206f6e6c7920746865206465706f7369746f72206163636f60448201527f756e742063616e20736574204c3120626c6f636b2076616c7565730000000000606482015260840160405180910390fd5b6000805467ffffffffffffffff98891668010000000000000000027fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116998916999099179890981790975560019490945560029290925560038054919094167fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009190911617909255600491909155600555600655565b3373deaddeaddeaddeaddeaddeaddeaddeaddead00011461040357633cc50b456000526004601cfd5b60043560801c60035560143560801c600055602435600155604435600755606435600255608435600455565b803567ffffffffffffffff8116811461044757600080fd5b919050565b600080600080600080600080610100898b03121561046957600080fd5b6104728961042f565b975061048060208a0161042f565b9650604089013595506060890135945061049c60808a0161042f565b979a969950949793969560a0850135955060c08501359460e001359350915050565b600060208083528351808285015260005b818110156104eb578581018301518582016040015282016104cf565b818111156104fd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea164736f6c634300080f000a",sourceMap:"588:4256:141:-:0;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80638381f58a11610097578063c598591811610066578063c598591814610229578063e591b28214610249578063e81b2c6d14610289578063f82061401461029257600080fd5b80638381f58a146101e35780638b239f73146101f75780639e8c496614610200578063b80777ea1461020957600080fd5b806354fd4d50116100d357806354fd4d50146101335780635cf249691461017c57806364ca23ef1461018557806368d5dca6146101b257600080fd5b8063015d8eb9146100fa57806309bd5a601461010f578063440a5e201461012b575b600080fd5b61010d61010836600461044c565b61029b565b005b61011860025481565b6040519081526020015b60405180910390f35b61010d6103da565b61016f6040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161012291906104be565b61011860015481565b6003546101999067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610122565b6003546101ce9068010000000000000000900463ffffffff1681565b60405163ffffffff9091168152602001610122565b6000546101999067ffffffffffffffff1681565b61011860055481565b61011860065481565b6000546101999068010000000000000000900467ffffffffffffffff1681565b6003546101ce906c01000000000000000000000000900463ffffffff1681565b61026473deaddeaddeaddeaddeaddeaddeaddeaddead000181565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610122565b61011860045481565b61011860075481565b3373deaddeaddeaddeaddeaddeaddeaddeaddead000114610342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4c31426c6f636b3a206f6e6c7920746865206465706f7369746f72206163636f60448201527f756e742063616e20736574204c3120626c6f636b2076616c7565730000000000606482015260840160405180910390fd5b6000805467ffffffffffffffff98891668010000000000000000027fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116998916999099179890981790975560019490945560029290925560038054919094167fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009190911617909255600491909155600555600655565b3373deaddeaddeaddeaddeaddeaddeaddeaddead00011461040357633cc50b456000526004601cfd5b60043560801c60035560143560801c600055602435600155604435600755606435600255608435600455565b803567ffffffffffffffff8116811461044757600080fd5b919050565b600080600080600080600080610100898b03121561046957600080fd5b6104728961042f565b975061048060208a0161042f565b9650604089013595506060890135945061049c60808a0161042f565b979a969950949793969560a0850135955060c08501359460e001359350915050565b600060208083528351808285015260005b818110156104eb578581018301518582016040015282016104cf565b818111156104fd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea164736f6c634300080f000a",sourceMap:"588:4256:141:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2494:660;;;;;;:::i;:::-;;:::i;:::-;;1071:19;;;;;;;;;1014:25:350;;;1002:2;987:18;1071:19:141;;;;;;;;3886:956;;;:::i;1961:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1001:22::-;;;;;;1156:28;;;;;;;;;;;;2067:18:350;2055:31;;;2037:50;;2025:2;2010:18;1156:28:141;1893:200:350;1298:31:141;;;;;;;;;;;;;;;2272:10:350;2260:23;;;2242:42;;2230:2;2215:18;1298:31:141;2098:192:350;840:20:141;;;;;;;;;1680:28;;;;;;1821:26;;;;;;931:23;;;;;;;;;;;;1438:27;;;;;;;;;;;;680:86;;724:42;680:86;;;;;2471:42:350;2459:55;;;2441:74;;2429:2;2414:18;680:86:141;2295:226:350;1539:26:141;;;;;;1899;;;;;;2494:660;2789:10;724:42;2789:31;2781:103;;;;;;;2728:2:350;2781:103:141;;;2710:21:350;2767:2;2747:18;;;2740:30;2806:34;2786:18;;;2779:62;2877:29;2857:18;;;2850:57;2924:19;;2781:103:141;;;;;;;;2895:6;:16;;;2921:22;;;;;;;;;2895:16;;;2921:22;;;;;;;;;;;2895:16;2953:18;;;;2981:4;:12;;;;3003:14;:32;;;;;;2895:16;3003:32;;;;;;;;3045:11;:26;;;;3081:13;:30;3121:11;:26;2494:660::o;3886:956::-;4036:8;4046:17;4029:233;;;4096:10;4090:4;4083:24;4194:4;4188;4181:18;4029:233;4453:1;4440:15;4435:3;4431:25;4410:19;4403:54;4566:2;4553:16;4548:3;4544:26;4531:11;4524:47;4618:2;4605:16;4591:12;4584:38;4684:2;4671:16;4653;4646:42;4743:3;4730:17;4719:9;4712:36;4810:3;4797:17;4779:16;4772:43;3886:956::o;14:171:350:-;81:20;;141:18;130:30;;120:41;;110:69;;175:1;172;165:12;110:69;14:171;;;:::o;190:673::-;309:6;317;325;333;341;349;357;365;418:3;406:9;397:7;393:23;389:33;386:53;;;435:1;432;425:12;386:53;458:28;476:9;458:28;:::i;:::-;448:38;;505:37;538:2;527:9;523:18;505:37;:::i;:::-;495:47;;589:2;578:9;574:18;561:32;551:42;;640:2;629:9;625:18;612:32;602:42;;663:38;696:3;685:9;681:19;663:38;:::i;:::-;190:673;;;;-1:-1:-1;190:673:350;;;;653:48;748:3;733:19;;720:33;;-1:-1:-1;800:3:350;785:19;;772:33;;852:3;837:19;824:33;;-1:-1:-1;190:673:350;-1:-1:-1;;190:673:350:o;1050:656::-;1162:4;1191:2;1220;1209:9;1202:21;1252:6;1246:13;1295:6;1290:2;1279:9;1275:18;1268:34;1320:1;1330:140;1344:6;1341:1;1338:13;1330:140;;;1439:14;;;1435:23;;1429:30;1405:17;;;1424:2;1401:26;1394:66;1359:10;;1330:140;;;1488:6;1485:1;1482:13;1479:91;;;1558:1;1553:2;1544:6;1533:9;1529:22;1525:31;1518:42;1479:91;-1:-1:-1;1622:2:350;1610:15;1627:66;1606:88;1591:104;;;;1697:2;1587:113;;1050:656;-1:-1:-1;;;1050:656:350:o",linkReferences:{}},methodIdentifiers:{"DEPOSITOR_ACCOUNT()":"e591b282","baseFeeScalar()":"c5985918","basefee()":"5cf24969","batcherHash()":"e81b2c6d","blobBaseFee()":"f8206140","blobBaseFeeScalar()":"68d5dca6","hash()":"09bd5a60","l1FeeOverhead()":"8b239f73","l1FeeScalar()":"9e8c4966","number()":"8381f58a","sequenceNumber()":"64ca23ef","setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":"015d8eb9","setL1BlockValuesEcotone()":"440a5e20","timestamp()":"b80777ea","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"name":"DEPOSITOR_ACCOUNT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"basefee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"batcherHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l1FeeOverhead","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l1FeeScalar","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"number","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sequenceNumber","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_number","type":"uint64"},{"internalType":"uint64","name":"_timestamp","type":"uint64"},{"internalType":"uint256","name":"_basefee","type":"uint256"},{"internalType":"bytes32","name":"_hash","type":"bytes32"},{"internalType":"uint64","name":"_sequenceNumber","type":"uint64"},{"internalType":"bytes32","name":"_batcherHash","type":"bytes32"},{"internalType":"uint256","name":"_l1FeeOverhead","type":"uint256"},{"internalType":"uint256","name":"_l1FeeScalar","type":"uint256"}],"name":"setL1BlockValues","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setL1BlockValuesEcotone","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"timestamp","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000015","kind":"dev","methods":{"setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":{"custom:legacy":"@notice Updates the L1 block values.","params":{"_basefee":"L1 basefee.","_batcherHash":"Versioned hash to authenticate batcher by.","_hash":"L1 blockhash.","_l1FeeOverhead":"L1 fee overhead.","_l1FeeScalar":"L1 fee scalar.","_number":"L1 blocknumber.","_sequenceNumber":"Number of L2 blocks since epoch start.","_timestamp":"L1 timestamp."}}},"stateVariables":{"l1FeeOverhead":{"custom:legacy":""},"l1FeeScalar":{"custom:legacy":""},"version":{"custom:semver":"1.2.0"}},"title":"L1Block","version":1},"userdoc":{"kind":"user","methods":{"DEPOSITOR_ACCOUNT()":{"notice":"Address of the special depositor account."},"baseFeeScalar()":{"notice":"The scalar value applied to the L1 base fee portion of the blob-capable L1 cost func."},"basefee()":{"notice":"The latest L1 base fee."},"batcherHash()":{"notice":"The versioned hash to authenticate the batcher by."},"blobBaseFee()":{"notice":"The latest L1 blob base fee."},"blobBaseFeeScalar()":{"notice":"The scalar value applied to the L1 blob base fee portion of the blob-capable L1 cost func."},"hash()":{"notice":"The latest L1 blockhash."},"l1FeeOverhead()":{"notice":"The overhead value applied to the L1 portion of the transaction fee."},"l1FeeScalar()":{"notice":"The scalar value applied to the L1 portion of the transaction fee."},"number()":{"notice":"The latest L1 block number known by the L2 system."},"sequenceNumber()":{"notice":"The number of L2 blocks in the same epoch."},"setL1BlockValuesEcotone()":{"notice":"Updates the L1 block values for an Ecotone upgraded chain. Params are packed and passed in as raw msg.data instead of ABI to reduce calldata size. Params are expected to be in the following order: 1. _baseFeeScalar L1 base fee scalar 2. _blobBaseFeeScalar L1 blob base fee scalar 3. _sequenceNumber Number of L2 blocks since epoch start. 4. _timestamp L1 timestamp. 5. _number L1 blocknumber. 6. _basefee L1 base fee. 7. _blobBaseFee L1 blob base fee. 8. _hash L1 blockhash. 9. _batcherHash Versioned hash to authenticate batcher by."},"timestamp()":{"notice":"The latest L1 timestamp known by the L2 system."}},"notice":"The L1Block predeploy gives users access to information about the last known L1 block. Values within this contract are updated once per epoch (every L1 block) and can only be set by the \\"depositor\\" account, a special system address. Depositor account transactions are created by the protocol whenever we move to a new epoch.","version":1}},"settings":{"compilationTarget":{"src/L2/L1Block.sol":"L1Block"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"src/L2/L1Block.sol":{"keccak256":"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6","license":"MIT","urls":["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"view",type:"function",name:"DEPOSITOR_ACCOUNT",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"baseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"basefee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"batcherHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"hash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1FeeOverhead",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1FeeScalar",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"number",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"sequenceNumber",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"uint64",name:"_number",type:"uint64"},{internalType:"uint64",name:"_timestamp",type:"uint64"},{internalType:"uint256",name:"_basefee",type:"uint256"},{internalType:"bytes32",name:"_hash",type:"bytes32"},{internalType:"uint64",name:"_sequenceNumber",type:"uint64"},{internalType:"bytes32",name:"_batcherHash",type:"bytes32"},{internalType:"uint256",name:"_l1FeeOverhead",type:"uint256"},{internalType:"uint256",name:"_l1FeeScalar",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"setL1BlockValues"},{inputs:[],stateMutability:"nonpayable",type:"function",name:"setL1BlockValuesEcotone"},{inputs:[],stateMutability:"view",type:"function",name:"timestamp",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":{"custom:legacy":"@notice Updates the L1 block values.",params:{_basefee:"L1 basefee.",_batcherHash:"Versioned hash to authenticate batcher by.",_hash:"L1 blockhash.",_l1FeeOverhead:"L1 fee overhead.",_l1FeeScalar:"L1 fee scalar.",_number:"L1 blocknumber.",_sequenceNumber:"Number of L2 blocks since epoch start.",_timestamp:"L1 timestamp."}}},version:1},userdoc:{kind:"user",methods:{"DEPOSITOR_ACCOUNT()":{notice:"Address of the special depositor account."},"baseFeeScalar()":{notice:"The scalar value applied to the L1 base fee portion of the blob-capable L1 cost func."},"basefee()":{notice:"The latest L1 base fee."},"batcherHash()":{notice:"The versioned hash to authenticate the batcher by."},"blobBaseFee()":{notice:"The latest L1 blob base fee."},"blobBaseFeeScalar()":{notice:"The scalar value applied to the L1 blob base fee portion of the blob-capable L1 cost func."},"hash()":{notice:"The latest L1 blockhash."},"l1FeeOverhead()":{notice:"The overhead value applied to the L1 portion of the transaction fee."},"l1FeeScalar()":{notice:"The scalar value applied to the L1 portion of the transaction fee."},"number()":{notice:"The latest L1 block number known by the L2 system."},"sequenceNumber()":{notice:"The number of L2 blocks in the same epoch."},"setL1BlockValuesEcotone()":{notice:"Updates the L1 block values for an Ecotone upgraded chain. Params are packed and passed in as raw msg.data instead of ABI to reduce calldata size. Params are expected to be in the following order: 1. _baseFeeScalar L1 base fee scalar 2. _blobBaseFeeScalar L1 blob base fee scalar 3. _sequenceNumber Number of L2 blocks since epoch start. 4. _timestamp L1 timestamp. 5. _number L1 blocknumber. 6. _basefee L1 base fee. 7. _blobBaseFee L1 blob base fee. 8. _hash L1 blockhash. 9. _batcherHash Versioned hash to authenticate batcher by."},"timestamp()":{notice:"The latest L1 timestamp known by the L2 system."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L1Block.sol":"L1Block"},evmVersion:"london",libraries:{}},sources:{"src/L2/L1Block.sol":{keccak256:"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6",urls:["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:87271,contract:"src/L2/L1Block.sol:L1Block",label:"number",offset:0,slot:"0",type:"t_uint64"},{astId:87274,contract:"src/L2/L1Block.sol:L1Block",label:"timestamp",offset:8,slot:"0",type:"t_uint64"},{astId:87277,contract:"src/L2/L1Block.sol:L1Block",label:"basefee",offset:0,slot:"1",type:"t_uint256"},{astId:87280,contract:"src/L2/L1Block.sol:L1Block",label:"hash",offset:0,slot:"2",type:"t_bytes32"},{astId:87283,contract:"src/L2/L1Block.sol:L1Block",label:"sequenceNumber",offset:0,slot:"3",type:"t_uint64"},{astId:87286,contract:"src/L2/L1Block.sol:L1Block",label:"blobBaseFeeScalar",offset:8,slot:"3",type:"t_uint32"},{astId:87289,contract:"src/L2/L1Block.sol:L1Block",label:"baseFeeScalar",offset:12,slot:"3",type:"t_uint32"},{astId:87292,contract:"src/L2/L1Block.sol:L1Block",label:"batcherHash",offset:0,slot:"4",type:"t_bytes32"},{astId:87295,contract:"src/L2/L1Block.sol:L1Block",label:"l1FeeOverhead",offset:0,slot:"5",type:"t_uint256"},{astId:87298,contract:"src/L2/L1Block.sol:L1Block",label:"l1FeeScalar",offset:0,slot:"6",type:"t_uint256"},{astId:87301,contract:"src/L2/L1Block.sol:L1Block",label:"blobBaseFee",offset:0,slot:"7",type:"t_uint256"}],types:{t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint32:{encoding:"inplace",label:"uint32",numberOfBytes:"4"},t_uint64:{encoding:"inplace",label:"uint64",numberOfBytes:"8"}}},userdoc:{version:1,kind:"user",methods:{"DEPOSITOR_ACCOUNT()":{notice:"Address of the special depositor account."},"baseFeeScalar()":{notice:"The scalar value applied to the L1 base fee portion of the blob-capable L1 cost func."},"basefee()":{notice:"The latest L1 base fee."},"batcherHash()":{notice:"The versioned hash to authenticate the batcher by."},"blobBaseFee()":{notice:"The latest L1 blob base fee."},"blobBaseFeeScalar()":{notice:"The scalar value applied to the L1 blob base fee portion of the blob-capable L1 cost func."},"hash()":{notice:"The latest L1 blockhash."},"l1FeeOverhead()":{notice:"The overhead value applied to the L1 portion of the transaction fee."},"l1FeeScalar()":{notice:"The scalar value applied to the L1 portion of the transaction fee."},"number()":{notice:"The latest L1 block number known by the L2 system."},"sequenceNumber()":{notice:"The number of L2 blocks in the same epoch."},"setL1BlockValuesEcotone()":{notice:"Updates the L1 block values for an Ecotone upgraded chain. Params are packed and passed in as raw msg.data instead of ABI to reduce calldata size. Params are expected to be in the following order: 1. _baseFeeScalar L1 base fee scalar 2. _blobBaseFeeScalar L1 blob base fee scalar 3. _sequenceNumber Number of L2 blocks since epoch start. 4. _timestamp L1 timestamp. 5. _number L1 blocknumber. 6. _basefee L1 base fee. 7. _blobBaseFee L1 blob base fee. 8. _hash L1 blockhash. 9. _batcherHash Versioned hash to authenticate batcher by."},"timestamp()":{notice:"The latest L1 timestamp known by the L2 system."}},notice:'The L1Block predeploy gives users access to information about the last known L1 block. Values within this contract are updated once per epoch (every L1 block) and can only be set by the "depositor" account, a special system address. Depositor account transactions are created by the protocol whenever we move to a new epoch.'},devdoc:{version:1,kind:"dev",methods:{"setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":{params:{_basefee:"L1 basefee.",_batcherHash:"Versioned hash to authenticate batcher by.",_hash:"L1 blockhash.",_l1FeeOverhead:"L1 fee overhead.",_l1FeeScalar:"L1 fee scalar.",_number:"L1 blocknumber.",_sequenceNumber:"Number of L2 blocks since epoch start.",_timestamp:"L1 timestamp."}}},title:"L1Block"},id:141}});var jKe=D((n6a,UHt)=>{UHt.exports={abi:[{type:"receive",stateMutability:"payable"},{type:"function",name:"MESSAGE_VERSION",inputs:[],outputs:[{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"initiateWithdrawal",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_gasLimit",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"messageNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"sentMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"MessagePassed",inputs:[{name:"nonce",type:"uint256",indexed:!0,internalType:"uint256"},{name:"sender",type:"address",indexed:!0,internalType:"address"},{name:"target",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"},{name:"gasLimit",type:"uint256",indexed:!1,internalType:"uint256"},{name:"data",type:"bytes",indexed:!1,internalType:"bytes"},{name:"withdrawalHash",type:"bytes32",indexed:!1,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"WithdrawerBalanceBurnt",inputs:[{name:"amount",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x608060405234801561001057600080fd5b506106d3806100206000396000f3fe6080604052600436106100695760003560e01c806382e3702d1161004357806382e3702d1461012a578063c2b3e5ac1461016a578063ecc704281461017d57600080fd5b80633f827a5a1461009257806344df8e70146100bf57806354fd4d50146100d457600080fd5b3661008d5761008b33620186a0604051806020016040528060008152506101e2565b005b600080fd5b34801561009e57600080fd5b506100a7600181565b60405161ffff90911681526020015b60405180910390f35b3480156100cb57600080fd5b5061008b6103a6565b3480156100e057600080fd5b5061011d6040518060400160405280600581526020017f312e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516100b691906104d1565b34801561013657600080fd5b5061015a6101453660046104eb565b60006020819052908152604090205460ff1681565b60405190151581526020016100b6565b61008b610178366004610533565b6101e2565b34801561018957600080fd5b506101d46001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016100b6565b60006102786040518060c0016040528061023c6001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b815233602082015273ffffffffffffffffffffffffffffffffffffffff871660408201523460608201526080810186905260a0018490526103de565b600081815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055905073ffffffffffffffffffffffffffffffffffffffff8416336103136001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b7f02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054348787876040516103489493929190610637565b60405180910390a45050600180547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8082168301167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b476103b08161042b565b60405181907f7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f90600090a250565b80516020808301516040808501516060860151608087015160a0880151935160009761040e979096959101610667565b604051602081830303815290604052805190602001209050919050565b806040516104389061045a565b6040518091039082f0905080158015610455573d6000803e3d6000fd5b505050565b6008806106bf83390190565b6000815180845260005b8181101561048c57602081850181015186830182015201610470565b8181111561049e576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104e46020830184610466565b9392505050565b6000602082840312156104fd57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060006060848603121561054857600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461056c57600080fd5b925060208401359150604084013567ffffffffffffffff8082111561059057600080fd5b818601915086601f8301126105a457600080fd5b8135818111156105b6576105b6610504565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156105fc576105fc610504565b8160405282815289602084870101111561061557600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b8481528360208201526080604082015260006106566080830185610466565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a08301526106b260c0830184610466565b9897505050505050505056fe608060405230fffea164736f6c634300080f000a",sourceMap:"722:3696:146:-:0;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106100695760003560e01c806382e3702d1161004357806382e3702d1461012a578063c2b3e5ac1461016a578063ecc704281461017d57600080fd5b80633f827a5a1461009257806344df8e70146100bf57806354fd4d50146100d457600080fd5b3661008d5761008b33620186a0604051806020016040528060008152506101e2565b005b600080fd5b34801561009e57600080fd5b506100a7600181565b60405161ffff90911681526020015b60405180910390f35b3480156100cb57600080fd5b5061008b6103a6565b3480156100e057600080fd5b5061011d6040518060400160405280600581526020017f312e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516100b691906104d1565b34801561013657600080fd5b5061015a6101453660046104eb565b60006020819052908152604090205460ff1681565b60405190151581526020016100b6565b61008b610178366004610533565b6101e2565b34801561018957600080fd5b506101d46001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016100b6565b60006102786040518060c0016040528061023c6001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b815233602082015273ffffffffffffffffffffffffffffffffffffffff871660408201523460608201526080810186905260a0018490526103de565b600081815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055905073ffffffffffffffffffffffffffffffffffffffff8416336103136001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b7f02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054348787876040516103489493929190610637565b60405180910390a45050600180547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8082168301167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b476103b08161042b565b60405181907f7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f90600090a250565b80516020808301516040808501516060860151608087015160a0880151935160009761040e979096959101610667565b604051602081830303815290604052805190602001209050919050565b806040516104389061045a565b6040518091039082f0905080158015610455573d6000803e3d6000fd5b505050565b6008806106bf83390190565b6000815180845260005b8181101561048c57602081850181015186830182015201610470565b8181111561049e576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104e46020830184610466565b9392505050565b6000602082840312156104fd57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060006060848603121561054857600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461056c57600080fd5b925060208401359150604084013567ffffffffffffffff8082111561059057600080fd5b818601915086601f8301126105a457600080fd5b8135818111156105b6576105b6610504565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156105fc576105fc610504565b8160405282815289602084870101111561061557600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b8481528360208201526080604082015260006106566080830185610466565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a08301526106b260c0830184610466565b9897505050505050505056fe608060405230fffea164736f6c634300080f000a",sourceMap:"722:3696:146:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2474:68;2493:10;911:7;2532:9;;;;;;;;;;;;2474:18;:68::i;:::-;722:3696;;;;;981:42;;;;;;;;;;;;1022:1;981:42;;;;;188:6:350;176:19;;;158:38;;146:2;131:18;981:42:146;;;;;;;;2915:154;;;;;;;;;;;;;:::i;2307:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1094:44::-;;;;;;;;;;-1:-1:-1;1094:44:146;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;1318:14:350;;1311:22;1293:41;;1281:2;1266:18;1094:44:146;1153:187:350;3311:650:146;;;;;;:::i;:::-;;:::i;4282:134::-;;;;;;;;;;;;4383:8;;;;4855:18:191;4852:30;;4282:134:146;;;;2930:25:350;;;2918:2;2903:18;4282:134:146;2784:177:350;3311:650:146;3420:22;3445:297;3481:251;;;;;;;;3534:14;4383:8;;;;4855:18:191;4852:30;;4282:134:146;3534:14;3481:251;;3574:10;3481:251;;;;;;;;;;;3642:9;3481:251;;;;;;;;;;;;;;;3445:22;:297::i;:::-;3753:12;:28;;;;;;;;;;:35;;;;3784:4;3753:35;;;3420:322;-1:-1:-1;3804:95:146;;;3834:10;3818:14;4383:8;;;;4855:18:191;4852:30;;4282:134:146;3818:14;3804:95;3855:9;3866;3877:5;3884:14;3804:95;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;3936:8:146;3934:10;;;;;;;;;;;;;;;;-1:-1:-1;;3311:650:146:o;2915:154::-;2968:21;2999:17;2968:21;2999:8;:17::i;:::-;3031:31;;3054:7;;3031:31;;;;;2940:129;2915:154::o;4456:211:192:-;4590:9;;4601:10;;;;;4613;;;;;4625:9;;;;4636:12;;;;4650:8;;;;4579:80;;4543:7;;4579:80;;4590:9;;4601:10;4650:8;4579:80;;:::i;:::-;;;;;;;;;;;;;4569:91;;;;;;4562:98;;4456:211;;;:::o;224:86:185:-;292:7;273:30;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;224:86;:::o;-1:-1:-1:-;;;;;;;;:::o;207:531:350:-;249:3;287:5;281:12;314:6;309:3;302:19;339:1;349:162;363:6;360:1;357:13;349:162;;;425:4;481:13;;;477:22;;471:29;453:11;;;449:20;;442:59;378:12;349:162;;;529:6;526:1;523:13;520:87;;;595:1;588:4;579:6;574:3;570:16;566:27;559:38;520:87;-1:-1:-1;652:2:350;640:15;657:66;636:88;627:98;;;;727:4;623:109;;207:531;-1:-1:-1;;207:531:350:o;743:220::-;892:2;881:9;874:21;855:4;912:45;953:2;942:9;938:18;930:6;912:45;:::i;:::-;904:53;743:220;-1:-1:-1;;;743:220:350:o;968:180::-;1027:6;1080:2;1068:9;1059:7;1055:23;1051:32;1048:52;;;1096:1;1093;1086:12;1048:52;-1:-1:-1;1119:23:350;;968:180;-1:-1:-1;968:180:350:o;1345:184::-;1397:77;1394:1;1387:88;1494:4;1491:1;1484:15;1518:4;1515:1;1508:15;1534:1245;1620:6;1628;1636;1689:2;1677:9;1668:7;1664:23;1660:32;1657:52;;;1705:1;1702;1695:12;1657:52;1744:9;1731:23;1794:42;1787:5;1783:54;1776:5;1773:65;1763:93;;1852:1;1849;1842:12;1763:93;1875:5;-1:-1:-1;1927:2:350;1912:18;;1899:32;;-1:-1:-1;1982:2:350;1967:18;;1954:32;2005:18;2035:14;;;2032:34;;;2062:1;2059;2052:12;2032:34;2100:6;2089:9;2085:22;2075:32;;2145:7;2138:4;2134:2;2130:13;2126:27;2116:55;;2167:1;2164;2157:12;2116:55;2203:2;2190:16;2225:2;2221;2218:10;2215:36;;;2231:18;;:::i;:::-;2365:2;2359:9;2427:4;2419:13;;2270:66;2415:22;;;2439:2;2411:31;2407:40;2395:53;;;2463:18;;;2483:22;;;2460:46;2457:72;;;2509:18;;:::i;:::-;2549:10;2545:2;2538:22;2584:2;2576:6;2569:18;2624:7;2619:2;2614;2610;2606:11;2602:20;2599:33;2596:53;;;2645:1;2642;2635:12;2596:53;2701:2;2696;2692;2688:11;2683:2;2675:6;2671:15;2658:46;2746:1;2741:2;2736;2728:6;2724:15;2720:24;2713:35;2767:6;2757:16;;;;;;;1534:1245;;;;;:::o;2966:433::-;3197:6;3186:9;3179:25;3240:6;3235:2;3224:9;3220:18;3213:34;3283:3;3278:2;3267:9;3263:18;3256:31;3160:4;3304:46;3345:3;3334:9;3330:19;3322:6;3304:46;:::i;:::-;3296:54;;3386:6;3381:2;3370:9;3366:18;3359:34;2966:433;;;;;;;:::o;3404:656::-;3691:6;3680:9;3673:25;3654:4;3717:42;3807:2;3799:6;3795:15;3790:2;3779:9;3775:18;3768:43;3859:2;3851:6;3847:15;3842:2;3831:9;3827:18;3820:43;;3899:6;3894:2;3883:9;3879:18;3872:34;3943:6;3937:3;3926:9;3922:19;3915:35;3987:3;3981;3970:9;3966:19;3959:32;4008:46;4049:3;4038:9;4034:19;4026:6;4008:46;:::i;:::-;4000:54;3404:656;-1:-1:-1;;;;;;;;3404:656:350:o",linkReferences:{}},methodIdentifiers:{"MESSAGE_VERSION()":"3f827a5a","burn()":"44df8e70","initiateWithdrawal(address,uint256,bytes)":"c2b3e5ac","messageNonce()":"ecc70428","sentMessages(bytes32)":"82e3702d","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"nonce","type":"uint256"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"gasLimit","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"}],"name":"MessagePassed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawerBalanceBurnt","type":"event"},{"inputs":[],"name":"MESSAGE_VERSION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_gasLimit","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"initiateWithdrawal","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"messageNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"sentMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000016","events":{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{"params":{"data":"The data to be forwarded to the target on L1.","gasLimit":"The minimum amount of gas that must be provided when withdrawing.","nonce":"Unique value corresponding to each withdrawal.","sender":"The L2 account address which initiated the withdrawal.","target":"The L1 account address the call will be send to.","value":"The ETH value submitted for withdrawal, to be forwarded to the target.","withdrawalHash":"The hash of the withdrawal."}},"WithdrawerBalanceBurnt(uint256)":{"params":{"amount":"Amount of ETh that was burned."}}},"kind":"dev","methods":{"initiateWithdrawal(address,uint256,bytes)":{"params":{"_data":"Data to forward to L1 target.","_gasLimit":"Minimum gas limit for executing the message on L1.","_target":"Address to call on L1 execution."}},"messageNonce()":{"returns":{"_0":"Nonce of the next message to be sent, with added message version."}}},"stateVariables":{"version":{"custom:semver":"1.1.0"}},"title":"L2ToL1MessagePasser","version":1},"userdoc":{"events":{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{"notice":"Emitted any time a withdrawal is initiated."},"WithdrawerBalanceBurnt(uint256)":{"notice":"Emitted when the balance of this contract is burned."}},"kind":"user","methods":{"MESSAGE_VERSION()":{"notice":"The current message version identifier."},"burn()":{"notice":"Removes all ETH held by this contract from the state. Used to prevent the amount of ETH on L2 inflating when ETH is withdrawn. Currently only way to do this is to create a contract and self-destruct it to itself. Anyone can call this function. Not incentivized since this function is very cheap."},"initiateWithdrawal(address,uint256,bytes)":{"notice":"Sends a message from L2 to L1."},"messageNonce()":{"notice":"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"sentMessages(bytes32)":{"notice":"Includes the message hashes for all withdrawals"}},"notice":"The L2ToL1MessagePasser is a dedicated contract where messages that are being sent from L2 to L1 can be stored. The storage root of this contract is pulled up to the top level of the L2 output to reduce the cost of proving the existence of sent messages.","version":1}},"settings":{"compilationTarget":{"src/L2/L2ToL1MessagePasser.sol":"L2ToL1MessagePasser"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"src/L2/L2ToL1MessagePasser.sol":{"keccak256":"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21","license":"MIT","urls":["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"uint256",name:"nonce",type:"uint256",indexed:!0},{internalType:"address",name:"sender",type:"address",indexed:!0},{internalType:"address",name:"target",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1},{internalType:"uint256",name:"gasLimit",type:"uint256",indexed:!1},{internalType:"bytes",name:"data",type:"bytes",indexed:!1},{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!1}],type:"event",name:"MessagePassed",anonymous:!1},{inputs:[{internalType:"uint256",name:"amount",type:"uint256",indexed:!0}],type:"event",name:"WithdrawerBalanceBurnt",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSAGE_VERSION",outputs:[{internalType:"uint16",name:"",type:"uint16"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"burn"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"initiateWithdrawal"},{inputs:[],stateMutability:"view",type:"function",name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"sentMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"initiateWithdrawal(address,uint256,bytes)":{params:{_data:"Data to forward to L1 target.",_gasLimit:"Minimum gas limit for executing the message on L1.",_target:"Address to call on L1 execution."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}}},version:1},userdoc:{kind:"user",methods:{"MESSAGE_VERSION()":{notice:"The current message version identifier."},"burn()":{notice:"Removes all ETH held by this contract from the state. Used to prevent the amount of ETH on L2 inflating when ETH is withdrawn. Currently only way to do this is to create a contract and self-destruct it to itself. Anyone can call this function. Not incentivized since this function is very cheap."},"initiateWithdrawal(address,uint256,bytes)":{notice:"Sends a message from L2 to L1."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"sentMessages(bytes32)":{notice:"Includes the message hashes for all withdrawals"}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2ToL1MessagePasser.sol":"L2ToL1MessagePasser"},evmVersion:"london",libraries:{}},sources:{"src/L2/L2ToL1MessagePasser.sol":{keccak256:"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21",urls:["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:88229,contract:"src/L2/L2ToL1MessagePasser.sol:L2ToL1MessagePasser",label:"sentMessages",offset:0,slot:"0",type:"t_mapping(t_bytes32,t_bool)"},{astId:88232,contract:"src/L2/L2ToL1MessagePasser.sol:L2ToL1MessagePasser",label:"msgNonce",offset:0,slot:"1",type:"t_uint240"}],types:{t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint240:{encoding:"inplace",label:"uint240",numberOfBytes:"30"}}},userdoc:{version:1,kind:"user",methods:{"MESSAGE_VERSION()":{notice:"The current message version identifier."},"burn()":{notice:"Removes all ETH held by this contract from the state. Used to prevent the amount of ETH on L2 inflating when ETH is withdrawn. Currently only way to do this is to create a contract and self-destruct it to itself. Anyone can call this function. Not incentivized since this function is very cheap."},"initiateWithdrawal(address,uint256,bytes)":{notice:"Sends a message from L2 to L1."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"sentMessages(bytes32)":{notice:"Includes the message hashes for all withdrawals"}},events:{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{notice:"Emitted any time a withdrawal is initiated."},"WithdrawerBalanceBurnt(uint256)":{notice:"Emitted when the balance of this contract is burned."}},notice:"The L2ToL1MessagePasser is a dedicated contract where messages that are being sent from L2 to L1 can be stored. The storage root of this contract is pulled up to the top level of the L2 output to reduce the cost of proving the existence of sent messages."},devdoc:{version:1,kind:"dev",methods:{"initiateWithdrawal(address,uint256,bytes)":{params:{_data:"Data to forward to L1 target.",_gasLimit:"Minimum gas limit for executing the message on L1.",_target:"Address to call on L1 execution."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}}},events:{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{params:{data:"The data to be forwarded to the target on L1.",gasLimit:"The minimum amount of gas that must be provided when withdrawing.",nonce:"Unique value corresponding to each withdrawal.",sender:"The L2 account address which initiated the withdrawal.",target:"The L1 account address the call will be send to.",value:"The ETH value submitted for withdrawal, to be forwarded to the target.",withdrawalHash:"The hash of the withdrawal."}},"WithdrawerBalanceBurnt(uint256)":{params:{amount:"Amount of ETh that was burned."}}},title:"L2ToL1MessagePasser"},id:146}});var GKe=D((a6a,HHt)=>{HHt.exports={abi:[{type:"function",name:"DECIMALS",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"baseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"baseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"blobBaseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"blobBaseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"pure"},{type:"function",name:"gasPrice",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getL1Fee",inputs:[{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getL1GasUsed",inputs:[{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"isEcotone",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"l1BaseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"overhead",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"scalar",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"setEcotone",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}],bytecode:{object:"0x608060405234801561001057600080fd5b50610fb5806100206000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806354fd4d5011610097578063de26c4a111610066578063de26c4a1146101da578063f45e65d8146101ed578063f8206140146101f5578063fe173b97146101cc57600080fd5b806354fd4d501461016657806368d5dca6146101af5780636ef25c3a146101cc578063c5985918146101d257600080fd5b8063313ce567116100d3578063313ce5671461012757806349948e0e1461012e5780634ef6e22414610141578063519b4bd31461015e57600080fd5b80630c18c162146100fa57806322b90ab3146101155780632e0f26251461011f575b600080fd5b6101026101fd565b6040519081526020015b60405180910390f35b61011d61031e565b005b610102600681565b6006610102565b61010261013c366004610b73565b610541565b60005461014e9060ff1681565b604051901515815260200161010c565b610102610565565b6101a26040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161010c9190610c42565b6101b76105c6565b60405163ffffffff909116815260200161010c565b48610102565b6101b761064b565b6101026101e8366004610b73565b6106ac565b610102610760565b610102610853565b6000805460ff1615610296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f47617350726963654f7261636c653a206f76657268656164282920697320646560448201527f707265636174656400000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610cb5565b905090565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663e591b2826040518163ffffffff1660e01b8152600401602060405180830381865afa15801561037d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a19190610cce565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f47617350726963654f7261636c653a206f6e6c7920746865206465706f73697460448201527f6f72206163636f756e742063616e2073657420697345636f746f6e6520666c6160648201527f6700000000000000000000000000000000000000000000000000000000000000608482015260a40161028d565b60005460ff1615610514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a2045636f746f6e6520616c72656164792060448201527f6163746976650000000000000000000000000000000000000000000000000000606482015260840161028d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6000805460ff161561055c57610556826108b4565b92915050565b61055682610958565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16635cf249696040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff166368d5dca66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610d04565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663c59859186040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b6000806106b883610ab4565b60005490915060ff16156106cc5792915050565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa15801561072b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074f9190610cb5565b6107599082610d59565b9392505050565b6000805460ff16156107f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a207363616c61722829206973206465707260448201527f6563617465640000000000000000000000000000000000000000000000000000606482015260840161028d565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663f82061406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b6000806108c083610ab4565b905060006108cc610565565b6108d461064b565b6108df906010610d71565b63ffffffff166108ef9190610d9d565b905060006108fb610853565b6109036105c6565b63ffffffff166109139190610d9d565b905060006109218284610d59565b61092b9085610d9d565b90506109396006600a610efa565b610944906010610d9d565b61094e9082610f06565b9695505050505050565b60008061096483610ab4565b9050600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109eb9190610cb5565b6109f3610565565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190610cb5565b610a809085610d59565b610a8a9190610d9d565b610a949190610d9d565b9050610aa26006600a610efa565b610aac9082610f06565b949350505050565b80516000908190815b81811015610b3757848181518110610ad757610ad7610f41565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016600003610b1757610b10600484610d59565b9250610b25565b610b22601084610d59565b92505b80610b2f81610f70565b915050610abd565b50610aac82610440610d59565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610b8557600080fd5b813567ffffffffffffffff80821115610b9d57600080fd5b818401915084601f830112610bb157600080fd5b813581811115610bc357610bc3610b44565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610c0957610c09610b44565b81604052828152876020848701011115610c2257600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b81811015610c6f57858101830151858201604001528201610c53565b81811115610c81576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600060208284031215610cc757600080fd5b5051919050565b600060208284031215610ce057600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461075957600080fd5b600060208284031215610d1657600080fd5b815163ffffffff8116811461075957600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610d6c57610d6c610d2a565b500190565b600063ffffffff80831681851681830481118215151615610d9457610d94610d2a565b02949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610dd557610dd5610d2a565b500290565b600181815b80851115610e3357817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610e1957610e19610d2a565b80851615610e2657918102915b93841c9390800290610ddf565b509250929050565b600082610e4a57506001610556565b81610e5757506000610556565b8160018114610e6d5760028114610e7757610e93565b6001915050610556565b60ff841115610e8857610e88610d2a565b50506001821b610556565b5060208310610133831016604e8410600b8410161715610eb6575081810a610556565b610ec08383610dda565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ef257610ef2610d2a565b029392505050565b60006107598383610e3b565b600082610f3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610fa157610fa1610d2a565b506001019056fea164736f6c634300080f000a",sourceMap:"1153:5825:140:-:0;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100f55760003560e01c806354fd4d5011610097578063de26c4a111610066578063de26c4a1146101da578063f45e65d8146101ed578063f8206140146101f5578063fe173b97146101cc57600080fd5b806354fd4d501461016657806368d5dca6146101af5780636ef25c3a146101cc578063c5985918146101d257600080fd5b8063313ce567116100d3578063313ce5671461012757806349948e0e1461012e5780634ef6e22414610141578063519b4bd31461015e57600080fd5b80630c18c162146100fa57806322b90ab3146101155780632e0f26251461011f575b600080fd5b6101026101fd565b6040519081526020015b60405180910390f35b61011d61031e565b005b610102600681565b6006610102565b61010261013c366004610b73565b610541565b60005461014e9060ff1681565b604051901515815260200161010c565b610102610565565b6101a26040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161010c9190610c42565b6101b76105c6565b60405163ffffffff909116815260200161010c565b48610102565b6101b761064b565b6101026101e8366004610b73565b6106ac565b610102610760565b610102610853565b6000805460ff1615610296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f47617350726963654f7261636c653a206f76657268656164282920697320646560448201527f707265636174656400000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610cb5565b905090565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663e591b2826040518163ffffffff1660e01b8152600401602060405180830381865afa15801561037d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a19190610cce565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f47617350726963654f7261636c653a206f6e6c7920746865206465706f73697460448201527f6f72206163636f756e742063616e2073657420697345636f746f6e6520666c6160648201527f6700000000000000000000000000000000000000000000000000000000000000608482015260a40161028d565b60005460ff1615610514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a2045636f746f6e6520616c72656164792060448201527f6163746976650000000000000000000000000000000000000000000000000000606482015260840161028d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6000805460ff161561055c57610556826108b4565b92915050565b61055682610958565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16635cf249696040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff166368d5dca66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610d04565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663c59859186040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b6000806106b883610ab4565b60005490915060ff16156106cc5792915050565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa15801561072b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074f9190610cb5565b6107599082610d59565b9392505050565b6000805460ff16156107f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a207363616c61722829206973206465707260448201527f6563617465640000000000000000000000000000000000000000000000000000606482015260840161028d565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663f82061406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b6000806108c083610ab4565b905060006108cc610565565b6108d461064b565b6108df906010610d71565b63ffffffff166108ef9190610d9d565b905060006108fb610853565b6109036105c6565b63ffffffff166109139190610d9d565b905060006109218284610d59565b61092b9085610d9d565b90506109396006600a610efa565b610944906010610d9d565b61094e9082610f06565b9695505050505050565b60008061096483610ab4565b9050600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109eb9190610cb5565b6109f3610565565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190610cb5565b610a809085610d59565b610a8a9190610d9d565b610a949190610d9d565b9050610aa26006600a610efa565b610aac9082610f06565b949350505050565b80516000908190815b81811015610b3757848181518110610ad757610ad7610f41565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016600003610b1757610b10600484610d59565b9250610b25565b610b22601084610d59565b92505b80610b2f81610f70565b915050610abd565b50610aac82610440610d59565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610b8557600080fd5b813567ffffffffffffffff80821115610b9d57600080fd5b818401915084601f830112610bb157600080fd5b813581811115610bc357610bc3610b44565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610c0957610c09610b44565b81604052828152876020848701011115610c2257600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b81811015610c6f57858101830151858201604001528201610c53565b81811115610c81576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600060208284031215610cc757600080fd5b5051919050565b600060208284031215610ce057600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461075957600080fd5b600060208284031215610d1657600080fd5b815163ffffffff8116811461075957600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610d6c57610d6c610d2a565b500190565b600063ffffffff80831681851681830481118215151615610d9457610d94610d2a565b02949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610dd557610dd5610d2a565b500290565b600181815b80851115610e3357817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610e1957610e19610d2a565b80851615610e2657918102915b93841c9390800290610ddf565b509250929050565b600082610e4a57506001610556565b81610e5757506000610556565b8160018114610e6d5760028114610e7757610e93565b6001915050610556565b60ff841115610e8857610e88610d2a565b50506001821b610556565b5060208310610133831016604e8410600b8410161715610eb6575081810a610556565b610ec08383610dda565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ef257610ef2610d2a565b029392505050565b60006107598383610e3b565b600082610f3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610fa157610fa1610d2a565b506001019056fea164736f6c634300080f000a",sourceMap:"1153:5825:140:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2951:202;;;:::i;:::-;;;160:25:350;;;148:2;133:18;2951:202:140;;;;;;;;2115:338;;;:::i;:::-;;1249:36;;1284:1;1249:36;;4561:82;1284:1;4561:82;;1835:196;;;;;;:::i;:::-;;:::i;1486:21::-;;;;;;;;;;;;1535:14:350;;1528:22;1510:41;;1498:2;1483:18;1486:21:140;1370:187:350;3568:124:140;;;:::i;1355:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4267:141::-;;;:::i;:::-;;;2397:10:350;2385:23;;;2367:42;;2355:2;2340:18;4267:141:140;2223:192:350;2746:86:140;2812:13;2746:86;;4022:133;;;:::i;4975:280::-;;;;;;:::i;:::-;;:::i;3268:196::-;;;:::i;3790:130::-;;;:::i;2951:202::-;2992:7;3020:9;;;;3019:10;3011:63;;;;;;;2622:2:350;3011:63:140;;;2604:21:350;2661:2;2641:18;;;2634:30;2700:34;2680:18;;;2673:62;2771:10;2751:18;;;2744:38;2799:19;;3011:63:140;;;;;;;;;1455:42:194;3091:53:140;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3084:62;;2951:202;:::o;2115:338::-;1455:42:194;2191:57:140;;;:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2177:73;;:10;:73;;;2156:185;;;;;;;3538:2:350;2156:185:140;;;3520:21:350;3577:2;3557:18;;;3550:30;3616:34;3596:18;;;3589:62;3687:34;3667:18;;;3660:62;3759:3;3738:19;;;3731:32;3780:19;;2156:185:140;3336:469:350;2156:185:140;2359:9;;;;:18;2351:69;;;;;;;4012:2:350;2351:69:140;;;3994:21:350;4051:2;4031:18;;;4024:30;4090:34;4070:18;;;4063:62;4161:8;4141:18;;;4134:36;4187:19;;2351:69:140;3810:402:350;2351:69:140;2430:9;:16;;;;2442:4;2430:16;;;2115:338::o;1835:196::-;1896:7;1919:9;;;;1915:70;;;1951:23;1968:5;1951:16;:23::i;:::-;1944:30;1835:196;-1:-1:-1;;1835:196:140:o;1915:70::-;2001:23;2018:5;2001:16;:23::i;3568:124::-;3610:7;1455:42:194;3636:47:140;;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4267:141;4317:6;1455:42:194;4342:57:140;;;:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4022:133::-;4068:6;1455:42:194;4093:53:140;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4975:280;5038:7;5057:17;5077:22;5093:5;5077:15;:22::i;:::-;5113:9;;5057:42;;-1:-1:-1;5113:9:140;;5109:56;;;5145:9;4975:280;-1:-1:-1;;4975:280:140:o;5109:56::-;1455:42:194;5193:53:140;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5181:67;;:9;:67;:::i;:::-;5174:74;4975:280;-1:-1:-1;;;4975:280:140:o;3268:196::-;3307:7;3335:9;;;;3334:10;3326:61;;;;;;;5026:2:350;3326:61:140;;;5008:21:350;5065:2;5045:18;;;5038:30;5104:34;5084:18;;;5077:62;5175:8;5155:18;;;5148:36;5201:19;;3326:61:140;4824:402:350;3326:61:140;1455:42:194;3404:51:140;;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3790:130;3834:7;1455:42:194;3860:51:140;;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6015:393;6084:7;6103:17;6123:22;6139:5;6123:15;:22::i;:::-;6103:42;;6155:21;6202:11;:9;:11::i;:::-;6179:15;:13;:15::i;:::-;:20;;6197:2;6179:20;:::i;:::-;:34;;;;;;:::i;:::-;6155:58;;6223:25;6273:13;:11;:13::i;:::-;6251:19;:17;:19::i;:::-;:35;;;;;;:::i;:::-;6223:63;-1:-1:-1;6296:11:140;6323:33;6223:63;6323:13;:33;:::i;:::-;6310:47;;:9;:47;:::i;:::-;6296:61;-1:-1:-1;6386:14:140;1284:1;6386:2;:14;:::i;:::-;6381:19;;:2;:19;:::i;:::-;6374:27;;:3;:27;:::i;:::-;6367:34;6015:393;-1:-1:-1;;;;;;6015:393:140:o;5468:351::-;5537:7;5556:17;5576:22;5592:5;5576:15;:22::i;:::-;5556:42;;5608:11;1455:42:194;5720:51:140;;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5694:11;:9;:11::i;:::-;1455:42:194;5635:53:140;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5623:67;;:9;:67;:::i;:::-;5622:83;;;;:::i;:::-;:151;;;;:::i;:::-;5608:165;-1:-1:-1;5797:14:140;1284:1;5797:2;:14;:::i;:::-;5790:22;;:3;:22;:::i;:::-;5783:29;5468:351;-1:-1:-1;;;;5468:351:140:o;6610:366::-;6741:12;;6678:7;;;;;6763:173;6787:6;6783:1;:10;6763:173;;;6818:5;6824:1;6818:8;;;;;;;;:::i;:::-;;;;;;;6830:1;6818:13;6814:112;;6851:10;6860:1;6851:10;;:::i;:::-;;;6814:112;;;6900:11;6909:2;6900:11;;:::i;:::-;;;6814:112;6795:3;;;;:::i;:::-;;;;6763:173;;;-1:-1:-1;6952:17:140;:5;6961:7;6952:17;:::i;196:184:350:-;248:77;245:1;238:88;345:4;342:1;335:15;369:4;366:1;359:15;385:980;453:6;506:2;494:9;485:7;481:23;477:32;474:52;;;522:1;519;512:12;474:52;562:9;549:23;591:18;632:2;624:6;621:14;618:34;;;648:1;645;638:12;618:34;686:6;675:9;671:22;661:32;;731:7;724:4;720:2;716:13;712:27;702:55;;753:1;750;743:12;702:55;789:2;776:16;811:2;807;804:10;801:36;;;817:18;;:::i;:::-;951:2;945:9;1013:4;1005:13;;856:66;1001:22;;;1025:2;997:31;993:40;981:53;;;1049:18;;;1069:22;;;1046:46;1043:72;;;1095:18;;:::i;:::-;1135:10;1131:2;1124:22;1170:2;1162:6;1155:18;1210:7;1205:2;1200;1196;1192:11;1188:20;1185:33;1182:53;;;1231:1;1228;1221:12;1182:53;1287:2;1282;1278;1274:11;1269:2;1261:6;1257:15;1244:46;1332:1;1310:15;;;1327:2;1306:24;1299:35;;;;-1:-1:-1;1314:6:350;385:980;-1:-1:-1;;;;;385:980:350:o;1562:656::-;1674:4;1703:2;1732;1721:9;1714:21;1764:6;1758:13;1807:6;1802:2;1791:9;1787:18;1780:34;1832:1;1842:140;1856:6;1853:1;1850:13;1842:140;;;1951:14;;;1947:23;;1941:30;1917:17;;;1936:2;1913:26;1906:66;1871:10;;1842:140;;;2000:6;1997:1;1994:13;1991:91;;;2070:1;2065:2;2056:6;2045:9;2041:22;2037:31;2030:42;1991:91;-1:-1:-1;2134:2:350;2122:15;2139:66;2118:88;2103:104;;;;2209:2;2099:113;;1562:656;-1:-1:-1;;;1562:656:350:o;2829:184::-;2899:6;2952:2;2940:9;2931:7;2927:23;2923:32;2920:52;;;2968:1;2965;2958:12;2920:52;-1:-1:-1;2991:16:350;;2829:184;-1:-1:-1;2829:184:350:o;3018:313::-;3088:6;3141:2;3129:9;3120:7;3116:23;3112:32;3109:52;;;3157:1;3154;3147:12;3109:52;3189:9;3183:16;3239:42;3232:5;3228:54;3221:5;3218:65;3208:93;;3297:1;3294;3287:12;4217:280;4286:6;4339:2;4327:9;4318:7;4314:23;4310:32;4307:52;;;4355:1;4352;4345:12;4307:52;4387:9;4381:16;4437:10;4430:5;4426:22;4419:5;4416:33;4406:61;;4463:1;4460;4453:12;4502:184;4554:77;4551:1;4544:88;4651:4;4648:1;4641:15;4675:4;4672:1;4665:15;4691:128;4731:3;4762:1;4758:6;4755:1;4752:13;4749:39;;;4768:18;;:::i;:::-;-1:-1:-1;4804:9:350;;4691:128::o;5231:262::-;5270:7;5302:10;5339:2;5336:1;5332:10;5369:2;5366:1;5362:10;5425:3;5421:2;5417:12;5412:3;5409:21;5402:3;5395:11;5388:19;5384:47;5381:73;;;5434:18;;:::i;:::-;5474:13;;5231:262;-1:-1:-1;;;;5231:262:350:o;5498:228::-;5538:7;5664:1;5596:66;5592:74;5589:1;5586:81;5581:1;5574:9;5567:17;5563:105;5560:131;;;5671:18;;:::i;:::-;-1:-1:-1;5711:9:350;;5498:228::o;5731:482::-;5820:1;5863:5;5820:1;5877:330;5898:7;5888:8;5885:21;5877:330;;;6017:4;5949:66;5945:77;5939:4;5936:87;5933:113;;;6026:18;;:::i;:::-;6076:7;6066:8;6062:22;6059:55;;;6096:16;;;;6059:55;6175:22;;;;6135:15;;;;5877:330;;;5881:3;5731:482;;;;;:::o;6218:866::-;6267:5;6297:8;6287:80;;-1:-1:-1;6338:1:350;6352:5;;6287:80;6386:4;6376:76;;-1:-1:-1;6423:1:350;6437:5;;6376:76;6468:4;6486:1;6481:59;;;;6554:1;6549:130;;;;6461:218;;6481:59;6511:1;6502:10;;6525:5;;;6549:130;6586:3;6576:8;6573:17;6570:43;;;6593:18;;:::i;:::-;-1:-1:-1;;6649:1:350;6635:16;;6664:5;;6461:218;;6763:2;6753:8;6750:16;6744:3;6738:4;6735:13;6731:36;6725:2;6715:8;6712:16;6707:2;6701:4;6698:12;6694:35;6691:77;6688:159;;;-1:-1:-1;6800:19:350;;;6832:5;;6688:159;6879:34;6904:8;6898:4;6879:34;:::i;:::-;7009:6;6941:66;6937:79;6928:7;6925:92;6922:118;;;7020:18;;:::i;:::-;7058:20;;6218:866;-1:-1:-1;;;6218:866:350:o;7089:131::-;7149:5;7178:36;7205:8;7199:4;7178:36;:::i;7225:274::-;7265:1;7291;7281:189;;7326:77;7323:1;7316:88;7427:4;7424:1;7417:15;7455:4;7452:1;7445:15;7281:189;-1:-1:-1;7484:9:350;;7225:274::o;7504:184::-;7556:77;7553:1;7546:88;7653:4;7650:1;7643:15;7677:4;7674:1;7667:15;7693:195;7732:3;7763:66;7756:5;7753:77;7750:103;;7833:18;;:::i;:::-;-1:-1:-1;7880:1:350;7869:13;;7693:195::o",linkReferences:{}},methodIdentifiers:{"DECIMALS()":"2e0f2625","baseFee()":"6ef25c3a","baseFeeScalar()":"c5985918","blobBaseFee()":"f8206140","blobBaseFeeScalar()":"68d5dca6","decimals()":"313ce567","gasPrice()":"fe173b97","getL1Fee(bytes)":"49948e0e","getL1GasUsed(bytes)":"de26c4a1","isEcotone()":"4ef6e224","l1BaseFee()":"519b4bd3","overhead()":"0c18c162","scalar()":"f45e65d8","setEcotone()":"22b90ab3","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"name":"DECIMALS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"gasPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"getL1Fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"getL1GasUsed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isEcotone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l1BaseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"overhead","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"scalar","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setEcotone","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x420000000000000000000000000000000000000F","kind":"dev","methods":{"baseFee()":{"returns":{"_0":"Current L2 base fee."}},"baseFeeScalar()":{"returns":{"_0":"Current base fee scalar."}},"blobBaseFee()":{"returns":{"_0":"Current blob base fee."}},"blobBaseFeeScalar()":{"returns":{"_0":"Current blob base fee scalar."}},"decimals()":{"custom:legacy":"@notice Retrieves the number of decimals used in the scalar.","returns":{"_0":"Number of decimals used in the scalar."}},"gasPrice()":{"returns":{"_0":"Current L2 gas price (base fee)."}},"getL1Fee(bytes)":{"params":{"_data":"Unsigned fully RLP-encoded transaction to get the L1 fee for."},"returns":{"_0":"L1 fee that should be paid for the tx"}},"getL1GasUsed(bytes)":{"params":{"_data":"Unsigned fully RLP-encoded transaction to get the L1 gas for."},"returns":{"_0":"Amount of L1 gas used to publish the transaction."}},"l1BaseFee()":{"returns":{"_0":"Latest known L1 base fee."}},"overhead()":{"custom:legacy":"@notice Retrieves the current fee overhead.","returns":{"_0":"Current fee overhead."}},"scalar()":{"custom:legacy":"@notice Retrieves the current fee scalar.","returns":{"_0":"Current fee scalar."}}},"stateVariables":{"version":{"custom:semver":"1.2.0"}},"title":"GasPriceOracle","version":1},"userdoc":{"kind":"user","methods":{"DECIMALS()":{"notice":"Number of decimals used in the scalar."},"baseFee()":{"notice":"Retrieves the current base fee."},"baseFeeScalar()":{"notice":"Retrieves the current base fee scalar."},"blobBaseFee()":{"notice":"Retrieves the current blob base fee."},"blobBaseFeeScalar()":{"notice":"Retrieves the current blob base fee scalar."},"gasPrice()":{"notice":"Retrieves the current gas price (base fee)."},"getL1Fee(bytes)":{"notice":"Computes the L1 portion of the fee based on the size of the rlp encoded input transaction, the current L1 base fee, and the various dynamic parameters."},"getL1GasUsed(bytes)":{"notice":"Computes the amount of L1 gas used for a transaction. Adds 68 bytes of padding to account for the fact that the input does not have a signature."},"isEcotone()":{"notice":"Indicates whether the network has gone through the Ecotone upgrade."},"l1BaseFee()":{"notice":"Retrieves the latest known L1 base fee."},"setEcotone()":{"notice":"Set chain to be Ecotone chain (callable by depositor account)"},"version()":{"notice":"Semantic version."}},"notice":"This contract maintains the variables responsible for computing the L1 portion of the total fee charged on L2. Before Bedrock, this contract held variables in state that were read during the state transition function to compute the L1 portion of the transaction fee. After Bedrock, this contract now simply proxies the L1Block contract, which has the values used to compute the L1 portion of the fee in its state. The contract exposes an API that is useful for knowing how large the L1 portion of the transaction fee will be. The following events were deprecated with Bedrock: - event OverheadUpdated(uint256 overhead); - event ScalarUpdated(uint256 scalar); - event DecimalsUpdated(uint256 decimals);","version":1}},"settings":{"compilationTarget":{"src/L2/GasPriceOracle.sol":"GasPriceOracle"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"src/L2/GasPriceOracle.sol":{"keccak256":"0x299b0722d301a4bc075ba09c73e55a98e3dc509444906f285e2ceba9c1fa69b1","license":"MIT","urls":["bzz-raw://17f7ffe4744b7bde10d61ce376ac0b497d40dab962b1c4c47bf7fd9784350cb7","dweb:/ipfs/QmYp8vZtid8GBWrm7QSPxNCV9D4Mm9ELm29PGup7b6dJ7H"]},"src/L2/L1Block.sol":{"keccak256":"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6","license":"MIT","urls":["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"view",type:"function",name:"DECIMALS",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"baseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"baseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"pure",type:"function",name:"decimals",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"gasPrice",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"view",type:"function",name:"getL1Fee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"view",type:"function",name:"getL1GasUsed",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"isEcotone",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1BaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"overhead",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"scalar",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"setEcotone"},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"baseFee()":{returns:{_0:"Current L2 base fee."}},"baseFeeScalar()":{returns:{_0:"Current base fee scalar."}},"blobBaseFee()":{returns:{_0:"Current blob base fee."}},"blobBaseFeeScalar()":{returns:{_0:"Current blob base fee scalar."}},"decimals()":{"custom:legacy":"@notice Retrieves the number of decimals used in the scalar.",returns:{_0:"Number of decimals used in the scalar."}},"gasPrice()":{returns:{_0:"Current L2 gas price (base fee)."}},"getL1Fee(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 fee for."},returns:{_0:"L1 fee that should be paid for the tx"}},"getL1GasUsed(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 gas for."},returns:{_0:"Amount of L1 gas used to publish the transaction."}},"l1BaseFee()":{returns:{_0:"Latest known L1 base fee."}},"overhead()":{"custom:legacy":"@notice Retrieves the current fee overhead.",returns:{_0:"Current fee overhead."}},"scalar()":{"custom:legacy":"@notice Retrieves the current fee scalar.",returns:{_0:"Current fee scalar."}}},version:1},userdoc:{kind:"user",methods:{"DECIMALS()":{notice:"Number of decimals used in the scalar."},"baseFee()":{notice:"Retrieves the current base fee."},"baseFeeScalar()":{notice:"Retrieves the current base fee scalar."},"blobBaseFee()":{notice:"Retrieves the current blob base fee."},"blobBaseFeeScalar()":{notice:"Retrieves the current blob base fee scalar."},"gasPrice()":{notice:"Retrieves the current gas price (base fee)."},"getL1Fee(bytes)":{notice:"Computes the L1 portion of the fee based on the size of the rlp encoded input transaction, the current L1 base fee, and the various dynamic parameters."},"getL1GasUsed(bytes)":{notice:"Computes the amount of L1 gas used for a transaction. Adds 68 bytes of padding to account for the fact that the input does not have a signature."},"isEcotone()":{notice:"Indicates whether the network has gone through the Ecotone upgrade."},"l1BaseFee()":{notice:"Retrieves the latest known L1 base fee."},"setEcotone()":{notice:"Set chain to be Ecotone chain (callable by depositor account)"},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/GasPriceOracle.sol":"GasPriceOracle"},evmVersion:"london",libraries:{}},sources:{"src/L2/GasPriceOracle.sol":{keccak256:"0x299b0722d301a4bc075ba09c73e55a98e3dc509444906f285e2ceba9c1fa69b1",urls:["bzz-raw://17f7ffe4744b7bde10d61ce376ac0b497d40dab962b1c4c47bf7fd9784350cb7","dweb:/ipfs/QmYp8vZtid8GBWrm7QSPxNCV9D4Mm9ELm29PGup7b6dJ7H"],license:"MIT"},"src/L2/L1Block.sol":{keccak256:"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6",urls:["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:86905,contract:"src/L2/GasPriceOracle.sol:GasPriceOracle",label:"isEcotone",offset:0,slot:"0",type:"t_bool"}],types:{t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"DECIMALS()":{notice:"Number of decimals used in the scalar."},"baseFee()":{notice:"Retrieves the current base fee."},"baseFeeScalar()":{notice:"Retrieves the current base fee scalar."},"blobBaseFee()":{notice:"Retrieves the current blob base fee."},"blobBaseFeeScalar()":{notice:"Retrieves the current blob base fee scalar."},"gasPrice()":{notice:"Retrieves the current gas price (base fee)."},"getL1Fee(bytes)":{notice:"Computes the L1 portion of the fee based on the size of the rlp encoded input transaction, the current L1 base fee, and the various dynamic parameters."},"getL1GasUsed(bytes)":{notice:"Computes the amount of L1 gas used for a transaction. Adds 68 bytes of padding to account for the fact that the input does not have a signature."},"isEcotone()":{notice:"Indicates whether the network has gone through the Ecotone upgrade."},"l1BaseFee()":{notice:"Retrieves the latest known L1 base fee."},"setEcotone()":{notice:"Set chain to be Ecotone chain (callable by depositor account)"},"version()":{notice:"Semantic version."}},notice:"This contract maintains the variables responsible for computing the L1 portion of the total fee charged on L2. Before Bedrock, this contract held variables in state that were read during the state transition function to compute the L1 portion of the transaction fee. After Bedrock, this contract now simply proxies the L1Block contract, which has the values used to compute the L1 portion of the fee in its state. The contract exposes an API that is useful for knowing how large the L1 portion of the transaction fee will be. The following events were deprecated with Bedrock: - event OverheadUpdated(uint256 overhead); - event ScalarUpdated(uint256 scalar); - event DecimalsUpdated(uint256 decimals);"},devdoc:{version:1,kind:"dev",methods:{"baseFee()":{returns:{_0:"Current L2 base fee."}},"baseFeeScalar()":{returns:{_0:"Current base fee scalar."}},"blobBaseFee()":{returns:{_0:"Current blob base fee."}},"blobBaseFeeScalar()":{returns:{_0:"Current blob base fee scalar."}},"decimals()":{returns:{_0:"Number of decimals used in the scalar."}},"gasPrice()":{returns:{_0:"Current L2 gas price (base fee)."}},"getL1Fee(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 fee for."},returns:{_0:"L1 fee that should be paid for the tx"}},"getL1GasUsed(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 gas for."},returns:{_0:"Amount of L1 gas used to publish the transaction."}},"l1BaseFee()":{returns:{_0:"Latest known L1 base fee."}},"overhead()":{returns:{_0:"Current fee overhead."}},"scalar()":{returns:{_0:"Current fee scalar."}}},title:"GasPriceOracle"},id:140}});var KKe=D((r6a,zHt)=>{zHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"create",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_rootClaim",type:"bytes32",internalType:"Claim"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"proxy_",type:"address",internalType:"contract IDisputeGame"}],stateMutability:"payable"},{type:"function",name:"findLatestGames",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_start",type:"uint256",internalType:"uint256"},{name:"_n",type:"uint256",internalType:"uint256"}],outputs:[{name:"games_",type:"tuple[]",internalType:"struct IDisputeGameFactory.GameSearchResult[]",components:[{name:"index",type:"uint256",internalType:"uint256"},{name:"metadata",type:"bytes32",internalType:"GameId"},{name:"timestamp",type:"uint64",internalType:"Timestamp"},{name:"rootClaim",type:"bytes32",internalType:"Claim"},{name:"extraData",type:"bytes",internalType:"bytes"}]}],stateMutability:"view"},{type:"function",name:"gameAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"gameType_",type:"uint32",internalType:"GameType"},{name:"timestamp_",type:"uint64",internalType:"Timestamp"},{name:"proxy_",type:"address",internalType:"contract IDisputeGame"}],stateMutability:"view"},{type:"function",name:"gameCount",inputs:[],outputs:[{name:"gameCount_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"gameImpls",inputs:[{name:"",type:"uint32",internalType:"GameType"}],outputs:[{name:"",type:"address",internalType:"contract IDisputeGame"}],stateMutability:"view"},{type:"function",name:"games",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_rootClaim",type:"bytes32",internalType:"Claim"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"proxy_",type:"address",internalType:"contract IDisputeGame"},{name:"timestamp_",type:"uint64",internalType:"Timestamp"}],stateMutability:"view"},{type:"function",name:"getGameUUID",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_rootClaim",type:"bytes32",internalType:"Claim"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"uuid_",type:"bytes32",internalType:"Hash"}],stateMutability:"pure"},{type:"function",name:"initBonds",inputs:[{name:"",type:"uint32",internalType:"GameType"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_owner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceOwnership",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setImplementation",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_impl",type:"address",internalType:"contract IDisputeGame"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setInitBond",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_initBond",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"transferOwnership",inputs:[{name:"newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"DisputeGameCreated",inputs:[{name:"disputeProxy",type:"address",indexed:!0,internalType:"address"},{name:"gameType",type:"uint32",indexed:!0,internalType:"GameType"},{name:"rootClaim",type:"bytes32",indexed:!0,internalType:"Claim"}],anonymous:!1},{type:"event",name:"ImplementationSet",inputs:[{name:"impl",type:"address",indexed:!0,internalType:"address"},{name:"gameType",type:"uint32",indexed:!0,internalType:"GameType"}],anonymous:!1},{type:"event",name:"InitBondUpdated",inputs:[{name:"gameType",type:"uint32",indexed:!0,internalType:"GameType"},{name:"newBond",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnershipTransferred",inputs:[{name:"previousOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"GameAlreadyExists",inputs:[{name:"uuid",type:"bytes32",internalType:"Hash"}]},{type:"error",name:"IncorrectBondAmount",inputs:[]},{type:"error",name:"NoImplementation",inputs:[{name:"gameType",type:"uint32",internalType:"GameType"}]}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000292565b600054610100900460ff1615808015620000455750600054600160ff909116105b8062000075575062000062306200016260201b62000cdb1760201c565b15801562000075575060005460ff166001145b620000de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000102576000805461ff0019166101001790555b6200010c62000171565b6200011782620001d9565b80156200015e576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054610100900460ff16620001cd5760405162461bcd60e51b815260206004820152602b6024820152600080516020620017ff83398151915260448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b620001d76200022b565b565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16620002875760405162461bcd60e51b815260206004820152602b6024820152600080516020620017ff83398151915260448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b620001d733620001d9565b61155d80620002a26000396000f3fe6080604052600436106100e85760003560e01c80636593dc6e1161008a57806396cd97201161005957806396cd972014610313578063bb8aa1fc14610333578063c4d66de814610394578063f2fde38b146103b457600080fd5b80636593dc6e14610293578063715018a6146102c057806382ecf2f6146102d55780638da5cb5b146102e857600080fd5b8063254bd683116100c6578063254bd6831461019c5780634d1975b4146101c957806354fd4d50146101e85780635f0150cb1461023e57600080fd5b806314f6b1a3146100ed5780631b685b9e1461010f5780631e3342401461017c575b600080fd5b3480156100f957600080fd5b5061010d610108366004611098565b6103d4565b005b34801561011b57600080fd5b5061015261012a3660046110cf565b60656020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018857600080fd5b5061010d6101973660046110ea565b61045e565b3480156101a857600080fd5b506101bc6101b7366004611114565b6104aa565b60405161017391906111c1565b3480156101d557600080fd5b506068545b604051908152602001610173565b3480156101f457600080fd5b506102316040518060400160405280600581526020017f302e332e3000000000000000000000000000000000000000000000000000000081525081565b604051610173919061127e565b34801561024a57600080fd5b5061025e610259366004611291565b6106ee565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff909116602083015201610173565b34801561029f57600080fd5b506101da6102ae3660046110cf565b60666020526000908152604090205481565b3480156102cc57600080fd5b5061010d610741565b6101526102e3366004611291565b610755565b3480156102f457600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610152565b34801561031f57600080fd5b506101da61032e366004611291565b6109ed565b34801561033f57600080fd5b5061035361034e366004611318565b610a26565b6040805163ffffffff909416845267ffffffffffffffff909216602084015273ffffffffffffffffffffffffffffffffffffffff1690820152606001610173565b3480156103a057600080fd5b5061010d6103af366004611331565b610a88565b3480156103c057600080fd5b5061010d6103cf366004611331565b610c24565b6103dc610cf7565b63ffffffff821660008181526065602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8616908117909155905190917fff513d80e2c7fa487608f70a618dfbc0cf415699dc69588c747e8c71566c88de91a35050565b610466610cf7565b63ffffffff8216600081815260666020526040808220849055518392917f74d6665c4b26d5596a5aa13d3014e0c06af4d322075a797f87b03cd4c5bc91ca91a35050565b606854606090831015806104bc575081155b6106e7575060408051600583901b8101602001909152825b8381116106e5576000606882815481106104f0576104f061134e565b600091825260209091200154905060e081901c67ffffffffffffffff60a083901c1673ffffffffffffffffffffffffffffffffffffffff831660ff808a16908416036106b6576001865101865260008173ffffffffffffffffffffffffffffffffffffffff1663609d33346040518163ffffffff1660e01b8152600401600060405180830381865afa15801561058a573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526105d091908101906113ac565b905060008273ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106439190611477565b90506040518060a001604052808881526020018781526020018567ffffffffffffffff168152602001828152602001838152508860018a516106859190611490565b815181106106955761069561134e565b6020026020010181905250888851106106b3575050505050506106e5565b50505b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191506104d49050565b505b9392505050565b60008060006106ff878787876109ed565b60009081526067602052604090205473ffffffffffffffffffffffffffffffffffffffff81169860a09190911c67ffffffffffffffff16975095505050505050565b610749610cf7565b6107536000610d78565b565b63ffffffff841660009081526065602052604081205473ffffffffffffffffffffffffffffffffffffffff16806107c5576040517f031c6de400000000000000000000000000000000000000000000000000000000815263ffffffff871660048201526024015b60405180910390fd5b63ffffffff86166000908152606660205260409020543414610813576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610820600143611490565b4090506108888682878760405160200161083d94939291906114ce565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905273ffffffffffffffffffffffffffffffffffffffff841690610def565b92508273ffffffffffffffffffffffffffffffffffffffff16638129fc1c346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156108d257600080fd5b505af11580156108e6573d6000803e3d6000fd5b505050505060006108f9888888886109ed565b60008181526067602052604090205490915015610945576040517f014f6fe5000000000000000000000000000000000000000000000000000000008152600481018290526024016107bc565b60004260a01b60e08a901b178517600083815260676020526040808220839055606880546001810182559083527fa2153420d844928b4421650203c77babc8b33d7f2e7b450e2966db0c220977530183905551919250899163ffffffff8c169173ffffffffffffffffffffffffffffffffffffffff8916917f5b565efe82411da98814f356d0e7bcb8f0219b8d970307c5afb4a6903a8b2e359190a450505050949350505050565b600084848484604051602001610a0694939291906114ef565b604051602081830303815290604052805190602001209050949350505050565b6000806000610a7b60688581548110610a4157610a4161134e565b906000526020600020015460e081901c9160a082901c67ffffffffffffffff169173ffffffffffffffffffffffffffffffffffffffff1690565b9196909550909350915050565b600054610100900460ff1615808015610aa85750600054600160ff909116105b80610ac25750303b158015610ac2575060005460ff166001145b610b4e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016107bc565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610bac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610bb4610f23565b610bbd82610d78565b8015610c2057600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b610c2c610cf7565b73ffffffffffffffffffffffffffffffffffffffff8116610ccf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107bc565b610cd881610d78565b50565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60335473ffffffffffffffffffffffffffffffffffffffff163314610753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bc565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006002825101603f8101600a81036040518360581b8260e81b177f6100003d81600a3d39f3363d3d373d3d3d3d610000806035363936013d7300001781528660601b601e8201527f5af43d3d93803e603357fd5bf300000000000000000000000000000000000000603282015285519150603f8101602087015b60208410610ea757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09093019260209182019101610e6a565b517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602085900360031b1b16815260f085901b9083015282816000f0945084610f14577febfef1880000000000000000000000000000000000000000000000000000000060005260206000fd5b90910160405250909392505050565b600054610100900460ff16610fba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b610753600054610100900460ff16611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b61075333610d78565b803563ffffffff8116811461107157600080fd5b919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610cd857600080fd5b600080604083850312156110ab57600080fd5b6110b48361105d565b915060208301356110c481611076565b809150509250929050565b6000602082840312156110e157600080fd5b6106e78261105d565b600080604083850312156110fd57600080fd5b6111068361105d565b946020939093013593505050565b60008060006060848603121561112957600080fd5b6111328461105d565b95602085013595506040909401359392505050565b60005b8381101561116257818101518382015260200161114a565b83811115611171576000848401525b50505050565b6000815180845261118f816020860160208601611147565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015611270578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc001855281518051845287810151888501528681015167ffffffffffffffff16878501526060808201519085015260809081015160a09185018290529061125c81860183611177565b9689019694505050908601906001016111e8565b509098975050505050505050565b6020815260006106e76020830184611177565b600080600080606085870312156112a757600080fd5b6112b08561105d565b935060208501359250604085013567ffffffffffffffff808211156112d457600080fd5b818701915087601f8301126112e857600080fd5b8135818111156112f757600080fd5b88602082850101111561130957600080fd5b95989497505060200194505050565b60006020828403121561132a57600080fd5b5035919050565b60006020828403121561134357600080fd5b81356106e781611076565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156113be57600080fd5b815167ffffffffffffffff808211156113d657600080fd5b818401915084601f8301126113ea57600080fd5b8151818111156113fc576113fc61137d565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156114425761144261137d565b8160405282815287602084870101111561145b57600080fd5b61146c836020830160208801611147565b979650505050505050565b60006020828403121561148957600080fd5b5051919050565b6000828210156114c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b84815283602082015281836040830137600091016040019081529392505050565b63ffffffff8516815283602082015260606040820152816060820152818360808301376000818301608090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101939250505056fea164736f6c634300080f000a496e697469616c697a61626c653a20636f6e7472616374206973206e6f742069",sourceMap:"1011:6547:158:-:0;;;2002:74;;;;;;;;;-1:-1:-1;2047:22:158::1;2066:1;2047:10;:22::i;:::-;1011:6547:::0;;2173:124;3111:19:25;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;3197:12;;;;:16;3179:34;3178:108;;;;3220:44;3258:4;3220:29;;;;;:44;;:::i;:::-;3219:45;:66;;;;-1:-1:-1;3268:12:25;;;;;:17;3219:66;3157:201;;;;-1:-1:-1;;;3157:201:25;;216:2:350;3157:201:25;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3157:201:25;;;;;;;;;3368:12;:16;;-1:-1:-1;;3368:16:25;3383:1;3368:16;;;3394:65;;;;3428:13;:20;;-1:-1:-1;;3428:20:25;;;;;3394:65;2238:16:158::1;:14;:16::i;:::-;2264:26;2283:6:::0;2264:18:::1;:26::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;-1:-1:-1;;3513:21:25;;;3553:14;;-1:-1:-1;581:36:350;;3553:14:25;;569:2:350;554:18;3553:14:25;;;;;;;3479:99;3101:483;2173:124:158;:::o;1186:320:31:-;-1:-1:-1;;;;;1476:19:31;;:23;;;1186:320::o;1003:95:24:-;4910:13:25;;;;;;;4902:69;;;;-1:-1:-1;;;4902:69:25;;830:2:350;4902:69:25;;;812:21:350;869:2;849:18;;;842:30;-1:-1:-1;;;;;;;;;;;888:18:350;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4902:69:25;628:407:350;4902:69:25;1065:26:24::1;:24;:26::i;:::-;1003:95::o:0;2673:187::-;2765:6;;;-1:-1:-1;;;;;2781:17:24;;;-1:-1:-1;;;;;;2781:17:24;;;;;;;2813:40;;2765:6;;;2781:17;2765:6;;2813:40;;2746:16;;2813:40;2736:124;2673:187;:::o;1104:111::-;4910:13:25;;;;;;;4902:69;;;;-1:-1:-1;;;4902:69:25;;830:2:350;4902:69:25;;;812:21:350;869:2;849:18;;;842:30;-1:-1:-1;;;;;;;;;;;888:18:350;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4902:69:25;628:407:350;4902:69:25;1176:32:24::1;929:10:32::0;1176:18:24::1;:32::i;628:407:350:-:0;1011:6547:158;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106100e85760003560e01c80636593dc6e1161008a57806396cd97201161005957806396cd972014610313578063bb8aa1fc14610333578063c4d66de814610394578063f2fde38b146103b457600080fd5b80636593dc6e14610293578063715018a6146102c057806382ecf2f6146102d55780638da5cb5b146102e857600080fd5b8063254bd683116100c6578063254bd6831461019c5780634d1975b4146101c957806354fd4d50146101e85780635f0150cb1461023e57600080fd5b806314f6b1a3146100ed5780631b685b9e1461010f5780631e3342401461017c575b600080fd5b3480156100f957600080fd5b5061010d610108366004611098565b6103d4565b005b34801561011b57600080fd5b5061015261012a3660046110cf565b60656020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018857600080fd5b5061010d6101973660046110ea565b61045e565b3480156101a857600080fd5b506101bc6101b7366004611114565b6104aa565b60405161017391906111c1565b3480156101d557600080fd5b506068545b604051908152602001610173565b3480156101f457600080fd5b506102316040518060400160405280600581526020017f302e332e3000000000000000000000000000000000000000000000000000000081525081565b604051610173919061127e565b34801561024a57600080fd5b5061025e610259366004611291565b6106ee565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff909116602083015201610173565b34801561029f57600080fd5b506101da6102ae3660046110cf565b60666020526000908152604090205481565b3480156102cc57600080fd5b5061010d610741565b6101526102e3366004611291565b610755565b3480156102f457600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610152565b34801561031f57600080fd5b506101da61032e366004611291565b6109ed565b34801561033f57600080fd5b5061035361034e366004611318565b610a26565b6040805163ffffffff909416845267ffffffffffffffff909216602084015273ffffffffffffffffffffffffffffffffffffffff1690820152606001610173565b3480156103a057600080fd5b5061010d6103af366004611331565b610a88565b3480156103c057600080fd5b5061010d6103cf366004611331565b610c24565b6103dc610cf7565b63ffffffff821660008181526065602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8616908117909155905190917fff513d80e2c7fa487608f70a618dfbc0cf415699dc69588c747e8c71566c88de91a35050565b610466610cf7565b63ffffffff8216600081815260666020526040808220849055518392917f74d6665c4b26d5596a5aa13d3014e0c06af4d322075a797f87b03cd4c5bc91ca91a35050565b606854606090831015806104bc575081155b6106e7575060408051600583901b8101602001909152825b8381116106e5576000606882815481106104f0576104f061134e565b600091825260209091200154905060e081901c67ffffffffffffffff60a083901c1673ffffffffffffffffffffffffffffffffffffffff831660ff808a16908416036106b6576001865101865260008173ffffffffffffffffffffffffffffffffffffffff1663609d33346040518163ffffffff1660e01b8152600401600060405180830381865afa15801561058a573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526105d091908101906113ac565b905060008273ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106439190611477565b90506040518060a001604052808881526020018781526020018567ffffffffffffffff168152602001828152602001838152508860018a516106859190611490565b815181106106955761069561134e565b6020026020010181905250888851106106b3575050505050506106e5565b50505b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191506104d49050565b505b9392505050565b60008060006106ff878787876109ed565b60009081526067602052604090205473ffffffffffffffffffffffffffffffffffffffff81169860a09190911c67ffffffffffffffff16975095505050505050565b610749610cf7565b6107536000610d78565b565b63ffffffff841660009081526065602052604081205473ffffffffffffffffffffffffffffffffffffffff16806107c5576040517f031c6de400000000000000000000000000000000000000000000000000000000815263ffffffff871660048201526024015b60405180910390fd5b63ffffffff86166000908152606660205260409020543414610813576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610820600143611490565b4090506108888682878760405160200161083d94939291906114ce565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905273ffffffffffffffffffffffffffffffffffffffff841690610def565b92508273ffffffffffffffffffffffffffffffffffffffff16638129fc1c346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156108d257600080fd5b505af11580156108e6573d6000803e3d6000fd5b505050505060006108f9888888886109ed565b60008181526067602052604090205490915015610945576040517f014f6fe5000000000000000000000000000000000000000000000000000000008152600481018290526024016107bc565b60004260a01b60e08a901b178517600083815260676020526040808220839055606880546001810182559083527fa2153420d844928b4421650203c77babc8b33d7f2e7b450e2966db0c220977530183905551919250899163ffffffff8c169173ffffffffffffffffffffffffffffffffffffffff8916917f5b565efe82411da98814f356d0e7bcb8f0219b8d970307c5afb4a6903a8b2e359190a450505050949350505050565b600084848484604051602001610a0694939291906114ef565b604051602081830303815290604052805190602001209050949350505050565b6000806000610a7b60688581548110610a4157610a4161134e565b906000526020600020015460e081901c9160a082901c67ffffffffffffffff169173ffffffffffffffffffffffffffffffffffffffff1690565b9196909550909350915050565b600054610100900460ff1615808015610aa85750600054600160ff909116105b80610ac25750303b158015610ac2575060005460ff166001145b610b4e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016107bc565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610bac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610bb4610f23565b610bbd82610d78565b8015610c2057600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b610c2c610cf7565b73ffffffffffffffffffffffffffffffffffffffff8116610ccf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107bc565b610cd881610d78565b50565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60335473ffffffffffffffffffffffffffffffffffffffff163314610753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bc565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006002825101603f8101600a81036040518360581b8260e81b177f6100003d81600a3d39f3363d3d373d3d3d3d610000806035363936013d7300001781528660601b601e8201527f5af43d3d93803e603357fd5bf300000000000000000000000000000000000000603282015285519150603f8101602087015b60208410610ea757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09093019260209182019101610e6a565b517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602085900360031b1b16815260f085901b9083015282816000f0945084610f14577febfef1880000000000000000000000000000000000000000000000000000000060005260206000fd5b90910160405250909392505050565b600054610100900460ff16610fba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b610753600054610100900460ff16611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b61075333610d78565b803563ffffffff8116811461107157600080fd5b919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610cd857600080fd5b600080604083850312156110ab57600080fd5b6110b48361105d565b915060208301356110c481611076565b809150509250929050565b6000602082840312156110e157600080fd5b6106e78261105d565b600080604083850312156110fd57600080fd5b6111068361105d565b946020939093013593505050565b60008060006060848603121561112957600080fd5b6111328461105d565b95602085013595506040909401359392505050565b60005b8381101561116257818101518382015260200161114a565b83811115611171576000848401525b50505050565b6000815180845261118f816020860160208601611147565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015611270578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc001855281518051845287810151888501528681015167ffffffffffffffff16878501526060808201519085015260809081015160a09185018290529061125c81860183611177565b9689019694505050908601906001016111e8565b509098975050505050505050565b6020815260006106e76020830184611177565b600080600080606085870312156112a757600080fd5b6112b08561105d565b935060208501359250604085013567ffffffffffffffff808211156112d457600080fd5b818701915087601f8301126112e857600080fd5b8135818111156112f757600080fd5b88602082850101111561130957600080fd5b95989497505060200194505050565b60006020828403121561132a57600080fd5b5035919050565b60006020828403121561134357600080fd5b81356106e781611076565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156113be57600080fd5b815167ffffffffffffffff808211156113d657600080fd5b818401915084601f8301126113ea57600080fd5b8151818111156113fc576113fc61137d565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156114425761144261137d565b8160405282815287602084870101111561145b57600080fd5b61146c836020830160208801611147565b979650505050505050565b60006020828403121561148957600080fd5b5051919050565b6000828210156114c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b84815283602082015281836040830137600091016040019081529392505050565b63ffffffff8516815283602082015260606040820152816060820152818360808301376000818301608090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101939250505056fea164736f6c634300080f000a",sourceMap:"1011:6547:158:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7140:190;;;;;;;;;;-1:-1:-1;7140:190:158;;;;;:::i;:::-;;:::i;:::-;;1375:50;;;;;;;;;;-1:-1:-1;1375:50:158;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1233:42:350;1221:55;;;1203:74;;1191:2;1176:18;1375:50:158;;;;;;;;7376:180;;;;;;;;;;-1:-1:-1;7376:180:158;;;;;:::i;:::-;;:::i;5165:1929::-;;;;;;;;;;-1:-1:-1;5165:1929:158;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2343:117::-;;;;;;;;;;-1:-1:-1;2430:16:158;:23;2343:117;;;4092:25:350;;;4080:2;4065:18;2343:117:158;3946:177:350;1288:40:158;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2506:342::-;;;;;;;;;;-1:-1:-1;2506:342:158;;;;;:::i;:::-;;:::i;:::-;;;;5425:42:350;5413:55;;;5395:74;;5517:18;5505:31;;;5500:2;5485:18;;5478:59;5368:18;2506:342:158;5169:374:350;1472:45:158;;;;;;;;;;-1:-1:-1;1472:45:158;;;;;:::i;:::-;;;;;;;;;;;;;;2071:101:24;;;;;;;;;;;;;:::i;3175:1629:158:-;;;;;;:::i;:::-;;:::i;1441:85:24:-;;;;;;;;;;-1:-1:-1;1513:6:24;;;;1441:85;;4850:269:158;;;;;;;;;;-1:-1:-1;4850:269:158;;;;;:::i;:::-;;:::i;2894:235::-;;;;;;;;;;-1:-1:-1;2894:235:158;;;;;:::i;:::-;;:::i;:::-;;;;6485:10:350;6473:23;;;6455:42;;6545:18;6533:31;;;6528:2;6513:18;;6506:59;6613:42;6601:55;6581:18;;;6574:83;6443:2;6428:18;2894:235:158;6172:491:350;2173:124:158;;;;;;;;;;-1:-1:-1;2173:124:158;;;;;:::i;:::-;;:::i;2321:198:24:-;;;;;;;;;;-1:-1:-1;2321:198:24;;;;;:::i;:::-;;:::i;7140:190:158:-;1334:13:24;:11;:13::i;:::-;7236:20:158::1;::::0;::::1;;::::0;;;:9:::1;:20;::::0;;;;;:28;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;7279:44;;7236:28;;7279:44:::1;::::0;::::1;7140:190:::0;;:::o;7376:180::-;1334:13:24;:11;:13::i;:::-;7465:20:158::1;::::0;::::1;;::::0;;;:9:::1;:20;::::0;;;;;:32;;;7512:37;7488:9;;7465:20;7512:37:::1;::::0;::::1;7376:180:::0;;:::o;5165:1929::-;5497:16;:23;5315:32;;5487:33;;;;:44;;-1:-1:-1;5524:7:158;;5487:44;5533:13;5483:63;-1:-1:-1;5803:4:158;5797:11;;5860:4;5856:13;;;5834:37;;5850:4;5834:37;5821:51;;;6004:6;5987:1101;6027:6;6022:1;:11;5987:1101;;6050:9;6062:16;6079:1;6062:19;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;1277:3:169;1273:17;;;1340:18;1325:3;1321:17;;;1317:42;1399;1386:56;;6188:33:158;;;;;;;;6184:834;;6546:4;6537:6;6531:13;6527:24;6519:6;6512:40;6588:22;6613:5;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6588:42;;6648:15;6666:5;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6648:35;;6729:226;;;;;;;;6775:1;6729:226;;;;6808:2;6729:226;;;;6843:9;6729:226;;;;;;6885:9;6729:226;;;;6927:9;6729:226;;;6701:6;6724:1;6708:6;:13;:17;;;;:::i;:::-;6701:25;;;;;;;;:::i;:::-;;;;;;:254;;;;6994:2;6977:6;:13;:19;6973:30;;6998:5;;;;;;;;6973:30;6223:795;;6184:834;-1:-1:-1;;7060:3:158;;;;;-1:-1:-1;5987:1101:158;;-1:-1:-1;5987:1101:158;;;5165:1929;;;;;;:::o;2506:342::-;2663:19;2684:20;2720:9;2732:46;2744:9;2755:10;2767;;2732:11;:46::i;:::-;2813:19;;;;:13;:19;;;;;;1399:42:169;1386:56;;;1325:3;1321:17;;;;1340:18;1317:42;;-1:-1:-1;2788:53:158;-1:-1:-1;;;;;;2506:342:158:o;2071:101:24:-;1334:13;:11;:13::i;:::-;2135:30:::1;2162:1;2135:18;:30::i;:::-;2071:101::o:0;3175:1629:158:-;3461:20;;;3336:19;3461:20;;;:9;:20;;;;;;;;;3576:67;;3616:27;;;;;8964:10:350;8952:23;;3616:27:158;;;8934:42:350;8907:18;;3616:27:158;;;;;;;;3576:67;3738:20;;;;;;;:9;:20;;;;;;3725:9;:33;3721:67;;3767:21;;;;;;;;;;;;;;3721:67;3844:18;3875:16;3890:1;3875:12;:16;:::i;:::-;3865:27;3844:48;;4015:73;4052:10;4064;4076;;4035:52;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;4015:19;;;;;:73::i;:::-;3993:96;;4099:6;:17;;;4125:9;4099:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4212:9;4224:46;4236:9;4247:10;4259;;4224:11;:46::i;:::-;4403:1;4371:19;;;:13;:19;;;;;;4212:58;;-1:-1:-1;4357:48:158;4353:84;;4414:23;;;;;;;;4092:25:350;;;4065:18;;4414:23:158;3946:177:350;4353:84:158;4477:9;4537:15;767:3:169;763:20;746:3;742:19;;;739:45;736:61;;4665:19:158;;;;:13;:19;;;;;;:24;;;4699:16;:25;;;;;;;;;;;;;;;4739:58;4477:86;;-1:-1:-1;4786:10:158;;4739:58;;;;;;;;;;4665:19;4739:58;3361:1443;;;;3175:1629;;;;;;:::o;4850:269::-;5011:10;5076:9;5087:10;5099;;5065:45;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5055:56;;;;;;5037:75;;4850:269;;;;;;:::o;2894:235::-;2978:18;2998:20;3020:19;3089:33;:16;3106:6;3089:24;;;;;;;;:::i;:::-;;;;;;;;;1277:3:169;1273:17;;;;1325:3;1321:17;;;1340:18;1317:42;;1399;1386:56;;1077:381;3089:33:158;3055:67;;;;-1:-1:-1;3055:67:158;;-1:-1:-1;2894:235:158;-1:-1:-1;;2894:235:158:o;2173:124::-;3111:19:25;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;3197:12;;;;:16;3179:34;3178:108;;;-1:-1:-1;3258:4:25;1476:19:31;:23;;;3219:66:25;;-1:-1:-1;3268:12:25;;;;;:17;3219:66;3157:201;;;;;;;10301:2:350;3157:201:25;;;10283:21:350;10340:2;10320:18;;;10313:30;10379:34;10359:18;;;10352:62;10450:16;10430:18;;;10423:44;10484:19;;3157:201:25;10099:410:350;3157:201:25;3368:12;:16;;;;3383:1;3368:16;;;3394:65;;;;3428:13;:20;;;;;;;;3394:65;2238:16:158::1;:14;:16::i;:::-;2264:26;2283:6;2264:18;:26::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;;;;;3553:14;;-1:-1:-1;10666:36:350;;3553:14:25;;10654:2:350;10639:18;3553:14:25;;;;;;;3479:99;3101:483;2173:124:158;:::o;2321:198:24:-;1334:13;:11;:13::i;:::-;2409:22:::1;::::0;::::1;2401:73;;;::::0;::::1;::::0;;10915:2:350;2401:73:24::1;::::0;::::1;10897:21:350::0;10954:2;10934:18;;;10927:30;10993:34;10973:18;;;10966:62;11064:8;11044:18;;;11037:36;11090:19;;2401:73:24::1;10713:402:350::0;2401:73:24::1;2484:28;2503:8;2484:18;:28::i;:::-;2321:198:::0;:::o;1186:320:31:-;1476:19;;;:23;;;1186:320::o;1599:130:24:-;1513:6;;1662:23;1513:6;929:10:32;1662:23:24;1654:68;;;;;;;11322:2:350;1654:68:24;;;11304:21:350;;;11341:18;;;11334:30;11400:34;11380:18;;;11373:62;11452:18;;1654:68:24;11120:356:350;2673:187:24;2765:6;;;;2781:17;;;;;;;;;;;2813:40;;2765:6;;;2781:17;2765:6;;2813:40;;2746:16;;2813:40;2736:124;2673:187;:::o;990:7567:0:-;1082:24;1309:1;1302:4;1296:11;1292:19;1429:16;1416:11;1412:34;1492:4;1478:12;1474:23;1563:24;1557:31;6751:11;6745:4;6741:22;6707:7;6701:4;6697:18;6669:116;6559:88;6535:268;6514:3;6490:327;6909:14;6903:4;6899:25;6876:4;6871:3;6867:14;6843:95;7008:42;6985:4;6980:3;6976:14;6952:112;7478:4;7472:11;7457:26;;7520:16;7515:3;7511:26;7575:8;7569:4;7565:19;7598:318;7646:8;7637:7;7634:21;7678:5;7631:70;7735:14;;7719:31;;7880:22;;;;;7792:8;7779:22;;;;7829;7598:318;;;8087:14;8028:11;7990:8;7986:22;;;7983:1;7979:30;7958:95;8083:25;8067:42;;8187:4;8183:22;;;8133:21;;;8167:39;8247:12;8242:3;8239:1;8232:28;8220:40;;8284:8;8274:155;;8361:17;8358:1;8351:28;8406:8;8403:1;8396:19;8274:155;8518:22;;;8492:24;8485:56;-1:-1:-1;990:7567:0;;;-1:-1:-1;;;990:7567:0:o;1003:95:24:-;4910:13:25;;;;;;;4902:69;;;;;;;11683:2:350;4902:69:25;;;11665:21:350;11722:2;11702:18;;;11695:30;11761:34;11741:18;;;11734:62;11832:13;11812:18;;;11805:41;11863:19;;4902:69:25;11481:407:350;4902:69:25;1065:26:24::1;4910:13:25::0;;;;;;;4902:69;;;;;;;11683:2:350;4902:69:25;;;11665:21:350;11722:2;11702:18;;;11695:30;11761:34;11741:18;;;11734:62;11832:13;11812:18;;;11805:41;11863:19;;4902:69:25;11481:407:350;4902:69:25;1176:32:24::1;929:10:32::0;1176:18:24::1;:32::i;14:186:350:-:0;104:20;;164:10;153:22;;143:33;;133:61;;190:1;187;180:12;133:61;14:186;;;:::o;205:168::-;305:42;298:5;294:54;287:5;284:65;274:93;;363:1;360;353:12;378:409;498:6;506;559:2;547:9;538:7;534:23;530:32;527:52;;;575:1;572;565:12;527:52;598:51;639:9;598:51;:::i;:::-;588:61;;699:2;688:9;684:18;671:32;712:45;751:5;712:45;:::i;:::-;776:5;766:15;;;378:409;;;;;:::o;792:238::-;881:6;934:2;922:9;913:7;909:23;905:32;902:52;;;950:1;947;940:12;902:52;973:51;1014:9;973:51;:::i;1288:306::-;1386:6;1394;1447:2;1435:9;1426:7;1422:23;1418:32;1415:52;;;1463:1;1460;1453:12;1415:52;1486:51;1527:9;1486:51;:::i;:::-;1476:61;1584:2;1569:18;;;;1556:32;;-1:-1:-1;;;1288:306:350:o;1599:374::-;1706:6;1714;1722;1775:2;1763:9;1754:7;1750:23;1746:32;1743:52;;;1791:1;1788;1781:12;1743:52;1814:51;1855:9;1814:51;:::i;:::-;1804:61;1912:2;1897:18;;1884:32;;-1:-1:-1;1963:2:350;1948:18;;;1935:32;;1599:374;-1:-1:-1;;;1599:374:350:o;1978:258::-;2050:1;2060:113;2074:6;2071:1;2068:13;2060:113;;;2150:11;;;2144:18;2131:11;;;2124:39;2096:2;2089:10;2060:113;;;2191:6;2188:1;2185:13;2182:48;;;2226:1;2217:6;2212:3;2208:16;2201:27;2182:48;;1978:258;;;:::o;2241:316::-;2282:3;2320:5;2314:12;2347:6;2342:3;2335:19;2363:63;2419:6;2412:4;2407:3;2403:14;2396:4;2389:5;2385:16;2363:63;:::i;:::-;2471:2;2459:15;2476:66;2455:88;2446:98;;;;2546:4;2442:109;;2241:316;-1:-1:-1;;2241:316:350:o;2562:1379::-;2774:4;2803:2;2843;2832:9;2828:18;2873:2;2862:9;2855:21;2896:6;2931;2925:13;2962:6;2954;2947:22;2988:2;2978:12;;3021:2;3010:9;3006:18;2999:25;;3083:2;3073:6;3070:1;3066:14;3055:9;3051:30;3047:39;3121:2;3113:6;3109:15;3142:1;3152:760;3166:6;3163:1;3160:13;3152:760;;;3231:22;;;3255:66;3227:95;3215:108;;3346:13;;3414:9;;3399:25;;3467:11;;;3461:18;3444:15;;;3437:43;3527:11;;;3521:18;3541;3517:43;3500:15;;;3493:68;3584:4;3631:11;;;3625:18;3608:15;;;3601:43;3667:4;3710:11;;;3704:18;3382:4;3742:15;;;3735:27;;;3704:18;3785:47;3816:15;;;3704:18;3785:47;:::i;:::-;3890:12;;;;3775:57;-1:-1:-1;;;3855:15:350;;;;3188:1;3181:9;3152:760;;;-1:-1:-1;3929:6:350;;2562:1379;-1:-1:-1;;;;;;;;2562:1379:350:o;4128:219::-;4277:2;4266:9;4259:21;4240:4;4297:44;4337:2;4326:9;4322:18;4314:6;4297:44;:::i;4352:812::-;4497:6;4505;4513;4521;4574:2;4562:9;4553:7;4549:23;4545:32;4542:52;;;4590:1;4587;4580:12;4542:52;4613:51;4654:9;4613:51;:::i;:::-;4603:61;;4711:2;4700:9;4696:18;4683:32;4673:42;;4766:2;4755:9;4751:18;4738:32;4789:18;4830:2;4822:6;4819:14;4816:34;;;4846:1;4843;4836:12;4816:34;4884:6;4873:9;4869:22;4859:32;;4929:7;4922:4;4918:2;4914:13;4910:27;4900:55;;4951:1;4948;4941:12;4900:55;4991:2;4978:16;5017:2;5009:6;5006:14;5003:34;;;5033:1;5030;5023:12;5003:34;5078:7;5073:2;5064:6;5060:2;5056:15;5052:24;5049:37;5046:57;;;5099:1;5096;5089:12;5046:57;4352:812;;;;-1:-1:-1;;5130:2:350;5122:11;;-1:-1:-1;;;4352:812:350:o;5987:180::-;6046:6;6099:2;6087:9;6078:7;6074:23;6070:32;6067:52;;;6115:1;6112;6105:12;6067:52;-1:-1:-1;6138:23:350;;5987:180;-1:-1:-1;5987:180:350:o;6668:261::-;6727:6;6780:2;6768:9;6759:7;6755:23;6751:32;6748:52;;;6796:1;6793;6786:12;6748:52;6835:9;6822:23;6854:45;6893:5;6854:45;:::i;6934:184::-;6986:77;6983:1;6976:88;7083:4;7080:1;7073:15;7107:4;7104:1;7097:15;7123:184;7175:77;7172:1;7165:88;7272:4;7269:1;7262:15;7296:4;7293:1;7286:15;7312:942;7391:6;7444:2;7432:9;7423:7;7419:23;7415:32;7412:52;;;7460:1;7457;7450:12;7412:52;7493:9;7487:16;7522:18;7563:2;7555:6;7552:14;7549:34;;;7579:1;7576;7569:12;7549:34;7617:6;7606:9;7602:22;7592:32;;7662:7;7655:4;7651:2;7647:13;7643:27;7633:55;;7684:1;7681;7674:12;7633:55;7713:2;7707:9;7735:2;7731;7728:10;7725:36;;;7741:18;;:::i;:::-;7875:2;7869:9;7937:4;7929:13;;7780:66;7925:22;;;7949:2;7921:31;7917:40;7905:53;;;7973:18;;;7993:22;;;7970:46;7967:72;;;8019:18;;:::i;:::-;8059:10;8055:2;8048:22;8094:2;8086:6;8079:18;8134:7;8129:2;8124;8120;8116:11;8112:20;8109:33;8106:53;;;8155:1;8152;8145:12;8106:53;8168:55;8220:2;8215;8207:6;8203:15;8198:2;8194;8190:11;8168:55;:::i;:::-;8242:6;7312:942;-1:-1:-1;;;;;;;7312:942:350:o;8259:211::-;8356:6;8409:2;8397:9;8388:7;8384:23;8380:32;8377:52;;;8425:1;8422;8415:12;8377:52;-1:-1:-1;8448:16:350;;8259:211;-1:-1:-1;8259:211:350:o;8475:279::-;8515:4;8543:1;8540;8537:8;8534:188;;;8578:77;8575:1;8568:88;8679:4;8676:1;8669:15;8707:4;8704:1;8697:15;8534:188;-1:-1:-1;8739:9:350;;8475:279::o;8987:437::-;9239:6;9234:3;9227:19;9276:6;9271:2;9266:3;9262:12;9255:28;9327:6;9319;9314:2;9309:3;9305:12;9292:42;9209:3;9357:16;;9375:2;9353:25;9387:13;;;9353:25;8987:437;-1:-1:-1;;;8987:437:350:o;9429:665::-;9710:10;9702:6;9698:23;9687:9;9680:42;9758:6;9753:2;9742:9;9738:18;9731:34;9801:2;9796;9785:9;9781:18;9774:30;9840:6;9835:2;9824:9;9820:18;9813:34;9898:6;9890;9884:3;9873:9;9869:19;9856:49;9955:1;9925:22;;;9949:3;9921:32;;;9914:43;;;;10009:2;9997:15;;;10014:66;9993:88;9978:104;9974:114;;9429:665;-1:-1:-1;;;9429:665:350:o",linkReferences:{}},methodIdentifiers:{"create(uint32,bytes32,bytes)":"82ecf2f6","findLatestGames(uint32,uint256,uint256)":"254bd683","gameAtIndex(uint256)":"bb8aa1fc","gameCount()":"4d1975b4","gameImpls(uint32)":"1b685b9e","games(uint32,bytes32,bytes)":"5f0150cb","getGameUUID(uint32,bytes32,bytes)":"96cd9720","initBonds(uint32)":"6593dc6e","initialize(address)":"c4d66de8","owner()":"8da5cb5b","renounceOwnership()":"715018a6","setImplementation(uint32,address)":"14f6b1a3","setInitBond(uint32,uint256)":"1e334240","transferOwnership(address)":"f2fde38b","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"Hash","name":"uuid","type":"bytes32"}],"name":"GameAlreadyExists","type":"error"},{"inputs":[],"name":"IncorrectBondAmount","type":"error"},{"inputs":[{"internalType":"GameType","name":"gameType","type":"uint32"}],"name":"NoImplementation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"disputeProxy","type":"address"},{"indexed":true,"internalType":"GameType","name":"gameType","type":"uint32"},{"indexed":true,"internalType":"Claim","name":"rootClaim","type":"bytes32"}],"name":"DisputeGameCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"impl","type":"address"},{"indexed":true,"internalType":"GameType","name":"gameType","type":"uint32"}],"name":"ImplementationSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"GameType","name":"gameType","type":"uint32"},{"indexed":true,"internalType":"uint256","name":"newBond","type":"uint256"}],"name":"InitBondUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_rootClaim","type":"bytes32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"create","outputs":[{"internalType":"contract IDisputeGame","name":"proxy_","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_n","type":"uint256"}],"name":"findLatestGames","outputs":[{"components":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"GameId","name":"metadata","type":"bytes32"},{"internalType":"Timestamp","name":"timestamp","type":"uint64"},{"internalType":"Claim","name":"rootClaim","type":"bytes32"},{"internalType":"bytes","name":"extraData","type":"bytes"}],"internalType":"struct IDisputeGameFactory.GameSearchResult[]","name":"games_","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"gameAtIndex","outputs":[{"internalType":"GameType","name":"gameType_","type":"uint32"},{"internalType":"Timestamp","name":"timestamp_","type":"uint64"},{"internalType":"contract IDisputeGame","name":"proxy_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameCount","outputs":[{"internalType":"uint256","name":"gameCount_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"","type":"uint32"}],"name":"gameImpls","outputs":[{"internalType":"contract IDisputeGame","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_rootClaim","type":"bytes32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"games","outputs":[{"internalType":"contract IDisputeGame","name":"proxy_","type":"address"},{"internalType":"Timestamp","name":"timestamp_","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_rootClaim","type":"bytes32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"getGameUUID","outputs":[{"internalType":"Hash","name":"uuid_","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"GameType","name":"","type":"uint32"}],"name":"initBonds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"contract IDisputeGame","name":"_impl","type":"address"}],"name":"setImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"uint256","name":"_initBond","type":"uint256"}],"name":"setInitBond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"errors":{"GameAlreadyExists(bytes32)":[{"params":{"uuid":"The UUID of the dispute game that already exists."}}],"NoImplementation(uint32)":[{"params":{"gameType":"The unsupported game type."}}]},"kind":"dev","methods":{"create(uint32,bytes32,bytes)":{"params":{"_extraData":"Any extra data that should be provided to the created dispute game.","_gameType":"The type of the DisputeGame - used to decide the proxy implementation.","_rootClaim":"The root claim of the DisputeGame."},"returns":{"proxy_":"The address of the created DisputeGame proxy."}},"findLatestGames(uint32,uint256,uint256)":{"params":{"_gameType":"The type of game to find.","_n":"The number of games to find.","_start":"The index to start the reverse search from."}},"gameAtIndex(uint256)":{"params":{"_index":"The index of the dispute game."},"returns":{"gameType_":"The type of the DisputeGame - used to decide the proxy implementation.","proxy_":"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.","timestamp_":"The timestamp of the creation of the dispute game."}},"gameCount()":{"returns":{"gameCount_":"The total number of dispute games created by this factory."}},"games(uint32,bytes32,bytes)":{"details":"`++` equates to concatenation.","params":{"_extraData":"Any extra data that should be provided to the created dispute game.","_gameType":"The type of the DisputeGame - used to decide the proxy implementation","_rootClaim":"The root claim of the DisputeGame."},"returns":{"proxy_":"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.","timestamp_":"The timestamp of the creation of the dispute game."}},"getGameUUID(uint32,bytes32,bytes)":{"details":"Hashes the concatenation of `gameType . rootClaim . extraData` without expanding memory.","params":{"_extraData":"Any extra data that should be provided to the created dispute game.","_gameType":"The type of the DisputeGame.","_rootClaim":"The root claim of the DisputeGame."},"returns":{"uuid_":"The unique identifier for the given dispute game parameters."}},"initialize(address)":{"params":{"_owner":"The owner of the contract."}},"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setImplementation(uint32,address)":{"details":"May only be called by the `owner`.","params":{"_gameType":"The type of the DisputeGame.","_impl":"The implementation contract for the given `GameType`."}},"setInitBond(uint32,uint256)":{"details":"May only be called by the `owner`.","params":{"_gameType":"The type of the DisputeGame.","_initBond":"The bond (in wei) for initializing a game type."}},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"stateVariables":{"gameImpls":{"params":{"_gameType":"The type of the dispute game."},"return":"The address of the implementation of the game type. Will be cloned on creation of a new dispute game with the given `gameType`.","returns":{"_0":"The address of the implementation of the game type. Will be cloned on creation of a new dispute game with the given `gameType`."}},"initBonds":{"params":{"_gameType":"The type of the dispute game."},"return":"The required bond for initializing a dispute game of the given type.","returns":{"_0":"The required bond for initializing a dispute game of the given type."}},"version":{"custom:semver":"0.3.0"}},"title":"DisputeGameFactory","version":1},"userdoc":{"errors":{"GameAlreadyExists(bytes32)":[{"notice":"Thrown when a dispute game that already exists is attempted to be created."}],"IncorrectBondAmount()":[{"notice":"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"NoImplementation(uint32)":[{"notice":"Thrown when a dispute game is attempted to be created with an unsupported game type."}]},"events":{"DisputeGameCreated(address,uint32,bytes32)":{"notice":"Emitted when a new dispute game is created"},"ImplementationSet(address,uint32)":{"notice":"Emitted when a new game implementation added to the factory"},"InitBondUpdated(uint32,uint256)":{"notice":"Emitted when a game type\'s initialization bond is updated"}},"kind":"user","methods":{"constructor":{"notice":"Constructs a new DisputeGameFactory contract."},"create(uint32,bytes32,bytes)":{"notice":"Creates a new DisputeGame proxy contract."},"findLatestGames(uint32,uint256,uint256)":{"notice":"Finds the `_n` most recent `GameId`\'s of type `_gameType` starting at `_start`. If there are less than `_n` games of type `_gameType` starting at `_start`, then the returned array will be shorter than `_n`."},"gameAtIndex(uint256)":{"notice":"`gameAtIndex` returns the dispute game contract address and its creation timestamp at the given index. Each created dispute game increments the underlying index."},"gameCount()":{"notice":"The total number of dispute games created by this factory."},"gameImpls(uint32)":{"notice":"`gameImpls` is a mapping that maps `GameType`s to their respective `IDisputeGame` implementations."},"games(uint32,bytes32,bytes)":{"notice":"`games` queries an internal mapping that maps the hash of `gameType ++ rootClaim ++ extraData` to the deployed `DisputeGame` clone."},"getGameUUID(uint32,bytes32,bytes)":{"notice":"Returns a unique identifier for the given dispute game parameters."},"initBonds(uint32)":{"notice":"Returns the required bonds for initializing a dispute game of the given type."},"initialize(address)":{"notice":"Initializes the contract."},"setImplementation(uint32,address)":{"notice":"Sets the implementation contract for a specific `GameType`."},"setInitBond(uint32,uint256)":{"notice":"Sets the bond (in wei) for initializing a game type."},"version()":{"notice":"Semantic version."}},"notice":"A factory contract for creating `IDisputeGame` contracts. All created dispute games are stored in both a mapping and an append only array. The timestamp of the creation time of the dispute game is packed tightly into the storage slot with the address of the dispute game to make offchain discoverability of playable dispute games easier.","version":1}},"settings":{"compilationTarget":{"src/dispute/DisputeGameFactory.sol":"DisputeGameFactory"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/clones-with-immutable-args/src/ClonesWithImmutableArgs.sol":{"keccak256":"0x220db41bfceb0146f86e9be87d3d954fd1d52eadcb3bbfc5cd89e5543a46fd1e","license":"BSD","urls":["bzz-raw://19155470db05e2e67a8c14f21cc903bb4833d8e5d248c2183073320c8a595705","dweb:/ipfs/QmTchpXE8MMH1XcYxaZvx64UiVzBatbWy7Sw5HFhVJJjxi"]},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"src/dispute/DisputeGameFactory.sol":{"keccak256":"0xa1d8ad31246172e0d1d16dcc247de1f4a68d92db34392f6b949c37e571540bc0","license":"MIT","urls":["bzz-raw://f9ea03e06d9afafcda57fb9beb590f25a59d5252ec339a1f1b2997b5a6dd3ab8","dweb:/ipfs/QmQnoyRoJzizpitL5JjBE37fr9Sm7NHhLeYTtNJt5iB6nv"]},"src/dispute/interfaces/IDisputeGame.sol":{"keccak256":"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6","license":"MIT","urls":["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"]},"src/dispute/interfaces/IDisputeGameFactory.sol":{"keccak256":"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda","license":"MIT","urls":["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"]},"src/dispute/interfaces/IInitializable.sol":{"keccak256":"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc","license":"MIT","urls":["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"]},"src/dispute/lib/LibGameId.sol":{"keccak256":"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6","license":"MIT","urls":["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"]},"src/dispute/lib/LibHashing.sol":{"keccak256":"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b","license":"MIT","urls":["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"]},"src/dispute/lib/LibPosition.sol":{"keccak256":"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504","license":"MIT","urls":["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"]},"src/dispute/lib/LibUDT.sol":{"keccak256":"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c","license":"MIT","urls":["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"]},"src/libraries/DisputeErrors.sol":{"keccak256":"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f","license":"MIT","urls":["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"]},"src/libraries/DisputeTypes.sol":{"keccak256":"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6","license":"MIT","urls":["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"Hash",name:"uuid",type:"bytes32"}],type:"error",name:"GameAlreadyExists"},{inputs:[],type:"error",name:"IncorrectBondAmount"},{inputs:[{internalType:"GameType",name:"gameType",type:"uint32"}],type:"error",name:"NoImplementation"},{inputs:[{internalType:"address",name:"disputeProxy",type:"address",indexed:!0},{internalType:"GameType",name:"gameType",type:"uint32",indexed:!0},{internalType:"Claim",name:"rootClaim",type:"bytes32",indexed:!0}],type:"event",name:"DisputeGameCreated",anonymous:!1},{inputs:[{internalType:"address",name:"impl",type:"address",indexed:!0},{internalType:"GameType",name:"gameType",type:"uint32",indexed:!0}],type:"event",name:"ImplementationSet",anonymous:!1},{inputs:[{internalType:"GameType",name:"gameType",type:"uint32",indexed:!0},{internalType:"uint256",name:"newBond",type:"uint256",indexed:!0}],type:"event",name:"InitBondUpdated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"previousOwner",type:"address",indexed:!0},{internalType:"address",name:"newOwner",type:"address",indexed:!0}],type:"event",name:"OwnershipTransferred",anonymous:!1},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_rootClaim",type:"bytes32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"create",outputs:[{internalType:"contract IDisputeGame",name:"proxy_",type:"address"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"uint256",name:"_start",type:"uint256"},{internalType:"uint256",name:"_n",type:"uint256"}],stateMutability:"view",type:"function",name:"findLatestGames",outputs:[{internalType:"struct IDisputeGameFactory.GameSearchResult[]",name:"games_",type:"tuple[]",components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"GameId",name:"metadata",type:"bytes32"},{internalType:"Timestamp",name:"timestamp",type:"uint64"},{internalType:"Claim",name:"rootClaim",type:"bytes32"},{internalType:"bytes",name:"extraData",type:"bytes"}]}]},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],stateMutability:"view",type:"function",name:"gameAtIndex",outputs:[{internalType:"GameType",name:"gameType_",type:"uint32"},{internalType:"Timestamp",name:"timestamp_",type:"uint64"},{internalType:"contract IDisputeGame",name:"proxy_",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"gameCount",outputs:[{internalType:"uint256",name:"gameCount_",type:"uint256"}]},{inputs:[{internalType:"GameType",name:"",type:"uint32"}],stateMutability:"view",type:"function",name:"gameImpls",outputs:[{internalType:"contract IDisputeGame",name:"",type:"address"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_rootClaim",type:"bytes32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"view",type:"function",name:"games",outputs:[{internalType:"contract IDisputeGame",name:"proxy_",type:"address"},{internalType:"Timestamp",name:"timestamp_",type:"uint64"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_rootClaim",type:"bytes32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"pure",type:"function",name:"getGameUUID",outputs:[{internalType:"Hash",name:"uuid_",type:"bytes32"}]},{inputs:[{internalType:"GameType",name:"",type:"uint32"}],stateMutability:"view",type:"function",name:"initBonds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"owner",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"renounceOwnership"},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"contract IDisputeGame",name:"_impl",type:"address"}],stateMutability:"nonpayable",type:"function",name:"setImplementation"},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"uint256",name:"_initBond",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"setInitBond"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],stateMutability:"nonpayable",type:"function",name:"transferOwnership"},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"create(uint32,bytes32,bytes)":{params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation.",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The address of the created DisputeGame proxy."}},"findLatestGames(uint32,uint256,uint256)":{params:{_gameType:"The type of game to find.",_n:"The number of games to find.",_start:"The index to start the reverse search from."}},"gameAtIndex(uint256)":{params:{_index:"The index of the dispute game."},returns:{gameType_:"The type of the DisputeGame - used to decide the proxy implementation.",proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"gameCount()":{returns:{gameCount_:"The total number of dispute games created by this factory."}},"games(uint32,bytes32,bytes)":{details:"`++` equates to concatenation.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"getGameUUID(uint32,bytes32,bytes)":{details:"Hashes the concatenation of `gameType . rootClaim . extraData` without expanding memory.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame.",_rootClaim:"The root claim of the DisputeGame."},returns:{uuid_:"The unique identifier for the given dispute game parameters."}},"initialize(address)":{params:{_owner:"The owner of the contract."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setImplementation(uint32,address)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_impl:"The implementation contract for the given `GameType`."}},"setInitBond(uint32,uint256)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_initBond:"The bond (in wei) for initializing a game type."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},version:1},userdoc:{kind:"user",methods:{constructor:{notice:"Constructs a new DisputeGameFactory contract."},"create(uint32,bytes32,bytes)":{notice:"Creates a new DisputeGame proxy contract."},"findLatestGames(uint32,uint256,uint256)":{notice:"Finds the `_n` most recent `GameId`'s of type `_gameType` starting at `_start`. If there are less than `_n` games of type `_gameType` starting at `_start`, then the returned array will be shorter than `_n`."},"gameAtIndex(uint256)":{notice:"`gameAtIndex` returns the dispute game contract address and its creation timestamp at the given index. Each created dispute game increments the underlying index."},"gameCount()":{notice:"The total number of dispute games created by this factory."},"gameImpls(uint32)":{notice:"`gameImpls` is a mapping that maps `GameType`s to their respective `IDisputeGame` implementations."},"games(uint32,bytes32,bytes)":{notice:"`games` queries an internal mapping that maps the hash of `gameType ++ rootClaim ++ extraData` to the deployed `DisputeGame` clone."},"getGameUUID(uint32,bytes32,bytes)":{notice:"Returns a unique identifier for the given dispute game parameters."},"initBonds(uint32)":{notice:"Returns the required bonds for initializing a dispute game of the given type."},"initialize(address)":{notice:"Initializes the contract."},"setImplementation(uint32,address)":{notice:"Sets the implementation contract for a specific `GameType`."},"setInitBond(uint32,uint256)":{notice:"Sets the bond (in wei) for initializing a game type."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/dispute/DisputeGameFactory.sol":"DisputeGameFactory"},evmVersion:"london",libraries:{}},sources:{"lib/clones-with-immutable-args/src/ClonesWithImmutableArgs.sol":{keccak256:"0x220db41bfceb0146f86e9be87d3d954fd1d52eadcb3bbfc5cd89e5543a46fd1e",urls:["bzz-raw://19155470db05e2e67a8c14f21cc903bb4833d8e5d248c2183073320c8a595705","dweb:/ipfs/QmTchpXE8MMH1XcYxaZvx64UiVzBatbWy7Sw5HFhVJJjxi"],license:"BSD"},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"src/dispute/DisputeGameFactory.sol":{keccak256:"0xa1d8ad31246172e0d1d16dcc247de1f4a68d92db34392f6b949c37e571540bc0",urls:["bzz-raw://f9ea03e06d9afafcda57fb9beb590f25a59d5252ec339a1f1b2997b5a6dd3ab8","dweb:/ipfs/QmQnoyRoJzizpitL5JjBE37fr9Sm7NHhLeYTtNJt5iB6nv"],license:"MIT"},"src/dispute/interfaces/IDisputeGame.sol":{keccak256:"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6",urls:["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"],license:"MIT"},"src/dispute/interfaces/IDisputeGameFactory.sol":{keccak256:"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda",urls:["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"],license:"MIT"},"src/dispute/interfaces/IInitializable.sol":{keccak256:"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc",urls:["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"],license:"MIT"},"src/dispute/lib/LibGameId.sol":{keccak256:"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6",urls:["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"],license:"MIT"},"src/dispute/lib/LibHashing.sol":{keccak256:"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b",urls:["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"],license:"MIT"},"src/dispute/lib/LibPosition.sol":{keccak256:"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504",urls:["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"],license:"MIT"},"src/dispute/lib/LibUDT.sol":{keccak256:"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c",urls:["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"],license:"MIT"},"src/libraries/DisputeErrors.sol":{keccak256:"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f",urls:["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"],license:"MIT"},"src/libraries/DisputeTypes.sol":{keccak256:"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6",urls:["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:45313,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:45316,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:46844,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"__gap",offset:0,slot:"1",type:"t_array(t_uint256)50_storage"},{astId:45185,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_owner",offset:0,slot:"51",type:"t_address"},{astId:45305,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"__gap",offset:0,slot:"52",type:"t_array(t_uint256)49_storage"},{astId:93883,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"gameImpls",offset:0,slot:"101",type:"t_mapping(t_userDefinedValueType(GameType)99918,t_contract(IDisputeGame)96855)"},{astId:93889,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"initBonds",offset:0,slot:"102",type:"t_mapping(t_userDefinedValueType(GameType)99918,t_uint256)"},{astId:93896,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_disputeGames",offset:0,slot:"103",type:"t_mapping(t_userDefinedValueType(Hash)99900,t_userDefinedValueType(GameId)99912)"},{astId:93901,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_disputeGameList",offset:0,slot:"104",type:"t_array(t_userDefinedValueType(GameId)99912)dyn_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},"t_array(t_uint256)50_storage":{encoding:"inplace",label:"uint256[50]",numberOfBytes:"1600",base:"t_uint256"},"t_array(t_userDefinedValueType(GameId)99912)dyn_storage":{encoding:"dynamic_array",label:"GameId[]",numberOfBytes:"32",base:"t_userDefinedValueType(GameId)99912"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},"t_contract(IDisputeGame)96855":{encoding:"inplace",label:"contract IDisputeGame",numberOfBytes:"20"},"t_mapping(t_userDefinedValueType(GameType)99918,t_contract(IDisputeGame)96855)":{encoding:"mapping",key:"t_userDefinedValueType(GameType)99918",label:"mapping(GameType => contract IDisputeGame)",numberOfBytes:"32",value:"t_contract(IDisputeGame)96855"},"t_mapping(t_userDefinedValueType(GameType)99918,t_uint256)":{encoding:"mapping",key:"t_userDefinedValueType(GameType)99918",label:"mapping(GameType => uint256)",numberOfBytes:"32",value:"t_uint256"},"t_mapping(t_userDefinedValueType(Hash)99900,t_userDefinedValueType(GameId)99912)":{encoding:"mapping",key:"t_userDefinedValueType(Hash)99900",label:"mapping(Hash => GameId)",numberOfBytes:"32",value:"t_userDefinedValueType(GameId)99912"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"},"t_userDefinedValueType(GameId)99912":{encoding:"inplace",label:"GameId",numberOfBytes:"32"},"t_userDefinedValueType(GameType)99918":{encoding:"inplace",label:"GameType",numberOfBytes:"4"},"t_userDefinedValueType(Hash)99900":{encoding:"inplace",label:"Hash",numberOfBytes:"32"}}},userdoc:{version:1,kind:"user",methods:{constructor:{notice:"Constructs a new DisputeGameFactory contract."},"create(uint32,bytes32,bytes)":{notice:"Creates a new DisputeGame proxy contract."},"findLatestGames(uint32,uint256,uint256)":{notice:"Finds the `_n` most recent `GameId`'s of type `_gameType` starting at `_start`. If there are less than `_n` games of type `_gameType` starting at `_start`, then the returned array will be shorter than `_n`."},"gameAtIndex(uint256)":{notice:"`gameAtIndex` returns the dispute game contract address and its creation timestamp at the given index. Each created dispute game increments the underlying index."},"gameCount()":{notice:"The total number of dispute games created by this factory."},"gameImpls(uint32)":{notice:"`gameImpls` is a mapping that maps `GameType`s to their respective `IDisputeGame` implementations."},"games(uint32,bytes32,bytes)":{notice:"`games` queries an internal mapping that maps the hash of `gameType ++ rootClaim ++ extraData` to the deployed `DisputeGame` clone."},"getGameUUID(uint32,bytes32,bytes)":{notice:"Returns a unique identifier for the given dispute game parameters."},"initBonds(uint32)":{notice:"Returns the required bonds for initializing a dispute game of the given type."},"initialize(address)":{notice:"Initializes the contract."},"setImplementation(uint32,address)":{notice:"Sets the implementation contract for a specific `GameType`."},"setInitBond(uint32,uint256)":{notice:"Sets the bond (in wei) for initializing a game type."},"version()":{notice:"Semantic version."}},events:{"DisputeGameCreated(address,uint32,bytes32)":{notice:"Emitted when a new dispute game is created"},"ImplementationSet(address,uint32)":{notice:"Emitted when a new game implementation added to the factory"},"InitBondUpdated(uint32,uint256)":{notice:"Emitted when a game type's initialization bond is updated"}},errors:{"GameAlreadyExists(bytes32)":[{notice:"Thrown when a dispute game that already exists is attempted to be created."}],"IncorrectBondAmount()":[{notice:"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"NoImplementation(uint32)":[{notice:"Thrown when a dispute game is attempted to be created with an unsupported game type."}]},notice:"A factory contract for creating `IDisputeGame` contracts. All created dispute games are stored in both a mapping and an append only array. The timestamp of the creation time of the dispute game is packed tightly into the storage slot with the address of the dispute game to make offchain discoverability of playable dispute games easier."},devdoc:{version:1,kind:"dev",methods:{"create(uint32,bytes32,bytes)":{params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation.",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The address of the created DisputeGame proxy."}},"findLatestGames(uint32,uint256,uint256)":{params:{_gameType:"The type of game to find.",_n:"The number of games to find.",_start:"The index to start the reverse search from."}},"gameAtIndex(uint256)":{params:{_index:"The index of the dispute game."},returns:{gameType_:"The type of the DisputeGame - used to decide the proxy implementation.",proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"gameCount()":{returns:{gameCount_:"The total number of dispute games created by this factory."}},"games(uint32,bytes32,bytes)":{details:"`++` equates to concatenation.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"getGameUUID(uint32,bytes32,bytes)":{details:"Hashes the concatenation of `gameType . rootClaim . extraData` without expanding memory.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame.",_rootClaim:"The root claim of the DisputeGame."},returns:{uuid_:"The unique identifier for the given dispute game parameters."}},"initialize(address)":{params:{_owner:"The owner of the contract."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setImplementation(uint32,address)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_impl:"The implementation contract for the given `GameType`."}},"setInitBond(uint32,uint256)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_initBond:"The bond (in wei) for initializing a game type."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},errors:{"GameAlreadyExists(bytes32)":[{params:{uuid:"The UUID of the dispute game that already exists."}}],"NoImplementation(uint32)":[{params:{gameType:"The unsupported game type."}}]},title:"DisputeGameFactory"},id:158}});var QKe=D((f6a,WHt)=>{WHt.exports={abi:[{type:"constructor",inputs:[{name:"_proofMaturityDelaySeconds",type:"uint256",internalType:"uint256"},{name:"_disputeGameFinalityDelaySeconds",type:"uint256",internalType:"uint256"},{name:"_initialRespectedGameType",type:"uint32",internalType:"GameType"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"GUARDIAN",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"SYSTEM_CONFIG",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SystemConfig"}],stateMutability:"view"},{type:"function",name:"blacklistDisputeGame",inputs:[{name:"_disputeGame",type:"address",internalType:"contract IDisputeGame"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkWithdrawal",inputs:[{name:"_withdrawalHash",type:"bytes32",internalType:"bytes32"},{name:"_proofSubmitter",type:"address",internalType:"address"}],outputs:[],stateMutability:"view"},{type:"function",name:"depositTransaction",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_gasLimit",type:"uint64",internalType:"uint64"},{name:"_isCreation",type:"bool",internalType:"bool"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"disputeGameBlacklist",inputs:[{name:"",type:"address",internalType:"contract IDisputeGame"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"disputeGameFactory",inputs:[],outputs:[{name:"",type:"address",internalType:"contract DisputeGameFactory"}],stateMutability:"view"},{type:"function",name:"disputeGameFinalityDelaySeconds",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"donateETH",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeWithdrawalTransactionExternalProof",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"_proofSubmitter",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizedWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"guardian",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_disputeGameFactory",type:"address",internalType:"contract DisputeGameFactory"},{name:"_systemConfig",type:"address",internalType:"contract SystemConfig"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l2Sender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"minimumGasLimit",inputs:[{name:"_byteCount",type:"uint64",internalType:"uint64"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"numProofSubmitters",inputs:[{name:"_withdrawalHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"params",inputs:[],outputs:[{name:"prevBaseFee",type:"uint128",internalType:"uint128"},{name:"prevBoughtGas",type:"uint64",internalType:"uint64"},{name:"prevBlockNum",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"proofMaturityDelaySeconds",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proofSubmitters",inputs:[{name:"",type:"bytes32",internalType:"bytes32"},{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"proveWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"_disputeGameIndex",type:"uint256",internalType:"uint256"},{name:"_outputRootProof",type:"tuple",internalType:"struct Types.OutputRootProof",components:[{name:"version",type:"bytes32",internalType:"bytes32"},{name:"stateRoot",type:"bytes32",internalType:"bytes32"},{name:"messagePasserStorageRoot",type:"bytes32",internalType:"bytes32"},{name:"latestBlockhash",type:"bytes32",internalType:"bytes32"}]},{name:"_withdrawalProof",type:"bytes[]",internalType:"bytes[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"provenWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"disputeGameProxy",type:"address",internalType:"contract IDisputeGame"},{name:"timestamp",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"respectedGameType",inputs:[],outputs:[{name:"",type:"uint32",internalType:"GameType"}],stateMutability:"view"},{type:"function",name:"respectedGameTypeUpdatedAt",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"setRespectedGameType",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"systemConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SystemConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"TransactionDeposited",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"version",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opaqueData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"WithdrawalFinalized",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"success",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"WithdrawalProven",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}],bytecode:{object:"0x60c06040523480156200001157600080fd5b506040516200624d3803806200624d8339810160408190526200003491620002d3565b608083905260a0829052603b805463ffffffff191663ffffffff831617905562000061600080806200006a565b50505062000317565b600054610100900460ff16158080156200008b5750600054600160ff909116105b80620000bb5750620000a8306200020560201b6200262a1760201c565b158015620000bb575060005460ff166001145b620001245760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000148576000805461ff0019166101001790555b603880546001600160a01b03199081166001600160a01b03878116919091179092556037805490911685831617905560358054610100600160a81b0319166101008584160217905560325416620001ae57603280546001600160a01b03191661dead1790555b620001b862000214565b8015620001ff576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b6001600160a01b03163b151590565b600054610100900460ff16620002815760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016200011b565b600154600160c01b90046001600160401b0316600003620002d15760408051606081018252633b9aca0080825260006020830152436001600160401b031691909201819052600160c01b02176001555b565b600080600060608486031215620002e957600080fd5b8351925060208401519150604084015163ffffffff811681146200030c57600080fd5b809150509250925092565b60805160a051615f026200034b600039600081816104ce0152611ef80152600081816106450152611b690152615f026000f3fe6080604052600436106101c65760003560e01c80637fc48504116100f7578063a3860f4811610095578063cff0ab9611610064578063cff0ab9614610689578063e9e05c421461072a578063f04987501461073d578063f2b4e6171461076857600080fd5b8063a3860f481461056f578063bb2c727e1461058f578063bf653a5c14610636578063c0c53b8b1461066957600080fd5b8063952b2797116100d1578063952b2797146104bf5780639bf62d82146104f2578063a14238e71461051f578063a35d99df1461054f57600080fd5b80637fc485041461047f5780638b4c40b0146101eb5780638c3152e91461049f57600080fd5b80634fd0434c116101645780635c975abb1161013e5780635c975abb1461041557806371c1566e1461042a578063724c184c1461044a5780637d6be8dc1461045f57600080fd5b80634fd0434c14610342578063513747ab1461038457806354fd4d50146103bf57600080fd5b806343ca1c50116101a057806343ca1c50146102ad578063452a9320146102cd57806345884d32146102e25780634870496f1461032257600080fd5b806333d7e2bd146101f257806335e80ab3146102495780633c9f397c1461027b57600080fd5b366101ed576101eb3334620186a0600060405180602001604052806000815250610795565b005b600080fd5b3480156101fe57600080fd5b5060375461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561025557600080fd5b5060355461021f90610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561028757600080fd5b50603b546102989063ffffffff1681565b60405163ffffffff9091168152602001610240565b3480156102b957600080fd5b506101eb6102c83660046153c1565b610a30565b3480156102d957600080fd5b5061021f610d0f565b3480156102ee57600080fd5b506103126102fd366004615413565b603a6020526000908152604090205460ff1681565b6040519015158152602001610240565b34801561032e57600080fd5b506101eb61033d366004615430565b610da7565b34801561034e57600080fd5b50603b5461036b90640100000000900467ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610240565b34801561039057600080fd5b506103b161039f36600461550c565b6000908152603c602052604090205490565b604051908152602001610240565b3480156103cb57600080fd5b506104086040518060400160405280600581526020017f332e352e3000000000000000000000000000000000000000000000000000000081525081565b604051610240919061559b565b34801561042157600080fd5b506103126117bb565b34801561043657600080fd5b506101eb6104453660046155ae565b61184e565b34801561045657600080fd5b5061021f6120ac565b34801561046b57600080fd5b506101eb61047a366004615413565b6120b6565b34801561048b57600080fd5b506101eb61049a3660046155e5565b6121c7565b3480156104ab57600080fd5b506101eb6104ba366004615602565b6122fd565b3480156104cb57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103b1565b3480156104fe57600080fd5b5060325461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561052b57600080fd5b5061031261053a36600461550c565b60336020526000908152604090205460ff1681565b34801561055b57600080fd5b5061036b61056a366004615655565b612379565b34801561057b57600080fd5b5061021f61058a366004615672565b612398565b34801561059b57600080fd5b506106016105aa3660046155ae565b603960209081526000928352604080842090915290825290205473ffffffffffffffffffffffffffffffffffffffff81169074010000000000000000000000000000000000000000900467ffffffffffffffff1682565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff909116602083015201610240565b34801561064257600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103b1565b34801561067557600080fd5b506101eb610684366004615694565b6123dd565b34801561069557600080fd5b506001546106f1906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff9283166020850152911690820152606001610240565b6101eb6107383660046156ed565b610795565b34801561074957600080fd5b5060375473ffffffffffffffffffffffffffffffffffffffff1661021f565b34801561077457600080fd5b5060385461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b8260005a9050831561084c5773ffffffffffffffffffffffffffffffffffffffff87161561084c57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f4f7074696d69736d506f7274616c3a206d7573742073656e6420746f2061646460448201527f72657373283029207768656e206372656174696e67206120636f6e747261637460648201526084015b60405180910390fd5b6108568351612379565b67ffffffffffffffff168567ffffffffffffffff1610156108f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4f7074696d69736d506f7274616c3a20676173206c696d697420746f6f20736d60448201527f616c6c00000000000000000000000000000000000000000000000000000000006064820152608401610843565b6201d4c083511115610967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f7074696d69736d506f7274616c3a206461746120746f6f206c6172676500006044820152606401610843565b33328114610988575033731111000000000000000000000000000000001111015b600034888888886040516020016109a395949392919061576c565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c3284604051610a13919061559b565b60405180910390a45050610a278282612646565b50505050505050565b610a386117bb565b15610a9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b60325473ffffffffffffffffffffffffffffffffffffffff1661dead14610b48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e006064820152608401610843565b6000610b5383612973565b9050610b5f818361184e565b600081815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908501516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558401516080850151606086015160a0870151610c01939291906129c0565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915082907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b90610c6690841515815260200190565b60405180910390a280158015610c7c5750326001145b15610d09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a207769746864726177616c206661696c6560448201527f64000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b50505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da291906157d1565b905090565b610daf6117bb565b15610e16576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff1603610ed5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e7472616374006064820152608401610843565b6038546040517fbb8aa1fc00000000000000000000000000000000000000000000000000000000815260048101869052600091829173ffffffffffffffffffffffffffffffffffffffff9091169063bb8aa1fc90602401606060405180830381865afa158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906157ee565b925050915060008173ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe39190615830565b603b5490915060ff84811691161461107d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b61109461108f36889003880188615849565b612a1e565b8114611122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f6600000000000000000000000000000000000000000000006064820152608401610843565b600061112d89612973565b600081815260396020908152604080832033845282529182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff8116835274010000000000000000000000000000000000000000900467ffffffffffffffff169082015290915060018473ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120391906158de565b6002811115611214576112146158af565b036112a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4f7074696d69736d506f7274616c3a2063616e6e6f742070726f76652061676160448201527f696e737420696e76616c696420646973707574652067616d65730000000000006064820152608401610843565b8051602082015167ffffffffffffffff16158061133d575060018173ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a91906158de565b600281111561133b5761133b6158af565b145b8061136d575073ffffffffffffffffffffffffffffffffffffffff81166000908152603a602052604090205460ff165b806114005750603b5463ffffffff1660ff166113fa8273ffffffffffffffffffffffffffffffffffffffff1663bbdc02db6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f191906158ff565b63ffffffff1690565b60ff1614155b6114b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152606060248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173682060448201527f68617320616c7265616479206265656e2070726f76656e2c20616e642074686560648201527f206f6c6420646973707574652067616d65206973206e6f7420696e76616c6964608482015260a401610843565b60408051602081018590526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120908301819052925061157b9101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f01000000000000000000000000000000000000000000000000000000000000006020830152906115718b8d61591c565b8d60400135612a5d565b611607576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f6600000000000000000000000000006064820152608401610843565b60405180604001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506039600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050508b6040015173ffffffffffffffffffffffffffffffffffffffff168c6020015173ffffffffffffffffffffffffffffffffffffffff16857f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f6260405160405180910390a45050506000908152603c602090815260408220805460018101825590835291200180547fffffffffffffffffffffffff000000000000000000000000000000000000000016331790555050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561182a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da291906159a0565b600082815260396020908152604080832073ffffffffffffffffffffffffffffffffffffffff85811685529083528184208251808401845290549182168082527401000000000000000000000000000000000000000090920467ffffffffffffffff1681850152818552603a90935292205490919060ff1615611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652068617360448201527f206265656e20626c61636b6c69737465640000000000000000000000000000006064820152608401610843565b816020015167ffffffffffffffff16600003611a17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e2062792070726f6f66207375626d6974746560648201527f7220616464726573732079657400000000000000000000000000000000000000608482015260a401610843565b6000611a988273ffffffffffffffffffffffffffffffffffffffff1663cf09e0d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8b91906159bd565b67ffffffffffffffff1690565b90508067ffffffffffffffff16836020015167ffffffffffffffff1611611b67576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e20646973707574652067616d65206372656160648201527f74696f6e2074696d657374616d70000000000000000000000000000000000000608482015260a401610843565b7f0000000000000000000000000000000000000000000000000000000000000000836020015167ffffffffffffffff1642611ba29190615a09565b11611c2f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c20686173206e6f74206d6174757265642079657400000000000000000000006064820152608401610843565b60028273ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca091906158de565b6002811115611cb157611cb16158af565b14611d3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f686173206e6f74206265656e2076616c696461746564000000000000000000006064820152608401610843565b603b5463ffffffff1660ff16611d988373ffffffffffffffffffffffffffffffffffffffff1663bbdc02db6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113cd573d6000803e3d6000fd5b60ff1614611e28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b603b5467ffffffffffffffff64010000000090910481169082161015611ef6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652063726560448201527f61746564206265666f7265207265737065637465642067616d6520747970652060648201527f7761732075706461746564000000000000000000000000000000000000000000608482015260a401610843565b7f0000000000000000000000000000000000000000000000000000000000000000611f658373ffffffffffffffffffffffffffffffffffffffff166319effeb46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a67573d6000803e3d6000fd5b611f799067ffffffffffffffff1642615a09565b11612006576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f696e206169722d676170000000000000000000000000000000000000000000006064820152608401610843565b60008581526033602052604090205460ff16156120a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a656400000000000000000000006064820152608401610843565b5050505050565b6000610da2610d0f565b6120be610d0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4f7074696d69736d506f7274616c3a206f6e6c7920746865206775617264696160448201527f6e2063616e20626c61636b6c69737420646973707574652067616d65730000006064820152608401610843565b73ffffffffffffffffffffffffffffffffffffffff166000908152603a6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6121cf610d0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f4f7074696d69736d506f7274616c3a206f6e6c7920746865206775617264696160448201527f6e2063616e2073657420746865207265737065637465642067616d652074797060648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610843565b603b805463ffffffff929092167fffffffffffffffffffffffffffffffffffffffff000000000000000000000000909216919091176401000000004267ffffffffffffffff1602179055565b565b6123056117bb565b1561236c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b6123768133610a30565b50565b6000612386826010615a20565b61239290615208615a50565b92915050565b603c60205281600052604060002081815481106123b457600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169150829050565b600054610100900460ff16158080156123fd5750600054600160ff909116105b806124175750303b158015612417575060005460ff166001145b6124a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610843565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561250157600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603880547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560378054909116858316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1661010085841602179055603254166125ba57603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b6125c2612a81565b8015610d0957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60015460009061267c907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1643615a09565b90506000612688612b94565b90506000816020015160ff16826000015163ffffffff166126a99190615aab565b905082156127e0576001546000906126e0908390700100000000000000000000000000000000900467ffffffffffffffff16615b13565b90506000836040015160ff16836126f79190615b87565b6001546127179084906fffffffffffffffffffffffffffffffff16615b87565b6127219190615aab565b6001549091506000906127729061274b9084906fffffffffffffffffffffffffffffffff16615c43565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff16612c55565b905060018611156127a15761279e61274b82876040015160ff1660018a6127999190615a09565b612c74565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b60018054869190601090612813908490700100000000000000000000000000000000900467ffffffffffffffff16615a50565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1613156128f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5265736f757263654d65746572696e673a2063616e6e6f7420627579206d6f7260448201527f6520676173207468616e20617661696c61626c6520676173206c696d697400006064820152608401610843565b600154600090612922906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816615cb7565b9050600061293448633b9aca00612cc9565b61293e9083615cf4565b905060005a61294d9088615a09565b905080821115612969576129696129648284615a09565b612ce0565b5050505050505050565b80516020808301516040808501516060860151608087015160a088015193516000976129a3979096959101615d08565b604051602081830303815290604052805190602001209050919050565b60008060006129d0866000612d0e565b905080612a06576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600081600001518260200151836040015184606001516040516020016129a3949392919093845260208401929092526040830152606082015260800190565b600080612a6986612d2c565b9050612a7781868686612d5e565b9695505050505050565b600054610100900460ff16612b18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610843565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff166000036122fb5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015612c31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da29190615d75565b6000612c6a612c648585612d8e565b83612d9e565b90505b9392505050565b6000670de0b6b3a7640000612cb5612c8c8583615aab565b612c9e90670de0b6b3a7640000615b13565b612cb085670de0b6b3a7640000615b87565b612dad565b612cbf9086615b87565b612c6a9190615aab565b600081831015612cd95781612c6d565b5090919050565b6000805a90505b825a612cf39083615a09565b1015612d0957612d0282615e31565b9150612ce7565b505050565b600080603f83619c4001026040850201603f5a021015949350505050565b60608180519060200120604051602001612d4891815260200190565b6040516020818303038152906040529050919050565b6000612d8584612d6f878686612dde565b8051602091820120825192909101919091201490565b95945050505050565b600081831215612cd95781612c6d565b6000818312612cd95781612c6d565b6000612c6d670de0b6b3a764000083612dc58661385c565b612dcf9190615b87565b612dd99190615aab565b613aa0565b60606000845111612e4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b657900000000000000000000006044820152606401610843565b6000612e5684613cdf565b90506000612e6386613dcb565b9050600084604051602001612e7a91815260200190565b60405160208183030381529060405290506000805b84518110156137d3576000858281518110612eac57612eac615e69565b602002602001015190508451831115612f47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e6774680000000000000000000000000000000000006064820152608401610843565b826000036130005780518051602091820120604051612f9592612f6f92910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b612ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f7420686173680000006044820152606401610843565b613157565b8051516020116130b6578051805160209182012060405161302a92612f6f92910190815260200190565b612ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c2068617368000000000000000000000000000000000000000000000000006064820152608401610843565b805184516020808701919091208251919092012014613157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f65206861736800000000000000000000000000000000000000000000000000006064820152608401610843565b61316360106001615e98565b8160200151510361333f57845183036132d75761319d816020015160108151811061319057613190615e69565b6020026020010151613e2e565b96506000875111613230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e63682900000000006064820152608401610843565b6001865161323e9190615a09565b82146132cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e6368290000000000006064820152608401610843565b505050505050612c6d565b60008584815181106132eb576132eb615e69565b602001015160f81c60f81b60f81c9050600082602001518260ff168151811061331657613316615e69565b6020026020010151905061332981613f8e565b9550613336600186615e98565b945050506137c0565b60028160200151510361373857600061335782613fb3565b905060008160008151811061336e5761336e615e69565b016020015160f81c90506000613385600283615eb0565b613390906002615ed2565b905060006133a1848360ff16613fd7565b905060006133af8a89613fd7565b905060006133bd838361400d565b90508083511461344f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b65790000000000006064820152608401610843565b60ff851660021480613464575060ff85166003145b1561365357808251146134f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e6465720000006064820152608401610843565b613513876020015160018151811061319057613190615e69565b9c5060008d51116135a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c65616629000000000000006064820152608401610843565b60018c516135b49190615a09565b8814613642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c6561662900000000000000006064820152608401610843565b505050505050505050505050612c6d565b60ff85161580613666575060ff85166001145b156136a557613692876020015160018151811061368557613685615e69565b6020026020010151613f8e565b995061369e818a615e98565b985061372d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e2070726566697800000000000000000000000000006064820152608401610843565b5050505050506137c0565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f64650000000000000000000000000000000000000000000000006064820152608401610843565b50806137cb81615e31565b915050612e8f565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e74730000000000000000000000000000000000000000000000000000006064820152608401610843565b60008082136138c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610843565b600060606138d4846140c1565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c18213613ad157506000919050565b680755bf798b4a1bf1e58212613b43576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f5700000000000000000000000000000000000000006044820152606401610843565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff811115613cfd57613cfd6151e4565b604051908082528060200260200182016040528015613d4257816020015b6040805180820190915260608082526020820152815260200190600190039081613d1b5790505b50915060005b81811015613dc4576040518060400160405280858381518110613d6d57613d6d615e69565b60200260200101518152602001613d9c868481518110613d8f57613d8f615e69565b6020026020010151614197565b815250838281518110613db157613db1615e69565b6020908102919091010152600101613d48565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613e23578060011b82018184015160001a8060041c8253600f811660018301535050600101613df5565b509295945050505050565b60606000806000613e3e856141aa565b919450925090506000816001811115613e5957613e596158af565b14613ee6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d000000000000006064820152608401610843565b613ef08284615e98565b855114613f7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e6465720000000000000000000000006064820152608401610843565b612d8585602001518484614c17565b60606020826000015110613faa57613fa582613e2e565b612392565b61239282614cab565b6060612392613fd2836020015160008151811061319057613190615e69565b613dcb565b606082518210613ff65750604080516020810190915260008152612392565b612c6d83838486516140089190615a09565b614cc1565b6000808251845110614020578251614023565b83515b90505b80821080156140aa575082828151811061404257614042615e69565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191684838151811061408157614081615e69565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156140ba57816001019150614026565b5092915050565b600080821161412c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610843565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b60606123926141a583614e99565b614f82565b600080600080846000015111614268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610843565b6020840151805160001a607f811161428d576000600160009450945094505050614c10565b60b7811161449b5760006142a2608083615a09565b90508087600001511161435d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a401610843565b6001838101517fff000000000000000000000000000000000000000000000000000000000000001690821415806143d657507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b614488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a401610843565b5060019550935060009250614c10915050565b60bf81116147e95760006144b060b783615a09565b90508087600001511161456b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a401610843565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a401610843565b600184015160088302610100031c6037811161470d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a401610843565b6147178184615e98565b8951116147cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a401610843565b6147d7836001615e98565b9750955060009450614c109350505050565b60f781116148ca5760006147fe60c083615a09565b9050808760000151116148b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a401610843565b600195509350849250614c10915050565b60006148d760f783615a09565b905080876000015111614992576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a401610843565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614a70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a401610843565b600184015160088302610100031c60378111614b34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a401610843565b614b3e8184615e98565b895111614bf3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a401610843565b614bfe836001615e98565b9750955060019450614c109350505050565b9193909250565b60608167ffffffffffffffff811115614c3257614c326151e4565b6040519080825280601f01601f191660200182016040528015614c5c576020820181803683370190505b5090508115612c6d576000614c718486615e98565b90506020820160005b84811015614c92578281015182820152602001614c7a565b84811115614ca1576000858301525b5050509392505050565b6060612392826020015160008460000151614c17565b60608182601f011015614d30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610843565b828284011015614d9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610843565b81830184511015614e09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610843565b606082158015614e285760405191506000825260208201604052614e90565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015614e61578051835260209283019201614e49565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b60408051808201909152600080825260208201526000825111614f64576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610843565b50604080518082019091528151815260209182019181019190915290565b60606000806000614f92856141aa565b919450925090506001816001811115614fad57614fad6158af565b1461503a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d00000000000000006064820152608401610843565b84516150468385615e98565b146150d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e64657200000000000000000000000000006064820152608401610843565b604080516020808252610420820190925290816020015b60408051808201909152600080825260208201528152602001906001900390816150ea5790505093506000835b86518110156151d85760008061515d6040518060400160405280858c600001516151419190615a09565b8152602001858c602001516151569190615e98565b90526141aa565b5091509150604051806040016040528083836151799190615e98565b8152602001848b6020015161518e9190615e98565b8152508885815181106151a3576151a3615e69565b60209081029190910101526151b9600185615e98565b93506151c58183615e98565b6151cf9084615e98565b92505050615117565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561525a5761525a6151e4565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461237657600080fd5b600082601f83011261529557600080fd5b813567ffffffffffffffff8111156152af576152af6151e4565b6152e060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601615213565b8181528460208386010111156152f557600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561532457600080fd5b60405160c0810167ffffffffffffffff8282108183111715615348576153486151e4565b81604052829350843583526020850135915061536382615262565b8160208401526040850135915061537982615262565b816040840152606085013560608401526080850135608084015260a08501359150808211156153a757600080fd5b506153b485828601615284565b60a0830152505092915050565b600080604083850312156153d457600080fd5b823567ffffffffffffffff8111156153eb57600080fd5b6153f785828601615312565b925050602083013561540881615262565b809150509250929050565b60006020828403121561542557600080fd5b8135612c6d81615262565b600080600080600085870360e081121561544957600080fd5b863567ffffffffffffffff8082111561546157600080fd5b61546d8a838b01615312565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0840112156154a657600080fd5b60408901955060c08901359250808311156154c057600080fd5b828901925089601f8401126154d457600080fd5b82359150808211156154e557600080fd5b508860208260051b84010111156154fb57600080fd5b959894975092955050506020019190565b60006020828403121561551e57600080fd5b5035919050565b60005b83811015615540578181015183820152602001615528565b83811115610d095750506000910152565b60008151808452615569816020860160208601615525565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000612c6d6020830184615551565b600080604083850312156155c157600080fd5b82359150602083013561540881615262565b63ffffffff8116811461237657600080fd5b6000602082840312156155f757600080fd5b8135612c6d816155d3565b60006020828403121561561457600080fd5b813567ffffffffffffffff81111561562b57600080fd5b61563784828501615312565b949350505050565b67ffffffffffffffff8116811461237657600080fd5b60006020828403121561566757600080fd5b8135612c6d8161563f565b6000806040838503121561568557600080fd5b50508035926020909101359150565b6000806000606084860312156156a957600080fd5b83356156b481615262565b925060208401356156c481615262565b915060408401356156d481615262565b809150509250925092565b801515811461237657600080fd5b600080600080600060a0868803121561570557600080fd5b853561571081615262565b94506020860135935060408601356157278161563f565b92506060860135615737816156df565b9150608086013567ffffffffffffffff81111561575357600080fd5b61575f88828901615284565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b6048820152600082516157c0816049850160208701615525565b919091016049019695505050505050565b6000602082840312156157e357600080fd5b8151612c6d81615262565b60008060006060848603121561580357600080fd5b835161580e816155d3565b602085015190935061581f8161563f565b60408501519092506156d481615262565b60006020828403121561584257600080fd5b5051919050565b60006080828403121561585b57600080fd5b6040516080810181811067ffffffffffffffff8211171561587e5761587e6151e4565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000602082840312156158f057600080fd5b815160038110612c6d57600080fd5b60006020828403121561591157600080fd5b8151612c6d816155d3565b600067ffffffffffffffff80841115615937576159376151e4565b8360051b6020615948818301615213565b86815291850191818101903684111561596057600080fd5b865b848110156159945780358681111561597a5760008081fd5b61598636828b01615284565b845250918301918301615962565b50979650505050505050565b6000602082840312156159b257600080fd5b8151612c6d816156df565b6000602082840312156159cf57600080fd5b8151612c6d8161563f565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015615a1b57615a1b6159da565b500390565b600067ffffffffffffffff80831681851681830481118215151615615a4757615a476159da565b02949350505050565b600067ffffffffffffffff808316818516808303821115615a7357615a736159da565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082615aba57615aba615a7c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615615b0e57615b0e6159da565b500590565b6000808312837f800000000000000000000000000000000000000000000000000000000000000001831281151615615b4d57615b4d6159da565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018313811615615b8157615b816159da565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600084136000841385830485118282161615615bc857615bc86159da565b7f80000000000000000000000000000000000000000000000000000000000000006000871286820588128184161615615c0357615c036159da565b60008712925087820587128484161615615c1f57615c1f6159da565b87850587128184161615615c3557615c356159da565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03841381151615615c7d57615c7d6159da565b827f8000000000000000000000000000000000000000000000000000000000000000038412811615615cb157615cb16159da565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615cef57615cef6159da565b500290565b600082615d0357615d03615a7c565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152615d5360c0830184615551565b98975050505050505050565b805160ff81168114615d7057600080fd5b919050565b600060c08284031215615d8757600080fd5b60405160c0810181811067ffffffffffffffff82111715615daa57615daa6151e4565b6040528251615db8816155d3565b8152615dc660208401615d5f565b6020820152615dd760408401615d5f565b60408201526060830151615dea816155d3565b60608201526080830151615dfd816155d3565b608082015260a08301516fffffffffffffffffffffffffffffffff81168114615e2557600080fd5b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615e6257615e626159da565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115615eab57615eab6159da565b500190565b600060ff831680615ec357615ec3615a7c565b8060ff84160691505092915050565b600060ff821660ff841680821015615eec57615eec6159da565b9003939250505056fea164736f6c634300080f000a",sourceMap:"1269:25082:131:-:0;;;5955:577;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6121:57;;;;6188:70;;;;6268:17;:45;;-1:-1:-1;;6268:45:131;;;;;;;6324:201;-1:-1:-1;;;6324:10:131;:201::i;:::-;5955:577;;;1269:25082;;6764:469;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;654:2:350;3146:190:41;;;636:21:350;693:2;673:18;;;666:30;732:34;712:18;;;705:62;-1:-1:-1;;;783:18:350;;;776:44;837:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;6967:18:131::1;:40:::0;;-1:-1:-1;;;;;;6967:40:131;;::::1;-1:-1:-1::0;;;;;6967:40:131;;::::1;::::0;;;::::1;::::0;;;7017:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;7055:16:::1;:36:::0;;-1:-1:-1;;;;;;7055:36:131::1;6967:40;7055:36:::0;;::::1;;;::::0;;7105:8:::1;::::0;::::1;7101:91;;7143:8;:38:::0;;-1:-1:-1;;;;;;7143:38:131::1;1338:42:188;7143:38:131;::::0;;7101:91:::1;7201:25;:23;:25::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;1019:36:350;;3531:14:41;;1007:2:350;992:18;3531:14:41;;;;;;;3457:99;3090:472;6764:469:131;;;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;8309:234:133:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;1268:2:350;4880:69:41;;;1250:21:350;1307:2;1287:18;;;1280:30;1346:34;1326:18;;;1319:62;-1:-1:-1;;;1397:18:350;;;1390:41;1448:19;;4880:69:41;1066:407:350;4880:69:41;8384:6:133::1;:19:::0;-1:-1:-1;;;8384:19:133;::::1;-1:-1:-1::0;;;;;8384:19:133::1;;:24:::0;8380:157:::1;;8433:93;::::0;;::::1;::::0;::::1;::::0;;8463:6:::1;8433:93:::0;;;-1:-1:-1;8433:93:133::1;::::0;::::1;::::0;8510:12:::1;-1:-1:-1::0;;;;;8433:93:133::1;::::0;;;;;;;-1:-1:-1;;;8424:102:133::1;;:6;:102:::0;8380:157:::1;8309:234::o:0;14:433:350:-;132:6;140;148;201:2;189:9;180:7;176:23;172:32;169:52;;;217:1;214;207:12;169:52;246:9;240:16;230:26;;296:2;285:9;281:18;275:25;265:35;;343:2;332:9;328:18;322:25;387:10;380:5;376:22;369:5;366:33;356:61;;413:1;410;403:12;356:61;436:5;426:15;;;14:433;;;;;:::o;1066:407::-;1269:25082:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101c65760003560e01c80637fc48504116100f7578063a3860f4811610095578063cff0ab9611610064578063cff0ab9614610689578063e9e05c421461072a578063f04987501461073d578063f2b4e6171461076857600080fd5b8063a3860f481461056f578063bb2c727e1461058f578063bf653a5c14610636578063c0c53b8b1461066957600080fd5b8063952b2797116100d1578063952b2797146104bf5780639bf62d82146104f2578063a14238e71461051f578063a35d99df1461054f57600080fd5b80637fc485041461047f5780638b4c40b0146101eb5780638c3152e91461049f57600080fd5b80634fd0434c116101645780635c975abb1161013e5780635c975abb1461041557806371c1566e1461042a578063724c184c1461044a5780637d6be8dc1461045f57600080fd5b80634fd0434c14610342578063513747ab1461038457806354fd4d50146103bf57600080fd5b806343ca1c50116101a057806343ca1c50146102ad578063452a9320146102cd57806345884d32146102e25780634870496f1461032257600080fd5b806333d7e2bd146101f257806335e80ab3146102495780633c9f397c1461027b57600080fd5b366101ed576101eb3334620186a0600060405180602001604052806000815250610795565b005b600080fd5b3480156101fe57600080fd5b5060375461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561025557600080fd5b5060355461021f90610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561028757600080fd5b50603b546102989063ffffffff1681565b60405163ffffffff9091168152602001610240565b3480156102b957600080fd5b506101eb6102c83660046153c1565b610a30565b3480156102d957600080fd5b5061021f610d0f565b3480156102ee57600080fd5b506103126102fd366004615413565b603a6020526000908152604090205460ff1681565b6040519015158152602001610240565b34801561032e57600080fd5b506101eb61033d366004615430565b610da7565b34801561034e57600080fd5b50603b5461036b90640100000000900467ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610240565b34801561039057600080fd5b506103b161039f36600461550c565b6000908152603c602052604090205490565b604051908152602001610240565b3480156103cb57600080fd5b506104086040518060400160405280600581526020017f332e352e3000000000000000000000000000000000000000000000000000000081525081565b604051610240919061559b565b34801561042157600080fd5b506103126117bb565b34801561043657600080fd5b506101eb6104453660046155ae565b61184e565b34801561045657600080fd5b5061021f6120ac565b34801561046b57600080fd5b506101eb61047a366004615413565b6120b6565b34801561048b57600080fd5b506101eb61049a3660046155e5565b6121c7565b3480156104ab57600080fd5b506101eb6104ba366004615602565b6122fd565b3480156104cb57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103b1565b3480156104fe57600080fd5b5060325461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561052b57600080fd5b5061031261053a36600461550c565b60336020526000908152604090205460ff1681565b34801561055b57600080fd5b5061036b61056a366004615655565b612379565b34801561057b57600080fd5b5061021f61058a366004615672565b612398565b34801561059b57600080fd5b506106016105aa3660046155ae565b603960209081526000928352604080842090915290825290205473ffffffffffffffffffffffffffffffffffffffff81169074010000000000000000000000000000000000000000900467ffffffffffffffff1682565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff909116602083015201610240565b34801561064257600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103b1565b34801561067557600080fd5b506101eb610684366004615694565b6123dd565b34801561069557600080fd5b506001546106f1906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff9283166020850152911690820152606001610240565b6101eb6107383660046156ed565b610795565b34801561074957600080fd5b5060375473ffffffffffffffffffffffffffffffffffffffff1661021f565b34801561077457600080fd5b5060385461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b8260005a9050831561084c5773ffffffffffffffffffffffffffffffffffffffff87161561084c57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f4f7074696d69736d506f7274616c3a206d7573742073656e6420746f2061646460448201527f72657373283029207768656e206372656174696e67206120636f6e747261637460648201526084015b60405180910390fd5b6108568351612379565b67ffffffffffffffff168567ffffffffffffffff1610156108f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4f7074696d69736d506f7274616c3a20676173206c696d697420746f6f20736d60448201527f616c6c00000000000000000000000000000000000000000000000000000000006064820152608401610843565b6201d4c083511115610967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f7074696d69736d506f7274616c3a206461746120746f6f206c6172676500006044820152606401610843565b33328114610988575033731111000000000000000000000000000000001111015b600034888888886040516020016109a395949392919061576c565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c3284604051610a13919061559b565b60405180910390a45050610a278282612646565b50505050505050565b610a386117bb565b15610a9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b60325473ffffffffffffffffffffffffffffffffffffffff1661dead14610b48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e006064820152608401610843565b6000610b5383612973565b9050610b5f818361184e565b600081815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908501516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558401516080850151606086015160a0870151610c01939291906129c0565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915082907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b90610c6690841515815260200190565b60405180910390a280158015610c7c5750326001145b15610d09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a207769746864726177616c206661696c6560448201527f64000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b50505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da291906157d1565b905090565b610daf6117bb565b15610e16576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff1603610ed5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e7472616374006064820152608401610843565b6038546040517fbb8aa1fc00000000000000000000000000000000000000000000000000000000815260048101869052600091829173ffffffffffffffffffffffffffffffffffffffff9091169063bb8aa1fc90602401606060405180830381865afa158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906157ee565b925050915060008173ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe39190615830565b603b5490915060ff84811691161461107d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b61109461108f36889003880188615849565b612a1e565b8114611122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f6600000000000000000000000000000000000000000000006064820152608401610843565b600061112d89612973565b600081815260396020908152604080832033845282529182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff8116835274010000000000000000000000000000000000000000900467ffffffffffffffff169082015290915060018473ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120391906158de565b6002811115611214576112146158af565b036112a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4f7074696d69736d506f7274616c3a2063616e6e6f742070726f76652061676160448201527f696e737420696e76616c696420646973707574652067616d65730000000000006064820152608401610843565b8051602082015167ffffffffffffffff16158061133d575060018173ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a91906158de565b600281111561133b5761133b6158af565b145b8061136d575073ffffffffffffffffffffffffffffffffffffffff81166000908152603a602052604090205460ff165b806114005750603b5463ffffffff1660ff166113fa8273ffffffffffffffffffffffffffffffffffffffff1663bbdc02db6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f191906158ff565b63ffffffff1690565b60ff1614155b6114b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152606060248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173682060448201527f68617320616c7265616479206265656e2070726f76656e2c20616e642074686560648201527f206f6c6420646973707574652067616d65206973206e6f7420696e76616c6964608482015260a401610843565b60408051602081018590526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120908301819052925061157b9101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f01000000000000000000000000000000000000000000000000000000000000006020830152906115718b8d61591c565b8d60400135612a5d565b611607576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f6600000000000000000000000000006064820152608401610843565b60405180604001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506039600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050508b6040015173ffffffffffffffffffffffffffffffffffffffff168c6020015173ffffffffffffffffffffffffffffffffffffffff16857f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f6260405160405180910390a45050506000908152603c602090815260408220805460018101825590835291200180547fffffffffffffffffffffffff000000000000000000000000000000000000000016331790555050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561182a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da291906159a0565b600082815260396020908152604080832073ffffffffffffffffffffffffffffffffffffffff85811685529083528184208251808401845290549182168082527401000000000000000000000000000000000000000090920467ffffffffffffffff1681850152818552603a90935292205490919060ff1615611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652068617360448201527f206265656e20626c61636b6c69737465640000000000000000000000000000006064820152608401610843565b816020015167ffffffffffffffff16600003611a17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e2062792070726f6f66207375626d6974746560648201527f7220616464726573732079657400000000000000000000000000000000000000608482015260a401610843565b6000611a988273ffffffffffffffffffffffffffffffffffffffff1663cf09e0d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8b91906159bd565b67ffffffffffffffff1690565b90508067ffffffffffffffff16836020015167ffffffffffffffff1611611b67576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e20646973707574652067616d65206372656160648201527f74696f6e2074696d657374616d70000000000000000000000000000000000000608482015260a401610843565b7f0000000000000000000000000000000000000000000000000000000000000000836020015167ffffffffffffffff1642611ba29190615a09565b11611c2f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c20686173206e6f74206d6174757265642079657400000000000000000000006064820152608401610843565b60028273ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca091906158de565b6002811115611cb157611cb16158af565b14611d3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f686173206e6f74206265656e2076616c696461746564000000000000000000006064820152608401610843565b603b5463ffffffff1660ff16611d988373ffffffffffffffffffffffffffffffffffffffff1663bbdc02db6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113cd573d6000803e3d6000fd5b60ff1614611e28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b603b5467ffffffffffffffff64010000000090910481169082161015611ef6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652063726560448201527f61746564206265666f7265207265737065637465642067616d6520747970652060648201527f7761732075706461746564000000000000000000000000000000000000000000608482015260a401610843565b7f0000000000000000000000000000000000000000000000000000000000000000611f658373ffffffffffffffffffffffffffffffffffffffff166319effeb46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a67573d6000803e3d6000fd5b611f799067ffffffffffffffff1642615a09565b11612006576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f696e206169722d676170000000000000000000000000000000000000000000006064820152608401610843565b60008581526033602052604090205460ff16156120a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a656400000000000000000000006064820152608401610843565b5050505050565b6000610da2610d0f565b6120be610d0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4f7074696d69736d506f7274616c3a206f6e6c7920746865206775617264696160448201527f6e2063616e20626c61636b6c69737420646973707574652067616d65730000006064820152608401610843565b73ffffffffffffffffffffffffffffffffffffffff166000908152603a6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6121cf610d0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f4f7074696d69736d506f7274616c3a206f6e6c7920746865206775617264696160448201527f6e2063616e2073657420746865207265737065637465642067616d652074797060648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610843565b603b805463ffffffff929092167fffffffffffffffffffffffffffffffffffffffff000000000000000000000000909216919091176401000000004267ffffffffffffffff1602179055565b565b6123056117bb565b1561236c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b6123768133610a30565b50565b6000612386826010615a20565b61239290615208615a50565b92915050565b603c60205281600052604060002081815481106123b457600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169150829050565b600054610100900460ff16158080156123fd5750600054600160ff909116105b806124175750303b158015612417575060005460ff166001145b6124a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610843565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561250157600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603880547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560378054909116858316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1661010085841602179055603254166125ba57603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b6125c2612a81565b8015610d0957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60015460009061267c907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1643615a09565b90506000612688612b94565b90506000816020015160ff16826000015163ffffffff166126a99190615aab565b905082156127e0576001546000906126e0908390700100000000000000000000000000000000900467ffffffffffffffff16615b13565b90506000836040015160ff16836126f79190615b87565b6001546127179084906fffffffffffffffffffffffffffffffff16615b87565b6127219190615aab565b6001549091506000906127729061274b9084906fffffffffffffffffffffffffffffffff16615c43565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff16612c55565b905060018611156127a15761279e61274b82876040015160ff1660018a6127999190615a09565b612c74565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b60018054869190601090612813908490700100000000000000000000000000000000900467ffffffffffffffff16615a50565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1613156128f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5265736f757263654d65746572696e673a2063616e6e6f7420627579206d6f7260448201527f6520676173207468616e20617661696c61626c6520676173206c696d697400006064820152608401610843565b600154600090612922906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816615cb7565b9050600061293448633b9aca00612cc9565b61293e9083615cf4565b905060005a61294d9088615a09565b905080821115612969576129696129648284615a09565b612ce0565b5050505050505050565b80516020808301516040808501516060860151608087015160a088015193516000976129a3979096959101615d08565b604051602081830303815290604052805190602001209050919050565b60008060006129d0866000612d0e565b905080612a06576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600081600001518260200151836040015184606001516040516020016129a3949392919093845260208401929092526040830152606082015260800190565b600080612a6986612d2c565b9050612a7781868686612d5e565b9695505050505050565b600054610100900460ff16612b18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610843565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff166000036122fb5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015612c31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da29190615d75565b6000612c6a612c648585612d8e565b83612d9e565b90505b9392505050565b6000670de0b6b3a7640000612cb5612c8c8583615aab565b612c9e90670de0b6b3a7640000615b13565b612cb085670de0b6b3a7640000615b87565b612dad565b612cbf9086615b87565b612c6a9190615aab565b600081831015612cd95781612c6d565b5090919050565b6000805a90505b825a612cf39083615a09565b1015612d0957612d0282615e31565b9150612ce7565b505050565b600080603f83619c4001026040850201603f5a021015949350505050565b60608180519060200120604051602001612d4891815260200190565b6040516020818303038152906040529050919050565b6000612d8584612d6f878686612dde565b8051602091820120825192909101919091201490565b95945050505050565b600081831215612cd95781612c6d565b6000818312612cd95781612c6d565b6000612c6d670de0b6b3a764000083612dc58661385c565b612dcf9190615b87565b612dd99190615aab565b613aa0565b60606000845111612e4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b657900000000000000000000006044820152606401610843565b6000612e5684613cdf565b90506000612e6386613dcb565b9050600084604051602001612e7a91815260200190565b60405160208183030381529060405290506000805b84518110156137d3576000858281518110612eac57612eac615e69565b602002602001015190508451831115612f47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e6774680000000000000000000000000000000000006064820152608401610843565b826000036130005780518051602091820120604051612f9592612f6f92910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b612ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f7420686173680000006044820152606401610843565b613157565b8051516020116130b6578051805160209182012060405161302a92612f6f92910190815260200190565b612ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c2068617368000000000000000000000000000000000000000000000000006064820152608401610843565b805184516020808701919091208251919092012014613157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f65206861736800000000000000000000000000000000000000000000000000006064820152608401610843565b61316360106001615e98565b8160200151510361333f57845183036132d75761319d816020015160108151811061319057613190615e69565b6020026020010151613e2e565b96506000875111613230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e63682900000000006064820152608401610843565b6001865161323e9190615a09565b82146132cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e6368290000000000006064820152608401610843565b505050505050612c6d565b60008584815181106132eb576132eb615e69565b602001015160f81c60f81b60f81c9050600082602001518260ff168151811061331657613316615e69565b6020026020010151905061332981613f8e565b9550613336600186615e98565b945050506137c0565b60028160200151510361373857600061335782613fb3565b905060008160008151811061336e5761336e615e69565b016020015160f81c90506000613385600283615eb0565b613390906002615ed2565b905060006133a1848360ff16613fd7565b905060006133af8a89613fd7565b905060006133bd838361400d565b90508083511461344f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b65790000000000006064820152608401610843565b60ff851660021480613464575060ff85166003145b1561365357808251146134f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e6465720000006064820152608401610843565b613513876020015160018151811061319057613190615e69565b9c5060008d51116135a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c65616629000000000000006064820152608401610843565b60018c516135b49190615a09565b8814613642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c6561662900000000000000006064820152608401610843565b505050505050505050505050612c6d565b60ff85161580613666575060ff85166001145b156136a557613692876020015160018151811061368557613685615e69565b6020026020010151613f8e565b995061369e818a615e98565b985061372d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e2070726566697800000000000000000000000000006064820152608401610843565b5050505050506137c0565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f64650000000000000000000000000000000000000000000000006064820152608401610843565b50806137cb81615e31565b915050612e8f565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e74730000000000000000000000000000000000000000000000000000006064820152608401610843565b60008082136138c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610843565b600060606138d4846140c1565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c18213613ad157506000919050565b680755bf798b4a1bf1e58212613b43576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f5700000000000000000000000000000000000000006044820152606401610843565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff811115613cfd57613cfd6151e4565b604051908082528060200260200182016040528015613d4257816020015b6040805180820190915260608082526020820152815260200190600190039081613d1b5790505b50915060005b81811015613dc4576040518060400160405280858381518110613d6d57613d6d615e69565b60200260200101518152602001613d9c868481518110613d8f57613d8f615e69565b6020026020010151614197565b815250838281518110613db157613db1615e69565b6020908102919091010152600101613d48565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613e23578060011b82018184015160001a8060041c8253600f811660018301535050600101613df5565b509295945050505050565b60606000806000613e3e856141aa565b919450925090506000816001811115613e5957613e596158af565b14613ee6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d000000000000006064820152608401610843565b613ef08284615e98565b855114613f7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e6465720000000000000000000000006064820152608401610843565b612d8585602001518484614c17565b60606020826000015110613faa57613fa582613e2e565b612392565b61239282614cab565b6060612392613fd2836020015160008151811061319057613190615e69565b613dcb565b606082518210613ff65750604080516020810190915260008152612392565b612c6d83838486516140089190615a09565b614cc1565b6000808251845110614020578251614023565b83515b90505b80821080156140aa575082828151811061404257614042615e69565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191684838151811061408157614081615e69565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156140ba57816001019150614026565b5092915050565b600080821161412c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610843565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b60606123926141a583614e99565b614f82565b600080600080846000015111614268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610843565b6020840151805160001a607f811161428d576000600160009450945094505050614c10565b60b7811161449b5760006142a2608083615a09565b90508087600001511161435d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a401610843565b6001838101517fff000000000000000000000000000000000000000000000000000000000000001690821415806143d657507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b614488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a401610843565b5060019550935060009250614c10915050565b60bf81116147e95760006144b060b783615a09565b90508087600001511161456b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a401610843565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a401610843565b600184015160088302610100031c6037811161470d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a401610843565b6147178184615e98565b8951116147cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a401610843565b6147d7836001615e98565b9750955060009450614c109350505050565b60f781116148ca5760006147fe60c083615a09565b9050808760000151116148b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a401610843565b600195509350849250614c10915050565b60006148d760f783615a09565b905080876000015111614992576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a401610843565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614a70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a401610843565b600184015160088302610100031c60378111614b34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a401610843565b614b3e8184615e98565b895111614bf3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a401610843565b614bfe836001615e98565b9750955060019450614c109350505050565b9193909250565b60608167ffffffffffffffff811115614c3257614c326151e4565b6040519080825280601f01601f191660200182016040528015614c5c576020820181803683370190505b5090508115612c6d576000614c718486615e98565b90506020820160005b84811015614c92578281015182820152602001614c7a565b84811115614ca1576000858301525b5050509392505050565b6060612392826020015160008460000151614c17565b60608182601f011015614d30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610843565b828284011015614d9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610843565b81830184511015614e09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610843565b606082158015614e285760405191506000825260208201604052614e90565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015614e61578051835260209283019201614e49565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b60408051808201909152600080825260208201526000825111614f64576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610843565b50604080518082019091528151815260209182019181019190915290565b60606000806000614f92856141aa565b919450925090506001816001811115614fad57614fad6158af565b1461503a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d00000000000000006064820152608401610843565b84516150468385615e98565b146150d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e64657200000000000000000000000000006064820152608401610843565b604080516020808252610420820190925290816020015b60408051808201909152600080825260208201528152602001906001900390816150ea5790505093506000835b86518110156151d85760008061515d6040518060400160405280858c600001516151419190615a09565b8152602001858c602001516151569190615e98565b90526141aa565b5091509150604051806040016040528083836151799190615e98565b8152602001848b6020015161518e9190615e98565b8152508885815181106151a3576151a3615e69565b60209081029190910101526151b9600185615e98565b93506151c58183615e98565b6151cf9084615e98565b92505050615117565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561525a5761525a6151e4565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461237657600080fd5b600082601f83011261529557600080fd5b813567ffffffffffffffff8111156152af576152af6151e4565b6152e060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601615213565b8181528460208386010111156152f557600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561532457600080fd5b60405160c0810167ffffffffffffffff8282108183111715615348576153486151e4565b81604052829350843583526020850135915061536382615262565b8160208401526040850135915061537982615262565b816040840152606085013560608401526080850135608084015260a08501359150808211156153a757600080fd5b506153b485828601615284565b60a0830152505092915050565b600080604083850312156153d457600080fd5b823567ffffffffffffffff8111156153eb57600080fd5b6153f785828601615312565b925050602083013561540881615262565b809150509250929050565b60006020828403121561542557600080fd5b8135612c6d81615262565b600080600080600085870360e081121561544957600080fd5b863567ffffffffffffffff8082111561546157600080fd5b61546d8a838b01615312565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0840112156154a657600080fd5b60408901955060c08901359250808311156154c057600080fd5b828901925089601f8401126154d457600080fd5b82359150808211156154e557600080fd5b508860208260051b84010111156154fb57600080fd5b959894975092955050506020019190565b60006020828403121561551e57600080fd5b5035919050565b60005b83811015615540578181015183820152602001615528565b83811115610d095750506000910152565b60008151808452615569816020860160208601615525565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000612c6d6020830184615551565b600080604083850312156155c157600080fd5b82359150602083013561540881615262565b63ffffffff8116811461237657600080fd5b6000602082840312156155f757600080fd5b8135612c6d816155d3565b60006020828403121561561457600080fd5b813567ffffffffffffffff81111561562b57600080fd5b61563784828501615312565b949350505050565b67ffffffffffffffff8116811461237657600080fd5b60006020828403121561566757600080fd5b8135612c6d8161563f565b6000806040838503121561568557600080fd5b50508035926020909101359150565b6000806000606084860312156156a957600080fd5b83356156b481615262565b925060208401356156c481615262565b915060408401356156d481615262565b809150509250925092565b801515811461237657600080fd5b600080600080600060a0868803121561570557600080fd5b853561571081615262565b94506020860135935060408601356157278161563f565b92506060860135615737816156df565b9150608086013567ffffffffffffffff81111561575357600080fd5b61575f88828901615284565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b6048820152600082516157c0816049850160208701615525565b919091016049019695505050505050565b6000602082840312156157e357600080fd5b8151612c6d81615262565b60008060006060848603121561580357600080fd5b835161580e816155d3565b602085015190935061581f8161563f565b60408501519092506156d481615262565b60006020828403121561584257600080fd5b5051919050565b60006080828403121561585b57600080fd5b6040516080810181811067ffffffffffffffff8211171561587e5761587e6151e4565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000602082840312156158f057600080fd5b815160038110612c6d57600080fd5b60006020828403121561591157600080fd5b8151612c6d816155d3565b600067ffffffffffffffff80841115615937576159376151e4565b8360051b6020615948818301615213565b86815291850191818101903684111561596057600080fd5b865b848110156159945780358681111561597a5760008081fd5b61598636828b01615284565b845250918301918301615962565b50979650505050505050565b6000602082840312156159b257600080fd5b8151612c6d816156df565b6000602082840312156159cf57600080fd5b8151612c6d8161563f565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015615a1b57615a1b6159da565b500390565b600067ffffffffffffffff80831681851681830481118215151615615a4757615a476159da565b02949350505050565b600067ffffffffffffffff808316818516808303821115615a7357615a736159da565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082615aba57615aba615a7c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615615b0e57615b0e6159da565b500590565b6000808312837f800000000000000000000000000000000000000000000000000000000000000001831281151615615b4d57615b4d6159da565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018313811615615b8157615b816159da565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600084136000841385830485118282161615615bc857615bc86159da565b7f80000000000000000000000000000000000000000000000000000000000000006000871286820588128184161615615c0357615c036159da565b60008712925087820587128484161615615c1f57615c1f6159da565b87850587128184161615615c3557615c356159da565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03841381151615615c7d57615c7d6159da565b827f8000000000000000000000000000000000000000000000000000000000000000038412811615615cb157615cb16159da565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615cef57615cef6159da565b500290565b600082615d0357615d03615a7c565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152615d5360c0830184615551565b98975050505050505050565b805160ff81168114615d7057600080fd5b919050565b600060c08284031215615d8757600080fd5b60405160c0810181811067ffffffffffffffff82111715615daa57615daa6151e4565b6040528251615db8816155d3565b8152615dc660208401615d5f565b6020820152615dd760408401615d5f565b60408201526060830151615dea816155d3565b60608201526080830151615dfd816155d3565b608082015260a08301516fffffffffffffffffffffffffffffffff81168114615e2557600080fd5b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615e6257615e626159da565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115615eab57615eab6159da565b500190565b600060ff831680615ec357615ec3615a7c565b8060ff84160691505092915050565b600060ff821660ff841680821015615eec57615eec6159da565b9003939250505056fea164736f6c634300080f000a",sourceMap:"1269:25082:131:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9861:86;9880:10;9892:9;2311:7;9930:5;9937:9;;;;;;;;;;;;9861:18;:86::i;:::-;1269:25082;;;;;3402:32;;;;;;;;;;-1:-1:-1;3402:32:131;;;;;;;;;;;212:42:350;200:55;;;182:74;;170:2;155:18;3402:32:131;;;;;;;;3115:40;;;;;;;;;;-1:-1:-1;3115:40:131;;;;;;;;;;;4000:33;;;;;;;;;;-1:-1:-1;4000:33:131;;;;;;;;;;;729:10:350;717:23;;;699:42;;687:2;672:18;4000:33:131;524:223:350;16081:2424:131;;;;;;;;;;-1:-1:-1;16081:2424:131;;;;;:::i;:::-;;:::i;8201:101::-;;;;;;;;;;;;;:::i;3851:57::-;;;;;;;;;;-1:-1:-1;3851:57:131;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4255:14:350;;4248:22;4230:41;;4218:2;4203:18;3851:57:131;4090:187:350;11063:4516:131;;;;;;;;;;-1:-1:-1;11063:4516:131;;;;;:::i;:::-;;:::i;4121:40::-;;;;;;;;;;-1:-1:-1;4121:40:131;;;;;;;;;;;;;;5636:18:350;5624:31;;;5606:50;;5594:2;5579:18;4121:40:131;5462:200:350;26201:148:131;;;;;;;;;;-1:-1:-1;26201:148:131;;;;;:::i;:::-;26277:7;26303:32;;;:15;:32;;;;;:39;;26201:148;;;;5998:25:350;;;5986:2;5971:18;26201:148:131;5852:177:350;:40:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;8362:94::-;;;;;;;;;;;;;:::i;22468:3510::-;;;;;;;;;;-1:-1:-1;22468:3510:131;;;;;:::i;:::-;;:::i;7862:86::-;;;;;;;;;;;;;:::i;21385:232::-;;;;;;;;;;-1:-1:-1;21385:232:131;;;;;:::i;:::-;;:::i;21864:279::-;;;;;;;;;;-1:-1:-1;21864:279:131;;;;;:::i;:::-;;:::i;15692:178::-;;;;;;;;;;-1:-1:-1;15692:178:131;;;;;:::i;:::-;;:::i;8700:132::-;;;;;;;;;;-1:-1:-1;8790:35:131;8700:132;;2574:23;;;;;;;;;;-1:-1:-1;2574:23:131;;;;;;;;2688:52;;;;;;;;;;-1:-1:-1;2688:52:131;;;;;:::i;:::-;;;;;;;;;;;;;;;;9325:120;;;;;;;;;;-1:-1:-1;9325:120:131;;;;;:::i;:::-;;:::i;4274:52::-;;;;;;;;;;-1:-1:-1;4274:52:131;;;;;:::i;:::-;;:::i;3671:81::-;;;;;;;;;;-1:-1:-1;3671:81:131;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8858:42:350;8846:55;;;8828:74;;8950:18;8938:31;;;8933:2;8918:18;;8911:59;8801:18;3671:81:131;8634:342:350;8515:119:131;;;;;;;;;;-1:-1:-1;8599:28:131;8515:119;;6764:469;;;;;;;;;;-1:-1:-1;6764:469:131;;;;;:::i;:::-;;:::i;2999:28:133:-;;;;;;;;;;-1:-1:-1;2999:28:133;;;;;;;;;;;;;;;;;;;;;;;;;9819:34:350;9807:47;;;9789:66;;9874:18;9928:15;;;9923:2;9908:18;;9901:43;9980:15;;9960:18;;;9953:43;9777:2;9762:18;2999:28:133;9591:411:350;19235:1971:131;;;;;;:::i;:::-;;:::i;7511:98::-;;;;;;;;;;-1:-1:-1;7590:12:131;;;;7511:98;;3525:44;;;;;;;;;;-1:-1:-1;3525:44:131;;;;;;;;19235:1971;19441:9;3417:18:133;3438:9;3417:30;;19595:11:131::1;19591:136;;;19630:17;::::0;::::1;::::0;19622:94:::1;;;::::0;;::::1;::::0;;11395:2:350;19622:94:131::1;::::0;::::1;11377:21:350::0;11414:18;;;11407:30;;;;11473:34;11453:18;;;11446:62;11544:34;11524:18;;;11517:62;11596:19;;19622:94:131::1;;;;;;;;;19895:37;19918:5;:12;19895:15;:37::i;:::-;19882:50;;:9;:50;;;;19874:98;;;::::0;::::1;::::0;;11828:2:350;19874:98:131::1;::::0;::::1;11810:21:350::0;11867:2;11847:18;;;11840:30;11906:34;11886:18;;;11879:62;11977:5;11957:18;;;11950:33;12000:19;;19874:98:131::1;11626:399:350::0;19874:98:131::1;20367:7;20351:5;:12;:23;;20343:66;;;::::0;::::1;::::0;;12232:2:350;20343:66:131::1;::::0;::::1;12214:21:350::0;12271:2;12251:18;;;12244:30;12310:32;12290:18;;;12283:60;12360:18;;20343:66:131::1;12030:354:350::0;20343:66:131::1;20515:10;20553:9;20539:23:::0;::::1;20535:108;;-1:-1:-1::0;20621:10:131::1;741:42:232::0;1213:27;20535:108:131::1;20900:23;20943:9;20954:6;20962:9;20973:11;20986:5;20926:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20900:92;;2161:1;21166:3;21139:60;;21160:4;21139:60;;;21188:10;21139:60;;;;;;:::i;:::-;;;;;;;;19456:1750;;3548:29:133::0;3557:7;3566:10;3548:8;:29::i;:::-;3339:245;19235:1971:131;;;;;;:::o;16081:2424::-;5730:8;:6;:8::i;:::-;5729:9;5721:44;;;;;;;13461:2:350;5721:44:131;;;13443:21:350;13500:2;13480:18;;;13473:30;13539:24;13519:18;;;13512:52;13581:18;;5721:44:131;13259:346:350;5721:44:131;16527:8:::1;::::0;:39:::1;:8;1338:42:188;16527:39:131;16506:137;;;::::0;::::1;::::0;;13812:2:350;16506:137:131::1;::::0;::::1;13794:21:350::0;13851:2;13831:18;;;13824:30;13890:34;13870:18;;;13863:62;13961:33;13941:18;;;13934:61;14012:19;;16506:137:131::1;13610:427:350::0;16506:137:131::1;16694:22;16719:27;16742:3;16719:22;:27::i;:::-;16694:52;;16812:48;16828:14;16844:15;16812;:48::i;:::-;16940:36;::::0;;;:20:::1;:36;::::0;;;;;;;:43;;;::::1;16979:4;16940:43;::::0;;17088:10;;::::1;::::0;17077:8:::1;:21:::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;17757:10;::::1;::::0;17769:12:::1;::::0;::::1;::::0;17783:9:::1;::::0;::::1;::::0;17794:8:::1;::::0;::::1;::::0;17733:70:::1;::::0;17757:10;17769:12;17783:9;17733:23:::1;:70::i;:::-;17871:8;:38:::0;;;::::1;1338:42:188;17871:38:131;::::0;;18068:44:::1;::::0;17718:85;;-1:-1:-1;18088:14:131;;18068:44:::1;::::0;::::1;::::0;17718:85;4255:14:350;4248:22;4230:41;;4218:2;4203:18;;4090:187;18068:44:131::1;;;;;;;;18377:7;18376:8;:53;;;;-1:-1:-1::0;18388:9:131::1;1016:1:188;18388:41:131;18376:53;18372:127;;;18445:43;::::0;::::1;::::0;;14244:2:350;18445:43:131::1;::::0;::::1;14226:21:350::0;14283:2;14263:18;;;14256:30;14322:34;14302:18;;;14295:62;14393:3;14373:18;;;14366:31;14414:19;;18445:43:131::1;14042:397:350::0;18372:127:131::1;16261:2244;;16081:2424:::0;;:::o;8201:101::-;8242:7;8268:16;;;;;;;;;;;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8261:34;;8201:101;:::o;11063:4516::-;5730:8;:6;:8::i;:::-;5729:9;5721:44;;;;;;;13461:2:350;5721:44:131;;;13443:21:350;13500:2;13480:18;;;13473:30;13539:24;13519:18;;;13512:52;13581:18;;5721:44:131;13259:346:350;5721:44:131;11598:4:::1;11576:27;;:3;:10;;;:27;;::::0;11568:103:::1;;;::::0;::::1;::::0;;14902:2:350;11568:103:131::1;::::0;::::1;14884:21:350::0;14941:2;14921:18;;;14914:30;14980:34;14960:18;;;14953:62;15051:33;15031:18;;;15024:61;15102:19;;11568:103:131::1;14700:427:350::0;11568:103:131::1;11809:18;::::0;:49:::1;::::0;;;;::::1;::::0;::::1;5998:25:350::0;;;11763:17:131::1;::::0;;;11809:18:::1;::::0;;::::1;::::0;:30:::1;::::0;5971:18:350;;11809:49:131::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11762:96;;;;;11868:16;11887:9;:19;;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12023:17;::::0;11868:40;;-1:-1:-1;12005:41:131::1;::::0;;;;;::::1;11997:87;;;::::0;::::1;::::0;;16178:2:350;11997:87:131::1;::::0;::::1;16160:21:350::0;16217:2;16197:18;;;16190:30;16256:34;16236:18;;;16229:62;16327:3;16307:18;;;16300:31;16348:19;;11997:87:131::1;15976:397:350::0;11997:87:131::1;12224:45;;;::::0;;::::1;::::0;::::1;12252:16:::0;12224:45:::1;:::i;:::-;:27;:45::i;:::-;12204:10:::0;:65:::1;12183:153;;;::::0;::::1;::::0;;17233:2:350;12183:153:131::1;::::0;::::1;17215:21:350::0;17272:2;17252:18;;;17245:30;17311:34;17291:18;;;17284:62;17382:11;17362:18;;;17355:39;17411:19;;12183:153:131::1;17031:405:350::0;12183:153:131::1;12447:22;12472:27;12495:3;12472:22;:27::i;:::-;12509:40;12552:33:::0;;;:17:::1;:33;::::0;;;;;;;12586:10:::1;12552:45:::0;;;;;;;;12509:88;;;;::::1;::::0;;;;12552:45:::1;12509:88:::0;::::1;::::0;;;;::::1;;;::::0;;::::1;::::0;12552:33;;-1:-1:-1;12509:88:131;12769:9:::1;:16;;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:48;;;;;;;;:::i;:::-;::::0;12748:153:::1;;;::::0;::::1;::::0;;18113:2:350;12748:153:131::1;::::0;::::1;18095:21:350::0;18152:2;18132:18;;;18125:30;18191:34;18171:18;;;18164:62;18262:28;18242:18;;;18235:56;18308:19;;12748:153:131::1;17911:422:350::0;12748:153:131::1;13463:33:::0;;13527:26:::1;::::0;::::1;::::0;:31:::1;;::::0;;:81:::1;;-1:-1:-1::0;13582:26:131::1;13562:7;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;;;;;;;;:::i;:::-;;13527:81;:130;;;-1:-1:-1::0;13628:29:131::1;::::0;::::1;;::::0;;;:20:::1;:29;::::0;;;;;::::1;;13527:130;:185;;;-1:-1:-1::0;13689:17:131::1;::::0;::::1;;13661:51;;:24;:7;:16;;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:22;;5035:9:172::0;4916:144;13661:24:131::1;:51;;;;13527:185;13506:328;;;::::0;::::1;::::0;;18848:2:350;13506:328:131::1;::::0;::::1;18830:21:350::0;18887:2;18867:18;;;18860:30;18926:34;18906:18;;;18899:62;18997:34;18977:18;;;18970:62;19069:34;19048:19;;;19041:63;19121:19;;13506:328:131::1;18646:500:350::0;13506:328:131::1;14114:147;::::0;;::::1;::::0;::::1;19325:25:350::0;;;14070:18:131::1;19366::350::0;;;19359:34;;;19298:18;;14114:147:131::1;::::0;;;;;::::1;::::0;;;;;;14091:180;;14114:147:::1;14091:180:::0;;::::1;::::0;14679:22;;::::1;5998:25:350::0;;;14091:180:131;-1:-1:-1;14624:161:131::1;::::0;5971:18:350;14679:22:131::1;::::0;;;;;::::1;::::0;;;14624:161;;::::1;::::0;;;::::1;::::0;;::::1;14679:22;14624:161:::0;::::1;::::0;14679:22;14624:161:::1;14712:16:::0;;14624:161:::1;:::i;:::-;14730:16;:41;;;14624:37;:161::i;:::-;14603:258;;;::::0;::::1;::::0;;20727:2:350;14603:258:131::1;::::0;::::1;20709:21:350::0;20766:2;20746:18;;;20739:30;20805:34;20785:18;;;20778:62;20876:20;20856:18;;;20849:48;20914:19;;14603:258:131::1;20525:414:350::0;14603:258:131::1;15219:85;;;;;;;;15256:9;15219:85;;;;;;15285:15;15219:85;;;;::::0;15159:17:::1;:33;15177:14;15159:33;;;;;;;;;;;:45;15193:10;15159:45;;;;;;;;;;;;;;;:145;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15409:3;:10;;;15364:56;;15397:3;:10;;;15364:56;;15381:14;15364:56;;;;;;;;;;-1:-1:-1::0;;;15524:31:131::1;::::0;;;:15:::1;:31;::::0;;;;;;:48;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;;::::1;15561:10;15524:48;::::0;;-1:-1:-1;;;;;;;;11063:4516:131:o;8362:94::-;8401:4;8424:16;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;22468:3510::-;22565:40;22608:34;;;:17;:34;;;;;;;;:51;;;;;;;;;;;;22565:94;;;;;;;;;;;;;;;;;;;;;;;;;22807:38;;;:20;:38;;;;;;22565:94;;;22807:38;;22806:39;22798:101;;;;;;;21396:2:350;22798:101:131;;;21378:21:350;21435:2;21415:18;;;21408:30;21474:34;21454:18;;;21447:62;21545:19;21525:18;;;21518:47;21582:19;;22798:101:131;21194:413:350;22798:101:131;23162:16;:26;;;:31;;23192:1;23162:31;23141:155;;;;;;;21814:2:350;23141:155:131;;;21796:21:350;21853:2;21833:18;;;21826:30;21892:34;21872:18;;;21865:62;21963:34;21943:18;;;21936:62;22035:15;22014:19;;;22007:44;22068:19;;23141:155:131;21612:481:350;23141:155:131;23307:16;23326:34;:16;:26;;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:32;;5035:9:172;4916:144;23326:34:131;23307:53;;23674:9;23645:38;;:16;:26;;;:38;;;23624:163;;;;;;;22586:2:350;23624:163:131;;;22568:21:350;22625:2;22605:18;;;22598:30;22664:34;22644:18;;;22637:62;22735:34;22715:18;;;22708:62;22807:16;22786:19;;;22779:45;22841:19;;23624:163:131;22384:482:350;23624:163:131;23966:28;23937:16;:26;;;23919:44;;:15;:44;;;;:::i;:::-;:75;23898:175;;;;;;;23392:2:350;23898:175:131;;;23374:21:350;23431:2;23411:18;;;23404:30;23470:34;23450:18;;;23443:62;23541:23;23521:18;;;23514:51;23582:19;;23898:175:131;23190:417:350;23898:175:131;24406:24;24377:16;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;;;;;:::i;:::-;;24356:154;;;;;;;23814:2:350;24356:154:131;;;23796:21:350;23853:2;23833:18;;;23826:30;23892:34;23872:18;;;23865:62;23963:24;23943:18;;;23936:52;24005:19;;24356:154:131;23612:418:350;24356:154:131;24820:17;;;;24783:60;;:33;:16;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:33;:60;;;24775:106;;;;;;;16178:2:350;24775:106:131;;;16160:21:350;16217:2;16197:18;;;16190:30;16256:34;16236:18;;;16229:62;16327:3;16307:18;;;16300:31;16348:19;;24775:106:131;15976:397:350;24775:106:131;25156:26;;;;;;;;;25143:39;;;;;25122:161;;;;;;;24237:2:350;25122:161:131;;;24219:21:350;24276:2;24256:18;;;24249:30;24315:34;24295:18;;;24288:62;24386:34;24366:18;;;24359:62;24458:13;24437:19;;;24430:42;24489:19;;25122:161:131;24035:479:350;25122:161:131;25656:35;25618;:16;:27;;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:35;25600:53;;;;:15;:53;:::i;:::-;:91;25579:180;;;;;;;24721:2:350;25579:180:131;;;24703:21:350;24760:2;24740:18;;;24733:30;24799:34;24779:18;;;24772:62;24870:12;24850:18;;;24843:40;24900:19;;25579:180:131;24519:406:350;25579:180:131;25876:37;;;;:20;:37;;;;;;;;25875:38;25867:104;;;;;;;25132:2:350;25867:104:131;;;25114:21:350;25171:2;25151:18;;;25144:30;25210:34;25190:18;;;25183:62;25281:23;25261:18;;;25254:51;25322:19;;25867:104:131;24930:417:350;25867:104:131;22555:3423;;;22468:3510;;:::o;7862:86::-;7905:7;7931:10;:8;:10::i;21385:232::-;21483:10;:8;:10::i;:::-;21469:24;;:10;:24;;;21461:98;;;;;;;25554:2:350;21461:98:131;;;25536:21:350;25593:2;25573:18;;;25566:30;25632:34;25612:18;;;25605:62;25703:31;25683:18;;;25676:59;25752:19;;21461:98:131;25352:425:350;21461:98:131;21569:34;;;;;;:20;:34;;;;;:41;;;;21606:4;21569:41;;;21385:232::o;21864:279::-;21955:10;:8;:10::i;:::-;21941:24;;:10;:24;;;21933:102;;;;;;;25984:2:350;21933:102:131;;;25966:21:350;26023:2;26003:18;;;25996:30;26062:34;26042:18;;;26035:62;26133:34;26113:18;;;26106:62;26205:3;26184:19;;;26177:32;26226:19;;21933:102:131;25782:469:350;21933:102:131;22045:17;:29;;;;;;;22084:52;;;;;;;;;22120:15;22084:52;;;;;;21864:279::o;10168:77::-;:::o;15692:178::-;5730:8;:6;:8::i;:::-;5729:9;5721:44;;;;;;;13461:2:350;5721:44:131;;;13443:21:350;13500:2;13480:18;;;13473:30;13539:24;13519:18;;;13512:52;13581:18;;5721:44:131;13259:346:350;5721:44:131;15804:59:::1;15847:3;15852:10;15804:42;:59::i;:::-;15692:178:::0;:::o;9325:120::-;9390:6;9415:15;:10;9428:2;9415:15;:::i;:::-;:23;;9433:5;9415:23;:::i;:::-;9408:30;9325:120;-1:-1:-1;;9325:120:131:o;4274:52::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4274:52:131;;-1:-1:-1;4274:52:131:o;6764:469::-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;26974:2:350;3146:190:41;;;26956:21:350;27013:2;26993:18;;;26986:30;27052:34;27032:18;;;27025:62;27123:16;27103:18;;;27096:44;27157:19;;3146:190:41;26772:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;6967:18:131::1;:40:::0;;;;;::::1;;::::0;;::::1;::::0;;;::::1;::::0;;;7017:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;7055:16:::1;:36:::0;;;::::1;6967:40;7055:36:::0;;::::1;;;::::0;;7105:8:::1;::::0;::::1;7101:91;;7143:8;:38:::0;;;::::1;1338:42:188;7143:38:131;::::0;;7101:91:::1;7201:25;:23;:25::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;27339:36:350;;3531:14:41;;27327:2:350;27312:18;3531:14:41;;;;;;;3090:472;6764:469:131;;;:::o;1175:320:57:-;1465:19;;;:23;;;1175:320::o;3817:4037:133:-;3984:6;:19;3949:17;;3969:34;;3984:19;;;;;3969:12;:34;:::i;:::-;3949:54;;4014:28;4045:17;:15;:17::i;:::-;4014:48;;4072:26;4171:6;:27;;;4163:36;;4128:6;:23;;;4120:32;;4113:87;;;;:::i;:::-;4072:128;-1:-1:-1;4215:13:133;;4211:2229;;4572:6;:20;4535:19;;4557:59;;4597:19;;4572:20;;;;;4557:59;:::i;:::-;4535:81;;4630:19;4761:6;:34;;;4753:43;;4724:19;:73;;;;:::i;:::-;4668:6;:18;4653:50;;4691:12;;4668:18;;4653:50;:::i;:::-;4652:146;;;;:::i;:::-;5017:6;:18;4630:168;;-1:-1:-1;4939:17:133;;4959:232;;5002:50;;4630:168;;5017:18;;5002:50;:::i;:::-;5091:6;:21;;;5083:30;;5153:6;:21;;;5145:30;;4959:16;:232::i;:::-;4939:252;;5468:1;5456:9;:13;5452:741;;;5741:437;5788:239;5845:10;5910:6;:34;;;5902:43;;6002:1;5990:9;:13;;;;:::i;:::-;5788:16;:239::i;5741:437::-;5728:450;;5452:741;6286:49;;6387:42;6349:24;6416:12;6387:42;;;6286:6;6387:42;-1:-1:-1;;4211:2229:133;6534:6;:31;;6558:7;;6534:6;:20;;:31;;6558:7;;6534:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6652:6;:23;;;6644:32;;6611:6;:20;;;;;;;;;;;;6603:29;;6596:81;;6575:190;;;;;;;29496:2:350;6575:190:133;;;29478:21:350;29535:2;29515:18;;;29508:30;29574:34;29554:18;;;29547:62;29645:32;29625:18;;;29618:60;29695:19;;6575:190:133;29294:426:350;6575:190:133;6877:6;:18;6827:20;;6850:46;;6877:18;;6850:16;;;:46;:::i;:::-;6827:69;;7378:15;7411:31;7420:13;7435:6;7411:8;:31::i;:::-;7396:46;;:12;:46;:::i;:::-;7378:64;;7722:15;7754:9;7740:23;;:11;:23;:::i;:::-;7722:41;;7787:7;7777;:17;7773:75;;;7810:27;7819:17;7829:7;7819;:17;:::i;:::-;7810:8;:27::i;:::-;3881:3973;;;;;;3817:4037;;:::o;4456:211:192:-;4590:9;;4601:10;;;;;4613;;;;;4625:9;;;;4636:12;;;;4650:8;;;;4579:80;;4543:7;;4579:80;;4590:9;;4601:10;4650:8;4579:80;;:::i;:::-;;;;;;;;;;;;;4569:91;;;;;;4562:98;;4456:211;;;:::o;4419:2320:195:-;4589:4;4609:13;4632:15;4650:21;4660:7;4669:1;4650:9;:21::i;:::-;4632:39;;4782:10;4772:1146;;4894:10;4891:1;4884:21;5009:2;5005;4998:14;5747:56;5743:2;5736:68;5900:3;5896:2;5889:15;4772:1146;6666:4;6630;6589:9;6583:16;6549:2;6538:9;6534:18;6491:6;6449:7;6415:5;6389:309;6361:337;4419:2320;-1:-1:-1;;;;;;;4419:2320:195:o;4961:384:192:-;5060:7;5137:16;:24;;;5179:16;:26;;;5223:16;:41;;;5282:16;:32;;;5109:219;;;;;;;;;;30975:25:350;;;31031:2;31016:18;;31009:34;;;;31074:2;31059:18;;31052:34;31117:2;31102:18;;31095:34;30962:3;30947:19;;30744:391;1041:343:201;1234:11;1261:16;1280:19;1294:4;1280:13;:19::i;:::-;1261:38;;1318:59;1350:3;1355:6;1363;1371:5;1318:31;:59::i;:::-;1309:68;1041:343;-1:-1:-1;;;;;;1041:343:201:o;8309:234:133:-;4888:13:41;;;;;;;4880:69;;;;;;;31342:2:350;4880:69:41;;;31324:21:350;31381:2;31361:18;;;31354:30;31420:34;31400:18;;;31393:62;31491:13;31471:18;;;31464:41;31522:19;;4880:69:41;31140:407:350;4880:69:41;8384:6:133::1;:19:::0;;;::::1;;;;:24:::0;8380:157:::1;;8433:93;::::0;;::::1;::::0;::::1;::::0;;8463:6:::1;8433:93:::0;;;-1:-1:-1;8433:93:133::1;::::0;::::1;::::0;8510:12:::1;8433:93;;::::0;;;;;;;8424:102;::::1;;:6;:102:::0;8309:234::o;10494:152:131:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10610:12:131;;:29;;;;;;;-1:-1:-1;;10610:12:131;;;;;:27;;:29;;;;;-1:-1:-1;;10610:29:131;;;;;;:12;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;537:161:184:-;616:6;641:50;656:28;671:6;679:4;656:14;:28::i;:::-;686:4;641:14;:50::i;:::-;634:57;;537:161;;;;;;:::o;1040:228::-;1138:6;1257:4;1180:72;1213:19;1220:12;1257:4;1213:19;:::i;:::-;1205:28;;:4;:28;:::i;:::-;1235:16;:9;1247:4;1235:16;:::i;:::-;1180:24;:72::i;:::-;1164:89;;:12;:89;:::i;:::-;1163:98;;;;:::i;413:105:67:-;471:7;502:1;497;:6;;:14;;510:1;497:14;;;-1:-1:-1;506:1:67;;490:21;-1:-1:-1;413:105:67:o;407:192:185:-;461:9;484:18;505:9;484:30;;524:69;556:7;544:9;531:22;;:10;:22;:::i;:::-;:32;524:69;;;579:3;;;:::i;:::-;;;524:69;;;451:148;;407:192;:::o;3615:365:195:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:195:o;2052:142:201:-;2116:18;2181:4;2171:15;;;;;;2154:33;;;;;;33254:19:350;;33298:2;33289:12;;33125:182;2154:33:201;;;;;;;;;;;;;2146:41;;2052:142;;;:::o;2253:281:200:-;2446:11;2482:45;2494:6;2502:24;2506:4;2512:6;2520:5;2502:3;:24::i;:::-;6693:17:186;;;;;;;6672;;;;;;;;;;:38;;6569:148;2482:45:200;2473:54;2253:281;-1:-1:-1;;;;;2253:281:200:o;311:102:69:-;367:6;397:1;392;:6;;:14;;405:1;392:14;;491:101;547:6;576:1;572;:5;:13;;584:1;572:13;;1208:273:102;1267:6;1391:36;491:4;1410:1;1399:8;1405:1;1399:5;:8::i;:::-;:12;;;;:::i;:::-;1398:28;;;;:::i;:::-;1391:6;:36::i;2830:6314:200:-;2923:19;2976:1;2962:4;:11;:15;2954:49;;;;;;;33514:2:350;2954:49:200;;;33496:21:350;33553:2;33533:18;;;33526:30;33592:23;33572:18;;;33565:51;33633:18;;2954:49:200;33312:345:350;2954:49:200;3014:23;3040:19;3052:6;3040:11;:19::i;:::-;3014:45;;3069:16;3088:21;3104:4;3088:15;:21::i;:::-;3069:40;;3119:26;3165:5;3148:23;;;;;;33254:19:350;;33298:2;33289:12;;33125:182;3148:23:200;;;;;;;;;;;;;3119:52;;3181:23;3295:9;3290:5790;3314:5;:12;3310:1;:16;3290:5790;;;3347:27;3377:5;3383:1;3377:8;;;;;;;;:::i;:::-;;;;;;;3347:38;;3516:3;:10;3497:15;:29;;3489:88;;;;;;;34053:2:350;3489:88:200;;;34035:21:350;34092:2;34072:18;;;34065:30;34131:34;34111:18;;;34104:62;34202:16;34182:18;;;34175:44;34236:19;;3489:88:200;33851:410:350;3489:88:200;3596:15;3615:1;3596:20;3592:837;;3768:19;;3758:30;;;;;;;3741:48;;3729:76;;3741:48;;3758:30;3741:48;33254:19:350;;;33298:2;33289:12;;33125:182;3741:48:200;;;;;;;;;;;;;3791:13;6693:17:186;;;;;;;6672;;;;;;;;;;:38;;6569:148;3729:76:200;3700:176;;;;;;;34468:2:350;3700:176:200;;;34450:21:350;34507:2;34487:18;;;34480:30;34546:31;34526:18;;;34519:59;34595:18;;3700:176:200;34266:353:350;3700:176:200;3592:837;;;3901:19;;:26;3931:2;-1:-1:-1;3897:532:200;;4097:19;;4087:30;;;;;;;4070:48;;4058:76;;4070:48;;4087:30;4070:48;33254:19:350;;;33298:2;33289:12;;33125:182;4058:76:200;4029:186;;;;;;;34826:2:350;4029:186:200;;;34808:21:350;34865:2;34845:18;;;34838:30;34904:34;34884:18;;;34877:62;34975:9;34955:18;;;34948:37;35002:19;;4029:186:200;34624:403:350;3897:532:200;4336:19;;6693:17:186;;;;;;;;;;6672;;;;;;;:38;4316:98:200;;;;;;;35234:2:350;4316:98:200;;;35216:21:350;35273:2;35253:18;;;35246:30;35312:34;35292:18;;;35285:62;35383:8;35363:18;;;35356:36;35409:19;;4316:98:200;35032:402:350;4316:98:200;936:14;803:2;949:1;936:14;:::i;:::-;4447:11;:19;;;:26;:48;4443:4627;;4538:3;:10;4519:15;:29;4515:1346;;5047:52;5067:11;:19;;;803:2;5067:31;;;;;;;;:::i;:::-;;;;;;;5047:19;:52::i;:::-;5038:61;;5145:1;5129:6;:13;:17;5121:89;;;;;;;35774:2:350;5121:89:200;;;35756:21:350;35813:2;35793:18;;;35786:30;35852:34;35832:18;;;35825:62;35923:29;35903:18;;;35896:57;35970:19;;5121:89:200;35572:423:350;5121:89:200;5322:1;5307:5;:12;:16;;;;:::i;:::-;5302:1;:21;5294:92;;;;;;;36202:2:350;5294:92:200;;;36184:21:350;36241:2;36221:18;;;36214:30;36280:34;36260:18;;;36253:62;36351:28;36331:18;;;36324:56;36397:19;;5294:92:200;36000:422:350;5294:92:200;5409:13;;;;;;;;4515:1346;5609:15;5633:3;5637:15;5633:20;;;;;;;;:::i;:::-;;;;;;;;;5627:27;;5609:45;;5676:33;5712:11;:19;;;5732:9;5712:30;;;;;;;;;;:::i;:::-;;;;;;;5676:66;;5780:20;5791:8;5780:10;:20::i;:::-;5764:36;-1:-1:-1;5822:20:200;5841:1;5822:20;;:::i;:::-;;;5447:414;;4443:4627;;;1105:1;5885:11;:19;;;:26;:59;5881:3189;;5964:17;5984:25;5997:11;5984:12;:25::i;:::-;5964:45;;6027:12;6048:4;6053:1;6048:7;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;6074:12:200;6094:10;6103:1;6048:7;6094:10;:::i;:::-;6089:16;;:1;:16;:::i;:::-;6074:31;;6123:26;6152:25;6164:4;6170:6;6152:25;;:11;:25::i;:::-;6123:54;;6195:25;6223:33;6235:3;6240:15;6223:11;:33::i;:::-;6195:61;;6274:26;6303:51;6326:13;6341:12;6303:22;:51::i;:::-;6274:80;;6661:18;6637:13;:20;:42;6608:171;;;;;;;36991:2:350;6608:171:200;;;36973:21:350;37030:2;37010:18;;;37003:30;37069:34;37049:18;;;37042:62;37140:28;37120:18;;;37113:56;37186:19;;6608:171:200;36789:422:350;6608:171:200;6802:26;;;1447:1;6802:26;;:55;;-1:-1:-1;6832:25:200;;;1553:1;6832:25;6802:55;6798:2169;;;7498:18;7475:12;:19;:41;7442:185;;;;;;;37418:2:350;7442:185:200;;;37400:21:350;37457:2;37437:18;;;37430:30;37496:34;37476:18;;;37469:62;37567:31;37547:18;;;37540:59;37616:19;;7442:185:200;37216:425:350;7442:185:200;7985:43;8005:11;:19;;;8025:1;8005:22;;;;;;;;:::i;7985:43::-;7976:52;;8074:1;8058:6;:13;:17;8050:87;;;;;;;37848:2:350;8050:87:200;;;37830:21:350;37887:2;37867:18;;;37860:30;37926:34;37906:18;;;37899:62;37997:27;37977:18;;;37970:55;38042:19;;8050:87:200;37646:421:350;8050:87:200;8249:1;8234:5;:12;:16;;;;:::i;:::-;8229:1;:21;8221:90;;;;;;;38274:2:350;8221:90:200;;;38256:21:350;38313:2;38293:18;;;38286:30;38352:34;38332:18;;;38325:62;38423:26;38403:18;;;38396:54;38467:19;;8221:90:200;38072:420:350;8221:90:200;8334:13;;;;;;;;;;;;;;6798:2169;8376:31;;;;;:65;;-1:-1:-1;8411:30:200;;;1339:1;8411:30;8376:65;8372:595;;;8748:34;8759:11;:19;;;8779:1;8759:22;;;;;;;;:::i;:::-;;;;;;;8748:10;:34::i;:::-;8732:50;-1:-1:-1;8804:37:200;8823:18;8804:37;;:::i;:::-;;;8372:595;;;8888:60;;;;;38699:2:350;8888:60:200;;;38681:21:350;38738:2;38718:18;;;38711:30;38777:34;38757:18;;;38750:62;38848:20;38828:18;;;38821:48;38886:19;;8888:60:200;38497:414:350;8372:595:200;5946:3035;;;;;;5881:3189;;;9005:50;;;;;39118:2:350;9005:50:200;;;39100:21:350;39157:2;39137:18;;;39130:30;39196:34;39176:18;;;39169:62;39267:10;39247:18;;;39240:38;39295:19;;9005:50:200;38916:404:350;5881:3189:200;-1:-1:-1;3328:3:200;;;;:::i;:::-;;;;3290:5790;;;-1:-1:-1;9090:47:200;;;;;39527:2:350;9090:47:200;;;39509:21:350;39566:2;39546:18;;;39539:30;39605:34;39585:18;;;39578:62;39676:7;39656:18;;;39649:35;39701:19;;9090:47:200;39325:401:350;4596:2947:102;4644:8;4700:1;4696;:5;4688:27;;;;;;;39933:2:350;4688:27:102;;;39915:21:350;39972:1;39952:18;;;39945:29;40010:11;39990:18;;;39983:39;40039:18;;4688:27:102;39731:332:350;4688:27:102;5107:8;5145:2;5125:16;5138:1;5125:4;:16::i;:::-;5118:29;5175:3;:7;;;5161:22;;;;5208:17;;;6001:31;5997:35;;6052:5;;5459:2;6051:13;;;6068:32;6050:50;6120:5;;6119:13;;6136:33;6118:51;6189:5;;6188:13;;6205:33;6187:51;6258:5;;6257:13;;6274:33;6256:51;6327:5;;6326:13;;6343:32;6325:50;6395:5;;6394:13;;6411:30;6393:48;5398:31;5394:35;;5449:5;;5448:13;;5465:32;5447:50;5517:5;;5516:13;;5533:32;5515:50;5585:5;;5584:13;;5583:50;;5653:5;;5652:13;;5651:50;;5721:5;;5720:13;;;5719:50;;5787:5;;;:46;;6735:10;7125:43;7120:48;7232:71;:75;;;;7227:80;;;;7380:72;7375:77;7523:3;7517:9;;;-1:-1:-1;;4596:2947:102:o;1487:3103::-;1536:8;1718:21;1713:1;:26;1709:40;;-1:-1:-1;1748:1:102;;1487:3103;-1:-1:-1;1487:3103:102:o;1709:40::-;1948:21;1943:1;:26;1939:54;;1971:22;;;;;40270:2:350;1971:22:102;;;40252:21:350;40309:2;40289:18;;;40282:30;40348:14;40328:18;;;40321:42;40380:18;;1971:22:102;40068:336:350;1939:54:102;2266:5;2260:2;2255:7;;;2254:17;;-1:-1:-1;2535:8:102;2601:2;2559:29;2548:7;;;2547:41;2591:5;2547:49;2546:57;;2629:29;2625:33;;2621:37;;;3300:35;;;3355:5;;2935:2;3354:13;;;3371:32;3353:50;3423:5;;3422:13;;3421:51;;3492:5;;3491:13;;3508:34;3490:52;3562:5;;3561:13;;3560:53;;3633:5;;3632:13;;3649:35;3631:53;2941:32;2874:31;2870:35;;2925:5;;2924:13;;2923:50;;;2998:5;;;:40;;3058:5;3057:13;;;3074:35;3056:53;3127:5;;;3136:40;3127:50;4002:10;4502:49;4489:62;4564:3;:7;;;;4488:84;;;;;;-1:-1:-1;;1487:3103:102:o;9434:390:200:-;9553:13;;9500:24;;9553:13;9585:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;9585:22:200;;;;;;;;;;;;;;;;9576:31;;9622:9;9617:201;9641:6;9637:1;:10;9617:201;;;9676:72;;;;;;;;9696:6;9703:1;9696:9;;;;;;;;:::i;:::-;;;;;;;9676:72;;;;9716:29;9735:6;9742:1;9735:9;;;;;;;;:::i;:::-;;;;;;;9716:18;:29::i;:::-;9676:72;;;9664:6;9671:1;9664:9;;;;;;;;:::i;:::-;;;;;;;;;;:84;9790:3;;9617:201;;;;9526:298;9434:390;;;:::o;4332:1978:186:-;4395:12;4419:21;4550:4;4544:11;4532:23;;4663:6;4657:13;4836:11;4830:4;4826:22;5195:4;5180:13;5176:24;5169:4;5165:9;5161:40;5151:8;5147:55;5141:4;5134:69;5293:13;5283:8;5276:31;;5434:4;5426:6;5422:17;5571:4;5561:8;5557:19;5662:4;5647:622;5675:11;5672:1;5669:18;5647:622;;;5854:1;5848:4;5844:12;5830;5826:31;5996:1;5984:10;5980:18;5974:25;5968:4;5963:37;6119:1;6113:4;6109:12;6101:6;6093:29;6249:4;6246:1;6242:12;6235:4;6227:6;6223:17;6215:40;-1:-1:-1;;5702:4:186;5695:12;5647:622;;;-1:-1:-1;6295:8:186;;4332:1978;-1:-1:-1;;;;;4332:1978:186:o;3993:464:198:-;4055:17;4085:18;4105;4125:20;4149:18;4163:3;4149:13;:18::i;:::-;4084:83;;-1:-1:-1;4084:83:198;-1:-1:-1;4084:83:198;-1:-1:-1;4198:21:198;4186:8;:33;;;;;;;;:::i;:::-;;4178:103;;;;;;;40611:2:350;4178:103:198;;;40593:21:350;40650:2;40630:18;;;40623:30;40689:34;40669:18;;;40662:62;40760:27;40740:18;;;40733:55;40805:19;;4178:103:198;40409:421:350;4178:103:198;4314:23;4327:10;4314;:23;:::i;:::-;4300:10;;:37;4292:102;;;;;;;41037:2:350;4292:102:198;;;41019:21:350;41076:2;41056:18;;;41049:30;41115:34;41095:18;;;41088:62;41186:22;41166:18;;;41159:50;41226:19;;4292:102:198;40835:416:350;4292:102:198;4412:38;4418:3;:7;;;4427:10;4439;4412:5;:38::i;10121:193:200:-;10195:16;10244:2;10229:5;:12;;;:17;:78;;10281:26;10301:5;10281:19;:26::i;:::-;10229:78;;;10249:29;10272:5;10249:22;:29::i;10495:172::-;10562:21;10606:54;10622:37;10642:5;:13;;;10656:1;10642:16;;;;;;;;:::i;10622:37::-;10606:15;:54::i;3805:237:186:-;3880:12;3918:6;:13;3908:6;:23;3904:70;;-1:-1:-1;3954:9:186;;;;;;;;;-1:-1:-1;3954:9:186;;3947:16;;3904:70;3990:45;3996:6;4004;4028;4012;:13;:22;;;;:::i;:::-;3990:5;:45::i;10892:321:200:-;10980:15;11007:11;11034:2;:9;11022:2;:9;:21;11021:47;;11059:2;:9;11021:47;;;11047:2;:9;11021:47;11007:61;;11078:129;11095:3;11085:7;:13;:43;;;;;11117:2;11120:7;11117:11;;;;;;;;:::i;:::-;;;;;;;;;11102:26;;;:2;11105:7;11102:11;;;;;;;;:::i;:::-;;;;;;;:26;11085:43;11078:129;;;11173:9;;;;;11078:129;;;10997:216;10892:321;;;;:::o;15328:575:102:-;15376:9;15409:1;15405;:5;15397:27;;;;;;;39933:2:350;15397:27:102;;;39915:21:350;39972:1;39952:18;;;39945:29;40010:11;39990:18;;;39983:39;40039:18;;15397:27:102;39731:332:350;15397:27:102;-1:-1:-1;15821:1:102;15473:34;-1:-1:-1;;15467:1:102;15463:49;15566:9;;;15546:18;15543:33;15540:1;15536:41;15530:48;15624:9;;;15612:10;15609:25;15606:1;15602:33;15596:40;15678:9;;;15670:6;15667:21;15664:1;15660:29;15654:36;15730:9;;;15724:4;15721:19;15718:1;15714:27;;;15708:34;;;15781:9;;;15776:3;15773:18;15770:1;15766:26;15760:33;15832:9;;;15824:18;;;15817:26;;15811:33;15876:9;;;-1:-1:-1;15862:25:102;;15328:575::o;3732:130:198:-;3791:21;3831:24;3840:14;3850:3;3840:9;:14::i;:::-;3831:8;:24::i;5246:4079::-;5335:15;5352;5369:17;5705:1;5692:3;:10;;;:14;5684:101;;;;;;;41458:2:350;5684:101:198;;;41440:21:350;41497:2;41477:18;;;41470:30;41536:34;41516:18;;;41509:62;41607:34;41587:18;;;41580:62;41679:12;41658:19;;;41651:41;41709:19;;5684:101:198;41256:478:350;5684:101:198;5816:7;;;;5898:10;;5796:17;5890:19;5943:4;5933:14;;5929:3390;;5999:1;6002;6005:21;5991:36;;;;;;;;;;5929:3390;6058:4;6048:6;:14;6044:3275;;6164:14;6181:13;6190:4;6181:6;:13;:::i;:::-;6164:30;;6247:6;6234:3;:10;;;:19;6209:140;;;;;;;41941:2:350;6209:140:198;;;41923:21:350;41980:2;41960:18;;;41953:30;42019:34;41999:18;;;41992:62;42090:34;42070:18;;;42063:62;42162:16;42141:19;;;42134:45;42196:19;;6209:140:198;41739:482:350;6209:140:198;6471:1;6462:11;;;6456:18;6476:14;6452:39;;6544:11;;;;:41;;-1:-1:-1;6559:26:198;;;;;;6544:41;6519:177;;;;;;;42428:2:350;6519:177:198;;;42410:21:350;42467:2;42447:18;;;42440:30;42506:34;42486:18;;;42479:62;42577:34;42557:18;;;42550:62;42649:15;42628:19;;;42621:44;42682:19;;6519:177:198;42226:481:350;6519:177:198;-1:-1:-1;6719:1:198;;-1:-1:-1;6722:6:198;-1:-1:-1;6730:21:198;;-1:-1:-1;6711:41:198;;-1:-1:-1;;6711:41:198;6044:3275;6783:4;6773:6;:14;6769:2550;;6831:19;6853:13;6862:4;6853:6;:13;:::i;:::-;6831:35;;6919:11;6906:3;:10;;;:24;6881:164;;;;;;;42914:2:350;6881:164:198;;;42896:21:350;42953:2;42933:18;;;42926:30;42992:34;42972:18;;;42965:62;43063:34;43043:18;;;43036:62;43135:19;43114;;;43107:48;43172:19;;6881:164:198;42712:485:350;6881:164:198;7167:1;7158:11;;7152:18;7172:14;7148:39;7060:25;7240:26;;;7215:143;;;;;;;43404:2:350;7215:143:198;;;43386:21:350;43443:2;43423:18;;;43416:30;43482:34;43462:18;;;43455:62;43553:34;43533:18;;;43526:62;43625:12;43604:19;;;43597:41;43655:19;;7215:143:198;43202:478:350;7215:143:198;7488:1;7479:11;;7473:18;7455:1;7451:19;;7446:3;7442:29;7438:54;7537:2;7528:11;;7520:96;;;;;;;43887:2:350;7520:96:198;;;43869:21:350;43926:2;43906:18;;;43899:30;43965:34;43945:18;;;43938:62;44036:34;44016:18;;;44009:62;44108:10;44087:19;;;44080:39;44136:19;;7520:96:198;43685:476:350;7520:96:198;7669:20;7683:6;7669:11;:20;:::i;:::-;7656:10;;:33;7631:168;;;;;;;44368:2:350;7631:168:198;;;44350:21:350;44407:2;44387:18;;;44380:30;44446:34;44426:18;;;44419:62;44517:34;44497:18;;;44490:62;44589:14;44568:19;;;44561:43;44621:19;;7631:168:198;44166:480:350;7631:168:198;7822:15;7826:11;7822:1;:15;:::i;:::-;7814:55;-1:-1:-1;7839:6:198;-1:-1:-1;7847:21:198;;-1:-1:-1;7814:55:198;;-1:-1:-1;;;;7814:55:198;6769:2550;7900:4;7890:6;:14;7886:1433;;8003:15;8021:13;8030:4;8021:6;:13;:::i;:::-;8003:31;;8070:7;8057:3;:10;;;:20;8049:107;;;;;;;44853:2:350;8049:107:198;;;44835:21:350;44892:2;44872:18;;;44865:30;44931:34;44911:18;;;44904:62;45002:34;44982:18;;;44975:62;45074:12;45053:19;;;45046:41;45104:19;;8049:107:198;44651:478:350;8049:107:198;8179:1;;-1:-1:-1;8182:7:198;-1:-1:-1;8179:1:198;;-1:-1:-1;8171:42:198;;-1:-1:-1;;8171:42:198;7886:1433;8270:20;8293:13;8302:4;8293:6;:13;:::i;:::-;8270:36;;8359:12;8346:3;:10;;;:25;8321:161;;;;;;;45336:2:350;8321:161:198;;;45318:21:350;45375:2;45355:18;;;45348:30;45414:34;45394:18;;;45387:62;45485:34;45465:18;;;45458:62;45557:15;45536:19;;;45529:44;45590:19;;8321:161:198;45134:481:350;8321:161:198;8604:1;8595:11;;8589:18;8609:14;8585:39;8497:25;8677:26;;;8652:141;;;;;;;45822:2:350;8652:141:198;;;45804:21:350;45861:2;45841:18;;;45834:30;45900:34;45880:18;;;45873:62;45971:34;45951:18;;;45944:62;46043:10;46022:19;;;46015:39;46071:19;;8652:141:198;45620:476:350;8652:141:198;8926:1;8917:11;;8911:18;8892:1;8888:20;;8883:3;8879:30;8875:55;8976:2;8966:12;;8958:95;;;;;;;46303:2:350;8958:95:198;;;46285:21:350;46342:2;46322:18;;;46315:30;46381:34;46361:18;;;46354:62;46452:34;46432:18;;;46425:62;46524:8;46503:19;;;46496:37;46550:19;;8958:95:198;46101:474:350;8958:95:198;9106:22;9121:7;9106:12;:22;:::i;:::-;9093:10;;:35;9068:168;;;;;;;46782:2:350;9068:168:198;;;46764:21:350;46821:2;46801:18;;;46794:30;46860:34;46840:18;;;46833:62;46931:34;46911:18;;;46904:62;47003:12;46982:19;;;46975:41;47033:19;;9068:168:198;46580:478:350;9068:168:198;9259:16;9263:12;9259:1;:16;:::i;:::-;9251:57;-1:-1:-1;9277:7:198;-1:-1:-1;9286:21:198;;-1:-1:-1;9251:57:198;;-1:-1:-1;;;;9251:57:198;5246:4079;;;;;;:::o;9585:737::-;9676:17;9722:7;9712:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9712:18:198;-1:-1:-1;9705:25:198;-1:-1:-1;9740:54:198;;9772:11;9740:54;10010:11;10024:36;10053:7;10045:4;10024:36;:::i;:::-;10010:50;;10115:2;10109:4;10105:13;10140:1;10154:87;10168:7;10165:1;10162:14;10154:87;;;10226:11;;;10220:18;10206:12;;;10199:40;10191:2;10184:10;10154:87;;;10264:7;10261:1;10258:14;10255:51;;;10302:1;10292:7;10286:4;10282:18;10275:29;10255:51;;;10079:237;9585:737;;;;;:::o;4847:137::-;4912:17;4948:29;4954:3;:7;;;4963:1;4966:3;:10;;;4948:5;:29::i;660:2816:186:-;752:12;824:7;808;818:2;808:12;:23;;800:50;;;;;;;47265:2:350;800:50:186;;;47247:21:350;47304:2;47284:18;;;47277:30;47343:16;47323:18;;;47316:44;47377:18;;800:50:186;47063:338:350;800:50:186;892:6;881:7;872:6;:16;:26;;864:53;;;;;;;47265:2:350;864:53:186;;;47247:21:350;47304:2;47284:18;;;47277:30;47343:16;47323:18;;;47316:44;47377:18;;864:53:186;47063:338:350;864:53:186;965:7;956:6;:16;939:6;:13;:33;;931:63;;;;;;;47608:2:350;931:63:186;;;47590:21:350;47647:2;47627:18;;;47620:30;47686:19;47666:18;;;47659:47;47723:18;;931:63:186;47406:341:350;931:63:186;1015:22;1078:15;;1106:1931;;;;3178:4;3172:11;3159:24;;3365:1;3354:9;3347:20;3413:4;3402:9;3398:20;3392:4;3385:34;1071:2362;;1106:1931;1288:4;1282:11;1269:24;;1947:2;1938:7;1934:16;2329:9;2322:17;2316:4;2312:28;2300:9;2289;2285:25;2281:60;2377:7;2373:2;2369:16;2629:6;2615:9;2608:17;2602:4;2598:28;2586:9;2578:6;2574:22;2570:57;2566:70;2403:389;2662:3;2658:2;2655:11;2403:389;;;2780:9;;2769:21;;2703:4;2695:13;;;;2735;2403:389;;;-1:-1:-1;;2810:26:186;;;3018:2;3001:11;3014:7;2997:25;2991:4;2984:39;-1:-1:-1;1071:2362:186;-1:-1:-1;3460:9:186;660:2816;-1:-1:-1;;;;660:2816:186:o;1298:390:198:-;-1:-1:-1;;;;;;;;;;;;;;;;;1453:1:198;1440:3;:10;:14;1432:101;;;;;;;41458:2:350;1432:101:198;;;41440:21:350;41497:2;41477:18;;;41470:30;41536:34;41516:18;;;41509:62;41607:34;41587:18;;;41580:62;41679:12;41658:19;;;41651:41;41709:19;;1432:101:198;41256:478:350;1432:101:198;-1:-1:-1;1640:41:198;;;;;;;;;1658:10;;1640:41;;1610:2;1601:12;;;1640:41;;;;;;;;1298:390::o;1840:1740::-;1901:21;1935:18;1955;1975:20;1999:18;2013:3;1999:13;:18::i;:::-;1934:83;;-1:-1:-1;1934:83:198;-1:-1:-1;1934:83:198;-1:-1:-1;2048:21:198;2036:8;:33;;;;;;;;:::i;:::-;;2028:102;;;;;;;47954:2:350;2028:102:198;;;47936:21:350;47993:2;47973:18;;;47966:30;48032:34;48012:18;;;48005:62;48103:26;48083:18;;;48076:54;48147:19;;2028:102:198;47752:420:350;2028:102:198;2176:10;;2149:23;2162:10;2149;:23;:::i;:::-;:37;2141:100;;;;;;;48379:2:350;2141:100:198;;;48361:21:350;48418:2;48398:18;;;48391:30;48457:34;48437:18;;;48430:62;48528:20;48508:18;;;48501:48;48566:19;;2141:100:198;48177:414:350;2141:100:198;2651:30;;;1123:2;2651:30;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;2651:30:198;;;;;;;;;;;;;;-1:-1:-1;2644:37:198;-1:-1:-1;2692:17:198;2740:10;2760:681;2776:10;;2767:19;;2760:681;;;2803:18;2823;2846:150;2877:105;;;;;;;;2908:6;2895:3;:10;;;:19;;;;:::i;:::-;2877:105;;;;2972:6;2961:3;:7;;;2940:38;;;;:::i;:::-;2877:105;;2846:13;:150::i;:::-;2802:194;;;;;3201:153;;;;;;;;3248:10;3235;:23;;;;:::i;:::-;3201:153;;;;3332:6;3321:3;:7;;;3300:38;;;;:::i;:::-;3201:153;;;3183:4;3188:9;3183:15;;;;;;;;:::i;:::-;;;;;;;;;;:171;3369:14;3382:1;3369:14;;:::i;:::-;;-1:-1:-1;3407:23:198;3420:10;3407;:23;:::i;:::-;3397:33;;;;:::i;:::-;;;2788:653;;2760:681;;;-1:-1:-1;3541:23:198;;-1:-1:-1;3548:4:198;;1840:1740;-1:-1:-1;;;1840:1740:198:o;752:184:350:-;804:77;801:1;794:88;901:4;898:1;891:15;925:4;922:1;915:15;941:334;1012:2;1006:9;1068:2;1058:13;;1073:66;1054:86;1042:99;;1171:18;1156:34;;1192:22;;;1153:62;1150:88;;;1218:18;;:::i;:::-;1254:2;1247:22;941:334;;-1:-1:-1;941:334:350:o;1280:154::-;1366:42;1359:5;1355:54;1348:5;1345:65;1335:93;;1424:1;1421;1414:12;1439:589;1481:5;1534:3;1527:4;1519:6;1515:17;1511:27;1501:55;;1552:1;1549;1542:12;1501:55;1588:6;1575:20;1614:18;1610:2;1607:26;1604:52;;;1636:18;;:::i;:::-;1680:114;1788:4;1719:66;1712:4;1708:2;1704:13;1700:86;1696:97;1680:114;:::i;:::-;1819:2;1810:7;1803:19;1865:3;1858:4;1853:2;1845:6;1841:15;1837:26;1834:35;1831:55;;;1882:1;1879;1872:12;1831:55;1947:2;1940:4;1932:6;1928:17;1921:4;1912:7;1908:18;1895:55;1995:1;1970:16;;;1988:4;1966:27;1959:38;;;;1974:7;1439:589;-1:-1:-1;;;1439:589:350:o;2033:1032::-;2101:5;2149:4;2137:9;2132:3;2128:19;2124:30;2121:50;;;2167:1;2164;2157:12;2121:50;2200:2;2194:9;2242:4;2234:6;2230:17;2266:18;2334:6;2322:10;2319:22;2314:2;2302:10;2299:18;2296:46;2293:72;;;2345:18;;:::i;:::-;2385:10;2381:2;2374:22;2414:6;2405:15;;2457:9;2444:23;2436:6;2429:39;2520:2;2509:9;2505:18;2492:32;2477:47;;2533:33;2558:7;2533:33;:::i;:::-;2599:7;2594:2;2586:6;2582:15;2575:32;2659:2;2648:9;2644:18;2631:32;2616:47;;2672:33;2697:7;2672:33;:::i;:::-;2738:7;2733:2;2725:6;2721:15;2714:32;2807:2;2796:9;2792:18;2779:32;2774:2;2766:6;2762:15;2755:57;2874:3;2863:9;2859:19;2846:33;2840:3;2832:6;2828:16;2821:59;2931:3;2920:9;2916:19;2903:33;2889:47;;2959:2;2951:6;2948:14;2945:34;;;2975:1;2972;2965:12;2945:34;;3013:45;3054:3;3045:6;3034:9;3030:22;3013:45;:::i;:::-;3007:3;2999:6;2995:16;2988:71;;;2033:1032;;;;:::o;3070:510::-;3179:6;3187;3240:2;3228:9;3219:7;3215:23;3211:32;3208:52;;;3256:1;3253;3246:12;3208:52;3296:9;3283:23;3329:18;3321:6;3318:30;3315:50;;;3361:1;3358;3351:12;3315:50;3384:72;3448:7;3439:6;3428:9;3424:22;3384:72;:::i;:::-;3374:82;;;3506:2;3495:9;3491:18;3478:32;3519:31;3544:5;3519:31;:::i;:::-;3569:5;3559:15;;;3070:510;;;;;:::o;3816:269::-;3897:6;3950:2;3938:9;3929:7;3925:23;3921:32;3918:52;;;3966:1;3963;3956:12;3918:52;4005:9;3992:23;4024:31;4049:5;4024:31;:::i;4282:1175::-;4484:6;4492;4500;4508;4516;4560:9;4551:7;4547:23;4590:3;4586:2;4582:12;4579:32;;;4607:1;4604;4597:12;4579:32;4647:9;4634:23;4676:18;4717:2;4709:6;4706:14;4703:34;;;4733:1;4730;4723:12;4703:34;4756:72;4820:7;4811:6;4800:9;4796:22;4756:72;:::i;:::-;4746:82;;4875:2;4864:9;4860:18;4847:32;4837:42;;4972:3;4903:66;4899:2;4895:75;4891:85;4888:105;;;4989:1;4986;4979:12;4888:105;5027:2;5016:9;5012:18;5002:28;;5083:3;5072:9;5068:19;5055:33;5039:49;;5113:2;5103:8;5100:16;5097:36;;;5129:1;5126;5119:12;5097:36;5167:8;5156:9;5152:24;5142:34;;5214:7;5207:4;5203:2;5199:13;5195:27;5185:55;;5236:1;5233;5226:12;5185:55;5276:2;5263:16;5249:30;;5302:2;5294:6;5291:14;5288:34;;;5318:1;5315;5308:12;5288:34;;5371:7;5366:2;5356:6;5353:1;5349:14;5345:2;5341:23;5337:32;5334:45;5331:65;;;5392:1;5389;5382:12;5331:65;4282:1175;;;;-1:-1:-1;4282:1175:350;;-1:-1:-1;;;5423:2:350;5415:11;;5445:6;4282:1175::o;5667:180::-;5726:6;5779:2;5767:9;5758:7;5754:23;5750:32;5747:52;;;5795:1;5792;5785:12;5747:52;-1:-1:-1;5818:23:350;;5667:180;-1:-1:-1;5667:180:350:o;6034:258::-;6106:1;6116:113;6130:6;6127:1;6124:13;6116:113;;;6206:11;;;6200:18;6187:11;;;6180:39;6152:2;6145:10;6116:113;;;6247:6;6244:1;6241:13;6238:48;;;-1:-1:-1;;6282:1:350;6264:16;;6257:27;6034:258::o;6297:317::-;6339:3;6377:5;6371:12;6404:6;6399:3;6392:19;6420:63;6476:6;6469:4;6464:3;6460:14;6453:4;6446:5;6442:16;6420:63;:::i;:::-;6528:2;6516:15;6533:66;6512:88;6503:98;;;;6603:4;6499:109;;6297:317;-1:-1:-1;;6297:317:350:o;6619:220::-;6768:2;6757:9;6750:21;6731:4;6788:45;6829:2;6818:9;6814:18;6806:6;6788:45;:::i;6844:315::-;6912:6;6920;6973:2;6961:9;6952:7;6948:23;6944:32;6941:52;;;6989:1;6986;6979:12;6941:52;7025:9;7012:23;7002:33;;7085:2;7074:9;7070:18;7057:32;7098:31;7123:5;7098:31;:::i;7164:144::-;7272:10;7265:5;7261:22;7254:5;7251:33;7241:61;;7298:1;7295;7288:12;7313:299;7402:6;7455:2;7443:9;7434:7;7430:23;7426:32;7423:52;;;7471:1;7468;7461:12;7423:52;7510:9;7497:23;7529:53;7576:5;7529:53;:::i;7617:375::-;7717:6;7770:2;7758:9;7749:7;7745:23;7741:32;7738:52;;;7786:1;7783;7776:12;7738:52;7826:9;7813:23;7859:18;7851:6;7848:30;7845:50;;;7891:1;7888;7881:12;7845:50;7914:72;7978:7;7969:6;7958:9;7954:22;7914:72;:::i;:::-;7904:82;7617:375;-1:-1:-1;;;;7617:375:350:o;7997:129::-;8082:18;8075:5;8071:30;8064:5;8061:41;8051:69;;8116:1;8113;8106:12;8131:245;8189:6;8242:2;8230:9;8221:7;8217:23;8213:32;8210:52;;;8258:1;8255;8248:12;8210:52;8297:9;8284:23;8316:30;8340:5;8316:30;:::i;8381:248::-;8449:6;8457;8510:2;8498:9;8489:7;8485:23;8481:32;8478:52;;;8526:1;8523;8516:12;8478:52;-1:-1:-1;;8549:23:350;;;8619:2;8604:18;;;8591:32;;-1:-1:-1;8381:248:350:o;8981:605::-;9134:6;9142;9150;9203:2;9191:9;9182:7;9178:23;9174:32;9171:52;;;9219:1;9216;9209:12;9171:52;9258:9;9245:23;9277:31;9302:5;9277:31;:::i;:::-;9327:5;-1:-1:-1;9384:2:350;9369:18;;9356:32;9397:33;9356:32;9397:33;:::i;:::-;9449:7;-1:-1:-1;9508:2:350;9493:18;;9480:32;9521:33;9480:32;9521:33;:::i;:::-;9573:7;9563:17;;;8981:605;;;;;:::o;10007:118::-;10093:5;10086:13;10079:21;10072:5;10069:32;10059:60;;10115:1;10112;10105:12;10130:799;10230:6;10238;10246;10254;10262;10315:3;10303:9;10294:7;10290:23;10286:33;10283:53;;;10332:1;10329;10322:12;10283:53;10371:9;10358:23;10390:31;10415:5;10390:31;:::i;:::-;10440:5;-1:-1:-1;10492:2:350;10477:18;;10464:32;;-1:-1:-1;10548:2:350;10533:18;;10520:32;10561;10520;10561;:::i;:::-;10612:7;-1:-1:-1;10671:2:350;10656:18;;10643:32;10684:30;10643:32;10684:30;:::i;:::-;10733:7;-1:-1:-1;10791:3:350;10776:19;;10763:33;10819:18;10808:30;;10805:50;;;10851:1;10848;10841:12;10805:50;10874:49;10915:7;10906:6;10895:9;10891:22;10874:49;:::i;:::-;10864:59;;;10130:799;;;;;;;;:::o;12389:642::-;12652:6;12647:3;12640:19;12689:6;12684:2;12679:3;12675:12;12668:28;12748:66;12739:6;12734:3;12730:16;12726:89;12721:2;12716:3;12712:12;12705:111;12869:6;12862:14;12855:22;12850:3;12846:32;12841:2;12836:3;12832:12;12825:54;12622:3;12908:6;12902:13;12924:60;12977:6;12972:2;12967:3;12963:12;12958:2;12950:6;12946:15;12924:60;:::i;:::-;13004:16;;;;13022:2;13000:25;;12389:642;-1:-1:-1;;;;;;12389:642:350:o;14444:251::-;14514:6;14567:2;14555:9;14546:7;14542:23;14538:32;14535:52;;;14583:1;14580;14573:12;14535:52;14615:9;14609:16;14634:31;14659:5;14634:31;:::i;15132:623::-;15303:6;15311;15319;15372:2;15360:9;15351:7;15347:23;15343:32;15340:52;;;15388:1;15385;15378:12;15340:52;15420:9;15414:16;15439:53;15486:5;15439:53;:::i;:::-;15561:2;15546:18;;15540:25;15511:5;;-1:-1:-1;15574:32:350;15540:25;15574:32;:::i;:::-;15677:2;15662:18;;15656:25;15625:7;;-1:-1:-1;15690:33:350;15656:25;15690:33;:::i;15760:211::-;15857:6;15910:2;15898:9;15889:7;15885:23;15881:32;15878:52;;;15926:1;15923;15916:12;15878:52;-1:-1:-1;15949:16:350;;15760:211;-1:-1:-1;15760:211:350:o;16378:648::-;16472:6;16525:3;16513:9;16504:7;16500:23;16496:33;16493:53;;;16542:1;16539;16532:12;16493:53;16575:2;16569:9;16617:3;16609:6;16605:16;16687:6;16675:10;16672:22;16651:18;16639:10;16636:34;16633:62;16630:88;;;16698:18;;:::i;:::-;16738:10;16734:2;16727:22;;16786:9;16773:23;16765:6;16758:39;16858:2;16847:9;16843:18;16830:32;16825:2;16817:6;16813:15;16806:57;16924:2;16913:9;16909:18;16896:32;16891:2;16883:6;16879:15;16872:57;16990:2;16979:9;16975:18;16962:32;16957:2;16949:6;16945:15;16938:57;17014:6;17004:16;;;16378:648;;;;:::o;17441:184::-;17493:77;17490:1;17483:88;17590:4;17587:1;17580:15;17614:4;17611:1;17604:15;17630:276;17716:6;17769:2;17757:9;17748:7;17744:23;17740:32;17737:52;;;17785:1;17782;17775:12;17737:52;17817:9;17811:16;17856:1;17849:5;17846:12;17836:40;;17872:1;17869;17862:12;18338:303;18438:6;18491:2;18479:9;18470:7;18466:23;18462:32;18459:52;;;18507:1;18504;18497:12;18459:52;18539:9;18533:16;18558:53;18605:5;18558:53;:::i;19586:934::-;19722:9;19756:18;19797:2;19789:6;19786:14;19783:40;;;19803:18;;:::i;:::-;19849:6;19846:1;19842:14;19875:4;19899:28;19923:2;19919;19915:11;19899:28;:::i;:::-;19961:19;;;20031:14;;;;19996:12;;;;20068:14;20057:26;;20054:46;;;20096:1;20093;20086:12;20054:46;20120:5;20134:353;20150:6;20145:3;20142:15;20134:353;;;20236:3;20223:17;20272:2;20259:11;20256:19;20253:109;;;20316:1;20345:2;20341;20334:14;20253:109;20387:57;20429:14;20415:11;20408:5;20404:23;20387:57;:::i;:::-;20375:70;;-1:-1:-1;20465:12:350;;;;20167;;20134:353;;;-1:-1:-1;20509:5:350;19586:934;-1:-1:-1;;;;;;;19586:934:350:o;20944:245::-;21011:6;21064:2;21052:9;21043:7;21039:23;21035:32;21032:52;;;21080:1;21077;21070:12;21032:52;21112:9;21106:16;21131:28;21153:5;21131:28;:::i;22098:281::-;22199:6;22252:2;22240:9;22231:7;22227:23;22223:32;22220:52;;;22268:1;22265;22258:12;22220:52;22300:9;22294:16;22319:30;22343:5;22319:30;:::i;22871:184::-;22923:77;22920:1;22913:88;23020:4;23017:1;23010:15;23044:4;23041:1;23034:15;23060:125;23100:4;23128:1;23125;23122:8;23119:34;;;23133:18;;:::i;:::-;-1:-1:-1;23170:9:350;;23060:125::o;26256:270::-;26295:7;26327:18;26372:2;26369:1;26365:10;26402:2;26399:1;26395:10;26458:3;26454:2;26450:12;26445:3;26442:21;26435:3;26428:11;26421:19;26417:47;26414:73;;;26467:18;;:::i;:::-;26507:13;;26256:270;-1:-1:-1;;;;26256:270:350:o;26531:236::-;26570:3;26598:18;26643:2;26640:1;26636:10;26673:2;26670:1;26666:10;26704:3;26700:2;26696:12;26691:3;26688:21;26685:47;;;26712:18;;:::i;:::-;26748:13;;26531:236;-1:-1:-1;;;;26531:236:350:o;27386:184::-;27438:77;27435:1;27428:88;27535:4;27532:1;27525:15;27559:4;27556:1;27549:15;27575:308;27614:1;27640;27630:35;;27645:18;;:::i;:::-;27762:66;27759:1;27756:73;27687:66;27684:1;27681:73;27677:153;27674:179;;;27833:18;;:::i;:::-;-1:-1:-1;27867:10:350;;27575:308::o;27888:369::-;27927:4;27963:1;27960;27956:9;28072:1;28004:66;28000:74;27997:1;27993:82;27988:2;27981:10;27977:99;27974:125;;;28079:18;;:::i;:::-;28198:1;28130:66;28126:74;28123:1;28119:82;28115:2;28111:91;28108:117;;;28205:18;;:::i;:::-;-1:-1:-1;;28242:9:350;;27888:369::o;28262:655::-;28301:7;28333:66;28425:1;28422;28418:9;28453:1;28450;28446:9;28498:1;28494:2;28490:10;28487:1;28484:17;28479:2;28475;28471:11;28467:35;28464:61;;;28505:18;;:::i;:::-;28544:66;28636:1;28633;28629:9;28683:1;28679:2;28674:11;28671:1;28667:19;28662:2;28658;28654:11;28650:37;28647:63;;;28690:18;;:::i;:::-;28736:1;28733;28729:9;28719:19;;28783:1;28779:2;28774:11;28771:1;28767:19;28762:2;28758;28754:11;28750:37;28747:63;;;28790:18;;:::i;:::-;28855:1;28851:2;28846:11;28843:1;28839:19;28834:2;28830;28826:11;28822:37;28819:63;;;28862:18;;:::i;:::-;-1:-1:-1;;;28902:9:350;;;;;28262:655;-1:-1:-1;;;28262:655:350:o;28922:367::-;28961:3;28996:1;28993;28989:9;29105:1;29037:66;29033:74;29030:1;29026:82;29021:2;29014:10;29010:99;29007:125;;;29112:18;;:::i;:::-;29231:1;29163:66;29159:74;29156:1;29152:82;29148:2;29144:91;29141:117;;;29238:18;;:::i;:::-;-1:-1:-1;;29274:9:350;;28922:367::o;29725:228::-;29765:7;29891:1;29823:66;29819:74;29816:1;29813:81;29808:1;29801:9;29794:17;29790:105;29787:131;;;29898:18;;:::i;:::-;-1:-1:-1;29938:9:350;;29725:228::o;29958:120::-;29998:1;30024;30014:35;;30029:18;;:::i;:::-;-1:-1:-1;30063:9:350;;29958:120::o;30083:656::-;30370:6;30359:9;30352:25;30333:4;30396:42;30486:2;30478:6;30474:15;30469:2;30458:9;30454:18;30447:43;30538:2;30530:6;30526:15;30521:2;30510:9;30506:18;30499:43;;30578:6;30573:2;30562:9;30558:18;30551:34;30622:6;30616:3;30605:9;30601:19;30594:35;30666:3;30660;30649:9;30645:19;30638:32;30687:46;30728:3;30717:9;30713:19;30705:6;30687:46;:::i;:::-;30679:54;30083:656;-1:-1:-1;;;;;;;;30083:656:350:o;31552:160::-;31629:13;;31682:4;31671:16;;31661:27;;31651:55;;31702:1;31699;31692:12;31651:55;31552:160;;;:::o;31717:1203::-;31820:6;31873:3;31861:9;31852:7;31848:23;31844:33;31841:53;;;31890:1;31887;31880:12;31841:53;31923:2;31917:9;31965:3;31957:6;31953:16;32035:6;32023:10;32020:22;31999:18;31987:10;31984:34;31981:62;31978:88;;;32046:18;;:::i;:::-;32082:2;32075:22;32119:16;;32144:53;32119:16;32144:53;:::i;:::-;32206:21;;32260:47;32303:2;32288:18;;32260:47;:::i;:::-;32255:2;32247:6;32243:15;32236:72;32341:47;32384:2;32373:9;32369:18;32341:47;:::i;:::-;32336:2;32328:6;32324:15;32317:72;32434:2;32423:9;32419:18;32413:25;32447:55;32494:7;32447:55;:::i;:::-;32530:2;32518:15;;32511:32;32588:3;32573:19;;32567:26;32602:55;32567:26;32602:55;:::i;:::-;32685:3;32673:16;;32666:33;32744:3;32729:19;;32723:26;32793:34;32780:48;;32768:61;;32758:89;;32843:1;32840;32833:12;32758:89;32875:3;32863:16;;32856:33;32867:6;31717:1203;-1:-1:-1;;;31717:1203:350:o;32925:195::-;32964:3;32995:66;32988:5;32985:77;32982:103;;33065:18;;:::i;:::-;-1:-1:-1;33112:1:350;33101:13;;32925:195::o;33662:184::-;33714:77;33711:1;33704:88;33811:4;33808:1;33801:15;33835:4;33832:1;33825:15;35439:128;35479:3;35510:1;35506:6;35503:1;35500:13;35497:39;;;35516:18;;:::i;:::-;-1:-1:-1;35552:9:350;;35439:128::o;36427:157::-;36457:1;36491:4;36488:1;36484:12;36515:3;36505:37;;36522:18;;:::i;:::-;36574:3;36567:4;36564:1;36560:12;36556:22;36551:27;;;36427:157;;;;:::o;36589:195::-;36627:4;36664;36661:1;36657:12;36696:4;36693:1;36689:12;36721:3;36716;36713:12;36710:38;;;36728:18;;:::i;:::-;36765:13;;;36589:195;-1:-1:-1;;;36589:195:350:o",linkReferences:{},immutableReferences:{"84154":[{start:1605,length:32},{start:7017,length:32}],"84157":[{start:1230,length:32},{start:7928,length:32}]}},methodIdentifiers:{"GUARDIAN()":"724c184c","SYSTEM_CONFIG()":"f0498750","blacklistDisputeGame(address)":"7d6be8dc","checkWithdrawal(bytes32,address)":"71c1566e","depositTransaction(address,uint256,uint64,bool,bytes)":"e9e05c42","disputeGameBlacklist(address)":"45884d32","disputeGameFactory()":"f2b4e617","disputeGameFinalityDelaySeconds()":"952b2797","donateETH()":"8b4c40b0","finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":"8c3152e9","finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":"43ca1c50","finalizedWithdrawals(bytes32)":"a14238e7","guardian()":"452a9320","initialize(address,address,address)":"c0c53b8b","l2Sender()":"9bf62d82","minimumGasLimit(uint64)":"a35d99df","numProofSubmitters(bytes32)":"513747ab","params()":"cff0ab96","paused()":"5c975abb","proofMaturityDelaySeconds()":"bf653a5c","proofSubmitters(bytes32,uint256)":"a3860f48","proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":"4870496f","provenWithdrawals(bytes32,address)":"bb2c727e","respectedGameType()":"3c9f397c","respectedGameTypeUpdatedAt()":"4fd0434c","setRespectedGameType(uint32)":"7fc48504","superchainConfig()":"35e80ab3","systemConfig()":"33d7e2bd","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"uint256","name":"_proofMaturityDelaySeconds","type":"uint256"},{"internalType":"uint256","name":"_disputeGameFinalityDelaySeconds","type":"uint256"},{"internalType":"GameType","name":"_initialRespectedGameType","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"version","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"opaqueData","type":"bytes"}],"name":"TransactionDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"WithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"WithdrawalProven","type":"event"},{"inputs":[],"name":"GUARDIAN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SYSTEM_CONFIG","outputs":[{"internalType":"contract SystemConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IDisputeGame","name":"_disputeGame","type":"address"}],"name":"blacklistDisputeGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_withdrawalHash","type":"bytes32"},{"internalType":"address","name":"_proofSubmitter","type":"address"}],"name":"checkWithdrawal","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint64","name":"_gasLimit","type":"uint64"},{"internalType":"bool","name":"_isCreation","type":"bool"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"depositTransaction","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IDisputeGame","name":"","type":"address"}],"name":"disputeGameBlacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disputeGameFactory","outputs":[{"internalType":"contract DisputeGameFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disputeGameFinalityDelaySeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"donateETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"}],"name":"finalizeWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"},{"internalType":"address","name":"_proofSubmitter","type":"address"}],"name":"finalizeWithdrawalTransactionExternalProof","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"finalizedWithdrawals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract DisputeGameFactory","name":"_disputeGameFactory","type":"address"},{"internalType":"contract SystemConfig","name":"_systemConfig","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l2Sender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_byteCount","type":"uint64"}],"name":"minimumGasLimit","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_withdrawalHash","type":"bytes32"}],"name":"numProofSubmitters","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"params","outputs":[{"internalType":"uint128","name":"prevBaseFee","type":"uint128"},{"internalType":"uint64","name":"prevBoughtGas","type":"uint64"},{"internalType":"uint64","name":"prevBlockNum","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proofMaturityDelaySeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"proofSubmitters","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"},{"internalType":"uint256","name":"_disputeGameIndex","type":"uint256"},{"components":[{"internalType":"bytes32","name":"version","type":"bytes32"},{"internalType":"bytes32","name":"stateRoot","type":"bytes32"},{"internalType":"bytes32","name":"messagePasserStorageRoot","type":"bytes32"},{"internalType":"bytes32","name":"latestBlockhash","type":"bytes32"}],"internalType":"struct Types.OutputRootProof","name":"_outputRootProof","type":"tuple"},{"internalType":"bytes[]","name":"_withdrawalProof","type":"bytes[]"}],"name":"proveWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"provenWithdrawals","outputs":[{"internalType":"contract IDisputeGame","name":"disputeGameProxy","type":"address"},{"internalType":"uint64","name":"timestamp","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"respectedGameType","outputs":[{"internalType":"GameType","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"respectedGameTypeUpdatedAt","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"}],"name":"setRespectedGameType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"systemConfig","outputs":[{"internalType":"contract SystemConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@title OptimismPortal2","events":{"TransactionDeposited(address,address,uint256,bytes)":{"params":{"from":"Address that triggered the deposit transaction.","opaqueData":"ABI encoded deposit data to be parsed off-chain.","to":"Address that the deposit transaction is directed to.","version":"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{"params":{"success":"Whether the withdrawal transaction was successful.","withdrawalHash":"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{"params":{"from":"Address that triggered the withdrawal transaction.","to":"Address that the withdrawal transaction is directed to.","withdrawalHash":"Hash of the withdrawal transaction."}}},"kind":"dev","methods":{"GUARDIAN()":{"custom:legacy":"","returns":{"_0":"Address of the guardian."}},"SYSTEM_CONFIG()":{"custom:legacy":"","returns":{"_0":"Contract of the SystemConfig on this chain."}},"blacklistDisputeGame(address)":{"params":{"_disputeGame":"Dispute game to blacklist."}},"checkWithdrawal(bytes32,address)":{"params":{"_proofSubmitter":"The submitter of the proof for the withdrawal hash","_withdrawalHash":"Hash of the withdrawal to check."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{"params":{"_data":"Data to trigger the recipient with.","_gasLimit":"Amount of L2 gas to purchase by burning gas on L1.","_isCreation":"Whether or not the transaction is a contract creation.","_to":"Target address on L2.","_value":"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"params":{"_tx":"Withdrawal transaction to finalize."}},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{"params":{"_proofSubmitter":"Address of the proof submitter.","_tx":"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"","returns":{"_0":"Address of the guardian."}},"initialize(address,address,address)":{"params":{"_disputeGameFactory":"Contract of the DisputeGameFactory.","_superchainConfig":"Contract of the SuperchainConfig.","_systemConfig":"Contract of the SystemConfig."}},"minimumGasLimit(uint64)":{"params":{"_byteCount":"Number of bytes in the calldata."},"returns":{"_0":"The minimum gas limit for a deposit."}},"numProofSubmitters(bytes32)":{"params":{"_withdrawalHash":"Hash of the withdrawal."},"returns":{"_0":"The number of proof submitters for the withdrawal hash."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"params":{"_disputeGameIndex":"Index of the dispute game to prove the withdrawal against.","_outputRootProof":"Inclusion proof of the L2ToL1MessagePasser contract\'s storage root.","_tx":"Withdrawal transaction to finalize.","_withdrawalProof":"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}},"setRespectedGameType(uint32)":{"params":{"_gameType":"The game type to consult for output proposals."}}},"stateVariables":{"disputeGameFactory":{"custom:network-specific":""},"spacer_52_0_32":{"custom:legacy":"@custom:spacer provenWithdrawals"},"spacer_53_0_1":{"custom:legacy":"@custom:spacer paused"},"spacer_54_0_20":{"custom:legacy":"@custom:spacer l2Oracle"},"systemConfig":{"custom:network-specific":""},"version":{"custom:semver":"3.5.0"}},"version":1},"userdoc":{"events":{"TransactionDeposited(address,address,uint256,bytes)":{"notice":"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{"notice":"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{"notice":"Emitted when a withdrawal transaction is proven."}},"kind":"user","methods":{"GUARDIAN()":{"notice":"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"SYSTEM_CONFIG()":{"notice":"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},"blacklistDisputeGame(address)":{"notice":"Blacklists a dispute game. Should only be used in the event that a dispute game resolves incorrectly."},"checkWithdrawal(bytes32,address)":{"notice":"Checks if a withdrawal can be finalized. This function will revert if the withdrawal cannot be finalized, and otherwise has no side-effects."},"constructor":{"notice":"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{"notice":"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"disputeGameBlacklist(address)":{"notice":"A mapping of dispute game addresses to whether or not they are blacklisted."},"disputeGameFactory()":{"notice":"Address of the DisputeGameFactory."},"disputeGameFinalityDelaySeconds()":{"notice":"Getter for the dispute game finality delay."},"donateETH()":{"notice":"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"notice":"Finalizes a withdrawal transaction."},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{"notice":"Finalizes a withdrawal transaction, using an external proof submitter."},"finalizedWithdrawals(bytes32)":{"notice":"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{"notice":"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{"notice":"Initializer."},"l2Sender()":{"notice":"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{"notice":"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"numProofSubmitters(bytes32)":{"notice":"External getter for the number of proof submitters for a withdrawal hash."},"params()":{"notice":"EIP-1559 style gas parameters."},"paused()":{"notice":"Getter for the current paused status."},"proofMaturityDelaySeconds()":{"notice":"Getter for the proof maturity delay."},"proofSubmitters(bytes32,uint256)":{"notice":"Mapping of withdrawal hashes to addresses that have submitted a proof for the withdrawal."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"notice":"Proves a withdrawal transaction."},"provenWithdrawals(bytes32,address)":{"notice":"A mapping of withdrawal hashes to proof submitters to `ProvenWithdrawal` data."},"respectedGameType()":{"notice":"The game type that the OptimismPortal consults for output proposals."},"respectedGameTypeUpdatedAt()":{"notice":"The timestamp at which the respected game type was last updated."},"setRespectedGameType(uint32)":{"notice":"Sets the respected game type. Changing this value can alter the security properties of the system, depending on the new game\'s behavior."},"superchainConfig()":{"notice":"Contract of the Superchain Config."},"systemConfig()":{"notice":"Contract of the SystemConfig."},"version()":{"notice":"Semantic version."}},"notice":"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface.","version":1}},"settings":{"compilationTarget":{"src/L1/OptimismPortal2.sol":"OptimismPortal2"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/clones-with-immutable-args/src/ClonesWithImmutableArgs.sol":{"keccak256":"0x220db41bfceb0146f86e9be87d3d954fd1d52eadcb3bbfc5cd89e5543a46fd1e","license":"BSD","urls":["bzz-raw://19155470db05e2e67a8c14f21cc903bb4833d8e5d248c2183073320c8a595705","dweb:/ipfs/QmTchpXE8MMH1XcYxaZvx64UiVzBatbWy7Sw5HFhVJJjxi"]},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/OptimismPortal2.sol":{"keccak256":"0xe4738d396bfc8aa434d1573848cceb7ba9657acba5fb1d6716edd4b3f0e86654","license":"MIT","urls":["bzz-raw://c669fabe0bb8c7781d6d3abc060358be079d0a6d421057ec72da78a5d14b2e23","dweb:/ipfs/QmQUX9gxZK1Z9zeBpmjCL4FHBoHE1bmyoa9cpmHo74UUWW"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L1/SystemConfig.sol":{"keccak256":"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a","license":"MIT","urls":["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"]},"src/dispute/DisputeGameFactory.sol":{"keccak256":"0xa1d8ad31246172e0d1d16dcc247de1f4a68d92db34392f6b949c37e571540bc0","license":"MIT","urls":["bzz-raw://f9ea03e06d9afafcda57fb9beb590f25a59d5252ec339a1f1b2997b5a6dd3ab8","dweb:/ipfs/QmQnoyRoJzizpitL5JjBE37fr9Sm7NHhLeYTtNJt5iB6nv"]},"src/dispute/interfaces/IDisputeGame.sol":{"keccak256":"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6","license":"MIT","urls":["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"]},"src/dispute/interfaces/IDisputeGameFactory.sol":{"keccak256":"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda","license":"MIT","urls":["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"]},"src/dispute/interfaces/IInitializable.sol":{"keccak256":"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc","license":"MIT","urls":["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"]},"src/dispute/lib/LibGameId.sol":{"keccak256":"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6","license":"MIT","urls":["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"]},"src/dispute/lib/LibHashing.sol":{"keccak256":"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b","license":"MIT","urls":["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"]},"src/dispute/lib/LibPosition.sol":{"keccak256":"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504","license":"MIT","urls":["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"]},"src/dispute/lib/LibUDT.sol":{"keccak256":"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c","license":"MIT","urls":["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Bytes.sol":{"keccak256":"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859","license":"MIT","urls":["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/DisputeErrors.sol":{"keccak256":"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f","license":"MIT","urls":["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"]},"src/libraries/DisputeTypes.sol":{"keccak256":"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6","license":"MIT","urls":["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPReader.sol":{"keccak256":"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb","license":"MIT","urls":["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/libraries/trie/MerkleTrie.sol":{"keccak256":"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c","license":"MIT","urls":["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"]},"src/libraries/trie/SecureMerkleTrie.sol":{"keccak256":"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288","license":"MIT","urls":["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"uint256",name:"_proofMaturityDelaySeconds",type:"uint256"},{internalType:"uint256",name:"_disputeGameFinalityDelaySeconds",type:"uint256"},{internalType:"GameType",name:"_initialRespectedGameType",type:"uint32"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"version",type:"uint256",indexed:!0},{internalType:"bytes",name:"opaqueData",type:"bytes",indexed:!1}],type:"event",name:"TransactionDeposited",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"bool",name:"success",type:"bool",indexed:!1}],type:"event",name:"WithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0}],type:"event",name:"WithdrawalProven",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"GUARDIAN",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"SYSTEM_CONFIG",outputs:[{internalType:"contract SystemConfig",name:"",type:"address"}]},{inputs:[{internalType:"contract IDisputeGame",name:"_disputeGame",type:"address"}],stateMutability:"nonpayable",type:"function",name:"blacklistDisputeGame"},{inputs:[{internalType:"bytes32",name:"_withdrawalHash",type:"bytes32"},{internalType:"address",name:"_proofSubmitter",type:"address"}],stateMutability:"view",type:"function",name:"checkWithdrawal"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint64",name:"_gasLimit",type:"uint64"},{internalType:"bool",name:"_isCreation",type:"bool"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositTransaction"},{inputs:[{internalType:"contract IDisputeGame",name:"",type:"address"}],stateMutability:"view",type:"function",name:"disputeGameBlacklist",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"disputeGameFactory",outputs:[{internalType:"contract DisputeGameFactory",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"disputeGameFinalityDelaySeconds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"payable",type:"function",name:"donateETH"},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]}],stateMutability:"nonpayable",type:"function",name:"finalizeWithdrawalTransaction"},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]},{internalType:"address",name:"_proofSubmitter",type:"address"}],stateMutability:"nonpayable",type:"function",name:"finalizeWithdrawalTransactionExternalProof"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"finalizedWithdrawals",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"guardian",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"contract DisputeGameFactory",name:"_disputeGameFactory",type:"address"},{internalType:"contract SystemConfig",name:"_systemConfig",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l2Sender",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"uint64",name:"_byteCount",type:"uint64"}],stateMutability:"pure",type:"function",name:"minimumGasLimit",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes32",name:"_withdrawalHash",type:"bytes32"}],stateMutability:"view",type:"function",name:"numProofSubmitters",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"params",outputs:[{internalType:"uint128",name:"prevBaseFee",type:"uint128"},{internalType:"uint64",name:"prevBoughtGas",type:"uint64"},{internalType:"uint64",name:"prevBlockNum",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"proofMaturityDelaySeconds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function",name:"proofSubmitters",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]},{internalType:"uint256",name:"_disputeGameIndex",type:"uint256"},{internalType:"struct Types.OutputRootProof",name:"_outputRootProof",type:"tuple",components:[{internalType:"bytes32",name:"version",type:"bytes32"},{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{internalType:"bytes32",name:"messagePasserStorageRoot",type:"bytes32"},{internalType:"bytes32",name:"latestBlockhash",type:"bytes32"}]},{internalType:"bytes[]",name:"_withdrawalProof",type:"bytes[]"}],stateMutability:"nonpayable",type:"function",name:"proveWithdrawalTransaction"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"provenWithdrawals",outputs:[{internalType:"contract IDisputeGame",name:"disputeGameProxy",type:"address"},{internalType:"uint64",name:"timestamp",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"respectedGameType",outputs:[{internalType:"GameType",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"respectedGameTypeUpdatedAt",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"}],stateMutability:"nonpayable",type:"function",name:"setRespectedGameType"},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"systemConfig",outputs:[{internalType:"contract SystemConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"GUARDIAN()":{"custom:legacy":"",returns:{_0:"Address of the guardian."}},"SYSTEM_CONFIG()":{"custom:legacy":"",returns:{_0:"Contract of the SystemConfig on this chain."}},"blacklistDisputeGame(address)":{params:{_disputeGame:"Dispute game to blacklist."}},"checkWithdrawal(bytes32,address)":{params:{_proofSubmitter:"The submitter of the proof for the withdrawal hash",_withdrawalHash:"Hash of the withdrawal to check."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{params:{_proofSubmitter:"Address of the proof submitter.",_tx:"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"",returns:{_0:"Address of the guardian."}},"initialize(address,address,address)":{params:{_disputeGameFactory:"Contract of the DisputeGameFactory.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"numProofSubmitters(bytes32)":{params:{_withdrawalHash:"Hash of the withdrawal."},returns:{_0:"The number of proof submitters for the withdrawal hash."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_disputeGameIndex:"Index of the dispute game to prove the withdrawal against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}},"setRespectedGameType(uint32)":{params:{_gameType:"The game type to consult for output proposals."}}},version:1},userdoc:{kind:"user",methods:{"GUARDIAN()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"SYSTEM_CONFIG()":{notice:"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},"blacklistDisputeGame(address)":{notice:"Blacklists a dispute game. Should only be used in the event that a dispute game resolves incorrectly."},"checkWithdrawal(bytes32,address)":{notice:"Checks if a withdrawal can be finalized. This function will revert if the withdrawal cannot be finalized, and otherwise has no side-effects."},constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"disputeGameBlacklist(address)":{notice:"A mapping of dispute game addresses to whether or not they are blacklisted."},"disputeGameFactory()":{notice:"Address of the DisputeGameFactory."},"disputeGameFinalityDelaySeconds()":{notice:"Getter for the dispute game finality delay."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{notice:"Finalizes a withdrawal transaction, using an external proof submitter."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{notice:"Initializer."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"numProofSubmitters(bytes32)":{notice:"External getter for the number of proof submitters for a withdrawal hash."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proofMaturityDelaySeconds()":{notice:"Getter for the proof maturity delay."},"proofSubmitters(bytes32,uint256)":{notice:"Mapping of withdrawal hashes to addresses that have submitted a proof for the withdrawal."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32,address)":{notice:"A mapping of withdrawal hashes to proof submitters to `ProvenWithdrawal` data."},"respectedGameType()":{notice:"The game type that the OptimismPortal consults for output proposals."},"respectedGameTypeUpdatedAt()":{notice:"The timestamp at which the respected game type was last updated."},"setRespectedGameType(uint32)":{notice:"Sets the respected game type. Changing this value can alter the security properties of the system, depending on the new game's behavior."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/OptimismPortal2.sol":"OptimismPortal2"},evmVersion:"london",libraries:{}},sources:{"lib/clones-with-immutable-args/src/ClonesWithImmutableArgs.sol":{keccak256:"0x220db41bfceb0146f86e9be87d3d954fd1d52eadcb3bbfc5cd89e5543a46fd1e",urls:["bzz-raw://19155470db05e2e67a8c14f21cc903bb4833d8e5d248c2183073320c8a595705","dweb:/ipfs/QmTchpXE8MMH1XcYxaZvx64UiVzBatbWy7Sw5HFhVJJjxi"],license:"BSD"},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/OptimismPortal2.sol":{keccak256:"0xe4738d396bfc8aa434d1573848cceb7ba9657acba5fb1d6716edd4b3f0e86654",urls:["bzz-raw://c669fabe0bb8c7781d6d3abc060358be079d0a6d421057ec72da78a5d14b2e23","dweb:/ipfs/QmQUX9gxZK1Z9zeBpmjCL4FHBoHE1bmyoa9cpmHo74UUWW"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L1/SystemConfig.sol":{keccak256:"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a",urls:["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"],license:"MIT"},"src/dispute/DisputeGameFactory.sol":{keccak256:"0xa1d8ad31246172e0d1d16dcc247de1f4a68d92db34392f6b949c37e571540bc0",urls:["bzz-raw://f9ea03e06d9afafcda57fb9beb590f25a59d5252ec339a1f1b2997b5a6dd3ab8","dweb:/ipfs/QmQnoyRoJzizpitL5JjBE37fr9Sm7NHhLeYTtNJt5iB6nv"],license:"MIT"},"src/dispute/interfaces/IDisputeGame.sol":{keccak256:"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6",urls:["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"],license:"MIT"},"src/dispute/interfaces/IDisputeGameFactory.sol":{keccak256:"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda",urls:["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"],license:"MIT"},"src/dispute/interfaces/IInitializable.sol":{keccak256:"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc",urls:["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"],license:"MIT"},"src/dispute/lib/LibGameId.sol":{keccak256:"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6",urls:["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"],license:"MIT"},"src/dispute/lib/LibHashing.sol":{keccak256:"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b",urls:["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"],license:"MIT"},"src/dispute/lib/LibPosition.sol":{keccak256:"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504",urls:["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"],license:"MIT"},"src/dispute/lib/LibUDT.sol":{keccak256:"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c",urls:["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Bytes.sol":{keccak256:"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859",urls:["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/DisputeErrors.sol":{keccak256:"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f",urls:["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"],license:"MIT"},"src/libraries/DisputeTypes.sol":{keccak256:"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6",urls:["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPReader.sol":{keccak256:"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb",urls:["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/libraries/trie/MerkleTrie.sol":{keccak256:"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c",urls:["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"],license:"MIT"},"src/libraries/trie/SecureMerkleTrie.sol":{keccak256:"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288",urls:["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:85318,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"params",offset:0,slot:"1",type:"t_struct(ResourceParams)85301_storage"},{astId:85323,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"__gap",offset:0,slot:"2",type:"t_array(t_uint256)48_storage"},{astId:84168,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"l2Sender",offset:0,slot:"50",type:"t_address"},{astId:84173,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"finalizedWithdrawals",offset:0,slot:"51",type:"t_mapping(t_bytes32,t_bool)"},{astId:84176,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"spacer_52_0_32",offset:0,slot:"52",type:"t_bytes32"},{astId:84179,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"spacer_53_0_1",offset:0,slot:"53",type:"t_bool"},{astId:84183,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"superchainConfig",offset:1,slot:"53",type:"t_contract(SuperchainConfig)85848"},{astId:84186,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"spacer_54_0_20",offset:0,slot:"54",type:"t_address"},{astId:84190,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"systemConfig",offset:0,slot:"55",type:"t_contract(SystemConfig)86662"},{astId:84194,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"disputeGameFactory",offset:0,slot:"56",type:"t_contract(DisputeGameFactory)94342"},{astId:84202,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"provenWithdrawals",offset:0,slot:"57",type:"t_mapping(t_bytes32,t_mapping(t_address,t_struct(ProvenWithdrawal)84151_storage))"},{astId:84208,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"disputeGameBlacklist",offset:0,slot:"58",type:"t_mapping(t_contract(IDisputeGame)96855,t_bool)"},{astId:84212,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"respectedGameType",offset:0,slot:"59",type:"t_userDefinedValueType(GameType)99918"},{astId:84215,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"respectedGameTypeUpdatedAt",offset:4,slot:"59",type:"t_uint64"},{astId:84221,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"proofSubmitters",offset:0,slot:"60",type:"t_mapping(t_bytes32,t_array(t_address)dyn_storage)"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_address)dyn_storage":{encoding:"dynamic_array",label:"address[]",numberOfBytes:"32",base:"t_address"},"t_array(t_uint256)48_storage":{encoding:"inplace",label:"uint256[48]",numberOfBytes:"1536",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(DisputeGameFactory)94342":{encoding:"inplace",label:"contract DisputeGameFactory",numberOfBytes:"20"},"t_contract(IDisputeGame)96855":{encoding:"inplace",label:"contract IDisputeGame",numberOfBytes:"20"},"t_contract(SuperchainConfig)85848":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_contract(SystemConfig)86662":{encoding:"inplace",label:"contract SystemConfig",numberOfBytes:"20"},"t_mapping(t_address,t_struct(ProvenWithdrawal)84151_storage)":{encoding:"mapping",key:"t_address",label:"mapping(address => struct OptimismPortal2.ProvenWithdrawal)",numberOfBytes:"32",value:"t_struct(ProvenWithdrawal)84151_storage"},"t_mapping(t_bytes32,t_array(t_address)dyn_storage)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => address[])",numberOfBytes:"32",value:"t_array(t_address)dyn_storage"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},"t_mapping(t_bytes32,t_mapping(t_address,t_struct(ProvenWithdrawal)84151_storage))":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => mapping(address => struct OptimismPortal2.ProvenWithdrawal))",numberOfBytes:"32",value:"t_mapping(t_address,t_struct(ProvenWithdrawal)84151_storage)"},"t_mapping(t_contract(IDisputeGame)96855,t_bool)":{encoding:"mapping",key:"t_contract(IDisputeGame)96855",label:"mapping(contract IDisputeGame => bool)",numberOfBytes:"32",value:"t_bool"},"t_struct(ProvenWithdrawal)84151_storage":{encoding:"inplace",label:"struct OptimismPortal2.ProvenWithdrawal",numberOfBytes:"32",members:[{astId:84148,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"disputeGameProxy",offset:0,slot:"0",type:"t_contract(IDisputeGame)96855"},{astId:84150,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"timestamp",offset:20,slot:"0",type:"t_uint64"}]},"t_struct(ResourceParams)85301_storage":{encoding:"inplace",label:"struct ResourceMetering.ResourceParams",numberOfBytes:"32",members:[{astId:85296,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"prevBaseFee",offset:0,slot:"0",type:"t_uint128"},{astId:85298,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"prevBoughtGas",offset:16,slot:"0",type:"t_uint64"},{astId:85300,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"prevBlockNum",offset:24,slot:"0",type:"t_uint64"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint64:{encoding:"inplace",label:"uint64",numberOfBytes:"8"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"},"t_userDefinedValueType(GameType)99918":{encoding:"inplace",label:"GameType",numberOfBytes:"4"}}},userdoc:{version:1,kind:"user",methods:{"GUARDIAN()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"SYSTEM_CONFIG()":{notice:"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},"blacklistDisputeGame(address)":{notice:"Blacklists a dispute game. Should only be used in the event that a dispute game resolves incorrectly."},"checkWithdrawal(bytes32,address)":{notice:"Checks if a withdrawal can be finalized. This function will revert if the withdrawal cannot be finalized, and otherwise has no side-effects."},constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"disputeGameBlacklist(address)":{notice:"A mapping of dispute game addresses to whether or not they are blacklisted."},"disputeGameFactory()":{notice:"Address of the DisputeGameFactory."},"disputeGameFinalityDelaySeconds()":{notice:"Getter for the dispute game finality delay."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{notice:"Finalizes a withdrawal transaction, using an external proof submitter."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{notice:"Initializer."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"numProofSubmitters(bytes32)":{notice:"External getter for the number of proof submitters for a withdrawal hash."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proofMaturityDelaySeconds()":{notice:"Getter for the proof maturity delay."},"proofSubmitters(bytes32,uint256)":{notice:"Mapping of withdrawal hashes to addresses that have submitted a proof for the withdrawal."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32,address)":{notice:"A mapping of withdrawal hashes to proof submitters to `ProvenWithdrawal` data."},"respectedGameType()":{notice:"The game type that the OptimismPortal consults for output proposals."},"respectedGameTypeUpdatedAt()":{notice:"The timestamp at which the respected game type was last updated."},"setRespectedGameType(uint32)":{notice:"Sets the respected game type. Changing this value can alter the security properties of the system, depending on the new game's behavior."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},events:{"TransactionDeposited(address,address,uint256,bytes)":{notice:"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{notice:"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{notice:"Emitted when a withdrawal transaction is proven."}},notice:"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface."},devdoc:{version:1,kind:"dev",methods:{"GUARDIAN()":{returns:{_0:"Address of the guardian."}},"SYSTEM_CONFIG()":{returns:{_0:"Contract of the SystemConfig on this chain."}},"blacklistDisputeGame(address)":{params:{_disputeGame:"Dispute game to blacklist."}},"checkWithdrawal(bytes32,address)":{params:{_proofSubmitter:"The submitter of the proof for the withdrawal hash",_withdrawalHash:"Hash of the withdrawal to check."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{params:{_proofSubmitter:"Address of the proof submitter.",_tx:"Withdrawal transaction to finalize."}},"guardian()":{returns:{_0:"Address of the guardian."}},"initialize(address,address,address)":{params:{_disputeGameFactory:"Contract of the DisputeGameFactory.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"numProofSubmitters(bytes32)":{params:{_withdrawalHash:"Hash of the withdrawal."},returns:{_0:"The number of proof submitters for the withdrawal hash."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_disputeGameIndex:"Index of the dispute game to prove the withdrawal against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}},"setRespectedGameType(uint32)":{params:{_gameType:"The game type to consult for output proposals."}}},events:{"TransactionDeposited(address,address,uint256,bytes)":{params:{from:"Address that triggered the deposit transaction.",opaqueData:"ABI encoded deposit data to be parsed off-chain.",to:"Address that the deposit transaction is directed to.",version:"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{params:{success:"Whether the withdrawal transaction was successful.",withdrawalHash:"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{params:{from:"Address that triggered the withdrawal transaction.",to:"Address that the withdrawal transaction is directed to.",withdrawalHash:"Hash of the withdrawal transaction."}}}},id:131}});var VKe=D((i6a,qHt)=>{qHt.exports={abi:[{type:"constructor",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_absolutePrestate",type:"bytes32",internalType:"Claim"},{name:"_maxGameDepth",type:"uint256",internalType:"uint256"},{name:"_splitDepth",type:"uint256",internalType:"uint256"},{name:"_gameDuration",type:"uint64",internalType:"Duration"},{name:"_vm",type:"address",internalType:"contract IBigStepper"},{name:"_weth",type:"address",internalType:"contract IDelayedWETH"},{name:"_anchorStateRegistry",type:"address",internalType:"contract IAnchorStateRegistry"},{name:"_l2ChainId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"absolutePrestate",inputs:[],outputs:[{name:"absolutePrestate_",type:"bytes32",internalType:"Claim"}],stateMutability:"view"},{type:"function",name:"addLocalData",inputs:[{name:"_ident",type:"uint256",internalType:"uint256"},{name:"_execLeafIdx",type:"uint256",internalType:"uint256"},{name:"_partOffset",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"attack",inputs:[{name:"_parentIndex",type:"uint256",internalType:"uint256"},{name:"_claim",type:"bytes32",internalType:"Claim"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCredit",inputs:[{name:"_recipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claimData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"parentIndex",type:"uint32",internalType:"uint32"},{name:"counteredBy",type:"address",internalType:"address"},{name:"claimant",type:"address",internalType:"address"},{name:"bond",type:"uint128",internalType:"uint128"},{name:"claim",type:"bytes32",internalType:"Claim"},{name:"position",type:"uint128",internalType:"Position"},{name:"clock",type:"uint128",internalType:"Clock"}],stateMutability:"view"},{type:"function",name:"claimDataLen",inputs:[],outputs:[{name:"len_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"createdAt",inputs:[],outputs:[{name:"",type:"uint64",internalType:"Timestamp"}],stateMutability:"view"},{type:"function",name:"credit",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"defend",inputs:[{name:"_parentIndex",type:"uint256",internalType:"uint256"},{name:"_claim",type:"bytes32",internalType:"Claim"}],outputs:[],stateMutability:"payable"},{type:"function",name:"extraData",inputs:[],outputs:[{name:"extraData_",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"gameData",inputs:[],outputs:[{name:"gameType_",type:"uint32",internalType:"GameType"},{name:"rootClaim_",type:"bytes32",internalType:"Claim"},{name:"extraData_",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"gameDuration",inputs:[],outputs:[{name:"gameDuration_",type:"uint64",internalType:"Duration"}],stateMutability:"view"},{type:"function",name:"gameType",inputs:[],outputs:[{name:"gameType_",type:"uint32",internalType:"GameType"}],stateMutability:"view"},{type:"function",name:"getRequiredBond",inputs:[{name:"_position",type:"uint128",internalType:"Position"}],outputs:[{name:"requiredBond_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"l1Head",inputs:[],outputs:[{name:"l1Head_",type:"bytes32",internalType:"Hash"}],stateMutability:"pure"},{type:"function",name:"l2BlockNumber",inputs:[],outputs:[{name:"l2BlockNumber_",type:"uint256",internalType:"uint256"}],stateMutability:"pure"},{type:"function",name:"l2ChainId",inputs:[],outputs:[{name:"l2ChainId_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxGameDepth",inputs:[],outputs:[{name:"maxGameDepth_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"move",inputs:[{name:"_challengeIndex",type:"uint256",internalType:"uint256"},{name:"_claim",type:"bytes32",internalType:"Claim"},{name:"_isAttack",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"payable"},{type:"function",name:"resolve",inputs:[],outputs:[{name:"status_",type:"uint8",internalType:"enum GameStatus"}],stateMutability:"nonpayable"},{type:"function",name:"resolveClaim",inputs:[{name:"_claimIndex",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"resolvedAt",inputs:[],outputs:[{name:"",type:"uint64",internalType:"Timestamp"}],stateMutability:"view"},{type:"function",name:"rootClaim",inputs:[],outputs:[{name:"rootClaim_",type:"bytes32",internalType:"Claim"}],stateMutability:"pure"},{type:"function",name:"splitDepth",inputs:[],outputs:[{name:"splitDepth_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingBlockNumber",inputs:[],outputs:[{name:"startingBlockNumber_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingOutputRoot",inputs:[],outputs:[{name:"root",type:"bytes32",internalType:"Hash"},{name:"l2BlockNumber",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingRootHash",inputs:[],outputs:[{name:"startingRootHash_",type:"bytes32",internalType:"Hash"}],stateMutability:"view"},{type:"function",name:"status",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum GameStatus"}],stateMutability:"view"},{type:"function",name:"step",inputs:[{name:"_claimIndex",type:"uint256",internalType:"uint256"},{name:"_isAttack",type:"bool",internalType:"bool"},{name:"_stateData",type:"bytes",internalType:"bytes"},{name:"_proof",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"vm",inputs:[],outputs:[{name:"vm_",type:"address",internalType:"contract IBigStepper"}],stateMutability:"view"},{type:"function",name:"weth",inputs:[],outputs:[{name:"weth_",type:"address",internalType:"contract IDelayedWETH"}],stateMutability:"view"},{type:"event",name:"Move",inputs:[{name:"parentIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claim",type:"bytes32",indexed:!0,internalType:"Claim"},{name:"claimant",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"Resolved",inputs:[{name:"status",type:"uint8",indexed:!0,internalType:"enum GameStatus"}],anonymous:!1},{type:"error",name:"AlreadyInitialized",inputs:[]},{type:"error",name:"AnchorRootNotFound",inputs:[]},{type:"error",name:"BondTransferFailed",inputs:[]},{type:"error",name:"CannotDefendRootClaim",inputs:[]},{type:"error",name:"ClaimAboveSplit",inputs:[]},{type:"error",name:"ClaimAlreadyExists",inputs:[]},{type:"error",name:"ClaimAlreadyResolved",inputs:[]},{type:"error",name:"ClockNotExpired",inputs:[]},{type:"error",name:"ClockTimeExceeded",inputs:[]},{type:"error",name:"DuplicateStep",inputs:[]},{type:"error",name:"GameDepthExceeded",inputs:[]},{type:"error",name:"GameNotInProgress",inputs:[]},{type:"error",name:"IncorrectBondAmount",inputs:[]},{type:"error",name:"InvalidLocalIdent",inputs:[]},{type:"error",name:"InvalidParent",inputs:[]},{type:"error",name:"InvalidPrestate",inputs:[]},{type:"error",name:"InvalidSplitDepth",inputs:[]},{type:"error",name:"NoCreditToClaim",inputs:[]},{type:"error",name:"OutOfOrderResolution",inputs:[]},{type:"error",name:"UnexpectedRootClaim",inputs:[{name:"rootClaim",type:"bytes32",internalType:"Claim"}]},{type:"error",name:"ValidStep",inputs:[]}],bytecode:{object:"0x6101a06040523480156200001257600080fd5b5060405162004944380380620049448339810160408190526200003591620000d0565b868610620000565760405163e62ccf3960e01b815260040160405180910390fd5b63ffffffff9098166101205260809690965260a09490945260c0929092526001600160401b031660e0526001600160a01b03908116610100529081166101405216610160526101805262000183565b6001600160a01b0381168114620000bb57600080fd5b50565b8051620000cb81620000a5565b919050565b60008060008060008060008060006101208a8c031215620000f057600080fd5b895163ffffffff811681146200010557600080fd5b60208b015160408c015160608d015160808e0151939c50919a50985096506001600160401b03811681146200013957600080fd5b60a08b01519095506200014c81620000a5565b93506200015c60c08b01620000be565b92506200016c60e08b01620000be565b91506101008a015190509295985092959850929598565b60805160a05160c05160e0516101005161012051610140516101605161018051614693620002b16000396000818161068f01526126390152600081816109bf015261153601526000818161032001528181610b14015281816113ec015281816118ed0152613b5901526000818161050e015281816114f501526126d30152600081816102cc01528181611fa601526123020152600081816106e201528181611017015261283101526000818161071501528181610e0501528181610ece01528181611e010152818161250101528181612c72015281816133af015281816134dd015281816135e501526136c101526000818161078c01528181610e7101528181611a5f01528181611ae501528181611cf00152611e220152600081816104d30152611eb801526146936000f3fe6080604052600436106101e75760003560e01c80638b85902b1161010e578063d5d44d80116100a7578063ec5e630811610079578063fa24f74311610061578063fa24f74314610759578063fa315aa91461077d578063fdffbb28146107b057005b8063ec5e630814610706578063f8f43ff61461073957005b8063d5d44d8014610653578063d6ae3cd514610680578063d8cc1a3c146106b3578063e1f0c376146106d357005b8063c395e1ca116100e0578063c395e1ca14610575578063c55cd0c714610595578063c6f0308c146105a8578063cf09e0d01461063257005b80638b85902b146104845780638d450a95146104c4578063bbdc02db146104f7578063bcef3b551461053857005b806357da950e116101805780636361506d116101525780636361506d1461041257806370872aa5146104525780638129fc1c146104675780638980e0cc1461046f57005b806357da950e1461039a578063609d3334146103ca57806360e27464146103df578063632247ea146103ff57005b806335fef567116101b957806335fef567146102aa5780633a768463146102bd5780633fc8cef31461031157806354fd4d501461034457005b806319effeb4146101f0578063200d2ed21461023b57806325fc2ace146102765780632810e1d61461029557005b366101ee57005b005b3480156101fc57600080fd5b5060005461021d9068010000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b34801561024757600080fd5b5060005461026990700100000000000000000000000000000000900460ff1681565b6040516102329190613f34565b34801561028257600080fd5b506006545b604051908152602001610232565b3480156102a157600080fd5b506102696107c3565b6101ee6102b8366004613f75565b610a40565b3480156102c957600080fd5b507f00000000000000000000000000000000000000000000000000000000000000005b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610232565b34801561031d57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006102ec565b34801561035057600080fd5b5061038d6040518060400160405280600581526020017f302e392e3000000000000000000000000000000000000000000000000000000081525081565b6040516102329190614002565b3480156103a657600080fd5b506006546007546103b5919082565b60408051928352602083019190915201610232565b3480156103d657600080fd5b5061038d610a50565b3480156103eb57600080fd5b506101ee6103fa366004614037565b610a63565b6101ee61040d366004614070565b610c0f565b34801561041e57600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360200135610287565b34801561045e57600080fd5b50600754610287565b6101ee611486565b34801561047b57600080fd5b50600154610287565b34801561049057600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360400135610287565b3480156104d057600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b34801561050357600080fd5b5060405163ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610232565b34801561054457600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900335610287565b34801561058157600080fd5b506102876105903660046140a5565b6119b2565b6101ee6105a3366004613f75565b611b9c565b3480156105b457600080fd5b506105c86105c33660046140d7565b611ba8565b6040805163ffffffff909816885273ffffffffffffffffffffffffffffffffffffffff968716602089015295909416948601949094526fffffffffffffffffffffffffffffffff9182166060860152608085015291821660a08401521660c082015260e001610232565b34801561063e57600080fd5b5060005461021d9067ffffffffffffffff1681565b34801561065f57600080fd5b5061028761066e366004614037565b60026020526000908152604090205481565b34801561068c57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b3480156106bf57600080fd5b506101ee6106ce366004614139565b611c3f565b3480156106df57600080fd5b507f000000000000000000000000000000000000000000000000000000000000000061021d565b34801561071257600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b34801561074557600080fd5b506101ee6107543660046141c3565b612274565b34801561076557600080fd5b5061076e6126d1565b604051610232939291906141ef565b34801561078957600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b6101ee6107be3660046140d7565b61272e565b600080600054700100000000000000000000000000000000900460ff1660028111156107f1576107f1613f05565b14610828576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055460ff16610864576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660016000815481106108905761089061421d565b6000918252602090912060059091020154640100000000900473ffffffffffffffffffffffffffffffffffffffff16146108cb5760016108ce565b60025b6000805467ffffffffffffffff421668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff82168117835592935083927fffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffff000000000000000000ffffffffffffffff9091161770010000000000000000000000000000000083600281111561097f5761097f613f05565b02179055600281111561099457610994613f05565b6040517f5e186f09b9c93491f14e277eea7faa5de6a2d4bda75a79af7a3684fbfb42da6090600090a27f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663838c2d1e6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610a2557600080fd5b505af1158015610a39573d6000803e3d6000fd5b5050505090565b610a4c82826000610c0f565b5050565b6060610a5e60406020612b8f565b905090565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040812080549082905590819003610ac8576040517f17bfe5f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517ff3fef3a300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063f3fef3a390604401600060405180830381600087803b158015610b5857600080fd5b505af1158015610b6c573d6000803e3d6000fd5b5050505060008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610bca576040519150601f19603f3d011682016040523d82523d6000602084013e610bcf565b606091505b5050905080610c0a576040517f83e6cc6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60008054700100000000000000000000000000000000900460ff166002811115610c3b57610c3b613f05565b14610c72576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018481548110610c8757610c8761421d565b600091825260208083206040805160e0810182526005909402909101805463ffffffff808216865273ffffffffffffffffffffffffffffffffffffffff6401000000009092048216948601949094526001820154169184019190915260028101546fffffffffffffffffffffffffffffffff90811660608501526003820154608085015260049091015480821660a0850181905270010000000000000000000000000000000090910490911660c0840152919350909190610d4c9083908690612c2616565b90506000610dec826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169050861580610e2e5750610e2b7f0000000000000000000000000000000000000000000000000000000000000000600261427b565b81145b8015610e38575084155b15610e6f576040517fa42637bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000811115610ec9576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ef47f0000000000000000000000000000000000000000000000000000000000000000600161427b565b8103610f0657610f0686888588612c2e565b34610f10836119b2565b14610f47576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b835160009063ffffffff90811614610fa7576001856000015163ffffffff1681548110610f7657610f7661421d565b906000526020600020906005020160040160109054906101000a90046fffffffffffffffffffffffffffffffff1690505b60c0850151600090610fcb9067ffffffffffffffff165b67ffffffffffffffff1690565b67ffffffffffffffff1642610ff5610fbe856fffffffffffffffffffffffffffffffff1660401c90565b67ffffffffffffffff16611009919061427b565b6110139190614293565b90507f000000000000000000000000000000000000000000000000000000000000000060011c677fffffffffffffff1667ffffffffffffffff82161115611086576040517f3381d11400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000604082901b421760008a8152608087901b6fffffffffffffffffffffffffffffffff8d1617602052604081209192509060008181526003602052604090205490915060ff1615611104576040517f80497e3b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016003600083815260200190815260200160002060006101000a81548160ff02191690831515021790555060016040518060e001604052808d63ffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001346fffffffffffffffffffffffffffffffff1681526020018c8152602001886fffffffffffffffffffffffffffffffff168152602001846fffffffffffffffffffffffffffffffff16815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160020160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506080820151816003015560a08201518160040160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060c08201518160040160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055505050600460008c8152602001908152602001600020600180805490506113999190614293565b81546001810183556000928352602083200155604080517fd0e30db0000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169263d0e30db09234926004808301939282900301818588803b15801561143157600080fd5b505af1158015611445573d6000803e3d6000fd5b50506040513393508d92508e91507f9b3245740ec3b155098a55be84957a4da13eaf7f14a8bc6f53126c0b9350f2be90600090a45050505050505050505050565b600554610100900460ff16156114c8576040517f0dc149f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f7258a80700000000000000000000000000000000000000000000000000000000815263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000166004820152600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690637258a807906024016040805180830381865afa15801561157c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a091906142aa565b9092509050816115dc576040517f6a6bc3b200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080518082018252838152602001829052600683905560078290558190367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900301351161168e576040517ff40239db000000000000000000000000000000000000000000000000000000008152367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90033560048201526024015b60405180910390fd5b60663611156116a55763c407e0256000526004601cfd5b6040805160e08101825263ffffffff808252600060208301818152328486019081526fffffffffffffffffffffffffffffffff34818116606088019081527ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe369081013560f01c90033560808901908152600160a08a0181815242861660c08c0190815282548084018455928a529a5160059092027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018054995173ffffffffffffffffffffffffffffffffffffffff908116640100000000027fffffffffffffffff000000000000000000000000000000000000000000000000909b1694909c16939093179890981790915594517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf787018054918a167fffffffffffffffffffffffff000000000000000000000000000000000000000090921691909117905590517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf8860180549185167fffffffffffffffffffffffffffffffff00000000000000000000000000000000909216919091179055517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf9850155915195518116700100000000000000000000000000000000029516949094177fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfa9091015583517fd0e30db000000000000000000000000000000000000000000000000000000000815293517f00000000000000000000000000000000000000000000000000000000000000009092169363d0e30db093926004828101939282900301818588803b15801561193357600080fd5b505af1158015611947573d6000803e3d6000fd5b50506000805467ffffffffffffffff42167fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009091161790555050600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055505050565b600080611a51836fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1690507f0000000000000000000000000000000000000000000000000000000000000000811115611ab7576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b642e90edd00062061a80630bebc2006000611ad283836142fd565b9050670de0b6b3a76400006000611b09827f0000000000000000000000000000000000000000000000000000000000000000614311565b90506000611b27611b22670de0b6b3a764000086614311565b612def565b90506000611b35848461304a565b90506000611b438383613099565b90506000611b50826130c7565b90506000611b6f82611b6a670de0b6b3a76400008f614311565b6132af565b90506000611b7d8b83613099565b9050611b89818d614311565b9f9e505050505050505050505050505050565b610a4c82826001610c0f565b60018181548110611bb857600080fd5b60009182526020909120600590910201805460018201546002830154600384015460049094015463ffffffff8416955064010000000090930473ffffffffffffffffffffffffffffffffffffffff908116949216926fffffffffffffffffffffffffffffffff91821692918082169170010000000000000000000000000000000090041687565b60008054700100000000000000000000000000000000900460ff166002811115611c6b57611c6b613f05565b14611ca2576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018781548110611cb757611cb761421d565b6000918252602082206005919091020160048101549092506fffffffffffffffffffffffffffffffff16908715821760011b9050611d167f0000000000000000000000000000000000000000000000000000000000000000600161427b565b611db2826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1614611df3576040517f5f53dd9800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000808915611ee257611e467f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000614293565b6001901b611e65846fffffffffffffffffffffffffffffffff166132e9565b67ffffffffffffffff16611e79919061434e565b15611eb657611ead611e9e60016fffffffffffffffffffffffffffffffff8716614362565b865463ffffffff16600061338f565b60030154611ed8565b7f00000000000000000000000000000000000000000000000000000000000000005b9150849050611f0c565b60038501549150611f09611e9e6fffffffffffffffffffffffffffffffff86166001614393565b90505b600882901b60088a8a604051611f239291906143c7565b6040518091039020901b14611f64576040517f696550ff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611f6f8c613473565b90506000611f7e836003015490565b6040517fe14ced320000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e14ced3290611ff8908f908f908f908f908a90600401614420565b6020604051808303816000875af1158015612017573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203b919061445a565b6004850154911491506000906002906120e6906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b612182896fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b61218c9190614473565b6121969190614494565b67ffffffffffffffff1615905081151581036121de576040517ffb4e40dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8754640100000000900473ffffffffffffffffffffffffffffffffffffffff1615612235576040517f9071e6af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505085547fffffffffffffffff0000000000000000000000000000000000000000ffffffff163364010000000002179095555050505050505050505050565b60008054700100000000000000000000000000000000900460ff1660028111156122a0576122a0613f05565b146122d7576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000806122e6866134a2565b935093509350935060006122fc858585856138b1565b905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637dc0d1d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561236b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238f91906144bb565b9050600189036124875773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a846123eb367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90036020013590565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815260048101939093526024830191909152604482015260206064820152608481018a905260a4015b6020604051808303816000875af115801561245d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612481919061445a565b506126c6565b600289036124b35773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a84896123eb565b600389036124df5773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a84876123eb565b600489036125fb5760006125256fffffffffffffffffffffffffffffffff85167f0000000000000000000000000000000000000000000000000000000000000000613970565b600754612532919061427b565b61253d90600161427b565b905073ffffffffffffffffffffffffffffffffffffffff82166352f0f3ad8b8560405160e084901b7fffffffff000000000000000000000000000000000000000000000000000000001681526004810192909252602482015260c084901b604482015260086064820152608481018b905260a4016020604051808303816000875af11580156125d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f4919061445a565b50506126c6565b60058903612694576040517f52f0f3ad000000000000000000000000000000000000000000000000000000008152600481018a9052602481018390527f000000000000000000000000000000000000000000000000000000000000000060c01b6044820152600860648201526084810188905273ffffffffffffffffffffffffffffffffffffffff8216906352f0f3ad9060a40161243e565b6040517fff137e6500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050505050505050565b7f0000000000000000000000000000000000000000000000000000000000000000367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c9003356060612727610a50565b9050909192565b60008054700100000000000000000000000000000000900460ff16600281111561275a5761275a613f05565b14612791576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600182815481106127a6576127a661421d565b6000918252602082206005919091020160048101549092506127e890700100000000000000000000000000000000900460401c67ffffffffffffffff16610fbe565b600483015490915060009061281a90700100000000000000000000000000000000900467ffffffffffffffff16610fbe565b6128249042614473565b9050677fffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000060011c1661285e82846144d8565b67ffffffffffffffff161161289f576040517ff2440b5300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008481526004602052604090208054851580156128bf575060055460ff165b156128f6576040517ff1a9458100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015801561290357508515155b15612968578454640100000000900473ffffffffffffffffffffffffffffffffffffffff16600081156129365781612952565b600187015473ffffffffffffffffffffffffffffffffffffffff165b905061295e8188613a25565b5050505050505050565b60006fffffffffffffffffffffffffffffffff815b83811015612aae5760008582815481106129995761299961421d565b60009182526020808320909101548083526004909152604090912054909150156129ef576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018281548110612a0457612a0461421d565b600091825260209091206005909102018054909150640100000000900473ffffffffffffffffffffffffffffffffffffffff16158015612a5d575060048101546fffffffffffffffffffffffffffffffff908116908516115b15612a9b576001810154600482015473ffffffffffffffffffffffffffffffffffffffff90911695506fffffffffffffffffffffffffffffffff1693505b505080612aa7906144fb565b905061297d565b50612af673ffffffffffffffffffffffffffffffffffffffff831615612ad45782612af0565b600188015473ffffffffffffffffffffffffffffffffffffffff165b88613a25565b86547fffffffffffffffff0000000000000000000000000000000000000000ffffffff1664010000000073ffffffffffffffffffffffffffffffffffffffff8416021787556000888152600460205260408120612b5291613ecb565b8760000361295e57600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555050505050505050565b60606000612bc684367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900361427b565b90508267ffffffffffffffff1667ffffffffffffffff811115612beb57612beb614533565b6040519080825280601f01601f191660200182016040528015612c15576020820181803683370190505b509150828160208401375092915050565b151760011b90565b6000612c4d6fffffffffffffffffffffffffffffffff84166001614393565b90506000612c5d8286600161338f565b9050600086901a8380612d505750612c9660027f000000000000000000000000000000000000000000000000000000000000000061434e565b6004830154600290612d3a906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b612d449190614494565b67ffffffffffffffff16145b15612da85760ff811660011480612d6a575060ff81166002145b612da3576040517ff40239db00000000000000000000000000000000000000000000000000000000815260048101889052602401611685565b612de6565b60ff811615612de6576040517ff40239db00000000000000000000000000000000000000000000000000000000815260048101889052602401611685565b50505050505050565b6fffffffffffffffffffffffffffffffff811160071b81811c67ffffffffffffffff1060061b1781811c63ffffffff1060051b1781811c61ffff1060041b1781811c60ff1060031b1760008213612e4e57631615e6386000526004601cfd5b7ff8f9f9faf9fdfafbf9fdfcfdfafbfcfef9fafdfafcfcfbfefafafcfbffffffff6f8421084210842108cc6318c6db6d54be83831c1c601f161a1890811b609f90811c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506029190037d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b302017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d90565b60007812725dd1d243aba0e75fe645cc4873f9e65afe688c928e1f218311670de0b6b3a76400000215820261308757637c5f487d6000526004601cfd5b50670de0b6b3a7640000919091020490565b6000816000190483118202156130b75763bac65e5b6000526004601cfd5b50670de0b6b3a764000091020490565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdc0d0570925a462d782136130f557919050565b680755bf798b4a1bf1e582126131135763a37bfec96000526004601cfd5b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b60006132e0670de0b6b3a7640000836132c786612def565b6132d19190614562565b6132db919061461e565b6130c7565b90505b92915050565b600080613376837e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b600167ffffffffffffffff919091161b90920392915050565b600080826133d8576133d36fffffffffffffffffffffffffffffffff86167f0000000000000000000000000000000000000000000000000000000000000000613bb1565b6133f3565b6133f3856fffffffffffffffffffffffffffffffff16613d6f565b9050600184815481106134085761340861421d565b906000526020600020906005020191505b60048201546fffffffffffffffffffffffffffffffff82811691161461346b57815460018054909163ffffffff169081106134565761345661421d565b90600052602060002090600502019150613419565b509392505050565b6000806000806000613484866134a2565b9350935093509350613498848484846138b1565b9695505050505050565b60008060008060008590506000600182815481106134c2576134c261421d565b600091825260209091206004600590920201908101549091507f000000000000000000000000000000000000000000000000000000000000000090613599906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16116135da576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000815b60048301547f0000000000000000000000000000000000000000000000000000000000000000906136a1906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16925082111561371d57825463ffffffff166136e77f0000000000000000000000000000000000000000000000000000000000000000600161427b565b83036136f1578391505b600181815481106137045761370461421d565b90600052602060002090600502019350809450506135de565b600481810154908401546fffffffffffffffffffffffffffffffff91821691166000816fffffffffffffffffffffffffffffffff16613786613771856fffffffffffffffffffffffffffffffff1660011c90565b6fffffffffffffffffffffffffffffffff1690565b6fffffffffffffffffffffffffffffffff16149050801561384d5760006137be836fffffffffffffffffffffffffffffffff166132e9565b67ffffffffffffffff1611156138215760006137f86137f060016fffffffffffffffffffffffffffffffff8616614362565b89600161338f565b6003810154600490910154909c506fffffffffffffffffffffffffffffffff169a506138279050565b6006549a505b600386015460048701549099506fffffffffffffffffffffffffffffffff1697506138a3565b600061386f6137f06fffffffffffffffffffffffffffffffff85166001614393565b6003808901546004808b015492840154930154909e506fffffffffffffffffffffffffffffffff9182169d50919b50169850505b505050505050509193509193565b60006fffffffffffffffffffffffffffffffff841681036139175782826040516020016138fa9291909182526fffffffffffffffffffffffffffffffff16602082015260400190565b604051602081830303815290604052805190602001209050613968565b60408051602081018790526fffffffffffffffffffffffffffffffff8087169282019290925260608101859052908316608082015260a0016040516020818303038152906040528051906020012090505b949350505050565b6000806139fd847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1690508083036001841b600180831b0386831b17039250505092915050565b60028101546fffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffff000000000000000000000000000000018101613a95576040517ff1a9458100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280830180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff17905573ffffffffffffffffffffffffffffffffffffffff84166000908152602091909152604081208054839290613b0890849061427b565b90915550506040517f7eee288d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152602482018390527f00000000000000000000000000000000000000000000000000000000000000001690637eee288d90604401600060405180830381600087803b158015613b9d57600080fd5b505af1158015612de6573d6000803e3d6000fd5b600081613c50846fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1611613c91576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613c9a83613d6f565b905081613d39826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16116132e3576132e0613d5683600161427b565b6fffffffffffffffffffffffffffffffff831690613e1b565b60008119600183011681613e03827e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169390931c8015179392505050565b600080613ea8847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169050808303600180821b0385821b179250505092915050565b5080546000825590600052602060002090810190613ee99190613eec565b50565b5b80821115613f015760008155600101613eed565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160038310613f6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b60008060408385031215613f8857600080fd5b50508035926020909101359150565b6000815180845260005b81811015613fbd57602081850181015186830182015201613fa1565b81811115613fcf576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006132e06020830184613f97565b73ffffffffffffffffffffffffffffffffffffffff81168114613ee957600080fd5b60006020828403121561404957600080fd5b813561405481614015565b9392505050565b8035801515811461406b57600080fd5b919050565b60008060006060848603121561408557600080fd5b833592506020840135915061409c6040850161405b565b90509250925092565b6000602082840312156140b757600080fd5b81356fffffffffffffffffffffffffffffffff8116811461405457600080fd5b6000602082840312156140e957600080fd5b5035919050565b60008083601f84011261410257600080fd5b50813567ffffffffffffffff81111561411a57600080fd5b60208301915083602082850101111561413257600080fd5b9250929050565b6000806000806000806080878903121561415257600080fd5b863595506141626020880161405b565b9450604087013567ffffffffffffffff8082111561417f57600080fd5b61418b8a838b016140f0565b909650945060608901359150808211156141a457600080fd5b506141b189828a016140f0565b979a9699509497509295939492505050565b6000806000606084860312156141d857600080fd5b505081359360208301359350604090920135919050565b63ffffffff841681528260208201526060604082015260006142146060830184613f97565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561428e5761428e61424c565b500190565b6000828210156142a5576142a561424c565b500390565b600080604083850312156142bd57600080fd5b505080516020909101519092909150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261430c5761430c6142ce565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143495761434961424c565b500290565b60008261435d5761435d6142ce565b500690565b60006fffffffffffffffffffffffffffffffff8381169083168181101561438b5761438b61424c565b039392505050565b60006fffffffffffffffffffffffffffffffff8083168185168083038211156143be576143be61424c565b01949350505050565b8183823760009101908152919050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6060815260006144346060830187896143d7565b82810360208401526144478186886143d7565b9150508260408301529695505050505050565b60006020828403121561446c57600080fd5b5051919050565b600067ffffffffffffffff8381169083168181101561438b5761438b61424c565b600067ffffffffffffffff808416806144af576144af6142ce565b92169190910692915050565b6000602082840312156144cd57600080fd5b815161405481614015565b600067ffffffffffffffff8083168185168083038211156143be576143be61424c565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361452c5761452c61424c565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000841360008413858304851182821616156145a3576145a361424c565b7f800000000000000000000000000000000000000000000000000000000000000060008712868205881281841616156145de576145de61424c565b600087129250878205871284841616156145fa576145fa61424c565b878505871281841616156146105761461061424c565b505050929093029392505050565b60008261462d5761462d6142ce565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f8000000000000000000000000000000000000000000000000000000000000000831416156146815761468161424c565b50059056fea164736f6c634300080f000a",sourceMap:"995:41106:159:-:0;;;4670:783;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5084:13;5069:11;:28;5065:60;;5106:19;;-1:-1:-1;;;5106:19:159;;;;;;;;;;;5065:60;5136:21;;;;;;5167:37;;;;;-1:-1:-1;5214:30:159;;;;5254:25;;;;;-1:-1:-1;;;;;5289:29:159;;;-1:-1:-1;;;;;5328:8:159;;;;;5346:12;;;;;5368:44;;;5422:24;;995:41106;;14:144:350;-1:-1:-1;;;;;102:31:350;;92:42;;82:70;;148:1;145;138:12;82:70;14:144;:::o;163:164::-;255:13;;277:44;255:13;277:44;:::i;:::-;163:164;;;:::o;332:1208::-;634:6;642;650;658;666;674;682;690;698;751:3;739:9;730:7;726:23;722:33;719:53;;;768:1;765;758:12;719:53;800:9;794:16;850:10;843:5;839:22;832:5;829:33;819:61;;876:1;873;866:12;819:61;944:2;929:18;;923:25;988:2;973:18;;967:25;1032:2;1017:18;;1011:25;1081:3;1066:19;;1060:26;899:5;;-1:-1:-1;923:25:350;;-1:-1:-1;967:25:350;-1:-1:-1;1011:25:350;-1:-1:-1;;;;;;1117:32:350;;1105:45;;1095:73;;1164:1;1161;1154:12;1095:73;1239:3;1224:19;;1218:26;1187:7;;-1:-1:-1;1253:46:350;1218:26;1253:46;:::i;:::-;1318:7;-1:-1:-1;1344:63:350;1402:3;1387:19;;1344:63;:::i;:::-;1334:73;;1426:63;1484:3;1473:9;1469:19;1426:63;:::i;:::-;1416:73;;1529:3;1518:9;1514:19;1508:26;1498:36;;332:1208;;;;;;;;;;;:::o;:::-;995:41106:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101e75760003560e01c80638b85902b1161010e578063d5d44d80116100a7578063ec5e630811610079578063fa24f74311610061578063fa24f74314610759578063fa315aa91461077d578063fdffbb28146107b057005b8063ec5e630814610706578063f8f43ff61461073957005b8063d5d44d8014610653578063d6ae3cd514610680578063d8cc1a3c146106b3578063e1f0c376146106d357005b8063c395e1ca116100e0578063c395e1ca14610575578063c55cd0c714610595578063c6f0308c146105a8578063cf09e0d01461063257005b80638b85902b146104845780638d450a95146104c4578063bbdc02db146104f7578063bcef3b551461053857005b806357da950e116101805780636361506d116101525780636361506d1461041257806370872aa5146104525780638129fc1c146104675780638980e0cc1461046f57005b806357da950e1461039a578063609d3334146103ca57806360e27464146103df578063632247ea146103ff57005b806335fef567116101b957806335fef567146102aa5780633a768463146102bd5780633fc8cef31461031157806354fd4d501461034457005b806319effeb4146101f0578063200d2ed21461023b57806325fc2ace146102765780632810e1d61461029557005b366101ee57005b005b3480156101fc57600080fd5b5060005461021d9068010000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b34801561024757600080fd5b5060005461026990700100000000000000000000000000000000900460ff1681565b6040516102329190613f34565b34801561028257600080fd5b506006545b604051908152602001610232565b3480156102a157600080fd5b506102696107c3565b6101ee6102b8366004613f75565b610a40565b3480156102c957600080fd5b507f00000000000000000000000000000000000000000000000000000000000000005b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610232565b34801561031d57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006102ec565b34801561035057600080fd5b5061038d6040518060400160405280600581526020017f302e392e3000000000000000000000000000000000000000000000000000000081525081565b6040516102329190614002565b3480156103a657600080fd5b506006546007546103b5919082565b60408051928352602083019190915201610232565b3480156103d657600080fd5b5061038d610a50565b3480156103eb57600080fd5b506101ee6103fa366004614037565b610a63565b6101ee61040d366004614070565b610c0f565b34801561041e57600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360200135610287565b34801561045e57600080fd5b50600754610287565b6101ee611486565b34801561047b57600080fd5b50600154610287565b34801561049057600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360400135610287565b3480156104d057600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b34801561050357600080fd5b5060405163ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610232565b34801561054457600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900335610287565b34801561058157600080fd5b506102876105903660046140a5565b6119b2565b6101ee6105a3366004613f75565b611b9c565b3480156105b457600080fd5b506105c86105c33660046140d7565b611ba8565b6040805163ffffffff909816885273ffffffffffffffffffffffffffffffffffffffff968716602089015295909416948601949094526fffffffffffffffffffffffffffffffff9182166060860152608085015291821660a08401521660c082015260e001610232565b34801561063e57600080fd5b5060005461021d9067ffffffffffffffff1681565b34801561065f57600080fd5b5061028761066e366004614037565b60026020526000908152604090205481565b34801561068c57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b3480156106bf57600080fd5b506101ee6106ce366004614139565b611c3f565b3480156106df57600080fd5b507f000000000000000000000000000000000000000000000000000000000000000061021d565b34801561071257600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b34801561074557600080fd5b506101ee6107543660046141c3565b612274565b34801561076557600080fd5b5061076e6126d1565b604051610232939291906141ef565b34801561078957600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b6101ee6107be3660046140d7565b61272e565b600080600054700100000000000000000000000000000000900460ff1660028111156107f1576107f1613f05565b14610828576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055460ff16610864576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660016000815481106108905761089061421d565b6000918252602090912060059091020154640100000000900473ffffffffffffffffffffffffffffffffffffffff16146108cb5760016108ce565b60025b6000805467ffffffffffffffff421668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff82168117835592935083927fffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffff000000000000000000ffffffffffffffff9091161770010000000000000000000000000000000083600281111561097f5761097f613f05565b02179055600281111561099457610994613f05565b6040517f5e186f09b9c93491f14e277eea7faa5de6a2d4bda75a79af7a3684fbfb42da6090600090a27f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663838c2d1e6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610a2557600080fd5b505af1158015610a39573d6000803e3d6000fd5b5050505090565b610a4c82826000610c0f565b5050565b6060610a5e60406020612b8f565b905090565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040812080549082905590819003610ac8576040517f17bfe5f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517ff3fef3a300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063f3fef3a390604401600060405180830381600087803b158015610b5857600080fd5b505af1158015610b6c573d6000803e3d6000fd5b5050505060008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610bca576040519150601f19603f3d011682016040523d82523d6000602084013e610bcf565b606091505b5050905080610c0a576040517f83e6cc6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60008054700100000000000000000000000000000000900460ff166002811115610c3b57610c3b613f05565b14610c72576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018481548110610c8757610c8761421d565b600091825260208083206040805160e0810182526005909402909101805463ffffffff808216865273ffffffffffffffffffffffffffffffffffffffff6401000000009092048216948601949094526001820154169184019190915260028101546fffffffffffffffffffffffffffffffff90811660608501526003820154608085015260049091015480821660a0850181905270010000000000000000000000000000000090910490911660c0840152919350909190610d4c9083908690612c2616565b90506000610dec826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169050861580610e2e5750610e2b7f0000000000000000000000000000000000000000000000000000000000000000600261427b565b81145b8015610e38575084155b15610e6f576040517fa42637bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000811115610ec9576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ef47f0000000000000000000000000000000000000000000000000000000000000000600161427b565b8103610f0657610f0686888588612c2e565b34610f10836119b2565b14610f47576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b835160009063ffffffff90811614610fa7576001856000015163ffffffff1681548110610f7657610f7661421d565b906000526020600020906005020160040160109054906101000a90046fffffffffffffffffffffffffffffffff1690505b60c0850151600090610fcb9067ffffffffffffffff165b67ffffffffffffffff1690565b67ffffffffffffffff1642610ff5610fbe856fffffffffffffffffffffffffffffffff1660401c90565b67ffffffffffffffff16611009919061427b565b6110139190614293565b90507f000000000000000000000000000000000000000000000000000000000000000060011c677fffffffffffffff1667ffffffffffffffff82161115611086576040517f3381d11400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000604082901b421760008a8152608087901b6fffffffffffffffffffffffffffffffff8d1617602052604081209192509060008181526003602052604090205490915060ff1615611104576040517f80497e3b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016003600083815260200190815260200160002060006101000a81548160ff02191690831515021790555060016040518060e001604052808d63ffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001346fffffffffffffffffffffffffffffffff1681526020018c8152602001886fffffffffffffffffffffffffffffffff168152602001846fffffffffffffffffffffffffffffffff16815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160020160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506080820151816003015560a08201518160040160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060c08201518160040160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055505050600460008c8152602001908152602001600020600180805490506113999190614293565b81546001810183556000928352602083200155604080517fd0e30db0000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169263d0e30db09234926004808301939282900301818588803b15801561143157600080fd5b505af1158015611445573d6000803e3d6000fd5b50506040513393508d92508e91507f9b3245740ec3b155098a55be84957a4da13eaf7f14a8bc6f53126c0b9350f2be90600090a45050505050505050505050565b600554610100900460ff16156114c8576040517f0dc149f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f7258a80700000000000000000000000000000000000000000000000000000000815263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000166004820152600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690637258a807906024016040805180830381865afa15801561157c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a091906142aa565b9092509050816115dc576040517f6a6bc3b200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080518082018252838152602001829052600683905560078290558190367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900301351161168e576040517ff40239db000000000000000000000000000000000000000000000000000000008152367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90033560048201526024015b60405180910390fd5b60663611156116a55763c407e0256000526004601cfd5b6040805160e08101825263ffffffff808252600060208301818152328486019081526fffffffffffffffffffffffffffffffff34818116606088019081527ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe369081013560f01c90033560808901908152600160a08a0181815242861660c08c0190815282548084018455928a529a5160059092027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018054995173ffffffffffffffffffffffffffffffffffffffff908116640100000000027fffffffffffffffff000000000000000000000000000000000000000000000000909b1694909c16939093179890981790915594517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf787018054918a167fffffffffffffffffffffffff000000000000000000000000000000000000000090921691909117905590517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf8860180549185167fffffffffffffffffffffffffffffffff00000000000000000000000000000000909216919091179055517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf9850155915195518116700100000000000000000000000000000000029516949094177fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfa9091015583517fd0e30db000000000000000000000000000000000000000000000000000000000815293517f00000000000000000000000000000000000000000000000000000000000000009092169363d0e30db093926004828101939282900301818588803b15801561193357600080fd5b505af1158015611947573d6000803e3d6000fd5b50506000805467ffffffffffffffff42167fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009091161790555050600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055505050565b600080611a51836fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1690507f0000000000000000000000000000000000000000000000000000000000000000811115611ab7576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b642e90edd00062061a80630bebc2006000611ad283836142fd565b9050670de0b6b3a76400006000611b09827f0000000000000000000000000000000000000000000000000000000000000000614311565b90506000611b27611b22670de0b6b3a764000086614311565b612def565b90506000611b35848461304a565b90506000611b438383613099565b90506000611b50826130c7565b90506000611b6f82611b6a670de0b6b3a76400008f614311565b6132af565b90506000611b7d8b83613099565b9050611b89818d614311565b9f9e505050505050505050505050505050565b610a4c82826001610c0f565b60018181548110611bb857600080fd5b60009182526020909120600590910201805460018201546002830154600384015460049094015463ffffffff8416955064010000000090930473ffffffffffffffffffffffffffffffffffffffff908116949216926fffffffffffffffffffffffffffffffff91821692918082169170010000000000000000000000000000000090041687565b60008054700100000000000000000000000000000000900460ff166002811115611c6b57611c6b613f05565b14611ca2576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018781548110611cb757611cb761421d565b6000918252602082206005919091020160048101549092506fffffffffffffffffffffffffffffffff16908715821760011b9050611d167f0000000000000000000000000000000000000000000000000000000000000000600161427b565b611db2826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1614611df3576040517f5f53dd9800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000808915611ee257611e467f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000614293565b6001901b611e65846fffffffffffffffffffffffffffffffff166132e9565b67ffffffffffffffff16611e79919061434e565b15611eb657611ead611e9e60016fffffffffffffffffffffffffffffffff8716614362565b865463ffffffff16600061338f565b60030154611ed8565b7f00000000000000000000000000000000000000000000000000000000000000005b9150849050611f0c565b60038501549150611f09611e9e6fffffffffffffffffffffffffffffffff86166001614393565b90505b600882901b60088a8a604051611f239291906143c7565b6040518091039020901b14611f64576040517f696550ff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611f6f8c613473565b90506000611f7e836003015490565b6040517fe14ced320000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e14ced3290611ff8908f908f908f908f908a90600401614420565b6020604051808303816000875af1158015612017573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203b919061445a565b6004850154911491506000906002906120e6906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b612182896fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b61218c9190614473565b6121969190614494565b67ffffffffffffffff1615905081151581036121de576040517ffb4e40dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8754640100000000900473ffffffffffffffffffffffffffffffffffffffff1615612235576040517f9071e6af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505085547fffffffffffffffff0000000000000000000000000000000000000000ffffffff163364010000000002179095555050505050505050505050565b60008054700100000000000000000000000000000000900460ff1660028111156122a0576122a0613f05565b146122d7576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000806122e6866134a2565b935093509350935060006122fc858585856138b1565b905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637dc0d1d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561236b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238f91906144bb565b9050600189036124875773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a846123eb367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90036020013590565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815260048101939093526024830191909152604482015260206064820152608481018a905260a4015b6020604051808303816000875af115801561245d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612481919061445a565b506126c6565b600289036124b35773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a84896123eb565b600389036124df5773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a84876123eb565b600489036125fb5760006125256fffffffffffffffffffffffffffffffff85167f0000000000000000000000000000000000000000000000000000000000000000613970565b600754612532919061427b565b61253d90600161427b565b905073ffffffffffffffffffffffffffffffffffffffff82166352f0f3ad8b8560405160e084901b7fffffffff000000000000000000000000000000000000000000000000000000001681526004810192909252602482015260c084901b604482015260086064820152608481018b905260a4016020604051808303816000875af11580156125d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f4919061445a565b50506126c6565b60058903612694576040517f52f0f3ad000000000000000000000000000000000000000000000000000000008152600481018a9052602481018390527f000000000000000000000000000000000000000000000000000000000000000060c01b6044820152600860648201526084810188905273ffffffffffffffffffffffffffffffffffffffff8216906352f0f3ad9060a40161243e565b6040517fff137e6500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050505050505050565b7f0000000000000000000000000000000000000000000000000000000000000000367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c9003356060612727610a50565b9050909192565b60008054700100000000000000000000000000000000900460ff16600281111561275a5761275a613f05565b14612791576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600182815481106127a6576127a661421d565b6000918252602082206005919091020160048101549092506127e890700100000000000000000000000000000000900460401c67ffffffffffffffff16610fbe565b600483015490915060009061281a90700100000000000000000000000000000000900467ffffffffffffffff16610fbe565b6128249042614473565b9050677fffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000060011c1661285e82846144d8565b67ffffffffffffffff161161289f576040517ff2440b5300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008481526004602052604090208054851580156128bf575060055460ff165b156128f6576040517ff1a9458100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015801561290357508515155b15612968578454640100000000900473ffffffffffffffffffffffffffffffffffffffff16600081156129365781612952565b600187015473ffffffffffffffffffffffffffffffffffffffff165b905061295e8188613a25565b5050505050505050565b60006fffffffffffffffffffffffffffffffff815b83811015612aae5760008582815481106129995761299961421d565b60009182526020808320909101548083526004909152604090912054909150156129ef576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018281548110612a0457612a0461421d565b600091825260209091206005909102018054909150640100000000900473ffffffffffffffffffffffffffffffffffffffff16158015612a5d575060048101546fffffffffffffffffffffffffffffffff908116908516115b15612a9b576001810154600482015473ffffffffffffffffffffffffffffffffffffffff90911695506fffffffffffffffffffffffffffffffff1693505b505080612aa7906144fb565b905061297d565b50612af673ffffffffffffffffffffffffffffffffffffffff831615612ad45782612af0565b600188015473ffffffffffffffffffffffffffffffffffffffff165b88613a25565b86547fffffffffffffffff0000000000000000000000000000000000000000ffffffff1664010000000073ffffffffffffffffffffffffffffffffffffffff8416021787556000888152600460205260408120612b5291613ecb565b8760000361295e57600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555050505050505050565b60606000612bc684367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900361427b565b90508267ffffffffffffffff1667ffffffffffffffff811115612beb57612beb614533565b6040519080825280601f01601f191660200182016040528015612c15576020820181803683370190505b509150828160208401375092915050565b151760011b90565b6000612c4d6fffffffffffffffffffffffffffffffff84166001614393565b90506000612c5d8286600161338f565b9050600086901a8380612d505750612c9660027f000000000000000000000000000000000000000000000000000000000000000061434e565b6004830154600290612d3a906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b612d449190614494565b67ffffffffffffffff16145b15612da85760ff811660011480612d6a575060ff81166002145b612da3576040517ff40239db00000000000000000000000000000000000000000000000000000000815260048101889052602401611685565b612de6565b60ff811615612de6576040517ff40239db00000000000000000000000000000000000000000000000000000000815260048101889052602401611685565b50505050505050565b6fffffffffffffffffffffffffffffffff811160071b81811c67ffffffffffffffff1060061b1781811c63ffffffff1060051b1781811c61ffff1060041b1781811c60ff1060031b1760008213612e4e57631615e6386000526004601cfd5b7ff8f9f9faf9fdfafbf9fdfcfdfafbfcfef9fafdfafcfcfbfefafafcfbffffffff6f8421084210842108cc6318c6db6d54be83831c1c601f161a1890811b609f90811c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506029190037d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b302017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d90565b60007812725dd1d243aba0e75fe645cc4873f9e65afe688c928e1f218311670de0b6b3a76400000215820261308757637c5f487d6000526004601cfd5b50670de0b6b3a7640000919091020490565b6000816000190483118202156130b75763bac65e5b6000526004601cfd5b50670de0b6b3a764000091020490565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdc0d0570925a462d782136130f557919050565b680755bf798b4a1bf1e582126131135763a37bfec96000526004601cfd5b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b60006132e0670de0b6b3a7640000836132c786612def565b6132d19190614562565b6132db919061461e565b6130c7565b90505b92915050565b600080613376837e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b600167ffffffffffffffff919091161b90920392915050565b600080826133d8576133d36fffffffffffffffffffffffffffffffff86167f0000000000000000000000000000000000000000000000000000000000000000613bb1565b6133f3565b6133f3856fffffffffffffffffffffffffffffffff16613d6f565b9050600184815481106134085761340861421d565b906000526020600020906005020191505b60048201546fffffffffffffffffffffffffffffffff82811691161461346b57815460018054909163ffffffff169081106134565761345661421d565b90600052602060002090600502019150613419565b509392505050565b6000806000806000613484866134a2565b9350935093509350613498848484846138b1565b9695505050505050565b60008060008060008590506000600182815481106134c2576134c261421d565b600091825260209091206004600590920201908101549091507f000000000000000000000000000000000000000000000000000000000000000090613599906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16116135da576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000815b60048301547f0000000000000000000000000000000000000000000000000000000000000000906136a1906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16925082111561371d57825463ffffffff166136e77f0000000000000000000000000000000000000000000000000000000000000000600161427b565b83036136f1578391505b600181815481106137045761370461421d565b90600052602060002090600502019350809450506135de565b600481810154908401546fffffffffffffffffffffffffffffffff91821691166000816fffffffffffffffffffffffffffffffff16613786613771856fffffffffffffffffffffffffffffffff1660011c90565b6fffffffffffffffffffffffffffffffff1690565b6fffffffffffffffffffffffffffffffff16149050801561384d5760006137be836fffffffffffffffffffffffffffffffff166132e9565b67ffffffffffffffff1611156138215760006137f86137f060016fffffffffffffffffffffffffffffffff8616614362565b89600161338f565b6003810154600490910154909c506fffffffffffffffffffffffffffffffff169a506138279050565b6006549a505b600386015460048701549099506fffffffffffffffffffffffffffffffff1697506138a3565b600061386f6137f06fffffffffffffffffffffffffffffffff85166001614393565b6003808901546004808b015492840154930154909e506fffffffffffffffffffffffffffffffff9182169d50919b50169850505b505050505050509193509193565b60006fffffffffffffffffffffffffffffffff841681036139175782826040516020016138fa9291909182526fffffffffffffffffffffffffffffffff16602082015260400190565b604051602081830303815290604052805190602001209050613968565b60408051602081018790526fffffffffffffffffffffffffffffffff8087169282019290925260608101859052908316608082015260a0016040516020818303038152906040528051906020012090505b949350505050565b6000806139fd847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1690508083036001841b600180831b0386831b17039250505092915050565b60028101546fffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffff000000000000000000000000000000018101613a95576040517ff1a9458100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280830180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff17905573ffffffffffffffffffffffffffffffffffffffff84166000908152602091909152604081208054839290613b0890849061427b565b90915550506040517f7eee288d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152602482018390527f00000000000000000000000000000000000000000000000000000000000000001690637eee288d90604401600060405180830381600087803b158015613b9d57600080fd5b505af1158015612de6573d6000803e3d6000fd5b600081613c50846fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1611613c91576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613c9a83613d6f565b905081613d39826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16116132e3576132e0613d5683600161427b565b6fffffffffffffffffffffffffffffffff831690613e1b565b60008119600183011681613e03827e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169390931c8015179392505050565b600080613ea8847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169050808303600180821b0385821b179250505092915050565b5080546000825590600052602060002090810190613ee99190613eec565b50565b5b80821115613f015760008155600101613eed565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160038310613f6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b60008060408385031215613f8857600080fd5b50508035926020909101359150565b6000815180845260005b81811015613fbd57602081850181015186830182015201613fa1565b81811115613fcf576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006132e06020830184613f97565b73ffffffffffffffffffffffffffffffffffffffff81168114613ee957600080fd5b60006020828403121561404957600080fd5b813561405481614015565b9392505050565b8035801515811461406b57600080fd5b919050565b60008060006060848603121561408557600080fd5b833592506020840135915061409c6040850161405b565b90509250925092565b6000602082840312156140b757600080fd5b81356fffffffffffffffffffffffffffffffff8116811461405457600080fd5b6000602082840312156140e957600080fd5b5035919050565b60008083601f84011261410257600080fd5b50813567ffffffffffffffff81111561411a57600080fd5b60208301915083602082850101111561413257600080fd5b9250929050565b6000806000806000806080878903121561415257600080fd5b863595506141626020880161405b565b9450604087013567ffffffffffffffff8082111561417f57600080fd5b61418b8a838b016140f0565b909650945060608901359150808211156141a457600080fd5b506141b189828a016140f0565b979a9699509497509295939492505050565b6000806000606084860312156141d857600080fd5b505081359360208301359350604090920135919050565b63ffffffff841681528260208201526060604082015260006142146060830184613f97565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561428e5761428e61424c565b500190565b6000828210156142a5576142a561424c565b500390565b600080604083850312156142bd57600080fd5b505080516020909101519092909150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261430c5761430c6142ce565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143495761434961424c565b500290565b60008261435d5761435d6142ce565b500690565b60006fffffffffffffffffffffffffffffffff8381169083168181101561438b5761438b61424c565b039392505050565b60006fffffffffffffffffffffffffffffffff8083168185168083038211156143be576143be61424c565b01949350505050565b8183823760009101908152919050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6060815260006144346060830187896143d7565b82810360208401526144478186886143d7565b9150508260408301529695505050505050565b60006020828403121561446c57600080fd5b5051919050565b600067ffffffffffffffff8381169083168181101561438b5761438b61424c565b600067ffffffffffffffff808416806144af576144af6142ce565b92169190910692915050565b6000602082840312156144cd57600080fd5b815161405481614015565b600067ffffffffffffffff8083168185168083038211156143be576143be61424c565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361452c5761452c61424c565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000841360008413858304851182821616156145a3576145a361424c565b7f800000000000000000000000000000000000000000000000000000000000000060008712868205881281841616156145de576145de61424c565b600087129250878205871284841616156145fa576145fa61424c565b878505871281841616156146105761461061424c565b505050929093029392505050565b60008261462d5761462d6142ce565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f8000000000000000000000000000000000000000000000000000000000000000831416156146815761468161424c565b50059056fea164736f6c634300080f000a",sourceMap:"995:41106:159:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2896:27;;;;;;;;;;-1:-1:-1;2896:27:159;;;;;;;;;;;;;;220:18:350;208:31;;;190:50;;178:2;163:18;2896:27:159;;;;;;;;2963:24;;;;;;;;;;-1:-1:-1;2963:24:159;;;;;;;;;;;;;;;;;;:::i;24310:135::-;;;;;;;;;;-1:-1:-1;24415:18:159;:23;24310:135;;;1018:25:350;;;1006:2;991:18;24310:135:159;846:203:350;18544:907:159;;;;;;;;;;;;;:::i;15650:119::-;;;;;;:::i;:::-;;:::i;31838:79::-;;;;;;;;;;-1:-1:-1;31908:2:159;31838:79;;;1531:42:350;1519:55;;;1501:74;;1489:2;1474:18;31838:79:159;1334:247:350;31982:88:159;;;;;;;;;;-1:-1:-1;32059:4:159;31982:88;;3968:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;3862:36::-;;;;;;;;;;-1:-1:-1;3862:36:159;;;;;;;;;;;;;2800:25:350;;;2856:2;2841:18;;2834:34;;;;2773:18;3862:36:159;2600:274:350;23580:234:159;;;;;;;;;;;;;:::i;30210:671::-;;;;;;;;;;-1:-1:-1;30210:671:159;;;;;:::i;:::-;;:::i;10674:4770::-;;;;;;:::i;:::-;;:::i;17868:114::-;;;;;;;;;;-1:-1:-1;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;17969:4:159;1632:22:187;1619:36;17868:114:159;23580:234;24110:156;;;;;;;;;;-1:-1:-1;24227:32:159;;24110:156;;24694:2821;;;:::i;27582:101::-;;;;;;;;;;-1:-1:-1;27660:9:159;:16;27582:101;;18026:124;;;;;;;;;;-1:-1:-1;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;18138:4:159;1632:22:187;1619:36;18026:124:159;23580:234;31167:130;;;;;;;;;;-1:-1:-1;31273:17:159;31167:130;;18397:108;;;;;;;;;;-1:-1:-1;18397:108:159;;4622:10:350;18489:9:159;4610:23:350;4592:42;;4580:2;4565:18;18397:108:159;4417:223:350;23416:125:159;;;;;;;;;;-1:-1:-1;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;1619:36;23416:125:159;23580:234;27899:2171;;;;;;;;;;-1:-1:-1;27899:2171:159;;;;;:::i;:::-;;:::i;15488:118::-;;;;;;:::i;:::-;;:::i;3075:28::-;;;;;;;;;;-1:-1:-1;3075:28:159;;;;;:::i;:::-;;:::i;:::-;;;;5593:10:350;5581:23;;;5563:42;;5624;5702:15;;;5697:2;5682:18;;5675:43;5754:15;;;;5734:18;;;5727:43;;;;5789:34;5859:15;;;5854:2;5839:18;;5832:43;5906:3;5891:19;;5884:35;5956:15;;;5950:3;5935:19;;5928:44;6009:15;6003:3;5988:19;;5981:44;5550:3;5535:19;3075:28:159;5166:865:350;2800:26:159;;;;;;;;;;-1:-1:-1;2800:26:159;;;;;;;;3170:41;;;;;;;;;;-1:-1:-1;3170:41:159;;;;;:::i;:::-;;;;;;;;;;;;;;32159:105;;;;;;;;;;-1:-1:-1;32246:11:159;32159:105;;5921:4442;;;;;;;;;;-1:-1:-1;5921:4442:159;;;;;:::i;:::-;;:::i;31668:117::-;;;;;;;;;;-1:-1:-1;31765:13:159;31668:117;;31511:108;;;;;;;;;;-1:-1:-1;31601:11:159;31511:108;;15813:2011;;;;;;;;;;-1:-1:-1;15813:2011:159;;;;;:::i;:::-;;:::i;23853:213::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;31347:117::-;;;;;;;;;;-1:-1:-1;31443:14:159;31347:117;;19495:3882;;;;;;:::i;:::-;;:::i;18544:907::-;18581:18;;18703:6;;;;;;;:32;;;;;;;;:::i;:::-;;18699:64;;18744:19;;;;;;;;;;;;;;18699:64;18877:21;;;;18872:57;;18907:22;;;;;;;;;;;;;;18872:57;19055:1;19019:38;;:9;19029:1;19019:12;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:24;;;;;;:38;:94;;19087:26;19019:94;;;19060:24;19019:94;19123:10;:52;;;19158:15;19123:52;;;;;;;;;;19009:104;;-1:-1:-1;19009:104:159;;19305:16;;;;;;;;19009:104;19305:16;;;;;;;;:::i;:::-;;;;;19296:26;;;;;;;;:::i;:::-;;;;;;;;19400:21;:42;;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18544:907;:::o;15650:119::-;15729:33;15734:12;15748:6;15756:5;15729:4;:33::i;:::-;15650:119;;:::o;23580:234::-;23622:23;23780:27;23796:4;23802;23780:15;:27::i;:::-;23767:40;;23580:234;:::o;30210:671::-;30383:18;;;30357:23;30383:18;;;:6;:18;;;;;;;30411:22;;;;30383:18;30507:20;;;30503:75;;30550:17;;;;;;;;;;;;;;30503:75;30655:42;;;;;:13;8623:55:350;;;30655:42:159;;;8605:74:350;8695:18;;;8688:34;;;30655:4:159;:13;;;;8578:18:350;;30655:42:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30758:12;30775:10;:15;;30799;30775:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30757:66;;;30838:7;30833:41;;30854:20;;;;;;;;;;;;;;30833:41;30260:621;;30210:671;:::o;10674:4770::-;10875:22;10865:6;;;;;;;:32;;;;;;;;:::i;:::-;;10861:64;;10906:19;;;;;;;;;;;;;;10861:64;11016:23;11042:9;11052:15;11042:26;;;;;;;;:::i;:::-;;;;;;;;;11016:52;;;;;;;;11042:26;;;;;;;11016:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11016:52:159;;11042:26;11397:25;;11016:52;;11412:9;;11397:14;:25;:::i;:::-;11373:49;;11432:25;11460:20;:12;:18;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;11460:20:159;11432:48;;;-1:-1:-1;11827:20:159;;;:60;;-1:-1:-1;11872:15:159;:11;11886:1;11872:15;:::i;:::-;11851:17;:36;11827:60;11826:76;;;;;11893:9;11892:10;11826:76;11822:137;;;11925:23;;;;;;;;;;;;;;11822:137;12320:14;12300:17;:34;12296:66;;;12343:19;;;;;;;;;;;;;;12296:66;12590:15;:11;12604:1;12590:15;:::i;:::-;12569:17;:36;12565:138;;12621:71;12646:6;12654:15;12671:9;12682;12621:24;:71::i;:::-;12826:9;12793:29;12809:12;12793:15;:29::i;:::-;:42;12789:76;;12844:21;;;;;;;;;;;;;;12789:76;13056:18;;13020:22;;13078:16;13056:38;;;;13052:123;;13129:9;13139:6;:18;;;13129:29;;;;;;;;;;:::i;:::-;;;;;;;;;;;:35;;;;;;;;;;;;13110:54;;13052:123;13758:12;;;;13407:21;;13758:30;;1624:28:172;;13758:24:159;:28;;4002:10:172;3878:150;13758:30:159;13553:235;;13740:15;13553:33;:27;:16;:25;;1135:4:172;1131:17;;913:251;13553:33:159;:202;;;;;;:::i;:::-;:235;;;;:::i;:::-;13407:405;-1:-1:-1;13982:13:159;14005:1;13982:24;;;:17;13961:16;;:45;13957:77;;;14015:19;;;;;;;;;;;;;;13957:77;14136:15;668:4:172;664:20;;;14204:15:159;661:36:172;14506:19:159;758:20:170;;;811:3;807:19;;;832:34;828:56;;804:81;798:4;791:95;929:4;913:21;;14136:86:159;;-1:-1:-1;14506:19:159;14592:17;;;;:6;:17;;;;;;14506:72;;-1:-1:-1;14592:17:159;;14588:50;;;14618:20;;;;;;;;;;;;;;14588:50;14668:4;14648:6;:17;14655:9;14648:17;;;;;;;;;;;;:24;;;;;;;;;;;;;;;;;;14716:9;14744:366;;;;;;;;14792:15;14744:366;;;;;;14908:1;14744:366;;;;;;14938:10;14744:366;;;;;;14980:9;14744:366;;;;;;15015:6;14744:366;;;;15049:12;14744:366;;;;;;15086:9;14744:366;;;;;14716:404;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15189:8;:25;15198:15;15189:25;;;;;;;;;;;15239:1;15220:9;:16;;;;:20;;;;:::i;:::-;15189:52;;;;;;;-1:-1:-1;15189:52:159;;;;;;;;15281:34;;;;;;;;:12;:4;:12;;;;15302:9;;15281:34;;;;;-1:-1:-1;15281:34:159;;;;;15302:9;15281:12;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15396:41:159;;15426:10;;-1:-1:-1;15418:6:159;;-1:-1:-1;15401:15:159;;-1:-1:-1;15396:41:159;;;;;10766:4678;;;;;;;;10674:4770;;;:::o;24694:2821::-;25384:11;;;;;;;25380:44;;;25404:20;;;;;;;;;;;;;;25380:44;25514:40;;;;;;25544:9;4610:23:350;25514:40:159;;;4592:42:350;25476:9:159;;;;25514:29;:21;:29;;;;4565:18:350;;25514:40:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;25475:79;;-1:-1:-1;25475:79:159;-1:-1:-1;25475:79:159;25651:57;;25688:20;;;;;;;;;;;;;;25651:57;25781:58;;;;;;;;;;;;;;;;25760:18;:79;;;;;;;25781:58;;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;1632:22;1619:36;26008:34:159;26004:79;;26051:32;;;;;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;1619:36;26051:32:159;;;1018:25:350;991:18;;26051:32:159;;;;;;;;26004:79;26635:4;26619:14;26616:24;26613:191;;;26744:10;26738:4;26731:24;26785:4;26779;26772:18;26613:191;26882:366;;;;;;;;26923:16;26882:366;;;-1:-1:-1;26882:366:159;;;;;;27008:9;26882:366;;;;;;;27049:9;26882:366;;;;;;;;;3761:22:187;3765:14;3761:22;;;3748:36;3742:4;3738:47;3718:68;;1619:36;26882:366:159;;;;;;26854:9;26882:366;;;;;;27215:15;26882:366;;;;;;;;26854:404;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27298:34;;;;;;;:4;:12;;;;;;27049:9;26854:404;27298:34;;;;-1:-1:-1;27298:34:159;;;;;27049:9;27298:12;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27388:9:159;:51;;;27422:15;27388:51;;;;;;;;-1:-1:-1;;27490:11:159;:18;;;;27388:51;27490:18;;;-1:-1:-1;;;24694:2821:159:o;27899:2171::-;27965:21;27998:13;28022:17;:9;:15;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;28022:17:159;28014:26;;27998:42;;28062:14;28054:5;:22;28050:54;;;28085:19;;;;;;;;;;;;;;28050:54;28195:8;28238:7;28280:11;28170:22;29047:31;28238:7;28280:11;29047:31;:::i;:::-;29035:43;-1:-1:-1;2458:4:95;29088:9:159;29143:38;2458:4:95;29143:14:159;:38;:::i;:::-;29131:50;-1:-1:-1;29278:11:159;29300:58;29331:25;2458:4:95;29331:1:159;:25;:::i;:::-;29300:23;:58::i;:::-;29278:81;;29436:14;29453:30;29478:1;29481;29453:24;:30::i;:::-;29436:47;;29617:17;29637:37;29662:3;29667:6;29637:24;:37::i;:::-;29617:57;;29684:11;29698:43;29730:9;29698:24;:43::i;:::-;29684:57;-1:-1:-1;29796:13:159;29812:69;29684:57;29850:29;2458:4:95;29850:5:159;:29;:::i;:::-;29812:24;:69::i;:::-;29796:85;;29891:19;29913:57;29938:14;29962:6;29913:24;:57::i;:::-;29891:79;-1:-1:-1;30035:28:159;29891:79;30035:14;:28;:::i;:::-;30019:44;27899:2171;-1:-1:-1;;;;;;;;;;;;;;;27899:2171:159:o;15488:118::-;15567:32;15572:12;15586:6;15594:4;15567;:32::i;3075:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3075:28:159;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5921:4442::-;6204:22;6194:6;;;;;;;:32;;;;;;;;:::i;:::-;;6190:64;;6235:19;;;;;;;;;;;;;;6190:64;6345:24;6372:9;6382:11;6372:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;6478:15;;;;6372:22;;-1:-1:-1;6478:15:159;;;8377:17:171;;8374:32;;8371:1;8367:40;6550:44:159;-1:-1:-1;6729:18:159;:14;6746:1;6729:18;:::i;:::-;6710:15;:7;:13;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;6710:15:159;:37;;;6706:65;;6756:15;;;;;;;;;;;;;;6706:65;6847:19;6876:27;6917:9;6913:1343;;;7648:28;7665:11;7648:14;:28;:::i;:::-;7642:1;:35;;7616:22;:7;:20;;;:22::i;:::-;:62;;;;;;:::i;:::-;7615:69;:211;;7739:81;7772:19;7790:1;7772:13;;;:19;:::i;:::-;7794:18;;;;;7739;:81::i;:::-;:87;;;7615:211;;;7703:17;7615:211;7599:227;;7919:6;7907:18;;6913:1343;;;8126:12;;;;;-1:-1:-1;8164:81:159;8197:19;:13;;;8215:1;8197:19;:::i;8164:81::-;8152:93;;6913:1343;8652:1;8629:13;:24;;8624:1;8609:10;;8599:21;;;;;;;:::i;:::-;;;;;;;;:26;;:54;8595:84;;8662:17;;;;;;;;;;;;;;8595:84;8750:9;8762:30;8780:11;8762:17;:30::i;:::-;8750:42;;9765:14;9825:21;:9;:15;;;4002:10:172;3878:150;9825:21:159;9782:39;;;;;:2;:7;;;;;:39;;9790:10;;;;9802:6;;;;9810:4;;9782:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9900:18;;;;9782:64;;;-1:-1:-1;9856:20:159;;9930:1;;9900:26;;:18;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;9900:26:159;9880:17;:9;:15;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;9880:17:159;:46;;;;:::i;:::-;9879:52;;;;:::i;:::-;:57;;;;-1:-1:-1;9950:28:159;;;;;9946:52;;9987:11;;;;;;;;;;;;;;9946:52;10092:18;;;;;:32;:18;:32;10088:60;;10133:15;;;;;;;;;;;;;;10088:60;-1:-1:-1;;10325:31:159;;;;10346:10;10325:31;;;;;;-1:-1:-1;;;;;;;;;;;5921:4442:159:o;15813:2011::-;16016:22;16006:6;;;;;;;:32;;;;;;;;:::i;:::-;;16002:64;;16047:19;;;;;;;;;;;;;;16002:64;16078:14;16094:20;16116:14;16132:20;16168:45;16200:12;16168:31;:45::i;:::-;16077:136;;;;;;;;16223:9;16235:66;16256:8;16266:11;16279:8;16289:11;16235:20;:66::i;:::-;16223:78;;16312:22;16337:2;:9;;;:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16312:36;;5133:4:190;16362:6:159;:39;16358:1460;;16454:20;;;;16475:6;16483:4;16495:14;3765::187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;17969:4:159;1632:22:187;1619:36;4002:10:172;3878:150;16495:14:159;16454:73;;;;;;;;;;;;;13125:25:350;;;;13166:18;;;13159:34;;;;13209:18;;;13202:34;16511:2:159;13252:18:350;;;13245:34;13295:19;;;13288:35;;;13097:19;;16454:73:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;16358:1460;;;5254:4:190;16548:6:159;:47;16544:1274;;16668:20;;;;16689:6;16697:4;16709:8;:14;3878:150:172;16544:1274:159;5375:4:190;16762:6:159;:47;16758:1060;;16881:20;;;;16902:6;16910:4;16922:8;:14;3878:150:172;16758:1060:159;5504:4:190;16975:6:159;:51;16971:847;;17306:16;17360:35;:22;;;17383:11;17360:22;:35::i;:::-;17325:32;;:70;;;;:::i;:::-;:74;;17398:1;17325:74;:::i;:::-;17306:93;-1:-1:-1;17414:20:159;;;;17435:6;17443:4;17414:83;;;;;;;;;;;;;13125:25:350;;;;13166:18;;;13159:34;17475:4:159;17463:16;;;13209:18:350;;;13202:34;17482:1:159;13252:18:350;;;13245:34;13295:19;;;13288:35;;;13097:19;;17414:83:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;17028:480;16971:847;;;5601:4:190;17518:6:159;:35;17514:304;;17664:86;;;;;;;;13125:25:350;;;13166:18;;;13159:34;;;17713:11:159;17728:4;17713:19;13209:18:350;;;13202:34;17735:1:159;13252:18:350;;;13245:34;13295:19;;;13288:35;;;17664:20:159;;;;;;13097:19:350;;17664:86:159;12857:472:350;17514:304:159;17788:19;;;;;;;;;;;;;;17514:304;15903:1921;;;;;;15813:2011;;;:::o;23853:213::-;18489:9;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;1619:36;23934:23:159;24048:11;:9;:11::i;:::-;24035:24;;23853:213;;;:::o;19495:3882::-;19667:22;19657:6;;;;;;;:32;;;;;;;;:::i;:::-;;19653:64;;19698:19;;;;;;;;;;;;;;19653:64;19728:24;19755:9;19765:11;19755:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;19905:12;;;;19755:22;;-1:-1:-1;19905:29:159;;:12;;;1135:4:172;1131:17;;;19905:23:159;913:251:172;19905:29:159;19999:12;;;;19876:58;;-1:-1:-1;19944:26:159;;19999:30;;:12;;;1624:28:172;;19999:24:159;1368:300:172;19999:30:159;19973:56;;19980:15;19973:56;:::i;:::-;19944:85;-1:-1:-1;20088:24:159;:13;20111:1;20088:24;;20043:41;19944:85;20043:19;:41;:::i;:::-;:69;;;20039:124;;20135:17;;;;;;;;;;;;;;20039:124;20173:34;20210:21;;;:8;:21;;;;;20271:23;;20361:16;;:41;;;;-1:-1:-1;20381:21:159;;;;20361:41;20357:101;;;20425:22;;;;;;;;;;;;;;20357:101;20620:24;;:44;;;;-1:-1:-1;20648:16:159;;;20620:44;20616:725;;;21153:18;;;;;;;21131:19;21205:25;;:57;;21251:11;21205:57;;;21233:15;;;;;;21205:57;21185:77;;21276:34;21292:9;21303:6;21276:15;:34::i;:::-;21324:7;;;;;;;19495:3882;:::o;20616:725::-;21409:17;21490;21409;21518:1132;21542:19;21538:1;:23;21518:1132;;;21582:22;21607:16;21624:1;21607:19;;;;;;;;:::i;:::-;;;;;;;;;;;;;21727:24;;;:8;:24;;;;;;;:31;21607:19;;-1:-1:-1;21727:36:159;21723:71;;21772:22;;;;;;;;;;;;;;21723:71;21809:23;21835:9;21845:14;21835:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;22450:17;;21835:25;;-1:-1:-1;22450:17:159;;;:31;:17;:31;:79;;;;-1:-1:-1;22509:14:159;;;;;;;;22485:19;;;:44;22450:79;22446:194;;;22561:14;;;;22611;;;;22561;;;;;-1:-1:-1;22611:14:159;;;-1:-1:-1;22446:194:159;21568:1082;;21563:3;;;;:::i;:::-;;;21518:1132;;;-1:-1:-1;22858:78:159;22874:23;;;;:53;;22918:9;22874:53;;;22900:15;;;;;;22874:53;22929:6;22858:15;:78::i;:::-;23108:30;;;;;;;;;;;;-1:-1:-1;23201:21:159;;;23108:18;23201:21;;;;;23194:28;;;:::i;:::-;23300:11;23315:1;23300:16;23296:75;;23332:21;:28;;;;23356:4;23332:28;;;19555:3822;;;;;;;19495:3882;:::o;2440:295:187:-;2522:16;2550:14;2567:37;2595:9;3765:14;3761:22;;;3748:36;3742:4;3738:47;3718:68;;2567:37;:::i;:::-;2550:54;;2630:6;2620:17;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2620:17:187;;2614:23;;2712:6;2704;2693:8;2688:3;2684:18;2671:48;2657:72;2440:295;;;;:::o;8236:187:171:-;8377:17;8374:32;8371:1;8367:40;;8236:187::o;33347:1977:159:-;34099:24;34140:20;:14;;;34159:1;34140:20;:::i;:::-;34099:62;;34171:26;34200:80;34227:15;34252:10;34273:4;34200:18;:80::i;:::-;34171:109;-1:-1:-1;34290:14:159;34313:19;;;34348:9;;:61;;-1:-1:-1;34394:15:159;34408:1;34394:11;:15;:::i;:::-;34361:17;;;;34389:1;;34361:25;;:17;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;34361:25:159;:29;;;;:::i;:::-;:48;;;34348:61;34344:974;;;34887:36;;;4686:1:190;34887:36:159;;:74;;-1:-1:-1;34927:34:159;;;4780:1:190;34927:34:159;34887:74;34881:154;;34989:31;;;;;;;;1018:25:350;;;991:18;;34989:31:159;846:203:350;34881:154:159;34344:974;;;35055:34;;;;35051:267;;35276:31;;;;;;;;1018:25:350;;;991:18;;35276:31:159;846:203:350;35051:267:159;33528:1796;;;33347:1977;;;;:::o;11843:3927:95:-;12373:34;12370:41;-1:-1:-1;12367:1:95;12363:49;12466:9;;;12446:18;12443:33;12440:1;12436:41;12430:48;12524:9;;;12512:10;12509:25;12506:1;12502:33;12496:40;12578:9;;;12570:6;12567:21;12564:1;12560:29;12554:36;12630:9;;;12624:4;12621:19;12618:1;12614:27;12608:34;11891:8;12739:9;;12729:135;;12781:10;12775:4;12768:24;12845:4;12839;12832:18;12729:135;13016:66;12962:34;12951:9;;;12947:50;12941:4;12937:61;12932:151;12925:159;13210:9;;;13205:3;13201:19;;;14173:31;14169:39;;14272:9;;13660:2;14264:18;;;14230:32;14226:57;14348:9;;14340:18;;14305:33;14301:58;14424:9;;14416:18;;14381:33;14377:58;14500:9;;14492:18;;14457:33;14453:58;14575:9;;14567:18;;14533:32;14529:57;14648:9;;14640:18;;14608:30;14604:55;13672:31;13668:59;;13664:67;;13656:76;;13606:32;13602:131;13598:139;;13590:148;;13540:32;13536:203;13532:211;;13524:220;;13430:349;;13809:9;;13801:18;;13797:57;;13884:9;;13876:18;;;13872:57;;13951:9;;;13947:55;;15131:10;15261:43;15257:51;15499:11;;;15426:71;15422:89;15418:97;15595:72;15591:80;15747:3;15743:11;;11843:3927::o;5293:468::-;5354:9;5574:16;5568:23;;5586:3;5559:33;5552:41;5545:49;;5535:173;;5627:10;5621:4;5614:24;5689:4;5683;5676:18;5535:173;-1:-1:-1;5737:3:95;5730:11;;;;5726:19;;5293:468::o;2809:424::-;2870:9;3063:1;3059;3055:6;3051:14;3048:1;3045:21;3042:1;3038:29;3035:145;;;3099:10;3093:4;3086:24;3161:4;3155;3148:18;3035:145;-1:-1:-1;3213:3:95;3202:9;;3198:19;;2809:424::o;8260:3448::-;8309:8;8504:21;8499:1;:26;8495:40;;8260:3448;;;:::o;8495:40::-;8841:21;8838:1;8834:29;8824:164;;8900:10;8894:4;8887:24;8965:4;8959;8952:18;8824:164;9280:7;9274:2;9269:7;;;9268:19;;-1:-1:-1;9551:8:95;9619:2;9575:29;9564:7;;;9563:41;9607:7;9563:51;9562:59;;9647:29;9643:33;;9639:37;;;10328:35;;;10383:5;;9959:2;10382:13;;;10399:32;10381:50;10451:5;;10450:13;;10449:51;;10520:5;;10519:13;;10536:34;10518:52;10590:5;;10589:13;;10588:53;;10661:5;;10660:13;;10677:35;10659:53;9965:32;9898:31;9894:35;;9949:5;;9948:13;;9947:50;;;10022:5;;;:40;;10082:5;10081:13;;;10098:35;10080:53;10151:5;;;10160:40;10151:50;11079:10;11607:49;11594:62;11669:3;:7;;;;11593:84;;;;;;-1:-1:-1;;8260:3448:95:o;7938:186::-;7997:6;8081:36;2458:4;8100:1;8089:8;8095:1;8089:5;:8::i;:::-;:12;;;;:::i;:::-;8088:28;;;;:::i;:::-;8081:6;:36::i;:::-;8074:43;;7938:186;;;;;:::o;2585:362:171:-;2650:20;2824:11;2838:16;2844:9;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;2838:16;2928:1;2824:30;;;;;2919:11;2904:27;;;;2585:362;-1:-1:-1;;2585:362:171:o;35844:677:159:-;35994:27;36093:25;36121:7;:71;;36154:38;:25;;;36180:11;36154:25;:38::i;:::-;36121:71;;;36131:20;:4;:18;;;:20::i;:::-;36093:99;;36360:9;36370:6;36360:17;;;;;;;;:::i;:::-;;;;;;;;;;;36348:29;;36387:128;36394:18;;;;36422:20;;;;36394:18;;:50;36387:128;;36482:21;;36472:9;:32;;:9;;36482:21;;;36472:32;;;;;;:::i;:::-;;;;;;;;;;;36460:44;;36387:128;;;36027:494;35844:677;;;;;:::o;40758:319::-;40829:10;40852:14;40868:20;40890:14;40906:20;40942:44;40974:11;40942:31;:44::i;:::-;40851:135;;;;;;;;41004:66;41025:8;41035:11;41048:8;41058:11;41004:20;:66::i;:::-;40996:74;40758:319;-1:-1:-1;;;;;;40758:319:159:o;37036:3468::-;37140:20;37162:21;37185:20;37207:21;37281:16;37300:6;37281:25;;37316:23;37342:9;37352:8;37342:19;;;;;;;;:::i;:::-;;;;;;;;;37484:14;37342:19;;;;;37484:14;;;;37342:19;;-1:-1:-1;37510:11:159;;37484:22;;:14;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;37484:22:159;:37;;;37480:67;;37530:17;;;;;;;;;;;;;;37480:67;37898:20;37962:5;37977:571;38000:14;;;;38026:11;;38000:22;;:14;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;38000:22:159;37985:37;;;;;37984:53;37977:571;;;38075:17;;;;38418:15;:11;38075:17;38418:15;:::i;:::-;38402:12;:31;38398:58;;38451:5;38435:21;;38398:58;38479:9;38489:11;38479:22;;;;;;;;:::i;:::-;;;;;;;;;;;38471:30;;38526:11;38515:22;;38039:509;37977:571;;;38861:22;;;;;38885:14;;;;38861:22;;;;;38885:14;38816:20;38885:14;38927:45;;:26;:20;:11;:18;;3943:1:171;3939:17;;3818:154;38927:20:159;:24;;4002:10:172;3878:150;38927:26:159;:45;;;38910:62;;39467:9;39463:1035;;;39806:1;39779:24;:9;:22;;;:24::i;:::-;:28;;;39775:349;;;39827:26;39856:70;39889:19;39907:1;39889:13;;;:19;:::i;:::-;39911:8;39921:4;39856:18;:70::i;:::-;39978:14;;;;39994:17;;;;;39978:14;;-1:-1:-1;39994:17:159;;;-1:-1:-1;39775:349:159;;-1:-1:-1;39775:349:159;;40079:18;:23;40051:58;;39775:349;40171:11;;;;40184:14;;;;40171:11;;-1:-1:-1;40184:14:159;;;-1:-1:-1;39463:1035:159;;;40230:26;40259:70;40292:19;:13;;;40310:1;40292:19;:::i;40259:70::-;40377:11;;;;;40390:14;;;;;40453;;;;40469:17;;;40377:11;;-1:-1:-1;40390:14:159;;;;;-1:-1:-1;40453:14:159;;-1:-1:-1;40469:17:159;;-1:-1:-1;;39463:1035:159;37234:3270;;;;;;;37036:3468;;;;;:::o;41444:655::-;41639:10;41857:16;;;:23;;41853:240;;41935:9;41946:12;41924:35;;;;;;;;15644:25:350;;;15717:34;15705:47;15700:2;15685:18;;15678:75;15632:2;15617:18;;15413:346;41924:35:159;;;;;;;;;;;;;41914:46;;;;;;41896:65;;41853:240;;;42020:60;;;;;;16109:25:350;;;16153:34;16223:15;;;16203:18;;;16196:43;;;;16255:18;;;16248:34;;;16318:15;;;16298:18;;;16291:43;16081:19;;42020:60:159;;;;;;;;;;;;42010:71;;;;;;41992:90;;41853:240;41444:655;;;;;;:::o;5154:336:171:-;5236:19;5267:11;5281:16;5287:9;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;5281:16;5267:30;;;;5362:3;5351:9;5347:19;5471:1;5460:9;5456:17;5451:1;5447;5436:9;5432:17;5428:25;5416:9;5405;5401:25;5398:56;5394:80;5379:95;;;5316:168;5154:336;;;;:::o;32655:473:159:-;32848:12;;;;;;32874:25;;;32870:60;;32908:22;;;;;;;;;;;;;;32870:60;32940:12;;;;:32;;;;2725:17;32940:32;;;33027:18;;;32940:12;33027:18;;;;;;;;;;;:26;;33049:4;;32940:12;33027:26;;33049:4;;33027:26;:::i;:::-;;;;-1:-1:-1;;33092:29:159;;;;;:11;8623:55:350;;;33092:29:159;;;8605:74:350;8695:18;;;8688:34;;;33092:4:159;:11;;;;8578:18:350;;33092:29:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7021:794:171;7170:18;7311:20;7290:17;:9;:15;;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;7290:17;:41;;;7286:71;;7340:17;;;;;;;;;;;;;;7286:71;7423:24;7437:9;7423:13;:24::i;:::-;7411:36;;7704:20;7683:17;:9;:15;;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;7683:17;:41;;;7679:130;;7752:46;7773:24;:20;7796:1;7773:24;:::i;:::-;7752:20;;;;;:46::i;5792:710::-;5858:18;6021:14;;6052:1;6037:17;;6017:38;5858:18;6156:10;6017:38;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;6156:10;6142:24;;6365:19;;;;6476:9;;6470:16;;5792:710;-1:-1:-1;;;5792:710:171:o;4393:313::-;4475:20;4507:11;4521:16;4527:9;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;4521:16;4507:30;;;;4602:3;4591:9;4587:19;4687:1;4683;4672:9;4668:17;4664:25;4652:9;4641;4637:25;4634:56;4619:71;;;4556:144;4393:313;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;251:184:350:-;303:77;300:1;293:88;400:4;397:1;390:15;424:4;421:1;414:15;440:401;588:2;573:18;;621:1;610:13;;600:201;;657:77;654:1;647:88;758:4;755:1;748:15;786:4;783:1;776:15;600:201;810:25;;;440:401;:::o;1054:275::-;1149:6;1157;1210:2;1198:9;1189:7;1185:23;1181:32;1178:52;;;1226:1;1223;1216:12;1178:52;-1:-1:-1;;1249:23:350;;;1319:2;1304:18;;;1291:32;;-1:-1:-1;1054:275:350:o;1839:531::-;1881:3;1919:5;1913:12;1946:6;1941:3;1934:19;1971:1;1981:162;1995:6;1992:1;1989:13;1981:162;;;2057:4;2113:13;;;2109:22;;2103:29;2085:11;;;2081:20;;2074:59;2010:12;1981:162;;;2161:6;2158:1;2155:13;2152:87;;;2227:1;2220:4;2211:6;2206:3;2202:16;2198:27;2191:38;2152:87;-1:-1:-1;2284:2:350;2272:15;2289:66;2268:88;2259:98;;;;2359:4;2255:109;;1839:531;-1:-1:-1;;1839:531:350:o;2375:220::-;2524:2;2513:9;2506:21;2487:4;2544:45;2585:2;2574:9;2570:18;2562:6;2544:45;:::i;3102:154::-;3188:42;3181:5;3177:54;3170:5;3167:65;3157:93;;3246:1;3243;3236:12;3261:247;3320:6;3373:2;3361:9;3352:7;3348:23;3344:32;3341:52;;;3389:1;3386;3379:12;3341:52;3428:9;3415:23;3447:31;3472:5;3447:31;:::i;:::-;3497:5;3261:247;-1:-1:-1;;;3261:247:350:o;3513:160::-;3578:20;;3634:13;;3627:21;3617:32;;3607:60;;3663:1;3660;3653:12;3607:60;3513:160;;;:::o;3678:343::-;3779:6;3787;3795;3848:2;3836:9;3827:7;3823:23;3819:32;3816:52;;;3864:1;3861;3854:12;3816:52;3900:9;3887:23;3877:33;;3957:2;3946:9;3942:18;3929:32;3919:42;;3980:35;4011:2;4000:9;3996:18;3980:35;:::i;:::-;3970:45;;3678:343;;;;;:::o;4645:331::-;4734:6;4787:2;4775:9;4766:7;4762:23;4758:32;4755:52;;;4803:1;4800;4793:12;4755:52;4842:9;4829:23;4892:34;4885:5;4881:46;4874:5;4871:57;4861:85;;4942:1;4939;4932:12;4981:180;5040:6;5093:2;5081:9;5072:7;5068:23;5064:32;5061:52;;;5109:1;5106;5099:12;5061:52;-1:-1:-1;5132:23:350;;4981:180;-1:-1:-1;4981:180:350:o;6036:347::-;6087:8;6097:6;6151:3;6144:4;6136:6;6132:17;6128:27;6118:55;;6169:1;6166;6159:12;6118:55;-1:-1:-1;6192:20:350;;6235:18;6224:30;;6221:50;;;6267:1;6264;6257:12;6221:50;6304:4;6296:6;6292:17;6280:29;;6356:3;6349:4;6340:6;6332;6328:19;6324:30;6321:39;6318:59;;;6373:1;6370;6363:12;6318:59;6036:347;;;;;:::o;6388:854::-;6493:6;6501;6509;6517;6525;6533;6586:3;6574:9;6565:7;6561:23;6557:33;6554:53;;;6603:1;6600;6593:12;6554:53;6639:9;6626:23;6616:33;;6668:35;6699:2;6688:9;6684:18;6668:35;:::i;:::-;6658:45;;6754:2;6743:9;6739:18;6726:32;6777:18;6818:2;6810:6;6807:14;6804:34;;;6834:1;6831;6824:12;6804:34;6873:58;6923:7;6914:6;6903:9;6899:22;6873:58;:::i;:::-;6950:8;;-1:-1:-1;6847:84:350;-1:-1:-1;7038:2:350;7023:18;;7010:32;;-1:-1:-1;7054:16:350;;;7051:36;;;7083:1;7080;7073:12;7051:36;;7122:60;7174:7;7163:8;7152:9;7148:24;7122:60;:::i;:::-;6388:854;;;;-1:-1:-1;6388:854:350;;-1:-1:-1;6388:854:350;;7201:8;;6388:854;-1:-1:-1;;;6388:854:350:o;7483:316::-;7560:6;7568;7576;7629:2;7617:9;7608:7;7604:23;7600:32;7597:52;;;7645:1;7642;7635:12;7597:52;-1:-1:-1;;7668:23:350;;;7738:2;7723:18;;7710:32;;-1:-1:-1;7789:2:350;7774:18;;;7761:32;;7483:316;-1:-1:-1;7483:316:350:o;7804:433::-;8075:10;8067:6;8063:23;8052:9;8045:42;8123:6;8118:2;8107:9;8103:18;8096:34;8166:2;8161;8150:9;8146:18;8139:30;8026:4;8186:45;8227:2;8216:9;8212:18;8204:6;8186:45;:::i;:::-;8178:53;7804:433;-1:-1:-1;;;;;7804:433:350:o;8242:184::-;8294:77;8291:1;8284:88;8391:4;8388:1;8381:15;8415:4;8412:1;8405:15;8943:184;8995:77;8992:1;8985:88;9092:4;9089:1;9082:15;9116:4;9113:1;9106:15;9132:128;9172:3;9203:1;9199:6;9196:1;9193:13;9190:39;;;9209:18;;:::i;:::-;-1:-1:-1;9245:9:350;;9132:128::o;9265:125::-;9305:4;9333:1;9330;9327:8;9324:34;;;9338:18;;:::i;:::-;-1:-1:-1;9375:9:350;;9265:125::o;9395:271::-;9500:6;9508;9561:2;9549:9;9540:7;9536:23;9532:32;9529:52;;;9577:1;9574;9567:12;9529:52;-1:-1:-1;;9600:16:350;;9656:2;9641:18;;;9635:25;9600:16;;9635:25;;-1:-1:-1;9395:271:350:o;9671:184::-;9723:77;9720:1;9713:88;9820:4;9817:1;9810:15;9844:4;9841:1;9834:15;9860:120;9900:1;9926;9916:35;;9931:18;;:::i;:::-;-1:-1:-1;9965:9:350;;9860:120::o;9985:228::-;10025:7;10151:1;10083:66;10079:74;10076:1;10073:81;10068:1;10061:9;10054:17;10050:105;10047:131;;;10158:18;;:::i;:::-;-1:-1:-1;10198:9:350;;9985:228::o;10218:112::-;10250:1;10276;10266:35;;10281:18;;:::i;:::-;-1:-1:-1;10315:9:350;;10218:112::o;10335:246::-;10375:4;10404:34;10488:10;;;;10458;;10510:12;;;10507:38;;;10525:18;;:::i;:::-;10562:13;;10335:246;-1:-1:-1;;;10335:246:350:o;10586:253::-;10626:3;10654:34;10715:2;10712:1;10708:10;10745:2;10742:1;10738:10;10776:3;10772:2;10768:12;10763:3;10760:21;10757:47;;;10784:18;;:::i;:::-;10820:13;;10586:253;-1:-1:-1;;;;10586:253:350:o;10844:271::-;11027:6;11019;11014:3;11001:33;10983:3;11053:16;;11078:13;;;11053:16;10844:271;-1:-1:-1;10844:271:350:o;11120:325::-;11208:6;11203:3;11196:19;11260:6;11253:5;11246:4;11241:3;11237:14;11224:43;;11312:1;11305:4;11296:6;11291:3;11287:16;11283:27;11276:38;11178:3;11434:4;11364:66;11359:2;11351:6;11347:15;11343:88;11338:3;11334:98;11330:109;11323:116;;11120:325;;;;:::o;11450:502::-;11691:2;11680:9;11673:21;11654:4;11717:61;11774:2;11763:9;11759:18;11751:6;11743;11717:61;:::i;:::-;11826:9;11818:6;11814:22;11809:2;11798:9;11794:18;11787:50;11854:49;11896:6;11888;11880;11854:49;:::i;:::-;11846:57;;;11939:6;11934:2;11923:9;11919:18;11912:34;11450:502;;;;;;;;:::o;11957:184::-;12027:6;12080:2;12068:9;12059:7;12055:23;12051:32;12048:52;;;12096:1;12093;12086:12;12048:52;-1:-1:-1;12119:16:350;;11957:184;-1:-1:-1;11957:184:350:o;12146:229::-;12185:4;12214:18;12282:10;;;;12252;;12304:12;;;12301:38;;;12319:18;;:::i;12380:191::-;12411:1;12437:18;12482:2;12479:1;12475:10;12504:3;12494:37;;12511:18;;:::i;:::-;12549:10;;12545:20;;;;;12380:191;-1:-1:-1;;12380:191:350:o;12576:276::-;12671:6;12724:2;12712:9;12703:7;12699:23;12695:32;12692:52;;;12740:1;12737;12730:12;12692:52;12772:9;12766:16;12791:31;12816:5;12791:31;:::i;13810:236::-;13849:3;13877:18;13922:2;13919:1;13915:10;13952:2;13949:1;13945:10;13983:3;13979:2;13975:12;13970:3;13967:21;13964:47;;;13991:18;;:::i;14051:195::-;14090:3;14121:66;14114:5;14111:77;14108:103;;14191:18;;:::i;:::-;-1:-1:-1;14238:1:350;14227:13;;14051:195::o;14251:184::-;14303:77;14300:1;14293:88;14400:4;14397:1;14390:15;14424:4;14421:1;14414:15;14440:655;14479:7;14511:66;14603:1;14600;14596:9;14631:1;14628;14624:9;14676:1;14672:2;14668:10;14665:1;14662:17;14657:2;14653;14649:11;14645:35;14642:61;;;14683:18;;:::i;:::-;14722:66;14814:1;14811;14807:9;14861:1;14857:2;14852:11;14849:1;14845:19;14840:2;14836;14832:11;14828:37;14825:63;;;14868:18;;:::i;:::-;14914:1;14911;14907:9;14897:19;;14961:1;14957:2;14952:11;14949:1;14945:19;14940:2;14936;14932:11;14928:37;14925:63;;;14968:18;;:::i;:::-;15033:1;15029:2;15024:11;15021:1;15017:19;15012:2;15008;15004:11;15000:37;14997:63;;;15040:18;;:::i;:::-;-1:-1:-1;;;15080:9:350;;;;;14440:655;-1:-1:-1;;;14440:655:350:o;15100:308::-;15139:1;15165;15155:35;;15170:18;;:::i;:::-;15287:66;15284:1;15281:73;15212:66;15209:1;15206:73;15202:153;15199:179;;;15358:18;;:::i;:::-;-1:-1:-1;15392:10:350;;15100:308::o",linkReferences:{},immutableReferences:{"94380":[{start:1235,length:32},{start:7864,length:32}],"94383":[{start:1932,length:32},{start:3697,length:32},{start:6751,length:32},{start:6885,length:32},{start:7408,length:32},{start:7714,length:32}],"94386":[{start:1813,length:32},{start:3589,length:32},{start:3790,length:32},{start:7681,length:32},{start:9473,length:32},{start:11378,length:32},{start:13231,length:32},{start:13533,length:32},{start:13797,length:32},{start:14017,length:32}],"94390":[{start:1762,length:32},{start:4119,length:32},{start:10289,length:32}],"94394":[{start:716,length:32},{start:8102,length:32},{start:8962,length:32}],"94398":[{start:1294,length:32},{start:5365,length:32},{start:9939,length:32}],"94402":[{start:800,length:32},{start:2836,length:32},{start:5100,length:32},{start:6381,length:32},{start:15193,length:32}],"94406":[{start:2495,length:32},{start:5430,length:32}],"94409":[{start:1679,length:32},{start:9785,length:32}]}},methodIdentifiers:{"absolutePrestate()":"8d450a95","addLocalData(uint256,uint256,uint256)":"f8f43ff6","attack(uint256,bytes32)":"c55cd0c7","claimCredit(address)":"60e27464","claimData(uint256)":"c6f0308c","claimDataLen()":"8980e0cc","createdAt()":"cf09e0d0","credit(address)":"d5d44d80","defend(uint256,bytes32)":"35fef567","extraData()":"609d3334","gameData()":"fa24f743","gameDuration()":"e1f0c376","gameType()":"bbdc02db","getRequiredBond(uint128)":"c395e1ca","initialize()":"8129fc1c","l1Head()":"6361506d","l2BlockNumber()":"8b85902b","l2ChainId()":"d6ae3cd5","maxGameDepth()":"fa315aa9","move(uint256,bytes32,bool)":"632247ea","resolve()":"2810e1d6","resolveClaim(uint256)":"fdffbb28","resolvedAt()":"19effeb4","rootClaim()":"bcef3b55","splitDepth()":"ec5e6308","startingBlockNumber()":"70872aa5","startingOutputRoot()":"57da950e","startingRootHash()":"25fc2ace","status()":"200d2ed2","step(uint256,bool,bytes,bytes)":"d8cc1a3c","version()":"54fd4d50","vm()":"3a768463","weth()":"3fc8cef3"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_absolutePrestate","type":"bytes32"},{"internalType":"uint256","name":"_maxGameDepth","type":"uint256"},{"internalType":"uint256","name":"_splitDepth","type":"uint256"},{"internalType":"Duration","name":"_gameDuration","type":"uint64"},{"internalType":"contract IBigStepper","name":"_vm","type":"address"},{"internalType":"contract IDelayedWETH","name":"_weth","type":"address"},{"internalType":"contract IAnchorStateRegistry","name":"_anchorStateRegistry","type":"address"},{"internalType":"uint256","name":"_l2ChainId","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyInitialized","type":"error"},{"inputs":[],"name":"AnchorRootNotFound","type":"error"},{"inputs":[],"name":"BondTransferFailed","type":"error"},{"inputs":[],"name":"CannotDefendRootClaim","type":"error"},{"inputs":[],"name":"ClaimAboveSplit","type":"error"},{"inputs":[],"name":"ClaimAlreadyExists","type":"error"},{"inputs":[],"name":"ClaimAlreadyResolved","type":"error"},{"inputs":[],"name":"ClockNotExpired","type":"error"},{"inputs":[],"name":"ClockTimeExceeded","type":"error"},{"inputs":[],"name":"DuplicateStep","type":"error"},{"inputs":[],"name":"GameDepthExceeded","type":"error"},{"inputs":[],"name":"GameNotInProgress","type":"error"},{"inputs":[],"name":"IncorrectBondAmount","type":"error"},{"inputs":[],"name":"InvalidLocalIdent","type":"error"},{"inputs":[],"name":"InvalidParent","type":"error"},{"inputs":[],"name":"InvalidPrestate","type":"error"},{"inputs":[],"name":"InvalidSplitDepth","type":"error"},{"inputs":[],"name":"NoCreditToClaim","type":"error"},{"inputs":[],"name":"OutOfOrderResolution","type":"error"},{"inputs":[{"internalType":"Claim","name":"rootClaim","type":"bytes32"}],"name":"UnexpectedRootClaim","type":"error"},{"inputs":[],"name":"ValidStep","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"parentIndex","type":"uint256"},{"indexed":true,"internalType":"Claim","name":"claim","type":"bytes32"},{"indexed":true,"internalType":"address","name":"claimant","type":"address"}],"name":"Move","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum GameStatus","name":"status","type":"uint8"}],"name":"Resolved","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"absolutePrestate","outputs":[{"internalType":"Claim","name":"absolutePrestate_","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ident","type":"uint256"},{"internalType":"uint256","name":"_execLeafIdx","type":"uint256"},{"internalType":"uint256","name":"_partOffset","type":"uint256"}],"name":"addLocalData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_parentIndex","type":"uint256"},{"internalType":"Claim","name":"_claim","type":"bytes32"}],"name":"attack","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"claimCredit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimData","outputs":[{"internalType":"uint32","name":"parentIndex","type":"uint32"},{"internalType":"address","name":"counteredBy","type":"address"},{"internalType":"address","name":"claimant","type":"address"},{"internalType":"uint128","name":"bond","type":"uint128"},{"internalType":"Claim","name":"claim","type":"bytes32"},{"internalType":"Position","name":"position","type":"uint128"},{"internalType":"Clock","name":"clock","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimDataLen","outputs":[{"internalType":"uint256","name":"len_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createdAt","outputs":[{"internalType":"Timestamp","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"credit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_parentIndex","type":"uint256"},{"internalType":"Claim","name":"_claim","type":"bytes32"}],"name":"defend","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"extraData","outputs":[{"internalType":"bytes","name":"extraData_","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"gameData","outputs":[{"internalType":"GameType","name":"gameType_","type":"uint32"},{"internalType":"Claim","name":"rootClaim_","type":"bytes32"},{"internalType":"bytes","name":"extraData_","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameDuration","outputs":[{"internalType":"Duration","name":"gameDuration_","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameType","outputs":[{"internalType":"GameType","name":"gameType_","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"Position","name":"_position","type":"uint128"}],"name":"getRequiredBond","outputs":[{"internalType":"uint256","name":"requiredBond_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"l1Head","outputs":[{"internalType":"Hash","name":"l1Head_","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"l2BlockNumber","outputs":[{"internalType":"uint256","name":"l2BlockNumber_","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"l2ChainId","outputs":[{"internalType":"uint256","name":"l2ChainId_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxGameDepth","outputs":[{"internalType":"uint256","name":"maxGameDepth_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_challengeIndex","type":"uint256"},{"internalType":"Claim","name":"_claim","type":"bytes32"},{"internalType":"bool","name":"_isAttack","type":"bool"}],"name":"move","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"resolve","outputs":[{"internalType":"enum GameStatus","name":"status_","type":"uint8"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimIndex","type":"uint256"}],"name":"resolveClaim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"resolvedAt","outputs":[{"internalType":"Timestamp","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rootClaim","outputs":[{"internalType":"Claim","name":"rootClaim_","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"splitDepth","outputs":[{"internalType":"uint256","name":"splitDepth_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingBlockNumber","outputs":[{"internalType":"uint256","name":"startingBlockNumber_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingOutputRoot","outputs":[{"internalType":"Hash","name":"root","type":"bytes32"},{"internalType":"uint256","name":"l2BlockNumber","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingRootHash","outputs":[{"internalType":"Hash","name":"startingRootHash_","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"enum GameStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimIndex","type":"uint256"},{"internalType":"bool","name":"_isAttack","type":"bool"},{"internalType":"bytes","name":"_stateData","type":"bytes"},{"internalType":"bytes","name":"_proof","type":"bytes"}],"name":"step","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vm","outputs":[{"internalType":"contract IBigStepper","name":"vm_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"contract IDelayedWETH","name":"weth_","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"errors":{"UnexpectedRootClaim(bytes32)":[{"params":{"rootClaim":"is the claim that was unexpected."}}]},"kind":"dev","methods":{"addLocalData(uint256,uint256,uint256)":{"params":{"_execLeafIdx":"The index of the leaf claim in an execution subgame that requires the local data for a step.","_ident":"The local identifier of the data to post.","_partOffset":"The offset of the data to post."}},"attack(uint256,bytes32)":{"params":{"_claim":"The `Claim` at the relative attack position.","_parentIndex":"Index of the `Claim` to attack in the `claimData` array."}},"claimCredit(address)":{"params":{"_recipient":"The owner and recipient of the credit."}},"constructor":{"params":{"_absolutePrestate":"The absolute prestate of the instruction trace.","_anchorStateRegistry":"The contract that stores the anchor state for each game type.","_gameDuration":"The duration of the game.","_gameType":"The type ID of the game.","_l2ChainId":"Chain ID of the L2 network this contract argues about.","_maxGameDepth":"The maximum depth of bisection.","_splitDepth":"The final depth of the output bisection portion of the game.","_vm":"An onchain VM that performs single instruction steps on an FPP trace.","_weth":"WETH contract for holding ETH."}},"defend(uint256,bytes32)":{"params":{"_claim":"The `Claim` at the relative defense position.","_parentIndex":"Index of the claim to defend in the `claimData` array."}},"extraData()":{"details":"`clones-with-immutable-args` argument #2","returns":{"extraData_":"Any extra data supplied to the dispute game contract by the creator."}},"gameData()":{"returns":{"extraData_":"Any extra data supplied to the dispute game contract by the creator.","gameType_":"The type of proof system being used.","rootClaim_":"The root claim of the DisputeGame."}},"gameType()":{"details":"The reference impl should be entirely different depending on the type (fault, validity) i.e. The game type should indicate the security model.","returns":{"gameType_":"The type of proof system being used."}},"getRequiredBond(uint128)":{"params":{"_position":"The position of the bonded interaction."},"returns":{"requiredBond_":"The required ETH bond for the given move, in wei."}},"initialize()":{"details":"This function may only be called once."},"move(uint256,bytes32,bool)":{"params":{"_challengeIndex":"The index of the claim being moved against.","_claim":"The claim at the next logical position in the game.","_isAttack":"Whether or not the move is an attack or defense."}},"resolve()":{"details":"May only be called if the `status` is `IN_PROGRESS`.","returns":{"status_":"The status of the game after resolution."}},"resolveClaim(uint256)":{"details":"This function must be called bottom-up in the DAG A subgame is a tree of claims that has a maximum depth of 1. A subgame root claims is valid if, and only if, all of its child claims are invalid. At the deepest level in the DAG, a claim is invalid if there\'s a successful step against it.","params":{"_claimIndex":"The index of the subgame root claim to resolve."}},"rootClaim()":{"details":"`clones-with-immutable-args` argument #1","returns":{"rootClaim_":"The root claim of the DisputeGame."}},"step(uint256,bool,bytes,bytes)":{"details":"This function should point to a fault proof processor in order to execute a step in the fault proof program on-chain. The interface of the fault proof processor contract should adhere to the `IBigStepper` interface.","params":{"_claimIndex":"The index of the challenged claim within `claimData`.","_isAttack":"Whether or not the step is an attack or a defense.","_proof":"Proof to access memory nodes in the VM\'s merkle state tree.","_stateData":"The stateData of the step is the preimage of the claim at the given prestate, which is at `_stateIndex` if the move is an attack and `_claimIndex` if the move is a defense. If the step is an attack on the first instruction, it is the absolute prestate of the fault proof VM."}}},"stateVariables":{"status":{"return":"The current status of the game.","returns":{"_0":"The current status of the game."}},"version":{"custom:semver":"0.9.0"}},"title":"FaultDisputeGame","version":1},"userdoc":{"errors":{"AlreadyInitialized()":[{"notice":"Thrown when a dispute game has already been initialized."}],"AnchorRootNotFound()":[{"notice":"Thrown when an anchor root is not found for a given game type."}],"BondTransferFailed()":[{"notice":"Thrown when the transfer of credit to a recipient account reverts."}],"CannotDefendRootClaim()":[{"notice":"Thrown when a defense against the root claim is attempted."}],"ClaimAboveSplit()":[{"notice":"Thrown when a parent output root is attempted to be found on a claim that is in the output root portion of the tree."}],"ClaimAlreadyExists()":[{"notice":"Thrown when a claim is attempting to be made that already exists."}],"ClaimAlreadyResolved()":[{"notice":"Thrown when resolving a claim that has already been resolved."}],"ClockNotExpired()":[{"notice":"Thrown when the game is attempted to be resolved too early."}],"ClockTimeExceeded()":[{"notice":"Thrown when a move is attempted to be made after the clock has timed out."}],"DuplicateStep()":[{"notice":"Thrown when trying to step against a claim for a second time, after it has already been countered with an instruction step."}],"GameDepthExceeded()":[{"notice":"Thrown when a move is attempted to be made at or greater than the max depth of the game."}],"GameNotInProgress()":[{"notice":"Thrown when an action that requires the game to be `IN_PROGRESS` is invoked when the game is not in progress."}],"IncorrectBondAmount()":[{"notice":"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"InvalidLocalIdent()":[{"notice":"Thrown when an invalid local identifier is passed to the `addLocalData` function."}],"InvalidParent()":[{"notice":"Thrown when a step is attempted above the maximum game depth."}],"InvalidPrestate()":[{"notice":"Thrown when an invalid prestate is supplied to `step`."}],"InvalidSplitDepth()":[{"notice":"Thrown on deployment if the split depth is greater than or equal to the max depth of the game."}],"NoCreditToClaim()":[{"notice":"Thrown when a credit claim is attempted for a value of 0."}],"OutOfOrderResolution()":[{"notice":"Thrown when resolving claims out of order."}],"UnexpectedRootClaim(bytes32)":[{"notice":"Thrown when the root claim has an unexpected VM status. Some games can only start with a root-claim with a specific status."}],"ValidStep()":[{"notice":"Thrown when a step is made that computes the expected post state correctly."}]},"events":{"Move(uint256,bytes32,address)":{"notice":"Emitted when a new claim is added to the DAG by `claimant`"},"Resolved(uint8)":{"notice":"Emitted when the game is resolved."}},"kind":"user","methods":{"absolutePrestate()":{"notice":"Returns the absolute prestate of the instruction trace."},"addLocalData(uint256,uint256,uint256)":{"notice":"Posts the requested local data to the VM\'s `PreimageOralce`."},"attack(uint256,bytes32)":{"notice":"Attack a disagreed upon `Claim`."},"claimCredit(address)":{"notice":"Claim the credit belonging to the recipient address."},"claimData(uint256)":{"notice":"An append-only array of all claims made during the dispute game."},"claimDataLen()":{"notice":"Returns the length of the `claimData` array."},"createdAt()":{"notice":"The starting timestamp of the game"},"credit(address)":{"notice":"Credited balances for winning participants."},"defend(uint256,bytes32)":{"notice":"Defend an agreed upon `Claim`."},"extraData()":{"notice":"Getter for the extra data."},"gameData()":{"notice":"A compliant implementation of this interface should return the components of the game UUID\'s preimage provided in the cwia payload. The preimage of the UUID is constructed as `keccak256(gameType . rootClaim . extraData)` where `.` denotes concatenation."},"gameDuration()":{"notice":"Returns the game duration."},"gameType()":{"notice":"Getter for the game type."},"getRequiredBond(uint128)":{"notice":"Returns the required bond for a given move kind."},"initialize()":{"notice":"Initializes the contract."},"l1Head()":{"notice":"A block hash on the L1 that contains the disputed output root."},"l2BlockNumber()":{"notice":"The l2BlockNumber of the disputed output root in the `L2OutputOracle`."},"l2ChainId()":{"notice":"Returns the chain ID of the L2 network this contract argues about."},"maxGameDepth()":{"notice":"Returns the max game depth."},"move(uint256,bytes32,bool)":{"notice":"Generic move function, used for both `attack` and `defend` moves."},"resolve()":{"notice":"If all necessary information has been gathered, this function should mark the game status as either `CHALLENGER_WINS` or `DEFENDER_WINS` and return the status of the resolved game. It is at this stage that the bonds should be awarded to the necessary parties."},"resolveClaim(uint256)":{"notice":"Resolves the subgame rooted at the given claim index."},"resolvedAt()":{"notice":"The timestamp of the game\'s global resolution."},"rootClaim()":{"notice":"Getter for the root claim."},"splitDepth()":{"notice":"Returns the split depth."},"startingBlockNumber()":{"notice":"Only the starting block number of the game."},"startingOutputRoot()":{"notice":"The latest finalized output root, serving as the anchor for output bisection."},"startingRootHash()":{"notice":"Only the starting output root of the game."},"status()":{"notice":"Returns the current status of the game."},"step(uint256,bool,bytes,bytes)":{"notice":"Perform an instruction step via an on-chain fault proof processor."},"version()":{"notice":"Semantic version."},"vm()":{"notice":"Returns the address of the VM."},"weth()":{"notice":"Returns the WETH contract for holding ETH."}},"notice":"An implementation of the `IFaultDisputeGame` interface.","version":1}},"settings":{"compilationTarget":{"src/dispute/FaultDisputeGame.sol":"FaultDisputeGame"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/solady/src/utils/FixedPointMathLib.sol":{"keccak256":"0x1fbad6f61bd3e5875e6b0060b67626cb1ccb9542c0da368a44eb3870c9a9e160","license":"MIT","urls":["bzz-raw://5189fcd5ecff0f449475cf3183e9d6b509cd1221555aba6cd76c70b097cc8260","dweb:/ipfs/Qmbt34Kf5h2DeYzmqXtg3jprYxDCFdENtf41NgCdcARA7u"]},"src/cannon/interfaces/IPreimageOracle.sol":{"keccak256":"0x7bda0156571b468cf0e22321945655f2dacd7082f440f742aa4612b36b388a9f","license":"MIT","urls":["bzz-raw://5ba53777c65987bc20faa7731476c779e7794a58bafb40191a25275a05e3f8af","dweb:/ipfs/QmbxQwE2BC9aabTruDqkd2CLojwq7G9i2rkWKv46Wucae1"]},"src/dispute/FaultDisputeGame.sol":{"keccak256":"0x095d22e683f20a4e5a0541968a9bd98e70a4db81d2adfbde5d9918b45501d55c","license":"MIT","urls":["bzz-raw://c60431da74c7e4e51be69ece49a0b92afd483c9020c2e7c726ad179e785199f9","dweb:/ipfs/QmSExbitxvKi6miC7o4UFZD6ssV2LGr7jJxWPY3jg3rvwX"]},"src/dispute/interfaces/IAnchorStateRegistry.sol":{"keccak256":"0x5fd05f2482d149668897e54f92d556a0c3512aa35b51ba800ef15d18dd490cb3","license":"MIT","urls":["bzz-raw://689d621bc5c43a41d5232980f0eceecd7a3d8aa99438dfd9fed5f73d5ecd2887","dweb:/ipfs/QmQ5jw54TkdxLuLFti6JZown54rGQ3m3Q93pvnVU1j1HRj"]},"src/dispute/interfaces/IBigStepper.sol":{"keccak256":"0xc92ee3069677b903826c83d5b4e46e3be462f9ccf1d95e72a12b1052e3451f0a","license":"MIT","urls":["bzz-raw://f93692bd3c8d9533ab8024ce2df6d880328826d1a92fdb9cf45301e2d0c65884","dweb:/ipfs/QmUcmbjTw9gnCUNasgmQjVbSgcCPKZ1FQyA31dH4k5Nc75"]},"src/dispute/interfaces/IDelayedWETH.sol":{"keccak256":"0x0bb035e9bbb411696841ea292eeed6d4463c3c3eee7d6c5d8e38a101e8a4ff04","license":"MIT","urls":["bzz-raw://0477cf2c137392d35081f23bfd7f3565881767dcb1489a62e7e80b3c178cfce8","dweb:/ipfs/QmTjALjrHg5rvhjfCKPmXLTgkMNneECWaqoarunSoVS37G"]},"src/dispute/interfaces/IDisputeGame.sol":{"keccak256":"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6","license":"MIT","urls":["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"]},"src/dispute/interfaces/IDisputeGameFactory.sol":{"keccak256":"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda","license":"MIT","urls":["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"]},"src/dispute/interfaces/IFaultDisputeGame.sol":{"keccak256":"0x57257f3fcdf56a3ec906fc7dba4b4c914330bd7f0d5cabea77a99692c410dad7","license":"MIT","urls":["bzz-raw://9308a4d42e0556e0f48985b1fee7ab71b1ece11bb347c220cd787012e4a6aff3","dweb:/ipfs/QmUYrMcwTpqMtVqFhfebkAJ3dSJNBXix5fFn2KNZRQBfK7"]},"src/dispute/interfaces/IInitializable.sol":{"keccak256":"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc","license":"MIT","urls":["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"]},"src/dispute/interfaces/IWETH.sol":{"keccak256":"0x681482892d7283baeb0c55178ff0654db694ada095972b7447cff1d4bbe2d557","license":"MIT","urls":["bzz-raw://a02b310db3ed444a77451ed0951366e0a44be8c4d3b214eacc61e07e0262855c","dweb:/ipfs/QmaQfom7LazaxFzYmhQv6NeR5pGHQV4qBn5fNjx2GrEjKu"]},"src/dispute/lib/LibGameId.sol":{"keccak256":"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6","license":"MIT","urls":["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"]},"src/dispute/lib/LibHashing.sol":{"keccak256":"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b","license":"MIT","urls":["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"]},"src/dispute/lib/LibPosition.sol":{"keccak256":"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504","license":"MIT","urls":["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"]},"src/dispute/lib/LibUDT.sol":{"keccak256":"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c","license":"MIT","urls":["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"]},"src/libraries/Clone.sol":{"keccak256":"0x5893eb0f0cb5ab0ed0db1ba47ce78de2362610864368a71963615334f3f5a829","license":"BSD","urls":["bzz-raw://6bda119dc186663e7f67bcadb72263b4af023b2e1bff5aff559e86ceed339d1a","dweb:/ipfs/QmdqZyX8GMptLderaZW8cEeoKy5doNhW6jkTX2SySn1a8e"]},"src/libraries/DisputeErrors.sol":{"keccak256":"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f","license":"MIT","urls":["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"]},"src/libraries/DisputeTypes.sol":{"keccak256":"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6","license":"MIT","urls":["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_absolutePrestate",type:"bytes32"},{internalType:"uint256",name:"_maxGameDepth",type:"uint256"},{internalType:"uint256",name:"_splitDepth",type:"uint256"},{internalType:"Duration",name:"_gameDuration",type:"uint64"},{internalType:"contract IBigStepper",name:"_vm",type:"address"},{internalType:"contract IDelayedWETH",name:"_weth",type:"address"},{internalType:"contract IAnchorStateRegistry",name:"_anchorStateRegistry",type:"address"},{internalType:"uint256",name:"_l2ChainId",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],type:"error",name:"AlreadyInitialized"},{inputs:[],type:"error",name:"AnchorRootNotFound"},{inputs:[],type:"error",name:"BondTransferFailed"},{inputs:[],type:"error",name:"CannotDefendRootClaim"},{inputs:[],type:"error",name:"ClaimAboveSplit"},{inputs:[],type:"error",name:"ClaimAlreadyExists"},{inputs:[],type:"error",name:"ClaimAlreadyResolved"},{inputs:[],type:"error",name:"ClockNotExpired"},{inputs:[],type:"error",name:"ClockTimeExceeded"},{inputs:[],type:"error",name:"DuplicateStep"},{inputs:[],type:"error",name:"GameDepthExceeded"},{inputs:[],type:"error",name:"GameNotInProgress"},{inputs:[],type:"error",name:"IncorrectBondAmount"},{inputs:[],type:"error",name:"InvalidLocalIdent"},{inputs:[],type:"error",name:"InvalidParent"},{inputs:[],type:"error",name:"InvalidPrestate"},{inputs:[],type:"error",name:"InvalidSplitDepth"},{inputs:[],type:"error",name:"NoCreditToClaim"},{inputs:[],type:"error",name:"OutOfOrderResolution"},{inputs:[{internalType:"Claim",name:"rootClaim",type:"bytes32"}],type:"error",name:"UnexpectedRootClaim"},{inputs:[],type:"error",name:"ValidStep"},{inputs:[{internalType:"uint256",name:"parentIndex",type:"uint256",indexed:!0},{internalType:"Claim",name:"claim",type:"bytes32",indexed:!0},{internalType:"address",name:"claimant",type:"address",indexed:!0}],type:"event",name:"Move",anonymous:!1},{inputs:[{internalType:"enum GameStatus",name:"status",type:"uint8",indexed:!0}],type:"event",name:"Resolved",anonymous:!1},{inputs:[],stateMutability:"payable",type:"fallback"},{inputs:[],stateMutability:"view",type:"function",name:"absolutePrestate",outputs:[{internalType:"Claim",name:"absolutePrestate_",type:"bytes32"}]},{inputs:[{internalType:"uint256",name:"_ident",type:"uint256"},{internalType:"uint256",name:"_execLeafIdx",type:"uint256"},{internalType:"uint256",name:"_partOffset",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"addLocalData"},{inputs:[{internalType:"uint256",name:"_parentIndex",type:"uint256"},{internalType:"Claim",name:"_claim",type:"bytes32"}],stateMutability:"payable",type:"function",name:"attack"},{inputs:[{internalType:"address",name:"_recipient",type:"address"}],stateMutability:"nonpayable",type:"function",name:"claimCredit"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function",name:"claimData",outputs:[{internalType:"uint32",name:"parentIndex",type:"uint32"},{internalType:"address",name:"counteredBy",type:"address"},{internalType:"address",name:"claimant",type:"address"},{internalType:"uint128",name:"bond",type:"uint128"},{internalType:"Claim",name:"claim",type:"bytes32"},{internalType:"Position",name:"position",type:"uint128"},{internalType:"Clock",name:"clock",type:"uint128"}]},{inputs:[],stateMutability:"view",type:"function",name:"claimDataLen",outputs:[{internalType:"uint256",name:"len_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"createdAt",outputs:[{internalType:"Timestamp",name:"",type:"uint64"}]},{inputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"credit",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_parentIndex",type:"uint256"},{internalType:"Claim",name:"_claim",type:"bytes32"}],stateMutability:"payable",type:"function",name:"defend"},{inputs:[],stateMutability:"pure",type:"function",name:"extraData",outputs:[{internalType:"bytes",name:"extraData_",type:"bytes"}]},{inputs:[],stateMutability:"view",type:"function",name:"gameData",outputs:[{internalType:"GameType",name:"gameType_",type:"uint32"},{internalType:"Claim",name:"rootClaim_",type:"bytes32"},{internalType:"bytes",name:"extraData_",type:"bytes"}]},{inputs:[],stateMutability:"view",type:"function",name:"gameDuration",outputs:[{internalType:"Duration",name:"gameDuration_",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"gameType",outputs:[{internalType:"GameType",name:"gameType_",type:"uint32"}]},{inputs:[{internalType:"Position",name:"_position",type:"uint128"}],stateMutability:"view",type:"function",name:"getRequiredBond",outputs:[{internalType:"uint256",name:"requiredBond_",type:"uint256"}]},{inputs:[],stateMutability:"payable",type:"function",name:"initialize"},{inputs:[],stateMutability:"pure",type:"function",name:"l1Head",outputs:[{internalType:"Hash",name:"l1Head_",type:"bytes32"}]},{inputs:[],stateMutability:"pure",type:"function",name:"l2BlockNumber",outputs:[{internalType:"uint256",name:"l2BlockNumber_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2ChainId",outputs:[{internalType:"uint256",name:"l2ChainId_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"maxGameDepth",outputs:[{internalType:"uint256",name:"maxGameDepth_",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_challengeIndex",type:"uint256"},{internalType:"Claim",name:"_claim",type:"bytes32"},{internalType:"bool",name:"_isAttack",type:"bool"}],stateMutability:"payable",type:"function",name:"move"},{inputs:[],stateMutability:"nonpayable",type:"function",name:"resolve",outputs:[{internalType:"enum GameStatus",name:"status_",type:"uint8"}]},{inputs:[{internalType:"uint256",name:"_claimIndex",type:"uint256"}],stateMutability:"payable",type:"function",name:"resolveClaim"},{inputs:[],stateMutability:"view",type:"function",name:"resolvedAt",outputs:[{internalType:"Timestamp",name:"",type:"uint64"}]},{inputs:[],stateMutability:"pure",type:"function",name:"rootClaim",outputs:[{internalType:"Claim",name:"rootClaim_",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"splitDepth",outputs:[{internalType:"uint256",name:"splitDepth_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingBlockNumber",outputs:[{internalType:"uint256",name:"startingBlockNumber_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingOutputRoot",outputs:[{internalType:"Hash",name:"root",type:"bytes32"},{internalType:"uint256",name:"l2BlockNumber",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingRootHash",outputs:[{internalType:"Hash",name:"startingRootHash_",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"status",outputs:[{internalType:"enum GameStatus",name:"",type:"uint8"}]},{inputs:[{internalType:"uint256",name:"_claimIndex",type:"uint256"},{internalType:"bool",name:"_isAttack",type:"bool"},{internalType:"bytes",name:"_stateData",type:"bytes"},{internalType:"bytes",name:"_proof",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"step"},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"vm",outputs:[{internalType:"contract IBigStepper",name:"vm_",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"weth",outputs:[{internalType:"contract IDelayedWETH",name:"weth_",type:"address"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"addLocalData(uint256,uint256,uint256)":{params:{_execLeafIdx:"The index of the leaf claim in an execution subgame that requires the local data for a step.",_ident:"The local identifier of the data to post.",_partOffset:"The offset of the data to post."}},"attack(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative attack position.",_parentIndex:"Index of the `Claim` to attack in the `claimData` array."}},"claimCredit(address)":{params:{_recipient:"The owner and recipient of the credit."}},constructor:{params:{_absolutePrestate:"The absolute prestate of the instruction trace.",_anchorStateRegistry:"The contract that stores the anchor state for each game type.",_gameDuration:"The duration of the game.",_gameType:"The type ID of the game.",_l2ChainId:"Chain ID of the L2 network this contract argues about.",_maxGameDepth:"The maximum depth of bisection.",_splitDepth:"The final depth of the output bisection portion of the game.",_vm:"An onchain VM that performs single instruction steps on an FPP trace.",_weth:"WETH contract for holding ETH."}},"defend(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative defense position.",_parentIndex:"Index of the claim to defend in the `claimData` array."}},"extraData()":{details:"`clones-with-immutable-args` argument #2",returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator."}},"gameData()":{returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator.",gameType_:"The type of proof system being used.",rootClaim_:"The root claim of the DisputeGame."}},"gameType()":{details:"The reference impl should be entirely different depending on the type (fault, validity) i.e. The game type should indicate the security model.",returns:{gameType_:"The type of proof system being used."}},"getRequiredBond(uint128)":{params:{_position:"The position of the bonded interaction."},returns:{requiredBond_:"The required ETH bond for the given move, in wei."}},"initialize()":{details:"This function may only be called once."},"move(uint256,bytes32,bool)":{params:{_challengeIndex:"The index of the claim being moved against.",_claim:"The claim at the next logical position in the game.",_isAttack:"Whether or not the move is an attack or defense."}},"resolve()":{details:"May only be called if the `status` is `IN_PROGRESS`.",returns:{status_:"The status of the game after resolution."}},"resolveClaim(uint256)":{details:"This function must be called bottom-up in the DAG A subgame is a tree of claims that has a maximum depth of 1. A subgame root claims is valid if, and only if, all of its child claims are invalid. At the deepest level in the DAG, a claim is invalid if there's a successful step against it.",params:{_claimIndex:"The index of the subgame root claim to resolve."}},"rootClaim()":{details:"`clones-with-immutable-args` argument #1",returns:{rootClaim_:"The root claim of the DisputeGame."}},"step(uint256,bool,bytes,bytes)":{details:"This function should point to a fault proof processor in order to execute a step in the fault proof program on-chain. The interface of the fault proof processor contract should adhere to the `IBigStepper` interface.",params:{_claimIndex:"The index of the challenged claim within `claimData`.",_isAttack:"Whether or not the step is an attack or a defense.",_proof:"Proof to access memory nodes in the VM's merkle state tree.",_stateData:"The stateData of the step is the preimage of the claim at the given prestate, which is at `_stateIndex` if the move is an attack and `_claimIndex` if the move is a defense. If the step is an attack on the first instruction, it is the absolute prestate of the fault proof VM."}}},version:1},userdoc:{kind:"user",methods:{"absolutePrestate()":{notice:"Returns the absolute prestate of the instruction trace."},"addLocalData(uint256,uint256,uint256)":{notice:"Posts the requested local data to the VM's `PreimageOralce`."},"attack(uint256,bytes32)":{notice:"Attack a disagreed upon `Claim`."},"claimCredit(address)":{notice:"Claim the credit belonging to the recipient address."},"claimData(uint256)":{notice:"An append-only array of all claims made during the dispute game."},"claimDataLen()":{notice:"Returns the length of the `claimData` array."},"createdAt()":{notice:"The starting timestamp of the game"},"credit(address)":{notice:"Credited balances for winning participants."},"defend(uint256,bytes32)":{notice:"Defend an agreed upon `Claim`."},"extraData()":{notice:"Getter for the extra data."},"gameData()":{notice:"A compliant implementation of this interface should return the components of the game UUID's preimage provided in the cwia payload. The preimage of the UUID is constructed as `keccak256(gameType . rootClaim . extraData)` where `.` denotes concatenation."},"gameDuration()":{notice:"Returns the game duration."},"gameType()":{notice:"Getter for the game type."},"getRequiredBond(uint128)":{notice:"Returns the required bond for a given move kind."},"initialize()":{notice:"Initializes the contract."},"l1Head()":{notice:"A block hash on the L1 that contains the disputed output root."},"l2BlockNumber()":{notice:"The l2BlockNumber of the disputed output root in the `L2OutputOracle`."},"l2ChainId()":{notice:"Returns the chain ID of the L2 network this contract argues about."},"maxGameDepth()":{notice:"Returns the max game depth."},"move(uint256,bytes32,bool)":{notice:"Generic move function, used for both `attack` and `defend` moves."},"resolve()":{notice:"If all necessary information has been gathered, this function should mark the game status as either `CHALLENGER_WINS` or `DEFENDER_WINS` and return the status of the resolved game. It is at this stage that the bonds should be awarded to the necessary parties."},"resolveClaim(uint256)":{notice:"Resolves the subgame rooted at the given claim index."},"resolvedAt()":{notice:"The timestamp of the game's global resolution."},"rootClaim()":{notice:"Getter for the root claim."},"splitDepth()":{notice:"Returns the split depth."},"startingBlockNumber()":{notice:"Only the starting block number of the game."},"startingOutputRoot()":{notice:"The latest finalized output root, serving as the anchor for output bisection."},"startingRootHash()":{notice:"Only the starting output root of the game."},"status()":{notice:"Returns the current status of the game."},"step(uint256,bool,bytes,bytes)":{notice:"Perform an instruction step via an on-chain fault proof processor."},"version()":{notice:"Semantic version."},"vm()":{notice:"Returns the address of the VM."},"weth()":{notice:"Returns the WETH contract for holding ETH."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/dispute/FaultDisputeGame.sol":"FaultDisputeGame"},evmVersion:"london",libraries:{}},sources:{"lib/solady/src/utils/FixedPointMathLib.sol":{keccak256:"0x1fbad6f61bd3e5875e6b0060b67626cb1ccb9542c0da368a44eb3870c9a9e160",urls:["bzz-raw://5189fcd5ecff0f449475cf3183e9d6b509cd1221555aba6cd76c70b097cc8260","dweb:/ipfs/Qmbt34Kf5h2DeYzmqXtg3jprYxDCFdENtf41NgCdcARA7u"],license:"MIT"},"src/cannon/interfaces/IPreimageOracle.sol":{keccak256:"0x7bda0156571b468cf0e22321945655f2dacd7082f440f742aa4612b36b388a9f",urls:["bzz-raw://5ba53777c65987bc20faa7731476c779e7794a58bafb40191a25275a05e3f8af","dweb:/ipfs/QmbxQwE2BC9aabTruDqkd2CLojwq7G9i2rkWKv46Wucae1"],license:"MIT"},"src/dispute/FaultDisputeGame.sol":{keccak256:"0x095d22e683f20a4e5a0541968a9bd98e70a4db81d2adfbde5d9918b45501d55c",urls:["bzz-raw://c60431da74c7e4e51be69ece49a0b92afd483c9020c2e7c726ad179e785199f9","dweb:/ipfs/QmSExbitxvKi6miC7o4UFZD6ssV2LGr7jJxWPY3jg3rvwX"],license:"MIT"},"src/dispute/interfaces/IAnchorStateRegistry.sol":{keccak256:"0x5fd05f2482d149668897e54f92d556a0c3512aa35b51ba800ef15d18dd490cb3",urls:["bzz-raw://689d621bc5c43a41d5232980f0eceecd7a3d8aa99438dfd9fed5f73d5ecd2887","dweb:/ipfs/QmQ5jw54TkdxLuLFti6JZown54rGQ3m3Q93pvnVU1j1HRj"],license:"MIT"},"src/dispute/interfaces/IBigStepper.sol":{keccak256:"0xc92ee3069677b903826c83d5b4e46e3be462f9ccf1d95e72a12b1052e3451f0a",urls:["bzz-raw://f93692bd3c8d9533ab8024ce2df6d880328826d1a92fdb9cf45301e2d0c65884","dweb:/ipfs/QmUcmbjTw9gnCUNasgmQjVbSgcCPKZ1FQyA31dH4k5Nc75"],license:"MIT"},"src/dispute/interfaces/IDelayedWETH.sol":{keccak256:"0x0bb035e9bbb411696841ea292eeed6d4463c3c3eee7d6c5d8e38a101e8a4ff04",urls:["bzz-raw://0477cf2c137392d35081f23bfd7f3565881767dcb1489a62e7e80b3c178cfce8","dweb:/ipfs/QmTjALjrHg5rvhjfCKPmXLTgkMNneECWaqoarunSoVS37G"],license:"MIT"},"src/dispute/interfaces/IDisputeGame.sol":{keccak256:"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6",urls:["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"],license:"MIT"},"src/dispute/interfaces/IDisputeGameFactory.sol":{keccak256:"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda",urls:["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"],license:"MIT"},"src/dispute/interfaces/IFaultDisputeGame.sol":{keccak256:"0x57257f3fcdf56a3ec906fc7dba4b4c914330bd7f0d5cabea77a99692c410dad7",urls:["bzz-raw://9308a4d42e0556e0f48985b1fee7ab71b1ece11bb347c220cd787012e4a6aff3","dweb:/ipfs/QmUYrMcwTpqMtVqFhfebkAJ3dSJNBXix5fFn2KNZRQBfK7"],license:"MIT"},"src/dispute/interfaces/IInitializable.sol":{keccak256:"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc",urls:["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"],license:"MIT"},"src/dispute/interfaces/IWETH.sol":{keccak256:"0x681482892d7283baeb0c55178ff0654db694ada095972b7447cff1d4bbe2d557",urls:["bzz-raw://a02b310db3ed444a77451ed0951366e0a44be8c4d3b214eacc61e07e0262855c","dweb:/ipfs/QmaQfom7LazaxFzYmhQv6NeR5pGHQV4qBn5fNjx2GrEjKu"],license:"MIT"},"src/dispute/lib/LibGameId.sol":{keccak256:"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6",urls:["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"],license:"MIT"},"src/dispute/lib/LibHashing.sol":{keccak256:"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b",urls:["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"],license:"MIT"},"src/dispute/lib/LibPosition.sol":{keccak256:"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504",urls:["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"],license:"MIT"},"src/dispute/lib/LibUDT.sol":{keccak256:"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c",urls:["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"],license:"MIT"},"src/libraries/Clone.sol":{keccak256:"0x5893eb0f0cb5ab0ed0db1ba47ce78de2362610864368a71963615334f3f5a829",urls:["bzz-raw://6bda119dc186663e7f67bcadb72263b4af023b2e1bff5aff559e86ceed339d1a","dweb:/ipfs/QmdqZyX8GMptLderaZW8cEeoKy5doNhW6jkTX2SySn1a8e"],license:"BSD"},"src/libraries/DisputeErrors.sol":{keccak256:"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f",urls:["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"],license:"MIT"},"src/libraries/DisputeTypes.sol":{keccak256:"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6",urls:["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:94429,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"createdAt",offset:0,slot:"0",type:"t_userDefinedValueType(Timestamp)99908"},{astId:94433,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"resolvedAt",offset:8,slot:"0",type:"t_userDefinedValueType(Timestamp)99908"},{astId:94437,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"status",offset:16,slot:"0",type:"t_enum(GameStatus)99924"},{astId:94442,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claimData",offset:0,slot:"1",type:"t_array(t_struct(ClaimData)97051_storage)dyn_storage"},{astId:94447,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"credit",offset:0,slot:"2",type:"t_mapping(t_address,t_uint256)"},{astId:94453,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claims",offset:0,slot:"3",type:"t_mapping(t_userDefinedValueType(ClaimHash)99904,t_bool)"},{astId:94459,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"subgames",offset:0,slot:"4",type:"t_mapping(t_uint256,t_array(t_uint256)dyn_storage)"},{astId:94462,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"subgameAtRootResolved",offset:0,slot:"5",type:"t_bool"},{astId:94465,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"initialized",offset:1,slot:"5",type:"t_bool"},{astId:94469,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"startingOutputRoot",offset:0,slot:"6",type:"t_struct(OutputRoot)99930_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_struct(ClaimData)97051_storage)dyn_storage":{encoding:"dynamic_array",label:"struct IFaultDisputeGame.ClaimData[]",numberOfBytes:"32",base:"t_struct(ClaimData)97051_storage"},"t_array(t_uint256)dyn_storage":{encoding:"dynamic_array",label:"uint256[]",numberOfBytes:"32",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},"t_enum(GameStatus)99924":{encoding:"inplace",label:"enum GameStatus",numberOfBytes:"1"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},"t_mapping(t_uint256,t_array(t_uint256)dyn_storage)":{encoding:"mapping",key:"t_uint256",label:"mapping(uint256 => uint256[])",numberOfBytes:"32",value:"t_array(t_uint256)dyn_storage"},"t_mapping(t_userDefinedValueType(ClaimHash)99904,t_bool)":{encoding:"mapping",key:"t_userDefinedValueType(ClaimHash)99904",label:"mapping(ClaimHash => bool)",numberOfBytes:"32",value:"t_bool"},"t_struct(ClaimData)97051_storage":{encoding:"inplace",label:"struct IFaultDisputeGame.ClaimData",numberOfBytes:"160",members:[{astId:97035,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"parentIndex",offset:0,slot:"0",type:"t_uint32"},{astId:97037,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"counteredBy",offset:4,slot:"0",type:"t_address"},{astId:97039,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claimant",offset:0,slot:"1",type:"t_address"},{astId:97041,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"bond",offset:0,slot:"2",type:"t_uint128"},{astId:97044,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claim",offset:0,slot:"3",type:"t_userDefinedValueType(Claim)99902"},{astId:97047,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"position",offset:0,slot:"4",type:"t_userDefinedValueType(Position)99916"},{astId:97050,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"clock",offset:16,slot:"4",type:"t_userDefinedValueType(Clock)99914"}]},"t_struct(OutputRoot)99930_storage":{encoding:"inplace",label:"struct OutputRoot",numberOfBytes:"64",members:[{astId:99927,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"root",offset:0,slot:"0",type:"t_userDefinedValueType(Hash)99900"},{astId:99929,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"l2BlockNumber",offset:0,slot:"1",type:"t_uint256"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint32:{encoding:"inplace",label:"uint32",numberOfBytes:"4"},"t_userDefinedValueType(Claim)99902":{encoding:"inplace",label:"Claim",numberOfBytes:"32"},"t_userDefinedValueType(ClaimHash)99904":{encoding:"inplace",label:"ClaimHash",numberOfBytes:"32"},"t_userDefinedValueType(Clock)99914":{encoding:"inplace",label:"Clock",numberOfBytes:"16"},"t_userDefinedValueType(Hash)99900":{encoding:"inplace",label:"Hash",numberOfBytes:"32"},"t_userDefinedValueType(Position)99916":{encoding:"inplace",label:"Position",numberOfBytes:"16"},"t_userDefinedValueType(Timestamp)99908":{encoding:"inplace",label:"Timestamp",numberOfBytes:"8"}}},userdoc:{version:1,kind:"user",methods:{"absolutePrestate()":{notice:"Returns the absolute prestate of the instruction trace."},"addLocalData(uint256,uint256,uint256)":{notice:"Posts the requested local data to the VM's `PreimageOralce`."},"attack(uint256,bytes32)":{notice:"Attack a disagreed upon `Claim`."},"claimCredit(address)":{notice:"Claim the credit belonging to the recipient address."},"claimData(uint256)":{notice:"An append-only array of all claims made during the dispute game."},"claimDataLen()":{notice:"Returns the length of the `claimData` array."},"createdAt()":{notice:"The starting timestamp of the game"},"credit(address)":{notice:"Credited balances for winning participants."},"defend(uint256,bytes32)":{notice:"Defend an agreed upon `Claim`."},"extraData()":{notice:"Getter for the extra data."},"gameData()":{notice:"A compliant implementation of this interface should return the components of the game UUID's preimage provided in the cwia payload. The preimage of the UUID is constructed as `keccak256(gameType . rootClaim . extraData)` where `.` denotes concatenation."},"gameDuration()":{notice:"Returns the game duration."},"gameType()":{notice:"Getter for the game type."},"getRequiredBond(uint128)":{notice:"Returns the required bond for a given move kind."},"initialize()":{notice:"Initializes the contract."},"l1Head()":{notice:"A block hash on the L1 that contains the disputed output root."},"l2BlockNumber()":{notice:"The l2BlockNumber of the disputed output root in the `L2OutputOracle`."},"l2ChainId()":{notice:"Returns the chain ID of the L2 network this contract argues about."},"maxGameDepth()":{notice:"Returns the max game depth."},"move(uint256,bytes32,bool)":{notice:"Generic move function, used for both `attack` and `defend` moves."},"resolve()":{notice:"If all necessary information has been gathered, this function should mark the game status as either `CHALLENGER_WINS` or `DEFENDER_WINS` and return the status of the resolved game. It is at this stage that the bonds should be awarded to the necessary parties."},"resolveClaim(uint256)":{notice:"Resolves the subgame rooted at the given claim index."},"resolvedAt()":{notice:"The timestamp of the game's global resolution."},"rootClaim()":{notice:"Getter for the root claim."},"splitDepth()":{notice:"Returns the split depth."},"startingBlockNumber()":{notice:"Only the starting block number of the game."},"startingOutputRoot()":{notice:"The latest finalized output root, serving as the anchor for output bisection."},"startingRootHash()":{notice:"Only the starting output root of the game."},"status()":{notice:"Returns the current status of the game."},"step(uint256,bool,bytes,bytes)":{notice:"Perform an instruction step via an on-chain fault proof processor."},"version()":{notice:"Semantic version."},"vm()":{notice:"Returns the address of the VM."},"weth()":{notice:"Returns the WETH contract for holding ETH."}},events:{"Move(uint256,bytes32,address)":{notice:"Emitted when a new claim is added to the DAG by `claimant`"},"Resolved(uint8)":{notice:"Emitted when the game is resolved."}},errors:{"AlreadyInitialized()":[{notice:"Thrown when a dispute game has already been initialized."}],"AnchorRootNotFound()":[{notice:"Thrown when an anchor root is not found for a given game type."}],"BondTransferFailed()":[{notice:"Thrown when the transfer of credit to a recipient account reverts."}],"CannotDefendRootClaim()":[{notice:"Thrown when a defense against the root claim is attempted."}],"ClaimAboveSplit()":[{notice:"Thrown when a parent output root is attempted to be found on a claim that is in the output root portion of the tree."}],"ClaimAlreadyExists()":[{notice:"Thrown when a claim is attempting to be made that already exists."}],"ClaimAlreadyResolved()":[{notice:"Thrown when resolving a claim that has already been resolved."}],"ClockNotExpired()":[{notice:"Thrown when the game is attempted to be resolved too early."}],"ClockTimeExceeded()":[{notice:"Thrown when a move is attempted to be made after the clock has timed out."}],"DuplicateStep()":[{notice:"Thrown when trying to step against a claim for a second time, after it has already been countered with an instruction step."}],"GameDepthExceeded()":[{notice:"Thrown when a move is attempted to be made at or greater than the max depth of the game."}],"GameNotInProgress()":[{notice:"Thrown when an action that requires the game to be `IN_PROGRESS` is invoked when the game is not in progress."}],"IncorrectBondAmount()":[{notice:"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"InvalidLocalIdent()":[{notice:"Thrown when an invalid local identifier is passed to the `addLocalData` function."}],"InvalidParent()":[{notice:"Thrown when a step is attempted above the maximum game depth."}],"InvalidPrestate()":[{notice:"Thrown when an invalid prestate is supplied to `step`."}],"InvalidSplitDepth()":[{notice:"Thrown on deployment if the split depth is greater than or equal to the max depth of the game."}],"NoCreditToClaim()":[{notice:"Thrown when a credit claim is attempted for a value of 0."}],"OutOfOrderResolution()":[{notice:"Thrown when resolving claims out of order."}],"UnexpectedRootClaim(bytes32)":[{notice:"Thrown when the root claim has an unexpected VM status. Some games can only start with a root-claim with a specific status."}],"ValidStep()":[{notice:"Thrown when a step is made that computes the expected post state correctly."}]},notice:"An implementation of the `IFaultDisputeGame` interface."},devdoc:{version:1,kind:"dev",methods:{"addLocalData(uint256,uint256,uint256)":{params:{_execLeafIdx:"The index of the leaf claim in an execution subgame that requires the local data for a step.",_ident:"The local identifier of the data to post.",_partOffset:"The offset of the data to post."}},"attack(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative attack position.",_parentIndex:"Index of the `Claim` to attack in the `claimData` array."}},"claimCredit(address)":{params:{_recipient:"The owner and recipient of the credit."}},constructor:{params:{_absolutePrestate:"The absolute prestate of the instruction trace.",_anchorStateRegistry:"The contract that stores the anchor state for each game type.",_gameDuration:"The duration of the game.",_gameType:"The type ID of the game.",_l2ChainId:"Chain ID of the L2 network this contract argues about.",_maxGameDepth:"The maximum depth of bisection.",_splitDepth:"The final depth of the output bisection portion of the game.",_vm:"An onchain VM that performs single instruction steps on an FPP trace.",_weth:"WETH contract for holding ETH."}},"defend(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative defense position.",_parentIndex:"Index of the claim to defend in the `claimData` array."}},"extraData()":{details:"`clones-with-immutable-args` argument #2",returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator."}},"gameData()":{returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator.",gameType_:"The type of proof system being used.",rootClaim_:"The root claim of the DisputeGame."}},"gameType()":{details:"The reference impl should be entirely different depending on the type (fault, validity) i.e. The game type should indicate the security model.",returns:{gameType_:"The type of proof system being used."}},"getRequiredBond(uint128)":{params:{_position:"The position of the bonded interaction."},returns:{requiredBond_:"The required ETH bond for the given move, in wei."}},"initialize()":{details:"This function may only be called once."},"move(uint256,bytes32,bool)":{params:{_challengeIndex:"The index of the claim being moved against.",_claim:"The claim at the next logical position in the game.",_isAttack:"Whether or not the move is an attack or defense."}},"resolve()":{details:"May only be called if the `status` is `IN_PROGRESS`.",returns:{status_:"The status of the game after resolution."}},"resolveClaim(uint256)":{details:"This function must be called bottom-up in the DAG A subgame is a tree of claims that has a maximum depth of 1. A subgame root claims is valid if, and only if, all of its child claims are invalid. At the deepest level in the DAG, a claim is invalid if there's a successful step against it.",params:{_claimIndex:"The index of the subgame root claim to resolve."}},"rootClaim()":{details:"`clones-with-immutable-args` argument #1",returns:{rootClaim_:"The root claim of the DisputeGame."}},"step(uint256,bool,bytes,bytes)":{details:"This function should point to a fault proof processor in order to execute a step in the fault proof program on-chain. The interface of the fault proof processor contract should adhere to the `IBigStepper` interface.",params:{_claimIndex:"The index of the challenged claim within `claimData`.",_isAttack:"Whether or not the step is an attack or a defense.",_proof:"Proof to access memory nodes in the VM's merkle state tree.",_stateData:"The stateData of the step is the preimage of the claim at the given prestate, which is at `_stateIndex` if the move is an attack and `_claimIndex` if the move is a defense. If the step is an attack on the first instruction, it is the absolute prestate of the fault proof VM."}}},errors:{"UnexpectedRootClaim(bytes32)":[{params:{rootClaim:"is the claim that was unexpected."}}]},title:"FaultDisputeGame"},id:159}});var $Ke=D(YKe=>{"use strict";u();p();Object.defineProperty(YKe,"__esModule",{value:!0})});var t1e=D(ei=>{"use strict";u();p();Object.defineProperty(ei,"__esModule",{value:!0});ei.bytes32ify=ei.hexStringEquals=ei.encodeHex=ei.padHexString=ei.toRpcHexString=ei.toHexString=ei.fromHexString=ei.add0x=ei.remove0x=void 0;var e1e=ia(),Zoe=Vt(),jHt=t=>t===void 0?t:t.startsWith("0x")?t.slice(2):t;ei.remove0x=jHt;var GHt=t=>t===void 0||t.startsWith("0x")?t:"0x"+t;ei.add0x=GHt;var KHt=t=>typeof t=="string"&&t.startsWith("0x")?_.Buffer.from(t.slice(2),"hex"):_.Buffer.from(t);ei.fromHexString=KHt;var QHt=t=>typeof t=="number"?e1e.BigNumber.from(t).toHexString():"0x"+(0,ei.fromHexString)(t).toString("hex");ei.toHexString=QHt;var VHt=t=>{let e;return typeof t=="number"?e="0x"+t.toString(16):e=t.toHexString(),e==="0x0"?e:e.replace(/^0x0/,"0x")};ei.toRpcHexString=VHt;var YHt=(t,e)=>t.length===2+e*2?t:"0x"+t.slice(2).padStart(e*2,"0");ei.padHexString=YHt;var $Ht=(t,e)=>(0,ei.remove0x)(e1e.BigNumber.from(t).toHexString()).padStart(e,"0");ei.encodeHex=$Ht;var JHt=(t,e)=>{if(!(0,Zoe.isHexString)(t))throw new Error(`input is not a hex string: ${t}`);if(!(0,Zoe.isHexString)(e))throw new Error(`input is not a hex string: ${e}`);return t.toLowerCase()===e.toLowerCase()};ei.hexStringEquals=JHt;var XHt=t=>(0,Zoe.hexZeroPad)(e1e.BigNumber.from(t).toHexString(),32);ei.bytes32ify=XHt});var ZKe=D(ZW=>{"use strict";u();p();Object.defineProperty(ZW,"__esModule",{value:!0});ZW.bnToAddress=void 0;var JKe=ia(),ZHt=Bo(),XKe=t1e(),ezt=t=>{t=JKe.BigNumber.from(t),t.isNegative()&&(t=JKe.BigNumber.from("0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF").add(t).add(1));let e=t.toHexString();return e=(0,XKe.remove0x)(e),e=e.padStart(40,"0"),e=e.slice(e.length-40,e.length),e=(0,XKe.add0x)(e),e=(0,ZHt.getAddress)(e),e};ZW.bnToAddress=ezt});var n1e=D(Y5=>{"use strict";u();p();Object.defineProperty(Y5,"__esModule",{value:!0});Y5.compareAddrs=Y5.getenv=Y5.reqenv=Y5.clone=Y5.sleep=void 0;var tzt=async t=>new Promise(e=>{setTimeout(()=>{e(null)},t)});Y5.sleep=tzt;var nzt=t=>{if(typeof t>"u")throw new Error("Trying to clone undefined object");return Object.assign({},t)};Y5.clone=nzt;var azt=t=>{let e=E.env[t];if(e===void 0)throw new Error(`missing env var ${t}`);return e};Y5.reqenv=azt;var rzt=(t,e)=>E.env[t]||e;Y5.getenv=rzt;var fzt=(t,e)=>t.toLowerCase()===e.toLowerCase();Y5.compareAddrs=fzt});var a1e=D((v6a,tQe)=>{u();p();function eQe(){var t=[].slice.call(arguments);function e(n,a){Object.keys(a).forEach(function(r){~t.indexOf(r)||(n[r]=a[r])})}return function(){for(var a=[].slice.call(arguments),r=0,f={};r{"use strict";u();p();function aQe(t,e){return typeof t>"u"||t===null?!1:e in Object(t)}function rQe(t){var e=t.replace(/([^\\])\[/g,"$1.["),n=e.match(/(\\\.|[^.]+?)+/g);return n.map(function(r){if(r==="constructor"||r==="__proto__"||r==="prototype")return{};var f=/^\[(\d+)\]$/,i=f.exec(r),s=null;return i?s={i:parseFloat(i[1])}:s={p:r.replace(/\\([.[\]])/g,"$1")},s})}function nQe(t,e,n){var a=t,r=null;n=typeof n>"u"?e.length:n;for(var f=0;f"u"?a=a[i.i]:a=a[i.p],f===n-1&&(r=a))}return r}function izt(t,e,n){for(var a=t,r=n.length,f=null,i=0;i"u"?f.i:f.p,a[s]=e;else if(typeof f.p<"u"&&a[f.p])a=a[f.p];else if(typeof f.i<"u"&&a[f.i])a=a[f.i];else{var c=n[i+1];s=typeof f.p>"u"?f.i:f.p,o=typeof c.p>"u"?[]:{},a[s]=o,a=a[s]}}}function fQe(t,e){var n=rQe(e),a=n[n.length-1],r={parent:n.length>1?nQe(t,n,n.length-1):t,name:a.p||a.i,value:nQe(t,n)};return r.exists=aQe(r.parent,r.name),r}function szt(t,e){var n=fQe(t,e);return n.value}function ozt(t,e,n){var a=rQe(e);return izt(t,n,a),t}iQe.exports={hasProperty:aQe,getPathInfo:fQe,getPathValue:szt,setPathValue:ozt}});var $5=D((A6a,oQe)=>{u();p();oQe.exports=function(e,n,a){var r=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)r[n]=a;else return r[n]}});var dQe=D((k6a,cQe)=>{u();p();var czt=$5();cQe.exports=function(e,n){var a=czt(e,"negate"),r=n[0];return a?!r:r}});var tR=D((r1e,f1e)=>{u();p();(function(t,e){typeof r1e=="object"&&typeof f1e<"u"?f1e.exports=e():typeof define=="function"&&define.amd?define(e):t.typeDetect=e()})(r1e,function(){"use strict";var t=typeof Promise=="function",e=typeof self=="object"?self:global,n=typeof Symbol<"u",a=typeof Map<"u",r=typeof Set<"u",f=typeof WeakMap<"u",i=typeof WeakSet<"u",s=typeof DataView<"u",o=n&&typeof Symbol.iterator<"u",c=n&&typeof Symbol.toStringTag<"u",d=r&&typeof Set.prototype.entries=="function",l=a&&typeof Map.prototype.entries=="function",h=d&&Object.getPrototypeOf(new Set().entries()),y=l&&Object.getPrototypeOf(new Map().entries()),v=o&&typeof Array.prototype[Symbol.iterator]=="function",S=v&&Object.getPrototypeOf([][Symbol.iterator]()),O=o&&typeof String.prototype[Symbol.iterator]=="function",F=O&&Object.getPrototypeOf(""[Symbol.iterator]()),z=8,W=-1;function j(Q){var V=typeof Q;if(V!=="object")return V;if(Q===null)return"null";if(Q===e)return"global";if(Array.isArray(Q)&&(c===!1||!(Symbol.toStringTag in Q)))return"Array";if(typeof window=="object"&&window!==null){if(typeof window.location=="object"&&Q===window.location)return"Location";if(typeof window.document=="object"&&Q===window.document)return"Document";if(typeof window.navigator=="object"){if(typeof window.navigator.mimeTypes=="object"&&Q===window.navigator.mimeTypes)return"MimeTypeArray";if(typeof window.navigator.plugins=="object"&&Q===window.navigator.plugins)return"PluginArray"}if((typeof window.HTMLElement=="function"||typeof window.HTMLElement=="object")&&Q instanceof window.HTMLElement){if(Q.tagName==="BLOCKQUOTE")return"HTMLQuoteElement";if(Q.tagName==="TD")return"HTMLTableDataCellElement";if(Q.tagName==="TH")return"HTMLTableHeaderCellElement"}}var X=c&&Q[Symbol.toStringTag];if(typeof X=="string")return X;var K=Object.getPrototypeOf(Q);return K===RegExp.prototype?"RegExp":K===Date.prototype?"Date":t&&K===Promise.prototype?"Promise":r&&K===Set.prototype?"Set":a&&K===Map.prototype?"Map":i&&K===WeakSet.prototype?"WeakSet":f&&K===WeakMap.prototype?"WeakMap":s&&K===DataView.prototype?"DataView":a&&K===y?"Map Iterator":r&&K===h?"Set Iterator":v&&K===S?"Array Iterator":O&&K===F?"String Iterator":K===null?"Object":Object.prototype.toString.call(Q).slice(z,W)}return j})});var uQe=D((D6a,lQe)=>{u();p();var dzt=a1e(),i1e=$5(),lzt=tR();lQe.exports=function(e,n){var a=i1e(e,"message"),r=i1e(e,"ssfi");a=a?a+": ":"",e=i1e(e,"object"),n=n.map(function(s){return s.toLowerCase()}),n.sort();var f=n.map(function(s,o){var c=~["a","e","i","o","u"].indexOf(s.charAt(0))?"an":"a",d=n.length>1&&o===n.length-1?"or ":"";return d+c+" "+s}).join(", "),i=lzt(e).toLowerCase();if(!n.some(function(s){return i===s}))throw new dzt(a+"object tested must be "+f+", but "+i+" given",void 0,r)}});var s1e=D((F6a,pQe)=>{u();p();pQe.exports=function(e,n){return n.length>4?n[4]:e._obj}});var eq=D((U6a,hQe)=>{"use strict";u();p();var uzt=Function.prototype.toString,pzt=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,hzt=512;function bzt(t){if(typeof t!="function")return null;var e="";if(typeof Function.prototype.name>"u"&&typeof t.name>"u"){var n=uzt.call(t);if(n.indexOf("(")>hzt)return e;var a=n.match(pzt);a&&(e=a[1])}else e=t.name;return e}hQe.exports=bzt});var mQe=D((tq,bQe)=>{u();p();(function(t,e){typeof tq=="object"&&typeof bQe<"u"?e(tq):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.loupe={}))})(tq,function(t){"use strict";function e(be){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(ye){return typeof ye}:e=function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye},e(be)}function n(be,ye){return a(be)||r(be,ye)||f(be,ye)||s()}function a(be){if(Array.isArray(be))return be}function r(be,ye){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(be)))){var _e=[],ze=!0,je=!1,Ue=void 0;try{for(var b0=be[Symbol.iterator](),h0;!(ze=(h0=b0.next()).done)&&(_e.push(h0.value),!(ye&&_e.length===ye));ze=!0);}catch($e){je=!0,Ue=$e}finally{try{!ze&&b0.return!=null&&b0.return()}finally{if(je)throw Ue}}return _e}}function f(be,ye){if(be){if(typeof be=="string")return i(be,ye);var _e=Object.prototype.toString.call(be).slice(8,-1);if(_e==="Object"&&be.constructor&&(_e=be.constructor.name),_e==="Map"||_e==="Set")return Array.from(be);if(_e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_e))return i(be,ye)}}function i(be,ye){(ye==null||ye>be.length)&&(ye=be.length);for(var _e=0,ze=new Array(ye);_e0&&arguments[0]!==void 0?arguments[0]:{},ye=be.showHidden,_e=ye===void 0?!1:ye,ze=be.depth,je=ze===void 0?2:ze,Ue=be.colors,b0=Ue===void 0?!1:Ue,h0=be.customInspect,$e=h0===void 0?!0:h0,M0=be.showProxy,P0=M0===void 0?!1:M0,t0=be.maxArrayLength,j0=t0===void 0?1/0:t0,z0=be.breakLength,Ke=z0===void 0?1/0:z0,B0=be.seen,G0=B0===void 0?[]:B0,s0=be.truncate,X0=s0===void 0?1/0:s0,Y0=be.stylize,l0=Y0===void 0?String:Y0,K0={showHidden:!!_e,depth:Number(je),colors:!!b0,customInspect:!!$e,showProxy:!!P0,maxArrayLength:Number(j0),breakLength:Number(Ke),truncate:Number(X0),seen:G0,stylize:l0};return K0.colors&&(K0.stylize=l),K0}function y(be,ye){var _e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d;be=String(be);var ze=_e.length,je=be.length;return ze>ye&&je>ze?_e:je>ye&&je>ze?"".concat(be.slice(0,ye-ze)).concat(_e):be}function v(be,ye,_e){var ze=arguments.length>3&&arguments[3]!==void 0?arguments[3]:", ";_e=_e||ye.inspect;var je=be.length;if(je===0)return"";for(var Ue=ye.truncate,b0="",h0="",$e="",M0=0;M0Ue&&b0.length+$e.length<=Ue||!P0&&!t0&&B0>Ue||(h0=P0?"":_e(be[M0+1],ye)+(t0?"":ze),!P0&&t0&&B0>Ue&&Ke+h0.length>Ue))break;if(b0+=z0,!P0&&!t0&&Ke+h0.length>=Ue){$e="".concat(d,"(").concat(be.length-M0-1,")");break}$e=""}return"".concat(b0).concat($e)}function S(be){return be.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?be:JSON.stringify(be).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function O(be,ye){var _e=n(be,2),ze=_e[0],je=_e[1];return ye.truncate-=2,typeof ze=="string"?ze=S(ze):typeof ze!="number"&&(ze="[".concat(ye.inspect(ze,ye),"]")),ye.truncate-=ze.length,je=ye.inspect(je,ye),"".concat(ze,": ").concat(je)}function F(be,ye){var _e=Object.keys(be).slice(be.length);if(!be.length&&!_e.length)return"[]";ye.truncate-=4;var ze=v(be,ye);ye.truncate-=ze.length;var je="";return _e.length&&(je=v(_e.map(function(Ue){return[Ue,be[Ue]]}),ye,O)),"[ ".concat(ze).concat(je?", ".concat(je):""," ]")}var z=Function.prototype.toString,W=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,j=512;function Q(be){if(typeof be!="function")return null;var ye="";if(typeof Function.prototype.name>"u"&&typeof be.name>"u"){var _e=z.call(be);if(_e.indexOf("(")>j)return ye;var ze=_e.match(W);ze&&(ye=ze[1])}else ye=be.name;return ye}var V=Q,X=function(ye){return typeof _.Buffer=="function"&&ye instanceof _.Buffer?"Buffer":ye[Symbol.toStringTag]?ye[Symbol.toStringTag]:V(ye.constructor)};function K(be,ye){var _e=X(be);ye.truncate-=_e.length+4;var ze=Object.keys(be).slice(be.length);if(!be.length&&!ze.length)return"".concat(_e,"[]");for(var je="",Ue=0;Ue ").concat(je)}function N(be){var ye=[];return be.forEach(function(_e,ze){ye.push([ze,_e])}),ye}function w(be,ye){var _e=be.size-1;return _e<=0?"Map{}":(ye.truncate-=7,"Map{ ".concat(v(N(be),ye,T)," }"))}var m=Number.isNaN||function(be){return be!==be};function A(be,ye){return m(be)?ye.stylize("NaN","number"):be===1/0?ye.stylize("Infinity","number"):be===-1/0?ye.stylize("-Infinity","number"):be===0?ye.stylize(1/be===1/0?"+0":"-0","number"):ye.stylize(y(be,ye.truncate),"number")}function P(be,ye){var _e=y(be.toString(),ye.truncate-1);return _e!==d&&(_e+="n"),ye.stylize(_e,"bigint")}function L(be,ye){var _e=be.toString().split("/")[2],ze=ye.truncate-(2+_e.length),je=be.source;return ye.stylize("/".concat(y(je,ze),"/").concat(_e),"regexp")}function x(be){var ye=[];return be.forEach(function(_e){ye.push(_e)}),ye}function g(be,ye){return be.size===0?"Set{}":(ye.truncate-=7,"Set{ ".concat(v(x(be),ye)," }"))}var B=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),M={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},k=16,q=4;function ee(be){return M[be]||"\\u".concat("0000".concat(be.charCodeAt(0).toString(k)).slice(-q))}function U(be,ye){return B.test(be)&&(be=be.replace(B,ee)),ye.stylize("'".concat(y(be,ye.truncate-2),"'"),"string")}function J(be){return"description"in Symbol.prototype?be.description?"Symbol(".concat(be.description,")"):"Symbol()":be.toString()}var Z=function(){return"Promise{\u2026}"};try{var ne=E.binding("util"),ue=ne.getPromiseDetails,Y=ne.kPending,re=ne.kRejected;Array.isArray(ue(Promise.resolve()))&&(Z=function(ye,_e){var ze=ue(ye),je=n(ze,2),Ue=je[0],b0=je[1];return Ue===Y?"Promise{}":"Promise".concat(Ue===re?"!":"","{").concat(_e.inspect(b0,_e),"}")})}catch{}var ie=Z;function ge(be,ye){var _e=Object.getOwnPropertyNames(be),ze=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(be):[];if(_e.length===0&&ze.length===0)return"{}";if(ye.truncate-=4,ye.seen=ye.seen||[],ye.seen.indexOf(be)>=0)return"[Circular]";ye.seen.push(be);var je=v(_e.map(function(h0){return[h0,be[h0]]}),ye,O),Ue=v(ze.map(function(h0){return[h0,be[h0]]}),ye,O);ye.seen.pop();var b0="";return je&&Ue&&(b0=", "),"{ ".concat(je).concat(b0).concat(Ue," }")}var de=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Ae(be,ye){var _e="";return de&&de in be&&(_e=be[de]),_e=_e||V(be.constructor),(!_e||_e==="_class")&&(_e=""),ye.truncate-=_e.length,"".concat(_e).concat(ge(be,ye))}function Ge(be,ye){return be.length===0?"Arguments[]":(ye.truncate-=13,"Arguments[ ".concat(v(be,ye)," ]"))}var Be=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function c0(be,ye){var _e=Object.getOwnPropertyNames(be).filter(function(b0){return Be.indexOf(b0)===-1}),ze=be.name;ye.truncate-=ze.length;var je="";typeof be.message=="string"?je=y(be.message,ye.truncate):_e.unshift("message"),je=je?": ".concat(je):"",ye.truncate-=je.length+5;var Ue=v(_e.map(function(b0){return[b0,be[b0]]}),ye,O);return"".concat(ze).concat(je).concat(Ue?" { ".concat(Ue," }"):"")}function Ye(be,ye){var _e=n(be,2),ze=_e[0],je=_e[1];return ye.truncate-=3,je?"".concat(ye.stylize(ze,"yellow"),"=").concat(ye.stylize('"'.concat(je,'"'),"string")):"".concat(ye.stylize(ze,"yellow"))}function He(be,ye){return v(be,ye,_0,` -`)}function _0(be,ye){var _e=be.getAttributeNames(),ze=be.tagName.toLowerCase(),je=ye.stylize("<".concat(ze),"special"),Ue=ye.stylize(">","special"),b0=ye.stylize(""),"special");ye.truncate-=ze.length*2+5;var h0="";_e.length>0&&(h0+=" ",h0+=v(_e.map(function(P0){return[P0,be.getAttribute(P0)]}),ye,Ye," ")),ye.truncate-=h0.length;var $e=ye.truncate,M0=He(be.children,ye);return M0&&M0.length>$e&&(M0="".concat(d,"(").concat(be.children.length,")")),"".concat(je).concat(h0).concat(Ue).concat(M0).concat(b0)}var L0=typeof Symbol=="function"&&typeof Symbol.for=="function",Ze=L0?Symbol.for("chai/inspect"):"@@chai/inspect",I0=!1;try{var pe=nl();I0=pe.inspect?pe.inspect.custom:!1}catch{I0=!1}function he(){this.key="chai/loupe__"+Math.random()+Date.now()}he.prototype={get:function(ye){return ye[this.key]},has:function(ye){return this.key in ye},set:function(ye,_e){Object.isExtensible(ye)&&Object.defineProperty(ye,this.key,{value:_e,configurable:!0})}};var Te=new(typeof WeakMap=="function"?WeakMap:he),Ce={},Se={undefined:function(ye,_e){return _e.stylize("undefined","undefined")},null:function(ye,_e){return _e.stylize(null,"null")},boolean:function(ye,_e){return _e.stylize(ye,"boolean")},Boolean:function(ye,_e){return _e.stylize(ye,"boolean")},number:A,Number:A,bigint:P,BigInt:P,string:U,String:U,function:R,Function:R,symbol:J,Symbol:J,Array:F,Date:G,Map:w,Set:g,RegExp:L,Promise:ie,WeakSet:function(ye,_e){return _e.stylize("WeakSet{\u2026}","special")},WeakMap:function(ye,_e){return _e.stylize("WeakMap{\u2026}","special")},Arguments:Ge,Int8Array:K,Uint8Array:K,Uint8ClampedArray:K,Int16Array:K,Uint16Array:K,Int32Array:K,Uint32Array:K,Float32Array:K,Float64Array:K,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:c0,HTMLCollection:He,NodeList:He},Qe=function(ye,_e,ze){return Ze in ye&&typeof ye[Ze]=="function"?ye[Ze](_e):I0&&I0 in ye&&typeof ye[I0]=="function"?ye[I0](_e.depth,_e):"inspect"in ye&&typeof ye.inspect=="function"?ye.inspect(_e.depth,_e):"constructor"in ye&&Te.has(ye.constructor)?Te.get(ye.constructor)(ye,_e):Ce[ze]?Ce[ze](ye,_e):""},u0=Object.prototype.toString;function qe(be,ye){ye=h(ye),ye.inspect=qe;var _e=ye,ze=_e.customInspect,je=be===null?"null":e(be);if(je==="object"&&(je=u0.call(be).slice(8,-1)),Se[je])return Se[je](be,ye);if(ze&&be){var Ue=Qe(be,ye,je);if(Ue)return typeof Ue=="string"?Ue:qe(Ue,ye)}var b0=be?Object.getPrototypeOf(be):!1;return b0===Object.prototype||b0===null?ge(be,ye):be&&typeof HTMLElement=="function"&&be instanceof HTMLElement?_0(be,ye):"constructor"in be?be.constructor!==Object?Ae(be,ye):ge(be,ye):be===Object(be)?ge(be,ye):ye.stylize(String(be),je)}function v0(be,ye){return Te.has(be)?!1:(Te.set(be,ye),!0)}function w0(be,ye){return be in Ce?!1:(Ce[be]=ye,!0)}var Ve=Ze;t.custom=Ve,t.default=qe,t.inspect=qe,t.registerConstructor=v0,t.registerStringTag=w0,Object.defineProperty(t,"__esModule",{value:!0})})});var G7=D((j6a,yQe)=>{u();p();yQe.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null}});var nq=D((V6a,vQe)=>{u();p();var Q6a=eq(),mzt=mQe(),gQe=G7();vQe.exports=yzt;function yzt(t,e,n,a){var r={colors:a,depth:typeof n>"u"?2:n,showHidden:e,truncate:gQe.truncateThreshold?gQe.truncateThreshold:1/0};return mzt.inspect(t,r)}});var o1e=D((J6a,TQe)=>{u();p();var gzt=nq(),wQe=G7();TQe.exports=function(e){var n=gzt(e),a=Object.prototype.toString.call(e);if(wQe.truncateThreshold&&n.length>=wQe.truncateThreshold){if(a==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(a==="[object Array]")return"[ Array("+e.length+") ]";if(a==="[object Object]"){var r=Object.keys(e),f=r.length>2?r.splice(0,2).join(", ")+", ...":r.join(", ");return"{ Object ("+f+") }"}else return n}else return n}});var EQe=D((e5a,xQe)=>{u();p();var c1e=$5(),vzt=s1e(),d1e=o1e();xQe.exports=function(e,n){var a=c1e(e,"negate"),r=c1e(e,"object"),f=n[3],i=vzt(e,n),s=a?n[2]:n[1],o=c1e(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return d1e(r)}).replace(/#\{act\}/g,function(){return d1e(i)}).replace(/#\{exp\}/g,function(){return d1e(f)}),o?o+": "+s:s}});var kb=D((a5a,_Qe)=>{u();p();_Qe.exports=function(e,n,a){var r=e.__flags||(e.__flags=Object.create(null));n.__flags||(n.__flags=Object.create(null)),a=arguments.length===3?a:!0;for(var f in r)(a||f!=="object"&&f!=="ssfi"&&f!=="lockSsfi"&&f!="message")&&(n.__flags[f]=r[f])}});var FQe=D((i5a,p1e)=>{"use strict";u();p();var AQe=tR();function DQe(){this._key="chai/deep-eql__"+Math.random()+Date.now()}DQe.prototype={get:function(e){return e[this._key]},set:function(e,n){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:n,configurable:!0})}};var u1e=typeof WeakMap=="function"?WeakMap:DQe;function CQe(t,e,n){if(!n||Ex(t)||Ex(e))return null;var a=n.get(t);if(a){var r=a.get(e);if(typeof r=="boolean")return r}return null}function aq(t,e,n,a){if(!(!n||Ex(t)||Ex(e))){var r=n.get(t);r?r.set(e,a):(r=new u1e,r.set(e,a),n.set(t,r))}}p1e.exports=rq;p1e.exports.MemoizeMap=u1e;function rq(t,e,n){if(n&&n.comparator)return IQe(t,e,n);var a=PQe(t,e);return a!==null?a:IQe(t,e,n)}function PQe(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e?!0:Ex(t)||Ex(e)?!1:null}function IQe(t,e,n){n=n||{},n.memoize=n.memoize===!1?!1:n.memoize||new u1e;var a=n&&n.comparator,r=CQe(t,e,n.memoize);if(r!==null)return r;var f=CQe(e,t,n.memoize);if(f!==null)return f;if(a){var i=a(t,e);if(i===!1||i===!0)return aq(t,e,n.memoize,i),i;var s=PQe(t,e);if(s!==null)return s}var o=AQe(t);if(o!==AQe(e))return aq(t,e,n.memoize,!1),!1;aq(t,e,n.memoize,!0);var c=wzt(t,e,o,n);return aq(t,e,n.memoize,c),c}function wzt(t,e,n,a){switch(n){case"String":case"Number":case"Boolean":case"Date":return rq(t.valueOf(),e.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return t===e;case"Error":return LQe(t,e,["name","message","code"],a);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return K7(t,e,a);case"RegExp":return Tzt(t,e);case"Generator":return xzt(t,e,a);case"DataView":return K7(new Uint8Array(t.buffer),new Uint8Array(e.buffer),a);case"ArrayBuffer":return K7(new Uint8Array(t),new Uint8Array(e),a);case"Set":return kQe(t,e,a);case"Map":return kQe(t,e,a);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return t.equals(e);case"Temporal.Duration":return t.total("nanoseconds")===e.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return t.toString()===e.toString();default:return _zt(t,e,a)}}function Tzt(t,e){return t.toString()===e.toString()}function kQe(t,e,n){if(t.size!==e.size)return!1;if(t.size===0)return!0;var a=[],r=[];return t.forEach(function(i,s){a.push([i,s])}),e.forEach(function(i,s){r.push([i,s])}),K7(a.sort(),r.sort(),n)}function K7(t,e,n){var a=t.length;if(a!==e.length)return!1;if(a===0)return!0;for(var r=-1;++r{u();p();var Azt=G7();NQe.exports=function(){return Azt.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}});var HQe=D((u5a,UQe)=>{u();p();var Czt=Sb(),OQe=$5(),Izt=nR(),kzt=kb();UQe.exports=function(e,n,a){a=a===void 0?function(){}:a,Object.defineProperty(e,n,{get:function r(){!Izt()&&!OQe(this,"lockSsfi")&&OQe(this,"ssfi",r);var f=a.call(this);if(f!==void 0)return f;var i=new Czt.Assertion;return kzt(this,i),i},configurable:!0})}});var aR=D((b5a,zQe)=>{u();p();var Szt=Object.getOwnPropertyDescriptor(function(){},"length");zQe.exports=function(e,n,a){return Szt.configurable&&Object.defineProperty(e,"length",{get:function(){throw Error(a?"Invalid Chai property: "+n+'.length. Due to a compatibility issue, "length" cannot directly follow "'+n+'". Use "'+n+'.lengthOf" instead.':"Invalid Chai property: "+n+'.length. See docs for proper usage of "'+n+'".')}}),e}});var qQe=D((g5a,WQe)=>{u();p();WQe.exports=function(e){var n=Object.getOwnPropertyNames(e);function a(f){n.indexOf(f)===-1&&n.push(f)}for(var r=Object.getPrototypeOf(e);r!==null;)Object.getOwnPropertyNames(r).forEach(a),r=Object.getPrototypeOf(r);return n}});var rR=D((T5a,KQe)=>{u();p();var Rzt=G7(),jQe=$5(),Mzt=qQe(),Bzt=nR();var GQe=["__flags","__methods","_obj","assert"];KQe.exports=function(e,n){return Bzt()?new Proxy(e,{get:function a(r,f){if(typeof f=="string"&&Rzt.proxyExcludedKeys.indexOf(f)===-1&&!Reflect.has(r,f)){if(n)throw Error("Invalid Chai property: "+n+"."+f+'. See docs for proper usage of "'+n+'".');var i=null,s=4;throw Mzt(r).forEach(function(o){if(!Object.prototype.hasOwnProperty(o)&&GQe.indexOf(o)===-1){var c=Dzt(f,o,s);c=n)return n;for(var a=[],r=0;r<=t.length;r++)a[r]=Array(e.length+1).fill(0),a[r][0]=r;for(var f=0;f=n){a[r][f]=n;continue}a[r][f]=Math.min(a[r-1][f]+1,a[r][f-1]+1,a[r-1][f-1]+(i===e.charCodeAt(f-1)?0:1))}return a[t.length][e.length]}});var YQe=D((_5a,VQe)=>{u();p();var Pzt=aR(),Lzt=Sb(),QQe=$5(),Fzt=rR(),Nzt=kb();VQe.exports=function(e,n,a){var r=function(){QQe(this,"lockSsfi")||QQe(this,"ssfi",r);var f=a.apply(this,arguments);if(f!==void 0)return f;var i=new Lzt.Assertion;return Nzt(this,i),i};Pzt(r,n,!1),e[n]=Fzt(r,n)}});var JQe=D((I5a,$Qe)=>{u();p();var Ozt=Sb(),fR=$5(),Uzt=nR(),Hzt=kb();$Qe.exports=function(e,n,a){var r=Object.getOwnPropertyDescriptor(e,n),f=function(){};r&&typeof r.get=="function"&&(f=r.get),Object.defineProperty(e,n,{get:function i(){!Uzt()&&!fR(this,"lockSsfi")&&fR(this,"ssfi",i);var s=fR(this,"lockSsfi");fR(this,"lockSsfi",!0);var o=a(f).call(this);if(fR(this,"lockSsfi",s),o!==void 0)return o;var c=new Ozt.Assertion;return Hzt(this,c),c},configurable:!0})}});var ZQe=D((R5a,XQe)=>{u();p();var zzt=aR(),Wzt=Sb(),iR=$5(),qzt=rR(),jzt=kb();XQe.exports=function(e,n,a){var r=e[n],f=function(){throw new Error(n+" is not a function")};r&&typeof r=="function"&&(f=r);var i=function(){iR(this,"lockSsfi")||iR(this,"ssfi",i);var s=iR(this,"lockSsfi");iR(this,"lockSsfi",!0);var o=a(f).apply(this,arguments);if(iR(this,"lockSsfi",s),o!==void 0)return o;var c=new Wzt.Assertion;return jzt(this,c),c};zzt(i,n,!1),e[n]=qzt(i,n)}});var rVe=D((D5a,aVe)=>{u();p();var Gzt=aR(),Kzt=Sb(),eVe=$5(),Qzt=rR(),tVe=kb();var Vzt=typeof Object.setPrototypeOf=="function",nVe=function(){},Yzt=Object.getOwnPropertyNames(nVe).filter(function(t){var e=Object.getOwnPropertyDescriptor(nVe,t);return typeof e!="object"?!0:!e.configurable}),$zt=Function.prototype.call,Jzt=Function.prototype.apply;aVe.exports=function(e,n,a,r){typeof r!="function"&&(r=function(){});var f={method:a,chainingBehavior:r};e.__methods||(e.__methods={}),e.__methods[n]=f,Object.defineProperty(e,n,{get:function(){f.chainingBehavior.call(this);var s=function(){eVe(this,"lockSsfi")||eVe(this,"ssfi",s);var d=f.method.apply(this,arguments);if(d!==void 0)return d;var l=new Kzt.Assertion;return tVe(this,l),l};if(Gzt(s,n,!0),Vzt){var o=Object.create(this);o.call=$zt,o.apply=Jzt,Object.setPrototypeOf(s,o)}else{var c=Object.getOwnPropertyNames(e);c.forEach(function(d){if(Yzt.indexOf(d)===-1){var l=Object.getOwnPropertyDescriptor(e,d);Object.defineProperty(s,d,l)}})}return tVe(this,s),Qzt(s)},configurable:!0})}});var oVe=D((F5a,sVe)=>{u();p();var fVe=Sb(),iVe=kb();sVe.exports=function(e,n,a,r){var f=e.__methods[n],i=f.chainingBehavior;f.chainingBehavior=function(){var c=r(i).call(this);if(c!==void 0)return c;var d=new fVe.Assertion;return iVe(this,d),d};var s=f.method;f.method=function(){var c=a(s).apply(this,arguments);if(c!==void 0)return c;var d=new fVe.Assertion;return iVe(this,d),d}}});var lVe=D((U5a,dVe)=>{u();p();var cVe=nq();dVe.exports=function(e,n){return cVe(e){u();p();uVe.exports=function(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})}});var hVe=D((G5a,pVe)=>{u();p();var Xzt=h1e();pVe.exports=function(e){return Object.keys(e).concat(Xzt(e))}});var mVe=D((V5a,bVe)=>{"use strict";u();p();var b1e=eq();function Zzt(t,e){return e instanceof Error&&t===e}function eWt(t,e){return e instanceof Error?t.constructor===e.constructor||t instanceof e.constructor:e.prototype instanceof Error||e===Error?t.constructor===e||t instanceof e:!1}function tWt(t,e){var n=typeof t=="string"?t:t.message;return e instanceof RegExp?e.test(n):typeof e=="string"?n.indexOf(e)!==-1:!1}function nWt(t){var e=t;if(t instanceof Error)e=b1e(t.constructor);else if(typeof t=="function"&&(e=b1e(t),e==="")){var n=b1e(new t);e=n||e}return e}function aWt(t){var e="";return t&&t.message?e=t.message:typeof t=="string"&&(e=t),e}bVe.exports={compatibleInstance:Zzt,compatibleConstructor:eWt,compatibleMessage:tWt,getMessage:aWt,getConstructorName:nWt}});var gVe=D((J5a,yVe)=>{u();p();function rWt(t){return t!==t}yVe.exports=Number.isNaN||rWt});var TVe=D((eda,wVe)=>{u();p();var fWt=tR(),vVe=$5();function iWt(t){var e=fWt(t),n=["Array","Object","function"];return n.indexOf(e)!==-1}wVe.exports=function(e,n){var a=vVe(e,"operator"),r=vVe(e,"negate"),f=n[3],i=r?n[2]:n[1];if(a)return a;if(typeof i=="function"&&(i=i()),i=i||"",!!i&&!/\shave\s/.test(i)){var s=iWt(f);return/\snot\s/.test(i)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}}});var EVe=D(sr=>{u();p();var xVe=sQe();sr.test=dQe();sr.type=tR();sr.expectTypes=uQe();sr.getMessage=EQe();sr.getActual=s1e();sr.inspect=nq();sr.objDisplay=o1e();sr.flag=$5();sr.transferFlags=kb();sr.eql=FQe();sr.getPathInfo=xVe.getPathInfo;sr.hasProperty=xVe.hasProperty;sr.getName=eq();sr.addProperty=HQe();sr.addMethod=YQe();sr.overwriteProperty=JQe();sr.overwriteMethod=ZQe();sr.addChainableMethod=rVe();sr.overwriteChainableMethod=oVe();sr.compareByInspect=lVe();sr.getOwnEnumerablePropertySymbols=h1e();sr.getOwnEnumerableProperties=hVe();sr.checkError=mVe();sr.proxify=rR();sr.addLengthGuard=aR();sr.isProxyEnabled=nR();sr.isNaN=gVe();sr.getOperator=TVe()});var AVe=D((ida,_Ve)=>{u();p();var Q7=G7();_Ve.exports=function(t,e){var n=t.AssertionError,a=e.flag;t.Assertion=r;function r(f,i,s,o){return a(this,"ssfi",s||r),a(this,"lockSsfi",o),a(this,"object",f),a(this,"message",i),a(this,"eql",Q7.deepEqual||e.eql),e.proxify(this)}Object.defineProperty(r,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Q7.includeStack},set:function(f){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Q7.includeStack=f}}),Object.defineProperty(r,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Q7.showDiff},set:function(f){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Q7.showDiff=f}}),r.addProperty=function(f,i){e.addProperty(this.prototype,f,i)},r.addMethod=function(f,i){e.addMethod(this.prototype,f,i)},r.addChainableMethod=function(f,i,s){e.addChainableMethod(this.prototype,f,i,s)},r.overwriteProperty=function(f,i){e.overwriteProperty(this.prototype,f,i)},r.overwriteMethod=function(f,i){e.overwriteMethod(this.prototype,f,i)},r.overwriteChainableMethod=function(f,i,s){e.overwriteChainableMethod(this.prototype,f,i,s)},r.prototype.assert=function(f,i,s,o,c,d){var l=e.test(this,arguments);if(d!==!1&&(d=!0),o===void 0&&c===void 0&&(d=!1),Q7.showDiff!==!0&&(d=!1),!l){i=e.getMessage(this,arguments);var h=e.getActual(this,arguments),y={actual:h,expected:o,showDiff:d},v=e.getOperator(this,arguments);throw v&&(y.operator=v),new n(i,y,Q7.includeStack?this.assert:a(this,"ssfi"))}};Object.defineProperty(r.prototype,"_obj",{get:function(){return a(this,"object")},set:function(f){a(this,"object",f)}})}});var IVe=D((cda,CVe)=>{u();p();CVe.exports=function(t,e){var n=t.Assertion,a=t.AssertionError,r=e.flag;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(g){n.addProperty(g)}),n.addProperty("not",function(){r(this,"negate",!0)}),n.addProperty("deep",function(){r(this,"deep",!0)}),n.addProperty("nested",function(){r(this,"nested",!0)}),n.addProperty("own",function(){r(this,"own",!0)}),n.addProperty("ordered",function(){r(this,"ordered",!0)}),n.addProperty("any",function(){r(this,"any",!0),r(this,"all",!1)}),n.addProperty("all",function(){r(this,"all",!0),r(this,"any",!1)});function f(g,B){B&&r(this,"message",B),g=g.toLowerCase();var M=r(this,"object"),k=~["a","e","i","o","u"].indexOf(g.charAt(0))?"an ":"a ";this.assert(g===e.type(M).toLowerCase(),"expected #{this} to be "+k+g,"expected #{this} not to be "+k+g)}n.addChainableMethod("an",f),n.addChainableMethod("a",f);function i(g,B){return e.isNaN(g)&&e.isNaN(B)||g===B}function s(){r(this,"contains",!0)}function o(g,B){B&&r(this,"message",B);var M=r(this,"object"),k=e.type(M).toLowerCase(),q=r(this,"message"),ee=r(this,"negate"),U=r(this,"ssfi"),J=r(this,"deep"),Z=J?"deep ":"",ne=J?r(this,"eql"):i;q=q?q+": ":"";var ue=!1;switch(k){case"string":ue=M.indexOf(g)!==-1;break;case"weakset":if(J)throw new a(q+"unable to use .deep.include with WeakSet",void 0,U);ue=M.has(g);break;case"map":M.forEach(function(ge){ue=ue||ne(ge,g)});break;case"set":J?M.forEach(function(ge){ue=ue||ne(ge,g)}):ue=M.has(g);break;case"array":J?ue=M.some(function(ge){return ne(ge,g)}):ue=M.indexOf(g)!==-1;break;default:if(g!==Object(g))throw new a(q+"the given combination of arguments ("+k+" and "+e.type(g).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+e.type(g).toLowerCase(),void 0,U);var Y=Object.keys(g),re=null,ie=0;if(Y.forEach(function(ge){var de=new n(M);if(e.transferFlags(this,de,!0),r(de,"lockSsfi",!0),!ee||Y.length===1){de.property(ge,g[ge]);return}try{de.property(ge,g[ge])}catch(Ae){if(!e.checkError.compatibleConstructor(Ae,a))throw Ae;re===null&&(re=Ae),ie++}},this),ee&&Y.length>1&&ie===Y.length)throw re;return}this.assert(ue,"expected #{this} to "+Z+"include "+e.inspect(g),"expected #{this} to not "+Z+"include "+e.inspect(g))}n.addChainableMethod("include",o,s),n.addChainableMethod("contain",o,s),n.addChainableMethod("contains",o,s),n.addChainableMethod("includes",o,s),n.addProperty("ok",function(){this.assert(r(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")}),n.addProperty("true",function(){this.assert(r(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!r(this,"negate"))}),n.addProperty("false",function(){this.assert(r(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!r(this,"negate"))}),n.addProperty("null",function(){this.assert(r(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")}),n.addProperty("undefined",function(){this.assert(r(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")}),n.addProperty("NaN",function(){this.assert(e.isNaN(r(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function c(){var g=r(this,"object");this.assert(g!=null,"expected #{this} to exist","expected #{this} to not exist")}n.addProperty("exist",c),n.addProperty("exists",c),n.addProperty("empty",function(){var g=r(this,"object"),B=r(this,"ssfi"),M=r(this,"message"),k;switch(M=M?M+": ":"",e.type(g).toLowerCase()){case"array":case"string":k=g.length;break;case"map":case"set":k=g.size;break;case"weakmap":case"weakset":throw new a(M+".empty was passed a weak collection",void 0,B);case"function":var q=M+".empty was passed a function "+e.getName(g);throw new a(q.trim(),void 0,B);default:if(g!==Object(g))throw new a(M+".empty was passed non-string primitive "+e.inspect(g),void 0,B);k=Object.keys(g).length}this.assert(k===0,"expected #{this} to be empty","expected #{this} not to be empty")});function d(){var g=r(this,"object"),B=e.type(g);this.assert(B==="Arguments","expected #{this} to be arguments but got "+B,"expected #{this} to not be arguments")}n.addProperty("arguments",d),n.addProperty("Arguments",d);function l(g,B){B&&r(this,"message",B);var M=r(this,"object");if(r(this,"deep")){var k=r(this,"lockSsfi");r(this,"lockSsfi",!0),this.eql(g),r(this,"lockSsfi",k)}else this.assert(g===M,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",g,this._obj,!0)}n.addMethod("equal",l),n.addMethod("equals",l),n.addMethod("eq",l);function h(g,B){B&&r(this,"message",B);var M=r(this,"eql");this.assert(M(g,r(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",g,this._obj,!0)}n.addMethod("eql",h),n.addMethod("eqls",h);function y(g,B){B&&r(this,"message",B);var M=r(this,"object"),k=r(this,"doLength"),q=r(this,"message"),ee=q?q+": ":"",U=r(this,"ssfi"),J=e.type(M).toLowerCase(),Z=e.type(g).toLowerCase(),ne,ue=!0;if(k&&J!=="map"&&J!=="set"&&new n(M,q,U,!0).to.have.property("length"),!k&&J==="date"&&Z!=="date")ne=ee+"the argument to above must be a date";else if(Z!=="number"&&(k||J==="number"))ne=ee+"the argument to above must be a number";else if(!k&&J!=="date"&&J!=="number"){var Y=J==="string"?"'"+M+"'":M;ne=ee+"expected "+Y+" to be a number or a date"}else ue=!1;if(ue)throw new a(ne,void 0,U);if(k){var re="length",ie;J==="map"||J==="set"?(re="size",ie=M.size):ie=M.length,this.assert(ie>g,"expected #{this} to have a "+re+" above #{exp} but got #{act}","expected #{this} to not have a "+re+" above #{exp}",g,ie)}else this.assert(M>g,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",g)}n.addMethod("above",y),n.addMethod("gt",y),n.addMethod("greaterThan",y);function v(g,B){B&&r(this,"message",B);var M=r(this,"object"),k=r(this,"doLength"),q=r(this,"message"),ee=q?q+": ":"",U=r(this,"ssfi"),J=e.type(M).toLowerCase(),Z=e.type(g).toLowerCase(),ne,ue=!0;if(k&&J!=="map"&&J!=="set"&&new n(M,q,U,!0).to.have.property("length"),!k&&J==="date"&&Z!=="date")ne=ee+"the argument to least must be a date";else if(Z!=="number"&&(k||J==="number"))ne=ee+"the argument to least must be a number";else if(!k&&J!=="date"&&J!=="number"){var Y=J==="string"?"'"+M+"'":M;ne=ee+"expected "+Y+" to be a number or a date"}else ue=!1;if(ue)throw new a(ne,void 0,U);if(k){var re="length",ie;J==="map"||J==="set"?(re="size",ie=M.size):ie=M.length,this.assert(ie>=g,"expected #{this} to have a "+re+" at least #{exp} but got #{act}","expected #{this} to have a "+re+" below #{exp}",g,ie)}else this.assert(M>=g,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",g)}n.addMethod("least",v),n.addMethod("gte",v),n.addMethod("greaterThanOrEqual",v);function S(g,B){B&&r(this,"message",B);var M=r(this,"object"),k=r(this,"doLength"),q=r(this,"message"),ee=q?q+": ":"",U=r(this,"ssfi"),J=e.type(M).toLowerCase(),Z=e.type(g).toLowerCase(),ne,ue=!0;if(k&&J!=="map"&&J!=="set"&&new n(M,q,U,!0).to.have.property("length"),!k&&J==="date"&&Z!=="date")ne=ee+"the argument to below must be a date";else if(Z!=="number"&&(k||J==="number"))ne=ee+"the argument to below must be a number";else if(!k&&J!=="date"&&J!=="number"){var Y=J==="string"?"'"+M+"'":M;ne=ee+"expected "+Y+" to be a number or a date"}else ue=!1;if(ue)throw new a(ne,void 0,U);if(k){var re="length",ie;J==="map"||J==="set"?(re="size",ie=M.size):ie=M.length,this.assert(ie=g&&Ae<=B,"expected #{this} to have a "+de+" within "+ie,"expected #{this} to not have a "+de+" within "+ie)}else this.assert(k>=g&&k<=B,"expected #{this} to be within "+ie,"expected #{this} to not be within "+ie)});function F(g,B){B&&r(this,"message",B);var M=r(this,"object"),k=r(this,"ssfi"),q=r(this,"message");try{var ee=M instanceof g}catch(J){throw J instanceof TypeError?(q=q?q+": ":"",new a(q+"The instanceof assertion needs a constructor but "+e.type(g)+" was given.",void 0,k)):J}var U=e.getName(g);U===null&&(U="an unnamed constructor"),this.assert(ee,"expected #{this} to be an instance of "+U,"expected #{this} to not be an instance of "+U)}n.addMethod("instanceof",F),n.addMethod("instanceOf",F);function z(g,B,M){M&&r(this,"message",M);var k=r(this,"nested"),q=r(this,"own"),ee=r(this,"message"),U=r(this,"object"),J=r(this,"ssfi"),Z=typeof g;if(ee=ee?ee+": ":"",k){if(Z!=="string")throw new a(ee+"the argument to property must be a string when using nested syntax",void 0,J)}else if(Z!=="string"&&Z!=="number"&&Z!=="symbol")throw new a(ee+"the argument to property must be a string, number, or symbol",void 0,J);if(k&&q)throw new a(ee+'The "nested" and "own" flags cannot be combined.',void 0,J);if(U==null)throw new a(ee+"Target cannot be null or undefined.",void 0,J);var ne=r(this,"deep"),ue=r(this,"negate"),Y=k?e.getPathInfo(U,g):null,re=k?Y.value:U[g],ie=ne?r(this,"eql"):(Ae,Ge)=>Ae===Ge,ge="";ne&&(ge+="deep "),q&&(ge+="own "),k&&(ge+="nested "),ge+="property ";var de;q?de=Object.prototype.hasOwnProperty.call(U,g):k?de=Y.exists:de=e.hasProperty(U,g),(!ue||arguments.length===1)&&this.assert(de,"expected #{this} to have "+ge+e.inspect(g),"expected #{this} to not have "+ge+e.inspect(g)),arguments.length>1&&this.assert(de&&ie(B,re),"expected #{this} to have "+ge+e.inspect(g)+" of #{exp}, but got #{act}","expected #{this} to not have "+ge+e.inspect(g)+" of #{act}",B,re),r(this,"object",re)}n.addMethod("property",z);function W(g,B,M){r(this,"own",!0),z.apply(this,arguments)}n.addMethod("ownProperty",W),n.addMethod("haveOwnProperty",W);function j(g,B,M){typeof B=="string"&&(M=B,B=null),M&&r(this,"message",M);var k=r(this,"object"),q=Object.getOwnPropertyDescriptor(Object(k),g),ee=r(this,"eql");q&&B?this.assert(ee(B,q),"expected the own property descriptor for "+e.inspect(g)+" on #{this} to match "+e.inspect(B)+", got "+e.inspect(q),"expected the own property descriptor for "+e.inspect(g)+" on #{this} to not match "+e.inspect(B),B,q,!0):this.assert(q,"expected #{this} to have an own property descriptor for "+e.inspect(g),"expected #{this} to not have an own property descriptor for "+e.inspect(g)),r(this,"object",q)}n.addMethod("ownPropertyDescriptor",j),n.addMethod("haveOwnPropertyDescriptor",j);function Q(){r(this,"doLength",!0)}function V(g,B){B&&r(this,"message",B);var M=r(this,"object"),k=e.type(M).toLowerCase(),q=r(this,"message"),ee=r(this,"ssfi"),U="length",J;switch(k){case"map":case"set":U="size",J=M.size;break;default:new n(M,q,ee,!0).to.have.property("length"),J=M.length}this.assert(J==g,"expected #{this} to have a "+U+" of #{exp} but got #{act}","expected #{this} to not have a "+U+" of #{act}",g,J)}n.addChainableMethod("length",V,Q),n.addChainableMethod("lengthOf",V,Q);function X(g,B){B&&r(this,"message",B);var M=r(this,"object");this.assert(g.exec(M),"expected #{this} to match "+g,"expected #{this} not to match "+g)}n.addMethod("match",X),n.addMethod("matches",X),n.addMethod("string",function(g,B){B&&r(this,"message",B);var M=r(this,"object"),k=r(this,"message"),q=r(this,"ssfi");new n(M,k,q,!0).is.a("string"),this.assert(~M.indexOf(g),"expected #{this} to contain "+e.inspect(g),"expected #{this} to not contain "+e.inspect(g))});function K(g){var B=r(this,"object"),M=e.type(B),k=e.type(g),q=r(this,"ssfi"),ee=r(this,"deep"),U,J="",Z,ne=!0,ue=r(this,"message");ue=ue?ue+": ":"";var Y=ue+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(M==="Map"||M==="Set")J=ee?"deeply ":"",Z=[],B.forEach(function(Be,c0){Z.push(c0)}),k!=="Array"&&(g=Array.prototype.slice.call(arguments));else{switch(Z=e.getOwnEnumerableProperties(B),k){case"Array":if(arguments.length>1)throw new a(Y,void 0,q);break;case"Object":if(arguments.length>1)throw new a(Y,void 0,q);g=Object.keys(g);break;default:g=Array.prototype.slice.call(arguments)}g=g.map(function(Be){return typeof Be=="symbol"?Be:String(Be)})}if(!g.length)throw new a(ue+"keys required",void 0,q);var re=g.length,ie=r(this,"any"),ge=r(this,"all"),de=g,Ae=ee?r(this,"eql"):(Be,c0)=>Be===c0;if(!ie&&!ge&&(ge=!0),ie&&(ne=de.some(function(Be){return Z.some(function(c0){return Ae(Be,c0)})})),ge&&(ne=de.every(function(Be){return Z.some(function(c0){return Ae(Be,c0)})}),r(this,"contains")||(ne=ne&&g.length==Z.length)),re>1){g=g.map(function(Be){return e.inspect(Be)});var Ge=g.pop();ge&&(U=g.join(", ")+", and "+Ge),ie&&(U=g.join(", ")+", or "+Ge)}else U=e.inspect(g[0]);U=(re>1?"keys ":"key ")+U,U=(r(this,"contains")?"contain ":"have ")+U,this.assert(ne,"expected #{this} to "+J+U,"expected #{this} to not "+J+U,de.slice(0).sort(e.compareByInspect),Z.sort(e.compareByInspect),!0)}n.addMethod("keys",K),n.addMethod("key",K);function G(g,B,M){M&&r(this,"message",M);var k=r(this,"object"),q=r(this,"ssfi"),ee=r(this,"message"),U=r(this,"negate")||!1;new n(k,ee,q,!0).is.a("function"),(g instanceof RegExp||typeof g=="string")&&(B=g,g=null);var J;try{k()}catch(Ge){J=Ge}var Z=g===void 0&&B===void 0,ne=!!(g&&B),ue=!1,Y=!1;if(Z||!Z&&!U){var re="an error";g instanceof Error?re="#{exp}":g&&(re=e.checkError.getConstructorName(g)),this.assert(J,"expected #{this} to throw "+re,"expected #{this} to not throw an error but #{act} was thrown",g&&g.toString(),J instanceof Error?J.toString():typeof J=="string"?J:J&&e.checkError.getConstructorName(J))}if(g&&J){if(g instanceof Error){var ie=e.checkError.compatibleInstance(J,g);ie===U&&(ne&&U?ue=!0:this.assert(U,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(J&&!U?" but #{act} was thrown":""),g.toString(),J.toString()))}var ge=e.checkError.compatibleConstructor(J,g);ge===U&&(ne&&U?ue=!0:this.assert(U,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(J?" but #{act} was thrown":""),g instanceof Error?g.toString():g&&e.checkError.getConstructorName(g),J instanceof Error?J.toString():J&&e.checkError.getConstructorName(J)))}if(J&&B!==void 0&&B!==null){var de="including";B instanceof RegExp&&(de="matching");var Ae=e.checkError.compatibleMessage(J,B);Ae===U&&(ne&&U?Y=!0:this.assert(U,"expected #{this} to throw error "+de+" #{exp} but got #{act}","expected #{this} to throw error not "+de+" #{exp}",B,e.checkError.getMessage(J)))}ue&&Y&&this.assert(U,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(J?" but #{act} was thrown":""),g instanceof Error?g.toString():g&&e.checkError.getConstructorName(g),J instanceof Error?J.toString():J&&e.checkError.getConstructorName(J)),r(this,"object",J)}n.addMethod("throw",G),n.addMethod("throws",G),n.addMethod("Throw",G);function R(g,B){B&&r(this,"message",B);var M=r(this,"object"),k=r(this,"itself"),q=typeof M=="function"&&!k?M.prototype[g]:M[g];this.assert(typeof q=="function","expected #{this} to respond to "+e.inspect(g),"expected #{this} to not respond to "+e.inspect(g))}n.addMethod("respondTo",R),n.addMethod("respondsTo",R),n.addProperty("itself",function(){r(this,"itself",!0)});function T(g,B){B&&r(this,"message",B);var M=r(this,"object"),k=g(M);this.assert(k,"expected #{this} to satisfy "+e.objDisplay(g),"expected #{this} to not satisfy"+e.objDisplay(g),!r(this,"negate"),k)}n.addMethod("satisfy",T),n.addMethod("satisfies",T);function N(g,B,M){M&&r(this,"message",M);var k=r(this,"object"),q=r(this,"message"),ee=r(this,"ssfi");if(new n(k,q,ee,!0).is.a("number"),typeof g!="number"||typeof B!="number"){q=q?q+": ":"";var U=B===void 0?", and a delta is required":"";throw new a(q+"the arguments to closeTo or approximately must be numbers"+U,void 0,ee)}this.assert(Math.abs(k-g)<=B,"expected #{this} to be close to "+g+" +/- "+B,"expected #{this} not to be close to "+g+" +/- "+B)}n.addMethod("closeTo",N),n.addMethod("approximately",N);function w(g,B,M,k,q){if(!k){if(g.length!==B.length)return!1;B=B.slice()}return g.every(function(ee,U){if(q)return M?M(ee,B[U]):ee===B[U];if(!M){var J=B.indexOf(ee);return J===-1?!1:(k||B.splice(J,1),!0)}return B.some(function(Z,ne){return M(ee,Z)?(k||B.splice(ne,1),!0):!1})})}n.addMethod("members",function(g,B){B&&r(this,"message",B);var M=r(this,"object"),k=r(this,"message"),q=r(this,"ssfi");new n(M,k,q,!0).to.be.an("array"),new n(g,k,q,!0).to.be.an("array");var ee=r(this,"contains"),U=r(this,"ordered"),J,Z,ne;ee?(J=U?"an ordered superset":"a superset",Z="expected #{this} to be "+J+" of #{exp}",ne="expected #{this} to not be "+J+" of #{exp}"):(J=U?"ordered members":"members",Z="expected #{this} to have the same "+J+" as #{exp}",ne="expected #{this} to not have the same "+J+" as #{exp}");var ue=r(this,"deep")?r(this,"eql"):void 0;this.assert(w(g,M,ue,ee,U),Z,ne,g,M,!0)});function m(g,B){B&&r(this,"message",B);var M=r(this,"object"),k=r(this,"message"),q=r(this,"ssfi"),ee=r(this,"contains"),U=r(this,"deep"),J=r(this,"eql");new n(g,k,q,!0).to.be.an("array"),ee?this.assert(g.some(function(Z){return M.indexOf(Z)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",g,M):U?this.assert(g.some(function(Z){return J(M,Z)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",g,M):this.assert(g.indexOf(M)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",g,M)}n.addMethod("oneOf",m);function A(g,B,M){M&&r(this,"message",M);var k=r(this,"object"),q=r(this,"message"),ee=r(this,"ssfi");new n(k,q,ee,!0).is.a("function");var U;B?(new n(g,q,ee,!0).to.have.property(B),U=g[B]):(new n(g,q,ee,!0).is.a("function"),U=g()),k();var J=B==null?g():g[B],Z=B==null?U:"."+B;r(this,"deltaMsgObj",Z),r(this,"initialDeltaValue",U),r(this,"finalDeltaValue",J),r(this,"deltaBehavior","change"),r(this,"realDelta",J!==U),this.assert(U!==J,"expected "+Z+" to change","expected "+Z+" to not change")}n.addMethod("change",A),n.addMethod("changes",A);function P(g,B,M){M&&r(this,"message",M);var k=r(this,"object"),q=r(this,"message"),ee=r(this,"ssfi");new n(k,q,ee,!0).is.a("function");var U;B?(new n(g,q,ee,!0).to.have.property(B),U=g[B]):(new n(g,q,ee,!0).is.a("function"),U=g()),new n(U,q,ee,!0).is.a("number"),k();var J=B==null?g():g[B],Z=B==null?U:"."+B;r(this,"deltaMsgObj",Z),r(this,"initialDeltaValue",U),r(this,"finalDeltaValue",J),r(this,"deltaBehavior","increase"),r(this,"realDelta",J-U),this.assert(J-U>0,"expected "+Z+" to increase","expected "+Z+" to not increase")}n.addMethod("increase",P),n.addMethod("increases",P);function L(g,B,M){M&&r(this,"message",M);var k=r(this,"object"),q=r(this,"message"),ee=r(this,"ssfi");new n(k,q,ee,!0).is.a("function");var U;B?(new n(g,q,ee,!0).to.have.property(B),U=g[B]):(new n(g,q,ee,!0).is.a("function"),U=g()),new n(U,q,ee,!0).is.a("number"),k();var J=B==null?g():g[B],Z=B==null?U:"."+B;r(this,"deltaMsgObj",Z),r(this,"initialDeltaValue",U),r(this,"finalDeltaValue",J),r(this,"deltaBehavior","decrease"),r(this,"realDelta",U-J),this.assert(J-U<0,"expected "+Z+" to decrease","expected "+Z+" to not decrease")}n.addMethod("decrease",L),n.addMethod("decreases",L);function x(g,B){B&&r(this,"message",B);var M=r(this,"deltaMsgObj"),k=r(this,"initialDeltaValue"),q=r(this,"finalDeltaValue"),ee=r(this,"deltaBehavior"),U=r(this,"realDelta"),J;ee==="change"?J=Math.abs(q-k)===Math.abs(g):J=U===Math.abs(g),this.assert(J,"expected "+M+" to "+ee+" by "+g,"expected "+M+" to not "+ee+" by "+g)}n.addMethod("by",x),n.addProperty("extensible",function(){var g=r(this,"object"),B=g===Object(g)&&Object.isExtensible(g);this.assert(B,"expected #{this} to be extensible","expected #{this} to not be extensible")}),n.addProperty("sealed",function(){var g=r(this,"object"),B=g===Object(g)?Object.isSealed(g):!0;this.assert(B,"expected #{this} to be sealed","expected #{this} to not be sealed")}),n.addProperty("frozen",function(){var g=r(this,"object"),B=g===Object(g)?Object.isFrozen(g):!0;this.assert(B,"expected #{this} to be frozen","expected #{this} to not be frozen")}),n.addProperty("finite",function(g){var B=r(this,"object");this.assert(typeof B=="number"&&isFinite(B),"expected #{this} to be a finite number","expected #{this} to not be a finite number")})}});var SVe=D((uda,kVe)=>{u();p();kVe.exports=function(t,e){t.expect=function(n,a){return new t.Assertion(n,a)},t.expect.fail=function(n,a,r,f){throw arguments.length<2&&(r=n,n=void 0),r=r||"expect.fail()",new t.AssertionError(r,{actual:n,expected:a,operator:f},t.expect.fail)}}});var MVe=D((bda,RVe)=>{u();p();RVe.exports=function(t,e){var n=t.Assertion;function a(){function r(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new n(this.valueOf(),null,r):new n(this,null,r)}function f(s){Object.defineProperty(this,"should",{value:s,enumerable:!0,configurable:!0,writable:!0})}Object.defineProperty(Object.prototype,"should",{set:f,get:r,configurable:!0});var i={};return i.fail=function(s,o,c,d){throw arguments.length<2&&(c=s,s=void 0),c=c||"should.fail()",new t.AssertionError(c,{actual:s,expected:o,operator:d},i.fail)},i.equal=function(s,o,c){new n(s,c).to.equal(o)},i.Throw=function(s,o,c,d){new n(s,d).to.Throw(o,c)},i.exist=function(s,o){new n(s,o).to.exist},i.not={},i.not.equal=function(s,o,c){new n(s,c).to.not.equal(o)},i.not.Throw=function(s,o,c,d){new n(s,d).to.not.Throw(o,c)},i.not.exist=function(s,o){new n(s,o).to.not.exist},i.throw=i.Throw,i.not.throw=i.not.Throw,i}t.should=a,t.Should=a}});var DVe=D((gda,BVe)=>{u();p();BVe.exports=function(t,e){var n=t.Assertion,a=e.flag;var r=t.assert=function(f,i){var s=new n(null,null,t.assert,!0);s.assert(f,i,"[ negation message unavailable ]")};r.fail=function(f,i,s,o){throw arguments.length<2&&(s=f,f=void 0),s=s||"assert.fail()",new t.AssertionError(s,{actual:f,expected:i,operator:o},r.fail)},r.isOk=function(f,i){new n(f,i,r.isOk,!0).is.ok},r.isNotOk=function(f,i){new n(f,i,r.isNotOk,!0).is.not.ok},r.equal=function(f,i,s){var o=new n(f,s,r.equal,!0);o.assert(i==a(o,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",i,f,!0)},r.notEqual=function(f,i,s){var o=new n(f,s,r.notEqual,!0);o.assert(i!=a(o,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",i,f,!0)},r.strictEqual=function(f,i,s){new n(f,s,r.strictEqual,!0).to.equal(i)},r.notStrictEqual=function(f,i,s){new n(f,s,r.notStrictEqual,!0).to.not.equal(i)},r.deepEqual=r.deepStrictEqual=function(f,i,s){new n(f,s,r.deepEqual,!0).to.eql(i)},r.notDeepEqual=function(f,i,s){new n(f,s,r.notDeepEqual,!0).to.not.eql(i)},r.isAbove=function(f,i,s){new n(f,s,r.isAbove,!0).to.be.above(i)},r.isAtLeast=function(f,i,s){new n(f,s,r.isAtLeast,!0).to.be.least(i)},r.isBelow=function(f,i,s){new n(f,s,r.isBelow,!0).to.be.below(i)},r.isAtMost=function(f,i,s){new n(f,s,r.isAtMost,!0).to.be.most(i)},r.isTrue=function(f,i){new n(f,i,r.isTrue,!0).is.true},r.isNotTrue=function(f,i){new n(f,i,r.isNotTrue,!0).to.not.equal(!0)},r.isFalse=function(f,i){new n(f,i,r.isFalse,!0).is.false},r.isNotFalse=function(f,i){new n(f,i,r.isNotFalse,!0).to.not.equal(!1)},r.isNull=function(f,i){new n(f,i,r.isNull,!0).to.equal(null)},r.isNotNull=function(f,i){new n(f,i,r.isNotNull,!0).to.not.equal(null)},r.isNaN=function(f,i){new n(f,i,r.isNaN,!0).to.be.NaN},r.isNotNaN=function(f,i){new n(f,i,r.isNotNaN,!0).not.to.be.NaN},r.exists=function(f,i){new n(f,i,r.exists,!0).to.exist},r.notExists=function(f,i){new n(f,i,r.notExists,!0).to.not.exist},r.isUndefined=function(f,i){new n(f,i,r.isUndefined,!0).to.equal(void 0)},r.isDefined=function(f,i){new n(f,i,r.isDefined,!0).to.not.equal(void 0)},r.isFunction=function(f,i){new n(f,i,r.isFunction,!0).to.be.a("function")},r.isNotFunction=function(f,i){new n(f,i,r.isNotFunction,!0).to.not.be.a("function")},r.isObject=function(f,i){new n(f,i,r.isObject,!0).to.be.a("object")},r.isNotObject=function(f,i){new n(f,i,r.isNotObject,!0).to.not.be.a("object")},r.isArray=function(f,i){new n(f,i,r.isArray,!0).to.be.an("array")},r.isNotArray=function(f,i){new n(f,i,r.isNotArray,!0).to.not.be.an("array")},r.isString=function(f,i){new n(f,i,r.isString,!0).to.be.a("string")},r.isNotString=function(f,i){new n(f,i,r.isNotString,!0).to.not.be.a("string")},r.isNumber=function(f,i){new n(f,i,r.isNumber,!0).to.be.a("number")},r.isNotNumber=function(f,i){new n(f,i,r.isNotNumber,!0).to.not.be.a("number")},r.isFinite=function(f,i){new n(f,i,r.isFinite,!0).to.be.finite},r.isBoolean=function(f,i){new n(f,i,r.isBoolean,!0).to.be.a("boolean")},r.isNotBoolean=function(f,i){new n(f,i,r.isNotBoolean,!0).to.not.be.a("boolean")},r.typeOf=function(f,i,s){new n(f,s,r.typeOf,!0).to.be.a(i)},r.notTypeOf=function(f,i,s){new n(f,s,r.notTypeOf,!0).to.not.be.a(i)},r.instanceOf=function(f,i,s){new n(f,s,r.instanceOf,!0).to.be.instanceOf(i)},r.notInstanceOf=function(f,i,s){new n(f,s,r.notInstanceOf,!0).to.not.be.instanceOf(i)},r.include=function(f,i,s){new n(f,s,r.include,!0).include(i)},r.notInclude=function(f,i,s){new n(f,s,r.notInclude,!0).not.include(i)},r.deepInclude=function(f,i,s){new n(f,s,r.deepInclude,!0).deep.include(i)},r.notDeepInclude=function(f,i,s){new n(f,s,r.notDeepInclude,!0).not.deep.include(i)},r.nestedInclude=function(f,i,s){new n(f,s,r.nestedInclude,!0).nested.include(i)},r.notNestedInclude=function(f,i,s){new n(f,s,r.notNestedInclude,!0).not.nested.include(i)},r.deepNestedInclude=function(f,i,s){new n(f,s,r.deepNestedInclude,!0).deep.nested.include(i)},r.notDeepNestedInclude=function(f,i,s){new n(f,s,r.notDeepNestedInclude,!0).not.deep.nested.include(i)},r.ownInclude=function(f,i,s){new n(f,s,r.ownInclude,!0).own.include(i)},r.notOwnInclude=function(f,i,s){new n(f,s,r.notOwnInclude,!0).not.own.include(i)},r.deepOwnInclude=function(f,i,s){new n(f,s,r.deepOwnInclude,!0).deep.own.include(i)},r.notDeepOwnInclude=function(f,i,s){new n(f,s,r.notDeepOwnInclude,!0).not.deep.own.include(i)},r.match=function(f,i,s){new n(f,s,r.match,!0).to.match(i)},r.notMatch=function(f,i,s){new n(f,s,r.notMatch,!0).to.not.match(i)},r.property=function(f,i,s){new n(f,s,r.property,!0).to.have.property(i)},r.notProperty=function(f,i,s){new n(f,s,r.notProperty,!0).to.not.have.property(i)},r.propertyVal=function(f,i,s,o){new n(f,o,r.propertyVal,!0).to.have.property(i,s)},r.notPropertyVal=function(f,i,s,o){new n(f,o,r.notPropertyVal,!0).to.not.have.property(i,s)},r.deepPropertyVal=function(f,i,s,o){new n(f,o,r.deepPropertyVal,!0).to.have.deep.property(i,s)},r.notDeepPropertyVal=function(f,i,s,o){new n(f,o,r.notDeepPropertyVal,!0).to.not.have.deep.property(i,s)},r.ownProperty=function(f,i,s){new n(f,s,r.ownProperty,!0).to.have.own.property(i)},r.notOwnProperty=function(f,i,s){new n(f,s,r.notOwnProperty,!0).to.not.have.own.property(i)},r.ownPropertyVal=function(f,i,s,o){new n(f,o,r.ownPropertyVal,!0).to.have.own.property(i,s)},r.notOwnPropertyVal=function(f,i,s,o){new n(f,o,r.notOwnPropertyVal,!0).to.not.have.own.property(i,s)},r.deepOwnPropertyVal=function(f,i,s,o){new n(f,o,r.deepOwnPropertyVal,!0).to.have.deep.own.property(i,s)},r.notDeepOwnPropertyVal=function(f,i,s,o){new n(f,o,r.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(i,s)},r.nestedProperty=function(f,i,s){new n(f,s,r.nestedProperty,!0).to.have.nested.property(i)},r.notNestedProperty=function(f,i,s){new n(f,s,r.notNestedProperty,!0).to.not.have.nested.property(i)},r.nestedPropertyVal=function(f,i,s,o){new n(f,o,r.nestedPropertyVal,!0).to.have.nested.property(i,s)},r.notNestedPropertyVal=function(f,i,s,o){new n(f,o,r.notNestedPropertyVal,!0).to.not.have.nested.property(i,s)},r.deepNestedPropertyVal=function(f,i,s,o){new n(f,o,r.deepNestedPropertyVal,!0).to.have.deep.nested.property(i,s)},r.notDeepNestedPropertyVal=function(f,i,s,o){new n(f,o,r.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(i,s)},r.lengthOf=function(f,i,s){new n(f,s,r.lengthOf,!0).to.have.lengthOf(i)},r.hasAnyKeys=function(f,i,s){new n(f,s,r.hasAnyKeys,!0).to.have.any.keys(i)},r.hasAllKeys=function(f,i,s){new n(f,s,r.hasAllKeys,!0).to.have.all.keys(i)},r.containsAllKeys=function(f,i,s){new n(f,s,r.containsAllKeys,!0).to.contain.all.keys(i)},r.doesNotHaveAnyKeys=function(f,i,s){new n(f,s,r.doesNotHaveAnyKeys,!0).to.not.have.any.keys(i)},r.doesNotHaveAllKeys=function(f,i,s){new n(f,s,r.doesNotHaveAllKeys,!0).to.not.have.all.keys(i)},r.hasAnyDeepKeys=function(f,i,s){new n(f,s,r.hasAnyDeepKeys,!0).to.have.any.deep.keys(i)},r.hasAllDeepKeys=function(f,i,s){new n(f,s,r.hasAllDeepKeys,!0).to.have.all.deep.keys(i)},r.containsAllDeepKeys=function(f,i,s){new n(f,s,r.containsAllDeepKeys,!0).to.contain.all.deep.keys(i)},r.doesNotHaveAnyDeepKeys=function(f,i,s){new n(f,s,r.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(i)},r.doesNotHaveAllDeepKeys=function(f,i,s){new n(f,s,r.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(i)},r.throws=function(f,i,s,o){(typeof i=="string"||i instanceof RegExp)&&(s=i,i=null);var c=new n(f,o,r.throws,!0).to.throw(i,s);return a(c,"object")},r.doesNotThrow=function(f,i,s,o){(typeof i=="string"||i instanceof RegExp)&&(s=i,i=null),new n(f,o,r.doesNotThrow,!0).to.not.throw(i,s)},r.operator=function(f,i,s,o){var c;switch(i){case"==":c=f==s;break;case"===":c=f===s;break;case">":c=f>s;break;case">=":c=f>=s;break;case"<":c=f{u();p();var PVe=[];S6.version="4.3.8";S6.AssertionError=a1e();var LVe=EVe();S6.use=function(t){return~PVe.indexOf(t)||(t(S6,LVe),PVe.push(t)),S6};S6.util=LVe;var sWt=G7();S6.config=sWt;var oWt=AVe();S6.use(oWt);var cWt=IVe();S6.use(cWt);var dWt=SVe();S6.use(dWt);var lWt=MVe();S6.use(lWt);var uWt=DVe();S6.use(uWt)});var NVe=D((_da,FVe)=>{u();p();FVe.exports=Sb()});var HVe=D(_x=>{"use strict";u();p();Object.defineProperty(_x,"__esModule",{value:!0});_x.expectApprox=_x.awaitCondition=void 0;var OVe=NVe(),UVe=ia(),pWt=n1e(),hWt=async(t,e=1e3,n=10)=>{for(let a=0;a{if(t=UVe.BigNumber.from(t),e=UVe.BigNumber.from(e),!(n||a||r||f))throw new Error("Must define at least one parameter to limit the deviation of the actual value.");let s,o=n?e.mul(100+n).div(100):null,c=r?e.add(r):null;o&&c?s=o.lte(c)?o:c:s=o||c;let d,l=a?e.mul(100-a).div(100):null,h=f?e.sub(f):null;l&&h?d=l.gte(h)?l:h:d=l||h,s&&(0,OVe.expect)(t.lte(s),`Actual value (${t}) is greater than the calculated upper bound of (${s})`).to.be.true,d&&(0,OVe.expect)(t.gte(d),`Actual value (${t}) is less than the calculated lower bound of (${d})`).to.be.true};_x.expectApprox=bWt});var fq=D(Tl=>{"use strict";u();p();var mWt=Tl&&Tl.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),sR=Tl&&Tl.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&mWt(e,t,n)};Object.defineProperty(Tl,"__esModule",{value:!0});sR($Ke(),Tl);sR(ZKe(),Tl);sR(t1e(),Tl);sR(n1e(),Tl);sR(HVe(),Tl)});var WVe=D(zVe=>{"use strict";u();p();Object.defineProperty(zVe,"__esModule",{value:!0})});var qVe=D(V7=>{"use strict";u();p();var yWt=V7&&V7.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),gWt=V7&&V7.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&yWt(e,t,n)};Object.defineProperty(V7,"__esModule",{value:!0});gWt(WVe(),V7)});var jVe=D(iq=>{"use strict";u();p();Object.defineProperty(iq,"__esModule",{value:!0});iq.getChainId=void 0;var vWt=async t=>(await t.getNetwork()).chainId;iq.getChainId=vWt});var GVe=D(Y7=>{"use strict";u();p();var wWt=Y7&&Y7.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),TWt=Y7&&Y7.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&wWt(e,t,n)};Object.defineProperty(Y7,"__esModule",{value:!0});TWt(jVe(),Y7)});var QVe=D(Rb=>{"use strict";u();p();var xWt=Rb&&Rb.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),KVe=Rb&&Rb.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&xWt(e,t,n)};Object.defineProperty(Rb,"__esModule",{value:!0});KVe(qVe(),Rb);KVe(GVe(),Rb)});var JVe=D(ru=>{"use strict";u();p();Object.defineProperty(ru,"__esModule",{value:!0});ru.undoL1ToL2Alias=ru.applyL1ToL2Alias=ru.L1_TO_L2_ALIAS_OFFSET=void 0;var VVe=Bo(),YVe=ia(),$Ve=fq();ru.L1_TO_L2_ALIAS_OFFSET="0x1111000000000000000000000000000000001111";var EWt=t=>{if(!(0,VVe.isAddress)(t))throw new Error(`not a valid address: ${t}`);return(0,$Ve.bnToAddress)(YVe.BigNumber.from(t).add(ru.L1_TO_L2_ALIAS_OFFSET))};ru.applyL1ToL2Alias=EWt;var _Wt=t=>{if(!(0,VVe.isAddress)(t))throw new Error(`not a valid address: ${t}`);return(0,$Ve.bnToAddress)(YVe.BigNumber.from(t).sub(ru.L1_TO_L2_ALIAS_OFFSET))};ru.undoL1ToL2Alias=_Wt});var XVe=D(pf=>{"use strict";u();p();Object.defineProperty(pf,"__esModule",{value:!0});pf.calldataCost=pf.zeroesAndOnes=pf.calculateL1Fee=pf.calculateL1GasUsed=pf.scaleDecimals=pf.txDataNonZeroGasEIP2028=pf.txDataZeroGas=void 0;var Ax=ia(),AWt=fq();pf.txDataZeroGas=4;pf.txDataNonZeroGasEIP2028=16;var CWt=Ax.BigNumber.from(10),IWt=(t,e)=>{t=Ax.BigNumber.from(t),e=Ax.BigNumber.from(e);let n=CWt.pow(e);return t.div(n)};pf.scaleDecimals=IWt;var kWt=(t,e)=>{let[n,a]=(0,pf.zeroesAndOnes)(t),r=n*pf.txDataZeroGas,f=(a+68)*pf.txDataNonZeroGasEIP2028;return Ax.BigNumber.from(f).add(r).add(e)};pf.calculateL1GasUsed=kWt;var SWt=(t,e,n,a,r)=>{let s=(0,pf.calculateL1GasUsed)(t,e).mul(n).mul(a);return(0,pf.scaleDecimals)(s,r)};pf.calculateL1Fee=SWt;var RWt=t=>{typeof t=="string"&&(t=_.Buffer.from((0,AWt.remove0x)(t),"hex"));let e=0,n=0;for(let a of t)a===0?e++:n++;return[e,n]};pf.zeroesAndOnes=RWt;var MWt=t=>{let[e,n]=(0,pf.zeroesAndOnes)(t),a=Ax.BigNumber.from(e).mul(pf.txDataZeroGas),r=Ax.BigNumber.from(n).mul(pf.txDataNonZeroGasEIP2028);return a.add(r)};pf.calldataCost=MWt});var eYe=D(ZVe=>{"use strict";u();p();Object.defineProperty(ZVe,"__esModule",{value:!0})});var aYe=D(J5=>{"use strict";u();p();var BWt=J5&&J5.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),DWt=J5&&J5.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),PWt=J5&&J5.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&BWt(e,t,n);return DWt(e,t),e};Object.defineProperty(J5,"__esModule",{value:!0});J5.DepositTx=J5.SourceHashDomain=void 0;var v1e=Bo(),fu=ia(),m1e=O1(),LWt=w3(),tYe=PWt(pI()),xl=Vt(),FWt=t=>t?new Uint8Array([1]):new Uint8Array([]),y1e=(t,e)=>{let n=(0,xl.stripZeros)(fu.BigNumber.from(t).toHexString());if(n.length>32)throw new Error(`invalid length for ${e}`);return n},NWt=t=>{if(t==="0x")return!1;if(t==="0x01")return!0;throw new Error(`invalid boolean RLP hex value ${t}`)},g1e=t=>t==="0x"?LWt.Zero:fu.BigNumber.from(t),nYe=t=>t==="0x"?null:(0,v1e.getAddress)(t),oR;(function(t){t[t.UserDeposit=0]="UserDeposit",t[t.L1InfoDeposit=1]="L1InfoDeposit"})(oR||(J5.SourceHashDomain=oR={}));var w1e=class{constructor(e={}){this.type=126,this.version=0,this._sourceHash=e.sourceHash,this.from=e.from,this.to=e.to,this.mint=e.mint,this.value=e.value,this.gas=e.gas,this.isSystemTransaction=e.isSystemTransaction||!1,this.data=e.data,this.domain=e.domain,this.l1BlockHash=e.l1BlockHash,this.logIndex=e.logIndex,this.sequenceNumber=e.sequenceNumber}hash(){let e=this.encode();return(0,m1e.keccak256)(e)}sourceHash(){if(!this._sourceHash){let e;switch(this.domain){case oR.UserDeposit:e=fu.BigNumber.from(this.logIndex).toHexString();break;case oR.L1InfoDeposit:e=fu.BigNumber.from(this.sequenceNumber).toHexString();break;default:throw new Error(`Unknown domain: ${this.domain}`)}if(!this.l1BlockHash)throw new Error("Need l1BlockHash to compute sourceHash");let n=this.l1BlockHash,a=(0,xl.hexConcat)([n,(0,xl.zeroPad)(e,32)]),r=(0,m1e.keccak256)(a),f=fu.BigNumber.from(this.domain).toHexString(),i=(0,xl.hexConcat)([(0,xl.zeroPad)(f,32),r]);this._sourceHash=(0,m1e.keccak256)(i)}return this._sourceHash}encode(){let e=[this.sourceHash()||"0x",(0,v1e.getAddress)(this.from)||"0x",this.to!=null?(0,v1e.getAddress)(this.to):"0x",y1e(this.mint||0,"mint"),y1e(this.value||0,"value"),y1e(this.gas||0,"gas"),FWt(this.isSystemTransaction),this.data||"0x"];return(0,xl.hexConcat)([fu.BigNumber.from(this.type).toHexString(),tYe.encode(e)])}decode(e,n={}){let a=(0,xl.arrayify)(e);if(a[0]!==this.type)throw new Error(`Invalid type ${a[0]}`);this.version=a[1];let r=tYe.decode(a.slice(1));return this._sourceHash=r[0],this.from=nYe(r[1]),this.to=nYe(r[2]),this.mint=g1e(r[3]),this.value=g1e(r[4]),this.gas=g1e(r[5]),this.isSystemTransaction=NWt(r[6]),this.data=r[7],"l1BlockHash"in n&&(this.l1BlockHash=n.l1BlockHash),"domain"in n&&(this.domain=n.domain),"logIndex"in n&&(this.logIndex=n.logIndex),"sequenceNumber"in n&&(this.sequenceNumber=n.sequenceNumber),this}static decode(e,n){return new this().decode(e,n)}fromL1Receipt(e,n){if(!e.events)throw new Error("cannot parse receipt");let a=e.events[n];if(!a)throw new Error(`event index ${n} does not exist`);return this.fromL1Event(a)}static fromL1Receipt(e,n){return new this({}).fromL1Receipt(e,n)}fromL1Event(e){if(e.event!=="TransactionDeposited")throw new Error(`incorrect event type: ${e.event}`);if(typeof e.args>"u")throw new Error("no event args");if(typeof e.args.from>"u")throw new Error('"from" undefined');if(this.from=e.args.from,typeof e.args.to>"u")throw new Error('"to" undefined');if(typeof e.args.version>"u")throw new Error('"verison" undefined');if(!e.args.version.eq(0))throw new Error(`Unsupported version ${e.args.version.toString()}`);if(typeof e.args.opaqueData>"u")throw new Error('"opaqueData" undefined');let n=e.args.opaqueData;if(n.length<73)throw new Error(`invalid opaqueData size: ${n.length}`);let a=0;this.mint=fu.BigNumber.from((0,xl.hexDataSlice)(n,a,a+32)),a+=32,this.value=fu.BigNumber.from((0,xl.hexDataSlice)(n,a,a+32)),a+=32,this.gas=fu.BigNumber.from((0,xl.hexDataSlice)(n,a,a+8)),a+=8;let r=fu.BigNumber.from(n[a]).eq(1);a+=1,this.to=r===!0?null:e.args.to;let f=n.length-a;return this.isSystemTransaction=!1,this.data=(0,xl.hexDataSlice)(n,a,a+f),this.domain=oR.UserDeposit,this.l1BlockHash=e.blockHash,this.logIndex=e.logIndex,this}static fromL1Event(e){return new this({}).fromL1Event(e)}};J5.DepositTx=w1e});var T1e=D(G1=>{"use strict";u();p();Object.defineProperty(G1,"__esModule",{value:!0});G1.encodeCrossDomainMessage=G1.encodeCrossDomainMessageV1=G1.encodeCrossDomainMessageV0=G1.decodeVersionedNonce=G1.encodeVersionedNonce=void 0;var OWt=ia(),UWt=hw(),rYe=new UWt.Interface(["function relayMessage(address,address,bytes,uint256)","function relayMessage(uint256,address,address,uint256,uint256,bytes)"]),HWt=OWt.BigNumber.from("0x0000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),zWt=(t,e)=>e.or(t.shl(240));G1.encodeVersionedNonce=zWt;var WWt=t=>({version:t.shr(240),nonce:t.and(HWt)});G1.decodeVersionedNonce=WWt;var qWt=(t,e,n,a)=>rYe.encodeFunctionData("relayMessage(address,address,bytes,uint256)",[t,e,n,a]);G1.encodeCrossDomainMessageV0=qWt;var jWt=(t,e,n,a,r,f)=>rYe.encodeFunctionData("relayMessage(uint256,address,address,uint256,uint256,bytes)",[t,e,n,a,r,f]);G1.encodeCrossDomainMessageV1=jWt;var GWt=(t,e,n,a,r,f)=>{let{version:i}=(0,G1.decodeVersionedNonce)(t);if(i.eq(0))return(0,G1.encodeCrossDomainMessageV0)(n,e,f,t);if(i.eq(1))return(0,G1.encodeCrossDomainMessageV1)(t,e,n,a,r,f);throw new Error(`unknown version ${i.toString()}`)};G1.encodeCrossDomainMessage=GWt});var iYe=D(Oc=>{"use strict";u();p();Object.defineProperty(Oc,"__esModule",{value:!0});Oc.hashOutputRootProof=Oc.hashWithdrawal=Oc.hashCrossDomainMessagev1=Oc.hashCrossDomainMessagev0=Oc.hashCrossDomainMessage=void 0;var sq=O1(),fYe=hw(),x1e=T1e(),KWt=(t,e,n,a,r,f)=>{let{version:i}=(0,x1e.decodeVersionedNonce)(t);if(i.eq(0))return(0,Oc.hashCrossDomainMessagev0)(n,e,f,t);if(i.eq(1))return(0,Oc.hashCrossDomainMessagev1)(t,e,n,a,r,f);throw new Error(`unknown version ${i.toString()}`)};Oc.hashCrossDomainMessage=KWt;var QWt=(t,e,n,a)=>(0,sq.keccak256)((0,x1e.encodeCrossDomainMessageV0)(t,e,n,a));Oc.hashCrossDomainMessagev0=QWt;var VWt=(t,e,n,a,r,f)=>(0,sq.keccak256)((0,x1e.encodeCrossDomainMessageV1)(t,e,n,a,r,f));Oc.hashCrossDomainMessagev1=VWt;var YWt=(t,e,n,a,r,f)=>{let i=["uint256","address","address","uint256","uint256","bytes"],s=fYe.defaultAbiCoder.encode(i,[t,e,n,a,r,f]);return(0,sq.keccak256)(s)};Oc.hashWithdrawal=YWt;var $Wt=t=>(0,sq.keccak256)(fYe.defaultAbiCoder.encode(["bytes32","bytes32","bytes32","bytes32"],[t.version,t.stateRoot,t.messagePasserStorageRoot,t.latestBlockhash]));Oc.hashOutputRootProof=$Wt});var sYe=D(Cx=>{"use strict";u();p();var JWt=Cx&&Cx.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Cx,"__esModule",{value:!0});Cx.OpNodeProvider=void 0;var XWt=JWt(Nr()),a1=ia(),ZWt=Ba(),eqt=A8(),tqt=t=>{if(t.error){let e=new Error(t.error.message);throw e.code=t.error.code,e.data=t.error.data,e}return t.result},E1e=class extends XWt.default{constructor(e){super(),this._nextId=0,typeof e=="string"?this.connection={url:e}:this.connection=e}async syncStatus(){let e=await this.send("optimism_syncStatus",[]);return{currentL1:{hash:e.current_l1.hash,number:a1.BigNumber.from(e.current_l1.number),parentHash:e.current_l1.parentHash,timestamp:a1.BigNumber.from(e.current_l1.timestamp)},headL1:{hash:e.head_l1.hash,number:a1.BigNumber.from(e.head_l1.number),parentHash:e.head_l1.parentHash,timestamp:a1.BigNumber.from(e.head_l1.timestamp)},unsafeL2:{hash:e.unsafe_l2.hash,number:a1.BigNumber.from(e.unsafe_l2.number),parentHash:e.unsafe_l2.parentHash,timestamp:a1.BigNumber.from(e.unsafe_l2.timestamp),l1Origin:{hash:e.unsafe_l2.l1origin.hash,number:a1.BigNumber.from(e.unsafe_l2.l1origin.number)},sequencerNumber:a1.BigNumber.from(e.unsafe_l2.sequenceNumber)},safeL2:{hash:e.safe_l2.hash,number:a1.BigNumber.from(e.safe_l2.number),parentHash:e.safe_l2.parentHash,timestamp:a1.BigNumber.from(e.safe_l2.timestamp),l1Origin:{hash:e.safe_l2.l1origin.hash,number:a1.BigNumber.from(e.safe_l2.l1origin.number)},sequencerNumber:a1.BigNumber.from(e.safe_l2.sequenceNumber)},finalizedL2:{hash:e.finalized_l2.hash,number:a1.BigNumber.from(e.finalized_l2.number),parentHash:e.finalized_l2.parentHash,timestamp:a1.BigNumber.from(e.finalized_l2.timestamp),l1Origin:{hash:e.finalized_l2.l1origin.hash,number:a1.BigNumber.from(e.finalized_l2.l1origin.number)},sequencerNumber:a1.BigNumber.from(e.finalized_l2.sequenceNumber)}}}async rollupConfig(){return await this.send("optimism_rollupConfig",[])}send(e,n){let a={method:e,params:n,id:this._nextId++,jsonrpc:"2.0"};return this.emit("debug",{action:"request",request:(0,ZWt.deepCopy)(a),provider:this}),(0,eqt.fetchJson)(this.connection,JSON.stringify(a),tqt).then(f=>(this.emit("debug",{action:"response",request:a,response:f,provider:this}),f),f=>{throw this.emit("debug",{action:"response",error:f,request:a,provider:this}),f})}};Cx.OpNodeProvider=E1e});var cYe=D(Ix=>{"use strict";u();p();Object.defineProperty(Ix,"__esModule",{value:!0});Ix.defaultResourceConfig=Ix.predeploys=void 0;var oYe=Xe();Ix.predeploys={L2ToL1MessagePasser:"0x4200000000000000000000000000000000000016",DeployerWhitelist:"0x4200000000000000000000000000000000000002",L2CrossDomainMessenger:"0x4200000000000000000000000000000000000007",GasPriceOracle:"0x420000000000000000000000000000000000000F",L2StandardBridge:"0x4200000000000000000000000000000000000010",SequencerFeeVault:"0x4200000000000000000000000000000000000011",OptimismMintableERC20Factory:"0x4200000000000000000000000000000000000012",L1BlockNumber:"0x4200000000000000000000000000000000000013",L1Block:"0x4200000000000000000000000000000000000015",LegacyERC20ETH:"0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",WETH9:"0x4200000000000000000000000000000000000006",GovernanceToken:"0x4200000000000000000000000000000000000042",LegacyMessagePasser:"0x4200000000000000000000000000000000000000",L2ERC721Bridge:"0x4200000000000000000000000000000000000014",OptimismMintableERC721Factory:"0x4200000000000000000000000000000000000017",ProxyAdmin:"0x4200000000000000000000000000000000000018",BaseFeeVault:"0x4200000000000000000000000000000000000019",L1FeeVault:"0x420000000000000000000000000000000000001a"};var nqt=oYe.ethers.BigNumber.from("0xffffffffffffffffffffffffffffffff");Ix.defaultResourceConfig={maxResourceLimit:2e7,elasticityMultiplier:10,baseFeeMaxChangeDenominator:8,minimumBaseFee:oYe.ethers.utils.parseUnits("1","gwei"),systemTxMaxGas:1e6,maximumBaseFee:nqt}});var dYe=D(Uc=>{"use strict";u();p();var aqt=Uc&&Uc.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Mb=Uc&&Uc.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&aqt(e,t,n)};Object.defineProperty(Uc,"__esModule",{value:!0});Mb(JVe(),Uc);Mb(XVe(),Uc);Mb(eYe(),Uc);Mb(aYe(),Uc);Mb(T1e(),Uc);Mb(iYe(),Uc);Mb(sYe(),Uc);Mb(cYe(),Uc)});var uYe=D(oq=>{"use strict";u();p();Object.defineProperty(oq,"__esModule",{value:!0});oq.addChecksum=void 0;var rqt=Xe(),lYe=(t,e)=>e===void 0?null:e,_1e=t=>{if(Array.isArray(t))return`[${t.map(e=>_1e(e)).join(",")}]`;if(typeof t=="object"&&t!==null){let e="",n=Object.keys(t).sort();e+=`{${JSON.stringify(n,lYe)}`;for(let a of n)e+=`${_1e(t[a])},`;return`${e}}`}return`${JSON.stringify(t,lYe)}`},fqt=t=>{let e=_1e(Object.assign(Object.assign({},t),{meta:Object.assign(Object.assign({},t.meta),{name:null})}));return rqt.ethers.utils.solidityKeccak256(["string"],[e])||void 0},iqt=t=>Object.assign(Object.assign({},t),{meta:Object.assign(Object.assign({},t.meta),{checksum:fqt(t)})});oq.addChecksum=iqt});var hYe=D((kx,pYe)=>{"use strict";u();p();var sqt=function(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")},$7=sqt();pYe.exports=kx=$7.fetch;$7.fetch&&(kx.default=$7.fetch.bind($7));kx.Headers=$7.Headers;kx.Request=$7.Request;kx.Response=$7.Response});var mYe=D(Sx=>{"use strict";u();p();var oqt=Sx&&Sx.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Sx,"__esModule",{value:!0});Sx.Etherscan=void 0;var cqt=oqt(hYe()),bYe={1:{chainId:1,names:["mainnet","main","eth","ethereum"],etherscanApiUrl:"https://api.etherscan.io"},3:{chainId:3,names:["ropsten"],etherscanApiUrl:"https://api-ropsten.etherscan.io"},4:{chainId:4,names:["rinkeby"],etherscanApiUrl:"https://api-rinkeby.etherscan.io"},5:{chainId:5,names:["goerli"],etherscanApiUrl:"https://api-goerli.etherscan.io"},10:{chainId:10,names:["optimism"],etherscanApiUrl:"https://api-optimistic.etherscan.io"},42:{chainId:42,names:["kovan"],etherscanApiUrl:"https://api-kovan.etherscan.io"},69:{chainId:69,names:["opkovan","kovan-optimism","optimistic-kovan"],etherscanApiUrl:"https://api-kovan-optimistic.etherscan.io"}},A1e=class{constructor(e,n){this.apiKey=e,this.network=n,typeof n=="string"?this.net=Object.values(bYe).find(a=>a.names.includes(n)):this.net=bYe[this.network]}async getContractSource(e){let n=new URL(`${this.net.etherscanApiUrl}/api`);return n.searchParams.append("module","contract"),n.searchParams.append("action","getsourcecode"),n.searchParams.append("address",e),n.searchParams.append("apikey",this.apiKey),(await(await(0,cqt.default)(n)).json()).result[0]}async getContractABI(e){let n=await this.getContractSource(e);return n.Proxy==="1"?(await this.getContractSource(n.Implementation)).ABI:n.ABI}};Sx.Etherscan=A1e});var k1e=D((Sla,wYe)=>{"use strict";u();p();function Bb(t){"@babel/helpers - typeof";return Bb=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bb(t)}function yYe(t,e){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function cq(t){return cq=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},cq(t)}var vYe={},Rx,C1e;function cR(t,e,n){n||(n=Error);function a(f,i,s){return typeof e=="string"?e:e(f,i,s)}var r=function(f){hqt(s,f);var i=bqt(s);function s(o,c,d){var l;return pqt(this,s),l=i.call(this,a(o,c,d)),l.code=t,l}return dqt(s)}(n);vYe[t]=r}function gYe(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map(function(a){return String(a)}),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:n===2?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}else return"of ".concat(e," ").concat(String(t))}function vqt(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function wqt(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function Tqt(t,e,n){return typeof n!="number"&&(n=0),n+e.length>t.length?!1:t.indexOf(e,n)!==-1}cR("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError);cR("ERR_INVALID_ARG_TYPE",function(t,e,n){Rx===void 0&&(Rx=J7()),Rx(typeof t=="string","'name' must be a string");var a;typeof e=="string"&&vqt(e,"not ")?(a="must not be",e=e.replace(/^not /,"")):a="must be";var r;if(wqt(t," argument"))r="The ".concat(t," ").concat(a," ").concat(gYe(e,"type"));else{var f=Tqt(t,".")?"property":"argument";r='The "'.concat(t,'" ').concat(f," ").concat(a," ").concat(gYe(e,"type"))}return r+=". Received type ".concat(Bb(n)),r},TypeError);cR("ERR_INVALID_ARG_VALUE",function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";C1e===void 0&&(C1e=nl());var a=C1e.inspect(e);return a.length>128&&(a="".concat(a.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(n,". Received ").concat(a)},TypeError,RangeError);cR("ERR_INVALID_RETURN_VALUE",function(t,e,n){var a;return n&&n.constructor&&n.constructor.name?a="instance of ".concat(n.constructor.name):a="type ".concat(Bb(n)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(a,".")},TypeError);cR("ERR_MISSING_ARGS",function(){for(var t=arguments.length,e=new Array(t),n=0;n0,"At least one arg needs to be specified");var a="The ",r=e.length;switch(e=e.map(function(f){return'"'.concat(f,'"')}),r){case 1:a+="".concat(e[0]," argument");break;case 2:a+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:a+=e.slice(0,r-1).join(", "),a+=", and ".concat(e[r-1]," arguments");break}return"".concat(a," must be specified")},TypeError);wYe.exports.codes=vYe});var RYe=D((Bla,SYe)=>{"use strict";u();p();function TYe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function xYe(t){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function kqt(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function pR(t,e){return pR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,r){return a.__proto__=r,a},pR(t,e)}function hR(t){return hR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},hR(t)}function Hc(t){"@babel/helpers - typeof";return Hc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hc(t)}var Sqt=nl(),M1e=Sqt.inspect,Rqt=k1e(),Mqt=Rqt.codes.ERR_INVALID_ARG_TYPE;function _Ye(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function Bqt(t,e){if(e=Math.floor(e),t.length==0||e==0)return"";var n=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+=t.substring(0,n-t.length),t}var El="",dR="",lR="",io="",X7={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},Dqt=10;function AYe(t){var e=Object.keys(t),n=Object.create(Object.getPrototypeOf(t));return e.forEach(function(a){n[a]=t[a]}),Object.defineProperty(n,"message",{value:t.message}),n}function uR(t){return M1e(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Pqt(t,e,n){var a="",r="",f=0,i="",s=!1,o=uR(t),c=o.split(` + `+t.stack,n}});var Xqe=D((Poa,Jqe)=>{"use strict";u();p();var uOt=GW(),pOt=Roe();Jqe.exports=function(e){try{e=new uOt(e)}catch(n){throw pOt(n,`invalid cid: ${e}`)}return e.version!==1&&(e=e.toV1()),e.toBaseEncodedString("base32")}});var Moe=D((Noa,Zqe)=>{"use strict";u();p();var hOt=JS();Zqe.exports=function(){let e=[];for(let n of Object.values(hOt.names))e.push({name:n.name,code:n.code});return e}});var Boe=D((Hoa,eje)=>{"use strict";u();p();var bOt=GW();eje.exports=function(){let e=[];for(let[n,a]of Object.entries(bOt.codecs))e.push({name:n,code:a});return e}});var fje=D((qoa,rje)=>{"use strict";u();p();var{bases:tje}=(tse(),vn(tOe));function aje(t,e,n,a){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:a}}}var nje=aje("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),Doe=aje("ascii","a",t=>{let e="a";for(let n=0;n{t=t.substring(1);let e=new Uint8Array(t.length);for(let n=0;n{"use strict";u();p();var yOt=fje();function gOt(t,e="utf8"){let n=yOt[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return n.encoder.encode(t).substring(1)}ije.exports=gOt});var lje=D((Yoa,dje)=>{"use strict";u();p();var vOt=GW(),wOt=Moe(),TOt=Boe(),xOt=Roe(),Poe=JS(),mx=ZS(),eR=sje();dje.exports=function(e,n){n=n||{};let a=n.format||"%s";if(a==="prefix"&&(a="%P"),!oje(a)||a.indexOf("%")===-1)throw new Error(`invalid format string: ${a}`);let r=e;try{e=new vOt(e)}catch(i){throw xOt(i,`invalid cid: ${e}`)}if(n.cidVersion!=null&&e.version!==n.cidVersion)if(n.cidVersion===0)e=e.toV0();else if(n.cidVersion===1)e=e.toV1();else throw new Error(`invalid cid version: ${n.cidVersion}`);let f="base58btc";return n.base?f=cje(n.base).name:oje(r)&&(f=Poe.isEncoded(r)||f),a.replace(/%([a-zA-Z%])/g,EOt(e,f))};function oje(t){return Object.prototype.toString.call(t)==="[object String]"}function EOt(t,e){return(a,r)=>{switch(r){case"%":return"%";case"b":return e;case"B":return cje(e).code;case"v":return`cidv${t.version}`;case"V":return t.version.toString();case"c":return t.codec;case"C":return _Ot(t).toString();case"h":return mx.decode(t.multihash).name;case"H":return mx.decode(t.multihash).code.toString();case"L":return mx.decode(t.multihash).length.toString();case"m":return eR(Poe.encode(e,t.multihash));case"M":return eR(t.multihash,e);case"d":return eR(Poe.encode(e,mx.decode(t.multihash).digest));case"D":return eR(mx.decode(t.multihash).digest,e);case"s":return t.toString(e);case"S":return t.version===1?t.toString(e).slice(1):eR(t.bytes,e);case"P":return AOt(t);default:throw new Error(`unrecognized specifier in format string: ${r}`)}}}function cje(t){let e=wOt().find(n=>n.code===t||n.name===t);if(!e)throw new Error(`invalid multibase: ${t}`);return e}function _Ot(t){let e=TOt().find(n=>n.name===t.codec);if(!e)throw new Error(`invalid codec: ${t.codec}`);return e.code}function AOt(t){let{name:e,length:n}=mx.decode(t.multihash);return`cidv${t.version}-${t.codec}-${e}-${n}`}});var pje=D((Xoa,uje)=>{"use strict";u();p();var COt=ZS();uje.exports=function(){let e=[];for(let[n,a]of Object.entries(COt.names))e.push({name:n,code:a});return e}});var hje=D(yx=>{"use strict";u();p();yx.base32=Xqe();yx.bases=Moe();yx.codecs=Boe();yx.format=lje();yx.hashes=pje()});var mje=D((r1a,bje)=>{"use strict";u();p();bje.exports=hje()});var gje=D((s1a,yje)=>{u();p();yje.exports=typeof self=="object"?self.FormData:window.FormData});function IOt(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof E<"u"&&E.env[t]?E.env[t]:e}function Loe(t){let e=new URL(t).hostname;return e.endsWith(_je)?!0:e.endsWith(kOt)}function DOt(t){return Array.isArray(t)?{"ipfs://":t}:t||{}}function POt(t,e,n){let a=e.split("/"),r=FOt(a[0]),f=a.slice(1).join("/"),i=t;if(t.includes("{cid}")&&t.includes("{path}")?i=i.replace("{cid}",r).replace("{path}",f):t.includes("{cid}")?i=i.replace("{cid}",r):i+=`${r}/${f}`,t.includes("{clientId}")){if(!n)throw new Error("Cannot use {clientId} in gateway URL without providing a client ID");i=i.replace("{clientId}",n)}return i}function LOt(t,e,n){let a={...MOt,...t};for(let r of Object.keys(a)){let f=a[r].map(i=>{if(e&&i.includes("{clientId}"))return i.replace("{clientId}",e);if(n&&i.includes("{clientId}")){if(typeof window<"u")throw new Error("Cannot use secretKey in browser context");let o=MW(n).slice(0,32);return i.replace("{clientId}",o)}else return i.includes("{clientId}")?void 0:i}).filter(i=>i!==void 0);a[r]=f}return a}function FOt(t){let e="";try{let n=t.split("/")[0];e=xje.default.base32(n)}catch{throw new Error(`The CID ${t} is not valid.`)}return e}function j7(){return typeof window<"u"}function QW(t){return global.File&&t instanceof File}function gx(t){return global.Buffer&&t instanceof _.Buffer}function VW(t){return!!(t&&t.name&&t.data&&typeof t.name=="string"&&(typeof t.data=="string"||gx(t.data)))}function Ab(t){return QW(t)||gx(t)||VW(t)}function NOt(t,e){if(QW(t)&&QW(e)){if(t.name===e.name&&t.lastModified===e.lastModified&&t.size===e.size)return!0}else{if(gx(t)&&gx(e))return t.equals(e);if(VW(t)&&VW(e)&&t.name===e.name){if(typeof t.data=="string"&&typeof e.data=="string")return t.data===e.data;if(gx(t.data)&&gx(e.data))return t.data.equals(e.data)}}return!1}function OOt(t,e){let n=t.replace("{cid}","(?[^/]+)").replace("{path}","(?[^?#]+)"),a=new RegExp(n),r=e.match(a);if(r){let f=r.groups?.hash,i=r.groups?.path,s=e.includes("?")?e.substring(e.indexOf("?")+1):"";return{hash:f,path:i,query:s}}}function qoe(t,e){for(let n of Object.keys(e))for(let a of e[n])if(a.includes("{cid}")){let r=OOt(a,t);if(r?.hash&&r?.path){let f=r?.query?`?${r?.query}`:"";return`${n}${r?.hash}/${r?.path}${f}`}else return t}else if(t.startsWith(a))return t.replace(a,n);return t}function joe(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3?arguments[3]:void 0,r=Object.keys(e).find(s=>t.startsWith(s)),f=r?e[r]:[];if(!r&&n>0||r&&n>=f.length)return;if(!r)return t;let i=t.replace(r,"");try{return POt(f[n],i,a)}catch{console.warn(`The IPFS uri: ${i} is not valid.`);return}}function Noe(t,e){return typeof t=="string"?qoe(t,e):typeof t=="object"?!t||Ab(t)?t:Array.isArray(t)?t.map(n=>Noe(n,e)):Object.fromEntries(Object.entries(t).map(n=>{let[a,r]=n;return[a,Noe(r,e)]})):t}function YW(t,e,n){return typeof t=="string"?joe(t,e,0,n):typeof t=="object"?!t||Ab(t)?t:Array.isArray(t)?t.map(a=>YW(a,e,n)):Object.fromEntries(Object.entries(t).map(a=>{let[r,f]=a;return[r,YW(f,e,n)]})):t}function Ooe(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(Ab(t))return e.push(t),e;if(typeof t=="object"){if(!t)return e;Array.isArray(t)?t.forEach(n=>Ooe(n,e)):Object.keys(t).map(n=>Ooe(t[n],e))}return e}function Uoe(t,e){if(Ab(t)){if(e.length)return t=e.shift(),t;console.warn("Not enough URIs to replace all files in object.")}return typeof t=="object"?t&&(Array.isArray(t)?t.map(n=>Uoe(n,e)):Object.fromEntries(Object.entries(t).map(n=>{let[a,r]=n;return[a,Uoe(r,e)]}))):t}function UOt(t){for(let e=0,n=vje.length;e"u"?{x_sdk_name:KW.name,x_sdk_platform:Tje(),x_sdk_version:KW.version,x_sdk_os:wje(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=KW.name,globalThis.X_SDK_PLATFORM=Tje(),globalThis.X_SDK_VERSION=KW.version,globalThis.X_SDK_OS=wje(),globalThis.APP_BUNDLE_ID=void 0),{x_sdk_name:globalThis.X_SDK_NAME,x_sdk_platform:globalThis.X_SDK_PLATFORM,x_sdk_version:globalThis.X_SDK_VERSION,x_sdk_os:globalThis.X_SDK_OS,app_bundle_id:globalThis.APP_BUNDLE_ID||""})}function Tje(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":typeof window<"u"?"browser":"node"}function zOt(t){return zoe.has(t)}function WOt(t,e){Foe.has(t)&&clearTimeout(Foe.get(t));let n=e.headers.get("Retry-After"),a=5e3;if(n){let r=parseInt(n);isNaN(r)||(a=r*1e3)}zoe.set(t,!0),Foe.set(t,setTimeout(()=>zoe.delete(t),a))}var xje,Eje,_je,kOt,SOt,ROt,MOt,BOt,KW,vje,Hoe,zoe,Foe,Woe,_b,vx=ce(()=>{"use strict";u();p();xje=Ee(mje());BW();Eje=Ee(gje());_je=".ipfscdn.io",kOt=".thirdwebstorage-staging.com",SOt=[`https://{clientId}${_je}/ipfs/{cid}/{path}`];ROt=["https://{cid}.ipfs.cf-ipfs.com/{path}","https://{cid}.ipfs.dweb.link/{path}","https://ipfs.io/ipfs/{cid}/{path}","https://cloudflare-ipfs.com/ipfs/{cid}/{path}","https://{cid}.ipfs.w3s.link/{path}","https://w3s.link/ipfs/{cid}/{path}","https://nftstorage.link/ipfs/{cid}/{path}","https://gateway.pinata.cloud/ipfs/{cid}/{path}"],MOt={"ipfs://":[...SOt,...ROt]},BOt=IOt("CUSTOM_UPLOAD_SERVER_URL","https://storage.thirdweb.com");KW={name:"@thirdweb-dev/storage",version:"2.0.15",main:"dist/thirdweb-dev-storage.cjs.js",module:"dist/thirdweb-dev-storage.esm.js",exports:{".":{module:"./dist/thirdweb-dev-storage.esm.js",default:"./dist/thirdweb-dev-storage.cjs.js"},"./package.json":"./package.json"},repository:"https://github.com/thirdweb-dev/js/tree/main/legacy_packages/storage",author:"thirdweb eng ",license:"Apache-2.0",sideEffects:!1,scripts:{format:"prettier --write 'src/**/*'",lint:"eslint src/",fix:"eslint src/ --fix",clean:"rm -rf dist/",build:"tsc && preconstruct build",test:"vitest run",push:"yalc push",typedoc:"node scripts/typedoc.mjs"},files:["dist/"],preconstruct:{exports:!0},devDependencies:{"@microsoft/api-documenter":"^7.24.5","@microsoft/api-extractor":"^7.43.0","@microsoft/tsdoc":"^0.14.2","@preconstruct/cli":"2.7.0","@swc-node/register":"^1.9.0","@thirdweb-dev/tsconfig":"workspace:*","@types/uuid":"^9.0.8",eslint:"8.57.0","eslint-config-thirdweb":"workspace:*","eslint-plugin-tsdoc":"^0.2.17",esm:"^3.2.25",rimraf:"5.0.5","typedoc-gen":"workspace:*",typescript:"5.4.4"},dependencies:{"@thirdweb-dev/crypto":"workspace:*","cid-tool":"^3.0.0","form-data":"^4.0.0",uuid:"^9.0.1"},engines:{node:">=18"}},vje=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];Hoe=class{constructor(e){ae(this,"DEFAULT_TIMEOUT_IN_SECONDS",60);ae(this,"DEFAULT_MAX_RETRIES",3);this.secretKey=e.secretKey,this.clientId=e.clientId,this.defaultTimeout=e.timeoutInSeconds||this.DEFAULT_TIMEOUT_IN_SECONDS}async download(e,n,a){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,f=a?.maxRetries||this.DEFAULT_MAX_RETRIES;if(r>f)return console.error("[FAILED_TO_DOWNLOAD_ERROR] Failed to download from URI - too many attempts failed."),new Response(JSON.stringify({error:"Not Found"}),{status:404,headers:{"Content-Type":"application/json"}});let i=joe(e,n,r,this.clientId);if(i)r>0&&console.warn(`Retrying download with backup gateway URL: ${i}`);else return console.error("[FAILED_TO_DOWNLOAD_ERROR] Unable to download from URI - all gateway URLs failed to respond."),new Response(JSON.stringify({error:"Not Found"}),{status:404,headers:{"Content-Type":"application/json"}});let s={};if(Loe(i)){let h=Goe().app_bundle_id;this.secretKey?s={"x-secret-key":this.secretKey}:this.clientId&&(!i.includes("bundleId")&&h&&(i=i+(h?`?bundleId=${h}`:"")),s["x-client-Id"]=this.clientId),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(s={...s,authorization:`Bearer ${globalThis.TW_AUTH_TOKEN}`}),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(s={...s,authorization:`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`},s["x-authorize-wallet"]="true"),Aje(s)}if(zOt(i))return this.download(e,n,a,r+1);let o=new AbortController,c=a?.timeoutInSeconds||this.defaultTimeout,d=setTimeout(()=>o.abort(),c*1e3),l=await fetch(i,{headers:s,signal:o.signal}).catch(h=>h);if(d&&clearTimeout(d),!("status"in l))throw new Error(`Request timed out after ${c} seconds. ${Loe(i)?"You can update the timeoutInSeconds option to increase the timeout.":"You're using a public IPFS gateway, pass in a clientId or secretKey for a reliable IPFS gateway."}`);return l.ok?l:l.status===429?(WOt(i,l),this.download(e,n,a,r+1)):l.status===410?(console.error(`Request to ${i} failed because this content seems to be blocklisted. Search VirusTotal for this URL to confirm: ${i} `),l):(console.warn(`Request to ${i} failed with status ${l.status} - ${l.statusText}`),l.status===404&&Loe(i)||l.status!==408&&l.status!==429&&l.status<500?l:this.download(e,n,a,r+1))}},zoe=new Map;Foe=new Map;Woe=class{constructor(e){this.uploadWithGatewayUrl=e?.uploadWithGatewayUrl||!1,this.uploadServerUrl=e?.uploadServerUrl||BOt,this.clientId=e?.clientId,this.secretKey=e?.secretKey}async uploadBatch(e,n){if(n?.uploadWithoutDirectory&&e.length>1)throw new Error("[UPLOAD_WITHOUT_DIRECTORY_ERROR] Cannot upload more than one file or object without directory!");let a=new Eje.default,{form:r,fileNames:f}=this.buildFormData(a,e,n);return j7()?this.uploadBatchBrowser(r,f,n):this.uploadBatchNode(r,f,n)}buildFormData(e,n,a){let r=new Map,f=[];for(let s=0;s-1&&(h=o.name.substring(y))}c=`${s+a.rewriteFileNames.fileStartNumber}${h}`}else c=`${o.name}`;else VW(o)?(d=o.data,a?.rewriteFileNames?c=`${s+a.rewriteFileNames.fileStartNumber}`:c=`${o.name}`):a?.rewriteFileNames?c=`${s+a.rewriteFileNames.fileStartNumber}`:c=`${s}`;let l=a?.uploadWithoutDirectory?"files":`files/${c}`;if(r.has(c)){if(NOt(r.get(c),o)){f.push(c);continue}throw new Error(`[DUPLICATE_FILE_NAME_ERROR] File name ${c} was passed for more than one different file.`)}r.set(c,o),f.push(c),j7()?e.append("file",new Blob([d]),l):e.append("file",d,{filepath:l})}let i={name:"Storage SDK",keyvalues:{...a?.metadata}};return e.append("pinataMetadata",JSON.stringify(i)),a?.uploadWithoutDirectory&&e.append("pinataOptions",JSON.stringify({wrapWithDirectory:!1})),{form:e,fileNames:f.map(s=>encodeURIComponent(s))}}async uploadBatchBrowser(e,n,a){return new Promise((r,f)=>{let i=new XMLHttpRequest,s=setTimeout(()=>{i.abort(),f(new Error("Request to upload timed out! No upload progress received in 30s"))},3e4);i.upload.addEventListener("loadstart",()=>{console.log(`[${Date.now()}] [IPFS] Started`)}),i.upload.addEventListener("progress",o=>{console.log(`[IPFS] Progress Event ${o.loaded}/${o.total}`),clearTimeout(s),o.loaded{i.abort(),f(new Error("Request to upload timed out! No upload progress received in 30s"))},3e4):console.log(`[${Date.now()}] [IPFS] Uploaded files. Waiting for response.`),o.lengthComputable&&a?.onProgress&&a?.onProgress({progress:o.loaded,total:o.total})}),i.addEventListener("load",()=>{if(console.log(`[${Date.now()}] [IPFS] Load`),clearTimeout(s),i.status>=200&&i.status<300){let o;try{o=JSON.parse(i.responseText)}catch{return f(new Error("Failed to parse JSON from upload response"))}let c=o.IpfsHash;if(!c)throw new Error("Failed to get IPFS hash from upload response");return a?.uploadWithoutDirectory?r([`ipfs://${c}`]):r(n.map(d=>`ipfs://${c}/${d}`))}return f(new Error(`Upload failed with status ${i.status} - ${i.responseText}`))}),i.addEventListener("error",()=>(console.log("[IPFS] Load"),clearTimeout(s),i.readyState!==0&&i.readyState!==4||i.status===0?f(new Error("Upload failed due to a network error.")):f(new Error("Unknown upload error occured")))),i.open("POST",`${this.uploadServerUrl}/ipfs/upload`),this.secretKey?i.setRequestHeader("x-secret-key",this.secretKey):this.clientId&&i.setRequestHeader("x-client-id",this.clientId),HOt(i),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&i.setRequestHeader("authorization",`Bearer ${globalThis.TW_AUTH_TOKEN}`),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(i.setRequestHeader("authorization",`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`),i.setRequestHeader("x-authorize-wallet","true")),i.send(e)})}async uploadBatchNode(e,n,a){a?.onProgress&&console.warn("The onProgress option is only supported in the browser");let r={};this.secretKey?r["x-secret-key"]=this.secretKey:this.clientId&&(r["x-client-id"]=this.clientId),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(r.authorization=`Bearer ${globalThis.TW_AUTH_TOKEN}`),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(r.authorization=`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`,r["x-authorize-wallet"]="true"),Aje(r);let f=await fetch(`${this.uploadServerUrl}/ipfs/upload`,{method:"POST",headers:{...r,...e.getHeaders()},body:e.getBuffer()});if(!f.ok)throw f.status===401?new Error("Unauthorized - You don't have permission to use this service."):new Error(`Failed to upload files to IPFS - ${f.status} - ${f.statusText} - ${await f.text()}`);let s=(await f.json()).IpfsHash;if(!s)throw new Error("Failed to upload files to IPFS - Bad CID");return a?.uploadWithoutDirectory?[`ipfs://${s}`]:n.map(o=>`ipfs://${s}/${o}`)}},_b=class{constructor(e){this.uploader=e?.uploader||new Woe({clientId:e?.clientId,secretKey:e?.secretKey,uploadServerUrl:e?.uploadServerUrl}),this.downloader=e?.downloader||new Hoe({secretKey:e?.secretKey,clientId:e?.clientId}),this.gatewayUrls=LOt(DOt(e?.gatewayUrls),e?.clientId,e?.secretKey),this.clientId=e?.clientId}resolveScheme(e){return joe(e,this.gatewayUrls,0,this.clientId)}async download(e,n){return this.downloader.download(e,this.gatewayUrls,n)}async downloadJSON(e,n){let r=await(await this.download(e,n)).json();return YW(r,this.gatewayUrls,this.clientId)}async upload(e,n){let[a]=await this.uploadBatch([e],n);return a}async uploadBatch(e,n){if(e=e.filter(f=>f!==void 0),!e.length)return[];let a=e.map(f=>Ab(f)||typeof f=="string").every(f=>!!f),r=[];if(a)r=await this.uploader.uploadBatch(e,n);else{let f=(await this.uploadAndReplaceFilesWithHashes(e,n)).map(i=>typeof i=="string"?i:JSON.stringify(i));r=await this.uploader.uploadBatch(f,n)}return n?.uploadWithGatewayUrl||this.uploader.uploadWithGatewayUrl?r.map(f=>this.resolveScheme(f)):r}getGatewayUrls(){return this.gatewayUrls}async uploadAndReplaceFilesWithHashes(e,n){let a=e;a=Noe(a,this.gatewayUrls);let r=Ooe(a);if(r.length){let f=await this.uploader.uploadBatch(r,n);a=Uoe(a,f)}return(n?.uploadWithGatewayUrl||this.uploader.uploadWithGatewayUrl)&&(a=YW(a,this.gatewayUrls,this.clientId)),a}}});var Ije=D(Cje=>{"use strict";u();p();Object.defineProperty(Cje,"__esModule",{value:!0})});var Sje=D(kje=>{"use strict";u();p();Object.defineProperty(kje,"__esModule",{value:!0})});var Lje=D(V5=>{"use strict";u();p();Object.defineProperty(V5,"__esModule",{value:!0});V5.MessageReceiptStatus=V5.MessageDirection=V5.MessageStatus=V5.L2ChainID=V5.L1ChainID=void 0;var Rje;(function(t){t[t.MAINNET=1]="MAINNET",t[t.GOERLI=5]="GOERLI",t[t.SEPOLIA=11155111]="SEPOLIA",t[t.HARDHAT_LOCAL=31337]="HARDHAT_LOCAL",t[t.BEDROCK_LOCAL_DEVNET=900]="BEDROCK_LOCAL_DEVNET"})(Rje||(V5.L1ChainID=Rje={}));var Mje;(function(t){t[t.OPTIMISM=10]="OPTIMISM",t[t.OPTIMISM_GOERLI=420]="OPTIMISM_GOERLI",t[t.OPTIMISM_SEPOLIA=11155420]="OPTIMISM_SEPOLIA",t[t.OPTIMISM_HARDHAT_LOCAL=31337]="OPTIMISM_HARDHAT_LOCAL",t[t.OPTIMISM_HARDHAT_DEVNET=17]="OPTIMISM_HARDHAT_DEVNET",t[t.OPTIMISM_BEDROCK_ALPHA_TESTNET=28528]="OPTIMISM_BEDROCK_ALPHA_TESTNET",t[t.BASE_GOERLI=84531]="BASE_GOERLI",t[t.BASE_SEPOLIA=84532]="BASE_SEPOLIA",t[t.BASE_MAINNET=8453]="BASE_MAINNET",t[t.ZORA_GOERLI=999]="ZORA_GOERLI",t[t.ZORA_MAINNET=7777777]="ZORA_MAINNET",t[t.MODE_SEPOLIA=919]="MODE_SEPOLIA",t[t.MODE_MAINNET=34443]="MODE_MAINNET"})(Mje||(V5.L2ChainID=Mje={}));var Bje;(function(t){t[t.UNCONFIRMED_L1_TO_L2_MESSAGE=0]="UNCONFIRMED_L1_TO_L2_MESSAGE",t[t.FAILED_L1_TO_L2_MESSAGE=1]="FAILED_L1_TO_L2_MESSAGE",t[t.STATE_ROOT_NOT_PUBLISHED=2]="STATE_ROOT_NOT_PUBLISHED",t[t.READY_TO_PROVE=3]="READY_TO_PROVE",t[t.IN_CHALLENGE_PERIOD=4]="IN_CHALLENGE_PERIOD",t[t.READY_FOR_RELAY=5]="READY_FOR_RELAY",t[t.RELAYED=6]="RELAYED"})(Bje||(V5.MessageStatus=Bje={}));var Dje;(function(t){t[t.L1_TO_L2=0]="L1_TO_L2",t[t.L2_TO_L1=1]="L2_TO_L1"})(Dje||(V5.MessageDirection=Dje={}));var Pje;(function(t){t[t.RELAYED_FAILED=0]="RELAYED_FAILED",t[t.RELAYED_SUCCEEDED=1]="RELAYED_SUCCEEDED"})(Pje||(V5.MessageReceiptStatus=Pje={}))});var wx=D(z8=>{"use strict";u();p();var qOt=z8&&z8.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Koe=z8&&z8.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&qOt(e,t,n)};Object.defineProperty(z8,"__esModule",{value:!0});Koe(Ije(),z8);Koe(Sje(),z8);Koe(Lje(),z8)});var Qoe=D($W=>{"use strict";u();p();Object.defineProperty($W,"__esModule",{value:!0});$W.assert=void 0;var jOt=(t,e)=>{if(!t)throw new Error(e)};$W.assert=jOt});var Yoe=D(_s=>{"use strict";u();p();Object.defineProperty(_s,"__esModule",{value:!0});_s.toAddress=_s.toNumber=_s.toBigNumber=_s.toTransactionHash=_s.toJsonRpcProvider=_s.toProvider=_s.toSignerOrProvider=void 0;var Fje=E3(),GOt=r8(),Cb=Xe(),Voe=Qoe(),KOt=t=>{if(typeof t=="string")return new Cb.ethers.providers.JsonRpcProvider(t);if(Fje.Provider.isProvider(t))return t;if(GOt.Signer.isSigner(t))return t;throw new Error("Invalid provider")};_s.toSignerOrProvider=KOt;var QOt=t=>{if(typeof t=="string")return new Cb.ethers.providers.JsonRpcProvider(t);if(Fje.Provider.isProvider(t))return t;throw new Error("Invalid provider")};_s.toProvider=QOt;var VOt=t=>{let e=(0,_s.toProvider)(t);if("send"in e)return e;throw new Error('Invalid JsonRpcProvider, does not have "send" function')};_s.toJsonRpcProvider=VOt;var YOt=t=>{if(typeof t=="string")return(0,Voe.assert)(Cb.ethers.utils.isHexString(t,32),"Invalid transaction hash"),t;if(t.transactionHash)return t.transactionHash;if(t.hash)return t.hash;throw new Error("Invalid transaction")};_s.toTransactionHash=YOt;var $Ot=t=>Cb.ethers.BigNumber.from(t);_s.toBigNumber=$Ot;var JOt=t=>(0,_s.toBigNumber)(t).toNumber();_s.toNumber=JOt;var XOt=t=>typeof t=="string"?((0,Voe.assert)(Cb.ethers.utils.isAddress(t),"Invalid address"),Cb.ethers.utils.getAddress(t)):((0,Voe.assert)(Cb.ethers.utils.isAddress(t.address),"Invalid address"),Cb.ethers.utils.getAddress(t.address));_s.toAddress=XOt});var Nje=D((D1a,ZOt)=>{ZOt.exports={_format:"hh-sol-artifact-1",contractName:"iL1ChugSplashDeployer",sourceName:"contracts/chugsplash/interfaces/iL1ChugSplashDeployer.sol",abi:[{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Oje=D((P1a,eUt)=>{eUt.exports={_format:"hh-sol-artifact-1",contractName:"L1ChugSplashProxy",sourceName:"contracts/chugsplash/L1ChugSplashProxy.sol",abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"},{inputs:[],name:"getImplementation",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"setCode",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_key",type:"bytes32"},{internalType:"bytes32",name:"_value",type:"bytes32"}],name:"setStorage",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b50604051610a5d380380610a5d83398101604081905261002f9161005d565b610057817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b5061008d565b60006020828403121561006f57600080fd5b81516001600160a01b038116811461008657600080fd5b9392505050565b6109c18061009c6000396000f3fe60806040526004361061005a5760003560e01c8063893d20e811610043578063893d20e8146100a45780639b0b0fda146100e2578063aaf10f42146101025761005a565b806313af4035146100645780636c5d4ad014610084575b610062610117565b005b34801561007057600080fd5b5061006261007f366004610792565b6103ba565b34801561009057600080fd5b5061006261009f3660046107fe565b61044b565b3480156100b057600080fd5b506100b9610601565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100ee57600080fd5b506100626100fd3660046108cd565b610698565b34801561010e57600080fd5b506100b9610706565b60006101417fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fb7947262000000000000000000000000000000000000000000000000000000001790529051919250600091829173ffffffffffffffffffffffffffffffffffffffff8516916101c3919061092a565b600060405180830381855afa9150503d80600081146101fe576040519150601f19603f3d011682016040523d82523d6000602084013e610203565b606091505b5091509150818015610216575080516020145b156102c8576000818060200190518101906102319190610936565b905080156102c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c314368756753706c61736850726f78793a2073797374656d2069732063757260448201527f72656e746c79206265696e67207570677261646564000000000000000000000060648201526084015b60405180910390fd5b505b60006102f27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905073ffffffffffffffffffffffffffffffffffffffff8116610397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4c314368756753706c61736850726f78793a20696d706c656d656e746174696f60448201527f6e206973206e6f7420736574207965740000000000000000000000000000000060648201526084016102bd565b3660008037600080366000845af43d6000803e806103b4573d6000fd5b503d6000f35b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610413575033155b1561044357610440817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b50565b610440610117565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806104a4575033155b156104435760006104d37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b9050803f8251602084012014156104e8575050565b60405160009061051e907f600d380380600d6000396000f30000000000000000000000000000000000000090859060200161094f565b604051602081830303815290604052905060008151602083016000f084516020860120909150813f146105d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f4c314368756753706c61736850726f78793a20636f646520776173206e6f742060448201527f636f72726563746c79206465706c6f7965642e0000000000000000000000000060648201526084016102bd565b6105fb817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b50505050565b600061062b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610662575033155b1561068d57507fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610695610117565b90565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806106f1575033155b156106fa579055565b610702610117565b5050565b60006107307fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610767575033155b1561068d57507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6000602082840312156107a457600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146107c857600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561081057600080fd5b813567ffffffffffffffff8082111561082857600080fd5b818401915084601f83011261083c57600080fd5b81358181111561084e5761084e6107cf565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610894576108946107cf565b816040528281528760208487010111156108ad57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080604083850312156108e057600080fd5b50508035926020909101359150565b6000815160005b8181101561091057602081850181015186830152016108f6565b8181111561091f576000828601525b509290920192915050565b60006107c882846108ef565b60006020828403121561094857600080fd5b5051919050565b7fffffffffffffffffffffffffff00000000000000000000000000000000000000831681526000610983600d8301846108ef565b94935050505056fea2646970667358221220aea34fd8cdcf3a9cced029d5f7b1e628f42ad1514501878e0040df2afddb6e7164736f6c63430008090033",deployedBytecode:"0x60806040526004361061005a5760003560e01c8063893d20e811610043578063893d20e8146100a45780639b0b0fda146100e2578063aaf10f42146101025761005a565b806313af4035146100645780636c5d4ad014610084575b610062610117565b005b34801561007057600080fd5b5061006261007f366004610792565b6103ba565b34801561009057600080fd5b5061006261009f3660046107fe565b61044b565b3480156100b057600080fd5b506100b9610601565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100ee57600080fd5b506100626100fd3660046108cd565b610698565b34801561010e57600080fd5b506100b9610706565b60006101417fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fb7947262000000000000000000000000000000000000000000000000000000001790529051919250600091829173ffffffffffffffffffffffffffffffffffffffff8516916101c3919061092a565b600060405180830381855afa9150503d80600081146101fe576040519150601f19603f3d011682016040523d82523d6000602084013e610203565b606091505b5091509150818015610216575080516020145b156102c8576000818060200190518101906102319190610936565b905080156102c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c314368756753706c61736850726f78793a2073797374656d2069732063757260448201527f72656e746c79206265696e67207570677261646564000000000000000000000060648201526084015b60405180910390fd5b505b60006102f27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905073ffffffffffffffffffffffffffffffffffffffff8116610397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4c314368756753706c61736850726f78793a20696d706c656d656e746174696f60448201527f6e206973206e6f7420736574207965740000000000000000000000000000000060648201526084016102bd565b3660008037600080366000845af43d6000803e806103b4573d6000fd5b503d6000f35b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610413575033155b1561044357610440817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b50565b610440610117565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806104a4575033155b156104435760006104d37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b9050803f8251602084012014156104e8575050565b60405160009061051e907f600d380380600d6000396000f30000000000000000000000000000000000000090859060200161094f565b604051602081830303815290604052905060008151602083016000f084516020860120909150813f146105d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f4c314368756753706c61736850726f78793a20636f646520776173206e6f742060448201527f636f72726563746c79206465706c6f7965642e0000000000000000000000000060648201526084016102bd565b6105fb817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b50505050565b600061062b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610662575033155b1561068d57507fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610695610117565b90565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806106f1575033155b156106fa579055565b610702610117565b5050565b60006107307fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610767575033155b1561068d57507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6000602082840312156107a457600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146107c857600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561081057600080fd5b813567ffffffffffffffff8082111561082857600080fd5b818401915084601f83011261083c57600080fd5b81358181111561084e5761084e6107cf565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610894576108946107cf565b816040528281528760208487010111156108ad57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080604083850312156108e057600080fd5b50508035926020909101359150565b6000815160005b8181101561091057602081850181015186830152016108f6565b8181111561091f576000828601525b509290920192915050565b60006107c882846108ef565b60006020828403121561094857600080fd5b5051919050565b7fffffffffffffffffffffffffff00000000000000000000000000000000000000831681526000610983600d8301846108ef565b94935050505056fea2646970667358221220aea34fd8cdcf3a9cced029d5f7b1e628f42ad1514501878e0040df2afddb6e7164736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Uje=D((L1a,tUt)=>{tUt.exports={_format:"hh-sol-artifact-1",contractName:"AddressDictator",sourceName:"contracts/L1/deployment/AddressDictator.sol",abi:[{inputs:[{internalType:"contract Lib_AddressManager",name:"_manager",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"string[]",name:"_names",type:"string[]"},{internalType:"address[]",name:"_addresses",type:"address[]"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNamedAddresses",outputs:[{components:[{internalType:"string",name:"name",type:"string"},{internalType:"address",name:"addr",type:"address"}],internalType:"struct AddressDictator.NamedAddress[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"manager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"setAddresses",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b5060405162000d5e38038062000d5e83398101604081905262000034916200037a565b600080546001600160a01b038087166001600160a01b03199283161790925560018054928616929091169190911790558051825114620000ee5760405162461bcd60e51b815260206004820152604560248201527f416464726573734469637461746f723a204d7573742070726f7669646520616e60448201527f20657175616c206e756d626572206f66206e616d657320616e6420616464726560648201526439b9b2b99760d91b608482015260a40160405180910390fd5b60005b8251811015620001c357600260405180604001604052808584815181106200011d576200011d62000505565b602002602001015181526020018484815181106200013f576200013f62000505565b6020908102919091018101516001600160a01b0316909152825460018101845560009384529281902082518051939460020290910192620001849284920190620001ce565b5060209190910151600190910180546001600160a01b0319166001600160a01b0390921691909117905580620001ba816200051b565b915050620000f1565b505050505062000582565b828054620001dc9062000545565b90600052602060002090601f0160209004810192826200020057600085556200024b565b82601f106200021b57805160ff19168380011785556200024b565b828001600101855582156200024b579182015b828111156200024b5782518255916020019190600101906200022e565b50620002599291506200025d565b5090565b5b808211156200025957600081556001016200025e565b6001600160a01b03811681146200028a57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620002ce57620002ce6200028d565b604052919050565b60006001600160401b03821115620002f257620002f26200028d565b5060051b60200190565b600082601f8301126200030e57600080fd5b81516020620003276200032183620002d6565b620002a3565b82815260059290921b840181019181810190868411156200034757600080fd5b8286015b848110156200036f578051620003618162000274565b83529183019183016200034b565b509695505050505050565b600080600080608085870312156200039157600080fd5b84516200039e8162000274565b80945050602080860151620003b38162000274565b60408701519094506001600160401b0380821115620003d157600080fd5b818801915088601f830112620003e657600080fd5b8151620003f76200032182620002d6565b81815260059190911b8301840190848101908b8311156200041757600080fd5b8585015b83811015620004ce57805185811115620004355760008081fd5b8601603f81018e13620004485760008081fd5b87810151868111156200045f576200045f6200028d565b62000473601f8201601f19168a01620002a3565b8181528f60408385010111156200048a5760008081fd5b60005b82811015620004ab57838101604001518282018c01528a016200048d565b82811115620004bd5760008b84840101525b50855250509186019186016200041b565b5060608b01519097509450505080831115620004e957600080fd5b5050620004f987828801620002fc565b91505092959194509250565b634e487b7160e01b600052603260045260246000fd5b60006000198214156200053e57634e487b7160e01b600052601160045260246000fd5b5060010190565b600181811c908216806200055a57607f821691505b602082108114156200057c57634e487b7160e01b600052602260045260246000fd5b50919050565b6107cc80620005926000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80633ccad6fc116100505780633ccad6fc146100c0578063481c6a75146100d5578063bc3a429b146100f557600080fd5b806317ad94ec1461006c578063297d1a34146100b6575b600080fd5b60015461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100be6100fd565b005b6100c8610232565b6040516100ad91906104af565b60005461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b6100be610343565b60015473ffffffffffffffffffffffffffffffffffffffff1633146101a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f416464726573734469637461746f723a206f6e6c792063616c6c61626c65206260448201527f792066696e616c4f776e65720000000000000000000000000000000000000000606482015260840160405180910390fd5b6000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024015b600060405180830381600087803b15801561021857600080fd5b505af115801561022c573d6000803e3d6000fd5b50505050565b60606002805480602002602001604051908101604052809291908181526020016000905b8282101561033a5783829060005260206000209060020201604051806040016040529081600082018054610289906105ae565b80601f01602080910402602001604051908101604052809291908181526020018280546102b5906105ae565b80156103025780601f106102d757610100808354040283529160200191610302565b820191906000526020600020905b8154815290600101906020018083116102e557829003601f168201915b505050918352505060019182015473ffffffffffffffffffffffffffffffffffffffff16602091820152918352929092019101610256565b50505050905090565b60005b600254811015610454576000546002805473ffffffffffffffffffffffffffffffffffffffff90921691639b2ea4bd91908490811061038757610387610602565b9060005260206000209060020201600001600284815481106103ab576103ab610602565b60009182526020909120600160029092020101546040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815261040f929173ffffffffffffffffffffffffffffffffffffffff1690600401610631565b600060405180830381600087803b15801561042957600080fd5b505af115801561043d573d6000803e3d6000fd5b50505050808061044c90610736565b915050610346565b506000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024016101fe565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561059f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08a8503018652825180518886528051808a880152845b81811015610532578281018c0151888201606001528b01610516565b8181111561054357856060838a0101525b50918a015173ffffffffffffffffffffffffffffffffffffffff16868b01525095880195601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690930160600192918701916001016104d7565b50919998505050505050505050565b600181811c908216806105c257607f821691505b602082108114156105fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60408152600080845481600182811c91508083168061065157607f831692505b602080841082141561068a577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b60408801849052606088018280156106a957600181146106d857610703565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00871682528282019750610703565b60008c81526020902060005b878110156106fd578154848201529086019084016106e4565b83019850505b50508596506107298189018a73ffffffffffffffffffffffffffffffffffffffff169052565b5050505050509392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561078f577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea26469706673582212207993fbd341ec4f9e20c9ca42c43294b14f2a103fa8da10fc05d197e3abc8766164736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100675760003560e01c80633ccad6fc116100505780633ccad6fc146100c0578063481c6a75146100d5578063bc3a429b146100f557600080fd5b806317ad94ec1461006c578063297d1a34146100b6575b600080fd5b60015461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100be6100fd565b005b6100c8610232565b6040516100ad91906104af565b60005461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b6100be610343565b60015473ffffffffffffffffffffffffffffffffffffffff1633146101a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f416464726573734469637461746f723a206f6e6c792063616c6c61626c65206260448201527f792066696e616c4f776e65720000000000000000000000000000000000000000606482015260840160405180910390fd5b6000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024015b600060405180830381600087803b15801561021857600080fd5b505af115801561022c573d6000803e3d6000fd5b50505050565b60606002805480602002602001604051908101604052809291908181526020016000905b8282101561033a5783829060005260206000209060020201604051806040016040529081600082018054610289906105ae565b80601f01602080910402602001604051908101604052809291908181526020018280546102b5906105ae565b80156103025780601f106102d757610100808354040283529160200191610302565b820191906000526020600020905b8154815290600101906020018083116102e557829003601f168201915b505050918352505060019182015473ffffffffffffffffffffffffffffffffffffffff16602091820152918352929092019101610256565b50505050905090565b60005b600254811015610454576000546002805473ffffffffffffffffffffffffffffffffffffffff90921691639b2ea4bd91908490811061038757610387610602565b9060005260206000209060020201600001600284815481106103ab576103ab610602565b60009182526020909120600160029092020101546040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815261040f929173ffffffffffffffffffffffffffffffffffffffff1690600401610631565b600060405180830381600087803b15801561042957600080fd5b505af115801561043d573d6000803e3d6000fd5b50505050808061044c90610736565b915050610346565b506000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024016101fe565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561059f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08a8503018652825180518886528051808a880152845b81811015610532578281018c0151888201606001528b01610516565b8181111561054357856060838a0101525b50918a015173ffffffffffffffffffffffffffffffffffffffff16868b01525095880195601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690930160600192918701916001016104d7565b50919998505050505050505050565b600181811c908216806105c257607f821691505b602082108114156105fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60408152600080845481600182811c91508083168061065157607f831692505b602080841082141561068a577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b60408801849052606088018280156106a957600181146106d857610703565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00871682528282019750610703565b60008c81526020902060005b878110156106fd578154848201529086019084016106e4565b83019850505b50508596506107298189018a73ffffffffffffffffffffffffffffffffffffffff169052565b5050505050509392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561078f577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea26469706673582212207993fbd341ec4f9e20c9ca42c43294b14f2a103fa8da10fc05d197e3abc8766164736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Hje=D((F1a,nUt)=>{nUt.exports={_format:"hh-sol-artifact-1",contractName:"ChugSplashDictator",sourceName:"contracts/L1/deployment/ChugSplashDictator.sol",abi:[{inputs:[{internalType:"contract L1ChugSplashProxy",name:"_target",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"bytes32",name:"_codeHash",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotVal",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotVal",type:"bytes32"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"bridgeSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"bridgeSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"codeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"doActions",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"target",outputs:[{internalType:"contract L1ChugSplashProxy",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x60806040526000805460ff1916600117905534801561001d57600080fd5b5060405161088338038061088383398101604081905261003c916100a8565b60008054610100600160a81b0319166101006001600160a01b03998a1602179055600180546001600160a01b031916969097169590951790955560029290925560035560045560059190915560065561010f565b6001600160a01b03811681146100a557600080fd5b50565b600080600080600080600060e0888a0312156100c357600080fd5b87516100ce81610090565b60208901519097506100df81610090565b604089015160608a015160808b015160a08c015160c0909c01519a9d939c50919a90999198509650945092505050565b6107658061011e6000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c8063708518de11610076578063a3b2d8a51161005b578063a3b2d8a51461015c578063b794726214610165578063d4b839921461018257600080fd5b8063708518de1461014a578063907023dd1461015357600080fd5b806318edaaf2116100a757806318edaaf214610122578063297d1a34146101395780635307023b1461014157600080fd5b80630bf56f21146100c357806317ad94ec146100d8575b600080fd5b6100d66100d13660046105ed565b6101a7565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61012b60025481565b604051908152602001610119565b6100d6610489565b61012b60045481565b61012b60035481565b61012b60065481565b61012b60055481565b6000546101729060ff1681565b6040519015158152602001610119565b6000546100f890610100900473ffffffffffffffffffffffffffffffffffffffff1681565b6002548151602083012014610243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4368756753706c6173684469637461746f723a20496e636f727265637420636f60448201527f646520686173682e00000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000546040517f6c5d4ad000000000000000000000000000000000000000000000000000000000815261010090910473ffffffffffffffffffffffffffffffffffffffff1690636c5d4ad09061029d9084906004016106bc565b600060405180830381600087803b1580156102b757600080fd5b505af11580156102cb573d6000803e3d6000fd5b5050600054600354600480546040517f9b0b0fda00000000000000000000000000000000000000000000000000000000815291820192909252602481019190915261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b15801561034e57600080fd5b505af1158015610362573d6000803e3d6000fd5b50506000546005546006546040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081526004810192909252602482015261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b1580156103e257600080fd5b505af11580156103f6573d6000803e3d6000fd5b50506000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526101009092041692506313af40359150602401600060405180830381600087803b15801561046e57600080fd5b505af1158015610482573d6000803e3d6000fd5b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4368756753706c6173684469637461746f723a206f6e6c792063616c6c61626c60448201527f652062792066696e616c4f776e65720000000000000000000000000000000000606482015260840161023a565b6000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015261010090920416906313af403590602401600060405180830381600087803b1580156105a457600080fd5b505af11580156105b8573d6000803e3d6000fd5b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156105ff57600080fd5b813567ffffffffffffffff8082111561061757600080fd5b818401915084601f83011261062b57600080fd5b81358181111561063d5761063d6105be565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610683576106836105be565b8160405282815287602084870101111561069c57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b818110156106e9578581018301518582016040015282016106cd565b818111156106fb576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea2646970667358221220d6996ebde67a73563bf52d2b5545adec064534b2fcd91ec70e83fc1ef951152464736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100be5760003560e01c8063708518de11610076578063a3b2d8a51161005b578063a3b2d8a51461015c578063b794726214610165578063d4b839921461018257600080fd5b8063708518de1461014a578063907023dd1461015357600080fd5b806318edaaf2116100a757806318edaaf214610122578063297d1a34146101395780635307023b1461014157600080fd5b80630bf56f21146100c357806317ad94ec146100d8575b600080fd5b6100d66100d13660046105ed565b6101a7565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61012b60025481565b604051908152602001610119565b6100d6610489565b61012b60045481565b61012b60035481565b61012b60065481565b61012b60055481565b6000546101729060ff1681565b6040519015158152602001610119565b6000546100f890610100900473ffffffffffffffffffffffffffffffffffffffff1681565b6002548151602083012014610243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4368756753706c6173684469637461746f723a20496e636f727265637420636f60448201527f646520686173682e00000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000546040517f6c5d4ad000000000000000000000000000000000000000000000000000000000815261010090910473ffffffffffffffffffffffffffffffffffffffff1690636c5d4ad09061029d9084906004016106bc565b600060405180830381600087803b1580156102b757600080fd5b505af11580156102cb573d6000803e3d6000fd5b5050600054600354600480546040517f9b0b0fda00000000000000000000000000000000000000000000000000000000815291820192909252602481019190915261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b15801561034e57600080fd5b505af1158015610362573d6000803e3d6000fd5b50506000546005546006546040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081526004810192909252602482015261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b1580156103e257600080fd5b505af11580156103f6573d6000803e3d6000fd5b50506000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526101009092041692506313af40359150602401600060405180830381600087803b15801561046e57600080fd5b505af1158015610482573d6000803e3d6000fd5b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4368756753706c6173684469637461746f723a206f6e6c792063616c6c61626c60448201527f652062792066696e616c4f776e65720000000000000000000000000000000000606482015260840161023a565b6000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015261010090920416906313af403590602401600060405180830381600087803b1580156105a457600080fd5b505af11580156105b8573d6000803e3d6000fd5b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156105ff57600080fd5b813567ffffffffffffffff8082111561061757600080fd5b818401915084601f83011261062b57600080fd5b81358181111561063d5761063d6105be565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610683576106836105be565b8160405282815287602084870101111561069c57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b818110156106e9578581018301518582016040015282016106cd565b818111156106fb576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea2646970667358221220d6996ebde67a73563bf52d2b5545adec064534b2fcd91ec70e83fc1ef951152464736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var zje=D((N1a,aUt)=>{aUt.exports={_format:"hh-sol-artifact-1",contractName:"IL1CrossDomainMessenger",sourceName:"contracts/L1/messaging/IL1CrossDomainMessenger.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Wje=D((O1a,rUt)=>{rUt.exports={_format:"hh-sol-artifact-1",contractName:"IL1ERC20Bridge",sourceName:"contracts/L1/messaging/IL1ERC20Bridge.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var qje=D((U1a,fUt)=>{fUt.exports={_format:"hh-sol-artifact-1",contractName:"IL1StandardBridge",sourceName:"contracts/L1/messaging/IL1StandardBridge.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var jje=D((H1a,iUt)=>{iUt.exports={_format:"hh-sol-artifact-1",contractName:"L1CrossDomainMessenger",sourceName:"contracts/L1/messaging/L1CrossDomainMessenger.sol",abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageAllowed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageBlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"allowMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"blockMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"blockedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405260cc80546001600160a01b03191661dead17905534801561002457600080fd5b50600080546001600160a01b0319169055613865806100446000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c8063715018a6116100b2578063b1b1b20911610081578063c6b94ab011610066578063c6b94ab014610275578063d7fd19dd14610298578063f2fde38b146102ab57600080fd5b8063b1b1b2091461023f578063c4d66de81461026257600080fd5b8063715018a6146101fe57806381ada46c146102065780638456cb59146102195780638da5cb5b1461022157600080fd5b8063461a4478116100ee578063461a4478146101c55780635c975abb146101d85780636e296e45146101e35780636f1c8d47146101eb57600080fd5b80630ecf2eea1461012057806321d800ec14610135578063299ca4781461016d5780633dbb202b146101b2575b600080fd5b61013361012e366004612d2e565b6102be565b005b610158610143366004612d2e565b60ca6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b60005461018d9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610164565b6101336101c0366004612ea6565b610309565b61018d6101d3366004612f06565b610451565b60655460ff16610158565b61018d6104fe565b6101336101f9366004612f57565b61058d565b610133610774565b610133610214366004612d2e565b610788565b6101336107d0565b60335473ffffffffffffffffffffffffffffffffffffffff1661018d565b61015861024d366004612d2e565b60cb6020526000908152604090205460ff1681565b610133610270366004612fe3565b6107e0565b610158610283366004612d2e565b60c96020526000908152604090205460ff1681565b6101336102a6366004613149565b610ab8565b6101336102b9366004612fe3565b610f3c565b6102c6610fd9565b600081815260c96020526040808220805460ff191660011790555182917ff52508d5339edf0d7e5060a416df98db067af561bdc60872d29c0439eaa13a0291a250565b60006103496040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b905060008173ffffffffffffffffffffffffffffffffffffffff1663b8f770056040518163ffffffff1660e01b815260040160206040518083038186803b15801561039357600080fd5b505afa1580156103a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103cb9190613297565b905060006103e28633878564ffffffffff16611040565b90506103f583828663ffffffff166110bb565b8573ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33878588604051610441949392919061330e565b60405180910390a2505050505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906104a8908590600401613361565b60206040518083038186803b1580156104c057600080fd5b505afa1580156104d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f89190613374565b92915050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff1661dead14156105705760405162461bcd60e51b815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b60006105cd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b6040517f2a7f18be0000000000000000000000000000000000000000000000000000000081526004810186905290915060009073ffffffffffffffffffffffffffffffffffffffff831690632a7f18be9060240160606040518083038186803b15801561063957600080fd5b505afa15801561064d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106719190613391565b9050600061068189898989611040565b90506000731111000000000000000000000000000000001111300173420000000000000000000000000000000000000787846040516020016106c694939291906133f6565b604051602081830303815290604052805190602001209050826000015181146107575760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520686173206e6f74206265656e20656e60448201527f7175657565642e000000000000000000000000000000000000000000000000006064820152608401610567565b61076884838763ffffffff166110bb565b50505050505050505050565b61077c610fd9565b610786600061115c565b565b610790610fd9565b600081815260c96020526040808220805460ff191690555182917f52c8a2680a9f4cc0ad0bf88f32096eadbebf0646ea611d93a0ce6a29a024040591a250565b6107d8610fd9565b6107866111d3565b6000547501000000000000000000000000000000000000000000900460ff161580801561082b575060005460017401000000000000000000000000000000000000000090910460ff16105b8061085d5750303b15801561085d575060005474010000000000000000000000000000000000000000900460ff166001145b6108cf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610567565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055801561095557600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60005473ffffffffffffffffffffffffffffffffffffffff16156109e15760405162461bcd60e51b815260206004820152602a60248201527f4c3143726f7373446f6d61696e4d657373656e67657220616c7265616479206960448201527f6e7469616c697a65642e000000000000000000000000000000000000000000006064820152608401610567565b6000805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560cc805490911661dead179055610a3961123a565b610a416112cb565b610a49611365565b610a51611402565b8015610ab457600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60026097541415610b0b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610567565b6002609755610b1861149a565b6000610b2686868686611040565b9050610b3281836114ed565b1515600114610ba95760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610567565b8051602080830191909120600081815260cb90925260409091205460ff1615610c3a5760405162461bcd60e51b815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610567565b600081815260c9602052604090205460ff1615610cbf5760405162461bcd60e51b815260206004820152602260248201527f50726f7669646564206d65737361676520686173206265656e20626c6f636b6560448201527f642e0000000000000000000000000000000000000000000000000000000000006064820152608401610567565b610cfd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415610d9e5760405162461bcd60e51b815260206004820152603360248201527f43616e6e6f742073656e64204c322d3e4c31206d6573736167657320746f204c60448201527f312073797374656d20636f6e7472616374732e000000000000000000000000006064820152608401610567565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff88811691909117909155604051600091891690610df790889061343b565b6000604051808303816000865af19150503d8060008114610e34576040519150601f19603f3d011682016040523d82523d6000602084013e610e39565b606091505b505060cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080151560011415610eb957600082815260cb6020526040808220805460ff191660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610ee5565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b6000833343604051602001610efc93929190613457565b60408051601f198184030181529181528151602092830120600090815260ca9092529020805460ff19166001908117909155609755505050505050505050565b610f44610fd9565b73ffffffffffffffffffffffffffffffffffffffff8116610fcd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610567565b610fd68161115c565b50565b60335473ffffffffffffffffffffffffffffffffffffffff1633146107865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610567565b60608484848460405160240161105994939291906134a9565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b6040517f6fee07e000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841690636fee07e0906111259073420000000000000000000000000000000000000790859087906004016134f3565b600060405180830381600087803b15801561113f57600080fd5b505af1158015611153573d6000803e3d6000fd5b50505050505050565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111db61149a565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112103390565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6000547501000000000000000000000000000000000000000000900460ff166107865760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6000547501000000000000000000000000000000000000000000900460ff1661135c5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6107863361115c565b6000547501000000000000000000000000000000000000000000900460ff166113f65760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6065805460ff19169055565b6000547501000000000000000000000000000000000000000000900460ff166114935760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6001609755565b60655460ff16156107865760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610567565b60006114f882611510565b8015611509575061150983836116b2565b9392505050565b6000806115516040518060400160405280601481526020017f5374617465436f6d6d69746d656e74436861696e000000000000000000000000815250610451565b60208401516040517f9418bddd00000000000000000000000000000000000000000000000000000000815291925073ffffffffffffffffffffffffffffffffffffffff831691639418bddd916115a991600401613565565b60206040518083038186803b1580156115c157600080fd5b505afa1580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190613578565b15801561150957508251602084015160408086015190517f4d69ee5700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851693634d69ee579361166293919290919060040161359a565b60206040518083038186803b15801561167a57600080fd5b505afa15801561168e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115099190613578565b600080837342000000000000000000000000000000000000076040516020016116dc929190613612565b60408051601f1981840301815282825280516020918201209083015260009082015260600160408051601f198184030181529082905280516020918201207f4200000000000000000000000000000000000000000000000000000000000000918301919091529150600090819061176c9060340160408051601f1981840301815291905260608701518751611896565b909250905060018215151461180f5760405162461bcd60e51b815260206004820152604d60248201527f4d6573736167652070617373696e67207072656465706c6f7920686173206e6f60448201527f74206265656e20696e697469616c697a6564206f7220696e76616c696420707260648201527f6f6f662070726f76696465642e00000000000000000000000000000000000000608482015260a401610567565b600061181a826118bf565b905061188b8460405160200161183291815260200190565b60408051601f19818403018152908290527f010000000000000000000000000000000000000000000000000000000000000060208301529060210160405160208183030381529060405288608001518460400151611983565b979650505050505050565b6000606060006118a5866119a7565b90506118b28186866119d9565b9250925050935093915050565b6040805160808101825260008082526020820181905291810182905260608101829052906118ec83611ab4565b9050604051806080016040528061191c8360008151811061190f5761190f61365c565b6020026020010151611ae7565b81526020016119378360018151811061190f5761190f61365c565b815260200161195f836002815181106119525761195261365c565b6020026020010151611aee565b815260200161197a836003815181106119525761195261365c565b90529392505050565b60008061198f866119a7565b905061199d81868686611bf0565b9695505050505050565b606081805190602001206040516020016119c391815260200190565b6040516020818303038152906040529050919050565b6000606060006119e885611c26565b905060008060006119fa848a89611d21565b81519295509093509150158080611a0e5750815b611a5a5760405162461bcd60e51b815260206004820152601a60248201527f50726f76696465642070726f6f6620697320696e76616c69642e0000000000006044820152606401610567565b600081611a765760405180602001604052806000815250611aa2565b611aa286611a856001886136ba565b81518110611a9557611a9561365c565b60200260200101516121bc565b919b919a509098505050505050505050565b6040805180820182526000808252602091820152815180830190925282518252808301908201526060906104f8906121e6565b60006104f8825b6000602182600001511115611b455760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000806000611b53856123e5565b919450925090506000816001811115611b6e57611b6e6136d1565b14611bbb5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000838660200151611bcd9190613700565b8051909150602084101561199d5760208490036101000a90049695505050505050565b6000806000611c008786866119d9565b9150915081801561188b575080516020808301919091208751918801919091201461188b565b60606000611c3383611ab4565b90506000815167ffffffffffffffff811115611c5157611c51612d69565b604051908082528060200260200182016040528015611c9657816020015b6040805180820190915260608082526020820152815260200190600190039081611c6f5790505b50905060005b8251811015611d19576000611cc9848381518110611cbc57611cbc61365c565b6020026020010151612736565b90506040518060400160405280828152602001611ce583611ab4565b815250838381518110611cfa57611cfa61365c565b6020026020010181905250508080611d1190613718565b915050611c9c565b509392505050565b60006060818080611d31876127c6565b90506000869050600080611d58604051806040016040528060608152602001606081525090565b60005b8c51811015612178578c8181518110611d7657611d7661365c565b602002602001015191508284611d8c9190613700565b9350611d99600188613700565b965083611dfd57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601160248201527f496e76616c696420726f6f7420686173680000000000000000000000000000006044820152606401610567565b611eba565b815151602011611e5f57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964206c6172676520696e7465726e616c206861736800000000006044820152606401610567565b84611e6d8360000151612949565b14611eba5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420696e7465726e616c206e6f646520686173680000000000006044820152606401610567565b611ec660106001613700565b8260200151511415611f3f578551841415611ee057612178565b6000868581518110611ef457611ef461365c565b602001015160f81c60f81b60f81c9050600083602001518260ff1681518110611f1f57611f1f61365c565b60200260200101519050611f3281612971565b9650600194505050612166565b6002826020015151141561211e576000611f58836129a7565b9050600081600081518110611f6f57611f6f61365c565b016020015160f81c90506000611f86600283613780565b611f919060026137a2565b90506000611fa2848360ff166129cb565b90506000611fb08b8a6129cb565b90506000611fbe8383612a01565b905060ff851660021480611fd5575060ff85166003145b1561202b57808351148015611fea5750808251145b15611ffc57611ff9818b613700565b99505b507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b60ff8516158061203e575060ff85166001145b156120b0578251811461207a57507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b6120a188602001516001815181106120945761209461365c565b6020026020010151612971565b9a509750612166945050505050565b60405162461bcd60e51b815260206004820152602660248201527f52656365697665642061206e6f6465207769746820616e20756e6b6e6f776e2060448201527f70726566697800000000000000000000000000000000000000000000000000006064820152608401610567565b60405162461bcd60e51b815260206004820152601d60248201527f526563656976656420616e20756e706172736561626c65206e6f64652e0000006044820152606401610567565b8061217081613718565b915050611d5b565b507f80000000000000000000000000000000000000000000000000000000000000008414866121a787866129cb565b909e909d50909b509950505050505050505050565b602081015180516060916104f8916121d6906001906136ba565b81518110611cbc57611cbc61365c565b60606000806121f4846123e5565b91935090915060019050816001811115612210576122106136d1565b1461225d5760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c50206c6973742076616c75652e0000000000000000006044820152606401610567565b6040805160208082526104208201909252600091816020015b60408051808201909152600080825260208201528152602001906001900390816122765790505090506000835b86518110156123da57602082106123225760405162461bcd60e51b815260206004820152602a60248201527f50726f766964656420524c50206c6973742065786365656473206d6178206c6960448201527f7374206c656e6774682e000000000000000000000000000000000000000000006064820152608401610567565b60008061235f6040518060400160405280858c6000015161234391906136ba565b8152602001858c602001516123589190613700565b90526123e5565b50915091506040518060400160405280838361237b9190613700565b8152602001848b602001516123909190613700565b8152508585815181106123a5576123a561365c565b60209081029190910101526123bb600185613700565b93506123c78183613700565b6123d19084613700565b925050506122a3565b508152949350505050565b60008060008084600001511161243d5760405162461bcd60e51b815260206004820152601860248201527f524c50206974656d2063616e6e6f74206265206e756c6c2e00000000000000006044820152606401610567565b6020840151805160001a607f811161246257600060016000945094509450505061272f565b60b781116124de5760006124776080836136ba565b9050808760000151116124cc5760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420524c502073686f727420737472696e672e000000000000006044820152606401610567565b6001955093506000925061272f915050565b60bf81116125cd5760006124f360b7836136ba565b9050808760000151116125485760405162461bcd60e51b815260206004820152601f60248201527f496e76616c696420524c50206c6f6e6720737472696e67206c656e6774682e006044820152606401610567565b600183015160208290036101000a90046125628183613700565b8851116125b15760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c50206c6f6e6720737472696e672e00000000000000006044820152606401610567565b6125bc826001613700565b965094506000935061272f92505050565b60f781116126485760006125e260c0836136ba565b9050808760000151116126375760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c502073686f7274206c6973742e0000000000000000006044820152606401610567565b60019550935084925061272f915050565b600061265560f7836136ba565b9050808760000151116126aa5760405162461bcd60e51b815260206004820152601d60248201527f496e76616c696420524c50206c6f6e67206c697374206c656e6774682e0000006044820152606401610567565b600183015160208290036101000a90046126c48183613700565b8851116127135760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420524c50206c6f6e67206c6973742e000000000000000000006044820152606401610567565b61271e826001613700565b965094506001935061272f92505050565b9193909250565b60606000806000612746856123e5565b919450925090506000816001811115612761576127616136d1565b146127ae5760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c502062797465732076616c75652e00000000000000006044820152606401610567565b6127bd85602001518484612aad565b95945050505050565b60606000825160026127d891906137c5565b67ffffffffffffffff8111156127f0576127f0612d69565b6040519080825280601f01601f19166020018201604052801561281a576020820181803683370190505b50905060005b835181101561294257600484828151811061283d5761283d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c826128728360026137c5565b815181106128825761288261365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060108482815181106128c5576128c561365c565b01602001516128d7919060f81c613780565b60f81b826128e68360026137c5565b6128f1906001613700565b815181106129015761290161365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508061293a81613718565b915050612820565b5092915050565b600060208251101561295d57506020015190565b818060200190518101906104f89190613802565b600060606020836000015110156129925761298b83612b8c565b905061299e565b61299b83612736565b90505b61150981612949565b60606104f86129c68360200151600081518110611cbc57611cbc61365c565b6127c6565b6060825182106129ea57506040805160208101909152600081526104f8565b61150983838486516129fc91906136ba565b612b97565b6000805b808451118015612a155750808351115b8015612a965750828181518110612a2e57612a2e61365c565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916848281518110612a6d57612a6d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156115095780612aa581613718565b915050612a05565b606060008267ffffffffffffffff811115612aca57612aca612d69565b6040519080825280601f01601f191660200182016040528015612af4576020820181803683370190505b509050805160001415612b08579050611509565b6000612b148587613700565b90506020820160005b612b2860208761381b565b811015612b5f5782518252612b3e602084613700565b9250612b4b602083613700565b915080612b5781613718565b915050612b1d565b5060006001602087066020036101000a039050808251168119845116178252839450505050509392505050565b60606104f882612d18565b606081612ba581601f613700565b1015612bf35760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b82612bfe8382613700565b1015612c4c5760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b612c568284613700565b84511015612ca65760405162461bcd60e51b815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610567565b606082158015612cc55760405191506000825260208201604052612d0f565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612cfe578051835260209283019201612ce6565b5050858452601f01601f1916604052505b50949350505050565b60606104f8826020015160008460000151612aad565b600060208284031215612d4057600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610fd657600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b60405290565b60405160a0810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b604051601f8201601f1916810167ffffffffffffffff81118282101715612e0d57612e0d612d69565b604052919050565b600067ffffffffffffffff831115612e2f57612e2f612d69565b612e426020601f19601f86011601612de4565b9050828152838383011115612e5657600080fd5b828260208301376000602084830101529392505050565b600082601f830112612e7e57600080fd5b61150983833560208501612e15565b803563ffffffff81168114612ea157600080fd5b919050565b600080600060608486031215612ebb57600080fd5b8335612ec681612d47565b9250602084013567ffffffffffffffff811115612ee257600080fd5b612eee86828701612e6d565b925050612efd60408501612e8d565b90509250925092565b600060208284031215612f1857600080fd5b813567ffffffffffffffff811115612f2f57600080fd5b8201601f81018413612f4057600080fd5b612f4f84823560208401612e15565b949350505050565b60008060008060008060c08789031215612f7057600080fd5b8635612f7b81612d47565b95506020870135612f8b81612d47565b9450604087013567ffffffffffffffff811115612fa757600080fd5b612fb389828a01612e6d565b94505060608701359250612fc960808801612e8d565b9150612fd760a08801612e8d565b90509295509295509295565b600060208284031215612ff557600080fd5b813561150981612d47565b600060a0828403121561301257600080fd5b60405160a0810167ffffffffffffffff828210818311171561303657613036612d69565b8160405282935084358352602085013560208401526040850135604084015260608501356060840152608085013591508082111561307357600080fd5b5061308085828601612e6d565b6080830152505092915050565b60006040828403121561309f57600080fd5b6130a7612d98565b90508135815260208083013567ffffffffffffffff808211156130c957600080fd5b818501915085601f8301126130dd57600080fd5b8135818111156130ef576130ef612d69565b8060051b9150613100848301612de4565b818152918301840191848101908884111561311a57600080fd5b938501935b838510156131385784358252938501939085019061311f565b808688015250505050505092915050565b600080600080600060a0868803121561316157600080fd5b853561316c81612d47565b9450602086013561317c81612d47565b9350604086013567ffffffffffffffff8082111561319957600080fd5b6131a589838a01612e6d565b94506060880135935060808801359150808211156131c257600080fd5b9087019060a0828a0312156131d657600080fd5b6131de612dc1565b823581526020830135828111156131f457600080fd5b6132008b828601613000565b60208301525060408301358281111561321857600080fd5b6132248b82860161308d565b60408301525060608301358281111561323c57600080fd5b6132488b828601612e6d565b60608301525060808301358281111561326057600080fd5b61326c8b828601612e6d565b6080830152508093505050509295509295909350565b805164ffffffffff81168114612ea157600080fd5b6000602082840312156132a957600080fd5b61150982613282565b60005b838110156132cd5781810151838201526020016132b5565b838111156132dc576000848401525b50505050565b600081518084526132fa8160208601602086016132b2565b601f01601f19169290920160200192915050565b73ffffffffffffffffffffffffffffffffffffffff8516815260806020820152600061333d60808301866132e2565b905064ffffffffff8416604083015263ffffffff8316606083015295945050505050565b60208152600061150960208301846132e2565b60006020828403121561338657600080fd5b815161150981612d47565b6000606082840312156133a357600080fd5b6040516060810181811067ffffffffffffffff821117156133c6576133c6612d69565b604052825181526133d960208401613282565b60208201526133ea60408401613282565b60408201529392505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525063ffffffff841660408301526080606083015261199d60808301846132e2565b6000825161344d8184602087016132b2565b9190910192915050565b600084516134698184602089016132b2565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250608060408301526134e260808301856132e2565b905082606083015295945050505050565b73ffffffffffffffffffffffffffffffffffffffff841681528260208201526060604082015260006127bd60608301846132e2565b805182526020810151602083015260408101516040830152606081015160608301526000608082015160a06080850152612f4f60a08501826132e2565b6020815260006115096020830184613528565b60006020828403121561358a57600080fd5b8151801515811461150957600080fd5b838152600060206060818401526135b46060840186613528565b83810360408501526040810185518252828601516040848401528181518084526060850191508583019450600093505b8084101561360457845182529385019360019390930192908501906135e4565b509998505050505050505050565b600083516136248184602088016132b2565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156136cc576136cc61368b565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600082198211156137135761371361368b565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561374a5761374a61368b565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600060ff83168061379357613793613751565b8060ff84160691505092915050565b600060ff821660ff8416808210156137bc576137bc61368b565b90039392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137fd576137fd61368b565b500290565b60006020828403121561381457600080fd5b5051919050565b60008261382a5761382a613751565b50049056fea2646970667358221220c8cd169b919168f911dffe50407de9b3c321b6388069872b5a97be3545f41dca64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b506004361061011b5760003560e01c8063715018a6116100b2578063b1b1b20911610081578063c6b94ab011610066578063c6b94ab014610275578063d7fd19dd14610298578063f2fde38b146102ab57600080fd5b8063b1b1b2091461023f578063c4d66de81461026257600080fd5b8063715018a6146101fe57806381ada46c146102065780638456cb59146102195780638da5cb5b1461022157600080fd5b8063461a4478116100ee578063461a4478146101c55780635c975abb146101d85780636e296e45146101e35780636f1c8d47146101eb57600080fd5b80630ecf2eea1461012057806321d800ec14610135578063299ca4781461016d5780633dbb202b146101b2575b600080fd5b61013361012e366004612d2e565b6102be565b005b610158610143366004612d2e565b60ca6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b60005461018d9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610164565b6101336101c0366004612ea6565b610309565b61018d6101d3366004612f06565b610451565b60655460ff16610158565b61018d6104fe565b6101336101f9366004612f57565b61058d565b610133610774565b610133610214366004612d2e565b610788565b6101336107d0565b60335473ffffffffffffffffffffffffffffffffffffffff1661018d565b61015861024d366004612d2e565b60cb6020526000908152604090205460ff1681565b610133610270366004612fe3565b6107e0565b610158610283366004612d2e565b60c96020526000908152604090205460ff1681565b6101336102a6366004613149565b610ab8565b6101336102b9366004612fe3565b610f3c565b6102c6610fd9565b600081815260c96020526040808220805460ff191660011790555182917ff52508d5339edf0d7e5060a416df98db067af561bdc60872d29c0439eaa13a0291a250565b60006103496040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b905060008173ffffffffffffffffffffffffffffffffffffffff1663b8f770056040518163ffffffff1660e01b815260040160206040518083038186803b15801561039357600080fd5b505afa1580156103a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103cb9190613297565b905060006103e28633878564ffffffffff16611040565b90506103f583828663ffffffff166110bb565b8573ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33878588604051610441949392919061330e565b60405180910390a2505050505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906104a8908590600401613361565b60206040518083038186803b1580156104c057600080fd5b505afa1580156104d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f89190613374565b92915050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff1661dead14156105705760405162461bcd60e51b815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b60006105cd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b6040517f2a7f18be0000000000000000000000000000000000000000000000000000000081526004810186905290915060009073ffffffffffffffffffffffffffffffffffffffff831690632a7f18be9060240160606040518083038186803b15801561063957600080fd5b505afa15801561064d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106719190613391565b9050600061068189898989611040565b90506000731111000000000000000000000000000000001111300173420000000000000000000000000000000000000787846040516020016106c694939291906133f6565b604051602081830303815290604052805190602001209050826000015181146107575760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520686173206e6f74206265656e20656e60448201527f7175657565642e000000000000000000000000000000000000000000000000006064820152608401610567565b61076884838763ffffffff166110bb565b50505050505050505050565b61077c610fd9565b610786600061115c565b565b610790610fd9565b600081815260c96020526040808220805460ff191690555182917f52c8a2680a9f4cc0ad0bf88f32096eadbebf0646ea611d93a0ce6a29a024040591a250565b6107d8610fd9565b6107866111d3565b6000547501000000000000000000000000000000000000000000900460ff161580801561082b575060005460017401000000000000000000000000000000000000000090910460ff16105b8061085d5750303b15801561085d575060005474010000000000000000000000000000000000000000900460ff166001145b6108cf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610567565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055801561095557600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60005473ffffffffffffffffffffffffffffffffffffffff16156109e15760405162461bcd60e51b815260206004820152602a60248201527f4c3143726f7373446f6d61696e4d657373656e67657220616c7265616479206960448201527f6e7469616c697a65642e000000000000000000000000000000000000000000006064820152608401610567565b6000805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560cc805490911661dead179055610a3961123a565b610a416112cb565b610a49611365565b610a51611402565b8015610ab457600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60026097541415610b0b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610567565b6002609755610b1861149a565b6000610b2686868686611040565b9050610b3281836114ed565b1515600114610ba95760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610567565b8051602080830191909120600081815260cb90925260409091205460ff1615610c3a5760405162461bcd60e51b815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610567565b600081815260c9602052604090205460ff1615610cbf5760405162461bcd60e51b815260206004820152602260248201527f50726f7669646564206d65737361676520686173206265656e20626c6f636b6560448201527f642e0000000000000000000000000000000000000000000000000000000000006064820152608401610567565b610cfd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415610d9e5760405162461bcd60e51b815260206004820152603360248201527f43616e6e6f742073656e64204c322d3e4c31206d6573736167657320746f204c60448201527f312073797374656d20636f6e7472616374732e000000000000000000000000006064820152608401610567565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff88811691909117909155604051600091891690610df790889061343b565b6000604051808303816000865af19150503d8060008114610e34576040519150601f19603f3d011682016040523d82523d6000602084013e610e39565b606091505b505060cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080151560011415610eb957600082815260cb6020526040808220805460ff191660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610ee5565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b6000833343604051602001610efc93929190613457565b60408051601f198184030181529181528151602092830120600090815260ca9092529020805460ff19166001908117909155609755505050505050505050565b610f44610fd9565b73ffffffffffffffffffffffffffffffffffffffff8116610fcd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610567565b610fd68161115c565b50565b60335473ffffffffffffffffffffffffffffffffffffffff1633146107865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610567565b60608484848460405160240161105994939291906134a9565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b6040517f6fee07e000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841690636fee07e0906111259073420000000000000000000000000000000000000790859087906004016134f3565b600060405180830381600087803b15801561113f57600080fd5b505af1158015611153573d6000803e3d6000fd5b50505050505050565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111db61149a565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112103390565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6000547501000000000000000000000000000000000000000000900460ff166107865760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6000547501000000000000000000000000000000000000000000900460ff1661135c5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6107863361115c565b6000547501000000000000000000000000000000000000000000900460ff166113f65760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6065805460ff19169055565b6000547501000000000000000000000000000000000000000000900460ff166114935760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6001609755565b60655460ff16156107865760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610567565b60006114f882611510565b8015611509575061150983836116b2565b9392505050565b6000806115516040518060400160405280601481526020017f5374617465436f6d6d69746d656e74436861696e000000000000000000000000815250610451565b60208401516040517f9418bddd00000000000000000000000000000000000000000000000000000000815291925073ffffffffffffffffffffffffffffffffffffffff831691639418bddd916115a991600401613565565b60206040518083038186803b1580156115c157600080fd5b505afa1580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190613578565b15801561150957508251602084015160408086015190517f4d69ee5700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851693634d69ee579361166293919290919060040161359a565b60206040518083038186803b15801561167a57600080fd5b505afa15801561168e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115099190613578565b600080837342000000000000000000000000000000000000076040516020016116dc929190613612565b60408051601f1981840301815282825280516020918201209083015260009082015260600160408051601f198184030181529082905280516020918201207f4200000000000000000000000000000000000000000000000000000000000000918301919091529150600090819061176c9060340160408051601f1981840301815291905260608701518751611896565b909250905060018215151461180f5760405162461bcd60e51b815260206004820152604d60248201527f4d6573736167652070617373696e67207072656465706c6f7920686173206e6f60448201527f74206265656e20696e697469616c697a6564206f7220696e76616c696420707260648201527f6f6f662070726f76696465642e00000000000000000000000000000000000000608482015260a401610567565b600061181a826118bf565b905061188b8460405160200161183291815260200190565b60408051601f19818403018152908290527f010000000000000000000000000000000000000000000000000000000000000060208301529060210160405160208183030381529060405288608001518460400151611983565b979650505050505050565b6000606060006118a5866119a7565b90506118b28186866119d9565b9250925050935093915050565b6040805160808101825260008082526020820181905291810182905260608101829052906118ec83611ab4565b9050604051806080016040528061191c8360008151811061190f5761190f61365c565b6020026020010151611ae7565b81526020016119378360018151811061190f5761190f61365c565b815260200161195f836002815181106119525761195261365c565b6020026020010151611aee565b815260200161197a836003815181106119525761195261365c565b90529392505050565b60008061198f866119a7565b905061199d81868686611bf0565b9695505050505050565b606081805190602001206040516020016119c391815260200190565b6040516020818303038152906040529050919050565b6000606060006119e885611c26565b905060008060006119fa848a89611d21565b81519295509093509150158080611a0e5750815b611a5a5760405162461bcd60e51b815260206004820152601a60248201527f50726f76696465642070726f6f6620697320696e76616c69642e0000000000006044820152606401610567565b600081611a765760405180602001604052806000815250611aa2565b611aa286611a856001886136ba565b81518110611a9557611a9561365c565b60200260200101516121bc565b919b919a509098505050505050505050565b6040805180820182526000808252602091820152815180830190925282518252808301908201526060906104f8906121e6565b60006104f8825b6000602182600001511115611b455760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000806000611b53856123e5565b919450925090506000816001811115611b6e57611b6e6136d1565b14611bbb5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000838660200151611bcd9190613700565b8051909150602084101561199d5760208490036101000a90049695505050505050565b6000806000611c008786866119d9565b9150915081801561188b575080516020808301919091208751918801919091201461188b565b60606000611c3383611ab4565b90506000815167ffffffffffffffff811115611c5157611c51612d69565b604051908082528060200260200182016040528015611c9657816020015b6040805180820190915260608082526020820152815260200190600190039081611c6f5790505b50905060005b8251811015611d19576000611cc9848381518110611cbc57611cbc61365c565b6020026020010151612736565b90506040518060400160405280828152602001611ce583611ab4565b815250838381518110611cfa57611cfa61365c565b6020026020010181905250508080611d1190613718565b915050611c9c565b509392505050565b60006060818080611d31876127c6565b90506000869050600080611d58604051806040016040528060608152602001606081525090565b60005b8c51811015612178578c8181518110611d7657611d7661365c565b602002602001015191508284611d8c9190613700565b9350611d99600188613700565b965083611dfd57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601160248201527f496e76616c696420726f6f7420686173680000000000000000000000000000006044820152606401610567565b611eba565b815151602011611e5f57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964206c6172676520696e7465726e616c206861736800000000006044820152606401610567565b84611e6d8360000151612949565b14611eba5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420696e7465726e616c206e6f646520686173680000000000006044820152606401610567565b611ec660106001613700565b8260200151511415611f3f578551841415611ee057612178565b6000868581518110611ef457611ef461365c565b602001015160f81c60f81b60f81c9050600083602001518260ff1681518110611f1f57611f1f61365c565b60200260200101519050611f3281612971565b9650600194505050612166565b6002826020015151141561211e576000611f58836129a7565b9050600081600081518110611f6f57611f6f61365c565b016020015160f81c90506000611f86600283613780565b611f919060026137a2565b90506000611fa2848360ff166129cb565b90506000611fb08b8a6129cb565b90506000611fbe8383612a01565b905060ff851660021480611fd5575060ff85166003145b1561202b57808351148015611fea5750808251145b15611ffc57611ff9818b613700565b99505b507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b60ff8516158061203e575060ff85166001145b156120b0578251811461207a57507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b6120a188602001516001815181106120945761209461365c565b6020026020010151612971565b9a509750612166945050505050565b60405162461bcd60e51b815260206004820152602660248201527f52656365697665642061206e6f6465207769746820616e20756e6b6e6f776e2060448201527f70726566697800000000000000000000000000000000000000000000000000006064820152608401610567565b60405162461bcd60e51b815260206004820152601d60248201527f526563656976656420616e20756e706172736561626c65206e6f64652e0000006044820152606401610567565b8061217081613718565b915050611d5b565b507f80000000000000000000000000000000000000000000000000000000000000008414866121a787866129cb565b909e909d50909b509950505050505050505050565b602081015180516060916104f8916121d6906001906136ba565b81518110611cbc57611cbc61365c565b60606000806121f4846123e5565b91935090915060019050816001811115612210576122106136d1565b1461225d5760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c50206c6973742076616c75652e0000000000000000006044820152606401610567565b6040805160208082526104208201909252600091816020015b60408051808201909152600080825260208201528152602001906001900390816122765790505090506000835b86518110156123da57602082106123225760405162461bcd60e51b815260206004820152602a60248201527f50726f766964656420524c50206c6973742065786365656473206d6178206c6960448201527f7374206c656e6774682e000000000000000000000000000000000000000000006064820152608401610567565b60008061235f6040518060400160405280858c6000015161234391906136ba565b8152602001858c602001516123589190613700565b90526123e5565b50915091506040518060400160405280838361237b9190613700565b8152602001848b602001516123909190613700565b8152508585815181106123a5576123a561365c565b60209081029190910101526123bb600185613700565b93506123c78183613700565b6123d19084613700565b925050506122a3565b508152949350505050565b60008060008084600001511161243d5760405162461bcd60e51b815260206004820152601860248201527f524c50206974656d2063616e6e6f74206265206e756c6c2e00000000000000006044820152606401610567565b6020840151805160001a607f811161246257600060016000945094509450505061272f565b60b781116124de5760006124776080836136ba565b9050808760000151116124cc5760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420524c502073686f727420737472696e672e000000000000006044820152606401610567565b6001955093506000925061272f915050565b60bf81116125cd5760006124f360b7836136ba565b9050808760000151116125485760405162461bcd60e51b815260206004820152601f60248201527f496e76616c696420524c50206c6f6e6720737472696e67206c656e6774682e006044820152606401610567565b600183015160208290036101000a90046125628183613700565b8851116125b15760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c50206c6f6e6720737472696e672e00000000000000006044820152606401610567565b6125bc826001613700565b965094506000935061272f92505050565b60f781116126485760006125e260c0836136ba565b9050808760000151116126375760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c502073686f7274206c6973742e0000000000000000006044820152606401610567565b60019550935084925061272f915050565b600061265560f7836136ba565b9050808760000151116126aa5760405162461bcd60e51b815260206004820152601d60248201527f496e76616c696420524c50206c6f6e67206c697374206c656e6774682e0000006044820152606401610567565b600183015160208290036101000a90046126c48183613700565b8851116127135760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420524c50206c6f6e67206c6973742e000000000000000000006044820152606401610567565b61271e826001613700565b965094506001935061272f92505050565b9193909250565b60606000806000612746856123e5565b919450925090506000816001811115612761576127616136d1565b146127ae5760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c502062797465732076616c75652e00000000000000006044820152606401610567565b6127bd85602001518484612aad565b95945050505050565b60606000825160026127d891906137c5565b67ffffffffffffffff8111156127f0576127f0612d69565b6040519080825280601f01601f19166020018201604052801561281a576020820181803683370190505b50905060005b835181101561294257600484828151811061283d5761283d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c826128728360026137c5565b815181106128825761288261365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060108482815181106128c5576128c561365c565b01602001516128d7919060f81c613780565b60f81b826128e68360026137c5565b6128f1906001613700565b815181106129015761290161365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508061293a81613718565b915050612820565b5092915050565b600060208251101561295d57506020015190565b818060200190518101906104f89190613802565b600060606020836000015110156129925761298b83612b8c565b905061299e565b61299b83612736565b90505b61150981612949565b60606104f86129c68360200151600081518110611cbc57611cbc61365c565b6127c6565b6060825182106129ea57506040805160208101909152600081526104f8565b61150983838486516129fc91906136ba565b612b97565b6000805b808451118015612a155750808351115b8015612a965750828181518110612a2e57612a2e61365c565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916848281518110612a6d57612a6d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156115095780612aa581613718565b915050612a05565b606060008267ffffffffffffffff811115612aca57612aca612d69565b6040519080825280601f01601f191660200182016040528015612af4576020820181803683370190505b509050805160001415612b08579050611509565b6000612b148587613700565b90506020820160005b612b2860208761381b565b811015612b5f5782518252612b3e602084613700565b9250612b4b602083613700565b915080612b5781613718565b915050612b1d565b5060006001602087066020036101000a039050808251168119845116178252839450505050509392505050565b60606104f882612d18565b606081612ba581601f613700565b1015612bf35760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b82612bfe8382613700565b1015612c4c5760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b612c568284613700565b84511015612ca65760405162461bcd60e51b815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610567565b606082158015612cc55760405191506000825260208201604052612d0f565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612cfe578051835260209283019201612ce6565b5050858452601f01601f1916604052505b50949350505050565b60606104f8826020015160008460000151612aad565b600060208284031215612d4057600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610fd657600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b60405290565b60405160a0810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b604051601f8201601f1916810167ffffffffffffffff81118282101715612e0d57612e0d612d69565b604052919050565b600067ffffffffffffffff831115612e2f57612e2f612d69565b612e426020601f19601f86011601612de4565b9050828152838383011115612e5657600080fd5b828260208301376000602084830101529392505050565b600082601f830112612e7e57600080fd5b61150983833560208501612e15565b803563ffffffff81168114612ea157600080fd5b919050565b600080600060608486031215612ebb57600080fd5b8335612ec681612d47565b9250602084013567ffffffffffffffff811115612ee257600080fd5b612eee86828701612e6d565b925050612efd60408501612e8d565b90509250925092565b600060208284031215612f1857600080fd5b813567ffffffffffffffff811115612f2f57600080fd5b8201601f81018413612f4057600080fd5b612f4f84823560208401612e15565b949350505050565b60008060008060008060c08789031215612f7057600080fd5b8635612f7b81612d47565b95506020870135612f8b81612d47565b9450604087013567ffffffffffffffff811115612fa757600080fd5b612fb389828a01612e6d565b94505060608701359250612fc960808801612e8d565b9150612fd760a08801612e8d565b90509295509295509295565b600060208284031215612ff557600080fd5b813561150981612d47565b600060a0828403121561301257600080fd5b60405160a0810167ffffffffffffffff828210818311171561303657613036612d69565b8160405282935084358352602085013560208401526040850135604084015260608501356060840152608085013591508082111561307357600080fd5b5061308085828601612e6d565b6080830152505092915050565b60006040828403121561309f57600080fd5b6130a7612d98565b90508135815260208083013567ffffffffffffffff808211156130c957600080fd5b818501915085601f8301126130dd57600080fd5b8135818111156130ef576130ef612d69565b8060051b9150613100848301612de4565b818152918301840191848101908884111561311a57600080fd5b938501935b838510156131385784358252938501939085019061311f565b808688015250505050505092915050565b600080600080600060a0868803121561316157600080fd5b853561316c81612d47565b9450602086013561317c81612d47565b9350604086013567ffffffffffffffff8082111561319957600080fd5b6131a589838a01612e6d565b94506060880135935060808801359150808211156131c257600080fd5b9087019060a0828a0312156131d657600080fd5b6131de612dc1565b823581526020830135828111156131f457600080fd5b6132008b828601613000565b60208301525060408301358281111561321857600080fd5b6132248b82860161308d565b60408301525060608301358281111561323c57600080fd5b6132488b828601612e6d565b60608301525060808301358281111561326057600080fd5b61326c8b828601612e6d565b6080830152508093505050509295509295909350565b805164ffffffffff81168114612ea157600080fd5b6000602082840312156132a957600080fd5b61150982613282565b60005b838110156132cd5781810151838201526020016132b5565b838111156132dc576000848401525b50505050565b600081518084526132fa8160208601602086016132b2565b601f01601f19169290920160200192915050565b73ffffffffffffffffffffffffffffffffffffffff8516815260806020820152600061333d60808301866132e2565b905064ffffffffff8416604083015263ffffffff8316606083015295945050505050565b60208152600061150960208301846132e2565b60006020828403121561338657600080fd5b815161150981612d47565b6000606082840312156133a357600080fd5b6040516060810181811067ffffffffffffffff821117156133c6576133c6612d69565b604052825181526133d960208401613282565b60208201526133ea60408401613282565b60408201529392505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525063ffffffff841660408301526080606083015261199d60808301846132e2565b6000825161344d8184602087016132b2565b9190910192915050565b600084516134698184602089016132b2565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250608060408301526134e260808301856132e2565b905082606083015295945050505050565b73ffffffffffffffffffffffffffffffffffffffff841681528260208201526060604082015260006127bd60608301846132e2565b805182526020810151602083015260408101516040830152606081015160608301526000608082015160a06080850152612f4f60a08501826132e2565b6020815260006115096020830184613528565b60006020828403121561358a57600080fd5b8151801515811461150957600080fd5b838152600060206060818401526135b46060840186613528565b83810360408501526040810185518252828601516040848401528181518084526060850191508583019450600093505b8084101561360457845182529385019360019390930192908501906135e4565b509998505050505050505050565b600083516136248184602088016132b2565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156136cc576136cc61368b565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600082198211156137135761371361368b565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561374a5761374a61368b565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600060ff83168061379357613793613751565b8060ff84160691505092915050565b600060ff821660ff8416808210156137bc576137bc61368b565b90039392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137fd576137fd61368b565b500290565b60006020828403121561381457600080fd5b5051919050565b60008261382a5761382a613751565b50049056fea2646970667358221220c8cd169b919168f911dffe50407de9b3c321b6388069872b5a97be3545f41dca64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Gje=D((z1a,sUt)=>{sUt.exports={_format:"hh-sol-artifact-1",contractName:"L1StandardBridge",sourceName:"contracts/L1/messaging/L1StandardBridge.sol",abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"donateETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1messenger",type:"address"},{internalType:"address",name:"_l2TokenBridge",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],bytecode:"0x608060405234801561001057600080fd5b50600080546001600160a01b031916905561199e806100306000396000f3fe6080604052600436106100c05760003560e01c80638b4c40b0116100745780639a2ac6d51161004e5780639a2ac6d514610288578063a9f9e6751461029b578063b1a1a882146102bb57600080fd5b80638b4c40b0146101375780638f601f661461021557806391c49bf81461025b57600080fd5b8063485cc955116100a5578063485cc955146101b557806358a997f6146101d5578063838b2520146101f557600080fd5b80631532ec341461013e5780633cb747bf1461015e57600080fd5b3661013957333b156101195760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f41000000000000000000000000000000000060448201526064015b60405180910390fd5b610137333362030d40604051806020016040528060008152506102ce565b005b600080fd5b34801561014a57600080fd5b50610137610159366004611357565b61041a565b34801561016a57600080fd5b5060005461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101c157600080fd5b506101376101d03660046113ca565b610790565b3480156101e157600080fd5b506101376101f036600461141c565b61086f565b34801561020157600080fd5b5061013761021036600461149f565b6108d6565b34801561022157600080fd5b5061024d6102303660046113ca565b600260209081526000928352604080842090915290825290205481565b6040519081526020016101ac565b34801561026757600080fd5b5060015461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b610137610296366004611535565b6108ef565b3480156102a757600080fd5b506101376102b6366004611598565b610937565b6101376102c9366004611611565b610c59565b600063662a633a60e01b600073deaddeaddeaddeaddeaddeaddeaddeaddead000087873487604051602401610308969594939291906116da565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506103ac9073ffffffffffffffffffffffffffffffffffffffff168483610cef565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23348560405161040b929190611735565b60405180910390a35050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661045260005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104f25760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff1661052860005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561056d57600080fd5b505afa158015610581573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a5919061174e565b73ffffffffffffffffffffffffffffffffffffffff161461062e5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff8716908690604051610665919061176b565b60006040518083038185875af1925050503d80600081146106a2576040519150601f19603f3d011682016040523d82523d6000602084013e6106a7565b606091505b505090508061071e5760405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527f20455448207472616e73666572206661696c65640000000000000000000000006064820152608401610110565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e63187878760405161077f939291906117d0565b60405180910390a350505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff161561081c5760405162461bcd60e51b815260206004820152602660248201527f436f6e74726163742068617320616c7265616479206265656e20696e6974696160448201527f6c697a65642e00000000000000000000000000000000000000000000000000006064820152608401610110565b6000805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560018054929093169116179055565b333b156108be5760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b6108ce8686333388888888610d77565b505050505050565b6108e68787338888888888610d77565b50505050505050565b61093133858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b50505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661096f60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a0f5760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff16610a4560005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b158015610a8a57600080fd5b505afa158015610a9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac2919061174e565b73ffffffffffffffffffffffffffffffffffffffff1614610b4b5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b1683529290522054610b89908590611822565b73ffffffffffffffffffffffffffffffffffffffff808a166000818152600260209081526040808320948d1683529390529190912091909155610bcd908686610f27565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b388888888604051610c479493929190611839565b60405180910390a45050505050505050565b333b15610ca85760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b610cea33338585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b505050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610d4990869085908790600401611879565b600060405180830381600087803b158015610d6357600080fd5b505af11580156108e6573d6000803e3d6000fd5b610d9973ffffffffffffffffffffffffffffffffffffffff8916873087610ffb565b600063662a633a60e01b89898989898888604051602401610dc097969594939291906118be565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600154909150610e649073ffffffffffffffffffffffffffffffffffffffff168583610cef565b73ffffffffffffffffffffffffffffffffffffffff808a166000908152600260209081526040808320938c1683529290522054610ea290869061191b565b73ffffffffffffffffffffffffffffffffffffffff808b1660008181526002602090815260408083208e86168085529252918290209490945551918a1692917f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039690610f14908b908b908a908a90611839565b60405180910390a4505050505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610cea9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611059565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526109319085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401610f79565b60006110bb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661114b9092919063ffffffff16565b805190915015610cea57808060200190518101906110d99190611933565b610cea5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610110565b606061115a8484600085611164565b90505b9392505050565b6060824710156111dc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610110565b843b61122a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610110565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611253919061176b565b60006040518083038185875af1925050503d8060008114611290576040519150601f19603f3d011682016040523d82523d6000602084013e611295565b606091505b50915091506112a58282866112b0565b979650505050505050565b606083156112bf57508161115d565b8251156112cf5782518084602001fd5b8160405162461bcd60e51b81526004016101109190611955565b73ffffffffffffffffffffffffffffffffffffffff8116811461130b57600080fd5b50565b60008083601f84011261132057600080fd5b50813567ffffffffffffffff81111561133857600080fd5b60208301915083602082850101111561135057600080fd5b9250929050565b60008060008060006080868803121561136f57600080fd5b853561137a816112e9565b9450602086013561138a816112e9565b935060408601359250606086013567ffffffffffffffff8111156113ad57600080fd5b6113b98882890161130e565b969995985093965092949392505050565b600080604083850312156113dd57600080fd5b82356113e8816112e9565b915060208301356113f8816112e9565b809150509250929050565b803563ffffffff8116811461141757600080fd5b919050565b60008060008060008060a0878903121561143557600080fd5b8635611440816112e9565b95506020870135611450816112e9565b94506040870135935061146560608801611403565b9250608087013567ffffffffffffffff81111561148157600080fd5b61148d89828a0161130e565b979a9699509497509295939492505050565b600080600080600080600060c0888a0312156114ba57600080fd5b87356114c5816112e9565b965060208801356114d5816112e9565b955060408801356114e5816112e9565b9450606088013593506114fa60808901611403565b925060a088013567ffffffffffffffff81111561151657600080fd5b6115228a828b0161130e565b989b979a50959850939692959293505050565b6000806000806060858703121561154b57600080fd5b8435611556816112e9565b935061156460208601611403565b9250604085013567ffffffffffffffff81111561158057600080fd5b61158c8782880161130e565b95989497509550505050565b600080600080600080600060c0888a0312156115b357600080fd5b87356115be816112e9565b965060208801356115ce816112e9565b955060408801356115de816112e9565b945060608801356115ee816112e9565b93506080880135925060a088013567ffffffffffffffff81111561151657600080fd5b60008060006040848603121561162657600080fd5b61162f84611403565b9250602084013567ffffffffffffffff81111561164b57600080fd5b6116578682870161130e565b9497909650939450505050565b60005b8381101561167f578181015183820152602001611667565b838111156109315750506000910152565b600081518084526116a8816020860160208601611664565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a083015261172960c0830184611690565b98975050505050505050565b82815260406020820152600061115a6040830184611690565b60006020828403121561176057600080fd5b815161115d816112e9565b6000825161177d818460208701611664565b9190910192915050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b8381526040602082015260006117ea604083018486611787565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611834576118346117f3565b500390565b73ffffffffffffffffffffffffffffffffffffffff8516815283602082015260606040820152600061186f606083018486611787565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006118a86060830185611690565b905063ffffffff83166040830152949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261190e60c083018486611787565b9998505050505050505050565b6000821982111561192e5761192e6117f3565b500190565b60006020828403121561194557600080fd5b8151801515811461115d57600080fd5b60208152600061115d602083018461169056fea26469706673582212209e8d495a5c754054f8fb1569a883aab4029fddac8f25cf6ce1219795b06797ad64736f6c63430008090033",deployedBytecode:"0x6080604052600436106100c05760003560e01c80638b4c40b0116100745780639a2ac6d51161004e5780639a2ac6d514610288578063a9f9e6751461029b578063b1a1a882146102bb57600080fd5b80638b4c40b0146101375780638f601f661461021557806391c49bf81461025b57600080fd5b8063485cc955116100a5578063485cc955146101b557806358a997f6146101d5578063838b2520146101f557600080fd5b80631532ec341461013e5780633cb747bf1461015e57600080fd5b3661013957333b156101195760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f41000000000000000000000000000000000060448201526064015b60405180910390fd5b610137333362030d40604051806020016040528060008152506102ce565b005b600080fd5b34801561014a57600080fd5b50610137610159366004611357565b61041a565b34801561016a57600080fd5b5060005461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101c157600080fd5b506101376101d03660046113ca565b610790565b3480156101e157600080fd5b506101376101f036600461141c565b61086f565b34801561020157600080fd5b5061013761021036600461149f565b6108d6565b34801561022157600080fd5b5061024d6102303660046113ca565b600260209081526000928352604080842090915290825290205481565b6040519081526020016101ac565b34801561026757600080fd5b5060015461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b610137610296366004611535565b6108ef565b3480156102a757600080fd5b506101376102b6366004611598565b610937565b6101376102c9366004611611565b610c59565b600063662a633a60e01b600073deaddeaddeaddeaddeaddeaddeaddeaddead000087873487604051602401610308969594939291906116da565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506103ac9073ffffffffffffffffffffffffffffffffffffffff168483610cef565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23348560405161040b929190611735565b60405180910390a35050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661045260005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104f25760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff1661052860005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561056d57600080fd5b505afa158015610581573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a5919061174e565b73ffffffffffffffffffffffffffffffffffffffff161461062e5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff8716908690604051610665919061176b565b60006040518083038185875af1925050503d80600081146106a2576040519150601f19603f3d011682016040523d82523d6000602084013e6106a7565b606091505b505090508061071e5760405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527f20455448207472616e73666572206661696c65640000000000000000000000006064820152608401610110565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e63187878760405161077f939291906117d0565b60405180910390a350505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff161561081c5760405162461bcd60e51b815260206004820152602660248201527f436f6e74726163742068617320616c7265616479206265656e20696e6974696160448201527f6c697a65642e00000000000000000000000000000000000000000000000000006064820152608401610110565b6000805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560018054929093169116179055565b333b156108be5760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b6108ce8686333388888888610d77565b505050505050565b6108e68787338888888888610d77565b50505050505050565b61093133858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b50505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661096f60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a0f5760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff16610a4560005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b158015610a8a57600080fd5b505afa158015610a9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac2919061174e565b73ffffffffffffffffffffffffffffffffffffffff1614610b4b5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b1683529290522054610b89908590611822565b73ffffffffffffffffffffffffffffffffffffffff808a166000818152600260209081526040808320948d1683529390529190912091909155610bcd908686610f27565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b388888888604051610c479493929190611839565b60405180910390a45050505050505050565b333b15610ca85760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b610cea33338585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b505050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610d4990869085908790600401611879565b600060405180830381600087803b158015610d6357600080fd5b505af11580156108e6573d6000803e3d6000fd5b610d9973ffffffffffffffffffffffffffffffffffffffff8916873087610ffb565b600063662a633a60e01b89898989898888604051602401610dc097969594939291906118be565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600154909150610e649073ffffffffffffffffffffffffffffffffffffffff168583610cef565b73ffffffffffffffffffffffffffffffffffffffff808a166000908152600260209081526040808320938c1683529290522054610ea290869061191b565b73ffffffffffffffffffffffffffffffffffffffff808b1660008181526002602090815260408083208e86168085529252918290209490945551918a1692917f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039690610f14908b908b908a908a90611839565b60405180910390a4505050505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610cea9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611059565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526109319085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401610f79565b60006110bb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661114b9092919063ffffffff16565b805190915015610cea57808060200190518101906110d99190611933565b610cea5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610110565b606061115a8484600085611164565b90505b9392505050565b6060824710156111dc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610110565b843b61122a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610110565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611253919061176b565b60006040518083038185875af1925050503d8060008114611290576040519150601f19603f3d011682016040523d82523d6000602084013e611295565b606091505b50915091506112a58282866112b0565b979650505050505050565b606083156112bf57508161115d565b8251156112cf5782518084602001fd5b8160405162461bcd60e51b81526004016101109190611955565b73ffffffffffffffffffffffffffffffffffffffff8116811461130b57600080fd5b50565b60008083601f84011261132057600080fd5b50813567ffffffffffffffff81111561133857600080fd5b60208301915083602082850101111561135057600080fd5b9250929050565b60008060008060006080868803121561136f57600080fd5b853561137a816112e9565b9450602086013561138a816112e9565b935060408601359250606086013567ffffffffffffffff8111156113ad57600080fd5b6113b98882890161130e565b969995985093965092949392505050565b600080604083850312156113dd57600080fd5b82356113e8816112e9565b915060208301356113f8816112e9565b809150509250929050565b803563ffffffff8116811461141757600080fd5b919050565b60008060008060008060a0878903121561143557600080fd5b8635611440816112e9565b95506020870135611450816112e9565b94506040870135935061146560608801611403565b9250608087013567ffffffffffffffff81111561148157600080fd5b61148d89828a0161130e565b979a9699509497509295939492505050565b600080600080600080600060c0888a0312156114ba57600080fd5b87356114c5816112e9565b965060208801356114d5816112e9565b955060408801356114e5816112e9565b9450606088013593506114fa60808901611403565b925060a088013567ffffffffffffffff81111561151657600080fd5b6115228a828b0161130e565b989b979a50959850939692959293505050565b6000806000806060858703121561154b57600080fd5b8435611556816112e9565b935061156460208601611403565b9250604085013567ffffffffffffffff81111561158057600080fd5b61158c8782880161130e565b95989497509550505050565b600080600080600080600060c0888a0312156115b357600080fd5b87356115be816112e9565b965060208801356115ce816112e9565b955060408801356115de816112e9565b945060608801356115ee816112e9565b93506080880135925060a088013567ffffffffffffffff81111561151657600080fd5b60008060006040848603121561162657600080fd5b61162f84611403565b9250602084013567ffffffffffffffff81111561164b57600080fd5b6116578682870161130e565b9497909650939450505050565b60005b8381101561167f578181015183820152602001611667565b838111156109315750506000910152565b600081518084526116a8816020860160208601611664565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a083015261172960c0830184611690565b98975050505050505050565b82815260406020820152600061115a6040830184611690565b60006020828403121561176057600080fd5b815161115d816112e9565b6000825161177d818460208701611664565b9190910192915050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b8381526040602082015260006117ea604083018486611787565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611834576118346117f3565b500390565b73ffffffffffffffffffffffffffffffffffffffff8516815283602082015260606040820152600061186f606083018486611787565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006118a86060830185611690565b905063ffffffff83166040830152949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261190e60c083018486611787565b9998505050505050505050565b6000821982111561192e5761192e6117f3565b500190565b60006020828403121561194557600080fd5b8151801515811461115d57600080fd5b60208152600061115d602083018461169056fea26469706673582212209e8d495a5c754054f8fb1569a883aab4029fddac8f25cf6ce1219795b06797ad64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Kje=D((W1a,oUt)=>{oUt.exports={_format:"hh-sol-artifact-1",contractName:"CanonicalTransactionChain",sourceName:"contracts/L1/rollup/CanonicalTransactionChain.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_maxTransactionGasLimit",type:"uint256"},{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"MAX_ROLLUP_TX_SIZE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_ROLLUP_TX_GAS",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"enqueueGasCost",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"enqueueL2GasPrepaid",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2GasDiscountDivisor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxTransactionGasLimit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5060405162001a9838038062001a9883398101604081905261003191610072565b600080546001600160a01b0319166001600160a01b03861617905560048390556002829055600181905561006581836100bd565b600355506100ea92505050565b6000806000806080858703121561008857600080fd5b84516001600160a01b038116811461009f57600080fd5b60208601516040870151606090970151919890975090945092505050565b60008160001904831182151516156100e557634e487b7160e01b600052601160045260246000fd5b500290565b61199e80620000fa6000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c8063876ed5cb116100cd578063d0f8934411610081578063e654b1fb11610066578063e654b1fb146102c0578063edcc4a45146102c9578063f722b41a146102dc57600080fd5b8063d0f89344146102b0578063e561dddc146102b857600080fd5b8063b8f77005116100b2578063b8f7700514610297578063ccf987c81461029f578063cfdf677e146102a857600080fd5b8063876ed5cb146102855780638d38c6c11461028e57600080fd5b80635ae6256d1161012457806378f4b2f21161010957806378f4b2f2146102645780637a167a8a1461026e5780637aa63a861461027d57600080fd5b80635ae6256d146102475780636fee07e01461024f57600080fd5b80632a7f18be116101555780632a7f18be146101d25780633789977014610216578063461a44781461023457600080fd5b80630b3dfa9714610171578063299ca4781461018d575b600080fd5b61017a60035481565b6040519081526020015b60405180910390f35b6000546101ad9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610184565b6101e56101e03660046113e5565b6102e4565b604080518251815260208084015164ffffffffff908116918301919091529282015190921690820152606001610184565b61021e610362565b60405164ffffffffff9091168152602001610184565b6101ad6102423660046114c1565b610376565b61021e610423565b61026261025d366004611537565b610437565b005b61017a620186a081565b60055464ffffffffff1661021e565b61017a610899565b61017a61c35081565b61017a60045481565b60065461021e565b61017a60025481565b6101ad6108b4565b6102626108dc565b61017a610df8565b61017a60015481565b6102626102d73660046115a4565b610e7f565b61021e611016565b604080516060810182526000808252602082018190529181019190915260068281548110610314576103146115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401949094526501000000000090049092169181019190915292915050565b60008061036d611032565b50949350505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906103cd908590600401611660565b60206040518083038186803b1580156103e557600080fd5b505afa1580156103f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041d919061167a565b92915050565b60008061042e611032565b95945050505050565b61c350815111156104cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20646174612073697a652065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084015b60405180910390fd5b600454821115610561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20676173206c696d69742065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084016104c6565b620186a08210156105f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5472616e73616374696f6e20676173206c696d697420746f6f206c6f7720746f60448201527f20656e71756575652e000000000000000000000000000000000000000000000060648201526084016104c6565b6003548211156106dc5760006002546003548461061191906116c6565b61061b91906116dd565b905060005a90508181116106b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e73756666696369656e742067617320666f72204c322072617465206c696d60448201527f6974696e67206275726e2e00000000000000000000000000000000000000000060648201526084016104c6565b60005b825a6106c090846116c6565b10156106d857806106d081611718565b9150506106b4565b5050505b6000333214156106ed575033610706565b5033731111000000000000000000000000000000001111015b60008185858560405160200161071f9493929190611751565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828252805160209182012060608401835280845264ffffffffff42811692850192835243811693850193845260068054600181810183556000838152975160029092027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f81019290925594517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4090910180549651841665010000000000027fffffffffffffffffffffffffffffffffffffffffffff0000000000000000000090971691909316179490941790559154919350610825916116c6565b9050808673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f4b388aecf9fa6cc92253704e5975a6129a4f735bdbd99567df4ed0094ee4ceb58888426040516108899392919061179a565b60405180910390a4505050505050565b6000806108a4611032565b50505064ffffffffff1692915050565b60006108d760405180606001604052806021815260200161194860219139610376565b905090565b60043560d81c60093560e890811c90600c35901c6108f8610899565b8364ffffffffff161461098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016104c6565b6109cb6040518060400160405280600d81526020017f4f564d5f53657175656e63657200000000000000000000000000000000000000815250610376565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f68652053657175656e6365722e0000000000000000000000000000000000000060648201526084016104c6565b6000610a9762ffffff831660106117c3565b610aa290600f611800565b905064ffffffffff8116361015610b3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4e6f7420656e6f756768204261746368436f6e74657874732070726f7669646560448201527f642e00000000000000000000000000000000000000000000000000000000000060648201526084016104c6565b6005546040805160808101825260008082526020820181905291810182905260608101829052909164ffffffffff169060005b8562ffffff168163ffffffff161015610bcc576000610b928263ffffffff166110ed565b8051909350839150610ba49086611818565b9450826020015184610bb69190611840565b9350508080610bc490611860565b915050610b6e565b5060065464ffffffffff83161115610c8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f417474656d7074656420746f20617070656e64206d6f726520656c656d656e7460448201527f73207468616e2061726520617661696c61626c6520696e20746865207175657560648201527f652e000000000000000000000000000000000000000000000000000000000000608482015260a4016104c6565b6000610c9d8462ffffff8916611884565b63ffffffff169050600080836020015160001415610cc657505060408201516060830151610d37565b60006006610cd56001886118a9565b64ffffffffff1681548110610cec57610cec6115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401859052650100000000009091041691018190529093509150505b610d5b610d456001436116c6565b408a62ffffff168564ffffffffff168585611174565b7f602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899610d8684876118a9565b84610d8f610899565b6040805164ffffffffff94851681529390921660208401529082015260600160405180910390a15050600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000001664ffffffffff949094169390931790925550505050505050565b6000610e026108b4565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610e4757600080fd5b505afa158015610e5b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d791906118c7565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ee557600080fd5b505afa158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d919061167a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fb1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c792063616c6c61626c6520627920746865204275726e2041646d696e2e60448201526064016104c6565b60018190556002829055610fc581836117c3565b60038190556002546001546040805192835260208301919091528101919091527fc6ed75e96b8b18b71edc1a6e82a9d677f8268c774a262c624eeb2cf0a8b3e07e9060600160405180910390a15050565b6005546006546000916108d79164ffffffffff909116906118a9565b60008060008060006110426108b4565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b15801561108757600080fd5b505afa15801561109b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bf91906118e0565b64ffffffffff602882901c811697605083901c82169750607883901c8216965060a09290921c169350915050565b6111186040518060800160405280600081526020016000815260200160008152602001600081525090565b60006111256010846117c3565b61113090600f611800565b60408051608081018252823560e890811c82526003840135901c6020820152600683013560d890811c92820192909252600b90920135901c60608201529392505050565b600061117e6108b4565b905060008061118b611032565b50509150915060006040518060a001604052808573ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b1580156111e457600080fd5b505afa1580156111f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121c91906118c7565b81526020018a81526020018981526020018464ffffffffff16815260200160405180602001604052806000815250815250905080600001517f127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e82602001518360400151846060015185608001516040516112999493929190611922565b60405180910390a260006112ac8261139f565b905060006112e78360400151866112c39190611840565b6112cd8b87611840565b602890811b9190911760508b901b1760788a901b17901b90565b6040517f2015276c000000000000000000000000000000000000000000000000000000008152600481018490527fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008216602482015290915073ffffffffffffffffffffffffffffffffffffffff871690632015276c90604401600060405180830381600087803b15801561137a57600080fd5b505af115801561138e573d6000803e3d6000fd5b505050505050505050505050505050565b600081602001518260400151836060015184608001516040516020016113c89493929190611922565b604051602081830303815290604052805190602001209050919050565b6000602082840312156113f757600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115611448576114486113fe565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561148e5761148e6113fe565b816040528093508581528686860111156114a757600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156114d357600080fd5b813567ffffffffffffffff8111156114ea57600080fd5b8201601f810184136114fb57600080fd5b61150a8482356020840161142d565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461153457600080fd5b50565b60008060006060848603121561154c57600080fd5b833561155781611512565b925060208401359150604084013567ffffffffffffffff81111561157a57600080fd5b8401601f8101861361158b57600080fd5b61159a8682356020840161142d565b9150509250925092565b600080604083850312156115b757600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815180845260005b8181101561161b576020818501810151868301820152016115ff565b8181111561162d576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061167360208301846115f5565b9392505050565b60006020828403121561168c57600080fd5b815161167381611512565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156116d8576116d8611697565b500390565b600082611713577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561174a5761174a611697565b5060010190565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261179060808301846115f5565b9695505050505050565b8381526060602082015260006117b360608301856115f5565b9050826040830152949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156117fb576117fb611697565b500290565b6000821982111561181357611813611697565b500190565b600063ffffffff80831681851680830382111561183757611837611697565b01949350505050565b600064ffffffffff80831681851680830382111561183757611837611697565b600063ffffffff8083168181141561187a5761187a611697565b6001019392505050565b600063ffffffff838116908316818110156118a1576118a1611697565b039392505050565b600064ffffffffff838116908316818110156118a1576118a1611697565b6000602082840312156118d957600080fd5b5051919050565b6000602082840312156118f257600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461167357600080fd5b84815283602082015282604082015260806060820152600061179060808301846115f556fe436861696e53746f72616765436f6e7461696e65722d4354432d62617463686573a264697066735822122071f9046c41835cfaa3b888bb4aa8b907bdd46588ad69741847a96bf3fcaad90264736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b506004361061016c5760003560e01c8063876ed5cb116100cd578063d0f8934411610081578063e654b1fb11610066578063e654b1fb146102c0578063edcc4a45146102c9578063f722b41a146102dc57600080fd5b8063d0f89344146102b0578063e561dddc146102b857600080fd5b8063b8f77005116100b2578063b8f7700514610297578063ccf987c81461029f578063cfdf677e146102a857600080fd5b8063876ed5cb146102855780638d38c6c11461028e57600080fd5b80635ae6256d1161012457806378f4b2f21161010957806378f4b2f2146102645780637a167a8a1461026e5780637aa63a861461027d57600080fd5b80635ae6256d146102475780636fee07e01461024f57600080fd5b80632a7f18be116101555780632a7f18be146101d25780633789977014610216578063461a44781461023457600080fd5b80630b3dfa9714610171578063299ca4781461018d575b600080fd5b61017a60035481565b6040519081526020015b60405180910390f35b6000546101ad9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610184565b6101e56101e03660046113e5565b6102e4565b604080518251815260208084015164ffffffffff908116918301919091529282015190921690820152606001610184565b61021e610362565b60405164ffffffffff9091168152602001610184565b6101ad6102423660046114c1565b610376565b61021e610423565b61026261025d366004611537565b610437565b005b61017a620186a081565b60055464ffffffffff1661021e565b61017a610899565b61017a61c35081565b61017a60045481565b60065461021e565b61017a60025481565b6101ad6108b4565b6102626108dc565b61017a610df8565b61017a60015481565b6102626102d73660046115a4565b610e7f565b61021e611016565b604080516060810182526000808252602082018190529181019190915260068281548110610314576103146115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401949094526501000000000090049092169181019190915292915050565b60008061036d611032565b50949350505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906103cd908590600401611660565b60206040518083038186803b1580156103e557600080fd5b505afa1580156103f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041d919061167a565b92915050565b60008061042e611032565b95945050505050565b61c350815111156104cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20646174612073697a652065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084015b60405180910390fd5b600454821115610561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20676173206c696d69742065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084016104c6565b620186a08210156105f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5472616e73616374696f6e20676173206c696d697420746f6f206c6f7720746f60448201527f20656e71756575652e000000000000000000000000000000000000000000000060648201526084016104c6565b6003548211156106dc5760006002546003548461061191906116c6565b61061b91906116dd565b905060005a90508181116106b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e73756666696369656e742067617320666f72204c322072617465206c696d60448201527f6974696e67206275726e2e00000000000000000000000000000000000000000060648201526084016104c6565b60005b825a6106c090846116c6565b10156106d857806106d081611718565b9150506106b4565b5050505b6000333214156106ed575033610706565b5033731111000000000000000000000000000000001111015b60008185858560405160200161071f9493929190611751565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828252805160209182012060608401835280845264ffffffffff42811692850192835243811693850193845260068054600181810183556000838152975160029092027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f81019290925594517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4090910180549651841665010000000000027fffffffffffffffffffffffffffffffffffffffffffff0000000000000000000090971691909316179490941790559154919350610825916116c6565b9050808673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f4b388aecf9fa6cc92253704e5975a6129a4f735bdbd99567df4ed0094ee4ceb58888426040516108899392919061179a565b60405180910390a4505050505050565b6000806108a4611032565b50505064ffffffffff1692915050565b60006108d760405180606001604052806021815260200161194860219139610376565b905090565b60043560d81c60093560e890811c90600c35901c6108f8610899565b8364ffffffffff161461098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016104c6565b6109cb6040518060400160405280600d81526020017f4f564d5f53657175656e63657200000000000000000000000000000000000000815250610376565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f68652053657175656e6365722e0000000000000000000000000000000000000060648201526084016104c6565b6000610a9762ffffff831660106117c3565b610aa290600f611800565b905064ffffffffff8116361015610b3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4e6f7420656e6f756768204261746368436f6e74657874732070726f7669646560448201527f642e00000000000000000000000000000000000000000000000000000000000060648201526084016104c6565b6005546040805160808101825260008082526020820181905291810182905260608101829052909164ffffffffff169060005b8562ffffff168163ffffffff161015610bcc576000610b928263ffffffff166110ed565b8051909350839150610ba49086611818565b9450826020015184610bb69190611840565b9350508080610bc490611860565b915050610b6e565b5060065464ffffffffff83161115610c8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f417474656d7074656420746f20617070656e64206d6f726520656c656d656e7460448201527f73207468616e2061726520617661696c61626c6520696e20746865207175657560648201527f652e000000000000000000000000000000000000000000000000000000000000608482015260a4016104c6565b6000610c9d8462ffffff8916611884565b63ffffffff169050600080836020015160001415610cc657505060408201516060830151610d37565b60006006610cd56001886118a9565b64ffffffffff1681548110610cec57610cec6115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401859052650100000000009091041691018190529093509150505b610d5b610d456001436116c6565b408a62ffffff168564ffffffffff168585611174565b7f602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899610d8684876118a9565b84610d8f610899565b6040805164ffffffffff94851681529390921660208401529082015260600160405180910390a15050600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000001664ffffffffff949094169390931790925550505050505050565b6000610e026108b4565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610e4757600080fd5b505afa158015610e5b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d791906118c7565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ee557600080fd5b505afa158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d919061167a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fb1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c792063616c6c61626c6520627920746865204275726e2041646d696e2e60448201526064016104c6565b60018190556002829055610fc581836117c3565b60038190556002546001546040805192835260208301919091528101919091527fc6ed75e96b8b18b71edc1a6e82a9d677f8268c774a262c624eeb2cf0a8b3e07e9060600160405180910390a15050565b6005546006546000916108d79164ffffffffff909116906118a9565b60008060008060006110426108b4565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b15801561108757600080fd5b505afa15801561109b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bf91906118e0565b64ffffffffff602882901c811697605083901c82169750607883901c8216965060a09290921c169350915050565b6111186040518060800160405280600081526020016000815260200160008152602001600081525090565b60006111256010846117c3565b61113090600f611800565b60408051608081018252823560e890811c82526003840135901c6020820152600683013560d890811c92820192909252600b90920135901c60608201529392505050565b600061117e6108b4565b905060008061118b611032565b50509150915060006040518060a001604052808573ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b1580156111e457600080fd5b505afa1580156111f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121c91906118c7565b81526020018a81526020018981526020018464ffffffffff16815260200160405180602001604052806000815250815250905080600001517f127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e82602001518360400151846060015185608001516040516112999493929190611922565b60405180910390a260006112ac8261139f565b905060006112e78360400151866112c39190611840565b6112cd8b87611840565b602890811b9190911760508b901b1760788a901b17901b90565b6040517f2015276c000000000000000000000000000000000000000000000000000000008152600481018490527fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008216602482015290915073ffffffffffffffffffffffffffffffffffffffff871690632015276c90604401600060405180830381600087803b15801561137a57600080fd5b505af115801561138e573d6000803e3d6000fd5b505050505050505050505050505050565b600081602001518260400151836060015184608001516040516020016113c89493929190611922565b604051602081830303815290604052805190602001209050919050565b6000602082840312156113f757600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115611448576114486113fe565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561148e5761148e6113fe565b816040528093508581528686860111156114a757600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156114d357600080fd5b813567ffffffffffffffff8111156114ea57600080fd5b8201601f810184136114fb57600080fd5b61150a8482356020840161142d565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461153457600080fd5b50565b60008060006060848603121561154c57600080fd5b833561155781611512565b925060208401359150604084013567ffffffffffffffff81111561157a57600080fd5b8401601f8101861361158b57600080fd5b61159a8682356020840161142d565b9150509250925092565b600080604083850312156115b757600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815180845260005b8181101561161b576020818501810151868301820152016115ff565b8181111561162d576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061167360208301846115f5565b9392505050565b60006020828403121561168c57600080fd5b815161167381611512565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156116d8576116d8611697565b500390565b600082611713577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561174a5761174a611697565b5060010190565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261179060808301846115f5565b9695505050505050565b8381526060602082015260006117b360608301856115f5565b9050826040830152949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156117fb576117fb611697565b500290565b6000821982111561181357611813611697565b500190565b600063ffffffff80831681851680830382111561183757611837611697565b01949350505050565b600064ffffffffff80831681851680830382111561183757611837611697565b600063ffffffff8083168181141561187a5761187a611697565b6001019392505050565b600063ffffffff838116908316818110156118a1576118a1611697565b039392505050565b600064ffffffffff838116908316818110156118a1576118a1611697565b6000602082840312156118d957600080fd5b5051919050565b6000602082840312156118f257600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461167357600080fd5b84815283602082015282604082015260806060820152600061179060808301846115f556fe436861696e53746f72616765436f6e7461696e65722d4354432d62617463686573a264697066735822122071f9046c41835cfaa3b888bb4aa8b907bdd46588ad69741847a96bf3fcaad90264736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Qje=D((q1a,cUt)=>{cUt.exports={_format:"hh-sol-artifact-1",contractName:"ChainStorageContainer",sourceName:"contracts/L1/rollup/ChainStorageContainer.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b50604051620011b3380380620011b3833981016040819052620000349162000129565b600080546001600160a01b0319166001600160a01b0384161790558051620000649060019060208401906200006d565b50505062000266565b8280546200007b9062000229565b90600052602060002090601f0160209004810192826200009f5760008555620000ea565b82601f10620000ba57805160ff1916838001178555620000ea565b82800160010185558215620000ea579182015b82811115620000ea578251825591602001919060010190620000cd565b50620000f8929150620000fc565b5090565b5b80821115620000f85760008155600101620000fd565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156200013d57600080fd5b82516001600160a01b03811681146200015557600080fd5b602084810151919350906001600160401b03808211156200017557600080fd5b818601915086601f8301126200018a57600080fd5b8151818111156200019f576200019f62000113565b604051601f8201601f19908116603f01168101908382118183101715620001ca57620001ca62000113565b816040528281528986848701011115620001e357600080fd5b600093505b82841015620002075784840186015181850187015292850192620001e8565b82841115620002195760008684830101525b8096505050505050509250929050565b600181811c908216806200023e57607f821691505b602082108114156200026057634e487b7160e01b600052602260045260246000fd5b50919050565b610f3d80620002766000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c8063461a4478116100815780639507d39a1161005b5780639507d39a146101a4578063b298e36b146101b7578063ccf8f969146101ca57600080fd5b8063461a4478146101695780634651d91e1461017c5780638da5cb5b1461018f57600080fd5b80632015276c116100b25780632015276c146100fe57806329061de214610111578063299ca4781461012457600080fd5b8063167fd681146100ce5780631f7b6d32146100e3575b600080fd5b6100e16100dc366004610c59565b6101e9565b005b6100eb61034d565b6040519081526020015b60405180910390f35b6100e161010c366004610c59565b610365565b6100e161011f366004610c85565b61043d565b6000546101449073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f5565b610144610177366004610cd6565b610517565b6100e161018a366004610da5565b6105c4565b61019761069b565b6040516100f59190610dbe565b6100eb6101b2366004610da5565b610729565b6100e16101c5366004610da5565b61073d565b6101d2610814565b60405164ffffffffff1990911681526020016100f5565b61027c600180546101f990610e31565b80601f016020809104026020016040519081016040528092919081815260200182805461022590610e31565b80156102725780601f1061024757610100808354040283529160200191610272565b820191906000526020600020905b81548152906001019060200180831161025557829003601f168201915b5050505050610517565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461033d57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e60648201526084015b60405180910390fd5b61034960028383610825565b5050565b6000610359600261090c565b64ffffffffff16905090565b610375600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461043157604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b61034960028383610957565b61044d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461050957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b6105146002826109e6565b50565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061056e908590600401610dbe565b60206040518083038186803b15801561058657600080fd5b505afa15801561059a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105be9190610e85565b92915050565b6105d4600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461069057604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610a47565b600180546106a890610e31565b80601f01602080910402602001604051908101604052809291908181526020018280546106d490610e31565b80156107215780601f106106f657610100808354040283529160200191610721565b820191906000526020600020905b81548152906001019060200180831161070457829003601f168201915b505050505081565b60006105be600264ffffffffff8416610aa4565b61074d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461080957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610b73565b60006108206002610bd0565b905090565b600061086784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050806000015164ffffffffff168364ffffffffff16106108e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b64ffffffffff8316815264ffffffffff19821660208201526109068482610c1e565b50505050565b60008061094f83604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b519392505050565b600061099984604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805164ffffffffff16600090815260018601602052604090208490558051909150816109c482610ebb565b64ffffffffff1690525064ffffffffff19821660208201526109068482610c1e565b6000610a2883604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b64ffffffffff19831660208201529050610a428382610c1e565b505050565b6000610a8983604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856108259092919063ffffffff16565b600080610ae784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805190915064ffffffffff168310610b5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b50506000908152600191909101602052604090205490565b6000610bb583604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856109579092919063ffffffff16565b600080610c1383604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b602001519392505050565b8051602082015183548183179291908314610c37578285555b5050505050565b803564ffffffffff1981168114610c5457600080fd5b919050565b60008060408385031215610c6c57600080fd5b82359150610c7c60208401610c3e565b90509250929050565b600060208284031215610c9757600080fd5b610ca082610c3e565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610ce857600080fd5b813567ffffffffffffffff80821115610d0057600080fd5b818401915084601f830112610d1457600080fd5b813581811115610d2657610d26610ca7565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610d6c57610d6c610ca7565b81604052828152876020848701011115610d8557600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208284031215610db757600080fd5b5035919050565b600060208083528351808285015260005b81811015610deb57858101830151858201604001528201610dcf565b81811115610dfd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600181811c90821680610e4557607f821691505b60208210811415610e7f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208284031215610e9757600080fd5b815173ffffffffffffffffffffffffffffffffffffffff81168114610ca057600080fd5b600064ffffffffff80831681811415610efd577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600101939250505056fea2646970667358221220e1995ee56c4c5e67de41c56ad510b16704727d3ab1fa5bb2e3c62b0bd7c0597564736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100c95760003560e01c8063461a4478116100815780639507d39a1161005b5780639507d39a146101a4578063b298e36b146101b7578063ccf8f969146101ca57600080fd5b8063461a4478146101695780634651d91e1461017c5780638da5cb5b1461018f57600080fd5b80632015276c116100b25780632015276c146100fe57806329061de214610111578063299ca4781461012457600080fd5b8063167fd681146100ce5780631f7b6d32146100e3575b600080fd5b6100e16100dc366004610c59565b6101e9565b005b6100eb61034d565b6040519081526020015b60405180910390f35b6100e161010c366004610c59565b610365565b6100e161011f366004610c85565b61043d565b6000546101449073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f5565b610144610177366004610cd6565b610517565b6100e161018a366004610da5565b6105c4565b61019761069b565b6040516100f59190610dbe565b6100eb6101b2366004610da5565b610729565b6100e16101c5366004610da5565b61073d565b6101d2610814565b60405164ffffffffff1990911681526020016100f5565b61027c600180546101f990610e31565b80601f016020809104026020016040519081016040528092919081815260200182805461022590610e31565b80156102725780601f1061024757610100808354040283529160200191610272565b820191906000526020600020905b81548152906001019060200180831161025557829003601f168201915b5050505050610517565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461033d57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e60648201526084015b60405180910390fd5b61034960028383610825565b5050565b6000610359600261090c565b64ffffffffff16905090565b610375600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461043157604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b61034960028383610957565b61044d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461050957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b6105146002826109e6565b50565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061056e908590600401610dbe565b60206040518083038186803b15801561058657600080fd5b505afa15801561059a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105be9190610e85565b92915050565b6105d4600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461069057604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610a47565b600180546106a890610e31565b80601f01602080910402602001604051908101604052809291908181526020018280546106d490610e31565b80156107215780601f106106f657610100808354040283529160200191610721565b820191906000526020600020905b81548152906001019060200180831161070457829003601f168201915b505050505081565b60006105be600264ffffffffff8416610aa4565b61074d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461080957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610b73565b60006108206002610bd0565b905090565b600061086784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050806000015164ffffffffff168364ffffffffff16106108e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b64ffffffffff8316815264ffffffffff19821660208201526109068482610c1e565b50505050565b60008061094f83604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b519392505050565b600061099984604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805164ffffffffff16600090815260018601602052604090208490558051909150816109c482610ebb565b64ffffffffff1690525064ffffffffff19821660208201526109068482610c1e565b6000610a2883604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b64ffffffffff19831660208201529050610a428382610c1e565b505050565b6000610a8983604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856108259092919063ffffffff16565b600080610ae784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805190915064ffffffffff168310610b5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b50506000908152600191909101602052604090205490565b6000610bb583604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856109579092919063ffffffff16565b600080610c1383604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b602001519392505050565b8051602082015183548183179291908314610c37578285555b5050505050565b803564ffffffffff1981168114610c5457600080fd5b919050565b60008060408385031215610c6c57600080fd5b82359150610c7c60208401610c3e565b90509250929050565b600060208284031215610c9757600080fd5b610ca082610c3e565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610ce857600080fd5b813567ffffffffffffffff80821115610d0057600080fd5b818401915084601f830112610d1457600080fd5b813581811115610d2657610d26610ca7565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610d6c57610d6c610ca7565b81604052828152876020848701011115610d8557600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208284031215610db757600080fd5b5035919050565b600060208083528351808285015260005b81811015610deb57858101830151858201604001528201610dcf565b81811115610dfd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600181811c90821680610e4557607f821691505b60208210811415610e7f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208284031215610e9757600080fd5b815173ffffffffffffffffffffffffffffffffffffffff81168114610ca057600080fd5b600064ffffffffff80831681811415610efd577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600101939250505056fea2646970667358221220e1995ee56c4c5e67de41c56ad510b16704727d3ab1fa5bb2e3c62b0bd7c0597564736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Vje=D((j1a,dUt)=>{dUt.exports={_format:"hh-sol-artifact-1",contractName:"ICanonicalTransactionChain",sourceName:"contracts/L1/rollup/ICanonicalTransactionChain.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Yje=D((G1a,lUt)=>{lUt.exports={_format:"hh-sol-artifact-1",contractName:"IChainStorageContainer",sourceName:"contracts/L1/rollup/IChainStorageContainer.sol",abi:[{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var $je=D((K1a,uUt)=>{uUt.exports={_format:"hh-sol-artifact-1",contractName:"IStateCommitmentChain",sourceName:"contracts/L1/rollup/IStateCommitmentChain.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"_verified",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Jje=D((Q1a,pUt)=>{pUt.exports={_format:"hh-sol-artifact-1",contractName:"StateCommitmentChain",sourceName:"contracts/L1/rollup/StateCommitmentChain.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_fraudProofWindow",type:"uint256"},{internalType:"uint256",name:"_sequencerPublishWindow",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[],name:"FRAUD_PROOF_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"SEQUENCER_PUBLISH_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506040516120bb3803806120bb83398101604081905261002f9161005b565b600080546001600160a01b0319166001600160a01b03949094169390931790925560015560025561009e565b60008060006060848603121561007057600080fd5b83516001600160a01b038116811461008757600080fd5b602085015160409095015190969495509392505050565b61200e806100ad6000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80638ca5cbb911610081578063c17b291b1161005b578063c17b291b146101bb578063cfdf677e146101c4578063e561dddc146101cc57600080fd5b80638ca5cbb9146101805780639418bddd14610195578063b8e189ac146101a857600080fd5b80637aa63a86116100b25780637aa63a86146101595780637ad168a01461016f57806381eb62ef1461017757600080fd5b8063299ca478146100d9578063461a4478146101235780634d69ee5714610136575b600080fd5b6000546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100f9610131366004611a1b565b6101d4565b610149610144366004611b8d565b610281565b604051901515815260200161011a565b610161610350565b60405190815260200161011a565b610161610369565b61016160025481565b61019361018e366004611c4a565b610382565b005b6101496101a3366004611c8f565b61075c565b6101936101b6366004611c8f565b610804565b61016160015481565b6100f96109c0565b6101616109e8565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061022b908590600401611d2f565b60206040518083038186803b15801561024357600080fd5b505afa158015610257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027b9190611d64565b92915050565b600061028c83610a6f565b6102dd5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064015b60405180910390fd5b6102fa836020015185846000015185602001518760400151610b31565b6103465760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420696e636c7573696f6e2070726f6f662e000000000000000060448201526064016102d4565b5060019392505050565b60008061035b610d9f565b5064ffffffffff1692915050565b600080610374610d9f565b64ffffffffff169392505050565b61038a610350565b81146103fe5760405162461bcd60e51b815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016102d4565b61043c6040518060400160405280600b81526020017f426f6e644d616e616765720000000000000000000000000000000000000000008152506101d4565b6040517f02ad4d2a00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff91909116906302ad4d2a9060240160206040518083038186803b1580156104a357600080fd5b505afa1580156104b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104db9190611d81565b61054d5760405162461bcd60e51b815260206004820152602f60248201527f50726f706f73657220646f6573206e6f74206861766520656e6f75676820636f60448201527f6c6c61746572616c20706f73746564000000000000000000000000000000000060648201526084016102d4565b60008251116105c45760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f74207375626d697420616e20656d7074792073746174652062617460448201527f63682e000000000000000000000000000000000000000000000000000000000060648201526084016102d4565b6106026040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff16637aa63a866040518163ffffffff1660e01b815260040160206040518083038186803b15801561064757600080fd5b505afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190611da3565b8251610689610350565b6106939190611deb565b111561072d5760405162461bcd60e51b815260206004820152604960248201527f4e756d626572206f6620737461746520726f6f74732063616e6e6f742065786360448201527f65656420746865206e756d626572206f662063616e6f6e6963616c207472616e60648201527f73616374696f6e732e0000000000000000000000000000000000000000000000608482015260a4016102d4565b6040805142602082015233818301528151808203830181526060909101909152610758908390610e43565b5050565b60008082608001518060200190518101906107779190611e03565b509050806107ed5760405162461bcd60e51b815260206004820152602560248201527f4261746368206865616465722074696d657374616d702063616e6e6f7420626560448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016102d4565b42600154826107fc9190611deb565b119392505050565b6108426040518060400160405280601181526020017f4f564d5f467261756456657269666965720000000000000000000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108e25760405162461bcd60e51b815260206004820152603b60248201527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f6420627920746865204f564d5f467261756456657269666965722e000000000060648201526084016102d4565b6108eb81610a6f565b6109375760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6109408161075c565b6109b4576040805162461bcd60e51b81526020600482015260248101919091527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f642077697468696e207468652066726175642070726f6f662077696e646f772e60648201526084016102d4565b6109bd816110e6565b50565b60006109e3604051806060016040528060218152602001611fb8602191396101d4565b905090565b60006109f26109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610a3757600080fd5b505afa158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e39190611da3565b6000610a796109c0565b82516040517f9507d39a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921691639507d39a91610ad19160040190815260200190565b60206040518083038186803b158015610ae957600080fd5b505afa158015610afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b219190611da3565b610b2a83611317565b1492915050565b6000808211610ba85760405162461bcd60e51b815260206004820152603760248201527f4c69625f4d65726b6c65547265653a20546f74616c206c6561766573206d757360448201527f742062652067726561746572207468616e207a65726f2e00000000000000000060648201526084016102d4565b818410610c1c5760405162461bcd60e51b8152602060048201526024808201527f4c69625f4d65726b6c65547265653a20496e646578206f7574206f6620626f7560448201527f6e64732e0000000000000000000000000000000000000000000000000000000060648201526084016102d4565b610c258261135d565b835114610cc05760405162461bcd60e51b815260206004820152604d60248201527f4c69625f4d65726b6c65547265653a20546f74616c207369626c696e6773206460448201527f6f6573206e6f7420636f72726563746c7920636f72726573706f6e6420746f2060648201527f746f74616c206c65617665732e00000000000000000000000000000000000000608482015260a4016102d4565b8460005b8451811015610d92578560011660011415610d2b57848181518110610ceb57610ceb611e33565b602002602001015182604051602001610d0e929190918252602082015260400190565b604051602081830303815290604052805190602001209150610d79565b81858281518110610d3e57610d3e611e33565b6020026020010151604051602001610d60929190918252602082015260400190565b6040516020818303038152906040528051906020012091505b60019590951c9480610d8a81611e62565b915050610cc4565b5090951495945050505050565b6000806000610dac6109c0565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b158015610df157600080fd5b505afa158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190611e9b565b64ffffffffff602882901c169460509190911c9350915050565b6000610e836040518060400160405280600c81526020017f4f564d5f50726f706f73657200000000000000000000000000000000000000008152506101d4565b9050600080610e90610d9f565b90925090503373ffffffffffffffffffffffffffffffffffffffff84161415610eba575042610f69565b426002548264ffffffffff16610ed09190611deb565b10610f695760405162461bcd60e51b815260206004820152604360248201527f43616e6e6f74207075626c69736820737461746520726f6f747320776974686960448201527f6e207468652073657175656e636572207075626c69636174696f6e2077696e6460648201527f6f772e0000000000000000000000000000000000000000000000000000000000608482015260a4016102d4565b60006040518060a00160405280610f7e6109e8565b8152602001610f8c88611443565b8152602001875181526020018464ffffffffff16815260200186815250905080600001517f16be4c5129a4e03cf3350262e181dc02ddfb4a6008d925368c0899fcd97ca9c58260200151836040015184606001518560800151604051610ff59493929190611edd565b60405180910390a26110056109c0565b73ffffffffffffffffffffffffffffffffffffffff16632015276c61102983611317565b61104e846040015185606001516110409190611deb565b602887811b91909117901b90565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156110c657600080fd5b505af11580156110da573d6000803e3d6000fd5b50505050505050505050565b6110ee6109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b15801561113357600080fd5b505afa158015611147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116b9190611da3565b8151106111ba5760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420626174636820696e6465782e00000000000000000000000060448201526064016102d4565b6111c381610a6f565b61120f5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6112176109c0565b8151606083015173ffffffffffffffffffffffffffffffffffffffff929092169163167fd681919060281b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156112ba57600080fd5b505af11580156112ce573d6000803e3d6000fd5b5050505080600001517f8747b69ce8fdb31c3b9b0a67bd8049ad8c1a69ea417b69b12174068abd9cbd64826020015160405161130c91815260200190565b60405180910390a250565b600081602001518260400151836060015184608001516040516020016113409493929190611edd565b604051602081830303815290604052805190602001209050919050565b60008082116113d45760405162461bcd60e51b815260206004820152603060248201527f4c69625f4d65726b6c65547265653a2043616e6e6f7420636f6d70757465206360448201527f65696c286c6f675f3229206f6620302e0000000000000000000000000000000060648201526084016102d4565b81600114156113e557506000919050565b81600060805b600181106114235780611401600180831b611f0c565b901b83161561141b576114148183611deb565b92811c9291505b60011c6113eb565b506001811b841461143c57611439600182611deb565b90505b9392505050565b6000808251116114bb5760405162461bcd60e51b815260206004820152603460248201527f4c69625f4d65726b6c65547265653a204d7573742070726f766964652061742060448201527f6c65617374206f6e65206c65616620686173682e00000000000000000000000060648201526084016102d4565b8151600114156114e757816000815181106114d8576114d8611e33565b60200260200101519050919050565b60408051610200810182527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56381527f633dc4d7da7256660a892f8f1604a44b5432649cc8ec5cb3ced4c4e6ac94dd1d60208201527f890740a8eb06ce9be422cb8da5cdafc2b58c0a5e24036c578de2a433c828ff7d818301527f3b8ec09e026fdc305365dfc94e189a81b38c7597b3d941c279f042e8206e0bd86060808301919091527fecd50eee38e386bd62be9bedb990706951b65fe053bd9d8a521af753d139e2da60808301527fdefff6d330bb5403f63b14f33b578274160de3a50df4efecf0e0db73bcdd3da560a08301527f617bdd11f7c0a11f49db22f629387a12da7596f9d1704d7465177c63d88ec7d760c08301527f292c23a9aa1d8bea7e2435e555a4a60e379a5a35f3f452bae60121073fb6eead60e08301527fe1cea92ed99acdcb045a6726b2f87107e8a61620a232cf4d7d5b5766b3952e106101008301527f7ad66c0a68c72cb89e4fb4303841966e4062a76ab97451e3b9fb526a5ceb7f826101208301527fe026cc5a4aed3c22a58cbd3d2ac754c9352c5436f638042dca99034e836365166101408301527f3d04cffd8b46a874edf5cfae63077de85f849a660426697b06a829c70dd1409c6101608301527fad676aa337a485e4728a0b240d92b3ef7b3c372d06d189322bfd5f61f1e7203e6101808301527fa2fca4a49658f9fab7aa63289c91b7c7b6c832a6d0e69334ff5b0a3483d09dab6101a08301527f4ebfd9cd7bca2505f7bef59cc1c12ecc708fff26ae4af19abe852afe9e20c8626101c08301527f2def10d13dd169f550f578bda343d9717a138562e0093b380a1120789d53cf106101e083015282518381529081018352909160009190602082018180368337505085519192506000918291508180805b60018411156118fd57611798600285611f52565b91506117a5600285611f66565b600114905060005b82811015611851578a6117c1826002611f7a565b815181106117d1576117d1611e33565b602002602001015196508a8160026117e99190611f7a565b6117f4906001611deb565b8151811061180457611804611e33565b6020026020010151955086602089015285604089015287805190602001208b828151811061183457611834611e33565b60209081029190910101528061184981611e62565b9150506117ad565b5080156118cd5789611864600186611f0c565b8151811061187457611874611e33565b6020026020010151955087836010811061189057611890611e33565b602002015160001b945085602088015284604088015286805190602001208a83815181106118c0576118c0611e33565b6020026020010181815250505b806118d95760006118dc565b60015b6118e99060ff1683611deb565b9350826118f581611e62565b935050611784565b8960008151811061191057611910611e33565b602002602001015198505050505050505050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561199d5761199d611927565b604052919050565b600067ffffffffffffffff8311156119bf576119bf611927565b6119f060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601611956565b9050828152838383011115611a0457600080fd5b828260208301376000602084830101529392505050565b600060208284031215611a2d57600080fd5b813567ffffffffffffffff811115611a4457600080fd5b8201601f81018413611a5557600080fd5b611a64848235602084016119a5565b949350505050565b600060a08284031215611a7e57600080fd5b60405160a0810167ffffffffffffffff8282108183111715611aa257611aa2611927565b81604052829350843583526020850135602084015260408501356040840152606085013560608401526080850135915080821115611adf57600080fd5b508301601f81018513611af157600080fd5b611b00858235602084016119a5565b6080830152505092915050565b600082601f830112611b1e57600080fd5b8135602067ffffffffffffffff821115611b3a57611b3a611927565b8160051b611b49828201611956565b9283528481018201928281019087851115611b6357600080fd5b83870192505b84831015611b8257823582529183019190830190611b69565b979650505050505050565b600080600060608486031215611ba257600080fd5b83359250602084013567ffffffffffffffff80821115611bc157600080fd5b611bcd87838801611a6c565b93506040860135915080821115611be357600080fd5b9085019060408288031215611bf757600080fd5b604051604081018181108382111715611c1257611c12611927565b60405282358152602083013582811115611c2b57600080fd5b611c3789828601611b0d565b6020830152508093505050509250925092565b60008060408385031215611c5d57600080fd5b823567ffffffffffffffff811115611c7457600080fd5b611c8085828601611b0d565b95602094909401359450505050565b600060208284031215611ca157600080fd5b813567ffffffffffffffff811115611cb857600080fd5b611a6484828501611a6c565b6000815180845260005b81811015611cea57602081850181015186830182015201611cce565b81811115611cfc576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061143c6020830184611cc4565b73ffffffffffffffffffffffffffffffffffffffff811681146109bd57600080fd5b600060208284031215611d7657600080fd5b815161143c81611d42565b600060208284031215611d9357600080fd5b8151801515811461143c57600080fd5b600060208284031215611db557600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115611dfe57611dfe611dbc565b500190565b60008060408385031215611e1657600080fd5b825191506020830151611e2881611d42565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611e9457611e94611dbc565b5060010190565b600060208284031215611ead57600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461143c57600080fd5b848152836020820152826040820152608060608201526000611f026080830184611cc4565b9695505050505050565b600082821015611f1e57611f1e611dbc565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082611f6157611f61611f23565b500490565b600082611f7557611f75611f23565b500690565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611fb257611fb2611dbc565b50029056fe436861696e53746f72616765436f6e7461696e65722d5343432d62617463686573a26469706673582212209fa13437d607d4f762adfcb0d6685a91847a6cbe7462977fd99188a01185f7b564736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100d45760003560e01c80638ca5cbb911610081578063c17b291b1161005b578063c17b291b146101bb578063cfdf677e146101c4578063e561dddc146101cc57600080fd5b80638ca5cbb9146101805780639418bddd14610195578063b8e189ac146101a857600080fd5b80637aa63a86116100b25780637aa63a86146101595780637ad168a01461016f57806381eb62ef1461017757600080fd5b8063299ca478146100d9578063461a4478146101235780634d69ee5714610136575b600080fd5b6000546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100f9610131366004611a1b565b6101d4565b610149610144366004611b8d565b610281565b604051901515815260200161011a565b610161610350565b60405190815260200161011a565b610161610369565b61016160025481565b61019361018e366004611c4a565b610382565b005b6101496101a3366004611c8f565b61075c565b6101936101b6366004611c8f565b610804565b61016160015481565b6100f96109c0565b6101616109e8565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061022b908590600401611d2f565b60206040518083038186803b15801561024357600080fd5b505afa158015610257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027b9190611d64565b92915050565b600061028c83610a6f565b6102dd5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064015b60405180910390fd5b6102fa836020015185846000015185602001518760400151610b31565b6103465760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420696e636c7573696f6e2070726f6f662e000000000000000060448201526064016102d4565b5060019392505050565b60008061035b610d9f565b5064ffffffffff1692915050565b600080610374610d9f565b64ffffffffff169392505050565b61038a610350565b81146103fe5760405162461bcd60e51b815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016102d4565b61043c6040518060400160405280600b81526020017f426f6e644d616e616765720000000000000000000000000000000000000000008152506101d4565b6040517f02ad4d2a00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff91909116906302ad4d2a9060240160206040518083038186803b1580156104a357600080fd5b505afa1580156104b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104db9190611d81565b61054d5760405162461bcd60e51b815260206004820152602f60248201527f50726f706f73657220646f6573206e6f74206861766520656e6f75676820636f60448201527f6c6c61746572616c20706f73746564000000000000000000000000000000000060648201526084016102d4565b60008251116105c45760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f74207375626d697420616e20656d7074792073746174652062617460448201527f63682e000000000000000000000000000000000000000000000000000000000060648201526084016102d4565b6106026040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff16637aa63a866040518163ffffffff1660e01b815260040160206040518083038186803b15801561064757600080fd5b505afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190611da3565b8251610689610350565b6106939190611deb565b111561072d5760405162461bcd60e51b815260206004820152604960248201527f4e756d626572206f6620737461746520726f6f74732063616e6e6f742065786360448201527f65656420746865206e756d626572206f662063616e6f6e6963616c207472616e60648201527f73616374696f6e732e0000000000000000000000000000000000000000000000608482015260a4016102d4565b6040805142602082015233818301528151808203830181526060909101909152610758908390610e43565b5050565b60008082608001518060200190518101906107779190611e03565b509050806107ed5760405162461bcd60e51b815260206004820152602560248201527f4261746368206865616465722074696d657374616d702063616e6e6f7420626560448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016102d4565b42600154826107fc9190611deb565b119392505050565b6108426040518060400160405280601181526020017f4f564d5f467261756456657269666965720000000000000000000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108e25760405162461bcd60e51b815260206004820152603b60248201527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f6420627920746865204f564d5f467261756456657269666965722e000000000060648201526084016102d4565b6108eb81610a6f565b6109375760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6109408161075c565b6109b4576040805162461bcd60e51b81526020600482015260248101919091527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f642077697468696e207468652066726175642070726f6f662077696e646f772e60648201526084016102d4565b6109bd816110e6565b50565b60006109e3604051806060016040528060218152602001611fb8602191396101d4565b905090565b60006109f26109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610a3757600080fd5b505afa158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e39190611da3565b6000610a796109c0565b82516040517f9507d39a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921691639507d39a91610ad19160040190815260200190565b60206040518083038186803b158015610ae957600080fd5b505afa158015610afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b219190611da3565b610b2a83611317565b1492915050565b6000808211610ba85760405162461bcd60e51b815260206004820152603760248201527f4c69625f4d65726b6c65547265653a20546f74616c206c6561766573206d757360448201527f742062652067726561746572207468616e207a65726f2e00000000000000000060648201526084016102d4565b818410610c1c5760405162461bcd60e51b8152602060048201526024808201527f4c69625f4d65726b6c65547265653a20496e646578206f7574206f6620626f7560448201527f6e64732e0000000000000000000000000000000000000000000000000000000060648201526084016102d4565b610c258261135d565b835114610cc05760405162461bcd60e51b815260206004820152604d60248201527f4c69625f4d65726b6c65547265653a20546f74616c207369626c696e6773206460448201527f6f6573206e6f7420636f72726563746c7920636f72726573706f6e6420746f2060648201527f746f74616c206c65617665732e00000000000000000000000000000000000000608482015260a4016102d4565b8460005b8451811015610d92578560011660011415610d2b57848181518110610ceb57610ceb611e33565b602002602001015182604051602001610d0e929190918252602082015260400190565b604051602081830303815290604052805190602001209150610d79565b81858281518110610d3e57610d3e611e33565b6020026020010151604051602001610d60929190918252602082015260400190565b6040516020818303038152906040528051906020012091505b60019590951c9480610d8a81611e62565b915050610cc4565b5090951495945050505050565b6000806000610dac6109c0565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b158015610df157600080fd5b505afa158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190611e9b565b64ffffffffff602882901c169460509190911c9350915050565b6000610e836040518060400160405280600c81526020017f4f564d5f50726f706f73657200000000000000000000000000000000000000008152506101d4565b9050600080610e90610d9f565b90925090503373ffffffffffffffffffffffffffffffffffffffff84161415610eba575042610f69565b426002548264ffffffffff16610ed09190611deb565b10610f695760405162461bcd60e51b815260206004820152604360248201527f43616e6e6f74207075626c69736820737461746520726f6f747320776974686960448201527f6e207468652073657175656e636572207075626c69636174696f6e2077696e6460648201527f6f772e0000000000000000000000000000000000000000000000000000000000608482015260a4016102d4565b60006040518060a00160405280610f7e6109e8565b8152602001610f8c88611443565b8152602001875181526020018464ffffffffff16815260200186815250905080600001517f16be4c5129a4e03cf3350262e181dc02ddfb4a6008d925368c0899fcd97ca9c58260200151836040015184606001518560800151604051610ff59493929190611edd565b60405180910390a26110056109c0565b73ffffffffffffffffffffffffffffffffffffffff16632015276c61102983611317565b61104e846040015185606001516110409190611deb565b602887811b91909117901b90565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156110c657600080fd5b505af11580156110da573d6000803e3d6000fd5b50505050505050505050565b6110ee6109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b15801561113357600080fd5b505afa158015611147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116b9190611da3565b8151106111ba5760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420626174636820696e6465782e00000000000000000000000060448201526064016102d4565b6111c381610a6f565b61120f5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6112176109c0565b8151606083015173ffffffffffffffffffffffffffffffffffffffff929092169163167fd681919060281b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156112ba57600080fd5b505af11580156112ce573d6000803e3d6000fd5b5050505080600001517f8747b69ce8fdb31c3b9b0a67bd8049ad8c1a69ea417b69b12174068abd9cbd64826020015160405161130c91815260200190565b60405180910390a250565b600081602001518260400151836060015184608001516040516020016113409493929190611edd565b604051602081830303815290604052805190602001209050919050565b60008082116113d45760405162461bcd60e51b815260206004820152603060248201527f4c69625f4d65726b6c65547265653a2043616e6e6f7420636f6d70757465206360448201527f65696c286c6f675f3229206f6620302e0000000000000000000000000000000060648201526084016102d4565b81600114156113e557506000919050565b81600060805b600181106114235780611401600180831b611f0c565b901b83161561141b576114148183611deb565b92811c9291505b60011c6113eb565b506001811b841461143c57611439600182611deb565b90505b9392505050565b6000808251116114bb5760405162461bcd60e51b815260206004820152603460248201527f4c69625f4d65726b6c65547265653a204d7573742070726f766964652061742060448201527f6c65617374206f6e65206c65616620686173682e00000000000000000000000060648201526084016102d4565b8151600114156114e757816000815181106114d8576114d8611e33565b60200260200101519050919050565b60408051610200810182527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56381527f633dc4d7da7256660a892f8f1604a44b5432649cc8ec5cb3ced4c4e6ac94dd1d60208201527f890740a8eb06ce9be422cb8da5cdafc2b58c0a5e24036c578de2a433c828ff7d818301527f3b8ec09e026fdc305365dfc94e189a81b38c7597b3d941c279f042e8206e0bd86060808301919091527fecd50eee38e386bd62be9bedb990706951b65fe053bd9d8a521af753d139e2da60808301527fdefff6d330bb5403f63b14f33b578274160de3a50df4efecf0e0db73bcdd3da560a08301527f617bdd11f7c0a11f49db22f629387a12da7596f9d1704d7465177c63d88ec7d760c08301527f292c23a9aa1d8bea7e2435e555a4a60e379a5a35f3f452bae60121073fb6eead60e08301527fe1cea92ed99acdcb045a6726b2f87107e8a61620a232cf4d7d5b5766b3952e106101008301527f7ad66c0a68c72cb89e4fb4303841966e4062a76ab97451e3b9fb526a5ceb7f826101208301527fe026cc5a4aed3c22a58cbd3d2ac754c9352c5436f638042dca99034e836365166101408301527f3d04cffd8b46a874edf5cfae63077de85f849a660426697b06a829c70dd1409c6101608301527fad676aa337a485e4728a0b240d92b3ef7b3c372d06d189322bfd5f61f1e7203e6101808301527fa2fca4a49658f9fab7aa63289c91b7c7b6c832a6d0e69334ff5b0a3483d09dab6101a08301527f4ebfd9cd7bca2505f7bef59cc1c12ecc708fff26ae4af19abe852afe9e20c8626101c08301527f2def10d13dd169f550f578bda343d9717a138562e0093b380a1120789d53cf106101e083015282518381529081018352909160009190602082018180368337505085519192506000918291508180805b60018411156118fd57611798600285611f52565b91506117a5600285611f66565b600114905060005b82811015611851578a6117c1826002611f7a565b815181106117d1576117d1611e33565b602002602001015196508a8160026117e99190611f7a565b6117f4906001611deb565b8151811061180457611804611e33565b6020026020010151955086602089015285604089015287805190602001208b828151811061183457611834611e33565b60209081029190910101528061184981611e62565b9150506117ad565b5080156118cd5789611864600186611f0c565b8151811061187457611874611e33565b6020026020010151955087836010811061189057611890611e33565b602002015160001b945085602088015284604088015286805190602001208a83815181106118c0576118c0611e33565b6020026020010181815250505b806118d95760006118dc565b60015b6118e99060ff1683611deb565b9350826118f581611e62565b935050611784565b8960008151811061191057611910611e33565b602002602001015198505050505050505050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561199d5761199d611927565b604052919050565b600067ffffffffffffffff8311156119bf576119bf611927565b6119f060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601611956565b9050828152838383011115611a0457600080fd5b828260208301376000602084830101529392505050565b600060208284031215611a2d57600080fd5b813567ffffffffffffffff811115611a4457600080fd5b8201601f81018413611a5557600080fd5b611a64848235602084016119a5565b949350505050565b600060a08284031215611a7e57600080fd5b60405160a0810167ffffffffffffffff8282108183111715611aa257611aa2611927565b81604052829350843583526020850135602084015260408501356040840152606085013560608401526080850135915080821115611adf57600080fd5b508301601f81018513611af157600080fd5b611b00858235602084016119a5565b6080830152505092915050565b600082601f830112611b1e57600080fd5b8135602067ffffffffffffffff821115611b3a57611b3a611927565b8160051b611b49828201611956565b9283528481018201928281019087851115611b6357600080fd5b83870192505b84831015611b8257823582529183019190830190611b69565b979650505050505050565b600080600060608486031215611ba257600080fd5b83359250602084013567ffffffffffffffff80821115611bc157600080fd5b611bcd87838801611a6c565b93506040860135915080821115611be357600080fd5b9085019060408288031215611bf757600080fd5b604051604081018181108382111715611c1257611c12611927565b60405282358152602083013582811115611c2b57600080fd5b611c3789828601611b0d565b6020830152508093505050509250925092565b60008060408385031215611c5d57600080fd5b823567ffffffffffffffff811115611c7457600080fd5b611c8085828601611b0d565b95602094909401359450505050565b600060208284031215611ca157600080fd5b813567ffffffffffffffff811115611cb857600080fd5b611a6484828501611a6c565b6000815180845260005b81811015611cea57602081850181015186830182015201611cce565b81811115611cfc576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061143c6020830184611cc4565b73ffffffffffffffffffffffffffffffffffffffff811681146109bd57600080fd5b600060208284031215611d7657600080fd5b815161143c81611d42565b600060208284031215611d9357600080fd5b8151801515811461143c57600080fd5b600060208284031215611db557600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115611dfe57611dfe611dbc565b500190565b60008060408385031215611e1657600080fd5b825191506020830151611e2881611d42565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611e9457611e94611dbc565b5060010190565b600060208284031215611ead57600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461143c57600080fd5b848152836020820152826040820152608060608201526000611f026080830184611cc4565b9695505050505050565b600082821015611f1e57611f1e611dbc565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082611f6157611f61611f23565b500490565b600082611f7557611f75611f23565b500690565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611fb257611fb2611dbc565b50029056fe436861696e53746f72616765436f6e7461696e65722d5343432d62617463686573a26469706673582212209fa13437d607d4f762adfcb0d6685a91847a6cbe7462977fd99188a01185f7b564736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Xje=D((V1a,hUt)=>{hUt.exports={_format:"hh-sol-artifact-1",contractName:"BondManager",sourceName:"contracts/L1/verification/BondManager.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5060405161048838038061048883398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b6103f5806100936000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806302ad4d2a14610046578063299ca4781461006e578063461a4478146100b3575b600080fd5b61005961005436600461020d565b6100c6565b60405190151581526020015b60405180910390f35b60005461008e9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610065565b61008e6100c1366004610260565b61013b565b60006101066040518060400160405280600c81526020017f4f564d5f50726f706f736572000000000000000000000000000000000000000081525061013b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061019290859060040161032f565b60206040518083038186803b1580156101aa57600080fd5b505afa1580156101be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e291906103a2565b92915050565b73ffffffffffffffffffffffffffffffffffffffff8116811461020a57600080fd5b50565b60006020828403121561021f57600080fd5b813561022a816101e8565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561027257600080fd5b813567ffffffffffffffff8082111561028a57600080fd5b818401915084601f83011261029e57600080fd5b8135818111156102b0576102b0610231565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156102f6576102f6610231565b8160405282815287602084870101111561030f57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b8181101561035c57858101830151858201604001528201610340565b8181111561036e576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000602082840312156103b457600080fd5b815161022a816101e856fea26469706673582212206d45ac9d4da85c7fa5ddf8f46b2c33843e35e585aeabba15cbcdb39ea83ef2e064736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100415760003560e01c806302ad4d2a14610046578063299ca4781461006e578063461a4478146100b3575b600080fd5b61005961005436600461020d565b6100c6565b60405190151581526020015b60405180910390f35b60005461008e9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610065565b61008e6100c1366004610260565b61013b565b60006101066040518060400160405280600c81526020017f4f564d5f50726f706f736572000000000000000000000000000000000000000081525061013b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061019290859060040161032f565b60206040518083038186803b1580156101aa57600080fd5b505afa1580156101be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e291906103a2565b92915050565b73ffffffffffffffffffffffffffffffffffffffff8116811461020a57600080fd5b50565b60006020828403121561021f57600080fd5b813561022a816101e8565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561027257600080fd5b813567ffffffffffffffff8082111561028a57600080fd5b818401915084601f83011261029e57600080fd5b8135818111156102b0576102b0610231565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156102f6576102f6610231565b8160405282815287602084870101111561030f57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b8181101561035c57858101830151858201604001528201610340565b8181111561036e576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000602082840312156103b457600080fd5b815161022a816101e856fea26469706673582212206d45ac9d4da85c7fa5ddf8f46b2c33843e35e585aeabba15cbcdb39ea83ef2e064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Zje=D((Y1a,bUt)=>{bUt.exports={_format:"hh-sol-artifact-1",contractName:"IBondManager",sourceName:"contracts/L1/verification/IBondManager.sol",abi:[{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var eGe=D(($1a,mUt)=>{mUt.exports={_format:"hh-sol-artifact-1",contractName:"IL2CrossDomainMessenger",sourceName:"contracts/L2/messaging/IL2CrossDomainMessenger.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var tGe=D((J1a,yUt)=>{yUt.exports={_format:"hh-sol-artifact-1",contractName:"IL2ERC20Bridge",sourceName:"contracts/L2/messaging/IL2ERC20Bridge.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFailed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"WithdrawalInitiated",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var nGe=D((X1a,gUt)=>{gUt.exports={_format:"hh-sol-artifact-1",contractName:"L2CrossDomainMessenger",sourceName:"contracts/L2/messaging/L2CrossDomainMessenger.sol",abi:[{inputs:[{internalType:"address",name:"_l1CrossDomainMessenger",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[],name:"l1CrossDomainMessenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"sentMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x6080604052600480546001600160a01b03191661dead17905534801561002457600080fd5b50604051610cc3380380610cc383398101604081905261004391610068565b600580546001600160a01b0319166001600160a01b0392909216919091179055610098565b60006020828403121561007a57600080fd5b81516001600160a01b038116811461009157600080fd5b9392505050565b610c1c806100a76000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063a71198691161005b578063a71198691461012a578063b1b1b2091461014a578063cbd4ece91461016d578063ecc704281461018057600080fd5b806321d800ec1461008d5780633dbb202b146100c55780636e296e45146100da57806382e3702d14610107575b600080fd5b6100b061009b366004610826565b60006020819052908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100d86100d3366004610942565b610197565b005b6100e26102e2565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100bc565b6100b0610115366004610826565b60026020526000908152604090205460ff1681565b6005546100e29073ffffffffffffffffffffffffffffffffffffffff1681565b6100b0610158366004610826565b60016020526000908152604090205460ff1681565b6100d861017b3660046109ad565b61038b565b61018960035481565b6040519081526020016100bc565b60006101a784338560035461078d565b80516020808301919091206000908152600290915260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055517fcafa81dc0000000000000000000000000000000000000000000000000000000081529091507342000000000000000000000000000000000000009063cafa81dc9061023c908490600401610a89565b600060405180830381600087803b15801561025657600080fd5b505af115801561026a573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385600354866040516102bc9493929190610aa3565b60405180910390a26001600360008282546102d79190610aef565b909155505050505050565b60045460009073ffffffffffffffffffffffffffffffffffffffff1661dead141561036e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060045473ffffffffffffffffffffffffffffffffffffffff1690565b60055473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef330173ffffffffffffffffffffffffffffffffffffffff161461046a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610365565b60006104788585858561078d565b8051602080830191909120600081815260019092526040909120549192509060ff1615610527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610365565b73ffffffffffffffffffffffffffffffffffffffff8616734200000000000000000000000000000000000000141561059957600090815260016020819052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909117905550610787565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff878116919091179091556040516000918816906105f2908790610b2e565b6000604051808303816000865af19150503d806000811461062f576040519150601f19603f3d011682016040523d82523d6000602084013e610634565b606091505b5050600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790559050801515600114156106d557600082815260016020819052604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169092179091555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610701565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b600083334360405160200161071893929190610b4a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181528151602092830120600090815291829052902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055505050505b50505050565b6060848484846040516024016107a69493929190610b9c565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b60006020828403121561083857600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461086357600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126108a857600080fd5b813567ffffffffffffffff808211156108c3576108c3610868565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561090957610909610868565b8160405283815286602085880101111561092257600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561095757600080fd5b6109608461083f565b9250602084013567ffffffffffffffff81111561097c57600080fd5b61098886828701610897565b925050604084013563ffffffff811681146109a257600080fd5b809150509250925092565b600080600080608085870312156109c357600080fd5b6109cc8561083f565b93506109da6020860161083f565b9250604085013567ffffffffffffffff8111156109f657600080fd5b610a0287828801610897565b949793965093946060013593505050565b60005b83811015610a2e578181015183820152602001610a16565b838111156107875750506000910152565b60008151808452610a57816020860160208601610a13565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610a9c6020830184610a3f565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000610ad26080830186610a3f565b905083604083015263ffffffff8316606083015295945050505050565b60008219821115610b29577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500190565b60008251610b40818460208701610a13565b9190910192915050565b60008451610b5c818460208901610a13565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152610bd56080830185610a3f565b90508260608301529594505050505056fea26469706673582212200850448c0279e4b97192d90d3a7dc1713b21b1d60ff8c8e34c2f8910d610b65064736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063a71198691161005b578063a71198691461012a578063b1b1b2091461014a578063cbd4ece91461016d578063ecc704281461018057600080fd5b806321d800ec1461008d5780633dbb202b146100c55780636e296e45146100da57806382e3702d14610107575b600080fd5b6100b061009b366004610826565b60006020819052908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100d86100d3366004610942565b610197565b005b6100e26102e2565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100bc565b6100b0610115366004610826565b60026020526000908152604090205460ff1681565b6005546100e29073ffffffffffffffffffffffffffffffffffffffff1681565b6100b0610158366004610826565b60016020526000908152604090205460ff1681565b6100d861017b3660046109ad565b61038b565b61018960035481565b6040519081526020016100bc565b60006101a784338560035461078d565b80516020808301919091206000908152600290915260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055517fcafa81dc0000000000000000000000000000000000000000000000000000000081529091507342000000000000000000000000000000000000009063cafa81dc9061023c908490600401610a89565b600060405180830381600087803b15801561025657600080fd5b505af115801561026a573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385600354866040516102bc9493929190610aa3565b60405180910390a26001600360008282546102d79190610aef565b909155505050505050565b60045460009073ffffffffffffffffffffffffffffffffffffffff1661dead141561036e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060045473ffffffffffffffffffffffffffffffffffffffff1690565b60055473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef330173ffffffffffffffffffffffffffffffffffffffff161461046a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610365565b60006104788585858561078d565b8051602080830191909120600081815260019092526040909120549192509060ff1615610527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610365565b73ffffffffffffffffffffffffffffffffffffffff8616734200000000000000000000000000000000000000141561059957600090815260016020819052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909117905550610787565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff878116919091179091556040516000918816906105f2908790610b2e565b6000604051808303816000865af19150503d806000811461062f576040519150601f19603f3d011682016040523d82523d6000602084013e610634565b606091505b5050600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790559050801515600114156106d557600082815260016020819052604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169092179091555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610701565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b600083334360405160200161071893929190610b4a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181528151602092830120600090815291829052902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055505050505b50505050565b6060848484846040516024016107a69493929190610b9c565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b60006020828403121561083857600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461086357600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126108a857600080fd5b813567ffffffffffffffff808211156108c3576108c3610868565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561090957610909610868565b8160405283815286602085880101111561092257600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561095757600080fd5b6109608461083f565b9250602084013567ffffffffffffffff81111561097c57600080fd5b61098886828701610897565b925050604084013563ffffffff811681146109a257600080fd5b809150509250925092565b600080600080608085870312156109c357600080fd5b6109cc8561083f565b93506109da6020860161083f565b9250604085013567ffffffffffffffff8111156109f657600080fd5b610a0287828801610897565b949793965093946060013593505050565b60005b83811015610a2e578181015183820152602001610a16565b838111156107875750506000910152565b60008151808452610a57816020860160208601610a13565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610a9c6020830184610a3f565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000610ad26080830186610a3f565b905083604083015263ffffffff8316606083015295945050505050565b60008219821115610b29577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500190565b60008251610b40818460208701610a13565b9190910192915050565b60008451610b5c818460208901610a13565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152610bd56080830185610a3f565b90508260608301529594505050505056fea26469706673582212200850448c0279e4b97192d90d3a7dc1713b21b1d60ff8c8e34c2f8910d610b65064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var aGe=D((Z1a,vUt)=>{vUt.exports={_format:"hh-sol-artifact-1",contractName:"L2StandardBridge",sourceName:"contracts/L2/messaging/L2StandardBridge.sol",abi:[{inputs:[{internalType:"address",name:"_l2CrossDomainMessenger",type:"address"},{internalType:"address",name:"_l1TokenBridge",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFailed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"WithdrawalInitiated",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506040516111c43803806111c483398101604081905261002f9161007c565b600080546001600160a01b039384166001600160a01b031991821617909155600180549290931691161790556100af565b80516001600160a01b038116811461007757600080fd5b919050565b6000806040838503121561008f57600080fd5b61009883610060565b91506100a660208401610060565b90509250929050565b611106806100be6000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80633cb747bf116100505780633cb747bf146100ca578063662a633a146100ea578063a3a79548146100fd57600080fd5b806332b7006d1461006c57806336c717c114610081575b600080fd5b61007f61007a366004610d0f565b610110565b005b6001546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b61007f6100f8366004610d80565b610126565b61007f61010b366004610e18565b6106c1565b61011f853333878787876106d8565b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661015e60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461021d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e7469636174656400000000000000000000000000000000000060648201526084015b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661025360005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561029857600080fd5b505afa1580156102ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d09190610e9b565b73ffffffffffffffffffffffffffffffffffffffff1614610373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610214565b61039d877f1d1d8b6300000000000000000000000000000000000000000000000000000000610a32565b801561045357508673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156103ec57600080fd5b505af1158015610400573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104249190610e9b565b73ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16145b15610567576040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018690528816906340c10f1990604401600060405180830381600087803b1580156104c857600080fd5b505af11580156104dc573d6000803e3d6000fd5b505050508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd898888888860405161055a9493929190610f08565b60405180910390a46106b7565b600063a9f9e67560e01b8989888a89898960405160240161058e9796959493929190610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506106339073ffffffffffffffffffffffffffffffffffffffff16600083610a57565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167f7ea89a4591614515571c2b51f5ea06494056f261c10ab1ed8c03c7590d87bce0898989896040516106ad9493929190610f08565b60405180910390a4505b5050505050505050565b6106d0863387878787876106d8565b505050505050565b6040517f9dc29fac0000000000000000000000000000000000000000000000000000000081523360048201526024810185905273ffffffffffffffffffffffffffffffffffffffff881690639dc29fac90604401600060405180830381600087803b15801561074657600080fd5b505af115801561075a573d6000803e3d6000fd5b5050505060008773ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156107a857600080fd5b505af11580156107bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e09190610e9b565b9050606073ffffffffffffffffffffffffffffffffffffffff891673deaddeaddeaddeaddeaddeaddeaddeaddead000014156108d5576040517f1532ec340000000000000000000000000000000000000000000000000000000090610851908a908a908a9089908990602401610f9b565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091529050610994565b6040517fa9f9e67500000000000000000000000000000000000000000000000000000000906109149084908c908c908c908c908b908b90602401610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915290505b6001546109b89073ffffffffffffffffffffffffffffffffffffffff168683610a57565b3373ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e8a8a89896040516106ad9493929190610f08565b6000610a3d83610ae8565b8015610a4e5750610a4e8383610b4c565b90505b92915050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610ab190869085908790600401611016565b600060405180830381600087803b158015610acb57600080fd5b505af1158015610adf573d6000803e3d6000fd5b50505050505050565b6000610b14827f01ffc9a700000000000000000000000000000000000000000000000000000000610b4c565b8015610a515750610b45827fffffffff00000000000000000000000000000000000000000000000000000000610b4c565b1592915050565b604080517fffffffff00000000000000000000000000000000000000000000000000000000831660248083019190915282518083039091018152604490910182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a7000000000000000000000000000000000000000000000000000000001790529051600091908290819073ffffffffffffffffffffffffffffffffffffffff87169061753090610c06908690611092565b6000604051808303818686fa925050503d8060008114610c42576040519150601f19603f3d011682016040523d82523d6000602084013e610c47565b606091505b5091509150602081511015610c625760009350505050610a51565b818015610c7e575080806020019051810190610c7e91906110ae565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610caa57600080fd5b50565b803563ffffffff81168114610cc157600080fd5b919050565b60008083601f840112610cd857600080fd5b50813567ffffffffffffffff811115610cf057600080fd5b602083019150836020828501011115610d0857600080fd5b9250929050565b600080600080600060808688031215610d2757600080fd5b8535610d3281610c88565b945060208601359350610d4760408701610cad565b9250606086013567ffffffffffffffff811115610d6357600080fd5b610d6f88828901610cc6565b969995985093965092949392505050565b600080600080600080600060c0888a031215610d9b57600080fd5b8735610da681610c88565b96506020880135610db681610c88565b95506040880135610dc681610c88565b94506060880135610dd681610c88565b93506080880135925060a088013567ffffffffffffffff811115610df957600080fd5b610e058a828b01610cc6565b989b979a50959850939692959293505050565b60008060008060008060a08789031215610e3157600080fd5b8635610e3c81610c88565b95506020870135610e4c81610c88565b945060408701359350610e6160608801610cad565b9250608087013567ffffffffffffffff811115610e7d57600080fd5b610e8989828a01610cc6565b979a9699509497509295939492505050565b600060208284031215610ead57600080fd5b8151610eb881610c88565b9392505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff85168152836020820152606060408201526000610c7e606083018486610ebf565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a0830152610f8e60c083018486610ebf565b9998505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015260806060830152610fdb608083018486610ebf565b979650505050505050565b60005b83811015611001578181015183820152602001610fe9565b83811115611010576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260008351806060840152611051816080850160208801610fe6565b63ffffffff93909316604083015250601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160160800192915050565b600082516110a4818460208701610fe6565b9190910192915050565b6000602082840312156110c057600080fd5b81518015158114610eb857600080fdfea264697066735822122010667ebcc24792729564391d0b930bac1cb56e230a93bcfd2f78b11ecc51757e64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100675760003560e01c80633cb747bf116100505780633cb747bf146100ca578063662a633a146100ea578063a3a79548146100fd57600080fd5b806332b7006d1461006c57806336c717c114610081575b600080fd5b61007f61007a366004610d0f565b610110565b005b6001546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b61007f6100f8366004610d80565b610126565b61007f61010b366004610e18565b6106c1565b61011f853333878787876106d8565b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661015e60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461021d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e7469636174656400000000000000000000000000000000000060648201526084015b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661025360005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561029857600080fd5b505afa1580156102ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d09190610e9b565b73ffffffffffffffffffffffffffffffffffffffff1614610373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610214565b61039d877f1d1d8b6300000000000000000000000000000000000000000000000000000000610a32565b801561045357508673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156103ec57600080fd5b505af1158015610400573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104249190610e9b565b73ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16145b15610567576040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018690528816906340c10f1990604401600060405180830381600087803b1580156104c857600080fd5b505af11580156104dc573d6000803e3d6000fd5b505050508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd898888888860405161055a9493929190610f08565b60405180910390a46106b7565b600063a9f9e67560e01b8989888a89898960405160240161058e9796959493929190610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506106339073ffffffffffffffffffffffffffffffffffffffff16600083610a57565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167f7ea89a4591614515571c2b51f5ea06494056f261c10ab1ed8c03c7590d87bce0898989896040516106ad9493929190610f08565b60405180910390a4505b5050505050505050565b6106d0863387878787876106d8565b505050505050565b6040517f9dc29fac0000000000000000000000000000000000000000000000000000000081523360048201526024810185905273ffffffffffffffffffffffffffffffffffffffff881690639dc29fac90604401600060405180830381600087803b15801561074657600080fd5b505af115801561075a573d6000803e3d6000fd5b5050505060008773ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156107a857600080fd5b505af11580156107bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e09190610e9b565b9050606073ffffffffffffffffffffffffffffffffffffffff891673deaddeaddeaddeaddeaddeaddeaddeaddead000014156108d5576040517f1532ec340000000000000000000000000000000000000000000000000000000090610851908a908a908a9089908990602401610f9b565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091529050610994565b6040517fa9f9e67500000000000000000000000000000000000000000000000000000000906109149084908c908c908c908c908b908b90602401610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915290505b6001546109b89073ffffffffffffffffffffffffffffffffffffffff168683610a57565b3373ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e8a8a89896040516106ad9493929190610f08565b6000610a3d83610ae8565b8015610a4e5750610a4e8383610b4c565b90505b92915050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610ab190869085908790600401611016565b600060405180830381600087803b158015610acb57600080fd5b505af1158015610adf573d6000803e3d6000fd5b50505050505050565b6000610b14827f01ffc9a700000000000000000000000000000000000000000000000000000000610b4c565b8015610a515750610b45827fffffffff00000000000000000000000000000000000000000000000000000000610b4c565b1592915050565b604080517fffffffff00000000000000000000000000000000000000000000000000000000831660248083019190915282518083039091018152604490910182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a7000000000000000000000000000000000000000000000000000000001790529051600091908290819073ffffffffffffffffffffffffffffffffffffffff87169061753090610c06908690611092565b6000604051808303818686fa925050503d8060008114610c42576040519150601f19603f3d011682016040523d82523d6000602084013e610c47565b606091505b5091509150602081511015610c625760009350505050610a51565b818015610c7e575080806020019051810190610c7e91906110ae565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610caa57600080fd5b50565b803563ffffffff81168114610cc157600080fd5b919050565b60008083601f840112610cd857600080fd5b50813567ffffffffffffffff811115610cf057600080fd5b602083019150836020828501011115610d0857600080fd5b9250929050565b600080600080600060808688031215610d2757600080fd5b8535610d3281610c88565b945060208601359350610d4760408701610cad565b9250606086013567ffffffffffffffff811115610d6357600080fd5b610d6f88828901610cc6565b969995985093965092949392505050565b600080600080600080600060c0888a031215610d9b57600080fd5b8735610da681610c88565b96506020880135610db681610c88565b95506040880135610dc681610c88565b94506060880135610dd681610c88565b93506080880135925060a088013567ffffffffffffffff811115610df957600080fd5b610e058a828b01610cc6565b989b979a50959850939692959293505050565b60008060008060008060a08789031215610e3157600080fd5b8635610e3c81610c88565b95506020870135610e4c81610c88565b945060408701359350610e6160608801610cad565b9250608087013567ffffffffffffffff811115610e7d57600080fd5b610e8989828a01610cc6565b979a9699509497509295939492505050565b600060208284031215610ead57600080fd5b8151610eb881610c88565b9392505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff85168152836020820152606060408201526000610c7e606083018486610ebf565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a0830152610f8e60c083018486610ebf565b9998505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015260806060830152610fdb608083018486610ebf565b979650505050505050565b60005b83811015611001578181015183820152602001610fe9565b83811115611010576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260008351806060840152611051816080850160208801610fe6565b63ffffffff93909316604083015250601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160160800192915050565b600082516110a4818460208701610fe6565b9190910192915050565b6000602082840312156110c057600080fd5b81518015158114610eb857600080fdfea264697066735822122010667ebcc24792729564391d0b930bac1cb56e230a93bcfd2f78b11ecc51757e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var rGe=D((eca,wUt)=>{wUt.exports={_format:"hh-sol-artifact-1",contractName:"L2StandardTokenFactory",sourceName:"contracts/L2/messaging/L2StandardTokenFactory.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"}],name:"StandardL2TokenCreated",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],name:"createStandardL2Token",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506117bc806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063896f93d114610030575b600080fd5b61004361003e36600461025f565b610045565b005b73ffffffffffffffffffffffffffffffffffffffff83166100c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d7573742070726f76696465204c3120746f6b656e2061646472657373000000604482015260640160405180910390fd5b60007342000000000000000000000000000000000000108484846040516100ec90610178565b6100f99493929190610359565b604051809103906000f080158015610115573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a350505050565b6113d7806103b083390190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126101c557600080fd5b813567ffffffffffffffff808211156101e0576101e0610185565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561022657610226610185565b8160405283815286602085880101111561023f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561027457600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461029857600080fd5b9250602084013567ffffffffffffffff808211156102b557600080fd5b6102c1878388016101b4565b935060408601359150808211156102d757600080fd5b506102e4868287016101b4565b9150509250925092565b6000815180845260005b81811015610314576020818501810151868301820152016102f8565b81811115610326576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152506080604083015261039260808301856102ee565b82810360608401526103a481856102ee565b97965050505050505056fe60806040523480156200001157600080fd5b50604051620013d7380380620013d783398101604081905262000034916200022f565b8151829082906200004d9060039060208501906200009f565b508051620000639060049060208401906200009f565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620002fc915050565b828054620000ad90620002bf565b90600052602060002090601f016020900481019282620000d157600085556200011c565b82601f10620000ec57805160ff19168380011785556200011c565b828001600101855582156200011c579182015b828111156200011c578251825591602001919060010190620000ff565b506200012a9291506200012e565b5090565b5b808211156200012a57600081556001016200012f565b80516001600160a01b03811681146200015d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018a57600080fd5b81516001600160401b0380821115620001a757620001a762000162565b604051601f8301601f19908116603f01168101908282118183101715620001d257620001d262000162565b81604052838152602092508683858801011115620001ef57600080fd5b600091505b83821015620002135785820183015181830184015290820190620001f4565b83821115620002255760008385830101525b9695505050505050565b600080600080608085870312156200024657600080fd5b620002518562000145565b9350620002616020860162000145565b60408601519093506001600160401b03808211156200027f57600080fd5b6200028d8883890162000178565b93506060870151915080821115620002a457600080fd5b50620002b38782880162000178565b91505092959194509250565b600181811c90821680620002d457607f821691505b60208210811415620002f657634e487b7160e01b600052602260045260246000fd5b50919050565b6110cb806200030c6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033a2646970667358221220d2e13f28319115807ec7308d1cd88642a8542d0b838e00b8769f8a85d696f26764736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063896f93d114610030575b600080fd5b61004361003e36600461025f565b610045565b005b73ffffffffffffffffffffffffffffffffffffffff83166100c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d7573742070726f76696465204c3120746f6b656e2061646472657373000000604482015260640160405180910390fd5b60007342000000000000000000000000000000000000108484846040516100ec90610178565b6100f99493929190610359565b604051809103906000f080158015610115573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a350505050565b6113d7806103b083390190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126101c557600080fd5b813567ffffffffffffffff808211156101e0576101e0610185565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561022657610226610185565b8160405283815286602085880101111561023f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561027457600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461029857600080fd5b9250602084013567ffffffffffffffff808211156102b557600080fd5b6102c1878388016101b4565b935060408601359150808211156102d757600080fd5b506102e4868287016101b4565b9150509250925092565b6000815180845260005b81811015610314576020818501810151868301820152016102f8565b81811115610326576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152506080604083015261039260808301856102ee565b82810360608401526103a481856102ee565b97965050505050505056fe60806040523480156200001157600080fd5b50604051620013d7380380620013d783398101604081905262000034916200022f565b8151829082906200004d9060039060208501906200009f565b508051620000639060049060208401906200009f565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620002fc915050565b828054620000ad90620002bf565b90600052602060002090601f016020900481019282620000d157600085556200011c565b82601f10620000ec57805160ff19168380011785556200011c565b828001600101855582156200011c579182015b828111156200011c578251825591602001919060010190620000ff565b506200012a9291506200012e565b5090565b5b808211156200012a57600081556001016200012f565b80516001600160a01b03811681146200015d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018a57600080fd5b81516001600160401b0380821115620001a757620001a762000162565b604051601f8301601f19908116603f01168101908282118183101715620001d257620001d262000162565b81604052838152602092508683858801011115620001ef57600080fd5b600091505b83821015620002135785820183015181830184015290820190620001f4565b83821115620002255760008385830101525b9695505050505050565b600080600080608085870312156200024657600080fd5b620002518562000145565b9350620002616020860162000145565b60408601519093506001600160401b03808211156200027f57600080fd5b6200028d8883890162000178565b93506060870151915080821115620002a457600080fd5b50620002b38782880162000178565b91505092959194509250565b600181811c90821680620002d457607f821691505b60208210811415620002f657634e487b7160e01b600052602260045260246000fd5b50919050565b6110cb806200030c6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033a2646970667358221220d2e13f28319115807ec7308d1cd88642a8542d0b838e00b8769f8a85d696f26764736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var fGe=D((tca,TUt)=>{TUt.exports={_format:"hh-sol-artifact-1",contractName:"iOVM_L1BlockNumber",sourceName:"contracts/L2/predeploys/iOVM_L1BlockNumber.sol",abi:[{inputs:[],name:"getL1BlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var iGe=D((nca,xUt)=>{xUt.exports={_format:"hh-sol-artifact-1",contractName:"iOVM_L2ToL1MessagePasser",sourceName:"contracts/L2/predeploys/iOVM_L2ToL1MessagePasser.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_nonce",type:"uint256"},{indexed:!1,internalType:"address",name:"_sender",type:"address"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"L2ToL1Message",type:"event"},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"}],name:"passMessageToL1",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var sGe=D((aca,EUt)=>{EUt.exports={_format:"hh-sol-artifact-1",contractName:"OVM_DeployerWhitelist",sourceName:"contracts/L2/predeploys/OVM_DeployerWhitelist.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"oldOwner",type:"address"},{indexed:!1,internalType:"address",name:"newOwner",type:"address"}],name:"OwnerChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"oldOwner",type:"address"}],name:"WhitelistDisabled",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"deployer",type:"address"},{indexed:!1,internalType:"bool",name:"whitelisted",type:"bool"}],name:"WhitelistStatusChanged",type:"event"},{inputs:[],name:"enableArbitraryContractDeployment",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_deployer",type:"address"}],name:"isDeployerAllowed",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_deployer",type:"address"},{internalType:"bool",name:"_isWhitelisted",type:"bool"}],name:"setWhitelistedDeployer",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"whitelist",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506106a8806100206000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c80639b19251a116100505780639b19251a146100e9578063b1540a011461011c578063bdc7b54f1461012f57600080fd5b806308fd63221461007757806313af40351461008c5780638da5cb5b1461009f575b600080fd5b61008a610085366004610614565b610137565b005b61008a61009a366004610650565b610271565b6000546100bf9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61010c6100f7366004610650565b60016020526000908152604090205460ff1681565b60405190151581526020016100e0565b61010c61012a366004610650565b61047c565b61008a6104cd565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526001602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168515159081179091558251938452908301527f8daaf060c3306c38e068a75c054bf96ecd85a3db1252712c4d93632744c42e0d910160405180910390a15050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b73ffffffffffffffffffffffffffffffffffffffff81166103e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f4f564d5f4465706c6f79657257686974656c6973743a2063616e206f6e6c792060448201527f62652064697361626c65642076696120656e61626c654172626974726172794360648201527f6f6e74726163744465706c6f796d656e74000000000000000000000000000000608482015260a4016101da565b6000546040805173ffffffffffffffffffffffffffffffffffffffff928316815291831660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff1615806104c7575073ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604090205460ff165b92915050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681527fc0e106cf568e50698fdbde1eff56f5a5c966cc7958e37e276918e9e4ccdf8cd49060200160405180910390a1600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461060f57600080fd5b919050565b6000806040838503121561062757600080fd5b610630836105eb565b91506020830135801515811461064557600080fd5b809150509250929050565b60006020828403121561066257600080fd5b61066b826105eb565b939250505056fea264697066735822122045a02b3906eca00a51b37c2965ab13be381f71f60af681951849865fb2daa75f64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100725760003560e01c80639b19251a116100505780639b19251a146100e9578063b1540a011461011c578063bdc7b54f1461012f57600080fd5b806308fd63221461007757806313af40351461008c5780638da5cb5b1461009f575b600080fd5b61008a610085366004610614565b610137565b005b61008a61009a366004610650565b610271565b6000546100bf9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61010c6100f7366004610650565b60016020526000908152604090205460ff1681565b60405190151581526020016100e0565b61010c61012a366004610650565b61047c565b61008a6104cd565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526001602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168515159081179091558251938452908301527f8daaf060c3306c38e068a75c054bf96ecd85a3db1252712c4d93632744c42e0d910160405180910390a15050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b73ffffffffffffffffffffffffffffffffffffffff81166103e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f4f564d5f4465706c6f79657257686974656c6973743a2063616e206f6e6c792060448201527f62652064697361626c65642076696120656e61626c654172626974726172794360648201527f6f6e74726163744465706c6f796d656e74000000000000000000000000000000608482015260a4016101da565b6000546040805173ffffffffffffffffffffffffffffffffffffffff928316815291831660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff1615806104c7575073ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604090205460ff165b92915050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681527fc0e106cf568e50698fdbde1eff56f5a5c966cc7958e37e276918e9e4ccdf8cd49060200160405180910390a1600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461060f57600080fd5b919050565b6000806040838503121561062757600080fd5b610630836105eb565b91506020830135801515811461064557600080fd5b809150509250929050565b60006020828403121561066257600080fd5b61066b826105eb565b939250505056fea264697066735822122045a02b3906eca00a51b37c2965ab13be381f71f60af681951849865fb2daa75f64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var oGe=D((rca,_Ut)=>{_Ut.exports={_format:"hh-sol-artifact-1",contractName:"OVM_ETH",sourceName:"contracts/L2/predeploys/OVM_ETH.sol",abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Burn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Mint",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2Bridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"mint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes4",name:"_interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b5073420000000000000000000000000000000000001060006040518060400160405280600581526020016422ba3432b960d91b8152506040518060400160405280600381526020016208aa8960eb1b815250818181600390805190602001906200007d929190620000cf565b50805162000093906004906020840190620000cf565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620001b2915050565b828054620000dd9062000175565b90600052602060002090601f0160209004810192826200010157600085556200014c565b82601f106200011c57805160ff19168380011785556200014c565b828001600101855582156200014c579182015b828111156200014c5782518255916020019190600101906200012f565b506200015a9291506200015e565b5090565b5b808211156200015a57600081556001016200015f565b600181811c908216806200018a57607f821691505b60208210811415620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b610eee80620001c26000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610c6d565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610cb6565b610118610150366004610d52565b610425565b6002545b604051908152602001610124565b610118610175366004610d7c565b6104db565b60405160128152602001610124565b610118610197366004610d52565b61058c565b6101af6101aa366004610d52565b61063d565b005b6101596101bf366004610db8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561071c565b6101af6101fd366004610d52565b61072b565b610118610210366004610d52565b6107fe565b610118610223366004610d52565b6108af565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610dd3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610e06565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610e06565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f4f564d5f4554483a20617070726f76652069732064697361626c65642070656e60448201527f64696e67206675727468657220636f6d6d756e6974792064697363757373696f60648201527f6e2e000000000000000000000000000000000000000000000000000000000000608482015260009060a4015b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604760248201527f4f564d5f4554483a207472616e7366657246726f6d2069732064697361626c6560448201527f642070656e64696e67206675727468657220636f6d6d756e697479206469736360648201527f757373696f6e2e00000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a20696e637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6106c88282610960565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161071091815260200190565b60405180910390a25050565b6060600480546103a290610e06565b60065473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6107b68282610a80565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161071091815260200190565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a206465637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f564d5f4554483a207472616e736665722069732064697361626c656420706560448201527f6e64696e67206675727468657220636f6d6d756e69747920646973637573736960648201527f6f6e2e0000000000000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b73ffffffffffffffffffffffffffffffffffffffff82166109dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104d2565b80600260008282546109ef9190610e89565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610a29908490610e89565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610b23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610bd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610c15908490610ea1565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600060208284031215610c7f57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610caf57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ce357858101830151858201604001528201610cc7565b81811115610cf5576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d4d57600080fd5b919050565b60008060408385031215610d6557600080fd5b610d6e83610d29565b946020939093013593505050565b600080600060608486031215610d9157600080fd5b610d9a84610d29565b9250610da860208501610d29565b9150604084013590509250925092565b600060208284031215610dca57600080fd5b610caf82610d29565b60008060408385031215610de657600080fd5b610def83610d29565b9150610dfd60208401610d29565b90509250929050565b600181811c90821680610e1a57607f821691505b60208210811415610e54577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610e9c57610e9c610e5a565b500190565b600082821015610eb357610eb3610e5a565b50039056fea2646970667358221220b71535a5111461b42945e5d842957b3a5926f7ed07d271872f6da21952b5f8b464736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610c6d565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610cb6565b610118610150366004610d52565b610425565b6002545b604051908152602001610124565b610118610175366004610d7c565b6104db565b60405160128152602001610124565b610118610197366004610d52565b61058c565b6101af6101aa366004610d52565b61063d565b005b6101596101bf366004610db8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561071c565b6101af6101fd366004610d52565b61072b565b610118610210366004610d52565b6107fe565b610118610223366004610d52565b6108af565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610dd3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610e06565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610e06565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f4f564d5f4554483a20617070726f76652069732064697361626c65642070656e60448201527f64696e67206675727468657220636f6d6d756e6974792064697363757373696f60648201527f6e2e000000000000000000000000000000000000000000000000000000000000608482015260009060a4015b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604760248201527f4f564d5f4554483a207472616e7366657246726f6d2069732064697361626c6560448201527f642070656e64696e67206675727468657220636f6d6d756e697479206469736360648201527f757373696f6e2e00000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a20696e637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6106c88282610960565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161071091815260200190565b60405180910390a25050565b6060600480546103a290610e06565b60065473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6107b68282610a80565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161071091815260200190565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a206465637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f564d5f4554483a207472616e736665722069732064697361626c656420706560448201527f6e64696e67206675727468657220636f6d6d756e69747920646973637573736960648201527f6f6e2e0000000000000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b73ffffffffffffffffffffffffffffffffffffffff82166109dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104d2565b80600260008282546109ef9190610e89565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610a29908490610e89565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610b23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610bd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610c15908490610ea1565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600060208284031215610c7f57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610caf57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ce357858101830151858201604001528201610cc7565b81811115610cf5576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d4d57600080fd5b919050565b60008060408385031215610d6557600080fd5b610d6e83610d29565b946020939093013593505050565b600080600060608486031215610d9157600080fd5b610d9a84610d29565b9250610da860208501610d29565b9150604084013590509250925092565b600060208284031215610dca57600080fd5b610caf82610d29565b60008060408385031215610de657600080fd5b610def83610d29565b9150610dfd60208401610d29565b90509250929050565b600181811c90821680610e1a57607f821691505b60208210811415610e54577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610e9c57610e9c610e5a565b500190565b600082821015610eb357610eb3610e5a565b50039056fea2646970667358221220b71535a5111461b42945e5d842957b3a5926f7ed07d271872f6da21952b5f8b464736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var cGe=D((fca,AUt)=>{AUt.exports={_format:"hh-sol-artifact-1",contractName:"OVM_GasPriceOracle",sourceName:"contracts/L2/predeploys/OVM_GasPriceOracle.sol",abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"DecimalsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"GasPriceUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"L1BaseFeeUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"OverheadUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"ScalarUpdated",type:"event"},{inputs:[],name:"decimals",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"gasPrice",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],name:"getL1Fee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],name:"getL1GasUsed",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l1BaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"overhead",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"scalar",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_decimals",type:"uint256"}],name:"setDecimals",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_gasPrice",type:"uint256"}],name:"setGasPrice",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_baseFee",type:"uint256"}],name:"setL1BaseFee",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_overhead",type:"uint256"}],name:"setOverhead",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_scalar",type:"uint256"}],name:"setScalar",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b50604051610e55380380610e5583398101604081905261002f91610167565b61003833610047565b61004181610097565b50610197565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146100f65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03811661015b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016100ed565b61016481610047565b50565b60006020828403121561017957600080fd5b81516001600160a01b038116811461019057600080fd5b9392505050565b610caf806101a66000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638c8885c811610097578063de26c4a111610066578063de26c4a1146101cc578063f2fde38b146101df578063f45e65d8146101f2578063fe173b97146101fb57600080fd5b80638c8885c81461016b5780638da5cb5b1461017e578063bede39b5146101a6578063bf1fe420146101b957600080fd5b806349948e0e116100d357806349948e0e14610134578063519b4bd3146101475780637046559714610150578063715018a61461016357600080fd5b80630c18c162146100fa578063313ce567146101165780633577afc51461011f575b600080fd5b61010360035481565b6040519081526020015b60405180910390f35b61010360055481565b61013261012d3660046108d0565b610204565b005b610103610142366004610918565b6102c6565b61010360025481565b61013261015e3660046108d0565b610322565b6101326103d8565b6101326101793660046108d0565b610465565b60005460405173ffffffffffffffffffffffffffffffffffffffff909116815260200161010d565b6101326101b43660046108d0565b61051b565b6101326101c73660046108d0565b6105d1565b6101036101da366004610918565b610687565b6101326101ed3660046109e7565b61072b565b61010360045481565b61010360015481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461028a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60038190556040518181527f32740b35c0ea213650f60d44366b4fb211c9033b50714e4a1d34e65d5beb9bb4906020015b60405180910390a150565b6000806102d283610687565b90506000600254826102e49190610a53565b90506000600554600a6102f79190610bb2565b90506000600454836103099190610a53565b905060006103178383610bbe565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146103a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60048190556040518181527f3336cd9708eaf2769a0f0dc0679f30e80f15dcd88d1921b5a16858e8b85c591a906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b610463600061085b565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60058190556040518181527fd68112a8707e326d08be3656b528c1bcc5bbbfc47f4177e2179b14d8640838c1906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff16331461059c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60028190556040518181527f351fb23757bb5ea0546c85b7996ddd7155f96b939ebaa5ff7bc49c75f27f2c44906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60018190556040518181527ffcdccc6074c6c42e4bd578aa9870c697dc976a270968452d2b8c8dc369fae396906020016102bb565b600080805b8351811015610704578381815181106106a7576106a7610bf9565b01602001517fff00000000000000000000000000000000000000000000000000000000000000166106e4576106dd600483610c28565b91506106f2565b6106ef601083610c28565b91505b806106fc81610c40565b91505061068c565b506000600354826107159190610c28565b905061072381610440610c28565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b73ffffffffffffffffffffffffffffffffffffffff811661084f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610281565b6108588161085b565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156108e257600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561092a57600080fd5b813567ffffffffffffffff8082111561094257600080fd5b818401915084601f83011261095657600080fd5b813581811115610968576109686108e9565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156109ae576109ae6108e9565b816040528281528760208487010111156109c757600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000602082840312156109f957600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610a1d57600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610a8b57610a8b610a24565b500290565b600181815b80851115610ae957817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610acf57610acf610a24565b80851615610adc57918102915b93841c9390800290610a95565b509250929050565b600082610b0057506001610bac565b81610b0d57506000610bac565b8160018114610b235760028114610b2d57610b49565b6001915050610bac565b60ff841115610b3e57610b3e610a24565b50506001821b610bac565b5060208310610133831016604e8410600b8410161715610b6c575081810a610bac565b610b768383610a90565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ba857610ba8610a24565b0290505b92915050565b6000610a1d8383610af1565b600082610bf4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115610c3b57610c3b610a24565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610c7257610c72610a24565b506001019056fea2646970667358221220b949ef5f9defd6c0aab6259672d00d239cb8854c9972ba1866af1c6ec6433d4c64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80638c8885c811610097578063de26c4a111610066578063de26c4a1146101cc578063f2fde38b146101df578063f45e65d8146101f2578063fe173b97146101fb57600080fd5b80638c8885c81461016b5780638da5cb5b1461017e578063bede39b5146101a6578063bf1fe420146101b957600080fd5b806349948e0e116100d357806349948e0e14610134578063519b4bd3146101475780637046559714610150578063715018a61461016357600080fd5b80630c18c162146100fa578063313ce567146101165780633577afc51461011f575b600080fd5b61010360035481565b6040519081526020015b60405180910390f35b61010360055481565b61013261012d3660046108d0565b610204565b005b610103610142366004610918565b6102c6565b61010360025481565b61013261015e3660046108d0565b610322565b6101326103d8565b6101326101793660046108d0565b610465565b60005460405173ffffffffffffffffffffffffffffffffffffffff909116815260200161010d565b6101326101b43660046108d0565b61051b565b6101326101c73660046108d0565b6105d1565b6101036101da366004610918565b610687565b6101326101ed3660046109e7565b61072b565b61010360045481565b61010360015481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461028a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60038190556040518181527f32740b35c0ea213650f60d44366b4fb211c9033b50714e4a1d34e65d5beb9bb4906020015b60405180910390a150565b6000806102d283610687565b90506000600254826102e49190610a53565b90506000600554600a6102f79190610bb2565b90506000600454836103099190610a53565b905060006103178383610bbe565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146103a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60048190556040518181527f3336cd9708eaf2769a0f0dc0679f30e80f15dcd88d1921b5a16858e8b85c591a906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b610463600061085b565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60058190556040518181527fd68112a8707e326d08be3656b528c1bcc5bbbfc47f4177e2179b14d8640838c1906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff16331461059c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60028190556040518181527f351fb23757bb5ea0546c85b7996ddd7155f96b939ebaa5ff7bc49c75f27f2c44906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60018190556040518181527ffcdccc6074c6c42e4bd578aa9870c697dc976a270968452d2b8c8dc369fae396906020016102bb565b600080805b8351811015610704578381815181106106a7576106a7610bf9565b01602001517fff00000000000000000000000000000000000000000000000000000000000000166106e4576106dd600483610c28565b91506106f2565b6106ef601083610c28565b91505b806106fc81610c40565b91505061068c565b506000600354826107159190610c28565b905061072381610440610c28565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b73ffffffffffffffffffffffffffffffffffffffff811661084f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610281565b6108588161085b565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156108e257600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561092a57600080fd5b813567ffffffffffffffff8082111561094257600080fd5b818401915084601f83011261095657600080fd5b813581811115610968576109686108e9565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156109ae576109ae6108e9565b816040528281528760208487010111156109c757600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000602082840312156109f957600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610a1d57600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610a8b57610a8b610a24565b500290565b600181815b80851115610ae957817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610acf57610acf610a24565b80851615610adc57918102915b93841c9390800290610a95565b509250929050565b600082610b0057506001610bac565b81610b0d57506000610bac565b8160018114610b235760028114610b2d57610b49565b6001915050610bac565b60ff841115610b3e57610b3e610a24565b50506001821b610bac565b5060208310610133831016604e8410600b8410161715610b6c575081810a610bac565b610b768383610a90565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ba857610ba8610a24565b0290505b92915050565b6000610a1d8383610af1565b600082610bf4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115610c3b57610c3b610a24565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610c7257610c72610a24565b506001019056fea2646970667358221220b949ef5f9defd6c0aab6259672d00d239cb8854c9972ba1866af1c6ec6433d4c64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var dGe=D((ica,CUt)=>{CUt.exports={_format:"hh-sol-artifact-1",contractName:"OVM_L2ToL1MessagePasser",sourceName:"contracts/L2/predeploys/OVM_L2ToL1MessagePasser.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_nonce",type:"uint256"},{indexed:!1,internalType:"address",name:"_sender",type:"address"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"L2ToL1Message",type:"event"},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"}],name:"passMessageToL1",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"sentMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506102c8806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806382e3702d1461003b578063cafa81dc14610072575b600080fd5b61005e610049366004610112565b60006020819052908152604090205460ff1681565b604051901515815260200160405180910390f35b61008561008036600461015a565b610087565b005b6001600080833360405160200161009f929190610229565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815291815281516020928301208352908201929092520160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905550565b60006020828403121561012457600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561016c57600080fd5b813567ffffffffffffffff8082111561018457600080fd5b818401915084601f83011261019857600080fd5b8135818111156101aa576101aa61012b565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156101f0576101f061012b565b8160405282815287602084870101111561020957600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000835160005b8181101561024a5760208187018101518583015201610230565b81811115610259576000828501525b5060609390931b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016919092019081526014019291505056fea2646970667358221220d836baf0739bec24cef040cc8b2c24969df1a65ce8dcdb49d35d9528caff8b7f64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100365760003560e01c806382e3702d1461003b578063cafa81dc14610072575b600080fd5b61005e610049366004610112565b60006020819052908152604090205460ff1681565b604051901515815260200160405180910390f35b61008561008036600461015a565b610087565b005b6001600080833360405160200161009f929190610229565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815291815281516020928301208352908201929092520160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905550565b60006020828403121561012457600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561016c57600080fd5b813567ffffffffffffffff8082111561018457600080fd5b818401915084601f83011261019857600080fd5b8135818111156101aa576101aa61012b565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156101f0576101f061012b565b8160405282815287602084870101111561020957600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000835160005b8181101561024a5760208187018101518583015201610230565b81811115610259576000828501525b5060609390931b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016919092019081526014019291505056fea2646970667358221220d836baf0739bec24cef040cc8b2c24969df1a65ce8dcdb49d35d9528caff8b7f64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var lGe=D((sca,IUt)=>{IUt.exports={_format:"hh-sol-artifact-1",contractName:"OVM_SequencerFeeVault",sourceName:"contracts/L2/predeploys/OVM_SequencerFeeVault.sol",abi:[{inputs:[{internalType:"address",name:"_l1FeeWallet",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"MIN_WITHDRAWAL_AMOUNT",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l1FeeWallet",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],bytecode:"0x608060405234801561001057600080fd5b506040516103de3803806103de83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61034b806100936000396000f3fe6080604052600436106100385760003560e01c80633ccfd60b14610044578063d3e5792b1461005b578063d4ff92181461008a57600080fd5b3661003f57005b600080fd5b34801561005057600080fd5b506100596100dc565b005b34801561006757600080fd5b5061007767d02ab486cedc000081565b6040519081526020015b60405180910390f35b34801561009657600080fd5b506000546100b79073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610081565b67d02ab486cedc000047101561019e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605760248201527f4f564d5f53657175656e6365724665655661756c743a2077697468647261776160448201527f6c20616d6f756e74206d7573742062652067726561746572207468616e206d6960648201527f6e696d756d207769746864726177616c20616d6f756e74000000000000000000608482015260a40160405180910390fd5b600080546040805160208101825283815290517fa3a795480000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000109363a3a79548936102309373deaddeaddeaddeaddeaddeaddeaddeaddead00009373ffffffffffffffffffffffffffffffffffffffff909216924792909190600401610264565b600060405180830381600087803b15801561024a57600080fd5b505af115801561025e573d6000803e3d6000fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835260208188168185015286604085015263ffffffff8616606085015260a06080850152845191508160a085015260005b828110156102cb5785810182015185820160c0015281016102af565b828111156102dd57600060c084870101525b5050601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160c001969550505050505056fea26469706673582212202380a0ef41967ef02ffabeecc94f28b588cb989aa8d64908f942558d7e378c3b64736f6c63430008090033",deployedBytecode:"0x6080604052600436106100385760003560e01c80633ccfd60b14610044578063d3e5792b1461005b578063d4ff92181461008a57600080fd5b3661003f57005b600080fd5b34801561005057600080fd5b506100596100dc565b005b34801561006757600080fd5b5061007767d02ab486cedc000081565b6040519081526020015b60405180910390f35b34801561009657600080fd5b506000546100b79073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610081565b67d02ab486cedc000047101561019e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605760248201527f4f564d5f53657175656e6365724665655661756c743a2077697468647261776160448201527f6c20616d6f756e74206d7573742062652067726561746572207468616e206d6960648201527f6e696d756d207769746864726177616c20616d6f756e74000000000000000000608482015260a40160405180910390fd5b600080546040805160208101825283815290517fa3a795480000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000109363a3a79548936102309373deaddeaddeaddeaddeaddeaddeaddeaddead00009373ffffffffffffffffffffffffffffffffffffffff909216924792909190600401610264565b600060405180830381600087803b15801561024a57600080fd5b505af115801561025e573d6000803e3d6000fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835260208188168185015286604085015263ffffffff8616606085015260a06080850152845191508160a085015260005b828110156102cb5785810182015185820160c0015281016102af565b828111156102dd57600060c084870101525b5050601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160c001969550505050505056fea26469706673582212202380a0ef41967ef02ffabeecc94f28b588cb989aa8d64908f942558d7e378c3b64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var uGe=D((oca,kUt)=>{kUt.exports={_format:"hh-sol-artifact-1",contractName:"WETH9",sourceName:"contracts/L2/predeploys/WETH9.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"src",type:"address"},{indexed:!0,internalType:"address",name:"guy",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"dst",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Deposit",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"src",type:"address"},{indexed:!0,internalType:"address",name:"dst",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"src",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Withdrawal",type:"event"},{payable:!0,stateMutability:"payable",type:"fallback"},{constant:!0,inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"guy",type:"address"},{internalType:"uint256",name:"wad",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{internalType:"address",name:"",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[],name:"deposit",outputs:[],payable:!0,stateMutability:"payable",type:"function"},{constant:!0,inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"dst",type:"address"},{internalType:"uint256",name:"wad",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"src",type:"address"},{internalType:"address",name:"dst",type:"address"},{internalType:"uint256",name:"wad",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"uint256",name:"wad",type:"uint256"}],name:"withdraw",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"}],bytecode:"0x60c0604052600d60808190526c2bb930b83832b21022ba3432b960991b60a090815261002e916000919061007a565b50604080518082019091526004808252630ae8aa8960e31b602090920191825261005a9160019161007a565b506002805460ff1916601217905534801561007457600080fd5b50610115565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100bb57805160ff19168380011785556100e8565b828001600101855582156100e8579182015b828111156100e85782518255916020019190600101906100cd565b506100f49291506100f8565b5090565b61011291905b808211156100f457600081556001016100fe565b90565b6107f9806101246000396000f3fe6080604052600436106100bc5760003560e01c8063313ce56711610074578063a9059cbb1161004e578063a9059cbb146102cb578063d0e30db0146100bc578063dd62ed3e14610311576100bc565b8063313ce5671461024b57806370a082311461027657806395d89b41146102b6576100bc565b806318160ddd116100a557806318160ddd146101aa57806323b872dd146101d15780632e1a7d4d14610221576100bc565b806306fdde03146100c6578063095ea7b314610150575b6100c4610359565b005b3480156100d257600080fd5b506100db6103a8565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101155781810151838201526020016100fd565b50505050905090810190601f1680156101425780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015c57600080fd5b506101966004803603604081101561017357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610454565b604080519115158252519081900360200190f35b3480156101b657600080fd5b506101bf6104c7565b60408051918252519081900360200190f35b3480156101dd57600080fd5b50610196600480360360608110156101f457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356104cb565b34801561022d57600080fd5b506100c46004803603602081101561024457600080fd5b503561066b565b34801561025757600080fd5b50610260610700565b6040805160ff9092168252519081900360200190f35b34801561028257600080fd5b506101bf6004803603602081101561029957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610709565b3480156102c257600080fd5b506100db61071b565b3480156102d757600080fd5b50610196600480360360408110156102ee57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610793565b34801561031d57600080fd5b506101bf6004803603604081101561033457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166107a7565b33600081815260036020908152604091829020805434908101909155825190815291517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9281900390910190a2565b6000805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b820191906000526020600020905b81548152906001019060200180831161042f57829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b4790565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120548211156104fd57600080fd5b73ffffffffffffffffffffffffffffffffffffffff84163314801590610573575073ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14155b156105ed5773ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020548211156105b557600080fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020805483900390555b73ffffffffffffffffffffffffffffffffffffffff808516600081815260036020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b3360009081526003602052604090205481111561068757600080fd5b33600081815260036020526040808220805485900390555183156108fc0291849190818181858888f193505050501580156106c6573d6000803e3d6000fd5b5060408051828152905133917f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65919081900360200190a250565b60025460ff1681565b60036020526000908152604090205481565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b60006107a03384846104cb565b9392505050565b60046020908152600092835260408084209091529082529020548156fea265627a7a7231582091c18790e0cca5011d2518024840ee00fecc67e11f56fd746f2cf84d5b583e0064736f6c63430005110032",deployedBytecode:"0x6080604052600436106100bc5760003560e01c8063313ce56711610074578063a9059cbb1161004e578063a9059cbb146102cb578063d0e30db0146100bc578063dd62ed3e14610311576100bc565b8063313ce5671461024b57806370a082311461027657806395d89b41146102b6576100bc565b806318160ddd116100a557806318160ddd146101aa57806323b872dd146101d15780632e1a7d4d14610221576100bc565b806306fdde03146100c6578063095ea7b314610150575b6100c4610359565b005b3480156100d257600080fd5b506100db6103a8565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101155781810151838201526020016100fd565b50505050905090810190601f1680156101425780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015c57600080fd5b506101966004803603604081101561017357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610454565b604080519115158252519081900360200190f35b3480156101b657600080fd5b506101bf6104c7565b60408051918252519081900360200190f35b3480156101dd57600080fd5b50610196600480360360608110156101f457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356104cb565b34801561022d57600080fd5b506100c46004803603602081101561024457600080fd5b503561066b565b34801561025757600080fd5b50610260610700565b6040805160ff9092168252519081900360200190f35b34801561028257600080fd5b506101bf6004803603602081101561029957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610709565b3480156102c257600080fd5b506100db61071b565b3480156102d757600080fd5b50610196600480360360408110156102ee57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610793565b34801561031d57600080fd5b506101bf6004803603604081101561033457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166107a7565b33600081815260036020908152604091829020805434908101909155825190815291517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9281900390910190a2565b6000805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b820191906000526020600020905b81548152906001019060200180831161042f57829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b4790565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120548211156104fd57600080fd5b73ffffffffffffffffffffffffffffffffffffffff84163314801590610573575073ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14155b156105ed5773ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020548211156105b557600080fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020805483900390555b73ffffffffffffffffffffffffffffffffffffffff808516600081815260036020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b3360009081526003602052604090205481111561068757600080fd5b33600081815260036020526040808220805485900390555183156108fc0291849190818181858888f193505050501580156106c6573d6000803e3d6000fd5b5060408051828152905133917f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65919081900360200190a250565b60025460ff1681565b60036020526000908152604090205481565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b60006107a03384846104cb565b9392505050565b60046020908152600092835260408084209091529082529020548156fea265627a7a7231582091c18790e0cca5011d2518024840ee00fecc67e11f56fd746f2cf84d5b583e0064736f6c63430005110032",linkReferences:{},deployedLinkReferences:{}}});var pGe=D((cca,SUt)=>{SUt.exports={_format:"hh-sol-artifact-1",contractName:"CrossDomainEnabled",sourceName:"contracts/libraries/bridge/CrossDomainEnabled.sol",abi:[{inputs:[{internalType:"address",name:"_messenger",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5060405161013d38038061013d83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b60ab806100926000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80633cb747bf14602d575b600080fd5b600054604c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f3fea264697066735822122007712a382b03013a51c1c5af10d9e7b9b516e09be353a5f94af5d0263a013ea064736f6c63430008090033",deployedBytecode:"0x6080604052348015600f57600080fd5b506004361060285760003560e01c80633cb747bf14602d575b600080fd5b600054604c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f3fea264697066735822122007712a382b03013a51c1c5af10d9e7b9b516e09be353a5f94af5d0263a013ea064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var hGe=D((dca,RUt)=>{RUt.exports={_format:"hh-sol-artifact-1",contractName:"ICrossDomainMessenger",sourceName:"contracts/libraries/bridge/ICrossDomainMessenger.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var bGe=D((lca,MUt)=>{MUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_CrossDomainUtils",sourceName:"contracts/libraries/bridge/Lib_CrossDomainUtils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122060e64a9ccca3ea023c0ba81dbda8783559d3eec6a4d1d8ef8418badc967c072664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122060e64a9ccca3ea023c0ba81dbda8783559d3eec6a4d1d8ef8418badc967c072664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var mGe=D((uca,BUt)=>{BUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_OVMCodec",sourceName:"contracts/libraries/codec/Lib_OVMCodec.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c2a5d11f9555d16a4e338a80443d30b1ec346c6a32a3a2423851829c61a564664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c2a5d11f9555d16a4e338a80443d30b1ec346c6a32a3a2423851829c61a564664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var yGe=D((pca,DUt)=>{DUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_DefaultValues",sourceName:"contracts/libraries/constants/Lib_DefaultValues.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220063c5ffd8afe3ee3c085661f8b942ed207ae0c52f76c705ce32343804219a1be64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220063c5ffd8afe3ee3c085661f8b942ed207ae0c52f76c705ce32343804219a1be64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var gGe=D((hca,PUt)=>{PUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_PredeployAddresses",sourceName:"contracts/libraries/constants/Lib_PredeployAddresses.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122056cad517f08aabd21cc0b53f664298b5b8af8f91610a5d788b7cd5a14d12078b64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122056cad517f08aabd21cc0b53f664298b5b8af8f91610a5d788b7cd5a14d12078b64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var vGe=D((bca,LUt)=>{LUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_AddressManager",sourceName:"contracts/libraries/resolver/Lib_AddressManager.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"string",name:"_name",type:"string"},{indexed:!1,internalType:"address",name:"_newAddress",type:"address"},{indexed:!1,internalType:"address",name:"_oldAddress",type:"address"}],name:"AddressSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],name:"setAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6107028061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80639b2ea4bd116100505780639b2ea4bd146100b9578063bf40fac1146100cc578063f2fde38b146100df57600080fd5b8063715018a61461006c5780638da5cb5b14610076575b600080fd5b6100746100f2565b005b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100746100c73660046105e4565b610184565b6100906100da366004610632565b6102d0565b6100746100ed36600461066f565b61030c565b60005473ffffffffffffffffffffffffffffffffffffffff163314610178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610182600061043c565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b6000610210836104b1565b60008181526001602052604090819020805473ffffffffffffffffffffffffffffffffffffffff8681167fffffffffffffffffffffffff000000000000000000000000000000000000000083161790925591519293501690610273908590610691565b6040805191829003822073ffffffffffffffffffffffffffffffffffffffff808716845284166020840152917f9416a153a346f93d95f94b064ae3f148b6460473c6e82b3f9fc2521b873fcd6c910160405180910390a250505050565b6000600160006102df846104b1565b815260208101919091526040016000205473ffffffffffffffffffffffffffffffffffffffff1692915050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461038d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b73ffffffffffffffffffffffffffffffffffffffff8116610430576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161016f565b6104398161043c565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000816040516020016104c49190610691565b604051602081830303815290604052805190602001209050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261052157600080fd5b813567ffffffffffffffff8082111561053c5761053c6104e1565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715610582576105826104e1565b8160405283815286602085880101111561059b57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146105df57600080fd5b919050565b600080604083850312156105f757600080fd5b823567ffffffffffffffff81111561060e57600080fd5b61061a85828601610510565b925050610629602084016105bb565b90509250929050565b60006020828403121561064457600080fd5b813567ffffffffffffffff81111561065b57600080fd5b61066784828501610510565b949350505050565b60006020828403121561068157600080fd5b61068a826105bb565b9392505050565b6000825160005b818110156106b25760208186018101518583015201610698565b818111156106c1576000828501525b50919091019291505056fea2646970667358221220882d6a267e1fbcc015c1726b422a6847e08c6be7e987e8b5ec1f7e85aa5095bb64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100675760003560e01c80639b2ea4bd116100505780639b2ea4bd146100b9578063bf40fac1146100cc578063f2fde38b146100df57600080fd5b8063715018a61461006c5780638da5cb5b14610076575b600080fd5b6100746100f2565b005b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100746100c73660046105e4565b610184565b6100906100da366004610632565b6102d0565b6100746100ed36600461066f565b61030c565b60005473ffffffffffffffffffffffffffffffffffffffff163314610178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610182600061043c565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b6000610210836104b1565b60008181526001602052604090819020805473ffffffffffffffffffffffffffffffffffffffff8681167fffffffffffffffffffffffff000000000000000000000000000000000000000083161790925591519293501690610273908590610691565b6040805191829003822073ffffffffffffffffffffffffffffffffffffffff808716845284166020840152917f9416a153a346f93d95f94b064ae3f148b6460473c6e82b3f9fc2521b873fcd6c910160405180910390a250505050565b6000600160006102df846104b1565b815260208101919091526040016000205473ffffffffffffffffffffffffffffffffffffffff1692915050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461038d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b73ffffffffffffffffffffffffffffffffffffffff8116610430576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161016f565b6104398161043c565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000816040516020016104c49190610691565b604051602081830303815290604052805190602001209050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261052157600080fd5b813567ffffffffffffffff8082111561053c5761053c6104e1565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715610582576105826104e1565b8160405283815286602085880101111561059b57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146105df57600080fd5b919050565b600080604083850312156105f757600080fd5b823567ffffffffffffffff81111561060e57600080fd5b61061a85828601610510565b925050610629602084016105bb565b90509250929050565b60006020828403121561064457600080fd5b813567ffffffffffffffff81111561065b57600080fd5b61066784828501610510565b949350505050565b60006020828403121561068157600080fd5b61068a826105bb565b9392505050565b6000825160005b818110156106b25760208186018101518583015201610698565b818111156106c1576000828501525b50919091019291505056fea2646970667358221220882d6a267e1fbcc015c1726b422a6847e08c6be7e987e8b5ec1f7e85aa5095bb64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var wGe=D((mca,FUt)=>{FUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_AddressResolver",sourceName:"contracts/libraries/resolver/Lib_AddressResolver.sol",abi:[{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var TGe=D((yca,NUt)=>{NUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_ResolvedDelegateProxy",sourceName:"contracts/libraries/resolver/Lib_ResolvedDelegateProxy.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],bytecode:"0x608060405234801561001057600080fd5b506040516105b53803806105b583398101604081905261002f91610125565b30600090815260016020908152604080832080546001600160a01b0319166001600160a01b038716179055828252909120825161006e92840190610076565b505050610252565b82805461008290610217565b90600052602060002090601f0160209004810192826100a457600085556100ea565b82601f106100bd57805160ff19168380011785556100ea565b828001600101855582156100ea579182015b828111156100ea5782518255916020019190600101906100cf565b506100f69291506100fa565b5090565b5b808211156100f657600081556001016100fb565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561013857600080fd5b82516001600160a01b038116811461014f57600080fd5b602084810151919350906001600160401b038082111561016e57600080fd5b818601915086601f83011261018257600080fd5b8151818111156101945761019461010f565b604051601f8201601f19908116603f011681019083821181831017156101bc576101bc61010f565b8160405282815289868487010111156101d457600080fd5b600093505b828410156101f657848401860151818501870152928501926101d9565b828411156102075760008684830101525b8096505050505050509250929050565b600181811c9082168061022b57607f821691505b6020821081141561024c57634e487b7160e01b600052602260045260246000fd5b50919050565b610354806102616000396000f3fe608060408181523060009081526001602090815282822054908290529181207fbf40fac1000000000000000000000000000000000000000000000000000000009093529173ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061006d9060846101f2565b60206040518083038186803b15801561008557600080fd5b505afa158015610099573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100bd91906102d1565b905073ffffffffffffffffffffffffffffffffffffffff8116610166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5461726765742061646472657373206d75737420626520696e697469616c697a60448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff1660003660405161019192919061030e565b600060405180830381855af49150503d80600081146101cc576040519150601f19603f3d011682016040523d82523d6000602084013e6101d1565b606091505b509092509050600182151514156101ea57805160208201f35b805160208201fd5b600060208083526000845481600182811c91508083168061021457607f831692505b85831081141561024b577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b8786018381526020018180156102685760018114610297576102c2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616825287820196506102c2565b60008b81526020902060005b868110156102bc578154848201529085019089016102a3565b83019750505b50949998505050505050505050565b6000602082840312156102e357600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461030757600080fd5b9392505050565b818382376000910190815291905056fea2646970667358221220d66a7dad92a7f7528f41181719174e1d244423b8bb730d2884645c76cfa0944064736f6c63430008090033",deployedBytecode:"0x608060408181523060009081526001602090815282822054908290529181207fbf40fac1000000000000000000000000000000000000000000000000000000009093529173ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061006d9060846101f2565b60206040518083038186803b15801561008557600080fd5b505afa158015610099573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100bd91906102d1565b905073ffffffffffffffffffffffffffffffffffffffff8116610166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5461726765742061646472657373206d75737420626520696e697469616c697a60448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff1660003660405161019192919061030e565b600060405180830381855af49150503d80600081146101cc576040519150601f19603f3d011682016040523d82523d6000602084013e6101d1565b606091505b509092509050600182151514156101ea57805160208201f35b805160208201fd5b600060208083526000845481600182811c91508083168061021457607f831692505b85831081141561024b577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b8786018381526020018180156102685760018114610297576102c2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616825287820196506102c2565b60008b81526020902060005b868110156102bc578154848201529085019089016102a3565b83019750505b50949998505050505050505050565b6000602082840312156102e357600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461030757600080fd5b9392505050565b818382376000910190815291905056fea2646970667358221220d66a7dad92a7f7528f41181719174e1d244423b8bb730d2884645c76cfa0944064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var xGe=D((gca,OUt)=>{OUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_RLPReader",sourceName:"contracts/libraries/rlp/Lib_RLPReader.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209b0105ac3644e4fdf76d616b816e1142d8df6b59717045de630c5b5bf5c4a49e64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209b0105ac3644e4fdf76d616b816e1142d8df6b59717045de630c5b5bf5c4a49e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var EGe=D((vca,UUt)=>{UUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_RLPWriter",sourceName:"contracts/libraries/rlp/Lib_RLPWriter.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220946ae63101b895e34c026fce9aa6f03d577c9012d8837976e8dc3a57ae0a2ef064736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220946ae63101b895e34c026fce9aa6f03d577c9012d8837976e8dc3a57ae0a2ef064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var _Ge=D((wca,HUt)=>{HUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_MerkleTrie",sourceName:"contracts/libraries/trie/Lib_MerkleTrie.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220214650a5ec3e1d09ab69aa832632dcca9858b098070c9e81cdae9075c0e89eef64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220214650a5ec3e1d09ab69aa832632dcca9858b098070c9e81cdae9075c0e89eef64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var AGe=D((Tca,zUt)=>{zUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_SecureMerkleTrie",sourceName:"contracts/libraries/trie/Lib_SecureMerkleTrie.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202660de7bb8aa0cc344e5d40ecf3a0bb218888dff6bd046588cf63c7f310cc10f64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202660de7bb8aa0cc344e5d40ecf3a0bb218888dff6bd046588cf63c7f310cc10f64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var CGe=D((xca,WUt)=>{WUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_Buffer",sourceName:"contracts/libraries/utils/Lib_Buffer.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220594b214017d57365da3ea1c77083baf56a0e2bbeb0c3e002e311ad4566a5a88e64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220594b214017d57365da3ea1c77083baf56a0e2bbeb0c3e002e311ad4566a5a88e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var IGe=D((Eca,qUt)=>{qUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_Bytes32Utils",sourceName:"contracts/libraries/utils/Lib_Bytes32Utils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122016d3dffa07e555b0803ae61d773778a6b28a769ef91e47cb00040ecc7414705764736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122016d3dffa07e555b0803ae61d773778a6b28a769ef91e47cb00040ecc7414705764736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var kGe=D((_ca,jUt)=>{jUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_BytesUtils",sourceName:"contracts/libraries/utils/Lib_BytesUtils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122017e44b43285912c440c4689616a765b1f83f985ef6c2257842a876b03fa23ec964736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122017e44b43285912c440c4689616a765b1f83f985ef6c2257842a876b03fa23ec964736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var SGe=D((Aca,GUt)=>{GUt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_MerkleTree",sourceName:"contracts/libraries/utils/Lib_MerkleTree.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b7c3be019aefbed37a33a16f751525cd016777745cc3de03701a42894fef404664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b7c3be019aefbed37a33a16f751525cd016777745cc3de03701a42894fef404664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var RGe=D((Cca,KUt)=>{KUt.exports={_format:"hh-sol-artifact-1",contractName:"AddressAliasHelper",sourceName:"contracts/standards/AddressAliasHelper.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207829434f027696874d561ec0adb447d98559e472900c36a38c8a3d107364652364736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207829434f027696874d561ec0adb447d98559e472900c36a38c8a3d107364652364736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var MGe=D((Ica,QUt)=>{QUt.exports={_format:"hh-sol-artifact-1",contractName:"IL2StandardERC20",sourceName:"contracts/standards/IL2StandardERC20.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Burn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Mint",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"mint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes4",name:"interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var BGe=D((kca,VUt)=>{VUt.exports={_format:"hh-sol-artifact-1",contractName:"L2StandardERC20",sourceName:"contracts/standards/L2StandardERC20.sol",abi:[{inputs:[{internalType:"address",name:"_l2Bridge",type:"address"},{internalType:"address",name:"_l1Token",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Burn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Mint",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2Bridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"mint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes4",name:"_interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b50604051620013d7380380620013d783398101604081905262000034916200022f565b8151829082906200004d9060039060208501906200009f565b508051620000639060049060208401906200009f565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620002fc915050565b828054620000ad90620002bf565b90600052602060002090601f016020900481019282620000d157600085556200011c565b82601f10620000ec57805160ff19168380011785556200011c565b828001600101855582156200011c579182015b828111156200011c578251825591602001919060010190620000ff565b506200012a9291506200012e565b5090565b5b808211156200012a57600081556001016200012f565b80516001600160a01b03811681146200015d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018a57600080fd5b81516001600160401b0380821115620001a757620001a762000162565b604051601f8301601f19908116603f01168101908282118183101715620001d257620001d262000162565b81604052838152602092508683858801011115620001ef57600080fd5b600091505b83821015620002135785820183015181830184015290820190620001f4565b83821115620002255760008385830101525b9695505050505050565b600080600080608085870312156200024657600080fd5b620002518562000145565b9350620002616020860162000145565b60408601519093506001600160401b03808211156200027f57600080fd5b6200028d8883890162000178565b93506060870151915080821115620002a457600080fd5b50620002b38782880162000178565b91505092959194509250565b600181811c90821680620002d457607f821691505b60208210811415620002f657634e487b7160e01b600052602260045260246000fd5b50919050565b6110cb806200030c6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var SKe=D(JW=>{"use strict";u();p();Object.defineProperty(JW,"__esModule",{value:!0});JW.getContractArtifact=void 0;var DGe;try{DGe=Nje()}catch{}var PGe;try{PGe=Oje()}catch{}var LGe;try{LGe=Uje()}catch{}var FGe;try{FGe=Hje()}catch{}var NGe;try{NGe=zje()}catch{}var OGe;try{OGe=Wje()}catch{}var UGe;try{UGe=qje()}catch{}var HGe;try{HGe=jje()}catch{}var zGe;try{zGe=Gje()}catch{}var WGe;try{WGe=Kje()}catch{}var qGe;try{qGe=Qje()}catch{}var jGe;try{jGe=Vje()}catch{}var GGe;try{GGe=Yje()}catch{}var KGe;try{KGe=$je()}catch{}var QGe;try{QGe=Jje()}catch{}var VGe;try{VGe=Xje()}catch{}var YGe;try{YGe=Zje()}catch{}var $Ge;try{$Ge=eGe()}catch{}var JGe;try{JGe=tGe()}catch{}var XGe;try{XGe=nGe()}catch{}var ZGe;try{ZGe=aGe()}catch{}var eKe;try{eKe=rGe()}catch{}var tKe;try{tKe=fGe()}catch{}var nKe;try{nKe=iGe()}catch{}var aKe;try{aKe=sGe()}catch{}var rKe;try{rKe=oGe()}catch{}var fKe;try{fKe=cGe()}catch{}var iKe;try{iKe=dGe()}catch{}var sKe;try{sKe=lGe()}catch{}var oKe;try{oKe=uGe()}catch{}var cKe;try{cKe=pGe()}catch{}var dKe;try{dKe=hGe()}catch{}var lKe;try{lKe=bGe()}catch{}var uKe;try{uKe=mGe()}catch{}var pKe;try{pKe=yGe()}catch{}var hKe;try{hKe=gGe()}catch{}var bKe;try{bKe=vGe()}catch{}var mKe;try{mKe=wGe()}catch{}var yKe;try{yKe=TGe()}catch{}var gKe;try{gKe=xGe()}catch{}var vKe;try{vKe=EGe()}catch{}var wKe;try{wKe=_Ge()}catch{}var TKe;try{TKe=AGe()}catch{}var xKe;try{xKe=CGe()}catch{}var EKe;try{EKe=IGe()}catch{}var _Ke;try{_Ke=kGe()}catch{}var AKe;try{AKe=SGe()}catch{}var CKe;try{CKe=RGe()}catch{}var IKe;try{IKe=MGe()}catch{}var kKe;try{kKe=BGe()}catch{}var YUt=t=>({iL1ChugSplashDeployer:DGe,L1ChugSplashProxy:PGe,AddressDictator:LGe,ChugSplashDictator:FGe,IL1CrossDomainMessenger:NGe,IL1ERC20Bridge:OGe,IL1StandardBridge:UGe,L1CrossDomainMessenger:HGe,L1StandardBridge:zGe,CanonicalTransactionChain:WGe,ChainStorageContainer:qGe,ICanonicalTransactionChain:jGe,IChainStorageContainer:GGe,IStateCommitmentChain:KGe,StateCommitmentChain:QGe,BondManager:VGe,IBondManager:YGe,IL2CrossDomainMessenger:$Ge,IL2ERC20Bridge:JGe,L2CrossDomainMessenger:XGe,L2StandardBridge:ZGe,L2StandardTokenFactory:eKe,iOVM_L1BlockNumber:tKe,iOVM_L2ToL1MessagePasser:nKe,OVM_DeployerWhitelist:aKe,OVM_ETH:rKe,OVM_GasPriceOracle:fKe,OVM_L2ToL1MessagePasser:iKe,OVM_SequencerFeeVault:sKe,WETH9:oKe,CrossDomainEnabled:cKe,ICrossDomainMessenger:dKe,Lib_CrossDomainUtils:lKe,Lib_OVMCodec:uKe,Lib_DefaultValues:pKe,Lib_PredeployAddresses:hKe,Lib_AddressManager:bKe,Lib_AddressResolver:mKe,Lib_ResolvedDelegateProxy:yKe,Lib_RLPReader:gKe,Lib_RLPWriter:vKe,Lib_MerkleTrie:wKe,Lib_SecureMerkleTrie:TKe,Lib_Buffer:xKe,Lib_Bytes32Utils:EKe,Lib_BytesUtils:_Ke,Lib_MerkleTree:AKe,AddressAliasHelper:CKe,IL2StandardERC20:IKe,L2StandardERC20:kKe})[t];JW.getContractArtifact=YUt});var RKe=D(XW=>{"use strict";u();p();Object.defineProperty(XW,"__esModule",{value:!0});XW.getDeployedContractArtifact=void 0;var $Ut={abi:[{inputs:[{internalType:"contract Lib_AddressManager",name:"_manager",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"string[]",name:"_names",type:"string[]"},{internalType:"address[]",name:"_addresses",type:"address[]"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNamedAddresses",outputs:[{components:[{internalType:"string",name:"name",type:"string"},{internalType:"address",name:"addr",type:"address"}],internalType:"struct AddressDictator.NamedAddress[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"manager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"setAddresses",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x406905414D6c250C186F4616EFA38D5fc0759437"},JUt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xfC2ab6987C578218f99E85d61Dcf4814A26637Bd"},XUt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_maxTransactionGasLimit",type:"uint256"},{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"MAX_ROLLUP_TX_SIZE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_ROLLUP_TX_GAS",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"enqueueGasCost",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"enqueueL2GasPrepaid",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2GasDiscountDivisor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxTransactionGasLimit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x607F755149cFEB3a14E1Dc3A4E2450Cde7dfb04D"},ZUt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x4325Ac17c7fF5Afc0d05335dD30Db3D010455813"},eHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x41eF5DaF4A7719bfe89A88BA3DD0DCFF5feCeD39"},tHt={abi:[{inputs:[{internalType:"contract L1ChugSplashProxy",name:"_target",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"bytes32",name:"_codeHash",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotVal",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotVal",type:"bytes32"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"bridgeSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"bridgeSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"codeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"doActions",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"target",outputs:[{internalType:"contract L1ChugSplashProxy",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0x0e62FAf76a0239827f35f41478b521293e06195a"},nHt={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"donateETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1messenger",type:"address"},{internalType:"address",name:"_l2TokenBridge",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],address:"0x65DD71354923A51fC00DaE41A39F37eBB66549d4"},aHt={abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"string",name:"_name",type:"string"},{indexed:!1,internalType:"address",name:"_newAddress",type:"address"},{indexed:!1,internalType:"address",name:"_oldAddress",type:"address"}],name:"AddressSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],name:"setAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xa6f73589243a6A7a9023b1Fa0651b1d89c177111"},rHt={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageAllowed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageBlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"allowMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"blockMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"blockedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0x2eB424e0930E93Cf250e488f6117a929714Bb928"},fHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],address:"0x5086d1eEF304eb5284A0f6720f79403b4e9bE294"},iHt={abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"},{inputs:[],name:"getImplementation",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"setCode",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_key",type:"bytes32"},{internalType:"bytes32",name:"_value",type:"bytes32"}],name:"setStorage",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x636Af16bf2f682dD3109e60102b8E1A089FedAa8"},sHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_fraudProofWindow",type:"uint256"},{internalType:"uint256",name:"_sequencerPublishWindow",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[],name:"FRAUD_PROOF_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"SEQUENCER_PUBLISH_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],address:"0x9c945aC97Baf48cB784AbBB61399beB71aF7A378"},oHt={abi:[{inputs:[{internalType:"contract Lib_AddressManager",name:"_manager",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"string[]",name:"_names",type:"string[]"},{internalType:"address[]",name:"_addresses",type:"address[]"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNamedAddresses",outputs:[{components:[{internalType:"string",name:"name",type:"string"},{internalType:"address",name:"addr",type:"address"}],internalType:"struct AddressDictator.NamedAddress[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"manager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"setAddresses",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x7a74f7934a233e10E8757264132B2E4EbccF5098"},cHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xcd626E1328b41fCF24737F137BcD4CE0c32bc8d1"},dHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_maxTransactionGasLimit",type:"uint256"},{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"MAX_ROLLUP_TX_SIZE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_ROLLUP_TX_GAS",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"enqueueGasCost",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"enqueueL2GasPrepaid",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2GasDiscountDivisor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxTransactionGasLimit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x5E4e65926BA27467555EB562121fac00D24E9dD2"},lHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xD16463EF9b0338CE3D73309028ef1714D220c024"},uHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xb0ddFf09c4019e31960de11bD845E836078E8EbE"},pHt={abi:[{inputs:[{internalType:"contract L1ChugSplashProxy",name:"_target",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"bytes32",name:"_codeHash",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotVal",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotVal",type:"bytes32"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"bridgeSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"bridgeSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"codeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"doActions",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"target",outputs:[{internalType:"contract L1ChugSplashProxy",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xD86065136E3ab1e3FCBbf47B59404c08A431051A"},hHt={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"donateETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1messenger",type:"address"},{internalType:"address",name:"_l2TokenBridge",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],address:"0x29Ea454F8f2750e345E52e302A0c09f1A5215AC7"},bHt={abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"string",name:"_name",type:"string"},{indexed:!1,internalType:"address",name:"_newAddress",type:"address"},{indexed:!1,internalType:"address",name:"_oldAddress",type:"address"}],name:"AddressSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],name:"setAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xdE1FCfB0851916CA5101820A69b13a4E276bd81F"},mHt={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageAllowed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageBlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"allowMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"blockMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"blockedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xd9166833FF12A5F900ccfBf2c8B62a90F1Ca1FD5"},yHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],address:"0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1"},gHt={abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"},{inputs:[],name:"getImplementation",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"setCode",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_key",type:"bytes32"},{internalType:"bytes32",name:"_value",type:"bytes32"}],name:"setStorage",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"},vHt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_fraudProofWindow",type:"uint256"},{internalType:"uint256",name:"_sequencerPublishWindow",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[],name:"FRAUD_PROOF_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"SEQUENCER_PUBLISH_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],address:"0xBe5dAb4A2e9cd0F27300dB4aB94BeE3A233AEB19"},wHt={abi:[{inputs:[{internalType:"uint256",name:"_minDepositAmount",type:"uint256"},{internalType:"uint256",name:"_maxDepositAmount",type:"uint256"},{internalType:"uint256",name:"_maxBalance",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!1,internalType:"uint256",name:"balance",type:"uint256"}],name:"BalanceWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"depositId",type:"uint256"},{indexed:!0,internalType:"address",name:"emitter",type:"address"},{indexed:!0,internalType:"uint256",name:"amount",type:"uint256"}],name:"EtherReceived",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"previousBalance",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newBalance",type:"uint256"}],name:"MaxBalanceSet",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"previousAmount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newAmount",type:"uint256"}],name:"MaxDepositAmountSet",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"previousAmount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newAmount",type:"uint256"}],name:"MinDepositAmountSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[],name:"maxBalance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxDepositAmount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"minDepositAmount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_maxDepositAmount",type:"uint256"}],name:"setMaxAmount",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_maxBalance",type:"uint256"}],name:"setMaxBalance",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_minDepositAmount",type:"uint256"}],name:"setMinAmount",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"totalDeposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"withdrawBalance",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],address:"0x52ec2F3d7C5977A8E558C8D9C6000B615098E8fC"},THt=(t,e)=>({goerli__AddressDictator:$Ut,goerli__BondManager:JUt,goerli__CanonicalTransactionChain:XUt,goerli__ChainStorageContainer_CTC_batches:ZUt,goerli__ChainStorageContainer_SCC_batches:eHt,goerli__ChugSplashDictator:tHt,goerli__L1StandardBridge_for_verification_only:nHt,goerli__Lib_AddressManager:aHt,goerli__OVM_L1CrossDomainMessenger:rHt,goerli__Proxy__OVM_L1CrossDomainMessenger:fHt,goerli__Proxy__OVM_L1StandardBridge:iHt,goerli__StateCommitmentChain:sHt,mainnet__AddressDictator:oHt,mainnet__BondManager:cHt,mainnet__CanonicalTransactionChain:dHt,mainnet__ChainStorageContainer_CTC_batches:lHt,mainnet__ChainStorageContainer_SCC_batches:uHt,mainnet__ChugSplashDictator:pHt,mainnet__L1StandardBridge_for_verification_only:hHt,mainnet__Lib_AddressManager:bHt,mainnet__OVM_L1CrossDomainMessenger:mHt,mainnet__Proxy__OVM_L1CrossDomainMessenger:yHt,mainnet__Proxy__OVM_L1StandardBridge:gHt,mainnet__StateCommitmentChain:vHt,mainnet__TeleportrDeposit:wHt})[(e+"__"+t).replace(/-/g,"_")];XW.getDeployedContractArtifact=THt});var BKe=D(k6=>{"use strict";u();p();Object.defineProperty(k6,"__esModule",{value:!0});k6.getContractFactory=k6.getContractInterface=k6.getDeployedContractDefinition=k6.getContractDefinition=void 0;var MKe=Xe(),xHt=t=>{let{getContractArtifact:e}=SKe(),n=e(t);if(n===void 0)throw new Error(`Unable to find artifact for contract: ${t}`);return n};k6.getContractDefinition=xHt;var EHt=(t,e)=>{let{getDeployedContractArtifact:n}=RKe(),a=n(t,e);if(a===void 0)throw new Error(`Unable to find artifact for contract on network ${e}: ${t}`);return a};k6.getDeployedContractDefinition=EHt;var _Ht=t=>{let e=(0,k6.getContractDefinition)(t);return new MKe.ethers.utils.Interface(e.abi)};k6.getContractInterface=_Ht;var AHt=(t,e)=>{let n=(0,k6.getContractDefinition)(t),a=(0,k6.getContractInterface)(t);return new MKe.ethers.ContractFactory(a,n.bytecode,e)};k6.getContractFactory=AHt});var DKe=D(Tx=>{"use strict";u();p();Object.defineProperty(Tx,"__esModule",{value:!0});Tx.futurePredeploys=Tx.predeploys=void 0;Tx.predeploys={OVM_L2ToL1MessagePasser:"0x4200000000000000000000000000000000000000",OVM_DeployerWhitelist:"0x4200000000000000000000000000000000000002",L2CrossDomainMessenger:"0x4200000000000000000000000000000000000007",OVM_GasPriceOracle:"0x420000000000000000000000000000000000000F",L2StandardBridge:"0x4200000000000000000000000000000000000010",OVM_SequencerFeeVault:"0x4200000000000000000000000000000000000011",L2StandardTokenFactory:"0x4200000000000000000000000000000000000012",OVM_L1BlockNumber:"0x4200000000000000000000000000000000000013",OVM_ETH:"0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",WETH9:"0x4200000000000000000000000000000000000006"};Tx.futurePredeploys={System0:"0x4200000000000000000000000000000000000042",System1:"0x4200000000000000000000000000000000000014"}});var xx=D(Ib=>{"use strict";u();p();var CHt=Ib&&Ib.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),PKe=Ib&&Ib.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&CHt(e,t,n)};Object.defineProperty(Ib,"__esModule",{value:!0});PKe(BKe(),Ib);PKe(DKe(),Ib)});var $oe=D((jca,IHt)=>{IHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC20To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeETH",inputs:[{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"bridgeETHTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"depositERC20",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"depositERC20To",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"depositETH",inputs:[{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"depositETHTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"deposits",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"finalizeBridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeBridgeETH",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeERC20Withdrawal",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeETHWithdrawal",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"initialize",inputs:[{name:"_messenger",type:"address",internalType:"contract CrossDomainMessenger"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l2TokenBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ERC20BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20DepositInitiated",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20WithdrawalFinalized",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeFinalized",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeInitiated",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHDepositInitiated",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHWithdrawalFinalized",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001f60008062000025565b62000234565b600054610100900460ff1615808015620000465750600054600160ff909116105b8062000076575062000063306200018a60201b620005511760201c565b15801562000076575060005460ff166001145b620000df5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000103576000805461ff0019166101001790555b603280546001600160a01b0319166001600160a01b0384161790556200013e8373420000000000000000000000000000000000001062000199565b801562000185576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b03163b151590565b600054610100900460ff16620002065760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d6565b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055565b612c4d80620002446000396000f3fe6080604052600436106101795760003560e01c80637f46ddb2116100cb578063927ede2d1161007f578063b1a1a88211610059578063b1a1a882146104fe578063c89701a214610511578063e11013dd1461053e57600080fd5b8063927ede2d146104a05780639a2ac6d5146104cb578063a9f9e675146104de57600080fd5b806387087623116100b0578063870876231461043a5780638f601f661461045a57806391c49bf8146103ef57600080fd5b80637f46ddb2146103ef578063838b25201461041a57600080fd5b80633cb747bf1161012d57806354fd4d501161010757806354fd4d501461035457806358a997f6146103aa5780635c975abb146103ca57600080fd5b80633cb747bf146102e7578063485cc95514610314578063540abf731461033457600080fd5b80631532ec341161015e5780631532ec341461026a5780631635f5fd1461027d57806335e80ab31461029057600080fd5b80630166a07a1461023757806309fc88431461025757600080fd5b3661023257333b15610212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b610230333362030d406040518060200160405280600081525061056d565b005b600080fd5b34801561024357600080fd5b506102306102523660046126b1565b610580565b610230610265366004612762565b61099a565b6102306102783660046127b5565b610a71565b61023061028b3660046127b5565b610a85565b34801561029c57600080fd5b506032546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102f357600080fd5b506003546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561032057600080fd5b5061023061032f366004612828565b610f4e565b34801561034057600080fd5b5061023061034f366004612861565b611137565b34801561036057600080fd5b5061039d6040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516102de919061294e565b3480156103b657600080fd5b506102306103c5366004612961565b61117c565b3480156103d657600080fd5b506103df611250565b60405190151581526020016102de565b3480156103fb57600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff166102bd565b34801561042657600080fd5b50610230610435366004612861565b6112e9565b34801561044657600080fd5b50610230610455366004612961565b61132e565b34801561046657600080fd5b50610492610475366004612828565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102de565b3480156104ac57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff166102bd565b6102306104d93660046129e4565b611402565b3480156104ea57600080fd5b506102306104f93660046126b1565b611444565b61023061050c366004612762565b611453565b34801561051d57600080fd5b506004546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b61023061054c3660046129e4565b611524565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61057a8484348585611567565b50505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610653575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610617573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b9190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610705576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b61070d611250565b15610774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b61077d87611731565b156108cb5761078c8787611793565b61083e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b1580156108ae57600080fd5b505af11580156108c2573d6000803e3d6000fd5b5050505061094d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054610909908490612a93565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c168352939052919091209190915561094d9085856118b3565b610991878787878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061198792505050565b50505050505050565b333b15610a29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c3333348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b505050565b610a7e8585858585610a85565b5050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610b58575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610b1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b409190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b610c12611250565b15610c79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b823414610d08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e742072657175697265640000000000006064820152608401610209565b3073ffffffffffffffffffffffffffffffffffffffff851603610dad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c6600000000000000000000000000000000000000000000000000000000006064820152608401610209565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610e58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e6765720000000000000000000000000000000000000000000000006064820152608401610209565b610e9a85858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a1592505050565b6000610eb7855a8660405180602001604052806000815250611a88565b905080610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c656400000000000000000000000000000000000000000000000000000000006064820152608401610209565b505050505050565b600054610100900460ff1615808015610f6e5750600054600160ff909116105b80610f885750303b158015610f88575060005460ff166001145b611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610209565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561107257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556110d083734200000000000000000000000000000000000010611aa2565b8015610a6c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b333b1561120b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa1580156112c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e49190612aaa565b905090565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b333b156113bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b61057a33858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61099187878787878787610580565b333b156114e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c33338585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61057a3385348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b8234146115f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c756500006064820152608401610209565b61160285858584611ec6565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd0000000000000000000000000000000000000000000000000000000090611665908b908b9086908a90602401612acc565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b90921682526116f892918890600401612b15565b6000604051808303818588803b15801561171157600080fd5b505af1158015611725573d6000803e3d6000fd5b50505050505050505050565b600061175d827f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b8061178d575061178d827fec4fc8e300000000000000000000000000000000000000000000000000000000611f39565b92915050565b60006117bf837f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b15611868578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118339190612a47565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614905061178d565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610a6c9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611f5c565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b38686866040516119ff93929190612b5a565b60405180910390a4610f46868686868686612068565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e6318484604051611a74929190612b98565b60405180910390a361057a848484846120f0565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611b39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610209565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b611b9587611731565b15611ce357611ba48787611793565b611c56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b158015611cc657600080fd5b505af1158015611cda573d6000803e3d6000fd5b50505050611d77565b611d0573ffffffffffffffffffffffffffffffffffffffff881686308661215d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054611d43908490612bb1565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b611d858787878787866121bb565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611de9908b908d908c908c908c908b90602401612bc9565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b9092168252611e7c92918790600401612b15565b600060405180830381600087803b158015611e9657600080fd5b505af1158015611eaa573d6000803e3d6000fd5b5050505050505050505050565b61099187878787878787611b8c565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f238484604051611f25929190612b98565b60405180910390a361057a84848484612249565b6000611f44836122a8565b8015611f555750611f55838361230c565b9392505050565b6000611fbe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123db9092919063ffffffff16565b805190915015610a6c5780806020019051810190611fdc9190612aaa565b610a6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610209565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd8686866040516120e093929190612b5a565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d848460405161214f929190612b98565b60405180910390a350505050565b60405173ffffffffffffffffffffffffffffffffffffffff8085166024830152831660448201526064810182905261057a9085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401611905565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039686868660405161223393929190612b5a565b60405180910390a4610f468686868686866123f2565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5848460405161214f929190612b98565b60006122d4827f01ffc9a70000000000000000000000000000000000000000000000000000000061230c565b801561178d5750612305827fffffffff0000000000000000000000000000000000000000000000000000000061230c565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156123c4575060208210155b80156123d05750600081115b979650505050505050565b60606123ea848460008561246a565b949350505050565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf8686866040516120e093929190612b5a565b6060824710156124fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610209565b73ffffffffffffffffffffffffffffffffffffffff85163b61257a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610209565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516125a39190612c24565b60006040518083038185875af1925050503d80600081146125e0576040519150601f19603f3d011682016040523d82523d6000602084013e6125e5565b606091505b50915091506123d0828286606083156125ff575081611f55565b82511561260f5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610209919061294e565b73ffffffffffffffffffffffffffffffffffffffff8116811461266557600080fd5b50565b60008083601f84011261267a57600080fd5b50813567ffffffffffffffff81111561269257600080fd5b6020830191508360208285010111156126aa57600080fd5b9250929050565b600080600080600080600060c0888a0312156126cc57600080fd5b87356126d781612643565b965060208801356126e781612643565b955060408801356126f781612643565b9450606088013561270781612643565b93506080880135925060a088013567ffffffffffffffff81111561272a57600080fd5b6127368a828b01612668565b989b979a50959850939692959293505050565b803563ffffffff8116811461275d57600080fd5b919050565b60008060006040848603121561277757600080fd5b61278084612749565b9250602084013567ffffffffffffffff81111561279c57600080fd5b6127a886828701612668565b9497909650939450505050565b6000806000806000608086880312156127cd57600080fd5b85356127d881612643565b945060208601356127e881612643565b935060408601359250606086013567ffffffffffffffff81111561280b57600080fd5b61281788828901612668565b969995985093965092949392505050565b6000806040838503121561283b57600080fd5b823561284681612643565b9150602083013561285681612643565b809150509250929050565b600080600080600080600060c0888a03121561287c57600080fd5b873561288781612643565b9650602088013561289781612643565b955060408801356128a781612643565b9450606088013593506128bc60808901612749565b925060a088013567ffffffffffffffff81111561272a57600080fd5b60005b838110156128f35781810151838201526020016128db565b8381111561057a5750506000910152565b6000815180845261291c8160208601602086016128d8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611f556020830184612904565b60008060008060008060a0878903121561297a57600080fd5b863561298581612643565b9550602087013561299581612643565b9450604087013593506129aa60608801612749565b9250608087013567ffffffffffffffff8111156129c657600080fd5b6129d289828a01612668565b979a9699509497509295939492505050565b600080600080606085870312156129fa57600080fd5b8435612a0581612643565b9350612a1360208601612749565b9250604085013567ffffffffffffffff811115612a2f57600080fd5b612a3b87828801612668565b95989497509550505050565b600060208284031215612a5957600080fd5b8151611f5581612643565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015612aa557612aa5612a64565b500390565b600060208284031215612abc57600080fd5b81518015158114611f5557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612b0b6080830184612904565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152606060208201526000612b446060830185612904565b905063ffffffff83166040830152949350505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612b8f6060830184612904565b95945050505050565b8281526040602082015260006123ea6040830184612904565b60008219821115612bc457612bc4612a64565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a0830152612c1860c0830184612904565b98975050505050505050565b60008251612c368184602087016128d8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1209:12690:128:-:0;;;3691:157;;;;;;;;;-1:-1:-1;3732:109:128::1;3786:1;::::0;3732:10:::1;:109::i;:::-;1209:12690:::0;;4055:322;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;4173:16:128::1;:36:::0;;-1:-1:-1;;;;;;4173:36:128::1;-1:-1:-1::0;;;;;4173:36:128;::::1;;::::0;;4219:151:::1;4267:10:::0;635:42:194::1;4219:21:128;:151::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;4055:322:128;;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;5373:236:230:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;830:2:350;4880:69:41;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4880:69:41;628:407:350;4880:69:41;5544:9:230::1;:22:::0;;-1:-1:-1;;;;;5544:22:230;;::::1;-1:-1:-1::0;;;;;;5544:22:230;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;628:407:350:-;1209:12690:128;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101795760003560e01c80637f46ddb2116100cb578063927ede2d1161007f578063b1a1a88211610059578063b1a1a882146104fe578063c89701a214610511578063e11013dd1461053e57600080fd5b8063927ede2d146104a05780639a2ac6d5146104cb578063a9f9e675146104de57600080fd5b806387087623116100b0578063870876231461043a5780638f601f661461045a57806391c49bf8146103ef57600080fd5b80637f46ddb2146103ef578063838b25201461041a57600080fd5b80633cb747bf1161012d57806354fd4d501161010757806354fd4d501461035457806358a997f6146103aa5780635c975abb146103ca57600080fd5b80633cb747bf146102e7578063485cc95514610314578063540abf731461033457600080fd5b80631532ec341161015e5780631532ec341461026a5780631635f5fd1461027d57806335e80ab31461029057600080fd5b80630166a07a1461023757806309fc88431461025757600080fd5b3661023257333b15610212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b610230333362030d406040518060200160405280600081525061056d565b005b600080fd5b34801561024357600080fd5b506102306102523660046126b1565b610580565b610230610265366004612762565b61099a565b6102306102783660046127b5565b610a71565b61023061028b3660046127b5565b610a85565b34801561029c57600080fd5b506032546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102f357600080fd5b506003546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561032057600080fd5b5061023061032f366004612828565b610f4e565b34801561034057600080fd5b5061023061034f366004612861565b611137565b34801561036057600080fd5b5061039d6040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516102de919061294e565b3480156103b657600080fd5b506102306103c5366004612961565b61117c565b3480156103d657600080fd5b506103df611250565b60405190151581526020016102de565b3480156103fb57600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff166102bd565b34801561042657600080fd5b50610230610435366004612861565b6112e9565b34801561044657600080fd5b50610230610455366004612961565b61132e565b34801561046657600080fd5b50610492610475366004612828565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102de565b3480156104ac57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff166102bd565b6102306104d93660046129e4565b611402565b3480156104ea57600080fd5b506102306104f93660046126b1565b611444565b61023061050c366004612762565b611453565b34801561051d57600080fd5b506004546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b61023061054c3660046129e4565b611524565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61057a8484348585611567565b50505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610653575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610617573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b9190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610705576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b61070d611250565b15610774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b61077d87611731565b156108cb5761078c8787611793565b61083e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b1580156108ae57600080fd5b505af11580156108c2573d6000803e3d6000fd5b5050505061094d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054610909908490612a93565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c168352939052919091209190915561094d9085856118b3565b610991878787878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061198792505050565b50505050505050565b333b15610a29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c3333348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b505050565b610a7e8585858585610a85565b5050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610b58575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610b1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b409190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b610c12611250565b15610c79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b823414610d08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e742072657175697265640000000000006064820152608401610209565b3073ffffffffffffffffffffffffffffffffffffffff851603610dad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c6600000000000000000000000000000000000000000000000000000000006064820152608401610209565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610e58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e6765720000000000000000000000000000000000000000000000006064820152608401610209565b610e9a85858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a1592505050565b6000610eb7855a8660405180602001604052806000815250611a88565b905080610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c656400000000000000000000000000000000000000000000000000000000006064820152608401610209565b505050505050565b600054610100900460ff1615808015610f6e5750600054600160ff909116105b80610f885750303b158015610f88575060005460ff166001145b611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610209565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561107257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556110d083734200000000000000000000000000000000000010611aa2565b8015610a6c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b333b1561120b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa1580156112c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e49190612aaa565b905090565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b333b156113bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b61057a33858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61099187878787878787610580565b333b156114e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c33338585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61057a3385348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b8234146115f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c756500006064820152608401610209565b61160285858584611ec6565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd0000000000000000000000000000000000000000000000000000000090611665908b908b9086908a90602401612acc565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b90921682526116f892918890600401612b15565b6000604051808303818588803b15801561171157600080fd5b505af1158015611725573d6000803e3d6000fd5b50505050505050505050565b600061175d827f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b8061178d575061178d827fec4fc8e300000000000000000000000000000000000000000000000000000000611f39565b92915050565b60006117bf837f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b15611868578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118339190612a47565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614905061178d565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610a6c9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611f5c565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b38686866040516119ff93929190612b5a565b60405180910390a4610f46868686868686612068565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e6318484604051611a74929190612b98565b60405180910390a361057a848484846120f0565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611b39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610209565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b611b9587611731565b15611ce357611ba48787611793565b611c56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b158015611cc657600080fd5b505af1158015611cda573d6000803e3d6000fd5b50505050611d77565b611d0573ffffffffffffffffffffffffffffffffffffffff881686308661215d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054611d43908490612bb1565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b611d858787878787866121bb565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611de9908b908d908c908c908c908b90602401612bc9565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b9092168252611e7c92918790600401612b15565b600060405180830381600087803b158015611e9657600080fd5b505af1158015611eaa573d6000803e3d6000fd5b5050505050505050505050565b61099187878787878787611b8c565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f238484604051611f25929190612b98565b60405180910390a361057a84848484612249565b6000611f44836122a8565b8015611f555750611f55838361230c565b9392505050565b6000611fbe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123db9092919063ffffffff16565b805190915015610a6c5780806020019051810190611fdc9190612aaa565b610a6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610209565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd8686866040516120e093929190612b5a565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d848460405161214f929190612b98565b60405180910390a350505050565b60405173ffffffffffffffffffffffffffffffffffffffff8085166024830152831660448201526064810182905261057a9085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401611905565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039686868660405161223393929190612b5a565b60405180910390a4610f468686868686866123f2565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5848460405161214f929190612b98565b60006122d4827f01ffc9a70000000000000000000000000000000000000000000000000000000061230c565b801561178d5750612305827fffffffff0000000000000000000000000000000000000000000000000000000061230c565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156123c4575060208210155b80156123d05750600081115b979650505050505050565b60606123ea848460008561246a565b949350505050565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf8686866040516120e093929190612b5a565b6060824710156124fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610209565b73ffffffffffffffffffffffffffffffffffffffff85163b61257a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610209565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516125a39190612c24565b60006040518083038185875af1925050503d80600081146125e0576040519150601f19603f3d011682016040523d82523d6000602084013e6125e5565b606091505b50915091506123d0828286606083156125ff575081611f55565b82511561260f5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610209919061294e565b73ffffffffffffffffffffffffffffffffffffffff8116811461266557600080fd5b50565b60008083601f84011261267a57600080fd5b50813567ffffffffffffffff81111561269257600080fd5b6020830191508360208285010111156126aa57600080fd5b9250929050565b600080600080600080600060c0888a0312156126cc57600080fd5b87356126d781612643565b965060208801356126e781612643565b955060408801356126f781612643565b9450606088013561270781612643565b93506080880135925060a088013567ffffffffffffffff81111561272a57600080fd5b6127368a828b01612668565b989b979a50959850939692959293505050565b803563ffffffff8116811461275d57600080fd5b919050565b60008060006040848603121561277757600080fd5b61278084612749565b9250602084013567ffffffffffffffff81111561279c57600080fd5b6127a886828701612668565b9497909650939450505050565b6000806000806000608086880312156127cd57600080fd5b85356127d881612643565b945060208601356127e881612643565b935060408601359250606086013567ffffffffffffffff81111561280b57600080fd5b61281788828901612668565b969995985093965092949392505050565b6000806040838503121561283b57600080fd5b823561284681612643565b9150602083013561285681612643565b809150509250929050565b600080600080600080600060c0888a03121561287c57600080fd5b873561288781612643565b9650602088013561289781612643565b955060408801356128a781612643565b9450606088013593506128bc60808901612749565b925060a088013567ffffffffffffffff81111561272a57600080fd5b60005b838110156128f35781810151838201526020016128db565b8381111561057a5750506000910152565b6000815180845261291c8160208601602086016128d8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611f556020830184612904565b60008060008060008060a0878903121561297a57600080fd5b863561298581612643565b9550602087013561299581612643565b9450604087013593506129aa60608801612749565b9250608087013567ffffffffffffffff8111156129c657600080fd5b6129d289828a01612668565b979a9699509497509295939492505050565b600080600080606085870312156129fa57600080fd5b8435612a0581612643565b9350612a1360208601612749565b9250604085013567ffffffffffffffff811115612a2f57600080fd5b612a3b87828801612668565b95989497509550505050565b600060208284031215612a5957600080fd5b8151611f5581612643565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015612aa557612aa5612a64565b500390565b600060208284031215612abc57600080fd5b81518015158114611f5557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612b0b6080830184612904565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152606060208201526000612b446060830185612904565b905063ffffffff83166040830152949350505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612b8f6060830184612904565b95945050505050565b8281526040602082015260006123ea6040830184612904565b60008219821115612bc457612bc4612a64565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a0830152612c1860c0830184612904565b98975050505050505050565b60008251612c368184602087016128d8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1209:12690:128:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4741:10:230;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;;;;;;;;;4658:81:128::1;4678:10;4690;1343:7:230;4729:9:128;;;;;;;;;;;::::0;4658:19:::1;:81::i;:::-;1209:12690:::0;;;;;13351:1084:230;;;;;;;;;;-1:-1:-1;13351:1084:230;;;;;:::i;:::-;;:::i;7253:186::-;;;;;;:::i;:::-;;:::i;8758:245:128:-;;;;;;:::i;:::-;;:::i;11717:902:230:-;;;;;;:::i;:::-;;:::i;3586:40:128:-;;;;;;;;;;-1:-1:-1;3586:40:128;;;;;;;;;;;3607:42:350;3595:55;;;3577:74;;3565:2;3550:18;3586:40:128;;;;;;;;1893:37:230;;;;;;;;;;-1:-1:-1;1893:37:230;;;;;;;;4055:322:128;;;;;;;;;;-1:-1:-1;4055:322:128;;;;;:::i;:::-;;:::i;10804:349:230:-;;;;;;;;;;-1:-1:-1;10804:349:230;;;;;:::i;:::-;;:::i;3481:40:128:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;7066:339::-;;;;;;;;;;-1:-1:-1;7066:339:128;;;;;:::i;:::-;;:::i;4418:103::-;;;;;;;;;;;;;:::i;:::-;;;7155:14:350;;7148:22;7130:41;;7118:2;7103:18;4418:103:128;6990:187:350;6369:98:230;;;;;;;;;;-1:-1:-1;6449:11:230;;;;6369:98;;8106:339:128;;;;;;;;;;-1:-1:-1;8106:339:128;;;;;:::i;:::-;;:::i;9519:349:230:-;;;;;;;;;;-1:-1:-1;9519:349:230;;;;;:::i;:::-;;:::i;1739:63::-;;;;;;;;;;-1:-1:-1;1739:63:230;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;7985:25:350;;;7973:2;7958:18;1739:63:230;7839:177:350;6024:99:230;;;;;;;;;;-1:-1:-1;6107:9:230;;;;6024:99;;6242:179:128;;;;;;:::i;:::-;;:::i;9453:305::-;;;;;;;;;;-1:-1:-1;9453:305:128;;;;;:::i;:::-;;:::i;5183:179::-;;;;;;:::i;:::-;;:::i;2028:33:230:-;;;;;;;;;;-1:-1:-1;2028:33:230;;;;;;;;8450:186;;;;;;:::i;:::-;;:::i;1175:320:57:-;1465:19;;;:23;;;1175:320::o;10356:196:128:-;10478:67;10497:5;10504:3;10509:9;10520:12;10534:10;10478:18;:67::i;:::-;10356:196;;;;:::o;13351:1084:230:-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:230;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9331:2:350;4961:204:230;;;9313:21:350;9370:2;9350:18;;;9343:30;9409:34;9389:18;;;9382:62;9480:34;9460:18;;;9453:62;9552:3;9531:19;;;9524:32;9573:19;;4961:204:230;9129:469:350;4961:204:230;13610:8:::1;:6;:8::i;:::-;:17;13602:52;;;::::0;::::1;::::0;;9805:2:350;13602:52:230::1;::::0;::::1;9787:21:350::0;9844:2;9824:18;;;9817:30;9883:24;9863:18;;;9856:52;9925:18;;13602:52:230::1;9603:346:350::0;13602:52:230::1;13668:37;13693:11;13668:24;:37::i;:::-;13664:489;;;13746:46;13766:11;13779:12;13746:19;:46::i;:::-;13721:179;;;::::0;::::1;::::0;;10156:2:350;13721:179:230::1;::::0;::::1;10138:21:350::0;10195:2;10175:18;;;10168:30;10234:34;10214:18;;;10207:62;10305:34;10285:18;;;10278:62;10377:12;10356:19;;;10349:41;10407:19;;13721:179:230::1;9954:478:350::0;13721:179:230::1;13915:53;::::0;;;;:39:::1;10629:55:350::0;;;13915:53:230::1;::::0;::::1;10611:74:350::0;10701:18;;;10694:34;;;13915:39:230;::::1;::::0;::::1;::::0;10584:18:350;;13915:53:230::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;13664:489;;;14037:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;:45:::1;::::0;14075:7;;14037:45:::1;:::i;:::-;13999:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;;;:83;;;;14096:46:::1;::::0;14129:3;14134:7;14096:32:::1;:46::i;:::-;14343:85;14369:11;14382:12;14396:5;14403:3;14408:7;14417:10;;14343:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;14343:25:230::1;::::0;-1:-1:-1;;;14343:85:230:i:1;:::-;13351:1084:::0;;;;;;;:::o;7253:186::-;4741:10;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;7353:79:::1;7372:10;7384;7396:9;7407:12;7421:10;;7353:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;7353:18:230::1;::::0;-1:-1:-1;;;7353:79:230:i:1;:::-;7253:186:::0;;;:::o;8758:245:128:-;8946:50;8964:5;8971:3;8976:7;8985:10;;8946:17;:50::i;:::-;8758:245;;;;;:::o;11717:902:230:-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:230;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9331:2:350;4961:204:230;;;9313:21:350;9370:2;9350:18;;;9343:30;9409:34;9389:18;;;9382:62;9480:34;9460:18;;;9453:62;9552:3;9531:19;;;9524:32;9573:19;;4961:204:230;9129:469:350;4961:204:230;11931:8:::1;:6;:8::i;:::-;:17;11923:52;;;::::0;::::1;::::0;;9805:2:350;11923:52:230::1;::::0;::::1;9787:21:350::0;9844:2;9824:18;;;9817:30;9883:24;9863:18;;;9856:52;9925:18;;11923:52:230::1;9603:346:350::0;11923:52:230::1;12006:7;11993:9;:20;11985:91;;;::::0;::::1;::::0;;11260:2:350;11985:91:230::1;::::0;::::1;11242:21:350::0;11299:2;11279:18;;;11272:30;11338:34;11318:18;;;11311:62;11409:28;11389:18;;;11382:56;11455:19;;11985:91:230::1;11058:422:350::0;11985:91:230::1;12109:4;12094:20;::::0;::::1;::::0;12086:68:::1;;;::::0;::::1;::::0;;11687:2:350;12086:68:230::1;::::0;::::1;11669:21:350::0;11726:2;11706:18;;;11699:30;11765:34;11745:18;;;11738:62;11836:5;11816:18;;;11809:33;11859:19;;12086:68:230::1;11485:399:350::0;12086:68:230::1;12187:9;::::0;::::1;::::0;;::::1;12172:25:::0;;::::1;::::0;12164:78:::1;;;::::0;::::1;::::0;;12091:2:350;12164:78:230::1;::::0;::::1;12073:21:350::0;12130:2;12110:18;;;12103:30;12169:34;12149:18;;;12142:62;12240:10;12220:18;;;12213:38;12268:19;;12164:78:230::1;11889:404:350::0;12164:78:230::1;12420:56;12444:5;12451:3;12456:7;12465:10;;12420:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;12420:23:230::1;::::0;-1:-1:-1;;;12420:56:230:i:1;:::-;12487:12;12502:45;12516:3;12521:9;12532:7;12502:45;;;;;;;;;;;::::0;:13:::1;:45::i;:::-;12487:60;;12565:7;12557:55;;;::::0;::::1;::::0;;12500:2:350;12557:55:230::1;::::0;::::1;12482:21:350::0;12539:2;12519:18;;;12512:30;12578:34;12558:18;;;12551:62;12649:5;12629:18;;;12622:33;12672:19;;12557:55:230::1;12298:399:350::0;12557:55:230::1;11913:706;11717:902:::0;;;;;:::o;4055:322:128:-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;12904:2:350;3146:190:41;;;12886:21:350;12943:2;12923:18;;;12916:30;12982:34;12962:18;;;12955:62;13053:16;13033:18;;;13026:44;13087:19;;3146:190:41;12702:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;4173:16:128::1;:36:::0;;;::::1;;::::0;::::1;;::::0;;4219:151:::1;4267:10:::0;635:42:194::1;4219:21:128;:151::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;13269:36:350;;3531:14:41;;13257:2:350;13242:18;3531:14:41;;;;;;;3090:472;4055:322:128;;:::o;10804:349:230:-;11047:99;11068:11;11081:12;11095:10;11107:3;11112:7;11121:12;11135:10;;11047:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11047:20:230;;-1:-1:-1;;;11047:99:230:i;7066:339:128:-;4741:10:230;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;7298:100:128::1;7320:8;7330;7340:10;7352;7364:7;7373:12;7387:10;;7298:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;7298:21:128::1;::::0;-1:-1:-1;;;7298:100:128:i:1;4418:103::-:0;4489:16;;:25;;;;;;;;4466:4;;4489:16;;;:23;;:25;;;;;;;;;;;;;;:16;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4482:32;;4418:103;:::o;8106:339::-;8345:93;8367:8;8377;8387:10;8399:3;8404:7;8413:12;8427:10;;8345:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8345:21:128;;-1:-1:-1;;;8345:93:128:i;9519:349:230:-;4741:10;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;9755:106:::1;9776:11;9789:12;9803:10;9815;9827:7;9836:12;9850:10;;9755:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;9755:20:230::1;::::0;-1:-1:-1;;;9755:106:230:i:1;6242:179:128:-:0;6352:62;6372:10;6384:3;6389:12;6403:10;;6352:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6352:19:128;;-1:-1:-1;;;6352:62:128:i;9453:305::-;9679:72;9699:8;9709;9719:5;9726:3;9731:7;9740:10;;9679:19;:72::i;5183:179::-;4741:10:230;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;5286:69:128::1;5306:10;5318;5330:12;5344:10;;5286:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;5286:19:128::1;::::0;-1:-1:-1;;;5286:69:128:i:1;8450:186:230:-:0;8557:72;8576:10;8588:3;8593:9;8604:12;8618:10;;8557:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8557:18:230;;-1:-1:-1;;;8557:72:230:i;15023:789::-;15240:7;15227:9;:20;15219:95;;;;;;;13800:2:350;15219:95:230;;;13782:21:350;13839:2;13819:18;;;13812:30;13878:34;13858:18;;;13851:62;13949:32;13929:18;;;13922:60;13999:19;;15219:95:230;13598:426:350;15219:95:230;15492:56;15516:5;15523:3;15528:7;15537:10;15492:23;:56::i;:::-;15559:9;;15630:11;;15666:88;;15559:9;;;;;:21;;15589:7;;15630:11;;;15689:31;;15666:88;;15722:5;;15729:3;;15589:7;;15743:10;;15666:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;15559:246;;;;;;;;;;;;;15782:12;;15559:246;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15023:789;;;;;:::o;18454:279::-;18527:4;18550:79;18582:6;18590:38;18550:31;:79::i;:::-;:176;;;;18645:81;18677:6;18685:40;18645:31;:81::i;:::-;18543:183;18454:279;-1:-1:-1;;18454:279:230:o;19180:410::-;19277:4;19297:87;19329:14;19345:38;19297:31;:87::i;:::-;19293:291;;;19443:14;19422:44;;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19407:61;;:11;:61;;;19400:68;;;;19293:291;19544:14;19521:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;763:205:50;902:58;;10641:42:350;10629:55;;902:58:50;;;10611:74:350;10701:18;;;10694:34;;;875:86:50;;895:5;;925:23;;10584:18:350;;902:58:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;875:19;:86::i;13450:447:128:-;13757:5;13705:84;;13743:12;13705:84;;13730:11;13705:84;;;13764:3;13769:7;13778:10;13705:84;;;;;;;;:::i;:::-;;;;;;;;13799:91;13831:11;13844:12;13858:5;13865:3;13870:7;13879:10;13799:31;:91::i;12208:328::-;12432:3;12402:55;;12425:5;12402:55;;;12437:7;12446:10;12402:55;;;;;;;:::i;:::-;;;;;;;;12467:62;12497:5;12504:3;12509:7;12518:10;12467:29;:62::i;1202:536:195:-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:195:o;5373:236:230:-;4888:13:41;;;;;;;4880:69;;;;;;;15885:2:350;4880:69:41;;;15867:21:350;15924:2;15904:18;;;15897:30;15963:34;15943:18;;;15936:62;16034:13;16014:18;;;16007:41;16065:19;;4880:69:41;15683:407:350;4880:69:41;5544:9:230::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;16506:1684::-;16767:37;16792:11;16767:24;:37::i;:::-;16763:512;;;16845:46;16865:11;16878:12;16845:19;:46::i;:::-;16820:179;;;;;;;10156:2:350;16820:179:230;;;10138:21:350;10195:2;10175:18;;;10168:30;10234:34;10214:18;;;10207:62;10305:34;10285:18;;;10278:62;10377:12;10356:19;;;10349:41;10407:19;;16820:179:230;9954:478:350;16820:179:230;17014:55;;;;;:39;10629:55:350;;;17014::230;;;10611:74:350;10701:18;;;10694:34;;;17014:39:230;;;;;10584:18:350;;17014:55:230;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16763:512;;;17100:67;:36;;;17137:5;17152:4;17159:7;17100:36;:67::i;:::-;17219:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;;:45;;17257:7;;17219:45;:::i;:::-;17181:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;:83;16763:512;17465:85;17491:11;17504:12;17518:5;17525:3;17530:7;17539:10;17465:25;:85::i;:::-;17561:9;;17614:11;;17650:482;;17561:9;;;;;:21;;17614:11;;17690:33;;17650:482;;17976:12;;18006:11;;18035:5;;18058:3;;18079:7;;18104:10;;17650:482;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;17561:622;;;;;;;;;;;;;18160:12;;17561:622;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16506:1684;;;;;;;:::o;11078:345:128:-;11329:87;11350:8;11360;11370:5;11377:3;11382:7;11391:12;11405:10;11329:20;:87::i;11651:325::-;11872:3;11845:52;;11865:5;11845:52;;;11877:7;11886:10;11845:52;;;;;;;:::i;:::-;;;;;;;;11907:62;11937:5;11944:3;11949:7;11958:10;11907:29;:62::i;1333:274:65:-;1420:4;1527:23;1542:7;1527:14;:23::i;:::-;:73;;;;;1554:46;1579:7;1588:11;1554:24;:46::i;:::-;1520:80;1333:274;-1:-1:-1;;;1333:274:65:o;3747:706:50:-;4166:23;4192:69;4220:4;4192:69;;;;;;;;;;;;;;;;;4200:5;4192:27;;;;:69;;;;;:::i;:::-;4275:17;;4166:95;;-1:-1:-1;4275:21:50;4271:176;;4370:10;4359:30;;;;;;;;;;;;:::i;:::-;4351:85;;;;;;;17109:2:350;4351:85:50;;;17091:21:350;17148:2;17128:18;;;17121:30;17187:34;17167:18;;;17160:62;17258:12;17238:18;;;17231:40;17288:19;;4351:85:50;16907:406:350;22245:341:230;22547:5;22499:80;;22533:12;22499:80;;22520:11;22499:80;;;22554:3;22559:7;22568:10;22499:80;;;;;;;;:::i;:::-;;;;;;;;22245:341;;;;;;:::o;20587:251::-;20806:3;20780:51;;20799:5;20780:51;;;20811:7;20820:10;20780:51;;;;;;;:::i;:::-;;;;;;;;20587:251;;;;:::o;974:241:50:-;1139:68;;17530:42:350;17599:15;;;1139:68:50;;;17581:34:350;17651:15;;17631:18;;;17624:43;17683:18;;;17676:34;;;1112:96:50;;1132:5;;1162:27;;17493:18:350;;1139:68:50;17318:398:350;12771:444:128;13075:5;13026:81;;13061:12;13026:81;;13048:11;13026:81;;;13082:3;13087:7;13096:10;13026:81;;;;;;;;:::i;:::-;;;;;;;;13117:91;13149:11;13162:12;13176:5;13183:3;13188:7;13197:10;13117:31;:91::i;19966:251:230:-;20185:3;20159:51;;20178:5;20159:51;;;20190:7;20199:10;20159:51;;;;;;;:::i;704:411:65:-;768:4;975:60;1000:7;1009:25;975:24;:60::i;:::-;:133;;;;-1:-1:-1;1052:56:65;1077:7;1086:21;1052:24;:56::i;:::-;1051:57;956:152;704:411;-1:-1:-1;;704:411:65:o;4223:638::-;4385:71;;;17895:66:350;17883:79;;4385:71:65;;;;17865:98:350;;;;4385:71:65;;;;;;;;;;17838:18:350;;;;4385:71:65;;;;;;;;;;;4408:34;4385:71;;;4664:20;;4316:4;;4385:71;4316:4;;;;;;4385:71;4316:4;;4664:20;4629:7;4622:5;4611:86;4600:97;;4724:16;4710:30;;4774:4;4768:11;4753:26;;4806:7;:29;;;;;4831:4;4817:10;:18;;4806:29;:48;;;;;4853:1;4839:11;:15;4806:48;4799:55;4223:638;-1:-1:-1;;;;;;;4223:638:65:o;3861:223:57:-;3994:12;4025:52;4047:6;4055:4;4061:1;4064:12;4025:21;:52::i;:::-;4018:59;3861:223;-1:-1:-1;;;;3861:223:57:o;21371:341:230:-;21673:5;21625:80;;21659:12;21625:80;;21646:11;21625:80;;;21680:3;21685:7;21694:10;21625:80;;;;;;;;:::i;4948:499:57:-;5113:12;5170:5;5145:21;:30;;5137:81;;;;;;;18176:2:350;5137:81:57;;;18158:21:350;18215:2;18195:18;;;18188:30;18254:34;18234:18;;;18227:62;18325:8;18305:18;;;18298:36;18351:19;;5137:81:57;17974:402:350;5137:81:57;1465:19;;;;5228:60;;;;;;;18583:2:350;5228:60:57;;;18565:21:350;18622:2;18602:18;;;18595:30;18661:31;18641:18;;;18634:59;18710:18;;5228:60:57;18381:353:350;5228:60:57;5300:12;5314:23;5341:6;:11;;5360:5;5367:4;5341:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:73;;;;5389:51;5406:7;5415:10;5427:12;7707;7735:7;7731:566;;;-1:-1:-1;7765:10:57;7758:17;;7731:566;7876:17;;:21;7872:415;;8120:10;8114:17;8180:15;8167:10;8163:2;8159:19;8152:44;7872:415;8259:12;8252:20;;;;;;;;;;;:::i;438:154:350:-;524:42;517:5;513:54;506:5;503:65;493:93;;582:1;579;572:12;493:93;438:154;:::o;597:347::-;648:8;658:6;712:3;705:4;697:6;693:17;689:27;679:55;;730:1;727;720:12;679:55;-1:-1:-1;753:20:350;;796:18;785:30;;782:50;;;828:1;825;818:12;782:50;865:4;857:6;853:17;841:29;;917:3;910:4;901:6;893;889:19;885:30;882:39;879:59;;;934:1;931;924:12;879:59;597:347;;;;;:::o;949:1038::-;1064:6;1072;1080;1088;1096;1104;1112;1165:3;1153:9;1144:7;1140:23;1136:33;1133:53;;;1182:1;1179;1172:12;1133:53;1221:9;1208:23;1240:31;1265:5;1240:31;:::i;:::-;1290:5;-1:-1:-1;1347:2:350;1332:18;;1319:32;1360:33;1319:32;1360:33;:::i;:::-;1412:7;-1:-1:-1;1471:2:350;1456:18;;1443:32;1484:33;1443:32;1484:33;:::i;:::-;1536:7;-1:-1:-1;1595:2:350;1580:18;;1567:32;1608:33;1567:32;1608:33;:::i;:::-;1660:7;-1:-1:-1;1714:3:350;1699:19;;1686:33;;-1:-1:-1;1770:3:350;1755:19;;1742:33;1798:18;1787:30;;1784:50;;;1830:1;1827;1820:12;1784:50;1869:58;1919:7;1910:6;1899:9;1895:22;1869:58;:::i;:::-;949:1038;;;;-1:-1:-1;949:1038:350;;-1:-1:-1;949:1038:350;;;;1843:84;;-1:-1:-1;;;949:1038:350:o;1992:163::-;2059:20;;2119:10;2108:22;;2098:33;;2088:61;;2145:1;2142;2135:12;2088:61;1992:163;;;:::o;2160:481::-;2238:6;2246;2254;2307:2;2295:9;2286:7;2282:23;2278:32;2275:52;;;2323:1;2320;2313:12;2275:52;2346:28;2364:9;2346:28;:::i;:::-;2336:38;;2425:2;2414:9;2410:18;2397:32;2452:18;2444:6;2441:30;2438:50;;;2484:1;2481;2474:12;2438:50;2523:58;2573:7;2564:6;2553:9;2549:22;2523:58;:::i;:::-;2160:481;;2600:8;;-1:-1:-1;2497:84:350;;-1:-1:-1;;;;2160:481:350:o;2646:754::-;2743:6;2751;2759;2767;2775;2828:3;2816:9;2807:7;2803:23;2799:33;2796:53;;;2845:1;2842;2835:12;2796:53;2884:9;2871:23;2903:31;2928:5;2903:31;:::i;:::-;2953:5;-1:-1:-1;3010:2:350;2995:18;;2982:32;3023:33;2982:32;3023:33;:::i;:::-;3075:7;-1:-1:-1;3129:2:350;3114:18;;3101:32;;-1:-1:-1;3184:2:350;3169:18;;3156:32;3211:18;3200:30;;3197:50;;;3243:1;3240;3233:12;3197:50;3282:58;3332:7;3323:6;3312:9;3308:22;3282:58;:::i;:::-;2646:754;;;;-1:-1:-1;2646:754:350;;-1:-1:-1;3359:8:350;;3256:84;2646:754;-1:-1:-1;;;2646:754:350:o;3924:445::-;4049:6;4057;4110:2;4098:9;4089:7;4085:23;4081:32;4078:52;;;4126:1;4123;4116:12;4078:52;4165:9;4152:23;4184:31;4209:5;4184:31;:::i;:::-;4234:5;-1:-1:-1;4291:2:350;4276:18;;4263:32;4304:33;4263:32;4304:33;:::i;:::-;4356:7;4346:17;;;3924:445;;;;;:::o;4374:969::-;4488:6;4496;4504;4512;4520;4528;4536;4589:3;4577:9;4568:7;4564:23;4560:33;4557:53;;;4606:1;4603;4596:12;4557:53;4645:9;4632:23;4664:31;4689:5;4664:31;:::i;:::-;4714:5;-1:-1:-1;4771:2:350;4756:18;;4743:32;4784:33;4743:32;4784:33;:::i;:::-;4836:7;-1:-1:-1;4895:2:350;4880:18;;4867:32;4908:33;4867:32;4908:33;:::i;:::-;4960:7;-1:-1:-1;5014:2:350;4999:18;;4986:32;;-1:-1:-1;5037:38:350;5070:3;5055:19;;5037:38;:::i;:::-;5027:48;;5126:3;5115:9;5111:19;5098:33;5154:18;5146:6;5143:30;5140:50;;;5186:1;5183;5176:12;5348:258;5420:1;5430:113;5444:6;5441:1;5438:13;5430:113;;;5520:11;;;5514:18;5501:11;;;5494:39;5466:2;5459:10;5430:113;;;5561:6;5558:1;5555:13;5552:48;;;-1:-1:-1;;5596:1:350;5578:16;;5571:27;5348:258::o;5611:317::-;5653:3;5691:5;5685:12;5718:6;5713:3;5706:19;5734:63;5790:6;5783:4;5778:3;5774:14;5767:4;5760:5;5756:16;5734:63;:::i;:::-;5842:2;5830:15;5847:66;5826:88;5817:98;;;;5917:4;5813:109;;5611:317;-1:-1:-1;;5611:317:350:o;5933:220::-;6082:2;6071:9;6064:21;6045:4;6102:45;6143:2;6132:9;6128:18;6120:6;6102:45;:::i;6158:827::-;6263:6;6271;6279;6287;6295;6303;6356:3;6344:9;6335:7;6331:23;6327:33;6324:53;;;6373:1;6370;6363:12;6324:53;6412:9;6399:23;6431:31;6456:5;6431:31;:::i;:::-;6481:5;-1:-1:-1;6538:2:350;6523:18;;6510:32;6551:33;6510:32;6551:33;:::i;:::-;6603:7;-1:-1:-1;6657:2:350;6642:18;;6629:32;;-1:-1:-1;6680:37:350;6713:2;6698:18;;6680:37;:::i;:::-;6670:47;;6768:3;6757:9;6753:19;6740:33;6796:18;6788:6;6785:30;6782:50;;;6828:1;6825;6818:12;6782:50;6867:58;6917:7;6908:6;6897:9;6893:22;6867:58;:::i;:::-;6158:827;;;;-1:-1:-1;6158:827:350;;-1:-1:-1;6158:827:350;;6944:8;;6158:827;-1:-1:-1;;;6158:827:350:o;8252:616::-;8339:6;8347;8355;8363;8416:2;8404:9;8395:7;8391:23;8387:32;8384:52;;;8432:1;8429;8422:12;8384:52;8471:9;8458:23;8490:31;8515:5;8490:31;:::i;:::-;8540:5;-1:-1:-1;8564:37:350;8597:2;8582:18;;8564:37;:::i;:::-;8554:47;;8652:2;8641:9;8637:18;8624:32;8679:18;8671:6;8668:30;8665:50;;;8711:1;8708;8701:12;8665:50;8750:58;8800:7;8791:6;8780:9;8776:22;8750:58;:::i;:::-;8252:616;;;;-1:-1:-1;8827:8:350;-1:-1:-1;;;;8252:616:350:o;8873:251::-;8943:6;8996:2;8984:9;8975:7;8971:23;8967:32;8964:52;;;9012:1;9009;9002:12;8964:52;9044:9;9038:16;9063:31;9088:5;9063:31;:::i;10739:184::-;10791:77;10788:1;10781:88;10888:4;10885:1;10878:15;10912:4;10909:1;10902:15;10928:125;10968:4;10996:1;10993;10990:8;10987:34;;;11001:18;;:::i;:::-;-1:-1:-1;11038:9:350;;10928:125::o;13316:277::-;13383:6;13436:2;13424:9;13415:7;13411:23;13407:32;13404:52;;;13452:1;13449;13442:12;13404:52;13484:9;13478:16;13537:5;13530:13;13523:21;13516:5;13513:32;13503:60;;13559:1;13556;13549:12;14029:512;14223:4;14252:42;14333:2;14325:6;14321:15;14310:9;14303:34;14385:2;14377:6;14373:15;14368:2;14357:9;14353:18;14346:43;;14425:6;14420:2;14409:9;14405:18;14398:34;14468:3;14463:2;14452:9;14448:18;14441:31;14489:46;14530:3;14519:9;14515:19;14507:6;14489:46;:::i;:::-;14481:54;14029:512;-1:-1:-1;;;;;;14029:512:350:o;14546:424::-;14759:42;14751:6;14747:55;14736:9;14729:74;14839:2;14834;14823:9;14819:18;14812:30;14710:4;14859:45;14900:2;14889:9;14885:18;14877:6;14859:45;:::i;:::-;14851:53;;14952:10;14944:6;14940:23;14935:2;14924:9;14920:18;14913:51;14546:424;;;;;;:::o;14975:409::-;15190:42;15182:6;15178:55;15167:9;15160:74;15270:6;15265:2;15254:9;15250:18;15243:34;15313:2;15308;15297:9;15293:18;15286:30;15141:4;15333:45;15374:2;15363:9;15359:18;15351:6;15333:45;:::i;:::-;15325:53;14975:409;-1:-1:-1;;;;;14975:409:350:o;15389:289::-;15564:6;15553:9;15546:25;15607:2;15602;15591:9;15587:18;15580:30;15527:4;15627:45;15668:2;15657:9;15653:18;15645:6;15627:45;:::i;16095:128::-;16135:3;16166:1;16162:6;16159:1;16156:13;16153:39;;;16172:18;;:::i;:::-;-1:-1:-1;16208:9:350;;16095:128::o;16228:674::-;16478:4;16507:42;16588:2;16580:6;16576:15;16565:9;16558:34;16640:2;16632:6;16628:15;16623:2;16612:9;16608:18;16601:43;16692:2;16684:6;16680:15;16675:2;16664:9;16660:18;16653:43;16744:2;16736:6;16732:15;16727:2;16716:9;16712:18;16705:43;;16785:6;16779:3;16768:9;16764:19;16757:35;16829:3;16823;16812:9;16808:19;16801:32;16850:46;16891:3;16880:9;16876:19;16868:6;16850:46;:::i;:::-;16842:54;16228:674;-1:-1:-1;;;;;;;;16228:674:350:o;18739:274::-;18868:3;18906:6;18900:13;18922:53;18968:6;18963:3;18956:4;18948:6;18944:17;18922:53;:::i;:::-;18991:16;;;;;18739:274;-1:-1:-1;;18739:274:350:o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC20(address,address,uint256,uint32,bytes)":"87087623","bridgeERC20To(address,address,address,uint256,uint32,bytes)":"540abf73","bridgeETH(uint32,bytes)":"09fc8843","bridgeETHTo(address,uint32,bytes)":"e11013dd","depositERC20(address,address,uint256,uint32,bytes)":"58a997f6","depositERC20To(address,address,address,uint256,uint32,bytes)":"838b2520","depositETH(uint32,bytes)":"b1a1a882","depositETHTo(address,uint32,bytes)":"9a2ac6d5","deposits(address,address)":"8f601f66","finalizeBridgeERC20(address,address,address,address,uint256,bytes)":"0166a07a","finalizeBridgeETH(address,address,uint256,bytes)":"1635f5fd","finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":"a9f9e675","finalizeETHWithdrawal(address,address,uint256,bytes)":"1532ec34","initialize(address,address)":"485cc955","l2TokenBridge()":"91c49bf8","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","superchainConfig()":"35e80ab3","version()":"54fd4d50"},rawMetadata:`{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20DepositInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20WithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHDepositInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHWithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETHTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositERC20To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositETHTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeERC20Withdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeETHWithdrawal","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract CrossDomainMessenger","name":"_messenger","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l2TokenBridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@title L1StandardBridge","events":{"ERC20DepositInitiated(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever an ERC20 deposit is initiated.","params":{"amount":"Amount of the ERC20 deposited.","extraData":"Extra data attached to the deposit.","from":"Address of the depositor.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L2."}},"ERC20WithdrawalFinalized(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever an ERC20 withdrawal is finalized.","params":{"amount":"Amount of the ERC20 withdrawn.","extraData":"Extra data attached to the withdrawal.","from":"Address of the withdrawer.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L1."}},"ETHDepositInitiated(address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever a deposit of ETH from L1 into L2 is initiated.","params":{"amount":"Amount of ETH deposited.","extraData":"Extra data attached to the deposit.","from":"Address of the depositor.","to":"Address of the recipient on L2."}},"ETHWithdrawalFinalized(address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever a withdrawal of ETH from L2 to L1 is finalized.","params":{"amount":"Amount of ETH withdrawn.","extraData":"Extra data attached to the withdrawal.","from":"Address of the withdrawer.","to":"Address of the recipient on L1."}}},"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"bridgeETH(uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_to":"Address of the receiver."}},"depositERC20(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into the sender's account on L2.","params":{"_amount":"Amount of the ERC20 to deposit.","_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_l1Token":"Address of the L1 token being deposited.","_l2Token":"Address of the corresponding token on L2.","_minGasLimit":"Minimum gas limit for the deposit message on L2."}},"depositERC20To(address,address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into a target account on L2.","params":{"_amount":"Amount of the ERC20 to deposit.","_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_l1Token":"Address of the L1 token being deposited.","_l2Token":"Address of the corresponding token on L2.","_minGasLimit":"Minimum gas limit for the deposit message on L2.","_to":"Address of the recipient on L2."}},"depositETH(uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into the sender's account on L2.","params":{"_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_minGasLimit":"Minimum gas limit for the deposit message on L2."}},"depositETHTo(address,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into a target account on L2. Note that if ETH is sent to a contract on L2 and the call fails, then that ETH will be locked in the L2StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently.","params":{"_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_minGasLimit":"Minimum gas limit for the deposit message on L2.","_to":"Address of the recipient on L2."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"params":{"_amount":"Amount of the ERC20 being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_localToken":"Address of the ERC20 on this chain.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{"params":{"_amount":"Amount of ETH being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_to":"Address of the receiver."}},"finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ERC20 tokens from L2.","params":{"_amount":"Amount of the ERC20 to withdraw.","_extraData":"Optional data forwarded from L2.","_from":"Address of the withdrawer on L2.","_l1Token":"Address of the token on L1.","_l2Token":"Address of the corresponding token on L2.","_to":"Address of the recipient on L1."}},"finalizeETHWithdrawal(address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ETH from L2.","params":{"_amount":"Amount of ETH to withdraw.","_extraData":"Optional data forwarded from L2.","_from":"Address of the withdrawer on L2.","_to":"Address of the recipient on L1."}},"initialize(address,address)":{"params":{"_messenger":"Contract for the CrossDomainMessenger on this network.","_superchainConfig":"Contract for the SuperchainConfig on this network."}},"l2TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L2 bridge contract.","returns":{"_0":"Address of the corresponding L2 bridge contract."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}}},"stateVariables":{"version":{"custom:semver":"2.1.0"}},"version":1},"userdoc":{"events":{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is initiated to the other chain."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use \`messenger\` instead."},"OTHER_BRIDGE()":{"notice":"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use \`otherBridge\` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to the sender's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to a receiver's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{"notice":"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{"notice":"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},"constructor":{"notice":"Constructs the L1StandardBridge contract."},"deposits(address,address)":{"notice":"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"notice":"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{"notice":"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address,address)":{"notice":"Initializer."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Corresponding bridge on the other domain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{"notice":"Address of the SuperchainConfig contract."},"version()":{"notice":"Semantic version."}},"notice":"The L1StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L1, it will be escrowed within this contract. If the ERC20 token is native to L2, it will be burnt. Before Bedrock, ETH was stored within this contract. After Bedrock, ETH is instead stored inside the OptimismPortal contract. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists.","version":1}},"settings":{"compilationTarget":{"src/L1/L1StandardBridge.sol":"L1StandardBridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1StandardBridge.sol":{"keccak256":"0x2fdc6f6f464a24344847c81d394f502d000cd722f7ff21fa21104b5f7e392633","license":"MIT","urls":["bzz-raw://393fd96446ab8fce3bb7d1134e6ff847bf9940e0eaa199accf01118c3917367f","dweb:/ipfs/QmX36camDYHu7pVzdjnfprinxPpZnjJehZXUKTyUdezKRK"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90","license":"MIT","urls":["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"]}},"version":1}`,metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20DepositInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20WithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHDepositInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHWithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20To"},{inputs:[{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETH"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETHTo"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"depositERC20"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"depositERC20To"},{inputs:[{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositETH"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositETHTo"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC20"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeBridgeETH"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeERC20Withdrawal"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeETHWithdrawal"},{inputs:[{internalType:"contract CrossDomainMessenger",name:"_messenger",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"depositERC20(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into the sender's account on L2.",params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositERC20To(address,address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into a target account on L2.",params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"depositETH(uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into the sender's account on L2.",params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositETHTo(address,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into a target account on L2. Note that if ETH is sent to a contract on L2 and the call fails, then that ETH will be locked in the L2StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently.",params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ERC20 tokens from L2.",params:{_amount:"Amount of the ERC20 to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_l1Token:"Address of the token on L1.",_l2Token:"Address of the corresponding token on L2.",_to:"Address of the recipient on L1."}},"finalizeETHWithdrawal(address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ETH from L2.",params:{_amount:"Amount of ETH to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_to:"Address of the recipient on L1."}},"initialize(address,address)":{params:{_messenger:"Contract for the CrossDomainMessenger on this network.",_superchainConfig:"Contract for the SuperchainConfig on this network."}},"l2TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L2 bridge contract.",returns:{_0:"Address of the corresponding L2 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L1StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address,address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L1StandardBridge.sol":"L1StandardBridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1StandardBridge.sol":{keccak256:"0x2fdc6f6f464a24344847c81d394f502d000cd722f7ff21fa21104b5f7e392633",urls:["bzz-raw://393fd96446ab8fce3bb7d1134e6ff847bf9940e0eaa199accf01118c3917367f","dweb:/ipfs/QmX36camDYHu7pVzdjnfprinxPpZnjJehZXUKTyUdezKRK"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90",urls:["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:107554,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:107557,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"spacer_1_0_20",offset:0,slot:"1",type:"t_address"},{astId:107564,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"deposits",offset:0,slot:"2",type:"t_mapping(t_address,t_mapping(t_address,t_uint256))"},{astId:107568,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"messenger",offset:0,slot:"3",type:"t_contract(CrossDomainMessenger)105498"},{astId:107572,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"otherBridge",offset:0,slot:"4",type:"t_contract(StandardBridge)108285"},{astId:107577,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"__gap",offset:0,slot:"5",type:"t_array(t_uint256)45_storage"},{astId:82468,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"superchainConfig",offset:0,slot:"50",type:"t_contract(SuperchainConfig)85848"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)45_storage":{encoding:"inplace",label:"uint256[45]",numberOfBytes:"1440",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)108285":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},"t_contract(SuperchainConfig)85848":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_uint256))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => uint256))",numberOfBytes:"32",value:"t_mapping(t_address,t_uint256)"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L1StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address,address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},events:{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is initiated to the other chain."}},notice:"The L1StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L1, it will be escrowed within this contract. If the ERC20 token is native to L2, it will be burnt. Before Bedrock, ETH was stored within this contract. After Bedrock, ETH is instead stored inside the OptimismPortal contract. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"depositERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"depositETH(uint32,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositETHTo(address,uint32,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_l1Token:"Address of the token on L1.",_l2Token:"Address of the corresponding token on L2.",_to:"Address of the recipient on L1."}},"finalizeETHWithdrawal(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_to:"Address of the recipient on L1."}},"initialize(address,address)":{params:{_messenger:"Contract for the CrossDomainMessenger on this network.",_superchainConfig:"Contract for the SuperchainConfig on this network."}},"l2TokenBridge()":{returns:{_0:"Address of the corresponding L2 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},events:{"ERC20DepositInitiated(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 deposited.",extraData:"Extra data attached to the deposit.",from:"Address of the depositor.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L2."}},"ERC20WithdrawalFinalized(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 withdrawn.",extraData:"Extra data attached to the withdrawal.",from:"Address of the withdrawer.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L1."}},"ETHDepositInitiated(address,address,uint256,bytes)":{params:{amount:"Amount of ETH deposited.",extraData:"Extra data attached to the deposit.",from:"Address of the depositor.",to:"Address of the recipient on L2."}},"ETHWithdrawalFinalized(address,address,uint256,bytes)":{params:{amount:"Amount of ETH withdrawn.",extraData:"Extra data attached to the withdrawal.",from:"Address of the withdrawer.",to:"Address of the recipient on L1."}}}},id:128}});var Joe=D((Gca,kHt)=>{kHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC20To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeETH",inputs:[{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"bridgeETHTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"deposits",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"finalizeBridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeBridgeETH",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeDeposit",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"initialize",inputs:[{name:"_otherBridge",type:"address",internalType:"contract StandardBridge"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l1TokenBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"withdraw",inputs:[{name:"_l2Token",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"withdrawTo",inputs:[{name:"_l2Token",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"event",name:"DepositFinalized",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeFinalized",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeInitiated",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"WithdrawalInitiated",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000217565b600054610100900460ff1615808015620000455750600054600160ff909116105b8062000075575062000062306200016d60201b620004811760201c565b15801562000075575060005460ff166001145b620000de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000102576000805461ff0019166101001790555b62000122734200000000000000000000000000000000000007836200017c565b801562000169576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054610100900460ff16620001e95760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055565b612a8380620002276000396000f3fe60806040526004361061012d5760003560e01c8063662a633a116100a5578063927ede2d11610074578063c4d66de811610059578063c4d66de814610421578063c89701a214610441578063e11013dd1461046e57600080fd5b8063927ede2d146103e3578063a3a795481461040e57600080fd5b8063662a633a1461036a5780637f46ddb21461025a578063870876231461037d5780638f601f661461039d57600080fd5b806336c717c1116100fc578063540abf73116100e1578063540abf73146102d857806354fd4d50146102f85780635c975abb1461034e57600080fd5b806336c717c11461025a5780633cb747bf146102ab57600080fd5b80630166a07a1461020157806309fc8843146102215780631635f5fd1461023457806332b7006d1461024757600080fd5b366101fc57333b156101c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b6101fa73deaddeaddeaddeaddeaddeaddeaddeaddead000033333462030d406040518060200160405280600081525061049d565b005b600080fd5b34801561020d57600080fd5b506101fa61021c366004612476565b610578565b6101fa61022f366004612527565b61091a565b6101fa61024236600461257a565b6109f1565b6101fa6102553660046125ed565b610e43565b34801561026657600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102b757600080fd5b506003546102819073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102e457600080fd5b506101fa6102f3366004612641565b610f1d565b34801561030457600080fd5b506103416040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516102a2919061272e565b34801561035a57600080fd5b50604051600081526020016102a2565b6101fa610378366004612476565b610f62565b34801561038957600080fd5b506101fa610398366004612741565b610fd5565b3480156103a957600080fd5b506103d56103b83660046127c4565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102a2565b3480156103ef57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff16610281565b6101fa61041c366004612741565b6110a9565b34801561042d57600080fd5b506101fa61043c3660046127fd565b6110ed565b34801561044d57600080fd5b506004546102819073ffffffffffffffffffffffffffffffffffffffff1681565b6101fa61047c36600461281a565b611296565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b7fffffffffffffffffffffffff215221522152215221522152215221522153000073ffffffffffffffffffffffffffffffffffffffff8716016104ec576104e785858585856112df565b610570565b60008673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055d919061287d565b905061056e878288888888886114a9565b505b505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff163314801561064b575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa15801561060f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610633919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b6106fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b610706876117d4565b15610854576107158787611836565b6107c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b15801561083757600080fd5b505af115801561084b573d6000803e3d6000fd5b505050506108d6565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a16835292905220546108929084906128c9565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c16835293905291909120919091556108d6908585611956565b61056e878787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a2a92505050565b333b156109a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b6109ec3333348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610ac4575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610a88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aac919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b610b76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b823414610c05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e7420726571756972656400000000000060648201526084016101bd565b3073ffffffffffffffffffffffffffffffffffffffff851603610caa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c66000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610d55576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e67657200000000000000000000000000000000000000000000000060648201526084016101bd565b610d9785858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611ab892505050565b6000610db4855a8660405180602001604052806000815250611b59565b905080610570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c6564000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b333b15610ed2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b610f16853333878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b5050505050565b61056e87873388888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b73ffffffffffffffffffffffffffffffffffffffff8716158015610faf575073ffffffffffffffffffffffffffffffffffffffff861673deaddeaddeaddeaddeaddeaddeaddeaddead0000145b15610fc657610fc185858585856109f1565b61056e565b61056e86888787878787610578565b333b15611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b61057086863333888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b610570863387878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b600054610100900460ff161580801561110d5750600054600160ff909116105b806111275750303b158015611127575060005460ff166001145b6111b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016101bd565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561121157600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b61122f73420000000000000000000000000000000000000783611b73565b801561129257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6112d93385348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b50505050565b82341461136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c7565000060648201526084016101bd565b61137a85858584611c5d565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd00000000000000000000000000000000000000000000000000000000906113dd908b908b9086908a906024016128e0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b909216825261147092918890600401612929565b6000604051808303818588803b15801561148957600080fd5b505af115801561149d573d6000803e3d6000fd5b50505050505050505050565b6114b2876117d4565b15611600576114c18787611836565b611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b1580156115e357600080fd5b505af11580156115f7573d6000803e3d6000fd5b50505050611694565b61162273ffffffffffffffffffffffffffffffffffffffff8816863086611cfe565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a168352929052205461166090849061296e565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b6116a2878787878786611d5c565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611706908b908d908c908c908c908b90602401612986565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b909216825261179992918790600401612929565b600060405180830381600087803b1580156117b357600080fd5b505af11580156117c7573d6000803e3d6000fd5b5050505050505050505050565b6000611800827f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b806118305750611830827fec4fc8e300000000000000000000000000000000000000000000000000000000611dea565b92915050565b6000611862837f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b1561190b578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d6919061287d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050611830565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109ec9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611e0d565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611aa2939291906129e1565b60405180910390a4610570868686868686611f19565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611b45939291906129e1565b60405180910390a46112d984848484611fa1565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016101bd565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611cea939291906129e1565b60405180910390a46112d98484848461200e565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526112d99085907f23b872dd00000000000000000000000000000000000000000000000000000000906084016119a8565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611dd4939291906129e1565b60405180910390a461057086868686868661206d565b6000611df5836120e5565b8015611e065750611e068383612149565b9392505050565b6000611e6f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166122189092919063ffffffff16565b8051909150156109ec5780806020019051810190611e8d9190612a1f565b6109ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016101bd565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd868686604051611f91939291906129e1565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d8484604051612000929190612a41565b60405180910390a350505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af58484604051612000929190612a41565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf868686604051611f91939291906129e1565b6000612111827f01ffc9a700000000000000000000000000000000000000000000000000000000612149565b80156118305750612142827fffffffff00000000000000000000000000000000000000000000000000000000612149565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d91506000519050828015612201575060208210155b801561220d5750600081115b979650505050505050565b6060612227848460008561222f565b949350505050565b6060824710156122c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016101bd565b73ffffffffffffffffffffffffffffffffffffffff85163b61233f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101bd565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516123689190612a5a565b60006040518083038185875af1925050503d80600081146123a5576040519150601f19603f3d011682016040523d82523d6000602084013e6123aa565b606091505b509150915061220d828286606083156123c4575081611e06565b8251156123d45782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101bd919061272e565b73ffffffffffffffffffffffffffffffffffffffff8116811461242a57600080fd5b50565b60008083601f84011261243f57600080fd5b50813567ffffffffffffffff81111561245757600080fd5b60208301915083602082850101111561246f57600080fd5b9250929050565b600080600080600080600060c0888a03121561249157600080fd5b873561249c81612408565b965060208801356124ac81612408565b955060408801356124bc81612408565b945060608801356124cc81612408565b93506080880135925060a088013567ffffffffffffffff8111156124ef57600080fd5b6124fb8a828b0161242d565b989b979a50959850939692959293505050565b803563ffffffff8116811461252257600080fd5b919050565b60008060006040848603121561253c57600080fd5b6125458461250e565b9250602084013567ffffffffffffffff81111561256157600080fd5b61256d8682870161242d565b9497909650939450505050565b60008060008060006080868803121561259257600080fd5b853561259d81612408565b945060208601356125ad81612408565b935060408601359250606086013567ffffffffffffffff8111156125d057600080fd5b6125dc8882890161242d565b969995985093965092949392505050565b60008060008060006080868803121561260557600080fd5b853561261081612408565b9450602086013593506126256040870161250e565b9250606086013567ffffffffffffffff8111156125d057600080fd5b600080600080600080600060c0888a03121561265c57600080fd5b873561266781612408565b9650602088013561267781612408565b9550604088013561268781612408565b94506060880135935061269c6080890161250e565b925060a088013567ffffffffffffffff8111156124ef57600080fd5b60005b838110156126d35781810151838201526020016126bb565b838111156112d95750506000910152565b600081518084526126fc8160208601602086016126b8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611e0660208301846126e4565b60008060008060008060a0878903121561275a57600080fd5b863561276581612408565b9550602087013561277581612408565b94506040870135935061278a6060880161250e565b9250608087013567ffffffffffffffff8111156127a657600080fd5b6127b289828a0161242d565b979a9699509497509295939492505050565b600080604083850312156127d757600080fd5b82356127e281612408565b915060208301356127f281612408565b809150509250929050565b60006020828403121561280f57600080fd5b8135611e0681612408565b6000806000806060858703121561283057600080fd5b843561283b81612408565b93506128496020860161250e565b9250604085013567ffffffffffffffff81111561286557600080fd5b6128718782880161242d565b95989497509550505050565b60006020828403121561288f57600080fd5b8151611e0681612408565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156128db576128db61289a565b500390565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261291f60808301846126e4565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8416815260606020820152600061295860608301856126e4565b905063ffffffff83166040830152949350505050565b600082198211156129815761298161289a565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a08301526129d560c08301846126e4565b98975050505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612a1660608301846126e4565b95945050505050565b600060208284031215612a3157600080fd5b81518015158114611e0657600080fd5b82815260406020820152600061222760408301846126e4565b60008251612a6c8184602087016126b8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1141:9307:145:-:0;;;2615:113;;;;;;;;;-1:-1:-1;2656:65:145::1;2714:1;2656:10;:65::i;:::-;1141:9307:::0;;2849:242;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;2927:157:145::1;480:42:194;3061:12:145::0;2927:21:::1;:157::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;2849:242:145;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;5373:236:230:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;830:2:350;4880:69:41;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4880:69:41;628:407:350;4880:69:41;5544:9:230::1;:22:::0;;-1:-1:-1;;;;;5544:22:230;;::::1;-1:-1:-1::0;;;;;;5544:22:230;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;628:407:350:-;1141:9307:145;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061012d5760003560e01c8063662a633a116100a5578063927ede2d11610074578063c4d66de811610059578063c4d66de814610421578063c89701a214610441578063e11013dd1461046e57600080fd5b8063927ede2d146103e3578063a3a795481461040e57600080fd5b8063662a633a1461036a5780637f46ddb21461025a578063870876231461037d5780638f601f661461039d57600080fd5b806336c717c1116100fc578063540abf73116100e1578063540abf73146102d857806354fd4d50146102f85780635c975abb1461034e57600080fd5b806336c717c11461025a5780633cb747bf146102ab57600080fd5b80630166a07a1461020157806309fc8843146102215780631635f5fd1461023457806332b7006d1461024757600080fd5b366101fc57333b156101c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b6101fa73deaddeaddeaddeaddeaddeaddeaddeaddead000033333462030d406040518060200160405280600081525061049d565b005b600080fd5b34801561020d57600080fd5b506101fa61021c366004612476565b610578565b6101fa61022f366004612527565b61091a565b6101fa61024236600461257a565b6109f1565b6101fa6102553660046125ed565b610e43565b34801561026657600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102b757600080fd5b506003546102819073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102e457600080fd5b506101fa6102f3366004612641565b610f1d565b34801561030457600080fd5b506103416040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516102a2919061272e565b34801561035a57600080fd5b50604051600081526020016102a2565b6101fa610378366004612476565b610f62565b34801561038957600080fd5b506101fa610398366004612741565b610fd5565b3480156103a957600080fd5b506103d56103b83660046127c4565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102a2565b3480156103ef57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff16610281565b6101fa61041c366004612741565b6110a9565b34801561042d57600080fd5b506101fa61043c3660046127fd565b6110ed565b34801561044d57600080fd5b506004546102819073ffffffffffffffffffffffffffffffffffffffff1681565b6101fa61047c36600461281a565b611296565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b7fffffffffffffffffffffffff215221522152215221522152215221522153000073ffffffffffffffffffffffffffffffffffffffff8716016104ec576104e785858585856112df565b610570565b60008673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055d919061287d565b905061056e878288888888886114a9565b505b505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff163314801561064b575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa15801561060f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610633919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b6106fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b610706876117d4565b15610854576107158787611836565b6107c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b15801561083757600080fd5b505af115801561084b573d6000803e3d6000fd5b505050506108d6565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a16835292905220546108929084906128c9565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c16835293905291909120919091556108d6908585611956565b61056e878787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a2a92505050565b333b156109a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b6109ec3333348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610ac4575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610a88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aac919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b610b76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b823414610c05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e7420726571756972656400000000000060648201526084016101bd565b3073ffffffffffffffffffffffffffffffffffffffff851603610caa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c66000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610d55576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e67657200000000000000000000000000000000000000000000000060648201526084016101bd565b610d9785858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611ab892505050565b6000610db4855a8660405180602001604052806000815250611b59565b905080610570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c6564000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b333b15610ed2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b610f16853333878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b5050505050565b61056e87873388888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b73ffffffffffffffffffffffffffffffffffffffff8716158015610faf575073ffffffffffffffffffffffffffffffffffffffff861673deaddeaddeaddeaddeaddeaddeaddeaddead0000145b15610fc657610fc185858585856109f1565b61056e565b61056e86888787878787610578565b333b15611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b61057086863333888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b610570863387878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b600054610100900460ff161580801561110d5750600054600160ff909116105b806111275750303b158015611127575060005460ff166001145b6111b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016101bd565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561121157600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b61122f73420000000000000000000000000000000000000783611b73565b801561129257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6112d93385348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b50505050565b82341461136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c7565000060648201526084016101bd565b61137a85858584611c5d565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd00000000000000000000000000000000000000000000000000000000906113dd908b908b9086908a906024016128e0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b909216825261147092918890600401612929565b6000604051808303818588803b15801561148957600080fd5b505af115801561149d573d6000803e3d6000fd5b50505050505050505050565b6114b2876117d4565b15611600576114c18787611836565b611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b1580156115e357600080fd5b505af11580156115f7573d6000803e3d6000fd5b50505050611694565b61162273ffffffffffffffffffffffffffffffffffffffff8816863086611cfe565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a168352929052205461166090849061296e565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b6116a2878787878786611d5c565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611706908b908d908c908c908c908b90602401612986565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b909216825261179992918790600401612929565b600060405180830381600087803b1580156117b357600080fd5b505af11580156117c7573d6000803e3d6000fd5b5050505050505050505050565b6000611800827f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b806118305750611830827fec4fc8e300000000000000000000000000000000000000000000000000000000611dea565b92915050565b6000611862837f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b1561190b578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d6919061287d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050611830565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109ec9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611e0d565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611aa2939291906129e1565b60405180910390a4610570868686868686611f19565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611b45939291906129e1565b60405180910390a46112d984848484611fa1565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016101bd565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611cea939291906129e1565b60405180910390a46112d98484848461200e565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526112d99085907f23b872dd00000000000000000000000000000000000000000000000000000000906084016119a8565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611dd4939291906129e1565b60405180910390a461057086868686868661206d565b6000611df5836120e5565b8015611e065750611e068383612149565b9392505050565b6000611e6f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166122189092919063ffffffff16565b8051909150156109ec5780806020019051810190611e8d9190612a1f565b6109ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016101bd565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd868686604051611f91939291906129e1565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d8484604051612000929190612a41565b60405180910390a350505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af58484604051612000929190612a41565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf868686604051611f91939291906129e1565b6000612111827f01ffc9a700000000000000000000000000000000000000000000000000000000612149565b80156118305750612142827fffffffff00000000000000000000000000000000000000000000000000000000612149565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d91506000519050828015612201575060208210155b801561220d5750600081115b979650505050505050565b6060612227848460008561222f565b949350505050565b6060824710156122c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016101bd565b73ffffffffffffffffffffffffffffffffffffffff85163b61233f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101bd565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516123689190612a5a565b60006040518083038185875af1925050503d80600081146123a5576040519150601f19603f3d011682016040523d82523d6000602084013e6123aa565b606091505b509150915061220d828286606083156123c4575081611e06565b8251156123d45782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101bd919061272e565b73ffffffffffffffffffffffffffffffffffffffff8116811461242a57600080fd5b50565b60008083601f84011261243f57600080fd5b50813567ffffffffffffffff81111561245757600080fd5b60208301915083602082850101111561246f57600080fd5b9250929050565b600080600080600080600060c0888a03121561249157600080fd5b873561249c81612408565b965060208801356124ac81612408565b955060408801356124bc81612408565b945060608801356124cc81612408565b93506080880135925060a088013567ffffffffffffffff8111156124ef57600080fd5b6124fb8a828b0161242d565b989b979a50959850939692959293505050565b803563ffffffff8116811461252257600080fd5b919050565b60008060006040848603121561253c57600080fd5b6125458461250e565b9250602084013567ffffffffffffffff81111561256157600080fd5b61256d8682870161242d565b9497909650939450505050565b60008060008060006080868803121561259257600080fd5b853561259d81612408565b945060208601356125ad81612408565b935060408601359250606086013567ffffffffffffffff8111156125d057600080fd5b6125dc8882890161242d565b969995985093965092949392505050565b60008060008060006080868803121561260557600080fd5b853561261081612408565b9450602086013593506126256040870161250e565b9250606086013567ffffffffffffffff8111156125d057600080fd5b600080600080600080600060c0888a03121561265c57600080fd5b873561266781612408565b9650602088013561267781612408565b9550604088013561268781612408565b94506060880135935061269c6080890161250e565b925060a088013567ffffffffffffffff8111156124ef57600080fd5b60005b838110156126d35781810151838201526020016126bb565b838111156112d95750506000910152565b600081518084526126fc8160208601602086016126b8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611e0660208301846126e4565b60008060008060008060a0878903121561275a57600080fd5b863561276581612408565b9550602087013561277581612408565b94506040870135935061278a6060880161250e565b9250608087013567ffffffffffffffff8111156127a657600080fd5b6127b289828a0161242d565b979a9699509497509295939492505050565b600080604083850312156127d757600080fd5b82356127e281612408565b915060208301356127f281612408565b809150509250929050565b60006020828403121561280f57600080fd5b8135611e0681612408565b6000806000806060858703121561283057600080fd5b843561283b81612408565b93506128496020860161250e565b9250604085013567ffffffffffffffff81111561286557600080fd5b6128718782880161242d565b95989497509550505050565b60006020828403121561288f57600080fd5b8151611e0681612408565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156128db576128db61289a565b500390565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261291f60808301846126e4565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8416815260606020820152600061295860608301856126e4565b905063ffffffff83166040830152949350505050565b600082198211156129815761298161289a565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a08301526129d560c08301846126e4565b98975050505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612a1660608301846126e4565b95945050505050565b600060208284031215612a3157600080fd5b81518015158114611e0657600080fd5b82815260406020820152600061222760408301846126e4565b60008251612a6c8184602087016126b8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1141:9307:145:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4741:10:230;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;;;;;;;;;3228:143:145::1;2708:42:194;3290:10:145;3302;3314:9;1343:7:230;3352:9:145;;;;;;;;;;;::::0;3228:19:::1;:143::i;:::-;1141:9307:::0;;;;;13351:1084:230;;;;;;;;;;-1:-1:-1;13351:1084:230;;;;;:::i;:::-;;:::i;7253:186::-;;;;;;:::i;:::-;;:::i;11717:902::-;;;;;;:::i;:::-;;:::i;3897:313:145:-;;;;;;:::i;:::-;;:::i;6764:101::-;;;;;;;;;;-1:-1:-1;6846:11:145;;;;6764:101;;;4271:42:350;4259:55;;;4241:74;;4229:2;4214:18;6764:101:145;;;;;;;;1893:37:230;;;;;;;;;;-1:-1:-1;1893:37:230;;;;;;;;10804:349;;;;;;;;;;-1:-1:-1;10804:349:230;;;;;:::i;:::-;;:::i;2510:40:145:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;6750:82:230:-;;;;;;;;;;-1:-1:-1;6750:82:230;;6797:4;6512:41:350;;6500:2;6485:18;6750:82:230;6372:187:350;6087:505:145;;;;;;:::i;:::-;;:::i;9519:349:230:-;;;;;;;;;;-1:-1:-1;9519:349:230;;;;;:::i;:::-;;:::i;1739:63::-;;;;;;;;;;-1:-1:-1;1739:63:230;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;8199:25:350;;;8187:2;8172:18;1739:63:230;8053:177:350;6024:99:230;;;;;;;;;;-1:-1:-1;6107:9:230;;;;6024:99;;5197:313:145;;;;;;:::i;:::-;;:::i;2849:242::-;;;;;;;;;;-1:-1:-1;2849:242:145;;;;;:::i;:::-;;:::i;2028:33:230:-;;;;;;;;;;-1:-1:-1;2028:33:230;;;;;;;;8450:186;;;;;;:::i;:::-;;:::i;1175:320:57:-;1465:19;;;:23;;;1175:320::o;7372:554:145:-;7599:39;;;;;7595:325;;7654:65;7673:5;7680:3;7685:7;7694:12;7708:10;7654:18;:65::i;:::-;7595:325;;;7750:15;7790:8;7768:39;;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7750:59;;7823:86;7844:8;7854:7;7863:5;7870:3;7875:7;7884:12;7898:10;7823:20;:86::i;:::-;7736:184;7595:325;7372:554;;;;;;:::o;13351:1084:230:-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:230;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9591:2:350;4961:204:230;;;9573:21:350;9630:2;9610:18;;;9603:30;9669:34;9649:18;;;9642:62;9740:34;9720:18;;;9713:62;9812:3;9791:19;;;9784:32;9833:19;;4961:204:230;9389:469:350;4961:204:230;13668:37:::1;13693:11;13668:24;:37::i;:::-;13664:489;;;13746:46;13766:11;13779:12;13746:19;:46::i;:::-;13721:179;;;::::0;::::1;::::0;;10416:2:350;13721:179:230::1;::::0;::::1;10398:21:350::0;10455:2;10435:18;;;10428:30;10494:34;10474:18;;;10467:62;10565:34;10545:18;;;10538:62;10637:12;10616:19;;;10609:41;10667:19;;13721:179:230::1;10214:478:350::0;13721:179:230::1;13915:53;::::0;;;;:39:::1;10889:55:350::0;;;13915:53:230::1;::::0;::::1;10871:74:350::0;10961:18;;;10954:34;;;13915:39:230;::::1;::::0;::::1;::::0;10844:18:350;;13915:53:230::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;13664:489;;;14037:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;:45:::1;::::0;14075:7;;14037:45:::1;:::i;:::-;13999:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;;;:83;;;;14096:46:::1;::::0;14129:3;14134:7;14096:32:::1;:46::i;:::-;14343:85;14369:11;14382:12;14396:5;14403:3;14408:7;14417:10;;14343:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;14343:25:230::1;::::0;-1:-1:-1;;;14343:85:230:i:1;7253:186::-:0;4741:10;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;7353:79:::1;7372:10;7384;7396:9;7407:12;7421:10;;7353:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;7353:18:230::1;::::0;-1:-1:-1;;;7353:79:230:i:1;:::-;7253:186:::0;;;:::o;11717:902::-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:230;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9591:2:350;4961:204:230;;;9573:21:350;9630:2;9610:18;;;9603:30;9669:34;9649:18;;;9642:62;9740:34;9720:18;;;9713:62;9812:3;9791:19;;;9784:32;9833:19;;4961:204:230;9389:469:350;4961:204:230;12006:7:::1;11993:9;:20;11985:91;;;::::0;::::1;::::0;;11520:2:350;11985:91:230::1;::::0;::::1;11502:21:350::0;11559:2;11539:18;;;11532:30;11598:34;11578:18;;;11571:62;11669:28;11649:18;;;11642:56;11715:19;;11985:91:230::1;11318:422:350::0;11985:91:230::1;12109:4;12094:20;::::0;::::1;::::0;12086:68:::1;;;::::0;::::1;::::0;;11947:2:350;12086:68:230::1;::::0;::::1;11929:21:350::0;11986:2;11966:18;;;11959:30;12025:34;12005:18;;;11998:62;12096:5;12076:18;;;12069:33;12119:19;;12086:68:230::1;11745:399:350::0;12086:68:230::1;12187:9;::::0;::::1;::::0;;::::1;12172:25:::0;;::::1;::::0;12164:78:::1;;;::::0;::::1;::::0;;12351:2:350;12164:78:230::1;::::0;::::1;12333:21:350::0;12390:2;12370:18;;;12363:30;12429:34;12409:18;;;12402:62;12500:10;12480:18;;;12473:38;12528:19;;12164:78:230::1;12149:404:350::0;12164:78:230::1;12420:56;12444:5;12451:3;12456:7;12465:10;;12420:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;12420:23:230::1;::::0;-1:-1:-1;;;12420:56:230:i:1;:::-;12487:12;12502:45;12516:3;12521:9;12532:7;12502:45;;;;;;;;;;;::::0;:13:::1;:45::i;:::-;12487:60;;12565:7;12557:55;;;::::0;::::1;::::0;;12760:2:350;12557:55:230::1;::::0;::::1;12742:21:350::0;12799:2;12779:18;;;12772:30;12838:34;12818:18;;;12811:62;12909:5;12889:18;;;12882:33;12932:19;;12557:55:230::1;12558:399:350::0;3897:313:145;4741:10:230;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;4115:88:145::1;4135:8;4145:10;4157;4169:7;4178:12;4192:10;;4115:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;4115:19:145::1;::::0;-1:-1:-1;;;4115:88:145:i:1;:::-;3897:313:::0;;;;;:::o;10804:349:230:-;11047:99;11068:11;11081:12;11095:10;11107:3;11112:7;11121:12;11135:10;;11047:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11047:20:230;;-1:-1:-1;;;11047:99:230:i;6087:505:145:-;6341:22;;;;:65;;;;-1:-1:-1;6367:39:145;;;2708:42:194;6367:39:145;6341:65;6337:249;;;6422:50;6440:5;6447:3;6452:7;6461:10;;6422:17;:50::i;:::-;6337:249;;;6503:72;6523:8;6533;6543:5;6550:3;6555:7;6564:10;;6503:19;:72::i;9519:349:230:-;4741:10;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;9755:106:::1;9776:11;9789:12;9803:10;9815;9827:7;9836:12;9850:10;;9755:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;9755:20:230::1;::::0;-1:-1:-1;;;9755:106:230:i:1;5197:313:145:-:0;5422:81;5442:8;5452:10;5464:3;5469:7;5478:12;5492:10;;5422:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5422:19:145;;-1:-1:-1;;;5422:81:145:i;2849:242::-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;13164:2:350;3146:190:41;;;13146:21:350;13203:2;13183:18;;;13176:30;13242:34;13222:18;;;13215:62;13313:16;13293:18;;;13286:44;13347:19;;3146:190:41;12962:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;2927:157:145::1;480:42:194;3061:12:145;2927:21;:157::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;13529:36:350;;3531:14:41;;13517:2:350;13502:18;3531:14:41;;;;;;;3457:99;3090:472;2849:242:145;:::o;8450:186:230:-;8557:72;8576:10;8588:3;8593:9;8604:12;8618:10;;8557:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8557:18:230;;-1:-1:-1;;;8557:72:230:i;:::-;8450:186;;;;:::o;15023:789::-;15240:7;15227:9;:20;15219:95;;;;;;;13778:2:350;15219:95:230;;;13760:21:350;13817:2;13797:18;;;13790:30;13856:34;13836:18;;;13829:62;13927:32;13907:18;;;13900:60;13977:19;;15219:95:230;13576:426:350;15219:95:230;15492:56;15516:5;15523:3;15528:7;15537:10;15492:23;:56::i;:::-;15559:9;;15630:11;;15666:88;;15559:9;;;;;:21;;15589:7;;15630:11;;;15689:31;;15666:88;;15722:5;;15729:3;;15589:7;;15743:10;;15666:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;15559:246;;;;;;;;;;;;;15782:12;;15559:246;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15023:789;;;;;:::o;16506:1684::-;16767:37;16792:11;16767:24;:37::i;:::-;16763:512;;;16845:46;16865:11;16878:12;16845:19;:46::i;:::-;16820:179;;;;;;;10416:2:350;16820:179:230;;;10398:21:350;10455:2;10435:18;;;10428:30;10494:34;10474:18;;;10467:62;10565:34;10545:18;;;10538:62;10637:12;10616:19;;;10609:41;10667:19;;16820:179:230;10214:478:350;16820:179:230;17014:55;;;;;:39;10889:55:350;;;17014::230;;;10871:74:350;10961:18;;;10954:34;;;17014:39:230;;;;;10844:18:350;;17014:55:230;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16763:512;;;17100:67;:36;;;17137:5;17152:4;17159:7;17100:36;:67::i;:::-;17219:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;;:45;;17257:7;;17219:45;:::i;:::-;17181:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;:83;16763:512;17465:85;17491:11;17504:12;17518:5;17525:3;17530:7;17539:10;17465:25;:85::i;:::-;17561:9;;17614:11;;17650:482;;17561:9;;;;;:21;;17614:11;;17690:33;;17650:482;;17976:12;;18006:11;;18035:5;;18058:3;;18079:7;;18104:10;;17650:482;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;17561:622;;;;;;;;;;;;;18160:12;;17561:622;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16506:1684;;;;;;;:::o;18454:279::-;18527:4;18550:79;18582:6;18590:38;18550:31;:79::i;:::-;:176;;;;18645:81;18677:6;18685:40;18645:31;:81::i;:::-;18543:183;18454:279;-1:-1:-1;;18454:279:230:o;19180:410::-;19277:4;19297:87;19329:14;19345:38;19297:31;:87::i;:::-;19293:291;;;19443:14;19422:44;;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19407:61;;:11;:61;;;19400:68;;;;19293:291;19544:14;19521:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;763:205:50;902:58;;10901:42:350;10889:55;;902:58:50;;;10871:74:350;10961:18;;;10954:34;;;875:86:50;;895:5;;925:23;;10844:18:350;;902:58:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;875:19;:86::i;10007:439:145:-;10306:5;10262:76;;10293:11;10262:76;;10279:12;10262:76;;;10313:3;10318:7;10327:10;10262:76;;;;;;;;:::i;:::-;;;;;;;;10348:91;10380:11;10393:12;10407:5;10414:3;10419:7;10428:10;10348:31;:91::i;8745:363::-;8997:5;8939:90;;2708:42:194;8939:90:145;;8964:1;8939:90;;;9004:3;9009:7;9018:10;8939:90;;;;;;;;:::i;:::-;;;;;;;;9039:62;9069:5;9076:3;9081:7;9090:10;9039:29;:62::i;1202:536:195:-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:195:o;5373:236:230:-;4888:13:41;;;;;;;4880:69;;;;;;;16381:2:350;4880:69:41;;;16363:21:350;16420:2;16400:18;;;16393:30;16459:34;16439:18;;;16432:62;16530:13;16510:18;;;16503:41;16561:19;;4880:69:41;16179:407:350;4880:69:41;5544:9:230::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;8154:366:145:-;8409:5;8348:93;;2708:42:194;8348:93:145;;8376:1;8348:93;;;8416:3;8421:7;8430:10;8348:93;;;;;;;;:::i;:::-;;;;;;;;8451:62;8481:5;8488:3;8493:7;8502:10;8451:29;:62::i;974:241:50:-;1139:68;;16803:42:350;16872:15;;;1139:68:50;;;16854:34:350;16924:15;;16904:18;;;16897:43;16956:18;;;16949:34;;;1112:96:50;;1132:5;;1162:27;;16766:18:350;;1139:68:50;16591:398:350;9338:442:145;9640:5;9593:79;;9627:11;9593:79;;9613:12;9593:79;;;9647:3;9652:7;9661:10;9593:79;;;;;;;;:::i;:::-;;;;;;;;9682:91;9714:11;9727:12;9741:5;9748:3;9753:7;9762:10;9682:31;:91::i;1333:274:65:-;1420:4;1527:23;1542:7;1527:14;:23::i;:::-;:73;;;;;1554:46;1579:7;1588:11;1554:24;:46::i;:::-;1520:80;1333:274;-1:-1:-1;;;1333:274:65:o;3747:706:50:-;4166:23;4192:69;4220:4;4192:69;;;;;;;;;;;;;;;;;4200:5;4192:27;;;;:69;;;;;:::i;:::-;4275:17;;4166:95;;-1:-1:-1;4275:21:50;4271:176;;4370:10;4359:30;;;;;;;;;;;;:::i;:::-;4351:85;;;;;;;17478:2:350;4351:85:50;;;17460:21:350;17517:2;17497:18;;;17490:30;17556:34;17536:18;;;17529:62;17627:12;17607:18;;;17600:40;17657:19;;4351:85:50;17276:406:350;22245:341:230;22547:5;22499:80;;22533:12;22499:80;;22520:11;22499:80;;;22554:3;22559:7;22568:10;22499:80;;;;;;;;:::i;:::-;;;;;;;;22245:341;;;;;;:::o;20587:251::-;20806:3;20780:51;;20799:5;20780:51;;;20811:7;20820:10;20780:51;;;;;;;:::i;:::-;;;;;;;;20587:251;;;;:::o;19966:::-;20185:3;20159:51;;20178:5;20159:51;;;20190:7;20199:10;20159:51;;;;;;;:::i;21371:341::-;21673:5;21625:80;;21659:12;21625:80;;21646:11;21625:80;;;21680:3;21685:7;21694:10;21625:80;;;;;;;;:::i;704:411:65:-;768:4;975:60;1000:7;1009:25;975:24;:60::i;:::-;:133;;;;-1:-1:-1;1052:56:65;1077:7;1086:21;1052:24;:56::i;:::-;1051:57;956:152;704:411;-1:-1:-1;;704:411:65:o;4223:638::-;4385:71;;;18155:66:350;18143:79;;4385:71:65;;;;18125:98:350;;;;4385:71:65;;;;;;;;;;18098:18:350;;;;4385:71:65;;;;;;;;;;;4408:34;4385:71;;;4664:20;;4316:4;;4385:71;4316:4;;;;;;4385:71;4316:4;;4664:20;4629:7;4622:5;4611:86;4600:97;;4724:16;4710:30;;4774:4;4768:11;4753:26;;4806:7;:29;;;;;4831:4;4817:10;:18;;4806:29;:48;;;;;4853:1;4839:11;:15;4806:48;4799:55;4223:638;-1:-1:-1;;;;;;;4223:638:65:o;3861:223:57:-;3994:12;4025:52;4047:6;4055:4;4061:1;4064:12;4025:21;:52::i;:::-;4018:59;3861:223;-1:-1:-1;;;;3861:223:57:o;4948:499::-;5113:12;5170:5;5145:21;:30;;5137:81;;;;;;;18436:2:350;5137:81:57;;;18418:21:350;18475:2;18455:18;;;18448:30;18514:34;18494:18;;;18487:62;18585:8;18565:18;;;18558:36;18611:19;;5137:81:57;18234:402:350;5137:81:57;1465:19;;;;5228:60;;;;;;;18843:2:350;5228:60:57;;;18825:21:350;18882:2;18862:18;;;18855:30;18921:31;18901:18;;;18894:59;18970:18;;5228:60:57;18641:353:350;5228:60:57;5300:12;5314:23;5341:6;:11;;5360:5;5367:4;5341:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:73;;;;5389:51;5406:7;5415:10;5427:12;7707;7735:7;7731:566;;;-1:-1:-1;7765:10:57;7758:17;;7731:566;7876:17;;:21;7872:415;;8120:10;8114:17;8180:15;8167:10;8163:2;8159:19;8152:44;7872:415;8259:12;8252:20;;;;;;;;;;;:::i;438:154:350:-;524:42;517:5;513:54;506:5;503:65;493:93;;582:1;579;572:12;493:93;438:154;:::o;597:347::-;648:8;658:6;712:3;705:4;697:6;693:17;689:27;679:55;;730:1;727;720:12;679:55;-1:-1:-1;753:20:350;;796:18;785:30;;782:50;;;828:1;825;818:12;782:50;865:4;857:6;853:17;841:29;;917:3;910:4;901:6;893;889:19;885:30;882:39;879:59;;;934:1;931;924:12;879:59;597:347;;;;;:::o;949:1038::-;1064:6;1072;1080;1088;1096;1104;1112;1165:3;1153:9;1144:7;1140:23;1136:33;1133:53;;;1182:1;1179;1172:12;1133:53;1221:9;1208:23;1240:31;1265:5;1240:31;:::i;:::-;1290:5;-1:-1:-1;1347:2:350;1332:18;;1319:32;1360:33;1319:32;1360:33;:::i;:::-;1412:7;-1:-1:-1;1471:2:350;1456:18;;1443:32;1484:33;1443:32;1484:33;:::i;:::-;1536:7;-1:-1:-1;1595:2:350;1580:18;;1567:32;1608:33;1567:32;1608:33;:::i;:::-;1660:7;-1:-1:-1;1714:3:350;1699:19;;1686:33;;-1:-1:-1;1770:3:350;1755:19;;1742:33;1798:18;1787:30;;1784:50;;;1830:1;1827;1820:12;1784:50;1869:58;1919:7;1910:6;1899:9;1895:22;1869:58;:::i;:::-;949:1038;;;;-1:-1:-1;949:1038:350;;-1:-1:-1;949:1038:350;;;;1843:84;;-1:-1:-1;;;949:1038:350:o;1992:163::-;2059:20;;2119:10;2108:22;;2098:33;;2088:61;;2145:1;2142;2135:12;2088:61;1992:163;;;:::o;2160:481::-;2238:6;2246;2254;2307:2;2295:9;2286:7;2282:23;2278:32;2275:52;;;2323:1;2320;2313:12;2275:52;2346:28;2364:9;2346:28;:::i;:::-;2336:38;;2425:2;2414:9;2410:18;2397:32;2452:18;2444:6;2441:30;2438:50;;;2484:1;2481;2474:12;2438:50;2523:58;2573:7;2564:6;2553:9;2549:22;2523:58;:::i;:::-;2160:481;;2600:8;;-1:-1:-1;2497:84:350;;-1:-1:-1;;;;2160:481:350:o;2646:754::-;2743:6;2751;2759;2767;2775;2828:3;2816:9;2807:7;2803:23;2799:33;2796:53;;;2845:1;2842;2835:12;2796:53;2884:9;2871:23;2903:31;2928:5;2903:31;:::i;:::-;2953:5;-1:-1:-1;3010:2:350;2995:18;;2982:32;3023:33;2982:32;3023:33;:::i;:::-;3075:7;-1:-1:-1;3129:2:350;3114:18;;3101:32;;-1:-1:-1;3184:2:350;3169:18;;3156:32;3211:18;3200:30;;3197:50;;;3243:1;3240;3233:12;3197:50;3282:58;3332:7;3323:6;3312:9;3308:22;3282:58;:::i;:::-;2646:754;;;;-1:-1:-1;2646:754:350;;-1:-1:-1;3359:8:350;;3256:84;2646:754;-1:-1:-1;;;2646:754:350:o;3405:685::-;3501:6;3509;3517;3525;3533;3586:3;3574:9;3565:7;3561:23;3557:33;3554:53;;;3603:1;3600;3593:12;3554:53;3642:9;3629:23;3661:31;3686:5;3661:31;:::i;:::-;3711:5;-1:-1:-1;3763:2:350;3748:18;;3735:32;;-1:-1:-1;3786:37:350;3819:2;3804:18;;3786:37;:::i;:::-;3776:47;;3874:2;3863:9;3859:18;3846:32;3901:18;3893:6;3890:30;3887:50;;;3933:1;3930;3923:12;4588:969;4702:6;4710;4718;4726;4734;4742;4750;4803:3;4791:9;4782:7;4778:23;4774:33;4771:53;;;4820:1;4817;4810:12;4771:53;4859:9;4846:23;4878:31;4903:5;4878:31;:::i;:::-;4928:5;-1:-1:-1;4985:2:350;4970:18;;4957:32;4998:33;4957:32;4998:33;:::i;:::-;5050:7;-1:-1:-1;5109:2:350;5094:18;;5081:32;5122:33;5081:32;5122:33;:::i;:::-;5174:7;-1:-1:-1;5228:2:350;5213:18;;5200:32;;-1:-1:-1;5251:38:350;5284:3;5269:19;;5251:38;:::i;:::-;5241:48;;5340:3;5329:9;5325:19;5312:33;5368:18;5360:6;5357:30;5354:50;;;5400:1;5397;5390:12;5562:258;5634:1;5644:113;5658:6;5655:1;5652:13;5644:113;;;5734:11;;;5728:18;5715:11;;;5708:39;5680:2;5673:10;5644:113;;;5775:6;5772:1;5769:13;5766:48;;;-1:-1:-1;;5810:1:350;5792:16;;5785:27;5562:258::o;5825:317::-;5867:3;5905:5;5899:12;5932:6;5927:3;5920:19;5948:63;6004:6;5997:4;5992:3;5988:14;5981:4;5974:5;5970:16;5948:63;:::i;:::-;6056:2;6044:15;6061:66;6040:88;6031:98;;;;6131:4;6027:109;;5825:317;-1:-1:-1;;5825:317:350:o;6147:220::-;6296:2;6285:9;6278:21;6259:4;6316:45;6357:2;6346:9;6342:18;6334:6;6316:45;:::i;6828:827::-;6933:6;6941;6949;6957;6965;6973;7026:3;7014:9;7005:7;7001:23;6997:33;6994:53;;;7043:1;7040;7033:12;6994:53;7082:9;7069:23;7101:31;7126:5;7101:31;:::i;:::-;7151:5;-1:-1:-1;7208:2:350;7193:18;;7180:32;7221:33;7180:32;7221:33;:::i;:::-;7273:7;-1:-1:-1;7327:2:350;7312:18;;7299:32;;-1:-1:-1;7350:37:350;7383:2;7368:18;;7350:37;:::i;:::-;7340:47;;7438:3;7427:9;7423:19;7410:33;7466:18;7458:6;7455:30;7452:50;;;7498:1;7495;7488:12;7452:50;7537:58;7587:7;7578:6;7567:9;7563:22;7537:58;:::i;:::-;6828:827;;;;-1:-1:-1;6828:827:350;;-1:-1:-1;6828:827:350;;7614:8;;6828:827;-1:-1:-1;;;6828:827:350:o;7660:388::-;7728:6;7736;7789:2;7777:9;7768:7;7764:23;7760:32;7757:52;;;7805:1;7802;7795:12;7757:52;7844:9;7831:23;7863:31;7888:5;7863:31;:::i;:::-;7913:5;-1:-1:-1;7970:2:350;7955:18;;7942:32;7983:33;7942:32;7983:33;:::i;:::-;8035:7;8025:17;;;7660:388;;;;;:::o;8235:272::-;8319:6;8372:2;8360:9;8351:7;8347:23;8343:32;8340:52;;;8388:1;8385;8378:12;8340:52;8427:9;8414:23;8446:31;8471:5;8446:31;:::i;8512:616::-;8599:6;8607;8615;8623;8676:2;8664:9;8655:7;8651:23;8647:32;8644:52;;;8692:1;8689;8682:12;8644:52;8731:9;8718:23;8750:31;8775:5;8750:31;:::i;:::-;8800:5;-1:-1:-1;8824:37:350;8857:2;8842:18;;8824:37;:::i;:::-;8814:47;;8912:2;8901:9;8897:18;8884:32;8939:18;8931:6;8928:30;8925:50;;;8971:1;8968;8961:12;8925:50;9010:58;9060:7;9051:6;9040:9;9036:22;9010:58;:::i;:::-;8512:616;;;;-1:-1:-1;9087:8:350;-1:-1:-1;;;;8512:616:350:o;9133:251::-;9203:6;9256:2;9244:9;9235:7;9231:23;9227:32;9224:52;;;9272:1;9269;9262:12;9224:52;9304:9;9298:16;9323:31;9348:5;9323:31;:::i;10999:184::-;11051:77;11048:1;11041:88;11148:4;11145:1;11138:15;11172:4;11169:1;11162:15;11188:125;11228:4;11256:1;11253;11250:8;11247:34;;;11261:18;;:::i;:::-;-1:-1:-1;11298:9:350;;11188:125::o;14007:512::-;14201:4;14230:42;14311:2;14303:6;14299:15;14288:9;14281:34;14363:2;14355:6;14351:15;14346:2;14335:9;14331:18;14324:43;;14403:6;14398:2;14387:9;14383:18;14376:34;14446:3;14441:2;14430:9;14426:18;14419:31;14467:46;14508:3;14497:9;14493:19;14485:6;14467:46;:::i;:::-;14459:54;14007:512;-1:-1:-1;;;;;;14007:512:350:o;14524:424::-;14737:42;14729:6;14725:55;14714:9;14707:74;14817:2;14812;14801:9;14797:18;14790:30;14688:4;14837:45;14878:2;14867:9;14863:18;14855:6;14837:45;:::i;:::-;14829:53;;14930:10;14922:6;14918:23;14913:2;14902:9;14898:18;14891:51;14524:424;;;;;;:::o;14953:128::-;14993:3;15024:1;15020:6;15017:1;15014:13;15011:39;;;15030:18;;:::i;:::-;-1:-1:-1;15066:9:350;;14953:128::o;15086:674::-;15336:4;15365:42;15446:2;15438:6;15434:15;15423:9;15416:34;15498:2;15490:6;15486:15;15481:2;15470:9;15466:18;15459:43;15550:2;15542:6;15538:15;15533:2;15522:9;15518:18;15511:43;15602:2;15594:6;15590:15;15585:2;15574:9;15570:18;15563:43;;15643:6;15637:3;15626:9;15622:19;15615:35;15687:3;15681;15670:9;15666:19;15659:32;15708:46;15749:3;15738:9;15734:19;15726:6;15708:46;:::i;:::-;15700:54;15086:674;-1:-1:-1;;;;;;;;15086:674:350:o;15765:409::-;15980:42;15972:6;15968:55;15957:9;15950:74;16060:6;16055:2;16044:9;16040:18;16033:34;16103:2;16098;16087:9;16083:18;16076:30;15931:4;16123:45;16164:2;16153:9;16149:18;16141:6;16123:45;:::i;:::-;16115:53;15765:409;-1:-1:-1;;;;;15765:409:350:o;16994:277::-;17061:6;17114:2;17102:9;17093:7;17089:23;17085:32;17082:52;;;17130:1;17127;17120:12;17082:52;17162:9;17156:16;17215:5;17208:13;17201:21;17194:5;17191:32;17181:60;;17237:1;17234;17227:12;17687:289;17862:6;17851:9;17844:25;17905:2;17900;17889:9;17885:18;17878:30;17825:4;17925:45;17966:2;17955:9;17951:18;17943:6;17925:45;:::i;18999:274::-;19128:3;19166:6;19160:13;19182:53;19228:6;19223:3;19216:4;19208:6;19204:17;19182:53;:::i;:::-;19251:16;;;;;18999:274;-1:-1:-1;;18999:274:350:o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC20(address,address,uint256,uint32,bytes)":"87087623","bridgeERC20To(address,address,address,uint256,uint32,bytes)":"540abf73","bridgeETH(uint32,bytes)":"09fc8843","bridgeETHTo(address,uint32,bytes)":"e11013dd","deposits(address,address)":"8f601f66","finalizeBridgeERC20(address,address,address,address,uint256,bytes)":"0166a07a","finalizeBridgeETH(address,address,uint256,bytes)":"1635f5fd","finalizeDeposit(address,address,address,address,uint256,bytes)":"662a633a","initialize(address)":"c4d66de8","l1TokenBridge()":"36c717c1","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","version()":"54fd4d50","withdraw(address,uint256,uint32,bytes)":"32b7006d","withdrawTo(address,address,uint256,uint32,bytes)":"a3a79548"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"DepositFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"WithdrawalInitiated","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETHTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeDeposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract StandardBridge","name":"_otherBridge","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l1TokenBridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"withdrawTo","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000010","events":{"DepositFinalized(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever an ERC20 deposit is finalized.","params":{"amount":"Amount of the ERC20 deposited.","extraData":"Extra data attached to the deposit.","from":"Address of the depositor.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L2."}},"WithdrawalInitiated(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever a withdrawal from L2 to L1 is initiated.","params":{"amount":"Amount of the ERC20 withdrawn.","extraData":"Extra data attached to the withdrawal.","from":"Address of the withdrawer.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L1."}}},"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"bridgeETH(uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_to":"Address of the receiver."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"params":{"_amount":"Amount of the ERC20 being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_localToken":"Address of the ERC20 on this chain.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{"params":{"_amount":"Amount of ETH being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_to":"Address of the receiver."}},"finalizeDeposit(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a deposit from L1 to L2. To finalize a deposit of ether, use address(0) and the l1Token and the Legacy ERC20 ether predeploy address as the l2Token.","params":{"_amount":"Amount of the tokens being deposited.","_extraData":"Extra data attached to the deposit.","_from":"Address of the depositor.","_l1Token":"Address of the L1 token to deposit.","_l2Token":"Address of the corresponding L2 token.","_to":"Address of the recipient."}},"initialize(address)":{"params":{"_otherBridge":"Contract for the corresponding bridge on the other chain."}},"l1TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L1 bridge contract.","returns":{"_0":"Address of the corresponding L1 bridge contract."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}},"withdraw(address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20` function to bridge native L2 tokens to L1.","params":{"_amount":"Amount of the L2 token to withdraw.","_extraData":"Extra data attached to the withdrawal.","_l2Token":"Address of the L2 token to withdraw.","_minGasLimit":"Minimum gas limit to use for the transaction."}},"withdrawTo(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1 to a target account on L1. Note that if ETH is sent to a contract on L1 and the call fails, then that ETH will be locked in the L1StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20To` function to bridge native L2 tokens to L1.","params":{"_amount":"Amount of the L2 token to withdraw.","_extraData":"Extra data attached to the withdrawal.","_l2Token":"Address of the L2 token to withdraw.","_minGasLimit":"Minimum gas limit to use for the transaction.","_to":"Recipient account on L1."}}},"stateVariables":{"version":{"custom:semver":"1.8.0"}},"title":"L2StandardBridge","version":1},"userdoc":{"events":{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is initiated to the other chain."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{"notice":"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to the sender\'s address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to a receiver\'s address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{"notice":"Sends ETH to the sender\'s address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{"notice":"Sends ETH to a receiver\'s address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},"constructor":{"notice":"Constructs the L2StandardBridge contract."},"deposits(address,address)":{"notice":"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"notice":"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{"notice":"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address)":{"notice":"Initializer."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Corresponding bridge on the other domain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},"notice":"The L2StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L2, it will be escrowed within this contract. If the ERC20 token is native to L1, it will be burnt. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists.","version":1}},"settings":{"compilationTarget":{"src/L2/L2StandardBridge.sol":"L2StandardBridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L2/L2StandardBridge.sol":{"keccak256":"0x9f17720ac0b3b44723b02385a19063cf22704cd0bd253fce3e6d24b9f76bd629","license":"MIT","urls":["bzz-raw://1575cf22553428baf7abb23059cb97c29e534ab5214f13d54a1810349166c570","dweb:/ipfs/Qme2oVH1pd1rBe1AyxUjHrofDgHXdHaUiqSgBVsSSLbKN5"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90","license":"MIT","urls":["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"DepositFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeInitiated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"WithdrawalInitiated",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20To"},{inputs:[{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETH"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETHTo"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC20"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeBridgeETH"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeDeposit"},{inputs:[{internalType:"contract StandardBridge",name:"_otherBridge",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l1TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"withdraw"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"withdrawTo"},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeDeposit(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a deposit from L1 to L2. To finalize a deposit of ether, use address(0) and the l1Token and the Legacy ERC20 ether predeploy address as the l2Token.",params:{_amount:"Amount of the tokens being deposited.",_extraData:"Extra data attached to the deposit.",_from:"Address of the depositor.",_l1Token:"Address of the L1 token to deposit.",_l2Token:"Address of the corresponding L2 token.",_to:"Address of the recipient."}},"initialize(address)":{params:{_otherBridge:"Contract for the corresponding bridge on the other chain."}},"l1TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L1 bridge contract.",returns:{_0:"Address of the corresponding L1 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"withdraw(address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20` function to bridge native L2 tokens to L1.",params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction."}},"withdrawTo(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1 to a target account on L1. Note that if ETH is sent to a contract on L1 and the call fails, then that ETH will be locked in the L1StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20To` function to bridge native L2 tokens to L1.",params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction.",_to:"Recipient account on L1."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L2StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2StandardBridge.sol":"L2StandardBridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L2/L2StandardBridge.sol":{keccak256:"0x9f17720ac0b3b44723b02385a19063cf22704cd0bd253fce3e6d24b9f76bd629",urls:["bzz-raw://1575cf22553428baf7abb23059cb97c29e534ab5214f13d54a1810349166c570","dweb:/ipfs/Qme2oVH1pd1rBe1AyxUjHrofDgHXdHaUiqSgBVsSSLbKN5"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90",urls:["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:107554,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:107557,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"spacer_1_0_20",offset:0,slot:"1",type:"t_address"},{astId:107564,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"deposits",offset:0,slot:"2",type:"t_mapping(t_address,t_mapping(t_address,t_uint256))"},{astId:107568,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"messenger",offset:0,slot:"3",type:"t_contract(CrossDomainMessenger)105498"},{astId:107572,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"otherBridge",offset:0,slot:"4",type:"t_contract(StandardBridge)108285"},{astId:107577,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"__gap",offset:0,slot:"5",type:"t_array(t_uint256)45_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)45_storage":{encoding:"inplace",label:"uint256[45]",numberOfBytes:"1440",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)108285":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_uint256))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => uint256))",numberOfBytes:"32",value:"t_mapping(t_address,t_uint256)"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L2StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},events:{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is initiated to the other chain."}},notice:"The L2StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L2, it will be escrowed within this contract. If the ERC20 token is native to L1, it will be burnt. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeDeposit(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the tokens being deposited.",_extraData:"Extra data attached to the deposit.",_from:"Address of the depositor.",_l1Token:"Address of the L1 token to deposit.",_l2Token:"Address of the corresponding L2 token.",_to:"Address of the recipient."}},"initialize(address)":{params:{_otherBridge:"Contract for the corresponding bridge on the other chain."}},"l1TokenBridge()":{returns:{_0:"Address of the corresponding L1 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"withdraw(address,uint256,uint32,bytes)":{params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction."}},"withdrawTo(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction.",_to:"Recipient account on L1."}}},events:{"DepositFinalized(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 deposited.",extraData:"Extra data attached to the deposit.",from:"Address of the depositor.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L2."}},"WithdrawalInitiated(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 withdrawn.",extraData:"Extra data attached to the withdrawal.",from:"Address of the withdrawer.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L1."}}},title:"L2StandardBridge"},id:145}});var Xoe=D((Kca,SHt)=>{SHt.exports={abi:[{type:"constructor",inputs:[{name:"_bridge",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_decimals",type:"uint8",internalType:"uint8"}],stateMutability:"nonpayable"},{type:"function",name:"BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"REMOTE_TOKEN",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"bridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"l1Token",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"l2Bridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"mint",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"remoteToken",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"_interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"pure"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Burn",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Mint",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60e06040523480156200001157600080fd5b506040516200178a3803806200178a833981016040819052620000349162000163565b828260036200004483826200029e565b5060046200005382826200029e565b5050506001600160a01b039384166080529390921660a052505060ff1660c0526200036a565b80516001600160a01b03811681146200009157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000be57600080fd5b81516001600160401b0380821115620000db57620000db62000096565b604051601f8301601f19908116603f0116810190828211818310171562000106576200010662000096565b816040528381526020925086838588010111156200012357600080fd5b600091505b8382101562000147578582018301518183018401529082019062000128565b83821115620001595760008385830101525b9695505050505050565b600080600080600060a086880312156200017c57600080fd5b620001878662000079565b9450620001976020870162000079565b60408701519094506001600160401b0380821115620001b557600080fd5b620001c389838a01620000ac565b94506060880151915080821115620001da57600080fd5b50620001e988828901620000ac565b925050608086015160ff811681146200020157600080fd5b809150509295509295909350565b600181811c908216806200022457607f821691505b6020821081036200024557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029957600081815260208120601f850160051c81016020861015620002745750805b601f850160051c820191505b81811015620002955782815560010162000280565b5050505b505050565b81516001600160401b03811115620002ba57620002ba62000096565b620002d281620002cb84546200020f565b846200024b565b602080601f8311600181146200030a5760008415620002f15750858301515b600019600386901b1c1916600185901b17855562000295565b600085815260208120601f198616915b828110156200033b578886015182559484019460019091019084016200031a565b50858210156200035a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516113d4620003b6600039600061024401526000818161034b015281816103e001528181610625015261075c0152600081816101a9015261037101526113d46000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000a",sourceMap:"833:4510:224:-:0;;;2268:292;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2440:5;2447:7;2044:5:43;:13;2440:5:224;2044::43;:13;:::i;:::-;-1:-1:-1;2067:7:43;:17;2077:7;2067;:17;:::i;:::-;-1:-1:-1;;;;;;;;2470:27:224;;::::1;;::::0;2507:16;;;::::1;;::::0;-1:-1:-1;;2533:20:224::1;;;::::0;833:4510;;14:177:350;93:13;;-1:-1:-1;;;;;135:31:350;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:127::-;257:10;252:3;248:20;245:1;238:31;288:4;285:1;278:15;312:4;309:1;302:15;328:885;382:5;435:3;428:4;420:6;416:17;412:27;402:55;;453:1;450;443:12;402:55;476:13;;-1:-1:-1;;;;;538:10:350;;;535:36;;;551:18;;:::i;:::-;626:2;620:9;594:2;680:13;;-1:-1:-1;;676:22:350;;;700:2;672:31;668:40;656:53;;;724:18;;;744:22;;;721:46;718:72;;;770:18;;:::i;:::-;810:10;806:2;799:22;845:2;837:6;830:18;867:4;857:14;;912:3;907:2;902;894:6;890:15;886:24;883:33;880:53;;;929:1;926;919:12;880:53;951:1;942:10;;961:133;975:2;972:1;969:9;961:133;;;1063:14;;;1059:23;;1053:30;1032:14;;;1028:23;;1021:63;986:10;;;;961:133;;;1112:2;1109:1;1106:9;1103:80;;;1171:1;1166:2;1161;1153:6;1149:15;1145:24;1138:35;1103:80;1201:6;328:885;-1:-1:-1;;;;;;328:885:350:o;1218:884::-;1342:6;1350;1358;1366;1374;1427:3;1415:9;1406:7;1402:23;1398:33;1395:53;;;1444:1;1441;1434:12;1395:53;1467:40;1497:9;1467:40;:::i;:::-;1457:50;;1526:49;1571:2;1560:9;1556:18;1526:49;:::i;:::-;1619:2;1604:18;;1598:25;1516:59;;-1:-1:-1;;;;;;1672:14:350;;;1669:34;;;1699:1;1696;1689:12;1669:34;1722:61;1775:7;1766:6;1755:9;1751:22;1722:61;:::i;:::-;1712:71;;1829:2;1818:9;1814:18;1808:25;1792:41;;1858:2;1848:8;1845:16;1842:36;;;1874:1;1871;1864:12;1842:36;;1897:63;1952:7;1941:8;1930:9;1926:24;1897:63;:::i;:::-;1887:73;;;2003:3;1992:9;1988:19;1982:26;2048:4;2041:5;2037:16;2030:5;2027:27;2017:55;;2068:1;2065;2058:12;2017:55;2091:5;2081:15;;;1218:884;;;;;;;;:::o;2107:380::-;2186:1;2182:12;;;;2229;;;2250:61;;2304:4;2296:6;2292:17;2282:27;;2250:61;2357:2;2349:6;2346:14;2326:18;2323:38;2320:161;;2403:10;2398:3;2394:20;2391:1;2384:31;2438:4;2435:1;2428:15;2466:4;2463:1;2456:15;2320:161;;2107:380;;;:::o;2618:545::-;2720:2;2715:3;2712:11;2709:448;;;2756:1;2781:5;2777:2;2770:17;2826:4;2822:2;2812:19;2896:2;2884:10;2880:19;2877:1;2873:27;2867:4;2863:38;2932:4;2920:10;2917:20;2914:47;;;-1:-1:-1;2955:4:350;2914:47;3010:2;3005:3;3001:12;2998:1;2994:20;2988:4;2984:31;2974:41;;3065:82;3083:2;3076:5;3073:13;3065:82;;;3128:17;;;3109:1;3098:13;3065:82;;;3069:3;;;2709:448;2618:545;;;:::o;3339:1352::-;3459:10;;-1:-1:-1;;;;;3481:30:350;;3478:56;;;3514:18;;:::i;:::-;3543:97;3633:6;3593:38;3625:4;3619:11;3593:38;:::i;:::-;3587:4;3543:97;:::i;:::-;3695:4;;3759:2;3748:14;;3776:1;3771:663;;;;4478:1;4495:6;4492:89;;;-1:-1:-1;4547:19:350;;;4541:26;4492:89;-1:-1:-1;;3296:1:350;3292:11;;;3288:24;3284:29;3274:40;3320:1;3316:11;;;3271:57;4594:81;;3741:944;;3771:663;2565:1;2558:14;;;2602:4;2589:18;;-1:-1:-1;;3807:20:350;;;3925:236;3939:7;3936:1;3933:14;3925:236;;;4028:19;;;4022:26;4007:42;;4120:27;;;;4088:1;4076:14;;;;3955:19;;3925:236;;;3929:3;4189:6;4180:7;4177:19;4174:201;;;4250:19;;;4244:26;-1:-1:-1;;4333:1:350;4329:14;;;4345:3;4325:24;4321:37;4317:42;4302:58;4287:74;;4174:201;-1:-1:-1;;;;;4421:1:350;4405:14;;;4401:22;4388:36;;-1:-1:-1;3339:1352:350:o;:::-;833:4510:224;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000a",sourceMap:"833:4510:224:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3616:519;;;;;;:::i;:::-;;:::i;:::-;;;516:14:350;;509:22;491:41;;479:2;464:18;3616:519:224;;;;;;;;1022:37;;;;;;;;719:42:350;707:55;;;689:74;;677:2;662:18;1022:37:224;543:226:350;2156:98:43;;;:::i;:::-;;;;;;;:::i;4433:197::-;;;;;;:::i;:::-;;:::i;3244:106::-;3331:12;;3244:106;;;2041:25:350;;;2029:2;2014:18;3244:106:43;1895:177:350;5192:286:43;;;;;;:::i;:::-;;:::i;5252:89:224:-;;;2582:4:350;5326:8:224;2570:17:350;2552:36;;2540:2;2525:18;5252:89:224;2410:184:350;5873:234:43;;;;;;:::i;:::-;;:::i;2739:254:224:-;;;;;;:::i;:::-;;:::i;:::-;;2009:40;;;;;;;;;;;;;;;;;;;;;3408:125:43;;;;;;:::i;:::-;3508:18;;3482:7;3508:18;;;;;;;;;;;;3408:125;2367:102;;;:::i;3174:260:224:-;;;;;;:::i;:::-;;:::i;6594:427:43:-;;;;;;:::i;:::-;;:::i;3729:189::-;;;;;;:::i;:::-;;:::i;4434:80:224:-;4501:6;4434:80;;4248:85;4314:12;4248:85;;3976:149:43;;;;;;:::i;:::-;4091:18;;;;4065:7;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3976:149;1129:31:224;;;;;3616:519;3695:4;3727:25;3844:38;3997:40;4054:22;;;;;;:48;;-1:-1:-1;4080:22:224;;;;;;;;4054:48;:74;;;-1:-1:-1;4106:22:224;;;;;;;;4054:74;4047:81;3616:519;-1:-1:-1;;;;;3616:519:224:o;2156:98:43:-;2210:13;2242:5;2235:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2156:98;:::o;4433:197::-;4516:4;719:10:58;4570:32:43;719:10:58;4586:7:43;4595:6;4570:8;:32::i;:::-;-1:-1:-1;4619:4:43;;4433:197;-1:-1:-1;;;4433:197:43:o;5192:286::-;5319:4;719:10:58;5375:38:43;5391:4;719:10:58;5406:6:43;5375:15;:38::i;:::-;5423:27;5433:4;5439:2;5443:6;5423:9;:27::i;:::-;-1:-1:-1;5467:4:43;;5192:286;-1:-1:-1;;;;5192:286:43:o;5873:234::-;719:10:58;5961:4:43;4091:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;5961:4;;719:10:58;6015:64:43;;719:10:58;;4091:27:43;;6040:38;;6068:10;;6040:38;:::i;:::-;6015:8;:64::i;2739:254:224:-;1845:10;:20;1859:6;1845:20;;1837:85;;;;;;;4021:2:350;1837:85:224;;;4003:21:350;4060:2;4040:18;;;4033:30;4099:34;4079:18;;;4072:62;4170:22;4150:18;;;4143:50;4210:19;;1837:85:224;;;;;;;;;2934:19:::1;2940:3;2945:7;2934:5;:19::i;:::-;2973:3;2968:18;;;2978:7;2968:18;;;;2041:25:350::0;;2029:2;2014:18;;1895:177;2968:18:224::1;;;;;;;;2739:254:::0;;:::o;2367:102:43:-;2423:13;2455:7;2448:14;;;;;:::i;3174:260:224:-;1845:10;:20;1859:6;1845:20;;1837:85;;;;;;;4021:2:350;1837:85:224;;;4003:21:350;4060:2;4040:18;;;4033:30;4099:34;4079:18;;;4072:62;4170:22;4150:18;;;4143:50;4210:19;;1837:85:224;3819:416:350;1837:85:224;3371:21:::1;3377:5;3384:7;3371:5;:21::i;:::-;3412:5;3407:20;;;3419:7;3407:20;;;;2041:25:350::0;;2029:2;2014:18;;1895:177;6594:427:43;719:10:58;6687:4:43;4091:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;6687:4;;719:10:58;6831:15:43;6811:16;:35;;6803:85;;;;;;;4442:2:350;6803:85:43;;;4424:21:350;4481:2;4461:18;;;4454:30;4520:34;4500:18;;;4493:62;4591:7;4571:18;;;4564:35;4616:19;;6803:85:43;4240:401:350;6803:85:43;6922:60;6931:5;6938:7;6966:15;6947:16;:34;6922:8;:60::i;3729:189::-;3808:4;719:10:58;3862:28:43;719:10:58;3879:2:43;3883:6;3862:9;:28::i;10110:370::-;10241:19;;;10233:68;;;;;;;4848:2:350;10233:68:43;;;4830:21:350;4887:2;4867:18;;;4860:30;4926:34;4906:18;;;4899:62;4997:6;4977:18;;;4970:34;5021:19;;10233:68:43;4646:400:350;10233:68:43;10319:21;;;10311:68;;;;;;;5253:2:350;10311:68:43;;;5235:21:350;5292:2;5272:18;;;5265:30;5331:34;5311:18;;;5304:62;5402:4;5382:18;;;5375:32;5424:19;;10311:68:43;5051:398:350;10311:68:43;10390:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10441:32;;2041:25:350;;;10441:32:43;;2014:18:350;10441:32:43;;;;;;;;10110:370;;;:::o;10761:441::-;4091:18;;;;10891:24;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;10977:17;10957:37;;10953:243;;11038:6;11018:16;:26;;11010:68;;;;;;;5656:2:350;11010:68:43;;;5638:21:350;5695:2;5675:18;;;5668:30;5734:31;5714:18;;;5707:59;5783:18;;11010:68:43;5454:353:350;11010:68:43;11120:51;11129:5;11136:7;11164:6;11145:16;:25;11120:8;:51::i;:::-;10881:321;10761:441;;;:::o;7475:651::-;7601:18;;;7593:68;;;;;;;6014:2:350;7593:68:43;;;5996:21:350;6053:2;6033:18;;;6026:30;6092:34;6072:18;;;6065:62;6163:7;6143:18;;;6136:35;6188:19;;7593:68:43;5812:401:350;7593:68:43;7679:16;;;7671:64;;;;;;;6420:2:350;7671:64:43;;;6402:21:350;6459:2;6439:18;;;6432:30;6498:34;6478:18;;;6471:62;6569:5;6549:18;;;6542:33;6592:19;;7671:64:43;6218:399:350;7671:64:43;7817:15;;;7795:19;7817:15;;;;;;;;;;;7850:21;;;;7842:72;;;;;;;6824:2:350;7842:72:43;;;6806:21:350;6863:2;6843:18;;;6836:30;6902:34;6882:18;;;6875:62;6973:8;6953:18;;;6946:36;6999:19;;7842:72:43;6622:402:350;7842:72:43;7948:15;;;;:9;:15;;;;;;;;;;;7966:20;;;7948:38;;8006:13;;;;;;;;:23;;7980:6;;7948:9;8006:23;;7980:6;;8006:23;:::i;:::-;;;;;;;;8060:2;8045:26;;8054:4;8045:26;;;8064:6;8045:26;;;;2041:25:350;;2029:2;2014:18;;1895:177;8045:26:43;;;;;;;;8082:37;9111:576;8402:389;8485:21;;;8477:65;;;;;;;7231:2:350;8477:65:43;;;7213:21:350;7270:2;7250:18;;;7243:30;7309:33;7289:18;;;7282:61;7360:18;;8477:65:43;7029:355:350;8477:65:43;8629:6;8613:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;8645:18:43;;;:9;:18;;;;;;;;;;:28;;8667:6;;8645:9;:28;;8667:6;;8645:28;:::i;:::-;;;;-1:-1:-1;;8688:37:43;;2041:25:350;;;8688:37:43;;;;8705:1;;8688:37;;2029:2:350;2014:18;8688:37:43;;;;;;;8402:389;;:::o;9111:576::-;9194:21;;;9186:67;;;;;;;7591:2:350;9186:67:43;;;7573:21:350;7630:2;7610:18;;;7603:30;7669:34;7649:18;;;7642:62;7740:3;7720:18;;;7713:31;7761:19;;9186:67:43;7389:397:350;9186:67:43;9349:18;;;9324:22;9349:18;;;;;;;;;;;9385:24;;;;9377:71;;;;;;;7993:2:350;9377:71:43;;;7975:21:350;8032:2;8012:18;;;8005:30;8071:34;8051:18;;;8044:62;8142:4;8122:18;;;8115:32;8164:19;;9377:71:43;7791:398:350;9377:71:43;9482:18;;;:9;:18;;;;;;;;;;9503:23;;;9482:44;;9546:12;:22;;9520:6;;9482:9;9546:22;;9520:6;;9546:22;:::i;:::-;;;;-1:-1:-1;;9584:37:43;;2041:25:350;;;9610:1:43;;9584:37;;;;;;2029:2:350;2014:18;9584:37:43;1895:177:350;14:332;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;180:9;167:23;230:66;223:5;219:78;212:5;209:89;199:117;;312:1;309;302:12;199:117;335:5;14:332;-1:-1:-1;;;14:332:350:o;774:656::-;886:4;915:2;944;933:9;926:21;976:6;970:13;1019:6;1014:2;1003:9;999:18;992:34;1044:1;1054:140;1068:6;1065:1;1062:13;1054:140;;;1163:14;;;1159:23;;1153:30;1129:17;;;1148:2;1125:26;1118:66;1083:10;;1054:140;;;1212:6;1209:1;1206:13;1203:91;;;1282:1;1277:2;1268:6;1257:9;1253:22;1249:31;1242:42;1203:91;-1:-1:-1;1346:2:350;1334:15;1351:66;1330:88;1315:104;;;;1421:2;1311:113;;774:656;-1:-1:-1;;;774:656:350:o;1435:196::-;1503:20;;1563:42;1552:54;;1542:65;;1532:93;;1621:1;1618;1611:12;1532:93;1435:196;;;:::o;1636:254::-;1704:6;1712;1765:2;1753:9;1744:7;1740:23;1736:32;1733:52;;;1781:1;1778;1771:12;1733:52;1804:29;1823:9;1804:29;:::i;:::-;1794:39;1880:2;1865:18;;;;1852:32;;-1:-1:-1;;;1636:254:350:o;2077:328::-;2154:6;2162;2170;2223:2;2211:9;2202:7;2198:23;2194:32;2191:52;;;2239:1;2236;2229:12;2191:52;2262:29;2281:9;2262:29;:::i;:::-;2252:39;;2310:38;2344:2;2333:9;2329:18;2310:38;:::i;:::-;2300:48;;2395:2;2384:9;2380:18;2367:32;2357:42;;2077:328;;;;;:::o;2599:186::-;2658:6;2711:2;2699:9;2690:7;2686:23;2682:32;2679:52;;;2727:1;2724;2717:12;2679:52;2750:29;2769:9;2750:29;:::i;2790:260::-;2858:6;2866;2919:2;2907:9;2898:7;2894:23;2890:32;2887:52;;;2935:1;2932;2925:12;2887:52;2958:29;2977:9;2958:29;:::i;:::-;2948:39;;3006:38;3040:2;3029:9;3025:18;3006:38;:::i;:::-;2996:48;;2790:260;;;;;:::o;3055:437::-;3134:1;3130:12;;;;3177;;;3198:61;;3252:4;3244:6;3240:17;3230:27;;3198:61;3305:2;3297:6;3294:14;3274:18;3271:38;3268:218;;3342:77;3339:1;3332:88;3443:4;3440:1;3433:15;3471:4;3468:1;3461:15;3268:218;;3055:437;;;:::o;3497:184::-;3549:77;3546:1;3539:88;3646:4;3643:1;3636:15;3670:4;3667:1;3660:15;3686:128;3726:3;3757:1;3753:6;3750:1;3747:13;3744:39;;;3763:18;;:::i;:::-;-1:-1:-1;3799:9:350;;3686:128::o;8194:125::-;8234:4;8262:1;8259;8256:8;8253:34;;;8267:18;;:::i;:::-;-1:-1:-1;8304:9:350;;8194:125::o",linkReferences:{},immutableReferences:{"106050":[{start:425,length:32},{start:881,length:32}],"106053":[{start:843,length:32},{start:992,length:32},{start:1573,length:32},{start:1884,length:32}],"106056":[{start:580,length:32}]}},methodIdentifiers:{"BRIDGE()":"ee9a31a2","REMOTE_TOKEN()":"033964be","allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","bridge()":"e78cea92","burn(address,uint256)":"9dc29fac","decimals()":"313ce567","decreaseAllowance(address,uint256)":"a457c2d7","increaseAllowance(address,uint256)":"39509351","l1Token()":"c01e1bd6","l2Bridge()":"ae1f6aaf","mint(address,uint256)":"40c10f19","name()":"06fdde03","remoteToken()":"d6c0b2c4","supportsInterface(bytes4)":"01ffc9a7","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_bridge","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BRIDGE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REMOTE_TOKEN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l1Token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2Bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remoteToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"events":{"Burn(address,uint256)":{"params":{"account":"Address of the account tokens are being burned from.","amount":"Amount of tokens burned."}},"Mint(address,uint256)":{"params":{"account":"Address of the account tokens are being minted for.","amount":"Amount of tokens minted."}}},"kind":"dev","methods":{"allowance(address,address)":{"details":"See {IERC20-allowance}."},"approve(address,uint256)":{"details":"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"bridge()":{"custom:legacy":"@notice Legacy getter for BRIDGE."},"burn(address,uint256)":{"params":{"_amount":"Amount of tokens to burn.","_from":"Address to burn tokens from."}},"constructor":{"params":{"_bridge":"Address of the L2 standard bridge.","_name":"ERC20 name.","_remoteToken":"Address of the corresponding L1 token.","_symbol":"ERC20 symbol."}},"decimals()":{"details":"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"decreaseAllowance(address,uint256)":{"details":"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`."},"increaseAllowance(address,uint256)":{"details":"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address."},"l1Token()":{"custom:legacy":"@notice Legacy getter for the remote token. Use REMOTE_TOKEN going forward."},"l2Bridge()":{"custom:legacy":"@notice Legacy getter for the bridge. Use BRIDGE going forward."},"mint(address,uint256)":{"params":{"_amount":"Amount of tokens to mint.","_to":"Address to mint tokens to."}},"name()":{"details":"Returns the name of the token."},"remoteToken()":{"custom:legacy":"@notice Legacy getter for REMOTE_TOKEN."},"supportsInterface(bytes4)":{"params":{"_interfaceId":"Interface ID to check."},"returns":{"_0":"Whether or not the interface is supported by this contract."}},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`."},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``\'s tokens of at least `amount`."}},"stateVariables":{"version":{"custom:semver":"1.3.0"}},"title":"OptimismMintableERC20","version":1},"userdoc":{"events":{"Burn(address,uint256)":{"notice":"Emitted whenever tokens are burned from an account."},"Mint(address,uint256)":{"notice":"Emitted whenever tokens are minted for an account."}},"kind":"user","methods":{"BRIDGE()":{"notice":"Address of the StandardBridge on this network."},"REMOTE_TOKEN()":{"notice":"Address of the corresponding version of this token on the remote chain."},"burn(address,uint256)":{"notice":"Allows the StandardBridge on this network to burn tokens."},"mint(address,uint256)":{"notice":"Allows the StandardBridge on this network to mint tokens."},"supportsInterface(bytes4)":{"notice":"ERC165 interface check function."},"version()":{"notice":"Semantic version."}},"notice":"OptimismMintableERC20 is a standard extension of the base ERC20 token contract designed to allow the StandardBridge contracts to mint and burn tokens. This makes it possible to use an OptimismMintablERC20 as the L2 representation of an L1 token, or vice-versa. Designed to be backwards compatible with the older StandardL2ERC20 token which was only meant for use on L2.","version":1}},"settings":{"compilationTarget":{"src/universal/OptimismMintableERC20.sol":"OptimismMintableERC20"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"address",name:"_bridge",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"},{internalType:"uint8",name:"_decimals",type:"uint8"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"owner",type:"address",indexed:!0},{internalType:"address",name:"spender",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"Approval",anonymous:!1},{inputs:[{internalType:"address",name:"account",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1}],type:"event",name:"Burn",anonymous:!1},{inputs:[{internalType:"address",name:"account",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1}],type:"event",name:"Mint",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"Transfer",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"BRIDGE",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"REMOTE_TOKEN",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],stateMutability:"view",type:"function",name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"account",type:"address"}],stateMutability:"view",type:"function",name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"bridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"burn"},{inputs:[],stateMutability:"view",type:"function",name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}]},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2Bridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"mint"},{inputs:[],stateMutability:"view",type:"function",name:"name",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"remoteToken",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"bytes4",name:"_interfaceId",type:"bytes4"}],stateMutability:"pure",type:"function",name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"allowance(address,address)":{details:"See {IERC20-allowance}."},"approve(address,uint256)":{details:"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"balanceOf(address)":{details:"See {IERC20-balanceOf}."},"bridge()":{"custom:legacy":"@notice Legacy getter for BRIDGE."},"burn(address,uint256)":{params:{_amount:"Amount of tokens to burn.",_from:"Address to burn tokens from."}},constructor:{params:{_bridge:"Address of the L2 standard bridge.",_name:"ERC20 name.",_remoteToken:"Address of the corresponding L1 token.",_symbol:"ERC20 symbol."}},"decimals()":{details:"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"decreaseAllowance(address,uint256)":{details:"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`."},"increaseAllowance(address,uint256)":{details:"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address."},"l1Token()":{"custom:legacy":"@notice Legacy getter for the remote token. Use REMOTE_TOKEN going forward."},"l2Bridge()":{"custom:legacy":"@notice Legacy getter for the bridge. Use BRIDGE going forward."},"mint(address,uint256)":{params:{_amount:"Amount of tokens to mint.",_to:"Address to mint tokens to."}},"name()":{details:"Returns the name of the token."},"remoteToken()":{"custom:legacy":"@notice Legacy getter for REMOTE_TOKEN."},"supportsInterface(bytes4)":{params:{_interfaceId:"Interface ID to check."},returns:{_0:"Whether or not the interface is supported by this contract."}},"symbol()":{details:"Returns the symbol of the token, usually a shorter version of the name."},"totalSupply()":{details:"See {IERC20-totalSupply}."},"transfer(address,uint256)":{details:"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`."},"transferFrom(address,address,uint256)":{details:"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`."}},version:1},userdoc:{kind:"user",methods:{"BRIDGE()":{notice:"Address of the StandardBridge on this network."},"REMOTE_TOKEN()":{notice:"Address of the corresponding version of this token on the remote chain."},"burn(address,uint256)":{notice:"Allows the StandardBridge on this network to burn tokens."},"mint(address,uint256)":{notice:"Allows the StandardBridge on this network to mint tokens."},"supportsInterface(bytes4)":{notice:"ERC165 interface check function."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/universal/OptimismMintableERC20.sol":"OptimismMintableERC20"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:48077,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_balances",offset:0,slot:"0",type:"t_mapping(t_address,t_uint256)"},{astId:48083,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_allowances",offset:0,slot:"1",type:"t_mapping(t_address,t_mapping(t_address,t_uint256))"},{astId:48085,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_totalSupply",offset:0,slot:"2",type:"t_uint256"},{astId:48087,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_name",offset:0,slot:"3",type:"t_string_storage"},{astId:48089,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_symbol",offset:0,slot:"4",type:"t_string_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_uint256))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => uint256))",numberOfBytes:"32",value:"t_mapping(t_address,t_uint256)"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},t_string_storage:{encoding:"bytes",label:"string",numberOfBytes:"32"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"}}},userdoc:{version:1,kind:"user",methods:{"BRIDGE()":{notice:"Address of the StandardBridge on this network."},"REMOTE_TOKEN()":{notice:"Address of the corresponding version of this token on the remote chain."},"burn(address,uint256)":{notice:"Allows the StandardBridge on this network to burn tokens."},"mint(address,uint256)":{notice:"Allows the StandardBridge on this network to mint tokens."},"supportsInterface(bytes4)":{notice:"ERC165 interface check function."},"version()":{notice:"Semantic version."}},events:{"Burn(address,uint256)":{notice:"Emitted whenever tokens are burned from an account."},"Mint(address,uint256)":{notice:"Emitted whenever tokens are minted for an account."}},notice:"OptimismMintableERC20 is a standard extension of the base ERC20 token contract designed to allow the StandardBridge contracts to mint and burn tokens. This makes it possible to use an OptimismMintablERC20 as the L2 representation of an L1 token, or vice-versa. Designed to be backwards compatible with the older StandardL2ERC20 token which was only meant for use on L2."},devdoc:{version:1,kind:"dev",methods:{"allowance(address,address)":{details:"See {IERC20-allowance}."},"approve(address,uint256)":{details:"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"balanceOf(address)":{details:"See {IERC20-balanceOf}."},"bridge()":{},"burn(address,uint256)":{params:{_amount:"Amount of tokens to burn.",_from:"Address to burn tokens from."}},constructor:{params:{_bridge:"Address of the L2 standard bridge.",_name:"ERC20 name.",_remoteToken:"Address of the corresponding L1 token.",_symbol:"ERC20 symbol."}},"decimals()":{details:"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"decreaseAllowance(address,uint256)":{details:"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`."},"increaseAllowance(address,uint256)":{details:"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address."},"l1Token()":{},"l2Bridge()":{},"mint(address,uint256)":{params:{_amount:"Amount of tokens to mint.",_to:"Address to mint tokens to."}},"name()":{details:"Returns the name of the token."},"remoteToken()":{},"supportsInterface(bytes4)":{params:{_interfaceId:"Interface ID to check."},returns:{_0:"Whether or not the interface is supported by this contract."}},"symbol()":{details:"Returns the symbol of the token, usually a shorter version of the name."},"totalSupply()":{details:"See {IERC20-totalSupply}."},"transfer(address,uint256)":{details:"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`."},"transferFrom(address,address,uint256)":{details:"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`."}},events:{"Burn(address,uint256)":{params:{account:"Address of the account tokens are being burned from.",amount:"Amount of tokens burned."}},"Mint(address,uint256)":{params:{account:"Address of the account tokens are being minted for.",amount:"Amount of tokens minted."}}},title:"OptimismMintableERC20"},id:224}});var LKe=D((Qca,RHt)=>{RHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"GUARDIAN",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"L2_ORACLE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract L2OutputOracle"}],stateMutability:"view"},{type:"function",name:"SYSTEM_CONFIG",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SystemConfig"}],stateMutability:"view"},{type:"function",name:"depositTransaction",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_gasLimit",type:"uint64",internalType:"uint64"},{name:"_isCreation",type:"bool",internalType:"bool"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"donateETH",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizedWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"guardian",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_l2Oracle",type:"address",internalType:"contract L2OutputOracle"},{name:"_systemConfig",type:"address",internalType:"contract SystemConfig"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isOutputFinalized",inputs:[{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"l2Oracle",inputs:[],outputs:[{name:"",type:"address",internalType:"contract L2OutputOracle"}],stateMutability:"view"},{type:"function",name:"l2Sender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"minimumGasLimit",inputs:[{name:"_byteCount",type:"uint64",internalType:"uint64"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"params",inputs:[],outputs:[{name:"prevBaseFee",type:"uint128",internalType:"uint128"},{name:"prevBoughtGas",type:"uint64",internalType:"uint64"},{name:"prevBlockNum",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"paused_",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"proveWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"},{name:"_outputRootProof",type:"tuple",internalType:"struct Types.OutputRootProof",components:[{name:"version",type:"bytes32",internalType:"bytes32"},{name:"stateRoot",type:"bytes32",internalType:"bytes32"},{name:"messagePasserStorageRoot",type:"bytes32",internalType:"bytes32"},{name:"latestBlockhash",type:"bytes32",internalType:"bytes32"}]},{name:"_withdrawalProof",type:"bytes[]",internalType:"bytes[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"provenWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"outputRoot",type:"bytes32",internalType:"bytes32"},{name:"timestamp",type:"uint128",internalType:"uint128"},{name:"l2OutputIndex",type:"uint128",internalType:"uint128"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"systemConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SystemConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"TransactionDeposited",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"version",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opaqueData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"WithdrawalFinalized",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"success",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"WithdrawalProven",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b50620000206000808062000026565b6200028f565b600054610100900460ff1615808015620000475750600054600160ff909116105b806200007757506200006430620001c160201b62001b741760201c565b15801562000077575060005460ff166001145b620000e05760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000104576000805461ff0019166101001790555b603680546001600160a01b03199081166001600160a01b03878116919091179092556037805490911685831617905560358054610100600160a81b03191661010085841602179055603254166200016a57603280546001600160a01b03191661dead1790555b62000174620001d0565b8015620001bb576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b6001600160a01b03163b151590565b600054610100900460ff166200023d5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d7565b600154600160c01b90046001600160401b03166000036200028d5760408051606081018252633b9aca0080825260006020830152436001600160401b031691909201819052600160c01b02176001555b565b6153ed806200029f6000396000f3fe6080604052600436106101625760003560e01c80638c3152e9116100c0578063c0c53b8b11610074578063e965084c11610059578063e965084c146104c7578063e9e05c4214610553578063f04987501461056657600080fd5b8063c0c53b8b14610406578063cff0ab961461042657600080fd5b80639bf62d82116100a55780639bf62d8214610370578063a14238e71461039d578063a35d99df146103cd57600080fd5b80638c3152e9146103235780639b5f694a1461034357600080fd5b806354fd4d50116101175780636dbffb78116100fc5780636dbffb78146102ee578063724c184c1461030e5780638b4c40b01461018757600080fd5b806354fd4d50146102735780635c975abb146102c957600080fd5b806335e80ab31161014857806335e80ab31461020c578063452a93201461023e5780634870496f1461025357600080fd5b80621c2ff61461018e57806333d7e2bd146101df57600080fd5b36610189576101873334620186a0600060405180602001604052806000815250610591565b005b600080fd5b34801561019a57600080fd5b5060365473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101eb57600080fd5b506037546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b34801561021857600080fd5b506035546101b590610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561024a57600080fd5b506101b561082c565b34801561025f57600080fd5b5061018761026e3660046149b4565b6108c4565b34801561027f57600080fd5b506102bc6040518060400160405280600581526020017f322e352e3000000000000000000000000000000000000000000000000000000081525081565b6040516101d69190614b06565b3480156102d557600080fd5b506102de610ef2565b60405190151581526020016101d6565b3480156102fa57600080fd5b506102de610309366004614b19565b610f85565b34801561031a57600080fd5b506101b5611040565b34801561032f57600080fd5b5061018761033e366004614b32565b61104c565b34801561034f57600080fd5b506036546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b34801561037c57600080fd5b506032546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b3480156103a957600080fd5b506102de6103b8366004614b19565b60336020526000908152604090205460ff1681565b3480156103d957600080fd5b506103ed6103e8366004614b8c565b61190d565b60405167ffffffffffffffff90911681526020016101d6565b34801561041257600080fd5b50610187610421366004614ba7565b611926565b34801561043257600080fd5b5060015461048e906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff92831660208501529116908201526060016101d6565b3480156104d357600080fd5b506105256104e2366004614b19565b603460205260009081526040902080546001909101546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041683565b604080519384526fffffffffffffffffffffffffffffffff92831660208501529116908201526060016101d6565b610187610561366004614c00565b610591565b34801561057257600080fd5b5060375473ffffffffffffffffffffffffffffffffffffffff166101b5565b8260005a905083156106485773ffffffffffffffffffffffffffffffffffffffff87161561064857604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f4f7074696d69736d506f7274616c3a206d7573742073656e6420746f2061646460448201527f72657373283029207768656e206372656174696e67206120636f6e747261637460648201526084015b60405180910390fd5b610652835161190d565b67ffffffffffffffff168567ffffffffffffffff1610156106f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4f7074696d69736d506f7274616c3a20676173206c696d697420746f6f20736d60448201527f616c6c0000000000000000000000000000000000000000000000000000000000606482015260840161063f565b6201d4c083511115610763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f7074696d69736d506f7274616c3a206461746120746f6f206c617267650000604482015260640161063f565b33328114610784575033731111000000000000000000000000000000001111015b6000348888888860405160200161079f959493929190614c7d565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c328460405161080f9190614b06565b60405180910390a450506108238282611b90565b50505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190614ce2565b905090565b6108cc610ef2565b15610933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a2070617573656400000000000000000000604482015260640161063f565b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff16036109f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e747261637400606482015260840161063f565b6036546040517fa25ae5570000000000000000000000000000000000000000000000000000000081526004810186905260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa158015610a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a869190614d1f565b519050610aa0610a9b36869003860186614d84565b611ebd565b8114610b2e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f660000000000000000000000000000000000000000000000606482015260840161063f565b6000610b3987611f19565b6000818152603460209081526040918290208251606081018452815481526001909101546fffffffffffffffffffffffffffffffff8082169383018490527001000000000000000000000000000000009091041692810192909252919250901580610c4f5750805160365460408084015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015273ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610c27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4b9190614d1f565b5114155b610cdb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173682060448201527f68617320616c7265616479206265656e2070726f76656e000000000000000000606482015260840161063f565b60408051602081018490526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815282825280516020918201209083018190529250610da49101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f0100000000000000000000000000000000000000000000000000000000000000602083015290610d9a888a614dea565b8a60400135611f49565b610e30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f660000000000000000000000000000606482015260840161063f565b604080516060810182528581526fffffffffffffffffffffffffffffffff42811660208084019182528c831684860190815260008981526034835286812095518655925190518416700100000000000000000000000000000000029316929092176001909301929092558b830151908c0151925173ffffffffffffffffffffffffffffffffffffffff918216939091169186917f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f629190a4505050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f61573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190614e6e565b6036546040517fa25ae5570000000000000000000000000000000000000000000000000000000081526004810183905260009161103a9173ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610ffb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101f9190614d1f565b602001516fffffffffffffffffffffffffffffffff16611f6d565b92915050565b60006108bf61082c565b565b611054610ef2565b156110bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a2070617573656400000000000000000000604482015260640161063f565b60325473ffffffffffffffffffffffffffffffffffffffff1661dead14611164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e00606482015260840161063f565b600061116f82611f19565b60008181526034602090815260408083208151606081018352815481526001909101546fffffffffffffffffffffffffffffffff8082169483018590527001000000000000000000000000000000009091041691810191909152929350900361125a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e207965740000000000000000000000000000606482015260840161063f565b603660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663887862726040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112eb9190614e8b565b81602001516fffffffffffffffffffffffffffffffff1610156113b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e204c32204f7261636c65207374617274696e60648201527f672074696d657374616d70000000000000000000000000000000000000000000608482015260a40161063f565b6113d581602001516fffffffffffffffffffffffffffffffff16611f6d565b611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c2066696e616c697a6174696f6e20706572696f6420686173206e6f7420656c60648201527f6170736564000000000000000000000000000000000000000000000000000000608482015260a40161063f565b60365460408281015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa15801561150e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115329190614d1f565b82518151919250146115ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4f7074696d69736d506f7274616c3a206f757470757420726f6f742070726f7660448201527f656e206973206e6f74207468652073616d652061732063757272656e74206f7560648201527f7470757420726f6f740000000000000000000000000000000000000000000000608482015260a40161063f565b61160b81602001516fffffffffffffffffffffffffffffffff16611f6d565b6116bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f66696e616c697a6174696f6e20706572696f6420686173206e6f7420656c617060648201527f7365640000000000000000000000000000000000000000000000000000000000608482015260a40161063f565b60008381526033602052604090205460ff161561175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a65640000000000000000000000606482015260840161063f565b600083815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908601516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558501516080860151606087015160a08801516117fe93929190612013565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915084907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b9061186390841515815260200190565b60405180910390a2801580156118795750326001145b15611906576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a207769746864726177616c206661696c6560448201527f6400000000000000000000000000000000000000000000000000000000000000606482015260840161063f565b5050505050565b600061191a826010614ed3565b61103a90615208614f03565b600054610100900460ff16158080156119465750600054600160ff909116105b806119605750303b158015611960575060005460ff166001145b6119ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161063f565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015611a4a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603680547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560378054909116858316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101008584160217905560325416611b0357603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b611b0b612071565b8015611b6e57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b600154600090611bc6907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1643614f2f565b90506000611bd2612184565b90506000816020015160ff16826000015163ffffffff16611bf39190614f75565b90508215611d2a57600154600090611c2a908390700100000000000000000000000000000000900467ffffffffffffffff16614fdd565b90506000836040015160ff1683611c419190615051565b600154611c619084906fffffffffffffffffffffffffffffffff16615051565b611c6b9190614f75565b600154909150600090611cbc90611c959084906fffffffffffffffffffffffffffffffff1661510d565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff16612245565b90506001861115611ceb57611ce8611c9582876040015160ff1660018a611ce39190614f2f565b612264565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b60018054869190601090611d5d908490700100000000000000000000000000000000900467ffffffffffffffff16614f03565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff161315611e40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5265736f757263654d65746572696e673a2063616e6e6f7420627579206d6f7260448201527f6520676173207468616e20617661696c61626c6520676173206c696d69740000606482015260840161063f565b600154600090611e6c906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816615181565b90506000611e7e48633b9aca006122b9565b611e8890836151be565b905060005a611e979088614f2f565b905080821115611eb357611eb3611eae8284614f2f565b6122d0565b5050505050505050565b60008160000151826020015183604001518460600151604051602001611efc949392919093845260208401929092526040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b80516020808301516040808501516060860151608087015160a08801519351600097611efc9790969591016151d2565b600080611f55866122fe565b9050611f6381868686612330565b9695505050505050565b603654604080517ff4daa291000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163f4daa2919160048083019260209291908290030181865afa158015611fdd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120019190614e8b565b61200b9083615229565b421192915050565b6000806000612023866000612360565b905080612059576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600054610100900460ff16612108576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161063f565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff1660000361104a5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015612221573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190615266565b600061225a612254858561237e565b8361238e565b90505b9392505050565b6000670de0b6b3a76400006122a561227c8583614f75565b61228e90670de0b6b3a7640000614fdd565b6122a085670de0b6b3a7640000615051565b61239d565b6122af9086615051565b61225a9190614f75565b6000818310156122c9578161225d565b5090919050565b6000805a90505b825a6122e39083614f2f565b10156122f9576122f282615305565b91506122d7565b505050565b6060818051906020012060405160200161231a91815260200190565b6040516020818303038152906040529050919050565b6000612357846123418786866123ce565b8051602091820120825192909101919091201490565b95945050505050565b600080603f83619c4001026040850201603f5a021015949350505050565b6000818312156122c9578161225d565b60008183126122c9578161225d565b600061225d670de0b6b3a7640000836123b586612e4c565b6123bf9190615051565b6123c99190614f75565b613090565b6060600084511161243b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b65790000000000000000000000604482015260640161063f565b6000612446846132cf565b90506000612453866133bb565b905060008460405160200161246a91815260200190565b60405160208183030381529060405290506000805b8451811015612dc357600085828151811061249c5761249c61533d565b602002602001015190508451831115612537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e677468000000000000000000000000000000000000606482015260840161063f565b826000036125f057805180516020918201206040516125859261255f92910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b6125eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f742068617368000000604482015260640161063f565b612747565b8051516020116126a6578051805160209182012060405161261a9261255f92910190815260200190565b6125eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c206861736800000000000000000000000000000000000000000000000000606482015260840161063f565b805184516020808701919091208251919092012014612747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f6520686173680000000000000000000000000000000000000000000000000000606482015260840161063f565b61275360106001615229565b8160200151510361292f57845183036128c75761278d81602001516010815181106127805761278061533d565b602002602001015161341e565b96506000875111612820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e6368290000000000606482015260840161063f565b6001865161282e9190614f2f565b82146128bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e636829000000000000606482015260840161063f565b50505050505061225d565b60008584815181106128db576128db61533d565b602001015160f81c60f81b60f81c9050600082602001518260ff16815181106129065761290661533d565b602002602001015190506129198161357e565b9550612926600186615229565b94505050612db0565b600281602001515103612d28576000612947826135a3565b905060008160008151811061295e5761295e61533d565b016020015160f81c9050600061297560028361536c565b61298090600261538e565b90506000612991848360ff166135c7565b9050600061299f8a896135c7565b905060006129ad83836135fd565b905080835114612a3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b6579000000000000606482015260840161063f565b60ff851660021480612a54575060ff85166003145b15612c435780825114612ae9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e646572000000606482015260840161063f565b612b0387602001516001815181106127805761278061533d565b9c5060008d5111612b96576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c6561662900000000000000606482015260840161063f565b60018c51612ba49190614f2f565b8814612c32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c656166290000000000000000606482015260840161063f565b50505050505050505050505061225d565b60ff85161580612c56575060ff85166001145b15612c9557612c828760200151600181518110612c7557612c7561533d565b602002602001015161357e565b9950612c8e818a615229565b9850612d1d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e207072656669780000000000000000000000000000606482015260840161063f565b505050505050612db0565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f6465000000000000000000000000000000000000000000000000606482015260840161063f565b5080612dbb81615305565b91505061247f565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e7473000000000000000000000000000000000000000000000000000000606482015260840161063f565b6000808213612eb7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e45440000000000000000000000000000000000000000000000604482015260640161063f565b60006060612ec4846136b1565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c182136130c157506000919050565b680755bf798b4a1bf1e58212613133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f570000000000000000000000000000000000000000604482015260640161063f565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff8111156132ed576132ed6147d4565b60405190808252806020026020018201604052801561333257816020015b604080518082019091526060808252602082015281526020019060019003908161330b5790505b50915060005b818110156133b457604051806040016040528085838151811061335d5761335d61533d565b6020026020010151815260200161338c86848151811061337f5761337f61533d565b6020026020010151613787565b8152508382815181106133a1576133a161533d565b6020908102919091010152600101613338565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613413578060011b82018184015160001a8060041c8253600f8116600183015350506001016133e5565b509295945050505050565b6060600080600061342e8561379a565b919450925090506000816001811115613449576134496153b1565b146134d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d00000000000000606482015260840161063f565b6134e08284615229565b85511461356f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e646572000000000000000000000000606482015260840161063f565b61235785602001518484614207565b6060602082600001511061359a576135958261341e565b61103a565b61103a8261429b565b606061103a6135c283602001516000815181106127805761278061533d565b6133bb565b6060825182106135e6575060408051602081019091526000815261103a565b61225d83838486516135f89190614f2f565b6142b1565b6000808251845110613610578251613613565b83515b90505b808210801561369a57508282815181106136325761363261533d565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168483815181106136715761367161533d565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156136aa57816001019150613616565b5092915050565b600080821161371c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e45440000000000000000000000000000000000000000000000604482015260640161063f565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b606061103a61379583614489565b614572565b600080600080846000015111613858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a40161063f565b6020840151805160001a607f811161387d576000600160009450945094505050614200565b60b78111613a8b576000613892608083614f2f565b90508087600001511161394d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a40161063f565b6001838101517fff000000000000000000000000000000000000000000000000000000000000001690821415806139c657507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b613a78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a40161063f565b5060019550935060009250614200915050565b60bf8111613dd9576000613aa060b783614f2f565b905080876000015111613b5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a40161063f565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003613c39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a40161063f565b600184015160088302610100031c60378111613cfd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a40161063f565b613d078184615229565b895111613dbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a40161063f565b613dc7836001615229565b97509550600094506142009350505050565b60f78111613eba576000613dee60c083614f2f565b905080876000015111613ea9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a40161063f565b600195509350849250614200915050565b6000613ec760f783614f2f565b905080876000015111613f82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a40161063f565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a40161063f565b600184015160088302610100031c60378111614124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a40161063f565b61412e8184615229565b8951116141e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a40161063f565b6141ee836001615229565b97509550600194506142009350505050565b9193909250565b60608167ffffffffffffffff811115614222576142226147d4565b6040519080825280601f01601f19166020018201604052801561424c576020820181803683370190505b509050811561225d5760006142618486615229565b90506020820160005b8481101561428257828101518282015260200161426a565b84811115614291576000858301525b5050509392505050565b606061103a826020015160008460000151614207565b60608182601f011015614320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f77000000000000000000000000000000000000604482015260640161063f565b82828401101561438c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f77000000000000000000000000000000000000604482015260640161063f565b818301845110156143f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e6473000000000000000000000000000000604482015260640161063f565b6060821580156144185760405191506000825260208201604052614480565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015614451578051835260209283019201614439565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b60408051808201909152600080825260208201526000825111614554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a40161063f565b50604080518082019091528151815260209182019181019190915290565b606060008060006145828561379a565b91945092509050600181600181111561459d5761459d6153b1565b1461462a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d0000000000000000606482015260840161063f565b84516146368385615229565b146146c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e6465720000000000000000000000000000606482015260840161063f565b604080516020808252610420820190925290816020015b60408051808201909152600080825260208201528152602001906001900390816146da5790505093506000835b86518110156147c85760008061474d6040518060400160405280858c600001516147319190614f2f565b8152602001858c602001516147469190615229565b905261379a565b5091509150604051806040016040528083836147699190615229565b8152602001848b6020015161477e9190615229565b8152508885815181106147935761479361533d565b60209081029190910101526147a9600185615229565b93506147b58183615229565b6147bf9084615229565b92505050614707565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561484a5761484a6147d4565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461487457600080fd5b50565b600082601f83011261488857600080fd5b813567ffffffffffffffff8111156148a2576148a26147d4565b6148d360207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601614803565b8181528460208386010111156148e857600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561491757600080fd5b60405160c0810167ffffffffffffffff828210818311171561493b5761493b6147d4565b81604052829350843583526020850135915061495682614852565b8160208401526040850135915061496c82614852565b816040840152606085013560608401526080850135608084015260a085013591508082111561499a57600080fd5b506149a785828601614877565b60a0830152505092915050565b600080600080600085870360e08112156149cd57600080fd5b863567ffffffffffffffff808211156149e557600080fd5b6149f18a838b01614905565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc084011215614a2a57600080fd5b60408901955060c0890135925080831115614a4457600080fd5b828901925089601f840112614a5857600080fd5b8235915080821115614a6957600080fd5b508860208260051b8401011115614a7f57600080fd5b959894975092955050506020019190565b60005b83811015614aab578181015183820152602001614a93565b83811115611b6e5750506000910152565b60008151808452614ad4816020860160208601614a90565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061225d6020830184614abc565b600060208284031215614b2b57600080fd5b5035919050565b600060208284031215614b4457600080fd5b813567ffffffffffffffff811115614b5b57600080fd5b614b6784828501614905565b949350505050565b803567ffffffffffffffff81168114614b8757600080fd5b919050565b600060208284031215614b9e57600080fd5b61225d82614b6f565b600080600060608486031215614bbc57600080fd5b8335614bc781614852565b92506020840135614bd781614852565b91506040840135614be781614852565b809150509250925092565b801515811461487457600080fd5b600080600080600060a08688031215614c1857600080fd5b8535614c2381614852565b945060208601359350614c3860408701614b6f565b92506060860135614c4881614bf2565b9150608086013567ffffffffffffffff811115614c6457600080fd5b614c7088828901614877565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b604882015260008251614cd1816049850160208701614a90565b919091016049019695505050505050565b600060208284031215614cf457600080fd5b815161225d81614852565b80516fffffffffffffffffffffffffffffffff81168114614b8757600080fd5b600060608284031215614d3157600080fd5b6040516060810181811067ffffffffffffffff82111715614d5457614d546147d4565b60405282518152614d6760208401614cff565b6020820152614d7860408401614cff565b60408201529392505050565b600060808284031215614d9657600080fd5b6040516080810181811067ffffffffffffffff82111715614db957614db96147d4565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b600067ffffffffffffffff80841115614e0557614e056147d4565b8360051b6020614e16818301614803565b868152918501918181019036841115614e2e57600080fd5b865b84811015614e6257803586811115614e485760008081fd5b614e5436828b01614877565b845250918301918301614e30565b50979650505050505050565b600060208284031215614e8057600080fd5b815161225d81614bf2565b600060208284031215614e9d57600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615614efa57614efa614ea4565b02949350505050565b600067ffffffffffffffff808316818516808303821115614f2657614f26614ea4565b01949350505050565b600082821015614f4157614f41614ea4565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082614f8457614f84614f46565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615614fd857614fd8614ea4565b500590565b6000808312837f80000000000000000000000000000000000000000000000000000000000000000183128115161561501757615017614ea4565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01831381161561504b5761504b614ea4565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60008413600084138583048511828216161561509257615092614ea4565b7f800000000000000000000000000000000000000000000000000000000000000060008712868205881281841616156150cd576150cd614ea4565b600087129250878205871284841616156150e9576150e9614ea4565b878505871281841616156150ff576150ff614ea4565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0384138115161561514757615147614ea4565b827f800000000000000000000000000000000000000000000000000000000000000003841281161561517b5761517b614ea4565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151b9576151b9614ea4565b500290565b6000826151cd576151cd614f46565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a083015261521d60c0830184614abc565b98975050505050505050565b6000821982111561523c5761523c614ea4565b500190565b805163ffffffff81168114614b8757600080fd5b805160ff81168114614b8757600080fd5b600060c0828403121561527857600080fd5b60405160c0810181811067ffffffffffffffff8211171561529b5761529b6147d4565b6040526152a783615241565b81526152b560208401615255565b60208201526152c660408401615255565b60408201526152d760608401615241565b60608201526152e860808401615241565b60808201526152f960a08401614cff565b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361533657615336614ea4565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff83168061537f5761537f614f46565b8060ff84160691505092915050565b600060ff821660ff8416808210156153a8576153a8614ea4565b90039392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea164736f6c634300080f000a",sourceMap:"1199:20463:130:-:0;;;4611:218;;;;;;;;;-1:-1:-1;4635:187:130;4694:1;;;4635:10;:187::i;:::-;1199:20463;;5047:435;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;5236:8:130::1;:20:::0;;-1:-1:-1;;;;;;5236:20:130;;::::1;-1:-1:-1::0;;;;;5236:20:130;;::::1;::::0;;;::::1;::::0;;;5266:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;5304:16:::1;:36:::0;;-1:-1:-1;;;;;;5304:36:130::1;5236:20;5304:36:::0;;::::1;;;::::0;;5354:8:::1;::::0;::::1;5350:91;;5392:8;:38:::0;;-1:-1:-1;;;;;;5392:38:130::1;1338:42:188;5392:38:130;::::0;;5350:91:::1;5450:25;:23;:25::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;5047:435:130;;;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;8309:234:133:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;830:2:350;4880:69:41;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4880:69:41;628:407:350;4880:69:41;8384:6:133::1;:19:::0;-1:-1:-1;;;8384:19:133;::::1;-1:-1:-1::0;;;;;8384:19:133::1;;:24:::0;8380:157:::1;;8433:93;::::0;;::::1;::::0;::::1;::::0;;8463:6:::1;8433:93:::0;;;-1:-1:-1;8433:93:133::1;::::0;::::1;::::0;8510:12:::1;-1:-1:-1::0;;;;;8433:93:133::1;::::0;;;;;;;-1:-1:-1;;;8424:102:133::1;;:6;:102:::0;8380:157:::1;8309:234::o:0;628:407:350:-;1199:20463:130;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101625760003560e01c80638c3152e9116100c0578063c0c53b8b11610074578063e965084c11610059578063e965084c146104c7578063e9e05c4214610553578063f04987501461056657600080fd5b8063c0c53b8b14610406578063cff0ab961461042657600080fd5b80639bf62d82116100a55780639bf62d8214610370578063a14238e71461039d578063a35d99df146103cd57600080fd5b80638c3152e9146103235780639b5f694a1461034357600080fd5b806354fd4d50116101175780636dbffb78116100fc5780636dbffb78146102ee578063724c184c1461030e5780638b4c40b01461018757600080fd5b806354fd4d50146102735780635c975abb146102c957600080fd5b806335e80ab31161014857806335e80ab31461020c578063452a93201461023e5780634870496f1461025357600080fd5b80621c2ff61461018e57806333d7e2bd146101df57600080fd5b36610189576101873334620186a0600060405180602001604052806000815250610591565b005b600080fd5b34801561019a57600080fd5b5060365473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101eb57600080fd5b506037546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b34801561021857600080fd5b506035546101b590610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561024a57600080fd5b506101b561082c565b34801561025f57600080fd5b5061018761026e3660046149b4565b6108c4565b34801561027f57600080fd5b506102bc6040518060400160405280600581526020017f322e352e3000000000000000000000000000000000000000000000000000000081525081565b6040516101d69190614b06565b3480156102d557600080fd5b506102de610ef2565b60405190151581526020016101d6565b3480156102fa57600080fd5b506102de610309366004614b19565b610f85565b34801561031a57600080fd5b506101b5611040565b34801561032f57600080fd5b5061018761033e366004614b32565b61104c565b34801561034f57600080fd5b506036546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b34801561037c57600080fd5b506032546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b3480156103a957600080fd5b506102de6103b8366004614b19565b60336020526000908152604090205460ff1681565b3480156103d957600080fd5b506103ed6103e8366004614b8c565b61190d565b60405167ffffffffffffffff90911681526020016101d6565b34801561041257600080fd5b50610187610421366004614ba7565b611926565b34801561043257600080fd5b5060015461048e906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff92831660208501529116908201526060016101d6565b3480156104d357600080fd5b506105256104e2366004614b19565b603460205260009081526040902080546001909101546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041683565b604080519384526fffffffffffffffffffffffffffffffff92831660208501529116908201526060016101d6565b610187610561366004614c00565b610591565b34801561057257600080fd5b5060375473ffffffffffffffffffffffffffffffffffffffff166101b5565b8260005a905083156106485773ffffffffffffffffffffffffffffffffffffffff87161561064857604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f4f7074696d69736d506f7274616c3a206d7573742073656e6420746f2061646460448201527f72657373283029207768656e206372656174696e67206120636f6e747261637460648201526084015b60405180910390fd5b610652835161190d565b67ffffffffffffffff168567ffffffffffffffff1610156106f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4f7074696d69736d506f7274616c3a20676173206c696d697420746f6f20736d60448201527f616c6c0000000000000000000000000000000000000000000000000000000000606482015260840161063f565b6201d4c083511115610763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f7074696d69736d506f7274616c3a206461746120746f6f206c617267650000604482015260640161063f565b33328114610784575033731111000000000000000000000000000000001111015b6000348888888860405160200161079f959493929190614c7d565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c328460405161080f9190614b06565b60405180910390a450506108238282611b90565b50505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190614ce2565b905090565b6108cc610ef2565b15610933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a2070617573656400000000000000000000604482015260640161063f565b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff16036109f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e747261637400606482015260840161063f565b6036546040517fa25ae5570000000000000000000000000000000000000000000000000000000081526004810186905260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa158015610a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a869190614d1f565b519050610aa0610a9b36869003860186614d84565b611ebd565b8114610b2e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f660000000000000000000000000000000000000000000000606482015260840161063f565b6000610b3987611f19565b6000818152603460209081526040918290208251606081018452815481526001909101546fffffffffffffffffffffffffffffffff8082169383018490527001000000000000000000000000000000009091041692810192909252919250901580610c4f5750805160365460408084015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015273ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610c27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4b9190614d1f565b5114155b610cdb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173682060448201527f68617320616c7265616479206265656e2070726f76656e000000000000000000606482015260840161063f565b60408051602081018490526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815282825280516020918201209083018190529250610da49101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f0100000000000000000000000000000000000000000000000000000000000000602083015290610d9a888a614dea565b8a60400135611f49565b610e30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f660000000000000000000000000000606482015260840161063f565b604080516060810182528581526fffffffffffffffffffffffffffffffff42811660208084019182528c831684860190815260008981526034835286812095518655925190518416700100000000000000000000000000000000029316929092176001909301929092558b830151908c0151925173ffffffffffffffffffffffffffffffffffffffff918216939091169186917f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f629190a4505050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f61573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190614e6e565b6036546040517fa25ae5570000000000000000000000000000000000000000000000000000000081526004810183905260009161103a9173ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610ffb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101f9190614d1f565b602001516fffffffffffffffffffffffffffffffff16611f6d565b92915050565b60006108bf61082c565b565b611054610ef2565b156110bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a2070617573656400000000000000000000604482015260640161063f565b60325473ffffffffffffffffffffffffffffffffffffffff1661dead14611164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e00606482015260840161063f565b600061116f82611f19565b60008181526034602090815260408083208151606081018352815481526001909101546fffffffffffffffffffffffffffffffff8082169483018590527001000000000000000000000000000000009091041691810191909152929350900361125a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e207965740000000000000000000000000000606482015260840161063f565b603660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663887862726040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112eb9190614e8b565b81602001516fffffffffffffffffffffffffffffffff1610156113b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e204c32204f7261636c65207374617274696e60648201527f672074696d657374616d70000000000000000000000000000000000000000000608482015260a40161063f565b6113d581602001516fffffffffffffffffffffffffffffffff16611f6d565b611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c2066696e616c697a6174696f6e20706572696f6420686173206e6f7420656c60648201527f6170736564000000000000000000000000000000000000000000000000000000608482015260a40161063f565b60365460408281015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa15801561150e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115329190614d1f565b82518151919250146115ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4f7074696d69736d506f7274616c3a206f757470757420726f6f742070726f7660448201527f656e206973206e6f74207468652073616d652061732063757272656e74206f7560648201527f7470757420726f6f740000000000000000000000000000000000000000000000608482015260a40161063f565b61160b81602001516fffffffffffffffffffffffffffffffff16611f6d565b6116bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f66696e616c697a6174696f6e20706572696f6420686173206e6f7420656c617060648201527f7365640000000000000000000000000000000000000000000000000000000000608482015260a40161063f565b60008381526033602052604090205460ff161561175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a65640000000000000000000000606482015260840161063f565b600083815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908601516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558501516080860151606087015160a08801516117fe93929190612013565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915084907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b9061186390841515815260200190565b60405180910390a2801580156118795750326001145b15611906576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a207769746864726177616c206661696c6560448201527f6400000000000000000000000000000000000000000000000000000000000000606482015260840161063f565b5050505050565b600061191a826010614ed3565b61103a90615208614f03565b600054610100900460ff16158080156119465750600054600160ff909116105b806119605750303b158015611960575060005460ff166001145b6119ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161063f565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015611a4a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603680547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560378054909116858316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101008584160217905560325416611b0357603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b611b0b612071565b8015611b6e57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b600154600090611bc6907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1643614f2f565b90506000611bd2612184565b90506000816020015160ff16826000015163ffffffff16611bf39190614f75565b90508215611d2a57600154600090611c2a908390700100000000000000000000000000000000900467ffffffffffffffff16614fdd565b90506000836040015160ff1683611c419190615051565b600154611c619084906fffffffffffffffffffffffffffffffff16615051565b611c6b9190614f75565b600154909150600090611cbc90611c959084906fffffffffffffffffffffffffffffffff1661510d565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff16612245565b90506001861115611ceb57611ce8611c9582876040015160ff1660018a611ce39190614f2f565b612264565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b60018054869190601090611d5d908490700100000000000000000000000000000000900467ffffffffffffffff16614f03565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff161315611e40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5265736f757263654d65746572696e673a2063616e6e6f7420627579206d6f7260448201527f6520676173207468616e20617661696c61626c6520676173206c696d69740000606482015260840161063f565b600154600090611e6c906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816615181565b90506000611e7e48633b9aca006122b9565b611e8890836151be565b905060005a611e979088614f2f565b905080821115611eb357611eb3611eae8284614f2f565b6122d0565b5050505050505050565b60008160000151826020015183604001518460600151604051602001611efc949392919093845260208401929092526040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b80516020808301516040808501516060860151608087015160a08801519351600097611efc9790969591016151d2565b600080611f55866122fe565b9050611f6381868686612330565b9695505050505050565b603654604080517ff4daa291000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163f4daa2919160048083019260209291908290030181865afa158015611fdd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120019190614e8b565b61200b9083615229565b421192915050565b6000806000612023866000612360565b905080612059576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600054610100900460ff16612108576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161063f565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff1660000361104a5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015612221573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190615266565b600061225a612254858561237e565b8361238e565b90505b9392505050565b6000670de0b6b3a76400006122a561227c8583614f75565b61228e90670de0b6b3a7640000614fdd565b6122a085670de0b6b3a7640000615051565b61239d565b6122af9086615051565b61225a9190614f75565b6000818310156122c9578161225d565b5090919050565b6000805a90505b825a6122e39083614f2f565b10156122f9576122f282615305565b91506122d7565b505050565b6060818051906020012060405160200161231a91815260200190565b6040516020818303038152906040529050919050565b6000612357846123418786866123ce565b8051602091820120825192909101919091201490565b95945050505050565b600080603f83619c4001026040850201603f5a021015949350505050565b6000818312156122c9578161225d565b60008183126122c9578161225d565b600061225d670de0b6b3a7640000836123b586612e4c565b6123bf9190615051565b6123c99190614f75565b613090565b6060600084511161243b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b65790000000000000000000000604482015260640161063f565b6000612446846132cf565b90506000612453866133bb565b905060008460405160200161246a91815260200190565b60405160208183030381529060405290506000805b8451811015612dc357600085828151811061249c5761249c61533d565b602002602001015190508451831115612537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e677468000000000000000000000000000000000000606482015260840161063f565b826000036125f057805180516020918201206040516125859261255f92910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b6125eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f742068617368000000604482015260640161063f565b612747565b8051516020116126a6578051805160209182012060405161261a9261255f92910190815260200190565b6125eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c206861736800000000000000000000000000000000000000000000000000606482015260840161063f565b805184516020808701919091208251919092012014612747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f6520686173680000000000000000000000000000000000000000000000000000606482015260840161063f565b61275360106001615229565b8160200151510361292f57845183036128c75761278d81602001516010815181106127805761278061533d565b602002602001015161341e565b96506000875111612820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e6368290000000000606482015260840161063f565b6001865161282e9190614f2f565b82146128bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e636829000000000000606482015260840161063f565b50505050505061225d565b60008584815181106128db576128db61533d565b602001015160f81c60f81b60f81c9050600082602001518260ff16815181106129065761290661533d565b602002602001015190506129198161357e565b9550612926600186615229565b94505050612db0565b600281602001515103612d28576000612947826135a3565b905060008160008151811061295e5761295e61533d565b016020015160f81c9050600061297560028361536c565b61298090600261538e565b90506000612991848360ff166135c7565b9050600061299f8a896135c7565b905060006129ad83836135fd565b905080835114612a3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b6579000000000000606482015260840161063f565b60ff851660021480612a54575060ff85166003145b15612c435780825114612ae9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e646572000000606482015260840161063f565b612b0387602001516001815181106127805761278061533d565b9c5060008d5111612b96576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c6561662900000000000000606482015260840161063f565b60018c51612ba49190614f2f565b8814612c32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c656166290000000000000000606482015260840161063f565b50505050505050505050505061225d565b60ff85161580612c56575060ff85166001145b15612c9557612c828760200151600181518110612c7557612c7561533d565b602002602001015161357e565b9950612c8e818a615229565b9850612d1d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e207072656669780000000000000000000000000000606482015260840161063f565b505050505050612db0565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f6465000000000000000000000000000000000000000000000000606482015260840161063f565b5080612dbb81615305565b91505061247f565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e7473000000000000000000000000000000000000000000000000000000606482015260840161063f565b6000808213612eb7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e45440000000000000000000000000000000000000000000000604482015260640161063f565b60006060612ec4846136b1565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c182136130c157506000919050565b680755bf798b4a1bf1e58212613133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f570000000000000000000000000000000000000000604482015260640161063f565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff8111156132ed576132ed6147d4565b60405190808252806020026020018201604052801561333257816020015b604080518082019091526060808252602082015281526020019060019003908161330b5790505b50915060005b818110156133b457604051806040016040528085838151811061335d5761335d61533d565b6020026020010151815260200161338c86848151811061337f5761337f61533d565b6020026020010151613787565b8152508382815181106133a1576133a161533d565b6020908102919091010152600101613338565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613413578060011b82018184015160001a8060041c8253600f8116600183015350506001016133e5565b509295945050505050565b6060600080600061342e8561379a565b919450925090506000816001811115613449576134496153b1565b146134d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d00000000000000606482015260840161063f565b6134e08284615229565b85511461356f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e646572000000000000000000000000606482015260840161063f565b61235785602001518484614207565b6060602082600001511061359a576135958261341e565b61103a565b61103a8261429b565b606061103a6135c283602001516000815181106127805761278061533d565b6133bb565b6060825182106135e6575060408051602081019091526000815261103a565b61225d83838486516135f89190614f2f565b6142b1565b6000808251845110613610578251613613565b83515b90505b808210801561369a57508282815181106136325761363261533d565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168483815181106136715761367161533d565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156136aa57816001019150613616565b5092915050565b600080821161371c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e45440000000000000000000000000000000000000000000000604482015260640161063f565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b606061103a61379583614489565b614572565b600080600080846000015111613858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a40161063f565b6020840151805160001a607f811161387d576000600160009450945094505050614200565b60b78111613a8b576000613892608083614f2f565b90508087600001511161394d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a40161063f565b6001838101517fff000000000000000000000000000000000000000000000000000000000000001690821415806139c657507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b613a78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a40161063f565b5060019550935060009250614200915050565b60bf8111613dd9576000613aa060b783614f2f565b905080876000015111613b5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a40161063f565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003613c39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a40161063f565b600184015160088302610100031c60378111613cfd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a40161063f565b613d078184615229565b895111613dbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a40161063f565b613dc7836001615229565b97509550600094506142009350505050565b60f78111613eba576000613dee60c083614f2f565b905080876000015111613ea9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a40161063f565b600195509350849250614200915050565b6000613ec760f783614f2f565b905080876000015111613f82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a40161063f565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a40161063f565b600184015160088302610100031c60378111614124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a40161063f565b61412e8184615229565b8951116141e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a40161063f565b6141ee836001615229565b97509550600194506142009350505050565b9193909250565b60608167ffffffffffffffff811115614222576142226147d4565b6040519080825280601f01601f19166020018201604052801561424c576020820181803683370190505b509050811561225d5760006142618486615229565b90506020820160005b8481101561428257828101518282015260200161426a565b84811115614291576000858301525b5050509392505050565b606061103a826020015160008460000151614207565b60608182601f011015614320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f77000000000000000000000000000000000000604482015260640161063f565b82828401101561438c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f77000000000000000000000000000000000000604482015260640161063f565b818301845110156143f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e6473000000000000000000000000000000604482015260640161063f565b6060821580156144185760405191506000825260208201604052614480565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015614451578051835260209283019201614439565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b60408051808201909152600080825260208201526000825111614554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a40161063f565b50604080518082019091528151815260209182019181019190915290565b606060008060006145828561379a565b91945092509050600181600181111561459d5761459d6153b1565b1461462a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d0000000000000000606482015260840161063f565b84516146368385615229565b146146c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e6465720000000000000000000000000000606482015260840161063f565b604080516020808252610420820190925290816020015b60408051808201909152600080825260208201528152602001906001900390816146da5790505093506000835b86518110156147c85760008061474d6040518060400160405280858c600001516147319190614f2f565b8152602001858c602001516147469190615229565b905261379a565b5091509150604051806040016040528083836147699190615229565b8152602001848b6020015161477e9190615229565b8152508885815181106147935761479361533d565b60209081029190910101526147a9600185615229565b93506147b58183615229565b6147bf9084615229565b92505050614707565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561484a5761484a6147d4565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461487457600080fd5b50565b600082601f83011261488857600080fd5b813567ffffffffffffffff8111156148a2576148a26147d4565b6148d360207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601614803565b8181528460208386010111156148e857600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561491757600080fd5b60405160c0810167ffffffffffffffff828210818311171561493b5761493b6147d4565b81604052829350843583526020850135915061495682614852565b8160208401526040850135915061496c82614852565b816040840152606085013560608401526080850135608084015260a085013591508082111561499a57600080fd5b506149a785828601614877565b60a0830152505092915050565b600080600080600085870360e08112156149cd57600080fd5b863567ffffffffffffffff808211156149e557600080fd5b6149f18a838b01614905565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc084011215614a2a57600080fd5b60408901955060c0890135925080831115614a4457600080fd5b828901925089601f840112614a5857600080fd5b8235915080821115614a6957600080fd5b508860208260051b8401011115614a7f57600080fd5b959894975092955050506020019190565b60005b83811015614aab578181015183820152602001614a93565b83811115611b6e5750506000910152565b60008151808452614ad4816020860160208601614a90565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061225d6020830184614abc565b600060208284031215614b2b57600080fd5b5035919050565b600060208284031215614b4457600080fd5b813567ffffffffffffffff811115614b5b57600080fd5b614b6784828501614905565b949350505050565b803567ffffffffffffffff81168114614b8757600080fd5b919050565b600060208284031215614b9e57600080fd5b61225d82614b6f565b600080600060608486031215614bbc57600080fd5b8335614bc781614852565b92506020840135614bd781614852565b91506040840135614be781614852565b809150509250925092565b801515811461487457600080fd5b600080600080600060a08688031215614c1857600080fd5b8535614c2381614852565b945060208601359350614c3860408701614b6f565b92506060860135614c4881614bf2565b9150608086013567ffffffffffffffff811115614c6457600080fd5b614c7088828901614877565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b604882015260008251614cd1816049850160208701614a90565b919091016049019695505050505050565b600060208284031215614cf457600080fd5b815161225d81614852565b80516fffffffffffffffffffffffffffffffff81168114614b8757600080fd5b600060608284031215614d3157600080fd5b6040516060810181811067ffffffffffffffff82111715614d5457614d546147d4565b60405282518152614d6760208401614cff565b6020820152614d7860408401614cff565b60408201529392505050565b600060808284031215614d9657600080fd5b6040516080810181811067ffffffffffffffff82111715614db957614db96147d4565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b600067ffffffffffffffff80841115614e0557614e056147d4565b8360051b6020614e16818301614803565b868152918501918181019036841115614e2e57600080fd5b865b84811015614e6257803586811115614e485760008081fd5b614e5436828b01614877565b845250918301918301614e30565b50979650505050505050565b600060208284031215614e8057600080fd5b815161225d81614bf2565b600060208284031215614e9d57600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615614efa57614efa614ea4565b02949350505050565b600067ffffffffffffffff808316818516808303821115614f2657614f26614ea4565b01949350505050565b600082821015614f4157614f41614ea4565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082614f8457614f84614f46565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615614fd857614fd8614ea4565b500590565b6000808312837f80000000000000000000000000000000000000000000000000000000000000000183128115161561501757615017614ea4565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01831381161561504b5761504b614ea4565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60008413600084138583048511828216161561509257615092614ea4565b7f800000000000000000000000000000000000000000000000000000000000000060008712868205881281841616156150cd576150cd614ea4565b600087129250878205871284841616156150e9576150e9614ea4565b878505871281841616156150ff576150ff614ea4565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0384138115161561514757615147614ea4565b827f800000000000000000000000000000000000000000000000000000000000000003841281161561517b5761517b614ea4565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151b9576151b9614ea4565b500290565b6000826151cd576151cd614f46565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a083015261521d60c0830184614abc565b98975050505050505050565b6000821982111561523c5761523c614ea4565b500190565b805163ffffffff81168114614b8757600080fd5b805160ff81168114614b8757600080fd5b600060c0828403121561527857600080fd5b60405160c0810181811067ffffffffffffffff8211171561529b5761529b6147d4565b6040526152a783615241565b81526152b560208401615255565b60208201526152c660408401615255565b60408201526152d760608401615241565b60608201526152e860808401615241565b60808201526152f960a08401614cff565b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361533657615336614ea4565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff83168061537f5761537f614f46565b8060ff84160691505092915050565b600060ff821660ff8416808210156153a8576153a8614ea4565b90039392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea164736f6c634300080f000a",sourceMap:"1199:20463:130:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8178:86;8197:10;8209:9;1930:7;8247:5;8254:9;;;;;;;;;;;;8178:18;:86::i;:::-;1199:20463;;;;;5760:92;;;;;;;;;;-1:-1:-1;5837:8:130;;;;5760:92;;;214:42:350;202:55;;;184:74;;172:2;157:18;5760:92:130;;;;;;;;2942:32;;;;;;;;;;-1:-1:-1;2942:32:130;;;;;;;;2698:40;;;;;;;;;;-1:-1:-1;2698:40:130;;;;;;;;;;;6820:101;;;;;;;;;;;;;:::i;9351:3746::-;;;;;;;;;;-1:-1:-1;9351:3746:130;;;;;:::i;:::-;;:::i;4508:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;7044:105::-;;;;;;;;;;;;;:::i;:::-;;;5483:14:350;;5476:22;5458:41;;5446:2;5431:18;7044:105:130;5318:187:350;21047:180:130;;;;;;;;;;-1:-1:-1;21047:180:130;;;;;:::i;:::-;;:::i;6481:86::-;;;;;;;;;;;;;:::i;13210:4839::-;;;;;;;;;;-1:-1:-1;13210:4839:130;;;;;:::i;:::-;;:::i;2826:30::-;;;;;;;;;;-1:-1:-1;2826:30:130;;;;;;;;2193:23;;;;;;;;;;-1:-1:-1;2193:23:130;;;;;;;;2307:52;;;;;;;;;;-1:-1:-1;2307:52:130;;;;;:::i;:::-;;;;;;;;;;;;;;;;7642:120;;;;;;;;;;-1:-1:-1;7642:120:130;;;;;:::i;:::-;;:::i;:::-;;;6799:18:350;6787:31;;;6769:50;;6757:2;6742:18;7642:120:130;6625:200:350;5047:435:130;;;;;;;;;;-1:-1:-1;5047:435:130;;;;;:::i;:::-;;:::i;2999:28:133:-;;;;;;;;;;-1:-1:-1;2999:28:133;;;;;;;;;;;;;;;;;;;;;;;;;7664:34:350;7652:47;;;7634:66;;7719:18;7773:15;;;7768:2;7753:18;;7746:43;7825:15;;7805:18;;;7798:43;7622:2;7607:18;2999:28:133;7436:411:350;2441:61:130;;;;;;;;;;-1:-1:-1;2441:61:130;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8054:25:350;;;8098:34;8168:15;;;8163:2;8148:18;;8141:43;8220:15;;8200:18;;;8193:43;8042:2;8027:18;2441:61:130;7852:390:350;18779:1971:130;;;;;;:::i;:::-;;:::i;6130:98::-;;;;;;;;;;-1:-1:-1;6209:12:130;;;;6130:98;;18779:1971;18985:9;3417:18:133;3438:9;3417:30;;19139:11:130::1;19135:136;;;19174:17;::::0;::::1;::::0;19166:94:::1;;;::::0;;::::1;::::0;;9309:2:350;19166:94:130::1;::::0;::::1;9291:21:350::0;9328:18;;;9321:30;;;;9387:34;9367:18;;;9360:62;9458:34;9438:18;;;9431:62;9510:19;;19166:94:130::1;;;;;;;;;19439:37;19462:5;:12;19439:15;:37::i;:::-;19426:50;;:9;:50;;;;19418:98;;;::::0;::::1;::::0;;9742:2:350;19418:98:130::1;::::0;::::1;9724:21:350::0;9781:2;9761:18;;;9754:30;9820:34;9800:18;;;9793:62;9891:5;9871:18;;;9864:33;9914:19;;19418:98:130::1;9540:399:350::0;19418:98:130::1;19911:7;19895:5;:12;:23;;19887:66;;;::::0;::::1;::::0;;10146:2:350;19887:66:130::1;::::0;::::1;10128:21:350::0;10185:2;10165:18;;;10158:30;10224:32;10204:18;;;10197:60;10274:18;;19887:66:130::1;9944:354:350::0;19887:66:130::1;20059:10;20097:9;20083:23:::0;::::1;20079:108;;-1:-1:-1::0;20165:10:130::1;741:42:232::0;1213:27;20079:108:130::1;20444:23;20487:9;20498:6;20506:9;20517:11;20530:5;20470:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20444:92;;1780:1;20710:3;20683:60;;20704:4;20683:60;;;20732:10;20683:60;;;;;;:::i;:::-;;;;;;;;19000:1750;;3548:29:133::0;3557:7;3566:10;3548:8;:29::i;:::-;3339:245;18779:1971:130;;;;;;:::o;6820:101::-;6861:7;6887:16;;;;;;;;;;;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6880:34;;6820:101;:::o;9351:3746::-;4377:8;:6;:8::i;:::-;:17;4369:52;;;;;;;11631:2:350;4369:52:130;;;11613:21:350;11670:2;11650:18;;;11643:30;11709:24;11689:18;;;11682:52;11751:18;;4369:52:130;11429:346:350;4369:52:130;9883:4:::1;9861:27;;:3;:10;;;:27;;::::0;9853:103:::1;;;::::0;::::1;::::0;;11982:2:350;9853:103:130::1;::::0;::::1;11964:21:350::0;12021:2;12001:18;;;11994:30;12060:34;12040:18;;;12033:62;12131:33;12111:18;;;12104:61;12182:19;;9853:103:130::1;11780:427:350::0;9853:103:130::1;10154:8;::::0;:36:::1;::::0;;;;::::1;::::0;::::1;12358:25:350::0;;;10133:18:130::1;::::0;10154:8:::1;;::::0;:20:::1;::::0;12331:18:350;;10154:36:130::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:47:::0;;-1:-1:-1;10335:45:130::1;;;::::0;;::::1;::::0;::::1;10363:16:::0;10335:45:::1;:::i;:::-;:27;:45::i;:::-;10321:10;:59;10300:135;;;::::0;::::1;::::0;;14068:2:350;10300:135:130::1;::::0;::::1;14050:21:350::0;14107:2;14087:18;;;14080:30;14146:34;14126:18;;;14119:62;14217:11;14197:18;;;14190:39;14246:19;;10300:135:130::1;13866:405:350::0;10300:135:130::1;10546:22;10571:27;10594:3;10571:22;:27::i;:::-;10608:40;10651:33:::0;;;:17:::1;:33;::::0;;;;;;;;10608:76;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;::::1;;::::0;;;;;;;10546:52;;-1:-1:-1;10608:76:130;11238:31;;:145:::1;;-1:-1:-1::0;11356:27:130;;11289:8:::1;::::0;11310:30:::1;::::0;;::::1;::::0;11289:52;;;;;14452:34:350;14440:47;;;11289:52:130::1;::::0;::::1;14422:66:350::0;11289:8:130::1;::::0;;::::1;::::0;:20:::1;::::0;14395:18:350;;11289:52:130::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:63:::0;:94:::1;;11238:145;11217:247;;;::::0;::::1;::::0;;14701:2:350;11217:247:130::1;::::0;::::1;14683:21:350::0;14740:2;14720:18;;;14713:30;14779:34;14759:18;;;14752:62;14850:25;14830:18;;;14823:53;14893:19;;11217:247:130::1;14499:419:350::0;11217:247:130::1;11744:147;::::0;;::::1;::::0;::::1;15097:25:350::0;;;11700:18:130::1;15138::350::0;;;15131:34;;;15070:18;;11744:147:130::1;::::0;;;;;::::1;::::0;;;;;;11721:180;;11744:147:::1;11721:180:::0;;::::1;::::0;12309:22;;::::1;12358:25:350::0;;;11721:180:130;-1:-1:-1;12254:161:130::1;::::0;12331:18:350;12309:22:130::1;::::0;;;;;::::1;::::0;;;12254:161;;::::1;::::0;;;::::1;::::0;;::::1;12309:22;12254:161:::0;::::1;::::0;12309:22;12254:161:::1;12342:16:::0;;12254:161:::1;:::i;:::-;12360:16;:41;;;12254:37;:161::i;:::-;12233:258;;;::::0;::::1;::::0;;16499:2:350;12233:258:130::1;::::0;::::1;16481:21:350::0;16538:2;16518:18;;;16511:30;16577:34;16557:18;;;16550:62;16648:20;16628:18;;;16621:48;16686:19;;12233:258:130::1;16297:414:350::0;12233:258:130::1;12809:165;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;12895:15;12809:165:::0;::::1;;::::0;;::::1;::::0;;;;;::::1;::::0;;;;;;-1:-1:-1;12773:33:130;;;:17:::1;:33:::0;;;;;:201;;;;;;;;;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;;::::0;;::::1;::::0;;;;13079:10;;::::1;::::0;13067;;::::1;::::0;13034:56;;::::1;::::0;;::::1;::::0;;;::::1;::::0;12791:14;;13034:56:::1;::::0;-1:-1:-1;13034:56:130::1;9616:3481;;;;9351:3746:::0;;;;;:::o;7044:105::-;7083:12;7117:16;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;21047:180::-;21173:8;;:36;;;;;;;;12358:25:350;;;21121:4:130;;21144:76;;21173:8;;;;;:20;;12331:18:350;;21173:36:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;;;21144:76;;:28;:76::i;:::-;21137:83;21047:180;-1:-1:-1;;21047:180:130:o;6481:86::-;6524:7;6550:10;:8;:10::i;8485:77::-;:::o;13210:4839::-;4377:8;:6;:8::i;:::-;:17;4369:52;;;;;;;11631:2:350;4369:52:130;;;11613:21:350;11670:2;11650:18;;;11643:30;11709:24;11689:18;;;11682:52;11751:18;;4369:52:130;11429:346:350;4369:52:130;13578:8:::1;::::0;:39:::1;:8;1338:42:188;13578:39:130;13557:137;;;::::0;::::1;::::0;;17168:2:350;13557:137:130::1;::::0;::::1;17150:21:350::0;17207:2;17187:18;;;17180:30;17246:34;17226:18;;;17219:62;17317:33;17297:18;;;17290:61;17368:19;;13557:137:130::1;16966:427:350::0;13557:137:130::1;13777:22;13802:27;13825:3;13802:22;:27::i;:::-;13839:40;13882:33:::0;;;:17:::1;:33;::::0;;;;;;;13839:76;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;::::1;;::::0;;;;;;;13777:52;;-1:-1:-1;14165:31:130;;14157:94:::1;;;::::0;::::1;::::0;;17600:2:350;14157:94:130::1;::::0;::::1;17582:21:350::0;17639:2;17619:18;;;17612:30;17678:34;17658:18;;;17651:62;17749:20;17729:18;;;17722:48;17787:19;;14157:94:130::1;17398:414:350::0;14157:94:130::1;14568:8;;;;;;;;;;;:26;;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;14538:16;:26;;;:58;;;;14517:180;;;::::0;::::1;::::0;;18208:2:350;14517:180:130::1;::::0;::::1;18190:21:350::0;18247:2;18227:18;;;18220:30;18286:34;18266:18;;;18259:62;18357:34;18337:18;;;18330:62;18429:13;18408:19;;;18401:42;18460:19;;14517:180:130::1;18006:479:350::0;14517:180:130::1;15087:56;15116:16;:26;;;15087:56;;:28;:56::i;:::-;15066:172;;;::::0;::::1;::::0;;18692:2:350;15066:172:130::1;::::0;::::1;18674:21:350::0;18731:2;18711:18;;;18704:30;18770:34;18750:18;;;18743:62;18841:34;18821:18;;;18814:62;18913:7;18892:19;;;18885:36;18938:19;;15066:172:130::1;18490:473:350::0;15066:172:130::1;15448:8;::::0;15469:30:::1;::::0;;::::1;::::0;15448:52;;;;;14452:34:350;14440:47;;;15448:52:130::1;::::0;::::1;14422:66:350::0;15409:36:130::1;::::0;15448:8:::1;;::::0;:20:::1;::::0;14395:18:350;;15448:52:130::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;15811:27:::0;;15788:19;;15409:91;;-1:-1:-1;15788:50:130::1;15767:170;;;::::0;::::1;::::0;;19170:2:350;15767:170:130::1;::::0;::::1;19152:21:350::0;19209:2;19189:18;;;19182:30;19248:34;19228:18;;;19221:62;19319:34;19299:18;;;19292:62;19391:11;19370:19;;;19363:40;19420:19;;15767:170:130::1;18968:477:350::0;15767:170:130::1;16036:48;16065:8;:18;;;16036:48;;:28;:48::i;:::-;16015:162;;;::::0;::::1;::::0;;19652:2:350;16015:162:130::1;::::0;::::1;19634:21:350::0;19691:2;19671:18;;;19664:30;19730:34;19710:18;;;19703:62;19801:34;19781:18;;;19774:62;19873:5;19852:19;;;19845:34;19896:19;;16015:162:130::1;19450:471:350::0;16015:162:130::1;16293:36;::::0;;;:20:::1;:36;::::0;;;;;::::1;;:45;16285:111;;;::::0;::::1;::::0;;20128:2:350;16285:111:130::1;::::0;::::1;20110:21:350::0;20167:2;20147:18;;;20140:30;20206:34;20186:18;;;20179:62;20277:23;20257:18;;;20250:51;20318:19;;16285:111:130::1;19926:417:350::0;16285:111:130::1;16476:36;::::0;;;:20:::1;:36;::::0;;;;;;;:43;;;::::1;16515:4;16476:43;::::0;;16624:10;;::::1;::::0;16613:8:::1;:21:::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;17293:10;::::1;::::0;17305:12:::1;::::0;::::1;::::0;17319:9:::1;::::0;::::1;::::0;17330:8:::1;::::0;::::1;::::0;17269:70:::1;::::0;17293:10;17305:12;17319:9;17269:23:::1;:70::i;:::-;17407:8;:38:::0;;;::::1;1338:42:188;17407:38:130;::::0;;17604:44:::1;::::0;17254:85;;-1:-1:-1;17624:14:130;;17604:44:::1;::::0;::::1;::::0;17254:85;5483:14:350;5476:22;5458:41;;5446:2;5431:18;;5318:187;17604:44:130::1;;;;;;;;17912:16:::0;::::1;::::0;::::1;:61;;-1:-1:-1::0;17932:9:130::1;1016:1:188;17932:41:130;17912:61;17908:135;;;17989:43;::::0;::::1;::::0;;20550:2:350;17989:43:130::1;::::0;::::1;20532:21:350::0;20589:2;20569:18;;;20562:30;20628:34;20608:18;;;20601:62;20699:3;20679:18;;;20672:31;20720:19;;17989:43:130::1;20348:397:350::0;17908:135:130::1;13312:4737;;;;13210:4839:::0;:::o;7642:120::-;7707:6;7732:15;:10;7745:2;7732:15;:::i;:::-;:23;;7750:5;7732:23;:::i;5047:435::-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;21657:2:350;3146:190:41;;;21639:21:350;21696:2;21676:18;;;21669:30;21735:34;21715:18;;;21708:62;21806:16;21786:18;;;21779:44;21840:19;;3146:190:41;21455:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;5236:8:130::1;:20:::0;;;;;::::1;;::::0;;::::1;::::0;;;::::1;::::0;;;5266:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;5304:16:::1;:36:::0;;;::::1;5236:20;5304:36:::0;;::::1;;;::::0;;5354:8:::1;::::0;::::1;5350:91;;5392:8;:38:::0;;;::::1;1338:42:188;5392:38:130;::::0;;5350:91:::1;5450:25;:23;:25::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;22022:36:350;;3531:14:41;;22010:2:350;21995:18;3531:14:41;;;;;;;3457:99;3090:472;5047:435:130;;;:::o;1175:320:57:-;1465:19;;;:23;;;1175:320::o;3817:4037:133:-;3984:6;:19;3949:17;;3969:34;;3984:19;;;;;3969:12;:34;:::i;:::-;3949:54;;4014:28;4045:17;:15;:17::i;:::-;4014:48;;4072:26;4171:6;:27;;;4163:36;;4128:6;:23;;;4120:32;;4113:87;;;;:::i;:::-;4072:128;-1:-1:-1;4215:13:133;;4211:2229;;4572:6;:20;4535:19;;4557:59;;4597:19;;4572:20;;;;;4557:59;:::i;:::-;4535:81;;4630:19;4761:6;:34;;;4753:43;;4724:19;:73;;;;:::i;:::-;4668:6;:18;4653:50;;4691:12;;4668:18;;4653:50;:::i;:::-;4652:146;;;;:::i;:::-;5017:6;:18;4630:168;;-1:-1:-1;4939:17:133;;4959:232;;5002:50;;4630:168;;5017:18;;5002:50;:::i;:::-;5091:6;:21;;;5083:30;;5153:6;:21;;;5145:30;;4959:16;:232::i;:::-;4939:252;;5468:1;5456:9;:13;5452:741;;;5741:437;5788:239;5845:10;5910:6;:34;;;5902:43;;6002:1;5990:9;:13;;;;:::i;:::-;5788:16;:239::i;5741:437::-;5728:450;;5452:741;6286:49;;6387:42;6349:24;6416:12;6387:42;;;6286:6;6387:42;-1:-1:-1;;4211:2229:133;6534:6;:31;;6558:7;;6534:6;:20;;:31;;6558:7;;6534:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6652:6;:23;;;6644:32;;6611:6;:20;;;;;;;;;;;;6603:29;;6596:81;;6575:190;;;;;;;24309:2:350;6575:190:133;;;24291:21:350;24348:2;24328:18;;;24321:30;24387:34;24367:18;;;24360:62;24458:32;24438:18;;;24431:60;24508:19;;6575:190:133;24107:426:350;6575:190:133;6877:6;:18;6827:20;;6850:46;;6877:18;;6850:16;;;:46;:::i;:::-;6827:69;;7378:15;7411:31;7420:13;7435:6;7411:8;:31::i;:::-;7396:46;;:12;:46;:::i;:::-;7378:64;;7722:15;7754:9;7740:23;;:11;:23;:::i;:::-;7722:41;;7787:7;7777;:17;7773:75;;;7810:27;7819:17;7829:7;7819;:17;:::i;:::-;7810:8;:27::i;:::-;3881:3973;;;;;;3817:4037;;:::o;4961:384:192:-;5060:7;5137:16;:24;;;5179:16;:26;;;5223:16;:41;;;5282:16;:32;;;5109:219;;;;;;;;;;25127:25:350;;;25183:2;25168:18;;25161:34;;;;25226:2;25211:18;;25204:34;25269:2;25254:18;;25247:34;25114:3;25099:19;;24896:391;5109:219:192;;;;;;;;;;;;;5086:252;;;;;;5079:259;;4961:384;;;:::o;4456:211::-;4590:9;;4601:10;;;;;4613;;;;;4625:9;;;;4636:12;;;;4650:8;;;;4579:80;;4543:7;;4579:80;;4590:9;;4601:10;4650:8;4579:80;;:::i;1041:343:201:-;1234:11;1261:16;1280:19;1294:4;1280:13;:19::i;:::-;1261:38;;1318:59;1350:3;1355:6;1363;1371:5;1318:31;:59::i;:::-;1309:68;1041:343;-1:-1:-1;;;;;;1041:343:201:o;21480:180:130:-;21615:8;;:38;;;;;;;;21561:4;;21615:8;;;:36;;:38;;;;;;;;;;;;;;:8;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;21602:51;;:10;:51;:::i;:::-;21584:15;:69;;21480:180;-1:-1:-1;;21480:180:130:o;4419:2320:195:-;4589:4;4609:13;4632:15;4650:21;4660:7;4669:1;4650:9;:21::i;:::-;4632:39;;4782:10;4772:1146;;4894:10;4891:1;4884:21;5009:2;5005;4998:14;5747:56;5743:2;5736:68;5900:3;5896:2;5889:15;4772:1146;6666:4;6630;6589:9;6583:16;6549:2;6538:9;6534:18;6491:6;6449:7;6415:5;6389:309;6361:337;4419:2320;-1:-1:-1;;;;;;;4419:2320:195:o;8309:234:133:-;4888:13:41;;;;;;;4880:69;;;;;;;26288:2:350;4880:69:41;;;26270:21:350;26327:2;26307:18;;;26300:30;26366:34;26346:18;;;26339:62;26437:13;26417:18;;;26410:41;26468:19;;4880:69:41;26086:407:350;4880:69:41;8384:6:133::1;:19:::0;;;::::1;;;;:24:::0;8380:157:::1;;8433:93;::::0;;::::1;::::0;::::1;::::0;;8463:6:::1;8433:93:::0;;;-1:-1:-1;8433:93:133::1;::::0;::::1;::::0;8510:12:::1;8433:93;;::::0;;;;;;;8424:102;::::1;;:6;:102:::0;8309:234::o;8811:152:130:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8927:12:130;;:29;;;;;;;-1:-1:-1;;8927:12:130;;;;;:27;;:29;;;;;-1:-1:-1;;8927:29:130;;;;;;:12;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;537:161:184:-;616:6;641:50;656:28;671:6;679:4;656:14;:28::i;:::-;686:4;641:14;:50::i;:::-;634:57;;537:161;;;;;;:::o;1040:228::-;1138:6;1257:4;1180:72;1213:19;1220:12;1257:4;1213:19;:::i;:::-;1205:28;;:4;:28;:::i;:::-;1235:16;:9;1247:4;1235:16;:::i;:::-;1180:24;:72::i;:::-;1164:89;;:12;:89;:::i;:::-;1163:98;;;;:::i;413:105:67:-;471:7;502:1;497;:6;;:14;;510:1;497:14;;;-1:-1:-1;506:1:67;;490:21;-1:-1:-1;413:105:67:o;407:192:185:-;461:9;484:18;505:9;484:30;;524:69;556:7;544:9;531:22;;:10;:22;:::i;:::-;:32;524:69;;;579:3;;;:::i;:::-;;;524:69;;;451:148;;407:192;:::o;2052:142:201:-;2116:18;2181:4;2171:15;;;;;;2154:33;;;;;;28057:19:350;;28101:2;28092:12;;27928:182;2154:33:201;;;;;;;;;;;;;2146:41;;2052:142;;;:::o;2253:281:200:-;2446:11;2482:45;2494:6;2502:24;2506:4;2512:6;2520:5;2502:3;:24::i;:::-;6693:17:186;;;;;;;6672;;;;;;;;;;:38;;6569:148;2482:45:200;2473:54;2253:281;-1:-1:-1;;;;;2253:281:200:o;3615:365:195:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:195:o;311:102:69:-;367:6;397:1;392;:6;;:14;;405:1;392:14;;491:101;547:6;576:1;572;:5;:13;;584:1;572:13;;1208:273:102;1267:6;1391:36;491:4;1410:1;1399:8;1405:1;1399:5;:8::i;:::-;:12;;;;:::i;:::-;1398:28;;;;:::i;:::-;1391:6;:36::i;2830:6314:200:-;2923:19;2976:1;2962:4;:11;:15;2954:49;;;;;;;28317:2:350;2954:49:200;;;28299:21:350;28356:2;28336:18;;;28329:30;28395:23;28375:18;;;28368:51;28436:18;;2954:49:200;28115:345:350;2954:49:200;3014:23;3040:19;3052:6;3040:11;:19::i;:::-;3014:45;;3069:16;3088:21;3104:4;3088:15;:21::i;:::-;3069:40;;3119:26;3165:5;3148:23;;;;;;28057:19:350;;28101:2;28092:12;;27928:182;3148:23:200;;;;;;;;;;;;;3119:52;;3181:23;3295:9;3290:5790;3314:5;:12;3310:1;:16;3290:5790;;;3347:27;3377:5;3383:1;3377:8;;;;;;;;:::i;:::-;;;;;;;3347:38;;3516:3;:10;3497:15;:29;;3489:88;;;;;;;28856:2:350;3489:88:200;;;28838:21:350;28895:2;28875:18;;;28868:30;28934:34;28914:18;;;28907:62;29005:16;28985:18;;;28978:44;29039:19;;3489:88:200;28654:410:350;3489:88:200;3596:15;3615:1;3596:20;3592:837;;3768:19;;3758:30;;;;;;;3741:48;;3729:76;;3741:48;;3758:30;3741:48;28057:19:350;;;28101:2;28092:12;;27928:182;3741:48:200;;;;;;;;;;;;;3791:13;6693:17:186;;;;;;;6672;;;;;;;;;;:38;;6569:148;3729:76:200;3700:176;;;;;;;29271:2:350;3700:176:200;;;29253:21:350;29310:2;29290:18;;;29283:30;29349:31;29329:18;;;29322:59;29398:18;;3700:176:200;29069:353:350;3700:176:200;3592:837;;;3901:19;;:26;3931:2;-1:-1:-1;3897:532:200;;4097:19;;4087:30;;;;;;;4070:48;;4058:76;;4070:48;;4087:30;4070:48;28057:19:350;;;28101:2;28092:12;;27928:182;4058:76:200;4029:186;;;;;;;29629:2:350;4029:186:200;;;29611:21:350;29668:2;29648:18;;;29641:30;29707:34;29687:18;;;29680:62;29778:9;29758:18;;;29751:37;29805:19;;4029:186:200;29427:403:350;3897:532:200;4336:19;;6693:17:186;;;;;;;;;;6672;;;;;;;:38;4316:98:200;;;;;;;30037:2:350;4316:98:200;;;30019:21:350;30076:2;30056:18;;;30049:30;30115:34;30095:18;;;30088:62;30186:8;30166:18;;;30159:36;30212:19;;4316:98:200;29835:402:350;4316:98:200;936:14;803:2;949:1;936:14;:::i;:::-;4447:11;:19;;;:26;:48;4443:4627;;4538:3;:10;4519:15;:29;4515:1346;;5047:52;5067:11;:19;;;803:2;5067:31;;;;;;;;:::i;:::-;;;;;;;5047:19;:52::i;:::-;5038:61;;5145:1;5129:6;:13;:17;5121:89;;;;;;;30444:2:350;5121:89:200;;;30426:21:350;30483:2;30463:18;;;30456:30;30522:34;30502:18;;;30495:62;30593:29;30573:18;;;30566:57;30640:19;;5121:89:200;30242:423:350;5121:89:200;5322:1;5307:5;:12;:16;;;;:::i;:::-;5302:1;:21;5294:92;;;;;;;30872:2:350;5294:92:200;;;30854:21:350;30911:2;30891:18;;;30884:30;30950:34;30930:18;;;30923:62;31021:28;31001:18;;;30994:56;31067:19;;5294:92:200;30670:422:350;5294:92:200;5409:13;;;;;;;;4515:1346;5609:15;5633:3;5637:15;5633:20;;;;;;;;:::i;:::-;;;;;;;;;5627:27;;5609:45;;5676:33;5712:11;:19;;;5732:9;5712:30;;;;;;;;;;:::i;:::-;;;;;;;5676:66;;5780:20;5791:8;5780:10;:20::i;:::-;5764:36;-1:-1:-1;5822:20:200;5841:1;5822:20;;:::i;:::-;;;5447:414;;4443:4627;;;1105:1;5885:11;:19;;;:26;:59;5881:3189;;5964:17;5984:25;5997:11;5984:12;:25::i;:::-;5964:45;;6027:12;6048:4;6053:1;6048:7;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;6074:12:200;6094:10;6103:1;6048:7;6094:10;:::i;:::-;6089:16;;:1;:16;:::i;:::-;6074:31;;6123:26;6152:25;6164:4;6170:6;6152:25;;:11;:25::i;:::-;6123:54;;6195:25;6223:33;6235:3;6240:15;6223:11;:33::i;:::-;6195:61;;6274:26;6303:51;6326:13;6341:12;6303:22;:51::i;:::-;6274:80;;6661:18;6637:13;:20;:42;6608:171;;;;;;;31661:2:350;6608:171:200;;;31643:21:350;31700:2;31680:18;;;31673:30;31739:34;31719:18;;;31712:62;31810:28;31790:18;;;31783:56;31856:19;;6608:171:200;31459:422:350;6608:171:200;6802:26;;;1447:1;6802:26;;:55;;-1:-1:-1;6832:25:200;;;1553:1;6832:25;6802:55;6798:2169;;;7498:18;7475:12;:19;:41;7442:185;;;;;;;32088:2:350;7442:185:200;;;32070:21:350;32127:2;32107:18;;;32100:30;32166:34;32146:18;;;32139:62;32237:31;32217:18;;;32210:59;32286:19;;7442:185:200;31886:425:350;7442:185:200;7985:43;8005:11;:19;;;8025:1;8005:22;;;;;;;;:::i;7985:43::-;7976:52;;8074:1;8058:6;:13;:17;8050:87;;;;;;;32518:2:350;8050:87:200;;;32500:21:350;32557:2;32537:18;;;32530:30;32596:34;32576:18;;;32569:62;32667:27;32647:18;;;32640:55;32712:19;;8050:87:200;32316:421:350;8050:87:200;8249:1;8234:5;:12;:16;;;;:::i;:::-;8229:1;:21;8221:90;;;;;;;32944:2:350;8221:90:200;;;32926:21:350;32983:2;32963:18;;;32956:30;33022:34;33002:18;;;32995:62;33093:26;33073:18;;;33066:54;33137:19;;8221:90:200;32742:420:350;8221:90:200;8334:13;;;;;;;;;;;;;;6798:2169;8376:31;;;;;:65;;-1:-1:-1;8411:30:200;;;1339:1;8411:30;8376:65;8372:595;;;8748:34;8759:11;:19;;;8779:1;8759:22;;;;;;;;:::i;:::-;;;;;;;8748:10;:34::i;:::-;8732:50;-1:-1:-1;8804:37:200;8823:18;8804:37;;:::i;:::-;;;8372:595;;;8888:60;;;;;33369:2:350;8888:60:200;;;33351:21:350;33408:2;33388:18;;;33381:30;33447:34;33427:18;;;33420:62;33518:20;33498:18;;;33491:48;33556:19;;8888:60:200;33167:414:350;8372:595:200;5946:3035;;;;;;5881:3189;;;9005:50;;;;;33788:2:350;9005:50:200;;;33770:21:350;33827:2;33807:18;;;33800:30;33866:34;33846:18;;;33839:62;33937:10;33917:18;;;33910:38;33965:19;;9005:50:200;33586:404:350;5881:3189:200;-1:-1:-1;3328:3:200;;;;:::i;:::-;;;;3290:5790;;;-1:-1:-1;9090:47:200;;;;;34197:2:350;9090:47:200;;;34179:21:350;34236:2;34216:18;;;34209:30;34275:34;34255:18;;;34248:62;34346:7;34326:18;;;34319:35;34371:19;;9090:47:200;33995:401:350;4596:2947:102;4644:8;4700:1;4696;:5;4688:27;;;;;;;34603:2:350;4688:27:102;;;34585:21:350;34642:1;34622:18;;;34615:29;34680:11;34660:18;;;34653:39;34709:18;;4688:27:102;34401:332:350;4688:27:102;5107:8;5145:2;5125:16;5138:1;5125:4;:16::i;:::-;5118:29;5175:3;:7;;;5161:22;;;;5208:17;;;6001:31;5997:35;;6052:5;;5459:2;6051:13;;;6068:32;6050:50;6120:5;;6119:13;;6136:33;6118:51;6189:5;;6188:13;;6205:33;6187:51;6258:5;;6257:13;;6274:33;6256:51;6327:5;;6326:13;;6343:32;6325:50;6395:5;;6394:13;;6411:30;6393:48;5398:31;5394:35;;5449:5;;5448:13;;5465:32;5447:50;5517:5;;5516:13;;5533:32;5515:50;5585:5;;5584:13;;5583:50;;5653:5;;5652:13;;5651:50;;5721:5;;5720:13;;;5719:50;;5787:5;;;:46;;6735:10;7125:43;7120:48;7232:71;:75;;;;7227:80;;;;7380:72;7375:77;7523:3;7517:9;;;-1:-1:-1;;4596:2947:102:o;1487:3103::-;1536:8;1718:21;1713:1;:26;1709:40;;-1:-1:-1;1748:1:102;;1487:3103;-1:-1:-1;1487:3103:102:o;1709:40::-;1948:21;1943:1;:26;1939:54;;1971:22;;;;;34940:2:350;1971:22:102;;;34922:21:350;34979:2;34959:18;;;34952:30;35018:14;34998:18;;;34991:42;35050:18;;1971:22:102;34738:336:350;1939:54:102;2266:5;2260:2;2255:7;;;2254:17;;-1:-1:-1;2535:8:102;2601:2;2559:29;2548:7;;;2547:41;2591:5;2547:49;2546:57;;2629:29;2625:33;;2621:37;;;3300:35;;;3355:5;;2935:2;3354:13;;;3371:32;3353:50;3423:5;;3422:13;;3421:51;;3492:5;;3491:13;;3508:34;3490:52;3562:5;;3561:13;;3560:53;;3633:5;;3632:13;;3649:35;3631:53;2941:32;2874:31;2870:35;;2925:5;;2924:13;;2923:50;;;2998:5;;;:40;;3058:5;3057:13;;;3074:35;3056:53;3127:5;;;3136:40;3127:50;4002:10;4502:49;4489:62;4564:3;:7;;;;4488:84;;;;;;-1:-1:-1;;1487:3103:102:o;9434:390:200:-;9553:13;;9500:24;;9553:13;9585:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;9585:22:200;;;;;;;;;;;;;;;;9576:31;;9622:9;9617:201;9641:6;9637:1;:10;9617:201;;;9676:72;;;;;;;;9696:6;9703:1;9696:9;;;;;;;;:::i;:::-;;;;;;;9676:72;;;;9716:29;9735:6;9742:1;9735:9;;;;;;;;:::i;:::-;;;;;;;9716:18;:29::i;:::-;9676:72;;;9664:6;9671:1;9664:9;;;;;;;;:::i;:::-;;;;;;;;;;:84;9790:3;;9617:201;;;;9526:298;9434:390;;;:::o;4332:1978:186:-;4395:12;4419:21;4550:4;4544:11;4532:23;;4663:6;4657:13;4836:11;4830:4;4826:22;5195:4;5180:13;5176:24;5169:4;5165:9;5161:40;5151:8;5147:55;5141:4;5134:69;5293:13;5283:8;5276:31;;5434:4;5426:6;5422:17;5571:4;5561:8;5557:19;5662:4;5647:622;5675:11;5672:1;5669:18;5647:622;;;5854:1;5848:4;5844:12;5830;5826:31;5996:1;5984:10;5980:18;5974:25;5968:4;5963:37;6119:1;6113:4;6109:12;6101:6;6093:29;6249:4;6246:1;6242:12;6235:4;6227:6;6223:17;6215:40;-1:-1:-1;;5702:4:186;5695:12;5647:622;;;-1:-1:-1;6295:8:186;;4332:1978;-1:-1:-1;;;;;4332:1978:186:o;3993:464:198:-;4055:17;4085:18;4105;4125:20;4149:18;4163:3;4149:13;:18::i;:::-;4084:83;;-1:-1:-1;4084:83:198;-1:-1:-1;4084:83:198;-1:-1:-1;4198:21:198;4186:8;:33;;;;;;;;:::i;:::-;;4178:103;;;;;;;35470:2:350;4178:103:198;;;35452:21:350;35509:2;35489:18;;;35482:30;35548:34;35528:18;;;35521:62;35619:27;35599:18;;;35592:55;35664:19;;4178:103:198;35268:421:350;4178:103:198;4314:23;4327:10;4314;:23;:::i;:::-;4300:10;;:37;4292:102;;;;;;;35896:2:350;4292:102:198;;;35878:21:350;35935:2;35915:18;;;35908:30;35974:34;35954:18;;;35947:62;36045:22;36025:18;;;36018:50;36085:19;;4292:102:198;35694:416:350;4292:102:198;4412:38;4418:3;:7;;;4427:10;4439;4412:5;:38::i;10121:193:200:-;10195:16;10244:2;10229:5;:12;;;:17;:78;;10281:26;10301:5;10281:19;:26::i;:::-;10229:78;;;10249:29;10272:5;10249:22;:29::i;10495:172::-;10562:21;10606:54;10622:37;10642:5;:13;;;10656:1;10642:16;;;;;;;;:::i;10622:37::-;10606:15;:54::i;3805:237:186:-;3880:12;3918:6;:13;3908:6;:23;3904:70;;-1:-1:-1;3954:9:186;;;;;;;;;-1:-1:-1;3954:9:186;;3947:16;;3904:70;3990:45;3996:6;4004;4028;4012;:13;:22;;;;:::i;:::-;3990:5;:45::i;10892:321:200:-;10980:15;11007:11;11034:2;:9;11022:2;:9;:21;11021:47;;11059:2;:9;11021:47;;;11047:2;:9;11021:47;11007:61;;11078:129;11095:3;11085:7;:13;:43;;;;;11117:2;11120:7;11117:11;;;;;;;;:::i;:::-;;;;;;;;;11102:26;;;:2;11105:7;11102:11;;;;;;;;:::i;:::-;;;;;;;:26;11085:43;11078:129;;;11173:9;;;;;11078:129;;;10997:216;10892:321;;;;:::o;15328:575:102:-;15376:9;15409:1;15405;:5;15397:27;;;;;;;34603:2:350;15397:27:102;;;34585:21:350;34642:1;34622:18;;;34615:29;34680:11;34660:18;;;34653:39;34709:18;;15397:27:102;34401:332:350;15397:27:102;-1:-1:-1;15821:1:102;15473:34;-1:-1:-1;;15467:1:102;15463:49;15566:9;;;15546:18;15543:33;15540:1;15536:41;15530:48;15624:9;;;15612:10;15609:25;15606:1;15602:33;15596:40;15678:9;;;15670:6;15667:21;15664:1;15660:29;15654:36;15730:9;;;15724:4;15721:19;15718:1;15714:27;;;15708:34;;;15781:9;;;15776:3;15773:18;15770:1;15766:26;15760:33;15832:9;;;15824:18;;;15817:26;;15811:33;15876:9;;;-1:-1:-1;15862:25:102;;15328:575::o;3732:130:198:-;3791:21;3831:24;3840:14;3850:3;3840:9;:14::i;:::-;3831:8;:24::i;5246:4079::-;5335:15;5352;5369:17;5705:1;5692:3;:10;;;:14;5684:101;;;;;;;36317:2:350;5684:101:198;;;36299:21:350;36356:2;36336:18;;;36329:30;36395:34;36375:18;;;36368:62;36466:34;36446:18;;;36439:62;36538:12;36517:19;;;36510:41;36568:19;;5684:101:198;36115:478:350;5684:101:198;5816:7;;;;5898:10;;5796:17;5890:19;5943:4;5933:14;;5929:3390;;5999:1;6002;6005:21;5991:36;;;;;;;;;;5929:3390;6058:4;6048:6;:14;6044:3275;;6164:14;6181:13;6190:4;6181:6;:13;:::i;:::-;6164:30;;6247:6;6234:3;:10;;;:19;6209:140;;;;;;;36800:2:350;6209:140:198;;;36782:21:350;36839:2;36819:18;;;36812:30;36878:34;36858:18;;;36851:62;36949:34;36929:18;;;36922:62;37021:16;37000:19;;;36993:45;37055:19;;6209:140:198;36598:482:350;6209:140:198;6471:1;6462:11;;;6456:18;6476:14;6452:39;;6544:11;;;;:41;;-1:-1:-1;6559:26:198;;;;;;6544:41;6519:177;;;;;;;37287:2:350;6519:177:198;;;37269:21:350;37326:2;37306:18;;;37299:30;37365:34;37345:18;;;37338:62;37436:34;37416:18;;;37409:62;37508:15;37487:19;;;37480:44;37541:19;;6519:177:198;37085:481:350;6519:177:198;-1:-1:-1;6719:1:198;;-1:-1:-1;6722:6:198;-1:-1:-1;6730:21:198;;-1:-1:-1;6711:41:198;;-1:-1:-1;;6711:41:198;6044:3275;6783:4;6773:6;:14;6769:2550;;6831:19;6853:13;6862:4;6853:6;:13;:::i;:::-;6831:35;;6919:11;6906:3;:10;;;:24;6881:164;;;;;;;37773:2:350;6881:164:198;;;37755:21:350;37812:2;37792:18;;;37785:30;37851:34;37831:18;;;37824:62;37922:34;37902:18;;;37895:62;37994:19;37973;;;37966:48;38031:19;;6881:164:198;37571:485:350;6881:164:198;7167:1;7158:11;;7152:18;7172:14;7148:39;7060:25;7240:26;;;7215:143;;;;;;;38263:2:350;7215:143:198;;;38245:21:350;38302:2;38282:18;;;38275:30;38341:34;38321:18;;;38314:62;38412:34;38392:18;;;38385:62;38484:12;38463:19;;;38456:41;38514:19;;7215:143:198;38061:478:350;7215:143:198;7488:1;7479:11;;7473:18;7455:1;7451:19;;7446:3;7442:29;7438:54;7537:2;7528:11;;7520:96;;;;;;;38746:2:350;7520:96:198;;;38728:21:350;38785:2;38765:18;;;38758:30;38824:34;38804:18;;;38797:62;38895:34;38875:18;;;38868:62;38967:10;38946:19;;;38939:39;38995:19;;7520:96:198;38544:476:350;7520:96:198;7669:20;7683:6;7669:11;:20;:::i;:::-;7656:10;;:33;7631:168;;;;;;;39227:2:350;7631:168:198;;;39209:21:350;39266:2;39246:18;;;39239:30;39305:34;39285:18;;;39278:62;39376:34;39356:18;;;39349:62;39448:14;39427:19;;;39420:43;39480:19;;7631:168:198;39025:480:350;7631:168:198;7822:15;7826:11;7822:1;:15;:::i;:::-;7814:55;-1:-1:-1;7839:6:198;-1:-1:-1;7847:21:198;;-1:-1:-1;7814:55:198;;-1:-1:-1;;;;7814:55:198;6769:2550;7900:4;7890:6;:14;7886:1433;;8003:15;8021:13;8030:4;8021:6;:13;:::i;:::-;8003:31;;8070:7;8057:3;:10;;;:20;8049:107;;;;;;;39712:2:350;8049:107:198;;;39694:21:350;39751:2;39731:18;;;39724:30;39790:34;39770:18;;;39763:62;39861:34;39841:18;;;39834:62;39933:12;39912:19;;;39905:41;39963:19;;8049:107:198;39510:478:350;8049:107:198;8179:1;;-1:-1:-1;8182:7:198;-1:-1:-1;8179:1:198;;-1:-1:-1;8171:42:198;;-1:-1:-1;;8171:42:198;7886:1433;8270:20;8293:13;8302:4;8293:6;:13;:::i;:::-;8270:36;;8359:12;8346:3;:10;;;:25;8321:161;;;;;;;40195:2:350;8321:161:198;;;40177:21:350;40234:2;40214:18;;;40207:30;40273:34;40253:18;;;40246:62;40344:34;40324:18;;;40317:62;40416:15;40395:19;;;40388:44;40449:19;;8321:161:198;39993:481:350;8321:161:198;8604:1;8595:11;;8589:18;8609:14;8585:39;8497:25;8677:26;;;8652:141;;;;;;;40681:2:350;8652:141:198;;;40663:21:350;40720:2;40700:18;;;40693:30;40759:34;40739:18;;;40732:62;40830:34;40810:18;;;40803:62;40902:10;40881:19;;;40874:39;40930:19;;8652:141:198;40479:476:350;8652:141:198;8926:1;8917:11;;8911:18;8892:1;8888:20;;8883:3;8879:30;8875:55;8976:2;8966:12;;8958:95;;;;;;;41162:2:350;8958:95:198;;;41144:21:350;41201:2;41181:18;;;41174:30;41240:34;41220:18;;;41213:62;41311:34;41291:18;;;41284:62;41383:8;41362:19;;;41355:37;41409:19;;8958:95:198;40960:474:350;8958:95:198;9106:22;9121:7;9106:12;:22;:::i;:::-;9093:10;;:35;9068:168;;;;;;;41641:2:350;9068:168:198;;;41623:21:350;41680:2;41660:18;;;41653:30;41719:34;41699:18;;;41692:62;41790:34;41770:18;;;41763:62;41862:12;41841:19;;;41834:41;41892:19;;9068:168:198;41439:478:350;9068:168:198;9259:16;9263:12;9259:1;:16;:::i;:::-;9251:57;-1:-1:-1;9277:7:198;-1:-1:-1;9286:21:198;;-1:-1:-1;9251:57:198;;-1:-1:-1;;;;9251:57:198;5246:4079;;;;;;:::o;9585:737::-;9676:17;9722:7;9712:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9712:18:198;-1:-1:-1;9705:25:198;-1:-1:-1;9740:54:198;;9772:11;9740:54;10010:11;10024:36;10053:7;10045:4;10024:36;:::i;:::-;10010:50;;10115:2;10109:4;10105:13;10140:1;10154:87;10168:7;10165:1;10162:14;10154:87;;;10226:11;;;10220:18;10206:12;;;10199:40;10191:2;10184:10;10154:87;;;10264:7;10261:1;10258:14;10255:51;;;10302:1;10292:7;10286:4;10282:18;10275:29;10255:51;;;10079:237;9585:737;;;;;:::o;4847:137::-;4912:17;4948:29;4954:3;:7;;;4963:1;4966:3;:10;;;4948:5;:29::i;660:2816:186:-;752:12;824:7;808;818:2;808:12;:23;;800:50;;;;;;;42124:2:350;800:50:186;;;42106:21:350;42163:2;42143:18;;;42136:30;42202:16;42182:18;;;42175:44;42236:18;;800:50:186;41922:338:350;800:50:186;892:6;881:7;872:6;:16;:26;;864:53;;;;;;;42124:2:350;864:53:186;;;42106:21:350;42163:2;42143:18;;;42136:30;42202:16;42182:18;;;42175:44;42236:18;;864:53:186;41922:338:350;864:53:186;965:7;956:6;:16;939:6;:13;:33;;931:63;;;;;;;42467:2:350;931:63:186;;;42449:21:350;42506:2;42486:18;;;42479:30;42545:19;42525:18;;;42518:47;42582:18;;931:63:186;42265:341:350;931:63:186;1015:22;1078:15;;1106:1931;;;;3178:4;3172:11;3159:24;;3365:1;3354:9;3347:20;3413:4;3402:9;3398:20;3392:4;3385:34;1071:2362;;1106:1931;1288:4;1282:11;1269:24;;1947:2;1938:7;1934:16;2329:9;2322:17;2316:4;2312:28;2300:9;2289;2285:25;2281:60;2377:7;2373:2;2369:16;2629:6;2615:9;2608:17;2602:4;2598:28;2586:9;2578:6;2574:22;2570:57;2566:70;2403:389;2662:3;2658:2;2655:11;2403:389;;;2780:9;;2769:21;;2703:4;2695:13;;;;2735;2403:389;;;-1:-1:-1;;2810:26:186;;;3018:2;3001:11;3014:7;2997:25;2991:4;2984:39;-1:-1:-1;1071:2362:186;-1:-1:-1;3460:9:186;660:2816;-1:-1:-1;;;;660:2816:186:o;1298:390:198:-;-1:-1:-1;;;;;;;;;;;;;;;;;1453:1:198;1440:3;:10;:14;1432:101;;;;;;;36317:2:350;1432:101:198;;;36299:21:350;36356:2;36336:18;;;36329:30;36395:34;36375:18;;;36368:62;36466:34;36446:18;;;36439:62;36538:12;36517:19;;;36510:41;36568:19;;1432:101:198;36115:478:350;1432:101:198;-1:-1:-1;1640:41:198;;;;;;;;;1658:10;;1640:41;;1610:2;1601:12;;;1640:41;;;;;;;;1298:390::o;1840:1740::-;1901:21;1935:18;1955;1975:20;1999:18;2013:3;1999:13;:18::i;:::-;1934:83;;-1:-1:-1;1934:83:198;-1:-1:-1;1934:83:198;-1:-1:-1;2048:21:198;2036:8;:33;;;;;;;;:::i;:::-;;2028:102;;;;;;;42813:2:350;2028:102:198;;;42795:21:350;42852:2;42832:18;;;42825:30;42891:34;42871:18;;;42864:62;42962:26;42942:18;;;42935:54;43006:19;;2028:102:198;42611:420:350;2028:102:198;2176:10;;2149:23;2162:10;2149;:23;:::i;:::-;:37;2141:100;;;;;;;43238:2:350;2141:100:198;;;43220:21:350;43277:2;43257:18;;;43250:30;43316:34;43296:18;;;43289:62;43387:20;43367:18;;;43360:48;43425:19;;2141:100:198;43036:414:350;2141:100:198;2651:30;;;1123:2;2651:30;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;2651:30:198;;;;;;;;;;;;;;-1:-1:-1;2644:37:198;-1:-1:-1;2692:17:198;2740:10;2760:681;2776:10;;2767:19;;2760:681;;;2803:18;2823;2846:150;2877:105;;;;;;;;2908:6;2895:3;:10;;;:19;;;;:::i;:::-;2877:105;;;;2972:6;2961:3;:7;;;2940:38;;;;:::i;:::-;2877:105;;2846:13;:150::i;:::-;2802:194;;;;;3201:153;;;;;;;;3248:10;3235;:23;;;;:::i;:::-;3201:153;;;;3332:6;3321:3;:7;;;3300:38;;;;:::i;:::-;3201:153;;;3183:4;3188:9;3183:15;;;;;;;;:::i;:::-;;;;;;;;;;:171;3369:14;3382:1;3369:14;;:::i;:::-;;-1:-1:-1;3407:23:198;3420:10;3407;:23;:::i;:::-;3397:33;;;;:::i;:::-;;;2788:653;;2760:681;;;-1:-1:-1;3541:23:198;;-1:-1:-1;3548:4:198;;1840:1740;-1:-1:-1;;;1840:1740:198:o;1010:184:350:-;1062:77;1059:1;1052:88;1159:4;1156:1;1149:15;1183:4;1180:1;1173:15;1199:334;1270:2;1264:9;1326:2;1316:13;;1331:66;1312:86;1300:99;;1429:18;1414:34;;1450:22;;;1411:62;1408:88;;;1476:18;;:::i;:::-;1512:2;1505:22;1199:334;;-1:-1:-1;1199:334:350:o;1538:154::-;1624:42;1617:5;1613:54;1606:5;1603:65;1593:93;;1682:1;1679;1672:12;1593:93;1538:154;:::o;1697:589::-;1739:5;1792:3;1785:4;1777:6;1773:17;1769:27;1759:55;;1810:1;1807;1800:12;1759:55;1846:6;1833:20;1872:18;1868:2;1865:26;1862:52;;;1894:18;;:::i;:::-;1938:114;2046:4;1977:66;1970:4;1966:2;1962:13;1958:86;1954:97;1938:114;:::i;:::-;2077:2;2068:7;2061:19;2123:3;2116:4;2111:2;2103:6;2099:15;2095:26;2092:35;2089:55;;;2140:1;2137;2130:12;2089:55;2205:2;2198:4;2190:6;2186:17;2179:4;2170:7;2166:18;2153:55;2253:1;2228:16;;;2246:4;2224:27;2217:38;;;;2232:7;1697:589;-1:-1:-1;;;1697:589:350:o;2291:1032::-;2359:5;2407:4;2395:9;2390:3;2386:19;2382:30;2379:50;;;2425:1;2422;2415:12;2379:50;2458:2;2452:9;2500:4;2492:6;2488:17;2524:18;2592:6;2580:10;2577:22;2572:2;2560:10;2557:18;2554:46;2551:72;;;2603:18;;:::i;:::-;2643:10;2639:2;2632:22;2672:6;2663:15;;2715:9;2702:23;2694:6;2687:39;2778:2;2767:9;2763:18;2750:32;2735:47;;2791:33;2816:7;2791:33;:::i;:::-;2857:7;2852:2;2844:6;2840:15;2833:32;2917:2;2906:9;2902:18;2889:32;2874:47;;2930:33;2955:7;2930:33;:::i;:::-;2996:7;2991:2;2983:6;2979:15;2972:32;3065:2;3054:9;3050:18;3037:32;3032:2;3024:6;3020:15;3013:57;3132:3;3121:9;3117:19;3104:33;3098:3;3090:6;3086:16;3079:59;3189:3;3178:9;3174:19;3161:33;3147:47;;3217:2;3209:6;3206:14;3203:34;;;3233:1;3230;3223:12;3203:34;;3271:45;3312:3;3303:6;3292:9;3288:22;3271:45;:::i;:::-;3265:3;3257:6;3253:16;3246:71;;;2291:1032;;;;:::o;3328:1175::-;3530:6;3538;3546;3554;3562;3606:9;3597:7;3593:23;3636:3;3632:2;3628:12;3625:32;;;3653:1;3650;3643:12;3625:32;3693:9;3680:23;3722:18;3763:2;3755:6;3752:14;3749:34;;;3779:1;3776;3769:12;3749:34;3802:72;3866:7;3857:6;3846:9;3842:22;3802:72;:::i;:::-;3792:82;;3921:2;3910:9;3906:18;3893:32;3883:42;;4018:3;3949:66;3945:2;3941:75;3937:85;3934:105;;;4035:1;4032;4025:12;3934:105;4073:2;4062:9;4058:18;4048:28;;4129:3;4118:9;4114:19;4101:33;4085:49;;4159:2;4149:8;4146:16;4143:36;;;4175:1;4172;4165:12;4143:36;4213:8;4202:9;4198:24;4188:34;;4260:7;4253:4;4249:2;4245:13;4241:27;4231:55;;4282:1;4279;4272:12;4231:55;4322:2;4309:16;4295:30;;4348:2;4340:6;4337:14;4334:34;;;4364:1;4361;4354:12;4334:34;;4417:7;4412:2;4402:6;4399:1;4395:14;4391:2;4387:23;4383:32;4380:45;4377:65;;;4438:1;4435;4428:12;4377:65;3328:1175;;;;-1:-1:-1;3328:1175:350;;-1:-1:-1;;;4469:2:350;4461:11;;4491:6;3328:1175::o;4508:258::-;4580:1;4590:113;4604:6;4601:1;4598:13;4590:113;;;4680:11;;;4674:18;4661:11;;;4654:39;4626:2;4619:10;4590:113;;;4721:6;4718:1;4715:13;4712:48;;;-1:-1:-1;;4756:1:350;4738:16;;4731:27;4508:258::o;4771:317::-;4813:3;4851:5;4845:12;4878:6;4873:3;4866:19;4894:63;4950:6;4943:4;4938:3;4934:14;4927:4;4920:5;4916:16;4894:63;:::i;:::-;5002:2;4990:15;5007:66;4986:88;4977:98;;;;5077:4;4973:109;;4771:317;-1:-1:-1;;4771:317:350:o;5093:220::-;5242:2;5231:9;5224:21;5205:4;5262:45;5303:2;5292:9;5288:18;5280:6;5262:45;:::i;5510:180::-;5569:6;5622:2;5610:9;5601:7;5597:23;5593:32;5590:52;;;5638:1;5635;5628:12;5590:52;-1:-1:-1;5661:23:350;;5510:180;-1:-1:-1;5510:180:350:o;5695:375::-;5795:6;5848:2;5836:9;5827:7;5823:23;5819:32;5816:52;;;5864:1;5861;5854:12;5816:52;5904:9;5891:23;5937:18;5929:6;5926:30;5923:50;;;5969:1;5966;5959:12;5923:50;5992:72;6056:7;6047:6;6036:9;6032:22;5992:72;:::i;:::-;5982:82;5695:375;-1:-1:-1;;;;5695:375:350:o;6260:171::-;6327:20;;6387:18;6376:30;;6366:41;;6356:69;;6421:1;6418;6411:12;6356:69;6260:171;;;:::o;6436:184::-;6494:6;6547:2;6535:9;6526:7;6522:23;6518:32;6515:52;;;6563:1;6560;6553:12;6515:52;6586:28;6604:9;6586:28;:::i;6830:601::-;6979:6;6987;6995;7048:2;7036:9;7027:7;7023:23;7019:32;7016:52;;;7064:1;7061;7054:12;7016:52;7103:9;7090:23;7122:31;7147:5;7122:31;:::i;:::-;7172:5;-1:-1:-1;7229:2:350;7214:18;;7201:32;7242:33;7201:32;7242:33;:::i;:::-;7294:7;-1:-1:-1;7353:2:350;7338:18;;7325:32;7366:33;7325:32;7366:33;:::i;:::-;7418:7;7408:17;;;6830:601;;;;;:::o;8247:118::-;8333:5;8326:13;8319:21;8312:5;8309:32;8299:60;;8355:1;8352;8345:12;8370:732;8470:6;8478;8486;8494;8502;8555:3;8543:9;8534:7;8530:23;8526:33;8523:53;;;8572:1;8569;8562:12;8523:53;8611:9;8598:23;8630:31;8655:5;8630:31;:::i;:::-;8680:5;-1:-1:-1;8732:2:350;8717:18;;8704:32;;-1:-1:-1;8755:37:350;8788:2;8773:18;;8755:37;:::i;:::-;8745:47;;8844:2;8833:9;8829:18;8816:32;8857:30;8879:7;8857:30;:::i;:::-;8906:7;-1:-1:-1;8964:3:350;8949:19;;8936:33;8992:18;8981:30;;8978:50;;;9024:1;9021;9014:12;8978:50;9047:49;9088:7;9079:6;9068:9;9064:22;9047:49;:::i;:::-;9037:59;;;8370:732;;;;;;;;:::o;10303:642::-;10566:6;10561:3;10554:19;10603:6;10598:2;10593:3;10589:12;10582:28;10662:66;10653:6;10648:3;10644:16;10640:89;10635:2;10630:3;10626:12;10619:111;10783:6;10776:14;10769:22;10764:3;10760:32;10755:2;10750:3;10746:12;10739:54;10536:3;10822:6;10816:13;10838:60;10891:6;10886:2;10881:3;10877:12;10872:2;10864:6;10860:15;10838:60;:::i;:::-;10918:16;;;;10936:2;10914:25;;10303:642;-1:-1:-1;;;;;;10303:642:350:o;11173:251::-;11243:6;11296:2;11284:9;11275:7;11271:23;11267:32;11264:52;;;11312:1;11309;11302:12;11264:52;11344:9;11338:16;11363:31;11388:5;11363:31;:::i;12394:192::-;12473:13;;12526:34;12515:46;;12505:57;;12495:85;;12576:1;12573;12566:12;12591:617;12695:6;12748:2;12736:9;12727:7;12723:23;12719:32;12716:52;;;12764:1;12761;12754:12;12716:52;12797:2;12791:9;12839:2;12831:6;12827:15;12908:6;12896:10;12893:22;12872:18;12860:10;12857:34;12854:62;12851:88;;;12919:18;;:::i;:::-;12955:2;12948:22;12994:16;;12979:32;;13044:49;13089:2;13074:18;;13044:49;:::i;:::-;13039:2;13031:6;13027:15;13020:74;13127:49;13172:2;13161:9;13157:18;13127:49;:::i;:::-;13122:2;13110:15;;13103:74;13114:6;12591:617;-1:-1:-1;;;12591:617:350:o;13213:648::-;13307:6;13360:3;13348:9;13339:7;13335:23;13331:33;13328:53;;;13377:1;13374;13367:12;13328:53;13410:2;13404:9;13452:3;13444:6;13440:16;13522:6;13510:10;13507:22;13486:18;13474:10;13471:34;13468:62;13465:88;;;13533:18;;:::i;:::-;13573:10;13569:2;13562:22;;13621:9;13608:23;13600:6;13593:39;13693:2;13682:9;13678:18;13665:32;13660:2;13652:6;13648:15;13641:57;13759:2;13748:9;13744:18;13731:32;13726:2;13718:6;13714:15;13707:57;13825:2;13814:9;13810:18;13797:32;13792:2;13784:6;13780:15;13773:57;13849:6;13839:16;;;13213:648;;;;:::o;15358:934::-;15494:9;15528:18;15569:2;15561:6;15558:14;15555:40;;;15575:18;;:::i;:::-;15621:6;15618:1;15614:14;15647:4;15671:28;15695:2;15691;15687:11;15671:28;:::i;:::-;15733:19;;;15803:14;;;;15768:12;;;;15840:14;15829:26;;15826:46;;;15868:1;15865;15858:12;15826:46;15892:5;15906:353;15922:6;15917:3;15914:15;15906:353;;;16008:3;15995:17;16044:2;16031:11;16028:19;16025:109;;;16088:1;16117:2;16113;16106:14;16025:109;16159:57;16201:14;16187:11;16180:5;16176:23;16159:57;:::i;:::-;16147:70;;-1:-1:-1;16237:12:350;;;;15939;;15906:353;;;-1:-1:-1;16281:5:350;15358:934;-1:-1:-1;;;;;;;15358:934:350:o;16716:245::-;16783:6;16836:2;16824:9;16815:7;16811:23;16807:32;16804:52;;;16852:1;16849;16842:12;16804:52;16884:9;16878:16;16903:28;16925:5;16903:28;:::i;17817:184::-;17887:6;17940:2;17928:9;17919:7;17915:23;17911:32;17908:52;;;17956:1;17953;17946:12;17908:52;-1:-1:-1;17979:16:350;;17817:184;-1:-1:-1;17817:184:350:o;20750:::-;20802:77;20799:1;20792:88;20899:4;20896:1;20889:15;20923:4;20920:1;20913:15;20939:270;20978:7;21010:18;21055:2;21052:1;21048:10;21085:2;21082:1;21078:10;21141:3;21137:2;21133:12;21128:3;21125:21;21118:3;21111:11;21104:19;21100:47;21097:73;;;21150:18;;:::i;:::-;21190:13;;20939:270;-1:-1:-1;;;;20939:270:350:o;21214:236::-;21253:3;21281:18;21326:2;21323:1;21319:10;21356:2;21353:1;21349:10;21387:3;21383:2;21379:12;21374:3;21371:21;21368:47;;;21395:18;;:::i;:::-;21431:13;;21214:236;-1:-1:-1;;;;21214:236:350:o;22069:125::-;22109:4;22137:1;22134;22131:8;22128:34;;;22142:18;;:::i;:::-;-1:-1:-1;22179:9:350;;22069:125::o;22199:184::-;22251:77;22248:1;22241:88;22348:4;22345:1;22338:15;22372:4;22369:1;22362:15;22388:308;22427:1;22453;22443:35;;22458:18;;:::i;:::-;22575:66;22572:1;22569:73;22500:66;22497:1;22494:73;22490:153;22487:179;;;22646:18;;:::i;:::-;-1:-1:-1;22680:10:350;;22388:308::o;22701:369::-;22740:4;22776:1;22773;22769:9;22885:1;22817:66;22813:74;22810:1;22806:82;22801:2;22794:10;22790:99;22787:125;;;22892:18;;:::i;:::-;23011:1;22943:66;22939:74;22936:1;22932:82;22928:2;22924:91;22921:117;;;23018:18;;:::i;:::-;-1:-1:-1;;23055:9:350;;22701:369::o;23075:655::-;23114:7;23146:66;23238:1;23235;23231:9;23266:1;23263;23259:9;23311:1;23307:2;23303:10;23300:1;23297:17;23292:2;23288;23284:11;23280:35;23277:61;;;23318:18;;:::i;:::-;23357:66;23449:1;23446;23442:9;23496:1;23492:2;23487:11;23484:1;23480:19;23475:2;23471;23467:11;23463:37;23460:63;;;23503:18;;:::i;:::-;23549:1;23546;23542:9;23532:19;;23596:1;23592:2;23587:11;23584:1;23580:19;23575:2;23571;23567:11;23563:37;23560:63;;;23603:18;;:::i;:::-;23668:1;23664:2;23659:11;23656:1;23652:19;23647:2;23643;23639:11;23635:37;23632:63;;;23675:18;;:::i;:::-;-1:-1:-1;;;23715:9:350;;;;;23075:655;-1:-1:-1;;;23075:655:350:o;23735:367::-;23774:3;23809:1;23806;23802:9;23918:1;23850:66;23846:74;23843:1;23839:82;23834:2;23827:10;23823:99;23820:125;;;23925:18;;:::i;:::-;24044:1;23976:66;23972:74;23969:1;23965:82;23961:2;23957:91;23954:117;;;24051:18;;:::i;:::-;-1:-1:-1;;24087:9:350;;23735:367::o;24538:228::-;24578:7;24704:1;24636:66;24632:74;24629:1;24626:81;24621:1;24614:9;24607:17;24603:105;24600:131;;;24711:18;;:::i;:::-;-1:-1:-1;24751:9:350;;24538:228::o;24771:120::-;24811:1;24837;24827:35;;24842:18;;:::i;:::-;-1:-1:-1;24876:9:350;;24771:120::o;25292:656::-;25579:6;25568:9;25561:25;25542:4;25605:42;25695:2;25687:6;25683:15;25678:2;25667:9;25663:18;25656:43;25747:2;25739:6;25735:15;25730:2;25719:9;25715:18;25708:43;;25787:6;25782:2;25771:9;25767:18;25760:34;25831:6;25825:3;25814:9;25810:19;25803:35;25875:3;25869;25858:9;25854:19;25847:32;25896:46;25937:3;25926:9;25922:19;25914:6;25896:46;:::i;:::-;25888:54;25292:656;-1:-1:-1;;;;;;;;25292:656:350:o;25953:128::-;25993:3;26024:1;26020:6;26017:1;26014:13;26011:39;;;26030:18;;:::i;:::-;-1:-1:-1;26066:9:350;;25953:128::o;26498:167::-;26576:13;;26629:10;26618:22;;26608:33;;26598:61;;26655:1;26652;26645:12;26670:160;26747:13;;26800:4;26789:16;;26779:27;;26769:55;;26820:1;26817;26810:12;26835:888;26938:6;26991:3;26979:9;26970:7;26966:23;26962:33;26959:53;;;27008:1;27005;26998:12;26959:53;27041:2;27035:9;27083:3;27075:6;27071:16;27153:6;27141:10;27138:22;27117:18;27105:10;27102:34;27099:62;27096:88;;;27164:18;;:::i;:::-;27200:2;27193:22;27239:39;27268:9;27239:39;:::i;:::-;27231:6;27224:55;27312:47;27355:2;27344:9;27340:18;27312:47;:::i;:::-;27307:2;27299:6;27295:15;27288:72;27393:47;27436:2;27425:9;27421:18;27393:47;:::i;:::-;27388:2;27380:6;27376:15;27369:72;27474:48;27518:2;27507:9;27503:18;27474:48;:::i;:::-;27469:2;27461:6;27457:15;27450:73;27557:49;27601:3;27590:9;27586:19;27557:49;:::i;:::-;27551:3;27543:6;27539:16;27532:75;27641:50;27686:3;27675:9;27671:19;27641:50;:::i;:::-;27635:3;27623:16;;27616:76;27627:6;26835:888;-1:-1:-1;;;26835:888:350:o;27728:195::-;27767:3;27798:66;27791:5;27788:77;27785:103;;27868:18;;:::i;:::-;-1:-1:-1;27915:1:350;27904:13;;27728:195::o;28465:184::-;28517:77;28514:1;28507:88;28614:4;28611:1;28604:15;28638:4;28635:1;28628:15;31097:157;31127:1;31161:4;31158:1;31154:12;31185:3;31175:37;;31192:18;;:::i;:::-;31244:3;31237:4;31234:1;31230:12;31226:22;31221:27;;;31097:157;;;;:::o;31259:195::-;31297:4;31334;31331:1;31327:12;31366:4;31363:1;31359:12;31391:3;31386;31383:12;31380:38;;;31398:18;;:::i;:::-;31435:13;;;31259:195;-1:-1:-1;;;31259:195:350:o;35079:184::-;35131:77;35128:1;35121:88;35228:4;35225:1;35218:15;35252:4;35249:1;35242:15",linkReferences:{}},methodIdentifiers:{"GUARDIAN()":"724c184c","L2_ORACLE()":"001c2ff6","SYSTEM_CONFIG()":"f0498750","depositTransaction(address,uint256,uint64,bool,bytes)":"e9e05c42","donateETH()":"8b4c40b0","finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":"8c3152e9","finalizedWithdrawals(bytes32)":"a14238e7","guardian()":"452a9320","initialize(address,address,address)":"c0c53b8b","isOutputFinalized(uint256)":"6dbffb78","l2Oracle()":"9b5f694a","l2Sender()":"9bf62d82","minimumGasLimit(uint64)":"a35d99df","params()":"cff0ab96","paused()":"5c975abb","proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":"4870496f","provenWithdrawals(bytes32)":"e965084c","superchainConfig()":"35e80ab3","systemConfig()":"33d7e2bd","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"version","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"opaqueData","type":"bytes"}],"name":"TransactionDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"WithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"WithdrawalProven","type":"event"},{"inputs":[],"name":"GUARDIAN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"L2_ORACLE","outputs":[{"internalType":"contract L2OutputOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SYSTEM_CONFIG","outputs":[{"internalType":"contract SystemConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint64","name":"_gasLimit","type":"uint64"},{"internalType":"bool","name":"_isCreation","type":"bool"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"depositTransaction","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"donateETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"}],"name":"finalizeWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"finalizedWithdrawals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract L2OutputOracle","name":"_l2Oracle","type":"address"},{"internalType":"contract SystemConfig","name":"_systemConfig","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"}],"name":"isOutputFinalized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2Oracle","outputs":[{"internalType":"contract L2OutputOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2Sender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_byteCount","type":"uint64"}],"name":"minimumGasLimit","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"params","outputs":[{"internalType":"uint128","name":"prevBaseFee","type":"uint128"},{"internalType":"uint64","name":"prevBoughtGas","type":"uint64"},{"internalType":"uint64","name":"prevBlockNum","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"paused_","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"},{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"},{"components":[{"internalType":"bytes32","name":"version","type":"bytes32"},{"internalType":"bytes32","name":"stateRoot","type":"bytes32"},{"internalType":"bytes32","name":"messagePasserStorageRoot","type":"bytes32"},{"internalType":"bytes32","name":"latestBlockhash","type":"bytes32"}],"internalType":"struct Types.OutputRootProof","name":"_outputRootProof","type":"tuple"},{"internalType":"bytes[]","name":"_withdrawalProof","type":"bytes[]"}],"name":"proveWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"provenWithdrawals","outputs":[{"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"internalType":"uint128","name":"timestamp","type":"uint128"},{"internalType":"uint128","name":"l2OutputIndex","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"systemConfig","outputs":[{"internalType":"contract SystemConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@title OptimismPortal","events":{"TransactionDeposited(address,address,uint256,bytes)":{"params":{"from":"Address that triggered the deposit transaction.","opaqueData":"ABI encoded deposit data to be parsed off-chain.","to":"Address that the deposit transaction is directed to.","version":"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{"params":{"success":"Whether the withdrawal transaction was successful.","withdrawalHash":"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{"params":{"from":"Address that triggered the withdrawal transaction.","to":"Address that the withdrawal transaction is directed to.","withdrawalHash":"Hash of the withdrawal transaction."}}},"kind":"dev","methods":{"GUARDIAN()":{"custom:legacy":"","returns":{"_0":"Address of the guardian."}},"L2_ORACLE()":{"custom:legacy":"","returns":{"_0":"Contract of the L2OutputOracle on this chain."}},"SYSTEM_CONFIG()":{"custom:legacy":"","returns":{"_0":"Contract of the SystemConfig on this chain."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{"params":{"_data":"Data to trigger the recipient with.","_gasLimit":"Amount of L2 gas to purchase by burning gas on L1.","_isCreation":"Whether or not the transaction is a contract creation.","_to":"Target address on L2.","_value":"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"params":{"_tx":"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"","returns":{"_0":"Address of the guardian."}},"initialize(address,address,address)":{"params":{"_l2Oracle":"Contract of the L2OutputOracle.","_superchainConfig":"Contract of the SuperchainConfig.","_systemConfig":"Contract of the SystemConfig."}},"isOutputFinalized(uint256)":{"params":{"_l2OutputIndex":"Index of the L2 output to check."},"returns":{"_0":"Whether or not the output is finalized."}},"minimumGasLimit(uint64)":{"params":{"_byteCount":"Number of bytes in the calldata."},"returns":{"_0":"The minimum gas limit for a deposit."}},"paused()":{"returns":{"paused_":"Whether or not the contract is paused."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"params":{"_l2OutputIndex":"L2 output index to prove against.","_outputRootProof":"Inclusion proof of the L2ToL1MessagePasser contract\'s storage root.","_tx":"Withdrawal transaction to finalize.","_withdrawalProof":"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}}},"stateVariables":{"l2Oracle":{"custom:network-specific":""},"spacer_53_0_1":{"custom:legacy":"@custom:spacer paused"},"systemConfig":{"custom:network-specific":""},"version":{"custom:semver":"2.5.0"}},"version":1},"userdoc":{"events":{"TransactionDeposited(address,address,uint256,bytes)":{"notice":"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{"notice":"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{"notice":"Emitted when a withdrawal transaction is proven."}},"kind":"user","methods":{"GUARDIAN()":{"notice":"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"L2_ORACLE()":{"notice":"Getter function for the contract of the L2OutputOracle on this chain. Public getter is legacy and will be removed in the future. Use `l2Oracle()` instead."},"SYSTEM_CONFIG()":{"notice":"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},"constructor":{"notice":"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{"notice":"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"donateETH()":{"notice":"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"notice":"Finalizes a withdrawal transaction."},"finalizedWithdrawals(bytes32)":{"notice":"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{"notice":"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{"notice":"Initializer."},"isOutputFinalized(uint256)":{"notice":"Determine if a given output is finalized. Reverts if the call to l2Oracle.getL2Output reverts. Returns a boolean otherwise."},"l2Oracle()":{"notice":"Contract of the L2OutputOracle."},"l2Sender()":{"notice":"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{"notice":"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"params()":{"notice":"EIP-1559 style gas parameters."},"paused()":{"notice":"Getter for the current paused status."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"notice":"Proves a withdrawal transaction."},"provenWithdrawals(bytes32)":{"notice":"A mapping of withdrawal hashes to `ProvenWithdrawal` data."},"superchainConfig()":{"notice":"Contract of the Superchain Config."},"systemConfig()":{"notice":"Contract of the SystemConfig."},"version()":{"notice":"Semantic version."}},"notice":"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface.","version":1}},"settings":{"compilationTarget":{"src/L1/OptimismPortal.sol":"OptimismPortal"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L2OutputOracle.sol":{"keccak256":"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42","license":"MIT","urls":["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"]},"src/L1/OptimismPortal.sol":{"keccak256":"0x9a8aa4a07a40af3a3273d9398306bd131bf5ef3e06df4d8ad9e4e164800bbca6","license":"MIT","urls":["bzz-raw://c4238a2f5beb466f72332046e1281c137f3098e266495230baec7cde0ec64fe0","dweb:/ipfs/QmYg4Sm3AU4QZkhBE3AgwDyyCsSm5eEM86w3F4LEYDJ9Ze"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L1/SystemConfig.sol":{"keccak256":"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a","license":"MIT","urls":["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Bytes.sol":{"keccak256":"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859","license":"MIT","urls":["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPReader.sol":{"keccak256":"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb","license":"MIT","urls":["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/libraries/trie/MerkleTrie.sol":{"keccak256":"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c","license":"MIT","urls":["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"]},"src/libraries/trie/SecureMerkleTrie.sol":{"keccak256":"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288","license":"MIT","urls":["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"version",type:"uint256",indexed:!0},{internalType:"bytes",name:"opaqueData",type:"bytes",indexed:!1}],type:"event",name:"TransactionDeposited",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"bool",name:"success",type:"bool",indexed:!1}],type:"event",name:"WithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0}],type:"event",name:"WithdrawalProven",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"GUARDIAN",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"L2_ORACLE",outputs:[{internalType:"contract L2OutputOracle",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"SYSTEM_CONFIG",outputs:[{internalType:"contract SystemConfig",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint64",name:"_gasLimit",type:"uint64"},{internalType:"bool",name:"_isCreation",type:"bool"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositTransaction"},{inputs:[],stateMutability:"payable",type:"function",name:"donateETH"},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]}],stateMutability:"nonpayable",type:"function",name:"finalizeWithdrawalTransaction"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"finalizedWithdrawals",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"guardian",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"contract L2OutputOracle",name:"_l2Oracle",type:"address"},{internalType:"contract SystemConfig",name:"_systemConfig",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"}],stateMutability:"view",type:"function",name:"isOutputFinalized",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2Oracle",outputs:[{internalType:"contract L2OutputOracle",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2Sender",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"uint64",name:"_byteCount",type:"uint64"}],stateMutability:"pure",type:"function",name:"minimumGasLimit",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"params",outputs:[{internalType:"uint128",name:"prevBaseFee",type:"uint128"},{internalType:"uint64",name:"prevBoughtGas",type:"uint64"},{internalType:"uint64",name:"prevBlockNum",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"paused_",type:"bool"}]},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]},{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"},{internalType:"struct Types.OutputRootProof",name:"_outputRootProof",type:"tuple",components:[{internalType:"bytes32",name:"version",type:"bytes32"},{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{internalType:"bytes32",name:"messagePasserStorageRoot",type:"bytes32"},{internalType:"bytes32",name:"latestBlockhash",type:"bytes32"}]},{internalType:"bytes[]",name:"_withdrawalProof",type:"bytes[]"}],stateMutability:"nonpayable",type:"function",name:"proveWithdrawalTransaction"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"provenWithdrawals",outputs:[{internalType:"bytes32",name:"outputRoot",type:"bytes32"},{internalType:"uint128",name:"timestamp",type:"uint128"},{internalType:"uint128",name:"l2OutputIndex",type:"uint128"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"systemConfig",outputs:[{internalType:"contract SystemConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"GUARDIAN()":{"custom:legacy":"",returns:{_0:"Address of the guardian."}},"L2_ORACLE()":{"custom:legacy":"",returns:{_0:"Contract of the L2OutputOracle on this chain."}},"SYSTEM_CONFIG()":{"custom:legacy":"",returns:{_0:"Contract of the SystemConfig on this chain."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"",returns:{_0:"Address of the guardian."}},"initialize(address,address,address)":{params:{_l2Oracle:"Contract of the L2OutputOracle.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"isOutputFinalized(uint256)":{params:{_l2OutputIndex:"Index of the L2 output to check."},returns:{_0:"Whether or not the output is finalized."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"paused()":{returns:{paused_:"Whether or not the contract is paused."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_l2OutputIndex:"L2 output index to prove against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}}},version:1},userdoc:{kind:"user",methods:{"GUARDIAN()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"L2_ORACLE()":{notice:"Getter function for the contract of the L2OutputOracle on this chain. Public getter is legacy and will be removed in the future. Use `l2Oracle()` instead."},"SYSTEM_CONFIG()":{notice:"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{notice:"Initializer."},"isOutputFinalized(uint256)":{notice:"Determine if a given output is finalized. Reverts if the call to l2Oracle.getL2Output reverts. Returns a boolean otherwise."},"l2Oracle()":{notice:"Contract of the L2OutputOracle."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32)":{notice:"A mapping of withdrawal hashes to `ProvenWithdrawal` data."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/OptimismPortal.sol":"OptimismPortal"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L2OutputOracle.sol":{keccak256:"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42",urls:["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"],license:"MIT"},"src/L1/OptimismPortal.sol":{keccak256:"0x9a8aa4a07a40af3a3273d9398306bd131bf5ef3e06df4d8ad9e4e164800bbca6",urls:["bzz-raw://c4238a2f5beb466f72332046e1281c137f3098e266495230baec7cde0ec64fe0","dweb:/ipfs/QmYg4Sm3AU4QZkhBE3AgwDyyCsSm5eEM86w3F4LEYDJ9Ze"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L1/SystemConfig.sol":{keccak256:"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a",urls:["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Bytes.sol":{keccak256:"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859",urls:["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPReader.sol":{keccak256:"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb",urls:["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/libraries/trie/MerkleTrie.sol":{keccak256:"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c",urls:["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"],license:"MIT"},"src/libraries/trie/SecureMerkleTrie.sol":{keccak256:"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288",urls:["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:85318,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"params",offset:0,slot:"1",type:"t_struct(ResourceParams)85301_storage"},{astId:85323,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"__gap",offset:0,slot:"2",type:"t_array(t_uint256)48_storage"},{astId:83459,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"l2Sender",offset:0,slot:"50",type:"t_address"},{astId:83464,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"finalizedWithdrawals",offset:0,slot:"51",type:"t_mapping(t_bytes32,t_bool)"},{astId:83470,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"provenWithdrawals",offset:0,slot:"52",type:"t_mapping(t_bytes32,t_struct(ProvenWithdrawal)83448_storage)"},{astId:83473,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"spacer_53_0_1",offset:0,slot:"53",type:"t_bool"},{astId:83477,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"superchainConfig",offset:1,slot:"53",type:"t_contract(SuperchainConfig)85848"},{astId:83481,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"l2Oracle",offset:0,slot:"54",type:"t_contract(L2OutputOracle)83406"},{astId:83485,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"systemConfig",offset:0,slot:"55",type:"t_contract(SystemConfig)86662"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)48_storage":{encoding:"inplace",label:"uint256[48]",numberOfBytes:"1536",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(L2OutputOracle)83406":{encoding:"inplace",label:"contract L2OutputOracle",numberOfBytes:"20"},"t_contract(SuperchainConfig)85848":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_contract(SystemConfig)86662":{encoding:"inplace",label:"contract SystemConfig",numberOfBytes:"20"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},"t_mapping(t_bytes32,t_struct(ProvenWithdrawal)83448_storage)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => struct OptimismPortal.ProvenWithdrawal)",numberOfBytes:"32",value:"t_struct(ProvenWithdrawal)83448_storage"},"t_struct(ProvenWithdrawal)83448_storage":{encoding:"inplace",label:"struct OptimismPortal.ProvenWithdrawal",numberOfBytes:"64",members:[{astId:83443,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"outputRoot",offset:0,slot:"0",type:"t_bytes32"},{astId:83445,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"timestamp",offset:0,slot:"1",type:"t_uint128"},{astId:83447,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"l2OutputIndex",offset:16,slot:"1",type:"t_uint128"}]},"t_struct(ResourceParams)85301_storage":{encoding:"inplace",label:"struct ResourceMetering.ResourceParams",numberOfBytes:"32",members:[{astId:85296,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"prevBaseFee",offset:0,slot:"0",type:"t_uint128"},{astId:85298,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"prevBoughtGas",offset:16,slot:"0",type:"t_uint64"},{astId:85300,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"prevBlockNum",offset:24,slot:"0",type:"t_uint64"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint64:{encoding:"inplace",label:"uint64",numberOfBytes:"8"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"GUARDIAN()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"L2_ORACLE()":{notice:"Getter function for the contract of the L2OutputOracle on this chain. Public getter is legacy and will be removed in the future. Use `l2Oracle()` instead."},"SYSTEM_CONFIG()":{notice:"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{notice:"Initializer."},"isOutputFinalized(uint256)":{notice:"Determine if a given output is finalized. Reverts if the call to l2Oracle.getL2Output reverts. Returns a boolean otherwise."},"l2Oracle()":{notice:"Contract of the L2OutputOracle."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32)":{notice:"A mapping of withdrawal hashes to `ProvenWithdrawal` data."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},events:{"TransactionDeposited(address,address,uint256,bytes)":{notice:"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{notice:"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{notice:"Emitted when a withdrawal transaction is proven."}},notice:"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface."},devdoc:{version:1,kind:"dev",methods:{"GUARDIAN()":{returns:{_0:"Address of the guardian."}},"L2_ORACLE()":{returns:{_0:"Contract of the L2OutputOracle on this chain."}},"SYSTEM_CONFIG()":{returns:{_0:"Contract of the SystemConfig on this chain."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"guardian()":{returns:{_0:"Address of the guardian."}},"initialize(address,address,address)":{params:{_l2Oracle:"Contract of the L2OutputOracle.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"isOutputFinalized(uint256)":{params:{_l2OutputIndex:"Index of the L2 output to check."},returns:{_0:"Whether or not the output is finalized."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"paused()":{returns:{paused_:"Whether or not the contract is paused."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_l2OutputIndex:"L2 output index to prove against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}}},events:{"TransactionDeposited(address,address,uint256,bytes)":{params:{from:"Address that triggered the deposit transaction.",opaqueData:"ABI encoded deposit data to be parsed off-chain.",to:"Address that the deposit transaction is directed to.",version:"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{params:{success:"Whether the withdrawal transaction was successful.",withdrawalHash:"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{params:{from:"Address that triggered the withdrawal transaction.",to:"Address that the withdrawal transaction is directed to.",withdrawalHash:"Hash of the withdrawal transaction."}}}},id:130}});var FKe=D((Vca,MHt)=>{MHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSAGE_VERSION",inputs:[],outputs:[{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"OTHER_MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"PORTAL",inputs:[],outputs:[{name:"",type:"address",internalType:"contract OptimismPortal"}],stateMutability:"view"},{type:"function",name:"RELAY_CALL_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_CONSTANT_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_GAS_CHECK_BUFFER",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_RESERVED_GAS",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"baseGas",inputs:[{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"failedMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"},{name:"_portal",type:"address",internalType:"contract OptimismPortal"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"messageNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"otherMessenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"portal",inputs:[],outputs:[{name:"",type:"address",internalType:"contract OptimismPortal"}],stateMutability:"view"},{type:"function",name:"relayMessage",inputs:[{name:"_nonce",type:"uint256",internalType:"uint256"},{name:"_sender",type:"address",internalType:"address"},{name:"_target",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint256",internalType:"uint256"},{name:"_message",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"sendMessage",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[],stateMutability:"payable"},{type:"function",name:"successfulMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"xDomainMessageSender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"FailedRelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"RelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"SentMessage",inputs:[{name:"target",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!1,internalType:"address"},{name:"message",type:"bytes",indexed:!1,internalType:"bytes"},{name:"messageNonce",type:"uint256",indexed:!1,internalType:"uint256"},{name:"gasLimit",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SentMessageExtension1",inputs:[{name:"sender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001f60008062000025565b6200027f565b600054600160a81b900460ff16158080156200004e57506000546001600160a01b90910460ff16105b806200008557506200006b30620001b960201b620014d61760201c565b158015620000855750600054600160a01b900460ff166001145b620000ee5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff60a01b1916600160a01b17905580156200011c576000805460ff60a81b1916600160a81b1790555b60fb80546001600160a01b038086166001600160a01b03199283161790925560fc8054928516929091169190911790556200016b734200000000000000000000000000000000000007620001c8565b8015620001b4576000805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b03163b151590565b600054600160a81b900460ff16620002375760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000e5565b60cc546001600160a01b03166200025d5760cc80546001600160a01b03191661dead1790555b60cf80546001600160a01b0319166001600160a01b0392909216919091179055565b611f94806200028f6000396000f3fe6080604052600436106101805760003560e01c80635c975abb116100d6578063a4e7f8bd1161007f578063d764ad0b11610059578063d764ad0b14610463578063db505d8014610476578063ecc70428146104a357600080fd5b8063a4e7f8bd146103e3578063b1b1b20914610413578063b28ade251461044357600080fd5b806383a74074116100b057806383a74074146103a15780638cbeeef2146102b85780639fce812c146103b857600080fd5b80635c975abb1461033a5780636425666b1461035f5780636e296e451461038c57600080fd5b80633dbb202b116101385780634c1d6a69116101125780634c1d6a69146102b857806354fd4d50146102ce5780635644cfdf1461032457600080fd5b80633dbb202b1461025b5780633f827a5a14610270578063485cc9551461029857600080fd5b80630ff754ea116101695780630ff754ea146101cd5780632828d7e81461021957806335e80ab31461022e57600080fd5b8063028f85f7146101855780630c568498146101b8575b600080fd5b34801561019157600080fd5b5061019a601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101c457600080fd5b5061019a603f81565b3480156101d957600080fd5b5060fc5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101af565b34801561022557600080fd5b5061019a604081565b34801561023a57600080fd5b5060fb546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b61026e610269366004611a22565b610508565b005b34801561027c57600080fd5b50610285600181565b60405161ffff90911681526020016101af565b3480156102a457600080fd5b5061026e6102b3366004611a89565b610765565b3480156102c457600080fd5b5061019a619c4081565b3480156102da57600080fd5b506103176040518060400160405280600581526020017f322e332e3000000000000000000000000000000000000000000000000000000081525081565b6040516101af9190611b2d565b34801561033057600080fd5b5061019a61138881565b34801561034657600080fd5b5061034f6109d3565b60405190151581526020016101af565b34801561036b57600080fd5b5060fc546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b34801561039857600080fd5b506101f4610a6c565b3480156103ad57600080fd5b5061019a62030d4081565b3480156103c457600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166101f4565b3480156103ef57600080fd5b5061034f6103fe366004611b47565b60ce6020526000908152604090205460ff1681565b34801561041f57600080fd5b5061034f61042e366004611b47565b60cb6020526000908152604090205460ff1681565b34801561044f57600080fd5b5061019a61045e366004611b60565b610b53565b61026e610471366004611bb4565b610bc1565b34801561048257600080fd5b5060cf546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b3480156104af57600080fd5b506104fa60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016101af565b60cf5461063a9073ffffffffffffffffffffffffffffffffffffffff16610530858585610b53565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061059c60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c6040516024016105b89796959493929190611c83565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526114f2565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385856106bf60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b866040516106d1959493929190611ce2565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b6000547501000000000000000000000000000000000000000000900460ff16158080156107b0575060005460017401000000000000000000000000000000000000000090910460ff16105b806107e25750303b1580156107e2575060005474010000000000000000000000000000000000000000900460ff166001145b610873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156108f957600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60fb805473ffffffffffffffffffffffffffffffffffffffff8086167fffffffffffffffffffffffff00000000000000000000000000000000000000009283161790925560fc80549285169290911691909117905561096b73420000000000000000000000000000000000000761158b565b80156109ce57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60fb54604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611d30565b905090565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610b36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f74207365740000000000000000000000606482015260840161086a565b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f610b6f604063ffffffff8816611d81565b610b799190611db1565b610b84601088611d81565b610b919062030d40611dff565b610b9b9190611dff565b610ba59190611dff565b610baf9190611dff565b610bb99190611dff565b949350505050565b610bc96109d3565b15610c30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43726f7373446f6d61696e4d657373656e6765723a2070617573656400000000604482015260640161086a565b60f087901c60028110610ceb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161086a565b8061ffff16600003610de0576000610d3c878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506116c7915050565b600081815260cb602052604090205490915060ff1615610dde576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161086a565b505b6000610e26898989898989898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506116e692505050565b9050610e30611709565b15610e6857853414610e4457610e44611e2b565b600081815260ce602052604090205460ff1615610e6357610e63611e2b565b610fba565b3415610f1c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161086a565b600081815260ce602052604090205460ff16610fba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161086a565b610fc3876117e5565b15611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161086a565b600081815260cb602052604090205460ff1615611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161086a565b61113685611127611388619c40611dff565b67ffffffffffffffff1661182b565b158061115c575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b1561127557600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161126e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b50506114cd565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061130688619c405a6112c99190611e5a565b8988888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061184992505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156113bc57600082815260cb602052604090205460ff161561135957611359611e2b565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26114c9565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016114c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60fc546040517fe9e05c4200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063e9e05c42908490611553908890839089906000908990600401611e71565b6000604051808303818588803b15801561156c57600080fd5b505af1158015611580573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff16611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161086a565b60cc5473ffffffffffffffffffffffffffffffffffffffff166116805760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006116d585858585611863565b805190602001209050949350505050565b60006116f68787878787876118fc565b8051906020012090509695505050505050565b60fc5460009073ffffffffffffffffffffffffffffffffffffffff1633148015610a67575060cf5460fc54604080517f9bf62d82000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691639bf62d82916004808201926020929091908290030181865afa1580156117a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c99190611ec9565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600073ffffffffffffffffffffffffffffffffffffffff8216301480611825575060fc5473ffffffffffffffffffffffffffffffffffffffff8381169116145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b60608484848460405160240161187c9493929190611ee6565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161191996959493929190611f30565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff811681146119bd57600080fd5b50565b60008083601f8401126119d257600080fd5b50813567ffffffffffffffff8111156119ea57600080fd5b602083019150836020828501011115611a0257600080fd5b9250929050565b803563ffffffff81168114611a1d57600080fd5b919050565b60008060008060608587031215611a3857600080fd5b8435611a438161199b565b9350602085013567ffffffffffffffff811115611a5f57600080fd5b611a6b878288016119c0565b9094509250611a7e905060408601611a09565b905092959194509250565b60008060408385031215611a9c57600080fd5b8235611aa78161199b565b91506020830135611ab78161199b565b809150509250929050565b6000815180845260005b81811015611ae857602081850181015186830182015201611acc565b81811115611afa576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611b406020830184611ac2565b9392505050565b600060208284031215611b5957600080fd5b5035919050565b600080600060408486031215611b7557600080fd5b833567ffffffffffffffff811115611b8c57600080fd5b611b98868287016119c0565b9094509250611bab905060208501611a09565b90509250925092565b600080600080600080600060c0888a031215611bcf57600080fd5b873596506020880135611be18161199b565b95506040880135611bf18161199b565b9450606088013593506080880135925060a088013567ffffffffffffffff811115611c1b57600080fd5b611c278a828b016119c0565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611cd560c083018486611c3a565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611d12608083018688611c3a565b905083604083015263ffffffff831660608301529695505050505050565b600060208284031215611d4257600080fd5b81518015158114611b4057600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611da857611da8611d52565b02949350505050565b600067ffffffffffffffff80841680611df3577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611e2257611e22611d52565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611e6c57611e6c611d52565b500390565b73ffffffffffffffffffffffffffffffffffffffff8616815284602082015267ffffffffffffffff84166040820152821515606082015260a060808201526000611ebe60a0830184611ac2565b979650505050505050565b600060208284031215611edb57600080fd5b8151611b408161199b565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611f1f6080830185611ac2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611f7b60c0830184611ac2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"701:2432:126:-:0;;;1159:163;;;;;;;;;-1:-1:-1;1206:109:126::1;1263:1;::::0;1206:10:::1;:109::i;:::-;701:2432:::0;;1542:296;3111:19:25;3134:13;-1:-1:-1;;;3134:13:25;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;-1:-1:-1;;;3197:12:25;;;;;:16;3179:34;3178:108;;;;3220:44;3258:4;3220:29;;;;;:44;;:::i;:::-;3219:45;:66;;;;-1:-1:-1;3268:12:25;;-1:-1:-1;;;3268:12:25;;;;3284:1;3268:17;3219:66;3157:201;;;;-1:-1:-1;;;3157:201:25;;216:2:350;3157:201:25;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3157:201:25;;;;;;;;;3368:12;:16;;-1:-1:-1;;;;3368:16:25;-1:-1:-1;;;3368:16:25;;;3394:65;;;;3428:13;:20;;-1:-1:-1;;;;3428:20:25;-1:-1:-1;;;3428:20:25;;;3394:65;1651:16:126::1;:36:::0;;-1:-1:-1;;;;;1651:36:126;;::::1;-1:-1:-1::0;;;;;;1651:36:126;;::::1;;::::0;;;1697:6:::1;:16:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;1723:108:::1;480:42:194;1723:27:126;:108::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;-1:-1:-1;;;;3513:21:25;;;3553:14;;-1:-1:-1;581:36:350;;3553:14:25;;569:2:350;554:18;3553:14:25;;;;;;;3479:99;3101:483;1542:296:126;;:::o;1186:320:31:-;-1:-1:-1;;;;;1476:19:31;;:23;;;1186:320::o;18507:636:218:-;4910:13:25;;-1:-1:-1;;;4910:13:25;;;;4902:69;;;;-1:-1:-1;;;4902:69:25;;830:2:350;4902:69:25;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4902:69:25;628:407:350;4902:69:25;18992:16:218::1;::::0;-1:-1:-1;;;;;18992:16:218::1;18988:107;;19038:16;:46:::0;;-1:-1:-1;;;;;;19038:46:218::1;1338:42:188;19038:46:218;::::0;;18988:107:::1;19104:14;:32:::0;;-1:-1:-1;;;;;;19104:32:218::1;-1:-1:-1::0;;;;;19104:32:218;;;::::1;::::0;;;::::1;::::0;;18507:636::o;628:407:350:-;701:2432:126;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101805760003560e01c80635c975abb116100d6578063a4e7f8bd1161007f578063d764ad0b11610059578063d764ad0b14610463578063db505d8014610476578063ecc70428146104a357600080fd5b8063a4e7f8bd146103e3578063b1b1b20914610413578063b28ade251461044357600080fd5b806383a74074116100b057806383a74074146103a15780638cbeeef2146102b85780639fce812c146103b857600080fd5b80635c975abb1461033a5780636425666b1461035f5780636e296e451461038c57600080fd5b80633dbb202b116101385780634c1d6a69116101125780634c1d6a69146102b857806354fd4d50146102ce5780635644cfdf1461032457600080fd5b80633dbb202b1461025b5780633f827a5a14610270578063485cc9551461029857600080fd5b80630ff754ea116101695780630ff754ea146101cd5780632828d7e81461021957806335e80ab31461022e57600080fd5b8063028f85f7146101855780630c568498146101b8575b600080fd5b34801561019157600080fd5b5061019a601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101c457600080fd5b5061019a603f81565b3480156101d957600080fd5b5060fc5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101af565b34801561022557600080fd5b5061019a604081565b34801561023a57600080fd5b5060fb546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b61026e610269366004611a22565b610508565b005b34801561027c57600080fd5b50610285600181565b60405161ffff90911681526020016101af565b3480156102a457600080fd5b5061026e6102b3366004611a89565b610765565b3480156102c457600080fd5b5061019a619c4081565b3480156102da57600080fd5b506103176040518060400160405280600581526020017f322e332e3000000000000000000000000000000000000000000000000000000081525081565b6040516101af9190611b2d565b34801561033057600080fd5b5061019a61138881565b34801561034657600080fd5b5061034f6109d3565b60405190151581526020016101af565b34801561036b57600080fd5b5060fc546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b34801561039857600080fd5b506101f4610a6c565b3480156103ad57600080fd5b5061019a62030d4081565b3480156103c457600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166101f4565b3480156103ef57600080fd5b5061034f6103fe366004611b47565b60ce6020526000908152604090205460ff1681565b34801561041f57600080fd5b5061034f61042e366004611b47565b60cb6020526000908152604090205460ff1681565b34801561044f57600080fd5b5061019a61045e366004611b60565b610b53565b61026e610471366004611bb4565b610bc1565b34801561048257600080fd5b5060cf546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b3480156104af57600080fd5b506104fa60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016101af565b60cf5461063a9073ffffffffffffffffffffffffffffffffffffffff16610530858585610b53565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061059c60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c6040516024016105b89796959493929190611c83565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526114f2565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385856106bf60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b866040516106d1959493929190611ce2565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b6000547501000000000000000000000000000000000000000000900460ff16158080156107b0575060005460017401000000000000000000000000000000000000000090910460ff16105b806107e25750303b1580156107e2575060005474010000000000000000000000000000000000000000900460ff166001145b610873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156108f957600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60fb805473ffffffffffffffffffffffffffffffffffffffff8086167fffffffffffffffffffffffff00000000000000000000000000000000000000009283161790925560fc80549285169290911691909117905561096b73420000000000000000000000000000000000000761158b565b80156109ce57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60fb54604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611d30565b905090565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610b36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f74207365740000000000000000000000606482015260840161086a565b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f610b6f604063ffffffff8816611d81565b610b799190611db1565b610b84601088611d81565b610b919062030d40611dff565b610b9b9190611dff565b610ba59190611dff565b610baf9190611dff565b610bb99190611dff565b949350505050565b610bc96109d3565b15610c30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43726f7373446f6d61696e4d657373656e6765723a2070617573656400000000604482015260640161086a565b60f087901c60028110610ceb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161086a565b8061ffff16600003610de0576000610d3c878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506116c7915050565b600081815260cb602052604090205490915060ff1615610dde576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161086a565b505b6000610e26898989898989898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506116e692505050565b9050610e30611709565b15610e6857853414610e4457610e44611e2b565b600081815260ce602052604090205460ff1615610e6357610e63611e2b565b610fba565b3415610f1c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161086a565b600081815260ce602052604090205460ff16610fba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161086a565b610fc3876117e5565b15611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161086a565b600081815260cb602052604090205460ff1615611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161086a565b61113685611127611388619c40611dff565b67ffffffffffffffff1661182b565b158061115c575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b1561127557600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161126e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b50506114cd565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061130688619c405a6112c99190611e5a565b8988888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061184992505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156113bc57600082815260cb602052604090205460ff161561135957611359611e2b565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26114c9565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016114c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60fc546040517fe9e05c4200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063e9e05c42908490611553908890839089906000908990600401611e71565b6000604051808303818588803b15801561156c57600080fd5b505af1158015611580573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff16611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161086a565b60cc5473ffffffffffffffffffffffffffffffffffffffff166116805760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006116d585858585611863565b805190602001209050949350505050565b60006116f68787878787876118fc565b8051906020012090509695505050505050565b60fc5460009073ffffffffffffffffffffffffffffffffffffffff1633148015610a67575060cf5460fc54604080517f9bf62d82000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691639bf62d82916004808201926020929091908290030181865afa1580156117a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c99190611ec9565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600073ffffffffffffffffffffffffffffffffffffffff8216301480611825575060fc5473ffffffffffffffffffffffffffffffffffffffff8381169116145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b60608484848460405160240161187c9493929190611ee6565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161191996959493929190611f30565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff811681146119bd57600080fd5b50565b60008083601f8401126119d257600080fd5b50813567ffffffffffffffff8111156119ea57600080fd5b602083019150836020828501011115611a0257600080fd5b9250929050565b803563ffffffff81168114611a1d57600080fd5b919050565b60008060008060608587031215611a3857600080fd5b8435611a438161199b565b9350602085013567ffffffffffffffff811115611a5f57600080fd5b611a6b878288016119c0565b9094509250611a7e905060408601611a09565b905092959194509250565b60008060408385031215611a9c57600080fd5b8235611aa78161199b565b91506020830135611ab78161199b565b809150509250929050565b6000815180845260005b81811015611ae857602081850181015186830182015201611acc565b81811115611afa576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611b406020830184611ac2565b9392505050565b600060208284031215611b5957600080fd5b5035919050565b600080600060408486031215611b7557600080fd5b833567ffffffffffffffff811115611b8c57600080fd5b611b98868287016119c0565b9094509250611bab905060208501611a09565b90509250925092565b600080600080600080600060c0888a031215611bcf57600080fd5b873596506020880135611be18161199b565b95506040880135611bf18161199b565b9450606088013593506080880135925060a088013567ffffffffffffffff811115611c1b57600080fd5b611c278a828b016119c0565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611cd560c083018486611c3a565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611d12608083018688611c3a565b905083604083015263ffffffff831660608301529695505050505050565b600060208284031215611d4257600080fd5b81518015158114611b4057600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611da857611da8611d52565b02949350505050565b600067ffffffffffffffff80841680611df3577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611e2257611e22611d52565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611e6c57611e6c611d52565b500390565b73ffffffffffffffffffffffffffffffffffffffff8616815284602082015267ffffffffffffffff84166040820152821515606082015260a060808201526000611ebe60a0830184611ac2565b979650505050505050565b600060208284031215611edb57600080fd5b8151611b408161199b565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611f1f6080830185611ac2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611f7b60c0830184611ac2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"701:2432:126:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4456:53:218;;;;;;;;;;;;4507:2;4456:53;;;;;188:18:350;176:31;;;158:50;;146:2;131:18;4456:53:218;;;;;;;;4301:64;;;;;;;;;;;;4363:2;4301:64;;2107:87:126;;;;;;;;;;-1:-1:-1;2181:6:126;;;;2107:87;;;427:42:350;415:55;;;397:74;;385:2;370:18;2107:87:126;219:258:350;4146:62:218;;;;;;;;;;;;4206:2;4146:62;;822:40:126;;;;;;;;;;-1:-1:-1;822:40:126;;;;;;;;8628:999:218;;;;;;:::i;:::-;;:::i;:::-;;3879:42;;;;;;;;;;;;3920:1;3879:42;;;;;2213:6:350;2201:19;;;2183:38;;2171:2;2156:18;3879:42:218;2039:188:350;1542:296:126;;;;;;;;;;-1:-1:-1;1542:296:126;;;;;:::i;:::-;;:::i;4597:51:218:-;;;;;;;;;;;;4642:6;4597:51;;1048:40:126;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4943:53:218:-;;;;;;;;;;;;4991:5;4943:53;;3028:103:126;;;;;;;;;;;;;:::i;:::-;;;3601:14:350;;3594:22;3576:41;;3564:2;3549:18;3028:103:126;3436:187:350;950:28:126;;;;;;;;;;-1:-1:-1;950:28:126;;;;;;;;15768:250:218;;;;;;;;;;;;;:::i;3999:56::-;;;;;;;;;;;;4048:7;3999:56;;16321:108;;;;;;;;;;-1:-1:-1;16408:14:218;;;;16321:108;;6234:46;;;;;;;;;;-1:-1:-1;6234:46:218;;;;;:::i;:::-;;;;;;;;;;;;;;;;5252:50;;;;;;;;;;-1:-1:-1;5252:50:218;;;;;:::i;:::-;;;;;;;;;;;;;;;;17497:894;;;;;;;;;;-1:-1:-1;17497:894:218;;;;;:::i;:::-;;:::i;10315:5066::-;;;;;;:::i;:::-;;:::i;6386:42::-;;;;;;;;;;-1:-1:-1;6386:42:218;;;;;;;;16750:134;;;;;;;;;;;;16851:8;;;;4855:18:191;4852:30;;3028:103:126;16750:134:218;;;5835:25:350;;;5823:2;5808:18;16750:134:218;5689:177:350;8628:999:218;9128:14;;9088:330;;9128:14;;9168:31;9176:8;;9186:12;9168:7;:31::i;:::-;9221:9;9291:26;9319:14;16851:8;;;;4855:18:191;4852:30;;3028:103:126;9319:14:218;9335:10;9347:7;9356:9;9367:12;9381:8;;9251:156;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9088:12;:330::i;:::-;9446:7;9434:72;;;9455:10;9467:8;;9477:14;16851:8;;;;4855:18:191;4852:30;;3028:103:126;9477:14:218;9493:12;9434:72;;;;;;;;;;:::i;:::-;;;;;;;;9521:44;;9555:9;5835:25:350;;9543:10:218;;9521:44;;5823:2:350;5808:18;9521:44:218;;;;;;;-1:-1:-1;;9602:8:218;9600:10;;;;;;;;;;;;;;;;-1:-1:-1;;8628:999:218:o;1542:296:126:-;3111:19:25;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;3197:12;;;;;;:16;3179:34;3178:108;;;-1:-1:-1;3258:4:25;1476:19:31;:23;;;3219:66:25;;-1:-1:-1;3268:12:25;;;;;;;3284:1;3268:17;3219:66;3157:201;;;;;;;7634:2:350;3157:201:25;;;7616:21:350;7673:2;7653:18;;;7646:30;7712:34;7692:18;;;7685:62;7783:16;7763:18;;;7756:44;7817:19;;3157:201:25;;;;;;;;;3368:12;:16;;;;;;;;3394:65;;;;3428:13;:20;;;;;;;;3394:65;1651:16:126::1;:36:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;1697:6:::1;:16:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;1723:108:::1;480:42:194;1723:27:126;:108::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;;;;;3553:14;;-1:-1:-1;7999:36:350;;3553:14:25;;7987:2:350;7972:18;3553:14:25;;;;;;;3479:99;3101:483;1542:296:126;;:::o;3028:103::-;3099:16;;:25;;;;;;;;3076:4;;3099:16;;;:23;;:25;;;;;;;;;;;;;;:16;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3092:32;;3028:103;:::o;15768:250:218:-;15863:16;;15823:7;;15863:47;:16;:47;;15842:135;;;;;;;8530:2:350;15842:135:218;;;8512:21:350;8569:2;8549:18;;;8542:30;8608:34;8588:18;;;8581:62;8679:23;8659:18;;;8652:51;8720:19;;15842:135:218;8328:417:350;15842:135:218;-1:-1:-1;15995:16:218;;;;;15768:250::o;17497:894::-;17581:6;4991:5;4796:6;;4363:2;17810:49;4206:2;17810:49;;;;:::i;:::-;17809:90;;;;:::i;:::-;17707:51;4507:2;17714:8;17707:51;:::i;:::-;17643:116;;4048:7;17643:116;:::i;:::-;:257;;;;:::i;:::-;:412;;;;:::i;:::-;:587;;;;:::i;:::-;:741;;;;:::i;:::-;17599:785;17497:894;-1:-1:-1;;;;17497:894:218:o;10315:5066::-;10726:8;:6;:8::i;:::-;:17;10718:58;;;;;;;10015:2:350;10718:58:218;;;9997:21:350;10054:2;10034:18;;;10027:30;10093;10073:18;;;10066:58;10141:18;;10718:58:218;9813:352:350;10718:58:218;5444:3:191;5440:16;;;10873:1:218;10863:11;;10855:101;;;;;;;10372:2:350;10855:101:218;;;10354:21:350;10411:2;10391:18;;;10384:30;10450:34;10430:18;;;10423:62;10521:34;10501:18;;;10494:62;10593:15;10572:19;;;10565:44;10626:19;;10855:101:218;10170:481:350;10855:101:218;11158:7;:12;;11169:1;11158:12;11154:247;;11186:15;11204:68;11237:7;11246;11255:8;;11204:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11265:6:218;;-1:-1:-1;11204:32:218;;-1:-1:-1;;11204:68:218:i;:::-;11294:27;;;;:18;:27;;;;;;11186:86;;-1:-1:-1;11294:27:218;;:36;11286:104;;;;;;;10858:2:350;11286:104:218;;;10840:21:350;10897:2;10877:18;;;10870:30;10936:34;10916:18;;;10909:62;11007:25;10987:18;;;10980:53;11050:19;;11286:104:218;10656:419:350;11286:104:218;11172:229;11154:247;11571:21;11607:90;11640:6;11648:7;11657;11666:6;11674:12;11688:8;;11607:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11607:32:218;;-1:-1:-1;;;11607:90:218:i;:::-;11571:126;;11712:19;:17;:19::i;:::-;11708:506;;;11901:6;11888:9;:19;11881:27;;;;:::i;:::-;11930:29;;;;:14;:29;;;;;;;;11929:30;11922:38;;;;:::i;:::-;11708:506;;;11999:9;:14;11991:107;;;;;;;11471:2:350;11991:107:218;;;11453:21:350;11510:2;11490:18;;;11483:30;11549:34;11529:18;;;11522:62;11620:34;11600:18;;;11593:62;11692:18;11671:19;;;11664:47;11728:19;;11991:107:218;11269:484:350;11991:107:218;12121:29;;;;:14;:29;;;;;;;;12113:90;;;;;;;11960:2:350;12113:90:218;;;11942:21:350;11999:2;11979:18;;;11972:30;12038:34;12018:18;;;12011:62;12109:18;12089;;;12082:46;12145:19;;12113:90:218;11758:412:350;12113:90:218;12245:24;12261:7;12245:15;:24::i;:::-;:33;12224:135;;;;;;;12377:2:350;12224:135:218;;;12359:21:350;12416:2;12396:18;;;12389:30;12455:34;12435:18;;;12428:62;12526:34;12506:18;;;12499:62;12598:5;12577:19;;;12570:34;12621:19;;12224:135:218;12175:471:350;12224:135:218;12378:33;;;;:18;:33;;;;;;;;:42;12370:109;;;;;;;12853:2:350;12370:109:218;;;12835:21:350;12892:2;12872:18;;;12865:30;12931:34;12911:18;;;12904:62;13002:24;12982:18;;;12975:52;13044:19;;12370:109:218;12651:418:350;12370:109:218;13173:77;13192:12;13206:43;4991:5;4796:6;13206:43;:::i;:::-;13173:77;;:18;:77::i;:::-;13172:78;:145;;;-1:-1:-1;13270:16:218;;:47;:16;1338:42:188;13270:47:218;;13172:145;13155:919;;;13342:29;;;;:14;:29;;;;;;:36;;;;13374:4;13342:36;;;13397:35;13357:13;;13397:35;;;13912:41;:9;:41;13908:135;;13973:55;;;;;13276:2:350;13973:55:218;;;13258:21:350;13315:2;13295:18;;;13288:30;13354:34;13334:18;;;13327:62;13425:15;13405:18;;;13398:43;13458:19;;13973:55:218;13074:409:350;13908:135:218;14057:7;;;;13155:919;14084:16;:26;;;;;;;;;;-1:-1:-1;14135:72:218;14149:7;4796:6;14158:9;:30;;;;:::i;:::-;14190:6;14198:8;;14135:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14135:13:218;;-1:-1:-1;;;14135:72:218:i;:::-;14217:16;:46;;;;1338:42:188;14217:46:218;;;14120:87;-1:-1:-1;14274:1101:218;;;;14488:33;;;;:18;:33;;;;;;;;:42;14481:50;;;;:::i;:::-;14545:33;;;;:18;:33;;;;;;:40;;;;14581:4;14545:40;;;14604:29;14564:13;;14604:29;;;14274:1101;;;14664:29;;;;:14;:29;;;;;;:36;;;;14696:4;14664:36;;;14719:35;14679:13;;14719:35;;;15234:41;:9;:41;15230:135;;15295:55;;;;;13276:2:350;15295:55:218;;;13258:21:350;13315:2;13295:18;;;13288:30;13354:34;13334:18;;;13327:62;13425:15;13405:18;;;13398:43;13458:19;;15295:55:218;13074:409:350;15230:135:218;10541:4840;;;10315:5066;;;;;;;;:::o;1186:320:31:-;1476:19;;;:23;;;1186:320::o;2241::126:-;2358:6;;:196;;;;;:6;;;;;:25;;2392:6;;2358:196;;2420:3;;2392:6;;2476:9;;2358:6;;2538:5;;2358:196;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2241:320;;;;:::o;18507:636:218:-;4910:13:25;;;;;;;4902:69;;;;;;;14412:2:350;4902:69:25;;;14394:21:350;14451:2;14431:18;;;14424:30;14490:34;14470:18;;;14463:62;14561:13;14541:18;;;14534:41;14592:19;;4902:69:25;14210:407:350;4902:69:25;18992:16:218::1;::::0;:30:::1;:16;18988:107;;19038:16;:46:::0;;;::::1;1338:42:188;19038:46:218;::::0;;18988:107:::1;19104:14;:32:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;18507:636::o;3100:305:192:-;3289:7;3329:68;3365:7;3374;3383:5;3390:6;3329:35;:68::i;:::-;3319:79;;;;;;3312:86;;3100:305;;;;;;:::o;3877:375::-;4117:7;4157:87;4193:6;4201:7;4210;4219:6;4227:9;4238:5;4157:35;:87::i;:::-;4147:98;;;;;;4140:105;;3877:375;;;;;;;;:::o;2608:168:126:-;2714:6;;2669:4;;2714:6;;2692:10;:29;:77;;;;-1:-1:-1;2754:14:126;;2725:6;;:17;;;;;;;;2754:14;;;;;2725:6;;;;:15;;:17;;;;;;;;;;;;;;;:6;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;;;2685:84;;2608:168;:::o;2823:158::-;2897:4;2920:24;;;2939:4;2920:24;;:54;;-1:-1:-1;2967:6:126;;;2948:26;;;2967:6;;2948:26;2920:54;2913:61;2823:158;-1:-1:-1;;2823:158:126:o;3615:365:195:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:195:o;1202:536::-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:195:o;3073:336:191:-;3264:12;3370:7;3379;3388:5;3395:6;3299:103;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3073:336:191;;;;;;:::o;3883:516::-;4125:12;4272:6;4292:7;4313;4334:6;4354:9;4377:5;4160:232;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3883:516:191;;;;;;;;:::o;739:154:350:-;825:42;818:5;814:54;807:5;804:65;794:93;;883:1;880;873:12;794:93;739:154;:::o;898:347::-;949:8;959:6;1013:3;1006:4;998:6;994:17;990:27;980:55;;1031:1;1028;1021:12;980:55;-1:-1:-1;1054:20:350;;1097:18;1086:30;;1083:50;;;1129:1;1126;1119:12;1083:50;1166:4;1158:6;1154:17;1142:29;;1218:3;1211:4;1202:6;1194;1190:19;1186:30;1183:39;1180:59;;;1235:1;1232;1225:12;1180:59;898:347;;;;;:::o;1250:163::-;1317:20;;1377:10;1366:22;;1356:33;;1346:61;;1403:1;1400;1393:12;1346:61;1250:163;;;:::o;1418:616::-;1505:6;1513;1521;1529;1582:2;1570:9;1561:7;1557:23;1553:32;1550:52;;;1598:1;1595;1588:12;1550:52;1637:9;1624:23;1656:31;1681:5;1656:31;:::i;:::-;1706:5;-1:-1:-1;1762:2:350;1747:18;;1734:32;1789:18;1778:30;;1775:50;;;1821:1;1818;1811:12;1775:50;1860:58;1910:7;1901:6;1890:9;1886:22;1860:58;:::i;:::-;1937:8;;-1:-1:-1;1834:84:350;-1:-1:-1;1991:37:350;;-1:-1:-1;2024:2:350;2009:18;;1991:37;:::i;:::-;1981:47;;1418:616;;;;;;;:::o;2232:438::-;2350:6;2358;2411:2;2399:9;2390:7;2386:23;2382:32;2379:52;;;2427:1;2424;2417:12;2379:52;2466:9;2453:23;2485:31;2510:5;2485:31;:::i;:::-;2535:5;-1:-1:-1;2592:2:350;2577:18;;2564:32;2605:33;2564:32;2605:33;:::i;:::-;2657:7;2647:17;;;2232:438;;;;;:::o;2675:531::-;2717:3;2755:5;2749:12;2782:6;2777:3;2770:19;2807:1;2817:162;2831:6;2828:1;2825:13;2817:162;;;2893:4;2949:13;;;2945:22;;2939:29;2921:11;;;2917:20;;2910:59;2846:12;2817:162;;;2997:6;2994:1;2991:13;2988:87;;;3063:1;3056:4;3047:6;3042:3;3038:16;3034:27;3027:38;2988:87;-1:-1:-1;3120:2:350;3108:15;3125:66;3104:88;3095:98;;;;3195:4;3091:109;;2675:531;-1:-1:-1;;2675:531:350:o;3211:220::-;3360:2;3349:9;3342:21;3323:4;3380:45;3421:2;3410:9;3406:18;3398:6;3380:45;:::i;:::-;3372:53;3211:220;-1:-1:-1;;;3211:220:350:o;4121:180::-;4180:6;4233:2;4221:9;4212:7;4208:23;4204:32;4201:52;;;4249:1;4246;4239:12;4201:52;-1:-1:-1;4272:23:350;;4121:180;-1:-1:-1;4121:180:350:o;4306:481::-;4384:6;4392;4400;4453:2;4441:9;4432:7;4428:23;4424:32;4421:52;;;4469:1;4466;4459:12;4421:52;4509:9;4496:23;4542:18;4534:6;4531:30;4528:50;;;4574:1;4571;4564:12;4528:50;4613:58;4663:7;4654:6;4643:9;4639:22;4613:58;:::i;:::-;4690:8;;-1:-1:-1;4587:84:350;-1:-1:-1;4744:37:350;;-1:-1:-1;4777:2:350;4762:18;;4744:37;:::i;:::-;4734:47;;4306:481;;;;;:::o;4792:892::-;4907:6;4915;4923;4931;4939;4947;4955;5008:3;4996:9;4987:7;4983:23;4979:33;4976:53;;;5025:1;5022;5015:12;4976:53;5061:9;5048:23;5038:33;;5121:2;5110:9;5106:18;5093:32;5134:31;5159:5;5134:31;:::i;:::-;5184:5;-1:-1:-1;5241:2:350;5226:18;;5213:32;5254:33;5213:32;5254:33;:::i;:::-;5306:7;-1:-1:-1;5360:2:350;5345:18;;5332:32;;-1:-1:-1;5411:3:350;5396:19;;5383:33;;-1:-1:-1;5467:3:350;5452:19;;5439:33;5495:18;5484:30;;5481:50;;;5527:1;5524;5517:12;5481:50;5566:58;5616:7;5607:6;5596:9;5592:22;5566:58;:::i;:::-;4792:892;;;;-1:-1:-1;4792:892:350;;-1:-1:-1;4792:892:350;;;;5540:84;;-1:-1:-1;;;4792:892:350:o;5871:325::-;5959:6;5954:3;5947:19;6011:6;6004:5;5997:4;5992:3;5988:14;5975:43;;6063:1;6056:4;6047:6;6042:3;6038:16;6034:27;6027:38;5929:3;6185:4;6115:66;6110:2;6102:6;6098:15;6094:88;6089:3;6085:98;6081:109;6074:116;;5871:325;;;;:::o;6201:697::-;6496:6;6485:9;6478:25;6459:4;6522:42;6612:2;6604:6;6600:15;6595:2;6584:9;6580:18;6573:43;6664:2;6656:6;6652:15;6647:2;6636:9;6632:18;6625:43;;6704:6;6699:2;6688:9;6684:18;6677:34;6760:10;6752:6;6748:23;6742:3;6731:9;6727:19;6720:52;6809:3;6803;6792:9;6788:19;6781:32;6830:62;6887:3;6876:9;6872:19;6864:6;6856;6830:62;:::i;:::-;6822:70;6201:697;-1:-1:-1;;;;;;;;;6201:697:350:o;6903:524::-;7155:42;7147:6;7143:55;7132:9;7125:74;7235:3;7230:2;7219:9;7215:18;7208:31;7106:4;7256:62;7313:3;7302:9;7298:19;7290:6;7282;7256:62;:::i;:::-;7248:70;;7354:6;7349:2;7338:9;7334:18;7327:34;7409:10;7401:6;7397:23;7392:2;7381:9;7377:18;7370:51;6903:524;;;;;;;;:::o;8046:277::-;8113:6;8166:2;8154:9;8145:7;8141:23;8137:32;8134:52;;;8182:1;8179;8172:12;8134:52;8214:9;8208:16;8267:5;8260:13;8253:21;8246:5;8243:32;8233:60;;8289:1;8286;8279:12;8750:184;8802:77;8799:1;8792:88;8899:4;8896:1;8889:15;8923:4;8920:1;8913:15;8939:270;8978:7;9010:18;9055:2;9052:1;9048:10;9085:2;9082:1;9078:10;9141:3;9137:2;9133:12;9128:3;9125:21;9118:3;9111:11;9104:19;9100:47;9097:73;;;9150:18;;:::i;:::-;9190:13;;8939:270;-1:-1:-1;;;;8939:270:350:o;9214:353::-;9253:1;9279:18;9324:2;9321:1;9317:10;9346:3;9336:191;;9383:77;9380:1;9373:88;9484:4;9481:1;9474:15;9512:4;9509:1;9502:15;9336:191;9545:10;;9541:20;;;;;9214:353;-1:-1:-1;;9214:353:350:o;9572:236::-;9611:3;9639:18;9684:2;9681:1;9677:10;9714:2;9711:1;9707:10;9745:3;9741:2;9737:12;9732:3;9729:21;9726:47;;;9753:18;;:::i;:::-;9789:13;;9572:236;-1:-1:-1;;;;9572:236:350:o;11080:184::-;11132:77;11129:1;11122:88;11229:4;11226:1;11219:15;11253:4;11250:1;11243:15;13488:125;13528:4;13556:1;13553;13550:8;13547:34;;;13561:18;;:::i;:::-;-1:-1:-1;13598:9:350;;13488:125::o;13618:587::-;13881:42;13873:6;13869:55;13858:9;13851:74;13961:6;13956:2;13945:9;13941:18;13934:34;14016:18;14008:6;14004:31;13999:2;13988:9;13984:18;13977:59;14086:6;14079:14;14072:22;14067:2;14056:9;14052:18;14045:50;14132:3;14126;14115:9;14111:19;14104:32;13832:4;14153:46;14194:3;14183:9;14179:19;14171:6;14153:46;:::i;:::-;14145:54;13618:587;-1:-1:-1;;;;;;;13618:587:350:o;14622:251::-;14692:6;14745:2;14733:9;14724:7;14720:23;14716:32;14713:52;;;14761:1;14758;14751:12;14713:52;14793:9;14787:16;14812:31;14837:5;14812:31;:::i;14878:512::-;15072:4;15101:42;15182:2;15174:6;15170:15;15159:9;15152:34;15234:2;15226:6;15222:15;15217:2;15206:9;15202:18;15195:43;;15274:3;15269:2;15258:9;15254:18;15247:31;15295:46;15336:3;15325:9;15321:19;15313:6;15295:46;:::i;:::-;15287:54;;15377:6;15372:2;15361:9;15357:18;15350:34;14878:512;;;;;;;:::o;15395:656::-;15682:6;15671:9;15664:25;15645:4;15708:42;15798:2;15790:6;15786:15;15781:2;15770:9;15766:18;15759:43;15850:2;15842:6;15838:15;15833:2;15822:9;15818:18;15811:43;;15890:6;15885:2;15874:9;15870:18;15863:34;15934:6;15928:3;15917:9;15913:19;15906:35;15978:3;15972;15961:9;15957:19;15950:32;15999:46;16040:3;16029:9;16025:19;16017:6;15999:46;:::i;:::-;15991:54;15395:656;-1:-1:-1;;;;;;;;15395:656:350:o",linkReferences:{}},methodIdentifiers:{"MESSAGE_VERSION()":"3f827a5a","MIN_GAS_CALLDATA_OVERHEAD()":"028f85f7","MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":"0c568498","MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":"2828d7e8","OTHER_MESSENGER()":"9fce812c","PORTAL()":"0ff754ea","RELAY_CALL_OVERHEAD()":"4c1d6a69","RELAY_CONSTANT_OVERHEAD()":"83a74074","RELAY_GAS_CHECK_BUFFER()":"5644cfdf","RELAY_RESERVED_GAS()":"8cbeeef2","baseGas(bytes,uint32)":"b28ade25","failedMessages(bytes32)":"a4e7f8bd","initialize(address,address)":"485cc955","messageNonce()":"ecc70428","otherMessenger()":"db505d80","paused()":"5c975abb","portal()":"6425666b","relayMessage(uint256,address,address,uint256,uint256,bytes)":"d764ad0b","sendMessage(address,bytes,uint32)":"3dbb202b","successfulMessages(bytes32)":"b1b1b209","superchainConfig()":"35e80ab3","version()":"54fd4d50","xDomainMessageSender()":"6e296e45"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"FailedRelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"RelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"bytes","name":"message","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"messageNonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"gasLimit","type":"uint256"}],"name":"SentMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SentMessageExtension1","type":"event"},{"inputs":[],"name":"MESSAGE_VERSION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_CALLDATA_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PORTAL","outputs":[{"internalType":"contract OptimismPortal","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CALL_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CONSTANT_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_GAS_CHECK_BUFFER","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_RESERVED_GAS","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"baseGas","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"failedMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"},{"internalType":"contract OptimismPortal","name":"_portal","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"messageNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherMessenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"portal","outputs":[{"internalType":"contract OptimismPortal","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_minGasLimit","type":"uint256"},{"internalType":"bytes","name":"_message","type":"bytes"}],"name":"relayMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"sendMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"successfulMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"xDomainMessageSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@title L1CrossDomainMessenger","kind":"dev","methods":{"OTHER_MESSENGER()":{"custom:legacy":"","returns":{"_0":"CrossDomainMessenger contract on the other chain."}},"PORTAL()":{"custom:legacy":"","returns":{"_0":"Contract of the OptimismPortal on this chain."}},"baseGas(bytes,uint32)":{"params":{"_message":"Message to compute the amount of required gas for.","_minGasLimit":"Minimum desired gas limit when message goes to target."},"returns":{"_0":"Amount of gas required to guarantee message receipt."}},"initialize(address,address)":{"params":{"_portal":"Contract of the OptimismPortal contract on this network.","_superchainConfig":"Contract of the SuperchainConfig contract on this network."}},"messageNonce()":{"returns":{"_0":"Nonce of the next message to be sent, with added message version."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"params":{"_message":"Message to send to the target.","_minGasLimit":"Minimum amount of gas that the message can be executed with.","_nonce":"Nonce of the message being relayed.","_sender":"Address of the user who sent the message.","_target":"Address that the message is targeted at.","_value":"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{"params":{"_message":"Message to trigger the target address with.","_minGasLimit":"Minimum gas limit that the message can be executed with.","_target":"Target contract or wallet address."}},"xDomainMessageSender()":{"returns":{"_0":"Address of the sender of the currently executing message on the other chain."}}},"stateVariables":{"portal":{"custom:network-specific":""},"version":{"custom:semver":"2.3.0"}},"version":1},"userdoc":{"events":{"FailedRelayedMessage(bytes32)":{"notice":"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{"notice":"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{"notice":"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{"notice":"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},"kind":"user","methods":{"MESSAGE_VERSION()":{"notice":"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{"notice":"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{"notice":"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{"notice":"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{"notice":"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"PORTAL()":{"notice":"Getter function for the OptimismPortal contract on this chain. Public getter is legacy and will be removed in the future. Use `portal()` instead."},"RELAY_CALL_OVERHEAD()":{"notice":"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{"notice":"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{"notice":"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{"notice":"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{"notice":"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},"constructor":{"notice":"Constructs the L1CrossDomainMessenger contract."},"failedMessages(bytes32)":{"notice":"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address,address)":{"notice":"Initializes the contract."},"messageNonce()":{"notice":"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{"notice":"CrossDomainMessenger contract on the other chain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"portal()":{"notice":"Contract of the OptimismPortal."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"notice":"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{"notice":"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{"notice":"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"superchainConfig()":{"notice":"Contract of the SuperchainConfig."},"version()":{"notice":"Semantic version."},"xDomainMessageSender()":{"notice":"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},"notice":"The L1CrossDomainMessenger is a message passing interface between L1 and L2 responsible for sending and receiving data on the L1 side. Users are encouraged to use this interface instead of interacting with lower-level contracts directly.","version":1}},"settings":{"compilationTarget":{"src/L1/L1CrossDomainMessenger.sol":"L1CrossDomainMessenger"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1CrossDomainMessenger.sol":{"keccak256":"0x1a93450f3f9e2262b32e7831709b01d4491befb79a90cc24509b569103674e06","license":"MIT","urls":["bzz-raw://2896f906f07fb6ceb7fea3cb31a10b8289db628142cb0612d9890d62bce265b1","dweb:/ipfs/QmYGAMecafbcT4LRBbDCYFj6mPCa3u5hNGUq2tfjWU3s18"]},"src/L1/L2OutputOracle.sol":{"keccak256":"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42","license":"MIT","urls":["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"]},"src/L1/OptimismPortal.sol":{"keccak256":"0x9a8aa4a07a40af3a3273d9398306bd131bf5ef3e06df4d8ad9e4e164800bbca6","license":"MIT","urls":["bzz-raw://c4238a2f5beb466f72332046e1281c137f3098e266495230baec7cde0ec64fe0","dweb:/ipfs/QmYg4Sm3AU4QZkhBE3AgwDyyCsSm5eEM86w3F4LEYDJ9Ze"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L1/SystemConfig.sol":{"keccak256":"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a","license":"MIT","urls":["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Bytes.sol":{"keccak256":"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859","license":"MIT","urls":["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPReader.sol":{"keccak256":"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb","license":"MIT","urls":["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/libraries/trie/MerkleTrie.sol":{"keccak256":"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c","license":"MIT","urls":["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"]},"src/libraries/trie/SecureMerkleTrie.sol":{"keccak256":"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288","license":"MIT","urls":["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"FailedRelayedMessage",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"RelayedMessage",anonymous:!1},{inputs:[{internalType:"address",name:"target",type:"address",indexed:!0},{internalType:"address",name:"sender",type:"address",indexed:!1},{internalType:"bytes",name:"message",type:"bytes",indexed:!1},{internalType:"uint256",name:"messageNonce",type:"uint256",indexed:!1},{internalType:"uint256",name:"gasLimit",type:"uint256",indexed:!1}],type:"event",name:"SentMessage",anonymous:!1},{inputs:[{internalType:"address",name:"sender",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"SentMessageExtension1",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSAGE_VERSION",outputs:[{internalType:"uint16",name:"",type:"uint16"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"PORTAL",outputs:[{internalType:"contract OptimismPortal",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CALL_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CONSTANT_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_GAS_CHECK_BUFFER",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_RESERVED_GAS",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"pure",type:"function",name:"baseGas",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"failedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"},{internalType:"contract OptimismPortal",name:"_portal",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherMessenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"portal",outputs:[{internalType:"contract OptimismPortal",name:"",type:"address"}]},{inputs:[{internalType:"uint256",name:"_nonce",type:"uint256"},{internalType:"address",name:"_sender",type:"address"},{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint256",name:"_minGasLimit",type:"uint256"},{internalType:"bytes",name:"_message",type:"bytes"}],stateMutability:"payable",type:"function",name:"relayMessage"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"payable",type:"function",name:"sendMessage"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}]}],devdoc:{kind:"dev",methods:{"OTHER_MESSENGER()":{"custom:legacy":"",returns:{_0:"CrossDomainMessenger contract on the other chain."}},"PORTAL()":{"custom:legacy":"",returns:{_0:"Contract of the OptimismPortal on this chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address,address)":{params:{_portal:"Contract of the OptimismPortal contract on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}},version:1},userdoc:{kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"PORTAL()":{notice:"Getter function for the OptimismPortal contract on this chain. Public getter is legacy and will be removed in the future. Use `portal()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L1CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address,address)":{notice:"Initializes the contract."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"portal()":{notice:"Contract of the OptimismPortal."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"superchainConfig()":{notice:"Contract of the SuperchainConfig."},"version()":{notice:"Semantic version."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L1CrossDomainMessenger.sol":"L1CrossDomainMessenger"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1CrossDomainMessenger.sol":{keccak256:"0x1a93450f3f9e2262b32e7831709b01d4491befb79a90cc24509b569103674e06",urls:["bzz-raw://2896f906f07fb6ceb7fea3cb31a10b8289db628142cb0612d9890d62bce265b1","dweb:/ipfs/QmYGAMecafbcT4LRBbDCYFj6mPCa3u5hNGUq2tfjWU3s18"],license:"MIT"},"src/L1/L2OutputOracle.sol":{keccak256:"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42",urls:["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"],license:"MIT"},"src/L1/OptimismPortal.sol":{keccak256:"0x9a8aa4a07a40af3a3273d9398306bd131bf5ef3e06df4d8ad9e4e164800bbca6",urls:["bzz-raw://c4238a2f5beb466f72332046e1281c137f3098e266495230baec7cde0ec64fe0","dweb:/ipfs/QmYg4Sm3AU4QZkhBE3AgwDyyCsSm5eEM86w3F4LEYDJ9Ze"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L1/SystemConfig.sol":{keccak256:"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a",urls:["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Bytes.sol":{keccak256:"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859",urls:["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPReader.sol":{keccak256:"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb",urls:["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/libraries/trie/MerkleTrie.sol":{keccak256:"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c",urls:["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"],license:"MIT"},"src/libraries/trie/SecureMerkleTrie.sol":{keccak256:"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288",urls:["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:104934,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_0_0_20",offset:0,slot:"0",type:"t_address"},{astId:45313,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"_initialized",offset:20,slot:"0",type:"t_uint8"},{astId:45316,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"_initializing",offset:21,slot:"0",type:"t_bool"},{astId:104941,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_1_0_1600",offset:0,slot:"1",type:"t_array(t_uint256)50_storage"},{astId:104944,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_51_0_20",offset:0,slot:"51",type:"t_address"},{astId:104949,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_52_0_1568",offset:0,slot:"52",type:"t_array(t_uint256)49_storage"},{astId:104952,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_101_0_1",offset:0,slot:"101",type:"t_bool"},{astId:104957,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_102_0_1568",offset:0,slot:"102",type:"t_array(t_uint256)49_storage"},{astId:104960,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_151_0_32",offset:0,slot:"151",type:"t_uint256"},{astId:104965,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_152_0_1568",offset:0,slot:"152",type:"t_array(t_uint256)49_storage"},{astId:104970,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_201_0_32",offset:0,slot:"201",type:"t_mapping(t_bytes32,t_bool)"},{astId:104975,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_202_0_32",offset:0,slot:"202",type:"t_mapping(t_bytes32,t_bool)"},{astId:105020,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"successfulMessages",offset:0,slot:"203",type:"t_mapping(t_bytes32,t_bool)"},{astId:105023,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"xDomainMsgSender",offset:0,slot:"204",type:"t_address"},{astId:105026,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"msgNonce",offset:0,slot:"205",type:"t_uint240"},{astId:105031,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"failedMessages",offset:0,slot:"206",type:"t_mapping(t_bytes32,t_bool)"},{astId:105035,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"otherMessenger",offset:0,slot:"207",type:"t_contract(CrossDomainMessenger)105498"},{astId:105040,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"__gap",offset:0,slot:"208",type:"t_array(t_uint256)43_storage"},{astId:81957,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"superchainConfig",offset:0,slot:"251",type:"t_contract(SuperchainConfig)85848"},{astId:81961,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"portal",offset:0,slot:"252",type:"t_contract(OptimismPortal)84108"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)43_storage":{encoding:"inplace",label:"uint256[43]",numberOfBytes:"1376",base:"t_uint256"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},"t_array(t_uint256)50_storage":{encoding:"inplace",label:"uint256[50]",numberOfBytes:"1600",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(OptimismPortal)84108":{encoding:"inplace",label:"contract OptimismPortal",numberOfBytes:"20"},"t_contract(SuperchainConfig)85848":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint240:{encoding:"inplace",label:"uint240",numberOfBytes:"30"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"PORTAL()":{notice:"Getter function for the OptimismPortal contract on this chain. Public getter is legacy and will be removed in the future. Use `portal()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L1CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address,address)":{notice:"Initializes the contract."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"portal()":{notice:"Contract of the OptimismPortal."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"superchainConfig()":{notice:"Contract of the SuperchainConfig."},"version()":{notice:"Semantic version."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},events:{"FailedRelayedMessage(bytes32)":{notice:"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{notice:"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{notice:"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{notice:"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},notice:"The L1CrossDomainMessenger is a message passing interface between L1 and L2 responsible for sending and receiving data on the L1 side. Users are encouraged to use this interface instead of interacting with lower-level contracts directly."},devdoc:{version:1,kind:"dev",methods:{"OTHER_MESSENGER()":{returns:{_0:"CrossDomainMessenger contract on the other chain."}},"PORTAL()":{returns:{_0:"Contract of the OptimismPortal on this chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address,address)":{params:{_portal:"Contract of the OptimismPortal contract on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}}},id:126}});var NKe=D((Yca,BHt)=>{BHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSAGE_VERSION",inputs:[],outputs:[{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"OTHER_MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"RELAY_CALL_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_CONSTANT_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_GAS_CHECK_BUFFER",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_RESERVED_GAS",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"baseGas",inputs:[{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"failedMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_l1CrossDomainMessenger",type:"address",internalType:"contract CrossDomainMessenger"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l1CrossDomainMessenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"messageNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"otherMessenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"relayMessage",inputs:[{name:"_nonce",type:"uint256",internalType:"uint256"},{name:"_sender",type:"address",internalType:"address"},{name:"_target",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint256",internalType:"uint256"},{name:"_message",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"sendMessage",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[],stateMutability:"payable"},{type:"function",name:"successfulMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"xDomainMessageSender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"FailedRelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"RelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"SentMessage",inputs:[{name:"target",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!1,internalType:"address"},{name:"message",type:"bytes",indexed:!1,internalType:"bytes"},{name:"messageNonce",type:"uint256",indexed:!1,internalType:"uint256"},{name:"gasLimit",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SentMessageExtension1",inputs:[{name:"sender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000239565b600054600160a81b900460ff16158080156200004d57506000546001600160a01b90910460ff16105b806200008457506200006a306200017360201b620013071760201c565b158015620000845750600054600160a01b900460ff166001145b620000ed5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff60a01b1916600160a01b17905580156200011b576000805460ff60a81b1916600160a81b1790555b620001268262000182565b80156200016f576000805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054600160a81b900460ff16620001f15760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000e4565b60cc546001600160a01b0316620002175760cc80546001600160a01b03191661dead1790555b60cf80546001600160a01b0319166001600160a01b0392909216919091179055565b611c8280620002496000396000f3fe60806040526004361061016a5760003560e01c806383a74074116100cb578063b1b1b2091161007f578063d764ad0b11610059578063d764ad0b146103c7578063db505d80146103da578063ecc704281461040757600080fd5b8063b1b1b20914610357578063b28ade2514610387578063c4d66de8146103a757600080fd5b80639fce812c116100b05780639fce812c146102fc578063a4e7f8bd14610327578063a7119869146102fc57600080fd5b806383a74074146102e55780638cbeeef21461020957600080fd5b80634c1d6a69116101225780635644cfdf116101075780635644cfdf146102755780635c975abb1461028b5780636e296e45146102ab57600080fd5b80634c1d6a691461020957806354fd4d501461021f57600080fd5b80632828d7e8116101535780632828d7e8146101b75780633dbb202b146101cc5780633f827a5a146101e157600080fd5b8063028f85f71461016f5780630c568498146101a2575b600080fd5b34801561017b57600080fd5b50610184601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101ae57600080fd5b50610184603f81565b3480156101c357600080fd5b50610184604081565b6101df6101da36600461177b565b61046c565b005b3480156101ed57600080fd5b506101f6600181565b60405161ffff9091168152602001610199565b34801561021557600080fd5b50610184619c4081565b34801561022b57600080fd5b506102686040518060400160405280600581526020017f322e302e3000000000000000000000000000000000000000000000000000000081525081565b604051610199919061184d565b34801561028157600080fd5b5061018461138881565b34801561029757600080fd5b5060005b6040519015158152602001610199565b3480156102b757600080fd5b506102c06106c9565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610199565b3480156102f157600080fd5b5061018462030d4081565b34801561030857600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166102c0565b34801561033357600080fd5b5061029b610342366004611867565b60ce6020526000908152604090205460ff1681565b34801561036357600080fd5b5061029b610372366004611867565b60cb6020526000908152604090205460ff1681565b34801561039357600080fd5b506101846103a2366004611880565b6107b5565b3480156103b357600080fd5b506101df6103c23660046118d4565b610823565b6101df6103d53660046118f1565b610a22565b3480156103e657600080fd5b5060cf546102c09073ffffffffffffffffffffffffffffffffffffffff1681565b34801561041357600080fd5b5061045e60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b604051908152602001610199565b60cf5461059e9073ffffffffffffffffffffffffffffffffffffffff166104948585856107b5565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061050060cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c60405160240161051c97969594939291906119c0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611323565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33858561062360cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b86604051610635959493929190611a1f565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f7420736574000000000000000000000060648201526084015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f6107d1604063ffffffff8816611a9c565b6107db9190611acc565b6107e6601088611a9c565b6107f39062030d40611b1a565b6107fd9190611b1a565b6108079190611b1a565b6108119190611b1a565b61081b9190611b1a565b949350505050565b6000547501000000000000000000000000000000000000000000900460ff161580801561086e575060005460017401000000000000000000000000000000000000000090910460ff16105b806108a05750303b1580156108a0575060005474010000000000000000000000000000000000000000900460ff166001145b61092c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161078f565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156109b257600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b6109bb826113b1565b8015610a1e57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60f087901c60028110610add576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161078f565b8061ffff16600003610bd2576000610b2e878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506114ed915050565b600081815260cb602052604090205490915060ff1615610bd0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161078f565b505b6000610c18898989898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061150c92505050565b9050610c6160cf54337fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef0173ffffffffffffffffffffffffffffffffffffffff90811691161490565b15610c9957853414610c7557610c75611b46565b600081815260ce602052604090205460ff1615610c9457610c94611b46565b610deb565b3415610d4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161078f565b600081815260ce602052604090205460ff16610deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161078f565b610df48761152f565b15610ea7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161078f565b600081815260cb602052604090205460ff1615610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161078f565b610f6785610f58611388619c40611b1a565b67ffffffffffffffff16611584565b1580610f8d575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b156110a657600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b50506112fe565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061113788619c405a6110fa9190611b75565b8988888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115a292505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156111ed57600082815260cb602052604090205460ff161561118a5761118a611b46565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26112fa565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016112fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b6040517fc2b3e5ac0000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000169063c2b3e5ac90849061137990889088908790600401611b8c565b6000604051808303818588803b15801561139257600080fd5b505af11580156113a6573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff1661145c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161078f565b60cc5473ffffffffffffffffffffffffffffffffffffffff166114a65760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006114fb858585856115bc565b805190602001209050949350505050565b600061151c878787878787611655565b8051906020012090509695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff821630148061157e575073ffffffffffffffffffffffffffffffffffffffff8216734200000000000000000000000000000000000016145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b6060848484846040516024016115d59493929190611bd4565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161167296959493929190611c1e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461171657600080fd5b50565b60008083601f84011261172b57600080fd5b50813567ffffffffffffffff81111561174357600080fd5b60208301915083602082850101111561175b57600080fd5b9250929050565b803563ffffffff8116811461177657600080fd5b919050565b6000806000806060858703121561179157600080fd5b843561179c816116f4565b9350602085013567ffffffffffffffff8111156117b857600080fd5b6117c487828801611719565b90945092506117d7905060408601611762565b905092959194509250565b6000815180845260005b81811015611808576020818501810151868301820152016117ec565b8181111561181a576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061186060208301846117e2565b9392505050565b60006020828403121561187957600080fd5b5035919050565b60008060006040848603121561189557600080fd5b833567ffffffffffffffff8111156118ac57600080fd5b6118b886828701611719565b90945092506118cb905060208501611762565b90509250925092565b6000602082840312156118e657600080fd5b8135611860816116f4565b600080600080600080600060c0888a03121561190c57600080fd5b87359650602088013561191e816116f4565b9550604088013561192e816116f4565b9450606088013593506080880135925060a088013567ffffffffffffffff81111561195857600080fd5b6119648a828b01611719565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611a1260c083018486611977565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611a4f608083018688611977565b905083604083015263ffffffff831660608301529695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611ac357611ac3611a6d565b02949350505050565b600067ffffffffffffffff80841680611b0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611b3d57611b3d611a6d565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611b8757611b87611a6d565b500390565b73ffffffffffffffffffffffffffffffffffffffff8416815267ffffffffffffffff83166020820152606060408201526000611bcb60608301846117e2565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611c0d60808301856117e2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611c6960c08301846117e2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"812:1752:143:-:0;;;1023:127;;;;;;;;;-1:-1:-1;1070:73:143::1;1137:1;1070:10;:73::i;:::-;812:1752:::0;;1278:175;3111:19:25;3134:13;-1:-1:-1;;;3134:13:25;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;-1:-1:-1;;;3197:12:25;;;;;:16;3179:34;3178:108;;;;3220:44;3258:4;3220:29;;;;;:44;;:::i;:::-;3219:45;:66;;;;-1:-1:-1;3268:12:25;;-1:-1:-1;;;3268:12:25;;;;3284:1;3268:17;3219:66;3157:201;;;;-1:-1:-1;;;3157:201:25;;216:2:350;3157:201:25;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3157:201:25;;;;;;;;;3368:12;:16;;-1:-1:-1;;;;3368:16:25;-1:-1:-1;;;3368:16:25;;;3394:65;;;;3428:13;:20;;-1:-1:-1;;;;3428:20:25;-1:-1:-1;;;3428:20:25;;;3394:65;1373:73:143::1;1420:23:::0;1373:27:::1;:73::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;-1:-1:-1;;;;3513:21:25;;;3553:14;;-1:-1:-1;581:36:350;;3553:14:25;;569:2:350;554:18;3553:14:25;;;;;;;3479:99;3101:483;1278:175:143;:::o;1186:320:31:-;-1:-1:-1;;;;;1476:19:31;;:23;;;1186:320::o;18507:636:218:-;4910:13:25;;-1:-1:-1;;;4910:13:25;;;;4902:69;;;;-1:-1:-1;;;4902:69:25;;830:2:350;4902:69:25;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4902:69:25;628:407:350;4902:69:25;18992:16:218::1;::::0;-1:-1:-1;;;;;18992:16:218::1;18988:107;;19038:16;:46:::0;;-1:-1:-1;;;;;;19038:46:218::1;1338:42:188;19038:46:218;::::0;;18988:107:::1;19104:14;:32:::0;;-1:-1:-1;;;;;;19104:32:218::1;-1:-1:-1::0;;;;;19104:32:218;;;::::1;::::0;;;::::1;::::0;;18507:636::o;628:407:350:-;812:1752:143;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061016a5760003560e01c806383a74074116100cb578063b1b1b2091161007f578063d764ad0b11610059578063d764ad0b146103c7578063db505d80146103da578063ecc704281461040757600080fd5b8063b1b1b20914610357578063b28ade2514610387578063c4d66de8146103a757600080fd5b80639fce812c116100b05780639fce812c146102fc578063a4e7f8bd14610327578063a7119869146102fc57600080fd5b806383a74074146102e55780638cbeeef21461020957600080fd5b80634c1d6a69116101225780635644cfdf116101075780635644cfdf146102755780635c975abb1461028b5780636e296e45146102ab57600080fd5b80634c1d6a691461020957806354fd4d501461021f57600080fd5b80632828d7e8116101535780632828d7e8146101b75780633dbb202b146101cc5780633f827a5a146101e157600080fd5b8063028f85f71461016f5780630c568498146101a2575b600080fd5b34801561017b57600080fd5b50610184601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101ae57600080fd5b50610184603f81565b3480156101c357600080fd5b50610184604081565b6101df6101da36600461177b565b61046c565b005b3480156101ed57600080fd5b506101f6600181565b60405161ffff9091168152602001610199565b34801561021557600080fd5b50610184619c4081565b34801561022b57600080fd5b506102686040518060400160405280600581526020017f322e302e3000000000000000000000000000000000000000000000000000000081525081565b604051610199919061184d565b34801561028157600080fd5b5061018461138881565b34801561029757600080fd5b5060005b6040519015158152602001610199565b3480156102b757600080fd5b506102c06106c9565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610199565b3480156102f157600080fd5b5061018462030d4081565b34801561030857600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166102c0565b34801561033357600080fd5b5061029b610342366004611867565b60ce6020526000908152604090205460ff1681565b34801561036357600080fd5b5061029b610372366004611867565b60cb6020526000908152604090205460ff1681565b34801561039357600080fd5b506101846103a2366004611880565b6107b5565b3480156103b357600080fd5b506101df6103c23660046118d4565b610823565b6101df6103d53660046118f1565b610a22565b3480156103e657600080fd5b5060cf546102c09073ffffffffffffffffffffffffffffffffffffffff1681565b34801561041357600080fd5b5061045e60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b604051908152602001610199565b60cf5461059e9073ffffffffffffffffffffffffffffffffffffffff166104948585856107b5565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061050060cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c60405160240161051c97969594939291906119c0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611323565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33858561062360cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b86604051610635959493929190611a1f565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f7420736574000000000000000000000060648201526084015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f6107d1604063ffffffff8816611a9c565b6107db9190611acc565b6107e6601088611a9c565b6107f39062030d40611b1a565b6107fd9190611b1a565b6108079190611b1a565b6108119190611b1a565b61081b9190611b1a565b949350505050565b6000547501000000000000000000000000000000000000000000900460ff161580801561086e575060005460017401000000000000000000000000000000000000000090910460ff16105b806108a05750303b1580156108a0575060005474010000000000000000000000000000000000000000900460ff166001145b61092c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161078f565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156109b257600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b6109bb826113b1565b8015610a1e57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60f087901c60028110610add576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161078f565b8061ffff16600003610bd2576000610b2e878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506114ed915050565b600081815260cb602052604090205490915060ff1615610bd0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161078f565b505b6000610c18898989898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061150c92505050565b9050610c6160cf54337fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef0173ffffffffffffffffffffffffffffffffffffffff90811691161490565b15610c9957853414610c7557610c75611b46565b600081815260ce602052604090205460ff1615610c9457610c94611b46565b610deb565b3415610d4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161078f565b600081815260ce602052604090205460ff16610deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161078f565b610df48761152f565b15610ea7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161078f565b600081815260cb602052604090205460ff1615610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161078f565b610f6785610f58611388619c40611b1a565b67ffffffffffffffff16611584565b1580610f8d575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b156110a657600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b50506112fe565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061113788619c405a6110fa9190611b75565b8988888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115a292505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156111ed57600082815260cb602052604090205460ff161561118a5761118a611b46565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26112fa565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016112fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b6040517fc2b3e5ac0000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000169063c2b3e5ac90849061137990889088908790600401611b8c565b6000604051808303818588803b15801561139257600080fd5b505af11580156113a6573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff1661145c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161078f565b60cc5473ffffffffffffffffffffffffffffffffffffffff166114a65760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006114fb858585856115bc565b805190602001209050949350505050565b600061151c878787878787611655565b8051906020012090509695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff821630148061157e575073ffffffffffffffffffffffffffffffffffffffff8216734200000000000000000000000000000000000016145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b6060848484846040516024016115d59493929190611bd4565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161167296959493929190611c1e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461171657600080fd5b50565b60008083601f84011261172b57600080fd5b50813567ffffffffffffffff81111561174357600080fd5b60208301915083602082850101111561175b57600080fd5b9250929050565b803563ffffffff8116811461177657600080fd5b919050565b6000806000806060858703121561179157600080fd5b843561179c816116f4565b9350602085013567ffffffffffffffff8111156117b857600080fd5b6117c487828801611719565b90945092506117d7905060408601611762565b905092959194509250565b6000815180845260005b81811015611808576020818501810151868301820152016117ec565b8181111561181a576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061186060208301846117e2565b9392505050565b60006020828403121561187957600080fd5b5035919050565b60008060006040848603121561189557600080fd5b833567ffffffffffffffff8111156118ac57600080fd5b6118b886828701611719565b90945092506118cb905060208501611762565b90509250925092565b6000602082840312156118e657600080fd5b8135611860816116f4565b600080600080600080600060c0888a03121561190c57600080fd5b87359650602088013561191e816116f4565b9550604088013561192e816116f4565b9450606088013593506080880135925060a088013567ffffffffffffffff81111561195857600080fd5b6119648a828b01611719565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611a1260c083018486611977565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611a4f608083018688611977565b905083604083015263ffffffff831660608301529695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611ac357611ac3611a6d565b02949350505050565b600067ffffffffffffffff80841680611b0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611b3d57611b3d611a6d565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611b8757611b87611a6d565b500390565b73ffffffffffffffffffffffffffffffffffffffff8416815267ffffffffffffffff83166020820152606060408201526000611bcb60608301846117e2565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611c0d60808301856117e2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611c6960c08301846117e2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"812:1752:143:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4456:53:218;;;;;;;;;;;;4507:2;4456:53;;;;;188:18:350;176:31;;;158:50;;146:2;131:18;4456:53:218;;;;;;;;4301:64;;;;;;;;;;;;4363:2;4301:64;;4146:62;;;;;;;;;;;;4206:2;4146:62;;8628:999;;;;;;:::i;:::-;;:::i;:::-;;3879:42;;;;;;;;;;;;3920:1;3879:42;;;;;1693:6:350;1681:19;;;1663:38;;1651:2;1636:18;3879:42:218;1519:188:350;4597:51:218;;;;;;;;;;;;4642:6;4597:51;;912:40:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4943:53:218:-;;;;;;;;;;;;4991:5;4943:53;;21036:82;;;;;;;;;;-1:-1:-1;21083:4:218;21036:82;;;2638:14:350;;2631:22;2613:41;;2601:2;2586:18;21036:82:218;2473:187:350;15768:250:218;;;;;;;;;;;;;:::i;:::-;;;2841:42:350;2829:55;;;2811:74;;2799:2;2784:18;15768:250:218;2665:226:350;3999:56:218;;;;;;;;;;;;4048:7;3999:56;;16321:108;;;;;;;;;;-1:-1:-1;16408:14:218;;;;16321:108;;6234:46;;;;;;;;;;-1:-1:-1;6234:46:218;;;;;:::i;:::-;;;;;;;;;;;;;;;;5252:50;;;;;;;;;;-1:-1:-1;5252:50:218;;;;;:::i;:::-;;;;;;;;;;;;;;;;17497:894;;;;;;;;;;-1:-1:-1;17497:894:218;;;;;:::i;:::-;;:::i;1278:175:143:-;;;;;;;;;;-1:-1:-1;1278:175:143;;;;;:::i;:::-;;:::i;10315:5066:218:-;;;;;;:::i;:::-;;:::i;6386:42::-;;;;;;;;;;-1:-1:-1;6386:42:218;;;;;;;;16750:134;;;;;;;;;;;;16851:8;;;;4855:18:191;4852:30;;16750:134:218;;;;5155:25:350;;;5143:2;5128:18;16750:134:218;5009:177:350;8628:999:218;9128:14;;9088:330;;9128:14;;9168:31;9176:8;;9186:12;9168:7;:31::i;:::-;9221:9;9291:26;9319:14;16851:8;;;;4855:18:191;4852:30;;16750:134:218;9319:14;9335:10;9347:7;9356:9;9367:12;9381:8;;9251:156;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9088:12;:330::i;:::-;9446:7;9434:72;;;9455:10;9467:8;;9477:14;16851:8;;;;4855:18:191;4852:30;;16750:134:218;9477:14;9493:12;9434:72;;;;;;;;;;:::i;:::-;;;;;;;;9521:44;;9555:9;5155:25:350;;9543:10:218;;9521:44;;5143:2:350;5128:18;9521:44:218;;;;;;;-1:-1:-1;;9602:8:218;9600:10;;;;;;;;;;;;;;;;-1:-1:-1;;8628:999:218:o;15768:250::-;15863:16;;15823:7;;15863:47;:16;:47;;15842:135;;;;;;;6954:2:350;15842:135:218;;;6936:21:350;6993:2;6973:18;;;6966:30;7032:34;7012:18;;;7005:62;7103:23;7083:18;;;7076:51;7144:19;;15842:135:218;;;;;;;;;-1:-1:-1;15995:16:218;;;;;15768:250::o;17497:894::-;17581:6;4991:5;4796:6;;4363:2;17810:49;4206:2;17810:49;;;;:::i;:::-;17809:90;;;;:::i;:::-;17707:51;4507:2;17714:8;17707:51;:::i;:::-;17643:116;;4048:7;17643:116;:::i;:::-;:257;;;;:::i;:::-;:412;;;;:::i;:::-;:587;;;;:::i;:::-;:741;;;;:::i;:::-;17599:785;17497:894;-1:-1:-1;;;;17497:894:218:o;1278:175:143:-;3111:19:25;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;3197:12;;;;;;:16;3179:34;3178:108;;;-1:-1:-1;3258:4:25;1476:19:31;:23;;;3219:66:25;;-1:-1:-1;3268:12:25;;;;;;;3284:1;3268:17;3219:66;3157:201;;;;;;;8439:2:350;3157:201:25;;;8421:21:350;8478:2;8458:18;;;8451:30;8517:34;8497:18;;;8490:62;8588:16;8568:18;;;8561:44;8622:19;;3157:201:25;8237:410:350;3157:201:25;3368:12;:16;;;;;;;;3394:65;;;;3428:13;:20;;;;;;;;3394:65;1373:73:143::1;1420:23;1373:27;:73::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;;;;;3553:14;;-1:-1:-1;8804:36:350;;3553:14:25;;8792:2:350;8777:18;3553:14:25;;;;;;;3479:99;3101:483;1278:175:143;:::o;10315:5066:218:-;5444:3:191;5440:16;;;10873:1:218;10863:11;;10855:101;;;;;;;9410:2:350;10855:101:218;;;9392:21:350;9449:2;9429:18;;;9422:30;9488:34;9468:18;;;9461:62;9559:34;9539:18;;;9532:62;9631:15;9610:19;;;9603:44;9664:19;;10855:101:218;9208:481:350;10855:101:218;11158:7;:12;;11169:1;11158:12;11154:247;;11186:15;11204:68;11237:7;11246;11255:8;;11204:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11265:6:218;;-1:-1:-1;11204:32:218;;-1:-1:-1;;11204:68:218:i;:::-;11294:27;;;;:18;:27;;;;;;11186:86;;-1:-1:-1;11294:27:218;;:36;11286:104;;;;;;;9896:2:350;11286:104:218;;;9878:21:350;9935:2;9915:18;;;9908:30;9974:34;9954:18;;;9947:62;10045:25;10025:18;;;10018:53;10088:19;;11286:104:218;9694:419:350;11286:104:218;11172:229;11154:247;11571:21;11607:90;11640:6;11648:7;11657;11666:6;11674:12;11688:8;;11607:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11607:32:218;;-1:-1:-1;;;11607:90:218:i;:::-;11571:126;;11712:19;2307:14:143;;2284:10;1685:27:232;;2307:14:143;2249:73;;;2307:14;;2249:73;;2165:164;11712:19:218;11708:506;;;11901:6;11888:9;:19;11881:27;;;;:::i;:::-;11930:29;;;;:14;:29;;;;;;;;11929:30;11922:38;;;;:::i;:::-;11708:506;;;11999:9;:14;11991:107;;;;;;;10509:2:350;11991:107:218;;;10491:21:350;10548:2;10528:18;;;10521:30;10587:34;10567:18;;;10560:62;10658:34;10638:18;;;10631:62;10730:18;10709:19;;;10702:47;10766:19;;11991:107:218;10307:484:350;11991:107:218;12121:29;;;;:14;:29;;;;;;;;12113:90;;;;;;;10998:2:350;12113:90:218;;;10980:21:350;11037:2;11017:18;;;11010:30;11076:34;11056:18;;;11049:62;11147:18;11127;;;11120:46;11183:19;;12113:90:218;10796:412:350;12113:90:218;12245:24;12261:7;12245:15;:24::i;:::-;:33;12224:135;;;;;;;11415:2:350;12224:135:218;;;11397:21:350;11454:2;11434:18;;;11427:30;11493:34;11473:18;;;11466:62;11564:34;11544:18;;;11537:62;11636:5;11615:19;;;11608:34;11659:19;;12224:135:218;11213:471:350;12224:135:218;12378:33;;;;:18;:33;;;;;;;;:42;12370:109;;;;;;;11891:2:350;12370:109:218;;;11873:21:350;11930:2;11910:18;;;11903:30;11969:34;11949:18;;;11942:62;12040:24;12020:18;;;12013:52;12082:19;;12370:109:218;11689:418:350;12370:109:218;13173:77;13192:12;13206:43;4991:5;4796:6;13206:43;:::i;:::-;13173:77;;:18;:77::i;:::-;13172:78;:145;;;-1:-1:-1;13270:16:218;;:47;:16;1338:42:188;13270:47:218;;13172:145;13155:919;;;13342:29;;;;:14;:29;;;;;;:36;;;;13374:4;13342:36;;;13397:35;13357:13;;13397:35;;;13912:41;:9;:41;13908:135;;13973:55;;;;;12314:2:350;13973:55:218;;;12296:21:350;12353:2;12333:18;;;12326:30;12392:34;12372:18;;;12365:62;12463:15;12443:18;;;12436:43;12496:19;;13973:55:218;12112:409:350;13908:135:218;14057:7;;;;13155:919;14084:16;:26;;;;;;;;;;-1:-1:-1;14135:72:218;14149:7;4796:6;14158:9;:30;;;;:::i;:::-;14190:6;14198:8;;14135:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14135:13:218;;-1:-1:-1;;;14135:72:218:i;:::-;14217:16;:46;;;;1338:42:188;14217:46:218;;;14120:87;-1:-1:-1;14274:1101:218;;;;14488:33;;;;:18;:33;;;;;;;;:42;14481:50;;;;:::i;:::-;14545:33;;;;:18;:33;;;;;;:40;;;;14581:4;14545:40;;;14604:29;14564:13;;14604:29;;;14274:1101;;;14664:29;;;;:14;:29;;;;;;:36;;;;14696:4;14664:36;;;14719:35;14679:13;;14719:35;;;15234:41;:9;:41;15230:135;;15295:55;;;;;12314:2:350;15295:55:218;;;12296:21:350;12353:2;12333:18;;;12326:30;12392:34;12372:18;;;12365:62;12463:15;12443:18;;;12436:43;12496:19;;15295:55:218;12112:409:350;15230:135:218;10541:4840;;;10315:5066;;;;;;;;:::o;1186:320:31:-;1476:19;;;:23;;;1186:320::o;1849:269:143:-;1966:145;;;;;312:42:194;;1966:83:143;;2058:6;;1966:145;;2080:3;;2085:9;;2096:5;;1966:145;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1849:269;;;;:::o;18507:636:218:-;4910:13:25;;;;;;;4902:69;;;;;;;13296:2:350;4902:69:25;;;13278:21:350;13335:2;13315:18;;;13308:30;13374:34;13354:18;;;13347:62;13445:13;13425:18;;;13418:41;13476:19;;4902:69:25;13094:407:350;4902:69:25;18992:16:218::1;::::0;:30:::1;:16;18988:107;;19038:16;:46:::0;;;::::1;1338:42:188;19038:46:218;::::0;;18988:107:::1;19104:14;:32:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;18507:636::o;3100:305:192:-;3289:7;3329:68;3365:7;3374;3383:5;3390:6;3329:35;:68::i;:::-;3319:79;;;;;;3312:86;;3100:305;;;;;;:::o;3877:375::-;4117:7;4157:87;4193:6;4201:7;4210;4219:6;4227:9;4238:5;4157:35;:87::i;:::-;4147:98;;;;;;4140:105;;3877:375;;;;;;;;:::o;2376:186:143:-;2450:4;2473:24;;;2492:4;2473:24;;:82;;-1:-1:-1;2501:54:143;;;312:42:194;2501:54:143;2473:82;2466:89;2376:186;-1:-1:-1;;2376:186:143:o;3615:365:195:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:195:o;1202:536::-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:195:o;3073:336:191:-;3264:12;3370:7;3379;3388:5;3395:6;3299:103;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3073:336:191;;;;;;:::o;3883:516::-;4125:12;4272:6;4292:7;4313;4334:6;4354:9;4377:5;4160:232;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3883:516:191;;;;;;;;:::o;219:154:350:-;305:42;298:5;294:54;287:5;284:65;274:93;;363:1;360;353:12;274:93;219:154;:::o;378:347::-;429:8;439:6;493:3;486:4;478:6;474:17;470:27;460:55;;511:1;508;501:12;460:55;-1:-1:-1;534:20:350;;577:18;566:30;;563:50;;;609:1;606;599:12;563:50;646:4;638:6;634:17;622:29;;698:3;691:4;682:6;674;670:19;666:30;663:39;660:59;;;715:1;712;705:12;660:59;378:347;;;;;:::o;730:163::-;797:20;;857:10;846:22;;836:33;;826:61;;883:1;880;873:12;826:61;730:163;;;:::o;898:616::-;985:6;993;1001;1009;1062:2;1050:9;1041:7;1037:23;1033:32;1030:52;;;1078:1;1075;1068:12;1030:52;1117:9;1104:23;1136:31;1161:5;1136:31;:::i;:::-;1186:5;-1:-1:-1;1242:2:350;1227:18;;1214:32;1269:18;1258:30;;1255:50;;;1301:1;1298;1291:12;1255:50;1340:58;1390:7;1381:6;1370:9;1366:22;1340:58;:::i;:::-;1417:8;;-1:-1:-1;1314:84:350;-1:-1:-1;1471:37:350;;-1:-1:-1;1504:2:350;1489:18;;1471:37;:::i;:::-;1461:47;;898:616;;;;;;;:::o;1712:531::-;1754:3;1792:5;1786:12;1819:6;1814:3;1807:19;1844:1;1854:162;1868:6;1865:1;1862:13;1854:162;;;1930:4;1986:13;;;1982:22;;1976:29;1958:11;;;1954:20;;1947:59;1883:12;1854:162;;;2034:6;2031:1;2028:13;2025:87;;;2100:1;2093:4;2084:6;2079:3;2075:16;2071:27;2064:38;2025:87;-1:-1:-1;2157:2:350;2145:15;2162:66;2141:88;2132:98;;;;2232:4;2128:109;;1712:531;-1:-1:-1;;1712:531:350:o;2248:220::-;2397:2;2386:9;2379:21;2360:4;2417:45;2458:2;2447:9;2443:18;2435:6;2417:45;:::i;:::-;2409:53;2248:220;-1:-1:-1;;;2248:220:350:o;3158:180::-;3217:6;3270:2;3258:9;3249:7;3245:23;3241:32;3238:52;;;3286:1;3283;3276:12;3238:52;-1:-1:-1;3309:23:350;;3158:180;-1:-1:-1;3158:180:350:o;3343:481::-;3421:6;3429;3437;3490:2;3478:9;3469:7;3465:23;3461:32;3458:52;;;3506:1;3503;3496:12;3458:52;3546:9;3533:23;3579:18;3571:6;3568:30;3565:50;;;3611:1;3608;3601:12;3565:50;3650:58;3700:7;3691:6;3680:9;3676:22;3650:58;:::i;:::-;3727:8;;-1:-1:-1;3624:84:350;-1:-1:-1;3781:37:350;;-1:-1:-1;3814:2:350;3799:18;;3781:37;:::i;:::-;3771:47;;3343:481;;;;;:::o;3829:278::-;3919:6;3972:2;3960:9;3951:7;3947:23;3943:32;3940:52;;;3988:1;3985;3978:12;3940:52;4027:9;4014:23;4046:31;4071:5;4046:31;:::i;4112:892::-;4227:6;4235;4243;4251;4259;4267;4275;4328:3;4316:9;4307:7;4303:23;4299:33;4296:53;;;4345:1;4342;4335:12;4296:53;4381:9;4368:23;4358:33;;4441:2;4430:9;4426:18;4413:32;4454:31;4479:5;4454:31;:::i;:::-;4504:5;-1:-1:-1;4561:2:350;4546:18;;4533:32;4574:33;4533:32;4574:33;:::i;:::-;4626:7;-1:-1:-1;4680:2:350;4665:18;;4652:32;;-1:-1:-1;4731:3:350;4716:19;;4703:33;;-1:-1:-1;4787:3:350;4772:19;;4759:33;4815:18;4804:30;;4801:50;;;4847:1;4844;4837:12;4801:50;4886:58;4936:7;4927:6;4916:9;4912:22;4886:58;:::i;:::-;4112:892;;;;-1:-1:-1;4112:892:350;;-1:-1:-1;4112:892:350;;;;4860:84;;-1:-1:-1;;;4112:892:350:o;5191:325::-;5279:6;5274:3;5267:19;5331:6;5324:5;5317:4;5312:3;5308:14;5295:43;;5383:1;5376:4;5367:6;5362:3;5358:16;5354:27;5347:38;5249:3;5505:4;5435:66;5430:2;5422:6;5418:15;5414:88;5409:3;5405:98;5401:109;5394:116;;5191:325;;;;:::o;5521:697::-;5816:6;5805:9;5798:25;5779:4;5842:42;5932:2;5924:6;5920:15;5915:2;5904:9;5900:18;5893:43;5984:2;5976:6;5972:15;5967:2;5956:9;5952:18;5945:43;;6024:6;6019:2;6008:9;6004:18;5997:34;6080:10;6072:6;6068:23;6062:3;6051:9;6047:19;6040:52;6129:3;6123;6112:9;6108:19;6101:32;6150:62;6207:3;6196:9;6192:19;6184:6;6176;6150:62;:::i;:::-;6142:70;5521:697;-1:-1:-1;;;;;;;;;5521:697:350:o;6223:524::-;6475:42;6467:6;6463:55;6452:9;6445:74;6555:3;6550:2;6539:9;6535:18;6528:31;6426:4;6576:62;6633:3;6622:9;6618:19;6610:6;6602;6576:62;:::i;:::-;6568:70;;6674:6;6669:2;6658:9;6654:18;6647:34;6729:10;6721:6;6717:23;6712:2;6701:9;6697:18;6690:51;6223:524;;;;;;;;:::o;7174:184::-;7226:77;7223:1;7216:88;7323:4;7320:1;7313:15;7347:4;7344:1;7337:15;7363:270;7402:7;7434:18;7479:2;7476:1;7472:10;7509:2;7506:1;7502:10;7565:3;7561:2;7557:12;7552:3;7549:21;7542:3;7535:11;7528:19;7524:47;7521:73;;;7574:18;;:::i;:::-;7614:13;;7363:270;-1:-1:-1;;;;7363:270:350:o;7638:353::-;7677:1;7703:18;7748:2;7745:1;7741:10;7770:3;7760:191;;7807:77;7804:1;7797:88;7908:4;7905:1;7898:15;7936:4;7933:1;7926:15;7760:191;7969:10;;7965:20;;;;;7638:353;-1:-1:-1;;7638:353:350:o;7996:236::-;8035:3;8063:18;8108:2;8105:1;8101:10;8138:2;8135:1;8131:10;8169:3;8165:2;8161:12;8156:3;8153:21;8150:47;;;8177:18;;:::i;:::-;8213:13;;7996:236;-1:-1:-1;;;;7996:236:350:o;10118:184::-;10170:77;10167:1;10160:88;10267:4;10264:1;10257:15;10291:4;10288:1;10281:15;12526:125;12566:4;12594:1;12591;12588:8;12585:34;;;12599:18;;:::i;:::-;-1:-1:-1;12636:9:350;;12526:125::o;12656:433::-;12870:42;12862:6;12858:55;12847:9;12840:74;12962:18;12954:6;12950:31;12945:2;12934:9;12930:18;12923:59;13018:2;13013;13002:9;12998:18;12991:30;12821:4;13038:45;13079:2;13068:9;13064:18;13056:6;13038:45;:::i;:::-;13030:53;12656:433;-1:-1:-1;;;;;12656:433:350:o;13506:512::-;13700:4;13729:42;13810:2;13802:6;13798:15;13787:9;13780:34;13862:2;13854:6;13850:15;13845:2;13834:9;13830:18;13823:43;;13902:3;13897:2;13886:9;13882:18;13875:31;13923:46;13964:3;13953:9;13949:19;13941:6;13923:46;:::i;:::-;13915:54;;14005:6;14000:2;13989:9;13985:18;13978:34;13506:512;;;;;;;:::o;14023:656::-;14310:6;14299:9;14292:25;14273:4;14336:42;14426:2;14418:6;14414:15;14409:2;14398:9;14394:18;14387:43;14478:2;14470:6;14466:15;14461:2;14450:9;14446:18;14439:43;;14518:6;14513:2;14502:9;14498:18;14491:34;14562:6;14556:3;14545:9;14541:19;14534:35;14606:3;14600;14589:9;14585:19;14578:32;14627:46;14668:3;14657:9;14653:19;14645:6;14627:46;:::i;:::-;14619:54;14023:656;-1:-1:-1;;;;;;;;14023:656:350:o",linkReferences:{}},methodIdentifiers:{"MESSAGE_VERSION()":"3f827a5a","MIN_GAS_CALLDATA_OVERHEAD()":"028f85f7","MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":"0c568498","MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":"2828d7e8","OTHER_MESSENGER()":"9fce812c","RELAY_CALL_OVERHEAD()":"4c1d6a69","RELAY_CONSTANT_OVERHEAD()":"83a74074","RELAY_GAS_CHECK_BUFFER()":"5644cfdf","RELAY_RESERVED_GAS()":"8cbeeef2","baseGas(bytes,uint32)":"b28ade25","failedMessages(bytes32)":"a4e7f8bd","initialize(address)":"c4d66de8","l1CrossDomainMessenger()":"a7119869","messageNonce()":"ecc70428","otherMessenger()":"db505d80","paused()":"5c975abb","relayMessage(uint256,address,address,uint256,uint256,bytes)":"d764ad0b","sendMessage(address,bytes,uint32)":"3dbb202b","successfulMessages(bytes32)":"b1b1b209","version()":"54fd4d50","xDomainMessageSender()":"6e296e45"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"FailedRelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"RelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"bytes","name":"message","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"messageNonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"gasLimit","type":"uint256"}],"name":"SentMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SentMessageExtension1","type":"event"},{"inputs":[],"name":"MESSAGE_VERSION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_CALLDATA_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CALL_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CONSTANT_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_GAS_CHECK_BUFFER","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_RESERVED_GAS","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"baseGas","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"failedMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract CrossDomainMessenger","name":"_l1CrossDomainMessenger","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l1CrossDomainMessenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messageNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherMessenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_minGasLimit","type":"uint256"},{"internalType":"bytes","name":"_message","type":"bytes"}],"name":"relayMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"sendMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"successfulMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"xDomainMessageSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000007","kind":"dev","methods":{"OTHER_MESSENGER()":{"custom:legacy":"","returns":{"_0":"CrossDomainMessenger contract on the other chain."}},"baseGas(bytes,uint32)":{"params":{"_message":"Message to compute the amount of required gas for.","_minGasLimit":"Minimum desired gas limit when message goes to target."},"returns":{"_0":"Amount of gas required to guarantee message receipt."}},"initialize(address)":{"params":{"_l1CrossDomainMessenger":"L1CrossDomainMessenger contract on the other network."}},"l1CrossDomainMessenger()":{"custom:legacy":"","returns":{"_0":"L1CrossDomainMessenger contract."}},"messageNonce()":{"returns":{"_0":"Nonce of the next message to be sent, with added message version."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"params":{"_message":"Message to send to the target.","_minGasLimit":"Minimum amount of gas that the message can be executed with.","_nonce":"Nonce of the message being relayed.","_sender":"Address of the user who sent the message.","_target":"Address that the message is targeted at.","_value":"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{"params":{"_message":"Message to trigger the target address with.","_minGasLimit":"Minimum gas limit that the message can be executed with.","_target":"Target contract or wallet address."}},"xDomainMessageSender()":{"returns":{"_0":"Address of the sender of the currently executing message on the other chain."}}},"stateVariables":{"version":{"custom:semver":"2.0.0"}},"title":"L2CrossDomainMessenger","version":1},"userdoc":{"events":{"FailedRelayedMessage(bytes32)":{"notice":"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{"notice":"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{"notice":"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{"notice":"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},"kind":"user","methods":{"MESSAGE_VERSION()":{"notice":"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{"notice":"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{"notice":"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{"notice":"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{"notice":"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"RELAY_CALL_OVERHEAD()":{"notice":"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{"notice":"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{"notice":"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{"notice":"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{"notice":"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},"constructor":{"notice":"Constructs the L2CrossDomainMessenger contract."},"failedMessages(bytes32)":{"notice":"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address)":{"notice":"Initializer."},"l1CrossDomainMessenger()":{"notice":"Getter for the remote messenger. Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"messageNonce()":{"notice":"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{"notice":"CrossDomainMessenger contract on the other chain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"notice":"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{"notice":"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{"notice":"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"xDomainMessageSender()":{"notice":"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},"notice":"The L2CrossDomainMessenger is a high-level interface for message passing between L1 and L2 on the L2 side. Users are generally encouraged to use this contract instead of lower level message passing contracts.","version":1}},"settings":{"compilationTarget":{"src/L2/L2CrossDomainMessenger.sol":"L2CrossDomainMessenger"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L2/L2CrossDomainMessenger.sol":{"keccak256":"0xe6f3989bb296a3b8678a0d0734788cfdef8ed6632df10cba23af5a369293d355","license":"MIT","urls":["bzz-raw://1ec3c85753657891b6c6bc5a7b941ac7cffd312f9589683e006f2d0f5b725f4b","dweb:/ipfs/QmTSLy4kv3ZVUR158NED6x31vy9J69wQunHWkJVDU5VYDC"]},"src/L2/L2ToL1MessagePasser.sol":{"keccak256":"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21","license":"MIT","urls":["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"FailedRelayedMessage",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"RelayedMessage",anonymous:!1},{inputs:[{internalType:"address",name:"target",type:"address",indexed:!0},{internalType:"address",name:"sender",type:"address",indexed:!1},{internalType:"bytes",name:"message",type:"bytes",indexed:!1},{internalType:"uint256",name:"messageNonce",type:"uint256",indexed:!1},{internalType:"uint256",name:"gasLimit",type:"uint256",indexed:!1}],type:"event",name:"SentMessage",anonymous:!1},{inputs:[{internalType:"address",name:"sender",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"SentMessageExtension1",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSAGE_VERSION",outputs:[{internalType:"uint16",name:"",type:"uint16"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CALL_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CONSTANT_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_GAS_CHECK_BUFFER",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_RESERVED_GAS",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"pure",type:"function",name:"baseGas",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"failedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"contract CrossDomainMessenger",name:"_l1CrossDomainMessenger",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l1CrossDomainMessenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherMessenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"uint256",name:"_nonce",type:"uint256"},{internalType:"address",name:"_sender",type:"address"},{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint256",name:"_minGasLimit",type:"uint256"},{internalType:"bytes",name:"_message",type:"bytes"}],stateMutability:"payable",type:"function",name:"relayMessage"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"payable",type:"function",name:"sendMessage"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}]}],devdoc:{kind:"dev",methods:{"OTHER_MESSENGER()":{"custom:legacy":"",returns:{_0:"CrossDomainMessenger contract on the other chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address)":{params:{_l1CrossDomainMessenger:"L1CrossDomainMessenger contract on the other network."}},"l1CrossDomainMessenger()":{"custom:legacy":"",returns:{_0:"L1CrossDomainMessenger contract."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}},version:1},userdoc:{kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L2CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address)":{notice:"Initializer."},"l1CrossDomainMessenger()":{notice:"Getter for the remote messenger. Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2CrossDomainMessenger.sol":"L2CrossDomainMessenger"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L2/L2CrossDomainMessenger.sol":{keccak256:"0xe6f3989bb296a3b8678a0d0734788cfdef8ed6632df10cba23af5a369293d355",urls:["bzz-raw://1ec3c85753657891b6c6bc5a7b941ac7cffd312f9589683e006f2d0f5b725f4b","dweb:/ipfs/QmTSLy4kv3ZVUR158NED6x31vy9J69wQunHWkJVDU5VYDC"],license:"MIT"},"src/L2/L2ToL1MessagePasser.sol":{keccak256:"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21",urls:["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:104934,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_0_0_20",offset:0,slot:"0",type:"t_address"},{astId:45313,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"_initialized",offset:20,slot:"0",type:"t_uint8"},{astId:45316,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"_initializing",offset:21,slot:"0",type:"t_bool"},{astId:104941,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_1_0_1600",offset:0,slot:"1",type:"t_array(t_uint256)50_storage"},{astId:104944,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_51_0_20",offset:0,slot:"51",type:"t_address"},{astId:104949,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_52_0_1568",offset:0,slot:"52",type:"t_array(t_uint256)49_storage"},{astId:104952,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_101_0_1",offset:0,slot:"101",type:"t_bool"},{astId:104957,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_102_0_1568",offset:0,slot:"102",type:"t_array(t_uint256)49_storage"},{astId:104960,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_151_0_32",offset:0,slot:"151",type:"t_uint256"},{astId:104965,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_152_0_1568",offset:0,slot:"152",type:"t_array(t_uint256)49_storage"},{astId:104970,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_201_0_32",offset:0,slot:"201",type:"t_mapping(t_bytes32,t_bool)"},{astId:104975,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_202_0_32",offset:0,slot:"202",type:"t_mapping(t_bytes32,t_bool)"},{astId:105020,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"successfulMessages",offset:0,slot:"203",type:"t_mapping(t_bytes32,t_bool)"},{astId:105023,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"xDomainMsgSender",offset:0,slot:"204",type:"t_address"},{astId:105026,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"msgNonce",offset:0,slot:"205",type:"t_uint240"},{astId:105031,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"failedMessages",offset:0,slot:"206",type:"t_mapping(t_bytes32,t_bool)"},{astId:105035,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"otherMessenger",offset:0,slot:"207",type:"t_contract(CrossDomainMessenger)105498"},{astId:105040,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"__gap",offset:0,slot:"208",type:"t_array(t_uint256)43_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)43_storage":{encoding:"inplace",label:"uint256[43]",numberOfBytes:"1376",base:"t_uint256"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},"t_array(t_uint256)50_storage":{encoding:"inplace",label:"uint256[50]",numberOfBytes:"1600",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint240:{encoding:"inplace",label:"uint240",numberOfBytes:"30"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L2CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address)":{notice:"Initializer."},"l1CrossDomainMessenger()":{notice:"Getter for the remote messenger. Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},events:{"FailedRelayedMessage(bytes32)":{notice:"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{notice:"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{notice:"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{notice:"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},notice:"The L2CrossDomainMessenger is a high-level interface for message passing between L1 and L2 on the L2 side. Users are generally encouraged to use this contract instead of lower level message passing contracts."},devdoc:{version:1,kind:"dev",methods:{"OTHER_MESSENGER()":{returns:{_0:"CrossDomainMessenger contract on the other chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address)":{params:{_l1CrossDomainMessenger:"L1CrossDomainMessenger contract on the other network."}},"l1CrossDomainMessenger()":{returns:{_0:"L1CrossDomainMessenger contract."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}},title:"L2CrossDomainMessenger"},id:143}});var OKe=D(($ca,DHt)=>{DHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"bridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"createOptimismMintableERC20",inputs:[{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"createOptimismMintableERC20WithDecimals",inputs:[{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_decimals",type:"uint8",internalType:"uint8"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"createStandardL2Token",inputs:[{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_bridge",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OptimismMintableERC20Created",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"deployer",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"StandardL2TokenCreated",inputs:[{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"localToken",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}],bytecode:{object:"0x608060405234801561001057600080fd5b5061001b6000610020565b610169565b600054610100900460ff16158080156100405750600054600160ff909116105b8061006b57506100593061015a60201b61059d1760201c565b15801561006b575060005460ff166001145b6100d25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6000805460ff1916600117905580156100f5576000805461ff0019166101001790555b600180546001600160a01b0319166001600160a01b0384161790558015610156576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b6120e5806101786000396000f3fe60806040523480156200001157600080fd5b5060043610620000875760003560e01c8063c4d66de81162000062578063c4d66de81462000135578063ce5ac90f146200014e578063e78cea921462000165578063ee9a31a2146200018657600080fd5b806354fd4d50146200008c578063896f93d114620000e15780638cf0629c146200011e575b600080fd5b620000c96040518060400160405280600581526020017f312e392e3000000000000000000000000000000000000000000000000000000081525081565b604051620000d8919062000635565b60405180910390f35b620000f8620000f23660046200075d565b620001a5565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001620000d8565b620000f86200012f366004620007da565b620001bc565b6200014c6200014636600462000871565b620003ba565b005b620000f86200015f3660046200075d565b6200058c565b600154620000f89073ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff16620000f8565b6000620001b48484846200058c565b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff851662000267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d4d696e7461626c654552433230466163746f72793a206d7560448201527f73742070726f766964652072656d6f746520746f6b656e20616464726573730060648201526084015b60405180910390fd5b6000858585856040516020016200028294939291906200088f565b604051602081830303815290604052805190602001209050600081600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1688888888604051620002d290620005b9565b620002e2959493929190620008e9565b8190604051809103906000f590508015801562000303573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a360405133815273ffffffffffffffffffffffffffffffffffffffff80891691908316907f52fe89dd5930f343d25650b62fd367bae47088bcddffd2a88350a6ecdd620cdb9060200160405180910390a39695505050505050565b600054610100900460ff1615808015620003db5750600054600160ff909116105b80620003f75750303b158015620003f7575060005460ff166001145b62000485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016200025e565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015620004e457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841617905580156200058857600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6000620001b48484846012620001bc565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61178a806200094f83390190565b6000815180845260005b81811015620005ef57602081850181015186830182015201620005d1565b8181111562000602576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006200064a6020830184620005c7565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146200067657600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f830112620006bc57600080fd5b813567ffffffffffffffff80821115620006da57620006da6200067b565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156200072357620007236200067b565b816040528381528660208588010111156200073d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200077357600080fd5b6200077e8462000651565b9250602084013567ffffffffffffffff808211156200079c57600080fd5b620007aa87838801620006aa565b93506040860135915080821115620007c157600080fd5b50620007d086828701620006aa565b9150509250925092565b60008060008060808587031215620007f157600080fd5b620007fc8562000651565b9350602085013567ffffffffffffffff808211156200081a57600080fd5b6200082888838901620006aa565b945060408701359150808211156200083f57600080fd5b506200084e87828801620006aa565b925050606085013560ff811681146200086657600080fd5b939692955090935050565b6000602082840312156200088457600080fd5b6200064a8262000651565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000620008c06080830186620005c7565b8281036040840152620008d48186620005c7565b91505060ff8316606083015295945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a060408301526200092460a0830186620005c7565b8281036060840152620009388186620005c7565b91505060ff83166080830152969550505050505056fe60e06040523480156200001157600080fd5b506040516200178a3803806200178a833981016040819052620000349162000163565b828260036200004483826200029e565b5060046200005382826200029e565b5050506001600160a01b039384166080529390921660a052505060ff1660c0526200036a565b80516001600160a01b03811681146200009157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000be57600080fd5b81516001600160401b0380821115620000db57620000db62000096565b604051601f8301601f19908116603f0116810190828211818310171562000106576200010662000096565b816040528381526020925086838588010111156200012357600080fd5b600091505b8382101562000147578582018301518183018401529082019062000128565b83821115620001595760008385830101525b9695505050505050565b600080600080600060a086880312156200017c57600080fd5b620001878662000079565b9450620001976020870162000079565b60408701519094506001600160401b0380821115620001b557600080fd5b620001c389838a01620000ac565b94506060880151915080821115620001da57600080fd5b50620001e988828901620000ac565b925050608086015160ff811681146200020157600080fd5b809150509295509295909350565b600181811c908216806200022457607f821691505b6020821081036200024557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029957600081815260208120601f850160051c81016020861015620002745750805b601f850160051c820191505b81811015620002955782815560010162000280565b5050505b505050565b81516001600160401b03811115620002ba57620002ba62000096565b620002d281620002cb84546200020f565b846200024b565b602080601f8311600181146200030a5760008415620002f15750858301515b600019600386901b1c1916600185901b17855562000295565b600085815260208120601f198616915b828110156200033b578886015182559484019460019091019084016200031a565b50858210156200035a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516113d4620003b6600039600061024401526000818161034b015281816103e001528181610625015261075c0152600081816101a9015261037101526113d46000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000aa164736f6c634300080f000a",sourceMap:"770:5093:225:-:0;;;2694:66;;;;;;;;;-1:-1:-1;2718:35:225;2748:1;2718:10;:35::i;:::-;770:5093;;2876:89;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;2942:6:225::1;:16:::0;;-1:-1:-1;;;;;;2942:16:225::1;-1:-1:-1::0;;;;;2942:16:225;::::1;;::::0;;3457:99:41;;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;2876:89:225;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;429:194:350:-;770:5093:225;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040523480156200001157600080fd5b5060043610620000875760003560e01c8063c4d66de81162000062578063c4d66de81462000135578063ce5ac90f146200014e578063e78cea921462000165578063ee9a31a2146200018657600080fd5b806354fd4d50146200008c578063896f93d114620000e15780638cf0629c146200011e575b600080fd5b620000c96040518060400160405280600581526020017f312e392e3000000000000000000000000000000000000000000000000000000081525081565b604051620000d8919062000635565b60405180910390f35b620000f8620000f23660046200075d565b620001a5565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001620000d8565b620000f86200012f366004620007da565b620001bc565b6200014c6200014636600462000871565b620003ba565b005b620000f86200015f3660046200075d565b6200058c565b600154620000f89073ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff16620000f8565b6000620001b48484846200058c565b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff851662000267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d4d696e7461626c654552433230466163746f72793a206d7560448201527f73742070726f766964652072656d6f746520746f6b656e20616464726573730060648201526084015b60405180910390fd5b6000858585856040516020016200028294939291906200088f565b604051602081830303815290604052805190602001209050600081600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1688888888604051620002d290620005b9565b620002e2959493929190620008e9565b8190604051809103906000f590508015801562000303573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a360405133815273ffffffffffffffffffffffffffffffffffffffff80891691908316907f52fe89dd5930f343d25650b62fd367bae47088bcddffd2a88350a6ecdd620cdb9060200160405180910390a39695505050505050565b600054610100900460ff1615808015620003db5750600054600160ff909116105b80620003f75750303b158015620003f7575060005460ff166001145b62000485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016200025e565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015620004e457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841617905580156200058857600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6000620001b48484846012620001bc565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61178a806200094f83390190565b6000815180845260005b81811015620005ef57602081850181015186830182015201620005d1565b8181111562000602576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006200064a6020830184620005c7565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146200067657600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f830112620006bc57600080fd5b813567ffffffffffffffff80821115620006da57620006da6200067b565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156200072357620007236200067b565b816040528381528660208588010111156200073d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200077357600080fd5b6200077e8462000651565b9250602084013567ffffffffffffffff808211156200079c57600080fd5b620007aa87838801620006aa565b93506040860135915080821115620007c157600080fd5b50620007d086828701620006aa565b9150509250925092565b60008060008060808587031215620007f157600080fd5b620007fc8562000651565b9350602085013567ffffffffffffffff808211156200081a57600080fd5b6200082888838901620006aa565b945060408701359150808211156200083f57600080fd5b506200084e87828801620006aa565b925050606085013560ff811681146200086657600080fd5b939692955090935050565b6000602082840312156200088457600080fd5b6200064a8262000651565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000620008c06080830186620005c7565b8281036040840152620008d48186620005c7565b91505060ff8316606083015295945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a060408301526200092460a0830186620005c7565b8281036060840152620009388186620005c7565b91505060ff83166080830152969550505050505056fe60e06040523480156200001157600080fd5b506040516200178a3803806200178a833981016040819052620000349162000163565b828260036200004483826200029e565b5060046200005382826200029e565b5050506001600160a01b039384166080529390921660a052505060ff1660c0526200036a565b80516001600160a01b03811681146200009157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000be57600080fd5b81516001600160401b0380821115620000db57620000db62000096565b604051601f8301601f19908116603f0116810190828211818310171562000106576200010662000096565b816040528381526020925086838588010111156200012357600080fd5b600091505b8382101562000147578582018301518183018401529082019062000128565b83821115620001595760008385830101525b9695505050505050565b600080600080600060a086880312156200017c57600080fd5b620001878662000079565b9450620001976020870162000079565b60408701519094506001600160401b0380821115620001b557600080fd5b620001c389838a01620000ac565b94506060880151915080821115620001da57600080fd5b50620001e988828901620000ac565b925050608086015160ff811681146200020157600080fd5b809150509295509295909350565b600181811c908216806200022457607f821691505b6020821081036200024557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029957600081815260208120601f850160051c81016020861015620002745750805b601f850160051c820191505b81811015620002955782815560010162000280565b5050505b505050565b81516001600160401b03811115620002ba57620002ba62000096565b620002d281620002cb84546200020f565b846200024b565b602080601f8311600181146200030a5760008415620002f15750858301515b600019600386901b1c1916600185901b17855562000295565b600085815260208120601f198616915b828110156200033b578886015182559484019460019091019084016200031a565b50858210156200035a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516113d4620003b6600039600061024401526000818161034b015281816103e001528181610625015261075c0152600081816101a9015261037101526113d46000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000aa164736f6c634300080f000a",sourceMap:"770:5093:225:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2577:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;3740:255;;;;;;:::i;:::-;;:::i;:::-;;;2746:42:350;2734:55;;;2716:74;;2704:2;2689:18;3740:255:225;2570:226:350;4908:953:225;;;;;;:::i;:::-;;:::i;2876:89::-;;;;;;:::i;:::-;;:::i;:::-;;4280:275;;;;;;:::i;:::-;;:::i;1115:21::-;;;;;;;;;3237:80;3304:6;;;;3237:80;;3740:255;3901:7;3931:57;3959:12;3973:5;3980:7;3931:27;:57::i;:::-;3924:64;3740:255;-1:-1:-1;;;;3740:255:225:o;4908:953::-;5110:7;5141:26;;;5133:102;;;;;;;3974:2:350;5133:102:225;;;3956:21:350;4013:2;3993:18;;;3986:30;4052:34;4032:18;;;4025:62;4123:33;4103:18;;;4096:61;4174:19;;5133:102:225;;;;;;;;;5246:12;5282;5296:5;5303:7;5312:9;5271:51;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5261:62;;;;;;5246:77;;5333:18;5407:4;5414:6;;;;;;;;;;;5422:12;5436:5;5443:7;5452:9;5374:88;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;5333:130;;5570:10;5533:48;;5556:12;5533:48;;;;;;;;;;;;5760:66;;5815:10;2716:74:350;;5760:66:225;;;;;;;;;;;2704:2:350;2689:18;5760:66:225;;;;;;;5844:10;4908:953;-1:-1:-1;;;;;;4908:953:225:o;2876:89::-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;5684:2:350;3146:190:41;;;5666:21:350;5723:2;5703:18;;;5696:30;5762:34;5742:18;;;5735:62;5833:16;5813:18;;;5806:44;5867:19;;3146:190:41;5482:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;2942:6:225::1;:16:::0;;;::::1;;::::0;::::1;;::::0;;3457:99:41;;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;6049:36:350;;3531:14:41;;6037:2:350;6022:18;3531:14:41;;;;;;;3457:99;3090:472;2876:89:225;:::o;4280:275::-;4445:7;4475:73;4515:12;4529:5;4536:7;4545:2;4475:39;:73::i;1175:320:57:-;1465:19;;;:23;;;1175:320::o;-1:-1:-1:-;;;;;;;;:::o;14:531:350:-;56:3;94:5;88:12;121:6;116:3;109:19;146:1;156:162;170:6;167:1;164:13;156:162;;;232:4;288:13;;;284:22;;278:29;260:11;;;256:20;;249:59;185:12;156:162;;;336:6;333:1;330:13;327:87;;;402:1;395:4;386:6;381:3;377:16;373:27;366:38;327:87;-1:-1:-1;459:2:350;447:15;464:66;443:88;434:98;;;;534:4;430:109;;14:531;-1:-1:-1;;14:531:350:o;550:220::-;699:2;688:9;681:21;662:4;719:45;760:2;749:9;745:18;737:6;719:45;:::i;:::-;711:53;550:220;-1:-1:-1;;;550:220:350:o;775:196::-;843:20;;903:42;892:54;;882:65;;872:93;;961:1;958;951:12;872:93;775:196;;;:::o;976:184::-;1028:77;1025:1;1018:88;1125:4;1122:1;1115:15;1149:4;1146:1;1139:15;1165:778;1208:5;1261:3;1254:4;1246:6;1242:17;1238:27;1228:55;;1279:1;1276;1269:12;1228:55;1315:6;1302:20;1341:18;1378:2;1374;1371:10;1368:36;;;1384:18;;:::i;:::-;1518:2;1512:9;1580:4;1572:13;;1423:66;1568:22;;;1592:2;1564:31;1560:40;1548:53;;;1616:18;;;1636:22;;;1613:46;1610:72;;;1662:18;;:::i;:::-;1702:10;1698:2;1691:22;1737:2;1729:6;1722:18;1783:3;1776:4;1771:2;1763:6;1759:15;1755:26;1752:35;1749:55;;;1800:1;1797;1790:12;1749:55;1864:2;1857:4;1849:6;1845:17;1838:4;1830:6;1826:17;1813:54;1911:1;1904:4;1899:2;1891:6;1887:15;1883:26;1876:37;1931:6;1922:15;;;;;;1165:778;;;;:::o;1948:617::-;2045:6;2053;2061;2114:2;2102:9;2093:7;2089:23;2085:32;2082:52;;;2130:1;2127;2120:12;2082:52;2153:29;2172:9;2153:29;:::i;:::-;2143:39;;2233:2;2222:9;2218:18;2205:32;2256:18;2297:2;2289:6;2286:14;2283:34;;;2313:1;2310;2303:12;2283:34;2336:50;2378:7;2369:6;2358:9;2354:22;2336:50;:::i;:::-;2326:60;;2439:2;2428:9;2424:18;2411:32;2395:48;;2468:2;2458:8;2455:16;2452:36;;;2484:1;2481;2474:12;2452:36;;2507:52;2551:7;2540:8;2529:9;2525:24;2507:52;:::i;:::-;2497:62;;;1948:617;;;;;:::o;2801:775::-;2905:6;2913;2921;2929;2982:3;2970:9;2961:7;2957:23;2953:33;2950:53;;;2999:1;2996;2989:12;2950:53;3022:29;3041:9;3022:29;:::i;:::-;3012:39;;3102:2;3091:9;3087:18;3074:32;3125:18;3166:2;3158:6;3155:14;3152:34;;;3182:1;3179;3172:12;3152:34;3205:50;3247:7;3238:6;3227:9;3223:22;3205:50;:::i;:::-;3195:60;;3308:2;3297:9;3293:18;3280:32;3264:48;;3337:2;3327:8;3324:16;3321:36;;;3353:1;3350;3343:12;3321:36;;3376:52;3420:7;3409:8;3398:9;3394:24;3376:52;:::i;:::-;3366:62;;;3478:2;3467:9;3463:18;3450:32;3522:4;3515:5;3511:16;3504:5;3501:27;3491:55;;3542:1;3539;3532:12;3491:55;2801:775;;;;-1:-1:-1;2801:775:350;;-1:-1:-1;;2801:775:350:o;3581:186::-;3640:6;3693:2;3681:9;3672:7;3668:23;3664:32;3661:52;;;3709:1;3706;3699:12;3661:52;3732:29;3751:9;3732:29;:::i;4204:583::-;4465:42;4457:6;4453:55;4442:9;4435:74;4545:3;4540:2;4529:9;4525:18;4518:31;4416:4;4572:46;4613:3;4602:9;4598:19;4590:6;4572:46;:::i;:::-;4666:9;4658:6;4654:22;4649:2;4638:9;4634:18;4627:50;4694:33;4720:6;4712;4694:33;:::i;:::-;4686:41;;;4775:4;4767:6;4763:17;4758:2;4747:9;4743:18;4736:45;4204:583;;;;;;;:::o;4792:685::-;5032:4;5061:42;5142:2;5134:6;5130:15;5119:9;5112:34;5194:2;5186:6;5182:15;5177:2;5166:9;5162:18;5155:43;;5234:3;5229:2;5218:9;5214:18;5207:31;5261:46;5302:3;5291:9;5287:19;5279:6;5261:46;:::i;:::-;5355:9;5347:6;5343:22;5338:2;5327:9;5323:18;5316:50;5383:33;5409:6;5401;5383:33;:::i;:::-;5375:41;;;5465:4;5457:6;5453:17;5447:3;5436:9;5432:19;5425:46;4792:685;;;;;;;;:::o",linkReferences:{}},methodIdentifiers:{"BRIDGE()":"ee9a31a2","bridge()":"e78cea92","createOptimismMintableERC20(address,string,string)":"ce5ac90f","createOptimismMintableERC20WithDecimals(address,string,string,uint8)":"8cf0629c","createStandardL2Token(address,string,string)":"896f93d1","initialize(address)":"c4d66de8","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":false,"internalType":"address","name":"deployer","type":"address"}],"name":"OptimismMintableERC20Created","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"localToken","type":"address"}],"name":"StandardL2TokenCreated","type":"event"},{"inputs":[],"name":"BRIDGE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"createOptimismMintableERC20","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"}],"name":"createOptimismMintableERC20WithDecimals","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"createStandardL2Token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bridge","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeployed 0x4200000000000000000000000000000000000012","events":{"OptimismMintableERC20Created(address,address,address)":{"params":{"deployer":"Address of the account that deployed the token.","localToken":"Address of the created token on the local chain.","remoteToken":"Address of the corresponding token on the remote chain."}},"StandardL2TokenCreated(address,address)":{"custom:legacy":"@notice Emitted whenever a new OptimismMintableERC20 is created. Legacy version of the newer OptimismMintableERC20Created event. We recommend relying on that event instead.","params":{"localToken":"Address of the created token on the local chain.","remoteToken":"Address of the token on the remote chain."}}},"kind":"dev","methods":{"BRIDGE()":{"custom:legacy":"","returns":{"_0":"Address of the StandardBridge on this chain."}},"createOptimismMintableERC20(address,string,string)":{"params":{"_name":"ERC20 name.","_remoteToken":"Address of the token on the remote chain.","_symbol":"ERC20 symbol."},"returns":{"_0":"Address of the newly created token."}},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{"params":{"_decimals":"ERC20 decimals","_name":"ERC20 name.","_remoteToken":"Address of the token on the remote chain.","_symbol":"ERC20 symbol."},"returns":{"_0":"Address of the newly created token."}},"createStandardL2Token(address,string,string)":{"custom:legacy":"@notice Creates an instance of the OptimismMintableERC20 contract. Legacy version of the newer createOptimismMintableERC20 function, which has a more intuitive name.","params":{"_name":"ERC20 name.","_remoteToken":"Address of the token on the remote chain.","_symbol":"ERC20 symbol."},"returns":{"_0":"Address of the newly created token."}},"initialize(address)":{"params":{"_bridge":"Address of the StandardBridge on this chain."}}},"stateVariables":{"bridge":{"custom:network-specific":""},"spacer_0_2_30":{"custom:spacer":"OptimismMintableERC20Factory\'s initializer slot spacing"},"version":{"custom:semver":"1.9.0"}},"title":"OptimismMintableERC20Factory","version":1},"userdoc":{"events":{"OptimismMintableERC20Created(address,address,address)":{"notice":"Emitted whenever a new OptimismMintableERC20 is created."}},"kind":"user","methods":{"BRIDGE()":{"notice":"Getter function for the address of the StandardBridge on this chain. Public getter is legacy and will be removed in the future. Use `bridge` instead."},"bridge()":{"notice":"Address of the StandardBridge on this chain."},"constructor":{"notice":"Constructs the OptimismMintableERC20Factory contract."},"createOptimismMintableERC20(address,string,string)":{"notice":"Creates an instance of the OptimismMintableERC20 contract."},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{"notice":"Creates an instance of the OptimismMintableERC20 contract, with specified decimals."},"initialize(address)":{"notice":"Initializes the contract."},"version()":{"notice":"The semver MUST be bumped any time that there is a change in the OptimismMintableERC20 token contract since this contract is responsible for deploying OptimismMintableERC20 contracts.Semantic version."}},"notice":"OptimismMintableERC20Factory is a factory contract that generates OptimismMintableERC20 contracts on the network it\'s deployed to. Simplifies the deployment process for users who may be less familiar with deploying smart contracts. Designed to be backwards compatible with the older StandardL2ERC20Factory contract.","version":1}},"settings":{"compilationTarget":{"src/universal/OptimismMintableERC20Factory.sol":"OptimismMintableERC20Factory"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/OptimismMintableERC20Factory.sol":{"keccak256":"0xb508dc7b6f7fbf6e7156a11ae7a1e6ceed86f627c82b94d4f37dd98691b5e00f","license":"MIT","urls":["bzz-raw://5e27f27581f94a983c92809aeda85232e37e1de4552777fbf734c9a0fd84a5a9","dweb:/ipfs/QmVNzxCwipUN2UgcrYf8n7Ei7y6uE76cCYcorAwRg96Kp3"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"deployer",type:"address",indexed:!1}],type:"event",name:"OptimismMintableERC20Created",anonymous:!1},{inputs:[{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"localToken",type:"address",indexed:!0}],type:"event",name:"StandardL2TokenCreated",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"BRIDGE",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"bridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],stateMutability:"nonpayable",type:"function",name:"createOptimismMintableERC20",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"},{internalType:"uint8",name:"_decimals",type:"uint8"}],stateMutability:"nonpayable",type:"function",name:"createOptimismMintableERC20WithDecimals",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],stateMutability:"nonpayable",type:"function",name:"createStandardL2Token",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_bridge",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"BRIDGE()":{"custom:legacy":"",returns:{_0:"Address of the StandardBridge on this chain."}},"createOptimismMintableERC20(address,string,string)":{params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{params:{_decimals:"ERC20 decimals",_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createStandardL2Token(address,string,string)":{"custom:legacy":"@notice Creates an instance of the OptimismMintableERC20 contract. Legacy version of the newer createOptimismMintableERC20 function, which has a more intuitive name.",params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"initialize(address)":{params:{_bridge:"Address of the StandardBridge on this chain."}}},version:1},userdoc:{kind:"user",methods:{"BRIDGE()":{notice:"Getter function for the address of the StandardBridge on this chain. Public getter is legacy and will be removed in the future. Use `bridge` instead."},"bridge()":{notice:"Address of the StandardBridge on this chain."},constructor:{notice:"Constructs the OptimismMintableERC20Factory contract."},"createOptimismMintableERC20(address,string,string)":{notice:"Creates an instance of the OptimismMintableERC20 contract."},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{notice:"Creates an instance of the OptimismMintableERC20 contract, with specified decimals."},"initialize(address)":{notice:"Initializes the contract."},"version()":{notice:"The semver MUST be bumped any time that there is a change in the OptimismMintableERC20 token contract since this contract is responsible for deploying OptimismMintableERC20 contracts.Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/universal/OptimismMintableERC20Factory.sol":"OptimismMintableERC20Factory"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/OptimismMintableERC20Factory.sol":{keccak256:"0xb508dc7b6f7fbf6e7156a11ae7a1e6ceed86f627c82b94d4f37dd98691b5e00f",urls:["bzz-raw://5e27f27581f94a983c92809aeda85232e37e1de4552777fbf734c9a0fd84a5a9","dweb:/ipfs/QmVNzxCwipUN2UgcrYf8n7Ei7y6uE76cCYcorAwRg96Kp3"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:106271,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:106274,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"bridge",offset:0,slot:"1",type:"t_address"},{astId:106279,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"__gap",offset:0,slot:"2",type:"t_array(t_uint256)49_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"BRIDGE()":{notice:"Getter function for the address of the StandardBridge on this chain. Public getter is legacy and will be removed in the future. Use `bridge` instead."},"bridge()":{notice:"Address of the StandardBridge on this chain."},constructor:{notice:"Constructs the OptimismMintableERC20Factory contract."},"createOptimismMintableERC20(address,string,string)":{notice:"Creates an instance of the OptimismMintableERC20 contract."},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{notice:"Creates an instance of the OptimismMintableERC20 contract, with specified decimals."},"initialize(address)":{notice:"Initializes the contract."},"version()":{notice:"The semver MUST be bumped any time that there is a change in the OptimismMintableERC20 token contract since this contract is responsible for deploying OptimismMintableERC20 contracts.Semantic version."}},events:{"OptimismMintableERC20Created(address,address,address)":{notice:"Emitted whenever a new OptimismMintableERC20 is created."}},notice:"OptimismMintableERC20Factory is a factory contract that generates OptimismMintableERC20 contracts on the network it's deployed to. Simplifies the deployment process for users who may be less familiar with deploying smart contracts. Designed to be backwards compatible with the older StandardL2ERC20Factory contract."},devdoc:{version:1,kind:"dev",methods:{"BRIDGE()":{returns:{_0:"Address of the StandardBridge on this chain."}},"createOptimismMintableERC20(address,string,string)":{params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{params:{_decimals:"ERC20 decimals",_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createStandardL2Token(address,string,string)":{params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"initialize(address)":{params:{_bridge:"Address of the StandardBridge on this chain."}}},events:{"OptimismMintableERC20Created(address,address,address)":{params:{deployer:"Address of the account that deployed the token.",localToken:"Address of the created token on the local chain.",remoteToken:"Address of the corresponding token on the remote chain."}},"StandardL2TokenCreated(address,address)":{params:{localToken:"Address of the created token on the local chain.",remoteToken:"Address of the token on the remote chain."}}},title:"OptimismMintableERC20Factory"},id:225}});var UKe=D((Jca,PHt)=>{PHt.exports={abi:[{type:"constructor",inputs:[{name:"_owner",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"addressManager",inputs:[],outputs:[{name:"",type:"address",internalType:"contract AddressManager"}],stateMutability:"view"},{type:"function",name:"changeProxyAdmin",inputs:[{name:"_proxy",type:"address",internalType:"address payable"},{name:"_newAdmin",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getProxyAdmin",inputs:[{name:"_proxy",type:"address",internalType:"address payable"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getProxyImplementation",inputs:[{name:"_proxy",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"implementationName",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"isUpgrading",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"proxyType",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint8",internalType:"enum ProxyAdmin.ProxyType"}],stateMutability:"view"},{type:"function",name:"renounceOwnership",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setAddress",inputs:[{name:"_name",type:"string",internalType:"string"},{name:"_address",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setAddressManager",inputs:[{name:"_address",type:"address",internalType:"contract AddressManager"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setImplementationName",inputs:[{name:"_address",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setProxyType",inputs:[{name:"_address",type:"address",internalType:"address"},{name:"_type",type:"uint8",internalType:"enum ProxyAdmin.ProxyType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setUpgrading",inputs:[{name:"_upgrading",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"transferOwnership",inputs:[{name:"newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"upgrade",inputs:[{name:"_proxy",type:"address",internalType:"address payable"},{name:"_implementation",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"upgradeAndCall",inputs:[{name:"_proxy",type:"address",internalType:"address payable"},{name:"_implementation",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"event",name:"OwnershipTransferred",inputs:[{name:"previousOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b5060405162001a5f38038062001a5f8339810160408190526200003491620000a1565b6200003f3362000051565b6200004a8162000051565b50620000d3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620000b457600080fd5b81516001600160a01b0381168114620000cc57600080fd5b9392505050565b61197c80620000e36000396000f3fe60806040526004361061010e5760003560e01c8063860f7cda116100a557806399a88ec411610074578063b794726211610059578063b794726214610329578063f2fde38b14610364578063f3b7dead1461038457600080fd5b806399a88ec4146102e95780639b2ea4bd1461030957600080fd5b8063860f7cda1461026b5780638d52d4a01461028b5780638da5cb5b146102ab5780639623609d146102d657600080fd5b80633ab76e9f116100e15780633ab76e9f146101cc5780636bd9f516146101f9578063715018a6146102365780637eff275e1461024b57600080fd5b80630652b57a1461011357806307c8f7b014610135578063204e1c7a14610155578063238181ae1461019f575b600080fd5b34801561011f57600080fd5b5061013361012e3660046111f9565b6103a4565b005b34801561014157600080fd5b50610133610150366004611216565b6103f3565b34801561016157600080fd5b506101756101703660046111f9565b610445565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101ab57600080fd5b506101bf6101ba3660046111f9565b61066b565b60405161019691906112ae565b3480156101d857600080fd5b506003546101759073ffffffffffffffffffffffffffffffffffffffff1681565b34801561020557600080fd5b506102296102143660046111f9565b60016020526000908152604090205460ff1681565b60405161019691906112f0565b34801561024257600080fd5b50610133610705565b34801561025757600080fd5b50610133610266366004611331565b610719565b34801561027757600080fd5b5061013361028636600461148c565b6108cc565b34801561029757600080fd5b506101336102a63660046114dc565b610903565b3480156102b757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610175565b6101336102e436600461150e565b610977565b3480156102f557600080fd5b50610133610304366004611331565b610b8e565b34801561031557600080fd5b50610133610324366004611584565b610e1e565b34801561033557600080fd5b5060035474010000000000000000000000000000000000000000900460ff166040519015158152602001610196565b34801561037057600080fd5b5061013361037f3660046111f9565b610eb4565b34801561039057600080fd5b5061017561039f3660046111f9565b610f6b565b6103ac6110e1565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6103fb6110e1565b6003805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610481576104816112c1565b036104fc578273ffffffffffffffffffffffffffffffffffffffff16635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f591906115cb565b9392505050565b6001816002811115610510576105106112c1565b03610560578273ffffffffffffffffffffffffffffffffffffffff1663aaf10f426040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6002816002811115610574576105746112c1565b036105fe5760035473ffffffffffffffffffffffffffffffffffffffff8481166000908152600260205260409081902090517fbf40fac1000000000000000000000000000000000000000000000000000000008152919092169163bf40fac1916105e19190600401611635565b602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f50726f787941646d696e3a20756e6b6e6f776e2070726f78792074797065000060448201526064015b60405180910390fd5b50919050565b60026020526000908152604090208054610684906115e8565b80601f01602080910402602001604051908101604052809291908181526020018280546106b0906115e8565b80156106fd5780601f106106d2576101008083540402835291602001916106fd565b820191906000526020600020905b8154815290600101906020018083116106e057829003601f168201915b505050505081565b61070d6110e1565b6107176000611162565b565b6107216110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff169081600281111561075d5761075d6112c1565b036107e9576040517f8f28397000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690638f283970906024015b600060405180830381600087803b1580156107cc57600080fd5b505af11580156107e0573d6000803e3d6000fd5b50505050505050565b60018160028111156107fd576107fd6112c1565b03610856576040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301528416906313af4035906024016107b2565b600281600281111561086a5761086a6112c1565b036105fe576003546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301529091169063f2fde38b906024016107b2565b505050565b6108d46110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604090206108c78282611724565b61090b6110e1565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160208190526040909120805483927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009091169083600281111561096e5761096e6112c1565b02179055505050565b61097f6110e1565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081205460ff16908160028111156109bb576109bb6112c1565b03610a81576040517f4f1ef28600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851690634f1ef286903490610a16908790879060040161183e565b60006040518083038185885af1158015610a34573d6000803e3d6000fd5b50505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610a7b9190810190611875565b50610b88565b610a8b8484610b8e565b60008473ffffffffffffffffffffffffffffffffffffffff163484604051610ab391906118ec565b60006040518083038185875af1925050503d8060008114610af0576040519150601f19603f3d011682016040523d82523d6000602084013e610af5565b606091505b5050905080610b86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f50726f787941646d696e3a2063616c6c20746f2070726f78792061667465722060448201527f75706772616465206661696c6564000000000000000000000000000000000000606482015260840161065c565b505b50505050565b610b966110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff1690816002811115610bd257610bd26112c1565b03610c2b576040517f3659cfe600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690633659cfe6906024016107b2565b6001816002811115610c3f57610c3f6112c1565b03610cbe576040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc600482015273ffffffffffffffffffffffffffffffffffffffff8381166024830152841690639b0b0fda906044016107b2565b6002816002811115610cd257610cd26112c1565b03610e165773ffffffffffffffffffffffffffffffffffffffff831660009081526002602052604081208054610d07906115e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d33906115e8565b8015610d805780601f10610d5557610100808354040283529160200191610d80565b820191906000526020600020905b815481529060010190602001808311610d6357829003601f168201915b50506003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815294955073ffffffffffffffffffffffffffffffffffffffff1693639b2ea4bd9350610dde92508591508790600401611908565b600060405180830381600087803b158015610df857600080fd5b505af1158015610e0c573d6000803e3d6000fd5b5050505050505050565b6108c7611940565b610e266110e1565b6003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b2ea4bd90610e7e9085908590600401611908565b600060405180830381600087803b158015610e9857600080fd5b505af1158015610eac573d6000803e3d6000fd5b505050505050565b610ebc6110e1565b73ffffffffffffffffffffffffffffffffffffffff8116610f5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161065c565b610f6881611162565b50565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610fa757610fa76112c1565b03610ff7578273ffffffffffffffffffffffffffffffffffffffff1663f851a4406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600181600281111561100b5761100b6112c1565b0361105b578273ffffffffffffffffffffffffffffffffffffffff1663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600281600281111561106f5761106f6112c1565b036105fe57600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161065c565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff81168114610f6857600080fd5b60006020828403121561120b57600080fd5b81356104f5816111d7565b60006020828403121561122857600080fd5b813580151581146104f557600080fd5b60005b8381101561125357818101518382015260200161123b565b83811115610b885750506000910152565b6000815180845261127c816020860160208601611238565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104f56020830184611264565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b602081016003831061132b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b6000806040838503121561134457600080fd5b823561134f816111d7565b9150602083013561135f816111d7565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156113e0576113e061136a565b604052919050565b600067ffffffffffffffff8211156114025761140261136a565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600061144161143c846113e8565b611399565b905082815283838301111561145557600080fd5b828260208301376000602084830101529392505050565b600082601f83011261147d57600080fd5b6104f58383356020850161142e565b6000806040838503121561149f57600080fd5b82356114aa816111d7565b9150602083013567ffffffffffffffff8111156114c657600080fd5b6114d28582860161146c565b9150509250929050565b600080604083850312156114ef57600080fd5b82356114fa816111d7565b915060208301356003811061135f57600080fd5b60008060006060848603121561152357600080fd5b833561152e816111d7565b9250602084013561153e816111d7565b9150604084013567ffffffffffffffff81111561155a57600080fd5b8401601f8101861361156b57600080fd5b61157a8682356020840161142e565b9150509250925092565b6000806040838503121561159757600080fd5b823567ffffffffffffffff8111156115ae57600080fd5b6115ba8582860161146c565b925050602083013561135f816111d7565b6000602082840312156115dd57600080fd5b81516104f5816111d7565b600181811c908216806115fc57607f821691505b602082108103610665577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000602080835260008454611649816115e8565b8084870152604060018084166000811461166a57600181146116a2576116d0565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838a01528284151560051b8a010195506116d0565b896000528660002060005b858110156116c85781548b82018601529083019088016116ad565b8a0184019650505b509398975050505050505050565b601f8211156108c757600081815260208120601f850160051c810160208610156117055750805b601f850160051c820191505b81811015610eac57828155600101611711565b815167ffffffffffffffff81111561173e5761173e61136a565b6117528161174c84546115e8565b846116de565b602080601f8311600181146117a5576000841561176f5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555610eac565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156117f2578886015182559484019460019091019084016117d3565b508582101561182e57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b73ffffffffffffffffffffffffffffffffffffffff8316815260406020820152600061186d6040830184611264565b949350505050565b60006020828403121561188757600080fd5b815167ffffffffffffffff81111561189e57600080fd5b8201601f810184136118af57600080fd5b80516118bd61143c826113e8565b8181528560208385010111156118d257600080fd5b6118e3826020830160208601611238565b95945050505050565b600082516118fe818460208701611238565b9190910192915050565b60408152600061191b6040830185611264565b905073ffffffffffffffffffffffffffffffffffffffff831660208301529392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fdfea164736f6c634300080f000a",sourceMap:"1241:8036:229:-:0;;;2494:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;936:32:38;719:10:58;936:18:38;:32::i;:::-;2542:26:229::1;2561:6:::0;2542:18:::1;:26::i;:::-;2494:81:::0;1241:8036;;2433:187:38;2506:16;2525:6;;-1:-1:-1;;;;;2541:17:38;;;-1:-1:-1;;;;;;2541:17:38;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;14:290:350:-;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;179:16;;-1:-1:-1;;;;;224:31:350;;214:42;;204:70;;270:1;267;260:12;204:70;293:5;14:290;-1:-1:-1;;;14:290:350:o;:::-;1241:8036:229;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061010e5760003560e01c8063860f7cda116100a557806399a88ec411610074578063b794726211610059578063b794726214610329578063f2fde38b14610364578063f3b7dead1461038457600080fd5b806399a88ec4146102e95780639b2ea4bd1461030957600080fd5b8063860f7cda1461026b5780638d52d4a01461028b5780638da5cb5b146102ab5780639623609d146102d657600080fd5b80633ab76e9f116100e15780633ab76e9f146101cc5780636bd9f516146101f9578063715018a6146102365780637eff275e1461024b57600080fd5b80630652b57a1461011357806307c8f7b014610135578063204e1c7a14610155578063238181ae1461019f575b600080fd5b34801561011f57600080fd5b5061013361012e3660046111f9565b6103a4565b005b34801561014157600080fd5b50610133610150366004611216565b6103f3565b34801561016157600080fd5b506101756101703660046111f9565b610445565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101ab57600080fd5b506101bf6101ba3660046111f9565b61066b565b60405161019691906112ae565b3480156101d857600080fd5b506003546101759073ffffffffffffffffffffffffffffffffffffffff1681565b34801561020557600080fd5b506102296102143660046111f9565b60016020526000908152604090205460ff1681565b60405161019691906112f0565b34801561024257600080fd5b50610133610705565b34801561025757600080fd5b50610133610266366004611331565b610719565b34801561027757600080fd5b5061013361028636600461148c565b6108cc565b34801561029757600080fd5b506101336102a63660046114dc565b610903565b3480156102b757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610175565b6101336102e436600461150e565b610977565b3480156102f557600080fd5b50610133610304366004611331565b610b8e565b34801561031557600080fd5b50610133610324366004611584565b610e1e565b34801561033557600080fd5b5060035474010000000000000000000000000000000000000000900460ff166040519015158152602001610196565b34801561037057600080fd5b5061013361037f3660046111f9565b610eb4565b34801561039057600080fd5b5061017561039f3660046111f9565b610f6b565b6103ac6110e1565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6103fb6110e1565b6003805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610481576104816112c1565b036104fc578273ffffffffffffffffffffffffffffffffffffffff16635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f591906115cb565b9392505050565b6001816002811115610510576105106112c1565b03610560578273ffffffffffffffffffffffffffffffffffffffff1663aaf10f426040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6002816002811115610574576105746112c1565b036105fe5760035473ffffffffffffffffffffffffffffffffffffffff8481166000908152600260205260409081902090517fbf40fac1000000000000000000000000000000000000000000000000000000008152919092169163bf40fac1916105e19190600401611635565b602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f50726f787941646d696e3a20756e6b6e6f776e2070726f78792074797065000060448201526064015b60405180910390fd5b50919050565b60026020526000908152604090208054610684906115e8565b80601f01602080910402602001604051908101604052809291908181526020018280546106b0906115e8565b80156106fd5780601f106106d2576101008083540402835291602001916106fd565b820191906000526020600020905b8154815290600101906020018083116106e057829003601f168201915b505050505081565b61070d6110e1565b6107176000611162565b565b6107216110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff169081600281111561075d5761075d6112c1565b036107e9576040517f8f28397000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690638f283970906024015b600060405180830381600087803b1580156107cc57600080fd5b505af11580156107e0573d6000803e3d6000fd5b50505050505050565b60018160028111156107fd576107fd6112c1565b03610856576040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301528416906313af4035906024016107b2565b600281600281111561086a5761086a6112c1565b036105fe576003546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301529091169063f2fde38b906024016107b2565b505050565b6108d46110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604090206108c78282611724565b61090b6110e1565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160208190526040909120805483927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009091169083600281111561096e5761096e6112c1565b02179055505050565b61097f6110e1565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081205460ff16908160028111156109bb576109bb6112c1565b03610a81576040517f4f1ef28600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851690634f1ef286903490610a16908790879060040161183e565b60006040518083038185885af1158015610a34573d6000803e3d6000fd5b50505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610a7b9190810190611875565b50610b88565b610a8b8484610b8e565b60008473ffffffffffffffffffffffffffffffffffffffff163484604051610ab391906118ec565b60006040518083038185875af1925050503d8060008114610af0576040519150601f19603f3d011682016040523d82523d6000602084013e610af5565b606091505b5050905080610b86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f50726f787941646d696e3a2063616c6c20746f2070726f78792061667465722060448201527f75706772616465206661696c6564000000000000000000000000000000000000606482015260840161065c565b505b50505050565b610b966110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff1690816002811115610bd257610bd26112c1565b03610c2b576040517f3659cfe600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690633659cfe6906024016107b2565b6001816002811115610c3f57610c3f6112c1565b03610cbe576040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc600482015273ffffffffffffffffffffffffffffffffffffffff8381166024830152841690639b0b0fda906044016107b2565b6002816002811115610cd257610cd26112c1565b03610e165773ffffffffffffffffffffffffffffffffffffffff831660009081526002602052604081208054610d07906115e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d33906115e8565b8015610d805780601f10610d5557610100808354040283529160200191610d80565b820191906000526020600020905b815481529060010190602001808311610d6357829003601f168201915b50506003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815294955073ffffffffffffffffffffffffffffffffffffffff1693639b2ea4bd9350610dde92508591508790600401611908565b600060405180830381600087803b158015610df857600080fd5b505af1158015610e0c573d6000803e3d6000fd5b5050505050505050565b6108c7611940565b610e266110e1565b6003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b2ea4bd90610e7e9085908590600401611908565b600060405180830381600087803b158015610e9857600080fd5b505af1158015610eac573d6000803e3d6000fd5b505050505050565b610ebc6110e1565b73ffffffffffffffffffffffffffffffffffffffff8116610f5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161065c565b610f6881611162565b50565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610fa757610fa76112c1565b03610ff7578273ffffffffffffffffffffffffffffffffffffffff1663f851a4406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600181600281111561100b5761100b6112c1565b0361105b578273ffffffffffffffffffffffffffffffffffffffff1663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600281600281111561106f5761106f6112c1565b036105fe57600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161065c565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff81168114610f6857600080fd5b60006020828403121561120b57600080fd5b81356104f5816111d7565b60006020828403121561122857600080fd5b813580151581146104f557600080fd5b60005b8381101561125357818101518382015260200161123b565b83811115610b885750506000910152565b6000815180845261127c816020860160208601611238565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104f56020830184611264565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b602081016003831061132b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b6000806040838503121561134457600080fd5b823561134f816111d7565b9150602083013561135f816111d7565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156113e0576113e061136a565b604052919050565b600067ffffffffffffffff8211156114025761140261136a565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600061144161143c846113e8565b611399565b905082815283838301111561145557600080fd5b828260208301376000602084830101529392505050565b600082601f83011261147d57600080fd5b6104f58383356020850161142e565b6000806040838503121561149f57600080fd5b82356114aa816111d7565b9150602083013567ffffffffffffffff8111156114c657600080fd5b6114d28582860161146c565b9150509250929050565b600080604083850312156114ef57600080fd5b82356114fa816111d7565b915060208301356003811061135f57600080fd5b60008060006060848603121561152357600080fd5b833561152e816111d7565b9250602084013561153e816111d7565b9150604084013567ffffffffffffffff81111561155a57600080fd5b8401601f8101861361156b57600080fd5b61157a8682356020840161142e565b9150509250925092565b6000806040838503121561159757600080fd5b823567ffffffffffffffff8111156115ae57600080fd5b6115ba8582860161146c565b925050602083013561135f816111d7565b6000602082840312156115dd57600080fd5b81516104f5816111d7565b600181811c908216806115fc57607f821691505b602082108103610665577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000602080835260008454611649816115e8565b8084870152604060018084166000811461166a57600181146116a2576116d0565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838a01528284151560051b8a010195506116d0565b896000528660002060005b858110156116c85781548b82018601529083019088016116ad565b8a0184019650505b509398975050505050505050565b601f8211156108c757600081815260208120601f850160051c810160208610156117055750805b601f850160051c820191505b81811015610eac57828155600101611711565b815167ffffffffffffffff81111561173e5761173e61136a565b6117528161174c84546115e8565b846116de565b602080601f8311600181146117a5576000841561176f5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555610eac565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156117f2578886015182559484019460019091019084016117d3565b508582101561182e57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b73ffffffffffffffffffffffffffffffffffffffff8316815260406020820152600061186d6040830184611264565b949350505050565b60006020828403121561188757600080fd5b815167ffffffffffffffff81111561189e57600080fd5b8201601f810184136118af57600080fd5b80516118bd61143c826113e8565b8181528560208385010111156118d257600080fd5b6118e3826020830160208601611238565b95945050505050565b600082516118fe818460208701611238565b9190910192915050565b60408152600061191b6040830185611264565b905073ffffffffffffffffffffffffffffffffffffffff831660208301529392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fdfea164736f6c634300080f000a",sourceMap:"1241:8036:229:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3571:113;;;;;;;;;;-1:-1:-1;3571:113:229;;;;;:::i;:::-;;:::i;:::-;;4430:97;;;;;;;;;;-1:-1:-1;4430:97:229;;;;;:::i;:::-;;:::i;5236:569::-;;;;;;;;;;-1:-1:-1;5236:569:229;;;;;:::i;:::-;;:::i;:::-;;;1203:42:350;1191:55;;;1173:74;;1161:2;1146:18;5236:569:229;;;;;;;;2087:52;;;;;;;;;;-1:-1:-1;2087:52:229;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2273:36::-;;;;;;;;;;-1:-1:-1;2273:36:229;;;;;;;;1760:46;;;;;;;;;;-1:-1:-1;1760:46:229;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;1831:101:38:-;;;;;;;;;;;;;:::i;6689:531:229:-;;;;;;;;;;-1:-1:-1;6689:531:229;;;;;:::i;:::-;;:::i;3219:142::-;;;;;;;;;;-1:-1:-1;3219:142:229;;;;;:::i;:::-;;:::i;2796:120::-;;;;;;;;;;-1:-1:-1;2796:120:229;;;;;:::i;:::-;;:::i;1201:85:38:-;;;;;;;;;;-1:-1:-1;1247:7:38;1273:6;;;1201:85;;8644:631:229;;;;;;:::i;:::-;;:::i;7423:816::-;;;;;;;;;;-1:-1:-1;7423:816:229;;;;;:::i;:::-;;:::i;4126:137::-;;;;;;;;;;-1:-1:-1;4126:137:229;;;;;:::i;:::-;;:::i;4941:85::-;;;;;;;;;;-1:-1:-1;5010:9:229;;;;;;;4941:85;;7026:14:350;;7019:22;7001:41;;6989:2;6974:18;4941:85:229;6861:187:350;2081:198:38;;;;;;;;;;-1:-1:-1;2081:198:38;;;;;:::i;:::-;;:::i;5988:519:229:-;;;;;;;;;;-1:-1:-1;5988:519:229;;;;;:::i;:::-;;:::i;3571:113::-;1094:13:38;:11;:13::i;:::-;3652:14:229::1;:25:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;3571:113::o;4430:97::-;1094:13:38;:11;:13::i;:::-;4498:9:229::1;:22:::0;;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;4430:97::o;5236:569::-;5344:17;;;5307:7;5344:17;;;:9;:17;;;;;;;;5307:7;5375:5;:26;;;;;;;;:::i;:::-;;5371:428;;5444:6;5424:42;;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5417:51;5236:569;-1:-1:-1;;;5236:569:229:o;5371:428::-;5498:20;5489:5;:29;;;;;;;;:::i;:::-;;5485:314;;5566:6;5541:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5485:314;5623:18;5614:5;:27;;;;;;;;:::i;:::-;;5610:189;;5664:14;;;5690:26;;;5664:14;5690:26;;;:18;:26;;;;;;;5664:53;;;;;:14;;;;;:25;;:53;;5690:26;5664:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;5610:189;5748:40;;;;;9397:2:350;5748:40:229;;;9379:21:350;9436:2;9416:18;;;9409:30;9475:32;9455:18;;;9448:60;9525:18;;5748:40:229;;;;;;;;5610:189;5316:489;5236:569;;;:::o;2087:52::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1831:101:38:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;6689:531:229:-;1094:13:38;:11;:13::i;:::-;6805:17:229::1;::::0;::::1;6787:15;6805:17:::0;;;:9:::1;:17;::::0;;;;;::::1;;::::0;6836:5:::1;:26;;;;;;;;:::i;:::-;::::0;6832:382:::1;;6878:36;::::0;;;;:25:::1;1191:55:350::0;;;6878:36:229::1;::::0;::::1;1173:74:350::0;6878:25:229;::::1;::::0;::::1;::::0;1146:18:350;;6878:36:229::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;6777:443;6689:531:::0;;:::o;6832:382::-:1;6944:20;6935:5;:29;;;;;;;;:::i;:::-;::::0;6931:283:::1;;6980:45;::::0;;;;:34:::1;1191:55:350::0;;;6980:45:229::1;::::0;::::1;1173:74:350::0;6980:34:229;::::1;::::0;::::1;::::0;1146:18:350;;6980:45:229::1;1027:226:350::0;6931:283:229::1;7055:18;7046:5;:27;;;;;;;;:::i;:::-;::::0;7042:172:::1;;7089:14;::::0;:43:::1;::::0;;;;:14:::1;1191:55:350::0;;;7089:43:229::1;::::0;::::1;1173:74:350::0;7089:14:229;;::::1;::::0;:32:::1;::::0;1146:18:350;;7089:43:229::1;1027:226:350::0;7042:172:229::1;6777:443;6689:531:::0;;:::o;3219:142::-;1094:13:38;:11;:13::i;:::-;3318:28:229::1;::::0;::::1;;::::0;;;:18:::1;:28;::::0;;;;:36:::1;3349:5:::0;3318:28;:36:::1;:::i;2796:120::-:0;1094:13:38;:11;:13::i;:::-;2882:19:229::1;::::0;::::1;;::::0;;;:9:::1;:19;::::0;;;;;;;:27;;2904:5;;2882:27;;;::::1;::::0;2904:5;2882:27:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;2796:120:::0;;:::o;8644:631::-;1094:13:38;:11;:13::i;:::-;8850:17:229::1;::::0;::::1;8832:15;8850:17:::0;;;:9:::1;:17;::::0;;;;;::::1;;::::0;8881:5:::1;:26;;;;;;;;:::i;:::-;::::0;8877:392:::1;;8923:74;::::0;;;;:30:::1;::::0;::::1;::::0;::::1;::::0;8962:9:::1;::::0;8923:74:::1;::::0;8974:15;;8991:5;;8923:74:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;;8877:392;;;9076:32;9084:6;9092:15;9076:7;:32::i;:::-;9123:12;9140:6;:11;;9160:9;9172:5;9140:38;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9122:56;;;9200:7;9192:66;;;::::0;::::1;::::0;;13275:2:350;9192:66:229::1;::::0;::::1;13257:21:350::0;13314:2;13294:18;;;13287:30;13353:34;13333:18;;;13326:62;13424:16;13404:18;;;13397:44;13458:19;;9192:66:229::1;13073:410:350::0;9192:66:229::1;9014:255;8877:392;8822:453;8644:631:::0;;;:::o;7423:816::-;1094:13:38;:11;:13::i;:::-;7534:17:229::1;::::0;::::1;7516:15;7534:17:::0;;;:9:::1;:17;::::0;;;;;::::1;;::::0;7565:5:::1;:26;;;;;;;;:::i;:::-;::::0;7561:672:::1;;7607:40;::::0;;;;:23:::1;1191:55:350::0;;;7607:40:229::1;::::0;::::1;1173:74:350::0;7607:23:229;::::1;::::0;::::1;::::0;1146:18:350;;7607:40:229::1;1027:226:350::0;7561:672:229::1;7677:20;7668:5;:29;;;;;;;;:::i;:::-;::::0;7664:569:::1;;7713:150;::::0;;;;1614:66:188::1;7713:150:229;::::0;::::1;13662:25:350::0;7713:36:229::1;7815:33:::0;;::::1;13703:18:350::0;;;13696:34;7713:36:229;::::1;::::0;::::1;::::0;13635:18:350;;7713:150:229::1;13488:248:350::0;7664:569:229::1;7893:18;7884:5;:27;;;;;;;;:::i;:::-;::::0;7880:353:::1;;7948:26;::::0;::::1;7927:18;7948:26:::0;;;:18:::1;:26;::::0;;;;7927:47;;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;7988:14:229::1;::::0;:48:::1;::::0;;;;7927:47;;-1:-1:-1;7988:14:229::1;;::::0;:25:::1;::::0;-1:-1:-1;7988:48:229::1;::::0;-1:-1:-1;7927:47:229;;-1:-1:-1;8020:15:229;;7988:48:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;7913:134;6777:443;6689:531:::0;;:::o;7880:353::-:1;8209:13;;:::i;4126:137::-:0;1094:13:38;:11;:13::i;:::-;4214:14:229::1;::::0;:42:::1;::::0;;;;:14:::1;::::0;;::::1;::::0;:25:::1;::::0;:42:::1;::::0;4240:5;;4247:8;;4214:42:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4126:137:::0;;:::o;2081:198:38:-;1094:13;:11;:13::i;:::-;2169:22:::1;::::0;::::1;2161:73;;;::::0;::::1;::::0;;14477:2:350;2161:73:38::1;::::0;::::1;14459:21:350::0;14516:2;14496:18;;;14489:30;14555:34;14535:18;;;14528:62;14626:8;14606:18;;;14599:36;14652:19;;2161:73:38::1;14275:402:350::0;2161:73:38::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;5988:519:229:-;6095:17;;;6058:7;6095:17;;;:9;:17;;;;;;;;6058:7;6126:5;:26;;;;;;;;:::i;:::-;;6122:379;;6195:6;6175:33;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6122:379;6240:20;6231:5;:29;;;;;;;;:::i;:::-;;6227:274;;6308:6;6283:41;;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6227:274;6356:18;6347:5;:27;;;;;;;;:::i;:::-;;6343:158;;6397:14;;;;;;;;;;;:20;;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1359:130:38;1247:7;1273:6;1422:23;1273:6;719:10:58;1422:23:38;1414:68;;;;;;;14884:2:350;1414:68:38;;;14866:21:350;;;14903:18;;;14896:30;14962:34;14942:18;;;14935:62;15014:18;;1414:68:38;14682:356:350;2433:187:38;2506:16;2525:6;;;2541:17;;;;;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;14:170:350:-;116:42;109:5;105:54;98:5;95:65;85:93;;174:1;171;164:12;189:287;272:6;325:2;313:9;304:7;300:23;296:32;293:52;;;341:1;338;331:12;293:52;380:9;367:23;399:47;440:5;399:47;:::i;481:273::-;537:6;590:2;578:9;569:7;565:23;561:32;558:52;;;606:1;603;596:12;558:52;645:9;632:23;698:5;691:13;684:21;677:5;674:32;664:60;;720:1;717;710:12;1258:258;1330:1;1340:113;1354:6;1351:1;1348:13;1340:113;;;1430:11;;;1424:18;1411:11;;;1404:39;1376:2;1369:10;1340:113;;;1471:6;1468:1;1465:13;1462:48;;;-1:-1:-1;;1506:1:350;1488:16;;1481:27;1258:258::o;1521:317::-;1563:3;1601:5;1595:12;1628:6;1623:3;1616:19;1644:63;1700:6;1693:4;1688:3;1684:14;1677:4;1670:5;1666:16;1644:63;:::i;:::-;1752:2;1740:15;1757:66;1736:88;1727:98;;;;1827:4;1723:109;;1521:317;-1:-1:-1;;1521:317:350:o;1843:220::-;1992:2;1981:9;1974:21;1955:4;2012:45;2053:2;2042:9;2038:18;2030:6;2012:45;:::i;2323:184::-;2375:77;2372:1;2365:88;2472:4;2469:1;2462:15;2496:4;2493:1;2486:15;2512:401;2660:2;2645:18;;2693:1;2682:13;;2672:201;;2729:77;2726:1;2719:88;2830:4;2827:1;2820:15;2858:4;2855:1;2848:15;2672:201;2882:25;;;2512:401;:::o;2918:428::-;2994:6;3002;3055:2;3043:9;3034:7;3030:23;3026:32;3023:52;;;3071:1;3068;3061:12;3023:52;3110:9;3097:23;3129:47;3170:5;3129:47;:::i;:::-;3195:5;-1:-1:-1;3252:2:350;3237:18;;3224:32;3265:49;3224:32;3265:49;:::i;:::-;3333:7;3323:17;;;2918:428;;;;;:::o;3351:184::-;3403:77;3400:1;3393:88;3500:4;3497:1;3490:15;3524:4;3521:1;3514:15;3540:334;3611:2;3605:9;3667:2;3657:13;;3672:66;3653:86;3641:99;;3770:18;3755:34;;3791:22;;;3752:62;3749:88;;;3817:18;;:::i;:::-;3853:2;3846:22;3540:334;;-1:-1:-1;3540:334:350:o;3879:246::-;3928:4;3961:18;3953:6;3950:30;3947:56;;;3983:18;;:::i;:::-;-1:-1:-1;4040:2:350;4028:15;4045:66;4024:88;4114:4;4020:99;;3879:246::o;4130:338::-;4195:5;4224:53;4240:36;4269:6;4240:36;:::i;:::-;4224:53;:::i;:::-;4215:62;;4300:6;4293:5;4286:21;4340:3;4331:6;4326:3;4322:16;4319:25;4316:45;;;4357:1;4354;4347:12;4316:45;4406:6;4401:3;4394:4;4387:5;4383:16;4370:43;4460:1;4453:4;4444:6;4437:5;4433:18;4429:29;4422:40;4130:338;;;;;:::o;4473:222::-;4516:5;4569:3;4562:4;4554:6;4550:17;4546:27;4536:55;;4587:1;4584;4577:12;4536:55;4609:80;4685:3;4676:6;4663:20;4656:4;4648:6;4644:17;4609:80;:::i;4700:473::-;4778:6;4786;4839:2;4827:9;4818:7;4814:23;4810:32;4807:52;;;4855:1;4852;4845:12;4807:52;4894:9;4881:23;4913:47;4954:5;4913:47;:::i;:::-;4979:5;-1:-1:-1;5035:2:350;5020:18;;5007:32;5062:18;5051:30;;5048:50;;;5094:1;5091;5084:12;5048:50;5117;5159:7;5150:6;5139:9;5135:22;5117:50;:::i;:::-;5107:60;;;4700:473;;;;;:::o;5178:429::-;5262:6;5270;5323:2;5311:9;5302:7;5298:23;5294:32;5291:52;;;5339:1;5336;5329:12;5291:52;5378:9;5365:23;5397:47;5438:5;5397:47;:::i;:::-;5463:5;-1:-1:-1;5520:2:350;5505:18;;5492:32;5555:1;5543:14;;5533:42;;5571:1;5568;5561:12;5612:766;5706:6;5714;5722;5775:2;5763:9;5754:7;5750:23;5746:32;5743:52;;;5791:1;5788;5781:12;5743:52;5830:9;5817:23;5849:47;5890:5;5849:47;:::i;:::-;5915:5;-1:-1:-1;5972:2:350;5957:18;;5944:32;5985:49;5944:32;5985:49;:::i;:::-;6053:7;-1:-1:-1;6111:2:350;6096:18;;6083:32;6138:18;6127:30;;6124:50;;;6170:1;6167;6160:12;6124:50;6193:22;;6246:4;6238:13;;6234:27;-1:-1:-1;6224:55:350;;6275:1;6272;6265:12;6224:55;6298:74;6364:7;6359:2;6346:16;6341:2;6337;6333:11;6298:74;:::i;:::-;6288:84;;;5612:766;;;;;:::o;6383:473::-;6461:6;6469;6522:2;6510:9;6501:7;6497:23;6493:32;6490:52;;;6538:1;6535;6528:12;6490:52;6578:9;6565:23;6611:18;6603:6;6600:30;6597:50;;;6643:1;6640;6633:12;6597:50;6666;6708:7;6699:6;6688:9;6684:22;6666:50;:::i;:::-;6656:60;;;6766:2;6755:9;6751:18;6738:32;6779:47;6820:5;6779:47;:::i;7329:267::-;7399:6;7452:2;7440:9;7431:7;7427:23;7423:32;7420:52;;;7468:1;7465;7458:12;7420:52;7500:9;7494:16;7519:47;7560:5;7519:47;:::i;7601:437::-;7680:1;7676:12;;;;7723;;;7744:61;;7798:4;7790:6;7786:17;7776:27;;7744:61;7851:2;7843:6;7840:14;7820:18;7817:38;7814:218;;7888:77;7885:1;7878:88;7989:4;7986:1;7979:15;8017:4;8014:1;8007:15;8169:1021;8278:4;8307:2;8336;8325:9;8318:21;8359:1;8392:6;8386:13;8422:36;8448:9;8422:36;:::i;:::-;8494:6;8489:2;8478:9;8474:18;8467:34;8520:2;8541:1;8573:2;8562:9;8558:18;8590:1;8585:216;;;;8815:1;8810:354;;;;8551:613;;8585:216;8648:66;8637:9;8633:82;8628:2;8617:9;8613:18;8606:110;8788:2;8776:6;8769:14;8762:22;8759:1;8755:30;8744:9;8740:46;8736:55;8729:62;;8585:216;;8810:354;8841:6;8838:1;8831:17;8889:2;8886:1;8876:16;8914:1;8928:180;8942:6;8939:1;8936:13;8928:180;;;9035:14;;9011:17;;;9007:26;;9000:50;9078:16;;;;8957:10;;8928:180;;;9132:17;;9128:26;;;-1:-1:-1;;8551:613:350;-1:-1:-1;9181:3:350;;8169:1021;-1:-1:-1;;;;;;;;8169:1021:350:o;9554:545::-;9656:2;9651:3;9648:11;9645:448;;;9692:1;9717:5;9713:2;9706:17;9762:4;9758:2;9748:19;9832:2;9820:10;9816:19;9813:1;9809:27;9803:4;9799:38;9868:4;9856:10;9853:20;9850:47;;;-1:-1:-1;9891:4:350;9850:47;9946:2;9941:3;9937:12;9934:1;9930:20;9924:4;9920:31;9910:41;;10001:82;10019:2;10012:5;10009:13;10001:82;;;10064:17;;;10045:1;10034:13;10001:82;;10335:1471;10461:3;10455:10;10488:18;10480:6;10477:30;10474:56;;;10510:18;;:::i;:::-;10539:97;10629:6;10589:38;10621:4;10615:11;10589:38;:::i;:::-;10583:4;10539:97;:::i;:::-;10691:4;;10755:2;10744:14;;10772:1;10767:782;;;;11593:1;11610:6;11607:89;;;-1:-1:-1;11662:19:350;;;11656:26;11607:89;10241:66;10232:1;10228:11;;;10224:84;10220:89;10210:100;10316:1;10312:11;;;10207:117;11709:81;;10737:1063;;10767:782;8116:1;8109:14;;;8153:4;8140:18;;10815:66;10803:79;;;10980:236;10994:7;10991:1;10988:14;10980:236;;;11083:19;;;11077:26;11062:42;;11175:27;;;;11143:1;11131:14;;;;11010:19;;10980:236;;;10984:3;11244:6;11235:7;11232:19;11229:261;;;11305:19;;;11299:26;11406:66;11388:1;11384:14;;;11400:3;11380:24;11376:97;11372:102;11357:118;11342:134;;11229:261;-1:-1:-1;;;;;11536:1:350;11520:14;;;11516:22;11503:36;;-1:-1:-1;10335:1471:350:o;11811:338::-;11998:42;11990:6;11986:55;11975:9;11968:74;12078:2;12073;12062:9;12058:18;12051:30;11949:4;12098:45;12139:2;12128:9;12124:18;12116:6;12098:45;:::i;:::-;12090:53;11811:338;-1:-1:-1;;;;11811:338:350:o;12154:635::-;12233:6;12286:2;12274:9;12265:7;12261:23;12257:32;12254:52;;;12302:1;12299;12292:12;12254:52;12335:9;12329:16;12368:18;12360:6;12357:30;12354:50;;;12400:1;12397;12390:12;12354:50;12423:22;;12476:4;12468:13;;12464:27;-1:-1:-1;12454:55:350;;12505:1;12502;12495:12;12454:55;12534:2;12528:9;12559:49;12575:32;12604:2;12575:32;:::i;12559:49::-;12631:2;12624:5;12617:17;12671:7;12666:2;12661;12657;12653:11;12649:20;12646:33;12643:53;;;12692:1;12689;12682:12;12643:53;12705:54;12756:2;12751;12744:5;12740:14;12735:2;12731;12727:11;12705:54;:::i;:::-;12778:5;12154:635;-1:-1:-1;;;;;12154:635:350:o;12794:274::-;12923:3;12961:6;12955:13;12977:53;13023:6;13018:3;13011:4;13003:6;12999:17;12977:53;:::i;:::-;13046:16;;;;;12794:274;-1:-1:-1;;12794:274:350:o;13741:340::-;13918:2;13907:9;13900:21;13881:4;13938:45;13979:2;13968:9;13964:18;13956:6;13938:45;:::i;:::-;13930:53;;14031:42;14023:6;14019:55;14014:2;14003:9;13999:18;13992:83;13741:340;;;;;:::o;14086:184::-;14138:77;14135:1;14128:88;14235:4;14232:1;14225:15;14259:4;14256:1;14249:15",linkReferences:{}},methodIdentifiers:{"addressManager()":"3ab76e9f","changeProxyAdmin(address,address)":"7eff275e","getProxyAdmin(address)":"f3b7dead","getProxyImplementation(address)":"204e1c7a","implementationName(address)":"238181ae","isUpgrading()":"b7947262","owner()":"8da5cb5b","proxyType(address)":"6bd9f516","renounceOwnership()":"715018a6","setAddress(string,address)":"9b2ea4bd","setAddressManager(address)":"0652b57a","setImplementationName(address,string)":"860f7cda","setProxyType(address,uint8)":"8d52d4a0","setUpgrading(bool)":"07c8f7b0","transferOwnership(address)":"f2fde38b","upgrade(address,address)":"99a88ec4","upgradeAndCall(address,address,bytes)":"9623609d"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"addressManager","outputs":[{"internalType":"contract AddressManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"},{"internalType":"address","name":"_newAdmin","type":"address"}],"name":"changeProxyAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"}],"name":"getProxyAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_proxy","type":"address"}],"name":"getProxyImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"implementationName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isUpgrading","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"proxyType","outputs":[{"internalType":"enum ProxyAdmin.ProxyType","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"address","name":"_address","type":"address"}],"name":"setAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract AddressManager","name":"_address","type":"address"}],"name":"setAddressManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"string","name":"_name","type":"string"}],"name":"setImplementationName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"enum ProxyAdmin.ProxyType","name":"_type","type":"uint8"}],"name":"setProxyType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_upgrading","type":"bool"}],"name":"setUpgrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"},{"internalType":"address","name":"_implementation","type":"address"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"},{"internalType":"address","name":"_implementation","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"upgradeAndCall","outputs":[],"stateMutability":"payable","type":"function"}],"devdoc":{"kind":"dev","methods":{"changeProxyAdmin(address,address)":{"params":{"_newAdmin":"Address of the new proxy admin.","_proxy":"Address of the proxy to update."}},"constructor":{"params":{"_owner":"Address of the initial owner of this contract."}},"getProxyAdmin(address)":{"params":{"_proxy":"Address of the proxy to get the admin of."},"returns":{"_0":"Address of the admin of the proxy."}},"getProxyImplementation(address)":{"params":{"_proxy":"Address of the proxy to get the implementation of."},"returns":{"_0":"Address of the implementation of the proxy."}},"isUpgrading()":{"custom:legacy":"@notice Legacy function used to tell ChugSplashProxy contracts if an upgrade is happening.","returns":{"_0":"Whether or not there is an upgrade going on. May not actually tell you whether an upgrade is going on, since we don\'t currently plan to use this variable for anything other than a legacy indicator to fix a UX bug in the ChugSplash proxy."}},"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setAddress(string,address)":{"custom:legacy":"@notice Set an address in the address manager. Since only the owner of the AddressManager can directly modify addresses and the ProxyAdmin will own the AddressManager, this gives the owner of the ProxyAdmin the ability to modify addresses directly.","params":{"_address":"Address to attach to the given name.","_name":"Name to set within the AddressManager."}},"setAddressManager(address)":{"params":{"_address":"Address of the AddressManager."}},"setImplementationName(address,string)":{"params":{"_address":"Address of the ResolvedDelegateProxy.","_name":"Name of the implementation for the proxy."}},"setProxyType(address,uint8)":{"params":{"_address":"Address of the proxy.","_type":"Type of the proxy."}},"setUpgrading(bool)":{"custom:legacy":"@notice Set the upgrading status for the Chugsplash proxy type.","params":{"_upgrading":"Whether or not the system is upgrading."}},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"upgrade(address,address)":{"params":{"_implementation":"Address of the new implementation address.","_proxy":"Address of the proxy to upgrade."}},"upgradeAndCall(address,address,bytes)":{"params":{"_data":"Data to trigger the new implementation with.","_implementation":"Address of the new implementation address.","_proxy":"Address of the proxy to upgrade."}}},"title":"ProxyAdmin","version":1},"userdoc":{"kind":"user","methods":{"addressManager()":{"notice":"The address of the address manager, this is required to manage the ResolvedDelegateProxy type."},"changeProxyAdmin(address,address)":{"notice":"Updates the admin of the given proxy address."},"getProxyAdmin(address)":{"notice":"Returns the admin of the given proxy address."},"getProxyImplementation(address)":{"notice":"Returns the implementation of the given proxy address."},"implementationName(address)":{"notice":"A reverse mapping of addresses to names held in the AddressManager. This must be manually kept up to date with changes in the AddressManager for this contract to be able to work as an admin for the ResolvedDelegateProxy type."},"proxyType(address)":{"notice":"A mapping of proxy types, used for backwards compatibility."},"setAddressManager(address)":{"notice":"Set the address of the AddressManager. This is required to manage legacy ResolvedDelegateProxy type proxy contracts."},"setImplementationName(address,string)":{"notice":"Sets the implementation name for a given address. Only required for ResolvedDelegateProxy type proxies that have an implementation name."},"setProxyType(address,uint8)":{"notice":"Sets the proxy type for a given address. Only required for non-standard (legacy) proxy types."},"upgrade(address,address)":{"notice":"Changes a proxy\'s implementation contract."},"upgradeAndCall(address,address,bytes)":{"notice":"Changes a proxy\'s implementation contract and delegatecalls the new implementation with some given data. Useful for atomic upgrade-and-initialize calls."}},"notice":"This is an auxiliary contract meant to be assigned as the admin of an ERC1967 Proxy, based on the OpenZeppelin implementation. It has backwards compatibility logic to work with the various types of proxies that have been deployed by Optimism in the past.","version":1}},"settings":{"compilationTarget":{"src/universal/ProxyAdmin.sol":"ProxyAdmin"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"keccak256":"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673","license":"MIT","urls":["bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2","dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/legacy/AddressManager.sol":{"keccak256":"0x1fcb990df6473f7fa360d5924d62d39ce2ca97d45668e3901e5405cfbe598b19","license":"MIT","urls":["bzz-raw://9d08358b60dea54dbc32e988a1bb7ea909488063eaae3c5ae28a322f125c9b34","dweb:/ipfs/QmZPQwdjLh9gaamNAoTUmWwwbRKj3yHovBYfnTPnfuKvUt"]},"src/legacy/L1ChugSplashProxy.sol":{"keccak256":"0xdde5626645fa217ad3a37805c4c3012e4251de01df868aae73b986f5d03cdb23","license":"MIT","urls":["bzz-raw://a99fd0ec440c17c826465001dc88c5185dd41dc72396254fdd3cdfcc84aeae8c","dweb:/ipfs/QmStHuecN89zBL8FH9SUK1TtkyYwfzMY2KkQaFJLHZLuyA"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/universal/Proxy.sol":{"keccak256":"0x4f6f02e154bbb37137bcedcc256bef1e647865c79ec694fcaf5b6968799d7ddc","license":"MIT","urls":["bzz-raw://00df4d4c6f4813c883eb33e1ec812c953840e78237fecf09c5739389c0777223","dweb:/ipfs/QmQ1D5j7EwxBPtbQju55hKFQuruAwm8gnPHUTSXtDFjHUe"]},"src/universal/ProxyAdmin.sol":{"keccak256":"0xd15267cf5ed8c24d5a0f2099b8d470178d7ad729db52be16232eb143620b8dcf","license":"MIT","urls":["bzz-raw://e9300ee0feb16fcf6c06ee541f2496eac533256bd97f79fe2128527d2f096894","dweb:/ipfs/Qme3Md8pGSnjkG94WFXUdi5UF3a47BTQgKCdGmTKcMgcRa"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"previousOwner",type:"address",indexed:!0},{internalType:"address",name:"newOwner",type:"address",indexed:!0}],type:"event",name:"OwnershipTransferred",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"addressManager",outputs:[{internalType:"contract AddressManager",name:"",type:"address"}]},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"},{internalType:"address",name:"_newAdmin",type:"address"}],stateMutability:"nonpayable",type:"function",name:"changeProxyAdmin"},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"}],stateMutability:"view",type:"function",name:"getProxyAdmin",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_proxy",type:"address"}],stateMutability:"view",type:"function",name:"getProxyImplementation",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"implementationName",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"owner",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"proxyType",outputs:[{internalType:"enum ProxyAdmin.ProxyType",name:"",type:"uint8"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"renounceOwnership"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],stateMutability:"nonpayable",type:"function",name:"setAddress"},{inputs:[{internalType:"contract AddressManager",name:"_address",type:"address"}],stateMutability:"nonpayable",type:"function",name:"setAddressManager"},{inputs:[{internalType:"address",name:"_address",type:"address"},{internalType:"string",name:"_name",type:"string"}],stateMutability:"nonpayable",type:"function",name:"setImplementationName"},{inputs:[{internalType:"address",name:"_address",type:"address"},{internalType:"enum ProxyAdmin.ProxyType",name:"_type",type:"uint8"}],stateMutability:"nonpayable",type:"function",name:"setProxyType"},{inputs:[{internalType:"bool",name:"_upgrading",type:"bool"}],stateMutability:"nonpayable",type:"function",name:"setUpgrading"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],stateMutability:"nonpayable",type:"function",name:"transferOwnership"},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"},{internalType:"address",name:"_implementation",type:"address"}],stateMutability:"nonpayable",type:"function",name:"upgrade"},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"},{internalType:"address",name:"_implementation",type:"address"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"upgradeAndCall"}],devdoc:{kind:"dev",methods:{"changeProxyAdmin(address,address)":{params:{_newAdmin:"Address of the new proxy admin.",_proxy:"Address of the proxy to update."}},constructor:{params:{_owner:"Address of the initial owner of this contract."}},"getProxyAdmin(address)":{params:{_proxy:"Address of the proxy to get the admin of."},returns:{_0:"Address of the admin of the proxy."}},"getProxyImplementation(address)":{params:{_proxy:"Address of the proxy to get the implementation of."},returns:{_0:"Address of the implementation of the proxy."}},"isUpgrading()":{"custom:legacy":"@notice Legacy function used to tell ChugSplashProxy contracts if an upgrade is happening.",returns:{_0:"Whether or not there is an upgrade going on. May not actually tell you whether an upgrade is going on, since we don't currently plan to use this variable for anything other than a legacy indicator to fix a UX bug in the ChugSplash proxy."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setAddress(string,address)":{"custom:legacy":"@notice Set an address in the address manager. Since only the owner of the AddressManager can directly modify addresses and the ProxyAdmin will own the AddressManager, this gives the owner of the ProxyAdmin the ability to modify addresses directly.",params:{_address:"Address to attach to the given name.",_name:"Name to set within the AddressManager."}},"setAddressManager(address)":{params:{_address:"Address of the AddressManager."}},"setImplementationName(address,string)":{params:{_address:"Address of the ResolvedDelegateProxy.",_name:"Name of the implementation for the proxy."}},"setProxyType(address,uint8)":{params:{_address:"Address of the proxy.",_type:"Type of the proxy."}},"setUpgrading(bool)":{"custom:legacy":"@notice Set the upgrading status for the Chugsplash proxy type.",params:{_upgrading:"Whether or not the system is upgrading."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"upgrade(address,address)":{params:{_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}},"upgradeAndCall(address,address,bytes)":{params:{_data:"Data to trigger the new implementation with.",_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}}},version:1},userdoc:{kind:"user",methods:{"addressManager()":{notice:"The address of the address manager, this is required to manage the ResolvedDelegateProxy type."},"changeProxyAdmin(address,address)":{notice:"Updates the admin of the given proxy address."},"getProxyAdmin(address)":{notice:"Returns the admin of the given proxy address."},"getProxyImplementation(address)":{notice:"Returns the implementation of the given proxy address."},"implementationName(address)":{notice:"A reverse mapping of addresses to names held in the AddressManager. This must be manually kept up to date with changes in the AddressManager for this contract to be able to work as an admin for the ResolvedDelegateProxy type."},"proxyType(address)":{notice:"A mapping of proxy types, used for backwards compatibility."},"setAddressManager(address)":{notice:"Set the address of the AddressManager. This is required to manage legacy ResolvedDelegateProxy type proxy contracts."},"setImplementationName(address,string)":{notice:"Sets the implementation name for a given address. Only required for ResolvedDelegateProxy type proxies that have an implementation name."},"setProxyType(address,uint8)":{notice:"Sets the proxy type for a given address. Only required for non-standard (legacy) proxy types."},"upgrade(address,address)":{notice:"Changes a proxy's implementation contract."},"upgradeAndCall(address,address,bytes)":{notice:"Changes a proxy's implementation contract and delegatecalls the new implementation with some given data. Useful for atomic upgrade-and-initialize calls."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/universal/ProxyAdmin.sol":"ProxyAdmin"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{keccak256:"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673",urls:["bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2","dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/legacy/AddressManager.sol":{keccak256:"0x1fcb990df6473f7fa360d5924d62d39ce2ca97d45668e3901e5405cfbe598b19",urls:["bzz-raw://9d08358b60dea54dbc32e988a1bb7ea909488063eaae3c5ae28a322f125c9b34","dweb:/ipfs/QmZPQwdjLh9gaamNAoTUmWwwbRKj3yHovBYfnTPnfuKvUt"],license:"MIT"},"src/legacy/L1ChugSplashProxy.sol":{keccak256:"0xdde5626645fa217ad3a37805c4c3012e4251de01df868aae73b986f5d03cdb23",urls:["bzz-raw://a99fd0ec440c17c826465001dc88c5185dd41dc72396254fdd3cdfcc84aeae8c","dweb:/ipfs/QmStHuecN89zBL8FH9SUK1TtkyYwfzMY2KkQaFJLHZLuyA"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/universal/Proxy.sol":{keccak256:"0x4f6f02e154bbb37137bcedcc256bef1e647865c79ec694fcaf5b6968799d7ddc",urls:["bzz-raw://00df4d4c6f4813c883eb33e1ec812c953840e78237fecf09c5739389c0777223","dweb:/ipfs/QmQ1D5j7EwxBPtbQju55hKFQuruAwm8gnPHUTSXtDFjHUe"],license:"MIT"},"src/universal/ProxyAdmin.sol":{keccak256:"0xd15267cf5ed8c24d5a0f2099b8d470178d7ad729db52be16232eb143620b8dcf",urls:["bzz-raw://e9300ee0feb16fcf6c06ee541f2496eac533256bd97f79fe2128527d2f096894","dweb:/ipfs/Qme3Md8pGSnjkG94WFXUdi5UF3a47BTQgKCdGmTKcMgcRa"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47673,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"_owner",offset:0,slot:"0",type:"t_address"},{astId:107093,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"proxyType",offset:0,slot:"1",type:"t_mapping(t_address,t_enum(ProxyType)107087)"},{astId:107098,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"implementationName",offset:0,slot:"2",type:"t_mapping(t_address,t_string_storage)"},{astId:107102,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"addressManager",offset:0,slot:"3",type:"t_contract(AddressManager)98517"},{astId:107105,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"upgrading",offset:20,slot:"3",type:"t_bool"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},"t_contract(AddressManager)98517":{encoding:"inplace",label:"contract AddressManager",numberOfBytes:"20"},"t_enum(ProxyType)107087":{encoding:"inplace",label:"enum ProxyAdmin.ProxyType",numberOfBytes:"1"},"t_mapping(t_address,t_enum(ProxyType)107087)":{encoding:"mapping",key:"t_address",label:"mapping(address => enum ProxyAdmin.ProxyType)",numberOfBytes:"32",value:"t_enum(ProxyType)107087"},"t_mapping(t_address,t_string_storage)":{encoding:"mapping",key:"t_address",label:"mapping(address => string)",numberOfBytes:"32",value:"t_string_storage"},t_string_storage:{encoding:"bytes",label:"string",numberOfBytes:"32"}}},userdoc:{version:1,kind:"user",methods:{"addressManager()":{notice:"The address of the address manager, this is required to manage the ResolvedDelegateProxy type."},"changeProxyAdmin(address,address)":{notice:"Updates the admin of the given proxy address."},"getProxyAdmin(address)":{notice:"Returns the admin of the given proxy address."},"getProxyImplementation(address)":{notice:"Returns the implementation of the given proxy address."},"implementationName(address)":{notice:"A reverse mapping of addresses to names held in the AddressManager. This must be manually kept up to date with changes in the AddressManager for this contract to be able to work as an admin for the ResolvedDelegateProxy type."},"proxyType(address)":{notice:"A mapping of proxy types, used for backwards compatibility."},"setAddressManager(address)":{notice:"Set the address of the AddressManager. This is required to manage legacy ResolvedDelegateProxy type proxy contracts."},"setImplementationName(address,string)":{notice:"Sets the implementation name for a given address. Only required for ResolvedDelegateProxy type proxies that have an implementation name."},"setProxyType(address,uint8)":{notice:"Sets the proxy type for a given address. Only required for non-standard (legacy) proxy types."},"upgrade(address,address)":{notice:"Changes a proxy's implementation contract."},"upgradeAndCall(address,address,bytes)":{notice:"Changes a proxy's implementation contract and delegatecalls the new implementation with some given data. Useful for atomic upgrade-and-initialize calls."}},notice:"This is an auxiliary contract meant to be assigned as the admin of an ERC1967 Proxy, based on the OpenZeppelin implementation. It has backwards compatibility logic to work with the various types of proxies that have been deployed by Optimism in the past."},devdoc:{version:1,kind:"dev",methods:{"changeProxyAdmin(address,address)":{params:{_newAdmin:"Address of the new proxy admin.",_proxy:"Address of the proxy to update."}},constructor:{params:{_owner:"Address of the initial owner of this contract."}},"getProxyAdmin(address)":{params:{_proxy:"Address of the proxy to get the admin of."},returns:{_0:"Address of the admin of the proxy."}},"getProxyImplementation(address)":{params:{_proxy:"Address of the proxy to get the implementation of."},returns:{_0:"Address of the implementation of the proxy."}},"isUpgrading()":{returns:{_0:"Whether or not there is an upgrade going on. May not actually tell you whether an upgrade is going on, since we don't currently plan to use this variable for anything other than a legacy indicator to fix a UX bug in the ChugSplash proxy."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setAddress(string,address)":{params:{_address:"Address to attach to the given name.",_name:"Name to set within the AddressManager."}},"setAddressManager(address)":{params:{_address:"Address of the AddressManager."}},"setImplementationName(address,string)":{params:{_address:"Address of the ResolvedDelegateProxy.",_name:"Name of the implementation for the proxy."}},"setProxyType(address,uint8)":{params:{_address:"Address of the proxy.",_type:"Type of the proxy."}},"setUpgrading(bool)":{params:{_upgrading:"Whether or not the system is upgrading."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"upgrade(address,address)":{params:{_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}},"upgradeAndCall(address,address,bytes)":{params:{_data:"Data to trigger the new implementation with.",_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}}},title:"ProxyAdmin"},id:229}});var HKe=D((Xca,LHt)=>{LHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CHALLENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"FINALIZATION_PERIOD_SECONDS",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"L2_BLOCK_TIME",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"PROPOSER",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"SUBMISSION_INTERVAL",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"challenger",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"computeL2Timestamp",inputs:[{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"deleteL2Outputs",inputs:[{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizationPeriodSeconds",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getL2Output",inputs:[{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct Types.OutputProposal",components:[{name:"outputRoot",type:"bytes32",internalType:"bytes32"},{name:"timestamp",type:"uint128",internalType:"uint128"},{name:"l2BlockNumber",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getL2OutputAfter",inputs:[{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct Types.OutputProposal",components:[{name:"outputRoot",type:"bytes32",internalType:"bytes32"},{name:"timestamp",type:"uint128",internalType:"uint128"},{name:"l2BlockNumber",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getL2OutputIndexAfter",inputs:[{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_submissionInterval",type:"uint256",internalType:"uint256"},{name:"_l2BlockTime",type:"uint256",internalType:"uint256"},{name:"_startingBlockNumber",type:"uint256",internalType:"uint256"},{name:"_startingTimestamp",type:"uint256",internalType:"uint256"},{name:"_proposer",type:"address",internalType:"address"},{name:"_challenger",type:"address",internalType:"address"},{name:"_finalizationPeriodSeconds",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l2BlockTime",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"latestBlockNumber",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"latestOutputIndex",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextBlockNumber",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextOutputIndex",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposeL2Output",inputs:[{name:"_outputRoot",type:"bytes32",internalType:"bytes32"},{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"},{name:"_l1BlockHash",type:"bytes32",internalType:"bytes32"},{name:"_l1BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"proposer",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"startingBlockNumber",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingTimestamp",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"submissionInterval",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OutputProposed",inputs:[{name:"outputRoot",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"l2OutputIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"l2BlockNumber",type:"uint256",indexed:!0,internalType:"uint256"},{name:"l1Timestamp",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OutputsDeleted",inputs:[{name:"prevNextOutputIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"newNextOutputIndex",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b50620000256001806000808080806200002b565b62000328565b600054610100900460ff16158080156200004c5750600054600160ff909116105b806200007c575062000069306200031960201b6200135d1760201c565b1580156200007c575060005460ff166001145b620000e55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000109576000805461ff0019166101001790555b60008811620001815760405162461bcd60e51b815260206004820152603a60248201527f4c324f75747075744f7261636c653a207375626d697373696f6e20696e74657260448201527f76616c206d7573742062652067726561746572207468616e20300000000000006064820152608401620000dc565b60008711620001f95760405162461bcd60e51b815260206004820152603460248201527f4c324f75747075744f7261636c653a204c3220626c6f636b2074696d65206d7560448201527f73742062652067726561746572207468616e20300000000000000000000000006064820152608401620000dc565b428511156200027f5760405162461bcd60e51b8152602060048201526044602482018190527f4c324f75747075744f7261636c653a207374617274696e67204c322074696d65908201527f7374616d70206d757374206265206c657373207468616e2063757272656e742060648201526374696d6560e01b608482015260a401620000dc565b6004889055600587905560018690556002859055600780546001600160a01b038087166001600160a01b0319928316179092556006805492861692909116919091179055600882905580156200030f576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6001600160a01b03163b151590565b6115d580620003386000396000f3fe60806040526004361061018a5760003560e01c806389c44cbb116100d6578063ce5db8d61161007f578063dcec334811610059578063dcec33481461049b578063e1a41bcf146104b0578063f4daa291146104c657600080fd5b8063ce5db8d614610445578063cf8e5cf01461045b578063d1de856c1461047b57600080fd5b8063a25ae557116100b0578063a25ae55714610391578063a8e4fb90146103ed578063bffa7f0f1461041a57600080fd5b806389c44cbb1461034857806393991af3146103685780639aaab6481461037e57600080fd5b806369f16eec1161013857806370872aa51161011257806370872aa5146102fc5780637f00642014610312578063887862721461033257600080fd5b806369f16eec146102a75780636abcf563146102bc5780636b4d98dd146102d157600080fd5b8063529933df11610169578063529933df146101ea578063534db0e2146101ff57806354fd4d501461025157600080fd5b80622134cc1461018f5780631c89c97d146101b35780634599c788146101d5575b600080fd5b34801561019b57600080fd5b506005545b6040519081526020015b60405180910390f35b3480156101bf57600080fd5b506101d36101ce3660046113a2565b6104db565b005b3480156101e157600080fd5b506101a06108b6565b3480156101f657600080fd5b506004546101a0565b34801561020b57600080fd5b5060065461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101aa565b34801561025d57600080fd5b5061029a6040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516101aa9190611405565b3480156102b357600080fd5b506101a0610929565b3480156102c857600080fd5b506003546101a0565b3480156102dd57600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561030857600080fd5b506101a060015481565b34801561031e57600080fd5b506101a061032d366004611478565b61093b565b34801561033e57600080fd5b506101a060025481565b34801561035457600080fd5b506101d3610363366004611478565b610b4f565b34801561037457600080fd5b506101a060055481565b6101d361038c366004611491565b610de9565b34801561039d57600080fd5b506103b16103ac366004611478565b61124a565b60408051825181526020808401516fffffffffffffffffffffffffffffffff9081169183019190915292820151909216908201526060016101aa565b3480156103f957600080fd5b5060075461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561042657600080fd5b5060075473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561045157600080fd5b506101a060085481565b34801561046757600080fd5b506103b1610476366004611478565b6112de565b34801561048757600080fd5b506101a0610496366004611478565b611316565b3480156104a757600080fd5b506101a0611346565b3480156104bc57600080fd5b506101a060045481565b3480156104d257600080fd5b506008546101a0565b600054610100900460ff16158080156104fb5750600054600160ff909116105b806105155750303b158015610515575060005460ff166001145b6105a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561060457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b60008811610694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a207375626d697373696f6e20696e74657260448201527f76616c206d7573742062652067726561746572207468616e2030000000000000606482015260840161059d565b60008711610724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4c324f75747075744f7261636c653a204c3220626c6f636b2074696d65206d7560448201527f73742062652067726561746572207468616e2030000000000000000000000000606482015260840161059d565b428511156107db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526044602482018190527f4c324f75747075744f7261636c653a207374617274696e67204c322074696d65908201527f7374616d70206d757374206265206c657373207468616e2063757272656e742060648201527f74696d6500000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60048890556005879055600186905560028590556007805473ffffffffffffffffffffffffffffffffffffffff8087167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179092556006805492861692909116919091179055600882905580156108ac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6003546000901561092057600380546108d1906001906114f2565b815481106108e1576108e1611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16919050565b6001545b905090565b600354600090610924906001906114f2565b60006109456108b6565b8211156109fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f7420666f72206120626c6f636b207468617420686173206e6f74206265656e2060648201527f70726f706f736564000000000000000000000000000000000000000000000000608482015260a40161059d565b600354610aaf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f74206173206e6f206f7574707574732068617665206265656e2070726f706f7360648201527f6564207965740000000000000000000000000000000000000000000000000000608482015260a40161059d565b6003546000905b80821015610b485760006002610acc8385611538565b610ad69190611550565b90508460038281548110610aec57610aec611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff161015610b3e57610b37816001611538565b9250610b42565b8091505b50610ab6565b5092915050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610bf6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324f75747075744f7261636c653a206f6e6c7920746865206368616c6c656e60448201527f67657220616464726573732063616e2064656c657465206f7574707574730000606482015260840161059d565b6003548110610cad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f747075747320616674657220746865206c6174657374206f757470757420696e60648201527f6465780000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60085460038281548110610cc357610cc3611509565b6000918252602090912060016002909202010154610cf3906fffffffffffffffffffffffffffffffff16426114f2565b10610da6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f74707574732074686174206861766520616c7265616479206265656e2066696e60648201527f616c697a65640000000000000000000000000000000000000000000000000000608482015260a40161059d565b6000610db160035490565b90508160035581817f4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b660405160405180910390a35050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610eb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f4c324f75747075744f7261636c653a206f6e6c79207468652070726f706f736560448201527f7220616464726573732063616e2070726f706f7365206e6577206f757470757460648201527f7300000000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b610ebe611346565b8314610f72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a20626c6f636b206e756d626572206d757360448201527f7420626520657175616c20746f206e65787420657870656374656420626c6f6360648201527f6b206e756d626572000000000000000000000000000000000000000000000000608482015260a40161059d565b42610f7c84611316565b10611009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324f75747075744f7261636c653a2063616e6e6f742070726f706f7365204c60448201527f32206f757470757420696e207468652066757475726500000000000000000000606482015260840161059d565b83611096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a204c32206f75747075742070726f706f7360448201527f616c2063616e6e6f7420626520746865207a65726f2068617368000000000000606482015260840161059d565b81156111525781814014611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4c324f75747075744f7261636c653a20626c6f636b206861736820646f65732060448201527f6e6f74206d61746368207468652068617368206174207468652065787065637460648201527f6564206865696768740000000000000000000000000000000000000000000000608482015260a40161059d565b8261115c60035490565b857fa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e24260405161118e91815260200190565b60405180910390a45050604080516060810182529283526fffffffffffffffffffffffffffffffff4281166020850190815292811691840191825260038054600181018255600091909152935160029094027fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810194909455915190518216700100000000000000000000000000000000029116177fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c90910155565b60408051606081018252600080825260208201819052918101919091526003828154811061127a5761127a611509565b600091825260209182902060408051606081018252600290930290910180548352600101546fffffffffffffffffffffffffffffffff8082169484019490945270010000000000000000000000000000000090049092169181019190915292915050565b604080516060810182526000808252602082018190529181019190915260036113068361093b565b8154811061127a5761127a611509565b60006005546001548361132991906114f2565b611333919061158b565b6002546113409190611538565b92915050565b60006004546113536108b6565b6109249190611538565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b803573ffffffffffffffffffffffffffffffffffffffff8116811461139d57600080fd5b919050565b600080600080600080600060e0888a0312156113bd57600080fd5b873596506020880135955060408801359450606088013593506113e260808901611379565b92506113f060a08901611379565b915060c0880135905092959891949750929550565b600060208083528351808285015260005b8181101561143257858101830151858201604001528201611416565b81811115611444576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60006020828403121561148a57600080fd5b5035919050565b600080600080608085870312156114a757600080fd5b5050823594602084013594506040840135936060013592509050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611504576115046114c3565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561154b5761154b6114c3565b500190565b600082611586577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156115c3576115c36114c3565b50029056fea164736f6c634300080f000a",sourceMap:"611:13425:129:-:0;;;2792:305;;;;;;;;;-1:-1:-1;2816:274:129;2862:1;;2928;;;;;2816:10;:274::i;:::-;611:13425;;3742:985;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;4088:1:129::1;4066:19;:23;4058:94;;;::::0;-1:-1:-1;;;4058:94:129;;631:2:350;4058:94:129::1;::::0;::::1;613:21:350::0;670:2;650:18;;;643:30;709:34;689:18;;;682:62;780:28;760:18;;;753:56;826:19;;4058:94:129::1;429:422:350::0;4058:94:129::1;4185:1;4170:12;:16;4162:81;;;::::0;-1:-1:-1;;;4162:81:129;;1058:2:350;4162:81:129::1;::::0;::::1;1040:21:350::0;1097:2;1077:18;;;1070:30;1136:34;1116:18;;;1109:62;1207:22;1187:18;;;1180:50;1247:19;;4162:81:129::1;856:416:350::0;4162:81:129::1;4296:15;4274:18;:37;;4253:152;;;::::0;-1:-1:-1;;;4253:152:129;;1479:2:350;4253:152:129::1;::::0;::::1;1461:21:350::0;1518:2;1498:18;;;1491:30;;;1557:34;1537:18;;;1530:62;1628:34;1608:18;;;1601:62;-1:-1:-1;;;1679:19:350;;;1672:35;1724:19;;4253:152:129::1;1277:472:350::0;4253:152:129::1;4416:18;:40:::0;;;4466:11:::1;:26:::0;;;4502:19:::1;:42:::0;;;4554:17:::1;:38:::0;;;4602:8:::1;:20:::0;;-1:-1:-1;;;;;4602:20:129;;::::1;-1:-1:-1::0;;;;;;4602:20:129;;::::1;;::::0;;;4632:10:::1;:24:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;4666:25:::1;:54:::0;;;3457:99:41;;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;1906:36:350;;3531:14:41;;1894:2:350;1879:18;3531:14:41;;;;;;;3457:99;3090:472;3742:985:129;;;;;;;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;1754:194:350:-;611:13425:129;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061018a5760003560e01c806389c44cbb116100d6578063ce5db8d61161007f578063dcec334811610059578063dcec33481461049b578063e1a41bcf146104b0578063f4daa291146104c657600080fd5b8063ce5db8d614610445578063cf8e5cf01461045b578063d1de856c1461047b57600080fd5b8063a25ae557116100b0578063a25ae55714610391578063a8e4fb90146103ed578063bffa7f0f1461041a57600080fd5b806389c44cbb1461034857806393991af3146103685780639aaab6481461037e57600080fd5b806369f16eec1161013857806370872aa51161011257806370872aa5146102fc5780637f00642014610312578063887862721461033257600080fd5b806369f16eec146102a75780636abcf563146102bc5780636b4d98dd146102d157600080fd5b8063529933df11610169578063529933df146101ea578063534db0e2146101ff57806354fd4d501461025157600080fd5b80622134cc1461018f5780631c89c97d146101b35780634599c788146101d5575b600080fd5b34801561019b57600080fd5b506005545b6040519081526020015b60405180910390f35b3480156101bf57600080fd5b506101d36101ce3660046113a2565b6104db565b005b3480156101e157600080fd5b506101a06108b6565b3480156101f657600080fd5b506004546101a0565b34801561020b57600080fd5b5060065461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101aa565b34801561025d57600080fd5b5061029a6040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516101aa9190611405565b3480156102b357600080fd5b506101a0610929565b3480156102c857600080fd5b506003546101a0565b3480156102dd57600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561030857600080fd5b506101a060015481565b34801561031e57600080fd5b506101a061032d366004611478565b61093b565b34801561033e57600080fd5b506101a060025481565b34801561035457600080fd5b506101d3610363366004611478565b610b4f565b34801561037457600080fd5b506101a060055481565b6101d361038c366004611491565b610de9565b34801561039d57600080fd5b506103b16103ac366004611478565b61124a565b60408051825181526020808401516fffffffffffffffffffffffffffffffff9081169183019190915292820151909216908201526060016101aa565b3480156103f957600080fd5b5060075461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561042657600080fd5b5060075473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561045157600080fd5b506101a060085481565b34801561046757600080fd5b506103b1610476366004611478565b6112de565b34801561048757600080fd5b506101a0610496366004611478565b611316565b3480156104a757600080fd5b506101a0611346565b3480156104bc57600080fd5b506101a060045481565b3480156104d257600080fd5b506008546101a0565b600054610100900460ff16158080156104fb5750600054600160ff909116105b806105155750303b158015610515575060005460ff166001145b6105a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561060457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b60008811610694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a207375626d697373696f6e20696e74657260448201527f76616c206d7573742062652067726561746572207468616e2030000000000000606482015260840161059d565b60008711610724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4c324f75747075744f7261636c653a204c3220626c6f636b2074696d65206d7560448201527f73742062652067726561746572207468616e2030000000000000000000000000606482015260840161059d565b428511156107db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526044602482018190527f4c324f75747075744f7261636c653a207374617274696e67204c322074696d65908201527f7374616d70206d757374206265206c657373207468616e2063757272656e742060648201527f74696d6500000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60048890556005879055600186905560028590556007805473ffffffffffffffffffffffffffffffffffffffff8087167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179092556006805492861692909116919091179055600882905580156108ac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6003546000901561092057600380546108d1906001906114f2565b815481106108e1576108e1611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16919050565b6001545b905090565b600354600090610924906001906114f2565b60006109456108b6565b8211156109fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f7420666f72206120626c6f636b207468617420686173206e6f74206265656e2060648201527f70726f706f736564000000000000000000000000000000000000000000000000608482015260a40161059d565b600354610aaf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f74206173206e6f206f7574707574732068617665206265656e2070726f706f7360648201527f6564207965740000000000000000000000000000000000000000000000000000608482015260a40161059d565b6003546000905b80821015610b485760006002610acc8385611538565b610ad69190611550565b90508460038281548110610aec57610aec611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff161015610b3e57610b37816001611538565b9250610b42565b8091505b50610ab6565b5092915050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610bf6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324f75747075744f7261636c653a206f6e6c7920746865206368616c6c656e60448201527f67657220616464726573732063616e2064656c657465206f7574707574730000606482015260840161059d565b6003548110610cad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f747075747320616674657220746865206c6174657374206f757470757420696e60648201527f6465780000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60085460038281548110610cc357610cc3611509565b6000918252602090912060016002909202010154610cf3906fffffffffffffffffffffffffffffffff16426114f2565b10610da6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f74707574732074686174206861766520616c7265616479206265656e2066696e60648201527f616c697a65640000000000000000000000000000000000000000000000000000608482015260a40161059d565b6000610db160035490565b90508160035581817f4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b660405160405180910390a35050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610eb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f4c324f75747075744f7261636c653a206f6e6c79207468652070726f706f736560448201527f7220616464726573732063616e2070726f706f7365206e6577206f757470757460648201527f7300000000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b610ebe611346565b8314610f72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a20626c6f636b206e756d626572206d757360448201527f7420626520657175616c20746f206e65787420657870656374656420626c6f6360648201527f6b206e756d626572000000000000000000000000000000000000000000000000608482015260a40161059d565b42610f7c84611316565b10611009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324f75747075744f7261636c653a2063616e6e6f742070726f706f7365204c60448201527f32206f757470757420696e207468652066757475726500000000000000000000606482015260840161059d565b83611096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a204c32206f75747075742070726f706f7360448201527f616c2063616e6e6f7420626520746865207a65726f2068617368000000000000606482015260840161059d565b81156111525781814014611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4c324f75747075744f7261636c653a20626c6f636b206861736820646f65732060448201527f6e6f74206d61746368207468652068617368206174207468652065787065637460648201527f6564206865696768740000000000000000000000000000000000000000000000608482015260a40161059d565b8261115c60035490565b857fa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e24260405161118e91815260200190565b60405180910390a45050604080516060810182529283526fffffffffffffffffffffffffffffffff4281166020850190815292811691840191825260038054600181018255600091909152935160029094027fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810194909455915190518216700100000000000000000000000000000000029116177fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c90910155565b60408051606081018252600080825260208201819052918101919091526003828154811061127a5761127a611509565b600091825260209182902060408051606081018252600290930290910180548352600101546fffffffffffffffffffffffffffffffff8082169484019490945270010000000000000000000000000000000090049092169181019190915292915050565b604080516060810182526000808252602082018190529181019190915260036113068361093b565b8154811061127a5761127a611509565b60006005546001548361132991906114f2565b611333919061158b565b6002546113409190611538565b92915050565b60006004546113536108b6565b6109249190611538565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b803573ffffffffffffffffffffffffffffffffffffffff8116811461139d57600080fd5b919050565b600080600080600080600060e0888a0312156113bd57600080fd5b873596506020880135955060408801359450606088013593506113e260808901611379565b92506113f060a08901611379565b915060c0880135905092959891949750929550565b600060208083528351808285015260005b8181101561143257858101830151858201604001528201611416565b81811115611444576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60006020828403121561148a57600080fd5b5035919050565b600080600080608085870312156114a757600080fd5b5050823594602084013594506040840135936060013592509050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611504576115046114c3565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561154b5761154b6114c3565b500190565b600082611586577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156115c3576115c36114c3565b50029056fea164736f6c634300080f000a",sourceMap:"611:13425:129:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5264:92;;;;;;;;;;-1:-1:-1;5338:11:129;;5264:92;;;160:25:350;;;148:2;133:18;5264:92:129;;;;;;;;3742:985;;;;;;;;;;-1:-1:-1;3742:985:129;;;;;:::i;:::-;;:::i;:::-;;13212:174;;;;;;;;;;;;;:::i;4953:105::-;;;;;;;;;;-1:-1:-1;5033:18:129;;4953:105;;1426:25;;;;;;;;;;-1:-1:-1;1426:25:129;;;;;;;;;;;1182:42:350;1170:55;;;1152:74;;1140:2;1125:18;1426:25:129;1006:226:350;2598:40:129;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;12608:105::-;;;;;;;;;;;;;:::i;12849:97::-;;;;;;;;;;-1:-1:-1;12923:9:129;:16;12849:97;;5580:88;;;;;;;;;;-1:-1:-1;5651:10:129;;;;5580:88;;743:34;;;;;;;;;;;;;;;;10969:896;;;;;;;;;;-1:-1:-1;10969:896:129;;;;;:::i;:::-;;:::i;863:32::-;;;;;;;;;;;;;;;;6689:975;;;;;;;;;;-1:-1:-1;6689:975:129;;;;;:::i;:::-;;:::i;1285:26::-;;;;;;;;;;;;;;;;8258:1981;;;;;;:::i;:::-;;:::i;10443:146::-;;;;;;;;;;-1:-1:-1;10443:146:129;;;;;:::i;:::-;;:::i;:::-;;;;2705:13:350;;2687:32;;2766:4;2754:17;;;2748:24;2791:34;2863:21;;;2841:20;;;2834:51;;;;2933:17;;;2927:24;2923:33;;;2901:20;;;2894:63;2675:2;2660:18;10443:146:129;2473:490:350;1564:23:129;;;;;;;;;;-1:-1:-1;1564:23:129;;;;;;;;5886:84;;;;;;;;;;-1:-1:-1;5955:8:129;;;;5886:84;;1728:40;;;;;;;;;;;;;;;;12228:174;;;;;;;;;;-1:-1:-1;12228:174:129;;;;;:::i;:::-;;:::i;13854:180::-;;;;;;;;;;-1:-1:-1;13854:180:129;;;;;:::i;:::-;;:::i;13524:121::-;;;;;;;;;;;;;:::i;1114:33::-;;;;;;;;;;;;;;;;6221:120;;;;;;;;;;-1:-1:-1;6309:25:129;;6221:120;;3742:985;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;3170:2:350;3146:190:41;;;3152:21:350;3209:2;3189:18;;;3182:30;3248:34;3228:18;;;3221:62;3319:16;3299:18;;;3292:44;3353:19;;3146:190:41;;;;;;;;;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;4088:1:129::1;4066:19;:23;4058:94;;;::::0;::::1;::::0;;3585:2:350;4058:94:129::1;::::0;::::1;3567:21:350::0;3624:2;3604:18;;;3597:30;3663:34;3643:18;;;3636:62;3734:28;3714:18;;;3707:56;3780:19;;4058:94:129::1;3383:422:350::0;4058:94:129::1;4185:1;4170:12;:16;4162:81;;;::::0;::::1;::::0;;4012:2:350;4162:81:129::1;::::0;::::1;3994:21:350::0;4051:2;4031:18;;;4024:30;4090:34;4070:18;;;4063:62;4161:22;4141:18;;;4134:50;4201:19;;4162:81:129::1;3810:416:350::0;4162:81:129::1;4296:15;4274:18;:37;;4253:152;;;::::0;::::1;::::0;;4433:2:350;4253:152:129::1;::::0;::::1;4415:21:350::0;4472:2;4452:18;;;4445:30;;;4511:34;4491:18;;;4484:62;4582:34;4562:18;;;4555:62;4654:6;4633:19;;;4626:35;4678:19;;4253:152:129::1;4231:472:350::0;4253:152:129::1;4416:18;:40:::0;;;4466:11:::1;:26:::0;;;4502:19:::1;:42:::0;;;4554:17:::1;:38:::0;;;4602:8:::1;:20:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;4632:10:::1;:24:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;4666:25:::1;:54:::0;;;3457:99:41;;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;4860:36:350;;3531:14:41;;4848:2:350;4833:18;3531:14:41;;;;;;;3457:99;3090:472;3742:985:129;;;;;;;:::o;13212:174::-;13288:9;:16;13262:7;;13288:21;:91;;13334:9;13344:16;;:20;;13363:1;;13344:20;:::i;:::-;13334:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:45;;;;;;;;;13212:174;-1:-1:-1;13212:174:129:o;13288:91::-;13312:19;;13288:91;13281:98;;13212:174;:::o;12608:105::-;12686:9;:16;12660:7;;12686:20;;12705:1;;12686:20;:::i;10969:896::-;11045:7;11184:19;:17;:19::i;:::-;11166:14;:37;;11145:156;;;;;;;5617:2:350;11145:156:129;;;5599:21:350;5656:2;5636:18;;;5629:30;5695:34;5675:18;;;5668:62;5766:34;5746:18;;;5739:62;5838:10;5817:19;;;5810:39;5866:19;;11145:156:129;5415:476:350;11145:156:129;11379:9;:16;11371:103;;;;;;;6098:2:350;11371:103:129;;;6080:21:350;6137:2;6117:18;;;6110:30;6176:34;6156:18;;;6149:62;6247:34;6227:18;;;6220:62;6319:8;6298:19;;;6291:37;6345:19;;11371:103:129;5896:474:350;11371:103:129;11589:9;:16;11552:10;;11615:224;11627:2;11622;:7;11615:224;;;11645:11;11671:1;11660:7;11665:2;11660;:7;:::i;:::-;11659:13;;;;:::i;:::-;11645:27;;11721:14;11690:9;11700:3;11690:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:28;;;;;;;;:45;11686:143;;;11760:7;:3;11766:1;11760:7;:::i;:::-;11755:12;;11686:143;;;11811:3;11806:8;;11686:143;11631:208;11615:224;;;-1:-1:-1;11856:2:129;10969:896;-1:-1:-1;;10969:896:129:o;6689:975::-;6779:10;;;;6765;:24;6757:99;;;;;;;6989:2:350;6757:99:129;;;6971:21:350;7028:2;7008:18;;;7001:30;7067:34;7047:18;;;7040:62;7138:32;7118:18;;;7111:60;7188:19;;6757:99:129;6787:426:350;6757:99:129;6974:9;:16;6957:33;;6936:135;;;;;;;7420:2:350;6936:135:129;;;7402:21:350;7459:2;7439:18;;;7432:30;7498:34;7478:18;;;7471:62;7569:34;7549:18;;;7542:62;7641:5;7620:19;;;7613:34;7664:19;;6936:135:129;7218:471:350;6936:135:129;7238:25;;7200:9;7210:14;7200:25;;;;;;;;:::i;:::-;;;;;;;;;:35;:25;;;;;:35;;7182:53;;7200:35;;7182:15;:53;:::i;:::-;:81;7161:198;;;;;;;7896:2:350;7161:198:129;;;7878:21:350;7935:2;7915:18;;;7908:30;7974:34;7954:18;;;7947:62;8045:34;8025:18;;;8018:62;8117:8;8096:19;;;8089:37;8143:19;;7161:198:129;7694:474:350;7161:198:129;7370:29;7402:17;12923:9;:16;;12849:97;7402:17;7370:49;;7564:14;7548;7541:38;7642:14;7619:21;7604:53;;;;;;;;;;6747:917;6689:975;:::o;8258:1981::-;8481:8;;;;8467:10;:22;8459:100;;;;;;;8375:2:350;8459:100:129;;;8357:21:350;8414:2;8394:18;;;8387:30;8453:34;8433:18;;;8426:62;8524:34;8504:18;;;8497:62;8596:3;8575:19;;;8568:32;8617:19;;8459:100:129;8173:469:350;8459:100:129;8609:17;:15;:17::i;:::-;8591:14;:35;8570:154;;;;;;;8849:2:350;8570:154:129;;;8831:21:350;8888:2;8868:18;;;8861:30;8927:34;8907:18;;;8900:62;8998:34;8978:18;;;8971:62;9070:10;9049:19;;;9042:39;9098:19;;8570:154:129;8647:476:350;8570:154:129;8793:15;8756:34;8775:14;8756:18;:34::i;:::-;:52;8735:153;;;;;;;9330:2:350;8735:153:129;;;9312:21:350;9369:2;9349:18;;;9342:30;9408:34;9388:18;;;9381:62;9479:24;9459:18;;;9452:52;9521:19;;8735:153:129;9128:418:350;8735:153:129;8907:11;8899:96;;;;;;;9753:2:350;8899:96:129;;;9735:21:350;9792:2;9772:18;;;9765:30;9831:34;9811:18;;;9804:62;9902:28;9882:18;;;9875:56;9948:19;;8899:96:129;9551:422:350;8899:96:129;9010:26;;9006:897;;9773:12;9754:14;9744:25;:41;9719:173;;;;;;;10180:2:350;9719:173:129;;;10162:21:350;10219:2;10199:18;;;10192:30;10258:34;10238:18;;;10231:62;10329:34;10309:18;;;10302:62;10401:11;10380:19;;;10373:40;10430:19;;9719:173:129;9978:477:350;9719:173:129;9965:14;9946:17;12923:9;:16;;12849:97;9946:17;9933:11;9918:79;9981:15;9918:79;;;;160:25:350;;148:2;133:18;;14:177;9918:79:129;;;;;;;;-1:-1:-1;;10036:186:129;;;;;;;;;;;;10135:15;10036:186;;;;;;;;;;;;;;;;;10008:9;:224;;;;;;;-1:-1:-1;10008:224:129;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8258:1981::o;10443:146::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;10557:9:129;10567:14;10557:25;;;;;;;;:::i;:::-;;;;;;;;;;10550:32;;;;;;;;10557:25;;;;;;;10550:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10443:146;-1:-1:-1;;10443:146:129:o;12228:174::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;12347:9:129;12357:37;12379:14;12357:21;:37::i;:::-;12347:48;;;;;;;;:::i;13854:180::-;13927:7;14015:11;;13992:19;;13975:14;:36;;;;:::i;:::-;13974:52;;;;:::i;:::-;13953:17;;:74;;;;:::i;:::-;13946:81;13854:180;-1:-1:-1;;13854:180:129:o;13524:121::-;13572:7;13620:18;;13598:19;:17;:19::i;:::-;:40;;;;:::i;1175:320:57:-;1465:19;;;:23;;;1175:320::o;196:196:350:-;264:20;;324:42;313:54;;303:65;;293:93;;382:1;379;372:12;293:93;196:196;;;:::o;397:604::-;510:6;518;526;534;542;550;558;611:3;599:9;590:7;586:23;582:33;579:53;;;628:1;625;618:12;579:53;664:9;651:23;641:33;;721:2;710:9;706:18;693:32;683:42;;772:2;761:9;757:18;744:32;734:42;;823:2;812:9;808:18;795:32;785:42;;846:39;880:3;869:9;865:19;846:39;:::i;:::-;836:49;;904:39;938:3;927:9;923:19;904:39;:::i;:::-;894:49;;990:3;979:9;975:19;962:33;952:43;;397:604;;;;;;;;;;:::o;1237:656::-;1349:4;1378:2;1407;1396:9;1389:21;1439:6;1433:13;1482:6;1477:2;1466:9;1462:18;1455:34;1507:1;1517:140;1531:6;1528:1;1525:13;1517:140;;;1626:14;;;1622:23;;1616:30;1592:17;;;1611:2;1588:26;1581:66;1546:10;;1517:140;;;1675:6;1672:1;1669:13;1666:91;;;1745:1;1740:2;1731:6;1720:9;1716:22;1712:31;1705:42;1666:91;-1:-1:-1;1809:2:350;1797:15;1814:66;1793:88;1778:104;;;;1884:2;1774:113;;1237:656;-1:-1:-1;;;1237:656:350:o;1898:180::-;1957:6;2010:2;1998:9;1989:7;1985:23;1981:32;1978:52;;;2026:1;2023;2016:12;1978:52;-1:-1:-1;2049:23:350;;1898:180;-1:-1:-1;1898:180:350:o;2083:385::-;2169:6;2177;2185;2193;2246:3;2234:9;2225:7;2221:23;2217:33;2214:53;;;2263:1;2260;2253:12;2214:53;-1:-1:-1;;2286:23:350;;;2356:2;2341:18;;2328:32;;-1:-1:-1;2407:2:350;2392:18;;2379:32;;2458:2;2443:18;2430:32;;-1:-1:-1;2083:385:350;-1:-1:-1;2083:385:350:o;4907:184::-;4959:77;4956:1;4949:88;5056:4;5053:1;5046:15;5080:4;5077:1;5070:15;5096:125;5136:4;5164:1;5161;5158:8;5155:34;;;5169:18;;:::i;:::-;-1:-1:-1;5206:9:350;;5096:125::o;5226:184::-;5278:77;5275:1;5268:88;5375:4;5372:1;5365:15;5399:4;5396:1;5389:15;6375:128;6415:3;6446:1;6442:6;6439:1;6436:13;6433:39;;;6452:18;;:::i;:::-;-1:-1:-1;6488:9:350;;6375:128::o;6508:274::-;6548:1;6574;6564:189;;6609:77;6606:1;6599:88;6710:4;6707:1;6700:15;6738:4;6735:1;6728:15;6564:189;-1:-1:-1;6767:9:350;;6508:274::o;10460:228::-;10500:7;10626:1;10558:66;10554:74;10551:1;10548:81;10543:1;10536:9;10529:17;10525:105;10522:131;;;10633:18;;:::i;:::-;-1:-1:-1;10673:9:350;;10460:228::o",linkReferences:{}},methodIdentifiers:{"CHALLENGER()":"6b4d98dd","FINALIZATION_PERIOD_SECONDS()":"f4daa291","L2_BLOCK_TIME()":"002134cc","PROPOSER()":"bffa7f0f","SUBMISSION_INTERVAL()":"529933df","challenger()":"534db0e2","computeL2Timestamp(uint256)":"d1de856c","deleteL2Outputs(uint256)":"89c44cbb","finalizationPeriodSeconds()":"ce5db8d6","getL2Output(uint256)":"a25ae557","getL2OutputAfter(uint256)":"cf8e5cf0","getL2OutputIndexAfter(uint256)":"7f006420","initialize(uint256,uint256,uint256,uint256,address,address,uint256)":"1c89c97d","l2BlockTime()":"93991af3","latestBlockNumber()":"4599c788","latestOutputIndex()":"69f16eec","nextBlockNumber()":"dcec3348","nextOutputIndex()":"6abcf563","proposeL2Output(bytes32,uint256,bytes32,uint256)":"9aaab648","proposer()":"a8e4fb90","startingBlockNumber()":"70872aa5","startingTimestamp()":"88786272","submissionInterval()":"e1a41bcf","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"l2OutputIndex","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"l2BlockNumber","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"l1Timestamp","type":"uint256"}],"name":"OutputProposed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"prevNextOutputIndex","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newNextOutputIndex","type":"uint256"}],"name":"OutputsDeleted","type":"event"},{"inputs":[],"name":"CHALLENGER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FINALIZATION_PERIOD_SECONDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"L2_BLOCK_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROPOSER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUBMISSION_INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"challenger","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"}],"name":"computeL2Timestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"}],"name":"deleteL2Outputs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalizationPeriodSeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"}],"name":"getL2Output","outputs":[{"components":[{"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"internalType":"uint128","name":"timestamp","type":"uint128"},{"internalType":"uint128","name":"l2BlockNumber","type":"uint128"}],"internalType":"struct Types.OutputProposal","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"}],"name":"getL2OutputAfter","outputs":[{"components":[{"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"internalType":"uint128","name":"timestamp","type":"uint128"},{"internalType":"uint128","name":"l2BlockNumber","type":"uint128"}],"internalType":"struct Types.OutputProposal","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"}],"name":"getL2OutputIndexAfter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_submissionInterval","type":"uint256"},{"internalType":"uint256","name":"_l2BlockTime","type":"uint256"},{"internalType":"uint256","name":"_startingBlockNumber","type":"uint256"},{"internalType":"uint256","name":"_startingTimestamp","type":"uint256"},{"internalType":"address","name":"_proposer","type":"address"},{"internalType":"address","name":"_challenger","type":"address"},{"internalType":"uint256","name":"_finalizationPeriodSeconds","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l2BlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestOutputIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOutputIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_outputRoot","type":"bytes32"},{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"},{"internalType":"bytes32","name":"_l1BlockHash","type":"bytes32"},{"internalType":"uint256","name":"_l1BlockNumber","type":"uint256"}],"name":"proposeL2Output","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"proposer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"submissionInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@title L2OutputOracle","events":{"OutputProposed(bytes32,uint256,uint256,uint256)":{"params":{"l1Timestamp":"The L1 timestamp when proposed.","l2BlockNumber":"The L2 block number of the output root.","l2OutputIndex":"The index of the output in the l2Outputs array.","outputRoot":"The output root."}},"OutputsDeleted(uint256,uint256)":{"params":{"newNextOutputIndex":"Next L2 output index after the deletion.","prevNextOutputIndex":"Next L2 output index before the deletion."}}},"kind":"dev","methods":{"CHALLENGER()":{"custom:legacy":"","returns":{"_0":"Address of the challenger."}},"FINALIZATION_PERIOD_SECONDS()":{"custom:legacy":"","returns":{"_0":"Finalization period in seconds."}},"L2_BLOCK_TIME()":{"custom:legacy":"","returns":{"_0":"L2 block time."}},"PROPOSER()":{"custom:legacy":"","returns":{"_0":"Address of the proposer."}},"SUBMISSION_INTERVAL()":{"custom:legacy":"","returns":{"_0":"Submission interval."}},"computeL2Timestamp(uint256)":{"params":{"_l2BlockNumber":"The L2 block number of the target block."},"returns":{"_0":"L2 timestamp of the given block."}},"deleteL2Outputs(uint256)":{"params":{"_l2OutputIndex":"Index of the first L2 output to be deleted. All outputs after this output will also be deleted."}},"getL2Output(uint256)":{"params":{"_l2OutputIndex":"Index of the output to return."},"returns":{"_0":"The output at the given index."}},"getL2OutputAfter(uint256)":{"params":{"_l2BlockNumber":"L2 block number to find a checkpoint for."},"returns":{"_0":"First checkpoint that commits to the given L2 block number."}},"getL2OutputIndexAfter(uint256)":{"params":{"_l2BlockNumber":"L2 block number to find a checkpoint for."},"returns":{"_0":"Index of the first checkpoint that commits to the given L2 block number."}},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{"params":{"_challenger":"The address of the challenger.","_finalizationPeriodSeconds":"The minimum time (in seconds) that must elapse before a withdrawal can be finalized.","_l2BlockTime":"The time per L2 block, in seconds.","_proposer":"The address of the proposer.","_startingBlockNumber":"The number of the first L2 block.","_startingTimestamp":"The timestamp of the first L2 block.","_submissionInterval":"Interval in blocks at which checkpoints must be submitted."}},"latestBlockNumber()":{"returns":{"_0":"Latest submitted L2 block number."}},"latestOutputIndex()":{"returns":{"_0":"The number of outputs that have been proposed."}},"nextBlockNumber()":{"returns":{"_0":"Next L2 block number."}},"nextOutputIndex()":{"returns":{"_0":"The index of the next output to be proposed."}},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{"params":{"_l1BlockHash":"A block hash which must be included in the current chain.","_l1BlockNumber":"The block number with the specified block hash.","_l2BlockNumber":"The L2 block number that resulted in _outputRoot.","_outputRoot":"The L2 output of the checkpoint block."}}},"stateVariables":{"challenger":{"custom:network-specific":""},"finalizationPeriodSeconds":{"custom:network-specific":""},"l2BlockTime":{"custom:network-specific":""},"proposer":{"custom:network-specific":""},"submissionInterval":{"custom:network-specific":""},"version":{"custom:semver":"1.8.0"}},"version":1},"userdoc":{"events":{"OutputProposed(bytes32,uint256,uint256,uint256)":{"notice":"Emitted when an output is proposed."},"OutputsDeleted(uint256,uint256)":{"notice":"Emitted when outputs are deleted."}},"kind":"user","methods":{"CHALLENGER()":{"notice":"Getter for the challenger address. Public getter is legacy and will be removed in the future. Use `challenger` instead."},"FINALIZATION_PERIOD_SECONDS()":{"notice":"Getter for the finalizationPeriodSeconds. Public getter is legacy and will be removed in the future. Use `finalizationPeriodSeconds` instead."},"L2_BLOCK_TIME()":{"notice":"Getter for the l2BlockTime. Public getter is legacy and will be removed in the future. Use `l2BlockTime` instead."},"PROPOSER()":{"notice":"Getter for the proposer address. Public getter is legacy and will be removed in the future. Use `proposer` instead."},"SUBMISSION_INTERVAL()":{"notice":"Getter for the submissionInterval. Public getter is legacy and will be removed in the future. Use `submissionInterval` instead."},"challenger()":{"notice":"The address of the challenger. Can be updated via upgrade."},"computeL2Timestamp(uint256)":{"notice":"Returns the L2 timestamp corresponding to a given L2 block number."},"constructor":{"notice":"Constructs the L2OutputOracle contract. Initializes variables to the same values as in the getting-started config."},"deleteL2Outputs(uint256)":{"notice":"Deletes all output proposals after and including the proposal that corresponds to the given output index. Only the challenger address can delete outputs."},"finalizationPeriodSeconds()":{"notice":"The minimum time (in seconds) that must elapse before a withdrawal can be finalized."},"getL2Output(uint256)":{"notice":"Returns an output by index. Needed to return a struct instead of a tuple."},"getL2OutputAfter(uint256)":{"notice":"Returns the L2 output proposal that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"getL2OutputIndexAfter(uint256)":{"notice":"Returns the index of the L2 output that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{"notice":"Initializer."},"l2BlockTime()":{"notice":"The time between L2 blocks in seconds. Once set, this value MUST NOT be modified."},"latestBlockNumber()":{"notice":"Returns the block number of the latest submitted L2 output proposal. If no proposals been submitted yet then this function will return the starting block number."},"latestOutputIndex()":{"notice":"Returns the number of outputs that have been proposed. Will revert if no outputs have been proposed yet."},"nextBlockNumber()":{"notice":"Computes the block number of the next L2 block that needs to be checkpointed."},"nextOutputIndex()":{"notice":"Returns the index of the next output to be proposed."},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{"notice":"Accepts an outputRoot and the timestamp of the corresponding L2 block. The timestamp must be equal to the current value returned by `nextTimestamp()` in order to be accepted. This function may only be called by the Proposer."},"proposer()":{"notice":"The address of the proposer. Can be updated via upgrade."},"startingBlockNumber()":{"notice":"The number of the first L2 block recorded in this contract."},"startingTimestamp()":{"notice":"The timestamp of the first L2 block recorded in this contract."},"submissionInterval()":{"notice":"The interval in L2 blocks at which checkpoints must be submitted."},"version()":{"notice":"Semantic version."}},"notice":"The L2OutputOracle contains an array of L2 state outputs, where each output is a commitment to the state of the L2 chain. Other contracts like the OptimismPortal use these outputs to verify information about the state of L2.","version":1}},"settings":{"compilationTarget":{"src/L1/L2OutputOracle.sol":"L2OutputOracle"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L2OutputOracle.sol":{"keccak256":"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42","license":"MIT","urls":["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"outputRoot",type:"bytes32",indexed:!0},{internalType:"uint256",name:"l2OutputIndex",type:"uint256",indexed:!0},{internalType:"uint256",name:"l2BlockNumber",type:"uint256",indexed:!0},{internalType:"uint256",name:"l1Timestamp",type:"uint256",indexed:!1}],type:"event",name:"OutputProposed",anonymous:!1},{inputs:[{internalType:"uint256",name:"prevNextOutputIndex",type:"uint256",indexed:!0},{internalType:"uint256",name:"newNextOutputIndex",type:"uint256",indexed:!0}],type:"event",name:"OutputsDeleted",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"CHALLENGER",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"FINALIZATION_PERIOD_SECONDS",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"L2_BLOCK_TIME",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"PROPOSER",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"SUBMISSION_INTERVAL",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"challenger",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"}],stateMutability:"view",type:"function",name:"computeL2Timestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"deleteL2Outputs"},{inputs:[],stateMutability:"view",type:"function",name:"finalizationPeriodSeconds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"}],stateMutability:"view",type:"function",name:"getL2Output",outputs:[{internalType:"struct Types.OutputProposal",name:"",type:"tuple",components:[{internalType:"bytes32",name:"outputRoot",type:"bytes32"},{internalType:"uint128",name:"timestamp",type:"uint128"},{internalType:"uint128",name:"l2BlockNumber",type:"uint128"}]}]},{inputs:[{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"}],stateMutability:"view",type:"function",name:"getL2OutputAfter",outputs:[{internalType:"struct Types.OutputProposal",name:"",type:"tuple",components:[{internalType:"bytes32",name:"outputRoot",type:"bytes32"},{internalType:"uint128",name:"timestamp",type:"uint128"},{internalType:"uint128",name:"l2BlockNumber",type:"uint128"}]}]},{inputs:[{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"}],stateMutability:"view",type:"function",name:"getL2OutputIndexAfter",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_submissionInterval",type:"uint256"},{internalType:"uint256",name:"_l2BlockTime",type:"uint256"},{internalType:"uint256",name:"_startingBlockNumber",type:"uint256"},{internalType:"uint256",name:"_startingTimestamp",type:"uint256"},{internalType:"address",name:"_proposer",type:"address"},{internalType:"address",name:"_challenger",type:"address"},{internalType:"uint256",name:"_finalizationPeriodSeconds",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l2BlockTime",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"latestBlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"latestOutputIndex",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"nextBlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"nextOutputIndex",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes32",name:"_outputRoot",type:"bytes32"},{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"},{internalType:"bytes32",name:"_l1BlockHash",type:"bytes32"},{internalType:"uint256",name:"_l1BlockNumber",type:"uint256"}],stateMutability:"payable",type:"function",name:"proposeL2Output"},{inputs:[],stateMutability:"view",type:"function",name:"proposer",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingBlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingTimestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"submissionInterval",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"CHALLENGER()":{"custom:legacy":"",returns:{_0:"Address of the challenger."}},"FINALIZATION_PERIOD_SECONDS()":{"custom:legacy":"",returns:{_0:"Finalization period in seconds."}},"L2_BLOCK_TIME()":{"custom:legacy":"",returns:{_0:"L2 block time."}},"PROPOSER()":{"custom:legacy":"",returns:{_0:"Address of the proposer."}},"SUBMISSION_INTERVAL()":{"custom:legacy":"",returns:{_0:"Submission interval."}},"computeL2Timestamp(uint256)":{params:{_l2BlockNumber:"The L2 block number of the target block."},returns:{_0:"L2 timestamp of the given block."}},"deleteL2Outputs(uint256)":{params:{_l2OutputIndex:"Index of the first L2 output to be deleted. All outputs after this output will also be deleted."}},"getL2Output(uint256)":{params:{_l2OutputIndex:"Index of the output to return."},returns:{_0:"The output at the given index."}},"getL2OutputAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"First checkpoint that commits to the given L2 block number."}},"getL2OutputIndexAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"Index of the first checkpoint that commits to the given L2 block number."}},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{params:{_challenger:"The address of the challenger.",_finalizationPeriodSeconds:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized.",_l2BlockTime:"The time per L2 block, in seconds.",_proposer:"The address of the proposer.",_startingBlockNumber:"The number of the first L2 block.",_startingTimestamp:"The timestamp of the first L2 block.",_submissionInterval:"Interval in blocks at which checkpoints must be submitted."}},"latestBlockNumber()":{returns:{_0:"Latest submitted L2 block number."}},"latestOutputIndex()":{returns:{_0:"The number of outputs that have been proposed."}},"nextBlockNumber()":{returns:{_0:"Next L2 block number."}},"nextOutputIndex()":{returns:{_0:"The index of the next output to be proposed."}},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{params:{_l1BlockHash:"A block hash which must be included in the current chain.",_l1BlockNumber:"The block number with the specified block hash.",_l2BlockNumber:"The L2 block number that resulted in _outputRoot.",_outputRoot:"The L2 output of the checkpoint block."}}},version:1},userdoc:{kind:"user",methods:{"CHALLENGER()":{notice:"Getter for the challenger address. Public getter is legacy and will be removed in the future. Use `challenger` instead."},"FINALIZATION_PERIOD_SECONDS()":{notice:"Getter for the finalizationPeriodSeconds. Public getter is legacy and will be removed in the future. Use `finalizationPeriodSeconds` instead."},"L2_BLOCK_TIME()":{notice:"Getter for the l2BlockTime. Public getter is legacy and will be removed in the future. Use `l2BlockTime` instead."},"PROPOSER()":{notice:"Getter for the proposer address. Public getter is legacy and will be removed in the future. Use `proposer` instead."},"SUBMISSION_INTERVAL()":{notice:"Getter for the submissionInterval. Public getter is legacy and will be removed in the future. Use `submissionInterval` instead."},"challenger()":{notice:"The address of the challenger. Can be updated via upgrade."},"computeL2Timestamp(uint256)":{notice:"Returns the L2 timestamp corresponding to a given L2 block number."},constructor:{notice:"Constructs the L2OutputOracle contract. Initializes variables to the same values as in the getting-started config."},"deleteL2Outputs(uint256)":{notice:"Deletes all output proposals after and including the proposal that corresponds to the given output index. Only the challenger address can delete outputs."},"finalizationPeriodSeconds()":{notice:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized."},"getL2Output(uint256)":{notice:"Returns an output by index. Needed to return a struct instead of a tuple."},"getL2OutputAfter(uint256)":{notice:"Returns the L2 output proposal that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"getL2OutputIndexAfter(uint256)":{notice:"Returns the index of the L2 output that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{notice:"Initializer."},"l2BlockTime()":{notice:"The time between L2 blocks in seconds. Once set, this value MUST NOT be modified."},"latestBlockNumber()":{notice:"Returns the block number of the latest submitted L2 output proposal. If no proposals been submitted yet then this function will return the starting block number."},"latestOutputIndex()":{notice:"Returns the number of outputs that have been proposed. Will revert if no outputs have been proposed yet."},"nextBlockNumber()":{notice:"Computes the block number of the next L2 block that needs to be checkpointed."},"nextOutputIndex()":{notice:"Returns the index of the next output to be proposed."},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{notice:"Accepts an outputRoot and the timestamp of the corresponding L2 block. The timestamp must be equal to the current value returned by `nextTimestamp()` in order to be accepted. This function may only be called by the Proposer."},"proposer()":{notice:"The address of the proposer. Can be updated via upgrade."},"startingBlockNumber()":{notice:"The number of the first L2 block recorded in this contract."},"startingTimestamp()":{notice:"The timestamp of the first L2 block recorded in this contract."},"submissionInterval()":{notice:"The interval in L2 blocks at which checkpoints must be submitted."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L2OutputOracle.sol":"L2OutputOracle"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L2OutputOracle.sol":{keccak256:"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42",urls:["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:82910,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"startingBlockNumber",offset:0,slot:"1",type:"t_uint256"},{astId:82913,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"startingTimestamp",offset:0,slot:"2",type:"t_uint256"},{astId:82918,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"l2Outputs",offset:0,slot:"3",type:"t_array(t_struct(OutputProposal)100917_storage)dyn_storage"},{astId:82921,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"submissionInterval",offset:0,slot:"4",type:"t_uint256"},{astId:82924,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"l2BlockTime",offset:0,slot:"5",type:"t_uint256"},{astId:82927,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"challenger",offset:0,slot:"6",type:"t_address"},{astId:82930,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"proposer",offset:0,slot:"7",type:"t_address"},{astId:82933,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"finalizationPeriodSeconds",offset:0,slot:"8",type:"t_uint256"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_struct(OutputProposal)100917_storage)dyn_storage":{encoding:"dynamic_array",label:"struct Types.OutputProposal[]",numberOfBytes:"32",base:"t_struct(OutputProposal)100917_storage"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_struct(OutputProposal)100917_storage":{encoding:"inplace",label:"struct Types.OutputProposal",numberOfBytes:"64",members:[{astId:100912,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"outputRoot",offset:0,slot:"0",type:"t_bytes32"},{astId:100914,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"timestamp",offset:0,slot:"1",type:"t_uint128"},{astId:100916,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"l2BlockNumber",offset:16,slot:"1",type:"t_uint128"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"CHALLENGER()":{notice:"Getter for the challenger address. Public getter is legacy and will be removed in the future. Use `challenger` instead."},"FINALIZATION_PERIOD_SECONDS()":{notice:"Getter for the finalizationPeriodSeconds. Public getter is legacy and will be removed in the future. Use `finalizationPeriodSeconds` instead."},"L2_BLOCK_TIME()":{notice:"Getter for the l2BlockTime. Public getter is legacy and will be removed in the future. Use `l2BlockTime` instead."},"PROPOSER()":{notice:"Getter for the proposer address. Public getter is legacy and will be removed in the future. Use `proposer` instead."},"SUBMISSION_INTERVAL()":{notice:"Getter for the submissionInterval. Public getter is legacy and will be removed in the future. Use `submissionInterval` instead."},"challenger()":{notice:"The address of the challenger. Can be updated via upgrade."},"computeL2Timestamp(uint256)":{notice:"Returns the L2 timestamp corresponding to a given L2 block number."},constructor:{notice:"Constructs the L2OutputOracle contract. Initializes variables to the same values as in the getting-started config."},"deleteL2Outputs(uint256)":{notice:"Deletes all output proposals after and including the proposal that corresponds to the given output index. Only the challenger address can delete outputs."},"finalizationPeriodSeconds()":{notice:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized."},"getL2Output(uint256)":{notice:"Returns an output by index. Needed to return a struct instead of a tuple."},"getL2OutputAfter(uint256)":{notice:"Returns the L2 output proposal that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"getL2OutputIndexAfter(uint256)":{notice:"Returns the index of the L2 output that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{notice:"Initializer."},"l2BlockTime()":{notice:"The time between L2 blocks in seconds. Once set, this value MUST NOT be modified."},"latestBlockNumber()":{notice:"Returns the block number of the latest submitted L2 output proposal. If no proposals been submitted yet then this function will return the starting block number."},"latestOutputIndex()":{notice:"Returns the number of outputs that have been proposed. Will revert if no outputs have been proposed yet."},"nextBlockNumber()":{notice:"Computes the block number of the next L2 block that needs to be checkpointed."},"nextOutputIndex()":{notice:"Returns the index of the next output to be proposed."},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{notice:"Accepts an outputRoot and the timestamp of the corresponding L2 block. The timestamp must be equal to the current value returned by `nextTimestamp()` in order to be accepted. This function may only be called by the Proposer."},"proposer()":{notice:"The address of the proposer. Can be updated via upgrade."},"startingBlockNumber()":{notice:"The number of the first L2 block recorded in this contract."},"startingTimestamp()":{notice:"The timestamp of the first L2 block recorded in this contract."},"submissionInterval()":{notice:"The interval in L2 blocks at which checkpoints must be submitted."},"version()":{notice:"Semantic version."}},events:{"OutputProposed(bytes32,uint256,uint256,uint256)":{notice:"Emitted when an output is proposed."},"OutputsDeleted(uint256,uint256)":{notice:"Emitted when outputs are deleted."}},notice:"The L2OutputOracle contains an array of L2 state outputs, where each output is a commitment to the state of the L2 chain. Other contracts like the OptimismPortal use these outputs to verify information about the state of L2."},devdoc:{version:1,kind:"dev",methods:{"CHALLENGER()":{returns:{_0:"Address of the challenger."}},"FINALIZATION_PERIOD_SECONDS()":{returns:{_0:"Finalization period in seconds."}},"L2_BLOCK_TIME()":{returns:{_0:"L2 block time."}},"PROPOSER()":{returns:{_0:"Address of the proposer."}},"SUBMISSION_INTERVAL()":{returns:{_0:"Submission interval."}},"computeL2Timestamp(uint256)":{params:{_l2BlockNumber:"The L2 block number of the target block."},returns:{_0:"L2 timestamp of the given block."}},"deleteL2Outputs(uint256)":{params:{_l2OutputIndex:"Index of the first L2 output to be deleted. All outputs after this output will also be deleted."}},"getL2Output(uint256)":{params:{_l2OutputIndex:"Index of the output to return."},returns:{_0:"The output at the given index."}},"getL2OutputAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"First checkpoint that commits to the given L2 block number."}},"getL2OutputIndexAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"Index of the first checkpoint that commits to the given L2 block number."}},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{params:{_challenger:"The address of the challenger.",_finalizationPeriodSeconds:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized.",_l2BlockTime:"The time per L2 block, in seconds.",_proposer:"The address of the proposer.",_startingBlockNumber:"The number of the first L2 block.",_startingTimestamp:"The timestamp of the first L2 block.",_submissionInterval:"Interval in blocks at which checkpoints must be submitted."}},"latestBlockNumber()":{returns:{_0:"Latest submitted L2 block number."}},"latestOutputIndex()":{returns:{_0:"The number of outputs that have been proposed."}},"nextBlockNumber()":{returns:{_0:"Next L2 block number."}},"nextOutputIndex()":{returns:{_0:"The index of the next output to be proposed."}},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{params:{_l1BlockHash:"A block hash which must be included in the current chain.",_l1BlockNumber:"The block number with the specified block hash.",_l2BlockNumber:"The L2 block number that resulted in _outputRoot.",_outputRoot:"The L2 output of the checkpoint block."}}},events:{"OutputProposed(bytes32,uint256,uint256,uint256)":{params:{l1Timestamp:"The L1 timestamp when proposed.",l2BlockNumber:"The L2 block number of the output root.",l2OutputIndex:"The index of the output in the l2Outputs array.",outputRoot:"The output root."}},"OutputsDeleted(uint256,uint256)":{params:{newNextOutputIndex:"Next L2 output index after the deletion.",prevNextOutputIndex:"Next L2 output index before the deletion."}}}},id:129}});var zKe=D((Zca,FHt)=>{FHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC721To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"deposits",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"finalizeBridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_messenger",type:"address",internalType:"contract CrossDomainMessenger"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ERC721BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC721BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001f60008062000025565b62000234565b600054610100900460ff1615808015620000465750600054600160ff909116105b8062000076575062000063306200018a60201b62000b141760201c565b15801562000076575060005460ff166001145b620000df5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000103576000805461ff0019166101001790555b603280546001600160a01b0319166001600160a01b0384161790556200013e8373420000000000000000000000000000000000001462000199565b801562000185576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b03163b151590565b600054610100900460ff16620002065760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d6565b600180546001600160a01b039384166001600160a01b03199182161790915560028054929093169116179055565b6113e980620002446000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80635d93a3fc11610081578063927ede2d1161005b578063927ede2d14610231578063aa5574521461024f578063c89701a21461026257600080fd5b80635d93a3fc146101cc578063761f4493146102005780637f46ddb21461021357600080fd5b8063485cc955116100b2578063485cc9551461015857806354fd4d501461016b5780635c975abb146101b457600080fd5b806335e80ab3146100d95780633687011a146101235780633cb747bf14610138575b600080fd5b6032546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b610136610131366004610fe1565b610282565b005b6001546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b610136610166366004611064565b61032e565b6101a76040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b60405161011a9190611108565b6101bc610518565b604051901515815260200161011a565b6101bc6101da366004611122565b603160209081526000938452604080852082529284528284209052825290205460ff1681565b61013661020e366004611163565b6105b1565b60025473ffffffffffffffffffffffffffffffffffffffff166100f9565b60015473ffffffffffffffffffffffffffffffffffffffff166100f9565b61013661025d3660046111fb565b610a58565b6002546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b333b15610316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103268686333388888888610b30565b505050505050565b600054610100900460ff161580801561034e5750600054600160ff909116105b806103685750303b158015610368575060005460ff166001145b6103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161030d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561045257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556104b083734200000000000000000000000000000000000014610e70565b801561051357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610588573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ac9190611272565b905090565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156106865750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa15801561064a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066e9190611294565b73ffffffffffffffffffffffffffffffffffffffff16145b610712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161030d565b61071a610518565b15610781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4c314552433732314272696467653a2070617573656400000000000000000000604482015260640161030d565b3073ffffffffffffffffffffffffffffffffffffffff881603610826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c314552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152603160209081526040808320938a1683529281528282208683529052205460ff1615156001146108f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4c314552433732314272696467653a20546f6b656e204944206973206e6f742060448201527f657363726f77656420696e20746865204c312042726964676500000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff87811660008181526031602090815260408083208b8616845282528083208884529091529081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055517f42842e0e000000000000000000000000000000000000000000000000000000008152306004820152918616602483015260448201859052906342842e0e90606401600060405180830381600087803b1580156109b557600080fd5b505af11580156109c9573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac87878787604051610a4794939291906112fa565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff8516610afb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161030d565b610b0b8787338888888888610b30565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610bd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c314552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161030d565b600063761f449360e01b888a8989898888604051602401610bfa979695949392919061133a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000959095169490941790935273ffffffffffffffffffffffffffffffffffffffff8c81166000818152603186528381208e8416825286528381208b82529095529382902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905590517f23b872dd000000000000000000000000000000000000000000000000000000008152908a166004820152306024820152604481018890529092506323b872dd90606401600060405180830381600087803b158015610d3a57600080fd5b505af1158015610d4e573d6000803e3d6000fd5b50506001546002546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283169450633dbb202b9350610db1929091169085908990600401611397565b600060405180830381600087803b158015610dcb57600080fd5b505af1158015610ddf573d6000803e3d6000fd5b505050508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a589898888604051610e5d94939291906112fa565b60405180910390a4505050505050505050565b600054610100900460ff16610f07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161030d565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b73ffffffffffffffffffffffffffffffffffffffff81168114610f7c57600080fd5b50565b803563ffffffff81168114610f9357600080fd5b919050565b60008083601f840112610faa57600080fd5b50813567ffffffffffffffff811115610fc257600080fd5b602083019150836020828501011115610fda57600080fd5b9250929050565b60008060008060008060a08789031215610ffa57600080fd5b863561100581610f5a565b9550602087013561101581610f5a565b94506040870135935061102a60608801610f7f565b9250608087013567ffffffffffffffff81111561104657600080fd5b61105289828a01610f98565b979a9699509497509295939492505050565b6000806040838503121561107757600080fd5b823561108281610f5a565b9150602083013561109281610f5a565b809150509250929050565b6000815180845260005b818110156110c3576020818501810151868301820152016110a7565b818111156110d5576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061111b602083018461109d565b9392505050565b60008060006060848603121561113757600080fd5b833561114281610f5a565b9250602084013561115281610f5a565b929592945050506040919091013590565b600080600080600080600060c0888a03121561117e57600080fd5b873561118981610f5a565b9650602088013561119981610f5a565b955060408801356111a981610f5a565b945060608801356111b981610f5a565b93506080880135925060a088013567ffffffffffffffff8111156111dc57600080fd5b6111e88a828b01610f98565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561121657600080fd5b873561122181610f5a565b9650602088013561123181610f5a565b9550604088013561124181610f5a565b94506060880135935061125660808901610f7f565b925060a088013567ffffffffffffffff8111156111dc57600080fd5b60006020828403121561128457600080fd5b8151801515811461111b57600080fd5b6000602082840312156112a657600080fd5b815161111b81610f5a565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006113306060830184866112b1565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261138a60c0830184866112b1565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006113c6606083018561109d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"922:4498:127:-:0;;;1492:155;;;;;;;;;-1:-1:-1;1531:109:127::1;1585:1;::::0;1531:10:::1;:109::i;:::-;922:4498:::0;;1869:318;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;1987:16:127::1;:36:::0;;-1:-1:-1;;;;;;1987:36:127::1;-1:-1:-1::0;;;;;1987:36:127;::::1;;::::0;;2033:147:::1;2079:10:::0;786:42:194::1;2033:19:127;:147::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;1869:318:127;;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;3043:234:219:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;830:2:350;4880:69:41;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4880:69:41;628:407:350;4880:69:41;3212:9:219::1;:22:::0;;-1:-1:-1;;;;;3212:22:219;;::::1;-1:-1:-1::0;;;;;;3212:22:219;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;628:407:350:-;922:4498:127;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100d45760003560e01c80635d93a3fc11610081578063927ede2d1161005b578063927ede2d14610231578063aa5574521461024f578063c89701a21461026257600080fd5b80635d93a3fc146101cc578063761f4493146102005780637f46ddb21461021357600080fd5b8063485cc955116100b2578063485cc9551461015857806354fd4d501461016b5780635c975abb146101b457600080fd5b806335e80ab3146100d95780633687011a146101235780633cb747bf14610138575b600080fd5b6032546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b610136610131366004610fe1565b610282565b005b6001546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b610136610166366004611064565b61032e565b6101a76040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b60405161011a9190611108565b6101bc610518565b604051901515815260200161011a565b6101bc6101da366004611122565b603160209081526000938452604080852082529284528284209052825290205460ff1681565b61013661020e366004611163565b6105b1565b60025473ffffffffffffffffffffffffffffffffffffffff166100f9565b60015473ffffffffffffffffffffffffffffffffffffffff166100f9565b61013661025d3660046111fb565b610a58565b6002546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b333b15610316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103268686333388888888610b30565b505050505050565b600054610100900460ff161580801561034e5750600054600160ff909116105b806103685750303b158015610368575060005460ff166001145b6103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161030d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561045257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556104b083734200000000000000000000000000000000000014610e70565b801561051357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610588573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ac9190611272565b905090565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156106865750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa15801561064a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066e9190611294565b73ffffffffffffffffffffffffffffffffffffffff16145b610712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161030d565b61071a610518565b15610781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4c314552433732314272696467653a2070617573656400000000000000000000604482015260640161030d565b3073ffffffffffffffffffffffffffffffffffffffff881603610826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c314552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152603160209081526040808320938a1683529281528282208683529052205460ff1615156001146108f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4c314552433732314272696467653a20546f6b656e204944206973206e6f742060448201527f657363726f77656420696e20746865204c312042726964676500000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff87811660008181526031602090815260408083208b8616845282528083208884529091529081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055517f42842e0e000000000000000000000000000000000000000000000000000000008152306004820152918616602483015260448201859052906342842e0e90606401600060405180830381600087803b1580156109b557600080fd5b505af11580156109c9573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac87878787604051610a4794939291906112fa565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff8516610afb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161030d565b610b0b8787338888888888610b30565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610bd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c314552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161030d565b600063761f449360e01b888a8989898888604051602401610bfa979695949392919061133a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000959095169490941790935273ffffffffffffffffffffffffffffffffffffffff8c81166000818152603186528381208e8416825286528381208b82529095529382902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905590517f23b872dd000000000000000000000000000000000000000000000000000000008152908a166004820152306024820152604481018890529092506323b872dd90606401600060405180830381600087803b158015610d3a57600080fd5b505af1158015610d4e573d6000803e3d6000fd5b50506001546002546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283169450633dbb202b9350610db1929091169085908990600401611397565b600060405180830381600087803b158015610dcb57600080fd5b505af1158015610ddf573d6000803e3d6000fd5b505050508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a589898888604051610e5d94939291906112fa565b60405180910390a4505050505050505050565b600054610100900460ff16610f07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161030d565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b73ffffffffffffffffffffffffffffffffffffffff81168114610f7c57600080fd5b50565b803563ffffffff81168114610f9357600080fd5b919050565b60008083601f840112610faa57600080fd5b50813567ffffffffffffffff811115610fc257600080fd5b602083019150836020828501011115610fda57600080fd5b9250929050565b60008060008060008060a08789031215610ffa57600080fd5b863561100581610f5a565b9550602087013561101581610f5a565b94506040870135935061102a60608801610f7f565b9250608087013567ffffffffffffffff81111561104657600080fd5b61105289828a01610f98565b979a9699509497509295939492505050565b6000806040838503121561107757600080fd5b823561108281610f5a565b9150602083013561109281610f5a565b809150509250929050565b6000815180845260005b818110156110c3576020818501810151868301820152016110a7565b818111156110d5576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061111b602083018461109d565b9392505050565b60008060006060848603121561113757600080fd5b833561114281610f5a565b9250602084013561115281610f5a565b929592945050506040919091013590565b600080600080600080600060c0888a03121561117e57600080fd5b873561118981610f5a565b9650602088013561119981610f5a565b955060408801356111a981610f5a565b945060608801356111b981610f5a565b93506080880135925060a088013567ffffffffffffffff8111156111dc57600080fd5b6111e88a828b01610f98565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561121657600080fd5b873561122181610f5a565b9650602088013561123181610f5a565b9550604088013561124181610f5a565b94506060880135935061125660808901610f7f565b925060a088013567ffffffffffffffff8111156111dc57600080fd5b60006020828403121561128457600080fd5b8151801515811461111b57600080fd5b6000602082840312156112a657600080fd5b815161111b81610f5a565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006113306060830184866112b1565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261138a60c0830184866112b1565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006113c6606083018561109d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"922:4498:127:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1279:40;;;;;;;;;;;;216:42:350;204:55;;;186:74;;174:2;159:18;1279:40:127;;;;;;;;5688:971:219;;;;;;:::i;:::-;;:::i;:::-;;829:37;;;;;;;;;1869:318:127;;;;;;:::i;:::-;;:::i;1389:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2226:103::-;;;:::i;:::-;;;3420:14:350;;3413:22;3395:41;;3383:2;3368:18;2226:103:127;3255:187:350;1134:80:127;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3096:1207;;;;;;:::i;:::-;;:::i;3858:98:219:-;3938:11;;;;3858:98;;3511:99;3594:9;;;;3511:99;;7885:428;;;;;;:::i;:::-;;:::i;967:33::-;;;;;;;;;5688:971;6472:10;1465:19:57;:23;6444:89:219;;;;;;;6391:2:350;6444:89:219;;;6373:21:350;6430:2;6410:18;;;6403:30;6469:34;6449:18;;;6442:62;6540:15;6520:18;;;6513:43;6573:19;;6444:89:219;;;;;;;;;6544:108;6566:11;6579:12;6593:10;6605;6617:8;6627:12;6641:10;;6544:21;:108::i;:::-;5688:971;;;;;;:::o;1869:318:127:-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;6805:2:350;3146:190:41;;;6787:21:350;6844:2;6824:18;;;6817:30;6883:34;6863:18;;;6856:62;6954:16;6934:18;;;6927:44;6988:19;;3146:190:41;6603:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;1987:16:127::1;:36:::0;;;::::1;;::::0;::::1;;::::0;;2033:147:::1;2079:10:::0;786:42:194::1;2033:19:127;:147::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;7170:36:350;;3531:14:41;;7158:2:350;7143:18;3531:14:41;;;;;;;3457:99;3090:472;1869:318:127;;:::o;2226:103::-;2297:16;;:25;;;;;;;;2274:4;;2297:16;;;:23;;:25;;;;;;;;;;;;;;:16;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2290:32;;2226:103;:::o;3096:1207::-;2669:9:219;;;;2647:10;:32;:92;;;;-1:-1:-1;2727:11:219;;;2683:9;:32;;;;;;;;2727:11;;;;;2683:9;;;;:30;;:32;;;;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;2647:92;2626:202;;;;;;;7957:2:350;2626:202:219;;;7939:21:350;7996:2;7976:18;;;7969:30;8035:34;8015:18;;;8008:62;8106:33;8086:18;;;8079:61;8157:19;;2626:202:219;7755:427:350;2626:202:219;3359:8:127::1;:6;:8::i;:::-;:17;3351:52;;;::::0;::::1;::::0;;8389:2:350;3351:52:127::1;::::0;::::1;8371:21:350::0;8428:2;8408:18;;;8401:30;8467:24;8447:18;;;8440:52;8509:18;;3351:52:127::1;8187:346:350::0;3351:52:127::1;3444:4;3421:28;::::0;::::1;::::0;3413:83:::1;;;::::0;::::1;::::0;;8740:2:350;3413:83:127::1;::::0;::::1;8722:21:350::0;8779:2;8759:18;;;8752:30;8818:34;8798:18;;;8791:62;8889:12;8869:18;;;8862:40;8919:19;;3413:83:127::1;8538:406:350::0;3413:83:127::1;3620:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;;:45;;;;;;;::::1;;:53;;:45:::0;:53:::1;3599:157;;;::::0;::::1;::::0;;9151:2:350;3599:157:127::1;::::0;::::1;9133:21:350::0;9190:2;9170:18;;;9163:30;9229:34;9209:18;;;9202:62;9300:27;9280:18;;;9273:55;9345:19;;3599:157:127::1;8949:421:350::0;3599:157:127::1;3878:21;::::0;;::::1;3926:5;3878:21:::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;:45;;;;;;;;;;:53;;;::::1;::::0;;4053:90;;;;4107:4:::1;4053:90;::::0;::::1;9638:34:350::0;9708:15;;;9688:18;;;9681:43;9740:18;;;9733:34;;;3878:21:127;4053:37:::1;::::0;9550:18:350;;4053:90:127::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4263:5;4214:82;;4249:12;4214:82;;4236:11;4214:82;;;4270:3;4275:8;4285:10;;4214:82;;;;;;;;;:::i;:::-;;;;;;;;3096:1207:::0;;;;;;;:::o;7885:428:219:-;8124:17;;;8116:78;;;;;;;10750:2:350;8116:78:219;;;10732:21:350;10789:2;10769:18;;;10762:30;10828:34;10808:18;;;10801:62;10899:18;10879;;;10872:46;10935:19;;8116:78:219;10548:412:350;8116:78:219;8205:101;8227:11;8240:12;8254:10;8266:3;8271:8;8281:12;8295:10;;8205:21;:101::i;:::-;7885:428;;;;;;;:::o;1175:320:57:-;1465:19;;;:23;;;1175:320::o;4342:1076:127:-;4628:26;;;4620:88;;;;;;;11167:2:350;4620:88:127;;;11149:21:350;11206:2;11186:18;;;11179:30;11245:34;11225:18;;;11218:62;11316:19;11296:18;;;11289:47;11353:19;;4620:88:127;10965:413:350;4620:88:127;4798:20;4857:44;;;4903:12;4917:11;4930:5;4937:3;4942:8;4952:10;;4821:151;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5017:21;;;;-1:-1:-1;5017:21:127;;;:8;:21;;;;;:35;;;;;;;;;;:45;;;;;;;;;;:52;;;;5065:4;5017:52;;;5079:88;;;;;9656:15:350;;;5079:88:127;;;9638:34:350;5140:4:127;9688:18:350;;;9681:43;9740:18;;;9733:34;;;4821:151:127;;-1:-1:-1;5079:33:127;;9550:18:350;;5079:88:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5211:9:127;;5252:11;;5211:103;;;;;:9;;;;;-1:-1:-1;5211:21:127;;-1:-1:-1;5211:103:127;;5252:11;;;;5276:7;;5299:12;;5211:103;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5378:5;5329:82;;5364:12;5329:82;;5351:11;5329:82;;;5385:3;5390:8;5400:10;;5329:82;;;;;;;;;:::i;:::-;;;;;;;;4610:808;4342:1076;;;;;;;;:::o;3043:234:219:-;4888:13:41;;;;;;;4880:69;;;;;;;12719:2:350;4880:69:41;;;12701:21:350;12758:2;12738:18;;;12731:30;12797:34;12777:18;;;12770:62;12868:13;12848:18;;;12841:41;12899:19;;4880:69:41;12517:407:350;4880:69:41;3212:9:219::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;271:154:350:-;357:42;350:5;346:54;339:5;336:65;326:93;;415:1;412;405:12;326:93;271:154;:::o;430:163::-;497:20;;557:10;546:22;;536:33;;526:61;;583:1;580;573:12;526:61;430:163;;;:::o;598:347::-;649:8;659:6;713:3;706:4;698:6;694:17;690:27;680:55;;731:1;728;721:12;680:55;-1:-1:-1;754:20:350;;797:18;786:30;;783:50;;;829:1;826;819:12;783:50;866:4;858:6;854:17;842:29;;918:3;911:4;902:6;894;890:19;886:30;883:39;880:59;;;935:1;932;925:12;880:59;598:347;;;;;:::o;950:827::-;1055:6;1063;1071;1079;1087;1095;1148:3;1136:9;1127:7;1123:23;1119:33;1116:53;;;1165:1;1162;1155:12;1116:53;1204:9;1191:23;1223:31;1248:5;1223:31;:::i;:::-;1273:5;-1:-1:-1;1330:2:350;1315:18;;1302:32;1343:33;1302:32;1343:33;:::i;:::-;1395:7;-1:-1:-1;1449:2:350;1434:18;;1421:32;;-1:-1:-1;1472:37:350;1505:2;1490:18;;1472:37;:::i;:::-;1462:47;;1560:3;1549:9;1545:19;1532:33;1588:18;1580:6;1577:30;1574:50;;;1620:1;1617;1610:12;1574:50;1659:58;1709:7;1700:6;1689:9;1685:22;1659:58;:::i;:::-;950:827;;;;-1:-1:-1;950:827:350;;-1:-1:-1;950:827:350;;1736:8;;950:827;-1:-1:-1;;;950:827:350:o;2044:445::-;2169:6;2177;2230:2;2218:9;2209:7;2205:23;2201:32;2198:52;;;2246:1;2243;2236:12;2198:52;2285:9;2272:23;2304:31;2329:5;2304:31;:::i;:::-;2354:5;-1:-1:-1;2411:2:350;2396:18;;2383:32;2424:33;2383:32;2424:33;:::i;:::-;2476:7;2466:17;;;2044:445;;;;;:::o;2494:531::-;2536:3;2574:5;2568:12;2601:6;2596:3;2589:19;2626:1;2636:162;2650:6;2647:1;2644:13;2636:162;;;2712:4;2768:13;;;2764:22;;2758:29;2740:11;;;2736:20;;2729:59;2665:12;2636:162;;;2816:6;2813:1;2810:13;2807:87;;;2882:1;2875:4;2866:6;2861:3;2857:16;2853:27;2846:38;2807:87;-1:-1:-1;2939:2:350;2927:15;2944:66;2923:88;2914:98;;;;3014:4;2910:109;;2494:531;-1:-1:-1;;2494:531:350:o;3030:220::-;3179:2;3168:9;3161:21;3142:4;3199:45;3240:2;3229:9;3225:18;3217:6;3199:45;:::i;:::-;3191:53;3030:220;-1:-1:-1;;;3030:220:350:o;3447:456::-;3524:6;3532;3540;3593:2;3581:9;3572:7;3568:23;3564:32;3561:52;;;3609:1;3606;3599:12;3561:52;3648:9;3635:23;3667:31;3692:5;3667:31;:::i;:::-;3717:5;-1:-1:-1;3774:2:350;3759:18;;3746:32;3787:33;3746:32;3787:33;:::i;:::-;3447:456;;3839:7;;-1:-1:-1;;;3893:2:350;3878:18;;;;3865:32;;3447:456::o;3908:1038::-;4023:6;4031;4039;4047;4055;4063;4071;4124:3;4112:9;4103:7;4099:23;4095:33;4092:53;;;4141:1;4138;4131:12;4092:53;4180:9;4167:23;4199:31;4224:5;4199:31;:::i;:::-;4249:5;-1:-1:-1;4306:2:350;4291:18;;4278:32;4319:33;4278:32;4319:33;:::i;:::-;4371:7;-1:-1:-1;4430:2:350;4415:18;;4402:32;4443:33;4402:32;4443:33;:::i;:::-;4495:7;-1:-1:-1;4554:2:350;4539:18;;4526:32;4567:33;4526:32;4567:33;:::i;:::-;4619:7;-1:-1:-1;4673:3:350;4658:19;;4645:33;;-1:-1:-1;4729:3:350;4714:19;;4701:33;4757:18;4746:30;;4743:50;;;4789:1;4786;4779:12;4743:50;4828:58;4878:7;4869:6;4858:9;4854:22;4828:58;:::i;:::-;3908:1038;;;;-1:-1:-1;3908:1038:350;;-1:-1:-1;3908:1038:350;;;;4802:84;;-1:-1:-1;;;3908:1038:350:o;5215:969::-;5329:6;5337;5345;5353;5361;5369;5377;5430:3;5418:9;5409:7;5405:23;5401:33;5398:53;;;5447:1;5444;5437:12;5398:53;5486:9;5473:23;5505:31;5530:5;5505:31;:::i;:::-;5555:5;-1:-1:-1;5612:2:350;5597:18;;5584:32;5625:33;5584:32;5625:33;:::i;:::-;5677:7;-1:-1:-1;5736:2:350;5721:18;;5708:32;5749:33;5708:32;5749:33;:::i;:::-;5801:7;-1:-1:-1;5855:2:350;5840:18;;5827:32;;-1:-1:-1;5878:38:350;5911:3;5896:19;;5878:38;:::i;:::-;5868:48;;5967:3;5956:9;5952:19;5939:33;5995:18;5987:6;5984:30;5981:50;;;6027:1;6024;6017:12;7217:277;7284:6;7337:2;7325:9;7316:7;7312:23;7308:32;7305:52;;;7353:1;7350;7343:12;7305:52;7385:9;7379:16;7438:5;7431:13;7424:21;7417:5;7414:32;7404:60;;7460:1;7457;7450:12;7499:251;7569:6;7622:2;7610:9;7601:7;7597:23;7593:32;7590:52;;;7638:1;7635;7628:12;7590:52;7670:9;7664:16;7689:31;7714:5;7689:31;:::i;9778:325::-;9866:6;9861:3;9854:19;9918:6;9911:5;9904:4;9899:3;9895:14;9882:43;;9970:1;9963:4;9954:6;9949:3;9945:16;9941:27;9934:38;9836:3;10092:4;10022:66;10017:2;10009:6;10005:15;10001:88;9996:3;9992:98;9988:109;9981:116;;9778:325;;;;:::o;10108:435::-;10333:42;10325:6;10321:55;10310:9;10303:74;10413:6;10408:2;10397:9;10393:18;10386:34;10456:2;10451;10440:9;10436:18;10429:30;10284:4;10476:61;10533:2;10522:9;10518:18;10510:6;10502;10476:61;:::i;:::-;10468:69;10108:435;-1:-1:-1;;;;;;10108:435:350:o;11383:700::-;11643:4;11672:42;11753:2;11745:6;11741:15;11730:9;11723:34;11805:2;11797:6;11793:15;11788:2;11777:9;11773:18;11766:43;11857:2;11849:6;11845:15;11840:2;11829:9;11825:18;11818:43;11909:2;11901:6;11897:15;11892:2;11881:9;11877:18;11870:43;;11950:6;11944:3;11933:9;11929:19;11922:35;11994:3;11988;11977:9;11973:19;11966:32;12015:62;12072:3;12061:9;12057:19;12049:6;12041;12015:62;:::i;:::-;12007:70;11383:700;-1:-1:-1;;;;;;;;;11383:700:350:o;12088:424::-;12301:42;12293:6;12289:55;12278:9;12271:74;12381:2;12376;12365:9;12361:18;12354:30;12252:4;12401:45;12442:2;12431:9;12427:18;12419:6;12401:45;:::i;:::-;12393:53;;12494:10;12486:6;12482:23;12477:2;12466:9;12462:18;12455:51;12088:424;;;;;;:::o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC721(address,address,uint256,uint32,bytes)":"3687011a","bridgeERC721To(address,address,address,uint256,uint32,bytes)":"aa557452","deposits(address,address,uint256)":"5d93a3fc","finalizeBridgeERC721(address,address,address,address,uint256,bytes)":"761f4493","initialize(address,address)":"485cc955","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","superchainConfig()":"35e80ab3","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"deposits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract CrossDomainMessenger","name":"_messenger","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_tokenId":"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_to":"Address to receive the token on the other domain.","_tokenId":"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"params":{"_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_from":"Address that triggered the bridge on the other domain.","_localToken":"Address of the ERC721 token on this domain.","_remoteToken":"Address of the ERC721 token on the other domain.","_to":"Address to receive the token on this domain.","_tokenId":"ID of the token being deposited."}},"initialize(address,address)":{"params":{"_messenger":"Contract of the CrossDomainMessenger on this network.","_superchainConfig":"Contract of the SuperchainConfig contract on this network."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}}},"stateVariables":{"version":{"custom:semver":"2.1.0"}},"title":"L1ERC721Bridge","version":1},"userdoc":{"events":{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge to the other network is initiated."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{"notice":"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to the caller\'s account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to some recipient\'s account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"constructor":{"notice":"Constructs the L1ERC721Bridge contract."},"deposits(address,address,uint256)":{"notice":"Mapping of L1 token to L2 token to ID to boolean, indicating if the given L1 token by ID was deposited for a given L2 token."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"notice":"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address,address)":{"notice":"Initializes the contract."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Contract of the bridge on the other network."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{"notice":"Address of the SuperchainConfig contract."},"version()":{"notice":"Semantic version."}},"notice":"The L1 ERC721 bridge is a contract which works together with the L2 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as an escrow for ERC721 tokens deposited into L2.","version":1}},"settings":{"compilationTarget":{"src/L1/L1ERC721Bridge.sol":"L1ERC721Bridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{"keccak256":"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f","license":"MIT","urls":["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"]},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{"keccak256":"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf","license":"MIT","urls":["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1ERC721Bridge.sol":{"keccak256":"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd","license":"MIT","urls":["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L2/L2ERC721Bridge.sol":{"keccak256":"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9","license":"MIT","urls":["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/ERC721Bridge.sol":{"keccak256":"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f","license":"MIT","urls":["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/IOptimismMintableERC721.sol":{"keccak256":"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52","license":"MIT","urls":["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90","license":"MIT","urls":["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeInitiated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721To"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"},{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function",name:"deposits",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC721"},{inputs:[{internalType:"contract CrossDomainMessenger",name:"_messenger",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address,address)":{params:{_messenger:"Contract of the CrossDomainMessenger on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L1ERC721Bridge contract."},"deposits(address,address,uint256)":{notice:"Mapping of L1 token to L2 token to ID to boolean, indicating if the given L1 token by ID was deposited for a given L2 token."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address,address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L1ERC721Bridge.sol":"L1ERC721Bridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{keccak256:"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f",urls:["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{keccak256:"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf",urls:["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1ERC721Bridge.sol":{keccak256:"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd",urls:["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L2/L2ERC721Bridge.sol":{keccak256:"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9",urls:["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/ERC721Bridge.sol":{keccak256:"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f",urls:["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/IOptimismMintableERC721.sol":{keccak256:"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52",urls:["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90",urls:["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:105516,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:105520,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"messenger",offset:0,slot:"1",type:"t_contract(CrossDomainMessenger)105498"},{astId:105524,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"otherBridge",offset:0,slot:"2",type:"t_contract(StandardBridge)108285"},{astId:105529,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"__gap",offset:0,slot:"3",type:"t_array(t_uint256)46_storage"},{astId:82150,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"deposits",offset:0,slot:"49",type:"t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_bool)))"},{astId:82154,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"superchainConfig",offset:0,slot:"50",type:"t_contract(SuperchainConfig)85848"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)46_storage":{encoding:"inplace",label:"uint256[46]",numberOfBytes:"1472",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)108285":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},"t_contract(SuperchainConfig)85848":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_bool)))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => mapping(uint256 => bool)))",numberOfBytes:"32",value:"t_mapping(t_address,t_mapping(t_uint256,t_bool))"},"t_mapping(t_address,t_mapping(t_uint256,t_bool))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(uint256 => bool))",numberOfBytes:"32",value:"t_mapping(t_uint256,t_bool)"},"t_mapping(t_uint256,t_bool)":{encoding:"mapping",key:"t_uint256",label:"mapping(uint256 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L1ERC721Bridge contract."},"deposits(address,address,uint256)":{notice:"Mapping of L1 token to L2 token to ID to boolean, indicating if the given L1 token by ID was deposited for a given L2 token."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address,address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},events:{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge to the other network is initiated."}},notice:"The L1 ERC721 bridge is a contract which works together with the L2 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as an escrow for ERC721 tokens deposited into L2."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address,address)":{params:{_messenger:"Contract of the CrossDomainMessenger on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},title:"L1ERC721Bridge"},id:127}});var WKe=D((e6a,NHt)=>{NHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC721To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeBridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_l1ERC721Bridge",type:"address",internalType:"address payable"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ERC721BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC721BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000217565b600054610100900460ff1615808015620000455750600054600160ff909116105b8062000075575062000062306200016d60201b62000a3e1760201c565b15801562000075575060005460ff166001145b620000de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000102576000805461ff0019166101001790555b62000122734200000000000000000000000000000000000007836200017c565b801562000169576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054610100900460ff16620001e95760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b600180546001600160a01b039384166001600160a01b03199182161790915560028054929093169116179055565b61160c80620002276000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c80637f46ddb211610076578063aa5574521161005b578063aa557452146101c9578063c4d66de8146101dc578063c89701a2146101ef57600080fd5b80637f46ddb21461018d578063927ede2d146101ab57600080fd5b806354fd4d50116100a757806354fd4d50146101225780635c975abb1461016b578063761f44931461017a57600080fd5b80633687011a146100c35780633cb747bf146100d8575b600080fd5b6100d66100d136600461128a565b61020f565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61015e6040518060400160405280600581526020017f312e372e3000000000000000000000000000000000000000000000000000000081525081565b6040516101199190611378565b60405160008152602001610119565b6100d661018836600461138b565b6102bb565b60025473ffffffffffffffffffffffffffffffffffffffff166100f8565b60015473ffffffffffffffffffffffffffffffffffffffff166100f8565b6100d66101d7366004611423565b6107d9565b6100d66101ea36600461149a565b610895565b6002546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b333b156102a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102b38686333388888888610a5a565b505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156103905750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa158015610354573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037891906114b7565b73ffffffffffffffffffffffffffffffffffffffff16145b61041c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161029a565b3073ffffffffffffffffffffffffffffffffffffffff8816036104c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161029a565b6104eb877f74259ebf00000000000000000000000000000000000000000000000000000000610fc2565b610577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e20696e746560448201527f7266616365206973206e6f7420636f6d706c69616e7400000000000000000000606482015260840161029a565b8673ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e691906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16146106c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4c324552433732314272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433732312060648201527f6c6f63616c20746f6b656e000000000000000000000000000000000000000000608482015260a40161029a565b6040517fa144819400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301526024820185905288169063a144819490604401600060405180830381600087803b15801561073657600080fd5b505af115801561074a573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac878787876040516107c8949392919061151d565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff851661087c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161029a565b61088c8787338888888888610a5a565b50505050505050565b600054610100900460ff16158080156108b55750600054600160ff909116105b806108cf5750303b1580156108cf575060005460ff166001145b61095b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161029a565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156109b957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6109d773420000000000000000000000000000000000000783610fe5565b8015610a3a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610afd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161029a565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810185905273ffffffffffffffffffffffffffffffffffffffff891690636352211e90602401602060405180830381865afa158015610b68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8c91906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614610c46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324552433732314272696467653a205769746864726177616c206973206e6f60448201527f74206265696e6720696e69746961746564206279204e4654206f776e65720000606482015260840161029a565b60008873ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb791906114b7565b90508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e20646f6560448201527f73206e6f74206d6174636820676976656e2076616c7565000000000000000000606482015260840161029a565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8881166004830152602482018790528a1690639dc29fac90604401600060405180830381600087803b158015610de457600080fd5b505af1158015610df8573d6000803e3d6000fd5b50505050600063761f449360e01b828b8a8a8a8989604051602401610e23979695949392919061155d565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925260015460025492517f3dbb202b00000000000000000000000000000000000000000000000000000000815291935073ffffffffffffffffffffffffffffffffffffffff90811692633dbb202b92610f0292919091169085908a906004016115ba565b600060405180830381600087803b158015610f1c57600080fd5b505af1158015610f30573d6000803e3d6000fd5b505050508773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a58a8a8989604051610fae949392919061151d565b60405180910390a450505050505050505050565b6000610fcd836110cf565b8015610fde5750610fde8383611134565b9392505050565b600054610100900460ff1661107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161029a565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b60006110fb827f01ffc9a700000000000000000000000000000000000000000000000000000000611134565b801561112e575061112c827fffffffff00000000000000000000000000000000000000000000000000000000611134565b155b92915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156111ec575060208210155b80156111f85750600081115b979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461122557600080fd5b50565b803563ffffffff8116811461123c57600080fd5b919050565b60008083601f84011261125357600080fd5b50813567ffffffffffffffff81111561126b57600080fd5b60208301915083602082850101111561128357600080fd5b9250929050565b60008060008060008060a087890312156112a357600080fd5b86356112ae81611203565b955060208701356112be81611203565b9450604087013593506112d360608801611228565b9250608087013567ffffffffffffffff8111156112ef57600080fd5b6112fb89828a01611241565b979a9699509497509295939492505050565b6000815180845260005b8181101561133357602081850181015186830182015201611317565b81811115611345576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610fde602083018461130d565b600080600080600080600060c0888a0312156113a657600080fd5b87356113b181611203565b965060208801356113c181611203565b955060408801356113d181611203565b945060608801356113e181611203565b93506080880135925060a088013567ffffffffffffffff81111561140457600080fd5b6114108a828b01611241565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561143e57600080fd5b873561144981611203565b9650602088013561145981611203565b9550604088013561146981611203565b94506060880135935061147e60808901611228565b925060a088013567ffffffffffffffff81111561140457600080fd5b6000602082840312156114ac57600080fd5b8135610fde81611203565b6000602082840312156114c957600080fd5b8151610fde81611203565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006115536060830184866114d4565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a08301526115ad60c0830184866114d4565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006115e9606083018561130d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"1389:4507:144:-:0;;;1576:98;;;;;;;;;-1:-1:-1;1615:52:144::1;1661:1;1615:10;:52::i;:::-;1389:4507:::0;;1813:263;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;1895:174:144::1;480:42:194;2042:15:144::0;1895:19:::1;:174::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;1813:263:144;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;3043:234:219:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;830:2:350;4880:69:41;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4880:69:41;628:407:350;4880:69:41;3212:9:219::1;:22:::0;;-1:-1:-1;;;;;3212:22:219;;::::1;-1:-1:-1::0;;;;;;3212:22:219;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;628:407:350:-;1389:4507:144;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100be5760003560e01c80637f46ddb211610076578063aa5574521161005b578063aa557452146101c9578063c4d66de8146101dc578063c89701a2146101ef57600080fd5b80637f46ddb21461018d578063927ede2d146101ab57600080fd5b806354fd4d50116100a757806354fd4d50146101225780635c975abb1461016b578063761f44931461017a57600080fd5b80633687011a146100c35780633cb747bf146100d8575b600080fd5b6100d66100d136600461128a565b61020f565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61015e6040518060400160405280600581526020017f312e372e3000000000000000000000000000000000000000000000000000000081525081565b6040516101199190611378565b60405160008152602001610119565b6100d661018836600461138b565b6102bb565b60025473ffffffffffffffffffffffffffffffffffffffff166100f8565b60015473ffffffffffffffffffffffffffffffffffffffff166100f8565b6100d66101d7366004611423565b6107d9565b6100d66101ea36600461149a565b610895565b6002546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b333b156102a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102b38686333388888888610a5a565b505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156103905750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa158015610354573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037891906114b7565b73ffffffffffffffffffffffffffffffffffffffff16145b61041c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161029a565b3073ffffffffffffffffffffffffffffffffffffffff8816036104c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161029a565b6104eb877f74259ebf00000000000000000000000000000000000000000000000000000000610fc2565b610577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e20696e746560448201527f7266616365206973206e6f7420636f6d706c69616e7400000000000000000000606482015260840161029a565b8673ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e691906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16146106c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4c324552433732314272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433732312060648201527f6c6f63616c20746f6b656e000000000000000000000000000000000000000000608482015260a40161029a565b6040517fa144819400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301526024820185905288169063a144819490604401600060405180830381600087803b15801561073657600080fd5b505af115801561074a573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac878787876040516107c8949392919061151d565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff851661087c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161029a565b61088c8787338888888888610a5a565b50505050505050565b600054610100900460ff16158080156108b55750600054600160ff909116105b806108cf5750303b1580156108cf575060005460ff166001145b61095b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161029a565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156109b957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6109d773420000000000000000000000000000000000000783610fe5565b8015610a3a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610afd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161029a565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810185905273ffffffffffffffffffffffffffffffffffffffff891690636352211e90602401602060405180830381865afa158015610b68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8c91906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614610c46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324552433732314272696467653a205769746864726177616c206973206e6f60448201527f74206265696e6720696e69746961746564206279204e4654206f776e65720000606482015260840161029a565b60008873ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb791906114b7565b90508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e20646f6560448201527f73206e6f74206d6174636820676976656e2076616c7565000000000000000000606482015260840161029a565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8881166004830152602482018790528a1690639dc29fac90604401600060405180830381600087803b158015610de457600080fd5b505af1158015610df8573d6000803e3d6000fd5b50505050600063761f449360e01b828b8a8a8a8989604051602401610e23979695949392919061155d565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925260015460025492517f3dbb202b00000000000000000000000000000000000000000000000000000000815291935073ffffffffffffffffffffffffffffffffffffffff90811692633dbb202b92610f0292919091169085908a906004016115ba565b600060405180830381600087803b158015610f1c57600080fd5b505af1158015610f30573d6000803e3d6000fd5b505050508773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a58a8a8989604051610fae949392919061151d565b60405180910390a450505050505050505050565b6000610fcd836110cf565b8015610fde5750610fde8383611134565b9392505050565b600054610100900460ff1661107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161029a565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b60006110fb827f01ffc9a700000000000000000000000000000000000000000000000000000000611134565b801561112e575061112c827fffffffff00000000000000000000000000000000000000000000000000000000611134565b155b92915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156111ec575060208210155b80156111f85750600081115b979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461122557600080fd5b50565b803563ffffffff8116811461123c57600080fd5b919050565b60008083601f84011261125357600080fd5b50813567ffffffffffffffff81111561126b57600080fd5b60208301915083602082850101111561128357600080fd5b9250929050565b60008060008060008060a087890312156112a357600080fd5b86356112ae81611203565b955060208701356112be81611203565b9450604087013593506112d360608801611228565b9250608087013567ffffffffffffffff8111156112ef57600080fd5b6112fb89828a01611241565b979a9699509497509295939492505050565b6000815180845260005b8181101561133357602081850181015186830182015201611317565b81811115611345576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610fde602083018461130d565b600080600080600080600060c0888a0312156113a657600080fd5b87356113b181611203565b965060208801356113c181611203565b955060408801356113d181611203565b945060608801356113e181611203565b93506080880135925060a088013567ffffffffffffffff81111561140457600080fd5b6114108a828b01611241565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561143e57600080fd5b873561144981611203565b9650602088013561145981611203565b9550604088013561146981611203565b94506060880135935061147e60808901611228565b925060a088013567ffffffffffffffff81111561140457600080fd5b6000602082840312156114ac57600080fd5b8135610fde81611203565b6000602082840312156114c957600080fd5b8151610fde81611203565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006115536060830184866114d4565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a08301526115ad60c0830184866114d4565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006115e9606083018561130d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"1389:4507:144:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5688:971:219;;;;;;:::i;:::-;;:::i;:::-;;829:37;;;;;;;;;;;;1732:42:350;1720:55;;;1702:74;;1690:2;1675:18;829:37:219;;;;;;;;1473:40:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4239:82:219:-;;;4286:4;2688:41:350;;2676:2;2661:18;4239:82:219;2548:187:350;2843:1275:144;;;;;;:::i;:::-;;:::i;3858:98:219:-;3938:11;;;;3858:98;;3511:99;3594:9;;;;3511:99;;7885:428;;;;;;:::i;:::-;;:::i;1813:263:144:-;;;;;;:::i;:::-;;:::i;967:33:219:-;;;;;;;;;5688:971;6472:10;1465:19:57;:23;6444:89:219;;;;;;;5483:2:350;6444:89:219;;;5465:21:350;5522:2;5502:18;;;5495:30;5561:34;5541:18;;;5534:62;5632:15;5612:18;;;5605:43;5665:19;;6444:89:219;;;;;;;;;6544:108;6566:11;6579:12;6593:10;6605;6617:8;6627:12;6641:10;;6544:21;:108::i;:::-;5688:971;;;;;;:::o;2843:1275:144:-;2669:9:219;;;;2647:10;:32;:92;;;;-1:-1:-1;2727:11:219;;;2683:9;:32;;;;;;;;2727:11;;;;;2683:9;;;;:30;;:32;;;;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;2647:92;2626:202;;;;;;;6153:2:350;2626:202:219;;;6135:21:350;6192:2;6172:18;;;6165:30;6231:34;6211:18;;;6204:62;6302:33;6282:18;;;6275:61;6353:19;;2626:202:219;5951:427:350;2626:202:219;3129:4:144::1;3106:28;::::0;::::1;::::0;3098:83:::1;;;::::0;::::1;::::0;;6585:2:350;3098:83:144::1;::::0;::::1;6567:21:350::0;6624:2;6604:18;;;6597:30;6663:34;6643:18;;;6636:62;6734:12;6714:18;;;6707:40;6764:19;;3098:83:144::1;6383:406:350::0;3098:83:144::1;3331:87;3363:11;3376:41;3331:31;:87::i;:::-;3310:188;;;::::0;::::1;::::0;;6996:2:350;3310:188:144::1;::::0;::::1;6978:21:350::0;7035:2;7015:18;;;7008:30;7074:34;7054:18;;;7047:62;7145:24;7125:18;;;7118:52;7187:19;;3310:188:144::1;6794:418:350::0;3310:188:144::1;3570:11;3546:48;;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3530:66;;:12;:66;;;3509:188;;;::::0;::::1;::::0;;7419:2:350;3509:188:144::1;::::0;::::1;7401:21:350::0;7458:2;7438:18;;;7431:30;7497:34;7477:18;;;7470:62;7568:34;7548:18;;;7541:62;7640:13;7619:19;;;7612:42;7671:19;;3509:188:144::1;7217:479:350::0;3509:188:144::1;3898:60;::::0;;;;:45:::1;7893:55:350::0;;;3898:60:144::1;::::0;::::1;7875:74:350::0;7965:18;;;7958:34;;;3898:45:144;::::1;::::0;::::1;::::0;7848:18:350;;3898:60:144::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4078:5;4029:82;;4064:12;4029:82;;4051:11;4029:82;;;4085:3;4090:8;4100:10;;4029:82;;;;;;;;;:::i;:::-;;;;;;;;2843:1275:::0;;;;;;;:::o;7885:428:219:-;8124:17;;;8116:78;;;;;;;8975:2:350;8116:78:219;;;8957:21:350;9014:2;8994:18;;;8987:30;9053:34;9033:18;;;9026:62;9124:18;9104;;;9097:46;9160:19;;8116:78:219;8773:412:350;8116:78:219;8205:101;8227:11;8240:12;8254:10;8266:3;8271:8;8281:12;8295:10;;8205:21;:101::i;:::-;7885:428;;;;;;;:::o;1813:263:144:-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;9392:2:350;3146:190:41;;;9374:21:350;9431:2;9411:18;;;9404:30;9470:34;9450:18;;;9443:62;9541:16;9521:18;;;9514:44;9575:19;;3146:190:41;9190:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;1895:174:144::1;480:42:194;2042:15:144;1895:19;:174::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;9757:36:350;;3531:14:41;;9745:2:350;9730:18;3531:14:41;;;;;;;3457:99;3090:472;1813:263:144;:::o;1175:320:57:-;1465:19;;;:23;;;1175:320::o;4157:1737:144:-;4443:26;;;4435:88;;;;;;;10006:2:350;4435:88:144;;;9988:21:350;10045:2;10025:18;;;10018:30;10084:34;10064:18;;;10057:62;10155:19;10135:18;;;10128:47;10192:19;;4435:88:144;9804:413:350;4435:88:144;4637:54;;;;;;;;10368:25:350;;;4637:44:144;;;;;;10341:18:350;;4637:54:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4628:63;;:5;:63;;;4607:172;;;;;;;10606:2:350;4607:172:144;;;10588:21:350;10645:2;10625:18;;;10618:30;10684:34;10664:18;;;10657:62;10755:32;10735:18;;;10728:60;10805:19;;4607:172:144;10404:426:350;4607:172:144;4930:19;4976:11;4952:48;;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4930:72;;5035:12;5020:27;;:11;:27;;;5012:95;;;;;;;11037:2:350;5012:95:144;;;11019:21:350;11076:2;11056:18;;;11049:30;11115:34;11095:18;;;11088:62;11186:25;11166:18;;;11159:53;11229:19;;5012:95:144;10835:419:350;5012:95:144;5287:58;;;;;:41;7893:55:350;;;5287:58:144;;;7875:74:350;7965:18;;;7958:34;;;5287:41:144;;;;;7848:18:350;;5287:58:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5356:20;5415:44;;;5461:11;5474;5487:5;5494:3;5499:8;5509:10;;5379:150;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5632:9;;5673:11;;5632:103;;;;;5379:150;;-1:-1:-1;5632:9:144;;;;;:21;;:103;;5673:11;;;;;5379:150;;5720:12;;5632:103;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5854:5;5806:81;;5841:11;5806:81;;5828:11;5806:81;;;5861:3;5866:8;5876:10;;5806:81;;;;;;;;;:::i;:::-;;;;;;;;4425:1469;;4157:1737;;;;;;;;:::o;1333:274:65:-;1420:4;1527:23;1542:7;1527:14;:23::i;:::-;:73;;;;;1554:46;1579:7;1588:11;1554:24;:46::i;:::-;1520:80;1333:274;-1:-1:-1;;;1333:274:65:o;3043:234:219:-;4888:13:41;;;;;;;4880:69;;;;;;;12595:2:350;4880:69:41;;;12577:21:350;12634:2;12614:18;;;12607:30;12673:34;12653:18;;;12646:62;12744:13;12724:18;;;12717:41;12775:19;;4880:69:41;12393:407:350;4880:69:41;3212:9:219::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;704:411:65:-;768:4;975:60;1000:7;1009:25;975:24;:60::i;:::-;:133;;;;-1:-1:-1;1052:56:65;1077:7;1086:21;1052:24;:56::i;:::-;1051:57;975:133;956:152;704:411;-1:-1:-1;;704:411:65:o;4223:638::-;4385:71;;;12979:66:350;12967:79;;4385:71:65;;;;12949:98:350;;;;4385:71:65;;;;;;;;;;12922:18:350;;;;4385:71:65;;;;;;;;;;;4408:34;4385:71;;;4664:20;;4316:4;;4385:71;4316:4;;;;;;4385:71;4316:4;;4664:20;4629:7;4622:5;4611:86;4600:97;;4724:16;4710:30;;4774:4;4768:11;4753:26;;4806:7;:29;;;;;4831:4;4817:10;:18;;4806:29;:48;;;;;4853:1;4839:11;:15;4806:48;4799:55;4223:638;-1:-1:-1;;;;;;;4223:638:65:o;14:154:350:-;100:42;93:5;89:54;82:5;79:65;69:93;;158:1;155;148:12;69:93;14:154;:::o;173:163::-;240:20;;300:10;289:22;;279:33;;269:61;;326:1;323;316:12;269:61;173:163;;;:::o;341:347::-;392:8;402:6;456:3;449:4;441:6;437:17;433:27;423:55;;474:1;471;464:12;423:55;-1:-1:-1;497:20:350;;540:18;529:30;;526:50;;;572:1;569;562:12;526:50;609:4;601:6;597:17;585:29;;661:3;654:4;645:6;637;633:19;629:30;626:39;623:59;;;678:1;675;668:12;623:59;341:347;;;;;:::o;693:827::-;798:6;806;814;822;830;838;891:3;879:9;870:7;866:23;862:33;859:53;;;908:1;905;898:12;859:53;947:9;934:23;966:31;991:5;966:31;:::i;:::-;1016:5;-1:-1:-1;1073:2:350;1058:18;;1045:32;1086:33;1045:32;1086:33;:::i;:::-;1138:7;-1:-1:-1;1192:2:350;1177:18;;1164:32;;-1:-1:-1;1215:37:350;1248:2;1233:18;;1215:37;:::i;:::-;1205:47;;1303:3;1292:9;1288:19;1275:33;1331:18;1323:6;1320:30;1317:50;;;1363:1;1360;1353:12;1317:50;1402:58;1452:7;1443:6;1432:9;1428:22;1402:58;:::i;:::-;693:827;;;;-1:-1:-1;693:827:350;;-1:-1:-1;693:827:350;;1479:8;;693:827;-1:-1:-1;;;693:827:350:o;1787:531::-;1829:3;1867:5;1861:12;1894:6;1889:3;1882:19;1919:1;1929:162;1943:6;1940:1;1937:13;1929:162;;;2005:4;2061:13;;;2057:22;;2051:29;2033:11;;;2029:20;;2022:59;1958:12;1929:162;;;2109:6;2106:1;2103:13;2100:87;;;2175:1;2168:4;2159:6;2154:3;2150:16;2146:27;2139:38;2100:87;-1:-1:-1;2232:2:350;2220:15;2237:66;2216:88;2207:98;;;;2307:4;2203:109;;1787:531;-1:-1:-1;;1787:531:350:o;2323:220::-;2472:2;2461:9;2454:21;2435:4;2492:45;2533:2;2522:9;2518:18;2510:6;2492:45;:::i;2740:1038::-;2855:6;2863;2871;2879;2887;2895;2903;2956:3;2944:9;2935:7;2931:23;2927:33;2924:53;;;2973:1;2970;2963:12;2924:53;3012:9;2999:23;3031:31;3056:5;3031:31;:::i;:::-;3081:5;-1:-1:-1;3138:2:350;3123:18;;3110:32;3151:33;3110:32;3151:33;:::i;:::-;3203:7;-1:-1:-1;3262:2:350;3247:18;;3234:32;3275:33;3234:32;3275:33;:::i;:::-;3327:7;-1:-1:-1;3386:2:350;3371:18;;3358:32;3399:33;3358:32;3399:33;:::i;:::-;3451:7;-1:-1:-1;3505:3:350;3490:19;;3477:33;;-1:-1:-1;3561:3:350;3546:19;;3533:33;3589:18;3578:30;;3575:50;;;3621:1;3618;3611:12;3575:50;3660:58;3710:7;3701:6;3690:9;3686:22;3660:58;:::i;:::-;2740:1038;;;;-1:-1:-1;2740:1038:350;;-1:-1:-1;2740:1038:350;;;;3634:84;;-1:-1:-1;;;2740:1038:350:o;4047:969::-;4161:6;4169;4177;4185;4193;4201;4209;4262:3;4250:9;4241:7;4237:23;4233:33;4230:53;;;4279:1;4276;4269:12;4230:53;4318:9;4305:23;4337:31;4362:5;4337:31;:::i;:::-;4387:5;-1:-1:-1;4444:2:350;4429:18;;4416:32;4457:33;4416:32;4457:33;:::i;:::-;4509:7;-1:-1:-1;4568:2:350;4553:18;;4540:32;4581:33;4540:32;4581:33;:::i;:::-;4633:7;-1:-1:-1;4687:2:350;4672:18;;4659:32;;-1:-1:-1;4710:38:350;4743:3;4728:19;;4710:38;:::i;:::-;4700:48;;4799:3;4788:9;4784:19;4771:33;4827:18;4819:6;4816:30;4813:50;;;4859:1;4856;4849:12;5021:255;5088:6;5141:2;5129:9;5120:7;5116:23;5112:32;5109:52;;;5157:1;5154;5147:12;5109:52;5196:9;5183:23;5215:31;5240:5;5215:31;:::i;5695:251::-;5765:6;5818:2;5806:9;5797:7;5793:23;5789:32;5786:52;;;5834:1;5831;5824:12;5786:52;5866:9;5860:16;5885:31;5910:5;5885:31;:::i;8003:325::-;8091:6;8086:3;8079:19;8143:6;8136:5;8129:4;8124:3;8120:14;8107:43;;8195:1;8188:4;8179:6;8174:3;8170:16;8166:27;8159:38;8061:3;8317:4;8247:66;8242:2;8234:6;8230:15;8226:88;8221:3;8217:98;8213:109;8206:116;;8003:325;;;;:::o;8333:435::-;8558:42;8550:6;8546:55;8535:9;8528:74;8638:6;8633:2;8622:9;8618:18;8611:34;8681:2;8676;8665:9;8661:18;8654:30;8509:4;8701:61;8758:2;8747:9;8743:18;8735:6;8727;8701:61;:::i;:::-;8693:69;8333:435;-1:-1:-1;;;;;;8333:435:350:o;11259:700::-;11519:4;11548:42;11629:2;11621:6;11617:15;11606:9;11599:34;11681:2;11673:6;11669:15;11664:2;11653:9;11649:18;11642:43;11733:2;11725:6;11721:15;11716:2;11705:9;11701:18;11694:43;11785:2;11777:6;11773:15;11768:2;11757:9;11753:18;11746:43;;11826:6;11820:3;11809:9;11805:19;11798:35;11870:3;11864;11853:9;11849:19;11842:32;11891:62;11948:3;11937:9;11933:19;11925:6;11917;11891:62;:::i;:::-;11883:70;11259:700;-1:-1:-1;;;;;;;;;11259:700:350:o;11964:424::-;12177:42;12169:6;12165:55;12154:9;12147:74;12257:2;12252;12241:9;12237:18;12230:30;12128:4;12277:45;12318:2;12307:9;12303:18;12295:6;12277:45;:::i;:::-;12269:53;;12370:10;12362:6;12358:23;12353:2;12342:9;12338:18;12331:51;11964:424;;;;;;:::o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC721(address,address,uint256,uint32,bytes)":"3687011a","bridgeERC721To(address,address,address,uint256,uint32,bytes)":"aa557452","finalizeBridgeERC721(address,address,address,address,uint256,bytes)":"761f4493","initialize(address)":"c4d66de8","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_l1ERC721Bridge","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_tokenId":"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_to":"Address to receive the token on the other domain.","_tokenId":"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"params":{"_extraData":"Optional data to forward to L1. Data supplied here will not be used to execute any code on L1 and is only emitted as extra data for the convenience of off-chain tooling.","_from":"Address that triggered the bridge on the other domain.","_localToken":"Address of the ERC721 token on this domain.","_remoteToken":"Address of the ERC721 token on the other domain.","_to":"Address to receive the token on this domain.","_tokenId":"ID of the token being deposited."}},"initialize(address)":{"params":{"_l1ERC721Bridge":"Address of the ERC721 bridge contract on the other network."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}}},"stateVariables":{"version":{"custom:semver":"1.7.0"}},"title":"L2ERC721Bridge","version":1},"userdoc":{"events":{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge to the other network is initiated."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{"notice":"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to the caller\'s account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to some recipient\'s account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"constructor":{"notice":"Constructs the L2ERC721Bridge contract."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"notice":"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address)":{"notice":"Initializes the contract."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Contract of the bridge on the other network."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},"notice":"The L2 ERC721 bridge is a contract which works together with the L1 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as a minter for new tokens when it hears about deposits into the L1 ERC721 bridge. This contract also acts as a burner for tokens being withdrawn. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge ONLY supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2.","version":1}},"settings":{"compilationTarget":{"src/L2/L2ERC721Bridge.sol":"L2ERC721Bridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{"keccak256":"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f","license":"MIT","urls":["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"]},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{"keccak256":"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf","license":"MIT","urls":["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1ERC721Bridge.sol":{"keccak256":"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd","license":"MIT","urls":["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L2/L2ERC721Bridge.sol":{"keccak256":"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9","license":"MIT","urls":["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/ERC721Bridge.sol":{"keccak256":"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f","license":"MIT","urls":["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/IOptimismMintableERC721.sol":{"keccak256":"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52","license":"MIT","urls":["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90","license":"MIT","urls":["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeInitiated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721To"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC721"},{inputs:[{internalType:"address payable",name:"_l1ERC721Bridge",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L1. Data supplied here will not be used to execute any code on L1 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address)":{params:{_l1ERC721Bridge:"Address of the ERC721 bridge contract on the other network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L2ERC721Bridge contract."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2ERC721Bridge.sol":"L2ERC721Bridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{keccak256:"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f",urls:["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{keccak256:"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf",urls:["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1ERC721Bridge.sol":{keccak256:"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd",urls:["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L2/L2ERC721Bridge.sol":{keccak256:"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9",urls:["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/ERC721Bridge.sol":{keccak256:"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f",urls:["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/IOptimismMintableERC721.sol":{keccak256:"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52",urls:["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90",urls:["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:105516,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:105520,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"messenger",offset:0,slot:"1",type:"t_contract(CrossDomainMessenger)105498"},{astId:105524,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"otherBridge",offset:0,slot:"2",type:"t_contract(StandardBridge)108285"},{astId:105529,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"__gap",offset:0,slot:"3",type:"t_array(t_uint256)46_storage"}],types:{"t_array(t_uint256)46_storage":{encoding:"inplace",label:"uint256[46]",numberOfBytes:"1472",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)108285":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L2ERC721Bridge contract."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},events:{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge to the other network is initiated."}},notice:"The L2 ERC721 bridge is a contract which works together with the L1 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as a minter for new tokens when it hears about deposits into the L1 ERC721 bridge. This contract also acts as a burner for tokens being withdrawn. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge ONLY supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L1. Data supplied here will not be used to execute any code on L1 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address)":{params:{_l1ERC721Bridge:"Address of the ERC721 bridge contract on the other network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},title:"L2ERC721Bridge"},id:144}});var qKe=D((t6a,OHt)=>{OHt.exports={abi:[{type:"function",name:"DEPOSITOR_ACCOUNT",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"baseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"basefee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"batcherHash",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"blobBaseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"blobBaseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"hash",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"l1FeeOverhead",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"l1FeeScalar",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"number",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"sequenceNumber",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"setL1BlockValues",inputs:[{name:"_number",type:"uint64",internalType:"uint64"},{name:"_timestamp",type:"uint64",internalType:"uint64"},{name:"_basefee",type:"uint256",internalType:"uint256"},{name:"_hash",type:"bytes32",internalType:"bytes32"},{name:"_sequenceNumber",type:"uint64",internalType:"uint64"},{name:"_batcherHash",type:"bytes32",internalType:"bytes32"},{name:"_l1FeeOverhead",type:"uint256",internalType:"uint256"},{name:"_l1FeeScalar",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setL1BlockValuesEcotone",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"timestamp",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}],bytecode:{object:"0x608060405234801561001057600080fd5b5061053e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638381f58a11610097578063c598591811610066578063c598591814610229578063e591b28214610249578063e81b2c6d14610289578063f82061401461029257600080fd5b80638381f58a146101e35780638b239f73146101f75780639e8c496614610200578063b80777ea1461020957600080fd5b806354fd4d50116100d357806354fd4d50146101335780635cf249691461017c57806364ca23ef1461018557806368d5dca6146101b257600080fd5b8063015d8eb9146100fa57806309bd5a601461010f578063440a5e201461012b575b600080fd5b61010d61010836600461044c565b61029b565b005b61011860025481565b6040519081526020015b60405180910390f35b61010d6103da565b61016f6040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161012291906104be565b61011860015481565b6003546101999067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610122565b6003546101ce9068010000000000000000900463ffffffff1681565b60405163ffffffff9091168152602001610122565b6000546101999067ffffffffffffffff1681565b61011860055481565b61011860065481565b6000546101999068010000000000000000900467ffffffffffffffff1681565b6003546101ce906c01000000000000000000000000900463ffffffff1681565b61026473deaddeaddeaddeaddeaddeaddeaddeaddead000181565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610122565b61011860045481565b61011860075481565b3373deaddeaddeaddeaddeaddeaddeaddeaddead000114610342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4c31426c6f636b3a206f6e6c7920746865206465706f7369746f72206163636f60448201527f756e742063616e20736574204c3120626c6f636b2076616c7565730000000000606482015260840160405180910390fd5b6000805467ffffffffffffffff98891668010000000000000000027fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116998916999099179890981790975560019490945560029290925560038054919094167fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009190911617909255600491909155600555600655565b3373deaddeaddeaddeaddeaddeaddeaddeaddead00011461040357633cc50b456000526004601cfd5b60043560801c60035560143560801c600055602435600155604435600755606435600255608435600455565b803567ffffffffffffffff8116811461044757600080fd5b919050565b600080600080600080600080610100898b03121561046957600080fd5b6104728961042f565b975061048060208a0161042f565b9650604089013595506060890135945061049c60808a0161042f565b979a969950949793969560a0850135955060c08501359460e001359350915050565b600060208083528351808285015260005b818110156104eb578581018301518582016040015282016104cf565b818111156104fd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea164736f6c634300080f000a",sourceMap:"588:4256:141:-:0;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80638381f58a11610097578063c598591811610066578063c598591814610229578063e591b28214610249578063e81b2c6d14610289578063f82061401461029257600080fd5b80638381f58a146101e35780638b239f73146101f75780639e8c496614610200578063b80777ea1461020957600080fd5b806354fd4d50116100d357806354fd4d50146101335780635cf249691461017c57806364ca23ef1461018557806368d5dca6146101b257600080fd5b8063015d8eb9146100fa57806309bd5a601461010f578063440a5e201461012b575b600080fd5b61010d61010836600461044c565b61029b565b005b61011860025481565b6040519081526020015b60405180910390f35b61010d6103da565b61016f6040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161012291906104be565b61011860015481565b6003546101999067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610122565b6003546101ce9068010000000000000000900463ffffffff1681565b60405163ffffffff9091168152602001610122565b6000546101999067ffffffffffffffff1681565b61011860055481565b61011860065481565b6000546101999068010000000000000000900467ffffffffffffffff1681565b6003546101ce906c01000000000000000000000000900463ffffffff1681565b61026473deaddeaddeaddeaddeaddeaddeaddeaddead000181565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610122565b61011860045481565b61011860075481565b3373deaddeaddeaddeaddeaddeaddeaddeaddead000114610342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4c31426c6f636b3a206f6e6c7920746865206465706f7369746f72206163636f60448201527f756e742063616e20736574204c3120626c6f636b2076616c7565730000000000606482015260840160405180910390fd5b6000805467ffffffffffffffff98891668010000000000000000027fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116998916999099179890981790975560019490945560029290925560038054919094167fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009190911617909255600491909155600555600655565b3373deaddeaddeaddeaddeaddeaddeaddeaddead00011461040357633cc50b456000526004601cfd5b60043560801c60035560143560801c600055602435600155604435600755606435600255608435600455565b803567ffffffffffffffff8116811461044757600080fd5b919050565b600080600080600080600080610100898b03121561046957600080fd5b6104728961042f565b975061048060208a0161042f565b9650604089013595506060890135945061049c60808a0161042f565b979a969950949793969560a0850135955060c08501359460e001359350915050565b600060208083528351808285015260005b818110156104eb578581018301518582016040015282016104cf565b818111156104fd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea164736f6c634300080f000a",sourceMap:"588:4256:141:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2494:660;;;;;;:::i;:::-;;:::i;:::-;;1071:19;;;;;;;;;1014:25:350;;;1002:2;987:18;1071:19:141;;;;;;;;3886:956;;;:::i;1961:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1001:22::-;;;;;;1156:28;;;;;;;;;;;;2067:18:350;2055:31;;;2037:50;;2025:2;2010:18;1156:28:141;1893:200:350;1298:31:141;;;;;;;;;;;;;;;2272:10:350;2260:23;;;2242:42;;2230:2;2215:18;1298:31:141;2098:192:350;840:20:141;;;;;;;;;1680:28;;;;;;1821:26;;;;;;931:23;;;;;;;;;;;;1438:27;;;;;;;;;;;;680:86;;724:42;680:86;;;;;2471:42:350;2459:55;;;2441:74;;2429:2;2414:18;680:86:141;2295:226:350;1539:26:141;;;;;;1899;;;;;;2494:660;2789:10;724:42;2789:31;2781:103;;;;;;;2728:2:350;2781:103:141;;;2710:21:350;2767:2;2747:18;;;2740:30;2806:34;2786:18;;;2779:62;2877:29;2857:18;;;2850:57;2924:19;;2781:103:141;;;;;;;;2895:6;:16;;;2921:22;;;;;;;;;2895:16;;;2921:22;;;;;;;;;;;2895:16;2953:18;;;;2981:4;:12;;;;3003:14;:32;;;;;;2895:16;3003:32;;;;;;;;3045:11;:26;;;;3081:13;:30;3121:11;:26;2494:660::o;3886:956::-;4036:8;4046:17;4029:233;;;4096:10;4090:4;4083:24;4194:4;4188;4181:18;4029:233;4453:1;4440:15;4435:3;4431:25;4410:19;4403:54;4566:2;4553:16;4548:3;4544:26;4531:11;4524:47;4618:2;4605:16;4591:12;4584:38;4684:2;4671:16;4653;4646:42;4743:3;4730:17;4719:9;4712:36;4810:3;4797:17;4779:16;4772:43;3886:956::o;14:171:350:-;81:20;;141:18;130:30;;120:41;;110:69;;175:1;172;165:12;110:69;14:171;;;:::o;190:673::-;309:6;317;325;333;341;349;357;365;418:3;406:9;397:7;393:23;389:33;386:53;;;435:1;432;425:12;386:53;458:28;476:9;458:28;:::i;:::-;448:38;;505:37;538:2;527:9;523:18;505:37;:::i;:::-;495:47;;589:2;578:9;574:18;561:32;551:42;;640:2;629:9;625:18;612:32;602:42;;663:38;696:3;685:9;681:19;663:38;:::i;:::-;190:673;;;;-1:-1:-1;190:673:350;;;;653:48;748:3;733:19;;720:33;;-1:-1:-1;800:3:350;785:19;;772:33;;852:3;837:19;824:33;;-1:-1:-1;190:673:350;-1:-1:-1;;190:673:350:o;1050:656::-;1162:4;1191:2;1220;1209:9;1202:21;1252:6;1246:13;1295:6;1290:2;1279:9;1275:18;1268:34;1320:1;1330:140;1344:6;1341:1;1338:13;1330:140;;;1439:14;;;1435:23;;1429:30;1405:17;;;1424:2;1401:26;1394:66;1359:10;;1330:140;;;1488:6;1485:1;1482:13;1479:91;;;1558:1;1553:2;1544:6;1533:9;1529:22;1525:31;1518:42;1479:91;-1:-1:-1;1622:2:350;1610:15;1627:66;1606:88;1591:104;;;;1697:2;1587:113;;1050:656;-1:-1:-1;;;1050:656:350:o",linkReferences:{}},methodIdentifiers:{"DEPOSITOR_ACCOUNT()":"e591b282","baseFeeScalar()":"c5985918","basefee()":"5cf24969","batcherHash()":"e81b2c6d","blobBaseFee()":"f8206140","blobBaseFeeScalar()":"68d5dca6","hash()":"09bd5a60","l1FeeOverhead()":"8b239f73","l1FeeScalar()":"9e8c4966","number()":"8381f58a","sequenceNumber()":"64ca23ef","setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":"015d8eb9","setL1BlockValuesEcotone()":"440a5e20","timestamp()":"b80777ea","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"name":"DEPOSITOR_ACCOUNT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"basefee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"batcherHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l1FeeOverhead","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l1FeeScalar","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"number","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sequenceNumber","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_number","type":"uint64"},{"internalType":"uint64","name":"_timestamp","type":"uint64"},{"internalType":"uint256","name":"_basefee","type":"uint256"},{"internalType":"bytes32","name":"_hash","type":"bytes32"},{"internalType":"uint64","name":"_sequenceNumber","type":"uint64"},{"internalType":"bytes32","name":"_batcherHash","type":"bytes32"},{"internalType":"uint256","name":"_l1FeeOverhead","type":"uint256"},{"internalType":"uint256","name":"_l1FeeScalar","type":"uint256"}],"name":"setL1BlockValues","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setL1BlockValuesEcotone","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"timestamp","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000015","kind":"dev","methods":{"setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":{"custom:legacy":"@notice Updates the L1 block values.","params":{"_basefee":"L1 basefee.","_batcherHash":"Versioned hash to authenticate batcher by.","_hash":"L1 blockhash.","_l1FeeOverhead":"L1 fee overhead.","_l1FeeScalar":"L1 fee scalar.","_number":"L1 blocknumber.","_sequenceNumber":"Number of L2 blocks since epoch start.","_timestamp":"L1 timestamp."}}},"stateVariables":{"l1FeeOverhead":{"custom:legacy":""},"l1FeeScalar":{"custom:legacy":""},"version":{"custom:semver":"1.2.0"}},"title":"L1Block","version":1},"userdoc":{"kind":"user","methods":{"DEPOSITOR_ACCOUNT()":{"notice":"Address of the special depositor account."},"baseFeeScalar()":{"notice":"The scalar value applied to the L1 base fee portion of the blob-capable L1 cost func."},"basefee()":{"notice":"The latest L1 base fee."},"batcherHash()":{"notice":"The versioned hash to authenticate the batcher by."},"blobBaseFee()":{"notice":"The latest L1 blob base fee."},"blobBaseFeeScalar()":{"notice":"The scalar value applied to the L1 blob base fee portion of the blob-capable L1 cost func."},"hash()":{"notice":"The latest L1 blockhash."},"l1FeeOverhead()":{"notice":"The overhead value applied to the L1 portion of the transaction fee."},"l1FeeScalar()":{"notice":"The scalar value applied to the L1 portion of the transaction fee."},"number()":{"notice":"The latest L1 block number known by the L2 system."},"sequenceNumber()":{"notice":"The number of L2 blocks in the same epoch."},"setL1BlockValuesEcotone()":{"notice":"Updates the L1 block values for an Ecotone upgraded chain. Params are packed and passed in as raw msg.data instead of ABI to reduce calldata size. Params are expected to be in the following order: 1. _baseFeeScalar L1 base fee scalar 2. _blobBaseFeeScalar L1 blob base fee scalar 3. _sequenceNumber Number of L2 blocks since epoch start. 4. _timestamp L1 timestamp. 5. _number L1 blocknumber. 6. _basefee L1 base fee. 7. _blobBaseFee L1 blob base fee. 8. _hash L1 blockhash. 9. _batcherHash Versioned hash to authenticate batcher by."},"timestamp()":{"notice":"The latest L1 timestamp known by the L2 system."}},"notice":"The L1Block predeploy gives users access to information about the last known L1 block. Values within this contract are updated once per epoch (every L1 block) and can only be set by the \\"depositor\\" account, a special system address. Depositor account transactions are created by the protocol whenever we move to a new epoch.","version":1}},"settings":{"compilationTarget":{"src/L2/L1Block.sol":"L1Block"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"src/L2/L1Block.sol":{"keccak256":"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6","license":"MIT","urls":["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"view",type:"function",name:"DEPOSITOR_ACCOUNT",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"baseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"basefee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"batcherHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"hash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1FeeOverhead",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1FeeScalar",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"number",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"sequenceNumber",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"uint64",name:"_number",type:"uint64"},{internalType:"uint64",name:"_timestamp",type:"uint64"},{internalType:"uint256",name:"_basefee",type:"uint256"},{internalType:"bytes32",name:"_hash",type:"bytes32"},{internalType:"uint64",name:"_sequenceNumber",type:"uint64"},{internalType:"bytes32",name:"_batcherHash",type:"bytes32"},{internalType:"uint256",name:"_l1FeeOverhead",type:"uint256"},{internalType:"uint256",name:"_l1FeeScalar",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"setL1BlockValues"},{inputs:[],stateMutability:"nonpayable",type:"function",name:"setL1BlockValuesEcotone"},{inputs:[],stateMutability:"view",type:"function",name:"timestamp",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":{"custom:legacy":"@notice Updates the L1 block values.",params:{_basefee:"L1 basefee.",_batcherHash:"Versioned hash to authenticate batcher by.",_hash:"L1 blockhash.",_l1FeeOverhead:"L1 fee overhead.",_l1FeeScalar:"L1 fee scalar.",_number:"L1 blocknumber.",_sequenceNumber:"Number of L2 blocks since epoch start.",_timestamp:"L1 timestamp."}}},version:1},userdoc:{kind:"user",methods:{"DEPOSITOR_ACCOUNT()":{notice:"Address of the special depositor account."},"baseFeeScalar()":{notice:"The scalar value applied to the L1 base fee portion of the blob-capable L1 cost func."},"basefee()":{notice:"The latest L1 base fee."},"batcherHash()":{notice:"The versioned hash to authenticate the batcher by."},"blobBaseFee()":{notice:"The latest L1 blob base fee."},"blobBaseFeeScalar()":{notice:"The scalar value applied to the L1 blob base fee portion of the blob-capable L1 cost func."},"hash()":{notice:"The latest L1 blockhash."},"l1FeeOverhead()":{notice:"The overhead value applied to the L1 portion of the transaction fee."},"l1FeeScalar()":{notice:"The scalar value applied to the L1 portion of the transaction fee."},"number()":{notice:"The latest L1 block number known by the L2 system."},"sequenceNumber()":{notice:"The number of L2 blocks in the same epoch."},"setL1BlockValuesEcotone()":{notice:"Updates the L1 block values for an Ecotone upgraded chain. Params are packed and passed in as raw msg.data instead of ABI to reduce calldata size. Params are expected to be in the following order: 1. _baseFeeScalar L1 base fee scalar 2. _blobBaseFeeScalar L1 blob base fee scalar 3. _sequenceNumber Number of L2 blocks since epoch start. 4. _timestamp L1 timestamp. 5. _number L1 blocknumber. 6. _basefee L1 base fee. 7. _blobBaseFee L1 blob base fee. 8. _hash L1 blockhash. 9. _batcherHash Versioned hash to authenticate batcher by."},"timestamp()":{notice:"The latest L1 timestamp known by the L2 system."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L1Block.sol":"L1Block"},evmVersion:"london",libraries:{}},sources:{"src/L2/L1Block.sol":{keccak256:"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6",urls:["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:87271,contract:"src/L2/L1Block.sol:L1Block",label:"number",offset:0,slot:"0",type:"t_uint64"},{astId:87274,contract:"src/L2/L1Block.sol:L1Block",label:"timestamp",offset:8,slot:"0",type:"t_uint64"},{astId:87277,contract:"src/L2/L1Block.sol:L1Block",label:"basefee",offset:0,slot:"1",type:"t_uint256"},{astId:87280,contract:"src/L2/L1Block.sol:L1Block",label:"hash",offset:0,slot:"2",type:"t_bytes32"},{astId:87283,contract:"src/L2/L1Block.sol:L1Block",label:"sequenceNumber",offset:0,slot:"3",type:"t_uint64"},{astId:87286,contract:"src/L2/L1Block.sol:L1Block",label:"blobBaseFeeScalar",offset:8,slot:"3",type:"t_uint32"},{astId:87289,contract:"src/L2/L1Block.sol:L1Block",label:"baseFeeScalar",offset:12,slot:"3",type:"t_uint32"},{astId:87292,contract:"src/L2/L1Block.sol:L1Block",label:"batcherHash",offset:0,slot:"4",type:"t_bytes32"},{astId:87295,contract:"src/L2/L1Block.sol:L1Block",label:"l1FeeOverhead",offset:0,slot:"5",type:"t_uint256"},{astId:87298,contract:"src/L2/L1Block.sol:L1Block",label:"l1FeeScalar",offset:0,slot:"6",type:"t_uint256"},{astId:87301,contract:"src/L2/L1Block.sol:L1Block",label:"blobBaseFee",offset:0,slot:"7",type:"t_uint256"}],types:{t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint32:{encoding:"inplace",label:"uint32",numberOfBytes:"4"},t_uint64:{encoding:"inplace",label:"uint64",numberOfBytes:"8"}}},userdoc:{version:1,kind:"user",methods:{"DEPOSITOR_ACCOUNT()":{notice:"Address of the special depositor account."},"baseFeeScalar()":{notice:"The scalar value applied to the L1 base fee portion of the blob-capable L1 cost func."},"basefee()":{notice:"The latest L1 base fee."},"batcherHash()":{notice:"The versioned hash to authenticate the batcher by."},"blobBaseFee()":{notice:"The latest L1 blob base fee."},"blobBaseFeeScalar()":{notice:"The scalar value applied to the L1 blob base fee portion of the blob-capable L1 cost func."},"hash()":{notice:"The latest L1 blockhash."},"l1FeeOverhead()":{notice:"The overhead value applied to the L1 portion of the transaction fee."},"l1FeeScalar()":{notice:"The scalar value applied to the L1 portion of the transaction fee."},"number()":{notice:"The latest L1 block number known by the L2 system."},"sequenceNumber()":{notice:"The number of L2 blocks in the same epoch."},"setL1BlockValuesEcotone()":{notice:"Updates the L1 block values for an Ecotone upgraded chain. Params are packed and passed in as raw msg.data instead of ABI to reduce calldata size. Params are expected to be in the following order: 1. _baseFeeScalar L1 base fee scalar 2. _blobBaseFeeScalar L1 blob base fee scalar 3. _sequenceNumber Number of L2 blocks since epoch start. 4. _timestamp L1 timestamp. 5. _number L1 blocknumber. 6. _basefee L1 base fee. 7. _blobBaseFee L1 blob base fee. 8. _hash L1 blockhash. 9. _batcherHash Versioned hash to authenticate batcher by."},"timestamp()":{notice:"The latest L1 timestamp known by the L2 system."}},notice:'The L1Block predeploy gives users access to information about the last known L1 block. Values within this contract are updated once per epoch (every L1 block) and can only be set by the "depositor" account, a special system address. Depositor account transactions are created by the protocol whenever we move to a new epoch.'},devdoc:{version:1,kind:"dev",methods:{"setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":{params:{_basefee:"L1 basefee.",_batcherHash:"Versioned hash to authenticate batcher by.",_hash:"L1 blockhash.",_l1FeeOverhead:"L1 fee overhead.",_l1FeeScalar:"L1 fee scalar.",_number:"L1 blocknumber.",_sequenceNumber:"Number of L2 blocks since epoch start.",_timestamp:"L1 timestamp."}}},title:"L1Block"},id:141}});var jKe=D((n6a,UHt)=>{UHt.exports={abi:[{type:"receive",stateMutability:"payable"},{type:"function",name:"MESSAGE_VERSION",inputs:[],outputs:[{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"initiateWithdrawal",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_gasLimit",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"messageNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"sentMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"MessagePassed",inputs:[{name:"nonce",type:"uint256",indexed:!0,internalType:"uint256"},{name:"sender",type:"address",indexed:!0,internalType:"address"},{name:"target",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"},{name:"gasLimit",type:"uint256",indexed:!1,internalType:"uint256"},{name:"data",type:"bytes",indexed:!1,internalType:"bytes"},{name:"withdrawalHash",type:"bytes32",indexed:!1,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"WithdrawerBalanceBurnt",inputs:[{name:"amount",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x608060405234801561001057600080fd5b506106d3806100206000396000f3fe6080604052600436106100695760003560e01c806382e3702d1161004357806382e3702d1461012a578063c2b3e5ac1461016a578063ecc704281461017d57600080fd5b80633f827a5a1461009257806344df8e70146100bf57806354fd4d50146100d457600080fd5b3661008d5761008b33620186a0604051806020016040528060008152506101e2565b005b600080fd5b34801561009e57600080fd5b506100a7600181565b60405161ffff90911681526020015b60405180910390f35b3480156100cb57600080fd5b5061008b6103a6565b3480156100e057600080fd5b5061011d6040518060400160405280600581526020017f312e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516100b691906104d1565b34801561013657600080fd5b5061015a6101453660046104eb565b60006020819052908152604090205460ff1681565b60405190151581526020016100b6565b61008b610178366004610533565b6101e2565b34801561018957600080fd5b506101d46001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016100b6565b60006102786040518060c0016040528061023c6001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b815233602082015273ffffffffffffffffffffffffffffffffffffffff871660408201523460608201526080810186905260a0018490526103de565b600081815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055905073ffffffffffffffffffffffffffffffffffffffff8416336103136001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b7f02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054348787876040516103489493929190610637565b60405180910390a45050600180547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8082168301167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b476103b08161042b565b60405181907f7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f90600090a250565b80516020808301516040808501516060860151608087015160a0880151935160009761040e979096959101610667565b604051602081830303815290604052805190602001209050919050565b806040516104389061045a565b6040518091039082f0905080158015610455573d6000803e3d6000fd5b505050565b6008806106bf83390190565b6000815180845260005b8181101561048c57602081850181015186830182015201610470565b8181111561049e576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104e46020830184610466565b9392505050565b6000602082840312156104fd57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060006060848603121561054857600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461056c57600080fd5b925060208401359150604084013567ffffffffffffffff8082111561059057600080fd5b818601915086601f8301126105a457600080fd5b8135818111156105b6576105b6610504565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156105fc576105fc610504565b8160405282815289602084870101111561061557600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b8481528360208201526080604082015260006106566080830185610466565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a08301526106b260c0830184610466565b9897505050505050505056fe608060405230fffea164736f6c634300080f000a",sourceMap:"722:3696:146:-:0;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106100695760003560e01c806382e3702d1161004357806382e3702d1461012a578063c2b3e5ac1461016a578063ecc704281461017d57600080fd5b80633f827a5a1461009257806344df8e70146100bf57806354fd4d50146100d457600080fd5b3661008d5761008b33620186a0604051806020016040528060008152506101e2565b005b600080fd5b34801561009e57600080fd5b506100a7600181565b60405161ffff90911681526020015b60405180910390f35b3480156100cb57600080fd5b5061008b6103a6565b3480156100e057600080fd5b5061011d6040518060400160405280600581526020017f312e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516100b691906104d1565b34801561013657600080fd5b5061015a6101453660046104eb565b60006020819052908152604090205460ff1681565b60405190151581526020016100b6565b61008b610178366004610533565b6101e2565b34801561018957600080fd5b506101d46001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016100b6565b60006102786040518060c0016040528061023c6001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b815233602082015273ffffffffffffffffffffffffffffffffffffffff871660408201523460608201526080810186905260a0018490526103de565b600081815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055905073ffffffffffffffffffffffffffffffffffffffff8416336103136001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b7f02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054348787876040516103489493929190610637565b60405180910390a45050600180547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8082168301167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b476103b08161042b565b60405181907f7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f90600090a250565b80516020808301516040808501516060860151608087015160a0880151935160009761040e979096959101610667565b604051602081830303815290604052805190602001209050919050565b806040516104389061045a565b6040518091039082f0905080158015610455573d6000803e3d6000fd5b505050565b6008806106bf83390190565b6000815180845260005b8181101561048c57602081850181015186830182015201610470565b8181111561049e576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104e46020830184610466565b9392505050565b6000602082840312156104fd57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060006060848603121561054857600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461056c57600080fd5b925060208401359150604084013567ffffffffffffffff8082111561059057600080fd5b818601915086601f8301126105a457600080fd5b8135818111156105b6576105b6610504565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156105fc576105fc610504565b8160405282815289602084870101111561061557600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b8481528360208201526080604082015260006106566080830185610466565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a08301526106b260c0830184610466565b9897505050505050505056fe608060405230fffea164736f6c634300080f000a",sourceMap:"722:3696:146:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2474:68;2493:10;911:7;2532:9;;;;;;;;;;;;2474:18;:68::i;:::-;722:3696;;;;;981:42;;;;;;;;;;;;1022:1;981:42;;;;;188:6:350;176:19;;;158:38;;146:2;131:18;981:42:146;;;;;;;;2915:154;;;;;;;;;;;;;:::i;2307:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1094:44::-;;;;;;;;;;-1:-1:-1;1094:44:146;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;1318:14:350;;1311:22;1293:41;;1281:2;1266:18;1094:44:146;1153:187:350;3311:650:146;;;;;;:::i;:::-;;:::i;4282:134::-;;;;;;;;;;;;4383:8;;;;4855:18:191;4852:30;;4282:134:146;;;;2930:25:350;;;2918:2;2903:18;4282:134:146;2784:177:350;3311:650:146;3420:22;3445:297;3481:251;;;;;;;;3534:14;4383:8;;;;4855:18:191;4852:30;;4282:134:146;3534:14;3481:251;;3574:10;3481:251;;;;;;;;;;;3642:9;3481:251;;;;;;;;;;;;;;;3445:22;:297::i;:::-;3753:12;:28;;;;;;;;;;:35;;;;3784:4;3753:35;;;3420:322;-1:-1:-1;3804:95:146;;;3834:10;3818:14;4383:8;;;;4855:18:191;4852:30;;4282:134:146;3818:14;3804:95;3855:9;3866;3877:5;3884:14;3804:95;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;3936:8:146;3934:10;;;;;;;;;;;;;;;;-1:-1:-1;;3311:650:146:o;2915:154::-;2968:21;2999:17;2968:21;2999:8;:17::i;:::-;3031:31;;3054:7;;3031:31;;;;;2940:129;2915:154::o;4456:211:192:-;4590:9;;4601:10;;;;;4613;;;;;4625:9;;;;4636:12;;;;4650:8;;;;4579:80;;4543:7;;4579:80;;4590:9;;4601:10;4650:8;4579:80;;:::i;:::-;;;;;;;;;;;;;4569:91;;;;;;4562:98;;4456:211;;;:::o;224:86:185:-;292:7;273:30;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;224:86;:::o;-1:-1:-1:-;;;;;;;;:::o;207:531:350:-;249:3;287:5;281:12;314:6;309:3;302:19;339:1;349:162;363:6;360:1;357:13;349:162;;;425:4;481:13;;;477:22;;471:29;453:11;;;449:20;;442:59;378:12;349:162;;;529:6;526:1;523:13;520:87;;;595:1;588:4;579:6;574:3;570:16;566:27;559:38;520:87;-1:-1:-1;652:2:350;640:15;657:66;636:88;627:98;;;;727:4;623:109;;207:531;-1:-1:-1;;207:531:350:o;743:220::-;892:2;881:9;874:21;855:4;912:45;953:2;942:9;938:18;930:6;912:45;:::i;:::-;904:53;743:220;-1:-1:-1;;;743:220:350:o;968:180::-;1027:6;1080:2;1068:9;1059:7;1055:23;1051:32;1048:52;;;1096:1;1093;1086:12;1048:52;-1:-1:-1;1119:23:350;;968:180;-1:-1:-1;968:180:350:o;1345:184::-;1397:77;1394:1;1387:88;1494:4;1491:1;1484:15;1518:4;1515:1;1508:15;1534:1245;1620:6;1628;1636;1689:2;1677:9;1668:7;1664:23;1660:32;1657:52;;;1705:1;1702;1695:12;1657:52;1744:9;1731:23;1794:42;1787:5;1783:54;1776:5;1773:65;1763:93;;1852:1;1849;1842:12;1763:93;1875:5;-1:-1:-1;1927:2:350;1912:18;;1899:32;;-1:-1:-1;1982:2:350;1967:18;;1954:32;2005:18;2035:14;;;2032:34;;;2062:1;2059;2052:12;2032:34;2100:6;2089:9;2085:22;2075:32;;2145:7;2138:4;2134:2;2130:13;2126:27;2116:55;;2167:1;2164;2157:12;2116:55;2203:2;2190:16;2225:2;2221;2218:10;2215:36;;;2231:18;;:::i;:::-;2365:2;2359:9;2427:4;2419:13;;2270:66;2415:22;;;2439:2;2411:31;2407:40;2395:53;;;2463:18;;;2483:22;;;2460:46;2457:72;;;2509:18;;:::i;:::-;2549:10;2545:2;2538:22;2584:2;2576:6;2569:18;2624:7;2619:2;2614;2610;2606:11;2602:20;2599:33;2596:53;;;2645:1;2642;2635:12;2596:53;2701:2;2696;2692;2688:11;2683:2;2675:6;2671:15;2658:46;2746:1;2741:2;2736;2728:6;2724:15;2720:24;2713:35;2767:6;2757:16;;;;;;;1534:1245;;;;;:::o;2966:433::-;3197:6;3186:9;3179:25;3240:6;3235:2;3224:9;3220:18;3213:34;3283:3;3278:2;3267:9;3263:18;3256:31;3160:4;3304:46;3345:3;3334:9;3330:19;3322:6;3304:46;:::i;:::-;3296:54;;3386:6;3381:2;3370:9;3366:18;3359:34;2966:433;;;;;;;:::o;3404:656::-;3691:6;3680:9;3673:25;3654:4;3717:42;3807:2;3799:6;3795:15;3790:2;3779:9;3775:18;3768:43;3859:2;3851:6;3847:15;3842:2;3831:9;3827:18;3820:43;;3899:6;3894:2;3883:9;3879:18;3872:34;3943:6;3937:3;3926:9;3922:19;3915:35;3987:3;3981;3970:9;3966:19;3959:32;4008:46;4049:3;4038:9;4034:19;4026:6;4008:46;:::i;:::-;4000:54;3404:656;-1:-1:-1;;;;;;;;3404:656:350:o",linkReferences:{}},methodIdentifiers:{"MESSAGE_VERSION()":"3f827a5a","burn()":"44df8e70","initiateWithdrawal(address,uint256,bytes)":"c2b3e5ac","messageNonce()":"ecc70428","sentMessages(bytes32)":"82e3702d","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"nonce","type":"uint256"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"gasLimit","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"}],"name":"MessagePassed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawerBalanceBurnt","type":"event"},{"inputs":[],"name":"MESSAGE_VERSION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_gasLimit","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"initiateWithdrawal","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"messageNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"sentMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000016","events":{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{"params":{"data":"The data to be forwarded to the target on L1.","gasLimit":"The minimum amount of gas that must be provided when withdrawing.","nonce":"Unique value corresponding to each withdrawal.","sender":"The L2 account address which initiated the withdrawal.","target":"The L1 account address the call will be send to.","value":"The ETH value submitted for withdrawal, to be forwarded to the target.","withdrawalHash":"The hash of the withdrawal."}},"WithdrawerBalanceBurnt(uint256)":{"params":{"amount":"Amount of ETh that was burned."}}},"kind":"dev","methods":{"initiateWithdrawal(address,uint256,bytes)":{"params":{"_data":"Data to forward to L1 target.","_gasLimit":"Minimum gas limit for executing the message on L1.","_target":"Address to call on L1 execution."}},"messageNonce()":{"returns":{"_0":"Nonce of the next message to be sent, with added message version."}}},"stateVariables":{"version":{"custom:semver":"1.1.0"}},"title":"L2ToL1MessagePasser","version":1},"userdoc":{"events":{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{"notice":"Emitted any time a withdrawal is initiated."},"WithdrawerBalanceBurnt(uint256)":{"notice":"Emitted when the balance of this contract is burned."}},"kind":"user","methods":{"MESSAGE_VERSION()":{"notice":"The current message version identifier."},"burn()":{"notice":"Removes all ETH held by this contract from the state. Used to prevent the amount of ETH on L2 inflating when ETH is withdrawn. Currently only way to do this is to create a contract and self-destruct it to itself. Anyone can call this function. Not incentivized since this function is very cheap."},"initiateWithdrawal(address,uint256,bytes)":{"notice":"Sends a message from L2 to L1."},"messageNonce()":{"notice":"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"sentMessages(bytes32)":{"notice":"Includes the message hashes for all withdrawals"}},"notice":"The L2ToL1MessagePasser is a dedicated contract where messages that are being sent from L2 to L1 can be stored. The storage root of this contract is pulled up to the top level of the L2 output to reduce the cost of proving the existence of sent messages.","version":1}},"settings":{"compilationTarget":{"src/L2/L2ToL1MessagePasser.sol":"L2ToL1MessagePasser"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"src/L2/L2ToL1MessagePasser.sol":{"keccak256":"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21","license":"MIT","urls":["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"uint256",name:"nonce",type:"uint256",indexed:!0},{internalType:"address",name:"sender",type:"address",indexed:!0},{internalType:"address",name:"target",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1},{internalType:"uint256",name:"gasLimit",type:"uint256",indexed:!1},{internalType:"bytes",name:"data",type:"bytes",indexed:!1},{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!1}],type:"event",name:"MessagePassed",anonymous:!1},{inputs:[{internalType:"uint256",name:"amount",type:"uint256",indexed:!0}],type:"event",name:"WithdrawerBalanceBurnt",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSAGE_VERSION",outputs:[{internalType:"uint16",name:"",type:"uint16"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"burn"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"initiateWithdrawal"},{inputs:[],stateMutability:"view",type:"function",name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"sentMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"initiateWithdrawal(address,uint256,bytes)":{params:{_data:"Data to forward to L1 target.",_gasLimit:"Minimum gas limit for executing the message on L1.",_target:"Address to call on L1 execution."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}}},version:1},userdoc:{kind:"user",methods:{"MESSAGE_VERSION()":{notice:"The current message version identifier."},"burn()":{notice:"Removes all ETH held by this contract from the state. Used to prevent the amount of ETH on L2 inflating when ETH is withdrawn. Currently only way to do this is to create a contract and self-destruct it to itself. Anyone can call this function. Not incentivized since this function is very cheap."},"initiateWithdrawal(address,uint256,bytes)":{notice:"Sends a message from L2 to L1."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"sentMessages(bytes32)":{notice:"Includes the message hashes for all withdrawals"}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2ToL1MessagePasser.sol":"L2ToL1MessagePasser"},evmVersion:"london",libraries:{}},sources:{"src/L2/L2ToL1MessagePasser.sol":{keccak256:"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21",urls:["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:88229,contract:"src/L2/L2ToL1MessagePasser.sol:L2ToL1MessagePasser",label:"sentMessages",offset:0,slot:"0",type:"t_mapping(t_bytes32,t_bool)"},{astId:88232,contract:"src/L2/L2ToL1MessagePasser.sol:L2ToL1MessagePasser",label:"msgNonce",offset:0,slot:"1",type:"t_uint240"}],types:{t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint240:{encoding:"inplace",label:"uint240",numberOfBytes:"30"}}},userdoc:{version:1,kind:"user",methods:{"MESSAGE_VERSION()":{notice:"The current message version identifier."},"burn()":{notice:"Removes all ETH held by this contract from the state. Used to prevent the amount of ETH on L2 inflating when ETH is withdrawn. Currently only way to do this is to create a contract and self-destruct it to itself. Anyone can call this function. Not incentivized since this function is very cheap."},"initiateWithdrawal(address,uint256,bytes)":{notice:"Sends a message from L2 to L1."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"sentMessages(bytes32)":{notice:"Includes the message hashes for all withdrawals"}},events:{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{notice:"Emitted any time a withdrawal is initiated."},"WithdrawerBalanceBurnt(uint256)":{notice:"Emitted when the balance of this contract is burned."}},notice:"The L2ToL1MessagePasser is a dedicated contract where messages that are being sent from L2 to L1 can be stored. The storage root of this contract is pulled up to the top level of the L2 output to reduce the cost of proving the existence of sent messages."},devdoc:{version:1,kind:"dev",methods:{"initiateWithdrawal(address,uint256,bytes)":{params:{_data:"Data to forward to L1 target.",_gasLimit:"Minimum gas limit for executing the message on L1.",_target:"Address to call on L1 execution."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}}},events:{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{params:{data:"The data to be forwarded to the target on L1.",gasLimit:"The minimum amount of gas that must be provided when withdrawing.",nonce:"Unique value corresponding to each withdrawal.",sender:"The L2 account address which initiated the withdrawal.",target:"The L1 account address the call will be send to.",value:"The ETH value submitted for withdrawal, to be forwarded to the target.",withdrawalHash:"The hash of the withdrawal."}},"WithdrawerBalanceBurnt(uint256)":{params:{amount:"Amount of ETh that was burned."}}},title:"L2ToL1MessagePasser"},id:146}});var GKe=D((a6a,HHt)=>{HHt.exports={abi:[{type:"function",name:"DECIMALS",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"baseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"baseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"blobBaseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"blobBaseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"pure"},{type:"function",name:"gasPrice",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getL1Fee",inputs:[{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getL1GasUsed",inputs:[{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"isEcotone",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"l1BaseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"overhead",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"scalar",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"setEcotone",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}],bytecode:{object:"0x608060405234801561001057600080fd5b50610fb5806100206000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806354fd4d5011610097578063de26c4a111610066578063de26c4a1146101da578063f45e65d8146101ed578063f8206140146101f5578063fe173b97146101cc57600080fd5b806354fd4d501461016657806368d5dca6146101af5780636ef25c3a146101cc578063c5985918146101d257600080fd5b8063313ce567116100d3578063313ce5671461012757806349948e0e1461012e5780634ef6e22414610141578063519b4bd31461015e57600080fd5b80630c18c162146100fa57806322b90ab3146101155780632e0f26251461011f575b600080fd5b6101026101fd565b6040519081526020015b60405180910390f35b61011d61031e565b005b610102600681565b6006610102565b61010261013c366004610b73565b610541565b60005461014e9060ff1681565b604051901515815260200161010c565b610102610565565b6101a26040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161010c9190610c42565b6101b76105c6565b60405163ffffffff909116815260200161010c565b48610102565b6101b761064b565b6101026101e8366004610b73565b6106ac565b610102610760565b610102610853565b6000805460ff1615610296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f47617350726963654f7261636c653a206f76657268656164282920697320646560448201527f707265636174656400000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610cb5565b905090565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663e591b2826040518163ffffffff1660e01b8152600401602060405180830381865afa15801561037d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a19190610cce565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f47617350726963654f7261636c653a206f6e6c7920746865206465706f73697460448201527f6f72206163636f756e742063616e2073657420697345636f746f6e6520666c6160648201527f6700000000000000000000000000000000000000000000000000000000000000608482015260a40161028d565b60005460ff1615610514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a2045636f746f6e6520616c72656164792060448201527f6163746976650000000000000000000000000000000000000000000000000000606482015260840161028d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6000805460ff161561055c57610556826108b4565b92915050565b61055682610958565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16635cf249696040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff166368d5dca66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610d04565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663c59859186040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b6000806106b883610ab4565b60005490915060ff16156106cc5792915050565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa15801561072b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074f9190610cb5565b6107599082610d59565b9392505050565b6000805460ff16156107f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a207363616c61722829206973206465707260448201527f6563617465640000000000000000000000000000000000000000000000000000606482015260840161028d565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663f82061406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b6000806108c083610ab4565b905060006108cc610565565b6108d461064b565b6108df906010610d71565b63ffffffff166108ef9190610d9d565b905060006108fb610853565b6109036105c6565b63ffffffff166109139190610d9d565b905060006109218284610d59565b61092b9085610d9d565b90506109396006600a610efa565b610944906010610d9d565b61094e9082610f06565b9695505050505050565b60008061096483610ab4565b9050600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109eb9190610cb5565b6109f3610565565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190610cb5565b610a809085610d59565b610a8a9190610d9d565b610a949190610d9d565b9050610aa26006600a610efa565b610aac9082610f06565b949350505050565b80516000908190815b81811015610b3757848181518110610ad757610ad7610f41565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016600003610b1757610b10600484610d59565b9250610b25565b610b22601084610d59565b92505b80610b2f81610f70565b915050610abd565b50610aac82610440610d59565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610b8557600080fd5b813567ffffffffffffffff80821115610b9d57600080fd5b818401915084601f830112610bb157600080fd5b813581811115610bc357610bc3610b44565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610c0957610c09610b44565b81604052828152876020848701011115610c2257600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b81811015610c6f57858101830151858201604001528201610c53565b81811115610c81576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600060208284031215610cc757600080fd5b5051919050565b600060208284031215610ce057600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461075957600080fd5b600060208284031215610d1657600080fd5b815163ffffffff8116811461075957600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610d6c57610d6c610d2a565b500190565b600063ffffffff80831681851681830481118215151615610d9457610d94610d2a565b02949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610dd557610dd5610d2a565b500290565b600181815b80851115610e3357817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610e1957610e19610d2a565b80851615610e2657918102915b93841c9390800290610ddf565b509250929050565b600082610e4a57506001610556565b81610e5757506000610556565b8160018114610e6d5760028114610e7757610e93565b6001915050610556565b60ff841115610e8857610e88610d2a565b50506001821b610556565b5060208310610133831016604e8410600b8410161715610eb6575081810a610556565b610ec08383610dda565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ef257610ef2610d2a565b029392505050565b60006107598383610e3b565b600082610f3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610fa157610fa1610d2a565b506001019056fea164736f6c634300080f000a",sourceMap:"1153:5825:140:-:0;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100f55760003560e01c806354fd4d5011610097578063de26c4a111610066578063de26c4a1146101da578063f45e65d8146101ed578063f8206140146101f5578063fe173b97146101cc57600080fd5b806354fd4d501461016657806368d5dca6146101af5780636ef25c3a146101cc578063c5985918146101d257600080fd5b8063313ce567116100d3578063313ce5671461012757806349948e0e1461012e5780634ef6e22414610141578063519b4bd31461015e57600080fd5b80630c18c162146100fa57806322b90ab3146101155780632e0f26251461011f575b600080fd5b6101026101fd565b6040519081526020015b60405180910390f35b61011d61031e565b005b610102600681565b6006610102565b61010261013c366004610b73565b610541565b60005461014e9060ff1681565b604051901515815260200161010c565b610102610565565b6101a26040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161010c9190610c42565b6101b76105c6565b60405163ffffffff909116815260200161010c565b48610102565b6101b761064b565b6101026101e8366004610b73565b6106ac565b610102610760565b610102610853565b6000805460ff1615610296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f47617350726963654f7261636c653a206f76657268656164282920697320646560448201527f707265636174656400000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610cb5565b905090565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663e591b2826040518163ffffffff1660e01b8152600401602060405180830381865afa15801561037d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a19190610cce565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f47617350726963654f7261636c653a206f6e6c7920746865206465706f73697460448201527f6f72206163636f756e742063616e2073657420697345636f746f6e6520666c6160648201527f6700000000000000000000000000000000000000000000000000000000000000608482015260a40161028d565b60005460ff1615610514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a2045636f746f6e6520616c72656164792060448201527f6163746976650000000000000000000000000000000000000000000000000000606482015260840161028d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6000805460ff161561055c57610556826108b4565b92915050565b61055682610958565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16635cf249696040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff166368d5dca66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610d04565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663c59859186040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b6000806106b883610ab4565b60005490915060ff16156106cc5792915050565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa15801561072b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074f9190610cb5565b6107599082610d59565b9392505050565b6000805460ff16156107f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a207363616c61722829206973206465707260448201527f6563617465640000000000000000000000000000000000000000000000000000606482015260840161028d565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663f82061406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b6000806108c083610ab4565b905060006108cc610565565b6108d461064b565b6108df906010610d71565b63ffffffff166108ef9190610d9d565b905060006108fb610853565b6109036105c6565b63ffffffff166109139190610d9d565b905060006109218284610d59565b61092b9085610d9d565b90506109396006600a610efa565b610944906010610d9d565b61094e9082610f06565b9695505050505050565b60008061096483610ab4565b9050600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109eb9190610cb5565b6109f3610565565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190610cb5565b610a809085610d59565b610a8a9190610d9d565b610a949190610d9d565b9050610aa26006600a610efa565b610aac9082610f06565b949350505050565b80516000908190815b81811015610b3757848181518110610ad757610ad7610f41565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016600003610b1757610b10600484610d59565b9250610b25565b610b22601084610d59565b92505b80610b2f81610f70565b915050610abd565b50610aac82610440610d59565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610b8557600080fd5b813567ffffffffffffffff80821115610b9d57600080fd5b818401915084601f830112610bb157600080fd5b813581811115610bc357610bc3610b44565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610c0957610c09610b44565b81604052828152876020848701011115610c2257600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b81811015610c6f57858101830151858201604001528201610c53565b81811115610c81576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600060208284031215610cc757600080fd5b5051919050565b600060208284031215610ce057600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461075957600080fd5b600060208284031215610d1657600080fd5b815163ffffffff8116811461075957600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610d6c57610d6c610d2a565b500190565b600063ffffffff80831681851681830481118215151615610d9457610d94610d2a565b02949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610dd557610dd5610d2a565b500290565b600181815b80851115610e3357817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610e1957610e19610d2a565b80851615610e2657918102915b93841c9390800290610ddf565b509250929050565b600082610e4a57506001610556565b81610e5757506000610556565b8160018114610e6d5760028114610e7757610e93565b6001915050610556565b60ff841115610e8857610e88610d2a565b50506001821b610556565b5060208310610133831016604e8410600b8410161715610eb6575081810a610556565b610ec08383610dda565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ef257610ef2610d2a565b029392505050565b60006107598383610e3b565b600082610f3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610fa157610fa1610d2a565b506001019056fea164736f6c634300080f000a",sourceMap:"1153:5825:140:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2951:202;;;:::i;:::-;;;160:25:350;;;148:2;133:18;2951:202:140;;;;;;;;2115:338;;;:::i;:::-;;1249:36;;1284:1;1249:36;;4561:82;1284:1;4561:82;;1835:196;;;;;;:::i;:::-;;:::i;1486:21::-;;;;;;;;;;;;1535:14:350;;1528:22;1510:41;;1498:2;1483:18;1486:21:140;1370:187:350;3568:124:140;;;:::i;1355:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4267:141::-;;;:::i;:::-;;;2397:10:350;2385:23;;;2367:42;;2355:2;2340:18;4267:141:140;2223:192:350;2746:86:140;2812:13;2746:86;;4022:133;;;:::i;4975:280::-;;;;;;:::i;:::-;;:::i;3268:196::-;;;:::i;3790:130::-;;;:::i;2951:202::-;2992:7;3020:9;;;;3019:10;3011:63;;;;;;;2622:2:350;3011:63:140;;;2604:21:350;2661:2;2641:18;;;2634:30;2700:34;2680:18;;;2673:62;2771:10;2751:18;;;2744:38;2799:19;;3011:63:140;;;;;;;;;1455:42:194;3091:53:140;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3084:62;;2951:202;:::o;2115:338::-;1455:42:194;2191:57:140;;;:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2177:73;;:10;:73;;;2156:185;;;;;;;3538:2:350;2156:185:140;;;3520:21:350;3577:2;3557:18;;;3550:30;3616:34;3596:18;;;3589:62;3687:34;3667:18;;;3660:62;3759:3;3738:19;;;3731:32;3780:19;;2156:185:140;3336:469:350;2156:185:140;2359:9;;;;:18;2351:69;;;;;;;4012:2:350;2351:69:140;;;3994:21:350;4051:2;4031:18;;;4024:30;4090:34;4070:18;;;4063:62;4161:8;4141:18;;;4134:36;4187:19;;2351:69:140;3810:402:350;2351:69:140;2430:9;:16;;;;2442:4;2430:16;;;2115:338::o;1835:196::-;1896:7;1919:9;;;;1915:70;;;1951:23;1968:5;1951:16;:23::i;:::-;1944:30;1835:196;-1:-1:-1;;1835:196:140:o;1915:70::-;2001:23;2018:5;2001:16;:23::i;3568:124::-;3610:7;1455:42:194;3636:47:140;;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4267:141;4317:6;1455:42:194;4342:57:140;;;:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4022:133::-;4068:6;1455:42:194;4093:53:140;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4975:280;5038:7;5057:17;5077:22;5093:5;5077:15;:22::i;:::-;5113:9;;5057:42;;-1:-1:-1;5113:9:140;;5109:56;;;5145:9;4975:280;-1:-1:-1;;4975:280:140:o;5109:56::-;1455:42:194;5193:53:140;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5181:67;;:9;:67;:::i;:::-;5174:74;4975:280;-1:-1:-1;;;4975:280:140:o;3268:196::-;3307:7;3335:9;;;;3334:10;3326:61;;;;;;;5026:2:350;3326:61:140;;;5008:21:350;5065:2;5045:18;;;5038:30;5104:34;5084:18;;;5077:62;5175:8;5155:18;;;5148:36;5201:19;;3326:61:140;4824:402:350;3326:61:140;1455:42:194;3404:51:140;;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3790:130;3834:7;1455:42:194;3860:51:140;;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6015:393;6084:7;6103:17;6123:22;6139:5;6123:15;:22::i;:::-;6103:42;;6155:21;6202:11;:9;:11::i;:::-;6179:15;:13;:15::i;:::-;:20;;6197:2;6179:20;:::i;:::-;:34;;;;;;:::i;:::-;6155:58;;6223:25;6273:13;:11;:13::i;:::-;6251:19;:17;:19::i;:::-;:35;;;;;;:::i;:::-;6223:63;-1:-1:-1;6296:11:140;6323:33;6223:63;6323:13;:33;:::i;:::-;6310:47;;:9;:47;:::i;:::-;6296:61;-1:-1:-1;6386:14:140;1284:1;6386:2;:14;:::i;:::-;6381:19;;:2;:19;:::i;:::-;6374:27;;:3;:27;:::i;:::-;6367:34;6015:393;-1:-1:-1;;;;;;6015:393:140:o;5468:351::-;5537:7;5556:17;5576:22;5592:5;5576:15;:22::i;:::-;5556:42;;5608:11;1455:42:194;5720:51:140;;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5694:11;:9;:11::i;:::-;1455:42:194;5635:53:140;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5623:67;;:9;:67;:::i;:::-;5622:83;;;;:::i;:::-;:151;;;;:::i;:::-;5608:165;-1:-1:-1;5797:14:140;1284:1;5797:2;:14;:::i;:::-;5790:22;;:3;:22;:::i;:::-;5783:29;5468:351;-1:-1:-1;;;;5468:351:140:o;6610:366::-;6741:12;;6678:7;;;;;6763:173;6787:6;6783:1;:10;6763:173;;;6818:5;6824:1;6818:8;;;;;;;;:::i;:::-;;;;;;;6830:1;6818:13;6814:112;;6851:10;6860:1;6851:10;;:::i;:::-;;;6814:112;;;6900:11;6909:2;6900:11;;:::i;:::-;;;6814:112;6795:3;;;;:::i;:::-;;;;6763:173;;;-1:-1:-1;6952:17:140;:5;6961:7;6952:17;:::i;196:184:350:-;248:77;245:1;238:88;345:4;342:1;335:15;369:4;366:1;359:15;385:980;453:6;506:2;494:9;485:7;481:23;477:32;474:52;;;522:1;519;512:12;474:52;562:9;549:23;591:18;632:2;624:6;621:14;618:34;;;648:1;645;638:12;618:34;686:6;675:9;671:22;661:32;;731:7;724:4;720:2;716:13;712:27;702:55;;753:1;750;743:12;702:55;789:2;776:16;811:2;807;804:10;801:36;;;817:18;;:::i;:::-;951:2;945:9;1013:4;1005:13;;856:66;1001:22;;;1025:2;997:31;993:40;981:53;;;1049:18;;;1069:22;;;1046:46;1043:72;;;1095:18;;:::i;:::-;1135:10;1131:2;1124:22;1170:2;1162:6;1155:18;1210:7;1205:2;1200;1196;1192:11;1188:20;1185:33;1182:53;;;1231:1;1228;1221:12;1182:53;1287:2;1282;1278;1274:11;1269:2;1261:6;1257:15;1244:46;1332:1;1310:15;;;1327:2;1306:24;1299:35;;;;-1:-1:-1;1314:6:350;385:980;-1:-1:-1;;;;;385:980:350:o;1562:656::-;1674:4;1703:2;1732;1721:9;1714:21;1764:6;1758:13;1807:6;1802:2;1791:9;1787:18;1780:34;1832:1;1842:140;1856:6;1853:1;1850:13;1842:140;;;1951:14;;;1947:23;;1941:30;1917:17;;;1936:2;1913:26;1906:66;1871:10;;1842:140;;;2000:6;1997:1;1994:13;1991:91;;;2070:1;2065:2;2056:6;2045:9;2041:22;2037:31;2030:42;1991:91;-1:-1:-1;2134:2:350;2122:15;2139:66;2118:88;2103:104;;;;2209:2;2099:113;;1562:656;-1:-1:-1;;;1562:656:350:o;2829:184::-;2899:6;2952:2;2940:9;2931:7;2927:23;2923:32;2920:52;;;2968:1;2965;2958:12;2920:52;-1:-1:-1;2991:16:350;;2829:184;-1:-1:-1;2829:184:350:o;3018:313::-;3088:6;3141:2;3129:9;3120:7;3116:23;3112:32;3109:52;;;3157:1;3154;3147:12;3109:52;3189:9;3183:16;3239:42;3232:5;3228:54;3221:5;3218:65;3208:93;;3297:1;3294;3287:12;4217:280;4286:6;4339:2;4327:9;4318:7;4314:23;4310:32;4307:52;;;4355:1;4352;4345:12;4307:52;4387:9;4381:16;4437:10;4430:5;4426:22;4419:5;4416:33;4406:61;;4463:1;4460;4453:12;4502:184;4554:77;4551:1;4544:88;4651:4;4648:1;4641:15;4675:4;4672:1;4665:15;4691:128;4731:3;4762:1;4758:6;4755:1;4752:13;4749:39;;;4768:18;;:::i;:::-;-1:-1:-1;4804:9:350;;4691:128::o;5231:262::-;5270:7;5302:10;5339:2;5336:1;5332:10;5369:2;5366:1;5362:10;5425:3;5421:2;5417:12;5412:3;5409:21;5402:3;5395:11;5388:19;5384:47;5381:73;;;5434:18;;:::i;:::-;5474:13;;5231:262;-1:-1:-1;;;;5231:262:350:o;5498:228::-;5538:7;5664:1;5596:66;5592:74;5589:1;5586:81;5581:1;5574:9;5567:17;5563:105;5560:131;;;5671:18;;:::i;:::-;-1:-1:-1;5711:9:350;;5498:228::o;5731:482::-;5820:1;5863:5;5820:1;5877:330;5898:7;5888:8;5885:21;5877:330;;;6017:4;5949:66;5945:77;5939:4;5936:87;5933:113;;;6026:18;;:::i;:::-;6076:7;6066:8;6062:22;6059:55;;;6096:16;;;;6059:55;6175:22;;;;6135:15;;;;5877:330;;;5881:3;5731:482;;;;;:::o;6218:866::-;6267:5;6297:8;6287:80;;-1:-1:-1;6338:1:350;6352:5;;6287:80;6386:4;6376:76;;-1:-1:-1;6423:1:350;6437:5;;6376:76;6468:4;6486:1;6481:59;;;;6554:1;6549:130;;;;6461:218;;6481:59;6511:1;6502:10;;6525:5;;;6549:130;6586:3;6576:8;6573:17;6570:43;;;6593:18;;:::i;:::-;-1:-1:-1;;6649:1:350;6635:16;;6664:5;;6461:218;;6763:2;6753:8;6750:16;6744:3;6738:4;6735:13;6731:36;6725:2;6715:8;6712:16;6707:2;6701:4;6698:12;6694:35;6691:77;6688:159;;;-1:-1:-1;6800:19:350;;;6832:5;;6688:159;6879:34;6904:8;6898:4;6879:34;:::i;:::-;7009:6;6941:66;6937:79;6928:7;6925:92;6922:118;;;7020:18;;:::i;:::-;7058:20;;6218:866;-1:-1:-1;;;6218:866:350:o;7089:131::-;7149:5;7178:36;7205:8;7199:4;7178:36;:::i;7225:274::-;7265:1;7291;7281:189;;7326:77;7323:1;7316:88;7427:4;7424:1;7417:15;7455:4;7452:1;7445:15;7281:189;-1:-1:-1;7484:9:350;;7225:274::o;7504:184::-;7556:77;7553:1;7546:88;7653:4;7650:1;7643:15;7677:4;7674:1;7667:15;7693:195;7732:3;7763:66;7756:5;7753:77;7750:103;;7833:18;;:::i;:::-;-1:-1:-1;7880:1:350;7869:13;;7693:195::o",linkReferences:{}},methodIdentifiers:{"DECIMALS()":"2e0f2625","baseFee()":"6ef25c3a","baseFeeScalar()":"c5985918","blobBaseFee()":"f8206140","blobBaseFeeScalar()":"68d5dca6","decimals()":"313ce567","gasPrice()":"fe173b97","getL1Fee(bytes)":"49948e0e","getL1GasUsed(bytes)":"de26c4a1","isEcotone()":"4ef6e224","l1BaseFee()":"519b4bd3","overhead()":"0c18c162","scalar()":"f45e65d8","setEcotone()":"22b90ab3","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"name":"DECIMALS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"gasPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"getL1Fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"getL1GasUsed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isEcotone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l1BaseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"overhead","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"scalar","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setEcotone","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x420000000000000000000000000000000000000F","kind":"dev","methods":{"baseFee()":{"returns":{"_0":"Current L2 base fee."}},"baseFeeScalar()":{"returns":{"_0":"Current base fee scalar."}},"blobBaseFee()":{"returns":{"_0":"Current blob base fee."}},"blobBaseFeeScalar()":{"returns":{"_0":"Current blob base fee scalar."}},"decimals()":{"custom:legacy":"@notice Retrieves the number of decimals used in the scalar.","returns":{"_0":"Number of decimals used in the scalar."}},"gasPrice()":{"returns":{"_0":"Current L2 gas price (base fee)."}},"getL1Fee(bytes)":{"params":{"_data":"Unsigned fully RLP-encoded transaction to get the L1 fee for."},"returns":{"_0":"L1 fee that should be paid for the tx"}},"getL1GasUsed(bytes)":{"params":{"_data":"Unsigned fully RLP-encoded transaction to get the L1 gas for."},"returns":{"_0":"Amount of L1 gas used to publish the transaction."}},"l1BaseFee()":{"returns":{"_0":"Latest known L1 base fee."}},"overhead()":{"custom:legacy":"@notice Retrieves the current fee overhead.","returns":{"_0":"Current fee overhead."}},"scalar()":{"custom:legacy":"@notice Retrieves the current fee scalar.","returns":{"_0":"Current fee scalar."}}},"stateVariables":{"version":{"custom:semver":"1.2.0"}},"title":"GasPriceOracle","version":1},"userdoc":{"kind":"user","methods":{"DECIMALS()":{"notice":"Number of decimals used in the scalar."},"baseFee()":{"notice":"Retrieves the current base fee."},"baseFeeScalar()":{"notice":"Retrieves the current base fee scalar."},"blobBaseFee()":{"notice":"Retrieves the current blob base fee."},"blobBaseFeeScalar()":{"notice":"Retrieves the current blob base fee scalar."},"gasPrice()":{"notice":"Retrieves the current gas price (base fee)."},"getL1Fee(bytes)":{"notice":"Computes the L1 portion of the fee based on the size of the rlp encoded input transaction, the current L1 base fee, and the various dynamic parameters."},"getL1GasUsed(bytes)":{"notice":"Computes the amount of L1 gas used for a transaction. Adds 68 bytes of padding to account for the fact that the input does not have a signature."},"isEcotone()":{"notice":"Indicates whether the network has gone through the Ecotone upgrade."},"l1BaseFee()":{"notice":"Retrieves the latest known L1 base fee."},"setEcotone()":{"notice":"Set chain to be Ecotone chain (callable by depositor account)"},"version()":{"notice":"Semantic version."}},"notice":"This contract maintains the variables responsible for computing the L1 portion of the total fee charged on L2. Before Bedrock, this contract held variables in state that were read during the state transition function to compute the L1 portion of the transaction fee. After Bedrock, this contract now simply proxies the L1Block contract, which has the values used to compute the L1 portion of the fee in its state. The contract exposes an API that is useful for knowing how large the L1 portion of the transaction fee will be. The following events were deprecated with Bedrock: - event OverheadUpdated(uint256 overhead); - event ScalarUpdated(uint256 scalar); - event DecimalsUpdated(uint256 decimals);","version":1}},"settings":{"compilationTarget":{"src/L2/GasPriceOracle.sol":"GasPriceOracle"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"src/L2/GasPriceOracle.sol":{"keccak256":"0x299b0722d301a4bc075ba09c73e55a98e3dc509444906f285e2ceba9c1fa69b1","license":"MIT","urls":["bzz-raw://17f7ffe4744b7bde10d61ce376ac0b497d40dab962b1c4c47bf7fd9784350cb7","dweb:/ipfs/QmYp8vZtid8GBWrm7QSPxNCV9D4Mm9ELm29PGup7b6dJ7H"]},"src/L2/L1Block.sol":{"keccak256":"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6","license":"MIT","urls":["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"view",type:"function",name:"DECIMALS",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"baseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"baseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"pure",type:"function",name:"decimals",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"gasPrice",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"view",type:"function",name:"getL1Fee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"view",type:"function",name:"getL1GasUsed",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"isEcotone",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1BaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"overhead",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"scalar",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"setEcotone"},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"baseFee()":{returns:{_0:"Current L2 base fee."}},"baseFeeScalar()":{returns:{_0:"Current base fee scalar."}},"blobBaseFee()":{returns:{_0:"Current blob base fee."}},"blobBaseFeeScalar()":{returns:{_0:"Current blob base fee scalar."}},"decimals()":{"custom:legacy":"@notice Retrieves the number of decimals used in the scalar.",returns:{_0:"Number of decimals used in the scalar."}},"gasPrice()":{returns:{_0:"Current L2 gas price (base fee)."}},"getL1Fee(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 fee for."},returns:{_0:"L1 fee that should be paid for the tx"}},"getL1GasUsed(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 gas for."},returns:{_0:"Amount of L1 gas used to publish the transaction."}},"l1BaseFee()":{returns:{_0:"Latest known L1 base fee."}},"overhead()":{"custom:legacy":"@notice Retrieves the current fee overhead.",returns:{_0:"Current fee overhead."}},"scalar()":{"custom:legacy":"@notice Retrieves the current fee scalar.",returns:{_0:"Current fee scalar."}}},version:1},userdoc:{kind:"user",methods:{"DECIMALS()":{notice:"Number of decimals used in the scalar."},"baseFee()":{notice:"Retrieves the current base fee."},"baseFeeScalar()":{notice:"Retrieves the current base fee scalar."},"blobBaseFee()":{notice:"Retrieves the current blob base fee."},"blobBaseFeeScalar()":{notice:"Retrieves the current blob base fee scalar."},"gasPrice()":{notice:"Retrieves the current gas price (base fee)."},"getL1Fee(bytes)":{notice:"Computes the L1 portion of the fee based on the size of the rlp encoded input transaction, the current L1 base fee, and the various dynamic parameters."},"getL1GasUsed(bytes)":{notice:"Computes the amount of L1 gas used for a transaction. Adds 68 bytes of padding to account for the fact that the input does not have a signature."},"isEcotone()":{notice:"Indicates whether the network has gone through the Ecotone upgrade."},"l1BaseFee()":{notice:"Retrieves the latest known L1 base fee."},"setEcotone()":{notice:"Set chain to be Ecotone chain (callable by depositor account)"},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/GasPriceOracle.sol":"GasPriceOracle"},evmVersion:"london",libraries:{}},sources:{"src/L2/GasPriceOracle.sol":{keccak256:"0x299b0722d301a4bc075ba09c73e55a98e3dc509444906f285e2ceba9c1fa69b1",urls:["bzz-raw://17f7ffe4744b7bde10d61ce376ac0b497d40dab962b1c4c47bf7fd9784350cb7","dweb:/ipfs/QmYp8vZtid8GBWrm7QSPxNCV9D4Mm9ELm29PGup7b6dJ7H"],license:"MIT"},"src/L2/L1Block.sol":{keccak256:"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6",urls:["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:86905,contract:"src/L2/GasPriceOracle.sol:GasPriceOracle",label:"isEcotone",offset:0,slot:"0",type:"t_bool"}],types:{t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"DECIMALS()":{notice:"Number of decimals used in the scalar."},"baseFee()":{notice:"Retrieves the current base fee."},"baseFeeScalar()":{notice:"Retrieves the current base fee scalar."},"blobBaseFee()":{notice:"Retrieves the current blob base fee."},"blobBaseFeeScalar()":{notice:"Retrieves the current blob base fee scalar."},"gasPrice()":{notice:"Retrieves the current gas price (base fee)."},"getL1Fee(bytes)":{notice:"Computes the L1 portion of the fee based on the size of the rlp encoded input transaction, the current L1 base fee, and the various dynamic parameters."},"getL1GasUsed(bytes)":{notice:"Computes the amount of L1 gas used for a transaction. Adds 68 bytes of padding to account for the fact that the input does not have a signature."},"isEcotone()":{notice:"Indicates whether the network has gone through the Ecotone upgrade."},"l1BaseFee()":{notice:"Retrieves the latest known L1 base fee."},"setEcotone()":{notice:"Set chain to be Ecotone chain (callable by depositor account)"},"version()":{notice:"Semantic version."}},notice:"This contract maintains the variables responsible for computing the L1 portion of the total fee charged on L2. Before Bedrock, this contract held variables in state that were read during the state transition function to compute the L1 portion of the transaction fee. After Bedrock, this contract now simply proxies the L1Block contract, which has the values used to compute the L1 portion of the fee in its state. The contract exposes an API that is useful for knowing how large the L1 portion of the transaction fee will be. The following events were deprecated with Bedrock: - event OverheadUpdated(uint256 overhead); - event ScalarUpdated(uint256 scalar); - event DecimalsUpdated(uint256 decimals);"},devdoc:{version:1,kind:"dev",methods:{"baseFee()":{returns:{_0:"Current L2 base fee."}},"baseFeeScalar()":{returns:{_0:"Current base fee scalar."}},"blobBaseFee()":{returns:{_0:"Current blob base fee."}},"blobBaseFeeScalar()":{returns:{_0:"Current blob base fee scalar."}},"decimals()":{returns:{_0:"Number of decimals used in the scalar."}},"gasPrice()":{returns:{_0:"Current L2 gas price (base fee)."}},"getL1Fee(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 fee for."},returns:{_0:"L1 fee that should be paid for the tx"}},"getL1GasUsed(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 gas for."},returns:{_0:"Amount of L1 gas used to publish the transaction."}},"l1BaseFee()":{returns:{_0:"Latest known L1 base fee."}},"overhead()":{returns:{_0:"Current fee overhead."}},"scalar()":{returns:{_0:"Current fee scalar."}}},title:"GasPriceOracle"},id:140}});var KKe=D((r6a,zHt)=>{zHt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"create",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_rootClaim",type:"bytes32",internalType:"Claim"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"proxy_",type:"address",internalType:"contract IDisputeGame"}],stateMutability:"payable"},{type:"function",name:"findLatestGames",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_start",type:"uint256",internalType:"uint256"},{name:"_n",type:"uint256",internalType:"uint256"}],outputs:[{name:"games_",type:"tuple[]",internalType:"struct IDisputeGameFactory.GameSearchResult[]",components:[{name:"index",type:"uint256",internalType:"uint256"},{name:"metadata",type:"bytes32",internalType:"GameId"},{name:"timestamp",type:"uint64",internalType:"Timestamp"},{name:"rootClaim",type:"bytes32",internalType:"Claim"},{name:"extraData",type:"bytes",internalType:"bytes"}]}],stateMutability:"view"},{type:"function",name:"gameAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"gameType_",type:"uint32",internalType:"GameType"},{name:"timestamp_",type:"uint64",internalType:"Timestamp"},{name:"proxy_",type:"address",internalType:"contract IDisputeGame"}],stateMutability:"view"},{type:"function",name:"gameCount",inputs:[],outputs:[{name:"gameCount_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"gameImpls",inputs:[{name:"",type:"uint32",internalType:"GameType"}],outputs:[{name:"",type:"address",internalType:"contract IDisputeGame"}],stateMutability:"view"},{type:"function",name:"games",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_rootClaim",type:"bytes32",internalType:"Claim"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"proxy_",type:"address",internalType:"contract IDisputeGame"},{name:"timestamp_",type:"uint64",internalType:"Timestamp"}],stateMutability:"view"},{type:"function",name:"getGameUUID",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_rootClaim",type:"bytes32",internalType:"Claim"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"uuid_",type:"bytes32",internalType:"Hash"}],stateMutability:"pure"},{type:"function",name:"initBonds",inputs:[{name:"",type:"uint32",internalType:"GameType"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_owner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceOwnership",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setImplementation",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_impl",type:"address",internalType:"contract IDisputeGame"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setInitBond",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_initBond",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"transferOwnership",inputs:[{name:"newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"DisputeGameCreated",inputs:[{name:"disputeProxy",type:"address",indexed:!0,internalType:"address"},{name:"gameType",type:"uint32",indexed:!0,internalType:"GameType"},{name:"rootClaim",type:"bytes32",indexed:!0,internalType:"Claim"}],anonymous:!1},{type:"event",name:"ImplementationSet",inputs:[{name:"impl",type:"address",indexed:!0,internalType:"address"},{name:"gameType",type:"uint32",indexed:!0,internalType:"GameType"}],anonymous:!1},{type:"event",name:"InitBondUpdated",inputs:[{name:"gameType",type:"uint32",indexed:!0,internalType:"GameType"},{name:"newBond",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnershipTransferred",inputs:[{name:"previousOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"GameAlreadyExists",inputs:[{name:"uuid",type:"bytes32",internalType:"Hash"}]},{type:"error",name:"IncorrectBondAmount",inputs:[]},{type:"error",name:"NoImplementation",inputs:[{name:"gameType",type:"uint32",internalType:"GameType"}]}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000292565b600054610100900460ff1615808015620000455750600054600160ff909116105b8062000075575062000062306200016260201b62000cdb1760201c565b15801562000075575060005460ff166001145b620000de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000102576000805461ff0019166101001790555b6200010c62000171565b6200011782620001d9565b80156200015e576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054610100900460ff16620001cd5760405162461bcd60e51b815260206004820152602b6024820152600080516020620017ff83398151915260448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b620001d76200022b565b565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16620002875760405162461bcd60e51b815260206004820152602b6024820152600080516020620017ff83398151915260448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b620001d733620001d9565b61155d80620002a26000396000f3fe6080604052600436106100e85760003560e01c80636593dc6e1161008a57806396cd97201161005957806396cd972014610313578063bb8aa1fc14610333578063c4d66de814610394578063f2fde38b146103b457600080fd5b80636593dc6e14610293578063715018a6146102c057806382ecf2f6146102d55780638da5cb5b146102e857600080fd5b8063254bd683116100c6578063254bd6831461019c5780634d1975b4146101c957806354fd4d50146101e85780635f0150cb1461023e57600080fd5b806314f6b1a3146100ed5780631b685b9e1461010f5780631e3342401461017c575b600080fd5b3480156100f957600080fd5b5061010d610108366004611098565b6103d4565b005b34801561011b57600080fd5b5061015261012a3660046110cf565b60656020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018857600080fd5b5061010d6101973660046110ea565b61045e565b3480156101a857600080fd5b506101bc6101b7366004611114565b6104aa565b60405161017391906111c1565b3480156101d557600080fd5b506068545b604051908152602001610173565b3480156101f457600080fd5b506102316040518060400160405280600581526020017f302e332e3000000000000000000000000000000000000000000000000000000081525081565b604051610173919061127e565b34801561024a57600080fd5b5061025e610259366004611291565b6106ee565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff909116602083015201610173565b34801561029f57600080fd5b506101da6102ae3660046110cf565b60666020526000908152604090205481565b3480156102cc57600080fd5b5061010d610741565b6101526102e3366004611291565b610755565b3480156102f457600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610152565b34801561031f57600080fd5b506101da61032e366004611291565b6109ed565b34801561033f57600080fd5b5061035361034e366004611318565b610a26565b6040805163ffffffff909416845267ffffffffffffffff909216602084015273ffffffffffffffffffffffffffffffffffffffff1690820152606001610173565b3480156103a057600080fd5b5061010d6103af366004611331565b610a88565b3480156103c057600080fd5b5061010d6103cf366004611331565b610c24565b6103dc610cf7565b63ffffffff821660008181526065602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8616908117909155905190917fff513d80e2c7fa487608f70a618dfbc0cf415699dc69588c747e8c71566c88de91a35050565b610466610cf7565b63ffffffff8216600081815260666020526040808220849055518392917f74d6665c4b26d5596a5aa13d3014e0c06af4d322075a797f87b03cd4c5bc91ca91a35050565b606854606090831015806104bc575081155b6106e7575060408051600583901b8101602001909152825b8381116106e5576000606882815481106104f0576104f061134e565b600091825260209091200154905060e081901c67ffffffffffffffff60a083901c1673ffffffffffffffffffffffffffffffffffffffff831660ff808a16908416036106b6576001865101865260008173ffffffffffffffffffffffffffffffffffffffff1663609d33346040518163ffffffff1660e01b8152600401600060405180830381865afa15801561058a573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526105d091908101906113ac565b905060008273ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106439190611477565b90506040518060a001604052808881526020018781526020018567ffffffffffffffff168152602001828152602001838152508860018a516106859190611490565b815181106106955761069561134e565b6020026020010181905250888851106106b3575050505050506106e5565b50505b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191506104d49050565b505b9392505050565b60008060006106ff878787876109ed565b60009081526067602052604090205473ffffffffffffffffffffffffffffffffffffffff81169860a09190911c67ffffffffffffffff16975095505050505050565b610749610cf7565b6107536000610d78565b565b63ffffffff841660009081526065602052604081205473ffffffffffffffffffffffffffffffffffffffff16806107c5576040517f031c6de400000000000000000000000000000000000000000000000000000000815263ffffffff871660048201526024015b60405180910390fd5b63ffffffff86166000908152606660205260409020543414610813576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610820600143611490565b4090506108888682878760405160200161083d94939291906114ce565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905273ffffffffffffffffffffffffffffffffffffffff841690610def565b92508273ffffffffffffffffffffffffffffffffffffffff16638129fc1c346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156108d257600080fd5b505af11580156108e6573d6000803e3d6000fd5b505050505060006108f9888888886109ed565b60008181526067602052604090205490915015610945576040517f014f6fe5000000000000000000000000000000000000000000000000000000008152600481018290526024016107bc565b60004260a01b60e08a901b178517600083815260676020526040808220839055606880546001810182559083527fa2153420d844928b4421650203c77babc8b33d7f2e7b450e2966db0c220977530183905551919250899163ffffffff8c169173ffffffffffffffffffffffffffffffffffffffff8916917f5b565efe82411da98814f356d0e7bcb8f0219b8d970307c5afb4a6903a8b2e359190a450505050949350505050565b600084848484604051602001610a0694939291906114ef565b604051602081830303815290604052805190602001209050949350505050565b6000806000610a7b60688581548110610a4157610a4161134e565b906000526020600020015460e081901c9160a082901c67ffffffffffffffff169173ffffffffffffffffffffffffffffffffffffffff1690565b9196909550909350915050565b600054610100900460ff1615808015610aa85750600054600160ff909116105b80610ac25750303b158015610ac2575060005460ff166001145b610b4e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016107bc565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610bac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610bb4610f23565b610bbd82610d78565b8015610c2057600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b610c2c610cf7565b73ffffffffffffffffffffffffffffffffffffffff8116610ccf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107bc565b610cd881610d78565b50565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60335473ffffffffffffffffffffffffffffffffffffffff163314610753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bc565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006002825101603f8101600a81036040518360581b8260e81b177f6100003d81600a3d39f3363d3d373d3d3d3d610000806035363936013d7300001781528660601b601e8201527f5af43d3d93803e603357fd5bf300000000000000000000000000000000000000603282015285519150603f8101602087015b60208410610ea757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09093019260209182019101610e6a565b517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602085900360031b1b16815260f085901b9083015282816000f0945084610f14577febfef1880000000000000000000000000000000000000000000000000000000060005260206000fd5b90910160405250909392505050565b600054610100900460ff16610fba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b610753600054610100900460ff16611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b61075333610d78565b803563ffffffff8116811461107157600080fd5b919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610cd857600080fd5b600080604083850312156110ab57600080fd5b6110b48361105d565b915060208301356110c481611076565b809150509250929050565b6000602082840312156110e157600080fd5b6106e78261105d565b600080604083850312156110fd57600080fd5b6111068361105d565b946020939093013593505050565b60008060006060848603121561112957600080fd5b6111328461105d565b95602085013595506040909401359392505050565b60005b8381101561116257818101518382015260200161114a565b83811115611171576000848401525b50505050565b6000815180845261118f816020860160208601611147565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015611270578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc001855281518051845287810151888501528681015167ffffffffffffffff16878501526060808201519085015260809081015160a09185018290529061125c81860183611177565b9689019694505050908601906001016111e8565b509098975050505050505050565b6020815260006106e76020830184611177565b600080600080606085870312156112a757600080fd5b6112b08561105d565b935060208501359250604085013567ffffffffffffffff808211156112d457600080fd5b818701915087601f8301126112e857600080fd5b8135818111156112f757600080fd5b88602082850101111561130957600080fd5b95989497505060200194505050565b60006020828403121561132a57600080fd5b5035919050565b60006020828403121561134357600080fd5b81356106e781611076565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156113be57600080fd5b815167ffffffffffffffff808211156113d657600080fd5b818401915084601f8301126113ea57600080fd5b8151818111156113fc576113fc61137d565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156114425761144261137d565b8160405282815287602084870101111561145b57600080fd5b61146c836020830160208801611147565b979650505050505050565b60006020828403121561148957600080fd5b5051919050565b6000828210156114c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b84815283602082015281836040830137600091016040019081529392505050565b63ffffffff8516815283602082015260606040820152816060820152818360808301376000818301608090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101939250505056fea164736f6c634300080f000a496e697469616c697a61626c653a20636f6e7472616374206973206e6f742069",sourceMap:"1011:6547:158:-:0;;;2002:74;;;;;;;;;-1:-1:-1;2047:22:158::1;2066:1;2047:10;:22::i;:::-;1011:6547:::0;;2173:124;3111:19:25;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;3197:12;;;;:16;3179:34;3178:108;;;;3220:44;3258:4;3220:29;;;;;:44;;:::i;:::-;3219:45;:66;;;;-1:-1:-1;3268:12:25;;;;;:17;3219:66;3157:201;;;;-1:-1:-1;;;3157:201:25;;216:2:350;3157:201:25;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3157:201:25;;;;;;;;;3368:12;:16;;-1:-1:-1;;3368:16:25;3383:1;3368:16;;;3394:65;;;;3428:13;:20;;-1:-1:-1;;3428:20:25;;;;;3394:65;2238:16:158::1;:14;:16::i;:::-;2264:26;2283:6:::0;2264:18:::1;:26::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;-1:-1:-1;;3513:21:25;;;3553:14;;-1:-1:-1;581:36:350;;3553:14:25;;569:2:350;554:18;3553:14:25;;;;;;;3479:99;3101:483;2173:124:158;:::o;1186:320:31:-;-1:-1:-1;;;;;1476:19:31;;:23;;;1186:320::o;1003:95:24:-;4910:13:25;;;;;;;4902:69;;;;-1:-1:-1;;;4902:69:25;;830:2:350;4902:69:25;;;812:21:350;869:2;849:18;;;842:30;-1:-1:-1;;;;;;;;;;;888:18:350;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4902:69:25;628:407:350;4902:69:25;1065:26:24::1;:24;:26::i;:::-;1003:95::o:0;2673:187::-;2765:6;;;-1:-1:-1;;;;;2781:17:24;;;-1:-1:-1;;;;;;2781:17:24;;;;;;;2813:40;;2765:6;;;2781:17;2765:6;;2813:40;;2746:16;;2813:40;2736:124;2673:187;:::o;1104:111::-;4910:13:25;;;;;;;4902:69;;;;-1:-1:-1;;;4902:69:25;;830:2:350;4902:69:25;;;812:21:350;869:2;849:18;;;842:30;-1:-1:-1;;;;;;;;;;;888:18:350;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4902:69:25;628:407:350;4902:69:25;1176:32:24::1;929:10:32::0;1176:18:24::1;:32::i;628:407:350:-:0;1011:6547:158;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106100e85760003560e01c80636593dc6e1161008a57806396cd97201161005957806396cd972014610313578063bb8aa1fc14610333578063c4d66de814610394578063f2fde38b146103b457600080fd5b80636593dc6e14610293578063715018a6146102c057806382ecf2f6146102d55780638da5cb5b146102e857600080fd5b8063254bd683116100c6578063254bd6831461019c5780634d1975b4146101c957806354fd4d50146101e85780635f0150cb1461023e57600080fd5b806314f6b1a3146100ed5780631b685b9e1461010f5780631e3342401461017c575b600080fd5b3480156100f957600080fd5b5061010d610108366004611098565b6103d4565b005b34801561011b57600080fd5b5061015261012a3660046110cf565b60656020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018857600080fd5b5061010d6101973660046110ea565b61045e565b3480156101a857600080fd5b506101bc6101b7366004611114565b6104aa565b60405161017391906111c1565b3480156101d557600080fd5b506068545b604051908152602001610173565b3480156101f457600080fd5b506102316040518060400160405280600581526020017f302e332e3000000000000000000000000000000000000000000000000000000081525081565b604051610173919061127e565b34801561024a57600080fd5b5061025e610259366004611291565b6106ee565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff909116602083015201610173565b34801561029f57600080fd5b506101da6102ae3660046110cf565b60666020526000908152604090205481565b3480156102cc57600080fd5b5061010d610741565b6101526102e3366004611291565b610755565b3480156102f457600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610152565b34801561031f57600080fd5b506101da61032e366004611291565b6109ed565b34801561033f57600080fd5b5061035361034e366004611318565b610a26565b6040805163ffffffff909416845267ffffffffffffffff909216602084015273ffffffffffffffffffffffffffffffffffffffff1690820152606001610173565b3480156103a057600080fd5b5061010d6103af366004611331565b610a88565b3480156103c057600080fd5b5061010d6103cf366004611331565b610c24565b6103dc610cf7565b63ffffffff821660008181526065602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8616908117909155905190917fff513d80e2c7fa487608f70a618dfbc0cf415699dc69588c747e8c71566c88de91a35050565b610466610cf7565b63ffffffff8216600081815260666020526040808220849055518392917f74d6665c4b26d5596a5aa13d3014e0c06af4d322075a797f87b03cd4c5bc91ca91a35050565b606854606090831015806104bc575081155b6106e7575060408051600583901b8101602001909152825b8381116106e5576000606882815481106104f0576104f061134e565b600091825260209091200154905060e081901c67ffffffffffffffff60a083901c1673ffffffffffffffffffffffffffffffffffffffff831660ff808a16908416036106b6576001865101865260008173ffffffffffffffffffffffffffffffffffffffff1663609d33346040518163ffffffff1660e01b8152600401600060405180830381865afa15801561058a573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526105d091908101906113ac565b905060008273ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106439190611477565b90506040518060a001604052808881526020018781526020018567ffffffffffffffff168152602001828152602001838152508860018a516106859190611490565b815181106106955761069561134e565b6020026020010181905250888851106106b3575050505050506106e5565b50505b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191506104d49050565b505b9392505050565b60008060006106ff878787876109ed565b60009081526067602052604090205473ffffffffffffffffffffffffffffffffffffffff81169860a09190911c67ffffffffffffffff16975095505050505050565b610749610cf7565b6107536000610d78565b565b63ffffffff841660009081526065602052604081205473ffffffffffffffffffffffffffffffffffffffff16806107c5576040517f031c6de400000000000000000000000000000000000000000000000000000000815263ffffffff871660048201526024015b60405180910390fd5b63ffffffff86166000908152606660205260409020543414610813576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610820600143611490565b4090506108888682878760405160200161083d94939291906114ce565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905273ffffffffffffffffffffffffffffffffffffffff841690610def565b92508273ffffffffffffffffffffffffffffffffffffffff16638129fc1c346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156108d257600080fd5b505af11580156108e6573d6000803e3d6000fd5b505050505060006108f9888888886109ed565b60008181526067602052604090205490915015610945576040517f014f6fe5000000000000000000000000000000000000000000000000000000008152600481018290526024016107bc565b60004260a01b60e08a901b178517600083815260676020526040808220839055606880546001810182559083527fa2153420d844928b4421650203c77babc8b33d7f2e7b450e2966db0c220977530183905551919250899163ffffffff8c169173ffffffffffffffffffffffffffffffffffffffff8916917f5b565efe82411da98814f356d0e7bcb8f0219b8d970307c5afb4a6903a8b2e359190a450505050949350505050565b600084848484604051602001610a0694939291906114ef565b604051602081830303815290604052805190602001209050949350505050565b6000806000610a7b60688581548110610a4157610a4161134e565b906000526020600020015460e081901c9160a082901c67ffffffffffffffff169173ffffffffffffffffffffffffffffffffffffffff1690565b9196909550909350915050565b600054610100900460ff1615808015610aa85750600054600160ff909116105b80610ac25750303b158015610ac2575060005460ff166001145b610b4e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016107bc565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610bac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610bb4610f23565b610bbd82610d78565b8015610c2057600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b610c2c610cf7565b73ffffffffffffffffffffffffffffffffffffffff8116610ccf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107bc565b610cd881610d78565b50565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60335473ffffffffffffffffffffffffffffffffffffffff163314610753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bc565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006002825101603f8101600a81036040518360581b8260e81b177f6100003d81600a3d39f3363d3d373d3d3d3d610000806035363936013d7300001781528660601b601e8201527f5af43d3d93803e603357fd5bf300000000000000000000000000000000000000603282015285519150603f8101602087015b60208410610ea757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09093019260209182019101610e6a565b517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602085900360031b1b16815260f085901b9083015282816000f0945084610f14577febfef1880000000000000000000000000000000000000000000000000000000060005260206000fd5b90910160405250909392505050565b600054610100900460ff16610fba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b610753600054610100900460ff16611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b61075333610d78565b803563ffffffff8116811461107157600080fd5b919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610cd857600080fd5b600080604083850312156110ab57600080fd5b6110b48361105d565b915060208301356110c481611076565b809150509250929050565b6000602082840312156110e157600080fd5b6106e78261105d565b600080604083850312156110fd57600080fd5b6111068361105d565b946020939093013593505050565b60008060006060848603121561112957600080fd5b6111328461105d565b95602085013595506040909401359392505050565b60005b8381101561116257818101518382015260200161114a565b83811115611171576000848401525b50505050565b6000815180845261118f816020860160208601611147565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015611270578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc001855281518051845287810151888501528681015167ffffffffffffffff16878501526060808201519085015260809081015160a09185018290529061125c81860183611177565b9689019694505050908601906001016111e8565b509098975050505050505050565b6020815260006106e76020830184611177565b600080600080606085870312156112a757600080fd5b6112b08561105d565b935060208501359250604085013567ffffffffffffffff808211156112d457600080fd5b818701915087601f8301126112e857600080fd5b8135818111156112f757600080fd5b88602082850101111561130957600080fd5b95989497505060200194505050565b60006020828403121561132a57600080fd5b5035919050565b60006020828403121561134357600080fd5b81356106e781611076565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156113be57600080fd5b815167ffffffffffffffff808211156113d657600080fd5b818401915084601f8301126113ea57600080fd5b8151818111156113fc576113fc61137d565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156114425761144261137d565b8160405282815287602084870101111561145b57600080fd5b61146c836020830160208801611147565b979650505050505050565b60006020828403121561148957600080fd5b5051919050565b6000828210156114c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b84815283602082015281836040830137600091016040019081529392505050565b63ffffffff8516815283602082015260606040820152816060820152818360808301376000818301608090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101939250505056fea164736f6c634300080f000a",sourceMap:"1011:6547:158:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7140:190;;;;;;;;;;-1:-1:-1;7140:190:158;;;;;:::i;:::-;;:::i;:::-;;1375:50;;;;;;;;;;-1:-1:-1;1375:50:158;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1233:42:350;1221:55;;;1203:74;;1191:2;1176:18;1375:50:158;;;;;;;;7376:180;;;;;;;;;;-1:-1:-1;7376:180:158;;;;;:::i;:::-;;:::i;5165:1929::-;;;;;;;;;;-1:-1:-1;5165:1929:158;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2343:117::-;;;;;;;;;;-1:-1:-1;2430:16:158;:23;2343:117;;;4092:25:350;;;4080:2;4065:18;2343:117:158;3946:177:350;1288:40:158;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2506:342::-;;;;;;;;;;-1:-1:-1;2506:342:158;;;;;:::i;:::-;;:::i;:::-;;;;5425:42:350;5413:55;;;5395:74;;5517:18;5505:31;;;5500:2;5485:18;;5478:59;5368:18;2506:342:158;5169:374:350;1472:45:158;;;;;;;;;;-1:-1:-1;1472:45:158;;;;;:::i;:::-;;;;;;;;;;;;;;2071:101:24;;;;;;;;;;;;;:::i;3175:1629:158:-;;;;;;:::i;:::-;;:::i;1441:85:24:-;;;;;;;;;;-1:-1:-1;1513:6:24;;;;1441:85;;4850:269:158;;;;;;;;;;-1:-1:-1;4850:269:158;;;;;:::i;:::-;;:::i;2894:235::-;;;;;;;;;;-1:-1:-1;2894:235:158;;;;;:::i;:::-;;:::i;:::-;;;;6485:10:350;6473:23;;;6455:42;;6545:18;6533:31;;;6528:2;6513:18;;6506:59;6613:42;6601:55;6581:18;;;6574:83;6443:2;6428:18;2894:235:158;6172:491:350;2173:124:158;;;;;;;;;;-1:-1:-1;2173:124:158;;;;;:::i;:::-;;:::i;2321:198:24:-;;;;;;;;;;-1:-1:-1;2321:198:24;;;;;:::i;:::-;;:::i;7140:190:158:-;1334:13:24;:11;:13::i;:::-;7236:20:158::1;::::0;::::1;;::::0;;;:9:::1;:20;::::0;;;;;:28;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;7279:44;;7236:28;;7279:44:::1;::::0;::::1;7140:190:::0;;:::o;7376:180::-;1334:13:24;:11;:13::i;:::-;7465:20:158::1;::::0;::::1;;::::0;;;:9:::1;:20;::::0;;;;;:32;;;7512:37;7488:9;;7465:20;7512:37:::1;::::0;::::1;7376:180:::0;;:::o;5165:1929::-;5497:16;:23;5315:32;;5487:33;;;;:44;;-1:-1:-1;5524:7:158;;5487:44;5533:13;5483:63;-1:-1:-1;5803:4:158;5797:11;;5860:4;5856:13;;;5834:37;;5850:4;5834:37;5821:51;;;6004:6;5987:1101;6027:6;6022:1;:11;5987:1101;;6050:9;6062:16;6079:1;6062:19;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;1277:3:169;1273:17;;;1340:18;1325:3;1321:17;;;1317:42;1399;1386:56;;6188:33:158;;;;;;;;6184:834;;6546:4;6537:6;6531:13;6527:24;6519:6;6512:40;6588:22;6613:5;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6588:42;;6648:15;6666:5;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6648:35;;6729:226;;;;;;;;6775:1;6729:226;;;;6808:2;6729:226;;;;6843:9;6729:226;;;;;;6885:9;6729:226;;;;6927:9;6729:226;;;6701:6;6724:1;6708:6;:13;:17;;;;:::i;:::-;6701:25;;;;;;;;:::i;:::-;;;;;;:254;;;;6994:2;6977:6;:13;:19;6973:30;;6998:5;;;;;;;;6973:30;6223:795;;6184:834;-1:-1:-1;;7060:3:158;;;;;-1:-1:-1;5987:1101:158;;-1:-1:-1;5987:1101:158;;;5165:1929;;;;;;:::o;2506:342::-;2663:19;2684:20;2720:9;2732:46;2744:9;2755:10;2767;;2732:11;:46::i;:::-;2813:19;;;;:13;:19;;;;;;1399:42:169;1386:56;;;1325:3;1321:17;;;;1340:18;1317:42;;-1:-1:-1;2788:53:158;-1:-1:-1;;;;;;2506:342:158:o;2071:101:24:-;1334:13;:11;:13::i;:::-;2135:30:::1;2162:1;2135:18;:30::i;:::-;2071:101::o:0;3175:1629:158:-;3461:20;;;3336:19;3461:20;;;:9;:20;;;;;;;;;3576:67;;3616:27;;;;;8964:10:350;8952:23;;3616:27:158;;;8934:42:350;8907:18;;3616:27:158;;;;;;;;3576:67;3738:20;;;;;;;:9;:20;;;;;;3725:9;:33;3721:67;;3767:21;;;;;;;;;;;;;;3721:67;3844:18;3875:16;3890:1;3875:12;:16;:::i;:::-;3865:27;3844:48;;4015:73;4052:10;4064;4076;;4035:52;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;4015:19;;;;;:73::i;:::-;3993:96;;4099:6;:17;;;4125:9;4099:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4212:9;4224:46;4236:9;4247:10;4259;;4224:11;:46::i;:::-;4403:1;4371:19;;;:13;:19;;;;;;4212:58;;-1:-1:-1;4357:48:158;4353:84;;4414:23;;;;;;;;4092:25:350;;;4065:18;;4414:23:158;3946:177:350;4353:84:158;4477:9;4537:15;767:3:169;763:20;746:3;742:19;;;739:45;736:61;;4665:19:158;;;;:13;:19;;;;;;:24;;;4699:16;:25;;;;;;;;;;;;;;;4739:58;4477:86;;-1:-1:-1;4786:10:158;;4739:58;;;;;;;;;;4665:19;4739:58;3361:1443;;;;3175:1629;;;;;;:::o;4850:269::-;5011:10;5076:9;5087:10;5099;;5065:45;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5055:56;;;;;;5037:75;;4850:269;;;;;;:::o;2894:235::-;2978:18;2998:20;3020:19;3089:33;:16;3106:6;3089:24;;;;;;;;:::i;:::-;;;;;;;;;1277:3:169;1273:17;;;;1325:3;1321:17;;;1340:18;1317:42;;1399;1386:56;;1077:381;3089:33:158;3055:67;;;;-1:-1:-1;3055:67:158;;-1:-1:-1;2894:235:158;-1:-1:-1;;2894:235:158:o;2173:124::-;3111:19:25;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;3197:12;;;;:16;3179:34;3178:108;;;-1:-1:-1;3258:4:25;1476:19:31;:23;;;3219:66:25;;-1:-1:-1;3268:12:25;;;;;:17;3219:66;3157:201;;;;;;;10301:2:350;3157:201:25;;;10283:21:350;10340:2;10320:18;;;10313:30;10379:34;10359:18;;;10352:62;10450:16;10430:18;;;10423:44;10484:19;;3157:201:25;10099:410:350;3157:201:25;3368:12;:16;;;;3383:1;3368:16;;;3394:65;;;;3428:13;:20;;;;;;;;3394:65;2238:16:158::1;:14;:16::i;:::-;2264:26;2283:6;2264:18;:26::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;;;;;3553:14;;-1:-1:-1;10666:36:350;;3553:14:25;;10654:2:350;10639:18;3553:14:25;;;;;;;3479:99;3101:483;2173:124:158;:::o;2321:198:24:-;1334:13;:11;:13::i;:::-;2409:22:::1;::::0;::::1;2401:73;;;::::0;::::1;::::0;;10915:2:350;2401:73:24::1;::::0;::::1;10897:21:350::0;10954:2;10934:18;;;10927:30;10993:34;10973:18;;;10966:62;11064:8;11044:18;;;11037:36;11090:19;;2401:73:24::1;10713:402:350::0;2401:73:24::1;2484:28;2503:8;2484:18;:28::i;:::-;2321:198:::0;:::o;1186:320:31:-;1476:19;;;:23;;;1186:320::o;1599:130:24:-;1513:6;;1662:23;1513:6;929:10:32;1662:23:24;1654:68;;;;;;;11322:2:350;1654:68:24;;;11304:21:350;;;11341:18;;;11334:30;11400:34;11380:18;;;11373:62;11452:18;;1654:68:24;11120:356:350;2673:187:24;2765:6;;;;2781:17;;;;;;;;;;;2813:40;;2765:6;;;2781:17;2765:6;;2813:40;;2746:16;;2813:40;2736:124;2673:187;:::o;990:7567:0:-;1082:24;1309:1;1302:4;1296:11;1292:19;1429:16;1416:11;1412:34;1492:4;1478:12;1474:23;1563:24;1557:31;6751:11;6745:4;6741:22;6707:7;6701:4;6697:18;6669:116;6559:88;6535:268;6514:3;6490:327;6909:14;6903:4;6899:25;6876:4;6871:3;6867:14;6843:95;7008:42;6985:4;6980:3;6976:14;6952:112;7478:4;7472:11;7457:26;;7520:16;7515:3;7511:26;7575:8;7569:4;7565:19;7598:318;7646:8;7637:7;7634:21;7678:5;7631:70;7735:14;;7719:31;;7880:22;;;;;7792:8;7779:22;;;;7829;7598:318;;;8087:14;8028:11;7990:8;7986:22;;;7983:1;7979:30;7958:95;8083:25;8067:42;;8187:4;8183:22;;;8133:21;;;8167:39;8247:12;8242:3;8239:1;8232:28;8220:40;;8284:8;8274:155;;8361:17;8358:1;8351:28;8406:8;8403:1;8396:19;8274:155;8518:22;;;8492:24;8485:56;-1:-1:-1;990:7567:0;;;-1:-1:-1;;;990:7567:0:o;1003:95:24:-;4910:13:25;;;;;;;4902:69;;;;;;;11683:2:350;4902:69:25;;;11665:21:350;11722:2;11702:18;;;11695:30;11761:34;11741:18;;;11734:62;11832:13;11812:18;;;11805:41;11863:19;;4902:69:25;11481:407:350;4902:69:25;1065:26:24::1;4910:13:25::0;;;;;;;4902:69;;;;;;;11683:2:350;4902:69:25;;;11665:21:350;11722:2;11702:18;;;11695:30;11761:34;11741:18;;;11734:62;11832:13;11812:18;;;11805:41;11863:19;;4902:69:25;11481:407:350;4902:69:25;1176:32:24::1;929:10:32::0;1176:18:24::1;:32::i;14:186:350:-:0;104:20;;164:10;153:22;;143:33;;133:61;;190:1;187;180:12;133:61;14:186;;;:::o;205:168::-;305:42;298:5;294:54;287:5;284:65;274:93;;363:1;360;353:12;378:409;498:6;506;559:2;547:9;538:7;534:23;530:32;527:52;;;575:1;572;565:12;527:52;598:51;639:9;598:51;:::i;:::-;588:61;;699:2;688:9;684:18;671:32;712:45;751:5;712:45;:::i;:::-;776:5;766:15;;;378:409;;;;;:::o;792:238::-;881:6;934:2;922:9;913:7;909:23;905:32;902:52;;;950:1;947;940:12;902:52;973:51;1014:9;973:51;:::i;1288:306::-;1386:6;1394;1447:2;1435:9;1426:7;1422:23;1418:32;1415:52;;;1463:1;1460;1453:12;1415:52;1486:51;1527:9;1486:51;:::i;:::-;1476:61;1584:2;1569:18;;;;1556:32;;-1:-1:-1;;;1288:306:350:o;1599:374::-;1706:6;1714;1722;1775:2;1763:9;1754:7;1750:23;1746:32;1743:52;;;1791:1;1788;1781:12;1743:52;1814:51;1855:9;1814:51;:::i;:::-;1804:61;1912:2;1897:18;;1884:32;;-1:-1:-1;1963:2:350;1948:18;;;1935:32;;1599:374;-1:-1:-1;;;1599:374:350:o;1978:258::-;2050:1;2060:113;2074:6;2071:1;2068:13;2060:113;;;2150:11;;;2144:18;2131:11;;;2124:39;2096:2;2089:10;2060:113;;;2191:6;2188:1;2185:13;2182:48;;;2226:1;2217:6;2212:3;2208:16;2201:27;2182:48;;1978:258;;;:::o;2241:316::-;2282:3;2320:5;2314:12;2347:6;2342:3;2335:19;2363:63;2419:6;2412:4;2407:3;2403:14;2396:4;2389:5;2385:16;2363:63;:::i;:::-;2471:2;2459:15;2476:66;2455:88;2446:98;;;;2546:4;2442:109;;2241:316;-1:-1:-1;;2241:316:350:o;2562:1379::-;2774:4;2803:2;2843;2832:9;2828:18;2873:2;2862:9;2855:21;2896:6;2931;2925:13;2962:6;2954;2947:22;2988:2;2978:12;;3021:2;3010:9;3006:18;2999:25;;3083:2;3073:6;3070:1;3066:14;3055:9;3051:30;3047:39;3121:2;3113:6;3109:15;3142:1;3152:760;3166:6;3163:1;3160:13;3152:760;;;3231:22;;;3255:66;3227:95;3215:108;;3346:13;;3414:9;;3399:25;;3467:11;;;3461:18;3444:15;;;3437:43;3527:11;;;3521:18;3541;3517:43;3500:15;;;3493:68;3584:4;3631:11;;;3625:18;3608:15;;;3601:43;3667:4;3710:11;;;3704:18;3382:4;3742:15;;;3735:27;;;3704:18;3785:47;3816:15;;;3704:18;3785:47;:::i;:::-;3890:12;;;;3775:57;-1:-1:-1;;;3855:15:350;;;;3188:1;3181:9;3152:760;;;-1:-1:-1;3929:6:350;;2562:1379;-1:-1:-1;;;;;;;;2562:1379:350:o;4128:219::-;4277:2;4266:9;4259:21;4240:4;4297:44;4337:2;4326:9;4322:18;4314:6;4297:44;:::i;4352:812::-;4497:6;4505;4513;4521;4574:2;4562:9;4553:7;4549:23;4545:32;4542:52;;;4590:1;4587;4580:12;4542:52;4613:51;4654:9;4613:51;:::i;:::-;4603:61;;4711:2;4700:9;4696:18;4683:32;4673:42;;4766:2;4755:9;4751:18;4738:32;4789:18;4830:2;4822:6;4819:14;4816:34;;;4846:1;4843;4836:12;4816:34;4884:6;4873:9;4869:22;4859:32;;4929:7;4922:4;4918:2;4914:13;4910:27;4900:55;;4951:1;4948;4941:12;4900:55;4991:2;4978:16;5017:2;5009:6;5006:14;5003:34;;;5033:1;5030;5023:12;5003:34;5078:7;5073:2;5064:6;5060:2;5056:15;5052:24;5049:37;5046:57;;;5099:1;5096;5089:12;5046:57;4352:812;;;;-1:-1:-1;;5130:2:350;5122:11;;-1:-1:-1;;;4352:812:350:o;5987:180::-;6046:6;6099:2;6087:9;6078:7;6074:23;6070:32;6067:52;;;6115:1;6112;6105:12;6067:52;-1:-1:-1;6138:23:350;;5987:180;-1:-1:-1;5987:180:350:o;6668:261::-;6727:6;6780:2;6768:9;6759:7;6755:23;6751:32;6748:52;;;6796:1;6793;6786:12;6748:52;6835:9;6822:23;6854:45;6893:5;6854:45;:::i;6934:184::-;6986:77;6983:1;6976:88;7083:4;7080:1;7073:15;7107:4;7104:1;7097:15;7123:184;7175:77;7172:1;7165:88;7272:4;7269:1;7262:15;7296:4;7293:1;7286:15;7312:942;7391:6;7444:2;7432:9;7423:7;7419:23;7415:32;7412:52;;;7460:1;7457;7450:12;7412:52;7493:9;7487:16;7522:18;7563:2;7555:6;7552:14;7549:34;;;7579:1;7576;7569:12;7549:34;7617:6;7606:9;7602:22;7592:32;;7662:7;7655:4;7651:2;7647:13;7643:27;7633:55;;7684:1;7681;7674:12;7633:55;7713:2;7707:9;7735:2;7731;7728:10;7725:36;;;7741:18;;:::i;:::-;7875:2;7869:9;7937:4;7929:13;;7780:66;7925:22;;;7949:2;7921:31;7917:40;7905:53;;;7973:18;;;7993:22;;;7970:46;7967:72;;;8019:18;;:::i;:::-;8059:10;8055:2;8048:22;8094:2;8086:6;8079:18;8134:7;8129:2;8124;8120;8116:11;8112:20;8109:33;8106:53;;;8155:1;8152;8145:12;8106:53;8168:55;8220:2;8215;8207:6;8203:15;8198:2;8194;8190:11;8168:55;:::i;:::-;8242:6;7312:942;-1:-1:-1;;;;;;;7312:942:350:o;8259:211::-;8356:6;8409:2;8397:9;8388:7;8384:23;8380:32;8377:52;;;8425:1;8422;8415:12;8377:52;-1:-1:-1;8448:16:350;;8259:211;-1:-1:-1;8259:211:350:o;8475:279::-;8515:4;8543:1;8540;8537:8;8534:188;;;8578:77;8575:1;8568:88;8679:4;8676:1;8669:15;8707:4;8704:1;8697:15;8534:188;-1:-1:-1;8739:9:350;;8475:279::o;8987:437::-;9239:6;9234:3;9227:19;9276:6;9271:2;9266:3;9262:12;9255:28;9327:6;9319;9314:2;9309:3;9305:12;9292:42;9209:3;9357:16;;9375:2;9353:25;9387:13;;;9353:25;8987:437;-1:-1:-1;;;8987:437:350:o;9429:665::-;9710:10;9702:6;9698:23;9687:9;9680:42;9758:6;9753:2;9742:9;9738:18;9731:34;9801:2;9796;9785:9;9781:18;9774:30;9840:6;9835:2;9824:9;9820:18;9813:34;9898:6;9890;9884:3;9873:9;9869:19;9856:49;9955:1;9925:22;;;9949:3;9921:32;;;9914:43;;;;10009:2;9997:15;;;10014:66;9993:88;9978:104;9974:114;;9429:665;-1:-1:-1;;;9429:665:350:o",linkReferences:{}},methodIdentifiers:{"create(uint32,bytes32,bytes)":"82ecf2f6","findLatestGames(uint32,uint256,uint256)":"254bd683","gameAtIndex(uint256)":"bb8aa1fc","gameCount()":"4d1975b4","gameImpls(uint32)":"1b685b9e","games(uint32,bytes32,bytes)":"5f0150cb","getGameUUID(uint32,bytes32,bytes)":"96cd9720","initBonds(uint32)":"6593dc6e","initialize(address)":"c4d66de8","owner()":"8da5cb5b","renounceOwnership()":"715018a6","setImplementation(uint32,address)":"14f6b1a3","setInitBond(uint32,uint256)":"1e334240","transferOwnership(address)":"f2fde38b","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"Hash","name":"uuid","type":"bytes32"}],"name":"GameAlreadyExists","type":"error"},{"inputs":[],"name":"IncorrectBondAmount","type":"error"},{"inputs":[{"internalType":"GameType","name":"gameType","type":"uint32"}],"name":"NoImplementation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"disputeProxy","type":"address"},{"indexed":true,"internalType":"GameType","name":"gameType","type":"uint32"},{"indexed":true,"internalType":"Claim","name":"rootClaim","type":"bytes32"}],"name":"DisputeGameCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"impl","type":"address"},{"indexed":true,"internalType":"GameType","name":"gameType","type":"uint32"}],"name":"ImplementationSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"GameType","name":"gameType","type":"uint32"},{"indexed":true,"internalType":"uint256","name":"newBond","type":"uint256"}],"name":"InitBondUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_rootClaim","type":"bytes32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"create","outputs":[{"internalType":"contract IDisputeGame","name":"proxy_","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_n","type":"uint256"}],"name":"findLatestGames","outputs":[{"components":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"GameId","name":"metadata","type":"bytes32"},{"internalType":"Timestamp","name":"timestamp","type":"uint64"},{"internalType":"Claim","name":"rootClaim","type":"bytes32"},{"internalType":"bytes","name":"extraData","type":"bytes"}],"internalType":"struct IDisputeGameFactory.GameSearchResult[]","name":"games_","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"gameAtIndex","outputs":[{"internalType":"GameType","name":"gameType_","type":"uint32"},{"internalType":"Timestamp","name":"timestamp_","type":"uint64"},{"internalType":"contract IDisputeGame","name":"proxy_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameCount","outputs":[{"internalType":"uint256","name":"gameCount_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"","type":"uint32"}],"name":"gameImpls","outputs":[{"internalType":"contract IDisputeGame","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_rootClaim","type":"bytes32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"games","outputs":[{"internalType":"contract IDisputeGame","name":"proxy_","type":"address"},{"internalType":"Timestamp","name":"timestamp_","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_rootClaim","type":"bytes32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"getGameUUID","outputs":[{"internalType":"Hash","name":"uuid_","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"GameType","name":"","type":"uint32"}],"name":"initBonds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"contract IDisputeGame","name":"_impl","type":"address"}],"name":"setImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"uint256","name":"_initBond","type":"uint256"}],"name":"setInitBond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"errors":{"GameAlreadyExists(bytes32)":[{"params":{"uuid":"The UUID of the dispute game that already exists."}}],"NoImplementation(uint32)":[{"params":{"gameType":"The unsupported game type."}}]},"kind":"dev","methods":{"create(uint32,bytes32,bytes)":{"params":{"_extraData":"Any extra data that should be provided to the created dispute game.","_gameType":"The type of the DisputeGame - used to decide the proxy implementation.","_rootClaim":"The root claim of the DisputeGame."},"returns":{"proxy_":"The address of the created DisputeGame proxy."}},"findLatestGames(uint32,uint256,uint256)":{"params":{"_gameType":"The type of game to find.","_n":"The number of games to find.","_start":"The index to start the reverse search from."}},"gameAtIndex(uint256)":{"params":{"_index":"The index of the dispute game."},"returns":{"gameType_":"The type of the DisputeGame - used to decide the proxy implementation.","proxy_":"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.","timestamp_":"The timestamp of the creation of the dispute game."}},"gameCount()":{"returns":{"gameCount_":"The total number of dispute games created by this factory."}},"games(uint32,bytes32,bytes)":{"details":"`++` equates to concatenation.","params":{"_extraData":"Any extra data that should be provided to the created dispute game.","_gameType":"The type of the DisputeGame - used to decide the proxy implementation","_rootClaim":"The root claim of the DisputeGame."},"returns":{"proxy_":"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.","timestamp_":"The timestamp of the creation of the dispute game."}},"getGameUUID(uint32,bytes32,bytes)":{"details":"Hashes the concatenation of `gameType . rootClaim . extraData` without expanding memory.","params":{"_extraData":"Any extra data that should be provided to the created dispute game.","_gameType":"The type of the DisputeGame.","_rootClaim":"The root claim of the DisputeGame."},"returns":{"uuid_":"The unique identifier for the given dispute game parameters."}},"initialize(address)":{"params":{"_owner":"The owner of the contract."}},"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setImplementation(uint32,address)":{"details":"May only be called by the `owner`.","params":{"_gameType":"The type of the DisputeGame.","_impl":"The implementation contract for the given `GameType`."}},"setInitBond(uint32,uint256)":{"details":"May only be called by the `owner`.","params":{"_gameType":"The type of the DisputeGame.","_initBond":"The bond (in wei) for initializing a game type."}},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"stateVariables":{"gameImpls":{"params":{"_gameType":"The type of the dispute game."},"return":"The address of the implementation of the game type. Will be cloned on creation of a new dispute game with the given `gameType`.","returns":{"_0":"The address of the implementation of the game type. Will be cloned on creation of a new dispute game with the given `gameType`."}},"initBonds":{"params":{"_gameType":"The type of the dispute game."},"return":"The required bond for initializing a dispute game of the given type.","returns":{"_0":"The required bond for initializing a dispute game of the given type."}},"version":{"custom:semver":"0.3.0"}},"title":"DisputeGameFactory","version":1},"userdoc":{"errors":{"GameAlreadyExists(bytes32)":[{"notice":"Thrown when a dispute game that already exists is attempted to be created."}],"IncorrectBondAmount()":[{"notice":"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"NoImplementation(uint32)":[{"notice":"Thrown when a dispute game is attempted to be created with an unsupported game type."}]},"events":{"DisputeGameCreated(address,uint32,bytes32)":{"notice":"Emitted when a new dispute game is created"},"ImplementationSet(address,uint32)":{"notice":"Emitted when a new game implementation added to the factory"},"InitBondUpdated(uint32,uint256)":{"notice":"Emitted when a game type\'s initialization bond is updated"}},"kind":"user","methods":{"constructor":{"notice":"Constructs a new DisputeGameFactory contract."},"create(uint32,bytes32,bytes)":{"notice":"Creates a new DisputeGame proxy contract."},"findLatestGames(uint32,uint256,uint256)":{"notice":"Finds the `_n` most recent `GameId`\'s of type `_gameType` starting at `_start`. If there are less than `_n` games of type `_gameType` starting at `_start`, then the returned array will be shorter than `_n`."},"gameAtIndex(uint256)":{"notice":"`gameAtIndex` returns the dispute game contract address and its creation timestamp at the given index. Each created dispute game increments the underlying index."},"gameCount()":{"notice":"The total number of dispute games created by this factory."},"gameImpls(uint32)":{"notice":"`gameImpls` is a mapping that maps `GameType`s to their respective `IDisputeGame` implementations."},"games(uint32,bytes32,bytes)":{"notice":"`games` queries an internal mapping that maps the hash of `gameType ++ rootClaim ++ extraData` to the deployed `DisputeGame` clone."},"getGameUUID(uint32,bytes32,bytes)":{"notice":"Returns a unique identifier for the given dispute game parameters."},"initBonds(uint32)":{"notice":"Returns the required bonds for initializing a dispute game of the given type."},"initialize(address)":{"notice":"Initializes the contract."},"setImplementation(uint32,address)":{"notice":"Sets the implementation contract for a specific `GameType`."},"setInitBond(uint32,uint256)":{"notice":"Sets the bond (in wei) for initializing a game type."},"version()":{"notice":"Semantic version."}},"notice":"A factory contract for creating `IDisputeGame` contracts. All created dispute games are stored in both a mapping and an append only array. The timestamp of the creation time of the dispute game is packed tightly into the storage slot with the address of the dispute game to make offchain discoverability of playable dispute games easier.","version":1}},"settings":{"compilationTarget":{"src/dispute/DisputeGameFactory.sol":"DisputeGameFactory"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/clones-with-immutable-args/src/ClonesWithImmutableArgs.sol":{"keccak256":"0x220db41bfceb0146f86e9be87d3d954fd1d52eadcb3bbfc5cd89e5543a46fd1e","license":"BSD","urls":["bzz-raw://19155470db05e2e67a8c14f21cc903bb4833d8e5d248c2183073320c8a595705","dweb:/ipfs/QmTchpXE8MMH1XcYxaZvx64UiVzBatbWy7Sw5HFhVJJjxi"]},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"src/dispute/DisputeGameFactory.sol":{"keccak256":"0xa1d8ad31246172e0d1d16dcc247de1f4a68d92db34392f6b949c37e571540bc0","license":"MIT","urls":["bzz-raw://f9ea03e06d9afafcda57fb9beb590f25a59d5252ec339a1f1b2997b5a6dd3ab8","dweb:/ipfs/QmQnoyRoJzizpitL5JjBE37fr9Sm7NHhLeYTtNJt5iB6nv"]},"src/dispute/interfaces/IDisputeGame.sol":{"keccak256":"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6","license":"MIT","urls":["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"]},"src/dispute/interfaces/IDisputeGameFactory.sol":{"keccak256":"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda","license":"MIT","urls":["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"]},"src/dispute/interfaces/IInitializable.sol":{"keccak256":"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc","license":"MIT","urls":["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"]},"src/dispute/lib/LibGameId.sol":{"keccak256":"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6","license":"MIT","urls":["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"]},"src/dispute/lib/LibHashing.sol":{"keccak256":"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b","license":"MIT","urls":["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"]},"src/dispute/lib/LibPosition.sol":{"keccak256":"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504","license":"MIT","urls":["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"]},"src/dispute/lib/LibUDT.sol":{"keccak256":"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c","license":"MIT","urls":["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"]},"src/libraries/DisputeErrors.sol":{"keccak256":"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f","license":"MIT","urls":["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"]},"src/libraries/DisputeTypes.sol":{"keccak256":"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6","license":"MIT","urls":["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"Hash",name:"uuid",type:"bytes32"}],type:"error",name:"GameAlreadyExists"},{inputs:[],type:"error",name:"IncorrectBondAmount"},{inputs:[{internalType:"GameType",name:"gameType",type:"uint32"}],type:"error",name:"NoImplementation"},{inputs:[{internalType:"address",name:"disputeProxy",type:"address",indexed:!0},{internalType:"GameType",name:"gameType",type:"uint32",indexed:!0},{internalType:"Claim",name:"rootClaim",type:"bytes32",indexed:!0}],type:"event",name:"DisputeGameCreated",anonymous:!1},{inputs:[{internalType:"address",name:"impl",type:"address",indexed:!0},{internalType:"GameType",name:"gameType",type:"uint32",indexed:!0}],type:"event",name:"ImplementationSet",anonymous:!1},{inputs:[{internalType:"GameType",name:"gameType",type:"uint32",indexed:!0},{internalType:"uint256",name:"newBond",type:"uint256",indexed:!0}],type:"event",name:"InitBondUpdated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"previousOwner",type:"address",indexed:!0},{internalType:"address",name:"newOwner",type:"address",indexed:!0}],type:"event",name:"OwnershipTransferred",anonymous:!1},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_rootClaim",type:"bytes32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"create",outputs:[{internalType:"contract IDisputeGame",name:"proxy_",type:"address"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"uint256",name:"_start",type:"uint256"},{internalType:"uint256",name:"_n",type:"uint256"}],stateMutability:"view",type:"function",name:"findLatestGames",outputs:[{internalType:"struct IDisputeGameFactory.GameSearchResult[]",name:"games_",type:"tuple[]",components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"GameId",name:"metadata",type:"bytes32"},{internalType:"Timestamp",name:"timestamp",type:"uint64"},{internalType:"Claim",name:"rootClaim",type:"bytes32"},{internalType:"bytes",name:"extraData",type:"bytes"}]}]},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],stateMutability:"view",type:"function",name:"gameAtIndex",outputs:[{internalType:"GameType",name:"gameType_",type:"uint32"},{internalType:"Timestamp",name:"timestamp_",type:"uint64"},{internalType:"contract IDisputeGame",name:"proxy_",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"gameCount",outputs:[{internalType:"uint256",name:"gameCount_",type:"uint256"}]},{inputs:[{internalType:"GameType",name:"",type:"uint32"}],stateMutability:"view",type:"function",name:"gameImpls",outputs:[{internalType:"contract IDisputeGame",name:"",type:"address"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_rootClaim",type:"bytes32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"view",type:"function",name:"games",outputs:[{internalType:"contract IDisputeGame",name:"proxy_",type:"address"},{internalType:"Timestamp",name:"timestamp_",type:"uint64"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_rootClaim",type:"bytes32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"pure",type:"function",name:"getGameUUID",outputs:[{internalType:"Hash",name:"uuid_",type:"bytes32"}]},{inputs:[{internalType:"GameType",name:"",type:"uint32"}],stateMutability:"view",type:"function",name:"initBonds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"owner",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"renounceOwnership"},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"contract IDisputeGame",name:"_impl",type:"address"}],stateMutability:"nonpayable",type:"function",name:"setImplementation"},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"uint256",name:"_initBond",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"setInitBond"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],stateMutability:"nonpayable",type:"function",name:"transferOwnership"},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"create(uint32,bytes32,bytes)":{params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation.",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The address of the created DisputeGame proxy."}},"findLatestGames(uint32,uint256,uint256)":{params:{_gameType:"The type of game to find.",_n:"The number of games to find.",_start:"The index to start the reverse search from."}},"gameAtIndex(uint256)":{params:{_index:"The index of the dispute game."},returns:{gameType_:"The type of the DisputeGame - used to decide the proxy implementation.",proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"gameCount()":{returns:{gameCount_:"The total number of dispute games created by this factory."}},"games(uint32,bytes32,bytes)":{details:"`++` equates to concatenation.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"getGameUUID(uint32,bytes32,bytes)":{details:"Hashes the concatenation of `gameType . rootClaim . extraData` without expanding memory.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame.",_rootClaim:"The root claim of the DisputeGame."},returns:{uuid_:"The unique identifier for the given dispute game parameters."}},"initialize(address)":{params:{_owner:"The owner of the contract."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setImplementation(uint32,address)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_impl:"The implementation contract for the given `GameType`."}},"setInitBond(uint32,uint256)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_initBond:"The bond (in wei) for initializing a game type."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},version:1},userdoc:{kind:"user",methods:{constructor:{notice:"Constructs a new DisputeGameFactory contract."},"create(uint32,bytes32,bytes)":{notice:"Creates a new DisputeGame proxy contract."},"findLatestGames(uint32,uint256,uint256)":{notice:"Finds the `_n` most recent `GameId`'s of type `_gameType` starting at `_start`. If there are less than `_n` games of type `_gameType` starting at `_start`, then the returned array will be shorter than `_n`."},"gameAtIndex(uint256)":{notice:"`gameAtIndex` returns the dispute game contract address and its creation timestamp at the given index. Each created dispute game increments the underlying index."},"gameCount()":{notice:"The total number of dispute games created by this factory."},"gameImpls(uint32)":{notice:"`gameImpls` is a mapping that maps `GameType`s to their respective `IDisputeGame` implementations."},"games(uint32,bytes32,bytes)":{notice:"`games` queries an internal mapping that maps the hash of `gameType ++ rootClaim ++ extraData` to the deployed `DisputeGame` clone."},"getGameUUID(uint32,bytes32,bytes)":{notice:"Returns a unique identifier for the given dispute game parameters."},"initBonds(uint32)":{notice:"Returns the required bonds for initializing a dispute game of the given type."},"initialize(address)":{notice:"Initializes the contract."},"setImplementation(uint32,address)":{notice:"Sets the implementation contract for a specific `GameType`."},"setInitBond(uint32,uint256)":{notice:"Sets the bond (in wei) for initializing a game type."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/dispute/DisputeGameFactory.sol":"DisputeGameFactory"},evmVersion:"london",libraries:{}},sources:{"lib/clones-with-immutable-args/src/ClonesWithImmutableArgs.sol":{keccak256:"0x220db41bfceb0146f86e9be87d3d954fd1d52eadcb3bbfc5cd89e5543a46fd1e",urls:["bzz-raw://19155470db05e2e67a8c14f21cc903bb4833d8e5d248c2183073320c8a595705","dweb:/ipfs/QmTchpXE8MMH1XcYxaZvx64UiVzBatbWy7Sw5HFhVJJjxi"],license:"BSD"},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"src/dispute/DisputeGameFactory.sol":{keccak256:"0xa1d8ad31246172e0d1d16dcc247de1f4a68d92db34392f6b949c37e571540bc0",urls:["bzz-raw://f9ea03e06d9afafcda57fb9beb590f25a59d5252ec339a1f1b2997b5a6dd3ab8","dweb:/ipfs/QmQnoyRoJzizpitL5JjBE37fr9Sm7NHhLeYTtNJt5iB6nv"],license:"MIT"},"src/dispute/interfaces/IDisputeGame.sol":{keccak256:"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6",urls:["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"],license:"MIT"},"src/dispute/interfaces/IDisputeGameFactory.sol":{keccak256:"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda",urls:["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"],license:"MIT"},"src/dispute/interfaces/IInitializable.sol":{keccak256:"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc",urls:["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"],license:"MIT"},"src/dispute/lib/LibGameId.sol":{keccak256:"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6",urls:["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"],license:"MIT"},"src/dispute/lib/LibHashing.sol":{keccak256:"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b",urls:["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"],license:"MIT"},"src/dispute/lib/LibPosition.sol":{keccak256:"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504",urls:["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"],license:"MIT"},"src/dispute/lib/LibUDT.sol":{keccak256:"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c",urls:["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"],license:"MIT"},"src/libraries/DisputeErrors.sol":{keccak256:"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f",urls:["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"],license:"MIT"},"src/libraries/DisputeTypes.sol":{keccak256:"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6",urls:["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:45313,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:45316,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:46844,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"__gap",offset:0,slot:"1",type:"t_array(t_uint256)50_storage"},{astId:45185,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_owner",offset:0,slot:"51",type:"t_address"},{astId:45305,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"__gap",offset:0,slot:"52",type:"t_array(t_uint256)49_storage"},{astId:93883,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"gameImpls",offset:0,slot:"101",type:"t_mapping(t_userDefinedValueType(GameType)99918,t_contract(IDisputeGame)96855)"},{astId:93889,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"initBonds",offset:0,slot:"102",type:"t_mapping(t_userDefinedValueType(GameType)99918,t_uint256)"},{astId:93896,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_disputeGames",offset:0,slot:"103",type:"t_mapping(t_userDefinedValueType(Hash)99900,t_userDefinedValueType(GameId)99912)"},{astId:93901,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_disputeGameList",offset:0,slot:"104",type:"t_array(t_userDefinedValueType(GameId)99912)dyn_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},"t_array(t_uint256)50_storage":{encoding:"inplace",label:"uint256[50]",numberOfBytes:"1600",base:"t_uint256"},"t_array(t_userDefinedValueType(GameId)99912)dyn_storage":{encoding:"dynamic_array",label:"GameId[]",numberOfBytes:"32",base:"t_userDefinedValueType(GameId)99912"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},"t_contract(IDisputeGame)96855":{encoding:"inplace",label:"contract IDisputeGame",numberOfBytes:"20"},"t_mapping(t_userDefinedValueType(GameType)99918,t_contract(IDisputeGame)96855)":{encoding:"mapping",key:"t_userDefinedValueType(GameType)99918",label:"mapping(GameType => contract IDisputeGame)",numberOfBytes:"32",value:"t_contract(IDisputeGame)96855"},"t_mapping(t_userDefinedValueType(GameType)99918,t_uint256)":{encoding:"mapping",key:"t_userDefinedValueType(GameType)99918",label:"mapping(GameType => uint256)",numberOfBytes:"32",value:"t_uint256"},"t_mapping(t_userDefinedValueType(Hash)99900,t_userDefinedValueType(GameId)99912)":{encoding:"mapping",key:"t_userDefinedValueType(Hash)99900",label:"mapping(Hash => GameId)",numberOfBytes:"32",value:"t_userDefinedValueType(GameId)99912"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"},"t_userDefinedValueType(GameId)99912":{encoding:"inplace",label:"GameId",numberOfBytes:"32"},"t_userDefinedValueType(GameType)99918":{encoding:"inplace",label:"GameType",numberOfBytes:"4"},"t_userDefinedValueType(Hash)99900":{encoding:"inplace",label:"Hash",numberOfBytes:"32"}}},userdoc:{version:1,kind:"user",methods:{constructor:{notice:"Constructs a new DisputeGameFactory contract."},"create(uint32,bytes32,bytes)":{notice:"Creates a new DisputeGame proxy contract."},"findLatestGames(uint32,uint256,uint256)":{notice:"Finds the `_n` most recent `GameId`'s of type `_gameType` starting at `_start`. If there are less than `_n` games of type `_gameType` starting at `_start`, then the returned array will be shorter than `_n`."},"gameAtIndex(uint256)":{notice:"`gameAtIndex` returns the dispute game contract address and its creation timestamp at the given index. Each created dispute game increments the underlying index."},"gameCount()":{notice:"The total number of dispute games created by this factory."},"gameImpls(uint32)":{notice:"`gameImpls` is a mapping that maps `GameType`s to their respective `IDisputeGame` implementations."},"games(uint32,bytes32,bytes)":{notice:"`games` queries an internal mapping that maps the hash of `gameType ++ rootClaim ++ extraData` to the deployed `DisputeGame` clone."},"getGameUUID(uint32,bytes32,bytes)":{notice:"Returns a unique identifier for the given dispute game parameters."},"initBonds(uint32)":{notice:"Returns the required bonds for initializing a dispute game of the given type."},"initialize(address)":{notice:"Initializes the contract."},"setImplementation(uint32,address)":{notice:"Sets the implementation contract for a specific `GameType`."},"setInitBond(uint32,uint256)":{notice:"Sets the bond (in wei) for initializing a game type."},"version()":{notice:"Semantic version."}},events:{"DisputeGameCreated(address,uint32,bytes32)":{notice:"Emitted when a new dispute game is created"},"ImplementationSet(address,uint32)":{notice:"Emitted when a new game implementation added to the factory"},"InitBondUpdated(uint32,uint256)":{notice:"Emitted when a game type's initialization bond is updated"}},errors:{"GameAlreadyExists(bytes32)":[{notice:"Thrown when a dispute game that already exists is attempted to be created."}],"IncorrectBondAmount()":[{notice:"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"NoImplementation(uint32)":[{notice:"Thrown when a dispute game is attempted to be created with an unsupported game type."}]},notice:"A factory contract for creating `IDisputeGame` contracts. All created dispute games are stored in both a mapping and an append only array. The timestamp of the creation time of the dispute game is packed tightly into the storage slot with the address of the dispute game to make offchain discoverability of playable dispute games easier."},devdoc:{version:1,kind:"dev",methods:{"create(uint32,bytes32,bytes)":{params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation.",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The address of the created DisputeGame proxy."}},"findLatestGames(uint32,uint256,uint256)":{params:{_gameType:"The type of game to find.",_n:"The number of games to find.",_start:"The index to start the reverse search from."}},"gameAtIndex(uint256)":{params:{_index:"The index of the dispute game."},returns:{gameType_:"The type of the DisputeGame - used to decide the proxy implementation.",proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"gameCount()":{returns:{gameCount_:"The total number of dispute games created by this factory."}},"games(uint32,bytes32,bytes)":{details:"`++` equates to concatenation.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"getGameUUID(uint32,bytes32,bytes)":{details:"Hashes the concatenation of `gameType . rootClaim . extraData` without expanding memory.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame.",_rootClaim:"The root claim of the DisputeGame."},returns:{uuid_:"The unique identifier for the given dispute game parameters."}},"initialize(address)":{params:{_owner:"The owner of the contract."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setImplementation(uint32,address)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_impl:"The implementation contract for the given `GameType`."}},"setInitBond(uint32,uint256)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_initBond:"The bond (in wei) for initializing a game type."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},errors:{"GameAlreadyExists(bytes32)":[{params:{uuid:"The UUID of the dispute game that already exists."}}],"NoImplementation(uint32)":[{params:{gameType:"The unsupported game type."}}]},title:"DisputeGameFactory"},id:158}});var QKe=D((f6a,WHt)=>{WHt.exports={abi:[{type:"constructor",inputs:[{name:"_proofMaturityDelaySeconds",type:"uint256",internalType:"uint256"},{name:"_disputeGameFinalityDelaySeconds",type:"uint256",internalType:"uint256"},{name:"_initialRespectedGameType",type:"uint32",internalType:"GameType"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"GUARDIAN",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"SYSTEM_CONFIG",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SystemConfig"}],stateMutability:"view"},{type:"function",name:"blacklistDisputeGame",inputs:[{name:"_disputeGame",type:"address",internalType:"contract IDisputeGame"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkWithdrawal",inputs:[{name:"_withdrawalHash",type:"bytes32",internalType:"bytes32"},{name:"_proofSubmitter",type:"address",internalType:"address"}],outputs:[],stateMutability:"view"},{type:"function",name:"depositTransaction",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_gasLimit",type:"uint64",internalType:"uint64"},{name:"_isCreation",type:"bool",internalType:"bool"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"disputeGameBlacklist",inputs:[{name:"",type:"address",internalType:"contract IDisputeGame"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"disputeGameFactory",inputs:[],outputs:[{name:"",type:"address",internalType:"contract DisputeGameFactory"}],stateMutability:"view"},{type:"function",name:"disputeGameFinalityDelaySeconds",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"donateETH",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeWithdrawalTransactionExternalProof",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"_proofSubmitter",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizedWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"guardian",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_disputeGameFactory",type:"address",internalType:"contract DisputeGameFactory"},{name:"_systemConfig",type:"address",internalType:"contract SystemConfig"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l2Sender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"minimumGasLimit",inputs:[{name:"_byteCount",type:"uint64",internalType:"uint64"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"numProofSubmitters",inputs:[{name:"_withdrawalHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"params",inputs:[],outputs:[{name:"prevBaseFee",type:"uint128",internalType:"uint128"},{name:"prevBoughtGas",type:"uint64",internalType:"uint64"},{name:"prevBlockNum",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"proofMaturityDelaySeconds",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proofSubmitters",inputs:[{name:"",type:"bytes32",internalType:"bytes32"},{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"proveWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"_disputeGameIndex",type:"uint256",internalType:"uint256"},{name:"_outputRootProof",type:"tuple",internalType:"struct Types.OutputRootProof",components:[{name:"version",type:"bytes32",internalType:"bytes32"},{name:"stateRoot",type:"bytes32",internalType:"bytes32"},{name:"messagePasserStorageRoot",type:"bytes32",internalType:"bytes32"},{name:"latestBlockhash",type:"bytes32",internalType:"bytes32"}]},{name:"_withdrawalProof",type:"bytes[]",internalType:"bytes[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"provenWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"disputeGameProxy",type:"address",internalType:"contract IDisputeGame"},{name:"timestamp",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"respectedGameType",inputs:[],outputs:[{name:"",type:"uint32",internalType:"GameType"}],stateMutability:"view"},{type:"function",name:"respectedGameTypeUpdatedAt",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"setRespectedGameType",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"systemConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SystemConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"TransactionDeposited",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"version",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opaqueData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"WithdrawalFinalized",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"success",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"WithdrawalProven",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}],bytecode:{object:"0x60c06040523480156200001157600080fd5b506040516200624d3803806200624d8339810160408190526200003491620002d3565b608083905260a0829052603b805463ffffffff191663ffffffff831617905562000061600080806200006a565b50505062000317565b600054610100900460ff16158080156200008b5750600054600160ff909116105b80620000bb5750620000a8306200020560201b6200262a1760201c565b158015620000bb575060005460ff166001145b620001245760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000148576000805461ff0019166101001790555b603880546001600160a01b03199081166001600160a01b03878116919091179092556037805490911685831617905560358054610100600160a81b0319166101008584160217905560325416620001ae57603280546001600160a01b03191661dead1790555b620001b862000214565b8015620001ff576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b6001600160a01b03163b151590565b600054610100900460ff16620002815760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016200011b565b600154600160c01b90046001600160401b0316600003620002d15760408051606081018252633b9aca0080825260006020830152436001600160401b031691909201819052600160c01b02176001555b565b600080600060608486031215620002e957600080fd5b8351925060208401519150604084015163ffffffff811681146200030c57600080fd5b809150509250925092565b60805160a051615f026200034b600039600081816104ce0152611ef80152600081816106450152611b690152615f026000f3fe6080604052600436106101c65760003560e01c80637fc48504116100f7578063a3860f4811610095578063cff0ab9611610064578063cff0ab9614610689578063e9e05c421461072a578063f04987501461073d578063f2b4e6171461076857600080fd5b8063a3860f481461056f578063bb2c727e1461058f578063bf653a5c14610636578063c0c53b8b1461066957600080fd5b8063952b2797116100d1578063952b2797146104bf5780639bf62d82146104f2578063a14238e71461051f578063a35d99df1461054f57600080fd5b80637fc485041461047f5780638b4c40b0146101eb5780638c3152e91461049f57600080fd5b80634fd0434c116101645780635c975abb1161013e5780635c975abb1461041557806371c1566e1461042a578063724c184c1461044a5780637d6be8dc1461045f57600080fd5b80634fd0434c14610342578063513747ab1461038457806354fd4d50146103bf57600080fd5b806343ca1c50116101a057806343ca1c50146102ad578063452a9320146102cd57806345884d32146102e25780634870496f1461032257600080fd5b806333d7e2bd146101f257806335e80ab3146102495780633c9f397c1461027b57600080fd5b366101ed576101eb3334620186a0600060405180602001604052806000815250610795565b005b600080fd5b3480156101fe57600080fd5b5060375461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561025557600080fd5b5060355461021f90610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561028757600080fd5b50603b546102989063ffffffff1681565b60405163ffffffff9091168152602001610240565b3480156102b957600080fd5b506101eb6102c83660046153c1565b610a30565b3480156102d957600080fd5b5061021f610d0f565b3480156102ee57600080fd5b506103126102fd366004615413565b603a6020526000908152604090205460ff1681565b6040519015158152602001610240565b34801561032e57600080fd5b506101eb61033d366004615430565b610da7565b34801561034e57600080fd5b50603b5461036b90640100000000900467ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610240565b34801561039057600080fd5b506103b161039f36600461550c565b6000908152603c602052604090205490565b604051908152602001610240565b3480156103cb57600080fd5b506104086040518060400160405280600581526020017f332e352e3000000000000000000000000000000000000000000000000000000081525081565b604051610240919061559b565b34801561042157600080fd5b506103126117bb565b34801561043657600080fd5b506101eb6104453660046155ae565b61184e565b34801561045657600080fd5b5061021f6120ac565b34801561046b57600080fd5b506101eb61047a366004615413565b6120b6565b34801561048b57600080fd5b506101eb61049a3660046155e5565b6121c7565b3480156104ab57600080fd5b506101eb6104ba366004615602565b6122fd565b3480156104cb57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103b1565b3480156104fe57600080fd5b5060325461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561052b57600080fd5b5061031261053a36600461550c565b60336020526000908152604090205460ff1681565b34801561055b57600080fd5b5061036b61056a366004615655565b612379565b34801561057b57600080fd5b5061021f61058a366004615672565b612398565b34801561059b57600080fd5b506106016105aa3660046155ae565b603960209081526000928352604080842090915290825290205473ffffffffffffffffffffffffffffffffffffffff81169074010000000000000000000000000000000000000000900467ffffffffffffffff1682565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff909116602083015201610240565b34801561064257600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103b1565b34801561067557600080fd5b506101eb610684366004615694565b6123dd565b34801561069557600080fd5b506001546106f1906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff9283166020850152911690820152606001610240565b6101eb6107383660046156ed565b610795565b34801561074957600080fd5b5060375473ffffffffffffffffffffffffffffffffffffffff1661021f565b34801561077457600080fd5b5060385461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b8260005a9050831561084c5773ffffffffffffffffffffffffffffffffffffffff87161561084c57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f4f7074696d69736d506f7274616c3a206d7573742073656e6420746f2061646460448201527f72657373283029207768656e206372656174696e67206120636f6e747261637460648201526084015b60405180910390fd5b6108568351612379565b67ffffffffffffffff168567ffffffffffffffff1610156108f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4f7074696d69736d506f7274616c3a20676173206c696d697420746f6f20736d60448201527f616c6c00000000000000000000000000000000000000000000000000000000006064820152608401610843565b6201d4c083511115610967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f7074696d69736d506f7274616c3a206461746120746f6f206c6172676500006044820152606401610843565b33328114610988575033731111000000000000000000000000000000001111015b600034888888886040516020016109a395949392919061576c565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c3284604051610a13919061559b565b60405180910390a45050610a278282612646565b50505050505050565b610a386117bb565b15610a9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b60325473ffffffffffffffffffffffffffffffffffffffff1661dead14610b48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e006064820152608401610843565b6000610b5383612973565b9050610b5f818361184e565b600081815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908501516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558401516080850151606086015160a0870151610c01939291906129c0565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915082907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b90610c6690841515815260200190565b60405180910390a280158015610c7c5750326001145b15610d09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a207769746864726177616c206661696c6560448201527f64000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b50505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da291906157d1565b905090565b610daf6117bb565b15610e16576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff1603610ed5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e7472616374006064820152608401610843565b6038546040517fbb8aa1fc00000000000000000000000000000000000000000000000000000000815260048101869052600091829173ffffffffffffffffffffffffffffffffffffffff9091169063bb8aa1fc90602401606060405180830381865afa158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906157ee565b925050915060008173ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe39190615830565b603b5490915060ff84811691161461107d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b61109461108f36889003880188615849565b612a1e565b8114611122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f6600000000000000000000000000000000000000000000006064820152608401610843565b600061112d89612973565b600081815260396020908152604080832033845282529182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff8116835274010000000000000000000000000000000000000000900467ffffffffffffffff169082015290915060018473ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120391906158de565b6002811115611214576112146158af565b036112a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4f7074696d69736d506f7274616c3a2063616e6e6f742070726f76652061676160448201527f696e737420696e76616c696420646973707574652067616d65730000000000006064820152608401610843565b8051602082015167ffffffffffffffff16158061133d575060018173ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a91906158de565b600281111561133b5761133b6158af565b145b8061136d575073ffffffffffffffffffffffffffffffffffffffff81166000908152603a602052604090205460ff165b806114005750603b5463ffffffff1660ff166113fa8273ffffffffffffffffffffffffffffffffffffffff1663bbdc02db6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f191906158ff565b63ffffffff1690565b60ff1614155b6114b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152606060248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173682060448201527f68617320616c7265616479206265656e2070726f76656e2c20616e642074686560648201527f206f6c6420646973707574652067616d65206973206e6f7420696e76616c6964608482015260a401610843565b60408051602081018590526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120908301819052925061157b9101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f01000000000000000000000000000000000000000000000000000000000000006020830152906115718b8d61591c565b8d60400135612a5d565b611607576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f6600000000000000000000000000006064820152608401610843565b60405180604001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506039600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050508b6040015173ffffffffffffffffffffffffffffffffffffffff168c6020015173ffffffffffffffffffffffffffffffffffffffff16857f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f6260405160405180910390a45050506000908152603c602090815260408220805460018101825590835291200180547fffffffffffffffffffffffff000000000000000000000000000000000000000016331790555050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561182a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da291906159a0565b600082815260396020908152604080832073ffffffffffffffffffffffffffffffffffffffff85811685529083528184208251808401845290549182168082527401000000000000000000000000000000000000000090920467ffffffffffffffff1681850152818552603a90935292205490919060ff1615611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652068617360448201527f206265656e20626c61636b6c69737465640000000000000000000000000000006064820152608401610843565b816020015167ffffffffffffffff16600003611a17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e2062792070726f6f66207375626d6974746560648201527f7220616464726573732079657400000000000000000000000000000000000000608482015260a401610843565b6000611a988273ffffffffffffffffffffffffffffffffffffffff1663cf09e0d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8b91906159bd565b67ffffffffffffffff1690565b90508067ffffffffffffffff16836020015167ffffffffffffffff1611611b67576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e20646973707574652067616d65206372656160648201527f74696f6e2074696d657374616d70000000000000000000000000000000000000608482015260a401610843565b7f0000000000000000000000000000000000000000000000000000000000000000836020015167ffffffffffffffff1642611ba29190615a09565b11611c2f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c20686173206e6f74206d6174757265642079657400000000000000000000006064820152608401610843565b60028273ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca091906158de565b6002811115611cb157611cb16158af565b14611d3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f686173206e6f74206265656e2076616c696461746564000000000000000000006064820152608401610843565b603b5463ffffffff1660ff16611d988373ffffffffffffffffffffffffffffffffffffffff1663bbdc02db6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113cd573d6000803e3d6000fd5b60ff1614611e28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b603b5467ffffffffffffffff64010000000090910481169082161015611ef6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652063726560448201527f61746564206265666f7265207265737065637465642067616d6520747970652060648201527f7761732075706461746564000000000000000000000000000000000000000000608482015260a401610843565b7f0000000000000000000000000000000000000000000000000000000000000000611f658373ffffffffffffffffffffffffffffffffffffffff166319effeb46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a67573d6000803e3d6000fd5b611f799067ffffffffffffffff1642615a09565b11612006576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f696e206169722d676170000000000000000000000000000000000000000000006064820152608401610843565b60008581526033602052604090205460ff16156120a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a656400000000000000000000006064820152608401610843565b5050505050565b6000610da2610d0f565b6120be610d0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4f7074696d69736d506f7274616c3a206f6e6c7920746865206775617264696160448201527f6e2063616e20626c61636b6c69737420646973707574652067616d65730000006064820152608401610843565b73ffffffffffffffffffffffffffffffffffffffff166000908152603a6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6121cf610d0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f4f7074696d69736d506f7274616c3a206f6e6c7920746865206775617264696160448201527f6e2063616e2073657420746865207265737065637465642067616d652074797060648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610843565b603b805463ffffffff929092167fffffffffffffffffffffffffffffffffffffffff000000000000000000000000909216919091176401000000004267ffffffffffffffff1602179055565b565b6123056117bb565b1561236c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b6123768133610a30565b50565b6000612386826010615a20565b61239290615208615a50565b92915050565b603c60205281600052604060002081815481106123b457600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169150829050565b600054610100900460ff16158080156123fd5750600054600160ff909116105b806124175750303b158015612417575060005460ff166001145b6124a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610843565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561250157600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603880547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560378054909116858316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1661010085841602179055603254166125ba57603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b6125c2612a81565b8015610d0957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60015460009061267c907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1643615a09565b90506000612688612b94565b90506000816020015160ff16826000015163ffffffff166126a99190615aab565b905082156127e0576001546000906126e0908390700100000000000000000000000000000000900467ffffffffffffffff16615b13565b90506000836040015160ff16836126f79190615b87565b6001546127179084906fffffffffffffffffffffffffffffffff16615b87565b6127219190615aab565b6001549091506000906127729061274b9084906fffffffffffffffffffffffffffffffff16615c43565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff16612c55565b905060018611156127a15761279e61274b82876040015160ff1660018a6127999190615a09565b612c74565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b60018054869190601090612813908490700100000000000000000000000000000000900467ffffffffffffffff16615a50565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1613156128f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5265736f757263654d65746572696e673a2063616e6e6f7420627579206d6f7260448201527f6520676173207468616e20617661696c61626c6520676173206c696d697400006064820152608401610843565b600154600090612922906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816615cb7565b9050600061293448633b9aca00612cc9565b61293e9083615cf4565b905060005a61294d9088615a09565b905080821115612969576129696129648284615a09565b612ce0565b5050505050505050565b80516020808301516040808501516060860151608087015160a088015193516000976129a3979096959101615d08565b604051602081830303815290604052805190602001209050919050565b60008060006129d0866000612d0e565b905080612a06576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600081600001518260200151836040015184606001516040516020016129a3949392919093845260208401929092526040830152606082015260800190565b600080612a6986612d2c565b9050612a7781868686612d5e565b9695505050505050565b600054610100900460ff16612b18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610843565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff166000036122fb5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015612c31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da29190615d75565b6000612c6a612c648585612d8e565b83612d9e565b90505b9392505050565b6000670de0b6b3a7640000612cb5612c8c8583615aab565b612c9e90670de0b6b3a7640000615b13565b612cb085670de0b6b3a7640000615b87565b612dad565b612cbf9086615b87565b612c6a9190615aab565b600081831015612cd95781612c6d565b5090919050565b6000805a90505b825a612cf39083615a09565b1015612d0957612d0282615e31565b9150612ce7565b505050565b600080603f83619c4001026040850201603f5a021015949350505050565b60608180519060200120604051602001612d4891815260200190565b6040516020818303038152906040529050919050565b6000612d8584612d6f878686612dde565b8051602091820120825192909101919091201490565b95945050505050565b600081831215612cd95781612c6d565b6000818312612cd95781612c6d565b6000612c6d670de0b6b3a764000083612dc58661385c565b612dcf9190615b87565b612dd99190615aab565b613aa0565b60606000845111612e4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b657900000000000000000000006044820152606401610843565b6000612e5684613cdf565b90506000612e6386613dcb565b9050600084604051602001612e7a91815260200190565b60405160208183030381529060405290506000805b84518110156137d3576000858281518110612eac57612eac615e69565b602002602001015190508451831115612f47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e6774680000000000000000000000000000000000006064820152608401610843565b826000036130005780518051602091820120604051612f9592612f6f92910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b612ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f7420686173680000006044820152606401610843565b613157565b8051516020116130b6578051805160209182012060405161302a92612f6f92910190815260200190565b612ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c2068617368000000000000000000000000000000000000000000000000006064820152608401610843565b805184516020808701919091208251919092012014613157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f65206861736800000000000000000000000000000000000000000000000000006064820152608401610843565b61316360106001615e98565b8160200151510361333f57845183036132d75761319d816020015160108151811061319057613190615e69565b6020026020010151613e2e565b96506000875111613230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e63682900000000006064820152608401610843565b6001865161323e9190615a09565b82146132cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e6368290000000000006064820152608401610843565b505050505050612c6d565b60008584815181106132eb576132eb615e69565b602001015160f81c60f81b60f81c9050600082602001518260ff168151811061331657613316615e69565b6020026020010151905061332981613f8e565b9550613336600186615e98565b945050506137c0565b60028160200151510361373857600061335782613fb3565b905060008160008151811061336e5761336e615e69565b016020015160f81c90506000613385600283615eb0565b613390906002615ed2565b905060006133a1848360ff16613fd7565b905060006133af8a89613fd7565b905060006133bd838361400d565b90508083511461344f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b65790000000000006064820152608401610843565b60ff851660021480613464575060ff85166003145b1561365357808251146134f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e6465720000006064820152608401610843565b613513876020015160018151811061319057613190615e69565b9c5060008d51116135a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c65616629000000000000006064820152608401610843565b60018c516135b49190615a09565b8814613642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c6561662900000000000000006064820152608401610843565b505050505050505050505050612c6d565b60ff85161580613666575060ff85166001145b156136a557613692876020015160018151811061368557613685615e69565b6020026020010151613f8e565b995061369e818a615e98565b985061372d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e2070726566697800000000000000000000000000006064820152608401610843565b5050505050506137c0565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f64650000000000000000000000000000000000000000000000006064820152608401610843565b50806137cb81615e31565b915050612e8f565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e74730000000000000000000000000000000000000000000000000000006064820152608401610843565b60008082136138c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610843565b600060606138d4846140c1565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c18213613ad157506000919050565b680755bf798b4a1bf1e58212613b43576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f5700000000000000000000000000000000000000006044820152606401610843565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff811115613cfd57613cfd6151e4565b604051908082528060200260200182016040528015613d4257816020015b6040805180820190915260608082526020820152815260200190600190039081613d1b5790505b50915060005b81811015613dc4576040518060400160405280858381518110613d6d57613d6d615e69565b60200260200101518152602001613d9c868481518110613d8f57613d8f615e69565b6020026020010151614197565b815250838281518110613db157613db1615e69565b6020908102919091010152600101613d48565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613e23578060011b82018184015160001a8060041c8253600f811660018301535050600101613df5565b509295945050505050565b60606000806000613e3e856141aa565b919450925090506000816001811115613e5957613e596158af565b14613ee6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d000000000000006064820152608401610843565b613ef08284615e98565b855114613f7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e6465720000000000000000000000006064820152608401610843565b612d8585602001518484614c17565b60606020826000015110613faa57613fa582613e2e565b612392565b61239282614cab565b6060612392613fd2836020015160008151811061319057613190615e69565b613dcb565b606082518210613ff65750604080516020810190915260008152612392565b612c6d83838486516140089190615a09565b614cc1565b6000808251845110614020578251614023565b83515b90505b80821080156140aa575082828151811061404257614042615e69565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191684838151811061408157614081615e69565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156140ba57816001019150614026565b5092915050565b600080821161412c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610843565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b60606123926141a583614e99565b614f82565b600080600080846000015111614268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610843565b6020840151805160001a607f811161428d576000600160009450945094505050614c10565b60b7811161449b5760006142a2608083615a09565b90508087600001511161435d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a401610843565b6001838101517fff000000000000000000000000000000000000000000000000000000000000001690821415806143d657507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b614488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a401610843565b5060019550935060009250614c10915050565b60bf81116147e95760006144b060b783615a09565b90508087600001511161456b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a401610843565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a401610843565b600184015160088302610100031c6037811161470d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a401610843565b6147178184615e98565b8951116147cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a401610843565b6147d7836001615e98565b9750955060009450614c109350505050565b60f781116148ca5760006147fe60c083615a09565b9050808760000151116148b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a401610843565b600195509350849250614c10915050565b60006148d760f783615a09565b905080876000015111614992576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a401610843565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614a70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a401610843565b600184015160088302610100031c60378111614b34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a401610843565b614b3e8184615e98565b895111614bf3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a401610843565b614bfe836001615e98565b9750955060019450614c109350505050565b9193909250565b60608167ffffffffffffffff811115614c3257614c326151e4565b6040519080825280601f01601f191660200182016040528015614c5c576020820181803683370190505b5090508115612c6d576000614c718486615e98565b90506020820160005b84811015614c92578281015182820152602001614c7a565b84811115614ca1576000858301525b5050509392505050565b6060612392826020015160008460000151614c17565b60608182601f011015614d30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610843565b828284011015614d9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610843565b81830184511015614e09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610843565b606082158015614e285760405191506000825260208201604052614e90565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015614e61578051835260209283019201614e49565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b60408051808201909152600080825260208201526000825111614f64576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610843565b50604080518082019091528151815260209182019181019190915290565b60606000806000614f92856141aa565b919450925090506001816001811115614fad57614fad6158af565b1461503a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d00000000000000006064820152608401610843565b84516150468385615e98565b146150d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e64657200000000000000000000000000006064820152608401610843565b604080516020808252610420820190925290816020015b60408051808201909152600080825260208201528152602001906001900390816150ea5790505093506000835b86518110156151d85760008061515d6040518060400160405280858c600001516151419190615a09565b8152602001858c602001516151569190615e98565b90526141aa565b5091509150604051806040016040528083836151799190615e98565b8152602001848b6020015161518e9190615e98565b8152508885815181106151a3576151a3615e69565b60209081029190910101526151b9600185615e98565b93506151c58183615e98565b6151cf9084615e98565b92505050615117565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561525a5761525a6151e4565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461237657600080fd5b600082601f83011261529557600080fd5b813567ffffffffffffffff8111156152af576152af6151e4565b6152e060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601615213565b8181528460208386010111156152f557600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561532457600080fd5b60405160c0810167ffffffffffffffff8282108183111715615348576153486151e4565b81604052829350843583526020850135915061536382615262565b8160208401526040850135915061537982615262565b816040840152606085013560608401526080850135608084015260a08501359150808211156153a757600080fd5b506153b485828601615284565b60a0830152505092915050565b600080604083850312156153d457600080fd5b823567ffffffffffffffff8111156153eb57600080fd5b6153f785828601615312565b925050602083013561540881615262565b809150509250929050565b60006020828403121561542557600080fd5b8135612c6d81615262565b600080600080600085870360e081121561544957600080fd5b863567ffffffffffffffff8082111561546157600080fd5b61546d8a838b01615312565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0840112156154a657600080fd5b60408901955060c08901359250808311156154c057600080fd5b828901925089601f8401126154d457600080fd5b82359150808211156154e557600080fd5b508860208260051b84010111156154fb57600080fd5b959894975092955050506020019190565b60006020828403121561551e57600080fd5b5035919050565b60005b83811015615540578181015183820152602001615528565b83811115610d095750506000910152565b60008151808452615569816020860160208601615525565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000612c6d6020830184615551565b600080604083850312156155c157600080fd5b82359150602083013561540881615262565b63ffffffff8116811461237657600080fd5b6000602082840312156155f757600080fd5b8135612c6d816155d3565b60006020828403121561561457600080fd5b813567ffffffffffffffff81111561562b57600080fd5b61563784828501615312565b949350505050565b67ffffffffffffffff8116811461237657600080fd5b60006020828403121561566757600080fd5b8135612c6d8161563f565b6000806040838503121561568557600080fd5b50508035926020909101359150565b6000806000606084860312156156a957600080fd5b83356156b481615262565b925060208401356156c481615262565b915060408401356156d481615262565b809150509250925092565b801515811461237657600080fd5b600080600080600060a0868803121561570557600080fd5b853561571081615262565b94506020860135935060408601356157278161563f565b92506060860135615737816156df565b9150608086013567ffffffffffffffff81111561575357600080fd5b61575f88828901615284565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b6048820152600082516157c0816049850160208701615525565b919091016049019695505050505050565b6000602082840312156157e357600080fd5b8151612c6d81615262565b60008060006060848603121561580357600080fd5b835161580e816155d3565b602085015190935061581f8161563f565b60408501519092506156d481615262565b60006020828403121561584257600080fd5b5051919050565b60006080828403121561585b57600080fd5b6040516080810181811067ffffffffffffffff8211171561587e5761587e6151e4565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000602082840312156158f057600080fd5b815160038110612c6d57600080fd5b60006020828403121561591157600080fd5b8151612c6d816155d3565b600067ffffffffffffffff80841115615937576159376151e4565b8360051b6020615948818301615213565b86815291850191818101903684111561596057600080fd5b865b848110156159945780358681111561597a5760008081fd5b61598636828b01615284565b845250918301918301615962565b50979650505050505050565b6000602082840312156159b257600080fd5b8151612c6d816156df565b6000602082840312156159cf57600080fd5b8151612c6d8161563f565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015615a1b57615a1b6159da565b500390565b600067ffffffffffffffff80831681851681830481118215151615615a4757615a476159da565b02949350505050565b600067ffffffffffffffff808316818516808303821115615a7357615a736159da565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082615aba57615aba615a7c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615615b0e57615b0e6159da565b500590565b6000808312837f800000000000000000000000000000000000000000000000000000000000000001831281151615615b4d57615b4d6159da565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018313811615615b8157615b816159da565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600084136000841385830485118282161615615bc857615bc86159da565b7f80000000000000000000000000000000000000000000000000000000000000006000871286820588128184161615615c0357615c036159da565b60008712925087820587128484161615615c1f57615c1f6159da565b87850587128184161615615c3557615c356159da565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03841381151615615c7d57615c7d6159da565b827f8000000000000000000000000000000000000000000000000000000000000000038412811615615cb157615cb16159da565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615cef57615cef6159da565b500290565b600082615d0357615d03615a7c565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152615d5360c0830184615551565b98975050505050505050565b805160ff81168114615d7057600080fd5b919050565b600060c08284031215615d8757600080fd5b60405160c0810181811067ffffffffffffffff82111715615daa57615daa6151e4565b6040528251615db8816155d3565b8152615dc660208401615d5f565b6020820152615dd760408401615d5f565b60408201526060830151615dea816155d3565b60608201526080830151615dfd816155d3565b608082015260a08301516fffffffffffffffffffffffffffffffff81168114615e2557600080fd5b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615e6257615e626159da565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115615eab57615eab6159da565b500190565b600060ff831680615ec357615ec3615a7c565b8060ff84160691505092915050565b600060ff821660ff841680821015615eec57615eec6159da565b9003939250505056fea164736f6c634300080f000a",sourceMap:"1269:25082:131:-:0;;;5955:577;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6121:57;;;;6188:70;;;;6268:17;:45;;-1:-1:-1;;6268:45:131;;;;;;;6324:201;-1:-1:-1;;;6324:10:131;:201::i;:::-;5955:577;;;1269:25082;;6764:469;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;654:2:350;3146:190:41;;;636:21:350;693:2;673:18;;;666:30;732:34;712:18;;;705:62;-1:-1:-1;;;783:18:350;;;776:44;837:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;6967:18:131::1;:40:::0;;-1:-1:-1;;;;;;6967:40:131;;::::1;-1:-1:-1::0;;;;;6967:40:131;;::::1;::::0;;;::::1;::::0;;;7017:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;7055:16:::1;:36:::0;;-1:-1:-1;;;;;;7055:36:131::1;6967:40;7055:36:::0;;::::1;;;::::0;;7105:8:::1;::::0;::::1;7101:91;;7143:8;:38:::0;;-1:-1:-1;;;;;;7143:38:131::1;1338:42:188;7143:38:131;::::0;;7101:91:::1;7201:25;:23;:25::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;1019:36:350;;3531:14:41;;1007:2:350;992:18;3531:14:41;;;;;;;3457:99;3090:472;6764:469:131;;;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;8309:234:133:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;1268:2:350;4880:69:41;;;1250:21:350;1307:2;1287:18;;;1280:30;1346:34;1326:18;;;1319:62;-1:-1:-1;;;1397:18:350;;;1390:41;1448:19;;4880:69:41;1066:407:350;4880:69:41;8384:6:133::1;:19:::0;-1:-1:-1;;;8384:19:133;::::1;-1:-1:-1::0;;;;;8384:19:133::1;;:24:::0;8380:157:::1;;8433:93;::::0;;::::1;::::0;::::1;::::0;;8463:6:::1;8433:93:::0;;;-1:-1:-1;8433:93:133::1;::::0;::::1;::::0;8510:12:::1;-1:-1:-1::0;;;;;8433:93:133::1;::::0;;;;;;;-1:-1:-1;;;8424:102:133::1;;:6;:102:::0;8380:157:::1;8309:234::o:0;14:433:350:-;132:6;140;148;201:2;189:9;180:7;176:23;172:32;169:52;;;217:1;214;207:12;169:52;246:9;240:16;230:26;;296:2;285:9;281:18;275:25;265:35;;343:2;332:9;328:18;322:25;387:10;380:5;376:22;369:5;366:33;356:61;;413:1;410;403:12;356:61;436:5;426:15;;;14:433;;;;;:::o;1066:407::-;1269:25082:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101c65760003560e01c80637fc48504116100f7578063a3860f4811610095578063cff0ab9611610064578063cff0ab9614610689578063e9e05c421461072a578063f04987501461073d578063f2b4e6171461076857600080fd5b8063a3860f481461056f578063bb2c727e1461058f578063bf653a5c14610636578063c0c53b8b1461066957600080fd5b8063952b2797116100d1578063952b2797146104bf5780639bf62d82146104f2578063a14238e71461051f578063a35d99df1461054f57600080fd5b80637fc485041461047f5780638b4c40b0146101eb5780638c3152e91461049f57600080fd5b80634fd0434c116101645780635c975abb1161013e5780635c975abb1461041557806371c1566e1461042a578063724c184c1461044a5780637d6be8dc1461045f57600080fd5b80634fd0434c14610342578063513747ab1461038457806354fd4d50146103bf57600080fd5b806343ca1c50116101a057806343ca1c50146102ad578063452a9320146102cd57806345884d32146102e25780634870496f1461032257600080fd5b806333d7e2bd146101f257806335e80ab3146102495780633c9f397c1461027b57600080fd5b366101ed576101eb3334620186a0600060405180602001604052806000815250610795565b005b600080fd5b3480156101fe57600080fd5b5060375461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561025557600080fd5b5060355461021f90610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561028757600080fd5b50603b546102989063ffffffff1681565b60405163ffffffff9091168152602001610240565b3480156102b957600080fd5b506101eb6102c83660046153c1565b610a30565b3480156102d957600080fd5b5061021f610d0f565b3480156102ee57600080fd5b506103126102fd366004615413565b603a6020526000908152604090205460ff1681565b6040519015158152602001610240565b34801561032e57600080fd5b506101eb61033d366004615430565b610da7565b34801561034e57600080fd5b50603b5461036b90640100000000900467ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610240565b34801561039057600080fd5b506103b161039f36600461550c565b6000908152603c602052604090205490565b604051908152602001610240565b3480156103cb57600080fd5b506104086040518060400160405280600581526020017f332e352e3000000000000000000000000000000000000000000000000000000081525081565b604051610240919061559b565b34801561042157600080fd5b506103126117bb565b34801561043657600080fd5b506101eb6104453660046155ae565b61184e565b34801561045657600080fd5b5061021f6120ac565b34801561046b57600080fd5b506101eb61047a366004615413565b6120b6565b34801561048b57600080fd5b506101eb61049a3660046155e5565b6121c7565b3480156104ab57600080fd5b506101eb6104ba366004615602565b6122fd565b3480156104cb57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103b1565b3480156104fe57600080fd5b5060325461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561052b57600080fd5b5061031261053a36600461550c565b60336020526000908152604090205460ff1681565b34801561055b57600080fd5b5061036b61056a366004615655565b612379565b34801561057b57600080fd5b5061021f61058a366004615672565b612398565b34801561059b57600080fd5b506106016105aa3660046155ae565b603960209081526000928352604080842090915290825290205473ffffffffffffffffffffffffffffffffffffffff81169074010000000000000000000000000000000000000000900467ffffffffffffffff1682565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff909116602083015201610240565b34801561064257600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103b1565b34801561067557600080fd5b506101eb610684366004615694565b6123dd565b34801561069557600080fd5b506001546106f1906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff9283166020850152911690820152606001610240565b6101eb6107383660046156ed565b610795565b34801561074957600080fd5b5060375473ffffffffffffffffffffffffffffffffffffffff1661021f565b34801561077457600080fd5b5060385461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b8260005a9050831561084c5773ffffffffffffffffffffffffffffffffffffffff87161561084c57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f4f7074696d69736d506f7274616c3a206d7573742073656e6420746f2061646460448201527f72657373283029207768656e206372656174696e67206120636f6e747261637460648201526084015b60405180910390fd5b6108568351612379565b67ffffffffffffffff168567ffffffffffffffff1610156108f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4f7074696d69736d506f7274616c3a20676173206c696d697420746f6f20736d60448201527f616c6c00000000000000000000000000000000000000000000000000000000006064820152608401610843565b6201d4c083511115610967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f7074696d69736d506f7274616c3a206461746120746f6f206c6172676500006044820152606401610843565b33328114610988575033731111000000000000000000000000000000001111015b600034888888886040516020016109a395949392919061576c565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c3284604051610a13919061559b565b60405180910390a45050610a278282612646565b50505050505050565b610a386117bb565b15610a9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b60325473ffffffffffffffffffffffffffffffffffffffff1661dead14610b48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e006064820152608401610843565b6000610b5383612973565b9050610b5f818361184e565b600081815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908501516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558401516080850151606086015160a0870151610c01939291906129c0565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915082907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b90610c6690841515815260200190565b60405180910390a280158015610c7c5750326001145b15610d09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a207769746864726177616c206661696c6560448201527f64000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b50505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da291906157d1565b905090565b610daf6117bb565b15610e16576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff1603610ed5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e7472616374006064820152608401610843565b6038546040517fbb8aa1fc00000000000000000000000000000000000000000000000000000000815260048101869052600091829173ffffffffffffffffffffffffffffffffffffffff9091169063bb8aa1fc90602401606060405180830381865afa158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906157ee565b925050915060008173ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe39190615830565b603b5490915060ff84811691161461107d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b61109461108f36889003880188615849565b612a1e565b8114611122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f6600000000000000000000000000000000000000000000006064820152608401610843565b600061112d89612973565b600081815260396020908152604080832033845282529182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff8116835274010000000000000000000000000000000000000000900467ffffffffffffffff169082015290915060018473ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120391906158de565b6002811115611214576112146158af565b036112a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4f7074696d69736d506f7274616c3a2063616e6e6f742070726f76652061676160448201527f696e737420696e76616c696420646973707574652067616d65730000000000006064820152608401610843565b8051602082015167ffffffffffffffff16158061133d575060018173ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a91906158de565b600281111561133b5761133b6158af565b145b8061136d575073ffffffffffffffffffffffffffffffffffffffff81166000908152603a602052604090205460ff165b806114005750603b5463ffffffff1660ff166113fa8273ffffffffffffffffffffffffffffffffffffffff1663bbdc02db6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f191906158ff565b63ffffffff1690565b60ff1614155b6114b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152606060248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173682060448201527f68617320616c7265616479206265656e2070726f76656e2c20616e642074686560648201527f206f6c6420646973707574652067616d65206973206e6f7420696e76616c6964608482015260a401610843565b60408051602081018590526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120908301819052925061157b9101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f01000000000000000000000000000000000000000000000000000000000000006020830152906115718b8d61591c565b8d60400135612a5d565b611607576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f6600000000000000000000000000006064820152608401610843565b60405180604001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506039600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050508b6040015173ffffffffffffffffffffffffffffffffffffffff168c6020015173ffffffffffffffffffffffffffffffffffffffff16857f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f6260405160405180910390a45050506000908152603c602090815260408220805460018101825590835291200180547fffffffffffffffffffffffff000000000000000000000000000000000000000016331790555050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561182a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da291906159a0565b600082815260396020908152604080832073ffffffffffffffffffffffffffffffffffffffff85811685529083528184208251808401845290549182168082527401000000000000000000000000000000000000000090920467ffffffffffffffff1681850152818552603a90935292205490919060ff1615611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652068617360448201527f206265656e20626c61636b6c69737465640000000000000000000000000000006064820152608401610843565b816020015167ffffffffffffffff16600003611a17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e2062792070726f6f66207375626d6974746560648201527f7220616464726573732079657400000000000000000000000000000000000000608482015260a401610843565b6000611a988273ffffffffffffffffffffffffffffffffffffffff1663cf09e0d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8b91906159bd565b67ffffffffffffffff1690565b90508067ffffffffffffffff16836020015167ffffffffffffffff1611611b67576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e20646973707574652067616d65206372656160648201527f74696f6e2074696d657374616d70000000000000000000000000000000000000608482015260a401610843565b7f0000000000000000000000000000000000000000000000000000000000000000836020015167ffffffffffffffff1642611ba29190615a09565b11611c2f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c20686173206e6f74206d6174757265642079657400000000000000000000006064820152608401610843565b60028273ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca091906158de565b6002811115611cb157611cb16158af565b14611d3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f686173206e6f74206265656e2076616c696461746564000000000000000000006064820152608401610843565b603b5463ffffffff1660ff16611d988373ffffffffffffffffffffffffffffffffffffffff1663bbdc02db6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113cd573d6000803e3d6000fd5b60ff1614611e28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b603b5467ffffffffffffffff64010000000090910481169082161015611ef6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652063726560448201527f61746564206265666f7265207265737065637465642067616d6520747970652060648201527f7761732075706461746564000000000000000000000000000000000000000000608482015260a401610843565b7f0000000000000000000000000000000000000000000000000000000000000000611f658373ffffffffffffffffffffffffffffffffffffffff166319effeb46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a67573d6000803e3d6000fd5b611f799067ffffffffffffffff1642615a09565b11612006576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f696e206169722d676170000000000000000000000000000000000000000000006064820152608401610843565b60008581526033602052604090205460ff16156120a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a656400000000000000000000006064820152608401610843565b5050505050565b6000610da2610d0f565b6120be610d0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4f7074696d69736d506f7274616c3a206f6e6c7920746865206775617264696160448201527f6e2063616e20626c61636b6c69737420646973707574652067616d65730000006064820152608401610843565b73ffffffffffffffffffffffffffffffffffffffff166000908152603a6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6121cf610d0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f4f7074696d69736d506f7274616c3a206f6e6c7920746865206775617264696160448201527f6e2063616e2073657420746865207265737065637465642067616d652074797060648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610843565b603b805463ffffffff929092167fffffffffffffffffffffffffffffffffffffffff000000000000000000000000909216919091176401000000004267ffffffffffffffff1602179055565b565b6123056117bb565b1561236c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b6123768133610a30565b50565b6000612386826010615a20565b61239290615208615a50565b92915050565b603c60205281600052604060002081815481106123b457600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169150829050565b600054610100900460ff16158080156123fd5750600054600160ff909116105b806124175750303b158015612417575060005460ff166001145b6124a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610843565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561250157600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603880547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560378054909116858316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1661010085841602179055603254166125ba57603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b6125c2612a81565b8015610d0957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60015460009061267c907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1643615a09565b90506000612688612b94565b90506000816020015160ff16826000015163ffffffff166126a99190615aab565b905082156127e0576001546000906126e0908390700100000000000000000000000000000000900467ffffffffffffffff16615b13565b90506000836040015160ff16836126f79190615b87565b6001546127179084906fffffffffffffffffffffffffffffffff16615b87565b6127219190615aab565b6001549091506000906127729061274b9084906fffffffffffffffffffffffffffffffff16615c43565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff16612c55565b905060018611156127a15761279e61274b82876040015160ff1660018a6127999190615a09565b612c74565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b60018054869190601090612813908490700100000000000000000000000000000000900467ffffffffffffffff16615a50565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1613156128f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5265736f757263654d65746572696e673a2063616e6e6f7420627579206d6f7260448201527f6520676173207468616e20617661696c61626c6520676173206c696d697400006064820152608401610843565b600154600090612922906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816615cb7565b9050600061293448633b9aca00612cc9565b61293e9083615cf4565b905060005a61294d9088615a09565b905080821115612969576129696129648284615a09565b612ce0565b5050505050505050565b80516020808301516040808501516060860151608087015160a088015193516000976129a3979096959101615d08565b604051602081830303815290604052805190602001209050919050565b60008060006129d0866000612d0e565b905080612a06576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600081600001518260200151836040015184606001516040516020016129a3949392919093845260208401929092526040830152606082015260800190565b600080612a6986612d2c565b9050612a7781868686612d5e565b9695505050505050565b600054610100900460ff16612b18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610843565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff166000036122fb5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015612c31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da29190615d75565b6000612c6a612c648585612d8e565b83612d9e565b90505b9392505050565b6000670de0b6b3a7640000612cb5612c8c8583615aab565b612c9e90670de0b6b3a7640000615b13565b612cb085670de0b6b3a7640000615b87565b612dad565b612cbf9086615b87565b612c6a9190615aab565b600081831015612cd95781612c6d565b5090919050565b6000805a90505b825a612cf39083615a09565b1015612d0957612d0282615e31565b9150612ce7565b505050565b600080603f83619c4001026040850201603f5a021015949350505050565b60608180519060200120604051602001612d4891815260200190565b6040516020818303038152906040529050919050565b6000612d8584612d6f878686612dde565b8051602091820120825192909101919091201490565b95945050505050565b600081831215612cd95781612c6d565b6000818312612cd95781612c6d565b6000612c6d670de0b6b3a764000083612dc58661385c565b612dcf9190615b87565b612dd99190615aab565b613aa0565b60606000845111612e4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b657900000000000000000000006044820152606401610843565b6000612e5684613cdf565b90506000612e6386613dcb565b9050600084604051602001612e7a91815260200190565b60405160208183030381529060405290506000805b84518110156137d3576000858281518110612eac57612eac615e69565b602002602001015190508451831115612f47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e6774680000000000000000000000000000000000006064820152608401610843565b826000036130005780518051602091820120604051612f9592612f6f92910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b612ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f7420686173680000006044820152606401610843565b613157565b8051516020116130b6578051805160209182012060405161302a92612f6f92910190815260200190565b612ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c2068617368000000000000000000000000000000000000000000000000006064820152608401610843565b805184516020808701919091208251919092012014613157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f65206861736800000000000000000000000000000000000000000000000000006064820152608401610843565b61316360106001615e98565b8160200151510361333f57845183036132d75761319d816020015160108151811061319057613190615e69565b6020026020010151613e2e565b96506000875111613230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e63682900000000006064820152608401610843565b6001865161323e9190615a09565b82146132cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e6368290000000000006064820152608401610843565b505050505050612c6d565b60008584815181106132eb576132eb615e69565b602001015160f81c60f81b60f81c9050600082602001518260ff168151811061331657613316615e69565b6020026020010151905061332981613f8e565b9550613336600186615e98565b945050506137c0565b60028160200151510361373857600061335782613fb3565b905060008160008151811061336e5761336e615e69565b016020015160f81c90506000613385600283615eb0565b613390906002615ed2565b905060006133a1848360ff16613fd7565b905060006133af8a89613fd7565b905060006133bd838361400d565b90508083511461344f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b65790000000000006064820152608401610843565b60ff851660021480613464575060ff85166003145b1561365357808251146134f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e6465720000006064820152608401610843565b613513876020015160018151811061319057613190615e69565b9c5060008d51116135a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c65616629000000000000006064820152608401610843565b60018c516135b49190615a09565b8814613642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c6561662900000000000000006064820152608401610843565b505050505050505050505050612c6d565b60ff85161580613666575060ff85166001145b156136a557613692876020015160018151811061368557613685615e69565b6020026020010151613f8e565b995061369e818a615e98565b985061372d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e2070726566697800000000000000000000000000006064820152608401610843565b5050505050506137c0565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f64650000000000000000000000000000000000000000000000006064820152608401610843565b50806137cb81615e31565b915050612e8f565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e74730000000000000000000000000000000000000000000000000000006064820152608401610843565b60008082136138c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610843565b600060606138d4846140c1565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c18213613ad157506000919050565b680755bf798b4a1bf1e58212613b43576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f5700000000000000000000000000000000000000006044820152606401610843565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff811115613cfd57613cfd6151e4565b604051908082528060200260200182016040528015613d4257816020015b6040805180820190915260608082526020820152815260200190600190039081613d1b5790505b50915060005b81811015613dc4576040518060400160405280858381518110613d6d57613d6d615e69565b60200260200101518152602001613d9c868481518110613d8f57613d8f615e69565b6020026020010151614197565b815250838281518110613db157613db1615e69565b6020908102919091010152600101613d48565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613e23578060011b82018184015160001a8060041c8253600f811660018301535050600101613df5565b509295945050505050565b60606000806000613e3e856141aa565b919450925090506000816001811115613e5957613e596158af565b14613ee6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d000000000000006064820152608401610843565b613ef08284615e98565b855114613f7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e6465720000000000000000000000006064820152608401610843565b612d8585602001518484614c17565b60606020826000015110613faa57613fa582613e2e565b612392565b61239282614cab565b6060612392613fd2836020015160008151811061319057613190615e69565b613dcb565b606082518210613ff65750604080516020810190915260008152612392565b612c6d83838486516140089190615a09565b614cc1565b6000808251845110614020578251614023565b83515b90505b80821080156140aa575082828151811061404257614042615e69565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191684838151811061408157614081615e69565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156140ba57816001019150614026565b5092915050565b600080821161412c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610843565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b60606123926141a583614e99565b614f82565b600080600080846000015111614268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610843565b6020840151805160001a607f811161428d576000600160009450945094505050614c10565b60b7811161449b5760006142a2608083615a09565b90508087600001511161435d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a401610843565b6001838101517fff000000000000000000000000000000000000000000000000000000000000001690821415806143d657507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b614488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a401610843565b5060019550935060009250614c10915050565b60bf81116147e95760006144b060b783615a09565b90508087600001511161456b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a401610843565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a401610843565b600184015160088302610100031c6037811161470d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a401610843565b6147178184615e98565b8951116147cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a401610843565b6147d7836001615e98565b9750955060009450614c109350505050565b60f781116148ca5760006147fe60c083615a09565b9050808760000151116148b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a401610843565b600195509350849250614c10915050565b60006148d760f783615a09565b905080876000015111614992576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a401610843565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614a70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a401610843565b600184015160088302610100031c60378111614b34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a401610843565b614b3e8184615e98565b895111614bf3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a401610843565b614bfe836001615e98565b9750955060019450614c109350505050565b9193909250565b60608167ffffffffffffffff811115614c3257614c326151e4565b6040519080825280601f01601f191660200182016040528015614c5c576020820181803683370190505b5090508115612c6d576000614c718486615e98565b90506020820160005b84811015614c92578281015182820152602001614c7a565b84811115614ca1576000858301525b5050509392505050565b6060612392826020015160008460000151614c17565b60608182601f011015614d30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610843565b828284011015614d9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610843565b81830184511015614e09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610843565b606082158015614e285760405191506000825260208201604052614e90565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015614e61578051835260209283019201614e49565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b60408051808201909152600080825260208201526000825111614f64576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610843565b50604080518082019091528151815260209182019181019190915290565b60606000806000614f92856141aa565b919450925090506001816001811115614fad57614fad6158af565b1461503a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d00000000000000006064820152608401610843565b84516150468385615e98565b146150d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e64657200000000000000000000000000006064820152608401610843565b604080516020808252610420820190925290816020015b60408051808201909152600080825260208201528152602001906001900390816150ea5790505093506000835b86518110156151d85760008061515d6040518060400160405280858c600001516151419190615a09565b8152602001858c602001516151569190615e98565b90526141aa565b5091509150604051806040016040528083836151799190615e98565b8152602001848b6020015161518e9190615e98565b8152508885815181106151a3576151a3615e69565b60209081029190910101526151b9600185615e98565b93506151c58183615e98565b6151cf9084615e98565b92505050615117565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561525a5761525a6151e4565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461237657600080fd5b600082601f83011261529557600080fd5b813567ffffffffffffffff8111156152af576152af6151e4565b6152e060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601615213565b8181528460208386010111156152f557600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561532457600080fd5b60405160c0810167ffffffffffffffff8282108183111715615348576153486151e4565b81604052829350843583526020850135915061536382615262565b8160208401526040850135915061537982615262565b816040840152606085013560608401526080850135608084015260a08501359150808211156153a757600080fd5b506153b485828601615284565b60a0830152505092915050565b600080604083850312156153d457600080fd5b823567ffffffffffffffff8111156153eb57600080fd5b6153f785828601615312565b925050602083013561540881615262565b809150509250929050565b60006020828403121561542557600080fd5b8135612c6d81615262565b600080600080600085870360e081121561544957600080fd5b863567ffffffffffffffff8082111561546157600080fd5b61546d8a838b01615312565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0840112156154a657600080fd5b60408901955060c08901359250808311156154c057600080fd5b828901925089601f8401126154d457600080fd5b82359150808211156154e557600080fd5b508860208260051b84010111156154fb57600080fd5b959894975092955050506020019190565b60006020828403121561551e57600080fd5b5035919050565b60005b83811015615540578181015183820152602001615528565b83811115610d095750506000910152565b60008151808452615569816020860160208601615525565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000612c6d6020830184615551565b600080604083850312156155c157600080fd5b82359150602083013561540881615262565b63ffffffff8116811461237657600080fd5b6000602082840312156155f757600080fd5b8135612c6d816155d3565b60006020828403121561561457600080fd5b813567ffffffffffffffff81111561562b57600080fd5b61563784828501615312565b949350505050565b67ffffffffffffffff8116811461237657600080fd5b60006020828403121561566757600080fd5b8135612c6d8161563f565b6000806040838503121561568557600080fd5b50508035926020909101359150565b6000806000606084860312156156a957600080fd5b83356156b481615262565b925060208401356156c481615262565b915060408401356156d481615262565b809150509250925092565b801515811461237657600080fd5b600080600080600060a0868803121561570557600080fd5b853561571081615262565b94506020860135935060408601356157278161563f565b92506060860135615737816156df565b9150608086013567ffffffffffffffff81111561575357600080fd5b61575f88828901615284565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b6048820152600082516157c0816049850160208701615525565b919091016049019695505050505050565b6000602082840312156157e357600080fd5b8151612c6d81615262565b60008060006060848603121561580357600080fd5b835161580e816155d3565b602085015190935061581f8161563f565b60408501519092506156d481615262565b60006020828403121561584257600080fd5b5051919050565b60006080828403121561585b57600080fd5b6040516080810181811067ffffffffffffffff8211171561587e5761587e6151e4565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000602082840312156158f057600080fd5b815160038110612c6d57600080fd5b60006020828403121561591157600080fd5b8151612c6d816155d3565b600067ffffffffffffffff80841115615937576159376151e4565b8360051b6020615948818301615213565b86815291850191818101903684111561596057600080fd5b865b848110156159945780358681111561597a5760008081fd5b61598636828b01615284565b845250918301918301615962565b50979650505050505050565b6000602082840312156159b257600080fd5b8151612c6d816156df565b6000602082840312156159cf57600080fd5b8151612c6d8161563f565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015615a1b57615a1b6159da565b500390565b600067ffffffffffffffff80831681851681830481118215151615615a4757615a476159da565b02949350505050565b600067ffffffffffffffff808316818516808303821115615a7357615a736159da565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082615aba57615aba615a7c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615615b0e57615b0e6159da565b500590565b6000808312837f800000000000000000000000000000000000000000000000000000000000000001831281151615615b4d57615b4d6159da565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018313811615615b8157615b816159da565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600084136000841385830485118282161615615bc857615bc86159da565b7f80000000000000000000000000000000000000000000000000000000000000006000871286820588128184161615615c0357615c036159da565b60008712925087820587128484161615615c1f57615c1f6159da565b87850587128184161615615c3557615c356159da565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03841381151615615c7d57615c7d6159da565b827f8000000000000000000000000000000000000000000000000000000000000000038412811615615cb157615cb16159da565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615cef57615cef6159da565b500290565b600082615d0357615d03615a7c565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152615d5360c0830184615551565b98975050505050505050565b805160ff81168114615d7057600080fd5b919050565b600060c08284031215615d8757600080fd5b60405160c0810181811067ffffffffffffffff82111715615daa57615daa6151e4565b6040528251615db8816155d3565b8152615dc660208401615d5f565b6020820152615dd760408401615d5f565b60408201526060830151615dea816155d3565b60608201526080830151615dfd816155d3565b608082015260a08301516fffffffffffffffffffffffffffffffff81168114615e2557600080fd5b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615e6257615e626159da565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115615eab57615eab6159da565b500190565b600060ff831680615ec357615ec3615a7c565b8060ff84160691505092915050565b600060ff821660ff841680821015615eec57615eec6159da565b9003939250505056fea164736f6c634300080f000a",sourceMap:"1269:25082:131:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9861:86;9880:10;9892:9;2311:7;9930:5;9937:9;;;;;;;;;;;;9861:18;:86::i;:::-;1269:25082;;;;;3402:32;;;;;;;;;;-1:-1:-1;3402:32:131;;;;;;;;;;;212:42:350;200:55;;;182:74;;170:2;155:18;3402:32:131;;;;;;;;3115:40;;;;;;;;;;-1:-1:-1;3115:40:131;;;;;;;;;;;4000:33;;;;;;;;;;-1:-1:-1;4000:33:131;;;;;;;;;;;729:10:350;717:23;;;699:42;;687:2;672:18;4000:33:131;524:223:350;16081:2424:131;;;;;;;;;;-1:-1:-1;16081:2424:131;;;;;:::i;:::-;;:::i;8201:101::-;;;;;;;;;;;;;:::i;3851:57::-;;;;;;;;;;-1:-1:-1;3851:57:131;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4255:14:350;;4248:22;4230:41;;4218:2;4203:18;3851:57:131;4090:187:350;11063:4516:131;;;;;;;;;;-1:-1:-1;11063:4516:131;;;;;:::i;:::-;;:::i;4121:40::-;;;;;;;;;;-1:-1:-1;4121:40:131;;;;;;;;;;;;;;5636:18:350;5624:31;;;5606:50;;5594:2;5579:18;4121:40:131;5462:200:350;26201:148:131;;;;;;;;;;-1:-1:-1;26201:148:131;;;;;:::i;:::-;26277:7;26303:32;;;:15;:32;;;;;:39;;26201:148;;;;5998:25:350;;;5986:2;5971:18;26201:148:131;5852:177:350;:40:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;8362:94::-;;;;;;;;;;;;;:::i;22468:3510::-;;;;;;;;;;-1:-1:-1;22468:3510:131;;;;;:::i;:::-;;:::i;7862:86::-;;;;;;;;;;;;;:::i;21385:232::-;;;;;;;;;;-1:-1:-1;21385:232:131;;;;;:::i;:::-;;:::i;21864:279::-;;;;;;;;;;-1:-1:-1;21864:279:131;;;;;:::i;:::-;;:::i;15692:178::-;;;;;;;;;;-1:-1:-1;15692:178:131;;;;;:::i;:::-;;:::i;8700:132::-;;;;;;;;;;-1:-1:-1;8790:35:131;8700:132;;2574:23;;;;;;;;;;-1:-1:-1;2574:23:131;;;;;;;;2688:52;;;;;;;;;;-1:-1:-1;2688:52:131;;;;;:::i;:::-;;;;;;;;;;;;;;;;9325:120;;;;;;;;;;-1:-1:-1;9325:120:131;;;;;:::i;:::-;;:::i;4274:52::-;;;;;;;;;;-1:-1:-1;4274:52:131;;;;;:::i;:::-;;:::i;3671:81::-;;;;;;;;;;-1:-1:-1;3671:81:131;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8858:42:350;8846:55;;;8828:74;;8950:18;8938:31;;;8933:2;8918:18;;8911:59;8801:18;3671:81:131;8634:342:350;8515:119:131;;;;;;;;;;-1:-1:-1;8599:28:131;8515:119;;6764:469;;;;;;;;;;-1:-1:-1;6764:469:131;;;;;:::i;:::-;;:::i;2999:28:133:-;;;;;;;;;;-1:-1:-1;2999:28:133;;;;;;;;;;;;;;;;;;;;;;;;;9819:34:350;9807:47;;;9789:66;;9874:18;9928:15;;;9923:2;9908:18;;9901:43;9980:15;;9960:18;;;9953:43;9777:2;9762:18;2999:28:133;9591:411:350;19235:1971:131;;;;;;:::i;:::-;;:::i;7511:98::-;;;;;;;;;;-1:-1:-1;7590:12:131;;;;7511:98;;3525:44;;;;;;;;;;-1:-1:-1;3525:44:131;;;;;;;;19235:1971;19441:9;3417:18:133;3438:9;3417:30;;19595:11:131::1;19591:136;;;19630:17;::::0;::::1;::::0;19622:94:::1;;;::::0;;::::1;::::0;;11395:2:350;19622:94:131::1;::::0;::::1;11377:21:350::0;11414:18;;;11407:30;;;;11473:34;11453:18;;;11446:62;11544:34;11524:18;;;11517:62;11596:19;;19622:94:131::1;;;;;;;;;19895:37;19918:5;:12;19895:15;:37::i;:::-;19882:50;;:9;:50;;;;19874:98;;;::::0;::::1;::::0;;11828:2:350;19874:98:131::1;::::0;::::1;11810:21:350::0;11867:2;11847:18;;;11840:30;11906:34;11886:18;;;11879:62;11977:5;11957:18;;;11950:33;12000:19;;19874:98:131::1;11626:399:350::0;19874:98:131::1;20367:7;20351:5;:12;:23;;20343:66;;;::::0;::::1;::::0;;12232:2:350;20343:66:131::1;::::0;::::1;12214:21:350::0;12271:2;12251:18;;;12244:30;12310:32;12290:18;;;12283:60;12360:18;;20343:66:131::1;12030:354:350::0;20343:66:131::1;20515:10;20553:9;20539:23:::0;::::1;20535:108;;-1:-1:-1::0;20621:10:131::1;741:42:232::0;1213:27;20535:108:131::1;20900:23;20943:9;20954:6;20962:9;20973:11;20986:5;20926:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20900:92;;2161:1;21166:3;21139:60;;21160:4;21139:60;;;21188:10;21139:60;;;;;;:::i;:::-;;;;;;;;19456:1750;;3548:29:133::0;3557:7;3566:10;3548:8;:29::i;:::-;3339:245;19235:1971:131;;;;;;:::o;16081:2424::-;5730:8;:6;:8::i;:::-;5729:9;5721:44;;;;;;;13461:2:350;5721:44:131;;;13443:21:350;13500:2;13480:18;;;13473:30;13539:24;13519:18;;;13512:52;13581:18;;5721:44:131;13259:346:350;5721:44:131;16527:8:::1;::::0;:39:::1;:8;1338:42:188;16527:39:131;16506:137;;;::::0;::::1;::::0;;13812:2:350;16506:137:131::1;::::0;::::1;13794:21:350::0;13851:2;13831:18;;;13824:30;13890:34;13870:18;;;13863:62;13961:33;13941:18;;;13934:61;14012:19;;16506:137:131::1;13610:427:350::0;16506:137:131::1;16694:22;16719:27;16742:3;16719:22;:27::i;:::-;16694:52;;16812:48;16828:14;16844:15;16812;:48::i;:::-;16940:36;::::0;;;:20:::1;:36;::::0;;;;;;;:43;;;::::1;16979:4;16940:43;::::0;;17088:10;;::::1;::::0;17077:8:::1;:21:::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;17757:10;::::1;::::0;17769:12:::1;::::0;::::1;::::0;17783:9:::1;::::0;::::1;::::0;17794:8:::1;::::0;::::1;::::0;17733:70:::1;::::0;17757:10;17769:12;17783:9;17733:23:::1;:70::i;:::-;17871:8;:38:::0;;;::::1;1338:42:188;17871:38:131;::::0;;18068:44:::1;::::0;17718:85;;-1:-1:-1;18088:14:131;;18068:44:::1;::::0;::::1;::::0;17718:85;4255:14:350;4248:22;4230:41;;4218:2;4203:18;;4090:187;18068:44:131::1;;;;;;;;18377:7;18376:8;:53;;;;-1:-1:-1::0;18388:9:131::1;1016:1:188;18388:41:131;18376:53;18372:127;;;18445:43;::::0;::::1;::::0;;14244:2:350;18445:43:131::1;::::0;::::1;14226:21:350::0;14283:2;14263:18;;;14256:30;14322:34;14302:18;;;14295:62;14393:3;14373:18;;;14366:31;14414:19;;18445:43:131::1;14042:397:350::0;18372:127:131::1;16261:2244;;16081:2424:::0;;:::o;8201:101::-;8242:7;8268:16;;;;;;;;;;;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8261:34;;8201:101;:::o;11063:4516::-;5730:8;:6;:8::i;:::-;5729:9;5721:44;;;;;;;13461:2:350;5721:44:131;;;13443:21:350;13500:2;13480:18;;;13473:30;13539:24;13519:18;;;13512:52;13581:18;;5721:44:131;13259:346:350;5721:44:131;11598:4:::1;11576:27;;:3;:10;;;:27;;::::0;11568:103:::1;;;::::0;::::1;::::0;;14902:2:350;11568:103:131::1;::::0;::::1;14884:21:350::0;14941:2;14921:18;;;14914:30;14980:34;14960:18;;;14953:62;15051:33;15031:18;;;15024:61;15102:19;;11568:103:131::1;14700:427:350::0;11568:103:131::1;11809:18;::::0;:49:::1;::::0;;;;::::1;::::0;::::1;5998:25:350::0;;;11763:17:131::1;::::0;;;11809:18:::1;::::0;;::::1;::::0;:30:::1;::::0;5971:18:350;;11809:49:131::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11762:96;;;;;11868:16;11887:9;:19;;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12023:17;::::0;11868:40;;-1:-1:-1;12005:41:131::1;::::0;;;;;::::1;11997:87;;;::::0;::::1;::::0;;16178:2:350;11997:87:131::1;::::0;::::1;16160:21:350::0;16217:2;16197:18;;;16190:30;16256:34;16236:18;;;16229:62;16327:3;16307:18;;;16300:31;16348:19;;11997:87:131::1;15976:397:350::0;11997:87:131::1;12224:45;;;::::0;;::::1;::::0;::::1;12252:16:::0;12224:45:::1;:::i;:::-;:27;:45::i;:::-;12204:10:::0;:65:::1;12183:153;;;::::0;::::1;::::0;;17233:2:350;12183:153:131::1;::::0;::::1;17215:21:350::0;17272:2;17252:18;;;17245:30;17311:34;17291:18;;;17284:62;17382:11;17362:18;;;17355:39;17411:19;;12183:153:131::1;17031:405:350::0;12183:153:131::1;12447:22;12472:27;12495:3;12472:22;:27::i;:::-;12509:40;12552:33:::0;;;:17:::1;:33;::::0;;;;;;;12586:10:::1;12552:45:::0;;;;;;;;12509:88;;;;::::1;::::0;;;;12552:45:::1;12509:88:::0;::::1;::::0;;;;::::1;;;::::0;;::::1;::::0;12552:33;;-1:-1:-1;12509:88:131;12769:9:::1;:16;;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:48;;;;;;;;:::i;:::-;::::0;12748:153:::1;;;::::0;::::1;::::0;;18113:2:350;12748:153:131::1;::::0;::::1;18095:21:350::0;18152:2;18132:18;;;18125:30;18191:34;18171:18;;;18164:62;18262:28;18242:18;;;18235:56;18308:19;;12748:153:131::1;17911:422:350::0;12748:153:131::1;13463:33:::0;;13527:26:::1;::::0;::::1;::::0;:31:::1;;::::0;;:81:::1;;-1:-1:-1::0;13582:26:131::1;13562:7;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;;;;;;;;:::i;:::-;;13527:81;:130;;;-1:-1:-1::0;13628:29:131::1;::::0;::::1;;::::0;;;:20:::1;:29;::::0;;;;;::::1;;13527:130;:185;;;-1:-1:-1::0;13689:17:131::1;::::0;::::1;;13661:51;;:24;:7;:16;;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:22;;5035:9:172::0;4916:144;13661:24:131::1;:51;;;;13527:185;13506:328;;;::::0;::::1;::::0;;18848:2:350;13506:328:131::1;::::0;::::1;18830:21:350::0;18887:2;18867:18;;;18860:30;18926:34;18906:18;;;18899:62;18997:34;18977:18;;;18970:62;19069:34;19048:19;;;19041:63;19121:19;;13506:328:131::1;18646:500:350::0;13506:328:131::1;14114:147;::::0;;::::1;::::0;::::1;19325:25:350::0;;;14070:18:131::1;19366::350::0;;;19359:34;;;19298:18;;14114:147:131::1;::::0;;;;;::::1;::::0;;;;;;14091:180;;14114:147:::1;14091:180:::0;;::::1;::::0;14679:22;;::::1;5998:25:350::0;;;14091:180:131;-1:-1:-1;14624:161:131::1;::::0;5971:18:350;14679:22:131::1;::::0;;;;;::::1;::::0;;;14624:161;;::::1;::::0;;;::::1;::::0;;::::1;14679:22;14624:161:::0;::::1;::::0;14679:22;14624:161:::1;14712:16:::0;;14624:161:::1;:::i;:::-;14730:16;:41;;;14624:37;:161::i;:::-;14603:258;;;::::0;::::1;::::0;;20727:2:350;14603:258:131::1;::::0;::::1;20709:21:350::0;20766:2;20746:18;;;20739:30;20805:34;20785:18;;;20778:62;20876:20;20856:18;;;20849:48;20914:19;;14603:258:131::1;20525:414:350::0;14603:258:131::1;15219:85;;;;;;;;15256:9;15219:85;;;;;;15285:15;15219:85;;;;::::0;15159:17:::1;:33;15177:14;15159:33;;;;;;;;;;;:45;15193:10;15159:45;;;;;;;;;;;;;;;:145;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15409:3;:10;;;15364:56;;15397:3;:10;;;15364:56;;15381:14;15364:56;;;;;;;;;;-1:-1:-1::0;;;15524:31:131::1;::::0;;;:15:::1;:31;::::0;;;;;;:48;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;;::::1;15561:10;15524:48;::::0;;-1:-1:-1;;;;;;;;11063:4516:131:o;8362:94::-;8401:4;8424:16;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;22468:3510::-;22565:40;22608:34;;;:17;:34;;;;;;;;:51;;;;;;;;;;;;22565:94;;;;;;;;;;;;;;;;;;;;;;;;;22807:38;;;:20;:38;;;;;;22565:94;;;22807:38;;22806:39;22798:101;;;;;;;21396:2:350;22798:101:131;;;21378:21:350;21435:2;21415:18;;;21408:30;21474:34;21454:18;;;21447:62;21545:19;21525:18;;;21518:47;21582:19;;22798:101:131;21194:413:350;22798:101:131;23162:16;:26;;;:31;;23192:1;23162:31;23141:155;;;;;;;21814:2:350;23141:155:131;;;21796:21:350;21853:2;21833:18;;;21826:30;21892:34;21872:18;;;21865:62;21963:34;21943:18;;;21936:62;22035:15;22014:19;;;22007:44;22068:19;;23141:155:131;21612:481:350;23141:155:131;23307:16;23326:34;:16;:26;;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:32;;5035:9:172;4916:144;23326:34:131;23307:53;;23674:9;23645:38;;:16;:26;;;:38;;;23624:163;;;;;;;22586:2:350;23624:163:131;;;22568:21:350;22625:2;22605:18;;;22598:30;22664:34;22644:18;;;22637:62;22735:34;22715:18;;;22708:62;22807:16;22786:19;;;22779:45;22841:19;;23624:163:131;22384:482:350;23624:163:131;23966:28;23937:16;:26;;;23919:44;;:15;:44;;;;:::i;:::-;:75;23898:175;;;;;;;23392:2:350;23898:175:131;;;23374:21:350;23431:2;23411:18;;;23404:30;23470:34;23450:18;;;23443:62;23541:23;23521:18;;;23514:51;23582:19;;23898:175:131;23190:417:350;23898:175:131;24406:24;24377:16;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;;;;;:::i;:::-;;24356:154;;;;;;;23814:2:350;24356:154:131;;;23796:21:350;23853:2;23833:18;;;23826:30;23892:34;23872:18;;;23865:62;23963:24;23943:18;;;23936:52;24005:19;;24356:154:131;23612:418:350;24356:154:131;24820:17;;;;24783:60;;:33;:16;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:33;:60;;;24775:106;;;;;;;16178:2:350;24775:106:131;;;16160:21:350;16217:2;16197:18;;;16190:30;16256:34;16236:18;;;16229:62;16327:3;16307:18;;;16300:31;16348:19;;24775:106:131;15976:397:350;24775:106:131;25156:26;;;;;;;;;25143:39;;;;;25122:161;;;;;;;24237:2:350;25122:161:131;;;24219:21:350;24276:2;24256:18;;;24249:30;24315:34;24295:18;;;24288:62;24386:34;24366:18;;;24359:62;24458:13;24437:19;;;24430:42;24489:19;;25122:161:131;24035:479:350;25122:161:131;25656:35;25618;:16;:27;;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:35;25600:53;;;;:15;:53;:::i;:::-;:91;25579:180;;;;;;;24721:2:350;25579:180:131;;;24703:21:350;24760:2;24740:18;;;24733:30;24799:34;24779:18;;;24772:62;24870:12;24850:18;;;24843:40;24900:19;;25579:180:131;24519:406:350;25579:180:131;25876:37;;;;:20;:37;;;;;;;;25875:38;25867:104;;;;;;;25132:2:350;25867:104:131;;;25114:21:350;25171:2;25151:18;;;25144:30;25210:34;25190:18;;;25183:62;25281:23;25261:18;;;25254:51;25322:19;;25867:104:131;24930:417:350;25867:104:131;22555:3423;;;22468:3510;;:::o;7862:86::-;7905:7;7931:10;:8;:10::i;21385:232::-;21483:10;:8;:10::i;:::-;21469:24;;:10;:24;;;21461:98;;;;;;;25554:2:350;21461:98:131;;;25536:21:350;25593:2;25573:18;;;25566:30;25632:34;25612:18;;;25605:62;25703:31;25683:18;;;25676:59;25752:19;;21461:98:131;25352:425:350;21461:98:131;21569:34;;;;;;:20;:34;;;;;:41;;;;21606:4;21569:41;;;21385:232::o;21864:279::-;21955:10;:8;:10::i;:::-;21941:24;;:10;:24;;;21933:102;;;;;;;25984:2:350;21933:102:131;;;25966:21:350;26023:2;26003:18;;;25996:30;26062:34;26042:18;;;26035:62;26133:34;26113:18;;;26106:62;26205:3;26184:19;;;26177:32;26226:19;;21933:102:131;25782:469:350;21933:102:131;22045:17;:29;;;;;;;22084:52;;;;;;;;;22120:15;22084:52;;;;;;21864:279::o;10168:77::-;:::o;15692:178::-;5730:8;:6;:8::i;:::-;5729:9;5721:44;;;;;;;13461:2:350;5721:44:131;;;13443:21:350;13500:2;13480:18;;;13473:30;13539:24;13519:18;;;13512:52;13581:18;;5721:44:131;13259:346:350;5721:44:131;15804:59:::1;15847:3;15852:10;15804:42;:59::i;:::-;15692:178:::0;:::o;9325:120::-;9390:6;9415:15;:10;9428:2;9415:15;:::i;:::-;:23;;9433:5;9415:23;:::i;:::-;9408:30;9325:120;-1:-1:-1;;9325:120:131:o;4274:52::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4274:52:131;;-1:-1:-1;4274:52:131:o;6764:469::-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;26974:2:350;3146:190:41;;;26956:21:350;27013:2;26993:18;;;26986:30;27052:34;27032:18;;;27025:62;27123:16;27103:18;;;27096:44;27157:19;;3146:190:41;26772:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;6967:18:131::1;:40:::0;;;;;::::1;;::::0;;::::1;::::0;;;::::1;::::0;;;7017:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;7055:16:::1;:36:::0;;;::::1;6967:40;7055:36:::0;;::::1;;;::::0;;7105:8:::1;::::0;::::1;7101:91;;7143:8;:38:::0;;;::::1;1338:42:188;7143:38:131;::::0;;7101:91:::1;7201:25;:23;:25::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;27339:36:350;;3531:14:41;;27327:2:350;27312:18;3531:14:41;;;;;;;3090:472;6764:469:131;;;:::o;1175:320:57:-;1465:19;;;:23;;;1175:320::o;3817:4037:133:-;3984:6;:19;3949:17;;3969:34;;3984:19;;;;;3969:12;:34;:::i;:::-;3949:54;;4014:28;4045:17;:15;:17::i;:::-;4014:48;;4072:26;4171:6;:27;;;4163:36;;4128:6;:23;;;4120:32;;4113:87;;;;:::i;:::-;4072:128;-1:-1:-1;4215:13:133;;4211:2229;;4572:6;:20;4535:19;;4557:59;;4597:19;;4572:20;;;;;4557:59;:::i;:::-;4535:81;;4630:19;4761:6;:34;;;4753:43;;4724:19;:73;;;;:::i;:::-;4668:6;:18;4653:50;;4691:12;;4668:18;;4653:50;:::i;:::-;4652:146;;;;:::i;:::-;5017:6;:18;4630:168;;-1:-1:-1;4939:17:133;;4959:232;;5002:50;;4630:168;;5017:18;;5002:50;:::i;:::-;5091:6;:21;;;5083:30;;5153:6;:21;;;5145:30;;4959:16;:232::i;:::-;4939:252;;5468:1;5456:9;:13;5452:741;;;5741:437;5788:239;5845:10;5910:6;:34;;;5902:43;;6002:1;5990:9;:13;;;;:::i;:::-;5788:16;:239::i;5741:437::-;5728:450;;5452:741;6286:49;;6387:42;6349:24;6416:12;6387:42;;;6286:6;6387:42;-1:-1:-1;;4211:2229:133;6534:6;:31;;6558:7;;6534:6;:20;;:31;;6558:7;;6534:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6652:6;:23;;;6644:32;;6611:6;:20;;;;;;;;;;;;6603:29;;6596:81;;6575:190;;;;;;;29496:2:350;6575:190:133;;;29478:21:350;29535:2;29515:18;;;29508:30;29574:34;29554:18;;;29547:62;29645:32;29625:18;;;29618:60;29695:19;;6575:190:133;29294:426:350;6575:190:133;6877:6;:18;6827:20;;6850:46;;6877:18;;6850:16;;;:46;:::i;:::-;6827:69;;7378:15;7411:31;7420:13;7435:6;7411:8;:31::i;:::-;7396:46;;:12;:46;:::i;:::-;7378:64;;7722:15;7754:9;7740:23;;:11;:23;:::i;:::-;7722:41;;7787:7;7777;:17;7773:75;;;7810:27;7819:17;7829:7;7819;:17;:::i;:::-;7810:8;:27::i;:::-;3881:3973;;;;;;3817:4037;;:::o;4456:211:192:-;4590:9;;4601:10;;;;;4613;;;;;4625:9;;;;4636:12;;;;4650:8;;;;4579:80;;4543:7;;4579:80;;4590:9;;4601:10;4650:8;4579:80;;:::i;:::-;;;;;;;;;;;;;4569:91;;;;;;4562:98;;4456:211;;;:::o;4419:2320:195:-;4589:4;4609:13;4632:15;4650:21;4660:7;4669:1;4650:9;:21::i;:::-;4632:39;;4782:10;4772:1146;;4894:10;4891:1;4884:21;5009:2;5005;4998:14;5747:56;5743:2;5736:68;5900:3;5896:2;5889:15;4772:1146;6666:4;6630;6589:9;6583:16;6549:2;6538:9;6534:18;6491:6;6449:7;6415:5;6389:309;6361:337;4419:2320;-1:-1:-1;;;;;;;4419:2320:195:o;4961:384:192:-;5060:7;5137:16;:24;;;5179:16;:26;;;5223:16;:41;;;5282:16;:32;;;5109:219;;;;;;;;;;30975:25:350;;;31031:2;31016:18;;31009:34;;;;31074:2;31059:18;;31052:34;31117:2;31102:18;;31095:34;30962:3;30947:19;;30744:391;1041:343:201;1234:11;1261:16;1280:19;1294:4;1280:13;:19::i;:::-;1261:38;;1318:59;1350:3;1355:6;1363;1371:5;1318:31;:59::i;:::-;1309:68;1041:343;-1:-1:-1;;;;;;1041:343:201:o;8309:234:133:-;4888:13:41;;;;;;;4880:69;;;;;;;31342:2:350;4880:69:41;;;31324:21:350;31381:2;31361:18;;;31354:30;31420:34;31400:18;;;31393:62;31491:13;31471:18;;;31464:41;31522:19;;4880:69:41;31140:407:350;4880:69:41;8384:6:133::1;:19:::0;;;::::1;;;;:24:::0;8380:157:::1;;8433:93;::::0;;::::1;::::0;::::1;::::0;;8463:6:::1;8433:93:::0;;;-1:-1:-1;8433:93:133::1;::::0;::::1;::::0;8510:12:::1;8433:93;;::::0;;;;;;;8424:102;::::1;;:6;:102:::0;8309:234::o;10494:152:131:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10610:12:131;;:29;;;;;;;-1:-1:-1;;10610:12:131;;;;;:27;;:29;;;;;-1:-1:-1;;10610:29:131;;;;;;:12;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;537:161:184:-;616:6;641:50;656:28;671:6;679:4;656:14;:28::i;:::-;686:4;641:14;:50::i;:::-;634:57;;537:161;;;;;;:::o;1040:228::-;1138:6;1257:4;1180:72;1213:19;1220:12;1257:4;1213:19;:::i;:::-;1205:28;;:4;:28;:::i;:::-;1235:16;:9;1247:4;1235:16;:::i;:::-;1180:24;:72::i;:::-;1164:89;;:12;:89;:::i;:::-;1163:98;;;;:::i;413:105:67:-;471:7;502:1;497;:6;;:14;;510:1;497:14;;;-1:-1:-1;506:1:67;;490:21;-1:-1:-1;413:105:67:o;407:192:185:-;461:9;484:18;505:9;484:30;;524:69;556:7;544:9;531:22;;:10;:22;:::i;:::-;:32;524:69;;;579:3;;;:::i;:::-;;;524:69;;;451:148;;407:192;:::o;3615:365:195:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:195:o;2052:142:201:-;2116:18;2181:4;2171:15;;;;;;2154:33;;;;;;33254:19:350;;33298:2;33289:12;;33125:182;2154:33:201;;;;;;;;;;;;;2146:41;;2052:142;;;:::o;2253:281:200:-;2446:11;2482:45;2494:6;2502:24;2506:4;2512:6;2520:5;2502:3;:24::i;:::-;6693:17:186;;;;;;;6672;;;;;;;;;;:38;;6569:148;2482:45:200;2473:54;2253:281;-1:-1:-1;;;;;2253:281:200:o;311:102:69:-;367:6;397:1;392;:6;;:14;;405:1;392:14;;491:101;547:6;576:1;572;:5;:13;;584:1;572:13;;1208:273:102;1267:6;1391:36;491:4;1410:1;1399:8;1405:1;1399:5;:8::i;:::-;:12;;;;:::i;:::-;1398:28;;;;:::i;:::-;1391:6;:36::i;2830:6314:200:-;2923:19;2976:1;2962:4;:11;:15;2954:49;;;;;;;33514:2:350;2954:49:200;;;33496:21:350;33553:2;33533:18;;;33526:30;33592:23;33572:18;;;33565:51;33633:18;;2954:49:200;33312:345:350;2954:49:200;3014:23;3040:19;3052:6;3040:11;:19::i;:::-;3014:45;;3069:16;3088:21;3104:4;3088:15;:21::i;:::-;3069:40;;3119:26;3165:5;3148:23;;;;;;33254:19:350;;33298:2;33289:12;;33125:182;3148:23:200;;;;;;;;;;;;;3119:52;;3181:23;3295:9;3290:5790;3314:5;:12;3310:1;:16;3290:5790;;;3347:27;3377:5;3383:1;3377:8;;;;;;;;:::i;:::-;;;;;;;3347:38;;3516:3;:10;3497:15;:29;;3489:88;;;;;;;34053:2:350;3489:88:200;;;34035:21:350;34092:2;34072:18;;;34065:30;34131:34;34111:18;;;34104:62;34202:16;34182:18;;;34175:44;34236:19;;3489:88:200;33851:410:350;3489:88:200;3596:15;3615:1;3596:20;3592:837;;3768:19;;3758:30;;;;;;;3741:48;;3729:76;;3741:48;;3758:30;3741:48;33254:19:350;;;33298:2;33289:12;;33125:182;3741:48:200;;;;;;;;;;;;;3791:13;6693:17:186;;;;;;;6672;;;;;;;;;;:38;;6569:148;3729:76:200;3700:176;;;;;;;34468:2:350;3700:176:200;;;34450:21:350;34507:2;34487:18;;;34480:30;34546:31;34526:18;;;34519:59;34595:18;;3700:176:200;34266:353:350;3700:176:200;3592:837;;;3901:19;;:26;3931:2;-1:-1:-1;3897:532:200;;4097:19;;4087:30;;;;;;;4070:48;;4058:76;;4070:48;;4087:30;4070:48;33254:19:350;;;33298:2;33289:12;;33125:182;4058:76:200;4029:186;;;;;;;34826:2:350;4029:186:200;;;34808:21:350;34865:2;34845:18;;;34838:30;34904:34;34884:18;;;34877:62;34975:9;34955:18;;;34948:37;35002:19;;4029:186:200;34624:403:350;3897:532:200;4336:19;;6693:17:186;;;;;;;;;;6672;;;;;;;:38;4316:98:200;;;;;;;35234:2:350;4316:98:200;;;35216:21:350;35273:2;35253:18;;;35246:30;35312:34;35292:18;;;35285:62;35383:8;35363:18;;;35356:36;35409:19;;4316:98:200;35032:402:350;4316:98:200;936:14;803:2;949:1;936:14;:::i;:::-;4447:11;:19;;;:26;:48;4443:4627;;4538:3;:10;4519:15;:29;4515:1346;;5047:52;5067:11;:19;;;803:2;5067:31;;;;;;;;:::i;:::-;;;;;;;5047:19;:52::i;:::-;5038:61;;5145:1;5129:6;:13;:17;5121:89;;;;;;;35774:2:350;5121:89:200;;;35756:21:350;35813:2;35793:18;;;35786:30;35852:34;35832:18;;;35825:62;35923:29;35903:18;;;35896:57;35970:19;;5121:89:200;35572:423:350;5121:89:200;5322:1;5307:5;:12;:16;;;;:::i;:::-;5302:1;:21;5294:92;;;;;;;36202:2:350;5294:92:200;;;36184:21:350;36241:2;36221:18;;;36214:30;36280:34;36260:18;;;36253:62;36351:28;36331:18;;;36324:56;36397:19;;5294:92:200;36000:422:350;5294:92:200;5409:13;;;;;;;;4515:1346;5609:15;5633:3;5637:15;5633:20;;;;;;;;:::i;:::-;;;;;;;;;5627:27;;5609:45;;5676:33;5712:11;:19;;;5732:9;5712:30;;;;;;;;;;:::i;:::-;;;;;;;5676:66;;5780:20;5791:8;5780:10;:20::i;:::-;5764:36;-1:-1:-1;5822:20:200;5841:1;5822:20;;:::i;:::-;;;5447:414;;4443:4627;;;1105:1;5885:11;:19;;;:26;:59;5881:3189;;5964:17;5984:25;5997:11;5984:12;:25::i;:::-;5964:45;;6027:12;6048:4;6053:1;6048:7;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;6074:12:200;6094:10;6103:1;6048:7;6094:10;:::i;:::-;6089:16;;:1;:16;:::i;:::-;6074:31;;6123:26;6152:25;6164:4;6170:6;6152:25;;:11;:25::i;:::-;6123:54;;6195:25;6223:33;6235:3;6240:15;6223:11;:33::i;:::-;6195:61;;6274:26;6303:51;6326:13;6341:12;6303:22;:51::i;:::-;6274:80;;6661:18;6637:13;:20;:42;6608:171;;;;;;;36991:2:350;6608:171:200;;;36973:21:350;37030:2;37010:18;;;37003:30;37069:34;37049:18;;;37042:62;37140:28;37120:18;;;37113:56;37186:19;;6608:171:200;36789:422:350;6608:171:200;6802:26;;;1447:1;6802:26;;:55;;-1:-1:-1;6832:25:200;;;1553:1;6832:25;6802:55;6798:2169;;;7498:18;7475:12;:19;:41;7442:185;;;;;;;37418:2:350;7442:185:200;;;37400:21:350;37457:2;37437:18;;;37430:30;37496:34;37476:18;;;37469:62;37567:31;37547:18;;;37540:59;37616:19;;7442:185:200;37216:425:350;7442:185:200;7985:43;8005:11;:19;;;8025:1;8005:22;;;;;;;;:::i;7985:43::-;7976:52;;8074:1;8058:6;:13;:17;8050:87;;;;;;;37848:2:350;8050:87:200;;;37830:21:350;37887:2;37867:18;;;37860:30;37926:34;37906:18;;;37899:62;37997:27;37977:18;;;37970:55;38042:19;;8050:87:200;37646:421:350;8050:87:200;8249:1;8234:5;:12;:16;;;;:::i;:::-;8229:1;:21;8221:90;;;;;;;38274:2:350;8221:90:200;;;38256:21:350;38313:2;38293:18;;;38286:30;38352:34;38332:18;;;38325:62;38423:26;38403:18;;;38396:54;38467:19;;8221:90:200;38072:420:350;8221:90:200;8334:13;;;;;;;;;;;;;;6798:2169;8376:31;;;;;:65;;-1:-1:-1;8411:30:200;;;1339:1;8411:30;8376:65;8372:595;;;8748:34;8759:11;:19;;;8779:1;8759:22;;;;;;;;:::i;:::-;;;;;;;8748:10;:34::i;:::-;8732:50;-1:-1:-1;8804:37:200;8823:18;8804:37;;:::i;:::-;;;8372:595;;;8888:60;;;;;38699:2:350;8888:60:200;;;38681:21:350;38738:2;38718:18;;;38711:30;38777:34;38757:18;;;38750:62;38848:20;38828:18;;;38821:48;38886:19;;8888:60:200;38497:414:350;8372:595:200;5946:3035;;;;;;5881:3189;;;9005:50;;;;;39118:2:350;9005:50:200;;;39100:21:350;39157:2;39137:18;;;39130:30;39196:34;39176:18;;;39169:62;39267:10;39247:18;;;39240:38;39295:19;;9005:50:200;38916:404:350;5881:3189:200;-1:-1:-1;3328:3:200;;;;:::i;:::-;;;;3290:5790;;;-1:-1:-1;9090:47:200;;;;;39527:2:350;9090:47:200;;;39509:21:350;39566:2;39546:18;;;39539:30;39605:34;39585:18;;;39578:62;39676:7;39656:18;;;39649:35;39701:19;;9090:47:200;39325:401:350;4596:2947:102;4644:8;4700:1;4696;:5;4688:27;;;;;;;39933:2:350;4688:27:102;;;39915:21:350;39972:1;39952:18;;;39945:29;40010:11;39990:18;;;39983:39;40039:18;;4688:27:102;39731:332:350;4688:27:102;5107:8;5145:2;5125:16;5138:1;5125:4;:16::i;:::-;5118:29;5175:3;:7;;;5161:22;;;;5208:17;;;6001:31;5997:35;;6052:5;;5459:2;6051:13;;;6068:32;6050:50;6120:5;;6119:13;;6136:33;6118:51;6189:5;;6188:13;;6205:33;6187:51;6258:5;;6257:13;;6274:33;6256:51;6327:5;;6326:13;;6343:32;6325:50;6395:5;;6394:13;;6411:30;6393:48;5398:31;5394:35;;5449:5;;5448:13;;5465:32;5447:50;5517:5;;5516:13;;5533:32;5515:50;5585:5;;5584:13;;5583:50;;5653:5;;5652:13;;5651:50;;5721:5;;5720:13;;;5719:50;;5787:5;;;:46;;6735:10;7125:43;7120:48;7232:71;:75;;;;7227:80;;;;7380:72;7375:77;7523:3;7517:9;;;-1:-1:-1;;4596:2947:102:o;1487:3103::-;1536:8;1718:21;1713:1;:26;1709:40;;-1:-1:-1;1748:1:102;;1487:3103;-1:-1:-1;1487:3103:102:o;1709:40::-;1948:21;1943:1;:26;1939:54;;1971:22;;;;;40270:2:350;1971:22:102;;;40252:21:350;40309:2;40289:18;;;40282:30;40348:14;40328:18;;;40321:42;40380:18;;1971:22:102;40068:336:350;1939:54:102;2266:5;2260:2;2255:7;;;2254:17;;-1:-1:-1;2535:8:102;2601:2;2559:29;2548:7;;;2547:41;2591:5;2547:49;2546:57;;2629:29;2625:33;;2621:37;;;3300:35;;;3355:5;;2935:2;3354:13;;;3371:32;3353:50;3423:5;;3422:13;;3421:51;;3492:5;;3491:13;;3508:34;3490:52;3562:5;;3561:13;;3560:53;;3633:5;;3632:13;;3649:35;3631:53;2941:32;2874:31;2870:35;;2925:5;;2924:13;;2923:50;;;2998:5;;;:40;;3058:5;3057:13;;;3074:35;3056:53;3127:5;;;3136:40;3127:50;4002:10;4502:49;4489:62;4564:3;:7;;;;4488:84;;;;;;-1:-1:-1;;1487:3103:102:o;9434:390:200:-;9553:13;;9500:24;;9553:13;9585:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;9585:22:200;;;;;;;;;;;;;;;;9576:31;;9622:9;9617:201;9641:6;9637:1;:10;9617:201;;;9676:72;;;;;;;;9696:6;9703:1;9696:9;;;;;;;;:::i;:::-;;;;;;;9676:72;;;;9716:29;9735:6;9742:1;9735:9;;;;;;;;:::i;:::-;;;;;;;9716:18;:29::i;:::-;9676:72;;;9664:6;9671:1;9664:9;;;;;;;;:::i;:::-;;;;;;;;;;:84;9790:3;;9617:201;;;;9526:298;9434:390;;;:::o;4332:1978:186:-;4395:12;4419:21;4550:4;4544:11;4532:23;;4663:6;4657:13;4836:11;4830:4;4826:22;5195:4;5180:13;5176:24;5169:4;5165:9;5161:40;5151:8;5147:55;5141:4;5134:69;5293:13;5283:8;5276:31;;5434:4;5426:6;5422:17;5571:4;5561:8;5557:19;5662:4;5647:622;5675:11;5672:1;5669:18;5647:622;;;5854:1;5848:4;5844:12;5830;5826:31;5996:1;5984:10;5980:18;5974:25;5968:4;5963:37;6119:1;6113:4;6109:12;6101:6;6093:29;6249:4;6246:1;6242:12;6235:4;6227:6;6223:17;6215:40;-1:-1:-1;;5702:4:186;5695:12;5647:622;;;-1:-1:-1;6295:8:186;;4332:1978;-1:-1:-1;;;;;4332:1978:186:o;3993:464:198:-;4055:17;4085:18;4105;4125:20;4149:18;4163:3;4149:13;:18::i;:::-;4084:83;;-1:-1:-1;4084:83:198;-1:-1:-1;4084:83:198;-1:-1:-1;4198:21:198;4186:8;:33;;;;;;;;:::i;:::-;;4178:103;;;;;;;40611:2:350;4178:103:198;;;40593:21:350;40650:2;40630:18;;;40623:30;40689:34;40669:18;;;40662:62;40760:27;40740:18;;;40733:55;40805:19;;4178:103:198;40409:421:350;4178:103:198;4314:23;4327:10;4314;:23;:::i;:::-;4300:10;;:37;4292:102;;;;;;;41037:2:350;4292:102:198;;;41019:21:350;41076:2;41056:18;;;41049:30;41115:34;41095:18;;;41088:62;41186:22;41166:18;;;41159:50;41226:19;;4292:102:198;40835:416:350;4292:102:198;4412:38;4418:3;:7;;;4427:10;4439;4412:5;:38::i;10121:193:200:-;10195:16;10244:2;10229:5;:12;;;:17;:78;;10281:26;10301:5;10281:19;:26::i;:::-;10229:78;;;10249:29;10272:5;10249:22;:29::i;10495:172::-;10562:21;10606:54;10622:37;10642:5;:13;;;10656:1;10642:16;;;;;;;;:::i;10622:37::-;10606:15;:54::i;3805:237:186:-;3880:12;3918:6;:13;3908:6;:23;3904:70;;-1:-1:-1;3954:9:186;;;;;;;;;-1:-1:-1;3954:9:186;;3947:16;;3904:70;3990:45;3996:6;4004;4028;4012;:13;:22;;;;:::i;:::-;3990:5;:45::i;10892:321:200:-;10980:15;11007:11;11034:2;:9;11022:2;:9;:21;11021:47;;11059:2;:9;11021:47;;;11047:2;:9;11021:47;11007:61;;11078:129;11095:3;11085:7;:13;:43;;;;;11117:2;11120:7;11117:11;;;;;;;;:::i;:::-;;;;;;;;;11102:26;;;:2;11105:7;11102:11;;;;;;;;:::i;:::-;;;;;;;:26;11085:43;11078:129;;;11173:9;;;;;11078:129;;;10997:216;10892:321;;;;:::o;15328:575:102:-;15376:9;15409:1;15405;:5;15397:27;;;;;;;39933:2:350;15397:27:102;;;39915:21:350;39972:1;39952:18;;;39945:29;40010:11;39990:18;;;39983:39;40039:18;;15397:27:102;39731:332:350;15397:27:102;-1:-1:-1;15821:1:102;15473:34;-1:-1:-1;;15467:1:102;15463:49;15566:9;;;15546:18;15543:33;15540:1;15536:41;15530:48;15624:9;;;15612:10;15609:25;15606:1;15602:33;15596:40;15678:9;;;15670:6;15667:21;15664:1;15660:29;15654:36;15730:9;;;15724:4;15721:19;15718:1;15714:27;;;15708:34;;;15781:9;;;15776:3;15773:18;15770:1;15766:26;15760:33;15832:9;;;15824:18;;;15817:26;;15811:33;15876:9;;;-1:-1:-1;15862:25:102;;15328:575::o;3732:130:198:-;3791:21;3831:24;3840:14;3850:3;3840:9;:14::i;:::-;3831:8;:24::i;5246:4079::-;5335:15;5352;5369:17;5705:1;5692:3;:10;;;:14;5684:101;;;;;;;41458:2:350;5684:101:198;;;41440:21:350;41497:2;41477:18;;;41470:30;41536:34;41516:18;;;41509:62;41607:34;41587:18;;;41580:62;41679:12;41658:19;;;41651:41;41709:19;;5684:101:198;41256:478:350;5684:101:198;5816:7;;;;5898:10;;5796:17;5890:19;5943:4;5933:14;;5929:3390;;5999:1;6002;6005:21;5991:36;;;;;;;;;;5929:3390;6058:4;6048:6;:14;6044:3275;;6164:14;6181:13;6190:4;6181:6;:13;:::i;:::-;6164:30;;6247:6;6234:3;:10;;;:19;6209:140;;;;;;;41941:2:350;6209:140:198;;;41923:21:350;41980:2;41960:18;;;41953:30;42019:34;41999:18;;;41992:62;42090:34;42070:18;;;42063:62;42162:16;42141:19;;;42134:45;42196:19;;6209:140:198;41739:482:350;6209:140:198;6471:1;6462:11;;;6456:18;6476:14;6452:39;;6544:11;;;;:41;;-1:-1:-1;6559:26:198;;;;;;6544:41;6519:177;;;;;;;42428:2:350;6519:177:198;;;42410:21:350;42467:2;42447:18;;;42440:30;42506:34;42486:18;;;42479:62;42577:34;42557:18;;;42550:62;42649:15;42628:19;;;42621:44;42682:19;;6519:177:198;42226:481:350;6519:177:198;-1:-1:-1;6719:1:198;;-1:-1:-1;6722:6:198;-1:-1:-1;6730:21:198;;-1:-1:-1;6711:41:198;;-1:-1:-1;;6711:41:198;6044:3275;6783:4;6773:6;:14;6769:2550;;6831:19;6853:13;6862:4;6853:6;:13;:::i;:::-;6831:35;;6919:11;6906:3;:10;;;:24;6881:164;;;;;;;42914:2:350;6881:164:198;;;42896:21:350;42953:2;42933:18;;;42926:30;42992:34;42972:18;;;42965:62;43063:34;43043:18;;;43036:62;43135:19;43114;;;43107:48;43172:19;;6881:164:198;42712:485:350;6881:164:198;7167:1;7158:11;;7152:18;7172:14;7148:39;7060:25;7240:26;;;7215:143;;;;;;;43404:2:350;7215:143:198;;;43386:21:350;43443:2;43423:18;;;43416:30;43482:34;43462:18;;;43455:62;43553:34;43533:18;;;43526:62;43625:12;43604:19;;;43597:41;43655:19;;7215:143:198;43202:478:350;7215:143:198;7488:1;7479:11;;7473:18;7455:1;7451:19;;7446:3;7442:29;7438:54;7537:2;7528:11;;7520:96;;;;;;;43887:2:350;7520:96:198;;;43869:21:350;43926:2;43906:18;;;43899:30;43965:34;43945:18;;;43938:62;44036:34;44016:18;;;44009:62;44108:10;44087:19;;;44080:39;44136:19;;7520:96:198;43685:476:350;7520:96:198;7669:20;7683:6;7669:11;:20;:::i;:::-;7656:10;;:33;7631:168;;;;;;;44368:2:350;7631:168:198;;;44350:21:350;44407:2;44387:18;;;44380:30;44446:34;44426:18;;;44419:62;44517:34;44497:18;;;44490:62;44589:14;44568:19;;;44561:43;44621:19;;7631:168:198;44166:480:350;7631:168:198;7822:15;7826:11;7822:1;:15;:::i;:::-;7814:55;-1:-1:-1;7839:6:198;-1:-1:-1;7847:21:198;;-1:-1:-1;7814:55:198;;-1:-1:-1;;;;7814:55:198;6769:2550;7900:4;7890:6;:14;7886:1433;;8003:15;8021:13;8030:4;8021:6;:13;:::i;:::-;8003:31;;8070:7;8057:3;:10;;;:20;8049:107;;;;;;;44853:2:350;8049:107:198;;;44835:21:350;44892:2;44872:18;;;44865:30;44931:34;44911:18;;;44904:62;45002:34;44982:18;;;44975:62;45074:12;45053:19;;;45046:41;45104:19;;8049:107:198;44651:478:350;8049:107:198;8179:1;;-1:-1:-1;8182:7:198;-1:-1:-1;8179:1:198;;-1:-1:-1;8171:42:198;;-1:-1:-1;;8171:42:198;7886:1433;8270:20;8293:13;8302:4;8293:6;:13;:::i;:::-;8270:36;;8359:12;8346:3;:10;;;:25;8321:161;;;;;;;45336:2:350;8321:161:198;;;45318:21:350;45375:2;45355:18;;;45348:30;45414:34;45394:18;;;45387:62;45485:34;45465:18;;;45458:62;45557:15;45536:19;;;45529:44;45590:19;;8321:161:198;45134:481:350;8321:161:198;8604:1;8595:11;;8589:18;8609:14;8585:39;8497:25;8677:26;;;8652:141;;;;;;;45822:2:350;8652:141:198;;;45804:21:350;45861:2;45841:18;;;45834:30;45900:34;45880:18;;;45873:62;45971:34;45951:18;;;45944:62;46043:10;46022:19;;;46015:39;46071:19;;8652:141:198;45620:476:350;8652:141:198;8926:1;8917:11;;8911:18;8892:1;8888:20;;8883:3;8879:30;8875:55;8976:2;8966:12;;8958:95;;;;;;;46303:2:350;8958:95:198;;;46285:21:350;46342:2;46322:18;;;46315:30;46381:34;46361:18;;;46354:62;46452:34;46432:18;;;46425:62;46524:8;46503:19;;;46496:37;46550:19;;8958:95:198;46101:474:350;8958:95:198;9106:22;9121:7;9106:12;:22;:::i;:::-;9093:10;;:35;9068:168;;;;;;;46782:2:350;9068:168:198;;;46764:21:350;46821:2;46801:18;;;46794:30;46860:34;46840:18;;;46833:62;46931:34;46911:18;;;46904:62;47003:12;46982:19;;;46975:41;47033:19;;9068:168:198;46580:478:350;9068:168:198;9259:16;9263:12;9259:1;:16;:::i;:::-;9251:57;-1:-1:-1;9277:7:198;-1:-1:-1;9286:21:198;;-1:-1:-1;9251:57:198;;-1:-1:-1;;;;9251:57:198;5246:4079;;;;;;:::o;9585:737::-;9676:17;9722:7;9712:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9712:18:198;-1:-1:-1;9705:25:198;-1:-1:-1;9740:54:198;;9772:11;9740:54;10010:11;10024:36;10053:7;10045:4;10024:36;:::i;:::-;10010:50;;10115:2;10109:4;10105:13;10140:1;10154:87;10168:7;10165:1;10162:14;10154:87;;;10226:11;;;10220:18;10206:12;;;10199:40;10191:2;10184:10;10154:87;;;10264:7;10261:1;10258:14;10255:51;;;10302:1;10292:7;10286:4;10282:18;10275:29;10255:51;;;10079:237;9585:737;;;;;:::o;4847:137::-;4912:17;4948:29;4954:3;:7;;;4963:1;4966:3;:10;;;4948:5;:29::i;660:2816:186:-;752:12;824:7;808;818:2;808:12;:23;;800:50;;;;;;;47265:2:350;800:50:186;;;47247:21:350;47304:2;47284:18;;;47277:30;47343:16;47323:18;;;47316:44;47377:18;;800:50:186;47063:338:350;800:50:186;892:6;881:7;872:6;:16;:26;;864:53;;;;;;;47265:2:350;864:53:186;;;47247:21:350;47304:2;47284:18;;;47277:30;47343:16;47323:18;;;47316:44;47377:18;;864:53:186;47063:338:350;864:53:186;965:7;956:6;:16;939:6;:13;:33;;931:63;;;;;;;47608:2:350;931:63:186;;;47590:21:350;47647:2;47627:18;;;47620:30;47686:19;47666:18;;;47659:47;47723:18;;931:63:186;47406:341:350;931:63:186;1015:22;1078:15;;1106:1931;;;;3178:4;3172:11;3159:24;;3365:1;3354:9;3347:20;3413:4;3402:9;3398:20;3392:4;3385:34;1071:2362;;1106:1931;1288:4;1282:11;1269:24;;1947:2;1938:7;1934:16;2329:9;2322:17;2316:4;2312:28;2300:9;2289;2285:25;2281:60;2377:7;2373:2;2369:16;2629:6;2615:9;2608:17;2602:4;2598:28;2586:9;2578:6;2574:22;2570:57;2566:70;2403:389;2662:3;2658:2;2655:11;2403:389;;;2780:9;;2769:21;;2703:4;2695:13;;;;2735;2403:389;;;-1:-1:-1;;2810:26:186;;;3018:2;3001:11;3014:7;2997:25;2991:4;2984:39;-1:-1:-1;1071:2362:186;-1:-1:-1;3460:9:186;660:2816;-1:-1:-1;;;;660:2816:186:o;1298:390:198:-;-1:-1:-1;;;;;;;;;;;;;;;;;1453:1:198;1440:3;:10;:14;1432:101;;;;;;;41458:2:350;1432:101:198;;;41440:21:350;41497:2;41477:18;;;41470:30;41536:34;41516:18;;;41509:62;41607:34;41587:18;;;41580:62;41679:12;41658:19;;;41651:41;41709:19;;1432:101:198;41256:478:350;1432:101:198;-1:-1:-1;1640:41:198;;;;;;;;;1658:10;;1640:41;;1610:2;1601:12;;;1640:41;;;;;;;;1298:390::o;1840:1740::-;1901:21;1935:18;1955;1975:20;1999:18;2013:3;1999:13;:18::i;:::-;1934:83;;-1:-1:-1;1934:83:198;-1:-1:-1;1934:83:198;-1:-1:-1;2048:21:198;2036:8;:33;;;;;;;;:::i;:::-;;2028:102;;;;;;;47954:2:350;2028:102:198;;;47936:21:350;47993:2;47973:18;;;47966:30;48032:34;48012:18;;;48005:62;48103:26;48083:18;;;48076:54;48147:19;;2028:102:198;47752:420:350;2028:102:198;2176:10;;2149:23;2162:10;2149;:23;:::i;:::-;:37;2141:100;;;;;;;48379:2:350;2141:100:198;;;48361:21:350;48418:2;48398:18;;;48391:30;48457:34;48437:18;;;48430:62;48528:20;48508:18;;;48501:48;48566:19;;2141:100:198;48177:414:350;2141:100:198;2651:30;;;1123:2;2651:30;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;2651:30:198;;;;;;;;;;;;;;-1:-1:-1;2644:37:198;-1:-1:-1;2692:17:198;2740:10;2760:681;2776:10;;2767:19;;2760:681;;;2803:18;2823;2846:150;2877:105;;;;;;;;2908:6;2895:3;:10;;;:19;;;;:::i;:::-;2877:105;;;;2972:6;2961:3;:7;;;2940:38;;;;:::i;:::-;2877:105;;2846:13;:150::i;:::-;2802:194;;;;;3201:153;;;;;;;;3248:10;3235;:23;;;;:::i;:::-;3201:153;;;;3332:6;3321:3;:7;;;3300:38;;;;:::i;:::-;3201:153;;;3183:4;3188:9;3183:15;;;;;;;;:::i;:::-;;;;;;;;;;:171;3369:14;3382:1;3369:14;;:::i;:::-;;-1:-1:-1;3407:23:198;3420:10;3407;:23;:::i;:::-;3397:33;;;;:::i;:::-;;;2788:653;;2760:681;;;-1:-1:-1;3541:23:198;;-1:-1:-1;3548:4:198;;1840:1740;-1:-1:-1;;;1840:1740:198:o;752:184:350:-;804:77;801:1;794:88;901:4;898:1;891:15;925:4;922:1;915:15;941:334;1012:2;1006:9;1068:2;1058:13;;1073:66;1054:86;1042:99;;1171:18;1156:34;;1192:22;;;1153:62;1150:88;;;1218:18;;:::i;:::-;1254:2;1247:22;941:334;;-1:-1:-1;941:334:350:o;1280:154::-;1366:42;1359:5;1355:54;1348:5;1345:65;1335:93;;1424:1;1421;1414:12;1439:589;1481:5;1534:3;1527:4;1519:6;1515:17;1511:27;1501:55;;1552:1;1549;1542:12;1501:55;1588:6;1575:20;1614:18;1610:2;1607:26;1604:52;;;1636:18;;:::i;:::-;1680:114;1788:4;1719:66;1712:4;1708:2;1704:13;1700:86;1696:97;1680:114;:::i;:::-;1819:2;1810:7;1803:19;1865:3;1858:4;1853:2;1845:6;1841:15;1837:26;1834:35;1831:55;;;1882:1;1879;1872:12;1831:55;1947:2;1940:4;1932:6;1928:17;1921:4;1912:7;1908:18;1895:55;1995:1;1970:16;;;1988:4;1966:27;1959:38;;;;1974:7;1439:589;-1:-1:-1;;;1439:589:350:o;2033:1032::-;2101:5;2149:4;2137:9;2132:3;2128:19;2124:30;2121:50;;;2167:1;2164;2157:12;2121:50;2200:2;2194:9;2242:4;2234:6;2230:17;2266:18;2334:6;2322:10;2319:22;2314:2;2302:10;2299:18;2296:46;2293:72;;;2345:18;;:::i;:::-;2385:10;2381:2;2374:22;2414:6;2405:15;;2457:9;2444:23;2436:6;2429:39;2520:2;2509:9;2505:18;2492:32;2477:47;;2533:33;2558:7;2533:33;:::i;:::-;2599:7;2594:2;2586:6;2582:15;2575:32;2659:2;2648:9;2644:18;2631:32;2616:47;;2672:33;2697:7;2672:33;:::i;:::-;2738:7;2733:2;2725:6;2721:15;2714:32;2807:2;2796:9;2792:18;2779:32;2774:2;2766:6;2762:15;2755:57;2874:3;2863:9;2859:19;2846:33;2840:3;2832:6;2828:16;2821:59;2931:3;2920:9;2916:19;2903:33;2889:47;;2959:2;2951:6;2948:14;2945:34;;;2975:1;2972;2965:12;2945:34;;3013:45;3054:3;3045:6;3034:9;3030:22;3013:45;:::i;:::-;3007:3;2999:6;2995:16;2988:71;;;2033:1032;;;;:::o;3070:510::-;3179:6;3187;3240:2;3228:9;3219:7;3215:23;3211:32;3208:52;;;3256:1;3253;3246:12;3208:52;3296:9;3283:23;3329:18;3321:6;3318:30;3315:50;;;3361:1;3358;3351:12;3315:50;3384:72;3448:7;3439:6;3428:9;3424:22;3384:72;:::i;:::-;3374:82;;;3506:2;3495:9;3491:18;3478:32;3519:31;3544:5;3519:31;:::i;:::-;3569:5;3559:15;;;3070:510;;;;;:::o;3816:269::-;3897:6;3950:2;3938:9;3929:7;3925:23;3921:32;3918:52;;;3966:1;3963;3956:12;3918:52;4005:9;3992:23;4024:31;4049:5;4024:31;:::i;4282:1175::-;4484:6;4492;4500;4508;4516;4560:9;4551:7;4547:23;4590:3;4586:2;4582:12;4579:32;;;4607:1;4604;4597:12;4579:32;4647:9;4634:23;4676:18;4717:2;4709:6;4706:14;4703:34;;;4733:1;4730;4723:12;4703:34;4756:72;4820:7;4811:6;4800:9;4796:22;4756:72;:::i;:::-;4746:82;;4875:2;4864:9;4860:18;4847:32;4837:42;;4972:3;4903:66;4899:2;4895:75;4891:85;4888:105;;;4989:1;4986;4979:12;4888:105;5027:2;5016:9;5012:18;5002:28;;5083:3;5072:9;5068:19;5055:33;5039:49;;5113:2;5103:8;5100:16;5097:36;;;5129:1;5126;5119:12;5097:36;5167:8;5156:9;5152:24;5142:34;;5214:7;5207:4;5203:2;5199:13;5195:27;5185:55;;5236:1;5233;5226:12;5185:55;5276:2;5263:16;5249:30;;5302:2;5294:6;5291:14;5288:34;;;5318:1;5315;5308:12;5288:34;;5371:7;5366:2;5356:6;5353:1;5349:14;5345:2;5341:23;5337:32;5334:45;5331:65;;;5392:1;5389;5382:12;5331:65;4282:1175;;;;-1:-1:-1;4282:1175:350;;-1:-1:-1;;;5423:2:350;5415:11;;5445:6;4282:1175::o;5667:180::-;5726:6;5779:2;5767:9;5758:7;5754:23;5750:32;5747:52;;;5795:1;5792;5785:12;5747:52;-1:-1:-1;5818:23:350;;5667:180;-1:-1:-1;5667:180:350:o;6034:258::-;6106:1;6116:113;6130:6;6127:1;6124:13;6116:113;;;6206:11;;;6200:18;6187:11;;;6180:39;6152:2;6145:10;6116:113;;;6247:6;6244:1;6241:13;6238:48;;;-1:-1:-1;;6282:1:350;6264:16;;6257:27;6034:258::o;6297:317::-;6339:3;6377:5;6371:12;6404:6;6399:3;6392:19;6420:63;6476:6;6469:4;6464:3;6460:14;6453:4;6446:5;6442:16;6420:63;:::i;:::-;6528:2;6516:15;6533:66;6512:88;6503:98;;;;6603:4;6499:109;;6297:317;-1:-1:-1;;6297:317:350:o;6619:220::-;6768:2;6757:9;6750:21;6731:4;6788:45;6829:2;6818:9;6814:18;6806:6;6788:45;:::i;6844:315::-;6912:6;6920;6973:2;6961:9;6952:7;6948:23;6944:32;6941:52;;;6989:1;6986;6979:12;6941:52;7025:9;7012:23;7002:33;;7085:2;7074:9;7070:18;7057:32;7098:31;7123:5;7098:31;:::i;7164:144::-;7272:10;7265:5;7261:22;7254:5;7251:33;7241:61;;7298:1;7295;7288:12;7313:299;7402:6;7455:2;7443:9;7434:7;7430:23;7426:32;7423:52;;;7471:1;7468;7461:12;7423:52;7510:9;7497:23;7529:53;7576:5;7529:53;:::i;7617:375::-;7717:6;7770:2;7758:9;7749:7;7745:23;7741:32;7738:52;;;7786:1;7783;7776:12;7738:52;7826:9;7813:23;7859:18;7851:6;7848:30;7845:50;;;7891:1;7888;7881:12;7845:50;7914:72;7978:7;7969:6;7958:9;7954:22;7914:72;:::i;:::-;7904:82;7617:375;-1:-1:-1;;;;7617:375:350:o;7997:129::-;8082:18;8075:5;8071:30;8064:5;8061:41;8051:69;;8116:1;8113;8106:12;8131:245;8189:6;8242:2;8230:9;8221:7;8217:23;8213:32;8210:52;;;8258:1;8255;8248:12;8210:52;8297:9;8284:23;8316:30;8340:5;8316:30;:::i;8381:248::-;8449:6;8457;8510:2;8498:9;8489:7;8485:23;8481:32;8478:52;;;8526:1;8523;8516:12;8478:52;-1:-1:-1;;8549:23:350;;;8619:2;8604:18;;;8591:32;;-1:-1:-1;8381:248:350:o;8981:605::-;9134:6;9142;9150;9203:2;9191:9;9182:7;9178:23;9174:32;9171:52;;;9219:1;9216;9209:12;9171:52;9258:9;9245:23;9277:31;9302:5;9277:31;:::i;:::-;9327:5;-1:-1:-1;9384:2:350;9369:18;;9356:32;9397:33;9356:32;9397:33;:::i;:::-;9449:7;-1:-1:-1;9508:2:350;9493:18;;9480:32;9521:33;9480:32;9521:33;:::i;:::-;9573:7;9563:17;;;8981:605;;;;;:::o;10007:118::-;10093:5;10086:13;10079:21;10072:5;10069:32;10059:60;;10115:1;10112;10105:12;10130:799;10230:6;10238;10246;10254;10262;10315:3;10303:9;10294:7;10290:23;10286:33;10283:53;;;10332:1;10329;10322:12;10283:53;10371:9;10358:23;10390:31;10415:5;10390:31;:::i;:::-;10440:5;-1:-1:-1;10492:2:350;10477:18;;10464:32;;-1:-1:-1;10548:2:350;10533:18;;10520:32;10561;10520;10561;:::i;:::-;10612:7;-1:-1:-1;10671:2:350;10656:18;;10643:32;10684:30;10643:32;10684:30;:::i;:::-;10733:7;-1:-1:-1;10791:3:350;10776:19;;10763:33;10819:18;10808:30;;10805:50;;;10851:1;10848;10841:12;10805:50;10874:49;10915:7;10906:6;10895:9;10891:22;10874:49;:::i;:::-;10864:59;;;10130:799;;;;;;;;:::o;12389:642::-;12652:6;12647:3;12640:19;12689:6;12684:2;12679:3;12675:12;12668:28;12748:66;12739:6;12734:3;12730:16;12726:89;12721:2;12716:3;12712:12;12705:111;12869:6;12862:14;12855:22;12850:3;12846:32;12841:2;12836:3;12832:12;12825:54;12622:3;12908:6;12902:13;12924:60;12977:6;12972:2;12967:3;12963:12;12958:2;12950:6;12946:15;12924:60;:::i;:::-;13004:16;;;;13022:2;13000:25;;12389:642;-1:-1:-1;;;;;;12389:642:350:o;14444:251::-;14514:6;14567:2;14555:9;14546:7;14542:23;14538:32;14535:52;;;14583:1;14580;14573:12;14535:52;14615:9;14609:16;14634:31;14659:5;14634:31;:::i;15132:623::-;15303:6;15311;15319;15372:2;15360:9;15351:7;15347:23;15343:32;15340:52;;;15388:1;15385;15378:12;15340:52;15420:9;15414:16;15439:53;15486:5;15439:53;:::i;:::-;15561:2;15546:18;;15540:25;15511:5;;-1:-1:-1;15574:32:350;15540:25;15574:32;:::i;:::-;15677:2;15662:18;;15656:25;15625:7;;-1:-1:-1;15690:33:350;15656:25;15690:33;:::i;15760:211::-;15857:6;15910:2;15898:9;15889:7;15885:23;15881:32;15878:52;;;15926:1;15923;15916:12;15878:52;-1:-1:-1;15949:16:350;;15760:211;-1:-1:-1;15760:211:350:o;16378:648::-;16472:6;16525:3;16513:9;16504:7;16500:23;16496:33;16493:53;;;16542:1;16539;16532:12;16493:53;16575:2;16569:9;16617:3;16609:6;16605:16;16687:6;16675:10;16672:22;16651:18;16639:10;16636:34;16633:62;16630:88;;;16698:18;;:::i;:::-;16738:10;16734:2;16727:22;;16786:9;16773:23;16765:6;16758:39;16858:2;16847:9;16843:18;16830:32;16825:2;16817:6;16813:15;16806:57;16924:2;16913:9;16909:18;16896:32;16891:2;16883:6;16879:15;16872:57;16990:2;16979:9;16975:18;16962:32;16957:2;16949:6;16945:15;16938:57;17014:6;17004:16;;;16378:648;;;;:::o;17441:184::-;17493:77;17490:1;17483:88;17590:4;17587:1;17580:15;17614:4;17611:1;17604:15;17630:276;17716:6;17769:2;17757:9;17748:7;17744:23;17740:32;17737:52;;;17785:1;17782;17775:12;17737:52;17817:9;17811:16;17856:1;17849:5;17846:12;17836:40;;17872:1;17869;17862:12;18338:303;18438:6;18491:2;18479:9;18470:7;18466:23;18462:32;18459:52;;;18507:1;18504;18497:12;18459:52;18539:9;18533:16;18558:53;18605:5;18558:53;:::i;19586:934::-;19722:9;19756:18;19797:2;19789:6;19786:14;19783:40;;;19803:18;;:::i;:::-;19849:6;19846:1;19842:14;19875:4;19899:28;19923:2;19919;19915:11;19899:28;:::i;:::-;19961:19;;;20031:14;;;;19996:12;;;;20068:14;20057:26;;20054:46;;;20096:1;20093;20086:12;20054:46;20120:5;20134:353;20150:6;20145:3;20142:15;20134:353;;;20236:3;20223:17;20272:2;20259:11;20256:19;20253:109;;;20316:1;20345:2;20341;20334:14;20253:109;20387:57;20429:14;20415:11;20408:5;20404:23;20387:57;:::i;:::-;20375:70;;-1:-1:-1;20465:12:350;;;;20167;;20134:353;;;-1:-1:-1;20509:5:350;19586:934;-1:-1:-1;;;;;;;19586:934:350:o;20944:245::-;21011:6;21064:2;21052:9;21043:7;21039:23;21035:32;21032:52;;;21080:1;21077;21070:12;21032:52;21112:9;21106:16;21131:28;21153:5;21131:28;:::i;22098:281::-;22199:6;22252:2;22240:9;22231:7;22227:23;22223:32;22220:52;;;22268:1;22265;22258:12;22220:52;22300:9;22294:16;22319:30;22343:5;22319:30;:::i;22871:184::-;22923:77;22920:1;22913:88;23020:4;23017:1;23010:15;23044:4;23041:1;23034:15;23060:125;23100:4;23128:1;23125;23122:8;23119:34;;;23133:18;;:::i;:::-;-1:-1:-1;23170:9:350;;23060:125::o;26256:270::-;26295:7;26327:18;26372:2;26369:1;26365:10;26402:2;26399:1;26395:10;26458:3;26454:2;26450:12;26445:3;26442:21;26435:3;26428:11;26421:19;26417:47;26414:73;;;26467:18;;:::i;:::-;26507:13;;26256:270;-1:-1:-1;;;;26256:270:350:o;26531:236::-;26570:3;26598:18;26643:2;26640:1;26636:10;26673:2;26670:1;26666:10;26704:3;26700:2;26696:12;26691:3;26688:21;26685:47;;;26712:18;;:::i;:::-;26748:13;;26531:236;-1:-1:-1;;;;26531:236:350:o;27386:184::-;27438:77;27435:1;27428:88;27535:4;27532:1;27525:15;27559:4;27556:1;27549:15;27575:308;27614:1;27640;27630:35;;27645:18;;:::i;:::-;27762:66;27759:1;27756:73;27687:66;27684:1;27681:73;27677:153;27674:179;;;27833:18;;:::i;:::-;-1:-1:-1;27867:10:350;;27575:308::o;27888:369::-;27927:4;27963:1;27960;27956:9;28072:1;28004:66;28000:74;27997:1;27993:82;27988:2;27981:10;27977:99;27974:125;;;28079:18;;:::i;:::-;28198:1;28130:66;28126:74;28123:1;28119:82;28115:2;28111:91;28108:117;;;28205:18;;:::i;:::-;-1:-1:-1;;28242:9:350;;27888:369::o;28262:655::-;28301:7;28333:66;28425:1;28422;28418:9;28453:1;28450;28446:9;28498:1;28494:2;28490:10;28487:1;28484:17;28479:2;28475;28471:11;28467:35;28464:61;;;28505:18;;:::i;:::-;28544:66;28636:1;28633;28629:9;28683:1;28679:2;28674:11;28671:1;28667:19;28662:2;28658;28654:11;28650:37;28647:63;;;28690:18;;:::i;:::-;28736:1;28733;28729:9;28719:19;;28783:1;28779:2;28774:11;28771:1;28767:19;28762:2;28758;28754:11;28750:37;28747:63;;;28790:18;;:::i;:::-;28855:1;28851:2;28846:11;28843:1;28839:19;28834:2;28830;28826:11;28822:37;28819:63;;;28862:18;;:::i;:::-;-1:-1:-1;;;28902:9:350;;;;;28262:655;-1:-1:-1;;;28262:655:350:o;28922:367::-;28961:3;28996:1;28993;28989:9;29105:1;29037:66;29033:74;29030:1;29026:82;29021:2;29014:10;29010:99;29007:125;;;29112:18;;:::i;:::-;29231:1;29163:66;29159:74;29156:1;29152:82;29148:2;29144:91;29141:117;;;29238:18;;:::i;:::-;-1:-1:-1;;29274:9:350;;28922:367::o;29725:228::-;29765:7;29891:1;29823:66;29819:74;29816:1;29813:81;29808:1;29801:9;29794:17;29790:105;29787:131;;;29898:18;;:::i;:::-;-1:-1:-1;29938:9:350;;29725:228::o;29958:120::-;29998:1;30024;30014:35;;30029:18;;:::i;:::-;-1:-1:-1;30063:9:350;;29958:120::o;30083:656::-;30370:6;30359:9;30352:25;30333:4;30396:42;30486:2;30478:6;30474:15;30469:2;30458:9;30454:18;30447:43;30538:2;30530:6;30526:15;30521:2;30510:9;30506:18;30499:43;;30578:6;30573:2;30562:9;30558:18;30551:34;30622:6;30616:3;30605:9;30601:19;30594:35;30666:3;30660;30649:9;30645:19;30638:32;30687:46;30728:3;30717:9;30713:19;30705:6;30687:46;:::i;:::-;30679:54;30083:656;-1:-1:-1;;;;;;;;30083:656:350:o;31552:160::-;31629:13;;31682:4;31671:16;;31661:27;;31651:55;;31702:1;31699;31692:12;31651:55;31552:160;;;:::o;31717:1203::-;31820:6;31873:3;31861:9;31852:7;31848:23;31844:33;31841:53;;;31890:1;31887;31880:12;31841:53;31923:2;31917:9;31965:3;31957:6;31953:16;32035:6;32023:10;32020:22;31999:18;31987:10;31984:34;31981:62;31978:88;;;32046:18;;:::i;:::-;32082:2;32075:22;32119:16;;32144:53;32119:16;32144:53;:::i;:::-;32206:21;;32260:47;32303:2;32288:18;;32260:47;:::i;:::-;32255:2;32247:6;32243:15;32236:72;32341:47;32384:2;32373:9;32369:18;32341:47;:::i;:::-;32336:2;32328:6;32324:15;32317:72;32434:2;32423:9;32419:18;32413:25;32447:55;32494:7;32447:55;:::i;:::-;32530:2;32518:15;;32511:32;32588:3;32573:19;;32567:26;32602:55;32567:26;32602:55;:::i;:::-;32685:3;32673:16;;32666:33;32744:3;32729:19;;32723:26;32793:34;32780:48;;32768:61;;32758:89;;32843:1;32840;32833:12;32758:89;32875:3;32863:16;;32856:33;32867:6;31717:1203;-1:-1:-1;;;31717:1203:350:o;32925:195::-;32964:3;32995:66;32988:5;32985:77;32982:103;;33065:18;;:::i;:::-;-1:-1:-1;33112:1:350;33101:13;;32925:195::o;33662:184::-;33714:77;33711:1;33704:88;33811:4;33808:1;33801:15;33835:4;33832:1;33825:15;35439:128;35479:3;35510:1;35506:6;35503:1;35500:13;35497:39;;;35516:18;;:::i;:::-;-1:-1:-1;35552:9:350;;35439:128::o;36427:157::-;36457:1;36491:4;36488:1;36484:12;36515:3;36505:37;;36522:18;;:::i;:::-;36574:3;36567:4;36564:1;36560:12;36556:22;36551:27;;;36427:157;;;;:::o;36589:195::-;36627:4;36664;36661:1;36657:12;36696:4;36693:1;36689:12;36721:3;36716;36713:12;36710:38;;;36728:18;;:::i;:::-;36765:13;;;36589:195;-1:-1:-1;;;36589:195:350:o",linkReferences:{},immutableReferences:{"84154":[{start:1605,length:32},{start:7017,length:32}],"84157":[{start:1230,length:32},{start:7928,length:32}]}},methodIdentifiers:{"GUARDIAN()":"724c184c","SYSTEM_CONFIG()":"f0498750","blacklistDisputeGame(address)":"7d6be8dc","checkWithdrawal(bytes32,address)":"71c1566e","depositTransaction(address,uint256,uint64,bool,bytes)":"e9e05c42","disputeGameBlacklist(address)":"45884d32","disputeGameFactory()":"f2b4e617","disputeGameFinalityDelaySeconds()":"952b2797","donateETH()":"8b4c40b0","finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":"8c3152e9","finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":"43ca1c50","finalizedWithdrawals(bytes32)":"a14238e7","guardian()":"452a9320","initialize(address,address,address)":"c0c53b8b","l2Sender()":"9bf62d82","minimumGasLimit(uint64)":"a35d99df","numProofSubmitters(bytes32)":"513747ab","params()":"cff0ab96","paused()":"5c975abb","proofMaturityDelaySeconds()":"bf653a5c","proofSubmitters(bytes32,uint256)":"a3860f48","proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":"4870496f","provenWithdrawals(bytes32,address)":"bb2c727e","respectedGameType()":"3c9f397c","respectedGameTypeUpdatedAt()":"4fd0434c","setRespectedGameType(uint32)":"7fc48504","superchainConfig()":"35e80ab3","systemConfig()":"33d7e2bd","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"uint256","name":"_proofMaturityDelaySeconds","type":"uint256"},{"internalType":"uint256","name":"_disputeGameFinalityDelaySeconds","type":"uint256"},{"internalType":"GameType","name":"_initialRespectedGameType","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"version","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"opaqueData","type":"bytes"}],"name":"TransactionDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"WithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"WithdrawalProven","type":"event"},{"inputs":[],"name":"GUARDIAN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SYSTEM_CONFIG","outputs":[{"internalType":"contract SystemConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IDisputeGame","name":"_disputeGame","type":"address"}],"name":"blacklistDisputeGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_withdrawalHash","type":"bytes32"},{"internalType":"address","name":"_proofSubmitter","type":"address"}],"name":"checkWithdrawal","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint64","name":"_gasLimit","type":"uint64"},{"internalType":"bool","name":"_isCreation","type":"bool"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"depositTransaction","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IDisputeGame","name":"","type":"address"}],"name":"disputeGameBlacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disputeGameFactory","outputs":[{"internalType":"contract DisputeGameFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disputeGameFinalityDelaySeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"donateETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"}],"name":"finalizeWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"},{"internalType":"address","name":"_proofSubmitter","type":"address"}],"name":"finalizeWithdrawalTransactionExternalProof","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"finalizedWithdrawals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract DisputeGameFactory","name":"_disputeGameFactory","type":"address"},{"internalType":"contract SystemConfig","name":"_systemConfig","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l2Sender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_byteCount","type":"uint64"}],"name":"minimumGasLimit","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_withdrawalHash","type":"bytes32"}],"name":"numProofSubmitters","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"params","outputs":[{"internalType":"uint128","name":"prevBaseFee","type":"uint128"},{"internalType":"uint64","name":"prevBoughtGas","type":"uint64"},{"internalType":"uint64","name":"prevBlockNum","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proofMaturityDelaySeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"proofSubmitters","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"},{"internalType":"uint256","name":"_disputeGameIndex","type":"uint256"},{"components":[{"internalType":"bytes32","name":"version","type":"bytes32"},{"internalType":"bytes32","name":"stateRoot","type":"bytes32"},{"internalType":"bytes32","name":"messagePasserStorageRoot","type":"bytes32"},{"internalType":"bytes32","name":"latestBlockhash","type":"bytes32"}],"internalType":"struct Types.OutputRootProof","name":"_outputRootProof","type":"tuple"},{"internalType":"bytes[]","name":"_withdrawalProof","type":"bytes[]"}],"name":"proveWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"provenWithdrawals","outputs":[{"internalType":"contract IDisputeGame","name":"disputeGameProxy","type":"address"},{"internalType":"uint64","name":"timestamp","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"respectedGameType","outputs":[{"internalType":"GameType","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"respectedGameTypeUpdatedAt","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"}],"name":"setRespectedGameType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"systemConfig","outputs":[{"internalType":"contract SystemConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@title OptimismPortal2","events":{"TransactionDeposited(address,address,uint256,bytes)":{"params":{"from":"Address that triggered the deposit transaction.","opaqueData":"ABI encoded deposit data to be parsed off-chain.","to":"Address that the deposit transaction is directed to.","version":"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{"params":{"success":"Whether the withdrawal transaction was successful.","withdrawalHash":"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{"params":{"from":"Address that triggered the withdrawal transaction.","to":"Address that the withdrawal transaction is directed to.","withdrawalHash":"Hash of the withdrawal transaction."}}},"kind":"dev","methods":{"GUARDIAN()":{"custom:legacy":"","returns":{"_0":"Address of the guardian."}},"SYSTEM_CONFIG()":{"custom:legacy":"","returns":{"_0":"Contract of the SystemConfig on this chain."}},"blacklistDisputeGame(address)":{"params":{"_disputeGame":"Dispute game to blacklist."}},"checkWithdrawal(bytes32,address)":{"params":{"_proofSubmitter":"The submitter of the proof for the withdrawal hash","_withdrawalHash":"Hash of the withdrawal to check."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{"params":{"_data":"Data to trigger the recipient with.","_gasLimit":"Amount of L2 gas to purchase by burning gas on L1.","_isCreation":"Whether or not the transaction is a contract creation.","_to":"Target address on L2.","_value":"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"params":{"_tx":"Withdrawal transaction to finalize."}},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{"params":{"_proofSubmitter":"Address of the proof submitter.","_tx":"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"","returns":{"_0":"Address of the guardian."}},"initialize(address,address,address)":{"params":{"_disputeGameFactory":"Contract of the DisputeGameFactory.","_superchainConfig":"Contract of the SuperchainConfig.","_systemConfig":"Contract of the SystemConfig."}},"minimumGasLimit(uint64)":{"params":{"_byteCount":"Number of bytes in the calldata."},"returns":{"_0":"The minimum gas limit for a deposit."}},"numProofSubmitters(bytes32)":{"params":{"_withdrawalHash":"Hash of the withdrawal."},"returns":{"_0":"The number of proof submitters for the withdrawal hash."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"params":{"_disputeGameIndex":"Index of the dispute game to prove the withdrawal against.","_outputRootProof":"Inclusion proof of the L2ToL1MessagePasser contract\'s storage root.","_tx":"Withdrawal transaction to finalize.","_withdrawalProof":"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}},"setRespectedGameType(uint32)":{"params":{"_gameType":"The game type to consult for output proposals."}}},"stateVariables":{"disputeGameFactory":{"custom:network-specific":""},"spacer_52_0_32":{"custom:legacy":"@custom:spacer provenWithdrawals"},"spacer_53_0_1":{"custom:legacy":"@custom:spacer paused"},"spacer_54_0_20":{"custom:legacy":"@custom:spacer l2Oracle"},"systemConfig":{"custom:network-specific":""},"version":{"custom:semver":"3.5.0"}},"version":1},"userdoc":{"events":{"TransactionDeposited(address,address,uint256,bytes)":{"notice":"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{"notice":"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{"notice":"Emitted when a withdrawal transaction is proven."}},"kind":"user","methods":{"GUARDIAN()":{"notice":"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"SYSTEM_CONFIG()":{"notice":"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},"blacklistDisputeGame(address)":{"notice":"Blacklists a dispute game. Should only be used in the event that a dispute game resolves incorrectly."},"checkWithdrawal(bytes32,address)":{"notice":"Checks if a withdrawal can be finalized. This function will revert if the withdrawal cannot be finalized, and otherwise has no side-effects."},"constructor":{"notice":"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{"notice":"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"disputeGameBlacklist(address)":{"notice":"A mapping of dispute game addresses to whether or not they are blacklisted."},"disputeGameFactory()":{"notice":"Address of the DisputeGameFactory."},"disputeGameFinalityDelaySeconds()":{"notice":"Getter for the dispute game finality delay."},"donateETH()":{"notice":"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"notice":"Finalizes a withdrawal transaction."},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{"notice":"Finalizes a withdrawal transaction, using an external proof submitter."},"finalizedWithdrawals(bytes32)":{"notice":"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{"notice":"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{"notice":"Initializer."},"l2Sender()":{"notice":"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{"notice":"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"numProofSubmitters(bytes32)":{"notice":"External getter for the number of proof submitters for a withdrawal hash."},"params()":{"notice":"EIP-1559 style gas parameters."},"paused()":{"notice":"Getter for the current paused status."},"proofMaturityDelaySeconds()":{"notice":"Getter for the proof maturity delay."},"proofSubmitters(bytes32,uint256)":{"notice":"Mapping of withdrawal hashes to addresses that have submitted a proof for the withdrawal."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"notice":"Proves a withdrawal transaction."},"provenWithdrawals(bytes32,address)":{"notice":"A mapping of withdrawal hashes to proof submitters to `ProvenWithdrawal` data."},"respectedGameType()":{"notice":"The game type that the OptimismPortal consults for output proposals."},"respectedGameTypeUpdatedAt()":{"notice":"The timestamp at which the respected game type was last updated."},"setRespectedGameType(uint32)":{"notice":"Sets the respected game type. Changing this value can alter the security properties of the system, depending on the new game\'s behavior."},"superchainConfig()":{"notice":"Contract of the Superchain Config."},"systemConfig()":{"notice":"Contract of the SystemConfig."},"version()":{"notice":"Semantic version."}},"notice":"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface.","version":1}},"settings":{"compilationTarget":{"src/L1/OptimismPortal2.sol":"OptimismPortal2"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/clones-with-immutable-args/src/ClonesWithImmutableArgs.sol":{"keccak256":"0x220db41bfceb0146f86e9be87d3d954fd1d52eadcb3bbfc5cd89e5543a46fd1e","license":"BSD","urls":["bzz-raw://19155470db05e2e67a8c14f21cc903bb4833d8e5d248c2183073320c8a595705","dweb:/ipfs/QmTchpXE8MMH1XcYxaZvx64UiVzBatbWy7Sw5HFhVJJjxi"]},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/OptimismPortal2.sol":{"keccak256":"0xe4738d396bfc8aa434d1573848cceb7ba9657acba5fb1d6716edd4b3f0e86654","license":"MIT","urls":["bzz-raw://c669fabe0bb8c7781d6d3abc060358be079d0a6d421057ec72da78a5d14b2e23","dweb:/ipfs/QmQUX9gxZK1Z9zeBpmjCL4FHBoHE1bmyoa9cpmHo74UUWW"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L1/SystemConfig.sol":{"keccak256":"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a","license":"MIT","urls":["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"]},"src/dispute/DisputeGameFactory.sol":{"keccak256":"0xa1d8ad31246172e0d1d16dcc247de1f4a68d92db34392f6b949c37e571540bc0","license":"MIT","urls":["bzz-raw://f9ea03e06d9afafcda57fb9beb590f25a59d5252ec339a1f1b2997b5a6dd3ab8","dweb:/ipfs/QmQnoyRoJzizpitL5JjBE37fr9Sm7NHhLeYTtNJt5iB6nv"]},"src/dispute/interfaces/IDisputeGame.sol":{"keccak256":"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6","license":"MIT","urls":["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"]},"src/dispute/interfaces/IDisputeGameFactory.sol":{"keccak256":"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda","license":"MIT","urls":["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"]},"src/dispute/interfaces/IInitializable.sol":{"keccak256":"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc","license":"MIT","urls":["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"]},"src/dispute/lib/LibGameId.sol":{"keccak256":"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6","license":"MIT","urls":["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"]},"src/dispute/lib/LibHashing.sol":{"keccak256":"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b","license":"MIT","urls":["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"]},"src/dispute/lib/LibPosition.sol":{"keccak256":"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504","license":"MIT","urls":["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"]},"src/dispute/lib/LibUDT.sol":{"keccak256":"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c","license":"MIT","urls":["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Bytes.sol":{"keccak256":"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859","license":"MIT","urls":["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/DisputeErrors.sol":{"keccak256":"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f","license":"MIT","urls":["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"]},"src/libraries/DisputeTypes.sol":{"keccak256":"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6","license":"MIT","urls":["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPReader.sol":{"keccak256":"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb","license":"MIT","urls":["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/libraries/trie/MerkleTrie.sol":{"keccak256":"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c","license":"MIT","urls":["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"]},"src/libraries/trie/SecureMerkleTrie.sol":{"keccak256":"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288","license":"MIT","urls":["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"uint256",name:"_proofMaturityDelaySeconds",type:"uint256"},{internalType:"uint256",name:"_disputeGameFinalityDelaySeconds",type:"uint256"},{internalType:"GameType",name:"_initialRespectedGameType",type:"uint32"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"version",type:"uint256",indexed:!0},{internalType:"bytes",name:"opaqueData",type:"bytes",indexed:!1}],type:"event",name:"TransactionDeposited",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"bool",name:"success",type:"bool",indexed:!1}],type:"event",name:"WithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0}],type:"event",name:"WithdrawalProven",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"GUARDIAN",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"SYSTEM_CONFIG",outputs:[{internalType:"contract SystemConfig",name:"",type:"address"}]},{inputs:[{internalType:"contract IDisputeGame",name:"_disputeGame",type:"address"}],stateMutability:"nonpayable",type:"function",name:"blacklistDisputeGame"},{inputs:[{internalType:"bytes32",name:"_withdrawalHash",type:"bytes32"},{internalType:"address",name:"_proofSubmitter",type:"address"}],stateMutability:"view",type:"function",name:"checkWithdrawal"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint64",name:"_gasLimit",type:"uint64"},{internalType:"bool",name:"_isCreation",type:"bool"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositTransaction"},{inputs:[{internalType:"contract IDisputeGame",name:"",type:"address"}],stateMutability:"view",type:"function",name:"disputeGameBlacklist",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"disputeGameFactory",outputs:[{internalType:"contract DisputeGameFactory",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"disputeGameFinalityDelaySeconds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"payable",type:"function",name:"donateETH"},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]}],stateMutability:"nonpayable",type:"function",name:"finalizeWithdrawalTransaction"},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]},{internalType:"address",name:"_proofSubmitter",type:"address"}],stateMutability:"nonpayable",type:"function",name:"finalizeWithdrawalTransactionExternalProof"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"finalizedWithdrawals",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"guardian",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"contract DisputeGameFactory",name:"_disputeGameFactory",type:"address"},{internalType:"contract SystemConfig",name:"_systemConfig",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l2Sender",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"uint64",name:"_byteCount",type:"uint64"}],stateMutability:"pure",type:"function",name:"minimumGasLimit",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes32",name:"_withdrawalHash",type:"bytes32"}],stateMutability:"view",type:"function",name:"numProofSubmitters",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"params",outputs:[{internalType:"uint128",name:"prevBaseFee",type:"uint128"},{internalType:"uint64",name:"prevBoughtGas",type:"uint64"},{internalType:"uint64",name:"prevBlockNum",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"proofMaturityDelaySeconds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function",name:"proofSubmitters",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]},{internalType:"uint256",name:"_disputeGameIndex",type:"uint256"},{internalType:"struct Types.OutputRootProof",name:"_outputRootProof",type:"tuple",components:[{internalType:"bytes32",name:"version",type:"bytes32"},{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{internalType:"bytes32",name:"messagePasserStorageRoot",type:"bytes32"},{internalType:"bytes32",name:"latestBlockhash",type:"bytes32"}]},{internalType:"bytes[]",name:"_withdrawalProof",type:"bytes[]"}],stateMutability:"nonpayable",type:"function",name:"proveWithdrawalTransaction"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"provenWithdrawals",outputs:[{internalType:"contract IDisputeGame",name:"disputeGameProxy",type:"address"},{internalType:"uint64",name:"timestamp",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"respectedGameType",outputs:[{internalType:"GameType",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"respectedGameTypeUpdatedAt",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"}],stateMutability:"nonpayable",type:"function",name:"setRespectedGameType"},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"systemConfig",outputs:[{internalType:"contract SystemConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"GUARDIAN()":{"custom:legacy":"",returns:{_0:"Address of the guardian."}},"SYSTEM_CONFIG()":{"custom:legacy":"",returns:{_0:"Contract of the SystemConfig on this chain."}},"blacklistDisputeGame(address)":{params:{_disputeGame:"Dispute game to blacklist."}},"checkWithdrawal(bytes32,address)":{params:{_proofSubmitter:"The submitter of the proof for the withdrawal hash",_withdrawalHash:"Hash of the withdrawal to check."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{params:{_proofSubmitter:"Address of the proof submitter.",_tx:"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"",returns:{_0:"Address of the guardian."}},"initialize(address,address,address)":{params:{_disputeGameFactory:"Contract of the DisputeGameFactory.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"numProofSubmitters(bytes32)":{params:{_withdrawalHash:"Hash of the withdrawal."},returns:{_0:"The number of proof submitters for the withdrawal hash."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_disputeGameIndex:"Index of the dispute game to prove the withdrawal against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}},"setRespectedGameType(uint32)":{params:{_gameType:"The game type to consult for output proposals."}}},version:1},userdoc:{kind:"user",methods:{"GUARDIAN()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"SYSTEM_CONFIG()":{notice:"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},"blacklistDisputeGame(address)":{notice:"Blacklists a dispute game. Should only be used in the event that a dispute game resolves incorrectly."},"checkWithdrawal(bytes32,address)":{notice:"Checks if a withdrawal can be finalized. This function will revert if the withdrawal cannot be finalized, and otherwise has no side-effects."},constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"disputeGameBlacklist(address)":{notice:"A mapping of dispute game addresses to whether or not they are blacklisted."},"disputeGameFactory()":{notice:"Address of the DisputeGameFactory."},"disputeGameFinalityDelaySeconds()":{notice:"Getter for the dispute game finality delay."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{notice:"Finalizes a withdrawal transaction, using an external proof submitter."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{notice:"Initializer."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"numProofSubmitters(bytes32)":{notice:"External getter for the number of proof submitters for a withdrawal hash."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proofMaturityDelaySeconds()":{notice:"Getter for the proof maturity delay."},"proofSubmitters(bytes32,uint256)":{notice:"Mapping of withdrawal hashes to addresses that have submitted a proof for the withdrawal."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32,address)":{notice:"A mapping of withdrawal hashes to proof submitters to `ProvenWithdrawal` data."},"respectedGameType()":{notice:"The game type that the OptimismPortal consults for output proposals."},"respectedGameTypeUpdatedAt()":{notice:"The timestamp at which the respected game type was last updated."},"setRespectedGameType(uint32)":{notice:"Sets the respected game type. Changing this value can alter the security properties of the system, depending on the new game's behavior."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/OptimismPortal2.sol":"OptimismPortal2"},evmVersion:"london",libraries:{}},sources:{"lib/clones-with-immutable-args/src/ClonesWithImmutableArgs.sol":{keccak256:"0x220db41bfceb0146f86e9be87d3d954fd1d52eadcb3bbfc5cd89e5543a46fd1e",urls:["bzz-raw://19155470db05e2e67a8c14f21cc903bb4833d8e5d248c2183073320c8a595705","dweb:/ipfs/QmTchpXE8MMH1XcYxaZvx64UiVzBatbWy7Sw5HFhVJJjxi"],license:"BSD"},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/OptimismPortal2.sol":{keccak256:"0xe4738d396bfc8aa434d1573848cceb7ba9657acba5fb1d6716edd4b3f0e86654",urls:["bzz-raw://c669fabe0bb8c7781d6d3abc060358be079d0a6d421057ec72da78a5d14b2e23","dweb:/ipfs/QmQUX9gxZK1Z9zeBpmjCL4FHBoHE1bmyoa9cpmHo74UUWW"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L1/SystemConfig.sol":{keccak256:"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a",urls:["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"],license:"MIT"},"src/dispute/DisputeGameFactory.sol":{keccak256:"0xa1d8ad31246172e0d1d16dcc247de1f4a68d92db34392f6b949c37e571540bc0",urls:["bzz-raw://f9ea03e06d9afafcda57fb9beb590f25a59d5252ec339a1f1b2997b5a6dd3ab8","dweb:/ipfs/QmQnoyRoJzizpitL5JjBE37fr9Sm7NHhLeYTtNJt5iB6nv"],license:"MIT"},"src/dispute/interfaces/IDisputeGame.sol":{keccak256:"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6",urls:["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"],license:"MIT"},"src/dispute/interfaces/IDisputeGameFactory.sol":{keccak256:"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda",urls:["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"],license:"MIT"},"src/dispute/interfaces/IInitializable.sol":{keccak256:"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc",urls:["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"],license:"MIT"},"src/dispute/lib/LibGameId.sol":{keccak256:"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6",urls:["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"],license:"MIT"},"src/dispute/lib/LibHashing.sol":{keccak256:"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b",urls:["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"],license:"MIT"},"src/dispute/lib/LibPosition.sol":{keccak256:"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504",urls:["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"],license:"MIT"},"src/dispute/lib/LibUDT.sol":{keccak256:"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c",urls:["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Bytes.sol":{keccak256:"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859",urls:["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/DisputeErrors.sol":{keccak256:"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f",urls:["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"],license:"MIT"},"src/libraries/DisputeTypes.sol":{keccak256:"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6",urls:["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPReader.sol":{keccak256:"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb",urls:["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/libraries/trie/MerkleTrie.sol":{keccak256:"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c",urls:["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"],license:"MIT"},"src/libraries/trie/SecureMerkleTrie.sol":{keccak256:"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288",urls:["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:85318,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"params",offset:0,slot:"1",type:"t_struct(ResourceParams)85301_storage"},{astId:85323,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"__gap",offset:0,slot:"2",type:"t_array(t_uint256)48_storage"},{astId:84168,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"l2Sender",offset:0,slot:"50",type:"t_address"},{astId:84173,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"finalizedWithdrawals",offset:0,slot:"51",type:"t_mapping(t_bytes32,t_bool)"},{astId:84176,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"spacer_52_0_32",offset:0,slot:"52",type:"t_bytes32"},{astId:84179,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"spacer_53_0_1",offset:0,slot:"53",type:"t_bool"},{astId:84183,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"superchainConfig",offset:1,slot:"53",type:"t_contract(SuperchainConfig)85848"},{astId:84186,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"spacer_54_0_20",offset:0,slot:"54",type:"t_address"},{astId:84190,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"systemConfig",offset:0,slot:"55",type:"t_contract(SystemConfig)86662"},{astId:84194,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"disputeGameFactory",offset:0,slot:"56",type:"t_contract(DisputeGameFactory)94342"},{astId:84202,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"provenWithdrawals",offset:0,slot:"57",type:"t_mapping(t_bytes32,t_mapping(t_address,t_struct(ProvenWithdrawal)84151_storage))"},{astId:84208,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"disputeGameBlacklist",offset:0,slot:"58",type:"t_mapping(t_contract(IDisputeGame)96855,t_bool)"},{astId:84212,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"respectedGameType",offset:0,slot:"59",type:"t_userDefinedValueType(GameType)99918"},{astId:84215,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"respectedGameTypeUpdatedAt",offset:4,slot:"59",type:"t_uint64"},{astId:84221,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"proofSubmitters",offset:0,slot:"60",type:"t_mapping(t_bytes32,t_array(t_address)dyn_storage)"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_address)dyn_storage":{encoding:"dynamic_array",label:"address[]",numberOfBytes:"32",base:"t_address"},"t_array(t_uint256)48_storage":{encoding:"inplace",label:"uint256[48]",numberOfBytes:"1536",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(DisputeGameFactory)94342":{encoding:"inplace",label:"contract DisputeGameFactory",numberOfBytes:"20"},"t_contract(IDisputeGame)96855":{encoding:"inplace",label:"contract IDisputeGame",numberOfBytes:"20"},"t_contract(SuperchainConfig)85848":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_contract(SystemConfig)86662":{encoding:"inplace",label:"contract SystemConfig",numberOfBytes:"20"},"t_mapping(t_address,t_struct(ProvenWithdrawal)84151_storage)":{encoding:"mapping",key:"t_address",label:"mapping(address => struct OptimismPortal2.ProvenWithdrawal)",numberOfBytes:"32",value:"t_struct(ProvenWithdrawal)84151_storage"},"t_mapping(t_bytes32,t_array(t_address)dyn_storage)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => address[])",numberOfBytes:"32",value:"t_array(t_address)dyn_storage"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},"t_mapping(t_bytes32,t_mapping(t_address,t_struct(ProvenWithdrawal)84151_storage))":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => mapping(address => struct OptimismPortal2.ProvenWithdrawal))",numberOfBytes:"32",value:"t_mapping(t_address,t_struct(ProvenWithdrawal)84151_storage)"},"t_mapping(t_contract(IDisputeGame)96855,t_bool)":{encoding:"mapping",key:"t_contract(IDisputeGame)96855",label:"mapping(contract IDisputeGame => bool)",numberOfBytes:"32",value:"t_bool"},"t_struct(ProvenWithdrawal)84151_storage":{encoding:"inplace",label:"struct OptimismPortal2.ProvenWithdrawal",numberOfBytes:"32",members:[{astId:84148,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"disputeGameProxy",offset:0,slot:"0",type:"t_contract(IDisputeGame)96855"},{astId:84150,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"timestamp",offset:20,slot:"0",type:"t_uint64"}]},"t_struct(ResourceParams)85301_storage":{encoding:"inplace",label:"struct ResourceMetering.ResourceParams",numberOfBytes:"32",members:[{astId:85296,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"prevBaseFee",offset:0,slot:"0",type:"t_uint128"},{astId:85298,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"prevBoughtGas",offset:16,slot:"0",type:"t_uint64"},{astId:85300,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"prevBlockNum",offset:24,slot:"0",type:"t_uint64"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint64:{encoding:"inplace",label:"uint64",numberOfBytes:"8"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"},"t_userDefinedValueType(GameType)99918":{encoding:"inplace",label:"GameType",numberOfBytes:"4"}}},userdoc:{version:1,kind:"user",methods:{"GUARDIAN()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"SYSTEM_CONFIG()":{notice:"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},"blacklistDisputeGame(address)":{notice:"Blacklists a dispute game. Should only be used in the event that a dispute game resolves incorrectly."},"checkWithdrawal(bytes32,address)":{notice:"Checks if a withdrawal can be finalized. This function will revert if the withdrawal cannot be finalized, and otherwise has no side-effects."},constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"disputeGameBlacklist(address)":{notice:"A mapping of dispute game addresses to whether or not they are blacklisted."},"disputeGameFactory()":{notice:"Address of the DisputeGameFactory."},"disputeGameFinalityDelaySeconds()":{notice:"Getter for the dispute game finality delay."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{notice:"Finalizes a withdrawal transaction, using an external proof submitter."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{notice:"Initializer."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"numProofSubmitters(bytes32)":{notice:"External getter for the number of proof submitters for a withdrawal hash."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proofMaturityDelaySeconds()":{notice:"Getter for the proof maturity delay."},"proofSubmitters(bytes32,uint256)":{notice:"Mapping of withdrawal hashes to addresses that have submitted a proof for the withdrawal."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32,address)":{notice:"A mapping of withdrawal hashes to proof submitters to `ProvenWithdrawal` data."},"respectedGameType()":{notice:"The game type that the OptimismPortal consults for output proposals."},"respectedGameTypeUpdatedAt()":{notice:"The timestamp at which the respected game type was last updated."},"setRespectedGameType(uint32)":{notice:"Sets the respected game type. Changing this value can alter the security properties of the system, depending on the new game's behavior."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},events:{"TransactionDeposited(address,address,uint256,bytes)":{notice:"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{notice:"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{notice:"Emitted when a withdrawal transaction is proven."}},notice:"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface."},devdoc:{version:1,kind:"dev",methods:{"GUARDIAN()":{returns:{_0:"Address of the guardian."}},"SYSTEM_CONFIG()":{returns:{_0:"Contract of the SystemConfig on this chain."}},"blacklistDisputeGame(address)":{params:{_disputeGame:"Dispute game to blacklist."}},"checkWithdrawal(bytes32,address)":{params:{_proofSubmitter:"The submitter of the proof for the withdrawal hash",_withdrawalHash:"Hash of the withdrawal to check."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{params:{_proofSubmitter:"Address of the proof submitter.",_tx:"Withdrawal transaction to finalize."}},"guardian()":{returns:{_0:"Address of the guardian."}},"initialize(address,address,address)":{params:{_disputeGameFactory:"Contract of the DisputeGameFactory.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"numProofSubmitters(bytes32)":{params:{_withdrawalHash:"Hash of the withdrawal."},returns:{_0:"The number of proof submitters for the withdrawal hash."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_disputeGameIndex:"Index of the dispute game to prove the withdrawal against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}},"setRespectedGameType(uint32)":{params:{_gameType:"The game type to consult for output proposals."}}},events:{"TransactionDeposited(address,address,uint256,bytes)":{params:{from:"Address that triggered the deposit transaction.",opaqueData:"ABI encoded deposit data to be parsed off-chain.",to:"Address that the deposit transaction is directed to.",version:"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{params:{success:"Whether the withdrawal transaction was successful.",withdrawalHash:"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{params:{from:"Address that triggered the withdrawal transaction.",to:"Address that the withdrawal transaction is directed to.",withdrawalHash:"Hash of the withdrawal transaction."}}}},id:131}});var VKe=D((i6a,qHt)=>{qHt.exports={abi:[{type:"constructor",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_absolutePrestate",type:"bytes32",internalType:"Claim"},{name:"_maxGameDepth",type:"uint256",internalType:"uint256"},{name:"_splitDepth",type:"uint256",internalType:"uint256"},{name:"_gameDuration",type:"uint64",internalType:"Duration"},{name:"_vm",type:"address",internalType:"contract IBigStepper"},{name:"_weth",type:"address",internalType:"contract IDelayedWETH"},{name:"_anchorStateRegistry",type:"address",internalType:"contract IAnchorStateRegistry"},{name:"_l2ChainId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"absolutePrestate",inputs:[],outputs:[{name:"absolutePrestate_",type:"bytes32",internalType:"Claim"}],stateMutability:"view"},{type:"function",name:"addLocalData",inputs:[{name:"_ident",type:"uint256",internalType:"uint256"},{name:"_execLeafIdx",type:"uint256",internalType:"uint256"},{name:"_partOffset",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"attack",inputs:[{name:"_parentIndex",type:"uint256",internalType:"uint256"},{name:"_claim",type:"bytes32",internalType:"Claim"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCredit",inputs:[{name:"_recipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claimData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"parentIndex",type:"uint32",internalType:"uint32"},{name:"counteredBy",type:"address",internalType:"address"},{name:"claimant",type:"address",internalType:"address"},{name:"bond",type:"uint128",internalType:"uint128"},{name:"claim",type:"bytes32",internalType:"Claim"},{name:"position",type:"uint128",internalType:"Position"},{name:"clock",type:"uint128",internalType:"Clock"}],stateMutability:"view"},{type:"function",name:"claimDataLen",inputs:[],outputs:[{name:"len_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"createdAt",inputs:[],outputs:[{name:"",type:"uint64",internalType:"Timestamp"}],stateMutability:"view"},{type:"function",name:"credit",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"defend",inputs:[{name:"_parentIndex",type:"uint256",internalType:"uint256"},{name:"_claim",type:"bytes32",internalType:"Claim"}],outputs:[],stateMutability:"payable"},{type:"function",name:"extraData",inputs:[],outputs:[{name:"extraData_",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"gameData",inputs:[],outputs:[{name:"gameType_",type:"uint32",internalType:"GameType"},{name:"rootClaim_",type:"bytes32",internalType:"Claim"},{name:"extraData_",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"gameDuration",inputs:[],outputs:[{name:"gameDuration_",type:"uint64",internalType:"Duration"}],stateMutability:"view"},{type:"function",name:"gameType",inputs:[],outputs:[{name:"gameType_",type:"uint32",internalType:"GameType"}],stateMutability:"view"},{type:"function",name:"getRequiredBond",inputs:[{name:"_position",type:"uint128",internalType:"Position"}],outputs:[{name:"requiredBond_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"l1Head",inputs:[],outputs:[{name:"l1Head_",type:"bytes32",internalType:"Hash"}],stateMutability:"pure"},{type:"function",name:"l2BlockNumber",inputs:[],outputs:[{name:"l2BlockNumber_",type:"uint256",internalType:"uint256"}],stateMutability:"pure"},{type:"function",name:"l2ChainId",inputs:[],outputs:[{name:"l2ChainId_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxGameDepth",inputs:[],outputs:[{name:"maxGameDepth_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"move",inputs:[{name:"_challengeIndex",type:"uint256",internalType:"uint256"},{name:"_claim",type:"bytes32",internalType:"Claim"},{name:"_isAttack",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"payable"},{type:"function",name:"resolve",inputs:[],outputs:[{name:"status_",type:"uint8",internalType:"enum GameStatus"}],stateMutability:"nonpayable"},{type:"function",name:"resolveClaim",inputs:[{name:"_claimIndex",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"resolvedAt",inputs:[],outputs:[{name:"",type:"uint64",internalType:"Timestamp"}],stateMutability:"view"},{type:"function",name:"rootClaim",inputs:[],outputs:[{name:"rootClaim_",type:"bytes32",internalType:"Claim"}],stateMutability:"pure"},{type:"function",name:"splitDepth",inputs:[],outputs:[{name:"splitDepth_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingBlockNumber",inputs:[],outputs:[{name:"startingBlockNumber_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingOutputRoot",inputs:[],outputs:[{name:"root",type:"bytes32",internalType:"Hash"},{name:"l2BlockNumber",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingRootHash",inputs:[],outputs:[{name:"startingRootHash_",type:"bytes32",internalType:"Hash"}],stateMutability:"view"},{type:"function",name:"status",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum GameStatus"}],stateMutability:"view"},{type:"function",name:"step",inputs:[{name:"_claimIndex",type:"uint256",internalType:"uint256"},{name:"_isAttack",type:"bool",internalType:"bool"},{name:"_stateData",type:"bytes",internalType:"bytes"},{name:"_proof",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"vm",inputs:[],outputs:[{name:"vm_",type:"address",internalType:"contract IBigStepper"}],stateMutability:"view"},{type:"function",name:"weth",inputs:[],outputs:[{name:"weth_",type:"address",internalType:"contract IDelayedWETH"}],stateMutability:"view"},{type:"event",name:"Move",inputs:[{name:"parentIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claim",type:"bytes32",indexed:!0,internalType:"Claim"},{name:"claimant",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"Resolved",inputs:[{name:"status",type:"uint8",indexed:!0,internalType:"enum GameStatus"}],anonymous:!1},{type:"error",name:"AlreadyInitialized",inputs:[]},{type:"error",name:"AnchorRootNotFound",inputs:[]},{type:"error",name:"BondTransferFailed",inputs:[]},{type:"error",name:"CannotDefendRootClaim",inputs:[]},{type:"error",name:"ClaimAboveSplit",inputs:[]},{type:"error",name:"ClaimAlreadyExists",inputs:[]},{type:"error",name:"ClaimAlreadyResolved",inputs:[]},{type:"error",name:"ClockNotExpired",inputs:[]},{type:"error",name:"ClockTimeExceeded",inputs:[]},{type:"error",name:"DuplicateStep",inputs:[]},{type:"error",name:"GameDepthExceeded",inputs:[]},{type:"error",name:"GameNotInProgress",inputs:[]},{type:"error",name:"IncorrectBondAmount",inputs:[]},{type:"error",name:"InvalidLocalIdent",inputs:[]},{type:"error",name:"InvalidParent",inputs:[]},{type:"error",name:"InvalidPrestate",inputs:[]},{type:"error",name:"InvalidSplitDepth",inputs:[]},{type:"error",name:"NoCreditToClaim",inputs:[]},{type:"error",name:"OutOfOrderResolution",inputs:[]},{type:"error",name:"UnexpectedRootClaim",inputs:[{name:"rootClaim",type:"bytes32",internalType:"Claim"}]},{type:"error",name:"ValidStep",inputs:[]}],bytecode:{object:"0x6101a06040523480156200001257600080fd5b5060405162004944380380620049448339810160408190526200003591620000d0565b868610620000565760405163e62ccf3960e01b815260040160405180910390fd5b63ffffffff9098166101205260809690965260a09490945260c0929092526001600160401b031660e0526001600160a01b03908116610100529081166101405216610160526101805262000183565b6001600160a01b0381168114620000bb57600080fd5b50565b8051620000cb81620000a5565b919050565b60008060008060008060008060006101208a8c031215620000f057600080fd5b895163ffffffff811681146200010557600080fd5b60208b015160408c015160608d015160808e0151939c50919a50985096506001600160401b03811681146200013957600080fd5b60a08b01519095506200014c81620000a5565b93506200015c60c08b01620000be565b92506200016c60e08b01620000be565b91506101008a015190509295985092959850929598565b60805160a05160c05160e0516101005161012051610140516101605161018051614693620002b16000396000818161068f01526126390152600081816109bf015261153601526000818161032001528181610b14015281816113ec015281816118ed0152613b5901526000818161050e015281816114f501526126d30152600081816102cc01528181611fa601526123020152600081816106e201528181611017015261283101526000818161071501528181610e0501528181610ece01528181611e010152818161250101528181612c72015281816133af015281816134dd015281816135e501526136c101526000818161078c01528181610e7101528181611a5f01528181611ae501528181611cf00152611e220152600081816104d30152611eb801526146936000f3fe6080604052600436106101e75760003560e01c80638b85902b1161010e578063d5d44d80116100a7578063ec5e630811610079578063fa24f74311610061578063fa24f74314610759578063fa315aa91461077d578063fdffbb28146107b057005b8063ec5e630814610706578063f8f43ff61461073957005b8063d5d44d8014610653578063d6ae3cd514610680578063d8cc1a3c146106b3578063e1f0c376146106d357005b8063c395e1ca116100e0578063c395e1ca14610575578063c55cd0c714610595578063c6f0308c146105a8578063cf09e0d01461063257005b80638b85902b146104845780638d450a95146104c4578063bbdc02db146104f7578063bcef3b551461053857005b806357da950e116101805780636361506d116101525780636361506d1461041257806370872aa5146104525780638129fc1c146104675780638980e0cc1461046f57005b806357da950e1461039a578063609d3334146103ca57806360e27464146103df578063632247ea146103ff57005b806335fef567116101b957806335fef567146102aa5780633a768463146102bd5780633fc8cef31461031157806354fd4d501461034457005b806319effeb4146101f0578063200d2ed21461023b57806325fc2ace146102765780632810e1d61461029557005b366101ee57005b005b3480156101fc57600080fd5b5060005461021d9068010000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b34801561024757600080fd5b5060005461026990700100000000000000000000000000000000900460ff1681565b6040516102329190613f34565b34801561028257600080fd5b506006545b604051908152602001610232565b3480156102a157600080fd5b506102696107c3565b6101ee6102b8366004613f75565b610a40565b3480156102c957600080fd5b507f00000000000000000000000000000000000000000000000000000000000000005b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610232565b34801561031d57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006102ec565b34801561035057600080fd5b5061038d6040518060400160405280600581526020017f302e392e3000000000000000000000000000000000000000000000000000000081525081565b6040516102329190614002565b3480156103a657600080fd5b506006546007546103b5919082565b60408051928352602083019190915201610232565b3480156103d657600080fd5b5061038d610a50565b3480156103eb57600080fd5b506101ee6103fa366004614037565b610a63565b6101ee61040d366004614070565b610c0f565b34801561041e57600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360200135610287565b34801561045e57600080fd5b50600754610287565b6101ee611486565b34801561047b57600080fd5b50600154610287565b34801561049057600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360400135610287565b3480156104d057600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b34801561050357600080fd5b5060405163ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610232565b34801561054457600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900335610287565b34801561058157600080fd5b506102876105903660046140a5565b6119b2565b6101ee6105a3366004613f75565b611b9c565b3480156105b457600080fd5b506105c86105c33660046140d7565b611ba8565b6040805163ffffffff909816885273ffffffffffffffffffffffffffffffffffffffff968716602089015295909416948601949094526fffffffffffffffffffffffffffffffff9182166060860152608085015291821660a08401521660c082015260e001610232565b34801561063e57600080fd5b5060005461021d9067ffffffffffffffff1681565b34801561065f57600080fd5b5061028761066e366004614037565b60026020526000908152604090205481565b34801561068c57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b3480156106bf57600080fd5b506101ee6106ce366004614139565b611c3f565b3480156106df57600080fd5b507f000000000000000000000000000000000000000000000000000000000000000061021d565b34801561071257600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b34801561074557600080fd5b506101ee6107543660046141c3565b612274565b34801561076557600080fd5b5061076e6126d1565b604051610232939291906141ef565b34801561078957600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b6101ee6107be3660046140d7565b61272e565b600080600054700100000000000000000000000000000000900460ff1660028111156107f1576107f1613f05565b14610828576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055460ff16610864576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660016000815481106108905761089061421d565b6000918252602090912060059091020154640100000000900473ffffffffffffffffffffffffffffffffffffffff16146108cb5760016108ce565b60025b6000805467ffffffffffffffff421668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff82168117835592935083927fffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffff000000000000000000ffffffffffffffff9091161770010000000000000000000000000000000083600281111561097f5761097f613f05565b02179055600281111561099457610994613f05565b6040517f5e186f09b9c93491f14e277eea7faa5de6a2d4bda75a79af7a3684fbfb42da6090600090a27f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663838c2d1e6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610a2557600080fd5b505af1158015610a39573d6000803e3d6000fd5b5050505090565b610a4c82826000610c0f565b5050565b6060610a5e60406020612b8f565b905090565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040812080549082905590819003610ac8576040517f17bfe5f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517ff3fef3a300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063f3fef3a390604401600060405180830381600087803b158015610b5857600080fd5b505af1158015610b6c573d6000803e3d6000fd5b5050505060008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610bca576040519150601f19603f3d011682016040523d82523d6000602084013e610bcf565b606091505b5050905080610c0a576040517f83e6cc6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60008054700100000000000000000000000000000000900460ff166002811115610c3b57610c3b613f05565b14610c72576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018481548110610c8757610c8761421d565b600091825260208083206040805160e0810182526005909402909101805463ffffffff808216865273ffffffffffffffffffffffffffffffffffffffff6401000000009092048216948601949094526001820154169184019190915260028101546fffffffffffffffffffffffffffffffff90811660608501526003820154608085015260049091015480821660a0850181905270010000000000000000000000000000000090910490911660c0840152919350909190610d4c9083908690612c2616565b90506000610dec826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169050861580610e2e5750610e2b7f0000000000000000000000000000000000000000000000000000000000000000600261427b565b81145b8015610e38575084155b15610e6f576040517fa42637bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000811115610ec9576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ef47f0000000000000000000000000000000000000000000000000000000000000000600161427b565b8103610f0657610f0686888588612c2e565b34610f10836119b2565b14610f47576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b835160009063ffffffff90811614610fa7576001856000015163ffffffff1681548110610f7657610f7661421d565b906000526020600020906005020160040160109054906101000a90046fffffffffffffffffffffffffffffffff1690505b60c0850151600090610fcb9067ffffffffffffffff165b67ffffffffffffffff1690565b67ffffffffffffffff1642610ff5610fbe856fffffffffffffffffffffffffffffffff1660401c90565b67ffffffffffffffff16611009919061427b565b6110139190614293565b90507f000000000000000000000000000000000000000000000000000000000000000060011c677fffffffffffffff1667ffffffffffffffff82161115611086576040517f3381d11400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000604082901b421760008a8152608087901b6fffffffffffffffffffffffffffffffff8d1617602052604081209192509060008181526003602052604090205490915060ff1615611104576040517f80497e3b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016003600083815260200190815260200160002060006101000a81548160ff02191690831515021790555060016040518060e001604052808d63ffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001346fffffffffffffffffffffffffffffffff1681526020018c8152602001886fffffffffffffffffffffffffffffffff168152602001846fffffffffffffffffffffffffffffffff16815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160020160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506080820151816003015560a08201518160040160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060c08201518160040160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055505050600460008c8152602001908152602001600020600180805490506113999190614293565b81546001810183556000928352602083200155604080517fd0e30db0000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169263d0e30db09234926004808301939282900301818588803b15801561143157600080fd5b505af1158015611445573d6000803e3d6000fd5b50506040513393508d92508e91507f9b3245740ec3b155098a55be84957a4da13eaf7f14a8bc6f53126c0b9350f2be90600090a45050505050505050505050565b600554610100900460ff16156114c8576040517f0dc149f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f7258a80700000000000000000000000000000000000000000000000000000000815263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000166004820152600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690637258a807906024016040805180830381865afa15801561157c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a091906142aa565b9092509050816115dc576040517f6a6bc3b200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080518082018252838152602001829052600683905560078290558190367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900301351161168e576040517ff40239db000000000000000000000000000000000000000000000000000000008152367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90033560048201526024015b60405180910390fd5b60663611156116a55763c407e0256000526004601cfd5b6040805160e08101825263ffffffff808252600060208301818152328486019081526fffffffffffffffffffffffffffffffff34818116606088019081527ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe369081013560f01c90033560808901908152600160a08a0181815242861660c08c0190815282548084018455928a529a5160059092027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018054995173ffffffffffffffffffffffffffffffffffffffff908116640100000000027fffffffffffffffff000000000000000000000000000000000000000000000000909b1694909c16939093179890981790915594517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf787018054918a167fffffffffffffffffffffffff000000000000000000000000000000000000000090921691909117905590517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf8860180549185167fffffffffffffffffffffffffffffffff00000000000000000000000000000000909216919091179055517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf9850155915195518116700100000000000000000000000000000000029516949094177fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfa9091015583517fd0e30db000000000000000000000000000000000000000000000000000000000815293517f00000000000000000000000000000000000000000000000000000000000000009092169363d0e30db093926004828101939282900301818588803b15801561193357600080fd5b505af1158015611947573d6000803e3d6000fd5b50506000805467ffffffffffffffff42167fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009091161790555050600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055505050565b600080611a51836fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1690507f0000000000000000000000000000000000000000000000000000000000000000811115611ab7576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b642e90edd00062061a80630bebc2006000611ad283836142fd565b9050670de0b6b3a76400006000611b09827f0000000000000000000000000000000000000000000000000000000000000000614311565b90506000611b27611b22670de0b6b3a764000086614311565b612def565b90506000611b35848461304a565b90506000611b438383613099565b90506000611b50826130c7565b90506000611b6f82611b6a670de0b6b3a76400008f614311565b6132af565b90506000611b7d8b83613099565b9050611b89818d614311565b9f9e505050505050505050505050505050565b610a4c82826001610c0f565b60018181548110611bb857600080fd5b60009182526020909120600590910201805460018201546002830154600384015460049094015463ffffffff8416955064010000000090930473ffffffffffffffffffffffffffffffffffffffff908116949216926fffffffffffffffffffffffffffffffff91821692918082169170010000000000000000000000000000000090041687565b60008054700100000000000000000000000000000000900460ff166002811115611c6b57611c6b613f05565b14611ca2576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018781548110611cb757611cb761421d565b6000918252602082206005919091020160048101549092506fffffffffffffffffffffffffffffffff16908715821760011b9050611d167f0000000000000000000000000000000000000000000000000000000000000000600161427b565b611db2826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1614611df3576040517f5f53dd9800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000808915611ee257611e467f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000614293565b6001901b611e65846fffffffffffffffffffffffffffffffff166132e9565b67ffffffffffffffff16611e79919061434e565b15611eb657611ead611e9e60016fffffffffffffffffffffffffffffffff8716614362565b865463ffffffff16600061338f565b60030154611ed8565b7f00000000000000000000000000000000000000000000000000000000000000005b9150849050611f0c565b60038501549150611f09611e9e6fffffffffffffffffffffffffffffffff86166001614393565b90505b600882901b60088a8a604051611f239291906143c7565b6040518091039020901b14611f64576040517f696550ff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611f6f8c613473565b90506000611f7e836003015490565b6040517fe14ced320000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e14ced3290611ff8908f908f908f908f908a90600401614420565b6020604051808303816000875af1158015612017573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203b919061445a565b6004850154911491506000906002906120e6906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b612182896fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b61218c9190614473565b6121969190614494565b67ffffffffffffffff1615905081151581036121de576040517ffb4e40dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8754640100000000900473ffffffffffffffffffffffffffffffffffffffff1615612235576040517f9071e6af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505085547fffffffffffffffff0000000000000000000000000000000000000000ffffffff163364010000000002179095555050505050505050505050565b60008054700100000000000000000000000000000000900460ff1660028111156122a0576122a0613f05565b146122d7576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000806122e6866134a2565b935093509350935060006122fc858585856138b1565b905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637dc0d1d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561236b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238f91906144bb565b9050600189036124875773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a846123eb367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90036020013590565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815260048101939093526024830191909152604482015260206064820152608481018a905260a4015b6020604051808303816000875af115801561245d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612481919061445a565b506126c6565b600289036124b35773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a84896123eb565b600389036124df5773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a84876123eb565b600489036125fb5760006125256fffffffffffffffffffffffffffffffff85167f0000000000000000000000000000000000000000000000000000000000000000613970565b600754612532919061427b565b61253d90600161427b565b905073ffffffffffffffffffffffffffffffffffffffff82166352f0f3ad8b8560405160e084901b7fffffffff000000000000000000000000000000000000000000000000000000001681526004810192909252602482015260c084901b604482015260086064820152608481018b905260a4016020604051808303816000875af11580156125d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f4919061445a565b50506126c6565b60058903612694576040517f52f0f3ad000000000000000000000000000000000000000000000000000000008152600481018a9052602481018390527f000000000000000000000000000000000000000000000000000000000000000060c01b6044820152600860648201526084810188905273ffffffffffffffffffffffffffffffffffffffff8216906352f0f3ad9060a40161243e565b6040517fff137e6500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050505050505050565b7f0000000000000000000000000000000000000000000000000000000000000000367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c9003356060612727610a50565b9050909192565b60008054700100000000000000000000000000000000900460ff16600281111561275a5761275a613f05565b14612791576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600182815481106127a6576127a661421d565b6000918252602082206005919091020160048101549092506127e890700100000000000000000000000000000000900460401c67ffffffffffffffff16610fbe565b600483015490915060009061281a90700100000000000000000000000000000000900467ffffffffffffffff16610fbe565b6128249042614473565b9050677fffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000060011c1661285e82846144d8565b67ffffffffffffffff161161289f576040517ff2440b5300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008481526004602052604090208054851580156128bf575060055460ff165b156128f6576040517ff1a9458100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015801561290357508515155b15612968578454640100000000900473ffffffffffffffffffffffffffffffffffffffff16600081156129365781612952565b600187015473ffffffffffffffffffffffffffffffffffffffff165b905061295e8188613a25565b5050505050505050565b60006fffffffffffffffffffffffffffffffff815b83811015612aae5760008582815481106129995761299961421d565b60009182526020808320909101548083526004909152604090912054909150156129ef576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018281548110612a0457612a0461421d565b600091825260209091206005909102018054909150640100000000900473ffffffffffffffffffffffffffffffffffffffff16158015612a5d575060048101546fffffffffffffffffffffffffffffffff908116908516115b15612a9b576001810154600482015473ffffffffffffffffffffffffffffffffffffffff90911695506fffffffffffffffffffffffffffffffff1693505b505080612aa7906144fb565b905061297d565b50612af673ffffffffffffffffffffffffffffffffffffffff831615612ad45782612af0565b600188015473ffffffffffffffffffffffffffffffffffffffff165b88613a25565b86547fffffffffffffffff0000000000000000000000000000000000000000ffffffff1664010000000073ffffffffffffffffffffffffffffffffffffffff8416021787556000888152600460205260408120612b5291613ecb565b8760000361295e57600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555050505050505050565b60606000612bc684367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900361427b565b90508267ffffffffffffffff1667ffffffffffffffff811115612beb57612beb614533565b6040519080825280601f01601f191660200182016040528015612c15576020820181803683370190505b509150828160208401375092915050565b151760011b90565b6000612c4d6fffffffffffffffffffffffffffffffff84166001614393565b90506000612c5d8286600161338f565b9050600086901a8380612d505750612c9660027f000000000000000000000000000000000000000000000000000000000000000061434e565b6004830154600290612d3a906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b612d449190614494565b67ffffffffffffffff16145b15612da85760ff811660011480612d6a575060ff81166002145b612da3576040517ff40239db00000000000000000000000000000000000000000000000000000000815260048101889052602401611685565b612de6565b60ff811615612de6576040517ff40239db00000000000000000000000000000000000000000000000000000000815260048101889052602401611685565b50505050505050565b6fffffffffffffffffffffffffffffffff811160071b81811c67ffffffffffffffff1060061b1781811c63ffffffff1060051b1781811c61ffff1060041b1781811c60ff1060031b1760008213612e4e57631615e6386000526004601cfd5b7ff8f9f9faf9fdfafbf9fdfcfdfafbfcfef9fafdfafcfcfbfefafafcfbffffffff6f8421084210842108cc6318c6db6d54be83831c1c601f161a1890811b609f90811c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506029190037d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b302017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d90565b60007812725dd1d243aba0e75fe645cc4873f9e65afe688c928e1f218311670de0b6b3a76400000215820261308757637c5f487d6000526004601cfd5b50670de0b6b3a7640000919091020490565b6000816000190483118202156130b75763bac65e5b6000526004601cfd5b50670de0b6b3a764000091020490565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdc0d0570925a462d782136130f557919050565b680755bf798b4a1bf1e582126131135763a37bfec96000526004601cfd5b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b60006132e0670de0b6b3a7640000836132c786612def565b6132d19190614562565b6132db919061461e565b6130c7565b90505b92915050565b600080613376837e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b600167ffffffffffffffff919091161b90920392915050565b600080826133d8576133d36fffffffffffffffffffffffffffffffff86167f0000000000000000000000000000000000000000000000000000000000000000613bb1565b6133f3565b6133f3856fffffffffffffffffffffffffffffffff16613d6f565b9050600184815481106134085761340861421d565b906000526020600020906005020191505b60048201546fffffffffffffffffffffffffffffffff82811691161461346b57815460018054909163ffffffff169081106134565761345661421d565b90600052602060002090600502019150613419565b509392505050565b6000806000806000613484866134a2565b9350935093509350613498848484846138b1565b9695505050505050565b60008060008060008590506000600182815481106134c2576134c261421d565b600091825260209091206004600590920201908101549091507f000000000000000000000000000000000000000000000000000000000000000090613599906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16116135da576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000815b60048301547f0000000000000000000000000000000000000000000000000000000000000000906136a1906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16925082111561371d57825463ffffffff166136e77f0000000000000000000000000000000000000000000000000000000000000000600161427b565b83036136f1578391505b600181815481106137045761370461421d565b90600052602060002090600502019350809450506135de565b600481810154908401546fffffffffffffffffffffffffffffffff91821691166000816fffffffffffffffffffffffffffffffff16613786613771856fffffffffffffffffffffffffffffffff1660011c90565b6fffffffffffffffffffffffffffffffff1690565b6fffffffffffffffffffffffffffffffff16149050801561384d5760006137be836fffffffffffffffffffffffffffffffff166132e9565b67ffffffffffffffff1611156138215760006137f86137f060016fffffffffffffffffffffffffffffffff8616614362565b89600161338f565b6003810154600490910154909c506fffffffffffffffffffffffffffffffff169a506138279050565b6006549a505b600386015460048701549099506fffffffffffffffffffffffffffffffff1697506138a3565b600061386f6137f06fffffffffffffffffffffffffffffffff85166001614393565b6003808901546004808b015492840154930154909e506fffffffffffffffffffffffffffffffff9182169d50919b50169850505b505050505050509193509193565b60006fffffffffffffffffffffffffffffffff841681036139175782826040516020016138fa9291909182526fffffffffffffffffffffffffffffffff16602082015260400190565b604051602081830303815290604052805190602001209050613968565b60408051602081018790526fffffffffffffffffffffffffffffffff8087169282019290925260608101859052908316608082015260a0016040516020818303038152906040528051906020012090505b949350505050565b6000806139fd847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1690508083036001841b600180831b0386831b17039250505092915050565b60028101546fffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffff000000000000000000000000000000018101613a95576040517ff1a9458100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280830180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff17905573ffffffffffffffffffffffffffffffffffffffff84166000908152602091909152604081208054839290613b0890849061427b565b90915550506040517f7eee288d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152602482018390527f00000000000000000000000000000000000000000000000000000000000000001690637eee288d90604401600060405180830381600087803b158015613b9d57600080fd5b505af1158015612de6573d6000803e3d6000fd5b600081613c50846fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1611613c91576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613c9a83613d6f565b905081613d39826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16116132e3576132e0613d5683600161427b565b6fffffffffffffffffffffffffffffffff831690613e1b565b60008119600183011681613e03827e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169390931c8015179392505050565b600080613ea8847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169050808303600180821b0385821b179250505092915050565b5080546000825590600052602060002090810190613ee99190613eec565b50565b5b80821115613f015760008155600101613eed565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160038310613f6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b60008060408385031215613f8857600080fd5b50508035926020909101359150565b6000815180845260005b81811015613fbd57602081850181015186830182015201613fa1565b81811115613fcf576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006132e06020830184613f97565b73ffffffffffffffffffffffffffffffffffffffff81168114613ee957600080fd5b60006020828403121561404957600080fd5b813561405481614015565b9392505050565b8035801515811461406b57600080fd5b919050565b60008060006060848603121561408557600080fd5b833592506020840135915061409c6040850161405b565b90509250925092565b6000602082840312156140b757600080fd5b81356fffffffffffffffffffffffffffffffff8116811461405457600080fd5b6000602082840312156140e957600080fd5b5035919050565b60008083601f84011261410257600080fd5b50813567ffffffffffffffff81111561411a57600080fd5b60208301915083602082850101111561413257600080fd5b9250929050565b6000806000806000806080878903121561415257600080fd5b863595506141626020880161405b565b9450604087013567ffffffffffffffff8082111561417f57600080fd5b61418b8a838b016140f0565b909650945060608901359150808211156141a457600080fd5b506141b189828a016140f0565b979a9699509497509295939492505050565b6000806000606084860312156141d857600080fd5b505081359360208301359350604090920135919050565b63ffffffff841681528260208201526060604082015260006142146060830184613f97565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561428e5761428e61424c565b500190565b6000828210156142a5576142a561424c565b500390565b600080604083850312156142bd57600080fd5b505080516020909101519092909150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261430c5761430c6142ce565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143495761434961424c565b500290565b60008261435d5761435d6142ce565b500690565b60006fffffffffffffffffffffffffffffffff8381169083168181101561438b5761438b61424c565b039392505050565b60006fffffffffffffffffffffffffffffffff8083168185168083038211156143be576143be61424c565b01949350505050565b8183823760009101908152919050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6060815260006144346060830187896143d7565b82810360208401526144478186886143d7565b9150508260408301529695505050505050565b60006020828403121561446c57600080fd5b5051919050565b600067ffffffffffffffff8381169083168181101561438b5761438b61424c565b600067ffffffffffffffff808416806144af576144af6142ce565b92169190910692915050565b6000602082840312156144cd57600080fd5b815161405481614015565b600067ffffffffffffffff8083168185168083038211156143be576143be61424c565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361452c5761452c61424c565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000841360008413858304851182821616156145a3576145a361424c565b7f800000000000000000000000000000000000000000000000000000000000000060008712868205881281841616156145de576145de61424c565b600087129250878205871284841616156145fa576145fa61424c565b878505871281841616156146105761461061424c565b505050929093029392505050565b60008261462d5761462d6142ce565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f8000000000000000000000000000000000000000000000000000000000000000831416156146815761468161424c565b50059056fea164736f6c634300080f000a",sourceMap:"995:41106:159:-:0;;;4670:783;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5084:13;5069:11;:28;5065:60;;5106:19;;-1:-1:-1;;;5106:19:159;;;;;;;;;;;5065:60;5136:21;;;;;;5167:37;;;;;-1:-1:-1;5214:30:159;;;;5254:25;;;;;-1:-1:-1;;;;;5289:29:159;;;-1:-1:-1;;;;;5328:8:159;;;;;5346:12;;;;;5368:44;;;5422:24;;995:41106;;14:144:350;-1:-1:-1;;;;;102:31:350;;92:42;;82:70;;148:1;145;138:12;82:70;14:144;:::o;163:164::-;255:13;;277:44;255:13;277:44;:::i;:::-;163:164;;;:::o;332:1208::-;634:6;642;650;658;666;674;682;690;698;751:3;739:9;730:7;726:23;722:33;719:53;;;768:1;765;758:12;719:53;800:9;794:16;850:10;843:5;839:22;832:5;829:33;819:61;;876:1;873;866:12;819:61;944:2;929:18;;923:25;988:2;973:18;;967:25;1032:2;1017:18;;1011:25;1081:3;1066:19;;1060:26;899:5;;-1:-1:-1;923:25:350;;-1:-1:-1;967:25:350;-1:-1:-1;1011:25:350;-1:-1:-1;;;;;;1117:32:350;;1105:45;;1095:73;;1164:1;1161;1154:12;1095:73;1239:3;1224:19;;1218:26;1187:7;;-1:-1:-1;1253:46:350;1218:26;1253:46;:::i;:::-;1318:7;-1:-1:-1;1344:63:350;1402:3;1387:19;;1344:63;:::i;:::-;1334:73;;1426:63;1484:3;1473:9;1469:19;1426:63;:::i;:::-;1416:73;;1529:3;1518:9;1514:19;1508:26;1498:36;;332:1208;;;;;;;;;;;:::o;:::-;995:41106:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101e75760003560e01c80638b85902b1161010e578063d5d44d80116100a7578063ec5e630811610079578063fa24f74311610061578063fa24f74314610759578063fa315aa91461077d578063fdffbb28146107b057005b8063ec5e630814610706578063f8f43ff61461073957005b8063d5d44d8014610653578063d6ae3cd514610680578063d8cc1a3c146106b3578063e1f0c376146106d357005b8063c395e1ca116100e0578063c395e1ca14610575578063c55cd0c714610595578063c6f0308c146105a8578063cf09e0d01461063257005b80638b85902b146104845780638d450a95146104c4578063bbdc02db146104f7578063bcef3b551461053857005b806357da950e116101805780636361506d116101525780636361506d1461041257806370872aa5146104525780638129fc1c146104675780638980e0cc1461046f57005b806357da950e1461039a578063609d3334146103ca57806360e27464146103df578063632247ea146103ff57005b806335fef567116101b957806335fef567146102aa5780633a768463146102bd5780633fc8cef31461031157806354fd4d501461034457005b806319effeb4146101f0578063200d2ed21461023b57806325fc2ace146102765780632810e1d61461029557005b366101ee57005b005b3480156101fc57600080fd5b5060005461021d9068010000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b34801561024757600080fd5b5060005461026990700100000000000000000000000000000000900460ff1681565b6040516102329190613f34565b34801561028257600080fd5b506006545b604051908152602001610232565b3480156102a157600080fd5b506102696107c3565b6101ee6102b8366004613f75565b610a40565b3480156102c957600080fd5b507f00000000000000000000000000000000000000000000000000000000000000005b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610232565b34801561031d57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006102ec565b34801561035057600080fd5b5061038d6040518060400160405280600581526020017f302e392e3000000000000000000000000000000000000000000000000000000081525081565b6040516102329190614002565b3480156103a657600080fd5b506006546007546103b5919082565b60408051928352602083019190915201610232565b3480156103d657600080fd5b5061038d610a50565b3480156103eb57600080fd5b506101ee6103fa366004614037565b610a63565b6101ee61040d366004614070565b610c0f565b34801561041e57600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360200135610287565b34801561045e57600080fd5b50600754610287565b6101ee611486565b34801561047b57600080fd5b50600154610287565b34801561049057600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360400135610287565b3480156104d057600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b34801561050357600080fd5b5060405163ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610232565b34801561054457600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900335610287565b34801561058157600080fd5b506102876105903660046140a5565b6119b2565b6101ee6105a3366004613f75565b611b9c565b3480156105b457600080fd5b506105c86105c33660046140d7565b611ba8565b6040805163ffffffff909816885273ffffffffffffffffffffffffffffffffffffffff968716602089015295909416948601949094526fffffffffffffffffffffffffffffffff9182166060860152608085015291821660a08401521660c082015260e001610232565b34801561063e57600080fd5b5060005461021d9067ffffffffffffffff1681565b34801561065f57600080fd5b5061028761066e366004614037565b60026020526000908152604090205481565b34801561068c57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b3480156106bf57600080fd5b506101ee6106ce366004614139565b611c3f565b3480156106df57600080fd5b507f000000000000000000000000000000000000000000000000000000000000000061021d565b34801561071257600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b34801561074557600080fd5b506101ee6107543660046141c3565b612274565b34801561076557600080fd5b5061076e6126d1565b604051610232939291906141ef565b34801561078957600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b6101ee6107be3660046140d7565b61272e565b600080600054700100000000000000000000000000000000900460ff1660028111156107f1576107f1613f05565b14610828576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055460ff16610864576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660016000815481106108905761089061421d565b6000918252602090912060059091020154640100000000900473ffffffffffffffffffffffffffffffffffffffff16146108cb5760016108ce565b60025b6000805467ffffffffffffffff421668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff82168117835592935083927fffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffff000000000000000000ffffffffffffffff9091161770010000000000000000000000000000000083600281111561097f5761097f613f05565b02179055600281111561099457610994613f05565b6040517f5e186f09b9c93491f14e277eea7faa5de6a2d4bda75a79af7a3684fbfb42da6090600090a27f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663838c2d1e6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610a2557600080fd5b505af1158015610a39573d6000803e3d6000fd5b5050505090565b610a4c82826000610c0f565b5050565b6060610a5e60406020612b8f565b905090565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040812080549082905590819003610ac8576040517f17bfe5f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517ff3fef3a300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063f3fef3a390604401600060405180830381600087803b158015610b5857600080fd5b505af1158015610b6c573d6000803e3d6000fd5b5050505060008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610bca576040519150601f19603f3d011682016040523d82523d6000602084013e610bcf565b606091505b5050905080610c0a576040517f83e6cc6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60008054700100000000000000000000000000000000900460ff166002811115610c3b57610c3b613f05565b14610c72576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018481548110610c8757610c8761421d565b600091825260208083206040805160e0810182526005909402909101805463ffffffff808216865273ffffffffffffffffffffffffffffffffffffffff6401000000009092048216948601949094526001820154169184019190915260028101546fffffffffffffffffffffffffffffffff90811660608501526003820154608085015260049091015480821660a0850181905270010000000000000000000000000000000090910490911660c0840152919350909190610d4c9083908690612c2616565b90506000610dec826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169050861580610e2e5750610e2b7f0000000000000000000000000000000000000000000000000000000000000000600261427b565b81145b8015610e38575084155b15610e6f576040517fa42637bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000811115610ec9576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ef47f0000000000000000000000000000000000000000000000000000000000000000600161427b565b8103610f0657610f0686888588612c2e565b34610f10836119b2565b14610f47576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b835160009063ffffffff90811614610fa7576001856000015163ffffffff1681548110610f7657610f7661421d565b906000526020600020906005020160040160109054906101000a90046fffffffffffffffffffffffffffffffff1690505b60c0850151600090610fcb9067ffffffffffffffff165b67ffffffffffffffff1690565b67ffffffffffffffff1642610ff5610fbe856fffffffffffffffffffffffffffffffff1660401c90565b67ffffffffffffffff16611009919061427b565b6110139190614293565b90507f000000000000000000000000000000000000000000000000000000000000000060011c677fffffffffffffff1667ffffffffffffffff82161115611086576040517f3381d11400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000604082901b421760008a8152608087901b6fffffffffffffffffffffffffffffffff8d1617602052604081209192509060008181526003602052604090205490915060ff1615611104576040517f80497e3b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016003600083815260200190815260200160002060006101000a81548160ff02191690831515021790555060016040518060e001604052808d63ffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001346fffffffffffffffffffffffffffffffff1681526020018c8152602001886fffffffffffffffffffffffffffffffff168152602001846fffffffffffffffffffffffffffffffff16815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160020160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506080820151816003015560a08201518160040160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060c08201518160040160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055505050600460008c8152602001908152602001600020600180805490506113999190614293565b81546001810183556000928352602083200155604080517fd0e30db0000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169263d0e30db09234926004808301939282900301818588803b15801561143157600080fd5b505af1158015611445573d6000803e3d6000fd5b50506040513393508d92508e91507f9b3245740ec3b155098a55be84957a4da13eaf7f14a8bc6f53126c0b9350f2be90600090a45050505050505050505050565b600554610100900460ff16156114c8576040517f0dc149f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f7258a80700000000000000000000000000000000000000000000000000000000815263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000166004820152600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690637258a807906024016040805180830381865afa15801561157c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a091906142aa565b9092509050816115dc576040517f6a6bc3b200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080518082018252838152602001829052600683905560078290558190367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900301351161168e576040517ff40239db000000000000000000000000000000000000000000000000000000008152367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90033560048201526024015b60405180910390fd5b60663611156116a55763c407e0256000526004601cfd5b6040805160e08101825263ffffffff808252600060208301818152328486019081526fffffffffffffffffffffffffffffffff34818116606088019081527ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe369081013560f01c90033560808901908152600160a08a0181815242861660c08c0190815282548084018455928a529a5160059092027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018054995173ffffffffffffffffffffffffffffffffffffffff908116640100000000027fffffffffffffffff000000000000000000000000000000000000000000000000909b1694909c16939093179890981790915594517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf787018054918a167fffffffffffffffffffffffff000000000000000000000000000000000000000090921691909117905590517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf8860180549185167fffffffffffffffffffffffffffffffff00000000000000000000000000000000909216919091179055517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf9850155915195518116700100000000000000000000000000000000029516949094177fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfa9091015583517fd0e30db000000000000000000000000000000000000000000000000000000000815293517f00000000000000000000000000000000000000000000000000000000000000009092169363d0e30db093926004828101939282900301818588803b15801561193357600080fd5b505af1158015611947573d6000803e3d6000fd5b50506000805467ffffffffffffffff42167fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009091161790555050600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055505050565b600080611a51836fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1690507f0000000000000000000000000000000000000000000000000000000000000000811115611ab7576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b642e90edd00062061a80630bebc2006000611ad283836142fd565b9050670de0b6b3a76400006000611b09827f0000000000000000000000000000000000000000000000000000000000000000614311565b90506000611b27611b22670de0b6b3a764000086614311565b612def565b90506000611b35848461304a565b90506000611b438383613099565b90506000611b50826130c7565b90506000611b6f82611b6a670de0b6b3a76400008f614311565b6132af565b90506000611b7d8b83613099565b9050611b89818d614311565b9f9e505050505050505050505050505050565b610a4c82826001610c0f565b60018181548110611bb857600080fd5b60009182526020909120600590910201805460018201546002830154600384015460049094015463ffffffff8416955064010000000090930473ffffffffffffffffffffffffffffffffffffffff908116949216926fffffffffffffffffffffffffffffffff91821692918082169170010000000000000000000000000000000090041687565b60008054700100000000000000000000000000000000900460ff166002811115611c6b57611c6b613f05565b14611ca2576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018781548110611cb757611cb761421d565b6000918252602082206005919091020160048101549092506fffffffffffffffffffffffffffffffff16908715821760011b9050611d167f0000000000000000000000000000000000000000000000000000000000000000600161427b565b611db2826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1614611df3576040517f5f53dd9800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000808915611ee257611e467f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000614293565b6001901b611e65846fffffffffffffffffffffffffffffffff166132e9565b67ffffffffffffffff16611e79919061434e565b15611eb657611ead611e9e60016fffffffffffffffffffffffffffffffff8716614362565b865463ffffffff16600061338f565b60030154611ed8565b7f00000000000000000000000000000000000000000000000000000000000000005b9150849050611f0c565b60038501549150611f09611e9e6fffffffffffffffffffffffffffffffff86166001614393565b90505b600882901b60088a8a604051611f239291906143c7565b6040518091039020901b14611f64576040517f696550ff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611f6f8c613473565b90506000611f7e836003015490565b6040517fe14ced320000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e14ced3290611ff8908f908f908f908f908a90600401614420565b6020604051808303816000875af1158015612017573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203b919061445a565b6004850154911491506000906002906120e6906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b612182896fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b61218c9190614473565b6121969190614494565b67ffffffffffffffff1615905081151581036121de576040517ffb4e40dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8754640100000000900473ffffffffffffffffffffffffffffffffffffffff1615612235576040517f9071e6af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505085547fffffffffffffffff0000000000000000000000000000000000000000ffffffff163364010000000002179095555050505050505050505050565b60008054700100000000000000000000000000000000900460ff1660028111156122a0576122a0613f05565b146122d7576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000806122e6866134a2565b935093509350935060006122fc858585856138b1565b905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637dc0d1d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561236b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238f91906144bb565b9050600189036124875773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a846123eb367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90036020013590565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815260048101939093526024830191909152604482015260206064820152608481018a905260a4015b6020604051808303816000875af115801561245d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612481919061445a565b506126c6565b600289036124b35773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a84896123eb565b600389036124df5773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a84876123eb565b600489036125fb5760006125256fffffffffffffffffffffffffffffffff85167f0000000000000000000000000000000000000000000000000000000000000000613970565b600754612532919061427b565b61253d90600161427b565b905073ffffffffffffffffffffffffffffffffffffffff82166352f0f3ad8b8560405160e084901b7fffffffff000000000000000000000000000000000000000000000000000000001681526004810192909252602482015260c084901b604482015260086064820152608481018b905260a4016020604051808303816000875af11580156125d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f4919061445a565b50506126c6565b60058903612694576040517f52f0f3ad000000000000000000000000000000000000000000000000000000008152600481018a9052602481018390527f000000000000000000000000000000000000000000000000000000000000000060c01b6044820152600860648201526084810188905273ffffffffffffffffffffffffffffffffffffffff8216906352f0f3ad9060a40161243e565b6040517fff137e6500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050505050505050565b7f0000000000000000000000000000000000000000000000000000000000000000367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c9003356060612727610a50565b9050909192565b60008054700100000000000000000000000000000000900460ff16600281111561275a5761275a613f05565b14612791576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600182815481106127a6576127a661421d565b6000918252602082206005919091020160048101549092506127e890700100000000000000000000000000000000900460401c67ffffffffffffffff16610fbe565b600483015490915060009061281a90700100000000000000000000000000000000900467ffffffffffffffff16610fbe565b6128249042614473565b9050677fffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000060011c1661285e82846144d8565b67ffffffffffffffff161161289f576040517ff2440b5300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008481526004602052604090208054851580156128bf575060055460ff165b156128f6576040517ff1a9458100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015801561290357508515155b15612968578454640100000000900473ffffffffffffffffffffffffffffffffffffffff16600081156129365781612952565b600187015473ffffffffffffffffffffffffffffffffffffffff165b905061295e8188613a25565b5050505050505050565b60006fffffffffffffffffffffffffffffffff815b83811015612aae5760008582815481106129995761299961421d565b60009182526020808320909101548083526004909152604090912054909150156129ef576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018281548110612a0457612a0461421d565b600091825260209091206005909102018054909150640100000000900473ffffffffffffffffffffffffffffffffffffffff16158015612a5d575060048101546fffffffffffffffffffffffffffffffff908116908516115b15612a9b576001810154600482015473ffffffffffffffffffffffffffffffffffffffff90911695506fffffffffffffffffffffffffffffffff1693505b505080612aa7906144fb565b905061297d565b50612af673ffffffffffffffffffffffffffffffffffffffff831615612ad45782612af0565b600188015473ffffffffffffffffffffffffffffffffffffffff165b88613a25565b86547fffffffffffffffff0000000000000000000000000000000000000000ffffffff1664010000000073ffffffffffffffffffffffffffffffffffffffff8416021787556000888152600460205260408120612b5291613ecb565b8760000361295e57600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555050505050505050565b60606000612bc684367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900361427b565b90508267ffffffffffffffff1667ffffffffffffffff811115612beb57612beb614533565b6040519080825280601f01601f191660200182016040528015612c15576020820181803683370190505b509150828160208401375092915050565b151760011b90565b6000612c4d6fffffffffffffffffffffffffffffffff84166001614393565b90506000612c5d8286600161338f565b9050600086901a8380612d505750612c9660027f000000000000000000000000000000000000000000000000000000000000000061434e565b6004830154600290612d3a906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b612d449190614494565b67ffffffffffffffff16145b15612da85760ff811660011480612d6a575060ff81166002145b612da3576040517ff40239db00000000000000000000000000000000000000000000000000000000815260048101889052602401611685565b612de6565b60ff811615612de6576040517ff40239db00000000000000000000000000000000000000000000000000000000815260048101889052602401611685565b50505050505050565b6fffffffffffffffffffffffffffffffff811160071b81811c67ffffffffffffffff1060061b1781811c63ffffffff1060051b1781811c61ffff1060041b1781811c60ff1060031b1760008213612e4e57631615e6386000526004601cfd5b7ff8f9f9faf9fdfafbf9fdfcfdfafbfcfef9fafdfafcfcfbfefafafcfbffffffff6f8421084210842108cc6318c6db6d54be83831c1c601f161a1890811b609f90811c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506029190037d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b302017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d90565b60007812725dd1d243aba0e75fe645cc4873f9e65afe688c928e1f218311670de0b6b3a76400000215820261308757637c5f487d6000526004601cfd5b50670de0b6b3a7640000919091020490565b6000816000190483118202156130b75763bac65e5b6000526004601cfd5b50670de0b6b3a764000091020490565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdc0d0570925a462d782136130f557919050565b680755bf798b4a1bf1e582126131135763a37bfec96000526004601cfd5b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b60006132e0670de0b6b3a7640000836132c786612def565b6132d19190614562565b6132db919061461e565b6130c7565b90505b92915050565b600080613376837e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b600167ffffffffffffffff919091161b90920392915050565b600080826133d8576133d36fffffffffffffffffffffffffffffffff86167f0000000000000000000000000000000000000000000000000000000000000000613bb1565b6133f3565b6133f3856fffffffffffffffffffffffffffffffff16613d6f565b9050600184815481106134085761340861421d565b906000526020600020906005020191505b60048201546fffffffffffffffffffffffffffffffff82811691161461346b57815460018054909163ffffffff169081106134565761345661421d565b90600052602060002090600502019150613419565b509392505050565b6000806000806000613484866134a2565b9350935093509350613498848484846138b1565b9695505050505050565b60008060008060008590506000600182815481106134c2576134c261421d565b600091825260209091206004600590920201908101549091507f000000000000000000000000000000000000000000000000000000000000000090613599906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16116135da576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000815b60048301547f0000000000000000000000000000000000000000000000000000000000000000906136a1906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16925082111561371d57825463ffffffff166136e77f0000000000000000000000000000000000000000000000000000000000000000600161427b565b83036136f1578391505b600181815481106137045761370461421d565b90600052602060002090600502019350809450506135de565b600481810154908401546fffffffffffffffffffffffffffffffff91821691166000816fffffffffffffffffffffffffffffffff16613786613771856fffffffffffffffffffffffffffffffff1660011c90565b6fffffffffffffffffffffffffffffffff1690565b6fffffffffffffffffffffffffffffffff16149050801561384d5760006137be836fffffffffffffffffffffffffffffffff166132e9565b67ffffffffffffffff1611156138215760006137f86137f060016fffffffffffffffffffffffffffffffff8616614362565b89600161338f565b6003810154600490910154909c506fffffffffffffffffffffffffffffffff169a506138279050565b6006549a505b600386015460048701549099506fffffffffffffffffffffffffffffffff1697506138a3565b600061386f6137f06fffffffffffffffffffffffffffffffff85166001614393565b6003808901546004808b015492840154930154909e506fffffffffffffffffffffffffffffffff9182169d50919b50169850505b505050505050509193509193565b60006fffffffffffffffffffffffffffffffff841681036139175782826040516020016138fa9291909182526fffffffffffffffffffffffffffffffff16602082015260400190565b604051602081830303815290604052805190602001209050613968565b60408051602081018790526fffffffffffffffffffffffffffffffff8087169282019290925260608101859052908316608082015260a0016040516020818303038152906040528051906020012090505b949350505050565b6000806139fd847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1690508083036001841b600180831b0386831b17039250505092915050565b60028101546fffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffff000000000000000000000000000000018101613a95576040517ff1a9458100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280830180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff17905573ffffffffffffffffffffffffffffffffffffffff84166000908152602091909152604081208054839290613b0890849061427b565b90915550506040517f7eee288d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152602482018390527f00000000000000000000000000000000000000000000000000000000000000001690637eee288d90604401600060405180830381600087803b158015613b9d57600080fd5b505af1158015612de6573d6000803e3d6000fd5b600081613c50846fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1611613c91576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613c9a83613d6f565b905081613d39826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16116132e3576132e0613d5683600161427b565b6fffffffffffffffffffffffffffffffff831690613e1b565b60008119600183011681613e03827e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169390931c8015179392505050565b600080613ea8847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169050808303600180821b0385821b179250505092915050565b5080546000825590600052602060002090810190613ee99190613eec565b50565b5b80821115613f015760008155600101613eed565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160038310613f6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b60008060408385031215613f8857600080fd5b50508035926020909101359150565b6000815180845260005b81811015613fbd57602081850181015186830182015201613fa1565b81811115613fcf576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006132e06020830184613f97565b73ffffffffffffffffffffffffffffffffffffffff81168114613ee957600080fd5b60006020828403121561404957600080fd5b813561405481614015565b9392505050565b8035801515811461406b57600080fd5b919050565b60008060006060848603121561408557600080fd5b833592506020840135915061409c6040850161405b565b90509250925092565b6000602082840312156140b757600080fd5b81356fffffffffffffffffffffffffffffffff8116811461405457600080fd5b6000602082840312156140e957600080fd5b5035919050565b60008083601f84011261410257600080fd5b50813567ffffffffffffffff81111561411a57600080fd5b60208301915083602082850101111561413257600080fd5b9250929050565b6000806000806000806080878903121561415257600080fd5b863595506141626020880161405b565b9450604087013567ffffffffffffffff8082111561417f57600080fd5b61418b8a838b016140f0565b909650945060608901359150808211156141a457600080fd5b506141b189828a016140f0565b979a9699509497509295939492505050565b6000806000606084860312156141d857600080fd5b505081359360208301359350604090920135919050565b63ffffffff841681528260208201526060604082015260006142146060830184613f97565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561428e5761428e61424c565b500190565b6000828210156142a5576142a561424c565b500390565b600080604083850312156142bd57600080fd5b505080516020909101519092909150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261430c5761430c6142ce565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143495761434961424c565b500290565b60008261435d5761435d6142ce565b500690565b60006fffffffffffffffffffffffffffffffff8381169083168181101561438b5761438b61424c565b039392505050565b60006fffffffffffffffffffffffffffffffff8083168185168083038211156143be576143be61424c565b01949350505050565b8183823760009101908152919050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6060815260006144346060830187896143d7565b82810360208401526144478186886143d7565b9150508260408301529695505050505050565b60006020828403121561446c57600080fd5b5051919050565b600067ffffffffffffffff8381169083168181101561438b5761438b61424c565b600067ffffffffffffffff808416806144af576144af6142ce565b92169190910692915050565b6000602082840312156144cd57600080fd5b815161405481614015565b600067ffffffffffffffff8083168185168083038211156143be576143be61424c565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361452c5761452c61424c565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000841360008413858304851182821616156145a3576145a361424c565b7f800000000000000000000000000000000000000000000000000000000000000060008712868205881281841616156145de576145de61424c565b600087129250878205871284841616156145fa576145fa61424c565b878505871281841616156146105761461061424c565b505050929093029392505050565b60008261462d5761462d6142ce565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f8000000000000000000000000000000000000000000000000000000000000000831416156146815761468161424c565b50059056fea164736f6c634300080f000a",sourceMap:"995:41106:159:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2896:27;;;;;;;;;;-1:-1:-1;2896:27:159;;;;;;;;;;;;;;220:18:350;208:31;;;190:50;;178:2;163:18;2896:27:159;;;;;;;;2963:24;;;;;;;;;;-1:-1:-1;2963:24:159;;;;;;;;;;;;;;;;;;:::i;24310:135::-;;;;;;;;;;-1:-1:-1;24415:18:159;:23;24310:135;;;1018:25:350;;;1006:2;991:18;24310:135:159;846:203:350;18544:907:159;;;;;;;;;;;;;:::i;15650:119::-;;;;;;:::i;:::-;;:::i;31838:79::-;;;;;;;;;;-1:-1:-1;31908:2:159;31838:79;;;1531:42:350;1519:55;;;1501:74;;1489:2;1474:18;31838:79:159;1334:247:350;31982:88:159;;;;;;;;;;-1:-1:-1;32059:4:159;31982:88;;3968:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;3862:36::-;;;;;;;;;;-1:-1:-1;3862:36:159;;;;;;;;;;;;;2800:25:350;;;2856:2;2841:18;;2834:34;;;;2773:18;3862:36:159;2600:274:350;23580:234:159;;;;;;;;;;;;;:::i;30210:671::-;;;;;;;;;;-1:-1:-1;30210:671:159;;;;;:::i;:::-;;:::i;10674:4770::-;;;;;;:::i;:::-;;:::i;17868:114::-;;;;;;;;;;-1:-1:-1;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;17969:4:159;1632:22:187;1619:36;17868:114:159;23580:234;24110:156;;;;;;;;;;-1:-1:-1;24227:32:159;;24110:156;;24694:2821;;;:::i;27582:101::-;;;;;;;;;;-1:-1:-1;27660:9:159;:16;27582:101;;18026:124;;;;;;;;;;-1:-1:-1;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;18138:4:159;1632:22:187;1619:36;18026:124:159;23580:234;31167:130;;;;;;;;;;-1:-1:-1;31273:17:159;31167:130;;18397:108;;;;;;;;;;-1:-1:-1;18397:108:159;;4622:10:350;18489:9:159;4610:23:350;4592:42;;4580:2;4565:18;18397:108:159;4417:223:350;23416:125:159;;;;;;;;;;-1:-1:-1;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;1619:36;23416:125:159;23580:234;27899:2171;;;;;;;;;;-1:-1:-1;27899:2171:159;;;;;:::i;:::-;;:::i;15488:118::-;;;;;;:::i;:::-;;:::i;3075:28::-;;;;;;;;;;-1:-1:-1;3075:28:159;;;;;:::i;:::-;;:::i;:::-;;;;5593:10:350;5581:23;;;5563:42;;5624;5702:15;;;5697:2;5682:18;;5675:43;5754:15;;;;5734:18;;;5727:43;;;;5789:34;5859:15;;;5854:2;5839:18;;5832:43;5906:3;5891:19;;5884:35;5956:15;;;5950:3;5935:19;;5928:44;6009:15;6003:3;5988:19;;5981:44;5550:3;5535:19;3075:28:159;5166:865:350;2800:26:159;;;;;;;;;;-1:-1:-1;2800:26:159;;;;;;;;3170:41;;;;;;;;;;-1:-1:-1;3170:41:159;;;;;:::i;:::-;;;;;;;;;;;;;;32159:105;;;;;;;;;;-1:-1:-1;32246:11:159;32159:105;;5921:4442;;;;;;;;;;-1:-1:-1;5921:4442:159;;;;;:::i;:::-;;:::i;31668:117::-;;;;;;;;;;-1:-1:-1;31765:13:159;31668:117;;31511:108;;;;;;;;;;-1:-1:-1;31601:11:159;31511:108;;15813:2011;;;;;;;;;;-1:-1:-1;15813:2011:159;;;;;:::i;:::-;;:::i;23853:213::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;31347:117::-;;;;;;;;;;-1:-1:-1;31443:14:159;31347:117;;19495:3882;;;;;;:::i;:::-;;:::i;18544:907::-;18581:18;;18703:6;;;;;;;:32;;;;;;;;:::i;:::-;;18699:64;;18744:19;;;;;;;;;;;;;;18699:64;18877:21;;;;18872:57;;18907:22;;;;;;;;;;;;;;18872:57;19055:1;19019:38;;:9;19029:1;19019:12;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:24;;;;;;:38;:94;;19087:26;19019:94;;;19060:24;19019:94;19123:10;:52;;;19158:15;19123:52;;;;;;;;;;19009:104;;-1:-1:-1;19009:104:159;;19305:16;;;;;;;;19009:104;19305:16;;;;;;;;:::i;:::-;;;;;19296:26;;;;;;;;:::i;:::-;;;;;;;;19400:21;:42;;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18544:907;:::o;15650:119::-;15729:33;15734:12;15748:6;15756:5;15729:4;:33::i;:::-;15650:119;;:::o;23580:234::-;23622:23;23780:27;23796:4;23802;23780:15;:27::i;:::-;23767:40;;23580:234;:::o;30210:671::-;30383:18;;;30357:23;30383:18;;;:6;:18;;;;;;;30411:22;;;;30383:18;30507:20;;;30503:75;;30550:17;;;;;;;;;;;;;;30503:75;30655:42;;;;;:13;8623:55:350;;;30655:42:159;;;8605:74:350;8695:18;;;8688:34;;;30655:4:159;:13;;;;8578:18:350;;30655:42:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30758:12;30775:10;:15;;30799;30775:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30757:66;;;30838:7;30833:41;;30854:20;;;;;;;;;;;;;;30833:41;30260:621;;30210:671;:::o;10674:4770::-;10875:22;10865:6;;;;;;;:32;;;;;;;;:::i;:::-;;10861:64;;10906:19;;;;;;;;;;;;;;10861:64;11016:23;11042:9;11052:15;11042:26;;;;;;;;:::i;:::-;;;;;;;;;11016:52;;;;;;;;11042:26;;;;;;;11016:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11016:52:159;;11042:26;11397:25;;11016:52;;11412:9;;11397:14;:25;:::i;:::-;11373:49;;11432:25;11460:20;:12;:18;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;11460:20:159;11432:48;;;-1:-1:-1;11827:20:159;;;:60;;-1:-1:-1;11872:15:159;:11;11886:1;11872:15;:::i;:::-;11851:17;:36;11827:60;11826:76;;;;;11893:9;11892:10;11826:76;11822:137;;;11925:23;;;;;;;;;;;;;;11822:137;12320:14;12300:17;:34;12296:66;;;12343:19;;;;;;;;;;;;;;12296:66;12590:15;:11;12604:1;12590:15;:::i;:::-;12569:17;:36;12565:138;;12621:71;12646:6;12654:15;12671:9;12682;12621:24;:71::i;:::-;12826:9;12793:29;12809:12;12793:15;:29::i;:::-;:42;12789:76;;12844:21;;;;;;;;;;;;;;12789:76;13056:18;;13020:22;;13078:16;13056:38;;;;13052:123;;13129:9;13139:6;:18;;;13129:29;;;;;;;;;;:::i;:::-;;;;;;;;;;;:35;;;;;;;;;;;;13110:54;;13052:123;13758:12;;;;13407:21;;13758:30;;1624:28:172;;13758:24:159;:28;;4002:10:172;3878:150;13758:30:159;13553:235;;13740:15;13553:33;:27;:16;:25;;1135:4:172;1131:17;;913:251;13553:33:159;:202;;;;;;:::i;:::-;:235;;;;:::i;:::-;13407:405;-1:-1:-1;13982:13:159;14005:1;13982:24;;;:17;13961:16;;:45;13957:77;;;14015:19;;;;;;;;;;;;;;13957:77;14136:15;668:4:172;664:20;;;14204:15:159;661:36:172;14506:19:159;758:20:170;;;811:3;807:19;;;832:34;828:56;;804:81;798:4;791:95;929:4;913:21;;14136:86:159;;-1:-1:-1;14506:19:159;14592:17;;;;:6;:17;;;;;;14506:72;;-1:-1:-1;14592:17:159;;14588:50;;;14618:20;;;;;;;;;;;;;;14588:50;14668:4;14648:6;:17;14655:9;14648:17;;;;;;;;;;;;:24;;;;;;;;;;;;;;;;;;14716:9;14744:366;;;;;;;;14792:15;14744:366;;;;;;14908:1;14744:366;;;;;;14938:10;14744:366;;;;;;14980:9;14744:366;;;;;;15015:6;14744:366;;;;15049:12;14744:366;;;;;;15086:9;14744:366;;;;;14716:404;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15189:8;:25;15198:15;15189:25;;;;;;;;;;;15239:1;15220:9;:16;;;;:20;;;;:::i;:::-;15189:52;;;;;;;-1:-1:-1;15189:52:159;;;;;;;;15281:34;;;;;;;;:12;:4;:12;;;;15302:9;;15281:34;;;;;-1:-1:-1;15281:34:159;;;;;15302:9;15281:12;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15396:41:159;;15426:10;;-1:-1:-1;15418:6:159;;-1:-1:-1;15401:15:159;;-1:-1:-1;15396:41:159;;;;;10766:4678;;;;;;;;10674:4770;;;:::o;24694:2821::-;25384:11;;;;;;;25380:44;;;25404:20;;;;;;;;;;;;;;25380:44;25514:40;;;;;;25544:9;4610:23:350;25514:40:159;;;4592:42:350;25476:9:159;;;;25514:29;:21;:29;;;;4565:18:350;;25514:40:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;25475:79;;-1:-1:-1;25475:79:159;-1:-1:-1;25475:79:159;25651:57;;25688:20;;;;;;;;;;;;;;25651:57;25781:58;;;;;;;;;;;;;;;;25760:18;:79;;;;;;;25781:58;;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;1632:22;1619:36;26008:34:159;26004:79;;26051:32;;;;;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;1619:36;26051:32:159;;;1018:25:350;991:18;;26051:32:159;;;;;;;;26004:79;26635:4;26619:14;26616:24;26613:191;;;26744:10;26738:4;26731:24;26785:4;26779;26772:18;26613:191;26882:366;;;;;;;;26923:16;26882:366;;;-1:-1:-1;26882:366:159;;;;;;27008:9;26882:366;;;;;;;27049:9;26882:366;;;;;;;;;3761:22:187;3765:14;3761:22;;;3748:36;3742:4;3738:47;3718:68;;1619:36;26882:366:159;;;;;;26854:9;26882:366;;;;;;27215:15;26882:366;;;;;;;;26854:404;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27298:34;;;;;;;:4;:12;;;;;;27049:9;26854:404;27298:34;;;;-1:-1:-1;27298:34:159;;;;;27049:9;27298:12;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27388:9:159;:51;;;27422:15;27388:51;;;;;;;;-1:-1:-1;;27490:11:159;:18;;;;27388:51;27490:18;;;-1:-1:-1;;;24694:2821:159:o;27899:2171::-;27965:21;27998:13;28022:17;:9;:15;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;28022:17:159;28014:26;;27998:42;;28062:14;28054:5;:22;28050:54;;;28085:19;;;;;;;;;;;;;;28050:54;28195:8;28238:7;28280:11;28170:22;29047:31;28238:7;28280:11;29047:31;:::i;:::-;29035:43;-1:-1:-1;2458:4:95;29088:9:159;29143:38;2458:4:95;29143:14:159;:38;:::i;:::-;29131:50;-1:-1:-1;29278:11:159;29300:58;29331:25;2458:4:95;29331:1:159;:25;:::i;:::-;29300:23;:58::i;:::-;29278:81;;29436:14;29453:30;29478:1;29481;29453:24;:30::i;:::-;29436:47;;29617:17;29637:37;29662:3;29667:6;29637:24;:37::i;:::-;29617:57;;29684:11;29698:43;29730:9;29698:24;:43::i;:::-;29684:57;-1:-1:-1;29796:13:159;29812:69;29684:57;29850:29;2458:4:95;29850:5:159;:29;:::i;:::-;29812:24;:69::i;:::-;29796:85;;29891:19;29913:57;29938:14;29962:6;29913:24;:57::i;:::-;29891:79;-1:-1:-1;30035:28:159;29891:79;30035:14;:28;:::i;:::-;30019:44;27899:2171;-1:-1:-1;;;;;;;;;;;;;;;27899:2171:159:o;15488:118::-;15567:32;15572:12;15586:6;15594:4;15567;:32::i;3075:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3075:28:159;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5921:4442::-;6204:22;6194:6;;;;;;;:32;;;;;;;;:::i;:::-;;6190:64;;6235:19;;;;;;;;;;;;;;6190:64;6345:24;6372:9;6382:11;6372:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;6478:15;;;;6372:22;;-1:-1:-1;6478:15:159;;;8377:17:171;;8374:32;;8371:1;8367:40;6550:44:159;-1:-1:-1;6729:18:159;:14;6746:1;6729:18;:::i;:::-;6710:15;:7;:13;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;6710:15:159;:37;;;6706:65;;6756:15;;;;;;;;;;;;;;6706:65;6847:19;6876:27;6917:9;6913:1343;;;7648:28;7665:11;7648:14;:28;:::i;:::-;7642:1;:35;;7616:22;:7;:20;;;:22::i;:::-;:62;;;;;;:::i;:::-;7615:69;:211;;7739:81;7772:19;7790:1;7772:13;;;:19;:::i;:::-;7794:18;;;;;7739;:81::i;:::-;:87;;;7615:211;;;7703:17;7615:211;7599:227;;7919:6;7907:18;;6913:1343;;;8126:12;;;;;-1:-1:-1;8164:81:159;8197:19;:13;;;8215:1;8197:19;:::i;8164:81::-;8152:93;;6913:1343;8652:1;8629:13;:24;;8624:1;8609:10;;8599:21;;;;;;;:::i;:::-;;;;;;;;:26;;:54;8595:84;;8662:17;;;;;;;;;;;;;;8595:84;8750:9;8762:30;8780:11;8762:17;:30::i;:::-;8750:42;;9765:14;9825:21;:9;:15;;;4002:10:172;3878:150;9825:21:159;9782:39;;;;;:2;:7;;;;;:39;;9790:10;;;;9802:6;;;;9810:4;;9782:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9900:18;;;;9782:64;;;-1:-1:-1;9856:20:159;;9930:1;;9900:26;;:18;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;9900:26:159;9880:17;:9;:15;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;9880:17:159;:46;;;;:::i;:::-;9879:52;;;;:::i;:::-;:57;;;;-1:-1:-1;9950:28:159;;;;;9946:52;;9987:11;;;;;;;;;;;;;;9946:52;10092:18;;;;;:32;:18;:32;10088:60;;10133:15;;;;;;;;;;;;;;10088:60;-1:-1:-1;;10325:31:159;;;;10346:10;10325:31;;;;;;-1:-1:-1;;;;;;;;;;;5921:4442:159:o;15813:2011::-;16016:22;16006:6;;;;;;;:32;;;;;;;;:::i;:::-;;16002:64;;16047:19;;;;;;;;;;;;;;16002:64;16078:14;16094:20;16116:14;16132:20;16168:45;16200:12;16168:31;:45::i;:::-;16077:136;;;;;;;;16223:9;16235:66;16256:8;16266:11;16279:8;16289:11;16235:20;:66::i;:::-;16223:78;;16312:22;16337:2;:9;;;:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16312:36;;5133:4:190;16362:6:159;:39;16358:1460;;16454:20;;;;16475:6;16483:4;16495:14;3765::187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;17969:4:159;1632:22:187;1619:36;4002:10:172;3878:150;16495:14:159;16454:73;;;;;;;;;;;;;13125:25:350;;;;13166:18;;;13159:34;;;;13209:18;;;13202:34;16511:2:159;13252:18:350;;;13245:34;13295:19;;;13288:35;;;13097:19;;16454:73:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;16358:1460;;;5254:4:190;16548:6:159;:47;16544:1274;;16668:20;;;;16689:6;16697:4;16709:8;:14;3878:150:172;16544:1274:159;5375:4:190;16762:6:159;:47;16758:1060;;16881:20;;;;16902:6;16910:4;16922:8;:14;3878:150:172;16758:1060:159;5504:4:190;16975:6:159;:51;16971:847;;17306:16;17360:35;:22;;;17383:11;17360:22;:35::i;:::-;17325:32;;:70;;;;:::i;:::-;:74;;17398:1;17325:74;:::i;:::-;17306:93;-1:-1:-1;17414:20:159;;;;17435:6;17443:4;17414:83;;;;;;;;;;;;;13125:25:350;;;;13166:18;;;13159:34;17475:4:159;17463:16;;;13209:18:350;;;13202:34;17482:1:159;13252:18:350;;;13245:34;13295:19;;;13288:35;;;13097:19;;17414:83:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;17028:480;16971:847;;;5601:4:190;17518:6:159;:35;17514:304;;17664:86;;;;;;;;13125:25:350;;;13166:18;;;13159:34;;;17713:11:159;17728:4;17713:19;13209:18:350;;;13202:34;17735:1:159;13252:18:350;;;13245:34;13295:19;;;13288:35;;;17664:20:159;;;;;;13097:19:350;;17664:86:159;12857:472:350;17514:304:159;17788:19;;;;;;;;;;;;;;17514:304;15903:1921;;;;;;15813:2011;;;:::o;23853:213::-;18489:9;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;1619:36;23934:23:159;24048:11;:9;:11::i;:::-;24035:24;;23853:213;;;:::o;19495:3882::-;19667:22;19657:6;;;;;;;:32;;;;;;;;:::i;:::-;;19653:64;;19698:19;;;;;;;;;;;;;;19653:64;19728:24;19755:9;19765:11;19755:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;19905:12;;;;19755:22;;-1:-1:-1;19905:29:159;;:12;;;1135:4:172;1131:17;;;19905:23:159;913:251:172;19905:29:159;19999:12;;;;19876:58;;-1:-1:-1;19944:26:159;;19999:30;;:12;;;1624:28:172;;19999:24:159;1368:300:172;19999:30:159;19973:56;;19980:15;19973:56;:::i;:::-;19944:85;-1:-1:-1;20088:24:159;:13;20111:1;20088:24;;20043:41;19944:85;20043:19;:41;:::i;:::-;:69;;;20039:124;;20135:17;;;;;;;;;;;;;;20039:124;20173:34;20210:21;;;:8;:21;;;;;20271:23;;20361:16;;:41;;;;-1:-1:-1;20381:21:159;;;;20361:41;20357:101;;;20425:22;;;;;;;;;;;;;;20357:101;20620:24;;:44;;;;-1:-1:-1;20648:16:159;;;20620:44;20616:725;;;21153:18;;;;;;;21131:19;21205:25;;:57;;21251:11;21205:57;;;21233:15;;;;;;21205:57;21185:77;;21276:34;21292:9;21303:6;21276:15;:34::i;:::-;21324:7;;;;;;;19495:3882;:::o;20616:725::-;21409:17;21490;21409;21518:1132;21542:19;21538:1;:23;21518:1132;;;21582:22;21607:16;21624:1;21607:19;;;;;;;;:::i;:::-;;;;;;;;;;;;;21727:24;;;:8;:24;;;;;;;:31;21607:19;;-1:-1:-1;21727:36:159;21723:71;;21772:22;;;;;;;;;;;;;;21723:71;21809:23;21835:9;21845:14;21835:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;22450:17;;21835:25;;-1:-1:-1;22450:17:159;;;:31;:17;:31;:79;;;;-1:-1:-1;22509:14:159;;;;;;;;22485:19;;;:44;22450:79;22446:194;;;22561:14;;;;22611;;;;22561;;;;;-1:-1:-1;22611:14:159;;;-1:-1:-1;22446:194:159;21568:1082;;21563:3;;;;:::i;:::-;;;21518:1132;;;-1:-1:-1;22858:78:159;22874:23;;;;:53;;22918:9;22874:53;;;22900:15;;;;;;22874:53;22929:6;22858:15;:78::i;:::-;23108:30;;;;;;;;;;;;-1:-1:-1;23201:21:159;;;23108:18;23201:21;;;;;23194:28;;;:::i;:::-;23300:11;23315:1;23300:16;23296:75;;23332:21;:28;;;;23356:4;23332:28;;;19555:3822;;;;;;;19495:3882;:::o;2440:295:187:-;2522:16;2550:14;2567:37;2595:9;3765:14;3761:22;;;3748:36;3742:4;3738:47;3718:68;;2567:37;:::i;:::-;2550:54;;2630:6;2620:17;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2620:17:187;;2614:23;;2712:6;2704;2693:8;2688:3;2684:18;2671:48;2657:72;2440:295;;;;:::o;8236:187:171:-;8377:17;8374:32;8371:1;8367:40;;8236:187::o;33347:1977:159:-;34099:24;34140:20;:14;;;34159:1;34140:20;:::i;:::-;34099:62;;34171:26;34200:80;34227:15;34252:10;34273:4;34200:18;:80::i;:::-;34171:109;-1:-1:-1;34290:14:159;34313:19;;;34348:9;;:61;;-1:-1:-1;34394:15:159;34408:1;34394:11;:15;:::i;:::-;34361:17;;;;34389:1;;34361:25;;:17;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;34361:25:159;:29;;;;:::i;:::-;:48;;;34348:61;34344:974;;;34887:36;;;4686:1:190;34887:36:159;;:74;;-1:-1:-1;34927:34:159;;;4780:1:190;34927:34:159;34887:74;34881:154;;34989:31;;;;;;;;1018:25:350;;;991:18;;34989:31:159;846:203:350;34881:154:159;34344:974;;;35055:34;;;;35051:267;;35276:31;;;;;;;;1018:25:350;;;991:18;;35276:31:159;846:203:350;35051:267:159;33528:1796;;;33347:1977;;;;:::o;11843:3927:95:-;12373:34;12370:41;-1:-1:-1;12367:1:95;12363:49;12466:9;;;12446:18;12443:33;12440:1;12436:41;12430:48;12524:9;;;12512:10;12509:25;12506:1;12502:33;12496:40;12578:9;;;12570:6;12567:21;12564:1;12560:29;12554:36;12630:9;;;12624:4;12621:19;12618:1;12614:27;12608:34;11891:8;12739:9;;12729:135;;12781:10;12775:4;12768:24;12845:4;12839;12832:18;12729:135;13016:66;12962:34;12951:9;;;12947:50;12941:4;12937:61;12932:151;12925:159;13210:9;;;13205:3;13201:19;;;14173:31;14169:39;;14272:9;;13660:2;14264:18;;;14230:32;14226:57;14348:9;;14340:18;;14305:33;14301:58;14424:9;;14416:18;;14381:33;14377:58;14500:9;;14492:18;;14457:33;14453:58;14575:9;;14567:18;;14533:32;14529:57;14648:9;;14640:18;;14608:30;14604:55;13672:31;13668:59;;13664:67;;13656:76;;13606:32;13602:131;13598:139;;13590:148;;13540:32;13536:203;13532:211;;13524:220;;13430:349;;13809:9;;13801:18;;13797:57;;13884:9;;13876:18;;;13872:57;;13951:9;;;13947:55;;15131:10;15261:43;15257:51;15499:11;;;15426:71;15422:89;15418:97;15595:72;15591:80;15747:3;15743:11;;11843:3927::o;5293:468::-;5354:9;5574:16;5568:23;;5586:3;5559:33;5552:41;5545:49;;5535:173;;5627:10;5621:4;5614:24;5689:4;5683;5676:18;5535:173;-1:-1:-1;5737:3:95;5730:11;;;;5726:19;;5293:468::o;2809:424::-;2870:9;3063:1;3059;3055:6;3051:14;3048:1;3045:21;3042:1;3038:29;3035:145;;;3099:10;3093:4;3086:24;3161:4;3155;3148:18;3035:145;-1:-1:-1;3213:3:95;3202:9;;3198:19;;2809:424::o;8260:3448::-;8309:8;8504:21;8499:1;:26;8495:40;;8260:3448;;;:::o;8495:40::-;8841:21;8838:1;8834:29;8824:164;;8900:10;8894:4;8887:24;8965:4;8959;8952:18;8824:164;9280:7;9274:2;9269:7;;;9268:19;;-1:-1:-1;9551:8:95;9619:2;9575:29;9564:7;;;9563:41;9607:7;9563:51;9562:59;;9647:29;9643:33;;9639:37;;;10328:35;;;10383:5;;9959:2;10382:13;;;10399:32;10381:50;10451:5;;10450:13;;10449:51;;10520:5;;10519:13;;10536:34;10518:52;10590:5;;10589:13;;10588:53;;10661:5;;10660:13;;10677:35;10659:53;9965:32;9898:31;9894:35;;9949:5;;9948:13;;9947:50;;;10022:5;;;:40;;10082:5;10081:13;;;10098:35;10080:53;10151:5;;;10160:40;10151:50;11079:10;11607:49;11594:62;11669:3;:7;;;;11593:84;;;;;;-1:-1:-1;;8260:3448:95:o;7938:186::-;7997:6;8081:36;2458:4;8100:1;8089:8;8095:1;8089:5;:8::i;:::-;:12;;;;:::i;:::-;8088:28;;;;:::i;:::-;8081:6;:36::i;:::-;8074:43;;7938:186;;;;;:::o;2585:362:171:-;2650:20;2824:11;2838:16;2844:9;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;2838:16;2928:1;2824:30;;;;;2919:11;2904:27;;;;2585:362;-1:-1:-1;;2585:362:171:o;35844:677:159:-;35994:27;36093:25;36121:7;:71;;36154:38;:25;;;36180:11;36154:25;:38::i;:::-;36121:71;;;36131:20;:4;:18;;;:20::i;:::-;36093:99;;36360:9;36370:6;36360:17;;;;;;;;:::i;:::-;;;;;;;;;;;36348:29;;36387:128;36394:18;;;;36422:20;;;;36394:18;;:50;36387:128;;36482:21;;36472:9;:32;;:9;;36482:21;;;36472:32;;;;;;:::i;:::-;;;;;;;;;;;36460:44;;36387:128;;;36027:494;35844:677;;;;;:::o;40758:319::-;40829:10;40852:14;40868:20;40890:14;40906:20;40942:44;40974:11;40942:31;:44::i;:::-;40851:135;;;;;;;;41004:66;41025:8;41035:11;41048:8;41058:11;41004:20;:66::i;:::-;40996:74;40758:319;-1:-1:-1;;;;;;40758:319:159:o;37036:3468::-;37140:20;37162:21;37185:20;37207:21;37281:16;37300:6;37281:25;;37316:23;37342:9;37352:8;37342:19;;;;;;;;:::i;:::-;;;;;;;;;37484:14;37342:19;;;;;37484:14;;;;37342:19;;-1:-1:-1;37510:11:159;;37484:22;;:14;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;37484:22:159;:37;;;37480:67;;37530:17;;;;;;;;;;;;;;37480:67;37898:20;37962:5;37977:571;38000:14;;;;38026:11;;38000:22;;:14;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;38000:22:159;37985:37;;;;;37984:53;37977:571;;;38075:17;;;;38418:15;:11;38075:17;38418:15;:::i;:::-;38402:12;:31;38398:58;;38451:5;38435:21;;38398:58;38479:9;38489:11;38479:22;;;;;;;;:::i;:::-;;;;;;;;;;;38471:30;;38526:11;38515:22;;38039:509;37977:571;;;38861:22;;;;;38885:14;;;;38861:22;;;;;38885:14;38816:20;38885:14;38927:45;;:26;:20;:11;:18;;3943:1:171;3939:17;;3818:154;38927:20:159;:24;;4002:10:172;3878:150;38927:26:159;:45;;;38910:62;;39467:9;39463:1035;;;39806:1;39779:24;:9;:22;;;:24::i;:::-;:28;;;39775:349;;;39827:26;39856:70;39889:19;39907:1;39889:13;;;:19;:::i;:::-;39911:8;39921:4;39856:18;:70::i;:::-;39978:14;;;;39994:17;;;;;39978:14;;-1:-1:-1;39994:17:159;;;-1:-1:-1;39775:349:159;;-1:-1:-1;39775:349:159;;40079:18;:23;40051:58;;39775:349;40171:11;;;;40184:14;;;;40171:11;;-1:-1:-1;40184:14:159;;;-1:-1:-1;39463:1035:159;;;40230:26;40259:70;40292:19;:13;;;40310:1;40292:19;:::i;40259:70::-;40377:11;;;;;40390:14;;;;;40453;;;;40469:17;;;40377:11;;-1:-1:-1;40390:14:159;;;;;-1:-1:-1;40453:14:159;;-1:-1:-1;40469:17:159;;-1:-1:-1;;39463:1035:159;37234:3270;;;;;;;37036:3468;;;;;:::o;41444:655::-;41639:10;41857:16;;;:23;;41853:240;;41935:9;41946:12;41924:35;;;;;;;;15644:25:350;;;15717:34;15705:47;15700:2;15685:18;;15678:75;15632:2;15617:18;;15413:346;41924:35:159;;;;;;;;;;;;;41914:46;;;;;;41896:65;;41853:240;;;42020:60;;;;;;16109:25:350;;;16153:34;16223:15;;;16203:18;;;16196:43;;;;16255:18;;;16248:34;;;16318:15;;;16298:18;;;16291:43;16081:19;;42020:60:159;;;;;;;;;;;;42010:71;;;;;;41992:90;;41853:240;41444:655;;;;;;:::o;5154:336:171:-;5236:19;5267:11;5281:16;5287:9;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;5281:16;5267:30;;;;5362:3;5351:9;5347:19;5471:1;5460:9;5456:17;5451:1;5447;5436:9;5432:17;5428:25;5416:9;5405;5401:25;5398:56;5394:80;5379:95;;;5316:168;5154:336;;;;:::o;32655:473:159:-;32848:12;;;;;;32874:25;;;32870:60;;32908:22;;;;;;;;;;;;;;32870:60;32940:12;;;;:32;;;;2725:17;32940:32;;;33027:18;;;32940:12;33027:18;;;;;;;;;;;:26;;33049:4;;32940:12;33027:26;;33049:4;;33027:26;:::i;:::-;;;;-1:-1:-1;;33092:29:159;;;;;:11;8623:55:350;;;33092:29:159;;;8605:74:350;8695:18;;;8688:34;;;33092:4:159;:11;;;;8578:18:350;;33092:29:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7021:794:171;7170:18;7311:20;7290:17;:9;:15;;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;7290:17;:41;;;7286:71;;7340:17;;;;;;;;;;;;;;7286:71;7423:24;7437:9;7423:13;:24::i;:::-;7411:36;;7704:20;7683:17;:9;:15;;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;7683:17;:41;;;7679:130;;7752:46;7773:24;:20;7796:1;7773:24;:::i;:::-;7752:20;;;;;:46::i;5792:710::-;5858:18;6021:14;;6052:1;6037:17;;6017:38;5858:18;6156:10;6017:38;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;6156:10;6142:24;;6365:19;;;;6476:9;;6470:16;;5792:710;-1:-1:-1;;;5792:710:171:o;4393:313::-;4475:20;4507:11;4521:16;4527:9;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;4521:16;4507:30;;;;4602:3;4591:9;4587:19;4687:1;4683;4672:9;4668:17;4664:25;4652:9;4641;4637:25;4634:56;4619:71;;;4556:144;4393:313;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;251:184:350:-;303:77;300:1;293:88;400:4;397:1;390:15;424:4;421:1;414:15;440:401;588:2;573:18;;621:1;610:13;;600:201;;657:77;654:1;647:88;758:4;755:1;748:15;786:4;783:1;776:15;600:201;810:25;;;440:401;:::o;1054:275::-;1149:6;1157;1210:2;1198:9;1189:7;1185:23;1181:32;1178:52;;;1226:1;1223;1216:12;1178:52;-1:-1:-1;;1249:23:350;;;1319:2;1304:18;;;1291:32;;-1:-1:-1;1054:275:350:o;1839:531::-;1881:3;1919:5;1913:12;1946:6;1941:3;1934:19;1971:1;1981:162;1995:6;1992:1;1989:13;1981:162;;;2057:4;2113:13;;;2109:22;;2103:29;2085:11;;;2081:20;;2074:59;2010:12;1981:162;;;2161:6;2158:1;2155:13;2152:87;;;2227:1;2220:4;2211:6;2206:3;2202:16;2198:27;2191:38;2152:87;-1:-1:-1;2284:2:350;2272:15;2289:66;2268:88;2259:98;;;;2359:4;2255:109;;1839:531;-1:-1:-1;;1839:531:350:o;2375:220::-;2524:2;2513:9;2506:21;2487:4;2544:45;2585:2;2574:9;2570:18;2562:6;2544:45;:::i;3102:154::-;3188:42;3181:5;3177:54;3170:5;3167:65;3157:93;;3246:1;3243;3236:12;3261:247;3320:6;3373:2;3361:9;3352:7;3348:23;3344:32;3341:52;;;3389:1;3386;3379:12;3341:52;3428:9;3415:23;3447:31;3472:5;3447:31;:::i;:::-;3497:5;3261:247;-1:-1:-1;;;3261:247:350:o;3513:160::-;3578:20;;3634:13;;3627:21;3617:32;;3607:60;;3663:1;3660;3653:12;3607:60;3513:160;;;:::o;3678:343::-;3779:6;3787;3795;3848:2;3836:9;3827:7;3823:23;3819:32;3816:52;;;3864:1;3861;3854:12;3816:52;3900:9;3887:23;3877:33;;3957:2;3946:9;3942:18;3929:32;3919:42;;3980:35;4011:2;4000:9;3996:18;3980:35;:::i;:::-;3970:45;;3678:343;;;;;:::o;4645:331::-;4734:6;4787:2;4775:9;4766:7;4762:23;4758:32;4755:52;;;4803:1;4800;4793:12;4755:52;4842:9;4829:23;4892:34;4885:5;4881:46;4874:5;4871:57;4861:85;;4942:1;4939;4932:12;4981:180;5040:6;5093:2;5081:9;5072:7;5068:23;5064:32;5061:52;;;5109:1;5106;5099:12;5061:52;-1:-1:-1;5132:23:350;;4981:180;-1:-1:-1;4981:180:350:o;6036:347::-;6087:8;6097:6;6151:3;6144:4;6136:6;6132:17;6128:27;6118:55;;6169:1;6166;6159:12;6118:55;-1:-1:-1;6192:20:350;;6235:18;6224:30;;6221:50;;;6267:1;6264;6257:12;6221:50;6304:4;6296:6;6292:17;6280:29;;6356:3;6349:4;6340:6;6332;6328:19;6324:30;6321:39;6318:59;;;6373:1;6370;6363:12;6318:59;6036:347;;;;;:::o;6388:854::-;6493:6;6501;6509;6517;6525;6533;6586:3;6574:9;6565:7;6561:23;6557:33;6554:53;;;6603:1;6600;6593:12;6554:53;6639:9;6626:23;6616:33;;6668:35;6699:2;6688:9;6684:18;6668:35;:::i;:::-;6658:45;;6754:2;6743:9;6739:18;6726:32;6777:18;6818:2;6810:6;6807:14;6804:34;;;6834:1;6831;6824:12;6804:34;6873:58;6923:7;6914:6;6903:9;6899:22;6873:58;:::i;:::-;6950:8;;-1:-1:-1;6847:84:350;-1:-1:-1;7038:2:350;7023:18;;7010:32;;-1:-1:-1;7054:16:350;;;7051:36;;;7083:1;7080;7073:12;7051:36;;7122:60;7174:7;7163:8;7152:9;7148:24;7122:60;:::i;:::-;6388:854;;;;-1:-1:-1;6388:854:350;;-1:-1:-1;6388:854:350;;7201:8;;6388:854;-1:-1:-1;;;6388:854:350:o;7483:316::-;7560:6;7568;7576;7629:2;7617:9;7608:7;7604:23;7600:32;7597:52;;;7645:1;7642;7635:12;7597:52;-1:-1:-1;;7668:23:350;;;7738:2;7723:18;;7710:32;;-1:-1:-1;7789:2:350;7774:18;;;7761:32;;7483:316;-1:-1:-1;7483:316:350:o;7804:433::-;8075:10;8067:6;8063:23;8052:9;8045:42;8123:6;8118:2;8107:9;8103:18;8096:34;8166:2;8161;8150:9;8146:18;8139:30;8026:4;8186:45;8227:2;8216:9;8212:18;8204:6;8186:45;:::i;:::-;8178:53;7804:433;-1:-1:-1;;;;;7804:433:350:o;8242:184::-;8294:77;8291:1;8284:88;8391:4;8388:1;8381:15;8415:4;8412:1;8405:15;8943:184;8995:77;8992:1;8985:88;9092:4;9089:1;9082:15;9116:4;9113:1;9106:15;9132:128;9172:3;9203:1;9199:6;9196:1;9193:13;9190:39;;;9209:18;;:::i;:::-;-1:-1:-1;9245:9:350;;9132:128::o;9265:125::-;9305:4;9333:1;9330;9327:8;9324:34;;;9338:18;;:::i;:::-;-1:-1:-1;9375:9:350;;9265:125::o;9395:271::-;9500:6;9508;9561:2;9549:9;9540:7;9536:23;9532:32;9529:52;;;9577:1;9574;9567:12;9529:52;-1:-1:-1;;9600:16:350;;9656:2;9641:18;;;9635:25;9600:16;;9635:25;;-1:-1:-1;9395:271:350:o;9671:184::-;9723:77;9720:1;9713:88;9820:4;9817:1;9810:15;9844:4;9841:1;9834:15;9860:120;9900:1;9926;9916:35;;9931:18;;:::i;:::-;-1:-1:-1;9965:9:350;;9860:120::o;9985:228::-;10025:7;10151:1;10083:66;10079:74;10076:1;10073:81;10068:1;10061:9;10054:17;10050:105;10047:131;;;10158:18;;:::i;:::-;-1:-1:-1;10198:9:350;;9985:228::o;10218:112::-;10250:1;10276;10266:35;;10281:18;;:::i;:::-;-1:-1:-1;10315:9:350;;10218:112::o;10335:246::-;10375:4;10404:34;10488:10;;;;10458;;10510:12;;;10507:38;;;10525:18;;:::i;:::-;10562:13;;10335:246;-1:-1:-1;;;10335:246:350:o;10586:253::-;10626:3;10654:34;10715:2;10712:1;10708:10;10745:2;10742:1;10738:10;10776:3;10772:2;10768:12;10763:3;10760:21;10757:47;;;10784:18;;:::i;:::-;10820:13;;10586:253;-1:-1:-1;;;;10586:253:350:o;10844:271::-;11027:6;11019;11014:3;11001:33;10983:3;11053:16;;11078:13;;;11053:16;10844:271;-1:-1:-1;10844:271:350:o;11120:325::-;11208:6;11203:3;11196:19;11260:6;11253:5;11246:4;11241:3;11237:14;11224:43;;11312:1;11305:4;11296:6;11291:3;11287:16;11283:27;11276:38;11178:3;11434:4;11364:66;11359:2;11351:6;11347:15;11343:88;11338:3;11334:98;11330:109;11323:116;;11120:325;;;;:::o;11450:502::-;11691:2;11680:9;11673:21;11654:4;11717:61;11774:2;11763:9;11759:18;11751:6;11743;11717:61;:::i;:::-;11826:9;11818:6;11814:22;11809:2;11798:9;11794:18;11787:50;11854:49;11896:6;11888;11880;11854:49;:::i;:::-;11846:57;;;11939:6;11934:2;11923:9;11919:18;11912:34;11450:502;;;;;;;;:::o;11957:184::-;12027:6;12080:2;12068:9;12059:7;12055:23;12051:32;12048:52;;;12096:1;12093;12086:12;12048:52;-1:-1:-1;12119:16:350;;11957:184;-1:-1:-1;11957:184:350:o;12146:229::-;12185:4;12214:18;12282:10;;;;12252;;12304:12;;;12301:38;;;12319:18;;:::i;12380:191::-;12411:1;12437:18;12482:2;12479:1;12475:10;12504:3;12494:37;;12511:18;;:::i;:::-;12549:10;;12545:20;;;;;12380:191;-1:-1:-1;;12380:191:350:o;12576:276::-;12671:6;12724:2;12712:9;12703:7;12699:23;12695:32;12692:52;;;12740:1;12737;12730:12;12692:52;12772:9;12766:16;12791:31;12816:5;12791:31;:::i;13810:236::-;13849:3;13877:18;13922:2;13919:1;13915:10;13952:2;13949:1;13945:10;13983:3;13979:2;13975:12;13970:3;13967:21;13964:47;;;13991:18;;:::i;14051:195::-;14090:3;14121:66;14114:5;14111:77;14108:103;;14191:18;;:::i;:::-;-1:-1:-1;14238:1:350;14227:13;;14051:195::o;14251:184::-;14303:77;14300:1;14293:88;14400:4;14397:1;14390:15;14424:4;14421:1;14414:15;14440:655;14479:7;14511:66;14603:1;14600;14596:9;14631:1;14628;14624:9;14676:1;14672:2;14668:10;14665:1;14662:17;14657:2;14653;14649:11;14645:35;14642:61;;;14683:18;;:::i;:::-;14722:66;14814:1;14811;14807:9;14861:1;14857:2;14852:11;14849:1;14845:19;14840:2;14836;14832:11;14828:37;14825:63;;;14868:18;;:::i;:::-;14914:1;14911;14907:9;14897:19;;14961:1;14957:2;14952:11;14949:1;14945:19;14940:2;14936;14932:11;14928:37;14925:63;;;14968:18;;:::i;:::-;15033:1;15029:2;15024:11;15021:1;15017:19;15012:2;15008;15004:11;15000:37;14997:63;;;15040:18;;:::i;:::-;-1:-1:-1;;;15080:9:350;;;;;14440:655;-1:-1:-1;;;14440:655:350:o;15100:308::-;15139:1;15165;15155:35;;15170:18;;:::i;:::-;15287:66;15284:1;15281:73;15212:66;15209:1;15206:73;15202:153;15199:179;;;15358:18;;:::i;:::-;-1:-1:-1;15392:10:350;;15100:308::o",linkReferences:{},immutableReferences:{"94380":[{start:1235,length:32},{start:7864,length:32}],"94383":[{start:1932,length:32},{start:3697,length:32},{start:6751,length:32},{start:6885,length:32},{start:7408,length:32},{start:7714,length:32}],"94386":[{start:1813,length:32},{start:3589,length:32},{start:3790,length:32},{start:7681,length:32},{start:9473,length:32},{start:11378,length:32},{start:13231,length:32},{start:13533,length:32},{start:13797,length:32},{start:14017,length:32}],"94390":[{start:1762,length:32},{start:4119,length:32},{start:10289,length:32}],"94394":[{start:716,length:32},{start:8102,length:32},{start:8962,length:32}],"94398":[{start:1294,length:32},{start:5365,length:32},{start:9939,length:32}],"94402":[{start:800,length:32},{start:2836,length:32},{start:5100,length:32},{start:6381,length:32},{start:15193,length:32}],"94406":[{start:2495,length:32},{start:5430,length:32}],"94409":[{start:1679,length:32},{start:9785,length:32}]}},methodIdentifiers:{"absolutePrestate()":"8d450a95","addLocalData(uint256,uint256,uint256)":"f8f43ff6","attack(uint256,bytes32)":"c55cd0c7","claimCredit(address)":"60e27464","claimData(uint256)":"c6f0308c","claimDataLen()":"8980e0cc","createdAt()":"cf09e0d0","credit(address)":"d5d44d80","defend(uint256,bytes32)":"35fef567","extraData()":"609d3334","gameData()":"fa24f743","gameDuration()":"e1f0c376","gameType()":"bbdc02db","getRequiredBond(uint128)":"c395e1ca","initialize()":"8129fc1c","l1Head()":"6361506d","l2BlockNumber()":"8b85902b","l2ChainId()":"d6ae3cd5","maxGameDepth()":"fa315aa9","move(uint256,bytes32,bool)":"632247ea","resolve()":"2810e1d6","resolveClaim(uint256)":"fdffbb28","resolvedAt()":"19effeb4","rootClaim()":"bcef3b55","splitDepth()":"ec5e6308","startingBlockNumber()":"70872aa5","startingOutputRoot()":"57da950e","startingRootHash()":"25fc2ace","status()":"200d2ed2","step(uint256,bool,bytes,bytes)":"d8cc1a3c","version()":"54fd4d50","vm()":"3a768463","weth()":"3fc8cef3"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_absolutePrestate","type":"bytes32"},{"internalType":"uint256","name":"_maxGameDepth","type":"uint256"},{"internalType":"uint256","name":"_splitDepth","type":"uint256"},{"internalType":"Duration","name":"_gameDuration","type":"uint64"},{"internalType":"contract IBigStepper","name":"_vm","type":"address"},{"internalType":"contract IDelayedWETH","name":"_weth","type":"address"},{"internalType":"contract IAnchorStateRegistry","name":"_anchorStateRegistry","type":"address"},{"internalType":"uint256","name":"_l2ChainId","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyInitialized","type":"error"},{"inputs":[],"name":"AnchorRootNotFound","type":"error"},{"inputs":[],"name":"BondTransferFailed","type":"error"},{"inputs":[],"name":"CannotDefendRootClaim","type":"error"},{"inputs":[],"name":"ClaimAboveSplit","type":"error"},{"inputs":[],"name":"ClaimAlreadyExists","type":"error"},{"inputs":[],"name":"ClaimAlreadyResolved","type":"error"},{"inputs":[],"name":"ClockNotExpired","type":"error"},{"inputs":[],"name":"ClockTimeExceeded","type":"error"},{"inputs":[],"name":"DuplicateStep","type":"error"},{"inputs":[],"name":"GameDepthExceeded","type":"error"},{"inputs":[],"name":"GameNotInProgress","type":"error"},{"inputs":[],"name":"IncorrectBondAmount","type":"error"},{"inputs":[],"name":"InvalidLocalIdent","type":"error"},{"inputs":[],"name":"InvalidParent","type":"error"},{"inputs":[],"name":"InvalidPrestate","type":"error"},{"inputs":[],"name":"InvalidSplitDepth","type":"error"},{"inputs":[],"name":"NoCreditToClaim","type":"error"},{"inputs":[],"name":"OutOfOrderResolution","type":"error"},{"inputs":[{"internalType":"Claim","name":"rootClaim","type":"bytes32"}],"name":"UnexpectedRootClaim","type":"error"},{"inputs":[],"name":"ValidStep","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"parentIndex","type":"uint256"},{"indexed":true,"internalType":"Claim","name":"claim","type":"bytes32"},{"indexed":true,"internalType":"address","name":"claimant","type":"address"}],"name":"Move","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum GameStatus","name":"status","type":"uint8"}],"name":"Resolved","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"absolutePrestate","outputs":[{"internalType":"Claim","name":"absolutePrestate_","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ident","type":"uint256"},{"internalType":"uint256","name":"_execLeafIdx","type":"uint256"},{"internalType":"uint256","name":"_partOffset","type":"uint256"}],"name":"addLocalData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_parentIndex","type":"uint256"},{"internalType":"Claim","name":"_claim","type":"bytes32"}],"name":"attack","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"claimCredit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimData","outputs":[{"internalType":"uint32","name":"parentIndex","type":"uint32"},{"internalType":"address","name":"counteredBy","type":"address"},{"internalType":"address","name":"claimant","type":"address"},{"internalType":"uint128","name":"bond","type":"uint128"},{"internalType":"Claim","name":"claim","type":"bytes32"},{"internalType":"Position","name":"position","type":"uint128"},{"internalType":"Clock","name":"clock","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimDataLen","outputs":[{"internalType":"uint256","name":"len_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createdAt","outputs":[{"internalType":"Timestamp","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"credit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_parentIndex","type":"uint256"},{"internalType":"Claim","name":"_claim","type":"bytes32"}],"name":"defend","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"extraData","outputs":[{"internalType":"bytes","name":"extraData_","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"gameData","outputs":[{"internalType":"GameType","name":"gameType_","type":"uint32"},{"internalType":"Claim","name":"rootClaim_","type":"bytes32"},{"internalType":"bytes","name":"extraData_","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameDuration","outputs":[{"internalType":"Duration","name":"gameDuration_","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameType","outputs":[{"internalType":"GameType","name":"gameType_","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"Position","name":"_position","type":"uint128"}],"name":"getRequiredBond","outputs":[{"internalType":"uint256","name":"requiredBond_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"l1Head","outputs":[{"internalType":"Hash","name":"l1Head_","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"l2BlockNumber","outputs":[{"internalType":"uint256","name":"l2BlockNumber_","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"l2ChainId","outputs":[{"internalType":"uint256","name":"l2ChainId_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxGameDepth","outputs":[{"internalType":"uint256","name":"maxGameDepth_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_challengeIndex","type":"uint256"},{"internalType":"Claim","name":"_claim","type":"bytes32"},{"internalType":"bool","name":"_isAttack","type":"bool"}],"name":"move","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"resolve","outputs":[{"internalType":"enum GameStatus","name":"status_","type":"uint8"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimIndex","type":"uint256"}],"name":"resolveClaim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"resolvedAt","outputs":[{"internalType":"Timestamp","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rootClaim","outputs":[{"internalType":"Claim","name":"rootClaim_","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"splitDepth","outputs":[{"internalType":"uint256","name":"splitDepth_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingBlockNumber","outputs":[{"internalType":"uint256","name":"startingBlockNumber_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingOutputRoot","outputs":[{"internalType":"Hash","name":"root","type":"bytes32"},{"internalType":"uint256","name":"l2BlockNumber","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingRootHash","outputs":[{"internalType":"Hash","name":"startingRootHash_","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"enum GameStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimIndex","type":"uint256"},{"internalType":"bool","name":"_isAttack","type":"bool"},{"internalType":"bytes","name":"_stateData","type":"bytes"},{"internalType":"bytes","name":"_proof","type":"bytes"}],"name":"step","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vm","outputs":[{"internalType":"contract IBigStepper","name":"vm_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"contract IDelayedWETH","name":"weth_","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"errors":{"UnexpectedRootClaim(bytes32)":[{"params":{"rootClaim":"is the claim that was unexpected."}}]},"kind":"dev","methods":{"addLocalData(uint256,uint256,uint256)":{"params":{"_execLeafIdx":"The index of the leaf claim in an execution subgame that requires the local data for a step.","_ident":"The local identifier of the data to post.","_partOffset":"The offset of the data to post."}},"attack(uint256,bytes32)":{"params":{"_claim":"The `Claim` at the relative attack position.","_parentIndex":"Index of the `Claim` to attack in the `claimData` array."}},"claimCredit(address)":{"params":{"_recipient":"The owner and recipient of the credit."}},"constructor":{"params":{"_absolutePrestate":"The absolute prestate of the instruction trace.","_anchorStateRegistry":"The contract that stores the anchor state for each game type.","_gameDuration":"The duration of the game.","_gameType":"The type ID of the game.","_l2ChainId":"Chain ID of the L2 network this contract argues about.","_maxGameDepth":"The maximum depth of bisection.","_splitDepth":"The final depth of the output bisection portion of the game.","_vm":"An onchain VM that performs single instruction steps on an FPP trace.","_weth":"WETH contract for holding ETH."}},"defend(uint256,bytes32)":{"params":{"_claim":"The `Claim` at the relative defense position.","_parentIndex":"Index of the claim to defend in the `claimData` array."}},"extraData()":{"details":"`clones-with-immutable-args` argument #2","returns":{"extraData_":"Any extra data supplied to the dispute game contract by the creator."}},"gameData()":{"returns":{"extraData_":"Any extra data supplied to the dispute game contract by the creator.","gameType_":"The type of proof system being used.","rootClaim_":"The root claim of the DisputeGame."}},"gameType()":{"details":"The reference impl should be entirely different depending on the type (fault, validity) i.e. The game type should indicate the security model.","returns":{"gameType_":"The type of proof system being used."}},"getRequiredBond(uint128)":{"params":{"_position":"The position of the bonded interaction."},"returns":{"requiredBond_":"The required ETH bond for the given move, in wei."}},"initialize()":{"details":"This function may only be called once."},"move(uint256,bytes32,bool)":{"params":{"_challengeIndex":"The index of the claim being moved against.","_claim":"The claim at the next logical position in the game.","_isAttack":"Whether or not the move is an attack or defense."}},"resolve()":{"details":"May only be called if the `status` is `IN_PROGRESS`.","returns":{"status_":"The status of the game after resolution."}},"resolveClaim(uint256)":{"details":"This function must be called bottom-up in the DAG A subgame is a tree of claims that has a maximum depth of 1. A subgame root claims is valid if, and only if, all of its child claims are invalid. At the deepest level in the DAG, a claim is invalid if there\'s a successful step against it.","params":{"_claimIndex":"The index of the subgame root claim to resolve."}},"rootClaim()":{"details":"`clones-with-immutable-args` argument #1","returns":{"rootClaim_":"The root claim of the DisputeGame."}},"step(uint256,bool,bytes,bytes)":{"details":"This function should point to a fault proof processor in order to execute a step in the fault proof program on-chain. The interface of the fault proof processor contract should adhere to the `IBigStepper` interface.","params":{"_claimIndex":"The index of the challenged claim within `claimData`.","_isAttack":"Whether or not the step is an attack or a defense.","_proof":"Proof to access memory nodes in the VM\'s merkle state tree.","_stateData":"The stateData of the step is the preimage of the claim at the given prestate, which is at `_stateIndex` if the move is an attack and `_claimIndex` if the move is a defense. If the step is an attack on the first instruction, it is the absolute prestate of the fault proof VM."}}},"stateVariables":{"status":{"return":"The current status of the game.","returns":{"_0":"The current status of the game."}},"version":{"custom:semver":"0.9.0"}},"title":"FaultDisputeGame","version":1},"userdoc":{"errors":{"AlreadyInitialized()":[{"notice":"Thrown when a dispute game has already been initialized."}],"AnchorRootNotFound()":[{"notice":"Thrown when an anchor root is not found for a given game type."}],"BondTransferFailed()":[{"notice":"Thrown when the transfer of credit to a recipient account reverts."}],"CannotDefendRootClaim()":[{"notice":"Thrown when a defense against the root claim is attempted."}],"ClaimAboveSplit()":[{"notice":"Thrown when a parent output root is attempted to be found on a claim that is in the output root portion of the tree."}],"ClaimAlreadyExists()":[{"notice":"Thrown when a claim is attempting to be made that already exists."}],"ClaimAlreadyResolved()":[{"notice":"Thrown when resolving a claim that has already been resolved."}],"ClockNotExpired()":[{"notice":"Thrown when the game is attempted to be resolved too early."}],"ClockTimeExceeded()":[{"notice":"Thrown when a move is attempted to be made after the clock has timed out."}],"DuplicateStep()":[{"notice":"Thrown when trying to step against a claim for a second time, after it has already been countered with an instruction step."}],"GameDepthExceeded()":[{"notice":"Thrown when a move is attempted to be made at or greater than the max depth of the game."}],"GameNotInProgress()":[{"notice":"Thrown when an action that requires the game to be `IN_PROGRESS` is invoked when the game is not in progress."}],"IncorrectBondAmount()":[{"notice":"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"InvalidLocalIdent()":[{"notice":"Thrown when an invalid local identifier is passed to the `addLocalData` function."}],"InvalidParent()":[{"notice":"Thrown when a step is attempted above the maximum game depth."}],"InvalidPrestate()":[{"notice":"Thrown when an invalid prestate is supplied to `step`."}],"InvalidSplitDepth()":[{"notice":"Thrown on deployment if the split depth is greater than or equal to the max depth of the game."}],"NoCreditToClaim()":[{"notice":"Thrown when a credit claim is attempted for a value of 0."}],"OutOfOrderResolution()":[{"notice":"Thrown when resolving claims out of order."}],"UnexpectedRootClaim(bytes32)":[{"notice":"Thrown when the root claim has an unexpected VM status. Some games can only start with a root-claim with a specific status."}],"ValidStep()":[{"notice":"Thrown when a step is made that computes the expected post state correctly."}]},"events":{"Move(uint256,bytes32,address)":{"notice":"Emitted when a new claim is added to the DAG by `claimant`"},"Resolved(uint8)":{"notice":"Emitted when the game is resolved."}},"kind":"user","methods":{"absolutePrestate()":{"notice":"Returns the absolute prestate of the instruction trace."},"addLocalData(uint256,uint256,uint256)":{"notice":"Posts the requested local data to the VM\'s `PreimageOralce`."},"attack(uint256,bytes32)":{"notice":"Attack a disagreed upon `Claim`."},"claimCredit(address)":{"notice":"Claim the credit belonging to the recipient address."},"claimData(uint256)":{"notice":"An append-only array of all claims made during the dispute game."},"claimDataLen()":{"notice":"Returns the length of the `claimData` array."},"createdAt()":{"notice":"The starting timestamp of the game"},"credit(address)":{"notice":"Credited balances for winning participants."},"defend(uint256,bytes32)":{"notice":"Defend an agreed upon `Claim`."},"extraData()":{"notice":"Getter for the extra data."},"gameData()":{"notice":"A compliant implementation of this interface should return the components of the game UUID\'s preimage provided in the cwia payload. The preimage of the UUID is constructed as `keccak256(gameType . rootClaim . extraData)` where `.` denotes concatenation."},"gameDuration()":{"notice":"Returns the game duration."},"gameType()":{"notice":"Getter for the game type."},"getRequiredBond(uint128)":{"notice":"Returns the required bond for a given move kind."},"initialize()":{"notice":"Initializes the contract."},"l1Head()":{"notice":"A block hash on the L1 that contains the disputed output root."},"l2BlockNumber()":{"notice":"The l2BlockNumber of the disputed output root in the `L2OutputOracle`."},"l2ChainId()":{"notice":"Returns the chain ID of the L2 network this contract argues about."},"maxGameDepth()":{"notice":"Returns the max game depth."},"move(uint256,bytes32,bool)":{"notice":"Generic move function, used for both `attack` and `defend` moves."},"resolve()":{"notice":"If all necessary information has been gathered, this function should mark the game status as either `CHALLENGER_WINS` or `DEFENDER_WINS` and return the status of the resolved game. It is at this stage that the bonds should be awarded to the necessary parties."},"resolveClaim(uint256)":{"notice":"Resolves the subgame rooted at the given claim index."},"resolvedAt()":{"notice":"The timestamp of the game\'s global resolution."},"rootClaim()":{"notice":"Getter for the root claim."},"splitDepth()":{"notice":"Returns the split depth."},"startingBlockNumber()":{"notice":"Only the starting block number of the game."},"startingOutputRoot()":{"notice":"The latest finalized output root, serving as the anchor for output bisection."},"startingRootHash()":{"notice":"Only the starting output root of the game."},"status()":{"notice":"Returns the current status of the game."},"step(uint256,bool,bytes,bytes)":{"notice":"Perform an instruction step via an on-chain fault proof processor."},"version()":{"notice":"Semantic version."},"vm()":{"notice":"Returns the address of the VM."},"weth()":{"notice":"Returns the WETH contract for holding ETH."}},"notice":"An implementation of the `IFaultDisputeGame` interface.","version":1}},"settings":{"compilationTarget":{"src/dispute/FaultDisputeGame.sol":"FaultDisputeGame"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/solady/src/utils/FixedPointMathLib.sol":{"keccak256":"0x1fbad6f61bd3e5875e6b0060b67626cb1ccb9542c0da368a44eb3870c9a9e160","license":"MIT","urls":["bzz-raw://5189fcd5ecff0f449475cf3183e9d6b509cd1221555aba6cd76c70b097cc8260","dweb:/ipfs/Qmbt34Kf5h2DeYzmqXtg3jprYxDCFdENtf41NgCdcARA7u"]},"src/cannon/interfaces/IPreimageOracle.sol":{"keccak256":"0x7bda0156571b468cf0e22321945655f2dacd7082f440f742aa4612b36b388a9f","license":"MIT","urls":["bzz-raw://5ba53777c65987bc20faa7731476c779e7794a58bafb40191a25275a05e3f8af","dweb:/ipfs/QmbxQwE2BC9aabTruDqkd2CLojwq7G9i2rkWKv46Wucae1"]},"src/dispute/FaultDisputeGame.sol":{"keccak256":"0x095d22e683f20a4e5a0541968a9bd98e70a4db81d2adfbde5d9918b45501d55c","license":"MIT","urls":["bzz-raw://c60431da74c7e4e51be69ece49a0b92afd483c9020c2e7c726ad179e785199f9","dweb:/ipfs/QmSExbitxvKi6miC7o4UFZD6ssV2LGr7jJxWPY3jg3rvwX"]},"src/dispute/interfaces/IAnchorStateRegistry.sol":{"keccak256":"0x5fd05f2482d149668897e54f92d556a0c3512aa35b51ba800ef15d18dd490cb3","license":"MIT","urls":["bzz-raw://689d621bc5c43a41d5232980f0eceecd7a3d8aa99438dfd9fed5f73d5ecd2887","dweb:/ipfs/QmQ5jw54TkdxLuLFti6JZown54rGQ3m3Q93pvnVU1j1HRj"]},"src/dispute/interfaces/IBigStepper.sol":{"keccak256":"0xc92ee3069677b903826c83d5b4e46e3be462f9ccf1d95e72a12b1052e3451f0a","license":"MIT","urls":["bzz-raw://f93692bd3c8d9533ab8024ce2df6d880328826d1a92fdb9cf45301e2d0c65884","dweb:/ipfs/QmUcmbjTw9gnCUNasgmQjVbSgcCPKZ1FQyA31dH4k5Nc75"]},"src/dispute/interfaces/IDelayedWETH.sol":{"keccak256":"0x0bb035e9bbb411696841ea292eeed6d4463c3c3eee7d6c5d8e38a101e8a4ff04","license":"MIT","urls":["bzz-raw://0477cf2c137392d35081f23bfd7f3565881767dcb1489a62e7e80b3c178cfce8","dweb:/ipfs/QmTjALjrHg5rvhjfCKPmXLTgkMNneECWaqoarunSoVS37G"]},"src/dispute/interfaces/IDisputeGame.sol":{"keccak256":"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6","license":"MIT","urls":["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"]},"src/dispute/interfaces/IDisputeGameFactory.sol":{"keccak256":"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda","license":"MIT","urls":["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"]},"src/dispute/interfaces/IFaultDisputeGame.sol":{"keccak256":"0x57257f3fcdf56a3ec906fc7dba4b4c914330bd7f0d5cabea77a99692c410dad7","license":"MIT","urls":["bzz-raw://9308a4d42e0556e0f48985b1fee7ab71b1ece11bb347c220cd787012e4a6aff3","dweb:/ipfs/QmUYrMcwTpqMtVqFhfebkAJ3dSJNBXix5fFn2KNZRQBfK7"]},"src/dispute/interfaces/IInitializable.sol":{"keccak256":"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc","license":"MIT","urls":["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"]},"src/dispute/interfaces/IWETH.sol":{"keccak256":"0x681482892d7283baeb0c55178ff0654db694ada095972b7447cff1d4bbe2d557","license":"MIT","urls":["bzz-raw://a02b310db3ed444a77451ed0951366e0a44be8c4d3b214eacc61e07e0262855c","dweb:/ipfs/QmaQfom7LazaxFzYmhQv6NeR5pGHQV4qBn5fNjx2GrEjKu"]},"src/dispute/lib/LibGameId.sol":{"keccak256":"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6","license":"MIT","urls":["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"]},"src/dispute/lib/LibHashing.sol":{"keccak256":"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b","license":"MIT","urls":["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"]},"src/dispute/lib/LibPosition.sol":{"keccak256":"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504","license":"MIT","urls":["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"]},"src/dispute/lib/LibUDT.sol":{"keccak256":"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c","license":"MIT","urls":["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"]},"src/libraries/Clone.sol":{"keccak256":"0x5893eb0f0cb5ab0ed0db1ba47ce78de2362610864368a71963615334f3f5a829","license":"BSD","urls":["bzz-raw://6bda119dc186663e7f67bcadb72263b4af023b2e1bff5aff559e86ceed339d1a","dweb:/ipfs/QmdqZyX8GMptLderaZW8cEeoKy5doNhW6jkTX2SySn1a8e"]},"src/libraries/DisputeErrors.sol":{"keccak256":"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f","license":"MIT","urls":["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"]},"src/libraries/DisputeTypes.sol":{"keccak256":"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6","license":"MIT","urls":["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_absolutePrestate",type:"bytes32"},{internalType:"uint256",name:"_maxGameDepth",type:"uint256"},{internalType:"uint256",name:"_splitDepth",type:"uint256"},{internalType:"Duration",name:"_gameDuration",type:"uint64"},{internalType:"contract IBigStepper",name:"_vm",type:"address"},{internalType:"contract IDelayedWETH",name:"_weth",type:"address"},{internalType:"contract IAnchorStateRegistry",name:"_anchorStateRegistry",type:"address"},{internalType:"uint256",name:"_l2ChainId",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],type:"error",name:"AlreadyInitialized"},{inputs:[],type:"error",name:"AnchorRootNotFound"},{inputs:[],type:"error",name:"BondTransferFailed"},{inputs:[],type:"error",name:"CannotDefendRootClaim"},{inputs:[],type:"error",name:"ClaimAboveSplit"},{inputs:[],type:"error",name:"ClaimAlreadyExists"},{inputs:[],type:"error",name:"ClaimAlreadyResolved"},{inputs:[],type:"error",name:"ClockNotExpired"},{inputs:[],type:"error",name:"ClockTimeExceeded"},{inputs:[],type:"error",name:"DuplicateStep"},{inputs:[],type:"error",name:"GameDepthExceeded"},{inputs:[],type:"error",name:"GameNotInProgress"},{inputs:[],type:"error",name:"IncorrectBondAmount"},{inputs:[],type:"error",name:"InvalidLocalIdent"},{inputs:[],type:"error",name:"InvalidParent"},{inputs:[],type:"error",name:"InvalidPrestate"},{inputs:[],type:"error",name:"InvalidSplitDepth"},{inputs:[],type:"error",name:"NoCreditToClaim"},{inputs:[],type:"error",name:"OutOfOrderResolution"},{inputs:[{internalType:"Claim",name:"rootClaim",type:"bytes32"}],type:"error",name:"UnexpectedRootClaim"},{inputs:[],type:"error",name:"ValidStep"},{inputs:[{internalType:"uint256",name:"parentIndex",type:"uint256",indexed:!0},{internalType:"Claim",name:"claim",type:"bytes32",indexed:!0},{internalType:"address",name:"claimant",type:"address",indexed:!0}],type:"event",name:"Move",anonymous:!1},{inputs:[{internalType:"enum GameStatus",name:"status",type:"uint8",indexed:!0}],type:"event",name:"Resolved",anonymous:!1},{inputs:[],stateMutability:"payable",type:"fallback"},{inputs:[],stateMutability:"view",type:"function",name:"absolutePrestate",outputs:[{internalType:"Claim",name:"absolutePrestate_",type:"bytes32"}]},{inputs:[{internalType:"uint256",name:"_ident",type:"uint256"},{internalType:"uint256",name:"_execLeafIdx",type:"uint256"},{internalType:"uint256",name:"_partOffset",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"addLocalData"},{inputs:[{internalType:"uint256",name:"_parentIndex",type:"uint256"},{internalType:"Claim",name:"_claim",type:"bytes32"}],stateMutability:"payable",type:"function",name:"attack"},{inputs:[{internalType:"address",name:"_recipient",type:"address"}],stateMutability:"nonpayable",type:"function",name:"claimCredit"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function",name:"claimData",outputs:[{internalType:"uint32",name:"parentIndex",type:"uint32"},{internalType:"address",name:"counteredBy",type:"address"},{internalType:"address",name:"claimant",type:"address"},{internalType:"uint128",name:"bond",type:"uint128"},{internalType:"Claim",name:"claim",type:"bytes32"},{internalType:"Position",name:"position",type:"uint128"},{internalType:"Clock",name:"clock",type:"uint128"}]},{inputs:[],stateMutability:"view",type:"function",name:"claimDataLen",outputs:[{internalType:"uint256",name:"len_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"createdAt",outputs:[{internalType:"Timestamp",name:"",type:"uint64"}]},{inputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"credit",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_parentIndex",type:"uint256"},{internalType:"Claim",name:"_claim",type:"bytes32"}],stateMutability:"payable",type:"function",name:"defend"},{inputs:[],stateMutability:"pure",type:"function",name:"extraData",outputs:[{internalType:"bytes",name:"extraData_",type:"bytes"}]},{inputs:[],stateMutability:"view",type:"function",name:"gameData",outputs:[{internalType:"GameType",name:"gameType_",type:"uint32"},{internalType:"Claim",name:"rootClaim_",type:"bytes32"},{internalType:"bytes",name:"extraData_",type:"bytes"}]},{inputs:[],stateMutability:"view",type:"function",name:"gameDuration",outputs:[{internalType:"Duration",name:"gameDuration_",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"gameType",outputs:[{internalType:"GameType",name:"gameType_",type:"uint32"}]},{inputs:[{internalType:"Position",name:"_position",type:"uint128"}],stateMutability:"view",type:"function",name:"getRequiredBond",outputs:[{internalType:"uint256",name:"requiredBond_",type:"uint256"}]},{inputs:[],stateMutability:"payable",type:"function",name:"initialize"},{inputs:[],stateMutability:"pure",type:"function",name:"l1Head",outputs:[{internalType:"Hash",name:"l1Head_",type:"bytes32"}]},{inputs:[],stateMutability:"pure",type:"function",name:"l2BlockNumber",outputs:[{internalType:"uint256",name:"l2BlockNumber_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2ChainId",outputs:[{internalType:"uint256",name:"l2ChainId_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"maxGameDepth",outputs:[{internalType:"uint256",name:"maxGameDepth_",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_challengeIndex",type:"uint256"},{internalType:"Claim",name:"_claim",type:"bytes32"},{internalType:"bool",name:"_isAttack",type:"bool"}],stateMutability:"payable",type:"function",name:"move"},{inputs:[],stateMutability:"nonpayable",type:"function",name:"resolve",outputs:[{internalType:"enum GameStatus",name:"status_",type:"uint8"}]},{inputs:[{internalType:"uint256",name:"_claimIndex",type:"uint256"}],stateMutability:"payable",type:"function",name:"resolveClaim"},{inputs:[],stateMutability:"view",type:"function",name:"resolvedAt",outputs:[{internalType:"Timestamp",name:"",type:"uint64"}]},{inputs:[],stateMutability:"pure",type:"function",name:"rootClaim",outputs:[{internalType:"Claim",name:"rootClaim_",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"splitDepth",outputs:[{internalType:"uint256",name:"splitDepth_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingBlockNumber",outputs:[{internalType:"uint256",name:"startingBlockNumber_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingOutputRoot",outputs:[{internalType:"Hash",name:"root",type:"bytes32"},{internalType:"uint256",name:"l2BlockNumber",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingRootHash",outputs:[{internalType:"Hash",name:"startingRootHash_",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"status",outputs:[{internalType:"enum GameStatus",name:"",type:"uint8"}]},{inputs:[{internalType:"uint256",name:"_claimIndex",type:"uint256"},{internalType:"bool",name:"_isAttack",type:"bool"},{internalType:"bytes",name:"_stateData",type:"bytes"},{internalType:"bytes",name:"_proof",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"step"},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"vm",outputs:[{internalType:"contract IBigStepper",name:"vm_",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"weth",outputs:[{internalType:"contract IDelayedWETH",name:"weth_",type:"address"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"addLocalData(uint256,uint256,uint256)":{params:{_execLeafIdx:"The index of the leaf claim in an execution subgame that requires the local data for a step.",_ident:"The local identifier of the data to post.",_partOffset:"The offset of the data to post."}},"attack(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative attack position.",_parentIndex:"Index of the `Claim` to attack in the `claimData` array."}},"claimCredit(address)":{params:{_recipient:"The owner and recipient of the credit."}},constructor:{params:{_absolutePrestate:"The absolute prestate of the instruction trace.",_anchorStateRegistry:"The contract that stores the anchor state for each game type.",_gameDuration:"The duration of the game.",_gameType:"The type ID of the game.",_l2ChainId:"Chain ID of the L2 network this contract argues about.",_maxGameDepth:"The maximum depth of bisection.",_splitDepth:"The final depth of the output bisection portion of the game.",_vm:"An onchain VM that performs single instruction steps on an FPP trace.",_weth:"WETH contract for holding ETH."}},"defend(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative defense position.",_parentIndex:"Index of the claim to defend in the `claimData` array."}},"extraData()":{details:"`clones-with-immutable-args` argument #2",returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator."}},"gameData()":{returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator.",gameType_:"The type of proof system being used.",rootClaim_:"The root claim of the DisputeGame."}},"gameType()":{details:"The reference impl should be entirely different depending on the type (fault, validity) i.e. The game type should indicate the security model.",returns:{gameType_:"The type of proof system being used."}},"getRequiredBond(uint128)":{params:{_position:"The position of the bonded interaction."},returns:{requiredBond_:"The required ETH bond for the given move, in wei."}},"initialize()":{details:"This function may only be called once."},"move(uint256,bytes32,bool)":{params:{_challengeIndex:"The index of the claim being moved against.",_claim:"The claim at the next logical position in the game.",_isAttack:"Whether or not the move is an attack or defense."}},"resolve()":{details:"May only be called if the `status` is `IN_PROGRESS`.",returns:{status_:"The status of the game after resolution."}},"resolveClaim(uint256)":{details:"This function must be called bottom-up in the DAG A subgame is a tree of claims that has a maximum depth of 1. A subgame root claims is valid if, and only if, all of its child claims are invalid. At the deepest level in the DAG, a claim is invalid if there's a successful step against it.",params:{_claimIndex:"The index of the subgame root claim to resolve."}},"rootClaim()":{details:"`clones-with-immutable-args` argument #1",returns:{rootClaim_:"The root claim of the DisputeGame."}},"step(uint256,bool,bytes,bytes)":{details:"This function should point to a fault proof processor in order to execute a step in the fault proof program on-chain. The interface of the fault proof processor contract should adhere to the `IBigStepper` interface.",params:{_claimIndex:"The index of the challenged claim within `claimData`.",_isAttack:"Whether or not the step is an attack or a defense.",_proof:"Proof to access memory nodes in the VM's merkle state tree.",_stateData:"The stateData of the step is the preimage of the claim at the given prestate, which is at `_stateIndex` if the move is an attack and `_claimIndex` if the move is a defense. If the step is an attack on the first instruction, it is the absolute prestate of the fault proof VM."}}},version:1},userdoc:{kind:"user",methods:{"absolutePrestate()":{notice:"Returns the absolute prestate of the instruction trace."},"addLocalData(uint256,uint256,uint256)":{notice:"Posts the requested local data to the VM's `PreimageOralce`."},"attack(uint256,bytes32)":{notice:"Attack a disagreed upon `Claim`."},"claimCredit(address)":{notice:"Claim the credit belonging to the recipient address."},"claimData(uint256)":{notice:"An append-only array of all claims made during the dispute game."},"claimDataLen()":{notice:"Returns the length of the `claimData` array."},"createdAt()":{notice:"The starting timestamp of the game"},"credit(address)":{notice:"Credited balances for winning participants."},"defend(uint256,bytes32)":{notice:"Defend an agreed upon `Claim`."},"extraData()":{notice:"Getter for the extra data."},"gameData()":{notice:"A compliant implementation of this interface should return the components of the game UUID's preimage provided in the cwia payload. The preimage of the UUID is constructed as `keccak256(gameType . rootClaim . extraData)` where `.` denotes concatenation."},"gameDuration()":{notice:"Returns the game duration."},"gameType()":{notice:"Getter for the game type."},"getRequiredBond(uint128)":{notice:"Returns the required bond for a given move kind."},"initialize()":{notice:"Initializes the contract."},"l1Head()":{notice:"A block hash on the L1 that contains the disputed output root."},"l2BlockNumber()":{notice:"The l2BlockNumber of the disputed output root in the `L2OutputOracle`."},"l2ChainId()":{notice:"Returns the chain ID of the L2 network this contract argues about."},"maxGameDepth()":{notice:"Returns the max game depth."},"move(uint256,bytes32,bool)":{notice:"Generic move function, used for both `attack` and `defend` moves."},"resolve()":{notice:"If all necessary information has been gathered, this function should mark the game status as either `CHALLENGER_WINS` or `DEFENDER_WINS` and return the status of the resolved game. It is at this stage that the bonds should be awarded to the necessary parties."},"resolveClaim(uint256)":{notice:"Resolves the subgame rooted at the given claim index."},"resolvedAt()":{notice:"The timestamp of the game's global resolution."},"rootClaim()":{notice:"Getter for the root claim."},"splitDepth()":{notice:"Returns the split depth."},"startingBlockNumber()":{notice:"Only the starting block number of the game."},"startingOutputRoot()":{notice:"The latest finalized output root, serving as the anchor for output bisection."},"startingRootHash()":{notice:"Only the starting output root of the game."},"status()":{notice:"Returns the current status of the game."},"step(uint256,bool,bytes,bytes)":{notice:"Perform an instruction step via an on-chain fault proof processor."},"version()":{notice:"Semantic version."},"vm()":{notice:"Returns the address of the VM."},"weth()":{notice:"Returns the WETH contract for holding ETH."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/dispute/FaultDisputeGame.sol":"FaultDisputeGame"},evmVersion:"london",libraries:{}},sources:{"lib/solady/src/utils/FixedPointMathLib.sol":{keccak256:"0x1fbad6f61bd3e5875e6b0060b67626cb1ccb9542c0da368a44eb3870c9a9e160",urls:["bzz-raw://5189fcd5ecff0f449475cf3183e9d6b509cd1221555aba6cd76c70b097cc8260","dweb:/ipfs/Qmbt34Kf5h2DeYzmqXtg3jprYxDCFdENtf41NgCdcARA7u"],license:"MIT"},"src/cannon/interfaces/IPreimageOracle.sol":{keccak256:"0x7bda0156571b468cf0e22321945655f2dacd7082f440f742aa4612b36b388a9f",urls:["bzz-raw://5ba53777c65987bc20faa7731476c779e7794a58bafb40191a25275a05e3f8af","dweb:/ipfs/QmbxQwE2BC9aabTruDqkd2CLojwq7G9i2rkWKv46Wucae1"],license:"MIT"},"src/dispute/FaultDisputeGame.sol":{keccak256:"0x095d22e683f20a4e5a0541968a9bd98e70a4db81d2adfbde5d9918b45501d55c",urls:["bzz-raw://c60431da74c7e4e51be69ece49a0b92afd483c9020c2e7c726ad179e785199f9","dweb:/ipfs/QmSExbitxvKi6miC7o4UFZD6ssV2LGr7jJxWPY3jg3rvwX"],license:"MIT"},"src/dispute/interfaces/IAnchorStateRegistry.sol":{keccak256:"0x5fd05f2482d149668897e54f92d556a0c3512aa35b51ba800ef15d18dd490cb3",urls:["bzz-raw://689d621bc5c43a41d5232980f0eceecd7a3d8aa99438dfd9fed5f73d5ecd2887","dweb:/ipfs/QmQ5jw54TkdxLuLFti6JZown54rGQ3m3Q93pvnVU1j1HRj"],license:"MIT"},"src/dispute/interfaces/IBigStepper.sol":{keccak256:"0xc92ee3069677b903826c83d5b4e46e3be462f9ccf1d95e72a12b1052e3451f0a",urls:["bzz-raw://f93692bd3c8d9533ab8024ce2df6d880328826d1a92fdb9cf45301e2d0c65884","dweb:/ipfs/QmUcmbjTw9gnCUNasgmQjVbSgcCPKZ1FQyA31dH4k5Nc75"],license:"MIT"},"src/dispute/interfaces/IDelayedWETH.sol":{keccak256:"0x0bb035e9bbb411696841ea292eeed6d4463c3c3eee7d6c5d8e38a101e8a4ff04",urls:["bzz-raw://0477cf2c137392d35081f23bfd7f3565881767dcb1489a62e7e80b3c178cfce8","dweb:/ipfs/QmTjALjrHg5rvhjfCKPmXLTgkMNneECWaqoarunSoVS37G"],license:"MIT"},"src/dispute/interfaces/IDisputeGame.sol":{keccak256:"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6",urls:["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"],license:"MIT"},"src/dispute/interfaces/IDisputeGameFactory.sol":{keccak256:"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda",urls:["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"],license:"MIT"},"src/dispute/interfaces/IFaultDisputeGame.sol":{keccak256:"0x57257f3fcdf56a3ec906fc7dba4b4c914330bd7f0d5cabea77a99692c410dad7",urls:["bzz-raw://9308a4d42e0556e0f48985b1fee7ab71b1ece11bb347c220cd787012e4a6aff3","dweb:/ipfs/QmUYrMcwTpqMtVqFhfebkAJ3dSJNBXix5fFn2KNZRQBfK7"],license:"MIT"},"src/dispute/interfaces/IInitializable.sol":{keccak256:"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc",urls:["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"],license:"MIT"},"src/dispute/interfaces/IWETH.sol":{keccak256:"0x681482892d7283baeb0c55178ff0654db694ada095972b7447cff1d4bbe2d557",urls:["bzz-raw://a02b310db3ed444a77451ed0951366e0a44be8c4d3b214eacc61e07e0262855c","dweb:/ipfs/QmaQfom7LazaxFzYmhQv6NeR5pGHQV4qBn5fNjx2GrEjKu"],license:"MIT"},"src/dispute/lib/LibGameId.sol":{keccak256:"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6",urls:["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"],license:"MIT"},"src/dispute/lib/LibHashing.sol":{keccak256:"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b",urls:["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"],license:"MIT"},"src/dispute/lib/LibPosition.sol":{keccak256:"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504",urls:["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"],license:"MIT"},"src/dispute/lib/LibUDT.sol":{keccak256:"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c",urls:["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"],license:"MIT"},"src/libraries/Clone.sol":{keccak256:"0x5893eb0f0cb5ab0ed0db1ba47ce78de2362610864368a71963615334f3f5a829",urls:["bzz-raw://6bda119dc186663e7f67bcadb72263b4af023b2e1bff5aff559e86ceed339d1a","dweb:/ipfs/QmdqZyX8GMptLderaZW8cEeoKy5doNhW6jkTX2SySn1a8e"],license:"BSD"},"src/libraries/DisputeErrors.sol":{keccak256:"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f",urls:["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"],license:"MIT"},"src/libraries/DisputeTypes.sol":{keccak256:"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6",urls:["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:94429,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"createdAt",offset:0,slot:"0",type:"t_userDefinedValueType(Timestamp)99908"},{astId:94433,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"resolvedAt",offset:8,slot:"0",type:"t_userDefinedValueType(Timestamp)99908"},{astId:94437,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"status",offset:16,slot:"0",type:"t_enum(GameStatus)99924"},{astId:94442,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claimData",offset:0,slot:"1",type:"t_array(t_struct(ClaimData)97051_storage)dyn_storage"},{astId:94447,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"credit",offset:0,slot:"2",type:"t_mapping(t_address,t_uint256)"},{astId:94453,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claims",offset:0,slot:"3",type:"t_mapping(t_userDefinedValueType(ClaimHash)99904,t_bool)"},{astId:94459,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"subgames",offset:0,slot:"4",type:"t_mapping(t_uint256,t_array(t_uint256)dyn_storage)"},{astId:94462,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"subgameAtRootResolved",offset:0,slot:"5",type:"t_bool"},{astId:94465,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"initialized",offset:1,slot:"5",type:"t_bool"},{astId:94469,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"startingOutputRoot",offset:0,slot:"6",type:"t_struct(OutputRoot)99930_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_struct(ClaimData)97051_storage)dyn_storage":{encoding:"dynamic_array",label:"struct IFaultDisputeGame.ClaimData[]",numberOfBytes:"32",base:"t_struct(ClaimData)97051_storage"},"t_array(t_uint256)dyn_storage":{encoding:"dynamic_array",label:"uint256[]",numberOfBytes:"32",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},"t_enum(GameStatus)99924":{encoding:"inplace",label:"enum GameStatus",numberOfBytes:"1"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},"t_mapping(t_uint256,t_array(t_uint256)dyn_storage)":{encoding:"mapping",key:"t_uint256",label:"mapping(uint256 => uint256[])",numberOfBytes:"32",value:"t_array(t_uint256)dyn_storage"},"t_mapping(t_userDefinedValueType(ClaimHash)99904,t_bool)":{encoding:"mapping",key:"t_userDefinedValueType(ClaimHash)99904",label:"mapping(ClaimHash => bool)",numberOfBytes:"32",value:"t_bool"},"t_struct(ClaimData)97051_storage":{encoding:"inplace",label:"struct IFaultDisputeGame.ClaimData",numberOfBytes:"160",members:[{astId:97035,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"parentIndex",offset:0,slot:"0",type:"t_uint32"},{astId:97037,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"counteredBy",offset:4,slot:"0",type:"t_address"},{astId:97039,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claimant",offset:0,slot:"1",type:"t_address"},{astId:97041,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"bond",offset:0,slot:"2",type:"t_uint128"},{astId:97044,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claim",offset:0,slot:"3",type:"t_userDefinedValueType(Claim)99902"},{astId:97047,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"position",offset:0,slot:"4",type:"t_userDefinedValueType(Position)99916"},{astId:97050,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"clock",offset:16,slot:"4",type:"t_userDefinedValueType(Clock)99914"}]},"t_struct(OutputRoot)99930_storage":{encoding:"inplace",label:"struct OutputRoot",numberOfBytes:"64",members:[{astId:99927,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"root",offset:0,slot:"0",type:"t_userDefinedValueType(Hash)99900"},{astId:99929,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"l2BlockNumber",offset:0,slot:"1",type:"t_uint256"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint32:{encoding:"inplace",label:"uint32",numberOfBytes:"4"},"t_userDefinedValueType(Claim)99902":{encoding:"inplace",label:"Claim",numberOfBytes:"32"},"t_userDefinedValueType(ClaimHash)99904":{encoding:"inplace",label:"ClaimHash",numberOfBytes:"32"},"t_userDefinedValueType(Clock)99914":{encoding:"inplace",label:"Clock",numberOfBytes:"16"},"t_userDefinedValueType(Hash)99900":{encoding:"inplace",label:"Hash",numberOfBytes:"32"},"t_userDefinedValueType(Position)99916":{encoding:"inplace",label:"Position",numberOfBytes:"16"},"t_userDefinedValueType(Timestamp)99908":{encoding:"inplace",label:"Timestamp",numberOfBytes:"8"}}},userdoc:{version:1,kind:"user",methods:{"absolutePrestate()":{notice:"Returns the absolute prestate of the instruction trace."},"addLocalData(uint256,uint256,uint256)":{notice:"Posts the requested local data to the VM's `PreimageOralce`."},"attack(uint256,bytes32)":{notice:"Attack a disagreed upon `Claim`."},"claimCredit(address)":{notice:"Claim the credit belonging to the recipient address."},"claimData(uint256)":{notice:"An append-only array of all claims made during the dispute game."},"claimDataLen()":{notice:"Returns the length of the `claimData` array."},"createdAt()":{notice:"The starting timestamp of the game"},"credit(address)":{notice:"Credited balances for winning participants."},"defend(uint256,bytes32)":{notice:"Defend an agreed upon `Claim`."},"extraData()":{notice:"Getter for the extra data."},"gameData()":{notice:"A compliant implementation of this interface should return the components of the game UUID's preimage provided in the cwia payload. The preimage of the UUID is constructed as `keccak256(gameType . rootClaim . extraData)` where `.` denotes concatenation."},"gameDuration()":{notice:"Returns the game duration."},"gameType()":{notice:"Getter for the game type."},"getRequiredBond(uint128)":{notice:"Returns the required bond for a given move kind."},"initialize()":{notice:"Initializes the contract."},"l1Head()":{notice:"A block hash on the L1 that contains the disputed output root."},"l2BlockNumber()":{notice:"The l2BlockNumber of the disputed output root in the `L2OutputOracle`."},"l2ChainId()":{notice:"Returns the chain ID of the L2 network this contract argues about."},"maxGameDepth()":{notice:"Returns the max game depth."},"move(uint256,bytes32,bool)":{notice:"Generic move function, used for both `attack` and `defend` moves."},"resolve()":{notice:"If all necessary information has been gathered, this function should mark the game status as either `CHALLENGER_WINS` or `DEFENDER_WINS` and return the status of the resolved game. It is at this stage that the bonds should be awarded to the necessary parties."},"resolveClaim(uint256)":{notice:"Resolves the subgame rooted at the given claim index."},"resolvedAt()":{notice:"The timestamp of the game's global resolution."},"rootClaim()":{notice:"Getter for the root claim."},"splitDepth()":{notice:"Returns the split depth."},"startingBlockNumber()":{notice:"Only the starting block number of the game."},"startingOutputRoot()":{notice:"The latest finalized output root, serving as the anchor for output bisection."},"startingRootHash()":{notice:"Only the starting output root of the game."},"status()":{notice:"Returns the current status of the game."},"step(uint256,bool,bytes,bytes)":{notice:"Perform an instruction step via an on-chain fault proof processor."},"version()":{notice:"Semantic version."},"vm()":{notice:"Returns the address of the VM."},"weth()":{notice:"Returns the WETH contract for holding ETH."}},events:{"Move(uint256,bytes32,address)":{notice:"Emitted when a new claim is added to the DAG by `claimant`"},"Resolved(uint8)":{notice:"Emitted when the game is resolved."}},errors:{"AlreadyInitialized()":[{notice:"Thrown when a dispute game has already been initialized."}],"AnchorRootNotFound()":[{notice:"Thrown when an anchor root is not found for a given game type."}],"BondTransferFailed()":[{notice:"Thrown when the transfer of credit to a recipient account reverts."}],"CannotDefendRootClaim()":[{notice:"Thrown when a defense against the root claim is attempted."}],"ClaimAboveSplit()":[{notice:"Thrown when a parent output root is attempted to be found on a claim that is in the output root portion of the tree."}],"ClaimAlreadyExists()":[{notice:"Thrown when a claim is attempting to be made that already exists."}],"ClaimAlreadyResolved()":[{notice:"Thrown when resolving a claim that has already been resolved."}],"ClockNotExpired()":[{notice:"Thrown when the game is attempted to be resolved too early."}],"ClockTimeExceeded()":[{notice:"Thrown when a move is attempted to be made after the clock has timed out."}],"DuplicateStep()":[{notice:"Thrown when trying to step against a claim for a second time, after it has already been countered with an instruction step."}],"GameDepthExceeded()":[{notice:"Thrown when a move is attempted to be made at or greater than the max depth of the game."}],"GameNotInProgress()":[{notice:"Thrown when an action that requires the game to be `IN_PROGRESS` is invoked when the game is not in progress."}],"IncorrectBondAmount()":[{notice:"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"InvalidLocalIdent()":[{notice:"Thrown when an invalid local identifier is passed to the `addLocalData` function."}],"InvalidParent()":[{notice:"Thrown when a step is attempted above the maximum game depth."}],"InvalidPrestate()":[{notice:"Thrown when an invalid prestate is supplied to `step`."}],"InvalidSplitDepth()":[{notice:"Thrown on deployment if the split depth is greater than or equal to the max depth of the game."}],"NoCreditToClaim()":[{notice:"Thrown when a credit claim is attempted for a value of 0."}],"OutOfOrderResolution()":[{notice:"Thrown when resolving claims out of order."}],"UnexpectedRootClaim(bytes32)":[{notice:"Thrown when the root claim has an unexpected VM status. Some games can only start with a root-claim with a specific status."}],"ValidStep()":[{notice:"Thrown when a step is made that computes the expected post state correctly."}]},notice:"An implementation of the `IFaultDisputeGame` interface."},devdoc:{version:1,kind:"dev",methods:{"addLocalData(uint256,uint256,uint256)":{params:{_execLeafIdx:"The index of the leaf claim in an execution subgame that requires the local data for a step.",_ident:"The local identifier of the data to post.",_partOffset:"The offset of the data to post."}},"attack(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative attack position.",_parentIndex:"Index of the `Claim` to attack in the `claimData` array."}},"claimCredit(address)":{params:{_recipient:"The owner and recipient of the credit."}},constructor:{params:{_absolutePrestate:"The absolute prestate of the instruction trace.",_anchorStateRegistry:"The contract that stores the anchor state for each game type.",_gameDuration:"The duration of the game.",_gameType:"The type ID of the game.",_l2ChainId:"Chain ID of the L2 network this contract argues about.",_maxGameDepth:"The maximum depth of bisection.",_splitDepth:"The final depth of the output bisection portion of the game.",_vm:"An onchain VM that performs single instruction steps on an FPP trace.",_weth:"WETH contract for holding ETH."}},"defend(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative defense position.",_parentIndex:"Index of the claim to defend in the `claimData` array."}},"extraData()":{details:"`clones-with-immutable-args` argument #2",returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator."}},"gameData()":{returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator.",gameType_:"The type of proof system being used.",rootClaim_:"The root claim of the DisputeGame."}},"gameType()":{details:"The reference impl should be entirely different depending on the type (fault, validity) i.e. The game type should indicate the security model.",returns:{gameType_:"The type of proof system being used."}},"getRequiredBond(uint128)":{params:{_position:"The position of the bonded interaction."},returns:{requiredBond_:"The required ETH bond for the given move, in wei."}},"initialize()":{details:"This function may only be called once."},"move(uint256,bytes32,bool)":{params:{_challengeIndex:"The index of the claim being moved against.",_claim:"The claim at the next logical position in the game.",_isAttack:"Whether or not the move is an attack or defense."}},"resolve()":{details:"May only be called if the `status` is `IN_PROGRESS`.",returns:{status_:"The status of the game after resolution."}},"resolveClaim(uint256)":{details:"This function must be called bottom-up in the DAG A subgame is a tree of claims that has a maximum depth of 1. A subgame root claims is valid if, and only if, all of its child claims are invalid. At the deepest level in the DAG, a claim is invalid if there's a successful step against it.",params:{_claimIndex:"The index of the subgame root claim to resolve."}},"rootClaim()":{details:"`clones-with-immutable-args` argument #1",returns:{rootClaim_:"The root claim of the DisputeGame."}},"step(uint256,bool,bytes,bytes)":{details:"This function should point to a fault proof processor in order to execute a step in the fault proof program on-chain. The interface of the fault proof processor contract should adhere to the `IBigStepper` interface.",params:{_claimIndex:"The index of the challenged claim within `claimData`.",_isAttack:"Whether or not the step is an attack or a defense.",_proof:"Proof to access memory nodes in the VM's merkle state tree.",_stateData:"The stateData of the step is the preimage of the claim at the given prestate, which is at `_stateIndex` if the move is an attack and `_claimIndex` if the move is a defense. If the step is an attack on the first instruction, it is the absolute prestate of the fault proof VM."}}},errors:{"UnexpectedRootClaim(bytes32)":[{params:{rootClaim:"is the claim that was unexpected."}}]},title:"FaultDisputeGame"},id:159}});var $Ke=D(YKe=>{"use strict";u();p();Object.defineProperty(YKe,"__esModule",{value:!0})});var t1e=D(ei=>{"use strict";u();p();Object.defineProperty(ei,"__esModule",{value:!0});ei.bytes32ify=ei.hexStringEquals=ei.encodeHex=ei.padHexString=ei.toRpcHexString=ei.toHexString=ei.fromHexString=ei.add0x=ei.remove0x=void 0;var e1e=ia(),Zoe=Vt(),jHt=t=>t===void 0?t:t.startsWith("0x")?t.slice(2):t;ei.remove0x=jHt;var GHt=t=>t===void 0||t.startsWith("0x")?t:"0x"+t;ei.add0x=GHt;var KHt=t=>typeof t=="string"&&t.startsWith("0x")?_.Buffer.from(t.slice(2),"hex"):_.Buffer.from(t);ei.fromHexString=KHt;var QHt=t=>typeof t=="number"?e1e.BigNumber.from(t).toHexString():"0x"+(0,ei.fromHexString)(t).toString("hex");ei.toHexString=QHt;var VHt=t=>{let e;return typeof t=="number"?e="0x"+t.toString(16):e=t.toHexString(),e==="0x0"?e:e.replace(/^0x0/,"0x")};ei.toRpcHexString=VHt;var YHt=(t,e)=>t.length===2+e*2?t:"0x"+t.slice(2).padStart(e*2,"0");ei.padHexString=YHt;var $Ht=(t,e)=>(0,ei.remove0x)(e1e.BigNumber.from(t).toHexString()).padStart(e,"0");ei.encodeHex=$Ht;var JHt=(t,e)=>{if(!(0,Zoe.isHexString)(t))throw new Error(`input is not a hex string: ${t}`);if(!(0,Zoe.isHexString)(e))throw new Error(`input is not a hex string: ${e}`);return t.toLowerCase()===e.toLowerCase()};ei.hexStringEquals=JHt;var XHt=t=>(0,Zoe.hexZeroPad)(e1e.BigNumber.from(t).toHexString(),32);ei.bytes32ify=XHt});var ZKe=D(ZW=>{"use strict";u();p();Object.defineProperty(ZW,"__esModule",{value:!0});ZW.bnToAddress=void 0;var JKe=ia(),ZHt=Bo(),XKe=t1e(),ezt=t=>{t=JKe.BigNumber.from(t),t.isNegative()&&(t=JKe.BigNumber.from("0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF").add(t).add(1));let e=t.toHexString();return e=(0,XKe.remove0x)(e),e=e.padStart(40,"0"),e=e.slice(e.length-40,e.length),e=(0,XKe.add0x)(e),e=(0,ZHt.getAddress)(e),e};ZW.bnToAddress=ezt});var n1e=D(Y5=>{"use strict";u();p();Object.defineProperty(Y5,"__esModule",{value:!0});Y5.compareAddrs=Y5.getenv=Y5.reqenv=Y5.clone=Y5.sleep=void 0;var tzt=async t=>new Promise(e=>{setTimeout(()=>{e(null)},t)});Y5.sleep=tzt;var nzt=t=>{if(typeof t>"u")throw new Error("Trying to clone undefined object");return Object.assign({},t)};Y5.clone=nzt;var azt=t=>{let e=E.env[t];if(e===void 0)throw new Error(`missing env var ${t}`);return e};Y5.reqenv=azt;var rzt=(t,e)=>E.env[t]||e;Y5.getenv=rzt;var fzt=(t,e)=>t.toLowerCase()===e.toLowerCase();Y5.compareAddrs=fzt});var a1e=D((v6a,tQe)=>{u();p();function eQe(){var t=[].slice.call(arguments);function e(n,a){Object.keys(a).forEach(function(r){~t.indexOf(r)||(n[r]=a[r])})}return function(){for(var a=[].slice.call(arguments),r=0,f={};r{"use strict";u();p();function aQe(t,e){return typeof t>"u"||t===null?!1:e in Object(t)}function rQe(t){var e=t.replace(/([^\\])\[/g,"$1.["),n=e.match(/(\\\.|[^.]+?)+/g);return n.map(function(r){if(r==="constructor"||r==="__proto__"||r==="prototype")return{};var f=/^\[(\d+)\]$/,i=f.exec(r),s=null;return i?s={i:parseFloat(i[1])}:s={p:r.replace(/\\([.[\]])/g,"$1")},s})}function nQe(t,e,n){var a=t,r=null;n=typeof n>"u"?e.length:n;for(var f=0;f"u"?a=a[i.i]:a=a[i.p],f===n-1&&(r=a))}return r}function izt(t,e,n){for(var a=t,r=n.length,f=null,i=0;i"u"?f.i:f.p,a[s]=e;else if(typeof f.p<"u"&&a[f.p])a=a[f.p];else if(typeof f.i<"u"&&a[f.i])a=a[f.i];else{var c=n[i+1];s=typeof f.p>"u"?f.i:f.p,o=typeof c.p>"u"?[]:{},a[s]=o,a=a[s]}}}function fQe(t,e){var n=rQe(e),a=n[n.length-1],r={parent:n.length>1?nQe(t,n,n.length-1):t,name:a.p||a.i,value:nQe(t,n)};return r.exists=aQe(r.parent,r.name),r}function szt(t,e){var n=fQe(t,e);return n.value}function ozt(t,e,n){var a=rQe(e);return izt(t,n,a),t}iQe.exports={hasProperty:aQe,getPathInfo:fQe,getPathValue:szt,setPathValue:ozt}});var $5=D((A6a,oQe)=>{u();p();oQe.exports=function(e,n,a){var r=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)r[n]=a;else return r[n]}});var dQe=D((k6a,cQe)=>{u();p();var czt=$5();cQe.exports=function(e,n){var a=czt(e,"negate"),r=n[0];return a?!r:r}});var tR=D((r1e,f1e)=>{u();p();(function(t,e){typeof r1e=="object"&&typeof f1e<"u"?f1e.exports=e():typeof define=="function"&&define.amd?define(e):t.typeDetect=e()})(r1e,function(){"use strict";var t=typeof Promise=="function",e=typeof self=="object"?self:global,n=typeof Symbol<"u",a=typeof Map<"u",r=typeof Set<"u",f=typeof WeakMap<"u",i=typeof WeakSet<"u",s=typeof DataView<"u",o=n&&typeof Symbol.iterator<"u",c=n&&typeof Symbol.toStringTag<"u",d=r&&typeof Set.prototype.entries=="function",l=a&&typeof Map.prototype.entries=="function",h=d&&Object.getPrototypeOf(new Set().entries()),y=l&&Object.getPrototypeOf(new Map().entries()),v=o&&typeof Array.prototype[Symbol.iterator]=="function",k=v&&Object.getPrototypeOf([][Symbol.iterator]()),O=o&&typeof String.prototype[Symbol.iterator]=="function",F=O&&Object.getPrototypeOf(""[Symbol.iterator]()),z=8,W=-1;function j(Q){var V=typeof Q;if(V!=="object")return V;if(Q===null)return"null";if(Q===e)return"global";if(Array.isArray(Q)&&(c===!1||!(Symbol.toStringTag in Q)))return"Array";if(typeof window=="object"&&window!==null){if(typeof window.location=="object"&&Q===window.location)return"Location";if(typeof window.document=="object"&&Q===window.document)return"Document";if(typeof window.navigator=="object"){if(typeof window.navigator.mimeTypes=="object"&&Q===window.navigator.mimeTypes)return"MimeTypeArray";if(typeof window.navigator.plugins=="object"&&Q===window.navigator.plugins)return"PluginArray"}if((typeof window.HTMLElement=="function"||typeof window.HTMLElement=="object")&&Q instanceof window.HTMLElement){if(Q.tagName==="BLOCKQUOTE")return"HTMLQuoteElement";if(Q.tagName==="TD")return"HTMLTableDataCellElement";if(Q.tagName==="TH")return"HTMLTableHeaderCellElement"}}var X=c&&Q[Symbol.toStringTag];if(typeof X=="string")return X;var K=Object.getPrototypeOf(Q);return K===RegExp.prototype?"RegExp":K===Date.prototype?"Date":t&&K===Promise.prototype?"Promise":r&&K===Set.prototype?"Set":a&&K===Map.prototype?"Map":i&&K===WeakSet.prototype?"WeakSet":f&&K===WeakMap.prototype?"WeakMap":s&&K===DataView.prototype?"DataView":a&&K===y?"Map Iterator":r&&K===h?"Set Iterator":v&&K===k?"Array Iterator":O&&K===F?"String Iterator":K===null?"Object":Object.prototype.toString.call(Q).slice(z,W)}return j})});var uQe=D((D6a,lQe)=>{u();p();var dzt=a1e(),i1e=$5(),lzt=tR();lQe.exports=function(e,n){var a=i1e(e,"message"),r=i1e(e,"ssfi");a=a?a+": ":"",e=i1e(e,"object"),n=n.map(function(s){return s.toLowerCase()}),n.sort();var f=n.map(function(s,o){var c=~["a","e","i","o","u"].indexOf(s.charAt(0))?"an":"a",d=n.length>1&&o===n.length-1?"or ":"";return d+c+" "+s}).join(", "),i=lzt(e).toLowerCase();if(!n.some(function(s){return i===s}))throw new dzt(a+"object tested must be "+f+", but "+i+" given",void 0,r)}});var s1e=D((F6a,pQe)=>{u();p();pQe.exports=function(e,n){return n.length>4?n[4]:e._obj}});var eq=D((U6a,hQe)=>{"use strict";u();p();var uzt=Function.prototype.toString,pzt=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,hzt=512;function bzt(t){if(typeof t!="function")return null;var e="";if(typeof Function.prototype.name>"u"&&typeof t.name>"u"){var n=uzt.call(t);if(n.indexOf("(")>hzt)return e;var a=n.match(pzt);a&&(e=a[1])}else e=t.name;return e}hQe.exports=bzt});var mQe=D((tq,bQe)=>{u();p();(function(t,e){typeof tq=="object"&&typeof bQe<"u"?e(tq):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.loupe={}))})(tq,function(t){"use strict";function e(be){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(ye){return typeof ye}:e=function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye},e(be)}function n(be,ye){return a(be)||r(be,ye)||f(be,ye)||s()}function a(be){if(Array.isArray(be))return be}function r(be,ye){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(be)))){var _e=[],ze=!0,je=!1,Ue=void 0;try{for(var b0=be[Symbol.iterator](),h0;!(ze=(h0=b0.next()).done)&&(_e.push(h0.value),!(ye&&_e.length===ye));ze=!0);}catch($e){je=!0,Ue=$e}finally{try{!ze&&b0.return!=null&&b0.return()}finally{if(je)throw Ue}}return _e}}function f(be,ye){if(be){if(typeof be=="string")return i(be,ye);var _e=Object.prototype.toString.call(be).slice(8,-1);if(_e==="Object"&&be.constructor&&(_e=be.constructor.name),_e==="Map"||_e==="Set")return Array.from(be);if(_e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_e))return i(be,ye)}}function i(be,ye){(ye==null||ye>be.length)&&(ye=be.length);for(var _e=0,ze=new Array(ye);_e0&&arguments[0]!==void 0?arguments[0]:{},ye=be.showHidden,_e=ye===void 0?!1:ye,ze=be.depth,je=ze===void 0?2:ze,Ue=be.colors,b0=Ue===void 0?!1:Ue,h0=be.customInspect,$e=h0===void 0?!0:h0,M0=be.showProxy,P0=M0===void 0?!1:M0,t0=be.maxArrayLength,j0=t0===void 0?1/0:t0,z0=be.breakLength,Ke=z0===void 0?1/0:z0,B0=be.seen,G0=B0===void 0?[]:B0,s0=be.truncate,X0=s0===void 0?1/0:s0,Y0=be.stylize,l0=Y0===void 0?String:Y0,K0={showHidden:!!_e,depth:Number(je),colors:!!b0,customInspect:!!$e,showProxy:!!P0,maxArrayLength:Number(j0),breakLength:Number(Ke),truncate:Number(X0),seen:G0,stylize:l0};return K0.colors&&(K0.stylize=l),K0}function y(be,ye){var _e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d;be=String(be);var ze=_e.length,je=be.length;return ze>ye&&je>ze?_e:je>ye&&je>ze?"".concat(be.slice(0,ye-ze)).concat(_e):be}function v(be,ye,_e){var ze=arguments.length>3&&arguments[3]!==void 0?arguments[3]:", ";_e=_e||ye.inspect;var je=be.length;if(je===0)return"";for(var Ue=ye.truncate,b0="",h0="",$e="",M0=0;M0Ue&&b0.length+$e.length<=Ue||!P0&&!t0&&B0>Ue||(h0=P0?"":_e(be[M0+1],ye)+(t0?"":ze),!P0&&t0&&B0>Ue&&Ke+h0.length>Ue))break;if(b0+=z0,!P0&&!t0&&Ke+h0.length>=Ue){$e="".concat(d,"(").concat(be.length-M0-1,")");break}$e=""}return"".concat(b0).concat($e)}function k(be){return be.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?be:JSON.stringify(be).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function O(be,ye){var _e=n(be,2),ze=_e[0],je=_e[1];return ye.truncate-=2,typeof ze=="string"?ze=k(ze):typeof ze!="number"&&(ze="[".concat(ye.inspect(ze,ye),"]")),ye.truncate-=ze.length,je=ye.inspect(je,ye),"".concat(ze,": ").concat(je)}function F(be,ye){var _e=Object.keys(be).slice(be.length);if(!be.length&&!_e.length)return"[]";ye.truncate-=4;var ze=v(be,ye);ye.truncate-=ze.length;var je="";return _e.length&&(je=v(_e.map(function(Ue){return[Ue,be[Ue]]}),ye,O)),"[ ".concat(ze).concat(je?", ".concat(je):""," ]")}var z=Function.prototype.toString,W=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,j=512;function Q(be){if(typeof be!="function")return null;var ye="";if(typeof Function.prototype.name>"u"&&typeof be.name>"u"){var _e=z.call(be);if(_e.indexOf("(")>j)return ye;var ze=_e.match(W);ze&&(ye=ze[1])}else ye=be.name;return ye}var V=Q,X=function(ye){return typeof _.Buffer=="function"&&ye instanceof _.Buffer?"Buffer":ye[Symbol.toStringTag]?ye[Symbol.toStringTag]:V(ye.constructor)};function K(be,ye){var _e=X(be);ye.truncate-=_e.length+4;var ze=Object.keys(be).slice(be.length);if(!be.length&&!ze.length)return"".concat(_e,"[]");for(var je="",Ue=0;Ue ").concat(je)}function N(be){var ye=[];return be.forEach(function(_e,ze){ye.push([ze,_e])}),ye}function w(be,ye){var _e=be.size-1;return _e<=0?"Map{}":(ye.truncate-=7,"Map{ ".concat(v(N(be),ye,T)," }"))}var m=Number.isNaN||function(be){return be!==be};function A(be,ye){return m(be)?ye.stylize("NaN","number"):be===1/0?ye.stylize("Infinity","number"):be===-1/0?ye.stylize("-Infinity","number"):be===0?ye.stylize(1/be===1/0?"+0":"-0","number"):ye.stylize(y(be,ye.truncate),"number")}function P(be,ye){var _e=y(be.toString(),ye.truncate-1);return _e!==d&&(_e+="n"),ye.stylize(_e,"bigint")}function L(be,ye){var _e=be.toString().split("/")[2],ze=ye.truncate-(2+_e.length),je=be.source;return ye.stylize("/".concat(y(je,ze),"/").concat(_e),"regexp")}function x(be){var ye=[];return be.forEach(function(_e){ye.push(_e)}),ye}function g(be,ye){return be.size===0?"Set{}":(ye.truncate-=7,"Set{ ".concat(v(x(be),ye)," }"))}var B=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),M={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},S=16,q=4;function ee(be){return M[be]||"\\u".concat("0000".concat(be.charCodeAt(0).toString(S)).slice(-q))}function U(be,ye){return B.test(be)&&(be=be.replace(B,ee)),ye.stylize("'".concat(y(be,ye.truncate-2),"'"),"string")}function J(be){return"description"in Symbol.prototype?be.description?"Symbol(".concat(be.description,")"):"Symbol()":be.toString()}var Z=function(){return"Promise{\u2026}"};try{var ne=E.binding("util"),ue=ne.getPromiseDetails,Y=ne.kPending,re=ne.kRejected;Array.isArray(ue(Promise.resolve()))&&(Z=function(ye,_e){var ze=ue(ye),je=n(ze,2),Ue=je[0],b0=je[1];return Ue===Y?"Promise{}":"Promise".concat(Ue===re?"!":"","{").concat(_e.inspect(b0,_e),"}")})}catch{}var ie=Z;function ge(be,ye){var _e=Object.getOwnPropertyNames(be),ze=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(be):[];if(_e.length===0&&ze.length===0)return"{}";if(ye.truncate-=4,ye.seen=ye.seen||[],ye.seen.indexOf(be)>=0)return"[Circular]";ye.seen.push(be);var je=v(_e.map(function(h0){return[h0,be[h0]]}),ye,O),Ue=v(ze.map(function(h0){return[h0,be[h0]]}),ye,O);ye.seen.pop();var b0="";return je&&Ue&&(b0=", "),"{ ".concat(je).concat(b0).concat(Ue," }")}var de=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Ae(be,ye){var _e="";return de&&de in be&&(_e=be[de]),_e=_e||V(be.constructor),(!_e||_e==="_class")&&(_e=""),ye.truncate-=_e.length,"".concat(_e).concat(ge(be,ye))}function Ge(be,ye){return be.length===0?"Arguments[]":(ye.truncate-=13,"Arguments[ ".concat(v(be,ye)," ]"))}var Be=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function c0(be,ye){var _e=Object.getOwnPropertyNames(be).filter(function(b0){return Be.indexOf(b0)===-1}),ze=be.name;ye.truncate-=ze.length;var je="";typeof be.message=="string"?je=y(be.message,ye.truncate):_e.unshift("message"),je=je?": ".concat(je):"",ye.truncate-=je.length+5;var Ue=v(_e.map(function(b0){return[b0,be[b0]]}),ye,O);return"".concat(ze).concat(je).concat(Ue?" { ".concat(Ue," }"):"")}function Ye(be,ye){var _e=n(be,2),ze=_e[0],je=_e[1];return ye.truncate-=3,je?"".concat(ye.stylize(ze,"yellow"),"=").concat(ye.stylize('"'.concat(je,'"'),"string")):"".concat(ye.stylize(ze,"yellow"))}function He(be,ye){return v(be,ye,_0,` +`)}function _0(be,ye){var _e=be.getAttributeNames(),ze=be.tagName.toLowerCase(),je=ye.stylize("<".concat(ze),"special"),Ue=ye.stylize(">","special"),b0=ye.stylize(""),"special");ye.truncate-=ze.length*2+5;var h0="";_e.length>0&&(h0+=" ",h0+=v(_e.map(function(P0){return[P0,be.getAttribute(P0)]}),ye,Ye," ")),ye.truncate-=h0.length;var $e=ye.truncate,M0=He(be.children,ye);return M0&&M0.length>$e&&(M0="".concat(d,"(").concat(be.children.length,")")),"".concat(je).concat(h0).concat(Ue).concat(M0).concat(b0)}var L0=typeof Symbol=="function"&&typeof Symbol.for=="function",Ze=L0?Symbol.for("chai/inspect"):"@@chai/inspect",I0=!1;try{var pe=nl();I0=pe.inspect?pe.inspect.custom:!1}catch{I0=!1}function he(){this.key="chai/loupe__"+Math.random()+Date.now()}he.prototype={get:function(ye){return ye[this.key]},has:function(ye){return this.key in ye},set:function(ye,_e){Object.isExtensible(ye)&&Object.defineProperty(ye,this.key,{value:_e,configurable:!0})}};var Te=new(typeof WeakMap=="function"?WeakMap:he),Ce={},Se={undefined:function(ye,_e){return _e.stylize("undefined","undefined")},null:function(ye,_e){return _e.stylize(null,"null")},boolean:function(ye,_e){return _e.stylize(ye,"boolean")},Boolean:function(ye,_e){return _e.stylize(ye,"boolean")},number:A,Number:A,bigint:P,BigInt:P,string:U,String:U,function:R,Function:R,symbol:J,Symbol:J,Array:F,Date:G,Map:w,Set:g,RegExp:L,Promise:ie,WeakSet:function(ye,_e){return _e.stylize("WeakSet{\u2026}","special")},WeakMap:function(ye,_e){return _e.stylize("WeakMap{\u2026}","special")},Arguments:Ge,Int8Array:K,Uint8Array:K,Uint8ClampedArray:K,Int16Array:K,Uint16Array:K,Int32Array:K,Uint32Array:K,Float32Array:K,Float64Array:K,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:c0,HTMLCollection:He,NodeList:He},Qe=function(ye,_e,ze){return Ze in ye&&typeof ye[Ze]=="function"?ye[Ze](_e):I0&&I0 in ye&&typeof ye[I0]=="function"?ye[I0](_e.depth,_e):"inspect"in ye&&typeof ye.inspect=="function"?ye.inspect(_e.depth,_e):"constructor"in ye&&Te.has(ye.constructor)?Te.get(ye.constructor)(ye,_e):Ce[ze]?Ce[ze](ye,_e):""},u0=Object.prototype.toString;function qe(be,ye){ye=h(ye),ye.inspect=qe;var _e=ye,ze=_e.customInspect,je=be===null?"null":e(be);if(je==="object"&&(je=u0.call(be).slice(8,-1)),Se[je])return Se[je](be,ye);if(ze&&be){var Ue=Qe(be,ye,je);if(Ue)return typeof Ue=="string"?Ue:qe(Ue,ye)}var b0=be?Object.getPrototypeOf(be):!1;return b0===Object.prototype||b0===null?ge(be,ye):be&&typeof HTMLElement=="function"&&be instanceof HTMLElement?_0(be,ye):"constructor"in be?be.constructor!==Object?Ae(be,ye):ge(be,ye):be===Object(be)?ge(be,ye):ye.stylize(String(be),je)}function v0(be,ye){return Te.has(be)?!1:(Te.set(be,ye),!0)}function w0(be,ye){return be in Ce?!1:(Ce[be]=ye,!0)}var Ve=Ze;t.custom=Ve,t.default=qe,t.inspect=qe,t.registerConstructor=v0,t.registerStringTag=w0,Object.defineProperty(t,"__esModule",{value:!0})})});var K7=D((j6a,yQe)=>{u();p();yQe.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null}});var nq=D((V6a,vQe)=>{u();p();var Q6a=eq(),mzt=mQe(),gQe=K7();vQe.exports=yzt;function yzt(t,e,n,a){var r={colors:a,depth:typeof n>"u"?2:n,showHidden:e,truncate:gQe.truncateThreshold?gQe.truncateThreshold:1/0};return mzt.inspect(t,r)}});var o1e=D((J6a,TQe)=>{u();p();var gzt=nq(),wQe=K7();TQe.exports=function(e){var n=gzt(e),a=Object.prototype.toString.call(e);if(wQe.truncateThreshold&&n.length>=wQe.truncateThreshold){if(a==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(a==="[object Array]")return"[ Array("+e.length+") ]";if(a==="[object Object]"){var r=Object.keys(e),f=r.length>2?r.splice(0,2).join(", ")+", ...":r.join(", ");return"{ Object ("+f+") }"}else return n}else return n}});var EQe=D((e5a,xQe)=>{u();p();var c1e=$5(),vzt=s1e(),d1e=o1e();xQe.exports=function(e,n){var a=c1e(e,"negate"),r=c1e(e,"object"),f=n[3],i=vzt(e,n),s=a?n[2]:n[1],o=c1e(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return d1e(r)}).replace(/#\{act\}/g,function(){return d1e(i)}).replace(/#\{exp\}/g,function(){return d1e(f)}),o?o+": "+s:s}});var kb=D((a5a,_Qe)=>{u();p();_Qe.exports=function(e,n,a){var r=e.__flags||(e.__flags=Object.create(null));n.__flags||(n.__flags=Object.create(null)),a=arguments.length===3?a:!0;for(var f in r)(a||f!=="object"&&f!=="ssfi"&&f!=="lockSsfi"&&f!="message")&&(n.__flags[f]=r[f])}});var FQe=D((i5a,p1e)=>{"use strict";u();p();var AQe=tR();function DQe(){this._key="chai/deep-eql__"+Math.random()+Date.now()}DQe.prototype={get:function(e){return e[this._key]},set:function(e,n){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:n,configurable:!0})}};var u1e=typeof WeakMap=="function"?WeakMap:DQe;function CQe(t,e,n){if(!n||Ex(t)||Ex(e))return null;var a=n.get(t);if(a){var r=a.get(e);if(typeof r=="boolean")return r}return null}function aq(t,e,n,a){if(!(!n||Ex(t)||Ex(e))){var r=n.get(t);r?r.set(e,a):(r=new u1e,r.set(e,a),n.set(t,r))}}p1e.exports=rq;p1e.exports.MemoizeMap=u1e;function rq(t,e,n){if(n&&n.comparator)return IQe(t,e,n);var a=PQe(t,e);return a!==null?a:IQe(t,e,n)}function PQe(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e?!0:Ex(t)||Ex(e)?!1:null}function IQe(t,e,n){n=n||{},n.memoize=n.memoize===!1?!1:n.memoize||new u1e;var a=n&&n.comparator,r=CQe(t,e,n.memoize);if(r!==null)return r;var f=CQe(e,t,n.memoize);if(f!==null)return f;if(a){var i=a(t,e);if(i===!1||i===!0)return aq(t,e,n.memoize,i),i;var s=PQe(t,e);if(s!==null)return s}var o=AQe(t);if(o!==AQe(e))return aq(t,e,n.memoize,!1),!1;aq(t,e,n.memoize,!0);var c=wzt(t,e,o,n);return aq(t,e,n.memoize,c),c}function wzt(t,e,n,a){switch(n){case"String":case"Number":case"Boolean":case"Date":return rq(t.valueOf(),e.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return t===e;case"Error":return LQe(t,e,["name","message","code"],a);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return Q7(t,e,a);case"RegExp":return Tzt(t,e);case"Generator":return xzt(t,e,a);case"DataView":return Q7(new Uint8Array(t.buffer),new Uint8Array(e.buffer),a);case"ArrayBuffer":return Q7(new Uint8Array(t),new Uint8Array(e),a);case"Set":return kQe(t,e,a);case"Map":return kQe(t,e,a);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return t.equals(e);case"Temporal.Duration":return t.total("nanoseconds")===e.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return t.toString()===e.toString();default:return _zt(t,e,a)}}function Tzt(t,e){return t.toString()===e.toString()}function kQe(t,e,n){if(t.size!==e.size)return!1;if(t.size===0)return!0;var a=[],r=[];return t.forEach(function(i,s){a.push([i,s])}),e.forEach(function(i,s){r.push([i,s])}),Q7(a.sort(),r.sort(),n)}function Q7(t,e,n){var a=t.length;if(a!==e.length)return!1;if(a===0)return!0;for(var r=-1;++r{u();p();var Azt=K7();NQe.exports=function(){return Azt.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}});var HQe=D((u5a,UQe)=>{u();p();var Czt=Sb(),OQe=$5(),Izt=nR(),kzt=kb();UQe.exports=function(e,n,a){a=a===void 0?function(){}:a,Object.defineProperty(e,n,{get:function r(){!Izt()&&!OQe(this,"lockSsfi")&&OQe(this,"ssfi",r);var f=a.call(this);if(f!==void 0)return f;var i=new Czt.Assertion;return kzt(this,i),i},configurable:!0})}});var aR=D((b5a,zQe)=>{u();p();var Szt=Object.getOwnPropertyDescriptor(function(){},"length");zQe.exports=function(e,n,a){return Szt.configurable&&Object.defineProperty(e,"length",{get:function(){throw Error(a?"Invalid Chai property: "+n+'.length. Due to a compatibility issue, "length" cannot directly follow "'+n+'". Use "'+n+'.lengthOf" instead.':"Invalid Chai property: "+n+'.length. See docs for proper usage of "'+n+'".')}}),e}});var qQe=D((g5a,WQe)=>{u();p();WQe.exports=function(e){var n=Object.getOwnPropertyNames(e);function a(f){n.indexOf(f)===-1&&n.push(f)}for(var r=Object.getPrototypeOf(e);r!==null;)Object.getOwnPropertyNames(r).forEach(a),r=Object.getPrototypeOf(r);return n}});var rR=D((T5a,KQe)=>{u();p();var Rzt=K7(),jQe=$5(),Mzt=qQe(),Bzt=nR();var GQe=["__flags","__methods","_obj","assert"];KQe.exports=function(e,n){return Bzt()?new Proxy(e,{get:function a(r,f){if(typeof f=="string"&&Rzt.proxyExcludedKeys.indexOf(f)===-1&&!Reflect.has(r,f)){if(n)throw Error("Invalid Chai property: "+n+"."+f+'. See docs for proper usage of "'+n+'".');var i=null,s=4;throw Mzt(r).forEach(function(o){if(!Object.prototype.hasOwnProperty(o)&&GQe.indexOf(o)===-1){var c=Dzt(f,o,s);c=n)return n;for(var a=[],r=0;r<=t.length;r++)a[r]=Array(e.length+1).fill(0),a[r][0]=r;for(var f=0;f=n){a[r][f]=n;continue}a[r][f]=Math.min(a[r-1][f]+1,a[r][f-1]+1,a[r-1][f-1]+(i===e.charCodeAt(f-1)?0:1))}return a[t.length][e.length]}});var YQe=D((_5a,VQe)=>{u();p();var Pzt=aR(),Lzt=Sb(),QQe=$5(),Fzt=rR(),Nzt=kb();VQe.exports=function(e,n,a){var r=function(){QQe(this,"lockSsfi")||QQe(this,"ssfi",r);var f=a.apply(this,arguments);if(f!==void 0)return f;var i=new Lzt.Assertion;return Nzt(this,i),i};Pzt(r,n,!1),e[n]=Fzt(r,n)}});var JQe=D((I5a,$Qe)=>{u();p();var Ozt=Sb(),fR=$5(),Uzt=nR(),Hzt=kb();$Qe.exports=function(e,n,a){var r=Object.getOwnPropertyDescriptor(e,n),f=function(){};r&&typeof r.get=="function"&&(f=r.get),Object.defineProperty(e,n,{get:function i(){!Uzt()&&!fR(this,"lockSsfi")&&fR(this,"ssfi",i);var s=fR(this,"lockSsfi");fR(this,"lockSsfi",!0);var o=a(f).call(this);if(fR(this,"lockSsfi",s),o!==void 0)return o;var c=new Ozt.Assertion;return Hzt(this,c),c},configurable:!0})}});var ZQe=D((R5a,XQe)=>{u();p();var zzt=aR(),Wzt=Sb(),iR=$5(),qzt=rR(),jzt=kb();XQe.exports=function(e,n,a){var r=e[n],f=function(){throw new Error(n+" is not a function")};r&&typeof r=="function"&&(f=r);var i=function(){iR(this,"lockSsfi")||iR(this,"ssfi",i);var s=iR(this,"lockSsfi");iR(this,"lockSsfi",!0);var o=a(f).apply(this,arguments);if(iR(this,"lockSsfi",s),o!==void 0)return o;var c=new Wzt.Assertion;return jzt(this,c),c};zzt(i,n,!1),e[n]=qzt(i,n)}});var rVe=D((D5a,aVe)=>{u();p();var Gzt=aR(),Kzt=Sb(),eVe=$5(),Qzt=rR(),tVe=kb();var Vzt=typeof Object.setPrototypeOf=="function",nVe=function(){},Yzt=Object.getOwnPropertyNames(nVe).filter(function(t){var e=Object.getOwnPropertyDescriptor(nVe,t);return typeof e!="object"?!0:!e.configurable}),$zt=Function.prototype.call,Jzt=Function.prototype.apply;aVe.exports=function(e,n,a,r){typeof r!="function"&&(r=function(){});var f={method:a,chainingBehavior:r};e.__methods||(e.__methods={}),e.__methods[n]=f,Object.defineProperty(e,n,{get:function(){f.chainingBehavior.call(this);var s=function(){eVe(this,"lockSsfi")||eVe(this,"ssfi",s);var d=f.method.apply(this,arguments);if(d!==void 0)return d;var l=new Kzt.Assertion;return tVe(this,l),l};if(Gzt(s,n,!0),Vzt){var o=Object.create(this);o.call=$zt,o.apply=Jzt,Object.setPrototypeOf(s,o)}else{var c=Object.getOwnPropertyNames(e);c.forEach(function(d){if(Yzt.indexOf(d)===-1){var l=Object.getOwnPropertyDescriptor(e,d);Object.defineProperty(s,d,l)}})}return tVe(this,s),Qzt(s)},configurable:!0})}});var oVe=D((F5a,sVe)=>{u();p();var fVe=Sb(),iVe=kb();sVe.exports=function(e,n,a,r){var f=e.__methods[n],i=f.chainingBehavior;f.chainingBehavior=function(){var c=r(i).call(this);if(c!==void 0)return c;var d=new fVe.Assertion;return iVe(this,d),d};var s=f.method;f.method=function(){var c=a(s).apply(this,arguments);if(c!==void 0)return c;var d=new fVe.Assertion;return iVe(this,d),d}}});var lVe=D((U5a,dVe)=>{u();p();var cVe=nq();dVe.exports=function(e,n){return cVe(e){u();p();uVe.exports=function(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})}});var hVe=D((G5a,pVe)=>{u();p();var Xzt=h1e();pVe.exports=function(e){return Object.keys(e).concat(Xzt(e))}});var mVe=D((V5a,bVe)=>{"use strict";u();p();var b1e=eq();function Zzt(t,e){return e instanceof Error&&t===e}function eWt(t,e){return e instanceof Error?t.constructor===e.constructor||t instanceof e.constructor:e.prototype instanceof Error||e===Error?t.constructor===e||t instanceof e:!1}function tWt(t,e){var n=typeof t=="string"?t:t.message;return e instanceof RegExp?e.test(n):typeof e=="string"?n.indexOf(e)!==-1:!1}function nWt(t){var e=t;if(t instanceof Error)e=b1e(t.constructor);else if(typeof t=="function"&&(e=b1e(t),e==="")){var n=b1e(new t);e=n||e}return e}function aWt(t){var e="";return t&&t.message?e=t.message:typeof t=="string"&&(e=t),e}bVe.exports={compatibleInstance:Zzt,compatibleConstructor:eWt,compatibleMessage:tWt,getMessage:aWt,getConstructorName:nWt}});var gVe=D((J5a,yVe)=>{u();p();function rWt(t){return t!==t}yVe.exports=Number.isNaN||rWt});var TVe=D((eda,wVe)=>{u();p();var fWt=tR(),vVe=$5();function iWt(t){var e=fWt(t),n=["Array","Object","function"];return n.indexOf(e)!==-1}wVe.exports=function(e,n){var a=vVe(e,"operator"),r=vVe(e,"negate"),f=n[3],i=r?n[2]:n[1];if(a)return a;if(typeof i=="function"&&(i=i()),i=i||"",!!i&&!/\shave\s/.test(i)){var s=iWt(f);return/\snot\s/.test(i)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}}});var EVe=D(sr=>{u();p();var xVe=sQe();sr.test=dQe();sr.type=tR();sr.expectTypes=uQe();sr.getMessage=EQe();sr.getActual=s1e();sr.inspect=nq();sr.objDisplay=o1e();sr.flag=$5();sr.transferFlags=kb();sr.eql=FQe();sr.getPathInfo=xVe.getPathInfo;sr.hasProperty=xVe.hasProperty;sr.getName=eq();sr.addProperty=HQe();sr.addMethod=YQe();sr.overwriteProperty=JQe();sr.overwriteMethod=ZQe();sr.addChainableMethod=rVe();sr.overwriteChainableMethod=oVe();sr.compareByInspect=lVe();sr.getOwnEnumerablePropertySymbols=h1e();sr.getOwnEnumerableProperties=hVe();sr.checkError=mVe();sr.proxify=rR();sr.addLengthGuard=aR();sr.isProxyEnabled=nR();sr.isNaN=gVe();sr.getOperator=TVe()});var AVe=D((ida,_Ve)=>{u();p();var V7=K7();_Ve.exports=function(t,e){var n=t.AssertionError,a=e.flag;t.Assertion=r;function r(f,i,s,o){return a(this,"ssfi",s||r),a(this,"lockSsfi",o),a(this,"object",f),a(this,"message",i),a(this,"eql",V7.deepEqual||e.eql),e.proxify(this)}Object.defineProperty(r,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),V7.includeStack},set:function(f){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),V7.includeStack=f}}),Object.defineProperty(r,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),V7.showDiff},set:function(f){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),V7.showDiff=f}}),r.addProperty=function(f,i){e.addProperty(this.prototype,f,i)},r.addMethod=function(f,i){e.addMethod(this.prototype,f,i)},r.addChainableMethod=function(f,i,s){e.addChainableMethod(this.prototype,f,i,s)},r.overwriteProperty=function(f,i){e.overwriteProperty(this.prototype,f,i)},r.overwriteMethod=function(f,i){e.overwriteMethod(this.prototype,f,i)},r.overwriteChainableMethod=function(f,i,s){e.overwriteChainableMethod(this.prototype,f,i,s)},r.prototype.assert=function(f,i,s,o,c,d){var l=e.test(this,arguments);if(d!==!1&&(d=!0),o===void 0&&c===void 0&&(d=!1),V7.showDiff!==!0&&(d=!1),!l){i=e.getMessage(this,arguments);var h=e.getActual(this,arguments),y={actual:h,expected:o,showDiff:d},v=e.getOperator(this,arguments);throw v&&(y.operator=v),new n(i,y,V7.includeStack?this.assert:a(this,"ssfi"))}};Object.defineProperty(r.prototype,"_obj",{get:function(){return a(this,"object")},set:function(f){a(this,"object",f)}})}});var IVe=D((cda,CVe)=>{u();p();CVe.exports=function(t,e){var n=t.Assertion,a=t.AssertionError,r=e.flag;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(g){n.addProperty(g)}),n.addProperty("not",function(){r(this,"negate",!0)}),n.addProperty("deep",function(){r(this,"deep",!0)}),n.addProperty("nested",function(){r(this,"nested",!0)}),n.addProperty("own",function(){r(this,"own",!0)}),n.addProperty("ordered",function(){r(this,"ordered",!0)}),n.addProperty("any",function(){r(this,"any",!0),r(this,"all",!1)}),n.addProperty("all",function(){r(this,"all",!0),r(this,"any",!1)});function f(g,B){B&&r(this,"message",B),g=g.toLowerCase();var M=r(this,"object"),S=~["a","e","i","o","u"].indexOf(g.charAt(0))?"an ":"a ";this.assert(g===e.type(M).toLowerCase(),"expected #{this} to be "+S+g,"expected #{this} not to be "+S+g)}n.addChainableMethod("an",f),n.addChainableMethod("a",f);function i(g,B){return e.isNaN(g)&&e.isNaN(B)||g===B}function s(){r(this,"contains",!0)}function o(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=e.type(M).toLowerCase(),q=r(this,"message"),ee=r(this,"negate"),U=r(this,"ssfi"),J=r(this,"deep"),Z=J?"deep ":"",ne=J?r(this,"eql"):i;q=q?q+": ":"";var ue=!1;switch(S){case"string":ue=M.indexOf(g)!==-1;break;case"weakset":if(J)throw new a(q+"unable to use .deep.include with WeakSet",void 0,U);ue=M.has(g);break;case"map":M.forEach(function(ge){ue=ue||ne(ge,g)});break;case"set":J?M.forEach(function(ge){ue=ue||ne(ge,g)}):ue=M.has(g);break;case"array":J?ue=M.some(function(ge){return ne(ge,g)}):ue=M.indexOf(g)!==-1;break;default:if(g!==Object(g))throw new a(q+"the given combination of arguments ("+S+" and "+e.type(g).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+e.type(g).toLowerCase(),void 0,U);var Y=Object.keys(g),re=null,ie=0;if(Y.forEach(function(ge){var de=new n(M);if(e.transferFlags(this,de,!0),r(de,"lockSsfi",!0),!ee||Y.length===1){de.property(ge,g[ge]);return}try{de.property(ge,g[ge])}catch(Ae){if(!e.checkError.compatibleConstructor(Ae,a))throw Ae;re===null&&(re=Ae),ie++}},this),ee&&Y.length>1&&ie===Y.length)throw re;return}this.assert(ue,"expected #{this} to "+Z+"include "+e.inspect(g),"expected #{this} to not "+Z+"include "+e.inspect(g))}n.addChainableMethod("include",o,s),n.addChainableMethod("contain",o,s),n.addChainableMethod("contains",o,s),n.addChainableMethod("includes",o,s),n.addProperty("ok",function(){this.assert(r(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")}),n.addProperty("true",function(){this.assert(r(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!r(this,"negate"))}),n.addProperty("false",function(){this.assert(r(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!r(this,"negate"))}),n.addProperty("null",function(){this.assert(r(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")}),n.addProperty("undefined",function(){this.assert(r(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")}),n.addProperty("NaN",function(){this.assert(e.isNaN(r(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function c(){var g=r(this,"object");this.assert(g!=null,"expected #{this} to exist","expected #{this} to not exist")}n.addProperty("exist",c),n.addProperty("exists",c),n.addProperty("empty",function(){var g=r(this,"object"),B=r(this,"ssfi"),M=r(this,"message"),S;switch(M=M?M+": ":"",e.type(g).toLowerCase()){case"array":case"string":S=g.length;break;case"map":case"set":S=g.size;break;case"weakmap":case"weakset":throw new a(M+".empty was passed a weak collection",void 0,B);case"function":var q=M+".empty was passed a function "+e.getName(g);throw new a(q.trim(),void 0,B);default:if(g!==Object(g))throw new a(M+".empty was passed non-string primitive "+e.inspect(g),void 0,B);S=Object.keys(g).length}this.assert(S===0,"expected #{this} to be empty","expected #{this} not to be empty")});function d(){var g=r(this,"object"),B=e.type(g);this.assert(B==="Arguments","expected #{this} to be arguments but got "+B,"expected #{this} to not be arguments")}n.addProperty("arguments",d),n.addProperty("Arguments",d);function l(g,B){B&&r(this,"message",B);var M=r(this,"object");if(r(this,"deep")){var S=r(this,"lockSsfi");r(this,"lockSsfi",!0),this.eql(g),r(this,"lockSsfi",S)}else this.assert(g===M,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",g,this._obj,!0)}n.addMethod("equal",l),n.addMethod("equals",l),n.addMethod("eq",l);function h(g,B){B&&r(this,"message",B);var M=r(this,"eql");this.assert(M(g,r(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",g,this._obj,!0)}n.addMethod("eql",h),n.addMethod("eqls",h);function y(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"doLength"),q=r(this,"message"),ee=q?q+": ":"",U=r(this,"ssfi"),J=e.type(M).toLowerCase(),Z=e.type(g).toLowerCase(),ne,ue=!0;if(S&&J!=="map"&&J!=="set"&&new n(M,q,U,!0).to.have.property("length"),!S&&J==="date"&&Z!=="date")ne=ee+"the argument to above must be a date";else if(Z!=="number"&&(S||J==="number"))ne=ee+"the argument to above must be a number";else if(!S&&J!=="date"&&J!=="number"){var Y=J==="string"?"'"+M+"'":M;ne=ee+"expected "+Y+" to be a number or a date"}else ue=!1;if(ue)throw new a(ne,void 0,U);if(S){var re="length",ie;J==="map"||J==="set"?(re="size",ie=M.size):ie=M.length,this.assert(ie>g,"expected #{this} to have a "+re+" above #{exp} but got #{act}","expected #{this} to not have a "+re+" above #{exp}",g,ie)}else this.assert(M>g,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",g)}n.addMethod("above",y),n.addMethod("gt",y),n.addMethod("greaterThan",y);function v(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"doLength"),q=r(this,"message"),ee=q?q+": ":"",U=r(this,"ssfi"),J=e.type(M).toLowerCase(),Z=e.type(g).toLowerCase(),ne,ue=!0;if(S&&J!=="map"&&J!=="set"&&new n(M,q,U,!0).to.have.property("length"),!S&&J==="date"&&Z!=="date")ne=ee+"the argument to least must be a date";else if(Z!=="number"&&(S||J==="number"))ne=ee+"the argument to least must be a number";else if(!S&&J!=="date"&&J!=="number"){var Y=J==="string"?"'"+M+"'":M;ne=ee+"expected "+Y+" to be a number or a date"}else ue=!1;if(ue)throw new a(ne,void 0,U);if(S){var re="length",ie;J==="map"||J==="set"?(re="size",ie=M.size):ie=M.length,this.assert(ie>=g,"expected #{this} to have a "+re+" at least #{exp} but got #{act}","expected #{this} to have a "+re+" below #{exp}",g,ie)}else this.assert(M>=g,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",g)}n.addMethod("least",v),n.addMethod("gte",v),n.addMethod("greaterThanOrEqual",v);function k(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"doLength"),q=r(this,"message"),ee=q?q+": ":"",U=r(this,"ssfi"),J=e.type(M).toLowerCase(),Z=e.type(g).toLowerCase(),ne,ue=!0;if(S&&J!=="map"&&J!=="set"&&new n(M,q,U,!0).to.have.property("length"),!S&&J==="date"&&Z!=="date")ne=ee+"the argument to below must be a date";else if(Z!=="number"&&(S||J==="number"))ne=ee+"the argument to below must be a number";else if(!S&&J!=="date"&&J!=="number"){var Y=J==="string"?"'"+M+"'":M;ne=ee+"expected "+Y+" to be a number or a date"}else ue=!1;if(ue)throw new a(ne,void 0,U);if(S){var re="length",ie;J==="map"||J==="set"?(re="size",ie=M.size):ie=M.length,this.assert(ie=g&&Ae<=B,"expected #{this} to have a "+de+" within "+ie,"expected #{this} to not have a "+de+" within "+ie)}else this.assert(S>=g&&S<=B,"expected #{this} to be within "+ie,"expected #{this} to not be within "+ie)});function F(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"ssfi"),q=r(this,"message");try{var ee=M instanceof g}catch(J){throw J instanceof TypeError?(q=q?q+": ":"",new a(q+"The instanceof assertion needs a constructor but "+e.type(g)+" was given.",void 0,S)):J}var U=e.getName(g);U===null&&(U="an unnamed constructor"),this.assert(ee,"expected #{this} to be an instance of "+U,"expected #{this} to not be an instance of "+U)}n.addMethod("instanceof",F),n.addMethod("instanceOf",F);function z(g,B,M){M&&r(this,"message",M);var S=r(this,"nested"),q=r(this,"own"),ee=r(this,"message"),U=r(this,"object"),J=r(this,"ssfi"),Z=typeof g;if(ee=ee?ee+": ":"",S){if(Z!=="string")throw new a(ee+"the argument to property must be a string when using nested syntax",void 0,J)}else if(Z!=="string"&&Z!=="number"&&Z!=="symbol")throw new a(ee+"the argument to property must be a string, number, or symbol",void 0,J);if(S&&q)throw new a(ee+'The "nested" and "own" flags cannot be combined.',void 0,J);if(U==null)throw new a(ee+"Target cannot be null or undefined.",void 0,J);var ne=r(this,"deep"),ue=r(this,"negate"),Y=S?e.getPathInfo(U,g):null,re=S?Y.value:U[g],ie=ne?r(this,"eql"):(Ae,Ge)=>Ae===Ge,ge="";ne&&(ge+="deep "),q&&(ge+="own "),S&&(ge+="nested "),ge+="property ";var de;q?de=Object.prototype.hasOwnProperty.call(U,g):S?de=Y.exists:de=e.hasProperty(U,g),(!ue||arguments.length===1)&&this.assert(de,"expected #{this} to have "+ge+e.inspect(g),"expected #{this} to not have "+ge+e.inspect(g)),arguments.length>1&&this.assert(de&&ie(B,re),"expected #{this} to have "+ge+e.inspect(g)+" of #{exp}, but got #{act}","expected #{this} to not have "+ge+e.inspect(g)+" of #{act}",B,re),r(this,"object",re)}n.addMethod("property",z);function W(g,B,M){r(this,"own",!0),z.apply(this,arguments)}n.addMethod("ownProperty",W),n.addMethod("haveOwnProperty",W);function j(g,B,M){typeof B=="string"&&(M=B,B=null),M&&r(this,"message",M);var S=r(this,"object"),q=Object.getOwnPropertyDescriptor(Object(S),g),ee=r(this,"eql");q&&B?this.assert(ee(B,q),"expected the own property descriptor for "+e.inspect(g)+" on #{this} to match "+e.inspect(B)+", got "+e.inspect(q),"expected the own property descriptor for "+e.inspect(g)+" on #{this} to not match "+e.inspect(B),B,q,!0):this.assert(q,"expected #{this} to have an own property descriptor for "+e.inspect(g),"expected #{this} to not have an own property descriptor for "+e.inspect(g)),r(this,"object",q)}n.addMethod("ownPropertyDescriptor",j),n.addMethod("haveOwnPropertyDescriptor",j);function Q(){r(this,"doLength",!0)}function V(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=e.type(M).toLowerCase(),q=r(this,"message"),ee=r(this,"ssfi"),U="length",J;switch(S){case"map":case"set":U="size",J=M.size;break;default:new n(M,q,ee,!0).to.have.property("length"),J=M.length}this.assert(J==g,"expected #{this} to have a "+U+" of #{exp} but got #{act}","expected #{this} to not have a "+U+" of #{act}",g,J)}n.addChainableMethod("length",V,Q),n.addChainableMethod("lengthOf",V,Q);function X(g,B){B&&r(this,"message",B);var M=r(this,"object");this.assert(g.exec(M),"expected #{this} to match "+g,"expected #{this} not to match "+g)}n.addMethod("match",X),n.addMethod("matches",X),n.addMethod("string",function(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"message"),q=r(this,"ssfi");new n(M,S,q,!0).is.a("string"),this.assert(~M.indexOf(g),"expected #{this} to contain "+e.inspect(g),"expected #{this} to not contain "+e.inspect(g))});function K(g){var B=r(this,"object"),M=e.type(B),S=e.type(g),q=r(this,"ssfi"),ee=r(this,"deep"),U,J="",Z,ne=!0,ue=r(this,"message");ue=ue?ue+": ":"";var Y=ue+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(M==="Map"||M==="Set")J=ee?"deeply ":"",Z=[],B.forEach(function(Be,c0){Z.push(c0)}),S!=="Array"&&(g=Array.prototype.slice.call(arguments));else{switch(Z=e.getOwnEnumerableProperties(B),S){case"Array":if(arguments.length>1)throw new a(Y,void 0,q);break;case"Object":if(arguments.length>1)throw new a(Y,void 0,q);g=Object.keys(g);break;default:g=Array.prototype.slice.call(arguments)}g=g.map(function(Be){return typeof Be=="symbol"?Be:String(Be)})}if(!g.length)throw new a(ue+"keys required",void 0,q);var re=g.length,ie=r(this,"any"),ge=r(this,"all"),de=g,Ae=ee?r(this,"eql"):(Be,c0)=>Be===c0;if(!ie&&!ge&&(ge=!0),ie&&(ne=de.some(function(Be){return Z.some(function(c0){return Ae(Be,c0)})})),ge&&(ne=de.every(function(Be){return Z.some(function(c0){return Ae(Be,c0)})}),r(this,"contains")||(ne=ne&&g.length==Z.length)),re>1){g=g.map(function(Be){return e.inspect(Be)});var Ge=g.pop();ge&&(U=g.join(", ")+", and "+Ge),ie&&(U=g.join(", ")+", or "+Ge)}else U=e.inspect(g[0]);U=(re>1?"keys ":"key ")+U,U=(r(this,"contains")?"contain ":"have ")+U,this.assert(ne,"expected #{this} to "+J+U,"expected #{this} to not "+J+U,de.slice(0).sort(e.compareByInspect),Z.sort(e.compareByInspect),!0)}n.addMethod("keys",K),n.addMethod("key",K);function G(g,B,M){M&&r(this,"message",M);var S=r(this,"object"),q=r(this,"ssfi"),ee=r(this,"message"),U=r(this,"negate")||!1;new n(S,ee,q,!0).is.a("function"),(g instanceof RegExp||typeof g=="string")&&(B=g,g=null);var J;try{S()}catch(Ge){J=Ge}var Z=g===void 0&&B===void 0,ne=!!(g&&B),ue=!1,Y=!1;if(Z||!Z&&!U){var re="an error";g instanceof Error?re="#{exp}":g&&(re=e.checkError.getConstructorName(g)),this.assert(J,"expected #{this} to throw "+re,"expected #{this} to not throw an error but #{act} was thrown",g&&g.toString(),J instanceof Error?J.toString():typeof J=="string"?J:J&&e.checkError.getConstructorName(J))}if(g&&J){if(g instanceof Error){var ie=e.checkError.compatibleInstance(J,g);ie===U&&(ne&&U?ue=!0:this.assert(U,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(J&&!U?" but #{act} was thrown":""),g.toString(),J.toString()))}var ge=e.checkError.compatibleConstructor(J,g);ge===U&&(ne&&U?ue=!0:this.assert(U,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(J?" but #{act} was thrown":""),g instanceof Error?g.toString():g&&e.checkError.getConstructorName(g),J instanceof Error?J.toString():J&&e.checkError.getConstructorName(J)))}if(J&&B!==void 0&&B!==null){var de="including";B instanceof RegExp&&(de="matching");var Ae=e.checkError.compatibleMessage(J,B);Ae===U&&(ne&&U?Y=!0:this.assert(U,"expected #{this} to throw error "+de+" #{exp} but got #{act}","expected #{this} to throw error not "+de+" #{exp}",B,e.checkError.getMessage(J)))}ue&&Y&&this.assert(U,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(J?" but #{act} was thrown":""),g instanceof Error?g.toString():g&&e.checkError.getConstructorName(g),J instanceof Error?J.toString():J&&e.checkError.getConstructorName(J)),r(this,"object",J)}n.addMethod("throw",G),n.addMethod("throws",G),n.addMethod("Throw",G);function R(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"itself"),q=typeof M=="function"&&!S?M.prototype[g]:M[g];this.assert(typeof q=="function","expected #{this} to respond to "+e.inspect(g),"expected #{this} to not respond to "+e.inspect(g))}n.addMethod("respondTo",R),n.addMethod("respondsTo",R),n.addProperty("itself",function(){r(this,"itself",!0)});function T(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=g(M);this.assert(S,"expected #{this} to satisfy "+e.objDisplay(g),"expected #{this} to not satisfy"+e.objDisplay(g),!r(this,"negate"),S)}n.addMethod("satisfy",T),n.addMethod("satisfies",T);function N(g,B,M){M&&r(this,"message",M);var S=r(this,"object"),q=r(this,"message"),ee=r(this,"ssfi");if(new n(S,q,ee,!0).is.a("number"),typeof g!="number"||typeof B!="number"){q=q?q+": ":"";var U=B===void 0?", and a delta is required":"";throw new a(q+"the arguments to closeTo or approximately must be numbers"+U,void 0,ee)}this.assert(Math.abs(S-g)<=B,"expected #{this} to be close to "+g+" +/- "+B,"expected #{this} not to be close to "+g+" +/- "+B)}n.addMethod("closeTo",N),n.addMethod("approximately",N);function w(g,B,M,S,q){if(!S){if(g.length!==B.length)return!1;B=B.slice()}return g.every(function(ee,U){if(q)return M?M(ee,B[U]):ee===B[U];if(!M){var J=B.indexOf(ee);return J===-1?!1:(S||B.splice(J,1),!0)}return B.some(function(Z,ne){return M(ee,Z)?(S||B.splice(ne,1),!0):!1})})}n.addMethod("members",function(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"message"),q=r(this,"ssfi");new n(M,S,q,!0).to.be.an("array"),new n(g,S,q,!0).to.be.an("array");var ee=r(this,"contains"),U=r(this,"ordered"),J,Z,ne;ee?(J=U?"an ordered superset":"a superset",Z="expected #{this} to be "+J+" of #{exp}",ne="expected #{this} to not be "+J+" of #{exp}"):(J=U?"ordered members":"members",Z="expected #{this} to have the same "+J+" as #{exp}",ne="expected #{this} to not have the same "+J+" as #{exp}");var ue=r(this,"deep")?r(this,"eql"):void 0;this.assert(w(g,M,ue,ee,U),Z,ne,g,M,!0)});function m(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"message"),q=r(this,"ssfi"),ee=r(this,"contains"),U=r(this,"deep"),J=r(this,"eql");new n(g,S,q,!0).to.be.an("array"),ee?this.assert(g.some(function(Z){return M.indexOf(Z)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",g,M):U?this.assert(g.some(function(Z){return J(M,Z)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",g,M):this.assert(g.indexOf(M)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",g,M)}n.addMethod("oneOf",m);function A(g,B,M){M&&r(this,"message",M);var S=r(this,"object"),q=r(this,"message"),ee=r(this,"ssfi");new n(S,q,ee,!0).is.a("function");var U;B?(new n(g,q,ee,!0).to.have.property(B),U=g[B]):(new n(g,q,ee,!0).is.a("function"),U=g()),S();var J=B==null?g():g[B],Z=B==null?U:"."+B;r(this,"deltaMsgObj",Z),r(this,"initialDeltaValue",U),r(this,"finalDeltaValue",J),r(this,"deltaBehavior","change"),r(this,"realDelta",J!==U),this.assert(U!==J,"expected "+Z+" to change","expected "+Z+" to not change")}n.addMethod("change",A),n.addMethod("changes",A);function P(g,B,M){M&&r(this,"message",M);var S=r(this,"object"),q=r(this,"message"),ee=r(this,"ssfi");new n(S,q,ee,!0).is.a("function");var U;B?(new n(g,q,ee,!0).to.have.property(B),U=g[B]):(new n(g,q,ee,!0).is.a("function"),U=g()),new n(U,q,ee,!0).is.a("number"),S();var J=B==null?g():g[B],Z=B==null?U:"."+B;r(this,"deltaMsgObj",Z),r(this,"initialDeltaValue",U),r(this,"finalDeltaValue",J),r(this,"deltaBehavior","increase"),r(this,"realDelta",J-U),this.assert(J-U>0,"expected "+Z+" to increase","expected "+Z+" to not increase")}n.addMethod("increase",P),n.addMethod("increases",P);function L(g,B,M){M&&r(this,"message",M);var S=r(this,"object"),q=r(this,"message"),ee=r(this,"ssfi");new n(S,q,ee,!0).is.a("function");var U;B?(new n(g,q,ee,!0).to.have.property(B),U=g[B]):(new n(g,q,ee,!0).is.a("function"),U=g()),new n(U,q,ee,!0).is.a("number"),S();var J=B==null?g():g[B],Z=B==null?U:"."+B;r(this,"deltaMsgObj",Z),r(this,"initialDeltaValue",U),r(this,"finalDeltaValue",J),r(this,"deltaBehavior","decrease"),r(this,"realDelta",U-J),this.assert(J-U<0,"expected "+Z+" to decrease","expected "+Z+" to not decrease")}n.addMethod("decrease",L),n.addMethod("decreases",L);function x(g,B){B&&r(this,"message",B);var M=r(this,"deltaMsgObj"),S=r(this,"initialDeltaValue"),q=r(this,"finalDeltaValue"),ee=r(this,"deltaBehavior"),U=r(this,"realDelta"),J;ee==="change"?J=Math.abs(q-S)===Math.abs(g):J=U===Math.abs(g),this.assert(J,"expected "+M+" to "+ee+" by "+g,"expected "+M+" to not "+ee+" by "+g)}n.addMethod("by",x),n.addProperty("extensible",function(){var g=r(this,"object"),B=g===Object(g)&&Object.isExtensible(g);this.assert(B,"expected #{this} to be extensible","expected #{this} to not be extensible")}),n.addProperty("sealed",function(){var g=r(this,"object"),B=g===Object(g)?Object.isSealed(g):!0;this.assert(B,"expected #{this} to be sealed","expected #{this} to not be sealed")}),n.addProperty("frozen",function(){var g=r(this,"object"),B=g===Object(g)?Object.isFrozen(g):!0;this.assert(B,"expected #{this} to be frozen","expected #{this} to not be frozen")}),n.addProperty("finite",function(g){var B=r(this,"object");this.assert(typeof B=="number"&&isFinite(B),"expected #{this} to be a finite number","expected #{this} to not be a finite number")})}});var SVe=D((uda,kVe)=>{u();p();kVe.exports=function(t,e){t.expect=function(n,a){return new t.Assertion(n,a)},t.expect.fail=function(n,a,r,f){throw arguments.length<2&&(r=n,n=void 0),r=r||"expect.fail()",new t.AssertionError(r,{actual:n,expected:a,operator:f},t.expect.fail)}}});var MVe=D((bda,RVe)=>{u();p();RVe.exports=function(t,e){var n=t.Assertion;function a(){function r(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new n(this.valueOf(),null,r):new n(this,null,r)}function f(s){Object.defineProperty(this,"should",{value:s,enumerable:!0,configurable:!0,writable:!0})}Object.defineProperty(Object.prototype,"should",{set:f,get:r,configurable:!0});var i={};return i.fail=function(s,o,c,d){throw arguments.length<2&&(c=s,s=void 0),c=c||"should.fail()",new t.AssertionError(c,{actual:s,expected:o,operator:d},i.fail)},i.equal=function(s,o,c){new n(s,c).to.equal(o)},i.Throw=function(s,o,c,d){new n(s,d).to.Throw(o,c)},i.exist=function(s,o){new n(s,o).to.exist},i.not={},i.not.equal=function(s,o,c){new n(s,c).to.not.equal(o)},i.not.Throw=function(s,o,c,d){new n(s,d).to.not.Throw(o,c)},i.not.exist=function(s,o){new n(s,o).to.not.exist},i.throw=i.Throw,i.not.throw=i.not.Throw,i}t.should=a,t.Should=a}});var DVe=D((gda,BVe)=>{u();p();BVe.exports=function(t,e){var n=t.Assertion,a=e.flag;var r=t.assert=function(f,i){var s=new n(null,null,t.assert,!0);s.assert(f,i,"[ negation message unavailable ]")};r.fail=function(f,i,s,o){throw arguments.length<2&&(s=f,f=void 0),s=s||"assert.fail()",new t.AssertionError(s,{actual:f,expected:i,operator:o},r.fail)},r.isOk=function(f,i){new n(f,i,r.isOk,!0).is.ok},r.isNotOk=function(f,i){new n(f,i,r.isNotOk,!0).is.not.ok},r.equal=function(f,i,s){var o=new n(f,s,r.equal,!0);o.assert(i==a(o,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",i,f,!0)},r.notEqual=function(f,i,s){var o=new n(f,s,r.notEqual,!0);o.assert(i!=a(o,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",i,f,!0)},r.strictEqual=function(f,i,s){new n(f,s,r.strictEqual,!0).to.equal(i)},r.notStrictEqual=function(f,i,s){new n(f,s,r.notStrictEqual,!0).to.not.equal(i)},r.deepEqual=r.deepStrictEqual=function(f,i,s){new n(f,s,r.deepEqual,!0).to.eql(i)},r.notDeepEqual=function(f,i,s){new n(f,s,r.notDeepEqual,!0).to.not.eql(i)},r.isAbove=function(f,i,s){new n(f,s,r.isAbove,!0).to.be.above(i)},r.isAtLeast=function(f,i,s){new n(f,s,r.isAtLeast,!0).to.be.least(i)},r.isBelow=function(f,i,s){new n(f,s,r.isBelow,!0).to.be.below(i)},r.isAtMost=function(f,i,s){new n(f,s,r.isAtMost,!0).to.be.most(i)},r.isTrue=function(f,i){new n(f,i,r.isTrue,!0).is.true},r.isNotTrue=function(f,i){new n(f,i,r.isNotTrue,!0).to.not.equal(!0)},r.isFalse=function(f,i){new n(f,i,r.isFalse,!0).is.false},r.isNotFalse=function(f,i){new n(f,i,r.isNotFalse,!0).to.not.equal(!1)},r.isNull=function(f,i){new n(f,i,r.isNull,!0).to.equal(null)},r.isNotNull=function(f,i){new n(f,i,r.isNotNull,!0).to.not.equal(null)},r.isNaN=function(f,i){new n(f,i,r.isNaN,!0).to.be.NaN},r.isNotNaN=function(f,i){new n(f,i,r.isNotNaN,!0).not.to.be.NaN},r.exists=function(f,i){new n(f,i,r.exists,!0).to.exist},r.notExists=function(f,i){new n(f,i,r.notExists,!0).to.not.exist},r.isUndefined=function(f,i){new n(f,i,r.isUndefined,!0).to.equal(void 0)},r.isDefined=function(f,i){new n(f,i,r.isDefined,!0).to.not.equal(void 0)},r.isFunction=function(f,i){new n(f,i,r.isFunction,!0).to.be.a("function")},r.isNotFunction=function(f,i){new n(f,i,r.isNotFunction,!0).to.not.be.a("function")},r.isObject=function(f,i){new n(f,i,r.isObject,!0).to.be.a("object")},r.isNotObject=function(f,i){new n(f,i,r.isNotObject,!0).to.not.be.a("object")},r.isArray=function(f,i){new n(f,i,r.isArray,!0).to.be.an("array")},r.isNotArray=function(f,i){new n(f,i,r.isNotArray,!0).to.not.be.an("array")},r.isString=function(f,i){new n(f,i,r.isString,!0).to.be.a("string")},r.isNotString=function(f,i){new n(f,i,r.isNotString,!0).to.not.be.a("string")},r.isNumber=function(f,i){new n(f,i,r.isNumber,!0).to.be.a("number")},r.isNotNumber=function(f,i){new n(f,i,r.isNotNumber,!0).to.not.be.a("number")},r.isFinite=function(f,i){new n(f,i,r.isFinite,!0).to.be.finite},r.isBoolean=function(f,i){new n(f,i,r.isBoolean,!0).to.be.a("boolean")},r.isNotBoolean=function(f,i){new n(f,i,r.isNotBoolean,!0).to.not.be.a("boolean")},r.typeOf=function(f,i,s){new n(f,s,r.typeOf,!0).to.be.a(i)},r.notTypeOf=function(f,i,s){new n(f,s,r.notTypeOf,!0).to.not.be.a(i)},r.instanceOf=function(f,i,s){new n(f,s,r.instanceOf,!0).to.be.instanceOf(i)},r.notInstanceOf=function(f,i,s){new n(f,s,r.notInstanceOf,!0).to.not.be.instanceOf(i)},r.include=function(f,i,s){new n(f,s,r.include,!0).include(i)},r.notInclude=function(f,i,s){new n(f,s,r.notInclude,!0).not.include(i)},r.deepInclude=function(f,i,s){new n(f,s,r.deepInclude,!0).deep.include(i)},r.notDeepInclude=function(f,i,s){new n(f,s,r.notDeepInclude,!0).not.deep.include(i)},r.nestedInclude=function(f,i,s){new n(f,s,r.nestedInclude,!0).nested.include(i)},r.notNestedInclude=function(f,i,s){new n(f,s,r.notNestedInclude,!0).not.nested.include(i)},r.deepNestedInclude=function(f,i,s){new n(f,s,r.deepNestedInclude,!0).deep.nested.include(i)},r.notDeepNestedInclude=function(f,i,s){new n(f,s,r.notDeepNestedInclude,!0).not.deep.nested.include(i)},r.ownInclude=function(f,i,s){new n(f,s,r.ownInclude,!0).own.include(i)},r.notOwnInclude=function(f,i,s){new n(f,s,r.notOwnInclude,!0).not.own.include(i)},r.deepOwnInclude=function(f,i,s){new n(f,s,r.deepOwnInclude,!0).deep.own.include(i)},r.notDeepOwnInclude=function(f,i,s){new n(f,s,r.notDeepOwnInclude,!0).not.deep.own.include(i)},r.match=function(f,i,s){new n(f,s,r.match,!0).to.match(i)},r.notMatch=function(f,i,s){new n(f,s,r.notMatch,!0).to.not.match(i)},r.property=function(f,i,s){new n(f,s,r.property,!0).to.have.property(i)},r.notProperty=function(f,i,s){new n(f,s,r.notProperty,!0).to.not.have.property(i)},r.propertyVal=function(f,i,s,o){new n(f,o,r.propertyVal,!0).to.have.property(i,s)},r.notPropertyVal=function(f,i,s,o){new n(f,o,r.notPropertyVal,!0).to.not.have.property(i,s)},r.deepPropertyVal=function(f,i,s,o){new n(f,o,r.deepPropertyVal,!0).to.have.deep.property(i,s)},r.notDeepPropertyVal=function(f,i,s,o){new n(f,o,r.notDeepPropertyVal,!0).to.not.have.deep.property(i,s)},r.ownProperty=function(f,i,s){new n(f,s,r.ownProperty,!0).to.have.own.property(i)},r.notOwnProperty=function(f,i,s){new n(f,s,r.notOwnProperty,!0).to.not.have.own.property(i)},r.ownPropertyVal=function(f,i,s,o){new n(f,o,r.ownPropertyVal,!0).to.have.own.property(i,s)},r.notOwnPropertyVal=function(f,i,s,o){new n(f,o,r.notOwnPropertyVal,!0).to.not.have.own.property(i,s)},r.deepOwnPropertyVal=function(f,i,s,o){new n(f,o,r.deepOwnPropertyVal,!0).to.have.deep.own.property(i,s)},r.notDeepOwnPropertyVal=function(f,i,s,o){new n(f,o,r.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(i,s)},r.nestedProperty=function(f,i,s){new n(f,s,r.nestedProperty,!0).to.have.nested.property(i)},r.notNestedProperty=function(f,i,s){new n(f,s,r.notNestedProperty,!0).to.not.have.nested.property(i)},r.nestedPropertyVal=function(f,i,s,o){new n(f,o,r.nestedPropertyVal,!0).to.have.nested.property(i,s)},r.notNestedPropertyVal=function(f,i,s,o){new n(f,o,r.notNestedPropertyVal,!0).to.not.have.nested.property(i,s)},r.deepNestedPropertyVal=function(f,i,s,o){new n(f,o,r.deepNestedPropertyVal,!0).to.have.deep.nested.property(i,s)},r.notDeepNestedPropertyVal=function(f,i,s,o){new n(f,o,r.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(i,s)},r.lengthOf=function(f,i,s){new n(f,s,r.lengthOf,!0).to.have.lengthOf(i)},r.hasAnyKeys=function(f,i,s){new n(f,s,r.hasAnyKeys,!0).to.have.any.keys(i)},r.hasAllKeys=function(f,i,s){new n(f,s,r.hasAllKeys,!0).to.have.all.keys(i)},r.containsAllKeys=function(f,i,s){new n(f,s,r.containsAllKeys,!0).to.contain.all.keys(i)},r.doesNotHaveAnyKeys=function(f,i,s){new n(f,s,r.doesNotHaveAnyKeys,!0).to.not.have.any.keys(i)},r.doesNotHaveAllKeys=function(f,i,s){new n(f,s,r.doesNotHaveAllKeys,!0).to.not.have.all.keys(i)},r.hasAnyDeepKeys=function(f,i,s){new n(f,s,r.hasAnyDeepKeys,!0).to.have.any.deep.keys(i)},r.hasAllDeepKeys=function(f,i,s){new n(f,s,r.hasAllDeepKeys,!0).to.have.all.deep.keys(i)},r.containsAllDeepKeys=function(f,i,s){new n(f,s,r.containsAllDeepKeys,!0).to.contain.all.deep.keys(i)},r.doesNotHaveAnyDeepKeys=function(f,i,s){new n(f,s,r.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(i)},r.doesNotHaveAllDeepKeys=function(f,i,s){new n(f,s,r.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(i)},r.throws=function(f,i,s,o){(typeof i=="string"||i instanceof RegExp)&&(s=i,i=null);var c=new n(f,o,r.throws,!0).to.throw(i,s);return a(c,"object")},r.doesNotThrow=function(f,i,s,o){(typeof i=="string"||i instanceof RegExp)&&(s=i,i=null),new n(f,o,r.doesNotThrow,!0).to.not.throw(i,s)},r.operator=function(f,i,s,o){var c;switch(i){case"==":c=f==s;break;case"===":c=f===s;break;case">":c=f>s;break;case">=":c=f>=s;break;case"<":c=f{u();p();var PVe=[];S6.version="4.3.8";S6.AssertionError=a1e();var LVe=EVe();S6.use=function(t){return~PVe.indexOf(t)||(t(S6,LVe),PVe.push(t)),S6};S6.util=LVe;var sWt=K7();S6.config=sWt;var oWt=AVe();S6.use(oWt);var cWt=IVe();S6.use(cWt);var dWt=SVe();S6.use(dWt);var lWt=MVe();S6.use(lWt);var uWt=DVe();S6.use(uWt)});var NVe=D((_da,FVe)=>{u();p();FVe.exports=Sb()});var HVe=D(_x=>{"use strict";u();p();Object.defineProperty(_x,"__esModule",{value:!0});_x.expectApprox=_x.awaitCondition=void 0;var OVe=NVe(),UVe=ia(),pWt=n1e(),hWt=async(t,e=1e3,n=10)=>{for(let a=0;a{if(t=UVe.BigNumber.from(t),e=UVe.BigNumber.from(e),!(n||a||r||f))throw new Error("Must define at least one parameter to limit the deviation of the actual value.");let s,o=n?e.mul(100+n).div(100):null,c=r?e.add(r):null;o&&c?s=o.lte(c)?o:c:s=o||c;let d,l=a?e.mul(100-a).div(100):null,h=f?e.sub(f):null;l&&h?d=l.gte(h)?l:h:d=l||h,s&&(0,OVe.expect)(t.lte(s),`Actual value (${t}) is greater than the calculated upper bound of (${s})`).to.be.true,d&&(0,OVe.expect)(t.gte(d),`Actual value (${t}) is less than the calculated lower bound of (${d})`).to.be.true};_x.expectApprox=bWt});var fq=D(Tl=>{"use strict";u();p();var mWt=Tl&&Tl.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),sR=Tl&&Tl.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&mWt(e,t,n)};Object.defineProperty(Tl,"__esModule",{value:!0});sR($Ke(),Tl);sR(ZKe(),Tl);sR(t1e(),Tl);sR(n1e(),Tl);sR(HVe(),Tl)});var WVe=D(zVe=>{"use strict";u();p();Object.defineProperty(zVe,"__esModule",{value:!0})});var qVe=D(Y7=>{"use strict";u();p();var yWt=Y7&&Y7.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),gWt=Y7&&Y7.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&yWt(e,t,n)};Object.defineProperty(Y7,"__esModule",{value:!0});gWt(WVe(),Y7)});var jVe=D(iq=>{"use strict";u();p();Object.defineProperty(iq,"__esModule",{value:!0});iq.getChainId=void 0;var vWt=async t=>(await t.getNetwork()).chainId;iq.getChainId=vWt});var GVe=D($7=>{"use strict";u();p();var wWt=$7&&$7.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),TWt=$7&&$7.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&wWt(e,t,n)};Object.defineProperty($7,"__esModule",{value:!0});TWt(jVe(),$7)});var QVe=D(Rb=>{"use strict";u();p();var xWt=Rb&&Rb.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),KVe=Rb&&Rb.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&xWt(e,t,n)};Object.defineProperty(Rb,"__esModule",{value:!0});KVe(qVe(),Rb);KVe(GVe(),Rb)});var JVe=D(ru=>{"use strict";u();p();Object.defineProperty(ru,"__esModule",{value:!0});ru.undoL1ToL2Alias=ru.applyL1ToL2Alias=ru.L1_TO_L2_ALIAS_OFFSET=void 0;var VVe=Bo(),YVe=ia(),$Ve=fq();ru.L1_TO_L2_ALIAS_OFFSET="0x1111000000000000000000000000000000001111";var EWt=t=>{if(!(0,VVe.isAddress)(t))throw new Error(`not a valid address: ${t}`);return(0,$Ve.bnToAddress)(YVe.BigNumber.from(t).add(ru.L1_TO_L2_ALIAS_OFFSET))};ru.applyL1ToL2Alias=EWt;var _Wt=t=>{if(!(0,VVe.isAddress)(t))throw new Error(`not a valid address: ${t}`);return(0,$Ve.bnToAddress)(YVe.BigNumber.from(t).sub(ru.L1_TO_L2_ALIAS_OFFSET))};ru.undoL1ToL2Alias=_Wt});var XVe=D(pf=>{"use strict";u();p();Object.defineProperty(pf,"__esModule",{value:!0});pf.calldataCost=pf.zeroesAndOnes=pf.calculateL1Fee=pf.calculateL1GasUsed=pf.scaleDecimals=pf.txDataNonZeroGasEIP2028=pf.txDataZeroGas=void 0;var Ax=ia(),AWt=fq();pf.txDataZeroGas=4;pf.txDataNonZeroGasEIP2028=16;var CWt=Ax.BigNumber.from(10),IWt=(t,e)=>{t=Ax.BigNumber.from(t),e=Ax.BigNumber.from(e);let n=CWt.pow(e);return t.div(n)};pf.scaleDecimals=IWt;var kWt=(t,e)=>{let[n,a]=(0,pf.zeroesAndOnes)(t),r=n*pf.txDataZeroGas,f=(a+68)*pf.txDataNonZeroGasEIP2028;return Ax.BigNumber.from(f).add(r).add(e)};pf.calculateL1GasUsed=kWt;var SWt=(t,e,n,a,r)=>{let s=(0,pf.calculateL1GasUsed)(t,e).mul(n).mul(a);return(0,pf.scaleDecimals)(s,r)};pf.calculateL1Fee=SWt;var RWt=t=>{typeof t=="string"&&(t=_.Buffer.from((0,AWt.remove0x)(t),"hex"));let e=0,n=0;for(let a of t)a===0?e++:n++;return[e,n]};pf.zeroesAndOnes=RWt;var MWt=t=>{let[e,n]=(0,pf.zeroesAndOnes)(t),a=Ax.BigNumber.from(e).mul(pf.txDataZeroGas),r=Ax.BigNumber.from(n).mul(pf.txDataNonZeroGasEIP2028);return a.add(r)};pf.calldataCost=MWt});var eYe=D(ZVe=>{"use strict";u();p();Object.defineProperty(ZVe,"__esModule",{value:!0})});var aYe=D(J5=>{"use strict";u();p();var BWt=J5&&J5.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),DWt=J5&&J5.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),PWt=J5&&J5.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&BWt(e,t,n);return DWt(e,t),e};Object.defineProperty(J5,"__esModule",{value:!0});J5.DepositTx=J5.SourceHashDomain=void 0;var v1e=Bo(),fu=ia(),m1e=O1(),LWt=w3(),tYe=PWt(pI()),xl=Vt(),FWt=t=>t?new Uint8Array([1]):new Uint8Array([]),y1e=(t,e)=>{let n=(0,xl.stripZeros)(fu.BigNumber.from(t).toHexString());if(n.length>32)throw new Error(`invalid length for ${e}`);return n},NWt=t=>{if(t==="0x")return!1;if(t==="0x01")return!0;throw new Error(`invalid boolean RLP hex value ${t}`)},g1e=t=>t==="0x"?LWt.Zero:fu.BigNumber.from(t),nYe=t=>t==="0x"?null:(0,v1e.getAddress)(t),oR;(function(t){t[t.UserDeposit=0]="UserDeposit",t[t.L1InfoDeposit=1]="L1InfoDeposit"})(oR||(J5.SourceHashDomain=oR={}));var w1e=class{constructor(e={}){this.type=126,this.version=0,this._sourceHash=e.sourceHash,this.from=e.from,this.to=e.to,this.mint=e.mint,this.value=e.value,this.gas=e.gas,this.isSystemTransaction=e.isSystemTransaction||!1,this.data=e.data,this.domain=e.domain,this.l1BlockHash=e.l1BlockHash,this.logIndex=e.logIndex,this.sequenceNumber=e.sequenceNumber}hash(){let e=this.encode();return(0,m1e.keccak256)(e)}sourceHash(){if(!this._sourceHash){let e;switch(this.domain){case oR.UserDeposit:e=fu.BigNumber.from(this.logIndex).toHexString();break;case oR.L1InfoDeposit:e=fu.BigNumber.from(this.sequenceNumber).toHexString();break;default:throw new Error(`Unknown domain: ${this.domain}`)}if(!this.l1BlockHash)throw new Error("Need l1BlockHash to compute sourceHash");let n=this.l1BlockHash,a=(0,xl.hexConcat)([n,(0,xl.zeroPad)(e,32)]),r=(0,m1e.keccak256)(a),f=fu.BigNumber.from(this.domain).toHexString(),i=(0,xl.hexConcat)([(0,xl.zeroPad)(f,32),r]);this._sourceHash=(0,m1e.keccak256)(i)}return this._sourceHash}encode(){let e=[this.sourceHash()||"0x",(0,v1e.getAddress)(this.from)||"0x",this.to!=null?(0,v1e.getAddress)(this.to):"0x",y1e(this.mint||0,"mint"),y1e(this.value||0,"value"),y1e(this.gas||0,"gas"),FWt(this.isSystemTransaction),this.data||"0x"];return(0,xl.hexConcat)([fu.BigNumber.from(this.type).toHexString(),tYe.encode(e)])}decode(e,n={}){let a=(0,xl.arrayify)(e);if(a[0]!==this.type)throw new Error(`Invalid type ${a[0]}`);this.version=a[1];let r=tYe.decode(a.slice(1));return this._sourceHash=r[0],this.from=nYe(r[1]),this.to=nYe(r[2]),this.mint=g1e(r[3]),this.value=g1e(r[4]),this.gas=g1e(r[5]),this.isSystemTransaction=NWt(r[6]),this.data=r[7],"l1BlockHash"in n&&(this.l1BlockHash=n.l1BlockHash),"domain"in n&&(this.domain=n.domain),"logIndex"in n&&(this.logIndex=n.logIndex),"sequenceNumber"in n&&(this.sequenceNumber=n.sequenceNumber),this}static decode(e,n){return new this().decode(e,n)}fromL1Receipt(e,n){if(!e.events)throw new Error("cannot parse receipt");let a=e.events[n];if(!a)throw new Error(`event index ${n} does not exist`);return this.fromL1Event(a)}static fromL1Receipt(e,n){return new this({}).fromL1Receipt(e,n)}fromL1Event(e){if(e.event!=="TransactionDeposited")throw new Error(`incorrect event type: ${e.event}`);if(typeof e.args>"u")throw new Error("no event args");if(typeof e.args.from>"u")throw new Error('"from" undefined');if(this.from=e.args.from,typeof e.args.to>"u")throw new Error('"to" undefined');if(typeof e.args.version>"u")throw new Error('"verison" undefined');if(!e.args.version.eq(0))throw new Error(`Unsupported version ${e.args.version.toString()}`);if(typeof e.args.opaqueData>"u")throw new Error('"opaqueData" undefined');let n=e.args.opaqueData;if(n.length<73)throw new Error(`invalid opaqueData size: ${n.length}`);let a=0;this.mint=fu.BigNumber.from((0,xl.hexDataSlice)(n,a,a+32)),a+=32,this.value=fu.BigNumber.from((0,xl.hexDataSlice)(n,a,a+32)),a+=32,this.gas=fu.BigNumber.from((0,xl.hexDataSlice)(n,a,a+8)),a+=8;let r=fu.BigNumber.from(n[a]).eq(1);a+=1,this.to=r===!0?null:e.args.to;let f=n.length-a;return this.isSystemTransaction=!1,this.data=(0,xl.hexDataSlice)(n,a,a+f),this.domain=oR.UserDeposit,this.l1BlockHash=e.blockHash,this.logIndex=e.logIndex,this}static fromL1Event(e){return new this({}).fromL1Event(e)}};J5.DepositTx=w1e});var T1e=D(G1=>{"use strict";u();p();Object.defineProperty(G1,"__esModule",{value:!0});G1.encodeCrossDomainMessage=G1.encodeCrossDomainMessageV1=G1.encodeCrossDomainMessageV0=G1.decodeVersionedNonce=G1.encodeVersionedNonce=void 0;var OWt=ia(),UWt=hw(),rYe=new UWt.Interface(["function relayMessage(address,address,bytes,uint256)","function relayMessage(uint256,address,address,uint256,uint256,bytes)"]),HWt=OWt.BigNumber.from("0x0000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),zWt=(t,e)=>e.or(t.shl(240));G1.encodeVersionedNonce=zWt;var WWt=t=>({version:t.shr(240),nonce:t.and(HWt)});G1.decodeVersionedNonce=WWt;var qWt=(t,e,n,a)=>rYe.encodeFunctionData("relayMessage(address,address,bytes,uint256)",[t,e,n,a]);G1.encodeCrossDomainMessageV0=qWt;var jWt=(t,e,n,a,r,f)=>rYe.encodeFunctionData("relayMessage(uint256,address,address,uint256,uint256,bytes)",[t,e,n,a,r,f]);G1.encodeCrossDomainMessageV1=jWt;var GWt=(t,e,n,a,r,f)=>{let{version:i}=(0,G1.decodeVersionedNonce)(t);if(i.eq(0))return(0,G1.encodeCrossDomainMessageV0)(n,e,f,t);if(i.eq(1))return(0,G1.encodeCrossDomainMessageV1)(t,e,n,a,r,f);throw new Error(`unknown version ${i.toString()}`)};G1.encodeCrossDomainMessage=GWt});var iYe=D(Oc=>{"use strict";u();p();Object.defineProperty(Oc,"__esModule",{value:!0});Oc.hashOutputRootProof=Oc.hashWithdrawal=Oc.hashCrossDomainMessagev1=Oc.hashCrossDomainMessagev0=Oc.hashCrossDomainMessage=void 0;var sq=O1(),fYe=hw(),x1e=T1e(),KWt=(t,e,n,a,r,f)=>{let{version:i}=(0,x1e.decodeVersionedNonce)(t);if(i.eq(0))return(0,Oc.hashCrossDomainMessagev0)(n,e,f,t);if(i.eq(1))return(0,Oc.hashCrossDomainMessagev1)(t,e,n,a,r,f);throw new Error(`unknown version ${i.toString()}`)};Oc.hashCrossDomainMessage=KWt;var QWt=(t,e,n,a)=>(0,sq.keccak256)((0,x1e.encodeCrossDomainMessageV0)(t,e,n,a));Oc.hashCrossDomainMessagev0=QWt;var VWt=(t,e,n,a,r,f)=>(0,sq.keccak256)((0,x1e.encodeCrossDomainMessageV1)(t,e,n,a,r,f));Oc.hashCrossDomainMessagev1=VWt;var YWt=(t,e,n,a,r,f)=>{let i=["uint256","address","address","uint256","uint256","bytes"],s=fYe.defaultAbiCoder.encode(i,[t,e,n,a,r,f]);return(0,sq.keccak256)(s)};Oc.hashWithdrawal=YWt;var $Wt=t=>(0,sq.keccak256)(fYe.defaultAbiCoder.encode(["bytes32","bytes32","bytes32","bytes32"],[t.version,t.stateRoot,t.messagePasserStorageRoot,t.latestBlockhash]));Oc.hashOutputRootProof=$Wt});var sYe=D(Cx=>{"use strict";u();p();var JWt=Cx&&Cx.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Cx,"__esModule",{value:!0});Cx.OpNodeProvider=void 0;var XWt=JWt(Nr()),a1=ia(),ZWt=Ba(),eqt=A8(),tqt=t=>{if(t.error){let e=new Error(t.error.message);throw e.code=t.error.code,e.data=t.error.data,e}return t.result},E1e=class extends XWt.default{constructor(e){super(),this._nextId=0,typeof e=="string"?this.connection={url:e}:this.connection=e}async syncStatus(){let e=await this.send("optimism_syncStatus",[]);return{currentL1:{hash:e.current_l1.hash,number:a1.BigNumber.from(e.current_l1.number),parentHash:e.current_l1.parentHash,timestamp:a1.BigNumber.from(e.current_l1.timestamp)},headL1:{hash:e.head_l1.hash,number:a1.BigNumber.from(e.head_l1.number),parentHash:e.head_l1.parentHash,timestamp:a1.BigNumber.from(e.head_l1.timestamp)},unsafeL2:{hash:e.unsafe_l2.hash,number:a1.BigNumber.from(e.unsafe_l2.number),parentHash:e.unsafe_l2.parentHash,timestamp:a1.BigNumber.from(e.unsafe_l2.timestamp),l1Origin:{hash:e.unsafe_l2.l1origin.hash,number:a1.BigNumber.from(e.unsafe_l2.l1origin.number)},sequencerNumber:a1.BigNumber.from(e.unsafe_l2.sequenceNumber)},safeL2:{hash:e.safe_l2.hash,number:a1.BigNumber.from(e.safe_l2.number),parentHash:e.safe_l2.parentHash,timestamp:a1.BigNumber.from(e.safe_l2.timestamp),l1Origin:{hash:e.safe_l2.l1origin.hash,number:a1.BigNumber.from(e.safe_l2.l1origin.number)},sequencerNumber:a1.BigNumber.from(e.safe_l2.sequenceNumber)},finalizedL2:{hash:e.finalized_l2.hash,number:a1.BigNumber.from(e.finalized_l2.number),parentHash:e.finalized_l2.parentHash,timestamp:a1.BigNumber.from(e.finalized_l2.timestamp),l1Origin:{hash:e.finalized_l2.l1origin.hash,number:a1.BigNumber.from(e.finalized_l2.l1origin.number)},sequencerNumber:a1.BigNumber.from(e.finalized_l2.sequenceNumber)}}}async rollupConfig(){return await this.send("optimism_rollupConfig",[])}send(e,n){let a={method:e,params:n,id:this._nextId++,jsonrpc:"2.0"};return this.emit("debug",{action:"request",request:(0,ZWt.deepCopy)(a),provider:this}),(0,eqt.fetchJson)(this.connection,JSON.stringify(a),tqt).then(f=>(this.emit("debug",{action:"response",request:a,response:f,provider:this}),f),f=>{throw this.emit("debug",{action:"response",error:f,request:a,provider:this}),f})}};Cx.OpNodeProvider=E1e});var cYe=D(Ix=>{"use strict";u();p();Object.defineProperty(Ix,"__esModule",{value:!0});Ix.defaultResourceConfig=Ix.predeploys=void 0;var oYe=Xe();Ix.predeploys={L2ToL1MessagePasser:"0x4200000000000000000000000000000000000016",DeployerWhitelist:"0x4200000000000000000000000000000000000002",L2CrossDomainMessenger:"0x4200000000000000000000000000000000000007",GasPriceOracle:"0x420000000000000000000000000000000000000F",L2StandardBridge:"0x4200000000000000000000000000000000000010",SequencerFeeVault:"0x4200000000000000000000000000000000000011",OptimismMintableERC20Factory:"0x4200000000000000000000000000000000000012",L1BlockNumber:"0x4200000000000000000000000000000000000013",L1Block:"0x4200000000000000000000000000000000000015",LegacyERC20ETH:"0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",WETH9:"0x4200000000000000000000000000000000000006",GovernanceToken:"0x4200000000000000000000000000000000000042",LegacyMessagePasser:"0x4200000000000000000000000000000000000000",L2ERC721Bridge:"0x4200000000000000000000000000000000000014",OptimismMintableERC721Factory:"0x4200000000000000000000000000000000000017",ProxyAdmin:"0x4200000000000000000000000000000000000018",BaseFeeVault:"0x4200000000000000000000000000000000000019",L1FeeVault:"0x420000000000000000000000000000000000001a"};var nqt=oYe.ethers.BigNumber.from("0xffffffffffffffffffffffffffffffff");Ix.defaultResourceConfig={maxResourceLimit:2e7,elasticityMultiplier:10,baseFeeMaxChangeDenominator:8,minimumBaseFee:oYe.ethers.utils.parseUnits("1","gwei"),systemTxMaxGas:1e6,maximumBaseFee:nqt}});var dYe=D(Uc=>{"use strict";u();p();var aqt=Uc&&Uc.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Mb=Uc&&Uc.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&aqt(e,t,n)};Object.defineProperty(Uc,"__esModule",{value:!0});Mb(JVe(),Uc);Mb(XVe(),Uc);Mb(eYe(),Uc);Mb(aYe(),Uc);Mb(T1e(),Uc);Mb(iYe(),Uc);Mb(sYe(),Uc);Mb(cYe(),Uc)});var uYe=D(oq=>{"use strict";u();p();Object.defineProperty(oq,"__esModule",{value:!0});oq.addChecksum=void 0;var rqt=Xe(),lYe=(t,e)=>e===void 0?null:e,_1e=t=>{if(Array.isArray(t))return`[${t.map(e=>_1e(e)).join(",")}]`;if(typeof t=="object"&&t!==null){let e="",n=Object.keys(t).sort();e+=`{${JSON.stringify(n,lYe)}`;for(let a of n)e+=`${_1e(t[a])},`;return`${e}}`}return`${JSON.stringify(t,lYe)}`},fqt=t=>{let e=_1e(Object.assign(Object.assign({},t),{meta:Object.assign(Object.assign({},t.meta),{name:null})}));return rqt.ethers.utils.solidityKeccak256(["string"],[e])||void 0},iqt=t=>Object.assign(Object.assign({},t),{meta:Object.assign(Object.assign({},t.meta),{checksum:fqt(t)})});oq.addChecksum=iqt});var hYe=D((kx,pYe)=>{"use strict";u();p();var sqt=function(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")},J7=sqt();pYe.exports=kx=J7.fetch;J7.fetch&&(kx.default=J7.fetch.bind(J7));kx.Headers=J7.Headers;kx.Request=J7.Request;kx.Response=J7.Response});var mYe=D(Sx=>{"use strict";u();p();var oqt=Sx&&Sx.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Sx,"__esModule",{value:!0});Sx.Etherscan=void 0;var cqt=oqt(hYe()),bYe={1:{chainId:1,names:["mainnet","main","eth","ethereum"],etherscanApiUrl:"https://api.etherscan.io"},3:{chainId:3,names:["ropsten"],etherscanApiUrl:"https://api-ropsten.etherscan.io"},4:{chainId:4,names:["rinkeby"],etherscanApiUrl:"https://api-rinkeby.etherscan.io"},5:{chainId:5,names:["goerli"],etherscanApiUrl:"https://api-goerli.etherscan.io"},10:{chainId:10,names:["optimism"],etherscanApiUrl:"https://api-optimistic.etherscan.io"},42:{chainId:42,names:["kovan"],etherscanApiUrl:"https://api-kovan.etherscan.io"},69:{chainId:69,names:["opkovan","kovan-optimism","optimistic-kovan"],etherscanApiUrl:"https://api-kovan-optimistic.etherscan.io"}},A1e=class{constructor(e,n){this.apiKey=e,this.network=n,typeof n=="string"?this.net=Object.values(bYe).find(a=>a.names.includes(n)):this.net=bYe[this.network]}async getContractSource(e){let n=new URL(`${this.net.etherscanApiUrl}/api`);return n.searchParams.append("module","contract"),n.searchParams.append("action","getsourcecode"),n.searchParams.append("address",e),n.searchParams.append("apikey",this.apiKey),(await(await(0,cqt.default)(n)).json()).result[0]}async getContractABI(e){let n=await this.getContractSource(e);return n.Proxy==="1"?(await this.getContractSource(n.Implementation)).ABI:n.ABI}};Sx.Etherscan=A1e});var k1e=D((Sla,wYe)=>{"use strict";u();p();function Bb(t){"@babel/helpers - typeof";return Bb=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bb(t)}function yYe(t,e){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function cq(t){return cq=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},cq(t)}var vYe={},Rx,C1e;function cR(t,e,n){n||(n=Error);function a(f,i,s){return typeof e=="string"?e:e(f,i,s)}var r=function(f){hqt(s,f);var i=bqt(s);function s(o,c,d){var l;return pqt(this,s),l=i.call(this,a(o,c,d)),l.code=t,l}return dqt(s)}(n);vYe[t]=r}function gYe(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map(function(a){return String(a)}),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:n===2?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}else return"of ".concat(e," ").concat(String(t))}function vqt(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function wqt(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function Tqt(t,e,n){return typeof n!="number"&&(n=0),n+e.length>t.length?!1:t.indexOf(e,n)!==-1}cR("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError);cR("ERR_INVALID_ARG_TYPE",function(t,e,n){Rx===void 0&&(Rx=X7()),Rx(typeof t=="string","'name' must be a string");var a;typeof e=="string"&&vqt(e,"not ")?(a="must not be",e=e.replace(/^not /,"")):a="must be";var r;if(wqt(t," argument"))r="The ".concat(t," ").concat(a," ").concat(gYe(e,"type"));else{var f=Tqt(t,".")?"property":"argument";r='The "'.concat(t,'" ').concat(f," ").concat(a," ").concat(gYe(e,"type"))}return r+=". Received type ".concat(Bb(n)),r},TypeError);cR("ERR_INVALID_ARG_VALUE",function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";C1e===void 0&&(C1e=nl());var a=C1e.inspect(e);return a.length>128&&(a="".concat(a.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(n,". Received ").concat(a)},TypeError,RangeError);cR("ERR_INVALID_RETURN_VALUE",function(t,e,n){var a;return n&&n.constructor&&n.constructor.name?a="instance of ".concat(n.constructor.name):a="type ".concat(Bb(n)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(a,".")},TypeError);cR("ERR_MISSING_ARGS",function(){for(var t=arguments.length,e=new Array(t),n=0;n0,"At least one arg needs to be specified");var a="The ",r=e.length;switch(e=e.map(function(f){return'"'.concat(f,'"')}),r){case 1:a+="".concat(e[0]," argument");break;case 2:a+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:a+=e.slice(0,r-1).join(", "),a+=", and ".concat(e[r-1]," arguments");break}return"".concat(a," must be specified")},TypeError);wYe.exports.codes=vYe});var RYe=D((Bla,SYe)=>{"use strict";u();p();function TYe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function xYe(t){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function kqt(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function pR(t,e){return pR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,r){return a.__proto__=r,a},pR(t,e)}function hR(t){return hR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},hR(t)}function Hc(t){"@babel/helpers - typeof";return Hc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hc(t)}var Sqt=nl(),M1e=Sqt.inspect,Rqt=k1e(),Mqt=Rqt.codes.ERR_INVALID_ARG_TYPE;function _Ye(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function Bqt(t,e){if(e=Math.floor(e),t.length==0||e==0)return"";var n=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+=t.substring(0,n-t.length),t}var El="",dR="",lR="",io="",Z7={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},Dqt=10;function AYe(t){var e=Object.keys(t),n=Object.create(Object.getPrototypeOf(t));return e.forEach(function(a){n[a]=t[a]}),Object.defineProperty(n,"message",{value:t.message}),n}function uR(t){return M1e(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Pqt(t,e,n){var a="",r="",f=0,i="",s=!1,o=uR(t),c=o.split(` `),d=uR(e).split(` -`),l=0,h="";if(n==="strictEqual"&&Hc(t)==="object"&&Hc(e)==="object"&&t!==null&&e!==null&&(n="strictEqualObject"),c.length===1&&d.length===1&&c[0]!==d[0]){var y=c[0].length+d[0].length;if(y<=Dqt){if((Hc(t)!=="object"||t===null)&&(Hc(e)!=="object"||e===null)&&(t!==0||e!==0))return"".concat(X7[n],` +`),l=0,h="";if(n==="strictEqual"&&Hc(t)==="object"&&Hc(e)==="object"&&t!==null&&e!==null&&(n="strictEqualObject"),c.length===1&&d.length===1&&c[0]!==d[0]){var y=c[0].length+d[0].length;if(y<=Dqt){if((Hc(t)!=="object"||t===null)&&(Hc(e)!=="object"||e===null)&&(t!==0||e!==0))return"".concat(Z7[n],` `)+"".concat(c[0]," !== ").concat(d[0],` `)}else if(n!=="strictEqualObject"){var v=E.stderr&&E.stderr.isTTY?E.stderr.columns:80;if(y2&&(h=` - `.concat(Bqt(" ",l),"^"),l=0)}}}for(var S=c[c.length-1],O=d[d.length-1];S===O&&(l++<2?i=` - `.concat(S).concat(i):a=S,c.pop(),d.pop(),!(c.length===0||d.length===0));)S=c[c.length-1],O=d[d.length-1];var F=Math.max(c.length,d.length);if(F===0){var z=o.split(` -`);if(z.length>30)for(z[26]="".concat(El,"...").concat(io);z.length>27;)z.pop();return"".concat(X7.notIdentical,` + `.concat(Bqt(" ",l),"^"),l=0)}}}for(var k=c[c.length-1],O=d[d.length-1];k===O&&(l++<2?i=` + `.concat(k).concat(i):a=k,c.pop(),d.pop(),!(c.length===0||d.length===0));)k=c[c.length-1],O=d[d.length-1];var F=Math.max(c.length,d.length);if(F===0){var z=o.split(` +`);if(z.length>30)for(z[26]="".concat(El,"...").concat(io);z.length>27;)z.pop();return"".concat(Z7.notIdentical,` `).concat(z.join(` `),` `)}l>3&&(i=` `.concat(El,"...").concat(io).concat(i),s=!0),a!==""&&(i=` - `.concat(a).concat(i),a="");var W=0,j=X7[n]+` + `.concat(a).concat(i),a="");var W=0,j=Z7[n]+` `.concat(dR,"+ actual").concat(io," ").concat(lR,"- expected").concat(io),Q=" ".concat(El,"...").concat(io," Lines skipped");for(l=0;l1&&l>2&&(V>4?(r+=` `.concat(El,"...").concat(io),s=!0):V>3&&(r+=` `.concat(d[l-2]),W++),r+=` @@ -70,21 +70,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `).concat(r,` `).concat(El,"...").concat(io).concat(a,` `)+"".concat(El,"...").concat(io)}return"".concat(j).concat(s?Q:"",` -`).concat(r).concat(a).concat(i).concat(h)}var Lqt=function(t,e){Cqt(a,t);var n=Iqt(a);function a(r){var f;if(Eqt(this,a),Hc(r)!=="object"||r===null)throw new Mqt("options","Object",r);var i=r.message,s=r.operator,o=r.stackStartFn,c=r.actual,d=r.expected,l=Error.stackTraceLimit;if(Error.stackTraceLimit=0,i!=null)f=n.call(this,String(i));else if(E.stderr&&E.stderr.isTTY&&(E.stderr&&E.stderr.getColorDepth&&E.stderr.getColorDepth()!==1?(El="\x1B[34m",dR="\x1B[32m",io="\x1B[39m",lR="\x1B[31m"):(El="",dR="",io="",lR="")),Hc(c)==="object"&&c!==null&&Hc(d)==="object"&&d!==null&&"stack"in c&&c instanceof Error&&"stack"in d&&d instanceof Error&&(c=AYe(c),d=AYe(d)),s==="deepStrictEqual"||s==="strictEqual")f=n.call(this,Pqt(c,d,s));else if(s==="notDeepStrictEqual"||s==="notStrictEqual"){var h=X7[s],y=uR(c).split(` -`);if(s==="notStrictEqual"&&Hc(c)==="object"&&c!==null&&(h=X7.notStrictEqualObject),y.length>30)for(y[26]="".concat(El,"...").concat(io);y.length>27;)y.pop();y.length===1?f=n.call(this,"".concat(h," ").concat(y[0])):f=n.call(this,"".concat(h,` +`).concat(r).concat(a).concat(i).concat(h)}var Lqt=function(t,e){Cqt(a,t);var n=Iqt(a);function a(r){var f;if(Eqt(this,a),Hc(r)!=="object"||r===null)throw new Mqt("options","Object",r);var i=r.message,s=r.operator,o=r.stackStartFn,c=r.actual,d=r.expected,l=Error.stackTraceLimit;if(Error.stackTraceLimit=0,i!=null)f=n.call(this,String(i));else if(E.stderr&&E.stderr.isTTY&&(E.stderr&&E.stderr.getColorDepth&&E.stderr.getColorDepth()!==1?(El="\x1B[34m",dR="\x1B[32m",io="\x1B[39m",lR="\x1B[31m"):(El="",dR="",io="",lR="")),Hc(c)==="object"&&c!==null&&Hc(d)==="object"&&d!==null&&"stack"in c&&c instanceof Error&&"stack"in d&&d instanceof Error&&(c=AYe(c),d=AYe(d)),s==="deepStrictEqual"||s==="strictEqual")f=n.call(this,Pqt(c,d,s));else if(s==="notDeepStrictEqual"||s==="notStrictEqual"){var h=Z7[s],y=uR(c).split(` +`);if(s==="notStrictEqual"&&Hc(c)==="object"&&c!==null&&(h=Z7.notStrictEqualObject),y.length>30)for(y[26]="".concat(El,"...").concat(io);y.length>27;)y.pop();y.length===1?f=n.call(this,"".concat(h," ").concat(y[0])):f=n.call(this,"".concat(h,` `).concat(y.join(` `),` -`))}else{var v=uR(c),S="",O=X7[s];s==="notDeepEqual"||s==="notEqual"?(v="".concat(X7[s],` +`))}else{var v=uR(c),k="",O=Z7[s];s==="notDeepEqual"||s==="notEqual"?(v="".concat(Z7[s],` -`).concat(v),v.length>1024&&(v="".concat(v.slice(0,1021),"..."))):(S="".concat(uR(d)),v.length>512&&(v="".concat(v.slice(0,509),"...")),S.length>512&&(S="".concat(S.slice(0,509),"...")),s==="deepEqual"||s==="equal"?v="".concat(O,` +`).concat(v),v.length>1024&&(v="".concat(v.slice(0,1021),"..."))):(k="".concat(uR(d)),v.length>512&&(v="".concat(v.slice(0,509),"...")),k.length>512&&(k="".concat(k.slice(0,509),"...")),s==="deepEqual"||s==="equal"?v="".concat(O,` `).concat(v,` should equal -`):S=" ".concat(s," ").concat(S)),f=n.call(this,"".concat(v).concat(S))}return Error.stackTraceLimit=l,f.generatedMessage=!i,Object.defineProperty(S1e(f),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),f.code="ERR_ASSERTION",f.actual=c,f.expected=d,f.operator=s,Error.captureStackTrace&&Error.captureStackTrace(S1e(f),o),f.stack,f.name="AssertionError",IYe(f)}return _qt(a,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:e,value:function(f,i){return M1e(this,xYe(xYe({},i),{},{customInspect:!1,depth:0}))}}]),a}(R1e(Error),M1e.custom);SYe.exports=Lqt});var B1e=D((Lla,BYe)=>{"use strict";u();p();var MYe=Object.prototype.toString;BYe.exports=function(e){var n=MYe.call(e),a=n==="[object Arguments]";return a||(a=n!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&MYe.call(e.callee)==="[object Function]"),a}});var zYe=D((Ola,HYe)=>{"use strict";u();p();var UYe;Object.keys||(bR=Object.prototype.hasOwnProperty,D1e=Object.prototype.toString,DYe=B1e(),P1e=Object.prototype.propertyIsEnumerable,PYe=!P1e.call({toString:null},"toString"),LYe=P1e.call(function(){},"prototype"),mR=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],lq=function(t){var e=t.constructor;return e&&e.prototype===t},FYe={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},NYe=function(){if(typeof window>"u")return!1;for(var t in window)try{if(!FYe["$"+t]&&bR.call(window,t)&&window[t]!==null&&typeof window[t]=="object")try{lq(window[t])}catch{return!0}}catch{return!0}return!1}(),OYe=function(t){if(typeof window>"u"||!NYe)return lq(t);try{return lq(t)}catch{return!1}},UYe=function(e){var n=e!==null&&typeof e=="object",a=D1e.call(e)==="[object Function]",r=DYe(e),f=n&&D1e.call(e)==="[object String]",i=[];if(!n&&!a&&!r)throw new TypeError("Object.keys called on a non-object");var s=LYe&&a;if(f&&e.length>0&&!bR.call(e,0))for(var o=0;o0)for(var c=0;c{"use strict";u();p();var Fqt=Array.prototype.slice,Nqt=B1e(),WYe=Object.keys,uq=WYe?function(e){return WYe(e)}:zYe(),qYe=Object.keys;uq.shim=function(){if(Object.keys){var e=function(){var n=Object.keys(arguments);return n&&n.length===arguments.length}(1,2);e||(Object.keys=function(a){return Nqt(a)?qYe(Fqt.call(a)):qYe(a)})}else Object.keys=uq;return Object.keys||uq};jYe.exports=uq});var $Ye=D((jla,YYe)=>{"use strict";u();p();var Oqt=L1e(),QYe=MN()(),VYe=TI(),GYe=Object,Uqt=VYe("Array.prototype.push"),KYe=VYe("Object.prototype.propertyIsEnumerable"),Hqt=QYe?Object.getOwnPropertySymbols:null;YYe.exports=function(e,n){if(e==null)throw new TypeError("target must be an object");var a=GYe(e);if(arguments.length===1)return a;for(var r=1;r{"use strict";u();p();var F1e=$Ye(),zqt=function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),n={},a=0;a{"use strict";u();p();var ZYe=function(t){return t!==t};e$e.exports=function(e,n){return e===0&&n===0?1/e===1/n:!!(e===n||ZYe(e)&&ZYe(n))}});var pq=D((Zla,t$e)=>{"use strict";u();p();var qqt=N1e();t$e.exports=function(){return typeof Object.is=="function"?Object.is:qqt}});var yR=D((n2a,f$e)=>{"use strict";u();p();var jqt=L1e(),Gqt=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Kqt=Object.prototype.toString,Qqt=Array.prototype.concat,n$e=gte(),Vqt=function(t){return typeof t=="function"&&Kqt.call(t)==="[object Function]"},a$e=wte()(),Yqt=function(t,e,n,a){if(e in t){if(a===!0){if(t[e]===n)return}else if(!Vqt(a)||!a())return}a$e?n$e(t,e,n,!0):n$e(t,e,n)},r$e=function(t,e){var n=arguments.length>2?arguments[2]:{},a=jqt(e);Gqt&&(a=Qqt.call(a,Object.getOwnPropertySymbols(e)));for(var r=0;r{"use strict";u();p();var $qt=pq(),Jqt=yR();i$e.exports=function(){var e=$qt();return Jqt(Object,{is:e},{is:function(){return Object.is!==e}}),e}});var l$e=D((o2a,d$e)=>{"use strict";u();p();var Xqt=yR(),Zqt=wI(),ejt=N1e(),o$e=pq(),tjt=s$e(),c$e=Zqt(o$e(),Object);Xqt(c$e,{getPolyfill:o$e,implementation:ejt,shim:tjt});d$e.exports=c$e});var O1e=D((l2a,u$e)=>{"use strict";u();p();u$e.exports=function(e){return e!==e}});var U1e=D((h2a,p$e)=>{"use strict";u();p();var njt=O1e();p$e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:njt}});var b$e=D((y2a,h$e)=>{"use strict";u();p();var ajt=yR(),rjt=U1e();h$e.exports=function(){var e=rjt();return ajt(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}});var v$e=D((w2a,g$e)=>{"use strict";u();p();var fjt=wI(),ijt=yR(),sjt=O1e(),m$e=U1e(),ojt=b$e(),y$e=fjt(m$e(),Number);ijt(y$e,{getPolyfill:m$e,implementation:sjt,shim:ojt});g$e.exports=y$e});var U$e=D((E2a,O$e)=>{"use strict";u();p();function w$e(t,e){return ujt(t)||ljt(t,e)||djt(t,e)||cjt()}function cjt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function djt(t,e){if(t){if(typeof t=="string")return T$e(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T$e(t,e)}}function T$e(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n10)return!0;for(var e=0;e57)return!0}return t.length===10&&t>=Math.pow(2,32)}function mq(t){return Object.keys(t).filter(Tjt).concat(gq(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function P$e(t,e){if(t===e)return 0;for(var n=t.length,a=e.length,r=0,f=Math.min(n,a);r{"use strict";u();p();function _l(t){"@babel/helpers - typeof";return _l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_l(t)}function H$e(t,e){for(var n=0;n{"use strict";u();p();var MYe=Object.prototype.toString;BYe.exports=function(e){var n=MYe.call(e),a=n==="[object Arguments]";return a||(a=n!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&MYe.call(e.callee)==="[object Function]"),a}});var zYe=D((Ola,HYe)=>{"use strict";u();p();var UYe;Object.keys||(bR=Object.prototype.hasOwnProperty,D1e=Object.prototype.toString,DYe=B1e(),P1e=Object.prototype.propertyIsEnumerable,PYe=!P1e.call({toString:null},"toString"),LYe=P1e.call(function(){},"prototype"),mR=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],lq=function(t){var e=t.constructor;return e&&e.prototype===t},FYe={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},NYe=function(){if(typeof window>"u")return!1;for(var t in window)try{if(!FYe["$"+t]&&bR.call(window,t)&&window[t]!==null&&typeof window[t]=="object")try{lq(window[t])}catch{return!0}}catch{return!0}return!1}(),OYe=function(t){if(typeof window>"u"||!NYe)return lq(t);try{return lq(t)}catch{return!1}},UYe=function(e){var n=e!==null&&typeof e=="object",a=D1e.call(e)==="[object Function]",r=DYe(e),f=n&&D1e.call(e)==="[object String]",i=[];if(!n&&!a&&!r)throw new TypeError("Object.keys called on a non-object");var s=LYe&&a;if(f&&e.length>0&&!bR.call(e,0))for(var o=0;o0)for(var c=0;c{"use strict";u();p();var Fqt=Array.prototype.slice,Nqt=B1e(),WYe=Object.keys,uq=WYe?function(e){return WYe(e)}:zYe(),qYe=Object.keys;uq.shim=function(){if(Object.keys){var e=function(){var n=Object.keys(arguments);return n&&n.length===arguments.length}(1,2);e||(Object.keys=function(a){return Nqt(a)?qYe(Fqt.call(a)):qYe(a)})}else Object.keys=uq;return Object.keys||uq};jYe.exports=uq});var $Ye=D((jla,YYe)=>{"use strict";u();p();var Oqt=L1e(),QYe=MN()(),VYe=TI(),GYe=Object,Uqt=VYe("Array.prototype.push"),KYe=VYe("Object.prototype.propertyIsEnumerable"),Hqt=QYe?Object.getOwnPropertySymbols:null;YYe.exports=function(e,n){if(e==null)throw new TypeError("target must be an object");var a=GYe(e);if(arguments.length===1)return a;for(var r=1;r{"use strict";u();p();var F1e=$Ye(),zqt=function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),n={},a=0;a{"use strict";u();p();var ZYe=function(t){return t!==t};e$e.exports=function(e,n){return e===0&&n===0?1/e===1/n:!!(e===n||ZYe(e)&&ZYe(n))}});var pq=D((Zla,t$e)=>{"use strict";u();p();var qqt=N1e();t$e.exports=function(){return typeof Object.is=="function"?Object.is:qqt}});var yR=D((n2a,f$e)=>{"use strict";u();p();var jqt=L1e(),Gqt=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Kqt=Object.prototype.toString,Qqt=Array.prototype.concat,n$e=gte(),Vqt=function(t){return typeof t=="function"&&Kqt.call(t)==="[object Function]"},a$e=wte()(),Yqt=function(t,e,n,a){if(e in t){if(a===!0){if(t[e]===n)return}else if(!Vqt(a)||!a())return}a$e?n$e(t,e,n,!0):n$e(t,e,n)},r$e=function(t,e){var n=arguments.length>2?arguments[2]:{},a=jqt(e);Gqt&&(a=Qqt.call(a,Object.getOwnPropertySymbols(e)));for(var r=0;r{"use strict";u();p();var $qt=pq(),Jqt=yR();i$e.exports=function(){var e=$qt();return Jqt(Object,{is:e},{is:function(){return Object.is!==e}}),e}});var l$e=D((o2a,d$e)=>{"use strict";u();p();var Xqt=yR(),Zqt=wI(),ejt=N1e(),o$e=pq(),tjt=s$e(),c$e=Zqt(o$e(),Object);Xqt(c$e,{getPolyfill:o$e,implementation:ejt,shim:tjt});d$e.exports=c$e});var O1e=D((l2a,u$e)=>{"use strict";u();p();u$e.exports=function(e){return e!==e}});var U1e=D((h2a,p$e)=>{"use strict";u();p();var njt=O1e();p$e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:njt}});var b$e=D((y2a,h$e)=>{"use strict";u();p();var ajt=yR(),rjt=U1e();h$e.exports=function(){var e=rjt();return ajt(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}});var v$e=D((w2a,g$e)=>{"use strict";u();p();var fjt=wI(),ijt=yR(),sjt=O1e(),m$e=U1e(),ojt=b$e(),y$e=fjt(m$e(),Number);ijt(y$e,{getPolyfill:m$e,implementation:sjt,shim:ojt});g$e.exports=y$e});var U$e=D((E2a,O$e)=>{"use strict";u();p();function w$e(t,e){return ujt(t)||ljt(t,e)||djt(t,e)||cjt()}function cjt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function djt(t,e){if(t){if(typeof t=="string")return T$e(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T$e(t,e)}}function T$e(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n10)return!0;for(var e=0;e57)return!0}return t.length===10&&t>=Math.pow(2,32)}function mq(t){return Object.keys(t).filter(Tjt).concat(gq(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function P$e(t,e){if(t===e)return 0;for(var n=t.length,a=e.length,r=0,f=Math.min(n,a);r{"use strict";u();p();function _l(t){"@babel/helpers - typeof";return _l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_l(t)}function H$e(t,e){for(var n=0;n1?n-1:0),r=1;r1?n-1:0),r=1;r1?n-1:0),r=1;r1?n-1:0),r=1;r{"use strict";u();p();var Qjt=Bx&&Bx.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Bx,"__esModule",{value:!0});Bx.setupProxyContract=void 0;var Cq=Qjt(J7()),xR=Xe(),{getAddress:Fb}=xR.utils,Vjt=async(t,e,{targetImplAddress:n,targetProxyOwnerAddress:a,postUpgradeCallCalldata:r})=>{let f=await t.connect(xR.ethers.constants.AddressZero).callStatic.admin(),i=await e.getAddress(),s=await t.connect(xR.ethers.constants.AddressZero).callStatic.implementation();if(console.log(`implementation currently set to ${s}`),Fb(s)!==Fb(n)){console.log("implementation not set to correct contract"),console.log(`Setting implementation to ${n}`),(0,Cq.default)(i===f,"the passed signer is not the admin, cannot update implementation");let d;r?(console.log("postUpgradeCallCalldata is provided. Using Proxy.upgradeAndCall()"),d=await t.connect(e).upgradeToAndCall(n,r)):(console.log("postUpgradeCallCalldata is not provided. Using Proxy.upgrade()"),d=await t.connect(e).upgradeTo(n));let l=await d.wait();console.log(`implementation set in ${l.transactionHash}`)}else console.log(`implementation already set correctly to ${n}`);if(console.log(`admin set to ${f}`),Fb(f)!==Fb(a)){console.log("detected admin is not set correctly"),console.log(`Setting admin to ${a}`),(0,Cq.default)(i===f,"proxyOwnerSigner is not the admin, cannot update admin");let l=await(await t.connect(e).changeAdmin(a)).wait();console.log(`admin set in ${l.transactionHash}`)}else console.log(`admin already set correctly to ${a}`);let o=await t.connect(xR.ethers.constants.AddressZero).callStatic.implementation(),c=await t.connect(xR.ethers.constants.AddressZero).callStatic.admin();(0,Cq.default)(Fb(c)===Fb(a),"Something went wrong - admin not set correctly after transaction"),(0,Cq.default)(Fb(o)===Fb(n),"Something went wrong - implementation not set correctly after transaction"),console.log(`Proxy at ${t.address} is set up with implementation: ${o} and admin: ${c}`)};Bx.setupProxyContract=Vjt});var W8=D(ed=>{"use strict";u();p();var Yjt=ed&&ed.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Dx=ed&&ed.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Yjt(e,t,n)};Object.defineProperty(ed,"__esModule",{value:!0});Dx(fq(),ed);Dx(QVe(),ed);Dx(dYe(),ed);Dx(uYe(),ed);Dx(mYe(),ed);Dx(rJe(),ed)});var ER=D(Px=>{"use strict";u();p();var V1e=Px&&Px.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Px,"__esModule",{value:!0});Px.StandardBridgeAdapter=void 0;var Nb=Xe(),G1e=xx(),Ob=W8(),$jt=V1e($oe()),Jjt=V1e(Joe()),K1e=V1e(Xoe()),fJe=wx(),r1=Ub(),Q1e=class{constructor(e){this.populateTransaction={approve:async(n,a,r,f)=>{if(!await this.supportsTokenPair(n,a))throw new Error("token pair not supported by bridge");return new Nb.Contract((0,r1.toAddress)(n),K1e.default.abi,this.messenger.l1Provider).populateTransaction.approve(this.l1Bridge.address,r,f?.overrides||{})},deposit:async(n,a,r,f)=>{if(!await this.supportsTokenPair(n,a))throw new Error("token pair not supported by bridge");return f?.recipient===void 0?this.l1Bridge.populateTransaction.depositERC20((0,r1.toAddress)(n),(0,r1.toAddress)(a),r,f?.l2GasLimit||2e5,"0x",f?.overrides||{}):this.l1Bridge.populateTransaction.depositERC20To((0,r1.toAddress)(n),(0,r1.toAddress)(a),(0,r1.toAddress)(f.recipient),r,f?.l2GasLimit||2e5,"0x",f?.overrides||{})},withdraw:async(n,a,r,f)=>{if(!await this.supportsTokenPair(n,a))throw new Error("token pair not supported by bridge");return f?.recipient===void 0?this.l2Bridge.populateTransaction.withdraw((0,r1.toAddress)(a),r,0,"0x",f?.overrides||{}):this.l2Bridge.populateTransaction.withdrawTo((0,r1.toAddress)(a),(0,r1.toAddress)(f.recipient),r,0,"0x",f?.overrides||{})}},this.estimateGas={approve:async(n,a,r,f)=>this.messenger.l1Provider.estimateGas(await this.populateTransaction.approve(n,a,r,f)),deposit:async(n,a,r,f)=>this.messenger.l1Provider.estimateGas(await this.populateTransaction.deposit(n,a,r,f)),withdraw:async(n,a,r,f)=>this.messenger.l2Provider.estimateGas(await this.populateTransaction.withdraw(n,a,r,f))},this.messenger=e.messenger,this.l1Bridge=new Nb.Contract((0,r1.toAddress)(e.l1Bridge),$jt.default.abi,this.messenger.l1Provider),this.l2Bridge=new Nb.Contract((0,r1.toAddress)(e.l2Bridge),Jjt.default.abi,this.messenger.l2Provider)}async getDepositsByAddress(e,n){return(await this.l1Bridge.queryFilter(this.l1Bridge.filters.ERC20DepositInitiated(void 0,void 0,e),n?.fromBlock,n?.toBlock)).filter(r=>!(0,Ob.hexStringEquals)(r.args.l1Token,Nb.ethers.constants.AddressZero)&&!(0,Ob.hexStringEquals)(r.args.l2Token,G1e.predeploys.OVM_ETH)).map(r=>({direction:fJe.MessageDirection.L1_TO_L2,from:r.args.from,to:r.args.to,l1Token:r.args.l1Token,l2Token:r.args.l2Token,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,f)=>f.blockNumber-r.blockNumber)}async getWithdrawalsByAddress(e,n){return(await this.l2Bridge.queryFilter(this.l2Bridge.filters.WithdrawalInitiated(void 0,void 0,e),n?.fromBlock,n?.toBlock)).filter(r=>!(0,Ob.hexStringEquals)(r.args.l1Token,Nb.ethers.constants.AddressZero)&&!(0,Ob.hexStringEquals)(r.args.l2Token,G1e.predeploys.OVM_ETH)).map(r=>({direction:fJe.MessageDirection.L2_TO_L1,from:r.args.from,to:r.args.to,l1Token:r.args.l1Token,l2Token:r.args.l2Token,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,f)=>f.blockNumber-r.blockNumber)}async supportsTokenPair(e,n){let a=new Nb.Contract((0,r1.toAddress)(n),K1e.default.abi,this.messenger.l2Provider);if((0,Ob.hexStringEquals)((0,r1.toAddress)(e),Nb.ethers.constants.AddressZero)||(0,Ob.hexStringEquals)((0,r1.toAddress)(n),G1e.predeploys.OVM_ETH))return!1;let r=await a.l1Token();if(!(0,Ob.hexStringEquals)(r,(0,r1.toAddress)(e)))return!1;let f=await a.l2Bridge();return!!(0,Ob.hexStringEquals)(f,this.l2Bridge.address)}async approval(e,n,a){if(!await this.supportsTokenPair(e,n))throw new Error("token pair not supported by bridge");return new Nb.Contract((0,r1.toAddress)(e),K1e.default.abi,this.messenger.l1Provider).allowance(await a.getAddress(),this.l1Bridge.address)}async approve(e,n,a,r,f){return r.sendTransaction(await this.populateTransaction.approve(e,n,a,f))}async deposit(e,n,a,r,f){return r.sendTransaction(await this.populateTransaction.deposit(e,n,a,f))}async withdraw(e,n,a,r,f){return r.sendTransaction(await this.populateTransaction.withdraw(e,n,a,f))}};Px.StandardBridgeAdapter=Q1e});var sJe=D(kq=>{"use strict";u();p();Object.defineProperty(kq,"__esModule",{value:!0});kq.ETHBridgeAdapter=void 0;var Y1e=Xe(),$1e=xx(),Iq=W8(),iJe=wx(),iu=Ub(),Xjt=ER(),J1e=class extends Xjt.StandardBridgeAdapter{constructor(){super(...arguments),this.populateTransaction={approve:async(e,n,a,r)=>{throw new Error("approvals not necessary for ETH bridge")},deposit:async(e,n,a,r)=>{if(!await this.supportsTokenPair(e,n))throw new Error("token pair not supported by bridge");return r?.recipient===void 0?this.l1Bridge.populateTransaction.depositETH(r?.l2GasLimit||2e5,"0x",Object.assign(Object.assign({},(0,iu.omit)(r?.overrides||{},"value")),{value:a})):this.l1Bridge.populateTransaction.depositETHTo((0,iu.toAddress)(r.recipient),r?.l2GasLimit||2e5,"0x",Object.assign(Object.assign({},(0,iu.omit)(r?.overrides||{},"value")),{value:a}))},withdraw:async(e,n,a,r)=>{if(!await this.supportsTokenPair(e,n))throw new Error("token pair not supported by bridge");return r?.recipient===void 0?this.l2Bridge.populateTransaction.withdraw((0,iu.toAddress)(n),a,0,"0x",Object.assign(Object.assign({},(0,iu.omit)(r?.overrides||{},"value")),{value:this.messenger.bedrock?a:0})):this.l2Bridge.populateTransaction.withdrawTo((0,iu.toAddress)(n),(0,iu.toAddress)(r.recipient),a,0,"0x",Object.assign(Object.assign({},(0,iu.omit)(r?.overrides||{},"value")),{value:this.messenger.bedrock?a:0}))}}}async approval(e,n,a){throw new Error("approval not necessary for ETH bridge")}async getDepositsByAddress(e,n){return(await this.l1Bridge.queryFilter(this.l1Bridge.filters.ETHDepositInitiated(e),n?.fromBlock,n?.toBlock)).map(r=>({direction:iJe.MessageDirection.L1_TO_L2,from:r.args.from,to:r.args.to,l1Token:Y1e.ethers.constants.AddressZero,l2Token:$1e.predeploys.OVM_ETH,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,f)=>f.blockNumber-r.blockNumber)}async getWithdrawalsByAddress(e,n){return(await this.l2Bridge.queryFilter(this.l2Bridge.filters.WithdrawalInitiated(void 0,void 0,e),n?.fromBlock,n?.toBlock)).filter(r=>(0,Iq.hexStringEquals)(r.args.l1Token,Y1e.ethers.constants.AddressZero)&&(0,Iq.hexStringEquals)(r.args.l2Token,$1e.predeploys.OVM_ETH)).map(r=>({direction:iJe.MessageDirection.L2_TO_L1,from:r.args.from,to:r.args.to,l1Token:r.args.l1Token,l2Token:r.args.l2Token,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,f)=>f.blockNumber-r.blockNumber)}async supportsTokenPair(e,n){return(0,Iq.hexStringEquals)((0,iu.toAddress)(e),Y1e.ethers.constants.AddressZero)&&(0,Iq.hexStringEquals)((0,iu.toAddress)(n),$1e.predeploys.OVM_ETH)}};kq.ETHBridgeAdapter=J1e});var dJe=D(Sq=>{"use strict";u();p();Object.defineProperty(Sq,"__esModule",{value:!0});Sq.DAIBridgeAdapter=void 0;var Zjt=Xe(),oJe=W8(),cJe=Ub(),eGt=ER(),X1e=class extends eGt.StandardBridgeAdapter{async supportsTokenPair(e,n){let a=new Zjt.Contract(this.l1Bridge.address,[{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],this.messenger.l1Provider),r=await a.l1Token();if(!(0,oJe.hexStringEquals)(r,(0,cJe.toAddress)(e)))return!1;let f=await a.l2Token();return!!(0,oJe.hexStringEquals)(f,(0,cJe.toAddress)(n))}};Sq.DAIBridgeAdapter=X1e});var hJe=D(Rq=>{"use strict";u();p();Object.defineProperty(Rq,"__esModule",{value:!0});Rq.ECOBridgeAdapter=void 0;var lJe=Xe(),uJe=W8(),pJe=Ub(),tGt=ER(),Z1e=class extends tGt.StandardBridgeAdapter{async supportsTokenPair(e,n){let a=new lJe.Contract(this.l1Bridge.address,[{inputs:[],name:"l1Eco",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],this.messenger.l1Provider),r=new lJe.Contract(this.l2Bridge.address,[{inputs:[],name:"l2Eco",outputs:[{internalType:"contract L2ECO",name:"",type:"address"}],stateMutability:"view",type:"function"}],this.messenger.l2Provider),[f,i]=await Promise.all([a.l1Eco(),r.l2Eco()]);return!(!(0,uJe.hexStringEquals)(f,(0,pJe.toAddress)(e))||!(0,uJe.hexStringEquals)(i,(0,pJe.toAddress)(n)))}};Rq.ECOBridgeAdapter=Z1e});var Bq=D(su=>{"use strict";u();p();var nGt=su&&su.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Mq=su&&su.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&nGt(e,t,n)};Object.defineProperty(su,"__esModule",{value:!0});Mq(ER(),su);Mq(sJe(),su);Mq(dJe(),su);Mq(hJe(),su)});var tce=D(Rr=>{"use strict";u();p();Object.defineProperty(Rr,"__esModule",{value:!0});Rr.BRIDGE_ADAPTER_DATA=Rr.CONTRACT_ADDRESSES=Rr.IGNORABLE_CONTRACTS=Rr.DEFAULT_L2_CONTRACT_ADDRESSES=Rr.CHAIN_BLOCK_TIMES=Rr.DEPOSIT_CONFIRMATION_BLOCKS=void 0;var Cl=W8(),_R=Xe(),bJe={mainnet:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed",goerli:"0x5b47E1A08Ea6d985D6649300584e6722Ec4B1383",sepolia:"0x16Fc5058F25648194471939df75CF27A2fdC48BC"},aGt={mainnet:"0xdfe97868233d1aa22e815a266982f2cf17685a27",goerli:"0xE6Dfba0953616Bacab0c9A8ecb3a9BBa77FC15c0",sepolia:"0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F"},rGt={mainnet:"0xdE1FCfB0851916CA5101820A69b13a4E276bd81F",goerli:"0xa6f73589243a6A7a9023b1Fa0651b1d89c177111",sepolia:"0x9bFE9c5609311DF1c011c47642253B78a4f33F4B"},fGt={mainnet:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1",goerli:"0x636Af16bf2f682dD3109e60102b8E1A089FedAa8",sepolia:"0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1"},iGt={mainnet:"0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1",goerli:"0x5086d1eEF304eb5284A0f6720f79403b4e9bE294",sepolia:"0x58Cc85b8D04EA49cC6DBd3CbFFd00B4B8D6cb3ef"},sGt={mainnet:_R.ethers.constants.AddressZero,goerli:_R.ethers.constants.AddressZero,sepolia:"0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1"},oGt={mainnet:"0xBe5dAb4A2e9cd0F27300dB4aB94BeE3A233AEB19",goerli:"0x9c945aC97Baf48cB784AbBB61399beB71aF7A378",sepolia:_R.ethers.constants.AddressZero},cGt={mainnet:"0x5E4e65926BA27467555EB562121fac00D24E9dD2",goerli:"0x607F755149cFEB3a14E1Dc3A4E2450Cde7dfb04D",sepolia:_R.ethers.constants.AddressZero},Aa=wx(),Lx=Bq();Rr.DEPOSIT_CONFIRMATION_BLOCKS={[Aa.L2ChainID.OPTIMISM]:50,[Aa.L2ChainID.OPTIMISM_GOERLI]:12,[Aa.L2ChainID.OPTIMISM_SEPOLIA]:12,[Aa.L2ChainID.OPTIMISM_HARDHAT_LOCAL]:2,[Aa.L2ChainID.OPTIMISM_HARDHAT_DEVNET]:2,[Aa.L2ChainID.OPTIMISM_BEDROCK_ALPHA_TESTNET]:12,[Aa.L2ChainID.BASE_GOERLI]:25,[Aa.L2ChainID.BASE_SEPOLIA]:25,[Aa.L2ChainID.BASE_MAINNET]:10,[Aa.L2ChainID.ZORA_GOERLI]:12,[Aa.L2ChainID.ZORA_MAINNET]:50,[Aa.L2ChainID.MODE_SEPOLIA]:25,[Aa.L2ChainID.MODE_MAINNET]:50};Rr.CHAIN_BLOCK_TIMES={[Aa.L1ChainID.MAINNET]:13,[Aa.L1ChainID.GOERLI]:15,[Aa.L1ChainID.SEPOLIA]:15,[Aa.L1ChainID.HARDHAT_LOCAL]:1,[Aa.L1ChainID.BEDROCK_LOCAL_DEVNET]:15};Rr.DEFAULT_L2_CONTRACT_ADDRESSES={L2CrossDomainMessenger:Cl.predeploys.L2CrossDomainMessenger,L2ToL1MessagePasser:Cl.predeploys.L2ToL1MessagePasser,L2StandardBridge:Cl.predeploys.L2StandardBridge,OVM_L1BlockNumber:Cl.predeploys.L1BlockNumber,OVM_L2ToL1MessagePasser:Cl.predeploys.L2ToL1MessagePasser,OVM_DeployerWhitelist:Cl.predeploys.DeployerWhitelist,OVM_ETH:Cl.predeploys.LegacyERC20ETH,OVM_GasPriceOracle:Cl.predeploys.GasPriceOracle,OVM_SequencerFeeVault:Cl.predeploys.SequencerFeeVault,WETH:Cl.predeploys.WETH9,BedrockMessagePasser:Cl.predeploys.L2ToL1MessagePasser};var ece=t=>({AddressManager:rGt[t],L1CrossDomainMessenger:iGt[t],L1StandardBridge:fGt[t],StateCommitmentChain:oGt[t],CanonicalTransactionChain:cGt[t],BondManager:_R.ethers.constants.AddressZero,OptimismPortal:bJe[t],L2OutputOracle:aGt[t],OptimismPortal2:bJe[t],DisputeGameFactory:sGt[t]});Rr.IGNORABLE_CONTRACTS=["OptimismPortal2","DisputeGameFactory"];Rr.CONTRACT_ADDRESSES={[Aa.L2ChainID.OPTIMISM]:{l1:ece("mainnet"),l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_GOERLI]:{l1:ece("goerli"),l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_SEPOLIA]:{l1:ece("sepolia"),l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_HARDHAT_LOCAL]:{l1:{AddressManager:"0x5FbDB2315678afecb367f032d93F642f64180aa3",L1CrossDomainMessenger:"0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",L1StandardBridge:"0x610178dA211FEF7D417bC0e6FeD39F05609AD788",StateCommitmentChain:"0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",CanonicalTransactionChain:"0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",BondManager:"0x5FC8d32690cc91D4c39d9d3abcBD16989F875707",OptimismPortal:"0x0000000000000000000000000000000000000000",L2OutputOracle:"0x0000000000000000000000000000000000000000",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_HARDHAT_DEVNET]:{l1:{AddressManager:"0x5FbDB2315678afecb367f032d93F642f64180aa3",L1CrossDomainMessenger:"0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",L1StandardBridge:"0x610178dA211FEF7D417bC0e6FeD39F05609AD788",StateCommitmentChain:"0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",CanonicalTransactionChain:"0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",BondManager:"0x5FC8d32690cc91D4c39d9d3abcBD16989F875707",OptimismPortal:"0x0000000000000000000000000000000000000000",L2OutputOracle:"0x0000000000000000000000000000000000000000",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_BEDROCK_ALPHA_TESTNET]:{l1:{AddressManager:"0xb4e08DcE1F323608229265c9d4125E22a4B9dbAF",L1CrossDomainMessenger:"0x838a6DC4E37CA45D4Ef05bb776bf05eEf50798De",L1StandardBridge:"0xFf94B6C486350aD92561Ba09bad3a59df764Da92",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0xA581Ca3353DB73115C4625FFC7aDF5dB379434A8",L2OutputOracle:"0x3A234299a14De50027eA65dCdf1c0DaC729e04A6",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.BASE_GOERLI]:{l1:{AddressManager:"0x4Cf6b56b14c6CFcB72A75611080514F94624c54e",L1CrossDomainMessenger:"0x8e5693140eA606bcEB98761d9beB1BC87383706D",L1StandardBridge:"0xfA6D8Ee5BE770F84FC001D098C4bD604Fe01284a",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0xe93c8cD0D409341205A592f8c4Ac1A5fe5585cfA",L2OutputOracle:"0x2A35891ff30313CcFa6CE88dcf3858bb075A2298",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.BASE_SEPOLIA]:{l1:{AddressManager:"0x709c2B8ef4A9feFc629A8a2C1AF424Dc5BD6ad1B",L1CrossDomainMessenger:"0xC34855F4De64F1840e5686e64278da901e261f20",L1StandardBridge:"0xfd0Bf71F60660E2f608ed56e1659C450eB113120",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x49f53e41452C74589E85cA1677426Ba426459e85",L2OutputOracle:"0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.BASE_MAINNET]:{l1:{AddressManager:"0x8EfB6B5c4767B09Dc9AA6Af4eAA89F749522BaE2",L1CrossDomainMessenger:"0x866E82a600A1414e583f7F13623F1aC5d58b0Afa",L1StandardBridge:"0x3154Cf16ccdb4C6d922629664174b904d80F2C35",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",L2OutputOracle:"0x56315b90c40730925ec5485cf004d835058518A0",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.ZORA_GOERLI]:{l1:{AddressManager:"0x54f4676203dEDA6C08E0D40557A119c602bFA246",L1CrossDomainMessenger:"0xD87342e16352D33170557A7dA1e5fB966a60FafC",L1StandardBridge:"0x7CC09AC2452D6555d5e0C213Ab9E2d44eFbFc956",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0xDb9F51790365e7dc196e7D072728df39Be958ACe",L2OutputOracle:"0xdD292C9eEd00f6A32Ff5245d0BCd7f2a15f24e00",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.ZORA_MAINNET]:{l1:{AddressManager:"0xEF8115F2733fb2033a7c756402Fc1deaa56550Ef",L1CrossDomainMessenger:"0xdC40a14d9abd6F410226f1E6de71aE03441ca506",L1StandardBridge:"0x3e2Ea9B92B7E48A52296fD261dc26fd995284631",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x1a0ad011913A150f69f6A19DF447A0CfD9551054",L2OutputOracle:"0x9E6204F750cD866b299594e2aC9eA824E2e5f95c",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.MODE_SEPOLIA]:{l1:{AddressManager:"0x83D45725d6562d8CD717673D6bb4c67C07dC1905",L1CrossDomainMessenger:"0xc19a60d9E8C27B9A43527c3283B4dd8eDC8bE15C",L1StandardBridge:"0xbC5C679879B2965296756CD959C3C739769995E2",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x320e1580effF37E008F1C92700d1eBa47c1B23fD",L2OutputOracle:"0x2634BD65ba27AB63811c74A63118ACb312701Bfa",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.MODE_MAINNET]:{l1:{AddressManager:"0x50eF494573f28Cad6B64C31b7a00Cdaa48306e15",L1CrossDomainMessenger:"0x95bDCA6c8EdEB69C98Bd5bd17660BaCef1298A6f",L1StandardBridge:"0x735aDBbE72226BD52e818E7181953f42E3b0FF21",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x8B34b14c7c7123459Cf3076b8Cb929BE097d0C07",L2OutputOracle:"0x4317ba146D4933D889518a3e5E11Fe7a53199b04",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES}};Rr.BRIDGE_ADAPTER_DATA={[Aa.L2ChainID.OPTIMISM]:{wstETH:{Adapter:Lx.DAIBridgeAdapter,l1Bridge:"0x76943C0D61395d8F2edF9060e1533529cAe05dE6",l2Bridge:"0x8E01013243a96601a86eb3153F0d9Fa4fbFb6957"},BitBTC:{Adapter:Lx.StandardBridgeAdapter,l1Bridge:"0xaBA2c5F108F7E820C049D5Af70B16ac266c8f128",l2Bridge:"0x158F513096923fF2d3aab2BcF4478536de6725e2"},DAI:{Adapter:Lx.DAIBridgeAdapter,l1Bridge:"0x10E6593CDda8c58a1d0f14C5164B376352a55f2F",l2Bridge:"0x467194771dAe2967Aef3ECbEDD3Bf9a310C76C65"},ECO:{Adapter:Lx.ECOBridgeAdapter,l1Bridge:"0xAa029BbdC947F5205fBa0F3C11b592420B58f824",l2Bridge:"0xAa029BbdC947F5205fBa0F3C11b592420B58f824"}},[Aa.L2ChainID.OPTIMISM_GOERLI]:{DAI:{Adapter:Lx.DAIBridgeAdapter,l1Bridge:"0x05a388Db09C2D44ec0b00Ee188cD42365c42Df23",l2Bridge:"0x467194771dAe2967Aef3ECbEDD3Bf9a310C76C65"},ECO:{Adapter:Lx.ECOBridgeAdapter,l1Bridge:"0x9A4464D6bFE006715382D39D183AAf66c952a3e0",l2Bridge:"0x6aA809bAeA2e4C057b3994127cB165119c6fc3B2"}}}});var gJe=D(Q1=>{"use strict";u();p();var so=Q1&&Q1.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Q1,"__esModule",{value:!0});Q1.getBridgeAdapters=Q1.getAllOEContracts=Q1.getOEContract=Q1.getContractInterfaceBedrock=void 0;var nce=xx(),yJe=Xe(),dGt=so($oe()),lGt=so(Joe()),uGt=so(Xoe()),pGt=so(LKe()),hGt=so(FKe()),bGt=so(NKe()),mGt=so(OKe()),yGt=so(UKe()),gGt=so(HKe()),vGt=so(zKe()),wGt=so(WKe()),TGt=so(qKe()),xGt=so(jKe()),EGt=so(GKe()),_Gt=so(KKe()),AGt=so(QKe()),CGt=so(VKe()),IGt=Yoe(),mJe=Bq(),Hb=tce(),kGt={AddressManager:"Lib_AddressManager",OVM_L1BlockNumber:"iOVM_L1BlockNumber",WETH:"WETH9",BedrockMessagePasser:"L2ToL1MessagePasser"},SGt=t=>{let e="";switch(t){case"Lib_AddressManager":case"AddressManager":e="";break;case"L1CrossDomainMessenger":e=hGt.default;break;case"L1ERC721Bridge":e=vGt.default;break;case"L2OutputOracle":e=gGt.default;break;case"OptimismMintableERC20Factory":e=mGt.default;break;case"ProxyAdmin":e=yGt.default;break;case"L1StandardBridge":e=dGt.default;break;case"L2StandardBridge":e=lGt.default;break;case"OptimismPortal":e=pGt.default;break;case"L2CrossDomainMessenger":e=bGt.default;break;case"OptimismMintableERC20":e=uGt.default;break;case"L2ERC721Bridge":e=wGt.default;break;case"L1Block":e=TGt.default;break;case"L2ToL1MessagePasser":e=xGt.default;break;case"GasPriceOracle":e=EGt.default;break;case"DisputeGameFactory":e=_Gt.default;break;case"OptimismPortal2":e=AGt.default;break;case"FaultDisputeGame":e=CGt.default;break}return new yJe.ethers.utils.Interface(e.abi)};Q1.getContractInterfaceBedrock=SGt;var RGt=(t,e,n={})=>{let a=Hb.CONTRACT_ADDRESSES[e];if(a===void 0&&n.address===void 0){if(Hb.IGNORABLE_CONTRACTS.includes(t))return;throw new Error(`cannot get contract ${t} for unknown L2 chain ID ${e}, you must provide an address`)}let r=kGt[t]||t,f;try{f=(0,Q1.getContractInterfaceBedrock)(r)}catch{f=(0,nce.getContractInterface)(r)}return new yJe.Contract((0,IGt.toAddress)(n.address||a.l1[t]||a.l2[t]),f,n.signerOrProvider)};Q1.getOEContract=RGt;var MGt=(t,e={})=>{var n,a,r,f;let i=Hb.CONTRACT_ADDRESSES[t]||{l1:{AddressManager:void 0,L1CrossDomainMessenger:void 0,L1StandardBridge:void 0,StateCommitmentChain:void 0,CanonicalTransactionChain:void 0,BondManager:void 0,OptimismPortal:void 0,L2OutputOracle:void 0,DisputeGameFactory:void 0,OptimismPortal2:void 0},l2:Hb.DEFAULT_L2_CONTRACT_ADDRESSES},s={};for(let[c,d]of Object.entries(i.l1))s[c]=(0,Q1.getOEContract)(c,t,{address:((a=(n=e.overrides)===null||n===void 0?void 0:n.l1)===null||a===void 0?void 0:a[c])||d,signerOrProvider:e.l1SignerOrProvider});let o={};for(let[c,d]of Object.entries(i.l2))o[c]=(0,Q1.getOEContract)(c,t,{address:((f=(r=e.overrides)===null||r===void 0?void 0:r.l2)===null||f===void 0?void 0:f[c])||d,signerOrProvider:e.l2SignerOrProvider});return{l1:s,l2:o}};Q1.getAllOEContracts=MGt;var BGt=(t,e,n)=>{var a,r,f,i,s,o;let c=Object.assign(Object.assign(Object.assign({},Hb.CONTRACT_ADDRESSES[t]||!((r=(a=n?.contracts)===null||a===void 0?void 0:a.l1)===null||r===void 0)&&r.L1StandardBridge?{Standard:{Adapter:mJe.StandardBridgeAdapter,l1Bridge:((i=(f=n?.contracts)===null||f===void 0?void 0:f.l1)===null||i===void 0?void 0:i.L1StandardBridge)||Hb.CONTRACT_ADDRESSES[t].l1.L1StandardBridge,l2Bridge:nce.predeploys.L2StandardBridge},ETH:{Adapter:mJe.ETHBridgeAdapter,l1Bridge:((o=(s=n?.contracts)===null||s===void 0?void 0:s.l1)===null||o===void 0?void 0:o.L1StandardBridge)||Hb.CONTRACT_ADDRESSES[t].l1.L1StandardBridge,l2Bridge:nce.predeploys.L2StandardBridge}}:{}),Hb.BRIDGE_ADAPTER_DATA[t]||{}),n?.overrides||{}),d={};for(let[l,h]of Object.entries(c))d[l]=new h.Adapter({messenger:e,l1Bridge:h.l1Bridge,l2Bridge:h.l2Bridge});return d};Q1.getBridgeAdapters=BGt});var wJe=D(vJe=>{"use strict";u();p();Object.defineProperty(vJe,"__esModule",{value:!0})});var TJe=D(Dq=>{"use strict";u();p();Object.defineProperty(Dq,"__esModule",{value:!0});Dq.omit=void 0;var DGt=(t,...e)=>{let n=Object.assign({},t);for(let a of e)delete n[a];return n};Dq.omit=DGt});var ace=D((oua,xJe)=>{u();p();xJe.exports=function(e){for(var n=new _.Buffer(e.length),a=0,r=e.length-1;a<=r;++a,--r)n[a]=e[r],n[r]=e[a];return n}});var Zn=D((Pq,EJe)=>{u();p();(function(t,e){typeof Pq=="object"?EJe.exports=Pq=e():typeof define=="function"&&define.amd?define([],e):t.CryptoJS=e()})(Pq,function(){var t=t||function(e,n){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof global<"u"&&global.crypto&&(a=global.crypto),!a&&typeof Kd=="function")try{a=PU()}catch{}var r=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},f=Object.create||function(){function F(){}return function(z){var W;return F.prototype=z,W=new F,F.prototype=null,W}}(),i={},s=i.lib={},o=s.Base=function(){return{extend:function(F){var z=f(this);return F&&z.mixIn(F),(!z.hasOwnProperty("init")||this.init===z.init)&&(z.init=function(){z.$super.init.apply(this,arguments)}),z.init.prototype=z,z.$super=this,z},create:function(){var F=this.extend();return F.init.apply(F,arguments),F},init:function(){},mixIn:function(F){for(var z in F)F.hasOwnProperty(z)&&(this[z]=F[z]);F.hasOwnProperty("toString")&&(this.toString=F.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=s.WordArray=o.extend({init:function(F,z){F=this.words=F||[],z!=n?this.sigBytes=z:this.sigBytes=F.length*4},toString:function(F){return(F||l).stringify(this)},concat:function(F){var z=this.words,W=F.words,j=this.sigBytes,Q=F.sigBytes;if(this.clamp(),j%4)for(var V=0;V>>2]>>>24-V%4*8&255;z[j+V>>>2]|=X<<24-(j+V)%4*8}else for(var K=0;K>>2]=W[K>>>2];return this.sigBytes+=Q,this},clamp:function(){var F=this.words,z=this.sigBytes;F[z>>>2]&=4294967295<<32-z%4*8,F.length=e.ceil(z/4)},clone:function(){var F=o.clone.call(this);return F.words=this.words.slice(0),F},random:function(F){for(var z=[],W=0;W>>2]>>>24-Q%4*8&255;j.push((V>>>4).toString(16)),j.push((V&15).toString(16))}return j.join("")},parse:function(F){for(var z=F.length,W=[],j=0;j>>3]|=parseInt(F.substr(j,2),16)<<24-j%8*4;return new c.init(W,z/2)}},h=d.Latin1={stringify:function(F){for(var z=F.words,W=F.sigBytes,j=[],Q=0;Q>>2]>>>24-Q%4*8&255;j.push(String.fromCharCode(V))}return j.join("")},parse:function(F){for(var z=F.length,W=[],j=0;j>>2]|=(F.charCodeAt(j)&255)<<24-j%4*8;return new c.init(W,z)}},y=d.Utf8={stringify:function(F){try{return decodeURIComponent(escape(h.stringify(F)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(F){return h.parse(unescape(encodeURIComponent(F)))}},v=s.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(F){typeof F=="string"&&(F=y.parse(F)),this._data.concat(F),this._nDataBytes+=F.sigBytes},_process:function(F){var z,W=this._data,j=W.words,Q=W.sigBytes,V=this.blockSize,X=V*4,K=Q/X;F?K=e.ceil(K):K=e.max((K|0)-this._minBufferSize,0);var G=K*V,R=e.min(G*4,Q);if(G){for(var T=0;T{u();p();(function(t,e){typeof Lq=="object"?_Je.exports=Lq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Lq,function(t){return function(e){var n=t,a=n.lib,r=a.WordArray,f=a.Hasher,i=n.algo,s=[],o=[];(function(){function l(S){for(var O=e.sqrt(S),F=2;F<=O;F++)if(!(S%F))return!1;return!0}function h(S){return(S-(S|0))*4294967296|0}for(var y=2,v=0;v<64;)l(y)&&(v<8&&(s[v]=h(e.pow(y,1/2))),o[v]=h(e.pow(y,1/3)),v++),y++})();var c=[],d=i.SHA256=f.extend({_doReset:function(){this._hash=new r.init(s.slice(0))},_doProcessBlock:function(l,h){for(var y=this._hash.words,v=y[0],S=y[1],O=y[2],F=y[3],z=y[4],W=y[5],j=y[6],Q=y[7],V=0;V<64;V++){if(V<16)c[V]=l[h+V]|0;else{var X=c[V-15],K=(X<<25|X>>>7)^(X<<14|X>>>18)^X>>>3,G=c[V-2],R=(G<<15|G>>>17)^(G<<13|G>>>19)^G>>>10;c[V]=K+c[V-7]+R+c[V-16]}var T=z&W^~z&j,N=v&S^v&O^S&O,w=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),m=(z<<26|z>>>6)^(z<<21|z>>>11)^(z<<7|z>>>25),A=Q+m+T+o[V]+c[V],P=w+N;Q=j,j=W,W=z,z=F+A|0,F=O,O=S,S=v,v=A+P|0}y[0]=y[0]+v|0,y[1]=y[1]+S|0,y[2]=y[2]+O|0,y[3]=y[3]+F|0,y[4]=y[4]+z|0,y[5]=y[5]+W|0,y[6]=y[6]+j|0,y[7]=y[7]+Q|0},_doFinalize:function(){var l=this._data,h=l.words,y=this._nDataBytes*8,v=l.sigBytes*8;return h[v>>>5]|=128<<24-v%32,h[(v+64>>>9<<4)+14]=e.floor(y/4294967296),h[(v+64>>>9<<4)+15]=y,l.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var l=f.clone.call(this);return l._hash=this._hash.clone(),l}});n.SHA256=f._createHelper(d),n.HmacSHA256=f._createHmacHelper(d)}(Math),t.SHA256})});var Fq=D((rce,AJe)=>{u();p();(function(t,e){typeof rce=="object"?AJe.exports=e():typeof define=="function"&&define.amd?define(e):t.treeify=e()})(rce,function(){function t(r,f){var i=f?"\u2514":"\u251C";return r?i+="\u2500 ":i+="\u2500\u2500\u2510",i}function e(r,f){var i=[];for(var s in r)r.hasOwnProperty(s)&&(f&&typeof r[s]=="function"||i.push(s));return i}function n(r,f,i,s,o,c,d){var l="",h=0,y,v,S=s.slice(0);if(S.push([f,i])&&s.length>0&&(s.forEach(function(F,z){z>0&&(l+=(F[1]?" ":"\u2502")+" "),!v&&F[0]===f&&(v=!0)}),l+=t(r,i)+r,o&&(typeof f!="object"||f instanceof Date)&&(l+=": "+f),v&&(l+=" (circular ref.)"),d(l)),!v&&typeof f=="object"){var O=e(f,c);O.forEach(function(F){y=++h===O.length,n(F,f[F],y,S,o,c,d)})}}var a={};return a.asLines=function(r,f,i,s){var o=typeof i!="function"?i:!1;n(".",r,!1,[],f,o,s||i)},a.asTree=function(r,f,i){var s="";return n(".",r,!1,[],f,i,function(o){s+=o+` -`}),s},a})});var AR=D((Nq,CJe)=>{u();p();(function(t,e){typeof Nq=="object"?CJe.exports=Nq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Nq,function(t){return function(e){var n=t,a=n.lib,r=a.Base,f=a.WordArray,i=n.x64={},s=i.Word=r.extend({init:function(c,d){this.high=c,this.low=d}}),o=i.WordArray=r.extend({init:function(c,d){c=this.words=c||[],d!=e?this.sigBytes=d:this.sigBytes=c.length*8},toX32:function(){for(var c=this.words,d=c.length,l=[],h=0;h{u();p();(function(t,e){typeof Oq=="object"?IJe.exports=Oq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Oq,function(t){return function(){if(typeof ArrayBuffer=="function"){var e=t,n=e.lib,a=n.WordArray,r=a.init,f=a.init=function(i){if(i instanceof ArrayBuffer&&(i=new Uint8Array(i)),(i instanceof Int8Array||typeof Uint8ClampedArray<"u"&&i instanceof Uint8ClampedArray||i instanceof Int16Array||i instanceof Uint16Array||i instanceof Int32Array||i instanceof Uint32Array||i instanceof Float32Array||i instanceof Float64Array)&&(i=new Uint8Array(i.buffer,i.byteOffset,i.byteLength)),i instanceof Uint8Array){for(var s=i.byteLength,o=[],c=0;c>>2]|=i[c]<<24-c%4*8;r.call(this,o,s)}else r.apply(this,arguments)};f.prototype=a}}(),t.lib.WordArray})});var RJe=D((Uq,SJe)=>{u();p();(function(t,e){typeof Uq=="object"?SJe.exports=Uq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Uq,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=e.enc,f=r.Utf16=r.Utf16BE={stringify:function(s){for(var o=s.words,c=s.sigBytes,d=[],l=0;l>>2]>>>16-l%4*8&65535;d.push(String.fromCharCode(h))}return d.join("")},parse:function(s){for(var o=s.length,c=[],d=0;d>>1]|=s.charCodeAt(d)<<16-d%2*16;return a.create(c,o*2)}};r.Utf16LE={stringify:function(s){for(var o=s.words,c=s.sigBytes,d=[],l=0;l>>2]>>>16-l%4*8&65535);d.push(String.fromCharCode(h))}return d.join("")},parse:function(s){for(var o=s.length,c=[],d=0;d>>1]|=i(s.charCodeAt(d)<<16-d%2*16);return a.create(c,o*2)}};function i(s){return s<<8&4278255360|s>>>8&16711935}}(),t.enc.Utf16})});var zb=D((Hq,MJe)=>{u();p();(function(t,e){typeof Hq=="object"?MJe.exports=Hq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Hq,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=e.enc,f=r.Base64={stringify:function(s){var o=s.words,c=s.sigBytes,d=this._map;s.clamp();for(var l=[],h=0;h>>2]>>>24-h%4*8&255,v=o[h+1>>>2]>>>24-(h+1)%4*8&255,S=o[h+2>>>2]>>>24-(h+2)%4*8&255,O=y<<16|v<<8|S,F=0;F<4&&h+F*.75>>6*(3-F)&63));var z=d.charAt(64);if(z)for(;l.length%4;)l.push(z);return l.join("")},parse:function(s){var o=s.length,c=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var l=0;l>>6-h%4*2,S=y|v;d[l>>>2]|=S<<24-l%4*8,l++}return a.create(d,l)}}(),t.enc.Base64})});var DJe=D((zq,BJe)=>{u();p();(function(t,e){typeof zq=="object"?BJe.exports=zq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(zq,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=e.enc,f=r.Base64url={stringify:function(s,o){o===void 0&&(o=!0);var c=s.words,d=s.sigBytes,l=o?this._safe_map:this._map;s.clamp();for(var h=[],y=0;y>>2]>>>24-y%4*8&255,S=c[y+1>>>2]>>>24-(y+1)%4*8&255,O=c[y+2>>>2]>>>24-(y+2)%4*8&255,F=v<<16|S<<8|O,z=0;z<4&&y+z*.75>>6*(3-z)&63));var W=l.charAt(64);if(W)for(;h.length%4;)h.push(W);return h.join("")},parse:function(s,o){o===void 0&&(o=!0);var c=s.length,d=o?this._safe_map:this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var h=0;h>>6-h%4*2,S=y|v;d[l>>>2]|=S<<24-l%4*8,l++}return a.create(d,l)}}(),t.enc.Base64url})});var Wb=D((Wq,PJe)=>{u();p();(function(t,e){typeof Wq=="object"?PJe.exports=Wq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Wq,function(t){return function(e){var n=t,a=n.lib,r=a.WordArray,f=a.Hasher,i=n.algo,s=[];(function(){for(var y=0;y<64;y++)s[y]=e.abs(e.sin(y+1))*4294967296|0})();var o=i.MD5=f.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(y,v){for(var S=0;S<16;S++){var O=v+S,F=y[O];y[O]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360}var z=this._hash.words,W=y[v+0],j=y[v+1],Q=y[v+2],V=y[v+3],X=y[v+4],K=y[v+5],G=y[v+6],R=y[v+7],T=y[v+8],N=y[v+9],w=y[v+10],m=y[v+11],A=y[v+12],P=y[v+13],L=y[v+14],x=y[v+15],g=z[0],B=z[1],M=z[2],k=z[3];g=c(g,B,M,k,W,7,s[0]),k=c(k,g,B,M,j,12,s[1]),M=c(M,k,g,B,Q,17,s[2]),B=c(B,M,k,g,V,22,s[3]),g=c(g,B,M,k,X,7,s[4]),k=c(k,g,B,M,K,12,s[5]),M=c(M,k,g,B,G,17,s[6]),B=c(B,M,k,g,R,22,s[7]),g=c(g,B,M,k,T,7,s[8]),k=c(k,g,B,M,N,12,s[9]),M=c(M,k,g,B,w,17,s[10]),B=c(B,M,k,g,m,22,s[11]),g=c(g,B,M,k,A,7,s[12]),k=c(k,g,B,M,P,12,s[13]),M=c(M,k,g,B,L,17,s[14]),B=c(B,M,k,g,x,22,s[15]),g=d(g,B,M,k,j,5,s[16]),k=d(k,g,B,M,G,9,s[17]),M=d(M,k,g,B,m,14,s[18]),B=d(B,M,k,g,W,20,s[19]),g=d(g,B,M,k,K,5,s[20]),k=d(k,g,B,M,w,9,s[21]),M=d(M,k,g,B,x,14,s[22]),B=d(B,M,k,g,X,20,s[23]),g=d(g,B,M,k,N,5,s[24]),k=d(k,g,B,M,L,9,s[25]),M=d(M,k,g,B,V,14,s[26]),B=d(B,M,k,g,T,20,s[27]),g=d(g,B,M,k,P,5,s[28]),k=d(k,g,B,M,Q,9,s[29]),M=d(M,k,g,B,R,14,s[30]),B=d(B,M,k,g,A,20,s[31]),g=l(g,B,M,k,K,4,s[32]),k=l(k,g,B,M,T,11,s[33]),M=l(M,k,g,B,m,16,s[34]),B=l(B,M,k,g,L,23,s[35]),g=l(g,B,M,k,j,4,s[36]),k=l(k,g,B,M,X,11,s[37]),M=l(M,k,g,B,R,16,s[38]),B=l(B,M,k,g,w,23,s[39]),g=l(g,B,M,k,P,4,s[40]),k=l(k,g,B,M,W,11,s[41]),M=l(M,k,g,B,V,16,s[42]),B=l(B,M,k,g,G,23,s[43]),g=l(g,B,M,k,N,4,s[44]),k=l(k,g,B,M,A,11,s[45]),M=l(M,k,g,B,x,16,s[46]),B=l(B,M,k,g,Q,23,s[47]),g=h(g,B,M,k,W,6,s[48]),k=h(k,g,B,M,R,10,s[49]),M=h(M,k,g,B,L,15,s[50]),B=h(B,M,k,g,K,21,s[51]),g=h(g,B,M,k,A,6,s[52]),k=h(k,g,B,M,V,10,s[53]),M=h(M,k,g,B,w,15,s[54]),B=h(B,M,k,g,j,21,s[55]),g=h(g,B,M,k,T,6,s[56]),k=h(k,g,B,M,x,10,s[57]),M=h(M,k,g,B,G,15,s[58]),B=h(B,M,k,g,P,21,s[59]),g=h(g,B,M,k,X,6,s[60]),k=h(k,g,B,M,m,10,s[61]),M=h(M,k,g,B,Q,15,s[62]),B=h(B,M,k,g,N,21,s[63]),z[0]=z[0]+g|0,z[1]=z[1]+B|0,z[2]=z[2]+M|0,z[3]=z[3]+k|0},_doFinalize:function(){var y=this._data,v=y.words,S=this._nDataBytes*8,O=y.sigBytes*8;v[O>>>5]|=128<<24-O%32;var F=e.floor(S/4294967296),z=S;v[(O+64>>>9<<4)+15]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,v[(O+64>>>9<<4)+14]=(z<<8|z>>>24)&16711935|(z<<24|z>>>8)&4278255360,y.sigBytes=(v.length+1)*4,this._process();for(var W=this._hash,j=W.words,Q=0;Q<4;Q++){var V=j[Q];j[Q]=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360}return W},clone:function(){var y=f.clone.call(this);return y._hash=this._hash.clone(),y}});function c(y,v,S,O,F,z,W){var j=y+(v&S|~v&O)+F+W;return(j<>>32-z)+v}function d(y,v,S,O,F,z,W){var j=y+(v&O|S&~O)+F+W;return(j<>>32-z)+v}function l(y,v,S,O,F,z,W){var j=y+(v^S^O)+F+W;return(j<>>32-z)+v}function h(y,v,S,O,F,z,W){var j=y+(S^(v|~O))+F+W;return(j<>>32-z)+v}n.MD5=f._createHelper(o),n.HmacMD5=f._createHmacHelper(o)}(Math),t.MD5})});var fce=D((qq,LJe)=>{u();p();(function(t,e){typeof qq=="object"?LJe.exports=qq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(qq,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=n.Hasher,f=e.algo,i=[],s=f.SHA1=r.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(o,c){for(var d=this._hash.words,l=d[0],h=d[1],y=d[2],v=d[3],S=d[4],O=0;O<80;O++){if(O<16)i[O]=o[c+O]|0;else{var F=i[O-3]^i[O-8]^i[O-14]^i[O-16];i[O]=F<<1|F>>>31}var z=(l<<5|l>>>27)+S+i[O];O<20?z+=(h&y|~h&v)+1518500249:O<40?z+=(h^y^v)+1859775393:O<60?z+=(h&y|h&v|y&v)-1894007588:z+=(h^y^v)-899497514,S=v,v=y,y=h<<30|h>>>2,h=l,l=z}d[0]=d[0]+l|0,d[1]=d[1]+h|0,d[2]=d[2]+y|0,d[3]=d[3]+v|0,d[4]=d[4]+S|0},_doFinalize:function(){var o=this._data,c=o.words,d=this._nDataBytes*8,l=o.sigBytes*8;return c[l>>>5]|=128<<24-l%32,c[(l+64>>>9<<4)+14]=Math.floor(d/4294967296),c[(l+64>>>9<<4)+15]=d,o.sigBytes=c.length*4,this._process(),this._hash},clone:function(){var o=r.clone.call(this);return o._hash=this._hash.clone(),o}});e.SHA1=r._createHelper(s),e.HmacSHA1=r._createHmacHelper(s)}(),t.SHA1})});var NJe=D((jq,FJe)=>{u();p();(function(t,e,n){typeof jq=="object"?FJe.exports=jq=e(Zn(),Fx()):typeof define=="function"&&define.amd?define(["./core","./sha256"],e):e(t.CryptoJS)})(jq,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=e.algo,f=r.SHA256,i=r.SHA224=f.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var s=f._doFinalize.call(this);return s.sigBytes-=4,s}});e.SHA224=f._createHelper(i),e.HmacSHA224=f._createHmacHelper(i)}(),t.SHA224})});var ice=D((Gq,OJe)=>{u();p();(function(t,e,n){typeof Gq=="object"?OJe.exports=Gq=e(Zn(),AR()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(t.CryptoJS)})(Gq,function(t){return function(){var e=t,n=e.lib,a=n.Hasher,r=e.x64,f=r.Word,i=r.WordArray,s=e.algo;function o(){return f.create.apply(f,arguments)}var c=[o(1116352408,3609767458),o(1899447441,602891725),o(3049323471,3964484399),o(3921009573,2173295548),o(961987163,4081628472),o(1508970993,3053834265),o(2453635748,2937671579),o(2870763221,3664609560),o(3624381080,2734883394),o(310598401,1164996542),o(607225278,1323610764),o(1426881987,3590304994),o(1925078388,4068182383),o(2162078206,991336113),o(2614888103,633803317),o(3248222580,3479774868),o(3835390401,2666613458),o(4022224774,944711139),o(264347078,2341262773),o(604807628,2007800933),o(770255983,1495990901),o(1249150122,1856431235),o(1555081692,3175218132),o(1996064986,2198950837),o(2554220882,3999719339),o(2821834349,766784016),o(2952996808,2566594879),o(3210313671,3203337956),o(3336571891,1034457026),o(3584528711,2466948901),o(113926993,3758326383),o(338241895,168717936),o(666307205,1188179964),o(773529912,1546045734),o(1294757372,1522805485),o(1396182291,2643833823),o(1695183700,2343527390),o(1986661051,1014477480),o(2177026350,1206759142),o(2456956037,344077627),o(2730485921,1290863460),o(2820302411,3158454273),o(3259730800,3505952657),o(3345764771,106217008),o(3516065817,3606008344),o(3600352804,1432725776),o(4094571909,1467031594),o(275423344,851169720),o(430227734,3100823752),o(506948616,1363258195),o(659060556,3750685593),o(883997877,3785050280),o(958139571,3318307427),o(1322822218,3812723403),o(1537002063,2003034995),o(1747873779,3602036899),o(1955562222,1575990012),o(2024104815,1125592928),o(2227730452,2716904306),o(2361852424,442776044),o(2428436474,593698344),o(2756734187,3733110249),o(3204031479,2999351573),o(3329325298,3815920427),o(3391569614,3928383900),o(3515267271,566280711),o(3940187606,3454069534),o(4118630271,4000239992),o(116418474,1914138554),o(174292421,2731055270),o(289380356,3203993006),o(460393269,320620315),o(685471733,587496836),o(852142971,1086792851),o(1017036298,365543100),o(1126000580,2618297676),o(1288033470,3409855158),o(1501505948,4234509866),o(1607167915,987167468),o(1816402316,1246189591)],d=[];(function(){for(var h=0;h<80;h++)d[h]=o()})();var l=s.SHA512=a.extend({_doReset:function(){this._hash=new i.init([new f.init(1779033703,4089235720),new f.init(3144134277,2227873595),new f.init(1013904242,4271175723),new f.init(2773480762,1595750129),new f.init(1359893119,2917565137),new f.init(2600822924,725511199),new f.init(528734635,4215389547),new f.init(1541459225,327033209)])},_doProcessBlock:function(h,y){for(var v=this._hash.words,S=v[0],O=v[1],F=v[2],z=v[3],W=v[4],j=v[5],Q=v[6],V=v[7],X=S.high,K=S.low,G=O.high,R=O.low,T=F.high,N=F.low,w=z.high,m=z.low,A=W.high,P=W.low,L=j.high,x=j.low,g=Q.high,B=Q.low,M=V.high,k=V.low,q=X,ee=K,U=G,J=R,Z=T,ne=N,ue=w,Y=m,re=A,ie=P,ge=L,de=x,Ae=g,Ge=B,Be=M,c0=k,Ye=0;Ye<80;Ye++){var He,_0,L0=d[Ye];if(Ye<16)_0=L0.high=h[y+Ye*2]|0,He=L0.low=h[y+Ye*2+1]|0;else{var Ze=d[Ye-15],I0=Ze.high,pe=Ze.low,he=(I0>>>1|pe<<31)^(I0>>>8|pe<<24)^I0>>>7,Te=(pe>>>1|I0<<31)^(pe>>>8|I0<<24)^(pe>>>7|I0<<25),Ce=d[Ye-2],Se=Ce.high,Qe=Ce.low,u0=(Se>>>19|Qe<<13)^(Se<<3|Qe>>>29)^Se>>>6,qe=(Qe>>>19|Se<<13)^(Qe<<3|Se>>>29)^(Qe>>>6|Se<<26),v0=d[Ye-7],w0=v0.high,Ve=v0.low,be=d[Ye-16],ye=be.high,_e=be.low;He=Te+Ve,_0=he+w0+(He>>>0>>0?1:0),He=He+qe,_0=_0+u0+(He>>>0>>0?1:0),He=He+_e,_0=_0+ye+(He>>>0<_e>>>0?1:0),L0.high=_0,L0.low=He}var ze=re&ge^~re&Ae,je=ie&de^~ie&Ge,Ue=q&U^q&Z^U&Z,b0=ee&J^ee&ne^J&ne,h0=(q>>>28|ee<<4)^(q<<30|ee>>>2)^(q<<25|ee>>>7),$e=(ee>>>28|q<<4)^(ee<<30|q>>>2)^(ee<<25|q>>>7),M0=(re>>>14|ie<<18)^(re>>>18|ie<<14)^(re<<23|ie>>>9),P0=(ie>>>14|re<<18)^(ie>>>18|re<<14)^(ie<<23|re>>>9),t0=c[Ye],j0=t0.high,z0=t0.low,Ke=c0+P0,B0=Be+M0+(Ke>>>0>>0?1:0),Ke=Ke+je,B0=B0+ze+(Ke>>>0>>0?1:0),Ke=Ke+z0,B0=B0+j0+(Ke>>>0>>0?1:0),Ke=Ke+He,B0=B0+_0+(Ke>>>0>>0?1:0),G0=$e+b0,s0=h0+Ue+(G0>>>0<$e>>>0?1:0);Be=Ae,c0=Ge,Ae=ge,Ge=de,ge=re,de=ie,ie=Y+Ke|0,re=ue+B0+(ie>>>0>>0?1:0)|0,ue=Z,Y=ne,Z=U,ne=J,U=q,J=ee,ee=Ke+G0|0,q=B0+s0+(ee>>>0>>0?1:0)|0}K=S.low=K+ee,S.high=X+q+(K>>>0>>0?1:0),R=O.low=R+J,O.high=G+U+(R>>>0>>0?1:0),N=F.low=N+ne,F.high=T+Z+(N>>>0>>0?1:0),m=z.low=m+Y,z.high=w+ue+(m>>>0>>0?1:0),P=W.low=P+ie,W.high=A+re+(P>>>0>>0?1:0),x=j.low=x+de,j.high=L+ge+(x>>>0>>0?1:0),B=Q.low=B+Ge,Q.high=g+Ae+(B>>>0>>0?1:0),k=V.low=k+c0,V.high=M+Be+(k>>>0>>0?1:0)},_doFinalize:function(){var h=this._data,y=h.words,v=this._nDataBytes*8,S=h.sigBytes*8;y[S>>>5]|=128<<24-S%32,y[(S+128>>>10<<5)+30]=Math.floor(v/4294967296),y[(S+128>>>10<<5)+31]=v,h.sigBytes=y.length*4,this._process();var O=this._hash.toX32();return O},clone:function(){var h=a.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:1024/32});e.SHA512=a._createHelper(l),e.HmacSHA512=a._createHmacHelper(l)}(),t.SHA512})});var HJe=D((Kq,UJe)=>{u();p();(function(t,e,n){typeof Kq=="object"?UJe.exports=Kq=e(Zn(),AR(),ice()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],e):e(t.CryptoJS)})(Kq,function(t){return function(){var e=t,n=e.x64,a=n.Word,r=n.WordArray,f=e.algo,i=f.SHA512,s=f.SHA384=i.extend({_doReset:function(){this._hash=new r.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var o=i._doFinalize.call(this);return o.sigBytes-=16,o}});e.SHA384=i._createHelper(s),e.HmacSHA384=i._createHmacHelper(s)}(),t.SHA384})});var WJe=D((Qq,zJe)=>{u();p();(function(t,e,n){typeof Qq=="object"?zJe.exports=Qq=e(Zn(),AR()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(t.CryptoJS)})(Qq,function(t){return function(e){var n=t,a=n.lib,r=a.WordArray,f=a.Hasher,i=n.x64,s=i.Word,o=n.algo,c=[],d=[],l=[];(function(){for(var v=1,S=0,O=0;O<24;O++){c[v+5*S]=(O+1)*(O+2)/2%64;var F=S%5,z=(2*v+3*S)%5;v=F,S=z}for(var v=0;v<5;v++)for(var S=0;S<5;S++)d[v+5*S]=S+(2*v+3*S)%5*5;for(var W=1,j=0;j<24;j++){for(var Q=0,V=0,X=0;X<7;X++){if(W&1){var K=(1<>>24)&16711935|(W<<24|W>>>8)&4278255360,j=(j<<8|j>>>24)&16711935|(j<<24|j>>>8)&4278255360;var Q=O[z];Q.high^=j,Q.low^=W}for(var V=0;V<24;V++){for(var X=0;X<5;X++){for(var K=0,G=0,R=0;R<5;R++){var Q=O[X+5*R];K^=Q.high,G^=Q.low}var T=h[X];T.high=K,T.low=G}for(var X=0;X<5;X++)for(var N=h[(X+4)%5],w=h[(X+1)%5],m=w.high,A=w.low,K=N.high^(m<<1|A>>>31),G=N.low^(A<<1|m>>>31),R=0;R<5;R++){var Q=O[X+5*R];Q.high^=K,Q.low^=G}for(var P=1;P<25;P++){var K,G,Q=O[P],L=Q.high,x=Q.low,g=c[P];g<32?(K=L<>>32-g,G=x<>>32-g):(K=x<>>64-g,G=L<>>64-g);var B=h[d[P]];B.high=K,B.low=G}var M=h[0],k=O[0];M.high=k.high,M.low=k.low;for(var X=0;X<5;X++)for(var R=0;R<5;R++){var P=X+5*R,Q=O[P],q=h[P],ee=h[(X+1)%5+5*R],U=h[(X+2)%5+5*R];Q.high=q.high^~ee.high&U.high,Q.low=q.low^~ee.low&U.low}var Q=O[0],J=l[V];Q.high^=J.high,Q.low^=J.low}},_doFinalize:function(){var v=this._data,S=v.words,O=this._nDataBytes*8,F=v.sigBytes*8,z=this.blockSize*32;S[F>>>5]|=1<<24-F%32,S[(e.ceil((F+1)/z)*z>>>5)-1]|=128,v.sigBytes=S.length*4,this._process();for(var W=this._state,j=this.cfg.outputLength/8,Q=j/8,V=[],X=0;X>>24)&16711935|(G<<24|G>>>8)&4278255360,R=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,V.push(R),V.push(G)}return new r.init(V,j)},clone:function(){for(var v=f.clone.call(this),S=v._state=this._state.slice(0),O=0;O<25;O++)S[O]=S[O].clone();return v}});n.SHA3=f._createHelper(y),n.HmacSHA3=f._createHmacHelper(y)}(Math),t.SHA3})});var jJe=D((Vq,qJe)=>{u();p();(function(t,e){typeof Vq=="object"?qJe.exports=Vq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Vq,function(t){return function(e){var n=t,a=n.lib,r=a.WordArray,f=a.Hasher,i=n.algo,s=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),o=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),l=r.create([0,1518500249,1859775393,2400959708,2840853838]),h=r.create([1352829926,1548603684,1836072691,2053994217,0]),y=i.RIPEMD160=f.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(j,Q){for(var V=0;V<16;V++){var X=Q+V,K=j[X];j[X]=(K<<8|K>>>24)&16711935|(K<<24|K>>>8)&4278255360}var G=this._hash.words,R=l.words,T=h.words,N=s.words,w=o.words,m=c.words,A=d.words,P,L,x,g,B,M,k,q,ee,U;M=P=G[0],k=L=G[1],q=x=G[2],ee=g=G[3],U=B=G[4];for(var J,V=0;V<80;V+=1)J=P+j[Q+N[V]]|0,V<16?J+=v(L,x,g)+R[0]:V<32?J+=S(L,x,g)+R[1]:V<48?J+=O(L,x,g)+R[2]:V<64?J+=F(L,x,g)+R[3]:J+=z(L,x,g)+R[4],J=J|0,J=W(J,m[V]),J=J+B|0,P=B,B=g,g=W(x,10),x=L,L=J,J=M+j[Q+w[V]]|0,V<16?J+=z(k,q,ee)+T[0]:V<32?J+=F(k,q,ee)+T[1]:V<48?J+=O(k,q,ee)+T[2]:V<64?J+=S(k,q,ee)+T[3]:J+=v(k,q,ee)+T[4],J=J|0,J=W(J,A[V]),J=J+U|0,M=U,U=ee,ee=W(q,10),q=k,k=J;J=G[1]+x+ee|0,G[1]=G[2]+g+U|0,G[2]=G[3]+B+M|0,G[3]=G[4]+P+k|0,G[4]=G[0]+L+q|0,G[0]=J},_doFinalize:function(){var j=this._data,Q=j.words,V=this._nDataBytes*8,X=j.sigBytes*8;Q[X>>>5]|=128<<24-X%32,Q[(X+64>>>9<<4)+14]=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360,j.sigBytes=(Q.length+1)*4,this._process();for(var K=this._hash,G=K.words,R=0;R<5;R++){var T=G[R];G[R]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return K},clone:function(){var j=f.clone.call(this);return j._hash=this._hash.clone(),j}});function v(j,Q,V){return j^Q^V}function S(j,Q,V){return j&Q|~j&V}function O(j,Q,V){return(j|~Q)^V}function F(j,Q,V){return j&V|Q&~V}function z(j,Q,V){return j^(Q|~V)}function W(j,Q){return j<>>32-Q}n.RIPEMD160=f._createHelper(y),n.HmacRIPEMD160=f._createHmacHelper(y)}(Math),t.RIPEMD160})});var $q=D((Yq,GJe)=>{u();p();(function(t,e){typeof Yq=="object"?GJe.exports=Yq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Yq,function(t){(function(){var e=t,n=e.lib,a=n.Base,r=e.enc,f=r.Utf8,i=e.algo,s=i.HMAC=a.extend({init:function(o,c){o=this._hasher=new o.init,typeof c=="string"&&(c=f.parse(c));var d=o.blockSize,l=d*4;c.sigBytes>l&&(c=o.finalize(c)),c.clamp();for(var h=this._oKey=c.clone(),y=this._iKey=c.clone(),v=h.words,S=y.words,O=0;O{u();p();(function(t,e,n){typeof Jq=="object"?KJe.exports=Jq=e(Zn(),Fx(),$q()):typeof define=="function"&&define.amd?define(["./core","./sha256","./hmac"],e):e(t.CryptoJS)})(Jq,function(t){return function(){var e=t,n=e.lib,a=n.Base,r=n.WordArray,f=e.algo,i=f.SHA256,s=f.HMAC,o=f.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:i,iterations:25e4}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,d){for(var l=this.cfg,h=s.create(l.hasher,c),y=r.create(),v=r.create([1]),S=y.words,O=v.words,F=l.keySize,z=l.iterations;S.length{u();p();(function(t,e,n){typeof Xq=="object"?VJe.exports=Xq=e(Zn(),fce(),$q()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],e):e(t.CryptoJS)})(Xq,function(t){return function(){var e=t,n=e.lib,a=n.Base,r=n.WordArray,f=e.algo,i=f.MD5,s=f.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:i,iterations:1}),init:function(o){this.cfg=this.cfg.extend(o)},compute:function(o,c){for(var d,l=this.cfg,h=l.hasher.create(),y=r.create(),v=y.words,S=l.keySize,O=l.iterations;v.length{u();p();(function(t,e,n){typeof Zq=="object"?YJe.exports=Zq=e(Zn(),q8()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],e):e(t.CryptoJS)})(Zq,function(t){t.lib.Cipher||function(e){var n=t,a=n.lib,r=a.Base,f=a.WordArray,i=a.BufferedBlockAlgorithm,s=n.enc,o=s.Utf8,c=s.Base64,d=n.algo,l=d.EvpKDF,h=a.Cipher=i.extend({cfg:r.extend(),createEncryptor:function(T,N){return this.create(this._ENC_XFORM_MODE,T,N)},createDecryptor:function(T,N){return this.create(this._DEC_XFORM_MODE,T,N)},init:function(T,N,w){this.cfg=this.cfg.extend(w),this._xformMode=T,this._key=N,this.reset()},reset:function(){i.reset.call(this),this._doReset()},process:function(T){return this._append(T),this._process()},finalize:function(T){T&&this._append(T);var N=this._doFinalize();return N},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function T(N){return typeof N=="string"?R:X}return function(N){return{encrypt:function(w,m,A){return T(m).encrypt(N,w,m,A)},decrypt:function(w,m,A){return T(m).decrypt(N,w,m,A)}}}}()}),y=a.StreamCipher=h.extend({_doFinalize:function(){var T=this._process(!0);return T},blockSize:1}),v=n.mode={},S=a.BlockCipherMode=r.extend({createEncryptor:function(T,N){return this.Encryptor.create(T,N)},createDecryptor:function(T,N){return this.Decryptor.create(T,N)},init:function(T,N){this._cipher=T,this._iv=N}}),O=v.CBC=function(){var T=S.extend();T.Encryptor=T.extend({processBlock:function(w,m){var A=this._cipher,P=A.blockSize;N.call(this,w,m,P),A.encryptBlock(w,m),this._prevBlock=w.slice(m,m+P)}}),T.Decryptor=T.extend({processBlock:function(w,m){var A=this._cipher,P=A.blockSize,L=w.slice(m,m+P);A.decryptBlock(w,m),N.call(this,w,m,P),this._prevBlock=L}});function N(w,m,A){var P,L=this._iv;L?(P=L,this._iv=e):P=this._prevBlock;for(var x=0;x>>2]&255;T.sigBytes-=N}},W=a.BlockCipher=h.extend({cfg:h.cfg.extend({mode:O,padding:z}),reset:function(){var T;h.reset.call(this);var N=this.cfg,w=N.iv,m=N.mode;this._xformMode==this._ENC_XFORM_MODE?T=m.createEncryptor:(T=m.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==T?this._mode.init(this,w&&w.words):(this._mode=T.call(m,this,w&&w.words),this._mode.__creator=T)},_doProcessBlock:function(T,N){this._mode.processBlock(T,N)},_doFinalize:function(){var T,N=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(N.pad(this._data,this.blockSize),T=this._process(!0)):(T=this._process(!0),N.unpad(T)),T},blockSize:128/32}),j=a.CipherParams=r.extend({init:function(T){this.mixIn(T)},toString:function(T){return(T||this.formatter).stringify(this)}}),Q=n.format={},V=Q.OpenSSL={stringify:function(T){var N,w=T.ciphertext,m=T.salt;return m?N=f.create([1398893684,1701076831]).concat(m).concat(w):N=w,N.toString(c)},parse:function(T){var N,w=c.parse(T),m=w.words;return m[0]==1398893684&&m[1]==1701076831&&(N=f.create(m.slice(2,4)),m.splice(0,4),w.sigBytes-=16),j.create({ciphertext:w,salt:N})}},X=a.SerializableCipher=r.extend({cfg:r.extend({format:V}),encrypt:function(T,N,w,m){m=this.cfg.extend(m);var A=T.createEncryptor(w,m),P=A.finalize(N),L=A.cfg;return j.create({ciphertext:P,key:w,iv:L.iv,algorithm:T,mode:L.mode,padding:L.padding,blockSize:T.blockSize,formatter:m.format})},decrypt:function(T,N,w,m){m=this.cfg.extend(m),N=this._parse(N,m.format);var A=T.createDecryptor(w,m).finalize(N.ciphertext);return A},_parse:function(T,N){return typeof T=="string"?N.parse(T,this):T}}),K=n.kdf={},G=K.OpenSSL={execute:function(T,N,w,m,A){if(m||(m=f.random(64/8)),A)var P=l.create({keySize:N+w,hasher:A}).compute(T,m);else var P=l.create({keySize:N+w}).compute(T,m);var L=f.create(P.words.slice(N),w*4);return P.sigBytes=N*4,j.create({key:P,iv:L,salt:m})}},R=a.PasswordBasedCipher=X.extend({cfg:X.cfg.extend({kdf:G}),encrypt:function(T,N,w,m){m=this.cfg.extend(m);var A=m.kdf.execute(w,T.keySize,T.ivSize,m.salt,m.hasher);m.iv=A.iv;var P=X.encrypt.call(this,T,N,A.key,m);return P.mixIn(A),P},decrypt:function(T,N,w,m){m=this.cfg.extend(m),N=this._parse(N,m.format);var A=m.kdf.execute(w,T.keySize,T.ivSize,N.salt,m.hasher);m.iv=A.iv;var P=X.decrypt.call(this,T,N,A.key,m);return P}})}()})});var JJe=D((ej,$Je)=>{u();p();(function(t,e,n){typeof ej=="object"?$Je.exports=ej=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(ej,function(t){return t.mode.CFB=function(){var e=t.lib.BlockCipherMode.extend();e.Encryptor=e.extend({processBlock:function(a,r){var f=this._cipher,i=f.blockSize;n.call(this,a,r,i,f),this._prevBlock=a.slice(r,r+i)}}),e.Decryptor=e.extend({processBlock:function(a,r){var f=this._cipher,i=f.blockSize,s=a.slice(r,r+i);n.call(this,a,r,i,f),this._prevBlock=s}});function n(a,r,f,i){var s,o=this._iv;o?(s=o.slice(0),this._iv=void 0):s=this._prevBlock,i.encryptBlock(s,0);for(var c=0;c{u();p();(function(t,e,n){typeof tj=="object"?XJe.exports=tj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(tj,function(t){return t.mode.CTR=function(){var e=t.lib.BlockCipherMode.extend(),n=e.Encryptor=e.extend({processBlock:function(a,r){var f=this._cipher,i=f.blockSize,s=this._iv,o=this._counter;s&&(o=this._counter=s.slice(0),this._iv=void 0);var c=o.slice(0);f.encryptBlock(c,0),o[i-1]=o[i-1]+1|0;for(var d=0;d{u();p();(function(t,e,n){typeof nj=="object"?eXe.exports=nj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(nj,function(t){return t.mode.CTRGladman=function(){var e=t.lib.BlockCipherMode.extend();function n(f){if((f>>24&255)===255){var i=f>>16&255,s=f>>8&255,o=f&255;i===255?(i=0,s===255?(s=0,o===255?o=0:++o):++s):++i,f=0,f+=i<<16,f+=s<<8,f+=o}else f+=1<<24;return f}function a(f){return(f[0]=n(f[0]))===0&&(f[1]=n(f[1])),f}var r=e.Encryptor=e.extend({processBlock:function(f,i){var s=this._cipher,o=s.blockSize,c=this._iv,d=this._counter;c&&(d=this._counter=c.slice(0),this._iv=void 0),a(d);var l=d.slice(0);s.encryptBlock(l,0);for(var h=0;h{u();p();(function(t,e,n){typeof aj=="object"?nXe.exports=aj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(aj,function(t){return t.mode.OFB=function(){var e=t.lib.BlockCipherMode.extend(),n=e.Encryptor=e.extend({processBlock:function(a,r){var f=this._cipher,i=f.blockSize,s=this._iv,o=this._keystream;s&&(o=this._keystream=s.slice(0),this._iv=void 0),f.encryptBlock(o,0);for(var c=0;c{u();p();(function(t,e,n){typeof rj=="object"?rXe.exports=rj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(rj,function(t){return t.mode.ECB=function(){var e=t.lib.BlockCipherMode.extend();return e.Encryptor=e.extend({processBlock:function(n,a){this._cipher.encryptBlock(n,a)}}),e.Decryptor=e.extend({processBlock:function(n,a){this._cipher.decryptBlock(n,a)}}),e}(),t.mode.ECB})});var sXe=D((fj,iXe)=>{u();p();(function(t,e,n){typeof fj=="object"?iXe.exports=fj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(fj,function(t){return t.pad.AnsiX923={pad:function(e,n){var a=e.sigBytes,r=n*4,f=r-a%r,i=a+f-1;e.clamp(),e.words[i>>>2]|=f<<24-i%4*8,e.sigBytes+=f},unpad:function(e){var n=e.words[e.sigBytes-1>>>2]&255;e.sigBytes-=n}},t.pad.Ansix923})});var cXe=D((ij,oXe)=>{u();p();(function(t,e,n){typeof ij=="object"?oXe.exports=ij=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(ij,function(t){return t.pad.Iso10126={pad:function(e,n){var a=n*4,r=a-e.sigBytes%a;e.concat(t.lib.WordArray.random(r-1)).concat(t.lib.WordArray.create([r<<24],1))},unpad:function(e){var n=e.words[e.sigBytes-1>>>2]&255;e.sigBytes-=n}},t.pad.Iso10126})});var lXe=D((sj,dXe)=>{u();p();(function(t,e,n){typeof sj=="object"?dXe.exports=sj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(sj,function(t){return t.pad.Iso97971={pad:function(e,n){e.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(e,n)},unpad:function(e){t.pad.ZeroPadding.unpad(e),e.sigBytes--}},t.pad.Iso97971})});var pXe=D((oj,uXe)=>{u();p();(function(t,e,n){typeof oj=="object"?uXe.exports=oj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(oj,function(t){return t.pad.ZeroPadding={pad:function(e,n){var a=n*4;e.clamp(),e.sigBytes+=a-(e.sigBytes%a||a)},unpad:function(e){for(var n=e.words,a=e.sigBytes-1,a=e.sigBytes-1;a>=0;a--)if(n[a>>>2]>>>24-a%4*8&255){e.sigBytes=a+1;break}}},t.pad.ZeroPadding})});var bXe=D((cj,hXe)=>{u();p();(function(t,e,n){typeof cj=="object"?hXe.exports=cj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(cj,function(t){return t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding})});var yXe=D((dj,mXe)=>{u();p();(function(t,e,n){typeof dj=="object"?mXe.exports=dj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(dj,function(t){return function(e){var n=t,a=n.lib,r=a.CipherParams,f=n.enc,i=f.Hex,s=n.format,o=s.Hex={stringify:function(c){return c.ciphertext.toString(i)},parse:function(c){var d=i.parse(c);return r.create({ciphertext:d})}}}(),t.format.Hex})});var vXe=D((lj,gXe)=>{u();p();(function(t,e,n){typeof lj=="object"?gXe.exports=lj=e(Zn(),zb(),Wb(),q8(),Xi()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(lj,function(t){return function(){var e=t,n=e.lib,a=n.BlockCipher,r=e.algo,f=[],i=[],s=[],o=[],c=[],d=[],l=[],h=[],y=[],v=[];(function(){for(var F=[],z=0;z<256;z++)z<128?F[z]=z<<1:F[z]=z<<1^283;for(var W=0,j=0,z=0;z<256;z++){var Q=j^j<<1^j<<2^j<<3^j<<4;Q=Q>>>8^Q&255^99,f[W]=Q,i[Q]=W;var V=F[W],X=F[V],K=F[X],G=F[Q]*257^Q*16843008;s[W]=G<<24|G>>>8,o[W]=G<<16|G>>>16,c[W]=G<<8|G>>>24,d[W]=G;var G=K*16843009^X*65537^V*257^W*16843008;l[Q]=G<<24|G>>>8,h[Q]=G<<16|G>>>16,y[Q]=G<<8|G>>>24,v[Q]=G,W?(W=V^F[F[F[K^V]]],j^=F[F[j]]):W=j=1}})();var S=[0,1,2,4,8,16,32,64,128,27,54],O=r.AES=a.extend({_doReset:function(){var F;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var z=this._keyPriorReset=this._key,W=z.words,j=z.sigBytes/4,Q=this._nRounds=j+6,V=(Q+1)*4,X=this._keySchedule=[],K=0;K6&&K%j==4&&(F=f[F>>>24]<<24|f[F>>>16&255]<<16|f[F>>>8&255]<<8|f[F&255]):(F=F<<8|F>>>24,F=f[F>>>24]<<24|f[F>>>16&255]<<16|f[F>>>8&255]<<8|f[F&255],F^=S[K/j|0]<<24),X[K]=X[K-j]^F);for(var G=this._invKeySchedule=[],R=0;R>>24]]^h[f[F>>>16&255]]^y[f[F>>>8&255]]^v[f[F&255]]}}},encryptBlock:function(F,z){this._doCryptBlock(F,z,this._keySchedule,s,o,c,d,f)},decryptBlock:function(F,z){var W=F[z+1];F[z+1]=F[z+3],F[z+3]=W,this._doCryptBlock(F,z,this._invKeySchedule,l,h,y,v,i);var W=F[z+1];F[z+1]=F[z+3],F[z+3]=W},_doCryptBlock:function(F,z,W,j,Q,V,X,K){for(var G=this._nRounds,R=F[z]^W[0],T=F[z+1]^W[1],N=F[z+2]^W[2],w=F[z+3]^W[3],m=4,A=1;A>>24]^Q[T>>>16&255]^V[N>>>8&255]^X[w&255]^W[m++],L=j[T>>>24]^Q[N>>>16&255]^V[w>>>8&255]^X[R&255]^W[m++],x=j[N>>>24]^Q[w>>>16&255]^V[R>>>8&255]^X[T&255]^W[m++],g=j[w>>>24]^Q[R>>>16&255]^V[T>>>8&255]^X[N&255]^W[m++];R=P,T=L,N=x,w=g}var P=(K[R>>>24]<<24|K[T>>>16&255]<<16|K[N>>>8&255]<<8|K[w&255])^W[m++],L=(K[T>>>24]<<24|K[N>>>16&255]<<16|K[w>>>8&255]<<8|K[R&255])^W[m++],x=(K[N>>>24]<<24|K[w>>>16&255]<<16|K[R>>>8&255]<<8|K[T&255])^W[m++],g=(K[w>>>24]<<24|K[R>>>16&255]<<16|K[T>>>8&255]<<8|K[N&255])^W[m++];F[z]=P,F[z+1]=L,F[z+2]=x,F[z+3]=g},keySize:256/32});e.AES=a._createHelper(O)}(),t.AES})});var TXe=D((uj,wXe)=>{u();p();(function(t,e,n){typeof uj=="object"?wXe.exports=uj=e(Zn(),zb(),Wb(),q8(),Xi()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(uj,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=n.BlockCipher,f=e.algo,i=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],o=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],l=f.DES=r.extend({_doReset:function(){for(var S=this._key,O=S.words,F=[],z=0;z<56;z++){var W=i[z]-1;F[z]=O[W>>>5]>>>31-W%32&1}for(var j=this._subKeys=[],Q=0;Q<16;Q++){for(var V=j[Q]=[],X=o[Q],z=0;z<24;z++)V[z/6|0]|=F[(s[z]-1+X)%28]<<31-z%6,V[4+(z/6|0)]|=F[28+(s[z+24]-1+X)%28]<<31-z%6;V[0]=V[0]<<1|V[0]>>>31;for(var z=1;z<7;z++)V[z]=V[z]>>>(z-1)*4+3;V[7]=V[7]<<5|V[7]>>>27}for(var K=this._invSubKeys=[],z=0;z<16;z++)K[z]=j[15-z]},encryptBlock:function(S,O){this._doCryptBlock(S,O,this._subKeys)},decryptBlock:function(S,O){this._doCryptBlock(S,O,this._invSubKeys)},_doCryptBlock:function(S,O,F){this._lBlock=S[O],this._rBlock=S[O+1],h.call(this,4,252645135),h.call(this,16,65535),y.call(this,2,858993459),y.call(this,8,16711935),h.call(this,1,1431655765);for(var z=0;z<16;z++){for(var W=F[z],j=this._lBlock,Q=this._rBlock,V=0,X=0;X<8;X++)V|=c[X][((Q^W[X])&d[X])>>>0];this._lBlock=Q,this._rBlock=j^V}var K=this._lBlock;this._lBlock=this._rBlock,this._rBlock=K,h.call(this,1,1431655765),y.call(this,8,16711935),y.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),S[O]=this._lBlock,S[O+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function h(S,O){var F=(this._lBlock>>>S^this._rBlock)&O;this._rBlock^=F,this._lBlock^=F<>>S^this._lBlock)&O;this._lBlock^=F,this._rBlock^=F<192.");var F=O.slice(0,2),z=O.length<4?O.slice(0,2):O.slice(2,4),W=O.length<6?O.slice(0,2):O.slice(4,6);this._des1=l.createEncryptor(a.create(F)),this._des2=l.createEncryptor(a.create(z)),this._des3=l.createEncryptor(a.create(W))},encryptBlock:function(S,O){this._des1.encryptBlock(S,O),this._des2.decryptBlock(S,O),this._des3.encryptBlock(S,O)},decryptBlock:function(S,O){this._des3.decryptBlock(S,O),this._des2.encryptBlock(S,O),this._des1.decryptBlock(S,O)},keySize:192/32,ivSize:64/32,blockSize:64/32});e.TripleDES=r._createHelper(v)}(),t.TripleDES})});var EXe=D((pj,xXe)=>{u();p();(function(t,e,n){typeof pj=="object"?xXe.exports=pj=e(Zn(),zb(),Wb(),q8(),Xi()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(pj,function(t){return function(){var e=t,n=e.lib,a=n.StreamCipher,r=e.algo,f=r.RC4=a.extend({_doReset:function(){for(var o=this._key,c=o.words,d=o.sigBytes,l=this._S=[],h=0;h<256;h++)l[h]=h;for(var h=0,y=0;h<256;h++){var v=h%d,S=c[v>>>2]>>>24-v%4*8&255;y=(y+l[h]+S)%256;var O=l[h];l[h]=l[y],l[y]=O}this._i=this._j=0},_doProcessBlock:function(o,c){o[c]^=i.call(this)},keySize:256/32,ivSize:0});function i(){for(var o=this._S,c=this._i,d=this._j,l=0,h=0;h<4;h++){c=(c+1)%256,d=(d+o[c])%256;var y=o[c];o[c]=o[d],o[d]=y,l|=o[(o[c]+o[d])%256]<<24-h*8}return this._i=c,this._j=d,l}e.RC4=a._createHelper(f);var s=r.RC4Drop=f.extend({cfg:f.cfg.extend({drop:192}),_doReset:function(){f._doReset.call(this);for(var o=this.cfg.drop;o>0;o--)i.call(this)}});e.RC4Drop=a._createHelper(s)}(),t.RC4})});var AXe=D((hj,_Xe)=>{u();p();(function(t,e,n){typeof hj=="object"?_Xe.exports=hj=e(Zn(),zb(),Wb(),q8(),Xi()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(hj,function(t){return function(){var e=t,n=e.lib,a=n.StreamCipher,r=e.algo,f=[],i=[],s=[],o=r.Rabbit=a.extend({_doReset:function(){for(var d=this._key.words,l=this.cfg.iv,h=0;h<4;h++)d[h]=(d[h]<<8|d[h]>>>24)&16711935|(d[h]<<24|d[h]>>>8)&4278255360;var y=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],v=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var h=0;h<4;h++)c.call(this);for(var h=0;h<8;h++)v[h]^=y[h+4&7];if(l){var S=l.words,O=S[0],F=S[1],z=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,W=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,j=z>>>16|W&4294901760,Q=W<<16|z&65535;v[0]^=z,v[1]^=j,v[2]^=W,v[3]^=Q,v[4]^=z,v[5]^=j,v[6]^=W,v[7]^=Q;for(var h=0;h<4;h++)c.call(this)}},_doProcessBlock:function(d,l){var h=this._X;c.call(this),f[0]=h[0]^h[5]>>>16^h[3]<<16,f[1]=h[2]^h[7]>>>16^h[5]<<16,f[2]=h[4]^h[1]>>>16^h[7]<<16,f[3]=h[6]^h[3]>>>16^h[1]<<16;for(var y=0;y<4;y++)f[y]=(f[y]<<8|f[y]>>>24)&16711935|(f[y]<<24|f[y]>>>8)&4278255360,d[l+y]^=f[y]},blockSize:128/32,ivSize:64/32});function c(){for(var d=this._X,l=this._C,h=0;h<8;h++)i[h]=l[h];l[0]=l[0]+1295307597+this._b|0,l[1]=l[1]+3545052371+(l[0]>>>0>>0?1:0)|0,l[2]=l[2]+886263092+(l[1]>>>0>>0?1:0)|0,l[3]=l[3]+1295307597+(l[2]>>>0>>0?1:0)|0,l[4]=l[4]+3545052371+(l[3]>>>0>>0?1:0)|0,l[5]=l[5]+886263092+(l[4]>>>0>>0?1:0)|0,l[6]=l[6]+1295307597+(l[5]>>>0>>0?1:0)|0,l[7]=l[7]+3545052371+(l[6]>>>0>>0?1:0)|0,this._b=l[7]>>>0>>0?1:0;for(var h=0;h<8;h++){var y=d[h]+l[h],v=y&65535,S=y>>>16,O=((v*v>>>17)+v*S>>>15)+S*S,F=((y&4294901760)*y|0)+((y&65535)*y|0);s[h]=O^F}d[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,d[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,d[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,d[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,d[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,d[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,d[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,d[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.Rabbit=a._createHelper(o)}(),t.Rabbit})});var IXe=D((bj,CXe)=>{u();p();(function(t,e,n){typeof bj=="object"?CXe.exports=bj=e(Zn(),zb(),Wb(),q8(),Xi()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(bj,function(t){return function(){var e=t,n=e.lib,a=n.StreamCipher,r=e.algo,f=[],i=[],s=[],o=r.RabbitLegacy=a.extend({_doReset:function(){var d=this._key.words,l=this.cfg.iv,h=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],y=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var v=0;v<4;v++)c.call(this);for(var v=0;v<8;v++)y[v]^=h[v+4&7];if(l){var S=l.words,O=S[0],F=S[1],z=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,W=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,j=z>>>16|W&4294901760,Q=W<<16|z&65535;y[0]^=z,y[1]^=j,y[2]^=W,y[3]^=Q,y[4]^=z,y[5]^=j,y[6]^=W,y[7]^=Q;for(var v=0;v<4;v++)c.call(this)}},_doProcessBlock:function(d,l){var h=this._X;c.call(this),f[0]=h[0]^h[5]>>>16^h[3]<<16,f[1]=h[2]^h[7]>>>16^h[5]<<16,f[2]=h[4]^h[1]>>>16^h[7]<<16,f[3]=h[6]^h[3]>>>16^h[1]<<16;for(var y=0;y<4;y++)f[y]=(f[y]<<8|f[y]>>>24)&16711935|(f[y]<<24|f[y]>>>8)&4278255360,d[l+y]^=f[y]},blockSize:128/32,ivSize:64/32});function c(){for(var d=this._X,l=this._C,h=0;h<8;h++)i[h]=l[h];l[0]=l[0]+1295307597+this._b|0,l[1]=l[1]+3545052371+(l[0]>>>0>>0?1:0)|0,l[2]=l[2]+886263092+(l[1]>>>0>>0?1:0)|0,l[3]=l[3]+1295307597+(l[2]>>>0>>0?1:0)|0,l[4]=l[4]+3545052371+(l[3]>>>0>>0?1:0)|0,l[5]=l[5]+886263092+(l[4]>>>0>>0?1:0)|0,l[6]=l[6]+1295307597+(l[5]>>>0>>0?1:0)|0,l[7]=l[7]+3545052371+(l[6]>>>0>>0?1:0)|0,this._b=l[7]>>>0>>0?1:0;for(var h=0;h<8;h++){var y=d[h]+l[h],v=y&65535,S=y>>>16,O=((v*v>>>17)+v*S>>>15)+S*S,F=((y&4294901760)*y|0)+((y&65535)*y|0);s[h]=O^F}d[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,d[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,d[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,d[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,d[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,d[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,d[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,d[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.RabbitLegacy=a._createHelper(o)}(),t.RabbitLegacy})});var SXe=D((mj,kXe)=>{u();p();(function(t,e,n){typeof mj=="object"?kXe.exports=mj=e(Zn(),zb(),Wb(),q8(),Xi()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(mj,function(t){return function(){var e=t,n=e.lib,a=n.BlockCipher,r=e.algo;let f=16,i=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var o={pbox:[],sbox:[]};function c(v,S){let O=S>>24&255,F=S>>16&255,z=S>>8&255,W=S&255,j=v.sbox[0][O]+v.sbox[1][F];return j=j^v.sbox[2][z],j=j+v.sbox[3][W],j}function d(v,S,O){let F=S,z=O,W;for(let j=0;j1;--j)F=F^v.pbox[j],z=c(v,F)^z,W=F,F=z,z=W;return W=F,F=z,z=W,z=z^v.pbox[1],F=F^v.pbox[0],{left:F,right:z}}function h(v,S,O){for(let Q=0;Q<4;Q++){v.sbox[Q]=[];for(let V=0;V<256;V++)v.sbox[Q][V]=s[Q][V]}let F=0;for(let Q=0;Q=O&&(F=0);let z=0,W=0,j=0;for(let Q=0;Q{u();p();(function(t,e,n){typeof yj=="object"?RXe.exports=yj=e(Zn(),AR(),kJe(),RJe(),zb(),DJe(),Wb(),fce(),Fx(),NJe(),ice(),HJe(),WJe(),jJe(),$q(),QJe(),q8(),Xi(),JJe(),ZJe(),tXe(),aXe(),fXe(),sXe(),cXe(),lXe(),pXe(),bXe(),yXe(),vXe(),TXe(),EXe(),AXe(),IXe(),SXe()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./enc-base64url","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy","./blowfish"],e):t.CryptoJS=e(t.CryptoJS)})(yj,function(t){return t})});var CR=D(Z7=>{"use strict";u();p();var PGt=Z7&&Z7.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Z7,"__esModule",{value:!0});Z7.Base=void 0;var oo=Kf(),sce=PGt(MXe()),gj=class t{print(){t.print(this)}bufferIndexOf(e,n,a=!1){if(a)return this.binarySearch(e,n,oo.Buffer.compare);let r=(f,i)=>f.equals(i);return this.linearSearch(e,n,r)}static binarySearch(e,n,a){let r=0,f=e.length-1;for(;r<=f;){let i=Math.floor((r+f)/2),s=a(e[i],n);if(s===0){for(let o=i-1;o>=0;o--)if(a(e[o],n)!==0)return o+1;return 0}else s<0?r=i+1:f=i-1}return-1}binarySearch(e,n,a){return t.binarySearch(e,n,a)}static linearSearch(e,n,a){for(let r=0;r{let a=e(n);return oo.Buffer.isBuffer(a)?a:this.isHexString(a)?oo.Buffer.from(a.replace("0x",""),"hex"):typeof a=="string"?oo.Buffer.from(a):typeof a=="bigint"?oo.Buffer.from(n.toString(16),"hex"):ArrayBuffer.isView(a)?oo.Buffer.from(a.buffer,a.byteOffset,a.byteLength):oo.Buffer.from(e(sce.default.enc.Hex.parse(n.toString("hex"))).toString(sce.default.enc.Hex),"hex")}}isHexString(e){return t.isHexString(e)}log2(e){return e===1?0:1+this.log2(e/2|0)}zip(e,n){return e.map((a,r)=>[a,n[r]])}static hexZeroPad(e,n){return"0x"+e.replace("0x","").padStart(n,"0")}};Z7.Base=gj;Z7.default=gj});var BXe=D(e9=>{"use strict";u();p();var vj=e9&&e9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e9,"__esModule",{value:!0});e9.MerkleTree=void 0;var As=Kf(),j8=vj(ace()),oce=vj(Fx()),LGt=vj(Fq()),FGt=vj(CR()),IR=class t extends FGt.default{constructor(e,n=oce.default,a={}){if(super(),this.duplicateOdd=!1,this.concatenator=As.Buffer.concat,this.hashLeaves=!1,this.isBitcoinTree=!1,this.leaves=[],this.layers=[],this.sortLeaves=!1,this.sortPairs=!1,this.sort=!1,this.fillDefaultHash=null,this.complete=!1,a.complete){if(a.isBitcoinTree)throw new Error('option "complete" is incompatible with "isBitcoinTree"');if(a.duplicateOdd)throw new Error('option "complete" is incompatible with "duplicateOdd"')}if(this.isBitcoinTree=!!a.isBitcoinTree,this.hashLeaves=!!a.hashLeaves,this.sortLeaves=!!a.sortLeaves,this.sortPairs=!!a.sortPairs,this.complete=!!a.complete,a.fillDefaultHash)if(typeof a.fillDefaultHash=="function")this.fillDefaultHash=a.fillDefaultHash;else if(As.Buffer.isBuffer(a.fillDefaultHash)||typeof a.fillDefaultHash=="string")this.fillDefaultHash=(r,f)=>a.fillDefaultHash;else throw new Error('method "fillDefaultHash" must be a function, Buffer, or string');this.sort=!!a.sort,this.sort&&(this.sortLeaves=!0,this.sortPairs=!0),this.duplicateOdd=!!a.duplicateOdd,a.concatenator&&(this.concatenator=a.concatenator),this.hashFn=this.bufferifyFn(n),this.processLeaves(e)}getOptions(){var e,n;return{complete:this.complete,isBitcoinTree:this.isBitcoinTree,hashLeaves:this.hashLeaves,sortLeaves:this.sortLeaves,sortPairs:this.sortPairs,sort:this.sort,fillDefaultHash:(n=(e=this.fillDefaultHash)===null||e===void 0?void 0:e.toString())!==null&&n!==void 0?n:null,duplicateOdd:this.duplicateOdd}}processLeaves(e){if(this.hashLeaves&&(e=e.map(this.hashFn)),this.leaves=e.map(this.bufferify),this.sortLeaves&&(this.leaves=this.leaves.sort(As.Buffer.compare)),this.fillDefaultHash)for(let n=this.leaves.length;n1;){let n=this.layers.length;this.layers.push([]);let a=this.complete&&n===1&&!Number.isInteger(Math.log2(e.length))?2*e.length-Math.pow(2,Math.ceil(Math.log2(e.length))):e.length;for(let r=0;r=a){this.layers[n].push(...e.slice(a));break}else if(r+1===e.length&&e.length%2===1){let c=e[e.length-1],d=c;if(this.isBitcoinTree){d=this.hashFn(this.concatenator([j8.default(c),j8.default(c)])),d=j8.default(this.hashFn(d)),this.layers[n].push(d);continue}else if(!this.duplicateOdd){this.layers[n].push(e[r]);continue}}let f=e[r],i=r+1===e.length?f:e[r+1],s=null;this.isBitcoinTree?s=[j8.default(f),j8.default(i)]:s=[f,i],this.sortPairs&&s.sort(As.Buffer.compare);let o=this.hashFn(this.concatenator(s));this.isBitcoinTree&&(o=j8.default(this.hashFn(o))),this.layers[n].push(o)}e=this.layers[n]}}addLeaf(e,n=!1){n&&(e=this.hashFn(e)),this.processLeaves(this.leaves.concat(e))}addLeaves(e,n=!1){n&&(e=e.map(this.hashFn)),this.processLeaves(this.leaves.concat(e))}getLeaves(e){return Array.isArray(e)?(this.hashLeaves&&(e=e.map(this.hashFn),this.sortLeaves&&(e=e.sort(As.Buffer.compare))),this.leaves.filter(n=>this.bufferIndexOf(e,n,this.sortLeaves)!==-1)):this.leaves}getLeaf(e){return e<0||e>this.leaves.length-1?As.Buffer.from([]):this.leaves[e]}getLeafIndex(e){e=this.bufferify(e);let n=this.getLeaves();for(let a=0;athis.bufferToHex(e))}static marshalLeaves(e){return JSON.stringify(e.map(n=>t.bufferToHex(n)),null,2)}static unmarshalLeaves(e){let n=null;if(typeof e=="string")n=JSON.parse(e);else if(e instanceof Object)n=e;else throw new Error("Expected type of string or object");if(!n)return[];if(!Array.isArray(n))throw new Error("Expected JSON string to be array");return n.map(t.bufferify)}getLayers(){return this.layers}getHexLayers(){return this.layers.reduce((e,n)=>(Array.isArray(n)?e.push(n.map(a=>this.bufferToHex(a))):e.push(n),e),[])}getLayersFlat(){let e=this.layers.reduce((n,a)=>(Array.isArray(a)?n.unshift(...a):n.unshift(a),n),[]);return e.unshift(As.Buffer.from([0])),e}getHexLayersFlat(){return this.getLayersFlat().map(e=>this.bufferToHex(e))}getLayerCount(){return this.getLayers().length}getRoot(){return this.layers.length===0?As.Buffer.from([]):this.layers[this.layers.length-1][0]||As.Buffer.from([])}getHexRoot(){return this.bufferToHex(this.getRoot())}getProof(e,n){if(typeof e>"u")throw new Error("leaf is required");e=this.bufferify(e);let a=[];if(!Number.isInteger(n)){n=-1;for(let r=0;rthis.bufferToHex(a.data))}getProofs(){let e=[],n=[];return this.getProofsDFS(this.layers.length-1,0,e,n),n}getProofsDFS(e,n,a,r){let f=n%2;if(e===-1){f||r.push([...a].reverse());return}if(n>=this.layers[e].length)return;let i=this.layers[e],s=f?n-1:n+1,o=!1;sthis.bufferToHex(e.data))}getPositionalHexProof(e,n){return this.getProof(e,n).map(a=>[a.position==="left"?0:1,this.bufferToHex(a.data)])}static marshalProof(e){let n=e.map(a=>typeof a=="string"?a:As.Buffer.isBuffer(a)?t.bufferToHex(a):{position:a.position,data:t.bufferToHex(a.data)});return JSON.stringify(n,null,2)}static unmarshalProof(e){let n=null;if(typeof e=="string")n=JSON.parse(e);else if(e instanceof Object)n=e;else throw new Error("Expected type of string or object");if(!n)return[];if(!Array.isArray(n))throw new Error("Expected JSON string to be array");return n.map(a=>{if(typeof a=="string")return t.bufferify(a);if(a instanceof Object)return{position:a.position,data:t.bufferify(a.data)};throw new Error("Expected item to be of type string or object")})}static marshalTree(e){let n=e.getHexRoot(),a=e.leaves.map(i=>t.bufferToHex(i)),r=e.getHexLayers(),f=e.getOptions();return JSON.stringify({options:f,root:n,layers:r,leaves:a},null,2)}static unmarshalTree(e,n=oce.default,a={}){let r=null;if(typeof e=="string")r=JSON.parse(e);else if(e instanceof Object)r=e;else throw new Error("Expected type of string or object");if(!r)throw new Error("could not parse json");return a=Object.assign({},r.options||{},a),new t(r.leaves,n,a)}getProofIndices(e,n){let a=Math.pow(2,n),r=new Set;for(let c of e){let d=a+c;for(;d>1;)r.add(d^1),d=d/2|0}let f=e.map(c=>a+c),i=Array.from(r).sort((c,d)=>c-d).reverse();r=f.concat(i);let s=new Set,o=[];for(let c of r)if(!s.has(c))for(o.push(c);c>1&&(s.add(c),!!s.has(c^1));)c=c/2|0;return o.filter(c=>!e.includes(c-a))}getProofIndicesForUnevenTree(e,n){let a=Math.ceil(Math.log2(n)),r=[];for(let s=0;sl%2===0?l+1:l-1).filter(l=>!i.includes(l)),d=r.find(({index:l})=>l===s);d&&i.includes(d.leavesCount-1)&&(c=c.slice(0,-1)),f.push(c),i=[...new Set(i.map(l=>l%2===0?l/2:l%2===0?(l+1)/2:(l-1)/2))]}return f}getMultiProof(e,n){if(this.complete||console.warn("Warning: For correct multiProofs it's strongly recommended to set complete: true"),n||(n=e,e=this.getLayersFlat()),this.isUnevenTree()&&n.every(Number.isInteger))return this.getMultiProofForUnevenTree(n);if(!n.every(Number.isInteger)){let r=n;this.sortPairs&&(r=r.sort(As.Buffer.compare));let f=r.map(c=>this.bufferIndexOf(this.leaves,c,this.sortLeaves)).sort((c,d)=>c===d?0:c>d?1:-1);if(!f.every(c=>c!==-1))throw new Error("Element does not exist in Merkle tree");let i=[],s=[],o=[];for(let c=0;cy.indexOf(l)===h),o=[]}return s.filter(c=>!i.includes(c))}return this.getProofIndices(n,Math.log2(e.length/2|0)).map(r=>e[r])}getMultiProofForUnevenTree(e,n){n||(n=e,e=this.getLayers());let a=[],r=n;for(let f of e){let i=[];for(let o of r){if(o%2===0){let d=o+1;if(!r.includes(d)&&f[d]){i.push(f[d]);continue}}let c=o-1;if(!r.includes(c)&&f[c]){i.push(f[c]);continue}}a=a.concat(i);let s=new Set;for(let o of r){if(o%2===0){s.add(o/2);continue}if(o%2===0){s.add((o+1)/2);continue}s.add((o-1)/2)}r=Array.from(s)}return a}getHexMultiProof(e,n){return this.getMultiProof(e,n).map(a=>this.bufferToHex(a))}getProofFlags(e,n){if(!Array.isArray(e)||e.length<=0)throw new Error("Invalid Inputs!");let a;if(e.every(Number.isInteger)?a=[...e].sort((s,o)=>s===o?0:s>o?1:-1):a=e.map(s=>this.bufferIndexOf(this.leaves,s,this.sortLeaves)).sort((s,o)=>s===o?0:s>o?1:-1),!a.every(s=>s!==-1))throw new Error("Element does not exist in Merkle tree");let r=n.map(s=>this.bufferify(s)),f=[],i=[];for(let s=0;s{if(!f.includes(o[d])){let h=this.getPairNode(o,d),y=r.includes(o[d])||r.includes(h);h&&i.push(!y),f.push(o[d]),f.push(h)}return c.push(d/2|0),c},[])}return i}verify(e,n,a){let r=this.bufferify(n);if(a=this.bufferify(a),!Array.isArray(e)||!n||!a)return!1;for(let f=0;fthis.bufferify(l)),f=f.map(l=>this.bufferify(l));let o={};for(let[l,h]of this.zip(n,a))o[Math.pow(2,s)+l]=h;for(let[l,h]of this.zip(this.getProofIndices(n,s),f))o[l]=h;let c=Object.keys(o).map(l=>+l).sort((l,h)=>l-h);c=c.slice(0,c.length-1);let d=0;for(;d=2&&{}.hasOwnProperty.call(o,l^1)){let h=[o[l-l%2],o[l-l%2+1]];this.sortPairs&&(h=h.sort(As.Buffer.compare));let y=h[1]?this.hashFn(this.concatenator(h)):h[0];o[l/2|0]=y,c.push(l/2|0)}d+=1}return!n.length||{}.hasOwnProperty.call(o,1)&&o[1].equals(e)}verifyMultiProofWithFlags(e,n,a,r){e=this.bufferify(e),n=n.map(this.bufferify),a=a.map(this.bufferify);let f=n.length,i=r.length,s=[],o=0,c=0,d=0;for(let l=0;lthis.bufferify(s)),f=f.map(s=>this.bufferify(s));let i=this.calculateRootForUnevenTree(n,a,r,f);return e.equals(i)}getDepth(){return this.getLayers().length-1}getLayersAsObject(){let e=this.getLayers().map(a=>a.map(r=>this.bufferToHex(r,!1))),n=[];for(let a=0;al-h),i=f.map(([l])=>l),s=this.getProofIndicesForUnevenTree(i,a),o=0,c=[];for(let l=0;lO-F).map(([,O])=>O),y=d[l].map(([O])=>O),v=[...new Set(y.map(O=>O%2===0?O/2:O%2===0?(O+1)/2:(O-1)/2))],S=[];for(let O=0;O{"use strict";u();p();var DXe=t9&&t9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(t9,"__esModule",{value:!0});t9.MerkleMountainRange=void 0;var kR=Kf(),NGt=DXe(Fx()),OGt=DXe(CR()),SR=class extends OGt.default{constructor(e=NGt.default,n=[],a,r,f){super(),this.root=kR.Buffer.alloc(0),this.size=0,this.width=0,this.hashes={},this.data={},n=n.map(this.bufferify),this.hashFn=this.bufferifyFn(e),this.hashLeafFn=a,this.peakBaggingFn=r,this.hashBranchFn=f;for(let i of n)this.append(i)}append(e){e=this.bufferify(e);let n=this.hashFn(e),a=this.bufferToHex(n);(!this.data[a]||this.bufferToHex(this.hashFn(this.data[a]))!==a)&&(this.data[a]=e);let r=this.hashLeaf(this.size+1,n);this.hashes[this.size+1]=r,this.width+=1;let f=this.getPeakIndexes(this.width);this.size=this.getSize(this.width);let i=[];for(let s=0;s0&&!(e&1<=n));i--);if(r!==a.length)throw new Error("invalid bit calculation");return a}numOfPeaks(e){let n=e,a=0;for(;n>0;)n%2===1&&a++,n=n>>1;return a}peakBagging(e,n){let a=this.getSize(e);if(this.numOfPeaks(e)!==n.length)throw new Error("received invalid number of peaks");return e===0&&!n.length?kR.Buffer.alloc(0):this.peakBaggingFn?this.bufferify(this.peakBaggingFn(a,n)):this.hashFn(kR.Buffer.concat([this.bufferify(a),...n.map(this.bufferify)]))}getSize(e){return(e<<1)-this.numOfPeaks(e)}getRoot(){return this.root}getHexRoot(){return this.bufferToHex(this.getRoot())}getNode(e){return this.hashes[e]}mountainHeight(e){let n=1;for(;1<a;)n-=(1<this.size)throw new Error("out of range");if(!this.isLeaf(e))throw new Error("not a leaf");let n=this.root,a=this.width,r=this.getPeakIndexes(this.width),f=[],i=0;for(let l=0;l=e&&i===0&&(i=r[l]);let s=0,o=0,c=this.heightAt(i),d=[];for(;i!==e;)c--,[s,o]=this.getChildren(i),i=e<=s?s:o,d[c-1]=this.hashes[e<=s?o:s];return{root:n,width:a,peakBagging:f,siblings:d}}verify(e,n,a,r,f,i){if(r=this.bufferify(r),this.getSize(n)=a){c=f[O],o=d[O];break}if(!c)throw new Error("target not found");let l=i.length+1,h=new Array(l),y=0,v=0;for(;l>0&&(h[--l]=o,o!==a);)[y,v]=this.getChildren(o),o=a>y?v:y;let S;for(;lthis.size)throw new Error("out of range");if(!this.hashes[e]){let[n,a]=this.getChildren(e),r=this._getOrCreateNode(n),f=this._getOrCreateNode(a);this.hashes[e]=this.hashBranch(e,r,f)}return this.hashes[e]}};t9.MerkleMountainRange=SR;typeof window<"u"&&(window.MerkleMountainRange=SR);t9.default=SR});var FXe=D(n9=>{"use strict";u();p();var LXe=n9&&n9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n9,"__esModule",{value:!0});n9.IncrementalMerkleTree=void 0;var UGt=LXe(CR()),HGt=LXe(Fq()),RR=class extends UGt.default{constructor(e,n){if(super(),this.hashFn=e,n.depth&&(this.depth=n.depth),n.arity&&(this.arity=n.arity),this.depth<1)throw new Error("depth must be greater than 0");if(this.arity<1)throw new Error("arity must be greater than 0");let a=[],r=n.zeroValue;if(this.zeroValue=r,this.zeroes=[],this.depth)for(let f=0;f=this.getMaxLeaves())throw new Error("tree is full");let n=e,a=this.nodes[0].length;for(let r=0;r=this.nodes[0].length)throw new Error("out of bounds");let a=n;for(let r=0;rBigInt(n))}getLayers(){let e=[];for(let n of this.nodes)e.push(this.copyList(n));if(e[0].length=e[a].length&&(e[a][s]=this.zeroes[a]);n=Math.floor(n/this.arity)}}return e.push([this.root]),e}getHexLayers(){return this.getLayers().reduce((e,n)=>(Array.isArray(n)?e.push(n.map(a=>this.bufferToHex(this.bufferify(a)))):e.push(n),e),[])}getLayersAsObject(){let e=this.getLayers().map(a=>a.map(r=>this.bufferToHex(this.bufferify(r),!1))),n=[];for(let a=0;a=this.nodes[0].length)throw new Error("The leaf does not exist in this tree");let n=[],a=[],r=e;for(let f=0;f{"use strict";u();p();Object.defineProperty(Il,"__esModule",{value:!0});Il.MerkleSumTree=Il.ProofStep=Il.Leaf=Il.Bucket=void 0;var zGt=CR(),Nx=class{constructor(e,n){this.size=BigInt(e),this.hashed=n,this.parent=null,this.left=null,this.right=null}};Il.Bucket=Nx;var cce=class{constructor(e,n,a){this.hashFn=e,this.rng=n.map(r=>BigInt(r)),this.data=a}getBucket(){let e;return this.data?e=this.hashFn(this.data):e=_.Buffer.alloc(32),new Nx(BigInt(this.rng[1])-BigInt(this.rng[0]),e)}};Il.Leaf=cce;var wj=class{constructor(e,n){this.bucket=e,this.right=n}};Il.ProofStep=wj;var MR=class t extends zGt.Base{constructor(e,n){super(),this.leaves=e,this.hashFn=n,t.checkConsecutive(e),this.buckets=[];for(let r of e)this.buckets.push(r.getBucket());let a=[];for(let r of this.buckets)a.push(r);for(;a.length!==1;){let r=[];for(;a.length;)if(a.length>=2){let f=a.shift(),i=a.shift(),s=f.size+i.size,o=this.hashFn(_.Buffer.concat([this.sizeToBuffer(f.size),this.bufferify(f.hashed),this.sizeToBuffer(i.size),this.bufferify(i.hashed)])),c=new Nx(s,o);i.parent=c,f.parent=i.parent,f.right=i,i.left=f,r.push(c)}else r.push(a.shift());a=r}this.root=a[0]}sizeToBuffer(e){let n=_.Buffer.alloc(8);return new DataView(n.buffer).setBigInt64(0,BigInt(e),!1),n}static checkConsecutive(e){let n=BigInt(0);for(let a of e){if(a.rng[0]!==n)throw new Error("leaf ranges are invalid");n=BigInt(a.rng[1])}}getProof(e){let n=this.buckets[Number(e)],a=[];for(;n&&n.parent;){let r=!!n.right,f=n.right?n.right:n.left;n=n.parent,a.push(new wj(f,r))}return a}sum(e){let n=BigInt(0);for(let a of e)n+=BigInt(a);return n}verifyProof(e,n,a){let r=[this.sum(a.filter(s=>!s.right).map(s=>s.bucket.size)),BigInt(e.size)-this.sum(a.filter(s=>s.right).map(s=>s.bucket.size))];if(!(r[0]===n.rng[0]&&r[1]===n.rng[1]))return!1;let f=n.getBucket(),i;for(let s of a)s.right?i=this.hashFn(_.Buffer.concat([this.sizeToBuffer(f.size),this.bufferify(f.hashed),this.sizeToBuffer(s.bucket.size),this.bufferify(s.bucket.hashed)])):i=this.hashFn(_.Buffer.concat([this.sizeToBuffer(s.bucket.size),this.bufferify(s.bucket.hashed),this.sizeToBuffer(f.size),this.bufferify(f.hashed)])),f=new Nx(BigInt(f.size)+BigInt(s.bucket.size),i);return f.size===e.size&&f.hashed.toString("hex")===e.hashed.toString("hex")}};Il.MerkleSumTree=MR;typeof window<"u"&&(window.MerkleSumTree=MR);Il.default=MR});var UXe=D(ou=>{"use strict";u();p();var WGt=ou&&ou.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ou,"__esModule",{value:!0});ou.MerkleTree=void 0;var OXe=WGt(BXe());ou.MerkleTree=OXe.default;var qGt=PXe();Object.defineProperty(ou,"MerkleMountainRange",{enumerable:!0,get:function(){return qGt.MerkleMountainRange}});var jGt=FXe();Object.defineProperty(ou,"IncrementalMerkleTree",{enumerable:!0,get:function(){return jGt.IncrementalMerkleTree}});var GGt=NXe();Object.defineProperty(ou,"MerkleSumTree",{enumerable:!0,get:function(){return GGt.MerkleSumTree}});ou.default=OXe.default});var Tj=D(cu=>{"use strict";u();p();var KGt=cu&&cu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(cu,"__esModule",{value:!0});cu.getLength=cu.decode=cu.encode=void 0;var QGt=KGt(Va());function zXe(t){if(Array.isArray(t)){for(var e=[],n=0;nt.length)throw new Error("invalid rlp: total length is larger than the data");if(r=t.slice(n,o),r.length===0)throw new Error("invalid rlp, List has a invalid length");for(;r.length;)f=lce(r),i.push(f.data),r=f.remainder;return{data:i,remainder:t.slice(o)}}}function WXe(t){return t.slice(0,2)==="0x"}function $Gt(t){return typeof t!="string"?t:WXe(t)?t.slice(2):t}function uce(t){if(t<0)throw new Error("Invalid integer as argument, must be unsigned!");var e=t.toString(16);return e.length%2?"0"+e:e}function JGt(t){return t.length%2?"0"+t:t}function XGt(t){var e=uce(t);return _.Buffer.from(e,"hex")}function pce(t){if(!_.Buffer.isBuffer(t)){if(typeof t=="string")return WXe(t)?_.Buffer.from(JGt($Gt(t)),"hex"):_.Buffer.from(t);if(typeof t=="number"||typeof t=="bigint")return t?XGt(t):_.Buffer.from([]);if(t==null)return _.Buffer.from([]);if(t instanceof Uint8Array)return _.Buffer.from(t);if(QGt.default.isBN(t))return _.Buffer.from(t.toArray());throw new Error("invalid type")}return t}});var jXe=D(V1=>{"use strict";u();p();var ZGt=V1&&V1.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),eKt=V1&&V1.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),tKt=V1&&V1.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&ZGt(e,t,n);return eKt(e,t),e};Object.defineProperty(V1,"__esModule",{value:!0});V1.makeStateTrieProof=V1.maybeAddProofNode=V1.makeMerkleTreeProof=void 0;var xj=Xe(),Ox=W8(),nKt=UXe(),qXe=tKt(Tj()),aKt=(t,e)=>{let n=Math.pow(2,Math.ceil(Math.log2(t.length))),a=[];for(let s=0;s(0,Ox.fromHexString)(xj.ethers.utils.keccak256(s))).getProof(r[e],e).map(s=>(0,Ox.toHexString)(s.data))};V1.makeMerkleTreeProof=aKt;var rKt=(t,e)=>{let n=[...e],a=n[n.length-1],r=qXe.decode(a);if(r.length===17){for(let f of r)if(Array.isArray(f)){let i=(0,Ox.toHexString)(f[0]).slice(3);t.endsWith(i)&&n.push((0,Ox.toHexString)(qXe.encode(f)))}}return n};V1.maybeAddProofNode=rKt;var fKt=async(t,e,n,a)=>{let r=await t.send("eth_getProof",[n,[a],(0,Ox.toRpcHexString)(e)]);return r.storageProof[0].proof=(0,V1.maybeAddProofNode)(xj.ethers.utils.keccak256(a),r.storageProof[0].proof),{accountProof:r.accountProof,storageProof:r.storageProof[0].proof,storageValue:xj.BigNumber.from(r.storageProof[0].value),storageRoot:r.storageHash}};V1.makeStateTrieProof=fKt});var GXe=D(qb=>{"use strict";u();p();Object.defineProperty(qb,"__esModule",{value:!0});qb.migratedWithdrawalGasLimit=qb.hashMessageHash=qb.hashLowLevelMessage=void 0;var iKt=W8(),zc=Xe(),{hexDataLength:sKt}=zc.utils,oKt=zc.BigNumber.from(2e5),cKt=zc.BigNumber.from(16),dKt=zc.BigNumber.from(64),lKt=zc.BigNumber.from(63),uKt=zc.BigNumber.from(4e4),pKt=zc.BigNumber.from(4e4),hKt=zc.BigNumber.from(5e3),bKt=t=>(0,iKt.hashWithdrawal)(t.messageNonce,t.sender,t.target,t.value,t.minGasLimit,t.message);qb.hashLowLevelMessage=bKt;var mKt=t=>{let e=zc.ethers.utils.defaultAbiCoder.encode(["bytes32","uint256"],[t,zc.ethers.constants.HashZero]);return zc.ethers.utils.keccak256(e)};qb.hashMessageHash=mKt;var yKt=(t,e)=>{let n=zc.BigNumber.from(sKt(t)).mul(cKt),a;if(e===420)a=zc.BigNumber.from(2e5);else{let f=dKt.mul(1e6).div(lKt);a=oKt.add(f).add(uKt).add(pKt).add(hKt)}let r=n.add(a);return r.gt(25e6)&&(r=zc.BigNumber.from(25e6)),r};qb.migratedWithdrawalGasLimit=yKt});var Ub=D(R6=>{"use strict";u();p();var gKt=R6&&R6.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),a9=R6&&R6.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&gKt(e,t,n)};Object.defineProperty(R6,"__esModule",{value:!0});a9(Yoe(),R6);a9(gJe(),R6);a9(wJe(),R6);a9(TJe(),R6);a9(jXe(),R6);a9(tce(),R6);a9(GXe(),R6)});var BR=D((o8a,KXe)=>{u();p();var vKt="2.0.0",wKt=Number.MAX_SAFE_INTEGER||9007199254740991,TKt=16,xKt=250,EKt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];KXe.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:TKt,MAX_SAFE_BUILD_LENGTH:xKt,MAX_SAFE_INTEGER:wKt,RELEASE_TYPES:EKt,SEMVER_SPEC_VERSION:vKt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var DR=D((l8a,QXe)=>{u();p();var _Kt=typeof E=="object"&&E.env&&E.env.NODE_DEBUG&&/\bsemver\b/i.test(E.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};QXe.exports=_Kt});var Ux=D((G8,VXe)=>{u();p();var{MAX_SAFE_COMPONENT_LENGTH:hce,MAX_SAFE_BUILD_LENGTH:AKt,MAX_LENGTH:CKt}=BR(),IKt=DR();G8=VXe.exports={};var kKt=G8.re=[],SKt=G8.safeRe=[],at=G8.src=[],rt=G8.t={},RKt=0,bce="[a-zA-Z0-9-]",MKt=[["\\s",1],["\\d",CKt],[bce,AKt]],BKt=t=>{for(let[e,n]of MKt)t=t.split(`${e}*`).join(`${e}{0,${n}}`).split(`${e}+`).join(`${e}{1,${n}}`);return t},an=(t,e,n)=>{let a=BKt(e),r=RKt++;IKt(t,r,e),rt[t]=r,at[r]=e,kKt[r]=new RegExp(e,n?"g":void 0),SKt[r]=new RegExp(a,n?"g":void 0)};an("NUMERICIDENTIFIER","0|[1-9]\\d*");an("NUMERICIDENTIFIERLOOSE","\\d+");an("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${bce}*`);an("MAINVERSION",`(${at[rt.NUMERICIDENTIFIER]})\\.(${at[rt.NUMERICIDENTIFIER]})\\.(${at[rt.NUMERICIDENTIFIER]})`);an("MAINVERSIONLOOSE",`(${at[rt.NUMERICIDENTIFIERLOOSE]})\\.(${at[rt.NUMERICIDENTIFIERLOOSE]})\\.(${at[rt.NUMERICIDENTIFIERLOOSE]})`);an("PRERELEASEIDENTIFIER",`(?:${at[rt.NUMERICIDENTIFIER]}|${at[rt.NONNUMERICIDENTIFIER]})`);an("PRERELEASEIDENTIFIERLOOSE",`(?:${at[rt.NUMERICIDENTIFIERLOOSE]}|${at[rt.NONNUMERICIDENTIFIER]})`);an("PRERELEASE",`(?:-(${at[rt.PRERELEASEIDENTIFIER]}(?:\\.${at[rt.PRERELEASEIDENTIFIER]})*))`);an("PRERELEASELOOSE",`(?:-?(${at[rt.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${at[rt.PRERELEASEIDENTIFIERLOOSE]})*))`);an("BUILDIDENTIFIER",`${bce}+`);an("BUILD",`(?:\\+(${at[rt.BUILDIDENTIFIER]}(?:\\.${at[rt.BUILDIDENTIFIER]})*))`);an("FULLPLAIN",`v?${at[rt.MAINVERSION]}${at[rt.PRERELEASE]}?${at[rt.BUILD]}?`);an("FULL",`^${at[rt.FULLPLAIN]}$`);an("LOOSEPLAIN",`[v=\\s]*${at[rt.MAINVERSIONLOOSE]}${at[rt.PRERELEASELOOSE]}?${at[rt.BUILD]}?`);an("LOOSE",`^${at[rt.LOOSEPLAIN]}$`);an("GTLT","((?:<|>)?=?)");an("XRANGEIDENTIFIERLOOSE",`${at[rt.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);an("XRANGEIDENTIFIER",`${at[rt.NUMERICIDENTIFIER]}|x|X|\\*`);an("XRANGEPLAIN",`[v=\\s]*(${at[rt.XRANGEIDENTIFIER]})(?:\\.(${at[rt.XRANGEIDENTIFIER]})(?:\\.(${at[rt.XRANGEIDENTIFIER]})(?:${at[rt.PRERELEASE]})?${at[rt.BUILD]}?)?)?`);an("XRANGEPLAINLOOSE",`[v=\\s]*(${at[rt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${at[rt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${at[rt.XRANGEIDENTIFIERLOOSE]})(?:${at[rt.PRERELEASELOOSE]})?${at[rt.BUILD]}?)?)?`);an("XRANGE",`^${at[rt.GTLT]}\\s*${at[rt.XRANGEPLAIN]}$`);an("XRANGELOOSE",`^${at[rt.GTLT]}\\s*${at[rt.XRANGEPLAINLOOSE]}$`);an("COERCEPLAIN",`(^|[^\\d])(\\d{1,${hce}})(?:\\.(\\d{1,${hce}}))?(?:\\.(\\d{1,${hce}}))?`);an("COERCE",`${at[rt.COERCEPLAIN]}(?:$|[^\\d])`);an("COERCEFULL",at[rt.COERCEPLAIN]+`(?:${at[rt.PRERELEASE]})?(?:${at[rt.BUILD]})?(?:$|[^\\d])`);an("COERCERTL",at[rt.COERCE],!0);an("COERCERTLFULL",at[rt.COERCEFULL],!0);an("LONETILDE","(?:~>?)");an("TILDETRIM",`(\\s*)${at[rt.LONETILDE]}\\s+`,!0);G8.tildeTrimReplace="$1~";an("TILDE",`^${at[rt.LONETILDE]}${at[rt.XRANGEPLAIN]}$`);an("TILDELOOSE",`^${at[rt.LONETILDE]}${at[rt.XRANGEPLAINLOOSE]}$`);an("LONECARET","(?:\\^)");an("CARETTRIM",`(\\s*)${at[rt.LONECARET]}\\s+`,!0);G8.caretTrimReplace="$1^";an("CARET",`^${at[rt.LONECARET]}${at[rt.XRANGEPLAIN]}$`);an("CARETLOOSE",`^${at[rt.LONECARET]}${at[rt.XRANGEPLAINLOOSE]}$`);an("COMPARATORLOOSE",`^${at[rt.GTLT]}\\s*(${at[rt.LOOSEPLAIN]})$|^$`);an("COMPARATOR",`^${at[rt.GTLT]}\\s*(${at[rt.FULLPLAIN]})$|^$`);an("COMPARATORTRIM",`(\\s*)${at[rt.GTLT]}\\s*(${at[rt.LOOSEPLAIN]}|${at[rt.XRANGEPLAIN]})`,!0);G8.comparatorTrimReplace="$1$2$3";an("HYPHENRANGE",`^\\s*(${at[rt.XRANGEPLAIN]})\\s+-\\s+(${at[rt.XRANGEPLAIN]})\\s*$`);an("HYPHENRANGELOOSE",`^\\s*(${at[rt.XRANGEPLAINLOOSE]})\\s+-\\s+(${at[rt.XRANGEPLAINLOOSE]})\\s*$`);an("STAR","(<|>)?=?\\s*\\*");an("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");an("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Ej=D((m8a,YXe)=>{u();p();var DKt=Object.freeze({loose:!0}),PKt=Object.freeze({}),LKt=t=>t?typeof t!="object"?DKt:t:PKt;YXe.exports=LKt});var mce=D((v8a,XXe)=>{u();p();var $Xe=/^[0-9]+$/,JXe=(t,e)=>{let n=$Xe.test(t),a=$Xe.test(e);return n&&a&&(t=+t,e=+e),t===e?0:n&&!a?-1:a&&!n?1:tJXe(e,t);XXe.exports={compareIdentifiers:JXe,rcompareIdentifiers:FKt}});var f1=D((x8a,nZe)=>{u();p();var _j=DR(),{MAX_LENGTH:ZXe,MAX_SAFE_INTEGER:Aj}=BR(),{safeRe:eZe,t:tZe}=Ux(),NKt=Ej(),{compareIdentifiers:Hx}=mce(),yce=class t{constructor(e,n){if(n=NKt(n),e instanceof t){if(e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>ZXe)throw new TypeError(`version is longer than ${ZXe} characters`);_j("SemVer",e,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let a=e.trim().match(n.loose?eZe[tZe.LOOSE]:eZe[tZe.FULL]);if(!a)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>Aj||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Aj||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Aj||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map(r=>{if(/^[0-9]+$/.test(r)){let f=+r;if(f>=0&&f=0;)typeof this.prerelease[f]=="number"&&(this.prerelease[f]++,f=-2);if(f===-1){if(n===this.prerelease.join(".")&&a===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(r)}}if(n){let f=[n,r];a===!1&&(f=[n]),Hx(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=f):this.prerelease=f}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};nZe.exports=yce});var r9=D((A8a,rZe)=>{u();p();var aZe=f1(),OKt=(t,e,n=!1)=>{if(t instanceof aZe)return t;try{return new aZe(t,e)}catch(a){if(!n)return null;throw a}};rZe.exports=OKt});var iZe=D((k8a,fZe)=>{u();p();var UKt=r9(),HKt=(t,e)=>{let n=UKt(t,e);return n?n.version:null};fZe.exports=HKt});var oZe=D((M8a,sZe)=>{u();p();var zKt=r9(),WKt=(t,e)=>{let n=zKt(t.trim().replace(/^[=v]+/,""),e);return n?n.version:null};sZe.exports=WKt});var lZe=D((P8a,dZe)=>{u();p();var cZe=f1(),qKt=(t,e,n,a,r)=>{typeof n=="string"&&(r=a,a=n,n=void 0);try{return new cZe(t instanceof cZe?t.version:t,n).inc(e,a,r).version}catch{return null}};dZe.exports=qKt});var hZe=D((N8a,pZe)=>{u();p();var uZe=r9(),jKt=(t,e)=>{let n=uZe(t,null,!0),a=uZe(e,null,!0),r=n.compare(a);if(r===0)return null;let f=r>0,i=f?n:a,s=f?a:n,o=!!i.prerelease.length;if(!!s.prerelease.length&&!o)return!s.patch&&!s.minor?"major":i.patch?"patch":i.minor?"minor":"major";let d=o?"pre":"";return n.major!==a.major?d+"major":n.minor!==a.minor?d+"minor":n.patch!==a.patch?d+"patch":"prerelease"};pZe.exports=jKt});var mZe=D((H8a,bZe)=>{u();p();var GKt=f1(),KKt=(t,e)=>new GKt(t,e).major;bZe.exports=KKt});var gZe=D((q8a,yZe)=>{u();p();var QKt=f1(),VKt=(t,e)=>new QKt(t,e).minor;yZe.exports=VKt});var wZe=D((K8a,vZe)=>{u();p();var YKt=f1(),$Kt=(t,e)=>new YKt(t,e).patch;vZe.exports=$Kt});var xZe=D((Y8a,TZe)=>{u();p();var JKt=r9(),XKt=(t,e)=>{let n=JKt(t,e);return n&&n.prerelease.length?n.prerelease:null};TZe.exports=XKt});var td=D((X8a,_Ze)=>{u();p();var EZe=f1(),ZKt=(t,e,n)=>new EZe(t,n).compare(new EZe(e,n));_Ze.exports=ZKt});var CZe=D((tha,AZe)=>{u();p();var eQt=td(),tQt=(t,e,n)=>eQt(e,t,n);AZe.exports=tQt});var kZe=D((rha,IZe)=>{u();p();var nQt=td(),aQt=(t,e)=>nQt(t,e,!0);IZe.exports=aQt});var Cj=D((sha,RZe)=>{u();p();var SZe=f1(),rQt=(t,e,n)=>{let a=new SZe(t,n),r=new SZe(e,n);return a.compare(r)||a.compareBuild(r)};RZe.exports=rQt});var BZe=D((dha,MZe)=>{u();p();var fQt=Cj(),iQt=(t,e)=>t.sort((n,a)=>fQt(n,a,e));MZe.exports=iQt});var PZe=D((pha,DZe)=>{u();p();var sQt=Cj(),oQt=(t,e)=>t.sort((n,a)=>sQt(a,n,e));DZe.exports=oQt});var PR=D((mha,LZe)=>{u();p();var cQt=td(),dQt=(t,e,n)=>cQt(t,e,n)>0;LZe.exports=dQt});var Ij=D((vha,FZe)=>{u();p();var lQt=td(),uQt=(t,e,n)=>lQt(t,e,n)<0;FZe.exports=uQt});var gce=D((xha,NZe)=>{u();p();var pQt=td(),hQt=(t,e,n)=>pQt(t,e,n)===0;NZe.exports=hQt});var vce=D((Aha,OZe)=>{u();p();var bQt=td(),mQt=(t,e,n)=>bQt(t,e,n)!==0;OZe.exports=mQt});var kj=D((kha,UZe)=>{u();p();var yQt=td(),gQt=(t,e,n)=>yQt(t,e,n)>=0;UZe.exports=gQt});var Sj=D((Mha,HZe)=>{u();p();var vQt=td(),wQt=(t,e,n)=>vQt(t,e,n)<=0;HZe.exports=wQt});var wce=D((Pha,zZe)=>{u();p();var TQt=gce(),xQt=vce(),EQt=PR(),_Qt=kj(),AQt=Ij(),CQt=Sj(),IQt=(t,e,n,a)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof n=="object"&&(n=n.version),t===n;case"!==":return typeof t=="object"&&(t=t.version),typeof n=="object"&&(n=n.version),t!==n;case"":case"=":case"==":return TQt(t,n,a);case"!=":return xQt(t,n,a);case">":return EQt(t,n,a);case">=":return _Qt(t,n,a);case"<":return AQt(t,n,a);case"<=":return CQt(t,n,a);default:throw new TypeError(`Invalid operator: ${e}`)}};zZe.exports=IQt});var qZe=D((Nha,WZe)=>{u();p();var kQt=f1(),SQt=r9(),{safeRe:Rj,t:Mj}=Ux(),RQt=(t,e)=>{if(t instanceof kQt)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let n=null;if(!e.rtl)n=t.match(e.includePrerelease?Rj[Mj.COERCEFULL]:Rj[Mj.COERCE]);else{let o=e.includePrerelease?Rj[Mj.COERCERTLFULL]:Rj[Mj.COERCERTL],c;for(;(c=o.exec(t))&&(!n||n.index+n[0].length!==t.length);)(!n||c.index+c[0].length!==n.index+n[0].length)&&(n=c),o.lastIndex=c.index+c[1].length+c[2].length;o.lastIndex=-1}if(n===null)return null;let a=n[2],r=n[3]||"0",f=n[4]||"0",i=e.includePrerelease&&n[5]?`-${n[5]}`:"",s=e.includePrerelease&&n[6]?`+${n[6]}`:"";return SQt(`${a}.${r}.${f}${i}${s}`,e)};WZe.exports=RQt});var GZe=D((Hha,jZe)=>{u();p();var Tce=class{constructor(){this.max=1e3,this.map=new Map}get(e){let n=this.map.get(e);if(n!==void 0)return this.map.delete(e),this.map.set(e,n),n}delete(e){return this.map.delete(e)}set(e,n){if(!this.delete(e)&&n!==void 0){if(this.map.size>=this.max){let r=this.map.keys().next().value;this.delete(r)}this.map.set(e,n)}return this}};jZe.exports=Tce});var nd=D((qha,YZe)=>{u();p();var xce=class t{constructor(e,n){if(n=BQt(n),e instanceof t)return e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease?e:new t(e.raw,n);if(e instanceof Ece)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(a=>this.parseRange(a.trim())).filter(a=>a.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let a=this.set[0];if(this.set=this.set.filter(r=>!QZe(r[0])),this.set.length===0)this.set=[a];else if(this.set.length>1){for(let r of this.set)if(r.length===1&&UQt(r[0])){this.set=[r];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let a=((this.options.includePrerelease&&NQt)|(this.options.loose&&OQt))+":"+e,r=KZe.get(a);if(r)return r;let f=this.options.loose,i=f?Wc[Y1.HYPHENRANGELOOSE]:Wc[Y1.HYPHENRANGE];e=e.replace(i,YQt(this.options.includePrerelease)),nf("hyphen replace",e),e=e.replace(Wc[Y1.COMPARATORTRIM],PQt),nf("comparator trim",e),e=e.replace(Wc[Y1.TILDETRIM],LQt),nf("tilde trim",e),e=e.replace(Wc[Y1.CARETTRIM],FQt),nf("caret trim",e);let s=e.split(" ").map(l=>HQt(l,this.options)).join(" ").split(/\s+/).map(l=>VQt(l,this.options));f&&(s=s.filter(l=>(nf("loose invalid filter",l,this.options),!!l.match(Wc[Y1.COMPARATORLOOSE])))),nf("range list",s);let o=new Map,c=s.map(l=>new Ece(l,this.options));for(let l of c){if(QZe(l))return[l];o.set(l.value,l)}o.size>1&&o.has("")&&o.delete("");let d=[...o.values()];return KZe.set(a,d),d}intersects(e,n){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(a=>VZe(a,n)&&e.set.some(r=>VZe(r,n)&&a.every(f=>r.every(i=>f.intersects(i,n)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new DQt(e,this.options)}catch{return!1}for(let n=0;nt.value==="<0.0.0-0",UQt=t=>t.value==="",VZe=(t,e)=>{let n=!0,a=t.slice(),r=a.pop();for(;n&&a.length;)n=a.every(f=>r.intersects(f,e)),r=a.pop();return n},HQt=(t,e)=>(nf("comp",t,e),t=qQt(t,e),nf("caret",t),t=zQt(t,e),nf("tildes",t),t=GQt(t,e),nf("xrange",t),t=QQt(t,e),nf("stars",t),t),$1=t=>!t||t.toLowerCase()==="x"||t==="*",zQt=(t,e)=>t.trim().split(/\s+/).map(n=>WQt(n,e)).join(" "),WQt=(t,e)=>{let n=e.loose?Wc[Y1.TILDELOOSE]:Wc[Y1.TILDE];return t.replace(n,(a,r,f,i,s)=>{nf("tilde",t,a,r,f,i,s);let o;return $1(r)?o="":$1(f)?o=`>=${r}.0.0 <${+r+1}.0.0-0`:$1(i)?o=`>=${r}.${f}.0 <${r}.${+f+1}.0-0`:s?(nf("replaceTilde pr",s),o=`>=${r}.${f}.${i}-${s} <${r}.${+f+1}.0-0`):o=`>=${r}.${f}.${i} <${r}.${+f+1}.0-0`,nf("tilde return",o),o})},qQt=(t,e)=>t.trim().split(/\s+/).map(n=>jQt(n,e)).join(" "),jQt=(t,e)=>{nf("caret",t,e);let n=e.loose?Wc[Y1.CARETLOOSE]:Wc[Y1.CARET],a=e.includePrerelease?"-0":"";return t.replace(n,(r,f,i,s,o)=>{nf("caret",t,r,f,i,s,o);let c;return $1(f)?c="":$1(i)?c=`>=${f}.0.0${a} <${+f+1}.0.0-0`:$1(s)?f==="0"?c=`>=${f}.${i}.0${a} <${f}.${+i+1}.0-0`:c=`>=${f}.${i}.0${a} <${+f+1}.0.0-0`:o?(nf("replaceCaret pr",o),f==="0"?i==="0"?c=`>=${f}.${i}.${s}-${o} <${f}.${i}.${+s+1}-0`:c=`>=${f}.${i}.${s}-${o} <${f}.${+i+1}.0-0`:c=`>=${f}.${i}.${s}-${o} <${+f+1}.0.0-0`):(nf("no pr"),f==="0"?i==="0"?c=`>=${f}.${i}.${s}${a} <${f}.${i}.${+s+1}-0`:c=`>=${f}.${i}.${s}${a} <${f}.${+i+1}.0-0`:c=`>=${f}.${i}.${s} <${+f+1}.0.0-0`),nf("caret return",c),c})},GQt=(t,e)=>(nf("replaceXRanges",t,e),t.split(/\s+/).map(n=>KQt(n,e)).join(" ")),KQt=(t,e)=>{t=t.trim();let n=e.loose?Wc[Y1.XRANGELOOSE]:Wc[Y1.XRANGE];return t.replace(n,(a,r,f,i,s,o)=>{nf("xRange",t,a,r,f,i,s,o);let c=$1(f),d=c||$1(i),l=d||$1(s),h=l;return r==="="&&h&&(r=""),o=e.includePrerelease?"-0":"",c?r===">"||r==="<"?a="<0.0.0-0":a="*":r&&h?(d&&(i=0),s=0,r===">"?(r=">=",d?(f=+f+1,i=0,s=0):(i=+i+1,s=0)):r==="<="&&(r="<",d?f=+f+1:i=+i+1),r==="<"&&(o="-0"),a=`${r+f}.${i}.${s}${o}`):d?a=`>=${f}.0.0${o} <${+f+1}.0.0-0`:l&&(a=`>=${f}.${i}.0${o} <${f}.${+i+1}.0-0`),nf("xRange return",a),a})},QQt=(t,e)=>(nf("replaceStars",t,e),t.trim().replace(Wc[Y1.STAR],"")),VQt=(t,e)=>(nf("replaceGTE0",t,e),t.trim().replace(Wc[e.includePrerelease?Y1.GTE0PRE:Y1.GTE0],"")),YQt=t=>(e,n,a,r,f,i,s,o,c,d,l,h)=>($1(a)?n="":$1(r)?n=`>=${a}.0.0${t?"-0":""}`:$1(f)?n=`>=${a}.${r}.0${t?"-0":""}`:i?n=`>=${n}`:n=`>=${n}${t?"-0":""}`,$1(c)?o="":$1(d)?o=`<${+c+1}.0.0-0`:$1(l)?o=`<${c}.${+d+1}.0-0`:h?o=`<=${c}.${d}.${l}-${h}`:t?o=`<${c}.${d}.${+l+1}-0`:o=`<=${o}`,`${n} ${o}`.trim()),$Qt=(t,e,n)=>{for(let a=0;a0){let r=t[a].semver;if(r.major===e.major&&r.minor===e.minor&&r.patch===e.patch)return!0}return!1}return!0}});var LR=D((Kha,te0)=>{u();p();var FR=Symbol("SemVer ANY"),Cce=class t{static get ANY(){return FR}constructor(e,n){if(n=$Ze(n),e instanceof t){if(e.loose===!!n.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Ace("comparator",e,n),this.options=n,this.loose=!!n.loose,this.parse(e),this.semver===FR?this.value="":this.value=this.operator+this.semver.version,Ace("comp",this)}parse(e){let n=this.options.loose?JZe[XZe.COMPARATORLOOSE]:JZe[XZe.COMPARATOR],a=e.match(n);if(!a)throw new TypeError(`Invalid comparator: ${e}`);this.operator=a[1]!==void 0?a[1]:"",this.operator==="="&&(this.operator=""),a[2]?this.semver=new ZZe(a[2],this.options.loose):this.semver=FR}toString(){return this.value}test(e){if(Ace("Comparator.test",e,this.options.loose),this.semver===FR||e===FR)return!0;if(typeof e=="string")try{e=new ZZe(e,this.options)}catch{return!1}return _ce(e,this.operator,this.semver,this.options)}intersects(e,n){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new ee0(e.value,n).test(this.value):e.operator===""?e.value===""?!0:new ee0(this.value,n).test(e.semver):(n=$Ze(n),n.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!n.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||_ce(this.semver,"<",e.semver,n)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||_ce(this.semver,">",e.semver,n)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};te0.exports=Cce;var $Ze=Ej(),{safeRe:JZe,t:XZe}=Ux(),_ce=wce(),Ace=DR(),ZZe=f1(),ee0=nd()});var K8=D((Yha,ne0)=>{u();p();var JQt=nd(),XQt=(t,e,n)=>{try{e=new JQt(e,n)}catch{return!1}return e.test(t)};ne0.exports=XQt});var re0=D((Xha,ae0)=>{u();p();var ZQt=nd(),eVt=(t,e)=>new ZQt(t,e).set.map(n=>n.map(a=>a.value).join(" ").trim().split(" "));ae0.exports=eVt});var ie0=D((t3a,fe0)=>{u();p();var tVt=f1(),nVt=nd(),aVt=(t,e,n)=>{let a=null,r=null,f=null;try{f=new nVt(e,n)}catch{return null}return t.forEach(i=>{f.test(i)&&(!a||r.compare(i)===-1)&&(a=i,r=new tVt(a,n))}),a};fe0.exports=aVt});var oe0=D((r3a,se0)=>{u();p();var rVt=f1(),fVt=nd(),iVt=(t,e,n)=>{let a=null,r=null,f=null;try{f=new fVt(e,n)}catch{return null}return t.forEach(i=>{f.test(i)&&(!a||r.compare(i)===1)&&(a=i,r=new rVt(a,n))}),a};se0.exports=iVt});var le0=D((s3a,de0)=>{u();p();var Ice=f1(),sVt=nd(),ce0=PR(),oVt=(t,e)=>{t=new sVt(t,e);let n=new Ice("0.0.0");if(t.test(n)||(n=new Ice("0.0.0-0"),t.test(n)))return n;n=null;for(let a=0;a{let s=new Ice(i.semver.version);switch(i.operator){case">":s.prerelease.length===0?s.patch++:s.prerelease.push(0),s.raw=s.format();case"":case">=":(!f||ce0(s,f))&&(f=s);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),f&&(!n||ce0(n,f))&&(n=f)}return n&&t.test(n)?n:null};de0.exports=oVt});var pe0=D((d3a,ue0)=>{u();p();var cVt=nd(),dVt=(t,e)=>{try{return new cVt(t,e).range||"*"}catch{return null}};ue0.exports=dVt});var Bj=D((p3a,ye0)=>{u();p();var lVt=f1(),me0=LR(),{ANY:uVt}=me0,pVt=nd(),hVt=K8(),he0=PR(),be0=Ij(),bVt=Sj(),mVt=kj(),yVt=(t,e,n,a)=>{t=new lVt(t,a),e=new pVt(e,a);let r,f,i,s,o;switch(n){case">":r=he0,f=bVt,i=be0,s=">",o=">=";break;case"<":r=be0,f=mVt,i=he0,s="<",o="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(hVt(t,e,a))return!1;for(let c=0;c{y.semver===uVt&&(y=new me0(">=0.0.0")),l=l||y,h=h||y,r(y.semver,l.semver,a)?l=y:i(y.semver,h.semver,a)&&(h=y)}),l.operator===s||l.operator===o||(!h.operator||h.operator===s)&&f(t,h.semver))return!1;if(h.operator===o&&i(t,h.semver))return!1}return!0};ye0.exports=yVt});var ve0=D((m3a,ge0)=>{u();p();var gVt=Bj(),vVt=(t,e,n)=>gVt(t,e,">",n);ge0.exports=vVt});var Te0=D((v3a,we0)=>{u();p();var wVt=Bj(),TVt=(t,e,n)=>wVt(t,e,"<",n);we0.exports=TVt});var _e0=D((x3a,Ee0)=>{u();p();var xe0=nd(),xVt=(t,e,n)=>(t=new xe0(t,n),e=new xe0(e,n),t.intersects(e,n));Ee0.exports=xVt});var Ce0=D((A3a,Ae0)=>{u();p();var EVt=K8(),_Vt=td();Ae0.exports=(t,e,n)=>{let a=[],r=null,f=null,i=t.sort((d,l)=>_Vt(d,l,n));for(let d of i)EVt(d,e,n)?(f=d,r||(r=d)):(f&&a.push([r,f]),f=null,r=null);r&&a.push([r,null]);let s=[];for(let[d,l]of a)d===l?s.push(d):!l&&d===i[0]?s.push("*"):l?d===i[0]?s.push(`<=${l}`):s.push(`${d} - ${l}`):s.push(`>=${d}`);let o=s.join(" || "),c=typeof e.raw=="string"?e.raw:String(e);return o.length{u();p();var Ie0=nd(),Sce=LR(),{ANY:kce}=Sce,NR=K8(),Rce=td(),AVt=(t,e,n={})=>{if(t===e)return!0;t=new Ie0(t,n),e=new Ie0(e,n);let a=!1;e:for(let r of t.set){for(let f of e.set){let i=IVt(r,f,n);if(a=a||i!==null,i)continue e}if(a)return!1}return!0},CVt=[new Sce(">=0.0.0-0")],ke0=[new Sce(">=0.0.0")],IVt=(t,e,n)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===kce){if(e.length===1&&e[0].semver===kce)return!0;n.includePrerelease?t=CVt:t=ke0}if(e.length===1&&e[0].semver===kce){if(n.includePrerelease)return!0;e=ke0}let a=new Set,r,f;for(let y of t)y.operator===">"||y.operator===">="?r=Se0(r,y,n):y.operator==="<"||y.operator==="<="?f=Re0(f,y,n):a.add(y.semver);if(a.size>1)return null;let i;if(r&&f){if(i=Rce(r.semver,f.semver,n),i>0)return null;if(i===0&&(r.operator!==">="||f.operator!=="<="))return null}for(let y of a){if(r&&!NR(y,String(r),n)||f&&!NR(y,String(f),n))return null;for(let v of e)if(!NR(y,String(v),n))return!1;return!0}let s,o,c,d,l=f&&!n.includePrerelease&&f.semver.prerelease.length?f.semver:!1,h=r&&!n.includePrerelease&&r.semver.prerelease.length?r.semver:!1;l&&l.prerelease.length===1&&f.operator==="<"&&l.prerelease[0]===0&&(l=!1);for(let y of e){if(d=d||y.operator===">"||y.operator===">=",c=c||y.operator==="<"||y.operator==="<=",r){if(h&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===h.major&&y.semver.minor===h.minor&&y.semver.patch===h.patch&&(h=!1),y.operator===">"||y.operator===">="){if(s=Se0(r,y,n),s===y&&s!==r)return!1}else if(r.operator===">="&&!NR(r.semver,String(y),n))return!1}if(f){if(l&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===l.major&&y.semver.minor===l.minor&&y.semver.patch===l.patch&&(l=!1),y.operator==="<"||y.operator==="<="){if(o=Re0(f,y,n),o===y&&o!==f)return!1}else if(f.operator==="<="&&!NR(f.semver,String(y),n))return!1}if(!y.operator&&(f||r)&&i!==0)return!1}return!(r&&c&&!f&&i!==0||f&&d&&!r&&i!==0||h||l)},Se0=(t,e,n)=>{if(!t)return e;let a=Rce(t.semver,e.semver,n);return a>0?t:a<0||e.operator===">"&&t.operator===">="?e:t},Re0=(t,e,n)=>{if(!t)return e;let a=Rce(t.semver,e.semver,n);return a<0?t:a>0||e.operator==="<"&&t.operator==="<="?e:t};Me0.exports=AVt});var Bce=D((M3a,Le0)=>{u();p();var Mce=Ux(),De0=BR(),kVt=f1(),Pe0=mce(),SVt=r9(),RVt=iZe(),MVt=oZe(),BVt=lZe(),DVt=hZe(),PVt=mZe(),LVt=gZe(),FVt=wZe(),NVt=xZe(),OVt=td(),UVt=CZe(),HVt=kZe(),zVt=Cj(),WVt=BZe(),qVt=PZe(),jVt=PR(),GVt=Ij(),KVt=gce(),QVt=vce(),VVt=kj(),YVt=Sj(),$Vt=wce(),JVt=qZe(),XVt=LR(),ZVt=nd(),eYt=K8(),tYt=re0(),nYt=ie0(),aYt=oe0(),rYt=le0(),fYt=pe0(),iYt=Bj(),sYt=ve0(),oYt=Te0(),cYt=_e0(),dYt=Ce0(),lYt=Be0();Le0.exports={parse:SVt,valid:RVt,clean:MVt,inc:BVt,diff:DVt,major:PVt,minor:LVt,patch:FVt,prerelease:NVt,compare:OVt,rcompare:UVt,compareLoose:HVt,compareBuild:zVt,sort:WVt,rsort:qVt,gt:jVt,lt:GVt,eq:KVt,neq:QVt,gte:VVt,lte:YVt,cmp:$Vt,coerce:JVt,Comparator:XVt,Range:ZVt,satisfies:eYt,toComparators:tYt,maxSatisfying:nYt,minSatisfying:aYt,minVersion:rYt,validRange:fYt,outside:iYt,gtr:sYt,ltr:oYt,intersects:cYt,simplifyRange:dYt,subset:lYt,SemVer:kVt,re:Mce.re,src:Mce.src,tokens:Mce.t,SEMVER_SPEC_VERSION:De0.SEMVER_SPEC_VERSION,RELEASE_TYPES:De0.RELEASE_TYPES,compareIdentifiers:Pe0.compareIdentifiers,rcompareIdentifiers:Pe0.rcompareIdentifiers}});var Ne0=D(ad=>{"use strict";u();p();var uYt=ad&&ad.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),pYt=ad&&ad.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),hYt=ad&&ad.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&uYt(e,t,n);return pYt(e,t),e},bYt=ad&&ad.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ad,"__esModule",{value:!0});ad.CrossChainMessenger=void 0;var Dj=E3(),mi=Xe(),Cs=W8(),Pj=xx(),Fe0=hYt(Tj()),mYt=bYt(Bce()),Ot=wx(),af=Ub(),Dce=class{constructor(e){var n;this._outputCache=[],this.populateTransaction={sendMessage:async(a,r)=>a.direction===Ot.MessageDirection.L1_TO_L2?this.contracts.l1.L1CrossDomainMessenger.populateTransaction.sendMessage(a.target,a.message,r?.l2GasLimit||await this.estimateL2MessageGasLimit(a),r?.overrides||{}):this.contracts.l2.L2CrossDomainMessenger.populateTransaction.sendMessage(a.target,a.message,0,r?.overrides||{}),resendMessage:async(a,r,f,i=0)=>{let s=await this.toCrossChainMessage(a,i);if(s.direction===Ot.MessageDirection.L2_TO_L1)throw new Error("cannot resend L2 to L1 message");return this.bedrock?this.populateTransaction.finalizeMessage(s,Object.assign(Object.assign({},f||{}),{overrides:Object.assign(Object.assign({},f?.overrides),{gasLimit:r})}),i):new mi.ethers.Contract(this.contracts.l1.L1CrossDomainMessenger.address,(0,Pj.getContractInterface)("L1CrossDomainMessenger"),this.l1SignerOrProvider).populateTransaction.replayMessage(s.target,s.sender,s.message,s.messageNonce,s.minGasLimit,r,f?.overrides||{})},proveMessage:async(a,r,f=0)=>{let i=await this.toCrossChainMessage(a,f);if(i.direction===Ot.MessageDirection.L1_TO_L2)throw new Error("cannot finalize L1 to L2 message");if(!this.bedrock)throw new Error("message proving only applies after the bedrock upgrade");let s=await this.toLowLevelMessage(i,f),o=await this.getBedrockMessageProof(i,f),c=[[s.messageNonce,s.sender,s.target,s.value,s.minGasLimit,s.message],o.l2OutputIndex,[o.outputRootProof.version,o.outputRootProof.stateRoot,o.outputRootProof.messagePasserStorageRoot,o.outputRootProof.latestBlockhash],o.withdrawalProof,r?.overrides||{}];return this.contracts.l1.OptimismPortal.populateTransaction.proveWithdrawalTransaction(...c)},finalizeMessage:async(a,r,f=0)=>{let i=await this.toCrossChainMessage(a,f);if(i.direction===Ot.MessageDirection.L1_TO_L2)throw new Error("cannot finalize L1 to L2 message");if(this.bedrock){let s=(0,Cs.hashCrossDomainMessagev1)(i.messageNonce,i.sender,i.target,i.value,i.minGasLimit,i.message),[o,c]=await Promise.allSettled([this.contracts.l1.L1CrossDomainMessenger.failedMessages(s),this.toLowLevelMessage(i,f)]);if(o.status==="rejected"||c.status==="rejected"){let d=[o,c].filter(l=>l.status==="rejected").map(l=>l.reason);throw d.length>1?new AggregateError(d):d[0]}if(o.value===!0){let d=this.contracts.l1.L1CrossDomainMessenger.interface.decodeFunctionData("relayMessage",c.value.message);return this.contracts.l1.L1CrossDomainMessenger.populateTransaction.relayMessage(d._nonce,d._sender,d._target,d._value,d._minGasLimit,d._message,r?.overrides||{})}return this.contracts.l1.OptimismPortal.populateTransaction.finalizeWithdrawalTransaction([c.value.messageNonce,c.value.sender,c.value.target,c.value.value,c.value.minGasLimit,c.value.message],r?.overrides||{})}else{let s=await this.getMessageProof(i,f);return new mi.ethers.Contract(this.contracts.l1.L1CrossDomainMessenger.address,(0,Pj.getContractInterface)("L1CrossDomainMessenger"),this.l1SignerOrProvider).populateTransaction.relayMessage(i.target,i.sender,i.message,i.messageNonce,s,r?.overrides||{})}},depositETH:async(a,r,f=!1)=>{let i=async()=>{if(f)return r;let s=await this.estimateGas.depositETH(a,r);return Object.assign(Object.assign({},r),{overrides:Object.assign(Object.assign({},r?.overrides),{gasLimit:s.add(s.div(2))})})};return this.bridges.ETH.populateTransaction.deposit(mi.ethers.constants.AddressZero,Pj.predeploys.OVM_ETH,a,await i())},withdrawETH:async(a,r)=>this.bridges.ETH.populateTransaction.withdraw(mi.ethers.constants.AddressZero,Pj.predeploys.OVM_ETH,a,r),approveERC20:async(a,r,f,i)=>(await this.getBridgeForTokenPair(a,r)).populateTransaction.approve(a,r,f,i),depositERC20:async(a,r,f,i,s=!1)=>{let o=await this.getBridgeForTokenPair(a,r),c=async()=>{var d,l,h,y;if(s)return i;if(!mi.ethers.Signer.isSigner(this.l1SignerOrProvider))throw new Error("unable to deposit without an l1 signer");let v=this.l1SignerOrProvider.getAddress(),S=await this.estimateGas.depositERC20(a,r,f,Object.assign(Object.assign({},i),{overrides:Object.assign(Object.assign({},i?.overrides),{from:(l=(d=i?.overrides)===null||d===void 0?void 0:d.from)!==null&&l!==void 0?l:v})}));return Object.assign(Object.assign({},i),{overrides:Object.assign(Object.assign({},i?.overrides),{gasLimit:S.add(S.div(2)),from:(y=(h=i?.overrides)===null||h===void 0?void 0:h.from)!==null&&y!==void 0?y:v})})};return o.populateTransaction.deposit(a,r,f,await c())},withdrawERC20:async(a,r,f,i)=>(await this.getBridgeForTokenPair(a,r)).populateTransaction.withdraw(a,r,f,i)},this.estimateGas={sendMessage:async(a,r)=>{let f=await this.populateTransaction.sendMessage(a,r);return a.direction===Ot.MessageDirection.L1_TO_L2?this.l1Provider.estimateGas(f):this.l2Provider.estimateGas(f)},resendMessage:async(a,r,f)=>this.l1Provider.estimateGas(await this.populateTransaction.resendMessage(a,r,f)),proveMessage:async(a,r,f=0)=>this.l1Provider.estimateGas(await this.populateTransaction.proveMessage(a,r,f)),finalizeMessage:async(a,r,f=0)=>this.l1Provider.estimateGas(await this.populateTransaction.finalizeMessage(a,r,f)),depositETH:async(a,r)=>this.l1Provider.estimateGas(await this.populateTransaction.depositETH(a,r,!0)),withdrawETH:async(a,r)=>this.l2Provider.estimateGas(await this.populateTransaction.withdrawETH(a,r)),approveERC20:async(a,r,f,i)=>this.l1Provider.estimateGas(await this.populateTransaction.approveERC20(a,r,f,i)),depositERC20:async(a,r,f,i)=>this.l1Provider.estimateGas(await this.populateTransaction.depositERC20(a,r,f,i,!0)),withdrawERC20:async(a,r,f,i)=>this.l2Provider.estimateGas(await this.populateTransaction.withdrawERC20(a,r,f,i))},this.bedrock=(n=e.bedrock)!==null&&n!==void 0?n:!0,this.l1SignerOrProvider=(0,af.toSignerOrProvider)(e.l1SignerOrProvider),this.l2SignerOrProvider=(0,af.toSignerOrProvider)(e.l2SignerOrProvider);try{this.l1ChainId=(0,af.toNumber)(e.l1ChainId)}catch{throw new Error(`L1 chain ID is missing or invalid: ${e.l1ChainId}`)}try{this.l2ChainId=(0,af.toNumber)(e.l2ChainId)}catch{throw new Error(`L2 chain ID is missing or invalid: ${e.l2ChainId}`)}this.depositConfirmationBlocks=e?.depositConfirmationBlocks!==void 0?(0,af.toNumber)(e.depositConfirmationBlocks):af.DEPOSIT_CONFIRMATION_BLOCKS[this.l2ChainId]||0,this.l1BlockTimeSeconds=e?.l1BlockTimeSeconds!==void 0?(0,af.toNumber)(e.l1BlockTimeSeconds):af.CHAIN_BLOCK_TIMES[this.l1ChainId]||1,this.contracts=(0,af.getAllOEContracts)(this.l2ChainId,{l1SignerOrProvider:this.l1SignerOrProvider,l2SignerOrProvider:this.l2SignerOrProvider,overrides:e.contracts}),this.bridges=(0,af.getBridgeAdapters)(this.l2ChainId,this,{overrides:e.bridges,contracts:e.contracts})}get l1Provider(){return Dj.Provider.isProvider(this.l1SignerOrProvider)?this.l1SignerOrProvider:this.l1SignerOrProvider.provider}get l2Provider(){return Dj.Provider.isProvider(this.l2SignerOrProvider)?this.l2SignerOrProvider:this.l2SignerOrProvider.provider}get l1Signer(){if(Dj.Provider.isProvider(this.l1SignerOrProvider))throw new Error("messenger has no L1 signer");return this.l1SignerOrProvider}get l2Signer(){if(Dj.Provider.isProvider(this.l2SignerOrProvider))throw new Error("messenger has no L2 signer");return this.l2SignerOrProvider}async fpac(){return this.contracts.l1.OptimismPortal.address===mi.ethers.constants.AddressZero?!1:mYt.default.gte(await this.contracts.l1.OptimismPortal.version(),"3.0.0")}async getMessagesByTransaction(e,n={}){var a,r;await((r=(a=e).wait)===null||r===void 0?void 0:r.call(a));let f=(0,af.toTransactionHash)(e),i;if(n.direction!==void 0?n.direction===Ot.MessageDirection.L1_TO_L2?i=await this.l1Provider.getTransactionReceipt(f):i=await this.l2Provider.getTransactionReceipt(f):(i=await this.l1Provider.getTransactionReceipt(f),i?n.direction=Ot.MessageDirection.L1_TO_L2:(i=await this.l2Provider.getTransactionReceipt(f),n.direction=Ot.MessageDirection.L2_TO_L1)),!i)throw new Error(`unable to find transaction receipt for ${f}`);let s=n.direction===Ot.MessageDirection.L1_TO_L2?this.contracts.l1.L1CrossDomainMessenger:this.contracts.l2.L2CrossDomainMessenger;return i.logs.filter(o=>o.address===s.address).filter(o=>s.interface.parseLog(o).name==="SentMessage").map(o=>{let c=mi.ethers.BigNumber.from(0),d=i.logs.find(h=>h.logIndex===o.logIndex+1&&h.address===s.address);if(d){let h=s.interface.parseLog(d);h.name==="SentMessageExtension1"&&(c=h.args.value)}let l=s.interface.parseLog(o);return{direction:n.direction,target:l.args.target,sender:l.args.sender,message:l.args.message,messageNonce:l.args.messageNonce,value:c,minGasLimit:l.args.gasLimit,logIndex:o.logIndex,blockNumber:o.blockNumber,transactionHash:o.transactionHash}})}async toBedrockCrossChainMessage(e,n=0){let a=await this.toCrossChainMessage(e,n),{version:r}=(0,Cs.decodeVersionedNonce)(a.messageNonce);if(r.eq(1))return a;let f=mi.BigNumber.from(0);if(a.direction===Ot.MessageDirection.L2_TO_L1&&a.sender===this.contracts.l2.L2StandardBridge.address&&a.target===this.contracts.l1.L1StandardBridge.address)try{[,,f]=this.contracts.l1.L1StandardBridge.interface.decodeFunctionData("finalizeETHWithdrawal",a.message)}catch{}return Object.assign(Object.assign({},a),{value:f,minGasLimit:mi.BigNumber.from(0),messageNonce:(0,Cs.encodeVersionedNonce)(mi.BigNumber.from(0),a.messageNonce)})}async toLowLevelMessage(e,n=0){let a=await this.toCrossChainMessage(e,n);if(a.direction===Ot.MessageDirection.L1_TO_L2)throw new Error("can only convert L2 to L1 messages to low level");let{version:r}=(0,Cs.decodeVersionedNonce)(a.messageNonce),f;r.eq(0)?f=await this.toBedrockCrossChainMessage(a,n):f=a;let i=(0,Cs.encodeCrossDomainMessageV1)(f.messageNonce,f.sender,f.target,f.value,f.minGasLimit,f.message),s,o;if(r.eq(0)){let c=await(0,Cs.getChainId)(this.l2Provider);s=(0,af.migratedWithdrawalGasLimit)(i,c),o=a.messageNonce}else{let c=await this.l2Provider.getTransactionReceipt((await this.toCrossChainMessage(e)).transactionHash),d=[];for(let h of c.logs)if(h.address===this.contracts.l2.BedrockMessagePasser.address){let y=this.contracts.l2.L2ToL1MessagePasser.interface.parseLog(h);y.name==="MessagePassed"&&d.push(y.args)}if(d.length===0)throw new Error("no withdrawals found in receipt");let l=d[n];if(!l)throw new Error(`withdrawal index ${n} out of bounds there are ${d.length} withdrawals`);o=l.nonce,s=l.gasLimit}return{messageNonce:o,sender:this.contracts.l2.L2CrossDomainMessenger.address,target:this.contracts.l1.L1CrossDomainMessenger.address,value:f.value,minGasLimit:s,message:i}}async getBridgeForTokenPair(e,n){var a,r;let f=[];for(let i of Object.values(this.bridges))try{await i.supportsTokenPair(e,n)&&f.push(i)}catch(s){!(!((a=s?.message)===null||a===void 0)&&a.toString().includes("CALL_EXCEPTION"))&&!(!((r=s?.stack)===null||r===void 0)&&r.toString().includes("execution reverted"))&&console.error("Unexpected error when checking bridge",s)}if(f.length===0)throw new Error("no supported bridge for token pair");if(f.length>1)throw new Error("found more than one bridge for token pair");return f[0]}async getDepositsByAddress(e,n={}){return(await Promise.all(Object.values(this.bridges).map(async a=>a.getDepositsByAddress(e,n)))).reduce((a,r)=>a.concat(r),[]).sort((a,r)=>r.blockNumber-a.blockNumber)}async getWithdrawalsByAddress(e,n={}){return(await Promise.all(Object.values(this.bridges).map(async a=>a.getWithdrawalsByAddress(e,n)))).reduce((a,r)=>a.concat(r),[]).sort((a,r)=>r.blockNumber-a.blockNumber)}async toCrossChainMessage(e,n=0){if(!e)throw new Error("message is undefined");if(e.message)return e;if(e.l1Token&&e.l2Token&&e.transactionHash){let r=(await this.getMessagesByTransaction(e.transactionHash)).sort((f,i)=>f.logIndex-i.logIndex).find(f=>f.logIndex>e.logIndex);if(!r)throw new Error("could not find SentMessage event for message");return r}else{let a=await this.getMessagesByTransaction(e),r=a[n];if(!r)throw new Error(`withdrawal index ${n} out of bounds. There are ${a.length} withdrawals`);return r}}async getMessageStatus(e,n=0,a,r){let f=await this.toCrossChainMessage(e,n),i=(0,Cs.hashCrossDomainMessagev0)(f.target,f.sender,f.message,f.messageNonce),s=(0,Cs.hashCrossDomainMessagev1)(f.messageNonce,f.sender,f.target,f.value,f.minGasLimit,f.message),o=f.direction===Ot.MessageDirection.L1_TO_L2?this.contracts.l2.L2CrossDomainMessenger:this.contracts.l1.L1CrossDomainMessenger;if(await o.successfulMessages(i)||await o.successfulMessages(s))return Ot.MessageStatus.RELAYED;let d=await o.failedMessages(i)||await o.failedMessages(s);if(f.direction===Ot.MessageDirection.L1_TO_L2)return d?Ot.MessageStatus.FAILED_L1_TO_L2_MESSAGE:Ot.MessageStatus.UNCONFIRMED_L1_TO_L2_MESSAGE;if(d)return Ot.MessageStatus.READY_FOR_RELAY;{let l;if(this.bedrock){if(await this.getMessageBedrockOutput(f,n)===null)return Ot.MessageStatus.STATE_ROOT_NOT_PUBLISHED;let y=await this.toLowLevelMessage(f,n),v=await this.getProvenWithdrawal((0,af.hashLowLevelMessage)(y));if(v===null)return Ot.MessageStatus.READY_TO_PROVE;l=v.timestamp.toNumber()}else{let h=await this.getMessageStateRoot(f,n);if(h===null)return Ot.MessageStatus.STATE_ROOT_NOT_PUBLISHED;let y=h.batch.blockNumber;l=(await this.l1Provider.getBlock(y)).timestamp}if(await this.fpac()){let h=await this.toLowLevelMessage(f,n),y=(0,af.hashLowLevelMessage)(h),v=await this.getProvenWithdrawal(y);if(v===null)return console.warn("Unexpected code path reached in getMessageStatus, returning READY_TO_PROVE"),Ot.MessageStatus.READY_TO_PROVE;if(!("proofSubmitter"in v))throw new Error("expected to get FPAC withdrawal but got legacy withdrawal");try{return await this.contracts.l1.OptimismPortal2.checkWithdrawal((0,af.hashLowLevelMessage)(h),v.proofSubmitter),Ot.MessageStatus.READY_FOR_RELAY}catch{return Ot.MessageStatus.IN_CHALLENGE_PERIOD}}else{let h=await this.getChallengePeriodSeconds(),y=await this.l1Provider.getBlock("latest");return l+h>y.timestamp?Ot.MessageStatus.IN_CHALLENGE_PERIOD:Ot.MessageStatus.READY_FOR_RELAY}}}async getMessageReceipt(e,n=0,a,r){let f=await this.toCrossChainMessage(e,n),i=(0,Cs.hashCrossDomainMessagev0)(f.target,f.sender,f.message,f.messageNonce),s=(0,Cs.hashCrossDomainMessagev1)(f.messageNonce,f.sender,f.target,f.value,f.minGasLimit,f.message),o=f.direction===Ot.MessageDirection.L1_TO_L2?this.contracts.l2.L2CrossDomainMessenger:this.contracts.l1.L1CrossDomainMessenger,c=[...await o.queryFilter(o.filters.RelayedMessage(i),a,r),...await o.queryFilter(o.filters.RelayedMessage(s),a,r)];if(c.length===1)return{receiptStatus:Ot.MessageReceiptStatus.RELAYED_SUCCEEDED,transactionReceipt:await c[0].getTransactionReceipt()};if(c.length>1)throw new Error("multiple successful relays for message");let d=[...await o.queryFilter(o.filters.FailedRelayedMessage(i),a,r),...await o.queryFilter(o.filters.FailedRelayedMessage(s),a,r)];return d.length>0?{receiptStatus:Ot.MessageReceiptStatus.RELAYED_FAILED,transactionReceipt:await d[d.length-1].getTransactionReceipt()}:null}async waitForMessageReceipt(e,n={},a=0){let r=await this.toCrossChainMessage(e,a),f=0;for(;f<(n.timeoutMs||1/0);){let i=Date.now(),s=await this.getMessageReceipt(r,a,n.fromBlockOrBlockHash,n.toBlockOrHash);if(s!==null)return s;await(0,Cs.sleep)(n.pollIntervalMs||4e3),f+=Date.now()-i}throw new Error("timed out waiting for message receipt")}async waitForMessageStatus(e,n,a={},r=0){let f=await this.toCrossChainMessage(e,r),i=0;for(;i<(a.timeoutMs||1/0);){let s=Date.now(),o=await this.getMessageStatus(f,r,a.fromBlockOrBlockHash,a.toBlockOrBlockHash);if(f.direction===Ot.MessageDirection.L1_TO_L2){if(o===n||n===Ot.MessageStatus.UNCONFIRMED_L1_TO_L2_MESSAGE&&o>n)return;if(n===Ot.MessageStatus.FAILED_L1_TO_L2_MESSAGE&&o===Ot.MessageStatus.RELAYED)throw new Error("incompatible message status, expected FAILED_L1_TO_L2_MESSAGE got RELAYED");if(n===Ot.MessageStatus.RELAYED&&o===Ot.MessageStatus.FAILED_L1_TO_L2_MESSAGE)throw new Error("incompatible message status, expected RELAYED got FAILED_L1_TO_L2_MESSAGE")}if(f.direction===Ot.MessageDirection.L2_TO_L1&&o>=n)return;await(0,Cs.sleep)(a.pollIntervalMs||4e3),i+=Date.now()-s}throw new Error("timed out waiting for message status change")}async estimateL2MessageGasLimit(e,n,a=0){let r,f;if(e.messageNonce===void 0?(r=e,f=n?.from):(r=await this.toCrossChainMessage(e,a),f=n?.from||r.sender),r.direction===Ot.MessageDirection.L2_TO_L1)throw new Error("cannot estimate gas limit for L2 => L1 message");let i=await this.l2Provider.estimateGas({from:f,to:r.target,data:r.message}),s=n?.bufferPercent||20;return i.mul(100+s).div(100)}async estimateMessageWaitTimeSeconds(e,n=0,a,r){let f=await this.toCrossChainMessage(e,n),i=await this.getMessageStatus(f,n,a,r);if(f.direction===Ot.MessageDirection.L1_TO_L2){if(i===Ot.MessageStatus.RELAYED||i===Ot.MessageStatus.FAILED_L1_TO_L2_MESSAGE)return 0;{let s=await this.l1Provider.getTransactionReceipt(f.transactionHash);return Math.max(this.depositConfirmationBlocks-s.confirmations,0)*this.l1BlockTimeSeconds}}else{if(i===Ot.MessageStatus.RELAYED||i===Ot.MessageStatus.READY_FOR_RELAY)return 0;if(i===Ot.MessageStatus.STATE_ROOT_NOT_PUBLISHED)return this.getChallengePeriodSeconds();if(i===Ot.MessageStatus.IN_CHALLENGE_PERIOD){let s=await this.getMessageStateRoot(f,n),o=await this.getChallengePeriodSeconds(),c=await this.l1Provider.getBlock(s.batch.blockNumber),d=await this.l1Provider.getBlock("latest");return Math.max(o-(d.timestamp-c.timestamp),0)}else throw new Error("unexpected message status")}}async getChallengePeriodSeconds(){return this.bedrock?(await this.contracts.l1.L2OutputOracle.version()==="1.0.0"?mi.BigNumber.from(await this.contracts.l1.OptimismPortal.provider.call({to:this.contracts.l1.OptimismPortal.address,data:"0xf4daa291"})):await this.contracts.l1.L2OutputOracle.FINALIZATION_PERIOD_SECONDS()).toNumber():(await this.contracts.l1.StateCommitmentChain.FRAUD_PROOF_WINDOW()).toNumber()}async getProvenWithdrawal(e){if(!this.bedrock)throw new Error("message proving only applies after the bedrock upgrade");if(!await this.fpac()){let a=await this.contracts.l1.OptimismPortal.provenWithdrawals(e);return a.timestamp.eq(0)?null:a}let n=mi.BigNumber.from(await this.contracts.l1.OptimismPortal2.numProofSubmitters(e)).toNumber();for(let a=0;a2)throw new Error("got invalid game status");let o=await i.extraData(),c;try{[c]=mi.ethers.utils.defaultAbiCoder.decode(["uint256"],o)}catch{continue}if(await this.isValidOutputRoot(await i.rootClaim(),c))return Object.assign(Object.assign({},f),{proofSubmitter:r})}return null}async isValidOutputRoot(e,n){let a=this._outputCache.find(r=>r.root===e);if(a)return a.valid;this._outputCache.length>1e4&&(this._outputCache=this._outputCache.slice(5e3));try{let r=(0,af.toJsonRpcProvider)(this.l2Provider),[f,i]=await Promise.all([r.send("eth_getBlockByNumber",[(0,Cs.toRpcHexString)(n),!1]),(0,af.makeStateTrieProof)(r,n,this.contracts.l2.OVM_L2ToL1MessagePasser.address,mi.ethers.constants.HashZero)]),o=mi.ethers.utils.solidityKeccak256(["bytes32","bytes32","bytes32","bytes32"],[mi.ethers.constants.HashZero,f.stateRoot,i.storageRoot,f.hash])===e;return this._outputCache.push({root:e,valid:o}),o}catch{return!1}}async getMessageBedrockOutput(e,n=0){let a=await this.toCrossChainMessage(e,n);if(a.direction===Ot.MessageDirection.L1_TO_L2)throw new Error("cannot get a state root for an L1 to L2 message");let r,f;if(await this.fpac()){let i=await this.contracts.l1.OptimismPortal2.respectedGameType(),s=await this.contracts.l1.DisputeGameFactory.gameCount(),o=await this.contracts.l1.DisputeGameFactory.findLatestGames(i,Math.max(0,s.sub(1).toNumber()),Math.min(100,s.toNumber())),c=[];for(let l of o)try{let[h]=mi.ethers.utils.defaultAbiCoder.decode(["uint256"],l.extraData);h.gte(a.blockNumber)&&c.push(Object.assign(Object.assign({},l),{l2BlockNumber:h}))}catch{continue}for(let l=c.length-1;l>0;l--){let h=Math.floor(Math.random()*(l+1));[c[l],c[h]]=[c[h],c[l]]}let d;for(let l of c)if(await this.isValidOutputRoot(l.rootClaim,l.l2BlockNumber)){d=l;break}if(!d)return null;f=d.index,r={outputRoot:d.rootClaim,timestamp:d.timestamp,l2BlockNumber:d.l2BlockNumber}}else{try{f=await this.contracts.l1.L2OutputOracle.getL2OutputIndexAfter(a.blockNumber)}catch(i){if(i.message.includes("L2OutputOracle: cannot get output"))return null;throw i}r=await this.contracts.l1.L2OutputOracle.getL2Output(f)}return{outputRoot:r.outputRoot,l1Timestamp:r.timestamp.toNumber(),l2BlockNumber:r.l2BlockNumber.toNumber(),l2OutputIndex:f.toNumber()}}async getMessageStateRoot(e,n=0){let a=await this.toCrossChainMessage(e,n);if(a.direction===Ot.MessageDirection.L1_TO_L2)throw new Error("cannot get a state root for an L1 to L2 message");let f=(await this.l2Provider.getTransactionReceipt(a.transactionHash)).blockNumber-1,i=await this.getStateRootBatchByTransactionIndex(f);if(i===null)return null;let s=f-i.header.prevTotalElements.toNumber();if(i.stateRoots.length<=s)throw new Error("state root does not exist in batch");return{stateRoot:i.stateRoots[s],stateRootIndexInBatch:s,batch:i}}async getStateBatchAppendedEventByBatchIndex(e){let n=await this.contracts.l1.StateCommitmentChain.queryFilter(this.contracts.l1.StateCommitmentChain.filters.StateBatchAppended(e));if(n.length===0)return null;if(n.length>1)throw new Error("found more than one StateBatchAppended event");return n[0]}async getStateBatchAppendedEventByTransactionIndex(e){let n=(o,c)=>{let d=o.args._prevTotalElements.toNumber();return c{let d=o.args._prevTotalElements.toNumber(),l=o.args._batchSize.toNumber();return c>=d+l},r=await this.contracts.l1.StateCommitmentChain.getTotalBatches();if(r.eq(0))return null;let f=0,i=r.toNumber()-1,s=await this.getStateBatchAppendedEventByBatchIndex(i);if(s===null||a(s,e))return null;if(!n(s,e))return s;for(;f{u();p();function yYt(){this.__data__=[],this.size=0}Oe0.exports=yYt});var Pce=D((H3a,He0)=>{u();p();function gYt(t,e){return t===e||t!==t&&e!==e}He0.exports=gYt});var OR=D((q3a,ze0)=>{u();p();var vYt=Pce();function wYt(t,e){for(var n=t.length;n--;)if(vYt(t[n][0],e))return n;return-1}ze0.exports=wYt});var qe0=D((K3a,We0)=>{u();p();var TYt=OR(),xYt=Array.prototype,EYt=xYt.splice;function _Yt(t){var e=this.__data__,n=TYt(e,t);if(n<0)return!1;var a=e.length-1;return n==a?e.pop():EYt.call(e,n,1),--this.size,!0}We0.exports=_Yt});var Ge0=D((Y3a,je0)=>{u();p();var AYt=OR();function CYt(t){var e=this.__data__,n=AYt(e,t);return n<0?void 0:e[n][1]}je0.exports=CYt});var Qe0=D((X3a,Ke0)=>{u();p();var IYt=OR();function kYt(t){return IYt(this.__data__,t)>-1}Ke0.exports=kYt});var Ye0=D((tba,Ve0)=>{u();p();var SYt=OR();function RYt(t,e){var n=this.__data__,a=SYt(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this}Ve0.exports=RYt});var UR=D((rba,$e0)=>{u();p();var MYt=Ue0(),BYt=qe0(),DYt=Ge0(),PYt=Qe0(),LYt=Ye0();function zx(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e{u();p();var FYt=UR();function NYt(){this.__data__=new FYt,this.size=0}Je0.exports=NYt});var e00=D((dba,Ze0)=>{u();p();function OYt(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}Ze0.exports=OYt});var n00=D((pba,t00)=>{u();p();function UYt(t){return this.__data__.get(t)}t00.exports=UYt});var r00=D((mba,a00)=>{u();p();function HYt(t){return this.__data__.has(t)}a00.exports=HYt});var Lce=D((vba,f00)=>{u();p();var zYt=typeof global=="object"&&global&&global.Object===Object&&global;f00.exports=zYt});var kl=D((xba,i00)=>{u();p();var WYt=Lce(),qYt=typeof self=="object"&&self&&self.Object===Object&&self,jYt=WYt||qYt||Function("return this")();i00.exports=jYt});var Lj=D((Aba,s00)=>{u();p();var GYt=kl(),KYt=GYt.Symbol;s00.exports=KYt});var l00=D((kba,d00)=>{u();p();var o00=Lj(),c00=Object.prototype,QYt=c00.hasOwnProperty,VYt=c00.toString,HR=o00?o00.toStringTag:void 0;function YYt(t){var e=QYt.call(t,HR),n=t[HR];try{t[HR]=void 0;var a=!0}catch{}var r=VYt.call(t);return a&&(e?t[HR]=n:delete t[HR]),r}d00.exports=YYt});var p00=D((Mba,u00)=>{u();p();var $Yt=Object.prototype,JYt=$Yt.toString;function XYt(t){return JYt.call(t)}u00.exports=XYt});var zR=D((Pba,m00)=>{u();p();var h00=Lj(),ZYt=l00(),e$t=p00(),t$t="[object Null]",n$t="[object Undefined]",b00=h00?h00.toStringTag:void 0;function a$t(t){return t==null?t===void 0?n$t:t$t:b00&&b00 in Object(t)?ZYt(t):e$t(t)}m00.exports=a$t});var Wx=D((Nba,y00)=>{u();p();function r$t(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}y00.exports=r$t});var Fce=D((Hba,g00)=>{u();p();var f$t=zR(),i$t=Wx(),s$t="[object AsyncFunction]",o$t="[object Function]",c$t="[object GeneratorFunction]",d$t="[object Proxy]";function l$t(t){if(!i$t(t))return!1;var e=f$t(t);return e==o$t||e==c$t||e==s$t||e==d$t}g00.exports=l$t});var w00=D((qba,v00)=>{u();p();var u$t=kl(),p$t=u$t["__core-js_shared__"];v00.exports=p$t});var E00=D((Kba,x00)=>{u();p();var Nce=w00(),T00=function(){var t=/[^.]+$/.exec(Nce&&Nce.keys&&Nce.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function h$t(t){return!!T00&&T00 in t}x00.exports=h$t});var Oce=D((Yba,_00)=>{u();p();var b$t=Function.prototype,m$t=b$t.toString;function y$t(t){if(t!=null){try{return m$t.call(t)}catch{}try{return t+""}catch{}}return""}_00.exports=y$t});var C00=D((Xba,A00)=>{u();p();var g$t=Fce(),v$t=E00(),w$t=Wx(),T$t=Oce(),x$t=/[\\^$.*+?()[\]{}|]/g,E$t=/^\[object .+?Constructor\]$/,_$t=Function.prototype,A$t=Object.prototype,C$t=_$t.toString,I$t=A$t.hasOwnProperty,k$t=RegExp("^"+C$t.call(I$t).replace(x$t,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function S$t(t){if(!w$t(t)||v$t(t))return!1;var e=g$t(t)?k$t:E$t;return e.test(T$t(t))}A00.exports=S$t});var k00=D((tma,I00)=>{u();p();function R$t(t,e){return t?.[e]}I00.exports=R$t});var jb=D((rma,S00)=>{u();p();var M$t=C00(),B$t=k00();function D$t(t,e){var n=B$t(t,e);return M$t(n)?n:void 0}S00.exports=D$t});var Fj=D((sma,R00)=>{u();p();var P$t=jb(),L$t=kl(),F$t=P$t(L$t,"Map");R00.exports=F$t});var WR=D((dma,M00)=>{u();p();var N$t=jb(),O$t=N$t(Object,"create");M00.exports=O$t});var P00=D((pma,D00)=>{u();p();var B00=WR();function U$t(){this.__data__=B00?B00(null):{},this.size=0}D00.exports=U$t});var F00=D((mma,L00)=>{u();p();function H$t(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}L00.exports=H$t});var O00=D((vma,N00)=>{u();p();var z$t=WR(),W$t="__lodash_hash_undefined__",q$t=Object.prototype,j$t=q$t.hasOwnProperty;function G$t(t){var e=this.__data__;if(z$t){var n=e[t];return n===W$t?void 0:n}return j$t.call(e,t)?e[t]:void 0}N00.exports=G$t});var H00=D((xma,U00)=>{u();p();var K$t=WR(),Q$t=Object.prototype,V$t=Q$t.hasOwnProperty;function Y$t(t){var e=this.__data__;return K$t?e[t]!==void 0:V$t.call(e,t)}U00.exports=Y$t});var W00=D((Ama,z00)=>{u();p();var $$t=WR(),J$t="__lodash_hash_undefined__";function X$t(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=$$t&&e===void 0?J$t:e,this}z00.exports=X$t});var j00=D((kma,q00)=>{u();p();var Z$t=P00(),eJt=F00(),tJt=O00(),nJt=H00(),aJt=W00();function qx(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e{u();p();var G00=j00(),rJt=UR(),fJt=Fj();function iJt(){this.size=0,this.__data__={hash:new G00,map:new(fJt||rJt),string:new G00}}K00.exports=iJt});var Y00=D((Pma,V00)=>{u();p();function sJt(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}V00.exports=sJt});var qR=D((Nma,$00)=>{u();p();var oJt=Y00();function cJt(t,e){var n=t.__data__;return oJt(e)?n[typeof e=="string"?"string":"hash"]:n.map}$00.exports=cJt});var X00=D((Hma,J00)=>{u();p();var dJt=qR();function lJt(t){var e=dJt(this,t).delete(t);return this.size-=e?1:0,e}J00.exports=lJt});var et0=D((qma,Z00)=>{u();p();var uJt=qR();function pJt(t){return uJt(this,t).get(t)}Z00.exports=pJt});var nt0=D((Kma,tt0)=>{u();p();var hJt=qR();function bJt(t){return hJt(this,t).has(t)}tt0.exports=bJt});var rt0=D((Yma,at0)=>{u();p();var mJt=qR();function yJt(t,e){var n=mJt(this,t),a=n.size;return n.set(t,e),this.size+=n.size==a?0:1,this}at0.exports=yJt});var it0=D((Xma,ft0)=>{u();p();var gJt=Q00(),vJt=X00(),wJt=et0(),TJt=nt0(),xJt=rt0();function jx(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e{u();p();var EJt=UR(),_Jt=Fj(),AJt=it0(),CJt=200;function IJt(t,e){var n=this.__data__;if(n instanceof EJt){var a=n.__data__;if(!_Jt||a.length{u();p();var kJt=UR(),SJt=Xe0(),RJt=e00(),MJt=n00(),BJt=r00(),DJt=ot0();function Gx(t){var e=this.__data__=new kJt(t);this.size=e.size}Gx.prototype.clear=SJt;Gx.prototype.delete=RJt;Gx.prototype.get=MJt;Gx.prototype.has=BJt;Gx.prototype.set=DJt;ct0.exports=Gx});var ut0=D((s4a,lt0)=>{u();p();function PJt(t,e){for(var n=-1,a=t==null?0:t.length;++n{u();p();var LJt=jb(),FJt=function(){try{var t=LJt(Object,"defineProperty");return t({},"",{}),t}catch{}}();pt0.exports=FJt});var Uce=D((p4a,mt0)=>{u();p();var bt0=ht0();function NJt(t,e,n){e=="__proto__"&&bt0?bt0(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}mt0.exports=NJt});var Hce=D((m4a,yt0)=>{u();p();var OJt=Uce(),UJt=Pce(),HJt=Object.prototype,zJt=HJt.hasOwnProperty;function WJt(t,e,n){var a=t[e];(!(zJt.call(t,e)&&UJt(a,n))||n===void 0&&!(e in t))&&OJt(t,e,n)}yt0.exports=WJt});var jR=D((v4a,gt0)=>{u();p();var qJt=Hce(),jJt=Uce();function GJt(t,e,n,a){var r=!n;n||(n={});for(var f=-1,i=e.length;++f{u();p();function KJt(t,e){for(var n=-1,a=Array(t);++n{u();p();function QJt(t){return t!=null&&typeof t=="object"}Tt0.exports=QJt});var Et0=D((k4a,xt0)=>{u();p();var VJt=zR(),YJt=Kx(),$Jt="[object Arguments]";function JJt(t){return YJt(t)&&VJt(t)==$Jt}xt0.exports=JJt});var It0=D((M4a,Ct0)=>{u();p();var _t0=Et0(),XJt=Kx(),At0=Object.prototype,ZJt=At0.hasOwnProperty,eXt=At0.propertyIsEnumerable,tXt=_t0(function(){return arguments}())?_t0:function(t){return XJt(t)&&ZJt.call(t,"callee")&&!eXt.call(t,"callee")};Ct0.exports=tXt});var Nj=D((P4a,kt0)=>{u();p();var nXt=Array.isArray;kt0.exports=nXt});var Rt0=D((N4a,St0)=>{u();p();function aXt(){return!1}St0.exports=aXt});var zce=D((GR,Qx)=>{u();p();var rXt=kl(),fXt=Rt0(),Dt0=typeof GR=="object"&&GR&&!GR.nodeType&&GR,Mt0=Dt0&&typeof Qx=="object"&&Qx&&!Qx.nodeType&&Qx,iXt=Mt0&&Mt0.exports===Dt0,Bt0=iXt?rXt.Buffer:void 0,sXt=Bt0?Bt0.isBuffer:void 0,oXt=sXt||fXt;Qx.exports=oXt});var Lt0=D((W4a,Pt0)=>{u();p();var cXt=9007199254740991,dXt=/^(?:0|[1-9]\d*)$/;function lXt(t,e){var n=typeof t;return e=e??cXt,!!e&&(n=="number"||n!="symbol"&&dXt.test(t))&&t>-1&&t%1==0&&t{u();p();var uXt=9007199254740991;function pXt(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=uXt}Ft0.exports=pXt});var Ot0=D((V4a,Nt0)=>{u();p();var hXt=zR(),bXt=Wce(),mXt=Kx(),yXt="[object Arguments]",gXt="[object Array]",vXt="[object Boolean]",wXt="[object Date]",TXt="[object Error]",xXt="[object Function]",EXt="[object Map]",_Xt="[object Number]",AXt="[object Object]",CXt="[object RegExp]",IXt="[object Set]",kXt="[object String]",SXt="[object WeakMap]",RXt="[object ArrayBuffer]",MXt="[object DataView]",BXt="[object Float32Array]",DXt="[object Float64Array]",PXt="[object Int8Array]",LXt="[object Int16Array]",FXt="[object Int32Array]",NXt="[object Uint8Array]",OXt="[object Uint8ClampedArray]",UXt="[object Uint16Array]",HXt="[object Uint32Array]",rf={};rf[BXt]=rf[DXt]=rf[PXt]=rf[LXt]=rf[FXt]=rf[NXt]=rf[OXt]=rf[UXt]=rf[HXt]=!0;rf[yXt]=rf[gXt]=rf[RXt]=rf[vXt]=rf[MXt]=rf[wXt]=rf[TXt]=rf[xXt]=rf[EXt]=rf[_Xt]=rf[AXt]=rf[CXt]=rf[IXt]=rf[kXt]=rf[SXt]=!1;function zXt(t){return mXt(t)&&bXt(t.length)&&!!rf[hXt(t)]}Nt0.exports=zXt});var Oj=D((J4a,Ut0)=>{u();p();function WXt(t){return function(e){return t(e)}}Ut0.exports=WXt});var Uj=D((KR,Vx)=>{u();p();var qXt=Lce(),Ht0=typeof KR=="object"&&KR&&!KR.nodeType&&KR,QR=Ht0&&typeof Vx=="object"&&Vx&&!Vx.nodeType&&Vx,jXt=QR&&QR.exports===Ht0,qce=jXt&&qXt.process,GXt=function(){try{var t=QR&&QR.require&&QR.require("util").types;return t||qce&&qce.binding&&qce.binding("util")}catch{}}();Vx.exports=GXt});var jt0=D((nya,qt0)=>{u();p();var KXt=Ot0(),QXt=Oj(),zt0=Uj(),Wt0=zt0&&zt0.isTypedArray,VXt=Wt0?QXt(Wt0):KXt;qt0.exports=VXt});var jce=D((fya,Gt0)=>{u();p();var YXt=wt0(),$Xt=It0(),JXt=Nj(),XXt=zce(),ZXt=Lt0(),eZt=jt0(),tZt=Object.prototype,nZt=tZt.hasOwnProperty;function aZt(t,e){var n=JXt(t),a=!n&&$Xt(t),r=!n&&!a&&XXt(t),f=!n&&!a&&!r&&eZt(t),i=n||a||r||f,s=i?YXt(t.length,String):[],o=s.length;for(var c in t)(e||nZt.call(t,c))&&!(i&&(c=="length"||r&&(c=="offset"||c=="parent")||f&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||ZXt(c,o)))&&s.push(c);return s}Gt0.exports=aZt});var Hj=D((oya,Kt0)=>{u();p();var rZt=Object.prototype;function fZt(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||rZt;return t===n}Kt0.exports=fZt});var Gce=D((lya,Qt0)=>{u();p();function iZt(t,e){return function(n){return t(e(n))}}Qt0.exports=iZt});var Yt0=D((hya,Vt0)=>{u();p();var sZt=Gce(),oZt=sZt(Object.keys,Object);Vt0.exports=oZt});var Jt0=D((yya,$t0)=>{u();p();var cZt=Hj(),dZt=Yt0(),lZt=Object.prototype,uZt=lZt.hasOwnProperty;function pZt(t){if(!cZt(t))return dZt(t);var e=[];for(var n in Object(t))uZt.call(t,n)&&n!="constructor"&&e.push(n);return e}$t0.exports=pZt});var Kce=D((wya,Xt0)=>{u();p();var hZt=Fce(),bZt=Wce();function mZt(t){return t!=null&&bZt(t.length)&&!hZt(t)}Xt0.exports=mZt});var zj=D((Eya,Zt0)=>{u();p();var yZt=jce(),gZt=Jt0(),vZt=Kce();function wZt(t){return vZt(t)?yZt(t):gZt(t)}Zt0.exports=wZt});var tn0=D((Cya,en0)=>{u();p();var TZt=jR(),xZt=zj();function EZt(t,e){return t&&TZt(e,xZt(e),t)}en0.exports=EZt});var an0=D((Sya,nn0)=>{u();p();function _Zt(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}nn0.exports=_Zt});var fn0=D((Bya,rn0)=>{u();p();var AZt=Wx(),CZt=Hj(),IZt=an0(),kZt=Object.prototype,SZt=kZt.hasOwnProperty;function RZt(t){if(!AZt(t))return IZt(t);var e=CZt(t),n=[];for(var a in t)a=="constructor"&&(e||!SZt.call(t,a))||n.push(a);return n}rn0.exports=RZt});var Wj=D((Lya,in0)=>{u();p();var MZt=jce(),BZt=fn0(),DZt=Kce();function PZt(t){return DZt(t)?MZt(t,!0):BZt(t)}in0.exports=PZt});var on0=D((Oya,sn0)=>{u();p();var LZt=jR(),FZt=Wj();function NZt(t,e){return t&&LZt(e,FZt(e),t)}sn0.exports=NZt});var pn0=D((VR,Yx)=>{u();p();var OZt=kl(),un0=typeof VR=="object"&&VR&&!VR.nodeType&&VR,cn0=un0&&typeof Yx=="object"&&Yx&&!Yx.nodeType&&Yx,UZt=cn0&&cn0.exports===un0,dn0=UZt?OZt.Buffer:void 0,ln0=dn0?dn0.allocUnsafe:void 0;function HZt(t,e){if(e)return t.slice();var n=t.length,a=ln0?ln0(n):new t.constructor(n);return t.copy(a),a}Yx.exports=HZt});var bn0=D((qya,hn0)=>{u();p();function zZt(t,e){var n=-1,a=t.length;for(e||(e=Array(a));++n{u();p();function WZt(t,e){for(var n=-1,a=t==null?0:t.length,r=0,f=[];++n{u();p();function qZt(){return[]}gn0.exports=qZt});var qj=D((Xya,wn0)=>{u();p();var jZt=yn0(),GZt=Qce(),KZt=Object.prototype,QZt=KZt.propertyIsEnumerable,vn0=Object.getOwnPropertySymbols,VZt=vn0?function(t){return t==null?[]:(t=Object(t),jZt(vn0(t),function(e){return QZt.call(t,e)}))}:GZt;wn0.exports=VZt});var xn0=D((t7a,Tn0)=>{u();p();var YZt=jR(),$Zt=qj();function JZt(t,e){return YZt(t,$Zt(t),e)}Tn0.exports=JZt});var Vce=D((r7a,En0)=>{u();p();function XZt(t,e){for(var n=-1,a=e.length,r=t.length;++n{u();p();var ZZt=Gce(),een=ZZt(Object.getPrototypeOf,Object);_n0.exports=een});var $ce=D((d7a,An0)=>{u();p();var ten=Vce(),nen=Yce(),aen=qj(),ren=Qce(),fen=Object.getOwnPropertySymbols,ien=fen?function(t){for(var e=[];t;)ten(e,aen(t)),t=nen(t);return e}:ren;An0.exports=ien});var In0=D((p7a,Cn0)=>{u();p();var sen=jR(),oen=$ce();function cen(t,e){return sen(t,oen(t),e)}Cn0.exports=cen});var Jce=D((m7a,kn0)=>{u();p();var den=Vce(),len=Nj();function uen(t,e,n){var a=e(t);return len(t)?a:den(a,n(t))}kn0.exports=uen});var Rn0=D((v7a,Sn0)=>{u();p();var pen=Jce(),hen=qj(),ben=zj();function men(t){return pen(t,ben,hen)}Sn0.exports=men});var Bn0=D((x7a,Mn0)=>{u();p();var yen=Jce(),gen=$ce(),ven=Wj();function wen(t){return yen(t,ven,gen)}Mn0.exports=wen});var Pn0=D((A7a,Dn0)=>{u();p();var Ten=jb(),xen=kl(),Een=Ten(xen,"DataView");Dn0.exports=Een});var Fn0=D((k7a,Ln0)=>{u();p();var _en=jb(),Aen=kl(),Cen=_en(Aen,"Promise");Ln0.exports=Cen});var On0=D((M7a,Nn0)=>{u();p();var Ien=jb(),ken=kl(),Sen=Ien(ken,"Set");Nn0.exports=Sen});var Hn0=D((P7a,Un0)=>{u();p();var Ren=jb(),Men=kl(),Ben=Ren(Men,"WeakMap");Un0.exports=Ben});var jj=D((N7a,Qn0)=>{u();p();var Xce=Pn0(),Zce=Fj(),e6e=Fn0(),t6e=On0(),n6e=Hn0(),Kn0=zR(),$x=Oce(),zn0="[object Map]",Den="[object Object]",Wn0="[object Promise]",qn0="[object Set]",jn0="[object WeakMap]",Gn0="[object DataView]",Pen=$x(Xce),Len=$x(Zce),Fen=$x(e6e),Nen=$x(t6e),Oen=$x(n6e),f9=Kn0;(Xce&&f9(new Xce(new ArrayBuffer(1)))!=Gn0||Zce&&f9(new Zce)!=zn0||e6e&&f9(e6e.resolve())!=Wn0||t6e&&f9(new t6e)!=qn0||n6e&&f9(new n6e)!=jn0)&&(f9=function(t){var e=Kn0(t),n=e==Den?t.constructor:void 0,a=n?$x(n):"";if(a)switch(a){case Pen:return Gn0;case Len:return zn0;case Fen:return Wn0;case Nen:return qn0;case Oen:return jn0}return e});Qn0.exports=f9});var Yn0=D((H7a,Vn0)=>{u();p();var Uen=Object.prototype,Hen=Uen.hasOwnProperty;function zen(t){var e=t.length,n=new t.constructor(e);return e&&typeof t[0]=="string"&&Hen.call(t,"index")&&(n.index=t.index,n.input=t.input),n}Vn0.exports=zen});var Jn0=D((q7a,$n0)=>{u();p();var Wen=kl(),qen=Wen.Uint8Array;$n0.exports=qen});var Gj=D((K7a,Zn0)=>{u();p();var Xn0=Jn0();function jen(t){var e=new t.constructor(t.byteLength);return new Xn0(e).set(new Xn0(t)),e}Zn0.exports=jen});var ta0=D((Y7a,ea0)=>{u();p();var Gen=Gj();function Ken(t,e){var n=e?Gen(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}ea0.exports=Ken});var aa0=D((X7a,na0)=>{u();p();var Qen=/\w*$/;function Ven(t){var e=new t.constructor(t.source,Qen.exec(t));return e.lastIndex=t.lastIndex,e}na0.exports=Ven});var oa0=D((t9a,sa0)=>{u();p();var ra0=Lj(),fa0=ra0?ra0.prototype:void 0,ia0=fa0?fa0.valueOf:void 0;function Yen(t){return ia0?Object(ia0.call(t)):{}}sa0.exports=Yen});var da0=D((r9a,ca0)=>{u();p();var $en=Gj();function Jen(t,e){var n=e?$en(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}ca0.exports=Jen});var ua0=D((s9a,la0)=>{u();p();var Xen=Gj(),Zen=ta0(),e0n=aa0(),t0n=oa0(),n0n=da0(),a0n="[object Boolean]",r0n="[object Date]",f0n="[object Map]",i0n="[object Number]",s0n="[object RegExp]",o0n="[object Set]",c0n="[object String]",d0n="[object Symbol]",l0n="[object ArrayBuffer]",u0n="[object DataView]",p0n="[object Float32Array]",h0n="[object Float64Array]",b0n="[object Int8Array]",m0n="[object Int16Array]",y0n="[object Int32Array]",g0n="[object Uint8Array]",v0n="[object Uint8ClampedArray]",w0n="[object Uint16Array]",T0n="[object Uint32Array]";function x0n(t,e,n){var a=t.constructor;switch(e){case l0n:return Xen(t);case a0n:case r0n:return new a(+t);case u0n:return Zen(t,n);case p0n:case h0n:case b0n:case m0n:case y0n:case g0n:case v0n:case w0n:case T0n:return n0n(t,n);case f0n:return new a;case i0n:case c0n:return new a(t);case s0n:return e0n(t);case o0n:return new a;case d0n:return t0n(t)}}la0.exports=x0n});var ba0=D((d9a,ha0)=>{u();p();var E0n=Wx(),pa0=Object.create,_0n=function(){function t(){}return function(e){if(!E0n(e))return{};if(pa0)return pa0(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();ha0.exports=_0n});var ya0=D((p9a,ma0)=>{u();p();var A0n=ba0(),C0n=Yce(),I0n=Hj();function k0n(t){return typeof t.constructor=="function"&&!I0n(t)?A0n(C0n(t)):{}}ma0.exports=k0n});var va0=D((m9a,ga0)=>{u();p();var S0n=jj(),R0n=Kx(),M0n="[object Map]";function B0n(t){return R0n(t)&&S0n(t)==M0n}ga0.exports=B0n});var Ea0=D((v9a,xa0)=>{u();p();var D0n=va0(),P0n=Oj(),wa0=Uj(),Ta0=wa0&&wa0.isMap,L0n=Ta0?P0n(Ta0):D0n;xa0.exports=L0n});var Aa0=D((x9a,_a0)=>{u();p();var F0n=jj(),N0n=Kx(),O0n="[object Set]";function U0n(t){return N0n(t)&&F0n(t)==O0n}_a0.exports=U0n});var Sa0=D((A9a,ka0)=>{u();p();var H0n=Aa0(),z0n=Oj(),Ca0=Uj(),Ia0=Ca0&&Ca0.isSet,W0n=Ia0?z0n(Ia0):H0n;ka0.exports=W0n});var Pa0=D((k9a,Da0)=>{u();p();var q0n=dt0(),j0n=ut0(),G0n=Hce(),K0n=tn0(),Q0n=on0(),V0n=pn0(),Y0n=bn0(),$0n=xn0(),J0n=In0(),X0n=Rn0(),Z0n=Bn0(),etn=jj(),ttn=Yn0(),ntn=ua0(),atn=ya0(),rtn=Nj(),ftn=zce(),itn=Ea0(),stn=Wx(),otn=Sa0(),ctn=zj(),dtn=Wj(),ltn=1,utn=2,ptn=4,Ra0="[object Arguments]",htn="[object Array]",btn="[object Boolean]",mtn="[object Date]",ytn="[object Error]",Ma0="[object Function]",gtn="[object GeneratorFunction]",vtn="[object Map]",wtn="[object Number]",Ba0="[object Object]",Ttn="[object RegExp]",xtn="[object Set]",Etn="[object String]",_tn="[object Symbol]",Atn="[object WeakMap]",Ctn="[object ArrayBuffer]",Itn="[object DataView]",ktn="[object Float32Array]",Stn="[object Float64Array]",Rtn="[object Int8Array]",Mtn="[object Int16Array]",Btn="[object Int32Array]",Dtn="[object Uint8Array]",Ptn="[object Uint8ClampedArray]",Ltn="[object Uint16Array]",Ftn="[object Uint32Array]",Wr={};Wr[Ra0]=Wr[htn]=Wr[Ctn]=Wr[Itn]=Wr[btn]=Wr[mtn]=Wr[ktn]=Wr[Stn]=Wr[Rtn]=Wr[Mtn]=Wr[Btn]=Wr[vtn]=Wr[wtn]=Wr[Ba0]=Wr[Ttn]=Wr[xtn]=Wr[Etn]=Wr[_tn]=Wr[Dtn]=Wr[Ptn]=Wr[Ltn]=Wr[Ftn]=!0;Wr[ytn]=Wr[Ma0]=Wr[Atn]=!1;function Kj(t,e,n,a,r,f){var i,s=e<n,o=e&utn,c=e&ptn;if(n&&(i=r?n(t,a,r,f):n(t)),i!==void 0)return i;if(!stn(t))return t;var d=rtn(t);if(d){if(i=ttn(t),!s)return Y0n(t,i)}else{var l=etn(t),h=l==Ma0||l==gtn;if(ftn(t))return V0n(t,s);if(l==Ba0||l==Ra0||h&&!r){if(i=o||h?{}:atn(t),!s)return o?J0n(t,Q0n(i,t)):$0n(t,K0n(i,t))}else{if(!Wr[l])return r?t:{};i=ntn(t,l,s)}}f||(f=new q0n);var y=f.get(t);if(y)return y;f.set(t,i),otn(t)?t.forEach(function(O){i.add(Kj(O,e,n,O,t,f))}):itn(t)&&t.forEach(function(O,F){i.set(F,Kj(O,e,n,F,t,f))});var v=c?o?Z0n:X0n:o?dtn:ctn,S=d?void 0:v(t);return j0n(S||t,function(O,F){S&&(F=O,O=t[F]),G0n(i,F,Kj(O,e,n,F,t,f))}),i}Da0.exports=Kj});var Fa0=D((M9a,La0)=>{u();p();var Ntn=Pa0(),Otn=1,Utn=4;function Htn(t){return Ntn(t,Otn|Utn)}La0.exports=Htn});var Ha0=D(qr=>{"use strict";u();p();var ztn=qr&&qr.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(qr,"__esModule",{value:!0});qr.asL2Provider=qr.isL2Provider=qr.estimateTotalGasCost=qr.estimateL2GasCost=qr.estimateL1GasCost=qr.estimateL1Gas=qr.getL1GasPrice=void 0;var Oa0=P2(),a6e=Xe(),Na0=xx(),Wtn=ztn(Fa0()),qtn=Qoe(),Q8=Ub(),Ua0=async(t,e)=>e.nonce!==void 0?(0,Q8.toNumber)(e.nonce):e.from!==void 0?(0,Q8.toProvider)(t).getTransactionCount(e.from):4294967295,r6e=t=>new a6e.Contract(Na0.predeploys.OVM_GasPriceOracle,(0,Na0.getContractInterface)("OVM_GasPriceOracle"),(0,Q8.toProvider)(t)),jtn=async t=>r6e(t).l1BaseFee();qr.getL1GasPrice=jtn;var Gtn=async(t,e)=>r6e(t).getL1GasUsed((0,Oa0.serialize)({to:e.to,gasLimit:e.gasLimit,gasPrice:e.gasPrice,maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas,data:e.data,value:e.value,chainId:e.chainId,type:e.type,accessList:e.accessList,nonce:e.nonce?a6e.BigNumber.from(e.nonce).toNumber():await Ua0(t,e)}));qr.estimateL1Gas=Gtn;var Ktn=async(t,e)=>r6e(t).getL1Fee((0,Oa0.serialize)({to:e.to,gasLimit:e.gasLimit,gasPrice:e.gasPrice,maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas,data:e.data,value:e.value,chainId:e.chainId,type:e.type,accessList:e.accessList,nonce:e.nonce?a6e.BigNumber.from(e.nonce).toNumber():await Ua0(t,e)}));qr.estimateL1GasCost=Ktn;var Qtn=async(t,e)=>{let n=(0,Q8.toProvider)(t),a=await n.getGasPrice(),r=await n.estimateGas(e);return a.mul(r)};qr.estimateL2GasCost=Qtn;var Vtn=async(t,e)=>{let n=await(0,qr.estimateL1GasCost)(t,e),a=await(0,qr.estimateL2GasCost)(t,e);return n.add(a)};qr.estimateTotalGasCost=Vtn;var Ytn=t=>!!t._isL2Provider;qr.isL2Provider=Ytn;var $tn=t=>{if((0,qr.isL2Provider)(t))return t;let e=(0,Wtn.default)(t),n=e.formatter;(0,qtn.assert)(n,"provider.formatter must be defined");let a=n.block.bind(n);n.block=s=>{let o=a(s);return o.stateRoot=s.stateRoot,o};let r=n.blockWithTransactions.bind(n);n.blockWithTransactions=s=>{let o=r(s);return o.stateRoot=s.stateRoot,o.transactions=o.transactions.map((c,d)=>{let l=s.transactions[d];return c.l1BlockNumber=l.l1BlockNumber?(0,Q8.toNumber)(l.l1BlockNumber):l.l1BlockNumber,c.l1Timestamp=l.l1Timestamp?(0,Q8.toNumber)(l.l1Timestamp):l.l1Timestamp,c.l1TxOrigin=l.l1TxOrigin,c.queueOrigin=l.queueOrigin,c.rawTransaction=l.rawTransaction,c}),o};let f=n.transactionResponse.bind(n);n.transactionResponse=s=>{let o=f(s);return o.txType=s.txType,o.queueOrigin=s.queueOrigin,o.rawTransaction=s.rawTransaction,o.l1TxOrigin=s.l1TxOrigin,o.l1BlockNumber=s.l1BlockNumber?parseInt(s.l1BlockNumber,16):s.l1BlockNumbers,o};let i=n.receipt.bind(n);return n.receipt=s=>{let o=i(s);return o.l1GasPrice=(0,Q8.toBigNumber)(s.l1GasPrice),o.l1GasUsed=(0,Q8.toBigNumber)(s.l1GasUsed),o.l1Fee=(0,Q8.toBigNumber)(s.l1Fee),o.l1FeeScalar=parseFloat(s.l1FeeScalar),o},e.getL1GasPrice=async()=>(0,qr.getL1GasPrice)(e),e.estimateL1Gas=async s=>(0,qr.estimateL1Gas)(e,s),e.estimateL1GasCost=async s=>(0,qr.estimateL1GasCost)(e,s),e.estimateL2GasCost=async s=>(0,qr.estimateL2GasCost)(e,s),e.estimateTotalGasCost=async s=>(0,qr.estimateTotalGasCost)(e,s),e._isL2Provider=!0,e};qr.asL2Provider=$tn});var za0=D(Sl=>{"use strict";u();p();var Jtn=Sl&&Sl.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),YR=Sl&&Sl.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Jtn(e,t,n)};Object.defineProperty(Sl,"__esModule",{value:!0});YR(wx(),Sl);YR(Ub(),Sl);YR(Ne0(),Sl);YR(Bq(),Sl);YR(Ha0(),Sl)});async function Rl(t){t.originalProvider&&(t=t.originalProvider);let e=await Vj(t);return e.maxFeePerGas&&e.maxPriorityFeePerGas?{maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas}:{gasPrice:await Jx(t)}}async function Vj(t){let e=null,n=null,[{chainId:a},r,f]=await Promise.all([t.getNetwork(),t.getBlock("latest"),t.send("eth_maxPriorityFeePerGas",[]).catch(()=>null)]),i=r&&r.baseFeePerGas?r.baseFeePerGas:lt.utils.parseUnits("100","wei");if(a===Ose.chainId||a===Use.chainId)return{maxFeePerGas:null,maxPriorityFeePerGas:null,baseFee:null};if(a===EW.chainId||a===H7.chainId)n=await Wa0(a);else if(f)n=lt.BigNumber.from(f);else if(n=(await t.getFeeData()).maxPriorityFeePerGas,!n)return{maxFeePerGas:null,maxPriorityFeePerGas:null,baseFee:null};return n=Xtn(n),e=i.mul(2).add(n),{maxFeePerGas:e,maxPriorityFeePerGas:n,baseFee:i}}function Xtn(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:10,n=t.div(100).mul(e);return t.add(n)}async function Jx(t){let e=await t.getGasPrice(),n=lt.utils.parseUnits("300","gwei"),a=e.div(100).mul(10),r=e.add(a);return r.gt(n)?n:r}async function JR(t,e){let n=(await t.getNetwork()).chainId,a=lt.BigNumber.from(0);if(Ztn(n)){let{asL2Provider:s}=await Promise.resolve().then(()=>Ee(za0()));a=await s(t).estimateL1GasCost(e)}let r=e.gasLimit||await t.estimateGas(e),f=await Jx(t);return lt.BigNumber.from(r).mul(f).add(a)}function Ztn(t){return t===TW.chainId||t===AW.chainId||t===xW.chainId||t===_W.chainId||t===zse.chainId||t===Wse.chainId||t===KS.chainId||t===QS.chainId}function enn(t){switch(t){case E0.Polygon:return"https://gasstation.polygon.technology/v2";case E0.Mumbai:return"https://gasstation-testnet.polygon.technology/v2"}}function ann(t){switch(t){case E0.Polygon:return tnn;case E0.Mumbai:return nnn}}async function Wa0(t){let e=enn(t);try{let a=(await(await fetch(e)).json()).fast.maxPriorityFee;if(a>0){let r=parseFloat(a).toFixed(9);return lt.utils.parseUnits(r,"gwei")}}catch{}return ann(t)}function jr(t){async function e(){return(await t(...arguments)).execute()}return e.prepare=t,e}function me(t){async function e(){return(await t(...arguments)).execute()}return e.prepare=t,e}async function rnn(t,e,n,a,r){return r&&"biconomy"in r?fnn(t,e,n,r):r&&"openzeppelin"in r?inn(t,e,n,a,r):qa0(t,e,n,a,r)}async function qa0(t,e,n,a,r){d0(r&&"engine"in r,"calling engine gasless transaction without engine config in the SDK options");let f=await snn(t,e,n,a,r),s=await(await fetch(r.engine.relayerUrl,{...f,headers:{"Content-Type":"application/json"}})).json();if(s.error)throw new Error(s.error?.message||JSON.stringify(s.error));let o=s.result.queueId,c=r.engine.relayerUrl.split("/relayer/")[0],d=Date.now();for(;;){let h=await(await fetch(`${c}/transaction/status/${o}`)).json();if(h.result.transactionHash)return h.result.transactionHash;if(Date.now()-d>30*1e3)throw new Error("timeout");await new Promise(y=>setTimeout(y,2e3))}}async function fnn(t,e,n,a){let r=await cnn(t,e,n,a),f=await fetch("https://api.biconomy.io/api/v2/meta-tx/native",r);if(f.ok){let i=await f.json();if(!i.txHash)throw new Error(`relay transaction failed: ${i.log}`);return i.txHash}throw new Error(`relay transaction failed with status: ${f.status} (${f.statusText})`)}async function inn(t,e,n,a,r){d0(r&&"openzeppelin"in r,"calling openzeppelin gasless transaction without openzeppelin config in the SDK options");let f=await onn(t,e,n,a,r),i=await fetch(r.openzeppelin.relayerUrl,f);if(i.ok){let s=await i.json();if(!s.result)throw new Error(`Relay transaction failed: ${s.message}`);return JSON.parse(s.result).txHash}throw new Error(`relay transaction failed with status: ${i.status} (${i.statusText})`)}async function snn(t,e,n,a,r){d0(r&&"engine"in r,"calling engine gasless transaction without openzeppelin config in the SDK options");try{let f=await Sf(t.to,n,a),i=(await n.getNetwork()).chainId,s=await d9(t.to,f.abi,n,{},a),o=new ut(e,t.to,s,{},a);if(s.find(c=>c.name==="executeMetaTransaction")){let d={name:await o.call("name",[]),version:"1",salt:"0x"+i.toString(16).padStart(64,"0"),verifyingContract:t.to},l={MetaTransaction:[{name:"nonce",type:"uint256"},{name:"from",type:"address"},{name:"functionSignature",type:"bytes"}]},y={nonce:await o.call("getNonce",[t.from]),from:t.from,functionSignature:t.data},{signature:v}=await qc(e,d,l,y);return{method:"POST",body:JSON.stringify({type:"execute-meta-transaction",request:{from:t.from,to:t.to,data:t.data},signature:v})}}}catch{}if(t.functionName==="approve"&&t.functionArgs.length===2){let f=t.functionArgs[0],i=t.functionArgs[1],{message:s,signature:o}=await tM(e,t.to,t.from,f,i,r.engine.domainSeparatorVersion),c={to:t.to,owner:s.owner,spender:s.spender,value:lt.BigNumber.from(s.value).toString(),nonce:lt.BigNumber.from(s.nonce).toString(),deadline:lt.BigNumber.from(s.deadline).toString()};return{method:"POST",body:JSON.stringify({type:"permit",request:c,signature:o})}}else{let f=r.engine.relayerForwarderAddress||du[t.chainId]?.openzeppelinForwarder||await i9(n,a),i=(await Promise.resolve().then(()=>Ee(YS()))).default,s=new lt.Contract(f,i,n),o=await o9(s,"getNonce",[t.from]),c,d,l;r.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:f},d={ForwardRequest:eM},l={from:t.from,to:t.to,value:lt.BigNumber.from(0).toString(),gas:lt.BigNumber.from(t.gasLimit).toString(),nonce:lt.BigNumber.from(o).toString(),data:t.data,chainid:lt.BigNumber.from(t.chainId).toString()}):(c={name:r.engine.domainName,version:r.engine.domainVersion,chainId:t.chainId,verifyingContract:f},d={ForwardRequest:ZR},l={from:t.from,to:t.to,value:lt.BigNumber.from(0).toString(),gas:lt.BigNumber.from(t.gasLimit).toString(),nonce:lt.BigNumber.from(o).toString(),data:t.data});let{signature:h}=await qc(e,c,d,l);return{method:"POST",body:JSON.stringify({type:"forward",request:l,signature:h,forwarderAddress:f})}}}async function onn(t,e,n,a,r){d0(r&&"openzeppelin"in r,"calling openzeppelin gasless transaction without openzeppelin config in the SDK options"),d0(e,"provider is not set"),d0(n,"provider is not set");let f=r.openzeppelin.relayerForwarderAddress||(r.openzeppelin.useEOAForwarder?du[t.chainId]?.openzeppelinForwarderEOA||await $j(n,a):du[t.chainId]?.openzeppelinForwarder||await i9(n,a)),i=(await Promise.resolve().then(()=>Ee(YS()))).default,s=new lt.Contract(f,i,n),o=await o9(s,"getNonce",[t.from]),c,d,l;r.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:f},d={ForwardRequest:eM},l={from:t.from,to:t.to,value:lt.BigNumber.from(0).toString(),gas:lt.BigNumber.from(t.gasLimit).toString(),nonce:lt.BigNumber.from(o).toString(),data:t.data,chainid:lt.BigNumber.from(t.chainId).toString()}):(c={name:r.openzeppelin.domainName,version:r.openzeppelin.domainVersion,chainId:t.chainId,verifyingContract:f},d={ForwardRequest:ZR},l={from:t.from,to:t.to,value:lt.BigNumber.from(0).toString(),gas:lt.BigNumber.from(t.gasLimit).toString(),nonce:lt.BigNumber.from(o).toString(),data:t.data});let h;if(t.functionName==="approve"&&t.functionArgs.length===2){let v=t.functionArgs[0],S=t.functionArgs[1],{message:O,signature:F}=await tM(e,t.to,t.from,v,S,r.openzeppelin.domainSeparatorVersion),{r:z,s:W,v:j}=lt.utils.splitSignature(F);l={to:t.to,owner:O.owner,spender:O.spender,value:lt.BigNumber.from(O.value).toString(),nonce:lt.BigNumber.from(O.nonce).toString(),deadline:lt.BigNumber.from(O.deadline).toString(),r:z,s:W,v:j},h=F}else{let{signature:v}=await qc(e,c,d,l);h=v}let y="forward";return l?.owner&&(y="permit"),{method:"POST",body:JSON.stringify({request:l,signature:h,forwarderAddress:f,type:y})}}async function cnn(t,e,n,a){d0(a&&"biconomy"in a,"calling biconomySendFunction without biconomy"),d0(e&&n,"signer and provider must be set");let r=new lt.Contract(c9(t.chainId,"biconomyForwarder"),f6e,n),f=0,i=await o9(r,"getNonce",[t.from,f]),s={from:t.from,to:t.to,token:lt.constants.AddressZero,txGas:t.gasLimit.toNumber(),tokenGasPrice:"0",batchId:f,batchNonce:i.toNumber(),deadline:Math.floor(Date.now()/1e3+(a&&"biconomy"in a&&a.biconomy?.deadlineSeconds||3600)),data:t.data},o=lt.utils.arrayify(lt.utils.solidityKeccak256(["address","address","address","uint256","uint256","uint256","uint256","uint256","bytes32"],[s.from,s.to,s.token,s.txGas,s.tokenGasPrice,s.batchId,s.batchNonce,s.deadline,lt.utils.keccak256(s.data)])),c=await e.signMessage(o);return{method:"POST",body:JSON.stringify({from:t.from,apiId:a.biconomy.apiId,params:[s,c],to:t.to,gasLimit:t.gasLimit.toHexString()}),headers:{"x-api-key":a.biconomy.apiKey,"Content-Type":"application/json;charset=utf-8"}}}var lt,tnn,nnn,Qj,Me,$R,Da=ce(()=>{"use strict";u();p();ln();lt=Ee(Xe());Nc();vx();ir();tnn=lt.utils.parseUnits("31","gwei"),nnn=lt.utils.parseUnits("1","gwei");Qj=class{constructor(e){this.args=e.args,this.overrides=e.overrides||{},this.provider=e.provider,this.signer=e.signer,this.storage=e.storage,this.signer.provider||(this.signer=this.signer.connect(this.provider))}get getSigner(){return this.signer}get getProvider(){return this.provider}get getStorage(){return this.storage}getArgs(){return this.args}getOverrides(){return this.overrides}getValue(){return this.overrides.value||0}setArgs(e){return this.args=e,this}setOverrides(e){return this.overrides=e,this}updateOverrides(e){return this.overrides={...this.overrides,...e},this}setValue(e){return this.updateOverrides({value:e}),this}setGasLimit(e){return this.updateOverrides({gasLimit:e}),this}setGasPrice(e){return this.updateOverrides({gasPrice:e}),this}setNonce(e){return this.updateOverrides({nonce:e}),this}setMaxFeePerGas(e){return this.updateOverrides({maxFeePerGas:e}),this}setMaxPriorityFeePerGas(e){return this.updateOverrides({maxPriorityFeePerGas:e}),this}setType(e){return this.updateOverrides({type:e}),this}setAccessList(e){return this.updateOverrides({accessList:e}),this}setCustomData(e){return this.updateOverrides({customData:e}),this}setCcipReadEnabled(e){return this.updateOverrides({ccipReadEnabled:e}),this}setGasLimitMultiple(e){lt.BigNumber.isBigNumber(this.overrides.gasLimit)?this.overrides.gasLimit=lt.BigNumber.from(Math.floor(lt.BigNumber.from(this.overrides.gasLimit).toNumber()*e)):this.gasMultiple=e}async getGasPrice(){return Jx(this.provider)}async getSignerAddress(){return this.signer.getAddress()}async getGasOverrides(){return q7()?{}:Rl(this.provider)}},Me=class t extends Qj{static fromContractWrapper(e){let n=e.contractWrapper.getSigner();if(!n)throw new Error("Cannot create a transaction without a signer. Please ensure that you have a connected signer.");let a={...e,contract:e.contractWrapper.writeContract,provider:e.contractWrapper.getProvider(),signer:n,gasless:e.contractWrapper.options.gasless,storage:e.contractWrapper.storage};return new t(a)}static async fromContractInfo(e){let n=e.storage,a=e.contractAbi;if(!a)try{a=(await Sf(e.contractAddress,e.provider,n)).abi}catch{throw new Error(`Could resolve contract metadata for address ${e.contractAddress}. Please pass the contract ABI manually with the 'contractAbi' option.`)}let r=new lt.Contract(e.contractAddress,a,e.provider),f={...e,storage:n,contract:r};return new t(f)}constructor(e){super({args:e.args,overrides:e.overrides,provider:e.provider,signer:e.signer,storage:e.storage}),this.method=e.method,this.gaslessOptions=e.gasless,this.parse=e.parse,this.contract=e.contract.connect(this.signer),this.storage=e.storage}getTarget(){return this.contract.address}getMethod(){return this.method}getGaslessOptions(){return this.gaslessOptions}setGaslessOptions(e){return this.gaslessOptions=e,this}setParse(e){return this.parse=e,this}encode(){return this.contract.interface.encodeFunctionData(this.method,this.args)}async sign(){let e=await this.populateTransaction();return await this.contract.signer.signTransaction(e)}async populateTransaction(){let n={...await this.getGasOverrides(),...this.overrides};n.gasLimit||(n.gasLimit=await this.estimateGasLimit());let a=await this.contract.populateTransaction[this.method](...this.args,n);return await this.contract.signer.populateTransaction(a)}async simulate(){if(!this.contract.callStatic[this.method])throw this.functionError();try{return await this.contract.callStatic[this.method](...this.args,...this.overrides.value?[{value:this.overrides.value}]:[])}catch(e){throw await this.transactionError(e)}}async estimateGasLimit(){if(!this.contract.estimateGas[this.method])throw this.functionError();try{let e=await this.contract.estimateGas[this.method](...this.args,this.overrides);return this.gasMultiple?lt.BigNumber.from(Math.floor(lt.BigNumber.from(e).toNumber()*this.gasMultiple)):e}catch(e){throw await this.simulate(),await this.transactionError(e)}}async estimateGasCost(){let e=await JR(this.provider,await this.populateTransaction());return{ether:lt.utils.formatEther(e),wei:e}}async send(){if(!this.contract.functions[this.method])throw this.functionError();if(this.gaslessOptions&&("openzeppelin"in this.gaslessOptions||"biconomy"in this.gaslessOptions||"engine"in this.gaslessOptions))return this.sendGasless();let n={...await this.getGasOverrides(),...this.overrides};n.gasLimit||(n.gasLimit=await this.estimateGasLimit());try{return await this.contract.functions[this.method](...this.args,n)}catch(a){throw await this.transactionError(a)}}async execute(){let e=await this.send(),n;try{n=await e.wait()}catch(a){throw await this.simulate(),await this.transactionError(a)}return this.parse?this.parse(n):{receipt:n}}async sendGasless(){let e=await this.prepareGasless(),n=await rnn(e,this.signer,this.provider,this.storage,this.gaslessOptions),a,r=1;for(;!a;){try{a=await this.provider.getTransaction(n)}catch{}if(a||(await new Promise(f=>setTimeout(f,Math.min(r*1e3,1e4))),r++),r>20)throw new Error(`Unable to retrieve transaction with hash ${n}`)}return a}async prepareGasless(){d0(this.gaslessOptions&&("openzeppelin"in this.gaslessOptions||"biconomy"in this.gaslessOptions||"engine"in this.gaslessOptions),"No gasless options set on this transaction!");let e=await this.getSignerAddress(),n=[...this.args];this.method==="multicall"&&Array.isArray(this.args[0])&&n[0].length>0&&(n[0]=n[0].map(c=>lt.utils.solidityPack(["bytes","address"],[c,e]))),d0(this.signer,"Cannot execute gasless transaction without valid signer");let[{chainId:a},r]=await Promise.all([this.provider.getNetwork(),this.overrides.from||e]),f=this.contract.address,i=this.overrides?.value||0;if(lt.BigNumber.from(i).gt(0))throw new Error("Cannot send native token value with gasless transaction");let s=this.contract.interface.encodeFunctionData(this.method,n),o=lt.BigNumber.from(0);try{o=(await this.contract.estimateGas[this.method](...n)).mul(2)}catch{}return o.lt(1e5)&&(o=lt.BigNumber.from(5e5)),this.overrides.gasLimit&<.BigNumber.from(this.overrides.gasLimit).gt(o)&&(o=lt.BigNumber.from(this.overrides.gasLimit)),{from:r,to:f,data:s,chainId:a,gasLimit:o,functionName:this.method,functionArgs:n,callOverrides:this.overrides}}functionError(){return new Error(`Contract "${this.contract.address}" does not have function "${this.method}"`)}async transactionError(e){let n=this.provider,[a,r]=await Promise.all([n.getNetwork(),this.overrides.from||this.getSignerAddress()]),f=this.contract.address,i=this.encode(),s=lt.BigNumber.from(this.overrides.value||0),o=n.connection?.url,c=this.contract.interface.getFunction(this.method),d=this.args.map(O=>JSON.stringify(O).length<=80?JSON.stringify(O):JSON.stringify(O,void 0,2)),l=d.join(", ").length<=80?d.join(", "):` +`));var s=new Lb({actual:t,expected:e,message:n,operator:r,stackStartFn:a});throw s.generatedMessage=i,s}}zr.match=function t(e,n,a){tJe(e,n,a,t,"match")};zr.doesNotMatch=function t(e,n,a){tJe(e,n,a,t,"doesNotMatch")};function nJe(){for(var t=arguments.length,e=new Array(t),n=0;n{"use strict";u();p();var Qjt=Bx&&Bx.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Bx,"__esModule",{value:!0});Bx.setupProxyContract=void 0;var Cq=Qjt(X7()),xR=Xe(),{getAddress:Fb}=xR.utils,Vjt=async(t,e,{targetImplAddress:n,targetProxyOwnerAddress:a,postUpgradeCallCalldata:r})=>{let f=await t.connect(xR.ethers.constants.AddressZero).callStatic.admin(),i=await e.getAddress(),s=await t.connect(xR.ethers.constants.AddressZero).callStatic.implementation();if(console.log(`implementation currently set to ${s}`),Fb(s)!==Fb(n)){console.log("implementation not set to correct contract"),console.log(`Setting implementation to ${n}`),(0,Cq.default)(i===f,"the passed signer is not the admin, cannot update implementation");let d;r?(console.log("postUpgradeCallCalldata is provided. Using Proxy.upgradeAndCall()"),d=await t.connect(e).upgradeToAndCall(n,r)):(console.log("postUpgradeCallCalldata is not provided. Using Proxy.upgrade()"),d=await t.connect(e).upgradeTo(n));let l=await d.wait();console.log(`implementation set in ${l.transactionHash}`)}else console.log(`implementation already set correctly to ${n}`);if(console.log(`admin set to ${f}`),Fb(f)!==Fb(a)){console.log("detected admin is not set correctly"),console.log(`Setting admin to ${a}`),(0,Cq.default)(i===f,"proxyOwnerSigner is not the admin, cannot update admin");let l=await(await t.connect(e).changeAdmin(a)).wait();console.log(`admin set in ${l.transactionHash}`)}else console.log(`admin already set correctly to ${a}`);let o=await t.connect(xR.ethers.constants.AddressZero).callStatic.implementation(),c=await t.connect(xR.ethers.constants.AddressZero).callStatic.admin();(0,Cq.default)(Fb(c)===Fb(a),"Something went wrong - admin not set correctly after transaction"),(0,Cq.default)(Fb(o)===Fb(n),"Something went wrong - implementation not set correctly after transaction"),console.log(`Proxy at ${t.address} is set up with implementation: ${o} and admin: ${c}`)};Bx.setupProxyContract=Vjt});var W8=D(ed=>{"use strict";u();p();var Yjt=ed&&ed.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Dx=ed&&ed.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Yjt(e,t,n)};Object.defineProperty(ed,"__esModule",{value:!0});Dx(fq(),ed);Dx(QVe(),ed);Dx(dYe(),ed);Dx(uYe(),ed);Dx(mYe(),ed);Dx(rJe(),ed)});var ER=D(Px=>{"use strict";u();p();var V1e=Px&&Px.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Px,"__esModule",{value:!0});Px.StandardBridgeAdapter=void 0;var Nb=Xe(),G1e=xx(),Ob=W8(),$jt=V1e($oe()),Jjt=V1e(Joe()),K1e=V1e(Xoe()),fJe=wx(),r1=Ub(),Q1e=class{constructor(e){this.populateTransaction={approve:async(n,a,r,f)=>{if(!await this.supportsTokenPair(n,a))throw new Error("token pair not supported by bridge");return new Nb.Contract((0,r1.toAddress)(n),K1e.default.abi,this.messenger.l1Provider).populateTransaction.approve(this.l1Bridge.address,r,f?.overrides||{})},deposit:async(n,a,r,f)=>{if(!await this.supportsTokenPair(n,a))throw new Error("token pair not supported by bridge");return f?.recipient===void 0?this.l1Bridge.populateTransaction.depositERC20((0,r1.toAddress)(n),(0,r1.toAddress)(a),r,f?.l2GasLimit||2e5,"0x",f?.overrides||{}):this.l1Bridge.populateTransaction.depositERC20To((0,r1.toAddress)(n),(0,r1.toAddress)(a),(0,r1.toAddress)(f.recipient),r,f?.l2GasLimit||2e5,"0x",f?.overrides||{})},withdraw:async(n,a,r,f)=>{if(!await this.supportsTokenPair(n,a))throw new Error("token pair not supported by bridge");return f?.recipient===void 0?this.l2Bridge.populateTransaction.withdraw((0,r1.toAddress)(a),r,0,"0x",f?.overrides||{}):this.l2Bridge.populateTransaction.withdrawTo((0,r1.toAddress)(a),(0,r1.toAddress)(f.recipient),r,0,"0x",f?.overrides||{})}},this.estimateGas={approve:async(n,a,r,f)=>this.messenger.l1Provider.estimateGas(await this.populateTransaction.approve(n,a,r,f)),deposit:async(n,a,r,f)=>this.messenger.l1Provider.estimateGas(await this.populateTransaction.deposit(n,a,r,f)),withdraw:async(n,a,r,f)=>this.messenger.l2Provider.estimateGas(await this.populateTransaction.withdraw(n,a,r,f))},this.messenger=e.messenger,this.l1Bridge=new Nb.Contract((0,r1.toAddress)(e.l1Bridge),$jt.default.abi,this.messenger.l1Provider),this.l2Bridge=new Nb.Contract((0,r1.toAddress)(e.l2Bridge),Jjt.default.abi,this.messenger.l2Provider)}async getDepositsByAddress(e,n){return(await this.l1Bridge.queryFilter(this.l1Bridge.filters.ERC20DepositInitiated(void 0,void 0,e),n?.fromBlock,n?.toBlock)).filter(r=>!(0,Ob.hexStringEquals)(r.args.l1Token,Nb.ethers.constants.AddressZero)&&!(0,Ob.hexStringEquals)(r.args.l2Token,G1e.predeploys.OVM_ETH)).map(r=>({direction:fJe.MessageDirection.L1_TO_L2,from:r.args.from,to:r.args.to,l1Token:r.args.l1Token,l2Token:r.args.l2Token,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,f)=>f.blockNumber-r.blockNumber)}async getWithdrawalsByAddress(e,n){return(await this.l2Bridge.queryFilter(this.l2Bridge.filters.WithdrawalInitiated(void 0,void 0,e),n?.fromBlock,n?.toBlock)).filter(r=>!(0,Ob.hexStringEquals)(r.args.l1Token,Nb.ethers.constants.AddressZero)&&!(0,Ob.hexStringEquals)(r.args.l2Token,G1e.predeploys.OVM_ETH)).map(r=>({direction:fJe.MessageDirection.L2_TO_L1,from:r.args.from,to:r.args.to,l1Token:r.args.l1Token,l2Token:r.args.l2Token,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,f)=>f.blockNumber-r.blockNumber)}async supportsTokenPair(e,n){let a=new Nb.Contract((0,r1.toAddress)(n),K1e.default.abi,this.messenger.l2Provider);if((0,Ob.hexStringEquals)((0,r1.toAddress)(e),Nb.ethers.constants.AddressZero)||(0,Ob.hexStringEquals)((0,r1.toAddress)(n),G1e.predeploys.OVM_ETH))return!1;let r=await a.l1Token();if(!(0,Ob.hexStringEquals)(r,(0,r1.toAddress)(e)))return!1;let f=await a.l2Bridge();return!!(0,Ob.hexStringEquals)(f,this.l2Bridge.address)}async approval(e,n,a){if(!await this.supportsTokenPair(e,n))throw new Error("token pair not supported by bridge");return new Nb.Contract((0,r1.toAddress)(e),K1e.default.abi,this.messenger.l1Provider).allowance(await a.getAddress(),this.l1Bridge.address)}async approve(e,n,a,r,f){return r.sendTransaction(await this.populateTransaction.approve(e,n,a,f))}async deposit(e,n,a,r,f){return r.sendTransaction(await this.populateTransaction.deposit(e,n,a,f))}async withdraw(e,n,a,r,f){return r.sendTransaction(await this.populateTransaction.withdraw(e,n,a,f))}};Px.StandardBridgeAdapter=Q1e});var sJe=D(kq=>{"use strict";u();p();Object.defineProperty(kq,"__esModule",{value:!0});kq.ETHBridgeAdapter=void 0;var Y1e=Xe(),$1e=xx(),Iq=W8(),iJe=wx(),iu=Ub(),Xjt=ER(),J1e=class extends Xjt.StandardBridgeAdapter{constructor(){super(...arguments),this.populateTransaction={approve:async(e,n,a,r)=>{throw new Error("approvals not necessary for ETH bridge")},deposit:async(e,n,a,r)=>{if(!await this.supportsTokenPair(e,n))throw new Error("token pair not supported by bridge");return r?.recipient===void 0?this.l1Bridge.populateTransaction.depositETH(r?.l2GasLimit||2e5,"0x",Object.assign(Object.assign({},(0,iu.omit)(r?.overrides||{},"value")),{value:a})):this.l1Bridge.populateTransaction.depositETHTo((0,iu.toAddress)(r.recipient),r?.l2GasLimit||2e5,"0x",Object.assign(Object.assign({},(0,iu.omit)(r?.overrides||{},"value")),{value:a}))},withdraw:async(e,n,a,r)=>{if(!await this.supportsTokenPair(e,n))throw new Error("token pair not supported by bridge");return r?.recipient===void 0?this.l2Bridge.populateTransaction.withdraw((0,iu.toAddress)(n),a,0,"0x",Object.assign(Object.assign({},(0,iu.omit)(r?.overrides||{},"value")),{value:this.messenger.bedrock?a:0})):this.l2Bridge.populateTransaction.withdrawTo((0,iu.toAddress)(n),(0,iu.toAddress)(r.recipient),a,0,"0x",Object.assign(Object.assign({},(0,iu.omit)(r?.overrides||{},"value")),{value:this.messenger.bedrock?a:0}))}}}async approval(e,n,a){throw new Error("approval not necessary for ETH bridge")}async getDepositsByAddress(e,n){return(await this.l1Bridge.queryFilter(this.l1Bridge.filters.ETHDepositInitiated(e),n?.fromBlock,n?.toBlock)).map(r=>({direction:iJe.MessageDirection.L1_TO_L2,from:r.args.from,to:r.args.to,l1Token:Y1e.ethers.constants.AddressZero,l2Token:$1e.predeploys.OVM_ETH,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,f)=>f.blockNumber-r.blockNumber)}async getWithdrawalsByAddress(e,n){return(await this.l2Bridge.queryFilter(this.l2Bridge.filters.WithdrawalInitiated(void 0,void 0,e),n?.fromBlock,n?.toBlock)).filter(r=>(0,Iq.hexStringEquals)(r.args.l1Token,Y1e.ethers.constants.AddressZero)&&(0,Iq.hexStringEquals)(r.args.l2Token,$1e.predeploys.OVM_ETH)).map(r=>({direction:iJe.MessageDirection.L2_TO_L1,from:r.args.from,to:r.args.to,l1Token:r.args.l1Token,l2Token:r.args.l2Token,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,f)=>f.blockNumber-r.blockNumber)}async supportsTokenPair(e,n){return(0,Iq.hexStringEquals)((0,iu.toAddress)(e),Y1e.ethers.constants.AddressZero)&&(0,Iq.hexStringEquals)((0,iu.toAddress)(n),$1e.predeploys.OVM_ETH)}};kq.ETHBridgeAdapter=J1e});var dJe=D(Sq=>{"use strict";u();p();Object.defineProperty(Sq,"__esModule",{value:!0});Sq.DAIBridgeAdapter=void 0;var Zjt=Xe(),oJe=W8(),cJe=Ub(),eGt=ER(),X1e=class extends eGt.StandardBridgeAdapter{async supportsTokenPair(e,n){let a=new Zjt.Contract(this.l1Bridge.address,[{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],this.messenger.l1Provider),r=await a.l1Token();if(!(0,oJe.hexStringEquals)(r,(0,cJe.toAddress)(e)))return!1;let f=await a.l2Token();return!!(0,oJe.hexStringEquals)(f,(0,cJe.toAddress)(n))}};Sq.DAIBridgeAdapter=X1e});var hJe=D(Rq=>{"use strict";u();p();Object.defineProperty(Rq,"__esModule",{value:!0});Rq.ECOBridgeAdapter=void 0;var lJe=Xe(),uJe=W8(),pJe=Ub(),tGt=ER(),Z1e=class extends tGt.StandardBridgeAdapter{async supportsTokenPair(e,n){let a=new lJe.Contract(this.l1Bridge.address,[{inputs:[],name:"l1Eco",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],this.messenger.l1Provider),r=new lJe.Contract(this.l2Bridge.address,[{inputs:[],name:"l2Eco",outputs:[{internalType:"contract L2ECO",name:"",type:"address"}],stateMutability:"view",type:"function"}],this.messenger.l2Provider),[f,i]=await Promise.all([a.l1Eco(),r.l2Eco()]);return!(!(0,uJe.hexStringEquals)(f,(0,pJe.toAddress)(e))||!(0,uJe.hexStringEquals)(i,(0,pJe.toAddress)(n)))}};Rq.ECOBridgeAdapter=Z1e});var Bq=D(su=>{"use strict";u();p();var nGt=su&&su.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Mq=su&&su.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&nGt(e,t,n)};Object.defineProperty(su,"__esModule",{value:!0});Mq(ER(),su);Mq(sJe(),su);Mq(dJe(),su);Mq(hJe(),su)});var tce=D(Rr=>{"use strict";u();p();Object.defineProperty(Rr,"__esModule",{value:!0});Rr.BRIDGE_ADAPTER_DATA=Rr.CONTRACT_ADDRESSES=Rr.IGNORABLE_CONTRACTS=Rr.DEFAULT_L2_CONTRACT_ADDRESSES=Rr.CHAIN_BLOCK_TIMES=Rr.DEPOSIT_CONFIRMATION_BLOCKS=void 0;var Cl=W8(),_R=Xe(),bJe={mainnet:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed",goerli:"0x5b47E1A08Ea6d985D6649300584e6722Ec4B1383",sepolia:"0x16Fc5058F25648194471939df75CF27A2fdC48BC"},aGt={mainnet:"0xdfe97868233d1aa22e815a266982f2cf17685a27",goerli:"0xE6Dfba0953616Bacab0c9A8ecb3a9BBa77FC15c0",sepolia:"0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F"},rGt={mainnet:"0xdE1FCfB0851916CA5101820A69b13a4E276bd81F",goerli:"0xa6f73589243a6A7a9023b1Fa0651b1d89c177111",sepolia:"0x9bFE9c5609311DF1c011c47642253B78a4f33F4B"},fGt={mainnet:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1",goerli:"0x636Af16bf2f682dD3109e60102b8E1A089FedAa8",sepolia:"0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1"},iGt={mainnet:"0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1",goerli:"0x5086d1eEF304eb5284A0f6720f79403b4e9bE294",sepolia:"0x58Cc85b8D04EA49cC6DBd3CbFFd00B4B8D6cb3ef"},sGt={mainnet:_R.ethers.constants.AddressZero,goerli:_R.ethers.constants.AddressZero,sepolia:"0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1"},oGt={mainnet:"0xBe5dAb4A2e9cd0F27300dB4aB94BeE3A233AEB19",goerli:"0x9c945aC97Baf48cB784AbBB61399beB71aF7A378",sepolia:_R.ethers.constants.AddressZero},cGt={mainnet:"0x5E4e65926BA27467555EB562121fac00D24E9dD2",goerli:"0x607F755149cFEB3a14E1Dc3A4E2450Cde7dfb04D",sepolia:_R.ethers.constants.AddressZero},Aa=wx(),Lx=Bq();Rr.DEPOSIT_CONFIRMATION_BLOCKS={[Aa.L2ChainID.OPTIMISM]:50,[Aa.L2ChainID.OPTIMISM_GOERLI]:12,[Aa.L2ChainID.OPTIMISM_SEPOLIA]:12,[Aa.L2ChainID.OPTIMISM_HARDHAT_LOCAL]:2,[Aa.L2ChainID.OPTIMISM_HARDHAT_DEVNET]:2,[Aa.L2ChainID.OPTIMISM_BEDROCK_ALPHA_TESTNET]:12,[Aa.L2ChainID.BASE_GOERLI]:25,[Aa.L2ChainID.BASE_SEPOLIA]:25,[Aa.L2ChainID.BASE_MAINNET]:10,[Aa.L2ChainID.ZORA_GOERLI]:12,[Aa.L2ChainID.ZORA_MAINNET]:50,[Aa.L2ChainID.MODE_SEPOLIA]:25,[Aa.L2ChainID.MODE_MAINNET]:50};Rr.CHAIN_BLOCK_TIMES={[Aa.L1ChainID.MAINNET]:13,[Aa.L1ChainID.GOERLI]:15,[Aa.L1ChainID.SEPOLIA]:15,[Aa.L1ChainID.HARDHAT_LOCAL]:1,[Aa.L1ChainID.BEDROCK_LOCAL_DEVNET]:15};Rr.DEFAULT_L2_CONTRACT_ADDRESSES={L2CrossDomainMessenger:Cl.predeploys.L2CrossDomainMessenger,L2ToL1MessagePasser:Cl.predeploys.L2ToL1MessagePasser,L2StandardBridge:Cl.predeploys.L2StandardBridge,OVM_L1BlockNumber:Cl.predeploys.L1BlockNumber,OVM_L2ToL1MessagePasser:Cl.predeploys.L2ToL1MessagePasser,OVM_DeployerWhitelist:Cl.predeploys.DeployerWhitelist,OVM_ETH:Cl.predeploys.LegacyERC20ETH,OVM_GasPriceOracle:Cl.predeploys.GasPriceOracle,OVM_SequencerFeeVault:Cl.predeploys.SequencerFeeVault,WETH:Cl.predeploys.WETH9,BedrockMessagePasser:Cl.predeploys.L2ToL1MessagePasser};var ece=t=>({AddressManager:rGt[t],L1CrossDomainMessenger:iGt[t],L1StandardBridge:fGt[t],StateCommitmentChain:oGt[t],CanonicalTransactionChain:cGt[t],BondManager:_R.ethers.constants.AddressZero,OptimismPortal:bJe[t],L2OutputOracle:aGt[t],OptimismPortal2:bJe[t],DisputeGameFactory:sGt[t]});Rr.IGNORABLE_CONTRACTS=["OptimismPortal2","DisputeGameFactory"];Rr.CONTRACT_ADDRESSES={[Aa.L2ChainID.OPTIMISM]:{l1:ece("mainnet"),l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_GOERLI]:{l1:ece("goerli"),l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_SEPOLIA]:{l1:ece("sepolia"),l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_HARDHAT_LOCAL]:{l1:{AddressManager:"0x5FbDB2315678afecb367f032d93F642f64180aa3",L1CrossDomainMessenger:"0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",L1StandardBridge:"0x610178dA211FEF7D417bC0e6FeD39F05609AD788",StateCommitmentChain:"0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",CanonicalTransactionChain:"0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",BondManager:"0x5FC8d32690cc91D4c39d9d3abcBD16989F875707",OptimismPortal:"0x0000000000000000000000000000000000000000",L2OutputOracle:"0x0000000000000000000000000000000000000000",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_HARDHAT_DEVNET]:{l1:{AddressManager:"0x5FbDB2315678afecb367f032d93F642f64180aa3",L1CrossDomainMessenger:"0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",L1StandardBridge:"0x610178dA211FEF7D417bC0e6FeD39F05609AD788",StateCommitmentChain:"0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",CanonicalTransactionChain:"0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",BondManager:"0x5FC8d32690cc91D4c39d9d3abcBD16989F875707",OptimismPortal:"0x0000000000000000000000000000000000000000",L2OutputOracle:"0x0000000000000000000000000000000000000000",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_BEDROCK_ALPHA_TESTNET]:{l1:{AddressManager:"0xb4e08DcE1F323608229265c9d4125E22a4B9dbAF",L1CrossDomainMessenger:"0x838a6DC4E37CA45D4Ef05bb776bf05eEf50798De",L1StandardBridge:"0xFf94B6C486350aD92561Ba09bad3a59df764Da92",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0xA581Ca3353DB73115C4625FFC7aDF5dB379434A8",L2OutputOracle:"0x3A234299a14De50027eA65dCdf1c0DaC729e04A6",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.BASE_GOERLI]:{l1:{AddressManager:"0x4Cf6b56b14c6CFcB72A75611080514F94624c54e",L1CrossDomainMessenger:"0x8e5693140eA606bcEB98761d9beB1BC87383706D",L1StandardBridge:"0xfA6D8Ee5BE770F84FC001D098C4bD604Fe01284a",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0xe93c8cD0D409341205A592f8c4Ac1A5fe5585cfA",L2OutputOracle:"0x2A35891ff30313CcFa6CE88dcf3858bb075A2298",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.BASE_SEPOLIA]:{l1:{AddressManager:"0x709c2B8ef4A9feFc629A8a2C1AF424Dc5BD6ad1B",L1CrossDomainMessenger:"0xC34855F4De64F1840e5686e64278da901e261f20",L1StandardBridge:"0xfd0Bf71F60660E2f608ed56e1659C450eB113120",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x49f53e41452C74589E85cA1677426Ba426459e85",L2OutputOracle:"0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.BASE_MAINNET]:{l1:{AddressManager:"0x8EfB6B5c4767B09Dc9AA6Af4eAA89F749522BaE2",L1CrossDomainMessenger:"0x866E82a600A1414e583f7F13623F1aC5d58b0Afa",L1StandardBridge:"0x3154Cf16ccdb4C6d922629664174b904d80F2C35",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",L2OutputOracle:"0x56315b90c40730925ec5485cf004d835058518A0",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.ZORA_GOERLI]:{l1:{AddressManager:"0x54f4676203dEDA6C08E0D40557A119c602bFA246",L1CrossDomainMessenger:"0xD87342e16352D33170557A7dA1e5fB966a60FafC",L1StandardBridge:"0x7CC09AC2452D6555d5e0C213Ab9E2d44eFbFc956",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0xDb9F51790365e7dc196e7D072728df39Be958ACe",L2OutputOracle:"0xdD292C9eEd00f6A32Ff5245d0BCd7f2a15f24e00",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.ZORA_MAINNET]:{l1:{AddressManager:"0xEF8115F2733fb2033a7c756402Fc1deaa56550Ef",L1CrossDomainMessenger:"0xdC40a14d9abd6F410226f1E6de71aE03441ca506",L1StandardBridge:"0x3e2Ea9B92B7E48A52296fD261dc26fd995284631",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x1a0ad011913A150f69f6A19DF447A0CfD9551054",L2OutputOracle:"0x9E6204F750cD866b299594e2aC9eA824E2e5f95c",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.MODE_SEPOLIA]:{l1:{AddressManager:"0x83D45725d6562d8CD717673D6bb4c67C07dC1905",L1CrossDomainMessenger:"0xc19a60d9E8C27B9A43527c3283B4dd8eDC8bE15C",L1StandardBridge:"0xbC5C679879B2965296756CD959C3C739769995E2",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x320e1580effF37E008F1C92700d1eBa47c1B23fD",L2OutputOracle:"0x2634BD65ba27AB63811c74A63118ACb312701Bfa",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.MODE_MAINNET]:{l1:{AddressManager:"0x50eF494573f28Cad6B64C31b7a00Cdaa48306e15",L1CrossDomainMessenger:"0x95bDCA6c8EdEB69C98Bd5bd17660BaCef1298A6f",L1StandardBridge:"0x735aDBbE72226BD52e818E7181953f42E3b0FF21",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x8B34b14c7c7123459Cf3076b8Cb929BE097d0C07",L2OutputOracle:"0x4317ba146D4933D889518a3e5E11Fe7a53199b04",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES}};Rr.BRIDGE_ADAPTER_DATA={[Aa.L2ChainID.OPTIMISM]:{wstETH:{Adapter:Lx.DAIBridgeAdapter,l1Bridge:"0x76943C0D61395d8F2edF9060e1533529cAe05dE6",l2Bridge:"0x8E01013243a96601a86eb3153F0d9Fa4fbFb6957"},BitBTC:{Adapter:Lx.StandardBridgeAdapter,l1Bridge:"0xaBA2c5F108F7E820C049D5Af70B16ac266c8f128",l2Bridge:"0x158F513096923fF2d3aab2BcF4478536de6725e2"},DAI:{Adapter:Lx.DAIBridgeAdapter,l1Bridge:"0x10E6593CDda8c58a1d0f14C5164B376352a55f2F",l2Bridge:"0x467194771dAe2967Aef3ECbEDD3Bf9a310C76C65"},ECO:{Adapter:Lx.ECOBridgeAdapter,l1Bridge:"0xAa029BbdC947F5205fBa0F3C11b592420B58f824",l2Bridge:"0xAa029BbdC947F5205fBa0F3C11b592420B58f824"}},[Aa.L2ChainID.OPTIMISM_GOERLI]:{DAI:{Adapter:Lx.DAIBridgeAdapter,l1Bridge:"0x05a388Db09C2D44ec0b00Ee188cD42365c42Df23",l2Bridge:"0x467194771dAe2967Aef3ECbEDD3Bf9a310C76C65"},ECO:{Adapter:Lx.ECOBridgeAdapter,l1Bridge:"0x9A4464D6bFE006715382D39D183AAf66c952a3e0",l2Bridge:"0x6aA809bAeA2e4C057b3994127cB165119c6fc3B2"}}}});var gJe=D(Q1=>{"use strict";u();p();var so=Q1&&Q1.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Q1,"__esModule",{value:!0});Q1.getBridgeAdapters=Q1.getAllOEContracts=Q1.getOEContract=Q1.getContractInterfaceBedrock=void 0;var nce=xx(),yJe=Xe(),dGt=so($oe()),lGt=so(Joe()),uGt=so(Xoe()),pGt=so(LKe()),hGt=so(FKe()),bGt=so(NKe()),mGt=so(OKe()),yGt=so(UKe()),gGt=so(HKe()),vGt=so(zKe()),wGt=so(WKe()),TGt=so(qKe()),xGt=so(jKe()),EGt=so(GKe()),_Gt=so(KKe()),AGt=so(QKe()),CGt=so(VKe()),IGt=Yoe(),mJe=Bq(),Hb=tce(),kGt={AddressManager:"Lib_AddressManager",OVM_L1BlockNumber:"iOVM_L1BlockNumber",WETH:"WETH9",BedrockMessagePasser:"L2ToL1MessagePasser"},SGt=t=>{let e="";switch(t){case"Lib_AddressManager":case"AddressManager":e="";break;case"L1CrossDomainMessenger":e=hGt.default;break;case"L1ERC721Bridge":e=vGt.default;break;case"L2OutputOracle":e=gGt.default;break;case"OptimismMintableERC20Factory":e=mGt.default;break;case"ProxyAdmin":e=yGt.default;break;case"L1StandardBridge":e=dGt.default;break;case"L2StandardBridge":e=lGt.default;break;case"OptimismPortal":e=pGt.default;break;case"L2CrossDomainMessenger":e=bGt.default;break;case"OptimismMintableERC20":e=uGt.default;break;case"L2ERC721Bridge":e=wGt.default;break;case"L1Block":e=TGt.default;break;case"L2ToL1MessagePasser":e=xGt.default;break;case"GasPriceOracle":e=EGt.default;break;case"DisputeGameFactory":e=_Gt.default;break;case"OptimismPortal2":e=AGt.default;break;case"FaultDisputeGame":e=CGt.default;break}return new yJe.ethers.utils.Interface(e.abi)};Q1.getContractInterfaceBedrock=SGt;var RGt=(t,e,n={})=>{let a=Hb.CONTRACT_ADDRESSES[e];if(a===void 0&&n.address===void 0){if(Hb.IGNORABLE_CONTRACTS.includes(t))return;throw new Error(`cannot get contract ${t} for unknown L2 chain ID ${e}, you must provide an address`)}let r=kGt[t]||t,f;try{f=(0,Q1.getContractInterfaceBedrock)(r)}catch{f=(0,nce.getContractInterface)(r)}return new yJe.Contract((0,IGt.toAddress)(n.address||a.l1[t]||a.l2[t]),f,n.signerOrProvider)};Q1.getOEContract=RGt;var MGt=(t,e={})=>{var n,a,r,f;let i=Hb.CONTRACT_ADDRESSES[t]||{l1:{AddressManager:void 0,L1CrossDomainMessenger:void 0,L1StandardBridge:void 0,StateCommitmentChain:void 0,CanonicalTransactionChain:void 0,BondManager:void 0,OptimismPortal:void 0,L2OutputOracle:void 0,DisputeGameFactory:void 0,OptimismPortal2:void 0},l2:Hb.DEFAULT_L2_CONTRACT_ADDRESSES},s={};for(let[c,d]of Object.entries(i.l1))s[c]=(0,Q1.getOEContract)(c,t,{address:((a=(n=e.overrides)===null||n===void 0?void 0:n.l1)===null||a===void 0?void 0:a[c])||d,signerOrProvider:e.l1SignerOrProvider});let o={};for(let[c,d]of Object.entries(i.l2))o[c]=(0,Q1.getOEContract)(c,t,{address:((f=(r=e.overrides)===null||r===void 0?void 0:r.l2)===null||f===void 0?void 0:f[c])||d,signerOrProvider:e.l2SignerOrProvider});return{l1:s,l2:o}};Q1.getAllOEContracts=MGt;var BGt=(t,e,n)=>{var a,r,f,i,s,o;let c=Object.assign(Object.assign(Object.assign({},Hb.CONTRACT_ADDRESSES[t]||!((r=(a=n?.contracts)===null||a===void 0?void 0:a.l1)===null||r===void 0)&&r.L1StandardBridge?{Standard:{Adapter:mJe.StandardBridgeAdapter,l1Bridge:((i=(f=n?.contracts)===null||f===void 0?void 0:f.l1)===null||i===void 0?void 0:i.L1StandardBridge)||Hb.CONTRACT_ADDRESSES[t].l1.L1StandardBridge,l2Bridge:nce.predeploys.L2StandardBridge},ETH:{Adapter:mJe.ETHBridgeAdapter,l1Bridge:((o=(s=n?.contracts)===null||s===void 0?void 0:s.l1)===null||o===void 0?void 0:o.L1StandardBridge)||Hb.CONTRACT_ADDRESSES[t].l1.L1StandardBridge,l2Bridge:nce.predeploys.L2StandardBridge}}:{}),Hb.BRIDGE_ADAPTER_DATA[t]||{}),n?.overrides||{}),d={};for(let[l,h]of Object.entries(c))d[l]=new h.Adapter({messenger:e,l1Bridge:h.l1Bridge,l2Bridge:h.l2Bridge});return d};Q1.getBridgeAdapters=BGt});var wJe=D(vJe=>{"use strict";u();p();Object.defineProperty(vJe,"__esModule",{value:!0})});var TJe=D(Dq=>{"use strict";u();p();Object.defineProperty(Dq,"__esModule",{value:!0});Dq.omit=void 0;var DGt=(t,...e)=>{let n=Object.assign({},t);for(let a of e)delete n[a];return n};Dq.omit=DGt});var ace=D((oua,xJe)=>{u();p();xJe.exports=function(e){for(var n=new _.Buffer(e.length),a=0,r=e.length-1;a<=r;++a,--r)n[a]=e[r],n[r]=e[a];return n}});var Zn=D((Pq,EJe)=>{u();p();(function(t,e){typeof Pq=="object"?EJe.exports=Pq=e():typeof define=="function"&&define.amd?define([],e):t.CryptoJS=e()})(Pq,function(){var t=t||function(e,n){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof global<"u"&&global.crypto&&(a=global.crypto),!a&&typeof Kd=="function")try{a=PU()}catch{}var r=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},f=Object.create||function(){function F(){}return function(z){var W;return F.prototype=z,W=new F,F.prototype=null,W}}(),i={},s=i.lib={},o=s.Base=function(){return{extend:function(F){var z=f(this);return F&&z.mixIn(F),(!z.hasOwnProperty("init")||this.init===z.init)&&(z.init=function(){z.$super.init.apply(this,arguments)}),z.init.prototype=z,z.$super=this,z},create:function(){var F=this.extend();return F.init.apply(F,arguments),F},init:function(){},mixIn:function(F){for(var z in F)F.hasOwnProperty(z)&&(this[z]=F[z]);F.hasOwnProperty("toString")&&(this.toString=F.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=s.WordArray=o.extend({init:function(F,z){F=this.words=F||[],z!=n?this.sigBytes=z:this.sigBytes=F.length*4},toString:function(F){return(F||l).stringify(this)},concat:function(F){var z=this.words,W=F.words,j=this.sigBytes,Q=F.sigBytes;if(this.clamp(),j%4)for(var V=0;V>>2]>>>24-V%4*8&255;z[j+V>>>2]|=X<<24-(j+V)%4*8}else for(var K=0;K>>2]=W[K>>>2];return this.sigBytes+=Q,this},clamp:function(){var F=this.words,z=this.sigBytes;F[z>>>2]&=4294967295<<32-z%4*8,F.length=e.ceil(z/4)},clone:function(){var F=o.clone.call(this);return F.words=this.words.slice(0),F},random:function(F){for(var z=[],W=0;W>>2]>>>24-Q%4*8&255;j.push((V>>>4).toString(16)),j.push((V&15).toString(16))}return j.join("")},parse:function(F){for(var z=F.length,W=[],j=0;j>>3]|=parseInt(F.substr(j,2),16)<<24-j%8*4;return new c.init(W,z/2)}},h=d.Latin1={stringify:function(F){for(var z=F.words,W=F.sigBytes,j=[],Q=0;Q>>2]>>>24-Q%4*8&255;j.push(String.fromCharCode(V))}return j.join("")},parse:function(F){for(var z=F.length,W=[],j=0;j>>2]|=(F.charCodeAt(j)&255)<<24-j%4*8;return new c.init(W,z)}},y=d.Utf8={stringify:function(F){try{return decodeURIComponent(escape(h.stringify(F)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(F){return h.parse(unescape(encodeURIComponent(F)))}},v=s.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(F){typeof F=="string"&&(F=y.parse(F)),this._data.concat(F),this._nDataBytes+=F.sigBytes},_process:function(F){var z,W=this._data,j=W.words,Q=W.sigBytes,V=this.blockSize,X=V*4,K=Q/X;F?K=e.ceil(K):K=e.max((K|0)-this._minBufferSize,0);var G=K*V,R=e.min(G*4,Q);if(G){for(var T=0;T{u();p();(function(t,e){typeof Lq=="object"?_Je.exports=Lq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Lq,function(t){return function(e){var n=t,a=n.lib,r=a.WordArray,f=a.Hasher,i=n.algo,s=[],o=[];(function(){function l(k){for(var O=e.sqrt(k),F=2;F<=O;F++)if(!(k%F))return!1;return!0}function h(k){return(k-(k|0))*4294967296|0}for(var y=2,v=0;v<64;)l(y)&&(v<8&&(s[v]=h(e.pow(y,1/2))),o[v]=h(e.pow(y,1/3)),v++),y++})();var c=[],d=i.SHA256=f.extend({_doReset:function(){this._hash=new r.init(s.slice(0))},_doProcessBlock:function(l,h){for(var y=this._hash.words,v=y[0],k=y[1],O=y[2],F=y[3],z=y[4],W=y[5],j=y[6],Q=y[7],V=0;V<64;V++){if(V<16)c[V]=l[h+V]|0;else{var X=c[V-15],K=(X<<25|X>>>7)^(X<<14|X>>>18)^X>>>3,G=c[V-2],R=(G<<15|G>>>17)^(G<<13|G>>>19)^G>>>10;c[V]=K+c[V-7]+R+c[V-16]}var T=z&W^~z&j,N=v&k^v&O^k&O,w=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),m=(z<<26|z>>>6)^(z<<21|z>>>11)^(z<<7|z>>>25),A=Q+m+T+o[V]+c[V],P=w+N;Q=j,j=W,W=z,z=F+A|0,F=O,O=k,k=v,v=A+P|0}y[0]=y[0]+v|0,y[1]=y[1]+k|0,y[2]=y[2]+O|0,y[3]=y[3]+F|0,y[4]=y[4]+z|0,y[5]=y[5]+W|0,y[6]=y[6]+j|0,y[7]=y[7]+Q|0},_doFinalize:function(){var l=this._data,h=l.words,y=this._nDataBytes*8,v=l.sigBytes*8;return h[v>>>5]|=128<<24-v%32,h[(v+64>>>9<<4)+14]=e.floor(y/4294967296),h[(v+64>>>9<<4)+15]=y,l.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var l=f.clone.call(this);return l._hash=this._hash.clone(),l}});n.SHA256=f._createHelper(d),n.HmacSHA256=f._createHmacHelper(d)}(Math),t.SHA256})});var Fq=D((rce,AJe)=>{u();p();(function(t,e){typeof rce=="object"?AJe.exports=e():typeof define=="function"&&define.amd?define(e):t.treeify=e()})(rce,function(){function t(r,f){var i=f?"\u2514":"\u251C";return r?i+="\u2500 ":i+="\u2500\u2500\u2510",i}function e(r,f){var i=[];for(var s in r)r.hasOwnProperty(s)&&(f&&typeof r[s]=="function"||i.push(s));return i}function n(r,f,i,s,o,c,d){var l="",h=0,y,v,k=s.slice(0);if(k.push([f,i])&&s.length>0&&(s.forEach(function(F,z){z>0&&(l+=(F[1]?" ":"\u2502")+" "),!v&&F[0]===f&&(v=!0)}),l+=t(r,i)+r,o&&(typeof f!="object"||f instanceof Date)&&(l+=": "+f),v&&(l+=" (circular ref.)"),d(l)),!v&&typeof f=="object"){var O=e(f,c);O.forEach(function(F){y=++h===O.length,n(F,f[F],y,k,o,c,d)})}}var a={};return a.asLines=function(r,f,i,s){var o=typeof i!="function"?i:!1;n(".",r,!1,[],f,o,s||i)},a.asTree=function(r,f,i){var s="";return n(".",r,!1,[],f,i,function(o){s+=o+` +`}),s},a})});var AR=D((Nq,CJe)=>{u();p();(function(t,e){typeof Nq=="object"?CJe.exports=Nq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Nq,function(t){return function(e){var n=t,a=n.lib,r=a.Base,f=a.WordArray,i=n.x64={},s=i.Word=r.extend({init:function(c,d){this.high=c,this.low=d}}),o=i.WordArray=r.extend({init:function(c,d){c=this.words=c||[],d!=e?this.sigBytes=d:this.sigBytes=c.length*8},toX32:function(){for(var c=this.words,d=c.length,l=[],h=0;h{u();p();(function(t,e){typeof Oq=="object"?IJe.exports=Oq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Oq,function(t){return function(){if(typeof ArrayBuffer=="function"){var e=t,n=e.lib,a=n.WordArray,r=a.init,f=a.init=function(i){if(i instanceof ArrayBuffer&&(i=new Uint8Array(i)),(i instanceof Int8Array||typeof Uint8ClampedArray<"u"&&i instanceof Uint8ClampedArray||i instanceof Int16Array||i instanceof Uint16Array||i instanceof Int32Array||i instanceof Uint32Array||i instanceof Float32Array||i instanceof Float64Array)&&(i=new Uint8Array(i.buffer,i.byteOffset,i.byteLength)),i instanceof Uint8Array){for(var s=i.byteLength,o=[],c=0;c>>2]|=i[c]<<24-c%4*8;r.call(this,o,s)}else r.apply(this,arguments)};f.prototype=a}}(),t.lib.WordArray})});var RJe=D((Uq,SJe)=>{u();p();(function(t,e){typeof Uq=="object"?SJe.exports=Uq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Uq,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=e.enc,f=r.Utf16=r.Utf16BE={stringify:function(s){for(var o=s.words,c=s.sigBytes,d=[],l=0;l>>2]>>>16-l%4*8&65535;d.push(String.fromCharCode(h))}return d.join("")},parse:function(s){for(var o=s.length,c=[],d=0;d>>1]|=s.charCodeAt(d)<<16-d%2*16;return a.create(c,o*2)}};r.Utf16LE={stringify:function(s){for(var o=s.words,c=s.sigBytes,d=[],l=0;l>>2]>>>16-l%4*8&65535);d.push(String.fromCharCode(h))}return d.join("")},parse:function(s){for(var o=s.length,c=[],d=0;d>>1]|=i(s.charCodeAt(d)<<16-d%2*16);return a.create(c,o*2)}};function i(s){return s<<8&4278255360|s>>>8&16711935}}(),t.enc.Utf16})});var zb=D((Hq,MJe)=>{u();p();(function(t,e){typeof Hq=="object"?MJe.exports=Hq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Hq,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=e.enc,f=r.Base64={stringify:function(s){var o=s.words,c=s.sigBytes,d=this._map;s.clamp();for(var l=[],h=0;h>>2]>>>24-h%4*8&255,v=o[h+1>>>2]>>>24-(h+1)%4*8&255,k=o[h+2>>>2]>>>24-(h+2)%4*8&255,O=y<<16|v<<8|k,F=0;F<4&&h+F*.75>>6*(3-F)&63));var z=d.charAt(64);if(z)for(;l.length%4;)l.push(z);return l.join("")},parse:function(s){var o=s.length,c=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var l=0;l>>6-h%4*2,k=y|v;d[l>>>2]|=k<<24-l%4*8,l++}return a.create(d,l)}}(),t.enc.Base64})});var DJe=D((zq,BJe)=>{u();p();(function(t,e){typeof zq=="object"?BJe.exports=zq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(zq,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=e.enc,f=r.Base64url={stringify:function(s,o){o===void 0&&(o=!0);var c=s.words,d=s.sigBytes,l=o?this._safe_map:this._map;s.clamp();for(var h=[],y=0;y>>2]>>>24-y%4*8&255,k=c[y+1>>>2]>>>24-(y+1)%4*8&255,O=c[y+2>>>2]>>>24-(y+2)%4*8&255,F=v<<16|k<<8|O,z=0;z<4&&y+z*.75>>6*(3-z)&63));var W=l.charAt(64);if(W)for(;h.length%4;)h.push(W);return h.join("")},parse:function(s,o){o===void 0&&(o=!0);var c=s.length,d=o?this._safe_map:this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var h=0;h>>6-h%4*2,k=y|v;d[l>>>2]|=k<<24-l%4*8,l++}return a.create(d,l)}}(),t.enc.Base64url})});var Wb=D((Wq,PJe)=>{u();p();(function(t,e){typeof Wq=="object"?PJe.exports=Wq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Wq,function(t){return function(e){var n=t,a=n.lib,r=a.WordArray,f=a.Hasher,i=n.algo,s=[];(function(){for(var y=0;y<64;y++)s[y]=e.abs(e.sin(y+1))*4294967296|0})();var o=i.MD5=f.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(y,v){for(var k=0;k<16;k++){var O=v+k,F=y[O];y[O]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360}var z=this._hash.words,W=y[v+0],j=y[v+1],Q=y[v+2],V=y[v+3],X=y[v+4],K=y[v+5],G=y[v+6],R=y[v+7],T=y[v+8],N=y[v+9],w=y[v+10],m=y[v+11],A=y[v+12],P=y[v+13],L=y[v+14],x=y[v+15],g=z[0],B=z[1],M=z[2],S=z[3];g=c(g,B,M,S,W,7,s[0]),S=c(S,g,B,M,j,12,s[1]),M=c(M,S,g,B,Q,17,s[2]),B=c(B,M,S,g,V,22,s[3]),g=c(g,B,M,S,X,7,s[4]),S=c(S,g,B,M,K,12,s[5]),M=c(M,S,g,B,G,17,s[6]),B=c(B,M,S,g,R,22,s[7]),g=c(g,B,M,S,T,7,s[8]),S=c(S,g,B,M,N,12,s[9]),M=c(M,S,g,B,w,17,s[10]),B=c(B,M,S,g,m,22,s[11]),g=c(g,B,M,S,A,7,s[12]),S=c(S,g,B,M,P,12,s[13]),M=c(M,S,g,B,L,17,s[14]),B=c(B,M,S,g,x,22,s[15]),g=d(g,B,M,S,j,5,s[16]),S=d(S,g,B,M,G,9,s[17]),M=d(M,S,g,B,m,14,s[18]),B=d(B,M,S,g,W,20,s[19]),g=d(g,B,M,S,K,5,s[20]),S=d(S,g,B,M,w,9,s[21]),M=d(M,S,g,B,x,14,s[22]),B=d(B,M,S,g,X,20,s[23]),g=d(g,B,M,S,N,5,s[24]),S=d(S,g,B,M,L,9,s[25]),M=d(M,S,g,B,V,14,s[26]),B=d(B,M,S,g,T,20,s[27]),g=d(g,B,M,S,P,5,s[28]),S=d(S,g,B,M,Q,9,s[29]),M=d(M,S,g,B,R,14,s[30]),B=d(B,M,S,g,A,20,s[31]),g=l(g,B,M,S,K,4,s[32]),S=l(S,g,B,M,T,11,s[33]),M=l(M,S,g,B,m,16,s[34]),B=l(B,M,S,g,L,23,s[35]),g=l(g,B,M,S,j,4,s[36]),S=l(S,g,B,M,X,11,s[37]),M=l(M,S,g,B,R,16,s[38]),B=l(B,M,S,g,w,23,s[39]),g=l(g,B,M,S,P,4,s[40]),S=l(S,g,B,M,W,11,s[41]),M=l(M,S,g,B,V,16,s[42]),B=l(B,M,S,g,G,23,s[43]),g=l(g,B,M,S,N,4,s[44]),S=l(S,g,B,M,A,11,s[45]),M=l(M,S,g,B,x,16,s[46]),B=l(B,M,S,g,Q,23,s[47]),g=h(g,B,M,S,W,6,s[48]),S=h(S,g,B,M,R,10,s[49]),M=h(M,S,g,B,L,15,s[50]),B=h(B,M,S,g,K,21,s[51]),g=h(g,B,M,S,A,6,s[52]),S=h(S,g,B,M,V,10,s[53]),M=h(M,S,g,B,w,15,s[54]),B=h(B,M,S,g,j,21,s[55]),g=h(g,B,M,S,T,6,s[56]),S=h(S,g,B,M,x,10,s[57]),M=h(M,S,g,B,G,15,s[58]),B=h(B,M,S,g,P,21,s[59]),g=h(g,B,M,S,X,6,s[60]),S=h(S,g,B,M,m,10,s[61]),M=h(M,S,g,B,Q,15,s[62]),B=h(B,M,S,g,N,21,s[63]),z[0]=z[0]+g|0,z[1]=z[1]+B|0,z[2]=z[2]+M|0,z[3]=z[3]+S|0},_doFinalize:function(){var y=this._data,v=y.words,k=this._nDataBytes*8,O=y.sigBytes*8;v[O>>>5]|=128<<24-O%32;var F=e.floor(k/4294967296),z=k;v[(O+64>>>9<<4)+15]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,v[(O+64>>>9<<4)+14]=(z<<8|z>>>24)&16711935|(z<<24|z>>>8)&4278255360,y.sigBytes=(v.length+1)*4,this._process();for(var W=this._hash,j=W.words,Q=0;Q<4;Q++){var V=j[Q];j[Q]=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360}return W},clone:function(){var y=f.clone.call(this);return y._hash=this._hash.clone(),y}});function c(y,v,k,O,F,z,W){var j=y+(v&k|~v&O)+F+W;return(j<>>32-z)+v}function d(y,v,k,O,F,z,W){var j=y+(v&O|k&~O)+F+W;return(j<>>32-z)+v}function l(y,v,k,O,F,z,W){var j=y+(v^k^O)+F+W;return(j<>>32-z)+v}function h(y,v,k,O,F,z,W){var j=y+(k^(v|~O))+F+W;return(j<>>32-z)+v}n.MD5=f._createHelper(o),n.HmacMD5=f._createHmacHelper(o)}(Math),t.MD5})});var fce=D((qq,LJe)=>{u();p();(function(t,e){typeof qq=="object"?LJe.exports=qq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(qq,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=n.Hasher,f=e.algo,i=[],s=f.SHA1=r.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(o,c){for(var d=this._hash.words,l=d[0],h=d[1],y=d[2],v=d[3],k=d[4],O=0;O<80;O++){if(O<16)i[O]=o[c+O]|0;else{var F=i[O-3]^i[O-8]^i[O-14]^i[O-16];i[O]=F<<1|F>>>31}var z=(l<<5|l>>>27)+k+i[O];O<20?z+=(h&y|~h&v)+1518500249:O<40?z+=(h^y^v)+1859775393:O<60?z+=(h&y|h&v|y&v)-1894007588:z+=(h^y^v)-899497514,k=v,v=y,y=h<<30|h>>>2,h=l,l=z}d[0]=d[0]+l|0,d[1]=d[1]+h|0,d[2]=d[2]+y|0,d[3]=d[3]+v|0,d[4]=d[4]+k|0},_doFinalize:function(){var o=this._data,c=o.words,d=this._nDataBytes*8,l=o.sigBytes*8;return c[l>>>5]|=128<<24-l%32,c[(l+64>>>9<<4)+14]=Math.floor(d/4294967296),c[(l+64>>>9<<4)+15]=d,o.sigBytes=c.length*4,this._process(),this._hash},clone:function(){var o=r.clone.call(this);return o._hash=this._hash.clone(),o}});e.SHA1=r._createHelper(s),e.HmacSHA1=r._createHmacHelper(s)}(),t.SHA1})});var NJe=D((jq,FJe)=>{u();p();(function(t,e,n){typeof jq=="object"?FJe.exports=jq=e(Zn(),Fx()):typeof define=="function"&&define.amd?define(["./core","./sha256"],e):e(t.CryptoJS)})(jq,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=e.algo,f=r.SHA256,i=r.SHA224=f.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var s=f._doFinalize.call(this);return s.sigBytes-=4,s}});e.SHA224=f._createHelper(i),e.HmacSHA224=f._createHmacHelper(i)}(),t.SHA224})});var ice=D((Gq,OJe)=>{u();p();(function(t,e,n){typeof Gq=="object"?OJe.exports=Gq=e(Zn(),AR()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(t.CryptoJS)})(Gq,function(t){return function(){var e=t,n=e.lib,a=n.Hasher,r=e.x64,f=r.Word,i=r.WordArray,s=e.algo;function o(){return f.create.apply(f,arguments)}var c=[o(1116352408,3609767458),o(1899447441,602891725),o(3049323471,3964484399),o(3921009573,2173295548),o(961987163,4081628472),o(1508970993,3053834265),o(2453635748,2937671579),o(2870763221,3664609560),o(3624381080,2734883394),o(310598401,1164996542),o(607225278,1323610764),o(1426881987,3590304994),o(1925078388,4068182383),o(2162078206,991336113),o(2614888103,633803317),o(3248222580,3479774868),o(3835390401,2666613458),o(4022224774,944711139),o(264347078,2341262773),o(604807628,2007800933),o(770255983,1495990901),o(1249150122,1856431235),o(1555081692,3175218132),o(1996064986,2198950837),o(2554220882,3999719339),o(2821834349,766784016),o(2952996808,2566594879),o(3210313671,3203337956),o(3336571891,1034457026),o(3584528711,2466948901),o(113926993,3758326383),o(338241895,168717936),o(666307205,1188179964),o(773529912,1546045734),o(1294757372,1522805485),o(1396182291,2643833823),o(1695183700,2343527390),o(1986661051,1014477480),o(2177026350,1206759142),o(2456956037,344077627),o(2730485921,1290863460),o(2820302411,3158454273),o(3259730800,3505952657),o(3345764771,106217008),o(3516065817,3606008344),o(3600352804,1432725776),o(4094571909,1467031594),o(275423344,851169720),o(430227734,3100823752),o(506948616,1363258195),o(659060556,3750685593),o(883997877,3785050280),o(958139571,3318307427),o(1322822218,3812723403),o(1537002063,2003034995),o(1747873779,3602036899),o(1955562222,1575990012),o(2024104815,1125592928),o(2227730452,2716904306),o(2361852424,442776044),o(2428436474,593698344),o(2756734187,3733110249),o(3204031479,2999351573),o(3329325298,3815920427),o(3391569614,3928383900),o(3515267271,566280711),o(3940187606,3454069534),o(4118630271,4000239992),o(116418474,1914138554),o(174292421,2731055270),o(289380356,3203993006),o(460393269,320620315),o(685471733,587496836),o(852142971,1086792851),o(1017036298,365543100),o(1126000580,2618297676),o(1288033470,3409855158),o(1501505948,4234509866),o(1607167915,987167468),o(1816402316,1246189591)],d=[];(function(){for(var h=0;h<80;h++)d[h]=o()})();var l=s.SHA512=a.extend({_doReset:function(){this._hash=new i.init([new f.init(1779033703,4089235720),new f.init(3144134277,2227873595),new f.init(1013904242,4271175723),new f.init(2773480762,1595750129),new f.init(1359893119,2917565137),new f.init(2600822924,725511199),new f.init(528734635,4215389547),new f.init(1541459225,327033209)])},_doProcessBlock:function(h,y){for(var v=this._hash.words,k=v[0],O=v[1],F=v[2],z=v[3],W=v[4],j=v[5],Q=v[6],V=v[7],X=k.high,K=k.low,G=O.high,R=O.low,T=F.high,N=F.low,w=z.high,m=z.low,A=W.high,P=W.low,L=j.high,x=j.low,g=Q.high,B=Q.low,M=V.high,S=V.low,q=X,ee=K,U=G,J=R,Z=T,ne=N,ue=w,Y=m,re=A,ie=P,ge=L,de=x,Ae=g,Ge=B,Be=M,c0=S,Ye=0;Ye<80;Ye++){var He,_0,L0=d[Ye];if(Ye<16)_0=L0.high=h[y+Ye*2]|0,He=L0.low=h[y+Ye*2+1]|0;else{var Ze=d[Ye-15],I0=Ze.high,pe=Ze.low,he=(I0>>>1|pe<<31)^(I0>>>8|pe<<24)^I0>>>7,Te=(pe>>>1|I0<<31)^(pe>>>8|I0<<24)^(pe>>>7|I0<<25),Ce=d[Ye-2],Se=Ce.high,Qe=Ce.low,u0=(Se>>>19|Qe<<13)^(Se<<3|Qe>>>29)^Se>>>6,qe=(Qe>>>19|Se<<13)^(Qe<<3|Se>>>29)^(Qe>>>6|Se<<26),v0=d[Ye-7],w0=v0.high,Ve=v0.low,be=d[Ye-16],ye=be.high,_e=be.low;He=Te+Ve,_0=he+w0+(He>>>0>>0?1:0),He=He+qe,_0=_0+u0+(He>>>0>>0?1:0),He=He+_e,_0=_0+ye+(He>>>0<_e>>>0?1:0),L0.high=_0,L0.low=He}var ze=re&ge^~re&Ae,je=ie&de^~ie&Ge,Ue=q&U^q&Z^U&Z,b0=ee&J^ee&ne^J&ne,h0=(q>>>28|ee<<4)^(q<<30|ee>>>2)^(q<<25|ee>>>7),$e=(ee>>>28|q<<4)^(ee<<30|q>>>2)^(ee<<25|q>>>7),M0=(re>>>14|ie<<18)^(re>>>18|ie<<14)^(re<<23|ie>>>9),P0=(ie>>>14|re<<18)^(ie>>>18|re<<14)^(ie<<23|re>>>9),t0=c[Ye],j0=t0.high,z0=t0.low,Ke=c0+P0,B0=Be+M0+(Ke>>>0>>0?1:0),Ke=Ke+je,B0=B0+ze+(Ke>>>0>>0?1:0),Ke=Ke+z0,B0=B0+j0+(Ke>>>0>>0?1:0),Ke=Ke+He,B0=B0+_0+(Ke>>>0>>0?1:0),G0=$e+b0,s0=h0+Ue+(G0>>>0<$e>>>0?1:0);Be=Ae,c0=Ge,Ae=ge,Ge=de,ge=re,de=ie,ie=Y+Ke|0,re=ue+B0+(ie>>>0>>0?1:0)|0,ue=Z,Y=ne,Z=U,ne=J,U=q,J=ee,ee=Ke+G0|0,q=B0+s0+(ee>>>0>>0?1:0)|0}K=k.low=K+ee,k.high=X+q+(K>>>0>>0?1:0),R=O.low=R+J,O.high=G+U+(R>>>0>>0?1:0),N=F.low=N+ne,F.high=T+Z+(N>>>0>>0?1:0),m=z.low=m+Y,z.high=w+ue+(m>>>0>>0?1:0),P=W.low=P+ie,W.high=A+re+(P>>>0>>0?1:0),x=j.low=x+de,j.high=L+ge+(x>>>0>>0?1:0),B=Q.low=B+Ge,Q.high=g+Ae+(B>>>0>>0?1:0),S=V.low=S+c0,V.high=M+Be+(S>>>0>>0?1:0)},_doFinalize:function(){var h=this._data,y=h.words,v=this._nDataBytes*8,k=h.sigBytes*8;y[k>>>5]|=128<<24-k%32,y[(k+128>>>10<<5)+30]=Math.floor(v/4294967296),y[(k+128>>>10<<5)+31]=v,h.sigBytes=y.length*4,this._process();var O=this._hash.toX32();return O},clone:function(){var h=a.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:1024/32});e.SHA512=a._createHelper(l),e.HmacSHA512=a._createHmacHelper(l)}(),t.SHA512})});var HJe=D((Kq,UJe)=>{u();p();(function(t,e,n){typeof Kq=="object"?UJe.exports=Kq=e(Zn(),AR(),ice()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],e):e(t.CryptoJS)})(Kq,function(t){return function(){var e=t,n=e.x64,a=n.Word,r=n.WordArray,f=e.algo,i=f.SHA512,s=f.SHA384=i.extend({_doReset:function(){this._hash=new r.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var o=i._doFinalize.call(this);return o.sigBytes-=16,o}});e.SHA384=i._createHelper(s),e.HmacSHA384=i._createHmacHelper(s)}(),t.SHA384})});var WJe=D((Qq,zJe)=>{u();p();(function(t,e,n){typeof Qq=="object"?zJe.exports=Qq=e(Zn(),AR()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(t.CryptoJS)})(Qq,function(t){return function(e){var n=t,a=n.lib,r=a.WordArray,f=a.Hasher,i=n.x64,s=i.Word,o=n.algo,c=[],d=[],l=[];(function(){for(var v=1,k=0,O=0;O<24;O++){c[v+5*k]=(O+1)*(O+2)/2%64;var F=k%5,z=(2*v+3*k)%5;v=F,k=z}for(var v=0;v<5;v++)for(var k=0;k<5;k++)d[v+5*k]=k+(2*v+3*k)%5*5;for(var W=1,j=0;j<24;j++){for(var Q=0,V=0,X=0;X<7;X++){if(W&1){var K=(1<>>24)&16711935|(W<<24|W>>>8)&4278255360,j=(j<<8|j>>>24)&16711935|(j<<24|j>>>8)&4278255360;var Q=O[z];Q.high^=j,Q.low^=W}for(var V=0;V<24;V++){for(var X=0;X<5;X++){for(var K=0,G=0,R=0;R<5;R++){var Q=O[X+5*R];K^=Q.high,G^=Q.low}var T=h[X];T.high=K,T.low=G}for(var X=0;X<5;X++)for(var N=h[(X+4)%5],w=h[(X+1)%5],m=w.high,A=w.low,K=N.high^(m<<1|A>>>31),G=N.low^(A<<1|m>>>31),R=0;R<5;R++){var Q=O[X+5*R];Q.high^=K,Q.low^=G}for(var P=1;P<25;P++){var K,G,Q=O[P],L=Q.high,x=Q.low,g=c[P];g<32?(K=L<>>32-g,G=x<>>32-g):(K=x<>>64-g,G=L<>>64-g);var B=h[d[P]];B.high=K,B.low=G}var M=h[0],S=O[0];M.high=S.high,M.low=S.low;for(var X=0;X<5;X++)for(var R=0;R<5;R++){var P=X+5*R,Q=O[P],q=h[P],ee=h[(X+1)%5+5*R],U=h[(X+2)%5+5*R];Q.high=q.high^~ee.high&U.high,Q.low=q.low^~ee.low&U.low}var Q=O[0],J=l[V];Q.high^=J.high,Q.low^=J.low}},_doFinalize:function(){var v=this._data,k=v.words,O=this._nDataBytes*8,F=v.sigBytes*8,z=this.blockSize*32;k[F>>>5]|=1<<24-F%32,k[(e.ceil((F+1)/z)*z>>>5)-1]|=128,v.sigBytes=k.length*4,this._process();for(var W=this._state,j=this.cfg.outputLength/8,Q=j/8,V=[],X=0;X>>24)&16711935|(G<<24|G>>>8)&4278255360,R=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,V.push(R),V.push(G)}return new r.init(V,j)},clone:function(){for(var v=f.clone.call(this),k=v._state=this._state.slice(0),O=0;O<25;O++)k[O]=k[O].clone();return v}});n.SHA3=f._createHelper(y),n.HmacSHA3=f._createHmacHelper(y)}(Math),t.SHA3})});var jJe=D((Vq,qJe)=>{u();p();(function(t,e){typeof Vq=="object"?qJe.exports=Vq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Vq,function(t){return function(e){var n=t,a=n.lib,r=a.WordArray,f=a.Hasher,i=n.algo,s=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),o=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),l=r.create([0,1518500249,1859775393,2400959708,2840853838]),h=r.create([1352829926,1548603684,1836072691,2053994217,0]),y=i.RIPEMD160=f.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(j,Q){for(var V=0;V<16;V++){var X=Q+V,K=j[X];j[X]=(K<<8|K>>>24)&16711935|(K<<24|K>>>8)&4278255360}var G=this._hash.words,R=l.words,T=h.words,N=s.words,w=o.words,m=c.words,A=d.words,P,L,x,g,B,M,S,q,ee,U;M=P=G[0],S=L=G[1],q=x=G[2],ee=g=G[3],U=B=G[4];for(var J,V=0;V<80;V+=1)J=P+j[Q+N[V]]|0,V<16?J+=v(L,x,g)+R[0]:V<32?J+=k(L,x,g)+R[1]:V<48?J+=O(L,x,g)+R[2]:V<64?J+=F(L,x,g)+R[3]:J+=z(L,x,g)+R[4],J=J|0,J=W(J,m[V]),J=J+B|0,P=B,B=g,g=W(x,10),x=L,L=J,J=M+j[Q+w[V]]|0,V<16?J+=z(S,q,ee)+T[0]:V<32?J+=F(S,q,ee)+T[1]:V<48?J+=O(S,q,ee)+T[2]:V<64?J+=k(S,q,ee)+T[3]:J+=v(S,q,ee)+T[4],J=J|0,J=W(J,A[V]),J=J+U|0,M=U,U=ee,ee=W(q,10),q=S,S=J;J=G[1]+x+ee|0,G[1]=G[2]+g+U|0,G[2]=G[3]+B+M|0,G[3]=G[4]+P+S|0,G[4]=G[0]+L+q|0,G[0]=J},_doFinalize:function(){var j=this._data,Q=j.words,V=this._nDataBytes*8,X=j.sigBytes*8;Q[X>>>5]|=128<<24-X%32,Q[(X+64>>>9<<4)+14]=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360,j.sigBytes=(Q.length+1)*4,this._process();for(var K=this._hash,G=K.words,R=0;R<5;R++){var T=G[R];G[R]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return K},clone:function(){var j=f.clone.call(this);return j._hash=this._hash.clone(),j}});function v(j,Q,V){return j^Q^V}function k(j,Q,V){return j&Q|~j&V}function O(j,Q,V){return(j|~Q)^V}function F(j,Q,V){return j&V|Q&~V}function z(j,Q,V){return j^(Q|~V)}function W(j,Q){return j<>>32-Q}n.RIPEMD160=f._createHelper(y),n.HmacRIPEMD160=f._createHmacHelper(y)}(Math),t.RIPEMD160})});var $q=D((Yq,GJe)=>{u();p();(function(t,e){typeof Yq=="object"?GJe.exports=Yq=e(Zn()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Yq,function(t){(function(){var e=t,n=e.lib,a=n.Base,r=e.enc,f=r.Utf8,i=e.algo,s=i.HMAC=a.extend({init:function(o,c){o=this._hasher=new o.init,typeof c=="string"&&(c=f.parse(c));var d=o.blockSize,l=d*4;c.sigBytes>l&&(c=o.finalize(c)),c.clamp();for(var h=this._oKey=c.clone(),y=this._iKey=c.clone(),v=h.words,k=y.words,O=0;O{u();p();(function(t,e,n){typeof Jq=="object"?KJe.exports=Jq=e(Zn(),Fx(),$q()):typeof define=="function"&&define.amd?define(["./core","./sha256","./hmac"],e):e(t.CryptoJS)})(Jq,function(t){return function(){var e=t,n=e.lib,a=n.Base,r=n.WordArray,f=e.algo,i=f.SHA256,s=f.HMAC,o=f.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:i,iterations:25e4}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,d){for(var l=this.cfg,h=s.create(l.hasher,c),y=r.create(),v=r.create([1]),k=y.words,O=v.words,F=l.keySize,z=l.iterations;k.length{u();p();(function(t,e,n){typeof Xq=="object"?VJe.exports=Xq=e(Zn(),fce(),$q()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],e):e(t.CryptoJS)})(Xq,function(t){return function(){var e=t,n=e.lib,a=n.Base,r=n.WordArray,f=e.algo,i=f.MD5,s=f.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:i,iterations:1}),init:function(o){this.cfg=this.cfg.extend(o)},compute:function(o,c){for(var d,l=this.cfg,h=l.hasher.create(),y=r.create(),v=y.words,k=l.keySize,O=l.iterations;v.length{u();p();(function(t,e,n){typeof Zq=="object"?YJe.exports=Zq=e(Zn(),q8()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],e):e(t.CryptoJS)})(Zq,function(t){t.lib.Cipher||function(e){var n=t,a=n.lib,r=a.Base,f=a.WordArray,i=a.BufferedBlockAlgorithm,s=n.enc,o=s.Utf8,c=s.Base64,d=n.algo,l=d.EvpKDF,h=a.Cipher=i.extend({cfg:r.extend(),createEncryptor:function(T,N){return this.create(this._ENC_XFORM_MODE,T,N)},createDecryptor:function(T,N){return this.create(this._DEC_XFORM_MODE,T,N)},init:function(T,N,w){this.cfg=this.cfg.extend(w),this._xformMode=T,this._key=N,this.reset()},reset:function(){i.reset.call(this),this._doReset()},process:function(T){return this._append(T),this._process()},finalize:function(T){T&&this._append(T);var N=this._doFinalize();return N},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function T(N){return typeof N=="string"?R:X}return function(N){return{encrypt:function(w,m,A){return T(m).encrypt(N,w,m,A)},decrypt:function(w,m,A){return T(m).decrypt(N,w,m,A)}}}}()}),y=a.StreamCipher=h.extend({_doFinalize:function(){var T=this._process(!0);return T},blockSize:1}),v=n.mode={},k=a.BlockCipherMode=r.extend({createEncryptor:function(T,N){return this.Encryptor.create(T,N)},createDecryptor:function(T,N){return this.Decryptor.create(T,N)},init:function(T,N){this._cipher=T,this._iv=N}}),O=v.CBC=function(){var T=k.extend();T.Encryptor=T.extend({processBlock:function(w,m){var A=this._cipher,P=A.blockSize;N.call(this,w,m,P),A.encryptBlock(w,m),this._prevBlock=w.slice(m,m+P)}}),T.Decryptor=T.extend({processBlock:function(w,m){var A=this._cipher,P=A.blockSize,L=w.slice(m,m+P);A.decryptBlock(w,m),N.call(this,w,m,P),this._prevBlock=L}});function N(w,m,A){var P,L=this._iv;L?(P=L,this._iv=e):P=this._prevBlock;for(var x=0;x>>2]&255;T.sigBytes-=N}},W=a.BlockCipher=h.extend({cfg:h.cfg.extend({mode:O,padding:z}),reset:function(){var T;h.reset.call(this);var N=this.cfg,w=N.iv,m=N.mode;this._xformMode==this._ENC_XFORM_MODE?T=m.createEncryptor:(T=m.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==T?this._mode.init(this,w&&w.words):(this._mode=T.call(m,this,w&&w.words),this._mode.__creator=T)},_doProcessBlock:function(T,N){this._mode.processBlock(T,N)},_doFinalize:function(){var T,N=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(N.pad(this._data,this.blockSize),T=this._process(!0)):(T=this._process(!0),N.unpad(T)),T},blockSize:128/32}),j=a.CipherParams=r.extend({init:function(T){this.mixIn(T)},toString:function(T){return(T||this.formatter).stringify(this)}}),Q=n.format={},V=Q.OpenSSL={stringify:function(T){var N,w=T.ciphertext,m=T.salt;return m?N=f.create([1398893684,1701076831]).concat(m).concat(w):N=w,N.toString(c)},parse:function(T){var N,w=c.parse(T),m=w.words;return m[0]==1398893684&&m[1]==1701076831&&(N=f.create(m.slice(2,4)),m.splice(0,4),w.sigBytes-=16),j.create({ciphertext:w,salt:N})}},X=a.SerializableCipher=r.extend({cfg:r.extend({format:V}),encrypt:function(T,N,w,m){m=this.cfg.extend(m);var A=T.createEncryptor(w,m),P=A.finalize(N),L=A.cfg;return j.create({ciphertext:P,key:w,iv:L.iv,algorithm:T,mode:L.mode,padding:L.padding,blockSize:T.blockSize,formatter:m.format})},decrypt:function(T,N,w,m){m=this.cfg.extend(m),N=this._parse(N,m.format);var A=T.createDecryptor(w,m).finalize(N.ciphertext);return A},_parse:function(T,N){return typeof T=="string"?N.parse(T,this):T}}),K=n.kdf={},G=K.OpenSSL={execute:function(T,N,w,m,A){if(m||(m=f.random(64/8)),A)var P=l.create({keySize:N+w,hasher:A}).compute(T,m);else var P=l.create({keySize:N+w}).compute(T,m);var L=f.create(P.words.slice(N),w*4);return P.sigBytes=N*4,j.create({key:P,iv:L,salt:m})}},R=a.PasswordBasedCipher=X.extend({cfg:X.cfg.extend({kdf:G}),encrypt:function(T,N,w,m){m=this.cfg.extend(m);var A=m.kdf.execute(w,T.keySize,T.ivSize,m.salt,m.hasher);m.iv=A.iv;var P=X.encrypt.call(this,T,N,A.key,m);return P.mixIn(A),P},decrypt:function(T,N,w,m){m=this.cfg.extend(m),N=this._parse(N,m.format);var A=m.kdf.execute(w,T.keySize,T.ivSize,N.salt,m.hasher);m.iv=A.iv;var P=X.decrypt.call(this,T,N,A.key,m);return P}})}()})});var JJe=D((ej,$Je)=>{u();p();(function(t,e,n){typeof ej=="object"?$Je.exports=ej=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(ej,function(t){return t.mode.CFB=function(){var e=t.lib.BlockCipherMode.extend();e.Encryptor=e.extend({processBlock:function(a,r){var f=this._cipher,i=f.blockSize;n.call(this,a,r,i,f),this._prevBlock=a.slice(r,r+i)}}),e.Decryptor=e.extend({processBlock:function(a,r){var f=this._cipher,i=f.blockSize,s=a.slice(r,r+i);n.call(this,a,r,i,f),this._prevBlock=s}});function n(a,r,f,i){var s,o=this._iv;o?(s=o.slice(0),this._iv=void 0):s=this._prevBlock,i.encryptBlock(s,0);for(var c=0;c{u();p();(function(t,e,n){typeof tj=="object"?XJe.exports=tj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(tj,function(t){return t.mode.CTR=function(){var e=t.lib.BlockCipherMode.extend(),n=e.Encryptor=e.extend({processBlock:function(a,r){var f=this._cipher,i=f.blockSize,s=this._iv,o=this._counter;s&&(o=this._counter=s.slice(0),this._iv=void 0);var c=o.slice(0);f.encryptBlock(c,0),o[i-1]=o[i-1]+1|0;for(var d=0;d{u();p();(function(t,e,n){typeof nj=="object"?eXe.exports=nj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(nj,function(t){return t.mode.CTRGladman=function(){var e=t.lib.BlockCipherMode.extend();function n(f){if((f>>24&255)===255){var i=f>>16&255,s=f>>8&255,o=f&255;i===255?(i=0,s===255?(s=0,o===255?o=0:++o):++s):++i,f=0,f+=i<<16,f+=s<<8,f+=o}else f+=1<<24;return f}function a(f){return(f[0]=n(f[0]))===0&&(f[1]=n(f[1])),f}var r=e.Encryptor=e.extend({processBlock:function(f,i){var s=this._cipher,o=s.blockSize,c=this._iv,d=this._counter;c&&(d=this._counter=c.slice(0),this._iv=void 0),a(d);var l=d.slice(0);s.encryptBlock(l,0);for(var h=0;h{u();p();(function(t,e,n){typeof aj=="object"?nXe.exports=aj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(aj,function(t){return t.mode.OFB=function(){var e=t.lib.BlockCipherMode.extend(),n=e.Encryptor=e.extend({processBlock:function(a,r){var f=this._cipher,i=f.blockSize,s=this._iv,o=this._keystream;s&&(o=this._keystream=s.slice(0),this._iv=void 0),f.encryptBlock(o,0);for(var c=0;c{u();p();(function(t,e,n){typeof rj=="object"?rXe.exports=rj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(rj,function(t){return t.mode.ECB=function(){var e=t.lib.BlockCipherMode.extend();return e.Encryptor=e.extend({processBlock:function(n,a){this._cipher.encryptBlock(n,a)}}),e.Decryptor=e.extend({processBlock:function(n,a){this._cipher.decryptBlock(n,a)}}),e}(),t.mode.ECB})});var sXe=D((fj,iXe)=>{u();p();(function(t,e,n){typeof fj=="object"?iXe.exports=fj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(fj,function(t){return t.pad.AnsiX923={pad:function(e,n){var a=e.sigBytes,r=n*4,f=r-a%r,i=a+f-1;e.clamp(),e.words[i>>>2]|=f<<24-i%4*8,e.sigBytes+=f},unpad:function(e){var n=e.words[e.sigBytes-1>>>2]&255;e.sigBytes-=n}},t.pad.Ansix923})});var cXe=D((ij,oXe)=>{u();p();(function(t,e,n){typeof ij=="object"?oXe.exports=ij=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(ij,function(t){return t.pad.Iso10126={pad:function(e,n){var a=n*4,r=a-e.sigBytes%a;e.concat(t.lib.WordArray.random(r-1)).concat(t.lib.WordArray.create([r<<24],1))},unpad:function(e){var n=e.words[e.sigBytes-1>>>2]&255;e.sigBytes-=n}},t.pad.Iso10126})});var lXe=D((sj,dXe)=>{u();p();(function(t,e,n){typeof sj=="object"?dXe.exports=sj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(sj,function(t){return t.pad.Iso97971={pad:function(e,n){e.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(e,n)},unpad:function(e){t.pad.ZeroPadding.unpad(e),e.sigBytes--}},t.pad.Iso97971})});var pXe=D((oj,uXe)=>{u();p();(function(t,e,n){typeof oj=="object"?uXe.exports=oj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(oj,function(t){return t.pad.ZeroPadding={pad:function(e,n){var a=n*4;e.clamp(),e.sigBytes+=a-(e.sigBytes%a||a)},unpad:function(e){for(var n=e.words,a=e.sigBytes-1,a=e.sigBytes-1;a>=0;a--)if(n[a>>>2]>>>24-a%4*8&255){e.sigBytes=a+1;break}}},t.pad.ZeroPadding})});var bXe=D((cj,hXe)=>{u();p();(function(t,e,n){typeof cj=="object"?hXe.exports=cj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(cj,function(t){return t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding})});var yXe=D((dj,mXe)=>{u();p();(function(t,e,n){typeof dj=="object"?mXe.exports=dj=e(Zn(),Xi()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(dj,function(t){return function(e){var n=t,a=n.lib,r=a.CipherParams,f=n.enc,i=f.Hex,s=n.format,o=s.Hex={stringify:function(c){return c.ciphertext.toString(i)},parse:function(c){var d=i.parse(c);return r.create({ciphertext:d})}}}(),t.format.Hex})});var vXe=D((lj,gXe)=>{u();p();(function(t,e,n){typeof lj=="object"?gXe.exports=lj=e(Zn(),zb(),Wb(),q8(),Xi()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(lj,function(t){return function(){var e=t,n=e.lib,a=n.BlockCipher,r=e.algo,f=[],i=[],s=[],o=[],c=[],d=[],l=[],h=[],y=[],v=[];(function(){for(var F=[],z=0;z<256;z++)z<128?F[z]=z<<1:F[z]=z<<1^283;for(var W=0,j=0,z=0;z<256;z++){var Q=j^j<<1^j<<2^j<<3^j<<4;Q=Q>>>8^Q&255^99,f[W]=Q,i[Q]=W;var V=F[W],X=F[V],K=F[X],G=F[Q]*257^Q*16843008;s[W]=G<<24|G>>>8,o[W]=G<<16|G>>>16,c[W]=G<<8|G>>>24,d[W]=G;var G=K*16843009^X*65537^V*257^W*16843008;l[Q]=G<<24|G>>>8,h[Q]=G<<16|G>>>16,y[Q]=G<<8|G>>>24,v[Q]=G,W?(W=V^F[F[F[K^V]]],j^=F[F[j]]):W=j=1}})();var k=[0,1,2,4,8,16,32,64,128,27,54],O=r.AES=a.extend({_doReset:function(){var F;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var z=this._keyPriorReset=this._key,W=z.words,j=z.sigBytes/4,Q=this._nRounds=j+6,V=(Q+1)*4,X=this._keySchedule=[],K=0;K6&&K%j==4&&(F=f[F>>>24]<<24|f[F>>>16&255]<<16|f[F>>>8&255]<<8|f[F&255]):(F=F<<8|F>>>24,F=f[F>>>24]<<24|f[F>>>16&255]<<16|f[F>>>8&255]<<8|f[F&255],F^=k[K/j|0]<<24),X[K]=X[K-j]^F);for(var G=this._invKeySchedule=[],R=0;R>>24]]^h[f[F>>>16&255]]^y[f[F>>>8&255]]^v[f[F&255]]}}},encryptBlock:function(F,z){this._doCryptBlock(F,z,this._keySchedule,s,o,c,d,f)},decryptBlock:function(F,z){var W=F[z+1];F[z+1]=F[z+3],F[z+3]=W,this._doCryptBlock(F,z,this._invKeySchedule,l,h,y,v,i);var W=F[z+1];F[z+1]=F[z+3],F[z+3]=W},_doCryptBlock:function(F,z,W,j,Q,V,X,K){for(var G=this._nRounds,R=F[z]^W[0],T=F[z+1]^W[1],N=F[z+2]^W[2],w=F[z+3]^W[3],m=4,A=1;A>>24]^Q[T>>>16&255]^V[N>>>8&255]^X[w&255]^W[m++],L=j[T>>>24]^Q[N>>>16&255]^V[w>>>8&255]^X[R&255]^W[m++],x=j[N>>>24]^Q[w>>>16&255]^V[R>>>8&255]^X[T&255]^W[m++],g=j[w>>>24]^Q[R>>>16&255]^V[T>>>8&255]^X[N&255]^W[m++];R=P,T=L,N=x,w=g}var P=(K[R>>>24]<<24|K[T>>>16&255]<<16|K[N>>>8&255]<<8|K[w&255])^W[m++],L=(K[T>>>24]<<24|K[N>>>16&255]<<16|K[w>>>8&255]<<8|K[R&255])^W[m++],x=(K[N>>>24]<<24|K[w>>>16&255]<<16|K[R>>>8&255]<<8|K[T&255])^W[m++],g=(K[w>>>24]<<24|K[R>>>16&255]<<16|K[T>>>8&255]<<8|K[N&255])^W[m++];F[z]=P,F[z+1]=L,F[z+2]=x,F[z+3]=g},keySize:256/32});e.AES=a._createHelper(O)}(),t.AES})});var TXe=D((uj,wXe)=>{u();p();(function(t,e,n){typeof uj=="object"?wXe.exports=uj=e(Zn(),zb(),Wb(),q8(),Xi()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(uj,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=n.BlockCipher,f=e.algo,i=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],o=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],l=f.DES=r.extend({_doReset:function(){for(var k=this._key,O=k.words,F=[],z=0;z<56;z++){var W=i[z]-1;F[z]=O[W>>>5]>>>31-W%32&1}for(var j=this._subKeys=[],Q=0;Q<16;Q++){for(var V=j[Q]=[],X=o[Q],z=0;z<24;z++)V[z/6|0]|=F[(s[z]-1+X)%28]<<31-z%6,V[4+(z/6|0)]|=F[28+(s[z+24]-1+X)%28]<<31-z%6;V[0]=V[0]<<1|V[0]>>>31;for(var z=1;z<7;z++)V[z]=V[z]>>>(z-1)*4+3;V[7]=V[7]<<5|V[7]>>>27}for(var K=this._invSubKeys=[],z=0;z<16;z++)K[z]=j[15-z]},encryptBlock:function(k,O){this._doCryptBlock(k,O,this._subKeys)},decryptBlock:function(k,O){this._doCryptBlock(k,O,this._invSubKeys)},_doCryptBlock:function(k,O,F){this._lBlock=k[O],this._rBlock=k[O+1],h.call(this,4,252645135),h.call(this,16,65535),y.call(this,2,858993459),y.call(this,8,16711935),h.call(this,1,1431655765);for(var z=0;z<16;z++){for(var W=F[z],j=this._lBlock,Q=this._rBlock,V=0,X=0;X<8;X++)V|=c[X][((Q^W[X])&d[X])>>>0];this._lBlock=Q,this._rBlock=j^V}var K=this._lBlock;this._lBlock=this._rBlock,this._rBlock=K,h.call(this,1,1431655765),y.call(this,8,16711935),y.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),k[O]=this._lBlock,k[O+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function h(k,O){var F=(this._lBlock>>>k^this._rBlock)&O;this._rBlock^=F,this._lBlock^=F<>>k^this._lBlock)&O;this._lBlock^=F,this._rBlock^=F<192.");var F=O.slice(0,2),z=O.length<4?O.slice(0,2):O.slice(2,4),W=O.length<6?O.slice(0,2):O.slice(4,6);this._des1=l.createEncryptor(a.create(F)),this._des2=l.createEncryptor(a.create(z)),this._des3=l.createEncryptor(a.create(W))},encryptBlock:function(k,O){this._des1.encryptBlock(k,O),this._des2.decryptBlock(k,O),this._des3.encryptBlock(k,O)},decryptBlock:function(k,O){this._des3.decryptBlock(k,O),this._des2.encryptBlock(k,O),this._des1.decryptBlock(k,O)},keySize:192/32,ivSize:64/32,blockSize:64/32});e.TripleDES=r._createHelper(v)}(),t.TripleDES})});var EXe=D((pj,xXe)=>{u();p();(function(t,e,n){typeof pj=="object"?xXe.exports=pj=e(Zn(),zb(),Wb(),q8(),Xi()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(pj,function(t){return function(){var e=t,n=e.lib,a=n.StreamCipher,r=e.algo,f=r.RC4=a.extend({_doReset:function(){for(var o=this._key,c=o.words,d=o.sigBytes,l=this._S=[],h=0;h<256;h++)l[h]=h;for(var h=0,y=0;h<256;h++){var v=h%d,k=c[v>>>2]>>>24-v%4*8&255;y=(y+l[h]+k)%256;var O=l[h];l[h]=l[y],l[y]=O}this._i=this._j=0},_doProcessBlock:function(o,c){o[c]^=i.call(this)},keySize:256/32,ivSize:0});function i(){for(var o=this._S,c=this._i,d=this._j,l=0,h=0;h<4;h++){c=(c+1)%256,d=(d+o[c])%256;var y=o[c];o[c]=o[d],o[d]=y,l|=o[(o[c]+o[d])%256]<<24-h*8}return this._i=c,this._j=d,l}e.RC4=a._createHelper(f);var s=r.RC4Drop=f.extend({cfg:f.cfg.extend({drop:192}),_doReset:function(){f._doReset.call(this);for(var o=this.cfg.drop;o>0;o--)i.call(this)}});e.RC4Drop=a._createHelper(s)}(),t.RC4})});var AXe=D((hj,_Xe)=>{u();p();(function(t,e,n){typeof hj=="object"?_Xe.exports=hj=e(Zn(),zb(),Wb(),q8(),Xi()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(hj,function(t){return function(){var e=t,n=e.lib,a=n.StreamCipher,r=e.algo,f=[],i=[],s=[],o=r.Rabbit=a.extend({_doReset:function(){for(var d=this._key.words,l=this.cfg.iv,h=0;h<4;h++)d[h]=(d[h]<<8|d[h]>>>24)&16711935|(d[h]<<24|d[h]>>>8)&4278255360;var y=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],v=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var h=0;h<4;h++)c.call(this);for(var h=0;h<8;h++)v[h]^=y[h+4&7];if(l){var k=l.words,O=k[0],F=k[1],z=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,W=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,j=z>>>16|W&4294901760,Q=W<<16|z&65535;v[0]^=z,v[1]^=j,v[2]^=W,v[3]^=Q,v[4]^=z,v[5]^=j,v[6]^=W,v[7]^=Q;for(var h=0;h<4;h++)c.call(this)}},_doProcessBlock:function(d,l){var h=this._X;c.call(this),f[0]=h[0]^h[5]>>>16^h[3]<<16,f[1]=h[2]^h[7]>>>16^h[5]<<16,f[2]=h[4]^h[1]>>>16^h[7]<<16,f[3]=h[6]^h[3]>>>16^h[1]<<16;for(var y=0;y<4;y++)f[y]=(f[y]<<8|f[y]>>>24)&16711935|(f[y]<<24|f[y]>>>8)&4278255360,d[l+y]^=f[y]},blockSize:128/32,ivSize:64/32});function c(){for(var d=this._X,l=this._C,h=0;h<8;h++)i[h]=l[h];l[0]=l[0]+1295307597+this._b|0,l[1]=l[1]+3545052371+(l[0]>>>0>>0?1:0)|0,l[2]=l[2]+886263092+(l[1]>>>0>>0?1:0)|0,l[3]=l[3]+1295307597+(l[2]>>>0>>0?1:0)|0,l[4]=l[4]+3545052371+(l[3]>>>0>>0?1:0)|0,l[5]=l[5]+886263092+(l[4]>>>0>>0?1:0)|0,l[6]=l[6]+1295307597+(l[5]>>>0>>0?1:0)|0,l[7]=l[7]+3545052371+(l[6]>>>0>>0?1:0)|0,this._b=l[7]>>>0>>0?1:0;for(var h=0;h<8;h++){var y=d[h]+l[h],v=y&65535,k=y>>>16,O=((v*v>>>17)+v*k>>>15)+k*k,F=((y&4294901760)*y|0)+((y&65535)*y|0);s[h]=O^F}d[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,d[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,d[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,d[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,d[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,d[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,d[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,d[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.Rabbit=a._createHelper(o)}(),t.Rabbit})});var IXe=D((bj,CXe)=>{u();p();(function(t,e,n){typeof bj=="object"?CXe.exports=bj=e(Zn(),zb(),Wb(),q8(),Xi()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(bj,function(t){return function(){var e=t,n=e.lib,a=n.StreamCipher,r=e.algo,f=[],i=[],s=[],o=r.RabbitLegacy=a.extend({_doReset:function(){var d=this._key.words,l=this.cfg.iv,h=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],y=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var v=0;v<4;v++)c.call(this);for(var v=0;v<8;v++)y[v]^=h[v+4&7];if(l){var k=l.words,O=k[0],F=k[1],z=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,W=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,j=z>>>16|W&4294901760,Q=W<<16|z&65535;y[0]^=z,y[1]^=j,y[2]^=W,y[3]^=Q,y[4]^=z,y[5]^=j,y[6]^=W,y[7]^=Q;for(var v=0;v<4;v++)c.call(this)}},_doProcessBlock:function(d,l){var h=this._X;c.call(this),f[0]=h[0]^h[5]>>>16^h[3]<<16,f[1]=h[2]^h[7]>>>16^h[5]<<16,f[2]=h[4]^h[1]>>>16^h[7]<<16,f[3]=h[6]^h[3]>>>16^h[1]<<16;for(var y=0;y<4;y++)f[y]=(f[y]<<8|f[y]>>>24)&16711935|(f[y]<<24|f[y]>>>8)&4278255360,d[l+y]^=f[y]},blockSize:128/32,ivSize:64/32});function c(){for(var d=this._X,l=this._C,h=0;h<8;h++)i[h]=l[h];l[0]=l[0]+1295307597+this._b|0,l[1]=l[1]+3545052371+(l[0]>>>0>>0?1:0)|0,l[2]=l[2]+886263092+(l[1]>>>0>>0?1:0)|0,l[3]=l[3]+1295307597+(l[2]>>>0>>0?1:0)|0,l[4]=l[4]+3545052371+(l[3]>>>0>>0?1:0)|0,l[5]=l[5]+886263092+(l[4]>>>0>>0?1:0)|0,l[6]=l[6]+1295307597+(l[5]>>>0>>0?1:0)|0,l[7]=l[7]+3545052371+(l[6]>>>0>>0?1:0)|0,this._b=l[7]>>>0>>0?1:0;for(var h=0;h<8;h++){var y=d[h]+l[h],v=y&65535,k=y>>>16,O=((v*v>>>17)+v*k>>>15)+k*k,F=((y&4294901760)*y|0)+((y&65535)*y|0);s[h]=O^F}d[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,d[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,d[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,d[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,d[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,d[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,d[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,d[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.RabbitLegacy=a._createHelper(o)}(),t.RabbitLegacy})});var SXe=D((mj,kXe)=>{u();p();(function(t,e,n){typeof mj=="object"?kXe.exports=mj=e(Zn(),zb(),Wb(),q8(),Xi()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(mj,function(t){return function(){var e=t,n=e.lib,a=n.BlockCipher,r=e.algo;let f=16,i=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var o={pbox:[],sbox:[]};function c(v,k){let O=k>>24&255,F=k>>16&255,z=k>>8&255,W=k&255,j=v.sbox[0][O]+v.sbox[1][F];return j=j^v.sbox[2][z],j=j+v.sbox[3][W],j}function d(v,k,O){let F=k,z=O,W;for(let j=0;j1;--j)F=F^v.pbox[j],z=c(v,F)^z,W=F,F=z,z=W;return W=F,F=z,z=W,z=z^v.pbox[1],F=F^v.pbox[0],{left:F,right:z}}function h(v,k,O){for(let Q=0;Q<4;Q++){v.sbox[Q]=[];for(let V=0;V<256;V++)v.sbox[Q][V]=s[Q][V]}let F=0;for(let Q=0;Q=O&&(F=0);let z=0,W=0,j=0;for(let Q=0;Q{u();p();(function(t,e,n){typeof yj=="object"?RXe.exports=yj=e(Zn(),AR(),kJe(),RJe(),zb(),DJe(),Wb(),fce(),Fx(),NJe(),ice(),HJe(),WJe(),jJe(),$q(),QJe(),q8(),Xi(),JJe(),ZJe(),tXe(),aXe(),fXe(),sXe(),cXe(),lXe(),pXe(),bXe(),yXe(),vXe(),TXe(),EXe(),AXe(),IXe(),SXe()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./enc-base64url","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy","./blowfish"],e):t.CryptoJS=e(t.CryptoJS)})(yj,function(t){return t})});var CR=D(e9=>{"use strict";u();p();var PGt=e9&&e9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e9,"__esModule",{value:!0});e9.Base=void 0;var oo=Kf(),sce=PGt(MXe()),gj=class t{print(){t.print(this)}bufferIndexOf(e,n,a=!1){if(a)return this.binarySearch(e,n,oo.Buffer.compare);let r=(f,i)=>f.equals(i);return this.linearSearch(e,n,r)}static binarySearch(e,n,a){let r=0,f=e.length-1;for(;r<=f;){let i=Math.floor((r+f)/2),s=a(e[i],n);if(s===0){for(let o=i-1;o>=0;o--)if(a(e[o],n)!==0)return o+1;return 0}else s<0?r=i+1:f=i-1}return-1}binarySearch(e,n,a){return t.binarySearch(e,n,a)}static linearSearch(e,n,a){for(let r=0;r{let a=e(n);return oo.Buffer.isBuffer(a)?a:this.isHexString(a)?oo.Buffer.from(a.replace("0x",""),"hex"):typeof a=="string"?oo.Buffer.from(a):typeof a=="bigint"?oo.Buffer.from(n.toString(16),"hex"):ArrayBuffer.isView(a)?oo.Buffer.from(a.buffer,a.byteOffset,a.byteLength):oo.Buffer.from(e(sce.default.enc.Hex.parse(n.toString("hex"))).toString(sce.default.enc.Hex),"hex")}}isHexString(e){return t.isHexString(e)}log2(e){return e===1?0:1+this.log2(e/2|0)}zip(e,n){return e.map((a,r)=>[a,n[r]])}static hexZeroPad(e,n){return"0x"+e.replace("0x","").padStart(n,"0")}};e9.Base=gj;e9.default=gj});var BXe=D(t9=>{"use strict";u();p();var vj=t9&&t9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(t9,"__esModule",{value:!0});t9.MerkleTree=void 0;var As=Kf(),j8=vj(ace()),oce=vj(Fx()),LGt=vj(Fq()),FGt=vj(CR()),IR=class t extends FGt.default{constructor(e,n=oce.default,a={}){if(super(),this.duplicateOdd=!1,this.concatenator=As.Buffer.concat,this.hashLeaves=!1,this.isBitcoinTree=!1,this.leaves=[],this.layers=[],this.sortLeaves=!1,this.sortPairs=!1,this.sort=!1,this.fillDefaultHash=null,this.complete=!1,a.complete){if(a.isBitcoinTree)throw new Error('option "complete" is incompatible with "isBitcoinTree"');if(a.duplicateOdd)throw new Error('option "complete" is incompatible with "duplicateOdd"')}if(this.isBitcoinTree=!!a.isBitcoinTree,this.hashLeaves=!!a.hashLeaves,this.sortLeaves=!!a.sortLeaves,this.sortPairs=!!a.sortPairs,this.complete=!!a.complete,a.fillDefaultHash)if(typeof a.fillDefaultHash=="function")this.fillDefaultHash=a.fillDefaultHash;else if(As.Buffer.isBuffer(a.fillDefaultHash)||typeof a.fillDefaultHash=="string")this.fillDefaultHash=(r,f)=>a.fillDefaultHash;else throw new Error('method "fillDefaultHash" must be a function, Buffer, or string');this.sort=!!a.sort,this.sort&&(this.sortLeaves=!0,this.sortPairs=!0),this.duplicateOdd=!!a.duplicateOdd,a.concatenator&&(this.concatenator=a.concatenator),this.hashFn=this.bufferifyFn(n),this.processLeaves(e)}getOptions(){var e,n;return{complete:this.complete,isBitcoinTree:this.isBitcoinTree,hashLeaves:this.hashLeaves,sortLeaves:this.sortLeaves,sortPairs:this.sortPairs,sort:this.sort,fillDefaultHash:(n=(e=this.fillDefaultHash)===null||e===void 0?void 0:e.toString())!==null&&n!==void 0?n:null,duplicateOdd:this.duplicateOdd}}processLeaves(e){if(this.hashLeaves&&(e=e.map(this.hashFn)),this.leaves=e.map(this.bufferify),this.sortLeaves&&(this.leaves=this.leaves.sort(As.Buffer.compare)),this.fillDefaultHash)for(let n=this.leaves.length;n1;){let n=this.layers.length;this.layers.push([]);let a=this.complete&&n===1&&!Number.isInteger(Math.log2(e.length))?2*e.length-Math.pow(2,Math.ceil(Math.log2(e.length))):e.length;for(let r=0;r=a){this.layers[n].push(...e.slice(a));break}else if(r+1===e.length&&e.length%2===1){let c=e[e.length-1],d=c;if(this.isBitcoinTree){d=this.hashFn(this.concatenator([j8.default(c),j8.default(c)])),d=j8.default(this.hashFn(d)),this.layers[n].push(d);continue}else if(!this.duplicateOdd){this.layers[n].push(e[r]);continue}}let f=e[r],i=r+1===e.length?f:e[r+1],s=null;this.isBitcoinTree?s=[j8.default(f),j8.default(i)]:s=[f,i],this.sortPairs&&s.sort(As.Buffer.compare);let o=this.hashFn(this.concatenator(s));this.isBitcoinTree&&(o=j8.default(this.hashFn(o))),this.layers[n].push(o)}e=this.layers[n]}}addLeaf(e,n=!1){n&&(e=this.hashFn(e)),this.processLeaves(this.leaves.concat(e))}addLeaves(e,n=!1){n&&(e=e.map(this.hashFn)),this.processLeaves(this.leaves.concat(e))}getLeaves(e){return Array.isArray(e)?(this.hashLeaves&&(e=e.map(this.hashFn),this.sortLeaves&&(e=e.sort(As.Buffer.compare))),this.leaves.filter(n=>this.bufferIndexOf(e,n,this.sortLeaves)!==-1)):this.leaves}getLeaf(e){return e<0||e>this.leaves.length-1?As.Buffer.from([]):this.leaves[e]}getLeafIndex(e){e=this.bufferify(e);let n=this.getLeaves();for(let a=0;athis.bufferToHex(e))}static marshalLeaves(e){return JSON.stringify(e.map(n=>t.bufferToHex(n)),null,2)}static unmarshalLeaves(e){let n=null;if(typeof e=="string")n=JSON.parse(e);else if(e instanceof Object)n=e;else throw new Error("Expected type of string or object");if(!n)return[];if(!Array.isArray(n))throw new Error("Expected JSON string to be array");return n.map(t.bufferify)}getLayers(){return this.layers}getHexLayers(){return this.layers.reduce((e,n)=>(Array.isArray(n)?e.push(n.map(a=>this.bufferToHex(a))):e.push(n),e),[])}getLayersFlat(){let e=this.layers.reduce((n,a)=>(Array.isArray(a)?n.unshift(...a):n.unshift(a),n),[]);return e.unshift(As.Buffer.from([0])),e}getHexLayersFlat(){return this.getLayersFlat().map(e=>this.bufferToHex(e))}getLayerCount(){return this.getLayers().length}getRoot(){return this.layers.length===0?As.Buffer.from([]):this.layers[this.layers.length-1][0]||As.Buffer.from([])}getHexRoot(){return this.bufferToHex(this.getRoot())}getProof(e,n){if(typeof e>"u")throw new Error("leaf is required");e=this.bufferify(e);let a=[];if(!Number.isInteger(n)){n=-1;for(let r=0;rthis.bufferToHex(a.data))}getProofs(){let e=[],n=[];return this.getProofsDFS(this.layers.length-1,0,e,n),n}getProofsDFS(e,n,a,r){let f=n%2;if(e===-1){f||r.push([...a].reverse());return}if(n>=this.layers[e].length)return;let i=this.layers[e],s=f?n-1:n+1,o=!1;sthis.bufferToHex(e.data))}getPositionalHexProof(e,n){return this.getProof(e,n).map(a=>[a.position==="left"?0:1,this.bufferToHex(a.data)])}static marshalProof(e){let n=e.map(a=>typeof a=="string"?a:As.Buffer.isBuffer(a)?t.bufferToHex(a):{position:a.position,data:t.bufferToHex(a.data)});return JSON.stringify(n,null,2)}static unmarshalProof(e){let n=null;if(typeof e=="string")n=JSON.parse(e);else if(e instanceof Object)n=e;else throw new Error("Expected type of string or object");if(!n)return[];if(!Array.isArray(n))throw new Error("Expected JSON string to be array");return n.map(a=>{if(typeof a=="string")return t.bufferify(a);if(a instanceof Object)return{position:a.position,data:t.bufferify(a.data)};throw new Error("Expected item to be of type string or object")})}static marshalTree(e){let n=e.getHexRoot(),a=e.leaves.map(i=>t.bufferToHex(i)),r=e.getHexLayers(),f=e.getOptions();return JSON.stringify({options:f,root:n,layers:r,leaves:a},null,2)}static unmarshalTree(e,n=oce.default,a={}){let r=null;if(typeof e=="string")r=JSON.parse(e);else if(e instanceof Object)r=e;else throw new Error("Expected type of string or object");if(!r)throw new Error("could not parse json");return a=Object.assign({},r.options||{},a),new t(r.leaves,n,a)}getProofIndices(e,n){let a=Math.pow(2,n),r=new Set;for(let c of e){let d=a+c;for(;d>1;)r.add(d^1),d=d/2|0}let f=e.map(c=>a+c),i=Array.from(r).sort((c,d)=>c-d).reverse();r=f.concat(i);let s=new Set,o=[];for(let c of r)if(!s.has(c))for(o.push(c);c>1&&(s.add(c),!!s.has(c^1));)c=c/2|0;return o.filter(c=>!e.includes(c-a))}getProofIndicesForUnevenTree(e,n){let a=Math.ceil(Math.log2(n)),r=[];for(let s=0;sl%2===0?l+1:l-1).filter(l=>!i.includes(l)),d=r.find(({index:l})=>l===s);d&&i.includes(d.leavesCount-1)&&(c=c.slice(0,-1)),f.push(c),i=[...new Set(i.map(l=>l%2===0?l/2:l%2===0?(l+1)/2:(l-1)/2))]}return f}getMultiProof(e,n){if(this.complete||console.warn("Warning: For correct multiProofs it's strongly recommended to set complete: true"),n||(n=e,e=this.getLayersFlat()),this.isUnevenTree()&&n.every(Number.isInteger))return this.getMultiProofForUnevenTree(n);if(!n.every(Number.isInteger)){let r=n;this.sortPairs&&(r=r.sort(As.Buffer.compare));let f=r.map(c=>this.bufferIndexOf(this.leaves,c,this.sortLeaves)).sort((c,d)=>c===d?0:c>d?1:-1);if(!f.every(c=>c!==-1))throw new Error("Element does not exist in Merkle tree");let i=[],s=[],o=[];for(let c=0;cy.indexOf(l)===h),o=[]}return s.filter(c=>!i.includes(c))}return this.getProofIndices(n,Math.log2(e.length/2|0)).map(r=>e[r])}getMultiProofForUnevenTree(e,n){n||(n=e,e=this.getLayers());let a=[],r=n;for(let f of e){let i=[];for(let o of r){if(o%2===0){let d=o+1;if(!r.includes(d)&&f[d]){i.push(f[d]);continue}}let c=o-1;if(!r.includes(c)&&f[c]){i.push(f[c]);continue}}a=a.concat(i);let s=new Set;for(let o of r){if(o%2===0){s.add(o/2);continue}if(o%2===0){s.add((o+1)/2);continue}s.add((o-1)/2)}r=Array.from(s)}return a}getHexMultiProof(e,n){return this.getMultiProof(e,n).map(a=>this.bufferToHex(a))}getProofFlags(e,n){if(!Array.isArray(e)||e.length<=0)throw new Error("Invalid Inputs!");let a;if(e.every(Number.isInteger)?a=[...e].sort((s,o)=>s===o?0:s>o?1:-1):a=e.map(s=>this.bufferIndexOf(this.leaves,s,this.sortLeaves)).sort((s,o)=>s===o?0:s>o?1:-1),!a.every(s=>s!==-1))throw new Error("Element does not exist in Merkle tree");let r=n.map(s=>this.bufferify(s)),f=[],i=[];for(let s=0;s{if(!f.includes(o[d])){let h=this.getPairNode(o,d),y=r.includes(o[d])||r.includes(h);h&&i.push(!y),f.push(o[d]),f.push(h)}return c.push(d/2|0),c},[])}return i}verify(e,n,a){let r=this.bufferify(n);if(a=this.bufferify(a),!Array.isArray(e)||!n||!a)return!1;for(let f=0;fthis.bufferify(l)),f=f.map(l=>this.bufferify(l));let o={};for(let[l,h]of this.zip(n,a))o[Math.pow(2,s)+l]=h;for(let[l,h]of this.zip(this.getProofIndices(n,s),f))o[l]=h;let c=Object.keys(o).map(l=>+l).sort((l,h)=>l-h);c=c.slice(0,c.length-1);let d=0;for(;d=2&&{}.hasOwnProperty.call(o,l^1)){let h=[o[l-l%2],o[l-l%2+1]];this.sortPairs&&(h=h.sort(As.Buffer.compare));let y=h[1]?this.hashFn(this.concatenator(h)):h[0];o[l/2|0]=y,c.push(l/2|0)}d+=1}return!n.length||{}.hasOwnProperty.call(o,1)&&o[1].equals(e)}verifyMultiProofWithFlags(e,n,a,r){e=this.bufferify(e),n=n.map(this.bufferify),a=a.map(this.bufferify);let f=n.length,i=r.length,s=[],o=0,c=0,d=0;for(let l=0;lthis.bufferify(s)),f=f.map(s=>this.bufferify(s));let i=this.calculateRootForUnevenTree(n,a,r,f);return e.equals(i)}getDepth(){return this.getLayers().length-1}getLayersAsObject(){let e=this.getLayers().map(a=>a.map(r=>this.bufferToHex(r,!1))),n=[];for(let a=0;al-h),i=f.map(([l])=>l),s=this.getProofIndicesForUnevenTree(i,a),o=0,c=[];for(let l=0;lO-F).map(([,O])=>O),y=d[l].map(([O])=>O),v=[...new Set(y.map(O=>O%2===0?O/2:O%2===0?(O+1)/2:(O-1)/2))],k=[];for(let O=0;O{"use strict";u();p();var DXe=n9&&n9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n9,"__esModule",{value:!0});n9.MerkleMountainRange=void 0;var kR=Kf(),NGt=DXe(Fx()),OGt=DXe(CR()),SR=class extends OGt.default{constructor(e=NGt.default,n=[],a,r,f){super(),this.root=kR.Buffer.alloc(0),this.size=0,this.width=0,this.hashes={},this.data={},n=n.map(this.bufferify),this.hashFn=this.bufferifyFn(e),this.hashLeafFn=a,this.peakBaggingFn=r,this.hashBranchFn=f;for(let i of n)this.append(i)}append(e){e=this.bufferify(e);let n=this.hashFn(e),a=this.bufferToHex(n);(!this.data[a]||this.bufferToHex(this.hashFn(this.data[a]))!==a)&&(this.data[a]=e);let r=this.hashLeaf(this.size+1,n);this.hashes[this.size+1]=r,this.width+=1;let f=this.getPeakIndexes(this.width);this.size=this.getSize(this.width);let i=[];for(let s=0;s0&&!(e&1<=n));i--);if(r!==a.length)throw new Error("invalid bit calculation");return a}numOfPeaks(e){let n=e,a=0;for(;n>0;)n%2===1&&a++,n=n>>1;return a}peakBagging(e,n){let a=this.getSize(e);if(this.numOfPeaks(e)!==n.length)throw new Error("received invalid number of peaks");return e===0&&!n.length?kR.Buffer.alloc(0):this.peakBaggingFn?this.bufferify(this.peakBaggingFn(a,n)):this.hashFn(kR.Buffer.concat([this.bufferify(a),...n.map(this.bufferify)]))}getSize(e){return(e<<1)-this.numOfPeaks(e)}getRoot(){return this.root}getHexRoot(){return this.bufferToHex(this.getRoot())}getNode(e){return this.hashes[e]}mountainHeight(e){let n=1;for(;1<a;)n-=(1<this.size)throw new Error("out of range");if(!this.isLeaf(e))throw new Error("not a leaf");let n=this.root,a=this.width,r=this.getPeakIndexes(this.width),f=[],i=0;for(let l=0;l=e&&i===0&&(i=r[l]);let s=0,o=0,c=this.heightAt(i),d=[];for(;i!==e;)c--,[s,o]=this.getChildren(i),i=e<=s?s:o,d[c-1]=this.hashes[e<=s?o:s];return{root:n,width:a,peakBagging:f,siblings:d}}verify(e,n,a,r,f,i){if(r=this.bufferify(r),this.getSize(n)=a){c=f[O],o=d[O];break}if(!c)throw new Error("target not found");let l=i.length+1,h=new Array(l),y=0,v=0;for(;l>0&&(h[--l]=o,o!==a);)[y,v]=this.getChildren(o),o=a>y?v:y;let k;for(;lthis.size)throw new Error("out of range");if(!this.hashes[e]){let[n,a]=this.getChildren(e),r=this._getOrCreateNode(n),f=this._getOrCreateNode(a);this.hashes[e]=this.hashBranch(e,r,f)}return this.hashes[e]}};n9.MerkleMountainRange=SR;typeof window<"u"&&(window.MerkleMountainRange=SR);n9.default=SR});var FXe=D(a9=>{"use strict";u();p();var LXe=a9&&a9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(a9,"__esModule",{value:!0});a9.IncrementalMerkleTree=void 0;var UGt=LXe(CR()),HGt=LXe(Fq()),RR=class extends UGt.default{constructor(e,n){if(super(),this.hashFn=e,n.depth&&(this.depth=n.depth),n.arity&&(this.arity=n.arity),this.depth<1)throw new Error("depth must be greater than 0");if(this.arity<1)throw new Error("arity must be greater than 0");let a=[],r=n.zeroValue;if(this.zeroValue=r,this.zeroes=[],this.depth)for(let f=0;f=this.getMaxLeaves())throw new Error("tree is full");let n=e,a=this.nodes[0].length;for(let r=0;r=this.nodes[0].length)throw new Error("out of bounds");let a=n;for(let r=0;rBigInt(n))}getLayers(){let e=[];for(let n of this.nodes)e.push(this.copyList(n));if(e[0].length=e[a].length&&(e[a][s]=this.zeroes[a]);n=Math.floor(n/this.arity)}}return e.push([this.root]),e}getHexLayers(){return this.getLayers().reduce((e,n)=>(Array.isArray(n)?e.push(n.map(a=>this.bufferToHex(this.bufferify(a)))):e.push(n),e),[])}getLayersAsObject(){let e=this.getLayers().map(a=>a.map(r=>this.bufferToHex(this.bufferify(r),!1))),n=[];for(let a=0;a=this.nodes[0].length)throw new Error("The leaf does not exist in this tree");let n=[],a=[],r=e;for(let f=0;f{"use strict";u();p();Object.defineProperty(Il,"__esModule",{value:!0});Il.MerkleSumTree=Il.ProofStep=Il.Leaf=Il.Bucket=void 0;var zGt=CR(),Nx=class{constructor(e,n){this.size=BigInt(e),this.hashed=n,this.parent=null,this.left=null,this.right=null}};Il.Bucket=Nx;var cce=class{constructor(e,n,a){this.hashFn=e,this.rng=n.map(r=>BigInt(r)),this.data=a}getBucket(){let e;return this.data?e=this.hashFn(this.data):e=_.Buffer.alloc(32),new Nx(BigInt(this.rng[1])-BigInt(this.rng[0]),e)}};Il.Leaf=cce;var wj=class{constructor(e,n){this.bucket=e,this.right=n}};Il.ProofStep=wj;var MR=class t extends zGt.Base{constructor(e,n){super(),this.leaves=e,this.hashFn=n,t.checkConsecutive(e),this.buckets=[];for(let r of e)this.buckets.push(r.getBucket());let a=[];for(let r of this.buckets)a.push(r);for(;a.length!==1;){let r=[];for(;a.length;)if(a.length>=2){let f=a.shift(),i=a.shift(),s=f.size+i.size,o=this.hashFn(_.Buffer.concat([this.sizeToBuffer(f.size),this.bufferify(f.hashed),this.sizeToBuffer(i.size),this.bufferify(i.hashed)])),c=new Nx(s,o);i.parent=c,f.parent=i.parent,f.right=i,i.left=f,r.push(c)}else r.push(a.shift());a=r}this.root=a[0]}sizeToBuffer(e){let n=_.Buffer.alloc(8);return new DataView(n.buffer).setBigInt64(0,BigInt(e),!1),n}static checkConsecutive(e){let n=BigInt(0);for(let a of e){if(a.rng[0]!==n)throw new Error("leaf ranges are invalid");n=BigInt(a.rng[1])}}getProof(e){let n=this.buckets[Number(e)],a=[];for(;n&&n.parent;){let r=!!n.right,f=n.right?n.right:n.left;n=n.parent,a.push(new wj(f,r))}return a}sum(e){let n=BigInt(0);for(let a of e)n+=BigInt(a);return n}verifyProof(e,n,a){let r=[this.sum(a.filter(s=>!s.right).map(s=>s.bucket.size)),BigInt(e.size)-this.sum(a.filter(s=>s.right).map(s=>s.bucket.size))];if(!(r[0]===n.rng[0]&&r[1]===n.rng[1]))return!1;let f=n.getBucket(),i;for(let s of a)s.right?i=this.hashFn(_.Buffer.concat([this.sizeToBuffer(f.size),this.bufferify(f.hashed),this.sizeToBuffer(s.bucket.size),this.bufferify(s.bucket.hashed)])):i=this.hashFn(_.Buffer.concat([this.sizeToBuffer(s.bucket.size),this.bufferify(s.bucket.hashed),this.sizeToBuffer(f.size),this.bufferify(f.hashed)])),f=new Nx(BigInt(f.size)+BigInt(s.bucket.size),i);return f.size===e.size&&f.hashed.toString("hex")===e.hashed.toString("hex")}};Il.MerkleSumTree=MR;typeof window<"u"&&(window.MerkleSumTree=MR);Il.default=MR});var UXe=D(ou=>{"use strict";u();p();var WGt=ou&&ou.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ou,"__esModule",{value:!0});ou.MerkleTree=void 0;var OXe=WGt(BXe());ou.MerkleTree=OXe.default;var qGt=PXe();Object.defineProperty(ou,"MerkleMountainRange",{enumerable:!0,get:function(){return qGt.MerkleMountainRange}});var jGt=FXe();Object.defineProperty(ou,"IncrementalMerkleTree",{enumerable:!0,get:function(){return jGt.IncrementalMerkleTree}});var GGt=NXe();Object.defineProperty(ou,"MerkleSumTree",{enumerable:!0,get:function(){return GGt.MerkleSumTree}});ou.default=OXe.default});var Tj=D(cu=>{"use strict";u();p();var KGt=cu&&cu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(cu,"__esModule",{value:!0});cu.getLength=cu.decode=cu.encode=void 0;var QGt=KGt(Va());function zXe(t){if(Array.isArray(t)){for(var e=[],n=0;nt.length)throw new Error("invalid rlp: total length is larger than the data");if(r=t.slice(n,o),r.length===0)throw new Error("invalid rlp, List has a invalid length");for(;r.length;)f=lce(r),i.push(f.data),r=f.remainder;return{data:i,remainder:t.slice(o)}}}function WXe(t){return t.slice(0,2)==="0x"}function $Gt(t){return typeof t!="string"?t:WXe(t)?t.slice(2):t}function uce(t){if(t<0)throw new Error("Invalid integer as argument, must be unsigned!");var e=t.toString(16);return e.length%2?"0"+e:e}function JGt(t){return t.length%2?"0"+t:t}function XGt(t){var e=uce(t);return _.Buffer.from(e,"hex")}function pce(t){if(!_.Buffer.isBuffer(t)){if(typeof t=="string")return WXe(t)?_.Buffer.from(JGt($Gt(t)),"hex"):_.Buffer.from(t);if(typeof t=="number"||typeof t=="bigint")return t?XGt(t):_.Buffer.from([]);if(t==null)return _.Buffer.from([]);if(t instanceof Uint8Array)return _.Buffer.from(t);if(QGt.default.isBN(t))return _.Buffer.from(t.toArray());throw new Error("invalid type")}return t}});var jXe=D(V1=>{"use strict";u();p();var ZGt=V1&&V1.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),eKt=V1&&V1.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),tKt=V1&&V1.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&ZGt(e,t,n);return eKt(e,t),e};Object.defineProperty(V1,"__esModule",{value:!0});V1.makeStateTrieProof=V1.maybeAddProofNode=V1.makeMerkleTreeProof=void 0;var xj=Xe(),Ox=W8(),nKt=UXe(),qXe=tKt(Tj()),aKt=(t,e)=>{let n=Math.pow(2,Math.ceil(Math.log2(t.length))),a=[];for(let s=0;s(0,Ox.fromHexString)(xj.ethers.utils.keccak256(s))).getProof(r[e],e).map(s=>(0,Ox.toHexString)(s.data))};V1.makeMerkleTreeProof=aKt;var rKt=(t,e)=>{let n=[...e],a=n[n.length-1],r=qXe.decode(a);if(r.length===17){for(let f of r)if(Array.isArray(f)){let i=(0,Ox.toHexString)(f[0]).slice(3);t.endsWith(i)&&n.push((0,Ox.toHexString)(qXe.encode(f)))}}return n};V1.maybeAddProofNode=rKt;var fKt=async(t,e,n,a)=>{let r=await t.send("eth_getProof",[n,[a],(0,Ox.toRpcHexString)(e)]);return r.storageProof[0].proof=(0,V1.maybeAddProofNode)(xj.ethers.utils.keccak256(a),r.storageProof[0].proof),{accountProof:r.accountProof,storageProof:r.storageProof[0].proof,storageValue:xj.BigNumber.from(r.storageProof[0].value),storageRoot:r.storageHash}};V1.makeStateTrieProof=fKt});var GXe=D(qb=>{"use strict";u();p();Object.defineProperty(qb,"__esModule",{value:!0});qb.migratedWithdrawalGasLimit=qb.hashMessageHash=qb.hashLowLevelMessage=void 0;var iKt=W8(),zc=Xe(),{hexDataLength:sKt}=zc.utils,oKt=zc.BigNumber.from(2e5),cKt=zc.BigNumber.from(16),dKt=zc.BigNumber.from(64),lKt=zc.BigNumber.from(63),uKt=zc.BigNumber.from(4e4),pKt=zc.BigNumber.from(4e4),hKt=zc.BigNumber.from(5e3),bKt=t=>(0,iKt.hashWithdrawal)(t.messageNonce,t.sender,t.target,t.value,t.minGasLimit,t.message);qb.hashLowLevelMessage=bKt;var mKt=t=>{let e=zc.ethers.utils.defaultAbiCoder.encode(["bytes32","uint256"],[t,zc.ethers.constants.HashZero]);return zc.ethers.utils.keccak256(e)};qb.hashMessageHash=mKt;var yKt=(t,e)=>{let n=zc.BigNumber.from(sKt(t)).mul(cKt),a;if(e===420)a=zc.BigNumber.from(2e5);else{let f=dKt.mul(1e6).div(lKt);a=oKt.add(f).add(uKt).add(pKt).add(hKt)}let r=n.add(a);return r.gt(25e6)&&(r=zc.BigNumber.from(25e6)),r};qb.migratedWithdrawalGasLimit=yKt});var Ub=D(R6=>{"use strict";u();p();var gKt=R6&&R6.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),r9=R6&&R6.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&gKt(e,t,n)};Object.defineProperty(R6,"__esModule",{value:!0});r9(Yoe(),R6);r9(gJe(),R6);r9(wJe(),R6);r9(TJe(),R6);r9(jXe(),R6);r9(tce(),R6);r9(GXe(),R6)});var BR=D((o8a,KXe)=>{u();p();var vKt="2.0.0",wKt=Number.MAX_SAFE_INTEGER||9007199254740991,TKt=16,xKt=250,EKt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];KXe.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:TKt,MAX_SAFE_BUILD_LENGTH:xKt,MAX_SAFE_INTEGER:wKt,RELEASE_TYPES:EKt,SEMVER_SPEC_VERSION:vKt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var DR=D((l8a,QXe)=>{u();p();var _Kt=typeof E=="object"&&E.env&&E.env.NODE_DEBUG&&/\bsemver\b/i.test(E.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};QXe.exports=_Kt});var Ux=D((G8,VXe)=>{u();p();var{MAX_SAFE_COMPONENT_LENGTH:hce,MAX_SAFE_BUILD_LENGTH:AKt,MAX_LENGTH:CKt}=BR(),IKt=DR();G8=VXe.exports={};var kKt=G8.re=[],SKt=G8.safeRe=[],at=G8.src=[],rt=G8.t={},RKt=0,bce="[a-zA-Z0-9-]",MKt=[["\\s",1],["\\d",CKt],[bce,AKt]],BKt=t=>{for(let[e,n]of MKt)t=t.split(`${e}*`).join(`${e}{0,${n}}`).split(`${e}+`).join(`${e}{1,${n}}`);return t},an=(t,e,n)=>{let a=BKt(e),r=RKt++;IKt(t,r,e),rt[t]=r,at[r]=e,kKt[r]=new RegExp(e,n?"g":void 0),SKt[r]=new RegExp(a,n?"g":void 0)};an("NUMERICIDENTIFIER","0|[1-9]\\d*");an("NUMERICIDENTIFIERLOOSE","\\d+");an("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${bce}*`);an("MAINVERSION",`(${at[rt.NUMERICIDENTIFIER]})\\.(${at[rt.NUMERICIDENTIFIER]})\\.(${at[rt.NUMERICIDENTIFIER]})`);an("MAINVERSIONLOOSE",`(${at[rt.NUMERICIDENTIFIERLOOSE]})\\.(${at[rt.NUMERICIDENTIFIERLOOSE]})\\.(${at[rt.NUMERICIDENTIFIERLOOSE]})`);an("PRERELEASEIDENTIFIER",`(?:${at[rt.NUMERICIDENTIFIER]}|${at[rt.NONNUMERICIDENTIFIER]})`);an("PRERELEASEIDENTIFIERLOOSE",`(?:${at[rt.NUMERICIDENTIFIERLOOSE]}|${at[rt.NONNUMERICIDENTIFIER]})`);an("PRERELEASE",`(?:-(${at[rt.PRERELEASEIDENTIFIER]}(?:\\.${at[rt.PRERELEASEIDENTIFIER]})*))`);an("PRERELEASELOOSE",`(?:-?(${at[rt.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${at[rt.PRERELEASEIDENTIFIERLOOSE]})*))`);an("BUILDIDENTIFIER",`${bce}+`);an("BUILD",`(?:\\+(${at[rt.BUILDIDENTIFIER]}(?:\\.${at[rt.BUILDIDENTIFIER]})*))`);an("FULLPLAIN",`v?${at[rt.MAINVERSION]}${at[rt.PRERELEASE]}?${at[rt.BUILD]}?`);an("FULL",`^${at[rt.FULLPLAIN]}$`);an("LOOSEPLAIN",`[v=\\s]*${at[rt.MAINVERSIONLOOSE]}${at[rt.PRERELEASELOOSE]}?${at[rt.BUILD]}?`);an("LOOSE",`^${at[rt.LOOSEPLAIN]}$`);an("GTLT","((?:<|>)?=?)");an("XRANGEIDENTIFIERLOOSE",`${at[rt.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);an("XRANGEIDENTIFIER",`${at[rt.NUMERICIDENTIFIER]}|x|X|\\*`);an("XRANGEPLAIN",`[v=\\s]*(${at[rt.XRANGEIDENTIFIER]})(?:\\.(${at[rt.XRANGEIDENTIFIER]})(?:\\.(${at[rt.XRANGEIDENTIFIER]})(?:${at[rt.PRERELEASE]})?${at[rt.BUILD]}?)?)?`);an("XRANGEPLAINLOOSE",`[v=\\s]*(${at[rt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${at[rt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${at[rt.XRANGEIDENTIFIERLOOSE]})(?:${at[rt.PRERELEASELOOSE]})?${at[rt.BUILD]}?)?)?`);an("XRANGE",`^${at[rt.GTLT]}\\s*${at[rt.XRANGEPLAIN]}$`);an("XRANGELOOSE",`^${at[rt.GTLT]}\\s*${at[rt.XRANGEPLAINLOOSE]}$`);an("COERCEPLAIN",`(^|[^\\d])(\\d{1,${hce}})(?:\\.(\\d{1,${hce}}))?(?:\\.(\\d{1,${hce}}))?`);an("COERCE",`${at[rt.COERCEPLAIN]}(?:$|[^\\d])`);an("COERCEFULL",at[rt.COERCEPLAIN]+`(?:${at[rt.PRERELEASE]})?(?:${at[rt.BUILD]})?(?:$|[^\\d])`);an("COERCERTL",at[rt.COERCE],!0);an("COERCERTLFULL",at[rt.COERCEFULL],!0);an("LONETILDE","(?:~>?)");an("TILDETRIM",`(\\s*)${at[rt.LONETILDE]}\\s+`,!0);G8.tildeTrimReplace="$1~";an("TILDE",`^${at[rt.LONETILDE]}${at[rt.XRANGEPLAIN]}$`);an("TILDELOOSE",`^${at[rt.LONETILDE]}${at[rt.XRANGEPLAINLOOSE]}$`);an("LONECARET","(?:\\^)");an("CARETTRIM",`(\\s*)${at[rt.LONECARET]}\\s+`,!0);G8.caretTrimReplace="$1^";an("CARET",`^${at[rt.LONECARET]}${at[rt.XRANGEPLAIN]}$`);an("CARETLOOSE",`^${at[rt.LONECARET]}${at[rt.XRANGEPLAINLOOSE]}$`);an("COMPARATORLOOSE",`^${at[rt.GTLT]}\\s*(${at[rt.LOOSEPLAIN]})$|^$`);an("COMPARATOR",`^${at[rt.GTLT]}\\s*(${at[rt.FULLPLAIN]})$|^$`);an("COMPARATORTRIM",`(\\s*)${at[rt.GTLT]}\\s*(${at[rt.LOOSEPLAIN]}|${at[rt.XRANGEPLAIN]})`,!0);G8.comparatorTrimReplace="$1$2$3";an("HYPHENRANGE",`^\\s*(${at[rt.XRANGEPLAIN]})\\s+-\\s+(${at[rt.XRANGEPLAIN]})\\s*$`);an("HYPHENRANGELOOSE",`^\\s*(${at[rt.XRANGEPLAINLOOSE]})\\s+-\\s+(${at[rt.XRANGEPLAINLOOSE]})\\s*$`);an("STAR","(<|>)?=?\\s*\\*");an("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");an("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Ej=D((m8a,YXe)=>{u();p();var DKt=Object.freeze({loose:!0}),PKt=Object.freeze({}),LKt=t=>t?typeof t!="object"?DKt:t:PKt;YXe.exports=LKt});var mce=D((v8a,XXe)=>{u();p();var $Xe=/^[0-9]+$/,JXe=(t,e)=>{let n=$Xe.test(t),a=$Xe.test(e);return n&&a&&(t=+t,e=+e),t===e?0:n&&!a?-1:a&&!n?1:tJXe(e,t);XXe.exports={compareIdentifiers:JXe,rcompareIdentifiers:FKt}});var f1=D((x8a,nZe)=>{u();p();var _j=DR(),{MAX_LENGTH:ZXe,MAX_SAFE_INTEGER:Aj}=BR(),{safeRe:eZe,t:tZe}=Ux(),NKt=Ej(),{compareIdentifiers:Hx}=mce(),yce=class t{constructor(e,n){if(n=NKt(n),e instanceof t){if(e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>ZXe)throw new TypeError(`version is longer than ${ZXe} characters`);_j("SemVer",e,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let a=e.trim().match(n.loose?eZe[tZe.LOOSE]:eZe[tZe.FULL]);if(!a)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>Aj||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Aj||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Aj||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map(r=>{if(/^[0-9]+$/.test(r)){let f=+r;if(f>=0&&f=0;)typeof this.prerelease[f]=="number"&&(this.prerelease[f]++,f=-2);if(f===-1){if(n===this.prerelease.join(".")&&a===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(r)}}if(n){let f=[n,r];a===!1&&(f=[n]),Hx(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=f):this.prerelease=f}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};nZe.exports=yce});var f9=D((A8a,rZe)=>{u();p();var aZe=f1(),OKt=(t,e,n=!1)=>{if(t instanceof aZe)return t;try{return new aZe(t,e)}catch(a){if(!n)return null;throw a}};rZe.exports=OKt});var iZe=D((k8a,fZe)=>{u();p();var UKt=f9(),HKt=(t,e)=>{let n=UKt(t,e);return n?n.version:null};fZe.exports=HKt});var oZe=D((M8a,sZe)=>{u();p();var zKt=f9(),WKt=(t,e)=>{let n=zKt(t.trim().replace(/^[=v]+/,""),e);return n?n.version:null};sZe.exports=WKt});var lZe=D((P8a,dZe)=>{u();p();var cZe=f1(),qKt=(t,e,n,a,r)=>{typeof n=="string"&&(r=a,a=n,n=void 0);try{return new cZe(t instanceof cZe?t.version:t,n).inc(e,a,r).version}catch{return null}};dZe.exports=qKt});var hZe=D((N8a,pZe)=>{u();p();var uZe=f9(),jKt=(t,e)=>{let n=uZe(t,null,!0),a=uZe(e,null,!0),r=n.compare(a);if(r===0)return null;let f=r>0,i=f?n:a,s=f?a:n,o=!!i.prerelease.length;if(!!s.prerelease.length&&!o)return!s.patch&&!s.minor?"major":i.patch?"patch":i.minor?"minor":"major";let d=o?"pre":"";return n.major!==a.major?d+"major":n.minor!==a.minor?d+"minor":n.patch!==a.patch?d+"patch":"prerelease"};pZe.exports=jKt});var mZe=D((H8a,bZe)=>{u();p();var GKt=f1(),KKt=(t,e)=>new GKt(t,e).major;bZe.exports=KKt});var gZe=D((q8a,yZe)=>{u();p();var QKt=f1(),VKt=(t,e)=>new QKt(t,e).minor;yZe.exports=VKt});var wZe=D((K8a,vZe)=>{u();p();var YKt=f1(),$Kt=(t,e)=>new YKt(t,e).patch;vZe.exports=$Kt});var xZe=D((Y8a,TZe)=>{u();p();var JKt=f9(),XKt=(t,e)=>{let n=JKt(t,e);return n&&n.prerelease.length?n.prerelease:null};TZe.exports=XKt});var td=D((X8a,_Ze)=>{u();p();var EZe=f1(),ZKt=(t,e,n)=>new EZe(t,n).compare(new EZe(e,n));_Ze.exports=ZKt});var CZe=D((tha,AZe)=>{u();p();var eQt=td(),tQt=(t,e,n)=>eQt(e,t,n);AZe.exports=tQt});var kZe=D((rha,IZe)=>{u();p();var nQt=td(),aQt=(t,e)=>nQt(t,e,!0);IZe.exports=aQt});var Cj=D((sha,RZe)=>{u();p();var SZe=f1(),rQt=(t,e,n)=>{let a=new SZe(t,n),r=new SZe(e,n);return a.compare(r)||a.compareBuild(r)};RZe.exports=rQt});var BZe=D((dha,MZe)=>{u();p();var fQt=Cj(),iQt=(t,e)=>t.sort((n,a)=>fQt(n,a,e));MZe.exports=iQt});var PZe=D((pha,DZe)=>{u();p();var sQt=Cj(),oQt=(t,e)=>t.sort((n,a)=>sQt(a,n,e));DZe.exports=oQt});var PR=D((mha,LZe)=>{u();p();var cQt=td(),dQt=(t,e,n)=>cQt(t,e,n)>0;LZe.exports=dQt});var Ij=D((vha,FZe)=>{u();p();var lQt=td(),uQt=(t,e,n)=>lQt(t,e,n)<0;FZe.exports=uQt});var gce=D((xha,NZe)=>{u();p();var pQt=td(),hQt=(t,e,n)=>pQt(t,e,n)===0;NZe.exports=hQt});var vce=D((Aha,OZe)=>{u();p();var bQt=td(),mQt=(t,e,n)=>bQt(t,e,n)!==0;OZe.exports=mQt});var kj=D((kha,UZe)=>{u();p();var yQt=td(),gQt=(t,e,n)=>yQt(t,e,n)>=0;UZe.exports=gQt});var Sj=D((Mha,HZe)=>{u();p();var vQt=td(),wQt=(t,e,n)=>vQt(t,e,n)<=0;HZe.exports=wQt});var wce=D((Pha,zZe)=>{u();p();var TQt=gce(),xQt=vce(),EQt=PR(),_Qt=kj(),AQt=Ij(),CQt=Sj(),IQt=(t,e,n,a)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof n=="object"&&(n=n.version),t===n;case"!==":return typeof t=="object"&&(t=t.version),typeof n=="object"&&(n=n.version),t!==n;case"":case"=":case"==":return TQt(t,n,a);case"!=":return xQt(t,n,a);case">":return EQt(t,n,a);case">=":return _Qt(t,n,a);case"<":return AQt(t,n,a);case"<=":return CQt(t,n,a);default:throw new TypeError(`Invalid operator: ${e}`)}};zZe.exports=IQt});var qZe=D((Nha,WZe)=>{u();p();var kQt=f1(),SQt=f9(),{safeRe:Rj,t:Mj}=Ux(),RQt=(t,e)=>{if(t instanceof kQt)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let n=null;if(!e.rtl)n=t.match(e.includePrerelease?Rj[Mj.COERCEFULL]:Rj[Mj.COERCE]);else{let o=e.includePrerelease?Rj[Mj.COERCERTLFULL]:Rj[Mj.COERCERTL],c;for(;(c=o.exec(t))&&(!n||n.index+n[0].length!==t.length);)(!n||c.index+c[0].length!==n.index+n[0].length)&&(n=c),o.lastIndex=c.index+c[1].length+c[2].length;o.lastIndex=-1}if(n===null)return null;let a=n[2],r=n[3]||"0",f=n[4]||"0",i=e.includePrerelease&&n[5]?`-${n[5]}`:"",s=e.includePrerelease&&n[6]?`+${n[6]}`:"";return SQt(`${a}.${r}.${f}${i}${s}`,e)};WZe.exports=RQt});var GZe=D((Hha,jZe)=>{u();p();var Tce=class{constructor(){this.max=1e3,this.map=new Map}get(e){let n=this.map.get(e);if(n!==void 0)return this.map.delete(e),this.map.set(e,n),n}delete(e){return this.map.delete(e)}set(e,n){if(!this.delete(e)&&n!==void 0){if(this.map.size>=this.max){let r=this.map.keys().next().value;this.delete(r)}this.map.set(e,n)}return this}};jZe.exports=Tce});var nd=D((qha,YZe)=>{u();p();var xce=class t{constructor(e,n){if(n=BQt(n),e instanceof t)return e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease?e:new t(e.raw,n);if(e instanceof Ece)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(a=>this.parseRange(a.trim())).filter(a=>a.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let a=this.set[0];if(this.set=this.set.filter(r=>!QZe(r[0])),this.set.length===0)this.set=[a];else if(this.set.length>1){for(let r of this.set)if(r.length===1&&UQt(r[0])){this.set=[r];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let a=((this.options.includePrerelease&&NQt)|(this.options.loose&&OQt))+":"+e,r=KZe.get(a);if(r)return r;let f=this.options.loose,i=f?Wc[Y1.HYPHENRANGELOOSE]:Wc[Y1.HYPHENRANGE];e=e.replace(i,YQt(this.options.includePrerelease)),nf("hyphen replace",e),e=e.replace(Wc[Y1.COMPARATORTRIM],PQt),nf("comparator trim",e),e=e.replace(Wc[Y1.TILDETRIM],LQt),nf("tilde trim",e),e=e.replace(Wc[Y1.CARETTRIM],FQt),nf("caret trim",e);let s=e.split(" ").map(l=>HQt(l,this.options)).join(" ").split(/\s+/).map(l=>VQt(l,this.options));f&&(s=s.filter(l=>(nf("loose invalid filter",l,this.options),!!l.match(Wc[Y1.COMPARATORLOOSE])))),nf("range list",s);let o=new Map,c=s.map(l=>new Ece(l,this.options));for(let l of c){if(QZe(l))return[l];o.set(l.value,l)}o.size>1&&o.has("")&&o.delete("");let d=[...o.values()];return KZe.set(a,d),d}intersects(e,n){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(a=>VZe(a,n)&&e.set.some(r=>VZe(r,n)&&a.every(f=>r.every(i=>f.intersects(i,n)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new DQt(e,this.options)}catch{return!1}for(let n=0;nt.value==="<0.0.0-0",UQt=t=>t.value==="",VZe=(t,e)=>{let n=!0,a=t.slice(),r=a.pop();for(;n&&a.length;)n=a.every(f=>r.intersects(f,e)),r=a.pop();return n},HQt=(t,e)=>(nf("comp",t,e),t=qQt(t,e),nf("caret",t),t=zQt(t,e),nf("tildes",t),t=GQt(t,e),nf("xrange",t),t=QQt(t,e),nf("stars",t),t),$1=t=>!t||t.toLowerCase()==="x"||t==="*",zQt=(t,e)=>t.trim().split(/\s+/).map(n=>WQt(n,e)).join(" "),WQt=(t,e)=>{let n=e.loose?Wc[Y1.TILDELOOSE]:Wc[Y1.TILDE];return t.replace(n,(a,r,f,i,s)=>{nf("tilde",t,a,r,f,i,s);let o;return $1(r)?o="":$1(f)?o=`>=${r}.0.0 <${+r+1}.0.0-0`:$1(i)?o=`>=${r}.${f}.0 <${r}.${+f+1}.0-0`:s?(nf("replaceTilde pr",s),o=`>=${r}.${f}.${i}-${s} <${r}.${+f+1}.0-0`):o=`>=${r}.${f}.${i} <${r}.${+f+1}.0-0`,nf("tilde return",o),o})},qQt=(t,e)=>t.trim().split(/\s+/).map(n=>jQt(n,e)).join(" "),jQt=(t,e)=>{nf("caret",t,e);let n=e.loose?Wc[Y1.CARETLOOSE]:Wc[Y1.CARET],a=e.includePrerelease?"-0":"";return t.replace(n,(r,f,i,s,o)=>{nf("caret",t,r,f,i,s,o);let c;return $1(f)?c="":$1(i)?c=`>=${f}.0.0${a} <${+f+1}.0.0-0`:$1(s)?f==="0"?c=`>=${f}.${i}.0${a} <${f}.${+i+1}.0-0`:c=`>=${f}.${i}.0${a} <${+f+1}.0.0-0`:o?(nf("replaceCaret pr",o),f==="0"?i==="0"?c=`>=${f}.${i}.${s}-${o} <${f}.${i}.${+s+1}-0`:c=`>=${f}.${i}.${s}-${o} <${f}.${+i+1}.0-0`:c=`>=${f}.${i}.${s}-${o} <${+f+1}.0.0-0`):(nf("no pr"),f==="0"?i==="0"?c=`>=${f}.${i}.${s}${a} <${f}.${i}.${+s+1}-0`:c=`>=${f}.${i}.${s}${a} <${f}.${+i+1}.0-0`:c=`>=${f}.${i}.${s} <${+f+1}.0.0-0`),nf("caret return",c),c})},GQt=(t,e)=>(nf("replaceXRanges",t,e),t.split(/\s+/).map(n=>KQt(n,e)).join(" ")),KQt=(t,e)=>{t=t.trim();let n=e.loose?Wc[Y1.XRANGELOOSE]:Wc[Y1.XRANGE];return t.replace(n,(a,r,f,i,s,o)=>{nf("xRange",t,a,r,f,i,s,o);let c=$1(f),d=c||$1(i),l=d||$1(s),h=l;return r==="="&&h&&(r=""),o=e.includePrerelease?"-0":"",c?r===">"||r==="<"?a="<0.0.0-0":a="*":r&&h?(d&&(i=0),s=0,r===">"?(r=">=",d?(f=+f+1,i=0,s=0):(i=+i+1,s=0)):r==="<="&&(r="<",d?f=+f+1:i=+i+1),r==="<"&&(o="-0"),a=`${r+f}.${i}.${s}${o}`):d?a=`>=${f}.0.0${o} <${+f+1}.0.0-0`:l&&(a=`>=${f}.${i}.0${o} <${f}.${+i+1}.0-0`),nf("xRange return",a),a})},QQt=(t,e)=>(nf("replaceStars",t,e),t.trim().replace(Wc[Y1.STAR],"")),VQt=(t,e)=>(nf("replaceGTE0",t,e),t.trim().replace(Wc[e.includePrerelease?Y1.GTE0PRE:Y1.GTE0],"")),YQt=t=>(e,n,a,r,f,i,s,o,c,d,l,h)=>($1(a)?n="":$1(r)?n=`>=${a}.0.0${t?"-0":""}`:$1(f)?n=`>=${a}.${r}.0${t?"-0":""}`:i?n=`>=${n}`:n=`>=${n}${t?"-0":""}`,$1(c)?o="":$1(d)?o=`<${+c+1}.0.0-0`:$1(l)?o=`<${c}.${+d+1}.0-0`:h?o=`<=${c}.${d}.${l}-${h}`:t?o=`<${c}.${d}.${+l+1}-0`:o=`<=${o}`,`${n} ${o}`.trim()),$Qt=(t,e,n)=>{for(let a=0;a0){let r=t[a].semver;if(r.major===e.major&&r.minor===e.minor&&r.patch===e.patch)return!0}return!1}return!0}});var LR=D((Kha,te0)=>{u();p();var FR=Symbol("SemVer ANY"),Cce=class t{static get ANY(){return FR}constructor(e,n){if(n=$Ze(n),e instanceof t){if(e.loose===!!n.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Ace("comparator",e,n),this.options=n,this.loose=!!n.loose,this.parse(e),this.semver===FR?this.value="":this.value=this.operator+this.semver.version,Ace("comp",this)}parse(e){let n=this.options.loose?JZe[XZe.COMPARATORLOOSE]:JZe[XZe.COMPARATOR],a=e.match(n);if(!a)throw new TypeError(`Invalid comparator: ${e}`);this.operator=a[1]!==void 0?a[1]:"",this.operator==="="&&(this.operator=""),a[2]?this.semver=new ZZe(a[2],this.options.loose):this.semver=FR}toString(){return this.value}test(e){if(Ace("Comparator.test",e,this.options.loose),this.semver===FR||e===FR)return!0;if(typeof e=="string")try{e=new ZZe(e,this.options)}catch{return!1}return _ce(e,this.operator,this.semver,this.options)}intersects(e,n){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new ee0(e.value,n).test(this.value):e.operator===""?e.value===""?!0:new ee0(this.value,n).test(e.semver):(n=$Ze(n),n.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!n.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||_ce(this.semver,"<",e.semver,n)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||_ce(this.semver,">",e.semver,n)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};te0.exports=Cce;var $Ze=Ej(),{safeRe:JZe,t:XZe}=Ux(),_ce=wce(),Ace=DR(),ZZe=f1(),ee0=nd()});var K8=D((Yha,ne0)=>{u();p();var JQt=nd(),XQt=(t,e,n)=>{try{e=new JQt(e,n)}catch{return!1}return e.test(t)};ne0.exports=XQt});var re0=D((Xha,ae0)=>{u();p();var ZQt=nd(),eVt=(t,e)=>new ZQt(t,e).set.map(n=>n.map(a=>a.value).join(" ").trim().split(" "));ae0.exports=eVt});var ie0=D((t3a,fe0)=>{u();p();var tVt=f1(),nVt=nd(),aVt=(t,e,n)=>{let a=null,r=null,f=null;try{f=new nVt(e,n)}catch{return null}return t.forEach(i=>{f.test(i)&&(!a||r.compare(i)===-1)&&(a=i,r=new tVt(a,n))}),a};fe0.exports=aVt});var oe0=D((r3a,se0)=>{u();p();var rVt=f1(),fVt=nd(),iVt=(t,e,n)=>{let a=null,r=null,f=null;try{f=new fVt(e,n)}catch{return null}return t.forEach(i=>{f.test(i)&&(!a||r.compare(i)===1)&&(a=i,r=new rVt(a,n))}),a};se0.exports=iVt});var le0=D((s3a,de0)=>{u();p();var Ice=f1(),sVt=nd(),ce0=PR(),oVt=(t,e)=>{t=new sVt(t,e);let n=new Ice("0.0.0");if(t.test(n)||(n=new Ice("0.0.0-0"),t.test(n)))return n;n=null;for(let a=0;a{let s=new Ice(i.semver.version);switch(i.operator){case">":s.prerelease.length===0?s.patch++:s.prerelease.push(0),s.raw=s.format();case"":case">=":(!f||ce0(s,f))&&(f=s);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),f&&(!n||ce0(n,f))&&(n=f)}return n&&t.test(n)?n:null};de0.exports=oVt});var pe0=D((d3a,ue0)=>{u();p();var cVt=nd(),dVt=(t,e)=>{try{return new cVt(t,e).range||"*"}catch{return null}};ue0.exports=dVt});var Bj=D((p3a,ye0)=>{u();p();var lVt=f1(),me0=LR(),{ANY:uVt}=me0,pVt=nd(),hVt=K8(),he0=PR(),be0=Ij(),bVt=Sj(),mVt=kj(),yVt=(t,e,n,a)=>{t=new lVt(t,a),e=new pVt(e,a);let r,f,i,s,o;switch(n){case">":r=he0,f=bVt,i=be0,s=">",o=">=";break;case"<":r=be0,f=mVt,i=he0,s="<",o="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(hVt(t,e,a))return!1;for(let c=0;c{y.semver===uVt&&(y=new me0(">=0.0.0")),l=l||y,h=h||y,r(y.semver,l.semver,a)?l=y:i(y.semver,h.semver,a)&&(h=y)}),l.operator===s||l.operator===o||(!h.operator||h.operator===s)&&f(t,h.semver))return!1;if(h.operator===o&&i(t,h.semver))return!1}return!0};ye0.exports=yVt});var ve0=D((m3a,ge0)=>{u();p();var gVt=Bj(),vVt=(t,e,n)=>gVt(t,e,">",n);ge0.exports=vVt});var Te0=D((v3a,we0)=>{u();p();var wVt=Bj(),TVt=(t,e,n)=>wVt(t,e,"<",n);we0.exports=TVt});var _e0=D((x3a,Ee0)=>{u();p();var xe0=nd(),xVt=(t,e,n)=>(t=new xe0(t,n),e=new xe0(e,n),t.intersects(e,n));Ee0.exports=xVt});var Ce0=D((A3a,Ae0)=>{u();p();var EVt=K8(),_Vt=td();Ae0.exports=(t,e,n)=>{let a=[],r=null,f=null,i=t.sort((d,l)=>_Vt(d,l,n));for(let d of i)EVt(d,e,n)?(f=d,r||(r=d)):(f&&a.push([r,f]),f=null,r=null);r&&a.push([r,null]);let s=[];for(let[d,l]of a)d===l?s.push(d):!l&&d===i[0]?s.push("*"):l?d===i[0]?s.push(`<=${l}`):s.push(`${d} - ${l}`):s.push(`>=${d}`);let o=s.join(" || "),c=typeof e.raw=="string"?e.raw:String(e);return o.length{u();p();var Ie0=nd(),Sce=LR(),{ANY:kce}=Sce,NR=K8(),Rce=td(),AVt=(t,e,n={})=>{if(t===e)return!0;t=new Ie0(t,n),e=new Ie0(e,n);let a=!1;e:for(let r of t.set){for(let f of e.set){let i=IVt(r,f,n);if(a=a||i!==null,i)continue e}if(a)return!1}return!0},CVt=[new Sce(">=0.0.0-0")],ke0=[new Sce(">=0.0.0")],IVt=(t,e,n)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===kce){if(e.length===1&&e[0].semver===kce)return!0;n.includePrerelease?t=CVt:t=ke0}if(e.length===1&&e[0].semver===kce){if(n.includePrerelease)return!0;e=ke0}let a=new Set,r,f;for(let y of t)y.operator===">"||y.operator===">="?r=Se0(r,y,n):y.operator==="<"||y.operator==="<="?f=Re0(f,y,n):a.add(y.semver);if(a.size>1)return null;let i;if(r&&f){if(i=Rce(r.semver,f.semver,n),i>0)return null;if(i===0&&(r.operator!==">="||f.operator!=="<="))return null}for(let y of a){if(r&&!NR(y,String(r),n)||f&&!NR(y,String(f),n))return null;for(let v of e)if(!NR(y,String(v),n))return!1;return!0}let s,o,c,d,l=f&&!n.includePrerelease&&f.semver.prerelease.length?f.semver:!1,h=r&&!n.includePrerelease&&r.semver.prerelease.length?r.semver:!1;l&&l.prerelease.length===1&&f.operator==="<"&&l.prerelease[0]===0&&(l=!1);for(let y of e){if(d=d||y.operator===">"||y.operator===">=",c=c||y.operator==="<"||y.operator==="<=",r){if(h&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===h.major&&y.semver.minor===h.minor&&y.semver.patch===h.patch&&(h=!1),y.operator===">"||y.operator===">="){if(s=Se0(r,y,n),s===y&&s!==r)return!1}else if(r.operator===">="&&!NR(r.semver,String(y),n))return!1}if(f){if(l&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===l.major&&y.semver.minor===l.minor&&y.semver.patch===l.patch&&(l=!1),y.operator==="<"||y.operator==="<="){if(o=Re0(f,y,n),o===y&&o!==f)return!1}else if(f.operator==="<="&&!NR(f.semver,String(y),n))return!1}if(!y.operator&&(f||r)&&i!==0)return!1}return!(r&&c&&!f&&i!==0||f&&d&&!r&&i!==0||h||l)},Se0=(t,e,n)=>{if(!t)return e;let a=Rce(t.semver,e.semver,n);return a>0?t:a<0||e.operator===">"&&t.operator===">="?e:t},Re0=(t,e,n)=>{if(!t)return e;let a=Rce(t.semver,e.semver,n);return a<0?t:a>0||e.operator==="<"&&t.operator==="<="?e:t};Me0.exports=AVt});var Bce=D((M3a,Le0)=>{u();p();var Mce=Ux(),De0=BR(),kVt=f1(),Pe0=mce(),SVt=f9(),RVt=iZe(),MVt=oZe(),BVt=lZe(),DVt=hZe(),PVt=mZe(),LVt=gZe(),FVt=wZe(),NVt=xZe(),OVt=td(),UVt=CZe(),HVt=kZe(),zVt=Cj(),WVt=BZe(),qVt=PZe(),jVt=PR(),GVt=Ij(),KVt=gce(),QVt=vce(),VVt=kj(),YVt=Sj(),$Vt=wce(),JVt=qZe(),XVt=LR(),ZVt=nd(),eYt=K8(),tYt=re0(),nYt=ie0(),aYt=oe0(),rYt=le0(),fYt=pe0(),iYt=Bj(),sYt=ve0(),oYt=Te0(),cYt=_e0(),dYt=Ce0(),lYt=Be0();Le0.exports={parse:SVt,valid:RVt,clean:MVt,inc:BVt,diff:DVt,major:PVt,minor:LVt,patch:FVt,prerelease:NVt,compare:OVt,rcompare:UVt,compareLoose:HVt,compareBuild:zVt,sort:WVt,rsort:qVt,gt:jVt,lt:GVt,eq:KVt,neq:QVt,gte:VVt,lte:YVt,cmp:$Vt,coerce:JVt,Comparator:XVt,Range:ZVt,satisfies:eYt,toComparators:tYt,maxSatisfying:nYt,minSatisfying:aYt,minVersion:rYt,validRange:fYt,outside:iYt,gtr:sYt,ltr:oYt,intersects:cYt,simplifyRange:dYt,subset:lYt,SemVer:kVt,re:Mce.re,src:Mce.src,tokens:Mce.t,SEMVER_SPEC_VERSION:De0.SEMVER_SPEC_VERSION,RELEASE_TYPES:De0.RELEASE_TYPES,compareIdentifiers:Pe0.compareIdentifiers,rcompareIdentifiers:Pe0.rcompareIdentifiers}});var Ne0=D(ad=>{"use strict";u();p();var uYt=ad&&ad.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),pYt=ad&&ad.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),hYt=ad&&ad.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&uYt(e,t,n);return pYt(e,t),e},bYt=ad&&ad.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ad,"__esModule",{value:!0});ad.CrossChainMessenger=void 0;var Dj=E3(),mi=Xe(),Cs=W8(),Pj=xx(),Fe0=hYt(Tj()),mYt=bYt(Bce()),Ot=wx(),af=Ub(),Dce=class{constructor(e){var n;this._outputCache=[],this.populateTransaction={sendMessage:async(a,r)=>a.direction===Ot.MessageDirection.L1_TO_L2?this.contracts.l1.L1CrossDomainMessenger.populateTransaction.sendMessage(a.target,a.message,r?.l2GasLimit||await this.estimateL2MessageGasLimit(a),r?.overrides||{}):this.contracts.l2.L2CrossDomainMessenger.populateTransaction.sendMessage(a.target,a.message,0,r?.overrides||{}),resendMessage:async(a,r,f,i=0)=>{let s=await this.toCrossChainMessage(a,i);if(s.direction===Ot.MessageDirection.L2_TO_L1)throw new Error("cannot resend L2 to L1 message");return this.bedrock?this.populateTransaction.finalizeMessage(s,Object.assign(Object.assign({},f||{}),{overrides:Object.assign(Object.assign({},f?.overrides),{gasLimit:r})}),i):new mi.ethers.Contract(this.contracts.l1.L1CrossDomainMessenger.address,(0,Pj.getContractInterface)("L1CrossDomainMessenger"),this.l1SignerOrProvider).populateTransaction.replayMessage(s.target,s.sender,s.message,s.messageNonce,s.minGasLimit,r,f?.overrides||{})},proveMessage:async(a,r,f=0)=>{let i=await this.toCrossChainMessage(a,f);if(i.direction===Ot.MessageDirection.L1_TO_L2)throw new Error("cannot finalize L1 to L2 message");if(!this.bedrock)throw new Error("message proving only applies after the bedrock upgrade");let s=await this.toLowLevelMessage(i,f),o=await this.getBedrockMessageProof(i,f),c=[[s.messageNonce,s.sender,s.target,s.value,s.minGasLimit,s.message],o.l2OutputIndex,[o.outputRootProof.version,o.outputRootProof.stateRoot,o.outputRootProof.messagePasserStorageRoot,o.outputRootProof.latestBlockhash],o.withdrawalProof,r?.overrides||{}];return this.contracts.l1.OptimismPortal.populateTransaction.proveWithdrawalTransaction(...c)},finalizeMessage:async(a,r,f=0)=>{let i=await this.toCrossChainMessage(a,f);if(i.direction===Ot.MessageDirection.L1_TO_L2)throw new Error("cannot finalize L1 to L2 message");if(this.bedrock){let s=(0,Cs.hashCrossDomainMessagev1)(i.messageNonce,i.sender,i.target,i.value,i.minGasLimit,i.message),[o,c]=await Promise.allSettled([this.contracts.l1.L1CrossDomainMessenger.failedMessages(s),this.toLowLevelMessage(i,f)]);if(o.status==="rejected"||c.status==="rejected"){let d=[o,c].filter(l=>l.status==="rejected").map(l=>l.reason);throw d.length>1?new AggregateError(d):d[0]}if(o.value===!0){let d=this.contracts.l1.L1CrossDomainMessenger.interface.decodeFunctionData("relayMessage",c.value.message);return this.contracts.l1.L1CrossDomainMessenger.populateTransaction.relayMessage(d._nonce,d._sender,d._target,d._value,d._minGasLimit,d._message,r?.overrides||{})}return this.contracts.l1.OptimismPortal.populateTransaction.finalizeWithdrawalTransaction([c.value.messageNonce,c.value.sender,c.value.target,c.value.value,c.value.minGasLimit,c.value.message],r?.overrides||{})}else{let s=await this.getMessageProof(i,f);return new mi.ethers.Contract(this.contracts.l1.L1CrossDomainMessenger.address,(0,Pj.getContractInterface)("L1CrossDomainMessenger"),this.l1SignerOrProvider).populateTransaction.relayMessage(i.target,i.sender,i.message,i.messageNonce,s,r?.overrides||{})}},depositETH:async(a,r,f=!1)=>{let i=async()=>{if(f)return r;let s=await this.estimateGas.depositETH(a,r);return Object.assign(Object.assign({},r),{overrides:Object.assign(Object.assign({},r?.overrides),{gasLimit:s.add(s.div(2))})})};return this.bridges.ETH.populateTransaction.deposit(mi.ethers.constants.AddressZero,Pj.predeploys.OVM_ETH,a,await i())},withdrawETH:async(a,r)=>this.bridges.ETH.populateTransaction.withdraw(mi.ethers.constants.AddressZero,Pj.predeploys.OVM_ETH,a,r),approveERC20:async(a,r,f,i)=>(await this.getBridgeForTokenPair(a,r)).populateTransaction.approve(a,r,f,i),depositERC20:async(a,r,f,i,s=!1)=>{let o=await this.getBridgeForTokenPair(a,r),c=async()=>{var d,l,h,y;if(s)return i;if(!mi.ethers.Signer.isSigner(this.l1SignerOrProvider))throw new Error("unable to deposit without an l1 signer");let v=this.l1SignerOrProvider.getAddress(),k=await this.estimateGas.depositERC20(a,r,f,Object.assign(Object.assign({},i),{overrides:Object.assign(Object.assign({},i?.overrides),{from:(l=(d=i?.overrides)===null||d===void 0?void 0:d.from)!==null&&l!==void 0?l:v})}));return Object.assign(Object.assign({},i),{overrides:Object.assign(Object.assign({},i?.overrides),{gasLimit:k.add(k.div(2)),from:(y=(h=i?.overrides)===null||h===void 0?void 0:h.from)!==null&&y!==void 0?y:v})})};return o.populateTransaction.deposit(a,r,f,await c())},withdrawERC20:async(a,r,f,i)=>(await this.getBridgeForTokenPair(a,r)).populateTransaction.withdraw(a,r,f,i)},this.estimateGas={sendMessage:async(a,r)=>{let f=await this.populateTransaction.sendMessage(a,r);return a.direction===Ot.MessageDirection.L1_TO_L2?this.l1Provider.estimateGas(f):this.l2Provider.estimateGas(f)},resendMessage:async(a,r,f)=>this.l1Provider.estimateGas(await this.populateTransaction.resendMessage(a,r,f)),proveMessage:async(a,r,f=0)=>this.l1Provider.estimateGas(await this.populateTransaction.proveMessage(a,r,f)),finalizeMessage:async(a,r,f=0)=>this.l1Provider.estimateGas(await this.populateTransaction.finalizeMessage(a,r,f)),depositETH:async(a,r)=>this.l1Provider.estimateGas(await this.populateTransaction.depositETH(a,r,!0)),withdrawETH:async(a,r)=>this.l2Provider.estimateGas(await this.populateTransaction.withdrawETH(a,r)),approveERC20:async(a,r,f,i)=>this.l1Provider.estimateGas(await this.populateTransaction.approveERC20(a,r,f,i)),depositERC20:async(a,r,f,i)=>this.l1Provider.estimateGas(await this.populateTransaction.depositERC20(a,r,f,i,!0)),withdrawERC20:async(a,r,f,i)=>this.l2Provider.estimateGas(await this.populateTransaction.withdrawERC20(a,r,f,i))},this.bedrock=(n=e.bedrock)!==null&&n!==void 0?n:!0,this.l1SignerOrProvider=(0,af.toSignerOrProvider)(e.l1SignerOrProvider),this.l2SignerOrProvider=(0,af.toSignerOrProvider)(e.l2SignerOrProvider);try{this.l1ChainId=(0,af.toNumber)(e.l1ChainId)}catch{throw new Error(`L1 chain ID is missing or invalid: ${e.l1ChainId}`)}try{this.l2ChainId=(0,af.toNumber)(e.l2ChainId)}catch{throw new Error(`L2 chain ID is missing or invalid: ${e.l2ChainId}`)}this.depositConfirmationBlocks=e?.depositConfirmationBlocks!==void 0?(0,af.toNumber)(e.depositConfirmationBlocks):af.DEPOSIT_CONFIRMATION_BLOCKS[this.l2ChainId]||0,this.l1BlockTimeSeconds=e?.l1BlockTimeSeconds!==void 0?(0,af.toNumber)(e.l1BlockTimeSeconds):af.CHAIN_BLOCK_TIMES[this.l1ChainId]||1,this.contracts=(0,af.getAllOEContracts)(this.l2ChainId,{l1SignerOrProvider:this.l1SignerOrProvider,l2SignerOrProvider:this.l2SignerOrProvider,overrides:e.contracts}),this.bridges=(0,af.getBridgeAdapters)(this.l2ChainId,this,{overrides:e.bridges,contracts:e.contracts})}get l1Provider(){return Dj.Provider.isProvider(this.l1SignerOrProvider)?this.l1SignerOrProvider:this.l1SignerOrProvider.provider}get l2Provider(){return Dj.Provider.isProvider(this.l2SignerOrProvider)?this.l2SignerOrProvider:this.l2SignerOrProvider.provider}get l1Signer(){if(Dj.Provider.isProvider(this.l1SignerOrProvider))throw new Error("messenger has no L1 signer");return this.l1SignerOrProvider}get l2Signer(){if(Dj.Provider.isProvider(this.l2SignerOrProvider))throw new Error("messenger has no L2 signer");return this.l2SignerOrProvider}async fpac(){return this.contracts.l1.OptimismPortal.address===mi.ethers.constants.AddressZero?!1:mYt.default.gte(await this.contracts.l1.OptimismPortal.version(),"3.0.0")}async getMessagesByTransaction(e,n={}){var a,r;await((r=(a=e).wait)===null||r===void 0?void 0:r.call(a));let f=(0,af.toTransactionHash)(e),i;if(n.direction!==void 0?n.direction===Ot.MessageDirection.L1_TO_L2?i=await this.l1Provider.getTransactionReceipt(f):i=await this.l2Provider.getTransactionReceipt(f):(i=await this.l1Provider.getTransactionReceipt(f),i?n.direction=Ot.MessageDirection.L1_TO_L2:(i=await this.l2Provider.getTransactionReceipt(f),n.direction=Ot.MessageDirection.L2_TO_L1)),!i)throw new Error(`unable to find transaction receipt for ${f}`);let s=n.direction===Ot.MessageDirection.L1_TO_L2?this.contracts.l1.L1CrossDomainMessenger:this.contracts.l2.L2CrossDomainMessenger;return i.logs.filter(o=>o.address===s.address).filter(o=>s.interface.parseLog(o).name==="SentMessage").map(o=>{let c=mi.ethers.BigNumber.from(0),d=i.logs.find(h=>h.logIndex===o.logIndex+1&&h.address===s.address);if(d){let h=s.interface.parseLog(d);h.name==="SentMessageExtension1"&&(c=h.args.value)}let l=s.interface.parseLog(o);return{direction:n.direction,target:l.args.target,sender:l.args.sender,message:l.args.message,messageNonce:l.args.messageNonce,value:c,minGasLimit:l.args.gasLimit,logIndex:o.logIndex,blockNumber:o.blockNumber,transactionHash:o.transactionHash}})}async toBedrockCrossChainMessage(e,n=0){let a=await this.toCrossChainMessage(e,n),{version:r}=(0,Cs.decodeVersionedNonce)(a.messageNonce);if(r.eq(1))return a;let f=mi.BigNumber.from(0);if(a.direction===Ot.MessageDirection.L2_TO_L1&&a.sender===this.contracts.l2.L2StandardBridge.address&&a.target===this.contracts.l1.L1StandardBridge.address)try{[,,f]=this.contracts.l1.L1StandardBridge.interface.decodeFunctionData("finalizeETHWithdrawal",a.message)}catch{}return Object.assign(Object.assign({},a),{value:f,minGasLimit:mi.BigNumber.from(0),messageNonce:(0,Cs.encodeVersionedNonce)(mi.BigNumber.from(0),a.messageNonce)})}async toLowLevelMessage(e,n=0){let a=await this.toCrossChainMessage(e,n);if(a.direction===Ot.MessageDirection.L1_TO_L2)throw new Error("can only convert L2 to L1 messages to low level");let{version:r}=(0,Cs.decodeVersionedNonce)(a.messageNonce),f;r.eq(0)?f=await this.toBedrockCrossChainMessage(a,n):f=a;let i=(0,Cs.encodeCrossDomainMessageV1)(f.messageNonce,f.sender,f.target,f.value,f.minGasLimit,f.message),s,o;if(r.eq(0)){let c=await(0,Cs.getChainId)(this.l2Provider);s=(0,af.migratedWithdrawalGasLimit)(i,c),o=a.messageNonce}else{let c=await this.l2Provider.getTransactionReceipt((await this.toCrossChainMessage(e)).transactionHash),d=[];for(let h of c.logs)if(h.address===this.contracts.l2.BedrockMessagePasser.address){let y=this.contracts.l2.L2ToL1MessagePasser.interface.parseLog(h);y.name==="MessagePassed"&&d.push(y.args)}if(d.length===0)throw new Error("no withdrawals found in receipt");let l=d[n];if(!l)throw new Error(`withdrawal index ${n} out of bounds there are ${d.length} withdrawals`);o=l.nonce,s=l.gasLimit}return{messageNonce:o,sender:this.contracts.l2.L2CrossDomainMessenger.address,target:this.contracts.l1.L1CrossDomainMessenger.address,value:f.value,minGasLimit:s,message:i}}async getBridgeForTokenPair(e,n){var a,r;let f=[];for(let i of Object.values(this.bridges))try{await i.supportsTokenPair(e,n)&&f.push(i)}catch(s){!(!((a=s?.message)===null||a===void 0)&&a.toString().includes("CALL_EXCEPTION"))&&!(!((r=s?.stack)===null||r===void 0)&&r.toString().includes("execution reverted"))&&console.error("Unexpected error when checking bridge",s)}if(f.length===0)throw new Error("no supported bridge for token pair");if(f.length>1)throw new Error("found more than one bridge for token pair");return f[0]}async getDepositsByAddress(e,n={}){return(await Promise.all(Object.values(this.bridges).map(async a=>a.getDepositsByAddress(e,n)))).reduce((a,r)=>a.concat(r),[]).sort((a,r)=>r.blockNumber-a.blockNumber)}async getWithdrawalsByAddress(e,n={}){return(await Promise.all(Object.values(this.bridges).map(async a=>a.getWithdrawalsByAddress(e,n)))).reduce((a,r)=>a.concat(r),[]).sort((a,r)=>r.blockNumber-a.blockNumber)}async toCrossChainMessage(e,n=0){if(!e)throw new Error("message is undefined");if(e.message)return e;if(e.l1Token&&e.l2Token&&e.transactionHash){let r=(await this.getMessagesByTransaction(e.transactionHash)).sort((f,i)=>f.logIndex-i.logIndex).find(f=>f.logIndex>e.logIndex);if(!r)throw new Error("could not find SentMessage event for message");return r}else{let a=await this.getMessagesByTransaction(e),r=a[n];if(!r)throw new Error(`withdrawal index ${n} out of bounds. There are ${a.length} withdrawals`);return r}}async getMessageStatus(e,n=0,a,r){let f=await this.toCrossChainMessage(e,n),i=(0,Cs.hashCrossDomainMessagev0)(f.target,f.sender,f.message,f.messageNonce),s=(0,Cs.hashCrossDomainMessagev1)(f.messageNonce,f.sender,f.target,f.value,f.minGasLimit,f.message),o=f.direction===Ot.MessageDirection.L1_TO_L2?this.contracts.l2.L2CrossDomainMessenger:this.contracts.l1.L1CrossDomainMessenger;if(await o.successfulMessages(i)||await o.successfulMessages(s))return Ot.MessageStatus.RELAYED;let d=await o.failedMessages(i)||await o.failedMessages(s);if(f.direction===Ot.MessageDirection.L1_TO_L2)return d?Ot.MessageStatus.FAILED_L1_TO_L2_MESSAGE:Ot.MessageStatus.UNCONFIRMED_L1_TO_L2_MESSAGE;if(d)return Ot.MessageStatus.READY_FOR_RELAY;{let l;if(this.bedrock){if(await this.getMessageBedrockOutput(f,n)===null)return Ot.MessageStatus.STATE_ROOT_NOT_PUBLISHED;let y=await this.toLowLevelMessage(f,n),v=await this.getProvenWithdrawal((0,af.hashLowLevelMessage)(y));if(v===null)return Ot.MessageStatus.READY_TO_PROVE;l=v.timestamp.toNumber()}else{let h=await this.getMessageStateRoot(f,n);if(h===null)return Ot.MessageStatus.STATE_ROOT_NOT_PUBLISHED;let y=h.batch.blockNumber;l=(await this.l1Provider.getBlock(y)).timestamp}if(await this.fpac()){let h=await this.toLowLevelMessage(f,n),y=(0,af.hashLowLevelMessage)(h),v=await this.getProvenWithdrawal(y);if(v===null)return console.warn("Unexpected code path reached in getMessageStatus, returning READY_TO_PROVE"),Ot.MessageStatus.READY_TO_PROVE;if(!("proofSubmitter"in v))throw new Error("expected to get FPAC withdrawal but got legacy withdrawal");try{return await this.contracts.l1.OptimismPortal2.checkWithdrawal((0,af.hashLowLevelMessage)(h),v.proofSubmitter),Ot.MessageStatus.READY_FOR_RELAY}catch{return Ot.MessageStatus.IN_CHALLENGE_PERIOD}}else{let h=await this.getChallengePeriodSeconds(),y=await this.l1Provider.getBlock("latest");return l+h>y.timestamp?Ot.MessageStatus.IN_CHALLENGE_PERIOD:Ot.MessageStatus.READY_FOR_RELAY}}}async getMessageReceipt(e,n=0,a,r){let f=await this.toCrossChainMessage(e,n),i=(0,Cs.hashCrossDomainMessagev0)(f.target,f.sender,f.message,f.messageNonce),s=(0,Cs.hashCrossDomainMessagev1)(f.messageNonce,f.sender,f.target,f.value,f.minGasLimit,f.message),o=f.direction===Ot.MessageDirection.L1_TO_L2?this.contracts.l2.L2CrossDomainMessenger:this.contracts.l1.L1CrossDomainMessenger,c=[...await o.queryFilter(o.filters.RelayedMessage(i),a,r),...await o.queryFilter(o.filters.RelayedMessage(s),a,r)];if(c.length===1)return{receiptStatus:Ot.MessageReceiptStatus.RELAYED_SUCCEEDED,transactionReceipt:await c[0].getTransactionReceipt()};if(c.length>1)throw new Error("multiple successful relays for message");let d=[...await o.queryFilter(o.filters.FailedRelayedMessage(i),a,r),...await o.queryFilter(o.filters.FailedRelayedMessage(s),a,r)];return d.length>0?{receiptStatus:Ot.MessageReceiptStatus.RELAYED_FAILED,transactionReceipt:await d[d.length-1].getTransactionReceipt()}:null}async waitForMessageReceipt(e,n={},a=0){let r=await this.toCrossChainMessage(e,a),f=0;for(;f<(n.timeoutMs||1/0);){let i=Date.now(),s=await this.getMessageReceipt(r,a,n.fromBlockOrBlockHash,n.toBlockOrHash);if(s!==null)return s;await(0,Cs.sleep)(n.pollIntervalMs||4e3),f+=Date.now()-i}throw new Error("timed out waiting for message receipt")}async waitForMessageStatus(e,n,a={},r=0){let f=await this.toCrossChainMessage(e,r),i=0;for(;i<(a.timeoutMs||1/0);){let s=Date.now(),o=await this.getMessageStatus(f,r,a.fromBlockOrBlockHash,a.toBlockOrBlockHash);if(f.direction===Ot.MessageDirection.L1_TO_L2){if(o===n||n===Ot.MessageStatus.UNCONFIRMED_L1_TO_L2_MESSAGE&&o>n)return;if(n===Ot.MessageStatus.FAILED_L1_TO_L2_MESSAGE&&o===Ot.MessageStatus.RELAYED)throw new Error("incompatible message status, expected FAILED_L1_TO_L2_MESSAGE got RELAYED");if(n===Ot.MessageStatus.RELAYED&&o===Ot.MessageStatus.FAILED_L1_TO_L2_MESSAGE)throw new Error("incompatible message status, expected RELAYED got FAILED_L1_TO_L2_MESSAGE")}if(f.direction===Ot.MessageDirection.L2_TO_L1&&o>=n)return;await(0,Cs.sleep)(a.pollIntervalMs||4e3),i+=Date.now()-s}throw new Error("timed out waiting for message status change")}async estimateL2MessageGasLimit(e,n,a=0){let r,f;if(e.messageNonce===void 0?(r=e,f=n?.from):(r=await this.toCrossChainMessage(e,a),f=n?.from||r.sender),r.direction===Ot.MessageDirection.L2_TO_L1)throw new Error("cannot estimate gas limit for L2 => L1 message");let i=await this.l2Provider.estimateGas({from:f,to:r.target,data:r.message}),s=n?.bufferPercent||20;return i.mul(100+s).div(100)}async estimateMessageWaitTimeSeconds(e,n=0,a,r){let f=await this.toCrossChainMessage(e,n),i=await this.getMessageStatus(f,n,a,r);if(f.direction===Ot.MessageDirection.L1_TO_L2){if(i===Ot.MessageStatus.RELAYED||i===Ot.MessageStatus.FAILED_L1_TO_L2_MESSAGE)return 0;{let s=await this.l1Provider.getTransactionReceipt(f.transactionHash);return Math.max(this.depositConfirmationBlocks-s.confirmations,0)*this.l1BlockTimeSeconds}}else{if(i===Ot.MessageStatus.RELAYED||i===Ot.MessageStatus.READY_FOR_RELAY)return 0;if(i===Ot.MessageStatus.STATE_ROOT_NOT_PUBLISHED)return this.getChallengePeriodSeconds();if(i===Ot.MessageStatus.IN_CHALLENGE_PERIOD){let s=await this.getMessageStateRoot(f,n),o=await this.getChallengePeriodSeconds(),c=await this.l1Provider.getBlock(s.batch.blockNumber),d=await this.l1Provider.getBlock("latest");return Math.max(o-(d.timestamp-c.timestamp),0)}else throw new Error("unexpected message status")}}async getChallengePeriodSeconds(){return this.bedrock?(await this.contracts.l1.L2OutputOracle.version()==="1.0.0"?mi.BigNumber.from(await this.contracts.l1.OptimismPortal.provider.call({to:this.contracts.l1.OptimismPortal.address,data:"0xf4daa291"})):await this.contracts.l1.L2OutputOracle.FINALIZATION_PERIOD_SECONDS()).toNumber():(await this.contracts.l1.StateCommitmentChain.FRAUD_PROOF_WINDOW()).toNumber()}async getProvenWithdrawal(e){if(!this.bedrock)throw new Error("message proving only applies after the bedrock upgrade");if(!await this.fpac()){let a=await this.contracts.l1.OptimismPortal.provenWithdrawals(e);return a.timestamp.eq(0)?null:a}let n=mi.BigNumber.from(await this.contracts.l1.OptimismPortal2.numProofSubmitters(e)).toNumber();for(let a=0;a2)throw new Error("got invalid game status");let o=await i.extraData(),c;try{[c]=mi.ethers.utils.defaultAbiCoder.decode(["uint256"],o)}catch{continue}if(await this.isValidOutputRoot(await i.rootClaim(),c))return Object.assign(Object.assign({},f),{proofSubmitter:r})}return null}async isValidOutputRoot(e,n){let a=this._outputCache.find(r=>r.root===e);if(a)return a.valid;this._outputCache.length>1e4&&(this._outputCache=this._outputCache.slice(5e3));try{let r=(0,af.toJsonRpcProvider)(this.l2Provider),[f,i]=await Promise.all([r.send("eth_getBlockByNumber",[(0,Cs.toRpcHexString)(n),!1]),(0,af.makeStateTrieProof)(r,n,this.contracts.l2.OVM_L2ToL1MessagePasser.address,mi.ethers.constants.HashZero)]),o=mi.ethers.utils.solidityKeccak256(["bytes32","bytes32","bytes32","bytes32"],[mi.ethers.constants.HashZero,f.stateRoot,i.storageRoot,f.hash])===e;return this._outputCache.push({root:e,valid:o}),o}catch{return!1}}async getMessageBedrockOutput(e,n=0){let a=await this.toCrossChainMessage(e,n);if(a.direction===Ot.MessageDirection.L1_TO_L2)throw new Error("cannot get a state root for an L1 to L2 message");let r,f;if(await this.fpac()){let i=await this.contracts.l1.OptimismPortal2.respectedGameType(),s=await this.contracts.l1.DisputeGameFactory.gameCount(),o=await this.contracts.l1.DisputeGameFactory.findLatestGames(i,Math.max(0,s.sub(1).toNumber()),Math.min(100,s.toNumber())),c=[];for(let l of o)try{let[h]=mi.ethers.utils.defaultAbiCoder.decode(["uint256"],l.extraData);h.gte(a.blockNumber)&&c.push(Object.assign(Object.assign({},l),{l2BlockNumber:h}))}catch{continue}for(let l=c.length-1;l>0;l--){let h=Math.floor(Math.random()*(l+1));[c[l],c[h]]=[c[h],c[l]]}let d;for(let l of c)if(await this.isValidOutputRoot(l.rootClaim,l.l2BlockNumber)){d=l;break}if(!d)return null;f=d.index,r={outputRoot:d.rootClaim,timestamp:d.timestamp,l2BlockNumber:d.l2BlockNumber}}else{try{f=await this.contracts.l1.L2OutputOracle.getL2OutputIndexAfter(a.blockNumber)}catch(i){if(i.message.includes("L2OutputOracle: cannot get output"))return null;throw i}r=await this.contracts.l1.L2OutputOracle.getL2Output(f)}return{outputRoot:r.outputRoot,l1Timestamp:r.timestamp.toNumber(),l2BlockNumber:r.l2BlockNumber.toNumber(),l2OutputIndex:f.toNumber()}}async getMessageStateRoot(e,n=0){let a=await this.toCrossChainMessage(e,n);if(a.direction===Ot.MessageDirection.L1_TO_L2)throw new Error("cannot get a state root for an L1 to L2 message");let f=(await this.l2Provider.getTransactionReceipt(a.transactionHash)).blockNumber-1,i=await this.getStateRootBatchByTransactionIndex(f);if(i===null)return null;let s=f-i.header.prevTotalElements.toNumber();if(i.stateRoots.length<=s)throw new Error("state root does not exist in batch");return{stateRoot:i.stateRoots[s],stateRootIndexInBatch:s,batch:i}}async getStateBatchAppendedEventByBatchIndex(e){let n=await this.contracts.l1.StateCommitmentChain.queryFilter(this.contracts.l1.StateCommitmentChain.filters.StateBatchAppended(e));if(n.length===0)return null;if(n.length>1)throw new Error("found more than one StateBatchAppended event");return n[0]}async getStateBatchAppendedEventByTransactionIndex(e){let n=(o,c)=>{let d=o.args._prevTotalElements.toNumber();return c{let d=o.args._prevTotalElements.toNumber(),l=o.args._batchSize.toNumber();return c>=d+l},r=await this.contracts.l1.StateCommitmentChain.getTotalBatches();if(r.eq(0))return null;let f=0,i=r.toNumber()-1,s=await this.getStateBatchAppendedEventByBatchIndex(i);if(s===null||a(s,e))return null;if(!n(s,e))return s;for(;f{u();p();function yYt(){this.__data__=[],this.size=0}Oe0.exports=yYt});var Pce=D((H3a,He0)=>{u();p();function gYt(t,e){return t===e||t!==t&&e!==e}He0.exports=gYt});var OR=D((q3a,ze0)=>{u();p();var vYt=Pce();function wYt(t,e){for(var n=t.length;n--;)if(vYt(t[n][0],e))return n;return-1}ze0.exports=wYt});var qe0=D((K3a,We0)=>{u();p();var TYt=OR(),xYt=Array.prototype,EYt=xYt.splice;function _Yt(t){var e=this.__data__,n=TYt(e,t);if(n<0)return!1;var a=e.length-1;return n==a?e.pop():EYt.call(e,n,1),--this.size,!0}We0.exports=_Yt});var Ge0=D((Y3a,je0)=>{u();p();var AYt=OR();function CYt(t){var e=this.__data__,n=AYt(e,t);return n<0?void 0:e[n][1]}je0.exports=CYt});var Qe0=D((X3a,Ke0)=>{u();p();var IYt=OR();function kYt(t){return IYt(this.__data__,t)>-1}Ke0.exports=kYt});var Ye0=D((tba,Ve0)=>{u();p();var SYt=OR();function RYt(t,e){var n=this.__data__,a=SYt(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this}Ve0.exports=RYt});var UR=D((rba,$e0)=>{u();p();var MYt=Ue0(),BYt=qe0(),DYt=Ge0(),PYt=Qe0(),LYt=Ye0();function zx(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e{u();p();var FYt=UR();function NYt(){this.__data__=new FYt,this.size=0}Je0.exports=NYt});var e00=D((dba,Ze0)=>{u();p();function OYt(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}Ze0.exports=OYt});var n00=D((pba,t00)=>{u();p();function UYt(t){return this.__data__.get(t)}t00.exports=UYt});var r00=D((mba,a00)=>{u();p();function HYt(t){return this.__data__.has(t)}a00.exports=HYt});var Lce=D((vba,f00)=>{u();p();var zYt=typeof global=="object"&&global&&global.Object===Object&&global;f00.exports=zYt});var kl=D((xba,i00)=>{u();p();var WYt=Lce(),qYt=typeof self=="object"&&self&&self.Object===Object&&self,jYt=WYt||qYt||Function("return this")();i00.exports=jYt});var Lj=D((Aba,s00)=>{u();p();var GYt=kl(),KYt=GYt.Symbol;s00.exports=KYt});var l00=D((kba,d00)=>{u();p();var o00=Lj(),c00=Object.prototype,QYt=c00.hasOwnProperty,VYt=c00.toString,HR=o00?o00.toStringTag:void 0;function YYt(t){var e=QYt.call(t,HR),n=t[HR];try{t[HR]=void 0;var a=!0}catch{}var r=VYt.call(t);return a&&(e?t[HR]=n:delete t[HR]),r}d00.exports=YYt});var p00=D((Mba,u00)=>{u();p();var $Yt=Object.prototype,JYt=$Yt.toString;function XYt(t){return JYt.call(t)}u00.exports=XYt});var zR=D((Pba,m00)=>{u();p();var h00=Lj(),ZYt=l00(),e$t=p00(),t$t="[object Null]",n$t="[object Undefined]",b00=h00?h00.toStringTag:void 0;function a$t(t){return t==null?t===void 0?n$t:t$t:b00&&b00 in Object(t)?ZYt(t):e$t(t)}m00.exports=a$t});var Wx=D((Nba,y00)=>{u();p();function r$t(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}y00.exports=r$t});var Fce=D((Hba,g00)=>{u();p();var f$t=zR(),i$t=Wx(),s$t="[object AsyncFunction]",o$t="[object Function]",c$t="[object GeneratorFunction]",d$t="[object Proxy]";function l$t(t){if(!i$t(t))return!1;var e=f$t(t);return e==o$t||e==c$t||e==s$t||e==d$t}g00.exports=l$t});var w00=D((qba,v00)=>{u();p();var u$t=kl(),p$t=u$t["__core-js_shared__"];v00.exports=p$t});var E00=D((Kba,x00)=>{u();p();var Nce=w00(),T00=function(){var t=/[^.]+$/.exec(Nce&&Nce.keys&&Nce.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function h$t(t){return!!T00&&T00 in t}x00.exports=h$t});var Oce=D((Yba,_00)=>{u();p();var b$t=Function.prototype,m$t=b$t.toString;function y$t(t){if(t!=null){try{return m$t.call(t)}catch{}try{return t+""}catch{}}return""}_00.exports=y$t});var C00=D((Xba,A00)=>{u();p();var g$t=Fce(),v$t=E00(),w$t=Wx(),T$t=Oce(),x$t=/[\\^$.*+?()[\]{}|]/g,E$t=/^\[object .+?Constructor\]$/,_$t=Function.prototype,A$t=Object.prototype,C$t=_$t.toString,I$t=A$t.hasOwnProperty,k$t=RegExp("^"+C$t.call(I$t).replace(x$t,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function S$t(t){if(!w$t(t)||v$t(t))return!1;var e=g$t(t)?k$t:E$t;return e.test(T$t(t))}A00.exports=S$t});var k00=D((tma,I00)=>{u();p();function R$t(t,e){return t?.[e]}I00.exports=R$t});var jb=D((rma,S00)=>{u();p();var M$t=C00(),B$t=k00();function D$t(t,e){var n=B$t(t,e);return M$t(n)?n:void 0}S00.exports=D$t});var Fj=D((sma,R00)=>{u();p();var P$t=jb(),L$t=kl(),F$t=P$t(L$t,"Map");R00.exports=F$t});var WR=D((dma,M00)=>{u();p();var N$t=jb(),O$t=N$t(Object,"create");M00.exports=O$t});var P00=D((pma,D00)=>{u();p();var B00=WR();function U$t(){this.__data__=B00?B00(null):{},this.size=0}D00.exports=U$t});var F00=D((mma,L00)=>{u();p();function H$t(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}L00.exports=H$t});var O00=D((vma,N00)=>{u();p();var z$t=WR(),W$t="__lodash_hash_undefined__",q$t=Object.prototype,j$t=q$t.hasOwnProperty;function G$t(t){var e=this.__data__;if(z$t){var n=e[t];return n===W$t?void 0:n}return j$t.call(e,t)?e[t]:void 0}N00.exports=G$t});var H00=D((xma,U00)=>{u();p();var K$t=WR(),Q$t=Object.prototype,V$t=Q$t.hasOwnProperty;function Y$t(t){var e=this.__data__;return K$t?e[t]!==void 0:V$t.call(e,t)}U00.exports=Y$t});var W00=D((Ama,z00)=>{u();p();var $$t=WR(),J$t="__lodash_hash_undefined__";function X$t(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=$$t&&e===void 0?J$t:e,this}z00.exports=X$t});var j00=D((kma,q00)=>{u();p();var Z$t=P00(),eJt=F00(),tJt=O00(),nJt=H00(),aJt=W00();function qx(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e{u();p();var G00=j00(),rJt=UR(),fJt=Fj();function iJt(){this.size=0,this.__data__={hash:new G00,map:new(fJt||rJt),string:new G00}}K00.exports=iJt});var Y00=D((Pma,V00)=>{u();p();function sJt(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}V00.exports=sJt});var qR=D((Nma,$00)=>{u();p();var oJt=Y00();function cJt(t,e){var n=t.__data__;return oJt(e)?n[typeof e=="string"?"string":"hash"]:n.map}$00.exports=cJt});var X00=D((Hma,J00)=>{u();p();var dJt=qR();function lJt(t){var e=dJt(this,t).delete(t);return this.size-=e?1:0,e}J00.exports=lJt});var et0=D((qma,Z00)=>{u();p();var uJt=qR();function pJt(t){return uJt(this,t).get(t)}Z00.exports=pJt});var nt0=D((Kma,tt0)=>{u();p();var hJt=qR();function bJt(t){return hJt(this,t).has(t)}tt0.exports=bJt});var rt0=D((Yma,at0)=>{u();p();var mJt=qR();function yJt(t,e){var n=mJt(this,t),a=n.size;return n.set(t,e),this.size+=n.size==a?0:1,this}at0.exports=yJt});var it0=D((Xma,ft0)=>{u();p();var gJt=Q00(),vJt=X00(),wJt=et0(),TJt=nt0(),xJt=rt0();function jx(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e{u();p();var EJt=UR(),_Jt=Fj(),AJt=it0(),CJt=200;function IJt(t,e){var n=this.__data__;if(n instanceof EJt){var a=n.__data__;if(!_Jt||a.length{u();p();var kJt=UR(),SJt=Xe0(),RJt=e00(),MJt=n00(),BJt=r00(),DJt=ot0();function Gx(t){var e=this.__data__=new kJt(t);this.size=e.size}Gx.prototype.clear=SJt;Gx.prototype.delete=RJt;Gx.prototype.get=MJt;Gx.prototype.has=BJt;Gx.prototype.set=DJt;ct0.exports=Gx});var ut0=D((s4a,lt0)=>{u();p();function PJt(t,e){for(var n=-1,a=t==null?0:t.length;++n{u();p();var LJt=jb(),FJt=function(){try{var t=LJt(Object,"defineProperty");return t({},"",{}),t}catch{}}();pt0.exports=FJt});var Uce=D((p4a,mt0)=>{u();p();var bt0=ht0();function NJt(t,e,n){e=="__proto__"&&bt0?bt0(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}mt0.exports=NJt});var Hce=D((m4a,yt0)=>{u();p();var OJt=Uce(),UJt=Pce(),HJt=Object.prototype,zJt=HJt.hasOwnProperty;function WJt(t,e,n){var a=t[e];(!(zJt.call(t,e)&&UJt(a,n))||n===void 0&&!(e in t))&&OJt(t,e,n)}yt0.exports=WJt});var jR=D((v4a,gt0)=>{u();p();var qJt=Hce(),jJt=Uce();function GJt(t,e,n,a){var r=!n;n||(n={});for(var f=-1,i=e.length;++f{u();p();function KJt(t,e){for(var n=-1,a=Array(t);++n{u();p();function QJt(t){return t!=null&&typeof t=="object"}Tt0.exports=QJt});var Et0=D((k4a,xt0)=>{u();p();var VJt=zR(),YJt=Kx(),$Jt="[object Arguments]";function JJt(t){return YJt(t)&&VJt(t)==$Jt}xt0.exports=JJt});var It0=D((M4a,Ct0)=>{u();p();var _t0=Et0(),XJt=Kx(),At0=Object.prototype,ZJt=At0.hasOwnProperty,eXt=At0.propertyIsEnumerable,tXt=_t0(function(){return arguments}())?_t0:function(t){return XJt(t)&&ZJt.call(t,"callee")&&!eXt.call(t,"callee")};Ct0.exports=tXt});var Nj=D((P4a,kt0)=>{u();p();var nXt=Array.isArray;kt0.exports=nXt});var Rt0=D((N4a,St0)=>{u();p();function aXt(){return!1}St0.exports=aXt});var zce=D((GR,Qx)=>{u();p();var rXt=kl(),fXt=Rt0(),Dt0=typeof GR=="object"&&GR&&!GR.nodeType&&GR,Mt0=Dt0&&typeof Qx=="object"&&Qx&&!Qx.nodeType&&Qx,iXt=Mt0&&Mt0.exports===Dt0,Bt0=iXt?rXt.Buffer:void 0,sXt=Bt0?Bt0.isBuffer:void 0,oXt=sXt||fXt;Qx.exports=oXt});var Lt0=D((W4a,Pt0)=>{u();p();var cXt=9007199254740991,dXt=/^(?:0|[1-9]\d*)$/;function lXt(t,e){var n=typeof t;return e=e??cXt,!!e&&(n=="number"||n!="symbol"&&dXt.test(t))&&t>-1&&t%1==0&&t{u();p();var uXt=9007199254740991;function pXt(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=uXt}Ft0.exports=pXt});var Ot0=D((V4a,Nt0)=>{u();p();var hXt=zR(),bXt=Wce(),mXt=Kx(),yXt="[object Arguments]",gXt="[object Array]",vXt="[object Boolean]",wXt="[object Date]",TXt="[object Error]",xXt="[object Function]",EXt="[object Map]",_Xt="[object Number]",AXt="[object Object]",CXt="[object RegExp]",IXt="[object Set]",kXt="[object String]",SXt="[object WeakMap]",RXt="[object ArrayBuffer]",MXt="[object DataView]",BXt="[object Float32Array]",DXt="[object Float64Array]",PXt="[object Int8Array]",LXt="[object Int16Array]",FXt="[object Int32Array]",NXt="[object Uint8Array]",OXt="[object Uint8ClampedArray]",UXt="[object Uint16Array]",HXt="[object Uint32Array]",rf={};rf[BXt]=rf[DXt]=rf[PXt]=rf[LXt]=rf[FXt]=rf[NXt]=rf[OXt]=rf[UXt]=rf[HXt]=!0;rf[yXt]=rf[gXt]=rf[RXt]=rf[vXt]=rf[MXt]=rf[wXt]=rf[TXt]=rf[xXt]=rf[EXt]=rf[_Xt]=rf[AXt]=rf[CXt]=rf[IXt]=rf[kXt]=rf[SXt]=!1;function zXt(t){return mXt(t)&&bXt(t.length)&&!!rf[hXt(t)]}Nt0.exports=zXt});var Oj=D((J4a,Ut0)=>{u();p();function WXt(t){return function(e){return t(e)}}Ut0.exports=WXt});var Uj=D((KR,Vx)=>{u();p();var qXt=Lce(),Ht0=typeof KR=="object"&&KR&&!KR.nodeType&&KR,QR=Ht0&&typeof Vx=="object"&&Vx&&!Vx.nodeType&&Vx,jXt=QR&&QR.exports===Ht0,qce=jXt&&qXt.process,GXt=function(){try{var t=QR&&QR.require&&QR.require("util").types;return t||qce&&qce.binding&&qce.binding("util")}catch{}}();Vx.exports=GXt});var jt0=D((nya,qt0)=>{u();p();var KXt=Ot0(),QXt=Oj(),zt0=Uj(),Wt0=zt0&&zt0.isTypedArray,VXt=Wt0?QXt(Wt0):KXt;qt0.exports=VXt});var jce=D((fya,Gt0)=>{u();p();var YXt=wt0(),$Xt=It0(),JXt=Nj(),XXt=zce(),ZXt=Lt0(),eZt=jt0(),tZt=Object.prototype,nZt=tZt.hasOwnProperty;function aZt(t,e){var n=JXt(t),a=!n&&$Xt(t),r=!n&&!a&&XXt(t),f=!n&&!a&&!r&&eZt(t),i=n||a||r||f,s=i?YXt(t.length,String):[],o=s.length;for(var c in t)(e||nZt.call(t,c))&&!(i&&(c=="length"||r&&(c=="offset"||c=="parent")||f&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||ZXt(c,o)))&&s.push(c);return s}Gt0.exports=aZt});var Hj=D((oya,Kt0)=>{u();p();var rZt=Object.prototype;function fZt(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||rZt;return t===n}Kt0.exports=fZt});var Gce=D((lya,Qt0)=>{u();p();function iZt(t,e){return function(n){return t(e(n))}}Qt0.exports=iZt});var Yt0=D((hya,Vt0)=>{u();p();var sZt=Gce(),oZt=sZt(Object.keys,Object);Vt0.exports=oZt});var Jt0=D((yya,$t0)=>{u();p();var cZt=Hj(),dZt=Yt0(),lZt=Object.prototype,uZt=lZt.hasOwnProperty;function pZt(t){if(!cZt(t))return dZt(t);var e=[];for(var n in Object(t))uZt.call(t,n)&&n!="constructor"&&e.push(n);return e}$t0.exports=pZt});var Kce=D((wya,Xt0)=>{u();p();var hZt=Fce(),bZt=Wce();function mZt(t){return t!=null&&bZt(t.length)&&!hZt(t)}Xt0.exports=mZt});var zj=D((Eya,Zt0)=>{u();p();var yZt=jce(),gZt=Jt0(),vZt=Kce();function wZt(t){return vZt(t)?yZt(t):gZt(t)}Zt0.exports=wZt});var tn0=D((Cya,en0)=>{u();p();var TZt=jR(),xZt=zj();function EZt(t,e){return t&&TZt(e,xZt(e),t)}en0.exports=EZt});var an0=D((Sya,nn0)=>{u();p();function _Zt(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}nn0.exports=_Zt});var fn0=D((Bya,rn0)=>{u();p();var AZt=Wx(),CZt=Hj(),IZt=an0(),kZt=Object.prototype,SZt=kZt.hasOwnProperty;function RZt(t){if(!AZt(t))return IZt(t);var e=CZt(t),n=[];for(var a in t)a=="constructor"&&(e||!SZt.call(t,a))||n.push(a);return n}rn0.exports=RZt});var Wj=D((Lya,in0)=>{u();p();var MZt=jce(),BZt=fn0(),DZt=Kce();function PZt(t){return DZt(t)?MZt(t,!0):BZt(t)}in0.exports=PZt});var on0=D((Oya,sn0)=>{u();p();var LZt=jR(),FZt=Wj();function NZt(t,e){return t&&LZt(e,FZt(e),t)}sn0.exports=NZt});var pn0=D((VR,Yx)=>{u();p();var OZt=kl(),un0=typeof VR=="object"&&VR&&!VR.nodeType&&VR,cn0=un0&&typeof Yx=="object"&&Yx&&!Yx.nodeType&&Yx,UZt=cn0&&cn0.exports===un0,dn0=UZt?OZt.Buffer:void 0,ln0=dn0?dn0.allocUnsafe:void 0;function HZt(t,e){if(e)return t.slice();var n=t.length,a=ln0?ln0(n):new t.constructor(n);return t.copy(a),a}Yx.exports=HZt});var bn0=D((qya,hn0)=>{u();p();function zZt(t,e){var n=-1,a=t.length;for(e||(e=Array(a));++n{u();p();function WZt(t,e){for(var n=-1,a=t==null?0:t.length,r=0,f=[];++n{u();p();function qZt(){return[]}gn0.exports=qZt});var qj=D((Xya,wn0)=>{u();p();var jZt=yn0(),GZt=Qce(),KZt=Object.prototype,QZt=KZt.propertyIsEnumerable,vn0=Object.getOwnPropertySymbols,VZt=vn0?function(t){return t==null?[]:(t=Object(t),jZt(vn0(t),function(e){return QZt.call(t,e)}))}:GZt;wn0.exports=VZt});var xn0=D((t7a,Tn0)=>{u();p();var YZt=jR(),$Zt=qj();function JZt(t,e){return YZt(t,$Zt(t),e)}Tn0.exports=JZt});var Vce=D((r7a,En0)=>{u();p();function XZt(t,e){for(var n=-1,a=e.length,r=t.length;++n{u();p();var ZZt=Gce(),een=ZZt(Object.getPrototypeOf,Object);_n0.exports=een});var $ce=D((d7a,An0)=>{u();p();var ten=Vce(),nen=Yce(),aen=qj(),ren=Qce(),fen=Object.getOwnPropertySymbols,ien=fen?function(t){for(var e=[];t;)ten(e,aen(t)),t=nen(t);return e}:ren;An0.exports=ien});var In0=D((p7a,Cn0)=>{u();p();var sen=jR(),oen=$ce();function cen(t,e){return sen(t,oen(t),e)}Cn0.exports=cen});var Jce=D((m7a,kn0)=>{u();p();var den=Vce(),len=Nj();function uen(t,e,n){var a=e(t);return len(t)?a:den(a,n(t))}kn0.exports=uen});var Rn0=D((v7a,Sn0)=>{u();p();var pen=Jce(),hen=qj(),ben=zj();function men(t){return pen(t,ben,hen)}Sn0.exports=men});var Bn0=D((x7a,Mn0)=>{u();p();var yen=Jce(),gen=$ce(),ven=Wj();function wen(t){return yen(t,ven,gen)}Mn0.exports=wen});var Pn0=D((A7a,Dn0)=>{u();p();var Ten=jb(),xen=kl(),Een=Ten(xen,"DataView");Dn0.exports=Een});var Fn0=D((k7a,Ln0)=>{u();p();var _en=jb(),Aen=kl(),Cen=_en(Aen,"Promise");Ln0.exports=Cen});var On0=D((M7a,Nn0)=>{u();p();var Ien=jb(),ken=kl(),Sen=Ien(ken,"Set");Nn0.exports=Sen});var Hn0=D((P7a,Un0)=>{u();p();var Ren=jb(),Men=kl(),Ben=Ren(Men,"WeakMap");Un0.exports=Ben});var jj=D((N7a,Qn0)=>{u();p();var Xce=Pn0(),Zce=Fj(),e6e=Fn0(),t6e=On0(),n6e=Hn0(),Kn0=zR(),$x=Oce(),zn0="[object Map]",Den="[object Object]",Wn0="[object Promise]",qn0="[object Set]",jn0="[object WeakMap]",Gn0="[object DataView]",Pen=$x(Xce),Len=$x(Zce),Fen=$x(e6e),Nen=$x(t6e),Oen=$x(n6e),i9=Kn0;(Xce&&i9(new Xce(new ArrayBuffer(1)))!=Gn0||Zce&&i9(new Zce)!=zn0||e6e&&i9(e6e.resolve())!=Wn0||t6e&&i9(new t6e)!=qn0||n6e&&i9(new n6e)!=jn0)&&(i9=function(t){var e=Kn0(t),n=e==Den?t.constructor:void 0,a=n?$x(n):"";if(a)switch(a){case Pen:return Gn0;case Len:return zn0;case Fen:return Wn0;case Nen:return qn0;case Oen:return jn0}return e});Qn0.exports=i9});var Yn0=D((H7a,Vn0)=>{u();p();var Uen=Object.prototype,Hen=Uen.hasOwnProperty;function zen(t){var e=t.length,n=new t.constructor(e);return e&&typeof t[0]=="string"&&Hen.call(t,"index")&&(n.index=t.index,n.input=t.input),n}Vn0.exports=zen});var Jn0=D((q7a,$n0)=>{u();p();var Wen=kl(),qen=Wen.Uint8Array;$n0.exports=qen});var Gj=D((K7a,Zn0)=>{u();p();var Xn0=Jn0();function jen(t){var e=new t.constructor(t.byteLength);return new Xn0(e).set(new Xn0(t)),e}Zn0.exports=jen});var ta0=D((Y7a,ea0)=>{u();p();var Gen=Gj();function Ken(t,e){var n=e?Gen(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}ea0.exports=Ken});var aa0=D((X7a,na0)=>{u();p();var Qen=/\w*$/;function Ven(t){var e=new t.constructor(t.source,Qen.exec(t));return e.lastIndex=t.lastIndex,e}na0.exports=Ven});var oa0=D((t9a,sa0)=>{u();p();var ra0=Lj(),fa0=ra0?ra0.prototype:void 0,ia0=fa0?fa0.valueOf:void 0;function Yen(t){return ia0?Object(ia0.call(t)):{}}sa0.exports=Yen});var da0=D((r9a,ca0)=>{u();p();var $en=Gj();function Jen(t,e){var n=e?$en(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}ca0.exports=Jen});var ua0=D((s9a,la0)=>{u();p();var Xen=Gj(),Zen=ta0(),e0n=aa0(),t0n=oa0(),n0n=da0(),a0n="[object Boolean]",r0n="[object Date]",f0n="[object Map]",i0n="[object Number]",s0n="[object RegExp]",o0n="[object Set]",c0n="[object String]",d0n="[object Symbol]",l0n="[object ArrayBuffer]",u0n="[object DataView]",p0n="[object Float32Array]",h0n="[object Float64Array]",b0n="[object Int8Array]",m0n="[object Int16Array]",y0n="[object Int32Array]",g0n="[object Uint8Array]",v0n="[object Uint8ClampedArray]",w0n="[object Uint16Array]",T0n="[object Uint32Array]";function x0n(t,e,n){var a=t.constructor;switch(e){case l0n:return Xen(t);case a0n:case r0n:return new a(+t);case u0n:return Zen(t,n);case p0n:case h0n:case b0n:case m0n:case y0n:case g0n:case v0n:case w0n:case T0n:return n0n(t,n);case f0n:return new a;case i0n:case c0n:return new a(t);case s0n:return e0n(t);case o0n:return new a;case d0n:return t0n(t)}}la0.exports=x0n});var ba0=D((d9a,ha0)=>{u();p();var E0n=Wx(),pa0=Object.create,_0n=function(){function t(){}return function(e){if(!E0n(e))return{};if(pa0)return pa0(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();ha0.exports=_0n});var ya0=D((p9a,ma0)=>{u();p();var A0n=ba0(),C0n=Yce(),I0n=Hj();function k0n(t){return typeof t.constructor=="function"&&!I0n(t)?A0n(C0n(t)):{}}ma0.exports=k0n});var va0=D((m9a,ga0)=>{u();p();var S0n=jj(),R0n=Kx(),M0n="[object Map]";function B0n(t){return R0n(t)&&S0n(t)==M0n}ga0.exports=B0n});var Ea0=D((v9a,xa0)=>{u();p();var D0n=va0(),P0n=Oj(),wa0=Uj(),Ta0=wa0&&wa0.isMap,L0n=Ta0?P0n(Ta0):D0n;xa0.exports=L0n});var Aa0=D((x9a,_a0)=>{u();p();var F0n=jj(),N0n=Kx(),O0n="[object Set]";function U0n(t){return N0n(t)&&F0n(t)==O0n}_a0.exports=U0n});var Sa0=D((A9a,ka0)=>{u();p();var H0n=Aa0(),z0n=Oj(),Ca0=Uj(),Ia0=Ca0&&Ca0.isSet,W0n=Ia0?z0n(Ia0):H0n;ka0.exports=W0n});var Pa0=D((k9a,Da0)=>{u();p();var q0n=dt0(),j0n=ut0(),G0n=Hce(),K0n=tn0(),Q0n=on0(),V0n=pn0(),Y0n=bn0(),$0n=xn0(),J0n=In0(),X0n=Rn0(),Z0n=Bn0(),etn=jj(),ttn=Yn0(),ntn=ua0(),atn=ya0(),rtn=Nj(),ftn=zce(),itn=Ea0(),stn=Wx(),otn=Sa0(),ctn=zj(),dtn=Wj(),ltn=1,utn=2,ptn=4,Ra0="[object Arguments]",htn="[object Array]",btn="[object Boolean]",mtn="[object Date]",ytn="[object Error]",Ma0="[object Function]",gtn="[object GeneratorFunction]",vtn="[object Map]",wtn="[object Number]",Ba0="[object Object]",Ttn="[object RegExp]",xtn="[object Set]",Etn="[object String]",_tn="[object Symbol]",Atn="[object WeakMap]",Ctn="[object ArrayBuffer]",Itn="[object DataView]",ktn="[object Float32Array]",Stn="[object Float64Array]",Rtn="[object Int8Array]",Mtn="[object Int16Array]",Btn="[object Int32Array]",Dtn="[object Uint8Array]",Ptn="[object Uint8ClampedArray]",Ltn="[object Uint16Array]",Ftn="[object Uint32Array]",Wr={};Wr[Ra0]=Wr[htn]=Wr[Ctn]=Wr[Itn]=Wr[btn]=Wr[mtn]=Wr[ktn]=Wr[Stn]=Wr[Rtn]=Wr[Mtn]=Wr[Btn]=Wr[vtn]=Wr[wtn]=Wr[Ba0]=Wr[Ttn]=Wr[xtn]=Wr[Etn]=Wr[_tn]=Wr[Dtn]=Wr[Ptn]=Wr[Ltn]=Wr[Ftn]=!0;Wr[ytn]=Wr[Ma0]=Wr[Atn]=!1;function Kj(t,e,n,a,r,f){var i,s=e<n,o=e&utn,c=e&ptn;if(n&&(i=r?n(t,a,r,f):n(t)),i!==void 0)return i;if(!stn(t))return t;var d=rtn(t);if(d){if(i=ttn(t),!s)return Y0n(t,i)}else{var l=etn(t),h=l==Ma0||l==gtn;if(ftn(t))return V0n(t,s);if(l==Ba0||l==Ra0||h&&!r){if(i=o||h?{}:atn(t),!s)return o?J0n(t,Q0n(i,t)):$0n(t,K0n(i,t))}else{if(!Wr[l])return r?t:{};i=ntn(t,l,s)}}f||(f=new q0n);var y=f.get(t);if(y)return y;f.set(t,i),otn(t)?t.forEach(function(O){i.add(Kj(O,e,n,O,t,f))}):itn(t)&&t.forEach(function(O,F){i.set(F,Kj(O,e,n,F,t,f))});var v=c?o?Z0n:X0n:o?dtn:ctn,k=d?void 0:v(t);return j0n(k||t,function(O,F){k&&(F=O,O=t[F]),G0n(i,F,Kj(O,e,n,F,t,f))}),i}Da0.exports=Kj});var Fa0=D((M9a,La0)=>{u();p();var Ntn=Pa0(),Otn=1,Utn=4;function Htn(t){return Ntn(t,Otn|Utn)}La0.exports=Htn});var Ha0=D(qr=>{"use strict";u();p();var ztn=qr&&qr.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(qr,"__esModule",{value:!0});qr.asL2Provider=qr.isL2Provider=qr.estimateTotalGasCost=qr.estimateL2GasCost=qr.estimateL1GasCost=qr.estimateL1Gas=qr.getL1GasPrice=void 0;var Oa0=P2(),a6e=Xe(),Na0=xx(),Wtn=ztn(Fa0()),qtn=Qoe(),Q8=Ub(),Ua0=async(t,e)=>e.nonce!==void 0?(0,Q8.toNumber)(e.nonce):e.from!==void 0?(0,Q8.toProvider)(t).getTransactionCount(e.from):4294967295,r6e=t=>new a6e.Contract(Na0.predeploys.OVM_GasPriceOracle,(0,Na0.getContractInterface)("OVM_GasPriceOracle"),(0,Q8.toProvider)(t)),jtn=async t=>r6e(t).l1BaseFee();qr.getL1GasPrice=jtn;var Gtn=async(t,e)=>r6e(t).getL1GasUsed((0,Oa0.serialize)({to:e.to,gasLimit:e.gasLimit,gasPrice:e.gasPrice,maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas,data:e.data,value:e.value,chainId:e.chainId,type:e.type,accessList:e.accessList,nonce:e.nonce?a6e.BigNumber.from(e.nonce).toNumber():await Ua0(t,e)}));qr.estimateL1Gas=Gtn;var Ktn=async(t,e)=>r6e(t).getL1Fee((0,Oa0.serialize)({to:e.to,gasLimit:e.gasLimit,gasPrice:e.gasPrice,maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas,data:e.data,value:e.value,chainId:e.chainId,type:e.type,accessList:e.accessList,nonce:e.nonce?a6e.BigNumber.from(e.nonce).toNumber():await Ua0(t,e)}));qr.estimateL1GasCost=Ktn;var Qtn=async(t,e)=>{let n=(0,Q8.toProvider)(t),a=await n.getGasPrice(),r=await n.estimateGas(e);return a.mul(r)};qr.estimateL2GasCost=Qtn;var Vtn=async(t,e)=>{let n=await(0,qr.estimateL1GasCost)(t,e),a=await(0,qr.estimateL2GasCost)(t,e);return n.add(a)};qr.estimateTotalGasCost=Vtn;var Ytn=t=>!!t._isL2Provider;qr.isL2Provider=Ytn;var $tn=t=>{if((0,qr.isL2Provider)(t))return t;let e=(0,Wtn.default)(t),n=e.formatter;(0,qtn.assert)(n,"provider.formatter must be defined");let a=n.block.bind(n);n.block=s=>{let o=a(s);return o.stateRoot=s.stateRoot,o};let r=n.blockWithTransactions.bind(n);n.blockWithTransactions=s=>{let o=r(s);return o.stateRoot=s.stateRoot,o.transactions=o.transactions.map((c,d)=>{let l=s.transactions[d];return c.l1BlockNumber=l.l1BlockNumber?(0,Q8.toNumber)(l.l1BlockNumber):l.l1BlockNumber,c.l1Timestamp=l.l1Timestamp?(0,Q8.toNumber)(l.l1Timestamp):l.l1Timestamp,c.l1TxOrigin=l.l1TxOrigin,c.queueOrigin=l.queueOrigin,c.rawTransaction=l.rawTransaction,c}),o};let f=n.transactionResponse.bind(n);n.transactionResponse=s=>{let o=f(s);return o.txType=s.txType,o.queueOrigin=s.queueOrigin,o.rawTransaction=s.rawTransaction,o.l1TxOrigin=s.l1TxOrigin,o.l1BlockNumber=s.l1BlockNumber?parseInt(s.l1BlockNumber,16):s.l1BlockNumbers,o};let i=n.receipt.bind(n);return n.receipt=s=>{let o=i(s);return o.l1GasPrice=(0,Q8.toBigNumber)(s.l1GasPrice),o.l1GasUsed=(0,Q8.toBigNumber)(s.l1GasUsed),o.l1Fee=(0,Q8.toBigNumber)(s.l1Fee),o.l1FeeScalar=parseFloat(s.l1FeeScalar),o},e.getL1GasPrice=async()=>(0,qr.getL1GasPrice)(e),e.estimateL1Gas=async s=>(0,qr.estimateL1Gas)(e,s),e.estimateL1GasCost=async s=>(0,qr.estimateL1GasCost)(e,s),e.estimateL2GasCost=async s=>(0,qr.estimateL2GasCost)(e,s),e.estimateTotalGasCost=async s=>(0,qr.estimateTotalGasCost)(e,s),e._isL2Provider=!0,e};qr.asL2Provider=$tn});var za0=D(Sl=>{"use strict";u();p();var Jtn=Sl&&Sl.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),YR=Sl&&Sl.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Jtn(e,t,n)};Object.defineProperty(Sl,"__esModule",{value:!0});YR(wx(),Sl);YR(Ub(),Sl);YR(Ne0(),Sl);YR(Bq(),Sl);YR(Ha0(),Sl)});async function Rl(t){t.originalProvider&&(t=t.originalProvider);let e=await Vj(t);return e.maxFeePerGas&&e.maxPriorityFeePerGas?{maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas}:{gasPrice:await Jx(t)}}async function Vj(t){let e=null,n=null,[{chainId:a},r,f]=await Promise.all([t.getNetwork(),t.getBlock("latest"),t.send("eth_maxPriorityFeePerGas",[]).catch(()=>null)]),i=r&&r.baseFeePerGas?r.baseFeePerGas:lt.utils.parseUnits("100","wei");if(a===Ose.chainId||a===Use.chainId)return{maxFeePerGas:null,maxPriorityFeePerGas:null,baseFee:null};if(a===EW.chainId||a===z7.chainId)n=await Wa0(a);else if(f)n=lt.BigNumber.from(f);else if(n=(await t.getFeeData()).maxPriorityFeePerGas,!n)return{maxFeePerGas:null,maxPriorityFeePerGas:null,baseFee:null};return n=Xtn(n),e=i.mul(2).add(n),{maxFeePerGas:e,maxPriorityFeePerGas:n,baseFee:i}}function Xtn(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:10,n=t.div(100).mul(e);return t.add(n)}async function Jx(t){let e=await t.getGasPrice(),n=lt.utils.parseUnits("300","gwei"),a=e.div(100).mul(10),r=e.add(a);return r.gt(n)?n:r}async function JR(t,e){let n=(await t.getNetwork()).chainId,a=lt.BigNumber.from(0);if(Ztn(n)){let{asL2Provider:s}=await Promise.resolve().then(()=>Ee(za0()));a=await s(t).estimateL1GasCost(e)}let r=e.gasLimit||await t.estimateGas(e),f=await Jx(t);return lt.BigNumber.from(r).mul(f).add(a)}function Ztn(t){return t===TW.chainId||t===AW.chainId||t===xW.chainId||t===_W.chainId||t===zse.chainId||t===Wse.chainId||t===KS.chainId||t===QS.chainId||t===204||t===5611}function enn(t){switch(t){case E0.Polygon:return"https://gasstation.polygon.technology/v2";case E0.Mumbai:return"https://gasstation-testnet.polygon.technology/v2"}}function ann(t){switch(t){case E0.Polygon:return tnn;case E0.Mumbai:return nnn}}async function Wa0(t){let e=enn(t);try{let a=(await(await fetch(e)).json()).fast.maxPriorityFee;if(a>0){let r=parseFloat(a).toFixed(9);return lt.utils.parseUnits(r,"gwei")}}catch{}return ann(t)}function jr(t){async function e(){return(await t(...arguments)).execute()}return e.prepare=t,e}function me(t){async function e(){return(await t(...arguments)).execute()}return e.prepare=t,e}async function rnn(t,e,n,a,r){return r&&"biconomy"in r?fnn(t,e,n,r):r&&"openzeppelin"in r?inn(t,e,n,a,r):qa0(t,e,n,a,r)}async function qa0(t,e,n,a,r){d0(r&&"engine"in r,"calling engine gasless transaction without engine config in the SDK options");let f=await snn(t,e,n,a,r),s=await(await fetch(r.engine.relayerUrl,{...f,headers:{"Content-Type":"application/json"}})).json();if(s.error)throw new Error(s.error?.message||JSON.stringify(s.error));let o=s.result.queueId,c=r.engine.relayerUrl.split("/relayer/")[0],d=Date.now();for(;;){let h=await(await fetch(`${c}/transaction/status/${o}`)).json();if(h.result.transactionHash)return h.result.transactionHash;if(Date.now()-d>30*1e3)throw new Error("timeout");await new Promise(y=>setTimeout(y,2e3))}}async function fnn(t,e,n,a){let r=await cnn(t,e,n,a),f=await fetch("https://api.biconomy.io/api/v2/meta-tx/native",r);if(f.ok){let i=await f.json();if(!i.txHash)throw new Error(`relay transaction failed: ${i.log}`);return i.txHash}throw new Error(`relay transaction failed with status: ${f.status} (${f.statusText})`)}async function inn(t,e,n,a,r){d0(r&&"openzeppelin"in r,"calling openzeppelin gasless transaction without openzeppelin config in the SDK options");let f=await onn(t,e,n,a,r),i=await fetch(r.openzeppelin.relayerUrl,f);if(i.ok){let s=await i.json();if(!s.result)throw new Error(`Relay transaction failed: ${s.message}`);return JSON.parse(s.result).txHash}throw new Error(`relay transaction failed with status: ${i.status} (${i.statusText})`)}async function snn(t,e,n,a,r){d0(r&&"engine"in r,"calling engine gasless transaction without openzeppelin config in the SDK options");try{let f=await Sf(t.to,n,a),i=(await n.getNetwork()).chainId,s=await Gb(t.to,f.abi,n,{},a),o=new ut(e,t.to,s,{},a);if(s.find(c=>c.name==="executeMetaTransaction")){let d={name:await o.call("name",[]),version:"1",salt:"0x"+i.toString(16).padStart(64,"0"),verifyingContract:t.to},l={MetaTransaction:[{name:"nonce",type:"uint256"},{name:"from",type:"address"},{name:"functionSignature",type:"bytes"}]},y={nonce:await o.call("getNonce",[t.from]),from:t.from,functionSignature:t.data},{signature:v}=await qc(e,d,l,y);return{method:"POST",body:JSON.stringify({type:"execute-meta-transaction",request:{from:t.from,to:t.to,data:t.data},signature:v})}}}catch{}if(t.functionName==="approve"&&t.functionArgs.length===2){let f=t.functionArgs[0],i=t.functionArgs[1],{message:s,signature:o}=await tM(e,t.to,t.from,f,i,r.engine.domainSeparatorVersion),c={to:t.to,owner:s.owner,spender:s.spender,value:lt.BigNumber.from(s.value).toString(),nonce:lt.BigNumber.from(s.nonce).toString(),deadline:lt.BigNumber.from(s.deadline).toString()};return{method:"POST",body:JSON.stringify({type:"permit",request:c,signature:o})}}else{let f=r.engine.relayerForwarderAddress||du[t.chainId]?.openzeppelinForwarder||await s9(n,a),i=(await Promise.resolve().then(()=>Ee(YS()))).default,s=new lt.Contract(f,i,n),o=await c9(s,"getNonce",[t.from]),c,d,l;r.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:f},d={ForwardRequest:eM},l={from:t.from,to:t.to,value:lt.BigNumber.from(0).toString(),gas:lt.BigNumber.from(t.gasLimit).toString(),nonce:lt.BigNumber.from(o).toString(),data:t.data,chainid:lt.BigNumber.from(t.chainId).toString()}):(c={name:r.engine.domainName,version:r.engine.domainVersion,chainId:t.chainId,verifyingContract:f},d={ForwardRequest:ZR},l={from:t.from,to:t.to,value:lt.BigNumber.from(0).toString(),gas:lt.BigNumber.from(t.gasLimit).toString(),nonce:lt.BigNumber.from(o).toString(),data:t.data});let{signature:h}=await qc(e,c,d,l);return{method:"POST",body:JSON.stringify({type:"forward",request:l,signature:h,forwarderAddress:f})}}}async function onn(t,e,n,a,r){d0(r&&"openzeppelin"in r,"calling openzeppelin gasless transaction without openzeppelin config in the SDK options"),d0(e,"provider is not set"),d0(n,"provider is not set");let f=r.openzeppelin.relayerForwarderAddress||(r.openzeppelin.useEOAForwarder?du[t.chainId]?.openzeppelinForwarderEOA||await $j(n,a):du[t.chainId]?.openzeppelinForwarder||await s9(n,a)),i=(await Promise.resolve().then(()=>Ee(YS()))).default,s=new lt.Contract(f,i,n),o=await c9(s,"getNonce",[t.from]),c,d,l;r.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:f},d={ForwardRequest:eM},l={from:t.from,to:t.to,value:lt.BigNumber.from(0).toString(),gas:lt.BigNumber.from(t.gasLimit).toString(),nonce:lt.BigNumber.from(o).toString(),data:t.data,chainid:lt.BigNumber.from(t.chainId).toString()}):(c={name:r.openzeppelin.domainName,version:r.openzeppelin.domainVersion,chainId:t.chainId,verifyingContract:f},d={ForwardRequest:ZR},l={from:t.from,to:t.to,value:lt.BigNumber.from(0).toString(),gas:lt.BigNumber.from(t.gasLimit).toString(),nonce:lt.BigNumber.from(o).toString(),data:t.data});let h;if(t.functionName==="approve"&&t.functionArgs.length===2){let v=t.functionArgs[0],k=t.functionArgs[1],{message:O,signature:F}=await tM(e,t.to,t.from,v,k,r.openzeppelin.domainSeparatorVersion),{r:z,s:W,v:j}=lt.utils.splitSignature(F);l={to:t.to,owner:O.owner,spender:O.spender,value:lt.BigNumber.from(O.value).toString(),nonce:lt.BigNumber.from(O.nonce).toString(),deadline:lt.BigNumber.from(O.deadline).toString(),r:z,s:W,v:j},h=F}else{let{signature:v}=await qc(e,c,d,l);h=v}let y="forward";return l?.owner&&(y="permit"),{method:"POST",body:JSON.stringify({request:l,signature:h,forwarderAddress:f,type:y})}}async function cnn(t,e,n,a){d0(a&&"biconomy"in a,"calling biconomySendFunction without biconomy"),d0(e&&n,"signer and provider must be set");let r=new lt.Contract(d9(t.chainId,"biconomyForwarder"),f6e,n),f=0,i=await c9(r,"getNonce",[t.from,f]),s={from:t.from,to:t.to,token:lt.constants.AddressZero,txGas:t.gasLimit.toNumber(),tokenGasPrice:"0",batchId:f,batchNonce:i.toNumber(),deadline:Math.floor(Date.now()/1e3+(a&&"biconomy"in a&&a.biconomy?.deadlineSeconds||3600)),data:t.data},o=lt.utils.arrayify(lt.utils.solidityKeccak256(["address","address","address","uint256","uint256","uint256","uint256","uint256","bytes32"],[s.from,s.to,s.token,s.txGas,s.tokenGasPrice,s.batchId,s.batchNonce,s.deadline,lt.utils.keccak256(s.data)])),c=await e.signMessage(o);return{method:"POST",body:JSON.stringify({from:t.from,apiId:a.biconomy.apiId,params:[s,c],to:t.to,gasLimit:t.gasLimit.toHexString()}),headers:{"x-api-key":a.biconomy.apiKey,"Content-Type":"application/json;charset=utf-8"}}}var lt,tnn,nnn,Qj,Me,$R,Da=ce(()=>{"use strict";u();p();ln();lt=Ee(Xe());Nc();vx();ir();tnn=lt.utils.parseUnits("31","gwei"),nnn=lt.utils.parseUnits("1","gwei");Qj=class{constructor(e){this.args=e.args,this.overrides=e.overrides||{},this.provider=e.provider,this.signer=e.signer,this.storage=e.storage,this.signer.provider||(this.signer=this.signer.connect(this.provider))}get getSigner(){return this.signer}get getProvider(){return this.provider}get getStorage(){return this.storage}getArgs(){return this.args}getOverrides(){return this.overrides}getValue(){return this.overrides.value||0}setArgs(e){return this.args=e,this}setOverrides(e){return this.overrides=e,this}updateOverrides(e){return this.overrides={...this.overrides,...e},this}setValue(e){return this.updateOverrides({value:e}),this}setGasLimit(e){return this.updateOverrides({gasLimit:e}),this}setGasPrice(e){return this.updateOverrides({gasPrice:e}),this}setNonce(e){return this.updateOverrides({nonce:e}),this}setMaxFeePerGas(e){return this.updateOverrides({maxFeePerGas:e}),this}setMaxPriorityFeePerGas(e){return this.updateOverrides({maxPriorityFeePerGas:e}),this}setType(e){return this.updateOverrides({type:e}),this}setAccessList(e){return this.updateOverrides({accessList:e}),this}setCustomData(e){return this.updateOverrides({customData:e}),this}setCcipReadEnabled(e){return this.updateOverrides({ccipReadEnabled:e}),this}setGasLimitMultiple(e){lt.BigNumber.isBigNumber(this.overrides.gasLimit)?this.overrides.gasLimit=lt.BigNumber.from(Math.floor(lt.BigNumber.from(this.overrides.gasLimit).toNumber()*e)):this.gasMultiple=e}async getGasPrice(){return Jx(this.provider)}async getSignerAddress(){return this.signer.getAddress()}async getGasOverrides(){return j7()?{}:Rl(this.provider)}},Me=class t extends Qj{static fromContractWrapper(e){let n=e.contractWrapper.getSigner();if(!n)throw new Error("Cannot create a transaction without a signer. Please ensure that you have a connected signer.");let a={...e,contract:e.contractWrapper.writeContract,provider:e.contractWrapper.getProvider(),signer:n,gasless:e.contractWrapper.options.gasless,storage:e.contractWrapper.storage};return new t(a)}static async fromContractInfo(e){let n=e.storage,a=e.contractAbi;if(!a)try{a=(await Sf(e.contractAddress,e.provider,n)).abi}catch{throw new Error(`Could resolve contract metadata for address ${e.contractAddress}. Please pass the contract ABI manually with the 'contractAbi' option.`)}let r=new lt.Contract(e.contractAddress,a,e.provider),f={...e,storage:n,contract:r};return new t(f)}constructor(e){super({args:e.args,overrides:e.overrides,provider:e.provider,signer:e.signer,storage:e.storage}),this.method=e.method,this.gaslessOptions=e.gasless,this.parse=e.parse,this.contract=e.contract.connect(this.signer),this.storage=e.storage}getTarget(){return this.contract.address}getMethod(){return this.method}getGaslessOptions(){return this.gaslessOptions}setGaslessOptions(e){return this.gaslessOptions=e,this}setParse(e){return this.parse=e,this}encode(){return this.contract.interface.encodeFunctionData(this.method,this.args)}async sign(){let e=await this.populateTransaction();return await this.contract.signer.signTransaction(e)}async populateTransaction(){let n={...await this.getGasOverrides(),...this.overrides};n.gasLimit||(n.gasLimit=await this.estimateGasLimit());let a=await this.contract.populateTransaction[this.method](...this.args,n);return await this.contract.signer.populateTransaction(a)}async simulate(){if(!this.contract.callStatic[this.method])throw this.functionError();try{return await this.contract.callStatic[this.method](...this.args,...this.overrides.value?[{value:this.overrides.value}]:[])}catch(e){throw await this.transactionError(e)}}async estimateGasLimit(){if(!this.contract.estimateGas[this.method])throw this.functionError();try{let e=await this.contract.estimateGas[this.method](...this.args,this.overrides);return this.gasMultiple?lt.BigNumber.from(Math.floor(lt.BigNumber.from(e).toNumber()*this.gasMultiple)):e}catch(e){throw await this.simulate(),await this.transactionError(e)}}async estimateGasCost(){let e=await JR(this.provider,await this.populateTransaction());return{ether:lt.utils.formatEther(e),wei:e}}async send(){if(!this.contract.functions[this.method])throw this.functionError();if(this.gaslessOptions&&("openzeppelin"in this.gaslessOptions||"biconomy"in this.gaslessOptions||"engine"in this.gaslessOptions))return this.sendGasless();let n={...await this.getGasOverrides(),...this.overrides};n.gasLimit||(n.gasLimit=await this.estimateGasLimit());try{return await this.contract.functions[this.method](...this.args,n)}catch(a){throw await this.transactionError(a)}}async execute(){let e=await this.send(),n;try{n=await e.wait()}catch(a){throw await this.simulate(),await this.transactionError(a)}return this.parse?this.parse(n):{receipt:n}}async sendGasless(){let e=await this.prepareGasless(),n=await rnn(e,this.signer,this.provider,this.storage,this.gaslessOptions),a,r=1;for(;!a;){try{a=await this.provider.getTransaction(n)}catch{}if(a||(await new Promise(f=>setTimeout(f,Math.min(r*1e3,1e4))),r++),r>20)throw new Error(`Unable to retrieve transaction with hash ${n}`)}return a}async prepareGasless(){d0(this.gaslessOptions&&("openzeppelin"in this.gaslessOptions||"biconomy"in this.gaslessOptions||"engine"in this.gaslessOptions),"No gasless options set on this transaction!");let e=await this.getSignerAddress(),n=[...this.args];this.method==="multicall"&&Array.isArray(this.args[0])&&n[0].length>0&&(n[0]=n[0].map(c=>lt.utils.solidityPack(["bytes","address"],[c,e]))),d0(this.signer,"Cannot execute gasless transaction without valid signer");let[{chainId:a},r]=await Promise.all([this.provider.getNetwork(),this.overrides.from||e]),f=this.contract.address,i=this.overrides?.value||0;if(lt.BigNumber.from(i).gt(0))throw new Error("Cannot send native token value with gasless transaction");let s=this.contract.interface.encodeFunctionData(this.method,n),o=lt.BigNumber.from(0);try{o=(await this.contract.estimateGas[this.method](...n)).mul(2)}catch{}return o.lt(1e5)&&(o=lt.BigNumber.from(5e5)),this.overrides.gasLimit&<.BigNumber.from(this.overrides.gasLimit).gt(o)&&(o=lt.BigNumber.from(this.overrides.gasLimit)),{from:r,to:f,data:s,chainId:a,gasLimit:o,functionName:this.method,functionArgs:n,callOverrides:this.overrides}}functionError(){return new Error(`Contract "${this.contract.address}" does not have function "${this.method}"`)}async transactionError(e){let n=this.provider,[a,r]=await Promise.all([n.getNetwork(),this.overrides.from||this.getSignerAddress()]),f=this.contract.address,i=this.encode(),s=lt.BigNumber.from(this.overrides.value||0),o=n.connection?.url,c=this.contract.interface.getFunction(this.method),d=this.args.map(O=>JSON.stringify(O).length<=80?JSON.stringify(O):JSON.stringify(O,void 0,2)),l=d.join(", ").length<=80?d.join(", "):` `+d.map(O=>" "+O.split(` `).join(` `)).join(`, `)+` -`,h=`${c.name}(${l})`,y=e.transactionHash||e.transaction?.hash||e.receipt?.transactionHash,v=XR(e),S;try{let O=(await n.getNetwork()).chainId,F=Yj(this.contract.address,O);F?.name&&(S=F.name)}catch{}return new s9({reason:v,from:r,to:f,method:h,data:i,network:a,rpcUrl:o,value:s,hash:y,contractName:S},e)}},$R=class extends Qj{constructor(e){super(e),this.factory=e.factory,this.events=e.events}encode(){return lt.utils.hexlify(lt.utils.concat([this.factory.bytecode,this.factory.interface.encodeDeploy(this.args)]))}getTarget(){return lt.constants.AddressZero}getMethod(){return"deploy"}async sign(){let e=await this.populateTransaction();return this.signer.signTransaction(e)}async simulate(){let e=await this.populateTransaction();return this.signer.call(e)}async estimateGasLimit(){try{let n={...await this.getGasOverrides(),...this.overrides},a=this.factory.getDeployTransaction(...this.args,n);return this.signer.estimateGas(a)}catch(e){throw await this.deployError(e)}}async estimateGasCost(){let n={...await this.getGasOverrides(),...this.overrides},a=this.factory.getDeployTransaction(...this.args,n),r=await JR(this.provider,a);return{ether:lt.utils.formatEther(r),wei:r}}async send(){try{let e=await this.populateTransaction();return await this.signer.sendTransaction(e)}catch(e){throw await this.deployError(e)}}async execute(){let e=await this.send();try{await e.wait()}catch(a){throw await this.simulate(),await this.deployError(a)}let n=lt.utils.getContractAddress({from:e.from,nonce:e.nonce});return this.events&&this.events.emit("contractDeployed",{status:"completed",contractAddress:n,transactionHash:e.hash}),n}async populateTransaction(){let n={...await this.getGasOverrides(),...this.overrides};return n.gasLimit||(n.gasLimit=await this.estimateGasLimit()),this.factory.getDeployTransaction(...this.args,n)}async deployError(e){let n=this.provider,[a,r]=await Promise.all([n.getNetwork(),this.overrides.from||this.getSignerAddress()]),f=this.encode(),i=lt.BigNumber.from(this.overrides.value||0),s=n.connection?.url,o=this.args.map(y=>JSON.stringify(y).length<=80?JSON.stringify(y):JSON.stringify(y,void 0,2)),d=`deployContract(${o.join(", ").length<=80?o.join(", "):` +`,h=`${c.name}(${l})`,y=e.transactionHash||e.transaction?.hash||e.receipt?.transactionHash,v=XR(e),k;try{let O=(await n.getNetwork()).chainId,F=Yj(this.contract.address,O);F?.name&&(k=F.name)}catch{}return new o9({reason:v,from:r,to:f,method:h,data:i,network:a,rpcUrl:o,value:s,hash:y,contractName:k},e)}},$R=class extends Qj{constructor(e){super(e),this.factory=e.factory,this.events=e.events}encode(){return lt.utils.hexlify(lt.utils.concat([this.factory.bytecode,this.factory.interface.encodeDeploy(this.args)]))}getTarget(){return lt.constants.AddressZero}getMethod(){return"deploy"}async sign(){let e=await this.populateTransaction();return this.signer.signTransaction(e)}async simulate(){let e=await this.populateTransaction();return this.signer.call(e)}async estimateGasLimit(){try{let n={...await this.getGasOverrides(),...this.overrides},a=this.factory.getDeployTransaction(...this.args,n);return this.signer.estimateGas(a)}catch(e){throw await this.deployError(e)}}async estimateGasCost(){let n={...await this.getGasOverrides(),...this.overrides},a=this.factory.getDeployTransaction(...this.args,n),r=await JR(this.provider,a);return{ether:lt.utils.formatEther(r),wei:r}}async send(){try{let e=await this.populateTransaction();return await this.signer.sendTransaction(e)}catch(e){throw await this.deployError(e)}}async execute(){let e=await this.send();try{await e.wait()}catch(a){throw await this.simulate(),await this.deployError(a)}let n=lt.utils.getContractAddress({from:e.from,nonce:e.nonce});return this.events&&this.events.emit("contractDeployed",{status:"completed",contractAddress:n,transactionHash:e.hash}),n}async populateTransaction(){let n={...await this.getGasOverrides(),...this.overrides};return n.gasLimit||(n.gasLimit=await this.estimateGasLimit()),this.factory.getDeployTransaction(...this.args,n)}async deployError(e){let n=this.provider,[a,r]=await Promise.all([n.getNetwork(),this.overrides.from||this.getSignerAddress()]),f=this.encode(),i=lt.BigNumber.from(this.overrides.value||0),s=n.connection?.url,o=this.args.map(y=>JSON.stringify(y).length<=80?JSON.stringify(y):JSON.stringify(y,void 0,2)),d=`deployContract(${o.join(", ").length<=80?o.join(", "):` `+o.map(y=>" "+y.split(` `).join(` `)).join(`, `)+` -`})`,l=e.transactionHash||e.transaction?.hash||e.receipt?.transactionHash,h=XR(e);return new s9({reason:h,from:r,method:d,data:f,network:a,rpcUrl:s,value:i,hash:l},e)}}});function k0(t,e){return Zx(t.abi,e,t.extensions)}function wr(t,e){return t in e.readContract.functions}function dnn(t){return i6e.utils.formatEther(t)}var i6e,Wn,Rn,va,ja,Rf=ce(()=>{"use strict";u();p();ln();Da();i6e=Ee(Xe());vx();Wn=class{constructor(e,n,a){ae(this,"featureName",nM.name);ae(this,"set",me(async e=>{let n=await this._parseAndUploadMetadata(e),a=this.contractWrapper;if(this.supportsContractMetadata(a))return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setContractURI",args:[n],parse:r=>({receipt:r,data:this.get})});throw new J1(nM)}));ae(this,"update",me(async e=>await this.set.prepare({...await this.get(),...e})));this.contractWrapper=e,this.schema=n,this.storage=a}parseOutputMetadata(e){return this.schema.output.parseAsync(e)}parseInputMetadata(e){return this.schema.input.parseAsync(e)}async get(){let e;if(this.supportsContractMetadata(this.contractWrapper)){let n=await this.contractWrapper.read("contractURI",[]);n&&n.includes("://")&&(e=await this.storage.downloadJSON(n))}if(!e)try{let n;try{wr("name",this.contractWrapper)&&(n=await this.contractWrapper.read("name",[]))}catch{}let a;try{wr("symbol",this.contractWrapper)&&(a=await this.contractWrapper.read("symbol",[]))}catch{}let r;try{r=await Sf(this.contractWrapper.address,this.contractWrapper.getProvider(),this.storage,this.contractWrapper.options)}catch{}e={name:n||r?.name,symbol:a,description:r?.info.title}}catch{throw new Error("Could not fetch contract metadata")}return this.parseOutputMetadata(e)}async _parseAndUploadMetadata(e){let n=await this.parseInputMetadata(e);return this.storage.upload(n)}supportsContractMetadata(e){return k0(e,"ContractMetadata")}},Rn=class{constructor(e){this.contractWrapper=e}addTransactionListener(e){this.contractWrapper.addListener(i1.Transaction,e)}removeTransactionListener(e){this.contractWrapper.off(i1.Transaction,e)}addEventListener(e,n){let a=this.contractWrapper.readContract.interface.getEvent(e),f={address:this.contractWrapper.address,topics:[this.contractWrapper.readContract.interface.getEventTopic(a)]},i=s=>{let o=this.contractWrapper.readContract.interface.parseLog(s);n(this.toContractEvent(o.eventFragment,o.args,s))};return this.contractWrapper.getProvider().on(f,i),()=>{this.contractWrapper.getProvider().off(f,i)}}listenToAllEvents(e){let a={address:this.contractWrapper.address},r=f=>{try{let i=this.contractWrapper.readContract.interface.parseLog(f);e(this.toContractEvent(i.eventFragment,i.args,f))}catch(i){console.error("Could not parse event:",f,i)}};return this.contractWrapper.getProvider().on(a,r),()=>{this.contractWrapper.getProvider().off(a,r)}}removeEventListener(e,n){let a=this.contractWrapper.readContract.interface.getEvent(e);this.contractWrapper.readContract.off(a.name,n)}removeAllListeners(){this.contractWrapper.readContract.removeAllListeners();let n={address:this.contractWrapper.address};this.contractWrapper.getProvider().removeAllListeners(n)}async getAllEvents(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{fromBlock:0,toBlock:"latest",order:"desc"},a=(await this.contractWrapper.readContract.queryFilter({},e.fromBlock,e.toBlock)).sort((r,f)=>e.order==="desc"?f.blockNumber-r.blockNumber:r.blockNumber-f.blockNumber);return this.parseEvents(a)}async getEvents(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{fromBlock:0,toBlock:"latest",order:"desc"},a=this.contractWrapper.readContract.interface.getEvent(e),r=n.filters?a.inputs.map(o=>n.filters[o.name]):[],f=this.contractWrapper.readContract.filters[a.name](...r),s=(await this.contractWrapper.readContract.queryFilter(f,n.fromBlock,n.toBlock)).sort((o,c)=>n.order==="desc"?c.blockNumber-o.blockNumber:o.blockNumber-c.blockNumber);return this.parseEvents(s)}parseEvents(e){return e.map(n=>{let a=Object.fromEntries(Object.entries(n).filter(r=>typeof r[1]!="function"&&r[0]!=="args"));if(n.args){let r=Object.entries(n.args),f=r.slice(r.length/2,r.length),i={};for(let[s,o]of f)i[s]=o;return{eventName:n.event||"",data:i,transaction:a}}return{eventName:n.event||"",data:{},transaction:a}})}toContractEvent(e,n,a){let r=Object.fromEntries(Object.entries(a).filter(i=>typeof i[1]!="function"&&i[0]!=="args")),f={};return e.inputs.forEach((i,s)=>{if(Array.isArray(n[s])){let o=i.components;if(o){let c=n[s];if(i.type==="tuple[]"){let d=[];for(let l=0;lk0(this.contractWrapper,"AppURI")?Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setAppURI",args:[e]}):await this.metadata.update.prepare({app_uri:e})));this.contractWrapper=e,this.metadata=n,this.storage=a}async get(){return k0(this.contractWrapper,"AppURI")?await this.contractWrapper.read("appURI",[]):qoe((await this.metadata.get()).app_uri||"",this.storage.getGatewayUrls())}}});function hf(t){return t.toLowerCase()===bf||t.toLowerCase()===Gb.constants.AddressZero}async function Di(t,e){if(hf(e)){let n=await t.getNetwork(),a=Jj(n.chainId);return{name:a.name,symbol:a.symbol,decimals:a.decimals}}else{let n=(await Promise.resolve().then(()=>Ee(ioe()))).default,a=new Gb.Contract(e,n,t),[r,f,i]=await Promise.all([a.name(),a.symbol(),a.decimals()]);return{name:r,symbol:f,decimals:i}}}async function Ja(t,e,n){let a=await Di(t,e);return{...a,value:Gb.BigNumber.from(n),displayValue:Gb.utils.formatUnits(n,a.decimals)}}var Gb,st,or=ce(()=>{"use strict";u();p();Gb=Ee(Xe());ln();st=class{constructor(e){this.contractWrapper=e}encode(e,n){return this.contractWrapper.readContract.interface.encodeFunctionData(e,n)}decode(e,n){return this.contractWrapper.readContract.interface.decodeFunctionData(e,n)}decodeResult(e,n){return this.contractWrapper.readContract.interface.decodeFunctionResult(e,n)}}});var Pa,X1=ce(()=>{"use strict";u();p();Pa=class{constructor(e){this.contractWrapper=e}overrideNextTransaction(e){this.contractWrapper.withTransactionOverride(e)}}});async function s1(t,e,n,a){if(hf(n))a.value=e;else{let r=(await Promise.resolve().then(()=>Ee(j1()))).default,f=t.getSigner(),i=t.getProvider(),s=new ut(f||i,n,r,t.options,t.storage),o=await t.getSignerAddress(),c=t.address;return(await s.read("allowance",[o,c])).lt(e)&&await s.sendTransaction("approve",[c,e]),a}}var s6e,ja0,o6e,Ml,l9,Xj,lu=ce(()=>{"use strict";u();p();ln();Yd();or();s6e=fe.object({}).catchall(fe.union([c6e,fe.unknown()])),ja0=fe.union([fe.array(fe.array(s6e)).transform(t=>t.flat()),fe.array(s6e),s6e]).optional().nullable(),o6e=fe.object({name:fe.union([fe.string(),fe.number()]).optional().nullable(),description:fe.string().nullable().optional().nullable(),image:Kb.nullable().optional(),animation_url:Kb.optional().nullable()}),Ml=o6e.extend({external_url:Kb.nullable().optional(),background_color:Ga0.optional().nullable(),properties:ja0,attributes:ja0}).catchall(fe.union([c6e,fe.unknown()])),l9=fe.union([Ml,fe.string()]),Xj=Ml.extend({id:fe.string(),uri:fe.string(),image:fe.string().nullable().optional(),external_url:fe.string().nullable().optional(),animation_url:fe.string().nullable().optional()})});var eE=D((pga,lnn)=>{lnn.exports=[{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"}]});async function aM(t,e,n){if(e.startsWith("data:application/json;base64")&&typeof _.Buffer<"u"){let f=e.split(",")[1],i=JSON.parse(_.Buffer.from(f,"base64").toString("utf-8"));return Xj.parse({...i,id:jc.BigNumber.from(t).toString(),uri:e})}let a=e.replace("{id}",jc.utils.hexZeroPad(jc.BigNumber.from(t).toHexString(),32).slice(2)),r;try{r=await n.downloadJSON(a)}catch{let i=e.replace("{id}",jc.BigNumber.from(t).toString());try{r=await n.downloadJSON(i)}catch{console.warn(`failed to get token metadata: ${JSON.stringify({tokenId:t.toString(),tokenUri:e})} -- falling back to default metadata`),r=tE}}return Xj.parse({...r,id:jc.BigNumber.from(t).toString(),uri:e})}async function V8(t,e,n,a){let r,f=(await Promise.resolve().then(()=>Ee(eE()))).default,i=new jc.Contract(t,f,e),[s,o]=await Promise.all([i.supportsInterface(Qb),i.supportsInterface(Vb)]);if(s){let c=(await Promise.resolve().then(()=>Ee(doe()))).default;r=await new jc.Contract(t,c,e).tokenURI(n)}else if(o){let c=(await Promise.resolve().then(()=>Ee(uoe()))).default;r=await new jc.Contract(t,c,e).uri(n)}else throw Error("Contract must implement ERC 1155 or ERC 721.");return r?aM(n,r,a):Xj.parse({...tE,id:jc.BigNumber.from(n).toString(),uri:""})}async function Y8(t,e){return typeof t=="string"?t:await e.upload(Ml.parse(t))}async function Bl(t,e,n,a){if(unn(t))return t;if(pnn(t))return await e.uploadBatch(t.map(f=>Ml.parse(f)),{rewriteFileNames:{fileStartNumber:n||0},onProgress:a?.onProgress});throw new Error("NFT metadatas must all be of the same type (all URI or all NFTMetadataInput)")}function Yb(t){let e=t[0].substring(0,t[0].lastIndexOf("/"));for(let n=0;ntypeof e!="string")===void 0}function pnn(t){return t.find(e=>typeof e!="object")===void 0}var jc,Qb,Vb,tE,Pi,Dl=ce(()=>{"use strict";u();p();lu();jc=Ee(Xe()),Qb=jc.utils.arrayify("0x80ac58cd"),Vb=jc.utils.arrayify("0xd9b67a26"),tE={name:"Failed to load NFT metadata"};Pi=100});async function ea(t,e,n){let a=await Di(t,n);return Ka0.utils.parseUnits(ff.parse(e),a.decimals)}var Ka0,rd=ce(()=>{"use strict";u();p();ln();Ka0=Ee(Xe());or()});function bnn(t){let e=t.words,n=new ArrayBuffer(e.length*4),a=new Uint8Array(n);for(let r=0;r>24&255,a[r*4+1]=e[r]>>16&255,a[r*4+2]=e[r]>>8&255,a[r*4+3]=e[r]&255;return n}function mnn(t){let e=new Uint8Array(t.length/2);for(let n=0;nn.toString(16).padStart(2,"0")).join("")}function gnn(t){let e=Array.from(t).map(n=>n.toString(16).padStart(2,"0")).join("");return BigInt(`0x${e}`)}var ca,uu,Qa0,d6e,hnn,nE,Va0=ce(()=>{"use strict";u();p();ca=Ee(Kf()),uu=Ee(ace()),Qa0=Ee(Fq()),d6e=class t{print(){t.print(this)}bufferIndexOf(e,n){if(arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1)return this.binarySearch(e,n,ca.Buffer.compare);let r=(f,i)=>f.equals(i);return this.linearSearch(e,n,r)}static binarySearch(e,n,a){let r=0,f=e.length-1;for(;r<=f;){let i=Math.floor((r+f)/2),s=a(e[i],n);if(s===0){for(let o=i-1;o>=0;o--)if(a(e[o],n)!==0)return o+1;return 0}else s<0?r=i+1:f=i-1}return-1}binarySearch(e,n,a){return t.binarySearch(e,n,a)}static linearSearch(e,n,a){for(let r=0;r1&&arguments[1]!==void 0?arguments[1]:!0;return t.bufferToHex(e,n)}static bufferToHex(e){return`${(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?"0x":""}${(e||ca.Buffer.alloc(0)).toString("hex")}`}bufferify(e){return t.bufferify(e)}bufferifyFn(e){return n=>{let a=e(n);if(ca.Buffer.isBuffer(a))return a;if(this.isHexString(a))return ca.Buffer.from(a.replace("0x",""),"hex");if(typeof a=="string")return ca.Buffer.from(a);if(typeof a=="bigint")return ca.Buffer.from(n.toString(16),"hex");if(ArrayBuffer.isView(a))return ca.Buffer.from(a.buffer,a.byteOffset,a.byteLength);let r=mnn(n.toString("hex")),f=e(r),i=ynn(f);return ca.Buffer.from(i,"hex")}}isHexString(e){return t.isHexString(e)}log2(e){return e===1?0:1+this.log2(e/2|0)}zip(e,n){return e.map((a,r)=>[a,n[r]])}static hexZeroPad(e,n){return"0x"+e.replace("0x","").padStart(n,"0")}},hnn=d6e;nE=class t extends hnn{constructor(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};super();ae(this,"duplicateOdd",!1);ae(this,"concatenator",ca.Buffer.concat);ae(this,"hashLeaves",!1);ae(this,"isBitcoinTree",!1);ae(this,"leaves",[]);ae(this,"layers",[]);ae(this,"sortLeaves",!1);ae(this,"sortPairs",!1);ae(this,"sort",!1);ae(this,"fillDefaultHash",null);ae(this,"complete",!1);if(r.complete){if(r.isBitcoinTree)throw new Error('option "complete" is incompatible with "isBitcoinTree"');if(r.duplicateOdd)throw new Error('option "complete" is incompatible with "duplicateOdd"')}if(this.isBitcoinTree=!!r.isBitcoinTree,this.hashLeaves=!!r.hashLeaves,this.sortLeaves=!!r.sortLeaves,this.sortPairs=!!r.sortPairs,this.complete=!!r.complete,r.fillDefaultHash)if(typeof r.fillDefaultHash=="function")this.fillDefaultHash=r.fillDefaultHash;else if(ca.Buffer.isBuffer(r.fillDefaultHash)||typeof r.fillDefaultHash=="string")this.fillDefaultHash=(f,i)=>r.fillDefaultHash;else throw new Error('method "fillDefaultHash" must be a function, Buffer, or string');this.sort=!!r.sort,this.sort&&(this.sortLeaves=!0,this.sortPairs=!0),this.duplicateOdd=!!r.duplicateOdd,r.concatenator&&(this.concatenator=r.concatenator),this.hashFn=this.bufferifyFn(a),this.processLeaves(n)}getOptions(){return{complete:this.complete,isBitcoinTree:this.isBitcoinTree,hashLeaves:this.hashLeaves,sortLeaves:this.sortLeaves,sortPairs:this.sortPairs,sort:this.sort,fillDefaultHash:this.fillDefaultHash?.toString()??null,duplicateOdd:this.duplicateOdd}}processLeaves(n){if(this.hashLeaves&&(n=n.map(this.hashFn)),this.leaves=n.map(this.bufferify),this.sortLeaves&&(this.leaves=this.leaves.sort(ca.Buffer.compare)),this.fillDefaultHash)for(let a=this.leaves.length;a1;){let a=this.layers.length;this.layers.push([]);let r=this.complete&&a===1&&!Number.isInteger(Math.log2(n.length))?2*n.length-2**Math.ceil(Math.log2(n.length)):n.length;for(let f=0;f=r){this.layers[a].push(...n.slice(r));break}else if(f+1===n.length&&n.length%2===1){let d=n[n.length-1],l=d;if(this.isBitcoinTree){l=this.hashFn(this.concatenator([(0,uu.default)(d),(0,uu.default)(d)])),l=(0,uu.default)(this.hashFn(l)),this.layers[a].push(l);continue}else if(!this.duplicateOdd){this.layers[a].push(n[f]);continue}}let i=n[f],s=f+1===n.length?i:n[f+1],o=null;this.isBitcoinTree?o=[(0,uu.default)(i),(0,uu.default)(s)]:o=[i,s],this.sortPairs&&o.sort(ca.Buffer.compare);let c=this.hashFn(this.concatenator(o));this.isBitcoinTree&&(c=(0,uu.default)(this.hashFn(c))),this.layers[a].push(c)}n=this.layers[a]}}addLeaf(n){(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&(n=this.hashFn(n)),this.processLeaves(this.leaves.concat(n))}addLeaves(n){(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&(n=n.map(this.hashFn)),this.processLeaves(this.leaves.concat(n))}getLeaves(n){return Array.isArray(n)?(this.hashLeaves&&(n=n.map(this.hashFn),this.sortLeaves&&(n=n.sort(ca.Buffer.compare))),this.leaves.filter(a=>this.bufferIndexOf(n,a,this.sortLeaves)!==-1)):this.leaves}getLeaf(n){return n<0||n>this.leaves.length-1?ca.Buffer.from([]):this.leaves[n]}getLeafIndex(n){n=this.bufferify(n);let a=this.getLeaves();for(let r=0;rthis.bufferToHex(n))}static marshalLeaves(n){return JSON.stringify(n.map(a=>t.bufferToHex(a)),null,2)}static unmarshalLeaves(n){let a=null;if(typeof n=="string")a=JSON.parse(n);else if(n instanceof Object)a=n;else throw new Error("Expected type of string or object");if(!a)return[];if(!Array.isArray(a))throw new Error("Expected JSON string to be array");return a.map(t.bufferify)}getLayers(){return this.layers}getHexLayers(){return this.layers.reduce((n,a)=>(Array.isArray(a)?n.push(a.map(r=>this.bufferToHex(r))):n.push(a),n),[])}getLayersFlat(){let n=this.layers.reduce((a,r)=>(Array.isArray(r)?a.unshift(...r):a.unshift(r),a),[]);return n.unshift(ca.Buffer.from([0])),n}getHexLayersFlat(){return this.getLayersFlat().map(n=>this.bufferToHex(n))}getLayerCount(){return this.getLayers().length}getRoot(){return this.layers.length===0?ca.Buffer.from([]):this.layers[this.layers.length-1][0]||ca.Buffer.from([])}getHexRoot(){return this.bufferToHex(this.getRoot())}getProof(n,a){if(typeof n>"u")throw new Error("leaf is required");n=this.bufferify(n);let r=[];if(!Number.isInteger(a)){a=-1;for(let f=0;fthis.bufferToHex(r.data))}getProofs(){let n=[],a=[];return this.getProofsDFS(this.layers.length-1,0,n,a),a}getProofsDFS(n,a,r,f){let i=a%2;if(n===-1){i||f.push([...r].reverse());return}if(a>=this.layers[n].length)return;let s=this.layers[n],o=i?a-1:a+1,c=!1;othis.bufferToHex(n.data))}getPositionalHexProof(n,a){return this.getProof(n,a).map(r=>[r.position==="left"?0:1,this.bufferToHex(r.data)])}getProofIndices(n,a){let r=2**a,f=new Set;for(let d of n){let l=r+d;for(;l>1;)f.add(l^1),l=l/2|0}let i=n.map(d=>r+d),s=Array.from(f).sort((d,l)=>d-l).reverse();f=i.concat(s);let o=new Set,c=[];for(let d of f)if(!o.has(d))for(c.push(d);d>1&&(o.add(d),!!o.has(d^1));)d=d/2|0;return c.filter(d=>!n.includes(d-r))}getProofIndicesForUnevenTree(n,a){let r=Math.ceil(Math.log2(a)),f=[];for(let o=0;oh%2===0?h+1:h-1).filter(h=>!s.includes(h)),l=f.find(h=>{let{index:y}=h;return y===o});l&&s.includes(l.leavesCount-1)&&(d=d.slice(0,-1)),i.push(d),s=[...new Set(s.map(h=>h%2===0?h/2:h%2===0?(h+1)/2:(h-1)/2))]}return i}getMultiProof(n,a){if(this.complete||console.warn("Warning: For correct multiProofs it's strongly recommended to set complete: true"),a||(a=n,n=this.getLayersFlat()),this.isUnevenTree()&&a.every(Number.isInteger))return this.getMultiProofForUnevenTree(a);if(!a.every(Number.isInteger)){let f=a;this.sortPairs&&(f=f.sort(ca.Buffer.compare));let i=f.map(d=>this.bufferIndexOf(this.leaves,d,this.sortLeaves)).sort((d,l)=>d===l?0:d>l?1:-1);if(!i.every(d=>d!==-1))throw new Error("Element does not exist in Merkle tree");let s=[],o=[],c=[];for(let d=0;dv.indexOf(h)===y),c=[]}return o.filter(d=>!s.includes(d))}return this.getProofIndices(a,Math.log2(n.length/2|0)).map(f=>n[f])}getMultiProofForUnevenTree(n,a){a||(a=n,n=this.getLayers());let r=[],f=a;for(let i of n){let s=[];for(let c of f){if(c%2===0){let l=c+1;if(!f.includes(l)&&i[l]){s.push(i[l]);continue}}let d=c-1;if(!f.includes(d)&&i[d]){s.push(i[d]);continue}}r=r.concat(s);let o=new Set;for(let c of f){if(c%2===0){o.add(c/2);continue}if(c%2===0){o.add((c+1)/2);continue}o.add((c-1)/2)}f=Array.from(o)}return r}getHexMultiProof(n,a){return this.getMultiProof(n,a).map(r=>this.bufferToHex(r))}getProofFlags(n,a){if(!Array.isArray(n)||n.length<=0)throw new Error("Invalid Inputs!");let r;if(n.every(Number.isInteger)?r=[...n].sort((o,c)=>o===c?0:o>c?1:-1):r=n.map(o=>this.bufferIndexOf(this.leaves,o,this.sortLeaves)).sort((o,c)=>o===c?0:o>c?1:-1),!r.every(o=>o!==-1))throw new Error("Element does not exist in Merkle tree");let f=a.map(o=>this.bufferify(o)),i=[],s=[];for(let o=0;o{if(!i.includes(c[l])){let y=this.getPairNode(c,l),v=f.includes(c[l])||f.includes(y);y&&s.push(!v),i.push(c[l]),i.push(y)}return d.push(l/2|0),d},[])}return s}verify(n,a,r){let f=this.bufferify(a);if(r=this.bufferify(r),!Array.isArray(n)||!a||!r)return!1;for(let i=0;ithis.bufferify(h)),i=i.map(h=>this.bufferify(h));let c={};for(let[h,y]of this.zip(a,r))c[2**o+h]=y;for(let[h,y]of this.zip(this.getProofIndices(a,o),i))c[h]=y;let d=Object.keys(c).map(h=>Number(h)).sort((h,y)=>h-y);d=d.slice(0,d.length-1);let l=0;for(;l=2&&{}.hasOwnProperty.call(c,h^1)){let y=[c[h-h%2],c[h-h%2+1]];this.sortPairs&&(y=y.sort(ca.Buffer.compare));let v=y[1]?this.hashFn(this.concatenator(y)):y[0];c[h/2|0]=v,d.push(h/2|0)}l+=1}return!a.length||{}.hasOwnProperty.call(c,1)&&c[1].equals(n)}verifyMultiProofWithFlags(n,a,r,f){n=this.bufferify(n),a=a.map(this.bufferify),r=r.map(this.bufferify);let i=a.length,s=f.length,o=[],c=0,d=0,l=0;for(let h=0;hthis.bufferify(o)),i=i.map(o=>this.bufferify(o));let s=this.calculateRootForUnevenTree(a,r,f,i);return n.equals(s)}getDepth(){return this.getLayers().length-1}getLayersAsObject(){let n=this.getLayers().map(r=>r.map(f=>this.bufferToHex(f,!1))),a=[];for(let r=0;r{let[v]=h,[S]=y;return v-S}),s=i.map(h=>{let[y]=h;return y}),o=this.getProofIndicesForUnevenTree(s,r),c=0,d=[];for(let h=0;h{let[W]=F,[j]=z;return W-j}).map(F=>{let[,z]=F;return z}),v=l[h].map(F=>{let[z]=F;return z}),S=[...new Set(v.map(F=>F%2===0?F/2:F%2===0?(F+1)/2:(F-1)/2))],O=[];for(let F=0;F{"use strict";u();p();l6e=Ee(Xe());Yd();ln();u9=fe.union([fe.date().transform(t=>l6e.BigNumber.from(Math.floor(t.getTime()/1e3))),fe.number().transform(t=>l6e.BigNumber.from(t))]),rM=u9.default(new Date(0)),$b=u9.default(new Date(Date.now()+1e3*60*60*24*365*10))});function aE(t){return{startTimestamp:t.startTimestamp,maxClaimableSupply:t.maxClaimableSupply,supplyClaimed:t.supplyClaimed,merkleRoot:t.merkleRoot,pricePerToken:t.pricePerToken,currency:t.currency,quantityLimitPerTransaction:t.maxClaimablePerWallet,waitTimeInSecondsBetweenClaims:t.waitTimeInSecondsBetweenClaims||0}}function rE(t){return{startTimestamp:t.startTimestamp,maxClaimableSupply:t.maxClaimableSupply,supplyClaimed:t.supplyClaimed,merkleRoot:t.merkleRoot,pricePerToken:t.pricePerToken,currency:t.currency,quantityLimitPerWallet:t.maxClaimablePerWallet,metadata:t.metadata||""}}function fd(t,e){return t==="unlimited"?rn.constants.MaxUint256:rn.utils.parseUnits(t,e)}async function Ya0(t){let n=Array.from({length:Math.ceil(t.length/25e3)},(f,i)=>t.slice(i*25e3,i*25e3+25e3)),a=[],r=await Promise.all(n.map(f=>sM.parseAsync(f)));for(let f of r)a.push(...f);return a}async function iM(t,e,n,a,r,f){if(!n)return null;let i=n[e];if(i){let s=await r.downloadJSON(i);if(s.isShardedMerkleTree&&s.merkleRoot===e)return await(await fM.fromShardedMerkleTreeInfo(s,r)).getProof(t,a,f);let o=await sG.parseAsync(s);if(e===o.merkleRoot)return o.claims.find(c=>c.address.toLowerCase()===t.toLowerCase())||null}return null}function fE(t){return{startTimestamp:t.startTimestamp,maxClaimableSupply:t.maxClaimableSupply,supplyClaimed:t.supplyClaimed,merkleRoot:t.merkleRoot.toString(),pricePerToken:t.pricePerToken,currency:t.currency,maxClaimablePerWallet:t.quantityLimitPerTransaction,waitTimeInSecondsBetweenClaims:t.waitTimeInSecondsBetweenClaims}}function iE(t){return{startTimestamp:t.startTimestamp,maxClaimableSupply:t.maxClaimableSupply,supplyClaimed:t.supplyClaimed,merkleRoot:t.merkleRoot.toString(),pricePerToken:t.pricePerToken,currency:t.currency,maxClaimablePerWallet:t.quantityLimitPerWallet,waitTimeInSecondsBetweenClaims:0,metadata:t.metadata}}async function u6e(t,e,n,a,r){let f=t.getSigner(),i=t.getProvider(),s=(await Promise.resolve().then(()=>Ee(j1()))).default,o=new ut(f||i,e,s,t.options,t.storage),c=await t.getSignerAddress(),d=t.address,l=await o.read("allowance",[c,d]),h=rn.BigNumber.from(n).mul(rn.BigNumber.from(a)).div(rn.utils.parseUnits("1",r));l.lt(h)&&await o.sendTransaction("approve",[d,l.add(h)])}async function eG(t,e,n,a,r,f,i,s,o){let c=fd(n.maxClaimablePerWallet,r),d=[rn.utils.hexZeroPad([0],32)],l=n.price,h=n.currencyAddress;try{if(!n.merkleRootHash.toString().startsWith(rn.constants.AddressZero)){let O=await iM(t,n.merkleRootHash.toString(),await a(),f.getProvider(),i,o);if(O)d=O.proof,c=O.maxClaimable==="unlimited"?rn.constants.MaxUint256:rn.utils.parseUnits(O.maxClaimable,r),l=O.price===void 0||O.price==="unlimited"?rn.constants.MaxUint256:await ea(f.getProvider(),O.price,O.currencyAddress||rn.constants.AddressZero),h=O.currencyAddress||rn.constants.AddressZero;else if(o===$8.V1)throw new Error("No claim found for this address")}}catch(O){if(O?.message==="No claim found for this address")throw O;console.warn("failed to check claim condition merkle root hash, continuing anyways",O)}let y=await f.getCallOverrides()||{},v=l.toString()!==rn.constants.MaxUint256.toString()?l:n.price,S=h!==rn.constants.AddressZero?h:n.currencyAddress;return v.gt(0)&&(hf(S)?y.value=rn.BigNumber.from(v).mul(e).div(rn.utils.parseUnits("1",r)):s&&await u6e(f,S,v,e,r)),{overrides:y,proofs:d,maxClaimable:c,price:v,currencyAddress:S,priceInProof:l,currencyAddressInProof:h}}async function _nn(t,e,n,a,r){let f=await Ya0(t),i=f.map(c=>c.address);if(new Set(i).size{if(s.snapshot&&s.snapshot.length>0){let o=await _nn(s.snapshot,e,n,a,r);f.push(o),s.merkleRootHash=o.merkleRoot}else s.merkleRootHash=rn.utils.hexZeroPad([0],32);return s})),snapshotInfos:f}}async function Inn(t,e,n,a){let r=t.currencyAddress===rn.constants.AddressZero?bf:t.currencyAddress,f=fd(t.maxClaimableSupply,e),i=fd(t.maxClaimablePerWallet,e),s;return t.metadata&&(typeof t.metadata=="string"?s=t.metadata:s=await a.upload(t.metadata)),{startTimestamp:t.startTime,maxClaimableSupply:f,supplyClaimed:0,maxClaimablePerWallet:i,pricePerToken:await ea(n,t.price,r),currency:r,merkleRoot:t.merkleRootHash.toString(),waitTimeInSecondsBetweenClaims:t.waitInSeconds||0,metadata:s}}async function tG(t,e,n,a,r){let{inputsWithSnapshots:f,snapshotInfos:i}=await Cnn(t,e,n,a,r),s=await Enn.parseAsync(f),o=(await Promise.all(s.map(c=>Inn(c,e,n,a)))).sort((c,d)=>Ann(c.startTimestamp,d.startTimestamp));return{snapshotInfos:i,sortedConditions:o}}async function knn(t,e,n){if(!e)return null;let a=e[t];if(a){let r=await n.downloadJSON(a);if(r.isShardedMerkleTree&&r.merkleRoot===t)return(await fM.fromUri(a,n))?.getAllEntries()||null;{let f=await sG.parseAsync(r);if(t===f.merkleRoot)return f.claims.map(i=>({address:i.address,maxClaimable:i.maxClaimable,price:i.price,currencyAddress:i.currencyAddress}))}}return null}function Zj(t,e){return t.toString()===rn.constants.MaxUint256.toString()?"unlimited":rn.utils.formatUnits(t,e)}async function sE(t,e,n,a,r,f){let i=await Ja(n,t.currency,t.pricePerToken),s=Zj(t.maxClaimableSupply,e),o=Zj(t.maxClaimablePerWallet,e),c=Zj(rn.BigNumber.from(t.maxClaimableSupply).sub(t.supplyClaimed),e),d=Zj(t.supplyClaimed,e),l;return t.metadata&&(l=await r.downloadJSON(t.metadata)),$a0.parseAsync({startTime:t.startTimestamp,maxClaimableSupply:s,maxClaimablePerWallet:o,currentMintSupply:d,availableSupply:c,waitInSeconds:t.waitTimeInSecondsBetweenClaims?.toString(),price:rn.BigNumber.from(t.pricePerToken),currency:t.currency,currencyAddress:t.currency,currencyMetadata:i,merkleRootHash:t.merkleRoot,snapshot:f?await knn(t.merkleRoot,a,r):void 0,metadata:l})}async function nG(t,e,n){if(t>=n.length)throw Error(`Index out of bounds - got index: ${t} with ${n.length} conditions`);let a=n[t].currencyMetadata.decimals,r=n[t].price,f=rn.utils.formatUnits(r,a),i=await p6e.parseAsync({...n[t],price:f,...e}),s=await $a0.parseAsync({...i,price:r});return n.map((o,c)=>{let d;c===t?d=s:d=o;let l=rn.utils.formatUnits(d.price,a);return{...d,price:l}})}function aG(t){if(t===void 0){let e=_.Buffer.alloc(16);return jv({},e),rn.utils.hexlify(rn.utils.toUtf8Bytes(e.toString("hex")))}else return rn.utils.hexlify(t)}var rn,vnn,$8,fM,wnn,Tnn,xnn,p6e,Enn,$a0,qn,rG,h6e,Ja0,b6e,Xa0,Snn,Za0,er0,tr0,nr0,ar0,rr0,fr0,ir0,h9=ce(()=>{"use strict";u();p();rn=Ee(Xe());ln();or();rd();Va0();Pl();Yd();lu();x0e();vnn=2,$8=function(t){return t[t.V1=1]="V1",t[t.V2=2]="V2",t}({}),fM=class t{constructor(e,n,a,r,f){this.storage=e,this.shardNybbles=r,this.baseUri=n,this.originalEntriesUri=a,this.tokenDecimals=f,this.shards={},this.trees={}}static async fromUri(e,n){try{let a=await n.downloadJSON(e);if(a.isShardedMerkleTree)return t.fromShardedMerkleTreeInfo(a,n)}catch{return}}static async fromShardedMerkleTreeInfo(e,n){return new t(n,e.baseUri,e.originalEntriesUri,e.shardNybbles,e.tokenDecimals)}static hashEntry(e,n,a,r){switch(r){case $8.V1:return rn.utils.solidityKeccak256(["address","uint256"],[e.address,fd(e.maxClaimable,n)]);case $8.V2:return rn.utils.solidityKeccak256(["address","uint256","uint256","address"],[e.address,fd(e.maxClaimable,n),fd(e.price||"unlimited",a),e.currencyAddress||rn.constants.AddressZero])}}static async fetchAndCacheDecimals(e,n,a){if(!a)return 18;let r=e[a];return r===void 0&&(r=(await Di(n,a)).decimals,e[a]=r),r}static async buildAndUpload(e,n,a,r,f){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:vnn,s=await Ya0(e),o={};for(let W of s){let j=W.address.slice(2,2+i).toLowerCase();o[j]===void 0&&(o[j]=[]),o[j].push(W)}let c={},d=await Promise.all(Object.entries(o).map(async W=>{let[j,Q]=W;return[j,new nE(await Promise.all(Q.map(async V=>{let X=await t.fetchAndCacheDecimals(c,a,V.currencyAddress);return t.hashEntry(V,n,X,f)})),rn.utils.keccak256,{sort:!0}).getHexRoot()]})),l=Object.fromEntries(d),h=new nE(Object.values(l),rn.utils.keccak256,{sort:!0}),y=[];for(let[W,j]of Object.entries(o)){let Q={proofs:h.getProof(l[W]).map(V=>"0x"+V.data.toString("hex")),entries:j};y.push({data:JSON.stringify(Q),name:`${W}.json`})}let v=await r.uploadBatch(y),S=v[0].slice(0,v[0].lastIndexOf("/")),O=await r.upload(s),F={merkleRoot:h.getHexRoot(),baseUri:S,originalEntriesUri:O,shardNybbles:i,tokenDecimals:n,isShardedMerkleTree:!0},z=await r.upload(F);return{shardedMerkleInfo:F,uri:z}}async getProof(e,n,a){let r=e.slice(2,2+this.shardNybbles).toLowerCase(),f=this.shards[r],i={};if(f===void 0)try{let l=this.baseUri.endsWith("/")?this.baseUri:`${this.baseUri}/`;f=this.shards[r]=await this.storage.downloadJSON(`${l}${r}.json`);let h=await Promise.all(f.entries.map(async y=>{let v=await t.fetchAndCacheDecimals(i,n,y.currencyAddress);return t.hashEntry(y,this.tokenDecimals,v,a)}));this.trees[r]=new nE(h,rn.utils.keccak256,{sort:!0})}catch{return null}let s=f.entries.find(l=>l.address.toLowerCase()===e.toLowerCase());if(!s)return null;let o=await t.fetchAndCacheDecimals(i,n,s.currencyAddress),c=t.hashEntry(s,this.tokenDecimals,o,a),d=this.trees[r].getProof(c).map(l=>"0x"+l.data.toString("hex"));return iG.parseAsync({...s,proof:d.concat(f.proofs)})}async getAllEntries(){try{return await this.storage.downloadJSON(this.originalEntriesUri)}catch(e){return console.warn("Could not fetch original snapshot entries",e),[]}}};wnn=fe.object({name:fe.string(),symbol:fe.string(),decimals:fe.number()}),Tnn=wnn.extend({value:Zi,displayValue:fe.string()}),xnn=fe.object({name:fe.string().optional()}).catchall(fe.unknown()),p6e=fe.object({startTime:rM,currencyAddress:fe.string().default(bf),price:ff.default(0),maxClaimableSupply:p9,maxClaimablePerWallet:p9,waitInSeconds:Xa.default(0),merkleRootHash:sr0.default(rn.utils.hexZeroPad([0],32)),snapshot:fe.optional(sM).nullable(),metadata:xnn.optional()}),Enn=fe.array(p6e),$a0=p6e.extend({availableSupply:p9,currentMintSupply:p9,currencyMetadata:Tnn.default({value:rn.BigNumber.from("0"),displayValue:"0",symbol:"",decimals:18,name:""}),price:Zi,waitInSeconds:Zi,startTime:Zi.transform(t=>new Date(t.toNumber()*1e3)),snapshot:sM.optional().nullable()});qn=function(t){return t.NotEnoughSupply="There is not enough supply to claim.",t.AddressNotAllowed="This address is not on the allowlist.",t.WaitBeforeNextClaimTransaction="Not enough time since last claim transaction. Please wait.",t.ClaimPhaseNotStarted="Claim phase has not started yet.",t.AlreadyClaimed="You have already claimed the token.",t.WrongPriceOrCurrency="Incorrect price or currency.",t.OverMaxClaimablePerWallet="Cannot claim more than maximum allowed quantity.",t.NotEnoughTokens="There are not enough tokens in the wallet to pay for the claim.",t.NoActiveClaimPhase="There is no active claim phase at the moment. Please check back in later.",t.NoClaimConditionSet="There is no claim condition set.",t.NoWallet="No wallet connected.",t.Unknown="No claim conditions found.",t}({});rG=fe.object({to:da.refine(t=>t.toLowerCase()!==rn.constants.AddressZero,{message:"Cannot create payload to mint to zero address"}),price:ff.default(0),currencyAddress:fG.default(bf),mintStartTime:rM,mintEndTime:$b,uid:fe.string().optional().transform(t=>aG(t)),primarySaleRecipient:da.default(rn.constants.AddressZero)}),h6e=rG.extend({quantity:ff}),Ja0=h6e.extend({mintStartTime:Zi,mintEndTime:Zi}),b6e=rG.extend({metadata:l9,royaltyRecipient:fe.string().default(rn.constants.AddressZero),royaltyBps:Jb.default(0)}),Xa0=b6e.extend({metadata:l9.default(""),uri:fe.string(),royaltyBps:Zi,mintStartTime:Zi,mintEndTime:Zi}),Snn=b6e.extend({metadata:l9.default(""),quantity:Xa}),Za0=Snn.extend({tokenId:Xa}),er0=Xa0.extend({tokenId:Zi,quantity:Zi}),tr0=b6e.extend({metadata:l9.default(""),quantity:Zi.default(1)}),nr0=Xa0.extend({quantity:Zi.default(1)}),ar0=[{name:"to",type:"address"},{name:"primarySaleRecipient",type:"address"},{name:"quantity",type:"uint256"},{name:"price",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],rr0=[{name:"to",type:"address"},{name:"royaltyRecipient",type:"address"},{name:"royaltyBps",type:"uint256"},{name:"primarySaleRecipient",type:"address"},{name:"uri",type:"string"},{name:"price",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],fr0=[{name:"to",type:"address"},{name:"royaltyRecipient",type:"address"},{name:"royaltyBps",type:"uint256"},{name:"primarySaleRecipient",type:"address"},{name:"tokenId",type:"uint256"},{name:"uri",type:"string"},{name:"quantity",type:"uint256"},{name:"pricePerToken",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],ir0=[{name:"to",type:"address"},{name:"royaltyRecipient",type:"address"},{name:"royaltyBps",type:"uint256"},{name:"primarySaleRecipient",type:"address"},{name:"uri",type:"string"},{name:"quantity",type:"uint256"},{name:"pricePerToken",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}]});var or0=D((qga,Rnn)=>{Rnn.exports=[{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedBaseURI",inputs:[{name:"identifier",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"reveal",inputs:[{name:"identifier",type:"uint256",internalType:"uint256"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});async function oG(t,e,n,a,r){let f={},i=a||bf,o=(await ea(t.getProvider(),e,i)).mul(n);return o.gt(0)&&(i===bf?f={value:o}:i!==bf&&r&&await u6e(t,i,o,n,0)),f}var M6,Is,pu,ks,Ll=ce(()=>{"use strict";u();p();Rf();Da();ln();or();M6=Ee(Xe());lu();Dl();h9();rd();Is=class{constructor(e,n){ae(this,"featureName",oE.name);ae(this,"setDefaultRoyaltyInfo",me(async e=>{let n=await this.metadata.get(),a=await this.metadata.parseInputMetadata({...n,...e}),r=await this.metadata._parseAndUploadMetadata(a);if(wr("setContractURI",this.contractWrapper)){let f=new st(this.contractWrapper),i=[f.encode("setDefaultRoyaltyInfo",[a.fee_recipient,a.seller_fee_basis_points]),f.encode("setContractURI",[r])];return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[i],parse:s=>({receipt:s,data:()=>this.getDefaultRoyaltyInfo()})})}else throw new Error("Updating royalties requires implementing ContractMetadata in your contract to support marketplaces like OpenSea.")}));ae(this,"setTokenRoyaltyInfo",me(async(e,n)=>{let a=yi.parse(n);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setRoyaltyInfoForToken",args:[e,a.fee_recipient,a.seller_fee_basis_points],parse:r=>({receipt:r,data:()=>this.getDefaultRoyaltyInfo()})})}));this.contractWrapper=e,this.metadata=n}async getDefaultRoyaltyInfo(){let[e,n]=await this.contractWrapper.read("getDefaultRoyaltyInfo",[]);return yi.parseAsync({fee_recipient:e,seller_fee_basis_points:n})}async getTokenRoyaltyInfo(e){let[n,a]=await this.contractWrapper.read("getRoyaltyInfoForToken",[e]);return yi.parseAsync({fee_recipient:n,seller_fee_basis_points:a})}},pu=class{constructor(e,n,a,r){ae(this,"createDelayedRevealBatch",me(async(e,n,a,r)=>{if(!a)throw new Error("Password is required");let f=await this.storage.uploadBatch([Ml.parse(e)],{rewriteFileNames:{fileStartNumber:0}}),i=Yb(f),s=await this.nextTokenIdToMintFn(),o=await this.storage.uploadBatch(n.map(S=>Ml.parse(S)),{onProgress:r?.onProgress,rewriteFileNames:{fileStartNumber:s.toNumber()}}),c=Yb(o),d=await this.contractWrapper.read("getBaseURICount",[]),l=await this.hashDelayRevealPassword(d,a),h=await this.contractWrapper.read("encryptDecrypt",[M6.utils.toUtf8Bytes(c),l]),y;if(await this.isLegacyContract())y=h;else{let S=await this.contractWrapper.getChainID(),O=M6.utils.solidityKeccak256(["bytes","bytes","uint256"],[M6.utils.toUtf8Bytes(c),l,S]);y=M6.utils.defaultAbiCoder.encode(["bytes","bytes32"],[h,O])}return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[o.length,i.endsWith("/")?i:`${i}/`,y],parse:S=>{let O=this.contractWrapper.parseLogs("TokensLazyMinted",S?.logs),F=O[0].args.startTokenId,z=O[0].args.endTokenId,W=[];for(let j=F;j.lte(z);j=j.add(1))W.push({id:j,receipt:S});return W}})}));ae(this,"reveal",me(async(e,n)=>{if(!n)throw new Error("Password is required");let a=await this.hashDelayRevealPassword(e,n);try{let r=await this.contractWrapper.callStatic().reveal(e,a);if(!r.includes("://")||!r.endsWith("/"))throw new Error("invalid password")}catch{throw new Error("invalid password")}return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"reveal",args:[e,a]})}));this.featureName=a,this.nextTokenIdToMintFn=r,this.contractWrapper=e,this.storage=n}async getBatchesToReveal(){let e=await this.contractWrapper.read("getBaseURICount",[]);if(e.isZero())return[];let n=Array.from(Array(e.toNumber()).keys()),a=await Promise.all(n.map(c=>{if(wr("getBatchIdAtIndex",this.contractWrapper))return this.contractWrapper.read("getBatchIdAtIndex",[c]);if(wr("baseURIIndices",this.contractWrapper))return this.contractWrapper.read("baseURIIndices",[c]);throw new Error("Contract does not have getBatchIdAtIndex or baseURIIndices.")})),r=a.slice(0,a.length-1),f=await Promise.all(Array.from([0,...r]).map(c=>this.getNftMetadata(c.toString()))),i=await this.isLegacyContract(),o=(await Promise.all(Array.from([...a]).map(c=>i?this.getLegacyEncryptedData(c):this.contractWrapper.read("encryptedData",[c])))).map(c=>M6.utils.hexDataLength(c)>0?i?c:M6.utils.defaultAbiCoder.decode(["bytes","bytes32"],c)[0]:c);return f.map((c,d)=>({batchId:M6.BigNumber.from(d),batchUri:c.uri,placeholderMetadata:c})).filter((c,d)=>M6.utils.hexDataLength(o[d])>0)}async hashDelayRevealPassword(e,n){let a=await this.contractWrapper.getChainID(),r=this.contractWrapper.address;return M6.utils.solidityKeccak256(["string","uint256","uint256","address"],[n,a,e,r])}async getNftMetadata(e){return V8(this.contractWrapper.address,this.contractWrapper.getProvider(),e,this.storage)}async isLegacyContract(){if(wr("contractVersion",this.contractWrapper))try{return await this.contractWrapper.read("contractVersion",[])<=2}catch{return!1}return!1}async getLegacyEncryptedData(e){let n=(await Promise.resolve().then(()=>Ee(or0()))).default,r=await new M6.Contract(this.contractWrapper.address,n,this.contractWrapper.getProvider()).functions.encryptedBaseURI(e);return r.length>0?r[0]:"0x"}};ks=class{constructor(e){ae(this,"featureName",cE.name);ae(this,"set",me(async e=>{let n=await Oe(e);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setOwner",args:[n]})}));this.contractWrapper=e}async get(){return this.contractWrapper.read("owner",[])}}});var ti,Fl=ce(()=>{"use strict";u();p();Da();ln();ti=class{constructor(e){ae(this,"featureName",dE.name);ae(this,"set",me(async e=>{let n=await Z1.parseAsync(e);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setPlatformFeeInfo",args:[n.platform_fee_recipient,n.platform_fee_basis_points]})}));this.contractWrapper=e}async get(){let[e,n]=await this.contractWrapper.read("getPlatformFeeInfo",[]);return Z1.parseAsync({platform_fee_recipient:e,platform_fee_basis_points:n})}}});var Tr,Gc=ce(()=>{"use strict";u();p();ir();ln();Rf();Da();or();Tr=class{constructor(e,n){ae(this,"featureName",lE.name);ae(this,"setAll",me(async(e,n)=>{let a=n||await this.contractWrapper.getSignerAddress(),r=new st(this.contractWrapper),f=Object.keys(e);d0(f.length,"you must provide at least one role to set"),d0(f.every(c=>this.roles.includes(c)),"this contract does not support the given role");let i=await this.getAll(),s=[],o=f.sort(c=>c==="admin"?1:-1);for(let c=0;cOe(S))||[]),Promise.all(i[d]?.map(S=>Oe(S))||[])]),y=l.filter(S=>!h.includes(S)),v=h.filter(S=>!l.includes(S));if(v.length>1){let S=v.indexOf(a);S>-1&&(v.splice(S,1),v.push(a))}y.length&&y.forEach(S=>{s.push(r.encode("grantRole",[cr(d),S]))}),v.length&&(await Promise.all(v.map(O=>this.getRevokeRoleFunctionName(O)))).forEach((O,F)=>s.push(r.encode(O,[cr(d),v[F]])))}return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[s]})}));ae(this,"grant",me(async(e,n)=>{d0(this.roles.includes(e),`this contract does not support the "${e}" role`);let a=await Oe(n);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"grantRole",args:[cr(e),a]})}));ae(this,"revoke",me(async(e,n)=>{d0(this.roles.includes(e),`this contract does not support the "${e}" role`);let a=await Oe(n),r=await this.getRevokeRoleFunctionName(a);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:r,args:[cr(e),a]})}));this.contractWrapper=e,this.roles=n}async getAll(){d0(this.roles.length,"this contract has no support for roles");let e={},n=Object.entries(this.roles);return(await Promise.all(n.map(a=>{let[,r]=a;return this.get(r)}))).forEach((a,r)=>e[n[r][1]]=a),e}async get(e){d0(this.roles.includes(e),`this contract does not support the "${e}" role`);let n=this.contractWrapper;if(wr("getRoleMemberCount",n)&&wr("getRoleMember",n)){let a=cr(e),r=(await n.read("getRoleMemberCount",[a])).toNumber();return await Promise.all(Array.from(Array(r).keys()).map(f=>n.read("getRoleMember",[a,f])))}throw new Error("Contract does not support enumerating roles. Please implement IPermissionsEnumerable to unlock this functionality.")}async verify(e,n){await Promise.all(e.map(async a=>{let[r,f]=await Promise.all([this.get(a),Oe(n)]);if(!r.map(i=>i.toLowerCase()).includes(f.toLowerCase()))throw new cM(f,a)}))}async getRevokeRoleFunctionName(e){let[n,a]=await Promise.all([Oe(e),this.contractWrapper.getSignerAddress()]);return a.toLowerCase()===n.toLowerCase()?"renounceRole":"revokeRole"}}});var Ss,J8=ce(()=>{"use strict";u();p();Da();ln();Ss=class{constructor(e){ae(this,"featureName",uE.name);ae(this,"setRecipient",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setPrimarySaleRecipient",args:[e]})));this.contractWrapper=e}async getRecipient(){return await this.contractWrapper.read("primarySaleRecipient",[])}}});var Kc=D((Eva,cr0)=>{"use strict";u();p();cr0.exports=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var a,r,f;if(Array.isArray(e)){if(a=e.length,a!=n.length)return!1;for(r=a;r--!==0;)if(!t(e[r],n[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(f=Object.keys(e),a=f.length,a!==Object.keys(n).length)return!1;for(r=a;r--!==0;)if(!Object.prototype.hasOwnProperty.call(n,f[r]))return!1;for(r=a;r--!==0;){var i=f[r];if(!t(e[i],n[i]))return!1}return!0}return e!==e&&n!==n}});var la,lr0,dM,dr0,Mnn,m6e,y6e,lM,g6e,v6e,w6e,T6e,x6e,pE,uM=ce(()=>{"use strict";u();p();la=Ee(Xe());ln();Pl();Rf();Dl();Da();Yd();Ll();lr0=Ee(Kc());h9();or();ir();rd();lu();dM=class{constructor(e,n,a){ae(this,"set",me((()=>{var e=this;return async function(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return e.setBatch.prepare([{tokenId:n,claimConditions:a}],r)}})()));ae(this,"setBatch",me((()=>{var e=this;return async function(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r={},f=await Promise.all(n.map(async o=>{let{tokenId:c,claimConditions:d}=o,l=d;if(e.isLegacySinglePhaseDrop(e.contractWrapper)){if(a=!0,d.length===0)l=[{startTime:new Date(0),currencyAddress:la.constants.AddressZero,price:0,maxClaimableSupply:0,maxClaimablePerWallet:0,waitInSeconds:0,merkleRootHash:la.utils.hexZeroPad([0],32),snapshot:[]}];else if(d.length>1)throw new Error("Single phase drop contract cannot have multiple claim conditions, only one is allowed")}(e.isNewSinglePhaseDrop(e.contractWrapper)||e.isNewMultiphaseDrop(e.contractWrapper))&&l.forEach(v=>{if(v.snapshot&&v.snapshot.length>0&&(v.maxClaimablePerWallet===void 0||v.maxClaimablePerWallet==="unlimited"))throw new Error(`maxClaimablePerWallet must be set to a specific value when an allowlist is set. +`})`,l=e.transactionHash||e.transaction?.hash||e.receipt?.transactionHash,h=XR(e);return new o9({reason:h,from:r,method:d,data:f,network:a,rpcUrl:s,value:i,hash:l},e)}}});function k0(t,e){return Zx(t.abi,e,t.extensions)}function wr(t,e){return t in e.readContract.functions}function dnn(t){return i6e.utils.formatEther(t)}var i6e,Wn,Rn,va,ja,Rf=ce(()=>{"use strict";u();p();ln();Da();i6e=Ee(Xe());vx();Wn=class{constructor(e,n,a){ae(this,"featureName",nM.name);ae(this,"set",me(async e=>{let n=await this._parseAndUploadMetadata(e),a=this.contractWrapper;if(this.supportsContractMetadata(a))return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setContractURI",args:[n],parse:r=>({receipt:r,data:this.get})});throw new J1(nM)}));ae(this,"update",me(async e=>await this.set.prepare({...await this.get(),...e})));this.contractWrapper=e,this.schema=n,this.storage=a}parseOutputMetadata(e){return this.schema.output.parseAsync(e)}parseInputMetadata(e){return this.schema.input.parseAsync(e)}async get(){let e;if(this.supportsContractMetadata(this.contractWrapper)){let n=await this.contractWrapper.read("contractURI",[]);n&&n.includes("://")&&(e=await this.storage.downloadJSON(n))}if(!e)try{let n;try{wr("name",this.contractWrapper)&&(n=await this.contractWrapper.read("name",[]))}catch{}let a;try{wr("symbol",this.contractWrapper)&&(a=await this.contractWrapper.read("symbol",[]))}catch{}let r;try{r=await Sf(this.contractWrapper.address,this.contractWrapper.getProvider(),this.storage,this.contractWrapper.options)}catch{}e={name:n||r?.name,symbol:a,description:r?.info.title}}catch{throw new Error("Could not fetch contract metadata")}return this.parseOutputMetadata(e)}async _parseAndUploadMetadata(e){let n=await this.parseInputMetadata(e);return this.storage.upload(n)}supportsContractMetadata(e){return k0(e,"ContractMetadata")}},Rn=class{constructor(e){this.contractWrapper=e}addTransactionListener(e){this.contractWrapper.addListener(i1.Transaction,e)}removeTransactionListener(e){this.contractWrapper.off(i1.Transaction,e)}addEventListener(e,n){let a=this.contractWrapper.readContract.interface.getEvent(e),f={address:this.contractWrapper.address,topics:[this.contractWrapper.readContract.interface.getEventTopic(a)]},i=s=>{let o=this.contractWrapper.readContract.interface.parseLog(s);n(this.toContractEvent(o.eventFragment,o.args,s))};return this.contractWrapper.getProvider().on(f,i),()=>{this.contractWrapper.getProvider().off(f,i)}}listenToAllEvents(e){let a={address:this.contractWrapper.address},r=f=>{try{let i=this.contractWrapper.readContract.interface.parseLog(f);e(this.toContractEvent(i.eventFragment,i.args,f))}catch(i){console.error("Could not parse event:",f,i)}};return this.contractWrapper.getProvider().on(a,r),()=>{this.contractWrapper.getProvider().off(a,r)}}removeEventListener(e,n){let a=this.contractWrapper.readContract.interface.getEvent(e);this.contractWrapper.readContract.off(a.name,n)}removeAllListeners(){this.contractWrapper.readContract.removeAllListeners();let n={address:this.contractWrapper.address};this.contractWrapper.getProvider().removeAllListeners(n)}async getAllEvents(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{fromBlock:0,toBlock:"latest",order:"desc"},a=(await this.contractWrapper.readContract.queryFilter({},e.fromBlock,e.toBlock)).sort((r,f)=>e.order==="desc"?f.blockNumber-r.blockNumber:r.blockNumber-f.blockNumber);return this.parseEvents(a)}async getEvents(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{fromBlock:0,toBlock:"latest",order:"desc"},a=this.contractWrapper.readContract.interface.getEvent(e),r=n.filters?a.inputs.map(o=>n.filters[o.name]):[],f=this.contractWrapper.readContract.filters[a.name](...r),s=(await this.contractWrapper.readContract.queryFilter(f,n.fromBlock,n.toBlock)).sort((o,c)=>n.order==="desc"?c.blockNumber-o.blockNumber:o.blockNumber-c.blockNumber);return this.parseEvents(s)}parseEvents(e){return e.map(n=>{let a=Object.fromEntries(Object.entries(n).filter(r=>typeof r[1]!="function"&&r[0]!=="args"));if(n.args){let r=Object.entries(n.args),f=r.slice(r.length/2,r.length),i={};for(let[s,o]of f)i[s]=o;return{eventName:n.event||"",data:i,transaction:a}}return{eventName:n.event||"",data:{},transaction:a}})}toContractEvent(e,n,a){let r=Object.fromEntries(Object.entries(a).filter(i=>typeof i[1]!="function"&&i[0]!=="args")),f={};return e.inputs.forEach((i,s)=>{if(Array.isArray(n[s])){let o=i.components;if(o){let c=n[s];if(i.type==="tuple[]"){let d=[];for(let l=0;lk0(this.contractWrapper,"AppURI")?Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setAppURI",args:[e]}):await this.metadata.update.prepare({app_uri:e})));this.contractWrapper=e,this.metadata=n,this.storage=a}async get(){return k0(this.contractWrapper,"AppURI")?await this.contractWrapper.read("appURI",[]):qoe((await this.metadata.get()).app_uri||"",this.storage.getGatewayUrls())}}});function hf(t){return t.toLowerCase()===bf||t.toLowerCase()===Kb.constants.AddressZero}async function Di(t,e){if(hf(e)){let n=await t.getNetwork(),a=Jj(n.chainId);return{name:a.name,symbol:a.symbol,decimals:a.decimals}}else{let n=(await Promise.resolve().then(()=>Ee(ioe()))).default,a=new Kb.Contract(e,n,t),[r,f,i]=await Promise.all([a.name(),a.symbol(),a.decimals()]);return{name:r,symbol:f,decimals:i}}}async function Ja(t,e,n){let a=await Di(t,e);return{...a,value:Kb.BigNumber.from(n),displayValue:Kb.utils.formatUnits(n,a.decimals)}}var Kb,st,or=ce(()=>{"use strict";u();p();Kb=Ee(Xe());ln();st=class{constructor(e){this.contractWrapper=e}encode(e,n){return this.contractWrapper.readContract.interface.encodeFunctionData(e,n)}decode(e,n){return this.contractWrapper.readContract.interface.decodeFunctionData(e,n)}decodeResult(e,n){return this.contractWrapper.readContract.interface.decodeFunctionResult(e,n)}}});var Pa,X1=ce(()=>{"use strict";u();p();Pa=class{constructor(e){this.contractWrapper=e}overrideNextTransaction(e){this.contractWrapper.withTransactionOverride(e)}}});async function s1(t,e,n,a){if(hf(n))a.value=e;else{let r=(await Promise.resolve().then(()=>Ee(j1()))).default,f=t.getSigner(),i=t.getProvider(),s=new ut(f||i,n,r,t.options,t.storage),o=await t.getSignerAddress(),c=t.address;return(await s.read("allowance",[o,c])).lt(e)&&await s.sendTransaction("approve",[c,e]),a}}var s6e,ja0,o6e,Ml,l9,Xj,lu=ce(()=>{"use strict";u();p();ln();Yd();or();s6e=fe.object({}).catchall(fe.union([c6e,fe.unknown()])),ja0=fe.union([fe.array(fe.array(s6e)).transform(t=>t.flat()),fe.array(s6e),s6e]).optional().nullable(),o6e=fe.object({name:fe.union([fe.string(),fe.number()]).optional().nullable(),description:fe.string().nullable().optional().nullable(),image:Qb.nullable().optional(),animation_url:Qb.optional().nullable()}),Ml=o6e.extend({external_url:Qb.nullable().optional(),background_color:Ga0.optional().nullable(),properties:ja0,attributes:ja0}).catchall(fe.union([c6e,fe.unknown()])),l9=fe.union([Ml,fe.string()]),Xj=Ml.extend({id:fe.string(),uri:fe.string(),image:fe.string().nullable().optional(),external_url:fe.string().nullable().optional(),animation_url:fe.string().nullable().optional()})});var eE=D((pga,lnn)=>{lnn.exports=[{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"}]});async function aM(t,e,n){if(e.startsWith("data:application/json;base64")&&typeof _.Buffer<"u"){let f=e.split(",")[1],i=JSON.parse(_.Buffer.from(f,"base64").toString("utf-8"));return Xj.parse({...i,id:jc.BigNumber.from(t).toString(),uri:e})}let a=e.replace("{id}",jc.utils.hexZeroPad(jc.BigNumber.from(t).toHexString(),32).slice(2)),r;try{r=await n.downloadJSON(a)}catch{let i=e.replace("{id}",jc.BigNumber.from(t).toString());try{r=await n.downloadJSON(i)}catch{console.warn(`failed to get token metadata: ${JSON.stringify({tokenId:t.toString(),tokenUri:e})} -- falling back to default metadata`),r=tE}}return Xj.parse({...r,id:jc.BigNumber.from(t).toString(),uri:e})}async function V8(t,e,n,a){let r,f=(await Promise.resolve().then(()=>Ee(eE()))).default,i=new jc.Contract(t,f,e),[s,o]=await Promise.all([i.supportsInterface(Vb),i.supportsInterface(Yb)]);if(s){let c=(await Promise.resolve().then(()=>Ee(doe()))).default;r=await new jc.Contract(t,c,e).tokenURI(n)}else if(o){let c=(await Promise.resolve().then(()=>Ee(uoe()))).default;r=await new jc.Contract(t,c,e).uri(n)}else throw Error("Contract must implement ERC 1155 or ERC 721.");return r?aM(n,r,a):Xj.parse({...tE,id:jc.BigNumber.from(n).toString(),uri:""})}async function Y8(t,e){return typeof t=="string"?t:await e.upload(Ml.parse(t))}async function Bl(t,e,n,a){if(unn(t))return t;if(pnn(t))return await e.uploadBatch(t.map(f=>Ml.parse(f)),{rewriteFileNames:{fileStartNumber:n||0},onProgress:a?.onProgress});throw new Error("NFT metadatas must all be of the same type (all URI or all NFTMetadataInput)")}function $b(t){let e=t[0].substring(0,t[0].lastIndexOf("/"));for(let n=0;ntypeof e!="string")===void 0}function pnn(t){return t.find(e=>typeof e!="object")===void 0}var jc,Vb,Yb,tE,Pi,Dl=ce(()=>{"use strict";u();p();lu();jc=Ee(Xe()),Vb=jc.utils.arrayify("0x80ac58cd"),Yb=jc.utils.arrayify("0xd9b67a26"),tE={name:"Failed to load NFT metadata"};Pi=100});async function ea(t,e,n){let a=await Di(t,n);return Ka0.utils.parseUnits(ff.parse(e),a.decimals)}var Ka0,rd=ce(()=>{"use strict";u();p();ln();Ka0=Ee(Xe());or()});function bnn(t){let e=t.words,n=new ArrayBuffer(e.length*4),a=new Uint8Array(n);for(let r=0;r>24&255,a[r*4+1]=e[r]>>16&255,a[r*4+2]=e[r]>>8&255,a[r*4+3]=e[r]&255;return n}function mnn(t){let e=new Uint8Array(t.length/2);for(let n=0;nn.toString(16).padStart(2,"0")).join("")}function gnn(t){let e=Array.from(t).map(n=>n.toString(16).padStart(2,"0")).join("");return BigInt(`0x${e}`)}var ca,uu,Qa0,d6e,hnn,nE,Va0=ce(()=>{"use strict";u();p();ca=Ee(Kf()),uu=Ee(ace()),Qa0=Ee(Fq()),d6e=class t{print(){t.print(this)}bufferIndexOf(e,n){if(arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1)return this.binarySearch(e,n,ca.Buffer.compare);let r=(f,i)=>f.equals(i);return this.linearSearch(e,n,r)}static binarySearch(e,n,a){let r=0,f=e.length-1;for(;r<=f;){let i=Math.floor((r+f)/2),s=a(e[i],n);if(s===0){for(let o=i-1;o>=0;o--)if(a(e[o],n)!==0)return o+1;return 0}else s<0?r=i+1:f=i-1}return-1}binarySearch(e,n,a){return t.binarySearch(e,n,a)}static linearSearch(e,n,a){for(let r=0;r1&&arguments[1]!==void 0?arguments[1]:!0;return t.bufferToHex(e,n)}static bufferToHex(e){return`${(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?"0x":""}${(e||ca.Buffer.alloc(0)).toString("hex")}`}bufferify(e){return t.bufferify(e)}bufferifyFn(e){return n=>{let a=e(n);if(ca.Buffer.isBuffer(a))return a;if(this.isHexString(a))return ca.Buffer.from(a.replace("0x",""),"hex");if(typeof a=="string")return ca.Buffer.from(a);if(typeof a=="bigint")return ca.Buffer.from(n.toString(16),"hex");if(ArrayBuffer.isView(a))return ca.Buffer.from(a.buffer,a.byteOffset,a.byteLength);let r=mnn(n.toString("hex")),f=e(r),i=ynn(f);return ca.Buffer.from(i,"hex")}}isHexString(e){return t.isHexString(e)}log2(e){return e===1?0:1+this.log2(e/2|0)}zip(e,n){return e.map((a,r)=>[a,n[r]])}static hexZeroPad(e,n){return"0x"+e.replace("0x","").padStart(n,"0")}},hnn=d6e;nE=class t extends hnn{constructor(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};super();ae(this,"duplicateOdd",!1);ae(this,"concatenator",ca.Buffer.concat);ae(this,"hashLeaves",!1);ae(this,"isBitcoinTree",!1);ae(this,"leaves",[]);ae(this,"layers",[]);ae(this,"sortLeaves",!1);ae(this,"sortPairs",!1);ae(this,"sort",!1);ae(this,"fillDefaultHash",null);ae(this,"complete",!1);if(r.complete){if(r.isBitcoinTree)throw new Error('option "complete" is incompatible with "isBitcoinTree"');if(r.duplicateOdd)throw new Error('option "complete" is incompatible with "duplicateOdd"')}if(this.isBitcoinTree=!!r.isBitcoinTree,this.hashLeaves=!!r.hashLeaves,this.sortLeaves=!!r.sortLeaves,this.sortPairs=!!r.sortPairs,this.complete=!!r.complete,r.fillDefaultHash)if(typeof r.fillDefaultHash=="function")this.fillDefaultHash=r.fillDefaultHash;else if(ca.Buffer.isBuffer(r.fillDefaultHash)||typeof r.fillDefaultHash=="string")this.fillDefaultHash=(f,i)=>r.fillDefaultHash;else throw new Error('method "fillDefaultHash" must be a function, Buffer, or string');this.sort=!!r.sort,this.sort&&(this.sortLeaves=!0,this.sortPairs=!0),this.duplicateOdd=!!r.duplicateOdd,r.concatenator&&(this.concatenator=r.concatenator),this.hashFn=this.bufferifyFn(a),this.processLeaves(n)}getOptions(){return{complete:this.complete,isBitcoinTree:this.isBitcoinTree,hashLeaves:this.hashLeaves,sortLeaves:this.sortLeaves,sortPairs:this.sortPairs,sort:this.sort,fillDefaultHash:this.fillDefaultHash?.toString()??null,duplicateOdd:this.duplicateOdd}}processLeaves(n){if(this.hashLeaves&&(n=n.map(this.hashFn)),this.leaves=n.map(this.bufferify),this.sortLeaves&&(this.leaves=this.leaves.sort(ca.Buffer.compare)),this.fillDefaultHash)for(let a=this.leaves.length;a1;){let a=this.layers.length;this.layers.push([]);let r=this.complete&&a===1&&!Number.isInteger(Math.log2(n.length))?2*n.length-2**Math.ceil(Math.log2(n.length)):n.length;for(let f=0;f=r){this.layers[a].push(...n.slice(r));break}else if(f+1===n.length&&n.length%2===1){let d=n[n.length-1],l=d;if(this.isBitcoinTree){l=this.hashFn(this.concatenator([(0,uu.default)(d),(0,uu.default)(d)])),l=(0,uu.default)(this.hashFn(l)),this.layers[a].push(l);continue}else if(!this.duplicateOdd){this.layers[a].push(n[f]);continue}}let i=n[f],s=f+1===n.length?i:n[f+1],o=null;this.isBitcoinTree?o=[(0,uu.default)(i),(0,uu.default)(s)]:o=[i,s],this.sortPairs&&o.sort(ca.Buffer.compare);let c=this.hashFn(this.concatenator(o));this.isBitcoinTree&&(c=(0,uu.default)(this.hashFn(c))),this.layers[a].push(c)}n=this.layers[a]}}addLeaf(n){(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&(n=this.hashFn(n)),this.processLeaves(this.leaves.concat(n))}addLeaves(n){(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&(n=n.map(this.hashFn)),this.processLeaves(this.leaves.concat(n))}getLeaves(n){return Array.isArray(n)?(this.hashLeaves&&(n=n.map(this.hashFn),this.sortLeaves&&(n=n.sort(ca.Buffer.compare))),this.leaves.filter(a=>this.bufferIndexOf(n,a,this.sortLeaves)!==-1)):this.leaves}getLeaf(n){return n<0||n>this.leaves.length-1?ca.Buffer.from([]):this.leaves[n]}getLeafIndex(n){n=this.bufferify(n);let a=this.getLeaves();for(let r=0;rthis.bufferToHex(n))}static marshalLeaves(n){return JSON.stringify(n.map(a=>t.bufferToHex(a)),null,2)}static unmarshalLeaves(n){let a=null;if(typeof n=="string")a=JSON.parse(n);else if(n instanceof Object)a=n;else throw new Error("Expected type of string or object");if(!a)return[];if(!Array.isArray(a))throw new Error("Expected JSON string to be array");return a.map(t.bufferify)}getLayers(){return this.layers}getHexLayers(){return this.layers.reduce((n,a)=>(Array.isArray(a)?n.push(a.map(r=>this.bufferToHex(r))):n.push(a),n),[])}getLayersFlat(){let n=this.layers.reduce((a,r)=>(Array.isArray(r)?a.unshift(...r):a.unshift(r),a),[]);return n.unshift(ca.Buffer.from([0])),n}getHexLayersFlat(){return this.getLayersFlat().map(n=>this.bufferToHex(n))}getLayerCount(){return this.getLayers().length}getRoot(){return this.layers.length===0?ca.Buffer.from([]):this.layers[this.layers.length-1][0]||ca.Buffer.from([])}getHexRoot(){return this.bufferToHex(this.getRoot())}getProof(n,a){if(typeof n>"u")throw new Error("leaf is required");n=this.bufferify(n);let r=[];if(!Number.isInteger(a)){a=-1;for(let f=0;fthis.bufferToHex(r.data))}getProofs(){let n=[],a=[];return this.getProofsDFS(this.layers.length-1,0,n,a),a}getProofsDFS(n,a,r,f){let i=a%2;if(n===-1){i||f.push([...r].reverse());return}if(a>=this.layers[n].length)return;let s=this.layers[n],o=i?a-1:a+1,c=!1;othis.bufferToHex(n.data))}getPositionalHexProof(n,a){return this.getProof(n,a).map(r=>[r.position==="left"?0:1,this.bufferToHex(r.data)])}getProofIndices(n,a){let r=2**a,f=new Set;for(let d of n){let l=r+d;for(;l>1;)f.add(l^1),l=l/2|0}let i=n.map(d=>r+d),s=Array.from(f).sort((d,l)=>d-l).reverse();f=i.concat(s);let o=new Set,c=[];for(let d of f)if(!o.has(d))for(c.push(d);d>1&&(o.add(d),!!o.has(d^1));)d=d/2|0;return c.filter(d=>!n.includes(d-r))}getProofIndicesForUnevenTree(n,a){let r=Math.ceil(Math.log2(a)),f=[];for(let o=0;oh%2===0?h+1:h-1).filter(h=>!s.includes(h)),l=f.find(h=>{let{index:y}=h;return y===o});l&&s.includes(l.leavesCount-1)&&(d=d.slice(0,-1)),i.push(d),s=[...new Set(s.map(h=>h%2===0?h/2:h%2===0?(h+1)/2:(h-1)/2))]}return i}getMultiProof(n,a){if(this.complete||console.warn("Warning: For correct multiProofs it's strongly recommended to set complete: true"),a||(a=n,n=this.getLayersFlat()),this.isUnevenTree()&&a.every(Number.isInteger))return this.getMultiProofForUnevenTree(a);if(!a.every(Number.isInteger)){let f=a;this.sortPairs&&(f=f.sort(ca.Buffer.compare));let i=f.map(d=>this.bufferIndexOf(this.leaves,d,this.sortLeaves)).sort((d,l)=>d===l?0:d>l?1:-1);if(!i.every(d=>d!==-1))throw new Error("Element does not exist in Merkle tree");let s=[],o=[],c=[];for(let d=0;dv.indexOf(h)===y),c=[]}return o.filter(d=>!s.includes(d))}return this.getProofIndices(a,Math.log2(n.length/2|0)).map(f=>n[f])}getMultiProofForUnevenTree(n,a){a||(a=n,n=this.getLayers());let r=[],f=a;for(let i of n){let s=[];for(let c of f){if(c%2===0){let l=c+1;if(!f.includes(l)&&i[l]){s.push(i[l]);continue}}let d=c-1;if(!f.includes(d)&&i[d]){s.push(i[d]);continue}}r=r.concat(s);let o=new Set;for(let c of f){if(c%2===0){o.add(c/2);continue}if(c%2===0){o.add((c+1)/2);continue}o.add((c-1)/2)}f=Array.from(o)}return r}getHexMultiProof(n,a){return this.getMultiProof(n,a).map(r=>this.bufferToHex(r))}getProofFlags(n,a){if(!Array.isArray(n)||n.length<=0)throw new Error("Invalid Inputs!");let r;if(n.every(Number.isInteger)?r=[...n].sort((o,c)=>o===c?0:o>c?1:-1):r=n.map(o=>this.bufferIndexOf(this.leaves,o,this.sortLeaves)).sort((o,c)=>o===c?0:o>c?1:-1),!r.every(o=>o!==-1))throw new Error("Element does not exist in Merkle tree");let f=a.map(o=>this.bufferify(o)),i=[],s=[];for(let o=0;o{if(!i.includes(c[l])){let y=this.getPairNode(c,l),v=f.includes(c[l])||f.includes(y);y&&s.push(!v),i.push(c[l]),i.push(y)}return d.push(l/2|0),d},[])}return s}verify(n,a,r){let f=this.bufferify(a);if(r=this.bufferify(r),!Array.isArray(n)||!a||!r)return!1;for(let i=0;ithis.bufferify(h)),i=i.map(h=>this.bufferify(h));let c={};for(let[h,y]of this.zip(a,r))c[2**o+h]=y;for(let[h,y]of this.zip(this.getProofIndices(a,o),i))c[h]=y;let d=Object.keys(c).map(h=>Number(h)).sort((h,y)=>h-y);d=d.slice(0,d.length-1);let l=0;for(;l=2&&{}.hasOwnProperty.call(c,h^1)){let y=[c[h-h%2],c[h-h%2+1]];this.sortPairs&&(y=y.sort(ca.Buffer.compare));let v=y[1]?this.hashFn(this.concatenator(y)):y[0];c[h/2|0]=v,d.push(h/2|0)}l+=1}return!a.length||{}.hasOwnProperty.call(c,1)&&c[1].equals(n)}verifyMultiProofWithFlags(n,a,r,f){n=this.bufferify(n),a=a.map(this.bufferify),r=r.map(this.bufferify);let i=a.length,s=f.length,o=[],c=0,d=0,l=0;for(let h=0;hthis.bufferify(o)),i=i.map(o=>this.bufferify(o));let s=this.calculateRootForUnevenTree(a,r,f,i);return n.equals(s)}getDepth(){return this.getLayers().length-1}getLayersAsObject(){let n=this.getLayers().map(r=>r.map(f=>this.bufferToHex(f,!1))),a=[];for(let r=0;r{let[v]=h,[k]=y;return v-k}),s=i.map(h=>{let[y]=h;return y}),o=this.getProofIndicesForUnevenTree(s,r),c=0,d=[];for(let h=0;h{let[W]=F,[j]=z;return W-j}).map(F=>{let[,z]=F;return z}),v=l[h].map(F=>{let[z]=F;return z}),k=[...new Set(v.map(F=>F%2===0?F/2:F%2===0?(F+1)/2:(F-1)/2))],O=[];for(let F=0;F{"use strict";u();p();l6e=Ee(Xe());Yd();ln();u9=fe.union([fe.date().transform(t=>l6e.BigNumber.from(Math.floor(t.getTime()/1e3))),fe.number().transform(t=>l6e.BigNumber.from(t))]),rM=u9.default(new Date(0)),Jb=u9.default(new Date(Date.now()+1e3*60*60*24*365*10))});function aE(t){return{startTimestamp:t.startTimestamp,maxClaimableSupply:t.maxClaimableSupply,supplyClaimed:t.supplyClaimed,merkleRoot:t.merkleRoot,pricePerToken:t.pricePerToken,currency:t.currency,quantityLimitPerTransaction:t.maxClaimablePerWallet,waitTimeInSecondsBetweenClaims:t.waitTimeInSecondsBetweenClaims||0}}function rE(t){return{startTimestamp:t.startTimestamp,maxClaimableSupply:t.maxClaimableSupply,supplyClaimed:t.supplyClaimed,merkleRoot:t.merkleRoot,pricePerToken:t.pricePerToken,currency:t.currency,quantityLimitPerWallet:t.maxClaimablePerWallet,metadata:t.metadata||""}}function fd(t,e){return t==="unlimited"?rn.constants.MaxUint256:rn.utils.parseUnits(t,e)}async function Ya0(t){let n=Array.from({length:Math.ceil(t.length/25e3)},(f,i)=>t.slice(i*25e3,i*25e3+25e3)),a=[],r=await Promise.all(n.map(f=>sM.parseAsync(f)));for(let f of r)a.push(...f);return a}async function iM(t,e,n,a,r,f){if(!n)return null;let i=n[e];if(i){let s=await r.downloadJSON(i);if(s.isShardedMerkleTree&&s.merkleRoot===e)return await(await fM.fromShardedMerkleTreeInfo(s,r)).getProof(t,a,f);let o=await sG.parseAsync(s);if(e===o.merkleRoot)return o.claims.find(c=>c.address.toLowerCase()===t.toLowerCase())||null}return null}function fE(t){return{startTimestamp:t.startTimestamp,maxClaimableSupply:t.maxClaimableSupply,supplyClaimed:t.supplyClaimed,merkleRoot:t.merkleRoot.toString(),pricePerToken:t.pricePerToken,currency:t.currency,maxClaimablePerWallet:t.quantityLimitPerTransaction,waitTimeInSecondsBetweenClaims:t.waitTimeInSecondsBetweenClaims}}function iE(t){return{startTimestamp:t.startTimestamp,maxClaimableSupply:t.maxClaimableSupply,supplyClaimed:t.supplyClaimed,merkleRoot:t.merkleRoot.toString(),pricePerToken:t.pricePerToken,currency:t.currency,maxClaimablePerWallet:t.quantityLimitPerWallet,waitTimeInSecondsBetweenClaims:0,metadata:t.metadata}}async function u6e(t,e,n,a,r){let f=t.getSigner(),i=t.getProvider(),s=(await Promise.resolve().then(()=>Ee(j1()))).default,o=new ut(f||i,e,s,t.options,t.storage),c=await t.getSignerAddress(),d=t.address,l=await o.read("allowance",[c,d]),h=rn.BigNumber.from(n).mul(rn.BigNumber.from(a)).div(rn.utils.parseUnits("1",r));l.lt(h)&&await o.sendTransaction("approve",[d,l.add(h)])}async function eG(t,e,n,a,r,f,i,s,o){let c=fd(n.maxClaimablePerWallet,r),d=[rn.utils.hexZeroPad([0],32)],l=n.price,h=n.currencyAddress;try{if(!n.merkleRootHash.toString().startsWith(rn.constants.AddressZero)){let O=await iM(t,n.merkleRootHash.toString(),await a(),f.getProvider(),i,o);if(O)d=O.proof,c=O.maxClaimable==="unlimited"?rn.constants.MaxUint256:rn.utils.parseUnits(O.maxClaimable,r),l=O.price===void 0||O.price==="unlimited"?rn.constants.MaxUint256:await ea(f.getProvider(),O.price,O.currencyAddress||rn.constants.AddressZero),h=O.currencyAddress||rn.constants.AddressZero;else if(o===$8.V1)throw new Error("No claim found for this address")}}catch(O){if(O?.message==="No claim found for this address")throw O;console.warn("failed to check claim condition merkle root hash, continuing anyways",O)}let y=await f.getCallOverrides()||{},v=l.toString()!==rn.constants.MaxUint256.toString()?l:n.price,k=h!==rn.constants.AddressZero?h:n.currencyAddress;return v.gt(0)&&(hf(k)?y.value=rn.BigNumber.from(v).mul(e).div(rn.utils.parseUnits("1",r)):s&&await u6e(f,k,v,e,r)),{overrides:y,proofs:d,maxClaimable:c,price:v,currencyAddress:k,priceInProof:l,currencyAddressInProof:h}}async function _nn(t,e,n,a,r){let f=await Ya0(t),i=f.map(c=>c.address);if(new Set(i).size{if(s.snapshot&&s.snapshot.length>0){let o=await _nn(s.snapshot,e,n,a,r);f.push(o),s.merkleRootHash=o.merkleRoot}else s.merkleRootHash=rn.utils.hexZeroPad([0],32);return s})),snapshotInfos:f}}async function Inn(t,e,n,a){let r=t.currencyAddress===rn.constants.AddressZero?bf:t.currencyAddress,f=fd(t.maxClaimableSupply,e),i=fd(t.maxClaimablePerWallet,e),s;return t.metadata&&(typeof t.metadata=="string"?s=t.metadata:s=await a.upload(t.metadata)),{startTimestamp:t.startTime,maxClaimableSupply:f,supplyClaimed:0,maxClaimablePerWallet:i,pricePerToken:await ea(n,t.price,r),currency:r,merkleRoot:t.merkleRootHash.toString(),waitTimeInSecondsBetweenClaims:t.waitInSeconds||0,metadata:s}}async function tG(t,e,n,a,r){let{inputsWithSnapshots:f,snapshotInfos:i}=await Cnn(t,e,n,a,r),s=await Enn.parseAsync(f),o=(await Promise.all(s.map(c=>Inn(c,e,n,a)))).sort((c,d)=>Ann(c.startTimestamp,d.startTimestamp));return{snapshotInfos:i,sortedConditions:o}}async function knn(t,e,n){if(!e)return null;let a=e[t];if(a){let r=await n.downloadJSON(a);if(r.isShardedMerkleTree&&r.merkleRoot===t)return(await fM.fromUri(a,n))?.getAllEntries()||null;{let f=await sG.parseAsync(r);if(t===f.merkleRoot)return f.claims.map(i=>({address:i.address,maxClaimable:i.maxClaimable,price:i.price,currencyAddress:i.currencyAddress}))}}return null}function Zj(t,e){return t.toString()===rn.constants.MaxUint256.toString()?"unlimited":rn.utils.formatUnits(t,e)}async function sE(t,e,n,a,r,f){let i=await Ja(n,t.currency,t.pricePerToken),s=Zj(t.maxClaimableSupply,e),o=Zj(t.maxClaimablePerWallet,e),c=Zj(rn.BigNumber.from(t.maxClaimableSupply).sub(t.supplyClaimed),e),d=Zj(t.supplyClaimed,e),l;return t.metadata&&(l=await r.downloadJSON(t.metadata)),$a0.parseAsync({startTime:t.startTimestamp,maxClaimableSupply:s,maxClaimablePerWallet:o,currentMintSupply:d,availableSupply:c,waitInSeconds:t.waitTimeInSecondsBetweenClaims?.toString(),price:rn.BigNumber.from(t.pricePerToken),currency:t.currency,currencyAddress:t.currency,currencyMetadata:i,merkleRootHash:t.merkleRoot,snapshot:f?await knn(t.merkleRoot,a,r):void 0,metadata:l})}async function nG(t,e,n){if(t>=n.length)throw Error(`Index out of bounds - got index: ${t} with ${n.length} conditions`);let a=n[t].currencyMetadata.decimals,r=n[t].price,f=rn.utils.formatUnits(r,a),i=await p6e.parseAsync({...n[t],price:f,...e}),s=await $a0.parseAsync({...i,price:r});return n.map((o,c)=>{let d;c===t?d=s:d=o;let l=rn.utils.formatUnits(d.price,a);return{...d,price:l}})}function aG(t){if(t===void 0){let e=_.Buffer.alloc(16);return jv({},e),rn.utils.hexlify(rn.utils.toUtf8Bytes(e.toString("hex")))}else return rn.utils.hexlify(t)}var rn,vnn,$8,fM,wnn,Tnn,xnn,p6e,Enn,$a0,qn,rG,h6e,Ja0,b6e,Xa0,Snn,Za0,er0,tr0,nr0,ar0,rr0,fr0,ir0,h9=ce(()=>{"use strict";u();p();rn=Ee(Xe());ln();or();rd();Va0();Pl();Yd();lu();x0e();vnn=2,$8=function(t){return t[t.V1=1]="V1",t[t.V2=2]="V2",t}({}),fM=class t{constructor(e,n,a,r,f){this.storage=e,this.shardNybbles=r,this.baseUri=n,this.originalEntriesUri=a,this.tokenDecimals=f,this.shards={},this.trees={}}static async fromUri(e,n){try{let a=await n.downloadJSON(e);if(a.isShardedMerkleTree)return t.fromShardedMerkleTreeInfo(a,n)}catch{return}}static async fromShardedMerkleTreeInfo(e,n){return new t(n,e.baseUri,e.originalEntriesUri,e.shardNybbles,e.tokenDecimals)}static hashEntry(e,n,a,r){switch(r){case $8.V1:return rn.utils.solidityKeccak256(["address","uint256"],[e.address,fd(e.maxClaimable,n)]);case $8.V2:return rn.utils.solidityKeccak256(["address","uint256","uint256","address"],[e.address,fd(e.maxClaimable,n),fd(e.price||"unlimited",a),e.currencyAddress||rn.constants.AddressZero])}}static async fetchAndCacheDecimals(e,n,a){if(!a)return 18;let r=e[a];return r===void 0&&(r=(await Di(n,a)).decimals,e[a]=r),r}static async buildAndUpload(e,n,a,r,f){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:vnn,s=await Ya0(e),o={};for(let W of s){let j=W.address.slice(2,2+i).toLowerCase();o[j]===void 0&&(o[j]=[]),o[j].push(W)}let c={},d=await Promise.all(Object.entries(o).map(async W=>{let[j,Q]=W;return[j,new nE(await Promise.all(Q.map(async V=>{let X=await t.fetchAndCacheDecimals(c,a,V.currencyAddress);return t.hashEntry(V,n,X,f)})),rn.utils.keccak256,{sort:!0}).getHexRoot()]})),l=Object.fromEntries(d),h=new nE(Object.values(l),rn.utils.keccak256,{sort:!0}),y=[];for(let[W,j]of Object.entries(o)){let Q={proofs:h.getProof(l[W]).map(V=>"0x"+V.data.toString("hex")),entries:j};y.push({data:JSON.stringify(Q),name:`${W}.json`})}let v=await r.uploadBatch(y),k=v[0].slice(0,v[0].lastIndexOf("/")),O=await r.upload(s),F={merkleRoot:h.getHexRoot(),baseUri:k,originalEntriesUri:O,shardNybbles:i,tokenDecimals:n,isShardedMerkleTree:!0},z=await r.upload(F);return{shardedMerkleInfo:F,uri:z}}async getProof(e,n,a){let r=e.slice(2,2+this.shardNybbles).toLowerCase(),f=this.shards[r],i={};if(f===void 0)try{let l=this.baseUri.endsWith("/")?this.baseUri:`${this.baseUri}/`;f=this.shards[r]=await this.storage.downloadJSON(`${l}${r}.json`);let h=await Promise.all(f.entries.map(async y=>{let v=await t.fetchAndCacheDecimals(i,n,y.currencyAddress);return t.hashEntry(y,this.tokenDecimals,v,a)}));this.trees[r]=new nE(h,rn.utils.keccak256,{sort:!0})}catch{return null}let s=f.entries.find(l=>l.address.toLowerCase()===e.toLowerCase());if(!s)return null;let o=await t.fetchAndCacheDecimals(i,n,s.currencyAddress),c=t.hashEntry(s,this.tokenDecimals,o,a),d=this.trees[r].getProof(c).map(l=>"0x"+l.data.toString("hex"));return iG.parseAsync({...s,proof:d.concat(f.proofs)})}async getAllEntries(){try{return await this.storage.downloadJSON(this.originalEntriesUri)}catch(e){return console.warn("Could not fetch original snapshot entries",e),[]}}};wnn=fe.object({name:fe.string(),symbol:fe.string(),decimals:fe.number()}),Tnn=wnn.extend({value:Zi,displayValue:fe.string()}),xnn=fe.object({name:fe.string().optional()}).catchall(fe.unknown()),p6e=fe.object({startTime:rM,currencyAddress:fe.string().default(bf),price:ff.default(0),maxClaimableSupply:p9,maxClaimablePerWallet:p9,waitInSeconds:Xa.default(0),merkleRootHash:sr0.default(rn.utils.hexZeroPad([0],32)),snapshot:fe.optional(sM).nullable(),metadata:xnn.optional()}),Enn=fe.array(p6e),$a0=p6e.extend({availableSupply:p9,currentMintSupply:p9,currencyMetadata:Tnn.default({value:rn.BigNumber.from("0"),displayValue:"0",symbol:"",decimals:18,name:""}),price:Zi,waitInSeconds:Zi,startTime:Zi.transform(t=>new Date(t.toNumber()*1e3)),snapshot:sM.optional().nullable()});qn=function(t){return t.NotEnoughSupply="There is not enough supply to claim.",t.AddressNotAllowed="This address is not on the allowlist.",t.WaitBeforeNextClaimTransaction="Not enough time since last claim transaction. Please wait.",t.ClaimPhaseNotStarted="Claim phase has not started yet.",t.AlreadyClaimed="You have already claimed the token.",t.WrongPriceOrCurrency="Incorrect price or currency.",t.OverMaxClaimablePerWallet="Cannot claim more than maximum allowed quantity.",t.NotEnoughTokens="There are not enough tokens in the wallet to pay for the claim.",t.NoActiveClaimPhase="There is no active claim phase at the moment. Please check back in later.",t.NoClaimConditionSet="There is no claim condition set.",t.NoWallet="No wallet connected.",t.Unknown="No claim conditions found.",t}({});rG=fe.object({to:da.refine(t=>t.toLowerCase()!==rn.constants.AddressZero,{message:"Cannot create payload to mint to zero address"}),price:ff.default(0),currencyAddress:fG.default(bf),mintStartTime:rM,mintEndTime:Jb,uid:fe.string().optional().transform(t=>aG(t)),primarySaleRecipient:da.default(rn.constants.AddressZero)}),h6e=rG.extend({quantity:ff}),Ja0=h6e.extend({mintStartTime:Zi,mintEndTime:Zi}),b6e=rG.extend({metadata:l9,royaltyRecipient:fe.string().default(rn.constants.AddressZero),royaltyBps:Xb.default(0)}),Xa0=b6e.extend({metadata:l9.default(""),uri:fe.string(),royaltyBps:Zi,mintStartTime:Zi,mintEndTime:Zi}),Snn=b6e.extend({metadata:l9.default(""),quantity:Xa}),Za0=Snn.extend({tokenId:Xa}),er0=Xa0.extend({tokenId:Zi,quantity:Zi}),tr0=b6e.extend({metadata:l9.default(""),quantity:Zi.default(1)}),nr0=Xa0.extend({quantity:Zi.default(1)}),ar0=[{name:"to",type:"address"},{name:"primarySaleRecipient",type:"address"},{name:"quantity",type:"uint256"},{name:"price",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],rr0=[{name:"to",type:"address"},{name:"royaltyRecipient",type:"address"},{name:"royaltyBps",type:"uint256"},{name:"primarySaleRecipient",type:"address"},{name:"uri",type:"string"},{name:"price",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],fr0=[{name:"to",type:"address"},{name:"royaltyRecipient",type:"address"},{name:"royaltyBps",type:"uint256"},{name:"primarySaleRecipient",type:"address"},{name:"tokenId",type:"uint256"},{name:"uri",type:"string"},{name:"quantity",type:"uint256"},{name:"pricePerToken",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],ir0=[{name:"to",type:"address"},{name:"royaltyRecipient",type:"address"},{name:"royaltyBps",type:"uint256"},{name:"primarySaleRecipient",type:"address"},{name:"uri",type:"string"},{name:"quantity",type:"uint256"},{name:"pricePerToken",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}]});var or0=D((qga,Rnn)=>{Rnn.exports=[{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedBaseURI",inputs:[{name:"identifier",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"reveal",inputs:[{name:"identifier",type:"uint256",internalType:"uint256"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});async function oG(t,e,n,a,r){let f={},i=a||bf,o=(await ea(t.getProvider(),e,i)).mul(n);return o.gt(0)&&(i===bf?f={value:o}:i!==bf&&r&&await u6e(t,i,o,n,0)),f}var M6,Is,pu,ks,Ll=ce(()=>{"use strict";u();p();Rf();Da();ln();or();M6=Ee(Xe());lu();Dl();h9();rd();Is=class{constructor(e,n){ae(this,"featureName",oE.name);ae(this,"setDefaultRoyaltyInfo",me(async e=>{let n=await this.metadata.get(),a=await this.metadata.parseInputMetadata({...n,...e}),r=await this.metadata._parseAndUploadMetadata(a);if(wr("setContractURI",this.contractWrapper)){let f=new st(this.contractWrapper),i=[f.encode("setDefaultRoyaltyInfo",[a.fee_recipient,a.seller_fee_basis_points]),f.encode("setContractURI",[r])];return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[i],parse:s=>({receipt:s,data:()=>this.getDefaultRoyaltyInfo()})})}else throw new Error("Updating royalties requires implementing ContractMetadata in your contract to support marketplaces like OpenSea.")}));ae(this,"setTokenRoyaltyInfo",me(async(e,n)=>{let a=yi.parse(n);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setRoyaltyInfoForToken",args:[e,a.fee_recipient,a.seller_fee_basis_points],parse:r=>({receipt:r,data:()=>this.getDefaultRoyaltyInfo()})})}));this.contractWrapper=e,this.metadata=n}async getDefaultRoyaltyInfo(){let[e,n]=await this.contractWrapper.read("getDefaultRoyaltyInfo",[]);return yi.parseAsync({fee_recipient:e,seller_fee_basis_points:n})}async getTokenRoyaltyInfo(e){let[n,a]=await this.contractWrapper.read("getRoyaltyInfoForToken",[e]);return yi.parseAsync({fee_recipient:n,seller_fee_basis_points:a})}},pu=class{constructor(e,n,a,r){ae(this,"createDelayedRevealBatch",me(async(e,n,a,r)=>{if(!a)throw new Error("Password is required");let f=await this.storage.uploadBatch([Ml.parse(e)],{rewriteFileNames:{fileStartNumber:0}}),i=$b(f),s=await this.nextTokenIdToMintFn(),o=await this.storage.uploadBatch(n.map(k=>Ml.parse(k)),{onProgress:r?.onProgress,rewriteFileNames:{fileStartNumber:s.toNumber()}}),c=$b(o),d=await this.contractWrapper.read("getBaseURICount",[]),l=await this.hashDelayRevealPassword(d,a),h=await this.contractWrapper.read("encryptDecrypt",[M6.utils.toUtf8Bytes(c),l]),y;if(await this.isLegacyContract())y=h;else{let k=await this.contractWrapper.getChainID(),O=M6.utils.solidityKeccak256(["bytes","bytes","uint256"],[M6.utils.toUtf8Bytes(c),l,k]);y=M6.utils.defaultAbiCoder.encode(["bytes","bytes32"],[h,O])}return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[o.length,i.endsWith("/")?i:`${i}/`,y],parse:k=>{let O=this.contractWrapper.parseLogs("TokensLazyMinted",k?.logs),F=O[0].args.startTokenId,z=O[0].args.endTokenId,W=[];for(let j=F;j.lte(z);j=j.add(1))W.push({id:j,receipt:k});return W}})}));ae(this,"reveal",me(async(e,n)=>{if(!n)throw new Error("Password is required");let a=await this.hashDelayRevealPassword(e,n);try{let r=await this.contractWrapper.callStatic().reveal(e,a);if(!r.includes("://")||!r.endsWith("/"))throw new Error("invalid password")}catch{throw new Error("invalid password")}return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"reveal",args:[e,a]})}));this.featureName=a,this.nextTokenIdToMintFn=r,this.contractWrapper=e,this.storage=n}async getBatchesToReveal(){let e=await this.contractWrapper.read("getBaseURICount",[]);if(e.isZero())return[];let n=Array.from(Array(e.toNumber()).keys()),a=await Promise.all(n.map(c=>{if(wr("getBatchIdAtIndex",this.contractWrapper))return this.contractWrapper.read("getBatchIdAtIndex",[c]);if(wr("baseURIIndices",this.contractWrapper))return this.contractWrapper.read("baseURIIndices",[c]);throw new Error("Contract does not have getBatchIdAtIndex or baseURIIndices.")})),r=a.slice(0,a.length-1),f=await Promise.all(Array.from([0,...r]).map(c=>this.getNftMetadata(c.toString()))),i=await this.isLegacyContract(),o=(await Promise.all(Array.from([...a]).map(c=>i?this.getLegacyEncryptedData(c):this.contractWrapper.read("encryptedData",[c])))).map(c=>M6.utils.hexDataLength(c)>0?i?c:M6.utils.defaultAbiCoder.decode(["bytes","bytes32"],c)[0]:c);return f.map((c,d)=>({batchId:M6.BigNumber.from(d),batchUri:c.uri,placeholderMetadata:c})).filter((c,d)=>M6.utils.hexDataLength(o[d])>0)}async hashDelayRevealPassword(e,n){let a=await this.contractWrapper.getChainID(),r=this.contractWrapper.address;return M6.utils.solidityKeccak256(["string","uint256","uint256","address"],[n,a,e,r])}async getNftMetadata(e){return V8(this.contractWrapper.address,this.contractWrapper.getProvider(),e,this.storage)}async isLegacyContract(){if(wr("contractVersion",this.contractWrapper))try{return await this.contractWrapper.read("contractVersion",[])<=2}catch{return!1}return!1}async getLegacyEncryptedData(e){let n=(await Promise.resolve().then(()=>Ee(or0()))).default,r=await new M6.Contract(this.contractWrapper.address,n,this.contractWrapper.getProvider()).functions.encryptedBaseURI(e);return r.length>0?r[0]:"0x"}};ks=class{constructor(e){ae(this,"featureName",cE.name);ae(this,"set",me(async e=>{let n=await Oe(e);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setOwner",args:[n]})}));this.contractWrapper=e}async get(){return this.contractWrapper.read("owner",[])}}});var ti,Fl=ce(()=>{"use strict";u();p();Da();ln();ti=class{constructor(e){ae(this,"featureName",dE.name);ae(this,"set",me(async e=>{let n=await Z1.parseAsync(e);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setPlatformFeeInfo",args:[n.platform_fee_recipient,n.platform_fee_basis_points]})}));this.contractWrapper=e}async get(){let[e,n]=await this.contractWrapper.read("getPlatformFeeInfo",[]);return Z1.parseAsync({platform_fee_recipient:e,platform_fee_basis_points:n})}}});var Tr,Gc=ce(()=>{"use strict";u();p();ir();ln();Rf();Da();or();Tr=class{constructor(e,n){ae(this,"featureName",lE.name);ae(this,"setAll",me(async(e,n)=>{let a=n||await this.contractWrapper.getSignerAddress(),r=new st(this.contractWrapper),f=Object.keys(e);d0(f.length,"you must provide at least one role to set"),d0(f.every(c=>this.roles.includes(c)),"this contract does not support the given role");let i=await this.getAll(),s=[],o=f.sort(c=>c==="admin"?1:-1);for(let c=0;cOe(k))||[]),Promise.all(i[d]?.map(k=>Oe(k))||[])]),y=l.filter(k=>!h.includes(k)),v=h.filter(k=>!l.includes(k));if(v.length>1){let k=v.indexOf(a);k>-1&&(v.splice(k,1),v.push(a))}y.length&&y.forEach(k=>{s.push(r.encode("grantRole",[cr(d),k]))}),v.length&&(await Promise.all(v.map(O=>this.getRevokeRoleFunctionName(O)))).forEach((O,F)=>s.push(r.encode(O,[cr(d),v[F]])))}return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[s]})}));ae(this,"grant",me(async(e,n)=>{d0(this.roles.includes(e),`this contract does not support the "${e}" role`);let a=await Oe(n);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"grantRole",args:[cr(e),a]})}));ae(this,"revoke",me(async(e,n)=>{d0(this.roles.includes(e),`this contract does not support the "${e}" role`);let a=await Oe(n),r=await this.getRevokeRoleFunctionName(a);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:r,args:[cr(e),a]})}));this.contractWrapper=e,this.roles=n}async getAll(){d0(this.roles.length,"this contract has no support for roles");let e={},n=Object.entries(this.roles);return(await Promise.all(n.map(a=>{let[,r]=a;return this.get(r)}))).forEach((a,r)=>e[n[r][1]]=a),e}async get(e){d0(this.roles.includes(e),`this contract does not support the "${e}" role`);let n=this.contractWrapper;if(wr("getRoleMemberCount",n)&&wr("getRoleMember",n)){let a=cr(e),r=(await n.read("getRoleMemberCount",[a])).toNumber();return await Promise.all(Array.from(Array(r).keys()).map(f=>n.read("getRoleMember",[a,f])))}throw new Error("Contract does not support enumerating roles. Please implement IPermissionsEnumerable to unlock this functionality.")}async verify(e,n){await Promise.all(e.map(async a=>{let[r,f]=await Promise.all([this.get(a),Oe(n)]);if(!r.map(i=>i.toLowerCase()).includes(f.toLowerCase()))throw new cM(f,a)}))}async getRevokeRoleFunctionName(e){let[n,a]=await Promise.all([Oe(e),this.contractWrapper.getSignerAddress()]);return a.toLowerCase()===n.toLowerCase()?"renounceRole":"revokeRole"}}});var Ss,J8=ce(()=>{"use strict";u();p();Da();ln();Ss=class{constructor(e){ae(this,"featureName",uE.name);ae(this,"setRecipient",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setPrimarySaleRecipient",args:[e]})));this.contractWrapper=e}async getRecipient(){return await this.contractWrapper.read("primarySaleRecipient",[])}}});var Kc=D((Eva,cr0)=>{"use strict";u();p();cr0.exports=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var a,r,f;if(Array.isArray(e)){if(a=e.length,a!=n.length)return!1;for(r=a;r--!==0;)if(!t(e[r],n[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(f=Object.keys(e),a=f.length,a!==Object.keys(n).length)return!1;for(r=a;r--!==0;)if(!Object.prototype.hasOwnProperty.call(n,f[r]))return!1;for(r=a;r--!==0;){var i=f[r];if(!t(e[i],n[i]))return!1}return!0}return e!==e&&n!==n}});var la,lr0,dM,dr0,Mnn,m6e,y6e,lM,g6e,v6e,w6e,T6e,x6e,pE,uM=ce(()=>{"use strict";u();p();la=Ee(Xe());ln();Pl();Rf();Dl();Da();Yd();Ll();lr0=Ee(Kc());h9();or();ir();rd();lu();dM=class{constructor(e,n,a){ae(this,"set",me((()=>{var e=this;return async function(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return e.setBatch.prepare([{tokenId:n,claimConditions:a}],r)}})()));ae(this,"setBatch",me((()=>{var e=this;return async function(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r={},f=await Promise.all(n.map(async o=>{let{tokenId:c,claimConditions:d}=o,l=d;if(e.isLegacySinglePhaseDrop(e.contractWrapper)){if(a=!0,d.length===0)l=[{startTime:new Date(0),currencyAddress:la.constants.AddressZero,price:0,maxClaimableSupply:0,maxClaimablePerWallet:0,waitInSeconds:0,merkleRootHash:la.utils.hexZeroPad([0],32),snapshot:[]}];else if(d.length>1)throw new Error("Single phase drop contract cannot have multiple claim conditions, only one is allowed")}(e.isNewSinglePhaseDrop(e.contractWrapper)||e.isNewMultiphaseDrop(e.contractWrapper))&&l.forEach(v=>{if(v.snapshot&&v.snapshot.length>0&&(v.maxClaimablePerWallet===void 0||v.maxClaimablePerWallet==="unlimited"))throw new Error(`maxClaimablePerWallet must be set to a specific value when an allowlist is set. Set it to 0 to only allow addresses in the allowlist to claim the amount specified in the allowlist. ex: -contract.claimConditions.set(tokenId, [{ snapshot: [{ address: '0x...', maxClaimable: 1 }], maxClaimablePerWallet: 0 }])`);if(v.snapshot&&v.snapshot.length>0&&v.maxClaimablePerWallet?.toString()==="0"&&v.snapshot.map(S=>typeof S=="string"?0:Number(S.maxClaimable?.toString()||0)).reduce((S,O)=>S+O,0)===0)throw new Error("maxClaimablePerWallet is set to 0, and all addresses in the allowlist have max claimable 0. This means that no one can claim.")});let{snapshotInfos:h,sortedConditions:y}=await tG(l,0,e.contractWrapper.getProvider(),e.storage,e.getSnapshotFormatVersion());return h.forEach(v=>{r[v.merkleRoot]=v.snapshotUri}),{tokenId:c,sortedConditions:y}})),i=await e.metadata.get(),s=[];for(let o of Object.keys(i.merkle||{}))r[o]=i.merkle[o];if(!(0,lr0.default)(i.merkle,r)){let o=await e.metadata.parseInputMetadata({...i,merkle:r}),c=await e.metadata._parseAndUploadMetadata(o);if(wr("setContractURI",e.contractWrapper)){let d=new st(e.contractWrapper);s.push(d.encode("setContractURI",[c]))}else throw new Error("Setting a merkle root requires implementing ContractMetadata in your contract to support storing a merkle root.")}if(f.forEach(o=>{let{tokenId:c,sortedConditions:d}=o,l=new st(e.contractWrapper);if(e.isLegacySinglePhaseDrop(e.contractWrapper)){let h=new st(e.contractWrapper);s.push(h.encode("setClaimConditions",[c,aE(d[0]),a]))}else if(e.isLegacyMultiPhaseDrop(e.contractWrapper))s.push(l.encode("setClaimConditions",[c,d.map(aE),a]));else if(e.isNewSinglePhaseDrop(e.contractWrapper))s.push(l.encode("setClaimConditions",[c,rE(d[0]),a]));else if(e.isNewMultiphaseDrop(e.contractWrapper))s.push(l.encode("setClaimConditions",[c,d.map(rE),a]));else throw new Error("Contract does not support claim conditions")}),wr("multicall",e.contractWrapper))return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"multicall",args:[s]});throw new Error("Contract does not support multicall")}})()));ae(this,"update",me(async(e,n,a)=>{let r=await this.getAll(e),f=await nG(n,a,r);return await this.set.prepare(e,f)}));this.storage=a,this.contractWrapper=e,this.metadata=n}async getActive(e,n){let a=await this.get(e),r=await this.metadata.get();return await sE(a,0,this.contractWrapper.getProvider(),r.merkle,this.storage,n?.withAllowList||!1)}async get(e,n){if(this.isLegacySinglePhaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("claimCondition",[e]);return fE(a)}else if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){let a=n!==void 0?n:await this.contractWrapper.read("getActiveClaimConditionId",[e]),r=await this.contractWrapper.read("getClaimConditionById",[e,a]);return fE(r)}else if(this.isNewSinglePhaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("claimCondition",[e]);return iE(a)}else if(this.isNewMultiphaseDrop(this.contractWrapper)){let a=n!==void 0?n:await this.contractWrapper.read("getActiveClaimConditionId",[e]),r=await this.contractWrapper.read("getClaimConditionById",[e,a]);return iE(r)}else throw new Error("Contract does not support claim conditions")}async getAll(e,n){if(this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("claimCondition",[e]),r=a.currentStartId.toNumber(),f=a.count.toNumber(),i=[];for(let o=r;osE(o,0,this.contractWrapper.getProvider(),s.merkle,this.storage,n?.withAllowList||!1)))}else return[await this.getActive(e,n)]}async canClaim(e,n,a){return a&&(a=await Oe(a)),(await this.getClaimIneligibilityReasons(e,n,a)).length===0}async getClaimIneligibilityReasons(e,n,a){let r=[],f,i;if(a===void 0)try{a=await this.contractWrapper.getSignerAddress()}catch(v){console.warn("failed to get signer address",v)}if(!a)return[qn.NoWallet];let s=await Oe(a);try{i=await this.getActive(e)}catch(v){return X8(v,"!CONDITION")||X8(v,"no active mint condition")||X8(v,"DropNoActiveCondition")?(r.push(qn.NoClaimConditionSet),r):(r.push(qn.Unknown),r)}if(i.availableSupply!=="unlimited"&&la.BigNumber.from(i.availableSupply).lt(n))return r.push(qn.NotEnoughSupply),r;let c=la.utils.stripZeros(i.merkleRootHash).length>0,d=null;if(c){if(d=await this.getClaimerProofs(e,s),!d&&(this.isLegacySinglePhaseDrop(this.contractWrapper)||this.isLegacyMultiPhaseDrop(this.contractWrapper)))return r.push(qn.AddressNotAllowed),r;if(d)try{let v=await this.prepareClaim(e,n,!1,s),S;if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){if(f=await this.contractWrapper.read("getActiveClaimConditionId",[e]),[S]=await this.contractWrapper.read("verifyClaimMerkleProof",[f,s,e,n,v.proofs,v.maxClaimable]),!S)return r.push(qn.AddressNotAllowed),r}else if(this.isLegacySinglePhaseDrop(this.contractWrapper)){if([S]=await this.contractWrapper.read("verifyClaimMerkleProof",[e,s,n,{proof:v.proofs,maxQuantityInAllowlist:v.maxClaimable}]),!S)return r.push(qn.AddressNotAllowed),r}else this.isNewSinglePhaseDrop(this.contractWrapper)?await this.contractWrapper.read("verifyClaim",[e,s,n,v.currencyAddress,v.price,{proof:v.proofs,quantityLimitPerWallet:v.maxClaimable,currency:v.currencyAddressInProof,pricePerToken:v.priceInProof}]):this.isNewMultiphaseDrop(this.contractWrapper)&&(f=await this.contractWrapper.read("getActiveClaimConditionId",[e]),await this.contractWrapper.read("verifyClaim",[f,s,e,n,v.currencyAddress,v.price,{proof:v.proofs,quantityLimitPerWallet:v.maxClaimable,currency:v.currencyAddressInProof,pricePerToken:v.priceInProof}]))}catch(v){switch(console.warn("Merkle proof verification failed:","reason"in v?v.reason||v.errorName:v),v.reason||v.errorName){case"!Qty":case"DropClaimExceedLimit":r.push(qn.OverMaxClaimablePerWallet);break;case"!PriceOrCurrency":case"DropClaimInvalidTokenPrice":r.push(qn.WrongPriceOrCurrency);break;case"!MaxSupply":case"DropClaimExceedMaxSupply":r.push(qn.NotEnoughSupply);break;case"cant claim yet":case"DropClaimNotStarted":r.push(qn.ClaimPhaseNotStarted);break;default:{r.push(qn.AddressNotAllowed);break}}return r}}if(this.isNewSinglePhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let v=la.BigNumber.from(0),S=fd(i.maxClaimablePerWallet,0);try{v=await this.getSupplyClaimedByWallet(e,s)}catch{}if(d&&(S=fd(d.maxClaimable,0)),S.gt(0)&&S.lt(v.add(n)))return r.push(qn.OverMaxClaimablePerWallet),r;if((!c||c&&!d)&&(S.lte(v)||S.eq(0)))return r.push(qn.AddressNotAllowed),r}let[l,h]=[la.BigNumber.from(0),la.BigNumber.from(0)];this.isLegacyMultiPhaseDrop(this.contractWrapper)?(f=await this.contractWrapper.read("getActiveClaimConditionId",[e]),[l,h]=await this.contractWrapper.read("getClaimTimestamp",[e,f,s])):this.isLegacySinglePhaseDrop(this.contractWrapper)&&([l,h]=await this.contractWrapper.read("getClaimTimestamp",[e,s]));let y=la.BigNumber.from(Date.now()).div(1e3);if(l.gt(0)&&y.lt(h))return h.eq(la.constants.MaxUint256)?r.push(qn.AlreadyClaimed):r.push(qn.WaitBeforeNextClaimTransaction),r;if(i.price.gt(0)&&cG()){let v=i.price.mul(n),S=this.contractWrapper.getProvider();if(hf(i.currencyAddress))(await S.getBalance(s)).lt(v)&&r.push(qn.NotEnoughTokens);else{let O=(await Promise.resolve().then(()=>Ee(j1()))).default;(await new ut(S,i.currencyAddress,O,{},this.storage).read("balanceOf",[s])).lt(v)&&r.push(qn.NotEnoughTokens)}}return r}async getClaimerProofs(e,n,a){let f=(await this.get(e,a)).merkleRoot;if(la.utils.stripZeros(f).length>0){let s=await this.metadata.get(),o=await Oe(n);return await iM(o,f.toString(),s.merkle,this.contractWrapper.getProvider(),this.storage,this.getSnapshotFormatVersion())}else return null}async getSupplyClaimedByWallet(e,n){let a=await Oe(n);if(this.isNewSinglePhaseDrop(this.contractWrapper))return await this.contractWrapper.read("getSupplyClaimedByWallet",[e,a]);if(this.isNewMultiphaseDrop(this.contractWrapper)){let r=await this.contractWrapper.read("getActiveClaimConditionId",[e]);return await this.contractWrapper.read("getSupplyClaimedByWallet",[e,r,a])}throw new Error("This contract does not support the getSupplyClaimedByWallet function")}async prepareClaim(e,n,a,r){let f=await Oe(r||await this.contractWrapper.getSignerAddress());return eG(f,n,await this.getActive(e),async()=>(await this.metadata.get()).merkle,0,this.contractWrapper,this.storage,a,this.getSnapshotFormatVersion())}async getClaimArguments(e,n,a,r){let f=await Oe(n);return this.isLegacyMultiPhaseDrop(this.contractWrapper)?[f,e,a,r.currencyAddress,r.price,r.proofs,r.maxClaimable]:this.isLegacySinglePhaseDrop(this.contractWrapper)?[f,e,a,r.currencyAddress,r.price,{proof:r.proofs,maxQuantityInAllowlist:r.maxClaimable},la.utils.toUtf8Bytes("")]:[f,e,a,r.currencyAddress,r.price,{proof:r.proofs,quantityLimitPerWallet:r.maxClaimable,pricePerToken:r.priceInProof,currency:r.currencyAddressInProof},la.utils.toUtf8Bytes("")]}async getClaimTransaction(e,n,a,r){if(r?.pricePerToken)throw new Error("Price per token should be set via claim conditions by calling `contract.erc1155.claimConditions.set()`");let f=await this.prepareClaim(n,a,r?.checkERC20Allowance||!0);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:await this.getClaimArguments(n,e,a,f),overrides:f.overrides})}isNewSinglePhaseDrop(e){return k0(e,"ERC1155ClaimConditionsV2")}isNewMultiphaseDrop(e){return k0(e,"ERC1155ClaimPhasesV2")}isLegacySinglePhaseDrop(e){return k0(e,"ERC1155ClaimConditionsV1")}isLegacyMultiPhaseDrop(e){return k0(e,"ERC1155ClaimPhasesV1")}getSnapshotFormatVersion(){return this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isLegacySinglePhaseDrop(this.contractWrapper)?$8.V1:$8.V2}},dr0=fe.object({address:da,quantity:ff.default(1)}),Mnn=fe.union([fe.array(fe.string()).transform(async t=>await Promise.all(t.map(e=>dr0.parseAsync({address:e})))),fe.array(dr0)]),m6e=class{constructor(e){ae(this,"featureName",hE.name);ae(this,"to",me(async(e,n,a,r)=>await this.getClaimTransaction(e,n,a,r)));this.contractWrapper=e}async getClaimTransaction(e,n,a,r){let f={};return r&&r.pricePerToken&&(f=await oG(this.contractWrapper,r.pricePerToken,a,r.currencyAddress,r.checkERC20Allowance)),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:[await Oe(e),n,a],overrides:f})}},y6e=class{constructor(e,n){ae(this,"featureName",pM.name);ae(this,"to",me(async(e,n,a,r)=>await this.conditions.getClaimTransaction(e,n,a,r)));this.contractWrapper=e,this.storage=n;let a=new Wn(this.contractWrapper,Nl,this.storage);this.conditions=new dM(e,a,this.storage)}},lM=class{constructor(e,n,a){ae(this,"featureName",bM.name);ae(this,"mint",me(async e=>{let n=e.payload,a=e.signature,[r,f]=await Promise.all([this.mapPayloadToContractStruct(n),this.contractWrapper.getCallOverrides()]);return await s1(this.contractWrapper,r.pricePerToken.mul(r.quantity),n.currencyAddress,f),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[r,a],overrides:f,parse:i=>{let s=this.contractWrapper.parseLogs("TokensMintedWithSignature",i.logs);if(s.length===0)throw new Error("No MintWithSignature event found");return{id:s[0].args.tokenIdMinted,receipt:i}}})}));ae(this,"mintBatch",me(async e=>{let n=await Promise.all(e.map(i=>this.mapPayloadToContractStruct(i.payload))),a=e.map((i,s)=>{let o=n[s],c=i.signature,d=i.payload.price;if(la.BigNumber.from(d).gt(0))throw new Error("Can only batch free mints. For mints with a price, use regular mint()");return{message:o,signature:c}}),r=new st(this.contractWrapper),f=a.map(i=>r.encode("mintWithSignature",[i.message,i.signature]));if(wr("multicall",this.contractWrapper))return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[f],parse:i=>{let s=this.contractWrapper.parseLogs("TokensMintedWithSignature",i.logs);if(s.length===0)throw new Error("No MintWithSignature event found");return s.map(o=>({id:o.args.tokenIdMinted,receipt:i}))}});throw new Error("Multicall not supported on this contract!")}));this.contractWrapper=e,this.storage=n,this.roles=a}async verify(e){let n=e.payload,a=e.signature,r=await this.mapPayloadToContractStruct(n);return(await this.contractWrapper.read("verify",[r,a]))[0]}async generate(e){let n={...e,tokenId:la.constants.MaxUint256};return this.generateFromTokenId(n)}async generateFromTokenId(e){return(await this.generateBatchFromTokenIds([e]))[0]}async generateBatch(e){let n=e.map(a=>({...a,tokenId:la.constants.MaxUint256}));return this.generateBatchFromTokenIds(n)}async generateBatchFromTokenIds(e){let n=this.contractWrapper.getSigner();d0(n,"No signer available"),await this.roles?.verify(["minter"],await n.getAddress());let a=await Promise.all(e.map(h=>Za0.parseAsync(h))),r=a.map(h=>h.metadata),[f,i,s]=await Promise.all([Bl(r,this.storage),this.contractWrapper.getChainID(),dG(this.contractWrapper.address,this.contractWrapper.getProvider())]),o=await Promise.all(a.map((h,y)=>er0.parseAsync({...h,uri:f[y]}))),c=await Promise.all(o.map(h=>this.mapPayloadToContractStruct(h))),d=s?.type==="TokenERC1155";return(await Promise.all(c.map(h=>this.contractWrapper.signTypedData(n,{name:d?"TokenERC1155":"SignatureMintERC1155",version:"1",chainId:i,verifyingContract:this.contractWrapper.address},{MintRequest:fr0},h)))).map((h,y)=>({payload:o[y],signature:h.toString()}))}async mapPayloadToContractStruct(e){let n=await ea(this.contractWrapper.getProvider(),e.price,e.currencyAddress);return{to:e.to,tokenId:e.tokenId,uri:e.uri,quantity:e.quantity,pricePerToken:n,currency:e.currencyAddress,validityStartTimestamp:e.mintStartTime,validityEndTimestamp:e.mintEndTime,uid:e.uid,royaltyRecipient:e.royaltyRecipient,royaltyBps:e.royaltyBps,primarySaleRecipient:e.primarySaleRecipient}}},g6e=class{constructor(e){ae(this,"featureName",Xb.name);ae(this,"tokens",me(async(e,n)=>{let a=await this.contractWrapper.getSignerAddress();return this.from.prepare(a,e,n)}));ae(this,"from",me(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[await Oe(e),n,a]})));ae(this,"batch",me(async(e,n)=>{let a=await this.contractWrapper.getSignerAddress();return this.batchFrom.prepare(a,e,n)}));ae(this,"batchFrom",me(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burnBatch",args:[await Oe(e),n,a]})));this.contractWrapper=e}},v6e=class{constructor(e,n){ae(this,"featureName",em.name);this.erc1155=e,this.contractWrapper=n}async all(e){let n=la.BigNumber.from(e?.start||0).toNumber(),a=la.BigNumber.from(e?.count||Pi).toNumber(),r=Math.min((await this.totalCount()).toNumber(),n+a);return await Promise.all([...Array(r-n).keys()].map(f=>this.erc1155.get((n+f).toString())))}async totalCount(){return await this.contractWrapper.read("nextTokenIdToMint",[])}async totalCirculatingSupply(e){return await this.contractWrapper.read("totalSupply",[e])}async owned(e,n){let[a,r]=await Promise.all([Oe(e||await this.contractWrapper.getSignerAddress()),this.contractWrapper.read("nextTokenIdToMint",[])]),i=(await this.contractWrapper.read("balanceOfBatch",[Array(r.toNumber()).fill(a),Array.from(Array(r.toNumber()).keys())])).map((o,c)=>({tokenId:c,balance:o})).filter(o=>o.balance.gt(0));if(n){let o=n?.start||0,c=n?.count||Pi;i=i.slice(o,o+c)}return(await Promise.all(i.map(o=>this.erc1155.get(o.tokenId.toString())))).map((o,c)=>({...o,owner:a,quantityOwned:i[c].balance.toString()}))}},w6e=class{constructor(e,n,a){ae(this,"featureName",hM.name);ae(this,"lazyMint",me(async(e,n)=>{let a=await this.erc1155.nextTokenIdToMint(),r=await Bl(e,this.storage,a.toNumber(),n),f=r[0].substring(0,r[0].lastIndexOf("/"));for(let o=0;o{let c=this.contractWrapper.parseLogs("TokensLazyMinted",o?.logs),d=c[0].args.startTokenId,l=c[0].args.endTokenId,h=[];for(let y=d;y.lte(l);y=y.add(1))h.push({id:y,receipt:o,data:()=>this.erc1155.getTokenMetadata(y)});return h},s=await dG(this.contractWrapper.address,this.contractWrapper.getProvider());return this.isLegacyEditionDropContract(this.contractWrapper,s)?Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[r.length,`${f.endsWith("/")?f:`${f}/`}`],parse:i}):Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[r.length,`${f.endsWith("/")?f:`${f}/`}`,la.utils.toUtf8Bytes("")],parse:i})}));ae(this,"updateMetadata",me(async(e,n,a)=>{let r=await this.contractWrapper.read("getBaseURICount",[]);if(r.eq(0))throw new Error("No base URI set. Please set a base URI before updating metadata");let f=la.BigNumber.from(e),i=la.BigNumber.from(0),s=la.BigNumber.from(0),o=0;for(let v=0;vS+i.toNumber()),d=await Promise.all(c.map(v=>this.erc1155.getTokenMetadata(v))),l=[];for(let v=0;vthis.erc1155.nextTokenIdToMint())}isLegacyEditionDropContract(e,n){return n&&n.type==="DropERC1155"&&n.version<3||!1}},T6e=class{constructor(e,n,a){ae(this,"featureName",mM.name);ae(this,"to",me(async(e,n)=>{let a=n.map(c=>c.metadata),r=n.map(c=>c.supply),f=await Bl(a,this.storage),i=await Oe(e),s=new st(this.contractWrapper),o=await Promise.all(f.map(async(c,d)=>s.encode("mintTo",[i,la.constants.MaxUint256,c,r[d]])));return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[o],parse:c=>{let d=this.contractWrapper.parseLogs("TokensMinted",c.logs);if(d.length===0||d.length{let h=l.args.tokenIdMinted;return{id:h,receipt:c,data:()=>this.erc1155.get(h)}})}})}));this.erc1155=e,this.contractWrapper=n,this.storage=a}},x6e=class{constructor(e,n,a){ae(this,"featureName",Zb.name);ae(this,"to",me(async(e,n)=>{let a=await this.getMintTransaction(e,n);return a.setParse(r=>{let f=this.contractWrapper.parseLogs("TransferSingle",r?.logs);if(f.length===0)throw new Error("TransferSingleEvent event not found");let i=f[0].args.id;return{id:i,receipt:r,data:()=>this.erc1155.get(i.toString())}}),a}));ae(this,"additionalSupplyTo",me(async(e,n,a)=>{let r=await this.erc1155.getTokenMetadata(n);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:[await Oe(e),n,r.uri,a],parse:f=>({id:la.BigNumber.from(n),receipt:f,data:()=>this.erc1155.get(n)})})}));this.erc1155=e,this.contractWrapper=n,this.storage=a,this.batch=this.detectErc1155BatchMintable()}async getMintTransaction(e,n){let a=await Y8(n.metadata,this.storage);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:[await Oe(e),la.constants.MaxUint256,a,n.supply]})}detectErc1155BatchMintable(){if(k0(this.contractWrapper,"ERC1155BatchMintable"))return new T6e(this.erc1155,this.contractWrapper,this.storage)}},pE=class{constructor(e,n,a){ae(this,"featureName",bE.name);ae(this,"transfer",me((()=>{var e=this;return async function(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0],i=await e.contractWrapper.getSignerAddress();return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"safeTransferFrom",args:[i,await Oe(n),a,r,f]})}})()));ae(this,"transferBatch",me((()=>{var e=this;return async function(n,a,r,f){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[0],s=f?await Oe(f):await e.contractWrapper.getSignerAddress();return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"safeBatchTransferFrom",args:[s,await Oe(n),a,r,i]})}})()));ae(this,"transferFrom",me((()=>{var e=this;return async function(n,a,r,f){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[0];return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"safeTransferFrom",args:[await Oe(n),await Oe(a),r,f,i]})}})()));ae(this,"setApprovalForAll",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setApprovalForAll",args:[e,n]})));ae(this,"airdrop",me((()=>{var e=this;return async function(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0],i=r?await Oe(r):await e.contractWrapper.getSignerAddress(),s=await e.balanceOf(i,n),o=await Mnn.parseAsync(a),c=o.reduce((h,y)=>la.BigNumber.from(h).add(la.BigNumber.from(y?.quantity||1)),la.BigNumber.from(0));if(s.lt(la.BigNumber.from(c)))throw new Error(`The caller owns ${s.toString()} NFTs, but wants to airdrop ${c.toString()} NFTs.`);let d=new st(e.contractWrapper),l=o.map(h=>{let{address:y,quantity:v}=h;return d.encode("safeTransferFrom",[i,y,n,v,f])});return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"multicall",args:[l]})}})()));ae(this,"mint",me(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintTo",me(async(e,n)=>O0(this.mintable,Zb).to.prepare(e,n)));ae(this,"mintAdditionalSupply",me(async(e,n)=>O0(this.mintable,Zb).additionalSupplyTo.prepare(await this.contractWrapper.getSignerAddress(),e,n)));ae(this,"mintAdditionalSupplyTo",me(async(e,n,a)=>O0(this.mintable,Zb).additionalSupplyTo.prepare(e,n,a)));ae(this,"mintBatch",me(async e=>this.mintBatchTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintBatchTo",me(async(e,n)=>O0(this.mintable?.batch,mM).to.prepare(e,n)));ae(this,"burn",me(async(e,n)=>O0(this.burnable,Xb).tokens.prepare(e,n)));ae(this,"burnFrom",me(async(e,n,a)=>O0(this.burnable,Xb).from.prepare(e,n,a)));ae(this,"burnBatch",me(async(e,n)=>O0(this.burnable,Xb).batch.prepare(e,n)));ae(this,"burnBatchFrom",me(async(e,n,a)=>O0(this.burnable,Xb).batchFrom.prepare(e,n,a)));ae(this,"lazyMint",me(async(e,n)=>O0(this.lazyMintable,hM).lazyMint.prepare(e,n)));ae(this,"updateMetadata",me(async(e,n)=>{if(this.lazyMintable)return this.lazyMintable.updateMetadata.prepare(e,n);if(k0(this.contractWrapper,"ERC1155UpdatableMetadata")){let a=await this.storage.upload(n);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setTokenURI",args:[e,a]})}else throw new J1(lG)}));ae(this,"claim",me(async(e,n,a)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,n,a)));ae(this,"claimTo",me(async(e,n,a,r)=>{let f=this.claimWithConditions,i=this.claimCustom;if(f)return f.to.prepare(e,n,a,r);if(i)return i.to.prepare(e,n,a,r);throw new J1(hE)}));this.contractWrapper=e,this.storage=n,this.query=this.detectErc1155Enumerable(),this.mintable=this.detectErc1155Mintable(),this.burnable=this.detectErc1155Burnable(),this.lazyMintable=this.detectErc1155LazyMintable(),this.signatureMintable=this.detectErc1155SignatureMintable(),this.claimCustom=this.detectErc1155Claimable(),this.claimWithConditions=this.detectErc1155ClaimableWithConditions(),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){let[n,a]=await Promise.all([this.contractWrapper.read("totalSupply",[e]).catch(()=>la.BigNumber.from(0)),this.getTokenMetadata(e).catch(()=>({id:e.toString(),uri:"",...tE}))]);return{owner:la.constants.AddressZero,metadata:a,type:"ERC1155",supply:n.toString()}}async totalSupply(e){if(k0(this.contractWrapper,"ERC1155Supply"))return await this.contractWrapper.read("totalSupply",[e]);throw new J1(uG)}async balanceOf(e,n){return await this.contractWrapper.read("balanceOf",[await Oe(e),n])}async balance(e){return await this.balanceOf(await this.contractWrapper.getSignerAddress(),e)}async isApproved(e,n){return await this.contractWrapper.read("isApprovedForAll",[await Oe(e),await Oe(n)])}async nextTokenIdToMint(){if(wr("nextTokenIdToMint",this.contractWrapper))return await this.contractWrapper.read("nextTokenIdToMint",[]);throw new Error("Contract requires the `nextTokenIdToMint` function available to determine the next token ID to mint")}async getAll(e){return O0(this.query,em).all(e)}async totalCount(){return O0(this.query,em).totalCount()}async totalCirculatingSupply(e){return O0(this.query,em).totalCirculatingSupply(e)}async getOwned(e,n){return e&&(e=await Oe(e)),O0(this.query,em).owned(e,n)}async getMintTransaction(e,n){return O0(this.mintable,Zb).getMintTransaction(e,n)}async getClaimTransaction(e,n,a,r){let f=this.claimWithConditions,i=this.claimCustom;if(f)return f.conditions.getClaimTransaction(e,n,a,r);if(i)return i.getClaimTransaction(e,n,a,r);throw new J1(hE)}get claimConditions(){return O0(this.claimWithConditions,pM).conditions}get signature(){return O0(this.signatureMintable,bM)}get revealer(){return O0(this.lazyMintable?.revealer,b9)}async getTokenMetadata(e){let n=await this.contractWrapper.read("uri",[e]);if(!n)throw new m9;return aM(e,n,this.storage)}detectErc1155Enumerable(){if(k0(this.contractWrapper,"ERC1155Enumerable"))return new v6e(this,this.contractWrapper)}detectErc1155Mintable(){if(k0(this.contractWrapper,"ERC1155Mintable"))return new x6e(this,this.contractWrapper,this.storage)}detectErc1155Burnable(){if(k0(this.contractWrapper,"ERC1155Burnable"))return new g6e(this.contractWrapper)}detectErc1155LazyMintable(){if(k0(this.contractWrapper,"ERC1155LazyMintableV1")||k0(this.contractWrapper,"ERC1155LazyMintableV2"))return new w6e(this,this.contractWrapper,this.storage)}detectErc1155SignatureMintable(){if(k0(this.contractWrapper,"ERC1155SignatureMintable"))return new lM(this.contractWrapper,this.storage)}detectErc1155Claimable(){if(k0(this.contractWrapper,"ERC1155ClaimCustom"))return new m6e(this.contractWrapper)}detectErc1155ClaimableWithConditions(){if(k0(this.contractWrapper,"ERC1155ClaimConditionsV1")||k0(this.contractWrapper,"ERC1155ClaimConditionsV2")||k0(this.contractWrapper,"ERC1155ClaimPhasesV1")||k0(this.contractWrapper,"ERC1155ClaimPhasesV2"))return new y6e(this.contractWrapper,this.storage)}}});var tm,pG=ce(()=>{"use strict";u();p();Da();uM();tm=class{constructor(e,n,a){ae(this,"transfer",me((()=>{var e=this;return async function(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0];return e.erc1155.transfer.prepare(n,a,r,f)}})()));ae(this,"transferBatch",me((()=>{var e=this;return async function(n,a,r,f){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[0];return e.erc1155.transferBatch.prepare(n,a,r,f,i)}})()));ae(this,"setApprovalForAll",me(async(e,n)=>this.erc1155.setApprovalForAll.prepare(e,n)));ae(this,"airdrop",me((()=>{var e=this;return async function(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0];return e.erc1155.airdrop.prepare(n,a,r,f)}})()));this.contractWrapper=e,this.storage=n,this.erc1155=new pE(this.contractWrapper,this.storage,a),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){return this.erc1155.get(e)}async totalSupply(e){return this.erc1155.totalSupply(e)}async balanceOf(e,n){return this.erc1155.balanceOf(e,n)}async balance(e){return this.erc1155.balance(e)}async isApproved(e,n){return this.erc1155.isApproved(e,n)}}});function Pnn(t){return d0(t in ur0,`chainId not supported by paper: ${t}`),ur0[t]}async function Lnn(t,e){let n=Pnn(e),r=await(await fetch(`${pr0}/register-contract?contractAddress=${t}&chain=${n}`)).json();return d0(r.result.id,"Contract is not registered with paper"),r.result.id}async function Nnn(t,e){let a=await(await fetch(`${pr0}/checkout-link-intent`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({contractId:t,...Fnn,...e,metadata:{...e.metadata,via_platform:"thirdweb"},hideNativeMint:!0,hidePaperWallet:!!e.walletAddress,hideExternalWallet:!0,hidePayWithCrypto:!0,usePaperKey:!1})})).json();return d0(a.checkoutLinkIntentUrl,"Failed to create checkout link intent"),a.checkoutLinkIntentUrl}var Bnn,Dnn,pr0,ur0,Fnn,nm,hG=ce(()=>{"use strict";u();p();ln();ir();Bnn="https://paper.xyz/api",Dnn="2022-08-12",pr0=`${Bnn}/${Dnn}/platform/thirdweb`,ur0={[E0.Mainnet]:"Ethereum",[E0.Goerli]:"Goerli",[E0.Polygon]:"Polygon",[E0.Mumbai]:"Mumbai",[E0.Avalanche]:"Avalanche"};Fnn={expiresInMinutes:15,feeBearer:"BUYER",sendEmailOnSuccess:!0,redirectAfterPayment:!1};nm=class{constructor(e){this.contractWrapper=e}async getCheckoutId(){return Lnn(this.contractWrapper.address,await this.contractWrapper.getChainID())}async isEnabled(){try{return!!await this.getCheckoutId()}catch{return!1}}async createLinkIntent(e){return await Nnn(await this.getCheckoutId(),e)}}});var hr0={};V0(hr0,{EditionDrop:()=>_6e});var mG,uwa,pwa,bwa,E6e,bG,_6e,br0=ce(()=>{"use strict";u();p();mG=Ee(Xe());ln();Da();Rf();or();X1();Ll();Fl();Gc();J8();uM();pG();hG();ir();uwa=Ee(Va()),pwa=Ee(ro());W0();bwa=Ee(Kc()),E6e=class{constructor(e){this.events=e}async getAllClaimerAddresses(e){let n=(await this.events.getEvents("TokensClaimed")).filter(a=>a.data&&mG.BigNumber.isBigNumber(a.data.tokenId)?a.data.tokenId.eq(e):!1);return Array.from(new Set(n.filter(a=>typeof a.data?.claimer=="string").map(a=>a.data.claimer)))}},bG=class bG extends tm{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"createBatch",me(async(n,a)=>this.erc1155.lazyMint.prepare(n,a)));ae(this,"claimTo",me((()=>{var n=this;return async function(a,r,f){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;return n.erc1155.claimTo.prepare(a,r,f,{checkERC20Allowance:i})}})()));ae(this,"claim",me((()=>{var n=this;return async function(a,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,i=await n.contractWrapper.getSignerAddress();return n.claimTo.prepare(i,a,r,f)}})()));ae(this,"burnTokens",me(async(n,a)=>this.erc1155.burn.prepare(n,a)));this.abi=bt.parse(i),this.metadata=new Wn(this.contractWrapper,yG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,bG.contractRoles),this.royalties=new Is(this.contractWrapper,this.metadata),this.sales=new Ss(this.contractWrapper),this.claimConditions=new dM(this.contractWrapper,this.metadata,this.storage),this.events=new Rn(this.contractWrapper),this.history=new E6e(this.events),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.checkout=new nm(this.contractWrapper),this.owner=new ks(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async getAll(n){return this.erc1155.getAll(n)}async getOwned(n,a){return this.erc1155.getOwned(n,a)}async getTotalCount(){return this.erc1155.totalCount()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),mG.constants.AddressZero])}async getClaimTransaction(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;return this.erc1155.getClaimTransaction(n,a,r,{checkERC20Allowance:f})}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(bG,"contractRoles",Rs);_6e=bG});var mr0=D((vwa,Onn)=>{Onn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"batchFrozen",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"freezeBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getActiveClaimConditionId",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"supplyClaimedByWallet",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"saleRecipient",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditions",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setSaleRecipientForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"updateBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SaleRecipientForTokenUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"saleRecipient",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"BatchMintInvalidBatchId",inputs:[{name:"index",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintInvalidTokenId",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintMetadataFrozen",inputs:[{name:"batchId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"LazyMintInvalidAmount",inputs:[]},{type:"error",name:"LazyMintUnauthorized",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]}]});var yr0=D((wwa,Unn)=>{Unn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"getActiveClaimConditionId",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IDropClaimCondition_V2.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimTimestamp",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxWalletClaimCount",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"saleRecipient",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxWalletClaimCount",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setSaleRecipientForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setWalletClaimCount",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"_tokenURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"walletClaimCount",inputs:[{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SaleRecipientForTokenUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"saleRecipient",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!1,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});var vr0={};V0(vr0,{Edition:()=>A6e});var gr0,Dwa,Pwa,Fwa,gG,A6e,wr0=ce(()=>{"use strict";u();p();gr0=Ee(Xe());ln();Da();Rf();or();X1();Ll();Fl();Gc();J8();uM();pG();ir();Dwa=Ee(Va()),Pwa=Ee(ro());W0();Fwa=Ee(Kc()),gG=class gG extends tm{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"mint",me(async n=>this.erc1155.mint.prepare(n)));ae(this,"mintTo",me(async(n,a)=>this.erc1155.mintTo.prepare(n,a)));ae(this,"mintAdditionalSupply",me(async(n,a)=>this.erc1155.mintAdditionalSupply.prepare(n,a)));ae(this,"mintAdditionalSupplyTo",me(async(n,a,r)=>this.erc1155.mintAdditionalSupplyTo.prepare(n,a,r)));ae(this,"mintBatch",me(async n=>this.erc1155.mintBatch.prepare(n)));ae(this,"mintBatchTo",me(async(n,a)=>this.erc1155.mintBatchTo.prepare(n,a)));ae(this,"burn",me(async(n,a)=>this.erc1155.burn.prepare(n,a)));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,vG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,gG.contractRoles),this.royalties=new Is(this.contractWrapper,this.metadata),this.sales=new Ss(this.contractWrapper),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.signature=new lM(this.contractWrapper,this.storage,this.roles),this.owner=new ks(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async getAll(n){return this.erc1155.getAll(n)}async getOwned(n,a){return this.erc1155.getOwned(n,a)}async getTotalCount(){return this.erc1155.totalCount()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),gr0.constants.AddressZero])}async getMintTransaction(n,a){return this.erc1155.getMintTransaction(n,a)}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(gG,"contractRoles",Rs);A6e=gG});var Tr0=D((Hwa,Hnn)=>{Hnn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"freezeMetadata",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_primarySaleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"mintTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"},{name:"_amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"platformFeeRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"saleRecipientForToken",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setTokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"uriFrozen",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ITokenERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataFrozen",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataInvalidUrl",inputs:[]},{type:"error",name:"NFTMetadataUnauthorized",inputs:[]}]});async function hu(t,e,n,a,r){try{let f=(await Promise.resolve().then(()=>Ee(eE()))).default,i=new Z8.Contract(n,f,t),[s,o]=await Promise.all([i.supportsInterface(Qb),i.supportsInterface(Vb)]);if(s){let c=(await Promise.resolve().then(()=>Ee(lx()))).default,d=new Z8.Contract(n,c,t);if(await d.isApprovedForAll(r,e))return!0;let h;try{h=await d.getApproved(a)}catch{}return h?.toLowerCase()===e.toLowerCase()}else if(o){let c=(await Promise.resolve().then(()=>Ee(ux()))).default;return await new Z8.Contract(n,c,t).isApprovedForAll(r,e)}else return console.error("Contract does not implement ERC 1155 or ERC 721."),!1}catch(f){return console.error("Failed to check if token is approved",f),!1}}async function am(t,e,n,a,r){let f=(await Promise.resolve().then(()=>Ee(eE()))).default,i=new ut(t.getSignerOrProvider(),n,f,t.options,t.storage),[s,o]=await Promise.all([i.read("supportsInterface",[Qb]),i.read("supportsInterface",[Vb])]);if(s){let c=(await Promise.resolve().then(()=>Ee(lx()))).default,d=new ut(t.getSignerOrProvider(),n,c,t.options,t.storage);await d.read("isApprovedForAll",[r,e])||(await d.read("getApproved",[a])).toLowerCase()===e.toLowerCase()||await d.sendTransaction("setApprovalForAll",[e,!0])}else if(o){let c=(await Promise.resolve().then(()=>Ee(ux()))).default,d=new ut(t.getSignerOrProvider(),n,c,t.options,t.storage);await d.read("isApprovedForAll",[r,e])||await d.sendTransaction("setApprovalForAll",[e,!0])}else throw Error("Contract must implement ERC 1155 or ERC 721.")}function C6e(t){switch(d0(t.assetContractAddress!==void 0&&t.assetContractAddress!==null,"Asset contract address is required"),d0(t.buyoutPricePerToken!==void 0&&t.buyoutPricePerToken!==null,"Buyout price is required"),d0(t.listingDurationInSeconds!==void 0&&t.listingDurationInSeconds!==null,"Listing duration is required"),d0(t.startTimestamp!==void 0&&t.startTimestamp!==null,"Start time is required"),d0(t.tokenId!==void 0&&t.tokenId!==null,"Token ID is required"),d0(t.quantity!==void 0&&t.quantity!==null,"Quantity is required"),t.type){case"NewAuctionListing":d0(t.reservePricePerToken!==void 0&&t.reservePricePerToken!==null,"Reserve price is required")}}async function wG(t,e,n){return{quantity:n.quantityDesired,pricePerToken:n.pricePerToken,currencyContractAddress:n.currency,buyerAddress:n.offeror,quantityDesired:n.quantityWanted,currencyValue:await Ja(t,n.currency,n.quantityWanted.mul(n.pricePerToken)),listingId:e}}function xr0(t,e,n){return n=Z8.BigNumber.from(n),t=Z8.BigNumber.from(t),e=Z8.BigNumber.from(e),t.eq(Z8.BigNumber.from(0))?!1:e.sub(t).mul(I6e).div(t).gte(n)}async function y9(t,e,n){let a=[];for(;e-t>Pi;)a.push(n(t,t+Pi-1)),t+=Pi;return a.push(n(t,e-1)),await Promise.all(a)}var Z8,yM=ce(()=>{"use strict";u();p();Z8=Ee(Xe());ir();Dl();ln();or()});function g9(t){return hf(t)?bf:t}var k6e=ce(()=>{"use strict";u();p();ln();or()});var o1,Er0=ce(()=>{"use strict";u();p();o1=function(t){return t[t.Direct=0]="Direct",t[t.Auction=1]="Auction",t}({})});var _r0={};V0(_r0,{Marketplace:()=>M6e});var ot,mTa,yTa,S6e,R6e,TG,M6e,Ar0=ce(()=>{"use strict";u();p();ot=Ee(Xe());ir();Dl();or();ln();yM();Da();Rf();X1();Fl();Gc();k6e();rd();lu();Er0();mTa=Ee(Va()),yTa=Ee(ro());W0();S6e=class{constructor(e,n){ae(this,"createListing",me(async e=>{C6e(e);let n=await Oe(e.assetContractAddress),a=await Oe(e.currencyContractAddress);await am(this.contractWrapper,this.getAddress(),n,e.tokenId,await this.contractWrapper.getSignerAddress());let r=await ea(this.contractWrapper.getProvider(),e.buyoutPricePerToken,a),f=await ea(this.contractWrapper.getProvider(),e.reservePricePerToken,a),i=Math.floor(e.startTimestamp.getTime()/1e3),o=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;i({id:this.contractWrapper.parseLogs("ListingAdded",d?.logs)[0].args.listingId,receipt:d})});return c.setGasLimitMultiple(1.2),c}));ae(this,"createListingsBatch",me(async e=>{let n=(await Promise.all(e.map(r=>this.createListing.prepare(r)))).map(r=>r.encode()),a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n],parse:r=>this.contractWrapper.parseLogs("ListingAdded",r?.logs).map(i=>({id:i.args.listingId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));ae(this,"buyoutListing",me(async e=>{let n=await this.validateListing(ot.BigNumber.from(e)),a=await Di(this.contractWrapper.getProvider(),n.currencyContractAddress);return this.makeBid.prepare(e,ot.utils.formatUnits(n.buyoutPrice,a.decimals))}));ae(this,"makeBid",me(async(e,n)=>{let a=await this.validateListing(ot.BigNumber.from(e)),r=await ea(this.contractWrapper.getProvider(),n,a.currencyContractAddress);if(r.eq(ot.BigNumber.from(0)))throw new Error("Cannot make a bid with 0 value");let f=await this.contractWrapper.read("bidBufferBps",[]),i=await this.getWinningBid(e);if(i){let l=xr0(i.pricePerToken,r,f);d0(l,"Bid price is too low based on the current winning bid and the bid buffer")}else{let l=r,h=ot.BigNumber.from(a.reservePrice);d0(l.gte(h),"Bid price is too low based on reserve price")}let s=ot.BigNumber.from(a.quantity),o=r.mul(s),c=await this.contractWrapper.getCallOverrides()||{};await s1(this.contractWrapper,o,a.currencyContractAddress,c);let d=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"offer",args:[e,a.quantity,a.currencyContractAddress,r,ot.constants.MaxUint256],overrides:c});return d.setGasLimitMultiple(1.2),d}));ae(this,"cancelListing",me(async e=>{let n=await this.validateListing(ot.BigNumber.from(e)),a=ot.BigNumber.from(Math.floor(Date.now()/1e3)),r=ot.BigNumber.from(n.startTimeInEpochSeconds),f=await this.contractWrapper.read("winningBid",[e]);if(a.gt(r)&&f.offeror!==ot.constants.AddressZero)throw new gM(e.toString());let i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"closeAuction",args:[ot.BigNumber.from(e),await this.contractWrapper.getSignerAddress()]});return i.setGasLimitMultiple(1.2),i}));ae(this,"closeListing",me(async(e,n)=>{n||(n=await this.contractWrapper.getSignerAddress());let a=await this.validateListing(ot.BigNumber.from(e));try{let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"closeAuction",args:[ot.BigNumber.from(e),n]});return r.setGasLimitMultiple(1.2),r}catch(r){throw r.message.includes("cannot close auction before it has ended")?new mu(e.toString(),a.endTimeInEpochSeconds.toString()):r}}));ae(this,"executeSale",me(async e=>{let n=await this.validateListing(ot.BigNumber.from(e));try{let a=await this.getWinningBid(e);d0(a,"No winning bid found");let r=this.encoder.encode("closeAuction",[e,n.sellerAddress]),f=this.encoder.encode("closeAuction",[e,a.buyerAddress]),i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[r,f]});return i.setGasLimitMultiple(1.2),i}catch(a){throw a.message.includes("cannot close auction before it has ended")?new mu(e.toString(),n.endTimeInEpochSeconds.toString()):a}}));ae(this,"updateListing",me(async e=>{let n=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"updateListing",args:[e.id,e.quantity,e.reservePrice,e.buyoutPrice,e.currencyContractAddress,e.startTimeInEpochSeconds,e.endTimeInEpochSeconds]});return n.setGasLimitMultiple(1.2),n}));this.contractWrapper=e,this.storage=n,this.encoder=new st(e)}getAddress(){return this.contractWrapper.address}async getListing(e){let n=await this.contractWrapper.read("listings",[e]);if(n.listingId.toString()!==e.toString())throw new bu(this.getAddress(),e.toString());if(n.listingType!==o1.Auction)throw new mE(this.getAddress(),e.toString(),"Direct","Auction");return await this.mapListing(n)}async getWinningBid(e){await this.validateListing(ot.BigNumber.from(e));let n=await this.contractWrapper.read("winningBid",[e]);if(n.offeror!==ot.constants.AddressZero)return await wG(this.contractWrapper.getProvider(),ot.BigNumber.from(e),n)}async getWinner(e){let n=await this.validateListing(ot.BigNumber.from(e)),a=await this.contractWrapper.read("winningBid",[e]),r=ot.BigNumber.from(Math.floor(Date.now()/1e3)),f=ot.BigNumber.from(n.endTimeInEpochSeconds);if(r.gt(f)&&a.offeror!==ot.constants.AddressZero)return a.offeror;let o=(await new Rn(this.contractWrapper).getEvents("AuctionClosed")).find(c=>c.data.listingId.eq(ot.BigNumber.from(e)));if(!o)throw new Error(`Could not find auction with listingId ${e} in closed auctions`);return o.data.winningBidder}async getBidBufferBps(){return this.contractWrapper.read("bidBufferBps",[])}async getMinimumNextBid(e){let[n,a,r]=await Promise.all([this.getBidBufferBps(),this.getWinningBid(e),this.validateListing(ot.BigNumber.from(e))]),f=a?a.currencyValue.value:r.reservePrice,i=f.add(f.mul(n).div(1e4));return Ja(this.contractWrapper.getProvider(),r.currencyContractAddress,i)}async validateListing(e){try{return await this.getListing(e)}catch(n){throw console.error(`Error getting the listing with id ${e}`),n}}async mapListing(e){return{assetContractAddress:e.assetContract,buyoutPrice:ot.BigNumber.from(e.buyoutPricePerToken),currencyContractAddress:e.currency,buyoutCurrencyValuePerToken:await Ja(this.contractWrapper.getProvider(),e.currency,e.buyoutPricePerToken),id:e.listingId.toString(),tokenId:e.tokenId,quantity:e.quantity,startTimeInEpochSeconds:e.startTime,asset:await V8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),reservePriceCurrencyValuePerToken:await Ja(this.contractWrapper.getProvider(),e.currency,e.reservePricePerToken),reservePrice:ot.BigNumber.from(e.reservePricePerToken),endTimeInEpochSeconds:e.endTime,sellerAddress:e.tokenOwner,type:o1.Auction}}},R6e=class{constructor(e,n){ae(this,"createListing",me(async e=>{C6e(e);let n=await Oe(e.assetContractAddress),a=await Oe(e.currencyContractAddress);await am(this.contractWrapper,this.getAddress(),n,e.tokenId,await this.contractWrapper.getSignerAddress());let r=await ea(this.contractWrapper.getProvider(),e.buyoutPricePerToken,a),f=Math.floor(e.startTimestamp.getTime()/1e3),s=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;f({id:this.contractWrapper.parseLogs("ListingAdded",c?.logs)[0].args.listingId,receipt:c})});return o.setGasLimitMultiple(1.2),o}));ae(this,"createListingsBatch",me(async e=>{let n=(await Promise.all(e.map(r=>this.createListing.prepare(r)))).map(r=>r.encode()),a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n],parse:r=>this.contractWrapper.parseLogs("ListingAdded",r?.logs).map(i=>({id:i.args.listingId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));ae(this,"makeOffer",me(async(e,n,a,r,f)=>{if(hf(a))throw new Error("You must use the wrapped native token address when making an offer with a native token");let i=await ea(this.contractWrapper.getProvider(),r,a);try{await this.getListing(e)}catch(h){throw console.error("Failed to get listing, err =",h),new Error(`Error getting the listing with id ${e}`)}let s=ot.BigNumber.from(n),o=ot.BigNumber.from(i).mul(s),c=await this.contractWrapper.getCallOverrides()||{};await s1(this.contractWrapper,o,a,c);let d=ot.constants.MaxUint256;f&&(d=ot.BigNumber.from(Math.floor(f.getTime()/1e3)));let l=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"offer",args:[e,n,a,i,d],overrides:c});return l.setGasLimitMultiple(1.2),l}));ae(this,"acceptOffer",me(async(e,n)=>{await this.validateListing(ot.BigNumber.from(e));let a=await Oe(n),r=await this.contractWrapper.read("offers",[e,a]),f=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"acceptOffer",args:[e,a,r.currency,r.pricePerToken]});return f.setGasLimitMultiple(1.2),f}));ae(this,"buyoutListing",me(async(e,n,a)=>{let r=await this.validateListing(ot.BigNumber.from(e)),{valid:f,error:i}=await this.isStillValidListing(r,n);if(!f)throw new Error(`Listing ${e} is no longer valid. ${i}`);let s=a||await this.contractWrapper.getSignerAddress(),o=ot.BigNumber.from(n),c=ot.BigNumber.from(r.buyoutPrice).mul(o),d=await this.contractWrapper.getCallOverrides()||{};await s1(this.contractWrapper,c,r.currencyContractAddress,d);let l=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"buy",args:[e,s,o,r.currencyContractAddress,c],overrides:d});return l.setGasLimitMultiple(1.2),l}));ae(this,"updateListing",me(async e=>{let n=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"updateListing",args:[e.id,e.quantity,e.buyoutPrice,e.buyoutPrice,await Oe(e.currencyContractAddress),e.startTimeInSeconds,e.secondsUntilEnd]});return n.setGasLimitMultiple(1.2),n}));ae(this,"cancelListing",me(async e=>{let n=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelDirectListing",args:[e]});return n.setGasLimitMultiple(1.2),n}));this.contractWrapper=e,this.storage=n}getAddress(){return this.contractWrapper.address}async getListing(e){let n=await this.contractWrapper.read("listings",[e]);if(n.assetContract===ot.constants.AddressZero)throw new bu(this.getAddress(),e.toString());if(n.listingType!==o1.Direct)throw new mE(this.getAddress(),e.toString(),"Auction","Direct");return await this.mapListing(n)}async getActiveOffer(e,n){await this.validateListing(ot.BigNumber.from(e)),d0(ot.utils.isAddress(n),"Address must be a valid address");let a=await this.contractWrapper.read("offers",[e,await Oe(n)]);if(a.offeror!==ot.constants.AddressZero)return await wG(this.contractWrapper.getProvider(),ot.BigNumber.from(e),a)}async validateListing(e){try{return await this.getListing(e)}catch(n){throw console.error(`Error getting the listing with id ${e}`),n}}async mapListing(e){return{assetContractAddress:e.assetContract,buyoutPrice:ot.BigNumber.from(e.buyoutPricePerToken),currencyContractAddress:e.currency,buyoutCurrencyValuePerToken:await Ja(this.contractWrapper.getProvider(),e.currency,e.buyoutPricePerToken),id:e.listingId.toString(),tokenId:e.tokenId,quantity:e.quantity,startTimeInSeconds:e.startTime,asset:await V8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),secondsUntilEnd:e.endTime,sellerAddress:e.tokenOwner,type:o1.Direct}}async isStillValidListing(e,n){if(!await hu(this.contractWrapper.getProvider(),this.getAddress(),e.assetContractAddress,e.tokenId,e.sellerAddress))return{valid:!1,error:`Token '${e.tokenId}' from contract '${e.assetContractAddress}' is not approved for transfer`};let r=this.contractWrapper.getProvider(),f=(await Promise.resolve().then(()=>Ee(eE()))).default,i=new ot.Contract(e.assetContractAddress,f,r),s=await i.supportsInterface(Qb),o=await i.supportsInterface(Vb);if(s){let c=(await Promise.resolve().then(()=>Ee(lx()))).default,d=new ot.Contract(e.assetContractAddress,c,r),l;try{l=await d.ownerOf(e.tokenId)}catch{}let h=l?.toLowerCase()===e.sellerAddress.toLowerCase();return{valid:h,error:h?void 0:`Seller is not the owner of Token '${e.tokenId}' from contract '${e.assetContractAddress} anymore'`}}else if(o){let c=(await Promise.resolve().then(()=>Ee(ux()))).default,h=(await new ot.Contract(e.assetContractAddress,c,r).balanceOf(e.sellerAddress,e.tokenId)).gte(n||e.quantity);return{valid:h,error:h?void 0:`Seller does not have enough balance of Token '${e.tokenId}' from contract '${e.assetContractAddress} to fulfill the listing`}}else return{valid:!1,error:"Contract does not implement ERC 1155 or ERC 721."}}},TG=class TG{constructor(e,n,a){ae(this,"getAll",this.getAllListings);ae(this,"buyoutListing",me(async(e,n,a)=>{let r=await this.contractWrapper.read("listings",[e]);if(r.listingId.toString()!==e.toString())throw new bu(this.getAddress(),e.toString());switch(r.listingType){case o1.Direct:return d0(n!==void 0,"quantityDesired is required when buying out a direct listing"),await this.direct.buyoutListing.prepare(e,n,a);case o1.Auction:return await this.auction.buyoutListing.prepare(e);default:throw Error(`Unknown listing type: ${r.listingType}`)}}));ae(this,"makeOffer",me(async(e,n,a)=>{let r=await this.contractWrapper.read("listings",[e]);if(r.listingId.toString()!==e.toString())throw new bu(this.getAddress(),e.toString());let f=await this.contractWrapper.getChainID();switch(r.listingType){case o1.Direct:return d0(a,"quantity is required when making an offer on a direct listing"),await this.direct.makeOffer.prepare(e,a,hf(r.currency)?rm[f].wrapped.address:r.currency,n);case o1.Auction:return await this.auction.makeBid.prepare(e,n);default:throw Error(`Unknown listing type: ${r.listingType}`)}}));ae(this,"setBidBufferBps",me(async e=>{await this.roles.verify(["admin"],await this.contractWrapper.getSignerAddress());let n=await this.getTimeBufferInSeconds();return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setAuctionBuffers",args:[n,ot.BigNumber.from(e)]})}));ae(this,"setTimeBufferInSeconds",me(async e=>{await this.roles.verify(["admin"],await this.contractWrapper.getSignerAddress());let n=await this.getBidBufferBps();return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setAuctionBuffers",args:[ot.BigNumber.from(e),n]})}));ae(this,"allowListingFromSpecificAssetOnly",me(async e=>{let n=[];return(await this.roles.get("asset")).includes(ot.constants.AddressZero)&&n.push(this.encoder.encode("revokeRole",[cr("asset"),ot.constants.AddressZero])),n.push(this.encoder.encode("grantRole",[cr("asset"),e])),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n]})}));ae(this,"allowListingFromAnyAsset",me(async()=>{let e=[],n=await this.roles.get("asset");for(let a in n)e.push(this.encoder.encode("revokeRole",[cr("asset"),a]));return e.push(this.encoder.encode("grantRole",[cr("asset"),ot.constants.AddressZero])),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[e]})}));let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(e,n,f,r,a);this._chainId=i,this.abi=bt.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,v9,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,TG.contractRoles),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.direct=new R6e(this.contractWrapper,this.storage),this.auction=new S6e(this.contractWrapper,this.storage),this.events=new Rn(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper)}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async getListing(e){let n=await this.contractWrapper.read("listings",[e]);if(n.assetContract===ot.constants.AddressZero)throw new bu(this.getAddress(),e.toString());switch(n.listingType){case o1.Auction:return await this.auction.mapListing(n);case o1.Direct:return await this.direct.mapListing(n);default:throw new Error(`Unknown listing type: ${n.listingType}`)}}async getActiveListings(e){let n=await this.getAllListingsNoFilter(!0),a=this.applyFilter(n,e),r=ot.BigNumber.from(Math.floor(Date.now()/1e3));return a.filter(f=>f.type===o1.Auction&&ot.BigNumber.from(f.endTimeInEpochSeconds).gt(r)&&ot.BigNumber.from(f.startTimeInEpochSeconds).lte(r)||f.type===o1.Direct&&ot.BigNumber.from(f.quantity).gt(0))}async getAllListings(e){let n=await this.getAllListingsNoFilter(!1);return this.applyFilter(n,e)}async getTotalCount(){return await this.contractWrapper.read("totalListings",[])}async isRestrictedToListerRoleOnly(){return!await this.contractWrapper.read("hasRole",[cr("lister"),ot.constants.AddressZero])}async getBidBufferBps(){return this.contractWrapper.read("bidBufferBps",[])}async getTimeBufferInSeconds(){return this.contractWrapper.read("timeBuffer",[])}async getOffers(e){let n=await this.events.getEvents("NewOffer",{order:"desc",filters:{listingId:e}});return await Promise.all(n.map(a=>wG(this.contractWrapper.getProvider(),ot.BigNumber.from(e),{quantityWanted:a.data.quantityWanted,pricePerToken:a.data.quantityWanted.gt(0)?a.data.totalOfferAmount.div(a.data.quantityWanted):a.data.totalOfferAmount,currency:a.data.currency,offeror:a.data.offeror})))}async getAllListingsNoFilter(e){return(await Promise.all(Array.from(Array((await this.contractWrapper.read("totalListings",[])).toNumber()).keys()).map(async a=>{let r;try{r=await this.getListing(a)}catch(f){if(f instanceof bu)return;console.warn(`Failed to get listing ${a}' - skipping. Try 'marketplace.getListing(${a})' to get the underlying error.`);return}if(r.type===o1.Auction)return r;if(e){let{valid:f}=await this.direct.isStillValidListing(r);if(!f)return}return r}))).filter(a=>a!==void 0)}applyFilter(e,n){let a=[...e],r=ot.BigNumber.from(n?.start||0).toNumber(),f=ot.BigNumber.from(n?.count||Pi).toNumber();return n&&(n.seller&&(a=a.filter(i=>i.sellerAddress.toString().toLowerCase()===n?.seller?.toString().toLowerCase())),n.tokenContract&&(a=a.filter(i=>i.assetContractAddress.toString().toLowerCase()===n?.tokenContract?.toString().toLowerCase())),n.tokenId!==void 0&&(a=a.filter(i=>i.tokenId.toString()===n?.tokenId?.toString())),a=a.filter((i,s)=>s>=r),a=a.slice(0,f)),a}async prepare(e,n,a){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:n,overrides:a})}async call(e,n,a){return this.contractWrapper.call(e,n,a)}};ae(TG,"contractRoles",yE);M6e=TG});var Cr0=D((xTa,znn)=>{znn.exports=[{type:"constructor",inputs:[{name:"_nativeTokenWrapper",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"MAX_BPS",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"acceptOffer",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_offeror",type:"address",internalType:"address"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bidBufferBps",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"buy",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_buyFor",type:"address",internalType:"address"},{name:"_quantityToBuy",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_totalPrice",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"cancelDirectListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"closeAuction",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_closeFor",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"createListing",inputs:[{name:"_params",type:"tuple",internalType:"struct IMarketplace.ListingParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"startTime",type:"uint256",internalType:"uint256"},{name:"secondsUntilEndTime",type:"uint256",internalType:"uint256"},{name:"quantityToList",type:"uint256",internalType:"uint256"},{name:"currencyToAccept",type:"address",internalType:"address"},{name:"reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"listingType",type:"uint8",internalType:"enum IMarketplace.ListingType"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"listings",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"tokenType",type:"uint8",internalType:"enum IMarketplace.TokenType"},{name:"listingType",type:"uint8",internalType:"enum IMarketplace.ListingType"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"offer",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_quantityWanted",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_expirationTimestamp",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"offers",inputs:[{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"quantityWanted",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"pure"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setAuctionBuffers",inputs:[{name:"_timeBuffer",type:"uint256",internalType:"uint256"},{name:"_bidBufferBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"timeBuffer",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"totalListings",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"updateListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_quantityToList",type:"uint256",internalType:"uint256"},{name:"_reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"_buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"_currencyToAccept",type:"address",internalType:"address"},{name:"_startTime",type:"uint256",internalType:"uint256"},{name:"_secondsUntilEndTime",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"winningBid",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"quantityWanted",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"AuctionBuffersUpdated",inputs:[{name:"timeBuffer",type:"uint256",indexed:!1,internalType:"uint256"},{name:"bidBufferBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"AuctionClosed",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"closer",type:"address",indexed:!0,internalType:"address"},{name:"cancelled",type:"bool",indexed:!0,internalType:"bool"},{name:"auctionCreator",type:"address",indexed:!1,internalType:"address"},{name:"winningBidder",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"ListingAdded",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"lister",type:"address",indexed:!0,internalType:"address"},{name:"listing",type:"tuple",indexed:!1,internalType:"struct IMarketplace.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"tokenType",type:"uint8",internalType:"enum IMarketplace.TokenType"},{name:"listingType",type:"uint8",internalType:"enum IMarketplace.ListingType"}]}],anonymous:!1},{type:"event",name:"ListingRemoved",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"listingCreator",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"ListingUpdated",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"listingCreator",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"NewOffer",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"listingType",type:"uint8",indexed:!0,internalType:"enum IMarketplace.ListingType"},{name:"quantityWanted",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalOfferAmount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"currency",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"NewSale",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"lister",type:"address",indexed:!0,internalType:"address"},{name:"buyer",type:"address",indexed:!1,internalType:"address"},{name:"quantityBought",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalPricePaid",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibMismatchedValue",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]}]});var pt,Ir0,co,gE,Wnn,vE,qnn,wE,B6e=ce(()=>{"use strict";u();p();pt=Ee(Xe());ir();k6e();or();rd();lu();ln();yM();Dl();Da();Pl();Yd();Rf();X1();Ir0=fe.object({assetContractAddress:da,tokenId:Xa,quantity:Xa.default(1),currencyContractAddress:da.default(bf),pricePerToken:ff,startTimestamp:u9.default(new Date),endTimestamp:$b,isReservedListing:fe.boolean().default(!1)}),co=function(t){return t[t.UNSET=0]="UNSET",t[t.Created=1]="Created",t[t.Completed=2]="Completed",t[t.Cancelled=3]="Cancelled",t[t.Active=4]="Active",t[t.Expired=5]="Expired",t}({}),gE=class{constructor(e,n){ae(this,"featureName",fm.name);ae(this,"createListing",me(async e=>{let n=await Ir0.parseAsync(e);await am(this.contractWrapper,this.getAddress(),n.assetContractAddress,n.tokenId,await this.contractWrapper.getSignerAddress());let a=await ea(this.contractWrapper.getProvider(),n.pricePerToken,n.currencyContractAddress),f=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;n.startTimestamp.lt(f)&&(n.startTimestamp=pt.BigNumber.from(f));let i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createListing",args:[{assetContract:n.assetContractAddress,tokenId:n.tokenId,quantity:n.quantity,currency:g9(n.currencyContractAddress),pricePerToken:a,startTimestamp:n.startTimestamp,endTimestamp:n.endTimestamp,reserved:n.isReservedListing}],parse:s=>({id:this.contractWrapper.parseLogs("NewListing",s?.logs)[0].args.listingId,receipt:s})});return i.setGasLimitMultiple(1.2),i}));ae(this,"createListingsBatch",me(async e=>{let n=(await Promise.all(e.map(r=>this.createListing.prepare(r)))).map(r=>r.encode()),a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n],parse:r=>this.contractWrapper.parseLogs("NewListing",r?.logs).map(i=>({id:i.args.listingId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));ae(this,"updateListing",me(async(e,n)=>{let a=await Ir0.parseAsync(n);await am(this.contractWrapper,this.getAddress(),a.assetContractAddress,a.tokenId,await this.contractWrapper.getSignerAddress());let r=await ea(this.contractWrapper.getProvider(),a.pricePerToken,a.currencyContractAddress),f=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"updateListing",args:[e,{assetContract:a.assetContractAddress,tokenId:a.tokenId,quantity:a.quantity,currency:g9(a.currencyContractAddress),pricePerToken:r,startTimestamp:a.startTimestamp,endTimestamp:a.endTimestamp,reserved:a.isReservedListing}],parse:i=>({id:this.contractWrapper.parseLogs("UpdatedListing",i?.logs)[0].args.listingId,receipt:i})});return f.setGasLimitMultiple(1.2),f}));ae(this,"cancelListing",me(async e=>{let n=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelListing",args:[e]});return n.setGasLimitMultiple(1.2),n}));ae(this,"buyFromListing",me(async(e,n,a)=>{a&&(a=await Oe(a));let r=await this.validateListing(pt.BigNumber.from(e)),{valid:f,error:i}=await this.isStillValidListing(r,n);if(!f)throw new Error(`Listing ${e} is no longer valid. ${i}`);let s=a||await this.contractWrapper.getSignerAddress(),o=pt.BigNumber.from(n),c=pt.BigNumber.from(r.pricePerToken).mul(o),d=await this.contractWrapper.getCallOverrides()||{};await s1(this.contractWrapper,c,r.currencyContractAddress,d);let l=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"buyFromListing",args:[e,s,o,r.currencyContractAddress,c],overrides:d});return l.setGasLimitMultiple(1.2),l}));ae(this,"approveBuyerForReservedListing",me(async(e,n)=>{if(await this.isBuyerApprovedForListing(e,n))throw new Error(`Buyer ${n} already approved for listing ${e}.`);{let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveBuyerForListing",args:[e,n,!0]});return r.setGasLimitMultiple(1.2),r}}));ae(this,"revokeBuyerApprovalForReservedListing",me(async(e,n)=>{if(await this.isBuyerApprovedForListing(e,n)){let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveBuyerForListing",args:[e,n,!1]});return r.setGasLimitMultiple(1.2),r}else throw new Error(`Buyer ${n} not approved for listing ${e}.`)}));ae(this,"approveCurrencyForListing",me(async(e,n,a)=>{let r=await this.validateListing(pt.BigNumber.from(e)),f=await Oe(n);f===r.currencyContractAddress&&d0(a===r.pricePerToken,"Approving listing currency with a different price.");let i=await this.contractWrapper.read("currencyPriceForListing",[e,f]);d0(a===i,"Currency already approved with this price.");let s=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveCurrencyForListing",args:[e,f,a]});return s.setGasLimitMultiple(1.2),s}));ae(this,"revokeCurrencyApprovalForListing",me(async(e,n)=>{let a=await this.validateListing(pt.BigNumber.from(e)),r=await Oe(n);if(r===a.currencyContractAddress)throw new Error("Can't revoke approval for main listing currency.");let f=await this.contractWrapper.read("currencyPriceForListing",[e,r]);d0(!f.isZero(),"Currency not approved.");let i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveCurrencyForListing",args:[e,r,pt.BigNumber.from(0)]});return i.setGasLimitMultiple(1.2),i}));this.contractWrapper=e,this.storage=n,this.events=new Rn(this.contractWrapper),this.encoder=new st(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.estimator=new va(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async getTotalCount(){return await this.contractWrapper.read("totalListings",[])}async getAll(e){let n=await this.getTotalCount(),a=pt.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No listings exist on the contract.");let f=[];f=(await y9(a,r,(o,c)=>this.contractWrapper.read("getAllListings",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapListing(o)))}async getAllValid(e){let n=await this.getTotalCount(),a=pt.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No listings exist on the contract.");let f=[];f=(await y9(a,r,(o,c)=>this.contractWrapper.read("getAllValidListings",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapListing(o)))}async getListing(e){let n=await this.contractWrapper.read("getListing",[e]);return await this.mapListing(n)}async isBuyerApprovedForListing(e,n){if(!(await this.validateListing(pt.BigNumber.from(e))).isReservedListing)throw new Error(`Listing ${e} is not a reserved listing.`);return await this.contractWrapper.read("isBuyerApprovedForListing",[e,await Oe(n)])}async isCurrencyApprovedForListing(e,n){return await this.validateListing(pt.BigNumber.from(e)),await this.contractWrapper.read("isCurrencyApprovedForListing",[e,await Oe(n)])}async currencyPriceForListing(e,n){let a=await this.validateListing(pt.BigNumber.from(e)),r=await Oe(n);if(r===a.currencyContractAddress)return a.pricePerToken;if(!await this.isCurrencyApprovedForListing(e,r))throw new Error(`Currency ${r} is not approved for Listing ${e}.`);return await this.contractWrapper.read("currencyPriceForListing",[e,r])}async validateListing(e){try{return await this.getListing(e)}catch(n){throw console.error(`Error getting the listing with id ${e}`),n}}async mapListing(e){let n=co.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:n=pt.BigNumber.from(e.startTimestamp).gt(r)?co.Created:pt.BigNumber.from(e.endTimestamp).lt(r)?co.Expired:co.Active;break;case 2:n=co.Completed;break;case 3:n=co.Cancelled;break}return{assetContractAddress:e.assetContract,currencyContractAddress:e.currency,pricePerToken:e.pricePerToken.toString(),currencyValuePerToken:await Ja(this.contractWrapper.getProvider(),e.currency,e.pricePerToken),id:e.listingId.toString(),tokenId:e.tokenId.toString(),quantity:e.quantity.toString(),startTimeInSeconds:pt.BigNumber.from(e.startTimestamp).toNumber(),asset:await V8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),endTimeInSeconds:pt.BigNumber.from(e.endTimestamp).toNumber(),creatorAddress:e.listingCreator,isReservedListing:e.reserved,status:n}}async isStillValidListing(e,n){if(!await hu(this.contractWrapper.getProvider(),this.getAddress(),e.assetContractAddress,e.tokenId,e.creatorAddress))return{valid:!1,error:`Token '${e.tokenId}' from contract '${e.assetContractAddress}' is not approved for transfer`};let r=this.contractWrapper.getProvider(),f=(await Promise.resolve().then(()=>Ee(eE()))).default,i=new pt.Contract(e.assetContractAddress,f,r),s=await i.supportsInterface(Qb),o=await i.supportsInterface(Vb);if(s){let c=(await Promise.resolve().then(()=>Ee(lx()))).default,d=new pt.Contract(e.assetContractAddress,c,r),l;try{l=await d.ownerOf(e.tokenId)}catch{}let h=l?.toLowerCase()===e.creatorAddress.toLowerCase();return{valid:h,error:h?void 0:`Seller is not the owner of Token '${e.tokenId}' from contract '${e.assetContractAddress} anymore'`}}else if(o){let c=(await Promise.resolve().then(()=>Ee(ux()))).default,h=(await new pt.Contract(e.assetContractAddress,c,r).balanceOf(e.creatorAddress,e.tokenId)).gte(n||e.quantity);return{valid:h,error:h?void 0:`Seller does not have enough balance of Token '${e.tokenId}' from contract '${e.assetContractAddress} to fulfill the listing`}}else return{valid:!1,error:"Contract does not implement ERC 1155 or ERC 721."}}async applyFilter(e,n){let a=[...e];if(n){if(n.seller){let r=await Oe(n.seller);a=a.filter(f=>f.listingCreator.toString().toLowerCase()===r?.toString().toLowerCase())}if(n.tokenContract){let r=await Oe(n.tokenContract);a=a.filter(f=>f.assetContract.toString().toLowerCase()===r?.toString().toLowerCase())}n.tokenId!==void 0&&(a=a.filter(r=>r.tokenId.toString()===n?.tokenId?.toString()))}return n?.count&&n.count{let n=Wnn.parse(e);await am(this.contractWrapper,this.getAddress(),n.assetContractAddress,n.tokenId,await this.contractWrapper.getSignerAddress());let a=await ea(this.contractWrapper.getProvider(),n.buyoutBidAmount,n.currencyContractAddress),r=await ea(this.contractWrapper.getProvider(),n.minimumBidAmount,n.currencyContractAddress),i=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;n.startTimestamp.lt(i)&&(n.startTimestamp=pt.BigNumber.from(i));let s=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createAuction",args:[{assetContract:n.assetContractAddress,tokenId:n.tokenId,quantity:n.quantity,currency:g9(n.currencyContractAddress),minimumBidAmount:r,buyoutBidAmount:a,timeBufferInSeconds:n.timeBufferInSeconds,bidBufferBps:n.bidBufferBps,startTimestamp:n.startTimestamp,endTimestamp:n.endTimestamp}],parse:o=>({id:this.contractWrapper.parseLogs("NewAuction",o.logs)[0].args.auctionId,receipt:o})});return s.setGasLimitMultiple(1.2),s}));ae(this,"createAuctionsBatch",me(async e=>{let n=(await Promise.all(e.map(r=>this.createAuction.prepare(r)))).map(r=>r.encode()),a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n],parse:r=>this.contractWrapper.parseLogs("NewAuction",r?.logs).map(i=>({id:i.args.auctionId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));ae(this,"buyoutAuction",me(async e=>{let n=await this.validateAuction(pt.BigNumber.from(e)),a=await Di(this.contractWrapper.getProvider(),n.currencyContractAddress);return this.makeBid.prepare(e,pt.utils.formatUnits(n.buyoutBidAmount,a.decimals))}));ae(this,"makeBid",me(async(e,n)=>{let a=await this.validateAuction(pt.BigNumber.from(e)),r=await ea(this.contractWrapper.getProvider(),n,a.currencyContractAddress);if(r.eq(pt.BigNumber.from(0)))throw new Error("Cannot make a bid with 0 value");if(pt.BigNumber.from(a.buyoutBidAmount).gt(0)&&r.gt(a.buyoutBidAmount))throw new Error("Bid amount must be less than or equal to buyoutBidAmount");if(await this.getWinningBid(e)){let o=await this.isWinningBid(e,r);d0(o,"Bid price is too low based on the current winning bid and the bid buffer")}else{let o=r,c=pt.BigNumber.from(a.minimumBidAmount);d0(o.gte(c),"Bid price is too low based on minimum bid amount")}let i=await this.contractWrapper.getCallOverrides()||{};await s1(this.contractWrapper,r,a.currencyContractAddress,i);let s=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"bidInAuction",overrides:i,args:[e,r]});return s.setGasLimitMultiple(1.2),s}));ae(this,"cancelAuction",me(async e=>{if(await this.getWinningBid(e))throw new Error("Bids already made.");let a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelAuction",args:[e]});return a.setGasLimitMultiple(1.2),a}));ae(this,"closeAuctionForBidder",me(async(e,n)=>{n||(n=await this.contractWrapper.getSignerAddress());let a=await this.validateAuction(pt.BigNumber.from(e));try{let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"collectAuctionTokens",args:[pt.BigNumber.from(e)]});return r.setGasLimitMultiple(1.2),r}catch(r){throw r.message.includes("Marketplace: auction still active.")?new mu(e.toString(),a.endTimeInSeconds.toString()):r}}));ae(this,"closeAuctionForSeller",me(async e=>{let n=await this.validateAuction(pt.BigNumber.from(e));try{let a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"collectAuctionPayout",args:[pt.BigNumber.from(e)]});return a.setGasLimitMultiple(1.2),a}catch(a){throw a.message.includes("Marketplace: auction still active.")?new mu(e.toString(),n.endTimeInSeconds.toString()):a}}));ae(this,"executeSale",me(async e=>{let n=await this.validateAuction(pt.BigNumber.from(e));try{let a=await this.getWinningBid(e);d0(a,"No winning bid found");let r=this.encoder.encode("collectAuctionPayout",[e]),f=this.encoder.encode("collectAuctionTokens",[e]),i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[[r,f]]});return i.setGasLimitMultiple(1.2),i}catch(a){throw a.message.includes("Marketplace: auction still active.")?new mu(e.toString(),n.endTimeInSeconds.toString()):a}}));this.contractWrapper=e,this.storage=n,this.events=new Rn(this.contractWrapper),this.encoder=new st(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.estimator=new va(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async getTotalCount(){return await this.contractWrapper.read("totalAuctions",[])}async getAll(e){let n=await this.getTotalCount(),a=pt.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No auctions exist on the contract.");let f=[];f=(await y9(a,r,(o,c)=>this.contractWrapper.read("getAllAuctions",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapAuction(o)))}async getAllValid(e){let n=await this.getTotalCount(),a=pt.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No auctions exist on the contract.");let f=[];f=(await y9(a,r,(o,c)=>this.contractWrapper.read("getAllValidAuctions",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapAuction(o)))}async getAuction(e){let n=await this.contractWrapper.read("getAuction",[e]);return await this.mapAuction(n)}async getWinningBid(e){await this.validateAuction(pt.BigNumber.from(e));let n=await this.contractWrapper.read("getWinningBid",[e]);if(n._bidder!==pt.constants.AddressZero)return await this.mapBid(e.toString(),n._bidder,n._currency,n._bidAmount.toString())}async isWinningBid(e,n){return await this.contractWrapper.read("isNewWinningBid",[e,n])}async getWinner(e){let n=await this.validateAuction(pt.BigNumber.from(e)),a=await this.contractWrapper.read("getWinningBid",[e]),r=pt.BigNumber.from(Math.floor(Date.now()/1e3)),f=pt.BigNumber.from(n.endTimeInSeconds);if(r.gt(f)&&a._bidder!==pt.constants.AddressZero)return a._bidder;let o=(await new Rn(this.contractWrapper).getEvents("AuctionClosed")).find(c=>c.data.auctionId.eq(pt.BigNumber.from(e)));if(!o)throw new Error(`Could not find auction with ID ${e} in closed auctions`);return o.data.winningBidder}async getBidBufferBps(e){return(await this.getAuction(e)).bidBufferBps}async getMinimumNextBid(e){let[n,a,r]=await Promise.all([this.getBidBufferBps(e),this.getWinningBid(e),this.validateAuction(pt.BigNumber.from(e))]),f=a?pt.BigNumber.from(a.bidAmount):pt.BigNumber.from(r.minimumBidAmount),i=f.add(f.mul(n).div(1e4));return Ja(this.contractWrapper.getProvider(),r.currencyContractAddress,i)}async validateAuction(e){try{return await this.getAuction(e)}catch(n){throw console.error(`Error getting the auction with id ${e}`),n}}async mapAuction(e){let n=co.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:n=pt.BigNumber.from(e.startTimestamp).gt(r)?co.Created:pt.BigNumber.from(e.endTimestamp).lt(r)?co.Expired:co.Active;break;case 2:n=co.Completed;break;case 3:n=co.Cancelled;break}return{id:e.auctionId.toString(),creatorAddress:e.auctionCreator,assetContractAddress:e.assetContract,tokenId:e.tokenId.toString(),quantity:e.quantity.toString(),currencyContractAddress:e.currency,minimumBidAmount:e.minimumBidAmount.toString(),minimumBidCurrencyValue:await Ja(this.contractWrapper.getProvider(),e.currency,e.minimumBidAmount),buyoutBidAmount:e.buyoutBidAmount.toString(),buyoutCurrencyValue:await Ja(this.contractWrapper.getProvider(),e.currency,e.buyoutBidAmount),timeBufferInSeconds:pt.BigNumber.from(e.timeBufferInSeconds).toNumber(),bidBufferBps:pt.BigNumber.from(e.bidBufferBps).toNumber(),startTimeInSeconds:pt.BigNumber.from(e.startTimestamp).toNumber(),endTimeInSeconds:pt.BigNumber.from(e.endTimestamp).toNumber(),asset:await V8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),status:n}}async mapBid(e,n,a,r){let f=await Oe(n),i=await Oe(a);return{auctionId:e,bidderAddress:f,currencyContractAddress:i,bidAmount:r,bidAmountCurrencyValue:await Ja(this.contractWrapper.getProvider(),i,r)}}async applyFilter(e,n){let a=[...e];if(n){if(n.seller){let r=await Oe(n.seller);a=a.filter(f=>f.auctionCreator.toString().toLowerCase()===r?.toString().toLowerCase())}if(n.tokenContract){let r=await Oe(n.tokenContract);a=a.filter(f=>f.assetContract.toString().toLowerCase()===r?.toString().toLowerCase())}n.tokenId!==void 0&&(a=a.filter(r=>r.tokenId.toString()===n?.tokenId?.toString()))}return n?.count&&n.count{let n=await qnn.parseAsync(e),a=await this.contractWrapper.getChainID(),r=hf(n.currencyContractAddress)?rm[a].wrapped.address:n.currencyContractAddress,f=await ea(this.contractWrapper.getProvider(),n.totalPrice,r),i=await this.contractWrapper.getCallOverrides();return await s1(this.contractWrapper,f,r,i),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"makeOffer",args:[{assetContract:n.assetContractAddress,tokenId:n.tokenId,quantity:n.quantity,currency:r,totalPrice:f,expirationTimestamp:n.endTimestamp}],parse:s=>({id:this.contractWrapper.parseLogs("NewOffer",s?.logs)[0].args.offerId,receipt:s})})}));ae(this,"cancelOffer",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelOffer",args:[e]})));ae(this,"acceptOffer",me(async e=>{let n=await this.validateOffer(pt.BigNumber.from(e)),{valid:a,error:r}=await this.isStillValidOffer(n);if(!a)throw new Error(`Offer ${e} is no longer valid. ${r}`);let f=await this.contractWrapper.getCallOverrides()||{};return await am(this.contractWrapper,this.getAddress(),n.assetContractAddress,n.tokenId,await this.contractWrapper.getSignerAddress()),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"acceptOffer",args:[e],overrides:f})}));this.contractWrapper=e,this.storage=n,this.events=new Rn(this.contractWrapper),this.encoder=new st(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.estimator=new va(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async getTotalCount(){return await this.contractWrapper.read("totalOffers",[])}async getAll(e){let n=await this.getTotalCount(),a=pt.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No offers exist on the contract.");let f=[];f=(await y9(a,r,(o,c)=>this.contractWrapper.read("getAllOffers",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapOffer(o)))}async getAllValid(e){let n=await this.getTotalCount(),a=pt.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No offers exist on the contract.");let f=[];f=(await y9(a,r,(o,c)=>this.contractWrapper.read("getAllValidOffers",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapOffer(o)))}async getOffer(e){let n=await this.contractWrapper.read("getOffer",[e]);return await this.mapOffer(n)}async validateOffer(e){try{return await this.getOffer(e)}catch(n){throw console.error(`Error getting the offer with id ${e}`),n}}async mapOffer(e){let n=co.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:n=pt.BigNumber.from(e.expirationTimestamp).lt(r)?co.Expired:co.Active;break;case 2:n=co.Completed;break;case 3:n=co.Cancelled;break}return{id:e.offerId.toString(),offerorAddress:e.offeror,assetContractAddress:e.assetContract,currencyContractAddress:e.currency,tokenId:e.tokenId.toString(),quantity:e.quantity.toString(),totalPrice:e.totalPrice.toString(),currencyValue:await Ja(this.contractWrapper.getProvider(),e.currency,e.totalPrice),asset:await V8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),endTimeInSeconds:pt.BigNumber.from(e.expirationTimestamp).toNumber(),status:n}}async isStillValidOffer(e){if(pt.BigNumber.from(Math.floor(Date.now()/1e3)).gt(e.endTimeInSeconds))return{valid:!1,error:`Offer with ID ${e.id} has expired`};let a=await this.contractWrapper.getChainID(),r=hf(e.currencyContractAddress)?rm[a].wrapped.address:e.currencyContractAddress,f=this.contractWrapper.getProvider(),i=(await Promise.resolve().then(()=>Ee(j1()))).default,s=new ut(f,r,i,{},this.storage);return(await s.read("balanceOf",[e.offerorAddress])).lt(e.totalPrice)?{valid:!1,error:`Offeror ${e.offerorAddress} doesn't have enough balance of token ${r}`}:(await s.read("allowance",[e.offerorAddress,this.getAddress()])).lt(e.totalPrice)?{valid:!1,error:`Offeror ${e.offerorAddress} hasn't approved enough amount of token ${r}`}:{valid:!0,error:""}}async applyFilter(e,n){let a=[...e];if(n){if(n.offeror){let r=await Oe(n.offeror);a=a.filter(f=>f.offeror.toString().toLowerCase()===r?.toString().toLowerCase())}if(n.tokenContract){let r=await Oe(n.tokenContract);a=a.filter(f=>f.assetContract.toString().toLowerCase()===r?.toString().toLowerCase())}n.tokenId!==void 0&&(a=a.filter(r=>r.tokenId.toString()===n?.tokenId?.toString()))}return n?.count&&n.countD6e});var $Ta,JTa,xG,D6e,Sr0=ce(()=>{"use strict";u();p();Pl();Rf();ln();or();X1();Fl();Gc();B6e();Da();ir();$Ta=Ee(Va()),JTa=Ee(ro());W0();xG=class xG{get directListings(){return O0(this.detectDirectListings(),fm)}get englishAuctions(){return O0(this.detectEnglishAuctions(),im)}get offers(){return O0(this.detectOffers(),sm)}get chainId(){return this._chainId}constructor(e,n,a){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(e,n,f,r,a);this._chainId=i,this.abi=bt.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,v9,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,xG.contractRoles),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper)}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async prepare(e,n,a){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:n,overrides:a})}async call(e,n,a){return this.contractWrapper.call(e,n,a)}detectDirectListings(){if(k0(this.contractWrapper,"DirectListings"))return new gE(this.contractWrapper,this.storage)}detectEnglishAuctions(){if(k0(this.contractWrapper,"EnglishAuctions"))return new vE(this.contractWrapper,this.storage)}detectOffers(){if(k0(this.contractWrapper,"Offers"))return new wE(this.contractWrapper,this.storage)}};ae(xG,"contractRoles",yE);D6e=xG});var Rr0=D((nxa,jnn)=>{jnn.exports=[{type:"constructor",inputs:[{name:"_marketplaceV3Params",type:"tuple",internalType:"struct MarketplaceV3.MarketplaceConstructorParams",components:[{name:"extensions",type:"tuple[]",internalType:"struct IExtension.Extension[]",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]},{name:"royaltyEngineAddress",type:"address",internalType:"address"},{name:"nativeTokenWrapper",type:"address",internalType:"address"}]}],stateMutability:"nonpayable"},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"_disableFunctionInExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"},{name:"_functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"addExtension",inputs:[{name:"_extension",type:"tuple",internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"defaultExtensions",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"disableFunctionInExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"},{name:"_functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"enableFunctionInExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"},{name:"_function",type:"tuple",internalType:"struct IExtension.ExtensionFunction",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getAllExtensions",inputs:[],outputs:[{name:"allExtensions",type:"tuple[]",internalType:"struct IExtension.Extension[]",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],stateMutability:"view"},{type:"function",name:"getExtension",inputs:[{name:"extensionName",type:"string",internalType:"string"}],outputs:[{name:"",type:"tuple",internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getImplementationForFunction",inputs:[{name:"_functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getMetadataForFunction",inputs:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyalty",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"recipients",type:"address[]",internalType:"address payable[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"nonpayable"},{type:"function",name:"getRoyaltyEngineAddress",inputs:[],outputs:[{name:"royaltyEngineAddress",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint16",internalType:"uint16"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"removeExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"replaceExtension",inputs:[{name:"_extension",type:"tuple",internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyEngine",inputs:[{name:"_royaltyEngineAddress",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"ExtensionAdded",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"implementation",type:"address",indexed:!0,internalType:"address"},{name:"extension",type:"tuple",indexed:!1,internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],anonymous:!1},{type:"event",name:"ExtensionRemoved",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"extension",type:"tuple",indexed:!1,internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],anonymous:!1},{type:"event",name:"ExtensionReplaced",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"implementation",type:"address",indexed:!0,internalType:"address"},{name:"extension",type:"tuple",indexed:!1,internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FunctionDisabled",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"extMetadata",type:"tuple",indexed:!1,internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"FunctionEnabled",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"extFunction",type:"tuple",indexed:!1,internalType:"struct IExtension.ExtensionFunction",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]},{name:"extMetadata",type:"tuple",indexed:!1,internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyEngineUpdated",inputs:[{name:"previousAddress",type:"address",indexed:!0,internalType:"address"},{name:"newAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"InvalidCodeAtRange",inputs:[{name:"_size",type:"uint256",internalType:"uint256"},{name:"_start",type:"uint256",internalType:"uint256"},{name:"_end",type:"uint256",internalType:"uint256"}]},{type:"error",name:"WriteError",inputs:[]}]});async function EG(t,e,n){let a=t.getProvider(),r=(await Promise.resolve().then(()=>Ee(j1()))).default,f=new ut(a,e,r,{},t.storage),i=await t.getSignerAddress(),s=t.address;return(await f.read("allowance",[i,s])).gte(n)}var P6e=ce(()=>{"use strict";u();p();ln()});var lo,Mr0,id,TE=ce(()=>{"use strict";u();p();lo=Ee(Xe()),Mr0=Ee(Kc());ln();h9();or();Rf();Da();id=class{constructor(e,n,a){ae(this,"set",me((()=>{var e=this;return async function(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=n;if(e.isLegacySinglePhaseDrop(e.contractWrapper)||e.isNewSinglePhaseDrop(e.contractWrapper)){if(a=!0,n.length===0)r=[{startTime:new Date(0),currencyAddress:lo.constants.AddressZero,price:0,maxClaimableSupply:0,maxClaimablePerWallet:0,waitInSeconds:0,merkleRootHash:lo.utils.hexZeroPad([0],32),snapshot:[]}];else if(n.length>1)throw new Error("Single phase drop contract cannot have multiple claim conditions, only one is allowed")}(e.isNewSinglePhaseDrop(e.contractWrapper)||e.isNewMultiphaseDrop(e.contractWrapper))&&r.forEach(h=>{if(h.snapshot&&h.snapshot.length>0&&(h.maxClaimablePerWallet===void 0||h.maxClaimablePerWallet==="unlimited"))throw new Error(`maxClaimablePerWallet must be set to a specific value when an allowlist is set. +contract.claimConditions.set(tokenId, [{ snapshot: [{ address: '0x...', maxClaimable: 1 }], maxClaimablePerWallet: 0 }])`);if(v.snapshot&&v.snapshot.length>0&&v.maxClaimablePerWallet?.toString()==="0"&&v.snapshot.map(k=>typeof k=="string"?0:Number(k.maxClaimable?.toString()||0)).reduce((k,O)=>k+O,0)===0)throw new Error("maxClaimablePerWallet is set to 0, and all addresses in the allowlist have max claimable 0. This means that no one can claim.")});let{snapshotInfos:h,sortedConditions:y}=await tG(l,0,e.contractWrapper.getProvider(),e.storage,e.getSnapshotFormatVersion());return h.forEach(v=>{r[v.merkleRoot]=v.snapshotUri}),{tokenId:c,sortedConditions:y}})),i=await e.metadata.get(),s=[];for(let o of Object.keys(i.merkle||{}))r[o]=i.merkle[o];if(!(0,lr0.default)(i.merkle,r)){let o=await e.metadata.parseInputMetadata({...i,merkle:r}),c=await e.metadata._parseAndUploadMetadata(o);if(wr("setContractURI",e.contractWrapper)){let d=new st(e.contractWrapper);s.push(d.encode("setContractURI",[c]))}else throw new Error("Setting a merkle root requires implementing ContractMetadata in your contract to support storing a merkle root.")}if(f.forEach(o=>{let{tokenId:c,sortedConditions:d}=o,l=new st(e.contractWrapper);if(e.isLegacySinglePhaseDrop(e.contractWrapper)){let h=new st(e.contractWrapper);s.push(h.encode("setClaimConditions",[c,aE(d[0]),a]))}else if(e.isLegacyMultiPhaseDrop(e.contractWrapper))s.push(l.encode("setClaimConditions",[c,d.map(aE),a]));else if(e.isNewSinglePhaseDrop(e.contractWrapper))s.push(l.encode("setClaimConditions",[c,rE(d[0]),a]));else if(e.isNewMultiphaseDrop(e.contractWrapper))s.push(l.encode("setClaimConditions",[c,d.map(rE),a]));else throw new Error("Contract does not support claim conditions")}),wr("multicall",e.contractWrapper))return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"multicall",args:[s]});throw new Error("Contract does not support multicall")}})()));ae(this,"update",me(async(e,n,a)=>{let r=await this.getAll(e),f=await nG(n,a,r);return await this.set.prepare(e,f)}));this.storage=a,this.contractWrapper=e,this.metadata=n}async getActive(e,n){let a=await this.get(e),r=await this.metadata.get();return await sE(a,0,this.contractWrapper.getProvider(),r.merkle,this.storage,n?.withAllowList||!1)}async get(e,n){if(this.isLegacySinglePhaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("claimCondition",[e]);return fE(a)}else if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){let a=n!==void 0?n:await this.contractWrapper.read("getActiveClaimConditionId",[e]),r=await this.contractWrapper.read("getClaimConditionById",[e,a]);return fE(r)}else if(this.isNewSinglePhaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("claimCondition",[e]);return iE(a)}else if(this.isNewMultiphaseDrop(this.contractWrapper)){let a=n!==void 0?n:await this.contractWrapper.read("getActiveClaimConditionId",[e]),r=await this.contractWrapper.read("getClaimConditionById",[e,a]);return iE(r)}else throw new Error("Contract does not support claim conditions")}async getAll(e,n){if(this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("claimCondition",[e]),r=a.currentStartId.toNumber(),f=a.count.toNumber(),i=[];for(let o=r;osE(o,0,this.contractWrapper.getProvider(),s.merkle,this.storage,n?.withAllowList||!1)))}else return[await this.getActive(e,n)]}async canClaim(e,n,a){return a&&(a=await Oe(a)),(await this.getClaimIneligibilityReasons(e,n,a)).length===0}async getClaimIneligibilityReasons(e,n,a){let r=[],f,i;if(a===void 0)try{a=await this.contractWrapper.getSignerAddress()}catch(v){console.warn("failed to get signer address",v)}if(!a)return[qn.NoWallet];let s=await Oe(a);try{i=await this.getActive(e)}catch(v){return X8(v,"!CONDITION")||X8(v,"no active mint condition")||X8(v,"DropNoActiveCondition")?(r.push(qn.NoClaimConditionSet),r):(r.push(qn.Unknown),r)}if(i.availableSupply!=="unlimited"&&la.BigNumber.from(i.availableSupply).lt(n))return r.push(qn.NotEnoughSupply),r;let c=la.utils.stripZeros(i.merkleRootHash).length>0,d=null;if(c){if(d=await this.getClaimerProofs(e,s),!d&&(this.isLegacySinglePhaseDrop(this.contractWrapper)||this.isLegacyMultiPhaseDrop(this.contractWrapper)))return r.push(qn.AddressNotAllowed),r;if(d)try{let v=await this.prepareClaim(e,n,!1,s),k;if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){if(f=await this.contractWrapper.read("getActiveClaimConditionId",[e]),[k]=await this.contractWrapper.read("verifyClaimMerkleProof",[f,s,e,n,v.proofs,v.maxClaimable]),!k)return r.push(qn.AddressNotAllowed),r}else if(this.isLegacySinglePhaseDrop(this.contractWrapper)){if([k]=await this.contractWrapper.read("verifyClaimMerkleProof",[e,s,n,{proof:v.proofs,maxQuantityInAllowlist:v.maxClaimable}]),!k)return r.push(qn.AddressNotAllowed),r}else this.isNewSinglePhaseDrop(this.contractWrapper)?await this.contractWrapper.read("verifyClaim",[e,s,n,v.currencyAddress,v.price,{proof:v.proofs,quantityLimitPerWallet:v.maxClaimable,currency:v.currencyAddressInProof,pricePerToken:v.priceInProof}]):this.isNewMultiphaseDrop(this.contractWrapper)&&(f=await this.contractWrapper.read("getActiveClaimConditionId",[e]),await this.contractWrapper.read("verifyClaim",[f,s,e,n,v.currencyAddress,v.price,{proof:v.proofs,quantityLimitPerWallet:v.maxClaimable,currency:v.currencyAddressInProof,pricePerToken:v.priceInProof}]))}catch(v){switch(console.warn("Merkle proof verification failed:","reason"in v?v.reason||v.errorName:v),v.reason||v.errorName){case"!Qty":case"DropClaimExceedLimit":r.push(qn.OverMaxClaimablePerWallet);break;case"!PriceOrCurrency":case"DropClaimInvalidTokenPrice":r.push(qn.WrongPriceOrCurrency);break;case"!MaxSupply":case"DropClaimExceedMaxSupply":r.push(qn.NotEnoughSupply);break;case"cant claim yet":case"DropClaimNotStarted":r.push(qn.ClaimPhaseNotStarted);break;default:{r.push(qn.AddressNotAllowed);break}}return r}}if(this.isNewSinglePhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let v=la.BigNumber.from(0),k=fd(i.maxClaimablePerWallet,0);try{v=await this.getSupplyClaimedByWallet(e,s)}catch{}if(d&&(k=fd(d.maxClaimable,0)),k.gt(0)&&k.lt(v.add(n)))return r.push(qn.OverMaxClaimablePerWallet),r;if((!c||c&&!d)&&(k.lte(v)||k.eq(0)))return r.push(qn.AddressNotAllowed),r}let[l,h]=[la.BigNumber.from(0),la.BigNumber.from(0)];this.isLegacyMultiPhaseDrop(this.contractWrapper)?(f=await this.contractWrapper.read("getActiveClaimConditionId",[e]),[l,h]=await this.contractWrapper.read("getClaimTimestamp",[e,f,s])):this.isLegacySinglePhaseDrop(this.contractWrapper)&&([l,h]=await this.contractWrapper.read("getClaimTimestamp",[e,s]));let y=la.BigNumber.from(Date.now()).div(1e3);if(l.gt(0)&&y.lt(h))return h.eq(la.constants.MaxUint256)?r.push(qn.AlreadyClaimed):r.push(qn.WaitBeforeNextClaimTransaction),r;if(i.price.gt(0)&&cG()){let v=i.price.mul(n),k=this.contractWrapper.getProvider();if(hf(i.currencyAddress))(await k.getBalance(s)).lt(v)&&r.push(qn.NotEnoughTokens);else{let O=(await Promise.resolve().then(()=>Ee(j1()))).default;(await new ut(k,i.currencyAddress,O,{},this.storage).read("balanceOf",[s])).lt(v)&&r.push(qn.NotEnoughTokens)}}return r}async getClaimerProofs(e,n,a){let f=(await this.get(e,a)).merkleRoot;if(la.utils.stripZeros(f).length>0){let s=await this.metadata.get(),o=await Oe(n);return await iM(o,f.toString(),s.merkle,this.contractWrapper.getProvider(),this.storage,this.getSnapshotFormatVersion())}else return null}async getSupplyClaimedByWallet(e,n){let a=await Oe(n);if(this.isNewSinglePhaseDrop(this.contractWrapper))return await this.contractWrapper.read("getSupplyClaimedByWallet",[e,a]);if(this.isNewMultiphaseDrop(this.contractWrapper)){let r=await this.contractWrapper.read("getActiveClaimConditionId",[e]);return await this.contractWrapper.read("getSupplyClaimedByWallet",[e,r,a])}throw new Error("This contract does not support the getSupplyClaimedByWallet function")}async prepareClaim(e,n,a,r){let f=await Oe(r||await this.contractWrapper.getSignerAddress());return eG(f,n,await this.getActive(e),async()=>(await this.metadata.get()).merkle,0,this.contractWrapper,this.storage,a,this.getSnapshotFormatVersion())}async getClaimArguments(e,n,a,r){let f=await Oe(n);return this.isLegacyMultiPhaseDrop(this.contractWrapper)?[f,e,a,r.currencyAddress,r.price,r.proofs,r.maxClaimable]:this.isLegacySinglePhaseDrop(this.contractWrapper)?[f,e,a,r.currencyAddress,r.price,{proof:r.proofs,maxQuantityInAllowlist:r.maxClaimable},la.utils.toUtf8Bytes("")]:[f,e,a,r.currencyAddress,r.price,{proof:r.proofs,quantityLimitPerWallet:r.maxClaimable,pricePerToken:r.priceInProof,currency:r.currencyAddressInProof},la.utils.toUtf8Bytes("")]}async getClaimTransaction(e,n,a,r){if(r?.pricePerToken)throw new Error("Price per token should be set via claim conditions by calling `contract.erc1155.claimConditions.set()`");let f=await this.prepareClaim(n,a,r?.checkERC20Allowance||!0);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:await this.getClaimArguments(n,e,a,f),overrides:f.overrides})}isNewSinglePhaseDrop(e){return k0(e,"ERC1155ClaimConditionsV2")}isNewMultiphaseDrop(e){return k0(e,"ERC1155ClaimPhasesV2")}isLegacySinglePhaseDrop(e){return k0(e,"ERC1155ClaimConditionsV1")}isLegacyMultiPhaseDrop(e){return k0(e,"ERC1155ClaimPhasesV1")}getSnapshotFormatVersion(){return this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isLegacySinglePhaseDrop(this.contractWrapper)?$8.V1:$8.V2}},dr0=fe.object({address:da,quantity:ff.default(1)}),Mnn=fe.union([fe.array(fe.string()).transform(async t=>await Promise.all(t.map(e=>dr0.parseAsync({address:e})))),fe.array(dr0)]),m6e=class{constructor(e){ae(this,"featureName",hE.name);ae(this,"to",me(async(e,n,a,r)=>await this.getClaimTransaction(e,n,a,r)));this.contractWrapper=e}async getClaimTransaction(e,n,a,r){let f={};return r&&r.pricePerToken&&(f=await oG(this.contractWrapper,r.pricePerToken,a,r.currencyAddress,r.checkERC20Allowance)),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:[await Oe(e),n,a],overrides:f})}},y6e=class{constructor(e,n){ae(this,"featureName",pM.name);ae(this,"to",me(async(e,n,a,r)=>await this.conditions.getClaimTransaction(e,n,a,r)));this.contractWrapper=e,this.storage=n;let a=new Wn(this.contractWrapper,Nl,this.storage);this.conditions=new dM(e,a,this.storage)}},lM=class{constructor(e,n,a){ae(this,"featureName",bM.name);ae(this,"mint",me(async e=>{let n=e.payload,a=e.signature,[r,f]=await Promise.all([this.mapPayloadToContractStruct(n),this.contractWrapper.getCallOverrides()]);return await s1(this.contractWrapper,r.pricePerToken.mul(r.quantity),n.currencyAddress,f),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[r,a],overrides:f,parse:i=>{let s=this.contractWrapper.parseLogs("TokensMintedWithSignature",i.logs);if(s.length===0)throw new Error("No MintWithSignature event found");return{id:s[0].args.tokenIdMinted,receipt:i}}})}));ae(this,"mintBatch",me(async e=>{let n=await Promise.all(e.map(i=>this.mapPayloadToContractStruct(i.payload))),a=e.map((i,s)=>{let o=n[s],c=i.signature,d=i.payload.price;if(la.BigNumber.from(d).gt(0))throw new Error("Can only batch free mints. For mints with a price, use regular mint()");return{message:o,signature:c}}),r=new st(this.contractWrapper),f=a.map(i=>r.encode("mintWithSignature",[i.message,i.signature]));if(wr("multicall",this.contractWrapper))return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[f],parse:i=>{let s=this.contractWrapper.parseLogs("TokensMintedWithSignature",i.logs);if(s.length===0)throw new Error("No MintWithSignature event found");return s.map(o=>({id:o.args.tokenIdMinted,receipt:i}))}});throw new Error("Multicall not supported on this contract!")}));this.contractWrapper=e,this.storage=n,this.roles=a}async verify(e){let n=e.payload,a=e.signature,r=await this.mapPayloadToContractStruct(n);return(await this.contractWrapper.read("verify",[r,a]))[0]}async generate(e){let n={...e,tokenId:la.constants.MaxUint256};return this.generateFromTokenId(n)}async generateFromTokenId(e){return(await this.generateBatchFromTokenIds([e]))[0]}async generateBatch(e){let n=e.map(a=>({...a,tokenId:la.constants.MaxUint256}));return this.generateBatchFromTokenIds(n)}async generateBatchFromTokenIds(e){let n=this.contractWrapper.getSigner();d0(n,"No signer available"),await this.roles?.verify(["minter"],await n.getAddress());let a=await Promise.all(e.map(h=>Za0.parseAsync(h))),r=a.map(h=>h.metadata),[f,i,s]=await Promise.all([Bl(r,this.storage),this.contractWrapper.getChainID(),dG(this.contractWrapper.address,this.contractWrapper.getProvider())]),o=await Promise.all(a.map((h,y)=>er0.parseAsync({...h,uri:f[y]}))),c=await Promise.all(o.map(h=>this.mapPayloadToContractStruct(h))),d=s?.type==="TokenERC1155";return(await Promise.all(c.map(h=>this.contractWrapper.signTypedData(n,{name:d?"TokenERC1155":"SignatureMintERC1155",version:"1",chainId:i,verifyingContract:this.contractWrapper.address},{MintRequest:fr0},h)))).map((h,y)=>({payload:o[y],signature:h.toString()}))}async mapPayloadToContractStruct(e){let n=await ea(this.contractWrapper.getProvider(),e.price,e.currencyAddress);return{to:e.to,tokenId:e.tokenId,uri:e.uri,quantity:e.quantity,pricePerToken:n,currency:e.currencyAddress,validityStartTimestamp:e.mintStartTime,validityEndTimestamp:e.mintEndTime,uid:e.uid,royaltyRecipient:e.royaltyRecipient,royaltyBps:e.royaltyBps,primarySaleRecipient:e.primarySaleRecipient}}},g6e=class{constructor(e){ae(this,"featureName",Zb.name);ae(this,"tokens",me(async(e,n)=>{let a=await this.contractWrapper.getSignerAddress();return this.from.prepare(a,e,n)}));ae(this,"from",me(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[await Oe(e),n,a]})));ae(this,"batch",me(async(e,n)=>{let a=await this.contractWrapper.getSignerAddress();return this.batchFrom.prepare(a,e,n)}));ae(this,"batchFrom",me(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burnBatch",args:[await Oe(e),n,a]})));this.contractWrapper=e}},v6e=class{constructor(e,n){ae(this,"featureName",tm.name);this.erc1155=e,this.contractWrapper=n}async all(e){let n=la.BigNumber.from(e?.start||0).toNumber(),a=la.BigNumber.from(e?.count||Pi).toNumber(),r=Math.min((await this.totalCount()).toNumber(),n+a);return await Promise.all([...Array(r-n).keys()].map(f=>this.erc1155.get((n+f).toString())))}async totalCount(){return await this.contractWrapper.read("nextTokenIdToMint",[])}async totalCirculatingSupply(e){return await this.contractWrapper.read("totalSupply",[e])}async owned(e,n){let[a,r]=await Promise.all([Oe(e||await this.contractWrapper.getSignerAddress()),this.contractWrapper.read("nextTokenIdToMint",[])]),i=(await this.contractWrapper.read("balanceOfBatch",[Array(r.toNumber()).fill(a),Array.from(Array(r.toNumber()).keys())])).map((o,c)=>({tokenId:c,balance:o})).filter(o=>o.balance.gt(0));if(n){let o=n?.start||0,c=n?.count||Pi;i=i.slice(o,o+c)}return(await Promise.all(i.map(o=>this.erc1155.get(o.tokenId.toString())))).map((o,c)=>({...o,owner:a,quantityOwned:i[c].balance.toString()}))}},w6e=class{constructor(e,n,a){ae(this,"featureName",hM.name);ae(this,"lazyMint",me(async(e,n)=>{let a=await this.erc1155.nextTokenIdToMint(),r=await Bl(e,this.storage,a.toNumber(),n),f=r[0].substring(0,r[0].lastIndexOf("/"));for(let o=0;o{let c=this.contractWrapper.parseLogs("TokensLazyMinted",o?.logs),d=c[0].args.startTokenId,l=c[0].args.endTokenId,h=[];for(let y=d;y.lte(l);y=y.add(1))h.push({id:y,receipt:o,data:()=>this.erc1155.getTokenMetadata(y)});return h},s=await dG(this.contractWrapper.address,this.contractWrapper.getProvider());return this.isLegacyEditionDropContract(this.contractWrapper,s)?Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[r.length,`${f.endsWith("/")?f:`${f}/`}`],parse:i}):Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[r.length,`${f.endsWith("/")?f:`${f}/`}`,la.utils.toUtf8Bytes("")],parse:i})}));ae(this,"updateMetadata",me(async(e,n,a)=>{let r=await this.contractWrapper.read("getBaseURICount",[]);if(r.eq(0))throw new Error("No base URI set. Please set a base URI before updating metadata");let f=la.BigNumber.from(e),i=la.BigNumber.from(0),s=la.BigNumber.from(0),o=0;for(let v=0;vk+i.toNumber()),d=await Promise.all(c.map(v=>this.erc1155.getTokenMetadata(v))),l=[];for(let v=0;vthis.erc1155.nextTokenIdToMint())}isLegacyEditionDropContract(e,n){return n&&n.type==="DropERC1155"&&n.version<3||!1}},T6e=class{constructor(e,n,a){ae(this,"featureName",mM.name);ae(this,"to",me(async(e,n)=>{let a=n.map(c=>c.metadata),r=n.map(c=>c.supply),f=await Bl(a,this.storage),i=await Oe(e),s=new st(this.contractWrapper),o=await Promise.all(f.map(async(c,d)=>s.encode("mintTo",[i,la.constants.MaxUint256,c,r[d]])));return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[o],parse:c=>{let d=this.contractWrapper.parseLogs("TokensMinted",c.logs);if(d.length===0||d.length{let h=l.args.tokenIdMinted;return{id:h,receipt:c,data:()=>this.erc1155.get(h)}})}})}));this.erc1155=e,this.contractWrapper=n,this.storage=a}},x6e=class{constructor(e,n,a){ae(this,"featureName",em.name);ae(this,"to",me(async(e,n)=>{let a=await this.getMintTransaction(e,n);return a.setParse(r=>{let f=this.contractWrapper.parseLogs("TransferSingle",r?.logs);if(f.length===0)throw new Error("TransferSingleEvent event not found");let i=f[0].args.id;return{id:i,receipt:r,data:()=>this.erc1155.get(i.toString())}}),a}));ae(this,"additionalSupplyTo",me(async(e,n,a)=>{let r=await this.erc1155.getTokenMetadata(n);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:[await Oe(e),n,r.uri,a],parse:f=>({id:la.BigNumber.from(n),receipt:f,data:()=>this.erc1155.get(n)})})}));this.erc1155=e,this.contractWrapper=n,this.storage=a,this.batch=this.detectErc1155BatchMintable()}async getMintTransaction(e,n){let a=await Y8(n.metadata,this.storage);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:[await Oe(e),la.constants.MaxUint256,a,n.supply]})}detectErc1155BatchMintable(){if(k0(this.contractWrapper,"ERC1155BatchMintable"))return new T6e(this.erc1155,this.contractWrapper,this.storage)}},pE=class{constructor(e,n,a){ae(this,"featureName",bE.name);ae(this,"transfer",me((()=>{var e=this;return async function(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0],i=await e.contractWrapper.getSignerAddress();return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"safeTransferFrom",args:[i,await Oe(n),a,r,f]})}})()));ae(this,"transferBatch",me((()=>{var e=this;return async function(n,a,r,f){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[0],s=f?await Oe(f):await e.contractWrapper.getSignerAddress();return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"safeBatchTransferFrom",args:[s,await Oe(n),a,r,i]})}})()));ae(this,"transferFrom",me((()=>{var e=this;return async function(n,a,r,f){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[0];return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"safeTransferFrom",args:[await Oe(n),await Oe(a),r,f,i]})}})()));ae(this,"setApprovalForAll",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setApprovalForAll",args:[e,n]})));ae(this,"airdrop",me((()=>{var e=this;return async function(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0],i=r?await Oe(r):await e.contractWrapper.getSignerAddress(),s=await e.balanceOf(i,n),o=await Mnn.parseAsync(a),c=o.reduce((h,y)=>la.BigNumber.from(h).add(la.BigNumber.from(y?.quantity||1)),la.BigNumber.from(0));if(s.lt(la.BigNumber.from(c)))throw new Error(`The caller owns ${s.toString()} NFTs, but wants to airdrop ${c.toString()} NFTs.`);let d=new st(e.contractWrapper),l=o.map(h=>{let{address:y,quantity:v}=h;return d.encode("safeTransferFrom",[i,y,n,v,f])});return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"multicall",args:[l]})}})()));ae(this,"mint",me(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintTo",me(async(e,n)=>O0(this.mintable,em).to.prepare(e,n)));ae(this,"mintAdditionalSupply",me(async(e,n)=>O0(this.mintable,em).additionalSupplyTo.prepare(await this.contractWrapper.getSignerAddress(),e,n)));ae(this,"mintAdditionalSupplyTo",me(async(e,n,a)=>O0(this.mintable,em).additionalSupplyTo.prepare(e,n,a)));ae(this,"mintBatch",me(async e=>this.mintBatchTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintBatchTo",me(async(e,n)=>O0(this.mintable?.batch,mM).to.prepare(e,n)));ae(this,"burn",me(async(e,n)=>O0(this.burnable,Zb).tokens.prepare(e,n)));ae(this,"burnFrom",me(async(e,n,a)=>O0(this.burnable,Zb).from.prepare(e,n,a)));ae(this,"burnBatch",me(async(e,n)=>O0(this.burnable,Zb).batch.prepare(e,n)));ae(this,"burnBatchFrom",me(async(e,n,a)=>O0(this.burnable,Zb).batchFrom.prepare(e,n,a)));ae(this,"lazyMint",me(async(e,n)=>O0(this.lazyMintable,hM).lazyMint.prepare(e,n)));ae(this,"updateMetadata",me(async(e,n)=>{if(this.lazyMintable)return this.lazyMintable.updateMetadata.prepare(e,n);if(k0(this.contractWrapper,"ERC1155UpdatableMetadata")){let a=await this.storage.upload(n);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setTokenURI",args:[e,a]})}else throw new J1(lG)}));ae(this,"claim",me(async(e,n,a)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,n,a)));ae(this,"claimTo",me(async(e,n,a,r)=>{let f=this.claimWithConditions,i=this.claimCustom;if(f)return f.to.prepare(e,n,a,r);if(i)return i.to.prepare(e,n,a,r);throw new J1(hE)}));this.contractWrapper=e,this.storage=n,this.query=this.detectErc1155Enumerable(),this.mintable=this.detectErc1155Mintable(),this.burnable=this.detectErc1155Burnable(),this.lazyMintable=this.detectErc1155LazyMintable(),this.signatureMintable=this.detectErc1155SignatureMintable(),this.claimCustom=this.detectErc1155Claimable(),this.claimWithConditions=this.detectErc1155ClaimableWithConditions(),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){let[n,a]=await Promise.all([this.contractWrapper.read("totalSupply",[e]).catch(()=>la.BigNumber.from(0)),this.getTokenMetadata(e).catch(()=>({id:e.toString(),uri:"",...tE}))]);return{owner:la.constants.AddressZero,metadata:a,type:"ERC1155",supply:n.toString()}}async totalSupply(e){if(k0(this.contractWrapper,"ERC1155Supply"))return await this.contractWrapper.read("totalSupply",[e]);throw new J1(uG)}async balanceOf(e,n){return await this.contractWrapper.read("balanceOf",[await Oe(e),n])}async balance(e){return await this.balanceOf(await this.contractWrapper.getSignerAddress(),e)}async isApproved(e,n){return await this.contractWrapper.read("isApprovedForAll",[await Oe(e),await Oe(n)])}async nextTokenIdToMint(){if(wr("nextTokenIdToMint",this.contractWrapper))return await this.contractWrapper.read("nextTokenIdToMint",[]);throw new Error("Contract requires the `nextTokenIdToMint` function available to determine the next token ID to mint")}async getAll(e){return O0(this.query,tm).all(e)}async totalCount(){return O0(this.query,tm).totalCount()}async totalCirculatingSupply(e){return O0(this.query,tm).totalCirculatingSupply(e)}async getOwned(e,n){return e&&(e=await Oe(e)),O0(this.query,tm).owned(e,n)}async getMintTransaction(e,n){return O0(this.mintable,em).getMintTransaction(e,n)}async getClaimTransaction(e,n,a,r){let f=this.claimWithConditions,i=this.claimCustom;if(f)return f.conditions.getClaimTransaction(e,n,a,r);if(i)return i.getClaimTransaction(e,n,a,r);throw new J1(hE)}get claimConditions(){return O0(this.claimWithConditions,pM).conditions}get signature(){return O0(this.signatureMintable,bM)}get revealer(){return O0(this.lazyMintable?.revealer,b9)}async getTokenMetadata(e){let n=await this.contractWrapper.read("uri",[e]);if(!n)throw new m9;return aM(e,n,this.storage)}detectErc1155Enumerable(){if(k0(this.contractWrapper,"ERC1155Enumerable"))return new v6e(this,this.contractWrapper)}detectErc1155Mintable(){if(k0(this.contractWrapper,"ERC1155Mintable"))return new x6e(this,this.contractWrapper,this.storage)}detectErc1155Burnable(){if(k0(this.contractWrapper,"ERC1155Burnable"))return new g6e(this.contractWrapper)}detectErc1155LazyMintable(){if(k0(this.contractWrapper,"ERC1155LazyMintableV1")||k0(this.contractWrapper,"ERC1155LazyMintableV2"))return new w6e(this,this.contractWrapper,this.storage)}detectErc1155SignatureMintable(){if(k0(this.contractWrapper,"ERC1155SignatureMintable"))return new lM(this.contractWrapper,this.storage)}detectErc1155Claimable(){if(k0(this.contractWrapper,"ERC1155ClaimCustom"))return new m6e(this.contractWrapper)}detectErc1155ClaimableWithConditions(){if(k0(this.contractWrapper,"ERC1155ClaimConditionsV1")||k0(this.contractWrapper,"ERC1155ClaimConditionsV2")||k0(this.contractWrapper,"ERC1155ClaimPhasesV1")||k0(this.contractWrapper,"ERC1155ClaimPhasesV2"))return new y6e(this.contractWrapper,this.storage)}}});var nm,pG=ce(()=>{"use strict";u();p();Da();uM();nm=class{constructor(e,n,a){ae(this,"transfer",me((()=>{var e=this;return async function(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0];return e.erc1155.transfer.prepare(n,a,r,f)}})()));ae(this,"transferBatch",me((()=>{var e=this;return async function(n,a,r,f){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[0];return e.erc1155.transferBatch.prepare(n,a,r,f,i)}})()));ae(this,"setApprovalForAll",me(async(e,n)=>this.erc1155.setApprovalForAll.prepare(e,n)));ae(this,"airdrop",me((()=>{var e=this;return async function(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0];return e.erc1155.airdrop.prepare(n,a,r,f)}})()));this.contractWrapper=e,this.storage=n,this.erc1155=new pE(this.contractWrapper,this.storage,a),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){return this.erc1155.get(e)}async totalSupply(e){return this.erc1155.totalSupply(e)}async balanceOf(e,n){return this.erc1155.balanceOf(e,n)}async balance(e){return this.erc1155.balance(e)}async isApproved(e,n){return this.erc1155.isApproved(e,n)}}});function Pnn(t){return d0(t in ur0,`chainId not supported by paper: ${t}`),ur0[t]}async function Lnn(t,e){let n=Pnn(e),r=await(await fetch(`${pr0}/register-contract?contractAddress=${t}&chain=${n}`)).json();return d0(r.result.id,"Contract is not registered with paper"),r.result.id}async function Nnn(t,e){let a=await(await fetch(`${pr0}/checkout-link-intent`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({contractId:t,...Fnn,...e,metadata:{...e.metadata,via_platform:"thirdweb"},hideNativeMint:!0,hidePaperWallet:!!e.walletAddress,hideExternalWallet:!0,hidePayWithCrypto:!0,usePaperKey:!1})})).json();return d0(a.checkoutLinkIntentUrl,"Failed to create checkout link intent"),a.checkoutLinkIntentUrl}var Bnn,Dnn,pr0,ur0,Fnn,am,hG=ce(()=>{"use strict";u();p();ln();ir();Bnn="https://paper.xyz/api",Dnn="2022-08-12",pr0=`${Bnn}/${Dnn}/platform/thirdweb`,ur0={[E0.Mainnet]:"Ethereum",[E0.Goerli]:"Goerli",[E0.Polygon]:"Polygon",[E0.Mumbai]:"Mumbai",[E0.Avalanche]:"Avalanche"};Fnn={expiresInMinutes:15,feeBearer:"BUYER",sendEmailOnSuccess:!0,redirectAfterPayment:!1};am=class{constructor(e){this.contractWrapper=e}async getCheckoutId(){return Lnn(this.contractWrapper.address,await this.contractWrapper.getChainID())}async isEnabled(){try{return!!await this.getCheckoutId()}catch{return!1}}async createLinkIntent(e){return await Nnn(await this.getCheckoutId(),e)}}});var hr0={};V0(hr0,{EditionDrop:()=>_6e});var mG,uwa,pwa,bwa,E6e,bG,_6e,br0=ce(()=>{"use strict";u();p();mG=Ee(Xe());ln();Da();Rf();or();X1();Ll();Fl();Gc();J8();uM();pG();hG();ir();uwa=Ee(Va()),pwa=Ee(ro());W0();bwa=Ee(Kc()),E6e=class{constructor(e){this.events=e}async getAllClaimerAddresses(e){let n=(await this.events.getEvents("TokensClaimed")).filter(a=>a.data&&mG.BigNumber.isBigNumber(a.data.tokenId)?a.data.tokenId.eq(e):!1);return Array.from(new Set(n.filter(a=>typeof a.data?.claimer=="string").map(a=>a.data.claimer)))}},bG=class bG extends nm{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"createBatch",me(async(n,a)=>this.erc1155.lazyMint.prepare(n,a)));ae(this,"claimTo",me((()=>{var n=this;return async function(a,r,f){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;return n.erc1155.claimTo.prepare(a,r,f,{checkERC20Allowance:i})}})()));ae(this,"claim",me((()=>{var n=this;return async function(a,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,i=await n.contractWrapper.getSignerAddress();return n.claimTo.prepare(i,a,r,f)}})()));ae(this,"burnTokens",me(async(n,a)=>this.erc1155.burn.prepare(n,a)));this.abi=bt.parse(i),this.metadata=new Wn(this.contractWrapper,yG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,bG.contractRoles),this.royalties=new Is(this.contractWrapper,this.metadata),this.sales=new Ss(this.contractWrapper),this.claimConditions=new dM(this.contractWrapper,this.metadata,this.storage),this.events=new Rn(this.contractWrapper),this.history=new E6e(this.events),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.checkout=new am(this.contractWrapper),this.owner=new ks(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async getAll(n){return this.erc1155.getAll(n)}async getOwned(n,a){return this.erc1155.getOwned(n,a)}async getTotalCount(){return this.erc1155.totalCount()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),mG.constants.AddressZero])}async getClaimTransaction(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;return this.erc1155.getClaimTransaction(n,a,r,{checkERC20Allowance:f})}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(bG,"contractRoles",Rs);_6e=bG});var mr0=D((vwa,Onn)=>{Onn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"batchFrozen",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"freezeBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getActiveClaimConditionId",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"supplyClaimedByWallet",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"saleRecipient",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditions",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setSaleRecipientForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"updateBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SaleRecipientForTokenUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"saleRecipient",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"BatchMintInvalidBatchId",inputs:[{name:"index",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintInvalidTokenId",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintMetadataFrozen",inputs:[{name:"batchId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"LazyMintInvalidAmount",inputs:[]},{type:"error",name:"LazyMintUnauthorized",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]}]});var yr0=D((wwa,Unn)=>{Unn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"getActiveClaimConditionId",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IDropClaimCondition_V2.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimTimestamp",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxWalletClaimCount",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"saleRecipient",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxWalletClaimCount",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setSaleRecipientForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setWalletClaimCount",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"_tokenURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"walletClaimCount",inputs:[{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SaleRecipientForTokenUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"saleRecipient",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!1,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});var vr0={};V0(vr0,{Edition:()=>A6e});var gr0,Dwa,Pwa,Fwa,gG,A6e,wr0=ce(()=>{"use strict";u();p();gr0=Ee(Xe());ln();Da();Rf();or();X1();Ll();Fl();Gc();J8();uM();pG();ir();Dwa=Ee(Va()),Pwa=Ee(ro());W0();Fwa=Ee(Kc()),gG=class gG extends nm{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"mint",me(async n=>this.erc1155.mint.prepare(n)));ae(this,"mintTo",me(async(n,a)=>this.erc1155.mintTo.prepare(n,a)));ae(this,"mintAdditionalSupply",me(async(n,a)=>this.erc1155.mintAdditionalSupply.prepare(n,a)));ae(this,"mintAdditionalSupplyTo",me(async(n,a,r)=>this.erc1155.mintAdditionalSupplyTo.prepare(n,a,r)));ae(this,"mintBatch",me(async n=>this.erc1155.mintBatch.prepare(n)));ae(this,"mintBatchTo",me(async(n,a)=>this.erc1155.mintBatchTo.prepare(n,a)));ae(this,"burn",me(async(n,a)=>this.erc1155.burn.prepare(n,a)));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,vG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,gG.contractRoles),this.royalties=new Is(this.contractWrapper,this.metadata),this.sales=new Ss(this.contractWrapper),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.signature=new lM(this.contractWrapper,this.storage,this.roles),this.owner=new ks(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async getAll(n){return this.erc1155.getAll(n)}async getOwned(n,a){return this.erc1155.getOwned(n,a)}async getTotalCount(){return this.erc1155.totalCount()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),gr0.constants.AddressZero])}async getMintTransaction(n,a){return this.erc1155.getMintTransaction(n,a)}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(gG,"contractRoles",Rs);A6e=gG});var Tr0=D((Hwa,Hnn)=>{Hnn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"freezeMetadata",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_primarySaleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"mintTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"},{name:"_amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"platformFeeRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"saleRecipientForToken",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setTokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"uriFrozen",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ITokenERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataFrozen",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataInvalidUrl",inputs:[]},{type:"error",name:"NFTMetadataUnauthorized",inputs:[]}]});async function hu(t,e,n,a,r){try{let f=(await Promise.resolve().then(()=>Ee(eE()))).default,i=new Z8.Contract(n,f,t),[s,o]=await Promise.all([i.supportsInterface(Vb),i.supportsInterface(Yb)]);if(s){let c=(await Promise.resolve().then(()=>Ee(lx()))).default,d=new Z8.Contract(n,c,t);if(await d.isApprovedForAll(r,e))return!0;let h;try{h=await d.getApproved(a)}catch{}return h?.toLowerCase()===e.toLowerCase()}else if(o){let c=(await Promise.resolve().then(()=>Ee(ux()))).default;return await new Z8.Contract(n,c,t).isApprovedForAll(r,e)}else return console.error("Contract does not implement ERC 1155 or ERC 721."),!1}catch(f){return console.error("Failed to check if token is approved",f),!1}}async function rm(t,e,n,a,r){let f=(await Promise.resolve().then(()=>Ee(eE()))).default,i=new ut(t.getSignerOrProvider(),n,f,t.options,t.storage),[s,o]=await Promise.all([i.read("supportsInterface",[Vb]),i.read("supportsInterface",[Yb])]);if(s){let c=(await Promise.resolve().then(()=>Ee(lx()))).default,d=new ut(t.getSignerOrProvider(),n,c,t.options,t.storage);await d.read("isApprovedForAll",[r,e])||(await d.read("getApproved",[a])).toLowerCase()===e.toLowerCase()||await d.sendTransaction("setApprovalForAll",[e,!0])}else if(o){let c=(await Promise.resolve().then(()=>Ee(ux()))).default,d=new ut(t.getSignerOrProvider(),n,c,t.options,t.storage);await d.read("isApprovedForAll",[r,e])||await d.sendTransaction("setApprovalForAll",[e,!0])}else throw Error("Contract must implement ERC 1155 or ERC 721.")}function C6e(t){switch(d0(t.assetContractAddress!==void 0&&t.assetContractAddress!==null,"Asset contract address is required"),d0(t.buyoutPricePerToken!==void 0&&t.buyoutPricePerToken!==null,"Buyout price is required"),d0(t.listingDurationInSeconds!==void 0&&t.listingDurationInSeconds!==null,"Listing duration is required"),d0(t.startTimestamp!==void 0&&t.startTimestamp!==null,"Start time is required"),d0(t.tokenId!==void 0&&t.tokenId!==null,"Token ID is required"),d0(t.quantity!==void 0&&t.quantity!==null,"Quantity is required"),t.type){case"NewAuctionListing":d0(t.reservePricePerToken!==void 0&&t.reservePricePerToken!==null,"Reserve price is required")}}async function wG(t,e,n){return{quantity:n.quantityDesired,pricePerToken:n.pricePerToken,currencyContractAddress:n.currency,buyerAddress:n.offeror,quantityDesired:n.quantityWanted,currencyValue:await Ja(t,n.currency,n.quantityWanted.mul(n.pricePerToken)),listingId:e}}function xr0(t,e,n){return n=Z8.BigNumber.from(n),t=Z8.BigNumber.from(t),e=Z8.BigNumber.from(e),t.eq(Z8.BigNumber.from(0))?!1:e.sub(t).mul(I6e).div(t).gte(n)}async function y9(t,e,n){let a=[];for(;e-t>Pi;)a.push(n(t,t+Pi-1)),t+=Pi;return a.push(n(t,e-1)),await Promise.all(a)}var Z8,yM=ce(()=>{"use strict";u();p();Z8=Ee(Xe());ir();Dl();ln();or()});function g9(t){return hf(t)?bf:t}var k6e=ce(()=>{"use strict";u();p();ln();or()});var o1,Er0=ce(()=>{"use strict";u();p();o1=function(t){return t[t.Direct=0]="Direct",t[t.Auction=1]="Auction",t}({})});var _r0={};V0(_r0,{Marketplace:()=>M6e});var ot,mTa,yTa,S6e,R6e,TG,M6e,Ar0=ce(()=>{"use strict";u();p();ot=Ee(Xe());ir();Dl();or();ln();yM();Da();Rf();X1();Fl();Gc();k6e();rd();lu();Er0();mTa=Ee(Va()),yTa=Ee(ro());W0();S6e=class{constructor(e,n){ae(this,"createListing",me(async e=>{C6e(e);let n=await Oe(e.assetContractAddress),a=await Oe(e.currencyContractAddress);await rm(this.contractWrapper,this.getAddress(),n,e.tokenId,await this.contractWrapper.getSignerAddress());let r=await ea(this.contractWrapper.getProvider(),e.buyoutPricePerToken,a),f=await ea(this.contractWrapper.getProvider(),e.reservePricePerToken,a),i=Math.floor(e.startTimestamp.getTime()/1e3),o=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;i({id:this.contractWrapper.parseLogs("ListingAdded",d?.logs)[0].args.listingId,receipt:d})});return c.setGasLimitMultiple(1.2),c}));ae(this,"createListingsBatch",me(async e=>{let n=(await Promise.all(e.map(r=>this.createListing.prepare(r)))).map(r=>r.encode()),a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n],parse:r=>this.contractWrapper.parseLogs("ListingAdded",r?.logs).map(i=>({id:i.args.listingId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));ae(this,"buyoutListing",me(async e=>{let n=await this.validateListing(ot.BigNumber.from(e)),a=await Di(this.contractWrapper.getProvider(),n.currencyContractAddress);return this.makeBid.prepare(e,ot.utils.formatUnits(n.buyoutPrice,a.decimals))}));ae(this,"makeBid",me(async(e,n)=>{let a=await this.validateListing(ot.BigNumber.from(e)),r=await ea(this.contractWrapper.getProvider(),n,a.currencyContractAddress);if(r.eq(ot.BigNumber.from(0)))throw new Error("Cannot make a bid with 0 value");let f=await this.contractWrapper.read("bidBufferBps",[]),i=await this.getWinningBid(e);if(i){let l=xr0(i.pricePerToken,r,f);d0(l,"Bid price is too low based on the current winning bid and the bid buffer")}else{let l=r,h=ot.BigNumber.from(a.reservePrice);d0(l.gte(h),"Bid price is too low based on reserve price")}let s=ot.BigNumber.from(a.quantity),o=r.mul(s),c=await this.contractWrapper.getCallOverrides()||{};await s1(this.contractWrapper,o,a.currencyContractAddress,c);let d=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"offer",args:[e,a.quantity,a.currencyContractAddress,r,ot.constants.MaxUint256],overrides:c});return d.setGasLimitMultiple(1.2),d}));ae(this,"cancelListing",me(async e=>{let n=await this.validateListing(ot.BigNumber.from(e)),a=ot.BigNumber.from(Math.floor(Date.now()/1e3)),r=ot.BigNumber.from(n.startTimeInEpochSeconds),f=await this.contractWrapper.read("winningBid",[e]);if(a.gt(r)&&f.offeror!==ot.constants.AddressZero)throw new gM(e.toString());let i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"closeAuction",args:[ot.BigNumber.from(e),await this.contractWrapper.getSignerAddress()]});return i.setGasLimitMultiple(1.2),i}));ae(this,"closeListing",me(async(e,n)=>{n||(n=await this.contractWrapper.getSignerAddress());let a=await this.validateListing(ot.BigNumber.from(e));try{let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"closeAuction",args:[ot.BigNumber.from(e),n]});return r.setGasLimitMultiple(1.2),r}catch(r){throw r.message.includes("cannot close auction before it has ended")?new mu(e.toString(),a.endTimeInEpochSeconds.toString()):r}}));ae(this,"executeSale",me(async e=>{let n=await this.validateListing(ot.BigNumber.from(e));try{let a=await this.getWinningBid(e);d0(a,"No winning bid found");let r=this.encoder.encode("closeAuction",[e,n.sellerAddress]),f=this.encoder.encode("closeAuction",[e,a.buyerAddress]),i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[r,f]});return i.setGasLimitMultiple(1.2),i}catch(a){throw a.message.includes("cannot close auction before it has ended")?new mu(e.toString(),n.endTimeInEpochSeconds.toString()):a}}));ae(this,"updateListing",me(async e=>{let n=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"updateListing",args:[e.id,e.quantity,e.reservePrice,e.buyoutPrice,e.currencyContractAddress,e.startTimeInEpochSeconds,e.endTimeInEpochSeconds]});return n.setGasLimitMultiple(1.2),n}));this.contractWrapper=e,this.storage=n,this.encoder=new st(e)}getAddress(){return this.contractWrapper.address}async getListing(e){let n=await this.contractWrapper.read("listings",[e]);if(n.listingId.toString()!==e.toString())throw new bu(this.getAddress(),e.toString());if(n.listingType!==o1.Auction)throw new mE(this.getAddress(),e.toString(),"Direct","Auction");return await this.mapListing(n)}async getWinningBid(e){await this.validateListing(ot.BigNumber.from(e));let n=await this.contractWrapper.read("winningBid",[e]);if(n.offeror!==ot.constants.AddressZero)return await wG(this.contractWrapper.getProvider(),ot.BigNumber.from(e),n)}async getWinner(e){let n=await this.validateListing(ot.BigNumber.from(e)),a=await this.contractWrapper.read("winningBid",[e]),r=ot.BigNumber.from(Math.floor(Date.now()/1e3)),f=ot.BigNumber.from(n.endTimeInEpochSeconds);if(r.gt(f)&&a.offeror!==ot.constants.AddressZero)return a.offeror;let o=(await new Rn(this.contractWrapper).getEvents("AuctionClosed")).find(c=>c.data.listingId.eq(ot.BigNumber.from(e)));if(!o)throw new Error(`Could not find auction with listingId ${e} in closed auctions`);return o.data.winningBidder}async getBidBufferBps(){return this.contractWrapper.read("bidBufferBps",[])}async getMinimumNextBid(e){let[n,a,r]=await Promise.all([this.getBidBufferBps(),this.getWinningBid(e),this.validateListing(ot.BigNumber.from(e))]),f=a?a.currencyValue.value:r.reservePrice,i=f.add(f.mul(n).div(1e4));return Ja(this.contractWrapper.getProvider(),r.currencyContractAddress,i)}async validateListing(e){try{return await this.getListing(e)}catch(n){throw console.error(`Error getting the listing with id ${e}`),n}}async mapListing(e){return{assetContractAddress:e.assetContract,buyoutPrice:ot.BigNumber.from(e.buyoutPricePerToken),currencyContractAddress:e.currency,buyoutCurrencyValuePerToken:await Ja(this.contractWrapper.getProvider(),e.currency,e.buyoutPricePerToken),id:e.listingId.toString(),tokenId:e.tokenId,quantity:e.quantity,startTimeInEpochSeconds:e.startTime,asset:await V8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),reservePriceCurrencyValuePerToken:await Ja(this.contractWrapper.getProvider(),e.currency,e.reservePricePerToken),reservePrice:ot.BigNumber.from(e.reservePricePerToken),endTimeInEpochSeconds:e.endTime,sellerAddress:e.tokenOwner,type:o1.Auction}}},R6e=class{constructor(e,n){ae(this,"createListing",me(async e=>{C6e(e);let n=await Oe(e.assetContractAddress),a=await Oe(e.currencyContractAddress);await rm(this.contractWrapper,this.getAddress(),n,e.tokenId,await this.contractWrapper.getSignerAddress());let r=await ea(this.contractWrapper.getProvider(),e.buyoutPricePerToken,a),f=Math.floor(e.startTimestamp.getTime()/1e3),s=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;f({id:this.contractWrapper.parseLogs("ListingAdded",c?.logs)[0].args.listingId,receipt:c})});return o.setGasLimitMultiple(1.2),o}));ae(this,"createListingsBatch",me(async e=>{let n=(await Promise.all(e.map(r=>this.createListing.prepare(r)))).map(r=>r.encode()),a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n],parse:r=>this.contractWrapper.parseLogs("ListingAdded",r?.logs).map(i=>({id:i.args.listingId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));ae(this,"makeOffer",me(async(e,n,a,r,f)=>{if(hf(a))throw new Error("You must use the wrapped native token address when making an offer with a native token");let i=await ea(this.contractWrapper.getProvider(),r,a);try{await this.getListing(e)}catch(h){throw console.error("Failed to get listing, err =",h),new Error(`Error getting the listing with id ${e}`)}let s=ot.BigNumber.from(n),o=ot.BigNumber.from(i).mul(s),c=await this.contractWrapper.getCallOverrides()||{};await s1(this.contractWrapper,o,a,c);let d=ot.constants.MaxUint256;f&&(d=ot.BigNumber.from(Math.floor(f.getTime()/1e3)));let l=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"offer",args:[e,n,a,i,d],overrides:c});return l.setGasLimitMultiple(1.2),l}));ae(this,"acceptOffer",me(async(e,n)=>{await this.validateListing(ot.BigNumber.from(e));let a=await Oe(n),r=await this.contractWrapper.read("offers",[e,a]),f=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"acceptOffer",args:[e,a,r.currency,r.pricePerToken]});return f.setGasLimitMultiple(1.2),f}));ae(this,"buyoutListing",me(async(e,n,a)=>{let r=await this.validateListing(ot.BigNumber.from(e)),{valid:f,error:i}=await this.isStillValidListing(r,n);if(!f)throw new Error(`Listing ${e} is no longer valid. ${i}`);let s=a||await this.contractWrapper.getSignerAddress(),o=ot.BigNumber.from(n),c=ot.BigNumber.from(r.buyoutPrice).mul(o),d=await this.contractWrapper.getCallOverrides()||{};await s1(this.contractWrapper,c,r.currencyContractAddress,d);let l=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"buy",args:[e,s,o,r.currencyContractAddress,c],overrides:d});return l.setGasLimitMultiple(1.2),l}));ae(this,"updateListing",me(async e=>{let n=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"updateListing",args:[e.id,e.quantity,e.buyoutPrice,e.buyoutPrice,await Oe(e.currencyContractAddress),e.startTimeInSeconds,e.secondsUntilEnd]});return n.setGasLimitMultiple(1.2),n}));ae(this,"cancelListing",me(async e=>{let n=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelDirectListing",args:[e]});return n.setGasLimitMultiple(1.2),n}));this.contractWrapper=e,this.storage=n}getAddress(){return this.contractWrapper.address}async getListing(e){let n=await this.contractWrapper.read("listings",[e]);if(n.assetContract===ot.constants.AddressZero)throw new bu(this.getAddress(),e.toString());if(n.listingType!==o1.Direct)throw new mE(this.getAddress(),e.toString(),"Auction","Direct");return await this.mapListing(n)}async getActiveOffer(e,n){await this.validateListing(ot.BigNumber.from(e)),d0(ot.utils.isAddress(n),"Address must be a valid address");let a=await this.contractWrapper.read("offers",[e,await Oe(n)]);if(a.offeror!==ot.constants.AddressZero)return await wG(this.contractWrapper.getProvider(),ot.BigNumber.from(e),a)}async validateListing(e){try{return await this.getListing(e)}catch(n){throw console.error(`Error getting the listing with id ${e}`),n}}async mapListing(e){return{assetContractAddress:e.assetContract,buyoutPrice:ot.BigNumber.from(e.buyoutPricePerToken),currencyContractAddress:e.currency,buyoutCurrencyValuePerToken:await Ja(this.contractWrapper.getProvider(),e.currency,e.buyoutPricePerToken),id:e.listingId.toString(),tokenId:e.tokenId,quantity:e.quantity,startTimeInSeconds:e.startTime,asset:await V8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),secondsUntilEnd:e.endTime,sellerAddress:e.tokenOwner,type:o1.Direct}}async isStillValidListing(e,n){if(!await hu(this.contractWrapper.getProvider(),this.getAddress(),e.assetContractAddress,e.tokenId,e.sellerAddress))return{valid:!1,error:`Token '${e.tokenId}' from contract '${e.assetContractAddress}' is not approved for transfer`};let r=this.contractWrapper.getProvider(),f=(await Promise.resolve().then(()=>Ee(eE()))).default,i=new ot.Contract(e.assetContractAddress,f,r),s=await i.supportsInterface(Vb),o=await i.supportsInterface(Yb);if(s){let c=(await Promise.resolve().then(()=>Ee(lx()))).default,d=new ot.Contract(e.assetContractAddress,c,r),l;try{l=await d.ownerOf(e.tokenId)}catch{}let h=l?.toLowerCase()===e.sellerAddress.toLowerCase();return{valid:h,error:h?void 0:`Seller is not the owner of Token '${e.tokenId}' from contract '${e.assetContractAddress} anymore'`}}else if(o){let c=(await Promise.resolve().then(()=>Ee(ux()))).default,h=(await new ot.Contract(e.assetContractAddress,c,r).balanceOf(e.sellerAddress,e.tokenId)).gte(n||e.quantity);return{valid:h,error:h?void 0:`Seller does not have enough balance of Token '${e.tokenId}' from contract '${e.assetContractAddress} to fulfill the listing`}}else return{valid:!1,error:"Contract does not implement ERC 1155 or ERC 721."}}},TG=class TG{constructor(e,n,a){ae(this,"getAll",this.getAllListings);ae(this,"buyoutListing",me(async(e,n,a)=>{let r=await this.contractWrapper.read("listings",[e]);if(r.listingId.toString()!==e.toString())throw new bu(this.getAddress(),e.toString());switch(r.listingType){case o1.Direct:return d0(n!==void 0,"quantityDesired is required when buying out a direct listing"),await this.direct.buyoutListing.prepare(e,n,a);case o1.Auction:return await this.auction.buyoutListing.prepare(e);default:throw Error(`Unknown listing type: ${r.listingType}`)}}));ae(this,"makeOffer",me(async(e,n,a)=>{let r=await this.contractWrapper.read("listings",[e]);if(r.listingId.toString()!==e.toString())throw new bu(this.getAddress(),e.toString());let f=await this.contractWrapper.getChainID();switch(r.listingType){case o1.Direct:return d0(a,"quantity is required when making an offer on a direct listing"),await this.direct.makeOffer.prepare(e,a,hf(r.currency)?fm[f].wrapped.address:r.currency,n);case o1.Auction:return await this.auction.makeBid.prepare(e,n);default:throw Error(`Unknown listing type: ${r.listingType}`)}}));ae(this,"setBidBufferBps",me(async e=>{await this.roles.verify(["admin"],await this.contractWrapper.getSignerAddress());let n=await this.getTimeBufferInSeconds();return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setAuctionBuffers",args:[n,ot.BigNumber.from(e)]})}));ae(this,"setTimeBufferInSeconds",me(async e=>{await this.roles.verify(["admin"],await this.contractWrapper.getSignerAddress());let n=await this.getBidBufferBps();return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setAuctionBuffers",args:[ot.BigNumber.from(e),n]})}));ae(this,"allowListingFromSpecificAssetOnly",me(async e=>{let n=[];return(await this.roles.get("asset")).includes(ot.constants.AddressZero)&&n.push(this.encoder.encode("revokeRole",[cr("asset"),ot.constants.AddressZero])),n.push(this.encoder.encode("grantRole",[cr("asset"),e])),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n]})}));ae(this,"allowListingFromAnyAsset",me(async()=>{let e=[],n=await this.roles.get("asset");for(let a in n)e.push(this.encoder.encode("revokeRole",[cr("asset"),a]));return e.push(this.encoder.encode("grantRole",[cr("asset"),ot.constants.AddressZero])),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[e]})}));let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(e,n,f,r,a);this._chainId=i,this.abi=bt.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,v9,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,TG.contractRoles),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.direct=new R6e(this.contractWrapper,this.storage),this.auction=new S6e(this.contractWrapper,this.storage),this.events=new Rn(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper)}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async getListing(e){let n=await this.contractWrapper.read("listings",[e]);if(n.assetContract===ot.constants.AddressZero)throw new bu(this.getAddress(),e.toString());switch(n.listingType){case o1.Auction:return await this.auction.mapListing(n);case o1.Direct:return await this.direct.mapListing(n);default:throw new Error(`Unknown listing type: ${n.listingType}`)}}async getActiveListings(e){let n=await this.getAllListingsNoFilter(!0),a=this.applyFilter(n,e),r=ot.BigNumber.from(Math.floor(Date.now()/1e3));return a.filter(f=>f.type===o1.Auction&&ot.BigNumber.from(f.endTimeInEpochSeconds).gt(r)&&ot.BigNumber.from(f.startTimeInEpochSeconds).lte(r)||f.type===o1.Direct&&ot.BigNumber.from(f.quantity).gt(0))}async getAllListings(e){let n=await this.getAllListingsNoFilter(!1);return this.applyFilter(n,e)}async getTotalCount(){return await this.contractWrapper.read("totalListings",[])}async isRestrictedToListerRoleOnly(){return!await this.contractWrapper.read("hasRole",[cr("lister"),ot.constants.AddressZero])}async getBidBufferBps(){return this.contractWrapper.read("bidBufferBps",[])}async getTimeBufferInSeconds(){return this.contractWrapper.read("timeBuffer",[])}async getOffers(e){let n=await this.events.getEvents("NewOffer",{order:"desc",filters:{listingId:e}});return await Promise.all(n.map(a=>wG(this.contractWrapper.getProvider(),ot.BigNumber.from(e),{quantityWanted:a.data.quantityWanted,pricePerToken:a.data.quantityWanted.gt(0)?a.data.totalOfferAmount.div(a.data.quantityWanted):a.data.totalOfferAmount,currency:a.data.currency,offeror:a.data.offeror})))}async getAllListingsNoFilter(e){return(await Promise.all(Array.from(Array((await this.contractWrapper.read("totalListings",[])).toNumber()).keys()).map(async a=>{let r;try{r=await this.getListing(a)}catch(f){if(f instanceof bu)return;console.warn(`Failed to get listing ${a}' - skipping. Try 'marketplace.getListing(${a})' to get the underlying error.`);return}if(r.type===o1.Auction)return r;if(e){let{valid:f}=await this.direct.isStillValidListing(r);if(!f)return}return r}))).filter(a=>a!==void 0)}applyFilter(e,n){let a=[...e],r=ot.BigNumber.from(n?.start||0).toNumber(),f=ot.BigNumber.from(n?.count||Pi).toNumber();return n&&(n.seller&&(a=a.filter(i=>i.sellerAddress.toString().toLowerCase()===n?.seller?.toString().toLowerCase())),n.tokenContract&&(a=a.filter(i=>i.assetContractAddress.toString().toLowerCase()===n?.tokenContract?.toString().toLowerCase())),n.tokenId!==void 0&&(a=a.filter(i=>i.tokenId.toString()===n?.tokenId?.toString())),a=a.filter((i,s)=>s>=r),a=a.slice(0,f)),a}async prepare(e,n,a){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:n,overrides:a})}async call(e,n,a){return this.contractWrapper.call(e,n,a)}};ae(TG,"contractRoles",yE);M6e=TG});var Cr0=D((xTa,znn)=>{znn.exports=[{type:"constructor",inputs:[{name:"_nativeTokenWrapper",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"MAX_BPS",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"acceptOffer",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_offeror",type:"address",internalType:"address"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bidBufferBps",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"buy",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_buyFor",type:"address",internalType:"address"},{name:"_quantityToBuy",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_totalPrice",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"cancelDirectListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"closeAuction",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_closeFor",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"createListing",inputs:[{name:"_params",type:"tuple",internalType:"struct IMarketplace.ListingParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"startTime",type:"uint256",internalType:"uint256"},{name:"secondsUntilEndTime",type:"uint256",internalType:"uint256"},{name:"quantityToList",type:"uint256",internalType:"uint256"},{name:"currencyToAccept",type:"address",internalType:"address"},{name:"reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"listingType",type:"uint8",internalType:"enum IMarketplace.ListingType"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"listings",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"tokenType",type:"uint8",internalType:"enum IMarketplace.TokenType"},{name:"listingType",type:"uint8",internalType:"enum IMarketplace.ListingType"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"offer",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_quantityWanted",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_expirationTimestamp",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"offers",inputs:[{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"quantityWanted",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"pure"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setAuctionBuffers",inputs:[{name:"_timeBuffer",type:"uint256",internalType:"uint256"},{name:"_bidBufferBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"timeBuffer",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"totalListings",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"updateListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_quantityToList",type:"uint256",internalType:"uint256"},{name:"_reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"_buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"_currencyToAccept",type:"address",internalType:"address"},{name:"_startTime",type:"uint256",internalType:"uint256"},{name:"_secondsUntilEndTime",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"winningBid",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"quantityWanted",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"AuctionBuffersUpdated",inputs:[{name:"timeBuffer",type:"uint256",indexed:!1,internalType:"uint256"},{name:"bidBufferBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"AuctionClosed",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"closer",type:"address",indexed:!0,internalType:"address"},{name:"cancelled",type:"bool",indexed:!0,internalType:"bool"},{name:"auctionCreator",type:"address",indexed:!1,internalType:"address"},{name:"winningBidder",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"ListingAdded",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"lister",type:"address",indexed:!0,internalType:"address"},{name:"listing",type:"tuple",indexed:!1,internalType:"struct IMarketplace.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"tokenType",type:"uint8",internalType:"enum IMarketplace.TokenType"},{name:"listingType",type:"uint8",internalType:"enum IMarketplace.ListingType"}]}],anonymous:!1},{type:"event",name:"ListingRemoved",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"listingCreator",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"ListingUpdated",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"listingCreator",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"NewOffer",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"listingType",type:"uint8",indexed:!0,internalType:"enum IMarketplace.ListingType"},{name:"quantityWanted",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalOfferAmount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"currency",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"NewSale",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"lister",type:"address",indexed:!0,internalType:"address"},{name:"buyer",type:"address",indexed:!1,internalType:"address"},{name:"quantityBought",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalPricePaid",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibMismatchedValue",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]}]});var pt,Ir0,co,gE,Wnn,vE,qnn,wE,B6e=ce(()=>{"use strict";u();p();pt=Ee(Xe());ir();k6e();or();rd();lu();ln();yM();Dl();Da();Pl();Yd();Rf();X1();Ir0=fe.object({assetContractAddress:da,tokenId:Xa,quantity:Xa.default(1),currencyContractAddress:da.default(bf),pricePerToken:ff,startTimestamp:u9.default(new Date),endTimestamp:Jb,isReservedListing:fe.boolean().default(!1)}),co=function(t){return t[t.UNSET=0]="UNSET",t[t.Created=1]="Created",t[t.Completed=2]="Completed",t[t.Cancelled=3]="Cancelled",t[t.Active=4]="Active",t[t.Expired=5]="Expired",t}({}),gE=class{constructor(e,n){ae(this,"featureName",im.name);ae(this,"createListing",me(async e=>{let n=await Ir0.parseAsync(e);await rm(this.contractWrapper,this.getAddress(),n.assetContractAddress,n.tokenId,await this.contractWrapper.getSignerAddress());let a=await ea(this.contractWrapper.getProvider(),n.pricePerToken,n.currencyContractAddress),f=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;n.startTimestamp.lt(f)&&(n.startTimestamp=pt.BigNumber.from(f));let i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createListing",args:[{assetContract:n.assetContractAddress,tokenId:n.tokenId,quantity:n.quantity,currency:g9(n.currencyContractAddress),pricePerToken:a,startTimestamp:n.startTimestamp,endTimestamp:n.endTimestamp,reserved:n.isReservedListing}],parse:s=>({id:this.contractWrapper.parseLogs("NewListing",s?.logs)[0].args.listingId,receipt:s})});return i.setGasLimitMultiple(1.2),i}));ae(this,"createListingsBatch",me(async e=>{let n=(await Promise.all(e.map(r=>this.createListing.prepare(r)))).map(r=>r.encode()),a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n],parse:r=>this.contractWrapper.parseLogs("NewListing",r?.logs).map(i=>({id:i.args.listingId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));ae(this,"updateListing",me(async(e,n)=>{let a=await Ir0.parseAsync(n);await rm(this.contractWrapper,this.getAddress(),a.assetContractAddress,a.tokenId,await this.contractWrapper.getSignerAddress());let r=await ea(this.contractWrapper.getProvider(),a.pricePerToken,a.currencyContractAddress),f=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"updateListing",args:[e,{assetContract:a.assetContractAddress,tokenId:a.tokenId,quantity:a.quantity,currency:g9(a.currencyContractAddress),pricePerToken:r,startTimestamp:a.startTimestamp,endTimestamp:a.endTimestamp,reserved:a.isReservedListing}],parse:i=>({id:this.contractWrapper.parseLogs("UpdatedListing",i?.logs)[0].args.listingId,receipt:i})});return f.setGasLimitMultiple(1.2),f}));ae(this,"cancelListing",me(async e=>{let n=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelListing",args:[e]});return n.setGasLimitMultiple(1.2),n}));ae(this,"buyFromListing",me(async(e,n,a)=>{a&&(a=await Oe(a));let r=await this.validateListing(pt.BigNumber.from(e)),{valid:f,error:i}=await this.isStillValidListing(r,n);if(!f)throw new Error(`Listing ${e} is no longer valid. ${i}`);let s=a||await this.contractWrapper.getSignerAddress(),o=pt.BigNumber.from(n),c=pt.BigNumber.from(r.pricePerToken).mul(o),d=await this.contractWrapper.getCallOverrides()||{};await s1(this.contractWrapper,c,r.currencyContractAddress,d);let l=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"buyFromListing",args:[e,s,o,r.currencyContractAddress,c],overrides:d});return l.setGasLimitMultiple(1.2),l}));ae(this,"approveBuyerForReservedListing",me(async(e,n)=>{if(await this.isBuyerApprovedForListing(e,n))throw new Error(`Buyer ${n} already approved for listing ${e}.`);{let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveBuyerForListing",args:[e,n,!0]});return r.setGasLimitMultiple(1.2),r}}));ae(this,"revokeBuyerApprovalForReservedListing",me(async(e,n)=>{if(await this.isBuyerApprovedForListing(e,n)){let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveBuyerForListing",args:[e,n,!1]});return r.setGasLimitMultiple(1.2),r}else throw new Error(`Buyer ${n} not approved for listing ${e}.`)}));ae(this,"approveCurrencyForListing",me(async(e,n,a)=>{let r=await this.validateListing(pt.BigNumber.from(e)),f=await Oe(n);f===r.currencyContractAddress&&d0(a===r.pricePerToken,"Approving listing currency with a different price.");let i=await this.contractWrapper.read("currencyPriceForListing",[e,f]);d0(a===i,"Currency already approved with this price.");let s=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveCurrencyForListing",args:[e,f,a]});return s.setGasLimitMultiple(1.2),s}));ae(this,"revokeCurrencyApprovalForListing",me(async(e,n)=>{let a=await this.validateListing(pt.BigNumber.from(e)),r=await Oe(n);if(r===a.currencyContractAddress)throw new Error("Can't revoke approval for main listing currency.");let f=await this.contractWrapper.read("currencyPriceForListing",[e,r]);d0(!f.isZero(),"Currency not approved.");let i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveCurrencyForListing",args:[e,r,pt.BigNumber.from(0)]});return i.setGasLimitMultiple(1.2),i}));this.contractWrapper=e,this.storage=n,this.events=new Rn(this.contractWrapper),this.encoder=new st(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.estimator=new va(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async getTotalCount(){return await this.contractWrapper.read("totalListings",[])}async getAll(e){let n=await this.getTotalCount(),a=pt.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No listings exist on the contract.");let f=[];f=(await y9(a,r,(o,c)=>this.contractWrapper.read("getAllListings",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapListing(o)))}async getAllValid(e){let n=await this.getTotalCount(),a=pt.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No listings exist on the contract.");let f=[];f=(await y9(a,r,(o,c)=>this.contractWrapper.read("getAllValidListings",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapListing(o)))}async getListing(e){let n=await this.contractWrapper.read("getListing",[e]);return await this.mapListing(n)}async isBuyerApprovedForListing(e,n){if(!(await this.validateListing(pt.BigNumber.from(e))).isReservedListing)throw new Error(`Listing ${e} is not a reserved listing.`);return await this.contractWrapper.read("isBuyerApprovedForListing",[e,await Oe(n)])}async isCurrencyApprovedForListing(e,n){return await this.validateListing(pt.BigNumber.from(e)),await this.contractWrapper.read("isCurrencyApprovedForListing",[e,await Oe(n)])}async currencyPriceForListing(e,n){let a=await this.validateListing(pt.BigNumber.from(e)),r=await Oe(n);if(r===a.currencyContractAddress)return a.pricePerToken;if(!await this.isCurrencyApprovedForListing(e,r))throw new Error(`Currency ${r} is not approved for Listing ${e}.`);return await this.contractWrapper.read("currencyPriceForListing",[e,r])}async validateListing(e){try{return await this.getListing(e)}catch(n){throw console.error(`Error getting the listing with id ${e}`),n}}async mapListing(e){let n=co.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:n=pt.BigNumber.from(e.startTimestamp).gt(r)?co.Created:pt.BigNumber.from(e.endTimestamp).lt(r)?co.Expired:co.Active;break;case 2:n=co.Completed;break;case 3:n=co.Cancelled;break}return{assetContractAddress:e.assetContract,currencyContractAddress:e.currency,pricePerToken:e.pricePerToken.toString(),currencyValuePerToken:await Ja(this.contractWrapper.getProvider(),e.currency,e.pricePerToken),id:e.listingId.toString(),tokenId:e.tokenId.toString(),quantity:e.quantity.toString(),startTimeInSeconds:pt.BigNumber.from(e.startTimestamp).toNumber(),asset:await V8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),endTimeInSeconds:pt.BigNumber.from(e.endTimestamp).toNumber(),creatorAddress:e.listingCreator,isReservedListing:e.reserved,status:n}}async isStillValidListing(e,n){if(!await hu(this.contractWrapper.getProvider(),this.getAddress(),e.assetContractAddress,e.tokenId,e.creatorAddress))return{valid:!1,error:`Token '${e.tokenId}' from contract '${e.assetContractAddress}' is not approved for transfer`};let r=this.contractWrapper.getProvider(),f=(await Promise.resolve().then(()=>Ee(eE()))).default,i=new pt.Contract(e.assetContractAddress,f,r),s=await i.supportsInterface(Vb),o=await i.supportsInterface(Yb);if(s){let c=(await Promise.resolve().then(()=>Ee(lx()))).default,d=new pt.Contract(e.assetContractAddress,c,r),l;try{l=await d.ownerOf(e.tokenId)}catch{}let h=l?.toLowerCase()===e.creatorAddress.toLowerCase();return{valid:h,error:h?void 0:`Seller is not the owner of Token '${e.tokenId}' from contract '${e.assetContractAddress} anymore'`}}else if(o){let c=(await Promise.resolve().then(()=>Ee(ux()))).default,h=(await new pt.Contract(e.assetContractAddress,c,r).balanceOf(e.creatorAddress,e.tokenId)).gte(n||e.quantity);return{valid:h,error:h?void 0:`Seller does not have enough balance of Token '${e.tokenId}' from contract '${e.assetContractAddress} to fulfill the listing`}}else return{valid:!1,error:"Contract does not implement ERC 1155 or ERC 721."}}async applyFilter(e,n){let a=[...e];if(n){if(n.seller){let r=await Oe(n.seller);a=a.filter(f=>f.listingCreator.toString().toLowerCase()===r?.toString().toLowerCase())}if(n.tokenContract){let r=await Oe(n.tokenContract);a=a.filter(f=>f.assetContract.toString().toLowerCase()===r?.toString().toLowerCase())}n.tokenId!==void 0&&(a=a.filter(r=>r.tokenId.toString()===n?.tokenId?.toString()))}return n?.count&&n.count{let n=Wnn.parse(e);await rm(this.contractWrapper,this.getAddress(),n.assetContractAddress,n.tokenId,await this.contractWrapper.getSignerAddress());let a=await ea(this.contractWrapper.getProvider(),n.buyoutBidAmount,n.currencyContractAddress),r=await ea(this.contractWrapper.getProvider(),n.minimumBidAmount,n.currencyContractAddress),i=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;n.startTimestamp.lt(i)&&(n.startTimestamp=pt.BigNumber.from(i));let s=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createAuction",args:[{assetContract:n.assetContractAddress,tokenId:n.tokenId,quantity:n.quantity,currency:g9(n.currencyContractAddress),minimumBidAmount:r,buyoutBidAmount:a,timeBufferInSeconds:n.timeBufferInSeconds,bidBufferBps:n.bidBufferBps,startTimestamp:n.startTimestamp,endTimestamp:n.endTimestamp}],parse:o=>({id:this.contractWrapper.parseLogs("NewAuction",o.logs)[0].args.auctionId,receipt:o})});return s.setGasLimitMultiple(1.2),s}));ae(this,"createAuctionsBatch",me(async e=>{let n=(await Promise.all(e.map(r=>this.createAuction.prepare(r)))).map(r=>r.encode()),a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n],parse:r=>this.contractWrapper.parseLogs("NewAuction",r?.logs).map(i=>({id:i.args.auctionId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));ae(this,"buyoutAuction",me(async e=>{let n=await this.validateAuction(pt.BigNumber.from(e)),a=await Di(this.contractWrapper.getProvider(),n.currencyContractAddress);return this.makeBid.prepare(e,pt.utils.formatUnits(n.buyoutBidAmount,a.decimals))}));ae(this,"makeBid",me(async(e,n)=>{let a=await this.validateAuction(pt.BigNumber.from(e)),r=await ea(this.contractWrapper.getProvider(),n,a.currencyContractAddress);if(r.eq(pt.BigNumber.from(0)))throw new Error("Cannot make a bid with 0 value");if(pt.BigNumber.from(a.buyoutBidAmount).gt(0)&&r.gt(a.buyoutBidAmount))throw new Error("Bid amount must be less than or equal to buyoutBidAmount");if(await this.getWinningBid(e)){let o=await this.isWinningBid(e,r);d0(o,"Bid price is too low based on the current winning bid and the bid buffer")}else{let o=r,c=pt.BigNumber.from(a.minimumBidAmount);d0(o.gte(c),"Bid price is too low based on minimum bid amount")}let i=await this.contractWrapper.getCallOverrides()||{};await s1(this.contractWrapper,r,a.currencyContractAddress,i);let s=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"bidInAuction",overrides:i,args:[e,r]});return s.setGasLimitMultiple(1.2),s}));ae(this,"cancelAuction",me(async e=>{if(await this.getWinningBid(e))throw new Error("Bids already made.");let a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelAuction",args:[e]});return a.setGasLimitMultiple(1.2),a}));ae(this,"closeAuctionForBidder",me(async(e,n)=>{n||(n=await this.contractWrapper.getSignerAddress());let a=await this.validateAuction(pt.BigNumber.from(e));try{let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"collectAuctionTokens",args:[pt.BigNumber.from(e)]});return r.setGasLimitMultiple(1.2),r}catch(r){throw r.message.includes("Marketplace: auction still active.")?new mu(e.toString(),a.endTimeInSeconds.toString()):r}}));ae(this,"closeAuctionForSeller",me(async e=>{let n=await this.validateAuction(pt.BigNumber.from(e));try{let a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"collectAuctionPayout",args:[pt.BigNumber.from(e)]});return a.setGasLimitMultiple(1.2),a}catch(a){throw a.message.includes("Marketplace: auction still active.")?new mu(e.toString(),n.endTimeInSeconds.toString()):a}}));ae(this,"executeSale",me(async e=>{let n=await this.validateAuction(pt.BigNumber.from(e));try{let a=await this.getWinningBid(e);d0(a,"No winning bid found");let r=this.encoder.encode("collectAuctionPayout",[e]),f=this.encoder.encode("collectAuctionTokens",[e]),i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[[r,f]]});return i.setGasLimitMultiple(1.2),i}catch(a){throw a.message.includes("Marketplace: auction still active.")?new mu(e.toString(),n.endTimeInSeconds.toString()):a}}));this.contractWrapper=e,this.storage=n,this.events=new Rn(this.contractWrapper),this.encoder=new st(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.estimator=new va(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async getTotalCount(){return await this.contractWrapper.read("totalAuctions",[])}async getAll(e){let n=await this.getTotalCount(),a=pt.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No auctions exist on the contract.");let f=[];f=(await y9(a,r,(o,c)=>this.contractWrapper.read("getAllAuctions",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapAuction(o)))}async getAllValid(e){let n=await this.getTotalCount(),a=pt.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No auctions exist on the contract.");let f=[];f=(await y9(a,r,(o,c)=>this.contractWrapper.read("getAllValidAuctions",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapAuction(o)))}async getAuction(e){let n=await this.contractWrapper.read("getAuction",[e]);return await this.mapAuction(n)}async getWinningBid(e){await this.validateAuction(pt.BigNumber.from(e));let n=await this.contractWrapper.read("getWinningBid",[e]);if(n._bidder!==pt.constants.AddressZero)return await this.mapBid(e.toString(),n._bidder,n._currency,n._bidAmount.toString())}async isWinningBid(e,n){return await this.contractWrapper.read("isNewWinningBid",[e,n])}async getWinner(e){let n=await this.validateAuction(pt.BigNumber.from(e)),a=await this.contractWrapper.read("getWinningBid",[e]),r=pt.BigNumber.from(Math.floor(Date.now()/1e3)),f=pt.BigNumber.from(n.endTimeInSeconds);if(r.gt(f)&&a._bidder!==pt.constants.AddressZero)return a._bidder;let o=(await new Rn(this.contractWrapper).getEvents("AuctionClosed")).find(c=>c.data.auctionId.eq(pt.BigNumber.from(e)));if(!o)throw new Error(`Could not find auction with ID ${e} in closed auctions`);return o.data.winningBidder}async getBidBufferBps(e){return(await this.getAuction(e)).bidBufferBps}async getMinimumNextBid(e){let[n,a,r]=await Promise.all([this.getBidBufferBps(e),this.getWinningBid(e),this.validateAuction(pt.BigNumber.from(e))]),f=a?pt.BigNumber.from(a.bidAmount):pt.BigNumber.from(r.minimumBidAmount),i=f.add(f.mul(n).div(1e4));return Ja(this.contractWrapper.getProvider(),r.currencyContractAddress,i)}async validateAuction(e){try{return await this.getAuction(e)}catch(n){throw console.error(`Error getting the auction with id ${e}`),n}}async mapAuction(e){let n=co.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:n=pt.BigNumber.from(e.startTimestamp).gt(r)?co.Created:pt.BigNumber.from(e.endTimestamp).lt(r)?co.Expired:co.Active;break;case 2:n=co.Completed;break;case 3:n=co.Cancelled;break}return{id:e.auctionId.toString(),creatorAddress:e.auctionCreator,assetContractAddress:e.assetContract,tokenId:e.tokenId.toString(),quantity:e.quantity.toString(),currencyContractAddress:e.currency,minimumBidAmount:e.minimumBidAmount.toString(),minimumBidCurrencyValue:await Ja(this.contractWrapper.getProvider(),e.currency,e.minimumBidAmount),buyoutBidAmount:e.buyoutBidAmount.toString(),buyoutCurrencyValue:await Ja(this.contractWrapper.getProvider(),e.currency,e.buyoutBidAmount),timeBufferInSeconds:pt.BigNumber.from(e.timeBufferInSeconds).toNumber(),bidBufferBps:pt.BigNumber.from(e.bidBufferBps).toNumber(),startTimeInSeconds:pt.BigNumber.from(e.startTimestamp).toNumber(),endTimeInSeconds:pt.BigNumber.from(e.endTimestamp).toNumber(),asset:await V8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),status:n}}async mapBid(e,n,a,r){let f=await Oe(n),i=await Oe(a);return{auctionId:e,bidderAddress:f,currencyContractAddress:i,bidAmount:r,bidAmountCurrencyValue:await Ja(this.contractWrapper.getProvider(),i,r)}}async applyFilter(e,n){let a=[...e];if(n){if(n.seller){let r=await Oe(n.seller);a=a.filter(f=>f.auctionCreator.toString().toLowerCase()===r?.toString().toLowerCase())}if(n.tokenContract){let r=await Oe(n.tokenContract);a=a.filter(f=>f.assetContract.toString().toLowerCase()===r?.toString().toLowerCase())}n.tokenId!==void 0&&(a=a.filter(r=>r.tokenId.toString()===n?.tokenId?.toString()))}return n?.count&&n.count{let n=await qnn.parseAsync(e),a=await this.contractWrapper.getChainID(),r=hf(n.currencyContractAddress)?fm[a].wrapped.address:n.currencyContractAddress,f=await ea(this.contractWrapper.getProvider(),n.totalPrice,r),i=await this.contractWrapper.getCallOverrides();return await s1(this.contractWrapper,f,r,i),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"makeOffer",args:[{assetContract:n.assetContractAddress,tokenId:n.tokenId,quantity:n.quantity,currency:r,totalPrice:f,expirationTimestamp:n.endTimestamp}],parse:s=>({id:this.contractWrapper.parseLogs("NewOffer",s?.logs)[0].args.offerId,receipt:s})})}));ae(this,"cancelOffer",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelOffer",args:[e]})));ae(this,"acceptOffer",me(async e=>{let n=await this.validateOffer(pt.BigNumber.from(e)),{valid:a,error:r}=await this.isStillValidOffer(n);if(!a)throw new Error(`Offer ${e} is no longer valid. ${r}`);let f=await this.contractWrapper.getCallOverrides()||{};return await rm(this.contractWrapper,this.getAddress(),n.assetContractAddress,n.tokenId,await this.contractWrapper.getSignerAddress()),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"acceptOffer",args:[e],overrides:f})}));this.contractWrapper=e,this.storage=n,this.events=new Rn(this.contractWrapper),this.encoder=new st(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.estimator=new va(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async getTotalCount(){return await this.contractWrapper.read("totalOffers",[])}async getAll(e){let n=await this.getTotalCount(),a=pt.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No offers exist on the contract.");let f=[];f=(await y9(a,r,(o,c)=>this.contractWrapper.read("getAllOffers",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapOffer(o)))}async getAllValid(e){let n=await this.getTotalCount(),a=pt.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No offers exist on the contract.");let f=[];f=(await y9(a,r,(o,c)=>this.contractWrapper.read("getAllValidOffers",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapOffer(o)))}async getOffer(e){let n=await this.contractWrapper.read("getOffer",[e]);return await this.mapOffer(n)}async validateOffer(e){try{return await this.getOffer(e)}catch(n){throw console.error(`Error getting the offer with id ${e}`),n}}async mapOffer(e){let n=co.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:n=pt.BigNumber.from(e.expirationTimestamp).lt(r)?co.Expired:co.Active;break;case 2:n=co.Completed;break;case 3:n=co.Cancelled;break}return{id:e.offerId.toString(),offerorAddress:e.offeror,assetContractAddress:e.assetContract,currencyContractAddress:e.currency,tokenId:e.tokenId.toString(),quantity:e.quantity.toString(),totalPrice:e.totalPrice.toString(),currencyValue:await Ja(this.contractWrapper.getProvider(),e.currency,e.totalPrice),asset:await V8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),endTimeInSeconds:pt.BigNumber.from(e.expirationTimestamp).toNumber(),status:n}}async isStillValidOffer(e){if(pt.BigNumber.from(Math.floor(Date.now()/1e3)).gt(e.endTimeInSeconds))return{valid:!1,error:`Offer with ID ${e.id} has expired`};let a=await this.contractWrapper.getChainID(),r=hf(e.currencyContractAddress)?fm[a].wrapped.address:e.currencyContractAddress,f=this.contractWrapper.getProvider(),i=(await Promise.resolve().then(()=>Ee(j1()))).default,s=new ut(f,r,i,{},this.storage);return(await s.read("balanceOf",[e.offerorAddress])).lt(e.totalPrice)?{valid:!1,error:`Offeror ${e.offerorAddress} doesn't have enough balance of token ${r}`}:(await s.read("allowance",[e.offerorAddress,this.getAddress()])).lt(e.totalPrice)?{valid:!1,error:`Offeror ${e.offerorAddress} hasn't approved enough amount of token ${r}`}:{valid:!0,error:""}}async applyFilter(e,n){let a=[...e];if(n){if(n.offeror){let r=await Oe(n.offeror);a=a.filter(f=>f.offeror.toString().toLowerCase()===r?.toString().toLowerCase())}if(n.tokenContract){let r=await Oe(n.tokenContract);a=a.filter(f=>f.assetContract.toString().toLowerCase()===r?.toString().toLowerCase())}n.tokenId!==void 0&&(a=a.filter(r=>r.tokenId.toString()===n?.tokenId?.toString()))}return n?.count&&n.countD6e});var $Ta,JTa,xG,D6e,Sr0=ce(()=>{"use strict";u();p();Pl();Rf();ln();or();X1();Fl();Gc();B6e();Da();ir();$Ta=Ee(Va()),JTa=Ee(ro());W0();xG=class xG{get directListings(){return O0(this.detectDirectListings(),im)}get englishAuctions(){return O0(this.detectEnglishAuctions(),sm)}get offers(){return O0(this.detectOffers(),om)}get chainId(){return this._chainId}constructor(e,n,a){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(e,n,f,r,a);this._chainId=i,this.abi=bt.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,v9,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,xG.contractRoles),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper)}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async prepare(e,n,a){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:n,overrides:a})}async call(e,n,a){return this.contractWrapper.call(e,n,a)}detectDirectListings(){if(k0(this.contractWrapper,"DirectListings"))return new gE(this.contractWrapper,this.storage)}detectEnglishAuctions(){if(k0(this.contractWrapper,"EnglishAuctions"))return new vE(this.contractWrapper,this.storage)}detectOffers(){if(k0(this.contractWrapper,"Offers"))return new wE(this.contractWrapper,this.storage)}};ae(xG,"contractRoles",yE);D6e=xG});var Rr0=D((nxa,jnn)=>{jnn.exports=[{type:"constructor",inputs:[{name:"_marketplaceV3Params",type:"tuple",internalType:"struct MarketplaceV3.MarketplaceConstructorParams",components:[{name:"extensions",type:"tuple[]",internalType:"struct IExtension.Extension[]",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]},{name:"royaltyEngineAddress",type:"address",internalType:"address"},{name:"nativeTokenWrapper",type:"address",internalType:"address"}]}],stateMutability:"nonpayable"},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"_disableFunctionInExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"},{name:"_functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"addExtension",inputs:[{name:"_extension",type:"tuple",internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"defaultExtensions",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"disableFunctionInExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"},{name:"_functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"enableFunctionInExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"},{name:"_function",type:"tuple",internalType:"struct IExtension.ExtensionFunction",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getAllExtensions",inputs:[],outputs:[{name:"allExtensions",type:"tuple[]",internalType:"struct IExtension.Extension[]",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],stateMutability:"view"},{type:"function",name:"getExtension",inputs:[{name:"extensionName",type:"string",internalType:"string"}],outputs:[{name:"",type:"tuple",internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getImplementationForFunction",inputs:[{name:"_functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getMetadataForFunction",inputs:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyalty",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"recipients",type:"address[]",internalType:"address payable[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"nonpayable"},{type:"function",name:"getRoyaltyEngineAddress",inputs:[],outputs:[{name:"royaltyEngineAddress",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint16",internalType:"uint16"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"removeExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"replaceExtension",inputs:[{name:"_extension",type:"tuple",internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyEngine",inputs:[{name:"_royaltyEngineAddress",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"ExtensionAdded",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"implementation",type:"address",indexed:!0,internalType:"address"},{name:"extension",type:"tuple",indexed:!1,internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],anonymous:!1},{type:"event",name:"ExtensionRemoved",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"extension",type:"tuple",indexed:!1,internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],anonymous:!1},{type:"event",name:"ExtensionReplaced",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"implementation",type:"address",indexed:!0,internalType:"address"},{name:"extension",type:"tuple",indexed:!1,internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FunctionDisabled",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"extMetadata",type:"tuple",indexed:!1,internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"FunctionEnabled",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"extFunction",type:"tuple",indexed:!1,internalType:"struct IExtension.ExtensionFunction",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]},{name:"extMetadata",type:"tuple",indexed:!1,internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyEngineUpdated",inputs:[{name:"previousAddress",type:"address",indexed:!0,internalType:"address"},{name:"newAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"InvalidCodeAtRange",inputs:[{name:"_size",type:"uint256",internalType:"uint256"},{name:"_start",type:"uint256",internalType:"uint256"},{name:"_end",type:"uint256",internalType:"uint256"}]},{type:"error",name:"WriteError",inputs:[]}]});async function EG(t,e,n){let a=t.getProvider(),r=(await Promise.resolve().then(()=>Ee(j1()))).default,f=new ut(a,e,r,{},t.storage),i=await t.getSignerAddress(),s=t.address;return(await f.read("allowance",[i,s])).gte(n)}var P6e=ce(()=>{"use strict";u();p();ln()});var lo,Mr0,id,TE=ce(()=>{"use strict";u();p();lo=Ee(Xe()),Mr0=Ee(Kc());ln();h9();or();Rf();Da();id=class{constructor(e,n,a){ae(this,"set",me((()=>{var e=this;return async function(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=n;if(e.isLegacySinglePhaseDrop(e.contractWrapper)||e.isNewSinglePhaseDrop(e.contractWrapper)){if(a=!0,n.length===0)r=[{startTime:new Date(0),currencyAddress:lo.constants.AddressZero,price:0,maxClaimableSupply:0,maxClaimablePerWallet:0,waitInSeconds:0,merkleRootHash:lo.utils.hexZeroPad([0],32),snapshot:[]}];else if(n.length>1)throw new Error("Single phase drop contract cannot have multiple claim conditions, only one is allowed")}(e.isNewSinglePhaseDrop(e.contractWrapper)||e.isNewMultiphaseDrop(e.contractWrapper))&&r.forEach(h=>{if(h.snapshot&&h.snapshot.length>0&&(h.maxClaimablePerWallet===void 0||h.maxClaimablePerWallet==="unlimited"))throw new Error(`maxClaimablePerWallet must be set to a specific value when an allowlist is set. Example: Set it to 0 to only allow addresses in the allowlist to claim the amount specified in the allowlist. -contract.claimConditions.set([{ snapshot: [{ address: '0x...', maxClaimable: 1 }], maxClaimablePerWallet: 0 }])`);if(h.snapshot&&h.snapshot.length>0&&h.maxClaimablePerWallet?.toString()==="0"&&h.snapshot.map(y=>typeof y=="string"?0:Number(y.maxClaimable?.toString()||0)).reduce((y,v)=>y+v,0)===0)throw new Error("maxClaimablePerWallet is set to 0, and all addresses in the allowlist have max claimable 0. This means that no one can claim.")});let{snapshotInfos:f,sortedConditions:i}=await tG(r,await e.getTokenDecimals(),e.contractWrapper.getProvider(),e.storage,e.getSnapshotFormatVersion()),s={};f.forEach(h=>{s[h.merkleRoot]=h.snapshotUri});let o=await e.metadata.get(),c=[];if(!(0,Mr0.default)(o.merkle,s)){let h=await e.metadata.parseInputMetadata({...o,merkle:s}),y=await e.metadata._parseAndUploadMetadata(h);if(wr("setContractURI",e.contractWrapper)){let v=new st(e.contractWrapper);c.push(v.encode("setContractURI",[y]))}else throw new Error("Setting a merkle root requires implementing ContractMetadata in your contract to support storing a merkle root.")}let d=e.contractWrapper,l=new st(d);if(e.isLegacySinglePhaseDrop(d)){let h=new st(d);c.push(h.encode("setClaimConditions",[aE(i[0]),a]))}else if(e.isLegacyMultiPhaseDrop(d))c.push(l.encode("setClaimConditions",[i.map(aE),a]));else if(e.isNewSinglePhaseDrop(d))c.push(l.encode("setClaimConditions",[rE(i[0]),a]));else if(e.isNewMultiphaseDrop(d))c.push(l.encode("setClaimConditions",[i.map(rE),a]));else throw new Error("Contract does not support claim conditions");if(wr("multicall",e.contractWrapper))return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"multicall",args:[c]});throw new Error("Contract does not support multicall")}})()));ae(this,"update",me(async(e,n)=>{let a=await this.getAll(),r=await nG(e,n,a);return await this.set.prepare(r)}));this.storage=a,this.contractWrapper=e,this.metadata=n}async getActive(e){let[n,a,r]=await Promise.all([this.get(),this.metadata.get(),this.getTokenDecimals()]);return await sE(n,r,this.contractWrapper.getProvider(),a.merkle||{},this.storage,e?.withAllowList||!1)}async get(e){if(this.isLegacySinglePhaseDrop(this.contractWrapper)){let n=await this.contractWrapper.read("claimCondition",[]);return fE(n)}else if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){let n=e!==void 0?e:await this.contractWrapper.read("getActiveClaimConditionId",[]),a=await this.contractWrapper.read("getClaimConditionById",[n]);return fE(a)}else if(this.isNewSinglePhaseDrop(this.contractWrapper)){let n=await this.contractWrapper.read("claimCondition",[]);return iE(n)}else if(this.isNewMultiphaseDrop(this.contractWrapper)){let n=e!==void 0?e:await this.contractWrapper.read("getActiveClaimConditionId",[]),a=await this.contractWrapper.read("getClaimConditionById",[n]);return iE(a)}else throw new Error("Contract does not support claim conditions")}async getAll(e){if(this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let[n,a]=await this.contractWrapper.read("claimCondition",[]),r=n.toNumber(),f=a.toNumber(),i=[];for(let d=r;dsE(d,o,this.contractWrapper.getProvider(),s.merkle,this.storage,e?.withAllowList||!1)))}else return[await this.getActive(e)]}async canClaim(e,n){return n&&(n=await Oe(n)),(await this.getClaimIneligibilityReasons(e,n)).length===0}async getClaimIneligibilityReasons(e,n){let a=[],r,f;if(n===void 0)try{n=await this.contractWrapper.getSignerAddress()}catch(h){console.warn("failed to get signer address",h)}if(!n)return[qn.NoWallet];let[i,s]=await Promise.all([Oe(n),this.getTokenDecimals()]),o=lo.utils.parseUnits(ff.parse(e),s);try{f=await this.getActive()}catch(h){return X8(h,"!CONDITION")||X8(h,"no active mint condition")||X8(h,"DropNoActiveCondition")?(a.push(qn.NoClaimConditionSet),a):(console.warn("failed to get active claim condition",h),a.push(qn.Unknown),a)}if(f.availableSupply!=="unlimited"&&lo.utils.parseUnits(f.availableSupply,s).lt(o))return a.push(qn.NotEnoughSupply),a;let d=lo.utils.stripZeros(f.merkleRootHash).length>0,l=null;if(d){if(l=await this.getClaimerProofs(i),!l&&(this.isLegacySinglePhaseDrop(this.contractWrapper)||this.isLegacyMultiPhaseDrop(this.contractWrapper)))return a.push(qn.AddressNotAllowed),a;if(l)try{let h=await this.prepareClaim(e,!1,s,i),y;if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){if(r=await this.contractWrapper.read("getActiveClaimConditionId",[]),[y]=await this.contractWrapper.read("verifyClaimMerkleProof",[r,i,e,h.proofs,h.maxClaimable]),!y)return a.push(qn.AddressNotAllowed),a}else if(this.isLegacySinglePhaseDrop(this.contractWrapper)){if([y]=await this.contractWrapper.read("verifyClaimMerkleProof",[i,e,{proof:h.proofs,maxQuantityInAllowlist:h.maxClaimable}]),!y)return a.push(qn.AddressNotAllowed),a}else this.isNewSinglePhaseDrop(this.contractWrapper)?await this.contractWrapper.read("verifyClaim",[i,e,h.currencyAddress,h.price,{proof:h.proofs,quantityLimitPerWallet:h.maxClaimable,currency:h.currencyAddressInProof,pricePerToken:h.priceInProof}]):this.isNewMultiphaseDrop(this.contractWrapper)&&(r=await this.contractWrapper.read("getActiveClaimConditionId",[]),await this.contractWrapper.read("verifyClaim",[r,i,e,h.currencyAddress,h.price,{proof:h.proofs,quantityLimitPerWallet:h.maxClaimable,currency:h.currencyAddressInProof,pricePerToken:h.priceInProof}]))}catch(h){switch(console.warn("Merkle proof verification failed:","reason"in h?h.reason||h.errorName:h),h.reason||h.errorName){case"!Qty":case"DropClaimExceedLimit":a.push(qn.OverMaxClaimablePerWallet);break;case"!PriceOrCurrency":case"DropClaimInvalidTokenPrice":a.push(qn.WrongPriceOrCurrency);break;case"!MaxSupply":case"DropClaimExceedMaxSupply":a.push(qn.NotEnoughSupply);break;case"cant claim yet":case"DropClaimNotStarted":a.push(qn.ClaimPhaseNotStarted);break;default:{a.push(qn.AddressNotAllowed);break}}return a}}if(this.isNewSinglePhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let h=lo.BigNumber.from(0),y=fd(f.maxClaimablePerWallet,s);try{h=await this.getSupplyClaimedByWallet(i)}catch{}if(l&&(y=fd(l.maxClaimable,s)),y.gt(0)&&y.lt(h.add(o)))return a.push(qn.OverMaxClaimablePerWallet),a;if((!d||d&&!l)&&(y.lte(h)||y.eq(0)))return a.push(qn.AddressNotAllowed),a}if(this.isLegacySinglePhaseDrop(this.contractWrapper)||this.isLegacyMultiPhaseDrop(this.contractWrapper)){let[h,y]=[lo.BigNumber.from(0),lo.BigNumber.from(0)];this.isLegacyMultiPhaseDrop(this.contractWrapper)?(r=await this.contractWrapper.read("getActiveClaimConditionId",[]),[h,y]=await this.contractWrapper.read("getClaimTimestamp",[r,i])):this.isLegacySinglePhaseDrop(this.contractWrapper)&&([h,y]=await this.contractWrapper.read("getClaimTimestamp",[i]));let v=lo.BigNumber.from(Date.now()).div(1e3);if(h.gt(0)&&v.lt(y))return y.eq(lo.constants.MaxUint256)?a.push(qn.AlreadyClaimed):a.push(qn.WaitBeforeNextClaimTransaction),a}if(f.price.gt(0)&&cG()){let h=f.price.mul(lo.BigNumber.from(e)),y=this.contractWrapper.getProvider();if(hf(f.currencyAddress))(await y.getBalance(i)).lt(h)&&a.push(qn.NotEnoughTokens);else{let v=(await Promise.resolve().then(()=>Ee(j1()))).default;(await new ut(y,f.currencyAddress,v,{},this.storage).read("balanceOf",[i])).lt(h)&&a.push(qn.NotEnoughTokens)}}return a}async getClaimerProofs(e,n){let r=(await this.get(n)).merkleRoot;if(lo.utils.stripZeros(r).length>0){let[i,s]=await Promise.all([this.metadata.get(),Oe(e)]);return await iM(s,r.toString(),i.merkle,this.contractWrapper.getProvider(),this.storage,this.getSnapshotFormatVersion())}else return null}async getSupplyClaimedByWallet(e){let n=await Oe(e);if(this.isNewSinglePhaseDrop(this.contractWrapper))return await this.contractWrapper.read("getSupplyClaimedByWallet",[n]);if(this.isNewMultiphaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("getActiveClaimConditionId",[]);return await this.contractWrapper.read("getSupplyClaimedByWallet",[a,n])}throw new Error("This contract does not support the getSupplyClaimedByWallet function")}async getTokenDecimals(){return k0(this.contractWrapper,"ERC20")?this.contractWrapper.read("decimals",[]):Promise.resolve(0)}async prepareClaim(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,[f,i]=await Promise.all([r||this.contractWrapper.getSignerAddress(),this.getActive()]);return eG(f,e,i,async()=>(await this.metadata.get()).merkle,a,this.contractWrapper,this.storage,n,this.getSnapshotFormatVersion())}async getClaimArguments(e,n,a){let r=await Oe(e);return this.isLegacyMultiPhaseDrop(this.contractWrapper)?[r,n,a.currencyAddress,a.price,a.proofs,a.maxClaimable]:this.isLegacySinglePhaseDrop(this.contractWrapper)?[r,n,a.currencyAddress,a.price,{proof:a.proofs,maxQuantityInAllowlist:a.maxClaimable},lo.utils.toUtf8Bytes("")]:[r,n,a.currencyAddress,a.price,{proof:a.proofs,quantityLimitPerWallet:a.maxClaimable,pricePerToken:a.priceInProof,currency:a.currencyAddressInProof},lo.utils.toUtf8Bytes("")]}async getClaimTransaction(e,n,a){if(a?.pricePerToken)throw new Error("Price per token is be set via claim conditions by calling `contract.erc721.claimConditions.set()`");let r=await this.prepareClaim(n,a?.checkERC20Allowance===void 0?!0:a.checkERC20Allowance,await this.getTokenDecimals());return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:await this.getClaimArguments(e,n,r),overrides:r.overrides})}isNewSinglePhaseDrop(e){return k0(e,"ERC721ClaimConditionsV2")||k0(e,"ERC20ClaimConditionsV2")}isNewMultiphaseDrop(e){return k0(e,"ERC721ClaimPhasesV2")||k0(e,"ERC20ClaimPhasesV2")}isLegacySinglePhaseDrop(e){return k0(e,"ERC721ClaimConditionsV1")||k0(e,"ERC20ClaimConditionsV1")}isLegacyMultiPhaseDrop(e){return k0(e,"ERC721ClaimPhasesV1")||k0(e,"ERC20ClaimPhasesV1")}getSnapshotFormatVersion(){return this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isLegacySinglePhaseDrop(this.contractWrapper)?$8.V1:$8.V2}}});function Gnn(t){return dr.utils.parseEther(ff.parse(t))}var dr,L6e,F6e,N6e,O6e,U6e,H6e,z6e,W6e,q6e,j6e,G6e,K6e,Q6e,Knn,Qnn,V6e,om,xE,vM=ce(()=>{"use strict";u();p();dr=Ee(Xe());ln();Pl();Rf();Dl();Da();TE();Ll();or();vx();lu();ir();rd();Yd();h9();L6e=class{constructor(e){ae(this,"featureName",wM.name);ae(this,"token",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[e]})));this.contractWrapper=e}},F6e=class{constructor(e,n,a){ae(this,"featureName",xM.name);ae(this,"to",me(async(e,n,a)=>{let r=await this.conditions.getClaimTransaction(e,n,a);return r.setParse(f=>{let s=this.contractWrapper.parseLogs("TokensClaimed",f?.logs)[0].args.startTokenId,o=s.add(n),c=[];for(let d=s;d.lt(o);d=d.add(1))c.push({id:d,receipt:f,data:()=>this.erc721.get(d)});return c}),r}));this.erc721=e,this.contractWrapper=n,this.storage=a;let r=new Wn(this.contractWrapper,Nl,this.storage);this.conditions=new id(this.contractWrapper,r,this.storage)}};N6e=class{constructor(e,n){ae(this,"featureName",_G.name);ae(this,"to",me(async(e,n,a)=>{let r=await this.contractWrapper.getSigner()?.getAddress();if(e!==r)throw new Error("Zora Drop: Destination address must match connected wallet address");if(a?.pricePerToken)throw new Error("Zora Drop: Custom pricePerToken is not supported. Price is automatically calculated");let i=(await this.getSaleDetails()).publicSalePrice,s=Gnn("0.000777"),o=dr.BigNumber.from(i).add(s).mul(n),c=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"purchase",args:[n],overrides:{value:o}});return c.setParse(d=>{let h=this.contractWrapper.parseLogs("Sale",d?.logs)[0].args.firstPurchasedTokenId,y=h.add(n),v=[];for(let S=h;S.lt(y);S=S.add(1))v.push({id:S,receipt:d,data:()=>this.erc721.get(S)});return v}),c}));this.erc721=e,this.contractWrapper=n}async getSaleDetails(){return this.contractWrapper.read("saleDetails",[])}},O6e=class{constructor(e,n){ae(this,"featureName",EE.name);ae(this,"to",me(async(e,n,a)=>{let r=await this.getClaimTransaction(e,n,a);return r.setParse(f=>{let s=this.contractWrapper.parseLogs("TokensClaimed",f?.logs)[0].args.startTokenId,o=s.add(n),c=[];for(let d=s;d.lt(o);d=d.add(1))c.push({id:d,receipt:f,data:()=>this.erc721.get(d)});return c}),r}));this.erc721=e,this.contractWrapper=n}async getClaimTransaction(e,n,a){let r={};return a&&a.pricePerToken&&(r=await oG(this.contractWrapper,a.pricePerToken,n,a.currencyAddress,a.checkERC20Allowance)),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:[e,n],overrides:r})}},U6e=class{constructor(e,n,a){ae(this,"featureName",EM.name);ae(this,"lazyMint",me(async(e,n)=>{let a=await this.erc721.nextTokenIdToMint(),r=await Bl(e,this.storage,a.toNumber(),n),f=Yb(r);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[r.length,f.endsWith("/")?f:`${f}/`,dr.utils.toUtf8Bytes("")],parse:i=>{let s=this.contractWrapper.parseLogs("TokensLazyMinted",i?.logs),o=s[0].args.startTokenId,c=s[0].args.endTokenId,d=[];for(let l=o;l.lte(c);l=l.add(1))d.push({id:l,receipt:i,data:()=>this.erc721.getTokenMetadata(l)});return d}})}));ae(this,"updateMetadata",me(async(e,n,a)=>{let r=await this.contractWrapper.read("getBaseURICount",[]);if(r.eq(0))throw new Error("No base URI set. Please set a base URI before updating metadata");let f=dr.BigNumber.from(e),i=dr.BigNumber.from(0),s=dr.BigNumber.from(0),o=0;for(let v=0;vS+i.toNumber()),d=await Promise.all(c.map(v=>this.erc721.getTokenMetadata(v))),l=[];for(let v=0;vthis.erc721.nextTokenIdToMint())}},H6e=class{constructor(e){ae(this,"featureName",cm.name);ae(this,"cancel",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancel",args:[e]})));ae(this,"revoke",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"revoke",args:[e]})));this.contractWrapper=e}},z6e=class{constructor(e,n){ae(this,"featureName",T9.name);ae(this,"update",me(async(e,n)=>{let a=await Y8(n,this.storage);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setTokenURI",args:[e,a]})}));this.contractWrapper=e,this.storage=n}},W6e=class{constructor(e,n,a){ae(this,"featureName",_M.name);ae(this,"to",me(async(e,n)=>{let[a,r]=await Promise.all([Bl(n,this.storage),Oe(e)]),f=new st(this.contractWrapper),i=a.map(s=>f.encode("mintTo",[r,s]));return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[i],parse:s=>{let o=this.contractWrapper.parseLogs("TokensMinted",s.logs);if(o.length===0||o.length{let d=c.args.tokenIdMinted;return{id:d,receipt:s,data:()=>this.erc721.get(d)}})}})}));this.erc721=e,this.contractWrapper=n,this.storage=a}},q6e=class{constructor(e,n,a){ae(this,"featureName",AM.name);ae(this,"to",me(async(e,n)=>{let[a,r]=await Promise.all([Y8(n,this.storage),Oe(e)]);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:[r,a],parse:f=>{let i=this.contractWrapper.parseLogs("Transfer",f?.logs);if(i.length===0)throw new Error("TransferEvent event not found");let s=i[0].args.tokenId;return{id:s,receipt:f,data:()=>this.erc721.get(s)}}})}));this.erc721=e,this.contractWrapper=n,this.storage=a,this.batch=this.detectErc721BatchMintable()}async getMintTransaction(e,n){return this.to.prepare(await Oe(e),n)}detectErc721BatchMintable(){if(k0(this.contractWrapper,"ERC721BatchMintable"))return new W6e(this.erc721,this.contractWrapper,this.storage)}},j6e=class{constructor(e,n){ae(this,"featureName",IM.name);ae(this,"set",me(async e=>{let n=o6e.parse(e);n.description=this.sanitizeJSONString(n.description);let a=[];Ab(n.image)?a.push(this.storage.upload(n.image)):typeof n.image=="string"?a.push(Promise.resolve(n.image)):a.push(Promise.resolve(void 0)),Ab(n.animation_url)?a.push(this.storage.upload(n.animation_url)):typeof n.animation_url=="string"?a.push(Promise.resolve(n.animation_url)):a.push(Promise.resolve(void 0));let[r,f]=await Promise.all(a);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setSharedMetadata",args:[{name:`${n.name||""}`,description:n.description||"",imageURI:r||"",animationURI:f||""}]})}));this.contractWrapper=e,this.storage=n}async get(){let e=await this.contractWrapper.read("sharedMetadata",[]);if(!e.every(n=>n===""))return{name:e.name,description:e.description,image:e.imageURI,animation_url:e.animationURI}}sanitizeJSONString(e){if(!e)return e;let n=JSON.stringify(e);return n.slice(1,n.length-1)}},G6e=class{constructor(e,n){ae(this,"featureName",AG.name);this.erc721=e,this.contractWrapper=n}async all(e,n){let a=await this.tokenIds(e);if(n){let r=n?.start||0,f=n?.count||Pi;a=a.slice(r,r+f)}return await Promise.all(a.map(r=>this.erc721.get(r.toString())))}async tokenIds(e){let n=await Oe(e||await this.contractWrapper.getSignerAddress()),a=await this.contractWrapper.read("balanceOf",[n]),r=Array.from(Array(a.toNumber()).keys());return await Promise.all(r.map(f=>this.contractWrapper.read("tokenOfOwnerByIndex",[n,f])))}},K6e=class{constructor(e,n){ae(this,"featureName",CG.name);this.erc721=e,this.contractWrapper=n}async all(e,n){let a=await this.tokenIds(e);if(n){let r=n?.start||0,f=n?.count||Pi;a=a.slice(r,r+f)}return await Promise.all(a.map(r=>this.erc721.get(r.toString())))}async tokenIds(e){let n=await Oe(e||await this.contractWrapper.getSignerAddress());return await this.contractWrapper.read("tokensOfOwner",[n])}},Q6e=class{constructor(e,n){ae(this,"featureName",w9.name);this.erc721=e,this.contractWrapper=n,this.owned=this.detectErc721Owned()}async all(e){let n=dr.BigNumber.from(0);wr("startTokenId",this.contractWrapper)&&(n=await this.contractWrapper.read("startTokenId",[]));let a=dr.BigNumber.from(e?.start||0).add(n).toNumber(),r=dr.BigNumber.from(e?.count||Pi).toNumber(),f=await this.erc721.nextTokenIdToMint(),i=Math.min(f.add(n).toNumber(),a+r);return await Promise.all([...Array(i-a).keys()].map(s=>this.erc721.get((a+s).toString())))}async allOwners(e){let n,a=dr.BigNumber.from(0);wr("startTokenId",this.contractWrapper)&&(a=await this.contractWrapper.read("startTokenId",[]));try{n=await this.erc721.totalClaimedSupply()}catch{n=await this.totalCount()}n=n.add(a);let r=[...new Array(n.toNumber()).keys()];if(e){let i=e?.start||0,s=e?.count||Pi;r=r.slice(i,i+s)}let f=await Promise.all(r.map(i=>this.erc721.ownerOf(i).catch(()=>dr.constants.AddressZero)));return r.map(i=>({tokenId:i,owner:f[i]})).filter(i=>i.owner!==dr.constants.AddressZero)}async totalCount(){return await this.erc721.nextTokenIdToMint()}async totalCirculatingSupply(){return await this.contractWrapper.read("totalSupply",[])}detectErc721Owned(){if(k0(this.contractWrapper,"ERC721Enumerable"))return new G6e(this.erc721,this.contractWrapper);if(k0(this.contractWrapper,"ERC721AQueryable"))return new K6e(this.erc721,this.contractWrapper)}},Knn=rG.extend({tierPriority:fe.array(fe.string()),royaltyRecipient:da.default(dr.constants.AddressZero),royaltyBps:Jb.default(0),quantity:Zi.default(1)}),Qnn=[{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"},{name:"data",type:"bytes"}],V6e=class{constructor(e,n,a){ae(this,"featureName",TM.name);ae(this,"createBatchWithTier",me(async(e,n,a)=>{let r=await this.erc721.nextTokenIdToMint(),f=await Bl(e,this.storage,r.toNumber(),a),i=Yb(f);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[f.length,i.endsWith("/")?i:`${i}/`,n,dr.utils.toUtf8Bytes("")],parse:s=>{let o=this.contractWrapper.parseLogs("TokensLazyMinted",s?.logs),c=o[0].args[1],d=o[0].args[2],l=[];for(let h=c;h.lte(d);h=h.add(1))l.push({id:h,receipt:s,data:()=>this.erc721.getTokenMetadata(h)});return l}})}));ae(this,"createDelayedRevealBatchWithTier",me(async(e,n,a,r,f)=>{if(!a)throw new Error("Password is required");let i=await this.storage.uploadBatch([Ml.parse(e)],{rewriteFileNames:{fileStartNumber:0}}),s=Yb(i),o=await this.erc721.nextTokenIdToMint(),c=await this.storage.uploadBatch(n.map(F=>Ml.parse(F)),{onProgress:f?.onProgress,rewriteFileNames:{fileStartNumber:o.toNumber()}}),d=Yb(c),l=await this.contractWrapper.read("getBaseURICount",[]),h=await this.contractWrapper.getChainID(),y=dr.utils.solidityKeccak256(["string","uint256","uint256","address"],[a,h,l,this.contractWrapper.address]),v=await this.contractWrapper.read("encryptDecrypt",[dr.utils.toUtf8Bytes(d),y]),S=dr.utils.solidityKeccak256(["bytes","bytes","uint256"],[dr.utils.toUtf8Bytes(d),y,h]),O=dr.utils.defaultAbiCoder.encode(["bytes","bytes32"],[v,S]);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[c.length,s.endsWith("/")?s:`${s}/`,r,O],parse:F=>{let z=this.contractWrapper.parseLogs("TokensLazyMinted",F?.logs),W=z[0].args[1],j=z[0].args[2],Q=[];for(let V=W;V.lte(j);V=V.add(1))Q.push({id:V,receipt:F,data:()=>this.erc721.getTokenMetadata(V)});return Q}})}));ae(this,"reveal",me(async(e,n)=>{if(!n)throw new Error("Password is required");let a=await this.contractWrapper.getChainID(),r=dr.utils.solidityKeccak256(["string","uint256","uint256","address"],[n,a,e,this.contractWrapper.address]);try{let f=await this.contractWrapper.callStatic().reveal(e,r);if(!f.includes("://")||!f.endsWith("/"))throw new Error("invalid password")}catch{throw new Error("invalid password")}return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"reveal",args:[e,r]})}));this.erc721=e,this.contractWrapper=n,this.storage=a}async getMetadataInTier(e){let a=(await this.contractWrapper.read("getMetadataForAllTiers",[])).find(f=>f.tier===e);if(!a)throw new Error("Tier not found in contract.");return await Promise.all(a.ranges.map((f,i)=>{let s=[],o=a.baseURIs[i];for(let c=f.startIdInclusive.toNumber();c{let i=[];for(let s=f.startIdInclusive.toNumber();sKnn.parseAsync(f))),a=await this.contractWrapper.getChainID(),r=this.contractWrapper.getSigner();return d0(r,"No signer available"),await Promise.all(n.map(async f=>{let i=await this.contractWrapper.signTypedData(r,{name:"SignatureAction",version:"1",chainId:a,verifyingContract:this.contractWrapper.address},{GenericRequest:Qnn},await this.mapPayloadToContractStruct(f));return{payload:f,signature:i.toString()}}))}async verify(e){let n=await this.mapPayloadToContractStruct(e.payload);return(await this.contractWrapper.read("verify",[n,e.signature]))[0]}async claimWithSignature(e){let n=await this.mapPayloadToContractStruct(e.payload),a=await ea(this.contractWrapper.getProvider(),e.payload.price,e.payload.currencyAddress),r=await this.contractWrapper.getCallOverrides();await s1(this.contractWrapper,a,e.payload.currencyAddress,r);let f=await this.contractWrapper.sendTransaction("claimWithSignature",[n,e.signature],r),i=this.contractWrapper.parseLogs("TokensClaimed",f?.logs),s=i[0].args.startTokenId,o=s.add(i[0].args.quantityClaimed),c=[];for(let d=s;d.lt(o);d=d.add(1))c.push({id:d,receipt:f,data:()=>this.erc721.get(d)});return c}async mapPayloadToContractStruct(e){let n=await ea(this.contractWrapper.getProvider(),e.price,e.currencyAddress),a=dr.utils.defaultAbiCoder.encode(["string[]","address","address","uint256","address","uint256","uint256","address"],[e.tierPriority,e.to,e.royaltyRecipient,e.royaltyBps,e.primarySaleRecipient,e.quantity,n,e.currencyAddress]);return{uid:e.uid,validityStartTimestamp:e.mintStartTime,validityEndTimestamp:e.mintEndTime,data:a}}},om=class{constructor(e,n){ae(this,"featureName",CM.name);ae(this,"mint",me(async e=>{let n=e.payload,a=e.signature,r=await this.contractWrapper.getCallOverrides(),f=i=>{let s=this.contractWrapper.parseLogs("TokensMintedWithSignature",i.logs);if(s.length===0)throw new Error("No MintWithSignature event found");return{id:s[0].args.tokenIdMinted,receipt:i}};if(await this.isLegacyNFTContract()){let i=await this.mapLegacyPayloadToContractStruct(n),s=i.price;return await s1(this.contractWrapper,s,n.currencyAddress,r),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[i,a],overrides:r,parse:f})}else{let i=await this.mapPayloadToContractStruct(n),s=i.pricePerToken.mul(i.quantity);return await s1(this.contractWrapper,s,n.currencyAddress,r),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[i,a],overrides:r,parse:f})}}));ae(this,"mintBatch",me(async e=>{let n=await this.isLegacyNFTContract(),a=(await Promise.all(e.map(i=>n?this.mapLegacyPayloadToContractStruct(i.payload):this.mapPayloadToContractStruct(i.payload)))).map((i,s)=>{let o=e[s],c=o.signature,d=o.payload.price;if(dr.BigNumber.from(d).gt(0))throw new Error("Can only batch free mints. For mints with a price, use regular mint()");return{message:i,signature:c}}),r=new st(this.contractWrapper),f=a.map(i=>n?r.encode("mintWithSignature",[i.message,i.signature]):r.encode("mintWithSignature",[i.message,i.signature]));if(wr("multicall",this.contractWrapper))return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[f],parse:i=>{let s=this.contractWrapper.parseLogs("TokensMintedWithSignature",i.logs);if(s.length===0)throw new Error("No MintWithSignature event found");return s.map(o=>({id:o.args.tokenIdMinted,receipt:i}))}});throw new Error("Multicall not available on this contract!")}));this.contractWrapper=e,this.storage=n}async verify(e){let n=await this.isLegacyNFTContract(),a=e.payload,r=e.signature,f,i;return n?(f=await this.mapLegacyPayloadToContractStruct(a),i=await this.contractWrapper.read("verify",[f,r])):(f=await this.mapPayloadToContractStruct(a),i=await this.contractWrapper.read("verify",[f,r])),i[0]}async generate(e){return(await this.generateBatch([e]))[0]}async generateBatch(e){let n=await this.isLegacyNFTContract(),a=await Promise.all(e.map(o=>tr0.parseAsync(o))),r=a.map(o=>o.metadata),f=await Bl(r,this.storage),i=await this.contractWrapper.getChainID(),s=this.contractWrapper.getSigner();return d0(s,"No signer available"),await Promise.all(a.map(async(o,c)=>{let d=f[c],l=await nr0.parseAsync({...o,uri:d}),h;return n?h=await this.contractWrapper.signTypedData(s,{name:"TokenERC721",version:"1",chainId:i,verifyingContract:this.contractWrapper.address},{MintRequest:rr0},await this.mapLegacyPayloadToContractStruct(l)):h=await this.contractWrapper.signTypedData(s,{name:"SignatureMintERC721",version:"1",chainId:i,verifyingContract:await this.contractWrapper.address},{MintRequest:ir0},await this.mapPayloadToContractStruct(l)),{payload:l,signature:h.toString()}}))}async mapPayloadToContractStruct(e){let n=await ea(this.contractWrapper.getProvider(),e.price,e.currencyAddress);return{to:e.to,royaltyRecipient:e.royaltyRecipient,royaltyBps:e.royaltyBps,primarySaleRecipient:e.primarySaleRecipient,uri:e.uri,quantity:e.quantity,pricePerToken:n,currency:e.currencyAddress,validityStartTimestamp:e.mintStartTime,validityEndTimestamp:e.mintEndTime,uid:e.uid}}async mapLegacyPayloadToContractStruct(e){let n=await ea(this.contractWrapper.getProvider(),e.price,e.currencyAddress);return{to:e.to,price:n,uri:e.uri,currency:e.currencyAddress,validityEndTimestamp:e.mintEndTime,validityStartTimestamp:e.mintStartTime,uid:e.uid,royaltyRecipient:e.royaltyRecipient,royaltyBps:e.royaltyBps,primarySaleRecipient:e.primarySaleRecipient}}async isLegacyNFTContract(){return k0(this.contractWrapper,"ERC721SignatureMintV1")}},xE=class{constructor(e,n,a){ae(this,"featureName",_E.name);ae(this,"transfer",me(async(e,n)=>{let[a,r]=await Promise.all([this.contractWrapper.getSignerAddress(),Oe(e)]);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transferFrom(address,address,uint256)",args:[a,r,n]})}));ae(this,"transferFrom",me(async(e,n,a)=>{let[r,f]=await Promise.all([Oe(e),Oe(n)]);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transferFrom(address,address,uint256)",args:[r,f,a]})}));ae(this,"setApprovalForAll",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setApprovalForAll",args:[await Oe(e),n]})));ae(this,"setApprovalForToken",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[await Oe(e),n]})));ae(this,"mint",me(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintTo",me(async(e,n)=>O0(this.mintable,AM).to.prepare(e,n)));ae(this,"mintBatch",me(async e=>this.mintBatchTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintBatchTo",me(async(e,n)=>O0(this.mintable?.batch,_M).to.prepare(e,n)));ae(this,"burn",me(async e=>O0(this.burnable,wM).token.prepare(e)));ae(this,"cancel",me(async e=>O0(this.loyaltyCard,cm).cancel.prepare(e)));ae(this,"revoke",me(async e=>O0(this.loyaltyCard,cm).revoke.prepare(e)));ae(this,"lazyMint",me(async(e,n)=>O0(this.lazyMintable,EM).lazyMint.prepare(e,n)));ae(this,"updateMetadata",me(async(e,n)=>this.lazyMintable?this.lazyMintable.updateMetadata.prepare(e,n):O0(this.updatableMetadata,T9).update.prepare(e,n)));ae(this,"claim",me(async(e,n)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,n)));ae(this,"claimTo",me(async(e,n,a)=>{let r=this.claimWithConditions,f=this.claimCustom,i=this.claimZora;if(r)return r.to.prepare(e,n,a);if(f)return f.to.prepare(e,n,a);if(i)return i.to.prepare(e,n,a);throw new J1(EE)}));this.contractWrapper=e,this.storage=n,this.query=this.detectErc721Enumerable(),this.mintable=this.detectErc721Mintable(),this.burnable=this.detectErc721Burnable(),this.lazyMintable=this.detectErc721LazyMintable(),this.tieredDropable=this.detectErc721TieredDrop(),this.signatureMintable=this.detectErc721SignatureMintable(),this.claimWithConditions=this.detectErc721ClaimableWithConditions(),this.claimCustom=this.detectErc721Claimable(),this.claimZora=this.detectErc721ClaimableZora(),this.erc721SharedMetadata=this.detectErc721SharedMetadata(),this.loyaltyCard=this.detectErc721LoyaltyCard(),this.updatableMetadata=this.detectErc721UpdatableMetadata(),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){let[n,a]=await Promise.all([this.ownerOf(e).catch(()=>dr.constants.AddressZero),this.getTokenMetadata(e).catch(()=>({id:e.toString(),uri:"",...tE}))]);return{owner:n,metadata:a,type:"ERC721",supply:"1"}}async ownerOf(e){return await this.contractWrapper.read("ownerOf",[e])}async balanceOf(e){return await this.contractWrapper.read("balanceOf",[await Oe(e)])}async balance(){return await this.balanceOf(await this.contractWrapper.getSignerAddress())}async isApproved(e,n){let[a,r]=await Promise.all([Oe(e),Oe(n)]);return await this.contractWrapper.read("isApprovedForAll",[a,r])}async getAll(e){return O0(this.query,w9).all(e)}async getAllOwners(e){return O0(this.query,w9).allOwners(e)}async totalCount(){return this.nextTokenIdToMint()}async totalCirculatingSupply(){return O0(this.query,w9).totalCirculatingSupply()}async getOwned(e,n){if(e&&(e=await Oe(e)),this.query?.owned)return this.query.owned.all(e,n);{let[a,r]=await Promise.all([e||this.contractWrapper.getSignerAddress(),this.getAllOwners(n)]),f=(r||[]).filter(i=>a?.toLowerCase()===i.owner?.toLowerCase());return await Promise.all(f.map(async i=>this.get(i.tokenId)))}}async getOwnedTokenIds(e){if(e&&(e=await Oe(e)),this.query?.owned)return this.query.owned.tokenIds(e);{let[n,a]=await Promise.all([e||this.contractWrapper.getSignerAddress(),this.getAllOwners()]);return(a||[]).filter(r=>n?.toLowerCase()===r.owner?.toLowerCase()).map(r=>dr.BigNumber.from(r.tokenId))}}async getMintTransaction(e,n){return this.mintTo.prepare(e,n)}async update(e,n){return this.updateMetadata(e,n)}async getClaimTransaction(e,n,a){let r=this.claimWithConditions,f=this.claimCustom;if(r)return r.conditions.getClaimTransaction(e,n,a);if(f)return f.getClaimTransaction(e,n,a);throw new J1(EE)}async totalClaimedSupply(){let e=this.contractWrapper;if(wr("totalMinted",e))return this.contractWrapper.read("totalMinted",[]);if(wr("nextTokenIdToClaim",e))return this.contractWrapper.read("nextTokenIdToClaim",[]);throw new Error("No function found on contract to get total claimed supply")}async totalUnclaimedSupply(){let[e,n]=await Promise.all([this.nextTokenIdToMint(),this.totalClaimedSupply()]);return e.sub(n)}get claimConditions(){return O0(this.claimWithConditions,xM).conditions}get tieredDrop(){return O0(this.tieredDropable,TM)}get signature(){return O0(this.signatureMintable,CM)}get revealer(){return O0(this.lazyMintable?.revealer,eh)}get sharedMetadata(){return O0(this.erc721SharedMetadata,IM)}async getTokenMetadata(e){let n=await this.contractWrapper.read("tokenURI",[e]);if(!n)throw new m9;return aM(e,n,this.storage)}async nextTokenIdToMint(){if(wr("nextTokenIdToMint",this.contractWrapper)){let e=await this.contractWrapper.read("nextTokenIdToMint",[]);return wr("startTokenId",this.contractWrapper)&&(e=e.sub(await this.contractWrapper.read("startTokenId",[]))),e}else{if(wr("totalSupply",this.contractWrapper))return await this.contractWrapper.read("totalSupply",[]);throw new Error("Contract requires either `nextTokenIdToMint` or `totalSupply` function available to determine the next token ID to mint")}}detectErc721Enumerable(){if(k0(this.contractWrapper,"ERC721Supply")||wr("nextTokenIdToMint",this.contractWrapper))return new Q6e(this,this.contractWrapper)}detectErc721Mintable(){if(k0(this.contractWrapper,"ERC721Mintable"))return new q6e(this,this.contractWrapper,this.storage)}detectErc721Burnable(){if(k0(this.contractWrapper,"ERC721Burnable"))return new L6e(this.contractWrapper)}detectErc721LazyMintable(){if(k0(this.contractWrapper,"ERC721LazyMintable"))return new U6e(this,this.contractWrapper,this.storage)}detectErc721TieredDrop(){if(k0(this.contractWrapper,"ERC721TieredDrop"))return new V6e(this,this.contractWrapper,this.storage)}detectErc721SignatureMintable(){if(k0(this.contractWrapper,"ERC721SignatureMintV1")||k0(this.contractWrapper,"ERC721SignatureMintV2"))return new om(this.contractWrapper,this.storage)}detectErc721ClaimableWithConditions(){if(k0(this.contractWrapper,"ERC721ClaimConditionsV1")||k0(this.contractWrapper,"ERC721ClaimConditionsV2")||k0(this.contractWrapper,"ERC721ClaimPhasesV1")||k0(this.contractWrapper,"ERC721ClaimPhasesV2"))return new F6e(this,this.contractWrapper,this.storage)}detectErc721Claimable(){if(k0(this.contractWrapper,"ERC721ClaimCustom"))return new O6e(this,this.contractWrapper)}detectErc721ClaimableZora(){if(k0(this.contractWrapper,"ERC721ClaimZora"))return new N6e(this,this.contractWrapper)}detectErc721SharedMetadata(){if(k0(this.contractWrapper,"ERC721SharedMetadata"))return new j6e(this.contractWrapper,this.storage)}detectErc721LoyaltyCard(){if(k0(this.contractWrapper,"ERC721LoyaltyCard"))return new H6e(this.contractWrapper)}detectErc721UpdatableMetadata(){if(k0(this.contractWrapper,"ERC721UpdatableMetadata"))return new z6e(this.contractWrapper,this.storage)}}});var yu,kM=ce(()=>{"use strict";u();p();ln();Da();vM();yu=class{constructor(e,n,a){ae(this,"transfer",me(async(e,n)=>this.erc721.transfer.prepare(e,n)));ae(this,"setApprovalForAll",me(async(e,n)=>this.erc721.setApprovalForAll.prepare(e,n)));ae(this,"setApprovalForToken",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[await Oe(e),n]})));this.contractWrapper=e,this.storage=n,this.erc721=new xE(this.contractWrapper,this.storage,a),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async getAll(e){return this.erc721.getAll(e)}async getOwned(e,n){return e&&(e=await Oe(e)),this.erc721.getOwned(e,n)}async getOwnedTokenIds(e){return e&&(e=await Oe(e)),this.erc721.getOwnedTokenIds(e)}async totalSupply(){return this.erc721.totalCirculatingSupply()}async get(e){return this.erc721.get(e)}async ownerOf(e){return this.erc721.ownerOf(e)}async balanceOf(e){return this.erc721.balanceOf(e)}async balance(){return this.erc721.balance()}async isApproved(e,n){return this.erc721.isApproved(e,n)}}});var Dr0={};V0(Dr0,{Multiwrap:()=>Y6e});var Br0,Zxa,eEa,nEa,IG,Y6e,Pr0=ce(()=>{"use strict";u();p();Br0=Ee(Xe());or();P6e();rd();ln();yM();Dl();Da();Rf();Ll();Gc();kM();ir();Zxa=Ee(Va()),eEa=Ee(ro());W0();nEa=Ee(Kc()),IG=class IG extends yu{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"wrap",me(async(n,a,r)=>{let[f,i,s]=await Promise.all([Y8(a,this.storage),this.toTokenStructList(n),Oe(r||await this.contractWrapper.getSignerAddress())]);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"wrap",args:[i,f,s],parse:o=>{let c=this.contractWrapper.parseLogs("TokensWrapped",o?.logs);if(c.length===0)throw new Error("TokensWrapped event not found");let d=c[0].args.tokenIdOfWrappedToken;return{id:d,receipt:o,data:()=>this.get(d)}}})}));ae(this,"unwrap",me(async(n,a)=>{let r=await Oe(a||await this.contractWrapper.getSignerAddress());return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"unwrap",args:[n,r]})}));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,$6e,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,IG.contractRoles),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.royalties=new Is(this.contractWrapper,this.metadata),this.owner=new ks(this.contractWrapper)}async getWrappedContents(n){let a=await this.contractWrapper.read("getWrappedContents",[n]),r=[],f=[],i=[];for(let s of a)switch(s.tokenType){case 0:{let o=await Di(this.contractWrapper.getProvider(),s.assetContract);r.push({contractAddress:s.assetContract,quantity:Br0.utils.formatUnits(s.totalAmount,o.decimals)});break}case 1:{f.push({contractAddress:s.assetContract,tokenId:s.tokenId});break}case 2:{i.push({contractAddress:s.assetContract,tokenId:s.tokenId,quantity:s.totalAmount.toString()});break}}return{erc20Tokens:r,erc721Tokens:f,erc1155Tokens:i}}async toTokenStructList(n){let a=[],r=this.contractWrapper.getProvider(),f=await this.contractWrapper.getSignerAddress();if(n.erc20Tokens)for(let i of n.erc20Tokens){let s=await ea(r,i.quantity,i.contractAddress);if(!await EG(this.contractWrapper,i.contractAddress,s))throw new Error(`ERC20 token with contract address "${i.contractAddress}" does not have enough allowance to transfer. +contract.claimConditions.set([{ snapshot: [{ address: '0x...', maxClaimable: 1 }], maxClaimablePerWallet: 0 }])`);if(h.snapshot&&h.snapshot.length>0&&h.maxClaimablePerWallet?.toString()==="0"&&h.snapshot.map(y=>typeof y=="string"?0:Number(y.maxClaimable?.toString()||0)).reduce((y,v)=>y+v,0)===0)throw new Error("maxClaimablePerWallet is set to 0, and all addresses in the allowlist have max claimable 0. This means that no one can claim.")});let{snapshotInfos:f,sortedConditions:i}=await tG(r,await e.getTokenDecimals(),e.contractWrapper.getProvider(),e.storage,e.getSnapshotFormatVersion()),s={};f.forEach(h=>{s[h.merkleRoot]=h.snapshotUri});let o=await e.metadata.get(),c=[];if(!(0,Mr0.default)(o.merkle,s)){let h=await e.metadata.parseInputMetadata({...o,merkle:s}),y=await e.metadata._parseAndUploadMetadata(h);if(wr("setContractURI",e.contractWrapper)){let v=new st(e.contractWrapper);c.push(v.encode("setContractURI",[y]))}else throw new Error("Setting a merkle root requires implementing ContractMetadata in your contract to support storing a merkle root.")}let d=e.contractWrapper,l=new st(d);if(e.isLegacySinglePhaseDrop(d)){let h=new st(d);c.push(h.encode("setClaimConditions",[aE(i[0]),a]))}else if(e.isLegacyMultiPhaseDrop(d))c.push(l.encode("setClaimConditions",[i.map(aE),a]));else if(e.isNewSinglePhaseDrop(d))c.push(l.encode("setClaimConditions",[rE(i[0]),a]));else if(e.isNewMultiphaseDrop(d))c.push(l.encode("setClaimConditions",[i.map(rE),a]));else throw new Error("Contract does not support claim conditions");if(wr("multicall",e.contractWrapper))return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"multicall",args:[c]});throw new Error("Contract does not support multicall")}})()));ae(this,"update",me(async(e,n)=>{let a=await this.getAll(),r=await nG(e,n,a);return await this.set.prepare(r)}));this.storage=a,this.contractWrapper=e,this.metadata=n}async getActive(e){let[n,a,r]=await Promise.all([this.get(),this.metadata.get(),this.getTokenDecimals()]);return await sE(n,r,this.contractWrapper.getProvider(),a.merkle||{},this.storage,e?.withAllowList||!1)}async get(e){if(this.isLegacySinglePhaseDrop(this.contractWrapper)){let n=await this.contractWrapper.read("claimCondition",[]);return fE(n)}else if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){let n=e!==void 0?e:await this.contractWrapper.read("getActiveClaimConditionId",[]),a=await this.contractWrapper.read("getClaimConditionById",[n]);return fE(a)}else if(this.isNewSinglePhaseDrop(this.contractWrapper)){let n=await this.contractWrapper.read("claimCondition",[]);return iE(n)}else if(this.isNewMultiphaseDrop(this.contractWrapper)){let n=e!==void 0?e:await this.contractWrapper.read("getActiveClaimConditionId",[]),a=await this.contractWrapper.read("getClaimConditionById",[n]);return iE(a)}else throw new Error("Contract does not support claim conditions")}async getAll(e){if(this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let[n,a]=await this.contractWrapper.read("claimCondition",[]),r=n.toNumber(),f=a.toNumber(),i=[];for(let d=r;dsE(d,o,this.contractWrapper.getProvider(),s.merkle,this.storage,e?.withAllowList||!1)))}else return[await this.getActive(e)]}async canClaim(e,n){return n&&(n=await Oe(n)),(await this.getClaimIneligibilityReasons(e,n)).length===0}async getClaimIneligibilityReasons(e,n){let a=[],r,f;if(n===void 0)try{n=await this.contractWrapper.getSignerAddress()}catch(h){console.warn("failed to get signer address",h)}if(!n)return[qn.NoWallet];let[i,s]=await Promise.all([Oe(n),this.getTokenDecimals()]),o=lo.utils.parseUnits(ff.parse(e),s);try{f=await this.getActive()}catch(h){return X8(h,"!CONDITION")||X8(h,"no active mint condition")||X8(h,"DropNoActiveCondition")?(a.push(qn.NoClaimConditionSet),a):(console.warn("failed to get active claim condition",h),a.push(qn.Unknown),a)}if(f.availableSupply!=="unlimited"&&lo.utils.parseUnits(f.availableSupply,s).lt(o))return a.push(qn.NotEnoughSupply),a;let d=lo.utils.stripZeros(f.merkleRootHash).length>0,l=null;if(d){if(l=await this.getClaimerProofs(i),!l&&(this.isLegacySinglePhaseDrop(this.contractWrapper)||this.isLegacyMultiPhaseDrop(this.contractWrapper)))return a.push(qn.AddressNotAllowed),a;if(l)try{let h=await this.prepareClaim(e,!1,s,i),y;if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){if(r=await this.contractWrapper.read("getActiveClaimConditionId",[]),[y]=await this.contractWrapper.read("verifyClaimMerkleProof",[r,i,e,h.proofs,h.maxClaimable]),!y)return a.push(qn.AddressNotAllowed),a}else if(this.isLegacySinglePhaseDrop(this.contractWrapper)){if([y]=await this.contractWrapper.read("verifyClaimMerkleProof",[i,e,{proof:h.proofs,maxQuantityInAllowlist:h.maxClaimable}]),!y)return a.push(qn.AddressNotAllowed),a}else this.isNewSinglePhaseDrop(this.contractWrapper)?await this.contractWrapper.read("verifyClaim",[i,e,h.currencyAddress,h.price,{proof:h.proofs,quantityLimitPerWallet:h.maxClaimable,currency:h.currencyAddressInProof,pricePerToken:h.priceInProof}]):this.isNewMultiphaseDrop(this.contractWrapper)&&(r=await this.contractWrapper.read("getActiveClaimConditionId",[]),await this.contractWrapper.read("verifyClaim",[r,i,e,h.currencyAddress,h.price,{proof:h.proofs,quantityLimitPerWallet:h.maxClaimable,currency:h.currencyAddressInProof,pricePerToken:h.priceInProof}]))}catch(h){switch(console.warn("Merkle proof verification failed:","reason"in h?h.reason||h.errorName:h),h.reason||h.errorName){case"!Qty":case"DropClaimExceedLimit":a.push(qn.OverMaxClaimablePerWallet);break;case"!PriceOrCurrency":case"DropClaimInvalidTokenPrice":a.push(qn.WrongPriceOrCurrency);break;case"!MaxSupply":case"DropClaimExceedMaxSupply":a.push(qn.NotEnoughSupply);break;case"cant claim yet":case"DropClaimNotStarted":a.push(qn.ClaimPhaseNotStarted);break;default:{a.push(qn.AddressNotAllowed);break}}return a}}if(this.isNewSinglePhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let h=lo.BigNumber.from(0),y=fd(f.maxClaimablePerWallet,s);try{h=await this.getSupplyClaimedByWallet(i)}catch{}if(l&&(y=fd(l.maxClaimable,s)),y.gt(0)&&y.lt(h.add(o)))return a.push(qn.OverMaxClaimablePerWallet),a;if((!d||d&&!l)&&(y.lte(h)||y.eq(0)))return a.push(qn.AddressNotAllowed),a}if(this.isLegacySinglePhaseDrop(this.contractWrapper)||this.isLegacyMultiPhaseDrop(this.contractWrapper)){let[h,y]=[lo.BigNumber.from(0),lo.BigNumber.from(0)];this.isLegacyMultiPhaseDrop(this.contractWrapper)?(r=await this.contractWrapper.read("getActiveClaimConditionId",[]),[h,y]=await this.contractWrapper.read("getClaimTimestamp",[r,i])):this.isLegacySinglePhaseDrop(this.contractWrapper)&&([h,y]=await this.contractWrapper.read("getClaimTimestamp",[i]));let v=lo.BigNumber.from(Date.now()).div(1e3);if(h.gt(0)&&v.lt(y))return y.eq(lo.constants.MaxUint256)?a.push(qn.AlreadyClaimed):a.push(qn.WaitBeforeNextClaimTransaction),a}if(f.price.gt(0)&&cG()){let h=f.price.mul(lo.BigNumber.from(e)),y=this.contractWrapper.getProvider();if(hf(f.currencyAddress))(await y.getBalance(i)).lt(h)&&a.push(qn.NotEnoughTokens);else{let v=(await Promise.resolve().then(()=>Ee(j1()))).default;(await new ut(y,f.currencyAddress,v,{},this.storage).read("balanceOf",[i])).lt(h)&&a.push(qn.NotEnoughTokens)}}return a}async getClaimerProofs(e,n){let r=(await this.get(n)).merkleRoot;if(lo.utils.stripZeros(r).length>0){let[i,s]=await Promise.all([this.metadata.get(),Oe(e)]);return await iM(s,r.toString(),i.merkle,this.contractWrapper.getProvider(),this.storage,this.getSnapshotFormatVersion())}else return null}async getSupplyClaimedByWallet(e){let n=await Oe(e);if(this.isNewSinglePhaseDrop(this.contractWrapper))return await this.contractWrapper.read("getSupplyClaimedByWallet",[n]);if(this.isNewMultiphaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("getActiveClaimConditionId",[]);return await this.contractWrapper.read("getSupplyClaimedByWallet",[a,n])}throw new Error("This contract does not support the getSupplyClaimedByWallet function")}async getTokenDecimals(){return k0(this.contractWrapper,"ERC20")?this.contractWrapper.read("decimals",[]):Promise.resolve(0)}async prepareClaim(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,[f,i]=await Promise.all([r||this.contractWrapper.getSignerAddress(),this.getActive()]);return eG(f,e,i,async()=>(await this.metadata.get()).merkle,a,this.contractWrapper,this.storage,n,this.getSnapshotFormatVersion())}async getClaimArguments(e,n,a){let r=await Oe(e);return this.isLegacyMultiPhaseDrop(this.contractWrapper)?[r,n,a.currencyAddress,a.price,a.proofs,a.maxClaimable]:this.isLegacySinglePhaseDrop(this.contractWrapper)?[r,n,a.currencyAddress,a.price,{proof:a.proofs,maxQuantityInAllowlist:a.maxClaimable},lo.utils.toUtf8Bytes("")]:[r,n,a.currencyAddress,a.price,{proof:a.proofs,quantityLimitPerWallet:a.maxClaimable,pricePerToken:a.priceInProof,currency:a.currencyAddressInProof},lo.utils.toUtf8Bytes("")]}async getClaimTransaction(e,n,a){if(a?.pricePerToken)throw new Error("Price per token is be set via claim conditions by calling `contract.erc721.claimConditions.set()`");let r=await this.prepareClaim(n,a?.checkERC20Allowance===void 0?!0:a.checkERC20Allowance,await this.getTokenDecimals());return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:await this.getClaimArguments(e,n,r),overrides:r.overrides})}isNewSinglePhaseDrop(e){return k0(e,"ERC721ClaimConditionsV2")||k0(e,"ERC20ClaimConditionsV2")}isNewMultiphaseDrop(e){return k0(e,"ERC721ClaimPhasesV2")||k0(e,"ERC20ClaimPhasesV2")}isLegacySinglePhaseDrop(e){return k0(e,"ERC721ClaimConditionsV1")||k0(e,"ERC20ClaimConditionsV1")}isLegacyMultiPhaseDrop(e){return k0(e,"ERC721ClaimPhasesV1")||k0(e,"ERC20ClaimPhasesV1")}getSnapshotFormatVersion(){return this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isLegacySinglePhaseDrop(this.contractWrapper)?$8.V1:$8.V2}}});function Gnn(t){return dr.utils.parseEther(ff.parse(t))}var dr,L6e,F6e,N6e,O6e,U6e,H6e,z6e,W6e,q6e,j6e,G6e,K6e,Q6e,Knn,Qnn,V6e,cm,xE,vM=ce(()=>{"use strict";u();p();dr=Ee(Xe());ln();Pl();Rf();Dl();Da();TE();Ll();or();vx();lu();ir();rd();Yd();h9();L6e=class{constructor(e){ae(this,"featureName",wM.name);ae(this,"token",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[e]})));this.contractWrapper=e}},F6e=class{constructor(e,n,a){ae(this,"featureName",xM.name);ae(this,"to",me(async(e,n,a)=>{let r=await this.conditions.getClaimTransaction(e,n,a);return r.setParse(f=>{let s=this.contractWrapper.parseLogs("TokensClaimed",f?.logs)[0].args.startTokenId,o=s.add(n),c=[];for(let d=s;d.lt(o);d=d.add(1))c.push({id:d,receipt:f,data:()=>this.erc721.get(d)});return c}),r}));this.erc721=e,this.contractWrapper=n,this.storage=a;let r=new Wn(this.contractWrapper,Nl,this.storage);this.conditions=new id(this.contractWrapper,r,this.storage)}};N6e=class{constructor(e,n){ae(this,"featureName",_G.name);ae(this,"to",me(async(e,n,a)=>{let r=await this.contractWrapper.getSigner()?.getAddress();if(e!==r)throw new Error("Zora Drop: Destination address must match connected wallet address");if(a?.pricePerToken)throw new Error("Zora Drop: Custom pricePerToken is not supported. Price is automatically calculated");let i=(await this.getSaleDetails()).publicSalePrice,s=Gnn("0.000777"),o=dr.BigNumber.from(i).add(s).mul(n),c=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"purchase",args:[n],overrides:{value:o}});return c.setParse(d=>{let h=this.contractWrapper.parseLogs("Sale",d?.logs)[0].args.firstPurchasedTokenId,y=h.add(n),v=[];for(let k=h;k.lt(y);k=k.add(1))v.push({id:k,receipt:d,data:()=>this.erc721.get(k)});return v}),c}));this.erc721=e,this.contractWrapper=n}async getSaleDetails(){return this.contractWrapper.read("saleDetails",[])}},O6e=class{constructor(e,n){ae(this,"featureName",EE.name);ae(this,"to",me(async(e,n,a)=>{let r=await this.getClaimTransaction(e,n,a);return r.setParse(f=>{let s=this.contractWrapper.parseLogs("TokensClaimed",f?.logs)[0].args.startTokenId,o=s.add(n),c=[];for(let d=s;d.lt(o);d=d.add(1))c.push({id:d,receipt:f,data:()=>this.erc721.get(d)});return c}),r}));this.erc721=e,this.contractWrapper=n}async getClaimTransaction(e,n,a){let r={};return a&&a.pricePerToken&&(r=await oG(this.contractWrapper,a.pricePerToken,n,a.currencyAddress,a.checkERC20Allowance)),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:[e,n],overrides:r})}},U6e=class{constructor(e,n,a){ae(this,"featureName",EM.name);ae(this,"lazyMint",me(async(e,n)=>{let a=await this.erc721.nextTokenIdToMint(),r=await Bl(e,this.storage,a.toNumber(),n),f=$b(r);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[r.length,f.endsWith("/")?f:`${f}/`,dr.utils.toUtf8Bytes("")],parse:i=>{let s=this.contractWrapper.parseLogs("TokensLazyMinted",i?.logs),o=s[0].args.startTokenId,c=s[0].args.endTokenId,d=[];for(let l=o;l.lte(c);l=l.add(1))d.push({id:l,receipt:i,data:()=>this.erc721.getTokenMetadata(l)});return d}})}));ae(this,"updateMetadata",me(async(e,n,a)=>{let r=await this.contractWrapper.read("getBaseURICount",[]);if(r.eq(0))throw new Error("No base URI set. Please set a base URI before updating metadata");let f=dr.BigNumber.from(e),i=dr.BigNumber.from(0),s=dr.BigNumber.from(0),o=0;for(let v=0;vk+i.toNumber()),d=await Promise.all(c.map(v=>this.erc721.getTokenMetadata(v))),l=[];for(let v=0;vthis.erc721.nextTokenIdToMint())}},H6e=class{constructor(e){ae(this,"featureName",dm.name);ae(this,"cancel",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancel",args:[e]})));ae(this,"revoke",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"revoke",args:[e]})));this.contractWrapper=e}},z6e=class{constructor(e,n){ae(this,"featureName",T9.name);ae(this,"update",me(async(e,n)=>{let a=await Y8(n,this.storage);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setTokenURI",args:[e,a]})}));this.contractWrapper=e,this.storage=n}},W6e=class{constructor(e,n,a){ae(this,"featureName",_M.name);ae(this,"to",me(async(e,n)=>{let[a,r]=await Promise.all([Bl(n,this.storage),Oe(e)]),f=new st(this.contractWrapper),i=a.map(s=>f.encode("mintTo",[r,s]));return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[i],parse:s=>{let o=this.contractWrapper.parseLogs("TokensMinted",s.logs);if(o.length===0||o.length{let d=c.args.tokenIdMinted;return{id:d,receipt:s,data:()=>this.erc721.get(d)}})}})}));this.erc721=e,this.contractWrapper=n,this.storage=a}},q6e=class{constructor(e,n,a){ae(this,"featureName",AM.name);ae(this,"to",me(async(e,n)=>{let[a,r]=await Promise.all([Y8(n,this.storage),Oe(e)]);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:[r,a],parse:f=>{let i=this.contractWrapper.parseLogs("Transfer",f?.logs);if(i.length===0)throw new Error("TransferEvent event not found");let s=i[0].args.tokenId;return{id:s,receipt:f,data:()=>this.erc721.get(s)}}})}));this.erc721=e,this.contractWrapper=n,this.storage=a,this.batch=this.detectErc721BatchMintable()}async getMintTransaction(e,n){return this.to.prepare(await Oe(e),n)}detectErc721BatchMintable(){if(k0(this.contractWrapper,"ERC721BatchMintable"))return new W6e(this.erc721,this.contractWrapper,this.storage)}},j6e=class{constructor(e,n){ae(this,"featureName",IM.name);ae(this,"set",me(async e=>{let n=o6e.parse(e);n.description=this.sanitizeJSONString(n.description);let a=[];Ab(n.image)?a.push(this.storage.upload(n.image)):typeof n.image=="string"?a.push(Promise.resolve(n.image)):a.push(Promise.resolve(void 0)),Ab(n.animation_url)?a.push(this.storage.upload(n.animation_url)):typeof n.animation_url=="string"?a.push(Promise.resolve(n.animation_url)):a.push(Promise.resolve(void 0));let[r,f]=await Promise.all(a);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setSharedMetadata",args:[{name:`${n.name||""}`,description:n.description||"",imageURI:r||"",animationURI:f||""}]})}));this.contractWrapper=e,this.storage=n}async get(){let e=await this.contractWrapper.read("sharedMetadata",[]);if(!e.every(n=>n===""))return{name:e.name,description:e.description,image:e.imageURI,animation_url:e.animationURI}}sanitizeJSONString(e){if(!e)return e;let n=JSON.stringify(e);return n.slice(1,n.length-1)}},G6e=class{constructor(e,n){ae(this,"featureName",AG.name);this.erc721=e,this.contractWrapper=n}async all(e,n){let a=await this.tokenIds(e);if(n){let r=n?.start||0,f=n?.count||Pi;a=a.slice(r,r+f)}return await Promise.all(a.map(r=>this.erc721.get(r.toString())))}async tokenIds(e){let n=await Oe(e||await this.contractWrapper.getSignerAddress()),a=await this.contractWrapper.read("balanceOf",[n]),r=Array.from(Array(a.toNumber()).keys());return await Promise.all(r.map(f=>this.contractWrapper.read("tokenOfOwnerByIndex",[n,f])))}},K6e=class{constructor(e,n){ae(this,"featureName",CG.name);this.erc721=e,this.contractWrapper=n}async all(e,n){let a=await this.tokenIds(e);if(n){let r=n?.start||0,f=n?.count||Pi;a=a.slice(r,r+f)}return await Promise.all(a.map(r=>this.erc721.get(r.toString())))}async tokenIds(e){let n=await Oe(e||await this.contractWrapper.getSignerAddress());return await this.contractWrapper.read("tokensOfOwner",[n])}},Q6e=class{constructor(e,n){ae(this,"featureName",w9.name);this.erc721=e,this.contractWrapper=n,this.owned=this.detectErc721Owned()}async all(e){let n=dr.BigNumber.from(0);wr("startTokenId",this.contractWrapper)&&(n=await this.contractWrapper.read("startTokenId",[]));let a=dr.BigNumber.from(e?.start||0).add(n).toNumber(),r=dr.BigNumber.from(e?.count||Pi).toNumber(),f=await this.erc721.nextTokenIdToMint(),i=Math.min(f.add(n).toNumber(),a+r);return await Promise.all([...Array(i-a).keys()].map(s=>this.erc721.get((a+s).toString())))}async allOwners(e){let n,a=dr.BigNumber.from(0);wr("startTokenId",this.contractWrapper)&&(a=await this.contractWrapper.read("startTokenId",[]));try{n=await this.erc721.totalClaimedSupply()}catch{n=await this.totalCount()}n=n.add(a);let r=[...new Array(n.toNumber()).keys()];if(e){let i=e?.start||0,s=e?.count||Pi;r=r.slice(i,i+s)}let f=await Promise.all(r.map(i=>this.erc721.ownerOf(i).catch(()=>dr.constants.AddressZero)));return r.map(i=>({tokenId:i,owner:f[i]})).filter(i=>i.owner!==dr.constants.AddressZero)}async totalCount(){return await this.erc721.nextTokenIdToMint()}async totalCirculatingSupply(){return await this.contractWrapper.read("totalSupply",[])}detectErc721Owned(){if(k0(this.contractWrapper,"ERC721Enumerable"))return new G6e(this.erc721,this.contractWrapper);if(k0(this.contractWrapper,"ERC721AQueryable"))return new K6e(this.erc721,this.contractWrapper)}},Knn=rG.extend({tierPriority:fe.array(fe.string()),royaltyRecipient:da.default(dr.constants.AddressZero),royaltyBps:Xb.default(0),quantity:Zi.default(1)}),Qnn=[{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"},{name:"data",type:"bytes"}],V6e=class{constructor(e,n,a){ae(this,"featureName",TM.name);ae(this,"createBatchWithTier",me(async(e,n,a)=>{let r=await this.erc721.nextTokenIdToMint(),f=await Bl(e,this.storage,r.toNumber(),a),i=$b(f);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[f.length,i.endsWith("/")?i:`${i}/`,n,dr.utils.toUtf8Bytes("")],parse:s=>{let o=this.contractWrapper.parseLogs("TokensLazyMinted",s?.logs),c=o[0].args[1],d=o[0].args[2],l=[];for(let h=c;h.lte(d);h=h.add(1))l.push({id:h,receipt:s,data:()=>this.erc721.getTokenMetadata(h)});return l}})}));ae(this,"createDelayedRevealBatchWithTier",me(async(e,n,a,r,f)=>{if(!a)throw new Error("Password is required");let i=await this.storage.uploadBatch([Ml.parse(e)],{rewriteFileNames:{fileStartNumber:0}}),s=$b(i),o=await this.erc721.nextTokenIdToMint(),c=await this.storage.uploadBatch(n.map(F=>Ml.parse(F)),{onProgress:f?.onProgress,rewriteFileNames:{fileStartNumber:o.toNumber()}}),d=$b(c),l=await this.contractWrapper.read("getBaseURICount",[]),h=await this.contractWrapper.getChainID(),y=dr.utils.solidityKeccak256(["string","uint256","uint256","address"],[a,h,l,this.contractWrapper.address]),v=await this.contractWrapper.read("encryptDecrypt",[dr.utils.toUtf8Bytes(d),y]),k=dr.utils.solidityKeccak256(["bytes","bytes","uint256"],[dr.utils.toUtf8Bytes(d),y,h]),O=dr.utils.defaultAbiCoder.encode(["bytes","bytes32"],[v,k]);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[c.length,s.endsWith("/")?s:`${s}/`,r,O],parse:F=>{let z=this.contractWrapper.parseLogs("TokensLazyMinted",F?.logs),W=z[0].args[1],j=z[0].args[2],Q=[];for(let V=W;V.lte(j);V=V.add(1))Q.push({id:V,receipt:F,data:()=>this.erc721.getTokenMetadata(V)});return Q}})}));ae(this,"reveal",me(async(e,n)=>{if(!n)throw new Error("Password is required");let a=await this.contractWrapper.getChainID(),r=dr.utils.solidityKeccak256(["string","uint256","uint256","address"],[n,a,e,this.contractWrapper.address]);try{let f=await this.contractWrapper.callStatic().reveal(e,r);if(!f.includes("://")||!f.endsWith("/"))throw new Error("invalid password")}catch{throw new Error("invalid password")}return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"reveal",args:[e,r]})}));this.erc721=e,this.contractWrapper=n,this.storage=a}async getMetadataInTier(e){let a=(await this.contractWrapper.read("getMetadataForAllTiers",[])).find(f=>f.tier===e);if(!a)throw new Error("Tier not found in contract.");return await Promise.all(a.ranges.map((f,i)=>{let s=[],o=a.baseURIs[i];for(let c=f.startIdInclusive.toNumber();c{let i=[];for(let s=f.startIdInclusive.toNumber();sKnn.parseAsync(f))),a=await this.contractWrapper.getChainID(),r=this.contractWrapper.getSigner();return d0(r,"No signer available"),await Promise.all(n.map(async f=>{let i=await this.contractWrapper.signTypedData(r,{name:"SignatureAction",version:"1",chainId:a,verifyingContract:this.contractWrapper.address},{GenericRequest:Qnn},await this.mapPayloadToContractStruct(f));return{payload:f,signature:i.toString()}}))}async verify(e){let n=await this.mapPayloadToContractStruct(e.payload);return(await this.contractWrapper.read("verify",[n,e.signature]))[0]}async claimWithSignature(e){let n=await this.mapPayloadToContractStruct(e.payload),a=await ea(this.contractWrapper.getProvider(),e.payload.price,e.payload.currencyAddress),r=await this.contractWrapper.getCallOverrides();await s1(this.contractWrapper,a,e.payload.currencyAddress,r);let f=await this.contractWrapper.sendTransaction("claimWithSignature",[n,e.signature],r),i=this.contractWrapper.parseLogs("TokensClaimed",f?.logs),s=i[0].args.startTokenId,o=s.add(i[0].args.quantityClaimed),c=[];for(let d=s;d.lt(o);d=d.add(1))c.push({id:d,receipt:f,data:()=>this.erc721.get(d)});return c}async mapPayloadToContractStruct(e){let n=await ea(this.contractWrapper.getProvider(),e.price,e.currencyAddress),a=dr.utils.defaultAbiCoder.encode(["string[]","address","address","uint256","address","uint256","uint256","address"],[e.tierPriority,e.to,e.royaltyRecipient,e.royaltyBps,e.primarySaleRecipient,e.quantity,n,e.currencyAddress]);return{uid:e.uid,validityStartTimestamp:e.mintStartTime,validityEndTimestamp:e.mintEndTime,data:a}}},cm=class{constructor(e,n){ae(this,"featureName",CM.name);ae(this,"mint",me(async e=>{let n=e.payload,a=e.signature,r=await this.contractWrapper.getCallOverrides(),f=i=>{let s=this.contractWrapper.parseLogs("TokensMintedWithSignature",i.logs);if(s.length===0)throw new Error("No MintWithSignature event found");return{id:s[0].args.tokenIdMinted,receipt:i}};if(await this.isLegacyNFTContract()){let i=await this.mapLegacyPayloadToContractStruct(n),s=i.price;return await s1(this.contractWrapper,s,n.currencyAddress,r),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[i,a],overrides:r,parse:f})}else{let i=await this.mapPayloadToContractStruct(n),s=i.pricePerToken.mul(i.quantity);return await s1(this.contractWrapper,s,n.currencyAddress,r),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[i,a],overrides:r,parse:f})}}));ae(this,"mintBatch",me(async e=>{let n=await this.isLegacyNFTContract(),a=(await Promise.all(e.map(i=>n?this.mapLegacyPayloadToContractStruct(i.payload):this.mapPayloadToContractStruct(i.payload)))).map((i,s)=>{let o=e[s],c=o.signature,d=o.payload.price;if(dr.BigNumber.from(d).gt(0))throw new Error("Can only batch free mints. For mints with a price, use regular mint()");return{message:i,signature:c}}),r=new st(this.contractWrapper),f=a.map(i=>n?r.encode("mintWithSignature",[i.message,i.signature]):r.encode("mintWithSignature",[i.message,i.signature]));if(wr("multicall",this.contractWrapper))return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[f],parse:i=>{let s=this.contractWrapper.parseLogs("TokensMintedWithSignature",i.logs);if(s.length===0)throw new Error("No MintWithSignature event found");return s.map(o=>({id:o.args.tokenIdMinted,receipt:i}))}});throw new Error("Multicall not available on this contract!")}));this.contractWrapper=e,this.storage=n}async verify(e){let n=await this.isLegacyNFTContract(),a=e.payload,r=e.signature,f,i;return n?(f=await this.mapLegacyPayloadToContractStruct(a),i=await this.contractWrapper.read("verify",[f,r])):(f=await this.mapPayloadToContractStruct(a),i=await this.contractWrapper.read("verify",[f,r])),i[0]}async generate(e){return(await this.generateBatch([e]))[0]}async generateBatch(e){let n=await this.isLegacyNFTContract(),a=await Promise.all(e.map(o=>tr0.parseAsync(o))),r=a.map(o=>o.metadata),f=await Bl(r,this.storage),i=await this.contractWrapper.getChainID(),s=this.contractWrapper.getSigner();return d0(s,"No signer available"),await Promise.all(a.map(async(o,c)=>{let d=f[c],l=await nr0.parseAsync({...o,uri:d}),h;return n?h=await this.contractWrapper.signTypedData(s,{name:"TokenERC721",version:"1",chainId:i,verifyingContract:this.contractWrapper.address},{MintRequest:rr0},await this.mapLegacyPayloadToContractStruct(l)):h=await this.contractWrapper.signTypedData(s,{name:"SignatureMintERC721",version:"1",chainId:i,verifyingContract:await this.contractWrapper.address},{MintRequest:ir0},await this.mapPayloadToContractStruct(l)),{payload:l,signature:h.toString()}}))}async mapPayloadToContractStruct(e){let n=await ea(this.contractWrapper.getProvider(),e.price,e.currencyAddress);return{to:e.to,royaltyRecipient:e.royaltyRecipient,royaltyBps:e.royaltyBps,primarySaleRecipient:e.primarySaleRecipient,uri:e.uri,quantity:e.quantity,pricePerToken:n,currency:e.currencyAddress,validityStartTimestamp:e.mintStartTime,validityEndTimestamp:e.mintEndTime,uid:e.uid}}async mapLegacyPayloadToContractStruct(e){let n=await ea(this.contractWrapper.getProvider(),e.price,e.currencyAddress);return{to:e.to,price:n,uri:e.uri,currency:e.currencyAddress,validityEndTimestamp:e.mintEndTime,validityStartTimestamp:e.mintStartTime,uid:e.uid,royaltyRecipient:e.royaltyRecipient,royaltyBps:e.royaltyBps,primarySaleRecipient:e.primarySaleRecipient}}async isLegacyNFTContract(){return k0(this.contractWrapper,"ERC721SignatureMintV1")}},xE=class{constructor(e,n,a){ae(this,"featureName",_E.name);ae(this,"transfer",me(async(e,n)=>{let[a,r]=await Promise.all([this.contractWrapper.getSignerAddress(),Oe(e)]);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transferFrom(address,address,uint256)",args:[a,r,n]})}));ae(this,"transferFrom",me(async(e,n,a)=>{let[r,f]=await Promise.all([Oe(e),Oe(n)]);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transferFrom(address,address,uint256)",args:[r,f,a]})}));ae(this,"setApprovalForAll",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setApprovalForAll",args:[await Oe(e),n]})));ae(this,"setApprovalForToken",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[await Oe(e),n]})));ae(this,"mint",me(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintTo",me(async(e,n)=>O0(this.mintable,AM).to.prepare(e,n)));ae(this,"mintBatch",me(async e=>this.mintBatchTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintBatchTo",me(async(e,n)=>O0(this.mintable?.batch,_M).to.prepare(e,n)));ae(this,"burn",me(async e=>O0(this.burnable,wM).token.prepare(e)));ae(this,"cancel",me(async e=>O0(this.loyaltyCard,dm).cancel.prepare(e)));ae(this,"revoke",me(async e=>O0(this.loyaltyCard,dm).revoke.prepare(e)));ae(this,"lazyMint",me(async(e,n)=>O0(this.lazyMintable,EM).lazyMint.prepare(e,n)));ae(this,"updateMetadata",me(async(e,n)=>this.lazyMintable?this.lazyMintable.updateMetadata.prepare(e,n):O0(this.updatableMetadata,T9).update.prepare(e,n)));ae(this,"claim",me(async(e,n)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,n)));ae(this,"claimTo",me(async(e,n,a)=>{let r=this.claimWithConditions,f=this.claimCustom,i=this.claimZora;if(r)return r.to.prepare(e,n,a);if(f)return f.to.prepare(e,n,a);if(i)return i.to.prepare(e,n,a);throw new J1(EE)}));this.contractWrapper=e,this.storage=n,this.query=this.detectErc721Enumerable(),this.mintable=this.detectErc721Mintable(),this.burnable=this.detectErc721Burnable(),this.lazyMintable=this.detectErc721LazyMintable(),this.tieredDropable=this.detectErc721TieredDrop(),this.signatureMintable=this.detectErc721SignatureMintable(),this.claimWithConditions=this.detectErc721ClaimableWithConditions(),this.claimCustom=this.detectErc721Claimable(),this.claimZora=this.detectErc721ClaimableZora(),this.erc721SharedMetadata=this.detectErc721SharedMetadata(),this.loyaltyCard=this.detectErc721LoyaltyCard(),this.updatableMetadata=this.detectErc721UpdatableMetadata(),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){let[n,a]=await Promise.all([this.ownerOf(e).catch(()=>dr.constants.AddressZero),this.getTokenMetadata(e).catch(()=>({id:e.toString(),uri:"",...tE}))]);return{owner:n,metadata:a,type:"ERC721",supply:"1"}}async ownerOf(e){return await this.contractWrapper.read("ownerOf",[e])}async balanceOf(e){return await this.contractWrapper.read("balanceOf",[await Oe(e)])}async balance(){return await this.balanceOf(await this.contractWrapper.getSignerAddress())}async isApproved(e,n){let[a,r]=await Promise.all([Oe(e),Oe(n)]);return await this.contractWrapper.read("isApprovedForAll",[a,r])}async getAll(e){return O0(this.query,w9).all(e)}async getAllOwners(e){return O0(this.query,w9).allOwners(e)}async totalCount(){return this.nextTokenIdToMint()}async totalCirculatingSupply(){return O0(this.query,w9).totalCirculatingSupply()}async getOwned(e,n){if(e&&(e=await Oe(e)),this.query?.owned)return this.query.owned.all(e,n);{let[a,r]=await Promise.all([e||this.contractWrapper.getSignerAddress(),this.getAllOwners(n)]),f=(r||[]).filter(i=>a?.toLowerCase()===i.owner?.toLowerCase());return await Promise.all(f.map(async i=>this.get(i.tokenId)))}}async getOwnedTokenIds(e){if(e&&(e=await Oe(e)),this.query?.owned)return this.query.owned.tokenIds(e);{let[n,a]=await Promise.all([e||this.contractWrapper.getSignerAddress(),this.getAllOwners()]);return(a||[]).filter(r=>n?.toLowerCase()===r.owner?.toLowerCase()).map(r=>dr.BigNumber.from(r.tokenId))}}async getMintTransaction(e,n){return this.mintTo.prepare(e,n)}async update(e,n){return this.updateMetadata(e,n)}async getClaimTransaction(e,n,a){let r=this.claimWithConditions,f=this.claimCustom;if(r)return r.conditions.getClaimTransaction(e,n,a);if(f)return f.getClaimTransaction(e,n,a);throw new J1(EE)}async totalClaimedSupply(){let e=this.contractWrapper;if(wr("totalMinted",e))return this.contractWrapper.read("totalMinted",[]);if(wr("nextTokenIdToClaim",e))return this.contractWrapper.read("nextTokenIdToClaim",[]);throw new Error("No function found on contract to get total claimed supply")}async totalUnclaimedSupply(){let[e,n]=await Promise.all([this.nextTokenIdToMint(),this.totalClaimedSupply()]);return e.sub(n)}get claimConditions(){return O0(this.claimWithConditions,xM).conditions}get tieredDrop(){return O0(this.tieredDropable,TM)}get signature(){return O0(this.signatureMintable,CM)}get revealer(){return O0(this.lazyMintable?.revealer,eh)}get sharedMetadata(){return O0(this.erc721SharedMetadata,IM)}async getTokenMetadata(e){let n=await this.contractWrapper.read("tokenURI",[e]);if(!n)throw new m9;return aM(e,n,this.storage)}async nextTokenIdToMint(){if(wr("nextTokenIdToMint",this.contractWrapper)){let e=await this.contractWrapper.read("nextTokenIdToMint",[]);return wr("startTokenId",this.contractWrapper)&&(e=e.sub(await this.contractWrapper.read("startTokenId",[]))),e}else{if(wr("totalSupply",this.contractWrapper))return await this.contractWrapper.read("totalSupply",[]);throw new Error("Contract requires either `nextTokenIdToMint` or `totalSupply` function available to determine the next token ID to mint")}}detectErc721Enumerable(){if(k0(this.contractWrapper,"ERC721Supply")||wr("nextTokenIdToMint",this.contractWrapper))return new Q6e(this,this.contractWrapper)}detectErc721Mintable(){if(k0(this.contractWrapper,"ERC721Mintable"))return new q6e(this,this.contractWrapper,this.storage)}detectErc721Burnable(){if(k0(this.contractWrapper,"ERC721Burnable"))return new L6e(this.contractWrapper)}detectErc721LazyMintable(){if(k0(this.contractWrapper,"ERC721LazyMintable"))return new U6e(this,this.contractWrapper,this.storage)}detectErc721TieredDrop(){if(k0(this.contractWrapper,"ERC721TieredDrop"))return new V6e(this,this.contractWrapper,this.storage)}detectErc721SignatureMintable(){if(k0(this.contractWrapper,"ERC721SignatureMintV1")||k0(this.contractWrapper,"ERC721SignatureMintV2"))return new cm(this.contractWrapper,this.storage)}detectErc721ClaimableWithConditions(){if(k0(this.contractWrapper,"ERC721ClaimConditionsV1")||k0(this.contractWrapper,"ERC721ClaimConditionsV2")||k0(this.contractWrapper,"ERC721ClaimPhasesV1")||k0(this.contractWrapper,"ERC721ClaimPhasesV2"))return new F6e(this,this.contractWrapper,this.storage)}detectErc721Claimable(){if(k0(this.contractWrapper,"ERC721ClaimCustom"))return new O6e(this,this.contractWrapper)}detectErc721ClaimableZora(){if(k0(this.contractWrapper,"ERC721ClaimZora"))return new N6e(this,this.contractWrapper)}detectErc721SharedMetadata(){if(k0(this.contractWrapper,"ERC721SharedMetadata"))return new j6e(this.contractWrapper,this.storage)}detectErc721LoyaltyCard(){if(k0(this.contractWrapper,"ERC721LoyaltyCard"))return new H6e(this.contractWrapper)}detectErc721UpdatableMetadata(){if(k0(this.contractWrapper,"ERC721UpdatableMetadata"))return new z6e(this.contractWrapper,this.storage)}}});var yu,kM=ce(()=>{"use strict";u();p();ln();Da();vM();yu=class{constructor(e,n,a){ae(this,"transfer",me(async(e,n)=>this.erc721.transfer.prepare(e,n)));ae(this,"setApprovalForAll",me(async(e,n)=>this.erc721.setApprovalForAll.prepare(e,n)));ae(this,"setApprovalForToken",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[await Oe(e),n]})));this.contractWrapper=e,this.storage=n,this.erc721=new xE(this.contractWrapper,this.storage,a),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async getAll(e){return this.erc721.getAll(e)}async getOwned(e,n){return e&&(e=await Oe(e)),this.erc721.getOwned(e,n)}async getOwnedTokenIds(e){return e&&(e=await Oe(e)),this.erc721.getOwnedTokenIds(e)}async totalSupply(){return this.erc721.totalCirculatingSupply()}async get(e){return this.erc721.get(e)}async ownerOf(e){return this.erc721.ownerOf(e)}async balanceOf(e){return this.erc721.balanceOf(e)}async balance(){return this.erc721.balance()}async isApproved(e,n){return this.erc721.isApproved(e,n)}}});var Dr0={};V0(Dr0,{Multiwrap:()=>Y6e});var Br0,Zxa,eEa,nEa,IG,Y6e,Pr0=ce(()=>{"use strict";u();p();Br0=Ee(Xe());or();P6e();rd();ln();yM();Dl();Da();Rf();Ll();Gc();kM();ir();Zxa=Ee(Va()),eEa=Ee(ro());W0();nEa=Ee(Kc()),IG=class IG extends yu{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"wrap",me(async(n,a,r)=>{let[f,i,s]=await Promise.all([Y8(a,this.storage),this.toTokenStructList(n),Oe(r||await this.contractWrapper.getSignerAddress())]);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"wrap",args:[i,f,s],parse:o=>{let c=this.contractWrapper.parseLogs("TokensWrapped",o?.logs);if(c.length===0)throw new Error("TokensWrapped event not found");let d=c[0].args.tokenIdOfWrappedToken;return{id:d,receipt:o,data:()=>this.get(d)}}})}));ae(this,"unwrap",me(async(n,a)=>{let r=await Oe(a||await this.contractWrapper.getSignerAddress());return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"unwrap",args:[n,r]})}));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,$6e,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,IG.contractRoles),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.royalties=new Is(this.contractWrapper,this.metadata),this.owner=new ks(this.contractWrapper)}async getWrappedContents(n){let a=await this.contractWrapper.read("getWrappedContents",[n]),r=[],f=[],i=[];for(let s of a)switch(s.tokenType){case 0:{let o=await Di(this.contractWrapper.getProvider(),s.assetContract);r.push({contractAddress:s.assetContract,quantity:Br0.utils.formatUnits(s.totalAmount,o.decimals)});break}case 1:{f.push({contractAddress:s.assetContract,tokenId:s.tokenId});break}case 2:{i.push({contractAddress:s.assetContract,tokenId:s.tokenId,quantity:s.totalAmount.toString()});break}}return{erc20Tokens:r,erc721Tokens:f,erc1155Tokens:i}}async toTokenStructList(n){let a=[],r=this.contractWrapper.getProvider(),f=await this.contractWrapper.getSignerAddress();if(n.erc20Tokens)for(let i of n.erc20Tokens){let s=await ea(r,i.quantity,i.contractAddress);if(!await EG(this.contractWrapper,i.contractAddress,s))throw new Error(`ERC20 token with contract address "${i.contractAddress}" does not have enough allowance to transfer. You can set allowance to the multiwrap contract to transfer these tokens by running: @@ -128,7 +128,7 @@ You can give approval the multiwrap contract to transfer this token by running: await sdk.getEdition("${i.contractAddress}").setApprovalForAll("${this.getAddress()}", true); -`);a.push({assetContract:i.contractAddress,totalAmount:i.quantity,tokenId:i.tokenId,tokenType:2})}return a}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(IG,"contractRoles",J6e);Y6e=IG});var Lr0=D((iEa,Vnn)=>{Vnn.exports=[{type:"constructor",inputs:[{name:"_nativeTokenWrapper",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getTokenCountOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getTokenOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct ITokenBundle.Token",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"view"},{type:"function",name:"getUriOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getWrappedContents",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenByIndex",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"unwrap",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"wrap",inputs:[{name:"_tokensToWrap",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"_uriForWrappedToken",type:"string",internalType:"string"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensUnwrapped",inputs:[{name:"unwrapper",type:"address",indexed:!0,internalType:"address"},{name:"recipientOfWrappedContents",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdOfWrappedToken",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensWrapped",inputs:[{name:"wrapper",type:"address",indexed:!0,internalType:"address"},{name:"recipientOfWrappedToken",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdOfWrappedToken",type:"uint256",indexed:!0,internalType:"uint256"},{name:"wrappedContents",type:"tuple[]",indexed:!1,internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibMismatchedValue",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]}]});var Nr0={};V0(Nr0,{NFTCollection:()=>X6e});var Fr0,vEa,wEa,xEa,kG,X6e,Or0=ce(()=>{"use strict";u();p();Fr0=Ee(Xe());ln();Da();Rf();or();X1();Ll();Fl();Gc();J8();kM();vM();ir();vEa=Ee(Va()),wEa=Ee(ro());W0();xEa=Ee(Kc()),kG=class kG extends yu{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"mint",me(async n=>this.erc721.mint.prepare(n)));ae(this,"mintTo",me(async(n,a)=>this.erc721.mintTo.prepare(n,a)));ae(this,"mintBatch",me(async n=>this.erc721.mintBatch.prepare(n)));ae(this,"mintBatchTo",me(async(n,a)=>this.erc721.mintBatchTo.prepare(n,a)));ae(this,"burn",me(n=>this.erc721.burn.prepare(n)));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,SG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,kG.contractRoles),this.royalties=new Is(this.contractWrapper,this.metadata),this.sales=new Ss(this.contractWrapper),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.signature=new om(this.contractWrapper,this.storage),this.owner=new ks(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),Fr0.constants.AddressZero])}async getMintTransaction(n,a){return this.erc721.getMintTransaction(n,a)}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(kG,"contractRoles",Rs);X6e=kG});var Ur0=D((CEa,Ynn)=>{Ynn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"freezeMetadata",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"mintTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_uri",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"tokenIdMinted",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"platformFeeRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setTokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenByIndex",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"uriFrozen",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataFrozen",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataInvalidUrl",inputs:[]},{type:"error",name:"NFTMetadataUnauthorized",inputs:[]}]});var Hr0={};V0(Hr0,{NFTDrop:()=>Z6e});var th,zEa,WEa,jEa,RG,Z6e,zr0=ce(()=>{"use strict";u();p();th=Ee(Xe());Dl();ln();Da();Rf();or();X1();Ll();Fl();Gc();J8();TE();kM();hG();ir();zEa=Ee(Va()),WEa=Ee(ro());W0();jEa=Ee(Kc()),RG=class RG extends yu{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"createBatch",me(async(n,a)=>this.erc721.lazyMint.prepare(n,a)));ae(this,"claimTo",me((()=>{var n=this;return async function(a,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return n.erc721.claimTo.prepare(a,r,{checkERC20Allowance:f})}})()));ae(this,"claim",me((()=>{var n=this;return async function(a){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n.claimTo.prepare(await n.contractWrapper.getSignerAddress(),a,r)}})()));ae(this,"burn",me(async n=>this.erc721.burn.prepare(n)));ae(this,"transfer",me(async(n,a)=>this.erc721.transfer.prepare(n,a)));ae(this,"setApprovalForAll",me(async(n,a)=>this.erc721.setApprovalForAll.prepare(n,a)));ae(this,"setApprovalForToken",me(async(n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[n,a]})));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,nh,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,RG.contractRoles),this.royalties=new Is(this.contractWrapper,this.metadata),this.sales=new Ss(this.contractWrapper),this.claimConditions=new id(this.contractWrapper,this.metadata,this.storage),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.revealer=new pu(this.contractWrapper,this.storage,eh.name,()=>this.erc721.nextTokenIdToMint()),this.interceptor=new Pa(this.contractWrapper),this.owner=new ks(this.contractWrapper),this.checkout=new nm(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async totalSupply(){let[n,a]=await Promise.all([this.totalClaimedSupply(),this.totalUnclaimedSupply()]);return n.add(a)}async getAllClaimed(n){let a=th.BigNumber.from(n?.start||0).toNumber(),r=th.BigNumber.from(n?.count||Pi).toNumber(),f=Math.min((await this.contractWrapper.read("nextTokenIdToClaim",[])).toNumber(),a+r);return await Promise.all(Array.from(Array(f).keys()).map(i=>this.get(i.toString())))}async getAllUnclaimed(n){let a=th.BigNumber.from(n?.start||0).toNumber(),r=th.BigNumber.from(n?.count||Pi).toNumber(),f=th.BigNumber.from(Math.max((await this.contractWrapper.read("nextTokenIdToClaim",[])).toNumber(),a)),i=th.BigNumber.from(Math.min((await this.contractWrapper.read("nextTokenIdToMint",[])).toNumber(),f.toNumber()+r));return await Promise.all(Array.from(Array(i.sub(f).toNumber()).keys()).map(s=>this.erc721.getTokenMetadata(f.add(s).toString())))}async totalClaimedSupply(){return this.erc721.totalClaimedSupply()}async totalUnclaimedSupply(){return this.erc721.totalUnclaimedSupply()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),th.constants.AddressZero])}async getClaimTransaction(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return this.erc721.getClaimTransaction(n,a,{checkERC20Allowance:r})}async get(n){return this.erc721.get(n)}async ownerOf(n){return this.erc721.ownerOf(n)}async balanceOf(n){return this.erc721.balanceOf(n)}async balance(){return this.erc721.balance()}async isApproved(n,a){return this.erc721.isApproved(n,a)}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(RG,"contractRoles",Rs);Z6e=RG});var Wr0=D((VEa,$nn)=>{$nn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"batchFrozen",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"freezeBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRevealURI",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"supplyClaimedByWallet",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isEncryptedBatch",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToClaim",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_conditions",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalMinted",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"updateBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"ApprovalToCurrentOwner",inputs:[]},{type:"error",name:"ApproveToCaller",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"BatchMintInvalidBatchId",inputs:[{name:"index",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintInvalidTokenId",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintMetadataFrozen",inputs:[{name:"batchId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DelayedRevealIncorrectResultHash",inputs:[{name:"expected",type:"bytes32",internalType:"bytes32"},{name:"actual",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"DelayedRevealNothingToReveal",inputs:[]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"LazyMintInvalidAmount",inputs:[]},{type:"error",name:"LazyMintUnauthorized",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var qr0=D((YEa,Jnn)=>{Jnn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"baseURIIndices",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IDropClaimCondition_V2.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimTimestamp",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxWalletClaimCount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToClaim",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxWalletClaimCount",inputs:[{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setWalletClaimCount",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenByIndex",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"walletClaimCount",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NFTRevealed",inputs:[{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});async function Xnn(t,e){let n=await t.read("decimals",[]);return x9.utils.parseUnits(ff.parse(e),n)}var x9,e5e,t5e,n5e,a5e,r5e,SM,dm,RM=ce(()=>{"use strict";u();p();x9=Ee(Xe());or();ln();Pl();Rf();Da();TE();ir();rd();lu();h9();e5e=class{constructor(e,n){ae(this,"featureName",CE.name);ae(this,"tokens",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[await this.erc20.normalizeAmount(e)]})));ae(this,"from",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burnFrom",args:await Promise.all([Oe(e),this.erc20.normalizeAmount(n)])})));this.erc20=e,this.contractWrapper=n}},t5e=class{constructor(e,n,a){ae(this,"featureName",AE.name);ae(this,"to",me(async(e,n,a)=>{let r=await this.erc20.normalizeAmount(n);return await this.conditions.getClaimTransaction(e,r,a)}));this.erc20=e,this.contractWrapper=n,this.storage=a;let r=new Wn(this.contractWrapper,Nl,this.storage);this.conditions=new id(this.contractWrapper,r,this.storage)}},n5e=class{constructor(e,n,a){this.erc20=e,this.contractWrapper=n,this.storage=a,this.claim=new t5e(this.erc20,this.contractWrapper,this.storage)}},a5e=class{constructor(e,n){ae(this,"featureName",BM.name);ae(this,"to",me(async e=>{let n=new st(this.contractWrapper),r=(await Promise.all(e.map(f=>Promise.all([Oe(f.toAddress),this.erc20.normalizeAmount(f.amount)])))).map(f=>{let[i,s]=f;return n.encode("mintTo",[i,s])});return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[r]})}));this.erc20=e,this.contractWrapper=n}},r5e=class{constructor(e,n){ae(this,"featureName",IE.name);ae(this,"to",me(async(e,n)=>await this.getMintTransaction(e,n)));this.erc20=e,this.contractWrapper=n,this.batch=this.detectErc20BatchMintable()}async getMintTransaction(e,n){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:await Promise.all([Oe(e),this.erc20.normalizeAmount(n)])})}detectErc20BatchMintable(){if(k0(this.contractWrapper,"ERC20BatchMintable"))return new a5e(this.erc20,this.contractWrapper)}},SM=class{constructor(e,n){ae(this,"featureName",MM.name);ae(this,"mint",me(async e=>{let n=e.payload,a=e.signature,[r,f]=await Promise.all([this.mapPayloadToContractStruct(n),this.contractWrapper.getCallOverrides()]);return await s1(this.contractWrapper,x9.BigNumber.from(r.price),n.currencyAddress,f),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[r,a],overrides:f})}));ae(this,"mintBatch",me(async e=>{let n=await Promise.all(e.map(i=>this.mapPayloadToContractStruct(i.payload))),a=e.map((i,s)=>{let o=n[s],c=i.signature,d=i.payload.price;if(x9.BigNumber.from(d).gt(0))throw new Error("Can only batch free mints. For mints with a price, use regular mint()");return{message:o,signature:c}}),r=new st(this.contractWrapper),f=a.map(i=>r.encode("mintWithSignature",[i.message,i.signature]));return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[f]})}));this.contractWrapper=e,this.roles=n}async verify(e){let n=e.payload,a=e.signature,r=await this.mapPayloadToContractStruct(n);return(await this.contractWrapper.read("verify",[r,a]))[0]}async generate(e){return(await this.generateBatch([e]))[0]}async generateBatch(e){await this.roles?.verify(["minter"],await this.contractWrapper.getSignerAddress());let[n,a,r]=await Promise.all([this.contractWrapper.getChainID(),this.contractWrapper.read("name",[]),Promise.all(e.map(c=>h6e.parseAsync(c)))]),f=this.contractWrapper.getSigner();d0(f,"No signer available");let i=await Promise.all(r.map(c=>Ja0.parseAsync(c))),s=await Promise.all(i.map(c=>this.mapPayloadToContractStruct(c))),o=await Promise.all(s.map(c=>this.contractWrapper.signTypedData(f,{name:a,version:"1",chainId:n,verifyingContract:this.contractWrapper.address},{MintRequest:ar0},c)));return r.map((c,d)=>{let l=i[d],h=o[d];return{payload:l,signature:h.toString()}})}async mapPayloadToContractStruct(e){let[n,a]=await Promise.all([ea(this.contractWrapper.getProvider(),e.price,e.currencyAddress),this.contractWrapper.read("decimals",[])]),r=x9.utils.parseUnits(e.quantity,a);return{to:e.to,primarySaleRecipient:e.primarySaleRecipient,quantity:r,price:n,currency:e.currencyAddress,validityEndTimestamp:e.mintEndTime,validityStartTimestamp:e.mintStartTime,uid:e.uid}}},dm=class{constructor(e,n,a){ae(this,"featureName",kE.name);ae(this,"transfer",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transfer",args:await Promise.all([Oe(e),this.normalizeAmount(n)])})));ae(this,"transferFrom",me(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transferFrom",args:await Promise.all([Oe(e),Oe(n),this.normalizeAmount(a)])})));ae(this,"setAllowance",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:await Promise.all([Oe(e),this.normalizeAmount(n)])})));ae(this,"transferBatch",me(async e=>{let n=new st(this.contractWrapper),a=(await Promise.all(e.map(r=>Promise.all([this.normalizeAmount(r.amount),Oe(r.toAddress)])))).map(r=>{let[f,i]=r;return n.encode("transfer",[i,f])});return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[a]})}));ae(this,"mint",me(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintTo",me(async(e,n)=>O0(this.mintable,IE).to.prepare(e,n)));ae(this,"mintBatchTo",me(async e=>O0(this.mintable?.batch,BM).to.prepare(e)));ae(this,"burn",me(async e=>O0(this.burnable,CE).tokens.prepare(e)));ae(this,"burnFrom",me(async(e,n)=>O0(this.burnable,CE).from.prepare(e,n)));ae(this,"claim",me(async(e,n)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,n)));ae(this,"claimTo",me(async(e,n,a)=>O0(this.droppable?.claim,AE).to.prepare(e,n,a)));this.contractWrapper=e,this.storage=n,this.mintable=this.detectErc20Mintable(),this.burnable=this.detectErc20Burnable(),this.droppable=this.detectErc20Droppable(),this.signatureMintable=this.detectErc20SignatureMintable(),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(){return await Di(this.contractWrapper.getProvider(),this.getAddress())}async balance(){return await this.balanceOf(await this.contractWrapper.getSignerAddress())}async balanceOf(e){return this.getValue(await this.contractWrapper.read("balanceOf",[await Oe(e)]))}async totalSupply(){return await this.getValue(await this.contractWrapper.read("totalSupply",[]))}async allowance(e){let[n,a]=await Promise.all([this.contractWrapper.getSignerAddress(),Oe(e)]);return await this.allowanceOf(n,a)}async allowanceOf(e,n){let a=await Promise.all([Oe(e),Oe(n)]);return await this.getValue(await this.contractWrapper.read("allowance",a))}async getMintTransaction(e,n){return O0(this.mintable,IE).getMintTransaction(e,n)}get claimConditions(){return O0(this.droppable?.claim,AE).conditions}get signature(){return O0(this.signatureMintable,MM)}async normalizeAmount(e){return Xnn(this.contractWrapper,e)}async getValue(e){return await Ja(this.contractWrapper.getProvider(),this.getAddress(),x9.BigNumber.from(e))}detectErc20Mintable(){if(k0(this.contractWrapper,"ERC20"))return new r5e(this,this.contractWrapper)}detectErc20Burnable(){if(k0(this.contractWrapper,"ERC20Burnable"))return new e5e(this,this.contractWrapper)}detectErc20Droppable(){if(k0(this.contractWrapper,"ERC20ClaimConditionsV1")||k0(this.contractWrapper,"ERC20ClaimConditionsV2")||k0(this.contractWrapper,"ERC20ClaimPhasesV1")||k0(this.contractWrapper,"ERC20ClaimPhasesV2"))return new n5e(this,this.contractWrapper,this.storage)}detectErc20SignatureMintable(){if(k0(this.contractWrapper,"ERC20SignatureMintable"))return new SM(this.contractWrapper)}}});var f5e,Znn,ean,tan,nan,aan,ran,fan,ian,san,i5e,jr0,Gr0=ce(()=>{"use strict";u();p();lu();ln();Pl();Yd();f5e=fe.object({contractAddress:da}),Znn=f5e.extend({quantity:ff}),ean=f5e.extend({tokenId:Xa}),tan=f5e.extend({tokenId:Xa,quantity:Xa}),nan=Znn.omit({quantity:!0}).extend({quantityPerReward:ff}),aan=ean,ran=tan.omit({quantity:!0}).extend({quantityPerReward:Xa}),fan=nan.extend({totalRewards:Xa.default("1")}),ian=aan,san=ran.extend({totalRewards:Xa.default("1")}),i5e=fe.object({erc20Rewards:fe.array(fan).default([]),erc721Rewards:fe.array(ian).default([]),erc1155Rewards:fe.array(san).default([])}),jr0=i5e.extend({packMetadata:l9,rewardsPerPack:Xa.default("1"),openStartTime:u9.default(new Date)})});var Kr0={};V0(Kr0,{Pack:()=>o5e});var ec,P_a,L_a,N_a,s5e,MG,o5e,Qr0=ce(()=>{"use strict";u();p();ec=Ee(Xe());or();P6e();rd();ln();Pl();Rf();yM();Dl();Da();X1();Ll();Gc();pG();hoe();RM();Gr0();ir();P_a=Ee(Va()),L_a=Ee(ro());W0();N_a=Ee(Kc()),s5e=class{constructor(e,n,a,r,f){ae(this,"featureName",DM.name);ae(this,"open",me((()=>{var e=this;return async function(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5e5;return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"openPack",args:[n,a],overrides:{gasLimit:r},parse:f=>{let i=ec.BigNumber.from(0);try{i=e.contractWrapper.parseLogs("PackOpenRequested",f?.logs)[0].args.requestId}catch{}return{receipt:f,id:i}}})}})()));ae(this,"claimRewards",me((()=>{var e=this;return async function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:5e5;return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"claimRewards",args:[],overrides:{gasLimit:n},parse:async a=>{let r=e.contractWrapper.parseLogs("PackOpened",a?.logs);if(r.length===0)throw new Error("PackOpened event not found");let f=r[0].args.rewardUnitsDistributed;return await e.parseRewards(f)}})}})()));let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:new ut(e,n,PW,r,a);this.contractWrapper=i,this.storage=a,this.chainId=f,this.events=new Rn(this.contractWrapper)}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async parseRewards(e){let n=[],a=[],r=[];for(let f of e)switch(f.tokenType){case 0:{let i=await Di(this.contractWrapper.getProvider(),f.assetContract);n.push({contractAddress:f.assetContract,quantityPerReward:ec.utils.formatUnits(f.totalAmount,i.decimals).toString()});break}case 1:{a.push({contractAddress:f.assetContract,tokenId:f.tokenId.toString()});break}case 2:{r.push({contractAddress:f.assetContract,tokenId:f.tokenId.toString(),quantityPerReward:f.totalAmount.toString()});break}}return{erc20Rewards:n,erc721Rewards:a,erc1155Rewards:r}}async addPackOpenEventListener(e){return this.events.addEventListener("PackOpened",async n=>{e(n.data.packId.toString(),n.data.opener,await this.parseRewards(n.data.rewardUnitsDistributed))})}async canClaimRewards(e){let n=await Oe(e||await this.contractWrapper.getSignerAddress());return await this.contractWrapper.read("canClaimRewards",[n])}async openAndClaim(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5e5,r=await this.contractWrapper.sendTransaction("openPackAndClaimRewards",[e,n,a],{gasLimit:ec.BigNumber.from(5e5)}),f=ec.BigNumber.from(0);try{f=this.contractWrapper.parseLogs("PackOpenRequested",r?.logs)[0].args.requestId}catch{}return{receipt:r,id:f}}async getLinkBalance(){let e=(await Promise.resolve().then(()=>Ee(j1()))).default;return this.getLinkContract(e).balanceOf(this.contractWrapper.address)}async transferLink(e){let n=(await Promise.resolve().then(()=>Ee(j1()))).default;await this.getLinkContract(n).transfer(this.contractWrapper.address,e)}getLinkContract(e){let n=c5e[this.chainId];if(!n)throw new Error(`No LINK token address found for chainId ${this.chainId}`);let a=new ut(this.contractWrapper.getSignerOrProvider(),n,e,this.contractWrapper.options,this.storage);return new dm(a,this.storage,this.chainId)}},MG=class MG extends tm{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f.gasless&&"openzeppelin"in f.gasless?{...f,gasless:{...f.gasless,openzeppelin:{...f.gasless.openzeppelin,useEOAForwarder:!0}}}:f,r);super(o,r,s);ae(this,"create",me(async n=>{let a=await this.contractWrapper.getSignerAddress();return this.createTo.prepare(a,n)}));ae(this,"addPackContents",me(async(n,a)=>{let[r,f]=await Promise.all([this.contractWrapper.getSignerAddress(),i5e.parseAsync(a)]),{contents:i,numOfRewardUnits:s}=await this.toPackContentArgs(f);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"addPackContents",args:[n,i,s,r],parse:o=>{let c=this.contractWrapper.parseLogs("PackUpdated",o?.logs);if(c.length===0)throw new Error("PackUpdated event not found");let d=c[0].args.packId;return{id:d,receipt:o,data:()=>this.erc1155.get(d)}}})}));ae(this,"createTo",me(async(n,a)=>{let[r,f,i]=await Promise.all([Y8(a.packMetadata,this.storage),jr0.parseAsync(a),Oe(n)]),{erc20Rewards:s,erc721Rewards:o,erc1155Rewards:c}=f,d={erc20Rewards:s,erc721Rewards:o,erc1155Rewards:c},{contents:l,numOfRewardUnits:h}=await this.toPackContentArgs(d);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createPack",args:[l,h,r,f.openStartTime,f.rewardsPerPack,i],parse:y=>{let v=this.contractWrapper.parseLogs("PackCreated",y?.logs);if(v.length===0)throw new Error("PackCreated event not found");let S=v[0].args.packId;return{id:S,receipt:y,data:()=>this.erc1155.get(S)}}})}));ae(this,"open",me((()=>{var n=this;return async function(a){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5e5;if(n._vrf)throw new Error("This contract is using Chainlink VRF, use `contract.vrf.open()` or `contract.vrf.openAndClaim()` instead");return Me.fromContractWrapper({contractWrapper:n.contractWrapper,method:"openPack",args:[a,r],overrides:{gasLimit:f},parse:async i=>{let s=n.contractWrapper.parseLogs("PackOpened",i?.logs);if(s.length===0)throw new Error("PackOpened event not found");let o=s[0].args.rewardUnitsDistributed,c=[],d=[],l=[];for(let h of o)switch(h.tokenType){case 0:{let y=await Di(n.contractWrapper.getProvider(),h.assetContract);c.push({contractAddress:h.assetContract,quantityPerReward:ec.utils.formatUnits(h.totalAmount,y.decimals).toString()});break}case 1:{d.push({contractAddress:h.assetContract,tokenId:h.tokenId.toString()});break}case 2:{l.push({contractAddress:h.assetContract,tokenId:h.tokenId.toString(),quantityPerReward:h.totalAmount.toString()});break}}return{erc20Rewards:c,erc721Rewards:d,erc1155Rewards:l}}})}})()));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,BG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,MG.contractRoles),this.royalties=new Is(this.contractWrapper,this.metadata),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.owner=new ks(this.contractWrapper),this._vrf=this.detectVrf()}get vrf(){return O0(this._vrf,DM)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n),this._vrf?.onNetworkUpdated(n)}getAddress(){return this.contractWrapper.address}async get(n){return this.erc1155.get(n)}async getAll(n){return this.erc1155.getAll(n)}async getOwned(n){return this.erc1155.getOwned(n)}async getTotalCount(){return this.erc1155.totalCount()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),ec.constants.AddressZero])}async getPackContents(n){let{contents:a,perUnitAmounts:r}=await this.contractWrapper.read("getPackContents",[n]),f=[],i=[],s=[];for(let o=0;o{Vnn.exports=[{type:"constructor",inputs:[{name:"_nativeTokenWrapper",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getTokenCountOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getTokenOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct ITokenBundle.Token",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"view"},{type:"function",name:"getUriOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getWrappedContents",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenByIndex",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"unwrap",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"wrap",inputs:[{name:"_tokensToWrap",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"_uriForWrappedToken",type:"string",internalType:"string"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensUnwrapped",inputs:[{name:"unwrapper",type:"address",indexed:!0,internalType:"address"},{name:"recipientOfWrappedContents",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdOfWrappedToken",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensWrapped",inputs:[{name:"wrapper",type:"address",indexed:!0,internalType:"address"},{name:"recipientOfWrappedToken",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdOfWrappedToken",type:"uint256",indexed:!0,internalType:"uint256"},{name:"wrappedContents",type:"tuple[]",indexed:!1,internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibMismatchedValue",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]}]});var Nr0={};V0(Nr0,{NFTCollection:()=>X6e});var Fr0,vEa,wEa,xEa,kG,X6e,Or0=ce(()=>{"use strict";u();p();Fr0=Ee(Xe());ln();Da();Rf();or();X1();Ll();Fl();Gc();J8();kM();vM();ir();vEa=Ee(Va()),wEa=Ee(ro());W0();xEa=Ee(Kc()),kG=class kG extends yu{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"mint",me(async n=>this.erc721.mint.prepare(n)));ae(this,"mintTo",me(async(n,a)=>this.erc721.mintTo.prepare(n,a)));ae(this,"mintBatch",me(async n=>this.erc721.mintBatch.prepare(n)));ae(this,"mintBatchTo",me(async(n,a)=>this.erc721.mintBatchTo.prepare(n,a)));ae(this,"burn",me(n=>this.erc721.burn.prepare(n)));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,SG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,kG.contractRoles),this.royalties=new Is(this.contractWrapper,this.metadata),this.sales=new Ss(this.contractWrapper),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.signature=new cm(this.contractWrapper,this.storage),this.owner=new ks(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),Fr0.constants.AddressZero])}async getMintTransaction(n,a){return this.erc721.getMintTransaction(n,a)}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(kG,"contractRoles",Rs);X6e=kG});var Ur0=D((CEa,Ynn)=>{Ynn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"freezeMetadata",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"mintTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_uri",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"tokenIdMinted",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"platformFeeRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setTokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenByIndex",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"uriFrozen",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataFrozen",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataInvalidUrl",inputs:[]},{type:"error",name:"NFTMetadataUnauthorized",inputs:[]}]});var Hr0={};V0(Hr0,{NFTDrop:()=>Z6e});var th,zEa,WEa,jEa,RG,Z6e,zr0=ce(()=>{"use strict";u();p();th=Ee(Xe());Dl();ln();Da();Rf();or();X1();Ll();Fl();Gc();J8();TE();kM();hG();ir();zEa=Ee(Va()),WEa=Ee(ro());W0();jEa=Ee(Kc()),RG=class RG extends yu{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"createBatch",me(async(n,a)=>this.erc721.lazyMint.prepare(n,a)));ae(this,"claimTo",me((()=>{var n=this;return async function(a,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return n.erc721.claimTo.prepare(a,r,{checkERC20Allowance:f})}})()));ae(this,"claim",me((()=>{var n=this;return async function(a){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n.claimTo.prepare(await n.contractWrapper.getSignerAddress(),a,r)}})()));ae(this,"burn",me(async n=>this.erc721.burn.prepare(n)));ae(this,"transfer",me(async(n,a)=>this.erc721.transfer.prepare(n,a)));ae(this,"setApprovalForAll",me(async(n,a)=>this.erc721.setApprovalForAll.prepare(n,a)));ae(this,"setApprovalForToken",me(async(n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[n,a]})));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,nh,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,RG.contractRoles),this.royalties=new Is(this.contractWrapper,this.metadata),this.sales=new Ss(this.contractWrapper),this.claimConditions=new id(this.contractWrapper,this.metadata,this.storage),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.revealer=new pu(this.contractWrapper,this.storage,eh.name,()=>this.erc721.nextTokenIdToMint()),this.interceptor=new Pa(this.contractWrapper),this.owner=new ks(this.contractWrapper),this.checkout=new am(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async totalSupply(){let[n,a]=await Promise.all([this.totalClaimedSupply(),this.totalUnclaimedSupply()]);return n.add(a)}async getAllClaimed(n){let a=th.BigNumber.from(n?.start||0).toNumber(),r=th.BigNumber.from(n?.count||Pi).toNumber(),f=Math.min((await this.contractWrapper.read("nextTokenIdToClaim",[])).toNumber(),a+r);return await Promise.all(Array.from(Array(f).keys()).map(i=>this.get(i.toString())))}async getAllUnclaimed(n){let a=th.BigNumber.from(n?.start||0).toNumber(),r=th.BigNumber.from(n?.count||Pi).toNumber(),f=th.BigNumber.from(Math.max((await this.contractWrapper.read("nextTokenIdToClaim",[])).toNumber(),a)),i=th.BigNumber.from(Math.min((await this.contractWrapper.read("nextTokenIdToMint",[])).toNumber(),f.toNumber()+r));return await Promise.all(Array.from(Array(i.sub(f).toNumber()).keys()).map(s=>this.erc721.getTokenMetadata(f.add(s).toString())))}async totalClaimedSupply(){return this.erc721.totalClaimedSupply()}async totalUnclaimedSupply(){return this.erc721.totalUnclaimedSupply()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),th.constants.AddressZero])}async getClaimTransaction(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return this.erc721.getClaimTransaction(n,a,{checkERC20Allowance:r})}async get(n){return this.erc721.get(n)}async ownerOf(n){return this.erc721.ownerOf(n)}async balanceOf(n){return this.erc721.balanceOf(n)}async balance(){return this.erc721.balance()}async isApproved(n,a){return this.erc721.isApproved(n,a)}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(RG,"contractRoles",Rs);Z6e=RG});var Wr0=D((VEa,$nn)=>{$nn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"batchFrozen",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"freezeBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRevealURI",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"supplyClaimedByWallet",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isEncryptedBatch",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToClaim",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_conditions",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalMinted",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"updateBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"ApprovalToCurrentOwner",inputs:[]},{type:"error",name:"ApproveToCaller",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"BatchMintInvalidBatchId",inputs:[{name:"index",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintInvalidTokenId",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintMetadataFrozen",inputs:[{name:"batchId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DelayedRevealIncorrectResultHash",inputs:[{name:"expected",type:"bytes32",internalType:"bytes32"},{name:"actual",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"DelayedRevealNothingToReveal",inputs:[]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"LazyMintInvalidAmount",inputs:[]},{type:"error",name:"LazyMintUnauthorized",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var qr0=D((YEa,Jnn)=>{Jnn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"baseURIIndices",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IDropClaimCondition_V2.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimTimestamp",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxWalletClaimCount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToClaim",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxWalletClaimCount",inputs:[{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setWalletClaimCount",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenByIndex",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"walletClaimCount",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NFTRevealed",inputs:[{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});async function Xnn(t,e){let n=await t.read("decimals",[]);return x9.utils.parseUnits(ff.parse(e),n)}var x9,e5e,t5e,n5e,a5e,r5e,SM,lm,RM=ce(()=>{"use strict";u();p();x9=Ee(Xe());or();ln();Pl();Rf();Da();TE();ir();rd();lu();h9();e5e=class{constructor(e,n){ae(this,"featureName",CE.name);ae(this,"tokens",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[await this.erc20.normalizeAmount(e)]})));ae(this,"from",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burnFrom",args:await Promise.all([Oe(e),this.erc20.normalizeAmount(n)])})));this.erc20=e,this.contractWrapper=n}},t5e=class{constructor(e,n,a){ae(this,"featureName",AE.name);ae(this,"to",me(async(e,n,a)=>{let r=await this.erc20.normalizeAmount(n);return await this.conditions.getClaimTransaction(e,r,a)}));this.erc20=e,this.contractWrapper=n,this.storage=a;let r=new Wn(this.contractWrapper,Nl,this.storage);this.conditions=new id(this.contractWrapper,r,this.storage)}},n5e=class{constructor(e,n,a){this.erc20=e,this.contractWrapper=n,this.storage=a,this.claim=new t5e(this.erc20,this.contractWrapper,this.storage)}},a5e=class{constructor(e,n){ae(this,"featureName",BM.name);ae(this,"to",me(async e=>{let n=new st(this.contractWrapper),r=(await Promise.all(e.map(f=>Promise.all([Oe(f.toAddress),this.erc20.normalizeAmount(f.amount)])))).map(f=>{let[i,s]=f;return n.encode("mintTo",[i,s])});return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[r]})}));this.erc20=e,this.contractWrapper=n}},r5e=class{constructor(e,n){ae(this,"featureName",IE.name);ae(this,"to",me(async(e,n)=>await this.getMintTransaction(e,n)));this.erc20=e,this.contractWrapper=n,this.batch=this.detectErc20BatchMintable()}async getMintTransaction(e,n){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:await Promise.all([Oe(e),this.erc20.normalizeAmount(n)])})}detectErc20BatchMintable(){if(k0(this.contractWrapper,"ERC20BatchMintable"))return new a5e(this.erc20,this.contractWrapper)}},SM=class{constructor(e,n){ae(this,"featureName",MM.name);ae(this,"mint",me(async e=>{let n=e.payload,a=e.signature,[r,f]=await Promise.all([this.mapPayloadToContractStruct(n),this.contractWrapper.getCallOverrides()]);return await s1(this.contractWrapper,x9.BigNumber.from(r.price),n.currencyAddress,f),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[r,a],overrides:f})}));ae(this,"mintBatch",me(async e=>{let n=await Promise.all(e.map(i=>this.mapPayloadToContractStruct(i.payload))),a=e.map((i,s)=>{let o=n[s],c=i.signature,d=i.payload.price;if(x9.BigNumber.from(d).gt(0))throw new Error("Can only batch free mints. For mints with a price, use regular mint()");return{message:o,signature:c}}),r=new st(this.contractWrapper),f=a.map(i=>r.encode("mintWithSignature",[i.message,i.signature]));return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[f]})}));this.contractWrapper=e,this.roles=n}async verify(e){let n=e.payload,a=e.signature,r=await this.mapPayloadToContractStruct(n);return(await this.contractWrapper.read("verify",[r,a]))[0]}async generate(e){return(await this.generateBatch([e]))[0]}async generateBatch(e){await this.roles?.verify(["minter"],await this.contractWrapper.getSignerAddress());let[n,a,r]=await Promise.all([this.contractWrapper.getChainID(),this.contractWrapper.read("name",[]),Promise.all(e.map(c=>h6e.parseAsync(c)))]),f=this.contractWrapper.getSigner();d0(f,"No signer available");let i=await Promise.all(r.map(c=>Ja0.parseAsync(c))),s=await Promise.all(i.map(c=>this.mapPayloadToContractStruct(c))),o=await Promise.all(s.map(c=>this.contractWrapper.signTypedData(f,{name:a,version:"1",chainId:n,verifyingContract:this.contractWrapper.address},{MintRequest:ar0},c)));return r.map((c,d)=>{let l=i[d],h=o[d];return{payload:l,signature:h.toString()}})}async mapPayloadToContractStruct(e){let[n,a]=await Promise.all([ea(this.contractWrapper.getProvider(),e.price,e.currencyAddress),this.contractWrapper.read("decimals",[])]),r=x9.utils.parseUnits(e.quantity,a);return{to:e.to,primarySaleRecipient:e.primarySaleRecipient,quantity:r,price:n,currency:e.currencyAddress,validityEndTimestamp:e.mintEndTime,validityStartTimestamp:e.mintStartTime,uid:e.uid}}},lm=class{constructor(e,n,a){ae(this,"featureName",kE.name);ae(this,"transfer",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transfer",args:await Promise.all([Oe(e),this.normalizeAmount(n)])})));ae(this,"transferFrom",me(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transferFrom",args:await Promise.all([Oe(e),Oe(n),this.normalizeAmount(a)])})));ae(this,"setAllowance",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:await Promise.all([Oe(e),this.normalizeAmount(n)])})));ae(this,"transferBatch",me(async e=>{let n=new st(this.contractWrapper),a=(await Promise.all(e.map(r=>Promise.all([this.normalizeAmount(r.amount),Oe(r.toAddress)])))).map(r=>{let[f,i]=r;return n.encode("transfer",[i,f])});return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[a]})}));ae(this,"mint",me(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintTo",me(async(e,n)=>O0(this.mintable,IE).to.prepare(e,n)));ae(this,"mintBatchTo",me(async e=>O0(this.mintable?.batch,BM).to.prepare(e)));ae(this,"burn",me(async e=>O0(this.burnable,CE).tokens.prepare(e)));ae(this,"burnFrom",me(async(e,n)=>O0(this.burnable,CE).from.prepare(e,n)));ae(this,"claim",me(async(e,n)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,n)));ae(this,"claimTo",me(async(e,n,a)=>O0(this.droppable?.claim,AE).to.prepare(e,n,a)));this.contractWrapper=e,this.storage=n,this.mintable=this.detectErc20Mintable(),this.burnable=this.detectErc20Burnable(),this.droppable=this.detectErc20Droppable(),this.signatureMintable=this.detectErc20SignatureMintable(),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(){return await Di(this.contractWrapper.getProvider(),this.getAddress())}async balance(){return await this.balanceOf(await this.contractWrapper.getSignerAddress())}async balanceOf(e){return this.getValue(await this.contractWrapper.read("balanceOf",[await Oe(e)]))}async totalSupply(){return await this.getValue(await this.contractWrapper.read("totalSupply",[]))}async allowance(e){let[n,a]=await Promise.all([this.contractWrapper.getSignerAddress(),Oe(e)]);return await this.allowanceOf(n,a)}async allowanceOf(e,n){let a=await Promise.all([Oe(e),Oe(n)]);return await this.getValue(await this.contractWrapper.read("allowance",a))}async getMintTransaction(e,n){return O0(this.mintable,IE).getMintTransaction(e,n)}get claimConditions(){return O0(this.droppable?.claim,AE).conditions}get signature(){return O0(this.signatureMintable,MM)}async normalizeAmount(e){return Xnn(this.contractWrapper,e)}async getValue(e){return await Ja(this.contractWrapper.getProvider(),this.getAddress(),x9.BigNumber.from(e))}detectErc20Mintable(){if(k0(this.contractWrapper,"ERC20"))return new r5e(this,this.contractWrapper)}detectErc20Burnable(){if(k0(this.contractWrapper,"ERC20Burnable"))return new e5e(this,this.contractWrapper)}detectErc20Droppable(){if(k0(this.contractWrapper,"ERC20ClaimConditionsV1")||k0(this.contractWrapper,"ERC20ClaimConditionsV2")||k0(this.contractWrapper,"ERC20ClaimPhasesV1")||k0(this.contractWrapper,"ERC20ClaimPhasesV2"))return new n5e(this,this.contractWrapper,this.storage)}detectErc20SignatureMintable(){if(k0(this.contractWrapper,"ERC20SignatureMintable"))return new SM(this.contractWrapper)}}});var f5e,Znn,ean,tan,nan,aan,ran,fan,ian,san,i5e,jr0,Gr0=ce(()=>{"use strict";u();p();lu();ln();Pl();Yd();f5e=fe.object({contractAddress:da}),Znn=f5e.extend({quantity:ff}),ean=f5e.extend({tokenId:Xa}),tan=f5e.extend({tokenId:Xa,quantity:Xa}),nan=Znn.omit({quantity:!0}).extend({quantityPerReward:ff}),aan=ean,ran=tan.omit({quantity:!0}).extend({quantityPerReward:Xa}),fan=nan.extend({totalRewards:Xa.default("1")}),ian=aan,san=ran.extend({totalRewards:Xa.default("1")}),i5e=fe.object({erc20Rewards:fe.array(fan).default([]),erc721Rewards:fe.array(ian).default([]),erc1155Rewards:fe.array(san).default([])}),jr0=i5e.extend({packMetadata:l9,rewardsPerPack:Xa.default("1"),openStartTime:u9.default(new Date)})});var Kr0={};V0(Kr0,{Pack:()=>o5e});var ec,P_a,L_a,N_a,s5e,MG,o5e,Qr0=ce(()=>{"use strict";u();p();ec=Ee(Xe());or();P6e();rd();ln();Pl();Rf();yM();Dl();Da();X1();Ll();Gc();pG();hoe();RM();Gr0();ir();P_a=Ee(Va()),L_a=Ee(ro());W0();N_a=Ee(Kc()),s5e=class{constructor(e,n,a,r,f){ae(this,"featureName",DM.name);ae(this,"open",me((()=>{var e=this;return async function(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5e5;return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"openPack",args:[n,a],overrides:{gasLimit:r},parse:f=>{let i=ec.BigNumber.from(0);try{i=e.contractWrapper.parseLogs("PackOpenRequested",f?.logs)[0].args.requestId}catch{}return{receipt:f,id:i}}})}})()));ae(this,"claimRewards",me((()=>{var e=this;return async function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:5e5;return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"claimRewards",args:[],overrides:{gasLimit:n},parse:async a=>{let r=e.contractWrapper.parseLogs("PackOpened",a?.logs);if(r.length===0)throw new Error("PackOpened event not found");let f=r[0].args.rewardUnitsDistributed;return await e.parseRewards(f)}})}})()));let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:new ut(e,n,PW,r,a);this.contractWrapper=i,this.storage=a,this.chainId=f,this.events=new Rn(this.contractWrapper)}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async parseRewards(e){let n=[],a=[],r=[];for(let f of e)switch(f.tokenType){case 0:{let i=await Di(this.contractWrapper.getProvider(),f.assetContract);n.push({contractAddress:f.assetContract,quantityPerReward:ec.utils.formatUnits(f.totalAmount,i.decimals).toString()});break}case 1:{a.push({contractAddress:f.assetContract,tokenId:f.tokenId.toString()});break}case 2:{r.push({contractAddress:f.assetContract,tokenId:f.tokenId.toString(),quantityPerReward:f.totalAmount.toString()});break}}return{erc20Rewards:n,erc721Rewards:a,erc1155Rewards:r}}async addPackOpenEventListener(e){return this.events.addEventListener("PackOpened",async n=>{e(n.data.packId.toString(),n.data.opener,await this.parseRewards(n.data.rewardUnitsDistributed))})}async canClaimRewards(e){let n=await Oe(e||await this.contractWrapper.getSignerAddress());return await this.contractWrapper.read("canClaimRewards",[n])}async openAndClaim(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5e5,r=await this.contractWrapper.sendTransaction("openPackAndClaimRewards",[e,n,a],{gasLimit:ec.BigNumber.from(5e5)}),f=ec.BigNumber.from(0);try{f=this.contractWrapper.parseLogs("PackOpenRequested",r?.logs)[0].args.requestId}catch{}return{receipt:r,id:f}}async getLinkBalance(){let e=(await Promise.resolve().then(()=>Ee(j1()))).default;return this.getLinkContract(e).balanceOf(this.contractWrapper.address)}async transferLink(e){let n=(await Promise.resolve().then(()=>Ee(j1()))).default;await this.getLinkContract(n).transfer(this.contractWrapper.address,e)}getLinkContract(e){let n=c5e[this.chainId];if(!n)throw new Error(`No LINK token address found for chainId ${this.chainId}`);let a=new ut(this.contractWrapper.getSignerOrProvider(),n,e,this.contractWrapper.options,this.storage);return new lm(a,this.storage,this.chainId)}},MG=class MG extends nm{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f.gasless&&"openzeppelin"in f.gasless?{...f,gasless:{...f.gasless,openzeppelin:{...f.gasless.openzeppelin,useEOAForwarder:!0}}}:f,r);super(o,r,s);ae(this,"create",me(async n=>{let a=await this.contractWrapper.getSignerAddress();return this.createTo.prepare(a,n)}));ae(this,"addPackContents",me(async(n,a)=>{let[r,f]=await Promise.all([this.contractWrapper.getSignerAddress(),i5e.parseAsync(a)]),{contents:i,numOfRewardUnits:s}=await this.toPackContentArgs(f);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"addPackContents",args:[n,i,s,r],parse:o=>{let c=this.contractWrapper.parseLogs("PackUpdated",o?.logs);if(c.length===0)throw new Error("PackUpdated event not found");let d=c[0].args.packId;return{id:d,receipt:o,data:()=>this.erc1155.get(d)}}})}));ae(this,"createTo",me(async(n,a)=>{let[r,f,i]=await Promise.all([Y8(a.packMetadata,this.storage),jr0.parseAsync(a),Oe(n)]),{erc20Rewards:s,erc721Rewards:o,erc1155Rewards:c}=f,d={erc20Rewards:s,erc721Rewards:o,erc1155Rewards:c},{contents:l,numOfRewardUnits:h}=await this.toPackContentArgs(d);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createPack",args:[l,h,r,f.openStartTime,f.rewardsPerPack,i],parse:y=>{let v=this.contractWrapper.parseLogs("PackCreated",y?.logs);if(v.length===0)throw new Error("PackCreated event not found");let k=v[0].args.packId;return{id:k,receipt:y,data:()=>this.erc1155.get(k)}}})}));ae(this,"open",me((()=>{var n=this;return async function(a){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5e5;if(n._vrf)throw new Error("This contract is using Chainlink VRF, use `contract.vrf.open()` or `contract.vrf.openAndClaim()` instead");return Me.fromContractWrapper({contractWrapper:n.contractWrapper,method:"openPack",args:[a,r],overrides:{gasLimit:f},parse:async i=>{let s=n.contractWrapper.parseLogs("PackOpened",i?.logs);if(s.length===0)throw new Error("PackOpened event not found");let o=s[0].args.rewardUnitsDistributed,c=[],d=[],l=[];for(let h of o)switch(h.tokenType){case 0:{let y=await Di(n.contractWrapper.getProvider(),h.assetContract);c.push({contractAddress:h.assetContract,quantityPerReward:ec.utils.formatUnits(h.totalAmount,y.decimals).toString()});break}case 1:{d.push({contractAddress:h.assetContract,tokenId:h.tokenId.toString()});break}case 2:{l.push({contractAddress:h.assetContract,tokenId:h.tokenId.toString(),quantityPerReward:h.totalAmount.toString()});break}}return{erc20Rewards:c,erc721Rewards:d,erc1155Rewards:l}}})}})()));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,BG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,MG.contractRoles),this.royalties=new Is(this.contractWrapper,this.metadata),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.owner=new ks(this.contractWrapper),this._vrf=this.detectVrf()}get vrf(){return O0(this._vrf,DM)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n),this._vrf?.onNetworkUpdated(n)}getAddress(){return this.contractWrapper.address}async get(n){return this.erc1155.get(n)}async getAll(n){return this.erc1155.getAll(n)}async getOwned(n){return this.erc1155.getOwned(n)}async getTotalCount(){return this.erc1155.totalCount()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),ec.constants.AddressZero])}async getPackContents(n){let{contents:a,perUnitAmounts:r}=await this.contractWrapper.read("getPackContents",[n]),f=[],i=[],s=[];for(let o=0;o{oan.exports=[{type:"constructor",inputs:[{name:"_nativeTokenWrapper",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"addPackContents",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"},{name:"_contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"_numOfRewardUnits",type:"uint256[]",internalType:"uint256[]"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[{name:"packTotalSupply",type:"uint256",internalType:"uint256"},{name:"newSupplyAdded",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"canUpdatePack",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"createPack",inputs:[{name:"_contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"_numOfRewardUnits",type:"uint256[]",internalType:"uint256[]"},{name:"_packUri",type:"string",internalType:"string"},{name:"_openStartTimestamp",type:"uint128",internalType:"uint128"},{name:"_amountDistributedPerOpen",type:"uint128",internalType:"uint128"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[{name:"packId",type:"uint256",internalType:"uint256"},{name:"packTotalSupply",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPackContents",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"}],outputs:[{name:"contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"perUnitAmounts",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getTokenCountOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getTokenOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct ITokenBundle.Token",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"view"},{type:"function",name:"getUriOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"openPack",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"},{name:"_amountToOpen",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"nonpayable"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PackCreated",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"recipient",type:"address",indexed:!1,internalType:"address"},{name:"totalPacksCreated",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PackOpened",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opener",type:"address",indexed:!0,internalType:"address"},{name:"numOfPacksOpened",type:"uint256",indexed:!1,internalType:"uint256"},{name:"rewardUnitsDistributed",type:"tuple[]",indexed:!1,internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],anonymous:!1},{type:"event",name:"PackUpdated",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"recipient",type:"address",indexed:!1,internalType:"address"},{name:"totalPacksCreated",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibMismatchedValue",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]}]});var Yr0={};V0(Yr0,{SignatureDrop:()=>l5e});var ah,aAa,rAa,iAa,DG,l5e,$r0=ce(()=>{"use strict";u();p();ah=Ee(Xe());Dl();ln();Da();Rf();or();X1();Ll();Fl();Gc();J8();TE();kM();vM();hG();ir();aAa=Ee(Va()),rAa=Ee(ro());W0();iAa=Ee(Kc()),DG=class DG extends yu{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"createBatch",me(async(n,a)=>this.erc721.lazyMint.prepare(n,a)));ae(this,"claimTo",me(async(n,a,r)=>this.erc721.claimTo.prepare(n,a,r)));ae(this,"claim",me(async(n,a)=>this.erc721.claim.prepare(n,a)));ae(this,"burn",me(async n=>this.erc721.burn.prepare(n)));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,nh,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,DG.contractRoles),this.royalties=new Is(this.contractWrapper,this.metadata),this.sales=new Ss(this.contractWrapper),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.claimConditions=new id(this.contractWrapper,this.metadata,this.storage),this.signature=new om(this.contractWrapper,this.storage),this.revealer=new pu(this.contractWrapper,this.storage,eh.name,()=>this.erc721.nextTokenIdToMint()),this.signature=new om(this.contractWrapper,this.storage),this.owner=new ks(this.contractWrapper),this.checkout=new nm(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async totalSupply(){let[n,a]=await Promise.all([this.totalClaimedSupply(),this.totalUnclaimedSupply()]);return n.add(a)}async getAllClaimed(n){let a=ah.BigNumber.from(n?.start||0).toNumber(),r=ah.BigNumber.from(n?.count||Pi).toNumber(),f=Math.min((await this.totalClaimedSupply()).toNumber(),a+r);return await Promise.all(Array.from(Array(f).keys()).map(i=>this.get(i.toString())))}async getAllUnclaimed(n){let a=ah.BigNumber.from(n?.start||0).toNumber(),r=ah.BigNumber.from(n?.count||Pi).toNumber(),f=ah.BigNumber.from(Math.max((await this.totalClaimedSupply()).toNumber(),a)),i=ah.BigNumber.from(Math.min((await this.contractWrapper.read("nextTokenIdToMint",[])).toNumber(),f.toNumber()+r));return await Promise.all(Array.from(Array(i.sub(f).toNumber()).keys()).map(s=>this.erc721.getTokenMetadata(f.add(s).toString())))}async totalClaimedSupply(){return this.erc721.totalClaimedSupply()}async totalUnclaimedSupply(){return this.erc721.totalUnclaimedSupply()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),ah.constants.AddressZero])}async getClaimTransaction(n,a,r){return this.erc721.getClaimTransaction(n,a,r)}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(DG,"contractRoles",Rs);l5e=DG});var Jr0=D((dAa,can)=>{can.exports=[{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"batchFrozen",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRevealURI",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isEncryptedBatch",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalMinted",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"ApprovalToCurrentOwner",inputs:[]},{type:"error",name:"ApproveToCaller",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"BatchMintInvalidBatchId",inputs:[{name:"index",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintInvalidTokenId",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintMetadataFrozen",inputs:[{name:"batchId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DelayedRevealIncorrectResultHash",inputs:[{name:"expected",type:"bytes32",internalType:"bytes32"},{name:"actual",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"DelayedRevealNothingToReveal",inputs:[]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"LazyMintInvalidAmount",inputs:[]},{type:"error",name:"LazyMintUnauthorized",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]},{type:"error",name:"SignatureMintInvalidQuantity",inputs:[]},{type:"error",name:"SignatureMintInvalidRecipient",inputs:[]},{type:"error",name:"SignatureMintInvalidSigner",inputs:[]},{type:"error",name:"SignatureMintInvalidTime",inputs:[{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"actualTime",type:"uint256",internalType:"uint256"}]},{type:"error",name:"SignatureMintUnauthorized",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var Xr0=D((lAa,dan)=>{dan.exports=[{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimedAt",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRevealURI",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isEncryptedBatch",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_condition",type:"tuple",internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalMinted",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"ApprovalToCurrentOwner",inputs:[]},{type:"error",name:"ApproveToCaller",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DelayedRevealIncorrectResultHash",inputs:[{name:"expected",type:"bytes32",internalType:"bytes32"},{name:"actual",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"DelayedRevealNothingToReveal",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]},{type:"error",name:"SignatureMintInvalidQuantity",inputs:[]},{type:"error",name:"SignatureMintInvalidRecipient",inputs:[]},{type:"error",name:"SignatureMintInvalidSigner",inputs:[]},{type:"error",name:"SignatureMintInvalidTime",inputs:[{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"actualTime",type:"uint256",internalType:"uint256"}]},{type:"error",name:"SignatureMintUnauthorized",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var Zr0={};V0(Zr0,{Split:()=>u5e});var PM,vAa,wAa,PG,u5e,ef0=ce(()=>{"use strict";u();p();PM=Ee(Xe());or();ln();Da();Rf();X1();Gc();ir();vAa=Ee(Va()),wAa=Ee(ro());W0();PG=class PG{constructor(e,n,a){ae(this,"withdraw",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"release(address)",args:[await Oe(e)]})));ae(this,"withdrawToken",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"release(address,address)",args:await Promise.all([Oe(n),Oe(e)])})));ae(this,"distribute",me(async()=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"distribute()",args:[]})));ae(this,"distributeToken",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"distribute(address)",args:[await Oe(e)]})));let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(e,n,f,r,a);this._chainId=i,this.abi=bt.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,LG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,PG.contractRoles),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper)}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async getAllRecipients(){let e=[],n=PM.BigNumber.from(0),a=await this.contractWrapper.read("payeeCount",[]);for(;n.lt(a);)try{let r=await this.contractWrapper.read("payee",[n]);e.push(await this.getRecipientSplitPercentage(r)),n=n.add(1)}catch(r){if("method"in r&&r.method.toLowerCase().includes("payee(uint256)"))break;throw r}return e}async balanceOfAllRecipients(){let e=await this.getAllRecipients(),n={};for(let a of e)n[a.address]=await this.balanceOf(a.address);return n}async balanceOfTokenAllRecipients(e){let[n,a]=await Promise.all([Oe(e),this.getAllRecipients()]),r={};for(let f of a)r[f.address]=await this.balanceOfToken(f.address,n);return r}async balanceOf(e){let[n,a,r]=await Promise.all([Oe(e),this.contractWrapper.getProvider().getBalance(this.getAddress()),this.contractWrapper.read("totalReleased",[])]),f=a.add(r);return this._pendingPayment(n,f,await this.contractWrapper.read("released",[n]))}async balanceOfToken(e,n){let[a,r]=await Promise.all([Oe(n),Oe(e)]),f=(await Promise.resolve().then(()=>Ee(j1()))).default,i=new PM.Contract(a,f,this.contractWrapper.getProvider()),[s,o,c]=await Promise.all([i.balanceOf(this.getAddress()),this.contractWrapper.read("totalReleased",[a]),this.contractWrapper.read("released",[a,r])]),d=s.add(o),l=await this._pendingPayment(r,d,c);return await Ja(this.contractWrapper.getProvider(),a,l)}async getRecipientSplitPercentage(e){let[n,a,r]=await Promise.all([Oe(e),this.contractWrapper.read("totalShares",[]),this.contractWrapper.read("shares",[e])]);return{address:n,splitPercentage:r.mul(PM.BigNumber.from(1e7)).div(a).toNumber()/1e5}}async _pendingPayment(e,n,a){let[r,f]=await Promise.all([Oe(e),this.contractWrapper.read("totalShares",[])]);return n.mul(await this.contractWrapper.read("shares",[r])).div(f).sub(a)}async prepare(e,n,a){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:n,overrides:a})}async call(e,n,a){return this.contractWrapper.call(e,n,a)}};ae(PG,"contractRoles",p5e);u5e=PG});var tf0=D((AAa,lan)=>{lan.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"distribute",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"distribute",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_payees",type:"address[]",internalType:"address[]"},{name:"_shares",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"payee",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"payeeCount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"releasable",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"releasable",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"release",inputs:[{name:"account",type:"address",internalType:"address payable"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"release",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"released",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"released",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"shares",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"totalReleased",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalReleased",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalShares",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"ERC20PaymentReleased",inputs:[{name:"token",type:"address",indexed:!0,internalType:"contract IERC20Upgradeable"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"PayeeAdded",inputs:[{name:"account",type:"address",indexed:!1,internalType:"address"},{name:"shares",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PaymentReceived",inputs:[{name:"from",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PaymentReleased",inputs:[{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var SE,h5e=ce(()=>{"use strict";u();p();Da();RM();SE=class{constructor(e,n,a){ae(this,"transfer",me(async(e,n)=>this.erc20.transfer.prepare(e,n)));ae(this,"transferFrom",me(async(e,n,a)=>this.erc20.transferFrom.prepare(e,n,a)));ae(this,"setAllowance",me(async(e,n)=>this.erc20.setAllowance.prepare(e,n)));ae(this,"transferBatch",me(async e=>this.erc20.transferBatch.prepare(e)));this.contractWrapper=e,this.storage=n,this.erc20=new dm(this.contractWrapper,this.storage,a),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(){return this.erc20.get()}async balance(){return await this.erc20.balance()}async balanceOf(e){return this.erc20.balanceOf(e)}async totalSupply(){return await this.erc20.totalSupply()}async allowance(e){return await this.erc20.allowance(e)}async allowanceOf(e,n){return await this.erc20.allowanceOf(e,n)}}});var af0={};V0(af0,{TokenDrop:()=>b5e});var nf0,qAa,jAa,KAa,FG,b5e,rf0=ce(()=>{"use strict";u();p();nf0=Ee(Xe());ln();Da();Rf();or();X1();Fl();Gc();J8();TE();h5e();ir();qAa=Ee(Va()),jAa=Ee(ro());W0();KAa=Ee(Kc()),FG=class FG extends SE{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"claim",me((()=>{var n=this;return async function(a){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n.claimTo.prepare(await n.contractWrapper.getSignerAddress(),a,r)}})()));ae(this,"claimTo",me((()=>{var n=this;return async function(a,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return n.erc20.claimTo.prepare(a,r,{checkERC20Allowance:f})}})()));ae(this,"delegateTo",me(async n=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"delegate",args:[await Oe(n)]})));ae(this,"burnTokens",me(async n=>this.erc20.burn.prepare(n)));ae(this,"burnFrom",me(async(n,a)=>this.erc20.burnFrom.prepare(n,a)));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,m5e,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,FG.contractRoles),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.sales=new Ss(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.claimConditions=new id(this.contractWrapper,this.metadata,this.storage)}async getVoteBalance(){return await this.getVoteBalanceOf(await this.contractWrapper.getSignerAddress())}async getVoteBalanceOf(n){return await this.erc20.getValue(await this.contractWrapper.read("getVotes",[await Oe(n)]))}async getDelegation(){return await this.getDelegationOf(await this.contractWrapper.getSignerAddress())}async getDelegationOf(n){return await this.contractWrapper.read("delegates",[await Oe(n)])}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),nf0.constants.AddressZero])}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(FG,"contractRoles",y5e);b5e=FG});var ff0=D(($Aa,uan)=>{uan.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkpoints",inputs:[{name:"account",type:"address",internalType:"address"},{name:"pos",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"tuple",internalType:"struct ERC20VotesUpgradeable.Checkpoint",components:[{name:"fromBlock",type:"uint32",internalType:"uint32"},{name:"votes",type:"uint224",internalType:"uint224"}]}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"delegate",inputs:[{name:"delegatee",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegateBySig",inputs:[{name:"delegatee",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"expiry",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegates",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastTotalSupply",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"supplyClaimedByWallet",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"numCheckpoints",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_conditions",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DelegateChanged",inputs:[{name:"delegator",type:"address",indexed:!0,internalType:"address"},{name:"fromDelegate",type:"address",indexed:!0,internalType:"address"},{name:"toDelegate",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"DelegateVotesChanged",inputs:[{name:"delegate",type:"address",indexed:!0,internalType:"address"},{name:"previousBalance",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newBalance",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]}]});var if0=D((JAa,pan)=>{pan.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkpoints",inputs:[{name:"account",type:"address",internalType:"address"},{name:"pos",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"tuple",internalType:"struct ERC20VotesUpgradeable.Checkpoint",components:[{name:"fromBlock",type:"uint32",internalType:"uint32"},{name:"votes",type:"uint224",internalType:"uint224"}]}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"delegate",inputs:[{name:"delegatee",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegateBySig",inputs:[{name:"delegatee",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"expiry",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegates",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IDropClaimCondition_V2.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimTimestamp",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastTotalSupply",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_primarySaleRecipient",type:"address",internalType:"address"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxWalletClaimCount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"numCheckpoints",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxWalletClaimCount",inputs:[{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setWalletClaimCount",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"walletClaimCount",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DelegateChanged",inputs:[{name:"delegator",type:"address",indexed:!0,internalType:"address"},{name:"fromDelegate",type:"address",indexed:!0,internalType:"address"},{name:"toDelegate",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"DelegateVotesChanged",inputs:[{name:"delegate",type:"address",indexed:!0,internalType:"address"},{name:"previousBalance",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newBalance",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});var sf0={};V0(sf0,{Token:()=>v5e});var E9,cCa,dCa,uCa,g5e,NG,v5e,of0=ce(()=>{"use strict";u();p();E9=Ee(Xe());ln();Da();Rf();or();X1();Fl();Gc();J8();RM();h5e();ir();cCa=Ee(Va()),dCa=Ee(ro());W0();uCa=Ee(Kc()),g5e=class{constructor(e,n){this.contractWrapper=e,this.events=n}async getAllHolderBalances(){let n=(await this.events.getEvents("Transfer")).map(i=>i.data),a={};n.forEach(i=>{let s=i?.from,o=i?.to,c=i?.value;s!==E9.constants.AddressZero&&(s in a||(a[s]=E9.BigNumber.from(0)),a[s]=a[s].sub(c)),o!==E9.constants.AddressZero&&(o in a||(a[o]=E9.BigNumber.from(0)),a[o]=a[o].add(c))});let r=Object.entries(a),f=await Promise.all(r.map(i=>{let[,s]=i;return Ja(this.contractWrapper.getProvider(),this.contractWrapper.address,s)}));return r.map((i,s)=>{let[o]=i;return{holder:o,balance:f[s]}})}},NG=class NG extends SE{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"mint",me(async n=>this.erc20.mint.prepare(n)));ae(this,"mintTo",me(async(n,a)=>this.erc20.mintTo.prepare(n,a)));ae(this,"mintBatchTo",me(async n=>this.erc20.mintBatchTo.prepare(n)));ae(this,"delegateTo",me(async n=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"delegate",args:[await Oe(n)]})));ae(this,"burn",me(n=>this.erc20.burn.prepare(n)));ae(this,"burnFrom",me(async(n,a)=>this.erc20.burnFrom.prepare(n,a)));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,OG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,NG.contractRoles),this.sales=new Ss(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.history=new g5e(this.contractWrapper,this.events),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.signature=new SM(this.contractWrapper,this.roles)}async getVoteBalance(){return await this.getVoteBalanceOf(await this.contractWrapper.getSignerAddress())}async getVoteBalanceOf(n){return await this.erc20.getValue(await this.contractWrapper.read("getVotes",[n]))}async getDelegation(){return await this.getDelegationOf(await this.contractWrapper.getSignerAddress())}async getDelegationOf(n){return await this.contractWrapper.read("delegates",[await Oe(n)])}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),E9.constants.AddressZero])}async getMintTransaction(n,a){return this.erc20.getMintTransaction(n,a)}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(NG,"contractRoles",Rs);v5e=NG});var cf0=D((mCa,han)=>{han.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkpoints",inputs:[{name:"account",type:"address",internalType:"address"},{name:"pos",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"tuple",internalType:"struct ERC20VotesUpgradeable.Checkpoint",components:[{name:"fromBlock",type:"uint32",internalType:"uint32"},{name:"votes",type:"uint224",internalType:"uint224"}]}],stateMutability:"view"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"delegate",inputs:[{name:"delegatee",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegateBySig",inputs:[{name:"delegatee",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"expiry",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegates",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getPastTotalSupply",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_primarySaleRecipient",type:"address",internalType:"address"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"numCheckpoints",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"DelegateChanged",inputs:[{name:"delegator",type:"address",indexed:!0,internalType:"address"},{name:"fromDelegate",type:"address",indexed:!0,internalType:"address"},{name:"toDelegate",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"DelegateVotesChanged",inputs:[{name:"delegate",type:"address",indexed:!0,internalType:"address"},{name:"previousBalance",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newBalance",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ITokenERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});var UG,df0=ce(()=>{"use strict";u();p();UG=function(t){return t[t.Against=0]="Against",t[t.For=1]="For",t[t.Abstain=2]="Abstain",t}({})});var lf0={};V0(lf0,{Vote:()=>w5e});var lm,ICa,kCa,w5e,uf0=ce(()=>{"use strict";u();p();lm=Ee(Xe());or();ln();Da();Rf();X1();df0();ir();ICa=Ee(Va()),kCa=Ee(ro());W0();w5e=class{constructor(e,n,a){ae(this,"propose",me(async(e,n)=>{n||(n=[{toAddress:this.contractWrapper.address,nativeTokenValue:0,transactionData:"0x"}]);let a=n.map(i=>i.toAddress),r=n.map(i=>i.nativeTokenValue),f=n.map(i=>i.transactionData);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"propose",args:[a,r,f,e],parse:i=>({id:this.contractWrapper.parseLogs("ProposalCreated",i?.logs)[0].args.proposalId,receipt:i})})}));ae(this,"vote",me((()=>{var e=this;return async function(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";return await e.ensureExists(n),Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"castVoteWithReason",args:[n,a,r]})}})()));ae(this,"execute",me(async e=>{await this.ensureExists(e);let n=await this.get(e),a=n.executions.map(s=>s.toAddress),r=n.executions.map(s=>s.nativeTokenValue),f=n.executions.map(s=>s.transactionData),i=lm.utils.id(n.description);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"execute",args:[a,r,f,i]})}));let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(e,n,f,r,a);this._chainId=i,this.abi=bt.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,HG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper)}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){let a=(await this.getAll()).filter(r=>r.proposalId.eq(lm.BigNumber.from(e)));if(a.length===0)throw new Error("proposal not found");return a[0]}async getAll(){let e=await this.contractWrapper.read("getAllProposals",[])??[];return(await Promise.all(e.map(a=>Promise.all([this.contractWrapper.read("state",[a.proposalId]),this.getProposalVotes(a.proposalId)])))).map((a,r)=>{let[f,i]=a,s=e[r];return{proposalId:s.proposalId,proposer:s.proposer,description:s.description,startBlock:s.startBlock,endBlock:s.endBlock,state:f,votes:i,executions:s[3].map((o,c)=>({toAddress:s.targets[c],nativeTokenValue:o,transactionData:s.calldatas[c]}))}})}async getProposalVotes(e){let n=await this.contractWrapper.read("proposalVotes",[e]);return[{type:UG.Against,label:"Against",count:n.againstVotes},{type:UG.For,label:"For",count:n.forVotes},{type:UG.Abstain,label:"Abstain",count:n.abstainVotes}]}async hasVoted(e,n){return n||(n=await this.contractWrapper.getSignerAddress()),this.contractWrapper.read("hasVoted",[e,await Oe(n)])}async canExecute(e){await this.ensureExists(e);let n=await this.get(e),a=n.executions.map(s=>s.toAddress),r=n.executions.map(s=>s.nativeTokenValue),f=n.executions.map(s=>s.transactionData),i=lm.utils.id(n.description);try{return await this.contractWrapper.callStatic().execute(a,r,f,i),!0}catch{return!1}}async balance(){let e=await this.contractWrapper.getProvider().getBalance(this.contractWrapper.address);return{name:"",symbol:"",decimals:18,value:e,displayValue:lm.utils.formatUnits(e,18)}}async balanceOfToken(e){let n=(await Promise.resolve().then(()=>Ee(j1()))).default,a=new lm.Contract(await Oe(e),n,this.contractWrapper.getProvider());return await Ja(this.contractWrapper.getProvider(),e,await a.balanceOf(this.contractWrapper.address))}async ensureExists(e){try{await this.contractWrapper.read("state",[e])}catch{throw Error(`Proposal ${e} not found`)}}async settings(){let[e,n,a,r,f]=await Promise.all([this.contractWrapper.read("votingDelay",[]),this.contractWrapper.read("votingPeriod",[]),this.contractWrapper.read("token",[]),this.contractWrapper.read("quorumNumerator",[]),this.contractWrapper.read("proposalThreshold",[])]),i=await Di(this.contractWrapper.getProvider(),a);return{votingDelay:e.toString(),votingPeriod:n.toString(),votingTokenAddress:a,votingTokenMetadata:i,votingQuorumFraction:r.toString(),proposalTokenThreshold:f.toString()}}async prepare(e,n,a){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:n,overrides:a})}async call(e,n,a){return this.contractWrapper.call(e,n,a)}}});var pf0=D((DCa,ban)=>{ban.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"BALLOT_TYPEHASH",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"COUNTING_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"pure"},{type:"function",name:"EXTENDED_BALLOT_TYPEHASH",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"cancel",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"descriptionHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVote",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteBySig",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteWithReason",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"reason",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteWithReasonAndParams",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"reason",type:"string",internalType:"string"},{name:"params",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteWithReasonAndParamsBySig",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"reason",type:"string",internalType:"string"},{name:"params",type:"bytes",internalType:"bytes"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"execute",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"descriptionHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"getAllProposals",inputs:[],outputs:[{name:"allProposals",type:"tuple[]",internalType:"struct VoteERC20.Proposal[]",components:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"proposer",type:"address",internalType:"address"},{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"signatures",type:"string[]",internalType:"string[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"startBlock",type:"uint256",internalType:"uint256"},{name:"endBlock",type:"uint256",internalType:"uint256"},{name:"description",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotesWithParams",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"},{name:"params",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"hasVoted",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hashProposal",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"descriptionHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"pure"},{type:"function",name:"initialize",inputs:[{name:"_name",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_token",type:"address",internalType:"address"},{name:"_initialVotingDelay",type:"uint256",internalType:"uint256"},{name:"_initialVotingPeriod",type:"uint256",internalType:"uint256"},{name:"_initialProposalThreshold",type:"uint256",internalType:"uint256"},{name:"_initialVoteQuorumFraction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"proposalDeadline",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalIndex",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalProposer",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"proposalSnapshot",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalThreshold",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalVotes",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"againstVotes",type:"uint256",internalType:"uint256"},{name:"forVotes",type:"uint256",internalType:"uint256"},{name:"abstainVotes",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposals",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"proposer",type:"address",internalType:"address"},{name:"startBlock",type:"uint256",internalType:"uint256"},{name:"endBlock",type:"uint256",internalType:"uint256"},{name:"description",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"propose",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"description",type:"string",internalType:"string"}],outputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"quorum",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"quorumDenominator",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"quorumNumerator",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"quorumNumerator",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"relay",inputs:[{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setContractURI",inputs:[{name:"uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setProposalThreshold",inputs:[{name:"newProposalThreshold",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setVotingDelay",inputs:[{name:"newVotingDelay",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setVotingPeriod",inputs:[{name:"newVotingPeriod",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"state",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint8",internalType:"enum IGovernorUpgradeable.ProposalState"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"token",inputs:[],outputs:[{name:"",type:"address",internalType:"contract IERC5805Upgradeable"}],stateMutability:"view"},{type:"function",name:"updateQuorumNumerator",inputs:[{name:"newQuorumNumerator",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"votingDelay",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"votingPeriod",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"ProposalCanceled",inputs:[{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ProposalCreated",inputs:[{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"proposer",type:"address",indexed:!1,internalType:"address"},{name:"targets",type:"address[]",indexed:!1,internalType:"address[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"signatures",type:"string[]",indexed:!1,internalType:"string[]"},{name:"calldatas",type:"bytes[]",indexed:!1,internalType:"bytes[]"},{name:"voteStart",type:"uint256",indexed:!1,internalType:"uint256"},{name:"voteEnd",type:"uint256",indexed:!1,internalType:"uint256"},{name:"description",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"ProposalExecuted",inputs:[{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ProposalThresholdSet",inputs:[{name:"oldProposalThreshold",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newProposalThreshold",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"QuorumNumeratorUpdated",inputs:[{name:"oldQuorumNumerator",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newQuorumNumerator",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"VoteCast",inputs:[{name:"voter",type:"address",indexed:!0,internalType:"address"},{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"support",type:"uint8",indexed:!1,internalType:"uint8"},{name:"weight",type:"uint256",indexed:!1,internalType:"uint256"},{name:"reason",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"VoteCastWithParams",inputs:[{name:"voter",type:"address",indexed:!0,internalType:"address"},{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"support",type:"uint8",indexed:!1,internalType:"uint8"},{name:"weight",type:"uint256",indexed:!1,internalType:"uint256"},{name:"reason",type:"string",indexed:!1,internalType:"string"},{name:"params",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"VotingDelaySet",inputs:[{name:"oldVotingDelay",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newVotingDelay",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"VotingPeriodSet",inputs:[{name:"oldVotingPeriod",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newVotingPeriod",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"Empty",inputs:[]}]});function DE(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof E<"u"&&E.env[t]?E.env[t]:e}function UE(){return DE("contractPublisherAddress",man)}function ZG(t){return!!(t&&t._isSigner)}function z5e(t){return!!(t&&t._isProvider)}function van(t){for(let e=0,n=hf0.length;e"u"?{x_sdk_name:zG.name,x_sdk_platform:mf0(),x_sdk_version:zG.version,x_sdk_os:bf0(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=zG.name,globalThis.X_SDK_PLATFORM=mf0(),globalThis.X_SDK_VERSION=zG.version,globalThis.X_SDK_OS=bf0(),globalThis.APP_BUNDLE_ID=void 0),{x_sdk_name:globalThis.X_SDK_NAME,x_sdk_platform:globalThis.X_SDK_PLATFORM,x_sdk_version:globalThis.X_SDK_VERSION,x_sdk_os:globalThis.X_SDK_OS,app_bundle_id:globalThis.APP_BUNDLE_ID||""})}function mf0(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":"browser"}function xan(t){return t.supportedChains.reduce((e,n)=>(e[n.chainId]||(e[n.chainId]=n),e),{})}function gi(t,e){if(typeof t=="string"&&Ean(t))return KG(t,e);let n=GG.parse(e);zM(t)&&(n.supportedChains=[t,...n.supportedChains.filter(i=>i.chainId===t.chainId)]);let a=xan(n),r="",f;try{f=ii0(t,n),r=vl(a[f],n.clientId)[0]}catch{}if(r||(r=`https://${f||t}.rpc.thirdweb.com/${n.clientId||""}`),!r)throw new Error(`No rpc url found for chain ${t}. Please provide a valid rpc url via the 'supportedChains' property of the sdk options.`);return KG(r,e,f)}function ii0(t,e){if(zM(t))return t.chainId;if(typeof t=="number")return t;{let n=e.supportedChains.reduce((a,r)=>(a[r.slug]=r.chainId,a),{});if(t in n)return n[t]}throw new Error(`Cannot resolve chainId from: ${t} - please pass the chainId instead and specify it in the 'supportedChains' property of the SDK options.`)}function zM(t){return typeof t!="string"&&typeof t!="number"&&!ZG(t)&&!z5e(t)}function Ean(t){let e=t.match(/^(ws|http)s?:/i);if(e)switch(e[1].toLowerCase()){case"http":case"https":case"ws":case"wss":return!0}return!1}function KG(t,e,n){try{let a={},r="none";if(_an(t)){if(e?.secretKey)throw new Error("Cannot use secretKey in browser context");if(e?.clientId){let s=new URL(t);s.pathname=e.clientId,a["x-client-id"]=e.clientId,t=s.toString(),r="clientId"}typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(a.authorization=`Bearer ${globalThis.TW_AUTH_TOKEN}`,r="twAuthToken"),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(a["x-authorize-wallet"]="true"),wan(a);let i=typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis?globalThis.APP_BUNDLE_ID:void 0;!t.includes("bundleId")&&i&&(t=t+(i?`?bundleId=${i}`:""))}let f=t.match(/^(ws|http)s?:/i);if(f)switch(f[1].toLowerCase()){case"http":case"https":let i=`${t}-${n||-1}-${r}`,s=yf0.get(i);if(s)return s;let o=!1;typeof globalThis<"u"&&"TW_SKIP_FETCH_SETUP"in globalThis&&typeof globalThis.TW_SKIP_FETCH_SETUP=="boolean"&&(o=globalThis.TW_SKIP_FETCH_SETUP);let c=n?new jG({url:t,headers:a,skipFetchSetup:o},n,e?.rpcBatchSettings):new a0.providers.JsonRpcBatchProvider({url:t,headers:a,skipFetchSetup:o});return yf0.set(i,c),c;case"ws":case"wss":return new a0.providers.WebSocketProvider(t,n)}}catch{}return a0.providers.getDefaultProvider(t)}function _an(t){return new URL(t).hostname.endsWith(".thirdweb.com")}function ts(t,e){let n,a;if(ZG(t)?(n=t,t.provider&&(a=t.provider)):z5e(t)?a=t:a=gi(t,e),e?.readonlySettings&&(a=KG(e.readonlySettings.rpcUrl,e,e.readonlySettings.chainId)),!a)throw n?new Error("No provider passed to the SDK! Please make sure that your signer is connected to a provider!"):new Error("No provider found! Make sure to specify which network to connect to, or pass a signer or provider to the SDK!");return[n,a]}async function W5e(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;T5e||(T5e=ts("ethereum")[1]);let n;x5e.has(t)?n=x5e.get(t):n=T5e.resolveName(t).then(r=>r?{address:r,expirationTime:new Date(Date.now()+1e3*60*5)}:{address:null,expirationTime:new Date(Date.now()+1e3*30)});let a=await n;return a.expirationTimevf0)throw new Error(`version is longer than ${vf0} characters`);let e=t.trim().match(San);if(!e||e?.length!==4)throw new Error(`${t} is not a valid semantic version. Should be in the format of major.minor.patch. Ex: 0.4.1`);let n=Number(e[1]),a=Number(e[2]),r=Number(e[3]),f=[n,a,r].join(".");return{major:n,minor:a,patch:r,versionString:f}}function q5e(t,e){let n=QG(t),a=QG(e);if(a.major>n.major)return!0;let r=a.major===n.major;if(r&&a.minor>n.minor)return!0;let f=a.minor===n.minor;return r&&f&&a.patch>n.patch}async function HE(t,e){let n=await(await e.download(t)).text();return vi0.parse(JSON.parse(n))}async function qM(t,e){let n=await e.downloadJSON(t,{timeoutInSeconds:Ran});if(!n||!n.output)throw new Error(`Could not resolve metadata for contract at ${t}`);return Y5e(n)}function Y5e(t){let e=bt.parse(t.output.abi),n=t.settings.compilationTarget,a=Object.keys(n),r=n[a[0]],f=V5e.parse({title:t.output.devdoc.title,author:t.output.devdoc.author,details:t.output.devdoc.detail,notice:t.output.userdoc.notice}),i=[...new Set(Object.entries(t.sources).map(s=>{let[,o]=s;return o.license}))];return{name:r,abi:e,metadata:t,info:f,licenses:i,isPartialAbi:t.isPartialAbi}}async function eK(t,e){return WM.parse(JSON.parse(await(await e.download(t)).text()))}async function R9(t,e,n){let a=await eK(t,e),r,f;if(n&&a.compilers){let o;switch(n.compilerType){case"solc":{if(n.compilerVersion)o=a.compilers.solc?.find(c=>c.compilerVersion===n.compilerVersion&&c.evmVersion===n.evmVersion);else if(a.compilers.solc){let c=a.compilers.solc.length;o=a.compilers.solc[c-1]}break}case"zksolc":{if(n.compilerVersion)o=a.compilers.zksolc?.find(c=>c.compilerVersion===n.compilerVersion&&c.evmVersion===n.evmVersion);else if(a.compilers.zksolc){let c=a.compilers.zksolc.length;o=a.compilers.zksolc[c-1]}break}}d0(o,"Compiler or EVM version not found"),r=o.bytecodeUri,f=o.metadataUri}else r=a.bytecodeUri,f=a.metadataUri;let[i,s]=await Promise.all([e.download(r),qM(f,e)]);return xi0.parse({...a,...s,bytecode:await i.text(),fetchedMetadataUri:f,fetchedBytecodeUri:r})}function Ban(t,e){if(t.length===0||t.length===1||!e)return t;for(let n=0;n1&&arguments[1]!==void 0?arguments[1]:new Map;function n(f,i){if(e.size>=t){let s=e.keys().next().value;e.delete(s)}e.set(f,i)}function a(f){if(!e.has(f))return;let s=e.get(f);return e.delete(f),e.set(f,s),s}function r(f){return e.has(f)}return{put:n,get:a,has:r,maxEntries:t,store:e}}async function Ds(t,e,n){let r=`${n?`${n.compilerType}_${n.compilerVersion||""}_${n.evmVersion||""} - `:"default"}_${t}`,f=Tf0.get(r);if(f)return f;let i=await R9(t,e,n),s;try{s=await HE(t,e)}catch{}let o={compilerMetadata:i,extendedMetadata:s};return Tf0.put(r,o),o}function J5e(t){t&&t.length>0?R5e=t:R5e=n1}function X5e(){return R5e}async function ac(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",a=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,s=X5e().find(h=>h.chainId===137)||H7,o=await Oe(t),c=(await Promise.resolve().then(()=>Ee(LW()))).default,d=new a0.Contract(UE(),c,gi(s,{clientId:r,secretKey:f})),l;if(!n||n==="latest"){let h=await d.getPublishedContract(o,e);l=OM.parse({id:h.contractId,timestamp:h.publishTimestamp,metadataUri:h.publishMetadataUri})}else{let h=(await d.getPublishedContractVersions(o,e)).map(S=>OM.parse({id:S.contractId,timestamp:S.publishTimestamp,metadataUri:S.publishMetadataUri})),v=(await Promise.all(h.map(S=>Ds(S.metadataUri,a)))).map((S,O)=>({name:h[O].id,publishedTimestamp:h[O].timestamp,publishedMetadata:S})).find(S=>S.publishedMetadata.extendedMetadata?.version===n);d0(v,"Contract version not found"),l=h.find(S=>S.timestamp===v.publishedTimestamp)}if(!l)throw new Error(`No published contract found for ${e} at version by '${Eu}'`);return l}async function dG(t,e){try{let n=(await Promise.resolve().then(()=>Ee(boe()))).default,a=new a0.Contract(t,n,e),[r,f]=await Promise.all([a.contractType(),a.contractVersion()]);return{type:a0.utils.toUtf8String(r).replace(/\x00/g,""),version:f}}catch{return}}function Af0(){try{let t=La();if(es){if(o0>=es.postBundlePosition){let e=new Error("Unexpected bundle position");throw e.incomplete=!0,e}o0=es.postBundlePosition,es=null}if(o0==C9)ni=null,ct=null,Ol&&(Ol=null);else if(o0>C9){let e=new Error("Unexpected end of CBOR data");throw e.incomplete=!0,e}else if(!D5e)throw new Error("Data read, but end of buffer not reached");return t}catch(t){throw Ii0(),(t instanceof RangeError||t.message.startsWith("Unexpected end of buffer"))&&(t.incomplete=!0),t}}function La(){let t=ct[o0++],e=t>>5;if(t=t&31,t>23)switch(t){case 24:t=ct[o0++];break;case 25:if(e==7)return Uan();t=tc.getUint16(o0),o0+=2;break;case 26:if(e==7){let n=tc.getFloat32(o0);if(ua.useFloat32>2){let a=ki0[(ct[o0]&127)<<1|ct[o0+1]>>7];return o0+=4,(a*n+(n>0?.5:-.5)>>0)/a}return o0+=4,n}t=tc.getUint32(o0),o0+=4;break;case 27:if(e==7){let n=tc.getFloat64(o0);return o0+=8,n}if(e>1){if(tc.getUint32(o0)>0)throw new Error("JavaScript does not support arrays, maps, or strings with length over 4294967295");t=tc.getUint32(o0+4)}else ua.int64AsNumber?(t=tc.getUint32(o0)*4294967296,t+=tc.getUint32(o0+4)):t=tc.getBigUint64(o0);o0+=8;break;case 31:switch(e){case 2:case 3:throw new Error("Indefinite length not supported for byte or text strings");case 4:let n=[],a,r=0;for(;(a=La())!=RE;)n[r++]=a;return e==4?n:e==3?n.join(""):_.Buffer.concat(n);case 5:let f;if(ua.mapsAsObjects){let i={};if(ua.keyMap)for(;(f=La())!=RE;)i[gu(ua.decodeKey(f))]=La();else for(;(f=La())!=RE;)i[gu(f)]=La();return i}else{LM&&(ua.mapsAsObjects=!0,LM=!1);let i=new Map;if(ua.keyMap)for(;(f=La())!=RE;)i.set(ua.decodeKey(f),La());else for(;(f=La())!=RE;)i.set(f,La());return i}case 7:return RE;default:throw new Error("Invalid major type for indefinite length "+e)}default:throw new Error("Unknown token "+t)}switch(e){case 0:return t;case 1:return~t;case 2:return Oan(t);case 3:if(UM>=o0)return $G.slice(o0-JG,(o0+=t)-JG);if(UM==0&&C9<140&&t<32){let r=t<16?Ei0(t):Nan(t);if(r!=null)return r}return Fan(t);case 4:let n=new Array(t);for(let r=0;r=xf0){let r=ni[t&8191];if(r)return r.read||(r.read=L5e(r)),r.read();if(t<65536){if(t==Lan)return N5e(La());if(t==Pan){let f=FM(),i=La();for(let s=2;s23)switch(n){case 24:n=ct[o0++];break;case 25:n=tc.getUint16(o0),o0+=2;break;case 26:n=tc.getUint32(o0),o0+=4;break;default:throw new Error("Expected array header, but got "+ct[o0-1])}let a=this.compiledReader;for(;a;){if(a.propertyCount===n)return a(La);a=a.next}if(this.slowReads++>=3){let f=this.length==n?this:this.slice(0,n);return a=ua.keyMap?new Function("r","return {"+f.map(i=>ua.decodeKey(i)).map(i=>Cf0.test(i)?gu(i)+":r()":"["+JSON.stringify(i)+"]:r()").join(",")+"}"):new Function("r","return {"+f.map(i=>Cf0.test(i)?gu(i)+":r()":"["+JSON.stringify(i)+"]:r()").join(",")+"}"),this.compiledReader&&(a.next=this.compiledReader),a.propertyCount=n,this.compiledReader=a,a(La)}let r={};if(ua.keyMap)for(let f=0;f64&&M5e)return M5e.decode(ct.subarray(o0,o0+=t));let n=o0+t,a=[];for(e="";o065535&&(o-=65536,a.push(o>>>10&1023|55296),o=56320|o&1023),a.push(o)}else a.push(r);a.length>=4096&&(e+=Ms.apply(String,a),a.length=0)}return a.length>0&&(e+=Ms.apply(String,a)),e}function Nan(t){let e=o0,n=new Array(t);for(let a=0;a0){o0=e;return}n[a]=r}return Ms.apply(String,n)}function Ei0(t){if(t<4)if(t<2){if(t===0)return"";{let e=ct[o0++];if((e&128)>1){o0-=1;return}return Ms(e)}}else{let e=ct[o0++],n=ct[o0++];if((e&128)>0||(n&128)>0){o0-=2;return}if(t<3)return Ms(e,n);let a=ct[o0++];if((a&128)>0){o0-=3;return}return Ms(e,n,a)}else{let e=ct[o0++],n=ct[o0++],a=ct[o0++],r=ct[o0++];if((e&128)>0||(n&128)>0||(a&128)>0||(r&128)>0){o0-=4;return}if(t<6){if(t===4)return Ms(e,n,a,r);{let f=ct[o0++];if((f&128)>0){o0-=5;return}return Ms(e,n,a,r,f)}}else if(t<8){let f=ct[o0++],i=ct[o0++];if((f&128)>0||(i&128)>0){o0-=6;return}if(t<7)return Ms(e,n,a,r,f,i);let s=ct[o0++];if((s&128)>0){o0-=7;return}return Ms(e,n,a,r,f,i,s)}else{let f=ct[o0++],i=ct[o0++],s=ct[o0++],o=ct[o0++];if((f&128)>0||(i&128)>0||(s&128)>0||(o&128)>0){o0-=8;return}if(t<10){if(t===8)return Ms(e,n,a,r,f,i,s,o);{let c=ct[o0++];if((c&128)>0){o0-=9;return}return Ms(e,n,a,r,f,i,s,o,c)}}else if(t<12){let c=ct[o0++],d=ct[o0++];if((c&128)>0||(d&128)>0){o0-=10;return}if(t<11)return Ms(e,n,a,r,f,i,s,o,c,d);let l=ct[o0++];if((l&128)>0){o0-=11;return}return Ms(e,n,a,r,f,i,s,o,c,d,l)}else{let c=ct[o0++],d=ct[o0++],l=ct[o0++],h=ct[o0++];if((c&128)>0||(d&128)>0||(l&128)>0||(h&128)>0){o0-=12;return}if(t<14){if(t===12)return Ms(e,n,a,r,f,i,s,o,c,d,l,h);{let y=ct[o0++];if((y&128)>0){o0-=13;return}return Ms(e,n,a,r,f,i,s,o,c,d,l,h,y)}}else{let y=ct[o0++],v=ct[o0++];if((y&128)>0||(v&128)>0){o0-=14;return}if(t<15)return Ms(e,n,a,r,f,i,s,o,c,d,l,h,y,v);let S=ct[o0++];if((S&128)>0){o0-=15;return}return Ms(e,n,a,r,f,i,s,o,c,d,l,h,y,v,S)}}}}}function Oan(t){return ua.copyBuffers?Uint8Array.prototype.slice.call(ct,o0,o0+=t):ct.subarray(o0,o0+=t)}function Uan(){let t=ct[o0++],e=ct[o0++],n=(t&127)>>2;if(n===31)return e||t&3?NaN:t&128?-1/0:1/0;if(n===0){let a=((t&3)<<8|e)/16777216;return t&128?-a:a}return WG[3]=t&128|(n>>1)+56,WG[2]=(t&7)<<5|e>>3,WG[1]=e<<5,WG[0]=0,_i0[0]}function ME(t,e){return typeof t=="string"?t+e:t instanceof Array?t.concat(e):Object.assign({},t,e)}function A9(){if(!Vc)if(ua.getShared)Z5e();else throw new Error("No packed values available");return Vc}function jan(t,e){let n="get"+t.name.slice(0,-5);typeof t!="function"&&(t=null);let a=t.BYTES_PER_ELEMENT;for(let r=0;r<2;r++){if(!r&&a==1)continue;let f=a==2?1:a==4?2:3;Mf[r?e:e-4]=a==1||r==Wan?i=>{if(!t)throw new Error("Could not find typed array for code "+e);return new t(Uint8Array.prototype.slice.call(i,0).buffer)}:i=>{if(!t)throw new Error("Could not find typed array for code "+e);let s=new DataView(i.buffer,i.byteOffset,i.byteLength),o=i.length>>f,c=new t(o),d=s[n];for(let l=0;l23)switch(t){case 24:t=ct[o0++];break;case 25:t=tc.getUint16(o0),o0+=2;break;case 26:t=tc.getUint32(o0),o0+=4;break}return t}function Z5e(){if(ua.getShared){let t=Ci0(()=>(ct=null,ua.getShared()))||{},e=t.structures||[];ua.sharedVersion=t.version,Vc=ua.sharedValues=t.packedValues,ni===!0?ua.structures=ni=e:ni.splice.apply(ni,[0,e.length].concat(e))}}function Ci0(t){let e=C9,n=o0,a=JG,r=UM,f=$G,i=Ol,s=es,o=new Uint8Array(ct.slice(0,C9)),c=ni,d=ua,l=D5e,h=t();return C9=e,o0=n,JG=a,UM=r,$G=f,Ol=i,es=s,ct=o,D5e=l,ni=c,ua=d,tc=new DataView(ct.buffer,ct.byteOffset,ct.byteLength),h}function Ii0(){ct=null,Ol=null,ni=null}function Van(t){if(t=t.toString(16),t.startsWith("0x")||(t=`0x${t}`),!Yan(t))throw new Error(`Given value "${t}" is not a valid hex string.`);t=t.replace(/^0x/i,"");let e=[];for(let n=0;nbt.parse(f)).flat().filter(f=>f.type!=="constructor");e&&a.push(...bt.parse(e));let r=Ban(a,(f,i)=>f.name===i.name&&f.type===i.type&&f.inputs.length===i.inputs.length);return bt.parse(r)}function O5e(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=t.type,r=!1;return a.endsWith("[]")&&(r=!0,a=a.slice(0,-2)),a.startsWith("bytes")&&(a="BytesLike"),(a.startsWith("uint")||a.startsWith("int"))&&(a=e?"BigNumber":"BigNumberish"),a.startsWith("bool")&&(a="boolean"),a==="address"&&(a="string"),a==="tuple"&&t.components&&(a=`{ ${t.components.map(f=>O5e(f,!1,!0)).join(", ")} }`),r&&(a+="[]"),n&&(a=`${t.name}: ${a}`),a}function tK(t,e,n){return e?.output?.userdoc?.[n]?.[Object.keys(e?.output?.userdoc[n]||{}).find(a=>a.includes(t||"unknown"))||""]?.notice||e?.output?.devdoc?.[n]?.[Object.keys(e?.output?.devdoc[n]||{}).find(a=>a.includes(t||"unknown"))||""]?.details}function vu(t,e){let n=(t||[]).filter(r=>r.type==="function"),a=[];for(let r of n){let f=tK(r.name,e,"methods"),i=r.inputs?.map(l=>`${l.name||"key"}: ${O5e(l)}`)?.join(", ")||"",s=i?`, [${i}]`:"",o=r.outputs?.map(l=>O5e(l,!0))?.join(", "),c=o?`: Promise<${o}>`:": Promise",d=`contract.call("${r.name}"${s})${c}`;a.push({inputs:r.inputs||[],outputs:r.outputs||[],name:r.name||"unknown",signature:d,stateMutability:r.stateMutability||"",comment:f})}return a}function Di0(t,e){let n=vu(t),a=e.flatMap(f=>vu(f));return n.filter(f=>a.find(s=>s.name===f.name&&s.inputs.length===f.inputs.length&&s.inputs.every((o,c)=>o.type==="tuple"||o.type==="tuple[]"?o.type===f.inputs[c].type&&o.components?.every((d,l)=>d.type===f.inputs[c].components?.[l]?.type):o.type===f.inputs[c].type))!==void 0).length===a.length}function Pi0(t,e){let a=e.map(f=>new ni0.Interface(f)).flatMap(f=>Object.values(f.functions).map(i=>Number(f.getSighash(i)).toString(16)));return[...new Set(a)].every(f=>t.includes(f))}function hm(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tde,n=JSON.stringify(t);if(A5e.has(n))return A5e.get(n);let a=Li0(t,e);return A5e.put(n,a),a}function Li0(t,e){let n={};for(let a in e){let r=e[a],f=arn(t,r),i=Li0(t,r.features);n[a]={...r,features:i,enabled:f}}return n}function nde(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tde,n={};for(let a in e){let r=e[a],f=Pi0(t,r.abis),i=nde(t,r.features);n[a]={...r,features:i,enabled:f}}return n}function arn(t,e){return Di0(t,e.abis)}function nK(t,e){if(t)for(let n in t){let a=t[n];a.enabled&&e.push(a),nK(a.features,e)}}function Fi0(t){let e=[];return nK(nde(t),e),e}function Ni0(t){let e=Fi0(t);return e.find(a=>a.name==="ERC721")&&(e=e.filter(a=>a.name!=="ERC20")),rh(e.map(a=>rh(a.abis)))}function Ui0(t,e){return`${t}-${e}`}function frn(t,e,n){Oi0.put(Ui0(t,e),n)}function Yj(t,e){return Oi0.get(Ui0(t,e))}async function Sf(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},r=(await e.getNetwork()).chainId,f=Yj(t,r);if(f)return f;let i;if(!(r===31337||r===1337))try{let o=await fetch(`${rrn}/${r}/${t}`,{headers:{...Tan()}});if(o.ok){let c=await o.json();i=Y5e(c)}}catch{}if(i||(i=await Hi0(t,r,e,n,a)),!i)throw new Error(`Could not resolve contract. Try importing it by visiting: https://thirdweb.com/${r}/${t}`);return i.isPartialAbi?console.warn(`Contract metadata could only be partially resolved, some contract functions might be unavailable. Try importing the contract by visiting: https://thirdweb.com/${r}/${t}`):frn(t,r,i),i}async function Hi0(t,e,n,a){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},f,[i,s]=await Promise.all([Ri0(t,n).catch(()=>{}),irn(t,e,r).then(d=>{if(d)return{uri:d,bytecode:""}}).catch(()=>{})]),o=i?.bytecode,c=s?.uri||i?.uri;if(!c&&!o)throw new Error(`Could not fetch bytecode for contract at ${t} on chain ${e}, double check that the address and chainId are correct.`);try{f=await qM(c,a)}catch{}if(!f&&o){let d=Ni0(o);if(d&&d.length>0)return f={name:"Unimported Contract",abi:d,metadata:{},info:{},licenses:[],isPartialAbi:!0},f}return f}async function irn(t,e,n){let a=(await Promise.resolve().then(()=>Ee(moe()))).default;if(!C5e){let i=n?.supportedChains?.find(s=>s.chainId===137)||H7;C5e=new a0.Contract(KM(),a,gi(i,n))}return await C5e.getMetadataUri(e,t)}async function Yc(t,e,n){try{let a=await Sf(t,e,n);if(a&&a.abi)return a.abi}catch{}}async function srn(t,e){let{extendedMetadata:n}=await Ds(t,e);return n?.compositeAbi||[]}function Gf0(t){return orn.some(a=>t.includes(a))?!0:crn.some(a=>a.some(r=>t.includes(r)))}async function B6(t,e){let n=await e.getCode(t);return n!=="0x"&&n!=="0x0"}async function H5e(t){try{await t.sendTransaction("0xf8a58085174876e800830186a08080b853604580600e600039806000f350fe7fffffffffffffffafffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf31ba02222222222222222222222222222222222222222222222222222222222222222a02222222222222222222222222222222222222222222222222222222222222222")}catch(e){let n=e.toString().toLowerCase(),a=JSON.stringify(e).toLowerCase();return!!(Gf0(n)||Gf0(a))}return!1}function ji0(t,e){let n=a0.utils.arrayify(a0.utils.keccak256(a0.utils.serializeTransaction(t))),a=a0.utils.recoverAddress(n,e),r=a0.utils.serializeTransaction(t,e);return{signer:a,transaction:r}}function NM(t,e){let n=a0.utils.joinSignature(Wi0),a=e.gasPrice?e.gasPrice:100*10**9,r=e.gasLimit?e.gasLimit:1e5,f=ji0({gasPrice:a,gasLimit:r,nonce:0,data:zi0,chainId:t},n),i=a0.utils.getContractAddress({from:f.signer,nonce:0});return{...f,deployment:i,valueToSend:a0.BigNumber.from(a).mul(r)}}async function sd(t){return(await aK(t)).deployment}async function aK(t){let e=(await t.getNetwork()).chainId;if(I5e[e]){let l=await H5e(t)?e:0,h=I5e[e]?.gasPrice,y=I5e[e]?.gasLimit,v=NM(l,{gasPrice:h?a0.BigNumber.from(h):void 0,gasLimit:y?a0.BigNumber.from(y):void 0});return await B6(v.deployment,t)&&(v.transaction=""),v}let n=[...U5e.map(d=>NM(e,{gasPrice:a0.BigNumber.from(d)})),...U5e.map(d=>NM(0,{gasPrice:a0.BigNumber.from(d)}))],a=await Promise.all(n.map(d=>B6(d.deployment,t))),r=n.findIndex(d=>d.deployment===qi0);if(r&&a[r])return{...n[r],transaction:""};let f=a.findIndex(d=>d);if(f&&n[f])return{...n[f],transaction:""};let[i,s]=await Promise.all([H5e(t),t.getGasPrice()]),o=i?e:0,c=drn(s);return NM(o,{gasPrice:c})}function drn(t){let e=U5e.find(n=>a0.BigNumber.from(n).gte(t));return e?a0.BigNumber.from(e):t}function ide(t){let e=t.startsWith("0x")?t:`0x${t}`,a=`tw.${a0.utils.id(e)}`;return a0.utils.id(a)}function HM(t,e,n){let a=t.startsWith("0x")?t:`0x${t}`,r=n?a0.utils.id(n):ide(a);return a0.utils.solidityPack(["bytes32","bytes","bytes"],[r,a,e])}function OE(t,e,n,a){let r=t.startsWith("0x")?t:`0x${t}`,f=a?a0.utils.id(a):ide(r),i=a0.utils.solidityPack(["bytes","bytes"],[r,e]),s=a0.utils.solidityPack(["bytes1","address","bytes32","bytes32"],["0xff",n,f,a0.utils.solidityKeccak256(["bytes"],[i])]);return`0x${a0.utils.solidityKeccak256(["bytes"],[s]).slice(26)}`}function Jj(t){let e=X5e().find(n=>n.chainId===t);return e&&e.nativeCurrency?{name:e.nativeCurrency.name,symbol:e.nativeCurrency.symbol,decimals:18,wrapped:{address:a0.constants.AddressZero,name:`Wrapped ${e.nativeCurrency.name}`,symbol:`W${e.nativeCurrency.symbol}`}}:rm[t]||{name:"Ether",symbol:"ETH",decimals:18,wrapped:{address:a0.constants.AddressZero,name:"Wrapped Ether",symbol:"WETH"}}}function sh(t){let e=bt.parse(t||[]);for(let n of e)if(n.type==="constructor")return n.inputs||[];return[]}function Qf0(t){return lrn[t]||a0.constants.AddressZero}async function $c(t,e,n,a,r,f,i){let s=r&&r.contractName,o=r&&r.version,c=r&&r.publisherAddress,d=r&&r.metadata;if(d0(s||d,"Require contract name or metadata"),s&&fh.deploymentPresets[s])return fh.deploymentPresets[s];if(s==="WETH9"){let S=OE(Kf0,[],a),O=await B6(S,e),F="";return O||(F=HM(Kf0,[])),{name:s,type:t,transaction:{predictedAddress:S,to:a,data:F}}}if(!d){d0(s,"Require contract name"),c||(c=Eu);let S=await ac(c,s,o,n,f,i);d=(await Ds(S.metadataUri,n)).compilerMetadata}let l=await rK(d,e,n,a,r?.constructorParams,f,i),h=OE(d.bytecode,l,a),y=await B6(h,e),v="";return y||(v=HM(d.bytecode,l)),{name:s,type:t,transaction:{predictedAddress:h,to:a,data:v},encodedArgs:l}}async function rK(t,e,n,a,r,f,i){let s=sh(t.abi),o=s.map(l=>l.type==="tuple[]"||l.type==="tuple"?a0.utils.ParamType.from(l):l.type),c=await Promise.all(s.map(async l=>{if(r&&r[l.name])return r[l.name].type&&d0(r[l.name].type===l.type,`Provided type ${r[l.name].type} doesn't match the actual type ${l.type} from Abi`),r[l.name].value;if(l.name&&l.name.includes("nativeTokenWrapper"))return await Vf0(e,n,a,f,i);if(l.name&&l.name.includes("trustedForwarder")){if(t.name==="Pack")return xr;let h=await $c("infra",e,n,a,{contractName:"Forwarder"},f,i);return fh.deploymentPresets.Forwarder||(fh.deploymentPresets.Forwarder=h),h.transaction.predictedAddress}else if(l.name&&l.name.includes("royaltyEngineAddress")){let h=(await e.getNetwork()).chainId;return Qf0(h)}else if(l.name&&l.name.includes("marketplaceV3Params")){let h=(await e.getNetwork()).chainId,y=Qf0(h),v=await Vf0(e,n,a,f,i);return{extensions:r?r._extensions.value:[],royaltyEngineAddress:y,nativeTokenWrapper:v}}else throw new Error("Can't resolve constructor arguments")}));return a0.utils.defaultAbiCoder.encode(o,c)}async function Vf0(t,e,n,a,r){let f=(await t.getNetwork()).chainId,i=Jj(f).wrapped.address;if(i===a0.constants.AddressZero){let s=await $c("infra",t,e,n,{contractName:"WETH9"},a,r);fh.deploymentPresets.WETH9||(fh.deploymentPresets.WETH9=s),i=s.transaction.predictedAddress}return i}async function $j(t,e,n,a,r){return(!n||n==="")&&(n=await sd(t)),(await $c("infra",t,e,n,{contractName:"ForwarderEOAOnly"},a,r)).transaction.predictedAddress}async function i9(t,e,n,a,r){return(!n||n==="")&&(n=await sd(t)),(await $c("infra",t,e,n,{contractName:"Forwarder"},a,r)).transaction.predictedAddress}function XR(t){if(t.reason&&!t.reason.includes("cannot estimate gas"))return t.reason;if(t.error)return t.error;let e=t;return typeof t=="object"?e=JSON.stringify(t):typeof t!="string"&&(e=t.toString()),e.length>5e3?t.message||"":Yf0(/.*?"message":"([^"\\]*).*?/,e)||Yf0(/.*?"reason":"([^"\\]*).*?/,e)||t.message||""}function um(t,e){if(e==="")return e;let n=Array(10-t.length).fill(" ").join("");return e.includes(` +`);r.push(d.totalRewards),a.push({assetContract:d.contractAddress,tokenType:2,totalAmount:ec.BigNumber.from(d.quantityPerReward).mul(ec.BigNumber.from(d.totalRewards)),tokenId:d.tokenId})}return{contents:a,numOfRewardUnits:r}}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}detectVrf(){if(k0(this.contractWrapper,"PackVRF"))return new s5e(this.contractWrapper.getSignerOrProvider(),this.contractWrapper.address,this.storage,this.contractWrapper.options,this.chainId)}};ae(MG,"contractRoles",d5e);o5e=MG});var Vr0=D((z_a,oan)=>{oan.exports=[{type:"constructor",inputs:[{name:"_nativeTokenWrapper",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"addPackContents",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"},{name:"_contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"_numOfRewardUnits",type:"uint256[]",internalType:"uint256[]"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[{name:"packTotalSupply",type:"uint256",internalType:"uint256"},{name:"newSupplyAdded",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"canUpdatePack",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"createPack",inputs:[{name:"_contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"_numOfRewardUnits",type:"uint256[]",internalType:"uint256[]"},{name:"_packUri",type:"string",internalType:"string"},{name:"_openStartTimestamp",type:"uint128",internalType:"uint128"},{name:"_amountDistributedPerOpen",type:"uint128",internalType:"uint128"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[{name:"packId",type:"uint256",internalType:"uint256"},{name:"packTotalSupply",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPackContents",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"}],outputs:[{name:"contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"perUnitAmounts",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getTokenCountOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getTokenOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct ITokenBundle.Token",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"view"},{type:"function",name:"getUriOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"openPack",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"},{name:"_amountToOpen",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"nonpayable"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PackCreated",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"recipient",type:"address",indexed:!1,internalType:"address"},{name:"totalPacksCreated",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PackOpened",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opener",type:"address",indexed:!0,internalType:"address"},{name:"numOfPacksOpened",type:"uint256",indexed:!1,internalType:"uint256"},{name:"rewardUnitsDistributed",type:"tuple[]",indexed:!1,internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],anonymous:!1},{type:"event",name:"PackUpdated",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"recipient",type:"address",indexed:!1,internalType:"address"},{name:"totalPacksCreated",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibMismatchedValue",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]}]});var Yr0={};V0(Yr0,{SignatureDrop:()=>l5e});var ah,aAa,rAa,iAa,DG,l5e,$r0=ce(()=>{"use strict";u();p();ah=Ee(Xe());Dl();ln();Da();Rf();or();X1();Ll();Fl();Gc();J8();TE();kM();vM();hG();ir();aAa=Ee(Va()),rAa=Ee(ro());W0();iAa=Ee(Kc()),DG=class DG extends yu{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"createBatch",me(async(n,a)=>this.erc721.lazyMint.prepare(n,a)));ae(this,"claimTo",me(async(n,a,r)=>this.erc721.claimTo.prepare(n,a,r)));ae(this,"claim",me(async(n,a)=>this.erc721.claim.prepare(n,a)));ae(this,"burn",me(async n=>this.erc721.burn.prepare(n)));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,nh,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,DG.contractRoles),this.royalties=new Is(this.contractWrapper,this.metadata),this.sales=new Ss(this.contractWrapper),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.claimConditions=new id(this.contractWrapper,this.metadata,this.storage),this.signature=new cm(this.contractWrapper,this.storage),this.revealer=new pu(this.contractWrapper,this.storage,eh.name,()=>this.erc721.nextTokenIdToMint()),this.signature=new cm(this.contractWrapper,this.storage),this.owner=new ks(this.contractWrapper),this.checkout=new am(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async totalSupply(){let[n,a]=await Promise.all([this.totalClaimedSupply(),this.totalUnclaimedSupply()]);return n.add(a)}async getAllClaimed(n){let a=ah.BigNumber.from(n?.start||0).toNumber(),r=ah.BigNumber.from(n?.count||Pi).toNumber(),f=Math.min((await this.totalClaimedSupply()).toNumber(),a+r);return await Promise.all(Array.from(Array(f).keys()).map(i=>this.get(i.toString())))}async getAllUnclaimed(n){let a=ah.BigNumber.from(n?.start||0).toNumber(),r=ah.BigNumber.from(n?.count||Pi).toNumber(),f=ah.BigNumber.from(Math.max((await this.totalClaimedSupply()).toNumber(),a)),i=ah.BigNumber.from(Math.min((await this.contractWrapper.read("nextTokenIdToMint",[])).toNumber(),f.toNumber()+r));return await Promise.all(Array.from(Array(i.sub(f).toNumber()).keys()).map(s=>this.erc721.getTokenMetadata(f.add(s).toString())))}async totalClaimedSupply(){return this.erc721.totalClaimedSupply()}async totalUnclaimedSupply(){return this.erc721.totalUnclaimedSupply()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),ah.constants.AddressZero])}async getClaimTransaction(n,a,r){return this.erc721.getClaimTransaction(n,a,r)}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(DG,"contractRoles",Rs);l5e=DG});var Jr0=D((dAa,can)=>{can.exports=[{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"batchFrozen",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRevealURI",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isEncryptedBatch",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalMinted",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"ApprovalToCurrentOwner",inputs:[]},{type:"error",name:"ApproveToCaller",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"BatchMintInvalidBatchId",inputs:[{name:"index",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintInvalidTokenId",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintMetadataFrozen",inputs:[{name:"batchId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DelayedRevealIncorrectResultHash",inputs:[{name:"expected",type:"bytes32",internalType:"bytes32"},{name:"actual",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"DelayedRevealNothingToReveal",inputs:[]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"LazyMintInvalidAmount",inputs:[]},{type:"error",name:"LazyMintUnauthorized",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]},{type:"error",name:"SignatureMintInvalidQuantity",inputs:[]},{type:"error",name:"SignatureMintInvalidRecipient",inputs:[]},{type:"error",name:"SignatureMintInvalidSigner",inputs:[]},{type:"error",name:"SignatureMintInvalidTime",inputs:[{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"actualTime",type:"uint256",internalType:"uint256"}]},{type:"error",name:"SignatureMintUnauthorized",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var Xr0=D((lAa,dan)=>{dan.exports=[{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimedAt",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRevealURI",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isEncryptedBatch",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_condition",type:"tuple",internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalMinted",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"ApprovalToCurrentOwner",inputs:[]},{type:"error",name:"ApproveToCaller",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DelayedRevealIncorrectResultHash",inputs:[{name:"expected",type:"bytes32",internalType:"bytes32"},{name:"actual",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"DelayedRevealNothingToReveal",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]},{type:"error",name:"SignatureMintInvalidQuantity",inputs:[]},{type:"error",name:"SignatureMintInvalidRecipient",inputs:[]},{type:"error",name:"SignatureMintInvalidSigner",inputs:[]},{type:"error",name:"SignatureMintInvalidTime",inputs:[{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"actualTime",type:"uint256",internalType:"uint256"}]},{type:"error",name:"SignatureMintUnauthorized",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var Zr0={};V0(Zr0,{Split:()=>u5e});var PM,vAa,wAa,PG,u5e,ef0=ce(()=>{"use strict";u();p();PM=Ee(Xe());or();ln();Da();Rf();X1();Gc();ir();vAa=Ee(Va()),wAa=Ee(ro());W0();PG=class PG{constructor(e,n,a){ae(this,"withdraw",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"release(address)",args:[await Oe(e)]})));ae(this,"withdrawToken",me(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"release(address,address)",args:await Promise.all([Oe(n),Oe(e)])})));ae(this,"distribute",me(async()=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"distribute()",args:[]})));ae(this,"distributeToken",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"distribute(address)",args:[await Oe(e)]})));let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(e,n,f,r,a);this._chainId=i,this.abi=bt.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,LG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,PG.contractRoles),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper)}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async getAllRecipients(){let e=[],n=PM.BigNumber.from(0),a=await this.contractWrapper.read("payeeCount",[]);for(;n.lt(a);)try{let r=await this.contractWrapper.read("payee",[n]);e.push(await this.getRecipientSplitPercentage(r)),n=n.add(1)}catch(r){if("method"in r&&r.method.toLowerCase().includes("payee(uint256)"))break;throw r}return e}async balanceOfAllRecipients(){let e=await this.getAllRecipients(),n={};for(let a of e)n[a.address]=await this.balanceOf(a.address);return n}async balanceOfTokenAllRecipients(e){let[n,a]=await Promise.all([Oe(e),this.getAllRecipients()]),r={};for(let f of a)r[f.address]=await this.balanceOfToken(f.address,n);return r}async balanceOf(e){let[n,a,r]=await Promise.all([Oe(e),this.contractWrapper.getProvider().getBalance(this.getAddress()),this.contractWrapper.read("totalReleased",[])]),f=a.add(r);return this._pendingPayment(n,f,await this.contractWrapper.read("released",[n]))}async balanceOfToken(e,n){let[a,r]=await Promise.all([Oe(n),Oe(e)]),f=(await Promise.resolve().then(()=>Ee(j1()))).default,i=new PM.Contract(a,f,this.contractWrapper.getProvider()),[s,o,c]=await Promise.all([i.balanceOf(this.getAddress()),this.contractWrapper.read("totalReleased",[a]),this.contractWrapper.read("released",[a,r])]),d=s.add(o),l=await this._pendingPayment(r,d,c);return await Ja(this.contractWrapper.getProvider(),a,l)}async getRecipientSplitPercentage(e){let[n,a,r]=await Promise.all([Oe(e),this.contractWrapper.read("totalShares",[]),this.contractWrapper.read("shares",[e])]);return{address:n,splitPercentage:r.mul(PM.BigNumber.from(1e7)).div(a).toNumber()/1e5}}async _pendingPayment(e,n,a){let[r,f]=await Promise.all([Oe(e),this.contractWrapper.read("totalShares",[])]);return n.mul(await this.contractWrapper.read("shares",[r])).div(f).sub(a)}async prepare(e,n,a){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:n,overrides:a})}async call(e,n,a){return this.contractWrapper.call(e,n,a)}};ae(PG,"contractRoles",p5e);u5e=PG});var tf0=D((AAa,lan)=>{lan.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"distribute",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"distribute",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_payees",type:"address[]",internalType:"address[]"},{name:"_shares",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"payee",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"payeeCount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"releasable",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"releasable",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"release",inputs:[{name:"account",type:"address",internalType:"address payable"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"release",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"released",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"released",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"shares",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"totalReleased",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalReleased",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalShares",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"ERC20PaymentReleased",inputs:[{name:"token",type:"address",indexed:!0,internalType:"contract IERC20Upgradeable"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"PayeeAdded",inputs:[{name:"account",type:"address",indexed:!1,internalType:"address"},{name:"shares",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PaymentReceived",inputs:[{name:"from",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PaymentReleased",inputs:[{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var SE,h5e=ce(()=>{"use strict";u();p();Da();RM();SE=class{constructor(e,n,a){ae(this,"transfer",me(async(e,n)=>this.erc20.transfer.prepare(e,n)));ae(this,"transferFrom",me(async(e,n,a)=>this.erc20.transferFrom.prepare(e,n,a)));ae(this,"setAllowance",me(async(e,n)=>this.erc20.setAllowance.prepare(e,n)));ae(this,"transferBatch",me(async e=>this.erc20.transferBatch.prepare(e)));this.contractWrapper=e,this.storage=n,this.erc20=new lm(this.contractWrapper,this.storage,a),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(){return this.erc20.get()}async balance(){return await this.erc20.balance()}async balanceOf(e){return this.erc20.balanceOf(e)}async totalSupply(){return await this.erc20.totalSupply()}async allowance(e){return await this.erc20.allowance(e)}async allowanceOf(e,n){return await this.erc20.allowanceOf(e,n)}}});var af0={};V0(af0,{TokenDrop:()=>b5e});var nf0,qAa,jAa,KAa,FG,b5e,rf0=ce(()=>{"use strict";u();p();nf0=Ee(Xe());ln();Da();Rf();or();X1();Fl();Gc();J8();TE();h5e();ir();qAa=Ee(Va()),jAa=Ee(ro());W0();KAa=Ee(Kc()),FG=class FG extends SE{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"claim",me((()=>{var n=this;return async function(a){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n.claimTo.prepare(await n.contractWrapper.getSignerAddress(),a,r)}})()));ae(this,"claimTo",me((()=>{var n=this;return async function(a,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return n.erc20.claimTo.prepare(a,r,{checkERC20Allowance:f})}})()));ae(this,"delegateTo",me(async n=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"delegate",args:[await Oe(n)]})));ae(this,"burnTokens",me(async n=>this.erc20.burn.prepare(n)));ae(this,"burnFrom",me(async(n,a)=>this.erc20.burnFrom.prepare(n,a)));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,m5e,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,FG.contractRoles),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.sales=new Ss(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.claimConditions=new id(this.contractWrapper,this.metadata,this.storage)}async getVoteBalance(){return await this.getVoteBalanceOf(await this.contractWrapper.getSignerAddress())}async getVoteBalanceOf(n){return await this.erc20.getValue(await this.contractWrapper.read("getVotes",[await Oe(n)]))}async getDelegation(){return await this.getDelegationOf(await this.contractWrapper.getSignerAddress())}async getDelegationOf(n){return await this.contractWrapper.read("delegates",[await Oe(n)])}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),nf0.constants.AddressZero])}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(FG,"contractRoles",y5e);b5e=FG});var ff0=D(($Aa,uan)=>{uan.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkpoints",inputs:[{name:"account",type:"address",internalType:"address"},{name:"pos",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"tuple",internalType:"struct ERC20VotesUpgradeable.Checkpoint",components:[{name:"fromBlock",type:"uint32",internalType:"uint32"},{name:"votes",type:"uint224",internalType:"uint224"}]}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"delegate",inputs:[{name:"delegatee",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegateBySig",inputs:[{name:"delegatee",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"expiry",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegates",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastTotalSupply",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"supplyClaimedByWallet",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"numCheckpoints",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_conditions",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DelegateChanged",inputs:[{name:"delegator",type:"address",indexed:!0,internalType:"address"},{name:"fromDelegate",type:"address",indexed:!0,internalType:"address"},{name:"toDelegate",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"DelegateVotesChanged",inputs:[{name:"delegate",type:"address",indexed:!0,internalType:"address"},{name:"previousBalance",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newBalance",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]}]});var if0=D((JAa,pan)=>{pan.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkpoints",inputs:[{name:"account",type:"address",internalType:"address"},{name:"pos",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"tuple",internalType:"struct ERC20VotesUpgradeable.Checkpoint",components:[{name:"fromBlock",type:"uint32",internalType:"uint32"},{name:"votes",type:"uint224",internalType:"uint224"}]}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"delegate",inputs:[{name:"delegatee",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegateBySig",inputs:[{name:"delegatee",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"expiry",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegates",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IDropClaimCondition_V2.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimTimestamp",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastTotalSupply",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_primarySaleRecipient",type:"address",internalType:"address"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxWalletClaimCount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"numCheckpoints",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxWalletClaimCount",inputs:[{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setWalletClaimCount",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"walletClaimCount",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DelegateChanged",inputs:[{name:"delegator",type:"address",indexed:!0,internalType:"address"},{name:"fromDelegate",type:"address",indexed:!0,internalType:"address"},{name:"toDelegate",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"DelegateVotesChanged",inputs:[{name:"delegate",type:"address",indexed:!0,internalType:"address"},{name:"previousBalance",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newBalance",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});var sf0={};V0(sf0,{Token:()=>v5e});var E9,cCa,dCa,uCa,g5e,NG,v5e,of0=ce(()=>{"use strict";u();p();E9=Ee(Xe());ln();Da();Rf();or();X1();Fl();Gc();J8();RM();h5e();ir();cCa=Ee(Va()),dCa=Ee(ro());W0();uCa=Ee(Kc()),g5e=class{constructor(e,n){this.contractWrapper=e,this.events=n}async getAllHolderBalances(){let n=(await this.events.getEvents("Transfer")).map(i=>i.data),a={};n.forEach(i=>{let s=i?.from,o=i?.to,c=i?.value;s!==E9.constants.AddressZero&&(s in a||(a[s]=E9.BigNumber.from(0)),a[s]=a[s].sub(c)),o!==E9.constants.AddressZero&&(o in a||(a[o]=E9.BigNumber.from(0)),a[o]=a[o].add(c))});let r=Object.entries(a),f=await Promise.all(r.map(i=>{let[,s]=i;return Ja(this.contractWrapper.getProvider(),this.contractWrapper.address,s)}));return r.map((i,s)=>{let[o]=i;return{holder:o,balance:f[s]}})}},NG=class NG extends SE{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(n,a,i,f,r);super(o,r,s);ae(this,"mint",me(async n=>this.erc20.mint.prepare(n)));ae(this,"mintTo",me(async(n,a)=>this.erc20.mintTo.prepare(n,a)));ae(this,"mintBatchTo",me(async n=>this.erc20.mintBatchTo.prepare(n)));ae(this,"delegateTo",me(async n=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"delegate",args:[await Oe(n)]})));ae(this,"burn",me(n=>this.erc20.burn.prepare(n)));ae(this,"burnFrom",me(async(n,a)=>this.erc20.burnFrom.prepare(n,a)));this.abi=bt.parse(i||[]),this.metadata=new Wn(this.contractWrapper,OG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,NG.contractRoles),this.sales=new Ss(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.history=new g5e(this.contractWrapper,this.events),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.platformFees=new ti(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.signature=new SM(this.contractWrapper,this.roles)}async getVoteBalance(){return await this.getVoteBalanceOf(await this.contractWrapper.getSignerAddress())}async getVoteBalanceOf(n){return await this.erc20.getValue(await this.contractWrapper.read("getVotes",[n]))}async getDelegation(){return await this.getDelegationOf(await this.contractWrapper.getSignerAddress())}async getDelegationOf(n){return await this.contractWrapper.read("delegates",[await Oe(n)])}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),E9.constants.AddressZero])}async getMintTransaction(n,a){return this.erc20.getMintTransaction(n,a)}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(NG,"contractRoles",Rs);v5e=NG});var cf0=D((mCa,han)=>{han.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkpoints",inputs:[{name:"account",type:"address",internalType:"address"},{name:"pos",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"tuple",internalType:"struct ERC20VotesUpgradeable.Checkpoint",components:[{name:"fromBlock",type:"uint32",internalType:"uint32"},{name:"votes",type:"uint224",internalType:"uint224"}]}],stateMutability:"view"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"delegate",inputs:[{name:"delegatee",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegateBySig",inputs:[{name:"delegatee",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"expiry",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegates",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getPastTotalSupply",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_primarySaleRecipient",type:"address",internalType:"address"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"numCheckpoints",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"DelegateChanged",inputs:[{name:"delegator",type:"address",indexed:!0,internalType:"address"},{name:"fromDelegate",type:"address",indexed:!0,internalType:"address"},{name:"toDelegate",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"DelegateVotesChanged",inputs:[{name:"delegate",type:"address",indexed:!0,internalType:"address"},{name:"previousBalance",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newBalance",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ITokenERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});var UG,df0=ce(()=>{"use strict";u();p();UG=function(t){return t[t.Against=0]="Against",t[t.For=1]="For",t[t.Abstain=2]="Abstain",t}({})});var lf0={};V0(lf0,{Vote:()=>w5e});var um,ICa,kCa,w5e,uf0=ce(()=>{"use strict";u();p();um=Ee(Xe());or();ln();Da();Rf();X1();df0();ir();ICa=Ee(Va()),kCa=Ee(ro());W0();w5e=class{constructor(e,n,a){ae(this,"propose",me(async(e,n)=>{n||(n=[{toAddress:this.contractWrapper.address,nativeTokenValue:0,transactionData:"0x"}]);let a=n.map(i=>i.toAddress),r=n.map(i=>i.nativeTokenValue),f=n.map(i=>i.transactionData);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"propose",args:[a,r,f,e],parse:i=>({id:this.contractWrapper.parseLogs("ProposalCreated",i?.logs)[0].args.proposalId,receipt:i})})}));ae(this,"vote",me((()=>{var e=this;return async function(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";return await e.ensureExists(n),Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"castVoteWithReason",args:[n,a,r]})}})()));ae(this,"execute",me(async e=>{await this.ensureExists(e);let n=await this.get(e),a=n.executions.map(s=>s.toAddress),r=n.executions.map(s=>s.nativeTokenValue),f=n.executions.map(s=>s.transactionData),i=um.utils.id(n.description);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"execute",args:[a,r,f,i]})}));let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(e,n,f,r,a);this._chainId=i,this.abi=bt.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,HG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.encoder=new st(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper)}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){let a=(await this.getAll()).filter(r=>r.proposalId.eq(um.BigNumber.from(e)));if(a.length===0)throw new Error("proposal not found");return a[0]}async getAll(){let e=await this.contractWrapper.read("getAllProposals",[])??[];return(await Promise.all(e.map(a=>Promise.all([this.contractWrapper.read("state",[a.proposalId]),this.getProposalVotes(a.proposalId)])))).map((a,r)=>{let[f,i]=a,s=e[r];return{proposalId:s.proposalId,proposer:s.proposer,description:s.description,startBlock:s.startBlock,endBlock:s.endBlock,state:f,votes:i,executions:s[3].map((o,c)=>({toAddress:s.targets[c],nativeTokenValue:o,transactionData:s.calldatas[c]}))}})}async getProposalVotes(e){let n=await this.contractWrapper.read("proposalVotes",[e]);return[{type:UG.Against,label:"Against",count:n.againstVotes},{type:UG.For,label:"For",count:n.forVotes},{type:UG.Abstain,label:"Abstain",count:n.abstainVotes}]}async hasVoted(e,n){return n||(n=await this.contractWrapper.getSignerAddress()),this.contractWrapper.read("hasVoted",[e,await Oe(n)])}async canExecute(e){await this.ensureExists(e);let n=await this.get(e),a=n.executions.map(s=>s.toAddress),r=n.executions.map(s=>s.nativeTokenValue),f=n.executions.map(s=>s.transactionData),i=um.utils.id(n.description);try{return await this.contractWrapper.callStatic().execute(a,r,f,i),!0}catch{return!1}}async balance(){let e=await this.contractWrapper.getProvider().getBalance(this.contractWrapper.address);return{name:"",symbol:"",decimals:18,value:e,displayValue:um.utils.formatUnits(e,18)}}async balanceOfToken(e){let n=(await Promise.resolve().then(()=>Ee(j1()))).default,a=new um.Contract(await Oe(e),n,this.contractWrapper.getProvider());return await Ja(this.contractWrapper.getProvider(),e,await a.balanceOf(this.contractWrapper.address))}async ensureExists(e){try{await this.contractWrapper.read("state",[e])}catch{throw Error(`Proposal ${e} not found`)}}async settings(){let[e,n,a,r,f]=await Promise.all([this.contractWrapper.read("votingDelay",[]),this.contractWrapper.read("votingPeriod",[]),this.contractWrapper.read("token",[]),this.contractWrapper.read("quorumNumerator",[]),this.contractWrapper.read("proposalThreshold",[])]),i=await Di(this.contractWrapper.getProvider(),a);return{votingDelay:e.toString(),votingPeriod:n.toString(),votingTokenAddress:a,votingTokenMetadata:i,votingQuorumFraction:r.toString(),proposalTokenThreshold:f.toString()}}async prepare(e,n,a){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:n,overrides:a})}async call(e,n,a){return this.contractWrapper.call(e,n,a)}}});var pf0=D((DCa,ban)=>{ban.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"BALLOT_TYPEHASH",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"COUNTING_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"pure"},{type:"function",name:"EXTENDED_BALLOT_TYPEHASH",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"cancel",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"descriptionHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVote",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteBySig",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteWithReason",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"reason",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteWithReasonAndParams",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"reason",type:"string",internalType:"string"},{name:"params",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteWithReasonAndParamsBySig",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"reason",type:"string",internalType:"string"},{name:"params",type:"bytes",internalType:"bytes"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"execute",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"descriptionHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"getAllProposals",inputs:[],outputs:[{name:"allProposals",type:"tuple[]",internalType:"struct VoteERC20.Proposal[]",components:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"proposer",type:"address",internalType:"address"},{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"signatures",type:"string[]",internalType:"string[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"startBlock",type:"uint256",internalType:"uint256"},{name:"endBlock",type:"uint256",internalType:"uint256"},{name:"description",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotesWithParams",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"},{name:"params",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"hasVoted",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hashProposal",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"descriptionHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"pure"},{type:"function",name:"initialize",inputs:[{name:"_name",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_token",type:"address",internalType:"address"},{name:"_initialVotingDelay",type:"uint256",internalType:"uint256"},{name:"_initialVotingPeriod",type:"uint256",internalType:"uint256"},{name:"_initialProposalThreshold",type:"uint256",internalType:"uint256"},{name:"_initialVoteQuorumFraction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"proposalDeadline",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalIndex",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalProposer",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"proposalSnapshot",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalThreshold",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalVotes",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"againstVotes",type:"uint256",internalType:"uint256"},{name:"forVotes",type:"uint256",internalType:"uint256"},{name:"abstainVotes",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposals",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"proposer",type:"address",internalType:"address"},{name:"startBlock",type:"uint256",internalType:"uint256"},{name:"endBlock",type:"uint256",internalType:"uint256"},{name:"description",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"propose",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"description",type:"string",internalType:"string"}],outputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"quorum",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"quorumDenominator",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"quorumNumerator",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"quorumNumerator",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"relay",inputs:[{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setContractURI",inputs:[{name:"uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setProposalThreshold",inputs:[{name:"newProposalThreshold",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setVotingDelay",inputs:[{name:"newVotingDelay",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setVotingPeriod",inputs:[{name:"newVotingPeriod",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"state",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint8",internalType:"enum IGovernorUpgradeable.ProposalState"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"token",inputs:[],outputs:[{name:"",type:"address",internalType:"contract IERC5805Upgradeable"}],stateMutability:"view"},{type:"function",name:"updateQuorumNumerator",inputs:[{name:"newQuorumNumerator",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"votingDelay",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"votingPeriod",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"ProposalCanceled",inputs:[{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ProposalCreated",inputs:[{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"proposer",type:"address",indexed:!1,internalType:"address"},{name:"targets",type:"address[]",indexed:!1,internalType:"address[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"signatures",type:"string[]",indexed:!1,internalType:"string[]"},{name:"calldatas",type:"bytes[]",indexed:!1,internalType:"bytes[]"},{name:"voteStart",type:"uint256",indexed:!1,internalType:"uint256"},{name:"voteEnd",type:"uint256",indexed:!1,internalType:"uint256"},{name:"description",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"ProposalExecuted",inputs:[{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ProposalThresholdSet",inputs:[{name:"oldProposalThreshold",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newProposalThreshold",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"QuorumNumeratorUpdated",inputs:[{name:"oldQuorumNumerator",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newQuorumNumerator",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"VoteCast",inputs:[{name:"voter",type:"address",indexed:!0,internalType:"address"},{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"support",type:"uint8",indexed:!1,internalType:"uint8"},{name:"weight",type:"uint256",indexed:!1,internalType:"uint256"},{name:"reason",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"VoteCastWithParams",inputs:[{name:"voter",type:"address",indexed:!0,internalType:"address"},{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"support",type:"uint8",indexed:!1,internalType:"uint8"},{name:"weight",type:"uint256",indexed:!1,internalType:"uint256"},{name:"reason",type:"string",indexed:!1,internalType:"string"},{name:"params",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"VotingDelaySet",inputs:[{name:"oldVotingDelay",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newVotingDelay",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"VotingPeriodSet",inputs:[{name:"oldVotingPeriod",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newVotingPeriod",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"Empty",inputs:[]}]});function DE(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof E<"u"&&E.env[t]?E.env[t]:e}function UE(){return DE("contractPublisherAddress",man)}function ZG(t){return!!(t&&t._isSigner)}function z5e(t){return!!(t&&t._isProvider)}function van(t){for(let e=0,n=hf0.length;e"u"?{x_sdk_name:zG.name,x_sdk_platform:mf0(),x_sdk_version:zG.version,x_sdk_os:bf0(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=zG.name,globalThis.X_SDK_PLATFORM=mf0(),globalThis.X_SDK_VERSION=zG.version,globalThis.X_SDK_OS=bf0(),globalThis.APP_BUNDLE_ID=void 0),{x_sdk_name:globalThis.X_SDK_NAME,x_sdk_platform:globalThis.X_SDK_PLATFORM,x_sdk_version:globalThis.X_SDK_VERSION,x_sdk_os:globalThis.X_SDK_OS,app_bundle_id:globalThis.APP_BUNDLE_ID||""})}function mf0(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":"browser"}function xan(t){return t.supportedChains.reduce((e,n)=>(e[n.chainId]||(e[n.chainId]=n),e),{})}function gi(t,e){if(typeof t=="string"&&Ean(t))return KG(t,e);let n=GG.parse(e);zM(t)&&(n.supportedChains=[t,...n.supportedChains.filter(i=>i.chainId===t.chainId)]);let a=xan(n),r="",f;try{f=ii0(t,n),r=vl(a[f],n.clientId)[0]}catch{}if(r||(r=`https://${f||t}.rpc.thirdweb.com/${n.clientId||""}`),!r)throw new Error(`No rpc url found for chain ${t}. Please provide a valid rpc url via the 'supportedChains' property of the sdk options.`);return KG(r,e,f)}function ii0(t,e){if(zM(t))return t.chainId;if(typeof t=="number")return t;{let n=e.supportedChains.reduce((a,r)=>(a[r.slug]=r.chainId,a),{});if(t in n)return n[t]}throw new Error(`Cannot resolve chainId from: ${t} - please pass the chainId instead and specify it in the 'supportedChains' property of the SDK options.`)}function zM(t){return typeof t!="string"&&typeof t!="number"&&!ZG(t)&&!z5e(t)}function Ean(t){let e=t.match(/^(ws|http)s?:/i);if(e)switch(e[1].toLowerCase()){case"http":case"https":case"ws":case"wss":return!0}return!1}function KG(t,e,n){try{let a={},r="none";if(_an(t)){if(e?.secretKey)throw new Error("Cannot use secretKey in browser context");if(e?.clientId){let s=new URL(t);s.pathname=e.clientId,a["x-client-id"]=e.clientId,t=s.toString(),r="clientId"}typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(a.authorization=`Bearer ${globalThis.TW_AUTH_TOKEN}`,r="twAuthToken"),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(a["x-authorize-wallet"]="true"),wan(a);let i=typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis?globalThis.APP_BUNDLE_ID:void 0;!t.includes("bundleId")&&i&&(t=t+(i?`?bundleId=${i}`:""))}let f=t.match(/^(ws|http)s?:/i);if(f)switch(f[1].toLowerCase()){case"http":case"https":let i=`${t}-${n||-1}-${r}`,s=yf0.get(i);if(s)return s;let o=!1;typeof globalThis<"u"&&"TW_SKIP_FETCH_SETUP"in globalThis&&typeof globalThis.TW_SKIP_FETCH_SETUP=="boolean"&&(o=globalThis.TW_SKIP_FETCH_SETUP);let c=n?new jG({url:t,headers:a,skipFetchSetup:o},n,e?.rpcBatchSettings):new a0.providers.JsonRpcBatchProvider({url:t,headers:a,skipFetchSetup:o});return yf0.set(i,c),c;case"ws":case"wss":return new a0.providers.WebSocketProvider(t,n)}}catch{}return a0.providers.getDefaultProvider(t)}function _an(t){return new URL(t).hostname.endsWith(".thirdweb.com")}function ts(t,e){let n,a;if(ZG(t)?(n=t,t.provider&&(a=t.provider)):z5e(t)?a=t:a=gi(t,e),e?.readonlySettings&&(a=KG(e.readonlySettings.rpcUrl,e,e.readonlySettings.chainId)),!a)throw n?new Error("No provider passed to the SDK! Please make sure that your signer is connected to a provider!"):new Error("No provider found! Make sure to specify which network to connect to, or pass a signer or provider to the SDK!");return[n,a]}async function W5e(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;T5e||(T5e=ts("ethereum")[1]);let n;x5e.has(t)?n=x5e.get(t):n=T5e.resolveName(t).then(r=>r?{address:r,expirationTime:new Date(Date.now()+1e3*60*5)}:{address:null,expirationTime:new Date(Date.now()+1e3*30)});let a=await n;return a.expirationTimevf0)throw new Error(`version is longer than ${vf0} characters`);let e=t.trim().match(San);if(!e||e?.length!==4)throw new Error(`${t} is not a valid semantic version. Should be in the format of major.minor.patch. Ex: 0.4.1`);let n=Number(e[1]),a=Number(e[2]),r=Number(e[3]),f=[n,a,r].join(".");return{major:n,minor:a,patch:r,versionString:f}}function q5e(t,e){let n=QG(t),a=QG(e);if(a.major>n.major)return!0;let r=a.major===n.major;if(r&&a.minor>n.minor)return!0;let f=a.minor===n.minor;return r&&f&&a.patch>n.patch}async function HE(t,e){let n=await(await e.download(t)).text();return vi0.parse(JSON.parse(n))}async function qM(t,e){let n=await e.downloadJSON(t,{timeoutInSeconds:Ran});if(!n||!n.output)throw new Error(`Could not resolve metadata for contract at ${t}`);return Y5e(n)}function Y5e(t){let e=bt.parse(t.output.abi),n=t.settings.compilationTarget,a=Object.keys(n),r=n[a[0]],f=V5e.parse({title:t.output.devdoc.title,author:t.output.devdoc.author,details:t.output.devdoc.detail,notice:t.output.userdoc.notice}),i=[...new Set(Object.entries(t.sources).map(s=>{let[,o]=s;return o.license}))];return{name:r,abi:e,metadata:t,info:f,licenses:i,isPartialAbi:t.isPartialAbi}}async function eK(t,e){return WM.parse(JSON.parse(await(await e.download(t)).text()))}async function R9(t,e,n){let a=await eK(t,e),r,f;if(n&&a.compilers){let o;switch(n.compilerType){case"solc":{if(n.compilerVersion)o=a.compilers.solc?.find(c=>c.compilerVersion===n.compilerVersion&&c.evmVersion===n.evmVersion);else if(a.compilers.solc){let c=a.compilers.solc.length;o=a.compilers.solc[c-1]}break}case"zksolc":{if(n.compilerVersion)o=a.compilers.zksolc?.find(c=>c.compilerVersion===n.compilerVersion&&c.evmVersion===n.evmVersion);else if(a.compilers.zksolc){let c=a.compilers.zksolc.length;o=a.compilers.zksolc[c-1]}break}}d0(o,"Compiler or EVM version not found"),r=o.bytecodeUri,f=o.metadataUri}else r=a.bytecodeUri,f=a.metadataUri;let[i,s]=await Promise.all([e.download(r),qM(f,e)]);return xi0.parse({...a,...s,bytecode:await i.text(),fetchedMetadataUri:f,fetchedBytecodeUri:r})}function Ban(t,e){if(t.length===0||t.length===1||!e)return t;for(let n=0;n1&&arguments[1]!==void 0?arguments[1]:new Map;function n(f,i){if(e.size>=t){let s=e.keys().next().value;e.delete(s)}e.set(f,i)}function a(f){if(!e.has(f))return;let s=e.get(f);return e.delete(f),e.set(f,s),s}function r(f){return e.has(f)}return{put:n,get:a,has:r,maxEntries:t,store:e}}async function Ds(t,e,n){let r=`${n?`${n.compilerType}_${n.compilerVersion||""}_${n.evmVersion||""} + `:"default"}_${t}`,f=Tf0.get(r);if(f)return f;let i=await R9(t,e,n),s;try{s=await HE(t,e)}catch{}let o={compilerMetadata:i,extendedMetadata:s};return Tf0.put(r,o),o}function J5e(t){t&&t.length>0?R5e=t:R5e=n1}function X5e(){return R5e}async function ac(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",a=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,s=X5e().find(h=>h.chainId===137)||z7,o=await Oe(t),c=(await Promise.resolve().then(()=>Ee(LW()))).default,d=new a0.Contract(UE(),c,gi(s,{clientId:r,secretKey:f})),l;if(!n||n==="latest"){let h=await d.getPublishedContract(o,e);l=OM.parse({id:h.contractId,timestamp:h.publishTimestamp,metadataUri:h.publishMetadataUri})}else{let h=(await d.getPublishedContractVersions(o,e)).map(k=>OM.parse({id:k.contractId,timestamp:k.publishTimestamp,metadataUri:k.publishMetadataUri})),v=(await Promise.all(h.map(k=>Ds(k.metadataUri,a)))).map((k,O)=>({name:h[O].id,publishedTimestamp:h[O].timestamp,publishedMetadata:k})).find(k=>k.publishedMetadata.extendedMetadata?.version===n);d0(v,"Contract version not found"),l=h.find(k=>k.timestamp===v.publishedTimestamp)}if(!l)throw new Error(`No published contract found for ${e} at version by '${Eu}'`);return l}async function dG(t,e){try{let n=(await Promise.resolve().then(()=>Ee(boe()))).default,a=new a0.Contract(t,n,e),[r,f]=await Promise.all([a.contractType(),a.contractVersion()]);return{type:a0.utils.toUtf8String(r).replace(/\x00/g,""),version:f}}catch{return}}function Af0(){try{let t=La();if(es){if(o0>=es.postBundlePosition){let e=new Error("Unexpected bundle position");throw e.incomplete=!0,e}o0=es.postBundlePosition,es=null}if(o0==C9)ni=null,ct=null,Ol&&(Ol=null);else if(o0>C9){let e=new Error("Unexpected end of CBOR data");throw e.incomplete=!0,e}else if(!D5e)throw new Error("Data read, but end of buffer not reached");return t}catch(t){throw Ii0(),(t instanceof RangeError||t.message.startsWith("Unexpected end of buffer"))&&(t.incomplete=!0),t}}function La(){let t=ct[o0++],e=t>>5;if(t=t&31,t>23)switch(t){case 24:t=ct[o0++];break;case 25:if(e==7)return Uan();t=tc.getUint16(o0),o0+=2;break;case 26:if(e==7){let n=tc.getFloat32(o0);if(ua.useFloat32>2){let a=ki0[(ct[o0]&127)<<1|ct[o0+1]>>7];return o0+=4,(a*n+(n>0?.5:-.5)>>0)/a}return o0+=4,n}t=tc.getUint32(o0),o0+=4;break;case 27:if(e==7){let n=tc.getFloat64(o0);return o0+=8,n}if(e>1){if(tc.getUint32(o0)>0)throw new Error("JavaScript does not support arrays, maps, or strings with length over 4294967295");t=tc.getUint32(o0+4)}else ua.int64AsNumber?(t=tc.getUint32(o0)*4294967296,t+=tc.getUint32(o0+4)):t=tc.getBigUint64(o0);o0+=8;break;case 31:switch(e){case 2:case 3:throw new Error("Indefinite length not supported for byte or text strings");case 4:let n=[],a,r=0;for(;(a=La())!=RE;)n[r++]=a;return e==4?n:e==3?n.join(""):_.Buffer.concat(n);case 5:let f;if(ua.mapsAsObjects){let i={};if(ua.keyMap)for(;(f=La())!=RE;)i[gu(ua.decodeKey(f))]=La();else for(;(f=La())!=RE;)i[gu(f)]=La();return i}else{LM&&(ua.mapsAsObjects=!0,LM=!1);let i=new Map;if(ua.keyMap)for(;(f=La())!=RE;)i.set(ua.decodeKey(f),La());else for(;(f=La())!=RE;)i.set(f,La());return i}case 7:return RE;default:throw new Error("Invalid major type for indefinite length "+e)}default:throw new Error("Unknown token "+t)}switch(e){case 0:return t;case 1:return~t;case 2:return Oan(t);case 3:if(UM>=o0)return $G.slice(o0-JG,(o0+=t)-JG);if(UM==0&&C9<140&&t<32){let r=t<16?Ei0(t):Nan(t);if(r!=null)return r}return Fan(t);case 4:let n=new Array(t);for(let r=0;r=xf0){let r=ni[t&8191];if(r)return r.read||(r.read=L5e(r)),r.read();if(t<65536){if(t==Lan)return N5e(La());if(t==Pan){let f=FM(),i=La();for(let s=2;s23)switch(n){case 24:n=ct[o0++];break;case 25:n=tc.getUint16(o0),o0+=2;break;case 26:n=tc.getUint32(o0),o0+=4;break;default:throw new Error("Expected array header, but got "+ct[o0-1])}let a=this.compiledReader;for(;a;){if(a.propertyCount===n)return a(La);a=a.next}if(this.slowReads++>=3){let f=this.length==n?this:this.slice(0,n);return a=ua.keyMap?new Function("r","return {"+f.map(i=>ua.decodeKey(i)).map(i=>Cf0.test(i)?gu(i)+":r()":"["+JSON.stringify(i)+"]:r()").join(",")+"}"):new Function("r","return {"+f.map(i=>Cf0.test(i)?gu(i)+":r()":"["+JSON.stringify(i)+"]:r()").join(",")+"}"),this.compiledReader&&(a.next=this.compiledReader),a.propertyCount=n,this.compiledReader=a,a(La)}let r={};if(ua.keyMap)for(let f=0;f64&&M5e)return M5e.decode(ct.subarray(o0,o0+=t));let n=o0+t,a=[];for(e="";o065535&&(o-=65536,a.push(o>>>10&1023|55296),o=56320|o&1023),a.push(o)}else a.push(r);a.length>=4096&&(e+=Ms.apply(String,a),a.length=0)}return a.length>0&&(e+=Ms.apply(String,a)),e}function Nan(t){let e=o0,n=new Array(t);for(let a=0;a0){o0=e;return}n[a]=r}return Ms.apply(String,n)}function Ei0(t){if(t<4)if(t<2){if(t===0)return"";{let e=ct[o0++];if((e&128)>1){o0-=1;return}return Ms(e)}}else{let e=ct[o0++],n=ct[o0++];if((e&128)>0||(n&128)>0){o0-=2;return}if(t<3)return Ms(e,n);let a=ct[o0++];if((a&128)>0){o0-=3;return}return Ms(e,n,a)}else{let e=ct[o0++],n=ct[o0++],a=ct[o0++],r=ct[o0++];if((e&128)>0||(n&128)>0||(a&128)>0||(r&128)>0){o0-=4;return}if(t<6){if(t===4)return Ms(e,n,a,r);{let f=ct[o0++];if((f&128)>0){o0-=5;return}return Ms(e,n,a,r,f)}}else if(t<8){let f=ct[o0++],i=ct[o0++];if((f&128)>0||(i&128)>0){o0-=6;return}if(t<7)return Ms(e,n,a,r,f,i);let s=ct[o0++];if((s&128)>0){o0-=7;return}return Ms(e,n,a,r,f,i,s)}else{let f=ct[o0++],i=ct[o0++],s=ct[o0++],o=ct[o0++];if((f&128)>0||(i&128)>0||(s&128)>0||(o&128)>0){o0-=8;return}if(t<10){if(t===8)return Ms(e,n,a,r,f,i,s,o);{let c=ct[o0++];if((c&128)>0){o0-=9;return}return Ms(e,n,a,r,f,i,s,o,c)}}else if(t<12){let c=ct[o0++],d=ct[o0++];if((c&128)>0||(d&128)>0){o0-=10;return}if(t<11)return Ms(e,n,a,r,f,i,s,o,c,d);let l=ct[o0++];if((l&128)>0){o0-=11;return}return Ms(e,n,a,r,f,i,s,o,c,d,l)}else{let c=ct[o0++],d=ct[o0++],l=ct[o0++],h=ct[o0++];if((c&128)>0||(d&128)>0||(l&128)>0||(h&128)>0){o0-=12;return}if(t<14){if(t===12)return Ms(e,n,a,r,f,i,s,o,c,d,l,h);{let y=ct[o0++];if((y&128)>0){o0-=13;return}return Ms(e,n,a,r,f,i,s,o,c,d,l,h,y)}}else{let y=ct[o0++],v=ct[o0++];if((y&128)>0||(v&128)>0){o0-=14;return}if(t<15)return Ms(e,n,a,r,f,i,s,o,c,d,l,h,y,v);let k=ct[o0++];if((k&128)>0){o0-=15;return}return Ms(e,n,a,r,f,i,s,o,c,d,l,h,y,v,k)}}}}}function Oan(t){return ua.copyBuffers?Uint8Array.prototype.slice.call(ct,o0,o0+=t):ct.subarray(o0,o0+=t)}function Uan(){let t=ct[o0++],e=ct[o0++],n=(t&127)>>2;if(n===31)return e||t&3?NaN:t&128?-1/0:1/0;if(n===0){let a=((t&3)<<8|e)/16777216;return t&128?-a:a}return WG[3]=t&128|(n>>1)+56,WG[2]=(t&7)<<5|e>>3,WG[1]=e<<5,WG[0]=0,_i0[0]}function ME(t,e){return typeof t=="string"?t+e:t instanceof Array?t.concat(e):Object.assign({},t,e)}function A9(){if(!Vc)if(ua.getShared)Z5e();else throw new Error("No packed values available");return Vc}function jan(t,e){let n="get"+t.name.slice(0,-5);typeof t!="function"&&(t=null);let a=t.BYTES_PER_ELEMENT;for(let r=0;r<2;r++){if(!r&&a==1)continue;let f=a==2?1:a==4?2:3;Mf[r?e:e-4]=a==1||r==Wan?i=>{if(!t)throw new Error("Could not find typed array for code "+e);return new t(Uint8Array.prototype.slice.call(i,0).buffer)}:i=>{if(!t)throw new Error("Could not find typed array for code "+e);let s=new DataView(i.buffer,i.byteOffset,i.byteLength),o=i.length>>f,c=new t(o),d=s[n];for(let l=0;l23)switch(t){case 24:t=ct[o0++];break;case 25:t=tc.getUint16(o0),o0+=2;break;case 26:t=tc.getUint32(o0),o0+=4;break}return t}function Z5e(){if(ua.getShared){let t=Ci0(()=>(ct=null,ua.getShared()))||{},e=t.structures||[];ua.sharedVersion=t.version,Vc=ua.sharedValues=t.packedValues,ni===!0?ua.structures=ni=e:ni.splice.apply(ni,[0,e.length].concat(e))}}function Ci0(t){let e=C9,n=o0,a=JG,r=UM,f=$G,i=Ol,s=es,o=new Uint8Array(ct.slice(0,C9)),c=ni,d=ua,l=D5e,h=t();return C9=e,o0=n,JG=a,UM=r,$G=f,Ol=i,es=s,ct=o,D5e=l,ni=c,ua=d,tc=new DataView(ct.buffer,ct.byteOffset,ct.byteLength),h}function Ii0(){ct=null,Ol=null,ni=null}function Van(t){if(t=t.toString(16),t.startsWith("0x")||(t=`0x${t}`),!Yan(t))throw new Error(`Given value "${t}" is not a valid hex string.`);t=t.replace(/^0x/i,"");let e=[];for(let n=0;nbt.parse(f)).flat().filter(f=>f.type!=="constructor");e&&a.push(...bt.parse(e));let r=Ban(a,(f,i)=>f.name===i.name&&f.type===i.type&&f.inputs.length===i.inputs.length);return bt.parse(r)}function O5e(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=t.type,r=!1;return a.endsWith("[]")&&(r=!0,a=a.slice(0,-2)),a.startsWith("bytes")&&(a="BytesLike"),(a.startsWith("uint")||a.startsWith("int"))&&(a=e?"BigNumber":"BigNumberish"),a.startsWith("bool")&&(a="boolean"),a==="address"&&(a="string"),a==="tuple"&&t.components&&(a=`{ ${t.components.map(f=>O5e(f,!1,!0)).join(", ")} }`),r&&(a+="[]"),n&&(a=`${t.name}: ${a}`),a}function tK(t,e,n){return e?.output?.userdoc?.[n]?.[Object.keys(e?.output?.userdoc[n]||{}).find(a=>a.includes(t||"unknown"))||""]?.notice||e?.output?.devdoc?.[n]?.[Object.keys(e?.output?.devdoc[n]||{}).find(a=>a.includes(t||"unknown"))||""]?.details}function vu(t,e){let n=(t||[]).filter(r=>r.type==="function"),a=[];for(let r of n){let f=tK(r.name,e,"methods"),i=r.inputs?.map(l=>`${l.name||"key"}: ${O5e(l)}`)?.join(", ")||"",s=i?`, [${i}]`:"",o=r.outputs?.map(l=>O5e(l,!0))?.join(", "),c=o?`: Promise<${o}>`:": Promise",d=`contract.call("${r.name}"${s})${c}`;a.push({inputs:r.inputs||[],outputs:r.outputs||[],name:r.name||"unknown",signature:d,stateMutability:r.stateMutability||"",comment:f})}return a}function Di0(t,e){let n=vu(t),a=e.flatMap(f=>vu(f));return n.filter(f=>a.find(s=>s.name===f.name&&s.inputs.length===f.inputs.length&&s.inputs.every((o,c)=>o.type==="tuple"||o.type==="tuple[]"?o.type===f.inputs[c].type&&o.components?.every((d,l)=>d.type===f.inputs[c].components?.[l]?.type):o.type===f.inputs[c].type))!==void 0).length===a.length}function Pi0(t,e){let a=e.map(f=>new ni0.Interface(f)).flatMap(f=>Object.values(f.functions).map(i=>Number(f.getSighash(i)).toString(16)));return[...new Set(a)].every(f=>t.includes(f))}function bm(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tde,n=JSON.stringify(t);if(A5e.has(n))return A5e.get(n);let a=Li0(t,e);return A5e.put(n,a),a}function Li0(t,e){let n={};for(let a in e){let r=e[a],f=arn(t,r),i=Li0(t,r.features);n[a]={...r,features:i,enabled:f}}return n}function nde(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tde,n={};for(let a in e){let r=e[a],f=Pi0(t,r.abis),i=nde(t,r.features);n[a]={...r,features:i,enabled:f}}return n}function arn(t,e){return Di0(t,e.abis)}function nK(t,e){if(t)for(let n in t){let a=t[n];a.enabled&&e.push(a),nK(a.features,e)}}function Fi0(t){let e=[];return nK(nde(t),e),e}function Ni0(t){let e=Fi0(t);return e.find(a=>a.name==="ERC721")&&(e=e.filter(a=>a.name!=="ERC20")),rh(e.map(a=>rh(a.abis)))}function Ui0(t,e){return`${t}-${e}`}function frn(t,e,n){Oi0.put(Ui0(t,e),n)}function Yj(t,e){return Oi0.get(Ui0(t,e))}async function Sf(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},r=(await e.getNetwork()).chainId,f=Yj(t,r);if(f)return f;let i;if(!(r===31337||r===1337))try{let o=await fetch(`${rrn}/${r}/${t}`,{headers:{...Tan()}});if(o.ok){let c=await o.json();i=Y5e(c)}}catch{}if(i||(i=await Hi0(t,r,e,n,a)),!i)throw new Error(`Could not resolve contract. Try importing it by visiting: https://thirdweb.com/${r}/${t}`);return i.isPartialAbi?console.warn(`Contract metadata could only be partially resolved, some contract functions might be unavailable. Try importing the contract by visiting: https://thirdweb.com/${r}/${t}`):frn(t,r,i),i}async function Hi0(t,e,n,a){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},f,[i,s]=await Promise.all([Ri0(t,n).catch(()=>{}),irn(t,e,r).then(d=>{if(d)return{uri:d,bytecode:""}}).catch(()=>{})]),o=i?.bytecode,c=s?.uri||i?.uri;if(!c&&!o)throw new Error(`Could not fetch bytecode for contract at ${t} on chain ${e}, double check that the address and chainId are correct.`);try{f=await qM(c,a)}catch{}if(!f&&o){let d=Ni0(o);if(d&&d.length>0)return f={name:"Unimported Contract",abi:d,metadata:{},info:{},licenses:[],isPartialAbi:!0},f}return f}async function irn(t,e,n){let a=(await Promise.resolve().then(()=>Ee(moe()))).default;if(!C5e){let i=n?.supportedChains?.find(s=>s.chainId===137)||z7;C5e=new a0.Contract(KM(),a,gi(i,n))}return await C5e.getMetadataUri(e,t)}async function Yc(t,e,n){try{let a=await Sf(t,e,n);if(a&&a.abi)return a.abi}catch{}}async function srn(t,e){let{extendedMetadata:n}=await Ds(t,e);return n?.compositeAbi||[]}function Gf0(t){return orn.some(a=>t.includes(a))?!0:crn.some(a=>a.some(r=>t.includes(r)))}async function B6(t,e){let n=await e.getCode(t);return n!=="0x"&&n!=="0x0"}async function H5e(t){try{await t.sendTransaction("0xf8a58085174876e800830186a08080b853604580600e600039806000f350fe7fffffffffffffffafffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf31ba02222222222222222222222222222222222222222222222222222222222222222a02222222222222222222222222222222222222222222222222222222222222222")}catch(e){let n=e.toString().toLowerCase(),a=JSON.stringify(e).toLowerCase();return!!(Gf0(n)||Gf0(a))}return!1}function ji0(t,e){let n=a0.utils.arrayify(a0.utils.keccak256(a0.utils.serializeTransaction(t))),a=a0.utils.recoverAddress(n,e),r=a0.utils.serializeTransaction(t,e);return{signer:a,transaction:r}}function NM(t,e){let n=a0.utils.joinSignature(Wi0),a=e.gasPrice?e.gasPrice:100*10**9,r=e.gasLimit?e.gasLimit:1e5,f=ji0({gasPrice:a,gasLimit:r,nonce:0,data:zi0,chainId:t},n),i=a0.utils.getContractAddress({from:f.signer,nonce:0});return{...f,deployment:i,valueToSend:a0.BigNumber.from(a).mul(r)}}async function sd(t){return(await aK(t)).deployment}async function aK(t){let e=(await t.getNetwork()).chainId;if(I5e[e]){let l=await H5e(t)?e:0,h=I5e[e]?.gasPrice,y=I5e[e]?.gasLimit,v=NM(l,{gasPrice:h?a0.BigNumber.from(h):void 0,gasLimit:y?a0.BigNumber.from(y):void 0});return await B6(v.deployment,t)&&(v.transaction=""),v}let n=[...U5e.map(d=>NM(e,{gasPrice:a0.BigNumber.from(d)})),...U5e.map(d=>NM(0,{gasPrice:a0.BigNumber.from(d)}))],a=await Promise.all(n.map(d=>B6(d.deployment,t))),r=n.findIndex(d=>d.deployment===qi0);if(r&&a[r])return{...n[r],transaction:""};let f=a.findIndex(d=>d);if(f&&n[f])return{...n[f],transaction:""};let[i,s]=await Promise.all([H5e(t),t.getGasPrice()]),o=i?e:0,c=drn(s);return NM(o,{gasPrice:c})}function drn(t){let e=U5e.find(n=>a0.BigNumber.from(n).gte(t));return e?a0.BigNumber.from(e):t}function ide(t){let e=t.startsWith("0x")?t:`0x${t}`,a=`tw.${a0.utils.id(e)}`;return a0.utils.id(a)}function HM(t,e,n){let a=t.startsWith("0x")?t:`0x${t}`,r=n?a0.utils.id(n):ide(a);return a0.utils.solidityPack(["bytes32","bytes","bytes"],[r,a,e])}function OE(t,e,n,a){let r=t.startsWith("0x")?t:`0x${t}`,f=a?a0.utils.id(a):ide(r),i=a0.utils.solidityPack(["bytes","bytes"],[r,e]),s=a0.utils.solidityPack(["bytes1","address","bytes32","bytes32"],["0xff",n,f,a0.utils.solidityKeccak256(["bytes"],[i])]);return`0x${a0.utils.solidityKeccak256(["bytes"],[s]).slice(26)}`}function Jj(t){let e=X5e().find(n=>n.chainId===t);return e&&e.nativeCurrency?{name:e.nativeCurrency.name,symbol:e.nativeCurrency.symbol,decimals:18,wrapped:{address:a0.constants.AddressZero,name:`Wrapped ${e.nativeCurrency.name}`,symbol:`W${e.nativeCurrency.symbol}`}}:fm[t]||{name:"Ether",symbol:"ETH",decimals:18,wrapped:{address:a0.constants.AddressZero,name:"Wrapped Ether",symbol:"WETH"}}}function sh(t){let e=bt.parse(t||[]);for(let n of e)if(n.type==="constructor")return n.inputs||[];return[]}function Qf0(t){return lrn[t]||a0.constants.AddressZero}async function $c(t,e,n,a,r,f,i){let s=r&&r.contractName,o=r&&r.version,c=r&&r.publisherAddress,d=r&&r.metadata;if(d0(s||d,"Require contract name or metadata"),s&&fh.deploymentPresets[s])return fh.deploymentPresets[s];if(s==="WETH9"){let k=OE(Kf0,[],a),O=await B6(k,e),F="";return O||(F=HM(Kf0,[])),{name:s,type:t,transaction:{predictedAddress:k,to:a,data:F}}}if(!d){d0(s,"Require contract name"),c||(c=Eu);let k=await ac(c,s,o,n,f,i);d=(await Ds(k.metadataUri,n)).compilerMetadata}let l=await rK(d,e,n,a,r?.constructorParams,f,i),h=OE(d.bytecode,l,a),y=await B6(h,e),v="";return y||(v=HM(d.bytecode,l)),{name:s,type:t,transaction:{predictedAddress:h,to:a,data:v},encodedArgs:l}}async function rK(t,e,n,a,r,f,i){let s=sh(t.abi),o=s.map(l=>l.type==="tuple[]"||l.type==="tuple"?a0.utils.ParamType.from(l):l.type),c=await Promise.all(s.map(async l=>{if(r&&r[l.name])return r[l.name].type&&d0(r[l.name].type===l.type,`Provided type ${r[l.name].type} doesn't match the actual type ${l.type} from Abi`),r[l.name].value;if(l.name&&l.name.includes("nativeTokenWrapper"))return await Vf0(e,n,a,f,i);if(l.name&&l.name.includes("trustedForwarder")){if(t.name==="Pack")return xr;let h=await $c("infra",e,n,a,{contractName:"Forwarder"},f,i);return fh.deploymentPresets.Forwarder||(fh.deploymentPresets.Forwarder=h),h.transaction.predictedAddress}else if(l.name&&l.name.includes("royaltyEngineAddress")){let h=(await e.getNetwork()).chainId;return Qf0(h)}else if(l.name&&l.name.includes("marketplaceV3Params")){let h=(await e.getNetwork()).chainId,y=Qf0(h),v=await Vf0(e,n,a,f,i);return{extensions:r?r._extensions.value:[],royaltyEngineAddress:y,nativeTokenWrapper:v}}else throw new Error("Can't resolve constructor arguments")}));return a0.utils.defaultAbiCoder.encode(o,c)}async function Vf0(t,e,n,a,r){let f=(await t.getNetwork()).chainId,i=Jj(f).wrapped.address;if(i===a0.constants.AddressZero){let s=await $c("infra",t,e,n,{contractName:"WETH9"},a,r);fh.deploymentPresets.WETH9||(fh.deploymentPresets.WETH9=s),i=s.transaction.predictedAddress}return i}async function $j(t,e,n,a,r){return(!n||n==="")&&(n=await sd(t)),(await $c("infra",t,e,n,{contractName:"ForwarderEOAOnly"},a,r)).transaction.predictedAddress}async function s9(t,e,n,a,r){return(!n||n==="")&&(n=await sd(t)),(await $c("infra",t,e,n,{contractName:"Forwarder"},a,r)).transaction.predictedAddress}function XR(t){if(t.reason&&!t.reason.includes("cannot estimate gas"))return t.reason;if(t.error)return t.error;let e=t;return typeof t=="object"?e=JSON.stringify(t):typeof t!="string"&&(e=t.toString()),e.length>5e3?t.message||"":Yf0(/.*?"message":"([^"\\]*).*?/,e)||Yf0(/.*?"reason":"([^"\\]*).*?/,e)||t.message||""}function pm(t,e){if(e==="")return e;let n=Array(10-t.length).fill(" ").join("");return e.includes(` `)?e=` `+e.split(` `).join(` `):e=`${n}${e}`,` -${t}:${e}`}function Yf0(t,e){let n=e.match(t)||[],a="";return n?.length>0&&(a+=n[1]),a}function X8(t,e){return t?t&&t.toString().includes(e)||t&&t.message&&t.message.toString().includes(e)||t&&t.error&&t.error.toString().includes(e):!1}async function bm(t,e){return await Promise.all(Object.entries(t.metadata.sources).map(async n=>{let[a,r]=n,f=r.urls,i=f?f.find(s=>s.includes("ipfs")):void 0;if(i){let s=i.split("ipfs/")[1],o=new Promise((d,l)=>setTimeout(()=>l("timeout"),3e3)),c=await Promise.race([(await e.download(`ipfs://${s}`)).text(),o]);return{filename:a,source:c}}else return{filename:a,source:r.content||"Could not find source for this contract"}}))}async function o9(t,e,n){let a=n.join("|"),r=$f0[a],f=Date.now()-r>=2e3;if(!(a in BE)||f){let s=await t.functions[e](...n);Array.isArray(s)&&s.length>0?BE[a]=a0.BigNumber.from(s[0]):BE[a]=a0.BigNumber.from(s),$f0[a]=Date.now()}let i=BE[a];return BE[a]=a0.BigNumber.from(BE[a]).add(1),i}async function qc(t,e,n,a){let r=t;t.originalSigner&&(r=t.originalSigner);let f=r?.provider;if(!f)throw new Error("missing provider");let i=a0.utils._TypedDataEncoder.getPayload(e,n,a),s="",o=(await r.getAddress()).toLowerCase();if(f?.provider?.isWalletConnect)s=await f.send("eth_signTypedData",[o,JSON.stringify(i)]);else try{s=await r._signTypedData(e,n,a)}catch(c){if(c?.message?.includes("eth_signTypedData_v4"))s=await f.send("eth_signTypedData",[o,JSON.stringify(i)]);else try{await f.send("eth_signTypedData_v4",[o,JSON.stringify(i)])}catch(d){throw d}}return{payload:i,signature:a0.utils.joinSignature(a0.utils.splitSignature(s))}}async function brn(t,e){let n=new a0.Contract(e,hrn,t);try{return await n.nonces(await t.getAddress())}catch{return await n.getNonce(await t.getAddress())}}async function mrn(t,e){let n=new a0.Contract(e,prn,t);try{return await n.DOMAIN_SEPARATOR()}catch{try{return await n.getDomainSeperator()}catch(r){console.error("Error getting domain separator",r)}}}async function yrn(t,e){return new a0.Contract(e,urn,t).name()}async function grn(t,e){let n=await mrn(t,e.verifyingContract),a={name:e.name,version:e.version,verifyingContract:e.verifyingContract,salt:a0.utils.hexZeroPad(a0.BigNumber.from(e.chainId).toHexString(),32)};return a0.utils._TypedDataEncoder.hashDomain(a)===n?a:e}async function tM(t,e,n,a,r,f,i,s){let[o,c,d]=await Promise.all([yrn(t,e),t.getChainId(),brn(t,e)]),l=await grn(t,{name:o,version:s||"1",chainId:c,verifyingContract:e});i=i||d.toString(),f=f||a0.constants.MaxUint256;let h={owner:n,spender:a,value:r,nonce:i,deadline:f},y={Permit:[{name:"owner",type:"address"},{name:"spender",type:"address"},{name:"value",type:"uint256"},{name:"nonce",type:"uint256"},{name:"deadline",type:"uint256"}]},{signature:v}=await qc(t,l,y,h);return{message:h,signature:v}}function c9(t,e){return t===E0.Hardhat||t===E0.Localhost?e==="twFactory"?DE("factoryAddress"):e==="twRegistry"?DE("registryAddress"):xr:du[t]?.[e]}function QM(t,e,n){return Ki0(n,e)}function Zx(t,e,n){return QM(t,e,n)}function Ki0(t,e){let n=Object.keys(t);if(!n.includes(e)){let r=!1;for(let f of n){let i=t[f];if(r=Ki0(i.features,e),r)break}return r}return t[e].enabled}async function k5e(t,e,n){return(await Promise.all(t.map(a=>Sf(a,e,n).catch(r=>(console.error(`Failed to fetch plug-in for ${a}`,r),{abi:[]}))))).map(a=>a.abi)}async function d9(t,e,n,a,r){let f=[];try{let i=hm(e),s=Zx(e,"PluginRouter",i),o=Zx(e,"DynamicContract",i),c=Zx(e,"Fallback",i);if(o){let h=(await new ut(n,t,Bi0,a,r).call("getAllExtensions")).map(y=>y.metadata.implementation);f=await k5e(h,n,r)}else if(s){let h=(await new ut(n,t,Mi0,a,r).call("getAllPlugins")).map(v=>v.pluginAddress),y=Array.from(new Set(h));f=await k5e(y,n,r)}else if(c){let d=["function facets() external view returns (tuple(address,bytes4[])[])"],y=(await new a0.Contract(t,d,n).facets()).map(v=>v[0]);f=await k5e(y,n,r)}}catch{}return f.length>0?rh([...f],e):e}function cr(t){return t==="admin"?a0.utils.hexZeroPad([0],32):a0.utils.id(Qi0[t])}async function iK(t,e){try{return await dG(t,e)}catch{return}}function gde(t){return Object.values(yde).find(e=>e.name===t)?.contractType||"custom"}function sK(t){return Object.values(yde).find(e=>e.contractType===t)?.name}var a0,qG,Xf0,Tu,Zf0,Bs,ei0,nc,ti0,ni0,man,ai0,ri0,yan,jG,gan,GG,zG,hf0,yf0,T5e,x5e,Aan,fG,da,gf0,Can,Kb,I6e,sr0,c6e,Jb,Ian,Ga0,ff,p9,vf0,E5e,kan,San,Zi,Xa,si0,Li,D6,yi,xu,Z1,c1,ai,ih,VG,sM,iG,sG,oi0,j5e,ci0,di0,Nl,wf0,S5e,li0,bt,ui0,WM,YG,pi0,hi0,bi0,mi0,yi0,G5e,gi0,K5e,vi0,wi0,Q5e,OM,V5e,Ti0,xi0,Ran,Man,cG,Tf0,R5e,Eu,M5e,ct,C9,o0,Dan,Pan,Lan,xf0,Ef0,RE,ua,ni,$G,JG,UM,es,Ol,Mf,B5e,Vc,tc,LM,_f0,D5e,P5e,Cf0,Fan,Ms,_i0,WG,PE,N5e,Han,Ai0,zan,Wan,If0,qan,ki0,Kan,Qan,Zan,ern,kf0,AE,Sf0,Rf0,CE,MM,BM,IE,Mf0,kE,wM,eh,TM,Bf0,xM,Df0,Pf0,EE,_G,EM,_M,AM,CM,Lf0,AG,CG,w9,IM,cm,T9,_E,trn,Xb,Ff0,pM,Nf0,Of0,hE,b9,hM,Uf0,bM,mM,Zb,em,lG,uG,bE,nrn,Mi0,Bi0,oE,uE,dE,Hf0,lE,nM,Xx,cE,zf0,DM,Wf0,I9,fm,im,sm,k9,qf0,uo,S9,LE,FE,NE,jf0,tde,A5e,rrn,Oi0,C5e,orn,crn,U5e,I5e,zi0,Wi0,qi0,ade,rde,fde,Kf0,E0,bf,rm,c5e,fh,lrn,xr,m9,cM,oM,gM,bu,mE,mu,J1,s9,ZR,eM,f6e,BE,$f0,urn,prn,hrn,Qc,_9,pm,du,i1,Gi0,wu,ut,Qi0,fK,sde,Vi0,Yi0,yG,$i0,vrn,wrn,m5e,ode,Ji0,Xi0,nh,cde,Zi0,es0,v9,ts0,Trn,xrn,$6e,dde,ns0,as0,BG,rs0,Ern,XG,fs0,is0,LG,lde,ss0,os0,vG,ude,cs0,ds0,OG,pde,ls0,us0,SG,hde,ps0,bde,hs0,bs0,HG,p5e,Rs,yE,d5e,y5e,J6e,Mn,_u,mm,Au,oh,Cu,ym,Iu,ku,Su,Ru,gm,Mu,Bu,vm,mde,Jf0,yde,ln=ce(()=>{"use strict";u();p();a0=Ee(Xe());Yd();Nc();BW();ir();qG=Ee(Va()),Xf0=Ee(ro());YHe();JHe();XHe();eze();tze();Tu=Ee(j1());nze();rze();fze();ize();Zf0=Ee(ioe());oze();dze();uze();pze();Bs=Ee(lx());bze();yze();vze();Tze();xze();Eze();Aze();Ize();Sze();Mze();Dze();Lze();ei0=Ee(doe());Fze();Oze();Hze();Wze();qze();Gze();nc=Ee(ux()),ti0=Ee(uoe());Qze();Yze();Jze();Xze();eWe();nWe();rWe();iWe();oWe();dWe();hoe();uWe();hWe();mWe();gWe();wWe();xWe();_We();CWe();kWe();RWe();BWe();PWe();FWe();ni0=Ee(qT());W0();man="0xf5b896Ddb5146D5dA77efF4efBb3Eae36E300808";ai0=10,ri0=200,yan={timeLimitMs:ai0,sizeLimit:ri0},jG=class extends a0.providers.StaticJsonRpcProvider{constructor(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:yan;super(e,n),this._timeLimitMs=a.timeLimitMs||ai0,this._sizeLimit=a.sizeLimit||ri0,this._pendingBatchAggregator=null,this._pendingBatch=null}sendCurrentBatch(e){this._pendingBatchAggregator&&clearTimeout(this._pendingBatchAggregator);let n=this._pendingBatch||[];this._pendingBatch=null,this._pendingBatchAggregator=null;let a=n.map(r=>r.request);return this.emit("debug",{action:"requestBatch",request:a0.utils.deepCopy(e),provider:this}),a0.utils.fetchJson(this.connection,JSON.stringify(a)).then(r=>{this.emit("debug",{action:"response",request:a,response:r,provider:this}),n.forEach((f,i)=>{let s=r[i];if(s)if(s.error){let o=new Error(s.error.message);o.code=s.error.code,o.data=s.error.data,f.reject(o)}else f.resolve(s.result);else f.reject(new Error("No response for request"))})},r=>{this.emit("debug",{action:"response",error:r,request:a,provider:this}),n.forEach(f=>{f.reject(r)})})}send(e,n){let a={method:e,params:n,id:this._nextId++,jsonrpc:"2.0"};this._pendingBatch===null&&(this._pendingBatch=[]);let r={request:a,resolve:null,reject:null},f=new Promise((i,s)=>{r.resolve=i,r.reject=s});return this._pendingBatch.push(r),this._pendingBatch.length===this._sizeLimit&&this.sendCurrentBatch(a),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout(()=>{this.sendCurrentBatch(a)},this._timeLimitMs)),f}},gan=fe.object({rpc:fe.array(fe.string().url()),chainId:fe.number(),nativeCurrency:fe.object({name:fe.string(),symbol:fe.string(),decimals:fe.number()}),slug:fe.string()}),GG=fe.object({supportedChains:fe.array(gan).default(n1),clientId:fe.string().optional(),secretKey:fe.string().optional(),readonlySettings:fe.object({rpcUrl:fe.string().url(),chainId:fe.number().optional()}).optional(),gasSettings:fe.object({maxPriceInGwei:fe.number().min(1,"gas price cannot be less than 1").default(300),speed:fe.enum(["standard","fast","fastest"]).default("fastest")}).default({maxPriceInGwei:300,speed:"fastest"}),gasless:fe.union([fe.object({openzeppelin:fe.object({relayerUrl:fe.string().url(),relayerForwarderAddress:fe.string().optional(),useEOAForwarder:fe.boolean().default(!1),domainName:fe.string().default("GSNv2 Forwarder"),domainVersion:fe.string().default("0.0.1"),domainSeparatorVersion:fe.string().default("1")}),experimentalChainlessSupport:fe.boolean().default(!1)}),fe.object({biconomy:fe.object({apiId:fe.string(),apiKey:fe.string(),deadlineSeconds:fe.number().min(1,"deadlineSeconds cannot be les than 1").default(3600)})}),fe.object({engine:fe.object({relayerUrl:fe.string().url().transform(t=>t.replace(/\/$/,"")),relayerForwarderAddress:fe.string().optional(),domainName:fe.string().default("GSNv2 Forwarder"),domainVersion:fe.string().default("0.0.1"),domainSeparatorVersion:fe.string().default("1")}),experimentalChainlessSupport:fe.boolean().default(!1)})]).optional(),gatewayUrls:fe.array(fe.string()).optional(),rpcBatchSettings:fe.object({sizeLimit:fe.number().default(200),timeLimit:fe.number().default(10)}).optional()}).default({gasSettings:{maxPriceInGwei:300,speed:"fastest"}}),zG={name:"@thirdweb-dev/sdk",version:"4.0.91",description:"The main thirdweb SDK.",repository:"https://github.com/thirdweb-dev/js/tree/main/legacy_packages/sdk",license:"Apache-2.0",main:"dist/thirdweb-dev-sdk.cjs.js",module:"dist/thirdweb-dev-sdk.esm.js",browser:{"./dist/thirdweb-dev-sdk.esm.js":"./dist/thirdweb-dev-sdk.browser.esm.js"},exports:{".":{module:{browser:"./dist/thirdweb-dev-sdk.browser.esm.js",default:"./dist/thirdweb-dev-sdk.esm.js"},default:"./dist/thirdweb-dev-sdk.cjs.js"},"./evm":{module:{browser:"./evm/dist/thirdweb-dev-sdk-evm.browser.esm.js",default:"./evm/dist/thirdweb-dev-sdk-evm.esm.js"},default:"./evm/dist/thirdweb-dev-sdk-evm.cjs.js"},"./evm/zksync":{module:{browser:"./evm/zksync/dist/thirdweb-dev-sdk-evm-zksync.browser.esm.js",default:"./evm/zksync/dist/thirdweb-dev-sdk-evm-zksync.esm.js"},default:"./evm/zksync/dist/thirdweb-dev-sdk-evm-zksync.cjs.js"},"./evm/functions":{module:{browser:"./evm/functions/dist/thirdweb-dev-sdk-evm-functions.browser.esm.js",default:"./evm/functions/dist/thirdweb-dev-sdk-evm-functions.esm.js"},default:"./evm/functions/dist/thirdweb-dev-sdk-evm-functions.cjs.js"},"./package.json":"./package.json"},files:["dist/","evm/","server/"],preconstruct:{entrypoints:["index.ts","evm/index.ts","evm/functions/index.ts","evm/zksync/index.ts"],exports:{envConditions:["browser"]}},sideEffects:!1,scripts:{format:"prettier --write 'src/**/*'",lint:"eslint src/",fix:"eslint src/ --fix",clean:"rm -rf dist/","generate-docs":"mkdir -p etc && pnpm generate-docs:evm && pnpm generate-snippets","generate-docs:evm":"api-extractor run --local --config ./config/api-extractor-evm.json && api-documenter markdown -i ./temp -o ./docs/evm && rm -rf ./temp-evm && mv ./temp ./temp-evm","generate-snippets":"node ./scripts/generate-snippets.mjs && node ./scripts/generate-feature-snippets-evm.mjs",build:"tsc && preconstruct build","test:all":"SWC_NODE_PROJECT=./tsconfig.test.json nyc --reporter lcovonly --report-dir ./coverage/evm mocha --config './test/evm/.mocharc.json' --timeout 180000 --parallel './test/evm/**/*.test.ts'",test:"make test-evm","test:single":"SWC_NODE_PROJECT=./tsconfig.test.json mocha --config './test/evm/.mocharc.json' --timeout 90000",push:"yalc push",typedoc:"node scripts/typedoc.mjs"},devDependencies:{"@aws-sdk/client-secrets-manager":"^3.549.0","@ethersproject/abstract-provider":"^5.7.0","@microsoft/api-documenter":"^7.24.5","@microsoft/api-extractor":"^7.43.0","@microsoft/tsdoc":"^0.14.2","@nomiclabs/hardhat-ethers":"^2.2.3","@preconstruct/cli":"2.7.0","@swc-node/register":"^1.9.0","@swc/core":"^1.5.24","@thirdweb-dev/tsconfig":"workspace:*","@types/bn.js":"^5.1.5","@types/chai":"^4.3.14","@types/deep-equal-in-any-order":"^1.0.3","@types/mocha":"^10.0.6","@types/node":"20.12.7","@types/uuid":"^9.0.8",chai:"^4.4.1","deep-equal-in-any-order":"^1.1.20","dotenv-mono":"^1.3.14",eslint:"8.57.0","eslint-config-thirdweb":"workspace:*","eslint-plugin-better-tree-shaking":"0.0.4","eslint-plugin-import":"^2.29.1","eslint-plugin-inclusive-language":"^2.2.1","eslint-plugin-prettier":"^5.1.3","eslint-plugin-tsdoc":"^0.2.17",ethers:"^5.7.2","ethers-aws-kms-signer":"^1.3.2",hardhat:"^2.22.2",mocha:"10.4.0",nyc:"^15.1.0",rimraf:"5.0.5","typedoc-gen":"workspace:*",typescript:"5.4.4","zksync-ethers":"^5.7.0"},peerDependencies:{"@aws-sdk/client-secrets-manager":"^3.215.0",ethers:"^5","ethers-aws-kms-signer":"^1.3.2","zksync-ethers":"^5.6.0"},peerDependenciesMeta:{"@aws-sdk/client-secrets-manager":{optional:!0},"ethers-aws-kms-signer":{optional:!0},"zksync-ethers":{optional:!0}},dependencies:{"@eth-optimism/sdk":"3.3.0","@thirdweb-dev/chains":"workspace:*","@thirdweb-dev/contracts-js":"workspace:*","@thirdweb-dev/crypto":"workspace:*","@thirdweb-dev/generated-abis":"workspace:*","@thirdweb-dev/merkletree":"workspace:*","@thirdweb-dev/storage":"workspace:*",abitype:"1.0.0","bn.js":"5.2.1",bs58:"^5.0.0",buffer:"^6.0.3",eventemitter3:"^5.0.1","fast-deep-equal":"^3.1.3",thirdweb:"workspace:*","tiny-invariant":"^1.3.3",tweetnacl:"^1.0.3",uuid:"^9.0.1",yaml:"^2.4.1",zod:"^3.22.4"},bugs:{url:"https://github.com/thirdweb-dev/js/issues"},author:"thirdweb eng ",engines:{node:">=18"}},hf0=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];yf0=new Map;x5e=new Map;Aan=fe.custom(t=>typeof t=="string"&&(t.endsWith(".eth")||t.endsWith(".cb.id"))).transform(async t=>W5e(t)).refine(t=>!!t&&a0.utils.isAddress(t),{message:"Provided value was not a valid ENS name"}),fG=fe.custom(t=>typeof t=="string"&&a0.utils.isAddress(t),t=>({message:`${t} is not a valid address`})),da=fe.union([fG,Aan],{invalid_type_error:"Provided value was not a valid address or ENS name"});gf0=fe.instanceof(File),Can=fe.union([gf0,fe.object({data:fe.union([gf0,fe.string()]),name:fe.string()})]),Kb=fe.union([Can,fe.string()]),I6e=1e4,sr0=fe.union([fe.array(fe.number()),fe.string()]),c6e=fe.union([fe.bigint(),fe.custom(t=>a0.BigNumber.isBigNumber(t)),fe.custom(t=>qG.default.isBN(t))]).transform(t=>qG.default.isBN(t)?new qG.default(t).toString():a0.BigNumber.from(t).toString()),Jb=fe.number().max(I6e,"Cannot exceed 100%").min(0,"Cannot be below 0%"),Ian=fe.number().max(100,"Cannot exceed 100%").min(0,"Cannot be below 0%"),Ga0=fe.union([fe.string().regex(/^([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,"Invalid hex color"),fe.string().regex(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,"Invalid hex color").transform(t=>t.replace("#","")),fe.string().length(0)]),ff=fe.union([fe.string().regex(/^([0-9]+\.?[0-9]*|\.[0-9]+)$/,"Invalid amount"),fe.number().min(0,"Amount cannot be negative")]).transform(t=>typeof t=="number"?t.toString():t),p9=fe.union([ff,fe.literal("unlimited")]).default("unlimited"),vf0=256,E5e="0|[1-9]\\d*",kan=`(${E5e})\\.(${E5e})\\.(${E5e})`,San=new RegExp(kan);Zi=fe.union([fe.string(),fe.number(),fe.bigint(),fe.custom(t=>a0.BigNumber.isBigNumber(t))]).transform(t=>a0.BigNumber.from(t)),Xa=Zi.transform(t=>t.toString()),si0=fe.union([fe.bigint(),fe.custom(t=>a0.BigNumber.isBigNumber(t))]).transform(t=>a0.BigNumber.from(t).toString()),Li=fe.object({name:fe.string(),description:fe.string().optional(),image:Kb.optional(),external_link:fe.string().optional(),app_uri:fe.string().optional(),social_urls:fe.record(fe.string()).optional(),defaultAdmin:da.optional()}).catchall(fe.unknown()),D6=Li.extend({image:fe.string().optional()}).catchall(fe.unknown()),yi=fe.object({seller_fee_basis_points:Jb.default(0),fee_recipient:da.default(a0.constants.AddressZero)}),xu=fe.object({primary_sale_recipient:da.default(a0.constants.AddressZero)}),Z1=fe.object({platform_fee_basis_points:Jb.default(0),platform_fee_recipient:da.default(a0.constants.AddressZero)}),c1=fe.object({trusted_forwarders:fe.array(da).default([])}),ai=fe.object({symbol:fe.string().default("")}),ih=fe.object({merkle:fe.record(fe.string()).default({})}),VG=fe.object({address:da,maxClaimable:p9.default(0),price:p9.optional(),currencyAddress:da.default(a0.constants.AddressZero).optional()}),sM=fe.union([fe.array(fe.string()).transform(async t=>await Promise.all(t.map(e=>VG.parseAsync({address:e})))),fe.array(VG)]),iG=VG.extend({proof:fe.array(fe.string())}),sG=fe.object({merkleRoot:fe.string(),claims:fe.array(iG)}),oi0=Li.catchall(fe.union([si0,fe.unknown()])),j5e=oi0.merge(yi.merge(ih).merge(ai).partial()).catchall(fe.any()),ci0=D6.merge(yi.merge(ih).merge(ai).partial()).catchall(fe.any()),di0=j5e.merge(Z1.merge(xu).merge(c1).partial()),Nl={deploy:di0,output:ci0,input:j5e},wf0=fe.object({type:fe.string(),name:fe.string().default("")}).catchall(fe.any()),S5e=wf0.extend({stateMutability:fe.string().optional(),components:fe.array(wf0).optional()}).catchall(fe.any()),li0=fe.object({type:fe.string(),name:fe.string().default(""),inputs:fe.array(S5e).default([]),outputs:fe.array(S5e).default([])}).catchall(fe.any()),bt=fe.array(li0),ui0=fe.union([fe.literal("solc"),fe.literal("zksolc")]),WM=fe.object({name:fe.string(),metadataUri:fe.string(),bytecodeUri:fe.string(),analytics:fe.any().optional(),compilers:fe.record(ui0,fe.array(fe.object({compilerVersion:fe.string().optional(),evmVersion:fe.string().optional(),metadataUri:fe.string(),bytecodeUri:fe.string()}))).optional()}).catchall(fe.any()),YG=fe.record(fe.string(),fe.string()),pi0=fe.object({factoryFunction:fe.string(),params:fe.array(fe.object({name:fe.string(),type:fe.string()})).default([]),customFactoryAddresses:YG}),hi0=fe.object({implementationAddresses:YG,implementationInitializerFunction:fe.string().default("initialize"),customFactoryInput:pi0.optional(),factoryAddresses:YG.optional()}),bi0=fe.union([fe.literal("standard"),fe.literal("autoFactory"),fe.literal("customFactory")]),mi0=fe.union([fe.literal("none"),fe.literal("plugin"),fe.literal("dynamic")]),yi0=fe.object({allNetworks:fe.boolean().optional(),networksEnabled:fe.array(fe.number()).default([])}),G5e=fe.object({version:fe.string().refine(t=>{try{return QG(t),!0}catch{return!1}},t=>({message:`'${t}' is not a valid semantic version. Should be in the format of major.minor.patch. Ex: 0.4.1`})),displayName:fe.string().optional(),description:fe.string().optional(),externalLinks:fe.array(fe.object({name:fe.string(),url:fe.string()})).optional(),readme:fe.string().optional(),license:fe.string().optional(),changelog:fe.string().optional(),tags:fe.array(fe.string()).optional(),audit:Kb.nullable().optional(),logo:Kb.nullable().optional(),isDeployableViaFactory:fe.boolean().optional(),isDeployableViaProxy:fe.boolean().optional(),factoryDeploymentData:hi0.optional(),deployType:bi0.optional(),routerType:mi0.optional(),defaultExtensions:fe.array(fe.object({extensionName:fe.string(),extensionVersion:fe.string().default("latest"),publisherAddress:da})).optional(),networksForDeployment:yi0.optional(),constructorParams:fe.record(fe.string(),fe.object({displayName:fe.string().optional(),description:fe.string().optional(),defaultValue:fe.string().optional(),hidden:fe.boolean().optional()}).catchall(fe.any())).optional(),compositeAbi:bt.optional()}).catchall(fe.any()),gi0=G5e.extend({audit:fe.string().nullable().optional(),logo:fe.string().nullable().optional()}),K5e=WM.merge(G5e).extend({publisher:da.optional()}),vi0=WM.merge(gi0).extend({publisher:da.optional()}),wi0=fe.object({name:fe.string().optional(),bio:fe.string().optional(),avatar:Kb.nullable().optional(),website:fe.string().optional(),twitter:fe.string().optional(),telegram:fe.string().optional(),facebook:fe.string().optional(),github:fe.string().optional(),medium:fe.string().optional(),linkedin:fe.string().optional(),reddit:fe.string().optional(),discord:fe.string().optional()}),Q5e=wi0.extend({avatar:fe.string().nullable().optional()}),OM=fe.object({id:fe.string(),timestamp:Xa,metadataUri:fe.string()}),V5e=fe.object({title:fe.string().optional(),author:fe.string().optional(),details:fe.string().optional(),notice:fe.string().optional()}),Ti0=fe.object({name:fe.string(),abi:bt,metadata:fe.record(fe.string(),fe.any()),info:V5e,licenses:fe.array(fe.string().optional()).default([]).transform(t=>t.filter(e=>e!==void 0)),isPartialAbi:fe.boolean().optional()}),xi0=WM.merge(Ti0).extend({bytecode:fe.string(),fetchedMetadataUri:fe.string(),fetchedBytecodeUri:fe.string()});Ran=2;Man=()=>!0,cG=()=>!Man();Tf0=$5e(20);R5e=n1;Eu="0xdd99b75f095d0c4d5112aCe938e4e6ed962fb024";try{M5e=new TextDecoder}catch{}o0=0,Dan=105,Pan=57342,Lan=57343,xf0=57337,Ef0=6,RE={},ua={},JG=0,UM=0,Mf=[],B5e=[],_f0={useRecords:!1,mapsAsObjects:!0},D5e=!1,P5e=class t{constructor(e){if(e&&((e.keyMap||e._keyMap)&&!e.useRecords&&(e.useRecords=!1,e.mapsAsObjects=!0),e.useRecords===!1&&e.mapsAsObjects===void 0&&(e.mapsAsObjects=!0),e.getStructures&&(e.getShared=e.getStructures),e.getShared&&!e.structures&&((e.structures=[]).uninitialized=!0),e.keyMap)){this.mapKey=new Map;for(let[n,a]of Object.entries(e.keyMap))this.mapKey.set(a,n)}Object.assign(this,e)}decodeKey(e){return this.keyMap&&this.mapKey.get(e)||e}decode(e,n){if(ct)return Ci0(()=>(Ii0(),this?this.decode(e,n):t.prototype.decode.call(_f0,e,n)));C9=n>-1?n:e.length,o0=0,UM=0,$G=null,es=null,ct=e;try{tc=e.dataView||(e.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength))}catch(a){throw ct=null,e instanceof Uint8Array?a:new Error("Source must be a Uint8Array or Buffer but was a "+(e&&typeof e=="object"?e.constructor.name:typeof e))}if(this instanceof t){if(ua=this,Vc=this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),this.structures)return ni=this.structures,Af0();(!ni||ni.length>0)&&(ni=[])}else ua=_f0,(!ni||ni.length>0)&&(ni=[]),Vc=null;return Af0()}};Cf0=/^[a-zA-Z_$][a-zA-Z\d_$]*$/;Fan=F5e;Ms=String.fromCharCode;_i0=new Float32Array(1),WG=new Uint8Array(_i0.buffer,0,4);PE=class{constructor(e,n){this.value=e,this.tag=n}};Mf[0]=t=>new Date(t);Mf[1]=t=>new Date(Math.round(t*1e3));Mf[2]=t=>{let e=BigInt(0);for(let n=0,a=t.byteLength;nBigInt(-1)-Mf[2](t);Mf[4]=t=>+(t[1]+"e"+t[0]);Mf[5]=t=>t[1]*Math.exp(t[0]*Math.log(2));N5e=t=>{let e=t[0]-57344,n=t[1],a=ni[e];a&&a.isShared&&((ni.restoreStructures||(ni.restoreStructures=[]))[e]=a),ni[e]=n,n.read=L5e(n);let r={};if(ua.keyMap)for(let f=2,i=t.length;fes?es[0].slice(es.position0,es.position0+=t):new PE(t,14);Mf[15]=t=>es?es[1].slice(es.position1,es.position1+=t):new PE(t,15);Han={Error,RegExp};Mf[27]=t=>(Han[t[0]]||Error)(t[1],t[2]);Ai0=t=>{if(ct[o0++]!=132)throw new Error("Packed values structure must be followed by a 4 element array");let e=t();return Vc=Vc?e.concat(Vc.slice(e.length)):e,Vc.prefixes=t(),Vc.suffixes=t(),t()};Ai0.handlesRead=!0;Mf[51]=Ai0;Mf[Ef0]=t=>{if(!Vc)if(ua.getShared)Z5e();else return new PE(t,Ef0);if(typeof t=="number")return Vc[16+(t>=0?2*t:-2*t-1)];throw new Error("No support for non-integer packed references yet")};Mf[25]=t=>stringRefs[t];Mf[256]=t=>{stringRefs=[];try{return t()}finally{stringRefs=null}};Mf[256].handlesRead=!0;Mf[28]=t=>{Ol||(Ol=new Map,Ol.id=0);let e=Ol.id++,n=ct[o0],a;n>>5==4?a=[]:a={};let r={target:a};Ol.set(e,r);let f=t();return r.used?Object.assign(a,f):(r.target=f,f)};Mf[28].handlesRead=!0;Mf[29]=t=>{let e=Ol.get(t);return e.used=!0,e.target};Mf[258]=t=>new Set(t);(Mf[259]=t=>(ua.mapsAsObjects&&(ua.mapsAsObjects=!1,LM=!0),t())).handlesRead=!0;zan=1399353956;B5e.push((t,e)=>{if(t>=225&&t<=255)return ME(A9().prefixes[t-224],e);if(t>=28704&&t<=32767)return ME(A9().prefixes[t-28672],e);if(t>=1879052288&&t<=2147483647)return ME(A9().prefixes[t-1879048192],e);if(t>=216&&t<=223)return ME(e,A9().suffixes[t-216]);if(t>=27647&&t<=28671)return ME(e,A9().suffixes[t-27639]);if(t>=1811940352&&t<=1879048191)return ME(e,A9().suffixes[t-1811939328]);if(t==zan)return{packedValues:Vc,structures:ni.slice(0),version:e};if(t==55799)return e});Wan=new Uint8Array(new Uint16Array([1]).buffer)[0]==1,If0=[Uint8Array],qan=[64];for(let t=0;t0&&(a+=n[1]),a}function X8(t,e){return t?t&&t.toString().includes(e)||t&&t.message&&t.message.toString().includes(e)||t&&t.error&&t.error.toString().includes(e):!1}async function mm(t,e){return await Promise.all(Object.entries(t.metadata.sources).map(async n=>{let[a,r]=n,f=r.urls,i=f?f.find(s=>s.includes("ipfs")):void 0;if(i){let s=i.split("ipfs/")[1],o=new Promise((d,l)=>setTimeout(()=>l("timeout"),3e3)),c=await Promise.race([(await e.download(`ipfs://${s}`)).text(),o]);return{filename:a,source:c}}else return{filename:a,source:r.content||"Could not find source for this contract"}}))}async function c9(t,e,n){let a=n.join("|"),r=$f0[a],f=Date.now()-r>=2e3;if(!(a in BE)||f){let s=await t.functions[e](...n);Array.isArray(s)&&s.length>0?BE[a]=a0.BigNumber.from(s[0]):BE[a]=a0.BigNumber.from(s),$f0[a]=Date.now()}let i=BE[a];return BE[a]=a0.BigNumber.from(BE[a]).add(1),i}async function qc(t,e,n,a){let r=t;t.originalSigner&&(r=t.originalSigner);let f=r?.provider;if(!f)throw new Error("missing provider");let i=a0.utils._TypedDataEncoder.getPayload(e,n,a),s="",o=(await r.getAddress()).toLowerCase();if(f?.provider?.isWalletConnect)s=await f.send("eth_signTypedData",[o,JSON.stringify(i)]);else try{s=await r._signTypedData(e,n,a)}catch(c){if(c?.message?.includes("eth_signTypedData_v4"))s=await f.send("eth_signTypedData",[o,JSON.stringify(i)]);else try{await f.send("eth_signTypedData_v4",[o,JSON.stringify(i)])}catch(d){throw d}}return{payload:i,signature:a0.utils.joinSignature(a0.utils.splitSignature(s))}}async function brn(t,e){let n=new a0.Contract(e,hrn,t);try{return await n.nonces(await t.getAddress())}catch{return await n.getNonce(await t.getAddress())}}async function mrn(t,e){let n=new a0.Contract(e,prn,t);try{return await n.DOMAIN_SEPARATOR()}catch{try{return await n.getDomainSeperator()}catch(r){console.error("Error getting domain separator",r)}}}async function yrn(t,e){return new a0.Contract(e,urn,t).name()}async function grn(t,e){let n=await mrn(t,e.verifyingContract),a={name:e.name,version:e.version,verifyingContract:e.verifyingContract,salt:a0.utils.hexZeroPad(a0.BigNumber.from(e.chainId).toHexString(),32)};return a0.utils._TypedDataEncoder.hashDomain(a)===n?a:e}async function tM(t,e,n,a,r,f,i,s){let[o,c,d]=await Promise.all([yrn(t,e),t.getChainId(),brn(t,e)]),l=await grn(t,{name:o,version:s||"1",chainId:c,verifyingContract:e});i=i||d.toString(),f=f||a0.constants.MaxUint256;let h={owner:n,spender:a,value:r,nonce:i,deadline:f},y={Permit:[{name:"owner",type:"address"},{name:"spender",type:"address"},{name:"value",type:"uint256"},{name:"nonce",type:"uint256"},{name:"deadline",type:"uint256"}]},{signature:v}=await qc(t,l,y,h);return{message:h,signature:v}}function d9(t,e){return t===E0.Hardhat||t===E0.Localhost?e==="twFactory"?DE("factoryAddress"):e==="twRegistry"?DE("registryAddress"):xr:du[t]?.[e]}function QM(t,e,n){return Ki0(n,e)}function Zx(t,e,n){return QM(t,e,n)}function Ki0(t,e){let n=Object.keys(t);if(!n.includes(e)){let r=!1;for(let f of n){let i=t[f];if(r=Ki0(i.features,e),r)break}return r}return t[e].enabled}async function k5e(t,e,n){return(await Promise.all(t.map(a=>Sf(a,e,n).catch(r=>(console.error(`Failed to fetch plug-in for ${a}`,r),{abi:[]}))))).map(a=>a.abi)}async function Gb(t,e,n,a,r){let f=[];try{let i=bm(e),s=Zx(e,"PluginRouter",i),o=Zx(e,"DynamicContract",i),c=Zx(e,"Fallback",i);if(o){let h=(await new ut(n,t,Bi0,a,r).call("getAllExtensions")).map(y=>y.metadata.implementation);f=await k5e(h,n,r)}else if(s){let h=(await new ut(n,t,Mi0,a,r).call("getAllPlugins")).map(v=>v.pluginAddress),y=Array.from(new Set(h));f=await k5e(y,n,r)}else if(c){let d=["function facets() external view returns (tuple(address,bytes4[])[])"],y=(await new a0.Contract(t,d,n).facets()).map(v=>v[0]);f=await k5e(y,n,r)}}catch{}return f.length>0?rh([...f],e):e}function cr(t){return t==="admin"?a0.utils.hexZeroPad([0],32):a0.utils.id(Qi0[t])}async function iK(t,e){try{return await dG(t,e)}catch{return}}function gde(t){return Object.values(yde).find(e=>e.name===t)?.contractType||"custom"}function sK(t){return Object.values(yde).find(e=>e.contractType===t)?.name}var a0,qG,Xf0,Tu,Zf0,Bs,ei0,nc,ti0,ni0,man,ai0,ri0,yan,jG,gan,GG,zG,hf0,yf0,T5e,x5e,Aan,fG,da,gf0,Can,Qb,I6e,sr0,c6e,Xb,Ian,Ga0,ff,p9,vf0,E5e,kan,San,Zi,Xa,si0,Li,D6,yi,xu,Z1,c1,ai,ih,VG,sM,iG,sG,oi0,j5e,ci0,di0,Nl,wf0,S5e,li0,bt,ui0,WM,YG,pi0,hi0,bi0,mi0,yi0,G5e,gi0,K5e,vi0,wi0,Q5e,OM,V5e,Ti0,xi0,Ran,Man,cG,Tf0,R5e,Eu,M5e,ct,C9,o0,Dan,Pan,Lan,xf0,Ef0,RE,ua,ni,$G,JG,UM,es,Ol,Mf,B5e,Vc,tc,LM,_f0,D5e,P5e,Cf0,Fan,Ms,_i0,WG,PE,N5e,Han,Ai0,zan,Wan,If0,qan,ki0,Kan,Qan,Zan,ern,kf0,AE,Sf0,Rf0,CE,MM,BM,IE,Mf0,kE,wM,eh,TM,Bf0,xM,Df0,Pf0,EE,_G,EM,_M,AM,CM,Lf0,AG,CG,w9,IM,dm,T9,_E,trn,Zb,Ff0,pM,Nf0,Of0,hE,b9,hM,Uf0,bM,mM,em,tm,lG,uG,bE,nrn,Mi0,Bi0,oE,uE,dE,Hf0,lE,nM,Xx,cE,zf0,DM,Wf0,I9,im,sm,om,k9,qf0,uo,S9,LE,FE,NE,jf0,tde,A5e,rrn,Oi0,C5e,orn,crn,U5e,I5e,zi0,Wi0,qi0,ade,rde,fde,Kf0,E0,bf,fm,c5e,fh,lrn,xr,m9,cM,oM,gM,bu,mE,mu,J1,o9,ZR,eM,f6e,BE,$f0,urn,prn,hrn,Qc,_9,hm,du,i1,Gi0,wu,ut,Qi0,fK,sde,Vi0,Yi0,yG,$i0,vrn,wrn,m5e,ode,Ji0,Xi0,nh,cde,Zi0,es0,v9,ts0,Trn,xrn,$6e,dde,ns0,as0,BG,rs0,Ern,XG,fs0,is0,LG,lde,ss0,os0,vG,ude,cs0,ds0,OG,pde,ls0,us0,SG,hde,ps0,bde,hs0,bs0,HG,p5e,Rs,yE,d5e,y5e,J6e,Mn,_u,ym,Au,oh,Cu,gm,Iu,ku,Su,Ru,vm,Mu,Bu,wm,mde,Jf0,yde,ln=ce(()=>{"use strict";u();p();a0=Ee(Xe());Yd();Nc();BW();ir();qG=Ee(Va()),Xf0=Ee(ro());YHe();JHe();XHe();eze();tze();Tu=Ee(j1());nze();rze();fze();ize();Zf0=Ee(ioe());oze();dze();uze();pze();Bs=Ee(lx());bze();yze();vze();Tze();xze();Eze();Aze();Ize();Sze();Mze();Dze();Lze();ei0=Ee(doe());Fze();Oze();Hze();Wze();qze();Gze();nc=Ee(ux()),ti0=Ee(uoe());Qze();Yze();Jze();Xze();eWe();nWe();rWe();iWe();oWe();dWe();hoe();uWe();hWe();mWe();gWe();wWe();xWe();_We();CWe();kWe();RWe();BWe();PWe();FWe();ni0=Ee(qT());W0();man="0xf5b896Ddb5146D5dA77efF4efBb3Eae36E300808";ai0=10,ri0=200,yan={timeLimitMs:ai0,sizeLimit:ri0},jG=class extends a0.providers.StaticJsonRpcProvider{constructor(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:yan;super(e,n),this._timeLimitMs=a.timeLimitMs||ai0,this._sizeLimit=a.sizeLimit||ri0,this._pendingBatchAggregator=null,this._pendingBatch=null}sendCurrentBatch(e){this._pendingBatchAggregator&&clearTimeout(this._pendingBatchAggregator);let n=this._pendingBatch||[];this._pendingBatch=null,this._pendingBatchAggregator=null;let a=n.map(r=>r.request);return this.emit("debug",{action:"requestBatch",request:a0.utils.deepCopy(e),provider:this}),a0.utils.fetchJson(this.connection,JSON.stringify(a)).then(r=>{this.emit("debug",{action:"response",request:a,response:r,provider:this}),n.forEach((f,i)=>{let s=r[i];if(s)if(s.error){let o=new Error(s.error.message);o.code=s.error.code,o.data=s.error.data,f.reject(o)}else f.resolve(s.result);else f.reject(new Error("No response for request"))})},r=>{this.emit("debug",{action:"response",error:r,request:a,provider:this}),n.forEach(f=>{f.reject(r)})})}send(e,n){let a={method:e,params:n,id:this._nextId++,jsonrpc:"2.0"};this._pendingBatch===null&&(this._pendingBatch=[]);let r={request:a,resolve:null,reject:null},f=new Promise((i,s)=>{r.resolve=i,r.reject=s});return this._pendingBatch.push(r),this._pendingBatch.length===this._sizeLimit&&this.sendCurrentBatch(a),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout(()=>{this.sendCurrentBatch(a)},this._timeLimitMs)),f}},gan=fe.object({rpc:fe.array(fe.string().url()),chainId:fe.number(),nativeCurrency:fe.object({name:fe.string(),symbol:fe.string(),decimals:fe.number()}),slug:fe.string()}),GG=fe.object({supportedChains:fe.array(gan).default(n1),clientId:fe.string().optional(),secretKey:fe.string().optional(),readonlySettings:fe.object({rpcUrl:fe.string().url(),chainId:fe.number().optional()}).optional(),gasSettings:fe.object({maxPriceInGwei:fe.number().min(1,"gas price cannot be less than 1").default(300),speed:fe.enum(["standard","fast","fastest"]).default("fastest")}).default({maxPriceInGwei:300,speed:"fastest"}),gasless:fe.union([fe.object({openzeppelin:fe.object({relayerUrl:fe.string().url(),relayerForwarderAddress:fe.string().optional(),useEOAForwarder:fe.boolean().default(!1),domainName:fe.string().default("GSNv2 Forwarder"),domainVersion:fe.string().default("0.0.1"),domainSeparatorVersion:fe.string().default("1")}),experimentalChainlessSupport:fe.boolean().default(!1)}),fe.object({biconomy:fe.object({apiId:fe.string(),apiKey:fe.string(),deadlineSeconds:fe.number().min(1,"deadlineSeconds cannot be les than 1").default(3600)})}),fe.object({engine:fe.object({relayerUrl:fe.string().url().transform(t=>t.replace(/\/$/,"")),relayerForwarderAddress:fe.string().optional(),domainName:fe.string().default("GSNv2 Forwarder"),domainVersion:fe.string().default("0.0.1"),domainSeparatorVersion:fe.string().default("1")}),experimentalChainlessSupport:fe.boolean().default(!1)})]).optional(),gatewayUrls:fe.array(fe.string()).optional(),rpcBatchSettings:fe.object({sizeLimit:fe.number().default(200),timeLimit:fe.number().default(10)}).optional()}).default({gasSettings:{maxPriceInGwei:300,speed:"fastest"}}),zG={name:"@thirdweb-dev/sdk",version:"4.0.92",description:"The main thirdweb SDK.",repository:"https://github.com/thirdweb-dev/js/tree/main/legacy_packages/sdk",license:"Apache-2.0",main:"dist/thirdweb-dev-sdk.cjs.js",module:"dist/thirdweb-dev-sdk.esm.js",browser:{"./dist/thirdweb-dev-sdk.esm.js":"./dist/thirdweb-dev-sdk.browser.esm.js"},exports:{".":{module:{browser:"./dist/thirdweb-dev-sdk.browser.esm.js",default:"./dist/thirdweb-dev-sdk.esm.js"},default:"./dist/thirdweb-dev-sdk.cjs.js"},"./evm":{module:{browser:"./evm/dist/thirdweb-dev-sdk-evm.browser.esm.js",default:"./evm/dist/thirdweb-dev-sdk-evm.esm.js"},default:"./evm/dist/thirdweb-dev-sdk-evm.cjs.js"},"./evm/zksync":{module:{browser:"./evm/zksync/dist/thirdweb-dev-sdk-evm-zksync.browser.esm.js",default:"./evm/zksync/dist/thirdweb-dev-sdk-evm-zksync.esm.js"},default:"./evm/zksync/dist/thirdweb-dev-sdk-evm-zksync.cjs.js"},"./evm/functions":{module:{browser:"./evm/functions/dist/thirdweb-dev-sdk-evm-functions.browser.esm.js",default:"./evm/functions/dist/thirdweb-dev-sdk-evm-functions.esm.js"},default:"./evm/functions/dist/thirdweb-dev-sdk-evm-functions.cjs.js"},"./package.json":"./package.json"},files:["dist/","evm/","server/"],preconstruct:{entrypoints:["index.ts","evm/index.ts","evm/functions/index.ts","evm/zksync/index.ts"],exports:{envConditions:["browser"]}},sideEffects:!1,scripts:{format:"prettier --write 'src/**/*'",lint:"eslint src/",fix:"eslint src/ --fix",clean:"rm -rf dist/","generate-docs":"mkdir -p etc && pnpm generate-docs:evm && pnpm generate-snippets","generate-docs:evm":"api-extractor run --local --config ./config/api-extractor-evm.json && api-documenter markdown -i ./temp -o ./docs/evm && rm -rf ./temp-evm && mv ./temp ./temp-evm","generate-snippets":"node ./scripts/generate-snippets.mjs && node ./scripts/generate-feature-snippets-evm.mjs",build:"tsc && preconstruct build","test:all":"SWC_NODE_PROJECT=./tsconfig.test.json nyc --reporter lcovonly --report-dir ./coverage/evm mocha --config './test/evm/.mocharc.json' --timeout 180000 --parallel './test/evm/**/*.test.ts'",test:"make test-evm","test:single":"SWC_NODE_PROJECT=./tsconfig.test.json mocha --config './test/evm/.mocharc.json' --timeout 90000",push:"yalc push",typedoc:"node scripts/typedoc.mjs"},devDependencies:{"@aws-sdk/client-secrets-manager":"^3.549.0","@ethersproject/abstract-provider":"^5.7.0","@microsoft/api-documenter":"^7.24.5","@microsoft/api-extractor":"^7.43.0","@microsoft/tsdoc":"^0.14.2","@nomiclabs/hardhat-ethers":"^2.2.3","@preconstruct/cli":"2.7.0","@swc-node/register":"^1.9.0","@swc/core":"^1.5.24","@thirdweb-dev/tsconfig":"workspace:*","@types/bn.js":"^5.1.5","@types/chai":"^4.3.14","@types/deep-equal-in-any-order":"^1.0.3","@types/mocha":"^10.0.6","@types/node":"20.12.7","@types/uuid":"^9.0.8",chai:"^4.4.1","deep-equal-in-any-order":"^1.1.20","dotenv-mono":"^1.3.14",eslint:"8.57.0","eslint-config-thirdweb":"workspace:*","eslint-plugin-better-tree-shaking":"0.0.4","eslint-plugin-import":"^2.29.1","eslint-plugin-inclusive-language":"^2.2.1","eslint-plugin-prettier":"^5.1.3","eslint-plugin-tsdoc":"^0.2.17",ethers:"^5.7.2","ethers-aws-kms-signer":"^1.3.2",hardhat:"^2.22.2",mocha:"10.4.0",nyc:"^15.1.0",rimraf:"5.0.5","typedoc-gen":"workspace:*",typescript:"5.4.4","zksync-ethers":"^5.7.0"},peerDependencies:{"@aws-sdk/client-secrets-manager":"^3.215.0",ethers:"^5","ethers-aws-kms-signer":"^1.3.2","zksync-ethers":"^5.6.0"},peerDependenciesMeta:{"@aws-sdk/client-secrets-manager":{optional:!0},"ethers-aws-kms-signer":{optional:!0},"zksync-ethers":{optional:!0}},dependencies:{"@eth-optimism/sdk":"3.3.0","@thirdweb-dev/chains":"workspace:*","@thirdweb-dev/contracts-js":"workspace:*","@thirdweb-dev/crypto":"workspace:*","@thirdweb-dev/generated-abis":"workspace:*","@thirdweb-dev/merkletree":"workspace:*","@thirdweb-dev/storage":"workspace:*",abitype:"1.0.0","bn.js":"5.2.1",bs58:"^5.0.0",buffer:"^6.0.3",eventemitter3:"^5.0.1","fast-deep-equal":"^3.1.3",thirdweb:"workspace:*","tiny-invariant":"^1.3.3",tweetnacl:"^1.0.3",uuid:"^9.0.1",yaml:"^2.4.1",zod:"^3.22.4"},bugs:{url:"https://github.com/thirdweb-dev/js/issues"},author:"thirdweb eng ",engines:{node:">=18"}},hf0=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];yf0=new Map;x5e=new Map;Aan=fe.custom(t=>typeof t=="string"&&(t.endsWith(".eth")||t.endsWith(".cb.id"))).transform(async t=>W5e(t)).refine(t=>!!t&&a0.utils.isAddress(t),{message:"Provided value was not a valid ENS name"}),fG=fe.custom(t=>typeof t=="string"&&a0.utils.isAddress(t),t=>({message:`${t} is not a valid address`})),da=fe.union([fG,Aan],{invalid_type_error:"Provided value was not a valid address or ENS name"});gf0=fe.instanceof(File),Can=fe.union([gf0,fe.object({data:fe.union([gf0,fe.string()]),name:fe.string()})]),Qb=fe.union([Can,fe.string()]),I6e=1e4,sr0=fe.union([fe.array(fe.number()),fe.string()]),c6e=fe.union([fe.bigint(),fe.custom(t=>a0.BigNumber.isBigNumber(t)),fe.custom(t=>qG.default.isBN(t))]).transform(t=>qG.default.isBN(t)?new qG.default(t).toString():a0.BigNumber.from(t).toString()),Xb=fe.number().max(I6e,"Cannot exceed 100%").min(0,"Cannot be below 0%"),Ian=fe.number().max(100,"Cannot exceed 100%").min(0,"Cannot be below 0%"),Ga0=fe.union([fe.string().regex(/^([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,"Invalid hex color"),fe.string().regex(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,"Invalid hex color").transform(t=>t.replace("#","")),fe.string().length(0)]),ff=fe.union([fe.string().regex(/^([0-9]+\.?[0-9]*|\.[0-9]+)$/,"Invalid amount"),fe.number().min(0,"Amount cannot be negative")]).transform(t=>typeof t=="number"?t.toString():t),p9=fe.union([ff,fe.literal("unlimited")]).default("unlimited"),vf0=256,E5e="0|[1-9]\\d*",kan=`(${E5e})\\.(${E5e})\\.(${E5e})`,San=new RegExp(kan);Zi=fe.union([fe.string(),fe.number(),fe.bigint(),fe.custom(t=>a0.BigNumber.isBigNumber(t))]).transform(t=>a0.BigNumber.from(t)),Xa=Zi.transform(t=>t.toString()),si0=fe.union([fe.bigint(),fe.custom(t=>a0.BigNumber.isBigNumber(t))]).transform(t=>a0.BigNumber.from(t).toString()),Li=fe.object({name:fe.string(),description:fe.string().optional(),image:Qb.optional(),external_link:fe.string().optional(),app_uri:fe.string().optional(),social_urls:fe.record(fe.string()).optional(),defaultAdmin:da.optional()}).catchall(fe.unknown()),D6=Li.extend({image:fe.string().optional()}).catchall(fe.unknown()),yi=fe.object({seller_fee_basis_points:Xb.default(0),fee_recipient:da.default(a0.constants.AddressZero)}),xu=fe.object({primary_sale_recipient:da.default(a0.constants.AddressZero)}),Z1=fe.object({platform_fee_basis_points:Xb.default(0),platform_fee_recipient:da.default(a0.constants.AddressZero)}),c1=fe.object({trusted_forwarders:fe.array(da).default([])}),ai=fe.object({symbol:fe.string().default("")}),ih=fe.object({merkle:fe.record(fe.string()).default({})}),VG=fe.object({address:da,maxClaimable:p9.default(0),price:p9.optional(),currencyAddress:da.default(a0.constants.AddressZero).optional()}),sM=fe.union([fe.array(fe.string()).transform(async t=>await Promise.all(t.map(e=>VG.parseAsync({address:e})))),fe.array(VG)]),iG=VG.extend({proof:fe.array(fe.string())}),sG=fe.object({merkleRoot:fe.string(),claims:fe.array(iG)}),oi0=Li.catchall(fe.union([si0,fe.unknown()])),j5e=oi0.merge(yi.merge(ih).merge(ai).partial()).catchall(fe.any()),ci0=D6.merge(yi.merge(ih).merge(ai).partial()).catchall(fe.any()),di0=j5e.merge(Z1.merge(xu).merge(c1).partial()),Nl={deploy:di0,output:ci0,input:j5e},wf0=fe.object({type:fe.string(),name:fe.string().default("")}).catchall(fe.any()),S5e=wf0.extend({stateMutability:fe.string().optional(),components:fe.array(wf0).optional()}).catchall(fe.any()),li0=fe.object({type:fe.string(),name:fe.string().default(""),inputs:fe.array(S5e).default([]),outputs:fe.array(S5e).default([])}).catchall(fe.any()),bt=fe.array(li0),ui0=fe.union([fe.literal("solc"),fe.literal("zksolc")]),WM=fe.object({name:fe.string(),metadataUri:fe.string(),bytecodeUri:fe.string(),analytics:fe.any().optional(),compilers:fe.record(ui0,fe.array(fe.object({compilerVersion:fe.string().optional(),evmVersion:fe.string().optional(),metadataUri:fe.string(),bytecodeUri:fe.string()}))).optional()}).catchall(fe.any()),YG=fe.record(fe.string(),fe.string()),pi0=fe.object({factoryFunction:fe.string(),params:fe.array(fe.object({name:fe.string(),type:fe.string()})).default([]),customFactoryAddresses:YG}),hi0=fe.object({implementationAddresses:YG,implementationInitializerFunction:fe.string().default("initialize"),customFactoryInput:pi0.optional(),factoryAddresses:YG.optional()}),bi0=fe.union([fe.literal("standard"),fe.literal("autoFactory"),fe.literal("customFactory")]),mi0=fe.union([fe.literal("none"),fe.literal("plugin"),fe.literal("dynamic")]),yi0=fe.object({allNetworks:fe.boolean().optional(),networksEnabled:fe.array(fe.number()).default([])}),G5e=fe.object({version:fe.string().refine(t=>{try{return QG(t),!0}catch{return!1}},t=>({message:`'${t}' is not a valid semantic version. Should be in the format of major.minor.patch. Ex: 0.4.1`})),displayName:fe.string().optional(),description:fe.string().optional(),externalLinks:fe.array(fe.object({name:fe.string(),url:fe.string()})).optional(),readme:fe.string().optional(),license:fe.string().optional(),changelog:fe.string().optional(),tags:fe.array(fe.string()).optional(),audit:Qb.nullable().optional(),logo:Qb.nullable().optional(),isDeployableViaFactory:fe.boolean().optional(),isDeployableViaProxy:fe.boolean().optional(),factoryDeploymentData:hi0.optional(),deployType:bi0.optional(),routerType:mi0.optional(),defaultExtensions:fe.array(fe.object({extensionName:fe.string(),extensionVersion:fe.string().default("latest"),publisherAddress:da})).optional(),networksForDeployment:yi0.optional(),constructorParams:fe.record(fe.string(),fe.object({displayName:fe.string().optional(),description:fe.string().optional(),defaultValue:fe.string().optional(),hidden:fe.boolean().optional()}).catchall(fe.any())).optional(),compositeAbi:bt.optional()}).catchall(fe.any()),gi0=G5e.extend({audit:fe.string().nullable().optional(),logo:fe.string().nullable().optional()}),K5e=WM.merge(G5e).extend({publisher:da.optional()}),vi0=WM.merge(gi0).extend({publisher:da.optional()}),wi0=fe.object({name:fe.string().optional(),bio:fe.string().optional(),avatar:Qb.nullable().optional(),website:fe.string().optional(),twitter:fe.string().optional(),telegram:fe.string().optional(),facebook:fe.string().optional(),github:fe.string().optional(),medium:fe.string().optional(),linkedin:fe.string().optional(),reddit:fe.string().optional(),discord:fe.string().optional()}),Q5e=wi0.extend({avatar:fe.string().nullable().optional()}),OM=fe.object({id:fe.string(),timestamp:Xa,metadataUri:fe.string()}),V5e=fe.object({title:fe.string().optional(),author:fe.string().optional(),details:fe.string().optional(),notice:fe.string().optional()}),Ti0=fe.object({name:fe.string(),abi:bt,metadata:fe.record(fe.string(),fe.any()),info:V5e,licenses:fe.array(fe.string().optional()).default([]).transform(t=>t.filter(e=>e!==void 0)),isPartialAbi:fe.boolean().optional()}),xi0=WM.merge(Ti0).extend({bytecode:fe.string(),fetchedMetadataUri:fe.string(),fetchedBytecodeUri:fe.string()});Ran=2;Man=()=>!0,cG=()=>!Man();Tf0=$5e(20);R5e=n1;Eu="0xdd99b75f095d0c4d5112aCe938e4e6ed962fb024";try{M5e=new TextDecoder}catch{}o0=0,Dan=105,Pan=57342,Lan=57343,xf0=57337,Ef0=6,RE={},ua={},JG=0,UM=0,Mf=[],B5e=[],_f0={useRecords:!1,mapsAsObjects:!0},D5e=!1,P5e=class t{constructor(e){if(e&&((e.keyMap||e._keyMap)&&!e.useRecords&&(e.useRecords=!1,e.mapsAsObjects=!0),e.useRecords===!1&&e.mapsAsObjects===void 0&&(e.mapsAsObjects=!0),e.getStructures&&(e.getShared=e.getStructures),e.getShared&&!e.structures&&((e.structures=[]).uninitialized=!0),e.keyMap)){this.mapKey=new Map;for(let[n,a]of Object.entries(e.keyMap))this.mapKey.set(a,n)}Object.assign(this,e)}decodeKey(e){return this.keyMap&&this.mapKey.get(e)||e}decode(e,n){if(ct)return Ci0(()=>(Ii0(),this?this.decode(e,n):t.prototype.decode.call(_f0,e,n)));C9=n>-1?n:e.length,o0=0,UM=0,$G=null,es=null,ct=e;try{tc=e.dataView||(e.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength))}catch(a){throw ct=null,e instanceof Uint8Array?a:new Error("Source must be a Uint8Array or Buffer but was a "+(e&&typeof e=="object"?e.constructor.name:typeof e))}if(this instanceof t){if(ua=this,Vc=this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),this.structures)return ni=this.structures,Af0();(!ni||ni.length>0)&&(ni=[])}else ua=_f0,(!ni||ni.length>0)&&(ni=[]),Vc=null;return Af0()}};Cf0=/^[a-zA-Z_$][a-zA-Z\d_$]*$/;Fan=F5e;Ms=String.fromCharCode;_i0=new Float32Array(1),WG=new Uint8Array(_i0.buffer,0,4);PE=class{constructor(e,n){this.value=e,this.tag=n}};Mf[0]=t=>new Date(t);Mf[1]=t=>new Date(Math.round(t*1e3));Mf[2]=t=>{let e=BigInt(0);for(let n=0,a=t.byteLength;nBigInt(-1)-Mf[2](t);Mf[4]=t=>+(t[1]+"e"+t[0]);Mf[5]=t=>t[1]*Math.exp(t[0]*Math.log(2));N5e=t=>{let e=t[0]-57344,n=t[1],a=ni[e];a&&a.isShared&&((ni.restoreStructures||(ni.restoreStructures=[]))[e]=a),ni[e]=n,n.read=L5e(n);let r={};if(ua.keyMap)for(let f=2,i=t.length;fes?es[0].slice(es.position0,es.position0+=t):new PE(t,14);Mf[15]=t=>es?es[1].slice(es.position1,es.position1+=t):new PE(t,15);Han={Error,RegExp};Mf[27]=t=>(Han[t[0]]||Error)(t[1],t[2]);Ai0=t=>{if(ct[o0++]!=132)throw new Error("Packed values structure must be followed by a 4 element array");let e=t();return Vc=Vc?e.concat(Vc.slice(e.length)):e,Vc.prefixes=t(),Vc.suffixes=t(),t()};Ai0.handlesRead=!0;Mf[51]=Ai0;Mf[Ef0]=t=>{if(!Vc)if(ua.getShared)Z5e();else return new PE(t,Ef0);if(typeof t=="number")return Vc[16+(t>=0?2*t:-2*t-1)];throw new Error("No support for non-integer packed references yet")};Mf[25]=t=>stringRefs[t];Mf[256]=t=>{stringRefs=[];try{return t()}finally{stringRefs=null}};Mf[256].handlesRead=!0;Mf[28]=t=>{Ol||(Ol=new Map,Ol.id=0);let e=Ol.id++,n=ct[o0],a;n>>5==4?a=[]:a={};let r={target:a};Ol.set(e,r);let f=t();return r.used?Object.assign(a,f):(r.target=f,f)};Mf[28].handlesRead=!0;Mf[29]=t=>{let e=Ol.get(t);return e.used=!0,e.target};Mf[258]=t=>new Set(t);(Mf[259]=t=>(ua.mapsAsObjects&&(ua.mapsAsObjects=!1,LM=!0),t())).handlesRead=!0;zan=1399353956;B5e.push((t,e)=>{if(t>=225&&t<=255)return ME(A9().prefixes[t-224],e);if(t>=28704&&t<=32767)return ME(A9().prefixes[t-28672],e);if(t>=1879052288&&t<=2147483647)return ME(A9().prefixes[t-1879048192],e);if(t>=216&&t<=223)return ME(e,A9().suffixes[t-216]);if(t>=27647&&t<=28671)return ME(e,A9().suffixes[t-27639]);if(t>=1811940352&&t<=1879048191)return ME(e,A9().suffixes[t-1811939328]);if(t==zan)return{packedValues:Vc,structures:ni.slice(0),version:e};if(t==55799)return e});Wan=new Uint8Array(new Uint16Array([1]).buffer)[0]==1,If0=[Uint8Array],qan=[64];for(let t=0;t0&&(a+=n \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557 \u2551 TRANSACTION INFORMATION \u2551 \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D -`,a+=um("from",e.from),e.to&&(a+=um("to",e.contractName?`${e.to} (${e.contractName})`:e.to)),a+=um("chain",`${e.network.name} (${e.network.chainId})`),e.rpcUrl)try{let r=new URL(e.rpcUrl);a+=um("rpc",r.hostname)}catch{}if(e.hash&&(a+=um("tx hash",e.hash)),e.value&&e.value.gt(0)&&(a+=um("value",`${a0.utils.formatEther(e.value)} ${rm[e.network.chainId]?.symbol||""}`)),a+=um("data",`${e.data}`),e.method&&(a+=um("method",e.method)),e.sources){let r=e.sources.find(f=>f.source.includes(e.reason));if(r){let f=r.source.split(` +`,a+=pm("from",e.from),e.to&&(a+=pm("to",e.contractName?`${e.to} (${e.contractName})`:e.to)),a+=pm("chain",`${e.network.name} (${e.network.chainId})`),e.rpcUrl)try{let r=new URL(e.rpcUrl);a+=pm("rpc",r.hostname)}catch{}if(e.hash&&(a+=pm("tx hash",e.hash)),e.value&&e.value.gt(0)&&(a+=pm("value",`${a0.utils.formatEther(e.value)} ${fm[e.network.chainId]?.symbol||""}`)),a+=pm("data",`${e.data}`),e.method&&(a+=pm("method",e.method)),e.sources){let r=e.sources.find(f=>f.source.includes(e.reason));if(r){let f=r.source.split(` `).map((o,c)=>`${c+1} ${o}`),i=f.findIndex(o=>o.includes(e.reason));f[i]+=" <-- REVERT";let s=f.slice(i-8,i+4);a+=` @@ -186,31 +186,31 @@ ${t}:${e}`}function Yf0(t,e){let n=e.match(t)||[],a="";return n?.length>0&&(a+=n `,a+="Need helping debugging? Visit our support site: https://thirdweb.com/support",a+=` -`,super(a),this._reason=e.reason,this._info=e,this._raw=n}get reason(){return this._reason}get raw(){return this._raw}get info(){return this._info}};ZR=[{name:"from",type:"address"},{name:"to",type:"address"},{name:"value",type:"uint256"},{name:"gas",type:"uint256"},{name:"nonce",type:"uint256"},{name:"data",type:"bytes"}],eM=[{name:"from",type:"address"},{name:"to",type:"address"},{name:"value",type:"uint256"},{name:"gas",type:"uint256"},{name:"nonce",type:"uint256"},{name:"data",type:"bytes"},{name:"chainid",type:"uint256"}],f6e=[{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"uint256",name:"batchId",type:"uint256"}],name:"getNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}],BE={},$f0={};urn=[{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"}],prn=[{constant:!0,inputs:[],name:"DOMAIN_SEPARATOR",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],payable:!1,stateMutability:"view",type:"function"},{inputs:[],name:"getDomainSeperator",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"}],hrn=[{inputs:[{internalType:"address",name:"owner",type:"address"}],name:"nonces",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"user",type:"address"}],name:"getNonce",outputs:[{internalType:"uint256",name:"nonce",type:"uint256"}],stateMutability:"view",type:"function"}];Qc="0x7c487845f98938Bb955B1D5AD069d9a30e4131fd",_9="0x5DBC7B840baa9daBcBe9D2492E45D7244B54A2A0",pm="0xc82BbE41f2cF04e3a8efA18F7032BDD7f6d98a81",du={[E0.Mainnet]:{openzeppelinForwarder:pm,openzeppelinForwarderEOA:"0x76ce2CB1Ae48Fa067f4fb8c5f803111AE0B24BEA",biconomyForwarder:"0x84a0856b038eaAd1cC7E297cF34A7e72685A8693",twFactory:_9,twRegistry:Qc,twBYOCRegistry:xr},[E0.Goerli]:{openzeppelinForwarder:"0x5001A14CA6163143316a7C614e30e6041033Ac20",openzeppelinForwarderEOA:"0xe73c50cB9c5B378627ff625BB6e6725A4A5D65d2",biconomyForwarder:"0xE041608922d06a4F26C0d4c27d8bCD01daf1f792",twFactory:_9,twRegistry:Qc,twBYOCRegistry:"0xB1Bd9d7942A250BA2Dce27DD601F2ED4211A60C4"},[E0.Polygon]:{openzeppelinForwarder:pm,openzeppelinForwarderEOA:"0x4f247c69184ad61036EC2Bb3213b69F10FbEDe1F",biconomyForwarder:"0x86C80a8aa58e0A4fa09A69624c31Ab2a6CAD56b8",twFactory:_9,twRegistry:Qc,twBYOCRegistry:"0x308473Be900F4185A56587dE54bDFF5E8f7a6AE7"},[E0.Mumbai]:{openzeppelinForwarder:pm,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x9399BB24DBB5C4b782C70c2969F58716Ebbd6a3b",twFactory:_9,twRegistry:Qc,twBYOCRegistry:"0x3F17972CB27506eb4a6a3D59659e0B57a43fd16C"},[E0.Avalanche]:{openzeppelinForwarder:pm,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x64CD353384109423a966dCd3Aa30D884C9b2E057",twFactory:_9,twRegistry:Qc,twBYOCRegistry:xr},[E0.AvalancheFujiTestnet]:{openzeppelinForwarder:pm,openzeppelinForwarderEOA:"0xe73c50cB9c5B378627ff625BB6e6725A4A5D65d2",biconomyForwarder:"0x6271Ca63D30507f2Dcbf99B52787032506D75BBF",twFactory:_9,twRegistry:Qc,twBYOCRegistry:"0x3E6eE864f850F5e5A98bc950B68E181Cf4010F23"},[E0.Fantom]:{openzeppelinForwarder:pm,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x64CD353384109423a966dCd3Aa30D884C9b2E057",twFactory:"0x97EA0Fcc552D5A8Fb5e9101316AAd0D62Ea0876B",twRegistry:Qc,twBYOCRegistry:xr},[E0.FantomTestnet]:{openzeppelinForwarder:pm,openzeppelinForwarderEOA:"0x42D3048b595B6e1c28a588d70366CcC2AA4dB47b",biconomyForwarder:"0x69FB8Dca8067A5D38703b9e8b39cf2D51473E4b4",twFactory:_9,twRegistry:Qc,twBYOCRegistry:"0x3E6eE864f850F5e5A98bc950B68E181Cf4010F23"},[E0.Arbitrum]:{openzeppelinForwarder:"0x4a8AC7f22DeD2CF923A51e4A1c67490bd8868add",openzeppelinForwarderEOA:"0x4f247c69184ad61036EC2Bb3213b69F10FbEDe1F",biconomyForwarder:"0xfe0fa3C06d03bDC7fb49c892BbB39113B534fB57",twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Qc,twBYOCRegistry:xr},[E0.ArbitrumGoerli]:{openzeppelinForwarder:"0x8cbc8B5d71702032904750A66AEfE8B603eBC538",openzeppelinForwarderEOA:"0x119704314Ef304EaAAE4b3c7C9ABd59272A28310",biconomyForwarder:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Qc,twBYOCRegistry:xr},[E0.Optimism]:{openzeppelinForwarder:"0xd85da690EF288A6976DE0E85Fb2Aad512eBAfbf7",openzeppelinForwarderEOA:"0x7e80648EB2071E26937F9D42A513ccf4815fc702",biconomyForwarder:"0xefba8a2a82ec1fb1273806174f5e28fbb917cf95",twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Qc,twBYOCRegistry:xr},[E0.OptimismGoerli]:{openzeppelinForwarder:"0x8cbc8B5d71702032904750A66AEfE8B603eBC538",openzeppelinForwarderEOA:"0x119704314Ef304EaAAE4b3c7C9ABd59272A28310",biconomyForwarder:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Qc,twBYOCRegistry:xr},[E0.BinanceSmartChainMainnet]:{openzeppelinForwarder:"0x7C4717039B89d5859c4Fbb85EDB19A6E2ce61171",openzeppelinForwarderEOA:"0xE8dd2Ff0212F86d3197b4AfDC6dAC6ac47eb10aC",biconomyForwarder:"0x86C80a8aa58e0A4fa09A69624c31Ab2a6CAD56b8",twBYOCRegistry:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Qc},[E0.BinanceSmartChainTestnet]:{openzeppelinForwarder:"0x44bE9D54B9C8b5e57a3325E8Ec9154640e7c6955",openzeppelinForwarderEOA:"0x7e80648EB2071E26937F9D42A513ccf4815fc702",biconomyForwarder:"0x61456BF1715C1415730076BB79ae118E806E74d2",twBYOCRegistry:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Qc},[E0.Hardhat]:{openzeppelinForwarder:xr,openzeppelinForwarderEOA:xr,biconomyForwarder:xr,twFactory:xr,twRegistry:xr,twBYOCRegistry:xr},[E0.Localhost]:{openzeppelinForwarder:xr,openzeppelinForwarderEOA:xr,biconomyForwarder:xr,twFactory:xr,twRegistry:xr,twBYOCRegistry:xr}};i1=function(t){return t.Transaction="transaction",t.Signature="signature",t}({}),Gi0=fe.object({gasLimit:Xa.optional(),gasPrice:Xa.optional(),maxFeePerGas:Xa.optional(),maxPriorityFeePerGas:Xa.optional(),nonce:Xa.optional(),value:Xa.optional(),blockTag:fe.union([fe.string(),fe.number()]).optional(),from:da.optional(),type:fe.number().optional()}).strict(),wu=class extends C6{constructor(e,n){super();try{this.options=GG.parse(n)}catch(f){console.error("invalid sdk options object passed, falling back to default options",f),this.options=GG.parse({})}let[a,r]=ts(e,this.options);this.network=e,this.signer=a,this.provider=r}updateSignerOrProvider(e){let[n,a]=ts(e,this.options);this.network=e,this.signer=n,this.provider=a}isReadOnly(){return!ZG(this.signer)}getSigner(){return this.signer}getProvider(){return this.provider}getSignerOrProvider(){return this.getSigner()||this.getProvider()}},ut=class t extends wu{constructor(n,a,r,f,i){super(n,f);ae(this,"isValidContract",!1);ae(this,"customOverrides",()=>({}));this.abi=bt.parse(r),this.address=a,this.writeContract=new a0.Contract(a,r,this.getSignerOrProvider()),this.readContract=this.writeContract.connect(this.getProvider()),this.storage=i,this.functions=vu(this.abi),this.extensions=hm(this.abi)}updateSignerOrProvider(n){super.updateSignerOrProvider(n),this.writeContract=this.writeContract.connect(this.getSignerOrProvider()),this.readContract=this.writeContract.connect(this.getProvider())}updateAbi(n){this.writeContract=new a0.Contract(this.address,n,this.getSignerOrProvider()),this.readContract=this.writeContract.connect(this.getProvider()),this.abi=bt.parse(n),this.functions=vu(this.abi),this.extensions=hm(this.abi)}async getChainID(){let n=this.getProvider(),{chainId:a}=await n.getNetwork();return a}async getSignerAddress(){let n=this.getSigner();if(!n)throw new Error("This action requires a connected wallet to sign the transaction. Please pass a valid signer to the SDK.");return await n.getAddress()}callStatic(){return this.writeContract.callStatic}async getCallOverrides(){return{}}emitTransactionEvent(n,a){this.emit(i1.Transaction,{status:n,transactionHash:a})}async multiCall(n){return this.sendTransaction("multicall",[n])}async estimateGas(n,a){return this.writeContract.estimateGas[n](...a)}async populateTransaction(n,a){return this.writeContract.populateTransaction[n](...a)}withTransactionOverride(n){this.customOverrides=n}async read(n,a){let r=this.functions.filter(o=>o.name===n);if(!r.length)throw new Error(`Function "${n.toString()}" not found in contract. Check your dashboard for the list of functions available`);let f=r.find(o=>o.name===n&&o.inputs.length===a.length);if(!f)throw new Error(`Function "${n.toString()}" requires ${r[0].inputs.length} arguments, but ${a.length} were provided. +`,super(a),this._reason=e.reason,this._info=e,this._raw=n}get reason(){return this._reason}get raw(){return this._raw}get info(){return this._info}};ZR=[{name:"from",type:"address"},{name:"to",type:"address"},{name:"value",type:"uint256"},{name:"gas",type:"uint256"},{name:"nonce",type:"uint256"},{name:"data",type:"bytes"}],eM=[{name:"from",type:"address"},{name:"to",type:"address"},{name:"value",type:"uint256"},{name:"gas",type:"uint256"},{name:"nonce",type:"uint256"},{name:"data",type:"bytes"},{name:"chainid",type:"uint256"}],f6e=[{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"uint256",name:"batchId",type:"uint256"}],name:"getNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}],BE={},$f0={};urn=[{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"}],prn=[{constant:!0,inputs:[],name:"DOMAIN_SEPARATOR",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],payable:!1,stateMutability:"view",type:"function"},{inputs:[],name:"getDomainSeperator",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"}],hrn=[{inputs:[{internalType:"address",name:"owner",type:"address"}],name:"nonces",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"user",type:"address"}],name:"getNonce",outputs:[{internalType:"uint256",name:"nonce",type:"uint256"}],stateMutability:"view",type:"function"}];Qc="0x7c487845f98938Bb955B1D5AD069d9a30e4131fd",_9="0x5DBC7B840baa9daBcBe9D2492E45D7244B54A2A0",hm="0xc82BbE41f2cF04e3a8efA18F7032BDD7f6d98a81",du={[E0.Mainnet]:{openzeppelinForwarder:hm,openzeppelinForwarderEOA:"0x76ce2CB1Ae48Fa067f4fb8c5f803111AE0B24BEA",biconomyForwarder:"0x84a0856b038eaAd1cC7E297cF34A7e72685A8693",twFactory:_9,twRegistry:Qc,twBYOCRegistry:xr},[E0.Goerli]:{openzeppelinForwarder:"0x5001A14CA6163143316a7C614e30e6041033Ac20",openzeppelinForwarderEOA:"0xe73c50cB9c5B378627ff625BB6e6725A4A5D65d2",biconomyForwarder:"0xE041608922d06a4F26C0d4c27d8bCD01daf1f792",twFactory:_9,twRegistry:Qc,twBYOCRegistry:"0xB1Bd9d7942A250BA2Dce27DD601F2ED4211A60C4"},[E0.Polygon]:{openzeppelinForwarder:hm,openzeppelinForwarderEOA:"0x4f247c69184ad61036EC2Bb3213b69F10FbEDe1F",biconomyForwarder:"0x86C80a8aa58e0A4fa09A69624c31Ab2a6CAD56b8",twFactory:_9,twRegistry:Qc,twBYOCRegistry:"0x308473Be900F4185A56587dE54bDFF5E8f7a6AE7"},[E0.Mumbai]:{openzeppelinForwarder:hm,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x9399BB24DBB5C4b782C70c2969F58716Ebbd6a3b",twFactory:_9,twRegistry:Qc,twBYOCRegistry:"0x3F17972CB27506eb4a6a3D59659e0B57a43fd16C"},[E0.Avalanche]:{openzeppelinForwarder:hm,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x64CD353384109423a966dCd3Aa30D884C9b2E057",twFactory:_9,twRegistry:Qc,twBYOCRegistry:xr},[E0.AvalancheFujiTestnet]:{openzeppelinForwarder:hm,openzeppelinForwarderEOA:"0xe73c50cB9c5B378627ff625BB6e6725A4A5D65d2",biconomyForwarder:"0x6271Ca63D30507f2Dcbf99B52787032506D75BBF",twFactory:_9,twRegistry:Qc,twBYOCRegistry:"0x3E6eE864f850F5e5A98bc950B68E181Cf4010F23"},[E0.Fantom]:{openzeppelinForwarder:hm,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x64CD353384109423a966dCd3Aa30D884C9b2E057",twFactory:"0x97EA0Fcc552D5A8Fb5e9101316AAd0D62Ea0876B",twRegistry:Qc,twBYOCRegistry:xr},[E0.FantomTestnet]:{openzeppelinForwarder:hm,openzeppelinForwarderEOA:"0x42D3048b595B6e1c28a588d70366CcC2AA4dB47b",biconomyForwarder:"0x69FB8Dca8067A5D38703b9e8b39cf2D51473E4b4",twFactory:_9,twRegistry:Qc,twBYOCRegistry:"0x3E6eE864f850F5e5A98bc950B68E181Cf4010F23"},[E0.Arbitrum]:{openzeppelinForwarder:"0x4a8AC7f22DeD2CF923A51e4A1c67490bd8868add",openzeppelinForwarderEOA:"0x4f247c69184ad61036EC2Bb3213b69F10FbEDe1F",biconomyForwarder:"0xfe0fa3C06d03bDC7fb49c892BbB39113B534fB57",twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Qc,twBYOCRegistry:xr},[E0.ArbitrumGoerli]:{openzeppelinForwarder:"0x8cbc8B5d71702032904750A66AEfE8B603eBC538",openzeppelinForwarderEOA:"0x119704314Ef304EaAAE4b3c7C9ABd59272A28310",biconomyForwarder:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Qc,twBYOCRegistry:xr},[E0.Optimism]:{openzeppelinForwarder:"0xd85da690EF288A6976DE0E85Fb2Aad512eBAfbf7",openzeppelinForwarderEOA:"0x7e80648EB2071E26937F9D42A513ccf4815fc702",biconomyForwarder:"0xefba8a2a82ec1fb1273806174f5e28fbb917cf95",twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Qc,twBYOCRegistry:xr},[E0.OptimismGoerli]:{openzeppelinForwarder:"0x8cbc8B5d71702032904750A66AEfE8B603eBC538",openzeppelinForwarderEOA:"0x119704314Ef304EaAAE4b3c7C9ABd59272A28310",biconomyForwarder:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Qc,twBYOCRegistry:xr},[E0.BinanceSmartChainMainnet]:{openzeppelinForwarder:"0x7C4717039B89d5859c4Fbb85EDB19A6E2ce61171",openzeppelinForwarderEOA:"0xE8dd2Ff0212F86d3197b4AfDC6dAC6ac47eb10aC",biconomyForwarder:"0x86C80a8aa58e0A4fa09A69624c31Ab2a6CAD56b8",twBYOCRegistry:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Qc},[E0.BinanceSmartChainTestnet]:{openzeppelinForwarder:"0x44bE9D54B9C8b5e57a3325E8Ec9154640e7c6955",openzeppelinForwarderEOA:"0x7e80648EB2071E26937F9D42A513ccf4815fc702",biconomyForwarder:"0x61456BF1715C1415730076BB79ae118E806E74d2",twBYOCRegistry:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Qc},[E0.Hardhat]:{openzeppelinForwarder:xr,openzeppelinForwarderEOA:xr,biconomyForwarder:xr,twFactory:xr,twRegistry:xr,twBYOCRegistry:xr},[E0.Localhost]:{openzeppelinForwarder:xr,openzeppelinForwarderEOA:xr,biconomyForwarder:xr,twFactory:xr,twRegistry:xr,twBYOCRegistry:xr}};i1=function(t){return t.Transaction="transaction",t.Signature="signature",t}({}),Gi0=fe.object({gasLimit:Xa.optional(),gasPrice:Xa.optional(),maxFeePerGas:Xa.optional(),maxPriorityFeePerGas:Xa.optional(),nonce:Xa.optional(),value:Xa.optional(),blockTag:fe.union([fe.string(),fe.number()]).optional(),from:da.optional(),type:fe.number().optional()}).strict(),wu=class extends C6{constructor(e,n){super();try{this.options=GG.parse(n)}catch(f){console.error("invalid sdk options object passed, falling back to default options",f),this.options=GG.parse({})}let[a,r]=ts(e,this.options);this.network=e,this.signer=a,this.provider=r}updateSignerOrProvider(e){let[n,a]=ts(e,this.options);this.network=e,this.signer=n,this.provider=a}isReadOnly(){return!ZG(this.signer)}getSigner(){return this.signer}getProvider(){return this.provider}getSignerOrProvider(){return this.getSigner()||this.getProvider()}},ut=class t extends wu{constructor(n,a,r,f,i){super(n,f);ae(this,"isValidContract",!1);ae(this,"customOverrides",()=>({}));this.abi=bt.parse(r),this.address=a,this.writeContract=new a0.Contract(a,r,this.getSignerOrProvider()),this.readContract=this.writeContract.connect(this.getProvider()),this.storage=i,this.functions=vu(this.abi),this.extensions=bm(this.abi)}updateSignerOrProvider(n){super.updateSignerOrProvider(n),this.writeContract=this.writeContract.connect(this.getSignerOrProvider()),this.readContract=this.writeContract.connect(this.getProvider())}updateAbi(n){this.writeContract=new a0.Contract(this.address,n,this.getSignerOrProvider()),this.readContract=this.writeContract.connect(this.getProvider()),this.abi=bt.parse(n),this.functions=vu(this.abi),this.extensions=bm(this.abi)}async getChainID(){let n=this.getProvider(),{chainId:a}=await n.getNetwork();return a}async getSignerAddress(){let n=this.getSigner();if(!n)throw new Error("This action requires a connected wallet to sign the transaction. Please pass a valid signer to the SDK.");return await n.getAddress()}callStatic(){return this.writeContract.callStatic}async getCallOverrides(){return{}}emitTransactionEvent(n,a){this.emit(i1.Transaction,{status:n,transactionHash:a})}async multiCall(n){return this.sendTransaction("multicall",[n])}async estimateGas(n,a){return this.writeContract.estimateGas[n](...a)}async populateTransaction(n,a){return this.writeContract.populateTransaction[n](...a)}withTransactionOverride(n){this.customOverrides=n}async read(n,a){let r=this.functions.filter(o=>o.name===n);if(!r.length)throw new Error(`Function "${n.toString()}" not found in contract. Check your dashboard for the list of functions available`);let f=r.find(o=>o.name===n&&o.inputs.length===a.length);if(!f)throw new Error(`Function "${n.toString()}" requires ${r[0].inputs.length} arguments, but ${a.length} were provided. Expected function signature: ${r[0].signature}`);let i=`${n.toString()}(${f.inputs.map(o=>o.type).join()})`,s=i in this.readContract.functions?i:n;if(f.stateMutability==="view"||f.stateMutability==="pure")return await this.readContract[s.toString()](...a);throw new Error("Cannot call a write function with read()")}async call(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,f=r?await Gi0.parseAsync(r):void 0,i=vu(bt.parse(this.abi)).filter(d=>d.name===n);if(!i.length)throw new Error(`Function "${n}" not found in contract. Check your dashboard for the list of functions available`);let s=i.find(d=>d.name===n&&d.inputs.length===a.length);if(!s)throw new Error(`Function "${n}" requires ${i[0].inputs.length} arguments, but ${a.length} were provided. -Expected function signature: ${i[0].signature}`);let o=`${n}(${s.inputs.map(d=>d.type).join()})`,c=o in this.readContract.functions?o:n;return s.stateMutability==="view"||s.stateMutability==="pure"?f?this.readContract[c](...a,f):this.readContract[c](...a):{receipt:await this.sendTransaction(c,a,f)}}async sendTransaction(n,a,r){if(r||(r=await this.getCallOverrides()),r={...r,...this.customOverrides()},this.customOverrides=()=>({}),this.options?.gasless&&("openzeppelin"in this.options.gasless||"biconomy"in this.options.gasless||"engine"in this.options.gasless)){if(n==="multicall"&&Array.isArray(a[0])&&a[0].length>0){let o=await this.getSignerAddress();a[0]=a[0].map(c=>a0.utils.solidityPack(["bytes","address"],[c,o]))}let f=this.getProvider(),i=await this.sendGaslessTransaction(n,a,r);this.emitTransactionEvent("submitted",i);let s=await f.waitForTransaction(i);return this.emitTransactionEvent("completed",i),s}else{if(!this.isValidContract){let s=await this.getProvider().getCode(this.address);if(this.isValidContract=s!=="0x",!this.isValidContract)throw new Error("The address you're trying to send a transaction to is not a smart contract. Make sure you are on the correct network and the contract address is correct")}let f=await this.sendTransactionByFunction(n,a,r);this.emitTransactionEvent("submitted",f.hash);let i;try{i=await f.wait()}catch(s){try{await this.writeContract.callStatic[n](...a,...r.value?[{value:r.value}]:[])}catch(o){throw await this.formatError(o,n,a,r)}throw await this.formatError(s,n,a,r)}return this.emitTransactionEvent("completed",f.hash),i}}async sendTransactionByFunction(n,a,r){let f=this.writeContract.functions[n];if(!f)throw new Error(`invalid function: "${n.toString()}"`);if(!r.gasLimit)try{r.gasLimit=await this.writeContract.estimateGas[n](...a,r)}catch{try{await this.writeContract.callStatic[n](...a,...r.value?[{value:r.value}]:[])}catch(s){throw await this.formatError(s,n,a,r)}}try{return await f(...a,r)}catch(i){throw await this.formatError(i,n,a,r)}}async formatError(n,a,r,f){let i=this.getProvider(),s=await i.getNetwork(),o=await(f.from||this.getSignerAddress()),c=this.address,d=this.readContract.interface.encodeFunctionData(a,r),l=a0.BigNumber.from(f.value||0),h=i.connection?.url,y=this.readContract.interface.getFunction(a),v=r.map(Q=>JSON.stringify(Q).length<=80?JSON.stringify(Q):JSON.stringify(Q,void 0,2)),S=v.join(", ").length<=80?v.join(", "):` +Expected function signature: ${i[0].signature}`);let o=`${n}(${s.inputs.map(d=>d.type).join()})`,c=o in this.readContract.functions?o:n;return s.stateMutability==="view"||s.stateMutability==="pure"?f?this.readContract[c](...a,f):this.readContract[c](...a):{receipt:await this.sendTransaction(c,a,f)}}async sendTransaction(n,a,r){if(r||(r=await this.getCallOverrides()),r={...r,...this.customOverrides()},this.customOverrides=()=>({}),this.options?.gasless&&("openzeppelin"in this.options.gasless||"biconomy"in this.options.gasless||"engine"in this.options.gasless)){if(n==="multicall"&&Array.isArray(a[0])&&a[0].length>0){let o=await this.getSignerAddress();a[0]=a[0].map(c=>a0.utils.solidityPack(["bytes","address"],[c,o]))}let f=this.getProvider(),i=await this.sendGaslessTransaction(n,a,r);this.emitTransactionEvent("submitted",i);let s=await f.waitForTransaction(i);return this.emitTransactionEvent("completed",i),s}else{if(!this.isValidContract){let s=await this.getProvider().getCode(this.address);if(this.isValidContract=s!=="0x",!this.isValidContract)throw new Error("The address you're trying to send a transaction to is not a smart contract. Make sure you are on the correct network and the contract address is correct")}let f=await this.sendTransactionByFunction(n,a,r);this.emitTransactionEvent("submitted",f.hash);let i;try{i=await f.wait()}catch(s){try{await this.writeContract.callStatic[n](...a,...r.value?[{value:r.value}]:[])}catch(o){throw await this.formatError(o,n,a,r)}throw await this.formatError(s,n,a,r)}return this.emitTransactionEvent("completed",f.hash),i}}async sendTransactionByFunction(n,a,r){let f=this.writeContract.functions[n];if(!f)throw new Error(`invalid function: "${n.toString()}"`);if(!r.gasLimit)try{r.gasLimit=await this.writeContract.estimateGas[n](...a,r)}catch{try{await this.writeContract.callStatic[n](...a,...r.value?[{value:r.value}]:[])}catch(s){throw await this.formatError(s,n,a,r)}}try{return await f(...a,r)}catch(i){throw await this.formatError(i,n,a,r)}}async formatError(n,a,r,f){let i=this.getProvider(),s=await i.getNetwork(),o=await(f.from||this.getSignerAddress()),c=this.address,d=this.readContract.interface.encodeFunctionData(a,r),l=a0.BigNumber.from(f.value||0),h=i.connection?.url,y=this.readContract.interface.getFunction(a),v=r.map(Q=>JSON.stringify(Q).length<=80?JSON.stringify(Q):JSON.stringify(Q,void 0,2)),k=v.join(", ").length<=80?v.join(", "):` `+v.map(Q=>" "+Q.split(` `).join(` `)).join(`, `)+` -`,O=`${y.name}(${S})`,F=n.transactionHash||n.transaction?.hash||n.receipt?.transactionHash,z=XR(n),W,j;try{let Q=await Sf(this.address,this.getProvider(),this.storage,this.options);Q.name&&(j=Q.name),Q.metadata.sources&&(W=await bm(Q,this.storage))}catch{}return new s9({reason:z,from:o,to:c,method:O,data:d,network:s,rpcUrl:h,value:l,hash:F,contractName:j,sources:W},n)}async sendGaslessTransaction(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,f=this.getSigner();d0(f,"Cannot execute gasless transaction without valid signer");let i=await this.getChainID(),s=await this.getSignerAddress(),o=this.writeContract.address,c=r?.value||0;if(a0.BigNumber.from(c).gt(0))throw new Error("Cannot send native token value with gasless transaction");let d=this.writeContract.interface.encodeFunctionData(n,a),l=a0.BigNumber.from(0);try{l=(await this.readContract.estimateGas[n](...a)).mul(2)}catch{}l.lt(1e5)&&(l=a0.BigNumber.from(5e5)),r.gasLimit&&a0.BigNumber.from(r.gasLimit).gt(l)&&(l=a0.BigNumber.from(r.gasLimit));let h={from:s,to:o,data:d,chainId:i,gasLimit:l,functionName:n.toString(),functionArgs:a,callOverrides:r};return await this.defaultGaslessSendFunction(h)}async signTypedData(n,a,r,f){this.emit(i1.Signature,{status:"submitted",message:f,signature:""});let{signature:i}=await qc(n,a,r,f);return this.emit(i1.Signature,{status:"completed",message:f,signature:i}),i}parseLogs(n,a){if(!a||a.length===0)return[];let r=this.writeContract.interface.getEventTopic(n);return a.filter(i=>i.topics.indexOf(r)>=0).map(i=>this.writeContract.interface.parseLog(i))}async defaultGaslessSendFunction(n){return this.options.gasless&&"biconomy"in this.options.gasless?this.biconomySendFunction(n):this.options.gasless&&"openzeppelin"in this.options.gasless?this.defenderSendFunction(n):this.engineSendFunction(n)}async engineSendFunction(n){d0(this.options.gasless&&"engine"in this.options.gasless,"calling engine gasless transaction without engine config in the SDK options");let a=await this.enginePrepareRequest(n),f=await(await fetch(this.options.gasless.engine.relayerUrl,{...a,headers:{"Content-Type":"application/json"}})).json();if(f.error)throw new Error(f.error?.message||JSON.stringify(f.error));let i=f.result.queueId,s=this.options.gasless.engine.relayerUrl.split("/relayer/")[0],o=Date.now();for(;;){let d=await(await fetch(`${s}/transaction/status/${i}`)).json();if(d.result.transactionHash)return d.result.transactionHash;if(Date.now()-o>30*1e3)throw new Error("timeout");await new Promise(l=>setTimeout(l,2e3))}}async enginePrepareRequest(n){d0(this.options.gasless&&"engine"in this.options.gasless,"calling engine gasless transaction without openzeppelin config in the SDK options");let a=this.getSigner(),r=this.getProvider(),f=this.storage;d0(a,"signer is not set");try{let{abi:i}=await Sf(n.to,r,f),s=(await r.getNetwork()).chainId,o=new t(a,n.to,i,{},f);if(i.find(c=>c.name==="executeMetaTransaction")){let d={name:await o.call("name",[]),version:"1",salt:"0x"+s.toString(16).padStart(64,"0"),verifyingContract:n.to},l={MetaTransaction:[{name:"nonce",type:"uint256"},{name:"from",type:"address"},{name:"functionSignature",type:"bytes"}]},y={nonce:await o.call("getNonce",[n.from]),from:n.from,functionSignature:n.data},{signature:v}=await qc(a,d,l,y);return{method:"POST",body:JSON.stringify({type:"execute-meta-transaction",request:{from:n.from,to:n.to,data:n.data},signature:v})}}}catch{}if(n.functionName==="approve"&&n.functionArgs.length===2){let i=n.functionArgs[0],s=n.functionArgs[1],{message:o,signature:c}=await tM(a,n.to,n.from,i,s,this.options.gasless.engine.domainSeparatorVersion),d={to:n.to,owner:o.owner,spender:o.spender,value:a0.BigNumber.from(o.value).toString(),nonce:a0.BigNumber.from(o.nonce).toString(),deadline:a0.BigNumber.from(o.deadline).toString()};return{method:"POST",body:JSON.stringify({type:"permit",request:d,signature:c})}}else{let i=this.options.gasless.engine.relayerForwarderAddress||du[n.chainId]?.openzeppelinForwarder||await i9(r,f),s=(await Promise.resolve().then(()=>Ee(YS()))).default,o=new a0.Contract(i,s,r),c=await o9(o,"getNonce",[n.from]),d,l,h;this.options.gasless.experimentalChainlessSupport?(d={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:i},l={ForwardRequest:eM},h={from:n.from,to:n.to,value:a0.BigNumber.from(0).toString(),gas:a0.BigNumber.from(n.gasLimit).toString(),nonce:a0.BigNumber.from(c).toString(),data:n.data,chainid:a0.BigNumber.from(n.chainId).toString()}):(d={name:this.options.gasless.engine.domainName,version:this.options.gasless.engine.domainVersion,chainId:n.chainId,verifyingContract:i},l={ForwardRequest:ZR},h={from:n.from,to:n.to,value:a0.BigNumber.from(0).toString(),gas:a0.BigNumber.from(n.gasLimit).toString(),nonce:a0.BigNumber.from(c).toString(),data:n.data});let{signature:y}=await qc(a,d,l,h);return{method:"POST",body:JSON.stringify({type:"forward",request:h,signature:y,forwarderAddress:i})}}}async biconomySendFunction(n){d0(this.options.gasless&&"biconomy"in this.options.gasless,"calling biconomySendFunction without biconomy");let a=this.getSigner(),r=this.getProvider();d0(a&&r,"signer and provider must be set");let f=new a0.Contract(c9(n.chainId,"biconomyForwarder"),f6e,r),i=0,s=await o9(f,"getNonce",[n.from,i]),o={from:n.from,to:n.to,token:a0.constants.AddressZero,txGas:n.gasLimit.toNumber(),tokenGasPrice:"0",batchId:i,batchNonce:s.toNumber(),deadline:Math.floor(Date.now()/1e3+(this.options?.gasless&&"biconomy"in this.options.gasless&&this.options.gasless.biconomy?.deadlineSeconds||3600)),data:n.data},c=a0.utils.arrayify(a0.utils.solidityKeccak256(["address","address","address","uint256","uint256","uint256","uint256","uint256","bytes32"],[o.from,o.to,o.token,o.txGas,o.tokenGasPrice,o.batchId,o.batchNonce,o.deadline,a0.utils.keccak256(o.data)]));this.emit(i1.Signature,{status:"submitted",message:c,signature:""});let d=await a.signMessage(c);this.emit(i1.Signature,{status:"completed",message:c,signature:d});let l=await fetch("https://api.biconomy.io/api/v2/meta-tx/native",{method:"POST",body:JSON.stringify({from:n.from,apiId:this.options.gasless.biconomy.apiId,params:[o,d],to:n.to,gasLimit:n.gasLimit.toHexString()}),headers:{"x-api-key":this.options.gasless.biconomy.apiKey,"Content-Type":"application/json;charset=utf-8"}});if(l.ok){let h=await l.json();if(!h.txHash)throw new Error(`relay transaction failed: ${h.log}`);return h.txHash}throw new Error(`relay transaction failed with status: ${l.status} (${l.statusText})`)}async defenderSendFunction(n){d0(this.options.gasless&&"openzeppelin"in this.options.gasless,"calling openzeppelin gasless transaction without openzeppelin config in the SDK options");let a=this.getSigner(),r=this.getProvider();d0(a,"provider is not set"),d0(r,"provider is not set");let f=(await Promise.resolve().then(()=>Ee(YS()))).default,i=this.options.gasless.openzeppelin.relayerForwarderAddress||(this.options.gasless.openzeppelin.useEOAForwarder?du[n.chainId]?.openzeppelinForwarderEOA||await $j(this.getProvider(),this.storage,"",this.options.clientId,this.options.secretKey):du[n.chainId]?.openzeppelinForwarder||await i9(this.getProvider(),this.storage,"",this.options.clientId,this.options.secretKey)),s=new a0.Contract(i,f,r),o=await o9(s,"getNonce",[n.from]),c,d,l;this.options.gasless.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:i},d={ForwardRequest:eM},l={from:n.from,to:n.to,value:a0.BigNumber.from(0).toString(),gas:a0.BigNumber.from(n.gasLimit).toString(),nonce:a0.BigNumber.from(o).toString(),data:n.data,chainid:a0.BigNumber.from(n.chainId).toString()}):(c={name:this.options.gasless.openzeppelin.domainName,version:this.options.gasless.openzeppelin.domainVersion,chainId:n.chainId,verifyingContract:i},d={ForwardRequest:ZR},l={from:n.from,to:n.to,value:a0.BigNumber.from(0).toString(),gas:a0.BigNumber.from(n.gasLimit).toString(),nonce:a0.BigNumber.from(o).toString(),data:n.data});let h;if(this.emit(i1.Signature,{status:"submitted",message:l,signature:""}),n.functionName==="approve"&&n.functionArgs.length===2){let O=n.functionArgs[0],F=n.functionArgs[1],{message:z,signature:W}=await tM(a,this.writeContract.address,n.from,O,F,this.options.gasless.openzeppelin.domainSeparatorVersion),{r:j,s:Q,v:V}=a0.utils.splitSignature(W);l={to:this.address,owner:z.owner,spender:z.spender,value:a0.BigNumber.from(z.value).toString(),nonce:a0.BigNumber.from(z.nonce).toString(),deadline:a0.BigNumber.from(z.deadline).toString(),r:j,s:Q,v:V},h=W}else{let{signature:O}=await qc(a,c,d,l);h=O}let y="forward";l?.owner&&(y="permit");let v=JSON.stringify({request:l,signature:h,forwarderAddress:i,type:y});this.emit(i1.Signature,{status:"completed",message:l,signature:h});let S=await fetch(this.options.gasless.openzeppelin.relayerUrl,{method:"POST",body:v});if(S.ok){let O=await S.json();if(!O.result)throw new Error(`Relay transaction failed: ${O.message}`);return JSON.parse(O.result).txHash}throw new Error(`relay transaction failed with status: ${S.status} (${S.statusText})`)}};Qi0={admin:"",transfer:"TRANSFER_ROLE",minter:"MINTER_ROLE",pauser:"PAUSER_ROLE",lister:"LISTER_ROLE",asset:"ASSET_ROLE",unwrap:"UNWRAP_ROLE",factory:"FACTORY_ROLE",signer:"SIGNER_ROLE",metadata:"METADATA_ROLE",revoke:"REVOKE_ROLE",migration:"MIGRATION_ROLE"},fK=Object.keys(Qi0);sde=Li.merge(yi).merge(ih).merge(ai),Vi0=D6.merge(yi).merge(ih).merge(ai),Yi0=sde.merge(Z1).merge(xu).merge(c1),yG={deploy:Yi0,output:Vi0,input:sde},$i0=Li.merge(ih).merge(ai),vrn=D6.merge(ih).merge(ai),wrn=$i0.merge(Z1).merge(xu).merge(c1),m5e={deploy:wrn,output:vrn,input:$i0},ode=Li.merge(yi).merge(ih).merge(ai),Ji0=D6.merge(yi).merge(ih).merge(ai),Xi0=ode.merge(Z1).merge(xu).merge(c1),nh={deploy:Xi0,output:Ji0,input:ode},cde=Li,Zi0=D6,es0=cde.merge(Z1).merge(c1),v9={deploy:es0,output:Zi0,input:cde},ts0=Li.merge(yi).merge(ai),Trn=D6.merge(yi).merge(ai),xrn=ts0.merge(c1),$6e={deploy:xrn,output:Trn,input:ts0},dde=Li.merge(yi).merge(ai),ns0=D6.merge(yi).merge(ai),as0=dde.merge(Z1).merge(c1),BG={deploy:as0,output:ns0,input:dde},rs0=fe.object({address:da,sharesBps:Jb.gt(0,"Shares must be greater than 0")}),Ern=rs0.extend({address:da,sharesBps:Jb}),XG=Li.extend({recipients:fe.array(rs0).default([]).superRefine((t,e)=>{let n={},a=0;for(let r=0;r1e4&&e.addIssue({code:fe.ZodIssueCode.custom,message:"Total shares cannot go over 100%.",path:[r,"sharesBps"]})}a!==1e4&&e.addIssue({code:fe.ZodIssueCode.custom,message:`Total shares need to add up to 100%. Total shares are currently ${a/100}%`,path:[]})})}),fs0=D6.extend({recipients:fe.array(Ern)}),is0=XG.merge(XG).merge(c1),LG={deploy:is0,output:fs0,input:XG},lde=Li.merge(yi).merge(ai),ss0=D6.merge(yi).merge(ai),os0=lde.merge(Z1).merge(xu).merge(c1),vG={deploy:os0,output:ss0,input:lde},ude=Li.merge(ai),cs0=D6.merge(ai),ds0=ude.merge(Z1).merge(xu).merge(c1),OG={deploy:ds0,output:cs0,input:ude},pde=Li.merge(yi).merge(ai),ls0=D6.merge(yi).merge(ai),us0=pde.merge(Z1).merge(xu).merge(c1),SG={deploy:us0,output:ls0,input:pde},hde=fe.object({voting_delay_in_blocks:fe.number().min(0).default(0),voting_period_in_blocks:fe.number().min(1).default(1),voting_token_address:da,voting_quorum_fraction:Ian.default(0),proposal_token_threshold:Xa.default(1)}),ps0=hde.extend({proposal_token_threshold:Zi}),bde=Li.merge(hde),hs0=D6.merge(ps0),bs0=bde.merge(c1),HG={deploy:bs0,output:hs0,input:bde},p5e=["admin"],Rs=["admin","minter","transfer","metadata"],yE=["admin","lister","asset"],d5e=["admin","minter","asset","transfer"],y5e=["admin","transfer"],J6e=["admin","transfer","minter","unwrap","asset"],Mn={vote:"vote",token:"token","edition-drop":"edition-drop",edition:"edition",marketplace:"marketplace","marketplace-v3":"marketplace-v3",multiwrap:"multiwrap","nft-collection":"nft-collection","nft-drop":"nft-drop",pack:"pack","signature-drop":"signature-drop",split:"split","token-drop":"token-drop"},_u={name:"DropERC1155",contractType:Mn["edition-drop"],schema:yG,roles:Rs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(br0(),hr0)),s.getNetwork()]);return new c.EditionDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);if(a)return a;let r=await iK(t,e);return!r||r.version>2?(await Promise.resolve().then(()=>Ee(mr0()))).default:(await Promise.resolve().then(()=>Ee(yr0()))).default}},mm={name:"TokenERC1155",contractType:Mn.edition,schema:vG,roles:Rs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(wr0(),vr0)),s.getNetwork()]);return new c.Edition(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Tr0()))).default}},Au={name:"Marketplace",contractType:Mn.marketplace,schema:v9,roles:yE,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Ar0(),_r0)),s.getNetwork()]);return new c.Marketplace(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Cr0()))).default}},oh={name:"MarketplaceV3",contractType:Mn["marketplace-v3"],schema:v9,roles:yE,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Sr0(),kr0)),s.getNetwork()]);return new c.MarketplaceV3(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n,a)=>{let r=(await e.getNetwork()).chainId;if(r===280||r===324){let c=(await ac(Eu,"MarketplaceV3","latest",n,a?.clientId,a?.secretKey)).metadataUri;return await srn(c,n)}let i=await Yc(t,e,n);if(i)return await d9(t,i,e,{},n);let s=(await Promise.resolve().then(()=>Ee(Rr0()))).default;return await d9(t,bt.parse(s||[]),e,{},n)}},Cu={name:"Multiwrap",contractType:Mn.multiwrap,schema:$6e,roles:J6e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Pr0(),Dr0)),s.getNetwork()]);return new c.Multiwrap(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Lr0()))).default}},ym={name:"TokenERC721",contractType:Mn["nft-collection"],schema:SG,roles:Rs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Or0(),Nr0)),s.getNetwork()]);return new c.NFTCollection(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Ur0()))).default}},Iu={name:"DropERC721",contractType:Mn["nft-drop"],schema:nh,roles:Rs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(zr0(),Hr0)),s.getNetwork()]);return new c.NFTDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);if(a)return a;let r=await iK(t,e);return!r||r.version>3?(await Promise.resolve().then(()=>Ee(Wr0()))).default:(await Promise.resolve().then(()=>Ee(qr0()))).default}},ku={name:"Pack",contractType:Mn.pack,schema:BG,roles:d5e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Qr0(),Kr0)),s.getNetwork()]);return new c.Pack(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||bt.parse((await Promise.resolve().then(()=>Ee(Vr0()))).default||[])}},Su={name:"SignatureDrop",contractType:Mn["signature-drop"],schema:nh,roles:Rs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n($r0(),Yr0)),s.getNetwork()]);return new c.SignatureDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);if(a)return a;let r=await iK(t,e);return!r||r.version>4?(await Promise.resolve().then(()=>Ee(Jr0()))).default:(await Promise.resolve().then(()=>Ee(Xr0()))).default}},Ru={name:"Split",contractType:Mn.split,schema:LG,roles:p5e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(ef0(),Zr0)),s.getNetwork()]);return new c.Split(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(tf0()))).default}},gm={name:"DropERC20",contractType:Mn["token-drop"],schema:m5e,roles:y5e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(rf0(),af0)),s.getNetwork()]);return new c.TokenDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);if(a)return a;let r=await iK(t,e);return!r||r.version>2?(await Promise.resolve().then(()=>Ee(ff0()))).default:(await Promise.resolve().then(()=>Ee(if0()))).default}},Mu={name:"TokenERC20",contractType:Mn.token,schema:OG,roles:Rs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(of0(),sf0)),s.getNetwork()]);return new c.Token(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(cf0()))).default}},Bu={name:"VoteERC20",contractType:Mn.vote,schema:HG,roles:[],initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(uf0(),lf0)),s.getNetwork()]);return new c.Vote(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(pf0()))).default}};vm={[Mn["edition-drop"]]:_u,[Mn.edition]:mm,[Mn.marketplace]:Au,[Mn["marketplace-v3"]]:oh,[Mn.multiwrap]:Cu,[Mn["nft-collection"]]:ym,[Mn["nft-drop"]]:Iu,[Mn.pack]:ku,[Mn["signature-drop"]]:Su,[Mn.split]:Ru,[Mn["token-drop"]]:gm,[Mn.token]:Mu,[Mn.vote]:Bu},mde={[Mn["edition-drop"]]:"ipfs://QmNm3wRzpKYWo1SRtJfgfxtvudp5p2nXD6EttcsQJHwTmk",[Mn.edition]:"",[Mn.marketplace]:"ipfs://QmbAgC8YwY36n8H2kuvSWsRisxDZ15QZw3xGZyk9aDvcv7/marketplace.html",[Mn["marketplace-v3"]]:"ipfs://QmbAgC8YwY36n8H2kuvSWsRisxDZ15QZw3xGZyk9aDvcv7/marketplace-v3.html",[Mn.multiwrap]:"",[Mn["nft-collection"]]:"",[Mn["nft-drop"]]:"ipfs://QmZptmVipc6SGFbKAyXcxGgohzTwYRXZ9LauRX5ite1xDK",[Mn.pack]:"",[Mn["signature-drop"]]:"ipfs://QmZptmVipc6SGFbKAyXcxGgohzTwYRXZ9LauRX5ite1xDK",[Mn.split]:"",[Mn["token-drop"]]:"ipfs://QmbAgC8YwY36n8H2kuvSWsRisxDZ15QZw3xGZyk9aDvcv7/erc20.html",[Mn.token]:"",[Mn.vote]:""},Jf0={name:"SmartContract",contractType:"custom",schema:{},roles:fK},yde={...vm,[Jf0.contractType]:Jf0}});async function _rn(t,e){let n=await R9(t,e);return sh(n.abi)}async function Arn(t,e){let n=await R9(t,e);return vu(n.abi,n.metadata)}var ms0,cK,oK,ys0=ce(()=>{"use strict";u();p();ms0=Ee(LW()),cK=Ee(Xe());ir();ln();Da();oK=class extends wu{constructor(n,a,r){super(n,a);ae(this,"updatePublisherProfile",me(async n=>{let a=this.getSigner();d0(a,"A signer is required");let r=await a.getAddress(),f=await this.storage.upload(n);return Me.fromContractWrapper({contractWrapper:this.publisher,method:"setPublisherProfileUri",args:[r,f]})}));ae(this,"publish",me(async(n,a)=>{let r=this.cleanupOldPublishFlowData(a),f=this.getSigner();d0(f,"A signer is required");let i=await f.getAddress(),s=await eK(n,this.storage),o=await qM(s.metadataUri,this.storage),c=hm(o.abi),d=QM(o.abi,"PluginRouter",c),l=QM(o.abi,"DynamicContract",c);if(r.routerType=d?"plugin":l?"dynamic":"none",l||d){let W=r.defaultExtensions;if(W&&W.length>0)try{let Q=(await Promise.all(W.map(K=>ac(K.publisherAddress,K.extensionName,K.extensionVersion,this.storage,this.options.clientId,this.options.secretKey)))).map(K=>K.metadataUri),V=(await Promise.all(Q.map(async K=>Ds(K,this.storage)))).map(K=>K.compilerMetadata.abi),X=rh([o.abi,...V]);r.compositeAbi=bt.parse(X)}catch{}}let h=await this.getLatest(i,s.name);if(h&&h.metadataUri){let j=(await this.fetchPublishedContractInfo(h)).publishedMetadata.version;if(!q5e(j,r.version))throw Error(`Version ${r.version} is not greater than ${j}`)}let y=await(await this.storage.download(s.bytecodeUri)).text(),v=y.startsWith("0x")?y:`0x${y}`,S=cK.utils.solidityKeccak256(["bytes"],[v]),O=s.name,F=await K5e.parseAsync({...r,metadataUri:s.metadataUri,bytecodeUri:s.bytecodeUri,name:s.name,analytics:s.analytics,compilers:s.compilers,publisher:i}),z=await this.storage.upload(F);return Me.fromContractWrapper({contractWrapper:this.publisher,method:"publishContract",args:[i,O,z,s.metadataUri,S,cK.constants.AddressZero],parse:W=>{let j=this.publisher.parseLogs("ContractPublished",W.logs);if(j.length<1)throw new Error("No ContractPublished event found");let Q=j[0].args.publishedContract;return{receipt:W,data:async()=>this.toPublishedContract(Q)}}})}));ae(this,"unpublish",me(async(n,a)=>{let r=await Oe(n);return Me.fromContractWrapper({contractWrapper:this.publisher,method:"unpublishContract",args:[r,a]})}));this.storage=r,this.publisher=new ut(n,UE(),ms0.default,a,r)}updateSignerOrProvider(n){super.updateSignerOrProvider(n),this.publisher.updateSignerOrProvider(n)}async extractConstructorParams(n){return _rn(n,this.storage)}async extractFunctions(n){return Arn(n,this.storage)}async fetchCompilerMetadataFromPredeployURI(n){return R9(n,this.storage)}async fetchPrePublishMetadata(n,a){let r=await R9(n,this.storage),f=a?await this.getLatest(a,r.name):void 0,i=f?await this.fetchPublishedContractInfo(f):void 0;return{preDeployMetadata:r,latestPublishedContractMetadata:i}}async fetchCompilerMetadataFromAddress(n){let a=await Oe(n);return Sf(a,this.getProvider(),this.storage,this.options)}async fetchPublishedContractInfo(n){return{name:n.id,publishedTimestamp:n.timestamp,publishedMetadata:await this.fetchFullPublishMetadata(n.metadataUri)}}async fetchFullPublishMetadata(n){return HE(n,this.storage)}async resolvePublishMetadataFromCompilerMetadata(n){let a=await this.publisher.read("getPublishedUriFromCompilerUri",[n]);if(a.length===0)throw Error(`Could not resolve published metadata URI from ${n}`);return await Promise.all(a.filter(r=>r.length>0).map(r=>this.fetchFullPublishMetadata(r)))}async resolveContractUriFromAddress(n){let a=await Oe(n),r=await jM(a,this.getProvider());return d0(r,"Could not resolve contract URI from address"),r}async fetchContractSourcesFromAddress(n){let a=await Oe(n),r=await this.fetchCompilerMetadataFromAddress(a);return await bm(r,this.storage)}async fetchContractAbiFromAddress(n){let a=await Oe(n);return(await Sf(a,this.getProvider(),this.storage)).abi}async getPublisherProfile(n){let a=await Oe(n),r=await this.publisher.read("getPublisherProfileUri",[a]);return!r||r.length===0?{}:Q5e.parse(await this.storage.downloadJSON(r))}async getAll(n){let a=await Oe(n),f=(await this.publisher.read("getAllPublishedContracts",[a])).reduce((i,s)=>(i[s.contractId]=s,i),{});return Object.entries(f).map(i=>{let[,s]=i;return this.toPublishedContract(s)})}async getAllVersions(n,a){let r=await Oe(n),f=await this.publisher.read("getPublishedContractVersions",[r,a]);if(f.length===0)throw Error("Not found");return f.map(i=>this.toPublishedContract(i))}async getVersion(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",f=await Oe(n);if(r==="latest")return this.getLatest(f,a);let i=await this.getAllVersions(f,a),o=(await Promise.all(i.map(c=>this.fetchPublishedContractInfo(c)))).find(c=>c.publishedMetadata.version===r);return d0(o,"Contract version not found"),i.find(c=>c.timestamp===o.publishedTimestamp)}async getLatest(n,a){let r=await Oe(n),f=await this.publisher.read("getPublishedContract",[r,a]);if(f&&f.publishMetadataUri)return this.toPublishedContract(f)}toPublishedContract(n){return OM.parse({id:n.contractId,timestamp:n.publishTimestamp,metadataUri:n.publishMetadataUri})}cleanupOldPublishFlowData(n){return n.compositeAbi&&delete n.compositeAbi,{...n,isDeployableViaFactory:!1,isDeployableViaProxy:!1,factoryDeploymentData:{...n.factoryDeploymentData,implementationAddresses:{},factoryAddresses:{}}}}}});var vs0,gs0=ce(()=>{vs0=[{type:"constructor",inputs:[{name:"_pluginMap",type:"address",internalType:"address"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"}],stateMutability:"nonpayable"},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"_getPluginForFunction",inputs:[{name:"_selector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"addPlugin",inputs:[{name:"_plugin",type:"tuple",internalType:"struct IPluginMap.Plugin",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"},{name:"pluginAddress",type:"address",internalType:"address"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getAllFunctionsOfPlugin",inputs:[{name:"_pluginAddress",type:"address",internalType:"address"}],outputs:[{name:"registered",type:"bytes4[]",internalType:"bytes4[]"}],stateMutability:"view"},{type:"function",name:"getAllPlugins",inputs:[],outputs:[{name:"registered",type:"tuple[]",internalType:"struct IPluginMap.Plugin[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"},{name:"pluginAddress",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPluginForFunction",inputs:[{name:"_selector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"pluginMap",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"removePlugin",inputs:[{name:"_selector",type:"bytes4",internalType:"bytes4"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"updatePlugin",inputs:[{name:"_plugin",type:"tuple",internalType:"struct IPluginMap.Plugin",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"},{name:"pluginAddress",type:"address",internalType:"address"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"PluginAdded",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"pluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PluginRemoved",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"pluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PluginSet",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"functionSignature",type:"string",indexed:!0,internalType:"string"},{name:"pluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PluginUpdated",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"oldPluginAddress",type:"address",indexed:!0,internalType:"address"},{name:"newPluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var vde,ws0=ce(()=>{u();p();vde={}});function dK(t){return"("+t.map(e=>e.type==="tuple"?dK(e.components):e.type==="tuple[]"?dK(e.components)+"[]":e.type).join(",")+")"}function Irn(t,e){let n=new wm.utils.Interface(e),a=[];for(let r of Object.values(n.functions)){let f=n.getFunction(n.getSighash(r));f.name.includes("_")||a.push({functionSelector:n.getSighash(f),functionSignature:f.name+dK(f.inputs),pluginAddress:t})}return a}function lK(t){let e=new wm.utils.Interface(t),n=[];for(let a of Object.values(e.functions)){let r=e.getFunction(e.getSighash(a));r.name.startsWith("_")||n.push({functionSelector:e.getSighash(r),functionSignature:r.name+dK(r.inputs)})}return n}async function M9(t,e,n,a,r,f){fh.deploymentPresets={};let[i,{compilerMetadata:s,extendedMetadata:o}]=await Promise.all([a||sd(n),Ds(t,e)]),c={},d=[],l=o?.defaultExtensions;if(o?.routerType==="plugin"&&l){d0(r||f,"Require Client Id / Secret Key");let v=await Promise.all(l.map(W=>ac(W.publisherAddress,W.extensionName,W.extensionVersion,e,r,f))),S=(await Promise.all(v.map(W=>Ds(W.metadataUri,e)))).map(W=>W.compilerMetadata),O=await Promise.all(S.map(W=>$c("plugin",n,e,i,{metadata:W},r,f))),F=[];S.forEach((W,j)=>{let Q=Irn(O[j].transaction.predictedAddress,W.abi);F.push(...Q)});let z=await $c("plugin",n,e,i,{contractName:"PluginMap",constructorParams:{_pluginsToAdd:{value:F}}},r,f);c._pluginMap={value:z.transaction.predictedAddress},d.push(...O,z)}else if(o?.routerType==="dynamic"&&l){d0(r||f,"Require Client Id / Secret Key");let v=await Promise.all(l.map(z=>ac(z.publisherAddress,z.extensionName,z.extensionVersion,e,r,f))),S=(await Promise.all(v.map(async z=>Ds(z.metadataUri,e)))).map(z=>z.compilerMetadata),O=await Promise.all(S.map(z=>$c("extension",n,e,i,{metadata:z},r,f))),F=[];S.forEach((z,W)=>{let j=lK(z.abi);F.push({metadata:{name:z.name,metadataURI:"",implementation:O[W].transaction.predictedAddress},functions:j})}),c._extensions={value:F},d.push(...O)}let[h,y]=await Promise.all([$c("implementation",n,e,i,{metadata:s,constructorParams:c},r,f),$c("infra",n,e,i,{contractName:"TWCloneFactory"},r,f)]);return d.push(y),d.push(...Object.values(fh.deploymentPresets)),d.push(h),d}function krn(t){let e=wm.utils.arrayify(t).map(n=>n===0?4:16).reduce((n,a)=>n+a)+200*t.length/2+6*Math.ceil(t.length/64)+32e3+21e3;return e=Math.floor(e*64/63),e}function wde(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ade;if(t=t.filter(f=>f.data.length>0),t.length===0)return[];let n=[],a=0,r=[];return t.forEach(f=>{let i=krn(f.data);a+i>e?r.length===0?n.push([f]):(n.push(r),a=i,r=[f]):(a+=i,r.push(f))}),r.length>0&&n.push(r),n}async function uK(t,e,n){let a=wde(e);if(a.length===0)return;n?.notifier?.("deploying","infra");let r=await Promise.all(a.map(f=>new wm.ContractFactory(fde,rde).connect(t).deploy(f)));await Promise.all(r.map(f=>f.deployed())),n?.notifier?.("deployed","infra")}async function pK(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:7e6;if(d0(t.provider,"Provider required"),!await B6(e.predictedAddress,t.provider)){console.debug(`deploying contract via create2 factory at: ${e.predictedAddress}`);let f={to:e.to,data:e.data};try{await t.estimateGas(f)}catch(i){console.debug("error estimating gas while deploying prebuilt: ",i),f.gasLimit=wm.BigNumber.from(a)}n?.notifier?.("deploying","preset"),await(await t.sendTransaction(f)).wait(),n?.notifier?.("deployed","preset")}}var wm,Tde=ce(()=>{"use strict";u();p();ln();wm=Ee(Xe());ir()});var xs0,Ts0=ce(()=>{xs0=[{type:"constructor",inputs:[{name:"_trustedForwarder",type:"address",internalType:"address"},{name:"_registry",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"FACTORY_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"addImplementation",inputs:[{name:"_implementation",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"approval",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"approveImplementation",inputs:[{name:"_implementation",type:"address",internalType:"address"},{name:"_toApprove",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"currentVersion",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"deployProxy",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"deployProxyByImplementation",inputs:[{name:"_implementation",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"},{name:"_salt",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"deployedProxy",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"deployProxyDeterministic",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"},{name:"_data",type:"bytes",internalType:"bytes"},{name:"_salt",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"deployer",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getImplementation",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"},{name:"_version",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getLatestImplementation",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"implementation",inputs:[{name:"",type:"bytes32",internalType:"bytes32"},{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"registry",inputs:[],outputs:[{name:"",type:"address",internalType:"contract TWRegistry"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ImplementationAdded",inputs:[{name:"implementation",type:"address",indexed:!1,internalType:"address"},{name:"contractType",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"version",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ImplementationApproved",inputs:[{name:"implementation",type:"address",indexed:!1,internalType:"address"},{name:"isApproved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ProxyDeployed",inputs:[{name:"implementation",type:"address",indexed:!0,internalType:"address"},{name:"proxy",type:"address",indexed:!1,internalType:"address"},{name:"deployer",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});function Drn(t,e){let a=bt.parse(t||[]).filter(f=>f.type==="event"),r=[];for(let f of a){let i=tK(f.name,e,"events");r.push({inputs:f.inputs||[],outputs:f.outputs||[],name:f.name||"unknown",comment:i})}return r}var Gr,Ul,VM,xde,Rrn,Mrn,Brn,Ede,hK,bK,mK,yK,gK,vK,wK,Es0=ce(()=>{"use strict";u();p();ln();Da();Gr=Ee(Xe());ir();h9();Yd();Pl();Rf();Tde();Ul=function(t){return t[t.None=0]="None",t[t.AddAdmin=1]="AddAdmin",t[t.RemoveAdmin=2]="RemoveAdmin",t}({}),VM={startDate:Gr.BigNumber.from(0),expirationDate:Gr.BigNumber.from(0),approvedCallTargets:[],nativeTokenLimitPerTransaction:"0"},xde=fe.object({startDate:rM,expirationDate:$b,nativeTokenLimitPerTransaction:ff.default(0),approvedCallTargets:fe.union([fe.array(da),fe.literal("*")])}),Rrn=fe.array(fe.object({signer:da,makeAdmin:fe.boolean(),permissions:xde})),Mrn=[{name:"signer",type:"address"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],Brn=[{name:"signer",type:"address"},{name:"isAdmin",type:"uint8"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],Ede=class{constructor(e){ae(this,"featureName",uo.name);ae(this,"grantAdminPermissions",me(async e=>{let n=await Oe(e);return await this.sendSignerPermissionRequest(n,VM,Ul.AddAdmin)}));ae(this,"revokeAdminPermissions",me(async e=>{let n=await Oe(e);return await this.sendSignerPermissionRequest(n,VM,Ul.RemoveAdmin)}));ae(this,"grantPermissions",me(async(e,n)=>{let a=await Oe(e),r=await xde.parseAsync(n);return await this.sendSignerPermissionRequest(a,r,Ul.None)}));ae(this,"updatePermissions",me(async(e,n)=>{let a=await Oe(e),r=await xde.parseAsync(n);if(await this.isAdmin(a))throw new Error("Signer is already an admin. Cannot update permissions of an existing admin.");if(!await this.isSigner(a))throw new Error("Signer does not already have permissions. You can grant permissions using `grantPermissions`.");return await this.sendSignerPermissionRequest(a,r,Ul.None)}));ae(this,"revokeAccess",me(async e=>{let n=await Oe(e);return await this.sendSignerPermissionRequest(n,{startDate:Gr.BigNumber.from(0),expirationDate:Gr.BigNumber.from(0),approvedCallTargets:[],nativeTokenLimitPerTransaction:"0"},Ul.None)}));ae(this,"approveTargetForSigner",me(async(e,n)=>{let a=await Oe(e),r=await Oe(n);if(await this.isAdmin(a))throw new Error("Signer is already an admin. Cannot approve targets for an admin.");if(!await this.isSigner(a))throw new Error("Signer does not already have permissions. You can grant permissions using `grantPermissions`.");let f=await this.contractWrapper.read("getPermissionsForSigner",[a]);if(f.approvedTargets.includes(n))throw new Error("Target is already approved");let i=[...f.approvedTargets,r];return await this.sendSignerPermissionRequest(a,{startDate:Gr.BigNumber.from(f.startTimestamp),expirationDate:Gr.BigNumber.from(f.endTimestamp),approvedCallTargets:i,nativeTokenLimitPerTransaction:f.nativeTokenLimitPerTransaction.toString()},Ul.None)}));ae(this,"disapproveTargetForSigner",me(async(e,n)=>{let a=await Oe(e),r=await Oe(n);if(await this.isAdmin(a))throw new Error("Signer is already an admin. Cannot approve targets for an admin.");if(!await this.isSigner(a))throw new Error("Signer does not already have permissions. You can grant permissions using `grantPermissions`.");let f=await this.contractWrapper.read("getPermissionsForSigner",[a]);if(!f.approvedTargets.includes(r))throw new Error("Target is currently not approved");let i=f.approvedTargets.filter(s=>Gr.utils.getAddress(s)!==Gr.utils.getAddress(r));return await this.sendSignerPermissionRequest(a,{startDate:Gr.BigNumber.from(f.startTimestamp),expirationDate:Gr.BigNumber.from(f.endTimestamp),approvedCallTargets:i,nativeTokenLimitPerTransaction:f.nativeTokenLimitPerTransaction.toString()},Ul.None)}));ae(this,"resetAllPermissions",me(async e=>{let n=await Rrn.parseAsync(e);if(this.hasDuplicateSigners(n))throw new Error("Duplicate signers found in input.");let a=[],r=[],f=[],i=await this.getAllAdmins(),s=n.filter(l=>l.makeAdmin).map(l=>l.signer);i.forEach(async l=>{if(!s.includes(l)){let h=(await this.sendSignerPermissionRequest(l,VM,Ul.RemoveAdmin)).encode();a.push(h)}});let o=await this.getAllSigners(),c=n.filter(l=>!l.makeAdmin).map(l=>l.signer);await Promise.all(o.map(async l=>{if(!c.includes(l.signer)){let h=(await this.sendSignerPermissionRequest(l.signer,VM,Ul.None)).encode();f.push(h)}}));for(let l of n)if(l.makeAdmin)(await this.sendSignerPermissionRequest(l.signer,VM,Ul.AddAdmin)).encode();else{let h=(await this.sendSignerPermissionRequest(l.signer,l.permissions,Ul.None)).encode();r.push(h)}let d=[];return a.forEach(l=>{d.push(l)}),f.forEach(l=>{d.push(l)}),r.forEach(l=>{d.push(l)}),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[d]})}));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}hasDuplicateSigners(e){let n={},a=e.map(r=>r.signer);for(let r of a)if(!n[r])n[r]=!0;else return!0;return!1}parseSignerPermissionsStruct(e){return{startDate:new Date(parseInt(e.startTimestamp.toString())*1e3),expirationDate:new Date(parseInt(e.endTimestamp.toString())*1e3),nativeTokenLimitPerTransaction:Gr.BigNumber.from(e.nativeTokenLimitPerTransaction),approvedCallTargets:e.approvedTargets}}async sendSignerPermissionRequest(e,n,a){let{payload:r,signature:f}=await this.generatePayload(e,n,a);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setPermissionsForSigner",args:[r,f]})}async generatePayload(e,n,a){let r={signer:e,isAdmin:a.valueOf(),approvedTargets:n.approvedCallTargets==="*"?[xr]:n.approvedCallTargets,nativeTokenLimitPerTransaction:Gr.utils.parseEther(n.nativeTokenLimitPerTransaction),permissionStartTimestamp:n.startDate,permissionEndTimestamp:n.expirationDate,reqValidityStartTimestamp:0,reqValidityEndTimestamp:Gr.BigNumber.from(Math.floor(new Date(Date.now()+31536e7).getTime()/1e3)),uid:aG(void 0)},f=await this.contractWrapper.getChainID(),i=this.contractWrapper.getSigner();d0(i,"No signer available");let s=await this.contractWrapper.signTypedData(i,{name:"Account",version:"1",chainId:f,verifyingContract:this.getAddress()},{SignerPermissionRequest:Brn},r);return{payload:r,signature:s}}async generateLegacyPayload(e,n){if(n.approvedCallTargets==="*")throw new Error("Wildcard call targets are not supported on legacy account permissions contract, please deploy an updated contract factory.");let a={signer:e,approvedTargets:n.approvedCallTargets,nativeTokenLimitPerTransaction:Gr.utils.parseEther(n.nativeTokenLimitPerTransaction),permissionStartTimestamp:n.startDate,permissionEndTimestamp:n.expirationDate,reqValidityStartTimestamp:0,reqValidityEndTimestamp:Gr.BigNumber.from(Math.floor(new Date(Date.now()+1e3*60*60*24*365*10).getTime()/1e3)),uid:aG(void 0)},r=await this.contractWrapper.getChainID(),f=this.contractWrapper.getSigner();d0(f,"No signer available");let i=await this.contractWrapper.signTypedData(f,{name:"Account",version:"1",chainId:r,verifyingContract:this.getAddress()},{SignerPermissionRequest:Mrn},a);return{payload:a,signature:i}}async isAdmin(e){let n=await Oe(e);return await this.contractWrapper.read("isAdmin",[n])}async isSigner(e){let n=await Oe(e);return await this.contractWrapper.read("isActiveSigner",[n])}async getAllAdmins(){return await this.contractWrapper.read("getAllAdmins",[])}async getAllSigners(){let e=await this.contractWrapper.read("getAllActiveSigners",[]);return await Promise.all(e.map(async n=>{let a=n.signer,r=this.parseSignerPermissionsStruct(n);return{signer:a,permissions:r}}))}async getAllAdminsAndSigners(){let n=(await this.getAllAdmins()).map(r=>({isAdmin:!0,signer:r,permissions:{startDate:new Date(0),expirationDate:new Date(0),nativeTokenLimitPerTransaction:Gr.BigNumber.from(0),approvedCallTargets:[]}})),a=await this.getAllSigners();return[...n,...a]}},hK=class{constructor(e){ae(this,"featureName",S9.name);ae(this,"grantAdminPermissions",me(async e=>O0(this.accountPermissions,uo).grantAdminPermissions.prepare(e)));ae(this,"revokeAdminPermissions",me(async e=>O0(this.accountPermissions,uo).revokeAdminPermissions.prepare(e)));ae(this,"grantPermissions",me(async(e,n)=>O0(this.accountPermissions,uo).grantPermissions.prepare(e,n)));ae(this,"updatePermissions",me(async(e,n)=>O0(this.accountPermissions,uo).updatePermissions.prepare(e,n)));ae(this,"revokeAccess",me(async e=>O0(this.accountPermissions,uo).revokeAccess.prepare(e)));ae(this,"approveTargetForSigner",me(async(e,n)=>O0(this.accountPermissions,uo).approveTargetForSigner.prepare(e,n)));ae(this,"disapproveTargetForSigner",me(async(e,n)=>O0(this.accountPermissions,uo).disapproveTargetForSigner.prepare(e,n)));ae(this,"resetAllPermissions",me(async e=>O0(this.accountPermissions,uo).resetAllPermissions.prepare(e)));this.contractWrapper=e,this.accountPermissions=this.detectAccountPermissions()}detectAccountPermissions(){if(k0(this.contractWrapper,"AccountPermissions")||k0(this.contractWrapper,"AccountPermissionsV1"))return new Ede(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async isAdmin(e){return O0(this.accountPermissions,uo).isAdmin(e)}async isSigner(e){return O0(this.accountPermissions,uo).isSigner(e)}async getAllAdmins(){return O0(this.accountPermissions,uo).getAllAdmins()}async getAllSigners(){return O0(this.accountPermissions,uo).getAllSigners()}async getAllAdminsAndSigners(){return O0(this.accountPermissions,uo).getAllAdminsAndSigners()}},bK=class{constructor(e){ae(this,"featureName",k9.name);ae(this,"createAccount",me(async(e,n)=>{if(await this.isAccountDeployed(e,n))throw new Error(`Account already deployed for admin: ${e}`);let a=Gr.utils.toUtf8Bytes("");return n&&(a=n),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createAccount",args:[e,a],parse:r=>({address:this.contractWrapper.parseLogs("AccountCreated",r?.logs)[0].args.account,receipt:r})})}));this.contractWrapper=e,this.events=new Rn(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async predictAccountAddress(e,n){let a=Gr.utils.toUtf8Bytes("");return n&&(a=n),this.contractWrapper.read("getAddress",[e,a])}async getAssociatedAccounts(e){return this.contractWrapper.read("getAccountsOfSigner",[e])}async getAllAccounts(){return await this.contractWrapper.read("getAllAccounts",[])}async isAccountDeployed(e,n){let a=await this.predictAccountAddress(e,n);return B6(a,this.contractWrapper.getProvider())}};mK=class{constructor(e,n){this.contractWrapper=e,this.storage=n}async get(){return this._cachedMetadata?this._cachedMetadata:(this._cachedMetadata=await Sf(this.contractWrapper.address,this.contractWrapper.getProvider(),this.storage,this.contractWrapper.options),this._cachedMetadata)}async extractSources(){let e=await this.get();return bm(e,this.storage)}async extractFunctions(){let e;try{e=await this.get()}catch{}return vu(bt.parse(this.contractWrapper.abi),e?.metadata)}async extractEvents(){let e;try{e=await this.get()}catch{}return Drn(bt.parse(this.contractWrapper.abi),e?.metadata)}},yK=class{constructor(e){ae(this,"featureName",I9.name);ae(this,"add",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"addExtension",args:[e.extension],parse:async n=>{if(this.contractWrapper.parseLogs("ExtensionAdded",n.logs).length<1)throw new Error("No ExtensionAdded event found");let r=e.extensionAbi?bt.parse(e.extensionAbi):(await Sf(e.extension.metadata.implementation,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,f=this.filterAbiForAdd(r,e.extension),i=rh([bt.parse(this.contractWrapper.abi),f]);return this.contractWrapper.updateAbi(i),n}})));ae(this,"addDeployed",me(async e=>{let n=e.extensionAbi;n||(n=(await Sf(e.extensionAddress,this.contractWrapper.getProvider(),this.contractWrapper.storage,this.contractWrapper.options)).abi),d0(n,"Require extension ABI");let a="";if(e.extensionMetadata)if(typeof e.extensionMetadata=="string")a=e.extensionMetadata;else{let i=await Li.parseAsync(e.extensionMetadata);a=await this.contractWrapper.storage.upload(i)}let r=lK(bt.parse(n)),f={metadata:{name:e.extensionName,metadataURI:a,implementation:e.extensionAddress},functions:r};return this.add.prepare({extension:f,extensionAbi:n})}));ae(this,"addPublished",me(async e=>{let n=e.version||"latest",{deployedExtensionAddress:a,extensionMetadata:r}=await this.deployExtension(e.extensionName,e.publisherAddress||Eu,n);return this.addDeployed.prepare({extensionName:e.extensionName,extensionAddress:a,extensionMetadata:e.extensionMetadataOverride||r})}));ae(this,"replace",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"replaceExtension",args:[e.extension],parse:async n=>{if(this.contractWrapper.parseLogs("ExtensionReplaced",n.logs).length<1)throw new Error("No ExtensionReplaced event found");let r=e.extensionAbi?bt.parse(e.extensionAbi):(await Sf(e.extension.metadata.implementation,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,f=this.filterAbiForRemove(bt.parse(this.contractWrapper.abi),r),i=this.filterAbiForAdd(r,e.extension),s=rh([f,i]);return this.contractWrapper.updateAbi(s),n}})));ae(this,"replaceDeployed",me(async e=>{let n=e.extensionAbi;n||(n=(await Sf(e.extensionAddress,this.contractWrapper.getProvider(),this.contractWrapper.storage,this.contractWrapper.options)).abi),d0(n,"Require extension ABI");let a="";if(e.extensionMetadata)if(typeof e.extensionMetadata=="string")a=e.extensionMetadata;else{let i=await Li.parseAsync(e.extensionMetadata);a=await this.contractWrapper.storage.upload(i)}let r=lK(bt.parse(n)),f={metadata:{name:e.extensionName,metadataURI:a,implementation:e.extensionAddress},functions:r};return this.replace.prepare({extension:f,extensionAbi:n})}));ae(this,"replacePublished",me(async e=>{let n=e.version||"latest",{deployedExtensionAddress:a,extensionMetadata:r}=await this.deployExtension(e.extensionName,e.publisherAddress||Eu,n);return this.replaceDeployed.prepare({extensionName:e.extensionName,extensionAddress:a,extensionMetadata:e.extensionMetadataOverride||r})}));ae(this,"remove",me(async e=>{let n=await this.getExtensionAddress(e.extensionName);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"removeExtension",args:[e.extensionName],parse:async a=>{if(this.contractWrapper.parseLogs("ExtensionRemoved",a.logs).length<1)throw new Error("No ExtensionRemoved event found");let f=(await Sf(n,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,i=this.filterAbiForRemove(bt.parse(this.contractWrapper.abi),f);return this.contractWrapper.updateAbi(i),a}})}));this.contractWrapper=e}getAddress(){return this.contractWrapper.readContract.address}async getAll(){return await this.contractWrapper.readContract.getAllExtensions()}async get(e){return await this.contractWrapper.readContract.getExtension(e)}async getExtensionAddress(e){return(await this.get(e)).metadata.implementation}async getAllFunctions(e){return(await this.get(e)).functions}async getExtensionForFunction(e){let n=e.functionSelector;return n||(d0(e.functionSignature,"Atleast one of function selector and signature must be provided"),n=Gr.utils.id(e.functionSignature).substring(0,10)),await this.contractWrapper.readContract.getMetadataForFunction(n)}async getExtensionAddressForFunction(e){return(await this.getExtensionForFunction(e)).implementation}filterAbiForAdd(e,n){let a=new Gr.utils.Interface(e),r=n.functions.map(i=>i.functionSelector);return e.filter(i=>{let s=Object.values(new Gr.utils.Interface([i]).functions);if(s.length===0)return!1;let o=a.getSighash(s[0]);return r.includes(o)})}filterAbiForRemove(e,n){let a=new Gr.utils.Interface(e),r=new Gr.utils.Interface(n),f=Object.values(r.functions).map(s=>r.getSighash(s));return e.filter(s=>{let o=Object.values(new Gr.utils.Interface([s]).functions);if(o.length===0)return!1;let c=a.getSighash(o[0]);return!f.includes(c)})}async deployExtension(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",r=await ac(n,e,a,this.contractWrapper.storage,this.contractWrapper.options.clientId,this.contractWrapper.options.secretKey),f=await M9(r.metadataUri,this.contractWrapper.storage,this.contractWrapper.getProvider(),"",this.contractWrapper.options.clientId,this.contractWrapper.options.secretKey),i=f.find(l=>l.type==="implementation")?.transaction.predictedAddress,s=f.filter(l=>l.transaction.data&&l.transaction.data.length>0),o=s.filter(l=>l.type!=="infra").map(l=>l.transaction),c=s.filter(l=>l.type==="infra").map(l=>l.transaction),d=this.contractWrapper.getSigner();d0(d,"Signer is required"),await uK(d,c,{});for(let l of o)try{await pK(d,l)}catch(h){console.debug(`Error deploying contract at ${l.predictedAddress}`,h?.message)}return{deployedExtensionAddress:i,extensionMetadata:r.metadataUri}}},gK=class{constructor(e){ae(this,"featureName",LE.name);ae(this,"drop",me(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"airdropERC20",args:[e,n,a],parse:r=>{let i=this.contractWrapper.parseLogs("AirdropFailed",r.logs).map(s=>({recipient:s.args.recipient,amount:s.args.amount.toString()}));return{successfulDropCount:a.length-i.length,failedDropCount:i.length,failedDrops:i}}})));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}},vK=class{constructor(e){ae(this,"featureName",FE.name);ae(this,"drop",me(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"airdropERC721",args:[e,n,a],parse:r=>{let i=this.contractWrapper.parseLogs("AirdropFailed",r.logs).map(s=>({recipient:s.args.recipient,tokenId:s.args.tokenId.toNumber()}));return{successfulDropCount:a.length-i.length,failedDropCount:i.length,failedDrops:i}}})));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}},wK=class{constructor(e){ae(this,"featureName",NE.name);ae(this,"drop",me(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"airdropERC1155",args:[e,n,a],parse:r=>{let i=this.contractWrapper.parseLogs("AirdropFailed",r.logs).map(s=>({recipient:s.args.recipient,tokenId:s.args.tokenId.toNumber(),amount:s.args.amount.toString()}));return{successfulDropCount:a.length-i.length,failedDropCount:i.length,failedDrops:i}}})));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}}});var _s0={};V0(_s0,{SmartContract:()=>_de});var Lka,Fka,Oka,_de,As0=ce(()=>{"use strict";u();p();Pl();Rf();ln();Es0();or();X1();Ll();Fl();Gc();J8();uM();RM();vM();B6e();Da();ir();Lka=Ee(Va()),Fka=Ee(ro());W0();Oka=Ee(Kc()),_de=class{get abi(){return bt.parse(this.contractWrapper.abi||[])}get royalties(){return O0(this.detectRoyalties(),oE)}get roles(){return O0(this.detectRoles(),lE)}get sales(){return O0(this.detectPrimarySales(),uE)}get platformFees(){return O0(this.detectPlatformFees(),dE)}get owner(){return O0(this.detectOwnable(),cE)}get erc20(){return O0(this.detectErc20(),kE)}get erc721(){return O0(this.detectErc721(),_E)}get erc1155(){return O0(this.detectErc1155(),bE)}get app(){return O0(this.detectApp(),Xx)}get directListings(){return O0(this.detectDirectListings(),fm)}get englishAuctions(){return O0(this.detectEnglishAuctions(),im)}get offers(){return O0(this.detectOffers(),sm)}get airdrop20(){return O0(this.detectAirdrop20(),LE)}get airdrop721(){return O0(this.detectAirdrop721(),FE)}get airdrop1155(){return O0(this.detectAirdrop1155(),NE)}get accountFactory(){return O0(this.detectAccountFactory(),k9)}get account(){return O0(this.detectAccount(),S9)}get extensions(){return O0(this.detectBaseRouter(),I9)}get chainId(){return this._chainId}constructor(e,n,a,r){let f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(e,n,a,f,r);this._chainId=i,this.storage=r,this.contractWrapper=s,this.events=new Rn(this.contractWrapper),this.encoder=new st(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.publishedMetadata=new mK(this.contractWrapper,this.storage),this.metadata=new Wn(this.contractWrapper,Nl,this.storage)}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}prepare(e,n,a){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:n,overrides:a})}async call(e,n,a){return this.contractWrapper.call(e,n,a)}detectRoyalties(){if(k0(this.contractWrapper,"Royalty")){let e=new Wn(this.contractWrapper,Nl,this.storage);return new Is(this.contractWrapper,e)}}detectRoles(){if(k0(this.contractWrapper,"Permissions"))return new Tr(this.contractWrapper,fK)}detectPrimarySales(){if(k0(this.contractWrapper,"PrimarySale"))return new Ss(this.contractWrapper)}detectPlatformFees(){if(k0(this.contractWrapper,"PlatformFee"))return new ti(this.contractWrapper)}detectErc20(){if(k0(this.contractWrapper,"ERC20"))return new dm(this.contractWrapper,this.storage,this.chainId)}detectErc721(){if(k0(this.contractWrapper,"ERC721"))return new xE(this.contractWrapper,this.storage,this.chainId)}detectErc1155(){if(k0(this.contractWrapper,"ERC1155"))return new pE(this.contractWrapper,this.storage,this.chainId)}detectOwnable(){if(k0(this.contractWrapper,"Ownable"))return new ks(this.contractWrapper)}detectApp(){let e=new Wn(this.contractWrapper,Nl,this.storage);if(k0(this.contractWrapper,"AppURI"))return new ja(this.contractWrapper,e,this.storage);if(k0(this.contractWrapper,"ContractMetadata"))return new ja(this.contractWrapper,e,this.storage)}detectDirectListings(){if(k0(this.contractWrapper,"DirectListings"))return new gE(this.contractWrapper,this.storage)}detectEnglishAuctions(){if(k0(this.contractWrapper,"EnglishAuctions"))return new vE(this.contractWrapper,this.storage)}detectOffers(){if(k0(this.contractWrapper,"Offers"))return new wE(this.contractWrapper,this.storage)}detectBaseRouter(){if(k0(this.contractWrapper,I9.name))return new yK(this.contractWrapper)}detectAirdrop20(){if(k0(this.contractWrapper,"AirdropERC20"))return new gK(this.contractWrapper)}detectAirdrop721(){if(k0(this.contractWrapper,"AirdropERC721"))return new vK(this.contractWrapper)}detectAirdrop1155(){if(k0(this.contractWrapper,"AirdropERC1155"))return new wK(this.contractWrapper)}detectAccountFactory(){if(k0(this.contractWrapper,k9.name))return new bK(this.contractWrapper)}detectAccount(){if(k0(this.contractWrapper,S9.name))return new hK(this.contractWrapper)}}});var Is0={};V0(Is0,{TWProxy__factory:()=>YM});var zE,TK,Cs0,Prn,YM,ks0=ce(()=>{"use strict";u();p();zE=Ee(Xe()),TK=[{type:"constructor",inputs:[{name:"_logic",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],stateMutability:"payable"},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"}],Cs0="0x60806040526040516104893803806104898339810160408190526100229161023c565b61004d60017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd61030a565b600080516020610442833981519152146100695761006961032b565b60008051602061044283398151915280546001600160a01b0319166001600160a01b0384161790558051156100a4576100a282826100ab565b505b5050610390565b60606100d08383604051806060016040528060278152602001610462602791396100d9565b90505b92915050565b6060600080856001600160a01b0316856040516100f69190610341565b600060405180830381855af49150503d8060008114610131576040519150601f19603f3d011682016040523d82523d6000602084013e610136565b606091505b50909250905061014886838387610152565b9695505050505050565b606083156101c65782516000036101bf576001600160a01b0385163b6101bf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b50816101d0565b6101d083836101d8565b949350505050565b8151156101e85781518083602001fd5b8060405162461bcd60e51b81526004016101b6919061035d565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561023357818101518382015260200161021b565b50506000910152565b6000806040838503121561024f57600080fd5b82516001600160a01b038116811461026657600080fd5b60208401519092506001600160401b038082111561028357600080fd5b818501915085601f83011261029757600080fd5b8151818111156102a9576102a9610202565b604051601f8201601f19908116603f011681019083821181831017156102d1576102d1610202565b816040528281528860208487010111156102ea57600080fd5b6102fb836020830160208801610218565b80955050505050509250929050565b818103818111156100d357634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052600160045260246000fd5b60008251610353818460208701610218565b9190910192915050565b602081526000825180602084015261037c816040850160208701610218565b601f01601f19169190910160400192915050565b60a48061039e6000396000f3fe608060405236601057600e6013565b005b600e5b604960457f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b604b565b565b3660008037600080366000845af43d6000803e8080156069573d6000f35b3d6000fdfea2646970667358221220907079b2d3c19f0cba25799fa046304af5956938245ce0932da8cf0c0af0f43e64736f6c63430008170033360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",Prn=t=>t.length>1,YM=class extends zE.ContractFactory{constructor(){for(var e=arguments.length,n=new Array(e),a=0;a{Lrn.exports=[{type:"constructor",inputs:[{name:"_trustedForwarder",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"OPERATOR_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"add",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"count",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getAll",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"remove",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Added",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"Deleted",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});function Ds0(t,e,n){Rs0||(Rs0=!0,!(e||n)&&console.warn(t))}async function Ps0(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,s=gi(e,{clientId:r,secretKey:f}),c=(await ac(Eu,t,a,n,r,f)).metadataUri,d=await Ds(c,n),l=await sd(s);d0(l,"Thirdweb stack not found");let{extendedMetadata:h}=await Ds(c,n),y;return h?.routerType==="plugin"||h?.routerType==="dynamic"?y=(await M9(c,n,s,l,r,f)).find(S=>S.type==="implementation")?.encodedArgs:y=await rK(d.compilerMetadata,s,n,l,i,r,f),y}async function Ls0(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,i=gi(e,{clientId:r,secretKey:f}),o=(await ac(Eu,t,a,n,r,f)).metadataUri,c=await sd(i);d0(c,"Thirdweb stack not found");let{extendedMetadata:d}=await Ds(o,n);if(d?.routerType==="plugin"||d?.routerType==="dynamic"){let y=(await M9(o,n,i,c,r,f)).find(v=>v.type==="implementation")?.transaction.predictedAddress;return d0(y,"Error computing address for plugin router"),y}return(await $c("implementation",i,n,c,{contractName:t},r,f)).transaction.predictedAddress}async function Fs0(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,i=gi(e,{clientId:r,secretKey:f}),s=await Ls0(t,e,n,a,r,f),o=await B6(s,i);return d0(o,"Contract not deployed yet"),s}async function Os0(t,e,n,a,r){let f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"latest",i=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,o=arguments.length>8?arguments[8]:void 0,c=await Fs0(t,e,r,f,i,s),d=await Ps0(t,e,r,f,i,s,o);return console.info(`Verifying ${t} at address ${c}`),await Dde(c,e,n,a,r,d?.toString().replace("0x",""))}async function Dde(t,e,n,a,r,f){try{let i=gi(e,{});t=(await GM(t,i)).address;let s=await Sf(t,i,r),o=s.metadata.compiler.version,c=await bm(s,r),d=s.metadata.sources,l={};for(let Q of Object.keys(d)){let V=c.find(X=>Q===X.filename);if(!V)throw new Error(`Could not find source file for ${Q}`);l[Q]={content:V.source}}let h={language:"Solidity",sources:l,settings:{optimizer:s.metadata.settings.optimizer,evmVersion:s.metadata.settings.evmVersion,remappings:s.metadata.settings.remappings,outputSelection:{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}}}},y=s.metadata.settings.compilationTarget,S=Object.keys(y)[0],O=f||await Frn(n,a,t,s.abi,i,r),F={apikey:a,module:"contract",action:"verifysourcecode",contractaddress:t,sourceCode:JSON.stringify(h),codeformat:"solidity-standard-json-input",contractname:`${S}:${s.name}`,compilerversion:`v${o}`,constructorArguements:O},z=new URLSearchParams({...F}),j=await(await fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:z.toString()})).json();if(j.status===Ns0.OK)return j.result;throw new Error(`${j.result}`)}catch(i){throw new Error(i.toString())}}async function Ide(t,e,n){let a=`${t}?module=contract&action=checkverifystatus&guid=${n}&apikey=${e}"`;return new Promise((r,f)=>{let i=setInterval(async()=>{try{let o=await(await fetch(a,{method:"GET"})).json();o?.result!==Ms0.PENDING&&o?.result!==Ms0.IN_PROGRESS&&(clearInterval(i),r(o))}catch(s){clearInterval(i),f(s)}},3e3)})}async function Frn(t,e,n,a,r,f){let i=sh(a);if(i.length===0)return"";let o=await(await fetch(`${t}?module=contract&action=getcontractcreation&contractaddresses=${n}&apikey=${e}`)).json();if(o&&o.status===Ns0.OK&&o.result[0]!==void 0){let c=new Ht.utils.Interface(a),d=o.result[0].txHash,l="";if(c.deploy.inputs.length===0)return"";let h=await r.getTransaction(d),y=h.data;try{let v=await Nrn(n,r,f);if(v){let S=v.startsWith("0x")?v:`0x${v}`,O;try{O=await sd(r)}catch{}let F=h.to===O?64:0;l=y.substring(S.length+F)}}catch{}if(!l){let v=[...y.matchAll(/(64736f6c6343[\w]{6}[\w]{4})(?!.*\1)(.*)$/g)];v.length>0&&(l=v[0][2])}if(!l){let v=i.length*64;l=y.substring(y.length-v)}try{Ht.utils.defaultAbiCoder.decode(c.deploy.inputs,`0x${l}`)}catch{throw new Error("Verifying this contract requires it to be published. Run `npx thirdweb publish` to publish this contract, then try again.")}return l}else return""}async function Nrn(t,e,n){let a=await jM(t,e);if(a){let r=(await Promise.resolve().then(()=>Ee(LW()))).default,i=await new Ht.Contract(UE(),r,gi("polygon",{})).getPublishedUriFromCompilerUri(a);if(i.length===0)throw Error(`Could not resolve published metadata URI from ${a}`);let s=await Promise.all(i.filter(o=>o.length>0).map(o=>HE(o,n)));return s.length>0?await(await n.download(s[0].bytecodeUri)).text():void 0}}function Us0(t){let e=[];return nK(hm(t),e),e.map(n=>n.name)}function kde(t){return Us0(t)}function Orn(t,e){return t||(e?.gatewayUrls?new _b({gatewayUrls:e.gatewayUrls,clientId:e.clientId,secretKey:e.secretKey}):new _b({clientId:e?.clientId,secretKey:e?.secretKey}))}function Rde(t,e){let n=bt.parse(t||[]);for(let a of n)if(a.type==="function"&&a.name===e)return a.inputs||[];return[]}async function Hs0(t,e,n,a,r){return n||(n=await sd(t)),(await $c("infra",t,e,n,{contractName:"TWCloneFactory"},a,r)).transaction.predictedAddress}function WE(t,e){if(t.length!==e.length)throw Error(`Passed the wrong number of constructor arguments: ${e.length}, expected ${t.length}`);return t.map((n,a)=>n==="tuple"||n.endsWith("[]")?typeof e[a]=="string"?JSON.parse(e[a]):e[a]:n==="bytes32"?(d0(Ht.utils.isHexString(e[a]),`Could not parse bytes32 value. Expected valid hex string but got "${e[a]}".`),Ht.utils.hexZeroPad(e[a],32)):n.startsWith("bytes")?(d0(Ht.utils.isHexString(e[a]),`Could not parse bytes value. Expected valid hex string but got "${e[a]}".`),e[a]):n.startsWith("uint")||n.startsWith("int")?Ht.BigNumber.from(e[a].toString()):e[a])}async function Pde(t,e){d0(t.provider,"No provider");let n=await aK(t.provider);if(n.transaction.length>0){(await t.provider.getBalance(n.signer)).lt(n.valueToSend)&&await(await t.sendTransaction({to:n.signer,value:n.valueToSend})).wait();try{console.debug(`deploying CREATE2 factory at: ${n.deployment}`),e?.notifier?.("deploying","create2Factory"),await(await t.provider.sendTransaction(n.transaction)).wait(),e?.notifier?.("deployed","create2Factory")}catch(a){throw new Error(`Couldn't deploy CREATE2 factory: ${JSON.stringify(a)}`)}}return n.deployment}function ns(t,e){return e===Ht.constants.AddressZero?t:e}async function Lde(t,e,n,a){let r=e.defaultAdmin||await a.getAddress(),f=[];switch(e.trusted_forwarders&&e.trusted_forwarders.length>0&&f.push(...e.trusted_forwarders),t){case Iu.contractType:case ym.contractType:let i=await Iu.schema.deploy.parseAsync(e);return[r,i.name,i.symbol,n,f,ns(r,i.primary_sale_recipient),i.fee_recipient,i.seller_fee_basis_points,i.platform_fee_basis_points,ns(r,i.platform_fee_recipient)];case Su.contractType:let s=await Su.schema.deploy.parseAsync(e);return[r,s.name,s.symbol,n,f,ns(r,s.primary_sale_recipient),s.fee_recipient,s.seller_fee_basis_points,s.platform_fee_basis_points,ns(r,s.platform_fee_recipient)];case Cu.contractType:let o=await Cu.schema.deploy.parseAsync(e);return[r,o.name,o.symbol,n,f,o.fee_recipient,o.seller_fee_basis_points];case _u.contractType:case mm.contractType:let c=await _u.schema.deploy.parseAsync(e);return[r,c.name,c.symbol,n,f,ns(r,c.primary_sale_recipient),c.fee_recipient,c.seller_fee_basis_points,c.platform_fee_basis_points,ns(r,c.platform_fee_recipient)];case gm.contractType:case Mu.contractType:let d=await Mu.schema.deploy.parseAsync(e);return[r,d.name,d.symbol,n,f,ns(r,d.primary_sale_recipient),ns(r,d.platform_fee_recipient),d.platform_fee_basis_points];case Bu.contractType:let l=await Bu.schema.deploy.parseAsync(e);return[l.name,n,f,l.voting_token_address,l.voting_delay_in_blocks,l.voting_period_in_blocks,Ht.BigNumber.from(l.proposal_token_threshold),l.voting_quorum_fraction];case Ru.contractType:let h=await Ru.schema.deploy.parseAsync(e);return[r,n,f,h.recipients.map(S=>S.address),h.recipients.map(S=>Ht.BigNumber.from(S.sharesBps))];case Au.contractType:case oh.contractType:let y=await Au.schema.deploy.parseAsync(e);return[r,n,f,ns(r,y.platform_fee_recipient),y.platform_fee_basis_points];case ku.contractType:let v=await ku.schema.deploy.parseAsync(e);return[r,v.name,v.symbol,n,f,v.fee_recipient,v.seller_fee_basis_points];default:return[]}}function zs0(t,e){if(t in Mde){let n=Mde[t];if(e in n)return n[e]}return null}async function Ws0(t,e,n,a,r){let f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:7e6;d0(n.provider,"Provider is required");let i=t.startsWith("0x")?t:`0x${t}`,s=await Pde(n),o=sh(e),c=o.map(O=>O.type),d=WE(c,a),l=o.map(O=>O.type==="tuple[]"?Ht.utils.ParamType.from(O):O.type),h=Ht.utils.defaultAbiCoder.encode(l,d),y=OE(i,h,s,r),v=await B6(y,n.provider),S="";if(v)throw new Error(`Contract already deployed at ${y}`);{console.debug(`deploying contract via create2 factory at: ${y}`),S=HM(i,h,r);let O={to:s,data:S};try{await n.estimateGas(O)}catch(F){console.debug("error estimating gas while deploying prebuilt: ",F),O.gasLimit=Ht.BigNumber.from(f)}await(await n.sendTransaction(O)).wait()}return y}async function qs0(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",a=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,o=arguments.length>8?arguments[8]:void 0,c=arguments.length>9&&arguments[9]!==void 0?arguments[9]:7e6,d=(await ac(e,t,n,f,i,s)).metadataUri,{compilerMetadata:l,extendedMetadata:h}=await Ds(d,f);return d0(h?.deployType==="standard","Must be direct deploy"),await Ws0(l.bytecode,l.abi,r,a,o,c)}async function js0(t,e,n,a,r){let f=t.startsWith("0x")?t:`0x${t}`,i=await sd(n),s=sh(e),o=s.map(y=>y.type),c=WE(o,a),d=s.map(y=>y.type==="tuple[]"?Ht.utils.ParamType.from(y):y.type),l=Ht.utils.defaultAbiCoder.encode(d,c);return OE(f,l,i,r)}async function Gs0(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",a=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,o=arguments.length>8?arguments[8]:void 0,c=(await ac(e,t,n,f,i,s)).metadataUri,{compilerMetadata:d,extendedMetadata:l}=await Ds(c,f);return d0(l?.deployType==="standard","Must be direct deploy"),await js0(d.bytecode,d.abi,r,a,o)}function Cde(t,e){return zM(t)&&(e={...e,supportedChains:[t,...e?.supportedChains||[]]}),e}var Bs0,Ht,Rs0,Ms0,Ns0,xK,$M,EK,Sde,Urn,Mde,_K,Bde,Hrn,zrn,Wrn,Ade,Du,Tm,AK,Ks0=ce(()=>{"use strict";u();p();ln();vx();ys0();Bs0=Ee(moe());gs0();Ht=Ee(Xe());Da();or();W0();ir();rd();Nc();ws0();Tde();Ts0();Rs0=!1;Ms0={FAILED:"Fail - Unable to verify",SUCCESS:"Pass - Verified",PENDING:"Pending in queue",IN_PROGRESS:"In progress",ALREADY_VERIFIED:"Contract source code already verified",AUTOMATICALLY_VERIFIED:"Already Verified"},Ns0={OK:"1",NOTOK:"0"};xK=class extends wu{constructor(e,n,a){super(e,n),this.storage=a}updateSignerOrProvider(e){super.updateSignerOrProvider(e)}async verifyThirdwebContract(e,n,a){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",f=arguments.length>4?arguments[4]:void 0,i=(await this.getProvider().getNetwork()).chainId,s=await Os0(e,i,n,a,this.storage,r,this.options.clientId,this.options.secretKey,f);console.info("Checking verification status...");let o=await Ide(n,a,s);console.info(o)}async verifyContract(e,n,a,r){let f=(await this.getProvider().getNetwork()).chainId,i;if(r){let c=Object.values(r).map(l=>(d0(l.type,"Param type is required"),l.type)),d=Object.values(r).map(l=>l.value);i=Ht.utils.defaultAbiCoder.encode(c,d)}let s=await Dde(e,f,n,a,this.storage,i);console.info("Checking verification status...");let o=await Ide(n,a,s);console.info(o)}},$M="0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",EK=class t{constructor(e,n,a){ae(this,"events",new C6);this.connection=new wu(e,n),this.options=n,this.events=new C6,this.storage=a}connect(e){this.connection.updateSignerOrProvider(e),this.events.emit("signerChanged",this.connection.getSigner())}async transfer(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:bf,[r,f,i]=await Promise.all([Oe(e),Oe(a),ea(this.connection.getProvider(),n,a)]),s=this.requireWallet();if(hf(f)){let o=await s.getAddress(),c=q7()?{}:await Rl(this.connection.getProvider());return{receipt:await(await s.sendTransaction({from:o,to:r,value:i,...c})).wait()}}else{let o=(await Promise.resolve().then(()=>Ee(j1()))).default;return{receipt:await this.createErc20(f,o).sendTransaction("transfer",[r,i])}}}async balance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bf;this.requireWallet();let n=await Oe(e),a=this.connection.getProvider(),r;if(hf(n))r=await a.getBalance(await this.getAddress());else{let f=(await Promise.resolve().then(()=>Ee(j1()))).default;r=await this.createErc20(n,f).read("balanceOf",[await this.getAddress()])}return await Ja(a,n,r)}async getAddress(){return await this.requireWallet().getAddress()}async getChainId(){return await this.requireWallet().getChainId()}async getNonce(e){return await this.connection.getProvider().getTransactionCount(await this.getAddress(),e)}isConnected(){try{return this.requireWallet(),!0}catch{return!1}}async sign(e){return await this.requireWallet().signMessage(e)}async signTypedData(e,n,a){return await qc(this.requireWallet(),e,n,a)}recoverAddress(e,n){let a=Ht.utils.hashMessage(e),r=Ht.utils.arrayify(a);return Ht.utils.recoverAddress(r,n)}async sendRawTransaction(e){let n=this.requireWallet();return e={...q7()?{}:await Rl(this.connection.getProvider()),...e},n.sendTransaction(e)}async executeRawTransaction(e){return{receipt:await(await this.sendRawTransaction(e)).wait()}}async requestFunds(e){let n=await this.getChainId();if(n===E0.Localhost||n===E0.Hardhat)return new t(new Ht.Wallet($M,gi(n,this.options)),this.options,this.storage).transfer(await this.getAddress(),e);throw new Error(`Requesting funds is not supported on chain: '${n}'.`)}requireWallet(){let e=this.connection.getSigner();return d0(e,"This action requires a connected wallet. Please pass a valid signer to the SDK."),e}createErc20(e,n){return new ut(this.connection.getSignerOrProvider(),e,n,this.options,this.storage)}};Sde=class{constructor(e,n){ae(this,"addContract",me(async e=>{let n=await this.registryRouter.getSignerAddress();return Me.fromContractWrapper({contractWrapper:this.registryLogic,method:"add",args:[n,e.address,e.chainId,e.metadataURI||""]})}));ae(this,"addContracts",me(async e=>{let n=await this.registryRouter.getSignerAddress(),a=[],r=new st(this.registryLogic);return e.forEach(f=>{a.push(r.encode("add",[n,f.address,f.chainId,f.metadataURI||""]))}),Me.fromContractWrapper({contractWrapper:this.registryRouter,method:"multicall",args:[a]})}));ae(this,"removeContract",me(async e=>{let n=await this.registryRouter.getSignerAddress();return Me.fromContractWrapper({contractWrapper:this.registryLogic,method:"remove",args:[n,await Oe(e.address),e.chainId]})}));ae(this,"removeContracts",me(async e=>{let n=await this.registryRouter.getSignerAddress(),a=new st(this.registryLogic),r=await Promise.all(e.map(async f=>a.encode("remove",[n,await Oe(f.address),f.chainId])));return Me.fromContractWrapper({contractWrapper:this.registryRouter,method:"multicall",args:[r]})}));let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.storage=n,this.registryLogic=new ut(e,KM(),Bs0.default,a,n),this.registryRouter=new ut(e,KM(),vs0,a,n)}async updateSigner(e){this.registryLogic.updateSignerOrProvider(e),this.registryRouter.updateSignerOrProvider(e)}async getContractMetadataURI(e,n){return await this.registryLogic.read("getMetadataUri",[e,await Oe(n)])}async getContractMetadata(e,n){let a=await this.getContractMetadataURI(e,n);if(!a)throw new Error(`No metadata URI found for contract ${n} on chain ${e}`);return await this.storage.downloadJSON(a)}async getContractAddresses(e){return(await this.registryLogic.read("getAll",[await Oe(e)])).filter(n=>Ht.utils.isAddress(n.deploymentAddress)&&n.deploymentAddress.toLowerCase()!==Ht.constants.AddressZero).map(n=>({address:n.deploymentAddress,chainId:n.chainId.toNumber()}))}};Urn=[E0.Mainnet,E0.Goerli,E0.Polygon,E0.Mumbai,E0.Fantom,E0.FantomTestnet,E0.Avalanche,E0.AvalancheFujiTestnet,E0.Optimism,E0.OptimismGoerli,E0.Arbitrum,E0.ArbitrumGoerli,E0.BinanceSmartChainMainnet,E0.BinanceSmartChainTestnet,E0.Hardhat,E0.Localhost];Mde={[E0.Mainnet]:{"nft-drop":"0x60fF9952e0084A6DEac44203838cDC91ABeC8736","edition-drop":"0x74af262d0671F378F97a1EDC3d0970Dbe8A1C550","token-drop":"0xE1eE43D23f247b6A9aF81fcE2766E76709482728","signature-drop":"0x6fD690EB509BdE4C50028C5D9C0dE3750C2Fad6A"},[E0.Polygon]:{"nft-drop":"0xB96508050Ba0925256184103560EBADA912Fcc69","edition-drop":"0x74af262d0671F378F97a1EDC3d0970Dbe8A1C550","token-drop":"0x5A8eA4Adad8289746D073947BA06D69A62499aaf","signature-drop":"0xBE2fDc35410E268e41Bec62DBb01AEb43245c7d5"},[E0.Fantom]:{"nft-drop":"0x2A396b2D90BAcEF19cDa973586B2633d22710fC2","edition-drop":"0x06395FCF9AC6ED827f9dD6e776809cEF1Be0d21B","token-drop":"0x0148b28a38efaaC31b6aa0a6D9FEb70FE7C91FFa","signature-drop":"0xe135Ef65C2B2213C3fD56d0Bd6500A2cA147aC10"},[E0.Avalanche]:{"nft-drop":"0x9cF91118C8ee2913F0588e0F10e36B3d63F68bF6","edition-drop":"0x135fC9D26E5eC51260ece1DF4ED424E2f55c7766","token-drop":"0xca0B071899E575BA86495D46c5066971b6f3A901","signature-drop":"0x1d47526C3292B0130ef0afD5F02c1DA052A017B3"},[E0.Optimism]:{"nft-drop":"0xFBd7D24d80ee005671E731a7287DEB6073264dD1","edition-drop":"0xe135Ef65C2B2213C3fD56d0Bd6500A2cA147aC10","token-drop":"0x902Dd246e66d8C3CE652375a723F2a52b43b9AAE","signature-drop":"0x8a4cd3549e548bbEEb38C16E041FFf040a5acabD"},[E0.Arbitrum]:{"nft-drop":"0xC4903c1Ff5367b9ac2c349B63DC2409421AaEE2a","edition-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F","token-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9","signature-drop":"0x2dF9851af45dd41C8584ac55D983C604da985Bc7"},[E0.BinanceSmartChainMainnet]:{"nft-drop":"0x902Dd246e66d8C3CE652375a723F2a52b43b9AAE","edition-drop":"0x2A396b2D90BAcEF19cDa973586B2633d22710fC2","token-drop":"0xe135Ef65C2B2213C3fD56d0Bd6500A2cA147aC10","signature-drop":"0xFBd7D24d80ee005671E731a7287DEB6073264dD1"},[E0.Goerli]:{"nft-drop":"0xD11c97DD5F5546B5bBd630D7D1d7327481B0b92C","edition-drop":"0x5A8eA4Adad8289746D073947BA06D69A62499aaf","token-drop":"0x5680933221B752EB443654a014f88B101F868d50","signature-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9"},[E0.Mumbai]:{"nft-drop":"0xC4903c1Ff5367b9ac2c349B63DC2409421AaEE2a","edition-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F","token-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9","signature-drop":"0x2dF9851af45dd41C8584ac55D983C604da985Bc7"},[E0.FantomTestnet]:{"nft-drop":"0x8a4cd3549e548bbEEb38C16E041FFf040a5acabD","edition-drop":"0x902Dd246e66d8C3CE652375a723F2a52b43b9AAE","token-drop":"0xFBd7D24d80ee005671E731a7287DEB6073264dD1","signature-drop":"0x5A8eA4Adad8289746D073947BA06D69A62499aaf"},[E0.AvalancheFujiTestnet]:{"nft-drop":"0xD11c97DD5F5546B5bBd630D7D1d7327481B0b92C","edition-drop":"0xE1eE43D23f247b6A9aF81fcE2766E76709482728","token-drop":"0x6fD690EB509BdE4C50028C5D9C0dE3750C2Fad6A","signature-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F"},[E0.OptimismGoerli]:{"nft-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F","edition-drop":"0x6fD690EB509BdE4C50028C5D9C0dE3750C2Fad6A","token-drop":"0xD11c97DD5F5546B5bBd630D7D1d7327481B0b92C","signature-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9"},[E0.ArbitrumGoerli]:{"nft-drop":"0x9CfE807a5b124b962064Fa8F7FD823Cc701255b6","edition-drop":"0x9cF91118C8ee2913F0588e0F10e36B3d63F68bF6","token-drop":"0x1d47526C3292B0130ef0afD5F02c1DA052A017B3","signature-drop":"0xE1eE43D23f247b6A9aF81fcE2766E76709482728"},[E0.BinanceSmartChainTestnet]:{"nft-drop":"","edition-drop":"","token-drop":"","signature-drop":""},[E0.Hardhat]:{"nft-drop":"","edition-drop":"","token-drop":"","signature-drop":""},[E0.Localhost]:{"nft-drop":"","edition-drop":"","token-drop":"","signature-drop":""}};_K=class extends ut{constructor(n,a,r,f){super(a,n,xs0,f,r);ae(this,"DEFAULT_VERSION_MAP",{[Iu.contractType]:3,[ym.contractType]:1,[Su.contractType]:4,[Cu.contractType]:1,[_u.contractType]:2,[mm.contractType]:1,[gm.contractType]:2,[Mu.contractType]:1,[Bu.contractType]:1,[Ru.contractType]:1,[Au.contractType]:2,[oh.contractType]:3,[ku.contractType]:2});ae(this,"deploy",me(async(n,a,r,f,i,s)=>{let o=vm[n],c=await o.schema.deploy.parseAsync(a),d=await this.storage.upload(c),l=await this.getImplementation(o,f)||void 0;if(!l||l===Ht.constants.AddressZero)throw new Error(`No implementation found for ${n}`);let h=await o.getAbi(l,this.getProvider(),this.storage),y=this.getSigner();d0(y,"A signer is required to deploy contracts");let v=await Lde(n,c,d,y),S=Ht.Contract.getInterface(h).encodeFunctionData("initialize",v),O=await this.getProvider().getBlockNumber(),F=i?.saltForProxyDeploy?Ht.utils.id(i.saltForProxyDeploy):Ht.utils.formatBytes32String(O.toString());return Me.fromContractWrapper({contractWrapper:this,method:"deployProxyByImplementation",args:[l,S,F],parse:z=>{s&&s();let W=this.parseLogs("ProxyDeployed",z.logs);if(W.length<1)throw new Error("No ProxyDeployed event found");let j=W[0].args.proxy;return r.emit("contractDeployed",{status:"completed",contractAddress:j,transactionHash:z.transactionHash}),j}})}));ae(this,"deployProxyByImplementation",me(async(n,a,r,f,i,s,o)=>{let c=Ht.Contract.getInterface(a).encodeFunctionData(r,f),d=await this.getProvider().getBlockNumber(),l=s?Ht.utils.id(s):Ht.utils.formatBytes32String(d.toString());return Me.fromContractWrapper({contractWrapper:this,method:"deployProxyByImplementation",args:[n,c,l],parse:h=>{o&&o();let y=this.parseLogs("ProxyDeployed",h.logs);if(y.length<1)throw new Error("No ProxyDeployed event found");let v=y[0].args.proxy;return i.emit("contractDeployed",{status:"completed",contractAddress:v,transactionHash:h.transactionHash}),v}})}));this.storage=r}async getDeployArguments(n,a,r){let f=[];a.trusted_forwarders&&a.trusted_forwarders.length>0&&(f=a.trusted_forwarders);let i=await this.getSignerAddress();switch(n){case Iu.contractType:case ym.contractType:let s=await Iu.schema.deploy.parseAsync(a);return[i,s.name,s.symbol,r,f,ns(i,s.primary_sale_recipient),s.fee_recipient,s.seller_fee_basis_points,s.platform_fee_basis_points,ns(i,s.platform_fee_recipient)];case Su.contractType:let o=await Su.schema.deploy.parseAsync(a);return[i,o.name,o.symbol,r,f,ns(i,o.primary_sale_recipient),o.fee_recipient,o.seller_fee_basis_points,o.platform_fee_basis_points,ns(i,o.platform_fee_recipient)];case Cu.contractType:let c=await Cu.schema.deploy.parseAsync(a);return[i,c.name,c.symbol,r,f,c.fee_recipient,c.seller_fee_basis_points];case _u.contractType:case mm.contractType:let d=await _u.schema.deploy.parseAsync(a);return[i,d.name,d.symbol,r,f,ns(i,d.primary_sale_recipient),d.fee_recipient,d.seller_fee_basis_points,d.platform_fee_basis_points,ns(i,d.platform_fee_recipient)];case gm.contractType:case Mu.contractType:let l=await Mu.schema.deploy.parseAsync(a);return[i,l.name,l.symbol,r,f,ns(i,l.primary_sale_recipient),ns(i,l.platform_fee_recipient),l.platform_fee_basis_points];case Bu.contractType:let h=await Bu.schema.deploy.parseAsync(a);return[h.name,r,f,h.voting_token_address,h.voting_delay_in_blocks,h.voting_period_in_blocks,Ht.BigNumber.from(h.proposal_token_threshold),h.voting_quorum_fraction];case Ru.contractType:let y=await Ru.schema.deploy.parseAsync(a);return[i,r,f,y.recipients.map(F=>F.address),y.recipients.map(F=>Ht.BigNumber.from(F.sharesBps))];case Au.contractType:let v=await Au.schema.deploy.parseAsync(a);return[i,r,f,ns(i,v.platform_fee_recipient),v.platform_fee_basis_points];case oh.contractType:let S=await oh.schema.deploy.parseAsync(a);return[i,r,f,ns(i,S.platform_fee_recipient),S.platform_fee_basis_points];case ku.contractType:let O=await ku.schema.deploy.parseAsync(a);return[i,O.name,O.symbol,r,f,O.fee_recipient,O.seller_fee_basis_points];default:return[]}}async getImplementation(n,a){let r=Ht.utils.formatBytes32String(n.name),f=await this.getChainID(),i=zs0(f,n.contractType);return i&&i.length>0&&a===void 0?i:this.read("getImplementation",[r,a!==void 0?a:this.DEFAULT_VERSION_MAP[n.contractType]])}async getLatestVersion(n){let a=sK(n);if(!a)throw new Error(`Invalid contract type ${n}`);let r=Ht.utils.formatBytes32String(a);return this.read("currentVersion",[r])}},Bde=class extends ut{constructor(n,a,r,f,i){super(a,n,f,i,r);ae(this,"addContract",me(async n=>await this.addContracts.prepare([n])));ae(this,"addContracts",me(async n=>{let a=await this.getSignerAddress(),r=new st(this),f=(await Promise.all(n.map(i=>Oe(i)))).map(i=>r.encode("add",[a,i]));return Me.fromContractWrapper({contractWrapper:this,method:"multicall",args:[f]})}));ae(this,"removeContract",me(async n=>await this.removeContracts.prepare([n])));ae(this,"removeContracts",me(async n=>{let a=await this.getSignerAddress(),r=new st(this),f=(await Promise.all(n.map(i=>Oe(i)))).map(i=>r.encode("remove",[a,i]));return Me.fromContractWrapper({contractWrapper:this,method:"multicall",args:[f]})}))}async getContractAddresses(n){return(await this.read("getAll",[await Oe(n)])).filter(a=>Ht.utils.isAddress(a)&&a.toLowerCase()!==Ht.constants.AddressZero)}},Hrn=Li.merge(yi).merge(ai),zrn=Hrn.merge(Z1).merge(xu).merge(c1),Wrn=Li.merge(ai),Ade=Wrn.merge(c1);Du=class t extends wu{constructor(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;Ds0("No API key. Please provide a clientId. It is required to access thirdweb's services. You can create a key at https://thirdweb.com/create-api-key",a.clientId,a.secretKey),a=Cde(n,a);super(n,a);ae(this,"contractCache",new Map);J5e(a?.supportedChains);let s=Orn(r,a);this.storage=s,this.storageHandler=s,this.wallet=new EK(n,a,s),this.deployer=new AK(n,a,s),this.verifier=new xK(n,a,s),this.multiChainRegistry=new Sde(n,this.storageHandler,this.options),this._publisher=new oK(n,this.options,this.storageHandler)}static async fromWallet(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=arguments.length>3?arguments[3]:void 0,i=await n.getSigner();return t.fromSigner(i,a,r,f)}static fromSigner(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=arguments.length>3?arguments[3]:void 0,i=n;if(a)try{let o=gi(a,r);i=n.connect(o)}catch{}let s=new t(a||i,a?Cde(a,r):r,f);return s.updateSignerOrProvider(i),s}static fromPrivateKey(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=arguments.length>3?arguments[3]:void 0,i=gi(a,r),s=new Ht.Wallet(n,i);return new t(s,Cde(a,r),f)}get auth(){throw new Error(`The sdk.auth namespace has been moved to the @thirdweb-dev/auth package and is no longer available after @thirdweb-dev/sdk >= 3.7.0. +`,O=`${y.name}(${k})`,F=n.transactionHash||n.transaction?.hash||n.receipt?.transactionHash,z=XR(n),W,j;try{let Q=await Sf(this.address,this.getProvider(),this.storage,this.options);Q.name&&(j=Q.name),Q.metadata.sources&&(W=await mm(Q,this.storage))}catch{}return new o9({reason:z,from:o,to:c,method:O,data:d,network:s,rpcUrl:h,value:l,hash:F,contractName:j,sources:W},n)}async sendGaslessTransaction(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,f=this.getSigner();d0(f,"Cannot execute gasless transaction without valid signer");let i=await this.getChainID(),s=await this.getSignerAddress(),o=this.writeContract.address,c=r?.value||0;if(a0.BigNumber.from(c).gt(0))throw new Error("Cannot send native token value with gasless transaction");let d=this.writeContract.interface.encodeFunctionData(n,a),l=a0.BigNumber.from(0);try{l=(await this.readContract.estimateGas[n](...a)).mul(2)}catch{}l.lt(1e5)&&(l=a0.BigNumber.from(5e5)),r.gasLimit&&a0.BigNumber.from(r.gasLimit).gt(l)&&(l=a0.BigNumber.from(r.gasLimit));let h={from:s,to:o,data:d,chainId:i,gasLimit:l,functionName:n.toString(),functionArgs:a,callOverrides:r};return await this.defaultGaslessSendFunction(h)}async signTypedData(n,a,r,f){this.emit(i1.Signature,{status:"submitted",message:f,signature:""});let{signature:i}=await qc(n,a,r,f);return this.emit(i1.Signature,{status:"completed",message:f,signature:i}),i}parseLogs(n,a){if(!a||a.length===0)return[];let r=this.writeContract.interface.getEventTopic(n);return a.filter(i=>i.topics.indexOf(r)>=0).map(i=>this.writeContract.interface.parseLog(i))}async defaultGaslessSendFunction(n){return this.options.gasless&&"biconomy"in this.options.gasless?this.biconomySendFunction(n):this.options.gasless&&"openzeppelin"in this.options.gasless?this.defenderSendFunction(n):this.engineSendFunction(n)}async engineSendFunction(n){d0(this.options.gasless&&"engine"in this.options.gasless,"calling engine gasless transaction without engine config in the SDK options");let a=await this.enginePrepareRequest(n),f=await(await fetch(this.options.gasless.engine.relayerUrl,{...a,headers:{"Content-Type":"application/json"}})).json();if(f.error)throw new Error(f.error?.message||JSON.stringify(f.error));let i=f.result.queueId,s=this.options.gasless.engine.relayerUrl.split("/relayer/")[0],o=Date.now();for(;;){let d=await(await fetch(`${s}/transaction/status/${i}`)).json();if(d.result.transactionHash)return d.result.transactionHash;if(Date.now()-o>30*1e3)throw new Error("timeout");await new Promise(l=>setTimeout(l,2e3))}}async enginePrepareRequest(n){d0(this.options.gasless&&"engine"in this.options.gasless,"calling engine gasless transaction without openzeppelin config in the SDK options");let a=this.getSigner(),r=this.getProvider(),f=this.storage;d0(a,"signer is not set");try{let{abi:i}=await Sf(n.to,r,f),s=(await r.getNetwork()).chainId,o=new t(a,n.to,i,{},f);if(i.find(c=>c.name==="executeMetaTransaction")){let d={name:await o.call("name",[]),version:"1",salt:"0x"+s.toString(16).padStart(64,"0"),verifyingContract:n.to},l={MetaTransaction:[{name:"nonce",type:"uint256"},{name:"from",type:"address"},{name:"functionSignature",type:"bytes"}]},y={nonce:await o.call("getNonce",[n.from]),from:n.from,functionSignature:n.data},{signature:v}=await qc(a,d,l,y);return{method:"POST",body:JSON.stringify({type:"execute-meta-transaction",request:{from:n.from,to:n.to,data:n.data},signature:v})}}}catch{}if(n.functionName==="approve"&&n.functionArgs.length===2){let i=n.functionArgs[0],s=n.functionArgs[1],{message:o,signature:c}=await tM(a,n.to,n.from,i,s,this.options.gasless.engine.domainSeparatorVersion),d={to:n.to,owner:o.owner,spender:o.spender,value:a0.BigNumber.from(o.value).toString(),nonce:a0.BigNumber.from(o.nonce).toString(),deadline:a0.BigNumber.from(o.deadline).toString()};return{method:"POST",body:JSON.stringify({type:"permit",request:d,signature:c})}}else{let i=this.options.gasless.engine.relayerForwarderAddress||du[n.chainId]?.openzeppelinForwarder||await s9(r,f),s=(await Promise.resolve().then(()=>Ee(YS()))).default,o=new a0.Contract(i,s,r),c=await c9(o,"getNonce",[n.from]),d,l,h;this.options.gasless.experimentalChainlessSupport?(d={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:i},l={ForwardRequest:eM},h={from:n.from,to:n.to,value:a0.BigNumber.from(0).toString(),gas:a0.BigNumber.from(n.gasLimit).toString(),nonce:a0.BigNumber.from(c).toString(),data:n.data,chainid:a0.BigNumber.from(n.chainId).toString()}):(d={name:this.options.gasless.engine.domainName,version:this.options.gasless.engine.domainVersion,chainId:n.chainId,verifyingContract:i},l={ForwardRequest:ZR},h={from:n.from,to:n.to,value:a0.BigNumber.from(0).toString(),gas:a0.BigNumber.from(n.gasLimit).toString(),nonce:a0.BigNumber.from(c).toString(),data:n.data});let{signature:y}=await qc(a,d,l,h);return{method:"POST",body:JSON.stringify({type:"forward",request:h,signature:y,forwarderAddress:i})}}}async biconomySendFunction(n){d0(this.options.gasless&&"biconomy"in this.options.gasless,"calling biconomySendFunction without biconomy");let a=this.getSigner(),r=this.getProvider();d0(a&&r,"signer and provider must be set");let f=new a0.Contract(d9(n.chainId,"biconomyForwarder"),f6e,r),i=0,s=await c9(f,"getNonce",[n.from,i]),o={from:n.from,to:n.to,token:a0.constants.AddressZero,txGas:n.gasLimit.toNumber(),tokenGasPrice:"0",batchId:i,batchNonce:s.toNumber(),deadline:Math.floor(Date.now()/1e3+(this.options?.gasless&&"biconomy"in this.options.gasless&&this.options.gasless.biconomy?.deadlineSeconds||3600)),data:n.data},c=a0.utils.arrayify(a0.utils.solidityKeccak256(["address","address","address","uint256","uint256","uint256","uint256","uint256","bytes32"],[o.from,o.to,o.token,o.txGas,o.tokenGasPrice,o.batchId,o.batchNonce,o.deadline,a0.utils.keccak256(o.data)]));this.emit(i1.Signature,{status:"submitted",message:c,signature:""});let d=await a.signMessage(c);this.emit(i1.Signature,{status:"completed",message:c,signature:d});let l=await fetch("https://api.biconomy.io/api/v2/meta-tx/native",{method:"POST",body:JSON.stringify({from:n.from,apiId:this.options.gasless.biconomy.apiId,params:[o,d],to:n.to,gasLimit:n.gasLimit.toHexString()}),headers:{"x-api-key":this.options.gasless.biconomy.apiKey,"Content-Type":"application/json;charset=utf-8"}});if(l.ok){let h=await l.json();if(!h.txHash)throw new Error(`relay transaction failed: ${h.log}`);return h.txHash}throw new Error(`relay transaction failed with status: ${l.status} (${l.statusText})`)}async defenderSendFunction(n){d0(this.options.gasless&&"openzeppelin"in this.options.gasless,"calling openzeppelin gasless transaction without openzeppelin config in the SDK options");let a=this.getSigner(),r=this.getProvider();d0(a,"provider is not set"),d0(r,"provider is not set");let f=(await Promise.resolve().then(()=>Ee(YS()))).default,i=this.options.gasless.openzeppelin.relayerForwarderAddress||(this.options.gasless.openzeppelin.useEOAForwarder?du[n.chainId]?.openzeppelinForwarderEOA||await $j(this.getProvider(),this.storage,"",this.options.clientId,this.options.secretKey):du[n.chainId]?.openzeppelinForwarder||await s9(this.getProvider(),this.storage,"",this.options.clientId,this.options.secretKey)),s=new a0.Contract(i,f,r),o=await c9(s,"getNonce",[n.from]),c,d,l;this.options.gasless.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:i},d={ForwardRequest:eM},l={from:n.from,to:n.to,value:a0.BigNumber.from(0).toString(),gas:a0.BigNumber.from(n.gasLimit).toString(),nonce:a0.BigNumber.from(o).toString(),data:n.data,chainid:a0.BigNumber.from(n.chainId).toString()}):(c={name:this.options.gasless.openzeppelin.domainName,version:this.options.gasless.openzeppelin.domainVersion,chainId:n.chainId,verifyingContract:i},d={ForwardRequest:ZR},l={from:n.from,to:n.to,value:a0.BigNumber.from(0).toString(),gas:a0.BigNumber.from(n.gasLimit).toString(),nonce:a0.BigNumber.from(o).toString(),data:n.data});let h;if(this.emit(i1.Signature,{status:"submitted",message:l,signature:""}),n.functionName==="approve"&&n.functionArgs.length===2){let O=n.functionArgs[0],F=n.functionArgs[1],{message:z,signature:W}=await tM(a,this.writeContract.address,n.from,O,F,this.options.gasless.openzeppelin.domainSeparatorVersion),{r:j,s:Q,v:V}=a0.utils.splitSignature(W);l={to:this.address,owner:z.owner,spender:z.spender,value:a0.BigNumber.from(z.value).toString(),nonce:a0.BigNumber.from(z.nonce).toString(),deadline:a0.BigNumber.from(z.deadline).toString(),r:j,s:Q,v:V},h=W}else{let{signature:O}=await qc(a,c,d,l);h=O}let y="forward";l?.owner&&(y="permit");let v=JSON.stringify({request:l,signature:h,forwarderAddress:i,type:y});this.emit(i1.Signature,{status:"completed",message:l,signature:h});let k=await fetch(this.options.gasless.openzeppelin.relayerUrl,{method:"POST",body:v});if(k.ok){let O=await k.json();if(!O.result)throw new Error(`Relay transaction failed: ${O.message}`);return JSON.parse(O.result).txHash}throw new Error(`relay transaction failed with status: ${k.status} (${k.statusText})`)}};Qi0={admin:"",transfer:"TRANSFER_ROLE",minter:"MINTER_ROLE",pauser:"PAUSER_ROLE",lister:"LISTER_ROLE",asset:"ASSET_ROLE",unwrap:"UNWRAP_ROLE",factory:"FACTORY_ROLE",signer:"SIGNER_ROLE",metadata:"METADATA_ROLE",revoke:"REVOKE_ROLE",migration:"MIGRATION_ROLE"},fK=Object.keys(Qi0);sde=Li.merge(yi).merge(ih).merge(ai),Vi0=D6.merge(yi).merge(ih).merge(ai),Yi0=sde.merge(Z1).merge(xu).merge(c1),yG={deploy:Yi0,output:Vi0,input:sde},$i0=Li.merge(ih).merge(ai),vrn=D6.merge(ih).merge(ai),wrn=$i0.merge(Z1).merge(xu).merge(c1),m5e={deploy:wrn,output:vrn,input:$i0},ode=Li.merge(yi).merge(ih).merge(ai),Ji0=D6.merge(yi).merge(ih).merge(ai),Xi0=ode.merge(Z1).merge(xu).merge(c1),nh={deploy:Xi0,output:Ji0,input:ode},cde=Li,Zi0=D6,es0=cde.merge(Z1).merge(c1),v9={deploy:es0,output:Zi0,input:cde},ts0=Li.merge(yi).merge(ai),Trn=D6.merge(yi).merge(ai),xrn=ts0.merge(c1),$6e={deploy:xrn,output:Trn,input:ts0},dde=Li.merge(yi).merge(ai),ns0=D6.merge(yi).merge(ai),as0=dde.merge(Z1).merge(c1),BG={deploy:as0,output:ns0,input:dde},rs0=fe.object({address:da,sharesBps:Xb.gt(0,"Shares must be greater than 0")}),Ern=rs0.extend({address:da,sharesBps:Xb}),XG=Li.extend({recipients:fe.array(rs0).default([]).superRefine((t,e)=>{let n={},a=0;for(let r=0;r1e4&&e.addIssue({code:fe.ZodIssueCode.custom,message:"Total shares cannot go over 100%.",path:[r,"sharesBps"]})}a!==1e4&&e.addIssue({code:fe.ZodIssueCode.custom,message:`Total shares need to add up to 100%. Total shares are currently ${a/100}%`,path:[]})})}),fs0=D6.extend({recipients:fe.array(Ern)}),is0=XG.merge(XG).merge(c1),LG={deploy:is0,output:fs0,input:XG},lde=Li.merge(yi).merge(ai),ss0=D6.merge(yi).merge(ai),os0=lde.merge(Z1).merge(xu).merge(c1),vG={deploy:os0,output:ss0,input:lde},ude=Li.merge(ai),cs0=D6.merge(ai),ds0=ude.merge(Z1).merge(xu).merge(c1),OG={deploy:ds0,output:cs0,input:ude},pde=Li.merge(yi).merge(ai),ls0=D6.merge(yi).merge(ai),us0=pde.merge(Z1).merge(xu).merge(c1),SG={deploy:us0,output:ls0,input:pde},hde=fe.object({voting_delay_in_blocks:fe.number().min(0).default(0),voting_period_in_blocks:fe.number().min(1).default(1),voting_token_address:da,voting_quorum_fraction:Ian.default(0),proposal_token_threshold:Xa.default(1)}),ps0=hde.extend({proposal_token_threshold:Zi}),bde=Li.merge(hde),hs0=D6.merge(ps0),bs0=bde.merge(c1),HG={deploy:bs0,output:hs0,input:bde},p5e=["admin"],Rs=["admin","minter","transfer","metadata"],yE=["admin","lister","asset"],d5e=["admin","minter","asset","transfer"],y5e=["admin","transfer"],J6e=["admin","transfer","minter","unwrap","asset"],Mn={vote:"vote",token:"token","edition-drop":"edition-drop",edition:"edition",marketplace:"marketplace","marketplace-v3":"marketplace-v3",multiwrap:"multiwrap","nft-collection":"nft-collection","nft-drop":"nft-drop",pack:"pack","signature-drop":"signature-drop",split:"split","token-drop":"token-drop"},_u={name:"DropERC1155",contractType:Mn["edition-drop"],schema:yG,roles:Rs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(br0(),hr0)),s.getNetwork()]);return new c.EditionDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);if(a)return a;let r=await iK(t,e);return!r||r.version>2?(await Promise.resolve().then(()=>Ee(mr0()))).default:(await Promise.resolve().then(()=>Ee(yr0()))).default}},ym={name:"TokenERC1155",contractType:Mn.edition,schema:vG,roles:Rs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(wr0(),vr0)),s.getNetwork()]);return new c.Edition(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Tr0()))).default}},Au={name:"Marketplace",contractType:Mn.marketplace,schema:v9,roles:yE,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Ar0(),_r0)),s.getNetwork()]);return new c.Marketplace(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Cr0()))).default}},oh={name:"MarketplaceV3",contractType:Mn["marketplace-v3"],schema:v9,roles:yE,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Sr0(),kr0)),s.getNetwork()]);return new c.MarketplaceV3(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n,a)=>{let r=(await e.getNetwork()).chainId;if(r===280||r===324){let c=(await ac(Eu,"MarketplaceV3","latest",n,a?.clientId,a?.secretKey)).metadataUri;return await srn(c,n)}let i=await Yc(t,e,n);if(i)return await Gb(t,i,e,{},n);let s=(await Promise.resolve().then(()=>Ee(Rr0()))).default;return await Gb(t,bt.parse(s||[]),e,{},n)}},Cu={name:"Multiwrap",contractType:Mn.multiwrap,schema:$6e,roles:J6e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Pr0(),Dr0)),s.getNetwork()]);return new c.Multiwrap(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Lr0()))).default}},gm={name:"TokenERC721",contractType:Mn["nft-collection"],schema:SG,roles:Rs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Or0(),Nr0)),s.getNetwork()]);return new c.NFTCollection(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Ur0()))).default}},Iu={name:"DropERC721",contractType:Mn["nft-drop"],schema:nh,roles:Rs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(zr0(),Hr0)),s.getNetwork()]);return new c.NFTDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);if(a)return a;let r=await iK(t,e);return!r||r.version>3?(await Promise.resolve().then(()=>Ee(Wr0()))).default:(await Promise.resolve().then(()=>Ee(qr0()))).default}},ku={name:"Pack",contractType:Mn.pack,schema:BG,roles:d5e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Qr0(),Kr0)),s.getNetwork()]);return new c.Pack(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||bt.parse((await Promise.resolve().then(()=>Ee(Vr0()))).default||[])}},Su={name:"SignatureDrop",contractType:Mn["signature-drop"],schema:nh,roles:Rs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n($r0(),Yr0)),s.getNetwork()]);return new c.SignatureDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);if(a)return a;let r=await iK(t,e);return!r||r.version>4?(await Promise.resolve().then(()=>Ee(Jr0()))).default:(await Promise.resolve().then(()=>Ee(Xr0()))).default}},Ru={name:"Split",contractType:Mn.split,schema:LG,roles:p5e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(ef0(),Zr0)),s.getNetwork()]);return new c.Split(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(tf0()))).default}},vm={name:"DropERC20",contractType:Mn["token-drop"],schema:m5e,roles:y5e,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(rf0(),af0)),s.getNetwork()]);return new c.TokenDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);if(a)return a;let r=await iK(t,e);return!r||r.version>2?(await Promise.resolve().then(()=>Ee(ff0()))).default:(await Promise.resolve().then(()=>Ee(if0()))).default}},Mu={name:"TokenERC20",contractType:Mn.token,schema:OG,roles:Rs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(of0(),sf0)),s.getNetwork()]);return new c.Token(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(cf0()))).default}},Bu={name:"VoteERC20",contractType:Mn.vote,schema:HG,roles:[],initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(uf0(),lf0)),s.getNetwork()]);return new c.Vote(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Yc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(pf0()))).default}};wm={[Mn["edition-drop"]]:_u,[Mn.edition]:ym,[Mn.marketplace]:Au,[Mn["marketplace-v3"]]:oh,[Mn.multiwrap]:Cu,[Mn["nft-collection"]]:gm,[Mn["nft-drop"]]:Iu,[Mn.pack]:ku,[Mn["signature-drop"]]:Su,[Mn.split]:Ru,[Mn["token-drop"]]:vm,[Mn.token]:Mu,[Mn.vote]:Bu},mde={[Mn["edition-drop"]]:"ipfs://QmNm3wRzpKYWo1SRtJfgfxtvudp5p2nXD6EttcsQJHwTmk",[Mn.edition]:"",[Mn.marketplace]:"ipfs://QmbAgC8YwY36n8H2kuvSWsRisxDZ15QZw3xGZyk9aDvcv7/marketplace.html",[Mn["marketplace-v3"]]:"ipfs://QmbAgC8YwY36n8H2kuvSWsRisxDZ15QZw3xGZyk9aDvcv7/marketplace-v3.html",[Mn.multiwrap]:"",[Mn["nft-collection"]]:"",[Mn["nft-drop"]]:"ipfs://QmZptmVipc6SGFbKAyXcxGgohzTwYRXZ9LauRX5ite1xDK",[Mn.pack]:"",[Mn["signature-drop"]]:"ipfs://QmZptmVipc6SGFbKAyXcxGgohzTwYRXZ9LauRX5ite1xDK",[Mn.split]:"",[Mn["token-drop"]]:"ipfs://QmbAgC8YwY36n8H2kuvSWsRisxDZ15QZw3xGZyk9aDvcv7/erc20.html",[Mn.token]:"",[Mn.vote]:""},Jf0={name:"SmartContract",contractType:"custom",schema:{},roles:fK},yde={...wm,[Jf0.contractType]:Jf0}});async function _rn(t,e){let n=await R9(t,e);return sh(n.abi)}async function Arn(t,e){let n=await R9(t,e);return vu(n.abi,n.metadata)}var ms0,cK,oK,ys0=ce(()=>{"use strict";u();p();ms0=Ee(LW()),cK=Ee(Xe());ir();ln();Da();oK=class extends wu{constructor(n,a,r){super(n,a);ae(this,"updatePublisherProfile",me(async n=>{let a=this.getSigner();d0(a,"A signer is required");let r=await a.getAddress(),f=await this.storage.upload(n);return Me.fromContractWrapper({contractWrapper:this.publisher,method:"setPublisherProfileUri",args:[r,f]})}));ae(this,"publish",me(async(n,a)=>{let r=this.cleanupOldPublishFlowData(a),f=this.getSigner();d0(f,"A signer is required");let i=await f.getAddress(),s=await eK(n,this.storage),o=await qM(s.metadataUri,this.storage),c=bm(o.abi),d=QM(o.abi,"PluginRouter",c),l=QM(o.abi,"DynamicContract",c);if(r.routerType=d?"plugin":l?"dynamic":"none",l||d){let W=r.defaultExtensions;if(W&&W.length>0)try{let Q=(await Promise.all(W.map(K=>ac(K.publisherAddress,K.extensionName,K.extensionVersion,this.storage,this.options.clientId,this.options.secretKey)))).map(K=>K.metadataUri),V=(await Promise.all(Q.map(async K=>Ds(K,this.storage)))).map(K=>K.compilerMetadata.abi),X=rh([o.abi,...V]);r.compositeAbi=bt.parse(X)}catch{}}let h=await this.getLatest(i,s.name);if(h&&h.metadataUri){let j=(await this.fetchPublishedContractInfo(h)).publishedMetadata.version;if(!q5e(j,r.version))throw Error(`Version ${r.version} is not greater than ${j}`)}let y=await(await this.storage.download(s.bytecodeUri)).text(),v=y.startsWith("0x")?y:`0x${y}`,k=cK.utils.solidityKeccak256(["bytes"],[v]),O=s.name,F=await K5e.parseAsync({...r,metadataUri:s.metadataUri,bytecodeUri:s.bytecodeUri,name:s.name,analytics:s.analytics,compilers:s.compilers,publisher:i}),z=await this.storage.upload(F);return Me.fromContractWrapper({contractWrapper:this.publisher,method:"publishContract",args:[i,O,z,s.metadataUri,k,cK.constants.AddressZero],parse:W=>{let j=this.publisher.parseLogs("ContractPublished",W.logs);if(j.length<1)throw new Error("No ContractPublished event found");let Q=j[0].args.publishedContract;return{receipt:W,data:async()=>this.toPublishedContract(Q)}}})}));ae(this,"unpublish",me(async(n,a)=>{let r=await Oe(n);return Me.fromContractWrapper({contractWrapper:this.publisher,method:"unpublishContract",args:[r,a]})}));this.storage=r,this.publisher=new ut(n,UE(),ms0.default,a,r)}updateSignerOrProvider(n){super.updateSignerOrProvider(n),this.publisher.updateSignerOrProvider(n)}async extractConstructorParams(n){return _rn(n,this.storage)}async extractFunctions(n){return Arn(n,this.storage)}async fetchCompilerMetadataFromPredeployURI(n){return R9(n,this.storage)}async fetchPrePublishMetadata(n,a){let r=await R9(n,this.storage),f=a?await this.getLatest(a,r.name):void 0,i=f?await this.fetchPublishedContractInfo(f):void 0;return{preDeployMetadata:r,latestPublishedContractMetadata:i}}async fetchCompilerMetadataFromAddress(n){let a=await Oe(n);return Sf(a,this.getProvider(),this.storage,this.options)}async fetchPublishedContractInfo(n){return{name:n.id,publishedTimestamp:n.timestamp,publishedMetadata:await this.fetchFullPublishMetadata(n.metadataUri)}}async fetchFullPublishMetadata(n){return HE(n,this.storage)}async resolvePublishMetadataFromCompilerMetadata(n){let a=await this.publisher.read("getPublishedUriFromCompilerUri",[n]);if(a.length===0)throw Error(`Could not resolve published metadata URI from ${n}`);return await Promise.all(a.filter(r=>r.length>0).map(r=>this.fetchFullPublishMetadata(r)))}async resolveContractUriFromAddress(n){let a=await Oe(n),r=await jM(a,this.getProvider());return d0(r,"Could not resolve contract URI from address"),r}async fetchContractSourcesFromAddress(n){let a=await Oe(n),r=await this.fetchCompilerMetadataFromAddress(a);return await mm(r,this.storage)}async fetchContractAbiFromAddress(n){let a=await Oe(n);return(await Sf(a,this.getProvider(),this.storage)).abi}async getPublisherProfile(n){let a=await Oe(n),r=await this.publisher.read("getPublisherProfileUri",[a]);return!r||r.length===0?{}:Q5e.parse(await this.storage.downloadJSON(r))}async getAll(n){let a=await Oe(n),f=(await this.publisher.read("getAllPublishedContracts",[a])).reduce((i,s)=>(i[s.contractId]=s,i),{});return Object.entries(f).map(i=>{let[,s]=i;return this.toPublishedContract(s)})}async getAllVersions(n,a){let r=await Oe(n),f=await this.publisher.read("getPublishedContractVersions",[r,a]);if(f.length===0)throw Error("Not found");return f.map(i=>this.toPublishedContract(i))}async getVersion(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",f=await Oe(n);if(r==="latest")return this.getLatest(f,a);let i=await this.getAllVersions(f,a),o=(await Promise.all(i.map(c=>this.fetchPublishedContractInfo(c)))).find(c=>c.publishedMetadata.version===r);return d0(o,"Contract version not found"),i.find(c=>c.timestamp===o.publishedTimestamp)}async getLatest(n,a){let r=await Oe(n),f=await this.publisher.read("getPublishedContract",[r,a]);if(f&&f.publishMetadataUri)return this.toPublishedContract(f)}toPublishedContract(n){return OM.parse({id:n.contractId,timestamp:n.publishTimestamp,metadataUri:n.publishMetadataUri})}cleanupOldPublishFlowData(n){return n.compositeAbi&&delete n.compositeAbi,{...n,isDeployableViaFactory:!1,isDeployableViaProxy:!1,factoryDeploymentData:{...n.factoryDeploymentData,implementationAddresses:{},factoryAddresses:{}}}}}});var vs0,gs0=ce(()=>{vs0=[{type:"constructor",inputs:[{name:"_pluginMap",type:"address",internalType:"address"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"}],stateMutability:"nonpayable"},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"_getPluginForFunction",inputs:[{name:"_selector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"addPlugin",inputs:[{name:"_plugin",type:"tuple",internalType:"struct IPluginMap.Plugin",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"},{name:"pluginAddress",type:"address",internalType:"address"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getAllFunctionsOfPlugin",inputs:[{name:"_pluginAddress",type:"address",internalType:"address"}],outputs:[{name:"registered",type:"bytes4[]",internalType:"bytes4[]"}],stateMutability:"view"},{type:"function",name:"getAllPlugins",inputs:[],outputs:[{name:"registered",type:"tuple[]",internalType:"struct IPluginMap.Plugin[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"},{name:"pluginAddress",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPluginForFunction",inputs:[{name:"_selector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"pluginMap",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"removePlugin",inputs:[{name:"_selector",type:"bytes4",internalType:"bytes4"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"updatePlugin",inputs:[{name:"_plugin",type:"tuple",internalType:"struct IPluginMap.Plugin",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"},{name:"pluginAddress",type:"address",internalType:"address"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"PluginAdded",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"pluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PluginRemoved",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"pluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PluginSet",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"functionSignature",type:"string",indexed:!0,internalType:"string"},{name:"pluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PluginUpdated",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"oldPluginAddress",type:"address",indexed:!0,internalType:"address"},{name:"newPluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var vde,ws0=ce(()=>{u();p();vde={}});function dK(t){return"("+t.map(e=>e.type==="tuple"?dK(e.components):e.type==="tuple[]"?dK(e.components)+"[]":e.type).join(",")+")"}function Irn(t,e){let n=new Tm.utils.Interface(e),a=[];for(let r of Object.values(n.functions)){let f=n.getFunction(n.getSighash(r));f.name.includes("_")||a.push({functionSelector:n.getSighash(f),functionSignature:f.name+dK(f.inputs),pluginAddress:t})}return a}function lK(t){let e=new Tm.utils.Interface(t),n=[];for(let a of Object.values(e.functions)){let r=e.getFunction(e.getSighash(a));r.name.startsWith("_")||n.push({functionSelector:e.getSighash(r),functionSignature:r.name+dK(r.inputs)})}return n}async function M9(t,e,n,a,r,f){fh.deploymentPresets={};let[i,{compilerMetadata:s,extendedMetadata:o}]=await Promise.all([a||sd(n),Ds(t,e)]),c={},d=[],l=o?.defaultExtensions;if(o?.routerType==="plugin"&&l){d0(r||f,"Require Client Id / Secret Key");let v=await Promise.all(l.map(W=>ac(W.publisherAddress,W.extensionName,W.extensionVersion,e,r,f))),k=(await Promise.all(v.map(W=>Ds(W.metadataUri,e)))).map(W=>W.compilerMetadata),O=await Promise.all(k.map(W=>$c("plugin",n,e,i,{metadata:W},r,f))),F=[];k.forEach((W,j)=>{let Q=Irn(O[j].transaction.predictedAddress,W.abi);F.push(...Q)});let z=await $c("plugin",n,e,i,{contractName:"PluginMap",constructorParams:{_pluginsToAdd:{value:F}}},r,f);c._pluginMap={value:z.transaction.predictedAddress},d.push(...O,z)}else if(o?.routerType==="dynamic"&&l){d0(r||f,"Require Client Id / Secret Key");let v=await Promise.all(l.map(z=>ac(z.publisherAddress,z.extensionName,z.extensionVersion,e,r,f))),k=(await Promise.all(v.map(async z=>Ds(z.metadataUri,e)))).map(z=>z.compilerMetadata),O=await Promise.all(k.map(z=>$c("extension",n,e,i,{metadata:z},r,f))),F=[];k.forEach((z,W)=>{let j=lK(z.abi);F.push({metadata:{name:z.name,metadataURI:"",implementation:O[W].transaction.predictedAddress},functions:j})}),c._extensions={value:F},d.push(...O)}let[h,y]=await Promise.all([$c("implementation",n,e,i,{metadata:s,constructorParams:c},r,f),$c("infra",n,e,i,{contractName:"TWCloneFactory"},r,f)]);return d.push(y),d.push(...Object.values(fh.deploymentPresets)),d.push(h),d}function krn(t){let e=Tm.utils.arrayify(t).map(n=>n===0?4:16).reduce((n,a)=>n+a)+200*t.length/2+6*Math.ceil(t.length/64)+32e3+21e3;return e=Math.floor(e*64/63),e}function wde(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ade;if(t=t.filter(f=>f.data.length>0),t.length===0)return[];let n=[],a=0,r=[];return t.forEach(f=>{let i=krn(f.data);a+i>e?r.length===0?n.push([f]):(n.push(r),a=i,r=[f]):(a+=i,r.push(f))}),r.length>0&&n.push(r),n}async function uK(t,e,n){let a=wde(e);if(a.length===0)return;n?.notifier?.("deploying","infra");let r=await Promise.all(a.map(f=>new Tm.ContractFactory(fde,rde).connect(t).deploy(f)));await Promise.all(r.map(f=>f.deployed())),n?.notifier?.("deployed","infra")}async function pK(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:7e6;if(d0(t.provider,"Provider required"),!await B6(e.predictedAddress,t.provider)){console.debug(`deploying contract via create2 factory at: ${e.predictedAddress}`);let f={to:e.to,data:e.data};try{await t.estimateGas(f)}catch(i){console.debug("error estimating gas while deploying prebuilt: ",i),f.gasLimit=Tm.BigNumber.from(a)}n?.notifier?.("deploying","preset"),await(await t.sendTransaction(f)).wait(),n?.notifier?.("deployed","preset")}}var Tm,Tde=ce(()=>{"use strict";u();p();ln();Tm=Ee(Xe());ir()});var xs0,Ts0=ce(()=>{xs0=[{type:"constructor",inputs:[{name:"_trustedForwarder",type:"address",internalType:"address"},{name:"_registry",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"FACTORY_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"addImplementation",inputs:[{name:"_implementation",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"approval",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"approveImplementation",inputs:[{name:"_implementation",type:"address",internalType:"address"},{name:"_toApprove",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"currentVersion",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"deployProxy",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"deployProxyByImplementation",inputs:[{name:"_implementation",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"},{name:"_salt",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"deployedProxy",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"deployProxyDeterministic",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"},{name:"_data",type:"bytes",internalType:"bytes"},{name:"_salt",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"deployer",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getImplementation",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"},{name:"_version",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getLatestImplementation",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"implementation",inputs:[{name:"",type:"bytes32",internalType:"bytes32"},{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"registry",inputs:[],outputs:[{name:"",type:"address",internalType:"contract TWRegistry"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ImplementationAdded",inputs:[{name:"implementation",type:"address",indexed:!1,internalType:"address"},{name:"contractType",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"version",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ImplementationApproved",inputs:[{name:"implementation",type:"address",indexed:!1,internalType:"address"},{name:"isApproved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ProxyDeployed",inputs:[{name:"implementation",type:"address",indexed:!0,internalType:"address"},{name:"proxy",type:"address",indexed:!1,internalType:"address"},{name:"deployer",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});function Drn(t,e){let a=bt.parse(t||[]).filter(f=>f.type==="event"),r=[];for(let f of a){let i=tK(f.name,e,"events");r.push({inputs:f.inputs||[],outputs:f.outputs||[],name:f.name||"unknown",comment:i})}return r}var Gr,Ul,VM,xde,Rrn,Mrn,Brn,Ede,hK,bK,mK,yK,gK,vK,wK,Es0=ce(()=>{"use strict";u();p();ln();Da();Gr=Ee(Xe());ir();h9();Yd();Pl();Rf();Tde();Ul=function(t){return t[t.None=0]="None",t[t.AddAdmin=1]="AddAdmin",t[t.RemoveAdmin=2]="RemoveAdmin",t}({}),VM={startDate:Gr.BigNumber.from(0),expirationDate:Gr.BigNumber.from(0),approvedCallTargets:[],nativeTokenLimitPerTransaction:"0"},xde=fe.object({startDate:rM,expirationDate:Jb,nativeTokenLimitPerTransaction:ff.default(0),approvedCallTargets:fe.union([fe.array(da),fe.literal("*")])}),Rrn=fe.array(fe.object({signer:da,makeAdmin:fe.boolean(),permissions:xde})),Mrn=[{name:"signer",type:"address"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],Brn=[{name:"signer",type:"address"},{name:"isAdmin",type:"uint8"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],Ede=class{constructor(e){ae(this,"featureName",uo.name);ae(this,"grantAdminPermissions",me(async e=>{let n=await Oe(e);return await this.sendSignerPermissionRequest(n,VM,Ul.AddAdmin)}));ae(this,"revokeAdminPermissions",me(async e=>{let n=await Oe(e);return await this.sendSignerPermissionRequest(n,VM,Ul.RemoveAdmin)}));ae(this,"grantPermissions",me(async(e,n)=>{let a=await Oe(e),r=await xde.parseAsync(n);return await this.sendSignerPermissionRequest(a,r,Ul.None)}));ae(this,"updatePermissions",me(async(e,n)=>{let a=await Oe(e),r=await xde.parseAsync(n);if(await this.isAdmin(a))throw new Error("Signer is already an admin. Cannot update permissions of an existing admin.");if(!await this.isSigner(a))throw new Error("Signer does not already have permissions. You can grant permissions using `grantPermissions`.");return await this.sendSignerPermissionRequest(a,r,Ul.None)}));ae(this,"revokeAccess",me(async e=>{let n=await Oe(e);return await this.sendSignerPermissionRequest(n,{startDate:Gr.BigNumber.from(0),expirationDate:Gr.BigNumber.from(0),approvedCallTargets:[],nativeTokenLimitPerTransaction:"0"},Ul.None)}));ae(this,"approveTargetForSigner",me(async(e,n)=>{let a=await Oe(e),r=await Oe(n);if(await this.isAdmin(a))throw new Error("Signer is already an admin. Cannot approve targets for an admin.");if(!await this.isSigner(a))throw new Error("Signer does not already have permissions. You can grant permissions using `grantPermissions`.");let f=await this.contractWrapper.read("getPermissionsForSigner",[a]);if(f.approvedTargets.includes(n))throw new Error("Target is already approved");let i=[...f.approvedTargets,r];return await this.sendSignerPermissionRequest(a,{startDate:Gr.BigNumber.from(f.startTimestamp),expirationDate:Gr.BigNumber.from(f.endTimestamp),approvedCallTargets:i,nativeTokenLimitPerTransaction:f.nativeTokenLimitPerTransaction.toString()},Ul.None)}));ae(this,"disapproveTargetForSigner",me(async(e,n)=>{let a=await Oe(e),r=await Oe(n);if(await this.isAdmin(a))throw new Error("Signer is already an admin. Cannot approve targets for an admin.");if(!await this.isSigner(a))throw new Error("Signer does not already have permissions. You can grant permissions using `grantPermissions`.");let f=await this.contractWrapper.read("getPermissionsForSigner",[a]);if(!f.approvedTargets.includes(r))throw new Error("Target is currently not approved");let i=f.approvedTargets.filter(s=>Gr.utils.getAddress(s)!==Gr.utils.getAddress(r));return await this.sendSignerPermissionRequest(a,{startDate:Gr.BigNumber.from(f.startTimestamp),expirationDate:Gr.BigNumber.from(f.endTimestamp),approvedCallTargets:i,nativeTokenLimitPerTransaction:f.nativeTokenLimitPerTransaction.toString()},Ul.None)}));ae(this,"resetAllPermissions",me(async e=>{let n=await Rrn.parseAsync(e);if(this.hasDuplicateSigners(n))throw new Error("Duplicate signers found in input.");let a=[],r=[],f=[],i=await this.getAllAdmins(),s=n.filter(l=>l.makeAdmin).map(l=>l.signer);i.forEach(async l=>{if(!s.includes(l)){let h=(await this.sendSignerPermissionRequest(l,VM,Ul.RemoveAdmin)).encode();a.push(h)}});let o=await this.getAllSigners(),c=n.filter(l=>!l.makeAdmin).map(l=>l.signer);await Promise.all(o.map(async l=>{if(!c.includes(l.signer)){let h=(await this.sendSignerPermissionRequest(l.signer,VM,Ul.None)).encode();f.push(h)}}));for(let l of n)if(l.makeAdmin)(await this.sendSignerPermissionRequest(l.signer,VM,Ul.AddAdmin)).encode();else{let h=(await this.sendSignerPermissionRequest(l.signer,l.permissions,Ul.None)).encode();r.push(h)}let d=[];return a.forEach(l=>{d.push(l)}),f.forEach(l=>{d.push(l)}),r.forEach(l=>{d.push(l)}),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[d]})}));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}hasDuplicateSigners(e){let n={},a=e.map(r=>r.signer);for(let r of a)if(!n[r])n[r]=!0;else return!0;return!1}parseSignerPermissionsStruct(e){return{startDate:new Date(parseInt(e.startTimestamp.toString())*1e3),expirationDate:new Date(parseInt(e.endTimestamp.toString())*1e3),nativeTokenLimitPerTransaction:Gr.BigNumber.from(e.nativeTokenLimitPerTransaction),approvedCallTargets:e.approvedTargets}}async sendSignerPermissionRequest(e,n,a){let{payload:r,signature:f}=await this.generatePayload(e,n,a);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setPermissionsForSigner",args:[r,f]})}async generatePayload(e,n,a){let r={signer:e,isAdmin:a.valueOf(),approvedTargets:n.approvedCallTargets==="*"?[xr]:n.approvedCallTargets,nativeTokenLimitPerTransaction:Gr.utils.parseEther(n.nativeTokenLimitPerTransaction),permissionStartTimestamp:n.startDate,permissionEndTimestamp:n.expirationDate,reqValidityStartTimestamp:0,reqValidityEndTimestamp:Gr.BigNumber.from(Math.floor(new Date(Date.now()+31536e7).getTime()/1e3)),uid:aG(void 0)},f=await this.contractWrapper.getChainID(),i=this.contractWrapper.getSigner();d0(i,"No signer available");let s=await this.contractWrapper.signTypedData(i,{name:"Account",version:"1",chainId:f,verifyingContract:this.getAddress()},{SignerPermissionRequest:Brn},r);return{payload:r,signature:s}}async generateLegacyPayload(e,n){if(n.approvedCallTargets==="*")throw new Error("Wildcard call targets are not supported on legacy account permissions contract, please deploy an updated contract factory.");let a={signer:e,approvedTargets:n.approvedCallTargets,nativeTokenLimitPerTransaction:Gr.utils.parseEther(n.nativeTokenLimitPerTransaction),permissionStartTimestamp:n.startDate,permissionEndTimestamp:n.expirationDate,reqValidityStartTimestamp:0,reqValidityEndTimestamp:Gr.BigNumber.from(Math.floor(new Date(Date.now()+1e3*60*60*24*365*10).getTime()/1e3)),uid:aG(void 0)},r=await this.contractWrapper.getChainID(),f=this.contractWrapper.getSigner();d0(f,"No signer available");let i=await this.contractWrapper.signTypedData(f,{name:"Account",version:"1",chainId:r,verifyingContract:this.getAddress()},{SignerPermissionRequest:Mrn},a);return{payload:a,signature:i}}async isAdmin(e){let n=await Oe(e);return await this.contractWrapper.read("isAdmin",[n])}async isSigner(e){let n=await Oe(e);return await this.contractWrapper.read("isActiveSigner",[n])}async getAllAdmins(){return await this.contractWrapper.read("getAllAdmins",[])}async getAllSigners(){let e=await this.contractWrapper.read("getAllActiveSigners",[]);return await Promise.all(e.map(async n=>{let a=n.signer,r=this.parseSignerPermissionsStruct(n);return{signer:a,permissions:r}}))}async getAllAdminsAndSigners(){let n=(await this.getAllAdmins()).map(r=>({isAdmin:!0,signer:r,permissions:{startDate:new Date(0),expirationDate:new Date(0),nativeTokenLimitPerTransaction:Gr.BigNumber.from(0),approvedCallTargets:[]}})),a=await this.getAllSigners();return[...n,...a]}},hK=class{constructor(e){ae(this,"featureName",S9.name);ae(this,"grantAdminPermissions",me(async e=>O0(this.accountPermissions,uo).grantAdminPermissions.prepare(e)));ae(this,"revokeAdminPermissions",me(async e=>O0(this.accountPermissions,uo).revokeAdminPermissions.prepare(e)));ae(this,"grantPermissions",me(async(e,n)=>O0(this.accountPermissions,uo).grantPermissions.prepare(e,n)));ae(this,"updatePermissions",me(async(e,n)=>O0(this.accountPermissions,uo).updatePermissions.prepare(e,n)));ae(this,"revokeAccess",me(async e=>O0(this.accountPermissions,uo).revokeAccess.prepare(e)));ae(this,"approveTargetForSigner",me(async(e,n)=>O0(this.accountPermissions,uo).approveTargetForSigner.prepare(e,n)));ae(this,"disapproveTargetForSigner",me(async(e,n)=>O0(this.accountPermissions,uo).disapproveTargetForSigner.prepare(e,n)));ae(this,"resetAllPermissions",me(async e=>O0(this.accountPermissions,uo).resetAllPermissions.prepare(e)));this.contractWrapper=e,this.accountPermissions=this.detectAccountPermissions()}detectAccountPermissions(){if(k0(this.contractWrapper,"AccountPermissions")||k0(this.contractWrapper,"AccountPermissionsV1"))return new Ede(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async isAdmin(e){return O0(this.accountPermissions,uo).isAdmin(e)}async isSigner(e){return O0(this.accountPermissions,uo).isSigner(e)}async getAllAdmins(){return O0(this.accountPermissions,uo).getAllAdmins()}async getAllSigners(){return O0(this.accountPermissions,uo).getAllSigners()}async getAllAdminsAndSigners(){return O0(this.accountPermissions,uo).getAllAdminsAndSigners()}},bK=class{constructor(e){ae(this,"featureName",k9.name);ae(this,"createAccount",me(async(e,n)=>{if(await this.isAccountDeployed(e,n))throw new Error(`Account already deployed for admin: ${e}`);let a=Gr.utils.toUtf8Bytes("");return n&&(a=n),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createAccount",args:[e,a],parse:r=>({address:this.contractWrapper.parseLogs("AccountCreated",r?.logs)[0].args.account,receipt:r})})}));this.contractWrapper=e,this.events=new Rn(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async predictAccountAddress(e,n){let a=Gr.utils.toUtf8Bytes("");return n&&(a=n),this.contractWrapper.read("getAddress",[e,a])}async getAssociatedAccounts(e){return this.contractWrapper.read("getAccountsOfSigner",[e])}async getAllAccounts(){return await this.contractWrapper.read("getAllAccounts",[])}async isAccountDeployed(e,n){let a=await this.predictAccountAddress(e,n);return B6(a,this.contractWrapper.getProvider())}};mK=class{constructor(e,n){this.contractWrapper=e,this.storage=n}async get(){return this._cachedMetadata?this._cachedMetadata:(this._cachedMetadata=await Sf(this.contractWrapper.address,this.contractWrapper.getProvider(),this.storage,this.contractWrapper.options),this._cachedMetadata)}async extractSources(){let e=await this.get();return mm(e,this.storage)}async extractFunctions(){let e;try{e=await this.get()}catch{}return vu(bt.parse(this.contractWrapper.abi),e?.metadata)}async extractEvents(){let e;try{e=await this.get()}catch{}return Drn(bt.parse(this.contractWrapper.abi),e?.metadata)}},yK=class{constructor(e){ae(this,"featureName",I9.name);ae(this,"add",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"addExtension",args:[e.extension],parse:async n=>{if(this.contractWrapper.parseLogs("ExtensionAdded",n.logs).length<1)throw new Error("No ExtensionAdded event found");let r=e.extensionAbi?bt.parse(e.extensionAbi):(await Sf(e.extension.metadata.implementation,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,f=this.filterAbiForAdd(r,e.extension),i=rh([bt.parse(this.contractWrapper.abi),f]);return this.contractWrapper.updateAbi(i),n}})));ae(this,"addDeployed",me(async e=>{let n=e.extensionAbi;n||(n=(await Sf(e.extensionAddress,this.contractWrapper.getProvider(),this.contractWrapper.storage,this.contractWrapper.options)).abi),d0(n,"Require extension ABI");let a="";if(e.extensionMetadata)if(typeof e.extensionMetadata=="string")a=e.extensionMetadata;else{let i=await Li.parseAsync(e.extensionMetadata);a=await this.contractWrapper.storage.upload(i)}let r=lK(bt.parse(n)),f={metadata:{name:e.extensionName,metadataURI:a,implementation:e.extensionAddress},functions:r};return this.add.prepare({extension:f,extensionAbi:n})}));ae(this,"addPublished",me(async e=>{let n=e.version||"latest",{deployedExtensionAddress:a,extensionMetadata:r}=await this.deployExtension(e.extensionName,e.publisherAddress||Eu,n);return this.addDeployed.prepare({extensionName:e.extensionName,extensionAddress:a,extensionMetadata:e.extensionMetadataOverride||r})}));ae(this,"replace",me(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"replaceExtension",args:[e.extension],parse:async n=>{if(this.contractWrapper.parseLogs("ExtensionReplaced",n.logs).length<1)throw new Error("No ExtensionReplaced event found");let r=e.extensionAbi?bt.parse(e.extensionAbi):(await Sf(e.extension.metadata.implementation,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,f=this.filterAbiForRemove(bt.parse(this.contractWrapper.abi),r),i=this.filterAbiForAdd(r,e.extension),s=rh([f,i]);return this.contractWrapper.updateAbi(s),n}})));ae(this,"replaceDeployed",me(async e=>{let n=e.extensionAbi;n||(n=(await Sf(e.extensionAddress,this.contractWrapper.getProvider(),this.contractWrapper.storage,this.contractWrapper.options)).abi),d0(n,"Require extension ABI");let a="";if(e.extensionMetadata)if(typeof e.extensionMetadata=="string")a=e.extensionMetadata;else{let i=await Li.parseAsync(e.extensionMetadata);a=await this.contractWrapper.storage.upload(i)}let r=lK(bt.parse(n)),f={metadata:{name:e.extensionName,metadataURI:a,implementation:e.extensionAddress},functions:r};return this.replace.prepare({extension:f,extensionAbi:n})}));ae(this,"replacePublished",me(async e=>{let n=e.version||"latest",{deployedExtensionAddress:a,extensionMetadata:r}=await this.deployExtension(e.extensionName,e.publisherAddress||Eu,n);return this.replaceDeployed.prepare({extensionName:e.extensionName,extensionAddress:a,extensionMetadata:e.extensionMetadataOverride||r})}));ae(this,"remove",me(async e=>{let n=await this.getExtensionAddress(e.extensionName);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"removeExtension",args:[e.extensionName],parse:async a=>{if(this.contractWrapper.parseLogs("ExtensionRemoved",a.logs).length<1)throw new Error("No ExtensionRemoved event found");let f=(await Sf(n,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,i=this.filterAbiForRemove(bt.parse(this.contractWrapper.abi),f);return this.contractWrapper.updateAbi(i),a}})}));this.contractWrapper=e}getAddress(){return this.contractWrapper.readContract.address}async getAll(){return await this.contractWrapper.readContract.getAllExtensions()}async get(e){return await this.contractWrapper.readContract.getExtension(e)}async getExtensionAddress(e){return(await this.get(e)).metadata.implementation}async getAllFunctions(e){return(await this.get(e)).functions}async getExtensionForFunction(e){let n=e.functionSelector;return n||(d0(e.functionSignature,"Atleast one of function selector and signature must be provided"),n=Gr.utils.id(e.functionSignature).substring(0,10)),await this.contractWrapper.readContract.getMetadataForFunction(n)}async getExtensionAddressForFunction(e){return(await this.getExtensionForFunction(e)).implementation}filterAbiForAdd(e,n){let a=new Gr.utils.Interface(e),r=n.functions.map(i=>i.functionSelector);return e.filter(i=>{let s=Object.values(new Gr.utils.Interface([i]).functions);if(s.length===0)return!1;let o=a.getSighash(s[0]);return r.includes(o)})}filterAbiForRemove(e,n){let a=new Gr.utils.Interface(e),r=new Gr.utils.Interface(n),f=Object.values(r.functions).map(s=>r.getSighash(s));return e.filter(s=>{let o=Object.values(new Gr.utils.Interface([s]).functions);if(o.length===0)return!1;let c=a.getSighash(o[0]);return!f.includes(c)})}async deployExtension(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",r=await ac(n,e,a,this.contractWrapper.storage,this.contractWrapper.options.clientId,this.contractWrapper.options.secretKey),f=await M9(r.metadataUri,this.contractWrapper.storage,this.contractWrapper.getProvider(),"",this.contractWrapper.options.clientId,this.contractWrapper.options.secretKey),i=f.find(l=>l.type==="implementation")?.transaction.predictedAddress,s=f.filter(l=>l.transaction.data&&l.transaction.data.length>0),o=s.filter(l=>l.type!=="infra").map(l=>l.transaction),c=s.filter(l=>l.type==="infra").map(l=>l.transaction),d=this.contractWrapper.getSigner();d0(d,"Signer is required"),await uK(d,c,{});for(let l of o)try{await pK(d,l)}catch(h){console.debug(`Error deploying contract at ${l.predictedAddress}`,h?.message)}return{deployedExtensionAddress:i,extensionMetadata:r.metadataUri}}},gK=class{constructor(e){ae(this,"featureName",LE.name);ae(this,"drop",me(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"airdropERC20",args:[e,n,a],parse:r=>{let i=this.contractWrapper.parseLogs("AirdropFailed",r.logs).map(s=>({recipient:s.args.recipient,amount:s.args.amount.toString()}));return{successfulDropCount:a.length-i.length,failedDropCount:i.length,failedDrops:i}}})));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}},vK=class{constructor(e){ae(this,"featureName",FE.name);ae(this,"drop",me(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"airdropERC721",args:[e,n,a],parse:r=>{let i=this.contractWrapper.parseLogs("AirdropFailed",r.logs).map(s=>({recipient:s.args.recipient,tokenId:s.args.tokenId.toNumber()}));return{successfulDropCount:a.length-i.length,failedDropCount:i.length,failedDrops:i}}})));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}},wK=class{constructor(e){ae(this,"featureName",NE.name);ae(this,"drop",me(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"airdropERC1155",args:[e,n,a],parse:r=>{let i=this.contractWrapper.parseLogs("AirdropFailed",r.logs).map(s=>({recipient:s.args.recipient,tokenId:s.args.tokenId.toNumber(),amount:s.args.amount.toString()}));return{successfulDropCount:a.length-i.length,failedDropCount:i.length,failedDrops:i}}})));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}}});var _s0={};V0(_s0,{SmartContract:()=>_de});var Lka,Fka,Oka,_de,As0=ce(()=>{"use strict";u();p();Pl();Rf();ln();Es0();or();X1();Ll();Fl();Gc();J8();uM();RM();vM();B6e();Da();ir();Lka=Ee(Va()),Fka=Ee(ro());W0();Oka=Ee(Kc()),_de=class{get abi(){return bt.parse(this.contractWrapper.abi||[])}get royalties(){return O0(this.detectRoyalties(),oE)}get roles(){return O0(this.detectRoles(),lE)}get sales(){return O0(this.detectPrimarySales(),uE)}get platformFees(){return O0(this.detectPlatformFees(),dE)}get owner(){return O0(this.detectOwnable(),cE)}get erc20(){return O0(this.detectErc20(),kE)}get erc721(){return O0(this.detectErc721(),_E)}get erc1155(){return O0(this.detectErc1155(),bE)}get app(){return O0(this.detectApp(),Xx)}get directListings(){return O0(this.detectDirectListings(),im)}get englishAuctions(){return O0(this.detectEnglishAuctions(),sm)}get offers(){return O0(this.detectOffers(),om)}get airdrop20(){return O0(this.detectAirdrop20(),LE)}get airdrop721(){return O0(this.detectAirdrop721(),FE)}get airdrop1155(){return O0(this.detectAirdrop1155(),NE)}get accountFactory(){return O0(this.detectAccountFactory(),k9)}get account(){return O0(this.detectAccount(),S9)}get extensions(){return O0(this.detectBaseRouter(),I9)}get chainId(){return this._chainId}constructor(e,n,a,r){let f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new ut(e,n,a,f,r);this._chainId=i,this.storage=r,this.contractWrapper=s,this.events=new Rn(this.contractWrapper),this.encoder=new st(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.publishedMetadata=new mK(this.contractWrapper,this.storage),this.metadata=new Wn(this.contractWrapper,Nl,this.storage)}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}prepare(e,n,a){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:n,overrides:a})}async call(e,n,a){return this.contractWrapper.call(e,n,a)}detectRoyalties(){if(k0(this.contractWrapper,"Royalty")){let e=new Wn(this.contractWrapper,Nl,this.storage);return new Is(this.contractWrapper,e)}}detectRoles(){if(k0(this.contractWrapper,"Permissions"))return new Tr(this.contractWrapper,fK)}detectPrimarySales(){if(k0(this.contractWrapper,"PrimarySale"))return new Ss(this.contractWrapper)}detectPlatformFees(){if(k0(this.contractWrapper,"PlatformFee"))return new ti(this.contractWrapper)}detectErc20(){if(k0(this.contractWrapper,"ERC20"))return new lm(this.contractWrapper,this.storage,this.chainId)}detectErc721(){if(k0(this.contractWrapper,"ERC721"))return new xE(this.contractWrapper,this.storage,this.chainId)}detectErc1155(){if(k0(this.contractWrapper,"ERC1155"))return new pE(this.contractWrapper,this.storage,this.chainId)}detectOwnable(){if(k0(this.contractWrapper,"Ownable"))return new ks(this.contractWrapper)}detectApp(){let e=new Wn(this.contractWrapper,Nl,this.storage);if(k0(this.contractWrapper,"AppURI"))return new ja(this.contractWrapper,e,this.storage);if(k0(this.contractWrapper,"ContractMetadata"))return new ja(this.contractWrapper,e,this.storage)}detectDirectListings(){if(k0(this.contractWrapper,"DirectListings"))return new gE(this.contractWrapper,this.storage)}detectEnglishAuctions(){if(k0(this.contractWrapper,"EnglishAuctions"))return new vE(this.contractWrapper,this.storage)}detectOffers(){if(k0(this.contractWrapper,"Offers"))return new wE(this.contractWrapper,this.storage)}detectBaseRouter(){if(k0(this.contractWrapper,I9.name))return new yK(this.contractWrapper)}detectAirdrop20(){if(k0(this.contractWrapper,"AirdropERC20"))return new gK(this.contractWrapper)}detectAirdrop721(){if(k0(this.contractWrapper,"AirdropERC721"))return new vK(this.contractWrapper)}detectAirdrop1155(){if(k0(this.contractWrapper,"AirdropERC1155"))return new wK(this.contractWrapper)}detectAccountFactory(){if(k0(this.contractWrapper,k9.name))return new bK(this.contractWrapper)}detectAccount(){if(k0(this.contractWrapper,S9.name))return new hK(this.contractWrapper)}}});var Is0={};V0(Is0,{TWProxy__factory:()=>YM});var zE,TK,Cs0,Prn,YM,ks0=ce(()=>{"use strict";u();p();zE=Ee(Xe()),TK=[{type:"constructor",inputs:[{name:"_logic",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],stateMutability:"payable"},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"}],Cs0="0x60806040526040516104893803806104898339810160408190526100229161023c565b61004d60017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd61030a565b600080516020610442833981519152146100695761006961032b565b60008051602061044283398151915280546001600160a01b0319166001600160a01b0384161790558051156100a4576100a282826100ab565b505b5050610390565b60606100d08383604051806060016040528060278152602001610462602791396100d9565b90505b92915050565b6060600080856001600160a01b0316856040516100f69190610341565b600060405180830381855af49150503d8060008114610131576040519150601f19603f3d011682016040523d82523d6000602084013e610136565b606091505b50909250905061014886838387610152565b9695505050505050565b606083156101c65782516000036101bf576001600160a01b0385163b6101bf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b50816101d0565b6101d083836101d8565b949350505050565b8151156101e85781518083602001fd5b8060405162461bcd60e51b81526004016101b6919061035d565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561023357818101518382015260200161021b565b50506000910152565b6000806040838503121561024f57600080fd5b82516001600160a01b038116811461026657600080fd5b60208401519092506001600160401b038082111561028357600080fd5b818501915085601f83011261029757600080fd5b8151818111156102a9576102a9610202565b604051601f8201601f19908116603f011681019083821181831017156102d1576102d1610202565b816040528281528860208487010111156102ea57600080fd5b6102fb836020830160208801610218565b80955050505050509250929050565b818103818111156100d357634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052600160045260246000fd5b60008251610353818460208701610218565b9190910192915050565b602081526000825180602084015261037c816040850160208701610218565b601f01601f19169190910160400192915050565b60a48061039e6000396000f3fe608060405236601057600e6013565b005b600e5b604960457f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b604b565b565b3660008037600080366000845af43d6000803e8080156069573d6000f35b3d6000fdfea2646970667358221220907079b2d3c19f0cba25799fa046304af5956938245ce0932da8cf0c0af0f43e64736f6c63430008170033360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",Prn=t=>t.length>1,YM=class extends zE.ContractFactory{constructor(){for(var e=arguments.length,n=new Array(e),a=0;a{Lrn.exports=[{type:"constructor",inputs:[{name:"_trustedForwarder",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"OPERATOR_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"add",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"count",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getAll",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"remove",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Added",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"Deleted",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});function Ds0(t,e,n){Rs0||(Rs0=!0,!(e||n)&&console.warn(t))}async function Ps0(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,s=gi(e,{clientId:r,secretKey:f}),c=(await ac(Eu,t,a,n,r,f)).metadataUri,d=await Ds(c,n),l=await sd(s);d0(l,"Thirdweb stack not found");let{extendedMetadata:h}=await Ds(c,n),y;return h?.routerType==="plugin"||h?.routerType==="dynamic"?y=(await M9(c,n,s,l,r,f)).find(k=>k.type==="implementation")?.encodedArgs:y=await rK(d.compilerMetadata,s,n,l,i,r,f),y}async function Ls0(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,i=gi(e,{clientId:r,secretKey:f}),o=(await ac(Eu,t,a,n,r,f)).metadataUri,c=await sd(i);d0(c,"Thirdweb stack not found");let{extendedMetadata:d}=await Ds(o,n);if(d?.routerType==="plugin"||d?.routerType==="dynamic"){let y=(await M9(o,n,i,c,r,f)).find(v=>v.type==="implementation")?.transaction.predictedAddress;return d0(y,"Error computing address for plugin router"),y}return(await $c("implementation",i,n,c,{contractName:t},r,f)).transaction.predictedAddress}async function Fs0(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,i=gi(e,{clientId:r,secretKey:f}),s=await Ls0(t,e,n,a,r,f),o=await B6(s,i);return d0(o,"Contract not deployed yet"),s}async function Os0(t,e,n,a,r){let f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"latest",i=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,o=arguments.length>8?arguments[8]:void 0,c=await Fs0(t,e,r,f,i,s),d=await Ps0(t,e,r,f,i,s,o);return console.info(`Verifying ${t} at address ${c}`),await Dde(c,e,n,a,r,d?.toString().replace("0x",""))}async function Dde(t,e,n,a,r,f){try{let i=gi(e,{});t=(await GM(t,i)).address;let s=await Sf(t,i,r),o=s.metadata.compiler.version,c=await mm(s,r),d=s.metadata.sources,l={};for(let Q of Object.keys(d)){let V=c.find(X=>Q===X.filename);if(!V)throw new Error(`Could not find source file for ${Q}`);l[Q]={content:V.source}}let h={language:"Solidity",sources:l,settings:{optimizer:s.metadata.settings.optimizer,evmVersion:s.metadata.settings.evmVersion,remappings:s.metadata.settings.remappings,outputSelection:{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}}}},y=s.metadata.settings.compilationTarget,k=Object.keys(y)[0],O=f||await Frn(n,a,t,s.abi,i,r),F={apikey:a,module:"contract",action:"verifysourcecode",contractaddress:t,sourceCode:JSON.stringify(h),codeformat:"solidity-standard-json-input",contractname:`${k}:${s.name}`,compilerversion:`v${o}`,constructorArguements:O},z=new URLSearchParams({...F}),j=await(await fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:z.toString()})).json();if(j.status===Ns0.OK)return j.result;throw new Error(`${j.result}`)}catch(i){throw new Error(i.toString())}}async function Ide(t,e,n){let a=`${t}?module=contract&action=checkverifystatus&guid=${n}&apikey=${e}"`;return new Promise((r,f)=>{let i=setInterval(async()=>{try{let o=await(await fetch(a,{method:"GET"})).json();o?.result!==Ms0.PENDING&&o?.result!==Ms0.IN_PROGRESS&&(clearInterval(i),r(o))}catch(s){clearInterval(i),f(s)}},3e3)})}async function Frn(t,e,n,a,r,f){let i=sh(a);if(i.length===0)return"";let o=await(await fetch(`${t}?module=contract&action=getcontractcreation&contractaddresses=${n}&apikey=${e}`)).json();if(o&&o.status===Ns0.OK&&o.result[0]!==void 0){let c=new Ht.utils.Interface(a),d=o.result[0].txHash,l="";if(c.deploy.inputs.length===0)return"";let h=await r.getTransaction(d),y=h.data;try{let v=await Nrn(n,r,f);if(v){let k=v.startsWith("0x")?v:`0x${v}`,O;try{O=await sd(r)}catch{}let F=h.to===O?64:0;l=y.substring(k.length+F)}}catch{}if(!l){let v=[...y.matchAll(/(64736f6c6343[\w]{6}[\w]{4})(?!.*\1)(.*)$/g)];v.length>0&&(l=v[0][2])}if(!l){let v=i.length*64;l=y.substring(y.length-v)}try{Ht.utils.defaultAbiCoder.decode(c.deploy.inputs,`0x${l}`)}catch{throw new Error("Verifying this contract requires it to be published. Run `npx thirdweb publish` to publish this contract, then try again.")}return l}else return""}async function Nrn(t,e,n){let a=await jM(t,e);if(a){let r=(await Promise.resolve().then(()=>Ee(LW()))).default,i=await new Ht.Contract(UE(),r,gi("polygon",{})).getPublishedUriFromCompilerUri(a);if(i.length===0)throw Error(`Could not resolve published metadata URI from ${a}`);let s=await Promise.all(i.filter(o=>o.length>0).map(o=>HE(o,n)));return s.length>0?await(await n.download(s[0].bytecodeUri)).text():void 0}}function Us0(t){let e=[];return nK(bm(t),e),e.map(n=>n.name)}function kde(t){return Us0(t)}function Orn(t,e){return t||(e?.gatewayUrls?new _b({gatewayUrls:e.gatewayUrls,clientId:e.clientId,secretKey:e.secretKey}):new _b({clientId:e?.clientId,secretKey:e?.secretKey}))}function Rde(t,e){let n=bt.parse(t||[]);for(let a of n)if(a.type==="function"&&a.name===e)return a.inputs||[];return[]}async function Hs0(t,e,n,a,r){return n||(n=await sd(t)),(await $c("infra",t,e,n,{contractName:"TWCloneFactory"},a,r)).transaction.predictedAddress}function WE(t,e){if(t.length!==e.length)throw Error(`Passed the wrong number of constructor arguments: ${e.length}, expected ${t.length}`);return t.map((n,a)=>n==="tuple"||n.endsWith("[]")?typeof e[a]=="string"?JSON.parse(e[a]):e[a]:n==="bytes32"?(d0(Ht.utils.isHexString(e[a]),`Could not parse bytes32 value. Expected valid hex string but got "${e[a]}".`),Ht.utils.hexZeroPad(e[a],32)):n.startsWith("bytes")?(d0(Ht.utils.isHexString(e[a]),`Could not parse bytes value. Expected valid hex string but got "${e[a]}".`),e[a]):n.startsWith("uint")||n.startsWith("int")?Ht.BigNumber.from(e[a].toString()):e[a])}async function Pde(t,e){d0(t.provider,"No provider");let n=await aK(t.provider);if(n.transaction.length>0){(await t.provider.getBalance(n.signer)).lt(n.valueToSend)&&await(await t.sendTransaction({to:n.signer,value:n.valueToSend})).wait();try{console.debug(`deploying CREATE2 factory at: ${n.deployment}`),e?.notifier?.("deploying","create2Factory"),await(await t.provider.sendTransaction(n.transaction)).wait(),e?.notifier?.("deployed","create2Factory")}catch(a){throw new Error(`Couldn't deploy CREATE2 factory: ${JSON.stringify(a)}`)}}return n.deployment}function ns(t,e){return e===Ht.constants.AddressZero?t:e}async function Lde(t,e,n,a){let r=e.defaultAdmin||await a.getAddress(),f=[];switch(e.trusted_forwarders&&e.trusted_forwarders.length>0&&f.push(...e.trusted_forwarders),t){case Iu.contractType:case gm.contractType:let i=await Iu.schema.deploy.parseAsync(e);return[r,i.name,i.symbol,n,f,ns(r,i.primary_sale_recipient),i.fee_recipient,i.seller_fee_basis_points,i.platform_fee_basis_points,ns(r,i.platform_fee_recipient)];case Su.contractType:let s=await Su.schema.deploy.parseAsync(e);return[r,s.name,s.symbol,n,f,ns(r,s.primary_sale_recipient),s.fee_recipient,s.seller_fee_basis_points,s.platform_fee_basis_points,ns(r,s.platform_fee_recipient)];case Cu.contractType:let o=await Cu.schema.deploy.parseAsync(e);return[r,o.name,o.symbol,n,f,o.fee_recipient,o.seller_fee_basis_points];case _u.contractType:case ym.contractType:let c=await _u.schema.deploy.parseAsync(e);return[r,c.name,c.symbol,n,f,ns(r,c.primary_sale_recipient),c.fee_recipient,c.seller_fee_basis_points,c.platform_fee_basis_points,ns(r,c.platform_fee_recipient)];case vm.contractType:case Mu.contractType:let d=await Mu.schema.deploy.parseAsync(e);return[r,d.name,d.symbol,n,f,ns(r,d.primary_sale_recipient),ns(r,d.platform_fee_recipient),d.platform_fee_basis_points];case Bu.contractType:let l=await Bu.schema.deploy.parseAsync(e);return[l.name,n,f,l.voting_token_address,l.voting_delay_in_blocks,l.voting_period_in_blocks,Ht.BigNumber.from(l.proposal_token_threshold),l.voting_quorum_fraction];case Ru.contractType:let h=await Ru.schema.deploy.parseAsync(e);return[r,n,f,h.recipients.map(k=>k.address),h.recipients.map(k=>Ht.BigNumber.from(k.sharesBps))];case Au.contractType:case oh.contractType:let y=await Au.schema.deploy.parseAsync(e);return[r,n,f,ns(r,y.platform_fee_recipient),y.platform_fee_basis_points];case ku.contractType:let v=await ku.schema.deploy.parseAsync(e);return[r,v.name,v.symbol,n,f,v.fee_recipient,v.seller_fee_basis_points];default:return[]}}function zs0(t,e){if(t in Mde){let n=Mde[t];if(e in n)return n[e]}return null}async function Ws0(t,e,n,a,r){let f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:7e6;d0(n.provider,"Provider is required");let i=t.startsWith("0x")?t:`0x${t}`,s=await Pde(n),o=sh(e),c=o.map(O=>O.type),d=WE(c,a),l=o.map(O=>O.type==="tuple[]"?Ht.utils.ParamType.from(O):O.type),h=Ht.utils.defaultAbiCoder.encode(l,d),y=OE(i,h,s,r),v=await B6(y,n.provider),k="";if(v)throw new Error(`Contract already deployed at ${y}`);{console.debug(`deploying contract via create2 factory at: ${y}`),k=HM(i,h,r);let O={to:s,data:k};try{await n.estimateGas(O)}catch(F){console.debug("error estimating gas while deploying prebuilt: ",F),O.gasLimit=Ht.BigNumber.from(f)}await(await n.sendTransaction(O)).wait()}return y}async function qs0(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",a=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,o=arguments.length>8?arguments[8]:void 0,c=arguments.length>9&&arguments[9]!==void 0?arguments[9]:7e6,d=(await ac(e,t,n,f,i,s)).metadataUri,{compilerMetadata:l,extendedMetadata:h}=await Ds(d,f);return d0(h?.deployType==="standard","Must be direct deploy"),await Ws0(l.bytecode,l.abi,r,a,o,c)}async function js0(t,e,n,a,r){let f=t.startsWith("0x")?t:`0x${t}`,i=await sd(n),s=sh(e),o=s.map(y=>y.type),c=WE(o,a),d=s.map(y=>y.type==="tuple[]"?Ht.utils.ParamType.from(y):y.type),l=Ht.utils.defaultAbiCoder.encode(d,c);return OE(f,l,i,r)}async function Gs0(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",a=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,o=arguments.length>8?arguments[8]:void 0,c=(await ac(e,t,n,f,i,s)).metadataUri,{compilerMetadata:d,extendedMetadata:l}=await Ds(c,f);return d0(l?.deployType==="standard","Must be direct deploy"),await js0(d.bytecode,d.abi,r,a,o)}function Cde(t,e){return zM(t)&&(e={...e,supportedChains:[t,...e?.supportedChains||[]]}),e}var Bs0,Ht,Rs0,Ms0,Ns0,xK,$M,EK,Sde,Urn,Mde,_K,Bde,Hrn,zrn,Wrn,Ade,Du,xm,AK,Ks0=ce(()=>{"use strict";u();p();ln();vx();ys0();Bs0=Ee(moe());gs0();Ht=Ee(Xe());Da();or();W0();ir();rd();Nc();ws0();Tde();Ts0();Rs0=!1;Ms0={FAILED:"Fail - Unable to verify",SUCCESS:"Pass - Verified",PENDING:"Pending in queue",IN_PROGRESS:"In progress",ALREADY_VERIFIED:"Contract source code already verified",AUTOMATICALLY_VERIFIED:"Already Verified"},Ns0={OK:"1",NOTOK:"0"};xK=class extends wu{constructor(e,n,a){super(e,n),this.storage=a}updateSignerOrProvider(e){super.updateSignerOrProvider(e)}async verifyThirdwebContract(e,n,a){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",f=arguments.length>4?arguments[4]:void 0,i=(await this.getProvider().getNetwork()).chainId,s=await Os0(e,i,n,a,this.storage,r,this.options.clientId,this.options.secretKey,f);console.info("Checking verification status...");let o=await Ide(n,a,s);console.info(o)}async verifyContract(e,n,a,r){let f=(await this.getProvider().getNetwork()).chainId,i;if(r){let c=Object.values(r).map(l=>(d0(l.type,"Param type is required"),l.type)),d=Object.values(r).map(l=>l.value);i=Ht.utils.defaultAbiCoder.encode(c,d)}let s=await Dde(e,f,n,a,this.storage,i);console.info("Checking verification status...");let o=await Ide(n,a,s);console.info(o)}},$M="0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",EK=class t{constructor(e,n,a){ae(this,"events",new C6);this.connection=new wu(e,n),this.options=n,this.events=new C6,this.storage=a}connect(e){this.connection.updateSignerOrProvider(e),this.events.emit("signerChanged",this.connection.getSigner())}async transfer(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:bf,[r,f,i]=await Promise.all([Oe(e),Oe(a),ea(this.connection.getProvider(),n,a)]),s=this.requireWallet();if(hf(f)){let o=await s.getAddress(),c=j7()?{}:await Rl(this.connection.getProvider());return{receipt:await(await s.sendTransaction({from:o,to:r,value:i,...c})).wait()}}else{let o=(await Promise.resolve().then(()=>Ee(j1()))).default;return{receipt:await this.createErc20(f,o).sendTransaction("transfer",[r,i])}}}async balance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bf;this.requireWallet();let n=await Oe(e),a=this.connection.getProvider(),r;if(hf(n))r=await a.getBalance(await this.getAddress());else{let f=(await Promise.resolve().then(()=>Ee(j1()))).default;r=await this.createErc20(n,f).read("balanceOf",[await this.getAddress()])}return await Ja(a,n,r)}async getAddress(){return await this.requireWallet().getAddress()}async getChainId(){return await this.requireWallet().getChainId()}async getNonce(e){return await this.connection.getProvider().getTransactionCount(await this.getAddress(),e)}isConnected(){try{return this.requireWallet(),!0}catch{return!1}}async sign(e){return await this.requireWallet().signMessage(e)}async signTypedData(e,n,a){return await qc(this.requireWallet(),e,n,a)}recoverAddress(e,n){let a=Ht.utils.hashMessage(e),r=Ht.utils.arrayify(a);return Ht.utils.recoverAddress(r,n)}async sendRawTransaction(e){let n=this.requireWallet();return e={...j7()?{}:await Rl(this.connection.getProvider()),...e},n.sendTransaction(e)}async executeRawTransaction(e){return{receipt:await(await this.sendRawTransaction(e)).wait()}}async requestFunds(e){let n=await this.getChainId();if(n===E0.Localhost||n===E0.Hardhat)return new t(new Ht.Wallet($M,gi(n,this.options)),this.options,this.storage).transfer(await this.getAddress(),e);throw new Error(`Requesting funds is not supported on chain: '${n}'.`)}requireWallet(){let e=this.connection.getSigner();return d0(e,"This action requires a connected wallet. Please pass a valid signer to the SDK."),e}createErc20(e,n){return new ut(this.connection.getSignerOrProvider(),e,n,this.options,this.storage)}};Sde=class{constructor(e,n){ae(this,"addContract",me(async e=>{let n=await this.registryRouter.getSignerAddress();return Me.fromContractWrapper({contractWrapper:this.registryLogic,method:"add",args:[n,e.address,e.chainId,e.metadataURI||""]})}));ae(this,"addContracts",me(async e=>{let n=await this.registryRouter.getSignerAddress(),a=[],r=new st(this.registryLogic);return e.forEach(f=>{a.push(r.encode("add",[n,f.address,f.chainId,f.metadataURI||""]))}),Me.fromContractWrapper({contractWrapper:this.registryRouter,method:"multicall",args:[a]})}));ae(this,"removeContract",me(async e=>{let n=await this.registryRouter.getSignerAddress();return Me.fromContractWrapper({contractWrapper:this.registryLogic,method:"remove",args:[n,await Oe(e.address),e.chainId]})}));ae(this,"removeContracts",me(async e=>{let n=await this.registryRouter.getSignerAddress(),a=new st(this.registryLogic),r=await Promise.all(e.map(async f=>a.encode("remove",[n,await Oe(f.address),f.chainId])));return Me.fromContractWrapper({contractWrapper:this.registryRouter,method:"multicall",args:[r]})}));let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.storage=n,this.registryLogic=new ut(e,KM(),Bs0.default,a,n),this.registryRouter=new ut(e,KM(),vs0,a,n)}async updateSigner(e){this.registryLogic.updateSignerOrProvider(e),this.registryRouter.updateSignerOrProvider(e)}async getContractMetadataURI(e,n){return await this.registryLogic.read("getMetadataUri",[e,await Oe(n)])}async getContractMetadata(e,n){let a=await this.getContractMetadataURI(e,n);if(!a)throw new Error(`No metadata URI found for contract ${n} on chain ${e}`);return await this.storage.downloadJSON(a)}async getContractAddresses(e){return(await this.registryLogic.read("getAll",[await Oe(e)])).filter(n=>Ht.utils.isAddress(n.deploymentAddress)&&n.deploymentAddress.toLowerCase()!==Ht.constants.AddressZero).map(n=>({address:n.deploymentAddress,chainId:n.chainId.toNumber()}))}};Urn=[E0.Mainnet,E0.Goerli,E0.Polygon,E0.Mumbai,E0.Fantom,E0.FantomTestnet,E0.Avalanche,E0.AvalancheFujiTestnet,E0.Optimism,E0.OptimismGoerli,E0.Arbitrum,E0.ArbitrumGoerli,E0.BinanceSmartChainMainnet,E0.BinanceSmartChainTestnet,E0.Hardhat,E0.Localhost];Mde={[E0.Mainnet]:{"nft-drop":"0x60fF9952e0084A6DEac44203838cDC91ABeC8736","edition-drop":"0x74af262d0671F378F97a1EDC3d0970Dbe8A1C550","token-drop":"0xE1eE43D23f247b6A9aF81fcE2766E76709482728","signature-drop":"0x6fD690EB509BdE4C50028C5D9C0dE3750C2Fad6A"},[E0.Polygon]:{"nft-drop":"0xB96508050Ba0925256184103560EBADA912Fcc69","edition-drop":"0x74af262d0671F378F97a1EDC3d0970Dbe8A1C550","token-drop":"0x5A8eA4Adad8289746D073947BA06D69A62499aaf","signature-drop":"0xBE2fDc35410E268e41Bec62DBb01AEb43245c7d5"},[E0.Fantom]:{"nft-drop":"0x2A396b2D90BAcEF19cDa973586B2633d22710fC2","edition-drop":"0x06395FCF9AC6ED827f9dD6e776809cEF1Be0d21B","token-drop":"0x0148b28a38efaaC31b6aa0a6D9FEb70FE7C91FFa","signature-drop":"0xe135Ef65C2B2213C3fD56d0Bd6500A2cA147aC10"},[E0.Avalanche]:{"nft-drop":"0x9cF91118C8ee2913F0588e0F10e36B3d63F68bF6","edition-drop":"0x135fC9D26E5eC51260ece1DF4ED424E2f55c7766","token-drop":"0xca0B071899E575BA86495D46c5066971b6f3A901","signature-drop":"0x1d47526C3292B0130ef0afD5F02c1DA052A017B3"},[E0.Optimism]:{"nft-drop":"0xFBd7D24d80ee005671E731a7287DEB6073264dD1","edition-drop":"0xe135Ef65C2B2213C3fD56d0Bd6500A2cA147aC10","token-drop":"0x902Dd246e66d8C3CE652375a723F2a52b43b9AAE","signature-drop":"0x8a4cd3549e548bbEEb38C16E041FFf040a5acabD"},[E0.Arbitrum]:{"nft-drop":"0xC4903c1Ff5367b9ac2c349B63DC2409421AaEE2a","edition-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F","token-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9","signature-drop":"0x2dF9851af45dd41C8584ac55D983C604da985Bc7"},[E0.BinanceSmartChainMainnet]:{"nft-drop":"0x902Dd246e66d8C3CE652375a723F2a52b43b9AAE","edition-drop":"0x2A396b2D90BAcEF19cDa973586B2633d22710fC2","token-drop":"0xe135Ef65C2B2213C3fD56d0Bd6500A2cA147aC10","signature-drop":"0xFBd7D24d80ee005671E731a7287DEB6073264dD1"},[E0.Goerli]:{"nft-drop":"0xD11c97DD5F5546B5bBd630D7D1d7327481B0b92C","edition-drop":"0x5A8eA4Adad8289746D073947BA06D69A62499aaf","token-drop":"0x5680933221B752EB443654a014f88B101F868d50","signature-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9"},[E0.Mumbai]:{"nft-drop":"0xC4903c1Ff5367b9ac2c349B63DC2409421AaEE2a","edition-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F","token-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9","signature-drop":"0x2dF9851af45dd41C8584ac55D983C604da985Bc7"},[E0.FantomTestnet]:{"nft-drop":"0x8a4cd3549e548bbEEb38C16E041FFf040a5acabD","edition-drop":"0x902Dd246e66d8C3CE652375a723F2a52b43b9AAE","token-drop":"0xFBd7D24d80ee005671E731a7287DEB6073264dD1","signature-drop":"0x5A8eA4Adad8289746D073947BA06D69A62499aaf"},[E0.AvalancheFujiTestnet]:{"nft-drop":"0xD11c97DD5F5546B5bBd630D7D1d7327481B0b92C","edition-drop":"0xE1eE43D23f247b6A9aF81fcE2766E76709482728","token-drop":"0x6fD690EB509BdE4C50028C5D9C0dE3750C2Fad6A","signature-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F"},[E0.OptimismGoerli]:{"nft-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F","edition-drop":"0x6fD690EB509BdE4C50028C5D9C0dE3750C2Fad6A","token-drop":"0xD11c97DD5F5546B5bBd630D7D1d7327481B0b92C","signature-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9"},[E0.ArbitrumGoerli]:{"nft-drop":"0x9CfE807a5b124b962064Fa8F7FD823Cc701255b6","edition-drop":"0x9cF91118C8ee2913F0588e0F10e36B3d63F68bF6","token-drop":"0x1d47526C3292B0130ef0afD5F02c1DA052A017B3","signature-drop":"0xE1eE43D23f247b6A9aF81fcE2766E76709482728"},[E0.BinanceSmartChainTestnet]:{"nft-drop":"","edition-drop":"","token-drop":"","signature-drop":""},[E0.Hardhat]:{"nft-drop":"","edition-drop":"","token-drop":"","signature-drop":""},[E0.Localhost]:{"nft-drop":"","edition-drop":"","token-drop":"","signature-drop":""}};_K=class extends ut{constructor(n,a,r,f){super(a,n,xs0,f,r);ae(this,"DEFAULT_VERSION_MAP",{[Iu.contractType]:3,[gm.contractType]:1,[Su.contractType]:4,[Cu.contractType]:1,[_u.contractType]:2,[ym.contractType]:1,[vm.contractType]:2,[Mu.contractType]:1,[Bu.contractType]:1,[Ru.contractType]:1,[Au.contractType]:2,[oh.contractType]:3,[ku.contractType]:2});ae(this,"deploy",me(async(n,a,r,f,i,s)=>{let o=wm[n],c=await o.schema.deploy.parseAsync(a),d=await this.storage.upload(c),l=await this.getImplementation(o,f)||void 0;if(!l||l===Ht.constants.AddressZero)throw new Error(`No implementation found for ${n}`);let h=await o.getAbi(l,this.getProvider(),this.storage),y=this.getSigner();d0(y,"A signer is required to deploy contracts");let v=await Lde(n,c,d,y),k=Ht.Contract.getInterface(h).encodeFunctionData("initialize",v),O=await this.getProvider().getBlockNumber(),F=i?.saltForProxyDeploy?Ht.utils.id(i.saltForProxyDeploy):Ht.utils.formatBytes32String(O.toString());return Me.fromContractWrapper({contractWrapper:this,method:"deployProxyByImplementation",args:[l,k,F],parse:z=>{s&&s();let W=this.parseLogs("ProxyDeployed",z.logs);if(W.length<1)throw new Error("No ProxyDeployed event found");let j=W[0].args.proxy;return r.emit("contractDeployed",{status:"completed",contractAddress:j,transactionHash:z.transactionHash}),j}})}));ae(this,"deployProxyByImplementation",me(async(n,a,r,f,i,s,o)=>{let c=Ht.Contract.getInterface(a).encodeFunctionData(r,f),d=await this.getProvider().getBlockNumber(),l=s?Ht.utils.id(s):Ht.utils.formatBytes32String(d.toString());return Me.fromContractWrapper({contractWrapper:this,method:"deployProxyByImplementation",args:[n,c,l],parse:h=>{o&&o();let y=this.parseLogs("ProxyDeployed",h.logs);if(y.length<1)throw new Error("No ProxyDeployed event found");let v=y[0].args.proxy;return i.emit("contractDeployed",{status:"completed",contractAddress:v,transactionHash:h.transactionHash}),v}})}));this.storage=r}async getDeployArguments(n,a,r){let f=[];a.trusted_forwarders&&a.trusted_forwarders.length>0&&(f=a.trusted_forwarders);let i=await this.getSignerAddress();switch(n){case Iu.contractType:case gm.contractType:let s=await Iu.schema.deploy.parseAsync(a);return[i,s.name,s.symbol,r,f,ns(i,s.primary_sale_recipient),s.fee_recipient,s.seller_fee_basis_points,s.platform_fee_basis_points,ns(i,s.platform_fee_recipient)];case Su.contractType:let o=await Su.schema.deploy.parseAsync(a);return[i,o.name,o.symbol,r,f,ns(i,o.primary_sale_recipient),o.fee_recipient,o.seller_fee_basis_points,o.platform_fee_basis_points,ns(i,o.platform_fee_recipient)];case Cu.contractType:let c=await Cu.schema.deploy.parseAsync(a);return[i,c.name,c.symbol,r,f,c.fee_recipient,c.seller_fee_basis_points];case _u.contractType:case ym.contractType:let d=await _u.schema.deploy.parseAsync(a);return[i,d.name,d.symbol,r,f,ns(i,d.primary_sale_recipient),d.fee_recipient,d.seller_fee_basis_points,d.platform_fee_basis_points,ns(i,d.platform_fee_recipient)];case vm.contractType:case Mu.contractType:let l=await Mu.schema.deploy.parseAsync(a);return[i,l.name,l.symbol,r,f,ns(i,l.primary_sale_recipient),ns(i,l.platform_fee_recipient),l.platform_fee_basis_points];case Bu.contractType:let h=await Bu.schema.deploy.parseAsync(a);return[h.name,r,f,h.voting_token_address,h.voting_delay_in_blocks,h.voting_period_in_blocks,Ht.BigNumber.from(h.proposal_token_threshold),h.voting_quorum_fraction];case Ru.contractType:let y=await Ru.schema.deploy.parseAsync(a);return[i,r,f,y.recipients.map(F=>F.address),y.recipients.map(F=>Ht.BigNumber.from(F.sharesBps))];case Au.contractType:let v=await Au.schema.deploy.parseAsync(a);return[i,r,f,ns(i,v.platform_fee_recipient),v.platform_fee_basis_points];case oh.contractType:let k=await oh.schema.deploy.parseAsync(a);return[i,r,f,ns(i,k.platform_fee_recipient),k.platform_fee_basis_points];case ku.contractType:let O=await ku.schema.deploy.parseAsync(a);return[i,O.name,O.symbol,r,f,O.fee_recipient,O.seller_fee_basis_points];default:return[]}}async getImplementation(n,a){let r=Ht.utils.formatBytes32String(n.name),f=await this.getChainID(),i=zs0(f,n.contractType);return i&&i.length>0&&a===void 0?i:this.read("getImplementation",[r,a!==void 0?a:this.DEFAULT_VERSION_MAP[n.contractType]])}async getLatestVersion(n){let a=sK(n);if(!a)throw new Error(`Invalid contract type ${n}`);let r=Ht.utils.formatBytes32String(a);return this.read("currentVersion",[r])}},Bde=class extends ut{constructor(n,a,r,f,i){super(a,n,f,i,r);ae(this,"addContract",me(async n=>await this.addContracts.prepare([n])));ae(this,"addContracts",me(async n=>{let a=await this.getSignerAddress(),r=new st(this),f=(await Promise.all(n.map(i=>Oe(i)))).map(i=>r.encode("add",[a,i]));return Me.fromContractWrapper({contractWrapper:this,method:"multicall",args:[f]})}));ae(this,"removeContract",me(async n=>await this.removeContracts.prepare([n])));ae(this,"removeContracts",me(async n=>{let a=await this.getSignerAddress(),r=new st(this),f=(await Promise.all(n.map(i=>Oe(i)))).map(i=>r.encode("remove",[a,i]));return Me.fromContractWrapper({contractWrapper:this,method:"multicall",args:[f]})}))}async getContractAddresses(n){return(await this.read("getAll",[await Oe(n)])).filter(a=>Ht.utils.isAddress(a)&&a.toLowerCase()!==Ht.constants.AddressZero)}},Hrn=Li.merge(yi).merge(ai),zrn=Hrn.merge(Z1).merge(xu).merge(c1),Wrn=Li.merge(ai),Ade=Wrn.merge(c1);Du=class t extends wu{constructor(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;Ds0("No API key. Please provide a clientId. It is required to access thirdweb's services. You can create a key at https://thirdweb.com/create-api-key",a.clientId,a.secretKey),a=Cde(n,a);super(n,a);ae(this,"contractCache",new Map);J5e(a?.supportedChains);let s=Orn(r,a);this.storage=s,this.storageHandler=s,this.wallet=new EK(n,a,s),this.deployer=new AK(n,a,s),this.verifier=new xK(n,a,s),this.multiChainRegistry=new Sde(n,this.storageHandler,this.options),this._publisher=new oK(n,this.options,this.storageHandler)}static async fromWallet(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=arguments.length>3?arguments[3]:void 0,i=await n.getSigner();return t.fromSigner(i,a,r,f)}static fromSigner(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=arguments.length>3?arguments[3]:void 0,i=n;if(a)try{let o=gi(a,r);i=n.connect(o)}catch{}let s=new t(a||i,a?Cde(a,r):r,f);return s.updateSignerOrProvider(i),s}static fromPrivateKey(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=arguments.length>3?arguments[3]:void 0,i=gi(a,r),s=new Ht.Wallet(n,i);return new t(s,Cde(a,r),f)}get auth(){throw new Error(`The sdk.auth namespace has been moved to the @thirdweb-dev/auth package and is no longer available after @thirdweb-dev/sdk >= 3.7.0. Please visit https://portal.thirdweb.com/wallets/auth for instructions on how to switch to using the new auth package (@thirdweb-dev/auth@3.0.0). - If you still want to use the old @thirdweb-dev/auth@2.0.0 package, you can downgrade the SDK to version 3.6.0.`)}async getNFTDrop(n){return await this.getContract(n,"nft-drop")}async getSignatureDrop(n){return await this.getContract(n,"signature-drop")}async getNFTCollection(n){return await this.getContract(n,"nft-collection")}async getEditionDrop(n){return await this.getContract(n,"edition-drop")}async getEdition(n){return await this.getContract(n,"edition")}async getTokenDrop(n){return await this.getContract(n,"token-drop")}async getToken(n){return await this.getContract(n,"token")}async getVote(n){return await this.getContract(n,"vote")}async getSplit(n){return await this.getContract(n,"split")}async getMarketplace(n){return await this.getContract(n,"marketplace")}async getMarketplaceV3(n){return await this.getContract(n,"marketplace-v3")}async getPack(n){return await this.getContract(n,"pack")}async getMultiwrap(n){return await this.getContract(n,"multiwrap")}async getContract(n,a){let r=await Oe(n);if(this.contractCache.has(r))return this.contractCache.get(r);if(r in vde)return await this.getContractFromAbi(r,vde[r]);let f;if(!a||a==="custom")try{let i=await this.getPublisher().fetchCompilerMetadataFromAddress(r);f=await this.getContractFromAbi(r,i.abi)}catch(i){let s=await this.resolveContractType(r);if(s&&s!=="custom"){let o=await vm[s].getAbi(r,this.getProvider(),this.storage);f=await this.getContractFromAbi(r,o)}else throw i}else typeof a=="string"&&a in vm?f=await vm[a].initialize(this.getSignerOrProvider(),r,this.storage,this.options):f=await this.getContractFromAbi(r,a);return this.contractCache.set(r,f),f}async getBuiltInContract(n,a){return await this.getContract(n,a)}async resolveContractType(n){try{let a=(await Promise.resolve().then(()=>Ee(boe()))).default,r=new Ht.Contract(await Oe(n),a,this.getProvider()),f=Ht.utils.toUtf8String(await r.contractType()).replace(/\x00/g,"");return gde(f)}catch{return"custom"}}async getContractList(n){let a=await(await this.deployer.getRegistry())?.getContractAddresses(await Oe(n))||[],r=(await this.getProvider().getNetwork()).chainId;return await Promise.all(a.map(async f=>({address:f,chainId:r,contractType:()=>this.resolveContractType(f),metadata:async()=>(await this.getContract(f)).metadata.get(),extensions:async()=>kde((await this.getContract(f)).abi)})))}async getMultichainContractList(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n1,r=await this.multiChainRegistry.getContractAddresses(n),f=a.reduce((s,o)=>(s[o.chainId]=o,s),{}),i={};return r.map(s=>{let{address:o,chainId:c}=s;if(!f[c])return{address:o,chainId:c,contractType:async()=>"custom",metadata:async()=>({name:""}),extensions:async()=>[]};try{let d=i[c];return d||(d=new t(c,{...this.options,readonlySettings:void 0,supportedChains:a},this.storage),i[c]=d),{address:o,chainId:c,contractType:()=>d.resolveContractType(o),metadata:async()=>(await d.getContract(o)).metadata.get(),extensions:async()=>kde((await d.getContract(o)).abi)}}catch{return{address:o,chainId:c,contractType:async()=>"custom",metadata:async()=>({name:""}),extensions:async()=>[]}}})}updateSignerOrProvider(n){super.updateSignerOrProvider(n),this.updateContractSignerOrProvider()}updateContractSignerOrProvider(){this.wallet.connect(this.getSignerOrProvider()),this.deployer.updateSignerOrProvider(this.getSignerOrProvider()),this._publisher.updateSignerOrProvider(this.getSignerOrProvider()),this.multiChainRegistry.updateSigner(this.getSignerOrProvider()),this.verifier.updateSignerOrProvider(this.getSignerOrProvider());for(let[,n]of this.contractCache)n.onNetworkUpdated(this.getSignerOrProvider())}async getContractFromAbi(n,a){let[r,{SmartContract:f}]=await Promise.all([Oe(n),Promise.resolve().then(()=>(As0(),_s0))]);if(this.contractCache.has(r))return this.contractCache.get(r);let[,i]=ts(this.getSignerOrProvider(),this.options),s=typeof a=="string"?JSON.parse(a):a,o=new f(this.getSignerOrProvider(),r,await d9(r,bt.parse(s),i,this.options,this.storage),this.storageHandler,this.options,(await i.getNetwork()).chainId);return this.contractCache.set(r,o),o}async getBalance(n){return Ja(this.getProvider(),bf,await this.getProvider().getBalance(await Oe(n)))}getPublisher(){return this._publisher}};Tm="0xdd99b75f095d0c4d5112aCe938e4e6ed962fb024",AK=class extends wu{constructor(n,a,r){super(n,a);ae(this,"transactionListener",n=>{n.status==="submitted"&&this.events.emit("contractDeployed",{status:"submitted",transactionHash:n.transactionHash})});ae(this,"deployNFTCollection",jr(async(n,a)=>await this.deployBuiltInContract.prepare(ym.contractType,n,"latest",a)));ae(this,"deployNFTDrop",jr(async(n,a)=>await this.deployBuiltInContract.prepare(Iu.contractType,n,"latest",a)));ae(this,"deployLoyaltyCard",jr(async(n,a)=>{let r=await zrn.parseAsync(n),f=await this.storage.upload(r),i=[];n.trusted_forwarders&&n.trusted_forwarders.length>0&&i.push(...n.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),r.name,r.symbol,f,i,r.primary_sale_recipient,r.fee_recipient,r.seller_fee_basis_points,r.platform_fee_basis_points,r.platform_fee_recipient];return await this.deployReleasedContract.prepare(Tm,"LoyaltyCard",o,"latest",a)}));ae(this,"deployOpenEdition",jr(async(n,a)=>{let r=await nh.deploy.parseAsync(n),f=await this.storage.upload(r),i=[];n.trusted_forwarders&&n.trusted_forwarders.length>0&&i.push(...n.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),r.name,r.symbol,f,i,r.primary_sale_recipient,r.fee_recipient,r.seller_fee_basis_points];return await this.deployPublishedContract.prepare(Tm,"OpenEditionERC721",o,"latest",a)}));ae(this,"deploySignatureDrop",jr(async(n,a)=>await this.deployBuiltInContract.prepare(Su.contractType,n,"latest",a)));ae(this,"deployMultiwrap",jr(async(n,a)=>await this.deployBuiltInContract.prepare(Cu.contractType,n,"latest",a)));ae(this,"deployEdition",jr(async(n,a)=>await this.deployBuiltInContract.prepare(mm.contractType,n,"latest",a)));ae(this,"deployEditionDrop",jr(async(n,a)=>await this.deployBuiltInContract.prepare(_u.contractType,n,"latest",a)));ae(this,"deployToken",jr(async(n,a)=>await this.deployBuiltInContract.prepare(Mu.contractType,n,"latest",a)));ae(this,"deployTokenDrop",jr(async(n,a)=>await this.deployBuiltInContract.prepare(gm.contractType,n,"latest",a)));ae(this,"deployMarketplace",jr(async(n,a)=>await this.deployBuiltInContract.prepare(Au.contractType,n,"latest",a)));ae(this,"deployMarketplaceV3",jr(async(n,a)=>await this.deployBuiltInContract.prepare(oh.contractType,n,"latest",a)));ae(this,"deployPack",jr(async(n,a)=>await this.deployBuiltInContract.prepare(ku.contractType,n,"latest",a)));ae(this,"deploySplit",jr(async(n,a)=>await this.deployBuiltInContract.prepare(Ru.contractType,n,"latest",a)));ae(this,"deployVote",jr(async(n,a)=>await this.deployBuiltInContract.prepare(Bu.contractType,n,"latest",a)));ae(this,"deployAirdropERC20",jr(async(n,a)=>{let r=await Ade.parseAsync(n),f=await this.storage.upload(r),i=[];n.trusted_forwarders&&n.trusted_forwarders.length>0&&i.push(...n.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),f,i];return await this.deployReleasedContract.prepare(Tm,"AirdropERC20",o,"latest",a)}));ae(this,"deployAirdropERC721",jr(async(n,a)=>{let r=await Ade.parseAsync(n),f=await this.storage.upload(r),i=[];n.trusted_forwarders&&n.trusted_forwarders.length>0&&i.push(...n.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),f,i];return await this.deployReleasedContract.prepare(Tm,"AirdropERC721",o,"latest",a)}));ae(this,"deployAirdropERC1155",jr(async(n,a)=>{let r=await Ade.parseAsync(n),f=await this.storage.upload(r),i=[];n.trusted_forwarders&&n.trusted_forwarders.length>0&&i.push(...n.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),f,i];return await this.deployReleasedContract.prepare(Tm,"AirdropERC1155",o,"latest",a)}));ae(this,"deployBuiltInContract",jr((()=>{var n=this;return async function(a,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",i=arguments.length>3?arguments[3]:void 0,s=n.getSigner();d0(s,"A signer is required to deploy contracts");let o={app_uri:mde[a],...await vm[a].schema.deploy.parseAsync(r)};if(n.hasLocalFactory()){let y;try{y=parseInt(f),isNaN(y)&&(y=void 0)}catch{y=void 0}let v=await n.getFactory();if(!v)throw new Error("Factory not found");return v.on(i1.Transaction,n.transactionListener),v.deploy.prepare(a,o,n.events,y,i,()=>{v.off(i1.Transaction,n.transactionListener)})}let c=sK(a);d0(c,"Contract name not found");let d=await n.storage.upload(o),l=await Lde(a,o,d,s),h=await n.fetchPublishedContractFromPolygon(Tm,c,f);return n.deployContractFromUri.prepare(h.metadataUri,l,i)}})()));ae(this,"deployReleasedContract",jr((()=>{var n=this;return async function(a,r,f){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",s=arguments.length>4?arguments[4]:void 0,o=await n.fetchPublishedContractFromPolygon(a,r,i);return await n.deployContractFromUri.prepare(o.metadataUri,f,s)}})()));ae(this,"deployPublishedContract",this.deployReleasedContract);ae(this,"deployViaFactory",me(async(n,a,r,f,i,s)=>{let o=await Oe(n),c=await Oe(a),d=this.getSigner();d0(d,"signer is required");let l=new _K(o,this.getSignerOrProvider(),this.storage,this.options);return l.on(i1.Transaction,this.transactionListener),await l.deployProxyByImplementation.prepare(c,r,f,i,this.events,s,()=>{l.off(i1.Transaction,this.transactionListener)})}));ae(this,"deployProxy",jr(async(n,a,r,f)=>{let i=await Oe(n),s=Ht.Contract.getInterface(a).encodeFunctionData(r,f),{TWProxy__factory:o}=await Promise.resolve().then(()=>(ks0(),Is0));return this.deployContractWithAbi.prepare(o.abi,o.bytecode,[i,s])}));ae(this,"deployViaAutoFactory",jr(async(n,a,r,f,i,s)=>{let o=await Pde(r,s),c=await M9(n,this.storage,this.getProvider(),o,this.options.clientId,this.options.secretKey),d=c.find(F=>F.type==="implementation")?.transaction.predictedAddress,l=c.filter(F=>F.transaction.data&&F.transaction.data.length>0),h=l.filter(F=>F.type!=="infra").map(F=>F.transaction),y=l.filter(F=>F.type==="infra").map(F=>F.transaction);await uK(r,y,s);for(let F of h)try{await pK(r,F,s)}catch(z){throw console.debug(`Error deploying contract at ${F.predictedAddress}`,z?.message),z}let v=await Oe(d),S=await Hs0(this.getProvider(),this.storage,o,this.options.clientId,this.options.secretKey);s?.notifier?.("deploying","proxy");let O=await this.deployViaFactory.prepare(S,v,a.compilerMetadata.abi,f,i,s?.saltForProxyDeploy);return s?.notifier?.("deployed","proxy"),O}));ae(this,"deployViaCustomFactory",jr(async(n,a,r,f)=>{let i=a.extendedMetadata?.factoryDeploymentData?.customFactoryInput?.customFactoryAddresses[f],s=await Oe(i);d0(s,`customFactoryAddress not found for chainId '${f}'`),d0(a.extendedMetadata?.factoryDeploymentData?.customFactoryInput?.factoryFunction,"customFactoryFunction not set'");let o=await Sf(s,this.getProvider(),this.storage,this.options),c=Rde(o.abi,a.extendedMetadata.factoryDeploymentData.customFactoryInput.factoryFunction).map(y=>y.type),d=WE(c,n),l,h=await Me.fromContractInfo({contractAddress:s,contractAbi:o.abi,provider:this.getProvider(),signer:r,method:a.extendedMetadata.factoryDeploymentData.customFactoryInput.factoryFunction,args:d,parse:()=>l,storage:this.storage});return l=await h.simulate(),h}));ae(this,"deployContractFromUri",jr(async(n,a,r)=>{let f=this.getSigner();d0(f,"A signer is required");let{compilerMetadata:i,extendedMetadata:s}=await Ds(n,this.storage),o=r?.forceDirectDeploy||!1,c=(await this.getProvider().getNetwork()).chainId,d=s?.networksForDeployment?.networksEnabled.includes(c)||s?.networksForDeployment?.allNetworks;if(s?.networksForDeployment&&!d&&i.name!=="AccountFactory")throw new Error(`Deployments disabled on this network, with chainId: ${c}`);if(s&&s.factoryDeploymentData&&(s.isDeployableViaProxy||s.isDeployableViaFactory||s.deployType&&s.deployType!=="standard")&&!o){if(s.deployType==="customFactory")return await this.deployViaCustomFactory.prepare(a,{compilerMetadata:i,extendedMetadata:s},f,c);{d0(s.factoryDeploymentData.implementationInitializerFunction,"implementationInitializerFunction not set'");let v=Rde(i.abi,s.factoryDeploymentData.implementationInitializerFunction).map(z=>z.type),S=WE(v,a),O=s.factoryDeploymentData.implementationAddresses[c];if(!O||s.deployType==="autoFactory")return await this.deployViaAutoFactory.prepare(n,{compilerMetadata:i,extendedMetadata:s},f,s.factoryDeploymentData.implementationInitializerFunction,S,r);let F=await Oe(O);if(d0(F,`implementationAddress not found for chainId '${c}'`),s.isDeployableViaFactory){d0(s.factoryDeploymentData.factoryAddresses,"isDeployableViaFactory is true so factoryAddresses is required");let z=s.factoryDeploymentData.factoryAddresses[c];d0(z,`isDeployableViaFactory is true and factoryAddress not found for chainId '${c}'`);let W=await Oe(z);return await this.deployViaFactory.prepare(W,F,i.abi,s.factoryDeploymentData.implementationInitializerFunction,S,r?.saltForProxyDeploy)}else if(s.isDeployableViaProxy)return await this.deployProxy.prepare(F,i.abi,s.factoryDeploymentData.implementationInitializerFunction,S)}}let l=i.bytecode.startsWith("0x")?i.bytecode:`0x${i.bytecode}`;if(!Ht.utils.isHexString(l))throw new Error(`Contract bytecode is invalid. + If you still want to use the old @thirdweb-dev/auth@2.0.0 package, you can downgrade the SDK to version 3.6.0.`)}async getNFTDrop(n){return await this.getContract(n,"nft-drop")}async getSignatureDrop(n){return await this.getContract(n,"signature-drop")}async getNFTCollection(n){return await this.getContract(n,"nft-collection")}async getEditionDrop(n){return await this.getContract(n,"edition-drop")}async getEdition(n){return await this.getContract(n,"edition")}async getTokenDrop(n){return await this.getContract(n,"token-drop")}async getToken(n){return await this.getContract(n,"token")}async getVote(n){return await this.getContract(n,"vote")}async getSplit(n){return await this.getContract(n,"split")}async getMarketplace(n){return await this.getContract(n,"marketplace")}async getMarketplaceV3(n){return await this.getContract(n,"marketplace-v3")}async getPack(n){return await this.getContract(n,"pack")}async getMultiwrap(n){return await this.getContract(n,"multiwrap")}async getContract(n,a){let r=await Oe(n);if(this.contractCache.has(r))return this.contractCache.get(r);if(r in vde)return await this.getContractFromAbi(r,vde[r]);let f;if(!a||a==="custom")try{let i=await this.getPublisher().fetchCompilerMetadataFromAddress(r);f=await this.getContractFromAbi(r,await Gb(r,bt.parse(i.abi),this.getProvider(),this.options,this.storage))}catch(i){let s=await this.resolveContractType(r);if(s&&s!=="custom"){let o=await wm[s].getAbi(r,this.getProvider(),this.storage);f=await this.getContractFromAbi(r,await Gb(r,bt.parse(o),this.getProvider(),this.options,this.storage))}else throw i}else typeof a=="string"&&a in wm?f=await wm[a].initialize(this.getSignerOrProvider(),r,this.storage,this.options):f=await this.getContractFromAbi(r,a);return this.contractCache.set(r,f),f}async getBuiltInContract(n,a){return await this.getContract(n,a)}async resolveContractType(n){try{let a=(await Promise.resolve().then(()=>Ee(boe()))).default,r=new Ht.Contract(await Oe(n),a,this.getProvider()),f=Ht.utils.toUtf8String(await r.contractType()).replace(/\x00/g,"");return gde(f)}catch{return"custom"}}async getContractList(n){let a=await(await this.deployer.getRegistry())?.getContractAddresses(await Oe(n))||[],r=(await this.getProvider().getNetwork()).chainId;return await Promise.all(a.map(async f=>({address:f,chainId:r,contractType:()=>this.resolveContractType(f),metadata:async()=>(await this.getContract(f)).metadata.get(),extensions:async()=>kde((await this.getContract(f)).abi)})))}async getMultichainContractList(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n1,r=await this.multiChainRegistry.getContractAddresses(n),f=a.reduce((s,o)=>(s[o.chainId]=o,s),{}),i={};return r.map(s=>{let{address:o,chainId:c}=s;if(!f[c])return{address:o,chainId:c,contractType:async()=>"custom",metadata:async()=>({name:""}),extensions:async()=>[]};try{let d=i[c];return d||(d=new t(c,{...this.options,readonlySettings:void 0,supportedChains:a},this.storage),i[c]=d),{address:o,chainId:c,contractType:()=>d.resolveContractType(o),metadata:async()=>(await d.getContract(o)).metadata.get(),extensions:async()=>kde((await d.getContract(o)).abi)}}catch{return{address:o,chainId:c,contractType:async()=>"custom",metadata:async()=>({name:""}),extensions:async()=>[]}}})}updateSignerOrProvider(n){super.updateSignerOrProvider(n),this.updateContractSignerOrProvider()}updateContractSignerOrProvider(){this.wallet.connect(this.getSignerOrProvider()),this.deployer.updateSignerOrProvider(this.getSignerOrProvider()),this._publisher.updateSignerOrProvider(this.getSignerOrProvider()),this.multiChainRegistry.updateSigner(this.getSignerOrProvider()),this.verifier.updateSignerOrProvider(this.getSignerOrProvider());for(let[,n]of this.contractCache)n.onNetworkUpdated(this.getSignerOrProvider())}async getContractFromAbi(n,a){let[r,{SmartContract:f}]=await Promise.all([Oe(n),Promise.resolve().then(()=>(As0(),_s0))]);if(this.contractCache.has(r))return this.contractCache.get(r);let[,i]=ts(this.getSignerOrProvider(),this.options),s=typeof a=="string"?JSON.parse(a):a,o=new f(this.getSignerOrProvider(),r,s,this.storageHandler,this.options,(await i.getNetwork()).chainId);return this.contractCache.set(r,o),o}async getBalance(n){return Ja(this.getProvider(),bf,await this.getProvider().getBalance(await Oe(n)))}getPublisher(){return this._publisher}};xm="0xdd99b75f095d0c4d5112aCe938e4e6ed962fb024",AK=class extends wu{constructor(n,a,r){super(n,a);ae(this,"transactionListener",n=>{n.status==="submitted"&&this.events.emit("contractDeployed",{status:"submitted",transactionHash:n.transactionHash})});ae(this,"deployNFTCollection",jr(async(n,a)=>await this.deployBuiltInContract.prepare(gm.contractType,n,"latest",a)));ae(this,"deployNFTDrop",jr(async(n,a)=>await this.deployBuiltInContract.prepare(Iu.contractType,n,"latest",a)));ae(this,"deployLoyaltyCard",jr(async(n,a)=>{let r=await zrn.parseAsync(n),f=await this.storage.upload(r),i=[];n.trusted_forwarders&&n.trusted_forwarders.length>0&&i.push(...n.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),r.name,r.symbol,f,i,r.primary_sale_recipient,r.fee_recipient,r.seller_fee_basis_points,r.platform_fee_basis_points,r.platform_fee_recipient];return await this.deployReleasedContract.prepare(xm,"LoyaltyCard",o,"latest",a)}));ae(this,"deployOpenEdition",jr(async(n,a)=>{let r=await nh.deploy.parseAsync(n),f=await this.storage.upload(r),i=[];n.trusted_forwarders&&n.trusted_forwarders.length>0&&i.push(...n.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),r.name,r.symbol,f,i,r.primary_sale_recipient,r.fee_recipient,r.seller_fee_basis_points];return await this.deployPublishedContract.prepare(xm,"OpenEditionERC721",o,"latest",a)}));ae(this,"deploySignatureDrop",jr(async(n,a)=>await this.deployBuiltInContract.prepare(Su.contractType,n,"latest",a)));ae(this,"deployMultiwrap",jr(async(n,a)=>await this.deployBuiltInContract.prepare(Cu.contractType,n,"latest",a)));ae(this,"deployEdition",jr(async(n,a)=>await this.deployBuiltInContract.prepare(ym.contractType,n,"latest",a)));ae(this,"deployEditionDrop",jr(async(n,a)=>await this.deployBuiltInContract.prepare(_u.contractType,n,"latest",a)));ae(this,"deployToken",jr(async(n,a)=>await this.deployBuiltInContract.prepare(Mu.contractType,n,"latest",a)));ae(this,"deployTokenDrop",jr(async(n,a)=>await this.deployBuiltInContract.prepare(vm.contractType,n,"latest",a)));ae(this,"deployMarketplace",jr(async(n,a)=>await this.deployBuiltInContract.prepare(Au.contractType,n,"latest",a)));ae(this,"deployMarketplaceV3",jr(async(n,a)=>await this.deployBuiltInContract.prepare(oh.contractType,n,"latest",a)));ae(this,"deployPack",jr(async(n,a)=>await this.deployBuiltInContract.prepare(ku.contractType,n,"latest",a)));ae(this,"deploySplit",jr(async(n,a)=>await this.deployBuiltInContract.prepare(Ru.contractType,n,"latest",a)));ae(this,"deployVote",jr(async(n,a)=>await this.deployBuiltInContract.prepare(Bu.contractType,n,"latest",a)));ae(this,"deployAirdropERC20",jr(async(n,a)=>{let r=await Ade.parseAsync(n),f=await this.storage.upload(r),i=[];n.trusted_forwarders&&n.trusted_forwarders.length>0&&i.push(...n.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),f,i];return await this.deployReleasedContract.prepare(xm,"AirdropERC20",o,"latest",a)}));ae(this,"deployAirdropERC721",jr(async(n,a)=>{let r=await Ade.parseAsync(n),f=await this.storage.upload(r),i=[];n.trusted_forwarders&&n.trusted_forwarders.length>0&&i.push(...n.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),f,i];return await this.deployReleasedContract.prepare(xm,"AirdropERC721",o,"latest",a)}));ae(this,"deployAirdropERC1155",jr(async(n,a)=>{let r=await Ade.parseAsync(n),f=await this.storage.upload(r),i=[];n.trusted_forwarders&&n.trusted_forwarders.length>0&&i.push(...n.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),f,i];return await this.deployReleasedContract.prepare(xm,"AirdropERC1155",o,"latest",a)}));ae(this,"deployBuiltInContract",jr((()=>{var n=this;return async function(a,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",i=arguments.length>3?arguments[3]:void 0,s=n.getSigner();d0(s,"A signer is required to deploy contracts");let o={app_uri:mde[a],...await wm[a].schema.deploy.parseAsync(r)};if(n.hasLocalFactory()){let y;try{y=parseInt(f),isNaN(y)&&(y=void 0)}catch{y=void 0}let v=await n.getFactory();if(!v)throw new Error("Factory not found");return v.on(i1.Transaction,n.transactionListener),v.deploy.prepare(a,o,n.events,y,i,()=>{v.off(i1.Transaction,n.transactionListener)})}let c=sK(a);d0(c,"Contract name not found");let d=await n.storage.upload(o),l=await Lde(a,o,d,s),h=await n.fetchPublishedContractFromPolygon(xm,c,f);return n.deployContractFromUri.prepare(h.metadataUri,l,i)}})()));ae(this,"deployReleasedContract",jr((()=>{var n=this;return async function(a,r,f){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",s=arguments.length>4?arguments[4]:void 0,o=await n.fetchPublishedContractFromPolygon(a,r,i);return await n.deployContractFromUri.prepare(o.metadataUri,f,s)}})()));ae(this,"deployPublishedContract",this.deployReleasedContract);ae(this,"deployViaFactory",me(async(n,a,r,f,i,s)=>{let o=await Oe(n),c=await Oe(a),d=this.getSigner();d0(d,"signer is required");let l=new _K(o,this.getSignerOrProvider(),this.storage,this.options);return l.on(i1.Transaction,this.transactionListener),await l.deployProxyByImplementation.prepare(c,r,f,i,this.events,s,()=>{l.off(i1.Transaction,this.transactionListener)})}));ae(this,"deployProxy",jr(async(n,a,r,f)=>{let i=await Oe(n),s=Ht.Contract.getInterface(a).encodeFunctionData(r,f),{TWProxy__factory:o}=await Promise.resolve().then(()=>(ks0(),Is0));return this.deployContractWithAbi.prepare(o.abi,o.bytecode,[i,s])}));ae(this,"deployViaAutoFactory",jr(async(n,a,r,f,i,s)=>{let o=await Pde(r,s),c=await M9(n,this.storage,this.getProvider(),o,this.options.clientId,this.options.secretKey),d=c.find(F=>F.type==="implementation")?.transaction.predictedAddress,l=c.filter(F=>F.transaction.data&&F.transaction.data.length>0),h=l.filter(F=>F.type!=="infra").map(F=>F.transaction),y=l.filter(F=>F.type==="infra").map(F=>F.transaction);await uK(r,y,s);for(let F of h)try{await pK(r,F,s)}catch(z){throw console.debug(`Error deploying contract at ${F.predictedAddress}`,z?.message),z}let v=await Oe(d),k=await Hs0(this.getProvider(),this.storage,o,this.options.clientId,this.options.secretKey);s?.notifier?.("deploying","proxy");let O=await this.deployViaFactory.prepare(k,v,a.compilerMetadata.abi,f,i,s?.saltForProxyDeploy);return s?.notifier?.("deployed","proxy"),O}));ae(this,"deployViaCustomFactory",jr(async(n,a,r,f)=>{let i=a.extendedMetadata?.factoryDeploymentData?.customFactoryInput?.customFactoryAddresses[f],s=await Oe(i);d0(s,`customFactoryAddress not found for chainId '${f}'`),d0(a.extendedMetadata?.factoryDeploymentData?.customFactoryInput?.factoryFunction,"customFactoryFunction not set'");let o=await Sf(s,this.getProvider(),this.storage,this.options),c=Rde(o.abi,a.extendedMetadata.factoryDeploymentData.customFactoryInput.factoryFunction).map(y=>y.type),d=WE(c,n),l,h=await Me.fromContractInfo({contractAddress:s,contractAbi:o.abi,provider:this.getProvider(),signer:r,method:a.extendedMetadata.factoryDeploymentData.customFactoryInput.factoryFunction,args:d,parse:()=>l,storage:this.storage});return l=await h.simulate(),h}));ae(this,"deployContractFromUri",jr(async(n,a,r)=>{let f=this.getSigner();d0(f,"A signer is required");let{compilerMetadata:i,extendedMetadata:s}=await Ds(n,this.storage),o=r?.forceDirectDeploy||!1,c=(await this.getProvider().getNetwork()).chainId,d=s?.networksForDeployment?.networksEnabled.includes(c)||s?.networksForDeployment?.allNetworks;if(s?.networksForDeployment&&!d&&i.name!=="AccountFactory")throw new Error(`Deployments disabled on this network, with chainId: ${c}`);if(s&&s.factoryDeploymentData&&(s.isDeployableViaProxy||s.isDeployableViaFactory||s.deployType&&s.deployType!=="standard")&&!o){if(s.deployType==="customFactory")return await this.deployViaCustomFactory.prepare(a,{compilerMetadata:i,extendedMetadata:s},f,c);{d0(s.factoryDeploymentData.implementationInitializerFunction,"implementationInitializerFunction not set'");let v=Rde(i.abi,s.factoryDeploymentData.implementationInitializerFunction).map(z=>z.type),k=WE(v,a),O=s.factoryDeploymentData.implementationAddresses[c];if(!O||s.deployType==="autoFactory")return await this.deployViaAutoFactory.prepare(n,{compilerMetadata:i,extendedMetadata:s},f,s.factoryDeploymentData.implementationInitializerFunction,k,r);let F=await Oe(O);if(d0(F,`implementationAddress not found for chainId '${c}'`),s.isDeployableViaFactory){d0(s.factoryDeploymentData.factoryAddresses,"isDeployableViaFactory is true so factoryAddresses is required");let z=s.factoryDeploymentData.factoryAddresses[c];d0(z,`isDeployableViaFactory is true and factoryAddress not found for chainId '${c}'`);let W=await Oe(z);return await this.deployViaFactory.prepare(W,F,i.abi,s.factoryDeploymentData.implementationInitializerFunction,k,r?.saltForProxyDeploy)}else if(s.isDeployableViaProxy)return await this.deployProxy.prepare(F,i.abi,s.factoryDeploymentData.implementationInitializerFunction,k)}}let l=i.bytecode.startsWith("0x")?i.bytecode:`0x${i.bytecode}`;if(!Ht.utils.isHexString(l))throw new Error(`Contract bytecode is invalid. -${l}`);let h=sh(i.abi).map(v=>v.type),y=WE(h,a);return this.deployContractWithAbi.prepare(i.abi,l,y)}));ae(this,"deployContractWithAbi",jr(async(n,a,r)=>{let f=this.getSigner(),i=this.getProvider();d0(f,"Signer is required to deploy contracts");let s=new Ht.ContractFactory(n,a).connect(f);return new $R({args:r,provider:i,signer:f,factory:s,storage:this.storage,events:this.events})}));this.storage=r,this.events=new C6,this.getFactory(),this.getRegistry()}async getLatestBuiltInContractVersion(n){let a=await this.getFactory();if(!a)throw new Error("Factory not found");return await a.getLatestVersion(n)}async deployPublishedContractDeterministic(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Tm,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",i=arguments.length>4?arguments[4]:void 0,s=this.getSigner();return d0(s,"Signer is required"),qs0(n,r,f,a,s,this.storage,this.options.clientId,this.options.secretKey,i)}async predictAddressDeterministic(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Tm,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",i=arguments.length>4?arguments[4]:void 0,s=this.getProvider();return d0(s,"Provider is required"),Gs0(n,r,f,a,s,this.storage,this.options.clientId,this.options.secretKey,i)}async getRegistry(){return this._registry?this._registry:this._registry=this.getProvider().getNetwork().then(async n=>{let{chainId:a}=n,r=c9(a,"twRegistry");if(!r)return;let f=(await Promise.resolve().then(()=>Ee(Ss0()))).default;return new Bde(r,this.getSignerOrProvider(),this.storage,f,this.options)})}async getFactory(){return this._factory?this._factory:this._factory=this.getProvider().getNetwork().then(async n=>{let{chainId:a}=n,r=c9(a,"twFactory");return r?new _K(r,this.getSignerOrProvider(),this.storage,this.options):void 0})}updateSignerOrProvider(n){super.updateSignerOrProvider(n),this.updateContractSignerOrProvider()}updateContractSignerOrProvider(){this._factory?.then(n=>{n?.updateSignerOrProvider(this.getSignerOrProvider())}).catch(()=>{}),this._registry?.then(n=>{n?.updateSignerOrProvider(this.getSignerOrProvider())}).catch(()=>{})}async getTransactionsForDeploy(n,a){let r=[],f=this.getProvider();d0(f,"A provider is required");let{extendedMetadata:i}=await Ds(n,this.storage),s=a?.forceDirectDeploy||!1;if(i&&i.factoryDeploymentData&&(i.isDeployableViaProxy||i.isDeployableViaFactory||i.deployType==="autoFactory")&&!s){let o=(await this.getProvider().getNetwork()).chainId;if(!i.factoryDeploymentData.implementationAddresses[o]||i.deployType==="autoFactory"){let d=await sd(this.getProvider());r.push({contractType:"create2Factory",addresses:[d]});let h=(await M9(n,this.storage,this.getProvider(),d,this.options.clientId,this.options.secretKey)).filter(O=>O.transaction.data&&O.transaction.data.length>0);h.filter(O=>O.type!=="infra").map(O=>O.transaction).forEach(O=>{r.push({contractType:"preset",addresses:[O.predictedAddress]})});let v=h.filter(O=>O.type==="infra").map(O=>O.transaction);wde(v).forEach(O=>{let F=O.map(z=>z.predictedAddress);r.push({contractType:"infra",addresses:F})})}r=(await Promise.all(r.map(async d=>(await Promise.all(d.addresses.map(async h=>await B6(h,f)?null:h))).filter(Boolean).length>0?d:null))).filter(Boolean),r.push({contractType:"proxy",addresses:[]})}else r.push({contractType:"custom",addresses:[]});return r}addDeployListener(n){this.events.on("contractDeployed",n)}removeDeployListener(n){this.events.off("contractDeployed",n)}removeAllDeployListeners(){this.events.removeAllListeners("contractDeployed")}async fetchPublishedContractFromPolygon(n,a,r){let f=await Oe(n),i=await new Du("polygon",{clientId:this.options.clientId,secretKey:this.options.secretKey},this.storage).getPublisher().getVersion(f,a,r);if(!i)throw new Error(`No published contract found for '${a}' at version '${r}' by '${f}'`);return i}hasLocalFactory(){return!!DE("factoryAddress")}}});var PSa,LSa,FSa,qE=ce(()=>{"use strict";u();p();Ks0();ln();or();rd();Da();W0();ir();PSa=Ee(Va()),LSa=Ee(ro()),FSa=Ee(Kc());globalThis.global=globalThis});function Qs0(t,e){return new jE.Contract(e,qrn,t)}function CK(t,e){return`https://${t}.rpc.thirdweb.com${e?`/${e}`:""}${typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis&&globalThis.APP_BUNDLE_ID?`?bundleId=${globalThis.APP_BUNDLE_ID}`:""}`}var jE,qrn,B9,ta=ce(()=>{"use strict";u();p();kt();jE=Ee(Xe());W0();qE();qrn=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"value",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"who",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"value",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"value",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"}];B9=class extends C6{constructor(){super(...arguments),Pe(this,"type","evm")}async getAddress(){return(await this.getSigner()).getAddress()}async getBalance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bf,n=await this.getSigner(),a=await this.getAddress();if(!n.provider)throw new Error("Please connect a provider");let r;return hf(e)?r=await n.provider.getBalance(a):r=await Qs0(n,e).balanceOf(a),await Ja(n.provider,e,r)}async getChainId(){return(await this.getSigner()).getChainId()}async transfer(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:bf,r=await this.getSigner(),f=await this.getAddress();if(!r.provider)throw new Error("Please connect a provider");let i=await ea(r.provider,n,a);if(hf(a)){let s=Rl(r.provider);return{receipt:await(await r.sendTransaction({from:f,to:e,value:i,...s})).wait()}}else return{receipt:await(await Qs0(r,a).transfer(e,i)).wait()}}async signMessage(e){return await(await this.getSigner()).signMessage(e)}async verifySignature(e,n,a,r){try{let f=jE.utils.hashMessage(e),i=jE.utils.arrayify(f);if(jE.utils.recoverAddress(i,n)===a)return!0}catch{}return!1}}});function jrn(t){for(let e=0,n=Vs0.length;e"u"?{x_sdk_name:IK.name,x_sdk_platform:$s0(),x_sdk_version:IK.version,x_sdk_os:Ys0(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=IK.name,globalThis.X_SDK_PLATFORM=$s0(),globalThis.X_SDK_VERSION=IK.version,globalThis.X_SDK_OS=Ys0(),globalThis.APP_BUNDLE_ID=void 0),{x_sdk_name:globalThis.X_SDK_NAME,x_sdk_platform:globalThis.X_SDK_PLATFORM,x_sdk_version:globalThis.X_SDK_VERSION,x_sdk_os:globalThis.X_SDK_OS,app_bundle_id:globalThis.APP_BUNDLE_ID||""})}function $s0(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":"browser"}var IK,Vs0,kK=ce(()=>{"use strict";u();p();IK={name:"@thirdweb-dev/wallets",version:"2.5.31",main:"dist/thirdweb-dev-wallets.cjs.js",module:"dist/thirdweb-dev-wallets.esm.js",browser:{"./dist/thirdweb-dev-wallets.esm.js":"./dist/thirdweb-dev-wallets.browser.esm.js"},exports:{".":{module:{browser:"./dist/thirdweb-dev-wallets.browser.esm.js",default:"./dist/thirdweb-dev-wallets.esm.js"},default:"./dist/thirdweb-dev-wallets.cjs.js"},"./evm":{module:{browser:"./evm/dist/thirdweb-dev-wallets-evm.browser.esm.js",default:"./evm/dist/thirdweb-dev-wallets-evm.esm.js"},default:"./evm/dist/thirdweb-dev-wallets-evm.cjs.js"},"./evm/wallets/okx":{module:{browser:"./evm/wallets/okx/dist/thirdweb-dev-wallets-evm-wallets-okx.browser.esm.js",default:"./evm/wallets/okx/dist/thirdweb-dev-wallets-evm-wallets-okx.esm.js"},default:"./evm/wallets/okx/dist/thirdweb-dev-wallets-evm-wallets-okx.cjs.js"},"./evm/wallets/base":{module:{browser:"./evm/wallets/base/dist/thirdweb-dev-wallets-evm-wallets-base.browser.esm.js",default:"./evm/wallets/base/dist/thirdweb-dev-wallets-evm-wallets-base.esm.js"},default:"./evm/wallets/base/dist/thirdweb-dev-wallets-evm-wallets-base.cjs.js"},"./evm/wallets/safe":{module:{browser:"./evm/wallets/safe/dist/thirdweb-dev-wallets-evm-wallets-safe.browser.esm.js",default:"./evm/wallets/safe/dist/thirdweb-dev-wallets-evm-wallets-safe.esm.js"},default:"./evm/wallets/safe/dist/thirdweb-dev-wallets-evm-wallets-safe.cjs.js"},"./evm/wallets/async":{module:{browser:"./evm/wallets/async/dist/thirdweb-dev-wallets-evm-wallets-async.browser.esm.js",default:"./evm/wallets/async/dist/thirdweb-dev-wallets-evm-wallets-async.esm.js"},default:"./evm/wallets/async/dist/thirdweb-dev-wallets-evm-wallets-async.cjs.js"},"./evm/wallets/frame":{module:{browser:"./evm/wallets/frame/dist/thirdweb-dev-wallets-evm-wallets-frame.browser.esm.js",default:"./evm/wallets/frame/dist/thirdweb-dev-wallets-evm-wallets-frame.esm.js"},default:"./evm/wallets/frame/dist/thirdweb-dev-wallets-evm-wallets-frame.cjs.js"},"./evm/wallets/magic":{module:{browser:"./evm/wallets/magic/dist/thirdweb-dev-wallets-evm-wallets-magic.browser.esm.js",default:"./evm/wallets/magic/dist/thirdweb-dev-wallets-evm-wallets-magic.esm.js"},default:"./evm/wallets/magic/dist/thirdweb-dev-wallets-evm-wallets-magic.cjs.js"},"./evm/wallets/rabby":{module:{browser:"./evm/wallets/rabby/dist/thirdweb-dev-wallets-evm-wallets-rabby.browser.esm.js",default:"./evm/wallets/rabby/dist/thirdweb-dev-wallets-evm-wallets-rabby.esm.js"},default:"./evm/wallets/rabby/dist/thirdweb-dev-wallets-evm-wallets-rabby.cjs.js"},"./evm/wallets/trust":{module:{browser:"./evm/wallets/trust/dist/thirdweb-dev-wallets-evm-wallets-trust.browser.esm.js",default:"./evm/wallets/trust/dist/thirdweb-dev-wallets-evm-wallets-trust.esm.js"},default:"./evm/wallets/trust/dist/thirdweb-dev-wallets-evm-wallets-trust.cjs.js"},"./evm/wallets/xdefi":{module:{browser:"./evm/wallets/xdefi/dist/thirdweb-dev-wallets-evm-wallets-xdefi.browser.esm.js",default:"./evm/wallets/xdefi/dist/thirdweb-dev-wallets-evm-wallets-xdefi.esm.js"},default:"./evm/wallets/xdefi/dist/thirdweb-dev-wallets-evm-wallets-xdefi.cjs.js"},"./evm/wallets/blocto":{module:{browser:"./evm/wallets/blocto/dist/thirdweb-dev-wallets-evm-wallets-blocto.browser.esm.js",default:"./evm/wallets/blocto/dist/thirdweb-dev-wallets-evm-wallets-blocto.esm.js"},default:"./evm/wallets/blocto/dist/thirdweb-dev-wallets-evm-wallets-blocto.cjs.js"},"./evm/wallets/coin98":{module:{browser:"./evm/wallets/coin98/dist/thirdweb-dev-wallets-evm-wallets-coin98.browser.esm.js",default:"./evm/wallets/coin98/dist/thirdweb-dev-wallets-evm-wallets-coin98.esm.js"},default:"./evm/wallets/coin98/dist/thirdweb-dev-wallets-evm-wallets-coin98.cjs.js"},"./evm/wallets/engine":{module:{browser:"./evm/wallets/engine/dist/thirdweb-dev-wallets-evm-wallets-engine.browser.esm.js",default:"./evm/wallets/engine/dist/thirdweb-dev-wallets-evm-wallets-engine.esm.js"},default:"./evm/wallets/engine/dist/thirdweb-dev-wallets-evm-wallets-engine.cjs.js"},"./evm/wallets/ethers":{module:{browser:"./evm/wallets/ethers/dist/thirdweb-dev-wallets-evm-wallets-ethers.browser.esm.js",default:"./evm/wallets/ethers/dist/thirdweb-dev-wallets-evm-wallets-ethers.esm.js"},default:"./evm/wallets/ethers/dist/thirdweb-dev-wallets-evm-wallets-ethers.cjs.js"},"./evm/wallets/onekey":{module:{browser:"./evm/wallets/onekey/dist/thirdweb-dev-wallets-evm-wallets-onekey.browser.esm.js",default:"./evm/wallets/onekey/dist/thirdweb-dev-wallets-evm-wallets-onekey.esm.js"},default:"./evm/wallets/onekey/dist/thirdweb-dev-wallets-evm-wallets-onekey.cjs.js"},"./evm/wallets/signer":{module:{browser:"./evm/wallets/signer/dist/thirdweb-dev-wallets-evm-wallets-signer.browser.esm.js",default:"./evm/wallets/signer/dist/thirdweb-dev-wallets-evm-wallets-signer.esm.js"},default:"./evm/wallets/signer/dist/thirdweb-dev-wallets-evm-wallets-signer.cjs.js"},"./evm/wallets/zerion":{module:{browser:"./evm/wallets/zerion/dist/thirdweb-dev-wallets-evm-wallets-zerion.browser.esm.js",default:"./evm/wallets/zerion/dist/thirdweb-dev-wallets-evm-wallets-zerion.esm.js"},default:"./evm/wallets/zerion/dist/thirdweb-dev-wallets-evm-wallets-zerion.cjs.js"},"./evm/wallets/aws-kms":{module:{browser:"./evm/wallets/aws-kms/dist/thirdweb-dev-wallets-evm-wallets-aws-kms.browser.esm.js",default:"./evm/wallets/aws-kms/dist/thirdweb-dev-wallets-evm-wallets-aws-kms.esm.js"},default:"./evm/wallets/aws-kms/dist/thirdweb-dev-wallets-evm-wallets-aws-kms.cjs.js"},"./evm/wallets/gcp-kms":{module:{browser:"./evm/wallets/gcp-kms/dist/thirdweb-dev-wallets-evm-wallets-gcp-kms.browser.esm.js",default:"./evm/wallets/gcp-kms/dist/thirdweb-dev-wallets-evm-wallets-gcp-kms.esm.js"},default:"./evm/wallets/gcp-kms/dist/thirdweb-dev-wallets-evm-wallets-gcp-kms.cjs.js"},"./evm/wallets/imtoken":{module:{browser:"./evm/wallets/imtoken/dist/thirdweb-dev-wallets-evm-wallets-imtoken.browser.esm.js",default:"./evm/wallets/imtoken/dist/thirdweb-dev-wallets-evm-wallets-imtoken.esm.js"},default:"./evm/wallets/imtoken/dist/thirdweb-dev-wallets-evm-wallets-imtoken.cjs.js"},"./evm/wallets/phantom":{module:{browser:"./evm/wallets/phantom/dist/thirdweb-dev-wallets-evm-wallets-phantom.browser.esm.js",default:"./evm/wallets/phantom/dist/thirdweb-dev-wallets-evm-wallets-phantom.esm.js"},default:"./evm/wallets/phantom/dist/thirdweb-dev-wallets-evm-wallets-phantom.cjs.js"},"./evm/wallets/abstract":{module:{browser:"./evm/wallets/abstract/dist/thirdweb-dev-wallets-evm-wallets-abstract.browser.esm.js",default:"./evm/wallets/abstract/dist/thirdweb-dev-wallets-evm-wallets-abstract.esm.js"},default:"./evm/wallets/abstract/dist/thirdweb-dev-wallets-evm-wallets-abstract.cjs.js"},"./evm/wallets/injected":{module:{browser:"./evm/wallets/injected/dist/thirdweb-dev-wallets-evm-wallets-injected.browser.esm.js",default:"./evm/wallets/injected/dist/thirdweb-dev-wallets-evm-wallets-injected.esm.js"},default:"./evm/wallets/injected/dist/thirdweb-dev-wallets-evm-wallets-injected.cjs.js"},"./evm/wallets/metamask":{module:{browser:"./evm/wallets/metamask/dist/thirdweb-dev-wallets-evm-wallets-metamask.browser.esm.js",default:"./evm/wallets/metamask/dist/thirdweb-dev-wallets-evm-wallets-metamask.esm.js"},default:"./evm/wallets/metamask/dist/thirdweb-dev-wallets-evm-wallets-metamask.cjs.js"},"./evm/wallets/magic-eden":{module:{browser:"./evm/wallets/magic-eden/dist/thirdweb-dev-wallets-evm-wallets-magic-eden.browser.esm.js",default:"./evm/wallets/magic-eden/dist/thirdweb-dev-wallets-evm-wallets-magic-eden.esm.js"},default:"./evm/wallets/magic-eden/dist/thirdweb-dev-wallets-evm-wallets-magic-eden.cjs.js"},"./evm/wallets/core-wallet":{module:{browser:"./evm/wallets/core-wallet/dist/thirdweb-dev-wallets-evm-wallets-core-wallet.browser.esm.js",default:"./evm/wallets/core-wallet/dist/thirdweb-dev-wallets-evm-wallets-core-wallet.esm.js"},default:"./evm/wallets/core-wallet/dist/thirdweb-dev-wallets-evm-wallets-core-wallet.cjs.js"},"./evm/wallets/private-key":{module:{browser:"./evm/wallets/private-key/dist/thirdweb-dev-wallets-evm-wallets-private-key.browser.esm.js",default:"./evm/wallets/private-key/dist/thirdweb-dev-wallets-evm-wallets-private-key.esm.js"},default:"./evm/wallets/private-key/dist/thirdweb-dev-wallets-evm-wallets-private-key.cjs.js"},"./evm/connectors/okx":{module:{browser:"./evm/connectors/okx/dist/thirdweb-dev-wallets-evm-connectors-okx.browser.esm.js",default:"./evm/connectors/okx/dist/thirdweb-dev-wallets-evm-connectors-okx.esm.js"},default:"./evm/connectors/okx/dist/thirdweb-dev-wallets-evm-connectors-okx.cjs.js"},"./evm/wallets/local-wallet":{module:{browser:"./evm/wallets/local-wallet/dist/thirdweb-dev-wallets-evm-wallets-local-wallet.browser.esm.js",default:"./evm/wallets/local-wallet/dist/thirdweb-dev-wallets-evm-wallets-local-wallet.esm.js"},default:"./evm/wallets/local-wallet/dist/thirdweb-dev-wallets-evm-wallets-local-wallet.cjs.js"},"./evm/wallets/paper-wallet":{module:{browser:"./evm/wallets/paper-wallet/dist/thirdweb-dev-wallets-evm-wallets-paper-wallet.browser.esm.js",default:"./evm/wallets/paper-wallet/dist/thirdweb-dev-wallets-evm-wallets-paper-wallet.esm.js"},default:"./evm/wallets/paper-wallet/dist/thirdweb-dev-wallets-evm-wallets-paper-wallet.cjs.js"},"./evm/wallets/smart-wallet":{module:{browser:"./evm/wallets/smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-smart-wallet.browser.esm.js",default:"./evm/wallets/smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-smart-wallet.esm.js"},default:"./evm/wallets/smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-smart-wallet.cjs.js"},"./evm/connectors/safe":{module:{browser:"./evm/connectors/safe/dist/thirdweb-dev-wallets-evm-connectors-safe.browser.esm.js",default:"./evm/connectors/safe/dist/thirdweb-dev-wallets-evm-connectors-safe.esm.js"},default:"./evm/connectors/safe/dist/thirdweb-dev-wallets-evm-connectors-safe.cjs.js"},"./evm/connectors/frame":{module:{browser:"./evm/connectors/frame/dist/thirdweb-dev-wallets-evm-connectors-frame.browser.esm.js",default:"./evm/connectors/frame/dist/thirdweb-dev-wallets-evm-connectors-frame.esm.js"},default:"./evm/connectors/frame/dist/thirdweb-dev-wallets-evm-connectors-frame.cjs.js"},"./evm/connectors/magic":{module:{browser:"./evm/connectors/magic/dist/thirdweb-dev-wallets-evm-connectors-magic.browser.esm.js",default:"./evm/connectors/magic/dist/thirdweb-dev-wallets-evm-connectors-magic.esm.js"},default:"./evm/connectors/magic/dist/thirdweb-dev-wallets-evm-connectors-magic.cjs.js"},"./evm/connectors/paper":{module:{browser:"./evm/connectors/paper/dist/thirdweb-dev-wallets-evm-connectors-paper.browser.esm.js",default:"./evm/connectors/paper/dist/thirdweb-dev-wallets-evm-connectors-paper.esm.js"},default:"./evm/connectors/paper/dist/thirdweb-dev-wallets-evm-connectors-paper.cjs.js"},"./evm/connectors/rabby":{module:{browser:"./evm/connectors/rabby/dist/thirdweb-dev-wallets-evm-connectors-rabby.browser.esm.js",default:"./evm/connectors/rabby/dist/thirdweb-dev-wallets-evm-connectors-rabby.esm.js"},default:"./evm/connectors/rabby/dist/thirdweb-dev-wallets-evm-connectors-rabby.cjs.js"},"./evm/connectors/trust":{module:{browser:"./evm/connectors/trust/dist/thirdweb-dev-wallets-evm-connectors-trust.browser.esm.js",default:"./evm/connectors/trust/dist/thirdweb-dev-wallets-evm-connectors-trust.esm.js"},default:"./evm/connectors/trust/dist/thirdweb-dev-wallets-evm-connectors-trust.cjs.js"},"./evm/connectors/xdefi":{module:{browser:"./evm/connectors/xdefi/dist/thirdweb-dev-wallets-evm-connectors-xdefi.browser.esm.js",default:"./evm/connectors/xdefi/dist/thirdweb-dev-wallets-evm-connectors-xdefi.esm.js"},default:"./evm/connectors/xdefi/dist/thirdweb-dev-wallets-evm-connectors-xdefi.cjs.js"},"./evm/wallets/rainbow-wallet":{module:{browser:"./evm/wallets/rainbow-wallet/dist/thirdweb-dev-wallets-evm-wallets-rainbow-wallet.browser.esm.js",default:"./evm/wallets/rainbow-wallet/dist/thirdweb-dev-wallets-evm-wallets-rainbow-wallet.esm.js"},default:"./evm/wallets/rainbow-wallet/dist/thirdweb-dev-wallets-evm-wallets-rainbow-wallet.cjs.js"},"./evm/wallets/wallet-connect":{module:{browser:"./evm/wallets/wallet-connect/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect.browser.esm.js",default:"./evm/wallets/wallet-connect/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect.esm.js"},default:"./evm/wallets/wallet-connect/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect.cjs.js"},"./evm/connectors/blocto":{module:{browser:"./evm/connectors/blocto/dist/thirdweb-dev-wallets-evm-connectors-blocto.browser.esm.js",default:"./evm/connectors/blocto/dist/thirdweb-dev-wallets-evm-connectors-blocto.esm.js"},default:"./evm/connectors/blocto/dist/thirdweb-dev-wallets-evm-connectors-blocto.cjs.js"},"./evm/connectors/coin98":{module:{browser:"./evm/connectors/coin98/dist/thirdweb-dev-wallets-evm-connectors-coin98.browser.esm.js",default:"./evm/connectors/coin98/dist/thirdweb-dev-wallets-evm-connectors-coin98.esm.js"},default:"./evm/connectors/coin98/dist/thirdweb-dev-wallets-evm-connectors-coin98.cjs.js"},"./evm/connectors/onekey":{module:{browser:"./evm/connectors/onekey/dist/thirdweb-dev-wallets-evm-connectors-onekey.browser.esm.js",default:"./evm/connectors/onekey/dist/thirdweb-dev-wallets-evm-connectors-onekey.esm.js"},default:"./evm/connectors/onekey/dist/thirdweb-dev-wallets-evm-connectors-onekey.cjs.js"},"./evm/connectors/signer":{module:{browser:"./evm/connectors/signer/dist/thirdweb-dev-wallets-evm-connectors-signer.browser.esm.js",default:"./evm/connectors/signer/dist/thirdweb-dev-wallets-evm-connectors-signer.esm.js"},default:"./evm/connectors/signer/dist/thirdweb-dev-wallets-evm-connectors-signer.cjs.js"},"./evm/connectors/zerion":{module:{browser:"./evm/connectors/zerion/dist/thirdweb-dev-wallets-evm-connectors-zerion.browser.esm.js",default:"./evm/connectors/zerion/dist/thirdweb-dev-wallets-evm-connectors-zerion.esm.js"},default:"./evm/connectors/zerion/dist/thirdweb-dev-wallets-evm-connectors-zerion.cjs.js"},"./evm/wallets/coinbase-wallet":{module:{browser:"./evm/wallets/coinbase-wallet/dist/thirdweb-dev-wallets-evm-wallets-coinbase-wallet.browser.esm.js",default:"./evm/wallets/coinbase-wallet/dist/thirdweb-dev-wallets-evm-wallets-coinbase-wallet.esm.js"},default:"./evm/wallets/coinbase-wallet/dist/thirdweb-dev-wallets-evm-wallets-coinbase-wallet.cjs.js"},"./evm/wallets/embedded-wallet":{module:{browser:"./evm/wallets/embedded-wallet/dist/thirdweb-dev-wallets-evm-wallets-embedded-wallet.browser.esm.js",default:"./evm/wallets/embedded-wallet/dist/thirdweb-dev-wallets-evm-wallets-embedded-wallet.esm.js"},default:"./evm/wallets/embedded-wallet/dist/thirdweb-dev-wallets-evm-wallets-embedded-wallet.cjs.js"},"./evm/connectors/imtoken":{module:{browser:"./evm/connectors/imtoken/dist/thirdweb-dev-wallets-evm-connectors-imtoken.browser.esm.js",default:"./evm/connectors/imtoken/dist/thirdweb-dev-wallets-evm-connectors-imtoken.esm.js"},default:"./evm/connectors/imtoken/dist/thirdweb-dev-wallets-evm-connectors-imtoken.cjs.js"},"./evm/connectors/phantom":{module:{browser:"./evm/connectors/phantom/dist/thirdweb-dev-wallets-evm-connectors-phantom.browser.esm.js",default:"./evm/connectors/phantom/dist/thirdweb-dev-wallets-evm-connectors-phantom.esm.js"},default:"./evm/connectors/phantom/dist/thirdweb-dev-wallets-evm-connectors-phantom.cjs.js"},"./evm/connectors/rainbow":{module:{browser:"./evm/connectors/rainbow/dist/thirdweb-dev-wallets-evm-connectors-rainbow.browser.esm.js",default:"./evm/connectors/rainbow/dist/thirdweb-dev-wallets-evm-connectors-rainbow.esm.js"},default:"./evm/connectors/rainbow/dist/thirdweb-dev-wallets-evm-connectors-rainbow.cjs.js"},"./evm/connectors/injected":{module:{browser:"./evm/connectors/injected/dist/thirdweb-dev-wallets-evm-connectors-injected.browser.esm.js",default:"./evm/connectors/injected/dist/thirdweb-dev-wallets-evm-connectors-injected.esm.js"},default:"./evm/connectors/injected/dist/thirdweb-dev-wallets-evm-connectors-injected.cjs.js"},"./evm/connectors/metamask":{module:{browser:"./evm/connectors/metamask/dist/thirdweb-dev-wallets-evm-connectors-metamask.browser.esm.js",default:"./evm/connectors/metamask/dist/thirdweb-dev-wallets-evm-connectors-metamask.esm.js"},default:"./evm/connectors/metamask/dist/thirdweb-dev-wallets-evm-connectors-metamask.cjs.js"},"./evm/wallets/local-wallet-node":{module:{browser:"./evm/wallets/local-wallet-node/dist/thirdweb-dev-wallets-evm-wallets-local-wallet-node.browser.esm.js",default:"./evm/wallets/local-wallet-node/dist/thirdweb-dev-wallets-evm-wallets-local-wallet-node.esm.js"},default:"./evm/wallets/local-wallet-node/dist/thirdweb-dev-wallets-evm-wallets-local-wallet-node.cjs.js"},"./evm/wallets/wallet-connect-v1":{module:{browser:"./evm/wallets/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect-v1.browser.esm.js",default:"./evm/wallets/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect-v1.esm.js"},default:"./evm/wallets/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect-v1.cjs.js"},"./evm/wallets/crypto-defi-wallet":{module:{browser:"./evm/wallets/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-wallets-crypto-defi-wallet.browser.esm.js",default:"./evm/wallets/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-wallets-crypto-defi-wallet.esm.js"},default:"./evm/wallets/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-wallets-crypto-defi-wallet.cjs.js"},"./evm/connectors/magic-eden":{module:{browser:"./evm/connectors/magic-eden/dist/thirdweb-dev-wallets-evm-connectors-magic-eden.browser.esm.js",default:"./evm/connectors/magic-eden/dist/thirdweb-dev-wallets-evm-connectors-magic-eden.esm.js"},default:"./evm/connectors/magic-eden/dist/thirdweb-dev-wallets-evm-connectors-magic-eden.cjs.js"},"./evm/wallets/aws-secrets-manager":{module:{browser:"./evm/wallets/aws-secrets-manager/dist/thirdweb-dev-wallets-evm-wallets-aws-secrets-manager.browser.esm.js",default:"./evm/wallets/aws-secrets-manager/dist/thirdweb-dev-wallets-evm-wallets-aws-secrets-manager.esm.js"},default:"./evm/wallets/aws-secrets-manager/dist/thirdweb-dev-wallets-evm-wallets-aws-secrets-manager.cjs.js"},"./evm/connectors/core-wallet":{module:{browser:"./evm/connectors/core-wallet/dist/thirdweb-dev-wallets-evm-connectors-core-wallet.browser.esm.js",default:"./evm/connectors/core-wallet/dist/thirdweb-dev-wallets-evm-connectors-core-wallet.esm.js"},default:"./evm/connectors/core-wallet/dist/thirdweb-dev-wallets-evm-connectors-core-wallet.cjs.js"},"./evm/connectors/local-wallet":{module:{browser:"./evm/connectors/local-wallet/dist/thirdweb-dev-wallets-evm-connectors-local-wallet.browser.esm.js",default:"./evm/connectors/local-wallet/dist/thirdweb-dev-wallets-evm-connectors-local-wallet.esm.js"},default:"./evm/connectors/local-wallet/dist/thirdweb-dev-wallets-evm-connectors-local-wallet.cjs.js"},"./evm/connectors/smart-wallet":{module:{browser:"./evm/connectors/smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-smart-wallet.browser.esm.js",default:"./evm/connectors/smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-smart-wallet.esm.js"},default:"./evm/connectors/smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-smart-wallet.cjs.js"},"./evm/connectors/wallet-connect":{module:{browser:"./evm/connectors/wallet-connect/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect.browser.esm.js",default:"./evm/connectors/wallet-connect/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect.esm.js"},default:"./evm/connectors/wallet-connect/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect.cjs.js"},"./evm/connectors/coinbase-wallet":{module:{browser:"./evm/connectors/coinbase-wallet/dist/thirdweb-dev-wallets-evm-connectors-coinbase-wallet.browser.esm.js",default:"./evm/connectors/coinbase-wallet/dist/thirdweb-dev-wallets-evm-connectors-coinbase-wallet.esm.js"},default:"./evm/connectors/coinbase-wallet/dist/thirdweb-dev-wallets-evm-connectors-coinbase-wallet.cjs.js"},"./evm/connectors/embedded-wallet":{module:{browser:"./evm/connectors/embedded-wallet/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet.browser.esm.js",default:"./evm/connectors/embedded-wallet/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet.esm.js"},default:"./evm/connectors/embedded-wallet/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet.cjs.js"},"./evm/wallets/token-bound-smart-wallet":{module:{browser:"./evm/wallets/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.browser.esm.js",default:"./evm/wallets/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.esm.js"},default:"./evm/wallets/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.cjs.js"},"./evm/connectors/wallet-connect-v1":{module:{browser:"./evm/connectors/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect-v1.browser.esm.js",default:"./evm/connectors/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect-v1.esm.js"},default:"./evm/connectors/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect-v1.cjs.js"},"./evm/connectors/crypto-defi-wallet":{module:{browser:"./evm/connectors/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-connectors-crypto-defi-wallet.browser.esm.js",default:"./evm/connectors/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-connectors-crypto-defi-wallet.esm.js"},default:"./evm/connectors/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-connectors-crypto-defi-wallet.cjs.js"},"./evm/connectors/token-bound-smart-wallet":{module:{browser:"./evm/connectors/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.browser.esm.js",default:"./evm/connectors/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.esm.js"},default:"./evm/connectors/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.cjs.js"},"./evm/connectors/embedded-wallet/implementations":{module:{browser:"./evm/connectors/embedded-wallet/implementations/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet-implementations.browser.esm.js",default:"./evm/connectors/embedded-wallet/implementations/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet-implementations.esm.js"},default:"./evm/connectors/embedded-wallet/implementations/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet-implementations.cjs.js"},"./package.json":"./package.json"},types:"dist/thirdweb-dev-wallets.cjs.d.ts",repository:"https://github.com/thirdweb-dev/js/tree/main/legacy_packages/wallets",license:"Apache-2.0",bugs:{url:"https://github.com/thirdweb-dev/js/issues"},author:"thirdweb eng ",files:["dist/","evm/"],preconstruct:{entrypoints:["index.ts","evm/index.ts","evm/connectors/*/index.ts","evm/connectors/embedded-wallet/implementations/index.ts","evm/wallets/**"],exports:{envConditions:["browser"]}},sideEffects:!1,dependencies:{"@account-abstraction/contracts":"^0.5.0","@blocto/sdk":"0.10.2","@coinbase/wallet-sdk":"^3.9.0","@google-cloud/kms":"^4.4.0","@magic-ext/connect":"^6.7.2","@magic-ext/oauth":"^7.6.2","@magic-sdk/provider":"^13.6.2","@metamask/eth-sig-util":"^4.0.1","@paperxyz/embedded-wallet-service-sdk":"^1.2.5","@paperxyz/sdk-common-utilities":"^0.1.1","@safe-global/safe-core-sdk":"^3.3.5","@safe-global/safe-ethers-adapters":"0.1.0-alpha.19","@safe-global/safe-ethers-lib":"^1.9.4","@thirdweb-dev/chains":"workspace:*","@thirdweb-dev/contracts-js":"workspace:*","@thirdweb-dev/crypto":"workspace:*","@thirdweb-dev/sdk":"workspace:*","@walletconnect/core":"^2.12.1","@walletconnect/ethereum-provider":"2.12.2","@walletconnect/jsonrpc-utils":"^1.0.8","@walletconnect/modal":"^2.6.2","@walletconnect/types":"^2.12.1","@walletconnect/utils":"^2.13.0","@walletconnect/web3wallet":"^1.11.2","asn1.js":"5.4.1","bn.js":"5.2.1",buffer:"^6.0.3","eth-provider":"^0.13.6","ethereumjs-util":"^7.1.5",eventemitter3:"^5.0.1","key-encoder":"2.0.3","magic-sdk":"^13.6.2","web3-core":"1.5.2"},peerDependencies:{"@aws-sdk/client-secrets-manager":"^3.256.0",bs58:"^5.0.0",ethers:"^5.7.2","ethers-aws-kms-signer":"^1.3.2",tweetnacl:"^1.0.3"},peerDependenciesMeta:{tweetnacl:{optional:!0},"@aws-sdk/client-secrets-manager":{optional:!0},"ethers-aws-kms-signer":{optional:!0},bs58:{optional:!0},ethers:{optional:!0}},devDependencies:{"@aws-sdk/client-secrets-manager":"^3.549.0","@babel/plugin-transform-class-properties":"^7.24.1","@babel/plugin-transform-flow-strip-types":"^7.24.1","@babel/plugin-transform-private-methods":"^7.24.1","@microsoft/api-extractor":"^7.43.0","@nomiclabs/hardhat-ethers":"^2.2.3","@preconstruct/cli":"2.7.0","@thirdweb-dev/tsconfig":"workspace:*","@types/bn.js":"^5.1.5",abitype:"1.0.0","babel-plugin-transform-inline-environment-variables":"^0.4.4",bs58:"^5.0.0","cross-env":"^7.0.3","eslint-config-thirdweb":"workspace:*","eslint-plugin-better-tree-shaking":"0.0.4","eslint-plugin-tsdoc":"^0.2.17","ethereum-provider":"^0.7.7",ethers:"^5.7.2","ethers-aws-kms-signer":"^1.3.2",hardhat:"^2.22.2",rimraf:"5.0.5",tweetnacl:"^1.0.3","typedoc-gen":"workspace:*",typescript:"5.4.4"},scripts:{format:"prettier --write 'src/**/*'",lint:"eslint src/",fix:"eslint src/ --fix",clean:"rm -rf dist/",build:"tsc && cross-env THIRDWEB_EWS_SDK_VERSION=$npm_package_version preconstruct build","preconstruct:fix":"preconstruct fix",push:"yalc push",typedoc:"node scripts/typedoc.mjs",test:"vitest run"},engines:{node:">=18"}},Vs0=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]]});var U0,wn=ce(()=>{"use strict";u();p();U0={blocto:"blocto",coin98:"coin98",coinbase:"coinbase",coreWallet:"coreWallet",cryptoDefiWallet:"cryptoDefiWallet",frame:"frame",imtoken:"imToken",localWallet:"localWallet",magicLink:"magicLink",metamask:"metamask",paper:"paper",rainbow:"rainbowWallet",smartWallet:"smartWallet",tokenBoundSmartWallet:"tokenBoundSmartWallet",safe:"safe",trust:"trust",embeddedWallet:"embeddedWallet",walletConnectV1:"walletConnectV1",walletConnect:"walletConnect",phantom:"phantom",okx:"okx",oneKey:"oneKey",rabby:"rabby",xdefi:"xdefi",magicEden:"magicEden"}});var Jc,D9=ce(()=>{"use strict";u();p();Nc();W0();Jc=class extends C6{constructor(e){let{chains:n=n1,options:a}=e;super(),this.chains=n,this.options=a}getBlockExplorerUrls(e){let n=e.explorers?.map(a=>a.url)??[];return n.length>0?n:void 0}isChainUnsupported(e){return!this.chains.some(n=>n.chainId===e)}updateChains(e){this.chains=e}}});var SK,RK,xm,Em,Bn,Er,rc,_t,po=ce(()=>{"use strict";u();p();kt();SK=class extends Error{constructor(e,n){let{cause:a,code:r,data:f}=n;if(!Number.isInteger(r))throw new Error('"code" must be an integer.');if(!e||typeof e!="string")throw new Error('"message" must be a nonempty string.');super(`${e}. Cause: ${JSON.stringify(a)}`),this.cause=a,this.code=r,this.data=f}},RK=class extends SK{constructor(e,n){let{cause:a,code:r,data:f}=n;if(!(Number.isInteger(r)&&r>=1e3&&r<=4999))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,{cause:a,code:r,data:f})}},xm=class extends Error{constructor(){super(...arguments),Pe(this,"name","AddChainError"),Pe(this,"message","Error adding chain")}},Em=class extends Error{constructor(e){let{chainId:n,connectorId:a}=e;super(`Chain "${n}" not configured for connector "${a}".`),Pe(this,"name","ChainNotConfigured")}},Bn=class extends Error{constructor(){super(...arguments),Pe(this,"name","ConnectorNotFoundError"),Pe(this,"message","Connector not found")}},Er=class extends SK{constructor(e){super("Resource unavailable",{cause:e,code:-32002}),Pe(this,"name","ResourceUnavailable")}},rc=class extends RK{constructor(e){super("Error switching chain",{cause:e,code:4902}),Pe(this,"name","SwitchChainError")}},_t=class extends RK{constructor(e){super("User rejected request",{cause:e,code:4001}),Pe(this,"name","UserRejectedRequestError")}}});function vi(t){return typeof t=="string"?Number.parseInt(t,t.trim().substring(0,2)==="0x"?16:10):typeof t=="bigint"?Number(t):t}var ch=ce(()=>{"use strict";u();p()});var P6,Ct,Kr=ce(()=>{"use strict";u();p();W0();P6=class extends C6{},Ct=class extends P6{constructor(e){super(),this.wagmiConnector=e}async connect(e){return this.setupConnectorListeners(),(await this.wagmiConnector.connect(e)).account}disconnect(){return this.wagmiConnector.removeAllListeners("connect"),this.wagmiConnector.removeAllListeners("change"),this.wagmiConnector.disconnect()}isConnected(){return this.wagmiConnector.isAuthorized()}getAddress(){return this.wagmiConnector.getAccount()}getSigner(){return this.wagmiConnector.getSigner()}getProvider(){return this.wagmiConnector.getProvider()}async switchChain(e){if(!this.wagmiConnector.switchChain)throw new Error("Switch chain not supported");await this.wagmiConnector.switchChain(e)}setupConnectorListeners(){this.wagmiConnector.addListener("connect",e=>{this.emit("connect",e)}),this.wagmiConnector.addListener("change",e=>{this.emit("change",e)}),this.wagmiConnector.addListener("disconnect",()=>{this.emit("disconnect")})}async setupListeners(){this.setupConnectorListeners(),await this.wagmiConnector.setupListeners()}updateChains(e){this.wagmiConnector.updateChains(e)}}});function P9(t){let e=new URL(t).hostname;return e.endsWith(".thirdweb.com")||e.endsWith(".thirdweb-dev.com")||e==="localhost"||e==="0.0.0.0"}function Pu(t){return vl(t).map(e=>{try{let n=new URL(e);return n.hostname.endsWith(".thirdweb.com")&&(n.pathname="",n.search=""),n.toString()}catch{return e}})}var _m=ce(()=>{"use strict";u();p();Nc()});async function L9(t,e,n,a,r,f){let i=!1;typeof globalThis<"u"&&"TW_SKIP_FETCH_SETUP"in globalThis&&typeof globalThis.TW_SKIP_FETCH_SETUP=="boolean"&&(i=globalThis.TW_SKIP_FETCH_SETUP);let s=CK(a,r),o={};if(P9(s)){let l=typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis?globalThis.APP_BUNDLE_ID:void 0;f?o["x-secret-key"]=f:r&&(o["x-client-id"]=r,l&&(o["x-bundle-id"]=l)),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(o.authorization=`Bearer ${globalThis.TW_AUTH_TOKEN}`),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(o.authorization=`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`,o["x-authorize-wallet"]="true"),GE(o)}let c=new KE.providers.StaticJsonRpcProvider({url:s,skipFetchSetup:i,headers:o},a),d=new KE.Contract(n,$rn,c);try{return await d.isValidSignature(KE.utils.hashMessage(t),e)===Jrn}catch{return!1}}var KE,$rn,Jrn,Ude,MK,Zs0,Hde,QE=ce(()=>{"use strict";u();p();KE=Ee(Xe());kK();_m();ta();$rn=["function isValidSignature(bytes32 _hash, bytes _signature) public view returns (bytes4)"],Jrn="0x1626ba7e";Ude="0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",MK="0x02101dfB77FDE026414827Fdc604ddAF224F0921",Zs0=5e4,Hde=[{type:"constructor",inputs:[{name:"_entrypoint",type:"address",internalType:"contract IEntryPoint"},{name:"_factory",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"addDeposit",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"entryPoint",inputs:[],outputs:[{name:"",type:"address",internalType:"contract IEntryPoint"}],stateMutability:"view"},{type:"function",name:"execute",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_calldata",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"executeBatch",inputs:[{name:"_target",type:"address[]",internalType:"address[]"},{name:"_value",type:"uint256[]",internalType:"uint256[]"},{name:"_calldata",type:"bytes[]",internalType:"bytes[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"factory",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getAllActiveSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getAllAdmins",inputs:[],outputs:[{name:"",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAllSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getMessageHash",inputs:[{name:"_hash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPermissionsForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissions",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isActiveSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isAdmin",inputs:[{name:"_account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isValidSignature",inputs:[{name:"_hash",type:"bytes32",internalType:"bytes32"},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"magicValue",type:"bytes4",internalType:"bytes4"}],stateMutability:"view"},{type:"function",name:"isValidSigner",inputs:[{name:"_signer",type:"address",internalType:"address"},{name:"_userOp",type:"tuple",internalType:"struct UserOperation",components:[{name:"sender",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"initCode",type:"bytes",internalType:"bytes"},{name:"callData",type:"bytes",internalType:"bytes"},{name:"callGasLimit",type:"uint256",internalType:"uint256"},{name:"verificationGasLimit",type:"uint256",internalType:"uint256"},{name:"preVerificationGas",type:"uint256",internalType:"uint256"},{name:"maxFeePerGas",type:"uint256",internalType:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256",internalType:"uint256"},{name:"paymasterAndData",type:"bytes",internalType:"bytes"},{name:"signature",type:"bytes",internalType:"bytes"}]}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setEntrypointOverride",inputs:[{name:"_entrypointOverride",type:"address",internalType:"contract IEntryPoint"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPermissionsForSigner",inputs:[{name:"_req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"validateUserOp",inputs:[{name:"userOp",type:"tuple",internalType:"struct UserOperation",components:[{name:"sender",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"initCode",type:"bytes",internalType:"bytes"},{name:"callData",type:"bytes",internalType:"bytes"},{name:"callGasLimit",type:"uint256",internalType:"uint256"},{name:"verificationGasLimit",type:"uint256",internalType:"uint256"},{name:"preVerificationGas",type:"uint256",internalType:"uint256"},{name:"maxFeePerGas",type:"uint256",internalType:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256",internalType:"uint256"},{name:"paymasterAndData",type:"bytes",internalType:"bytes"},{name:"signature",type:"bytes",internalType:"bytes"}]},{name:"userOpHash",type:"bytes32",internalType:"bytes32"},{name:"missingAccountFunds",type:"uint256",internalType:"uint256"}],outputs:[{name:"validationData",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"verifySignerPermissionRequest",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"withdrawDepositTo",inputs:[{name:"withdrawAddress",type:"address",internalType:"address payable"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AdminUpdated",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"isAdmin",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"SignerPermissionsUpdated",inputs:[{name:"authorizingSigner",type:"address",indexed:!0,internalType:"address"},{name:"targetSigner",type:"address",indexed:!0,internalType:"address"},{name:"permissions",type:"tuple",indexed:!1,internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});function wa(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})}function mf(t,e,n,a){if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?a:n==="a"?a.call(t):a?a.value:e.get(t)}function VE(t,e){if(!t)throw new Error(e)}function BK(t){let e=document.createElement("iframe");return e.setAttribute("src",t),e.setAttribute("style",rfn),e}function DK(t){document.body.appendChild(t)}function L6(t){let e=t&&t.parentNode;e&&e.removeChild instanceof Function&&e.removeChild(t)}function PK(t,e,n){return wa(this,void 0,void 0,function*(){if((t.status===403||t.status===401)&&(n&&n(),WK(e)),!t.ok){let a=yield t.json(),r=new Error(a?.message||"unknown error");throw r.error_code=a?.error_code,r}return t.json()})}function lo0(){nle=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,n=t.length;e0)throw new Error("Invalid string. Length must be a multiple of 4");f=t[s-2]==="="?2:t[s-1]==="="?1:0,i=new cfn(s*3/4-f),a=f>0?s-4:s;var o=0;for(e=0,n=0;e>16&255,i[o++]=r>>8&255,i[o++]=r&255;return f===2?(r=cd[t.charCodeAt(e)]<<2|cd[t.charCodeAt(e+1)]>>4,i[o++]=r&255):f===1&&(r=cd[t.charCodeAt(e)]<<10|cd[t.charCodeAt(e+1)]<<4|cd[t.charCodeAt(e+2)]>>2,i[o++]=r>>8&255,i[o++]=r&255),i}function lfn(t){return Fu[t>>18&63]+Fu[t>>12&63]+Fu[t>>6&63]+Fu[t&63]}function ufn(t,e,n){for(var a,r=[],f=e;fo?o:s+i));return a===1?(e=t[n-1],r+=Fu[e>>2],r+=Fu[e<<4&63],r+="=="):a===2&&(e=(t[n-2]<<8)+t[n-1],r+=Fu[e>>10],r+=Fu[e>>4&63],r+=Fu[e<<2&63],r+="="),f.push(r),f.join("")}function qK(t,e,n,a,r){var f,i,s=r*8-a-1,o=(1<>1,d=-7,l=n?r-1:0,h=n?-1:1,y=t[e+l];for(l+=h,f=y&(1<<-d)-1,y>>=-d,d+=s;d>0;f=f*256+t[e+l],l+=h,d-=8);for(i=f&(1<<-d)-1,f>>=-d,d+=a;d>0;i=i*256+t[e+l],l+=h,d-=8);if(f===0)f=1-c;else{if(f===o)return i?NaN:(y?-1:1)*(1/0);i=i+Math.pow(2,a),f=f-c}return(y?-1:1)*i*Math.pow(2,f-a)}function uo0(t,e,n,a,r,f){var i,s,o,c=f*8-r-1,d=(1<>1,h=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=a?0:f-1,v=a?1:-1,S=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,i=d):(i=Math.floor(Math.log(e)/Math.LN2),e*(o=Math.pow(2,-i))<1&&(i--,o*=2),i+l>=1?e+=h/o:e+=h*Math.pow(2,1-l),e*o>=2&&(i++,o/=2),i+l>=d?(s=0,i=d):i+l>=1?(s=(e*o-1)*Math.pow(2,r),i=i+l):(s=e*Math.pow(2,l-1)*Math.pow(2,r),i=0));r>=8;t[n+y]=s&255,y+=v,s/=256,r-=8);for(i=i<0;t[n+y]=i&255,y+=v,i/=256,c-=8);t[n+y-v]|=S*128}function NK(){return y0.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function dh(t,e){if(NK()=NK())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+NK().toString(16)+" bytes");return t|0}function Nu(t){return!!(t!=null&&t._isBuffer)}function mo0(t,e){if(Nu(t))return t.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var n=t.length;if(n===0)return 0;for(var a=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return OK(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Eo0(t).length;default:if(a)return OK(t).length;e=(""+e).toLowerCase(),a=!0}}function vfn(t,e,n){var a=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,e>>>=0,n<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Sfn(this,e,n);case"utf8":case"utf-8":return vo0(this,e,n);case"ascii":return Ifn(this,e,n);case"latin1":case"binary":return kfn(this,e,n);case"base64":return Afn(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rfn(this,e,n);default:if(a)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}function N9(t,e,n){var a=t[e];t[e]=t[n],t[n]=a}function yo0(t,e,n,a,r){if(t.length===0)return-1;if(typeof n=="string"?(a=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0)if(r)n=0;else return-1;if(typeof e=="string"&&(e=y0.from(e,a)),Nu(e))return e.length===0?-1:so0(t,e,n,a,r);if(typeof e=="number")return e=e&255,y0.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):so0(t,[e],n,a,r);throw new TypeError("val must be string, number or Buffer")}function so0(t,e,n,a,r){var f=1,i=t.length,s=e.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(t.length<2||e.length<2)return-1;f=2,i/=2,s/=2,n/=2}function o(y,v){return f===1?y[v]:y.readUInt16BE(v*f)}var c;if(r){var d=-1;for(c=n;ci&&(n=i-s),c=n;c>=0;c--){for(var l=!0,h=0;hr&&(a=r)):a=r;var f=e.length;if(f%2!==0)throw new TypeError("Invalid hex string");a>f/2&&(a=f/2);for(var i=0;i239?4:f>223?3:f>191?2:1;if(r+s<=n){var o,c,d,l;switch(s){case 1:f<128&&(i=f);break;case 2:o=t[r+1],(o&192)===128&&(l=(f&31)<<6|o&63,l>127&&(i=l));break;case 3:o=t[r+1],c=t[r+2],(o&192)===128&&(c&192)===128&&(l=(f&15)<<12|(o&63)<<6|c&63,l>2047&&(l<55296||l>57343)&&(i=l));break;case 4:o=t[r+1],c=t[r+2],d=t[r+3],(o&192)===128&&(c&192)===128&&(d&192)===128&&(l=(f&15)<<18|(o&63)<<12|(c&63)<<6|d&63,l>65535&&l<1114112&&(i=l))}}i===null?(i=65533,s=1):i>65535&&(i-=65536,a.push(i>>>10&1023|55296),i=56320|i&1023),a.push(i),r+=s}return Cfn(a)}function Cfn(t){var e=t.length;if(e<=oo0)return String.fromCharCode.apply(String,t);for(var n="",a=0;aa)&&(n=a);for(var r="",f=e;fn)throw new RangeError("Trying to access beyond buffer length")}function Xc(t,e,n,a,r,f){if(!Nu(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function jK(t,e,n,a){e<0&&(e=65535+e+1);for(var r=0,f=Math.min(t.length-n,2);r>>(a?r:1-r)*8}function GK(t,e,n,a){e<0&&(e=4294967295+e+1);for(var r=0,f=Math.min(t.length-n,4);r>>(a?r:3-r)*8&255}function wo0(t,e,n,a,r,f){if(n+a>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function To0(t,e,n,a,r){return r||wo0(t,e,n,4),uo0(t,e,n,a,23,4),n+4}function xo0(t,e,n,a,r){return r||wo0(t,e,n,8),uo0(t,e,n,a,52,8),n+8}function Bfn(t){if(t=Dfn(t).replace(Mfn,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Dfn(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function Pfn(t){return t<16?"0"+t.toString(16):t.toString(16)}function OK(t,e){e=e||1/0;for(var n,a=t.length,r=null,f=[],i=0;i55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&f.push(239,191,189);continue}else if(i+1===a){(e-=3)>-1&&f.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&f.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536}else r&&(e-=3)>-1&&f.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;f.push(n)}else if(n<2048){if((e-=2)<0)break;f.push(n>>6|192,n&63|128)}else if(n<65536){if((e-=3)<0)break;f.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((e-=4)<0)break;f.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return f}function Lfn(t){for(var e=[],n=0;n>8,r=n%256,f.push(r),f.push(a);return f}function Eo0(t){return dfn(Bfn(t))}function KK(t,e,n,a){for(var r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function Nfn(t){return t!==t}function Ofn(t){return t!=null&&(!!t._isBuffer||_o0(t)||Ufn(t))}function _o0(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Ufn(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&_o0(t.slice(0,0))}function Gde(){return wa(this,void 0,void 0,function*(){let{networks:t}=yield fetch("https://api.blocto.app/networks/evm").then(n=>n.json());return t.reduce((n,a)=>Object.assign(Object.assign({},n),{[a.chain_id]:a}),{})})}function Co0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F6(t){"@babel/helpers - typeof";return F6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F6(t)}function Wfn(t,e){if(F6(t)!=="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var a=n.call(t,e||"default");if(F6(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function qfn(t){var e=Wfn(t,"string");return F6(e)==="symbol"?e:String(e)}function co0(t,e){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function LK(t,e,n){return Qfn()?LK=Reflect.construct.bind():LK=function(r,f,i){var s=[null];s.push.apply(s,f);var o=Function.bind.apply(r,s),c=new o;return i&&eB(c,i.prototype),c},LK.apply(null,arguments)}function Kde(t){var e=typeof Map=="function"?new Map:void 0;return Kde=function(a){if(a===null||!Kfn(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(a))return e.get(a);e.set(a,r)}function r(){return LK(a,arguments,tB(this).constructor)}return r.prototype=Object.create(a.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),eB(r,a)},Kde(t)}function Ro0(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function nB(t,e,n,a){typeof a>"u"&&(a=Ro0()),Qde(t,"",0,[],void 0,0,a);var r;try{O9.length===0?r=JSON.stringify(t,e,n):r=JSON.stringify(t,Bo0(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;U9.length!==0;){var f=U9.pop();f.length===4?Object.defineProperty(f[0],f[1],f[3]):f[0][f[1]]=f[2]}}return r}function YE(t,e,n,a){var r=Object.getOwnPropertyDescriptor(a,n);r.get!==void 0?r.configurable?(Object.defineProperty(a,n,{value:t}),U9.push([a,n,e,r])):O9.push([e,n,t]):(a[n]=t,U9.push([a,n,e]))}function Qde(t,e,n,a,r,f,i){f+=1;var s;if(F6(t)==="object"&&t!==null){for(s=0;si.depthLimit){YE(UK,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){YE(UK,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;se?1:0}function Mo0(t,e,n,a){typeof a>"u"&&(a=Ro0());var r=Vde(t,"",0,[],void 0,0,a)||t,f;try{O9.length===0?f=JSON.stringify(r,e,n):f=JSON.stringify(r,Bo0(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;U9.length!==0;){var i=U9.pop();i.length===4?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}}return f}function Vde(t,e,n,a,r,f,i){f+=1;var s;if(F6(t)==="object"&&t!==null){for(s=0;si.depthLimit){YE(UK,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){YE(UK,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;s0)for(var a=0;a"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Zfn(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}function ein(t,e){if(e!=="[Circular]")return e}function tin(t){if(Array.isArray(t))return t}function nin(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var a,r,f,i,s=[],o=!0,c=!1;try{if(f=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;o=!1}else for(;!(o=(a=f.call(n)).done)&&(s.push(a.value),s.length!==e);o=!0);}catch(d){c=!0,r=d}finally{try{if(!o&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw r}}return s}}function do0(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n{u();p();(function(t){t.prod="BLOCTO_SDK",t.dev="BLOCTO_SDK_DEV",t.staging="BLOCTO_SDK_STAGING"})(Hl||(Hl={}));(function(t){t.ETHEREUM="ethereum",t.APTOS="aptos"})(as||(as={}));zde={56:"https://bsc-dataseed1.binance.org",97:"https://data-seed-prebsc-1-s1.binance.org:8545",137:"https://rpc-mainnet.maticvigil.com/",80002:"https://rpc-amoy.polygon.technology/",43114:"https://api.avax.network/ext/bc/C/rpc",43113:"https://api.avax-test.network/ext/bc/C/rpc",42161:"https://arb1.arbitrum.io/rpc",421614:"https://arbitrum-sepolia.blockpi.network/v1/rpc/public",10:"https://mainnet.optimism.io",11155420:"https://sepolia.optimism.io",8453:"https://mainnet.base.org",84532:"https://sepolia.base.org",7777777:"https://rpc.zora.energy",999999999:"https://sepolia.rpc.zora.energy",534352:"https://rpc.scroll.io",534351:"https://sepolia-rpc.scroll.io",59144:"https://rpc.linea.build",1261120:"https://rpc.startale.com/zkatana",81457:"https://rpc.blast.io",168587773:"https://sepolia.blast.io"},eo0={prod:"https://wallet-v2.blocto.app",staging:"https://wallet-v2-staging.blocto.app",dev:"https://wallet-v2-dev.blocto.app"},Xrn={prod:Hl.prod,staging:Hl.staging,dev:Hl.dev},Zrn={1:Hl.prod,2:Hl.dev,3:Hl.dev,4:Hl.dev,5:Hl.staging},efn={1:"https://wallet-v2.blocto.app",2:"https://wallet-v2-dev.blocto.app",3:"https://wallet-v2-dev.blocto.app",4:"https://wallet-v2-dev.blocto.app",5:"https://wallet-v2-staging.blocto.app"};(function(t){t.Mainnet="mainnet",t.Testnet="testnet",t.Devnet="devnet",t.Testing="testing",t.Premainnet="premainnet"})(F9||(F9={}));tfn={1:F9.Mainnet,2:F9.Testnet,3:F9.Devnet,4:F9.Testing,5:F9.Premainnet},nfn={1:"https://fullnode.mainnet.aptoslabs.com/v1",2:"https://fullnode.testnet.aptoslabs.com/v1",3:"https://fullnode.devnet.aptoslabs.com/v1",4:"",5:"https://premainnet.aptosdev.com/v1"},to0=["connect","disconnect","message","chainChanged","accountsChanged"],afn=86400*1e3,Xde="00000000-0000-0000-0000-000000000000",zK="0.10.2",FK=class{constructor(){this.isBlocto=!0,this.isConnecting=!1,this.eventListeners={},this.off=this.removeListener,to0.forEach(e=>{this.eventListeners[e]=[]}),this.appId=Xde}request(e){return wa(this,void 0,void 0,function*(){})}on(e,n){to0.includes(e)&&this.eventListeners[e].push(n)}once(){}removeListener(e,n){let r=this.eventListeners[e].findIndex(f=>f===n);r!==-1&&this.eventListeners[e].splice(r,1)}},rfn="width:100vw;height:100%;position:fixed;top:0;left:0;z-index:2147483646;border:none;box-sizing:border-box;color-scheme:light;inset:0px;display:block;pointer-events:auto;";Cm=(t,e,n=window)=>{function a(r){e(r,()=>n.removeEventListener(t,a))}n.addEventListener(t,a)},ffn=()=>{if(typeof window>"u")return!1;try{window.sessionStorage.setItem("local_storage_supported","1");let t=window.sessionStorage.getItem("local_storage_supported");return window.sessionStorage.removeItem("local_storage_supported"),t==="1"}catch{return!1}},Wde=class{constructor(){this.storage={}}getItem(e){return this[e]||null}setItem(e,n){this.storage[e]=n}removeItem(e){delete this.storage[e]}},ifn=typeof window<"u"?window.memoryStorage:new Wde,Zde=ffn()?window.sessionStorage:ifn,ele=(t,e=null)=>{let n=Zde.getItem(t);try{return n&&JSON.parse(n)||e}catch{return n||e}},tle=(t,e)=>Zde.setItem(t,typeof e=="string"?e:JSON.stringify(e)),WK=t=>{tle(t,""),Zde.removeItem(t)},Im=t=>{let e=ele(t,null);return e?new Date().getTime()>e.expiry||e.v!==zK?(WK(t),null):e?.data:null},$E=(t,e,n)=>{var a,r,f;let i=ele(t),s={data:{code:e?.code||((a=i?.data)===null||a===void 0?void 0:a.code),accounts:Object.assign(Object.assign({},(r=i?.data)===null||r===void 0?void 0:r.accounts),e?.accounts),evm:Object.assign(Object.assign({},(f=i?.data)===null||f===void 0?void 0:f.evm),e?.evm)},expiry:n||i?.expiry||new Date().getTime()+afn,v:zK};tle(t,s)},Lu=(t,e)=>{var n,a,r;return!((n=Im(t))===null||n===void 0)&&n.code?((r=(a=Im(t))===null||a===void 0?void 0:a.accounts)===null||r===void 0?void 0:r[e])||null:(WK(t),null)},sfn=(t,e,n)=>{$E(t,{accounts:{[e]:n}})},ofn=(t,e)=>{$E(t,{accounts:{[e]:void 0}})},JM=(t,e)=>{var n,a,r;return!((n=Im(t))===null||n===void 0)&&n.code?((r=(a=Im(t))===null||a===void 0?void 0:a.evm)===null||r===void 0?void 0:r[e])||null:(WK(t),null)},no0=(t,e,n)=>{$E(t,{evm:{[e]:n}})},ao0=t=>{let e=ele(t);e&&(e.data.evm={},tle(t,e))};ro0=t=>/\S+@\S+\.\S+/.test(t);(function(t){t.INVALID_TRANSACTION="Invalid transaction",t.INVALID_TRANSACTIONS="Invalid transactions",t.INVALID_TRANSACTION_VALUE='Transaction params "value" should be hex-encoded string'})(ZM||(ZM={}));fo0=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},Fu=[],cd=[],cfn=typeof Uint8Array<"u"?Uint8Array:Array,nle=!1;pfn={}.toString,po0=Array.isArray||function(t){return pfn.call(t)=="[object Array]"};hfn=50;y0.TYPED_ARRAY_SUPPORT=fo0.TYPED_ARRAY_SUPPORT!==void 0?fo0.TYPED_ARRAY_SUPPORT:!0;NK();y0.poolSize=8192;y0._augment=function(t){return t.__proto__=y0.prototype,t};y0.from=function(t,e,n){return ho0(null,t,e,n)};y0.TYPED_ARRAY_SUPPORT&&(y0.prototype.__proto__=Uint8Array.prototype,y0.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&y0[Symbol.species]);y0.alloc=function(t,e,n){return bfn(null,t,e,n)};y0.allocUnsafe=function(t){return ale(null,t)};y0.allocUnsafeSlow=function(t){return ale(null,t)};y0.isBuffer=Ofn;y0.compare=function(e,n){if(!Nu(e)||!Nu(n))throw new TypeError("Arguments must be Buffers");if(e===n)return 0;for(var a=e.length,r=n.length,f=0,i=Math.min(a,r);f0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""};y0.prototype.compare=function(e,n,a,r,f){if(!Nu(e))throw new TypeError("Argument must be a Buffer");if(n===void 0&&(n=0),a===void 0&&(a=e?e.length:0),r===void 0&&(r=0),f===void 0&&(f=this.length),n<0||a>e.length||r<0||f>this.length)throw new RangeError("out of range index");if(r>=f&&n>=a)return 0;if(r>=f)return-1;if(n>=a)return 1;if(n>>>=0,a>>>=0,r>>>=0,f>>>=0,this===e)return 0;for(var i=f-r,s=a-n,o=Math.min(i,s),c=this.slice(r,f),d=e.slice(n,a),l=0;lf)&&(a=f),e.length>0&&(a<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return wfn(this,e,n,a);case"utf8":case"utf-8":return Tfn(this,e,n,a);case"ascii":return go0(this,e,n,a);case"latin1":case"binary":return xfn(this,e,n,a);case"base64":return Efn(this,e,n,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _fn(this,e,n,a);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}};y0.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};oo0=4096;y0.prototype.slice=function(e,n){var a=this.length;e=~~e,n=n===void 0?a:~~n,e<0?(e+=a,e<0&&(e=0)):e>a&&(e=a),n<0?(n+=a,n<0&&(n=0)):n>a&&(n=a),n0&&(f*=256);)r+=this[e+--n]*f;return r};y0.prototype.readUInt8=function(e,n){return n||Ps(e,1,this.length),this[e]};y0.prototype.readUInt16LE=function(e,n){return n||Ps(e,2,this.length),this[e]|this[e+1]<<8};y0.prototype.readUInt16BE=function(e,n){return n||Ps(e,2,this.length),this[e]<<8|this[e+1]};y0.prototype.readUInt32LE=function(e,n){return n||Ps(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};y0.prototype.readUInt32BE=function(e,n){return n||Ps(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};y0.prototype.readIntLE=function(e,n,a){e=e|0,n=n|0,a||Ps(e,n,this.length);for(var r=this[e],f=1,i=0;++i=f&&(r-=Math.pow(2,8*n)),r};y0.prototype.readIntBE=function(e,n,a){e=e|0,n=n|0,a||Ps(e,n,this.length);for(var r=n,f=1,i=this[e+--r];r>0&&(f*=256);)i+=this[e+--r]*f;return f*=128,i>=f&&(i-=Math.pow(2,8*n)),i};y0.prototype.readInt8=function(e,n){return n||Ps(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};y0.prototype.readInt16LE=function(e,n){n||Ps(e,2,this.length);var a=this[e]|this[e+1]<<8;return a&32768?a|4294901760:a};y0.prototype.readInt16BE=function(e,n){n||Ps(e,2,this.length);var a=this[e+1]|this[e]<<8;return a&32768?a|4294901760:a};y0.prototype.readInt32LE=function(e,n){return n||Ps(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};y0.prototype.readInt32BE=function(e,n){return n||Ps(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};y0.prototype.readFloatLE=function(e,n){return n||Ps(e,4,this.length),qK(this,e,!0,23,4)};y0.prototype.readFloatBE=function(e,n){return n||Ps(e,4,this.length),qK(this,e,!1,23,4)};y0.prototype.readDoubleLE=function(e,n){return n||Ps(e,8,this.length),qK(this,e,!0,52,8)};y0.prototype.readDoubleBE=function(e,n){return n||Ps(e,8,this.length),qK(this,e,!1,52,8)};y0.prototype.writeUIntLE=function(e,n,a,r){if(e=+e,n=n|0,a=a|0,!r){var f=Math.pow(2,8*a)-1;Xc(this,e,n,a,f,0)}var i=1,s=0;for(this[n]=e&255;++s=0&&(s*=256);)this[n+i]=e/s&255;return n+a};y0.prototype.writeUInt8=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,1,255,0),y0.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[n]=e&255,n+1};y0.prototype.writeUInt16LE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,2,65535,0),y0.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8):jK(this,e,n,!0),n+2};y0.prototype.writeUInt16BE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,2,65535,0),y0.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=e&255):jK(this,e,n,!1),n+2};y0.prototype.writeUInt32LE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,4,4294967295,0),y0.TYPED_ARRAY_SUPPORT?(this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=e&255):GK(this,e,n,!0),n+4};y0.prototype.writeUInt32BE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,4,4294967295,0),y0.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255):GK(this,e,n,!1),n+4};y0.prototype.writeIntLE=function(e,n,a,r){if(e=+e,n=n|0,!r){var f=Math.pow(2,8*a-1);Xc(this,e,n,a,f-1,-f)}var i=0,s=1,o=0;for(this[n]=e&255;++i>0)-o&255;return n+a};y0.prototype.writeIntBE=function(e,n,a,r){if(e=+e,n=n|0,!r){var f=Math.pow(2,8*a-1);Xc(this,e,n,a,f-1,-f)}var i=a-1,s=1,o=0;for(this[n+i]=e&255;--i>=0&&(s*=256);)e<0&&o===0&&this[n+i+1]!==0&&(o=1),this[n+i]=(e/s>>0)-o&255;return n+a};y0.prototype.writeInt8=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,1,127,-128),y0.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[n]=e&255,n+1};y0.prototype.writeInt16LE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,2,32767,-32768),y0.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8):jK(this,e,n,!0),n+2};y0.prototype.writeInt16BE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,2,32767,-32768),y0.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=e&255):jK(this,e,n,!1),n+2};y0.prototype.writeInt32LE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,4,2147483647,-2147483648),y0.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24):GK(this,e,n,!0),n+4};y0.prototype.writeInt32BE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),y0.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255):GK(this,e,n,!1),n+4};y0.prototype.writeFloatLE=function(e,n,a){return To0(this,e,n,!0,a)};y0.prototype.writeFloatBE=function(e,n,a){return To0(this,e,n,!1,a)};y0.prototype.writeDoubleLE=function(e,n,a){return xo0(this,e,n,!0,a)};y0.prototype.writeDoubleBE=function(e,n,a){return xo0(this,e,n,!1,a)};y0.prototype.copy=function(e,n,a,r){if(a||(a=0),!r&&r!==0&&(r=this.length),n>=e.length&&(n=e.length),n||(n=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-n=0;--i)e[i+n]=this[i+a];else if(f<1e3||!y0.TYPED_ARRAY_SUPPORT)for(i=0;i>>0,a=a===void 0?this.length:a>>>0,e||(e=0);var i;if(typeof e=="number")for(i=n;itypeof t=="string"&&/^0x[0-9A-Fa-f]*$/.test(t),Hfn=t=>y0.from(t,"utf8").toString("hex"),Ao0=t=>!t||typeof t!="object"||!("from"in t)?{isValid:!1,invalidMsg:ZM.INVALID_TRANSACTION}:t.value&&!jde(t.value)?{isValid:!1,invalidMsg:ZM.INVALID_TRANSACTION_VALUE}:{isValid:!0},zfn=t=>{if(!Array.isArray(t))return{isValid:!1,invalidMsg:ZM.INVALID_TRANSACTIONS};for(let e=0;e1&&arguments[1]!==void 0?arguments[1]:r;if(Number.isInteger(h)){var v=h.toString();if(l(e.errorValues,v))return e.errorValues[v].message;if(c(h))return t.JSON_RPC_SERVER_ERROR_MESSAGE}return y}t.getMessageFromCode=i;function s(h){if(!Number.isInteger(h))return!1;var y=h.toString();return!!(e.errorValues[y]||c(h))}t.isValidCode=s;function o(h){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=y.fallbackError,S=v===void 0?f:v,O=y.shouldIncludeStack,F=O===void 0?!1:O,z,W;if(!S||!Number.isInteger(S.code)||typeof S.message!="string")throw new Error("Must provide fallback error with integer number code and string message.");if(h instanceof n.EthereumRpcError)return h.serialize();var j={};if(h&&F6(h)==="object"&&!Array.isArray(h)&&l(h,"code")&&s(h.code)){var Q=h;j.code=Q.code,Q.message&&typeof Q.message=="string"?(j.message=Q.message,l(Q,"data")&&(j.data=Q.data)):(j.message=i(j.code),j.data={originalError:d(h)})}else{j.code=S.code;var V=(z=h)===null||z===void 0?void 0:z.message;j.message=V&&typeof V=="string"?V:S.message,j.data={originalError:d(h)}}var X=(W=h)===null||W===void 0?void 0:W.stack;return F&&h&&X&&typeof X=="string"&&(j.stack=X),j}t.serializeError=o;function c(h){return h>=-32099&&h<=-32e3}function d(h){return h&&F6(h)==="object"&&!Array.isArray(h)?Object.assign({},h):h}function l(h,y){return Object.prototype.hasOwnProperty.call(h,y)}})(fle);QK={};Object.defineProperty(QK,"__esModule",{value:!0});QK.ethErrors=void 0;ile=km,Fo0=fle,d1=Sm;QK.ethErrors={rpc:{parse:function(e){return od(d1.errorCodes.rpc.parse,e)},invalidRequest:function(e){return od(d1.errorCodes.rpc.invalidRequest,e)},invalidParams:function(e){return od(d1.errorCodes.rpc.invalidParams,e)},methodNotFound:function(e){return od(d1.errorCodes.rpc.methodNotFound,e)},internal:function(e){return od(d1.errorCodes.rpc.internal,e)},server:function(e){if(!e||F6(e)!=="object"||Array.isArray(e))throw new Error("Ethereum RPC Server errors must provide single object argument.");var n=e.code;if(!Number.isInteger(n)||n>-32005||n<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return od(n,e)},invalidInput:function(e){return od(d1.errorCodes.rpc.invalidInput,e)},resourceNotFound:function(e){return od(d1.errorCodes.rpc.resourceNotFound,e)},resourceUnavailable:function(e){return od(d1.errorCodes.rpc.resourceUnavailable,e)},transactionRejected:function(e){return od(d1.errorCodes.rpc.transactionRejected,e)},methodNotSupported:function(e){return od(d1.errorCodes.rpc.methodNotSupported,e)},limitExceeded:function(e){return od(d1.errorCodes.rpc.limitExceeded,e)}},provider:{userRejectedRequest:function(e){return XM(d1.errorCodes.provider.userRejectedRequest,e)},unauthorized:function(e){return XM(d1.errorCodes.provider.unauthorized,e)},unsupportedMethod:function(e){return XM(d1.errorCodes.provider.unsupportedMethod,e)},disconnected:function(e){return XM(d1.errorCodes.provider.disconnected,e)},chainDisconnected:function(e){return XM(d1.errorCodes.provider.chainDisconnected,e)},custom:function(e){if(!e||F6(e)!=="object"||Array.isArray(e))throw new Error("Ethereum Provider custom errors must provide single object argument.");var n=e.code,a=e.message,r=e.data;if(!a||typeof a!="string")throw new Error('"message" must be a nonempty string');return new ile.EthereumProviderError(n,a,r)}}};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.getMessageFromCode=t.serializeError=t.EthereumProviderError=t.EthereumRpcError=t.ethErrors=t.errorCodes=void 0;var e=km;Object.defineProperty(t,"EthereumRpcError",{enumerable:!0,get:function(){return e.EthereumRpcError}}),Object.defineProperty(t,"EthereumProviderError",{enumerable:!0,get:function(){return e.EthereumProviderError}});var n=fle;Object.defineProperty(t,"serializeError",{enumerable:!0,get:function(){return n.serializeError}}),Object.defineProperty(t,"getMessageFromCode",{enumerable:!0,get:function(){return n.getMessageFromCode}});var a=QK;Object.defineProperty(t,"ethErrors",{enumerable:!0,get:function(){return a.ethErrors}});var r=Sm;Object.defineProperty(t,"errorCodes",{enumerable:!0,get:function(){return r.errorCodes}})})(jn);$de=class extends FK{get existedSDK(){if(!(typeof window>"u"))return window.ethereum}constructor(e){var n;if(super(),Qr.add(this),this.networkVersion="1",this.off=this.removeListener,this.injectedWalletServer=e.walletServer,this._blocto={sessionKeyEnv:Hl.prod,walletServer:this.injectedWalletServer||"",blockchainName:"",networkType:"",switchableNetwork:{}},this.appId=e.appId||Xde,"chainId"in e){let{chainId:a,rpc:r}=e;VE(a,"'chainId' is required"),this.networkVersion=`${l1(a)}`,this.chainId=`0x${l1(a).toString(16)}`,this.rpc=r||zde[this.networkVersion],VE(this.rpc,"'rpc' is required")}else{let{defaultChainId:a,switchableChains:r}=e;VE(a,"'defaultChainId' is required"),this.networkVersion=`${l1(a)}`,this.chainId=`0x${l1(a).toString(16)}`;let f=r.find(i=>l1(i.chainId)===l1(a));if(!f)throw jn.ethErrors.provider.custom({code:1001,message:`Chain ${a} is not in switchableChains list`});this.rpc=((n=f.rpcUrls)===null||n===void 0?void 0:n[0])||zde[this.networkVersion],VE(this.rpc,"'rpc' is required"),this._blocto.unloadedNetwork=r}}send(e,n){return wa(this,void 0,void 0,function*(){switch(!0){case n instanceof Function:return this.sendAsync(e,n);case(typeof e=="string"&&Array.isArray(n)):return this.sendAsync({jsonrpc:"2.0",method:e,params:n});default:return this.sendAsync(e)}})}sendAsync(e,n){return wa(this,void 0,void 0,function*(){let a=s=>s.reduce((o,c)=>{var d;return c.method==="eth_sendTransaction"?o.sendRequests.push((d=c.params)===null||d===void 0?void 0:d[0]):o.otherRequests.push(this.request(c)),o},{sendRequests:[],otherRequests:[]});function r(s){return{id:String(s.id),jsonrpc:"2.0",method:s.method}}function f(s,o){let c=[],d=1;return s.forEach(l=>{let h=r(l);l.method==="eth_sendTransaction"?(h.result=o[0].value,h.error=o[0].status!=="fulfilled"?o[0].reason:void 0):d{if(Array.isArray(e)){let{sendRequests:o,otherRequests:c}=a(e),d={method:"wallet_sendMultiCallTransaction",params:[o,!1]},l=o.length===0,h=Math.floor(Math.random()*1e4),y=l?[...c]:[this.request(d),...c];Promise.allSettled(y).then(v=>{if(l)return s(v.map((O,F)=>{var z;return{id:String(((z=e[F])===null||z===void 0?void 0:z.id)||h+F+1),jsonrpc:"2.0",method:e[F].method,result:O.status==="fulfilled"?O.value:void 0,error:O.status!=="fulfilled"?O.reason:void 0}}));let S=f(e,v);return s(S)}).catch(v=>{throw jn.ethErrors.rpc.internal(v?.message)})}else this.request(Object.assign(Object.assign({},e),{id:Number(e.id)})).then(s)});if(typeof n=="function")i.then(s=>n(null,s)).catch(s=>n(s));else return i})}sendUserOperation(e){return wa(this,void 0,void 0,function*(){return this.request({method:"eth_sendUserOperation",params:[e]})})}request(e){var n,a,r,f,i,s,o,c;return wa(this,void 0,void 0,function*(){if(Array.isArray(e))return this.sendAsync(e);if(!e?.method)throw jn.ethErrors.rpc.invalidRequest();let{blockchainName:d,switchableNetwork:l,sessionKeyEnv:h}=yield mf(this,Qr,"m",fc).call(this);if(!((n=this.existedSDK)===null||n===void 0)&&n.isBlocto){if(e.method==="wallet_switchEthereumChain"){if(!(!((r=(a=e?.params)===null||a===void 0?void 0:a[0])===null||r===void 0)&&r.chainId))throw jn.ethErrors.rpc.invalidParams();return this.existedSDK.request(e).then(()=>{var y,v,S;return this.networkVersion=`${l1((y=e?.params)===null||y===void 0?void 0:y[0].chainId)}`,this.chainId=`0x${l1((v=e?.params)===null||v===void 0?void 0:v[0].chainId).toString(16)}`,this.rpc=(S=l?.[this.networkVersion])===null||S===void 0?void 0:S.rpc_url,null})}return this.existedSDK.request(e)}switch(e.method){case"eth_chainId":return this.chainId;case"net_version":return this.networkVersion;case"wallet_addEthereumChain":return this.loadSwitchableNetwork(e?.params||[]);case"eth_blockNumber":case"web3_clientVersion":case"eth_call":{let y=yield this.handleReadRequests(e);if(!y||y&&!y.result&&y.error){let v=!((f=y?.error)===null||f===void 0)&&f.message?y.error.message:"Request failed";throw jn.ethErrors.rpc.internal(v)}return typeof e?.callback=="function"&&e.callback(null,y.result),y.result}case"wallet_switchEthereumChain":return this.handleSwitchChain((s=(i=e?.params)===null||i===void 0?void 0:i[0])===null||s===void 0?void 0:s.chainId);case"wallet_disconnect":return this.handleDisconnect();case"eth_accounts":return JM(h,d)||[]}if(!JM(h,d)){let y=(o=e?.params)===null||o===void 0?void 0:o[0];e.method==="eth_requestAccounts"&&ro0(y)?yield this.enable(y):yield this.enable()}try{let y=null,v=null;switch(e.method){case"eth_requestAccounts":{v=yield this.fetchAccounts();break}case"eth_coinbase":{v=(c=JM(h,d))===null||c===void 0?void 0:c[0];break}case"eth_signTypedData_v3":case"eth_signTypedData":case"eth_signTypedData_v4":case"personal_sign":{v=yield this.handleSign(e);break}case"eth_sign":throw jn.ethErrors.rpc.methodNotFound("Method Not Supported: eth_sign has been disabled");case"eth_sendTransaction":v=yield this.handleSendTransaction(e);break;case"wallet_sendMultiCallTransaction":v=yield this.handleSendBatchTransaction(e);break;case"eth_signTransaction":case"eth_sendRawTransaction":throw jn.ethErrors.rpc.methodNotSupported("Method Not Supported: "+e.method);case"eth_sendUserOperation":v=yield this.handleSendUserOperation(e);break;case"eth_estimateUserOperationGas":case"eth_getUserOperationByHash":case"eth_getUserOperationReceipt":case"eth_supportedEntryPoints":v=yield this.handleBundler(e);break;default:y=yield this.handleReadRequests(e)}if(y&&!y.result&&y.error){let S=y.error.message?y.error.message:"Request failed";throw jn.ethErrors.rpc.internal(S)}return y?y.result:v}catch(y){throw jn.ethErrors.rpc.internal(y?.message)}})}bloctoApi(e,n){var a;return wa(this,void 0,void 0,function*(){let{walletServer:r,blockchainName:f,sessionKeyEnv:i}=yield mf(this,Qr,"m",fc).call(this),s=((a=Im(i))===null||a===void 0?void 0:a.code)||"";if(!s)throw jn.ethErrors.provider.unauthorized();return fetch(`${r}/api/${f}${e}`,Object.assign({headers:{"Content-Type":"application/json","Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":s}},n)).then(o=>PK(o,i,()=>{var c;(c=this.eventListeners)===null||c===void 0||c.disconnect.forEach(d=>d(jn.ethErrors.provider.disconnected()))})).catch(o=>{throw o?.error_code==="unsupported_method"?jn.ethErrors.rpc.methodNotSupported("Method Not Supported: "+o.message):jn.ethErrors.rpc.server({code:-32005,message:`Blocto server error: ${o.message}`})})})}responseListener(e,n){return wa(this,void 0,void 0,function*(){let{walletServer:a}=yield mf(this,Qr,"m",fc).call(this);return new Promise((r,f)=>Cm("message",(i,s)=>{let o=i;o.origin===a&&o.data.type==="ETH:FRAME:RESPONSE"&&(o.data.status==="APPROVED"&&(s(),L6(e),r(o.data[n])),o.data.status==="DECLINED"&&(s(),L6(e),o.data.errorCode==="incorrect_session_id"&&this.handleDisconnect(),f(jn.ethErrors.provider.userRejectedRequest(o.data.errorMessage)))),o.data.type==="ETH:FRAME:CLOSE"&&(s(),L6(e),f(jn.ethErrors.provider.userRejectedRequest("User declined the request")))}))})}setIframe(e,n){return wa(this,void 0,void 0,function*(){if(typeof window>"u")throw jn.ethErrors.provider.custom({code:1001,message:"Blocto SDK only works in browser environment"});let{walletServer:a,blockchainName:r}=yield mf(this,Qr,"m",fc).call(this),f=BK(`${a}/${this.appId}/${n||r}${e}`);return DK(f),f})}enable(e){var n;return wa(this,void 0,void 0,function*(){if(typeof window>"u")throw jn.ethErrors.provider.custom({code:1001,message:"Blocto SDK only works in browser environment"});let{walletServer:a,blockchainName:r,sessionKeyEnv:f}=yield mf(this,Qr,"m",fc).call(this);if(!((n=this.existedSDK)===null||n===void 0)&&n.isBlocto)return this.existedSDK.chainId!==this.chainId&&(yield this.existedSDK.request({method:"wallet_addEthereumChain",params:[{chainId:this.chainId}]}),yield this.existedSDK.request({method:"wallet_switchEthereumChain",params:[{chainId:this.chainId}]}),no0(f,r,[this.existedSDK.address])),new Promise((d,l)=>setTimeout(()=>this.existedSDK.enable().then(d).catch(l),10));let i=JM(f,r);if(i)return new Promise(d=>{d(i)});let s=new URLSearchParams;s.set("l6n",window.location.origin),s.set("v",zK),s.set("q",`${window.location.pathname}${window.location.search}`);let o=e&&ro0(e)?`/${e}`:"",c=yield this.setIframe(`/authn${o}?${s.toString()}`);return new Promise((d,l)=>{Cm("message",(h,y)=>{var v,S;let O=h;O.origin===a&&(O.data.type==="ETH:FRAME:RESPONSE"&&(y(),L6(c),(v=this.eventListeners)===null||v===void 0||v.connect.forEach(F=>F({chainId:this.chainId})),$E(f,{code:O.data.code,evm:{[r]:[O.data.addr]}},O.data.exp),!((S=O.data)===null||S===void 0)&&S.isAccountChanged&&postMessage({originChain:as.ETHEREUM,type:"BLOCTO_SDK:ACCOUNT_CHANGED"}),Cm("message",(F,z)=>{var W,j,Q;let V=F,X=((W=V.data)===null||W===void 0?void 0:W.type)==="BLOCTO_SDK:ACCOUNT_CHANGED",K=((j=V.data)===null||j===void 0?void 0:j.originChain)!==as.ETHEREUM;X&&((Q=this.eventListeners)===null||Q===void 0||Q.accountsChanged.forEach(G=>G([O.data.addr]))),X&&K&&(this.handleDisconnect(),z())}),d([O.data.addr])),O.data.type==="ETH:FRAME:CLOSE"&&(y(),L6(c),l(jn.ethErrors.provider.userRejectedRequest())))})})})}fetchAccounts(){return wa(this,void 0,void 0,function*(){mf(this,Qr,"m",Am).call(this);let{blockchainName:e,sessionKeyEnv:n}=yield mf(this,Qr,"m",fc).call(this),{accounts:a}=yield this.bloctoApi("/accounts");return no0(n,e,a),a})}handleReadRequests(e){return wa(this,void 0,void 0,function*(){return mf(this,Qr,"m",Am).call(this),fetch(this.rpc,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Object.assign({id:1,jsonrpc:"2.0"},e))}).then(n=>n.json()).catch(n=>{throw jn.ethErrors.rpc.internal(n)})})}handleSign({method:e,params:n}){return wa(this,void 0,void 0,function*(){let a="";if(Array.isArray(n)){if(e==="personal_sign")a=jde(n[0])?n[0].slice(2):Hfn(n[0]);else if(["eth_signTypedData","eth_signTypedData_v3","eth_signTypedData_v4"].includes(e)){a=n[1];let{domain:i}=JSON.parse(a);if(jde(i.chainId))throw jn.ethErrors.rpc.invalidParams(`Provided chainId "${i.chainId}" must be a number`);if(l1(i.chainId)!==l1(this.chainId))throw jn.ethErrors.rpc.invalidParams(`Provided chainId "${i.chainId}" must match the active chainId "${l1(this.chainId)}"`)}}mf(this,Qr,"m",Am).call(this);let{signatureId:r}=yield this.bloctoApi("/user-signature",{method:"POST",body:JSON.stringify({method:e,message:a})}),f=yield this.setIframe(`/user-signature/${r}`);return this.responseListener(f,"signature")})}handleSwitchChain(e){var n,a;return wa(this,void 0,void 0,function*(){if(!e)throw jn.ethErrors.rpc.invalidParams();let{walletServer:r,blockchainName:f,sessionKeyEnv:i,switchableNetwork:s}=yield mf(this,Qr,"m",fc).call(this),o=(n=JM(i,f))===null||n===void 0?void 0:n[0],c=l1(this.chainId),d=l1(e);if(c===d)return null;if(!s[d])throw jn.ethErrors.provider.custom({code:4902,message:`Unrecognized chain ID "${d}". Try adding the chain using wallet_addEthereumChain first.`});if(this.networkVersion=`${d}`,this.chainId=`0x${d.toString(16)}`,this.rpc=s[d].rpc_url,this._blocto=Object.assign(Object.assign({},this._blocto),{blockchainName:"",networkType:""}),!o)return(a=this.eventListeners)===null||a===void 0||a.chainChanged.forEach(h=>h(this.chainId)),yield mf(this,Qr,"m",fc).call(this),null;if(s[d].wallet_web_url!==s[c].wallet_web_url)return this.enable().then(([h])=>{var y;return h!==o&&((y=this.eventListeners)===null||y===void 0||y.accountsChanged.forEach(v=>v([h]))),this.eventListeners.chainChanged.forEach(v=>v(this.chainId)),null}).catch(h=>{throw this.networkVersion=`${c}`,this.chainId=`0x${c.toString(16)}`,this.rpc=s[c].rpc_url,this._blocto=Object.assign(Object.assign({},this._blocto),{blockchainName:"",networkType:""}),mf(this,Qr,"m",fc).call(this),h});let l=yield this.setIframe(`/switch-chain?to=${s[d].name}`,s[c].name);return new Promise((h,y)=>{Cm("message",(v,S)=>{var O,F,z,W,j,Q,V,X;let K=v;K.origin===r&&(K.data.type==="ETH:FRAME:RESPONSE"&&(S(),L6(l),!((O=K.data)===null||O===void 0)&&O.addr&&o&&($E(i,{code:(F=K.data)===null||F===void 0?void 0:F.code,evm:{[s[d].name]:[K.data.addr]}},(z=K.data)===null||z===void 0?void 0:z.exp),K.data.addr!==o&&((W=this.eventListeners)===null||W===void 0||W.accountsChanged.forEach(G=>G([K.data.addr])))),(j=this.eventListeners)===null||j===void 0||j.chainChanged.forEach(G=>G(this.chainId)),mf(this,Qr,"m",fc).call(this),h(null)),K.data.type==="ETH:FRAME:CLOSE"&&(S(),L6(l),!((Q=K.data)===null||Q===void 0)&&Q.hasApprovedSwitchChain?((V=this.eventListeners)===null||V===void 0||V.chainChanged.forEach(G=>G(this.chainId)),ao0(i),(X=this.eventListeners)===null||X===void 0||X.disconnect.forEach(G=>G(jn.ethErrors.provider.disconnected())),mf(this,Qr,"m",fc).call(this),h(null)):(this.networkVersion=`${c}`,this.chainId=`0x${c.toString(16)}`,this.rpc=s[c].rpc_url,this._blocto=Object.assign(Object.assign({},this._blocto),{blockchainName:"",networkType:""}),mf(this,Qr,"m",fc).call(this),y(jn.ethErrors.provider.userRejectedRequest()))))})})})}handleSendTransaction(e){var n;return wa(this,void 0,void 0,function*(){mf(this,Qr,"m",Am).call(this);let{isValid:a,invalidMsg:r}=Ao0((n=e.params)===null||n===void 0?void 0:n[0]);if(!a)throw jn.ethErrors.rpc.invalidParams(r);return mf(this,Qr,"m",Yde).call(this,e.params)})}handleSendBatchTransaction(e){return wa(this,void 0,void 0,function*(){mf(this,Qr,"m",Am).call(this);let n,a;Array.isArray(e.params)&&e.params.length>=2?[n,a]=e.params:(n=e.params,a=!1);let r=a||!1,{isValid:f,invalidMsg:i}=zfn(n);if(!f)throw jn.ethErrors.rpc.invalidParams(i);return mf(this,Qr,"m",Yde).call(this,n,r)})}handleSendUserOperation(e){return wa(this,void 0,void 0,function*(){mf(this,Qr,"m",Am).call(this);let{authorizationId:n}=yield this.bloctoApi("/user-operation",{method:"POST",body:JSON.stringify(e.params)}),a=yield this.setIframe(`/user-operation/${n}`);return this.responseListener(a,"userOpHash")})}handleBundler(e){return wa(this,void 0,void 0,function*(){return mf(this,Qr,"m",Am).call(this),this.bloctoApi("/rpc/bundler",{method:"POST",body:JSON.stringify(Object.assign({id:1,jsonrpc:"2.0"},e))})})}handleDisconnect(){var e,n;return wa(this,void 0,void 0,function*(){if(!((e=this.existedSDK)===null||e===void 0)&&e.isBlocto)return this.existedSDK.request({method:"wallet_disconnect"});let{sessionKeyEnv:a}=yield mf(this,Qr,"m",fc).call(this);ao0(a),(n=this.eventListeners)===null||n===void 0||n.disconnect.forEach(r=>r(jn.ethErrors.provider.disconnected()))})}loadSwitchableNetwork(e){return wa(this,void 0,void 0,function*(){if(e?.length){let n=e.map(({chainId:a,rpcUrls:r})=>{if(!a)throw jn.ethErrors.rpc.invalidParams("Empty chainId");let f=`${l1(a)}`;if(this._blocto.switchableNetwork[f])return null;let i=r?.[0]||zde[f];if(!i)throw jn.ethErrors.rpc.invalidParams("rpcUrls required");return mf(this,Qr,"m",Oo0).call(this,{chainId:f,rpcUrls:[i]})});return Promise.all(n).then(()=>null)}else throw jn.ethErrors.rpc.invalidParams("Empty networkList")})}supportChainList(){return wa(this,void 0,void 0,function*(){let e=yield Gde().catch(n=>{throw jn.ethErrors.provider.custom({code:1001,message:`Get blocto server failed: ${n.message}`})});return Object.keys(e).map(n=>{let{display_name:a}=e[n];return{chainId:n,chainName:a}})})}on(e,n){var a;!((a=this.existedSDK)===null||a===void 0)&&a.isBlocto&&this.existedSDK.on(e,n),super.on(e,n)}removeListener(e,n){var a;!((a=this.existedSDK)===null||a===void 0)&&a.isBlocto&&this.existedSDK.off(e,n),super.removeListener(e,n)}};Qr=new WeakSet,fc=function(){var e,n;return wa(this,void 0,void 0,function*(){if(!((e=this._blocto)===null||e===void 0)&&e.unloadedNetwork&&(yield this.loadSwitchableNetwork(this._blocto.unloadedNetwork),delete this._blocto.unloadedNetwork),this._blocto.sessionKeyEnv&&this._blocto.walletServer&&this._blocto.blockchainName&&this._blocto.networkType&&this._blocto.switchableNetwork)return this._blocto;let a=yield Gde().catch(d=>{throw jn.ethErrors.provider.custom({code:1001,message:`Get blocto server failed: ${d.message}`})}),{chain_id:r,name:f,network_type:i,blocto_service_environment:s,display_name:o}=(n=a[this.networkVersion])!==null&&n!==void 0?n:{};if(!r)throw jn.ethErrors.provider.unsupportedMethod(`Get support chain failed: ${this.networkVersion} might not be supported yet.`);let c=this.injectedWalletServer||eo0[s];return this._blocto=Object.assign(Object.assign({},this._blocto),{sessionKeyEnv:Xrn[s],walletServer:c,blockchainName:f,networkType:i,switchableNetwork:Object.assign(Object.assign({},this._blocto.switchableNetwork),{[r]:{name:f,display_name:o,network_type:i,wallet_web_url:c,rpc_url:this.rpc}})}),this._blocto})},Oo0=function({chainId:e,rpcUrls:n}){var a;return wa(this,void 0,void 0,function*(){yield mf(this,Qr,"m",fc).call(this);let r=yield Gde().catch(l=>{throw jn.ethErrors.provider.custom({code:1001,message:`Get blocto server failed: ${l.message}`})}),{chain_id:f,name:i,display_name:s,network_type:o,blocto_service_environment:c}=(a=r[e])!==null&&a!==void 0?a:{};if(!f)throw jn.ethErrors.provider.unsupportedMethod(`Get support chain failed: ${e} might not be supported yet.`);let d=eo0[c];this._blocto.switchableNetwork[f]={name:i,display_name:s,network_type:o,wallet_web_url:d,rpc_url:n[0]}})},Am=function(){var e;if(!((e=this.existedSDK)===null||e===void 0)&&e.isBlocto&&l1(this.existedSDK.chainId)!==l1(this.chainId))throw jn.ethErrors.provider.chainDisconnected()},Yde=function(e,n=!0){return wa(this,void 0,void 0,function*(){let{authorizationId:a}=yield this.bloctoApi("/authz",{method:"POST",body:JSON.stringify([e,n])}),r=new URLSearchParams;r.set("l6n",window.location.origin),r.set("q",`${window.location.pathname}${window.location.search}`);let f=yield this.setIframe(`/authz/${a}?${r.toString()}`);return this.responseListener(f,"txHash")})};fin=t=>{var e,n;let a=Object.assign({},t),{message:r,nonce:f,address:i,application:s,chainId:o}=t;return typeof r!="string"&&(a.message=(e=String(r))!==null&&e!==void 0?e:""),typeof f!="string"&&(a.nonce=(n=String(f))!==null&&n!==void 0?n:""),i&&typeof i!="boolean"&&(a.address=!!i),s&&typeof s!="boolean"&&(a.application=!!s),o&&typeof o!="boolean"&&(a.chainId=!!o),a},Jde=class extends FK{get existedSDK(){if(!(typeof window>"u"))return window.bloctoAptos}constructor({chainId:e,server:n,appId:a}){super(),this.publicKey=[],this.authKey="",this.off=this.removeListener,VE(e,"'chainId' is required"),VE(a,"It is necessary to interact with Blocto wallet via your app id. Please visit https://developers.blocto.app for more details."),this.chainId=e,this.networkName=tfn[e],this.api=nfn[e],this.sessionKey=Zrn[e];let r=efn[e];this.appId=a||Xde,this.server=n||r||""}get publicAccount(){var e;return{address:((e=Lu(this.sessionKey,as.APTOS))===null||e===void 0?void 0:e[0])||null,publicKey:this.publicKey.length?this.publicKey:null,authKey:null,minKeysRequired:2}}network(){return wa(this,void 0,void 0,function*(){return{name:this.networkName,api:this.api,chainId:this.chainId.toString()}})}isConnected(){var e;return wa(this,void 0,void 0,function*(){return!!(!((e=Lu(this.sessionKey,as.APTOS))===null||e===void 0)&&e.length)})}signTransaction(e){var n;return wa(this,void 0,void 0,function*(){if(this.existedSDK)return this.existedSDK.signTransaction(e);throw(yield this.isConnected())||(yield this.connect()),!((n=Lu(this.sessionKey,as.APTOS))===null||n===void 0)&&n.length?new Error("signTransaction method not supported."):new Error("Fail to get account")})}disconnect(){var e;return wa(this,void 0,void 0,function*(){if(this.existedSDK){yield this.existedSDK.disconnect();return}ofn(this.sessionKey,as.APTOS),(e=this.eventListeners)===null||e===void 0||e.disconnect.forEach(n=>n({code:4900,message:"Wallet disconnected"}))})}signAndSubmitTransaction(e,n={}){var a,r;return wa(this,void 0,void 0,function*(){if(this.existedSDK)return this.existedSDK.signAndSubmitTransaction(e,n);if((yield this.isConnected())||(yield this.connect()),!(!((a=Lu(this.sessionKey,as.APTOS))===null||a===void 0)&&a.length))throw new Error("Fail to get account");let i=((r=Im(this.sessionKey))===null||r===void 0?void 0:r.code)||"",{authorizationId:s}=yield fetch(`${this.server}/api/aptos/authz`,{method:"POST",headers:{"Content-Type":"application/json","Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":i},body:JSON.stringify(Object.assign(Object.assign({},e),n))}).then(c=>PK(c,this.sessionKey));if(typeof window>"u")throw new Error("Currently only supported in browser");let o=BK(`${this.server}/${this.appId}/aptos/authz/${s}`);return DK(o),new Promise((c,d)=>Cm("message",(l,h)=>{let y=l;y.origin===this.server&&y.data.type==="APTOS:FRAME:RESPONSE"&&(y.data.status==="APPROVED"&&(h(),L6(o),c({hash:y.data.txHash})),y.data.status==="DECLINED"&&(h(),L6(o),y.data.errorCode==="incorrect_session_id"&&this.disconnect(),d(new Error(y.data.errorMessage))))}))})}signMessage(e){var n,a;return wa(this,void 0,void 0,function*(){let r=fin(e);if(this.existedSDK)return this.existedSDK.signMessage(r);if((yield this.isConnected())||(yield this.connect()),!(!((n=Lu(this.sessionKey,as.APTOS))===null||n===void 0)&&n.length))throw new Error("Fail to get account");if(typeof window>"u")throw new Error("Currently only supported in browser");let i=((a=Im(this.sessionKey))===null||a===void 0?void 0:a.code)||"",{signatureId:s}=yield fetch(`${this.server}/api/aptos/user-signature`,{method:"POST",headers:{"Content-Type":"application/json","Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":i},body:JSON.stringify(r)}).then(d=>PK(d,this.sessionKey)),o=`${this.server}/${this.appId}/aptos/user-signature/${s}`,c=BK(o);return DK(c),new Promise((d,l)=>Cm("message",(h,y)=>{let v=h;v.origin===this.server&&v.data.type==="APTOS:FRAME:RESPONSE"&&(v.data.status==="APPROVED"&&(y(),L6(c),d(v.data)),v.data.status==="DECLINED"&&(y(),L6(c),v.data.errorCode==="incorrect_session_id"&&this.disconnect(),l(new Error(v.data.errorMessage))))}))})}connect(){return wa(this,void 0,void 0,function*(){return this.existedSDK?new Promise((e,n)=>setTimeout(()=>this.existedSDK.connect().then(e).catch(n),10)):new Promise((e,n)=>{var a,r;if(typeof window>"u")return n("Currently only supported in browser");if(!((a=Lu(this.sessionKey,as.APTOS))===null||a===void 0)&&a.length)return e({address:((r=Lu(this.sessionKey,as.APTOS))===null||r===void 0?void 0:r[0])||null,publicKey:this.publicKey,authKey:null,minKeysRequired:2});let f=encodeURIComponent(window.location.origin),i=BK(`${this.server}/${this.appId}/aptos/authn?l6n=${f}&v=${zK}}`);DK(i),Cm("message",(s,o)=>wa(this,void 0,void 0,function*(){var c,d,l,h;let y=s;if(y.origin===this.server){if(y.data.type==="APTOS:FRAME:RESPONSE")if(o(),L6(i),$E(this.sessionKey,{code:y.data.code,accounts:{[as.APTOS]:[y.data.addr]}},y.data.exp),!((c=y.data)===null||c===void 0)&&c.isAccountChanged&&postMessage({originChain:as.APTOS,type:"BLOCTO_SDK:ACCOUNT_CHANGED"}),Cm("message",(v,S)=>{var O,F;let z=v;((O=z.data)===null||O===void 0?void 0:O.type)==="BLOCTO_SDK:ACCOUNT_CHANGED"&&((F=z.data)===null||F===void 0?void 0:F.originChain)!==as.APTOS&&(this.disconnect(),S())}),!((d=Lu(this.sessionKey,as.APTOS))===null||d===void 0)&&d.length)try{let{public_keys:v}=yield fetch(`${this.server}/blocto/aptos/accounts/${(l=Lu(this.sessionKey,as.APTOS))===null||l===void 0?void 0:l[0]}`).then(S=>S.json());this.publicKey=v||[],e({address:((h=Lu(this.sessionKey,as.APTOS))===null||h===void 0?void 0:h[0])||"",publicKey:this.publicKey,authKey:null,minKeysRequired:2})}catch{return n(y)}else return n();y.data.type==="APTOS:FRAME:CLOSE"&&(o(),L6(i),n(new Error("User declined the login request")))}}))})})}fetchAddress(){var e;return wa(this,void 0,void 0,function*(){let n=((e=Im(this.sessionKey))===null||e===void 0?void 0:e.code)||"",{accounts:a}=yield fetch(`${this.server}/api/aptos/accounts`,{headers:{"Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":n}}).then(r=>PK(r,this.sessionKey));return sfn(this.sessionKey,as.APTOS,a),a?.[0]||""})}on(e,n){this.existedSDK&&this.existedSDK.on(e,n),super.on(e,n)}removeListener(e,n){this.existedSDK&&this.existedSDK.off(e,n),super.removeListener(e,n)}},HK=class{constructor({appId:e,ethereum:n,aptos:a}){n&&(this.ethereum=new $de(Object.assign(Object.assign({},n),{appId:e}))),a&&(this.aptos=new Jde(Object.assign(Object.assign({},a),{appId:e})))}}});var Ho0={};V0(Ho0,{BloctoConnector:()=>sle});var aB,sle,zo0=ce(()=>{"use strict";u();p();kt();D9();po();Uo0();aB=Ee(Xe());wn();_m();ch();W0();sle=class extends Jc{constructor(e){let{chains:n,options:a={}}=e;super({chains:n,options:a}),Pe(this,"id",U0.blocto),Pe(this,"name","Blocto"),Pe(this,"ready",!0),this._onAccountsChangedBind=this.onAccountsChanged.bind(this),this._onChainChangedBind=this.onChainChanged.bind(this),this._onDisconnectBind=this.onDisconnect.bind(this)}async connect(e){try{let n=await this.getProvider(e);this.setupListeners(),this.emit("message",{type:"connecting"});let a=await n.request({method:"eth_requestAccounts"}),r=aB.utils.getAddress(a[0]),f=await this.getChainId(),i=this.isChainUnsupported(f);return{account:r,chain:{id:f,unsupported:i},provider:n}}catch(n){throw this._handleConnectReset(),this._isUserRejectedRequestError(n)?new _t(n):n}}async disconnect(){await(await this.getProvider()).request({method:"wallet_disconnect"}),this.removeListeners(),this._handleConnectReset()}async getAccount(){let n=await(await this.getProvider()).request({method:"eth_accounts"}),[a]=n||[];if(!a)throw new Error("No accounts found");return a}async getChainId(){let n=await(await this.getProvider()).request({method:"eth_chainId"});return vi(n)}getProvider(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this._provider){let n=e??this.chains[0]?.chainId??1,a=this.chains.find(r=>r.chainId===n)?.rpc[0];this._provider=new HK({ethereum:{chainId:n,rpc:a},appId:this.options.appId})?.ethereum}if(!this._provider)throw new Bn;return Promise.resolve(this._provider)}async getSigner(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[n,a]=await Promise.all([this.getProvider(),this.getAccount()]);return new aB.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){return!!this._provider?._blocto?.sessionKeyEnv}async switchChain(e){let n=await this.getProvider(),a=aB.utils.hexValue(e),r=this.chains.find(s=>s.chainId===e);if(!r)throw new rc(new Error("chain not found on connector."));if(!(await n.supportChainList())[`${e}`])throw new rc(new Error(`Blocto unsupported chain: ${a}`));try{return await n.request({method:"wallet_addEthereumChain",params:[{chainId:a,rpcUrls:Pu(r)}]}),await n.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]}),r}catch(s){throw this._isUserRejectedRequestError(s)?new _t(s):new rc(s)}}onAccountsChanged(){}async onChainChanged(e){let n=vi(e),a=this.isChainUnsupported(n),r=await this.getAccount();this.emit("change",{chain:{id:n,unsupported:a},account:r})}onDisconnect(){this.emit("disconnect")}async setupListeners(){let e=await this.getProvider();e.on("accountsChanged",this._onAccountsChangedBind),e.on("chainChanged",this._onChainChangedBind),e.on("disconnect",this._onDisconnectBind)}async removeListeners(){let e=await this.getProvider();e.off("accountsChanged",this._onAccountsChangedBind),e.off("chainChanged",this._onChainChangedBind),e.off("disconnect",this._onDisconnectBind)}_isUserRejectedRequestError(e){return/(user rejected)/i.test(e.message)}_handleConnectReset(){this._provider=void 0}}});var VK,iin,sin,oin,Ou,JE=ce(()=>{u();p();VK={Ethereum:"https://ethereum.rpc.thirdweb.com",Goerli:"https://goerli.rpc.thirdweb.com",Mumbai:"https://mumbai.rpc.thirdweb.com",Polygon:"https://polygon.rpc.thirdweb.com",Avalanche:"https://avalanche.rpc.thirdweb.com",Optimism:"https://optimism.rpc.thirdweb.com",OptimismGoerli:"https://optimism-goerli.rpc.thirdweb.com",BSC:"https://binance.rpc.thirdweb.com",BSCTestnet:"https://binance-testnet.rpc.thirdweb.com",ArbitrumOne:"https://arbitrum.rpc.thirdweb.com",ArbitrumGoerli:"https://arbitrum-goerli.rpc.thirdweb.com",Fantom:"https://fantom.rpc.thirdweb.com",FantomTestnet:"https://fantom-testnet.rpc.thirdweb.com",Sepolia:"https://sepolia.rpc.thirdweb.com",AvalancheFuji:"https://avalanche-fuji.rpc.thirdweb.com"},iin=()=>typeof window<"u"&&window.localStorage.getItem("IS_PAPER_DEV")==="true",sin=()=>typeof window<"u"&&window.location.origin.includes("paper.xyz"),oin=()=>typeof window<"u"&&window.location.origin.includes("thirdweb.com"),Ou=()=>{var t;return iin()?(t=window.localStorage.getItem("PAPER_DEV_URL"))!=null?t:"http://localhost:3000":sin()||oin()?window.location.origin:"https://withpaper.com"}});function lle(t){return new Promise(e=>{setTimeout(e,t*1e3)})}function pin(t){let{clientId:e,path:n,queryParams:a}=t,r=new URL(`${n}`,YK());if(a)for(let f of Object.keys(a))r.searchParams.set(f,a[f]?.toString()||"");return r.searchParams.set("clientId",e),r}var JK,qo0,cin,YK,ole,din,cle,lin,dle,iB,lh,Wo0,fB,uin,ule,ple,hle,hin,ble,mle,yle,gle,vle,$K,jo0=ce(()=>{"use strict";u();p();kt();JE();JK=Ee(Xe()),qo0=Ee(qT());qE();cin="/sdk/2022-08-12/embedded-wallet",YK=()=>localStorage.getItem("IS_THIRDWEB_DEV")==="true"?window.localStorage.getItem("THIRDWEB_DEV_URL")??"http://localhost:3000":"https://embedded-wallet.thirdweb.com",ole=t=>`thirdwebEwsWalletUserId-${t}`,din="walletToken",cle=t=>`${din}-${t}`,lin="a",dle=(t,e)=>`${lin}-${t}-${e}`,iB=function(t){return t.COGNITO="Cognito",t.GOOGLE="Google",t.EMAIL_OTP="EmailOtp",t.CUSTOM_JWT="CustomJWT",t.CUSTOM_AUTH_ENDPOINT="CustomAuthEndpoint",t.FACEBOOK="Facebook",t.APPLE="Apple",t.PASSKEY="Passkey",t.EXTERNAL_WALLET="ExternalWallet",t.DISCORD="Discord",t}({}),lh=function(t){return t.LOGGED_OUT="Logged Out",t.LOGGED_IN_WALLET_UNINITIALIZED="Logged In, Wallet Uninitialized",t.LOGGED_IN_NEW_DEVICE="Logged In, New Device",t.LOGGED_IN_WALLET_INITIALIZED="Logged In, Wallet Initialized",t}({}),Wo0=new Map,fB=class{constructor(e){let{clientId:n}=e;this.isSupported=!!window.localStorage,this.clientId=n}async getItem(e){return this.isSupported?window.localStorage.getItem(e):Wo0.get(e)??null}async setItem(e,n){if(this.isSupported)return window.localStorage.setItem(e,n);Wo0.set(e,n)}async removeItem(e){let n=await this.getItem(e);return this.isSupported&&n?(window.localStorage.removeItem(e),!0):!1}async saveAuthCookie(e){await this.setItem(cle(this.clientId),e)}async getAuthCookie(){return this.getItem(cle(this.clientId))}async removeAuthCookie(){return this.removeItem(cle(this.clientId))}async saveDeviceShare(e,n){await this.saveWalletUserId(n),await this.setItem(dle(this.clientId,n),e)}async getDeviceShare(){let e=await this.getWalletUserId();return e?this.getItem(dle(this.clientId,e)):null}async removeDeviceShare(){let e=await this.getWalletUserId();return e?this.removeItem(dle(this.clientId,e)):!1}async getWalletUserId(){return this.getItem(ole(this.clientId))}async saveWalletUserId(e){await this.setItem(ole(this.clientId),e)}async removeWalletUserId(){return this.removeItem(ole(this.clientId))}};uin={height:"100%",width:"100%",border:"none",backgroundColor:"transparent",colorScheme:"light",position:"fixed",top:"0px",right:"0px",zIndex:"2147483646",display:"none"},ule=new Map,ple=class{constructor(e){let{link:n,iframeId:a,container:r=document.body,iframeStyles:f,onIframeInitialize:i}=e;Pe(this,"POLLING_INTERVAL_SECONDS",1.4),this.iframeBaseUrl=YK();let s=document.getElementById(a),o=new URL(n),c="2.5.31";if(o.searchParams.set("sdkVersion",c),!s||s.src!==o.href){if(!s){s=document.createElement("iframe");let l={...uin,...f};Object.assign(s.style,l),s.setAttribute("id",a),s.setAttribute("fetchpriority","high"),r.appendChild(s)}s.src=o.href,s.setAttribute("data-version",c);let d=l=>{if(l.data.eventType==="ewsIframeLoaded"){if(window.removeEventListener("message",d),!s){console.warn("thirdweb Iframe not found");return}this.onIframeLoadHandler(s,i)()}};window.addEventListener("message",d)}this.iframe=s}async onIframeLoadedInitVariables(){return{}}onIframeLoadHandler(e,n){return async()=>{await new Promise(async(r,f)=>{let i=new MessageChannel;i.port1.onmessage=o=>{let{data:c}=o;return i.port1.close(),c.success?(ule.set(e.src,!0),n&&n(),r(!0)):f(new Error(c.error))},e?.contentWindow?.postMessage({eventType:"initIframe",data:await this.onIframeLoadedInitVariables()},this.iframeBaseUrl,[i.port2])})}}async call(e){let{procedureName:n,params:a,showIframe:r=!1}=e;for(;!ule.get(this.iframe.src);)await lle(this.POLLING_INTERVAL_SECONDS);return r&&(this.iframe.style.display="block",await lle(.005)),new Promise((i,s)=>{let o=new MessageChannel;o.port1.onmessage=async c=>{let{data:d}=c;o.port1.close(),r&&(await lle(.1),this.iframe.style.display="none"),d.success?i(d.data):s(new Error(d.error))},this.iframe.contentWindow?.postMessage({eventType:n,data:a},this.iframeBaseUrl,[o.port2])})}destroy(){ule.delete(this.iframe.src)}},hle=class extends ple{constructor(e){let{clientId:n,customizationOptions:a}=e;super({iframeId:hin,link:pin({clientId:n,path:cin,queryParams:a}).href,container:document.body}),this.clientId=n}async onIframeLoadedInitVariables(){let e=new fB({clientId:this.clientId});return{authCookie:await e.getAuthCookie(),deviceShareStored:await e.getDeviceShare(),walletUserId:await e.getWalletUserId(),clientId:this.clientId}}};hin="thirdweb-embedded-wallet-iframe",ble=class{constructor(e){let{querier:n,preLogin:a,postLogin:r,clientId:f}=e;this.LoginQuerier=n,this.preLogin=a,this.postLogin=r,this.clientId=f}async sendEmailLoginOtp(e){let{email:n}=e;return await this.preLogin(),await this.LoginQuerier.call({procedureName:"sendThirdwebEmailLoginOtp",params:{email:n}})}async sendSmsLoginOtp(e){let{phoneNumber:n}=e;return await this.preLogin(),await this.LoginQuerier.call({procedureName:"sendThirdwebSmsLoginOtp",params:{phoneNumber:n}})}},mle=class extends ble{constructor(){super(...arguments),Pe(this,"closeWindow",e=>{let{isWindowOpenedByFn:n,win:a,closeOpenedWindow:r}=e;n?a?.close():a&&r?r(a):a&&a.close()})}async getOauthLoginUrl(e){return await this.LoginQuerier.call({procedureName:"getHeadlessOauthLoginLink",params:{authProvider:e}})}async loginWithModal(){await this.preLogin();let e=await this.LoginQuerier.call({procedureName:"loginWithThirdwebModal",params:void 0,showIframe:!0});return this.postLogin(e)}async loginWithEmailOtp(e){let{email:n}=e;await this.preLogin();let a=await this.LoginQuerier.call({procedureName:"loginWithThirdwebModal",params:{email:n},showIframe:!0});return this.postLogin(a)}getOauthPopUpSizing(e){switch(e){case iB.FACEBOOK:return"width=715, height=555";default:return"width=350, height=500"}}async loginWithOauth(e){let n=e?.openedWindow,a=!1;if(n||(n=window.open("","Login",this.getOauthPopUpSizing(e.oauthProvider)),a=!0),!n)throw new Error("Something went wrong opening pop-up");let[{loginLink:r}]=await Promise.all([this.getOauthLoginUrl(e.oauthProvider),this.preLogin()]);n.location.href=r;let f=await new Promise((i,s)=>{let o=window.setInterval(async()=>{n&&n.closed&&(clearInterval(o),window.removeEventListener("message",c),s(new Error("User closed login window")))},1e3),c=async d=>{if(d.origin===YK()){if(typeof d.data!="object"){s(new Error("Invalid event data"));return}switch(d.data.eventType){case"userLoginSuccess":{window.removeEventListener("message",c),clearInterval(o),this.closeWindow({isWindowOpenedByFn:a,win:n,closeOpenedWindow:e?.closeOpenedWindow}),d.data.authResult&&i(d.data.authResult);break}case"userLoginFailed":{window.removeEventListener("message",c),clearInterval(o),this.closeWindow({isWindowOpenedByFn:a,win:n,closeOpenedWindow:e?.closeOpenedWindow}),s(new Error(d.data.error));break}case"injectDeveloperClientId":{n?.postMessage({eventType:"injectDeveloperClientIdResult",developerClientId:this.clientId,authOption:e.oauthProvider},YK());break}}}};window.addEventListener("message",c)});return this.postLogin({storedToken:{...f.storedToken,shouldStoreCookieString:!0},walletDetails:{...f.walletDetails,isIframeStorageEnabled:!1}})}async loginWithCustomJwt(e){let{encryptionKey:n,jwt:a}=e;await this.preLogin();let r=await this.LoginQuerier.call({procedureName:"loginWithCustomJwt",params:{encryptionKey:n,jwt:a}});return this.postLogin(r)}async loginWithCustomAuthEndpoint(e){let{encryptionKey:n,payload:a}=e;await this.preLogin();let r=await this.LoginQuerier.call({procedureName:"loginWithCustomAuthEndpoint",params:{encryptionKey:n,payload:a}});return this.postLogin(r)}async verifyEmailLoginOtp(e){let{email:n,otp:a,recoveryCode:r}=e,f=await this.LoginQuerier.call({procedureName:"verifyThirdwebEmailLoginOtp",params:{email:n,otp:a,recoveryCode:r}});return this.postLogin(f)}async verifySmsLoginOtp(e){let{phoneNumber:n,otp:a,recoveryCode:r}=e,f=await this.LoginQuerier.call({procedureName:"verifyThirdwebSmsLoginOtp",params:{phoneNumber:n,otp:a,recoveryCode:r}});return this.postLogin(f)}},yle=class{constructor(e){let{clientId:n,querier:a,onAuthSuccess:r}=e;this.clientId=n,this.AuthQuerier=a,this.localStorage=new fB({clientId:n}),this.onAuthSuccess=r,this.BaseLogin=new mle({postLogin:async f=>this.postLogin(f),preLogin:async()=>{await this.preLogin()},querier:a,clientId:n})}async preLogin(){await this.logout()}async postLogin(e){let{storedToken:n,walletDetails:a}=e;return n.shouldStoreCookieString&&await this.localStorage.saveAuthCookie(n.cookieString),await this.onAuthSuccess({storedToken:n,walletDetails:a})}async loginWithModal(){return this.BaseLogin.loginWithModal()}async loginWithEmailOtp(e){return this.BaseLogin.loginWithEmailOtp(e)}async loginWithCustomJwt(e){return this.BaseLogin.loginWithCustomJwt(e)}async loginWithCustomAuthEndpoint(e){return this.BaseLogin.loginWithCustomAuthEndpoint(e)}async loginWithOauth(e){return this.BaseLogin.loginWithOauth(e)}async sendEmailLoginOtp(e){let{email:n}=e;return this.BaseLogin.sendEmailLoginOtp({email:n})}async sendSmsLoginOtp(e){let{phoneNumber:n}=e;return this.BaseLogin.sendSmsLoginOtp({phoneNumber:n})}async verifyEmailLoginOtp(e){return this.BaseLogin.verifyEmailLoginOtp(e)}async verifySmsLoginOtp(e){return this.BaseLogin.verifySmsLoginOtp(e)}async logout(){let{success:e}=await this.AuthQuerier.call({procedureName:"logout",params:void 0}),n=await this.localStorage.removeAuthCookie(),a=await this.localStorage.removeWalletUserId();return{success:e||n||a}}},gle=class t extends JK.Signer{constructor(e){let{provider:n,clientId:a,querier:r}=e;super(),Pe(this,"DEFAULT_ETHEREUM_CHAIN_ID",5),this.clientId=a,this.querier=r,this.endpoint=n.connection?.url,(0,qo0.defineReadOnly)(this,"provider",n)}async getAddress(){let{address:e}=await this.querier.call({procedureName:"getAddress",params:void 0});return e}async signMessage(e){let{signedMessage:n}=await this.querier.call({procedureName:"signMessage",params:{message:e,chainId:(await this.provider?.getNetwork())?.chainId??this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return n}async signTransaction(e){let{signedTransaction:n}=await this.querier.call({procedureName:"signTransaction",params:{transaction:e,chainId:(await this.provider?.getNetwork())?.chainId??this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return n}async sendTransaction(e){if(!this.provider)throw new Error("Provider not found");let a={...await Rl(this.provider),...e};return super.sendTransaction(a)}async _signTypedData(e,n,a){let{signedTypedData:r}=await this.querier.call({procedureName:"signTypedDataV4",params:{domain:e,types:n,message:a,chainId:(await this.provider?.getNetwork())?.chainId??this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return r}connect(e){return new t({clientId:this.clientId,provider:e,querier:this.querier})}},vle=class{constructor(e){let{clientId:n,chain:a,querier:r}=e;this.clientId=n,this.chain=a,this.walletManagerQuerier=r,this.localStorage=new fB({clientId:n})}async postWalletSetUp(e){let{deviceShareStored:n,walletAddress:a,isIframeStorageEnabled:r,walletUserId:f}=e;return r||await this.localStorage.saveDeviceShare(n,f),{walletAddress:a}}async getUserWalletStatus(){let e=await this.walletManagerQuerier.call({procedureName:"getUserStatus",params:void 0});return e.status===lh.LOGGED_IN_WALLET_INITIALIZED?{status:lh.LOGGED_IN_WALLET_INITIALIZED,...e.user,wallet:this}:e.status===lh.LOGGED_IN_NEW_DEVICE?{status:lh.LOGGED_IN_WALLET_UNINITIALIZED,...e.user}:e.status===lh.LOGGED_IN_WALLET_UNINITIALIZED?{status:lh.LOGGED_IN_WALLET_UNINITIALIZED,...e.user}:{status:e.status}}async setChain(e){let{chain:n}=e;this.chain=n}async getEthersJsSigner(e){return new gle({clientId:this.clientId,provider:(0,JK.getDefaultProvider)(e?.rpcEndpoint??VK[this.chain]),querier:this.walletManagerQuerier})}},$K=class{isClientIdLegacyPaper(e){return e.indexOf("-")>0&&e.length===36}constructor(e){let{clientId:n,chain:a,styles:r,onAuthSuccess:f}=e;if(this.isClientIdLegacyPaper(n))throw new Error("You are using a legacy clientId. Please use the clientId found on the thirdweb dashboard settings page");this.clientId=n,this.querier=new hle({clientId:n,customizationOptions:r}),this.wallet=new vle({clientId:n,chain:a,querier:this.querier}),this.auth=new yle({clientId:n,querier:this.querier,onAuthSuccess:async i=>(f?.(i),await this.wallet.postWalletSetUp({...i.walletDetails,walletUserId:i.storedToken.authDetails.userWalletId}),await this.querier.call({procedureName:"initIframe",params:{deviceShareStored:i.walletDetails.deviceShareStored,clientId:this.clientId,walletUserId:i.storedToken.authDetails.userWalletId,authCookie:i.storedToken.cookieString}}),{user:{status:lh.LOGGED_IN_WALLET_INITIALIZED,authDetails:i.storedToken.authDetails,wallet:this.wallet,walletAddress:i.walletDetails.walletAddress}})})}async getUser(){return this.wallet.getUserWalletStatus()}}});var Ko0={};V0(Ko0,{EmbeddedWalletConnector:()=>wle});function bin(t){throw new Error("Invalid param: "+t)}var Go0,wle,min,Qo0=ce(()=>{"use strict";u();p();kt();Go0=Ee(Xe());ch();wn();Kr();jo0();W0();wle=class extends P6{constructor(e){super(),Pe(this,"id",U0.paper),Pe(this,"name","Embedded Wallet"),Pe(this,"ready",!0),Pe(this,"user",null),Pe(this,"onAccountsChanged",async n=>{n.length===0?await this.onDisconnect():this.emit("change",{account:Go0.utils.getAddress(n[0])})}),Pe(this,"onChainChanged",n=>{let a=vi(n),r=this.options.chains.findIndex(f=>f.chainId===a)===-1;this.emit("change",{chain:{id:a,unsupported:r}})}),Pe(this,"onDisconnect",async()=>{this.emit("disconnect")}),this.options=e}getEmbeddedWalletSDK(){return this._embeddedWalletSdk||(this._embeddedWalletSdk=new $K({clientId:this.options.clientId,chain:"Ethereum",onAuthSuccess:this.options.onAuthSuccess})),this._embeddedWalletSdk}async connect(e){if(e){if(!e.authResult)throw new Error("Missing authData - call authenticate() first with your authentication strategy");if(!e.authResult.user)throw new Error("Missing authData.user - call authenticate() first with your authentication strategy");this.user=e.authResult.user}else{let n=await this.authenticate({strategy:"iframe"});if(!n.user)throw new Error("Error connecting User");this.user=n.user}return e?.chainId&&this.switchChain(e.chainId),this.getAddress()}async disconnect(){await this._embeddedWalletSdk?.auth.logout(),this._signer=void 0,this._embeddedWalletSdk=void 0,this.user=null}async getAddress(){if(!this.user)throw new Error("Embedded Wallet is not connected");return await this.getSigner().then(e=>e.getAddress())}async isConnected(){try{return!!await this.getAddress()}catch{return!1}}async getProvider(){let e=await this.getSigner();if(!e.provider)throw new Error("Provider not found");return e.provider}async getSigner(){if(this._signer)return this._signer;let n=await(await this.getUser()).wallet.getEthersJsSigner({rpcEndpoint:this.options.chain.rpc[0]||""});if(!n)throw new Error("Signer not found");return this._signer=n,n}async isAuthorized(){return!1}async switchChain(e){let n=this.options.chains.find(a=>a.chainId===e);if(!n)throw new Error("Chain not configured");try{await this.user?.wallet.setChain({chain:"Ethereum"}),this._signer=await this.user?.wallet.getEthersJsSigner({rpcEndpoint:n.rpc[0]||""}),this.emit("change",{chain:{id:e,unsupported:!1}})}catch(a){console.warn("Failed to switch chain",a)}}async setupListeners(){return Promise.resolve()}updateChains(e){this.options.chains=e}async getUser(){if(!this.user||!this.user.wallet||!this.user.wallet.getEthersJsSigner){let n=await this.getEmbeddedWalletSDK().getUser();switch(n.status){case lh.LOGGED_IN_WALLET_INITIALIZED:{this.user=n;break}default:throw new Error("Embedded Wallet is not authenticated, please authenticate first")}}return this.user}async getEmail(){return(await this.getUser()).authDetails.email}async getPhoneNumber(){return(await this.getUser()).authDetails.phoneNumber}async getRecoveryInformation(){return(await this.getUser()).authDetails}async sendVerificationEmail(e){let{email:n}=e;return this.getEmbeddedWalletSDK().auth.sendEmailLoginOtp({email:n})}async sendVerificationSms(e){let{phoneNumber:n}=e;return this.getEmbeddedWalletSDK().auth.sendSmsLoginOtp({phoneNumber:n})}async authenticate(e){let n=this.getEmbeddedWalletSDK(),a=e.strategy;switch(a){case"email_verification":return await n.auth.verifyEmailLoginOtp({email:e.email,otp:e.verificationCode,recoveryCode:e.recoveryCode});case"phone_number_verification":return await n.auth.verifySmsLoginOtp({phoneNumber:e.phoneNumber,otp:e.verificationCode,recoveryCode:e.recoveryCode});case"apple":case"facebook":case"google":{let r=min[a];return n.auth.loginWithOauth({oauthProvider:r,closeOpenedWindow:e.closeOpenedWindow,openedWindow:e.openedWindow})}case"jwt":return n.auth.loginWithCustomJwt({jwt:e.jwt,encryptionKey:e.encryptionKey});case"auth_endpoint":return n.auth.loginWithCustomAuthEndpoint({payload:e.payload,encryptionKey:e.encryptionKey});case"iframe_email_verification":return n.auth.loginWithEmailOtp({email:e.email});case"iframe":return n.auth.loginWithModal();default:bin(a)}}};min={google:iB.GOOGLE,facebook:iB.FACEBOOK,apple:iB.APPLE}});function Za(t){return typeof t<"u"&&!!t&&"ethereum"in t&&!!t.ethereum}var u1=ce(()=>{"use strict";u();p()});function XK(){function t(e){if(e?.isMetaMask&&!(e.isBraveWallet&&!e._events&&!e._state)&&!e.isRainbow&&!e.isPhantom&&!e.isAvalanche&&!e.isBitKeep&&!e.isMathWallet&&!e.isZerion&&!e.isKuCoinWallet&&!e.isPortal&&!e.isTokenPocket&&!e.isTokenary&&!e.isRabbyWallet&&!e.isImToken)return e}if(Za(globalThis.window))return globalThis.window.ethereum?.providers?globalThis.window.ethereum.providers.find(t):t(globalThis.window.ethereum)}var Tle=ce(()=>{"use strict";u();p();u1()});var Yo0={};V0(Yo0,{InjectedConnector:()=>Ga});function yin(t){if(!t)return"Injected";let e=n=>{if(n.isAvalanche)return"Core Wallet";if(n.isBitKeep)return"BitKeep";if(n.isBraveWallet)return"Brave Wallet";if(n.isCoinbaseWallet)return"Coinbase Wallet";if(n.isExodus)return"Exodus";if(n.isFrame)return"Frame";if(n.isKuCoinWallet)return"KuCoin Wallet";if(n.isMathWallet)return"MathWallet";if(n.isOneInchIOSWallet||n.isOneInchAndroidWallet)return"1inch Wallet";if(n.isOpera)return"Opera";if(n.isPortal)return"Ripio Portal";if(n.isTally)return"Tally";if(n.isTokenPocket)return"TokenPocket";if(n.isTokenary)return"Tokenary";if(n.isTrust||n.isTrustWallet)return"Trust Wallet";if(n.isMetaMask)return"MetaMask";if(n.isImToken)return"imToken"};if(t.providers?.length){let n=new Set,a=1;for(let f of t.providers){let i=e(f);i||(i=`Unknown Wallet #${a}`,a+=1),n.add(i)}let r=[...n];return r.length?r:r[0]??"Injected"}return e(t)??"Injected"}var H9,Ga,p1=ce(()=>{"use strict";u();p();kt();D9();po();u1();_m();H9=Ee(Xe());ch();W0();Ga=class extends Jc{constructor(e){let a={...{shimDisconnect:!0,getProvider:()=>{if(Za(globalThis.window))return globalThis.window.ethereum}},...e.options};super({chains:e.chains,options:a}),Pe(this,"shimDisconnectKey","injected.shimDisconnect"),Pe(this,"onAccountsChanged",async f=>{f.length===0?this.emit("disconnect"):this.emit("change",{account:H9.utils.getAddress(f[0])})}),Pe(this,"onChainChanged",f=>{let i=vi(f),s=this.isChainUnsupported(i);this.emit("change",{chain:{id:i,unsupported:s}})}),Pe(this,"onDisconnect",async f=>{if(f.code===1013&&await this.getProvider())try{if(await this.getAccount())return}catch{}this.emit("disconnect"),this.options.shimDisconnect&&await this.connectorStorage.removeItem(this.shimDisconnectKey)});let r=a.getProvider();if(typeof a.name=="string")this.name=a.name;else if(r){let f=yin(r);a.name?this.name=a.name(f):typeof f=="string"?this.name=f:this.name=f[0]}else this.name="Injected";this.id="injected",this.ready=!!r,this.connectorStorage=e.connectorStorage}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=await n.request({method:"eth_requestAccounts"}),r=H9.utils.getAddress(a[0]),f=await this.getChainId(),i=this.isChainUnsupported(f);if(e.chainId&&f!==e.chainId)try{await this.switchChain(e.chainId),f=e.chainId,i=this.isChainUnsupported(e.chainId)}catch(o){console.error(`Could not switch to chain id: ${e.chainId}`,o)}this.options.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let s={account:r,chain:{id:f,unsupported:i},provider:n};return this.emit("connect",s),s}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}async disconnect(){let e=await this.getProvider();e?.removeListener&&(e.removeListener("accountsChanged",this.onAccountsChanged),e.removeListener("chainChanged",this.onChainChanged),e.removeListener("disconnect",this.onDisconnect),this.options.shimDisconnect&&await this.connectorStorage.removeItem(this.shimDisconnectKey))}async getAccount(){let e=await this.getProvider();if(!e)throw new Bn;let n=await e.request({method:"eth_accounts"});return H9.utils.getAddress(n[0])}async getChainId(){let e=await this.getProvider();if(!e)throw new Bn;return e.request({method:"eth_chainId"}).then(vi)}async getProvider(){let e=this.options.getProvider();return e&&(this._provider=e),this._provider}async getSigner(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[n,a]=await Promise.all([this.getProvider(),this.getAccount()]);return new H9.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){try{if(this.options.shimDisconnect&&!await this.connectorStorage.getItem(this.shimDisconnectKey))return!1;if(!await this.getProvider())throw new Bn;return!!await this.getAccount()}catch{return!1}}async switchChain(e){let n=await this.getProvider();if(!n)throw new Bn;let a=H9.utils.hexValue(e);try{await n.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]});let r=this.chains.find(f=>f.chainId===e);return r||{chainId:e,name:`Chain ${a}`,slug:`${a}`,nativeCurrency:{name:"Ether",decimals:18,symbol:"ETH"},rpc:[""],chain:"",shortName:"",testnet:!0}}catch(r){let f=this.chains.find(i=>i.chainId===e);if(!f)throw new Em({chainId:e,connectorId:this.id});if(r.code===4902||r?.data?.originalError?.code===4902)try{return await n.request({method:"wallet_addEthereumChain",params:[{chainId:a,chainName:f.name,nativeCurrency:f.nativeCurrency,rpcUrls:Pu(f),blockExplorerUrls:this.getBlockExplorerUrls(f)}]}),f}catch(i){throw this.isUserRejectedRequestError(i)?new _t(r):new xm}throw this.isUserRejectedRequestError(r)?new _t(r):new rc(r)}}async setupListeners(){let e=await this.getProvider();e.on&&(e.on("accountsChanged",this.onAccountsChanged),e.on("chainChanged",this.onChainChanged),e.on("disconnect",this.onDisconnect))}isUserRejectedRequestError(e){return e.code===4001}}});var Jo0={};V0(Jo0,{MetaMaskConnector:()=>xle});var $o0,xle,Xo0=ce(()=>{"use strict";u();p();kt();po();wn();p1();$o0=Ee(Xe());Tle();W0();xle=class extends Ga{constructor(e){let a={...{name:"MetaMask",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:XK},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.metamask),this._UNSTABLE_shimOnConnectSelectAccount=a.UNSTABLE_shimOnConnectSelectAccount}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this._UNSTABLE_shimOnConnectSelectAccount&&this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=$o0.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}async switchAccount(){await(await this.getProvider()).request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}}});var Zo0=ce(()=>{u();p()});var e10=ce(()=>{u();p();Cz();xS()});var Ele=ce(()=>{u();p();Zo0();ZT();koe();kS();rx();e10()});function f_(t){let[e,n]=t.split(gin);return{namespace:e,reference:n}}function Yle(t,e=[]){let n=[];return Object.keys(t).forEach(a=>{if(e.length&&!e.includes(a))return;let r=t[a];n.push(...r.accounts)}),n}function L10(t,e){return t.includes(":")?[t]:e.chains||[]}function i_(){return typeof E<"u"&&typeof E.versions<"u"&&typeof E.versions.node<"u"}function j9(){return!(0,Lm.getDocument)()&&!!(0,Lm.getNavigator)()&&navigator.product===xin}function Fm(){return!i_()&&!!(0,Lm.getNavigator)()&&!!(0,Lm.getDocument)()}function yB(){return j9()?e6.reactNative:i_()?e6.node:Fm()?e6.browser:e6.unknown}function F10(){var t;try{return j9()&&typeof global<"u"&&typeof(global==null?void 0:global.Application)<"u"?(t=global.Application)==null?void 0:t.applicationId:void 0}catch{return}}function _in(t,e){let n=r_.parse(t);return n=a10(a10({},n),e),t=r_.stringify(n),t}function N10(){return(0,D10.getWindowMetadata)()||{name:"",description:"",url:"",icons:[""]}}function Ain(){if(yB()===e6.reactNative&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"){let{OS:n,Version:a}=global.Platform;return[n,a].join("-")}let t=Hz();if(t===null)return"unknown";let e=t.os?t.os.replace(" ","").toLowerCase():"unknown";return t.type==="browser"?[e,t.name,t.version].join("-"):[e,t.version].join("-")}function Cin(){var t;let e=yB();return e===e6.browser?[e,((t=(0,Lm.getLocation)())==null?void 0:t.host)||"unknown"].join(":"):e}function Iin(t,e,n){let a=Ain(),r=Cin();return[[t,e].join("-"),[Ein,n].join("-"),a,r].join("/")}function O10({protocol:t,version:e,relayUrl:n,sdkVersion:a,auth:r,projectId:f,useOnCloseEvent:i,bundleId:s}){let o=n.split("?"),c=Iin(t,e,a),d={auth:r,ua:c,projectId:f,useOnCloseEvent:i||void 0,origin:s||void 0},l=_in(o[1]||"",d);return o[0]+"?"+l}function z9(t,e){return t.filter(n=>e.includes(n)).length===t.length}function $le(t){return Object.fromEntries(t.entries())}function Jle(t){return new Map(Object.entries(t))}function yh(t=mh.FIVE_MINUTES,e){let n=(0,mh.toMiliseconds)(t||mh.FIVE_MINUTES),a,r,f;return{resolve:i=>{f&&a&&(clearTimeout(f),a(i))},reject:i=>{f&&r&&(clearTimeout(f),r(i))},done:()=>new Promise((i,s)=>{f=setTimeout(()=>{s(new Error(e))},n),a=i,r=s})}}function s_(t,e,n){return new Promise(async(a,r)=>{let f=setTimeout(()=>r(new Error(n)),e);try{let i=await t;a(i)}catch(i){r(i)}clearTimeout(f)})}function U10(t,e){if(typeof e=="string"&&e.startsWith(`${t}:`))return e;if(t.toLowerCase()==="topic"){if(typeof e!="string")throw new Error('Value must be "string" for expirer target type: topic');return`topic:${e}`}else if(t.toLowerCase()==="id"){if(typeof e!="number")throw new Error('Value must be "number" for expirer target type: id');return`id:${e}`}throw new Error(`Unknown expirer target type: ${t}`)}function H10(t){return U10("topic",t)}function z10(t){return U10("id",t)}function hQ(t){let[e,n]=t.split(":"),a={id:void 0,topic:void 0};if(e==="topic"&&typeof n=="string")a.topic=n;else if(e==="id"&&Number.isInteger(Number(n)))a.id=Number(n);else throw new Error(`Invalid target, expected id:number or topic:string, got ${e}:${n}`);return a}function Fs(t,e){return(0,mh.fromMiliseconds)((e||Date.now())+(0,mh.toMiliseconds)(t))}function Vu(t){return Date.now()>=(0,mh.toMiliseconds)(t)}function Dn(t,e){return`${t}${e?`:${e}`:""}`}function gB(t=[],e=[]){return[...new Set([...t,...e])]}async function W10({id:t,topic:e,wcDeepLink:n}){try{if(!n)return;let r=(typeof n=="string"?JSON.parse(n):n)?.href;if(typeof r!="string")return;r.endsWith("/")&&(r=r.slice(0,-1));let f=`${r}/wc?requestId=${t}&sessionTopic=${e}`,i=yB();i===e6.browser?f.startsWith("https://")||f.startsWith("http://")?window.open(f,"_blank","noreferrer noopener"):window.open(f,"_self","noreferrer noopener"):i===e6.reactNative&&typeof(global==null?void 0:global.Linking)<"u"&&await global.Linking.openURL(f)}catch(a){console.error(a)}}async function q10(t,e){try{return await t.getItem(e)||(Fm()?localStorage.getItem(e):void 0)}catch(n){console.error(n)}}function kin(t){var e=t.default;if(typeof e=="function"){var n=function(){return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(a){var r=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(n,a,r.get?r:{enumerable:!0,get:function(){return t[a]}})}),n}function Min(){try{let t=[];if(["NFD","NFC","NFKD","NFKC"].forEach(e=>{try{if("test".normalize(e)!=="test")throw new Error("bad normalize")}catch{t.push(e)}}),t.length)throw new Error("missing "+t.join(", "));if("\xE9".normalize("NFD")!=="e\u0301")throw new Error("broken implementation")}catch(t){return t.message}return null}function K10(t){return!!t.toHexString}function ZE(t){return t.slice||(t.slice=function(){let e=Array.prototype.slice.call(arguments);return ZE(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function Din(t){return N6(t)&&!(t.length%2)||o_(t)}function c10(t){return typeof t=="number"&&t==t&&t%1===0}function o_(t){if(t==null)return!1;if(t.constructor===Uint8Array)return!0;if(typeof t=="string"||!c10(t.length)||t.length<0)return!1;for(let e=0;e=256)return!1}return!0}function ri(t,e){if(e||(e={}),typeof t=="number"){wi.checkSafeUint53(t,"invalid arrayify value");let n=[];for(;t;)n.unshift(t&255),t=parseInt(String(t/256));return n.length===0&&n.push(0),ZE(new Uint8Array(n))}if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),K10(t)&&(t=t.toHexString()),N6(t)){let n=t.substring(2);n.length%2&&(e.hexPad==="left"?n="0"+n:e.hexPad==="right"?n+="0":wi.throwArgumentError("hex data is odd-length","value",t));let a=[];for(let r=0;rri(r)),n=e.reduce((r,f)=>r+f.length,0),a=new Uint8Array(n);return e.reduce((r,f)=>(a.set(f,r),r+f.length),0),ZE(a)}function Lin(t,e){t=ri(t),t.length>e&&wi.throwArgumentError("value out of range","value",arguments[0]);let n=new Uint8Array(e);return n.set(t,e-t.length),ZE(n)}function N6(t,e){return!(typeof t!="string"||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}function ic(t,e){if(e||(e={}),typeof t=="number"){wi.checkSafeUint53(t,"invalid hexlify value");let n="";for(;t;)n=Ale[t&15]+n,t=Math.floor(t/16);return n.length?(n.length%2&&(n="0"+n),"0x"+n):"0x00"}if(typeof t=="bigint")return t=t.toString(16),t.length%2?"0x0"+t:"0x"+t;if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),K10(t))return t.toHexString();if(N6(t))return t.length%2&&(e.hexPad==="left"?t="0x0"+t.substring(2):e.hexPad==="right"?t+="0":wi.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(o_(t)){let n="0x";for(let a=0;a>4]+Ale[r&15]}return n}return wi.throwArgumentError("invalid hexlify value","value",t)}function Fin(t){if(typeof t!="string")t=ic(t);else if(!N6(t)||t.length%2)return null;return(t.length-2)/2}function d10(t,e,n){return typeof t!="string"?t=ic(t):(!N6(t)||t.length%2)&&wi.throwArgumentError("invalid hexData","value",t),e=2+2*e,n!=null?"0x"+t.substring(e,2+2*n):"0x"+t.substring(e)}function ju(t,e){for(typeof t!="string"?t=ic(t):N6(t)||wi.throwArgumentError("invalid hex string","value",t),t.length>2*e+2&&wi.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}function Q10(t){let e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(Din(t)){let n=ri(t);n.length===64?(e.v=27+(n[32]>>7),n[32]&=127,e.r=ic(n.slice(0,32)),e.s=ic(n.slice(32,64))):n.length===65?(e.r=ic(n.slice(0,32)),e.s=ic(n.slice(32,64)),e.v=n[64]):wi.throwArgumentError("invalid signature string","signature",t),e.v<27&&(e.v===0||e.v===1?e.v+=27:wi.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(n[32]|=128),e._vs=ic(n.slice(32,64))}else{if(e.r=t.r,e.s=t.s,e.v=t.v,e.recoveryParam=t.recoveryParam,e._vs=t._vs,e._vs!=null){let r=Lin(ri(e._vs),32);e._vs=ic(r);let f=r[0]>=128?1:0;e.recoveryParam==null?e.recoveryParam=f:e.recoveryParam!==f&&wi.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),r[0]&=127;let i=ic(r);e.s==null?e.s=i:e.s!==i&&wi.throwArgumentError("signature v mismatch _vs","signature",t)}if(e.recoveryParam==null)e.v==null?wi.throwArgumentError("signature missing v and recoveryParam","signature",t):e.v===0||e.v===1?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(e.v==null)e.v=27+e.recoveryParam;else{let r=e.v===0||e.v===1?e.v:1-e.v%2;e.recoveryParam!==r&&wi.throwArgumentError("signature recoveryParam mismatch v","signature",t)}e.r==null||!N6(e.r)?wi.throwArgumentError("signature missing or invalid r","signature",t):e.r=ju(e.r,32),e.s==null||!N6(e.s)?wi.throwArgumentError("signature missing or invalid s","signature",t):e.s=ju(e.s,32);let n=ri(e.s);n[0]>=128&&wi.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(n[0]|=128);let a=ic(n);e._vs&&(N6(e._vs)||wi.throwArgumentError("signature invalid _vs","signature",t),e._vs=ju(e._vs,32)),e._vs==null?e._vs=a:e._vs!==a&&wi.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}function Xle(t){return"0x"+Sin.keccak_256(ri(t))}function Hin(t){return t!=null&&(mo.isBigNumber(t)||typeof t=="number"&&t%1===0||typeof t=="string"&&!!t.match(/^-?[0-9]+$/)||N6(t)||typeof t=="bigint"||o_(t))}function hB(t){if(typeof t!="string")return hB(t.toString(16));if(t[0]==="-")return t=t.substring(1),t[0]==="-"&&ph.throwArgumentError("invalid hex","value",t),t=hB(t),t==="0x00"?t:"-"+t;if(t.substring(0,2)!=="0x"&&(t="0x"+t),t==="0x")return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&t.substring(0,4)==="0x00";)t="0x"+t.substring(4);return t}function Zc(t){return mo.from(hB(t))}function na(t){let e=mo.from(t).toHexString();return e[0]==="-"?new sQ("-"+e.substring(3),16):new sQ(e.substring(2),16)}function dd(t,e,n){let a={fault:t,operation:e};return n!=null&&(a.value=n),ph.throwError(t,yf.errors.NUMERIC_FAULT,a)}function zin(t){return new sQ(t,36).toString(16)}function X10(t,e,n,a){let r={fault:e,operation:n};return a!==void 0&&(r.value=a),sc.throwError(t,yf.errors.NUMERIC_FAULT,r)}function Zle(t){if(typeof t!="number")try{t=mo.from(t).toNumber()}catch{}return typeof t=="number"&&t>=0&&t<=256&&!(t%1)?"1"+uB.substring(0,t):sc.throwArgumentError("invalid decimal size","decimals",t)}function Ile(t,e){e==null&&(e=0);let n=Zle(e);t=mo.from(t);let a=t.lt($10);a&&(t=t.mul(J10));let r=t.mod(n).toString();for(;r.length2&&sc.throwArgumentError("too many decimal points","value",t);let f=r[0],i=r[1];for(f||(f="0"),i||(i="0");i[i.length-1]==="0";)i=i.substring(0,i.length-1);for(i.length>n.length-1&&X10("fractional component exceeds decimals","underflow","parseFixed"),i===""&&(i="0");i.length>6===2;i++)f++;return f}return t===e_.OVERRUN?n.length-e-1:0}function Gin(t,e,n,a,r){return t===e_.OVERLONG?(a.push(r),0):(a.push(65533),ec0(t,e,n))}function kle(t,e=cQ.current){e!=cQ.current&&(Z10.checkNormalize(),t=t.normalize(e));let n=[];for(let a=0;a>6|192),n.push(r&63|128);else if((r&64512)==55296){a++;let f=t.charCodeAt(a);if(a>=t.length||(f&64512)!==56320)throw new Error("invalid utf-8 string");let i=65536+((r&1023)<<10)+(f&1023);n.push(i>>18|240),n.push(i>>12&63|128),n.push(i>>6&63|128),n.push(i&63|128)}else n.push(r>>12|224),n.push(r>>6&63|128),n.push(r&63|128)}return ri(n)}function Kin(t){if(t.length%4!==0)throw new Error("bad data");let e=[];for(let n=0;n{let f=r.split(":");n+=parseInt(f[0],16),a[n]=e(f[1])}),a}function h10(t){let e=0;return t.split(",").map(n=>{let a=n.split("-");a.length===1?a[1]="0":a[1]===""&&(a[1]="1");let r=e+parseInt(a[0],16);return e=parseInt(a[1],16),{l:r,h:e}})}function Qin(t){t=atob(t);let e=[];for(let n=0;n0&&Array.isArray(s)?r(s,i-1):n.push(s)})};return r(t,e),n}function Vin(t){let e={};for(let n=0;n>--o&1}let l=31,h=Math.pow(2,l),y=h>>>1,v=y>>1,S=h-1,O=0;for(let Q=0;Q1;){let R=V+X>>>1;Q>>1|d(),K=K<<1^y,G=(G^y)<<1|y|1;z=K,W=1+G-K}let j=a-4;return F.map(Q=>{switch(Q-j){case 3:return j+65792+(t[s++]<<16|t[s++]<<8|t[s++]);case 2:return j+256+(t[s++]<<8|t[s++]);case 1:return j+t[s++];default:return Q-1}})}function $in(t){let e=0;return()=>t[e++]}function Jin(t){return $in(Yin(t))}function Xin(t){return t&1?~t>>1:t>>1}function Zin(t,e){let n=Array(t);for(let a=0;ae[i]):n}function tsn(t){let e=[];for(;;){let n=t();if(n==0)break;e.push(asn(n,t))}for(;;){let n=t()-1;if(n<0)break;e.push(rsn(n,t))}return Vin(nc0(e))}function nsn(t){let e=[];for(;;){let n=t();if(n==0)break;e.push(n)}return e}function ac0(t,e,n){let a=Array(t).fill(void 0).map(()=>[]);for(let r=0;ra[i].push(f));return a}function asn(t,e){let n=1+e(),a=e(),r=nsn(e),f=ac0(r.length,1+t,e);return nc0(f.map((i,s)=>{let o=i[0],c=i.slice(1);return Array(r[s]).fill(void 0).map((d,l)=>{let h=l*a;return[o+l*n,c.map(y=>y+h)]})}))}function rsn(t,e){let n=1+e();return ac0(n,1+t,e).map(a=>[a[0],a.slice(1)])}function fsn(t){let e=dQ(t).sort((a,r)=>a-r);return n();function n(){let a=[];for(;;){let c=dQ(t,e);if(c.length==0)break;a.push({set:new Set(c),node:n()})}a.sort((c,d)=>d.set.size-c.set.size);let r=t(),f=r%3;r=r/3|0;let i=!!(r&1);r>>=1;let s=r==1,o=r==2;return{branches:a,valid:f,fe0f:i,save:s,check:o}}}function isn(){return Jin(Qin("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA=="))}function rc0(t){return typeof t=="string"&&(t=kle(t)),Xle(Pin([kle(osn),kle(String(t.length)),t]))}function m10(t){N6(t,20)||dB.throwArgumentError("invalid address","address",t),t=t.toLowerCase();let e=t.substring(2).split(""),n=new Uint8Array(40);for(let r=0;r<40;r++)n[r]=e[r].charCodeAt(0);let a=ri(Xle(n));for(let r=0;r<40;r+=2)a[r>>1]>>4>=8&&(e[r]=e[r].toUpperCase()),(a[r>>1]&15)>=8&&(e[r+1]=e[r+1].toUpperCase());return"0x"+e.join("")}function usn(t){return Math.log10?Math.log10(t):Math.log(t)/Math.LN10}function psn(t){t=t.toUpperCase(),t=t.substring(4)+t.substring(0,2)+"00";let e=t.split("").map(a=>e2e[a]).join("");for(;e.length>=y10;){let a=e.substring(0,y10);e=parseInt(a,10)%97+e.substring(a.length)}let n=String(98-parseInt(e,10)%97);for(;n.length<2;)n="0"+n;return n}function hsn(t){let e=null;if(typeof t!="string"&&dB.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))t.substring(0,2)!=="0x"&&(t="0x"+t),e=m10(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&dB.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==psn(t)&&dB.throwArgumentError("bad icap checksum","address",t),e=zin(t.substring(4));e.length<40;)e="0"+e;e=m10("0x"+e)}else dB.throwArgumentError("invalid address","address",t);return e}function sB(t,e,n){Object.defineProperty(t,e,{enumerable:!0,value:n,writable:!1})}function fc0(t,e){if(!t)throw new Error(e||"Assertion failed")}function Tsn(t,e){return(t.charCodeAt(e)&64512)!==55296||e<0||e+1>=t.length?!1:(t.charCodeAt(e+1)&64512)===56320}function xsn(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if(typeof t=="string")if(e){if(e==="hex")for(t=t.replace(/[^a-z0-9]+/ig,""),t.length%2!==0&&(t="0"+t),r=0;r>6|192,n[a++]=f&63|128):Tsn(t,r)?(f=65536+((f&1023)<<10)+(t.charCodeAt(++r)&1023),n[a++]=f>>18|240,n[a++]=f>>12&63|128,n[a++]=f>>6&63|128,n[a++]=f&63|128):(n[a++]=f>>12|224,n[a++]=f>>6&63|128,n[a++]=f&63|128)}else for(r=0;r>>24|t>>>8&65280|t<<8&16711680|(t&255)<<24;return e>>>0}function _sn(t,e){for(var n="",a=0;a>>0}return f}function Csn(t,e){for(var n=new Array(t.length*4),a=0,r=0;a>>24,n[r+1]=f>>>16&255,n[r+2]=f>>>8&255,n[r+3]=f&255):(n[r+3]=f>>>24,n[r+2]=f>>>16&255,n[r+1]=f>>>8&255,n[r]=f&255)}return n}function Isn(t,e){return t>>>e|t<<32-e}function ksn(t,e){return t<>>32-e}function Ssn(t,e){return t+e>>>0}function Rsn(t,e,n){return t+e+n>>>0}function Msn(t,e,n,a){return t+e+n+a>>>0}function Bsn(t,e,n,a,r){return t+e+n+a+r>>>0}function Dsn(t,e,n,a){var r=t[e],f=t[e+1],i=a+f>>>0,s=(i>>0,t[e+1]=i}function Psn(t,e,n,a){var r=e+a>>>0,f=(r>>0}function Lsn(t,e,n,a){var r=e+a;return r>>>0}function Fsn(t,e,n,a,r,f,i,s){var o=0,c=e;c=c+a>>>0,o+=c>>0,o+=c>>0,o+=c>>0}function Nsn(t,e,n,a,r,f,i,s){var o=e+a+f+s;return o>>>0}function Osn(t,e,n,a,r,f,i,s,o,c){var d=0,l=e;l=l+a>>>0,d+=l>>0,d+=l>>0,d+=l>>0,d+=l>>0}function Usn(t,e,n,a,r,f,i,s,o,c){var d=e+a+f+s+c;return d>>>0}function Hsn(t,e,n){var a=e<<32-n|t>>>n;return a>>>0}function zsn(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}function Wsn(t,e,n){return t>>>n}function qsn(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}function eQ(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}function Ksn(t,e,n,a){if(t===0)return cc0(e,n,a);if(t===1||t===3)return lc0(e,n,a);if(t===2)return dc0(e,n,a)}function cc0(t,e,n){return t&e^~t&n}function dc0(t,e,n){return t&e^t&n^e&n}function lc0(t,e,n){return t^e^n}function Qsn(t){return Gu(t,2)^Gu(t,13)^Gu(t,22)}function Vsn(t){return Gu(t,6)^Gu(t,11)^Gu(t,25)}function Ysn(t){return Gu(t,7)^Gu(t,18)^t>>>3}function $sn(t){return Gu(t,17)^Gu(t,19)^t>>>10}function zu(){if(!(this instanceof zu))return new zu;uc0.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}function Wu(){if(!(this instanceof Wu))return new Wu;pc0.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=pon,this.W=new Array(64)}function hh(){if(!(this instanceof hh))return new hh;bc0.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}function ql(){if(!(this instanceof ql))return new ql;gc0.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=Ton,this.W=new Array(160)}function xon(t,e,n,a,r){var f=t&n^~t&r;return f<0&&(f+=4294967296),f}function Eon(t,e,n,a,r,f){var i=e&a^~e&f;return i<0&&(i+=4294967296),i}function _on(t,e,n,a,r){var f=t&n^t&r^n&r;return f<0&&(f+=4294967296),f}function Aon(t,e,n,a,r,f){var i=e&a^e&f^a&f;return i<0&&(i+=4294967296),i}function Con(t,e){var n=Ku(t,e,28),a=Ku(e,t,2),r=Ku(e,t,7),f=n^a^r;return f<0&&(f+=4294967296),f}function Ion(t,e){var n=Qu(t,e,28),a=Qu(e,t,2),r=Qu(e,t,7),f=n^a^r;return f<0&&(f+=4294967296),f}function kon(t,e){var n=Ku(t,e,14),a=Ku(t,e,18),r=Ku(e,t,9),f=n^a^r;return f<0&&(f+=4294967296),f}function Son(t,e){var n=Qu(t,e,14),a=Qu(t,e,18),r=Qu(e,t,9),f=n^a^r;return f<0&&(f+=4294967296),f}function Ron(t,e){var n=Ku(t,e,1),a=Ku(t,e,8),r=mc0(t,e,7),f=n^a^r;return f<0&&(f+=4294967296),f}function Mon(t,e){var n=Qu(t,e,1),a=Qu(t,e,8),r=yc0(t,e,7),f=n^a^r;return f<0&&(f+=4294967296),f}function Bon(t,e){var n=Ku(t,e,19),a=Ku(e,t,29),r=mc0(t,e,6),f=n^a^r;return f<0&&(f+=4294967296),f}function Don(t,e){var n=Qu(t,e,19),a=Qu(e,t,29),r=yc0(t,e,6),f=n^a^r;return f<0&&(f+=4294967296),f}function bh(){if(!(this instanceof bh))return new bh;wc0.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}function Hu(){if(!(this instanceof Hu))return new Hu;xc0.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function T10(t,e,n,a){return t<=15?e^n^a:t<=31?e&n|~e&a:t<=47?(e|~n)^a:t<=63?e&a|n&~a:e^(n|~a)}function Fon(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function Non(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}function t_(t,e,n){if(!(this instanceof t_))return new t_(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(Won.toArray(e,n))}function l_(t,e,n){return n={path:e,exports:{},require:function(a,r){return Gon(a,r??n.path)}},t(n,n.exports),n.exports}function Gon(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}function Ec0(t,e){if(!t)throw new Error(e||"Assertion failed")}function Bm(t,e){this.type=t,this.p=new fn(e.p,16),this.red=e.prime?fn.red(e.prime):fn.mont(this.p),this.zero=new fn(0).toRed(this.red),this.one=new fn(1).toRed(this.red),this.two=new fn(2).toRed(this.red),this.n=e.n&&new fn(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function ld(t,e){this.curve=t,this.type=e,this.precomputed=null}function pd(t){G9.call(this,"short",t),this.a=new fn(t.a,16).toRed(this.red),this.b=new fn(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function Ls(t,e,n,a){G9.BasePoint.call(this,t,"affine"),e===null&&n===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new fn(e,16),this.y=new fn(n,16),a&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function ho(t,e,n,a){G9.BasePoint.call(this,t,"jacobian"),e===null&&n===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new fn(0)):(this.x=new fn(e,16),this.y=new fn(n,16),this.z=new fn(a,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}function Dm(t){if(!(this instanceof Dm))return new Dm(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=jl.toArray(t.entropy,t.entropyEnc||"hex"),n=jl.toArray(t.nonce,t.nonceEnc||"hex"),a=jl.toArray(t.pers,t.persEnc||"hex");t2e(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,a)}function h1(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}function bQ(t,e){if(t instanceof bQ)return t;this._importDER(t,e)||(Yon(t.r&&t.s,"Signature without r or s"),this.r=new fn(t.r,16),this.s=new fn(t.s,16),t.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function $on(){this.place=0}function Lle(t,e){var n=t[e.place++];if(!(n&128))return n;var a=n&15;if(a===0||a>4)return!1;for(var r=0,f=0,i=e.place;f>>=0;return r<=127?!1:(e.place=i,r)}function E10(t){for(var e=0,n=t.length-1;!t[e]&&!(t[e+1]&128)&&e>>3);for(t.push(n|128);--n;)t.push(e>>>(n<<3)&255);t.push(e)}function ud(t){if(!(this instanceof ud))return new ud(t);typeof t=="string"&&(_c0(Object.prototype.hasOwnProperty.call(iQ,t),"Unknown curve "+t),t=iQ[t]),t instanceof iQ.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}function qu(){return Nle||(Nle=new e1n("secp256k1")),Nle}function n1n(t,e){let n=Q10(e),a={r:ri(n.r),s:ri(n.s)};return"0x"+qu().recoverPubKey(ri(t),a,n.recoveryParam).encode("hex",!1)}function Ac0(t,e){let n=ri(t);if(n.length===32){let a=new jle(n);return e?"0x"+qu().keyFromPrivate(n).getPublic(!0,"hex"):a.publicKey}else{if(n.length===33)return e?ic(n):"0x"+qu().keyFromPublic(n).getPublic(!1,"hex");if(n.length===65)return e?"0x"+qu().keyFromPublic(n).getPublic(!0,"hex"):ic(n)}return qle.throwArgumentError("invalid public or private key","key","[REDACTED]")}function r1n(t){let e=Ac0(t);return hsn(d10(Xle(d10(e,1)),12))}function f1n(t,e){return r1n(n1n(ri(t),e))}async function s1n(t,e,n,a,r,f){switch(n.t){case"eip191":return o1n(t,e,n.s);case"eip1271":return await c1n(t,e,n.s,a,r,f);default:throw new Error(`verifySignature failed: Attempted to verify CacaoSignature with unknown type: ${n.t}`)}}function o1n(t,e,n){return f1n(rc0(e),n).toLowerCase()===t.toLowerCase()}async function c1n(t,e,n,a,r,f){try{let i="0x1626ba7e",s="0000000000000000000000000000000000000000000000000000000000000040",o="0000000000000000000000000000000000000000000000000000000000000041",c=n.substring(2),d=rc0(e).substring(2),l=i+d+s+o+c,h=await fetch(`${f||i1n}/?chainId=${a}&projectId=${r}`,{method:"POST",body:JSON.stringify({id:d1n(),jsonrpc:"2.0",method:"eth_call",params:[{to:t,data:l},"latest"]})}),{result:y}=await h.json();return y?y.slice(0,i.length).toLowerCase()===i.toLowerCase():!1}catch(i){return console.error("isValidEip1271Signature: ",i),!1}}function d1n(){return Date.now()+Math.floor(Math.random()*1e3)}async function f2e(t){let{cacao:e,projectId:n}=t,{s:a,p:r}=e,f=i2e(r,r.iss),i=wB(r.iss);return await s1n(i,f,a,Cc0(r.iss),n)}function v1n(t){return _.Buffer.from(JSON.stringify(t)).toString("base64")}function w1n(t){return JSON.parse(_.Buffer.from(t,"base64").toString("utf-8"))}function q9(t){if(!t)throw new Error("No recap provided, value is undefined");if(!t.att)throw new Error("No `att` property found");let e=Object.keys(t.att);if(!(e!=null&&e.length))throw new Error("No resources found in `att` property");e.forEach(n=>{let a=t.att[n];if(Array.isArray(a))throw new Error(`Resource must be an object: ${n}`);if(typeof a!="object")throw new Error(`Resource must be an object: ${n}`);if(!Object.keys(a).length)throw new Error(`Resource object is empty: ${n}`);Object.keys(a).forEach(r=>{let f=a[r];if(!Array.isArray(f))throw new Error(`Ability limits ${r} must be an array of objects, found: ${f}`);if(!f.length)throw new Error(`Value of ${r} is empty array, must be an array with objects`);f.forEach(i=>{if(typeof i!="object")throw new Error(`Ability limits (${r}) must be an array of objects, found: ${i}`)})})})}function T1n(t,e,n,a={}){return n?.sort((r,f)=>r.localeCompare(f)),{att:{[t]:x1n(e,n,a)}}}function x1n(t,e,n={}){e=e?.sort((r,f)=>r.localeCompare(f));let a=e.map(r=>({[`${t}/${r}`]:[n]}));return Object.assign({},...a)}function Ic0(t){return q9(t),`urn:recap:${v1n(t).replace(/=/g,"")}`}function bB(t){let e=w1n(t.replace("urn:recap:",""));return q9(e),e}function kc0(t,e,n){let a=T1n(t,e,n);return Ic0(a)}function E1n(t){return t&&t.includes("urn:recap:")}function Sc0(t,e){let n=bB(t),a=bB(e),r=_1n(n,a);return Ic0(r)}function _1n(t,e){q9(t),q9(e);let n=Object.keys(t.att).concat(Object.keys(e.att)).sort((r,f)=>r.localeCompare(f)),a={att:{}};return n.forEach(r=>{var f,i;Object.keys(((f=t.att)==null?void 0:f[r])||{}).concat(Object.keys(((i=e.att)==null?void 0:i[r])||{})).sort((s,o)=>s.localeCompare(o)).forEach(s=>{var o,c;a.att[r]=y1n(m1n({},a.att[r]),{[s]:((o=t.att[r])==null?void 0:o[s])||((c=e.att[r])==null?void 0:c[s])})})}),a}function A1n(t="",e){q9(e);let n="I further authorize the stated URI to perform the following actions on my behalf: ";if(t.includes(n))return t;let a=[],r=0;Object.keys(e.att).forEach(s=>{let o=Object.keys(e.att[s]).map(l=>({ability:l.split("/")[0],action:l.split("/")[1]}));o.sort((l,h)=>l.action.localeCompare(h.action));let c={};o.forEach(l=>{c[l.ability]||(c[l.ability]=[]),c[l.ability].push(l.action)});let d=Object.keys(c).map(l=>(r++,`(${r}) '${l}': '${c[l].join("', '")}' for '${s}'.`));a.push(d.join(", ").replace(".,","."))});let f=a.join(" "),i=`${n}${f}`;return`${t?t+" ":""}${i}`}function s2e(t){var e;let n=bB(t);q9(n);let a=(e=n.att)==null?void 0:e.eip155;return a?Object.keys(a).map(r=>r.split("/")[1]):[]}function o2e(t){let e=bB(t);q9(e);let n=[];return Object.values(e.att).forEach(a=>{Object.values(a).forEach(r=>{var f;(f=r?.[0])!=null&&f.chains&&n.push(r[0].chains)})}),[...new Set(n.flat())]}function TB(t){if(!t)return;let e=t?.[t.length-1];return E1n(e)?e:void 0}function Bc0(){let t=pQ.generateKeyPair();return{privateKey:Mi(t.secretKey,b1),publicKey:Mi(t.publicKey,b1)}}function mQ(){let t=(0,Vle.randomBytes)(d2e);return Mi(t,b1)}function Dc0(t,e){let n=pQ.sharedKey(Es(t,b1),Es(e,b1),!0),a=new P10.HKDF(mB.SHA256,n).expand(d2e);return Mi(a,b1)}function u_(t){let e=(0,mB.hash)(Es(t,b1));return Mi(e,b1)}function gh(t){let e=(0,mB.hash)(Es(t,c2e));return Mi(e,b1)}function I1n(t){return Es(`${t}`,Rc0)}function p_(t){return Number(Mi(t,Rc0))}function Pc0(t){let e=I1n(typeof t.type<"u"?t.type:Mc0);if(p_(e)===$u&&typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");let n=typeof t.senderPublicKey<"u"?Es(t.senderPublicKey,b1):void 0,a=typeof t.iv<"u"?Es(t.iv,b1):(0,Vle.randomBytes)(Kle),r=new Qle.ChaCha20Poly1305(Es(t.symKey,b1)).seal(a,Es(t.message,c2e));return k1n({type:e,sealed:r,iv:a,senderPublicKey:n})}function Lc0(t){let e=new Qle.ChaCha20Poly1305(Es(t.symKey,b1)),{sealed:n,iv:a}=xB(t.encoded),r=e.open(a,n);if(r===null)throw new Error("Failed to decrypt");return Mi(r,c2e)}function k1n(t){if(p_(t.type)===$u){if(typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");return Mi(R7([t.type,t.senderPublicKey,t.iv,t.sealed]),Gle)}return Mi(R7([t.type,t.iv,t.sealed]),Gle)}function xB(t){let e=Es(t,Gle),n=e.slice(C1n,I10),a=I10;if(p_(n)===$u){let s=a+d2e,o=s+Kle,c=e.slice(a,s),d=e.slice(s,o),l=e.slice(o);return{type:n,sealed:l,iv:d,senderPublicKey:c}}let r=a+Kle,f=e.slice(a,r),i=e.slice(r);return{type:n,sealed:i,iv:f}}function Fc0(t,e){let n=xB(t);return l2e({type:p_(n.type),senderPublicKey:typeof n.senderPublicKey<"u"?Mi(n.senderPublicKey,b1):void 0,receiverPublicKey:e?.receiverPublicKey})}function l2e(t){let e=t?.type||Mc0;if(e===$u){if(typeof t?.senderPublicKey>"u")throw new Error("missing sender public key");if(typeof t?.receiverPublicKey>"u")throw new Error("missing receiver public key")}return{type:e,senderPublicKey:t?.senderPublicKey,receiverPublicKey:t?.receiverPublicKey}}function u2e(t){return t.type===$u&&typeof t.senderPublicKey=="string"&&typeof t.receiverPublicKey=="string"}function yQ(t){return t?.relay||{protocol:S1n}}function EB(t){let e=aUe[t];if(typeof e>"u")throw new Error(`Relay Protocol not supported: ${t}`);return e}function F1n(t,e="-"){let n={},a="relay"+e;return Object.keys(t).forEach(r=>{if(r.startsWith(a)){let f=r.replace(a,""),i=t[r];n[f]=i}}),n}function p2e(t){t=t.includes("wc://")?t.replace("wc://",""):t,t=t.includes("wc:")?t.replace("wc:",""):t;let e=t.indexOf(":"),n=t.indexOf("?")!==-1?t.indexOf("?"):void 0,a=t.substring(0,e),r=t.substring(e+1,n).split("@"),f=typeof n<"u"?t.substring(n):"",i=r_.parse(f),s=typeof i.methods=="string"?i.methods.split(","):void 0;return{protocol:a,topic:N1n(r[0]),version:parseInt(r[1],10),symKey:i.symKey,relay:F1n(i),methods:s,expiryTimestamp:i.expiryTimestamp?parseInt(i.expiryTimestamp,10):void 0}}function N1n(t){return t.startsWith("//")?t.substring(2):t}function O1n(t,e="-"){let n="relay",a={};return Object.keys(t).forEach(r=>{let f=n+e+r;t[r]&&(a[f]=t[r])}),a}function Nc0(t){return`${t.protocol}:${t.topic}@${t.version}?`+r_.stringify(R10(L1n(R10({symKey:t.symKey},O1n(t.relay)),{expiryTimestamp:t.expiryTimestamp}),t.methods?{methods:t.methods.join(",")}:{}))}function h_(t){let e=[];return t.forEach(n=>{let[a,r]=n.split(":");e.push(`${a}:${r}`)}),e}function U1n(t){let e=[];return Object.values(t).forEach(n=>{e.push(...h_(n.accounts))}),e}function H1n(t,e){let n=[];return Object.values(t).forEach(a=>{h_(a.accounts).includes(e)&&n.push(...a.methods)}),n}function z1n(t,e){let n=[];return Object.values(t).forEach(a=>{h_(a.accounts).includes(e)&&n.push(...a.events)}),n}function gQ(t){return t.includes(":")}function b_(t){return gQ(t)?t.split(":")[0]:t}function W1n(t){let e={};return t?.forEach(n=>{let[a,r]=n.split(":");e[a]||(e[a]={accounts:[],chains:[],events:[]}),e[a].accounts.push(n),e[a].chains.push(`${a}:${r}`)}),e}function h2e(t,e){e=e.map(a=>a.replace("did:pkh:",""));let n=W1n(e);for(let[a,r]of Object.entries(n))r.methods?r.methods=gB(r.methods,t):r.methods=t,r.events=["chainChanged","accountsChanged"];return n}function F0(t,e){let{message:n,code:a}=j1n[t];return{message:e?`${n} ${e}`:n,code:a}}function Ca(t,e){let{message:n,code:a}=q1n[t];return{message:e?`${n} ${e}`:n,code:a}}function U6(t,e){return Array.isArray(t)?typeof e<"u"&&t.length?t.every(e):!0:!1}function K9(t){return Object.getPrototypeOf(t)===Object.prototype&&Object.keys(t).length}function bo(t){return typeof t>"u"}function Bf(t,e){return e&&bo(t)?!0:typeof t=="string"&&!!t.trim().length}function b2e(t,e){return e&&bo(t)?!0:typeof t=="number"&&!isNaN(t)}function Oc0(t,e){let{requiredNamespaces:n}=e,a=Object.keys(t.namespaces),r=Object.keys(n),f=!0;return z9(r,a)?(a.forEach(i=>{let{accounts:s,methods:o,events:c}=t.namespaces[i],d=h_(s),l=n[i];(!z9(L10(i,l),d)||!z9(l.methods,o)||!z9(l.events,c))&&(f=!1)}),f):!1}function uQ(t){return Bf(t,!1)&&t.includes(":")?t.split(":").length===2:!1}function G1n(t){if(Bf(t,!1)&&t.includes(":")){let e=t.split(":");if(e.length===3){let n=e[0]+":"+e[1];return!!e[2]&&uQ(n)}}return!1}function Uc0(t){if(Bf(t,!1))try{return typeof new URL(t)<"u"}catch{return!1}return!1}function Hc0(t){var e;return(e=t?.proposer)==null?void 0:e.publicKey}function zc0(t){return t?.topic}function Wc0(t,e){let n=null;return Bf(t?.publicKey,!1)||(n=F0("MISSING_OR_INVALID",`${e} controller public key should be a string`)),n}function M10(t){let e=!0;return U6(t)?t.length&&(e=t.every(n=>Bf(n,!1))):e=!1,e}function K1n(t,e,n){let a=null;return U6(e)&&e.length?e.forEach(r=>{a||uQ(r)||(a=Ca("UNSUPPORTED_CHAINS",`${n}, chain ${r} should be a string and conform to "namespace:chainId" format`))}):uQ(t)||(a=Ca("UNSUPPORTED_CHAINS",`${n}, chains must be defined as "namespace:chainId" e.g. "eip155:1": {...} in the namespace key OR as an array of CAIP-2 chainIds e.g. eip155: { chains: ["eip155:1", "eip155:5"] }`)),a}function Q1n(t,e,n){let a=null;return Object.entries(t).forEach(([r,f])=>{if(a)return;let i=K1n(r,L10(r,f),`${e} ${n}`);i&&(a=i)}),a}function V1n(t,e){let n=null;return U6(t)?t.forEach(a=>{n||G1n(a)||(n=Ca("UNSUPPORTED_ACCOUNTS",`${e}, account ${a} should be a string and conform to "namespace:chainId:address" format`))}):n=Ca("UNSUPPORTED_ACCOUNTS",`${e}, accounts should be an array of strings conforming to "namespace:chainId:address" format`),n}function Y1n(t,e){let n=null;return Object.values(t).forEach(a=>{if(n)return;let r=V1n(a?.accounts,`${e} namespace`);r&&(n=r)}),n}function $1n(t,e){let n=null;return M10(t?.methods)?M10(t?.events)||(n=Ca("UNSUPPORTED_EVENTS",`${e}, events should be an array of strings or empty array for no events`)):n=Ca("UNSUPPORTED_METHODS",`${e}, methods should be an array of strings or empty array for no methods`),n}function qc0(t,e){let n=null;return Object.values(t).forEach(a=>{if(n)return;let r=$1n(a,`${e}, namespace`);r&&(n=r)}),n}function jc0(t,e,n){let a=null;if(t&&K9(t)){let r=qc0(t,e);r&&(a=r);let f=Q1n(t,e,n);f&&(a=f)}else a=F0("MISSING_OR_INVALID",`${e}, ${n} should be an object with data`);return a}function vQ(t,e){let n=null;if(t&&K9(t)){let a=qc0(t,e);a&&(n=a);let r=Y1n(t,e);r&&(n=r)}else n=F0("MISSING_OR_INVALID",`${e}, namespaces should be an object with data`);return n}function m2e(t){return Bf(t.protocol,!0)}function Gc0(t,e){let n=!1;return e&&!t?n=!0:t&&U6(t)&&t.length&&t.forEach(a=>{n=m2e(a)}),n}function Kc0(t){return typeof t=="number"}function m1(t){return typeof t<"u"&&typeof t!==null}function Qc0(t){return!(!t||typeof t!="object"||!t.code||!b2e(t.code,!1)||!t.message||!Bf(t.message,!1))}function Vc0(t){return!(bo(t)||!Bf(t.method,!1))}function Yc0(t){return!(bo(t)||bo(t.result)&&bo(t.error)||!b2e(t.id,!1)||!Bf(t.jsonrpc,!1))}function $c0(t){return!(bo(t)||!Bf(t.name,!1))}function y2e(t,e){return!(!uQ(e)||!U1n(t).includes(e))}function Jc0(t,e,n){return Bf(n,!1)?H1n(t,e).includes(n):!1}function Xc0(t,e,n){return Bf(n,!1)?z1n(t,e).includes(n):!1}function g2e(t,e,n){let a=null,r=J1n(t),f=X1n(e),i=Object.keys(r),s=Object.keys(f),o=B10(Object.keys(t)),c=B10(Object.keys(e)),d=o.filter(l=>!c.includes(l));return d.length&&(a=F0("NON_CONFORMING_NAMESPACES",`${n} namespaces keys don't satisfy requiredNamespaces. +${l}`);let h=sh(i.abi).map(v=>v.type),y=WE(h,a);return this.deployContractWithAbi.prepare(i.abi,l,y)}));ae(this,"deployContractWithAbi",jr(async(n,a,r)=>{let f=this.getSigner(),i=this.getProvider();d0(f,"Signer is required to deploy contracts");let s=new Ht.ContractFactory(n,a).connect(f);return new $R({args:r,provider:i,signer:f,factory:s,storage:this.storage,events:this.events})}));this.storage=r,this.events=new C6,this.getFactory(),this.getRegistry()}async getLatestBuiltInContractVersion(n){let a=await this.getFactory();if(!a)throw new Error("Factory not found");return await a.getLatestVersion(n)}async deployPublishedContractDeterministic(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:xm,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",i=arguments.length>4?arguments[4]:void 0,s=this.getSigner();return d0(s,"Signer is required"),qs0(n,r,f,a,s,this.storage,this.options.clientId,this.options.secretKey,i)}async predictAddressDeterministic(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:xm,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",i=arguments.length>4?arguments[4]:void 0,s=this.getProvider();return d0(s,"Provider is required"),Gs0(n,r,f,a,s,this.storage,this.options.clientId,this.options.secretKey,i)}async getRegistry(){return this._registry?this._registry:this._registry=this.getProvider().getNetwork().then(async n=>{let{chainId:a}=n,r=d9(a,"twRegistry");if(!r)return;let f=(await Promise.resolve().then(()=>Ee(Ss0()))).default;return new Bde(r,this.getSignerOrProvider(),this.storage,f,this.options)})}async getFactory(){return this._factory?this._factory:this._factory=this.getProvider().getNetwork().then(async n=>{let{chainId:a}=n,r=d9(a,"twFactory");return r?new _K(r,this.getSignerOrProvider(),this.storage,this.options):void 0})}updateSignerOrProvider(n){super.updateSignerOrProvider(n),this.updateContractSignerOrProvider()}updateContractSignerOrProvider(){this._factory?.then(n=>{n?.updateSignerOrProvider(this.getSignerOrProvider())}).catch(()=>{}),this._registry?.then(n=>{n?.updateSignerOrProvider(this.getSignerOrProvider())}).catch(()=>{})}async getTransactionsForDeploy(n,a){let r=[],f=this.getProvider();d0(f,"A provider is required");let{extendedMetadata:i}=await Ds(n,this.storage),s=a?.forceDirectDeploy||!1;if(i&&i.factoryDeploymentData&&(i.isDeployableViaProxy||i.isDeployableViaFactory||i.deployType==="autoFactory")&&!s){let o=(await this.getProvider().getNetwork()).chainId;if(!i.factoryDeploymentData.implementationAddresses[o]||i.deployType==="autoFactory"){let d=await sd(this.getProvider());r.push({contractType:"create2Factory",addresses:[d]});let h=(await M9(n,this.storage,this.getProvider(),d,this.options.clientId,this.options.secretKey)).filter(O=>O.transaction.data&&O.transaction.data.length>0);h.filter(O=>O.type!=="infra").map(O=>O.transaction).forEach(O=>{r.push({contractType:"preset",addresses:[O.predictedAddress]})});let v=h.filter(O=>O.type==="infra").map(O=>O.transaction);wde(v).forEach(O=>{let F=O.map(z=>z.predictedAddress);r.push({contractType:"infra",addresses:F})})}r=(await Promise.all(r.map(async d=>(await Promise.all(d.addresses.map(async h=>await B6(h,f)?null:h))).filter(Boolean).length>0?d:null))).filter(Boolean),r.push({contractType:"proxy",addresses:[]})}else r.push({contractType:"custom",addresses:[]});return r}addDeployListener(n){this.events.on("contractDeployed",n)}removeDeployListener(n){this.events.off("contractDeployed",n)}removeAllDeployListeners(){this.events.removeAllListeners("contractDeployed")}async fetchPublishedContractFromPolygon(n,a,r){let f=await Oe(n),i=await new Du("polygon",{clientId:this.options.clientId,secretKey:this.options.secretKey},this.storage).getPublisher().getVersion(f,a,r);if(!i)throw new Error(`No published contract found for '${a}' at version '${r}' by '${f}'`);return i}hasLocalFactory(){return!!DE("factoryAddress")}}});var PSa,LSa,FSa,qE=ce(()=>{"use strict";u();p();Ks0();ln();or();rd();Da();W0();ir();PSa=Ee(Va()),LSa=Ee(ro()),FSa=Ee(Kc());globalThis.global=globalThis});function Qs0(t,e){return new jE.Contract(e,qrn,t)}function CK(t,e){return`https://${t}.rpc.thirdweb.com${e?`/${e}`:""}${typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis&&globalThis.APP_BUNDLE_ID?`?bundleId=${globalThis.APP_BUNDLE_ID}`:""}`}var jE,qrn,B9,ta=ce(()=>{"use strict";u();p();kt();jE=Ee(Xe());W0();qE();qrn=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"value",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"who",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"value",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"value",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"}];B9=class extends C6{constructor(){super(...arguments),Pe(this,"type","evm")}async getAddress(){return(await this.getSigner()).getAddress()}async getBalance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bf,n=await this.getSigner(),a=await this.getAddress();if(!n.provider)throw new Error("Please connect a provider");let r;return hf(e)?r=await n.provider.getBalance(a):r=await Qs0(n,e).balanceOf(a),await Ja(n.provider,e,r)}async getChainId(){return(await this.getSigner()).getChainId()}async transfer(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:bf,r=await this.getSigner(),f=await this.getAddress();if(!r.provider)throw new Error("Please connect a provider");let i=await ea(r.provider,n,a);if(hf(a)){let s=Rl(r.provider);return{receipt:await(await r.sendTransaction({from:f,to:e,value:i,...s})).wait()}}else return{receipt:await(await Qs0(r,a).transfer(e,i)).wait()}}async signMessage(e){return await(await this.getSigner()).signMessage(e)}async verifySignature(e,n,a,r){try{let f=jE.utils.hashMessage(e),i=jE.utils.arrayify(f);if(jE.utils.recoverAddress(i,n)===a)return!0}catch{}return!1}}});function jrn(t){for(let e=0,n=Vs0.length;e"u"?{x_sdk_name:IK.name,x_sdk_platform:$s0(),x_sdk_version:IK.version,x_sdk_os:Ys0(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=IK.name,globalThis.X_SDK_PLATFORM=$s0(),globalThis.X_SDK_VERSION=IK.version,globalThis.X_SDK_OS=Ys0(),globalThis.APP_BUNDLE_ID=void 0),{x_sdk_name:globalThis.X_SDK_NAME,x_sdk_platform:globalThis.X_SDK_PLATFORM,x_sdk_version:globalThis.X_SDK_VERSION,x_sdk_os:globalThis.X_SDK_OS,app_bundle_id:globalThis.APP_BUNDLE_ID||""})}function $s0(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":"browser"}var IK,Vs0,kK=ce(()=>{"use strict";u();p();IK={name:"@thirdweb-dev/wallets",version:"2.5.32",main:"dist/thirdweb-dev-wallets.cjs.js",module:"dist/thirdweb-dev-wallets.esm.js",browser:{"./dist/thirdweb-dev-wallets.esm.js":"./dist/thirdweb-dev-wallets.browser.esm.js"},exports:{".":{module:{browser:"./dist/thirdweb-dev-wallets.browser.esm.js",default:"./dist/thirdweb-dev-wallets.esm.js"},default:"./dist/thirdweb-dev-wallets.cjs.js"},"./evm":{module:{browser:"./evm/dist/thirdweb-dev-wallets-evm.browser.esm.js",default:"./evm/dist/thirdweb-dev-wallets-evm.esm.js"},default:"./evm/dist/thirdweb-dev-wallets-evm.cjs.js"},"./evm/wallets/okx":{module:{browser:"./evm/wallets/okx/dist/thirdweb-dev-wallets-evm-wallets-okx.browser.esm.js",default:"./evm/wallets/okx/dist/thirdweb-dev-wallets-evm-wallets-okx.esm.js"},default:"./evm/wallets/okx/dist/thirdweb-dev-wallets-evm-wallets-okx.cjs.js"},"./evm/wallets/base":{module:{browser:"./evm/wallets/base/dist/thirdweb-dev-wallets-evm-wallets-base.browser.esm.js",default:"./evm/wallets/base/dist/thirdweb-dev-wallets-evm-wallets-base.esm.js"},default:"./evm/wallets/base/dist/thirdweb-dev-wallets-evm-wallets-base.cjs.js"},"./evm/wallets/safe":{module:{browser:"./evm/wallets/safe/dist/thirdweb-dev-wallets-evm-wallets-safe.browser.esm.js",default:"./evm/wallets/safe/dist/thirdweb-dev-wallets-evm-wallets-safe.esm.js"},default:"./evm/wallets/safe/dist/thirdweb-dev-wallets-evm-wallets-safe.cjs.js"},"./evm/wallets/async":{module:{browser:"./evm/wallets/async/dist/thirdweb-dev-wallets-evm-wallets-async.browser.esm.js",default:"./evm/wallets/async/dist/thirdweb-dev-wallets-evm-wallets-async.esm.js"},default:"./evm/wallets/async/dist/thirdweb-dev-wallets-evm-wallets-async.cjs.js"},"./evm/wallets/frame":{module:{browser:"./evm/wallets/frame/dist/thirdweb-dev-wallets-evm-wallets-frame.browser.esm.js",default:"./evm/wallets/frame/dist/thirdweb-dev-wallets-evm-wallets-frame.esm.js"},default:"./evm/wallets/frame/dist/thirdweb-dev-wallets-evm-wallets-frame.cjs.js"},"./evm/wallets/magic":{module:{browser:"./evm/wallets/magic/dist/thirdweb-dev-wallets-evm-wallets-magic.browser.esm.js",default:"./evm/wallets/magic/dist/thirdweb-dev-wallets-evm-wallets-magic.esm.js"},default:"./evm/wallets/magic/dist/thirdweb-dev-wallets-evm-wallets-magic.cjs.js"},"./evm/wallets/rabby":{module:{browser:"./evm/wallets/rabby/dist/thirdweb-dev-wallets-evm-wallets-rabby.browser.esm.js",default:"./evm/wallets/rabby/dist/thirdweb-dev-wallets-evm-wallets-rabby.esm.js"},default:"./evm/wallets/rabby/dist/thirdweb-dev-wallets-evm-wallets-rabby.cjs.js"},"./evm/wallets/trust":{module:{browser:"./evm/wallets/trust/dist/thirdweb-dev-wallets-evm-wallets-trust.browser.esm.js",default:"./evm/wallets/trust/dist/thirdweb-dev-wallets-evm-wallets-trust.esm.js"},default:"./evm/wallets/trust/dist/thirdweb-dev-wallets-evm-wallets-trust.cjs.js"},"./evm/wallets/xdefi":{module:{browser:"./evm/wallets/xdefi/dist/thirdweb-dev-wallets-evm-wallets-xdefi.browser.esm.js",default:"./evm/wallets/xdefi/dist/thirdweb-dev-wallets-evm-wallets-xdefi.esm.js"},default:"./evm/wallets/xdefi/dist/thirdweb-dev-wallets-evm-wallets-xdefi.cjs.js"},"./evm/wallets/blocto":{module:{browser:"./evm/wallets/blocto/dist/thirdweb-dev-wallets-evm-wallets-blocto.browser.esm.js",default:"./evm/wallets/blocto/dist/thirdweb-dev-wallets-evm-wallets-blocto.esm.js"},default:"./evm/wallets/blocto/dist/thirdweb-dev-wallets-evm-wallets-blocto.cjs.js"},"./evm/wallets/coin98":{module:{browser:"./evm/wallets/coin98/dist/thirdweb-dev-wallets-evm-wallets-coin98.browser.esm.js",default:"./evm/wallets/coin98/dist/thirdweb-dev-wallets-evm-wallets-coin98.esm.js"},default:"./evm/wallets/coin98/dist/thirdweb-dev-wallets-evm-wallets-coin98.cjs.js"},"./evm/wallets/engine":{module:{browser:"./evm/wallets/engine/dist/thirdweb-dev-wallets-evm-wallets-engine.browser.esm.js",default:"./evm/wallets/engine/dist/thirdweb-dev-wallets-evm-wallets-engine.esm.js"},default:"./evm/wallets/engine/dist/thirdweb-dev-wallets-evm-wallets-engine.cjs.js"},"./evm/wallets/ethers":{module:{browser:"./evm/wallets/ethers/dist/thirdweb-dev-wallets-evm-wallets-ethers.browser.esm.js",default:"./evm/wallets/ethers/dist/thirdweb-dev-wallets-evm-wallets-ethers.esm.js"},default:"./evm/wallets/ethers/dist/thirdweb-dev-wallets-evm-wallets-ethers.cjs.js"},"./evm/wallets/onekey":{module:{browser:"./evm/wallets/onekey/dist/thirdweb-dev-wallets-evm-wallets-onekey.browser.esm.js",default:"./evm/wallets/onekey/dist/thirdweb-dev-wallets-evm-wallets-onekey.esm.js"},default:"./evm/wallets/onekey/dist/thirdweb-dev-wallets-evm-wallets-onekey.cjs.js"},"./evm/wallets/signer":{module:{browser:"./evm/wallets/signer/dist/thirdweb-dev-wallets-evm-wallets-signer.browser.esm.js",default:"./evm/wallets/signer/dist/thirdweb-dev-wallets-evm-wallets-signer.esm.js"},default:"./evm/wallets/signer/dist/thirdweb-dev-wallets-evm-wallets-signer.cjs.js"},"./evm/wallets/zerion":{module:{browser:"./evm/wallets/zerion/dist/thirdweb-dev-wallets-evm-wallets-zerion.browser.esm.js",default:"./evm/wallets/zerion/dist/thirdweb-dev-wallets-evm-wallets-zerion.esm.js"},default:"./evm/wallets/zerion/dist/thirdweb-dev-wallets-evm-wallets-zerion.cjs.js"},"./evm/wallets/aws-kms":{module:{browser:"./evm/wallets/aws-kms/dist/thirdweb-dev-wallets-evm-wallets-aws-kms.browser.esm.js",default:"./evm/wallets/aws-kms/dist/thirdweb-dev-wallets-evm-wallets-aws-kms.esm.js"},default:"./evm/wallets/aws-kms/dist/thirdweb-dev-wallets-evm-wallets-aws-kms.cjs.js"},"./evm/wallets/gcp-kms":{module:{browser:"./evm/wallets/gcp-kms/dist/thirdweb-dev-wallets-evm-wallets-gcp-kms.browser.esm.js",default:"./evm/wallets/gcp-kms/dist/thirdweb-dev-wallets-evm-wallets-gcp-kms.esm.js"},default:"./evm/wallets/gcp-kms/dist/thirdweb-dev-wallets-evm-wallets-gcp-kms.cjs.js"},"./evm/wallets/imtoken":{module:{browser:"./evm/wallets/imtoken/dist/thirdweb-dev-wallets-evm-wallets-imtoken.browser.esm.js",default:"./evm/wallets/imtoken/dist/thirdweb-dev-wallets-evm-wallets-imtoken.esm.js"},default:"./evm/wallets/imtoken/dist/thirdweb-dev-wallets-evm-wallets-imtoken.cjs.js"},"./evm/wallets/phantom":{module:{browser:"./evm/wallets/phantom/dist/thirdweb-dev-wallets-evm-wallets-phantom.browser.esm.js",default:"./evm/wallets/phantom/dist/thirdweb-dev-wallets-evm-wallets-phantom.esm.js"},default:"./evm/wallets/phantom/dist/thirdweb-dev-wallets-evm-wallets-phantom.cjs.js"},"./evm/wallets/abstract":{module:{browser:"./evm/wallets/abstract/dist/thirdweb-dev-wallets-evm-wallets-abstract.browser.esm.js",default:"./evm/wallets/abstract/dist/thirdweb-dev-wallets-evm-wallets-abstract.esm.js"},default:"./evm/wallets/abstract/dist/thirdweb-dev-wallets-evm-wallets-abstract.cjs.js"},"./evm/wallets/injected":{module:{browser:"./evm/wallets/injected/dist/thirdweb-dev-wallets-evm-wallets-injected.browser.esm.js",default:"./evm/wallets/injected/dist/thirdweb-dev-wallets-evm-wallets-injected.esm.js"},default:"./evm/wallets/injected/dist/thirdweb-dev-wallets-evm-wallets-injected.cjs.js"},"./evm/wallets/metamask":{module:{browser:"./evm/wallets/metamask/dist/thirdweb-dev-wallets-evm-wallets-metamask.browser.esm.js",default:"./evm/wallets/metamask/dist/thirdweb-dev-wallets-evm-wallets-metamask.esm.js"},default:"./evm/wallets/metamask/dist/thirdweb-dev-wallets-evm-wallets-metamask.cjs.js"},"./evm/wallets/magic-eden":{module:{browser:"./evm/wallets/magic-eden/dist/thirdweb-dev-wallets-evm-wallets-magic-eden.browser.esm.js",default:"./evm/wallets/magic-eden/dist/thirdweb-dev-wallets-evm-wallets-magic-eden.esm.js"},default:"./evm/wallets/magic-eden/dist/thirdweb-dev-wallets-evm-wallets-magic-eden.cjs.js"},"./evm/wallets/core-wallet":{module:{browser:"./evm/wallets/core-wallet/dist/thirdweb-dev-wallets-evm-wallets-core-wallet.browser.esm.js",default:"./evm/wallets/core-wallet/dist/thirdweb-dev-wallets-evm-wallets-core-wallet.esm.js"},default:"./evm/wallets/core-wallet/dist/thirdweb-dev-wallets-evm-wallets-core-wallet.cjs.js"},"./evm/wallets/private-key":{module:{browser:"./evm/wallets/private-key/dist/thirdweb-dev-wallets-evm-wallets-private-key.browser.esm.js",default:"./evm/wallets/private-key/dist/thirdweb-dev-wallets-evm-wallets-private-key.esm.js"},default:"./evm/wallets/private-key/dist/thirdweb-dev-wallets-evm-wallets-private-key.cjs.js"},"./evm/connectors/okx":{module:{browser:"./evm/connectors/okx/dist/thirdweb-dev-wallets-evm-connectors-okx.browser.esm.js",default:"./evm/connectors/okx/dist/thirdweb-dev-wallets-evm-connectors-okx.esm.js"},default:"./evm/connectors/okx/dist/thirdweb-dev-wallets-evm-connectors-okx.cjs.js"},"./evm/wallets/local-wallet":{module:{browser:"./evm/wallets/local-wallet/dist/thirdweb-dev-wallets-evm-wallets-local-wallet.browser.esm.js",default:"./evm/wallets/local-wallet/dist/thirdweb-dev-wallets-evm-wallets-local-wallet.esm.js"},default:"./evm/wallets/local-wallet/dist/thirdweb-dev-wallets-evm-wallets-local-wallet.cjs.js"},"./evm/wallets/paper-wallet":{module:{browser:"./evm/wallets/paper-wallet/dist/thirdweb-dev-wallets-evm-wallets-paper-wallet.browser.esm.js",default:"./evm/wallets/paper-wallet/dist/thirdweb-dev-wallets-evm-wallets-paper-wallet.esm.js"},default:"./evm/wallets/paper-wallet/dist/thirdweb-dev-wallets-evm-wallets-paper-wallet.cjs.js"},"./evm/wallets/smart-wallet":{module:{browser:"./evm/wallets/smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-smart-wallet.browser.esm.js",default:"./evm/wallets/smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-smart-wallet.esm.js"},default:"./evm/wallets/smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-smart-wallet.cjs.js"},"./evm/connectors/safe":{module:{browser:"./evm/connectors/safe/dist/thirdweb-dev-wallets-evm-connectors-safe.browser.esm.js",default:"./evm/connectors/safe/dist/thirdweb-dev-wallets-evm-connectors-safe.esm.js"},default:"./evm/connectors/safe/dist/thirdweb-dev-wallets-evm-connectors-safe.cjs.js"},"./evm/connectors/frame":{module:{browser:"./evm/connectors/frame/dist/thirdweb-dev-wallets-evm-connectors-frame.browser.esm.js",default:"./evm/connectors/frame/dist/thirdweb-dev-wallets-evm-connectors-frame.esm.js"},default:"./evm/connectors/frame/dist/thirdweb-dev-wallets-evm-connectors-frame.cjs.js"},"./evm/connectors/magic":{module:{browser:"./evm/connectors/magic/dist/thirdweb-dev-wallets-evm-connectors-magic.browser.esm.js",default:"./evm/connectors/magic/dist/thirdweb-dev-wallets-evm-connectors-magic.esm.js"},default:"./evm/connectors/magic/dist/thirdweb-dev-wallets-evm-connectors-magic.cjs.js"},"./evm/connectors/paper":{module:{browser:"./evm/connectors/paper/dist/thirdweb-dev-wallets-evm-connectors-paper.browser.esm.js",default:"./evm/connectors/paper/dist/thirdweb-dev-wallets-evm-connectors-paper.esm.js"},default:"./evm/connectors/paper/dist/thirdweb-dev-wallets-evm-connectors-paper.cjs.js"},"./evm/connectors/rabby":{module:{browser:"./evm/connectors/rabby/dist/thirdweb-dev-wallets-evm-connectors-rabby.browser.esm.js",default:"./evm/connectors/rabby/dist/thirdweb-dev-wallets-evm-connectors-rabby.esm.js"},default:"./evm/connectors/rabby/dist/thirdweb-dev-wallets-evm-connectors-rabby.cjs.js"},"./evm/connectors/trust":{module:{browser:"./evm/connectors/trust/dist/thirdweb-dev-wallets-evm-connectors-trust.browser.esm.js",default:"./evm/connectors/trust/dist/thirdweb-dev-wallets-evm-connectors-trust.esm.js"},default:"./evm/connectors/trust/dist/thirdweb-dev-wallets-evm-connectors-trust.cjs.js"},"./evm/connectors/xdefi":{module:{browser:"./evm/connectors/xdefi/dist/thirdweb-dev-wallets-evm-connectors-xdefi.browser.esm.js",default:"./evm/connectors/xdefi/dist/thirdweb-dev-wallets-evm-connectors-xdefi.esm.js"},default:"./evm/connectors/xdefi/dist/thirdweb-dev-wallets-evm-connectors-xdefi.cjs.js"},"./evm/wallets/rainbow-wallet":{module:{browser:"./evm/wallets/rainbow-wallet/dist/thirdweb-dev-wallets-evm-wallets-rainbow-wallet.browser.esm.js",default:"./evm/wallets/rainbow-wallet/dist/thirdweb-dev-wallets-evm-wallets-rainbow-wallet.esm.js"},default:"./evm/wallets/rainbow-wallet/dist/thirdweb-dev-wallets-evm-wallets-rainbow-wallet.cjs.js"},"./evm/wallets/wallet-connect":{module:{browser:"./evm/wallets/wallet-connect/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect.browser.esm.js",default:"./evm/wallets/wallet-connect/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect.esm.js"},default:"./evm/wallets/wallet-connect/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect.cjs.js"},"./evm/connectors/blocto":{module:{browser:"./evm/connectors/blocto/dist/thirdweb-dev-wallets-evm-connectors-blocto.browser.esm.js",default:"./evm/connectors/blocto/dist/thirdweb-dev-wallets-evm-connectors-blocto.esm.js"},default:"./evm/connectors/blocto/dist/thirdweb-dev-wallets-evm-connectors-blocto.cjs.js"},"./evm/connectors/coin98":{module:{browser:"./evm/connectors/coin98/dist/thirdweb-dev-wallets-evm-connectors-coin98.browser.esm.js",default:"./evm/connectors/coin98/dist/thirdweb-dev-wallets-evm-connectors-coin98.esm.js"},default:"./evm/connectors/coin98/dist/thirdweb-dev-wallets-evm-connectors-coin98.cjs.js"},"./evm/connectors/onekey":{module:{browser:"./evm/connectors/onekey/dist/thirdweb-dev-wallets-evm-connectors-onekey.browser.esm.js",default:"./evm/connectors/onekey/dist/thirdweb-dev-wallets-evm-connectors-onekey.esm.js"},default:"./evm/connectors/onekey/dist/thirdweb-dev-wallets-evm-connectors-onekey.cjs.js"},"./evm/connectors/signer":{module:{browser:"./evm/connectors/signer/dist/thirdweb-dev-wallets-evm-connectors-signer.browser.esm.js",default:"./evm/connectors/signer/dist/thirdweb-dev-wallets-evm-connectors-signer.esm.js"},default:"./evm/connectors/signer/dist/thirdweb-dev-wallets-evm-connectors-signer.cjs.js"},"./evm/connectors/zerion":{module:{browser:"./evm/connectors/zerion/dist/thirdweb-dev-wallets-evm-connectors-zerion.browser.esm.js",default:"./evm/connectors/zerion/dist/thirdweb-dev-wallets-evm-connectors-zerion.esm.js"},default:"./evm/connectors/zerion/dist/thirdweb-dev-wallets-evm-connectors-zerion.cjs.js"},"./evm/wallets/coinbase-wallet":{module:{browser:"./evm/wallets/coinbase-wallet/dist/thirdweb-dev-wallets-evm-wallets-coinbase-wallet.browser.esm.js",default:"./evm/wallets/coinbase-wallet/dist/thirdweb-dev-wallets-evm-wallets-coinbase-wallet.esm.js"},default:"./evm/wallets/coinbase-wallet/dist/thirdweb-dev-wallets-evm-wallets-coinbase-wallet.cjs.js"},"./evm/wallets/embedded-wallet":{module:{browser:"./evm/wallets/embedded-wallet/dist/thirdweb-dev-wallets-evm-wallets-embedded-wallet.browser.esm.js",default:"./evm/wallets/embedded-wallet/dist/thirdweb-dev-wallets-evm-wallets-embedded-wallet.esm.js"},default:"./evm/wallets/embedded-wallet/dist/thirdweb-dev-wallets-evm-wallets-embedded-wallet.cjs.js"},"./evm/connectors/imtoken":{module:{browser:"./evm/connectors/imtoken/dist/thirdweb-dev-wallets-evm-connectors-imtoken.browser.esm.js",default:"./evm/connectors/imtoken/dist/thirdweb-dev-wallets-evm-connectors-imtoken.esm.js"},default:"./evm/connectors/imtoken/dist/thirdweb-dev-wallets-evm-connectors-imtoken.cjs.js"},"./evm/connectors/phantom":{module:{browser:"./evm/connectors/phantom/dist/thirdweb-dev-wallets-evm-connectors-phantom.browser.esm.js",default:"./evm/connectors/phantom/dist/thirdweb-dev-wallets-evm-connectors-phantom.esm.js"},default:"./evm/connectors/phantom/dist/thirdweb-dev-wallets-evm-connectors-phantom.cjs.js"},"./evm/connectors/rainbow":{module:{browser:"./evm/connectors/rainbow/dist/thirdweb-dev-wallets-evm-connectors-rainbow.browser.esm.js",default:"./evm/connectors/rainbow/dist/thirdweb-dev-wallets-evm-connectors-rainbow.esm.js"},default:"./evm/connectors/rainbow/dist/thirdweb-dev-wallets-evm-connectors-rainbow.cjs.js"},"./evm/connectors/injected":{module:{browser:"./evm/connectors/injected/dist/thirdweb-dev-wallets-evm-connectors-injected.browser.esm.js",default:"./evm/connectors/injected/dist/thirdweb-dev-wallets-evm-connectors-injected.esm.js"},default:"./evm/connectors/injected/dist/thirdweb-dev-wallets-evm-connectors-injected.cjs.js"},"./evm/connectors/metamask":{module:{browser:"./evm/connectors/metamask/dist/thirdweb-dev-wallets-evm-connectors-metamask.browser.esm.js",default:"./evm/connectors/metamask/dist/thirdweb-dev-wallets-evm-connectors-metamask.esm.js"},default:"./evm/connectors/metamask/dist/thirdweb-dev-wallets-evm-connectors-metamask.cjs.js"},"./evm/wallets/local-wallet-node":{module:{browser:"./evm/wallets/local-wallet-node/dist/thirdweb-dev-wallets-evm-wallets-local-wallet-node.browser.esm.js",default:"./evm/wallets/local-wallet-node/dist/thirdweb-dev-wallets-evm-wallets-local-wallet-node.esm.js"},default:"./evm/wallets/local-wallet-node/dist/thirdweb-dev-wallets-evm-wallets-local-wallet-node.cjs.js"},"./evm/wallets/wallet-connect-v1":{module:{browser:"./evm/wallets/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect-v1.browser.esm.js",default:"./evm/wallets/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect-v1.esm.js"},default:"./evm/wallets/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect-v1.cjs.js"},"./evm/wallets/crypto-defi-wallet":{module:{browser:"./evm/wallets/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-wallets-crypto-defi-wallet.browser.esm.js",default:"./evm/wallets/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-wallets-crypto-defi-wallet.esm.js"},default:"./evm/wallets/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-wallets-crypto-defi-wallet.cjs.js"},"./evm/connectors/magic-eden":{module:{browser:"./evm/connectors/magic-eden/dist/thirdweb-dev-wallets-evm-connectors-magic-eden.browser.esm.js",default:"./evm/connectors/magic-eden/dist/thirdweb-dev-wallets-evm-connectors-magic-eden.esm.js"},default:"./evm/connectors/magic-eden/dist/thirdweb-dev-wallets-evm-connectors-magic-eden.cjs.js"},"./evm/wallets/aws-secrets-manager":{module:{browser:"./evm/wallets/aws-secrets-manager/dist/thirdweb-dev-wallets-evm-wallets-aws-secrets-manager.browser.esm.js",default:"./evm/wallets/aws-secrets-manager/dist/thirdweb-dev-wallets-evm-wallets-aws-secrets-manager.esm.js"},default:"./evm/wallets/aws-secrets-manager/dist/thirdweb-dev-wallets-evm-wallets-aws-secrets-manager.cjs.js"},"./evm/connectors/core-wallet":{module:{browser:"./evm/connectors/core-wallet/dist/thirdweb-dev-wallets-evm-connectors-core-wallet.browser.esm.js",default:"./evm/connectors/core-wallet/dist/thirdweb-dev-wallets-evm-connectors-core-wallet.esm.js"},default:"./evm/connectors/core-wallet/dist/thirdweb-dev-wallets-evm-connectors-core-wallet.cjs.js"},"./evm/connectors/local-wallet":{module:{browser:"./evm/connectors/local-wallet/dist/thirdweb-dev-wallets-evm-connectors-local-wallet.browser.esm.js",default:"./evm/connectors/local-wallet/dist/thirdweb-dev-wallets-evm-connectors-local-wallet.esm.js"},default:"./evm/connectors/local-wallet/dist/thirdweb-dev-wallets-evm-connectors-local-wallet.cjs.js"},"./evm/connectors/smart-wallet":{module:{browser:"./evm/connectors/smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-smart-wallet.browser.esm.js",default:"./evm/connectors/smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-smart-wallet.esm.js"},default:"./evm/connectors/smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-smart-wallet.cjs.js"},"./evm/connectors/wallet-connect":{module:{browser:"./evm/connectors/wallet-connect/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect.browser.esm.js",default:"./evm/connectors/wallet-connect/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect.esm.js"},default:"./evm/connectors/wallet-connect/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect.cjs.js"},"./evm/connectors/coinbase-wallet":{module:{browser:"./evm/connectors/coinbase-wallet/dist/thirdweb-dev-wallets-evm-connectors-coinbase-wallet.browser.esm.js",default:"./evm/connectors/coinbase-wallet/dist/thirdweb-dev-wallets-evm-connectors-coinbase-wallet.esm.js"},default:"./evm/connectors/coinbase-wallet/dist/thirdweb-dev-wallets-evm-connectors-coinbase-wallet.cjs.js"},"./evm/connectors/embedded-wallet":{module:{browser:"./evm/connectors/embedded-wallet/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet.browser.esm.js",default:"./evm/connectors/embedded-wallet/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet.esm.js"},default:"./evm/connectors/embedded-wallet/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet.cjs.js"},"./evm/wallets/token-bound-smart-wallet":{module:{browser:"./evm/wallets/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.browser.esm.js",default:"./evm/wallets/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.esm.js"},default:"./evm/wallets/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.cjs.js"},"./evm/connectors/wallet-connect-v1":{module:{browser:"./evm/connectors/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect-v1.browser.esm.js",default:"./evm/connectors/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect-v1.esm.js"},default:"./evm/connectors/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect-v1.cjs.js"},"./evm/connectors/crypto-defi-wallet":{module:{browser:"./evm/connectors/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-connectors-crypto-defi-wallet.browser.esm.js",default:"./evm/connectors/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-connectors-crypto-defi-wallet.esm.js"},default:"./evm/connectors/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-connectors-crypto-defi-wallet.cjs.js"},"./evm/connectors/token-bound-smart-wallet":{module:{browser:"./evm/connectors/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.browser.esm.js",default:"./evm/connectors/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.esm.js"},default:"./evm/connectors/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.cjs.js"},"./evm/connectors/embedded-wallet/implementations":{module:{browser:"./evm/connectors/embedded-wallet/implementations/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet-implementations.browser.esm.js",default:"./evm/connectors/embedded-wallet/implementations/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet-implementations.esm.js"},default:"./evm/connectors/embedded-wallet/implementations/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet-implementations.cjs.js"},"./package.json":"./package.json"},types:"dist/thirdweb-dev-wallets.cjs.d.ts",repository:"https://github.com/thirdweb-dev/js/tree/main/legacy_packages/wallets",license:"Apache-2.0",bugs:{url:"https://github.com/thirdweb-dev/js/issues"},author:"thirdweb eng ",files:["dist/","evm/"],preconstruct:{entrypoints:["index.ts","evm/index.ts","evm/connectors/*/index.ts","evm/connectors/embedded-wallet/implementations/index.ts","evm/wallets/**"],exports:{envConditions:["browser"]}},sideEffects:!1,dependencies:{"@account-abstraction/contracts":"^0.5.0","@blocto/sdk":"0.10.2","@coinbase/wallet-sdk":"^3.9.0","@google-cloud/kms":"^4.4.0","@magic-ext/connect":"^6.7.2","@magic-ext/oauth":"^7.6.2","@magic-sdk/provider":"^13.6.2","@metamask/eth-sig-util":"^4.0.1","@paperxyz/embedded-wallet-service-sdk":"^1.2.5","@paperxyz/sdk-common-utilities":"^0.1.1","@safe-global/safe-core-sdk":"^3.3.5","@safe-global/safe-ethers-adapters":"0.1.0-alpha.19","@safe-global/safe-ethers-lib":"^1.9.4","@thirdweb-dev/chains":"workspace:*","@thirdweb-dev/contracts-js":"workspace:*","@thirdweb-dev/crypto":"workspace:*","@thirdweb-dev/sdk":"workspace:*","@walletconnect/core":"^2.12.1","@walletconnect/ethereum-provider":"2.12.2","@walletconnect/jsonrpc-utils":"^1.0.8","@walletconnect/modal":"^2.6.2","@walletconnect/types":"^2.12.1","@walletconnect/utils":"^2.13.0","@walletconnect/web3wallet":"^1.11.2","asn1.js":"5.4.1","bn.js":"5.2.1",buffer:"^6.0.3","eth-provider":"^0.13.6","ethereumjs-util":"^7.1.5",eventemitter3:"^5.0.1","key-encoder":"2.0.3","magic-sdk":"^13.6.2","web3-core":"1.5.2"},peerDependencies:{"@aws-sdk/client-secrets-manager":"^3.256.0",bs58:"^5.0.0",ethers:"^5.7.2","ethers-aws-kms-signer":"^1.3.2",tweetnacl:"^1.0.3"},peerDependenciesMeta:{tweetnacl:{optional:!0},"@aws-sdk/client-secrets-manager":{optional:!0},"ethers-aws-kms-signer":{optional:!0},bs58:{optional:!0},ethers:{optional:!0}},devDependencies:{"@aws-sdk/client-secrets-manager":"^3.549.0","@babel/plugin-transform-class-properties":"^7.24.1","@babel/plugin-transform-flow-strip-types":"^7.24.1","@babel/plugin-transform-private-methods":"^7.24.1","@microsoft/api-extractor":"^7.43.0","@nomiclabs/hardhat-ethers":"^2.2.3","@preconstruct/cli":"2.7.0","@thirdweb-dev/tsconfig":"workspace:*","@types/bn.js":"^5.1.5",abitype:"1.0.0","babel-plugin-transform-inline-environment-variables":"^0.4.4",bs58:"^5.0.0","cross-env":"^7.0.3","eslint-config-thirdweb":"workspace:*","eslint-plugin-better-tree-shaking":"0.0.4","eslint-plugin-tsdoc":"^0.2.17","ethereum-provider":"^0.7.7",ethers:"^5.7.2","ethers-aws-kms-signer":"^1.3.2",hardhat:"^2.22.2",rimraf:"5.0.5",tweetnacl:"^1.0.3","typedoc-gen":"workspace:*",typescript:"5.4.4"},scripts:{format:"prettier --write 'src/**/*'",lint:"eslint src/",fix:"eslint src/ --fix",clean:"rm -rf dist/",build:"tsc && cross-env THIRDWEB_EWS_SDK_VERSION=$npm_package_version preconstruct build","preconstruct:fix":"preconstruct fix",push:"yalc push",typedoc:"node scripts/typedoc.mjs",test:"vitest run"},engines:{node:">=18"}},Vs0=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]]});var U0,wn=ce(()=>{"use strict";u();p();U0={blocto:"blocto",coin98:"coin98",coinbase:"coinbase",coreWallet:"coreWallet",cryptoDefiWallet:"cryptoDefiWallet",frame:"frame",imtoken:"imToken",localWallet:"localWallet",magicLink:"magicLink",metamask:"metamask",paper:"paper",rainbow:"rainbowWallet",smartWallet:"smartWallet",tokenBoundSmartWallet:"tokenBoundSmartWallet",safe:"safe",trust:"trust",embeddedWallet:"embeddedWallet",walletConnectV1:"walletConnectV1",walletConnect:"walletConnect",phantom:"phantom",okx:"okx",oneKey:"oneKey",rabby:"rabby",xdefi:"xdefi",magicEden:"magicEden"}});var Jc,D9=ce(()=>{"use strict";u();p();Nc();W0();Jc=class extends C6{constructor(e){let{chains:n=n1,options:a}=e;super(),this.chains=n,this.options=a}getBlockExplorerUrls(e){let n=e.explorers?.map(a=>a.url)??[];return n.length>0?n:void 0}isChainUnsupported(e){return!this.chains.some(n=>n.chainId===e)}updateChains(e){this.chains=e}}});var SK,RK,Em,_m,Bn,Er,rc,_t,po=ce(()=>{"use strict";u();p();kt();SK=class extends Error{constructor(e,n){let{cause:a,code:r,data:f}=n;if(!Number.isInteger(r))throw new Error('"code" must be an integer.');if(!e||typeof e!="string")throw new Error('"message" must be a nonempty string.');super(`${e}. Cause: ${JSON.stringify(a)}`),this.cause=a,this.code=r,this.data=f}},RK=class extends SK{constructor(e,n){let{cause:a,code:r,data:f}=n;if(!(Number.isInteger(r)&&r>=1e3&&r<=4999))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,{cause:a,code:r,data:f})}},Em=class extends Error{constructor(){super(...arguments),Pe(this,"name","AddChainError"),Pe(this,"message","Error adding chain")}},_m=class extends Error{constructor(e){let{chainId:n,connectorId:a}=e;super(`Chain "${n}" not configured for connector "${a}".`),Pe(this,"name","ChainNotConfigured")}},Bn=class extends Error{constructor(){super(...arguments),Pe(this,"name","ConnectorNotFoundError"),Pe(this,"message","Connector not found")}},Er=class extends SK{constructor(e){super("Resource unavailable",{cause:e,code:-32002}),Pe(this,"name","ResourceUnavailable")}},rc=class extends RK{constructor(e){super("Error switching chain",{cause:e,code:4902}),Pe(this,"name","SwitchChainError")}},_t=class extends RK{constructor(e){super("User rejected request",{cause:e,code:4001}),Pe(this,"name","UserRejectedRequestError")}}});function vi(t){return typeof t=="string"?Number.parseInt(t,t.trim().substring(0,2)==="0x"?16:10):typeof t=="bigint"?Number(t):t}var ch=ce(()=>{"use strict";u();p()});var P6,Ct,Kr=ce(()=>{"use strict";u();p();W0();P6=class extends C6{},Ct=class extends P6{constructor(e){super(),this.wagmiConnector=e}async connect(e){return this.setupConnectorListeners(),(await this.wagmiConnector.connect(e)).account}disconnect(){return this.wagmiConnector.removeAllListeners("connect"),this.wagmiConnector.removeAllListeners("change"),this.wagmiConnector.disconnect()}isConnected(){return this.wagmiConnector.isAuthorized()}getAddress(){return this.wagmiConnector.getAccount()}getSigner(){return this.wagmiConnector.getSigner()}getProvider(){return this.wagmiConnector.getProvider()}async switchChain(e){if(!this.wagmiConnector.switchChain)throw new Error("Switch chain not supported");await this.wagmiConnector.switchChain(e)}setupConnectorListeners(){this.wagmiConnector.addListener("connect",e=>{this.emit("connect",e)}),this.wagmiConnector.addListener("change",e=>{this.emit("change",e)}),this.wagmiConnector.addListener("disconnect",()=>{this.emit("disconnect")})}async setupListeners(){this.setupConnectorListeners(),await this.wagmiConnector.setupListeners()}updateChains(e){this.wagmiConnector.updateChains(e)}}});function P9(t){let e=new URL(t).hostname;return e.endsWith(".thirdweb.com")||e.endsWith(".thirdweb-dev.com")||e==="localhost"||e==="0.0.0.0"}function Pu(t){return vl(t).map(e=>{try{let n=new URL(e);return n.hostname.endsWith(".thirdweb.com")&&(n.pathname="",n.search=""),n.toString()}catch{return e}})}var Am=ce(()=>{"use strict";u();p();Nc()});async function L9(t,e,n,a,r,f){let i=!1;typeof globalThis<"u"&&"TW_SKIP_FETCH_SETUP"in globalThis&&typeof globalThis.TW_SKIP_FETCH_SETUP=="boolean"&&(i=globalThis.TW_SKIP_FETCH_SETUP);let s=CK(a,r),o={};if(P9(s)){let l=typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis?globalThis.APP_BUNDLE_ID:void 0;f?o["x-secret-key"]=f:r&&(o["x-client-id"]=r,l&&(o["x-bundle-id"]=l)),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(o.authorization=`Bearer ${globalThis.TW_AUTH_TOKEN}`),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(o.authorization=`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`,o["x-authorize-wallet"]="true"),GE(o)}let c=new KE.providers.StaticJsonRpcProvider({url:s,skipFetchSetup:i,headers:o},a),d=new KE.Contract(n,$rn,c);try{return await d.isValidSignature(KE.utils.hashMessage(t),e)===Jrn}catch{return!1}}var KE,$rn,Jrn,Ude,MK,Zs0,Hde,QE=ce(()=>{"use strict";u();p();KE=Ee(Xe());kK();Am();ta();$rn=["function isValidSignature(bytes32 _hash, bytes _signature) public view returns (bytes4)"],Jrn="0x1626ba7e";Ude="0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",MK="0x02101dfB77FDE026414827Fdc604ddAF224F0921",Zs0=5e4,Hde=[{type:"constructor",inputs:[{name:"_entrypoint",type:"address",internalType:"contract IEntryPoint"},{name:"_factory",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"addDeposit",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"entryPoint",inputs:[],outputs:[{name:"",type:"address",internalType:"contract IEntryPoint"}],stateMutability:"view"},{type:"function",name:"execute",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_calldata",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"executeBatch",inputs:[{name:"_target",type:"address[]",internalType:"address[]"},{name:"_value",type:"uint256[]",internalType:"uint256[]"},{name:"_calldata",type:"bytes[]",internalType:"bytes[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"factory",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getAllActiveSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getAllAdmins",inputs:[],outputs:[{name:"",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAllSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getMessageHash",inputs:[{name:"_hash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPermissionsForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissions",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isActiveSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isAdmin",inputs:[{name:"_account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isValidSignature",inputs:[{name:"_hash",type:"bytes32",internalType:"bytes32"},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"magicValue",type:"bytes4",internalType:"bytes4"}],stateMutability:"view"},{type:"function",name:"isValidSigner",inputs:[{name:"_signer",type:"address",internalType:"address"},{name:"_userOp",type:"tuple",internalType:"struct UserOperation",components:[{name:"sender",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"initCode",type:"bytes",internalType:"bytes"},{name:"callData",type:"bytes",internalType:"bytes"},{name:"callGasLimit",type:"uint256",internalType:"uint256"},{name:"verificationGasLimit",type:"uint256",internalType:"uint256"},{name:"preVerificationGas",type:"uint256",internalType:"uint256"},{name:"maxFeePerGas",type:"uint256",internalType:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256",internalType:"uint256"},{name:"paymasterAndData",type:"bytes",internalType:"bytes"},{name:"signature",type:"bytes",internalType:"bytes"}]}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setEntrypointOverride",inputs:[{name:"_entrypointOverride",type:"address",internalType:"contract IEntryPoint"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPermissionsForSigner",inputs:[{name:"_req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"validateUserOp",inputs:[{name:"userOp",type:"tuple",internalType:"struct UserOperation",components:[{name:"sender",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"initCode",type:"bytes",internalType:"bytes"},{name:"callData",type:"bytes",internalType:"bytes"},{name:"callGasLimit",type:"uint256",internalType:"uint256"},{name:"verificationGasLimit",type:"uint256",internalType:"uint256"},{name:"preVerificationGas",type:"uint256",internalType:"uint256"},{name:"maxFeePerGas",type:"uint256",internalType:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256",internalType:"uint256"},{name:"paymasterAndData",type:"bytes",internalType:"bytes"},{name:"signature",type:"bytes",internalType:"bytes"}]},{name:"userOpHash",type:"bytes32",internalType:"bytes32"},{name:"missingAccountFunds",type:"uint256",internalType:"uint256"}],outputs:[{name:"validationData",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"verifySignerPermissionRequest",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"withdrawDepositTo",inputs:[{name:"withdrawAddress",type:"address",internalType:"address payable"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AdminUpdated",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"isAdmin",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"SignerPermissionsUpdated",inputs:[{name:"authorizingSigner",type:"address",indexed:!0,internalType:"address"},{name:"targetSigner",type:"address",indexed:!0,internalType:"address"},{name:"permissions",type:"tuple",indexed:!1,internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});function wa(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})}function mf(t,e,n,a){if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?a:n==="a"?a.call(t):a?a.value:e.get(t)}function VE(t,e){if(!t)throw new Error(e)}function BK(t){let e=document.createElement("iframe");return e.setAttribute("src",t),e.setAttribute("style",rfn),e}function DK(t){document.body.appendChild(t)}function L6(t){let e=t&&t.parentNode;e&&e.removeChild instanceof Function&&e.removeChild(t)}function PK(t,e,n){return wa(this,void 0,void 0,function*(){if((t.status===403||t.status===401)&&(n&&n(),WK(e)),!t.ok){let a=yield t.json(),r=new Error(a?.message||"unknown error");throw r.error_code=a?.error_code,r}return t.json()})}function lo0(){nle=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,n=t.length;e0)throw new Error("Invalid string. Length must be a multiple of 4");f=t[s-2]==="="?2:t[s-1]==="="?1:0,i=new cfn(s*3/4-f),a=f>0?s-4:s;var o=0;for(e=0,n=0;e>16&255,i[o++]=r>>8&255,i[o++]=r&255;return f===2?(r=cd[t.charCodeAt(e)]<<2|cd[t.charCodeAt(e+1)]>>4,i[o++]=r&255):f===1&&(r=cd[t.charCodeAt(e)]<<10|cd[t.charCodeAt(e+1)]<<4|cd[t.charCodeAt(e+2)]>>2,i[o++]=r>>8&255,i[o++]=r&255),i}function lfn(t){return Fu[t>>18&63]+Fu[t>>12&63]+Fu[t>>6&63]+Fu[t&63]}function ufn(t,e,n){for(var a,r=[],f=e;fo?o:s+i));return a===1?(e=t[n-1],r+=Fu[e>>2],r+=Fu[e<<4&63],r+="=="):a===2&&(e=(t[n-2]<<8)+t[n-1],r+=Fu[e>>10],r+=Fu[e>>4&63],r+=Fu[e<<2&63],r+="="),f.push(r),f.join("")}function qK(t,e,n,a,r){var f,i,s=r*8-a-1,o=(1<>1,d=-7,l=n?r-1:0,h=n?-1:1,y=t[e+l];for(l+=h,f=y&(1<<-d)-1,y>>=-d,d+=s;d>0;f=f*256+t[e+l],l+=h,d-=8);for(i=f&(1<<-d)-1,f>>=-d,d+=a;d>0;i=i*256+t[e+l],l+=h,d-=8);if(f===0)f=1-c;else{if(f===o)return i?NaN:(y?-1:1)*(1/0);i=i+Math.pow(2,a),f=f-c}return(y?-1:1)*i*Math.pow(2,f-a)}function uo0(t,e,n,a,r,f){var i,s,o,c=f*8-r-1,d=(1<>1,h=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=a?0:f-1,v=a?1:-1,k=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,i=d):(i=Math.floor(Math.log(e)/Math.LN2),e*(o=Math.pow(2,-i))<1&&(i--,o*=2),i+l>=1?e+=h/o:e+=h*Math.pow(2,1-l),e*o>=2&&(i++,o/=2),i+l>=d?(s=0,i=d):i+l>=1?(s=(e*o-1)*Math.pow(2,r),i=i+l):(s=e*Math.pow(2,l-1)*Math.pow(2,r),i=0));r>=8;t[n+y]=s&255,y+=v,s/=256,r-=8);for(i=i<0;t[n+y]=i&255,y+=v,i/=256,c-=8);t[n+y-v]|=k*128}function NK(){return y0.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function dh(t,e){if(NK()=NK())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+NK().toString(16)+" bytes");return t|0}function Nu(t){return!!(t!=null&&t._isBuffer)}function mo0(t,e){if(Nu(t))return t.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var n=t.length;if(n===0)return 0;for(var a=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return OK(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Eo0(t).length;default:if(a)return OK(t).length;e=(""+e).toLowerCase(),a=!0}}function vfn(t,e,n){var a=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,e>>>=0,n<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Sfn(this,e,n);case"utf8":case"utf-8":return vo0(this,e,n);case"ascii":return Ifn(this,e,n);case"latin1":case"binary":return kfn(this,e,n);case"base64":return Afn(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rfn(this,e,n);default:if(a)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}function N9(t,e,n){var a=t[e];t[e]=t[n],t[n]=a}function yo0(t,e,n,a,r){if(t.length===0)return-1;if(typeof n=="string"?(a=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0)if(r)n=0;else return-1;if(typeof e=="string"&&(e=y0.from(e,a)),Nu(e))return e.length===0?-1:so0(t,e,n,a,r);if(typeof e=="number")return e=e&255,y0.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):so0(t,[e],n,a,r);throw new TypeError("val must be string, number or Buffer")}function so0(t,e,n,a,r){var f=1,i=t.length,s=e.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(t.length<2||e.length<2)return-1;f=2,i/=2,s/=2,n/=2}function o(y,v){return f===1?y[v]:y.readUInt16BE(v*f)}var c;if(r){var d=-1;for(c=n;ci&&(n=i-s),c=n;c>=0;c--){for(var l=!0,h=0;hr&&(a=r)):a=r;var f=e.length;if(f%2!==0)throw new TypeError("Invalid hex string");a>f/2&&(a=f/2);for(var i=0;i239?4:f>223?3:f>191?2:1;if(r+s<=n){var o,c,d,l;switch(s){case 1:f<128&&(i=f);break;case 2:o=t[r+1],(o&192)===128&&(l=(f&31)<<6|o&63,l>127&&(i=l));break;case 3:o=t[r+1],c=t[r+2],(o&192)===128&&(c&192)===128&&(l=(f&15)<<12|(o&63)<<6|c&63,l>2047&&(l<55296||l>57343)&&(i=l));break;case 4:o=t[r+1],c=t[r+2],d=t[r+3],(o&192)===128&&(c&192)===128&&(d&192)===128&&(l=(f&15)<<18|(o&63)<<12|(c&63)<<6|d&63,l>65535&&l<1114112&&(i=l))}}i===null?(i=65533,s=1):i>65535&&(i-=65536,a.push(i>>>10&1023|55296),i=56320|i&1023),a.push(i),r+=s}return Cfn(a)}function Cfn(t){var e=t.length;if(e<=oo0)return String.fromCharCode.apply(String,t);for(var n="",a=0;aa)&&(n=a);for(var r="",f=e;fn)throw new RangeError("Trying to access beyond buffer length")}function Xc(t,e,n,a,r,f){if(!Nu(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function jK(t,e,n,a){e<0&&(e=65535+e+1);for(var r=0,f=Math.min(t.length-n,2);r>>(a?r:1-r)*8}function GK(t,e,n,a){e<0&&(e=4294967295+e+1);for(var r=0,f=Math.min(t.length-n,4);r>>(a?r:3-r)*8&255}function wo0(t,e,n,a,r,f){if(n+a>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function To0(t,e,n,a,r){return r||wo0(t,e,n,4),uo0(t,e,n,a,23,4),n+4}function xo0(t,e,n,a,r){return r||wo0(t,e,n,8),uo0(t,e,n,a,52,8),n+8}function Bfn(t){if(t=Dfn(t).replace(Mfn,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Dfn(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function Pfn(t){return t<16?"0"+t.toString(16):t.toString(16)}function OK(t,e){e=e||1/0;for(var n,a=t.length,r=null,f=[],i=0;i55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&f.push(239,191,189);continue}else if(i+1===a){(e-=3)>-1&&f.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&f.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536}else r&&(e-=3)>-1&&f.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;f.push(n)}else if(n<2048){if((e-=2)<0)break;f.push(n>>6|192,n&63|128)}else if(n<65536){if((e-=3)<0)break;f.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((e-=4)<0)break;f.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return f}function Lfn(t){for(var e=[],n=0;n>8,r=n%256,f.push(r),f.push(a);return f}function Eo0(t){return dfn(Bfn(t))}function KK(t,e,n,a){for(var r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function Nfn(t){return t!==t}function Ofn(t){return t!=null&&(!!t._isBuffer||_o0(t)||Ufn(t))}function _o0(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Ufn(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&_o0(t.slice(0,0))}function Gde(){return wa(this,void 0,void 0,function*(){let{networks:t}=yield fetch("https://api.blocto.app/networks/evm").then(n=>n.json());return t.reduce((n,a)=>Object.assign(Object.assign({},n),{[a.chain_id]:a}),{})})}function Co0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F6(t){"@babel/helpers - typeof";return F6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F6(t)}function Wfn(t,e){if(F6(t)!=="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var a=n.call(t,e||"default");if(F6(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function qfn(t){var e=Wfn(t,"string");return F6(e)==="symbol"?e:String(e)}function co0(t,e){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function LK(t,e,n){return Qfn()?LK=Reflect.construct.bind():LK=function(r,f,i){var s=[null];s.push.apply(s,f);var o=Function.bind.apply(r,s),c=new o;return i&&eB(c,i.prototype),c},LK.apply(null,arguments)}function Kde(t){var e=typeof Map=="function"?new Map:void 0;return Kde=function(a){if(a===null||!Kfn(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(a))return e.get(a);e.set(a,r)}function r(){return LK(a,arguments,tB(this).constructor)}return r.prototype=Object.create(a.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),eB(r,a)},Kde(t)}function Ro0(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function nB(t,e,n,a){typeof a>"u"&&(a=Ro0()),Qde(t,"",0,[],void 0,0,a);var r;try{O9.length===0?r=JSON.stringify(t,e,n):r=JSON.stringify(t,Bo0(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;U9.length!==0;){var f=U9.pop();f.length===4?Object.defineProperty(f[0],f[1],f[3]):f[0][f[1]]=f[2]}}return r}function YE(t,e,n,a){var r=Object.getOwnPropertyDescriptor(a,n);r.get!==void 0?r.configurable?(Object.defineProperty(a,n,{value:t}),U9.push([a,n,e,r])):O9.push([e,n,t]):(a[n]=t,U9.push([a,n,e]))}function Qde(t,e,n,a,r,f,i){f+=1;var s;if(F6(t)==="object"&&t!==null){for(s=0;si.depthLimit){YE(UK,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){YE(UK,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;se?1:0}function Mo0(t,e,n,a){typeof a>"u"&&(a=Ro0());var r=Vde(t,"",0,[],void 0,0,a)||t,f;try{O9.length===0?f=JSON.stringify(r,e,n):f=JSON.stringify(r,Bo0(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;U9.length!==0;){var i=U9.pop();i.length===4?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}}return f}function Vde(t,e,n,a,r,f,i){f+=1;var s;if(F6(t)==="object"&&t!==null){for(s=0;si.depthLimit){YE(UK,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){YE(UK,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;s0)for(var a=0;a"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Zfn(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}function ein(t,e){if(e!=="[Circular]")return e}function tin(t){if(Array.isArray(t))return t}function nin(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var a,r,f,i,s=[],o=!0,c=!1;try{if(f=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;o=!1}else for(;!(o=(a=f.call(n)).done)&&(s.push(a.value),s.length!==e);o=!0);}catch(d){c=!0,r=d}finally{try{if(!o&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw r}}return s}}function do0(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n{u();p();(function(t){t.prod="BLOCTO_SDK",t.dev="BLOCTO_SDK_DEV",t.staging="BLOCTO_SDK_STAGING"})(Hl||(Hl={}));(function(t){t.ETHEREUM="ethereum",t.APTOS="aptos"})(as||(as={}));zde={56:"https://bsc-dataseed1.binance.org",97:"https://data-seed-prebsc-1-s1.binance.org:8545",137:"https://rpc-mainnet.maticvigil.com/",80002:"https://rpc-amoy.polygon.technology/",43114:"https://api.avax.network/ext/bc/C/rpc",43113:"https://api.avax-test.network/ext/bc/C/rpc",42161:"https://arb1.arbitrum.io/rpc",421614:"https://arbitrum-sepolia.blockpi.network/v1/rpc/public",10:"https://mainnet.optimism.io",11155420:"https://sepolia.optimism.io",8453:"https://mainnet.base.org",84532:"https://sepolia.base.org",7777777:"https://rpc.zora.energy",999999999:"https://sepolia.rpc.zora.energy",534352:"https://rpc.scroll.io",534351:"https://sepolia-rpc.scroll.io",59144:"https://rpc.linea.build",1261120:"https://rpc.startale.com/zkatana",81457:"https://rpc.blast.io",168587773:"https://sepolia.blast.io"},eo0={prod:"https://wallet-v2.blocto.app",staging:"https://wallet-v2-staging.blocto.app",dev:"https://wallet-v2-dev.blocto.app"},Xrn={prod:Hl.prod,staging:Hl.staging,dev:Hl.dev},Zrn={1:Hl.prod,2:Hl.dev,3:Hl.dev,4:Hl.dev,5:Hl.staging},efn={1:"https://wallet-v2.blocto.app",2:"https://wallet-v2-dev.blocto.app",3:"https://wallet-v2-dev.blocto.app",4:"https://wallet-v2-dev.blocto.app",5:"https://wallet-v2-staging.blocto.app"};(function(t){t.Mainnet="mainnet",t.Testnet="testnet",t.Devnet="devnet",t.Testing="testing",t.Premainnet="premainnet"})(F9||(F9={}));tfn={1:F9.Mainnet,2:F9.Testnet,3:F9.Devnet,4:F9.Testing,5:F9.Premainnet},nfn={1:"https://fullnode.mainnet.aptoslabs.com/v1",2:"https://fullnode.testnet.aptoslabs.com/v1",3:"https://fullnode.devnet.aptoslabs.com/v1",4:"",5:"https://premainnet.aptosdev.com/v1"},to0=["connect","disconnect","message","chainChanged","accountsChanged"],afn=86400*1e3,Xde="00000000-0000-0000-0000-000000000000",zK="0.10.2",FK=class{constructor(){this.isBlocto=!0,this.isConnecting=!1,this.eventListeners={},this.off=this.removeListener,to0.forEach(e=>{this.eventListeners[e]=[]}),this.appId=Xde}request(e){return wa(this,void 0,void 0,function*(){})}on(e,n){to0.includes(e)&&this.eventListeners[e].push(n)}once(){}removeListener(e,n){let r=this.eventListeners[e].findIndex(f=>f===n);r!==-1&&this.eventListeners[e].splice(r,1)}},rfn="width:100vw;height:100%;position:fixed;top:0;left:0;z-index:2147483646;border:none;box-sizing:border-box;color-scheme:light;inset:0px;display:block;pointer-events:auto;";Im=(t,e,n=window)=>{function a(r){e(r,()=>n.removeEventListener(t,a))}n.addEventListener(t,a)},ffn=()=>{if(typeof window>"u")return!1;try{window.sessionStorage.setItem("local_storage_supported","1");let t=window.sessionStorage.getItem("local_storage_supported");return window.sessionStorage.removeItem("local_storage_supported"),t==="1"}catch{return!1}},Wde=class{constructor(){this.storage={}}getItem(e){return this[e]||null}setItem(e,n){this.storage[e]=n}removeItem(e){delete this.storage[e]}},ifn=typeof window<"u"?window.memoryStorage:new Wde,Zde=ffn()?window.sessionStorage:ifn,ele=(t,e=null)=>{let n=Zde.getItem(t);try{return n&&JSON.parse(n)||e}catch{return n||e}},tle=(t,e)=>Zde.setItem(t,typeof e=="string"?e:JSON.stringify(e)),WK=t=>{tle(t,""),Zde.removeItem(t)},km=t=>{let e=ele(t,null);return e?new Date().getTime()>e.expiry||e.v!==zK?(WK(t),null):e?.data:null},$E=(t,e,n)=>{var a,r,f;let i=ele(t),s={data:{code:e?.code||((a=i?.data)===null||a===void 0?void 0:a.code),accounts:Object.assign(Object.assign({},(r=i?.data)===null||r===void 0?void 0:r.accounts),e?.accounts),evm:Object.assign(Object.assign({},(f=i?.data)===null||f===void 0?void 0:f.evm),e?.evm)},expiry:n||i?.expiry||new Date().getTime()+afn,v:zK};tle(t,s)},Lu=(t,e)=>{var n,a,r;return!((n=km(t))===null||n===void 0)&&n.code?((r=(a=km(t))===null||a===void 0?void 0:a.accounts)===null||r===void 0?void 0:r[e])||null:(WK(t),null)},sfn=(t,e,n)=>{$E(t,{accounts:{[e]:n}})},ofn=(t,e)=>{$E(t,{accounts:{[e]:void 0}})},JM=(t,e)=>{var n,a,r;return!((n=km(t))===null||n===void 0)&&n.code?((r=(a=km(t))===null||a===void 0?void 0:a.evm)===null||r===void 0?void 0:r[e])||null:(WK(t),null)},no0=(t,e,n)=>{$E(t,{evm:{[e]:n}})},ao0=t=>{let e=ele(t);e&&(e.data.evm={},tle(t,e))};ro0=t=>/\S+@\S+\.\S+/.test(t);(function(t){t.INVALID_TRANSACTION="Invalid transaction",t.INVALID_TRANSACTIONS="Invalid transactions",t.INVALID_TRANSACTION_VALUE='Transaction params "value" should be hex-encoded string'})(ZM||(ZM={}));fo0=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},Fu=[],cd=[],cfn=typeof Uint8Array<"u"?Uint8Array:Array,nle=!1;pfn={}.toString,po0=Array.isArray||function(t){return pfn.call(t)=="[object Array]"};hfn=50;y0.TYPED_ARRAY_SUPPORT=fo0.TYPED_ARRAY_SUPPORT!==void 0?fo0.TYPED_ARRAY_SUPPORT:!0;NK();y0.poolSize=8192;y0._augment=function(t){return t.__proto__=y0.prototype,t};y0.from=function(t,e,n){return ho0(null,t,e,n)};y0.TYPED_ARRAY_SUPPORT&&(y0.prototype.__proto__=Uint8Array.prototype,y0.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&y0[Symbol.species]);y0.alloc=function(t,e,n){return bfn(null,t,e,n)};y0.allocUnsafe=function(t){return ale(null,t)};y0.allocUnsafeSlow=function(t){return ale(null,t)};y0.isBuffer=Ofn;y0.compare=function(e,n){if(!Nu(e)||!Nu(n))throw new TypeError("Arguments must be Buffers");if(e===n)return 0;for(var a=e.length,r=n.length,f=0,i=Math.min(a,r);f0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""};y0.prototype.compare=function(e,n,a,r,f){if(!Nu(e))throw new TypeError("Argument must be a Buffer");if(n===void 0&&(n=0),a===void 0&&(a=e?e.length:0),r===void 0&&(r=0),f===void 0&&(f=this.length),n<0||a>e.length||r<0||f>this.length)throw new RangeError("out of range index");if(r>=f&&n>=a)return 0;if(r>=f)return-1;if(n>=a)return 1;if(n>>>=0,a>>>=0,r>>>=0,f>>>=0,this===e)return 0;for(var i=f-r,s=a-n,o=Math.min(i,s),c=this.slice(r,f),d=e.slice(n,a),l=0;lf)&&(a=f),e.length>0&&(a<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return wfn(this,e,n,a);case"utf8":case"utf-8":return Tfn(this,e,n,a);case"ascii":return go0(this,e,n,a);case"latin1":case"binary":return xfn(this,e,n,a);case"base64":return Efn(this,e,n,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _fn(this,e,n,a);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}};y0.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};oo0=4096;y0.prototype.slice=function(e,n){var a=this.length;e=~~e,n=n===void 0?a:~~n,e<0?(e+=a,e<0&&(e=0)):e>a&&(e=a),n<0?(n+=a,n<0&&(n=0)):n>a&&(n=a),n0&&(f*=256);)r+=this[e+--n]*f;return r};y0.prototype.readUInt8=function(e,n){return n||Ps(e,1,this.length),this[e]};y0.prototype.readUInt16LE=function(e,n){return n||Ps(e,2,this.length),this[e]|this[e+1]<<8};y0.prototype.readUInt16BE=function(e,n){return n||Ps(e,2,this.length),this[e]<<8|this[e+1]};y0.prototype.readUInt32LE=function(e,n){return n||Ps(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};y0.prototype.readUInt32BE=function(e,n){return n||Ps(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};y0.prototype.readIntLE=function(e,n,a){e=e|0,n=n|0,a||Ps(e,n,this.length);for(var r=this[e],f=1,i=0;++i=f&&(r-=Math.pow(2,8*n)),r};y0.prototype.readIntBE=function(e,n,a){e=e|0,n=n|0,a||Ps(e,n,this.length);for(var r=n,f=1,i=this[e+--r];r>0&&(f*=256);)i+=this[e+--r]*f;return f*=128,i>=f&&(i-=Math.pow(2,8*n)),i};y0.prototype.readInt8=function(e,n){return n||Ps(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};y0.prototype.readInt16LE=function(e,n){n||Ps(e,2,this.length);var a=this[e]|this[e+1]<<8;return a&32768?a|4294901760:a};y0.prototype.readInt16BE=function(e,n){n||Ps(e,2,this.length);var a=this[e+1]|this[e]<<8;return a&32768?a|4294901760:a};y0.prototype.readInt32LE=function(e,n){return n||Ps(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};y0.prototype.readInt32BE=function(e,n){return n||Ps(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};y0.prototype.readFloatLE=function(e,n){return n||Ps(e,4,this.length),qK(this,e,!0,23,4)};y0.prototype.readFloatBE=function(e,n){return n||Ps(e,4,this.length),qK(this,e,!1,23,4)};y0.prototype.readDoubleLE=function(e,n){return n||Ps(e,8,this.length),qK(this,e,!0,52,8)};y0.prototype.readDoubleBE=function(e,n){return n||Ps(e,8,this.length),qK(this,e,!1,52,8)};y0.prototype.writeUIntLE=function(e,n,a,r){if(e=+e,n=n|0,a=a|0,!r){var f=Math.pow(2,8*a)-1;Xc(this,e,n,a,f,0)}var i=1,s=0;for(this[n]=e&255;++s=0&&(s*=256);)this[n+i]=e/s&255;return n+a};y0.prototype.writeUInt8=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,1,255,0),y0.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[n]=e&255,n+1};y0.prototype.writeUInt16LE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,2,65535,0),y0.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8):jK(this,e,n,!0),n+2};y0.prototype.writeUInt16BE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,2,65535,0),y0.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=e&255):jK(this,e,n,!1),n+2};y0.prototype.writeUInt32LE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,4,4294967295,0),y0.TYPED_ARRAY_SUPPORT?(this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=e&255):GK(this,e,n,!0),n+4};y0.prototype.writeUInt32BE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,4,4294967295,0),y0.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255):GK(this,e,n,!1),n+4};y0.prototype.writeIntLE=function(e,n,a,r){if(e=+e,n=n|0,!r){var f=Math.pow(2,8*a-1);Xc(this,e,n,a,f-1,-f)}var i=0,s=1,o=0;for(this[n]=e&255;++i>0)-o&255;return n+a};y0.prototype.writeIntBE=function(e,n,a,r){if(e=+e,n=n|0,!r){var f=Math.pow(2,8*a-1);Xc(this,e,n,a,f-1,-f)}var i=a-1,s=1,o=0;for(this[n+i]=e&255;--i>=0&&(s*=256);)e<0&&o===0&&this[n+i+1]!==0&&(o=1),this[n+i]=(e/s>>0)-o&255;return n+a};y0.prototype.writeInt8=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,1,127,-128),y0.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[n]=e&255,n+1};y0.prototype.writeInt16LE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,2,32767,-32768),y0.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8):jK(this,e,n,!0),n+2};y0.prototype.writeInt16BE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,2,32767,-32768),y0.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=e&255):jK(this,e,n,!1),n+2};y0.prototype.writeInt32LE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,4,2147483647,-2147483648),y0.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24):GK(this,e,n,!0),n+4};y0.prototype.writeInt32BE=function(e,n,a){return e=+e,n=n|0,a||Xc(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),y0.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255):GK(this,e,n,!1),n+4};y0.prototype.writeFloatLE=function(e,n,a){return To0(this,e,n,!0,a)};y0.prototype.writeFloatBE=function(e,n,a){return To0(this,e,n,!1,a)};y0.prototype.writeDoubleLE=function(e,n,a){return xo0(this,e,n,!0,a)};y0.prototype.writeDoubleBE=function(e,n,a){return xo0(this,e,n,!1,a)};y0.prototype.copy=function(e,n,a,r){if(a||(a=0),!r&&r!==0&&(r=this.length),n>=e.length&&(n=e.length),n||(n=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-n=0;--i)e[i+n]=this[i+a];else if(f<1e3||!y0.TYPED_ARRAY_SUPPORT)for(i=0;i>>0,a=a===void 0?this.length:a>>>0,e||(e=0);var i;if(typeof e=="number")for(i=n;itypeof t=="string"&&/^0x[0-9A-Fa-f]*$/.test(t),Hfn=t=>y0.from(t,"utf8").toString("hex"),Ao0=t=>!t||typeof t!="object"||!("from"in t)?{isValid:!1,invalidMsg:ZM.INVALID_TRANSACTION}:t.value&&!jde(t.value)?{isValid:!1,invalidMsg:ZM.INVALID_TRANSACTION_VALUE}:{isValid:!0},zfn=t=>{if(!Array.isArray(t))return{isValid:!1,invalidMsg:ZM.INVALID_TRANSACTIONS};for(let e=0;e1&&arguments[1]!==void 0?arguments[1]:r;if(Number.isInteger(h)){var v=h.toString();if(l(e.errorValues,v))return e.errorValues[v].message;if(c(h))return t.JSON_RPC_SERVER_ERROR_MESSAGE}return y}t.getMessageFromCode=i;function s(h){if(!Number.isInteger(h))return!1;var y=h.toString();return!!(e.errorValues[y]||c(h))}t.isValidCode=s;function o(h){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=y.fallbackError,k=v===void 0?f:v,O=y.shouldIncludeStack,F=O===void 0?!1:O,z,W;if(!k||!Number.isInteger(k.code)||typeof k.message!="string")throw new Error("Must provide fallback error with integer number code and string message.");if(h instanceof n.EthereumRpcError)return h.serialize();var j={};if(h&&F6(h)==="object"&&!Array.isArray(h)&&l(h,"code")&&s(h.code)){var Q=h;j.code=Q.code,Q.message&&typeof Q.message=="string"?(j.message=Q.message,l(Q,"data")&&(j.data=Q.data)):(j.message=i(j.code),j.data={originalError:d(h)})}else{j.code=k.code;var V=(z=h)===null||z===void 0?void 0:z.message;j.message=V&&typeof V=="string"?V:k.message,j.data={originalError:d(h)}}var X=(W=h)===null||W===void 0?void 0:W.stack;return F&&h&&X&&typeof X=="string"&&(j.stack=X),j}t.serializeError=o;function c(h){return h>=-32099&&h<=-32e3}function d(h){return h&&F6(h)==="object"&&!Array.isArray(h)?Object.assign({},h):h}function l(h,y){return Object.prototype.hasOwnProperty.call(h,y)}})(fle);QK={};Object.defineProperty(QK,"__esModule",{value:!0});QK.ethErrors=void 0;ile=Sm,Fo0=fle,d1=Rm;QK.ethErrors={rpc:{parse:function(e){return od(d1.errorCodes.rpc.parse,e)},invalidRequest:function(e){return od(d1.errorCodes.rpc.invalidRequest,e)},invalidParams:function(e){return od(d1.errorCodes.rpc.invalidParams,e)},methodNotFound:function(e){return od(d1.errorCodes.rpc.methodNotFound,e)},internal:function(e){return od(d1.errorCodes.rpc.internal,e)},server:function(e){if(!e||F6(e)!=="object"||Array.isArray(e))throw new Error("Ethereum RPC Server errors must provide single object argument.");var n=e.code;if(!Number.isInteger(n)||n>-32005||n<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return od(n,e)},invalidInput:function(e){return od(d1.errorCodes.rpc.invalidInput,e)},resourceNotFound:function(e){return od(d1.errorCodes.rpc.resourceNotFound,e)},resourceUnavailable:function(e){return od(d1.errorCodes.rpc.resourceUnavailable,e)},transactionRejected:function(e){return od(d1.errorCodes.rpc.transactionRejected,e)},methodNotSupported:function(e){return od(d1.errorCodes.rpc.methodNotSupported,e)},limitExceeded:function(e){return od(d1.errorCodes.rpc.limitExceeded,e)}},provider:{userRejectedRequest:function(e){return XM(d1.errorCodes.provider.userRejectedRequest,e)},unauthorized:function(e){return XM(d1.errorCodes.provider.unauthorized,e)},unsupportedMethod:function(e){return XM(d1.errorCodes.provider.unsupportedMethod,e)},disconnected:function(e){return XM(d1.errorCodes.provider.disconnected,e)},chainDisconnected:function(e){return XM(d1.errorCodes.provider.chainDisconnected,e)},custom:function(e){if(!e||F6(e)!=="object"||Array.isArray(e))throw new Error("Ethereum Provider custom errors must provide single object argument.");var n=e.code,a=e.message,r=e.data;if(!a||typeof a!="string")throw new Error('"message" must be a nonempty string');return new ile.EthereumProviderError(n,a,r)}}};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.getMessageFromCode=t.serializeError=t.EthereumProviderError=t.EthereumRpcError=t.ethErrors=t.errorCodes=void 0;var e=Sm;Object.defineProperty(t,"EthereumRpcError",{enumerable:!0,get:function(){return e.EthereumRpcError}}),Object.defineProperty(t,"EthereumProviderError",{enumerable:!0,get:function(){return e.EthereumProviderError}});var n=fle;Object.defineProperty(t,"serializeError",{enumerable:!0,get:function(){return n.serializeError}}),Object.defineProperty(t,"getMessageFromCode",{enumerable:!0,get:function(){return n.getMessageFromCode}});var a=QK;Object.defineProperty(t,"ethErrors",{enumerable:!0,get:function(){return a.ethErrors}});var r=Rm;Object.defineProperty(t,"errorCodes",{enumerable:!0,get:function(){return r.errorCodes}})})(jn);$de=class extends FK{get existedSDK(){if(!(typeof window>"u"))return window.ethereum}constructor(e){var n;if(super(),Qr.add(this),this.networkVersion="1",this.off=this.removeListener,this.injectedWalletServer=e.walletServer,this._blocto={sessionKeyEnv:Hl.prod,walletServer:this.injectedWalletServer||"",blockchainName:"",networkType:"",switchableNetwork:{}},this.appId=e.appId||Xde,"chainId"in e){let{chainId:a,rpc:r}=e;VE(a,"'chainId' is required"),this.networkVersion=`${l1(a)}`,this.chainId=`0x${l1(a).toString(16)}`,this.rpc=r||zde[this.networkVersion],VE(this.rpc,"'rpc' is required")}else{let{defaultChainId:a,switchableChains:r}=e;VE(a,"'defaultChainId' is required"),this.networkVersion=`${l1(a)}`,this.chainId=`0x${l1(a).toString(16)}`;let f=r.find(i=>l1(i.chainId)===l1(a));if(!f)throw jn.ethErrors.provider.custom({code:1001,message:`Chain ${a} is not in switchableChains list`});this.rpc=((n=f.rpcUrls)===null||n===void 0?void 0:n[0])||zde[this.networkVersion],VE(this.rpc,"'rpc' is required"),this._blocto.unloadedNetwork=r}}send(e,n){return wa(this,void 0,void 0,function*(){switch(!0){case n instanceof Function:return this.sendAsync(e,n);case(typeof e=="string"&&Array.isArray(n)):return this.sendAsync({jsonrpc:"2.0",method:e,params:n});default:return this.sendAsync(e)}})}sendAsync(e,n){return wa(this,void 0,void 0,function*(){let a=s=>s.reduce((o,c)=>{var d;return c.method==="eth_sendTransaction"?o.sendRequests.push((d=c.params)===null||d===void 0?void 0:d[0]):o.otherRequests.push(this.request(c)),o},{sendRequests:[],otherRequests:[]});function r(s){return{id:String(s.id),jsonrpc:"2.0",method:s.method}}function f(s,o){let c=[],d=1;return s.forEach(l=>{let h=r(l);l.method==="eth_sendTransaction"?(h.result=o[0].value,h.error=o[0].status!=="fulfilled"?o[0].reason:void 0):d{if(Array.isArray(e)){let{sendRequests:o,otherRequests:c}=a(e),d={method:"wallet_sendMultiCallTransaction",params:[o,!1]},l=o.length===0,h=Math.floor(Math.random()*1e4),y=l?[...c]:[this.request(d),...c];Promise.allSettled(y).then(v=>{if(l)return s(v.map((O,F)=>{var z;return{id:String(((z=e[F])===null||z===void 0?void 0:z.id)||h+F+1),jsonrpc:"2.0",method:e[F].method,result:O.status==="fulfilled"?O.value:void 0,error:O.status!=="fulfilled"?O.reason:void 0}}));let k=f(e,v);return s(k)}).catch(v=>{throw jn.ethErrors.rpc.internal(v?.message)})}else this.request(Object.assign(Object.assign({},e),{id:Number(e.id)})).then(s)});if(typeof n=="function")i.then(s=>n(null,s)).catch(s=>n(s));else return i})}sendUserOperation(e){return wa(this,void 0,void 0,function*(){return this.request({method:"eth_sendUserOperation",params:[e]})})}request(e){var n,a,r,f,i,s,o,c;return wa(this,void 0,void 0,function*(){if(Array.isArray(e))return this.sendAsync(e);if(!e?.method)throw jn.ethErrors.rpc.invalidRequest();let{blockchainName:d,switchableNetwork:l,sessionKeyEnv:h}=yield mf(this,Qr,"m",fc).call(this);if(!((n=this.existedSDK)===null||n===void 0)&&n.isBlocto){if(e.method==="wallet_switchEthereumChain"){if(!(!((r=(a=e?.params)===null||a===void 0?void 0:a[0])===null||r===void 0)&&r.chainId))throw jn.ethErrors.rpc.invalidParams();return this.existedSDK.request(e).then(()=>{var y,v,k;return this.networkVersion=`${l1((y=e?.params)===null||y===void 0?void 0:y[0].chainId)}`,this.chainId=`0x${l1((v=e?.params)===null||v===void 0?void 0:v[0].chainId).toString(16)}`,this.rpc=(k=l?.[this.networkVersion])===null||k===void 0?void 0:k.rpc_url,null})}return this.existedSDK.request(e)}switch(e.method){case"eth_chainId":return this.chainId;case"net_version":return this.networkVersion;case"wallet_addEthereumChain":return this.loadSwitchableNetwork(e?.params||[]);case"eth_blockNumber":case"web3_clientVersion":case"eth_call":{let y=yield this.handleReadRequests(e);if(!y||y&&!y.result&&y.error){let v=!((f=y?.error)===null||f===void 0)&&f.message?y.error.message:"Request failed";throw jn.ethErrors.rpc.internal(v)}return typeof e?.callback=="function"&&e.callback(null,y.result),y.result}case"wallet_switchEthereumChain":return this.handleSwitchChain((s=(i=e?.params)===null||i===void 0?void 0:i[0])===null||s===void 0?void 0:s.chainId);case"wallet_disconnect":return this.handleDisconnect();case"eth_accounts":return JM(h,d)||[]}if(!JM(h,d)){let y=(o=e?.params)===null||o===void 0?void 0:o[0];e.method==="eth_requestAccounts"&&ro0(y)?yield this.enable(y):yield this.enable()}try{let y=null,v=null;switch(e.method){case"eth_requestAccounts":{v=yield this.fetchAccounts();break}case"eth_coinbase":{v=(c=JM(h,d))===null||c===void 0?void 0:c[0];break}case"eth_signTypedData_v3":case"eth_signTypedData":case"eth_signTypedData_v4":case"personal_sign":{v=yield this.handleSign(e);break}case"eth_sign":throw jn.ethErrors.rpc.methodNotFound("Method Not Supported: eth_sign has been disabled");case"eth_sendTransaction":v=yield this.handleSendTransaction(e);break;case"wallet_sendMultiCallTransaction":v=yield this.handleSendBatchTransaction(e);break;case"eth_signTransaction":case"eth_sendRawTransaction":throw jn.ethErrors.rpc.methodNotSupported("Method Not Supported: "+e.method);case"eth_sendUserOperation":v=yield this.handleSendUserOperation(e);break;case"eth_estimateUserOperationGas":case"eth_getUserOperationByHash":case"eth_getUserOperationReceipt":case"eth_supportedEntryPoints":v=yield this.handleBundler(e);break;default:y=yield this.handleReadRequests(e)}if(y&&!y.result&&y.error){let k=y.error.message?y.error.message:"Request failed";throw jn.ethErrors.rpc.internal(k)}return y?y.result:v}catch(y){throw jn.ethErrors.rpc.internal(y?.message)}})}bloctoApi(e,n){var a;return wa(this,void 0,void 0,function*(){let{walletServer:r,blockchainName:f,sessionKeyEnv:i}=yield mf(this,Qr,"m",fc).call(this),s=((a=km(i))===null||a===void 0?void 0:a.code)||"";if(!s)throw jn.ethErrors.provider.unauthorized();return fetch(`${r}/api/${f}${e}`,Object.assign({headers:{"Content-Type":"application/json","Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":s}},n)).then(o=>PK(o,i,()=>{var c;(c=this.eventListeners)===null||c===void 0||c.disconnect.forEach(d=>d(jn.ethErrors.provider.disconnected()))})).catch(o=>{throw o?.error_code==="unsupported_method"?jn.ethErrors.rpc.methodNotSupported("Method Not Supported: "+o.message):jn.ethErrors.rpc.server({code:-32005,message:`Blocto server error: ${o.message}`})})})}responseListener(e,n){return wa(this,void 0,void 0,function*(){let{walletServer:a}=yield mf(this,Qr,"m",fc).call(this);return new Promise((r,f)=>Im("message",(i,s)=>{let o=i;o.origin===a&&o.data.type==="ETH:FRAME:RESPONSE"&&(o.data.status==="APPROVED"&&(s(),L6(e),r(o.data[n])),o.data.status==="DECLINED"&&(s(),L6(e),o.data.errorCode==="incorrect_session_id"&&this.handleDisconnect(),f(jn.ethErrors.provider.userRejectedRequest(o.data.errorMessage)))),o.data.type==="ETH:FRAME:CLOSE"&&(s(),L6(e),f(jn.ethErrors.provider.userRejectedRequest("User declined the request")))}))})}setIframe(e,n){return wa(this,void 0,void 0,function*(){if(typeof window>"u")throw jn.ethErrors.provider.custom({code:1001,message:"Blocto SDK only works in browser environment"});let{walletServer:a,blockchainName:r}=yield mf(this,Qr,"m",fc).call(this),f=BK(`${a}/${this.appId}/${n||r}${e}`);return DK(f),f})}enable(e){var n;return wa(this,void 0,void 0,function*(){if(typeof window>"u")throw jn.ethErrors.provider.custom({code:1001,message:"Blocto SDK only works in browser environment"});let{walletServer:a,blockchainName:r,sessionKeyEnv:f}=yield mf(this,Qr,"m",fc).call(this);if(!((n=this.existedSDK)===null||n===void 0)&&n.isBlocto)return this.existedSDK.chainId!==this.chainId&&(yield this.existedSDK.request({method:"wallet_addEthereumChain",params:[{chainId:this.chainId}]}),yield this.existedSDK.request({method:"wallet_switchEthereumChain",params:[{chainId:this.chainId}]}),no0(f,r,[this.existedSDK.address])),new Promise((d,l)=>setTimeout(()=>this.existedSDK.enable().then(d).catch(l),10));let i=JM(f,r);if(i)return new Promise(d=>{d(i)});let s=new URLSearchParams;s.set("l6n",window.location.origin),s.set("v",zK),s.set("q",`${window.location.pathname}${window.location.search}`);let o=e&&ro0(e)?`/${e}`:"",c=yield this.setIframe(`/authn${o}?${s.toString()}`);return new Promise((d,l)=>{Im("message",(h,y)=>{var v,k;let O=h;O.origin===a&&(O.data.type==="ETH:FRAME:RESPONSE"&&(y(),L6(c),(v=this.eventListeners)===null||v===void 0||v.connect.forEach(F=>F({chainId:this.chainId})),$E(f,{code:O.data.code,evm:{[r]:[O.data.addr]}},O.data.exp),!((k=O.data)===null||k===void 0)&&k.isAccountChanged&&postMessage({originChain:as.ETHEREUM,type:"BLOCTO_SDK:ACCOUNT_CHANGED"}),Im("message",(F,z)=>{var W,j,Q;let V=F,X=((W=V.data)===null||W===void 0?void 0:W.type)==="BLOCTO_SDK:ACCOUNT_CHANGED",K=((j=V.data)===null||j===void 0?void 0:j.originChain)!==as.ETHEREUM;X&&((Q=this.eventListeners)===null||Q===void 0||Q.accountsChanged.forEach(G=>G([O.data.addr]))),X&&K&&(this.handleDisconnect(),z())}),d([O.data.addr])),O.data.type==="ETH:FRAME:CLOSE"&&(y(),L6(c),l(jn.ethErrors.provider.userRejectedRequest())))})})})}fetchAccounts(){return wa(this,void 0,void 0,function*(){mf(this,Qr,"m",Cm).call(this);let{blockchainName:e,sessionKeyEnv:n}=yield mf(this,Qr,"m",fc).call(this),{accounts:a}=yield this.bloctoApi("/accounts");return no0(n,e,a),a})}handleReadRequests(e){return wa(this,void 0,void 0,function*(){return mf(this,Qr,"m",Cm).call(this),fetch(this.rpc,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Object.assign({id:1,jsonrpc:"2.0"},e))}).then(n=>n.json()).catch(n=>{throw jn.ethErrors.rpc.internal(n)})})}handleSign({method:e,params:n}){return wa(this,void 0,void 0,function*(){let a="";if(Array.isArray(n)){if(e==="personal_sign")a=jde(n[0])?n[0].slice(2):Hfn(n[0]);else if(["eth_signTypedData","eth_signTypedData_v3","eth_signTypedData_v4"].includes(e)){a=n[1];let{domain:i}=JSON.parse(a);if(jde(i.chainId))throw jn.ethErrors.rpc.invalidParams(`Provided chainId "${i.chainId}" must be a number`);if(l1(i.chainId)!==l1(this.chainId))throw jn.ethErrors.rpc.invalidParams(`Provided chainId "${i.chainId}" must match the active chainId "${l1(this.chainId)}"`)}}mf(this,Qr,"m",Cm).call(this);let{signatureId:r}=yield this.bloctoApi("/user-signature",{method:"POST",body:JSON.stringify({method:e,message:a})}),f=yield this.setIframe(`/user-signature/${r}`);return this.responseListener(f,"signature")})}handleSwitchChain(e){var n,a;return wa(this,void 0,void 0,function*(){if(!e)throw jn.ethErrors.rpc.invalidParams();let{walletServer:r,blockchainName:f,sessionKeyEnv:i,switchableNetwork:s}=yield mf(this,Qr,"m",fc).call(this),o=(n=JM(i,f))===null||n===void 0?void 0:n[0],c=l1(this.chainId),d=l1(e);if(c===d)return null;if(!s[d])throw jn.ethErrors.provider.custom({code:4902,message:`Unrecognized chain ID "${d}". Try adding the chain using wallet_addEthereumChain first.`});if(this.networkVersion=`${d}`,this.chainId=`0x${d.toString(16)}`,this.rpc=s[d].rpc_url,this._blocto=Object.assign(Object.assign({},this._blocto),{blockchainName:"",networkType:""}),!o)return(a=this.eventListeners)===null||a===void 0||a.chainChanged.forEach(h=>h(this.chainId)),yield mf(this,Qr,"m",fc).call(this),null;if(s[d].wallet_web_url!==s[c].wallet_web_url)return this.enable().then(([h])=>{var y;return h!==o&&((y=this.eventListeners)===null||y===void 0||y.accountsChanged.forEach(v=>v([h]))),this.eventListeners.chainChanged.forEach(v=>v(this.chainId)),null}).catch(h=>{throw this.networkVersion=`${c}`,this.chainId=`0x${c.toString(16)}`,this.rpc=s[c].rpc_url,this._blocto=Object.assign(Object.assign({},this._blocto),{blockchainName:"",networkType:""}),mf(this,Qr,"m",fc).call(this),h});let l=yield this.setIframe(`/switch-chain?to=${s[d].name}`,s[c].name);return new Promise((h,y)=>{Im("message",(v,k)=>{var O,F,z,W,j,Q,V,X;let K=v;K.origin===r&&(K.data.type==="ETH:FRAME:RESPONSE"&&(k(),L6(l),!((O=K.data)===null||O===void 0)&&O.addr&&o&&($E(i,{code:(F=K.data)===null||F===void 0?void 0:F.code,evm:{[s[d].name]:[K.data.addr]}},(z=K.data)===null||z===void 0?void 0:z.exp),K.data.addr!==o&&((W=this.eventListeners)===null||W===void 0||W.accountsChanged.forEach(G=>G([K.data.addr])))),(j=this.eventListeners)===null||j===void 0||j.chainChanged.forEach(G=>G(this.chainId)),mf(this,Qr,"m",fc).call(this),h(null)),K.data.type==="ETH:FRAME:CLOSE"&&(k(),L6(l),!((Q=K.data)===null||Q===void 0)&&Q.hasApprovedSwitchChain?((V=this.eventListeners)===null||V===void 0||V.chainChanged.forEach(G=>G(this.chainId)),ao0(i),(X=this.eventListeners)===null||X===void 0||X.disconnect.forEach(G=>G(jn.ethErrors.provider.disconnected())),mf(this,Qr,"m",fc).call(this),h(null)):(this.networkVersion=`${c}`,this.chainId=`0x${c.toString(16)}`,this.rpc=s[c].rpc_url,this._blocto=Object.assign(Object.assign({},this._blocto),{blockchainName:"",networkType:""}),mf(this,Qr,"m",fc).call(this),y(jn.ethErrors.provider.userRejectedRequest()))))})})})}handleSendTransaction(e){var n;return wa(this,void 0,void 0,function*(){mf(this,Qr,"m",Cm).call(this);let{isValid:a,invalidMsg:r}=Ao0((n=e.params)===null||n===void 0?void 0:n[0]);if(!a)throw jn.ethErrors.rpc.invalidParams(r);return mf(this,Qr,"m",Yde).call(this,e.params)})}handleSendBatchTransaction(e){return wa(this,void 0,void 0,function*(){mf(this,Qr,"m",Cm).call(this);let n,a;Array.isArray(e.params)&&e.params.length>=2?[n,a]=e.params:(n=e.params,a=!1);let r=a||!1,{isValid:f,invalidMsg:i}=zfn(n);if(!f)throw jn.ethErrors.rpc.invalidParams(i);return mf(this,Qr,"m",Yde).call(this,n,r)})}handleSendUserOperation(e){return wa(this,void 0,void 0,function*(){mf(this,Qr,"m",Cm).call(this);let{authorizationId:n}=yield this.bloctoApi("/user-operation",{method:"POST",body:JSON.stringify(e.params)}),a=yield this.setIframe(`/user-operation/${n}`);return this.responseListener(a,"userOpHash")})}handleBundler(e){return wa(this,void 0,void 0,function*(){return mf(this,Qr,"m",Cm).call(this),this.bloctoApi("/rpc/bundler",{method:"POST",body:JSON.stringify(Object.assign({id:1,jsonrpc:"2.0"},e))})})}handleDisconnect(){var e,n;return wa(this,void 0,void 0,function*(){if(!((e=this.existedSDK)===null||e===void 0)&&e.isBlocto)return this.existedSDK.request({method:"wallet_disconnect"});let{sessionKeyEnv:a}=yield mf(this,Qr,"m",fc).call(this);ao0(a),(n=this.eventListeners)===null||n===void 0||n.disconnect.forEach(r=>r(jn.ethErrors.provider.disconnected()))})}loadSwitchableNetwork(e){return wa(this,void 0,void 0,function*(){if(e?.length){let n=e.map(({chainId:a,rpcUrls:r})=>{if(!a)throw jn.ethErrors.rpc.invalidParams("Empty chainId");let f=`${l1(a)}`;if(this._blocto.switchableNetwork[f])return null;let i=r?.[0]||zde[f];if(!i)throw jn.ethErrors.rpc.invalidParams("rpcUrls required");return mf(this,Qr,"m",Oo0).call(this,{chainId:f,rpcUrls:[i]})});return Promise.all(n).then(()=>null)}else throw jn.ethErrors.rpc.invalidParams("Empty networkList")})}supportChainList(){return wa(this,void 0,void 0,function*(){let e=yield Gde().catch(n=>{throw jn.ethErrors.provider.custom({code:1001,message:`Get blocto server failed: ${n.message}`})});return Object.keys(e).map(n=>{let{display_name:a}=e[n];return{chainId:n,chainName:a}})})}on(e,n){var a;!((a=this.existedSDK)===null||a===void 0)&&a.isBlocto&&this.existedSDK.on(e,n),super.on(e,n)}removeListener(e,n){var a;!((a=this.existedSDK)===null||a===void 0)&&a.isBlocto&&this.existedSDK.off(e,n),super.removeListener(e,n)}};Qr=new WeakSet,fc=function(){var e,n;return wa(this,void 0,void 0,function*(){if(!((e=this._blocto)===null||e===void 0)&&e.unloadedNetwork&&(yield this.loadSwitchableNetwork(this._blocto.unloadedNetwork),delete this._blocto.unloadedNetwork),this._blocto.sessionKeyEnv&&this._blocto.walletServer&&this._blocto.blockchainName&&this._blocto.networkType&&this._blocto.switchableNetwork)return this._blocto;let a=yield Gde().catch(d=>{throw jn.ethErrors.provider.custom({code:1001,message:`Get blocto server failed: ${d.message}`})}),{chain_id:r,name:f,network_type:i,blocto_service_environment:s,display_name:o}=(n=a[this.networkVersion])!==null&&n!==void 0?n:{};if(!r)throw jn.ethErrors.provider.unsupportedMethod(`Get support chain failed: ${this.networkVersion} might not be supported yet.`);let c=this.injectedWalletServer||eo0[s];return this._blocto=Object.assign(Object.assign({},this._blocto),{sessionKeyEnv:Xrn[s],walletServer:c,blockchainName:f,networkType:i,switchableNetwork:Object.assign(Object.assign({},this._blocto.switchableNetwork),{[r]:{name:f,display_name:o,network_type:i,wallet_web_url:c,rpc_url:this.rpc}})}),this._blocto})},Oo0=function({chainId:e,rpcUrls:n}){var a;return wa(this,void 0,void 0,function*(){yield mf(this,Qr,"m",fc).call(this);let r=yield Gde().catch(l=>{throw jn.ethErrors.provider.custom({code:1001,message:`Get blocto server failed: ${l.message}`})}),{chain_id:f,name:i,display_name:s,network_type:o,blocto_service_environment:c}=(a=r[e])!==null&&a!==void 0?a:{};if(!f)throw jn.ethErrors.provider.unsupportedMethod(`Get support chain failed: ${e} might not be supported yet.`);let d=eo0[c];this._blocto.switchableNetwork[f]={name:i,display_name:s,network_type:o,wallet_web_url:d,rpc_url:n[0]}})},Cm=function(){var e;if(!((e=this.existedSDK)===null||e===void 0)&&e.isBlocto&&l1(this.existedSDK.chainId)!==l1(this.chainId))throw jn.ethErrors.provider.chainDisconnected()},Yde=function(e,n=!0){return wa(this,void 0,void 0,function*(){let{authorizationId:a}=yield this.bloctoApi("/authz",{method:"POST",body:JSON.stringify([e,n])}),r=new URLSearchParams;r.set("l6n",window.location.origin),r.set("q",`${window.location.pathname}${window.location.search}`);let f=yield this.setIframe(`/authz/${a}?${r.toString()}`);return this.responseListener(f,"txHash")})};fin=t=>{var e,n;let a=Object.assign({},t),{message:r,nonce:f,address:i,application:s,chainId:o}=t;return typeof r!="string"&&(a.message=(e=String(r))!==null&&e!==void 0?e:""),typeof f!="string"&&(a.nonce=(n=String(f))!==null&&n!==void 0?n:""),i&&typeof i!="boolean"&&(a.address=!!i),s&&typeof s!="boolean"&&(a.application=!!s),o&&typeof o!="boolean"&&(a.chainId=!!o),a},Jde=class extends FK{get existedSDK(){if(!(typeof window>"u"))return window.bloctoAptos}constructor({chainId:e,server:n,appId:a}){super(),this.publicKey=[],this.authKey="",this.off=this.removeListener,VE(e,"'chainId' is required"),VE(a,"It is necessary to interact with Blocto wallet via your app id. Please visit https://developers.blocto.app for more details."),this.chainId=e,this.networkName=tfn[e],this.api=nfn[e],this.sessionKey=Zrn[e];let r=efn[e];this.appId=a||Xde,this.server=n||r||""}get publicAccount(){var e;return{address:((e=Lu(this.sessionKey,as.APTOS))===null||e===void 0?void 0:e[0])||null,publicKey:this.publicKey.length?this.publicKey:null,authKey:null,minKeysRequired:2}}network(){return wa(this,void 0,void 0,function*(){return{name:this.networkName,api:this.api,chainId:this.chainId.toString()}})}isConnected(){var e;return wa(this,void 0,void 0,function*(){return!!(!((e=Lu(this.sessionKey,as.APTOS))===null||e===void 0)&&e.length)})}signTransaction(e){var n;return wa(this,void 0,void 0,function*(){if(this.existedSDK)return this.existedSDK.signTransaction(e);throw(yield this.isConnected())||(yield this.connect()),!((n=Lu(this.sessionKey,as.APTOS))===null||n===void 0)&&n.length?new Error("signTransaction method not supported."):new Error("Fail to get account")})}disconnect(){var e;return wa(this,void 0,void 0,function*(){if(this.existedSDK){yield this.existedSDK.disconnect();return}ofn(this.sessionKey,as.APTOS),(e=this.eventListeners)===null||e===void 0||e.disconnect.forEach(n=>n({code:4900,message:"Wallet disconnected"}))})}signAndSubmitTransaction(e,n={}){var a,r;return wa(this,void 0,void 0,function*(){if(this.existedSDK)return this.existedSDK.signAndSubmitTransaction(e,n);if((yield this.isConnected())||(yield this.connect()),!(!((a=Lu(this.sessionKey,as.APTOS))===null||a===void 0)&&a.length))throw new Error("Fail to get account");let i=((r=km(this.sessionKey))===null||r===void 0?void 0:r.code)||"",{authorizationId:s}=yield fetch(`${this.server}/api/aptos/authz`,{method:"POST",headers:{"Content-Type":"application/json","Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":i},body:JSON.stringify(Object.assign(Object.assign({},e),n))}).then(c=>PK(c,this.sessionKey));if(typeof window>"u")throw new Error("Currently only supported in browser");let o=BK(`${this.server}/${this.appId}/aptos/authz/${s}`);return DK(o),new Promise((c,d)=>Im("message",(l,h)=>{let y=l;y.origin===this.server&&y.data.type==="APTOS:FRAME:RESPONSE"&&(y.data.status==="APPROVED"&&(h(),L6(o),c({hash:y.data.txHash})),y.data.status==="DECLINED"&&(h(),L6(o),y.data.errorCode==="incorrect_session_id"&&this.disconnect(),d(new Error(y.data.errorMessage))))}))})}signMessage(e){var n,a;return wa(this,void 0,void 0,function*(){let r=fin(e);if(this.existedSDK)return this.existedSDK.signMessage(r);if((yield this.isConnected())||(yield this.connect()),!(!((n=Lu(this.sessionKey,as.APTOS))===null||n===void 0)&&n.length))throw new Error("Fail to get account");if(typeof window>"u")throw new Error("Currently only supported in browser");let i=((a=km(this.sessionKey))===null||a===void 0?void 0:a.code)||"",{signatureId:s}=yield fetch(`${this.server}/api/aptos/user-signature`,{method:"POST",headers:{"Content-Type":"application/json","Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":i},body:JSON.stringify(r)}).then(d=>PK(d,this.sessionKey)),o=`${this.server}/${this.appId}/aptos/user-signature/${s}`,c=BK(o);return DK(c),new Promise((d,l)=>Im("message",(h,y)=>{let v=h;v.origin===this.server&&v.data.type==="APTOS:FRAME:RESPONSE"&&(v.data.status==="APPROVED"&&(y(),L6(c),d(v.data)),v.data.status==="DECLINED"&&(y(),L6(c),v.data.errorCode==="incorrect_session_id"&&this.disconnect(),l(new Error(v.data.errorMessage))))}))})}connect(){return wa(this,void 0,void 0,function*(){return this.existedSDK?new Promise((e,n)=>setTimeout(()=>this.existedSDK.connect().then(e).catch(n),10)):new Promise((e,n)=>{var a,r;if(typeof window>"u")return n("Currently only supported in browser");if(!((a=Lu(this.sessionKey,as.APTOS))===null||a===void 0)&&a.length)return e({address:((r=Lu(this.sessionKey,as.APTOS))===null||r===void 0?void 0:r[0])||null,publicKey:this.publicKey,authKey:null,minKeysRequired:2});let f=encodeURIComponent(window.location.origin),i=BK(`${this.server}/${this.appId}/aptos/authn?l6n=${f}&v=${zK}}`);DK(i),Im("message",(s,o)=>wa(this,void 0,void 0,function*(){var c,d,l,h;let y=s;if(y.origin===this.server){if(y.data.type==="APTOS:FRAME:RESPONSE")if(o(),L6(i),$E(this.sessionKey,{code:y.data.code,accounts:{[as.APTOS]:[y.data.addr]}},y.data.exp),!((c=y.data)===null||c===void 0)&&c.isAccountChanged&&postMessage({originChain:as.APTOS,type:"BLOCTO_SDK:ACCOUNT_CHANGED"}),Im("message",(v,k)=>{var O,F;let z=v;((O=z.data)===null||O===void 0?void 0:O.type)==="BLOCTO_SDK:ACCOUNT_CHANGED"&&((F=z.data)===null||F===void 0?void 0:F.originChain)!==as.APTOS&&(this.disconnect(),k())}),!((d=Lu(this.sessionKey,as.APTOS))===null||d===void 0)&&d.length)try{let{public_keys:v}=yield fetch(`${this.server}/blocto/aptos/accounts/${(l=Lu(this.sessionKey,as.APTOS))===null||l===void 0?void 0:l[0]}`).then(k=>k.json());this.publicKey=v||[],e({address:((h=Lu(this.sessionKey,as.APTOS))===null||h===void 0?void 0:h[0])||"",publicKey:this.publicKey,authKey:null,minKeysRequired:2})}catch{return n(y)}else return n();y.data.type==="APTOS:FRAME:CLOSE"&&(o(),L6(i),n(new Error("User declined the login request")))}}))})})}fetchAddress(){var e;return wa(this,void 0,void 0,function*(){let n=((e=km(this.sessionKey))===null||e===void 0?void 0:e.code)||"",{accounts:a}=yield fetch(`${this.server}/api/aptos/accounts`,{headers:{"Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":n}}).then(r=>PK(r,this.sessionKey));return sfn(this.sessionKey,as.APTOS,a),a?.[0]||""})}on(e,n){this.existedSDK&&this.existedSDK.on(e,n),super.on(e,n)}removeListener(e,n){this.existedSDK&&this.existedSDK.off(e,n),super.removeListener(e,n)}},HK=class{constructor({appId:e,ethereum:n,aptos:a}){n&&(this.ethereum=new $de(Object.assign(Object.assign({},n),{appId:e}))),a&&(this.aptos=new Jde(Object.assign(Object.assign({},a),{appId:e})))}}});var Ho0={};V0(Ho0,{BloctoConnector:()=>sle});var aB,sle,zo0=ce(()=>{"use strict";u();p();kt();D9();po();Uo0();aB=Ee(Xe());wn();Am();ch();W0();sle=class extends Jc{constructor(e){let{chains:n,options:a={}}=e;super({chains:n,options:a}),Pe(this,"id",U0.blocto),Pe(this,"name","Blocto"),Pe(this,"ready",!0),this._onAccountsChangedBind=this.onAccountsChanged.bind(this),this._onChainChangedBind=this.onChainChanged.bind(this),this._onDisconnectBind=this.onDisconnect.bind(this)}async connect(e){try{let n=await this.getProvider(e);this.setupListeners(),this.emit("message",{type:"connecting"});let a=await n.request({method:"eth_requestAccounts"}),r=aB.utils.getAddress(a[0]),f=await this.getChainId(),i=this.isChainUnsupported(f);return{account:r,chain:{id:f,unsupported:i},provider:n}}catch(n){throw this._handleConnectReset(),this._isUserRejectedRequestError(n)?new _t(n):n}}async disconnect(){await(await this.getProvider()).request({method:"wallet_disconnect"}),this.removeListeners(),this._handleConnectReset()}async getAccount(){let n=await(await this.getProvider()).request({method:"eth_accounts"}),[a]=n||[];if(!a)throw new Error("No accounts found");return a}async getChainId(){let n=await(await this.getProvider()).request({method:"eth_chainId"});return vi(n)}getProvider(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this._provider){let n=e??this.chains[0]?.chainId??1,a=this.chains.find(r=>r.chainId===n)?.rpc[0];this._provider=new HK({ethereum:{chainId:n,rpc:a},appId:this.options.appId})?.ethereum}if(!this._provider)throw new Bn;return Promise.resolve(this._provider)}async getSigner(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[n,a]=await Promise.all([this.getProvider(),this.getAccount()]);return new aB.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){return!!this._provider?._blocto?.sessionKeyEnv}async switchChain(e){let n=await this.getProvider(),a=aB.utils.hexValue(e),r=this.chains.find(s=>s.chainId===e);if(!r)throw new rc(new Error("chain not found on connector."));if(!(await n.supportChainList())[`${e}`])throw new rc(new Error(`Blocto unsupported chain: ${a}`));try{return await n.request({method:"wallet_addEthereumChain",params:[{chainId:a,rpcUrls:Pu(r)}]}),await n.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]}),r}catch(s){throw this._isUserRejectedRequestError(s)?new _t(s):new rc(s)}}onAccountsChanged(){}async onChainChanged(e){let n=vi(e),a=this.isChainUnsupported(n),r=await this.getAccount();this.emit("change",{chain:{id:n,unsupported:a},account:r})}onDisconnect(){this.emit("disconnect")}async setupListeners(){let e=await this.getProvider();e.on("accountsChanged",this._onAccountsChangedBind),e.on("chainChanged",this._onChainChangedBind),e.on("disconnect",this._onDisconnectBind)}async removeListeners(){let e=await this.getProvider();e.off("accountsChanged",this._onAccountsChangedBind),e.off("chainChanged",this._onChainChangedBind),e.off("disconnect",this._onDisconnectBind)}_isUserRejectedRequestError(e){return/(user rejected)/i.test(e.message)}_handleConnectReset(){this._provider=void 0}}});var VK,iin,sin,oin,Ou,JE=ce(()=>{u();p();VK={Ethereum:"https://ethereum.rpc.thirdweb.com",Goerli:"https://goerli.rpc.thirdweb.com",Mumbai:"https://mumbai.rpc.thirdweb.com",Polygon:"https://polygon.rpc.thirdweb.com",Avalanche:"https://avalanche.rpc.thirdweb.com",Optimism:"https://optimism.rpc.thirdweb.com",OptimismGoerli:"https://optimism-goerli.rpc.thirdweb.com",BSC:"https://binance.rpc.thirdweb.com",BSCTestnet:"https://binance-testnet.rpc.thirdweb.com",ArbitrumOne:"https://arbitrum.rpc.thirdweb.com",ArbitrumGoerli:"https://arbitrum-goerli.rpc.thirdweb.com",Fantom:"https://fantom.rpc.thirdweb.com",FantomTestnet:"https://fantom-testnet.rpc.thirdweb.com",Sepolia:"https://sepolia.rpc.thirdweb.com",AvalancheFuji:"https://avalanche-fuji.rpc.thirdweb.com"},iin=()=>typeof window<"u"&&window.localStorage.getItem("IS_PAPER_DEV")==="true",sin=()=>typeof window<"u"&&window.location.origin.includes("paper.xyz"),oin=()=>typeof window<"u"&&window.location.origin.includes("thirdweb.com"),Ou=()=>{var t;return iin()?(t=window.localStorage.getItem("PAPER_DEV_URL"))!=null?t:"http://localhost:3000":sin()||oin()?window.location.origin:"https://withpaper.com"}});function lle(t){return new Promise(e=>{setTimeout(e,t*1e3)})}function pin(t){let{clientId:e,path:n,queryParams:a}=t,r=new URL(`${n}`,YK());if(a)for(let f of Object.keys(a))r.searchParams.set(f,a[f]?.toString()||"");return r.searchParams.set("clientId",e),r}var JK,qo0,cin,YK,ole,din,cle,lin,dle,iB,lh,Wo0,fB,uin,ule,ple,hle,hin,ble,mle,yle,gle,vle,$K,jo0=ce(()=>{"use strict";u();p();kt();JE();JK=Ee(Xe()),qo0=Ee(qT());qE();cin="/sdk/2022-08-12/embedded-wallet",YK=()=>localStorage.getItem("IS_THIRDWEB_DEV")==="true"?window.localStorage.getItem("THIRDWEB_DEV_URL")??"http://localhost:3000":"https://embedded-wallet.thirdweb.com",ole=t=>`thirdwebEwsWalletUserId-${t}`,din="walletToken",cle=t=>`${din}-${t}`,lin="a",dle=(t,e)=>`${lin}-${t}-${e}`,iB=function(t){return t.COGNITO="Cognito",t.GOOGLE="Google",t.EMAIL_OTP="EmailOtp",t.CUSTOM_JWT="CustomJWT",t.CUSTOM_AUTH_ENDPOINT="CustomAuthEndpoint",t.FACEBOOK="Facebook",t.APPLE="Apple",t.PASSKEY="Passkey",t.EXTERNAL_WALLET="ExternalWallet",t.DISCORD="Discord",t}({}),lh=function(t){return t.LOGGED_OUT="Logged Out",t.LOGGED_IN_WALLET_UNINITIALIZED="Logged In, Wallet Uninitialized",t.LOGGED_IN_NEW_DEVICE="Logged In, New Device",t.LOGGED_IN_WALLET_INITIALIZED="Logged In, Wallet Initialized",t}({}),Wo0=new Map,fB=class{constructor(e){let{clientId:n}=e;this.isSupported=!!window.localStorage,this.clientId=n}async getItem(e){return this.isSupported?window.localStorage.getItem(e):Wo0.get(e)??null}async setItem(e,n){if(this.isSupported)return window.localStorage.setItem(e,n);Wo0.set(e,n)}async removeItem(e){let n=await this.getItem(e);return this.isSupported&&n?(window.localStorage.removeItem(e),!0):!1}async saveAuthCookie(e){await this.setItem(cle(this.clientId),e)}async getAuthCookie(){return this.getItem(cle(this.clientId))}async removeAuthCookie(){return this.removeItem(cle(this.clientId))}async saveDeviceShare(e,n){await this.saveWalletUserId(n),await this.setItem(dle(this.clientId,n),e)}async getDeviceShare(){let e=await this.getWalletUserId();return e?this.getItem(dle(this.clientId,e)):null}async removeDeviceShare(){let e=await this.getWalletUserId();return e?this.removeItem(dle(this.clientId,e)):!1}async getWalletUserId(){return this.getItem(ole(this.clientId))}async saveWalletUserId(e){await this.setItem(ole(this.clientId),e)}async removeWalletUserId(){return this.removeItem(ole(this.clientId))}};uin={height:"100%",width:"100%",border:"none",backgroundColor:"transparent",colorScheme:"light",position:"fixed",top:"0px",right:"0px",zIndex:"2147483646",display:"none"},ule=new Map,ple=class{constructor(e){let{link:n,iframeId:a,container:r=document.body,iframeStyles:f,onIframeInitialize:i}=e;Pe(this,"POLLING_INTERVAL_SECONDS",1.4),this.iframeBaseUrl=YK();let s=document.getElementById(a),o=new URL(n),c="2.5.32";if(o.searchParams.set("sdkVersion",c),!s||s.src!==o.href){if(!s){s=document.createElement("iframe");let l={...uin,...f};Object.assign(s.style,l),s.setAttribute("id",a),s.setAttribute("fetchpriority","high"),r.appendChild(s)}s.src=o.href,s.setAttribute("data-version",c);let d=l=>{if(l.data.eventType==="ewsIframeLoaded"){if(window.removeEventListener("message",d),!s){console.warn("thirdweb Iframe not found");return}this.onIframeLoadHandler(s,i)()}};window.addEventListener("message",d)}this.iframe=s}async onIframeLoadedInitVariables(){return{}}onIframeLoadHandler(e,n){return async()=>{await new Promise(async(r,f)=>{let i=new MessageChannel;i.port1.onmessage=o=>{let{data:c}=o;return i.port1.close(),c.success?(ule.set(e.src,!0),n&&n(),r(!0)):f(new Error(c.error))},e?.contentWindow?.postMessage({eventType:"initIframe",data:await this.onIframeLoadedInitVariables()},this.iframeBaseUrl,[i.port2])})}}async call(e){let{procedureName:n,params:a,showIframe:r=!1}=e;for(;!ule.get(this.iframe.src);)await lle(this.POLLING_INTERVAL_SECONDS);return r&&(this.iframe.style.display="block",await lle(.005)),new Promise((i,s)=>{let o=new MessageChannel;o.port1.onmessage=async c=>{let{data:d}=c;o.port1.close(),r&&(await lle(.1),this.iframe.style.display="none"),d.success?i(d.data):s(new Error(d.error))},this.iframe.contentWindow?.postMessage({eventType:n,data:a},this.iframeBaseUrl,[o.port2])})}destroy(){ule.delete(this.iframe.src)}},hle=class extends ple{constructor(e){let{clientId:n,customizationOptions:a}=e;super({iframeId:hin,link:pin({clientId:n,path:cin,queryParams:a}).href,container:document.body}),this.clientId=n}async onIframeLoadedInitVariables(){let e=new fB({clientId:this.clientId});return{authCookie:await e.getAuthCookie(),deviceShareStored:await e.getDeviceShare(),walletUserId:await e.getWalletUserId(),clientId:this.clientId}}};hin="thirdweb-embedded-wallet-iframe",ble=class{constructor(e){let{querier:n,preLogin:a,postLogin:r,clientId:f}=e;this.LoginQuerier=n,this.preLogin=a,this.postLogin=r,this.clientId=f}async sendEmailLoginOtp(e){let{email:n}=e;return await this.preLogin(),await this.LoginQuerier.call({procedureName:"sendThirdwebEmailLoginOtp",params:{email:n}})}async sendSmsLoginOtp(e){let{phoneNumber:n}=e;return await this.preLogin(),await this.LoginQuerier.call({procedureName:"sendThirdwebSmsLoginOtp",params:{phoneNumber:n}})}},mle=class extends ble{constructor(){super(...arguments),Pe(this,"closeWindow",e=>{let{isWindowOpenedByFn:n,win:a,closeOpenedWindow:r}=e;n?a?.close():a&&r?r(a):a&&a.close()})}async getOauthLoginUrl(e){return await this.LoginQuerier.call({procedureName:"getHeadlessOauthLoginLink",params:{authProvider:e}})}async loginWithModal(){await this.preLogin();let e=await this.LoginQuerier.call({procedureName:"loginWithThirdwebModal",params:void 0,showIframe:!0});return this.postLogin(e)}async loginWithEmailOtp(e){let{email:n}=e;await this.preLogin();let a=await this.LoginQuerier.call({procedureName:"loginWithThirdwebModal",params:{email:n},showIframe:!0});return this.postLogin(a)}getOauthPopUpSizing(e){switch(e){case iB.FACEBOOK:return"width=715, height=555";default:return"width=350, height=500"}}async loginWithOauth(e){let n=e?.openedWindow,a=!1;if(n||(n=window.open("","Login",this.getOauthPopUpSizing(e.oauthProvider)),a=!0),!n)throw new Error("Something went wrong opening pop-up");let[{loginLink:r}]=await Promise.all([this.getOauthLoginUrl(e.oauthProvider),this.preLogin()]);n.location.href=r;let f=await new Promise((i,s)=>{let o=window.setInterval(async()=>{n&&n.closed&&(clearInterval(o),window.removeEventListener("message",c),s(new Error("User closed login window")))},1e3),c=async d=>{if(d.origin===YK()){if(typeof d.data!="object"){s(new Error("Invalid event data"));return}switch(d.data.eventType){case"userLoginSuccess":{window.removeEventListener("message",c),clearInterval(o),this.closeWindow({isWindowOpenedByFn:a,win:n,closeOpenedWindow:e?.closeOpenedWindow}),d.data.authResult&&i(d.data.authResult);break}case"userLoginFailed":{window.removeEventListener("message",c),clearInterval(o),this.closeWindow({isWindowOpenedByFn:a,win:n,closeOpenedWindow:e?.closeOpenedWindow}),s(new Error(d.data.error));break}case"injectDeveloperClientId":{n?.postMessage({eventType:"injectDeveloperClientIdResult",developerClientId:this.clientId,authOption:e.oauthProvider},YK());break}}}};window.addEventListener("message",c)});return this.postLogin({storedToken:{...f.storedToken,shouldStoreCookieString:!0},walletDetails:{...f.walletDetails,isIframeStorageEnabled:!1}})}async loginWithCustomJwt(e){let{encryptionKey:n,jwt:a}=e;await this.preLogin();let r=await this.LoginQuerier.call({procedureName:"loginWithCustomJwt",params:{encryptionKey:n,jwt:a}});return this.postLogin(r)}async loginWithCustomAuthEndpoint(e){let{encryptionKey:n,payload:a}=e;await this.preLogin();let r=await this.LoginQuerier.call({procedureName:"loginWithCustomAuthEndpoint",params:{encryptionKey:n,payload:a}});return this.postLogin(r)}async verifyEmailLoginOtp(e){let{email:n,otp:a,recoveryCode:r}=e,f=await this.LoginQuerier.call({procedureName:"verifyThirdwebEmailLoginOtp",params:{email:n,otp:a,recoveryCode:r}});return this.postLogin(f)}async verifySmsLoginOtp(e){let{phoneNumber:n,otp:a,recoveryCode:r}=e,f=await this.LoginQuerier.call({procedureName:"verifyThirdwebSmsLoginOtp",params:{phoneNumber:n,otp:a,recoveryCode:r}});return this.postLogin(f)}},yle=class{constructor(e){let{clientId:n,querier:a,onAuthSuccess:r}=e;this.clientId=n,this.AuthQuerier=a,this.localStorage=new fB({clientId:n}),this.onAuthSuccess=r,this.BaseLogin=new mle({postLogin:async f=>this.postLogin(f),preLogin:async()=>{await this.preLogin()},querier:a,clientId:n})}async preLogin(){await this.logout()}async postLogin(e){let{storedToken:n,walletDetails:a}=e;return n.shouldStoreCookieString&&await this.localStorage.saveAuthCookie(n.cookieString),await this.onAuthSuccess({storedToken:n,walletDetails:a})}async loginWithModal(){return this.BaseLogin.loginWithModal()}async loginWithEmailOtp(e){return this.BaseLogin.loginWithEmailOtp(e)}async loginWithCustomJwt(e){return this.BaseLogin.loginWithCustomJwt(e)}async loginWithCustomAuthEndpoint(e){return this.BaseLogin.loginWithCustomAuthEndpoint(e)}async loginWithOauth(e){return this.BaseLogin.loginWithOauth(e)}async sendEmailLoginOtp(e){let{email:n}=e;return this.BaseLogin.sendEmailLoginOtp({email:n})}async sendSmsLoginOtp(e){let{phoneNumber:n}=e;return this.BaseLogin.sendSmsLoginOtp({phoneNumber:n})}async verifyEmailLoginOtp(e){return this.BaseLogin.verifyEmailLoginOtp(e)}async verifySmsLoginOtp(e){return this.BaseLogin.verifySmsLoginOtp(e)}async logout(){let{success:e}=await this.AuthQuerier.call({procedureName:"logout",params:void 0}),n=await this.localStorage.removeAuthCookie(),a=await this.localStorage.removeWalletUserId();return{success:e||n||a}}},gle=class t extends JK.Signer{constructor(e){let{provider:n,clientId:a,querier:r}=e;super(),Pe(this,"DEFAULT_ETHEREUM_CHAIN_ID",5),this.clientId=a,this.querier=r,this.endpoint=n.connection?.url,(0,qo0.defineReadOnly)(this,"provider",n)}async getAddress(){let{address:e}=await this.querier.call({procedureName:"getAddress",params:void 0});return e}async signMessage(e){let{signedMessage:n}=await this.querier.call({procedureName:"signMessage",params:{message:e,chainId:(await this.provider?.getNetwork())?.chainId??this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return n}async signTransaction(e){let{signedTransaction:n}=await this.querier.call({procedureName:"signTransaction",params:{transaction:e,chainId:(await this.provider?.getNetwork())?.chainId??this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return n}async sendTransaction(e){if(!this.provider)throw new Error("Provider not found");let a={...await Rl(this.provider),...e};return super.sendTransaction(a)}async _signTypedData(e,n,a){let{signedTypedData:r}=await this.querier.call({procedureName:"signTypedDataV4",params:{domain:e,types:n,message:a,chainId:(await this.provider?.getNetwork())?.chainId??this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return r}connect(e){return new t({clientId:this.clientId,provider:e,querier:this.querier})}},vle=class{constructor(e){let{clientId:n,chain:a,querier:r}=e;this.clientId=n,this.chain=a,this.walletManagerQuerier=r,this.localStorage=new fB({clientId:n})}async postWalletSetUp(e){let{deviceShareStored:n,walletAddress:a,isIframeStorageEnabled:r,walletUserId:f}=e;return r||await this.localStorage.saveDeviceShare(n,f),{walletAddress:a}}async getUserWalletStatus(){let e=await this.walletManagerQuerier.call({procedureName:"getUserStatus",params:void 0});return e.status===lh.LOGGED_IN_WALLET_INITIALIZED?{status:lh.LOGGED_IN_WALLET_INITIALIZED,...e.user,wallet:this}:e.status===lh.LOGGED_IN_NEW_DEVICE?{status:lh.LOGGED_IN_WALLET_UNINITIALIZED,...e.user}:e.status===lh.LOGGED_IN_WALLET_UNINITIALIZED?{status:lh.LOGGED_IN_WALLET_UNINITIALIZED,...e.user}:{status:e.status}}async setChain(e){let{chain:n}=e;this.chain=n}async getEthersJsSigner(e){return new gle({clientId:this.clientId,provider:(0,JK.getDefaultProvider)(e?.rpcEndpoint??VK[this.chain]),querier:this.walletManagerQuerier})}},$K=class{isClientIdLegacyPaper(e){return e.indexOf("-")>0&&e.length===36}constructor(e){let{clientId:n,chain:a,styles:r,onAuthSuccess:f}=e;if(this.isClientIdLegacyPaper(n))throw new Error("You are using a legacy clientId. Please use the clientId found on the thirdweb dashboard settings page");this.clientId=n,this.querier=new hle({clientId:n,customizationOptions:r}),this.wallet=new vle({clientId:n,chain:a,querier:this.querier}),this.auth=new yle({clientId:n,querier:this.querier,onAuthSuccess:async i=>(f?.(i),await this.wallet.postWalletSetUp({...i.walletDetails,walletUserId:i.storedToken.authDetails.userWalletId}),await this.querier.call({procedureName:"initIframe",params:{deviceShareStored:i.walletDetails.deviceShareStored,clientId:this.clientId,walletUserId:i.storedToken.authDetails.userWalletId,authCookie:i.storedToken.cookieString}}),{user:{status:lh.LOGGED_IN_WALLET_INITIALIZED,authDetails:i.storedToken.authDetails,wallet:this.wallet,walletAddress:i.walletDetails.walletAddress}})})}async getUser(){return this.wallet.getUserWalletStatus()}}});var Ko0={};V0(Ko0,{EmbeddedWalletConnector:()=>wle});function bin(t){throw new Error("Invalid param: "+t)}var Go0,wle,min,Qo0=ce(()=>{"use strict";u();p();kt();Go0=Ee(Xe());ch();wn();Kr();jo0();W0();wle=class extends P6{constructor(e){super(),Pe(this,"id",U0.paper),Pe(this,"name","Embedded Wallet"),Pe(this,"ready",!0),Pe(this,"user",null),Pe(this,"onAccountsChanged",async n=>{n.length===0?await this.onDisconnect():this.emit("change",{account:Go0.utils.getAddress(n[0])})}),Pe(this,"onChainChanged",n=>{let a=vi(n),r=this.options.chains.findIndex(f=>f.chainId===a)===-1;this.emit("change",{chain:{id:a,unsupported:r}})}),Pe(this,"onDisconnect",async()=>{this.emit("disconnect")}),this.options=e}getEmbeddedWalletSDK(){return this._embeddedWalletSdk||(this._embeddedWalletSdk=new $K({clientId:this.options.clientId,chain:"Ethereum",onAuthSuccess:this.options.onAuthSuccess})),this._embeddedWalletSdk}async connect(e){if(e){if(!e.authResult)throw new Error("Missing authData - call authenticate() first with your authentication strategy");if(!e.authResult.user)throw new Error("Missing authData.user - call authenticate() first with your authentication strategy");this.user=e.authResult.user}else{let n=await this.authenticate({strategy:"iframe"});if(!n.user)throw new Error("Error connecting User");this.user=n.user}return e?.chainId&&this.switchChain(e.chainId),this.getAddress()}async disconnect(){await this._embeddedWalletSdk?.auth.logout(),this._signer=void 0,this._embeddedWalletSdk=void 0,this.user=null}async getAddress(){if(!this.user)throw new Error("Embedded Wallet is not connected");return await this.getSigner().then(e=>e.getAddress())}async isConnected(){try{return!!await this.getAddress()}catch{return!1}}async getProvider(){let e=await this.getSigner();if(!e.provider)throw new Error("Provider not found");return e.provider}async getSigner(){if(this._signer)return this._signer;let n=await(await this.getUser()).wallet.getEthersJsSigner({rpcEndpoint:this.options.chain.rpc[0]||""});if(!n)throw new Error("Signer not found");return this._signer=n,n}async isAuthorized(){return!1}async switchChain(e){let n=this.options.chains.find(a=>a.chainId===e);if(!n)throw new Error("Chain not configured");try{await this.user?.wallet.setChain({chain:"Ethereum"}),this._signer=await this.user?.wallet.getEthersJsSigner({rpcEndpoint:n.rpc[0]||""}),this.emit("change",{chain:{id:e,unsupported:!1}})}catch(a){console.warn("Failed to switch chain",a)}}async setupListeners(){return Promise.resolve()}updateChains(e){this.options.chains=e}async getUser(){if(!this.user||!this.user.wallet||!this.user.wallet.getEthersJsSigner){let n=await this.getEmbeddedWalletSDK().getUser();switch(n.status){case lh.LOGGED_IN_WALLET_INITIALIZED:{this.user=n;break}default:throw new Error("Embedded Wallet is not authenticated, please authenticate first")}}return this.user}async getEmail(){return(await this.getUser()).authDetails.email}async getPhoneNumber(){return(await this.getUser()).authDetails.phoneNumber}async getRecoveryInformation(){return(await this.getUser()).authDetails}async sendVerificationEmail(e){let{email:n}=e;return this.getEmbeddedWalletSDK().auth.sendEmailLoginOtp({email:n})}async sendVerificationSms(e){let{phoneNumber:n}=e;return this.getEmbeddedWalletSDK().auth.sendSmsLoginOtp({phoneNumber:n})}async authenticate(e){let n=this.getEmbeddedWalletSDK(),a=e.strategy;switch(a){case"email_verification":return await n.auth.verifyEmailLoginOtp({email:e.email,otp:e.verificationCode,recoveryCode:e.recoveryCode});case"phone_number_verification":return await n.auth.verifySmsLoginOtp({phoneNumber:e.phoneNumber,otp:e.verificationCode,recoveryCode:e.recoveryCode});case"apple":case"facebook":case"google":{let r=min[a];return n.auth.loginWithOauth({oauthProvider:r,closeOpenedWindow:e.closeOpenedWindow,openedWindow:e.openedWindow})}case"jwt":return n.auth.loginWithCustomJwt({jwt:e.jwt,encryptionKey:e.encryptionKey});case"auth_endpoint":return n.auth.loginWithCustomAuthEndpoint({payload:e.payload,encryptionKey:e.encryptionKey});case"iframe_email_verification":return n.auth.loginWithEmailOtp({email:e.email});case"iframe":return n.auth.loginWithModal();default:bin(a)}}};min={google:iB.GOOGLE,facebook:iB.FACEBOOK,apple:iB.APPLE}});function Za(t){return typeof t<"u"&&!!t&&"ethereum"in t&&!!t.ethereum}var u1=ce(()=>{"use strict";u();p()});function XK(){function t(e){if(e?.isMetaMask&&!(e.isBraveWallet&&!e._events&&!e._state)&&!e.isRainbow&&!e.isPhantom&&!e.isAvalanche&&!e.isBitKeep&&!e.isMathWallet&&!e.isZerion&&!e.isKuCoinWallet&&!e.isPortal&&!e.isTokenPocket&&!e.isTokenary&&!e.isRabbyWallet&&!e.isImToken)return e}if(Za(globalThis.window))return globalThis.window.ethereum?.providers?globalThis.window.ethereum.providers.find(t):t(globalThis.window.ethereum)}var Tle=ce(()=>{"use strict";u();p();u1()});var Yo0={};V0(Yo0,{InjectedConnector:()=>Ga});function yin(t){if(!t)return"Injected";let e=n=>{if(n.isAvalanche)return"Core Wallet";if(n.isBitKeep)return"BitKeep";if(n.isBraveWallet)return"Brave Wallet";if(n.isCoinbaseWallet)return"Coinbase Wallet";if(n.isExodus)return"Exodus";if(n.isFrame)return"Frame";if(n.isKuCoinWallet)return"KuCoin Wallet";if(n.isMathWallet)return"MathWallet";if(n.isOneInchIOSWallet||n.isOneInchAndroidWallet)return"1inch Wallet";if(n.isOpera)return"Opera";if(n.isPortal)return"Ripio Portal";if(n.isTally)return"Tally";if(n.isTokenPocket)return"TokenPocket";if(n.isTokenary)return"Tokenary";if(n.isTrust||n.isTrustWallet)return"Trust Wallet";if(n.isMetaMask)return"MetaMask";if(n.isImToken)return"imToken"};if(t.providers?.length){let n=new Set,a=1;for(let f of t.providers){let i=e(f);i||(i=`Unknown Wallet #${a}`,a+=1),n.add(i)}let r=[...n];return r.length?r:r[0]??"Injected"}return e(t)??"Injected"}var H9,Ga,p1=ce(()=>{"use strict";u();p();kt();D9();po();u1();Am();H9=Ee(Xe());ch();W0();Ga=class extends Jc{constructor(e){let a={...{shimDisconnect:!0,getProvider:()=>{if(Za(globalThis.window))return globalThis.window.ethereum}},...e.options};super({chains:e.chains,options:a}),Pe(this,"shimDisconnectKey","injected.shimDisconnect"),Pe(this,"onAccountsChanged",async f=>{f.length===0?this.emit("disconnect"):this.emit("change",{account:H9.utils.getAddress(f[0])})}),Pe(this,"onChainChanged",f=>{let i=vi(f),s=this.isChainUnsupported(i);this.emit("change",{chain:{id:i,unsupported:s}})}),Pe(this,"onDisconnect",async f=>{if(f.code===1013&&await this.getProvider())try{if(await this.getAccount())return}catch{}this.emit("disconnect"),this.options.shimDisconnect&&await this.connectorStorage.removeItem(this.shimDisconnectKey)});let r=a.getProvider();if(typeof a.name=="string")this.name=a.name;else if(r){let f=yin(r);a.name?this.name=a.name(f):typeof f=="string"?this.name=f:this.name=f[0]}else this.name="Injected";this.id="injected",this.ready=!!r,this.connectorStorage=e.connectorStorage}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=await n.request({method:"eth_requestAccounts"}),r=H9.utils.getAddress(a[0]),f=await this.getChainId(),i=this.isChainUnsupported(f);if(e.chainId&&f!==e.chainId)try{await this.switchChain(e.chainId),f=e.chainId,i=this.isChainUnsupported(e.chainId)}catch(o){console.error(`Could not switch to chain id: ${e.chainId}`,o)}this.options.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let s={account:r,chain:{id:f,unsupported:i},provider:n};return this.emit("connect",s),s}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}async disconnect(){let e=await this.getProvider();e?.removeListener&&(e.removeListener("accountsChanged",this.onAccountsChanged),e.removeListener("chainChanged",this.onChainChanged),e.removeListener("disconnect",this.onDisconnect),this.options.shimDisconnect&&await this.connectorStorage.removeItem(this.shimDisconnectKey))}async getAccount(){let e=await this.getProvider();if(!e)throw new Bn;let n=await e.request({method:"eth_accounts"});return H9.utils.getAddress(n[0])}async getChainId(){let e=await this.getProvider();if(!e)throw new Bn;return e.request({method:"eth_chainId"}).then(vi)}async getProvider(){let e=this.options.getProvider();return e&&(this._provider=e),this._provider}async getSigner(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[n,a]=await Promise.all([this.getProvider(),this.getAccount()]);return new H9.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){try{if(this.options.shimDisconnect&&!await this.connectorStorage.getItem(this.shimDisconnectKey))return!1;if(!await this.getProvider())throw new Bn;return!!await this.getAccount()}catch{return!1}}async switchChain(e){let n=await this.getProvider();if(!n)throw new Bn;let a=H9.utils.hexValue(e);try{await n.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]});let r=this.chains.find(f=>f.chainId===e);return r||{chainId:e,name:`Chain ${a}`,slug:`${a}`,nativeCurrency:{name:"Ether",decimals:18,symbol:"ETH"},rpc:[""],chain:"",shortName:"",testnet:!0}}catch(r){let f=this.chains.find(i=>i.chainId===e);if(!f)throw new _m({chainId:e,connectorId:this.id});if(r.code===4902||r?.data?.originalError?.code===4902)try{return await n.request({method:"wallet_addEthereumChain",params:[{chainId:a,chainName:f.name,nativeCurrency:f.nativeCurrency,rpcUrls:Pu(f),blockExplorerUrls:this.getBlockExplorerUrls(f)}]}),f}catch(i){throw this.isUserRejectedRequestError(i)?new _t(r):new Em}throw this.isUserRejectedRequestError(r)?new _t(r):new rc(r)}}async setupListeners(){let e=await this.getProvider();e.on&&(e.on("accountsChanged",this.onAccountsChanged),e.on("chainChanged",this.onChainChanged),e.on("disconnect",this.onDisconnect))}isUserRejectedRequestError(e){return e.code===4001}}});var Jo0={};V0(Jo0,{MetaMaskConnector:()=>xle});var $o0,xle,Xo0=ce(()=>{"use strict";u();p();kt();po();wn();p1();$o0=Ee(Xe());Tle();W0();xle=class extends Ga{constructor(e){let a={...{name:"MetaMask",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:XK},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.metamask),this._UNSTABLE_shimOnConnectSelectAccount=a.UNSTABLE_shimOnConnectSelectAccount}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this._UNSTABLE_shimOnConnectSelectAccount&&this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=$o0.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}async switchAccount(){await(await this.getProvider()).request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}}});var Zo0=ce(()=>{u();p()});var e10=ce(()=>{u();p();Cz();xS()});var Ele=ce(()=>{u();p();Zo0();ZT();koe();kS();rx();e10()});function f_(t){let[e,n]=t.split(gin);return{namespace:e,reference:n}}function Yle(t,e=[]){let n=[];return Object.keys(t).forEach(a=>{if(e.length&&!e.includes(a))return;let r=t[a];n.push(...r.accounts)}),n}function L10(t,e){return t.includes(":")?[t]:e.chains||[]}function i_(){return typeof E<"u"&&typeof E.versions<"u"&&typeof E.versions.node<"u"}function j9(){return!(0,Fm.getDocument)()&&!!(0,Fm.getNavigator)()&&navigator.product===xin}function Nm(){return!i_()&&!!(0,Fm.getNavigator)()&&!!(0,Fm.getDocument)()}function yB(){return j9()?e6.reactNative:i_()?e6.node:Nm()?e6.browser:e6.unknown}function F10(){var t;try{return j9()&&typeof global<"u"&&typeof(global==null?void 0:global.Application)<"u"?(t=global.Application)==null?void 0:t.applicationId:void 0}catch{return}}function _in(t,e){let n=r_.parse(t);return n=a10(a10({},n),e),t=r_.stringify(n),t}function N10(){return(0,D10.getWindowMetadata)()||{name:"",description:"",url:"",icons:[""]}}function Ain(){if(yB()===e6.reactNative&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"){let{OS:n,Version:a}=global.Platform;return[n,a].join("-")}let t=Hz();if(t===null)return"unknown";let e=t.os?t.os.replace(" ","").toLowerCase():"unknown";return t.type==="browser"?[e,t.name,t.version].join("-"):[e,t.version].join("-")}function Cin(){var t;let e=yB();return e===e6.browser?[e,((t=(0,Fm.getLocation)())==null?void 0:t.host)||"unknown"].join(":"):e}function Iin(t,e,n){let a=Ain(),r=Cin();return[[t,e].join("-"),[Ein,n].join("-"),a,r].join("/")}function O10({protocol:t,version:e,relayUrl:n,sdkVersion:a,auth:r,projectId:f,useOnCloseEvent:i,bundleId:s}){let o=n.split("?"),c=Iin(t,e,a),d={auth:r,ua:c,projectId:f,useOnCloseEvent:i||void 0,origin:s||void 0},l=_in(o[1]||"",d);return o[0]+"?"+l}function z9(t,e){return t.filter(n=>e.includes(n)).length===t.length}function $le(t){return Object.fromEntries(t.entries())}function Jle(t){return new Map(Object.entries(t))}function yh(t=mh.FIVE_MINUTES,e){let n=(0,mh.toMiliseconds)(t||mh.FIVE_MINUTES),a,r,f;return{resolve:i=>{f&&a&&(clearTimeout(f),a(i))},reject:i=>{f&&r&&(clearTimeout(f),r(i))},done:()=>new Promise((i,s)=>{f=setTimeout(()=>{s(new Error(e))},n),a=i,r=s})}}function s_(t,e,n){return new Promise(async(a,r)=>{let f=setTimeout(()=>r(new Error(n)),e);try{let i=await t;a(i)}catch(i){r(i)}clearTimeout(f)})}function U10(t,e){if(typeof e=="string"&&e.startsWith(`${t}:`))return e;if(t.toLowerCase()==="topic"){if(typeof e!="string")throw new Error('Value must be "string" for expirer target type: topic');return`topic:${e}`}else if(t.toLowerCase()==="id"){if(typeof e!="number")throw new Error('Value must be "number" for expirer target type: id');return`id:${e}`}throw new Error(`Unknown expirer target type: ${t}`)}function H10(t){return U10("topic",t)}function z10(t){return U10("id",t)}function hQ(t){let[e,n]=t.split(":"),a={id:void 0,topic:void 0};if(e==="topic"&&typeof n=="string")a.topic=n;else if(e==="id"&&Number.isInteger(Number(n)))a.id=Number(n);else throw new Error(`Invalid target, expected id:number or topic:string, got ${e}:${n}`);return a}function Fs(t,e){return(0,mh.fromMiliseconds)((e||Date.now())+(0,mh.toMiliseconds)(t))}function Vu(t){return Date.now()>=(0,mh.toMiliseconds)(t)}function Dn(t,e){return`${t}${e?`:${e}`:""}`}function gB(t=[],e=[]){return[...new Set([...t,...e])]}async function W10({id:t,topic:e,wcDeepLink:n}){try{if(!n)return;let r=(typeof n=="string"?JSON.parse(n):n)?.href;if(typeof r!="string")return;r.endsWith("/")&&(r=r.slice(0,-1));let f=`${r}/wc?requestId=${t}&sessionTopic=${e}`,i=yB();i===e6.browser?f.startsWith("https://")||f.startsWith("http://")?window.open(f,"_blank","noreferrer noopener"):window.open(f,"_self","noreferrer noopener"):i===e6.reactNative&&typeof(global==null?void 0:global.Linking)<"u"&&await global.Linking.openURL(f)}catch(a){console.error(a)}}async function q10(t,e){try{return await t.getItem(e)||(Nm()?localStorage.getItem(e):void 0)}catch(n){console.error(n)}}function kin(t){var e=t.default;if(typeof e=="function"){var n=function(){return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(a){var r=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(n,a,r.get?r:{enumerable:!0,get:function(){return t[a]}})}),n}function Min(){try{let t=[];if(["NFD","NFC","NFKD","NFKC"].forEach(e=>{try{if("test".normalize(e)!=="test")throw new Error("bad normalize")}catch{t.push(e)}}),t.length)throw new Error("missing "+t.join(", "));if("\xE9".normalize("NFD")!=="e\u0301")throw new Error("broken implementation")}catch(t){return t.message}return null}function K10(t){return!!t.toHexString}function ZE(t){return t.slice||(t.slice=function(){let e=Array.prototype.slice.call(arguments);return ZE(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function Din(t){return N6(t)&&!(t.length%2)||o_(t)}function c10(t){return typeof t=="number"&&t==t&&t%1===0}function o_(t){if(t==null)return!1;if(t.constructor===Uint8Array)return!0;if(typeof t=="string"||!c10(t.length)||t.length<0)return!1;for(let e=0;e=256)return!1}return!0}function ri(t,e){if(e||(e={}),typeof t=="number"){wi.checkSafeUint53(t,"invalid arrayify value");let n=[];for(;t;)n.unshift(t&255),t=parseInt(String(t/256));return n.length===0&&n.push(0),ZE(new Uint8Array(n))}if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),K10(t)&&(t=t.toHexString()),N6(t)){let n=t.substring(2);n.length%2&&(e.hexPad==="left"?n="0"+n:e.hexPad==="right"?n+="0":wi.throwArgumentError("hex data is odd-length","value",t));let a=[];for(let r=0;rri(r)),n=e.reduce((r,f)=>r+f.length,0),a=new Uint8Array(n);return e.reduce((r,f)=>(a.set(f,r),r+f.length),0),ZE(a)}function Lin(t,e){t=ri(t),t.length>e&&wi.throwArgumentError("value out of range","value",arguments[0]);let n=new Uint8Array(e);return n.set(t,e-t.length),ZE(n)}function N6(t,e){return!(typeof t!="string"||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}function ic(t,e){if(e||(e={}),typeof t=="number"){wi.checkSafeUint53(t,"invalid hexlify value");let n="";for(;t;)n=Ale[t&15]+n,t=Math.floor(t/16);return n.length?(n.length%2&&(n="0"+n),"0x"+n):"0x00"}if(typeof t=="bigint")return t=t.toString(16),t.length%2?"0x0"+t:"0x"+t;if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),K10(t))return t.toHexString();if(N6(t))return t.length%2&&(e.hexPad==="left"?t="0x0"+t.substring(2):e.hexPad==="right"?t+="0":wi.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(o_(t)){let n="0x";for(let a=0;a>4]+Ale[r&15]}return n}return wi.throwArgumentError("invalid hexlify value","value",t)}function Fin(t){if(typeof t!="string")t=ic(t);else if(!N6(t)||t.length%2)return null;return(t.length-2)/2}function d10(t,e,n){return typeof t!="string"?t=ic(t):(!N6(t)||t.length%2)&&wi.throwArgumentError("invalid hexData","value",t),e=2+2*e,n!=null?"0x"+t.substring(e,2+2*n):"0x"+t.substring(e)}function ju(t,e){for(typeof t!="string"?t=ic(t):N6(t)||wi.throwArgumentError("invalid hex string","value",t),t.length>2*e+2&&wi.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}function Q10(t){let e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(Din(t)){let n=ri(t);n.length===64?(e.v=27+(n[32]>>7),n[32]&=127,e.r=ic(n.slice(0,32)),e.s=ic(n.slice(32,64))):n.length===65?(e.r=ic(n.slice(0,32)),e.s=ic(n.slice(32,64)),e.v=n[64]):wi.throwArgumentError("invalid signature string","signature",t),e.v<27&&(e.v===0||e.v===1?e.v+=27:wi.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(n[32]|=128),e._vs=ic(n.slice(32,64))}else{if(e.r=t.r,e.s=t.s,e.v=t.v,e.recoveryParam=t.recoveryParam,e._vs=t._vs,e._vs!=null){let r=Lin(ri(e._vs),32);e._vs=ic(r);let f=r[0]>=128?1:0;e.recoveryParam==null?e.recoveryParam=f:e.recoveryParam!==f&&wi.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),r[0]&=127;let i=ic(r);e.s==null?e.s=i:e.s!==i&&wi.throwArgumentError("signature v mismatch _vs","signature",t)}if(e.recoveryParam==null)e.v==null?wi.throwArgumentError("signature missing v and recoveryParam","signature",t):e.v===0||e.v===1?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(e.v==null)e.v=27+e.recoveryParam;else{let r=e.v===0||e.v===1?e.v:1-e.v%2;e.recoveryParam!==r&&wi.throwArgumentError("signature recoveryParam mismatch v","signature",t)}e.r==null||!N6(e.r)?wi.throwArgumentError("signature missing or invalid r","signature",t):e.r=ju(e.r,32),e.s==null||!N6(e.s)?wi.throwArgumentError("signature missing or invalid s","signature",t):e.s=ju(e.s,32);let n=ri(e.s);n[0]>=128&&wi.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(n[0]|=128);let a=ic(n);e._vs&&(N6(e._vs)||wi.throwArgumentError("signature invalid _vs","signature",t),e._vs=ju(e._vs,32)),e._vs==null?e._vs=a:e._vs!==a&&wi.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}function Xle(t){return"0x"+Sin.keccak_256(ri(t))}function Hin(t){return t!=null&&(mo.isBigNumber(t)||typeof t=="number"&&t%1===0||typeof t=="string"&&!!t.match(/^-?[0-9]+$/)||N6(t)||typeof t=="bigint"||o_(t))}function hB(t){if(typeof t!="string")return hB(t.toString(16));if(t[0]==="-")return t=t.substring(1),t[0]==="-"&&ph.throwArgumentError("invalid hex","value",t),t=hB(t),t==="0x00"?t:"-"+t;if(t.substring(0,2)!=="0x"&&(t="0x"+t),t==="0x")return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&t.substring(0,4)==="0x00";)t="0x"+t.substring(4);return t}function Zc(t){return mo.from(hB(t))}function na(t){let e=mo.from(t).toHexString();return e[0]==="-"?new sQ("-"+e.substring(3),16):new sQ(e.substring(2),16)}function dd(t,e,n){let a={fault:t,operation:e};return n!=null&&(a.value=n),ph.throwError(t,yf.errors.NUMERIC_FAULT,a)}function zin(t){return new sQ(t,36).toString(16)}function X10(t,e,n,a){let r={fault:e,operation:n};return a!==void 0&&(r.value=a),sc.throwError(t,yf.errors.NUMERIC_FAULT,r)}function Zle(t){if(typeof t!="number")try{t=mo.from(t).toNumber()}catch{}return typeof t=="number"&&t>=0&&t<=256&&!(t%1)?"1"+uB.substring(0,t):sc.throwArgumentError("invalid decimal size","decimals",t)}function Ile(t,e){e==null&&(e=0);let n=Zle(e);t=mo.from(t);let a=t.lt($10);a&&(t=t.mul(J10));let r=t.mod(n).toString();for(;r.length2&&sc.throwArgumentError("too many decimal points","value",t);let f=r[0],i=r[1];for(f||(f="0"),i||(i="0");i[i.length-1]==="0";)i=i.substring(0,i.length-1);for(i.length>n.length-1&&X10("fractional component exceeds decimals","underflow","parseFixed"),i===""&&(i="0");i.length>6===2;i++)f++;return f}return t===e_.OVERRUN?n.length-e-1:0}function Gin(t,e,n,a,r){return t===e_.OVERLONG?(a.push(r),0):(a.push(65533),ec0(t,e,n))}function kle(t,e=cQ.current){e!=cQ.current&&(Z10.checkNormalize(),t=t.normalize(e));let n=[];for(let a=0;a>6|192),n.push(r&63|128);else if((r&64512)==55296){a++;let f=t.charCodeAt(a);if(a>=t.length||(f&64512)!==56320)throw new Error("invalid utf-8 string");let i=65536+((r&1023)<<10)+(f&1023);n.push(i>>18|240),n.push(i>>12&63|128),n.push(i>>6&63|128),n.push(i&63|128)}else n.push(r>>12|224),n.push(r>>6&63|128),n.push(r&63|128)}return ri(n)}function Kin(t){if(t.length%4!==0)throw new Error("bad data");let e=[];for(let n=0;n{let f=r.split(":");n+=parseInt(f[0],16),a[n]=e(f[1])}),a}function h10(t){let e=0;return t.split(",").map(n=>{let a=n.split("-");a.length===1?a[1]="0":a[1]===""&&(a[1]="1");let r=e+parseInt(a[0],16);return e=parseInt(a[1],16),{l:r,h:e}})}function Qin(t){t=atob(t);let e=[];for(let n=0;n0&&Array.isArray(s)?r(s,i-1):n.push(s)})};return r(t,e),n}function Vin(t){let e={};for(let n=0;n>--o&1}let l=31,h=Math.pow(2,l),y=h>>>1,v=y>>1,k=h-1,O=0;for(let Q=0;Q1;){let R=V+X>>>1;Q>>1|d(),K=K<<1^y,G=(G^y)<<1|y|1;z=K,W=1+G-K}let j=a-4;return F.map(Q=>{switch(Q-j){case 3:return j+65792+(t[s++]<<16|t[s++]<<8|t[s++]);case 2:return j+256+(t[s++]<<8|t[s++]);case 1:return j+t[s++];default:return Q-1}})}function $in(t){let e=0;return()=>t[e++]}function Jin(t){return $in(Yin(t))}function Xin(t){return t&1?~t>>1:t>>1}function Zin(t,e){let n=Array(t);for(let a=0;ae[i]):n}function tsn(t){let e=[];for(;;){let n=t();if(n==0)break;e.push(asn(n,t))}for(;;){let n=t()-1;if(n<0)break;e.push(rsn(n,t))}return Vin(nc0(e))}function nsn(t){let e=[];for(;;){let n=t();if(n==0)break;e.push(n)}return e}function ac0(t,e,n){let a=Array(t).fill(void 0).map(()=>[]);for(let r=0;ra[i].push(f));return a}function asn(t,e){let n=1+e(),a=e(),r=nsn(e),f=ac0(r.length,1+t,e);return nc0(f.map((i,s)=>{let o=i[0],c=i.slice(1);return Array(r[s]).fill(void 0).map((d,l)=>{let h=l*a;return[o+l*n,c.map(y=>y+h)]})}))}function rsn(t,e){let n=1+e();return ac0(n,1+t,e).map(a=>[a[0],a.slice(1)])}function fsn(t){let e=dQ(t).sort((a,r)=>a-r);return n();function n(){let a=[];for(;;){let c=dQ(t,e);if(c.length==0)break;a.push({set:new Set(c),node:n()})}a.sort((c,d)=>d.set.size-c.set.size);let r=t(),f=r%3;r=r/3|0;let i=!!(r&1);r>>=1;let s=r==1,o=r==2;return{branches:a,valid:f,fe0f:i,save:s,check:o}}}function isn(){return Jin(Qin("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA=="))}function rc0(t){return typeof t=="string"&&(t=kle(t)),Xle(Pin([kle(osn),kle(String(t.length)),t]))}function m10(t){N6(t,20)||dB.throwArgumentError("invalid address","address",t),t=t.toLowerCase();let e=t.substring(2).split(""),n=new Uint8Array(40);for(let r=0;r<40;r++)n[r]=e[r].charCodeAt(0);let a=ri(Xle(n));for(let r=0;r<40;r+=2)a[r>>1]>>4>=8&&(e[r]=e[r].toUpperCase()),(a[r>>1]&15)>=8&&(e[r+1]=e[r+1].toUpperCase());return"0x"+e.join("")}function usn(t){return Math.log10?Math.log10(t):Math.log(t)/Math.LN10}function psn(t){t=t.toUpperCase(),t=t.substring(4)+t.substring(0,2)+"00";let e=t.split("").map(a=>e2e[a]).join("");for(;e.length>=y10;){let a=e.substring(0,y10);e=parseInt(a,10)%97+e.substring(a.length)}let n=String(98-parseInt(e,10)%97);for(;n.length<2;)n="0"+n;return n}function hsn(t){let e=null;if(typeof t!="string"&&dB.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))t.substring(0,2)!=="0x"&&(t="0x"+t),e=m10(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&dB.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==psn(t)&&dB.throwArgumentError("bad icap checksum","address",t),e=zin(t.substring(4));e.length<40;)e="0"+e;e=m10("0x"+e)}else dB.throwArgumentError("invalid address","address",t);return e}function sB(t,e,n){Object.defineProperty(t,e,{enumerable:!0,value:n,writable:!1})}function fc0(t,e){if(!t)throw new Error(e||"Assertion failed")}function Tsn(t,e){return(t.charCodeAt(e)&64512)!==55296||e<0||e+1>=t.length?!1:(t.charCodeAt(e+1)&64512)===56320}function xsn(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if(typeof t=="string")if(e){if(e==="hex")for(t=t.replace(/[^a-z0-9]+/ig,""),t.length%2!==0&&(t="0"+t),r=0;r>6|192,n[a++]=f&63|128):Tsn(t,r)?(f=65536+((f&1023)<<10)+(t.charCodeAt(++r)&1023),n[a++]=f>>18|240,n[a++]=f>>12&63|128,n[a++]=f>>6&63|128,n[a++]=f&63|128):(n[a++]=f>>12|224,n[a++]=f>>6&63|128,n[a++]=f&63|128)}else for(r=0;r>>24|t>>>8&65280|t<<8&16711680|(t&255)<<24;return e>>>0}function _sn(t,e){for(var n="",a=0;a>>0}return f}function Csn(t,e){for(var n=new Array(t.length*4),a=0,r=0;a>>24,n[r+1]=f>>>16&255,n[r+2]=f>>>8&255,n[r+3]=f&255):(n[r+3]=f>>>24,n[r+2]=f>>>16&255,n[r+1]=f>>>8&255,n[r]=f&255)}return n}function Isn(t,e){return t>>>e|t<<32-e}function ksn(t,e){return t<>>32-e}function Ssn(t,e){return t+e>>>0}function Rsn(t,e,n){return t+e+n>>>0}function Msn(t,e,n,a){return t+e+n+a>>>0}function Bsn(t,e,n,a,r){return t+e+n+a+r>>>0}function Dsn(t,e,n,a){var r=t[e],f=t[e+1],i=a+f>>>0,s=(i>>0,t[e+1]=i}function Psn(t,e,n,a){var r=e+a>>>0,f=(r>>0}function Lsn(t,e,n,a){var r=e+a;return r>>>0}function Fsn(t,e,n,a,r,f,i,s){var o=0,c=e;c=c+a>>>0,o+=c>>0,o+=c>>0,o+=c>>0}function Nsn(t,e,n,a,r,f,i,s){var o=e+a+f+s;return o>>>0}function Osn(t,e,n,a,r,f,i,s,o,c){var d=0,l=e;l=l+a>>>0,d+=l>>0,d+=l>>0,d+=l>>0,d+=l>>0}function Usn(t,e,n,a,r,f,i,s,o,c){var d=e+a+f+s+c;return d>>>0}function Hsn(t,e,n){var a=e<<32-n|t>>>n;return a>>>0}function zsn(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}function Wsn(t,e,n){return t>>>n}function qsn(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}function eQ(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}function Ksn(t,e,n,a){if(t===0)return cc0(e,n,a);if(t===1||t===3)return lc0(e,n,a);if(t===2)return dc0(e,n,a)}function cc0(t,e,n){return t&e^~t&n}function dc0(t,e,n){return t&e^t&n^e&n}function lc0(t,e,n){return t^e^n}function Qsn(t){return Gu(t,2)^Gu(t,13)^Gu(t,22)}function Vsn(t){return Gu(t,6)^Gu(t,11)^Gu(t,25)}function Ysn(t){return Gu(t,7)^Gu(t,18)^t>>>3}function $sn(t){return Gu(t,17)^Gu(t,19)^t>>>10}function zu(){if(!(this instanceof zu))return new zu;uc0.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}function Wu(){if(!(this instanceof Wu))return new Wu;pc0.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=pon,this.W=new Array(64)}function hh(){if(!(this instanceof hh))return new hh;bc0.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}function ql(){if(!(this instanceof ql))return new ql;gc0.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=Ton,this.W=new Array(160)}function xon(t,e,n,a,r){var f=t&n^~t&r;return f<0&&(f+=4294967296),f}function Eon(t,e,n,a,r,f){var i=e&a^~e&f;return i<0&&(i+=4294967296),i}function _on(t,e,n,a,r){var f=t&n^t&r^n&r;return f<0&&(f+=4294967296),f}function Aon(t,e,n,a,r,f){var i=e&a^e&f^a&f;return i<0&&(i+=4294967296),i}function Con(t,e){var n=Ku(t,e,28),a=Ku(e,t,2),r=Ku(e,t,7),f=n^a^r;return f<0&&(f+=4294967296),f}function Ion(t,e){var n=Qu(t,e,28),a=Qu(e,t,2),r=Qu(e,t,7),f=n^a^r;return f<0&&(f+=4294967296),f}function kon(t,e){var n=Ku(t,e,14),a=Ku(t,e,18),r=Ku(e,t,9),f=n^a^r;return f<0&&(f+=4294967296),f}function Son(t,e){var n=Qu(t,e,14),a=Qu(t,e,18),r=Qu(e,t,9),f=n^a^r;return f<0&&(f+=4294967296),f}function Ron(t,e){var n=Ku(t,e,1),a=Ku(t,e,8),r=mc0(t,e,7),f=n^a^r;return f<0&&(f+=4294967296),f}function Mon(t,e){var n=Qu(t,e,1),a=Qu(t,e,8),r=yc0(t,e,7),f=n^a^r;return f<0&&(f+=4294967296),f}function Bon(t,e){var n=Ku(t,e,19),a=Ku(e,t,29),r=mc0(t,e,6),f=n^a^r;return f<0&&(f+=4294967296),f}function Don(t,e){var n=Qu(t,e,19),a=Qu(e,t,29),r=yc0(t,e,6),f=n^a^r;return f<0&&(f+=4294967296),f}function bh(){if(!(this instanceof bh))return new bh;wc0.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}function Hu(){if(!(this instanceof Hu))return new Hu;xc0.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function T10(t,e,n,a){return t<=15?e^n^a:t<=31?e&n|~e&a:t<=47?(e|~n)^a:t<=63?e&a|n&~a:e^(n|~a)}function Fon(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function Non(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}function t_(t,e,n){if(!(this instanceof t_))return new t_(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(Won.toArray(e,n))}function l_(t,e,n){return n={path:e,exports:{},require:function(a,r){return Gon(a,r??n.path)}},t(n,n.exports),n.exports}function Gon(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}function Ec0(t,e){if(!t)throw new Error(e||"Assertion failed")}function Dm(t,e){this.type=t,this.p=new fn(e.p,16),this.red=e.prime?fn.red(e.prime):fn.mont(this.p),this.zero=new fn(0).toRed(this.red),this.one=new fn(1).toRed(this.red),this.two=new fn(2).toRed(this.red),this.n=e.n&&new fn(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function ld(t,e){this.curve=t,this.type=e,this.precomputed=null}function pd(t){G9.call(this,"short",t),this.a=new fn(t.a,16).toRed(this.red),this.b=new fn(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function Ls(t,e,n,a){G9.BasePoint.call(this,t,"affine"),e===null&&n===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new fn(e,16),this.y=new fn(n,16),a&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function ho(t,e,n,a){G9.BasePoint.call(this,t,"jacobian"),e===null&&n===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new fn(0)):(this.x=new fn(e,16),this.y=new fn(n,16),this.z=new fn(a,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}function Pm(t){if(!(this instanceof Pm))return new Pm(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=jl.toArray(t.entropy,t.entropyEnc||"hex"),n=jl.toArray(t.nonce,t.nonceEnc||"hex"),a=jl.toArray(t.pers,t.persEnc||"hex");t2e(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,a)}function h1(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}function bQ(t,e){if(t instanceof bQ)return t;this._importDER(t,e)||(Yon(t.r&&t.s,"Signature without r or s"),this.r=new fn(t.r,16),this.s=new fn(t.s,16),t.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function $on(){this.place=0}function Lle(t,e){var n=t[e.place++];if(!(n&128))return n;var a=n&15;if(a===0||a>4)return!1;for(var r=0,f=0,i=e.place;f>>=0;return r<=127?!1:(e.place=i,r)}function E10(t){for(var e=0,n=t.length-1;!t[e]&&!(t[e+1]&128)&&e>>3);for(t.push(n|128);--n;)t.push(e>>>(n<<3)&255);t.push(e)}function ud(t){if(!(this instanceof ud))return new ud(t);typeof t=="string"&&(_c0(Object.prototype.hasOwnProperty.call(iQ,t),"Unknown curve "+t),t=iQ[t]),t instanceof iQ.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}function qu(){return Nle||(Nle=new e1n("secp256k1")),Nle}function n1n(t,e){let n=Q10(e),a={r:ri(n.r),s:ri(n.s)};return"0x"+qu().recoverPubKey(ri(t),a,n.recoveryParam).encode("hex",!1)}function Ac0(t,e){let n=ri(t);if(n.length===32){let a=new jle(n);return e?"0x"+qu().keyFromPrivate(n).getPublic(!0,"hex"):a.publicKey}else{if(n.length===33)return e?ic(n):"0x"+qu().keyFromPublic(n).getPublic(!1,"hex");if(n.length===65)return e?"0x"+qu().keyFromPublic(n).getPublic(!0,"hex"):ic(n)}return qle.throwArgumentError("invalid public or private key","key","[REDACTED]")}function r1n(t){let e=Ac0(t);return hsn(d10(Xle(d10(e,1)),12))}function f1n(t,e){return r1n(n1n(ri(t),e))}async function s1n(t,e,n,a,r,f){switch(n.t){case"eip191":return o1n(t,e,n.s);case"eip1271":return await c1n(t,e,n.s,a,r,f);default:throw new Error(`verifySignature failed: Attempted to verify CacaoSignature with unknown type: ${n.t}`)}}function o1n(t,e,n){return f1n(rc0(e),n).toLowerCase()===t.toLowerCase()}async function c1n(t,e,n,a,r,f){try{let i="0x1626ba7e",s="0000000000000000000000000000000000000000000000000000000000000040",o="0000000000000000000000000000000000000000000000000000000000000041",c=n.substring(2),d=rc0(e).substring(2),l=i+d+s+o+c,h=await fetch(`${f||i1n}/?chainId=${a}&projectId=${r}`,{method:"POST",body:JSON.stringify({id:d1n(),jsonrpc:"2.0",method:"eth_call",params:[{to:t,data:l},"latest"]})}),{result:y}=await h.json();return y?y.slice(0,i.length).toLowerCase()===i.toLowerCase():!1}catch(i){return console.error("isValidEip1271Signature: ",i),!1}}function d1n(){return Date.now()+Math.floor(Math.random()*1e3)}async function f2e(t){let{cacao:e,projectId:n}=t,{s:a,p:r}=e,f=i2e(r,r.iss),i=wB(r.iss);return await s1n(i,f,a,Cc0(r.iss),n)}function v1n(t){return _.Buffer.from(JSON.stringify(t)).toString("base64")}function w1n(t){return JSON.parse(_.Buffer.from(t,"base64").toString("utf-8"))}function q9(t){if(!t)throw new Error("No recap provided, value is undefined");if(!t.att)throw new Error("No `att` property found");let e=Object.keys(t.att);if(!(e!=null&&e.length))throw new Error("No resources found in `att` property");e.forEach(n=>{let a=t.att[n];if(Array.isArray(a))throw new Error(`Resource must be an object: ${n}`);if(typeof a!="object")throw new Error(`Resource must be an object: ${n}`);if(!Object.keys(a).length)throw new Error(`Resource object is empty: ${n}`);Object.keys(a).forEach(r=>{let f=a[r];if(!Array.isArray(f))throw new Error(`Ability limits ${r} must be an array of objects, found: ${f}`);if(!f.length)throw new Error(`Value of ${r} is empty array, must be an array with objects`);f.forEach(i=>{if(typeof i!="object")throw new Error(`Ability limits (${r}) must be an array of objects, found: ${i}`)})})})}function T1n(t,e,n,a={}){return n?.sort((r,f)=>r.localeCompare(f)),{att:{[t]:x1n(e,n,a)}}}function x1n(t,e,n={}){e=e?.sort((r,f)=>r.localeCompare(f));let a=e.map(r=>({[`${t}/${r}`]:[n]}));return Object.assign({},...a)}function Ic0(t){return q9(t),`urn:recap:${v1n(t).replace(/=/g,"")}`}function bB(t){let e=w1n(t.replace("urn:recap:",""));return q9(e),e}function kc0(t,e,n){let a=T1n(t,e,n);return Ic0(a)}function E1n(t){return t&&t.includes("urn:recap:")}function Sc0(t,e){let n=bB(t),a=bB(e),r=_1n(n,a);return Ic0(r)}function _1n(t,e){q9(t),q9(e);let n=Object.keys(t.att).concat(Object.keys(e.att)).sort((r,f)=>r.localeCompare(f)),a={att:{}};return n.forEach(r=>{var f,i;Object.keys(((f=t.att)==null?void 0:f[r])||{}).concat(Object.keys(((i=e.att)==null?void 0:i[r])||{})).sort((s,o)=>s.localeCompare(o)).forEach(s=>{var o,c;a.att[r]=y1n(m1n({},a.att[r]),{[s]:((o=t.att[r])==null?void 0:o[s])||((c=e.att[r])==null?void 0:c[s])})})}),a}function A1n(t="",e){q9(e);let n="I further authorize the stated URI to perform the following actions on my behalf: ";if(t.includes(n))return t;let a=[],r=0;Object.keys(e.att).forEach(s=>{let o=Object.keys(e.att[s]).map(l=>({ability:l.split("/")[0],action:l.split("/")[1]}));o.sort((l,h)=>l.action.localeCompare(h.action));let c={};o.forEach(l=>{c[l.ability]||(c[l.ability]=[]),c[l.ability].push(l.action)});let d=Object.keys(c).map(l=>(r++,`(${r}) '${l}': '${c[l].join("', '")}' for '${s}'.`));a.push(d.join(", ").replace(".,","."))});let f=a.join(" "),i=`${n}${f}`;return`${t?t+" ":""}${i}`}function s2e(t){var e;let n=bB(t);q9(n);let a=(e=n.att)==null?void 0:e.eip155;return a?Object.keys(a).map(r=>r.split("/")[1]):[]}function o2e(t){let e=bB(t);q9(e);let n=[];return Object.values(e.att).forEach(a=>{Object.values(a).forEach(r=>{var f;(f=r?.[0])!=null&&f.chains&&n.push(r[0].chains)})}),[...new Set(n.flat())]}function TB(t){if(!t)return;let e=t?.[t.length-1];return E1n(e)?e:void 0}function Bc0(){let t=pQ.generateKeyPair();return{privateKey:Mi(t.secretKey,b1),publicKey:Mi(t.publicKey,b1)}}function mQ(){let t=(0,Vle.randomBytes)(d2e);return Mi(t,b1)}function Dc0(t,e){let n=pQ.sharedKey(Es(t,b1),Es(e,b1),!0),a=new P10.HKDF(mB.SHA256,n).expand(d2e);return Mi(a,b1)}function u_(t){let e=(0,mB.hash)(Es(t,b1));return Mi(e,b1)}function gh(t){let e=(0,mB.hash)(Es(t,c2e));return Mi(e,b1)}function I1n(t){return Es(`${t}`,Rc0)}function p_(t){return Number(Mi(t,Rc0))}function Pc0(t){let e=I1n(typeof t.type<"u"?t.type:Mc0);if(p_(e)===$u&&typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");let n=typeof t.senderPublicKey<"u"?Es(t.senderPublicKey,b1):void 0,a=typeof t.iv<"u"?Es(t.iv,b1):(0,Vle.randomBytes)(Kle),r=new Qle.ChaCha20Poly1305(Es(t.symKey,b1)).seal(a,Es(t.message,c2e));return k1n({type:e,sealed:r,iv:a,senderPublicKey:n})}function Lc0(t){let e=new Qle.ChaCha20Poly1305(Es(t.symKey,b1)),{sealed:n,iv:a}=xB(t.encoded),r=e.open(a,n);if(r===null)throw new Error("Failed to decrypt");return Mi(r,c2e)}function k1n(t){if(p_(t.type)===$u){if(typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");return Mi(M7([t.type,t.senderPublicKey,t.iv,t.sealed]),Gle)}return Mi(M7([t.type,t.iv,t.sealed]),Gle)}function xB(t){let e=Es(t,Gle),n=e.slice(C1n,I10),a=I10;if(p_(n)===$u){let s=a+d2e,o=s+Kle,c=e.slice(a,s),d=e.slice(s,o),l=e.slice(o);return{type:n,sealed:l,iv:d,senderPublicKey:c}}let r=a+Kle,f=e.slice(a,r),i=e.slice(r);return{type:n,sealed:i,iv:f}}function Fc0(t,e){let n=xB(t);return l2e({type:p_(n.type),senderPublicKey:typeof n.senderPublicKey<"u"?Mi(n.senderPublicKey,b1):void 0,receiverPublicKey:e?.receiverPublicKey})}function l2e(t){let e=t?.type||Mc0;if(e===$u){if(typeof t?.senderPublicKey>"u")throw new Error("missing sender public key");if(typeof t?.receiverPublicKey>"u")throw new Error("missing receiver public key")}return{type:e,senderPublicKey:t?.senderPublicKey,receiverPublicKey:t?.receiverPublicKey}}function u2e(t){return t.type===$u&&typeof t.senderPublicKey=="string"&&typeof t.receiverPublicKey=="string"}function yQ(t){return t?.relay||{protocol:S1n}}function EB(t){let e=aUe[t];if(typeof e>"u")throw new Error(`Relay Protocol not supported: ${t}`);return e}function F1n(t,e="-"){let n={},a="relay"+e;return Object.keys(t).forEach(r=>{if(r.startsWith(a)){let f=r.replace(a,""),i=t[r];n[f]=i}}),n}function p2e(t){t=t.includes("wc://")?t.replace("wc://",""):t,t=t.includes("wc:")?t.replace("wc:",""):t;let e=t.indexOf(":"),n=t.indexOf("?")!==-1?t.indexOf("?"):void 0,a=t.substring(0,e),r=t.substring(e+1,n).split("@"),f=typeof n<"u"?t.substring(n):"",i=r_.parse(f),s=typeof i.methods=="string"?i.methods.split(","):void 0;return{protocol:a,topic:N1n(r[0]),version:parseInt(r[1],10),symKey:i.symKey,relay:F1n(i),methods:s,expiryTimestamp:i.expiryTimestamp?parseInt(i.expiryTimestamp,10):void 0}}function N1n(t){return t.startsWith("//")?t.substring(2):t}function O1n(t,e="-"){let n="relay",a={};return Object.keys(t).forEach(r=>{let f=n+e+r;t[r]&&(a[f]=t[r])}),a}function Nc0(t){return`${t.protocol}:${t.topic}@${t.version}?`+r_.stringify(R10(L1n(R10({symKey:t.symKey},O1n(t.relay)),{expiryTimestamp:t.expiryTimestamp}),t.methods?{methods:t.methods.join(",")}:{}))}function h_(t){let e=[];return t.forEach(n=>{let[a,r]=n.split(":");e.push(`${a}:${r}`)}),e}function U1n(t){let e=[];return Object.values(t).forEach(n=>{e.push(...h_(n.accounts))}),e}function H1n(t,e){let n=[];return Object.values(t).forEach(a=>{h_(a.accounts).includes(e)&&n.push(...a.methods)}),n}function z1n(t,e){let n=[];return Object.values(t).forEach(a=>{h_(a.accounts).includes(e)&&n.push(...a.events)}),n}function gQ(t){return t.includes(":")}function b_(t){return gQ(t)?t.split(":")[0]:t}function W1n(t){let e={};return t?.forEach(n=>{let[a,r]=n.split(":");e[a]||(e[a]={accounts:[],chains:[],events:[]}),e[a].accounts.push(n),e[a].chains.push(`${a}:${r}`)}),e}function h2e(t,e){e=e.map(a=>a.replace("did:pkh:",""));let n=W1n(e);for(let[a,r]of Object.entries(n))r.methods?r.methods=gB(r.methods,t):r.methods=t,r.events=["chainChanged","accountsChanged"];return n}function F0(t,e){let{message:n,code:a}=j1n[t];return{message:e?`${n} ${e}`:n,code:a}}function Ca(t,e){let{message:n,code:a}=q1n[t];return{message:e?`${n} ${e}`:n,code:a}}function U6(t,e){return Array.isArray(t)?typeof e<"u"&&t.length?t.every(e):!0:!1}function K9(t){return Object.getPrototypeOf(t)===Object.prototype&&Object.keys(t).length}function bo(t){return typeof t>"u"}function Bf(t,e){return e&&bo(t)?!0:typeof t=="string"&&!!t.trim().length}function b2e(t,e){return e&&bo(t)?!0:typeof t=="number"&&!isNaN(t)}function Oc0(t,e){let{requiredNamespaces:n}=e,a=Object.keys(t.namespaces),r=Object.keys(n),f=!0;return z9(r,a)?(a.forEach(i=>{let{accounts:s,methods:o,events:c}=t.namespaces[i],d=h_(s),l=n[i];(!z9(L10(i,l),d)||!z9(l.methods,o)||!z9(l.events,c))&&(f=!1)}),f):!1}function uQ(t){return Bf(t,!1)&&t.includes(":")?t.split(":").length===2:!1}function G1n(t){if(Bf(t,!1)&&t.includes(":")){let e=t.split(":");if(e.length===3){let n=e[0]+":"+e[1];return!!e[2]&&uQ(n)}}return!1}function Uc0(t){if(Bf(t,!1))try{return typeof new URL(t)<"u"}catch{return!1}return!1}function Hc0(t){var e;return(e=t?.proposer)==null?void 0:e.publicKey}function zc0(t){return t?.topic}function Wc0(t,e){let n=null;return Bf(t?.publicKey,!1)||(n=F0("MISSING_OR_INVALID",`${e} controller public key should be a string`)),n}function M10(t){let e=!0;return U6(t)?t.length&&(e=t.every(n=>Bf(n,!1))):e=!1,e}function K1n(t,e,n){let a=null;return U6(e)&&e.length?e.forEach(r=>{a||uQ(r)||(a=Ca("UNSUPPORTED_CHAINS",`${n}, chain ${r} should be a string and conform to "namespace:chainId" format`))}):uQ(t)||(a=Ca("UNSUPPORTED_CHAINS",`${n}, chains must be defined as "namespace:chainId" e.g. "eip155:1": {...} in the namespace key OR as an array of CAIP-2 chainIds e.g. eip155: { chains: ["eip155:1", "eip155:5"] }`)),a}function Q1n(t,e,n){let a=null;return Object.entries(t).forEach(([r,f])=>{if(a)return;let i=K1n(r,L10(r,f),`${e} ${n}`);i&&(a=i)}),a}function V1n(t,e){let n=null;return U6(t)?t.forEach(a=>{n||G1n(a)||(n=Ca("UNSUPPORTED_ACCOUNTS",`${e}, account ${a} should be a string and conform to "namespace:chainId:address" format`))}):n=Ca("UNSUPPORTED_ACCOUNTS",`${e}, accounts should be an array of strings conforming to "namespace:chainId:address" format`),n}function Y1n(t,e){let n=null;return Object.values(t).forEach(a=>{if(n)return;let r=V1n(a?.accounts,`${e} namespace`);r&&(n=r)}),n}function $1n(t,e){let n=null;return M10(t?.methods)?M10(t?.events)||(n=Ca("UNSUPPORTED_EVENTS",`${e}, events should be an array of strings or empty array for no events`)):n=Ca("UNSUPPORTED_METHODS",`${e}, methods should be an array of strings or empty array for no methods`),n}function qc0(t,e){let n=null;return Object.values(t).forEach(a=>{if(n)return;let r=$1n(a,`${e}, namespace`);r&&(n=r)}),n}function jc0(t,e,n){let a=null;if(t&&K9(t)){let r=qc0(t,e);r&&(a=r);let f=Q1n(t,e,n);f&&(a=f)}else a=F0("MISSING_OR_INVALID",`${e}, ${n} should be an object with data`);return a}function vQ(t,e){let n=null;if(t&&K9(t)){let a=qc0(t,e);a&&(n=a);let r=Y1n(t,e);r&&(n=r)}else n=F0("MISSING_OR_INVALID",`${e}, namespaces should be an object with data`);return n}function m2e(t){return Bf(t.protocol,!0)}function Gc0(t,e){let n=!1;return e&&!t?n=!0:t&&U6(t)&&t.length&&t.forEach(a=>{n=m2e(a)}),n}function Kc0(t){return typeof t=="number"}function m1(t){return typeof t<"u"&&typeof t!==null}function Qc0(t){return!(!t||typeof t!="object"||!t.code||!b2e(t.code,!1)||!t.message||!Bf(t.message,!1))}function Vc0(t){return!(bo(t)||!Bf(t.method,!1))}function Yc0(t){return!(bo(t)||bo(t.result)&&bo(t.error)||!b2e(t.id,!1)||!Bf(t.jsonrpc,!1))}function $c0(t){return!(bo(t)||!Bf(t.name,!1))}function y2e(t,e){return!(!uQ(e)||!U1n(t).includes(e))}function Jc0(t,e,n){return Bf(n,!1)?H1n(t,e).includes(n):!1}function Xc0(t,e,n){return Bf(n,!1)?z1n(t,e).includes(n):!1}function g2e(t,e,n){let a=null,r=J1n(t),f=X1n(e),i=Object.keys(r),s=Object.keys(f),o=B10(Object.keys(t)),c=B10(Object.keys(e)),d=o.filter(l=>!c.includes(l));return d.length&&(a=F0("NON_CONFORMING_NAMESPACES",`${n} namespaces keys don't satisfy requiredNamespaces. Required: ${d.toString()} Received: ${Object.keys(e).toString()}`)),z9(i,s)||(a=F0("NON_CONFORMING_NAMESPACES",`${n} namespaces chains don't satisfy required namespaces. Required: ${i.toString()} Approved: ${s.toString()}`)),Object.keys(e).forEach(l=>{if(!l.includes(":")||a)return;let h=h_(e[l].accounts);h.includes(l)||(a=F0("NON_CONFORMING_NAMESPACES",`${n} namespaces accounts don't satisfy namespace accounts for ${l} Required: ${l} - Approved: ${h.toString()}`))}),i.forEach(l=>{a||(z9(r[l].methods,f[l].methods)?z9(r[l].events,f[l].events)||(a=F0("NON_CONFORMING_NAMESPACES",`${n} namespaces events don't satisfy namespace events for ${l}`)):a=F0("NON_CONFORMING_NAMESPACES",`${n} namespaces methods don't satisfy namespace methods for ${l}`))}),a}function J1n(t){let e={};return Object.keys(t).forEach(n=>{var a;n.includes(":")?e[n]=t[n]:(a=t[n].chains)==null||a.forEach(r=>{e[r]={methods:t[n].methods,events:t[n].events}})}),e}function B10(t){return[...new Set(t.map(e=>e.includes(":")?e.split(":")[0]:e))]}function X1n(t){let e={};return Object.keys(t).forEach(n=>{n.includes(":")?e[n]=t[n]:h_(t[n].accounts)?.forEach(r=>{e[r]={accounts:t[n].accounts.filter(f=>f.includes(`${r}:`)),methods:t[n].methods,events:t[n].events}})}),e}function Zc0(t,e){return b2e(t,!1)&&t<=e.max&&t>=e.min}function v2e(){let t=yB();return new Promise(e=>{switch(t){case e6.browser:e(Z1n());break;case e6.reactNative:e(ecn());break;case e6.node:e(tcn());break;default:e(!0)}})}function Z1n(){return Fm()&&navigator?.onLine}async function ecn(){return j9()&&typeof global<"u"&&global!=null&&global.NetInfo?(await(global==null?void 0:global.NetInfo.fetch()))?.isConnected:!0}function tcn(){return!0}function e60(t){switch(yB()){case e6.browser:ncn(t);break;case e6.reactNative:acn(t);break;case e6.node:break}}function ncn(t){!j9()&&Fm()&&(window.addEventListener("online",()=>t(!0)),window.addEventListener("offline",()=>t(!1)))}function acn(t){j9()&&typeof global<"u"&&global!=null&&global.NetInfo&&global?.NetInfo.addEventListener(e=>t(e?.isConnected))}var mh,Lm,D10,r_,Qle,P10,Vle,mB,pQ,gin,vin,t10,win,Tin,n10,a10,xin,e6,Ein,j10,G10,Sin,Rin,r10,f10,rQ,i10,_le,s10,Ule,Wl,o10,yf,Bin,wi,Ale,V10,Nin,Oin,Uin,fn,Y10,sQ,ph,Cle,l10,u10,mo,sc,lB,$10,J10,uB,pB,oQ,p10,Win,qin,Z10,cQ,e_,tc0,ZK,ssn,osn,csn,dsn,dB,lsn,e2e,y10,bsn,msn,ysn,gsn,Uu,aa,vB,Hle,vsn,wsn,c_,g10,jsn,XE,Yu,Gsn,Gu,n_,Jsn,Xsn,Rle,oB,Zsn,eon,uc0,ton,non,a_,aon,d_,ron,zl,fon,ion,son,oon,con,don,lon,uon,pc0,pon,hc0,zle,bc0,hon,t6,bon,mon,Ku,Qu,mc0,yc0,Mm,Mle,Ble,yon,gon,von,won,gc0,Ton,vc0,Wle,wc0,Pon,Tc0,W9,Lon,tQ,v10,cB,w10,xc0,Oon,Uon,Hon,zon,Won,qon,jon,t2e,jl,O6,nQ,Kon,lQ,G9,n2e,Qon,Von,fQ,iQ,x10,Dle,Ple,Yon,aQ,Jon,_c0,Xon,Zon,e1n,t1n,qle,Nle,jle,a1n,_10,i1n,l1n,u1n,p1n,A10,h1n,b1n,C10,m1n,y1n,g1n,a2e,Cc0,r2e,wB,i2e,Rc0,b1,Gle,c2e,Mc0,$u,C1n,I10,Kle,d2e,S1n,R1n,M1n,B1n,k10,D1n,P1n,S10,R10,L1n,q1n,j1n,Ole,Pm,_B=ce(()=>{u();p();sse();mh=Ee(E7()),Lm=Ee(ose()),D10=Ee(yOe()),r_=Ee(FOe()),Qle=Ee(jOe()),P10=Ee($Oe()),Vle=Ee(vS()),mB=Ee(XOe()),pQ=Ee(nUe());Ele();rUe();gin=":";vin=Object.defineProperty,t10=Object.getOwnPropertySymbols,win=Object.prototype.hasOwnProperty,Tin=Object.prototype.propertyIsEnumerable,n10=(t,e,n)=>e in t?vin(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,a10=(t,e)=>{for(var n in e||(e={}))win.call(e,n)&&n10(t,n,e[n]);if(t10)for(var n of t10(e))Tin.call(e,n)&&n10(t,n,e[n]);return t},xin="ReactNative",e6={reactNative:"react-native",node:"node",browser:"browser",unknown:"unknown"},Ein="js";j10=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};G10={exports:{}};(function(t){(function(){var e="input is invalid type",n="finalize already called",a=typeof window=="object",r=a?window:{};r.JS_SHA3_NO_WINDOW&&(a=!1);var f=!a&&typeof self=="object",i=!r.JS_SHA3_NO_NODE_JS&&typeof E=="object"&&E.versions&&E.versions.node;i?r=j10:f&&(r=self);var s=!r.JS_SHA3_NO_COMMON_JS&&!0&&t.exports,o=!r.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",c="0123456789abcdef".split(""),d=[31,7936,2031616,520093696],l=[4,1024,262144,67108864],h=[1,256,65536,16777216],y=[6,1536,393216,100663296],v=[0,8,16,24],S=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],O=[224,256,384,512],F=[128,256],z=["hex","buffer","arrayBuffer","array","digest"],W={128:168,256:136};(r.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(U){return Object.prototype.toString.call(U)==="[object Array]"}),o&&(r.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(U){return typeof U=="object"&&U.buffer&&U.buffer.constructor===ArrayBuffer});for(var j=function(U,J,Z){return function(ne){return new k(U,J,U).update(ne)[Z]()}},Q=function(U,J,Z){return function(ne,ue){return new k(U,J,ue).update(ne)[Z]()}},V=function(U,J,Z){return function(ne,ue,Y,re){return m["cshake"+U].update(ne,ue,Y,re)[Z]()}},X=function(U,J,Z){return function(ne,ue,Y,re){return m["kmac"+U].update(ne,ue,Y,re)[Z]()}},K=function(U,J,Z,ne){for(var ue=0;ue>5,this.byteCount=this.blockCount<<2,this.outputBlocks=Z>>5,this.extraBytes=(Z&31)>>3;for(var ne=0;ne<50;++ne)this.s[ne]=0}k.prototype.update=function(U){if(this.finalized)throw new Error(n);var J,Z=typeof U;if(Z!=="string"){if(Z==="object"){if(U===null)throw new Error(e);if(o&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!o||!ArrayBuffer.isView(U)))throw new Error(e)}else throw new Error(e);J=!0}for(var ne=this.blocks,ue=this.byteCount,Y=U.length,re=this.blockCount,ie=0,ge=this.s,de,Ae;ie>2]|=U[ie]<>2]|=Ae<>2]|=(192|Ae>>6)<>2]|=(128|Ae&63)<=57344?(ne[de>>2]|=(224|Ae>>12)<>2]|=(128|Ae>>6&63)<>2]|=(128|Ae&63)<>2]|=(240|Ae>>18)<>2]|=(128|Ae>>12&63)<>2]|=(128|Ae>>6&63)<>2]|=(128|Ae&63)<=ue){for(this.start=de-ue,this.block=ne[re],de=0;de>8,Z=U&255;Z>0;)ue.unshift(Z),U=U>>8,Z=U&255,++ne;return J?ue.push(ne):ue.unshift(ne),this.update(ue),ue.length},k.prototype.encodeString=function(U){var J,Z=typeof U;if(Z!=="string"){if(Z==="object"){if(U===null)throw new Error(e);if(o&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!o||!ArrayBuffer.isView(U)))throw new Error(e)}else throw new Error(e);J=!0}var ne=0,ue=U.length;if(J)ne=ue;else for(var Y=0;Y=57344?ne+=3:(re=65536+((re&1023)<<10|U.charCodeAt(++Y)&1023),ne+=4)}return ne+=this.encode(ne*8),this.update(U),ne},k.prototype.bytepad=function(U,J){for(var Z=this.encode(J),ne=0;ne>2]|=this.padding[J&3],this.lastByteIndex===this.byteCount)for(U[0]=U[Z],J=1;J>4&15]+c[ie&15]+c[ie>>12&15]+c[ie>>8&15]+c[ie>>20&15]+c[ie>>16&15]+c[ie>>28&15]+c[ie>>24&15];Y%U===0&&(ee(J),ue=0)}return ne&&(ie=J[ue],re+=c[ie>>4&15]+c[ie&15],ne>1&&(re+=c[ie>>12&15]+c[ie>>8&15]),ne>2&&(re+=c[ie>>20&15]+c[ie>>16&15])),re},k.prototype.arrayBuffer=function(){this.finalize();var U=this.blockCount,J=this.s,Z=this.outputBlocks,ne=this.extraBytes,ue=0,Y=0,re=this.outputBits>>3,ie;ne?ie=new ArrayBuffer(Z+1<<2):ie=new ArrayBuffer(re);for(var ge=new Uint32Array(ie);Y>8&255,re[ie+2]=ge>>16&255,re[ie+3]=ge>>24&255;Y%U===0&&ee(J)}return ne&&(ie=Y<<2,ge=J[ue],re[ie]=ge&255,ne>1&&(re[ie+1]=ge>>8&255),ne>2&&(re[ie+2]=ge>>16&255)),re};function q(U,J,Z){k.call(this,U,J,Z)}q.prototype=new k,q.prototype.finalize=function(){return this.encode(this.outputBits,!0),k.prototype.finalize.call(this)};var ee=function(U){var J,Z,ne,ue,Y,re,ie,ge,de,Ae,Ge,Be,c0,Ye,He,_0,L0,Ze,I0,pe,he,Te,Ce,Se,Qe,u0,qe,v0,w0,Ve,be,ye,_e,ze,je,Ue,b0,h0,$e,M0,P0,t0,j0,z0,Ke,B0,G0,s0,X0,Y0,l0,K0,tt,p0,et,Et,$0,Tt,Pn,Ln,Fn,Nn,On;for(ne=0;ne<48;ne+=2)ue=U[0]^U[10]^U[20]^U[30]^U[40],Y=U[1]^U[11]^U[21]^U[31]^U[41],re=U[2]^U[12]^U[22]^U[32]^U[42],ie=U[3]^U[13]^U[23]^U[33]^U[43],ge=U[4]^U[14]^U[24]^U[34]^U[44],de=U[5]^U[15]^U[25]^U[35]^U[45],Ae=U[6]^U[16]^U[26]^U[36]^U[46],Ge=U[7]^U[17]^U[27]^U[37]^U[47],Be=U[8]^U[18]^U[28]^U[38]^U[48],c0=U[9]^U[19]^U[29]^U[39]^U[49],J=Be^(re<<1|ie>>>31),Z=c0^(ie<<1|re>>>31),U[0]^=J,U[1]^=Z,U[10]^=J,U[11]^=Z,U[20]^=J,U[21]^=Z,U[30]^=J,U[31]^=Z,U[40]^=J,U[41]^=Z,J=ue^(ge<<1|de>>>31),Z=Y^(de<<1|ge>>>31),U[2]^=J,U[3]^=Z,U[12]^=J,U[13]^=Z,U[22]^=J,U[23]^=Z,U[32]^=J,U[33]^=Z,U[42]^=J,U[43]^=Z,J=re^(Ae<<1|Ge>>>31),Z=ie^(Ge<<1|Ae>>>31),U[4]^=J,U[5]^=Z,U[14]^=J,U[15]^=Z,U[24]^=J,U[25]^=Z,U[34]^=J,U[35]^=Z,U[44]^=J,U[45]^=Z,J=ge^(Be<<1|c0>>>31),Z=de^(c0<<1|Be>>>31),U[6]^=J,U[7]^=Z,U[16]^=J,U[17]^=Z,U[26]^=J,U[27]^=Z,U[36]^=J,U[37]^=Z,U[46]^=J,U[47]^=Z,J=Ae^(ue<<1|Y>>>31),Z=Ge^(Y<<1|ue>>>31),U[8]^=J,U[9]^=Z,U[18]^=J,U[19]^=Z,U[28]^=J,U[29]^=Z,U[38]^=J,U[39]^=Z,U[48]^=J,U[49]^=Z,Ye=U[0],He=U[1],B0=U[11]<<4|U[10]>>>28,G0=U[10]<<4|U[11]>>>28,v0=U[20]<<3|U[21]>>>29,w0=U[21]<<3|U[20]>>>29,Ln=U[31]<<9|U[30]>>>23,Fn=U[30]<<9|U[31]>>>23,t0=U[40]<<18|U[41]>>>14,j0=U[41]<<18|U[40]>>>14,ze=U[2]<<1|U[3]>>>31,je=U[3]<<1|U[2]>>>31,_0=U[13]<<12|U[12]>>>20,L0=U[12]<<12|U[13]>>>20,s0=U[22]<<10|U[23]>>>22,X0=U[23]<<10|U[22]>>>22,Ve=U[33]<<13|U[32]>>>19,be=U[32]<<13|U[33]>>>19,Nn=U[42]<<2|U[43]>>>30,On=U[43]<<2|U[42]>>>30,p0=U[5]<<30|U[4]>>>2,et=U[4]<<30|U[5]>>>2,Ue=U[14]<<6|U[15]>>>26,b0=U[15]<<6|U[14]>>>26,Ze=U[25]<<11|U[24]>>>21,I0=U[24]<<11|U[25]>>>21,Y0=U[34]<<15|U[35]>>>17,l0=U[35]<<15|U[34]>>>17,ye=U[45]<<29|U[44]>>>3,_e=U[44]<<29|U[45]>>>3,Se=U[6]<<28|U[7]>>>4,Qe=U[7]<<28|U[6]>>>4,Et=U[17]<<23|U[16]>>>9,$0=U[16]<<23|U[17]>>>9,h0=U[26]<<25|U[27]>>>7,$e=U[27]<<25|U[26]>>>7,pe=U[36]<<21|U[37]>>>11,he=U[37]<<21|U[36]>>>11,K0=U[47]<<24|U[46]>>>8,tt=U[46]<<24|U[47]>>>8,z0=U[8]<<27|U[9]>>>5,Ke=U[9]<<27|U[8]>>>5,u0=U[18]<<20|U[19]>>>12,qe=U[19]<<20|U[18]>>>12,Tt=U[29]<<7|U[28]>>>25,Pn=U[28]<<7|U[29]>>>25,M0=U[38]<<8|U[39]>>>24,P0=U[39]<<8|U[38]>>>24,Te=U[48]<<14|U[49]>>>18,Ce=U[49]<<14|U[48]>>>18,U[0]=Ye^~_0&Ze,U[1]=He^~L0&I0,U[10]=Se^~u0&v0,U[11]=Qe^~qe&w0,U[20]=ze^~Ue&h0,U[21]=je^~b0&$e,U[30]=z0^~B0&s0,U[31]=Ke^~G0&X0,U[40]=p0^~Et&Tt,U[41]=et^~$0&Pn,U[2]=_0^~Ze&pe,U[3]=L0^~I0&he,U[12]=u0^~v0&Ve,U[13]=qe^~w0&be,U[22]=Ue^~h0&M0,U[23]=b0^~$e&P0,U[32]=B0^~s0&Y0,U[33]=G0^~X0&l0,U[42]=Et^~Tt&Ln,U[43]=$0^~Pn&Fn,U[4]=Ze^~pe&Te,U[5]=I0^~he&Ce,U[14]=v0^~Ve&ye,U[15]=w0^~be&_e,U[24]=h0^~M0&t0,U[25]=$e^~P0&j0,U[34]=s0^~Y0&K0,U[35]=X0^~l0&tt,U[44]=Tt^~Ln&Nn,U[45]=Pn^~Fn&On,U[6]=pe^~Te&Ye,U[7]=he^~Ce&He,U[16]=Ve^~ye&Se,U[17]=be^~_e&Qe,U[26]=M0^~t0&ze,U[27]=P0^~j0&je,U[36]=Y0^~K0&z0,U[37]=l0^~tt&Ke,U[46]=Ln^~Nn&p0,U[47]=Fn^~On&et,U[8]=Te^~Ye&_0,U[9]=Ce^~He&L0,U[18]=ye^~Se&u0,U[19]=_e^~Qe&qe,U[28]=t0^~ze&Ue,U[29]=j0^~je&b0,U[38]=K0^~z0&B0,U[39]=tt^~Ke&G0,U[48]=Nn^~p0&Et,U[49]=On^~et&$0,U[0]^=S[ne],U[1]^=S[ne+1]};if(s)t.exports=m;else for(P=0;PrQ[a])&&console.log.apply(console,n)}debug(...e){this._log(t.levels.DEBUG,e)}info(...e){this._log(t.levels.INFO,e)}warn(...e){this._log(t.levels.WARNING,e)}makeError(e,n,a){if(f10)return this.makeError("censored error",n,{});n||(n=t.errors.UNKNOWN_ERROR),a||(a={});let r=[];Object.keys(a).forEach(o=>{let c=a[o];try{if(c instanceof Uint8Array){let d="";for(let l=0;l>4],d+=o10[c[l]&15];r.push(o+"=Uint8Array(0x"+d+")")}else r.push(o+"="+JSON.stringify(c))}catch{r.push(o+"="+JSON.stringify(a[o].toString()))}}),r.push(`code=${n}`),r.push(`version=${this.version}`);let f=e,i="";switch(n){case Wl.NUMERIC_FAULT:{i="NUMERIC_FAULT";let o=e;switch(o){case"overflow":case"underflow":case"division-by-zero":i+="-"+o;break;case"negative-power":case"negative-width":i+="-unsupported";break;case"unbound-bitwise-result":i+="-unbound-result";break}break}case Wl.CALL_EXCEPTION:case Wl.INSUFFICIENT_FUNDS:case Wl.MISSING_NEW:case Wl.NONCE_EXPIRED:case Wl.REPLACEMENT_UNDERPRICED:case Wl.TRANSACTION_REPLACED:case Wl.UNPREDICTABLE_GAS_LIMIT:i=n;break}i&&(e+=" [ See: https://links.ethers.org/v5-errors-"+i+" ]"),r.length&&(e+=" ("+r.join(", ")+")");let s=new Error(e);return s.reason=f,s.code=n,Object.keys(a).forEach(function(o){s[o]=a[o]}),s}throwError(e,n,a){throw this.makeError(e,n,a)}throwArgumentError(e,n,a){return this.throwError(e,t.errors.INVALID_ARGUMENT,{argument:n,value:a})}assert(e,n,a,r){e||this.throwError(n,a,r)}assertArgument(e,n,a,r){e||this.throwArgumentError(n,a,r)}checkNormalize(e){s10&&this.throwError("platform missing String.prototype.normalize",t.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:s10})}checkSafeUint53(e,n){typeof e=="number"&&(n==null&&(n="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(n,t.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(n,t.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,n,a){a?a=": "+a:a="",en&&this.throwError("too many arguments"+a,t.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:n})}checkNew(e,n){(e===Object||e==null)&&this.throwError("missing new",t.errors.MISSING_NEW,{name:n.name})}checkAbstract(e,n){e===n?this.throwError("cannot instantiate abstract class "+JSON.stringify(n.name)+" directly; use a sub-class",t.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):(e===Object||e==null)&&this.throwError("missing new",t.errors.MISSING_NEW,{name:n.name})}static globalLogger(){return _le||(_le=new t(Rin)),_le}static setCensorship(e,n){if(!e&&n&&this.globalLogger().throwError("cannot permanently disable censorship",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),r10){if(!e)return;this.globalLogger().throwError("error censorship permanent",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}f10=!!e,r10=!!n}static setLogLevel(e){let n=rQ[e.toLowerCase()];if(n==null){t.globalLogger().warn("invalid log level - "+e);return}i10=n}static from(e){return new t(e)}};yf.errors=Wl,yf.levels=Ule;Bin="bytes/5.7.0",wi=new yf(Bin);Ale="0123456789abcdef";V10={exports:{}},Nin={},Oin=Object.freeze({__proto__:null,default:Nin}),Uin=kin(Oin);(function(t){(function(e,n){function a(w,m){if(!w)throw new Error(m||"Assertion failed")}function r(w,m){w.super_=m;var A=function(){};A.prototype=m.prototype,w.prototype=new A,w.prototype.constructor=w}function f(w,m,A){if(f.isBN(w))return w;this.negative=0,this.words=null,this.length=0,this.red=null,w!==null&&((m==="le"||m==="be")&&(A=m,m=10),this._init(w||0,m||10,A||"be"))}typeof e=="object"?e.exports=f:n.BN=f,f.BN=f,f.wordSize=26;var i;try{typeof window<"u"&&typeof window.Buffer<"u"?i=window.Buffer:i=Uin.Buffer}catch{}f.isBN=function(w){return w instanceof f?!0:w!==null&&typeof w=="object"&&w.constructor.wordSize===f.wordSize&&Array.isArray(w.words)},f.max=function(w,m){return w.cmp(m)>0?w:m},f.min=function(w,m){return w.cmp(m)<0?w:m},f.prototype._init=function(w,m,A){if(typeof w=="number")return this._initNumber(w,m,A);if(typeof w=="object")return this._initArray(w,m,A);m==="hex"&&(m=16),a(m===(m|0)&&m>=2&&m<=36),w=w.toString().replace(/\s+/g,"");var P=0;w[0]==="-"&&(P++,this.negative=1),P=0;P-=3)x=w[P]|w[P-1]<<8|w[P-2]<<16,this.words[L]|=x<>>26-g&67108863,g+=24,g>=26&&(g-=26,L++);else if(A==="le")for(P=0,L=0;P>>26-g&67108863,g+=24,g>=26&&(g-=26,L++);return this._strip()};function s(w,m){var A=w.charCodeAt(m);if(A>=48&&A<=57)return A-48;if(A>=65&&A<=70)return A-55;if(A>=97&&A<=102)return A-87;a(!1,"Invalid character in "+w)}function o(w,m,A){var P=s(w,A);return A-1>=m&&(P|=s(w,A-1)<<4),P}f.prototype._parseHex=function(w,m,A){this.length=Math.ceil((w.length-m)/6),this.words=new Array(this.length);for(var P=0;P=m;P-=2)g=o(w,m,P)<=18?(L-=18,x+=1,this.words[x]|=g>>>26):L+=8;else{var B=w.length-m;for(P=B%2===0?m+1:m;P=18?(L-=18,x+=1,this.words[x]|=g>>>26):L+=8}this._strip()};function c(w,m,A,P){for(var L=0,x=0,g=Math.min(w.length,A),B=m;B=49?x=M-49+10:M>=17?x=M-17+10:x=M,a(M>=0&&x1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},f.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{f.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch{f.prototype.inspect=l}else f.prototype.inspect=l;function l(){return(this.red?""}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],y=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];f.prototype.toString=function(w,m){w=w||10,m=m|0||1;var A;if(w===16||w==="hex"){A="";for(var P=0,L=0,x=0;x>>24-P&16777215,P+=2,P>=26&&(P-=26,x--),L!==0||x!==this.length-1?A=h[6-B.length]+B+A:A=B+A}for(L!==0&&(A=L.toString(16)+A);A.length%m!==0;)A="0"+A;return this.negative!==0&&(A="-"+A),A}if(w===(w|0)&&w>=2&&w<=36){var M=y[w],k=v[w];A="";var q=this.clone();for(q.negative=0;!q.isZero();){var ee=q.modrn(k).toString(w);q=q.idivn(k),q.isZero()?A=ee+A:A=h[M-ee.length]+ee+A}for(this.isZero()&&(A="0"+A);A.length%m!==0;)A="0"+A;return this.negative!==0&&(A="-"+A),A}a(!1,"Base should be between 2 and 36")},f.prototype.toNumber=function(){var w=this.words[0];return this.length===2?w+=this.words[1]*67108864:this.length===3&&this.words[2]===1?w+=4503599627370496+this.words[1]*67108864:this.length>2&&a(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-w:w},f.prototype.toJSON=function(){return this.toString(16,2)},i&&(f.prototype.toBuffer=function(w,m){return this.toArrayLike(i,w,m)}),f.prototype.toArray=function(w,m){return this.toArrayLike(Array,w,m)};var S=function(w,m){return w.allocUnsafe?w.allocUnsafe(m):new w(m)};f.prototype.toArrayLike=function(w,m,A){this._strip();var P=this.byteLength(),L=A||Math.max(1,P);a(P<=L,"byte array longer than desired length"),a(L>0,"Requested array length <= 0");var x=S(w,L),g=m==="le"?"LE":"BE";return this["_toArrayLike"+g](x,P),x},f.prototype._toArrayLikeLE=function(w,m){for(var A=0,P=0,L=0,x=0;L>8&255),A>16&255),x===6?(A>24&255),P=0,x=0):(P=g>>>24,x+=2)}if(A=0&&(w[A--]=g>>8&255),A>=0&&(w[A--]=g>>16&255),x===6?(A>=0&&(w[A--]=g>>24&255),P=0,x=0):(P=g>>>24,x+=2)}if(A>=0)for(w[A--]=P;A>=0;)w[A--]=0},Math.clz32?f.prototype._countBits=function(w){return 32-Math.clz32(w)}:f.prototype._countBits=function(w){var m=w,A=0;return m>=4096&&(A+=13,m>>>=13),m>=64&&(A+=7,m>>>=7),m>=8&&(A+=4,m>>>=4),m>=2&&(A+=2,m>>>=2),A+m},f.prototype._zeroBits=function(w){if(w===0)return 26;var m=w,A=0;return m&8191||(A+=13,m>>>=13),m&127||(A+=7,m>>>=7),m&15||(A+=4,m>>>=4),m&3||(A+=2,m>>>=2),m&1||A++,A},f.prototype.bitLength=function(){var w=this.words[this.length-1],m=this._countBits(w);return(this.length-1)*26+m};function O(w){for(var m=new Array(w.bitLength()),A=0;A>>L&1}return m}f.prototype.zeroBits=function(){if(this.isZero())return 0;for(var w=0,m=0;mw.length?this.clone().ior(w):w.clone().ior(this)},f.prototype.uor=function(w){return this.length>w.length?this.clone().iuor(w):w.clone().iuor(this)},f.prototype.iuand=function(w){var m;this.length>w.length?m=w:m=this;for(var A=0;Aw.length?this.clone().iand(w):w.clone().iand(this)},f.prototype.uand=function(w){return this.length>w.length?this.clone().iuand(w):w.clone().iuand(this)},f.prototype.iuxor=function(w){var m,A;this.length>w.length?(m=this,A=w):(m=w,A=this);for(var P=0;Pw.length?this.clone().ixor(w):w.clone().ixor(this)},f.prototype.uxor=function(w){return this.length>w.length?this.clone().iuxor(w):w.clone().iuxor(this)},f.prototype.inotn=function(w){a(typeof w=="number"&&w>=0);var m=Math.ceil(w/26)|0,A=w%26;this._expand(m),A>0&&m--;for(var P=0;P0&&(this.words[P]=~this.words[P]&67108863>>26-A),this._strip()},f.prototype.notn=function(w){return this.clone().inotn(w)},f.prototype.setn=function(w,m){a(typeof w=="number"&&w>=0);var A=w/26|0,P=w%26;return this._expand(A+1),m?this.words[A]=this.words[A]|1<w.length?(A=this,P=w):(A=w,P=this);for(var L=0,x=0;x>>26;for(;L!==0&&x>>26;if(this.length=A.length,L!==0)this.words[this.length]=L,this.length++;else if(A!==this)for(;xw.length?this.clone().iadd(w):w.clone().iadd(this)},f.prototype.isub=function(w){if(w.negative!==0){w.negative=0;var m=this.iadd(w);return w.negative=1,m._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(w),this.negative=1,this._normSign();var A=this.cmp(w);if(A===0)return this.negative=0,this.length=1,this.words[0]=0,this;var P,L;A>0?(P=this,L=w):(P=w,L=this);for(var x=0,g=0;g>26,this.words[g]=m&67108863;for(;x!==0&&g>26,this.words[g]=m&67108863;if(x===0&&g>>26,ee=M&67108863,U=Math.min(k,m.length-1),J=Math.max(0,k-w.length+1);J<=U;J++){var Z=k-J|0;L=w.words[Z]|0,x=m.words[J]|0,g=L*x+ee,q+=g/67108864|0,ee=g&67108863}A.words[k]=ee|0,M=q|0}return M!==0?A.words[k]=M|0:A.length--,A._strip()}var z=function(w,m,A){var P=w.words,L=m.words,x=A.words,g=0,B,M,k,q=P[0]|0,ee=q&8191,U=q>>>13,J=P[1]|0,Z=J&8191,ne=J>>>13,ue=P[2]|0,Y=ue&8191,re=ue>>>13,ie=P[3]|0,ge=ie&8191,de=ie>>>13,Ae=P[4]|0,Ge=Ae&8191,Be=Ae>>>13,c0=P[5]|0,Ye=c0&8191,He=c0>>>13,_0=P[6]|0,L0=_0&8191,Ze=_0>>>13,I0=P[7]|0,pe=I0&8191,he=I0>>>13,Te=P[8]|0,Ce=Te&8191,Se=Te>>>13,Qe=P[9]|0,u0=Qe&8191,qe=Qe>>>13,v0=L[0]|0,w0=v0&8191,Ve=v0>>>13,be=L[1]|0,ye=be&8191,_e=be>>>13,ze=L[2]|0,je=ze&8191,Ue=ze>>>13,b0=L[3]|0,h0=b0&8191,$e=b0>>>13,M0=L[4]|0,P0=M0&8191,t0=M0>>>13,j0=L[5]|0,z0=j0&8191,Ke=j0>>>13,B0=L[6]|0,G0=B0&8191,s0=B0>>>13,X0=L[7]|0,Y0=X0&8191,l0=X0>>>13,K0=L[8]|0,tt=K0&8191,p0=K0>>>13,et=L[9]|0,Et=et&8191,$0=et>>>13;A.negative=w.negative^m.negative,A.length=19,B=Math.imul(ee,w0),M=Math.imul(ee,Ve),M=M+Math.imul(U,w0)|0,k=Math.imul(U,Ve);var Tt=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,B=Math.imul(Z,w0),M=Math.imul(Z,Ve),M=M+Math.imul(ne,w0)|0,k=Math.imul(ne,Ve),B=B+Math.imul(ee,ye)|0,M=M+Math.imul(ee,_e)|0,M=M+Math.imul(U,ye)|0,k=k+Math.imul(U,_e)|0;var Pn=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,B=Math.imul(Y,w0),M=Math.imul(Y,Ve),M=M+Math.imul(re,w0)|0,k=Math.imul(re,Ve),B=B+Math.imul(Z,ye)|0,M=M+Math.imul(Z,_e)|0,M=M+Math.imul(ne,ye)|0,k=k+Math.imul(ne,_e)|0,B=B+Math.imul(ee,je)|0,M=M+Math.imul(ee,Ue)|0,M=M+Math.imul(U,je)|0,k=k+Math.imul(U,Ue)|0;var Ln=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,B=Math.imul(ge,w0),M=Math.imul(ge,Ve),M=M+Math.imul(de,w0)|0,k=Math.imul(de,Ve),B=B+Math.imul(Y,ye)|0,M=M+Math.imul(Y,_e)|0,M=M+Math.imul(re,ye)|0,k=k+Math.imul(re,_e)|0,B=B+Math.imul(Z,je)|0,M=M+Math.imul(Z,Ue)|0,M=M+Math.imul(ne,je)|0,k=k+Math.imul(ne,Ue)|0,B=B+Math.imul(ee,h0)|0,M=M+Math.imul(ee,$e)|0,M=M+Math.imul(U,h0)|0,k=k+Math.imul(U,$e)|0;var Fn=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,B=Math.imul(Ge,w0),M=Math.imul(Ge,Ve),M=M+Math.imul(Be,w0)|0,k=Math.imul(Be,Ve),B=B+Math.imul(ge,ye)|0,M=M+Math.imul(ge,_e)|0,M=M+Math.imul(de,ye)|0,k=k+Math.imul(de,_e)|0,B=B+Math.imul(Y,je)|0,M=M+Math.imul(Y,Ue)|0,M=M+Math.imul(re,je)|0,k=k+Math.imul(re,Ue)|0,B=B+Math.imul(Z,h0)|0,M=M+Math.imul(Z,$e)|0,M=M+Math.imul(ne,h0)|0,k=k+Math.imul(ne,$e)|0,B=B+Math.imul(ee,P0)|0,M=M+Math.imul(ee,t0)|0,M=M+Math.imul(U,P0)|0,k=k+Math.imul(U,t0)|0;var Nn=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(Nn>>>26)|0,Nn&=67108863,B=Math.imul(Ye,w0),M=Math.imul(Ye,Ve),M=M+Math.imul(He,w0)|0,k=Math.imul(He,Ve),B=B+Math.imul(Ge,ye)|0,M=M+Math.imul(Ge,_e)|0,M=M+Math.imul(Be,ye)|0,k=k+Math.imul(Be,_e)|0,B=B+Math.imul(ge,je)|0,M=M+Math.imul(ge,Ue)|0,M=M+Math.imul(de,je)|0,k=k+Math.imul(de,Ue)|0,B=B+Math.imul(Y,h0)|0,M=M+Math.imul(Y,$e)|0,M=M+Math.imul(re,h0)|0,k=k+Math.imul(re,$e)|0,B=B+Math.imul(Z,P0)|0,M=M+Math.imul(Z,t0)|0,M=M+Math.imul(ne,P0)|0,k=k+Math.imul(ne,t0)|0,B=B+Math.imul(ee,z0)|0,M=M+Math.imul(ee,Ke)|0,M=M+Math.imul(U,z0)|0,k=k+Math.imul(U,Ke)|0;var On=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(On>>>26)|0,On&=67108863,B=Math.imul(L0,w0),M=Math.imul(L0,Ve),M=M+Math.imul(Ze,w0)|0,k=Math.imul(Ze,Ve),B=B+Math.imul(Ye,ye)|0,M=M+Math.imul(Ye,_e)|0,M=M+Math.imul(He,ye)|0,k=k+Math.imul(He,_e)|0,B=B+Math.imul(Ge,je)|0,M=M+Math.imul(Ge,Ue)|0,M=M+Math.imul(Be,je)|0,k=k+Math.imul(Be,Ue)|0,B=B+Math.imul(ge,h0)|0,M=M+Math.imul(ge,$e)|0,M=M+Math.imul(de,h0)|0,k=k+Math.imul(de,$e)|0,B=B+Math.imul(Y,P0)|0,M=M+Math.imul(Y,t0)|0,M=M+Math.imul(re,P0)|0,k=k+Math.imul(re,t0)|0,B=B+Math.imul(Z,z0)|0,M=M+Math.imul(Z,Ke)|0,M=M+Math.imul(ne,z0)|0,k=k+Math.imul(ne,Ke)|0,B=B+Math.imul(ee,G0)|0,M=M+Math.imul(ee,s0)|0,M=M+Math.imul(U,G0)|0,k=k+Math.imul(U,s0)|0;var Ha=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(Ha>>>26)|0,Ha&=67108863,B=Math.imul(pe,w0),M=Math.imul(pe,Ve),M=M+Math.imul(he,w0)|0,k=Math.imul(he,Ve),B=B+Math.imul(L0,ye)|0,M=M+Math.imul(L0,_e)|0,M=M+Math.imul(Ze,ye)|0,k=k+Math.imul(Ze,_e)|0,B=B+Math.imul(Ye,je)|0,M=M+Math.imul(Ye,Ue)|0,M=M+Math.imul(He,je)|0,k=k+Math.imul(He,Ue)|0,B=B+Math.imul(Ge,h0)|0,M=M+Math.imul(Ge,$e)|0,M=M+Math.imul(Be,h0)|0,k=k+Math.imul(Be,$e)|0,B=B+Math.imul(ge,P0)|0,M=M+Math.imul(ge,t0)|0,M=M+Math.imul(de,P0)|0,k=k+Math.imul(de,t0)|0,B=B+Math.imul(Y,z0)|0,M=M+Math.imul(Y,Ke)|0,M=M+Math.imul(re,z0)|0,k=k+Math.imul(re,Ke)|0,B=B+Math.imul(Z,G0)|0,M=M+Math.imul(Z,s0)|0,M=M+Math.imul(ne,G0)|0,k=k+Math.imul(ne,s0)|0,B=B+Math.imul(ee,Y0)|0,M=M+Math.imul(ee,l0)|0,M=M+Math.imul(U,Y0)|0,k=k+Math.imul(U,l0)|0;var pr=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(pr>>>26)|0,pr&=67108863,B=Math.imul(Ce,w0),M=Math.imul(Ce,Ve),M=M+Math.imul(Se,w0)|0,k=Math.imul(Se,Ve),B=B+Math.imul(pe,ye)|0,M=M+Math.imul(pe,_e)|0,M=M+Math.imul(he,ye)|0,k=k+Math.imul(he,_e)|0,B=B+Math.imul(L0,je)|0,M=M+Math.imul(L0,Ue)|0,M=M+Math.imul(Ze,je)|0,k=k+Math.imul(Ze,Ue)|0,B=B+Math.imul(Ye,h0)|0,M=M+Math.imul(Ye,$e)|0,M=M+Math.imul(He,h0)|0,k=k+Math.imul(He,$e)|0,B=B+Math.imul(Ge,P0)|0,M=M+Math.imul(Ge,t0)|0,M=M+Math.imul(Be,P0)|0,k=k+Math.imul(Be,t0)|0,B=B+Math.imul(ge,z0)|0,M=M+Math.imul(ge,Ke)|0,M=M+Math.imul(de,z0)|0,k=k+Math.imul(de,Ke)|0,B=B+Math.imul(Y,G0)|0,M=M+Math.imul(Y,s0)|0,M=M+Math.imul(re,G0)|0,k=k+Math.imul(re,s0)|0,B=B+Math.imul(Z,Y0)|0,M=M+Math.imul(Z,l0)|0,M=M+Math.imul(ne,Y0)|0,k=k+Math.imul(ne,l0)|0,B=B+Math.imul(ee,tt)|0,M=M+Math.imul(ee,p0)|0,M=M+Math.imul(U,tt)|0,k=k+Math.imul(U,p0)|0;var za=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(za>>>26)|0,za&=67108863,B=Math.imul(u0,w0),M=Math.imul(u0,Ve),M=M+Math.imul(qe,w0)|0,k=Math.imul(qe,Ve),B=B+Math.imul(Ce,ye)|0,M=M+Math.imul(Ce,_e)|0,M=M+Math.imul(Se,ye)|0,k=k+Math.imul(Se,_e)|0,B=B+Math.imul(pe,je)|0,M=M+Math.imul(pe,Ue)|0,M=M+Math.imul(he,je)|0,k=k+Math.imul(he,Ue)|0,B=B+Math.imul(L0,h0)|0,M=M+Math.imul(L0,$e)|0,M=M+Math.imul(Ze,h0)|0,k=k+Math.imul(Ze,$e)|0,B=B+Math.imul(Ye,P0)|0,M=M+Math.imul(Ye,t0)|0,M=M+Math.imul(He,P0)|0,k=k+Math.imul(He,t0)|0,B=B+Math.imul(Ge,z0)|0,M=M+Math.imul(Ge,Ke)|0,M=M+Math.imul(Be,z0)|0,k=k+Math.imul(Be,Ke)|0,B=B+Math.imul(ge,G0)|0,M=M+Math.imul(ge,s0)|0,M=M+Math.imul(de,G0)|0,k=k+Math.imul(de,s0)|0,B=B+Math.imul(Y,Y0)|0,M=M+Math.imul(Y,l0)|0,M=M+Math.imul(re,Y0)|0,k=k+Math.imul(re,l0)|0,B=B+Math.imul(Z,tt)|0,M=M+Math.imul(Z,p0)|0,M=M+Math.imul(ne,tt)|0,k=k+Math.imul(ne,p0)|0,B=B+Math.imul(ee,Et)|0,M=M+Math.imul(ee,$0)|0,M=M+Math.imul(U,Et)|0,k=k+Math.imul(U,$0)|0;var hr=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(hr>>>26)|0,hr&=67108863,B=Math.imul(u0,ye),M=Math.imul(u0,_e),M=M+Math.imul(qe,ye)|0,k=Math.imul(qe,_e),B=B+Math.imul(Ce,je)|0,M=M+Math.imul(Ce,Ue)|0,M=M+Math.imul(Se,je)|0,k=k+Math.imul(Se,Ue)|0,B=B+Math.imul(pe,h0)|0,M=M+Math.imul(pe,$e)|0,M=M+Math.imul(he,h0)|0,k=k+Math.imul(he,$e)|0,B=B+Math.imul(L0,P0)|0,M=M+Math.imul(L0,t0)|0,M=M+Math.imul(Ze,P0)|0,k=k+Math.imul(Ze,t0)|0,B=B+Math.imul(Ye,z0)|0,M=M+Math.imul(Ye,Ke)|0,M=M+Math.imul(He,z0)|0,k=k+Math.imul(He,Ke)|0,B=B+Math.imul(Ge,G0)|0,M=M+Math.imul(Ge,s0)|0,M=M+Math.imul(Be,G0)|0,k=k+Math.imul(Be,s0)|0,B=B+Math.imul(ge,Y0)|0,M=M+Math.imul(ge,l0)|0,M=M+Math.imul(de,Y0)|0,k=k+Math.imul(de,l0)|0,B=B+Math.imul(Y,tt)|0,M=M+Math.imul(Y,p0)|0,M=M+Math.imul(re,tt)|0,k=k+Math.imul(re,p0)|0,B=B+Math.imul(Z,Et)|0,M=M+Math.imul(Z,$0)|0,M=M+Math.imul(ne,Et)|0,k=k+Math.imul(ne,$0)|0;var ar=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(ar>>>26)|0,ar&=67108863,B=Math.imul(u0,je),M=Math.imul(u0,Ue),M=M+Math.imul(qe,je)|0,k=Math.imul(qe,Ue),B=B+Math.imul(Ce,h0)|0,M=M+Math.imul(Ce,$e)|0,M=M+Math.imul(Se,h0)|0,k=k+Math.imul(Se,$e)|0,B=B+Math.imul(pe,P0)|0,M=M+Math.imul(pe,t0)|0,M=M+Math.imul(he,P0)|0,k=k+Math.imul(he,t0)|0,B=B+Math.imul(L0,z0)|0,M=M+Math.imul(L0,Ke)|0,M=M+Math.imul(Ze,z0)|0,k=k+Math.imul(Ze,Ke)|0,B=B+Math.imul(Ye,G0)|0,M=M+Math.imul(Ye,s0)|0,M=M+Math.imul(He,G0)|0,k=k+Math.imul(He,s0)|0,B=B+Math.imul(Ge,Y0)|0,M=M+Math.imul(Ge,l0)|0,M=M+Math.imul(Be,Y0)|0,k=k+Math.imul(Be,l0)|0,B=B+Math.imul(ge,tt)|0,M=M+Math.imul(ge,p0)|0,M=M+Math.imul(de,tt)|0,k=k+Math.imul(de,p0)|0,B=B+Math.imul(Y,Et)|0,M=M+Math.imul(Y,$0)|0,M=M+Math.imul(re,Et)|0,k=k+Math.imul(re,$0)|0;var Cr=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,B=Math.imul(u0,h0),M=Math.imul(u0,$e),M=M+Math.imul(qe,h0)|0,k=Math.imul(qe,$e),B=B+Math.imul(Ce,P0)|0,M=M+Math.imul(Ce,t0)|0,M=M+Math.imul(Se,P0)|0,k=k+Math.imul(Se,t0)|0,B=B+Math.imul(pe,z0)|0,M=M+Math.imul(pe,Ke)|0,M=M+Math.imul(he,z0)|0,k=k+Math.imul(he,Ke)|0,B=B+Math.imul(L0,G0)|0,M=M+Math.imul(L0,s0)|0,M=M+Math.imul(Ze,G0)|0,k=k+Math.imul(Ze,s0)|0,B=B+Math.imul(Ye,Y0)|0,M=M+Math.imul(Ye,l0)|0,M=M+Math.imul(He,Y0)|0,k=k+Math.imul(He,l0)|0,B=B+Math.imul(Ge,tt)|0,M=M+Math.imul(Ge,p0)|0,M=M+Math.imul(Be,tt)|0,k=k+Math.imul(Be,p0)|0,B=B+Math.imul(ge,Et)|0,M=M+Math.imul(ge,$0)|0,M=M+Math.imul(de,Et)|0,k=k+Math.imul(de,$0)|0;var Jr=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(Jr>>>26)|0,Jr&=67108863,B=Math.imul(u0,P0),M=Math.imul(u0,t0),M=M+Math.imul(qe,P0)|0,k=Math.imul(qe,t0),B=B+Math.imul(Ce,z0)|0,M=M+Math.imul(Ce,Ke)|0,M=M+Math.imul(Se,z0)|0,k=k+Math.imul(Se,Ke)|0,B=B+Math.imul(pe,G0)|0,M=M+Math.imul(pe,s0)|0,M=M+Math.imul(he,G0)|0,k=k+Math.imul(he,s0)|0,B=B+Math.imul(L0,Y0)|0,M=M+Math.imul(L0,l0)|0,M=M+Math.imul(Ze,Y0)|0,k=k+Math.imul(Ze,l0)|0,B=B+Math.imul(Ye,tt)|0,M=M+Math.imul(Ye,p0)|0,M=M+Math.imul(He,tt)|0,k=k+Math.imul(He,p0)|0,B=B+Math.imul(Ge,Et)|0,M=M+Math.imul(Ge,$0)|0,M=M+Math.imul(Be,Et)|0,k=k+Math.imul(Be,$0)|0;var rr=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(rr>>>26)|0,rr&=67108863,B=Math.imul(u0,z0),M=Math.imul(u0,Ke),M=M+Math.imul(qe,z0)|0,k=Math.imul(qe,Ke),B=B+Math.imul(Ce,G0)|0,M=M+Math.imul(Ce,s0)|0,M=M+Math.imul(Se,G0)|0,k=k+Math.imul(Se,s0)|0,B=B+Math.imul(pe,Y0)|0,M=M+Math.imul(pe,l0)|0,M=M+Math.imul(he,Y0)|0,k=k+Math.imul(he,l0)|0,B=B+Math.imul(L0,tt)|0,M=M+Math.imul(L0,p0)|0,M=M+Math.imul(Ze,tt)|0,k=k+Math.imul(Ze,p0)|0,B=B+Math.imul(Ye,Et)|0,M=M+Math.imul(Ye,$0)|0,M=M+Math.imul(He,Et)|0,k=k+Math.imul(He,$0)|0;var of=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(of>>>26)|0,of&=67108863,B=Math.imul(u0,G0),M=Math.imul(u0,s0),M=M+Math.imul(qe,G0)|0,k=Math.imul(qe,s0),B=B+Math.imul(Ce,Y0)|0,M=M+Math.imul(Ce,l0)|0,M=M+Math.imul(Se,Y0)|0,k=k+Math.imul(Se,l0)|0,B=B+Math.imul(pe,tt)|0,M=M+Math.imul(pe,p0)|0,M=M+Math.imul(he,tt)|0,k=k+Math.imul(he,p0)|0,B=B+Math.imul(L0,Et)|0,M=M+Math.imul(L0,$0)|0,M=M+Math.imul(Ze,Et)|0,k=k+Math.imul(Ze,$0)|0;var jf=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(jf>>>26)|0,jf&=67108863,B=Math.imul(u0,Y0),M=Math.imul(u0,l0),M=M+Math.imul(qe,Y0)|0,k=Math.imul(qe,l0),B=B+Math.imul(Ce,tt)|0,M=M+Math.imul(Ce,p0)|0,M=M+Math.imul(Se,tt)|0,k=k+Math.imul(Se,p0)|0,B=B+Math.imul(pe,Et)|0,M=M+Math.imul(pe,$0)|0,M=M+Math.imul(he,Et)|0,k=k+Math.imul(he,$0)|0;var Gs=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(Gs>>>26)|0,Gs&=67108863,B=Math.imul(u0,tt),M=Math.imul(u0,p0),M=M+Math.imul(qe,tt)|0,k=Math.imul(qe,p0),B=B+Math.imul(Ce,Et)|0,M=M+Math.imul(Ce,$0)|0,M=M+Math.imul(Se,Et)|0,k=k+Math.imul(Se,$0)|0;var Hd=(g+B|0)+((M&8191)<<13)|0;g=(k+(M>>>13)|0)+(Hd>>>26)|0,Hd&=67108863,B=Math.imul(u0,Et),M=Math.imul(u0,$0),M=M+Math.imul(qe,Et)|0,k=Math.imul(qe,$0);var zd=(g+B|0)+((M&8191)<<13)|0;return g=(k+(M>>>13)|0)+(zd>>>26)|0,zd&=67108863,x[0]=Tt,x[1]=Pn,x[2]=Ln,x[3]=Fn,x[4]=Nn,x[5]=On,x[6]=Ha,x[7]=pr,x[8]=za,x[9]=hr,x[10]=ar,x[11]=Cr,x[12]=Jr,x[13]=rr,x[14]=of,x[15]=jf,x[16]=Gs,x[17]=Hd,x[18]=zd,g!==0&&(x[19]=g,A.length++),A};Math.imul||(z=F);function W(w,m,A){A.negative=m.negative^w.negative,A.length=w.length+m.length;for(var P=0,L=0,x=0;x>>26)|0,L+=g>>>26,g&=67108863}A.words[x]=B,P=g,g=L}return P!==0?A.words[x]=P:A.length--,A._strip()}function j(w,m,A){return W(w,m,A)}f.prototype.mulTo=function(w,m){var A,P=this.length+w.length;return this.length===10&&w.length===10?A=z(this,w,m):P<63?A=F(this,w,m):P<1024?A=W(this,w,m):A=j(this,w,m),A},f.prototype.mul=function(w){var m=new f(null);return m.words=new Array(this.length+w.length),this.mulTo(w,m)},f.prototype.mulf=function(w){var m=new f(null);return m.words=new Array(this.length+w.length),j(this,w,m)},f.prototype.imul=function(w){return this.clone().mulTo(w,this)},f.prototype.imuln=function(w){var m=w<0;m&&(w=-w),a(typeof w=="number"),a(w<67108864);for(var A=0,P=0;P>=26,A+=L/67108864|0,A+=x>>>26,this.words[P]=x&67108863}return A!==0&&(this.words[P]=A,this.length++),m?this.ineg():this},f.prototype.muln=function(w){return this.clone().imuln(w)},f.prototype.sqr=function(){return this.mul(this)},f.prototype.isqr=function(){return this.imul(this.clone())},f.prototype.pow=function(w){var m=O(w);if(m.length===0)return new f(1);for(var A=this,P=0;P=0);var m=w%26,A=(w-m)/26,P=67108863>>>26-m<<26-m,L;if(m!==0){var x=0;for(L=0;L>>26-m}x&&(this.words[L]=x,this.length++)}if(A!==0){for(L=this.length-1;L>=0;L--)this.words[L+A]=this.words[L];for(L=0;L=0);var P;m?P=(m-m%26)/26:P=0;var L=w%26,x=Math.min((w-L)/26,this.length),g=67108863^67108863>>>L<x)for(this.length-=x,M=0;M=0&&(k!==0||M>=P);M--){var q=this.words[M]|0;this.words[M]=k<<26-L|q>>>L,k=q&g}return B&&k!==0&&(B.words[B.length++]=k),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},f.prototype.ishrn=function(w,m,A){return a(this.negative===0),this.iushrn(w,m,A)},f.prototype.shln=function(w){return this.clone().ishln(w)},f.prototype.ushln=function(w){return this.clone().iushln(w)},f.prototype.shrn=function(w){return this.clone().ishrn(w)},f.prototype.ushrn=function(w){return this.clone().iushrn(w)},f.prototype.testn=function(w){a(typeof w=="number"&&w>=0);var m=w%26,A=(w-m)/26,P=1<=0);var m=w%26,A=(w-m)/26;if(a(this.negative===0,"imaskn works only with positive numbers"),this.length<=A)return this;if(m!==0&&A++,this.length=Math.min(A,this.length),m!==0){var P=67108863^67108863>>>m<=67108864;m++)this.words[m]-=67108864,m===this.length-1?this.words[m+1]=1:this.words[m+1]++;return this.length=Math.max(this.length,m+1),this},f.prototype.isubn=function(w){if(a(typeof w=="number"),a(w<67108864),w<0)return this.iaddn(-w);if(this.negative!==0)return this.negative=0,this.iaddn(w),this.negative=1,this;if(this.words[0]-=w,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var m=0;m>26)-(B/67108864|0),this.words[L+A]=x&67108863}for(;L>26,this.words[L+A]=x&67108863;if(g===0)return this._strip();for(a(g===-1),g=0,L=0;L>26,this.words[L]=x&67108863;return this.negative=1,this._strip()},f.prototype._wordDiv=function(w,m){var A=this.length-w.length,P=this.clone(),L=w,x=L.words[L.length-1]|0,g=this._countBits(x);A=26-g,A!==0&&(L=L.ushln(A),P.iushln(A),x=L.words[L.length-1]|0);var B=P.length-L.length,M;if(m!=="mod"){M=new f(null),M.length=B+1,M.words=new Array(M.length);for(var k=0;k=0;ee--){var U=(P.words[L.length+ee]|0)*67108864+(P.words[L.length+ee-1]|0);for(U=Math.min(U/x|0,67108863),P._ishlnsubmul(L,U,ee);P.negative!==0;)U--,P.negative=0,P._ishlnsubmul(L,1,ee),P.isZero()||(P.negative^=1);M&&(M.words[ee]=U)}return M&&M._strip(),P._strip(),m!=="div"&&A!==0&&P.iushrn(A),{div:M||null,mod:P}},f.prototype.divmod=function(w,m,A){if(a(!w.isZero()),this.isZero())return{div:new f(0),mod:new f(0)};var P,L,x;return this.negative!==0&&w.negative===0?(x=this.neg().divmod(w,m),m!=="mod"&&(P=x.div.neg()),m!=="div"&&(L=x.mod.neg(),A&&L.negative!==0&&L.iadd(w)),{div:P,mod:L}):this.negative===0&&w.negative!==0?(x=this.divmod(w.neg(),m),m!=="mod"&&(P=x.div.neg()),{div:P,mod:x.mod}):this.negative&w.negative?(x=this.neg().divmod(w.neg(),m),m!=="div"&&(L=x.mod.neg(),A&&L.negative!==0&&L.isub(w)),{div:x.div,mod:L}):w.length>this.length||this.cmp(w)<0?{div:new f(0),mod:this}:w.length===1?m==="div"?{div:this.divn(w.words[0]),mod:null}:m==="mod"?{div:null,mod:new f(this.modrn(w.words[0]))}:{div:this.divn(w.words[0]),mod:new f(this.modrn(w.words[0]))}:this._wordDiv(w,m)},f.prototype.div=function(w){return this.divmod(w,"div",!1).div},f.prototype.mod=function(w){return this.divmod(w,"mod",!1).mod},f.prototype.umod=function(w){return this.divmod(w,"mod",!0).mod},f.prototype.divRound=function(w){var m=this.divmod(w);if(m.mod.isZero())return m.div;var A=m.div.negative!==0?m.mod.isub(w):m.mod,P=w.ushrn(1),L=w.andln(1),x=A.cmp(P);return x<0||L===1&&x===0?m.div:m.div.negative!==0?m.div.isubn(1):m.div.iaddn(1)},f.prototype.modrn=function(w){var m=w<0;m&&(w=-w),a(w<=67108863);for(var A=(1<<26)%w,P=0,L=this.length-1;L>=0;L--)P=(A*P+(this.words[L]|0))%w;return m?-P:P},f.prototype.modn=function(w){return this.modrn(w)},f.prototype.idivn=function(w){var m=w<0;m&&(w=-w),a(w<=67108863);for(var A=0,P=this.length-1;P>=0;P--){var L=(this.words[P]|0)+A*67108864;this.words[P]=L/w|0,A=L%w}return this._strip(),m?this.ineg():this},f.prototype.divn=function(w){return this.clone().idivn(w)},f.prototype.egcd=function(w){a(w.negative===0),a(!w.isZero());var m=this,A=w.clone();m.negative!==0?m=m.umod(w):m=m.clone();for(var P=new f(1),L=new f(0),x=new f(0),g=new f(1),B=0;m.isEven()&&A.isEven();)m.iushrn(1),A.iushrn(1),++B;for(var M=A.clone(),k=m.clone();!m.isZero();){for(var q=0,ee=1;!(m.words[0]&ee)&&q<26;++q,ee<<=1);if(q>0)for(m.iushrn(q);q-- >0;)(P.isOdd()||L.isOdd())&&(P.iadd(M),L.isub(k)),P.iushrn(1),L.iushrn(1);for(var U=0,J=1;!(A.words[0]&J)&&U<26;++U,J<<=1);if(U>0)for(A.iushrn(U);U-- >0;)(x.isOdd()||g.isOdd())&&(x.iadd(M),g.isub(k)),x.iushrn(1),g.iushrn(1);m.cmp(A)>=0?(m.isub(A),P.isub(x),L.isub(g)):(A.isub(m),x.isub(P),g.isub(L))}return{a:x,b:g,gcd:A.iushln(B)}},f.prototype._invmp=function(w){a(w.negative===0),a(!w.isZero());var m=this,A=w.clone();m.negative!==0?m=m.umod(w):m=m.clone();for(var P=new f(1),L=new f(0),x=A.clone();m.cmpn(1)>0&&A.cmpn(1)>0;){for(var g=0,B=1;!(m.words[0]&B)&&g<26;++g,B<<=1);if(g>0)for(m.iushrn(g);g-- >0;)P.isOdd()&&P.iadd(x),P.iushrn(1);for(var M=0,k=1;!(A.words[0]&k)&&M<26;++M,k<<=1);if(M>0)for(A.iushrn(M);M-- >0;)L.isOdd()&&L.iadd(x),L.iushrn(1);m.cmp(A)>=0?(m.isub(A),P.isub(L)):(A.isub(m),L.isub(P))}var q;return m.cmpn(1)===0?q=P:q=L,q.cmpn(0)<0&&q.iadd(w),q},f.prototype.gcd=function(w){if(this.isZero())return w.abs();if(w.isZero())return this.abs();var m=this.clone(),A=w.clone();m.negative=0,A.negative=0;for(var P=0;m.isEven()&&A.isEven();P++)m.iushrn(1),A.iushrn(1);do{for(;m.isEven();)m.iushrn(1);for(;A.isEven();)A.iushrn(1);var L=m.cmp(A);if(L<0){var x=m;m=A,A=x}else if(L===0||A.cmpn(1)===0)break;m.isub(A)}while(!0);return A.iushln(P)},f.prototype.invm=function(w){return this.egcd(w).a.umod(w)},f.prototype.isEven=function(){return(this.words[0]&1)===0},f.prototype.isOdd=function(){return(this.words[0]&1)===1},f.prototype.andln=function(w){return this.words[0]&w},f.prototype.bincn=function(w){a(typeof w=="number");var m=w%26,A=(w-m)/26,P=1<>>26,g&=67108863,this.words[x]=g}return L!==0&&(this.words[x]=L,this.length++),this},f.prototype.isZero=function(){return this.length===1&&this.words[0]===0},f.prototype.cmpn=function(w){var m=w<0;if(this.negative!==0&&!m)return-1;if(this.negative===0&&m)return 1;this._strip();var A;if(this.length>1)A=1;else{m&&(w=-w),a(w<=67108863,"Number is too big");var P=this.words[0]|0;A=P===w?0:Pw.length)return 1;if(this.length=0;A--){var P=this.words[A]|0,L=w.words[A]|0;if(P!==L){PL&&(m=1);break}}return m},f.prototype.gtn=function(w){return this.cmpn(w)===1},f.prototype.gt=function(w){return this.cmp(w)===1},f.prototype.gten=function(w){return this.cmpn(w)>=0},f.prototype.gte=function(w){return this.cmp(w)>=0},f.prototype.ltn=function(w){return this.cmpn(w)===-1},f.prototype.lt=function(w){return this.cmp(w)===-1},f.prototype.lten=function(w){return this.cmpn(w)<=0},f.prototype.lte=function(w){return this.cmp(w)<=0},f.prototype.eqn=function(w){return this.cmpn(w)===0},f.prototype.eq=function(w){return this.cmp(w)===0},f.red=function(w){return new T(w)},f.prototype.toRed=function(w){return a(!this.red,"Already a number in reduction context"),a(this.negative===0,"red works only with positives"),w.convertTo(this)._forceRed(w)},f.prototype.fromRed=function(){return a(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},f.prototype._forceRed=function(w){return this.red=w,this},f.prototype.forceRed=function(w){return a(!this.red,"Already a number in reduction context"),this._forceRed(w)},f.prototype.redAdd=function(w){return a(this.red,"redAdd works only with red numbers"),this.red.add(this,w)},f.prototype.redIAdd=function(w){return a(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,w)},f.prototype.redSub=function(w){return a(this.red,"redSub works only with red numbers"),this.red.sub(this,w)},f.prototype.redISub=function(w){return a(this.red,"redISub works only with red numbers"),this.red.isub(this,w)},f.prototype.redShl=function(w){return a(this.red,"redShl works only with red numbers"),this.red.shl(this,w)},f.prototype.redMul=function(w){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,w),this.red.mul(this,w)},f.prototype.redIMul=function(w){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,w),this.red.imul(this,w)},f.prototype.redSqr=function(){return a(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},f.prototype.redISqr=function(){return a(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},f.prototype.redSqrt=function(){return a(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},f.prototype.redInvm=function(){return a(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},f.prototype.redNeg=function(){return a(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},f.prototype.redPow=function(w){return a(this.red&&!w.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,w)};var Q={k256:null,p224:null,p192:null,p25519:null};function V(w,m){this.name=w,this.p=new f(m,16),this.n=this.p.bitLength(),this.k=new f(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}V.prototype._tmp=function(){var w=new f(null);return w.words=new Array(Math.ceil(this.n/13)),w},V.prototype.ireduce=function(w){var m=w,A;do this.split(m,this.tmp),m=this.imulK(m),m=m.iadd(this.tmp),A=m.bitLength();while(A>this.n);var P=A0?m.isub(this.p):m.strip!==void 0?m.strip():m._strip(),m},V.prototype.split=function(w,m){w.iushrn(this.n,0,m)},V.prototype.imulK=function(w){return w.imul(this.k)};function X(){V.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}r(X,V),X.prototype.split=function(w,m){for(var A=4194303,P=Math.min(w.length,9),L=0;L>>22,x=g}x>>>=22,w.words[L-10]=x,x===0&&w.length>10?w.length-=10:w.length-=9},X.prototype.imulK=function(w){w.words[w.length]=0,w.words[w.length+1]=0,w.length+=2;for(var m=0,A=0;A>>=26,w.words[A]=L,m=P}return m!==0&&(w.words[w.length++]=m),w},f._prime=function(w){if(Q[w])return Q[w];var m;if(w==="k256")m=new X;else if(w==="p224")m=new K;else if(w==="p192")m=new G;else if(w==="p25519")m=new R;else throw new Error("Unknown prime "+w);return Q[w]=m,m};function T(w){if(typeof w=="string"){var m=f._prime(w);this.m=m.p,this.prime=m}else a(w.gtn(1),"modulus must be greater than 1"),this.m=w,this.prime=null}T.prototype._verify1=function(w){a(w.negative===0,"red works only with positives"),a(w.red,"red works only with red numbers")},T.prototype._verify2=function(w,m){a((w.negative|m.negative)===0,"red works only with positives"),a(w.red&&w.red===m.red,"red works only with red numbers")},T.prototype.imod=function(w){return this.prime?this.prime.ireduce(w)._forceRed(this):(d(w,w.umod(this.m)._forceRed(this)),w)},T.prototype.neg=function(w){return w.isZero()?w.clone():this.m.sub(w)._forceRed(this)},T.prototype.add=function(w,m){this._verify2(w,m);var A=w.add(m);return A.cmp(this.m)>=0&&A.isub(this.m),A._forceRed(this)},T.prototype.iadd=function(w,m){this._verify2(w,m);var A=w.iadd(m);return A.cmp(this.m)>=0&&A.isub(this.m),A},T.prototype.sub=function(w,m){this._verify2(w,m);var A=w.sub(m);return A.cmpn(0)<0&&A.iadd(this.m),A._forceRed(this)},T.prototype.isub=function(w,m){this._verify2(w,m);var A=w.isub(m);return A.cmpn(0)<0&&A.iadd(this.m),A},T.prototype.shl=function(w,m){return this._verify1(w),this.imod(w.ushln(m))},T.prototype.imul=function(w,m){return this._verify2(w,m),this.imod(w.imul(m))},T.prototype.mul=function(w,m){return this._verify2(w,m),this.imod(w.mul(m))},T.prototype.isqr=function(w){return this.imul(w,w.clone())},T.prototype.sqr=function(w){return this.mul(w,w)},T.prototype.sqrt=function(w){if(w.isZero())return w.clone();var m=this.m.andln(3);if(a(m%2===1),m===3){var A=this.m.add(new f(1)).iushrn(2);return this.pow(w,A)}for(var P=this.m.subn(1),L=0;!P.isZero()&&P.andln(1)===0;)L++,P.iushrn(1);a(!P.isZero());var x=new f(1).toRed(this),g=x.redNeg(),B=this.m.subn(1).iushrn(1),M=this.m.bitLength();for(M=new f(2*M*M).toRed(this);this.pow(M,B).cmp(g)!==0;)M.redIAdd(g);for(var k=this.pow(M,P),q=this.pow(w,P.addn(1).iushrn(1)),ee=this.pow(w,P),U=L;ee.cmp(x)!==0;){for(var J=ee,Z=0;J.cmp(x)!==0;Z++)J=J.redSqr();a(Z=0;L--){for(var k=m.words[L],q=M-1;q>=0;q--){var ee=k>>q&1;if(x!==P[0]&&(x=this.sqr(x)),ee===0&&g===0){B=0;continue}g<<=1,g|=ee,B++,!(B!==A&&(L!==0||q!==0))&&(x=this.mul(x,P[g]),B=0,g=0)}M=26}return x},T.prototype.convertTo=function(w){var m=w.umod(this.m);return m===w?m.clone():m},T.prototype.convertFrom=function(w){var m=w.clone();return m.red=null,m},f.mont=function(w){return new N(w)};function N(w){T.call(this,w),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new f(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}r(N,T),N.prototype.convertTo=function(w){return this.imod(w.ushln(this.shift))},N.prototype.convertFrom=function(w){var m=this.imod(w.mul(this.rinv));return m.red=null,m},N.prototype.imul=function(w,m){if(w.isZero()||m.isZero())return w.words[0]=0,w.length=1,w;var A=w.imul(m),P=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),L=A.isub(P).iushrn(this.shift),x=L;return L.cmp(this.m)>=0?x=L.isub(this.m):L.cmpn(0)<0&&(x=L.iadd(this.m)),x._forceRed(this)},N.prototype.mul=function(w,m){if(w.isZero()||m.isZero())return new f(0)._forceRed(this);var A=w.mul(m),P=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),L=A.isub(P).iushrn(this.shift),x=L;return L.cmp(this.m)>=0?x=L.isub(this.m):L.cmpn(0)<0&&(x=L.iadd(this.m)),x._forceRed(this)},N.prototype.invm=function(w){var m=this.imod(w._invmp(this.m).mul(this.r2));return m._forceRed(this)}})(t,j10)})(V10);fn=V10.exports,Y10="bignumber/5.7.0",sQ=fn.BN,ph=new yf(Y10),Cle={},l10=9007199254740991;u10=!1,mo=class t{constructor(e,n){e!==Cle&&ph.throwError("cannot call constructor directly; use BigNumber.from",yf.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=n,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return Zc(na(this).fromTwos(e))}toTwos(e){return Zc(na(this).toTwos(e))}abs(){return this._hex[0]==="-"?t.from(this._hex.substring(1)):this}add(e){return Zc(na(this).add(na(e)))}sub(e){return Zc(na(this).sub(na(e)))}div(e){return t.from(e).isZero()&&dd("division-by-zero","div"),Zc(na(this).div(na(e)))}mul(e){return Zc(na(this).mul(na(e)))}mod(e){let n=na(e);return n.isNeg()&&dd("division-by-zero","mod"),Zc(na(this).umod(n))}pow(e){let n=na(e);return n.isNeg()&&dd("negative-power","pow"),Zc(na(this).pow(n))}and(e){let n=na(e);return(this.isNegative()||n.isNeg())&&dd("unbound-bitwise-result","and"),Zc(na(this).and(n))}or(e){let n=na(e);return(this.isNegative()||n.isNeg())&&dd("unbound-bitwise-result","or"),Zc(na(this).or(n))}xor(e){let n=na(e);return(this.isNegative()||n.isNeg())&&dd("unbound-bitwise-result","xor"),Zc(na(this).xor(n))}mask(e){return(this.isNegative()||e<0)&&dd("negative-width","mask"),Zc(na(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&dd("negative-width","shl"),Zc(na(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&dd("negative-width","shr"),Zc(na(this).shrn(e))}eq(e){return na(this).eq(na(e))}lt(e){return na(this).lt(na(e))}lte(e){return na(this).lte(na(e))}gt(e){return na(this).gt(na(e))}gte(e){return na(this).gte(na(e))}isNegative(){return this._hex[0]==="-"}isZero(){return na(this).isZero()}toNumber(){try{return na(this).toNumber()}catch{dd("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return ph.throwError("this platform does not support BigInt",yf.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?u10||(u10=!0,ph.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?ph.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",yf.errors.UNEXPECTED_ARGUMENT,{}):ph.throwError("BigNumber.toString does not accept parameters",yf.errors.UNEXPECTED_ARGUMENT,{})),na(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof t)return e;if(typeof e=="string")return e.match(/^-?0x[0-9a-f]+$/i)?new t(Cle,hB(e)):e.match(/^-?[0-9]+$/)?new t(Cle,hB(new sQ(e))):ph.throwArgumentError("invalid BigNumber string","value",e);if(typeof e=="number")return e%1&&dd("underflow","BigNumber.from",e),(e>=l10||e<=-l10)&&dd("overflow","BigNumber.from",e),t.from(String(e));let n=e;if(typeof n=="bigint")return t.from(n.toString());if(o_(n))return t.from(ic(n));if(n)if(n.toHexString){let a=n.toHexString();if(typeof a=="string")return t.from(a)}else{let a=n._hex;if(a==null&&n.type==="BigNumber"&&(a=n.hex),typeof a=="string"&&(N6(a)||a[0]==="-"&&N6(a.substring(1))))return t.from(a)}return ph.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!!(e&&e._isBigNumber)}};sc=new yf(Y10),lB={},$10=mo.from(0),J10=mo.from(-1);uB="0";for(;uB.length<256;)uB+=uB;pB=class t{constructor(e,n,a,r){e!==lB&&sc.throwError("cannot use FixedFormat constructor; use FixedFormat.from",yf.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.signed=n,this.width=a,this.decimals=r,this.name=(n?"":"u")+"fixed"+String(a)+"x"+String(r),this._multiplier=Zle(r),Object.freeze(this)}static from(e){if(e instanceof t)return e;typeof e=="number"&&(e=`fixed128x${e}`);let n=!0,a=128,r=18;if(typeof e=="string"){if(e!=="fixed")if(e==="ufixed")n=!1;else{let f=e.match(/^(u?)fixed([0-9]+)x([0-9]+)$/);f||sc.throwArgumentError("invalid fixed format","format",e),n=f[1]!=="u",a=parseInt(f[2]),r=parseInt(f[3])}}else if(e){let f=(i,s,o)=>e[i]==null?o:(typeof e[i]!==s&&sc.throwArgumentError("invalid fixed format ("+i+" not "+s+")","format."+i,e[i]),e[i]);n=f("signed","boolean",n),a=f("width","number",a),r=f("decimals","number",r)}return a%8&&sc.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",a),r>80&&sc.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",r),new t(lB,n,a,r)}},oQ=class t{constructor(e,n,a,r){e!==lB&&sc.throwError("cannot use FixedNumber constructor; use FixedNumber.from",yf.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=r,this._hex=n,this._value=a,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(e){this.format.name!==e.format.name&&sc.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}addUnsafe(e){this._checkFormat(e);let n=uh(this._value,this.format.decimals),a=uh(e._value,e.format.decimals);return t.fromValue(n.add(a),this.format.decimals,this.format)}subUnsafe(e){this._checkFormat(e);let n=uh(this._value,this.format.decimals),a=uh(e._value,e.format.decimals);return t.fromValue(n.sub(a),this.format.decimals,this.format)}mulUnsafe(e){this._checkFormat(e);let n=uh(this._value,this.format.decimals),a=uh(e._value,e.format.decimals);return t.fromValue(n.mul(a).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(e){this._checkFormat(e);let n=uh(this._value,this.format.decimals),a=uh(e._value,e.format.decimals);return t.fromValue(n.mul(this.format._multiplier).div(a),this.format.decimals,this.format)}floor(){let e=this.toString().split(".");e.length===1&&e.push("0");let n=t.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return this.isNegative()&&a&&(n=n.subUnsafe(p10.toFormat(n.format))),n}ceiling(){let e=this.toString().split(".");e.length===1&&e.push("0");let n=t.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return!this.isNegative()&&a&&(n=n.addUnsafe(p10.toFormat(n.format))),n}round(e){e==null&&(e=0);let n=this.toString().split(".");if(n.length===1&&n.push("0"),(e<0||e>80||e%1)&&sc.throwArgumentError("invalid decimal count","decimals",e),n[1].length<=e)return this;let a=t.from("1"+uB.substring(0,e),this.format),r=Win.toFormat(this.format);return this.mulUnsafe(a).addUnsafe(r).floor().divUnsafe(a)}isZero(){return this._value==="0.0"||this._value==="0"}isNegative(){return this._value[0]==="-"}toString(){return this._value}toHexString(e){if(e==null)return this._hex;e%8&&sc.throwArgumentError("invalid byte width","width",e);let n=mo.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return ju(n,e/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(e){return t.fromString(this._value,e)}static fromValue(e,n,a){return a==null&&n!=null&&!Hin(n)&&(a=n,n=null),n==null&&(n=0),a==null&&(a="fixed"),t.fromString(Ile(e,n),pB.from(a))}static fromString(e,n){n==null&&(n="fixed");let a=pB.from(n),r=uh(e,a.decimals);!a.signed&&r.lt($10)&&X10("unsigned value cannot be negative","overflow","value",e);let f=null;a.signed?f=r.toTwos(a.width).toHexString():(f=r.toHexString(),f=ju(f,a.width/8));let i=Ile(r,a.decimals);return new t(lB,f,i,a)}static fromBytes(e,n){n==null&&(n="fixed");let a=pB.from(n);if(ri(e).length>a.width/8)throw new Error("overflow");let r=mo.from(e);a.signed&&(r=r.fromTwos(a.width));let f=r.toTwos((a.signed?0:1)+a.width).toHexString(),i=Ile(r,a.decimals);return new t(lB,f,i,a)}static from(e,n){if(typeof e=="string")return t.fromString(e,n);if(o_(e))return t.fromBytes(e,n);try{return t.fromValue(e,0,n)}catch(a){if(a.code!==yf.errors.INVALID_ARGUMENT)throw a}return sc.throwArgumentError("invalid FixedNumber value","value",e)}static isFixedNumber(e){return!!(e&&e._isFixedNumber)}},p10=oQ.from(1),Win=oQ.from("0.5"),qin="strings/5.7.0",Z10=new yf(qin);(function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"})(cQ||(cQ={}));(function(t){t.UNEXPECTED_CONTINUE="unexpected continuation byte",t.BAD_PREFIX="bad codepoint prefix",t.OVERRUN="string overrun",t.MISSING_CONTINUE="missing continuation byte",t.OUT_OF_RANGE="out of UTF-8 range",t.UTF16_SURROGATE="UTF-16 surrogate",t.OVERLONG="overlong representation"})(e_||(e_={}));Object.freeze({error:jin,ignore:ec0,replace:Gin});h10("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),"ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map(t=>parseInt(t,16)),Sle("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),Sle("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),Sle("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",Kin),h10("80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001");tc0="hash/5.7.0";ZK=isn();new Set(dQ(ZK)),new Set(dQ(ZK)),tsn(ZK),fsn(ZK),new yf(tc0);ssn=new Uint8Array(32);ssn.fill(0);osn=`Ethereum Signed Message: -`;csn="rlp/5.7.0";new yf(csn);dsn="address/5.7.0",dB=new yf(dsn);lsn=9007199254740991;e2e={};for(let t=0;t<10;t++)e2e[String(t)]=String(t);for(let t=0;t<26;t++)e2e[String.fromCharCode(65+t)]=String(10+t);y10=Math.floor(usn(lsn));bsn="properties/5.7.0";new yf(bsn);new yf(tc0);msn=new Uint8Array(32);msn.fill(0),mo.from(-1);ysn=mo.from(0),gsn=mo.from(1);mo.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),ju(gsn.toHexString(),32),ju(ysn.toHexString(),32);Uu={},aa={},vB=fc0;fc0.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)};Hle={exports:{}};typeof Object.create=="function"?Hle.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Hle.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}};vsn=vB,wsn=Hle.exports;aa.inherits=wsn;aa.toArray=xsn;aa.toHex=Esn;aa.htonl=ic0;aa.toHex32=_sn;aa.zero2=sc0;aa.zero8=oc0;aa.join32=Asn;aa.split32=Csn;aa.rotr32=Isn;aa.rotl32=ksn;aa.sum32=Ssn;aa.sum32_3=Rsn;aa.sum32_4=Msn;aa.sum32_5=Bsn;aa.sum64=Dsn;aa.sum64_hi=Psn;aa.sum64_lo=Lsn;aa.sum64_4_hi=Fsn;aa.sum64_4_lo=Nsn;aa.sum64_5_hi=Osn;aa.sum64_5_lo=Usn;aa.rotr64_hi=Hsn;aa.rotr64_lo=zsn;aa.shr64_hi=Wsn;aa.shr64_lo=qsn;c_={},g10=aa,jsn=vB;c_.BlockHash=eQ,eQ.prototype.update=function(t,e){if(t=g10.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){t=this.pending;var n=t.length%this._delta8;this.pending=t.slice(t.length-n,t.length),this.pending.length===0&&(this.pending=null),t=g10.join32(t,0,t.length-n,this.endian);for(var a=0;a>>24&255,a[r++]=t>>>16&255,a[r++]=t>>>8&255,a[r++]=t&255}else for(a[r++]=t&255,a[r++]=t>>>8&255,a[r++]=t>>>16&255,a[r++]=t>>>24&255,a[r++]=0,a[r++]=0,a[r++]=0,a[r++]=0,f=8;fthis.blockSize&&(t=new this.Hash().update(t).digest()),qon(t.length<=this.blockSize);for(var e=t.length;e>8,h=d&255;l?o.push(l,h):o.push(h)}return o}n.toArray=a;function r(i){return i.length===1?"0"+i:i}n.zero2=r;function f(i){for(var s="",o=0;o(h>>1)-1?S=(h>>1)-O:S=O,y.isubn(S)):S=0,l[v]=S,y.iushrn(1)}return l}n.getNAF=a;function r(o,c){var d=[[],[]];o=o.clone(),c=c.clone();for(var l=0,h=0,y;o.cmpn(-l)>0||c.cmpn(-h)>0;){var v=o.andln(3)+l&3,S=c.andln(3)+h&3;v===3&&(v=-1),S===3&&(S=-1);var O;v&1?(y=o.andln(7)+l&7,(y===3||y===5)&&S===2?O=-v:O=v):O=0,d[0].push(O);var F;S&1?(y=c.andln(7)+h&7,(y===3||y===5)&&v===2?F=-S:F=S):F=0,d[1].push(F),2*l===O+1&&(l=1-l),2*h===F+1&&(h=1-h),o.iushrn(1),c.iushrn(1)}return d}n.getJSF=r;function f(o,c,d){var l="_"+c;o.prototype[c]=function(){return this[l]!==void 0?this[l]:this[l]=d.call(this)}}n.cachedProperty=f;function i(o){return typeof o=="string"?n.toArray(o,"hex"):o}n.parseBytes=i;function s(o){return new fn(o,"hex","le")}n.intFromLE=s}),nQ=O6.getNAF,Kon=O6.getJSF,lQ=O6.assert;G9=Bm;Bm.prototype.point=function(){throw new Error("Not implemented")},Bm.prototype.validate=function(){throw new Error("Not implemented")},Bm.prototype._fixedNafMul=function(t,e){lQ(t.precomputed);var n=t._getDoubles(),a=nQ(e,1,this._bitLength),r=(1<=i;o--)s=(s<<1)+a[o];f.push(s)}for(var c=this.jpoint(null,null,null),d=this.jpoint(null,null,null),l=r;l>0;l--){for(i=0;i=0;s--){for(var o=0;s>=0&&f[s]===0;s--)o++;if(s>=0&&o++,i=i.dblp(o),s<0)break;var c=f[s];lQ(c!==0),t.type==="affine"?c>0?i=i.mixedAdd(r[c-1>>1]):i=i.mixedAdd(r[-c-1>>1].neg()):c>0?i=i.add(r[c-1>>1]):i=i.add(r[-c-1>>1].neg())}return t.type==="affine"?i.toP():i},Bm.prototype._wnafMulAdd=function(t,e,n,a,r){var f=this._wnafT1,i=this._wnafT2,s=this._wnafT3,o=0,c,d,l;for(c=0;c=1;c-=2){var y=c-1,v=c;if(f[y]!==1||f[v]!==1){s[y]=nQ(n[y],f[y],this._bitLength),s[v]=nQ(n[v],f[v],this._bitLength),o=Math.max(s[y].length,o),o=Math.max(s[v].length,o);continue}var S=[e[y],null,null,e[v]];e[y].y.cmp(e[v].y)===0?(S[1]=e[y].add(e[v]),S[2]=e[y].toJ().mixedAdd(e[v].neg())):e[y].y.cmp(e[v].y.redNeg())===0?(S[1]=e[y].toJ().mixedAdd(e[v]),S[2]=e[y].add(e[v].neg())):(S[1]=e[y].toJ().mixedAdd(e[v]),S[2]=e[y].toJ().mixedAdd(e[v].neg()));var O=[-3,-1,-5,-7,0,7,5,1,3],F=Kon(n[y],n[v]);for(o=Math.max(F[0].length,o),s[y]=new Array(o),s[v]=new Array(o),d=0;d=0;c--){for(var V=0;c>=0;){var X=!0;for(d=0;d=0&&V++,j=j.dblp(V),c<0)break;for(d=0;d0?l=i[d][K-1>>1]:K<0&&(l=i[d][-K-1>>1].neg()),l.type==="affine"?j=j.mixedAdd(l):j=j.add(l))}}for(c=0;c=Math.ceil((t.bitLength()+1)/e.step):!1},ld.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],a=this,r=0;r=0&&(h=o,y=c),d.negative&&(d=d.neg(),l=l.neg()),h.negative&&(h=h.neg(),y=y.neg()),[{a:d,b:l},{a:h,b:y}]},pd.prototype._endoSplit=function(t){var e=this.endo.basis,n=e[0],a=e[1],r=a.b.mul(t).divRound(this.n),f=n.b.neg().mul(t).divRound(this.n),i=r.mul(n.a),s=f.mul(a.a),o=r.mul(n.b),c=f.mul(a.b),d=t.sub(i).sub(s),l=o.add(c).neg();return{k1:d,k2:l}},pd.prototype.pointFromX=function(t,e){t=new fn(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),a=n.redSqrt();if(a.redSqr().redSub(n).cmp(this.zero)!==0)throw new Error("invalid point");var r=a.fromRed().isOdd();return(e&&!r||!e&&r)&&(a=a.redNeg()),this.point(t,a)},pd.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,n=t.y,a=this.a.redMul(e),r=e.redSqr().redMul(e).redIAdd(a).redIAdd(this.b);return n.redSqr().redISub(r).cmpn(0)===0},pd.prototype._endoWnafMulAdd=function(t,e,n){for(var a=this._endoWnafT1,r=this._endoWnafT2,f=0;f":""},Ls.prototype.isInfinity=function(){return this.inf},Ls.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(this.x.cmp(t.x)===0)return this.curve.point(null,null);var e=this.y.redSub(t.y);e.cmpn(0)!==0&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var n=e.redSqr().redISub(this.x).redISub(t.x),a=e.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,a)},Ls.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(t.cmpn(0)===0)return this.curve.point(null,null);var e=this.curve.a,n=this.x.redSqr(),a=t.redInvm(),r=n.redAdd(n).redIAdd(n).redIAdd(e).redMul(a),f=r.redSqr().redISub(this.x.redAdd(this.x)),i=r.redMul(this.x.redSub(f)).redISub(this.y);return this.curve.point(f,i)},Ls.prototype.getX=function(){return this.x.fromRed()},Ls.prototype.getY=function(){return this.y.fromRed()},Ls.prototype.mul=function(t){return t=new fn(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},Ls.prototype.mulAdd=function(t,e,n){var a=[this,e],r=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(a,r):this.curve._wnafMulAdd(1,a,r,2)},Ls.prototype.jmulAdd=function(t,e,n){var a=[this,e],r=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(a,r,!0):this.curve._wnafMulAdd(1,a,r,2,!0)},Ls.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||this.x.cmp(t.x)===0&&this.y.cmp(t.y)===0)},Ls.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,a=function(r){return r.neg()};e.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(a)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(a)}}}return e},Ls.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var t=this.curve.jpoint(this.x,this.y,this.curve.one);return t};n2e(ho,G9.BasePoint),pd.prototype.jpoint=function(t,e,n){return new ho(this,t,e,n)},ho.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),n=this.x.redMul(e),a=this.y.redMul(e).redMul(t);return this.curve.point(n,a)},ho.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},ho.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),n=this.z.redSqr(),a=this.x.redMul(e),r=t.x.redMul(n),f=this.y.redMul(e.redMul(t.z)),i=t.y.redMul(n.redMul(this.z)),s=a.redSub(r),o=f.redSub(i);if(s.cmpn(0)===0)return o.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),d=c.redMul(s),l=a.redMul(c),h=o.redSqr().redIAdd(d).redISub(l).redISub(l),y=o.redMul(l.redISub(h)).redISub(f.redMul(d)),v=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(h,y,v)},ho.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),n=this.x,a=t.x.redMul(e),r=this.y,f=t.y.redMul(e).redMul(this.z),i=n.redSub(a),s=r.redSub(f);if(i.cmpn(0)===0)return s.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var o=i.redSqr(),c=o.redMul(i),d=n.redMul(o),l=s.redSqr().redIAdd(c).redISub(d).redISub(d),h=s.redMul(d.redISub(l)).redISub(r.redMul(c)),y=this.z.redMul(i);return this.curve.jpoint(l,h,y)},ho.prototype.dblp=function(t){if(t===0)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var n=this;for(e=0;e=0)return!1;if(n.redIAdd(r),this.x.cmp(n)===0)return!0}},ho.prototype.inspect=function(){return this.isInfinity()?"":""},ho.prototype.isInfinity=function(){return this.z.cmpn(0)===0};fQ=l_(function(t,e){var n=e;n.base=G9,n.short=Von,n.mont=null,n.edwards=null}),iQ=l_(function(t,e){var n=e,a=O6.assert;function r(s){s.type==="short"?this.curve=new fQ.short(s):s.type==="edwards"?this.curve=new fQ.edwards(s):this.curve=new fQ.mont(s),this.g=this.curve.g,this.n=this.curve.n,this.hash=s.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}n.PresetCurve=r;function f(s,o){Object.defineProperty(n,s,{configurable:!0,enumerable:!0,get:function(){var c=new r(o);return Object.defineProperty(n,s,{configurable:!0,enumerable:!0,value:c}),c}})}f("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:Uu.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),f("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:Uu.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),f("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:Uu.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),f("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:Uu.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),f("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:Uu.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),f("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Uu.sha256,gRed:!1,g:["9"]}),f("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Uu.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var i;try{i=null.crash()}catch{i=void 0}f("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:Uu.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",i]})});x10=Dm;Dm.prototype._init=function(t,e,n){var a=t.concat(e).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var r=0;r=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1},Dm.prototype.generate=function(t,e,n,a){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof e!="string"&&(a=n,n=e,e=null),n&&(n=jl.toArray(n,a||"hex"),this._update(n));for(var r=[];r.length"};Yon=O6.assert;aQ=bQ;bQ.prototype._importDER=function(t,e){t=O6.toArray(t,e);var n=new $on;if(t[n.place++]!==48)return!1;var a=Lle(t,n);if(a===!1||a+n.place!==t.length||t[n.place++]!==2)return!1;var r=Lle(t,n);if(r===!1)return!1;var f=t.slice(n.place,r+n.place);if(n.place+=r,t[n.place++]!==2)return!1;var i=Lle(t,n);if(i===!1||t.length!==i+n.place)return!1;var s=t.slice(n.place,i+n.place);if(f[0]===0)if(f[1]&128)f=f.slice(1);else return!1;if(s[0]===0)if(s[1]&128)s=s.slice(1);else return!1;return this.r=new fn(f),this.s=new fn(s),this.recoveryParam=null,!0};bQ.prototype.toDER=function(t){var e=this.r.toArray(),n=this.s.toArray();for(e[0]&128&&(e=[0].concat(e)),n[0]&128&&(n=[0].concat(n)),e=E10(e),n=E10(n);!n[0]&&!(n[1]&128);)n=n.slice(1);var a=[2];Fle(a,e.length),a=a.concat(e),a.push(2),Fle(a,n.length);var r=a.concat(n),f=[48];return Fle(f,r.length),f=f.concat(r),O6.encode(f,t)};Jon=function(){throw new Error("unsupported")},_c0=O6.assert;Xon=ud;ud.prototype.keyPair=function(t){return new Ple(this,t)},ud.prototype.keyFromPrivate=function(t,e){return Ple.fromPrivate(this,t,e)},ud.prototype.keyFromPublic=function(t,e){return Ple.fromPublic(this,t,e)},ud.prototype.genKeyPair=function(t){t||(t={});for(var e=new x10({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||Jon(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),a=this.n.sub(new fn(2));;){var r=new fn(e.generate(n));if(!(r.cmp(a)>0))return r.iaddn(1),this.keyFromPrivate(r)}},ud.prototype._truncateToN=function(t,e){var n=t.byteLength()*8-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},ud.prototype.sign=function(t,e,n,a){typeof n=="object"&&(a=n,n=null),a||(a={}),e=this.keyFromPrivate(e,n),t=this._truncateToN(new fn(t,16));for(var r=this.n.byteLength(),f=e.getPrivate().toArray("be",r),i=t.toArray("be",r),s=new x10({hash:this.hash,entropy:f,nonce:i,pers:a.pers,persEnc:a.persEnc||"utf8"}),o=this.n.sub(new fn(1)),c=0;;c++){var d=a.k?a.k(c):new fn(s.generate(this.n.byteLength()));if(d=this._truncateToN(d,!0),!(d.cmpn(1)<=0||d.cmp(o)>=0)){var l=this.g.mul(d);if(!l.isInfinity()){var h=l.getX(),y=h.umod(this.n);if(y.cmpn(0)!==0){var v=d.invm(this.n).mul(y.mul(e.getPrivate()).iadd(t));if(v=v.umod(this.n),v.cmpn(0)!==0){var S=(l.getY().isOdd()?1:0)|(h.cmp(y)!==0?2:0);return a.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),S^=1),new aQ({r:y,s:v,recoveryParam:S})}}}}}},ud.prototype.verify=function(t,e,n,a){t=this._truncateToN(new fn(t,16)),n=this.keyFromPublic(n,a),e=new aQ(e,"hex");var r=e.r,f=e.s;if(r.cmpn(1)<0||r.cmp(this.n)>=0||f.cmpn(1)<0||f.cmp(this.n)>=0)return!1;var i=f.invm(this.n),s=i.mul(t).umod(this.n),o=i.mul(r).umod(this.n),c;return this.curve._maxwellTrick?(c=this.g.jmulAdd(s,n.getPublic(),o),c.isInfinity()?!1:c.eqXToP(r)):(c=this.g.mulAdd(s,n.getPublic(),o),c.isInfinity()?!1:c.getX().umod(this.n).cmp(r)===0)},ud.prototype.recoverPubKey=function(t,e,n,a){_c0((3&n)===n,"The recovery param is more than two bits"),e=new aQ(e,a);var r=this.n,f=new fn(t),i=e.r,s=e.s,o=n&1,c=n>>1;if(i.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?i=this.curve.pointFromX(i.add(this.curve.n),o):i=this.curve.pointFromX(i,o);var d=e.r.invm(r),l=r.sub(f).mul(d).umod(r),h=s.mul(d).umod(r);return this.g.mulAdd(l,i,h)},ud.prototype.getKeyRecoveryParam=function(t,e,n,a){if(e=new aQ(e,a),e.recoveryParam!==null)return e.recoveryParam;for(var r=0;r<4;r++){var f;try{f=this.recoverPubKey(t,e,r)}catch{continue}if(f.eq(n))return r}throw new Error("Unable to find valid recovery factor")};Zon=l_(function(t,e){var n=e;n.version="6.5.4",n.utils=O6,n.rand=function(){throw new Error("unsupported")},n.curve=fQ,n.curves=iQ,n.ec=Xon,n.eddsa=null}),e1n=Zon.ec,t1n="signing-key/5.7.0",qle=new yf(t1n),Nle=null;jle=class{constructor(e){sB(this,"curve","secp256k1"),sB(this,"privateKey",ic(e)),Fin(this.privateKey)!==32&&qle.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");let n=qu().keyFromPrivate(ri(this.privateKey));sB(this,"publicKey","0x"+n.getPublic(!1,"hex")),sB(this,"compressedPublicKey","0x"+n.getPublic(!0,"hex")),sB(this,"_isSigningKey",!0)}_addPoint(e){let n=qu().keyFromPublic(ri(this.publicKey)),a=qu().keyFromPublic(ri(e));return"0x"+n.pub.add(a.pub).encodeCompressed("hex")}signDigest(e){let n=qu().keyFromPrivate(ri(this.privateKey)),a=ri(e);a.length!==32&&qle.throwArgumentError("bad digest length","digest",e);let r=n.sign(a,{canonical:!0});return Q10({recoveryParam:r.recoveryParam,r:ju("0x"+r.r.toString(16),32),s:ju("0x"+r.s.toString(16),32)})}computeSharedSecret(e){let n=qu().keyFromPrivate(ri(this.privateKey)),a=qu().keyFromPublic(ri(Ac0(e)));return ju("0x"+n.derive(a.getPublic()).toString(16),32)}static isSigningKey(e){return!!(e&&e._isSigningKey)}};a1n="transactions/5.7.0";new yf(a1n);(function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"})(_10||(_10={}));i1n="https://rpc.walletconnect.com/v1";l1n=Object.defineProperty,u1n=Object.defineProperties,p1n=Object.getOwnPropertyDescriptors,A10=Object.getOwnPropertySymbols,h1n=Object.prototype.hasOwnProperty,b1n=Object.prototype.propertyIsEnumerable,C10=(t,e,n)=>e in t?l1n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,m1n=(t,e)=>{for(var n in e||(e={}))h1n.call(e,n)&&C10(t,n,e[n]);if(A10)for(var n of A10(e))b1n.call(e,n)&&C10(t,n,e[n]);return t},y1n=(t,e)=>u1n(t,p1n(e)),g1n="did:pkh:",a2e=t=>t?.split(":"),Cc0=t=>{let e=t&&a2e(t);if(e)return t.includes(g1n)?e[3]:e[1]},r2e=t=>{let e=t&&a2e(t);if(e)return e[2]+":"+e[3]},wB=t=>{let e=t&&a2e(t);if(e)return e.pop()};i2e=(t,e)=>{let n=`${t.domain} wants you to sign in with your Ethereum account:`,a=wB(e);if(!t.aud&&!t.uri)throw new Error("Either `aud` or `uri` is required to construct the message");let r=t.statement||void 0,f=`URI: ${t.aud||t.uri}`,i=`Version: ${t.version}`,s=`Chain ID: ${Cc0(e)}`,o=`Nonce: ${t.nonce}`,c=`Issued At: ${t.iat}`,d=t.resources?`Resources:${t.resources.map(h=>` + Approved: ${h.toString()}`))}),i.forEach(l=>{a||(z9(r[l].methods,f[l].methods)?z9(r[l].events,f[l].events)||(a=F0("NON_CONFORMING_NAMESPACES",`${n} namespaces events don't satisfy namespace events for ${l}`)):a=F0("NON_CONFORMING_NAMESPACES",`${n} namespaces methods don't satisfy namespace methods for ${l}`))}),a}function J1n(t){let e={};return Object.keys(t).forEach(n=>{var a;n.includes(":")?e[n]=t[n]:(a=t[n].chains)==null||a.forEach(r=>{e[r]={methods:t[n].methods,events:t[n].events}})}),e}function B10(t){return[...new Set(t.map(e=>e.includes(":")?e.split(":")[0]:e))]}function X1n(t){let e={};return Object.keys(t).forEach(n=>{n.includes(":")?e[n]=t[n]:h_(t[n].accounts)?.forEach(r=>{e[r]={accounts:t[n].accounts.filter(f=>f.includes(`${r}:`)),methods:t[n].methods,events:t[n].events}})}),e}function Zc0(t,e){return b2e(t,!1)&&t<=e.max&&t>=e.min}function v2e(){let t=yB();return new Promise(e=>{switch(t){case e6.browser:e(Z1n());break;case e6.reactNative:e(ecn());break;case e6.node:e(tcn());break;default:e(!0)}})}function Z1n(){return Nm()&&navigator?.onLine}async function ecn(){return j9()&&typeof global<"u"&&global!=null&&global.NetInfo?(await(global==null?void 0:global.NetInfo.fetch()))?.isConnected:!0}function tcn(){return!0}function e60(t){switch(yB()){case e6.browser:ncn(t);break;case e6.reactNative:acn(t);break;case e6.node:break}}function ncn(t){!j9()&&Nm()&&(window.addEventListener("online",()=>t(!0)),window.addEventListener("offline",()=>t(!1)))}function acn(t){j9()&&typeof global<"u"&&global!=null&&global.NetInfo&&global?.NetInfo.addEventListener(e=>t(e?.isConnected))}var mh,Fm,D10,r_,Qle,P10,Vle,mB,pQ,gin,vin,t10,win,Tin,n10,a10,xin,e6,Ein,j10,G10,Sin,Rin,r10,f10,rQ,i10,_le,s10,Ule,Wl,o10,yf,Bin,wi,Ale,V10,Nin,Oin,Uin,fn,Y10,sQ,ph,Cle,l10,u10,mo,sc,lB,$10,J10,uB,pB,oQ,p10,Win,qin,Z10,cQ,e_,tc0,ZK,ssn,osn,csn,dsn,dB,lsn,e2e,y10,bsn,msn,ysn,gsn,Uu,aa,vB,Hle,vsn,wsn,c_,g10,jsn,XE,Yu,Gsn,Gu,n_,Jsn,Xsn,Rle,oB,Zsn,eon,uc0,ton,non,a_,aon,d_,ron,zl,fon,ion,son,oon,con,don,lon,uon,pc0,pon,hc0,zle,bc0,hon,t6,bon,mon,Ku,Qu,mc0,yc0,Bm,Mle,Ble,yon,gon,von,won,gc0,Ton,vc0,Wle,wc0,Pon,Tc0,W9,Lon,tQ,v10,cB,w10,xc0,Oon,Uon,Hon,zon,Won,qon,jon,t2e,jl,O6,nQ,Kon,lQ,G9,n2e,Qon,Von,fQ,iQ,x10,Dle,Ple,Yon,aQ,Jon,_c0,Xon,Zon,e1n,t1n,qle,Nle,jle,a1n,_10,i1n,l1n,u1n,p1n,A10,h1n,b1n,C10,m1n,y1n,g1n,a2e,Cc0,r2e,wB,i2e,Rc0,b1,Gle,c2e,Mc0,$u,C1n,I10,Kle,d2e,S1n,R1n,M1n,B1n,k10,D1n,P1n,S10,R10,L1n,q1n,j1n,Ole,Lm,_B=ce(()=>{u();p();sse();mh=Ee(_7()),Fm=Ee(ose()),D10=Ee(yOe()),r_=Ee(FOe()),Qle=Ee(jOe()),P10=Ee($Oe()),Vle=Ee(vS()),mB=Ee(XOe()),pQ=Ee(nUe());Ele();rUe();gin=":";vin=Object.defineProperty,t10=Object.getOwnPropertySymbols,win=Object.prototype.hasOwnProperty,Tin=Object.prototype.propertyIsEnumerable,n10=(t,e,n)=>e in t?vin(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,a10=(t,e)=>{for(var n in e||(e={}))win.call(e,n)&&n10(t,n,e[n]);if(t10)for(var n of t10(e))Tin.call(e,n)&&n10(t,n,e[n]);return t},xin="ReactNative",e6={reactNative:"react-native",node:"node",browser:"browser",unknown:"unknown"},Ein="js";j10=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};G10={exports:{}};(function(t){(function(){var e="input is invalid type",n="finalize already called",a=typeof window=="object",r=a?window:{};r.JS_SHA3_NO_WINDOW&&(a=!1);var f=!a&&typeof self=="object",i=!r.JS_SHA3_NO_NODE_JS&&typeof E=="object"&&E.versions&&E.versions.node;i?r=j10:f&&(r=self);var s=!r.JS_SHA3_NO_COMMON_JS&&!0&&t.exports,o=!r.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",c="0123456789abcdef".split(""),d=[31,7936,2031616,520093696],l=[4,1024,262144,67108864],h=[1,256,65536,16777216],y=[6,1536,393216,100663296],v=[0,8,16,24],k=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],O=[224,256,384,512],F=[128,256],z=["hex","buffer","arrayBuffer","array","digest"],W={128:168,256:136};(r.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(U){return Object.prototype.toString.call(U)==="[object Array]"}),o&&(r.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(U){return typeof U=="object"&&U.buffer&&U.buffer.constructor===ArrayBuffer});for(var j=function(U,J,Z){return function(ne){return new S(U,J,U).update(ne)[Z]()}},Q=function(U,J,Z){return function(ne,ue){return new S(U,J,ue).update(ne)[Z]()}},V=function(U,J,Z){return function(ne,ue,Y,re){return m["cshake"+U].update(ne,ue,Y,re)[Z]()}},X=function(U,J,Z){return function(ne,ue,Y,re){return m["kmac"+U].update(ne,ue,Y,re)[Z]()}},K=function(U,J,Z,ne){for(var ue=0;ue>5,this.byteCount=this.blockCount<<2,this.outputBlocks=Z>>5,this.extraBytes=(Z&31)>>3;for(var ne=0;ne<50;++ne)this.s[ne]=0}S.prototype.update=function(U){if(this.finalized)throw new Error(n);var J,Z=typeof U;if(Z!=="string"){if(Z==="object"){if(U===null)throw new Error(e);if(o&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!o||!ArrayBuffer.isView(U)))throw new Error(e)}else throw new Error(e);J=!0}for(var ne=this.blocks,ue=this.byteCount,Y=U.length,re=this.blockCount,ie=0,ge=this.s,de,Ae;ie>2]|=U[ie]<>2]|=Ae<>2]|=(192|Ae>>6)<>2]|=(128|Ae&63)<=57344?(ne[de>>2]|=(224|Ae>>12)<>2]|=(128|Ae>>6&63)<>2]|=(128|Ae&63)<>2]|=(240|Ae>>18)<>2]|=(128|Ae>>12&63)<>2]|=(128|Ae>>6&63)<>2]|=(128|Ae&63)<=ue){for(this.start=de-ue,this.block=ne[re],de=0;de>8,Z=U&255;Z>0;)ue.unshift(Z),U=U>>8,Z=U&255,++ne;return J?ue.push(ne):ue.unshift(ne),this.update(ue),ue.length},S.prototype.encodeString=function(U){var J,Z=typeof U;if(Z!=="string"){if(Z==="object"){if(U===null)throw new Error(e);if(o&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!o||!ArrayBuffer.isView(U)))throw new Error(e)}else throw new Error(e);J=!0}var ne=0,ue=U.length;if(J)ne=ue;else for(var Y=0;Y=57344?ne+=3:(re=65536+((re&1023)<<10|U.charCodeAt(++Y)&1023),ne+=4)}return ne+=this.encode(ne*8),this.update(U),ne},S.prototype.bytepad=function(U,J){for(var Z=this.encode(J),ne=0;ne>2]|=this.padding[J&3],this.lastByteIndex===this.byteCount)for(U[0]=U[Z],J=1;J>4&15]+c[ie&15]+c[ie>>12&15]+c[ie>>8&15]+c[ie>>20&15]+c[ie>>16&15]+c[ie>>28&15]+c[ie>>24&15];Y%U===0&&(ee(J),ue=0)}return ne&&(ie=J[ue],re+=c[ie>>4&15]+c[ie&15],ne>1&&(re+=c[ie>>12&15]+c[ie>>8&15]),ne>2&&(re+=c[ie>>20&15]+c[ie>>16&15])),re},S.prototype.arrayBuffer=function(){this.finalize();var U=this.blockCount,J=this.s,Z=this.outputBlocks,ne=this.extraBytes,ue=0,Y=0,re=this.outputBits>>3,ie;ne?ie=new ArrayBuffer(Z+1<<2):ie=new ArrayBuffer(re);for(var ge=new Uint32Array(ie);Y>8&255,re[ie+2]=ge>>16&255,re[ie+3]=ge>>24&255;Y%U===0&&ee(J)}return ne&&(ie=Y<<2,ge=J[ue],re[ie]=ge&255,ne>1&&(re[ie+1]=ge>>8&255),ne>2&&(re[ie+2]=ge>>16&255)),re};function q(U,J,Z){S.call(this,U,J,Z)}q.prototype=new S,q.prototype.finalize=function(){return this.encode(this.outputBits,!0),S.prototype.finalize.call(this)};var ee=function(U){var J,Z,ne,ue,Y,re,ie,ge,de,Ae,Ge,Be,c0,Ye,He,_0,L0,Ze,I0,pe,he,Te,Ce,Se,Qe,u0,qe,v0,w0,Ve,be,ye,_e,ze,je,Ue,b0,h0,$e,M0,P0,t0,j0,z0,Ke,B0,G0,s0,X0,Y0,l0,K0,tt,p0,et,Et,$0,Tt,Pn,Ln,Fn,Nn,On;for(ne=0;ne<48;ne+=2)ue=U[0]^U[10]^U[20]^U[30]^U[40],Y=U[1]^U[11]^U[21]^U[31]^U[41],re=U[2]^U[12]^U[22]^U[32]^U[42],ie=U[3]^U[13]^U[23]^U[33]^U[43],ge=U[4]^U[14]^U[24]^U[34]^U[44],de=U[5]^U[15]^U[25]^U[35]^U[45],Ae=U[6]^U[16]^U[26]^U[36]^U[46],Ge=U[7]^U[17]^U[27]^U[37]^U[47],Be=U[8]^U[18]^U[28]^U[38]^U[48],c0=U[9]^U[19]^U[29]^U[39]^U[49],J=Be^(re<<1|ie>>>31),Z=c0^(ie<<1|re>>>31),U[0]^=J,U[1]^=Z,U[10]^=J,U[11]^=Z,U[20]^=J,U[21]^=Z,U[30]^=J,U[31]^=Z,U[40]^=J,U[41]^=Z,J=ue^(ge<<1|de>>>31),Z=Y^(de<<1|ge>>>31),U[2]^=J,U[3]^=Z,U[12]^=J,U[13]^=Z,U[22]^=J,U[23]^=Z,U[32]^=J,U[33]^=Z,U[42]^=J,U[43]^=Z,J=re^(Ae<<1|Ge>>>31),Z=ie^(Ge<<1|Ae>>>31),U[4]^=J,U[5]^=Z,U[14]^=J,U[15]^=Z,U[24]^=J,U[25]^=Z,U[34]^=J,U[35]^=Z,U[44]^=J,U[45]^=Z,J=ge^(Be<<1|c0>>>31),Z=de^(c0<<1|Be>>>31),U[6]^=J,U[7]^=Z,U[16]^=J,U[17]^=Z,U[26]^=J,U[27]^=Z,U[36]^=J,U[37]^=Z,U[46]^=J,U[47]^=Z,J=Ae^(ue<<1|Y>>>31),Z=Ge^(Y<<1|ue>>>31),U[8]^=J,U[9]^=Z,U[18]^=J,U[19]^=Z,U[28]^=J,U[29]^=Z,U[38]^=J,U[39]^=Z,U[48]^=J,U[49]^=Z,Ye=U[0],He=U[1],B0=U[11]<<4|U[10]>>>28,G0=U[10]<<4|U[11]>>>28,v0=U[20]<<3|U[21]>>>29,w0=U[21]<<3|U[20]>>>29,Ln=U[31]<<9|U[30]>>>23,Fn=U[30]<<9|U[31]>>>23,t0=U[40]<<18|U[41]>>>14,j0=U[41]<<18|U[40]>>>14,ze=U[2]<<1|U[3]>>>31,je=U[3]<<1|U[2]>>>31,_0=U[13]<<12|U[12]>>>20,L0=U[12]<<12|U[13]>>>20,s0=U[22]<<10|U[23]>>>22,X0=U[23]<<10|U[22]>>>22,Ve=U[33]<<13|U[32]>>>19,be=U[32]<<13|U[33]>>>19,Nn=U[42]<<2|U[43]>>>30,On=U[43]<<2|U[42]>>>30,p0=U[5]<<30|U[4]>>>2,et=U[4]<<30|U[5]>>>2,Ue=U[14]<<6|U[15]>>>26,b0=U[15]<<6|U[14]>>>26,Ze=U[25]<<11|U[24]>>>21,I0=U[24]<<11|U[25]>>>21,Y0=U[34]<<15|U[35]>>>17,l0=U[35]<<15|U[34]>>>17,ye=U[45]<<29|U[44]>>>3,_e=U[44]<<29|U[45]>>>3,Se=U[6]<<28|U[7]>>>4,Qe=U[7]<<28|U[6]>>>4,Et=U[17]<<23|U[16]>>>9,$0=U[16]<<23|U[17]>>>9,h0=U[26]<<25|U[27]>>>7,$e=U[27]<<25|U[26]>>>7,pe=U[36]<<21|U[37]>>>11,he=U[37]<<21|U[36]>>>11,K0=U[47]<<24|U[46]>>>8,tt=U[46]<<24|U[47]>>>8,z0=U[8]<<27|U[9]>>>5,Ke=U[9]<<27|U[8]>>>5,u0=U[18]<<20|U[19]>>>12,qe=U[19]<<20|U[18]>>>12,Tt=U[29]<<7|U[28]>>>25,Pn=U[28]<<7|U[29]>>>25,M0=U[38]<<8|U[39]>>>24,P0=U[39]<<8|U[38]>>>24,Te=U[48]<<14|U[49]>>>18,Ce=U[49]<<14|U[48]>>>18,U[0]=Ye^~_0&Ze,U[1]=He^~L0&I0,U[10]=Se^~u0&v0,U[11]=Qe^~qe&w0,U[20]=ze^~Ue&h0,U[21]=je^~b0&$e,U[30]=z0^~B0&s0,U[31]=Ke^~G0&X0,U[40]=p0^~Et&Tt,U[41]=et^~$0&Pn,U[2]=_0^~Ze&pe,U[3]=L0^~I0&he,U[12]=u0^~v0&Ve,U[13]=qe^~w0&be,U[22]=Ue^~h0&M0,U[23]=b0^~$e&P0,U[32]=B0^~s0&Y0,U[33]=G0^~X0&l0,U[42]=Et^~Tt&Ln,U[43]=$0^~Pn&Fn,U[4]=Ze^~pe&Te,U[5]=I0^~he&Ce,U[14]=v0^~Ve&ye,U[15]=w0^~be&_e,U[24]=h0^~M0&t0,U[25]=$e^~P0&j0,U[34]=s0^~Y0&K0,U[35]=X0^~l0&tt,U[44]=Tt^~Ln&Nn,U[45]=Pn^~Fn&On,U[6]=pe^~Te&Ye,U[7]=he^~Ce&He,U[16]=Ve^~ye&Se,U[17]=be^~_e&Qe,U[26]=M0^~t0&ze,U[27]=P0^~j0&je,U[36]=Y0^~K0&z0,U[37]=l0^~tt&Ke,U[46]=Ln^~Nn&p0,U[47]=Fn^~On&et,U[8]=Te^~Ye&_0,U[9]=Ce^~He&L0,U[18]=ye^~Se&u0,U[19]=_e^~Qe&qe,U[28]=t0^~ze&Ue,U[29]=j0^~je&b0,U[38]=K0^~z0&B0,U[39]=tt^~Ke&G0,U[48]=Nn^~p0&Et,U[49]=On^~et&$0,U[0]^=k[ne],U[1]^=k[ne+1]};if(s)t.exports=m;else for(P=0;PrQ[a])&&console.log.apply(console,n)}debug(...e){this._log(t.levels.DEBUG,e)}info(...e){this._log(t.levels.INFO,e)}warn(...e){this._log(t.levels.WARNING,e)}makeError(e,n,a){if(f10)return this.makeError("censored error",n,{});n||(n=t.errors.UNKNOWN_ERROR),a||(a={});let r=[];Object.keys(a).forEach(o=>{let c=a[o];try{if(c instanceof Uint8Array){let d="";for(let l=0;l>4],d+=o10[c[l]&15];r.push(o+"=Uint8Array(0x"+d+")")}else r.push(o+"="+JSON.stringify(c))}catch{r.push(o+"="+JSON.stringify(a[o].toString()))}}),r.push(`code=${n}`),r.push(`version=${this.version}`);let f=e,i="";switch(n){case Wl.NUMERIC_FAULT:{i="NUMERIC_FAULT";let o=e;switch(o){case"overflow":case"underflow":case"division-by-zero":i+="-"+o;break;case"negative-power":case"negative-width":i+="-unsupported";break;case"unbound-bitwise-result":i+="-unbound-result";break}break}case Wl.CALL_EXCEPTION:case Wl.INSUFFICIENT_FUNDS:case Wl.MISSING_NEW:case Wl.NONCE_EXPIRED:case Wl.REPLACEMENT_UNDERPRICED:case Wl.TRANSACTION_REPLACED:case Wl.UNPREDICTABLE_GAS_LIMIT:i=n;break}i&&(e+=" [ See: https://links.ethers.org/v5-errors-"+i+" ]"),r.length&&(e+=" ("+r.join(", ")+")");let s=new Error(e);return s.reason=f,s.code=n,Object.keys(a).forEach(function(o){s[o]=a[o]}),s}throwError(e,n,a){throw this.makeError(e,n,a)}throwArgumentError(e,n,a){return this.throwError(e,t.errors.INVALID_ARGUMENT,{argument:n,value:a})}assert(e,n,a,r){e||this.throwError(n,a,r)}assertArgument(e,n,a,r){e||this.throwArgumentError(n,a,r)}checkNormalize(e){s10&&this.throwError("platform missing String.prototype.normalize",t.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:s10})}checkSafeUint53(e,n){typeof e=="number"&&(n==null&&(n="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(n,t.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(n,t.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,n,a){a?a=": "+a:a="",en&&this.throwError("too many arguments"+a,t.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:n})}checkNew(e,n){(e===Object||e==null)&&this.throwError("missing new",t.errors.MISSING_NEW,{name:n.name})}checkAbstract(e,n){e===n?this.throwError("cannot instantiate abstract class "+JSON.stringify(n.name)+" directly; use a sub-class",t.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):(e===Object||e==null)&&this.throwError("missing new",t.errors.MISSING_NEW,{name:n.name})}static globalLogger(){return _le||(_le=new t(Rin)),_le}static setCensorship(e,n){if(!e&&n&&this.globalLogger().throwError("cannot permanently disable censorship",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),r10){if(!e)return;this.globalLogger().throwError("error censorship permanent",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}f10=!!e,r10=!!n}static setLogLevel(e){let n=rQ[e.toLowerCase()];if(n==null){t.globalLogger().warn("invalid log level - "+e);return}i10=n}static from(e){return new t(e)}};yf.errors=Wl,yf.levels=Ule;Bin="bytes/5.7.0",wi=new yf(Bin);Ale="0123456789abcdef";V10={exports:{}},Nin={},Oin=Object.freeze({__proto__:null,default:Nin}),Uin=kin(Oin);(function(t){(function(e,n){function a(w,m){if(!w)throw new Error(m||"Assertion failed")}function r(w,m){w.super_=m;var A=function(){};A.prototype=m.prototype,w.prototype=new A,w.prototype.constructor=w}function f(w,m,A){if(f.isBN(w))return w;this.negative=0,this.words=null,this.length=0,this.red=null,w!==null&&((m==="le"||m==="be")&&(A=m,m=10),this._init(w||0,m||10,A||"be"))}typeof e=="object"?e.exports=f:n.BN=f,f.BN=f,f.wordSize=26;var i;try{typeof window<"u"&&typeof window.Buffer<"u"?i=window.Buffer:i=Uin.Buffer}catch{}f.isBN=function(w){return w instanceof f?!0:w!==null&&typeof w=="object"&&w.constructor.wordSize===f.wordSize&&Array.isArray(w.words)},f.max=function(w,m){return w.cmp(m)>0?w:m},f.min=function(w,m){return w.cmp(m)<0?w:m},f.prototype._init=function(w,m,A){if(typeof w=="number")return this._initNumber(w,m,A);if(typeof w=="object")return this._initArray(w,m,A);m==="hex"&&(m=16),a(m===(m|0)&&m>=2&&m<=36),w=w.toString().replace(/\s+/g,"");var P=0;w[0]==="-"&&(P++,this.negative=1),P=0;P-=3)x=w[P]|w[P-1]<<8|w[P-2]<<16,this.words[L]|=x<>>26-g&67108863,g+=24,g>=26&&(g-=26,L++);else if(A==="le")for(P=0,L=0;P>>26-g&67108863,g+=24,g>=26&&(g-=26,L++);return this._strip()};function s(w,m){var A=w.charCodeAt(m);if(A>=48&&A<=57)return A-48;if(A>=65&&A<=70)return A-55;if(A>=97&&A<=102)return A-87;a(!1,"Invalid character in "+w)}function o(w,m,A){var P=s(w,A);return A-1>=m&&(P|=s(w,A-1)<<4),P}f.prototype._parseHex=function(w,m,A){this.length=Math.ceil((w.length-m)/6),this.words=new Array(this.length);for(var P=0;P=m;P-=2)g=o(w,m,P)<=18?(L-=18,x+=1,this.words[x]|=g>>>26):L+=8;else{var B=w.length-m;for(P=B%2===0?m+1:m;P=18?(L-=18,x+=1,this.words[x]|=g>>>26):L+=8}this._strip()};function c(w,m,A,P){for(var L=0,x=0,g=Math.min(w.length,A),B=m;B=49?x=M-49+10:M>=17?x=M-17+10:x=M,a(M>=0&&x1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},f.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{f.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch{f.prototype.inspect=l}else f.prototype.inspect=l;function l(){return(this.red?""}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],y=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];f.prototype.toString=function(w,m){w=w||10,m=m|0||1;var A;if(w===16||w==="hex"){A="";for(var P=0,L=0,x=0;x>>24-P&16777215,P+=2,P>=26&&(P-=26,x--),L!==0||x!==this.length-1?A=h[6-B.length]+B+A:A=B+A}for(L!==0&&(A=L.toString(16)+A);A.length%m!==0;)A="0"+A;return this.negative!==0&&(A="-"+A),A}if(w===(w|0)&&w>=2&&w<=36){var M=y[w],S=v[w];A="";var q=this.clone();for(q.negative=0;!q.isZero();){var ee=q.modrn(S).toString(w);q=q.idivn(S),q.isZero()?A=ee+A:A=h[M-ee.length]+ee+A}for(this.isZero()&&(A="0"+A);A.length%m!==0;)A="0"+A;return this.negative!==0&&(A="-"+A),A}a(!1,"Base should be between 2 and 36")},f.prototype.toNumber=function(){var w=this.words[0];return this.length===2?w+=this.words[1]*67108864:this.length===3&&this.words[2]===1?w+=4503599627370496+this.words[1]*67108864:this.length>2&&a(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-w:w},f.prototype.toJSON=function(){return this.toString(16,2)},i&&(f.prototype.toBuffer=function(w,m){return this.toArrayLike(i,w,m)}),f.prototype.toArray=function(w,m){return this.toArrayLike(Array,w,m)};var k=function(w,m){return w.allocUnsafe?w.allocUnsafe(m):new w(m)};f.prototype.toArrayLike=function(w,m,A){this._strip();var P=this.byteLength(),L=A||Math.max(1,P);a(P<=L,"byte array longer than desired length"),a(L>0,"Requested array length <= 0");var x=k(w,L),g=m==="le"?"LE":"BE";return this["_toArrayLike"+g](x,P),x},f.prototype._toArrayLikeLE=function(w,m){for(var A=0,P=0,L=0,x=0;L>8&255),A>16&255),x===6?(A>24&255),P=0,x=0):(P=g>>>24,x+=2)}if(A=0&&(w[A--]=g>>8&255),A>=0&&(w[A--]=g>>16&255),x===6?(A>=0&&(w[A--]=g>>24&255),P=0,x=0):(P=g>>>24,x+=2)}if(A>=0)for(w[A--]=P;A>=0;)w[A--]=0},Math.clz32?f.prototype._countBits=function(w){return 32-Math.clz32(w)}:f.prototype._countBits=function(w){var m=w,A=0;return m>=4096&&(A+=13,m>>>=13),m>=64&&(A+=7,m>>>=7),m>=8&&(A+=4,m>>>=4),m>=2&&(A+=2,m>>>=2),A+m},f.prototype._zeroBits=function(w){if(w===0)return 26;var m=w,A=0;return m&8191||(A+=13,m>>>=13),m&127||(A+=7,m>>>=7),m&15||(A+=4,m>>>=4),m&3||(A+=2,m>>>=2),m&1||A++,A},f.prototype.bitLength=function(){var w=this.words[this.length-1],m=this._countBits(w);return(this.length-1)*26+m};function O(w){for(var m=new Array(w.bitLength()),A=0;A>>L&1}return m}f.prototype.zeroBits=function(){if(this.isZero())return 0;for(var w=0,m=0;mw.length?this.clone().ior(w):w.clone().ior(this)},f.prototype.uor=function(w){return this.length>w.length?this.clone().iuor(w):w.clone().iuor(this)},f.prototype.iuand=function(w){var m;this.length>w.length?m=w:m=this;for(var A=0;Aw.length?this.clone().iand(w):w.clone().iand(this)},f.prototype.uand=function(w){return this.length>w.length?this.clone().iuand(w):w.clone().iuand(this)},f.prototype.iuxor=function(w){var m,A;this.length>w.length?(m=this,A=w):(m=w,A=this);for(var P=0;Pw.length?this.clone().ixor(w):w.clone().ixor(this)},f.prototype.uxor=function(w){return this.length>w.length?this.clone().iuxor(w):w.clone().iuxor(this)},f.prototype.inotn=function(w){a(typeof w=="number"&&w>=0);var m=Math.ceil(w/26)|0,A=w%26;this._expand(m),A>0&&m--;for(var P=0;P0&&(this.words[P]=~this.words[P]&67108863>>26-A),this._strip()},f.prototype.notn=function(w){return this.clone().inotn(w)},f.prototype.setn=function(w,m){a(typeof w=="number"&&w>=0);var A=w/26|0,P=w%26;return this._expand(A+1),m?this.words[A]=this.words[A]|1<w.length?(A=this,P=w):(A=w,P=this);for(var L=0,x=0;x>>26;for(;L!==0&&x>>26;if(this.length=A.length,L!==0)this.words[this.length]=L,this.length++;else if(A!==this)for(;xw.length?this.clone().iadd(w):w.clone().iadd(this)},f.prototype.isub=function(w){if(w.negative!==0){w.negative=0;var m=this.iadd(w);return w.negative=1,m._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(w),this.negative=1,this._normSign();var A=this.cmp(w);if(A===0)return this.negative=0,this.length=1,this.words[0]=0,this;var P,L;A>0?(P=this,L=w):(P=w,L=this);for(var x=0,g=0;g>26,this.words[g]=m&67108863;for(;x!==0&&g>26,this.words[g]=m&67108863;if(x===0&&g>>26,ee=M&67108863,U=Math.min(S,m.length-1),J=Math.max(0,S-w.length+1);J<=U;J++){var Z=S-J|0;L=w.words[Z]|0,x=m.words[J]|0,g=L*x+ee,q+=g/67108864|0,ee=g&67108863}A.words[S]=ee|0,M=q|0}return M!==0?A.words[S]=M|0:A.length--,A._strip()}var z=function(w,m,A){var P=w.words,L=m.words,x=A.words,g=0,B,M,S,q=P[0]|0,ee=q&8191,U=q>>>13,J=P[1]|0,Z=J&8191,ne=J>>>13,ue=P[2]|0,Y=ue&8191,re=ue>>>13,ie=P[3]|0,ge=ie&8191,de=ie>>>13,Ae=P[4]|0,Ge=Ae&8191,Be=Ae>>>13,c0=P[5]|0,Ye=c0&8191,He=c0>>>13,_0=P[6]|0,L0=_0&8191,Ze=_0>>>13,I0=P[7]|0,pe=I0&8191,he=I0>>>13,Te=P[8]|0,Ce=Te&8191,Se=Te>>>13,Qe=P[9]|0,u0=Qe&8191,qe=Qe>>>13,v0=L[0]|0,w0=v0&8191,Ve=v0>>>13,be=L[1]|0,ye=be&8191,_e=be>>>13,ze=L[2]|0,je=ze&8191,Ue=ze>>>13,b0=L[3]|0,h0=b0&8191,$e=b0>>>13,M0=L[4]|0,P0=M0&8191,t0=M0>>>13,j0=L[5]|0,z0=j0&8191,Ke=j0>>>13,B0=L[6]|0,G0=B0&8191,s0=B0>>>13,X0=L[7]|0,Y0=X0&8191,l0=X0>>>13,K0=L[8]|0,tt=K0&8191,p0=K0>>>13,et=L[9]|0,Et=et&8191,$0=et>>>13;A.negative=w.negative^m.negative,A.length=19,B=Math.imul(ee,w0),M=Math.imul(ee,Ve),M=M+Math.imul(U,w0)|0,S=Math.imul(U,Ve);var Tt=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,B=Math.imul(Z,w0),M=Math.imul(Z,Ve),M=M+Math.imul(ne,w0)|0,S=Math.imul(ne,Ve),B=B+Math.imul(ee,ye)|0,M=M+Math.imul(ee,_e)|0,M=M+Math.imul(U,ye)|0,S=S+Math.imul(U,_e)|0;var Pn=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,B=Math.imul(Y,w0),M=Math.imul(Y,Ve),M=M+Math.imul(re,w0)|0,S=Math.imul(re,Ve),B=B+Math.imul(Z,ye)|0,M=M+Math.imul(Z,_e)|0,M=M+Math.imul(ne,ye)|0,S=S+Math.imul(ne,_e)|0,B=B+Math.imul(ee,je)|0,M=M+Math.imul(ee,Ue)|0,M=M+Math.imul(U,je)|0,S=S+Math.imul(U,Ue)|0;var Ln=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,B=Math.imul(ge,w0),M=Math.imul(ge,Ve),M=M+Math.imul(de,w0)|0,S=Math.imul(de,Ve),B=B+Math.imul(Y,ye)|0,M=M+Math.imul(Y,_e)|0,M=M+Math.imul(re,ye)|0,S=S+Math.imul(re,_e)|0,B=B+Math.imul(Z,je)|0,M=M+Math.imul(Z,Ue)|0,M=M+Math.imul(ne,je)|0,S=S+Math.imul(ne,Ue)|0,B=B+Math.imul(ee,h0)|0,M=M+Math.imul(ee,$e)|0,M=M+Math.imul(U,h0)|0,S=S+Math.imul(U,$e)|0;var Fn=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,B=Math.imul(Ge,w0),M=Math.imul(Ge,Ve),M=M+Math.imul(Be,w0)|0,S=Math.imul(Be,Ve),B=B+Math.imul(ge,ye)|0,M=M+Math.imul(ge,_e)|0,M=M+Math.imul(de,ye)|0,S=S+Math.imul(de,_e)|0,B=B+Math.imul(Y,je)|0,M=M+Math.imul(Y,Ue)|0,M=M+Math.imul(re,je)|0,S=S+Math.imul(re,Ue)|0,B=B+Math.imul(Z,h0)|0,M=M+Math.imul(Z,$e)|0,M=M+Math.imul(ne,h0)|0,S=S+Math.imul(ne,$e)|0,B=B+Math.imul(ee,P0)|0,M=M+Math.imul(ee,t0)|0,M=M+Math.imul(U,P0)|0,S=S+Math.imul(U,t0)|0;var Nn=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Nn>>>26)|0,Nn&=67108863,B=Math.imul(Ye,w0),M=Math.imul(Ye,Ve),M=M+Math.imul(He,w0)|0,S=Math.imul(He,Ve),B=B+Math.imul(Ge,ye)|0,M=M+Math.imul(Ge,_e)|0,M=M+Math.imul(Be,ye)|0,S=S+Math.imul(Be,_e)|0,B=B+Math.imul(ge,je)|0,M=M+Math.imul(ge,Ue)|0,M=M+Math.imul(de,je)|0,S=S+Math.imul(de,Ue)|0,B=B+Math.imul(Y,h0)|0,M=M+Math.imul(Y,$e)|0,M=M+Math.imul(re,h0)|0,S=S+Math.imul(re,$e)|0,B=B+Math.imul(Z,P0)|0,M=M+Math.imul(Z,t0)|0,M=M+Math.imul(ne,P0)|0,S=S+Math.imul(ne,t0)|0,B=B+Math.imul(ee,z0)|0,M=M+Math.imul(ee,Ke)|0,M=M+Math.imul(U,z0)|0,S=S+Math.imul(U,Ke)|0;var On=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(On>>>26)|0,On&=67108863,B=Math.imul(L0,w0),M=Math.imul(L0,Ve),M=M+Math.imul(Ze,w0)|0,S=Math.imul(Ze,Ve),B=B+Math.imul(Ye,ye)|0,M=M+Math.imul(Ye,_e)|0,M=M+Math.imul(He,ye)|0,S=S+Math.imul(He,_e)|0,B=B+Math.imul(Ge,je)|0,M=M+Math.imul(Ge,Ue)|0,M=M+Math.imul(Be,je)|0,S=S+Math.imul(Be,Ue)|0,B=B+Math.imul(ge,h0)|0,M=M+Math.imul(ge,$e)|0,M=M+Math.imul(de,h0)|0,S=S+Math.imul(de,$e)|0,B=B+Math.imul(Y,P0)|0,M=M+Math.imul(Y,t0)|0,M=M+Math.imul(re,P0)|0,S=S+Math.imul(re,t0)|0,B=B+Math.imul(Z,z0)|0,M=M+Math.imul(Z,Ke)|0,M=M+Math.imul(ne,z0)|0,S=S+Math.imul(ne,Ke)|0,B=B+Math.imul(ee,G0)|0,M=M+Math.imul(ee,s0)|0,M=M+Math.imul(U,G0)|0,S=S+Math.imul(U,s0)|0;var Ha=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Ha>>>26)|0,Ha&=67108863,B=Math.imul(pe,w0),M=Math.imul(pe,Ve),M=M+Math.imul(he,w0)|0,S=Math.imul(he,Ve),B=B+Math.imul(L0,ye)|0,M=M+Math.imul(L0,_e)|0,M=M+Math.imul(Ze,ye)|0,S=S+Math.imul(Ze,_e)|0,B=B+Math.imul(Ye,je)|0,M=M+Math.imul(Ye,Ue)|0,M=M+Math.imul(He,je)|0,S=S+Math.imul(He,Ue)|0,B=B+Math.imul(Ge,h0)|0,M=M+Math.imul(Ge,$e)|0,M=M+Math.imul(Be,h0)|0,S=S+Math.imul(Be,$e)|0,B=B+Math.imul(ge,P0)|0,M=M+Math.imul(ge,t0)|0,M=M+Math.imul(de,P0)|0,S=S+Math.imul(de,t0)|0,B=B+Math.imul(Y,z0)|0,M=M+Math.imul(Y,Ke)|0,M=M+Math.imul(re,z0)|0,S=S+Math.imul(re,Ke)|0,B=B+Math.imul(Z,G0)|0,M=M+Math.imul(Z,s0)|0,M=M+Math.imul(ne,G0)|0,S=S+Math.imul(ne,s0)|0,B=B+Math.imul(ee,Y0)|0,M=M+Math.imul(ee,l0)|0,M=M+Math.imul(U,Y0)|0,S=S+Math.imul(U,l0)|0;var pr=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(pr>>>26)|0,pr&=67108863,B=Math.imul(Ce,w0),M=Math.imul(Ce,Ve),M=M+Math.imul(Se,w0)|0,S=Math.imul(Se,Ve),B=B+Math.imul(pe,ye)|0,M=M+Math.imul(pe,_e)|0,M=M+Math.imul(he,ye)|0,S=S+Math.imul(he,_e)|0,B=B+Math.imul(L0,je)|0,M=M+Math.imul(L0,Ue)|0,M=M+Math.imul(Ze,je)|0,S=S+Math.imul(Ze,Ue)|0,B=B+Math.imul(Ye,h0)|0,M=M+Math.imul(Ye,$e)|0,M=M+Math.imul(He,h0)|0,S=S+Math.imul(He,$e)|0,B=B+Math.imul(Ge,P0)|0,M=M+Math.imul(Ge,t0)|0,M=M+Math.imul(Be,P0)|0,S=S+Math.imul(Be,t0)|0,B=B+Math.imul(ge,z0)|0,M=M+Math.imul(ge,Ke)|0,M=M+Math.imul(de,z0)|0,S=S+Math.imul(de,Ke)|0,B=B+Math.imul(Y,G0)|0,M=M+Math.imul(Y,s0)|0,M=M+Math.imul(re,G0)|0,S=S+Math.imul(re,s0)|0,B=B+Math.imul(Z,Y0)|0,M=M+Math.imul(Z,l0)|0,M=M+Math.imul(ne,Y0)|0,S=S+Math.imul(ne,l0)|0,B=B+Math.imul(ee,tt)|0,M=M+Math.imul(ee,p0)|0,M=M+Math.imul(U,tt)|0,S=S+Math.imul(U,p0)|0;var za=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(za>>>26)|0,za&=67108863,B=Math.imul(u0,w0),M=Math.imul(u0,Ve),M=M+Math.imul(qe,w0)|0,S=Math.imul(qe,Ve),B=B+Math.imul(Ce,ye)|0,M=M+Math.imul(Ce,_e)|0,M=M+Math.imul(Se,ye)|0,S=S+Math.imul(Se,_e)|0,B=B+Math.imul(pe,je)|0,M=M+Math.imul(pe,Ue)|0,M=M+Math.imul(he,je)|0,S=S+Math.imul(he,Ue)|0,B=B+Math.imul(L0,h0)|0,M=M+Math.imul(L0,$e)|0,M=M+Math.imul(Ze,h0)|0,S=S+Math.imul(Ze,$e)|0,B=B+Math.imul(Ye,P0)|0,M=M+Math.imul(Ye,t0)|0,M=M+Math.imul(He,P0)|0,S=S+Math.imul(He,t0)|0,B=B+Math.imul(Ge,z0)|0,M=M+Math.imul(Ge,Ke)|0,M=M+Math.imul(Be,z0)|0,S=S+Math.imul(Be,Ke)|0,B=B+Math.imul(ge,G0)|0,M=M+Math.imul(ge,s0)|0,M=M+Math.imul(de,G0)|0,S=S+Math.imul(de,s0)|0,B=B+Math.imul(Y,Y0)|0,M=M+Math.imul(Y,l0)|0,M=M+Math.imul(re,Y0)|0,S=S+Math.imul(re,l0)|0,B=B+Math.imul(Z,tt)|0,M=M+Math.imul(Z,p0)|0,M=M+Math.imul(ne,tt)|0,S=S+Math.imul(ne,p0)|0,B=B+Math.imul(ee,Et)|0,M=M+Math.imul(ee,$0)|0,M=M+Math.imul(U,Et)|0,S=S+Math.imul(U,$0)|0;var hr=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(hr>>>26)|0,hr&=67108863,B=Math.imul(u0,ye),M=Math.imul(u0,_e),M=M+Math.imul(qe,ye)|0,S=Math.imul(qe,_e),B=B+Math.imul(Ce,je)|0,M=M+Math.imul(Ce,Ue)|0,M=M+Math.imul(Se,je)|0,S=S+Math.imul(Se,Ue)|0,B=B+Math.imul(pe,h0)|0,M=M+Math.imul(pe,$e)|0,M=M+Math.imul(he,h0)|0,S=S+Math.imul(he,$e)|0,B=B+Math.imul(L0,P0)|0,M=M+Math.imul(L0,t0)|0,M=M+Math.imul(Ze,P0)|0,S=S+Math.imul(Ze,t0)|0,B=B+Math.imul(Ye,z0)|0,M=M+Math.imul(Ye,Ke)|0,M=M+Math.imul(He,z0)|0,S=S+Math.imul(He,Ke)|0,B=B+Math.imul(Ge,G0)|0,M=M+Math.imul(Ge,s0)|0,M=M+Math.imul(Be,G0)|0,S=S+Math.imul(Be,s0)|0,B=B+Math.imul(ge,Y0)|0,M=M+Math.imul(ge,l0)|0,M=M+Math.imul(de,Y0)|0,S=S+Math.imul(de,l0)|0,B=B+Math.imul(Y,tt)|0,M=M+Math.imul(Y,p0)|0,M=M+Math.imul(re,tt)|0,S=S+Math.imul(re,p0)|0,B=B+Math.imul(Z,Et)|0,M=M+Math.imul(Z,$0)|0,M=M+Math.imul(ne,Et)|0,S=S+Math.imul(ne,$0)|0;var ar=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(ar>>>26)|0,ar&=67108863,B=Math.imul(u0,je),M=Math.imul(u0,Ue),M=M+Math.imul(qe,je)|0,S=Math.imul(qe,Ue),B=B+Math.imul(Ce,h0)|0,M=M+Math.imul(Ce,$e)|0,M=M+Math.imul(Se,h0)|0,S=S+Math.imul(Se,$e)|0,B=B+Math.imul(pe,P0)|0,M=M+Math.imul(pe,t0)|0,M=M+Math.imul(he,P0)|0,S=S+Math.imul(he,t0)|0,B=B+Math.imul(L0,z0)|0,M=M+Math.imul(L0,Ke)|0,M=M+Math.imul(Ze,z0)|0,S=S+Math.imul(Ze,Ke)|0,B=B+Math.imul(Ye,G0)|0,M=M+Math.imul(Ye,s0)|0,M=M+Math.imul(He,G0)|0,S=S+Math.imul(He,s0)|0,B=B+Math.imul(Ge,Y0)|0,M=M+Math.imul(Ge,l0)|0,M=M+Math.imul(Be,Y0)|0,S=S+Math.imul(Be,l0)|0,B=B+Math.imul(ge,tt)|0,M=M+Math.imul(ge,p0)|0,M=M+Math.imul(de,tt)|0,S=S+Math.imul(de,p0)|0,B=B+Math.imul(Y,Et)|0,M=M+Math.imul(Y,$0)|0,M=M+Math.imul(re,Et)|0,S=S+Math.imul(re,$0)|0;var Cr=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,B=Math.imul(u0,h0),M=Math.imul(u0,$e),M=M+Math.imul(qe,h0)|0,S=Math.imul(qe,$e),B=B+Math.imul(Ce,P0)|0,M=M+Math.imul(Ce,t0)|0,M=M+Math.imul(Se,P0)|0,S=S+Math.imul(Se,t0)|0,B=B+Math.imul(pe,z0)|0,M=M+Math.imul(pe,Ke)|0,M=M+Math.imul(he,z0)|0,S=S+Math.imul(he,Ke)|0,B=B+Math.imul(L0,G0)|0,M=M+Math.imul(L0,s0)|0,M=M+Math.imul(Ze,G0)|0,S=S+Math.imul(Ze,s0)|0,B=B+Math.imul(Ye,Y0)|0,M=M+Math.imul(Ye,l0)|0,M=M+Math.imul(He,Y0)|0,S=S+Math.imul(He,l0)|0,B=B+Math.imul(Ge,tt)|0,M=M+Math.imul(Ge,p0)|0,M=M+Math.imul(Be,tt)|0,S=S+Math.imul(Be,p0)|0,B=B+Math.imul(ge,Et)|0,M=M+Math.imul(ge,$0)|0,M=M+Math.imul(de,Et)|0,S=S+Math.imul(de,$0)|0;var Jr=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Jr>>>26)|0,Jr&=67108863,B=Math.imul(u0,P0),M=Math.imul(u0,t0),M=M+Math.imul(qe,P0)|0,S=Math.imul(qe,t0),B=B+Math.imul(Ce,z0)|0,M=M+Math.imul(Ce,Ke)|0,M=M+Math.imul(Se,z0)|0,S=S+Math.imul(Se,Ke)|0,B=B+Math.imul(pe,G0)|0,M=M+Math.imul(pe,s0)|0,M=M+Math.imul(he,G0)|0,S=S+Math.imul(he,s0)|0,B=B+Math.imul(L0,Y0)|0,M=M+Math.imul(L0,l0)|0,M=M+Math.imul(Ze,Y0)|0,S=S+Math.imul(Ze,l0)|0,B=B+Math.imul(Ye,tt)|0,M=M+Math.imul(Ye,p0)|0,M=M+Math.imul(He,tt)|0,S=S+Math.imul(He,p0)|0,B=B+Math.imul(Ge,Et)|0,M=M+Math.imul(Ge,$0)|0,M=M+Math.imul(Be,Et)|0,S=S+Math.imul(Be,$0)|0;var rr=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(rr>>>26)|0,rr&=67108863,B=Math.imul(u0,z0),M=Math.imul(u0,Ke),M=M+Math.imul(qe,z0)|0,S=Math.imul(qe,Ke),B=B+Math.imul(Ce,G0)|0,M=M+Math.imul(Ce,s0)|0,M=M+Math.imul(Se,G0)|0,S=S+Math.imul(Se,s0)|0,B=B+Math.imul(pe,Y0)|0,M=M+Math.imul(pe,l0)|0,M=M+Math.imul(he,Y0)|0,S=S+Math.imul(he,l0)|0,B=B+Math.imul(L0,tt)|0,M=M+Math.imul(L0,p0)|0,M=M+Math.imul(Ze,tt)|0,S=S+Math.imul(Ze,p0)|0,B=B+Math.imul(Ye,Et)|0,M=M+Math.imul(Ye,$0)|0,M=M+Math.imul(He,Et)|0,S=S+Math.imul(He,$0)|0;var of=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(of>>>26)|0,of&=67108863,B=Math.imul(u0,G0),M=Math.imul(u0,s0),M=M+Math.imul(qe,G0)|0,S=Math.imul(qe,s0),B=B+Math.imul(Ce,Y0)|0,M=M+Math.imul(Ce,l0)|0,M=M+Math.imul(Se,Y0)|0,S=S+Math.imul(Se,l0)|0,B=B+Math.imul(pe,tt)|0,M=M+Math.imul(pe,p0)|0,M=M+Math.imul(he,tt)|0,S=S+Math.imul(he,p0)|0,B=B+Math.imul(L0,Et)|0,M=M+Math.imul(L0,$0)|0,M=M+Math.imul(Ze,Et)|0,S=S+Math.imul(Ze,$0)|0;var jf=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(jf>>>26)|0,jf&=67108863,B=Math.imul(u0,Y0),M=Math.imul(u0,l0),M=M+Math.imul(qe,Y0)|0,S=Math.imul(qe,l0),B=B+Math.imul(Ce,tt)|0,M=M+Math.imul(Ce,p0)|0,M=M+Math.imul(Se,tt)|0,S=S+Math.imul(Se,p0)|0,B=B+Math.imul(pe,Et)|0,M=M+Math.imul(pe,$0)|0,M=M+Math.imul(he,Et)|0,S=S+Math.imul(he,$0)|0;var Gs=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Gs>>>26)|0,Gs&=67108863,B=Math.imul(u0,tt),M=Math.imul(u0,p0),M=M+Math.imul(qe,tt)|0,S=Math.imul(qe,p0),B=B+Math.imul(Ce,Et)|0,M=M+Math.imul(Ce,$0)|0,M=M+Math.imul(Se,Et)|0,S=S+Math.imul(Se,$0)|0;var Hd=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Hd>>>26)|0,Hd&=67108863,B=Math.imul(u0,Et),M=Math.imul(u0,$0),M=M+Math.imul(qe,Et)|0,S=Math.imul(qe,$0);var zd=(g+B|0)+((M&8191)<<13)|0;return g=(S+(M>>>13)|0)+(zd>>>26)|0,zd&=67108863,x[0]=Tt,x[1]=Pn,x[2]=Ln,x[3]=Fn,x[4]=Nn,x[5]=On,x[6]=Ha,x[7]=pr,x[8]=za,x[9]=hr,x[10]=ar,x[11]=Cr,x[12]=Jr,x[13]=rr,x[14]=of,x[15]=jf,x[16]=Gs,x[17]=Hd,x[18]=zd,g!==0&&(x[19]=g,A.length++),A};Math.imul||(z=F);function W(w,m,A){A.negative=m.negative^w.negative,A.length=w.length+m.length;for(var P=0,L=0,x=0;x>>26)|0,L+=g>>>26,g&=67108863}A.words[x]=B,P=g,g=L}return P!==0?A.words[x]=P:A.length--,A._strip()}function j(w,m,A){return W(w,m,A)}f.prototype.mulTo=function(w,m){var A,P=this.length+w.length;return this.length===10&&w.length===10?A=z(this,w,m):P<63?A=F(this,w,m):P<1024?A=W(this,w,m):A=j(this,w,m),A},f.prototype.mul=function(w){var m=new f(null);return m.words=new Array(this.length+w.length),this.mulTo(w,m)},f.prototype.mulf=function(w){var m=new f(null);return m.words=new Array(this.length+w.length),j(this,w,m)},f.prototype.imul=function(w){return this.clone().mulTo(w,this)},f.prototype.imuln=function(w){var m=w<0;m&&(w=-w),a(typeof w=="number"),a(w<67108864);for(var A=0,P=0;P>=26,A+=L/67108864|0,A+=x>>>26,this.words[P]=x&67108863}return A!==0&&(this.words[P]=A,this.length++),m?this.ineg():this},f.prototype.muln=function(w){return this.clone().imuln(w)},f.prototype.sqr=function(){return this.mul(this)},f.prototype.isqr=function(){return this.imul(this.clone())},f.prototype.pow=function(w){var m=O(w);if(m.length===0)return new f(1);for(var A=this,P=0;P=0);var m=w%26,A=(w-m)/26,P=67108863>>>26-m<<26-m,L;if(m!==0){var x=0;for(L=0;L>>26-m}x&&(this.words[L]=x,this.length++)}if(A!==0){for(L=this.length-1;L>=0;L--)this.words[L+A]=this.words[L];for(L=0;L=0);var P;m?P=(m-m%26)/26:P=0;var L=w%26,x=Math.min((w-L)/26,this.length),g=67108863^67108863>>>L<x)for(this.length-=x,M=0;M=0&&(S!==0||M>=P);M--){var q=this.words[M]|0;this.words[M]=S<<26-L|q>>>L,S=q&g}return B&&S!==0&&(B.words[B.length++]=S),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},f.prototype.ishrn=function(w,m,A){return a(this.negative===0),this.iushrn(w,m,A)},f.prototype.shln=function(w){return this.clone().ishln(w)},f.prototype.ushln=function(w){return this.clone().iushln(w)},f.prototype.shrn=function(w){return this.clone().ishrn(w)},f.prototype.ushrn=function(w){return this.clone().iushrn(w)},f.prototype.testn=function(w){a(typeof w=="number"&&w>=0);var m=w%26,A=(w-m)/26,P=1<=0);var m=w%26,A=(w-m)/26;if(a(this.negative===0,"imaskn works only with positive numbers"),this.length<=A)return this;if(m!==0&&A++,this.length=Math.min(A,this.length),m!==0){var P=67108863^67108863>>>m<=67108864;m++)this.words[m]-=67108864,m===this.length-1?this.words[m+1]=1:this.words[m+1]++;return this.length=Math.max(this.length,m+1),this},f.prototype.isubn=function(w){if(a(typeof w=="number"),a(w<67108864),w<0)return this.iaddn(-w);if(this.negative!==0)return this.negative=0,this.iaddn(w),this.negative=1,this;if(this.words[0]-=w,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var m=0;m>26)-(B/67108864|0),this.words[L+A]=x&67108863}for(;L>26,this.words[L+A]=x&67108863;if(g===0)return this._strip();for(a(g===-1),g=0,L=0;L>26,this.words[L]=x&67108863;return this.negative=1,this._strip()},f.prototype._wordDiv=function(w,m){var A=this.length-w.length,P=this.clone(),L=w,x=L.words[L.length-1]|0,g=this._countBits(x);A=26-g,A!==0&&(L=L.ushln(A),P.iushln(A),x=L.words[L.length-1]|0);var B=P.length-L.length,M;if(m!=="mod"){M=new f(null),M.length=B+1,M.words=new Array(M.length);for(var S=0;S=0;ee--){var U=(P.words[L.length+ee]|0)*67108864+(P.words[L.length+ee-1]|0);for(U=Math.min(U/x|0,67108863),P._ishlnsubmul(L,U,ee);P.negative!==0;)U--,P.negative=0,P._ishlnsubmul(L,1,ee),P.isZero()||(P.negative^=1);M&&(M.words[ee]=U)}return M&&M._strip(),P._strip(),m!=="div"&&A!==0&&P.iushrn(A),{div:M||null,mod:P}},f.prototype.divmod=function(w,m,A){if(a(!w.isZero()),this.isZero())return{div:new f(0),mod:new f(0)};var P,L,x;return this.negative!==0&&w.negative===0?(x=this.neg().divmod(w,m),m!=="mod"&&(P=x.div.neg()),m!=="div"&&(L=x.mod.neg(),A&&L.negative!==0&&L.iadd(w)),{div:P,mod:L}):this.negative===0&&w.negative!==0?(x=this.divmod(w.neg(),m),m!=="mod"&&(P=x.div.neg()),{div:P,mod:x.mod}):this.negative&w.negative?(x=this.neg().divmod(w.neg(),m),m!=="div"&&(L=x.mod.neg(),A&&L.negative!==0&&L.isub(w)),{div:x.div,mod:L}):w.length>this.length||this.cmp(w)<0?{div:new f(0),mod:this}:w.length===1?m==="div"?{div:this.divn(w.words[0]),mod:null}:m==="mod"?{div:null,mod:new f(this.modrn(w.words[0]))}:{div:this.divn(w.words[0]),mod:new f(this.modrn(w.words[0]))}:this._wordDiv(w,m)},f.prototype.div=function(w){return this.divmod(w,"div",!1).div},f.prototype.mod=function(w){return this.divmod(w,"mod",!1).mod},f.prototype.umod=function(w){return this.divmod(w,"mod",!0).mod},f.prototype.divRound=function(w){var m=this.divmod(w);if(m.mod.isZero())return m.div;var A=m.div.negative!==0?m.mod.isub(w):m.mod,P=w.ushrn(1),L=w.andln(1),x=A.cmp(P);return x<0||L===1&&x===0?m.div:m.div.negative!==0?m.div.isubn(1):m.div.iaddn(1)},f.prototype.modrn=function(w){var m=w<0;m&&(w=-w),a(w<=67108863);for(var A=(1<<26)%w,P=0,L=this.length-1;L>=0;L--)P=(A*P+(this.words[L]|0))%w;return m?-P:P},f.prototype.modn=function(w){return this.modrn(w)},f.prototype.idivn=function(w){var m=w<0;m&&(w=-w),a(w<=67108863);for(var A=0,P=this.length-1;P>=0;P--){var L=(this.words[P]|0)+A*67108864;this.words[P]=L/w|0,A=L%w}return this._strip(),m?this.ineg():this},f.prototype.divn=function(w){return this.clone().idivn(w)},f.prototype.egcd=function(w){a(w.negative===0),a(!w.isZero());var m=this,A=w.clone();m.negative!==0?m=m.umod(w):m=m.clone();for(var P=new f(1),L=new f(0),x=new f(0),g=new f(1),B=0;m.isEven()&&A.isEven();)m.iushrn(1),A.iushrn(1),++B;for(var M=A.clone(),S=m.clone();!m.isZero();){for(var q=0,ee=1;!(m.words[0]&ee)&&q<26;++q,ee<<=1);if(q>0)for(m.iushrn(q);q-- >0;)(P.isOdd()||L.isOdd())&&(P.iadd(M),L.isub(S)),P.iushrn(1),L.iushrn(1);for(var U=0,J=1;!(A.words[0]&J)&&U<26;++U,J<<=1);if(U>0)for(A.iushrn(U);U-- >0;)(x.isOdd()||g.isOdd())&&(x.iadd(M),g.isub(S)),x.iushrn(1),g.iushrn(1);m.cmp(A)>=0?(m.isub(A),P.isub(x),L.isub(g)):(A.isub(m),x.isub(P),g.isub(L))}return{a:x,b:g,gcd:A.iushln(B)}},f.prototype._invmp=function(w){a(w.negative===0),a(!w.isZero());var m=this,A=w.clone();m.negative!==0?m=m.umod(w):m=m.clone();for(var P=new f(1),L=new f(0),x=A.clone();m.cmpn(1)>0&&A.cmpn(1)>0;){for(var g=0,B=1;!(m.words[0]&B)&&g<26;++g,B<<=1);if(g>0)for(m.iushrn(g);g-- >0;)P.isOdd()&&P.iadd(x),P.iushrn(1);for(var M=0,S=1;!(A.words[0]&S)&&M<26;++M,S<<=1);if(M>0)for(A.iushrn(M);M-- >0;)L.isOdd()&&L.iadd(x),L.iushrn(1);m.cmp(A)>=0?(m.isub(A),P.isub(L)):(A.isub(m),L.isub(P))}var q;return m.cmpn(1)===0?q=P:q=L,q.cmpn(0)<0&&q.iadd(w),q},f.prototype.gcd=function(w){if(this.isZero())return w.abs();if(w.isZero())return this.abs();var m=this.clone(),A=w.clone();m.negative=0,A.negative=0;for(var P=0;m.isEven()&&A.isEven();P++)m.iushrn(1),A.iushrn(1);do{for(;m.isEven();)m.iushrn(1);for(;A.isEven();)A.iushrn(1);var L=m.cmp(A);if(L<0){var x=m;m=A,A=x}else if(L===0||A.cmpn(1)===0)break;m.isub(A)}while(!0);return A.iushln(P)},f.prototype.invm=function(w){return this.egcd(w).a.umod(w)},f.prototype.isEven=function(){return(this.words[0]&1)===0},f.prototype.isOdd=function(){return(this.words[0]&1)===1},f.prototype.andln=function(w){return this.words[0]&w},f.prototype.bincn=function(w){a(typeof w=="number");var m=w%26,A=(w-m)/26,P=1<>>26,g&=67108863,this.words[x]=g}return L!==0&&(this.words[x]=L,this.length++),this},f.prototype.isZero=function(){return this.length===1&&this.words[0]===0},f.prototype.cmpn=function(w){var m=w<0;if(this.negative!==0&&!m)return-1;if(this.negative===0&&m)return 1;this._strip();var A;if(this.length>1)A=1;else{m&&(w=-w),a(w<=67108863,"Number is too big");var P=this.words[0]|0;A=P===w?0:Pw.length)return 1;if(this.length=0;A--){var P=this.words[A]|0,L=w.words[A]|0;if(P!==L){PL&&(m=1);break}}return m},f.prototype.gtn=function(w){return this.cmpn(w)===1},f.prototype.gt=function(w){return this.cmp(w)===1},f.prototype.gten=function(w){return this.cmpn(w)>=0},f.prototype.gte=function(w){return this.cmp(w)>=0},f.prototype.ltn=function(w){return this.cmpn(w)===-1},f.prototype.lt=function(w){return this.cmp(w)===-1},f.prototype.lten=function(w){return this.cmpn(w)<=0},f.prototype.lte=function(w){return this.cmp(w)<=0},f.prototype.eqn=function(w){return this.cmpn(w)===0},f.prototype.eq=function(w){return this.cmp(w)===0},f.red=function(w){return new T(w)},f.prototype.toRed=function(w){return a(!this.red,"Already a number in reduction context"),a(this.negative===0,"red works only with positives"),w.convertTo(this)._forceRed(w)},f.prototype.fromRed=function(){return a(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},f.prototype._forceRed=function(w){return this.red=w,this},f.prototype.forceRed=function(w){return a(!this.red,"Already a number in reduction context"),this._forceRed(w)},f.prototype.redAdd=function(w){return a(this.red,"redAdd works only with red numbers"),this.red.add(this,w)},f.prototype.redIAdd=function(w){return a(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,w)},f.prototype.redSub=function(w){return a(this.red,"redSub works only with red numbers"),this.red.sub(this,w)},f.prototype.redISub=function(w){return a(this.red,"redISub works only with red numbers"),this.red.isub(this,w)},f.prototype.redShl=function(w){return a(this.red,"redShl works only with red numbers"),this.red.shl(this,w)},f.prototype.redMul=function(w){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,w),this.red.mul(this,w)},f.prototype.redIMul=function(w){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,w),this.red.imul(this,w)},f.prototype.redSqr=function(){return a(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},f.prototype.redISqr=function(){return a(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},f.prototype.redSqrt=function(){return a(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},f.prototype.redInvm=function(){return a(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},f.prototype.redNeg=function(){return a(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},f.prototype.redPow=function(w){return a(this.red&&!w.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,w)};var Q={k256:null,p224:null,p192:null,p25519:null};function V(w,m){this.name=w,this.p=new f(m,16),this.n=this.p.bitLength(),this.k=new f(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}V.prototype._tmp=function(){var w=new f(null);return w.words=new Array(Math.ceil(this.n/13)),w},V.prototype.ireduce=function(w){var m=w,A;do this.split(m,this.tmp),m=this.imulK(m),m=m.iadd(this.tmp),A=m.bitLength();while(A>this.n);var P=A0?m.isub(this.p):m.strip!==void 0?m.strip():m._strip(),m},V.prototype.split=function(w,m){w.iushrn(this.n,0,m)},V.prototype.imulK=function(w){return w.imul(this.k)};function X(){V.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}r(X,V),X.prototype.split=function(w,m){for(var A=4194303,P=Math.min(w.length,9),L=0;L>>22,x=g}x>>>=22,w.words[L-10]=x,x===0&&w.length>10?w.length-=10:w.length-=9},X.prototype.imulK=function(w){w.words[w.length]=0,w.words[w.length+1]=0,w.length+=2;for(var m=0,A=0;A>>=26,w.words[A]=L,m=P}return m!==0&&(w.words[w.length++]=m),w},f._prime=function(w){if(Q[w])return Q[w];var m;if(w==="k256")m=new X;else if(w==="p224")m=new K;else if(w==="p192")m=new G;else if(w==="p25519")m=new R;else throw new Error("Unknown prime "+w);return Q[w]=m,m};function T(w){if(typeof w=="string"){var m=f._prime(w);this.m=m.p,this.prime=m}else a(w.gtn(1),"modulus must be greater than 1"),this.m=w,this.prime=null}T.prototype._verify1=function(w){a(w.negative===0,"red works only with positives"),a(w.red,"red works only with red numbers")},T.prototype._verify2=function(w,m){a((w.negative|m.negative)===0,"red works only with positives"),a(w.red&&w.red===m.red,"red works only with red numbers")},T.prototype.imod=function(w){return this.prime?this.prime.ireduce(w)._forceRed(this):(d(w,w.umod(this.m)._forceRed(this)),w)},T.prototype.neg=function(w){return w.isZero()?w.clone():this.m.sub(w)._forceRed(this)},T.prototype.add=function(w,m){this._verify2(w,m);var A=w.add(m);return A.cmp(this.m)>=0&&A.isub(this.m),A._forceRed(this)},T.prototype.iadd=function(w,m){this._verify2(w,m);var A=w.iadd(m);return A.cmp(this.m)>=0&&A.isub(this.m),A},T.prototype.sub=function(w,m){this._verify2(w,m);var A=w.sub(m);return A.cmpn(0)<0&&A.iadd(this.m),A._forceRed(this)},T.prototype.isub=function(w,m){this._verify2(w,m);var A=w.isub(m);return A.cmpn(0)<0&&A.iadd(this.m),A},T.prototype.shl=function(w,m){return this._verify1(w),this.imod(w.ushln(m))},T.prototype.imul=function(w,m){return this._verify2(w,m),this.imod(w.imul(m))},T.prototype.mul=function(w,m){return this._verify2(w,m),this.imod(w.mul(m))},T.prototype.isqr=function(w){return this.imul(w,w.clone())},T.prototype.sqr=function(w){return this.mul(w,w)},T.prototype.sqrt=function(w){if(w.isZero())return w.clone();var m=this.m.andln(3);if(a(m%2===1),m===3){var A=this.m.add(new f(1)).iushrn(2);return this.pow(w,A)}for(var P=this.m.subn(1),L=0;!P.isZero()&&P.andln(1)===0;)L++,P.iushrn(1);a(!P.isZero());var x=new f(1).toRed(this),g=x.redNeg(),B=this.m.subn(1).iushrn(1),M=this.m.bitLength();for(M=new f(2*M*M).toRed(this);this.pow(M,B).cmp(g)!==0;)M.redIAdd(g);for(var S=this.pow(M,P),q=this.pow(w,P.addn(1).iushrn(1)),ee=this.pow(w,P),U=L;ee.cmp(x)!==0;){for(var J=ee,Z=0;J.cmp(x)!==0;Z++)J=J.redSqr();a(Z=0;L--){for(var S=m.words[L],q=M-1;q>=0;q--){var ee=S>>q&1;if(x!==P[0]&&(x=this.sqr(x)),ee===0&&g===0){B=0;continue}g<<=1,g|=ee,B++,!(B!==A&&(L!==0||q!==0))&&(x=this.mul(x,P[g]),B=0,g=0)}M=26}return x},T.prototype.convertTo=function(w){var m=w.umod(this.m);return m===w?m.clone():m},T.prototype.convertFrom=function(w){var m=w.clone();return m.red=null,m},f.mont=function(w){return new N(w)};function N(w){T.call(this,w),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new f(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}r(N,T),N.prototype.convertTo=function(w){return this.imod(w.ushln(this.shift))},N.prototype.convertFrom=function(w){var m=this.imod(w.mul(this.rinv));return m.red=null,m},N.prototype.imul=function(w,m){if(w.isZero()||m.isZero())return w.words[0]=0,w.length=1,w;var A=w.imul(m),P=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),L=A.isub(P).iushrn(this.shift),x=L;return L.cmp(this.m)>=0?x=L.isub(this.m):L.cmpn(0)<0&&(x=L.iadd(this.m)),x._forceRed(this)},N.prototype.mul=function(w,m){if(w.isZero()||m.isZero())return new f(0)._forceRed(this);var A=w.mul(m),P=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),L=A.isub(P).iushrn(this.shift),x=L;return L.cmp(this.m)>=0?x=L.isub(this.m):L.cmpn(0)<0&&(x=L.iadd(this.m)),x._forceRed(this)},N.prototype.invm=function(w){var m=this.imod(w._invmp(this.m).mul(this.r2));return m._forceRed(this)}})(t,j10)})(V10);fn=V10.exports,Y10="bignumber/5.7.0",sQ=fn.BN,ph=new yf(Y10),Cle={},l10=9007199254740991;u10=!1,mo=class t{constructor(e,n){e!==Cle&&ph.throwError("cannot call constructor directly; use BigNumber.from",yf.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=n,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return Zc(na(this).fromTwos(e))}toTwos(e){return Zc(na(this).toTwos(e))}abs(){return this._hex[0]==="-"?t.from(this._hex.substring(1)):this}add(e){return Zc(na(this).add(na(e)))}sub(e){return Zc(na(this).sub(na(e)))}div(e){return t.from(e).isZero()&&dd("division-by-zero","div"),Zc(na(this).div(na(e)))}mul(e){return Zc(na(this).mul(na(e)))}mod(e){let n=na(e);return n.isNeg()&&dd("division-by-zero","mod"),Zc(na(this).umod(n))}pow(e){let n=na(e);return n.isNeg()&&dd("negative-power","pow"),Zc(na(this).pow(n))}and(e){let n=na(e);return(this.isNegative()||n.isNeg())&&dd("unbound-bitwise-result","and"),Zc(na(this).and(n))}or(e){let n=na(e);return(this.isNegative()||n.isNeg())&&dd("unbound-bitwise-result","or"),Zc(na(this).or(n))}xor(e){let n=na(e);return(this.isNegative()||n.isNeg())&&dd("unbound-bitwise-result","xor"),Zc(na(this).xor(n))}mask(e){return(this.isNegative()||e<0)&&dd("negative-width","mask"),Zc(na(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&dd("negative-width","shl"),Zc(na(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&dd("negative-width","shr"),Zc(na(this).shrn(e))}eq(e){return na(this).eq(na(e))}lt(e){return na(this).lt(na(e))}lte(e){return na(this).lte(na(e))}gt(e){return na(this).gt(na(e))}gte(e){return na(this).gte(na(e))}isNegative(){return this._hex[0]==="-"}isZero(){return na(this).isZero()}toNumber(){try{return na(this).toNumber()}catch{dd("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return ph.throwError("this platform does not support BigInt",yf.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?u10||(u10=!0,ph.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?ph.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",yf.errors.UNEXPECTED_ARGUMENT,{}):ph.throwError("BigNumber.toString does not accept parameters",yf.errors.UNEXPECTED_ARGUMENT,{})),na(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof t)return e;if(typeof e=="string")return e.match(/^-?0x[0-9a-f]+$/i)?new t(Cle,hB(e)):e.match(/^-?[0-9]+$/)?new t(Cle,hB(new sQ(e))):ph.throwArgumentError("invalid BigNumber string","value",e);if(typeof e=="number")return e%1&&dd("underflow","BigNumber.from",e),(e>=l10||e<=-l10)&&dd("overflow","BigNumber.from",e),t.from(String(e));let n=e;if(typeof n=="bigint")return t.from(n.toString());if(o_(n))return t.from(ic(n));if(n)if(n.toHexString){let a=n.toHexString();if(typeof a=="string")return t.from(a)}else{let a=n._hex;if(a==null&&n.type==="BigNumber"&&(a=n.hex),typeof a=="string"&&(N6(a)||a[0]==="-"&&N6(a.substring(1))))return t.from(a)}return ph.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!!(e&&e._isBigNumber)}};sc=new yf(Y10),lB={},$10=mo.from(0),J10=mo.from(-1);uB="0";for(;uB.length<256;)uB+=uB;pB=class t{constructor(e,n,a,r){e!==lB&&sc.throwError("cannot use FixedFormat constructor; use FixedFormat.from",yf.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.signed=n,this.width=a,this.decimals=r,this.name=(n?"":"u")+"fixed"+String(a)+"x"+String(r),this._multiplier=Zle(r),Object.freeze(this)}static from(e){if(e instanceof t)return e;typeof e=="number"&&(e=`fixed128x${e}`);let n=!0,a=128,r=18;if(typeof e=="string"){if(e!=="fixed")if(e==="ufixed")n=!1;else{let f=e.match(/^(u?)fixed([0-9]+)x([0-9]+)$/);f||sc.throwArgumentError("invalid fixed format","format",e),n=f[1]!=="u",a=parseInt(f[2]),r=parseInt(f[3])}}else if(e){let f=(i,s,o)=>e[i]==null?o:(typeof e[i]!==s&&sc.throwArgumentError("invalid fixed format ("+i+" not "+s+")","format."+i,e[i]),e[i]);n=f("signed","boolean",n),a=f("width","number",a),r=f("decimals","number",r)}return a%8&&sc.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",a),r>80&&sc.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",r),new t(lB,n,a,r)}},oQ=class t{constructor(e,n,a,r){e!==lB&&sc.throwError("cannot use FixedNumber constructor; use FixedNumber.from",yf.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=r,this._hex=n,this._value=a,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(e){this.format.name!==e.format.name&&sc.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}addUnsafe(e){this._checkFormat(e);let n=uh(this._value,this.format.decimals),a=uh(e._value,e.format.decimals);return t.fromValue(n.add(a),this.format.decimals,this.format)}subUnsafe(e){this._checkFormat(e);let n=uh(this._value,this.format.decimals),a=uh(e._value,e.format.decimals);return t.fromValue(n.sub(a),this.format.decimals,this.format)}mulUnsafe(e){this._checkFormat(e);let n=uh(this._value,this.format.decimals),a=uh(e._value,e.format.decimals);return t.fromValue(n.mul(a).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(e){this._checkFormat(e);let n=uh(this._value,this.format.decimals),a=uh(e._value,e.format.decimals);return t.fromValue(n.mul(this.format._multiplier).div(a),this.format.decimals,this.format)}floor(){let e=this.toString().split(".");e.length===1&&e.push("0");let n=t.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return this.isNegative()&&a&&(n=n.subUnsafe(p10.toFormat(n.format))),n}ceiling(){let e=this.toString().split(".");e.length===1&&e.push("0");let n=t.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return!this.isNegative()&&a&&(n=n.addUnsafe(p10.toFormat(n.format))),n}round(e){e==null&&(e=0);let n=this.toString().split(".");if(n.length===1&&n.push("0"),(e<0||e>80||e%1)&&sc.throwArgumentError("invalid decimal count","decimals",e),n[1].length<=e)return this;let a=t.from("1"+uB.substring(0,e),this.format),r=Win.toFormat(this.format);return this.mulUnsafe(a).addUnsafe(r).floor().divUnsafe(a)}isZero(){return this._value==="0.0"||this._value==="0"}isNegative(){return this._value[0]==="-"}toString(){return this._value}toHexString(e){if(e==null)return this._hex;e%8&&sc.throwArgumentError("invalid byte width","width",e);let n=mo.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return ju(n,e/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(e){return t.fromString(this._value,e)}static fromValue(e,n,a){return a==null&&n!=null&&!Hin(n)&&(a=n,n=null),n==null&&(n=0),a==null&&(a="fixed"),t.fromString(Ile(e,n),pB.from(a))}static fromString(e,n){n==null&&(n="fixed");let a=pB.from(n),r=uh(e,a.decimals);!a.signed&&r.lt($10)&&X10("unsigned value cannot be negative","overflow","value",e);let f=null;a.signed?f=r.toTwos(a.width).toHexString():(f=r.toHexString(),f=ju(f,a.width/8));let i=Ile(r,a.decimals);return new t(lB,f,i,a)}static fromBytes(e,n){n==null&&(n="fixed");let a=pB.from(n);if(ri(e).length>a.width/8)throw new Error("overflow");let r=mo.from(e);a.signed&&(r=r.fromTwos(a.width));let f=r.toTwos((a.signed?0:1)+a.width).toHexString(),i=Ile(r,a.decimals);return new t(lB,f,i,a)}static from(e,n){if(typeof e=="string")return t.fromString(e,n);if(o_(e))return t.fromBytes(e,n);try{return t.fromValue(e,0,n)}catch(a){if(a.code!==yf.errors.INVALID_ARGUMENT)throw a}return sc.throwArgumentError("invalid FixedNumber value","value",e)}static isFixedNumber(e){return!!(e&&e._isFixedNumber)}},p10=oQ.from(1),Win=oQ.from("0.5"),qin="strings/5.7.0",Z10=new yf(qin);(function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"})(cQ||(cQ={}));(function(t){t.UNEXPECTED_CONTINUE="unexpected continuation byte",t.BAD_PREFIX="bad codepoint prefix",t.OVERRUN="string overrun",t.MISSING_CONTINUE="missing continuation byte",t.OUT_OF_RANGE="out of UTF-8 range",t.UTF16_SURROGATE="UTF-16 surrogate",t.OVERLONG="overlong representation"})(e_||(e_={}));Object.freeze({error:jin,ignore:ec0,replace:Gin});h10("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),"ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map(t=>parseInt(t,16)),Sle("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),Sle("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),Sle("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",Kin),h10("80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001");tc0="hash/5.7.0";ZK=isn();new Set(dQ(ZK)),new Set(dQ(ZK)),tsn(ZK),fsn(ZK),new yf(tc0);ssn=new Uint8Array(32);ssn.fill(0);osn=`Ethereum Signed Message: +`;csn="rlp/5.7.0";new yf(csn);dsn="address/5.7.0",dB=new yf(dsn);lsn=9007199254740991;e2e={};for(let t=0;t<10;t++)e2e[String(t)]=String(t);for(let t=0;t<26;t++)e2e[String.fromCharCode(65+t)]=String(10+t);y10=Math.floor(usn(lsn));bsn="properties/5.7.0";new yf(bsn);new yf(tc0);msn=new Uint8Array(32);msn.fill(0),mo.from(-1);ysn=mo.from(0),gsn=mo.from(1);mo.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),ju(gsn.toHexString(),32),ju(ysn.toHexString(),32);Uu={},aa={},vB=fc0;fc0.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)};Hle={exports:{}};typeof Object.create=="function"?Hle.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Hle.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}};vsn=vB,wsn=Hle.exports;aa.inherits=wsn;aa.toArray=xsn;aa.toHex=Esn;aa.htonl=ic0;aa.toHex32=_sn;aa.zero2=sc0;aa.zero8=oc0;aa.join32=Asn;aa.split32=Csn;aa.rotr32=Isn;aa.rotl32=ksn;aa.sum32=Ssn;aa.sum32_3=Rsn;aa.sum32_4=Msn;aa.sum32_5=Bsn;aa.sum64=Dsn;aa.sum64_hi=Psn;aa.sum64_lo=Lsn;aa.sum64_4_hi=Fsn;aa.sum64_4_lo=Nsn;aa.sum64_5_hi=Osn;aa.sum64_5_lo=Usn;aa.rotr64_hi=Hsn;aa.rotr64_lo=zsn;aa.shr64_hi=Wsn;aa.shr64_lo=qsn;c_={},g10=aa,jsn=vB;c_.BlockHash=eQ,eQ.prototype.update=function(t,e){if(t=g10.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){t=this.pending;var n=t.length%this._delta8;this.pending=t.slice(t.length-n,t.length),this.pending.length===0&&(this.pending=null),t=g10.join32(t,0,t.length-n,this.endian);for(var a=0;a>>24&255,a[r++]=t>>>16&255,a[r++]=t>>>8&255,a[r++]=t&255}else for(a[r++]=t&255,a[r++]=t>>>8&255,a[r++]=t>>>16&255,a[r++]=t>>>24&255,a[r++]=0,a[r++]=0,a[r++]=0,a[r++]=0,f=8;fthis.blockSize&&(t=new this.Hash().update(t).digest()),qon(t.length<=this.blockSize);for(var e=t.length;e>8,h=d&255;l?o.push(l,h):o.push(h)}return o}n.toArray=a;function r(i){return i.length===1?"0"+i:i}n.zero2=r;function f(i){for(var s="",o=0;o(h>>1)-1?k=(h>>1)-O:k=O,y.isubn(k)):k=0,l[v]=k,y.iushrn(1)}return l}n.getNAF=a;function r(o,c){var d=[[],[]];o=o.clone(),c=c.clone();for(var l=0,h=0,y;o.cmpn(-l)>0||c.cmpn(-h)>0;){var v=o.andln(3)+l&3,k=c.andln(3)+h&3;v===3&&(v=-1),k===3&&(k=-1);var O;v&1?(y=o.andln(7)+l&7,(y===3||y===5)&&k===2?O=-v:O=v):O=0,d[0].push(O);var F;k&1?(y=c.andln(7)+h&7,(y===3||y===5)&&v===2?F=-k:F=k):F=0,d[1].push(F),2*l===O+1&&(l=1-l),2*h===F+1&&(h=1-h),o.iushrn(1),c.iushrn(1)}return d}n.getJSF=r;function f(o,c,d){var l="_"+c;o.prototype[c]=function(){return this[l]!==void 0?this[l]:this[l]=d.call(this)}}n.cachedProperty=f;function i(o){return typeof o=="string"?n.toArray(o,"hex"):o}n.parseBytes=i;function s(o){return new fn(o,"hex","le")}n.intFromLE=s}),nQ=O6.getNAF,Kon=O6.getJSF,lQ=O6.assert;G9=Dm;Dm.prototype.point=function(){throw new Error("Not implemented")},Dm.prototype.validate=function(){throw new Error("Not implemented")},Dm.prototype._fixedNafMul=function(t,e){lQ(t.precomputed);var n=t._getDoubles(),a=nQ(e,1,this._bitLength),r=(1<=i;o--)s=(s<<1)+a[o];f.push(s)}for(var c=this.jpoint(null,null,null),d=this.jpoint(null,null,null),l=r;l>0;l--){for(i=0;i=0;s--){for(var o=0;s>=0&&f[s]===0;s--)o++;if(s>=0&&o++,i=i.dblp(o),s<0)break;var c=f[s];lQ(c!==0),t.type==="affine"?c>0?i=i.mixedAdd(r[c-1>>1]):i=i.mixedAdd(r[-c-1>>1].neg()):c>0?i=i.add(r[c-1>>1]):i=i.add(r[-c-1>>1].neg())}return t.type==="affine"?i.toP():i},Dm.prototype._wnafMulAdd=function(t,e,n,a,r){var f=this._wnafT1,i=this._wnafT2,s=this._wnafT3,o=0,c,d,l;for(c=0;c=1;c-=2){var y=c-1,v=c;if(f[y]!==1||f[v]!==1){s[y]=nQ(n[y],f[y],this._bitLength),s[v]=nQ(n[v],f[v],this._bitLength),o=Math.max(s[y].length,o),o=Math.max(s[v].length,o);continue}var k=[e[y],null,null,e[v]];e[y].y.cmp(e[v].y)===0?(k[1]=e[y].add(e[v]),k[2]=e[y].toJ().mixedAdd(e[v].neg())):e[y].y.cmp(e[v].y.redNeg())===0?(k[1]=e[y].toJ().mixedAdd(e[v]),k[2]=e[y].add(e[v].neg())):(k[1]=e[y].toJ().mixedAdd(e[v]),k[2]=e[y].toJ().mixedAdd(e[v].neg()));var O=[-3,-1,-5,-7,0,7,5,1,3],F=Kon(n[y],n[v]);for(o=Math.max(F[0].length,o),s[y]=new Array(o),s[v]=new Array(o),d=0;d=0;c--){for(var V=0;c>=0;){var X=!0;for(d=0;d=0&&V++,j=j.dblp(V),c<0)break;for(d=0;d0?l=i[d][K-1>>1]:K<0&&(l=i[d][-K-1>>1].neg()),l.type==="affine"?j=j.mixedAdd(l):j=j.add(l))}}for(c=0;c=Math.ceil((t.bitLength()+1)/e.step):!1},ld.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],a=this,r=0;r=0&&(h=o,y=c),d.negative&&(d=d.neg(),l=l.neg()),h.negative&&(h=h.neg(),y=y.neg()),[{a:d,b:l},{a:h,b:y}]},pd.prototype._endoSplit=function(t){var e=this.endo.basis,n=e[0],a=e[1],r=a.b.mul(t).divRound(this.n),f=n.b.neg().mul(t).divRound(this.n),i=r.mul(n.a),s=f.mul(a.a),o=r.mul(n.b),c=f.mul(a.b),d=t.sub(i).sub(s),l=o.add(c).neg();return{k1:d,k2:l}},pd.prototype.pointFromX=function(t,e){t=new fn(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),a=n.redSqrt();if(a.redSqr().redSub(n).cmp(this.zero)!==0)throw new Error("invalid point");var r=a.fromRed().isOdd();return(e&&!r||!e&&r)&&(a=a.redNeg()),this.point(t,a)},pd.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,n=t.y,a=this.a.redMul(e),r=e.redSqr().redMul(e).redIAdd(a).redIAdd(this.b);return n.redSqr().redISub(r).cmpn(0)===0},pd.prototype._endoWnafMulAdd=function(t,e,n){for(var a=this._endoWnafT1,r=this._endoWnafT2,f=0;f":""},Ls.prototype.isInfinity=function(){return this.inf},Ls.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(this.x.cmp(t.x)===0)return this.curve.point(null,null);var e=this.y.redSub(t.y);e.cmpn(0)!==0&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var n=e.redSqr().redISub(this.x).redISub(t.x),a=e.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,a)},Ls.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(t.cmpn(0)===0)return this.curve.point(null,null);var e=this.curve.a,n=this.x.redSqr(),a=t.redInvm(),r=n.redAdd(n).redIAdd(n).redIAdd(e).redMul(a),f=r.redSqr().redISub(this.x.redAdd(this.x)),i=r.redMul(this.x.redSub(f)).redISub(this.y);return this.curve.point(f,i)},Ls.prototype.getX=function(){return this.x.fromRed()},Ls.prototype.getY=function(){return this.y.fromRed()},Ls.prototype.mul=function(t){return t=new fn(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},Ls.prototype.mulAdd=function(t,e,n){var a=[this,e],r=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(a,r):this.curve._wnafMulAdd(1,a,r,2)},Ls.prototype.jmulAdd=function(t,e,n){var a=[this,e],r=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(a,r,!0):this.curve._wnafMulAdd(1,a,r,2,!0)},Ls.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||this.x.cmp(t.x)===0&&this.y.cmp(t.y)===0)},Ls.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,a=function(r){return r.neg()};e.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(a)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(a)}}}return e},Ls.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var t=this.curve.jpoint(this.x,this.y,this.curve.one);return t};n2e(ho,G9.BasePoint),pd.prototype.jpoint=function(t,e,n){return new ho(this,t,e,n)},ho.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),n=this.x.redMul(e),a=this.y.redMul(e).redMul(t);return this.curve.point(n,a)},ho.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},ho.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),n=this.z.redSqr(),a=this.x.redMul(e),r=t.x.redMul(n),f=this.y.redMul(e.redMul(t.z)),i=t.y.redMul(n.redMul(this.z)),s=a.redSub(r),o=f.redSub(i);if(s.cmpn(0)===0)return o.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),d=c.redMul(s),l=a.redMul(c),h=o.redSqr().redIAdd(d).redISub(l).redISub(l),y=o.redMul(l.redISub(h)).redISub(f.redMul(d)),v=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(h,y,v)},ho.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),n=this.x,a=t.x.redMul(e),r=this.y,f=t.y.redMul(e).redMul(this.z),i=n.redSub(a),s=r.redSub(f);if(i.cmpn(0)===0)return s.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var o=i.redSqr(),c=o.redMul(i),d=n.redMul(o),l=s.redSqr().redIAdd(c).redISub(d).redISub(d),h=s.redMul(d.redISub(l)).redISub(r.redMul(c)),y=this.z.redMul(i);return this.curve.jpoint(l,h,y)},ho.prototype.dblp=function(t){if(t===0)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var n=this;for(e=0;e=0)return!1;if(n.redIAdd(r),this.x.cmp(n)===0)return!0}},ho.prototype.inspect=function(){return this.isInfinity()?"":""},ho.prototype.isInfinity=function(){return this.z.cmpn(0)===0};fQ=l_(function(t,e){var n=e;n.base=G9,n.short=Von,n.mont=null,n.edwards=null}),iQ=l_(function(t,e){var n=e,a=O6.assert;function r(s){s.type==="short"?this.curve=new fQ.short(s):s.type==="edwards"?this.curve=new fQ.edwards(s):this.curve=new fQ.mont(s),this.g=this.curve.g,this.n=this.curve.n,this.hash=s.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}n.PresetCurve=r;function f(s,o){Object.defineProperty(n,s,{configurable:!0,enumerable:!0,get:function(){var c=new r(o);return Object.defineProperty(n,s,{configurable:!0,enumerable:!0,value:c}),c}})}f("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:Uu.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),f("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:Uu.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),f("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:Uu.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),f("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:Uu.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),f("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:Uu.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),f("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Uu.sha256,gRed:!1,g:["9"]}),f("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Uu.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var i;try{i=null.crash()}catch{i=void 0}f("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:Uu.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",i]})});x10=Pm;Pm.prototype._init=function(t,e,n){var a=t.concat(e).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var r=0;r=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1},Pm.prototype.generate=function(t,e,n,a){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof e!="string"&&(a=n,n=e,e=null),n&&(n=jl.toArray(n,a||"hex"),this._update(n));for(var r=[];r.length"};Yon=O6.assert;aQ=bQ;bQ.prototype._importDER=function(t,e){t=O6.toArray(t,e);var n=new $on;if(t[n.place++]!==48)return!1;var a=Lle(t,n);if(a===!1||a+n.place!==t.length||t[n.place++]!==2)return!1;var r=Lle(t,n);if(r===!1)return!1;var f=t.slice(n.place,r+n.place);if(n.place+=r,t[n.place++]!==2)return!1;var i=Lle(t,n);if(i===!1||t.length!==i+n.place)return!1;var s=t.slice(n.place,i+n.place);if(f[0]===0)if(f[1]&128)f=f.slice(1);else return!1;if(s[0]===0)if(s[1]&128)s=s.slice(1);else return!1;return this.r=new fn(f),this.s=new fn(s),this.recoveryParam=null,!0};bQ.prototype.toDER=function(t){var e=this.r.toArray(),n=this.s.toArray();for(e[0]&128&&(e=[0].concat(e)),n[0]&128&&(n=[0].concat(n)),e=E10(e),n=E10(n);!n[0]&&!(n[1]&128);)n=n.slice(1);var a=[2];Fle(a,e.length),a=a.concat(e),a.push(2),Fle(a,n.length);var r=a.concat(n),f=[48];return Fle(f,r.length),f=f.concat(r),O6.encode(f,t)};Jon=function(){throw new Error("unsupported")},_c0=O6.assert;Xon=ud;ud.prototype.keyPair=function(t){return new Ple(this,t)},ud.prototype.keyFromPrivate=function(t,e){return Ple.fromPrivate(this,t,e)},ud.prototype.keyFromPublic=function(t,e){return Ple.fromPublic(this,t,e)},ud.prototype.genKeyPair=function(t){t||(t={});for(var e=new x10({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||Jon(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),a=this.n.sub(new fn(2));;){var r=new fn(e.generate(n));if(!(r.cmp(a)>0))return r.iaddn(1),this.keyFromPrivate(r)}},ud.prototype._truncateToN=function(t,e){var n=t.byteLength()*8-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},ud.prototype.sign=function(t,e,n,a){typeof n=="object"&&(a=n,n=null),a||(a={}),e=this.keyFromPrivate(e,n),t=this._truncateToN(new fn(t,16));for(var r=this.n.byteLength(),f=e.getPrivate().toArray("be",r),i=t.toArray("be",r),s=new x10({hash:this.hash,entropy:f,nonce:i,pers:a.pers,persEnc:a.persEnc||"utf8"}),o=this.n.sub(new fn(1)),c=0;;c++){var d=a.k?a.k(c):new fn(s.generate(this.n.byteLength()));if(d=this._truncateToN(d,!0),!(d.cmpn(1)<=0||d.cmp(o)>=0)){var l=this.g.mul(d);if(!l.isInfinity()){var h=l.getX(),y=h.umod(this.n);if(y.cmpn(0)!==0){var v=d.invm(this.n).mul(y.mul(e.getPrivate()).iadd(t));if(v=v.umod(this.n),v.cmpn(0)!==0){var k=(l.getY().isOdd()?1:0)|(h.cmp(y)!==0?2:0);return a.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),k^=1),new aQ({r:y,s:v,recoveryParam:k})}}}}}},ud.prototype.verify=function(t,e,n,a){t=this._truncateToN(new fn(t,16)),n=this.keyFromPublic(n,a),e=new aQ(e,"hex");var r=e.r,f=e.s;if(r.cmpn(1)<0||r.cmp(this.n)>=0||f.cmpn(1)<0||f.cmp(this.n)>=0)return!1;var i=f.invm(this.n),s=i.mul(t).umod(this.n),o=i.mul(r).umod(this.n),c;return this.curve._maxwellTrick?(c=this.g.jmulAdd(s,n.getPublic(),o),c.isInfinity()?!1:c.eqXToP(r)):(c=this.g.mulAdd(s,n.getPublic(),o),c.isInfinity()?!1:c.getX().umod(this.n).cmp(r)===0)},ud.prototype.recoverPubKey=function(t,e,n,a){_c0((3&n)===n,"The recovery param is more than two bits"),e=new aQ(e,a);var r=this.n,f=new fn(t),i=e.r,s=e.s,o=n&1,c=n>>1;if(i.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?i=this.curve.pointFromX(i.add(this.curve.n),o):i=this.curve.pointFromX(i,o);var d=e.r.invm(r),l=r.sub(f).mul(d).umod(r),h=s.mul(d).umod(r);return this.g.mulAdd(l,i,h)},ud.prototype.getKeyRecoveryParam=function(t,e,n,a){if(e=new aQ(e,a),e.recoveryParam!==null)return e.recoveryParam;for(var r=0;r<4;r++){var f;try{f=this.recoverPubKey(t,e,r)}catch{continue}if(f.eq(n))return r}throw new Error("Unable to find valid recovery factor")};Zon=l_(function(t,e){var n=e;n.version="6.5.4",n.utils=O6,n.rand=function(){throw new Error("unsupported")},n.curve=fQ,n.curves=iQ,n.ec=Xon,n.eddsa=null}),e1n=Zon.ec,t1n="signing-key/5.7.0",qle=new yf(t1n),Nle=null;jle=class{constructor(e){sB(this,"curve","secp256k1"),sB(this,"privateKey",ic(e)),Fin(this.privateKey)!==32&&qle.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");let n=qu().keyFromPrivate(ri(this.privateKey));sB(this,"publicKey","0x"+n.getPublic(!1,"hex")),sB(this,"compressedPublicKey","0x"+n.getPublic(!0,"hex")),sB(this,"_isSigningKey",!0)}_addPoint(e){let n=qu().keyFromPublic(ri(this.publicKey)),a=qu().keyFromPublic(ri(e));return"0x"+n.pub.add(a.pub).encodeCompressed("hex")}signDigest(e){let n=qu().keyFromPrivate(ri(this.privateKey)),a=ri(e);a.length!==32&&qle.throwArgumentError("bad digest length","digest",e);let r=n.sign(a,{canonical:!0});return Q10({recoveryParam:r.recoveryParam,r:ju("0x"+r.r.toString(16),32),s:ju("0x"+r.s.toString(16),32)})}computeSharedSecret(e){let n=qu().keyFromPrivate(ri(this.privateKey)),a=qu().keyFromPublic(ri(Ac0(e)));return ju("0x"+n.derive(a.getPublic()).toString(16),32)}static isSigningKey(e){return!!(e&&e._isSigningKey)}};a1n="transactions/5.7.0";new yf(a1n);(function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"})(_10||(_10={}));i1n="https://rpc.walletconnect.com/v1";l1n=Object.defineProperty,u1n=Object.defineProperties,p1n=Object.getOwnPropertyDescriptors,A10=Object.getOwnPropertySymbols,h1n=Object.prototype.hasOwnProperty,b1n=Object.prototype.propertyIsEnumerable,C10=(t,e,n)=>e in t?l1n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,m1n=(t,e)=>{for(var n in e||(e={}))h1n.call(e,n)&&C10(t,n,e[n]);if(A10)for(var n of A10(e))b1n.call(e,n)&&C10(t,n,e[n]);return t},y1n=(t,e)=>u1n(t,p1n(e)),g1n="did:pkh:",a2e=t=>t?.split(":"),Cc0=t=>{let e=t&&a2e(t);if(e)return t.includes(g1n)?e[3]:e[1]},r2e=t=>{let e=t&&a2e(t);if(e)return e[2]+":"+e[3]},wB=t=>{let e=t&&a2e(t);if(e)return e.pop()};i2e=(t,e)=>{let n=`${t.domain} wants you to sign in with your Ethereum account:`,a=wB(e);if(!t.aud&&!t.uri)throw new Error("Either `aud` or `uri` is required to construct the message");let r=t.statement||void 0,f=`URI: ${t.aud||t.uri}`,i=`Version: ${t.version}`,s=`Chain ID: ${Cc0(e)}`,o=`Nonce: ${t.nonce}`,c=`Issued At: ${t.iat}`,d=t.resources?`Resources:${t.resources.map(h=>` - ${h}`).join("")}`:void 0,l=TB(t.resources);if(l){let h=bB(l);r=A1n(r,h)}return[n,a,"",r,"",f,i,s,o,c,d].filter(h=>h!=null).join(` -`)};Rc0="base10",b1="base16",Gle="base64pad",c2e="utf8",Mc0=0,$u=1,C1n=0,I10=1,Kle=12,d2e=32;S1n="irn";R1n=Object.defineProperty,M1n=Object.defineProperties,B1n=Object.getOwnPropertyDescriptors,k10=Object.getOwnPropertySymbols,D1n=Object.prototype.hasOwnProperty,P1n=Object.prototype.propertyIsEnumerable,S10=(t,e,n)=>e in t?R1n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,R10=(t,e)=>{for(var n in e||(e={}))D1n.call(e,n)&&S10(t,n,e[n]);if(k10)for(var n of k10(e))P1n.call(e,n)&&S10(t,n,e[n]);return t},L1n=(t,e)=>M1n(t,B1n(e));q1n={INVALID_METHOD:{message:"Invalid method.",code:1001},INVALID_EVENT:{message:"Invalid event.",code:1002},INVALID_UPDATE_REQUEST:{message:"Invalid update request.",code:1003},INVALID_EXTEND_REQUEST:{message:"Invalid extend request.",code:1004},INVALID_SESSION_SETTLE_REQUEST:{message:"Invalid session settle request.",code:1005},UNAUTHORIZED_METHOD:{message:"Unauthorized method.",code:3001},UNAUTHORIZED_EVENT:{message:"Unauthorized event.",code:3002},UNAUTHORIZED_UPDATE_REQUEST:{message:"Unauthorized update request.",code:3003},UNAUTHORIZED_EXTEND_REQUEST:{message:"Unauthorized extend request.",code:3004},USER_REJECTED:{message:"User rejected.",code:5e3},USER_REJECTED_CHAINS:{message:"User rejected chains.",code:5001},USER_REJECTED_METHODS:{message:"User rejected methods.",code:5002},USER_REJECTED_EVENTS:{message:"User rejected events.",code:5003},UNSUPPORTED_CHAINS:{message:"Unsupported chains.",code:5100},UNSUPPORTED_METHODS:{message:"Unsupported methods.",code:5101},UNSUPPORTED_EVENTS:{message:"Unsupported events.",code:5102},UNSUPPORTED_ACCOUNTS:{message:"Unsupported accounts.",code:5103},UNSUPPORTED_NAMESPACE_KEY:{message:"Unsupported namespace key.",code:5104},USER_DISCONNECTED:{message:"User disconnected.",code:6e3},SESSION_SETTLEMENT_FAILED:{message:"Session settlement failed.",code:7e3},WC_METHOD_UNSUPPORTED:{message:"Unsupported wc_ method.",code:10001}},j1n={NOT_INITIALIZED:{message:"Not initialized.",code:1},NO_MATCHING_KEY:{message:"No matching key.",code:2},RESTORE_WILL_OVERRIDE:{message:"Restore will override.",code:3},RESUBSCRIBED:{message:"Resubscribed.",code:4},MISSING_OR_INVALID:{message:"Missing or invalid.",code:5},EXPIRED:{message:"Expired.",code:6},UNKNOWN_TYPE:{message:"Unknown type.",code:7},MISMATCHED_TOPIC:{message:"Mismatched topic.",code:8},NON_CONFORMING_NAMESPACES:{message:"Non conforming namespaces.",code:9}};Ole={},Pm=class{static get(e){return Ole[e]}static set(e,n){Ole[e]=n}static delete(e){delete Ole[e]}}});var t60=D(wQ=>{"use strict";u();p();Object.defineProperty(wQ,"__esModule",{value:!0});wQ.IHeartBeat=void 0;var rcn=(eie(),vn(BFe)),w2e=class extends rcn.IEvents{constructor(e){super()}};wQ.IHeartBeat=w2e});var x2e=D(T2e=>{"use strict";u();p();Object.defineProperty(T2e,"__esModule",{value:!0});var fcn=(Y2(),vn(V2));fcn.__exportStar(t60(),T2e)});var n60=D(m_=>{"use strict";u();p();Object.defineProperty(m_,"__esModule",{value:!0});m_.HEARTBEAT_EVENTS=m_.HEARTBEAT_INTERVAL=void 0;var icn=E7();m_.HEARTBEAT_INTERVAL=icn.FIVE_SECONDS;m_.HEARTBEAT_EVENTS={pulse:"heartbeat_pulse"}});var _2e=D(E2e=>{"use strict";u();p();Object.defineProperty(E2e,"__esModule",{value:!0});var scn=(Y2(),vn(V2));scn.__exportStar(n60(),E2e)});var a60=D(TQ=>{"use strict";u();p();Object.defineProperty(TQ,"__esModule",{value:!0});TQ.HeartBeat=void 0;var A2e=(Y2(),vn(V2)),ocn=Nr(),ccn=E7(),dcn=x2e(),C2e=_2e(),I2e=class t extends dcn.IHeartBeat{constructor(e){super(e),this.events=new ocn.EventEmitter,this.interval=C2e.HEARTBEAT_INTERVAL,this.interval=e?.interval||C2e.HEARTBEAT_INTERVAL}static init(e){return A2e.__awaiter(this,void 0,void 0,function*(){let n=new t(e);return yield n.init(),n})}init(){return A2e.__awaiter(this,void 0,void 0,function*(){yield this.initialize()})}stop(){clearInterval(this.intervalRef)}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}initialize(){return A2e.__awaiter(this,void 0,void 0,function*(){this.intervalRef=setInterval(()=>this.pulse(),ccn.toMiliseconds(this.interval))})}pulse(){this.events.emit(C2e.HEARTBEAT_EVENTS.pulse)}};TQ.HeartBeat=I2e});var r60=D(AB=>{"use strict";u();p();Object.defineProperty(AB,"__esModule",{value:!0});var k2e=(Y2(),vn(V2));k2e.__exportStar(a60(),AB);k2e.__exportStar(x2e(),AB);k2e.__exportStar(_2e(),AB)});var f60,xQ,EQ,_Q,AQ,CQ,IQ,kQ,SQ,RQ,MQ,BQ,DQ,S2e=ce(()=>{u();p();eie();f60=Ee(Nr()),xQ=class extends $2{constructor(e){super(),this.opts=e,this.protocol="wc",this.version=2}},EQ=class extends $2{constructor(e,n){super(),this.core=e,this.logger=n,this.records=new Map}},_Q=class{constructor(e,n){this.logger=e,this.core=n}},AQ=class extends $2{constructor(e,n){super(),this.relayer=e,this.logger=n}},CQ=class extends $2{constructor(e){super()}},IQ=class{constructor(e,n,a,r){this.core=e,this.logger=n,this.name=a}},kQ=class extends $2{constructor(e,n){super(),this.relayer=e,this.logger=n}},SQ=class extends $2{constructor(e,n){super(),this.core=e,this.logger=n}},RQ=class{constructor(e,n){this.projectId=e,this.logger=n}},MQ=class{constructor(e,n){this.projectId=e,this.logger=n}},BQ=class{constructor(e){this.opts=e,this.protocol="wc",this.version=2}},DQ=class{constructor(e){this.client=e}}});var i60,H6,R2e=ce(()=>{u();p();i60=Ee(Nr());vb();H6=class extends OS{constructor(e){super(e),this.events=new i60.EventEmitter,this.hasRegisteredEventListeners=!1,this.connection=this.setConnection(e),this.connection.connected&&this.registerEventListeners()}async connect(e=this.connection){await this.open(e)}async disconnect(){await this.close()}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async request(e,n){return this.requestStrict(nu(e.method,e.params||[],e.id||gl().toString()),n)}async requestStrict(e,n){return new Promise(async(a,r)=>{if(!this.connection.connected)try{await this.open()}catch(f){r(f)}this.events.on(`${e.id}`,f=>{e1(f)?r(f.error):a(f.result)});try{await this.connection.send(e,n)}catch(f){r(f)}})}setConnection(e=this.connection){return e}onPayload(e){this.events.emit("payload",e),gb(e)?this.events.emit(`${e.id}`,e):this.events.emit("message",{type:e.method,data:e.params})}onClose(e){e&&e.code===3e3&&this.events.emit("error",new Error(`WebSocket connection closed abnormally with code: ${e.code} ${e.reason?`(${e.reason})`:""}`)),this.events.emit("disconnect")}async open(e=this.connection){this.connection===e&&this.connection.connected||(this.connection.connected&&this.close(),typeof e=="string"&&(await this.connection.open(e),e=this.connection),this.connection=this.setConnection(e),await this.connection.open(),this.registerEventListeners(),this.events.emit("connect"))}async close(){await this.connection.close()}registerEventListeners(){this.hasRegisteredEventListeners||(this.connection.on("payload",e=>this.onPayload(e)),this.connection.on("close",e=>this.onClose(e)),this.connection.on("error",e=>this.events.emit("error",e)),this.connection.on("register_error",e=>this.onClose()),this.hasRegisteredEventListeners=!0)}}});var M2e=ce(()=>{u();p();R2e();R2e()});function lcn(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),a=0;a>>0,j=new Uint8Array(W);F!==z;){for(var Q=v[F],V=0,X=W-1;(Q!==0||V>>0,j[X]=Q%s>>>0,Q=Q/s>>>0;if(Q!==0)throw new Error("Non-zero carry");O=V,F++}for(var K=W-O;K!==W&&j[K]===0;)K++;for(var G=o.repeat(S);K>>0,W=new Uint8Array(z);v[S];){var j=n[v.charCodeAt(S)];if(j===255)return;for(var Q=0,V=z-1;(j!==0||Q>>0,W[V]=j%256>>>0,j=j/256>>>0;if(j!==0)throw new Error("Non-zero carry");F=Q,S++}if(v[S]!==" "){for(var X=z-F;X!==z&&W[X]===0;)X++;for(var K=new Uint8Array(O+(z-X)),G=O;X!==z;)K[G++]=W[X++];return K}}}function y(v){var S=h(v);if(S)return S;throw new Error(`Non-${e} character`)}return{encode:l,decodeUnsafe:h,decode:y}}function Xcn(t){return t.reduce((e,n)=>(e+=$cn[n],e),"")}function Zcn(t){let e=[];for(let n of t){let a=Jcn[n.codePointAt(0)];if(a===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(a)}return new Uint8Array(e)}function R60(t,e,n){e=e||[],n=n||0;for(var a=n;t>=f6n;)e[n++]=t&255|s60,t/=128;for(;t&r6n;)e[n++]=t&255|s60,t>>>=7;return e[n]=t|0,R60.bytes=n-a+1,e}function U2e(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s)throw U2e.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&o60)<=s6n);return U2e.bytes=f-a,n}function F60(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function C6n(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?F60(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function N60(t,e,n,a){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:a}}}function k6n(t,e="utf8"){let n=I6n[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?F60(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}var vh,Y9,Xt,A60,C60,ucn,pcn,I60,hcn,bcn,L2e,F2e,N2e,k60,O2e,PQ,kB,mcn,ycn,yo,gcn,vcn,wcn,Tcn,xcn,Ecn,_cn,Acn,Ccn,Icn,kcn,Scn,Rcn,Mcn,Bcn,Dcn,Pcn,Lcn,Fcn,Ncn,Ocn,Ucn,Hcn,zcn,Wcn,qcn,jcn,Gcn,Kcn,Qcn,Vcn,Ycn,S60,$cn,Jcn,e6n,t6n,n6n,s60,a6n,r6n,f6n,i6n,s6n,o60,o6n,c6n,d6n,l6n,u6n,p6n,h6n,b6n,m6n,y6n,g6n,M60,c60,d60,H2e,z2e,B60,W2e,D60,v6n,w6n,T6n,P60,x6n,L60,E6n,_6n,A6n,l60,u60,B2e,I6n,O60,S6n,aue,Nm,R6n,M6n,B6n,p60,D6n,P6n,L6n,F6n,N6n,O6n,U6n,rue,H6n,U60,h60,z6n,n6,W6n,hd,q6n,j6n,G6n,K6n,Q6n,Ju,V6n,Y6n,$6n,J6n,X6n,CB,Q9,Gl,Z6n,e5n,t5n,z6,n5n,D2e,V9,q2e,a5n,r5n,f5n,j2e,G2e,K2e,Q2e,V2e,i5n,s5n,o5n,b60,c5n,d5n,m60,IB,P2e,Y2e,l5n,y60,u5n,p5n,g60,h5n,$2e,b5n,v60,m5n,y5n,w60,T60,Xu,J2e,X2e,Z2e,eue,tue,g5n,x60,v5n,w5n,E60,_60,nue,H60,z60=ce(()=>{u();p();vh=Ee(Nr());gFe();Y9=Ee(r60());vz();S2e();x7();lOe();_B();Ele();Xt=Ee(E7());M2e();vb();BUe();A60=Ee(pHe()),C60=Ee(mHe());ucn=lcn,pcn=ucn,I60=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},hcn=t=>new TextEncoder().encode(t),bcn=t=>new TextDecoder().decode(t),L2e=class{constructor(e,n,a){this.name=e,this.prefix=n,this.baseEncode=a}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}},F2e=class{constructor(e,n,a){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=a}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return k60(this,e)}},N2e=class{constructor(e){this.decoders=e}or(e){return k60(this,e)}decode(e){let n=e[0],a=this.decoders[n];if(a)return a.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}},k60=(t,e)=>new N2e({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}}),O2e=class{constructor(e,n,a,r){this.name=e,this.prefix=n,this.baseEncode=a,this.baseDecode=r,this.encoder=new L2e(e,n,a),this.decoder=new F2e(e,n,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}},PQ=({name:t,prefix:e,encode:n,decode:a})=>new O2e(t,e,n,a),kB=({prefix:t,name:e,alphabet:n})=>{let{encode:a,decode:r}=pcn(n,e);return PQ({prefix:t,name:e,encode:a,decode:f=>I60(r(f))})},mcn=(t,e,n,a)=>{let r={};for(let d=0;d=8&&(s-=8,i[c++]=255&o>>s)}if(s>=n||255&o<<8-s)throw new SyntaxError("Unexpected end of data");return i},ycn=(t,e,n)=>{let a=e[e.length-1]==="=",r=(1<n;)i-=n,f+=e[r&s>>i];if(i&&(f+=e[r&s<PQ({prefix:e,name:t,encode(r){return ycn(r,a,n)},decode(r){return mcn(r,a,n,t)}}),gcn=PQ({prefix:"\0",name:"identity",encode:t=>bcn(t),decode:t=>hcn(t)}),vcn=Object.freeze({__proto__:null,identity:gcn}),wcn=yo({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),Tcn=Object.freeze({__proto__:null,base2:wcn}),xcn=yo({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),Ecn=Object.freeze({__proto__:null,base8:xcn}),_cn=kB({prefix:"9",name:"base10",alphabet:"0123456789"}),Acn=Object.freeze({__proto__:null,base10:_cn}),Ccn=yo({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),Icn=yo({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),kcn=Object.freeze({__proto__:null,base16:Ccn,base16upper:Icn}),Scn=yo({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),Rcn=yo({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),Mcn=yo({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),Bcn=yo({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),Dcn=yo({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),Pcn=yo({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),Lcn=yo({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),Fcn=yo({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),Ncn=yo({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),Ocn=Object.freeze({__proto__:null,base32:Scn,base32upper:Rcn,base32pad:Mcn,base32padupper:Bcn,base32hex:Dcn,base32hexupper:Pcn,base32hexpad:Lcn,base32hexpadupper:Fcn,base32z:Ncn}),Ucn=kB({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),Hcn=kB({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),zcn=Object.freeze({__proto__:null,base36:Ucn,base36upper:Hcn}),Wcn=kB({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),qcn=kB({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),jcn=Object.freeze({__proto__:null,base58btc:Wcn,base58flickr:qcn}),Gcn=yo({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Kcn=yo({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),Qcn=yo({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),Vcn=yo({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),Ycn=Object.freeze({__proto__:null,base64:Gcn,base64pad:Kcn,base64url:Qcn,base64urlpad:Vcn}),S60=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),$cn=S60.reduce((t,e,n)=>(t[n]=e,t),[]),Jcn=S60.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);e6n=PQ({prefix:"\u{1F680}",name:"base256emoji",encode:Xcn,decode:Zcn}),t6n=Object.freeze({__proto__:null,base256emoji:e6n}),n6n=R60,s60=128,a6n=127,r6n=~a6n,f6n=Math.pow(2,31);i6n=U2e,s6n=128,o60=127;o6n=Math.pow(2,7),c6n=Math.pow(2,14),d6n=Math.pow(2,21),l6n=Math.pow(2,28),u6n=Math.pow(2,35),p6n=Math.pow(2,42),h6n=Math.pow(2,49),b6n=Math.pow(2,56),m6n=Math.pow(2,63),y6n=function(t){return t(M60.encode(t,e,n),e),d60=t=>M60.encodingLength(t),H2e=(t,e)=>{let n=e.byteLength,a=d60(t),r=a+d60(n),f=new Uint8Array(r+n);return c60(t,f,0),c60(n,f,a),f.set(e,r),new z2e(t,n,e,f)},z2e=class{constructor(e,n,a,r){this.code=e,this.size=n,this.digest=a,this.bytes=r}},B60=({name:t,code:e,encode:n})=>new W2e(t,e,n),W2e=class{constructor(e,n,a){this.name=e,this.code=n,this.encode=a}digest(e){if(e instanceof Uint8Array){let n=this.encode(e);return n instanceof Uint8Array?H2e(this.code,n):n.then(a=>H2e(this.code,a))}else throw Error("Unknown type, must be binary type")}},D60=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),v6n=B60({name:"sha2-256",code:18,encode:D60("SHA-256")}),w6n=B60({name:"sha2-512",code:19,encode:D60("SHA-512")}),T6n=Object.freeze({__proto__:null,sha256:v6n,sha512:w6n}),P60=0,x6n="identity",L60=I60,E6n=t=>H2e(P60,L60(t)),_6n={code:P60,name:x6n,encode:L60,digest:E6n},A6n=Object.freeze({__proto__:null,identity:_6n});new TextEncoder,new TextDecoder;l60={...vcn,...Tcn,...Ecn,...Acn,...kcn,...Ocn,...zcn,...jcn,...Ycn,...t6n};({...T6n,...A6n});u60=N60("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),B2e=N60("ascii","a",t=>{let e="a";for(let n=0;n{t=t.substring(1);let e=C6n(t.length);for(let n=0;n{if(!this.initialized){let a=await this.getKeyChain();typeof a<"u"&&(this.keychain=a),this.initialized=!0}},this.has=a=>(this.isInitialized(),this.keychain.has(a)),this.set=async(a,r)=>{this.isInitialized(),this.keychain.set(a,r),await this.persist()},this.get=a=>{this.isInitialized();let r=this.keychain.get(a);if(typeof r>"u"){let{message:f}=F0("NO_MATCHING_KEY",`${this.name}: ${a}`);throw new Error(f)}return r},this.del=async a=>{this.isInitialized(),this.keychain.delete(a),await this.persist()},this.core=e,this.logger=Jo(n,this.name)}get context(){return $o(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setKeyChain(e){await this.core.storage.setItem(this.storageKey,$le(e))}async getKeyChain(){let e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Jle(e):void 0}async persist(){await this.setKeyChain(this.keychain)}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},G2e=class{constructor(e,n,a){this.core=e,this.logger=n,this.name=B6n,this.initialized=!1,this.init=async()=>{this.initialized||(await this.keychain.init(),this.initialized=!0)},this.hasKeys=r=>(this.isInitialized(),this.keychain.has(r)),this.getClientId=async()=>{this.isInitialized();let r=await this.getClientSeed(),f=ise(r);return Uz(f.publicKey)},this.generateKeyPair=()=>{this.isInitialized();let r=Bc0();return this.setPrivateKey(r.publicKey,r.privateKey)},this.signJWT=async r=>{this.isInitialized();let f=await this.getClientSeed(),i=ise(f),s=mQ();return await oOe(s,r,D6n,i)},this.generateSharedKey=(r,f,i)=>{this.isInitialized();let s=this.getPrivateKey(r),o=Dc0(s,f);return this.setSymKey(o,i)},this.setSymKey=async(r,f)=>{this.isInitialized();let i=f||u_(r);return await this.keychain.set(i,r),i},this.deleteKeyPair=async r=>{this.isInitialized(),await this.keychain.del(r)},this.deleteSymKey=async r=>{this.isInitialized(),await this.keychain.del(r)},this.encode=async(r,f,i)=>{this.isInitialized();let s=l2e(i),o=z1(f);if(u2e(s)){let h=s.senderPublicKey,y=s.receiverPublicKey;r=await this.generateSharedKey(h,y)}let c=this.getSymKey(r),{type:d,senderPublicKey:l}=s;return Pc0({type:d,symKey:c,message:o,senderPublicKey:l})},this.decode=async(r,f,i)=>{this.isInitialized();let s=Fc0(f,i);if(u2e(s)){let o=s.receiverPublicKey,c=s.senderPublicKey;r=await this.generateSharedKey(o,c)}try{let o=this.getSymKey(r),c=Lc0({symKey:o,encoded:f});return Q2(c)}catch(o){this.logger.error(`Failed to decode message from topic: '${r}', clientId: '${await this.getClientId()}'`),this.logger.error(o)}},this.getPayloadType=r=>{let f=xB(r);return p_(f.type)},this.getPayloadSenderPublicKey=r=>{let f=xB(r);return f.senderPublicKey?Mi(f.senderPublicKey,b1):void 0},this.core=e,this.logger=Jo(n,this.name),this.keychain=a||new j2e(this.core,this.logger)}get context(){return $o(this.logger)}async setPrivateKey(e,n){return await this.keychain.set(e,n),e}getPrivateKey(e){return this.keychain.get(e)}async getClientSeed(){let e="";try{e=this.keychain.get(p60)}catch{e=mQ(),await this.keychain.set(p60,e)}return k6n(e,"base16")}getSymKey(e){return this.keychain.get(e)}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},K2e=class extends _Q{constructor(e,n){super(e,n),this.logger=e,this.core=n,this.messages=new Map,this.name=F6n,this.version=N6n,this.initialized=!1,this.storagePrefix=Nm,this.init=async()=>{if(!this.initialized){this.logger.trace("Initialized");try{let a=await this.getRelayerMessages();typeof a<"u"&&(this.messages=a),this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",size:this.messages.size})}catch(a){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(a)}finally{this.initialized=!0}}},this.set=async(a,r)=>{this.isInitialized();let f=gh(r),i=this.messages.get(a);return typeof i>"u"&&(i={}),typeof i[f]<"u"||(i[f]=r,this.messages.set(a,i),await this.persist()),f},this.get=a=>{this.isInitialized();let r=this.messages.get(a);return typeof r>"u"&&(r={}),r},this.has=(a,r)=>{this.isInitialized();let f=this.get(a),i=gh(r);return typeof f[i]<"u"},this.del=async a=>{this.isInitialized(),this.messages.delete(a),await this.persist()},this.logger=Jo(e,this.name),this.core=n}get context(){return $o(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setRelayerMessages(e){await this.core.storage.setItem(this.storageKey,$le(e))}async getRelayerMessages(){let e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Jle(e):void 0}async persist(){await this.setRelayerMessages(this.messages)}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},Q2e=class extends AQ{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,this.events=new vh.EventEmitter,this.name=U6n,this.queue=new Map,this.publishTimeout=(0,Xt.toMiliseconds)(Xt.ONE_MINUTE),this.failedPublishTimeout=(0,Xt.toMiliseconds)(Xt.ONE_SECOND),this.needsTransportRestart=!1,this.publish=async(a,r,f)=>{var i;this.logger.debug("Publishing Payload"),this.logger.trace({type:"method",method:"publish",params:{topic:a,message:r,opts:f}});let s=f?.ttl||O6n,o=yQ(f),c=f?.prompt||!1,d=f?.tag||0,l=f?.id||gl().toString(),h={topic:a,message:r,opts:{ttl:s,relay:o,prompt:c,tag:d,id:l}},y=`Failed to publish payload, please try again. id:${l} tag:${d}`,v=Date.now(),S,O=1;try{for(;S===void 0;){if(Date.now()-v>this.publishTimeout)throw new Error(y);this.logger.trace({id:l,attempts:O},`publisher.publish - attempt ${O}`),S=await await s_(this.rpcPublish(a,r,s,o,c,d,l).catch(F=>this.logger.warn(F)),this.publishTimeout,y),O++,S||await new Promise(F=>setTimeout(F,this.failedPublishTimeout))}this.relayer.events.emit(n6.publish,h),this.logger.debug("Successfully Published Payload"),this.logger.trace({type:"method",method:"publish",params:{id:l,topic:a,message:r,opts:f}})}catch(F){if(this.logger.debug("Failed to Publish Payload"),this.logger.error(F),(i=f?.internal)!=null&&i.throwOnFailedPublish)throw F;this.queue.set(l,h)}},this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.relayer=e,this.logger=Jo(n,this.name),this.registerEventListeners()}get context(){return $o(this.logger)}rpcPublish(e,n,a,r,f,i,s){var o,c,d,l;let h={method:EB(r.protocol).publish,params:{topic:e,message:n,ttl:a,prompt:f,tag:i},id:s};return bo((o=h.params)==null?void 0:o.prompt)&&((c=h.params)==null||delete c.prompt),bo((d=h.params)==null?void 0:d.tag)&&((l=h.params)==null||delete l.tag),this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"message",direction:"outgoing",request:h}),this.relayer.request(h)}removeRequestFromQueue(e){this.queue.delete(e)}checkQueue(){this.queue.forEach(async e=>{let{topic:n,message:a,opts:r}=e;await this.publish(n,a,r)})}registerEventListeners(){this.relayer.core.heartbeat.on(Y9.HEARTBEAT_EVENTS.pulse,()=>{if(this.needsTransportRestart){this.needsTransportRestart=!1,this.relayer.events.emit(n6.connection_stalled);return}this.checkQueue()}),this.relayer.on(n6.message_ack,e=>{this.removeRequestFromQueue(e.id.toString())})}},V2e=class{constructor(){this.map=new Map,this.set=(e,n)=>{let a=this.get(e);this.exists(e,n)||this.map.set(e,[...a,n])},this.get=e=>this.map.get(e)||[],this.exists=(e,n)=>this.get(e).includes(n),this.delete=(e,n)=>{if(typeof n>"u"){this.map.delete(e);return}if(!this.map.has(e))return;let a=this.get(e);if(!this.exists(e,n))return;let r=a.filter(f=>f!==n);if(!r.length){this.map.delete(e);return}this.map.set(e,r)},this.clear=()=>{this.map.clear()}}get topics(){return Array.from(this.map.keys())}},i5n=Object.defineProperty,s5n=Object.defineProperties,o5n=Object.getOwnPropertyDescriptors,b60=Object.getOwnPropertySymbols,c5n=Object.prototype.hasOwnProperty,d5n=Object.prototype.propertyIsEnumerable,m60=(t,e,n)=>e in t?i5n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,IB=(t,e)=>{for(var n in e||(e={}))c5n.call(e,n)&&m60(t,n,e[n]);if(b60)for(var n of b60(e))d5n.call(e,n)&&m60(t,n,e[n]);return t},P2e=(t,e)=>s5n(t,o5n(e)),Y2e=class extends kQ{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,this.subscriptions=new Map,this.topicMap=new V2e,this.events=new vh.EventEmitter,this.name=V6n,this.version=Y6n,this.pending=new Map,this.cached=[],this.initialized=!1,this.pendingSubscriptionWatchLabel="pending_sub_watch_label",this.pollingInterval=20,this.storagePrefix=Nm,this.subscribeTimeout=(0,Xt.toMiliseconds)(Xt.ONE_MINUTE),this.restartInProgress=!1,this.batchSubscribeTopicsLimit=500,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),this.registerEventListeners(),this.clientId=await this.relayer.core.crypto.getClientId())},this.subscribe=async(a,r)=>{await this.restartToComplete(),this.isInitialized(),this.logger.debug("Subscribing Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:a,opts:r}});try{let f=yQ(r),i={topic:a,relay:f};this.pending.set(a,i);let s=await this.rpcSubscribe(a,f);return typeof s=="string"&&(this.onSubscribe(s,i),this.logger.debug("Successfully Subscribed Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:a,opts:r}})),s}catch(f){throw this.logger.debug("Failed to Subscribe Topic"),this.logger.error(f),f}},this.unsubscribe=async(a,r)=>{await this.restartToComplete(),this.isInitialized(),typeof r?.id<"u"?await this.unsubscribeById(a,r.id,r):await this.unsubscribeByTopic(a,r)},this.isSubscribed=async a=>{if(this.topics.includes(a))return!0;let r=`${this.pendingSubscriptionWatchLabel}_${a}`;return await new Promise((f,i)=>{let s=new Xt.Watch;s.start(r);let o=setInterval(()=>{!this.pending.has(a)&&this.topics.includes(a)&&(clearInterval(o),s.stop(r),f(!0)),s.elapsed(r)>=$6n&&(clearInterval(o),s.stop(r),i(new Error("Subscription resolution timeout")))},this.pollingInterval)}).catch(()=>!1)},this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.start=async()=>{await this.onConnect()},this.stop=async()=>{await this.onDisconnect()},this.restart=async()=>{this.restartInProgress=!0,await this.restore(),await this.reset(),this.restartInProgress=!1},this.relayer=e,this.logger=Jo(n,this.name),this.clientId=""}get context(){return $o(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.relayer.core.customStoragePrefix+"//"+this.name}get length(){return this.subscriptions.size}get ids(){return Array.from(this.subscriptions.keys())}get values(){return Array.from(this.subscriptions.values())}get topics(){return this.topicMap.topics}hasSubscription(e,n){let a=!1;try{a=this.getSubscription(e).topic===n}catch{}return a}onEnable(){this.cached=[],this.initialized=!0}onDisable(){this.cached=this.values,this.subscriptions.clear(),this.topicMap.clear()}async unsubscribeByTopic(e,n){let a=this.topicMap.get(e);await Promise.all(a.map(async r=>await this.unsubscribeById(e,r,n)))}async unsubscribeById(e,n,a){this.logger.debug("Unsubscribing Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:n,opts:a}});try{let r=yQ(a);await this.rpcUnsubscribe(e,n,r);let f=Ca("USER_DISCONNECTED",`${this.name}, ${e}`);await this.onUnsubscribe(e,n,f),this.logger.debug("Successfully Unsubscribed Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:n,opts:a}})}catch(r){throw this.logger.debug("Failed to Unsubscribe Topic"),this.logger.error(r),r}}async rpcSubscribe(e,n){let a={method:EB(n.protocol).subscribe,params:{topic:e}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:a});try{return await await s_(this.relayer.request(a).catch(r=>this.logger.warn(r)),this.subscribeTimeout)?gh(e+this.clientId):null}catch{this.logger.debug("Outgoing Relay Subscribe Payload stalled"),this.relayer.events.emit(n6.connection_stalled)}return null}async rpcBatchSubscribe(e){if(!e.length)return;let n=e[0].relay,a={method:EB(n.protocol).batchSubscribe,params:{topics:e.map(r=>r.topic)}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:a});try{return await await s_(this.relayer.request(a).catch(r=>this.logger.warn(r)),this.subscribeTimeout)}catch{this.relayer.events.emit(n6.connection_stalled)}}rpcUnsubscribe(e,n,a){let r={method:EB(a.protocol).unsubscribe,params:{topic:e,id:n}};return this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:r}),this.relayer.request(r)}onSubscribe(e,n){this.setSubscription(e,P2e(IB({},n),{id:e})),this.pending.delete(n.topic)}onBatchSubscribe(e){e.length&&e.forEach(n=>{this.setSubscription(n.id,IB({},n)),this.pending.delete(n.topic)})}async onUnsubscribe(e,n,a){this.events.removeAllListeners(n),this.hasSubscription(n,e)&&this.deleteSubscription(n,a),await this.relayer.messages.del(e)}async setRelayerSubscriptions(e){await this.relayer.core.storage.setItem(this.storageKey,e)}async getRelayerSubscriptions(){return await this.relayer.core.storage.getItem(this.storageKey)}setSubscription(e,n){this.logger.debug("Setting subscription"),this.logger.trace({type:"method",method:"setSubscription",id:e,subscription:n}),this.addSubscription(e,n)}addSubscription(e,n){this.subscriptions.set(e,IB({},n)),this.topicMap.set(n.topic,e),this.events.emit(Ju.created,n)}getSubscription(e){this.logger.debug("Getting subscription"),this.logger.trace({type:"method",method:"getSubscription",id:e});let n=this.subscriptions.get(e);if(!n){let{message:a}=F0("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(a)}return n}deleteSubscription(e,n){this.logger.debug("Deleting subscription"),this.logger.trace({type:"method",method:"deleteSubscription",id:e,reason:n});let a=this.getSubscription(e);this.subscriptions.delete(e),this.topicMap.delete(a.topic,e),this.events.emit(Ju.deleted,P2e(IB({},a),{reason:n}))}async persist(){await this.setRelayerSubscriptions(this.values),this.events.emit(Ju.sync)}async reset(){if(this.cached.length){let e=Math.ceil(this.cached.length/this.batchSubscribeTopicsLimit);for(let n=0;n"u"||!e.length)return;if(this.subscriptions.size){let{message:n}=F0("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),this.logger.error(`${this.name}: ${JSON.stringify(this.values)}`),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored subscriptions for ${this.name}`),this.logger.trace({type:"method",method:"restore",subscriptions:this.values})}catch(e){this.logger.debug(`Failed to Restore subscriptions for ${this.name}`),this.logger.error(e)}}async batchSubscribe(e){if(!e.length)return;let n=await this.rpcBatchSubscribe(e);U6(n)&&this.onBatchSubscribe(n.map((a,r)=>P2e(IB({},e[r]),{id:a})))}async onConnect(){await this.restart(),this.onEnable()}onDisconnect(){this.onDisable()}async checkPending(){if(!this.initialized||!this.relayer.connected)return;let e=[];this.pending.forEach(n=>{e.push(n)}),await this.batchSubscribe(e)}registerEventListeners(){this.relayer.core.heartbeat.on(Y9.HEARTBEAT_EVENTS.pulse,async()=>{await this.checkPending()}),this.events.on(Ju.created,async e=>{let n=Ju.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),await this.persist()}),this.events.on(Ju.deleted,async e=>{let n=Ju.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),await this.persist()})}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}async restartToComplete(){this.restartInProgress&&await new Promise(e=>{let n=setInterval(()=>{this.restartInProgress||(clearInterval(n),e())},this.pollingInterval)})}},l5n=Object.defineProperty,y60=Object.getOwnPropertySymbols,u5n=Object.prototype.hasOwnProperty,p5n=Object.prototype.propertyIsEnumerable,g60=(t,e,n)=>e in t?l5n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,h5n=(t,e)=>{for(var n in e||(e={}))u5n.call(e,n)&&g60(t,n,e[n]);if(y60)for(var n of y60(e))p5n.call(e,n)&&g60(t,n,e[n]);return t},$2e=class extends CQ{constructor(e){super(e),this.protocol="wc",this.version=2,this.events=new vh.EventEmitter,this.name=z6n,this.transportExplicitlyClosed=!1,this.initialized=!1,this.connectionAttemptInProgress=!1,this.connectionStatusPollingInterval=20,this.staleConnectionErrors=["socket hang up","socket stalled","interrupted"],this.hasExperiencedNetworkDisruption=!1,this.requestsInFlight=new Map,this.heartBeatTimeout=(0,Xt.toMiliseconds)(Xt.THIRTY_SECONDS+Xt.ONE_SECOND),this.request=async n=>{var a,r;this.logger.debug("Publishing Request Payload");let f=n.id||gl().toString();await this.toEstablishConnection();try{let i=this.provider.request(n);this.requestsInFlight.set(f,{promise:i,request:n}),this.logger.trace({id:f,method:n.method,topic:(a=n.params)==null?void 0:a.topic},"relayer.request - attempt to publish...");let s=await new Promise(async(o,c)=>{let d=()=>{c(new Error(`relayer.request - publish interrupted, id: ${f}`))};this.provider.on(hd.disconnect,d);let l=await i;this.provider.off(hd.disconnect,d),o(l)});return this.logger.trace({id:f,method:n.method,topic:(r=n.params)==null?void 0:r.topic},"relayer.request - published"),s}catch(i){throw this.logger.debug(`Failed to Publish Request: ${f}`),i}finally{this.requestsInFlight.delete(f)}},this.resetPingTimeout=()=>{if(i_())try{clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{var n,a,r;(r=(a=(n=this.provider)==null?void 0:n.connection)==null?void 0:a.socket)==null||r.terminate()},this.heartBeatTimeout)}catch(n){this.logger.warn(n)}},this.onPayloadHandler=n=>{this.onProviderPayload(n),this.resetPingTimeout()},this.onConnectHandler=()=>{this.startPingTimeout(),this.events.emit(n6.connect)},this.onDisconnectHandler=()=>{this.onProviderDisconnect()},this.onProviderErrorHandler=n=>{this.logger.error(n),this.events.emit(n6.error,n),this.logger.info("Fatal socket error received, closing transport"),this.transportClose()},this.registerProviderListeners=()=>{this.provider.on(hd.payload,this.onPayloadHandler),this.provider.on(hd.connect,this.onConnectHandler),this.provider.on(hd.disconnect,this.onDisconnectHandler),this.provider.on(hd.error,this.onProviderErrorHandler)},this.core=e.core,this.logger=typeof e.logger<"u"&&typeof e.logger!="string"?Jo(e.logger,this.name):(0,_7.default)(A7({level:e.logger||H6n})),this.messages=new K2e(this.logger,e.core),this.subscriber=new Y2e(this,this.logger),this.publisher=new Q2e(this,this.logger),this.relayUrl=e?.relayUrl||U60,this.projectId=e.projectId,this.bundleId=F10(),this.provider={}}async init(){this.logger.trace("Initialized"),this.registerEventListeners(),await this.createProvider(),await Promise.all([this.messages.init(),this.subscriber.init()]);try{await this.transportOpen()}catch{this.logger.warn(`Connection via ${this.relayUrl} failed, attempting to connect via failover domain ${h60}...`),await this.restartTransport(h60)}this.initialized=!0,setTimeout(async()=>{this.subscriber.topics.length===0&&this.subscriber.pending.size===0&&(this.logger.info("No topics subscribed to after init, closing transport"),await this.transportClose(),this.transportExplicitlyClosed=!1)},G6n)}get context(){return $o(this.logger)}get connected(){var e,n,a;return((a=(n=(e=this.provider)==null?void 0:e.connection)==null?void 0:n.socket)==null?void 0:a.readyState)===1}get connecting(){var e,n,a;return((a=(n=(e=this.provider)==null?void 0:e.connection)==null?void 0:n.socket)==null?void 0:a.readyState)===0}async publish(e,n,a){this.isInitialized(),await this.publisher.publish(e,n,a),await this.recordMessageEvent({topic:e,message:n,publishedAt:Date.now()})}async subscribe(e,n){var a;this.isInitialized();let r=((a=this.subscriber.topicMap.get(e))==null?void 0:a[0])||"",f,i=s=>{s.topic===e&&(this.subscriber.off(Ju.created,i),f())};return await Promise.all([new Promise(s=>{f=s,this.subscriber.on(Ju.created,i)}),new Promise(async s=>{r=await this.subscriber.subscribe(e,n)||r,s()})]),r}async unsubscribe(e,n){this.isInitialized(),await this.subscriber.unsubscribe(e,n)}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async transportDisconnect(){if(!this.hasExperiencedNetworkDisruption&&this.connected&&this.requestsInFlight.size>0)try{await Promise.all(Array.from(this.requestsInFlight.values()).map(e=>e.promise))}catch(e){this.logger.warn(e)}this.hasExperiencedNetworkDisruption||this.connected?await s_(this.provider.disconnect(),2e3,"provider.disconnect()").catch(()=>this.onProviderDisconnect()):this.onProviderDisconnect()}async transportClose(){this.transportExplicitlyClosed=!0,await this.transportDisconnect()}async transportOpen(e){await this.confirmOnlineStateOrThrow(),e&&e!==this.relayUrl&&(this.relayUrl=e,await this.transportDisconnect(),await this.createProvider()),this.connectionAttemptInProgress=!0,this.transportExplicitlyClosed=!1;try{await new Promise(async(n,a)=>{let r=()=>{this.provider.off(hd.disconnect,r),a(new Error("Connection interrupted while trying to subscribe"))};this.provider.on(hd.disconnect,r),await s_(this.provider.connect(),(0,Xt.toMiliseconds)(Xt.ONE_MINUTE),`Socket stalled when trying to connect to ${this.relayUrl}`).catch(f=>{a(f)}),await this.subscriber.start(),this.hasExperiencedNetworkDisruption=!1,n()})}catch(n){this.logger.error(n);let a=n;if(!this.isConnectionStalled(a.message))throw n}finally{this.connectionAttemptInProgress=!1}}async restartTransport(e){this.connectionAttemptInProgress||(this.relayUrl=e||this.relayUrl,await this.confirmOnlineStateOrThrow(),await this.transportClose(),await this.createProvider(),await this.transportOpen())}async confirmOnlineStateOrThrow(){if(!await v2e())throw new Error("No internet connection detected. Please restart your network and try again.")}startPingTimeout(){var e,n,a,r,f;if(i_())try{(n=(e=this.provider)==null?void 0:e.connection)!=null&&n.socket&&((f=(r=(a=this.provider)==null?void 0:a.connection)==null?void 0:r.socket)==null||f.once("ping",()=>{this.resetPingTimeout()})),this.resetPingTimeout()}catch(i){this.logger.warn(i)}}isConnectionStalled(e){return this.staleConnectionErrors.some(n=>e.includes(n))}async createProvider(){this.provider.connection&&this.unregisterProviderListeners();let e=await this.core.crypto.signJWT(this.relayUrl);this.provider=new H6(new oW(O10({sdkVersion:j6n,protocol:this.protocol,version:this.version,relayUrl:this.relayUrl,projectId:this.projectId,auth:e,useOnCloseEvent:!0,bundleId:this.bundleId}))),this.registerProviderListeners()}async recordMessageEvent(e){let{topic:n,message:a}=e;await this.messages.set(n,a)}async shouldIgnoreMessageEvent(e){let{topic:n,message:a}=e;if(!a||a.length===0)return this.logger.debug(`Ignoring invalid/empty message: ${a}`),!0;if(!await this.subscriber.isSubscribed(n))return this.logger.debug(`Ignoring message for non-subscribed topic ${n}`),!0;let r=this.messages.has(n,a);return r&&this.logger.debug(`Ignoring duplicate message: ${a}`),r}async onProviderPayload(e){if(this.logger.debug("Incoming Relay Payload"),this.logger.trace({type:"payload",direction:"incoming",payload:e}),sx(e)){if(!e.method.endsWith(W6n))return;let n=e.params,{topic:a,message:r,publishedAt:f}=n.data,i={topic:a,message:r,publishedAt:f};this.logger.debug("Emitting Relayer Payload"),this.logger.trace(h5n({type:"event",event:n.id},i)),this.events.emit(n.id,i),await this.acknowledgePayload(e),await this.onMessageEvent(i)}else gb(e)&&this.events.emit(n6.message_ack,e)}async onMessageEvent(e){await this.shouldIgnoreMessageEvent(e)||(this.events.emit(n6.message,e),await this.recordMessageEvent(e))}async acknowledgePayload(e){let n=L8(e.id,!0);await this.provider.connection.send(n)}unregisterProviderListeners(){this.provider.off(hd.payload,this.onPayloadHandler),this.provider.off(hd.connect,this.onConnectHandler),this.provider.off(hd.disconnect,this.onDisconnectHandler),this.provider.off(hd.error,this.onProviderErrorHandler)}async registerEventListeners(){let e=await v2e();e60(async n=>{e!==n&&(e=n,n?await this.restartTransport().catch(a=>this.logger.error(a)):(this.hasExperiencedNetworkDisruption=!0,await this.transportDisconnect(),this.transportExplicitlyClosed=!1))})}async onProviderDisconnect(){await this.subscriber.stop(),this.events.emit(n6.disconnect),this.connectionAttemptInProgress=!1,!this.transportExplicitlyClosed&&setTimeout(async()=>{await this.transportOpen().catch(e=>this.logger.error(e))},(0,Xt.toMiliseconds)(q6n))}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}async toEstablishConnection(){await this.confirmOnlineStateOrThrow(),!this.connected&&(this.connectionAttemptInProgress&&await new Promise(e=>{let n=setInterval(()=>{this.connected&&(clearInterval(n),e())},this.connectionStatusPollingInterval)}),await this.transportOpen())}},b5n=Object.defineProperty,v60=Object.getOwnPropertySymbols,m5n=Object.prototype.hasOwnProperty,y5n=Object.prototype.propertyIsEnumerable,w60=(t,e,n)=>e in t?b5n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,T60=(t,e)=>{for(var n in e||(e={}))m5n.call(e,n)&&w60(t,n,e[n]);if(v60)for(var n of v60(e))y5n.call(e,n)&&w60(t,n,e[n]);return t},Xu=class extends IQ{constructor(e,n,a,r=Nm,f=void 0){super(e,n,a,r),this.core=e,this.logger=n,this.name=a,this.map=new Map,this.version=K6n,this.cached=[],this.initialized=!1,this.storagePrefix=Nm,this.recentlyDeleted=[],this.recentlyDeletedLimit=200,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(i=>{this.getKey&&i!==null&&!bo(i)?this.map.set(this.getKey(i),i):Hc0(i)?this.map.set(i.id,i):zc0(i)&&this.map.set(i.topic,i)}),this.cached=[],this.initialized=!0)},this.set=async(i,s)=>{this.isInitialized(),this.map.has(i)?await this.update(i,s):(this.logger.debug("Setting value"),this.logger.trace({type:"method",method:"set",key:i,value:s}),this.map.set(i,s),await this.persist())},this.get=i=>(this.isInitialized(),this.logger.debug("Getting value"),this.logger.trace({type:"method",method:"get",key:i}),this.getData(i)),this.getAll=i=>(this.isInitialized(),i?this.values.filter(s=>Object.keys(i).every(o=>(0,A60.default)(s[o],i[o]))):this.values),this.update=async(i,s)=>{this.isInitialized(),this.logger.debug("Updating value"),this.logger.trace({type:"method",method:"update",key:i,update:s});let o=T60(T60({},this.getData(i)),s);this.map.set(i,o),await this.persist()},this.delete=async(i,s)=>{this.isInitialized(),this.map.has(i)&&(this.logger.debug("Deleting value"),this.logger.trace({type:"method",method:"delete",key:i,reason:s}),this.map.delete(i),this.addToRecentlyDeleted(i),await this.persist())},this.logger=Jo(n,this.name),this.storagePrefix=r,this.getKey=f}get context(){return $o(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.map.size}get keys(){return Array.from(this.map.keys())}get values(){return Array.from(this.map.values())}addToRecentlyDeleted(e){this.recentlyDeleted.push(e),this.recentlyDeleted.length>=this.recentlyDeletedLimit&&this.recentlyDeleted.splice(0,this.recentlyDeletedLimit/2)}async setDataStore(e){await this.core.storage.setItem(this.storageKey,e)}async getDataStore(){return await this.core.storage.getItem(this.storageKey)}getData(e){let n=this.map.get(e);if(!n){if(this.recentlyDeleted.includes(e)){let{message:r}=F0("MISSING_OR_INVALID",`Record was recently deleted - ${this.name}: ${e}`);throw this.logger.error(r),new Error(r)}let{message:a}=F0("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.error(a),new Error(a)}return n}async persist(){await this.setDataStore(this.values)}async restore(){try{let e=await this.getDataStore();if(typeof e>"u"||!e.length)return;if(this.map.size){let{message:n}=F0("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored value for ${this.name}`),this.logger.trace({type:"method",method:"restore",value:this.values})}catch(e){this.logger.debug(`Failed to Restore value for ${this.name}`),this.logger.error(e)}}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},J2e=class{constructor(e,n){this.core=e,this.logger=n,this.name=J6n,this.version=X6n,this.events=new vh.default,this.initialized=!1,this.storagePrefix=Nm,this.ignoredPayloadTypes=[$u],this.registeredMethods=[],this.init=async()=>{this.initialized||(await this.pairings.init(),await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.initialized=!0,this.logger.trace("Initialized"))},this.register=({methods:a})=>{this.isInitialized(),this.registeredMethods=[...new Set([...this.registeredMethods,...a])]},this.create=async a=>{this.isInitialized();let r=mQ(),f=await this.core.crypto.setSymKey(r),i=Fs(Xt.FIVE_MINUTES),s={protocol:rue},o={topic:f,expiry:i,relay:s,active:!1},c=Nc0({protocol:this.core.protocol,version:this.core.version,topic:f,symKey:r,relay:s,expiryTimestamp:i,methods:a?.methods});return await this.pairings.set(f,o),await this.core.relayer.subscribe(f),this.core.expirer.set(f,i),{topic:f,uri:c}},this.pair=async a=>{this.isInitialized(),this.isValidPair(a);let{topic:r,symKey:f,relay:i,expiryTimestamp:s,methods:o}=p2e(a.uri),c;if(this.pairings.keys.includes(r)&&(c=this.pairings.get(r),c.active))throw new Error(`Pairing already exists: ${r}. Please try again with a new connection URI.`);let d=s||Fs(Xt.FIVE_MINUTES),l={topic:r,relay:i,expiry:d,active:!1,methods:o};return await this.pairings.set(r,l),this.core.expirer.set(r,d),a.activatePairing&&await this.activate({topic:r}),this.events.emit(Q9.create,l),this.core.crypto.keychain.has(r)||await this.core.crypto.setSymKey(f,r),await this.core.relayer.subscribe(r,{relay:i}),l},this.activate=async({topic:a})=>{this.isInitialized();let r=Fs(Xt.THIRTY_DAYS);await this.pairings.update(a,{active:!0,expiry:r}),this.core.expirer.set(a,r)},this.ping=async a=>{this.isInitialized(),await this.isValidPing(a);let{topic:r}=a;if(this.pairings.keys.includes(r)){let f=await this.sendRequest(r,"wc_pairingPing",{}),{done:i,resolve:s,reject:o}=yh();this.events.once(Dn("pairing_ping",f),({error:c})=>{c?o(c):s()}),await i()}},this.updateExpiry=async({topic:a,expiry:r})=>{this.isInitialized(),await this.pairings.update(a,{expiry:r})},this.updateMetadata=async({topic:a,metadata:r})=>{this.isInitialized(),await this.pairings.update(a,{peerMetadata:r})},this.getPairings=()=>(this.isInitialized(),this.pairings.values),this.disconnect=async a=>{this.isInitialized(),await this.isValidDisconnect(a);let{topic:r}=a;this.pairings.keys.includes(r)&&(await this.sendRequest(r,"wc_pairingDelete",Ca("USER_DISCONNECTED")),await this.deletePairing(r))},this.sendRequest=async(a,r,f)=>{let i=nu(r,f),s=await this.core.crypto.encode(a,i),o=CB[r].req;return this.core.history.set(a,i),this.core.relayer.publish(a,s,o),i.id},this.sendResult=async(a,r,f)=>{let i=L8(a,f),s=await this.core.crypto.encode(r,i),o=await this.core.history.get(r,a),c=CB[o.request.method].res;await this.core.relayer.publish(r,s,c),await this.core.history.resolve(i)},this.sendError=async(a,r,f)=>{let i=F8(a,f),s=await this.core.crypto.encode(r,i),o=await this.core.history.get(r,a),c=CB[o.request.method]?CB[o.request.method].res:CB.unregistered_method.res;await this.core.relayer.publish(r,s,c),await this.core.history.resolve(i)},this.deletePairing=async(a,r)=>{await this.core.relayer.unsubscribe(a),await Promise.all([this.pairings.delete(a,Ca("USER_DISCONNECTED")),this.core.crypto.deleteSymKey(a),r?Promise.resolve():this.core.expirer.del(a)])},this.cleanup=async()=>{let a=this.pairings.getAll().filter(r=>Vu(r.expiry));await Promise.all(a.map(r=>this.deletePairing(r.topic)))},this.onRelayEventRequest=a=>{let{topic:r,payload:f}=a;switch(f.method){case"wc_pairingPing":return this.onPairingPingRequest(r,f);case"wc_pairingDelete":return this.onPairingDeleteRequest(r,f);default:return this.onUnknownRpcMethodRequest(r,f)}},this.onRelayEventResponse=async a=>{let{topic:r,payload:f}=a,i=(await this.core.history.get(r,f.id)).request.method;switch(i){case"wc_pairingPing":return this.onPairingPingResponse(r,f);default:return this.onUnknownRpcMethodResponse(i)}},this.onPairingPingRequest=async(a,r)=>{let{id:f}=r;try{this.isValidPing({topic:a}),await this.sendResult(f,a,!0),this.events.emit(Q9.ping,{id:f,topic:a})}catch(i){await this.sendError(f,a,i),this.logger.error(i)}},this.onPairingPingResponse=(a,r)=>{let{id:f}=r;setTimeout(()=>{A6(r)?this.events.emit(Dn("pairing_ping",f),{}):e1(r)&&this.events.emit(Dn("pairing_ping",f),{error:r.error})},500)},this.onPairingDeleteRequest=async(a,r)=>{let{id:f}=r;try{this.isValidDisconnect({topic:a}),await this.deletePairing(a),this.events.emit(Q9.delete,{id:f,topic:a})}catch(i){await this.sendError(f,a,i),this.logger.error(i)}},this.onUnknownRpcMethodRequest=async(a,r)=>{let{id:f,method:i}=r;try{if(this.registeredMethods.includes(i))return;let s=Ca("WC_METHOD_UNSUPPORTED",i);await this.sendError(f,a,s),this.logger.error(s)}catch(s){await this.sendError(f,a,s),this.logger.error(s)}},this.onUnknownRpcMethodResponse=a=>{this.registeredMethods.includes(a)||this.logger.error(Ca("WC_METHOD_UNSUPPORTED",a))},this.isValidPair=a=>{var r;if(!m1(a)){let{message:i}=F0("MISSING_OR_INVALID",`pair() params: ${a}`);throw new Error(i)}if(!Uc0(a.uri)){let{message:i}=F0("MISSING_OR_INVALID",`pair() uri: ${a.uri}`);throw new Error(i)}let f=p2e(a.uri);if(!((r=f?.relay)!=null&&r.protocol)){let{message:i}=F0("MISSING_OR_INVALID","pair() uri#relay-protocol");throw new Error(i)}if(!(f!=null&&f.symKey)){let{message:i}=F0("MISSING_OR_INVALID","pair() uri#symKey");throw new Error(i)}if(f!=null&&f.expiryTimestamp&&(0,Xt.toMiliseconds)(f?.expiryTimestamp){if(!m1(a)){let{message:f}=F0("MISSING_OR_INVALID",`ping() params: ${a}`);throw new Error(f)}let{topic:r}=a;await this.isValidPairingTopic(r)},this.isValidDisconnect=async a=>{if(!m1(a)){let{message:f}=F0("MISSING_OR_INVALID",`disconnect() params: ${a}`);throw new Error(f)}let{topic:r}=a;await this.isValidPairingTopic(r)},this.isValidPairingTopic=async a=>{if(!Bf(a,!1)){let{message:r}=F0("MISSING_OR_INVALID",`pairing topic should be a string: ${a}`);throw new Error(r)}if(!this.pairings.keys.includes(a)){let{message:r}=F0("NO_MATCHING_KEY",`pairing topic doesn't exist: ${a}`);throw new Error(r)}if(Vu(this.pairings.get(a).expiry)){await this.deletePairing(a);let{message:r}=F0("EXPIRED",`pairing topic: ${a}`);throw new Error(r)}},this.core=e,this.logger=Jo(n,this.name),this.pairings=new Xu(this.core,this.logger,this.name,this.storagePrefix)}get context(){return $o(this.logger)}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}registerRelayerEvents(){this.core.relayer.on(n6.message,async e=>{let{topic:n,message:a}=e;if(!this.pairings.keys.includes(n)||this.ignoredPayloadTypes.includes(this.core.crypto.getPayloadType(a)))return;let r=await this.core.crypto.decode(n,a);try{sx(r)?(this.core.history.set(n,r),this.onRelayEventRequest({topic:n,payload:r})):gb(r)&&(await this.core.history.resolve(r),await this.onRelayEventResponse({topic:n,payload:r}),this.core.history.delete(n,r.id))}catch(f){this.logger.error(f)}})}registerExpirerEvents(){this.core.expirer.on(z6.expired,async e=>{let{topic:n}=hQ(e.target);n&&this.pairings.keys.includes(n)&&(await this.deletePairing(n,!0),this.events.emit(Q9.expire,{topic:n}))})}},X2e=class extends EQ{constructor(e,n){super(e,n),this.core=e,this.logger=n,this.records=new Map,this.events=new vh.EventEmitter,this.name=Z6n,this.version=e5n,this.cached=[],this.initialized=!1,this.storagePrefix=Nm,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(a=>this.records.set(a.id,a)),this.cached=[],this.registerEventListeners(),this.initialized=!0)},this.set=(a,r,f)=>{if(this.isInitialized(),this.logger.debug("Setting JSON-RPC request history record"),this.logger.trace({type:"method",method:"set",topic:a,request:r,chainId:f}),this.records.has(r.id))return;let i={id:r.id,topic:a,request:{method:r.method,params:r.params||null},chainId:f,expiry:Fs(Xt.THIRTY_DAYS)};this.records.set(i.id,i),this.persist(),this.events.emit(Gl.created,i)},this.resolve=async a=>{if(this.isInitialized(),this.logger.debug("Updating JSON-RPC response history record"),this.logger.trace({type:"method",method:"update",response:a}),!this.records.has(a.id))return;let r=await this.getRecord(a.id);typeof r.response>"u"&&(r.response=e1(a)?{error:a.error}:{result:a.result},this.records.set(r.id,r),this.persist(),this.events.emit(Gl.updated,r))},this.get=async(a,r)=>(this.isInitialized(),this.logger.debug("Getting record"),this.logger.trace({type:"method",method:"get",topic:a,id:r}),await this.getRecord(r)),this.delete=(a,r)=>{this.isInitialized(),this.logger.debug("Deleting record"),this.logger.trace({type:"method",method:"delete",id:r}),this.values.forEach(f=>{if(f.topic===a){if(typeof r<"u"&&f.id!==r)return;this.records.delete(f.id),this.events.emit(Gl.deleted,f)}}),this.persist()},this.exists=async(a,r)=>(this.isInitialized(),this.records.has(r)?(await this.getRecord(r)).topic===a:!1),this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.logger=Jo(n,this.name)}get context(){return $o(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get size(){return this.records.size}get keys(){return Array.from(this.records.keys())}get values(){return Array.from(this.records.values())}get pending(){let e=[];return this.values.forEach(n=>{if(typeof n.response<"u")return;let a={topic:n.topic,request:nu(n.request.method,n.request.params,n.id),chainId:n.chainId};return e.push(a)}),e}async setJsonRpcRecords(e){await this.core.storage.setItem(this.storageKey,e)}async getJsonRpcRecords(){return await this.core.storage.getItem(this.storageKey)}getRecord(e){this.isInitialized();let n=this.records.get(e);if(!n){let{message:a}=F0("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(a)}return n}async persist(){await this.setJsonRpcRecords(this.values),this.events.emit(Gl.sync)}async restore(){try{let e=await this.getJsonRpcRecords();if(typeof e>"u"||!e.length)return;if(this.records.size){let{message:n}=F0("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",records:this.values})}catch(e){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(e)}}registerEventListeners(){this.events.on(Gl.created,e=>{let n=Gl.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(Gl.updated,e=>{let n=Gl.updated;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(Gl.deleted,e=>{let n=Gl.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.core.heartbeat.on(Y9.HEARTBEAT_EVENTS.pulse,()=>{this.cleanup()})}cleanup(){try{this.isInitialized();let e=!1;this.records.forEach(n=>{(0,Xt.toMiliseconds)(n.expiry||0)-Date.now()<=0&&(this.logger.info(`Deleting expired history log: ${n.id}`),this.records.delete(n.id),this.events.emit(Gl.deleted,n,!1),e=!0)}),e&&this.persist()}catch(e){this.logger.warn(e)}}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},Z2e=class extends SQ{constructor(e,n){super(e,n),this.core=e,this.logger=n,this.expirations=new Map,this.events=new vh.EventEmitter,this.name=t5n,this.version=n5n,this.cached=[],this.initialized=!1,this.storagePrefix=Nm,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(a=>this.expirations.set(a.target,a)),this.cached=[],this.registerEventListeners(),this.initialized=!0)},this.has=a=>{try{let r=this.formatTarget(a);return typeof this.getExpiration(r)<"u"}catch{return!1}},this.set=(a,r)=>{this.isInitialized();let f=this.formatTarget(a),i={target:f,expiry:r};this.expirations.set(f,i),this.checkExpiry(f,i),this.events.emit(z6.created,{target:f,expiration:i})},this.get=a=>{this.isInitialized();let r=this.formatTarget(a);return this.getExpiration(r)},this.del=a=>{if(this.isInitialized(),this.has(a)){let r=this.formatTarget(a),f=this.getExpiration(r);this.expirations.delete(r),this.events.emit(z6.deleted,{target:r,expiration:f})}},this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.logger=Jo(n,this.name)}get context(){return $o(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.expirations.size}get keys(){return Array.from(this.expirations.keys())}get values(){return Array.from(this.expirations.values())}formatTarget(e){if(typeof e=="string")return H10(e);if(typeof e=="number")return z10(e);let{message:n}=F0("UNKNOWN_TYPE",`Target type: ${typeof e}`);throw new Error(n)}async setExpirations(e){await this.core.storage.setItem(this.storageKey,e)}async getExpirations(){return await this.core.storage.getItem(this.storageKey)}async persist(){await this.setExpirations(this.values),this.events.emit(z6.sync)}async restore(){try{let e=await this.getExpirations();if(typeof e>"u"||!e.length)return;if(this.expirations.size){let{message:n}=F0("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored expirations for ${this.name}`),this.logger.trace({type:"method",method:"restore",expirations:this.values})}catch(e){this.logger.debug(`Failed to Restore expirations for ${this.name}`),this.logger.error(e)}}getExpiration(e){let n=this.expirations.get(e);if(!n){let{message:a}=F0("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.warn(a),new Error(a)}return n}checkExpiry(e,n){let{expiry:a}=n;(0,Xt.toMiliseconds)(a)-Date.now()<=0&&this.expire(e,n)}expire(e,n){this.expirations.delete(e),this.events.emit(z6.expired,{target:e,expiration:n})}checkExpirations(){this.core.relayer.connected&&this.expirations.forEach((e,n)=>this.checkExpiry(n,e))}registerEventListeners(){this.core.heartbeat.on(Y9.HEARTBEAT_EVENTS.pulse,()=>this.checkExpirations()),this.events.on(z6.created,e=>{let n=z6.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(z6.expired,e=>{let n=z6.expired;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(z6.deleted,e=>{let n=z6.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()})}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},eue=class extends RQ{constructor(e,n){super(e,n),this.projectId=e,this.logger=n,this.name=D2e,this.initialized=!1,this.queue=[],this.verifyDisabled=!1,this.init=async a=>{if(this.verifyDisabled||j9()||!Fm())return;let r=this.getVerifyUrl(a?.verifyUrl);this.verifyUrl!==r&&this.removeIframe(),this.verifyUrl=r;try{await this.createIframe()}catch(f){this.logger.info(`Verify iframe failed to load: ${this.verifyUrl}`),this.logger.info(f)}if(!this.initialized){this.removeIframe(),this.verifyUrl=q2e;try{await this.createIframe()}catch(f){this.logger.info(`Verify iframe failed to load: ${this.verifyUrl}`),this.logger.info(f),this.verifyDisabled=!0}}},this.register=async a=>{this.initialized?this.sendPost(a.attestationId):(this.addToQueue(a.attestationId),await this.init())},this.resolve=async a=>{if(this.isDevEnv)return"";let r=this.getVerifyUrl(a?.verifyUrl),f;try{f=await this.fetchAttestation(a.attestationId,r)}catch(i){this.logger.info(`failed to resolve attestation: ${a.attestationId} from url: ${r}`),this.logger.info(i),f=await this.fetchAttestation(a.attestationId,q2e)}return f},this.fetchAttestation=async(a,r)=>{this.logger.info(`resolving attestation: ${a} from url: ${r}`);let f=this.startAbortTimer(Xt.ONE_SECOND*2),i=await fetch(`${r}/attestation/${a}`,{signal:this.abortController.signal});return clearTimeout(f),i.status===200?await i.json():void 0},this.addToQueue=a=>{this.queue.push(a)},this.processQueue=()=>{this.queue.length!==0&&(this.queue.forEach(a=>this.sendPost(a)),this.queue=[])},this.sendPost=a=>{var r;try{if(!this.iframe)return;(r=this.iframe.contentWindow)==null||r.postMessage(a,"*"),this.logger.info(`postMessage sent: ${a} ${this.verifyUrl}`)}catch{}},this.createIframe=async()=>{let a,r=f=>{f.data==="verify_ready"&&(this.onInit(),window.removeEventListener("message",r),a())};await Promise.race([new Promise(f=>{let i=document.getElementById(D2e);if(i)return this.iframe=i,this.onInit(),f();window.addEventListener("message",r);let s=document.createElement("iframe");s.id=D2e,s.src=`${this.verifyUrl}/${this.projectId}`,s.style.display="none",document.body.append(s),this.iframe=s,a=f}),new Promise((f,i)=>setTimeout(()=>{window.removeEventListener("message",r),i("verify iframe load timeout")},(0,Xt.toMiliseconds)(Xt.FIVE_SECONDS)))])},this.onInit=()=>{this.initialized=!0,this.processQueue()},this.removeIframe=()=>{this.iframe&&(this.iframe.remove(),this.iframe=void 0,this.initialized=!1)},this.getVerifyUrl=a=>{let r=a||V9;return a5n.includes(r)||(this.logger.info(`verify url: ${r}, not included in trusted list, assigning default: ${V9}`),r=V9),r},this.logger=Jo(n,this.name),this.verifyUrl=V9,this.abortController=new AbortController,this.isDevEnv=i_()&&E.env.IS_VITEST}get context(){return $o(this.logger)}startAbortTimer(e){return this.abortController=new AbortController,setTimeout(()=>this.abortController.abort(),(0,Xt.toMiliseconds)(e))}},tue=class extends MQ{constructor(e,n){super(e,n),this.projectId=e,this.logger=n,this.context=r5n,this.registerDeviceToken=async a=>{let{clientId:r,token:f,notificationType:i,enableEncrypted:s=!1}=a,o=`${f5n}/${this.projectId}/clients`;await(0,C60.default)(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({client_id:r,type:i,token:f,always_raw:s})})},this.logger=Jo(n,this.context)}},g5n=Object.defineProperty,x60=Object.getOwnPropertySymbols,v5n=Object.prototype.hasOwnProperty,w5n=Object.prototype.propertyIsEnumerable,E60=(t,e,n)=>e in t?g5n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,_60=(t,e)=>{for(var n in e||(e={}))v5n.call(e,n)&&E60(t,n,e[n]);if(x60)for(var n of x60(e))w5n.call(e,n)&&E60(t,n,e[n]);return t},nue=class t extends xQ{constructor(e){var n;super(e),this.protocol=O60,this.version=S6n,this.name=aue,this.events=new vh.EventEmitter,this.initialized=!1,this.on=(i,s)=>this.events.on(i,s),this.once=(i,s)=>this.events.once(i,s),this.off=(i,s)=>this.events.off(i,s),this.removeListener=(i,s)=>this.events.removeListener(i,s),this.projectId=e?.projectId,this.relayUrl=e?.relayUrl||U60,this.customStoragePrefix=e!=null&&e.customStoragePrefix?`:${e.customStoragePrefix}`:"";let a=A7({level:typeof e?.logger=="string"&&e.logger?e.logger:R6n.logger}),{logger:r,chunkLoggerController:f}=zFe({opts:a,maxSizeInBytes:e?.maxLogBlobSizeInBytes,loggerOverride:e?.logger});this.logChunkController=f,(n=this.logChunkController)!=null&&n.downloadLogsBlobInBrowser&&(window.downloadLogsBlobInBrowser=async()=>{var i,s;(i=this.logChunkController)!=null&&i.downloadLogsBlobInBrowser&&((s=this.logChunkController)==null||s.downloadLogsBlobInBrowser({clientId:await this.crypto.getClientId()}))}),this.logger=Jo(r,this.name),this.heartbeat=new Y9.HeartBeat,this.crypto=new G2e(this,this.logger,e?.keychain),this.history=new X2e(this,this.logger),this.expirer=new Z2e(this,this.logger),this.storage=e!=null&&e.storage?e.storage:new iz(_60(_60({},M6n),e?.storageOptions)),this.relayer=new $2e({core:this,logger:this.logger,relayUrl:this.relayUrl,projectId:this.projectId}),this.pairing=new J2e(this,this.logger),this.verify=new eue(this.projectId||"",this.logger),this.echoClient=new tue(this.projectId||"",this.logger)}static async init(e){let n=new t(e);await n.initialize();let a=await n.crypto.getClientId();return await n.storage.setItem(Q6n,a),n}get context(){return $o(this.logger)}async start(){this.initialized||await this.initialize()}async getLogsBlob(){var e;return(e=this.logChunkController)==null?void 0:e.logsToBlob({clientId:await this.crypto.getClientId()})}async initialize(){this.logger.trace("Initialized");try{await this.crypto.init(),await this.history.init(),await this.expirer.init(),await this.relayer.init(),await this.heartbeat.init(),await this.pairing.init(),this.initialized=!0,this.logger.info("Core Initialization Success")}catch(e){throw this.logger.warn(`Core Initialization Failure at epoch ${Date.now()}`,e),this.logger.error(e.message),e}}},H60=nue});var NQ,Fa,G60,K60,Q60,bue,fue,W60,T5n,mue,x5n,y_,E5n,bd,iue,wh,_5n,A5n,C5n,I5n,k5n,S5n,R5n,OQ,LQ,M5n,B5n,D5n,q60,P5n,L5n,j60,Ns,g_,sue,oue,cue,due,lue,uue,pue,hue,FQ,V60=ce(()=>{u();p();z60();vz();S2e();_B();NQ=Ee(Nr()),Fa=Ee(E7());vb();G60="wc",K60=2,Q60="client",bue=`${G60}@${K60}:${Q60}:`,fue={name:Q60,logger:"error",controller:!1,relayUrl:"wss://relay.walletconnect.com"},W60="WALLETCONNECT_DEEPLINK_CHOICE",T5n="proposal",mue="Proposal expired",x5n="session",y_=Fa.SEVEN_DAYS,E5n="engine",bd={wc_sessionPropose:{req:{ttl:Fa.FIVE_MINUTES,prompt:!0,tag:1100},res:{ttl:Fa.FIVE_MINUTES,prompt:!1,tag:1101}},wc_sessionSettle:{req:{ttl:Fa.FIVE_MINUTES,prompt:!1,tag:1102},res:{ttl:Fa.FIVE_MINUTES,prompt:!1,tag:1103}},wc_sessionUpdate:{req:{ttl:Fa.ONE_DAY,prompt:!1,tag:1104},res:{ttl:Fa.ONE_DAY,prompt:!1,tag:1105}},wc_sessionExtend:{req:{ttl:Fa.ONE_DAY,prompt:!1,tag:1106},res:{ttl:Fa.ONE_DAY,prompt:!1,tag:1107}},wc_sessionRequest:{req:{ttl:Fa.FIVE_MINUTES,prompt:!0,tag:1108},res:{ttl:Fa.FIVE_MINUTES,prompt:!1,tag:1109}},wc_sessionEvent:{req:{ttl:Fa.FIVE_MINUTES,prompt:!0,tag:1110},res:{ttl:Fa.FIVE_MINUTES,prompt:!1,tag:1111}},wc_sessionDelete:{req:{ttl:Fa.ONE_DAY,prompt:!1,tag:1112},res:{ttl:Fa.ONE_DAY,prompt:!1,tag:1113}},wc_sessionPing:{req:{ttl:Fa.ONE_DAY,prompt:!1,tag:1114},res:{ttl:Fa.ONE_DAY,prompt:!1,tag:1115}},wc_sessionAuthenticate:{req:{ttl:Fa.ONE_HOUR,prompt:!0,tag:1116},res:{ttl:Fa.ONE_HOUR,prompt:!1,tag:1117}}},iue={min:Fa.FIVE_MINUTES,max:Fa.SEVEN_DAYS},wh={idle:"IDLE",active:"ACTIVE"},_5n="request",A5n=["wc_sessionPropose","wc_sessionRequest","wc_authRequest"],C5n="wc",I5n="auth",k5n="authKeys",S5n="pairingTopics",R5n="requests",OQ=`${C5n}@${1.5}:${I5n}:`,LQ=`${OQ}:PUB_KEY`,M5n=Object.defineProperty,B5n=Object.defineProperties,D5n=Object.getOwnPropertyDescriptors,q60=Object.getOwnPropertySymbols,P5n=Object.prototype.hasOwnProperty,L5n=Object.prototype.propertyIsEnumerable,j60=(t,e,n)=>e in t?M5n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ns=(t,e)=>{for(var n in e||(e={}))P5n.call(e,n)&&j60(t,n,e[n]);if(q60)for(var n of q60(e))L5n.call(e,n)&&j60(t,n,e[n]);return t},g_=(t,e)=>B5n(t,D5n(e)),sue=class extends DQ{constructor(e){super(e),this.name=E5n,this.events=new NQ.default,this.initialized=!1,this.requestQueue={state:wh.idle,queue:[]},this.sessionRequestQueue={state:wh.idle,queue:[]},this.requestQueueDelay=Fa.ONE_SECOND,this.expectedPairingMethodMap=new Map,this.recentlyDeletedMap=new Map,this.recentlyDeletedLimit=200,this.init=async()=>{this.initialized||(await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.registerPairingEvents(),this.client.core.pairing.register({methods:Object.keys(bd)}),this.initialized=!0,setTimeout(()=>{this.sessionRequestQueue.queue=this.getPendingSessionRequests(),this.processSessionRequestQueue()},(0,Fa.toMiliseconds)(this.requestQueueDelay)))},this.connect=async n=>{await this.isInitialized();let a=g_(Ns({},n),{requiredNamespaces:n.requiredNamespaces||{},optionalNamespaces:n.optionalNamespaces||{}});await this.isValidConnect(a);let{pairingTopic:r,requiredNamespaces:f,optionalNamespaces:i,sessionProperties:s,relays:o}=a,c=r,d,l=!1;try{c&&(l=this.client.core.pairing.pairings.get(c).active)}catch(j){throw this.client.logger.error(`connect() -> pairing.get(${c}) failed`),j}if(!c||!l){let{topic:j,uri:Q}=await this.client.core.pairing.create();c=j,d=Q}if(!c){let{message:j}=F0("NO_MATCHING_KEY",`connect() pairing topic: ${c}`);throw new Error(j)}let h=await this.client.core.crypto.generateKeyPair(),y=bd.wc_sessionPropose.req.ttl||Fa.FIVE_MINUTES,v=Fs(y),S=Ns({requiredNamespaces:f,optionalNamespaces:i,relays:o??[{protocol:rue}],proposer:{publicKey:h,metadata:this.client.metadata},expiryTimestamp:v},s&&{sessionProperties:s}),{reject:O,resolve:F,done:z}=yh(y,mue);this.events.once(Dn("session_connect"),async({error:j,session:Q})=>{if(j)O(j);else if(Q){Q.self.publicKey=h;let V=g_(Ns({},Q),{requiredNamespaces:S.requiredNamespaces,optionalNamespaces:S.optionalNamespaces});await this.client.session.set(Q.topic,V),await this.setExpiry(Q.topic,Q.expiry),c&&await this.client.core.pairing.updateMetadata({topic:c,metadata:Q.peer.metadata}),F(V)}});let W=await this.sendRequest({topic:c,method:"wc_sessionPropose",params:S,throwOnFailedPublish:!0});return await this.setProposal(W,Ns({id:W},S)),{uri:d,approval:z}},this.pair=async n=>{await this.isInitialized();try{return await this.client.core.pairing.pair(n)}catch(a){throw this.client.logger.error("pair() failed"),a}},this.approve=async n=>{await this.isInitialized();try{await this.isValidApprove(n)}catch(z){throw this.client.logger.error("approve() -> isValidApprove() failed"),z}let{id:a,relayProtocol:r,namespaces:f,sessionProperties:i,sessionConfig:s}=n,o;try{o=this.client.proposal.get(a)}catch(z){throw this.client.logger.error(`approve() -> proposal.get(${a}) failed`),z}let{pairingTopic:c,proposer:d,requiredNamespaces:l,optionalNamespaces:h}=o;c=c||"";let y=await this.client.core.crypto.generateKeyPair(),v=d.publicKey,S=await this.client.core.crypto.generateSharedKey(y,v),O=Ns(Ns({relay:{protocol:r??"irn"},namespaces:f,pairingTopic:c,controller:{publicKey:y,metadata:this.client.metadata},expiry:Fs(y_)},i&&{sessionProperties:i}),s&&{sessionConfig:s});await this.client.core.relayer.subscribe(S);let F=g_(Ns({},O),{topic:S,requiredNamespaces:l,optionalNamespaces:h,pairingTopic:c,acknowledged:!1,self:O.controller,peer:{publicKey:d.publicKey,metadata:d.metadata},controller:y});await this.client.session.set(S,F);try{await this.sendResult({id:a,topic:c,result:{relay:{protocol:r??"irn"},responderPublicKey:y},throwOnFailedPublish:!0}),await this.sendRequest({topic:S,method:"wc_sessionSettle",params:O,throwOnFailedPublish:!0})}catch(z){throw this.client.logger.error(z),this.client.session.delete(S,Ca("USER_DISCONNECTED")),await this.client.core.relayer.unsubscribe(S),z}return await this.client.core.pairing.updateMetadata({topic:c,metadata:d.metadata}),await this.client.proposal.delete(a,Ca("USER_DISCONNECTED")),await this.client.core.pairing.activate({topic:c}),await this.setExpiry(S,Fs(y_)),{topic:S,acknowledged:()=>new Promise(z=>setTimeout(()=>z(this.client.session.get(S)),500))}},this.reject=async n=>{await this.isInitialized();try{await this.isValidReject(n)}catch(i){throw this.client.logger.error("reject() -> isValidReject() failed"),i}let{id:a,reason:r}=n,f;try{f=this.client.proposal.get(a).pairingTopic}catch(i){throw this.client.logger.error(`reject() -> proposal.get(${a}) failed`),i}f&&(await this.sendError({id:a,topic:f,error:r}),await this.client.proposal.delete(a,Ca("USER_DISCONNECTED")))},this.update=async n=>{await this.isInitialized();try{await this.isValidUpdate(n)}catch(l){throw this.client.logger.error("update() -> isValidUpdate() failed"),l}let{topic:a,namespaces:r}=n,{done:f,resolve:i,reject:s}=yh(),o=tu(),c=gl().toString(),d=this.client.session.get(a).namespaces;return this.events.once(Dn("session_update",o),({error:l})=>{l?s(l):i()}),await this.client.session.update(a,{namespaces:r}),this.sendRequest({topic:a,method:"wc_sessionUpdate",params:{namespaces:r},throwOnFailedPublish:!0,clientRpcId:o,relayRpcId:c}).catch(l=>{this.client.logger.error(l),this.client.session.update(a,{namespaces:d}),s(l)}),{acknowledged:f}},this.extend=async n=>{await this.isInitialized();try{await this.isValidExtend(n)}catch(o){throw this.client.logger.error("extend() -> isValidExtend() failed"),o}let{topic:a}=n,r=tu(),{done:f,resolve:i,reject:s}=yh();return this.events.once(Dn("session_extend",r),({error:o})=>{o?s(o):i()}),await this.setExpiry(a,Fs(y_)),this.sendRequest({topic:a,method:"wc_sessionExtend",params:{},clientRpcId:r,throwOnFailedPublish:!0}).catch(o=>{s(o)}),{acknowledged:f}},this.request=async n=>{await this.isInitialized();try{await this.isValidRequest(n)}catch(y){throw this.client.logger.error("request() -> isValidRequest() failed"),y}let{chainId:a,request:r,topic:f,expiry:i=bd.wc_sessionRequest.req.ttl}=n,s=this.client.session.get(f),o=tu(),c=gl().toString(),{done:d,resolve:l,reject:h}=yh(i,"Request expired. Please try again.");return this.events.once(Dn("session_request",o),({error:y,result:v})=>{y?h(y):l(v)}),await Promise.all([new Promise(async y=>{await this.sendRequest({clientRpcId:o,relayRpcId:c,topic:f,method:"wc_sessionRequest",params:{request:g_(Ns({},r),{expiryTimestamp:Fs(i)}),chainId:a},expiry:i,throwOnFailedPublish:!0}).catch(v=>h(v)),this.client.events.emit("session_request_sent",{topic:f,request:r,chainId:a,id:o}),y()}),new Promise(async y=>{var v;if(!((v=s.sessionConfig)!=null&&v.disableDeepLink)){let S=await q10(this.client.core.storage,W60);W10({id:o,topic:f,wcDeepLink:S})}y()}),d()]).then(y=>y[2])},this.respond=async n=>{await this.isInitialized(),await this.isValidRespond(n);let{topic:a,response:r}=n,{id:f}=r;A6(r)?await this.sendResult({id:f,topic:a,result:r.result,throwOnFailedPublish:!0}):e1(r)&&await this.sendError({id:f,topic:a,error:r.error}),this.cleanupAfterResponse(n)},this.ping=async n=>{await this.isInitialized();try{await this.isValidPing(n)}catch(r){throw this.client.logger.error("ping() -> isValidPing() failed"),r}let{topic:a}=n;if(this.client.session.keys.includes(a)){let r=tu(),f=gl().toString(),{done:i,resolve:s,reject:o}=yh();this.events.once(Dn("session_ping",r),({error:c})=>{c?o(c):s()}),await Promise.all([this.sendRequest({topic:a,method:"wc_sessionPing",params:{},throwOnFailedPublish:!0,clientRpcId:r,relayRpcId:f}),i()])}else this.client.core.pairing.pairings.keys.includes(a)&&await this.client.core.pairing.ping({topic:a})},this.emit=async n=>{await this.isInitialized(),await this.isValidEmit(n);let{topic:a,event:r,chainId:f}=n,i=gl().toString();await this.sendRequest({topic:a,method:"wc_sessionEvent",params:{event:r,chainId:f},throwOnFailedPublish:!0,relayRpcId:i})},this.disconnect=async n=>{await this.isInitialized(),await this.isValidDisconnect(n);let{topic:a}=n;if(this.client.session.keys.includes(a))await this.sendRequest({topic:a,method:"wc_sessionDelete",params:Ca("USER_DISCONNECTED"),throwOnFailedPublish:!0}),await this.deleteSession({topic:a,emitEvent:!1});else if(this.client.core.pairing.pairings.keys.includes(a))await this.client.core.pairing.disconnect({topic:a});else{let{message:r}=F0("MISMATCHED_TOPIC",`Session or pairing topic not found: ${a}`);throw new Error(r)}},this.find=n=>(this.isInitialized(),this.client.session.getAll().filter(a=>Oc0(a,n))),this.getPendingSessionRequests=()=>this.client.pendingRequest.getAll(),this.authenticate=async n=>{this.isInitialized(),this.isValidAuthenticate(n);let{chains:a,statement:r="",uri:f,domain:i,nonce:s,type:o,exp:c,nbf:d,methods:l=[]}=n,h=[...n.resources||[]],{topic:y,uri:v}=await this.client.core.pairing.create({methods:["wc_sessionAuthenticate"]});this.client.logger.info({message:"Generated new pairing",pairing:{topic:y,uri:v}});let S=await this.client.core.crypto.generateKeyPair(),O=u_(S);if(await Promise.all([this.client.auth.authKeys.set(LQ,{responseTopic:O,publicKey:S}),this.client.auth.pairingTopics.set(O,{topic:O,pairingTopic:y})]),await this.client.core.relayer.subscribe(O),this.client.logger.info(`sending request to new pairing topic: ${y}`),l.length>0){let{namespace:N}=f_(a[0]),w=kc0(N,"request",l);TB(h)&&(w=Sc0(w,h.pop())),h.push(w)}let F=Fs(bd.wc_sessionPropose.req.ttl),z={authPayload:{type:o??"caip122",chains:a,statement:r,aud:f,domain:i,version:"1",nonce:s,iat:new Date().toISOString(),exp:c,nbf:d,resources:h},requester:{publicKey:S,metadata:this.client.metadata},expiryTimestamp:F},W={eip155:{chains:a,methods:[...new Set(["personal_sign",...l])],events:["chainChanged","accountsChanged"]}},j={requiredNamespaces:{},optionalNamespaces:W,relays:[{protocol:"irn"}],proposer:{publicKey:S,metadata:this.client.metadata},expiryTimestamp:F},{done:Q,resolve:V,reject:X}=yh(bd.wc_sessionAuthenticate.req.ttl,"Request expired"),K=async({error:N,session:w})=>{if(this.events.off(Dn("session_request",R),G),N)X(N);else if(w){w.self.publicKey=S,await this.client.session.set(w.topic,w),await this.setExpiry(w.topic,w.expiry),y&&await this.client.core.pairing.updateMetadata({topic:y,metadata:w.peer.metadata});let m=this.client.session.get(w.topic);V({session:m})}},G=async N=>{if(N.error){let g=Ca("WC_METHOD_UNSUPPORTED","wc_sessionAuthenticate");return N.error.code===g.code?void 0:(this.events.off(Dn("session_connect"),K),X(N.error.message))}this.events.off(Dn("session_connect"),K);let{cacaos:w,responder:m}=N.result,A=[],P=[];for(let g of w){await f2e({cacao:g,projectId:this.client.core.projectId})||(this.client.logger.error(g,"Signature verification failed"),X(Ca("SESSION_SETTLEMENT_FAILED","Signature verification failed")));let{p:B}=g,M=TB(B.resources),k=[r2e(B.iss)],q=wB(B.iss);if(M){let ee=s2e(M),U=o2e(M);A.push(...ee),k.push(...U)}for(let ee of k)P.push(`${ee}:${q}`)}let L=await this.client.core.crypto.generateSharedKey(S,m.publicKey),x;A.length>0&&(x={topic:L,acknowledged:!0,self:{publicKey:S,metadata:this.client.metadata},peer:m,controller:m.publicKey,expiry:Fs(y_),requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:y,namespaces:h2e([...new Set(A)],[...new Set(P)])},await this.client.core.relayer.subscribe(L),await this.client.session.set(L,x),x=this.client.session.get(L)),V({auths:w,session:x})},R=tu(),T=tu();this.events.once(Dn("session_connect"),K),this.events.once(Dn("session_request",R),G);try{await Promise.all([this.sendRequest({topic:y,method:"wc_sessionAuthenticate",params:z,expiry:n.expiry,throwOnFailedPublish:!0,clientRpcId:R}),this.sendRequest({topic:y,method:"wc_sessionPropose",params:j,expiry:bd.wc_sessionPropose.req.ttl,throwOnFailedPublish:!0,clientRpcId:T})])}catch(N){throw this.events.off(Dn("session_connect"),K),this.events.off(Dn("session_request",R),G),N}return await this.setProposal(T,Ns({id:T},j)),await this.client.auth.requests.set(R,{authPayload:z.authPayload,requester:z.requester,expiryTimestamp:F,id:R,pairingTopic:y,verifyContext:{}}),{uri:v,response:Q}},this.approveSessionAuthenticate=async n=>{this.isInitialized();let{id:a,auths:r}=n,f=this.getPendingAuthRequest(a);if(!f)throw new Error(`Could not find pending auth request with id ${a}`);let i=f.requester.publicKey,s=await this.client.core.crypto.generateKeyPair(),o=u_(i),c={type:$u,receiverPublicKey:i,senderPublicKey:s},d=[],l=[];for(let v of r){if(!await f2e({cacao:v,projectId:this.client.core.projectId})){let W=Ca("SESSION_SETTLEMENT_FAILED","Signature verification failed");throw await this.sendError({id:a,topic:o,error:W,encodeOpts:c}),new Error(W.message)}let{p:S}=v,O=TB(S.resources),F=[r2e(S.iss)],z=wB(S.iss);if(O){let W=s2e(O),j=o2e(O);d.push(...W),F.push(...j)}for(let W of F)l.push(`${W}:${z}`)}let h=await this.client.core.crypto.generateSharedKey(s,i),y;return d?.length>0&&(y={topic:h,acknowledged:!0,self:{publicKey:s,metadata:this.client.metadata},peer:{publicKey:i,metadata:f.requester.metadata},controller:i,expiry:Fs(y_),authentication:r,requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:"",namespaces:h2e([...new Set(d)],[...new Set(l)])},await this.client.core.relayer.subscribe(h),await this.client.session.set(h,y)),await this.sendResult({topic:o,id:a,result:{cacaos:r,responder:{publicKey:s,metadata:this.client.metadata}},encodeOpts:c,throwOnFailedPublish:!0}),await this.client.auth.requests.delete(a,{message:"fullfilled",code:0}),await this.client.core.pairing.activate({topic:f.pairingTopic}),{session:y}},this.rejectSessionAuthenticate=async n=>{await this.isInitialized();let{id:a,reason:r}=n,f=this.getPendingAuthRequest(a);if(!f)throw new Error(`Could not find pending auth request with id ${a}`);let i=f.requester.publicKey,s=await this.client.core.crypto.generateKeyPair(),o=u_(i),c={type:$u,receiverPublicKey:i,senderPublicKey:s};await this.sendError({id:a,topic:o,error:r,encodeOpts:c}),await this.client.auth.requests.delete(a,{message:"rejected",code:0}),await this.client.proposal.delete(a,Ca("USER_DISCONNECTED"))},this.formatAuthMessage=n=>{this.isInitialized();let{request:a,iss:r}=n;return i2e(a,r)},this.cleanupDuplicatePairings=async n=>{if(n.pairingTopic)try{let a=this.client.core.pairing.pairings.get(n.pairingTopic),r=this.client.core.pairing.pairings.getAll().filter(f=>{var i,s;return((i=f.peerMetadata)==null?void 0:i.url)&&((s=f.peerMetadata)==null?void 0:s.url)===n.peer.metadata.url&&f.topic&&f.topic!==a.topic});if(r.length===0)return;this.client.logger.info(`Cleaning up ${r.length} duplicate pairing(s)`),await Promise.all(r.map(f=>this.client.core.pairing.disconnect({topic:f.topic}))),this.client.logger.info("Duplicate pairings clean up finished")}catch(a){this.client.logger.error(a)}},this.deleteSession=async n=>{let{topic:a,expirerHasDeleted:r=!1,emitEvent:f=!0,id:i=0}=n,{self:s}=this.client.session.get(a);await this.client.core.relayer.unsubscribe(a),await this.client.session.delete(a,Ca("USER_DISCONNECTED")),this.addToRecentlyDeleted(a,"session"),this.client.core.crypto.keychain.has(s.publicKey)&&await this.client.core.crypto.deleteKeyPair(s.publicKey),this.client.core.crypto.keychain.has(a)&&await this.client.core.crypto.deleteSymKey(a),r||this.client.core.expirer.del(a),this.client.core.storage.removeItem(W60).catch(o=>this.client.logger.warn(o)),this.getPendingSessionRequests().forEach(o=>{o.topic===a&&this.deletePendingSessionRequest(o.id,Ca("USER_DISCONNECTED"))}),f&&this.client.events.emit("session_delete",{id:i,topic:a})},this.deleteProposal=async(n,a)=>{await Promise.all([this.client.proposal.delete(n,Ca("USER_DISCONNECTED")),a?Promise.resolve():this.client.core.expirer.del(n)]),this.addToRecentlyDeleted(n,"proposal")},this.deletePendingSessionRequest=async(n,a,r=!1)=>{await Promise.all([this.client.pendingRequest.delete(n,a),r?Promise.resolve():this.client.core.expirer.del(n)]),this.addToRecentlyDeleted(n,"request"),this.sessionRequestQueue.queue=this.sessionRequestQueue.queue.filter(f=>f.id!==n),r&&(this.sessionRequestQueue.state=wh.idle,this.client.events.emit("session_request_expire",{id:n}))},this.setExpiry=async(n,a)=>{this.client.session.keys.includes(n)&&await this.client.session.update(n,{expiry:a}),this.client.core.expirer.set(n,a)},this.setProposal=async(n,a)=>{await this.client.proposal.set(n,a),this.client.core.expirer.set(n,Fs(bd.wc_sessionPropose.req.ttl))},this.setPendingSessionRequest=async n=>{let{id:a,topic:r,params:f,verifyContext:i}=n,s=f.request.expiryTimestamp||Fs(bd.wc_sessionRequest.req.ttl);await this.client.pendingRequest.set(a,{id:a,topic:r,params:f,verifyContext:i}),s&&this.client.core.expirer.set(a,s)},this.sendRequest=async n=>{let{topic:a,method:r,params:f,expiry:i,relayRpcId:s,clientRpcId:o,throwOnFailedPublish:c}=n,d=nu(r,f,o);if(Fm()&&A5n.includes(r)){let y=gh(JSON.stringify(d));this.client.core.verify.register({attestationId:y})}let l;try{l=await this.client.core.crypto.encode(a,d)}catch(y){throw await this.cleanup(),this.client.logger.error(`sendRequest() -> core.crypto.encode() for topic ${a} failed`),y}let h=bd[r].req;return i&&(h.ttl=i),s&&(h.id=s),this.client.core.history.set(a,d),c?(h.internal=g_(Ns({},h.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(a,l,h)):this.client.core.relayer.publish(a,l,h).catch(y=>this.client.logger.error(y)),d.id},this.sendResult=async n=>{let{id:a,topic:r,result:f,throwOnFailedPublish:i,encodeOpts:s}=n,o=L8(a,f),c;try{c=await this.client.core.crypto.encode(r,o,s)}catch(h){throw await this.cleanup(),this.client.logger.error(`sendResult() -> core.crypto.encode() for topic ${r} failed`),h}let d;try{d=await this.client.core.history.get(r,a)}catch(h){throw this.client.logger.error(`sendResult() -> history.get(${r}, ${a}) failed`),h}let l=bd[d.request.method].res;i?(l.internal=g_(Ns({},l.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(r,c,l)):this.client.core.relayer.publish(r,c,l).catch(h=>this.client.logger.error(h)),await this.client.core.history.resolve(o)},this.sendError=async n=>{let{id:a,topic:r,error:f,encodeOpts:i}=n,s=F8(a,f),o;try{o=await this.client.core.crypto.encode(r,s,i)}catch(l){throw await this.cleanup(),this.client.logger.error(`sendError() -> core.crypto.encode() for topic ${r} failed`),l}let c;try{c=await this.client.core.history.get(r,a)}catch(l){throw this.client.logger.error(`sendError() -> history.get(${r}, ${a}) failed`),l}let d=bd[c.request.method].res;this.client.core.relayer.publish(r,o,d),await this.client.core.history.resolve(s)},this.cleanup=async()=>{let n=[],a=[];this.client.session.getAll().forEach(r=>{let f=!1;Vu(r.expiry)&&(f=!0),this.client.core.crypto.keychain.has(r.topic)||(f=!0),f&&n.push(r.topic)}),this.client.proposal.getAll().forEach(r=>{Vu(r.expiryTimestamp)&&a.push(r.id)}),await Promise.all([...n.map(r=>this.deleteSession({topic:r})),...a.map(r=>this.deleteProposal(r))])},this.onRelayEventRequest=async n=>{this.requestQueue.queue.push(n),await this.processRequestsQueue()},this.processRequestsQueue=async()=>{if(this.requestQueue.state===wh.active){this.client.logger.info("Request queue already active, skipping...");return}for(this.client.logger.info(`Request queue starting with ${this.requestQueue.queue.length} requests`);this.requestQueue.queue.length>0;){this.requestQueue.state=wh.active;let n=this.requestQueue.queue.shift();if(n)try{this.processRequest(n),await new Promise(a=>setTimeout(a,300))}catch(a){this.client.logger.warn(a)}}this.requestQueue.state=wh.idle},this.processRequest=n=>{let{topic:a,payload:r}=n,f=r.method;if(!this.shouldIgnorePairingRequest({topic:a,requestMethod:f}))switch(f){case"wc_sessionPropose":return this.onSessionProposeRequest(a,r);case"wc_sessionSettle":return this.onSessionSettleRequest(a,r);case"wc_sessionUpdate":return this.onSessionUpdateRequest(a,r);case"wc_sessionExtend":return this.onSessionExtendRequest(a,r);case"wc_sessionPing":return this.onSessionPingRequest(a,r);case"wc_sessionDelete":return this.onSessionDeleteRequest(a,r);case"wc_sessionRequest":return this.onSessionRequest(a,r);case"wc_sessionEvent":return this.onSessionEventRequest(a,r);case"wc_sessionAuthenticate":return this.onSessionAuthenticateRequest(a,r);default:return this.client.logger.info(`Unsupported request method ${f}`)}},this.onRelayEventResponse=async n=>{let{topic:a,payload:r}=n,f=(await this.client.core.history.get(a,r.id)).request.method;switch(f){case"wc_sessionPropose":return this.onSessionProposeResponse(a,r);case"wc_sessionSettle":return this.onSessionSettleResponse(a,r);case"wc_sessionUpdate":return this.onSessionUpdateResponse(a,r);case"wc_sessionExtend":return this.onSessionExtendResponse(a,r);case"wc_sessionPing":return this.onSessionPingResponse(a,r);case"wc_sessionRequest":return this.onSessionRequestResponse(a,r);case"wc_sessionAuthenticate":return this.onSessionAuthenticateResponse(a,r);default:return this.client.logger.info(`Unsupported response method ${f}`)}},this.onRelayEventUnknownPayload=n=>{let{topic:a}=n,{message:r}=F0("MISSING_OR_INVALID",`Decoded payload on topic ${a} is not identifiable as a JSON-RPC request or a response.`);throw new Error(r)},this.shouldIgnorePairingRequest=n=>{let{topic:a,requestMethod:r}=n,f=this.expectedPairingMethodMap.get(a);return!f||f.includes(r)?!1:!!(f.includes("wc_sessionAuthenticate")&&this.client.events.listenerCount("session_authenticate")>0)},this.onSessionProposeRequest=async(n,a)=>{let{params:r,id:f}=a;try{this.isValidConnect(Ns({},a.params));let i=r.expiryTimestamp||Fs(bd.wc_sessionPropose.req.ttl),s=Ns({id:f,pairingTopic:n,expiryTimestamp:i},r);await this.setProposal(f,s);let o=gh(JSON.stringify(a)),c=await this.getVerifyContext(o,s.proposer.metadata);this.client.events.emit("session_proposal",{id:f,params:s,verifyContext:c})}catch(i){await this.sendError({id:f,topic:n,error:i}),this.client.logger.error(i)}},this.onSessionProposeResponse=async(n,a)=>{let{id:r}=a;if(A6(a)){let{result:f}=a;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",result:f});let i=this.client.proposal.get(r);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",proposal:i});let s=i.proposer.publicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",selfPublicKey:s});let o=f.responderPublicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",peerPublicKey:o});let c=await this.client.core.crypto.generateSharedKey(s,o);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",sessionTopic:c});let d=await this.client.core.relayer.subscribe(c);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",subscriptionId:d}),await this.client.core.pairing.activate({topic:n})}else if(e1(a)){await this.client.proposal.delete(r,Ca("USER_DISCONNECTED"));let f=Dn("session_connect");if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners, 954`);this.events.emit(Dn("session_connect"),{error:a.error})}},this.onSessionSettleRequest=async(n,a)=>{let{id:r,params:f}=a;try{this.isValidSessionSettleRequest(f);let{relay:i,controller:s,expiry:o,namespaces:c,sessionProperties:d,pairingTopic:l,sessionConfig:h}=a.params,y=Ns(Ns({topic:n,relay:i,expiry:o,namespaces:c,acknowledged:!0,pairingTopic:l,requiredNamespaces:{},optionalNamespaces:{},controller:s.publicKey,self:{publicKey:"",metadata:this.client.metadata},peer:{publicKey:s.publicKey,metadata:s.metadata}},d&&{sessionProperties:d}),h&&{sessionConfig:h});await this.sendResult({id:a.id,topic:n,result:!0,throwOnFailedPublish:!0});let v=Dn("session_connect");if(this.events.listenerCount(v)===0)throw new Error(`emitting ${v} without any listeners 997`);this.events.emit(Dn("session_connect"),{session:y}),this.cleanupDuplicatePairings(y)}catch(i){await this.sendError({id:r,topic:n,error:i}),this.client.logger.error(i)}},this.onSessionSettleResponse=async(n,a)=>{let{id:r}=a;A6(a)?(await this.client.session.update(n,{acknowledged:!0}),this.events.emit(Dn("session_approve",r),{})):e1(a)&&(await this.client.session.delete(n,Ca("USER_DISCONNECTED")),this.events.emit(Dn("session_approve",r),{error:a.error}))},this.onSessionUpdateRequest=async(n,a)=>{let{params:r,id:f}=a;try{let i=`${n}_session_update`,s=Pm.get(i);if(s&&this.isRequestOutOfSync(s,f)){this.client.logger.info(`Discarding out of sync request - ${f}`),this.sendError({id:f,topic:n,error:Ca("INVALID_UPDATE_REQUEST")});return}this.isValidUpdate(Ns({topic:n},r));try{Pm.set(i,f),await this.client.session.update(n,{namespaces:r.namespaces}),await this.sendResult({id:f,topic:n,result:!0,throwOnFailedPublish:!0})}catch(o){throw Pm.delete(i),o}this.client.events.emit("session_update",{id:f,topic:n,params:r})}catch(i){await this.sendError({id:f,topic:n,error:i}),this.client.logger.error(i)}},this.isRequestOutOfSync=(n,a)=>parseInt(a.toString().slice(0,-3))<=parseInt(n.toString().slice(0,-3)),this.onSessionUpdateResponse=(n,a)=>{let{id:r}=a,f=Dn("session_update",r);if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners`);A6(a)?this.events.emit(Dn("session_update",r),{}):e1(a)&&this.events.emit(Dn("session_update",r),{error:a.error})},this.onSessionExtendRequest=async(n,a)=>{let{id:r}=a;try{this.isValidExtend({topic:n}),await this.setExpiry(n,Fs(y_)),await this.sendResult({id:r,topic:n,result:!0,throwOnFailedPublish:!0}),this.client.events.emit("session_extend",{id:r,topic:n})}catch(f){await this.sendError({id:r,topic:n,error:f}),this.client.logger.error(f)}},this.onSessionExtendResponse=(n,a)=>{let{id:r}=a,f=Dn("session_extend",r);if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners`);A6(a)?this.events.emit(Dn("session_extend",r),{}):e1(a)&&this.events.emit(Dn("session_extend",r),{error:a.error})},this.onSessionPingRequest=async(n,a)=>{let{id:r}=a;try{this.isValidPing({topic:n}),await this.sendResult({id:r,topic:n,result:!0,throwOnFailedPublish:!0}),this.client.events.emit("session_ping",{id:r,topic:n})}catch(f){await this.sendError({id:r,topic:n,error:f}),this.client.logger.error(f)}},this.onSessionPingResponse=(n,a)=>{let{id:r}=a,f=Dn("session_ping",r);if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners`);setTimeout(()=>{A6(a)?this.events.emit(Dn("session_ping",r),{}):e1(a)&&this.events.emit(Dn("session_ping",r),{error:a.error})},500)},this.onSessionDeleteRequest=async(n,a)=>{let{id:r}=a;try{this.isValidDisconnect({topic:n,reason:a.params}),await Promise.all([new Promise(f=>{this.client.core.relayer.once(n6.publish,async()=>{f(await this.deleteSession({topic:n,id:r}))})}),this.sendResult({id:r,topic:n,result:!0,throwOnFailedPublish:!0}),this.cleanupPendingSentRequestsForTopic({topic:n,error:Ca("USER_DISCONNECTED")})])}catch(f){this.client.logger.error(f)}},this.onSessionRequest=async(n,a)=>{let{id:r,params:f}=a;try{await this.isValidRequest(Ns({topic:n},f));let i=gh(JSON.stringify(nu("wc_sessionRequest",f,r))),s=this.client.session.get(n),o=await this.getVerifyContext(i,s.peer.metadata),c={id:r,topic:n,params:f,verifyContext:o};await this.setPendingSessionRequest(c),this.addSessionRequestToSessionRequestQueue(c),this.processSessionRequestQueue()}catch(i){await this.sendError({id:r,topic:n,error:i}),this.client.logger.error(i)}},this.onSessionRequestResponse=(n,a)=>{let{id:r}=a,f=Dn("session_request",r);if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners`);A6(a)?this.events.emit(Dn("session_request",r),{result:a.result}):e1(a)&&this.events.emit(Dn("session_request",r),{error:a.error})},this.onSessionEventRequest=async(n,a)=>{let{id:r,params:f}=a;try{let i=`${n}_session_event_${f.event.name}`,s=Pm.get(i);if(s&&this.isRequestOutOfSync(s,r)){this.client.logger.info(`Discarding out of sync request - ${r}`);return}this.isValidEmit(Ns({topic:n},f)),this.client.events.emit("session_event",{id:r,topic:n,params:f}),Pm.set(i,r)}catch(i){await this.sendError({id:r,topic:n,error:i}),this.client.logger.error(i)}},this.onSessionAuthenticateResponse=(n,a)=>{let{id:r}=a;this.client.logger.trace({type:"method",method:"onSessionAuthenticateResponse",topic:n,payload:a}),A6(a)?this.events.emit(Dn("session_request",r),{result:a.result}):e1(a)&&this.events.emit(Dn("session_request",r),{error:a.error})},this.onSessionAuthenticateRequest=async(n,a)=>{let{requester:r,authPayload:f,expiryTimestamp:i}=a.params,s=gh(JSON.stringify(a)),o=await this.getVerifyContext(s,this.client.metadata),c={requester:r,pairingTopic:n,id:a.id,authPayload:f,verifyContext:o,expiryTimestamp:i};await this.client.auth.requests.set(a.id,c),this.client.events.emit("session_authenticate",{topic:n,params:a.params,id:a.id})},this.addSessionRequestToSessionRequestQueue=n=>{this.sessionRequestQueue.queue.push(n)},this.cleanupAfterResponse=n=>{this.deletePendingSessionRequest(n.response.id,{message:"fulfilled",code:0}),setTimeout(()=>{this.sessionRequestQueue.state=wh.idle,this.processSessionRequestQueue()},(0,Fa.toMiliseconds)(this.requestQueueDelay))},this.cleanupPendingSentRequestsForTopic=({topic:n,error:a})=>{let r=this.client.core.history.pending;r.length>0&&r.filter(f=>f.topic===n&&f.request.method==="wc_sessionRequest").forEach(f=>{let i=f.request.id,s=Dn("session_request",i);if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners`);this.events.emit(Dn("session_request",f.request.id),{error:a})})},this.processSessionRequestQueue=()=>{if(this.sessionRequestQueue.state===wh.active){this.client.logger.info("session request queue is already active.");return}let n=this.sessionRequestQueue.queue[0];if(!n){this.client.logger.info("session request queue is empty.");return}try{this.sessionRequestQueue.state=wh.active,this.client.events.emit("session_request",n)}catch(a){this.client.logger.error(a)}},this.onPairingCreated=n=>{if(n.methods&&this.expectedPairingMethodMap.set(n.topic,n.methods),n.active)return;let a=this.client.proposal.getAll().find(r=>r.pairingTopic===n.topic);a&&this.onSessionProposeRequest(n.topic,nu("wc_sessionPropose",{requiredNamespaces:a.requiredNamespaces,optionalNamespaces:a.optionalNamespaces,relays:a.relays,proposer:a.proposer,sessionProperties:a.sessionProperties},a.id))},this.isValidConnect=async n=>{if(!m1(n)){let{message:o}=F0("MISSING_OR_INVALID",`connect() params: ${JSON.stringify(n)}`);throw new Error(o)}let{pairingTopic:a,requiredNamespaces:r,optionalNamespaces:f,sessionProperties:i,relays:s}=n;if(bo(a)||await this.isValidPairingTopic(a),!Gc0(s,!0)){let{message:o}=F0("MISSING_OR_INVALID",`connect() relays: ${s}`);throw new Error(o)}!bo(r)&&K9(r)!==0&&this.validateNamespaces(r,"requiredNamespaces"),!bo(f)&&K9(f)!==0&&this.validateNamespaces(f,"optionalNamespaces"),bo(i)||this.validateSessionProps(i,"sessionProperties")},this.validateNamespaces=(n,a)=>{let r=jc0(n,"connect()",a);if(r)throw new Error(r.message)},this.isValidApprove=async n=>{if(!m1(n))throw new Error(F0("MISSING_OR_INVALID",`approve() params: ${n}`).message);let{id:a,namespaces:r,relayProtocol:f,sessionProperties:i}=n;this.checkRecentlyDeleted(a),await this.isValidProposalId(a);let s=this.client.proposal.get(a),o=vQ(r,"approve()");if(o)throw new Error(o.message);let c=g2e(s.requiredNamespaces,r,"approve()");if(c)throw new Error(c.message);if(!Bf(f,!0)){let{message:d}=F0("MISSING_OR_INVALID",`approve() relayProtocol: ${f}`);throw new Error(d)}bo(i)||this.validateSessionProps(i,"sessionProperties")},this.isValidReject=async n=>{if(!m1(n)){let{message:f}=F0("MISSING_OR_INVALID",`reject() params: ${n}`);throw new Error(f)}let{id:a,reason:r}=n;if(this.checkRecentlyDeleted(a),await this.isValidProposalId(a),!Qc0(r)){let{message:f}=F0("MISSING_OR_INVALID",`reject() reason: ${JSON.stringify(r)}`);throw new Error(f)}},this.isValidSessionSettleRequest=n=>{if(!m1(n)){let{message:c}=F0("MISSING_OR_INVALID",`onSessionSettleRequest() params: ${n}`);throw new Error(c)}let{relay:a,controller:r,namespaces:f,expiry:i}=n;if(!m2e(a)){let{message:c}=F0("MISSING_OR_INVALID","onSessionSettleRequest() relay protocol should be a string");throw new Error(c)}let s=Wc0(r,"onSessionSettleRequest()");if(s)throw new Error(s.message);let o=vQ(f,"onSessionSettleRequest()");if(o)throw new Error(o.message);if(Vu(i)){let{message:c}=F0("EXPIRED","onSessionSettleRequest()");throw new Error(c)}},this.isValidUpdate=async n=>{if(!m1(n)){let{message:o}=F0("MISSING_OR_INVALID",`update() params: ${n}`);throw new Error(o)}let{topic:a,namespaces:r}=n;this.checkRecentlyDeleted(a),await this.isValidSessionTopic(a);let f=this.client.session.get(a),i=vQ(r,"update()");if(i)throw new Error(i.message);let s=g2e(f.requiredNamespaces,r,"update()");if(s)throw new Error(s.message)},this.isValidExtend=async n=>{if(!m1(n)){let{message:r}=F0("MISSING_OR_INVALID",`extend() params: ${n}`);throw new Error(r)}let{topic:a}=n;this.checkRecentlyDeleted(a),await this.isValidSessionTopic(a)},this.isValidRequest=async n=>{if(!m1(n)){let{message:o}=F0("MISSING_OR_INVALID",`request() params: ${n}`);throw new Error(o)}let{topic:a,request:r,chainId:f,expiry:i}=n;this.checkRecentlyDeleted(a),await this.isValidSessionTopic(a);let{namespaces:s}=this.client.session.get(a);if(!y2e(s,f)){let{message:o}=F0("MISSING_OR_INVALID",`request() chainId: ${f}`);throw new Error(o)}if(!Vc0(r)){let{message:o}=F0("MISSING_OR_INVALID",`request() ${JSON.stringify(r)}`);throw new Error(o)}if(!Jc0(s,f,r.method)){let{message:o}=F0("MISSING_OR_INVALID",`request() method: ${r.method}`);throw new Error(o)}if(i&&!Zc0(i,iue)){let{message:o}=F0("MISSING_OR_INVALID",`request() expiry: ${i}. Expiry must be a number (in seconds) between ${iue.min} and ${iue.max}`);throw new Error(o)}},this.isValidRespond=async n=>{var a;if(!m1(n)){let{message:i}=F0("MISSING_OR_INVALID",`respond() params: ${n}`);throw new Error(i)}let{topic:r,response:f}=n;try{await this.isValidSessionTopic(r)}catch(i){throw(a=n?.response)!=null&&a.id&&this.cleanupAfterResponse(n),i}if(!Yc0(f)){let{message:i}=F0("MISSING_OR_INVALID",`respond() response: ${JSON.stringify(f)}`);throw new Error(i)}},this.isValidPing=async n=>{if(!m1(n)){let{message:r}=F0("MISSING_OR_INVALID",`ping() params: ${n}`);throw new Error(r)}let{topic:a}=n;await this.isValidSessionOrPairingTopic(a)},this.isValidEmit=async n=>{if(!m1(n)){let{message:s}=F0("MISSING_OR_INVALID",`emit() params: ${n}`);throw new Error(s)}let{topic:a,event:r,chainId:f}=n;await this.isValidSessionTopic(a);let{namespaces:i}=this.client.session.get(a);if(!y2e(i,f)){let{message:s}=F0("MISSING_OR_INVALID",`emit() chainId: ${f}`);throw new Error(s)}if(!$c0(r)){let{message:s}=F0("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(r)}`);throw new Error(s)}if(!Xc0(i,f,r.name)){let{message:s}=F0("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(r)}`);throw new Error(s)}},this.isValidDisconnect=async n=>{if(!m1(n)){let{message:r}=F0("MISSING_OR_INVALID",`disconnect() params: ${n}`);throw new Error(r)}let{topic:a}=n;await this.isValidSessionOrPairingTopic(a)},this.isValidAuthenticate=n=>{let{chains:a,uri:r,domain:f,nonce:i}=n;if(!Array.isArray(a)||a.length===0)throw new Error("chains is required and must be a non-empty array");if(!Bf(r,!1))throw new Error("uri is required parameter");if(!Bf(f,!1))throw new Error("domain is required parameter");if(!Bf(i,!1))throw new Error("nonce is required parameter");if([...new Set(a.map(o=>f_(o).namespace))].length>1)throw new Error("Multi-namespace requests are not supported. Please request single namespace only.");let{namespace:s}=f_(a[0]);if(s!=="eip155")throw new Error("Only eip155 namespace is supported for authenticated sessions. Please use .connect() for non-eip155 chains.")},this.getVerifyContext=async(n,a)=>{let r={verified:{verifyUrl:a.verifyUrl||V9,validation:"UNKNOWN",origin:a.url||""}};try{let f=await this.client.core.verify.resolve({attestationId:n,verifyUrl:a.verifyUrl});f&&(r.verified.origin=f.origin,r.verified.isScam=f.isScam,r.verified.validation=f.origin===new URL(a.url).origin?"VALID":"INVALID")}catch(f){this.client.logger.info(f)}return this.client.logger.info(`Verify context: ${JSON.stringify(r)}`),r},this.validateSessionProps=(n,a)=>{Object.values(n).forEach(r=>{if(!Bf(r,!1)){let{message:f}=F0("MISSING_OR_INVALID",`${a} must be in Record format. Received: ${JSON.stringify(r)}`);throw new Error(f)}})},this.getPendingAuthRequest=n=>{let a=this.client.auth.requests.get(n);return typeof a=="object"?a:void 0},this.addToRecentlyDeleted=(n,a)=>{if(this.recentlyDeletedMap.set(n,a),this.recentlyDeletedMap.size>=this.recentlyDeletedLimit){let r=0,f=this.recentlyDeletedLimit/2;for(let i of this.recentlyDeletedMap.keys()){if(r++>=f)break;this.recentlyDeletedMap.delete(i)}}},this.checkRecentlyDeleted=n=>{let a=this.recentlyDeletedMap.get(n);if(a){let{message:r}=F0("MISSING_OR_INVALID",`Record was recently deleted - ${a}: ${n}`);throw new Error(r)}}}async isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}await this.client.core.relayer.confirmOnlineStateOrThrow()}registerRelayerEvents(){this.client.core.relayer.on(n6.message,async e=>{let{topic:n,message:a}=e,{publicKey:r}=this.client.auth.authKeys.keys.includes(LQ)?this.client.auth.authKeys.get(LQ):{responseTopic:void 0,publicKey:void 0},f=await this.client.core.crypto.decode(n,a,{receiverPublicKey:r});try{sx(f)?(this.client.core.history.set(n,f),this.onRelayEventRequest({topic:n,payload:f})):gb(f)?(await this.client.core.history.resolve(f),await this.onRelayEventResponse({topic:n,payload:f}),this.client.core.history.delete(n,f.id)):this.onRelayEventUnknownPayload({topic:n,payload:f})}catch(i){this.client.logger.error(i)}})}registerExpirerEvents(){this.client.core.expirer.on(z6.expired,async e=>{let{topic:n,id:a}=hQ(e.target);if(a&&this.client.pendingRequest.keys.includes(a))return await this.deletePendingSessionRequest(a,F0("EXPIRED"),!0);n?this.client.session.keys.includes(n)&&(await this.deleteSession({topic:n,expirerHasDeleted:!0}),this.client.events.emit("session_expire",{topic:n})):a&&(await this.deleteProposal(a,!0),this.client.events.emit("proposal_expire",{id:a}))})}registerPairingEvents(){this.client.core.pairing.events.on(Q9.create,e=>this.onPairingCreated(e)),this.client.core.pairing.events.on(Q9.delete,e=>{this.addToRecentlyDeleted(e.topic,"pairing")})}isValidPairingTopic(e){if(!Bf(e,!1)){let{message:n}=F0("MISSING_OR_INVALID",`pairing topic should be a string: ${e}`);throw new Error(n)}if(!this.client.core.pairing.pairings.keys.includes(e)){let{message:n}=F0("NO_MATCHING_KEY",`pairing topic doesn't exist: ${e}`);throw new Error(n)}if(Vu(this.client.core.pairing.pairings.get(e).expiry)){let{message:n}=F0("EXPIRED",`pairing topic: ${e}`);throw new Error(n)}}async isValidSessionTopic(e){if(!Bf(e,!1)){let{message:n}=F0("MISSING_OR_INVALID",`session topic should be a string: ${e}`);throw new Error(n)}if(this.checkRecentlyDeleted(e),!this.client.session.keys.includes(e)){let{message:n}=F0("NO_MATCHING_KEY",`session topic doesn't exist: ${e}`);throw new Error(n)}if(Vu(this.client.session.get(e).expiry)){await this.deleteSession({topic:e});let{message:n}=F0("EXPIRED",`session topic: ${e}`);throw new Error(n)}if(!this.client.core.crypto.keychain.has(e)){let{message:n}=F0("MISSING_OR_INVALID",`session topic does not exist in keychain: ${e}`);throw await this.deleteSession({topic:e}),new Error(n)}}async isValidSessionOrPairingTopic(e){if(this.checkRecentlyDeleted(e),this.client.session.keys.includes(e))await this.isValidSessionTopic(e);else if(this.client.core.pairing.pairings.keys.includes(e))this.isValidPairingTopic(e);else if(Bf(e,!1)){let{message:n}=F0("NO_MATCHING_KEY",`session or pairing topic doesn't exist: ${e}`);throw new Error(n)}else{let{message:n}=F0("MISSING_OR_INVALID",`session or pairing topic should be a string: ${e}`);throw new Error(n)}}async isValidProposalId(e){if(!Kc0(e)){let{message:n}=F0("MISSING_OR_INVALID",`proposal id should be a number: ${e}`);throw new Error(n)}if(!this.client.proposal.keys.includes(e)){let{message:n}=F0("NO_MATCHING_KEY",`proposal id doesn't exist: ${e}`);throw new Error(n)}if(Vu(this.client.proposal.get(e).expiryTimestamp)){await this.deleteProposal(e);let{message:n}=F0("EXPIRED",`proposal id: ${e}`);throw new Error(n)}}},oue=class extends Xu{constructor(e,n){super(e,n,T5n,bue),this.core=e,this.logger=n}},cue=class extends Xu{constructor(e,n){super(e,n,x5n,bue),this.core=e,this.logger=n}},due=class extends Xu{constructor(e,n){super(e,n,_5n,bue,a=>a.id),this.core=e,this.logger=n}},lue=class extends Xu{constructor(e,n){super(e,n,k5n,OQ,()=>LQ),this.core=e,this.logger=n}},uue=class extends Xu{constructor(e,n){super(e,n,S5n,OQ),this.core=e,this.logger=n}},pue=class extends Xu{constructor(e,n){super(e,n,R5n,OQ,a=>a.id),this.core=e,this.logger=n}},hue=class{constructor(e,n){this.core=e,this.logger=n,this.authKeys=new lue(this.core,this.logger),this.pairingTopics=new uue(this.core,this.logger),this.requests=new pue(this.core,this.logger)}async init(){await this.authKeys.init(),await this.pairingTopics.init(),await this.requests.init()}},FQ=class t extends BQ{constructor(e){super(e),this.protocol=G60,this.version=K60,this.name=fue.name,this.events=new NQ.EventEmitter,this.on=(a,r)=>this.events.on(a,r),this.once=(a,r)=>this.events.once(a,r),this.off=(a,r)=>this.events.off(a,r),this.removeListener=(a,r)=>this.events.removeListener(a,r),this.removeAllListeners=a=>this.events.removeAllListeners(a),this.connect=async a=>{try{return await this.engine.connect(a)}catch(r){throw this.logger.error(r.message),r}},this.pair=async a=>{try{return await this.engine.pair(a)}catch(r){throw this.logger.error(r.message),r}},this.approve=async a=>{try{return await this.engine.approve(a)}catch(r){throw this.logger.error(r.message),r}},this.reject=async a=>{try{return await this.engine.reject(a)}catch(r){throw this.logger.error(r.message),r}},this.update=async a=>{try{return await this.engine.update(a)}catch(r){throw this.logger.error(r.message),r}},this.extend=async a=>{try{return await this.engine.extend(a)}catch(r){throw this.logger.error(r.message),r}},this.request=async a=>{try{return await this.engine.request(a)}catch(r){throw this.logger.error(r.message),r}},this.respond=async a=>{try{return await this.engine.respond(a)}catch(r){throw this.logger.error(r.message),r}},this.ping=async a=>{try{return await this.engine.ping(a)}catch(r){throw this.logger.error(r.message),r}},this.emit=async a=>{try{return await this.engine.emit(a)}catch(r){throw this.logger.error(r.message),r}},this.disconnect=async a=>{try{return await this.engine.disconnect(a)}catch(r){throw this.logger.error(r.message),r}},this.find=a=>{try{return this.engine.find(a)}catch(r){throw this.logger.error(r.message),r}},this.getPendingSessionRequests=()=>{try{return this.engine.getPendingSessionRequests()}catch(a){throw this.logger.error(a.message),a}},this.authenticate=async a=>{try{return await this.engine.authenticate(a)}catch(r){throw this.logger.error(r.message),r}},this.formatAuthMessage=a=>{try{return this.engine.formatAuthMessage(a)}catch(r){throw this.logger.error(r.message),r}},this.approveSessionAuthenticate=async a=>{try{return await this.engine.approveSessionAuthenticate(a)}catch(r){throw this.logger.error(r.message),r}},this.rejectSessionAuthenticate=async a=>{try{return await this.engine.rejectSessionAuthenticate(a)}catch(r){throw this.logger.error(r.message),r}},this.name=e?.name||fue.name,this.metadata=e?.metadata||N10();let n=typeof e?.logger<"u"&&typeof e?.logger!="string"?e.logger:(0,_7.default)(A7({level:e?.logger||fue.logger}));this.core=e?.core||new H60(e),this.logger=Jo(n,this.name),this.session=new cue(this.core,this.logger),this.proposal=new oue(this.core,this.logger),this.pendingRequest=new due(this.core,this.logger),this.engine=new sue(this),this.auth=new hue(this.core,this.logger)}static async init(e){let n=new t(e);return await n.initialize(),n}get context(){return $o(this.logger)}get pairing(){return this.core.pairing.pairings}async initialize(){this.logger.trace("Initialized");try{await this.core.start(),await this.session.init(),await this.proposal.init(),await this.pendingRequest.init(),await this.engine.init(),await this.auth.init(),this.core.verify.init({verifyUrl:this.metadata.verifyUrl}),this.logger.info("SignClient Initialization Success")}catch(e){throw this.logger.info("SignClient Initialization Failure"),this.logger.error(e.message),e}}}});var J60=D((Th,$60)=>{u();p();var Y60=typeof self<"u"?self:Th,UQ=function(){function t(){this.fetch=!1,this.DOMException=Y60.DOMException}return t.prototype=Y60,new t}();(function(t){var e=function(n){var a={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function r(R){return R&&DataView.prototype.isPrototypeOf(R)}if(a.arrayBuffer)var f=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(R){return R&&f.indexOf(Object.prototype.toString.call(R))>-1};function s(R){if(typeof R!="string"&&(R=String(R)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(R))throw new TypeError("Invalid character in header field name");return R.toLowerCase()}function o(R){return typeof R!="string"&&(R=String(R)),R}function c(R){var T={next:function(){var N=R.shift();return{done:N===void 0,value:N}}};return a.iterable&&(T[Symbol.iterator]=function(){return T}),T}function d(R){this.map={},R instanceof d?R.forEach(function(T,N){this.append(N,T)},this):Array.isArray(R)?R.forEach(function(T){this.append(T[0],T[1])},this):R&&Object.getOwnPropertyNames(R).forEach(function(T){this.append(T,R[T])},this)}d.prototype.append=function(R,T){R=s(R),T=o(T);var N=this.map[R];this.map[R]=N?N+", "+T:T},d.prototype.delete=function(R){delete this.map[s(R)]},d.prototype.get=function(R){return R=s(R),this.has(R)?this.map[R]:null},d.prototype.has=function(R){return this.map.hasOwnProperty(s(R))},d.prototype.set=function(R,T){this.map[s(R)]=o(T)},d.prototype.forEach=function(R,T){for(var N in this.map)this.map.hasOwnProperty(N)&&R.call(T,this.map[N],N,this)},d.prototype.keys=function(){var R=[];return this.forEach(function(T,N){R.push(N)}),c(R)},d.prototype.values=function(){var R=[];return this.forEach(function(T){R.push(T)}),c(R)},d.prototype.entries=function(){var R=[];return this.forEach(function(T,N){R.push([N,T])}),c(R)},a.iterable&&(d.prototype[Symbol.iterator]=d.prototype.entries);function l(R){if(R.bodyUsed)return Promise.reject(new TypeError("Already read"));R.bodyUsed=!0}function h(R){return new Promise(function(T,N){R.onload=function(){T(R.result)},R.onerror=function(){N(R.error)}})}function y(R){var T=new FileReader,N=h(T);return T.readAsArrayBuffer(R),N}function v(R){var T=new FileReader,N=h(T);return T.readAsText(R),N}function S(R){for(var T=new Uint8Array(R),N=new Array(T.length),w=0;w-1?T:R}function j(R,T){T=T||{};var N=T.body;if(R instanceof j){if(R.bodyUsed)throw new TypeError("Already read");this.url=R.url,this.credentials=R.credentials,T.headers||(this.headers=new d(R.headers)),this.method=R.method,this.mode=R.mode,this.signal=R.signal,!N&&R._bodyInit!=null&&(N=R._bodyInit,R.bodyUsed=!0)}else this.url=String(R);if(this.credentials=T.credentials||this.credentials||"same-origin",(T.headers||!this.headers)&&(this.headers=new d(T.headers)),this.method=W(T.method||this.method||"GET"),this.mode=T.mode||this.mode||null,this.signal=T.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&N)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(N)}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function Q(R){var T=new FormData;return R.trim().split("&").forEach(function(N){if(N){var w=N.split("="),m=w.shift().replace(/\+/g," "),A=w.join("=").replace(/\+/g," ");T.append(decodeURIComponent(m),decodeURIComponent(A))}}),T}function V(R){var T=new d,N=R.replace(/\r?\n[\t ]+/g," ");return N.split(/\r?\n/).forEach(function(w){var m=w.split(":"),A=m.shift().trim();if(A){var P=m.join(":").trim();T.append(A,P)}}),T}F.call(j.prototype);function X(R,T){T||(T={}),this.type="default",this.status=T.status===void 0?200:T.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in T?T.statusText:"OK",this.headers=new d(T.headers),this.url=T.url||"",this._initBody(R)}F.call(X.prototype),X.prototype.clone=function(){return new X(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},X.error=function(){var R=new X(null,{status:0,statusText:""});return R.type="error",R};var K=[301,302,303,307,308];X.redirect=function(R,T){if(K.indexOf(T)===-1)throw new RangeError("Invalid status code");return new X(null,{status:T,headers:{location:R}})},n.DOMException=t.DOMException;try{new n.DOMException}catch{n.DOMException=function(T,N){this.message=T,this.name=N;var w=Error(T);this.stack=w.stack},n.DOMException.prototype=Object.create(Error.prototype),n.DOMException.prototype.constructor=n.DOMException}function G(R,T){return new Promise(function(N,w){var m=new j(R,T);if(m.signal&&m.signal.aborted)return w(new n.DOMException("Aborted","AbortError"));var A=new XMLHttpRequest;function P(){A.abort()}A.onload=function(){var L={status:A.status,statusText:A.statusText,headers:V(A.getAllResponseHeaders()||"")};L.url="responseURL"in A?A.responseURL:L.headers.get("X-Request-URL");var x="response"in A?A.response:A.responseText;N(new X(x,L))},A.onerror=function(){w(new TypeError("Network request failed"))},A.ontimeout=function(){w(new TypeError("Network request failed"))},A.onabort=function(){w(new n.DOMException("Aborted","AbortError"))},A.open(m.method,m.url,!0),m.credentials==="include"?A.withCredentials=!0:m.credentials==="omit"&&(A.withCredentials=!1),"responseType"in A&&a.blob&&(A.responseType="blob"),m.headers.forEach(function(L,x){A.setRequestHeader(x,L)}),m.signal&&(m.signal.addEventListener("abort",P),A.onreadystatechange=function(){A.readyState===4&&m.signal.removeEventListener("abort",P)}),A.send(typeof m._bodyInit>"u"?null:m._bodyInit)})}return G.polyfill=!0,t.fetch||(t.fetch=G,t.Headers=d,t.Request=j,t.Response=X),n.Headers=d,n.Request=j,n.Response=X,n.fetch=G,Object.defineProperty(n,"__esModule",{value:!0}),n}({})})(UQ);UQ.fetch.ponyfill=!0;delete UQ.fetch.polyfill;var v_=UQ;Th=v_.fetch;Th.default=v_.fetch;Th.fetch=v_.fetch;Th.Headers=v_.Headers;Th.Request=v_.Request;Th.Response=v_.Response;$60.exports=Th});var r50,yue,F5n,N5n,O5n,X60,U5n,H5n,Z60,e50,t50,z5n,W5n,n50,a50,md,f50=ce(()=>{u();p();r50=Ee(Nr()),yue=Ee(J60());x7();vb();F5n=Object.defineProperty,N5n=Object.defineProperties,O5n=Object.getOwnPropertyDescriptors,X60=Object.getOwnPropertySymbols,U5n=Object.prototype.hasOwnProperty,H5n=Object.prototype.propertyIsEnumerable,Z60=(t,e,n)=>e in t?F5n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,e50=(t,e)=>{for(var n in e||(e={}))U5n.call(e,n)&&Z60(t,n,e[n]);if(X60)for(var n of X60(e))H5n.call(e,n)&&Z60(t,n,e[n]);return t},t50=(t,e)=>N5n(t,O5n(e)),z5n={Accept:"application/json","Content-Type":"application/json"},W5n="POST",n50={headers:z5n,method:W5n},a50=10,md=class{constructor(e,n=!1){if(this.url=e,this.disableProviderPing=n,this.events=new r50.EventEmitter,this.isAvailable=!1,this.registering=!1,!iW(e))throw new Error(`Provided URL is not compatible with HTTP connection: ${e}`);this.url=e,this.disableProviderPing=n}get connected(){return this.isAvailable}get connecting(){return this.registering}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async open(e=this.url){await this.register(e)}async close(){if(!this.isAvailable)throw new Error("Connection already closed");this.onClose()}async send(e){this.isAvailable||await this.register();try{let n=z1(e),a=await(await(0,yue.default)(this.url,t50(e50({},n50),{body:n}))).json();this.onPayload({data:a})}catch(n){this.onError(e.id,n)}}async register(e=this.url){if(!iW(e))throw new Error(`Provided URL is not compatible with HTTP connection: ${e}`);if(this.registering){let n=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=n||this.events.listenerCount("open")>=n)&&this.events.setMaxListeners(n+1),new Promise((a,r)=>{this.events.once("register_error",f=>{this.resetMaxListeners(),r(f)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.isAvailable>"u")return r(new Error("HTTP connection is missing or invalid"));a()})})}this.url=e,this.registering=!0;try{if(!this.disableProviderPing){let n=z1({id:1,jsonrpc:"2.0",method:"test",params:[]});await(0,yue.default)(e,t50(e50({},n50),{body:n}))}this.onOpen()}catch(n){let a=this.parseError(n);throw this.events.emit("register_error",a),this.onClose(),a}}onOpen(){this.isAvailable=!0,this.registering=!1,this.events.emit("open")}onClose(){this.isAvailable=!1,this.registering=!1,this.events.emit("close")}onPayload(e){if(typeof e.data>"u")return;let n=typeof e.data=="string"?Q2(e.data):e.data;this.events.emit("payload",n)}onError(e,n){let a=this.parseError(n),r=a.message||a.toString(),f=F8(e,r);this.events.emit("payload",f)}parseError(e,n=this.url){return FS(e,n,"HTTP")}resetMaxListeners(){this.events.getMaxListeners()>a50&&this.events.setMaxListeners(a50)}}});function Om(t,e,n){var a;let r=f_(t);return((a=e.rpcMap)==null?void 0:a[r.reference])||`${K5n}?chainId=${r.namespace}:${r.reference}&projectId=${n}`}function $9(t){return t.includes(":")?t.split(":")[1]:t}function b50(t){return t.map(e=>`${e.split(":")[0]}:${e.split(":")[1]}`)}function Z5n(t,e){let n=Object.keys(e.namespaces).filter(r=>r.includes(t));if(!n.length)return[];let a=[];return n.forEach(r=>{let f=e.namespaces[r].accounts;a.push(...f)}),a}function gue(t={},e={}){let n=d50(t),a=d50(e);return xue.exports.merge(n,a)}function d50(t){var e,n,a,r;let f={};if(!K9(t))return f;for(let[i,s]of Object.entries(t)){let o=gQ(i)?[i]:s.chains,c=s.methods||[],d=s.events||[],l=s.rpcMap||{},h=b_(i);f[h]=X5n(HQ(HQ({},f[h]),s),{chains:gB(o,(e=f[h])==null?void 0:e.chains),methods:gB(c,(n=f[h])==null?void 0:n.methods),events:gB(d,(a=f[h])==null?void 0:a.events),rpcMap:HQ(HQ({},l),(r=f[h])==null?void 0:r.rpcMap)})}return f}function edn(t){return t.includes(":")?t.split(":")[2]:t}function l50(t){let e={};for(let[n,a]of Object.entries(t)){let r=a.methods||[],f=a.events||[],i=a.accounts||[],s=gQ(n)?[n]:a.chains?a.chains:b50(a.accounts);e[n]={chains:s,methods:r,events:f,accounts:i}}return e}function vue(t){return typeof t=="number"?t:t.includes("0x")?parseInt(t,16):(t=t.includes(":")?t.split(":")[1]:t,isNaN(Number(t))?t:Number(t))}var h50,i50,q5n,j5n,G5n,s50,K5n,xh,SB,xue,Q5n,V5n,Y5n,o50,$5n,J5n,c50,HQ,X5n,m50,gf,wue,Eue,_ue,Aue,Cue,Iue,kue,Sue,Rue,tdn,ndn,adn,u50,rdn,fdn,p50,zQ,Tue,Mue,y50,g50=ce(()=>{u();p();V60();_B();vz();f50();M2e();h50=Ee(Nr());vb();i50="error",q5n="wss://relay.walletconnect.com",j5n="wc",G5n="universal_provider",s50=`${j5n}@2:${G5n}:`,K5n="https://rpc.walletconnect.com/v1/",xh={DEFAULT_CHAIN_CHANGED:"default_chain_changed"},SB=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xue={exports:{}};(function(t,e){(function(){var n,a="4.17.21",r=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",i="Expected a function",s="Invalid `variable` option passed into `_.template`",o="__lodash_hash_undefined__",c=500,d="__lodash_placeholder__",l=1,h=2,y=4,v=1,S=2,O=1,F=2,z=4,W=8,j=16,Q=32,V=64,X=128,K=256,G=512,R=30,T="...",N=800,w=16,m=1,A=2,P=3,L=1/0,x=9007199254740991,g=17976931348623157e292,B=NaN,M=4294967295,k=M-1,q=M>>>1,ee=[["ary",X],["bind",O],["bindKey",F],["curry",W],["curryRight",j],["flip",G],["partial",Q],["partialRight",V],["rearg",K]],U="[object Arguments]",J="[object Array]",Z="[object AsyncFunction]",ne="[object Boolean]",ue="[object Date]",Y="[object DOMException]",re="[object Error]",ie="[object Function]",ge="[object GeneratorFunction]",de="[object Map]",Ae="[object Number]",Ge="[object Null]",Be="[object Object]",c0="[object Promise]",Ye="[object Proxy]",He="[object RegExp]",_0="[object Set]",L0="[object String]",Ze="[object Symbol]",I0="[object Undefined]",pe="[object WeakMap]",he="[object WeakSet]",Te="[object ArrayBuffer]",Ce="[object DataView]",Se="[object Float32Array]",Qe="[object Float64Array]",u0="[object Int8Array]",qe="[object Int16Array]",v0="[object Int32Array]",w0="[object Uint8Array]",Ve="[object Uint8ClampedArray]",be="[object Uint16Array]",ye="[object Uint32Array]",_e=/\b__p \+= '';/g,ze=/\b(__p \+=) '' \+/g,je=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ue=/&(?:amp|lt|gt|quot|#39);/g,b0=/[&<>"']/g,h0=RegExp(Ue.source),$e=RegExp(b0.source),M0=/<%-([\s\S]+?)%>/g,P0=/<%([\s\S]+?)%>/g,t0=/<%=([\s\S]+?)%>/g,j0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,z0=/^\w*$/,Ke=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,B0=/[\\^$.*+?()[\]{}|]/g,G0=RegExp(B0.source),s0=/^\s+/,X0=/\s/,Y0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,l0=/\{\n\/\* \[wrapped with (.+)\] \*/,K0=/,? & /,tt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,p0=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,Et=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,$0=/\w*$/,Tt=/^[-+]0x[0-9a-f]+$/i,Pn=/^0b[01]+$/i,Ln=/^\[object .+?Constructor\]$/,Fn=/^0o[0-7]+$/i,Nn=/^(?:0|[1-9]\d*)$/,On=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ha=/($^)/,pr=/['\n\r\u2028\u2029\\]/g,za="\\ud800-\\udfff",hr="\\u0300-\\u036f",ar="\\ufe20-\\ufe2f",Cr="\\u20d0-\\u20ff",Jr=hr+ar+Cr,rr="\\u2700-\\u27bf",of="a-z\\xdf-\\xf6\\xf8-\\xff",jf="\\xac\\xb1\\xd7\\xf7",Gs="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Hd="\\u2000-\\u206f",zd=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",t2="A-Z\\xc0-\\xd6\\xd8-\\xde",AL="\\ufe0e\\ufe0f",CL=jf+Gs+Hd+zd,oe="['\u2019]",we="["+za+"]",ve="["+CL+"]",Le="["+Jr+"]",Re="\\d+",Ne="["+rr+"]",e0="["+of+"]",x0="[^"+za+CL+Re+rr+of+t2+"]",S0="\\ud83c[\\udffb-\\udfff]",R0="(?:"+Le+"|"+S0+")",A0="[^"+za+"]",ht="(?:\\ud83c[\\udde6-\\uddff]){2}",yn="[\\ud800-\\udbff][\\udc00-\\udfff]",ya="["+t2+"]",Ra="\\u200d",Af="(?:"+e0+"|"+x0+")",Xr="(?:"+ya+"|"+x0+")",B1="(?:"+oe+"(?:d|ll|m|re|s|t|ve))?",gv="(?:"+oe+"(?:D|LL|M|RE|S|T|VE))?",vv=R0+"?",IL="["+AL+"]?",JZ="(?:"+Ra+"(?:"+[A0,ht,yn].join("|")+")"+IL+vv+")*",kL="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",d_0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",i9e=IL+vv+JZ,l_0="(?:"+[Ne,ht,yn].join("|")+")"+i9e,u_0="(?:"+[A0+Le+"?",Le,ht,yn,we].join("|")+")",p_0=RegExp(oe,"g"),h_0=RegExp(Le,"g"),XZ=RegExp(S0+"(?="+S0+")|"+u_0+i9e,"g"),b_0=RegExp([ya+"?"+e0+"+"+B1+"(?="+[ve,ya,"$"].join("|")+")",Xr+"+"+gv+"(?="+[ve,ya+Af,"$"].join("|")+")",ya+"?"+Af+"+"+B1,ya+"+"+gv,d_0,kL,Re,l_0].join("|"),"g"),m_0=RegExp("["+Ra+za+Jr+AL+"]"),y_0=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,g_0=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],v_0=-1,Zr={};Zr[Se]=Zr[Qe]=Zr[u0]=Zr[qe]=Zr[v0]=Zr[w0]=Zr[Ve]=Zr[be]=Zr[ye]=!0,Zr[U]=Zr[J]=Zr[Te]=Zr[ne]=Zr[Ce]=Zr[ue]=Zr[re]=Zr[ie]=Zr[de]=Zr[Ae]=Zr[Be]=Zr[He]=Zr[_0]=Zr[L0]=Zr[pe]=!1;var Fr={};Fr[U]=Fr[J]=Fr[Te]=Fr[Ce]=Fr[ne]=Fr[ue]=Fr[Se]=Fr[Qe]=Fr[u0]=Fr[qe]=Fr[v0]=Fr[de]=Fr[Ae]=Fr[Be]=Fr[He]=Fr[_0]=Fr[L0]=Fr[Ze]=Fr[w0]=Fr[Ve]=Fr[be]=Fr[ye]=!0,Fr[re]=Fr[ie]=Fr[pe]=!1;var w_0={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},T_0={"&":"&","<":"<",">":">",'"':""","'":"'"},x_0={"&":"&","<":"<",">":">",""":'"',"'":"'"},E_0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},__0=parseFloat,A_0=parseInt,s9e=typeof SB=="object"&&SB&&SB.Object===Object&&SB,C_0=typeof self=="object"&&self&&self.Object===Object&&self,Ks=s9e||C_0||Function("return this")(),ZZ=e&&!e.nodeType&&e,G4=ZZ&&!0&&t&&!t.nodeType&&t,o9e=G4&&G4.exports===ZZ,eee=o9e&&s9e.process,f5=function(){try{var De=G4&&G4.require&&G4.require("util").types;return De||eee&&eee.binding&&eee.binding("util")}catch{}}(),c9e=f5&&f5.isArrayBuffer,d9e=f5&&f5.isDate,l9e=f5&&f5.isMap,u9e=f5&&f5.isRegExp,p9e=f5&&f5.isSet,h9e=f5&&f5.isTypedArray;function d6(De,Je,We){switch(We.length){case 0:return De.call(Je);case 1:return De.call(Je,We[0]);case 2:return De.call(Je,We[0],We[1]);case 3:return De.call(Je,We[0],We[1],We[2])}return De.apply(Je,We)}function I_0(De,Je,We,ft){for(var Kt=-1,Wa=De==null?0:De.length;++Kt-1}function tee(De,Je,We){for(var ft=-1,Kt=De==null?0:De.length;++ft-1;);return We}function x9e(De,Je){for(var We=De.length;We--&&wv(Je,De[We],0)>-1;);return We}function F_0(De,Je){for(var We=De.length,ft=0;We--;)De[We]===Je&&++ft;return ft}var N_0=fee(w_0),O_0=fee(T_0);function U_0(De){return"\\"+E_0[De]}function H_0(De,Je){return De==null?n:De[Je]}function Tv(De){return m_0.test(De)}function z_0(De){return y_0.test(De)}function W_0(De){for(var Je,We=[];!(Je=De.next()).done;)We.push(Je.value);return We}function cee(De){var Je=-1,We=Array(De.size);return De.forEach(function(ft,Kt){We[++Je]=[Kt,ft]}),We}function E9e(De,Je){return function(We){return De(Je(We))}}function r3(De,Je){for(var We=-1,ft=De.length,Kt=0,Wa=[];++We-1}function SA0(b,C){var H=this.__data__,$=KL(H,b);return $<0?(++this.size,H.push([b,C])):H[$][1]=C,this}Np.prototype.clear=AA0,Np.prototype.delete=CA0,Np.prototype.get=IA0,Np.prototype.has=kA0,Np.prototype.set=SA0;function Op(b){var C=-1,H=b==null?0:b.length;for(this.clear();++C=C?b:C)),b}function c5(b,C,H,$,te,le){var xe,Ie=C&l,Fe=C&h,r0=C&y;if(H&&(xe=te?H(b,$,te,le):H(b)),xe!==n)return xe;if(!Cf(b))return b;var f0=nn(b);if(f0){if(xe=DC0(b),!Ie)return Tc(b,xe)}else{var m0=ko(b),Q0=m0==ie||m0==ge;if(d3(b))return fge(b,Ie);if(m0==Be||m0==U||Q0&&!te){if(xe=Fe||Q0?{}:_ge(b),!Ie)return Fe?xC0(b,GA0(xe,b)):TC0(b,L9e(xe,b))}else{if(!Fr[m0])return te?b:{};xe=PC0(b,m0,Ie)}}le||(le=new qd);var dt=le.get(b);if(dt)return dt;le.set(b,xe),Zge(b)?b.forEach(function(Dt){xe.add(c5(Dt,C,H,Dt,b,le))}):Jge(b)&&b.forEach(function(Dt,Kn){xe.set(Kn,c5(Dt,C,H,Kn,b,le))});var Bt=r0?Fe?Lee:Pee:Fe?Ec:os,xn=f0?n:Bt(b);return i5(xn||b,function(Dt,Kn){xn&&(Kn=Dt,Dt=b[Kn]),GC(xe,Kn,c5(Dt,C,H,Kn,b,le))}),xe}function KA0(b){var C=os(b);return function(H){return F9e(H,b,C)}}function F9e(b,C,H){var $=H.length;if(b==null)return!$;for(b=Ir(b);$--;){var te=H[$],le=C[te],xe=b[te];if(xe===n&&!(te in b)||!le(xe))return!1}return!0}function N9e(b,C,H){if(typeof b!="function")throw new s5(i);return XC(function(){b.apply(n,H)},C)}function KC(b,C,H,$){var te=-1,le=SL,xe=!0,Ie=b.length,Fe=[],r0=C.length;if(!Ie)return Fe;H&&(C=cf(C,l6(H))),$?(le=tee,xe=!1):C.length>=r&&(le=UC,xe=!1,C=new V4(C));e:for(;++tete?0:te+H),$=$===n||$>te?te:gn($),$<0&&($+=te),$=H>$?0:tve($);H<$;)b[H++]=C;return b}function U9e(b,C){var H=[];return i3(b,function($,te,le){C($,te,le)&&H.push($)}),H}function Qs(b,C,H,$,te){var le=-1,xe=b.length;for(H||(H=FC0),te||(te=[]);++le0&&H(Ie)?C>1?Qs(Ie,C-1,H,$,te):a3(te,Ie):$||(te[te.length]=Ie)}return te}var mee=lge(),H9e=lge(!0);function n2(b,C){return b&&mee(b,C,os)}function yee(b,C){return b&&H9e(b,C,os)}function VL(b,C){return n3(C,function(H){return qp(b[H])})}function $4(b,C){C=o3(C,b);for(var H=0,$=C.length;b!=null&&H<$;)b=b[r2(C[H++])];return H&&H==$?b:n}function z9e(b,C,H){var $=C(b);return nn(b)?$:a3($,H(b))}function D1(b){return b==null?b===n?I0:Ge:K4&&K4 in Ir(b)?RC0(b):qC0(b)}function gee(b,C){return b>C}function YA0(b,C){return b!=null&&fr.call(b,C)}function $A0(b,C){return b!=null&&C in Ir(b)}function JA0(b,C,H){return b>=Io(C,H)&&b=120&&f0.length>=120)?new V4(xe&&f0):n}f0=b[0];var m0=-1,Q0=Ie[0];e:for(;++m0-1;)Ie!==b&&UL.call(Ie,Fe,1),UL.call(b,Fe,1);return b}function J9e(b,C){for(var H=b?C.length:0,$=H-1;H--;){var te=C[H];if(H==$||te!==le){var le=te;Wp(te)?UL.call(b,te,1):Iee(b,te)}}return b}function _ee(b,C){return b+WL(M9e()*(C-b+1))}function dC0(b,C,H,$){for(var te=-1,le=Qi(zL((C-b)/(H||1)),0),xe=We(le);le--;)xe[$?le:++te]=b,b+=H;return xe}function Aee(b,C){var H="";if(!b||C<1||C>x)return H;do C%2&&(H+=b),C=WL(C/2),C&&(b+=b);while(C);return H}function Sn(b,C){return Wee(Ige(b,C,_c),b+"")}function lC0(b){return P9e(Bv(b))}function uC0(b,C){var H=Bv(b);return fF(H,Y4(C,0,H.length))}function YC(b,C,H,$){if(!Cf(b))return b;C=o3(C,b);for(var te=-1,le=C.length,xe=le-1,Ie=b;Ie!=null&&++tete?0:te+C),H=H>te?te:H,H<0&&(H+=te),te=C>H?0:H-C>>>0,C>>>=0;for(var le=We(te);++$>>1,xe=b[le];xe!==null&&!p6(xe)&&(H?xe<=C:xe=r){var r0=C?null:CC0(b);if(r0)return ML(r0);xe=!1,te=UC,Fe=new V4}else Fe=C?[]:Ie;e:for(;++$=$?b:d5(b,C,H)}var rge=aA0||function(b){return Ks.clearTimeout(b)};function fge(b,C){if(C)return b.slice();var H=b.length,$=C9e?C9e(H):new b.constructor(H);return b.copy($),$}function Mee(b){var C=new b.constructor(b.byteLength);return new NL(C).set(new NL(b)),C}function yC0(b,C){var H=C?Mee(b.buffer):b.buffer;return new b.constructor(H,b.byteOffset,b.byteLength)}function gC0(b){var C=new b.constructor(b.source,$0.exec(b));return C.lastIndex=b.lastIndex,C}function vC0(b){return jC?Ir(jC.call(b)):{}}function ige(b,C){var H=C?Mee(b.buffer):b.buffer;return new b.constructor(H,b.byteOffset,b.length)}function sge(b,C){if(b!==C){var H=b!==n,$=b===null,te=b===b,le=p6(b),xe=C!==n,Ie=C===null,Fe=C===C,r0=p6(C);if(!Ie&&!r0&&!le&&b>C||le&&xe&&Fe&&!Ie&&!r0||$&&xe&&Fe||!H&&Fe||!te)return 1;if(!$&&!le&&!r0&&b=Ie)return Fe;var r0=H[$];return Fe*(r0=="desc"?-1:1)}}return b.index-C.index}function oge(b,C,H,$){for(var te=-1,le=b.length,xe=H.length,Ie=-1,Fe=C.length,r0=Qi(le-xe,0),f0=We(Fe+r0),m0=!$;++Ie1?H[te-1]:n,xe=te>2?H[2]:n;for(le=b.length>3&&typeof le=="function"?(te--,le):n,xe&&P1(H[0],H[1],xe)&&(le=te<3?n:le,te=1),C=Ir(C);++$-1?te[le?C[xe]:xe]:n}}function hge(b){return zp(function(C){var H=C.length,$=H,te=o5.prototype.thru;for(b&&C.reverse();$--;){var le=C[$];if(typeof le!="function")throw new s5(i);if(te&&!xe&&aF(le)=="wrapper")var xe=new o5([],!0)}for($=xe?$:H;++$1&&fa.reverse(),f0&&FeIe))return!1;var r0=le.get(b),f0=le.get(C);if(r0&&f0)return r0==C&&f0==b;var m0=-1,Q0=!0,dt=H&S?new V4:n;for(le.set(b,C),le.set(C,b);++m01?"& ":"")+C[$],C=C.join(H>2?", ":" "),b.replace(Y0,`{ +`)};Rc0="base10",b1="base16",Gle="base64pad",c2e="utf8",Mc0=0,$u=1,C1n=0,I10=1,Kle=12,d2e=32;S1n="irn";R1n=Object.defineProperty,M1n=Object.defineProperties,B1n=Object.getOwnPropertyDescriptors,k10=Object.getOwnPropertySymbols,D1n=Object.prototype.hasOwnProperty,P1n=Object.prototype.propertyIsEnumerable,S10=(t,e,n)=>e in t?R1n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,R10=(t,e)=>{for(var n in e||(e={}))D1n.call(e,n)&&S10(t,n,e[n]);if(k10)for(var n of k10(e))P1n.call(e,n)&&S10(t,n,e[n]);return t},L1n=(t,e)=>M1n(t,B1n(e));q1n={INVALID_METHOD:{message:"Invalid method.",code:1001},INVALID_EVENT:{message:"Invalid event.",code:1002},INVALID_UPDATE_REQUEST:{message:"Invalid update request.",code:1003},INVALID_EXTEND_REQUEST:{message:"Invalid extend request.",code:1004},INVALID_SESSION_SETTLE_REQUEST:{message:"Invalid session settle request.",code:1005},UNAUTHORIZED_METHOD:{message:"Unauthorized method.",code:3001},UNAUTHORIZED_EVENT:{message:"Unauthorized event.",code:3002},UNAUTHORIZED_UPDATE_REQUEST:{message:"Unauthorized update request.",code:3003},UNAUTHORIZED_EXTEND_REQUEST:{message:"Unauthorized extend request.",code:3004},USER_REJECTED:{message:"User rejected.",code:5e3},USER_REJECTED_CHAINS:{message:"User rejected chains.",code:5001},USER_REJECTED_METHODS:{message:"User rejected methods.",code:5002},USER_REJECTED_EVENTS:{message:"User rejected events.",code:5003},UNSUPPORTED_CHAINS:{message:"Unsupported chains.",code:5100},UNSUPPORTED_METHODS:{message:"Unsupported methods.",code:5101},UNSUPPORTED_EVENTS:{message:"Unsupported events.",code:5102},UNSUPPORTED_ACCOUNTS:{message:"Unsupported accounts.",code:5103},UNSUPPORTED_NAMESPACE_KEY:{message:"Unsupported namespace key.",code:5104},USER_DISCONNECTED:{message:"User disconnected.",code:6e3},SESSION_SETTLEMENT_FAILED:{message:"Session settlement failed.",code:7e3},WC_METHOD_UNSUPPORTED:{message:"Unsupported wc_ method.",code:10001}},j1n={NOT_INITIALIZED:{message:"Not initialized.",code:1},NO_MATCHING_KEY:{message:"No matching key.",code:2},RESTORE_WILL_OVERRIDE:{message:"Restore will override.",code:3},RESUBSCRIBED:{message:"Resubscribed.",code:4},MISSING_OR_INVALID:{message:"Missing or invalid.",code:5},EXPIRED:{message:"Expired.",code:6},UNKNOWN_TYPE:{message:"Unknown type.",code:7},MISMATCHED_TOPIC:{message:"Mismatched topic.",code:8},NON_CONFORMING_NAMESPACES:{message:"Non conforming namespaces.",code:9}};Ole={},Lm=class{static get(e){return Ole[e]}static set(e,n){Ole[e]=n}static delete(e){delete Ole[e]}}});var t60=D(wQ=>{"use strict";u();p();Object.defineProperty(wQ,"__esModule",{value:!0});wQ.IHeartBeat=void 0;var rcn=(eie(),vn(BFe)),w2e=class extends rcn.IEvents{constructor(e){super()}};wQ.IHeartBeat=w2e});var x2e=D(T2e=>{"use strict";u();p();Object.defineProperty(T2e,"__esModule",{value:!0});var fcn=(Y2(),vn(V2));fcn.__exportStar(t60(),T2e)});var n60=D(m_=>{"use strict";u();p();Object.defineProperty(m_,"__esModule",{value:!0});m_.HEARTBEAT_EVENTS=m_.HEARTBEAT_INTERVAL=void 0;var icn=_7();m_.HEARTBEAT_INTERVAL=icn.FIVE_SECONDS;m_.HEARTBEAT_EVENTS={pulse:"heartbeat_pulse"}});var _2e=D(E2e=>{"use strict";u();p();Object.defineProperty(E2e,"__esModule",{value:!0});var scn=(Y2(),vn(V2));scn.__exportStar(n60(),E2e)});var a60=D(TQ=>{"use strict";u();p();Object.defineProperty(TQ,"__esModule",{value:!0});TQ.HeartBeat=void 0;var A2e=(Y2(),vn(V2)),ocn=Nr(),ccn=_7(),dcn=x2e(),C2e=_2e(),I2e=class t extends dcn.IHeartBeat{constructor(e){super(e),this.events=new ocn.EventEmitter,this.interval=C2e.HEARTBEAT_INTERVAL,this.interval=e?.interval||C2e.HEARTBEAT_INTERVAL}static init(e){return A2e.__awaiter(this,void 0,void 0,function*(){let n=new t(e);return yield n.init(),n})}init(){return A2e.__awaiter(this,void 0,void 0,function*(){yield this.initialize()})}stop(){clearInterval(this.intervalRef)}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}initialize(){return A2e.__awaiter(this,void 0,void 0,function*(){this.intervalRef=setInterval(()=>this.pulse(),ccn.toMiliseconds(this.interval))})}pulse(){this.events.emit(C2e.HEARTBEAT_EVENTS.pulse)}};TQ.HeartBeat=I2e});var r60=D(AB=>{"use strict";u();p();Object.defineProperty(AB,"__esModule",{value:!0});var k2e=(Y2(),vn(V2));k2e.__exportStar(a60(),AB);k2e.__exportStar(x2e(),AB);k2e.__exportStar(_2e(),AB)});var f60,xQ,EQ,_Q,AQ,CQ,IQ,kQ,SQ,RQ,MQ,BQ,DQ,S2e=ce(()=>{u();p();eie();f60=Ee(Nr()),xQ=class extends $2{constructor(e){super(),this.opts=e,this.protocol="wc",this.version=2}},EQ=class extends $2{constructor(e,n){super(),this.core=e,this.logger=n,this.records=new Map}},_Q=class{constructor(e,n){this.logger=e,this.core=n}},AQ=class extends $2{constructor(e,n){super(),this.relayer=e,this.logger=n}},CQ=class extends $2{constructor(e){super()}},IQ=class{constructor(e,n,a,r){this.core=e,this.logger=n,this.name=a}},kQ=class extends $2{constructor(e,n){super(),this.relayer=e,this.logger=n}},SQ=class extends $2{constructor(e,n){super(),this.core=e,this.logger=n}},RQ=class{constructor(e,n){this.projectId=e,this.logger=n}},MQ=class{constructor(e,n){this.projectId=e,this.logger=n}},BQ=class{constructor(e){this.opts=e,this.protocol="wc",this.version=2}},DQ=class{constructor(e){this.client=e}}});var i60,H6,R2e=ce(()=>{u();p();i60=Ee(Nr());vb();H6=class extends OS{constructor(e){super(e),this.events=new i60.EventEmitter,this.hasRegisteredEventListeners=!1,this.connection=this.setConnection(e),this.connection.connected&&this.registerEventListeners()}async connect(e=this.connection){await this.open(e)}async disconnect(){await this.close()}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async request(e,n){return this.requestStrict(nu(e.method,e.params||[],e.id||gl().toString()),n)}async requestStrict(e,n){return new Promise(async(a,r)=>{if(!this.connection.connected)try{await this.open()}catch(f){r(f)}this.events.on(`${e.id}`,f=>{e1(f)?r(f.error):a(f.result)});try{await this.connection.send(e,n)}catch(f){r(f)}})}setConnection(e=this.connection){return e}onPayload(e){this.events.emit("payload",e),gb(e)?this.events.emit(`${e.id}`,e):this.events.emit("message",{type:e.method,data:e.params})}onClose(e){e&&e.code===3e3&&this.events.emit("error",new Error(`WebSocket connection closed abnormally with code: ${e.code} ${e.reason?`(${e.reason})`:""}`)),this.events.emit("disconnect")}async open(e=this.connection){this.connection===e&&this.connection.connected||(this.connection.connected&&this.close(),typeof e=="string"&&(await this.connection.open(e),e=this.connection),this.connection=this.setConnection(e),await this.connection.open(),this.registerEventListeners(),this.events.emit("connect"))}async close(){await this.connection.close()}registerEventListeners(){this.hasRegisteredEventListeners||(this.connection.on("payload",e=>this.onPayload(e)),this.connection.on("close",e=>this.onClose(e)),this.connection.on("error",e=>this.events.emit("error",e)),this.connection.on("register_error",e=>this.onClose()),this.hasRegisteredEventListeners=!0)}}});var M2e=ce(()=>{u();p();R2e();R2e()});function lcn(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),a=0;a>>0,j=new Uint8Array(W);F!==z;){for(var Q=v[F],V=0,X=W-1;(Q!==0||V>>0,j[X]=Q%s>>>0,Q=Q/s>>>0;if(Q!==0)throw new Error("Non-zero carry");O=V,F++}for(var K=W-O;K!==W&&j[K]===0;)K++;for(var G=o.repeat(k);K>>0,W=new Uint8Array(z);v[k];){var j=n[v.charCodeAt(k)];if(j===255)return;for(var Q=0,V=z-1;(j!==0||Q>>0,W[V]=j%256>>>0,j=j/256>>>0;if(j!==0)throw new Error("Non-zero carry");F=Q,k++}if(v[k]!==" "){for(var X=z-F;X!==z&&W[X]===0;)X++;for(var K=new Uint8Array(O+(z-X)),G=O;X!==z;)K[G++]=W[X++];return K}}}function y(v){var k=h(v);if(k)return k;throw new Error(`Non-${e} character`)}return{encode:l,decodeUnsafe:h,decode:y}}function Xcn(t){return t.reduce((e,n)=>(e+=$cn[n],e),"")}function Zcn(t){let e=[];for(let n of t){let a=Jcn[n.codePointAt(0)];if(a===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(a)}return new Uint8Array(e)}function R60(t,e,n){e=e||[],n=n||0;for(var a=n;t>=f6n;)e[n++]=t&255|s60,t/=128;for(;t&r6n;)e[n++]=t&255|s60,t>>>=7;return e[n]=t|0,R60.bytes=n-a+1,e}function U2e(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s)throw U2e.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&o60)<=s6n);return U2e.bytes=f-a,n}function F60(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function C6n(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?F60(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function N60(t,e,n,a){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:a}}}function k6n(t,e="utf8"){let n=I6n[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?F60(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}var vh,Y9,Xt,A60,C60,ucn,pcn,I60,hcn,bcn,L2e,F2e,N2e,k60,O2e,PQ,kB,mcn,ycn,yo,gcn,vcn,wcn,Tcn,xcn,Ecn,_cn,Acn,Ccn,Icn,kcn,Scn,Rcn,Mcn,Bcn,Dcn,Pcn,Lcn,Fcn,Ncn,Ocn,Ucn,Hcn,zcn,Wcn,qcn,jcn,Gcn,Kcn,Qcn,Vcn,Ycn,S60,$cn,Jcn,e6n,t6n,n6n,s60,a6n,r6n,f6n,i6n,s6n,o60,o6n,c6n,d6n,l6n,u6n,p6n,h6n,b6n,m6n,y6n,g6n,M60,c60,d60,H2e,z2e,B60,W2e,D60,v6n,w6n,T6n,P60,x6n,L60,E6n,_6n,A6n,l60,u60,B2e,I6n,O60,S6n,aue,Om,R6n,M6n,B6n,p60,D6n,P6n,L6n,F6n,N6n,O6n,U6n,rue,H6n,U60,h60,z6n,n6,W6n,hd,q6n,j6n,G6n,K6n,Q6n,Ju,V6n,Y6n,$6n,J6n,X6n,CB,Q9,Gl,Z6n,e5n,t5n,z6,n5n,D2e,V9,q2e,a5n,r5n,f5n,j2e,G2e,K2e,Q2e,V2e,i5n,s5n,o5n,b60,c5n,d5n,m60,IB,P2e,Y2e,l5n,y60,u5n,p5n,g60,h5n,$2e,b5n,v60,m5n,y5n,w60,T60,Xu,J2e,X2e,Z2e,eue,tue,g5n,x60,v5n,w5n,E60,_60,nue,H60,z60=ce(()=>{u();p();vh=Ee(Nr());gFe();Y9=Ee(r60());vz();S2e();E7();lOe();_B();Ele();Xt=Ee(_7());M2e();vb();BUe();A60=Ee(pHe()),C60=Ee(mHe());ucn=lcn,pcn=ucn,I60=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},hcn=t=>new TextEncoder().encode(t),bcn=t=>new TextDecoder().decode(t),L2e=class{constructor(e,n,a){this.name=e,this.prefix=n,this.baseEncode=a}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}},F2e=class{constructor(e,n,a){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=a}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return k60(this,e)}},N2e=class{constructor(e){this.decoders=e}or(e){return k60(this,e)}decode(e){let n=e[0],a=this.decoders[n];if(a)return a.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}},k60=(t,e)=>new N2e({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}}),O2e=class{constructor(e,n,a,r){this.name=e,this.prefix=n,this.baseEncode=a,this.baseDecode=r,this.encoder=new L2e(e,n,a),this.decoder=new F2e(e,n,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}},PQ=({name:t,prefix:e,encode:n,decode:a})=>new O2e(t,e,n,a),kB=({prefix:t,name:e,alphabet:n})=>{let{encode:a,decode:r}=pcn(n,e);return PQ({prefix:t,name:e,encode:a,decode:f=>I60(r(f))})},mcn=(t,e,n,a)=>{let r={};for(let d=0;d=8&&(s-=8,i[c++]=255&o>>s)}if(s>=n||255&o<<8-s)throw new SyntaxError("Unexpected end of data");return i},ycn=(t,e,n)=>{let a=e[e.length-1]==="=",r=(1<n;)i-=n,f+=e[r&s>>i];if(i&&(f+=e[r&s<PQ({prefix:e,name:t,encode(r){return ycn(r,a,n)},decode(r){return mcn(r,a,n,t)}}),gcn=PQ({prefix:"\0",name:"identity",encode:t=>bcn(t),decode:t=>hcn(t)}),vcn=Object.freeze({__proto__:null,identity:gcn}),wcn=yo({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),Tcn=Object.freeze({__proto__:null,base2:wcn}),xcn=yo({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),Ecn=Object.freeze({__proto__:null,base8:xcn}),_cn=kB({prefix:"9",name:"base10",alphabet:"0123456789"}),Acn=Object.freeze({__proto__:null,base10:_cn}),Ccn=yo({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),Icn=yo({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),kcn=Object.freeze({__proto__:null,base16:Ccn,base16upper:Icn}),Scn=yo({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),Rcn=yo({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),Mcn=yo({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),Bcn=yo({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),Dcn=yo({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),Pcn=yo({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),Lcn=yo({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),Fcn=yo({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),Ncn=yo({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),Ocn=Object.freeze({__proto__:null,base32:Scn,base32upper:Rcn,base32pad:Mcn,base32padupper:Bcn,base32hex:Dcn,base32hexupper:Pcn,base32hexpad:Lcn,base32hexpadupper:Fcn,base32z:Ncn}),Ucn=kB({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),Hcn=kB({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),zcn=Object.freeze({__proto__:null,base36:Ucn,base36upper:Hcn}),Wcn=kB({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),qcn=kB({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),jcn=Object.freeze({__proto__:null,base58btc:Wcn,base58flickr:qcn}),Gcn=yo({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Kcn=yo({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),Qcn=yo({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),Vcn=yo({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),Ycn=Object.freeze({__proto__:null,base64:Gcn,base64pad:Kcn,base64url:Qcn,base64urlpad:Vcn}),S60=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),$cn=S60.reduce((t,e,n)=>(t[n]=e,t),[]),Jcn=S60.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);e6n=PQ({prefix:"\u{1F680}",name:"base256emoji",encode:Xcn,decode:Zcn}),t6n=Object.freeze({__proto__:null,base256emoji:e6n}),n6n=R60,s60=128,a6n=127,r6n=~a6n,f6n=Math.pow(2,31);i6n=U2e,s6n=128,o60=127;o6n=Math.pow(2,7),c6n=Math.pow(2,14),d6n=Math.pow(2,21),l6n=Math.pow(2,28),u6n=Math.pow(2,35),p6n=Math.pow(2,42),h6n=Math.pow(2,49),b6n=Math.pow(2,56),m6n=Math.pow(2,63),y6n=function(t){return t(M60.encode(t,e,n),e),d60=t=>M60.encodingLength(t),H2e=(t,e)=>{let n=e.byteLength,a=d60(t),r=a+d60(n),f=new Uint8Array(r+n);return c60(t,f,0),c60(n,f,a),f.set(e,r),new z2e(t,n,e,f)},z2e=class{constructor(e,n,a,r){this.code=e,this.size=n,this.digest=a,this.bytes=r}},B60=({name:t,code:e,encode:n})=>new W2e(t,e,n),W2e=class{constructor(e,n,a){this.name=e,this.code=n,this.encode=a}digest(e){if(e instanceof Uint8Array){let n=this.encode(e);return n instanceof Uint8Array?H2e(this.code,n):n.then(a=>H2e(this.code,a))}else throw Error("Unknown type, must be binary type")}},D60=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),v6n=B60({name:"sha2-256",code:18,encode:D60("SHA-256")}),w6n=B60({name:"sha2-512",code:19,encode:D60("SHA-512")}),T6n=Object.freeze({__proto__:null,sha256:v6n,sha512:w6n}),P60=0,x6n="identity",L60=I60,E6n=t=>H2e(P60,L60(t)),_6n={code:P60,name:x6n,encode:L60,digest:E6n},A6n=Object.freeze({__proto__:null,identity:_6n});new TextEncoder,new TextDecoder;l60={...vcn,...Tcn,...Ecn,...Acn,...kcn,...Ocn,...zcn,...jcn,...Ycn,...t6n};({...T6n,...A6n});u60=N60("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),B2e=N60("ascii","a",t=>{let e="a";for(let n=0;n{t=t.substring(1);let e=C6n(t.length);for(let n=0;n{if(!this.initialized){let a=await this.getKeyChain();typeof a<"u"&&(this.keychain=a),this.initialized=!0}},this.has=a=>(this.isInitialized(),this.keychain.has(a)),this.set=async(a,r)=>{this.isInitialized(),this.keychain.set(a,r),await this.persist()},this.get=a=>{this.isInitialized();let r=this.keychain.get(a);if(typeof r>"u"){let{message:f}=F0("NO_MATCHING_KEY",`${this.name}: ${a}`);throw new Error(f)}return r},this.del=async a=>{this.isInitialized(),this.keychain.delete(a),await this.persist()},this.core=e,this.logger=Jo(n,this.name)}get context(){return $o(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setKeyChain(e){await this.core.storage.setItem(this.storageKey,$le(e))}async getKeyChain(){let e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Jle(e):void 0}async persist(){await this.setKeyChain(this.keychain)}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},G2e=class{constructor(e,n,a){this.core=e,this.logger=n,this.name=B6n,this.initialized=!1,this.init=async()=>{this.initialized||(await this.keychain.init(),this.initialized=!0)},this.hasKeys=r=>(this.isInitialized(),this.keychain.has(r)),this.getClientId=async()=>{this.isInitialized();let r=await this.getClientSeed(),f=ise(r);return Uz(f.publicKey)},this.generateKeyPair=()=>{this.isInitialized();let r=Bc0();return this.setPrivateKey(r.publicKey,r.privateKey)},this.signJWT=async r=>{this.isInitialized();let f=await this.getClientSeed(),i=ise(f),s=mQ();return await oOe(s,r,D6n,i)},this.generateSharedKey=(r,f,i)=>{this.isInitialized();let s=this.getPrivateKey(r),o=Dc0(s,f);return this.setSymKey(o,i)},this.setSymKey=async(r,f)=>{this.isInitialized();let i=f||u_(r);return await this.keychain.set(i,r),i},this.deleteKeyPair=async r=>{this.isInitialized(),await this.keychain.del(r)},this.deleteSymKey=async r=>{this.isInitialized(),await this.keychain.del(r)},this.encode=async(r,f,i)=>{this.isInitialized();let s=l2e(i),o=z1(f);if(u2e(s)){let h=s.senderPublicKey,y=s.receiverPublicKey;r=await this.generateSharedKey(h,y)}let c=this.getSymKey(r),{type:d,senderPublicKey:l}=s;return Pc0({type:d,symKey:c,message:o,senderPublicKey:l})},this.decode=async(r,f,i)=>{this.isInitialized();let s=Fc0(f,i);if(u2e(s)){let o=s.receiverPublicKey,c=s.senderPublicKey;r=await this.generateSharedKey(o,c)}try{let o=this.getSymKey(r),c=Lc0({symKey:o,encoded:f});return Q2(c)}catch(o){this.logger.error(`Failed to decode message from topic: '${r}', clientId: '${await this.getClientId()}'`),this.logger.error(o)}},this.getPayloadType=r=>{let f=xB(r);return p_(f.type)},this.getPayloadSenderPublicKey=r=>{let f=xB(r);return f.senderPublicKey?Mi(f.senderPublicKey,b1):void 0},this.core=e,this.logger=Jo(n,this.name),this.keychain=a||new j2e(this.core,this.logger)}get context(){return $o(this.logger)}async setPrivateKey(e,n){return await this.keychain.set(e,n),e}getPrivateKey(e){return this.keychain.get(e)}async getClientSeed(){let e="";try{e=this.keychain.get(p60)}catch{e=mQ(),await this.keychain.set(p60,e)}return k6n(e,"base16")}getSymKey(e){return this.keychain.get(e)}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},K2e=class extends _Q{constructor(e,n){super(e,n),this.logger=e,this.core=n,this.messages=new Map,this.name=F6n,this.version=N6n,this.initialized=!1,this.storagePrefix=Om,this.init=async()=>{if(!this.initialized){this.logger.trace("Initialized");try{let a=await this.getRelayerMessages();typeof a<"u"&&(this.messages=a),this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",size:this.messages.size})}catch(a){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(a)}finally{this.initialized=!0}}},this.set=async(a,r)=>{this.isInitialized();let f=gh(r),i=this.messages.get(a);return typeof i>"u"&&(i={}),typeof i[f]<"u"||(i[f]=r,this.messages.set(a,i),await this.persist()),f},this.get=a=>{this.isInitialized();let r=this.messages.get(a);return typeof r>"u"&&(r={}),r},this.has=(a,r)=>{this.isInitialized();let f=this.get(a),i=gh(r);return typeof f[i]<"u"},this.del=async a=>{this.isInitialized(),this.messages.delete(a),await this.persist()},this.logger=Jo(e,this.name),this.core=n}get context(){return $o(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setRelayerMessages(e){await this.core.storage.setItem(this.storageKey,$le(e))}async getRelayerMessages(){let e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Jle(e):void 0}async persist(){await this.setRelayerMessages(this.messages)}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},Q2e=class extends AQ{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,this.events=new vh.EventEmitter,this.name=U6n,this.queue=new Map,this.publishTimeout=(0,Xt.toMiliseconds)(Xt.ONE_MINUTE),this.failedPublishTimeout=(0,Xt.toMiliseconds)(Xt.ONE_SECOND),this.needsTransportRestart=!1,this.publish=async(a,r,f)=>{var i;this.logger.debug("Publishing Payload"),this.logger.trace({type:"method",method:"publish",params:{topic:a,message:r,opts:f}});let s=f?.ttl||O6n,o=yQ(f),c=f?.prompt||!1,d=f?.tag||0,l=f?.id||gl().toString(),h={topic:a,message:r,opts:{ttl:s,relay:o,prompt:c,tag:d,id:l}},y=`Failed to publish payload, please try again. id:${l} tag:${d}`,v=Date.now(),k,O=1;try{for(;k===void 0;){if(Date.now()-v>this.publishTimeout)throw new Error(y);this.logger.trace({id:l,attempts:O},`publisher.publish - attempt ${O}`),k=await await s_(this.rpcPublish(a,r,s,o,c,d,l).catch(F=>this.logger.warn(F)),this.publishTimeout,y),O++,k||await new Promise(F=>setTimeout(F,this.failedPublishTimeout))}this.relayer.events.emit(n6.publish,h),this.logger.debug("Successfully Published Payload"),this.logger.trace({type:"method",method:"publish",params:{id:l,topic:a,message:r,opts:f}})}catch(F){if(this.logger.debug("Failed to Publish Payload"),this.logger.error(F),(i=f?.internal)!=null&&i.throwOnFailedPublish)throw F;this.queue.set(l,h)}},this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.relayer=e,this.logger=Jo(n,this.name),this.registerEventListeners()}get context(){return $o(this.logger)}rpcPublish(e,n,a,r,f,i,s){var o,c,d,l;let h={method:EB(r.protocol).publish,params:{topic:e,message:n,ttl:a,prompt:f,tag:i},id:s};return bo((o=h.params)==null?void 0:o.prompt)&&((c=h.params)==null||delete c.prompt),bo((d=h.params)==null?void 0:d.tag)&&((l=h.params)==null||delete l.tag),this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"message",direction:"outgoing",request:h}),this.relayer.request(h)}removeRequestFromQueue(e){this.queue.delete(e)}checkQueue(){this.queue.forEach(async e=>{let{topic:n,message:a,opts:r}=e;await this.publish(n,a,r)})}registerEventListeners(){this.relayer.core.heartbeat.on(Y9.HEARTBEAT_EVENTS.pulse,()=>{if(this.needsTransportRestart){this.needsTransportRestart=!1,this.relayer.events.emit(n6.connection_stalled);return}this.checkQueue()}),this.relayer.on(n6.message_ack,e=>{this.removeRequestFromQueue(e.id.toString())})}},V2e=class{constructor(){this.map=new Map,this.set=(e,n)=>{let a=this.get(e);this.exists(e,n)||this.map.set(e,[...a,n])},this.get=e=>this.map.get(e)||[],this.exists=(e,n)=>this.get(e).includes(n),this.delete=(e,n)=>{if(typeof n>"u"){this.map.delete(e);return}if(!this.map.has(e))return;let a=this.get(e);if(!this.exists(e,n))return;let r=a.filter(f=>f!==n);if(!r.length){this.map.delete(e);return}this.map.set(e,r)},this.clear=()=>{this.map.clear()}}get topics(){return Array.from(this.map.keys())}},i5n=Object.defineProperty,s5n=Object.defineProperties,o5n=Object.getOwnPropertyDescriptors,b60=Object.getOwnPropertySymbols,c5n=Object.prototype.hasOwnProperty,d5n=Object.prototype.propertyIsEnumerable,m60=(t,e,n)=>e in t?i5n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,IB=(t,e)=>{for(var n in e||(e={}))c5n.call(e,n)&&m60(t,n,e[n]);if(b60)for(var n of b60(e))d5n.call(e,n)&&m60(t,n,e[n]);return t},P2e=(t,e)=>s5n(t,o5n(e)),Y2e=class extends kQ{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,this.subscriptions=new Map,this.topicMap=new V2e,this.events=new vh.EventEmitter,this.name=V6n,this.version=Y6n,this.pending=new Map,this.cached=[],this.initialized=!1,this.pendingSubscriptionWatchLabel="pending_sub_watch_label",this.pollingInterval=20,this.storagePrefix=Om,this.subscribeTimeout=(0,Xt.toMiliseconds)(Xt.ONE_MINUTE),this.restartInProgress=!1,this.batchSubscribeTopicsLimit=500,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),this.registerEventListeners(),this.clientId=await this.relayer.core.crypto.getClientId())},this.subscribe=async(a,r)=>{await this.restartToComplete(),this.isInitialized(),this.logger.debug("Subscribing Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:a,opts:r}});try{let f=yQ(r),i={topic:a,relay:f};this.pending.set(a,i);let s=await this.rpcSubscribe(a,f);return typeof s=="string"&&(this.onSubscribe(s,i),this.logger.debug("Successfully Subscribed Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:a,opts:r}})),s}catch(f){throw this.logger.debug("Failed to Subscribe Topic"),this.logger.error(f),f}},this.unsubscribe=async(a,r)=>{await this.restartToComplete(),this.isInitialized(),typeof r?.id<"u"?await this.unsubscribeById(a,r.id,r):await this.unsubscribeByTopic(a,r)},this.isSubscribed=async a=>{if(this.topics.includes(a))return!0;let r=`${this.pendingSubscriptionWatchLabel}_${a}`;return await new Promise((f,i)=>{let s=new Xt.Watch;s.start(r);let o=setInterval(()=>{!this.pending.has(a)&&this.topics.includes(a)&&(clearInterval(o),s.stop(r),f(!0)),s.elapsed(r)>=$6n&&(clearInterval(o),s.stop(r),i(new Error("Subscription resolution timeout")))},this.pollingInterval)}).catch(()=>!1)},this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.start=async()=>{await this.onConnect()},this.stop=async()=>{await this.onDisconnect()},this.restart=async()=>{this.restartInProgress=!0,await this.restore(),await this.reset(),this.restartInProgress=!1},this.relayer=e,this.logger=Jo(n,this.name),this.clientId=""}get context(){return $o(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.relayer.core.customStoragePrefix+"//"+this.name}get length(){return this.subscriptions.size}get ids(){return Array.from(this.subscriptions.keys())}get values(){return Array.from(this.subscriptions.values())}get topics(){return this.topicMap.topics}hasSubscription(e,n){let a=!1;try{a=this.getSubscription(e).topic===n}catch{}return a}onEnable(){this.cached=[],this.initialized=!0}onDisable(){this.cached=this.values,this.subscriptions.clear(),this.topicMap.clear()}async unsubscribeByTopic(e,n){let a=this.topicMap.get(e);await Promise.all(a.map(async r=>await this.unsubscribeById(e,r,n)))}async unsubscribeById(e,n,a){this.logger.debug("Unsubscribing Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:n,opts:a}});try{let r=yQ(a);await this.rpcUnsubscribe(e,n,r);let f=Ca("USER_DISCONNECTED",`${this.name}, ${e}`);await this.onUnsubscribe(e,n,f),this.logger.debug("Successfully Unsubscribed Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:n,opts:a}})}catch(r){throw this.logger.debug("Failed to Unsubscribe Topic"),this.logger.error(r),r}}async rpcSubscribe(e,n){let a={method:EB(n.protocol).subscribe,params:{topic:e}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:a});try{return await await s_(this.relayer.request(a).catch(r=>this.logger.warn(r)),this.subscribeTimeout)?gh(e+this.clientId):null}catch{this.logger.debug("Outgoing Relay Subscribe Payload stalled"),this.relayer.events.emit(n6.connection_stalled)}return null}async rpcBatchSubscribe(e){if(!e.length)return;let n=e[0].relay,a={method:EB(n.protocol).batchSubscribe,params:{topics:e.map(r=>r.topic)}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:a});try{return await await s_(this.relayer.request(a).catch(r=>this.logger.warn(r)),this.subscribeTimeout)}catch{this.relayer.events.emit(n6.connection_stalled)}}rpcUnsubscribe(e,n,a){let r={method:EB(a.protocol).unsubscribe,params:{topic:e,id:n}};return this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:r}),this.relayer.request(r)}onSubscribe(e,n){this.setSubscription(e,P2e(IB({},n),{id:e})),this.pending.delete(n.topic)}onBatchSubscribe(e){e.length&&e.forEach(n=>{this.setSubscription(n.id,IB({},n)),this.pending.delete(n.topic)})}async onUnsubscribe(e,n,a){this.events.removeAllListeners(n),this.hasSubscription(n,e)&&this.deleteSubscription(n,a),await this.relayer.messages.del(e)}async setRelayerSubscriptions(e){await this.relayer.core.storage.setItem(this.storageKey,e)}async getRelayerSubscriptions(){return await this.relayer.core.storage.getItem(this.storageKey)}setSubscription(e,n){this.logger.debug("Setting subscription"),this.logger.trace({type:"method",method:"setSubscription",id:e,subscription:n}),this.addSubscription(e,n)}addSubscription(e,n){this.subscriptions.set(e,IB({},n)),this.topicMap.set(n.topic,e),this.events.emit(Ju.created,n)}getSubscription(e){this.logger.debug("Getting subscription"),this.logger.trace({type:"method",method:"getSubscription",id:e});let n=this.subscriptions.get(e);if(!n){let{message:a}=F0("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(a)}return n}deleteSubscription(e,n){this.logger.debug("Deleting subscription"),this.logger.trace({type:"method",method:"deleteSubscription",id:e,reason:n});let a=this.getSubscription(e);this.subscriptions.delete(e),this.topicMap.delete(a.topic,e),this.events.emit(Ju.deleted,P2e(IB({},a),{reason:n}))}async persist(){await this.setRelayerSubscriptions(this.values),this.events.emit(Ju.sync)}async reset(){if(this.cached.length){let e=Math.ceil(this.cached.length/this.batchSubscribeTopicsLimit);for(let n=0;n"u"||!e.length)return;if(this.subscriptions.size){let{message:n}=F0("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),this.logger.error(`${this.name}: ${JSON.stringify(this.values)}`),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored subscriptions for ${this.name}`),this.logger.trace({type:"method",method:"restore",subscriptions:this.values})}catch(e){this.logger.debug(`Failed to Restore subscriptions for ${this.name}`),this.logger.error(e)}}async batchSubscribe(e){if(!e.length)return;let n=await this.rpcBatchSubscribe(e);U6(n)&&this.onBatchSubscribe(n.map((a,r)=>P2e(IB({},e[r]),{id:a})))}async onConnect(){await this.restart(),this.onEnable()}onDisconnect(){this.onDisable()}async checkPending(){if(!this.initialized||!this.relayer.connected)return;let e=[];this.pending.forEach(n=>{e.push(n)}),await this.batchSubscribe(e)}registerEventListeners(){this.relayer.core.heartbeat.on(Y9.HEARTBEAT_EVENTS.pulse,async()=>{await this.checkPending()}),this.events.on(Ju.created,async e=>{let n=Ju.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),await this.persist()}),this.events.on(Ju.deleted,async e=>{let n=Ju.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),await this.persist()})}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}async restartToComplete(){this.restartInProgress&&await new Promise(e=>{let n=setInterval(()=>{this.restartInProgress||(clearInterval(n),e())},this.pollingInterval)})}},l5n=Object.defineProperty,y60=Object.getOwnPropertySymbols,u5n=Object.prototype.hasOwnProperty,p5n=Object.prototype.propertyIsEnumerable,g60=(t,e,n)=>e in t?l5n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,h5n=(t,e)=>{for(var n in e||(e={}))u5n.call(e,n)&&g60(t,n,e[n]);if(y60)for(var n of y60(e))p5n.call(e,n)&&g60(t,n,e[n]);return t},$2e=class extends CQ{constructor(e){super(e),this.protocol="wc",this.version=2,this.events=new vh.EventEmitter,this.name=z6n,this.transportExplicitlyClosed=!1,this.initialized=!1,this.connectionAttemptInProgress=!1,this.connectionStatusPollingInterval=20,this.staleConnectionErrors=["socket hang up","socket stalled","interrupted"],this.hasExperiencedNetworkDisruption=!1,this.requestsInFlight=new Map,this.heartBeatTimeout=(0,Xt.toMiliseconds)(Xt.THIRTY_SECONDS+Xt.ONE_SECOND),this.request=async n=>{var a,r;this.logger.debug("Publishing Request Payload");let f=n.id||gl().toString();await this.toEstablishConnection();try{let i=this.provider.request(n);this.requestsInFlight.set(f,{promise:i,request:n}),this.logger.trace({id:f,method:n.method,topic:(a=n.params)==null?void 0:a.topic},"relayer.request - attempt to publish...");let s=await new Promise(async(o,c)=>{let d=()=>{c(new Error(`relayer.request - publish interrupted, id: ${f}`))};this.provider.on(hd.disconnect,d);let l=await i;this.provider.off(hd.disconnect,d),o(l)});return this.logger.trace({id:f,method:n.method,topic:(r=n.params)==null?void 0:r.topic},"relayer.request - published"),s}catch(i){throw this.logger.debug(`Failed to Publish Request: ${f}`),i}finally{this.requestsInFlight.delete(f)}},this.resetPingTimeout=()=>{if(i_())try{clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{var n,a,r;(r=(a=(n=this.provider)==null?void 0:n.connection)==null?void 0:a.socket)==null||r.terminate()},this.heartBeatTimeout)}catch(n){this.logger.warn(n)}},this.onPayloadHandler=n=>{this.onProviderPayload(n),this.resetPingTimeout()},this.onConnectHandler=()=>{this.startPingTimeout(),this.events.emit(n6.connect)},this.onDisconnectHandler=()=>{this.onProviderDisconnect()},this.onProviderErrorHandler=n=>{this.logger.error(n),this.events.emit(n6.error,n),this.logger.info("Fatal socket error received, closing transport"),this.transportClose()},this.registerProviderListeners=()=>{this.provider.on(hd.payload,this.onPayloadHandler),this.provider.on(hd.connect,this.onConnectHandler),this.provider.on(hd.disconnect,this.onDisconnectHandler),this.provider.on(hd.error,this.onProviderErrorHandler)},this.core=e.core,this.logger=typeof e.logger<"u"&&typeof e.logger!="string"?Jo(e.logger,this.name):(0,A7.default)(C7({level:e.logger||H6n})),this.messages=new K2e(this.logger,e.core),this.subscriber=new Y2e(this,this.logger),this.publisher=new Q2e(this,this.logger),this.relayUrl=e?.relayUrl||U60,this.projectId=e.projectId,this.bundleId=F10(),this.provider={}}async init(){this.logger.trace("Initialized"),this.registerEventListeners(),await this.createProvider(),await Promise.all([this.messages.init(),this.subscriber.init()]);try{await this.transportOpen()}catch{this.logger.warn(`Connection via ${this.relayUrl} failed, attempting to connect via failover domain ${h60}...`),await this.restartTransport(h60)}this.initialized=!0,setTimeout(async()=>{this.subscriber.topics.length===0&&this.subscriber.pending.size===0&&(this.logger.info("No topics subscribed to after init, closing transport"),await this.transportClose(),this.transportExplicitlyClosed=!1)},G6n)}get context(){return $o(this.logger)}get connected(){var e,n,a;return((a=(n=(e=this.provider)==null?void 0:e.connection)==null?void 0:n.socket)==null?void 0:a.readyState)===1}get connecting(){var e,n,a;return((a=(n=(e=this.provider)==null?void 0:e.connection)==null?void 0:n.socket)==null?void 0:a.readyState)===0}async publish(e,n,a){this.isInitialized(),await this.publisher.publish(e,n,a),await this.recordMessageEvent({topic:e,message:n,publishedAt:Date.now()})}async subscribe(e,n){var a;this.isInitialized();let r=((a=this.subscriber.topicMap.get(e))==null?void 0:a[0])||"",f,i=s=>{s.topic===e&&(this.subscriber.off(Ju.created,i),f())};return await Promise.all([new Promise(s=>{f=s,this.subscriber.on(Ju.created,i)}),new Promise(async s=>{r=await this.subscriber.subscribe(e,n)||r,s()})]),r}async unsubscribe(e,n){this.isInitialized(),await this.subscriber.unsubscribe(e,n)}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async transportDisconnect(){if(!this.hasExperiencedNetworkDisruption&&this.connected&&this.requestsInFlight.size>0)try{await Promise.all(Array.from(this.requestsInFlight.values()).map(e=>e.promise))}catch(e){this.logger.warn(e)}this.hasExperiencedNetworkDisruption||this.connected?await s_(this.provider.disconnect(),2e3,"provider.disconnect()").catch(()=>this.onProviderDisconnect()):this.onProviderDisconnect()}async transportClose(){this.transportExplicitlyClosed=!0,await this.transportDisconnect()}async transportOpen(e){await this.confirmOnlineStateOrThrow(),e&&e!==this.relayUrl&&(this.relayUrl=e,await this.transportDisconnect(),await this.createProvider()),this.connectionAttemptInProgress=!0,this.transportExplicitlyClosed=!1;try{await new Promise(async(n,a)=>{let r=()=>{this.provider.off(hd.disconnect,r),a(new Error("Connection interrupted while trying to subscribe"))};this.provider.on(hd.disconnect,r),await s_(this.provider.connect(),(0,Xt.toMiliseconds)(Xt.ONE_MINUTE),`Socket stalled when trying to connect to ${this.relayUrl}`).catch(f=>{a(f)}),await this.subscriber.start(),this.hasExperiencedNetworkDisruption=!1,n()})}catch(n){this.logger.error(n);let a=n;if(!this.isConnectionStalled(a.message))throw n}finally{this.connectionAttemptInProgress=!1}}async restartTransport(e){this.connectionAttemptInProgress||(this.relayUrl=e||this.relayUrl,await this.confirmOnlineStateOrThrow(),await this.transportClose(),await this.createProvider(),await this.transportOpen())}async confirmOnlineStateOrThrow(){if(!await v2e())throw new Error("No internet connection detected. Please restart your network and try again.")}startPingTimeout(){var e,n,a,r,f;if(i_())try{(n=(e=this.provider)==null?void 0:e.connection)!=null&&n.socket&&((f=(r=(a=this.provider)==null?void 0:a.connection)==null?void 0:r.socket)==null||f.once("ping",()=>{this.resetPingTimeout()})),this.resetPingTimeout()}catch(i){this.logger.warn(i)}}isConnectionStalled(e){return this.staleConnectionErrors.some(n=>e.includes(n))}async createProvider(){this.provider.connection&&this.unregisterProviderListeners();let e=await this.core.crypto.signJWT(this.relayUrl);this.provider=new H6(new oW(O10({sdkVersion:j6n,protocol:this.protocol,version:this.version,relayUrl:this.relayUrl,projectId:this.projectId,auth:e,useOnCloseEvent:!0,bundleId:this.bundleId}))),this.registerProviderListeners()}async recordMessageEvent(e){let{topic:n,message:a}=e;await this.messages.set(n,a)}async shouldIgnoreMessageEvent(e){let{topic:n,message:a}=e;if(!a||a.length===0)return this.logger.debug(`Ignoring invalid/empty message: ${a}`),!0;if(!await this.subscriber.isSubscribed(n))return this.logger.debug(`Ignoring message for non-subscribed topic ${n}`),!0;let r=this.messages.has(n,a);return r&&this.logger.debug(`Ignoring duplicate message: ${a}`),r}async onProviderPayload(e){if(this.logger.debug("Incoming Relay Payload"),this.logger.trace({type:"payload",direction:"incoming",payload:e}),sx(e)){if(!e.method.endsWith(W6n))return;let n=e.params,{topic:a,message:r,publishedAt:f}=n.data,i={topic:a,message:r,publishedAt:f};this.logger.debug("Emitting Relayer Payload"),this.logger.trace(h5n({type:"event",event:n.id},i)),this.events.emit(n.id,i),await this.acknowledgePayload(e),await this.onMessageEvent(i)}else gb(e)&&this.events.emit(n6.message_ack,e)}async onMessageEvent(e){await this.shouldIgnoreMessageEvent(e)||(this.events.emit(n6.message,e),await this.recordMessageEvent(e))}async acknowledgePayload(e){let n=L8(e.id,!0);await this.provider.connection.send(n)}unregisterProviderListeners(){this.provider.off(hd.payload,this.onPayloadHandler),this.provider.off(hd.connect,this.onConnectHandler),this.provider.off(hd.disconnect,this.onDisconnectHandler),this.provider.off(hd.error,this.onProviderErrorHandler)}async registerEventListeners(){let e=await v2e();e60(async n=>{e!==n&&(e=n,n?await this.restartTransport().catch(a=>this.logger.error(a)):(this.hasExperiencedNetworkDisruption=!0,await this.transportDisconnect(),this.transportExplicitlyClosed=!1))})}async onProviderDisconnect(){await this.subscriber.stop(),this.events.emit(n6.disconnect),this.connectionAttemptInProgress=!1,!this.transportExplicitlyClosed&&setTimeout(async()=>{await this.transportOpen().catch(e=>this.logger.error(e))},(0,Xt.toMiliseconds)(q6n))}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}async toEstablishConnection(){await this.confirmOnlineStateOrThrow(),!this.connected&&(this.connectionAttemptInProgress&&await new Promise(e=>{let n=setInterval(()=>{this.connected&&(clearInterval(n),e())},this.connectionStatusPollingInterval)}),await this.transportOpen())}},b5n=Object.defineProperty,v60=Object.getOwnPropertySymbols,m5n=Object.prototype.hasOwnProperty,y5n=Object.prototype.propertyIsEnumerable,w60=(t,e,n)=>e in t?b5n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,T60=(t,e)=>{for(var n in e||(e={}))m5n.call(e,n)&&w60(t,n,e[n]);if(v60)for(var n of v60(e))y5n.call(e,n)&&w60(t,n,e[n]);return t},Xu=class extends IQ{constructor(e,n,a,r=Om,f=void 0){super(e,n,a,r),this.core=e,this.logger=n,this.name=a,this.map=new Map,this.version=K6n,this.cached=[],this.initialized=!1,this.storagePrefix=Om,this.recentlyDeleted=[],this.recentlyDeletedLimit=200,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(i=>{this.getKey&&i!==null&&!bo(i)?this.map.set(this.getKey(i),i):Hc0(i)?this.map.set(i.id,i):zc0(i)&&this.map.set(i.topic,i)}),this.cached=[],this.initialized=!0)},this.set=async(i,s)=>{this.isInitialized(),this.map.has(i)?await this.update(i,s):(this.logger.debug("Setting value"),this.logger.trace({type:"method",method:"set",key:i,value:s}),this.map.set(i,s),await this.persist())},this.get=i=>(this.isInitialized(),this.logger.debug("Getting value"),this.logger.trace({type:"method",method:"get",key:i}),this.getData(i)),this.getAll=i=>(this.isInitialized(),i?this.values.filter(s=>Object.keys(i).every(o=>(0,A60.default)(s[o],i[o]))):this.values),this.update=async(i,s)=>{this.isInitialized(),this.logger.debug("Updating value"),this.logger.trace({type:"method",method:"update",key:i,update:s});let o=T60(T60({},this.getData(i)),s);this.map.set(i,o),await this.persist()},this.delete=async(i,s)=>{this.isInitialized(),this.map.has(i)&&(this.logger.debug("Deleting value"),this.logger.trace({type:"method",method:"delete",key:i,reason:s}),this.map.delete(i),this.addToRecentlyDeleted(i),await this.persist())},this.logger=Jo(n,this.name),this.storagePrefix=r,this.getKey=f}get context(){return $o(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.map.size}get keys(){return Array.from(this.map.keys())}get values(){return Array.from(this.map.values())}addToRecentlyDeleted(e){this.recentlyDeleted.push(e),this.recentlyDeleted.length>=this.recentlyDeletedLimit&&this.recentlyDeleted.splice(0,this.recentlyDeletedLimit/2)}async setDataStore(e){await this.core.storage.setItem(this.storageKey,e)}async getDataStore(){return await this.core.storage.getItem(this.storageKey)}getData(e){let n=this.map.get(e);if(!n){if(this.recentlyDeleted.includes(e)){let{message:r}=F0("MISSING_OR_INVALID",`Record was recently deleted - ${this.name}: ${e}`);throw this.logger.error(r),new Error(r)}let{message:a}=F0("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.error(a),new Error(a)}return n}async persist(){await this.setDataStore(this.values)}async restore(){try{let e=await this.getDataStore();if(typeof e>"u"||!e.length)return;if(this.map.size){let{message:n}=F0("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored value for ${this.name}`),this.logger.trace({type:"method",method:"restore",value:this.values})}catch(e){this.logger.debug(`Failed to Restore value for ${this.name}`),this.logger.error(e)}}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},J2e=class{constructor(e,n){this.core=e,this.logger=n,this.name=J6n,this.version=X6n,this.events=new vh.default,this.initialized=!1,this.storagePrefix=Om,this.ignoredPayloadTypes=[$u],this.registeredMethods=[],this.init=async()=>{this.initialized||(await this.pairings.init(),await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.initialized=!0,this.logger.trace("Initialized"))},this.register=({methods:a})=>{this.isInitialized(),this.registeredMethods=[...new Set([...this.registeredMethods,...a])]},this.create=async a=>{this.isInitialized();let r=mQ(),f=await this.core.crypto.setSymKey(r),i=Fs(Xt.FIVE_MINUTES),s={protocol:rue},o={topic:f,expiry:i,relay:s,active:!1},c=Nc0({protocol:this.core.protocol,version:this.core.version,topic:f,symKey:r,relay:s,expiryTimestamp:i,methods:a?.methods});return await this.pairings.set(f,o),await this.core.relayer.subscribe(f),this.core.expirer.set(f,i),{topic:f,uri:c}},this.pair=async a=>{this.isInitialized(),this.isValidPair(a);let{topic:r,symKey:f,relay:i,expiryTimestamp:s,methods:o}=p2e(a.uri),c;if(this.pairings.keys.includes(r)&&(c=this.pairings.get(r),c.active))throw new Error(`Pairing already exists: ${r}. Please try again with a new connection URI.`);let d=s||Fs(Xt.FIVE_MINUTES),l={topic:r,relay:i,expiry:d,active:!1,methods:o};return await this.pairings.set(r,l),this.core.expirer.set(r,d),a.activatePairing&&await this.activate({topic:r}),this.events.emit(Q9.create,l),this.core.crypto.keychain.has(r)||await this.core.crypto.setSymKey(f,r),await this.core.relayer.subscribe(r,{relay:i}),l},this.activate=async({topic:a})=>{this.isInitialized();let r=Fs(Xt.THIRTY_DAYS);await this.pairings.update(a,{active:!0,expiry:r}),this.core.expirer.set(a,r)},this.ping=async a=>{this.isInitialized(),await this.isValidPing(a);let{topic:r}=a;if(this.pairings.keys.includes(r)){let f=await this.sendRequest(r,"wc_pairingPing",{}),{done:i,resolve:s,reject:o}=yh();this.events.once(Dn("pairing_ping",f),({error:c})=>{c?o(c):s()}),await i()}},this.updateExpiry=async({topic:a,expiry:r})=>{this.isInitialized(),await this.pairings.update(a,{expiry:r})},this.updateMetadata=async({topic:a,metadata:r})=>{this.isInitialized(),await this.pairings.update(a,{peerMetadata:r})},this.getPairings=()=>(this.isInitialized(),this.pairings.values),this.disconnect=async a=>{this.isInitialized(),await this.isValidDisconnect(a);let{topic:r}=a;this.pairings.keys.includes(r)&&(await this.sendRequest(r,"wc_pairingDelete",Ca("USER_DISCONNECTED")),await this.deletePairing(r))},this.sendRequest=async(a,r,f)=>{let i=nu(r,f),s=await this.core.crypto.encode(a,i),o=CB[r].req;return this.core.history.set(a,i),this.core.relayer.publish(a,s,o),i.id},this.sendResult=async(a,r,f)=>{let i=L8(a,f),s=await this.core.crypto.encode(r,i),o=await this.core.history.get(r,a),c=CB[o.request.method].res;await this.core.relayer.publish(r,s,c),await this.core.history.resolve(i)},this.sendError=async(a,r,f)=>{let i=F8(a,f),s=await this.core.crypto.encode(r,i),o=await this.core.history.get(r,a),c=CB[o.request.method]?CB[o.request.method].res:CB.unregistered_method.res;await this.core.relayer.publish(r,s,c),await this.core.history.resolve(i)},this.deletePairing=async(a,r)=>{await this.core.relayer.unsubscribe(a),await Promise.all([this.pairings.delete(a,Ca("USER_DISCONNECTED")),this.core.crypto.deleteSymKey(a),r?Promise.resolve():this.core.expirer.del(a)])},this.cleanup=async()=>{let a=this.pairings.getAll().filter(r=>Vu(r.expiry));await Promise.all(a.map(r=>this.deletePairing(r.topic)))},this.onRelayEventRequest=a=>{let{topic:r,payload:f}=a;switch(f.method){case"wc_pairingPing":return this.onPairingPingRequest(r,f);case"wc_pairingDelete":return this.onPairingDeleteRequest(r,f);default:return this.onUnknownRpcMethodRequest(r,f)}},this.onRelayEventResponse=async a=>{let{topic:r,payload:f}=a,i=(await this.core.history.get(r,f.id)).request.method;switch(i){case"wc_pairingPing":return this.onPairingPingResponse(r,f);default:return this.onUnknownRpcMethodResponse(i)}},this.onPairingPingRequest=async(a,r)=>{let{id:f}=r;try{this.isValidPing({topic:a}),await this.sendResult(f,a,!0),this.events.emit(Q9.ping,{id:f,topic:a})}catch(i){await this.sendError(f,a,i),this.logger.error(i)}},this.onPairingPingResponse=(a,r)=>{let{id:f}=r;setTimeout(()=>{A6(r)?this.events.emit(Dn("pairing_ping",f),{}):e1(r)&&this.events.emit(Dn("pairing_ping",f),{error:r.error})},500)},this.onPairingDeleteRequest=async(a,r)=>{let{id:f}=r;try{this.isValidDisconnect({topic:a}),await this.deletePairing(a),this.events.emit(Q9.delete,{id:f,topic:a})}catch(i){await this.sendError(f,a,i),this.logger.error(i)}},this.onUnknownRpcMethodRequest=async(a,r)=>{let{id:f,method:i}=r;try{if(this.registeredMethods.includes(i))return;let s=Ca("WC_METHOD_UNSUPPORTED",i);await this.sendError(f,a,s),this.logger.error(s)}catch(s){await this.sendError(f,a,s),this.logger.error(s)}},this.onUnknownRpcMethodResponse=a=>{this.registeredMethods.includes(a)||this.logger.error(Ca("WC_METHOD_UNSUPPORTED",a))},this.isValidPair=a=>{var r;if(!m1(a)){let{message:i}=F0("MISSING_OR_INVALID",`pair() params: ${a}`);throw new Error(i)}if(!Uc0(a.uri)){let{message:i}=F0("MISSING_OR_INVALID",`pair() uri: ${a.uri}`);throw new Error(i)}let f=p2e(a.uri);if(!((r=f?.relay)!=null&&r.protocol)){let{message:i}=F0("MISSING_OR_INVALID","pair() uri#relay-protocol");throw new Error(i)}if(!(f!=null&&f.symKey)){let{message:i}=F0("MISSING_OR_INVALID","pair() uri#symKey");throw new Error(i)}if(f!=null&&f.expiryTimestamp&&(0,Xt.toMiliseconds)(f?.expiryTimestamp){if(!m1(a)){let{message:f}=F0("MISSING_OR_INVALID",`ping() params: ${a}`);throw new Error(f)}let{topic:r}=a;await this.isValidPairingTopic(r)},this.isValidDisconnect=async a=>{if(!m1(a)){let{message:f}=F0("MISSING_OR_INVALID",`disconnect() params: ${a}`);throw new Error(f)}let{topic:r}=a;await this.isValidPairingTopic(r)},this.isValidPairingTopic=async a=>{if(!Bf(a,!1)){let{message:r}=F0("MISSING_OR_INVALID",`pairing topic should be a string: ${a}`);throw new Error(r)}if(!this.pairings.keys.includes(a)){let{message:r}=F0("NO_MATCHING_KEY",`pairing topic doesn't exist: ${a}`);throw new Error(r)}if(Vu(this.pairings.get(a).expiry)){await this.deletePairing(a);let{message:r}=F0("EXPIRED",`pairing topic: ${a}`);throw new Error(r)}},this.core=e,this.logger=Jo(n,this.name),this.pairings=new Xu(this.core,this.logger,this.name,this.storagePrefix)}get context(){return $o(this.logger)}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}registerRelayerEvents(){this.core.relayer.on(n6.message,async e=>{let{topic:n,message:a}=e;if(!this.pairings.keys.includes(n)||this.ignoredPayloadTypes.includes(this.core.crypto.getPayloadType(a)))return;let r=await this.core.crypto.decode(n,a);try{sx(r)?(this.core.history.set(n,r),this.onRelayEventRequest({topic:n,payload:r})):gb(r)&&(await this.core.history.resolve(r),await this.onRelayEventResponse({topic:n,payload:r}),this.core.history.delete(n,r.id))}catch(f){this.logger.error(f)}})}registerExpirerEvents(){this.core.expirer.on(z6.expired,async e=>{let{topic:n}=hQ(e.target);n&&this.pairings.keys.includes(n)&&(await this.deletePairing(n,!0),this.events.emit(Q9.expire,{topic:n}))})}},X2e=class extends EQ{constructor(e,n){super(e,n),this.core=e,this.logger=n,this.records=new Map,this.events=new vh.EventEmitter,this.name=Z6n,this.version=e5n,this.cached=[],this.initialized=!1,this.storagePrefix=Om,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(a=>this.records.set(a.id,a)),this.cached=[],this.registerEventListeners(),this.initialized=!0)},this.set=(a,r,f)=>{if(this.isInitialized(),this.logger.debug("Setting JSON-RPC request history record"),this.logger.trace({type:"method",method:"set",topic:a,request:r,chainId:f}),this.records.has(r.id))return;let i={id:r.id,topic:a,request:{method:r.method,params:r.params||null},chainId:f,expiry:Fs(Xt.THIRTY_DAYS)};this.records.set(i.id,i),this.persist(),this.events.emit(Gl.created,i)},this.resolve=async a=>{if(this.isInitialized(),this.logger.debug("Updating JSON-RPC response history record"),this.logger.trace({type:"method",method:"update",response:a}),!this.records.has(a.id))return;let r=await this.getRecord(a.id);typeof r.response>"u"&&(r.response=e1(a)?{error:a.error}:{result:a.result},this.records.set(r.id,r),this.persist(),this.events.emit(Gl.updated,r))},this.get=async(a,r)=>(this.isInitialized(),this.logger.debug("Getting record"),this.logger.trace({type:"method",method:"get",topic:a,id:r}),await this.getRecord(r)),this.delete=(a,r)=>{this.isInitialized(),this.logger.debug("Deleting record"),this.logger.trace({type:"method",method:"delete",id:r}),this.values.forEach(f=>{if(f.topic===a){if(typeof r<"u"&&f.id!==r)return;this.records.delete(f.id),this.events.emit(Gl.deleted,f)}}),this.persist()},this.exists=async(a,r)=>(this.isInitialized(),this.records.has(r)?(await this.getRecord(r)).topic===a:!1),this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.logger=Jo(n,this.name)}get context(){return $o(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get size(){return this.records.size}get keys(){return Array.from(this.records.keys())}get values(){return Array.from(this.records.values())}get pending(){let e=[];return this.values.forEach(n=>{if(typeof n.response<"u")return;let a={topic:n.topic,request:nu(n.request.method,n.request.params,n.id),chainId:n.chainId};return e.push(a)}),e}async setJsonRpcRecords(e){await this.core.storage.setItem(this.storageKey,e)}async getJsonRpcRecords(){return await this.core.storage.getItem(this.storageKey)}getRecord(e){this.isInitialized();let n=this.records.get(e);if(!n){let{message:a}=F0("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(a)}return n}async persist(){await this.setJsonRpcRecords(this.values),this.events.emit(Gl.sync)}async restore(){try{let e=await this.getJsonRpcRecords();if(typeof e>"u"||!e.length)return;if(this.records.size){let{message:n}=F0("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",records:this.values})}catch(e){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(e)}}registerEventListeners(){this.events.on(Gl.created,e=>{let n=Gl.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(Gl.updated,e=>{let n=Gl.updated;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(Gl.deleted,e=>{let n=Gl.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.core.heartbeat.on(Y9.HEARTBEAT_EVENTS.pulse,()=>{this.cleanup()})}cleanup(){try{this.isInitialized();let e=!1;this.records.forEach(n=>{(0,Xt.toMiliseconds)(n.expiry||0)-Date.now()<=0&&(this.logger.info(`Deleting expired history log: ${n.id}`),this.records.delete(n.id),this.events.emit(Gl.deleted,n,!1),e=!0)}),e&&this.persist()}catch(e){this.logger.warn(e)}}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},Z2e=class extends SQ{constructor(e,n){super(e,n),this.core=e,this.logger=n,this.expirations=new Map,this.events=new vh.EventEmitter,this.name=t5n,this.version=n5n,this.cached=[],this.initialized=!1,this.storagePrefix=Om,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(a=>this.expirations.set(a.target,a)),this.cached=[],this.registerEventListeners(),this.initialized=!0)},this.has=a=>{try{let r=this.formatTarget(a);return typeof this.getExpiration(r)<"u"}catch{return!1}},this.set=(a,r)=>{this.isInitialized();let f=this.formatTarget(a),i={target:f,expiry:r};this.expirations.set(f,i),this.checkExpiry(f,i),this.events.emit(z6.created,{target:f,expiration:i})},this.get=a=>{this.isInitialized();let r=this.formatTarget(a);return this.getExpiration(r)},this.del=a=>{if(this.isInitialized(),this.has(a)){let r=this.formatTarget(a),f=this.getExpiration(r);this.expirations.delete(r),this.events.emit(z6.deleted,{target:r,expiration:f})}},this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.logger=Jo(n,this.name)}get context(){return $o(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.expirations.size}get keys(){return Array.from(this.expirations.keys())}get values(){return Array.from(this.expirations.values())}formatTarget(e){if(typeof e=="string")return H10(e);if(typeof e=="number")return z10(e);let{message:n}=F0("UNKNOWN_TYPE",`Target type: ${typeof e}`);throw new Error(n)}async setExpirations(e){await this.core.storage.setItem(this.storageKey,e)}async getExpirations(){return await this.core.storage.getItem(this.storageKey)}async persist(){await this.setExpirations(this.values),this.events.emit(z6.sync)}async restore(){try{let e=await this.getExpirations();if(typeof e>"u"||!e.length)return;if(this.expirations.size){let{message:n}=F0("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored expirations for ${this.name}`),this.logger.trace({type:"method",method:"restore",expirations:this.values})}catch(e){this.logger.debug(`Failed to Restore expirations for ${this.name}`),this.logger.error(e)}}getExpiration(e){let n=this.expirations.get(e);if(!n){let{message:a}=F0("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.warn(a),new Error(a)}return n}checkExpiry(e,n){let{expiry:a}=n;(0,Xt.toMiliseconds)(a)-Date.now()<=0&&this.expire(e,n)}expire(e,n){this.expirations.delete(e),this.events.emit(z6.expired,{target:e,expiration:n})}checkExpirations(){this.core.relayer.connected&&this.expirations.forEach((e,n)=>this.checkExpiry(n,e))}registerEventListeners(){this.core.heartbeat.on(Y9.HEARTBEAT_EVENTS.pulse,()=>this.checkExpirations()),this.events.on(z6.created,e=>{let n=z6.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(z6.expired,e=>{let n=z6.expired;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(z6.deleted,e=>{let n=z6.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()})}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},eue=class extends RQ{constructor(e,n){super(e,n),this.projectId=e,this.logger=n,this.name=D2e,this.initialized=!1,this.queue=[],this.verifyDisabled=!1,this.init=async a=>{if(this.verifyDisabled||j9()||!Nm())return;let r=this.getVerifyUrl(a?.verifyUrl);this.verifyUrl!==r&&this.removeIframe(),this.verifyUrl=r;try{await this.createIframe()}catch(f){this.logger.info(`Verify iframe failed to load: ${this.verifyUrl}`),this.logger.info(f)}if(!this.initialized){this.removeIframe(),this.verifyUrl=q2e;try{await this.createIframe()}catch(f){this.logger.info(`Verify iframe failed to load: ${this.verifyUrl}`),this.logger.info(f),this.verifyDisabled=!0}}},this.register=async a=>{this.initialized?this.sendPost(a.attestationId):(this.addToQueue(a.attestationId),await this.init())},this.resolve=async a=>{if(this.isDevEnv)return"";let r=this.getVerifyUrl(a?.verifyUrl),f;try{f=await this.fetchAttestation(a.attestationId,r)}catch(i){this.logger.info(`failed to resolve attestation: ${a.attestationId} from url: ${r}`),this.logger.info(i),f=await this.fetchAttestation(a.attestationId,q2e)}return f},this.fetchAttestation=async(a,r)=>{this.logger.info(`resolving attestation: ${a} from url: ${r}`);let f=this.startAbortTimer(Xt.ONE_SECOND*2),i=await fetch(`${r}/attestation/${a}`,{signal:this.abortController.signal});return clearTimeout(f),i.status===200?await i.json():void 0},this.addToQueue=a=>{this.queue.push(a)},this.processQueue=()=>{this.queue.length!==0&&(this.queue.forEach(a=>this.sendPost(a)),this.queue=[])},this.sendPost=a=>{var r;try{if(!this.iframe)return;(r=this.iframe.contentWindow)==null||r.postMessage(a,"*"),this.logger.info(`postMessage sent: ${a} ${this.verifyUrl}`)}catch{}},this.createIframe=async()=>{let a,r=f=>{f.data==="verify_ready"&&(this.onInit(),window.removeEventListener("message",r),a())};await Promise.race([new Promise(f=>{let i=document.getElementById(D2e);if(i)return this.iframe=i,this.onInit(),f();window.addEventListener("message",r);let s=document.createElement("iframe");s.id=D2e,s.src=`${this.verifyUrl}/${this.projectId}`,s.style.display="none",document.body.append(s),this.iframe=s,a=f}),new Promise((f,i)=>setTimeout(()=>{window.removeEventListener("message",r),i("verify iframe load timeout")},(0,Xt.toMiliseconds)(Xt.FIVE_SECONDS)))])},this.onInit=()=>{this.initialized=!0,this.processQueue()},this.removeIframe=()=>{this.iframe&&(this.iframe.remove(),this.iframe=void 0,this.initialized=!1)},this.getVerifyUrl=a=>{let r=a||V9;return a5n.includes(r)||(this.logger.info(`verify url: ${r}, not included in trusted list, assigning default: ${V9}`),r=V9),r},this.logger=Jo(n,this.name),this.verifyUrl=V9,this.abortController=new AbortController,this.isDevEnv=i_()&&E.env.IS_VITEST}get context(){return $o(this.logger)}startAbortTimer(e){return this.abortController=new AbortController,setTimeout(()=>this.abortController.abort(),(0,Xt.toMiliseconds)(e))}},tue=class extends MQ{constructor(e,n){super(e,n),this.projectId=e,this.logger=n,this.context=r5n,this.registerDeviceToken=async a=>{let{clientId:r,token:f,notificationType:i,enableEncrypted:s=!1}=a,o=`${f5n}/${this.projectId}/clients`;await(0,C60.default)(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({client_id:r,type:i,token:f,always_raw:s})})},this.logger=Jo(n,this.context)}},g5n=Object.defineProperty,x60=Object.getOwnPropertySymbols,v5n=Object.prototype.hasOwnProperty,w5n=Object.prototype.propertyIsEnumerable,E60=(t,e,n)=>e in t?g5n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,_60=(t,e)=>{for(var n in e||(e={}))v5n.call(e,n)&&E60(t,n,e[n]);if(x60)for(var n of x60(e))w5n.call(e,n)&&E60(t,n,e[n]);return t},nue=class t extends xQ{constructor(e){var n;super(e),this.protocol=O60,this.version=S6n,this.name=aue,this.events=new vh.EventEmitter,this.initialized=!1,this.on=(i,s)=>this.events.on(i,s),this.once=(i,s)=>this.events.once(i,s),this.off=(i,s)=>this.events.off(i,s),this.removeListener=(i,s)=>this.events.removeListener(i,s),this.projectId=e?.projectId,this.relayUrl=e?.relayUrl||U60,this.customStoragePrefix=e!=null&&e.customStoragePrefix?`:${e.customStoragePrefix}`:"";let a=C7({level:typeof e?.logger=="string"&&e.logger?e.logger:R6n.logger}),{logger:r,chunkLoggerController:f}=zFe({opts:a,maxSizeInBytes:e?.maxLogBlobSizeInBytes,loggerOverride:e?.logger});this.logChunkController=f,(n=this.logChunkController)!=null&&n.downloadLogsBlobInBrowser&&(window.downloadLogsBlobInBrowser=async()=>{var i,s;(i=this.logChunkController)!=null&&i.downloadLogsBlobInBrowser&&((s=this.logChunkController)==null||s.downloadLogsBlobInBrowser({clientId:await this.crypto.getClientId()}))}),this.logger=Jo(r,this.name),this.heartbeat=new Y9.HeartBeat,this.crypto=new G2e(this,this.logger,e?.keychain),this.history=new X2e(this,this.logger),this.expirer=new Z2e(this,this.logger),this.storage=e!=null&&e.storage?e.storage:new iz(_60(_60({},M6n),e?.storageOptions)),this.relayer=new $2e({core:this,logger:this.logger,relayUrl:this.relayUrl,projectId:this.projectId}),this.pairing=new J2e(this,this.logger),this.verify=new eue(this.projectId||"",this.logger),this.echoClient=new tue(this.projectId||"",this.logger)}static async init(e){let n=new t(e);await n.initialize();let a=await n.crypto.getClientId();return await n.storage.setItem(Q6n,a),n}get context(){return $o(this.logger)}async start(){this.initialized||await this.initialize()}async getLogsBlob(){var e;return(e=this.logChunkController)==null?void 0:e.logsToBlob({clientId:await this.crypto.getClientId()})}async initialize(){this.logger.trace("Initialized");try{await this.crypto.init(),await this.history.init(),await this.expirer.init(),await this.relayer.init(),await this.heartbeat.init(),await this.pairing.init(),this.initialized=!0,this.logger.info("Core Initialization Success")}catch(e){throw this.logger.warn(`Core Initialization Failure at epoch ${Date.now()}`,e),this.logger.error(e.message),e}}},H60=nue});var NQ,Fa,G60,K60,Q60,bue,fue,W60,T5n,mue,x5n,y_,E5n,bd,iue,wh,_5n,A5n,C5n,I5n,k5n,S5n,R5n,OQ,LQ,M5n,B5n,D5n,q60,P5n,L5n,j60,Ns,g_,sue,oue,cue,due,lue,uue,pue,hue,FQ,V60=ce(()=>{u();p();z60();vz();S2e();_B();NQ=Ee(Nr()),Fa=Ee(_7());vb();G60="wc",K60=2,Q60="client",bue=`${G60}@${K60}:${Q60}:`,fue={name:Q60,logger:"error",controller:!1,relayUrl:"wss://relay.walletconnect.com"},W60="WALLETCONNECT_DEEPLINK_CHOICE",T5n="proposal",mue="Proposal expired",x5n="session",y_=Fa.SEVEN_DAYS,E5n="engine",bd={wc_sessionPropose:{req:{ttl:Fa.FIVE_MINUTES,prompt:!0,tag:1100},res:{ttl:Fa.FIVE_MINUTES,prompt:!1,tag:1101}},wc_sessionSettle:{req:{ttl:Fa.FIVE_MINUTES,prompt:!1,tag:1102},res:{ttl:Fa.FIVE_MINUTES,prompt:!1,tag:1103}},wc_sessionUpdate:{req:{ttl:Fa.ONE_DAY,prompt:!1,tag:1104},res:{ttl:Fa.ONE_DAY,prompt:!1,tag:1105}},wc_sessionExtend:{req:{ttl:Fa.ONE_DAY,prompt:!1,tag:1106},res:{ttl:Fa.ONE_DAY,prompt:!1,tag:1107}},wc_sessionRequest:{req:{ttl:Fa.FIVE_MINUTES,prompt:!0,tag:1108},res:{ttl:Fa.FIVE_MINUTES,prompt:!1,tag:1109}},wc_sessionEvent:{req:{ttl:Fa.FIVE_MINUTES,prompt:!0,tag:1110},res:{ttl:Fa.FIVE_MINUTES,prompt:!1,tag:1111}},wc_sessionDelete:{req:{ttl:Fa.ONE_DAY,prompt:!1,tag:1112},res:{ttl:Fa.ONE_DAY,prompt:!1,tag:1113}},wc_sessionPing:{req:{ttl:Fa.ONE_DAY,prompt:!1,tag:1114},res:{ttl:Fa.ONE_DAY,prompt:!1,tag:1115}},wc_sessionAuthenticate:{req:{ttl:Fa.ONE_HOUR,prompt:!0,tag:1116},res:{ttl:Fa.ONE_HOUR,prompt:!1,tag:1117}}},iue={min:Fa.FIVE_MINUTES,max:Fa.SEVEN_DAYS},wh={idle:"IDLE",active:"ACTIVE"},_5n="request",A5n=["wc_sessionPropose","wc_sessionRequest","wc_authRequest"],C5n="wc",I5n="auth",k5n="authKeys",S5n="pairingTopics",R5n="requests",OQ=`${C5n}@${1.5}:${I5n}:`,LQ=`${OQ}:PUB_KEY`,M5n=Object.defineProperty,B5n=Object.defineProperties,D5n=Object.getOwnPropertyDescriptors,q60=Object.getOwnPropertySymbols,P5n=Object.prototype.hasOwnProperty,L5n=Object.prototype.propertyIsEnumerable,j60=(t,e,n)=>e in t?M5n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ns=(t,e)=>{for(var n in e||(e={}))P5n.call(e,n)&&j60(t,n,e[n]);if(q60)for(var n of q60(e))L5n.call(e,n)&&j60(t,n,e[n]);return t},g_=(t,e)=>B5n(t,D5n(e)),sue=class extends DQ{constructor(e){super(e),this.name=E5n,this.events=new NQ.default,this.initialized=!1,this.requestQueue={state:wh.idle,queue:[]},this.sessionRequestQueue={state:wh.idle,queue:[]},this.requestQueueDelay=Fa.ONE_SECOND,this.expectedPairingMethodMap=new Map,this.recentlyDeletedMap=new Map,this.recentlyDeletedLimit=200,this.init=async()=>{this.initialized||(await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.registerPairingEvents(),this.client.core.pairing.register({methods:Object.keys(bd)}),this.initialized=!0,setTimeout(()=>{this.sessionRequestQueue.queue=this.getPendingSessionRequests(),this.processSessionRequestQueue()},(0,Fa.toMiliseconds)(this.requestQueueDelay)))},this.connect=async n=>{await this.isInitialized();let a=g_(Ns({},n),{requiredNamespaces:n.requiredNamespaces||{},optionalNamespaces:n.optionalNamespaces||{}});await this.isValidConnect(a);let{pairingTopic:r,requiredNamespaces:f,optionalNamespaces:i,sessionProperties:s,relays:o}=a,c=r,d,l=!1;try{c&&(l=this.client.core.pairing.pairings.get(c).active)}catch(j){throw this.client.logger.error(`connect() -> pairing.get(${c}) failed`),j}if(!c||!l){let{topic:j,uri:Q}=await this.client.core.pairing.create();c=j,d=Q}if(!c){let{message:j}=F0("NO_MATCHING_KEY",`connect() pairing topic: ${c}`);throw new Error(j)}let h=await this.client.core.crypto.generateKeyPair(),y=bd.wc_sessionPropose.req.ttl||Fa.FIVE_MINUTES,v=Fs(y),k=Ns({requiredNamespaces:f,optionalNamespaces:i,relays:o??[{protocol:rue}],proposer:{publicKey:h,metadata:this.client.metadata},expiryTimestamp:v},s&&{sessionProperties:s}),{reject:O,resolve:F,done:z}=yh(y,mue);this.events.once(Dn("session_connect"),async({error:j,session:Q})=>{if(j)O(j);else if(Q){Q.self.publicKey=h;let V=g_(Ns({},Q),{requiredNamespaces:k.requiredNamespaces,optionalNamespaces:k.optionalNamespaces});await this.client.session.set(Q.topic,V),await this.setExpiry(Q.topic,Q.expiry),c&&await this.client.core.pairing.updateMetadata({topic:c,metadata:Q.peer.metadata}),F(V)}});let W=await this.sendRequest({topic:c,method:"wc_sessionPropose",params:k,throwOnFailedPublish:!0});return await this.setProposal(W,Ns({id:W},k)),{uri:d,approval:z}},this.pair=async n=>{await this.isInitialized();try{return await this.client.core.pairing.pair(n)}catch(a){throw this.client.logger.error("pair() failed"),a}},this.approve=async n=>{await this.isInitialized();try{await this.isValidApprove(n)}catch(z){throw this.client.logger.error("approve() -> isValidApprove() failed"),z}let{id:a,relayProtocol:r,namespaces:f,sessionProperties:i,sessionConfig:s}=n,o;try{o=this.client.proposal.get(a)}catch(z){throw this.client.logger.error(`approve() -> proposal.get(${a}) failed`),z}let{pairingTopic:c,proposer:d,requiredNamespaces:l,optionalNamespaces:h}=o;c=c||"";let y=await this.client.core.crypto.generateKeyPair(),v=d.publicKey,k=await this.client.core.crypto.generateSharedKey(y,v),O=Ns(Ns({relay:{protocol:r??"irn"},namespaces:f,pairingTopic:c,controller:{publicKey:y,metadata:this.client.metadata},expiry:Fs(y_)},i&&{sessionProperties:i}),s&&{sessionConfig:s});await this.client.core.relayer.subscribe(k);let F=g_(Ns({},O),{topic:k,requiredNamespaces:l,optionalNamespaces:h,pairingTopic:c,acknowledged:!1,self:O.controller,peer:{publicKey:d.publicKey,metadata:d.metadata},controller:y});await this.client.session.set(k,F);try{await this.sendResult({id:a,topic:c,result:{relay:{protocol:r??"irn"},responderPublicKey:y},throwOnFailedPublish:!0}),await this.sendRequest({topic:k,method:"wc_sessionSettle",params:O,throwOnFailedPublish:!0})}catch(z){throw this.client.logger.error(z),this.client.session.delete(k,Ca("USER_DISCONNECTED")),await this.client.core.relayer.unsubscribe(k),z}return await this.client.core.pairing.updateMetadata({topic:c,metadata:d.metadata}),await this.client.proposal.delete(a,Ca("USER_DISCONNECTED")),await this.client.core.pairing.activate({topic:c}),await this.setExpiry(k,Fs(y_)),{topic:k,acknowledged:()=>new Promise(z=>setTimeout(()=>z(this.client.session.get(k)),500))}},this.reject=async n=>{await this.isInitialized();try{await this.isValidReject(n)}catch(i){throw this.client.logger.error("reject() -> isValidReject() failed"),i}let{id:a,reason:r}=n,f;try{f=this.client.proposal.get(a).pairingTopic}catch(i){throw this.client.logger.error(`reject() -> proposal.get(${a}) failed`),i}f&&(await this.sendError({id:a,topic:f,error:r}),await this.client.proposal.delete(a,Ca("USER_DISCONNECTED")))},this.update=async n=>{await this.isInitialized();try{await this.isValidUpdate(n)}catch(l){throw this.client.logger.error("update() -> isValidUpdate() failed"),l}let{topic:a,namespaces:r}=n,{done:f,resolve:i,reject:s}=yh(),o=tu(),c=gl().toString(),d=this.client.session.get(a).namespaces;return this.events.once(Dn("session_update",o),({error:l})=>{l?s(l):i()}),await this.client.session.update(a,{namespaces:r}),this.sendRequest({topic:a,method:"wc_sessionUpdate",params:{namespaces:r},throwOnFailedPublish:!0,clientRpcId:o,relayRpcId:c}).catch(l=>{this.client.logger.error(l),this.client.session.update(a,{namespaces:d}),s(l)}),{acknowledged:f}},this.extend=async n=>{await this.isInitialized();try{await this.isValidExtend(n)}catch(o){throw this.client.logger.error("extend() -> isValidExtend() failed"),o}let{topic:a}=n,r=tu(),{done:f,resolve:i,reject:s}=yh();return this.events.once(Dn("session_extend",r),({error:o})=>{o?s(o):i()}),await this.setExpiry(a,Fs(y_)),this.sendRequest({topic:a,method:"wc_sessionExtend",params:{},clientRpcId:r,throwOnFailedPublish:!0}).catch(o=>{s(o)}),{acknowledged:f}},this.request=async n=>{await this.isInitialized();try{await this.isValidRequest(n)}catch(y){throw this.client.logger.error("request() -> isValidRequest() failed"),y}let{chainId:a,request:r,topic:f,expiry:i=bd.wc_sessionRequest.req.ttl}=n,s=this.client.session.get(f),o=tu(),c=gl().toString(),{done:d,resolve:l,reject:h}=yh(i,"Request expired. Please try again.");return this.events.once(Dn("session_request",o),({error:y,result:v})=>{y?h(y):l(v)}),await Promise.all([new Promise(async y=>{await this.sendRequest({clientRpcId:o,relayRpcId:c,topic:f,method:"wc_sessionRequest",params:{request:g_(Ns({},r),{expiryTimestamp:Fs(i)}),chainId:a},expiry:i,throwOnFailedPublish:!0}).catch(v=>h(v)),this.client.events.emit("session_request_sent",{topic:f,request:r,chainId:a,id:o}),y()}),new Promise(async y=>{var v;if(!((v=s.sessionConfig)!=null&&v.disableDeepLink)){let k=await q10(this.client.core.storage,W60);W10({id:o,topic:f,wcDeepLink:k})}y()}),d()]).then(y=>y[2])},this.respond=async n=>{await this.isInitialized(),await this.isValidRespond(n);let{topic:a,response:r}=n,{id:f}=r;A6(r)?await this.sendResult({id:f,topic:a,result:r.result,throwOnFailedPublish:!0}):e1(r)&&await this.sendError({id:f,topic:a,error:r.error}),this.cleanupAfterResponse(n)},this.ping=async n=>{await this.isInitialized();try{await this.isValidPing(n)}catch(r){throw this.client.logger.error("ping() -> isValidPing() failed"),r}let{topic:a}=n;if(this.client.session.keys.includes(a)){let r=tu(),f=gl().toString(),{done:i,resolve:s,reject:o}=yh();this.events.once(Dn("session_ping",r),({error:c})=>{c?o(c):s()}),await Promise.all([this.sendRequest({topic:a,method:"wc_sessionPing",params:{},throwOnFailedPublish:!0,clientRpcId:r,relayRpcId:f}),i()])}else this.client.core.pairing.pairings.keys.includes(a)&&await this.client.core.pairing.ping({topic:a})},this.emit=async n=>{await this.isInitialized(),await this.isValidEmit(n);let{topic:a,event:r,chainId:f}=n,i=gl().toString();await this.sendRequest({topic:a,method:"wc_sessionEvent",params:{event:r,chainId:f},throwOnFailedPublish:!0,relayRpcId:i})},this.disconnect=async n=>{await this.isInitialized(),await this.isValidDisconnect(n);let{topic:a}=n;if(this.client.session.keys.includes(a))await this.sendRequest({topic:a,method:"wc_sessionDelete",params:Ca("USER_DISCONNECTED"),throwOnFailedPublish:!0}),await this.deleteSession({topic:a,emitEvent:!1});else if(this.client.core.pairing.pairings.keys.includes(a))await this.client.core.pairing.disconnect({topic:a});else{let{message:r}=F0("MISMATCHED_TOPIC",`Session or pairing topic not found: ${a}`);throw new Error(r)}},this.find=n=>(this.isInitialized(),this.client.session.getAll().filter(a=>Oc0(a,n))),this.getPendingSessionRequests=()=>this.client.pendingRequest.getAll(),this.authenticate=async n=>{this.isInitialized(),this.isValidAuthenticate(n);let{chains:a,statement:r="",uri:f,domain:i,nonce:s,type:o,exp:c,nbf:d,methods:l=[]}=n,h=[...n.resources||[]],{topic:y,uri:v}=await this.client.core.pairing.create({methods:["wc_sessionAuthenticate"]});this.client.logger.info({message:"Generated new pairing",pairing:{topic:y,uri:v}});let k=await this.client.core.crypto.generateKeyPair(),O=u_(k);if(await Promise.all([this.client.auth.authKeys.set(LQ,{responseTopic:O,publicKey:k}),this.client.auth.pairingTopics.set(O,{topic:O,pairingTopic:y})]),await this.client.core.relayer.subscribe(O),this.client.logger.info(`sending request to new pairing topic: ${y}`),l.length>0){let{namespace:N}=f_(a[0]),w=kc0(N,"request",l);TB(h)&&(w=Sc0(w,h.pop())),h.push(w)}let F=Fs(bd.wc_sessionPropose.req.ttl),z={authPayload:{type:o??"caip122",chains:a,statement:r,aud:f,domain:i,version:"1",nonce:s,iat:new Date().toISOString(),exp:c,nbf:d,resources:h},requester:{publicKey:k,metadata:this.client.metadata},expiryTimestamp:F},W={eip155:{chains:a,methods:[...new Set(["personal_sign",...l])],events:["chainChanged","accountsChanged"]}},j={requiredNamespaces:{},optionalNamespaces:W,relays:[{protocol:"irn"}],proposer:{publicKey:k,metadata:this.client.metadata},expiryTimestamp:F},{done:Q,resolve:V,reject:X}=yh(bd.wc_sessionAuthenticate.req.ttl,"Request expired"),K=async({error:N,session:w})=>{if(this.events.off(Dn("session_request",R),G),N)X(N);else if(w){w.self.publicKey=k,await this.client.session.set(w.topic,w),await this.setExpiry(w.topic,w.expiry),y&&await this.client.core.pairing.updateMetadata({topic:y,metadata:w.peer.metadata});let m=this.client.session.get(w.topic);V({session:m})}},G=async N=>{if(N.error){let g=Ca("WC_METHOD_UNSUPPORTED","wc_sessionAuthenticate");return N.error.code===g.code?void 0:(this.events.off(Dn("session_connect"),K),X(N.error.message))}this.events.off(Dn("session_connect"),K);let{cacaos:w,responder:m}=N.result,A=[],P=[];for(let g of w){await f2e({cacao:g,projectId:this.client.core.projectId})||(this.client.logger.error(g,"Signature verification failed"),X(Ca("SESSION_SETTLEMENT_FAILED","Signature verification failed")));let{p:B}=g,M=TB(B.resources),S=[r2e(B.iss)],q=wB(B.iss);if(M){let ee=s2e(M),U=o2e(M);A.push(...ee),S.push(...U)}for(let ee of S)P.push(`${ee}:${q}`)}let L=await this.client.core.crypto.generateSharedKey(k,m.publicKey),x;A.length>0&&(x={topic:L,acknowledged:!0,self:{publicKey:k,metadata:this.client.metadata},peer:m,controller:m.publicKey,expiry:Fs(y_),requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:y,namespaces:h2e([...new Set(A)],[...new Set(P)])},await this.client.core.relayer.subscribe(L),await this.client.session.set(L,x),x=this.client.session.get(L)),V({auths:w,session:x})},R=tu(),T=tu();this.events.once(Dn("session_connect"),K),this.events.once(Dn("session_request",R),G);try{await Promise.all([this.sendRequest({topic:y,method:"wc_sessionAuthenticate",params:z,expiry:n.expiry,throwOnFailedPublish:!0,clientRpcId:R}),this.sendRequest({topic:y,method:"wc_sessionPropose",params:j,expiry:bd.wc_sessionPropose.req.ttl,throwOnFailedPublish:!0,clientRpcId:T})])}catch(N){throw this.events.off(Dn("session_connect"),K),this.events.off(Dn("session_request",R),G),N}return await this.setProposal(T,Ns({id:T},j)),await this.client.auth.requests.set(R,{authPayload:z.authPayload,requester:z.requester,expiryTimestamp:F,id:R,pairingTopic:y,verifyContext:{}}),{uri:v,response:Q}},this.approveSessionAuthenticate=async n=>{this.isInitialized();let{id:a,auths:r}=n,f=this.getPendingAuthRequest(a);if(!f)throw new Error(`Could not find pending auth request with id ${a}`);let i=f.requester.publicKey,s=await this.client.core.crypto.generateKeyPair(),o=u_(i),c={type:$u,receiverPublicKey:i,senderPublicKey:s},d=[],l=[];for(let v of r){if(!await f2e({cacao:v,projectId:this.client.core.projectId})){let W=Ca("SESSION_SETTLEMENT_FAILED","Signature verification failed");throw await this.sendError({id:a,topic:o,error:W,encodeOpts:c}),new Error(W.message)}let{p:k}=v,O=TB(k.resources),F=[r2e(k.iss)],z=wB(k.iss);if(O){let W=s2e(O),j=o2e(O);d.push(...W),F.push(...j)}for(let W of F)l.push(`${W}:${z}`)}let h=await this.client.core.crypto.generateSharedKey(s,i),y;return d?.length>0&&(y={topic:h,acknowledged:!0,self:{publicKey:s,metadata:this.client.metadata},peer:{publicKey:i,metadata:f.requester.metadata},controller:i,expiry:Fs(y_),authentication:r,requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:"",namespaces:h2e([...new Set(d)],[...new Set(l)])},await this.client.core.relayer.subscribe(h),await this.client.session.set(h,y)),await this.sendResult({topic:o,id:a,result:{cacaos:r,responder:{publicKey:s,metadata:this.client.metadata}},encodeOpts:c,throwOnFailedPublish:!0}),await this.client.auth.requests.delete(a,{message:"fullfilled",code:0}),await this.client.core.pairing.activate({topic:f.pairingTopic}),{session:y}},this.rejectSessionAuthenticate=async n=>{await this.isInitialized();let{id:a,reason:r}=n,f=this.getPendingAuthRequest(a);if(!f)throw new Error(`Could not find pending auth request with id ${a}`);let i=f.requester.publicKey,s=await this.client.core.crypto.generateKeyPair(),o=u_(i),c={type:$u,receiverPublicKey:i,senderPublicKey:s};await this.sendError({id:a,topic:o,error:r,encodeOpts:c}),await this.client.auth.requests.delete(a,{message:"rejected",code:0}),await this.client.proposal.delete(a,Ca("USER_DISCONNECTED"))},this.formatAuthMessage=n=>{this.isInitialized();let{request:a,iss:r}=n;return i2e(a,r)},this.cleanupDuplicatePairings=async n=>{if(n.pairingTopic)try{let a=this.client.core.pairing.pairings.get(n.pairingTopic),r=this.client.core.pairing.pairings.getAll().filter(f=>{var i,s;return((i=f.peerMetadata)==null?void 0:i.url)&&((s=f.peerMetadata)==null?void 0:s.url)===n.peer.metadata.url&&f.topic&&f.topic!==a.topic});if(r.length===0)return;this.client.logger.info(`Cleaning up ${r.length} duplicate pairing(s)`),await Promise.all(r.map(f=>this.client.core.pairing.disconnect({topic:f.topic}))),this.client.logger.info("Duplicate pairings clean up finished")}catch(a){this.client.logger.error(a)}},this.deleteSession=async n=>{let{topic:a,expirerHasDeleted:r=!1,emitEvent:f=!0,id:i=0}=n,{self:s}=this.client.session.get(a);await this.client.core.relayer.unsubscribe(a),await this.client.session.delete(a,Ca("USER_DISCONNECTED")),this.addToRecentlyDeleted(a,"session"),this.client.core.crypto.keychain.has(s.publicKey)&&await this.client.core.crypto.deleteKeyPair(s.publicKey),this.client.core.crypto.keychain.has(a)&&await this.client.core.crypto.deleteSymKey(a),r||this.client.core.expirer.del(a),this.client.core.storage.removeItem(W60).catch(o=>this.client.logger.warn(o)),this.getPendingSessionRequests().forEach(o=>{o.topic===a&&this.deletePendingSessionRequest(o.id,Ca("USER_DISCONNECTED"))}),f&&this.client.events.emit("session_delete",{id:i,topic:a})},this.deleteProposal=async(n,a)=>{await Promise.all([this.client.proposal.delete(n,Ca("USER_DISCONNECTED")),a?Promise.resolve():this.client.core.expirer.del(n)]),this.addToRecentlyDeleted(n,"proposal")},this.deletePendingSessionRequest=async(n,a,r=!1)=>{await Promise.all([this.client.pendingRequest.delete(n,a),r?Promise.resolve():this.client.core.expirer.del(n)]),this.addToRecentlyDeleted(n,"request"),this.sessionRequestQueue.queue=this.sessionRequestQueue.queue.filter(f=>f.id!==n),r&&(this.sessionRequestQueue.state=wh.idle,this.client.events.emit("session_request_expire",{id:n}))},this.setExpiry=async(n,a)=>{this.client.session.keys.includes(n)&&await this.client.session.update(n,{expiry:a}),this.client.core.expirer.set(n,a)},this.setProposal=async(n,a)=>{await this.client.proposal.set(n,a),this.client.core.expirer.set(n,Fs(bd.wc_sessionPropose.req.ttl))},this.setPendingSessionRequest=async n=>{let{id:a,topic:r,params:f,verifyContext:i}=n,s=f.request.expiryTimestamp||Fs(bd.wc_sessionRequest.req.ttl);await this.client.pendingRequest.set(a,{id:a,topic:r,params:f,verifyContext:i}),s&&this.client.core.expirer.set(a,s)},this.sendRequest=async n=>{let{topic:a,method:r,params:f,expiry:i,relayRpcId:s,clientRpcId:o,throwOnFailedPublish:c}=n,d=nu(r,f,o);if(Nm()&&A5n.includes(r)){let y=gh(JSON.stringify(d));this.client.core.verify.register({attestationId:y})}let l;try{l=await this.client.core.crypto.encode(a,d)}catch(y){throw await this.cleanup(),this.client.logger.error(`sendRequest() -> core.crypto.encode() for topic ${a} failed`),y}let h=bd[r].req;return i&&(h.ttl=i),s&&(h.id=s),this.client.core.history.set(a,d),c?(h.internal=g_(Ns({},h.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(a,l,h)):this.client.core.relayer.publish(a,l,h).catch(y=>this.client.logger.error(y)),d.id},this.sendResult=async n=>{let{id:a,topic:r,result:f,throwOnFailedPublish:i,encodeOpts:s}=n,o=L8(a,f),c;try{c=await this.client.core.crypto.encode(r,o,s)}catch(h){throw await this.cleanup(),this.client.logger.error(`sendResult() -> core.crypto.encode() for topic ${r} failed`),h}let d;try{d=await this.client.core.history.get(r,a)}catch(h){throw this.client.logger.error(`sendResult() -> history.get(${r}, ${a}) failed`),h}let l=bd[d.request.method].res;i?(l.internal=g_(Ns({},l.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(r,c,l)):this.client.core.relayer.publish(r,c,l).catch(h=>this.client.logger.error(h)),await this.client.core.history.resolve(o)},this.sendError=async n=>{let{id:a,topic:r,error:f,encodeOpts:i}=n,s=F8(a,f),o;try{o=await this.client.core.crypto.encode(r,s,i)}catch(l){throw await this.cleanup(),this.client.logger.error(`sendError() -> core.crypto.encode() for topic ${r} failed`),l}let c;try{c=await this.client.core.history.get(r,a)}catch(l){throw this.client.logger.error(`sendError() -> history.get(${r}, ${a}) failed`),l}let d=bd[c.request.method].res;this.client.core.relayer.publish(r,o,d),await this.client.core.history.resolve(s)},this.cleanup=async()=>{let n=[],a=[];this.client.session.getAll().forEach(r=>{let f=!1;Vu(r.expiry)&&(f=!0),this.client.core.crypto.keychain.has(r.topic)||(f=!0),f&&n.push(r.topic)}),this.client.proposal.getAll().forEach(r=>{Vu(r.expiryTimestamp)&&a.push(r.id)}),await Promise.all([...n.map(r=>this.deleteSession({topic:r})),...a.map(r=>this.deleteProposal(r))])},this.onRelayEventRequest=async n=>{this.requestQueue.queue.push(n),await this.processRequestsQueue()},this.processRequestsQueue=async()=>{if(this.requestQueue.state===wh.active){this.client.logger.info("Request queue already active, skipping...");return}for(this.client.logger.info(`Request queue starting with ${this.requestQueue.queue.length} requests`);this.requestQueue.queue.length>0;){this.requestQueue.state=wh.active;let n=this.requestQueue.queue.shift();if(n)try{this.processRequest(n),await new Promise(a=>setTimeout(a,300))}catch(a){this.client.logger.warn(a)}}this.requestQueue.state=wh.idle},this.processRequest=n=>{let{topic:a,payload:r}=n,f=r.method;if(!this.shouldIgnorePairingRequest({topic:a,requestMethod:f}))switch(f){case"wc_sessionPropose":return this.onSessionProposeRequest(a,r);case"wc_sessionSettle":return this.onSessionSettleRequest(a,r);case"wc_sessionUpdate":return this.onSessionUpdateRequest(a,r);case"wc_sessionExtend":return this.onSessionExtendRequest(a,r);case"wc_sessionPing":return this.onSessionPingRequest(a,r);case"wc_sessionDelete":return this.onSessionDeleteRequest(a,r);case"wc_sessionRequest":return this.onSessionRequest(a,r);case"wc_sessionEvent":return this.onSessionEventRequest(a,r);case"wc_sessionAuthenticate":return this.onSessionAuthenticateRequest(a,r);default:return this.client.logger.info(`Unsupported request method ${f}`)}},this.onRelayEventResponse=async n=>{let{topic:a,payload:r}=n,f=(await this.client.core.history.get(a,r.id)).request.method;switch(f){case"wc_sessionPropose":return this.onSessionProposeResponse(a,r);case"wc_sessionSettle":return this.onSessionSettleResponse(a,r);case"wc_sessionUpdate":return this.onSessionUpdateResponse(a,r);case"wc_sessionExtend":return this.onSessionExtendResponse(a,r);case"wc_sessionPing":return this.onSessionPingResponse(a,r);case"wc_sessionRequest":return this.onSessionRequestResponse(a,r);case"wc_sessionAuthenticate":return this.onSessionAuthenticateResponse(a,r);default:return this.client.logger.info(`Unsupported response method ${f}`)}},this.onRelayEventUnknownPayload=n=>{let{topic:a}=n,{message:r}=F0("MISSING_OR_INVALID",`Decoded payload on topic ${a} is not identifiable as a JSON-RPC request or a response.`);throw new Error(r)},this.shouldIgnorePairingRequest=n=>{let{topic:a,requestMethod:r}=n,f=this.expectedPairingMethodMap.get(a);return!f||f.includes(r)?!1:!!(f.includes("wc_sessionAuthenticate")&&this.client.events.listenerCount("session_authenticate")>0)},this.onSessionProposeRequest=async(n,a)=>{let{params:r,id:f}=a;try{this.isValidConnect(Ns({},a.params));let i=r.expiryTimestamp||Fs(bd.wc_sessionPropose.req.ttl),s=Ns({id:f,pairingTopic:n,expiryTimestamp:i},r);await this.setProposal(f,s);let o=gh(JSON.stringify(a)),c=await this.getVerifyContext(o,s.proposer.metadata);this.client.events.emit("session_proposal",{id:f,params:s,verifyContext:c})}catch(i){await this.sendError({id:f,topic:n,error:i}),this.client.logger.error(i)}},this.onSessionProposeResponse=async(n,a)=>{let{id:r}=a;if(A6(a)){let{result:f}=a;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",result:f});let i=this.client.proposal.get(r);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",proposal:i});let s=i.proposer.publicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",selfPublicKey:s});let o=f.responderPublicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",peerPublicKey:o});let c=await this.client.core.crypto.generateSharedKey(s,o);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",sessionTopic:c});let d=await this.client.core.relayer.subscribe(c);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",subscriptionId:d}),await this.client.core.pairing.activate({topic:n})}else if(e1(a)){await this.client.proposal.delete(r,Ca("USER_DISCONNECTED"));let f=Dn("session_connect");if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners, 954`);this.events.emit(Dn("session_connect"),{error:a.error})}},this.onSessionSettleRequest=async(n,a)=>{let{id:r,params:f}=a;try{this.isValidSessionSettleRequest(f);let{relay:i,controller:s,expiry:o,namespaces:c,sessionProperties:d,pairingTopic:l,sessionConfig:h}=a.params,y=Ns(Ns({topic:n,relay:i,expiry:o,namespaces:c,acknowledged:!0,pairingTopic:l,requiredNamespaces:{},optionalNamespaces:{},controller:s.publicKey,self:{publicKey:"",metadata:this.client.metadata},peer:{publicKey:s.publicKey,metadata:s.metadata}},d&&{sessionProperties:d}),h&&{sessionConfig:h});await this.sendResult({id:a.id,topic:n,result:!0,throwOnFailedPublish:!0});let v=Dn("session_connect");if(this.events.listenerCount(v)===0)throw new Error(`emitting ${v} without any listeners 997`);this.events.emit(Dn("session_connect"),{session:y}),this.cleanupDuplicatePairings(y)}catch(i){await this.sendError({id:r,topic:n,error:i}),this.client.logger.error(i)}},this.onSessionSettleResponse=async(n,a)=>{let{id:r}=a;A6(a)?(await this.client.session.update(n,{acknowledged:!0}),this.events.emit(Dn("session_approve",r),{})):e1(a)&&(await this.client.session.delete(n,Ca("USER_DISCONNECTED")),this.events.emit(Dn("session_approve",r),{error:a.error}))},this.onSessionUpdateRequest=async(n,a)=>{let{params:r,id:f}=a;try{let i=`${n}_session_update`,s=Lm.get(i);if(s&&this.isRequestOutOfSync(s,f)){this.client.logger.info(`Discarding out of sync request - ${f}`),this.sendError({id:f,topic:n,error:Ca("INVALID_UPDATE_REQUEST")});return}this.isValidUpdate(Ns({topic:n},r));try{Lm.set(i,f),await this.client.session.update(n,{namespaces:r.namespaces}),await this.sendResult({id:f,topic:n,result:!0,throwOnFailedPublish:!0})}catch(o){throw Lm.delete(i),o}this.client.events.emit("session_update",{id:f,topic:n,params:r})}catch(i){await this.sendError({id:f,topic:n,error:i}),this.client.logger.error(i)}},this.isRequestOutOfSync=(n,a)=>parseInt(a.toString().slice(0,-3))<=parseInt(n.toString().slice(0,-3)),this.onSessionUpdateResponse=(n,a)=>{let{id:r}=a,f=Dn("session_update",r);if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners`);A6(a)?this.events.emit(Dn("session_update",r),{}):e1(a)&&this.events.emit(Dn("session_update",r),{error:a.error})},this.onSessionExtendRequest=async(n,a)=>{let{id:r}=a;try{this.isValidExtend({topic:n}),await this.setExpiry(n,Fs(y_)),await this.sendResult({id:r,topic:n,result:!0,throwOnFailedPublish:!0}),this.client.events.emit("session_extend",{id:r,topic:n})}catch(f){await this.sendError({id:r,topic:n,error:f}),this.client.logger.error(f)}},this.onSessionExtendResponse=(n,a)=>{let{id:r}=a,f=Dn("session_extend",r);if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners`);A6(a)?this.events.emit(Dn("session_extend",r),{}):e1(a)&&this.events.emit(Dn("session_extend",r),{error:a.error})},this.onSessionPingRequest=async(n,a)=>{let{id:r}=a;try{this.isValidPing({topic:n}),await this.sendResult({id:r,topic:n,result:!0,throwOnFailedPublish:!0}),this.client.events.emit("session_ping",{id:r,topic:n})}catch(f){await this.sendError({id:r,topic:n,error:f}),this.client.logger.error(f)}},this.onSessionPingResponse=(n,a)=>{let{id:r}=a,f=Dn("session_ping",r);if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners`);setTimeout(()=>{A6(a)?this.events.emit(Dn("session_ping",r),{}):e1(a)&&this.events.emit(Dn("session_ping",r),{error:a.error})},500)},this.onSessionDeleteRequest=async(n,a)=>{let{id:r}=a;try{this.isValidDisconnect({topic:n,reason:a.params}),await Promise.all([new Promise(f=>{this.client.core.relayer.once(n6.publish,async()=>{f(await this.deleteSession({topic:n,id:r}))})}),this.sendResult({id:r,topic:n,result:!0,throwOnFailedPublish:!0}),this.cleanupPendingSentRequestsForTopic({topic:n,error:Ca("USER_DISCONNECTED")})])}catch(f){this.client.logger.error(f)}},this.onSessionRequest=async(n,a)=>{let{id:r,params:f}=a;try{await this.isValidRequest(Ns({topic:n},f));let i=gh(JSON.stringify(nu("wc_sessionRequest",f,r))),s=this.client.session.get(n),o=await this.getVerifyContext(i,s.peer.metadata),c={id:r,topic:n,params:f,verifyContext:o};await this.setPendingSessionRequest(c),this.addSessionRequestToSessionRequestQueue(c),this.processSessionRequestQueue()}catch(i){await this.sendError({id:r,topic:n,error:i}),this.client.logger.error(i)}},this.onSessionRequestResponse=(n,a)=>{let{id:r}=a,f=Dn("session_request",r);if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners`);A6(a)?this.events.emit(Dn("session_request",r),{result:a.result}):e1(a)&&this.events.emit(Dn("session_request",r),{error:a.error})},this.onSessionEventRequest=async(n,a)=>{let{id:r,params:f}=a;try{let i=`${n}_session_event_${f.event.name}`,s=Lm.get(i);if(s&&this.isRequestOutOfSync(s,r)){this.client.logger.info(`Discarding out of sync request - ${r}`);return}this.isValidEmit(Ns({topic:n},f)),this.client.events.emit("session_event",{id:r,topic:n,params:f}),Lm.set(i,r)}catch(i){await this.sendError({id:r,topic:n,error:i}),this.client.logger.error(i)}},this.onSessionAuthenticateResponse=(n,a)=>{let{id:r}=a;this.client.logger.trace({type:"method",method:"onSessionAuthenticateResponse",topic:n,payload:a}),A6(a)?this.events.emit(Dn("session_request",r),{result:a.result}):e1(a)&&this.events.emit(Dn("session_request",r),{error:a.error})},this.onSessionAuthenticateRequest=async(n,a)=>{let{requester:r,authPayload:f,expiryTimestamp:i}=a.params,s=gh(JSON.stringify(a)),o=await this.getVerifyContext(s,this.client.metadata),c={requester:r,pairingTopic:n,id:a.id,authPayload:f,verifyContext:o,expiryTimestamp:i};await this.client.auth.requests.set(a.id,c),this.client.events.emit("session_authenticate",{topic:n,params:a.params,id:a.id})},this.addSessionRequestToSessionRequestQueue=n=>{this.sessionRequestQueue.queue.push(n)},this.cleanupAfterResponse=n=>{this.deletePendingSessionRequest(n.response.id,{message:"fulfilled",code:0}),setTimeout(()=>{this.sessionRequestQueue.state=wh.idle,this.processSessionRequestQueue()},(0,Fa.toMiliseconds)(this.requestQueueDelay))},this.cleanupPendingSentRequestsForTopic=({topic:n,error:a})=>{let r=this.client.core.history.pending;r.length>0&&r.filter(f=>f.topic===n&&f.request.method==="wc_sessionRequest").forEach(f=>{let i=f.request.id,s=Dn("session_request",i);if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners`);this.events.emit(Dn("session_request",f.request.id),{error:a})})},this.processSessionRequestQueue=()=>{if(this.sessionRequestQueue.state===wh.active){this.client.logger.info("session request queue is already active.");return}let n=this.sessionRequestQueue.queue[0];if(!n){this.client.logger.info("session request queue is empty.");return}try{this.sessionRequestQueue.state=wh.active,this.client.events.emit("session_request",n)}catch(a){this.client.logger.error(a)}},this.onPairingCreated=n=>{if(n.methods&&this.expectedPairingMethodMap.set(n.topic,n.methods),n.active)return;let a=this.client.proposal.getAll().find(r=>r.pairingTopic===n.topic);a&&this.onSessionProposeRequest(n.topic,nu("wc_sessionPropose",{requiredNamespaces:a.requiredNamespaces,optionalNamespaces:a.optionalNamespaces,relays:a.relays,proposer:a.proposer,sessionProperties:a.sessionProperties},a.id))},this.isValidConnect=async n=>{if(!m1(n)){let{message:o}=F0("MISSING_OR_INVALID",`connect() params: ${JSON.stringify(n)}`);throw new Error(o)}let{pairingTopic:a,requiredNamespaces:r,optionalNamespaces:f,sessionProperties:i,relays:s}=n;if(bo(a)||await this.isValidPairingTopic(a),!Gc0(s,!0)){let{message:o}=F0("MISSING_OR_INVALID",`connect() relays: ${s}`);throw new Error(o)}!bo(r)&&K9(r)!==0&&this.validateNamespaces(r,"requiredNamespaces"),!bo(f)&&K9(f)!==0&&this.validateNamespaces(f,"optionalNamespaces"),bo(i)||this.validateSessionProps(i,"sessionProperties")},this.validateNamespaces=(n,a)=>{let r=jc0(n,"connect()",a);if(r)throw new Error(r.message)},this.isValidApprove=async n=>{if(!m1(n))throw new Error(F0("MISSING_OR_INVALID",`approve() params: ${n}`).message);let{id:a,namespaces:r,relayProtocol:f,sessionProperties:i}=n;this.checkRecentlyDeleted(a),await this.isValidProposalId(a);let s=this.client.proposal.get(a),o=vQ(r,"approve()");if(o)throw new Error(o.message);let c=g2e(s.requiredNamespaces,r,"approve()");if(c)throw new Error(c.message);if(!Bf(f,!0)){let{message:d}=F0("MISSING_OR_INVALID",`approve() relayProtocol: ${f}`);throw new Error(d)}bo(i)||this.validateSessionProps(i,"sessionProperties")},this.isValidReject=async n=>{if(!m1(n)){let{message:f}=F0("MISSING_OR_INVALID",`reject() params: ${n}`);throw new Error(f)}let{id:a,reason:r}=n;if(this.checkRecentlyDeleted(a),await this.isValidProposalId(a),!Qc0(r)){let{message:f}=F0("MISSING_OR_INVALID",`reject() reason: ${JSON.stringify(r)}`);throw new Error(f)}},this.isValidSessionSettleRequest=n=>{if(!m1(n)){let{message:c}=F0("MISSING_OR_INVALID",`onSessionSettleRequest() params: ${n}`);throw new Error(c)}let{relay:a,controller:r,namespaces:f,expiry:i}=n;if(!m2e(a)){let{message:c}=F0("MISSING_OR_INVALID","onSessionSettleRequest() relay protocol should be a string");throw new Error(c)}let s=Wc0(r,"onSessionSettleRequest()");if(s)throw new Error(s.message);let o=vQ(f,"onSessionSettleRequest()");if(o)throw new Error(o.message);if(Vu(i)){let{message:c}=F0("EXPIRED","onSessionSettleRequest()");throw new Error(c)}},this.isValidUpdate=async n=>{if(!m1(n)){let{message:o}=F0("MISSING_OR_INVALID",`update() params: ${n}`);throw new Error(o)}let{topic:a,namespaces:r}=n;this.checkRecentlyDeleted(a),await this.isValidSessionTopic(a);let f=this.client.session.get(a),i=vQ(r,"update()");if(i)throw new Error(i.message);let s=g2e(f.requiredNamespaces,r,"update()");if(s)throw new Error(s.message)},this.isValidExtend=async n=>{if(!m1(n)){let{message:r}=F0("MISSING_OR_INVALID",`extend() params: ${n}`);throw new Error(r)}let{topic:a}=n;this.checkRecentlyDeleted(a),await this.isValidSessionTopic(a)},this.isValidRequest=async n=>{if(!m1(n)){let{message:o}=F0("MISSING_OR_INVALID",`request() params: ${n}`);throw new Error(o)}let{topic:a,request:r,chainId:f,expiry:i}=n;this.checkRecentlyDeleted(a),await this.isValidSessionTopic(a);let{namespaces:s}=this.client.session.get(a);if(!y2e(s,f)){let{message:o}=F0("MISSING_OR_INVALID",`request() chainId: ${f}`);throw new Error(o)}if(!Vc0(r)){let{message:o}=F0("MISSING_OR_INVALID",`request() ${JSON.stringify(r)}`);throw new Error(o)}if(!Jc0(s,f,r.method)){let{message:o}=F0("MISSING_OR_INVALID",`request() method: ${r.method}`);throw new Error(o)}if(i&&!Zc0(i,iue)){let{message:o}=F0("MISSING_OR_INVALID",`request() expiry: ${i}. Expiry must be a number (in seconds) between ${iue.min} and ${iue.max}`);throw new Error(o)}},this.isValidRespond=async n=>{var a;if(!m1(n)){let{message:i}=F0("MISSING_OR_INVALID",`respond() params: ${n}`);throw new Error(i)}let{topic:r,response:f}=n;try{await this.isValidSessionTopic(r)}catch(i){throw(a=n?.response)!=null&&a.id&&this.cleanupAfterResponse(n),i}if(!Yc0(f)){let{message:i}=F0("MISSING_OR_INVALID",`respond() response: ${JSON.stringify(f)}`);throw new Error(i)}},this.isValidPing=async n=>{if(!m1(n)){let{message:r}=F0("MISSING_OR_INVALID",`ping() params: ${n}`);throw new Error(r)}let{topic:a}=n;await this.isValidSessionOrPairingTopic(a)},this.isValidEmit=async n=>{if(!m1(n)){let{message:s}=F0("MISSING_OR_INVALID",`emit() params: ${n}`);throw new Error(s)}let{topic:a,event:r,chainId:f}=n;await this.isValidSessionTopic(a);let{namespaces:i}=this.client.session.get(a);if(!y2e(i,f)){let{message:s}=F0("MISSING_OR_INVALID",`emit() chainId: ${f}`);throw new Error(s)}if(!$c0(r)){let{message:s}=F0("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(r)}`);throw new Error(s)}if(!Xc0(i,f,r.name)){let{message:s}=F0("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(r)}`);throw new Error(s)}},this.isValidDisconnect=async n=>{if(!m1(n)){let{message:r}=F0("MISSING_OR_INVALID",`disconnect() params: ${n}`);throw new Error(r)}let{topic:a}=n;await this.isValidSessionOrPairingTopic(a)},this.isValidAuthenticate=n=>{let{chains:a,uri:r,domain:f,nonce:i}=n;if(!Array.isArray(a)||a.length===0)throw new Error("chains is required and must be a non-empty array");if(!Bf(r,!1))throw new Error("uri is required parameter");if(!Bf(f,!1))throw new Error("domain is required parameter");if(!Bf(i,!1))throw new Error("nonce is required parameter");if([...new Set(a.map(o=>f_(o).namespace))].length>1)throw new Error("Multi-namespace requests are not supported. Please request single namespace only.");let{namespace:s}=f_(a[0]);if(s!=="eip155")throw new Error("Only eip155 namespace is supported for authenticated sessions. Please use .connect() for non-eip155 chains.")},this.getVerifyContext=async(n,a)=>{let r={verified:{verifyUrl:a.verifyUrl||V9,validation:"UNKNOWN",origin:a.url||""}};try{let f=await this.client.core.verify.resolve({attestationId:n,verifyUrl:a.verifyUrl});f&&(r.verified.origin=f.origin,r.verified.isScam=f.isScam,r.verified.validation=f.origin===new URL(a.url).origin?"VALID":"INVALID")}catch(f){this.client.logger.info(f)}return this.client.logger.info(`Verify context: ${JSON.stringify(r)}`),r},this.validateSessionProps=(n,a)=>{Object.values(n).forEach(r=>{if(!Bf(r,!1)){let{message:f}=F0("MISSING_OR_INVALID",`${a} must be in Record format. Received: ${JSON.stringify(r)}`);throw new Error(f)}})},this.getPendingAuthRequest=n=>{let a=this.client.auth.requests.get(n);return typeof a=="object"?a:void 0},this.addToRecentlyDeleted=(n,a)=>{if(this.recentlyDeletedMap.set(n,a),this.recentlyDeletedMap.size>=this.recentlyDeletedLimit){let r=0,f=this.recentlyDeletedLimit/2;for(let i of this.recentlyDeletedMap.keys()){if(r++>=f)break;this.recentlyDeletedMap.delete(i)}}},this.checkRecentlyDeleted=n=>{let a=this.recentlyDeletedMap.get(n);if(a){let{message:r}=F0("MISSING_OR_INVALID",`Record was recently deleted - ${a}: ${n}`);throw new Error(r)}}}async isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}await this.client.core.relayer.confirmOnlineStateOrThrow()}registerRelayerEvents(){this.client.core.relayer.on(n6.message,async e=>{let{topic:n,message:a}=e,{publicKey:r}=this.client.auth.authKeys.keys.includes(LQ)?this.client.auth.authKeys.get(LQ):{responseTopic:void 0,publicKey:void 0},f=await this.client.core.crypto.decode(n,a,{receiverPublicKey:r});try{sx(f)?(this.client.core.history.set(n,f),this.onRelayEventRequest({topic:n,payload:f})):gb(f)?(await this.client.core.history.resolve(f),await this.onRelayEventResponse({topic:n,payload:f}),this.client.core.history.delete(n,f.id)):this.onRelayEventUnknownPayload({topic:n,payload:f})}catch(i){this.client.logger.error(i)}})}registerExpirerEvents(){this.client.core.expirer.on(z6.expired,async e=>{let{topic:n,id:a}=hQ(e.target);if(a&&this.client.pendingRequest.keys.includes(a))return await this.deletePendingSessionRequest(a,F0("EXPIRED"),!0);n?this.client.session.keys.includes(n)&&(await this.deleteSession({topic:n,expirerHasDeleted:!0}),this.client.events.emit("session_expire",{topic:n})):a&&(await this.deleteProposal(a,!0),this.client.events.emit("proposal_expire",{id:a}))})}registerPairingEvents(){this.client.core.pairing.events.on(Q9.create,e=>this.onPairingCreated(e)),this.client.core.pairing.events.on(Q9.delete,e=>{this.addToRecentlyDeleted(e.topic,"pairing")})}isValidPairingTopic(e){if(!Bf(e,!1)){let{message:n}=F0("MISSING_OR_INVALID",`pairing topic should be a string: ${e}`);throw new Error(n)}if(!this.client.core.pairing.pairings.keys.includes(e)){let{message:n}=F0("NO_MATCHING_KEY",`pairing topic doesn't exist: ${e}`);throw new Error(n)}if(Vu(this.client.core.pairing.pairings.get(e).expiry)){let{message:n}=F0("EXPIRED",`pairing topic: ${e}`);throw new Error(n)}}async isValidSessionTopic(e){if(!Bf(e,!1)){let{message:n}=F0("MISSING_OR_INVALID",`session topic should be a string: ${e}`);throw new Error(n)}if(this.checkRecentlyDeleted(e),!this.client.session.keys.includes(e)){let{message:n}=F0("NO_MATCHING_KEY",`session topic doesn't exist: ${e}`);throw new Error(n)}if(Vu(this.client.session.get(e).expiry)){await this.deleteSession({topic:e});let{message:n}=F0("EXPIRED",`session topic: ${e}`);throw new Error(n)}if(!this.client.core.crypto.keychain.has(e)){let{message:n}=F0("MISSING_OR_INVALID",`session topic does not exist in keychain: ${e}`);throw await this.deleteSession({topic:e}),new Error(n)}}async isValidSessionOrPairingTopic(e){if(this.checkRecentlyDeleted(e),this.client.session.keys.includes(e))await this.isValidSessionTopic(e);else if(this.client.core.pairing.pairings.keys.includes(e))this.isValidPairingTopic(e);else if(Bf(e,!1)){let{message:n}=F0("NO_MATCHING_KEY",`session or pairing topic doesn't exist: ${e}`);throw new Error(n)}else{let{message:n}=F0("MISSING_OR_INVALID",`session or pairing topic should be a string: ${e}`);throw new Error(n)}}async isValidProposalId(e){if(!Kc0(e)){let{message:n}=F0("MISSING_OR_INVALID",`proposal id should be a number: ${e}`);throw new Error(n)}if(!this.client.proposal.keys.includes(e)){let{message:n}=F0("NO_MATCHING_KEY",`proposal id doesn't exist: ${e}`);throw new Error(n)}if(Vu(this.client.proposal.get(e).expiryTimestamp)){await this.deleteProposal(e);let{message:n}=F0("EXPIRED",`proposal id: ${e}`);throw new Error(n)}}},oue=class extends Xu{constructor(e,n){super(e,n,T5n,bue),this.core=e,this.logger=n}},cue=class extends Xu{constructor(e,n){super(e,n,x5n,bue),this.core=e,this.logger=n}},due=class extends Xu{constructor(e,n){super(e,n,_5n,bue,a=>a.id),this.core=e,this.logger=n}},lue=class extends Xu{constructor(e,n){super(e,n,k5n,OQ,()=>LQ),this.core=e,this.logger=n}},uue=class extends Xu{constructor(e,n){super(e,n,S5n,OQ),this.core=e,this.logger=n}},pue=class extends Xu{constructor(e,n){super(e,n,R5n,OQ,a=>a.id),this.core=e,this.logger=n}},hue=class{constructor(e,n){this.core=e,this.logger=n,this.authKeys=new lue(this.core,this.logger),this.pairingTopics=new uue(this.core,this.logger),this.requests=new pue(this.core,this.logger)}async init(){await this.authKeys.init(),await this.pairingTopics.init(),await this.requests.init()}},FQ=class t extends BQ{constructor(e){super(e),this.protocol=G60,this.version=K60,this.name=fue.name,this.events=new NQ.EventEmitter,this.on=(a,r)=>this.events.on(a,r),this.once=(a,r)=>this.events.once(a,r),this.off=(a,r)=>this.events.off(a,r),this.removeListener=(a,r)=>this.events.removeListener(a,r),this.removeAllListeners=a=>this.events.removeAllListeners(a),this.connect=async a=>{try{return await this.engine.connect(a)}catch(r){throw this.logger.error(r.message),r}},this.pair=async a=>{try{return await this.engine.pair(a)}catch(r){throw this.logger.error(r.message),r}},this.approve=async a=>{try{return await this.engine.approve(a)}catch(r){throw this.logger.error(r.message),r}},this.reject=async a=>{try{return await this.engine.reject(a)}catch(r){throw this.logger.error(r.message),r}},this.update=async a=>{try{return await this.engine.update(a)}catch(r){throw this.logger.error(r.message),r}},this.extend=async a=>{try{return await this.engine.extend(a)}catch(r){throw this.logger.error(r.message),r}},this.request=async a=>{try{return await this.engine.request(a)}catch(r){throw this.logger.error(r.message),r}},this.respond=async a=>{try{return await this.engine.respond(a)}catch(r){throw this.logger.error(r.message),r}},this.ping=async a=>{try{return await this.engine.ping(a)}catch(r){throw this.logger.error(r.message),r}},this.emit=async a=>{try{return await this.engine.emit(a)}catch(r){throw this.logger.error(r.message),r}},this.disconnect=async a=>{try{return await this.engine.disconnect(a)}catch(r){throw this.logger.error(r.message),r}},this.find=a=>{try{return this.engine.find(a)}catch(r){throw this.logger.error(r.message),r}},this.getPendingSessionRequests=()=>{try{return this.engine.getPendingSessionRequests()}catch(a){throw this.logger.error(a.message),a}},this.authenticate=async a=>{try{return await this.engine.authenticate(a)}catch(r){throw this.logger.error(r.message),r}},this.formatAuthMessage=a=>{try{return this.engine.formatAuthMessage(a)}catch(r){throw this.logger.error(r.message),r}},this.approveSessionAuthenticate=async a=>{try{return await this.engine.approveSessionAuthenticate(a)}catch(r){throw this.logger.error(r.message),r}},this.rejectSessionAuthenticate=async a=>{try{return await this.engine.rejectSessionAuthenticate(a)}catch(r){throw this.logger.error(r.message),r}},this.name=e?.name||fue.name,this.metadata=e?.metadata||N10();let n=typeof e?.logger<"u"&&typeof e?.logger!="string"?e.logger:(0,A7.default)(C7({level:e?.logger||fue.logger}));this.core=e?.core||new H60(e),this.logger=Jo(n,this.name),this.session=new cue(this.core,this.logger),this.proposal=new oue(this.core,this.logger),this.pendingRequest=new due(this.core,this.logger),this.engine=new sue(this),this.auth=new hue(this.core,this.logger)}static async init(e){let n=new t(e);return await n.initialize(),n}get context(){return $o(this.logger)}get pairing(){return this.core.pairing.pairings}async initialize(){this.logger.trace("Initialized");try{await this.core.start(),await this.session.init(),await this.proposal.init(),await this.pendingRequest.init(),await this.engine.init(),await this.auth.init(),this.core.verify.init({verifyUrl:this.metadata.verifyUrl}),this.logger.info("SignClient Initialization Success")}catch(e){throw this.logger.info("SignClient Initialization Failure"),this.logger.error(e.message),e}}}});var J60=D((Th,$60)=>{u();p();var Y60=typeof self<"u"?self:Th,UQ=function(){function t(){this.fetch=!1,this.DOMException=Y60.DOMException}return t.prototype=Y60,new t}();(function(t){var e=function(n){var a={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function r(R){return R&&DataView.prototype.isPrototypeOf(R)}if(a.arrayBuffer)var f=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(R){return R&&f.indexOf(Object.prototype.toString.call(R))>-1};function s(R){if(typeof R!="string"&&(R=String(R)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(R))throw new TypeError("Invalid character in header field name");return R.toLowerCase()}function o(R){return typeof R!="string"&&(R=String(R)),R}function c(R){var T={next:function(){var N=R.shift();return{done:N===void 0,value:N}}};return a.iterable&&(T[Symbol.iterator]=function(){return T}),T}function d(R){this.map={},R instanceof d?R.forEach(function(T,N){this.append(N,T)},this):Array.isArray(R)?R.forEach(function(T){this.append(T[0],T[1])},this):R&&Object.getOwnPropertyNames(R).forEach(function(T){this.append(T,R[T])},this)}d.prototype.append=function(R,T){R=s(R),T=o(T);var N=this.map[R];this.map[R]=N?N+", "+T:T},d.prototype.delete=function(R){delete this.map[s(R)]},d.prototype.get=function(R){return R=s(R),this.has(R)?this.map[R]:null},d.prototype.has=function(R){return this.map.hasOwnProperty(s(R))},d.prototype.set=function(R,T){this.map[s(R)]=o(T)},d.prototype.forEach=function(R,T){for(var N in this.map)this.map.hasOwnProperty(N)&&R.call(T,this.map[N],N,this)},d.prototype.keys=function(){var R=[];return this.forEach(function(T,N){R.push(N)}),c(R)},d.prototype.values=function(){var R=[];return this.forEach(function(T){R.push(T)}),c(R)},d.prototype.entries=function(){var R=[];return this.forEach(function(T,N){R.push([N,T])}),c(R)},a.iterable&&(d.prototype[Symbol.iterator]=d.prototype.entries);function l(R){if(R.bodyUsed)return Promise.reject(new TypeError("Already read"));R.bodyUsed=!0}function h(R){return new Promise(function(T,N){R.onload=function(){T(R.result)},R.onerror=function(){N(R.error)}})}function y(R){var T=new FileReader,N=h(T);return T.readAsArrayBuffer(R),N}function v(R){var T=new FileReader,N=h(T);return T.readAsText(R),N}function k(R){for(var T=new Uint8Array(R),N=new Array(T.length),w=0;w-1?T:R}function j(R,T){T=T||{};var N=T.body;if(R instanceof j){if(R.bodyUsed)throw new TypeError("Already read");this.url=R.url,this.credentials=R.credentials,T.headers||(this.headers=new d(R.headers)),this.method=R.method,this.mode=R.mode,this.signal=R.signal,!N&&R._bodyInit!=null&&(N=R._bodyInit,R.bodyUsed=!0)}else this.url=String(R);if(this.credentials=T.credentials||this.credentials||"same-origin",(T.headers||!this.headers)&&(this.headers=new d(T.headers)),this.method=W(T.method||this.method||"GET"),this.mode=T.mode||this.mode||null,this.signal=T.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&N)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(N)}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function Q(R){var T=new FormData;return R.trim().split("&").forEach(function(N){if(N){var w=N.split("="),m=w.shift().replace(/\+/g," "),A=w.join("=").replace(/\+/g," ");T.append(decodeURIComponent(m),decodeURIComponent(A))}}),T}function V(R){var T=new d,N=R.replace(/\r?\n[\t ]+/g," ");return N.split(/\r?\n/).forEach(function(w){var m=w.split(":"),A=m.shift().trim();if(A){var P=m.join(":").trim();T.append(A,P)}}),T}F.call(j.prototype);function X(R,T){T||(T={}),this.type="default",this.status=T.status===void 0?200:T.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in T?T.statusText:"OK",this.headers=new d(T.headers),this.url=T.url||"",this._initBody(R)}F.call(X.prototype),X.prototype.clone=function(){return new X(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},X.error=function(){var R=new X(null,{status:0,statusText:""});return R.type="error",R};var K=[301,302,303,307,308];X.redirect=function(R,T){if(K.indexOf(T)===-1)throw new RangeError("Invalid status code");return new X(null,{status:T,headers:{location:R}})},n.DOMException=t.DOMException;try{new n.DOMException}catch{n.DOMException=function(T,N){this.message=T,this.name=N;var w=Error(T);this.stack=w.stack},n.DOMException.prototype=Object.create(Error.prototype),n.DOMException.prototype.constructor=n.DOMException}function G(R,T){return new Promise(function(N,w){var m=new j(R,T);if(m.signal&&m.signal.aborted)return w(new n.DOMException("Aborted","AbortError"));var A=new XMLHttpRequest;function P(){A.abort()}A.onload=function(){var L={status:A.status,statusText:A.statusText,headers:V(A.getAllResponseHeaders()||"")};L.url="responseURL"in A?A.responseURL:L.headers.get("X-Request-URL");var x="response"in A?A.response:A.responseText;N(new X(x,L))},A.onerror=function(){w(new TypeError("Network request failed"))},A.ontimeout=function(){w(new TypeError("Network request failed"))},A.onabort=function(){w(new n.DOMException("Aborted","AbortError"))},A.open(m.method,m.url,!0),m.credentials==="include"?A.withCredentials=!0:m.credentials==="omit"&&(A.withCredentials=!1),"responseType"in A&&a.blob&&(A.responseType="blob"),m.headers.forEach(function(L,x){A.setRequestHeader(x,L)}),m.signal&&(m.signal.addEventListener("abort",P),A.onreadystatechange=function(){A.readyState===4&&m.signal.removeEventListener("abort",P)}),A.send(typeof m._bodyInit>"u"?null:m._bodyInit)})}return G.polyfill=!0,t.fetch||(t.fetch=G,t.Headers=d,t.Request=j,t.Response=X),n.Headers=d,n.Request=j,n.Response=X,n.fetch=G,Object.defineProperty(n,"__esModule",{value:!0}),n}({})})(UQ);UQ.fetch.ponyfill=!0;delete UQ.fetch.polyfill;var v_=UQ;Th=v_.fetch;Th.default=v_.fetch;Th.fetch=v_.fetch;Th.Headers=v_.Headers;Th.Request=v_.Request;Th.Response=v_.Response;$60.exports=Th});var r50,yue,F5n,N5n,O5n,X60,U5n,H5n,Z60,e50,t50,z5n,W5n,n50,a50,md,f50=ce(()=>{u();p();r50=Ee(Nr()),yue=Ee(J60());E7();vb();F5n=Object.defineProperty,N5n=Object.defineProperties,O5n=Object.getOwnPropertyDescriptors,X60=Object.getOwnPropertySymbols,U5n=Object.prototype.hasOwnProperty,H5n=Object.prototype.propertyIsEnumerable,Z60=(t,e,n)=>e in t?F5n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,e50=(t,e)=>{for(var n in e||(e={}))U5n.call(e,n)&&Z60(t,n,e[n]);if(X60)for(var n of X60(e))H5n.call(e,n)&&Z60(t,n,e[n]);return t},t50=(t,e)=>N5n(t,O5n(e)),z5n={Accept:"application/json","Content-Type":"application/json"},W5n="POST",n50={headers:z5n,method:W5n},a50=10,md=class{constructor(e,n=!1){if(this.url=e,this.disableProviderPing=n,this.events=new r50.EventEmitter,this.isAvailable=!1,this.registering=!1,!iW(e))throw new Error(`Provided URL is not compatible with HTTP connection: ${e}`);this.url=e,this.disableProviderPing=n}get connected(){return this.isAvailable}get connecting(){return this.registering}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async open(e=this.url){await this.register(e)}async close(){if(!this.isAvailable)throw new Error("Connection already closed");this.onClose()}async send(e){this.isAvailable||await this.register();try{let n=z1(e),a=await(await(0,yue.default)(this.url,t50(e50({},n50),{body:n}))).json();this.onPayload({data:a})}catch(n){this.onError(e.id,n)}}async register(e=this.url){if(!iW(e))throw new Error(`Provided URL is not compatible with HTTP connection: ${e}`);if(this.registering){let n=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=n||this.events.listenerCount("open")>=n)&&this.events.setMaxListeners(n+1),new Promise((a,r)=>{this.events.once("register_error",f=>{this.resetMaxListeners(),r(f)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.isAvailable>"u")return r(new Error("HTTP connection is missing or invalid"));a()})})}this.url=e,this.registering=!0;try{if(!this.disableProviderPing){let n=z1({id:1,jsonrpc:"2.0",method:"test",params:[]});await(0,yue.default)(e,t50(e50({},n50),{body:n}))}this.onOpen()}catch(n){let a=this.parseError(n);throw this.events.emit("register_error",a),this.onClose(),a}}onOpen(){this.isAvailable=!0,this.registering=!1,this.events.emit("open")}onClose(){this.isAvailable=!1,this.registering=!1,this.events.emit("close")}onPayload(e){if(typeof e.data>"u")return;let n=typeof e.data=="string"?Q2(e.data):e.data;this.events.emit("payload",n)}onError(e,n){let a=this.parseError(n),r=a.message||a.toString(),f=F8(e,r);this.events.emit("payload",f)}parseError(e,n=this.url){return FS(e,n,"HTTP")}resetMaxListeners(){this.events.getMaxListeners()>a50&&this.events.setMaxListeners(a50)}}});function Um(t,e,n){var a;let r=f_(t);return((a=e.rpcMap)==null?void 0:a[r.reference])||`${K5n}?chainId=${r.namespace}:${r.reference}&projectId=${n}`}function $9(t){return t.includes(":")?t.split(":")[1]:t}function b50(t){return t.map(e=>`${e.split(":")[0]}:${e.split(":")[1]}`)}function Z5n(t,e){let n=Object.keys(e.namespaces).filter(r=>r.includes(t));if(!n.length)return[];let a=[];return n.forEach(r=>{let f=e.namespaces[r].accounts;a.push(...f)}),a}function gue(t={},e={}){let n=d50(t),a=d50(e);return xue.exports.merge(n,a)}function d50(t){var e,n,a,r;let f={};if(!K9(t))return f;for(let[i,s]of Object.entries(t)){let o=gQ(i)?[i]:s.chains,c=s.methods||[],d=s.events||[],l=s.rpcMap||{},h=b_(i);f[h]=X5n(HQ(HQ({},f[h]),s),{chains:gB(o,(e=f[h])==null?void 0:e.chains),methods:gB(c,(n=f[h])==null?void 0:n.methods),events:gB(d,(a=f[h])==null?void 0:a.events),rpcMap:HQ(HQ({},l),(r=f[h])==null?void 0:r.rpcMap)})}return f}function edn(t){return t.includes(":")?t.split(":")[2]:t}function l50(t){let e={};for(let[n,a]of Object.entries(t)){let r=a.methods||[],f=a.events||[],i=a.accounts||[],s=gQ(n)?[n]:a.chains?a.chains:b50(a.accounts);e[n]={chains:s,methods:r,events:f,accounts:i}}return e}function vue(t){return typeof t=="number"?t:t.includes("0x")?parseInt(t,16):(t=t.includes(":")?t.split(":")[1]:t,isNaN(Number(t))?t:Number(t))}var h50,i50,q5n,j5n,G5n,s50,K5n,xh,SB,xue,Q5n,V5n,Y5n,o50,$5n,J5n,c50,HQ,X5n,m50,gf,wue,Eue,_ue,Aue,Cue,Iue,kue,Sue,Rue,tdn,ndn,adn,u50,rdn,fdn,p50,zQ,Tue,Mue,y50,g50=ce(()=>{u();p();V60();_B();vz();f50();M2e();h50=Ee(Nr());vb();i50="error",q5n="wss://relay.walletconnect.com",j5n="wc",G5n="universal_provider",s50=`${j5n}@2:${G5n}:`,K5n="https://rpc.walletconnect.com/v1/",xh={DEFAULT_CHAIN_CHANGED:"default_chain_changed"},SB=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xue={exports:{}};(function(t,e){(function(){var n,a="4.17.21",r=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",i="Expected a function",s="Invalid `variable` option passed into `_.template`",o="__lodash_hash_undefined__",c=500,d="__lodash_placeholder__",l=1,h=2,y=4,v=1,k=2,O=1,F=2,z=4,W=8,j=16,Q=32,V=64,X=128,K=256,G=512,R=30,T="...",N=800,w=16,m=1,A=2,P=3,L=1/0,x=9007199254740991,g=17976931348623157e292,B=NaN,M=4294967295,S=M-1,q=M>>>1,ee=[["ary",X],["bind",O],["bindKey",F],["curry",W],["curryRight",j],["flip",G],["partial",Q],["partialRight",V],["rearg",K]],U="[object Arguments]",J="[object Array]",Z="[object AsyncFunction]",ne="[object Boolean]",ue="[object Date]",Y="[object DOMException]",re="[object Error]",ie="[object Function]",ge="[object GeneratorFunction]",de="[object Map]",Ae="[object Number]",Ge="[object Null]",Be="[object Object]",c0="[object Promise]",Ye="[object Proxy]",He="[object RegExp]",_0="[object Set]",L0="[object String]",Ze="[object Symbol]",I0="[object Undefined]",pe="[object WeakMap]",he="[object WeakSet]",Te="[object ArrayBuffer]",Ce="[object DataView]",Se="[object Float32Array]",Qe="[object Float64Array]",u0="[object Int8Array]",qe="[object Int16Array]",v0="[object Int32Array]",w0="[object Uint8Array]",Ve="[object Uint8ClampedArray]",be="[object Uint16Array]",ye="[object Uint32Array]",_e=/\b__p \+= '';/g,ze=/\b(__p \+=) '' \+/g,je=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ue=/&(?:amp|lt|gt|quot|#39);/g,b0=/[&<>"']/g,h0=RegExp(Ue.source),$e=RegExp(b0.source),M0=/<%-([\s\S]+?)%>/g,P0=/<%([\s\S]+?)%>/g,t0=/<%=([\s\S]+?)%>/g,j0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,z0=/^\w*$/,Ke=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,B0=/[\\^$.*+?()[\]{}|]/g,G0=RegExp(B0.source),s0=/^\s+/,X0=/\s/,Y0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,l0=/\{\n\/\* \[wrapped with (.+)\] \*/,K0=/,? & /,tt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,p0=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,Et=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,$0=/\w*$/,Tt=/^[-+]0x[0-9a-f]+$/i,Pn=/^0b[01]+$/i,Ln=/^\[object .+?Constructor\]$/,Fn=/^0o[0-7]+$/i,Nn=/^(?:0|[1-9]\d*)$/,On=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ha=/($^)/,pr=/['\n\r\u2028\u2029\\]/g,za="\\ud800-\\udfff",hr="\\u0300-\\u036f",ar="\\ufe20-\\ufe2f",Cr="\\u20d0-\\u20ff",Jr=hr+ar+Cr,rr="\\u2700-\\u27bf",of="a-z\\xdf-\\xf6\\xf8-\\xff",jf="\\xac\\xb1\\xd7\\xf7",Gs="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Hd="\\u2000-\\u206f",zd=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",t2="A-Z\\xc0-\\xd6\\xd8-\\xde",AL="\\ufe0e\\ufe0f",CL=jf+Gs+Hd+zd,oe="['\u2019]",we="["+za+"]",ve="["+CL+"]",Le="["+Jr+"]",Re="\\d+",Ne="["+rr+"]",e0="["+of+"]",x0="[^"+za+CL+Re+rr+of+t2+"]",S0="\\ud83c[\\udffb-\\udfff]",R0="(?:"+Le+"|"+S0+")",A0="[^"+za+"]",ht="(?:\\ud83c[\\udde6-\\uddff]){2}",yn="[\\ud800-\\udbff][\\udc00-\\udfff]",ya="["+t2+"]",Ra="\\u200d",Af="(?:"+e0+"|"+x0+")",Xr="(?:"+ya+"|"+x0+")",B1="(?:"+oe+"(?:d|ll|m|re|s|t|ve))?",gv="(?:"+oe+"(?:D|LL|M|RE|S|T|VE))?",vv=R0+"?",IL="["+AL+"]?",JZ="(?:"+Ra+"(?:"+[A0,ht,yn].join("|")+")"+IL+vv+")*",kL="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",d_0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",i9e=IL+vv+JZ,l_0="(?:"+[Ne,ht,yn].join("|")+")"+i9e,u_0="(?:"+[A0+Le+"?",Le,ht,yn,we].join("|")+")",p_0=RegExp(oe,"g"),h_0=RegExp(Le,"g"),XZ=RegExp(S0+"(?="+S0+")|"+u_0+i9e,"g"),b_0=RegExp([ya+"?"+e0+"+"+B1+"(?="+[ve,ya,"$"].join("|")+")",Xr+"+"+gv+"(?="+[ve,ya+Af,"$"].join("|")+")",ya+"?"+Af+"+"+B1,ya+"+"+gv,d_0,kL,Re,l_0].join("|"),"g"),m_0=RegExp("["+Ra+za+Jr+AL+"]"),y_0=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,g_0=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],v_0=-1,Zr={};Zr[Se]=Zr[Qe]=Zr[u0]=Zr[qe]=Zr[v0]=Zr[w0]=Zr[Ve]=Zr[be]=Zr[ye]=!0,Zr[U]=Zr[J]=Zr[Te]=Zr[ne]=Zr[Ce]=Zr[ue]=Zr[re]=Zr[ie]=Zr[de]=Zr[Ae]=Zr[Be]=Zr[He]=Zr[_0]=Zr[L0]=Zr[pe]=!1;var Fr={};Fr[U]=Fr[J]=Fr[Te]=Fr[Ce]=Fr[ne]=Fr[ue]=Fr[Se]=Fr[Qe]=Fr[u0]=Fr[qe]=Fr[v0]=Fr[de]=Fr[Ae]=Fr[Be]=Fr[He]=Fr[_0]=Fr[L0]=Fr[Ze]=Fr[w0]=Fr[Ve]=Fr[be]=Fr[ye]=!0,Fr[re]=Fr[ie]=Fr[pe]=!1;var w_0={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},T_0={"&":"&","<":"<",">":">",'"':""","'":"'"},x_0={"&":"&","<":"<",">":">",""":'"',"'":"'"},E_0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},__0=parseFloat,A_0=parseInt,s9e=typeof SB=="object"&&SB&&SB.Object===Object&&SB,C_0=typeof self=="object"&&self&&self.Object===Object&&self,Ks=s9e||C_0||Function("return this")(),ZZ=e&&!e.nodeType&&e,K4=ZZ&&!0&&t&&!t.nodeType&&t,o9e=K4&&K4.exports===ZZ,eee=o9e&&s9e.process,f5=function(){try{var De=K4&&K4.require&&K4.require("util").types;return De||eee&&eee.binding&&eee.binding("util")}catch{}}(),c9e=f5&&f5.isArrayBuffer,d9e=f5&&f5.isDate,l9e=f5&&f5.isMap,u9e=f5&&f5.isRegExp,p9e=f5&&f5.isSet,h9e=f5&&f5.isTypedArray;function d6(De,Je,We){switch(We.length){case 0:return De.call(Je);case 1:return De.call(Je,We[0]);case 2:return De.call(Je,We[0],We[1]);case 3:return De.call(Je,We[0],We[1],We[2])}return De.apply(Je,We)}function I_0(De,Je,We,ft){for(var Kt=-1,Wa=De==null?0:De.length;++Kt-1}function tee(De,Je,We){for(var ft=-1,Kt=De==null?0:De.length;++ft-1;);return We}function x9e(De,Je){for(var We=De.length;We--&&wv(Je,De[We],0)>-1;);return We}function F_0(De,Je){for(var We=De.length,ft=0;We--;)De[We]===Je&&++ft;return ft}var N_0=fee(w_0),O_0=fee(T_0);function U_0(De){return"\\"+E_0[De]}function H_0(De,Je){return De==null?n:De[Je]}function Tv(De){return m_0.test(De)}function z_0(De){return y_0.test(De)}function W_0(De){for(var Je,We=[];!(Je=De.next()).done;)We.push(Je.value);return We}function cee(De){var Je=-1,We=Array(De.size);return De.forEach(function(ft,Kt){We[++Je]=[Kt,ft]}),We}function E9e(De,Je){return function(We){return De(Je(We))}}function r3(De,Je){for(var We=-1,ft=De.length,Kt=0,Wa=[];++We-1}function SA0(b,C){var H=this.__data__,$=KL(H,b);return $<0?(++this.size,H.push([b,C])):H[$][1]=C,this}Np.prototype.clear=AA0,Np.prototype.delete=CA0,Np.prototype.get=IA0,Np.prototype.has=kA0,Np.prototype.set=SA0;function Op(b){var C=-1,H=b==null?0:b.length;for(this.clear();++C=C?b:C)),b}function c5(b,C,H,$,te,le){var xe,Ie=C&l,Fe=C&h,r0=C&y;if(H&&(xe=te?H(b,$,te,le):H(b)),xe!==n)return xe;if(!Cf(b))return b;var f0=nn(b);if(f0){if(xe=DC0(b),!Ie)return Tc(b,xe)}else{var m0=ko(b),Q0=m0==ie||m0==ge;if(d3(b))return fge(b,Ie);if(m0==Be||m0==U||Q0&&!te){if(xe=Fe||Q0?{}:_ge(b),!Ie)return Fe?xC0(b,GA0(xe,b)):TC0(b,L9e(xe,b))}else{if(!Fr[m0])return te?b:{};xe=PC0(b,m0,Ie)}}le||(le=new qd);var dt=le.get(b);if(dt)return dt;le.set(b,xe),Zge(b)?b.forEach(function(Dt){xe.add(c5(Dt,C,H,Dt,b,le))}):Jge(b)&&b.forEach(function(Dt,Kn){xe.set(Kn,c5(Dt,C,H,Kn,b,le))});var Bt=r0?Fe?Lee:Pee:Fe?Ec:os,xn=f0?n:Bt(b);return i5(xn||b,function(Dt,Kn){xn&&(Kn=Dt,Dt=b[Kn]),GC(xe,Kn,c5(Dt,C,H,Kn,b,le))}),xe}function KA0(b){var C=os(b);return function(H){return F9e(H,b,C)}}function F9e(b,C,H){var $=H.length;if(b==null)return!$;for(b=Ir(b);$--;){var te=H[$],le=C[te],xe=b[te];if(xe===n&&!(te in b)||!le(xe))return!1}return!0}function N9e(b,C,H){if(typeof b!="function")throw new s5(i);return XC(function(){b.apply(n,H)},C)}function KC(b,C,H,$){var te=-1,le=SL,xe=!0,Ie=b.length,Fe=[],r0=C.length;if(!Ie)return Fe;H&&(C=cf(C,l6(H))),$?(le=tee,xe=!1):C.length>=r&&(le=UC,xe=!1,C=new Y4(C));e:for(;++tete?0:te+H),$=$===n||$>te?te:gn($),$<0&&($+=te),$=H>$?0:tve($);H<$;)b[H++]=C;return b}function U9e(b,C){var H=[];return i3(b,function($,te,le){C($,te,le)&&H.push($)}),H}function Qs(b,C,H,$,te){var le=-1,xe=b.length;for(H||(H=FC0),te||(te=[]);++le0&&H(Ie)?C>1?Qs(Ie,C-1,H,$,te):a3(te,Ie):$||(te[te.length]=Ie)}return te}var mee=lge(),H9e=lge(!0);function n2(b,C){return b&&mee(b,C,os)}function yee(b,C){return b&&H9e(b,C,os)}function VL(b,C){return n3(C,function(H){return qp(b[H])})}function J4(b,C){C=o3(C,b);for(var H=0,$=C.length;b!=null&&H<$;)b=b[r2(C[H++])];return H&&H==$?b:n}function z9e(b,C,H){var $=C(b);return nn(b)?$:a3($,H(b))}function D1(b){return b==null?b===n?I0:Ge:Q4&&Q4 in Ir(b)?RC0(b):qC0(b)}function gee(b,C){return b>C}function YA0(b,C){return b!=null&&fr.call(b,C)}function $A0(b,C){return b!=null&&C in Ir(b)}function JA0(b,C,H){return b>=Io(C,H)&&b=120&&f0.length>=120)?new Y4(xe&&f0):n}f0=b[0];var m0=-1,Q0=Ie[0];e:for(;++m0-1;)Ie!==b&&UL.call(Ie,Fe,1),UL.call(b,Fe,1);return b}function J9e(b,C){for(var H=b?C.length:0,$=H-1;H--;){var te=C[H];if(H==$||te!==le){var le=te;Wp(te)?UL.call(b,te,1):Iee(b,te)}}return b}function _ee(b,C){return b+WL(M9e()*(C-b+1))}function dC0(b,C,H,$){for(var te=-1,le=Qi(zL((C-b)/(H||1)),0),xe=We(le);le--;)xe[$?le:++te]=b,b+=H;return xe}function Aee(b,C){var H="";if(!b||C<1||C>x)return H;do C%2&&(H+=b),C=WL(C/2),C&&(b+=b);while(C);return H}function Sn(b,C){return Wee(Ige(b,C,_c),b+"")}function lC0(b){return P9e(Bv(b))}function uC0(b,C){var H=Bv(b);return fF(H,$4(C,0,H.length))}function YC(b,C,H,$){if(!Cf(b))return b;C=o3(C,b);for(var te=-1,le=C.length,xe=le-1,Ie=b;Ie!=null&&++tete?0:te+C),H=H>te?te:H,H<0&&(H+=te),te=C>H?0:H-C>>>0,C>>>=0;for(var le=We(te);++$>>1,xe=b[le];xe!==null&&!p6(xe)&&(H?xe<=C:xe=r){var r0=C?null:CC0(b);if(r0)return ML(r0);xe=!1,te=UC,Fe=new Y4}else Fe=C?[]:Ie;e:for(;++$=$?b:d5(b,C,H)}var rge=aA0||function(b){return Ks.clearTimeout(b)};function fge(b,C){if(C)return b.slice();var H=b.length,$=C9e?C9e(H):new b.constructor(H);return b.copy($),$}function Mee(b){var C=new b.constructor(b.byteLength);return new NL(C).set(new NL(b)),C}function yC0(b,C){var H=C?Mee(b.buffer):b.buffer;return new b.constructor(H,b.byteOffset,b.byteLength)}function gC0(b){var C=new b.constructor(b.source,$0.exec(b));return C.lastIndex=b.lastIndex,C}function vC0(b){return jC?Ir(jC.call(b)):{}}function ige(b,C){var H=C?Mee(b.buffer):b.buffer;return new b.constructor(H,b.byteOffset,b.length)}function sge(b,C){if(b!==C){var H=b!==n,$=b===null,te=b===b,le=p6(b),xe=C!==n,Ie=C===null,Fe=C===C,r0=p6(C);if(!Ie&&!r0&&!le&&b>C||le&&xe&&Fe&&!Ie&&!r0||$&&xe&&Fe||!H&&Fe||!te)return 1;if(!$&&!le&&!r0&&b=Ie)return Fe;var r0=H[$];return Fe*(r0=="desc"?-1:1)}}return b.index-C.index}function oge(b,C,H,$){for(var te=-1,le=b.length,xe=H.length,Ie=-1,Fe=C.length,r0=Qi(le-xe,0),f0=We(Fe+r0),m0=!$;++Ie1?H[te-1]:n,xe=te>2?H[2]:n;for(le=b.length>3&&typeof le=="function"?(te--,le):n,xe&&P1(H[0],H[1],xe)&&(le=te<3?n:le,te=1),C=Ir(C);++$-1?te[le?C[xe]:xe]:n}}function hge(b){return zp(function(C){var H=C.length,$=H,te=o5.prototype.thru;for(b&&C.reverse();$--;){var le=C[$];if(typeof le!="function")throw new s5(i);if(te&&!xe&&aF(le)=="wrapper")var xe=new o5([],!0)}for($=xe?$:H;++$1&&fa.reverse(),f0&&FeIe))return!1;var r0=le.get(b),f0=le.get(C);if(r0&&f0)return r0==C&&f0==b;var m0=-1,Q0=!0,dt=H&k?new Y4:n;for(le.set(b,C),le.set(C,b);++m01?"& ":"")+C[$],C=C.join(H>2?", ":" "),b.replace(Y0,`{ /* [wrapped with `+C+`] */ -`)}function FC0(b){return nn(b)||Z4(b)||!!(S9e&&b&&b[S9e])}function Wp(b,C){var H=typeof b;return C=C??x,!!C&&(H=="number"||H!="symbol"&&Nn.test(b))&&b>-1&&b%1==0&&b0){if(++C>=N)return arguments[0]}else C=0;return b.apply(n,arguments)}}function fF(b,C){var H=-1,$=b.length,te=$-1;for(C=C===n?$:C;++H1?b[C-1]:n;return H=typeof H=="function"?(b.pop(),H):n,Uge(b,H)});function Hge(b){var C=se(b);return C.__chain__=!0,C}function QI0(b,C){return C(b),b}function iF(b,C){return C(b)}var VI0=zp(function(b){var C=b.length,H=C?b[0]:0,$=this.__wrapped__,te=function(le){return bee(le,b)};return C>1||this.__actions__.length||!($ instanceof $n)||!Wp(H)?this.thru(te):($=$.slice(H,+H+(C?1:0)),$.__actions__.push({func:iF,args:[te],thisArg:n}),new o5($,this.__chain__).thru(function(le){return C&&!le.length&&le.push(n),le}))});function YI0(){return Hge(this)}function $I0(){return new o5(this.value(),this.__chain__)}function JI0(){this.__values__===n&&(this.__values__=eve(this.value()));var b=this.__index__>=this.__values__.length,C=b?n:this.__values__[this.__index__++];return{done:b,value:C}}function XI0(){return this}function ZI0(b){for(var C,H=this;H instanceof GL;){var $=Dge(H);$.__index__=0,$.__values__=n,C?te.__wrapped__=$:C=$;var te=$;H=H.__wrapped__}return te.__wrapped__=b,C}function ek0(){var b=this.__wrapped__;if(b instanceof $n){var C=b;return this.__actions__.length&&(C=new $n(this)),C=C.reverse(),C.__actions__.push({func:iF,args:[qee],thisArg:n}),new o5(C,this.__chain__)}return this.thru(qee)}function tk0(){return nge(this.__wrapped__,this.__actions__)}var nk0=XL(function(b,C,H){fr.call(b,H)?++b[H]:Up(b,H,1)});function ak0(b,C,H){var $=nn(b)?b9e:QA0;return H&&P1(b,C,H)&&(C=n),$(b,Mt(C,3))}function rk0(b,C){var H=nn(b)?n3:U9e;return H(b,Mt(C,3))}var fk0=pge(Pge),ik0=pge(Lge);function sk0(b,C){return Qs(sF(b,C),1)}function ok0(b,C){return Qs(sF(b,C),L)}function ck0(b,C,H){return H=H===n?1:gn(H),Qs(sF(b,C),H)}function zge(b,C){var H=nn(b)?i5:i3;return H(b,Mt(C,3))}function Wge(b,C){var H=nn(b)?k_0:O9e;return H(b,Mt(C,3))}var dk0=XL(function(b,C,H){fr.call(b,H)?b[H].push(C):Up(b,H,[C])});function lk0(b,C,H,$){b=xc(b)?b:Bv(b),H=H&&!$?gn(H):0;var te=b.length;return H<0&&(H=Qi(te+H,0)),uF(b)?H<=te&&b.indexOf(C,H)>-1:!!te&&wv(b,C,H)>-1}var uk0=Sn(function(b,C,H){var $=-1,te=typeof C=="function",le=xc(b)?We(b.length):[];return i3(b,function(xe){le[++$]=te?d6(C,xe,H):QC(xe,C,H)}),le}),pk0=XL(function(b,C,H){Up(b,H,C)});function sF(b,C){var H=nn(b)?cf:G9e;return H(b,Mt(C,3))}function hk0(b,C,H,$){return b==null?[]:(nn(C)||(C=C==null?[]:[C]),H=$?n:H,nn(H)||(H=H==null?[]:[H]),Y9e(b,C,H))}var bk0=XL(function(b,C,H){b[H?0:1].push(C)},function(){return[[],[]]});function mk0(b,C,H){var $=nn(b)?nee:v9e,te=arguments.length<3;return $(b,Mt(C,4),H,te,i3)}function yk0(b,C,H){var $=nn(b)?S_0:v9e,te=arguments.length<3;return $(b,Mt(C,4),H,te,O9e)}function gk0(b,C){var H=nn(b)?n3:U9e;return H(b,dF(Mt(C,3)))}function vk0(b){var C=nn(b)?P9e:lC0;return C(b)}function wk0(b,C,H){(H?P1(b,C,H):C===n)?C=1:C=gn(C);var $=nn(b)?WA0:uC0;return $(b,C)}function Tk0(b){var C=nn(b)?qA0:hC0;return C(b)}function xk0(b){if(b==null)return 0;if(xc(b))return uF(b)?xv(b):b.length;var C=ko(b);return C==de||C==_0?b.size:Tee(b).length}function Ek0(b,C,H){var $=nn(b)?aee:bC0;return H&&P1(b,C,H)&&(C=n),$(b,Mt(C,3))}var _k0=Sn(function(b,C){if(b==null)return[];var H=C.length;return H>1&&P1(b,C[0],C[1])?C=[]:H>2&&P1(C[0],C[1],C[2])&&(C=[C[0]]),Y9e(b,Qs(C,1),[])}),oF=rA0||function(){return Ks.Date.now()};function Ak0(b,C){if(typeof C!="function")throw new s5(i);return b=gn(b),function(){if(--b<1)return C.apply(this,arguments)}}function qge(b,C,H){return C=H?n:C,C=b&&C==null?b.length:C,Hp(b,X,n,n,n,n,C)}function jge(b,C){var H;if(typeof C!="function")throw new s5(i);return b=gn(b),function(){return--b>0&&(H=C.apply(this,arguments)),b<=1&&(C=n),H}}var Gee=Sn(function(b,C,H){var $=O;if(H.length){var te=r3(H,Rv(Gee));$|=Q}return Hp(b,$,C,H,te)}),Gge=Sn(function(b,C,H){var $=O|F;if(H.length){var te=r3(H,Rv(Gge));$|=Q}return Hp(C,$,b,H,te)});function Kge(b,C,H){C=H?n:C;var $=Hp(b,W,n,n,n,n,n,C);return $.placeholder=Kge.placeholder,$}function Qge(b,C,H){C=H?n:C;var $=Hp(b,j,n,n,n,n,n,C);return $.placeholder=Qge.placeholder,$}function Vge(b,C,H){var $,te,le,xe,Ie,Fe,r0=0,f0=!1,m0=!1,Q0=!0;if(typeof b!="function")throw new s5(i);C=u5(C)||0,Cf(H)&&(f0=!!H.leading,m0="maxWait"in H,le=m0?Qi(u5(H.maxWait)||0,C):le,Q0="trailing"in H?!!H.trailing:Q0);function dt(ci){var Gd=$,Gp=te;return $=te=n,r0=ci,xe=b.apply(Gp,Gd),xe}function Bt(ci){return r0=ci,Ie=XC(Kn,C),f0?dt(ci):xe}function xn(ci){var Gd=ci-Fe,Gp=ci-r0,pve=C-Gd;return m0?Io(pve,le-Gp):pve}function Dt(ci){var Gd=ci-Fe,Gp=ci-r0;return Fe===n||Gd>=C||Gd<0||m0&&Gp>=le}function Kn(){var ci=oF();if(Dt(ci))return fa(ci);Ie=XC(Kn,xn(ci))}function fa(ci){return Ie=n,Q0&&$?dt(ci):($=te=n,xe)}function h6(){Ie!==n&&rge(Ie),r0=0,$=Fe=te=Ie=n}function L1(){return Ie===n?xe:fa(oF())}function b6(){var ci=oF(),Gd=Dt(ci);if($=arguments,te=this,Fe=ci,Gd){if(Ie===n)return Bt(Fe);if(m0)return rge(Ie),Ie=XC(Kn,C),dt(Fe)}return Ie===n&&(Ie=XC(Kn,C)),xe}return b6.cancel=h6,b6.flush=L1,b6}var Ck0=Sn(function(b,C){return N9e(b,1,C)}),Ik0=Sn(function(b,C,H){return N9e(b,u5(C)||0,H)});function kk0(b){return Hp(b,G)}function cF(b,C){if(typeof b!="function"||C!=null&&typeof C!="function")throw new s5(i);var H=function(){var $=arguments,te=C?C.apply(this,$):$[0],le=H.cache;if(le.has(te))return le.get(te);var xe=b.apply(this,$);return H.cache=le.set(te,xe)||le,xe};return H.cache=new(cF.Cache||Op),H}cF.Cache=Op;function dF(b){if(typeof b!="function")throw new s5(i);return function(){var C=arguments;switch(C.length){case 0:return!b.call(this);case 1:return!b.call(this,C[0]);case 2:return!b.call(this,C[0],C[1]);case 3:return!b.call(this,C[0],C[1],C[2])}return!b.apply(this,C)}}function Sk0(b){return jge(2,b)}var Rk0=mC0(function(b,C){C=C.length==1&&nn(C[0])?cf(C[0],l6(Mt())):cf(Qs(C,1),l6(Mt()));var H=C.length;return Sn(function($){for(var te=-1,le=Io($.length,H);++te=C}),Z4=W9e(function(){return arguments}())?W9e:function(b){return Gf(b)&&fr.call(b,"callee")&&!k9e.call(b,"callee")},nn=We.isArray,Gk0=c9e?l6(c9e):ZA0;function xc(b){return b!=null&&lF(b.length)&&!qp(b)}function oi(b){return Gf(b)&&xc(b)}function Kk0(b){return b===!0||b===!1||Gf(b)&&D1(b)==ne}var d3=iA0||a0e,Qk0=d9e?l6(d9e):eC0;function Vk0(b){return Gf(b)&&b.nodeType===1&&!ZC(b)}function Yk0(b){if(b==null)return!0;if(xc(b)&&(nn(b)||typeof b=="string"||typeof b.splice=="function"||d3(b)||Mv(b)||Z4(b)))return!b.length;var C=ko(b);if(C==de||C==_0)return!b.size;if(JC(b))return!Tee(b).length;for(var H in b)if(fr.call(b,H))return!1;return!0}function $k0(b,C){return VC(b,C)}function Jk0(b,C,H){H=typeof H=="function"?H:n;var $=H?H(b,C):n;return $===n?VC(b,C,n,H):!!$}function Qee(b){if(!Gf(b))return!1;var C=D1(b);return C==re||C==Y||typeof b.message=="string"&&typeof b.name=="string"&&!ZC(b)}function Xk0(b){return typeof b=="number"&&R9e(b)}function qp(b){if(!Cf(b))return!1;var C=D1(b);return C==ie||C==ge||C==Z||C==Ye}function $ge(b){return typeof b=="number"&&b==gn(b)}function lF(b){return typeof b=="number"&&b>-1&&b%1==0&&b<=x}function Cf(b){var C=typeof b;return b!=null&&(C=="object"||C=="function")}function Gf(b){return b!=null&&typeof b=="object"}var Jge=l9e?l6(l9e):nC0;function Zk0(b,C){return b===C||wee(b,C,Nee(C))}function eS0(b,C,H){return H=typeof H=="function"?H:n,wee(b,C,Nee(C),H)}function tS0(b){return Xge(b)&&b!=+b}function nS0(b){if(UC0(b))throw new Kt(f);return q9e(b)}function aS0(b){return b===null}function rS0(b){return b==null}function Xge(b){return typeof b=="number"||Gf(b)&&D1(b)==Ae}function ZC(b){if(!Gf(b)||D1(b)!=Be)return!1;var C=OL(b);if(C===null)return!0;var H=fr.call(C,"constructor")&&C.constructor;return typeof H=="function"&&H instanceof H&&PL.call(H)==eA0}var Vee=u9e?l6(u9e):aC0;function fS0(b){return $ge(b)&&b>=-x&&b<=x}var Zge=p9e?l6(p9e):rC0;function uF(b){return typeof b=="string"||!nn(b)&&Gf(b)&&D1(b)==L0}function p6(b){return typeof b=="symbol"||Gf(b)&&D1(b)==Ze}var Mv=h9e?l6(h9e):fC0;function iS0(b){return b===n}function sS0(b){return Gf(b)&&ko(b)==pe}function oS0(b){return Gf(b)&&D1(b)==he}var cS0=nF(xee),dS0=nF(function(b,C){return b<=C});function eve(b){if(!b)return[];if(xc(b))return uF(b)?Wd(b):Tc(b);if(HC&&b[HC])return W_0(b[HC]());var C=ko(b),H=C==de?cee:C==_0?ML:Bv;return H(b)}function jp(b){if(!b)return b===0?b:0;if(b=u5(b),b===L||b===-L){var C=b<0?-1:1;return C*g}return b===b?b:0}function gn(b){var C=jp(b),H=C%1;return C===C?H?C-H:C:0}function tve(b){return b?Y4(gn(b),0,M):0}function u5(b){if(typeof b=="number")return b;if(p6(b))return B;if(Cf(b)){var C=typeof b.valueOf=="function"?b.valueOf():b;b=Cf(C)?C+"":C}if(typeof b!="string")return b===0?b:+b;b=w9e(b);var H=Pn.test(b);return H||Fn.test(b)?A_0(b.slice(2),H?2:8):Tt.test(b)?B:+b}function nve(b){return a2(b,Ec(b))}function lS0(b){return b?Y4(gn(b),-x,x):b===0?b:0}function Qa(b){return b==null?"":u6(b)}var uS0=kv(function(b,C){if(JC(C)||xc(C)){a2(C,os(C),b);return}for(var H in C)fr.call(C,H)&&GC(b,H,C[H])}),ave=kv(function(b,C){a2(C,Ec(C),b)}),pF=kv(function(b,C,H,$){a2(C,Ec(C),b,$)}),pS0=kv(function(b,C,H,$){a2(C,os(C),b,$)}),hS0=zp(bee);function bS0(b,C){var H=Iv(b);return C==null?H:L9e(H,C)}var mS0=Sn(function(b,C){b=Ir(b);var H=-1,$=C.length,te=$>2?C[2]:n;for(te&&P1(C[0],C[1],te)&&($=1);++H<$;)for(var le=C[H],xe=Ec(le),Ie=-1,Fe=xe.length;++Ie1),le}),a2(b,Lee(b),H),$&&(H=c5(H,l|h|y,IC0));for(var te=C.length;te--;)Iee(H,C[te]);return H});function PS0(b,C){return fve(b,dF(Mt(C)))}var LS0=zp(function(b,C){return b==null?{}:oC0(b,C)});function fve(b,C){if(b==null)return{};var H=cf(Lee(b),function($){return[$]});return C=Mt(C),$9e(b,H,function($,te){return C($,te[0])})}function FS0(b,C,H){C=o3(C,b);var $=-1,te=C.length;for(te||(te=1,b=n);++$C){var $=b;b=C,C=$}if(H||b%1||C%1){var te=M9e();return Io(b+te*(C-b+__0("1e-"+((te+"").length-1))),C)}return _ee(b,C)}var QS0=Sv(function(b,C,H){return C=C.toLowerCase(),b+(H?ove(C):C)});function ove(b){return Jee(Qa(b).toLowerCase())}function cve(b){return b=Qa(b),b&&b.replace(On,N_0).replace(h_0,"")}function VS0(b,C,H){b=Qa(b),C=u6(C);var $=b.length;H=H===n?$:Y4(gn(H),0,$);var te=H;return H-=C.length,H>=0&&b.slice(H,te)==C}function YS0(b){return b=Qa(b),b&&$e.test(b)?b.replace(b0,O_0):b}function $S0(b){return b=Qa(b),b&&G0.test(b)?b.replace(B0,"\\$&"):b}var JS0=Sv(function(b,C,H){return b+(H?"-":"")+C.toLowerCase()}),XS0=Sv(function(b,C,H){return b+(H?" ":"")+C.toLowerCase()}),ZS0=uge("toLowerCase");function eR0(b,C,H){b=Qa(b),C=gn(C);var $=C?xv(b):0;if(!C||$>=C)return b;var te=(C-$)/2;return tF(WL(te),H)+b+tF(zL(te),H)}function tR0(b,C,H){b=Qa(b),C=gn(C);var $=C?xv(b):0;return C&&$>>0,H?(b=Qa(b),b&&(typeof C=="string"||C!=null&&!Vee(C))&&(C=u6(C),!C&&Tv(b))?c3(Wd(b),0,H):b.split(C,H)):[]}var oR0=Sv(function(b,C,H){return b+(H?" ":"")+Jee(C)});function cR0(b,C,H){return b=Qa(b),H=H==null?0:Y4(gn(H),0,b.length),C=u6(C),b.slice(H,H+C.length)==C}function dR0(b,C,H){var $=se.templateSettings;H&&P1(b,C,H)&&(C=n),b=Qa(b),C=pF({},C,$,vge);var te=pF({},C.imports,$.imports,vge),le=os(te),xe=oee(te,le),Ie,Fe,r0=0,f0=C.interpolate||Ha,m0="__p += '",Q0=dee((C.escape||Ha).source+"|"+f0.source+"|"+(f0===t0?Et:Ha).source+"|"+(C.evaluate||Ha).source+"|$","g"),dt="//# sourceURL="+(fr.call(C,"sourceURL")?(C.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++v_0+"]")+` +`)}function FC0(b){return nn(b)||ey(b)||!!(S9e&&b&&b[S9e])}function Wp(b,C){var H=typeof b;return C=C??x,!!C&&(H=="number"||H!="symbol"&&Nn.test(b))&&b>-1&&b%1==0&&b0){if(++C>=N)return arguments[0]}else C=0;return b.apply(n,arguments)}}function fF(b,C){var H=-1,$=b.length,te=$-1;for(C=C===n?$:C;++H1?b[C-1]:n;return H=typeof H=="function"?(b.pop(),H):n,Uge(b,H)});function Hge(b){var C=se(b);return C.__chain__=!0,C}function QI0(b,C){return C(b),b}function iF(b,C){return C(b)}var VI0=zp(function(b){var C=b.length,H=C?b[0]:0,$=this.__wrapped__,te=function(le){return bee(le,b)};return C>1||this.__actions__.length||!($ instanceof $n)||!Wp(H)?this.thru(te):($=$.slice(H,+H+(C?1:0)),$.__actions__.push({func:iF,args:[te],thisArg:n}),new o5($,this.__chain__).thru(function(le){return C&&!le.length&&le.push(n),le}))});function YI0(){return Hge(this)}function $I0(){return new o5(this.value(),this.__chain__)}function JI0(){this.__values__===n&&(this.__values__=eve(this.value()));var b=this.__index__>=this.__values__.length,C=b?n:this.__values__[this.__index__++];return{done:b,value:C}}function XI0(){return this}function ZI0(b){for(var C,H=this;H instanceof GL;){var $=Dge(H);$.__index__=0,$.__values__=n,C?te.__wrapped__=$:C=$;var te=$;H=H.__wrapped__}return te.__wrapped__=b,C}function ek0(){var b=this.__wrapped__;if(b instanceof $n){var C=b;return this.__actions__.length&&(C=new $n(this)),C=C.reverse(),C.__actions__.push({func:iF,args:[qee],thisArg:n}),new o5(C,this.__chain__)}return this.thru(qee)}function tk0(){return nge(this.__wrapped__,this.__actions__)}var nk0=XL(function(b,C,H){fr.call(b,H)?++b[H]:Up(b,H,1)});function ak0(b,C,H){var $=nn(b)?b9e:QA0;return H&&P1(b,C,H)&&(C=n),$(b,Mt(C,3))}function rk0(b,C){var H=nn(b)?n3:U9e;return H(b,Mt(C,3))}var fk0=pge(Pge),ik0=pge(Lge);function sk0(b,C){return Qs(sF(b,C),1)}function ok0(b,C){return Qs(sF(b,C),L)}function ck0(b,C,H){return H=H===n?1:gn(H),Qs(sF(b,C),H)}function zge(b,C){var H=nn(b)?i5:i3;return H(b,Mt(C,3))}function Wge(b,C){var H=nn(b)?k_0:O9e;return H(b,Mt(C,3))}var dk0=XL(function(b,C,H){fr.call(b,H)?b[H].push(C):Up(b,H,[C])});function lk0(b,C,H,$){b=xc(b)?b:Bv(b),H=H&&!$?gn(H):0;var te=b.length;return H<0&&(H=Qi(te+H,0)),uF(b)?H<=te&&b.indexOf(C,H)>-1:!!te&&wv(b,C,H)>-1}var uk0=Sn(function(b,C,H){var $=-1,te=typeof C=="function",le=xc(b)?We(b.length):[];return i3(b,function(xe){le[++$]=te?d6(C,xe,H):QC(xe,C,H)}),le}),pk0=XL(function(b,C,H){Up(b,H,C)});function sF(b,C){var H=nn(b)?cf:G9e;return H(b,Mt(C,3))}function hk0(b,C,H,$){return b==null?[]:(nn(C)||(C=C==null?[]:[C]),H=$?n:H,nn(H)||(H=H==null?[]:[H]),Y9e(b,C,H))}var bk0=XL(function(b,C,H){b[H?0:1].push(C)},function(){return[[],[]]});function mk0(b,C,H){var $=nn(b)?nee:v9e,te=arguments.length<3;return $(b,Mt(C,4),H,te,i3)}function yk0(b,C,H){var $=nn(b)?S_0:v9e,te=arguments.length<3;return $(b,Mt(C,4),H,te,O9e)}function gk0(b,C){var H=nn(b)?n3:U9e;return H(b,dF(Mt(C,3)))}function vk0(b){var C=nn(b)?P9e:lC0;return C(b)}function wk0(b,C,H){(H?P1(b,C,H):C===n)?C=1:C=gn(C);var $=nn(b)?WA0:uC0;return $(b,C)}function Tk0(b){var C=nn(b)?qA0:hC0;return C(b)}function xk0(b){if(b==null)return 0;if(xc(b))return uF(b)?xv(b):b.length;var C=ko(b);return C==de||C==_0?b.size:Tee(b).length}function Ek0(b,C,H){var $=nn(b)?aee:bC0;return H&&P1(b,C,H)&&(C=n),$(b,Mt(C,3))}var _k0=Sn(function(b,C){if(b==null)return[];var H=C.length;return H>1&&P1(b,C[0],C[1])?C=[]:H>2&&P1(C[0],C[1],C[2])&&(C=[C[0]]),Y9e(b,Qs(C,1),[])}),oF=rA0||function(){return Ks.Date.now()};function Ak0(b,C){if(typeof C!="function")throw new s5(i);return b=gn(b),function(){if(--b<1)return C.apply(this,arguments)}}function qge(b,C,H){return C=H?n:C,C=b&&C==null?b.length:C,Hp(b,X,n,n,n,n,C)}function jge(b,C){var H;if(typeof C!="function")throw new s5(i);return b=gn(b),function(){return--b>0&&(H=C.apply(this,arguments)),b<=1&&(C=n),H}}var Gee=Sn(function(b,C,H){var $=O;if(H.length){var te=r3(H,Rv(Gee));$|=Q}return Hp(b,$,C,H,te)}),Gge=Sn(function(b,C,H){var $=O|F;if(H.length){var te=r3(H,Rv(Gge));$|=Q}return Hp(C,$,b,H,te)});function Kge(b,C,H){C=H?n:C;var $=Hp(b,W,n,n,n,n,n,C);return $.placeholder=Kge.placeholder,$}function Qge(b,C,H){C=H?n:C;var $=Hp(b,j,n,n,n,n,n,C);return $.placeholder=Qge.placeholder,$}function Vge(b,C,H){var $,te,le,xe,Ie,Fe,r0=0,f0=!1,m0=!1,Q0=!0;if(typeof b!="function")throw new s5(i);C=u5(C)||0,Cf(H)&&(f0=!!H.leading,m0="maxWait"in H,le=m0?Qi(u5(H.maxWait)||0,C):le,Q0="trailing"in H?!!H.trailing:Q0);function dt(ci){var Gd=$,Gp=te;return $=te=n,r0=ci,xe=b.apply(Gp,Gd),xe}function Bt(ci){return r0=ci,Ie=XC(Kn,C),f0?dt(ci):xe}function xn(ci){var Gd=ci-Fe,Gp=ci-r0,pve=C-Gd;return m0?Io(pve,le-Gp):pve}function Dt(ci){var Gd=ci-Fe,Gp=ci-r0;return Fe===n||Gd>=C||Gd<0||m0&&Gp>=le}function Kn(){var ci=oF();if(Dt(ci))return fa(ci);Ie=XC(Kn,xn(ci))}function fa(ci){return Ie=n,Q0&&$?dt(ci):($=te=n,xe)}function h6(){Ie!==n&&rge(Ie),r0=0,$=Fe=te=Ie=n}function L1(){return Ie===n?xe:fa(oF())}function b6(){var ci=oF(),Gd=Dt(ci);if($=arguments,te=this,Fe=ci,Gd){if(Ie===n)return Bt(Fe);if(m0)return rge(Ie),Ie=XC(Kn,C),dt(Fe)}return Ie===n&&(Ie=XC(Kn,C)),xe}return b6.cancel=h6,b6.flush=L1,b6}var Ck0=Sn(function(b,C){return N9e(b,1,C)}),Ik0=Sn(function(b,C,H){return N9e(b,u5(C)||0,H)});function kk0(b){return Hp(b,G)}function cF(b,C){if(typeof b!="function"||C!=null&&typeof C!="function")throw new s5(i);var H=function(){var $=arguments,te=C?C.apply(this,$):$[0],le=H.cache;if(le.has(te))return le.get(te);var xe=b.apply(this,$);return H.cache=le.set(te,xe)||le,xe};return H.cache=new(cF.Cache||Op),H}cF.Cache=Op;function dF(b){if(typeof b!="function")throw new s5(i);return function(){var C=arguments;switch(C.length){case 0:return!b.call(this);case 1:return!b.call(this,C[0]);case 2:return!b.call(this,C[0],C[1]);case 3:return!b.call(this,C[0],C[1],C[2])}return!b.apply(this,C)}}function Sk0(b){return jge(2,b)}var Rk0=mC0(function(b,C){C=C.length==1&&nn(C[0])?cf(C[0],l6(Mt())):cf(Qs(C,1),l6(Mt()));var H=C.length;return Sn(function($){for(var te=-1,le=Io($.length,H);++te=C}),ey=W9e(function(){return arguments}())?W9e:function(b){return Gf(b)&&fr.call(b,"callee")&&!k9e.call(b,"callee")},nn=We.isArray,Gk0=c9e?l6(c9e):ZA0;function xc(b){return b!=null&&lF(b.length)&&!qp(b)}function oi(b){return Gf(b)&&xc(b)}function Kk0(b){return b===!0||b===!1||Gf(b)&&D1(b)==ne}var d3=iA0||a0e,Qk0=d9e?l6(d9e):eC0;function Vk0(b){return Gf(b)&&b.nodeType===1&&!ZC(b)}function Yk0(b){if(b==null)return!0;if(xc(b)&&(nn(b)||typeof b=="string"||typeof b.splice=="function"||d3(b)||Mv(b)||ey(b)))return!b.length;var C=ko(b);if(C==de||C==_0)return!b.size;if(JC(b))return!Tee(b).length;for(var H in b)if(fr.call(b,H))return!1;return!0}function $k0(b,C){return VC(b,C)}function Jk0(b,C,H){H=typeof H=="function"?H:n;var $=H?H(b,C):n;return $===n?VC(b,C,n,H):!!$}function Qee(b){if(!Gf(b))return!1;var C=D1(b);return C==re||C==Y||typeof b.message=="string"&&typeof b.name=="string"&&!ZC(b)}function Xk0(b){return typeof b=="number"&&R9e(b)}function qp(b){if(!Cf(b))return!1;var C=D1(b);return C==ie||C==ge||C==Z||C==Ye}function $ge(b){return typeof b=="number"&&b==gn(b)}function lF(b){return typeof b=="number"&&b>-1&&b%1==0&&b<=x}function Cf(b){var C=typeof b;return b!=null&&(C=="object"||C=="function")}function Gf(b){return b!=null&&typeof b=="object"}var Jge=l9e?l6(l9e):nC0;function Zk0(b,C){return b===C||wee(b,C,Nee(C))}function eS0(b,C,H){return H=typeof H=="function"?H:n,wee(b,C,Nee(C),H)}function tS0(b){return Xge(b)&&b!=+b}function nS0(b){if(UC0(b))throw new Kt(f);return q9e(b)}function aS0(b){return b===null}function rS0(b){return b==null}function Xge(b){return typeof b=="number"||Gf(b)&&D1(b)==Ae}function ZC(b){if(!Gf(b)||D1(b)!=Be)return!1;var C=OL(b);if(C===null)return!0;var H=fr.call(C,"constructor")&&C.constructor;return typeof H=="function"&&H instanceof H&&PL.call(H)==eA0}var Vee=u9e?l6(u9e):aC0;function fS0(b){return $ge(b)&&b>=-x&&b<=x}var Zge=p9e?l6(p9e):rC0;function uF(b){return typeof b=="string"||!nn(b)&&Gf(b)&&D1(b)==L0}function p6(b){return typeof b=="symbol"||Gf(b)&&D1(b)==Ze}var Mv=h9e?l6(h9e):fC0;function iS0(b){return b===n}function sS0(b){return Gf(b)&&ko(b)==pe}function oS0(b){return Gf(b)&&D1(b)==he}var cS0=nF(xee),dS0=nF(function(b,C){return b<=C});function eve(b){if(!b)return[];if(xc(b))return uF(b)?Wd(b):Tc(b);if(HC&&b[HC])return W_0(b[HC]());var C=ko(b),H=C==de?cee:C==_0?ML:Bv;return H(b)}function jp(b){if(!b)return b===0?b:0;if(b=u5(b),b===L||b===-L){var C=b<0?-1:1;return C*g}return b===b?b:0}function gn(b){var C=jp(b),H=C%1;return C===C?H?C-H:C:0}function tve(b){return b?$4(gn(b),0,M):0}function u5(b){if(typeof b=="number")return b;if(p6(b))return B;if(Cf(b)){var C=typeof b.valueOf=="function"?b.valueOf():b;b=Cf(C)?C+"":C}if(typeof b!="string")return b===0?b:+b;b=w9e(b);var H=Pn.test(b);return H||Fn.test(b)?A_0(b.slice(2),H?2:8):Tt.test(b)?B:+b}function nve(b){return a2(b,Ec(b))}function lS0(b){return b?$4(gn(b),-x,x):b===0?b:0}function Qa(b){return b==null?"":u6(b)}var uS0=kv(function(b,C){if(JC(C)||xc(C)){a2(C,os(C),b);return}for(var H in C)fr.call(C,H)&&GC(b,H,C[H])}),ave=kv(function(b,C){a2(C,Ec(C),b)}),pF=kv(function(b,C,H,$){a2(C,Ec(C),b,$)}),pS0=kv(function(b,C,H,$){a2(C,os(C),b,$)}),hS0=zp(bee);function bS0(b,C){var H=Iv(b);return C==null?H:L9e(H,C)}var mS0=Sn(function(b,C){b=Ir(b);var H=-1,$=C.length,te=$>2?C[2]:n;for(te&&P1(C[0],C[1],te)&&($=1);++H<$;)for(var le=C[H],xe=Ec(le),Ie=-1,Fe=xe.length;++Ie1),le}),a2(b,Lee(b),H),$&&(H=c5(H,l|h|y,IC0));for(var te=C.length;te--;)Iee(H,C[te]);return H});function PS0(b,C){return fve(b,dF(Mt(C)))}var LS0=zp(function(b,C){return b==null?{}:oC0(b,C)});function fve(b,C){if(b==null)return{};var H=cf(Lee(b),function($){return[$]});return C=Mt(C),$9e(b,H,function($,te){return C($,te[0])})}function FS0(b,C,H){C=o3(C,b);var $=-1,te=C.length;for(te||(te=1,b=n);++$C){var $=b;b=C,C=$}if(H||b%1||C%1){var te=M9e();return Io(b+te*(C-b+__0("1e-"+((te+"").length-1))),C)}return _ee(b,C)}var QS0=Sv(function(b,C,H){return C=C.toLowerCase(),b+(H?ove(C):C)});function ove(b){return Jee(Qa(b).toLowerCase())}function cve(b){return b=Qa(b),b&&b.replace(On,N_0).replace(h_0,"")}function VS0(b,C,H){b=Qa(b),C=u6(C);var $=b.length;H=H===n?$:$4(gn(H),0,$);var te=H;return H-=C.length,H>=0&&b.slice(H,te)==C}function YS0(b){return b=Qa(b),b&&$e.test(b)?b.replace(b0,O_0):b}function $S0(b){return b=Qa(b),b&&G0.test(b)?b.replace(B0,"\\$&"):b}var JS0=Sv(function(b,C,H){return b+(H?"-":"")+C.toLowerCase()}),XS0=Sv(function(b,C,H){return b+(H?" ":"")+C.toLowerCase()}),ZS0=uge("toLowerCase");function eR0(b,C,H){b=Qa(b),C=gn(C);var $=C?xv(b):0;if(!C||$>=C)return b;var te=(C-$)/2;return tF(WL(te),H)+b+tF(zL(te),H)}function tR0(b,C,H){b=Qa(b),C=gn(C);var $=C?xv(b):0;return C&&$>>0,H?(b=Qa(b),b&&(typeof C=="string"||C!=null&&!Vee(C))&&(C=u6(C),!C&&Tv(b))?c3(Wd(b),0,H):b.split(C,H)):[]}var oR0=Sv(function(b,C,H){return b+(H?" ":"")+Jee(C)});function cR0(b,C,H){return b=Qa(b),H=H==null?0:$4(gn(H),0,b.length),C=u6(C),b.slice(H,H+C.length)==C}function dR0(b,C,H){var $=se.templateSettings;H&&P1(b,C,H)&&(C=n),b=Qa(b),C=pF({},C,$,vge);var te=pF({},C.imports,$.imports,vge),le=os(te),xe=oee(te,le),Ie,Fe,r0=0,f0=C.interpolate||Ha,m0="__p += '",Q0=dee((C.escape||Ha).source+"|"+f0.source+"|"+(f0===t0?Et:Ha).source+"|"+(C.evaluate||Ha).source+"|$","g"),dt="//# sourceURL="+(fr.call(C,"sourceURL")?(C.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++v_0+"]")+` `;b.replace(Q0,function(Dt,Kn,fa,h6,L1,b6){return fa||(fa=h6),m0+=b.slice(r0,b6).replace(pr,U_0),Kn&&(Ie=!0,m0+=`' + __e(`+Kn+`) + '`),L1&&(Fe=!0,m0+=`'; @@ -227,49 +227,49 @@ __p += '`),fa&&(m0+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+m0+`return __p -}`;var xn=lve(function(){return Wa(le,dt+"return "+m0).apply(n,xe)});if(xn.source=m0,Qee(xn))throw xn;return xn}function lR0(b){return Qa(b).toLowerCase()}function uR0(b){return Qa(b).toUpperCase()}function pR0(b,C,H){if(b=Qa(b),b&&(H||C===n))return w9e(b);if(!b||!(C=u6(C)))return b;var $=Wd(b),te=Wd(C),le=T9e($,te),xe=x9e($,te)+1;return c3($,le,xe).join("")}function hR0(b,C,H){if(b=Qa(b),b&&(H||C===n))return b.slice(0,_9e(b)+1);if(!b||!(C=u6(C)))return b;var $=Wd(b),te=x9e($,Wd(C))+1;return c3($,0,te).join("")}function bR0(b,C,H){if(b=Qa(b),b&&(H||C===n))return b.replace(s0,"");if(!b||!(C=u6(C)))return b;var $=Wd(b),te=T9e($,Wd(C));return c3($,te).join("")}function mR0(b,C){var H=R,$=T;if(Cf(C)){var te="separator"in C?C.separator:te;H="length"in C?gn(C.length):H,$="omission"in C?u6(C.omission):$}b=Qa(b);var le=b.length;if(Tv(b)){var xe=Wd(b);le=xe.length}if(H>=le)return b;var Ie=H-xv($);if(Ie<1)return $;var Fe=xe?c3(xe,0,Ie).join(""):b.slice(0,Ie);if(te===n)return Fe+$;if(xe&&(Ie+=Fe.length-Ie),Vee(te)){if(b.slice(Ie).search(te)){var r0,f0=Fe;for(te.global||(te=dee(te.source,Qa($0.exec(te))+"g")),te.lastIndex=0;r0=te.exec(f0);)var m0=r0.index;Fe=Fe.slice(0,m0===n?Ie:m0)}}else if(b.indexOf(u6(te),Ie)!=Ie){var Q0=Fe.lastIndexOf(te);Q0>-1&&(Fe=Fe.slice(0,Q0))}return Fe+$}function yR0(b){return b=Qa(b),b&&h0.test(b)?b.replace(Ue,K_0):b}var gR0=Sv(function(b,C,H){return b+(H?" ":"")+C.toUpperCase()}),Jee=uge("toUpperCase");function dve(b,C,H){return b=Qa(b),C=H?n:C,C===n?z_0(b)?Y_0(b):B_0(b):b.match(C)||[]}var lve=Sn(function(b,C){try{return d6(b,n,C)}catch(H){return Qee(H)?H:new Kt(H)}}),vR0=zp(function(b,C){return i5(C,function(H){H=r2(H),Up(b,H,Gee(b[H],b))}),b});function wR0(b){var C=b==null?0:b.length,H=Mt();return b=C?cf(b,function($){if(typeof $[1]!="function")throw new s5(i);return[H($[0]),$[1]]}):[],Sn(function($){for(var te=-1;++tex)return[];var H=M,$=Io(b,M);C=Mt(C),b-=M;for(var te=see($,C);++H0||C<0)?new $n(H):(b<0?H=H.takeRight(-b):b&&(H=H.drop(b)),C!==n&&(C=gn(C),H=C<0?H.dropRight(-C):H.take(C-b)),H)},$n.prototype.takeRightWhile=function(b){return this.reverse().takeWhile(b).reverse()},$n.prototype.toArray=function(){return this.take(M)},n2($n.prototype,function(b,C){var H=/^(?:filter|find|map|reject)|While$/.test(C),$=/^(?:head|last)$/.test(C),te=se[$?"take"+(C=="last"?"Right":""):C],le=$||/^find/.test(C);te&&(se.prototype[C]=function(){var xe=this.__wrapped__,Ie=$?[1]:arguments,Fe=xe instanceof $n,r0=Ie[0],f0=Fe||nn(xe),m0=function(Kn){var fa=te.apply(se,a3([Kn],Ie));return $&&Q0?fa[0]:fa};f0&&H&&typeof r0=="function"&&r0.length!=1&&(Fe=f0=!1);var Q0=this.__chain__,dt=!!this.__actions__.length,Bt=le&&!Q0,xn=Fe&&!dt;if(!le&&f0){xe=xn?xe:new $n(this);var Dt=b.apply(xe,Ie);return Dt.__actions__.push({func:iF,args:[m0],thisArg:n}),new o5(Dt,Q0)}return Bt&&xn?b.apply(this,Ie):(Dt=this.thru(m0),Bt?$?Dt.value()[0]:Dt.value():Dt)})}),i5(["pop","push","shift","sort","splice","unshift"],function(b){var C=BL[b],H=/^(?:push|sort|unshift)$/.test(b)?"tap":"thru",$=/^(?:pop|shift)$/.test(b);se.prototype[b]=function(){var te=arguments;if($&&!this.__chain__){var le=this.value();return C.apply(nn(le)?le:[],te)}return this[H](function(xe){return C.apply(nn(xe)?xe:[],te)})}}),n2($n.prototype,function(b,C){var H=se[C];if(H){var $=H.name+"";fr.call(Cv,$)||(Cv[$]=[]),Cv[$].push({name:C,func:H})}}),Cv[ZL(n,F).name]=[{name:"wrapper",func:n}],$n.prototype.clone=yA0,$n.prototype.reverse=gA0,$n.prototype.value=vA0,se.prototype.at=VI0,se.prototype.chain=YI0,se.prototype.commit=$I0,se.prototype.next=JI0,se.prototype.plant=ZI0,se.prototype.reverse=ek0,se.prototype.toJSON=se.prototype.valueOf=se.prototype.value=tk0,se.prototype.first=se.prototype.head,HC&&(se.prototype[HC]=XI0),se},Ev=$_0();G4?((G4.exports=Ev)._=Ev,ZZ._=Ev):Ks._=Ev}).call(SB)})(xue,xue.exports);Q5n=Object.defineProperty,V5n=Object.defineProperties,Y5n=Object.getOwnPropertyDescriptors,o50=Object.getOwnPropertySymbols,$5n=Object.prototype.hasOwnProperty,J5n=Object.prototype.propertyIsEnumerable,c50=(t,e,n)=>e in t?Q5n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,HQ=(t,e)=>{for(var n in e||(e={}))$5n.call(e,n)&&c50(t,n,e[n]);if(o50)for(var n of o50(e))J5n.call(e,n)&&c50(t,n,e[n]);return t},X5n=(t,e)=>V5n(t,Y5n(e));m50={},gf=t=>m50[t],wue=(t,e)=>{m50[t]=e},Eue=class{constructor(e){this.name="polkadot",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getAccounts(){let e=this.namespace.accounts;return e?e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2])||[]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=$9(n);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Om(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new H6(new md(a,gf("disableProviderPing")))}},_ue=class{constructor(e){this.name="eip155",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.httpProviders=this.createHttpProviders(),this.chainId=parseInt(this.getDefaultChain())}async request(e){switch(e.request.method){case"eth_requestAccounts":return this.getAccounts();case"eth_accounts":return this.getAccounts();case"wallet_switchEthereumChain":return await this.handleSwitchChain(e);case"eth_chainId":return parseInt(this.getDefaultChain())}return this.namespace.methods.includes(e.request.method)?await this.client.request(e):this.getHttpProvider().request(e.request)}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(parseInt(e),n),this.chainId=parseInt(e),this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId.toString();if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}createHttpProvider(e,n){let a=n||Om(`${this.name}:${e}`,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new H6(new md(a,gf("disableProviderPing")))}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=parseInt($9(n));e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}getHttpProvider(){let e=this.chainId,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}async handleSwitchChain(e){var n,a;let r=e.request.params?(n=e.request.params[0])==null?void 0:n.chainId:"0x0";r=r.startsWith("0x")?r:`0x${r}`;let f=parseInt(r,16);if(this.isChainApproved(f))this.setDefaultChain(`${f}`);else if(this.namespace.methods.includes("wallet_switchEthereumChain"))await this.client.request({topic:e.topic,request:{method:e.request.method,params:[{chainId:r}]},chainId:(a=this.namespace.chains)==null?void 0:a[0]}),this.setDefaultChain(`${f}`);else throw new Error(`Failed to switch to chain 'eip155:${f}'. The chain is not approved or the wallet does not support 'wallet_switchEthereumChain' method.`);return null}isChainApproved(e){return this.namespace.chains.includes(`${this.name}:${e}`)}},Aue=class{constructor(e){this.name="solana",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=$9(n);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Om(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new H6(new md(a,gf("disableProviderPing")))}},Cue=class{constructor(e){this.name="cosmos",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=$9(n);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Om(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new H6(new md(a,gf("disableProviderPing")))}},Iue=class{constructor(e){this.name="cip34",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{let a=this.getCardanoRPCUrl(n),r=$9(n);e[r]=this.createHttpProvider(r,a)}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}getCardanoRPCUrl(e){let n=this.namespace.rpcMap;if(n)return n[e]}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||this.getCardanoRPCUrl(e);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new H6(new md(a,gf("disableProviderPing")))}},kue=class{constructor(e){this.name="elrond",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=$9(n);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Om(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new H6(new md(a,gf("disableProviderPing")))}},Sue=class{constructor(e){this.name="multiversx",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=$9(n);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Om(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new H6(new md(a,gf("disableProviderPing")))}},Rue=class{constructor(e){this.name="near",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){if(this.chainId=e,!this.httpProviders[e]){let a=n||Om(`${this.name}:${e}`,this.namespace);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);this.setHttpProvider(e,a)}this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){let e=this.namespace.accounts;return e?e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2])||[]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;e[n]=this.createHttpProvider(n,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Om(e,this.namespace);return typeof a>"u"?void 0:new H6(new md(a,gf("disableProviderPing")))}},tdn=Object.defineProperty,ndn=Object.defineProperties,adn=Object.getOwnPropertyDescriptors,u50=Object.getOwnPropertySymbols,rdn=Object.prototype.hasOwnProperty,fdn=Object.prototype.propertyIsEnumerable,p50=(t,e,n)=>e in t?tdn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,zQ=(t,e)=>{for(var n in e||(e={}))rdn.call(e,n)&&p50(t,n,e[n]);if(u50)for(var n of u50(e))fdn.call(e,n)&&p50(t,n,e[n]);return t},Tue=(t,e)=>ndn(t,adn(e)),Mue=class t{constructor(e){this.events=new h50.default,this.rpcProviders={},this.shouldAbortPairingAttempt=!1,this.maxPairingAttempts=10,this.disableProviderPing=!1,this.providerOpts=e,this.logger=typeof e?.logger<"u"&&typeof e?.logger!="string"?e.logger:(0,_7.default)(A7({level:e?.logger||i50})),this.disableProviderPing=e?.disableProviderPing||!1}static async init(e){let n=new t(e);return await n.initialize(),n}async request(e,n,a){let[r,f]=this.validateChain(n);if(!this.session)throw new Error("Please call connect() before request()");return await this.getProvider(r).request({request:zQ({},e),chainId:`${r}:${f}`,topic:this.session.topic,expiry:a})}sendAsync(e,n,a,r){let f=new Date().getTime();this.request(e,a,r).then(i=>n(null,L8(f,i))).catch(i=>n(i,void 0))}async enable(){if(!this.client)throw new Error("Sign Client not initialized");return this.session||await this.connect({namespaces:this.namespaces,optionalNamespaces:this.optionalNamespaces,sessionProperties:this.sessionProperties}),await this.requestAccounts()}async disconnect(){var e;if(!this.session)throw new Error("Please call connect() before enable()");await this.client.disconnect({topic:(e=this.session)==null?void 0:e.topic,reason:Ca("USER_DISCONNECTED")}),await this.cleanup()}async connect(e){if(!this.client)throw new Error("Sign Client not initialized");if(this.setNamespaces(e),await this.cleanupPendingPairings(),!e.skipPairing)return await this.pair(e.pairingTopic)}async authenticate(e){if(!this.client)throw new Error("Sign Client not initialized");this.setNamespaces(e),await this.cleanupPendingPairings();let{uri:n,response:a}=await this.client.authenticate(e);n&&(this.uri=n,this.events.emit("display_uri",n));let r=await a();if(this.session=r.session,this.session){let f=l50(this.session.namespaces);this.namespaces=gue(this.namespaces,f),this.persist("namespaces",this.namespaces),this.onConnect()}return r}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}removeListener(e,n){this.events.removeListener(e,n)}off(e,n){this.events.off(e,n)}get isWalletConnect(){return!0}async pair(e){this.shouldAbortPairingAttempt=!1;let n=0;do{if(this.shouldAbortPairingAttempt)throw new Error("Pairing aborted");if(n>=this.maxPairingAttempts)throw new Error("Max auto pairing attempts reached");let{uri:a,approval:r}=await this.client.connect({pairingTopic:e,requiredNamespaces:this.namespaces,optionalNamespaces:this.optionalNamespaces,sessionProperties:this.sessionProperties});a&&(this.uri=a,this.events.emit("display_uri",a)),await r().then(f=>{this.session=f;let i=l50(f.namespaces);this.namespaces=gue(this.namespaces,i),this.persist("namespaces",this.namespaces)}).catch(f=>{if(f.message!==mue)throw f;n++})}while(!this.session);return this.onConnect(),this.session}setDefaultChain(e,n){try{if(!this.session)return;let[a,r]=this.validateChain(e);this.getProvider(a).setDefaultChain(r,n)}catch(a){if(!/Please call connect/.test(a.message))throw a}}async cleanupPendingPairings(e={}){this.logger.info("Cleaning up inactive pairings...");let n=this.client.pairing.getAll();if(U6(n)){for(let a of n)e.deletePairings?this.client.core.expirer.set(a.topic,0):await this.client.core.relayer.subscriber.unsubscribe(a.topic);this.logger.info(`Inactive pairings cleared: ${n.length}`)}}abortPairingAttempt(){this.shouldAbortPairingAttempt=!0}async checkStorage(){if(this.namespaces=await this.getFromStore("namespaces"),this.optionalNamespaces=await this.getFromStore("optionalNamespaces")||{},this.client.session.length){let e=this.client.session.keys.length-1;this.session=this.client.session.get(this.client.session.keys[e]),this.createProviders()}}async initialize(){this.logger.trace("Initialized"),await this.createClient(),await this.checkStorage(),this.registerEventListeners()}async createClient(){this.client=this.providerOpts.client||await FQ.init({logger:this.providerOpts.logger||i50,relayUrl:this.providerOpts.relayUrl||q5n,projectId:this.providerOpts.projectId,metadata:this.providerOpts.metadata,storageOptions:this.providerOpts.storageOptions,storage:this.providerOpts.storage,name:this.providerOpts.name}),this.logger.trace("SignClient Initialized")}createProviders(){if(!this.client)throw new Error("Sign Client not initialized");if(!this.session)throw new Error("Session not initialized. Please call connect() before enable()");let e=[...new Set(Object.keys(this.session.namespaces).map(n=>b_(n)))];wue("client",this.client),wue("events",this.events),wue("disableProviderPing",this.disableProviderPing),e.forEach(n=>{if(!this.session)return;let a=Z5n(n,this.session),r=b50(a),f=gue(this.namespaces,this.optionalNamespaces),i=Tue(zQ({},f[n]),{accounts:a,chains:r});switch(n){case"eip155":this.rpcProviders[n]=new _ue({namespace:i});break;case"solana":this.rpcProviders[n]=new Aue({namespace:i});break;case"cosmos":this.rpcProviders[n]=new Cue({namespace:i});break;case"polkadot":this.rpcProviders[n]=new Eue({namespace:i});break;case"cip34":this.rpcProviders[n]=new Iue({namespace:i});break;case"elrond":this.rpcProviders[n]=new kue({namespace:i});break;case"multiversx":this.rpcProviders[n]=new Sue({namespace:i});break;case"near":this.rpcProviders[n]=new Rue({namespace:i});break}})}registerEventListeners(){if(typeof this.client>"u")throw new Error("Sign Client is not initialized");this.client.on("session_ping",e=>{this.events.emit("session_ping",e)}),this.client.on("session_event",e=>{let{params:n}=e,{event:a}=n;if(a.name==="accountsChanged"){let r=a.data;r&&U6(r)&&this.events.emit("accountsChanged",r.map(edn))}else if(a.name==="chainChanged"){let r=n.chainId,f=n.event.data,i=b_(r),s=vue(r)!==vue(f)?`${i}:${vue(f)}`:r;this.onChainChanged(s)}else this.events.emit(a.name,a.data);this.events.emit("session_event",e)}),this.client.on("session_update",({topic:e,params:n})=>{var a;let{namespaces:r}=n,f=(a=this.client)==null?void 0:a.session.get(e);this.session=Tue(zQ({},f),{namespaces:r}),this.onSessionUpdate(),this.events.emit("session_update",{topic:e,params:n})}),this.client.on("session_delete",async e=>{await this.cleanup(),this.events.emit("session_delete",e),this.events.emit("disconnect",Tue(zQ({},Ca("USER_DISCONNECTED")),{data:e.topic}))}),this.on(xh.DEFAULT_CHAIN_CHANGED,e=>{this.onChainChanged(e,!0)})}getProvider(e){if(!this.rpcProviders[e])throw new Error(`Provider not found: ${e}`);return this.rpcProviders[e]}onSessionUpdate(){Object.keys(this.rpcProviders).forEach(e=>{var n;this.getProvider(e).updateNamespace((n=this.session)==null?void 0:n.namespaces[e])})}setNamespaces(e){let{namespaces:n,optionalNamespaces:a,sessionProperties:r}=e;n&&Object.keys(n).length&&(this.namespaces=n),a&&Object.keys(a).length&&(this.optionalNamespaces=a),this.sessionProperties=r,this.persist("namespaces",n),this.persist("optionalNamespaces",a)}validateChain(e){let[n,a]=e?.split(":")||["",""];if(!this.namespaces||!Object.keys(this.namespaces).length)return[n,a];if(n&&!Object.keys(this.namespaces||{}).map(i=>b_(i)).includes(n))throw new Error(`Namespace '${n}' is not configured. Please call connect() first with namespace config.`);if(n&&a)return[n,a];let r=b_(Object.keys(this.namespaces)[0]),f=this.rpcProviders[r].getDefaultChain();return[r,f]}async requestAccounts(){let[e]=this.validateChain();return await this.getProvider(e).requestAccounts()}onChainChanged(e,n=!1){if(!this.namespaces)return;let[a,r]=this.validateChain(e);r&&(n||this.getProvider(a).setDefaultChain(r),this.namespaces[a]?this.namespaces[a].defaultChain=r:this.namespaces[`${a}:${r}`]?this.namespaces[`${a}:${r}`].defaultChain=r:this.namespaces[`${a}:${r}`]={defaultChain:r},this.persist("namespaces",this.namespaces),this.events.emit("chainChanged",r))}onConnect(){this.createProviders(),this.events.emit("connect",{session:this.session})}async cleanup(){this.session=void 0,this.namespaces=void 0,this.optionalNamespaces=void 0,this.sessionProperties=void 0,this.persist("namespaces",void 0),this.persist("optionalNamespaces",void 0),this.persist("sessionProperties",void 0),await this.cleanupPendingPairings({deletePairings:!0})}persist(e,n){this.client.core.storage.setItem(`${s50}/${e}`,n)}async getFromStore(e){return await this.client.core.storage.getItem(`${s50}/${e}`)}},y50=Mue});var UDa,idn,v50,Bue,sdn,w50,Due,T50=ce(()=>{u();p();UDa=Symbol(),idn=Symbol(),v50=Object.getPrototypeOf,Bue=new WeakMap,sdn=t=>t&&(Bue.has(t)?Bue.get(t):v50(t)===Object.prototype||v50(t)===Array.prototype),w50=t=>sdn(t)&&t[idn]||null,Due=(t,e=!0)=>{Bue.set(t,e)}});function Eh(t={}){return cdn(t)}function zm(t,e,n){let a=Um.get(t);(Hm.env?Hm.env.MODE:void 0)!=="production"&&!a&&console.warn("Please use proxy object");let r,f=[],i=a[3],s=!1,c=i(d=>{if(f.push(d),n){e(f.splice(0));return}r||(r=Promise.resolve().then(()=>{r=void 0,s&&e(f.splice(0))}))});return s=!0,()=>{s=!1,c()}}function x50(t,e){let n=Um.get(t);(Hm.env?Hm.env.MODE:void 0)!=="production"&&!n&&console.warn("Please use proxy object");let[a,r,f]=n;return f(a,r(),e)}var Hm,Pue,Um,WQ,odn,cdn,E50=ce(()=>{u();p();T50();Hm={},Pue=t=>typeof t=="object"&&t!==null,Um=new WeakMap,WQ=new WeakSet,odn=(t=Object.is,e=(c,d)=>new Proxy(c,d),n=c=>Pue(c)&&!WQ.has(c)&&(Array.isArray(c)||!(Symbol.iterator in c))&&!(c instanceof WeakMap)&&!(c instanceof WeakSet)&&!(c instanceof Error)&&!(c instanceof Number)&&!(c instanceof Date)&&!(c instanceof String)&&!(c instanceof RegExp)&&!(c instanceof ArrayBuffer),a=c=>{switch(c.status){case"fulfilled":return c.value;case"rejected":throw c.reason;default:throw c}},r=new WeakMap,f=(c,d,l=a)=>{let h=r.get(c);if(h?.[0]===d)return h[1];let y=Array.isArray(c)?[]:Object.create(Object.getPrototypeOf(c));return Due(y,!0),r.set(c,[d,y]),Reflect.ownKeys(c).forEach(v=>{if(Object.getOwnPropertyDescriptor(y,v))return;let S=Reflect.get(c,v),O={value:S,enumerable:!0,configurable:!0};if(WQ.has(S))Due(S,!1);else if(S instanceof Promise)delete O.value,O.get=()=>l(S);else if(Um.has(S)){let[F,z]=Um.get(S);O.value=f(F,z(),l)}Object.defineProperty(y,v,O)}),Object.preventExtensions(y)},i=new WeakMap,s=[1,1],o=c=>{if(!Pue(c))throw new Error("object required");let d=i.get(c);if(d)return d;let l=s[0],h=new Set,y=(G,R=++s[0])=>{l!==R&&(l=R,h.forEach(T=>T(G,R)))},v=s[1],S=(G=++s[1])=>(v!==G&&!h.size&&(v=G,F.forEach(([R])=>{let T=R[1](G);T>l&&(l=T)})),l),O=G=>(R,T)=>{let N=[...R];N[1]=[G,...N[1]],y(N,T)},F=new Map,z=(G,R)=>{if((Hm.env?Hm.env.MODE:void 0)!=="production"&&F.has(G))throw new Error("prop listener already exists");if(h.size){let T=R[3](O(G));F.set(G,[R,T])}else F.set(G,[R])},W=G=>{var R;let T=F.get(G);T&&(F.delete(G),(R=T[1])==null||R.call(T))},j=G=>(h.add(G),h.size===1&&F.forEach(([T,N],w)=>{if((Hm.env?Hm.env.MODE:void 0)!=="production"&&N)throw new Error("remove already exists");let m=T[3](O(w));F.set(w,[T,m])}),()=>{h.delete(G),h.size===0&&F.forEach(([T,N],w)=>{N&&(N(),F.set(w,[T]))})}),Q=Array.isArray(c)?[]:Object.create(Object.getPrototypeOf(c)),X=e(Q,{deleteProperty(G,R){let T=Reflect.get(G,R);W(R);let N=Reflect.deleteProperty(G,R);return N&&y(["delete",[R],T]),N},set(G,R,T,N){let w=Reflect.has(G,R),m=Reflect.get(G,R,N);if(w&&(t(m,T)||i.has(T)&&t(m,i.get(T))))return!0;W(R),Pue(T)&&(T=w50(T)||T);let A=T;if(T instanceof Promise)T.then(P=>{T.status="fulfilled",T.value=P,y(["resolve",[R],P])}).catch(P=>{T.status="rejected",T.reason=P,y(["reject",[R],P])});else{!Um.has(T)&&n(T)&&(A=o(T));let P=!WQ.has(A)&&Um.get(A);P&&z(R,P)}return Reflect.set(G,R,A,N),y(["set",[R],T,m]),!0}});i.set(c,X);let K=[Q,S,f,j];return Um.set(X,K),Reflect.ownKeys(c).forEach(G=>{let R=Object.getOwnPropertyDescriptor(c,G);"value"in R&&(X[G]=c[G],delete R.value,delete R.writable),Object.defineProperty(Q,G,R)}),X})=>[o,Um,WQ,t,e,n,a,r,f,i,s],[cdn]=odn()});async function jQ(t,e){let n=hdn({sdkType:Fue,sdkVersion:Nue},e),a=new URL(t,Lue);return a.searchParams.append("projectId",oc.state.projectId),Object.entries(n).forEach(([r,f])=>{f&&a.searchParams.append(r,String(f))}),(await fetch(a)).json()}function Edn(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}var Os,vf,vt,ddn,y1,Oue,Zu,Df,qQ,oc,ldn,_50,udn,pdn,A50,hdn,Lue,Fue,Nue,J9,bdn,C50,mdn,ydn,I50,gdn,k50,ep,cc,w_,_h,vdn,S50,wdn,Tdn,R50,xdn,RB,tp,X9,Ah,Uue=ce(()=>{u();p();E50();Os=Eh({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),vf={state:Os,subscribe(t){return zm(Os,()=>t(Os))},push(t,e){t!==Os.view&&(Os.view=t,e&&(Os.data=e),Os.history.push(t))},reset(t){Os.view=t,Os.history=[t]},replace(t){Os.history.length>1&&(Os.history[Os.history.length-1]=t,Os.view=t)},goBack(){if(Os.history.length>1){Os.history.pop();let[t]=Os.history.slice(-1);Os.view=t}},setData(t){Os.data=t}},vt={WALLETCONNECT_DEEPLINK_CHOICE:"WALLETCONNECT_DEEPLINK_CHOICE",WCM_VERSION:"WCM_VERSION",RECOMMENDED_WALLET_AMOUNT:9,isMobile(){return typeof window<"u"?!!(window.matchMedia("(pointer:coarse)").matches||/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u.test(navigator.userAgent)):!1},isAndroid(){return vt.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){let t=navigator.userAgent.toLowerCase();return vt.isMobile()&&(t.includes("iphone")||t.includes("ipad"))},isHttpUrl(t){return t.startsWith("http://")||t.startsWith("https://")},isArray(t){return Array.isArray(t)&&t.length>0},formatNativeUrl(t,e,n){if(vt.isHttpUrl(t))return this.formatUniversalUrl(t,e,n);let a=t;a.includes("://")||(a=t.replaceAll("/","").replaceAll(":",""),a=`${a}://`),a.endsWith("/")||(a=`${a}/`),this.setWalletConnectDeepLink(a,n);let r=encodeURIComponent(e);return`${a}wc?uri=${r}`},formatUniversalUrl(t,e,n){if(!vt.isHttpUrl(t))return this.formatNativeUrl(t,e,n);let a=t;a.endsWith("/")||(a=`${a}/`),this.setWalletConnectDeepLink(a,n);let r=encodeURIComponent(e);return`${a}wc?uri=${r}`},async wait(t){return new Promise(e=>{setTimeout(e,t)})},openHref(t,e){window.open(t,e,"noreferrer noopener")},setWalletConnectDeepLink(t,e){try{localStorage.setItem(vt.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:e}))}catch{console.info("Unable to set WalletConnect deep link")}},setWalletConnectAndroidDeepLink(t){try{let[e]=t.split("?");localStorage.setItem(vt.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:"Android"}))}catch{console.info("Unable to set WalletConnect android deep link")}},removeWalletConnectDeepLink(){try{localStorage.removeItem(vt.WALLETCONNECT_DEEPLINK_CHOICE)}catch{console.info("Unable to remove WalletConnect deep link")}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(vt.WCM_VERSION,"2.6.2")}catch{console.info("Unable to set Web3Modal version in storage")}},getWalletRouterData(){var t;let e=(t=vf.state.data)==null?void 0:t.Wallet;if(!e)throw new Error('Missing "Wallet" view data');return e}},ddn=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),y1=Eh({enabled:ddn,userSessionId:"",events:[],connectedWalletId:void 0}),Oue={state:y1,subscribe(t){return zm(y1.events,()=>t(x50(y1.events[y1.events.length-1])))},initialize(){y1.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(y1.userSessionId=crypto.randomUUID())},setConnectedWalletId(t){y1.connectedWalletId=t},click(t){if(y1.enabled){let e={type:"CLICK",name:t.name,userSessionId:y1.userSessionId,timestamp:Date.now(),data:t};y1.events.push(e)}},track(t){if(y1.enabled){let e={type:"TRACK",name:t.name,userSessionId:y1.userSessionId,timestamp:Date.now(),data:t};y1.events.push(e)}},view(t){if(y1.enabled){let e={type:"VIEW",name:t.name,userSessionId:y1.userSessionId,timestamp:Date.now(),data:t};y1.events.push(e)}}},Zu=Eh({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),Df={state:Zu,subscribe(t){return zm(Zu,()=>t(Zu))},setChains(t){Zu.chains=t},setWalletConnectUri(t){Zu.walletConnectUri=t},setIsCustomDesktop(t){Zu.isCustomDesktop=t},setIsCustomMobile(t){Zu.isCustomMobile=t},setIsDataLoaded(t){Zu.isDataLoaded=t},setIsUiLoaded(t){Zu.isUiLoaded=t},setIsAuth(t){Zu.isAuth=t}},qQ=Eh({projectId:"",mobileWallets:void 0,desktopWallets:void 0,walletImages:void 0,chains:void 0,enableAuthMode:!1,enableExplorer:!0,explorerExcludedWalletIds:void 0,explorerRecommendedWalletIds:void 0,termsOfServiceUrl:void 0,privacyPolicyUrl:void 0}),oc={state:qQ,subscribe(t){return zm(qQ,()=>t(qQ))},setConfig(t){var e,n;Oue.initialize(),Df.setChains(t.chains),Df.setIsAuth(!!t.enableAuthMode),Df.setIsCustomMobile(!!((e=t.mobileWallets)!=null&&e.length)),Df.setIsCustomDesktop(!!((n=t.desktopWallets)!=null&&n.length)),vt.setModalVersionInStorage(),Object.assign(qQ,t)}},ldn=Object.defineProperty,_50=Object.getOwnPropertySymbols,udn=Object.prototype.hasOwnProperty,pdn=Object.prototype.propertyIsEnumerable,A50=(t,e,n)=>e in t?ldn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,hdn=(t,e)=>{for(var n in e||(e={}))udn.call(e,n)&&A50(t,n,e[n]);if(_50)for(var n of _50(e))pdn.call(e,n)&&A50(t,n,e[n]);return t},Lue="https://explorer-api.walletconnect.com",Fue="wcm",Nue="js-2.6.2";J9={async getDesktopListings(t){return jQ("/w3m/v1/getDesktopListings",t)},async getMobileListings(t){return jQ("/w3m/v1/getMobileListings",t)},async getInjectedListings(t){return jQ("/w3m/v1/getInjectedListings",t)},async getAllListings(t){return jQ("/w3m/v1/getAllListings",t)},getWalletImageUrl(t){return`${Lue}/w3m/v1/getWalletImage/${t}?projectId=${oc.state.projectId}&sdkType=${Fue}&sdkVersion=${Nue}`},getAssetImageUrl(t){return`${Lue}/w3m/v1/getAssetImage/${t}?projectId=${oc.state.projectId}&sdkType=${Fue}&sdkVersion=${Nue}`}},bdn=Object.defineProperty,C50=Object.getOwnPropertySymbols,mdn=Object.prototype.hasOwnProperty,ydn=Object.prototype.propertyIsEnumerable,I50=(t,e,n)=>e in t?bdn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,gdn=(t,e)=>{for(var n in e||(e={}))mdn.call(e,n)&&I50(t,n,e[n]);if(C50)for(var n of C50(e))ydn.call(e,n)&&I50(t,n,e[n]);return t},k50=vt.isMobile(),ep=Eh({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),cc={state:ep,async getRecomendedWallets(){let{explorerRecommendedWalletIds:t,explorerExcludedWalletIds:e}=oc.state;if(t==="NONE"||e==="ALL"&&!t)return ep.recomendedWallets;if(vt.isArray(t)){let n={recommendedIds:t.join(",")},{listings:a}=await J9.getAllListings(n),r=Object.values(a);r.sort((f,i)=>{let s=t.indexOf(f.id),o=t.indexOf(i.id);return s-o}),ep.recomendedWallets=r}else{let{chains:n,isAuth:a}=Df.state,r=n?.join(","),f=vt.isArray(e),i={page:1,sdks:a?"auth_v1":void 0,entries:vt.RECOMMENDED_WALLET_AMOUNT,chains:r,version:2,excludedIds:f?e.join(","):void 0},{listings:s}=k50?await J9.getMobileListings(i):await J9.getDesktopListings(i);ep.recomendedWallets=Object.values(s)}return ep.recomendedWallets},async getWallets(t){let e=gdn({},t),{explorerRecommendedWalletIds:n,explorerExcludedWalletIds:a}=oc.state,{recomendedWallets:r}=ep;if(a==="ALL")return ep.wallets;r.length?e.excludedIds=r.map(l=>l.id).join(","):vt.isArray(n)&&(e.excludedIds=n.join(",")),vt.isArray(a)&&(e.excludedIds=[e.excludedIds,a].filter(Boolean).join(",")),Df.state.isAuth&&(e.sdks="auth_v1");let{page:f,search:i}=t,{listings:s,total:o}=k50?await J9.getMobileListings(e):await J9.getDesktopListings(e),c=Object.values(s),d=i?"search":"wallets";return ep[d]={listings:[...ep[d].listings,...c],total:o,page:f??1},{listings:c,total:o}},getWalletImageUrl(t){return J9.getWalletImageUrl(t)},getAssetImageUrl(t){return J9.getAssetImageUrl(t)},resetSearch(){ep.search={listings:[],total:0,page:1}}},w_=Eh({open:!1}),_h={state:w_,subscribe(t){return zm(w_,()=>t(w_))},async open(t){return new Promise(e=>{let{isUiLoaded:n,isDataLoaded:a}=Df.state;if(vt.removeWalletConnectDeepLink(),Df.setWalletConnectUri(t?.uri),Df.setChains(t?.chains),vf.reset("ConnectWallet"),n&&a)w_.open=!0,e();else{let r=setInterval(()=>{let f=Df.state;f.isUiLoaded&&f.isDataLoaded&&(clearInterval(r),w_.open=!0,e())},200)}})},close(){w_.open=!1}},vdn=Object.defineProperty,S50=Object.getOwnPropertySymbols,wdn=Object.prototype.hasOwnProperty,Tdn=Object.prototype.propertyIsEnumerable,R50=(t,e,n)=>e in t?vdn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,xdn=(t,e)=>{for(var n in e||(e={}))wdn.call(e,n)&&R50(t,n,e[n]);if(S50)for(var n of S50(e))Tdn.call(e,n)&&R50(t,n,e[n]);return t};RB=Eh({themeMode:Edn()?"dark":"light"}),tp={state:RB,subscribe(t){return zm(RB,()=>t(RB))},setThemeConfig(t){let{themeMode:e,themeVariables:n}=t;e&&(RB.themeMode=e),n&&(RB.themeVariables=xdn({},n))}},X9=Eh({open:!1,message:"",variant:"success"}),Ah={state:X9,subscribe(t){return zm(X9,()=>t(X9))},openToast(t,e){X9.open=!0,X9.message=t,X9.variant=e},closeToast(){X9.open=!1}}});var GQ,KQ,Hue,M50,MB,B50,Ia,zue,QQ,Wue=ce(()=>{u();p();GQ=window,KQ=GQ.ShadowRoot&&(GQ.ShadyCSS===void 0||GQ.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Hue=Symbol(),M50=new WeakMap,MB=class{constructor(e,n,a){if(this._$cssResult$=!0,a!==Hue)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=n}get styleSheet(){let e=this.o,n=this.t;if(KQ&&e===void 0){let a=n!==void 0&&n.length===1;a&&(e=M50.get(n)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),a&&M50.set(n,e))}return e}toString(){return this.cssText}},B50=t=>new MB(typeof t=="string"?t:t+"",void 0,Hue),Ia=(t,...e)=>{let n=t.length===1?t[0]:e.reduce((a,r,f)=>a+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[f+1],t[0]);return new MB(n,t,Hue)},zue=(t,e)=>{KQ?t.adoptedStyleSheets=e.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet):e.forEach(n=>{let a=document.createElement("style"),r=GQ.litNonce;r!==void 0&&a.setAttribute("nonce",r),a.textContent=n.cssText,t.appendChild(a)})},QQ=KQ?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let n="";for(let a of e.cssRules)n+=a.cssText;return B50(n)})(t):t});var que,VQ,D50,_dn,P50,Gue,L50,jue,Kue,Ch,YQ=ce(()=>{u();p();Wue();Wue();VQ=window,D50=VQ.trustedTypes,_dn=D50?D50.emptyScript:"",P50=VQ.reactiveElementPolyfillSupport,Gue={toAttribute(t,e){switch(e){case Boolean:t=t?_dn:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let n=t;switch(e){case Boolean:n=t!==null;break;case Number:n=t===null?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch{n=null}}return n}},L50=(t,e)=>e!==t&&(e==e||t==t),jue={attribute:!0,type:String,converter:Gue,reflect:!1,hasChanged:L50},Kue="finalized",Ch=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(e){var n;this.finalize(),((n=this.h)!==null&&n!==void 0?n:this.h=[]).push(e)}static get observedAttributes(){this.finalize();let e=[];return this.elementProperties.forEach((n,a)=>{let r=this._$Ep(a,n);r!==void 0&&(this._$Ev.set(r,a),e.push(r))}),e}static createProperty(e,n=jue){if(n.state&&(n.attribute=!1),this.finalize(),this.elementProperties.set(e,n),!n.noAccessor&&!this.prototype.hasOwnProperty(e)){let a=typeof e=="symbol"?Symbol():"__"+e,r=this.getPropertyDescriptor(e,a,n);r!==void 0&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,n,a){return{get(){return this[n]},set(r){let f=this[e];this[n]=r,this.requestUpdate(e,f,a)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||jue}static finalize(){if(this.hasOwnProperty(Kue))return!1;this[Kue]=!0;let e=Object.getPrototypeOf(this);if(e.finalize(),e.h!==void 0&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let n=this.properties,a=[...Object.getOwnPropertyNames(n),...Object.getOwnPropertySymbols(n)];for(let r of a)this.createProperty(r,n[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){let n=[];if(Array.isArray(e)){let a=new Set(e.flat(1/0).reverse());for(let r of a)n.unshift(QQ(r))}else e!==void 0&&n.push(QQ(e));return n}static _$Ep(e,n){let a=n.attribute;return a===!1?void 0:typeof a=="string"?a:typeof e=="string"?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise(n=>this.enableUpdating=n),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(e=this.constructor.h)===null||e===void 0||e.forEach(n=>n(this))}addController(e){var n,a;((n=this._$ES)!==null&&n!==void 0?n:this._$ES=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((a=e.hostConnected)===null||a===void 0||a.call(e))}removeController(e){var n;(n=this._$ES)===null||n===void 0||n.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,n)=>{this.hasOwnProperty(n)&&(this._$Ei.set(n,this[n]),delete this[n])})}createRenderRoot(){var e;let n=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return zue(n,this.constructor.elementStyles),n}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)===null||e===void 0||e.forEach(n=>{var a;return(a=n.hostConnected)===null||a===void 0?void 0:a.call(n)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)===null||e===void 0||e.forEach(n=>{var a;return(a=n.hostDisconnected)===null||a===void 0?void 0:a.call(n)})}attributeChangedCallback(e,n,a){this._$AK(e,a)}_$EO(e,n,a=jue){var r;let f=this.constructor._$Ep(e,a);if(f!==void 0&&a.reflect===!0){let i=(((r=a.converter)===null||r===void 0?void 0:r.toAttribute)!==void 0?a.converter:Gue).toAttribute(n,a.type);this._$El=e,i==null?this.removeAttribute(f):this.setAttribute(f,i),this._$El=null}}_$AK(e,n){var a;let r=this.constructor,f=r._$Ev.get(e);if(f!==void 0&&this._$El!==f){let i=r.getPropertyOptions(f),s=typeof i.converter=="function"?{fromAttribute:i.converter}:((a=i.converter)===null||a===void 0?void 0:a.fromAttribute)!==void 0?i.converter:Gue;this._$El=f,this[f]=s.fromAttribute(n,i.type),this._$El=null}}requestUpdate(e,n,a){let r=!0;e!==void 0&&(((a=a||this.constructor.getPropertyOptions(e)).hasChanged||L50)(this[e],n)?(this._$AL.has(e)||this._$AL.set(e,n),a.reflect===!0&&this._$El!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,a))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(n){Promise.reject(n)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((r,f)=>this[f]=r),this._$Ei=void 0);let n=!1,a=this._$AL;try{n=this.shouldUpdate(a),n?(this.willUpdate(a),(e=this._$ES)===null||e===void 0||e.forEach(r=>{var f;return(f=r.hostUpdate)===null||f===void 0?void 0:f.call(r)}),this.update(a)):this._$Ek()}catch(r){throw n=!1,this._$Ek(),r}n&&this._$AE(a)}willUpdate(e){}_$AE(e){var n;(n=this._$ES)===null||n===void 0||n.forEach(a=>{var r;return(r=a.hostUpdated)===null||r===void 0?void 0:r.call(a)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){this._$EC!==void 0&&(this._$EC.forEach((n,a)=>this._$EO(a,this[a],n)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};Ch[Kue]=!0,Ch.elementProperties=new Map,Ch.elementStyles=[],Ch.shadowRootOptions={mode:"open"},P50?.({ReactiveElement:Ch}),((que=VQ.reactiveElementVersions)!==null&&que!==void 0?que:VQ.reactiveElementVersions=[]).push("1.6.3")});function Q50(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return F50!==void 0?F50.createHTML(e):e}function x_(t,e,n=t,a){var r,f,i,s;if(e===Ih)return e;let o=a!==void 0?(r=n._$Co)===null||r===void 0?void 0:r[a]:n._$Cl,c=PB(e)?void 0:e._$litDirective$;return o?.constructor!==c&&((f=o?._$AO)===null||f===void 0||f.call(o,!1),c===void 0?o=void 0:(o=new c(t),o._$AT(t,n,a)),a!==void 0?((i=(s=n)._$Co)!==null&&i!==void 0?i:s._$Co=[])[a]=o:n._$Cl=o),o!==void 0&&(e=x_(t,o._$AS(t,e.values),o,a)),e}var Que,$Q,T_,F50,Yue,Wm,q50,Adn,tg,DB,PB,j50,Cdn,Vue,BB,N50,O50,Z9,U50,H50,G50,K50,q0,wf,Ih,Fi,z50,eg,Idn,LB,$ue,FB,E_,Jue,kdn,Xue,Zue,epe,W50,V50,ng=ce(()=>{u();p();$Q=window,T_=$Q.trustedTypes,F50=T_?T_.createPolicy("lit-html",{createHTML:t=>t}):void 0,Yue="$lit$",Wm=`lit$${(Math.random()+"").slice(9)}$`,q50="?"+Wm,Adn=`<${q50}>`,tg=document,DB=()=>tg.createComment(""),PB=t=>t===null||typeof t!="object"&&typeof t!="function",j50=Array.isArray,Cdn=t=>j50(t)||typeof t?.[Symbol.iterator]=="function",Vue=`[ +}`;var xn=lve(function(){return Wa(le,dt+"return "+m0).apply(n,xe)});if(xn.source=m0,Qee(xn))throw xn;return xn}function lR0(b){return Qa(b).toLowerCase()}function uR0(b){return Qa(b).toUpperCase()}function pR0(b,C,H){if(b=Qa(b),b&&(H||C===n))return w9e(b);if(!b||!(C=u6(C)))return b;var $=Wd(b),te=Wd(C),le=T9e($,te),xe=x9e($,te)+1;return c3($,le,xe).join("")}function hR0(b,C,H){if(b=Qa(b),b&&(H||C===n))return b.slice(0,_9e(b)+1);if(!b||!(C=u6(C)))return b;var $=Wd(b),te=x9e($,Wd(C))+1;return c3($,0,te).join("")}function bR0(b,C,H){if(b=Qa(b),b&&(H||C===n))return b.replace(s0,"");if(!b||!(C=u6(C)))return b;var $=Wd(b),te=T9e($,Wd(C));return c3($,te).join("")}function mR0(b,C){var H=R,$=T;if(Cf(C)){var te="separator"in C?C.separator:te;H="length"in C?gn(C.length):H,$="omission"in C?u6(C.omission):$}b=Qa(b);var le=b.length;if(Tv(b)){var xe=Wd(b);le=xe.length}if(H>=le)return b;var Ie=H-xv($);if(Ie<1)return $;var Fe=xe?c3(xe,0,Ie).join(""):b.slice(0,Ie);if(te===n)return Fe+$;if(xe&&(Ie+=Fe.length-Ie),Vee(te)){if(b.slice(Ie).search(te)){var r0,f0=Fe;for(te.global||(te=dee(te.source,Qa($0.exec(te))+"g")),te.lastIndex=0;r0=te.exec(f0);)var m0=r0.index;Fe=Fe.slice(0,m0===n?Ie:m0)}}else if(b.indexOf(u6(te),Ie)!=Ie){var Q0=Fe.lastIndexOf(te);Q0>-1&&(Fe=Fe.slice(0,Q0))}return Fe+$}function yR0(b){return b=Qa(b),b&&h0.test(b)?b.replace(Ue,K_0):b}var gR0=Sv(function(b,C,H){return b+(H?" ":"")+C.toUpperCase()}),Jee=uge("toUpperCase");function dve(b,C,H){return b=Qa(b),C=H?n:C,C===n?z_0(b)?Y_0(b):B_0(b):b.match(C)||[]}var lve=Sn(function(b,C){try{return d6(b,n,C)}catch(H){return Qee(H)?H:new Kt(H)}}),vR0=zp(function(b,C){return i5(C,function(H){H=r2(H),Up(b,H,Gee(b[H],b))}),b});function wR0(b){var C=b==null?0:b.length,H=Mt();return b=C?cf(b,function($){if(typeof $[1]!="function")throw new s5(i);return[H($[0]),$[1]]}):[],Sn(function($){for(var te=-1;++tex)return[];var H=M,$=Io(b,M);C=Mt(C),b-=M;for(var te=see($,C);++H0||C<0)?new $n(H):(b<0?H=H.takeRight(-b):b&&(H=H.drop(b)),C!==n&&(C=gn(C),H=C<0?H.dropRight(-C):H.take(C-b)),H)},$n.prototype.takeRightWhile=function(b){return this.reverse().takeWhile(b).reverse()},$n.prototype.toArray=function(){return this.take(M)},n2($n.prototype,function(b,C){var H=/^(?:filter|find|map|reject)|While$/.test(C),$=/^(?:head|last)$/.test(C),te=se[$?"take"+(C=="last"?"Right":""):C],le=$||/^find/.test(C);te&&(se.prototype[C]=function(){var xe=this.__wrapped__,Ie=$?[1]:arguments,Fe=xe instanceof $n,r0=Ie[0],f0=Fe||nn(xe),m0=function(Kn){var fa=te.apply(se,a3([Kn],Ie));return $&&Q0?fa[0]:fa};f0&&H&&typeof r0=="function"&&r0.length!=1&&(Fe=f0=!1);var Q0=this.__chain__,dt=!!this.__actions__.length,Bt=le&&!Q0,xn=Fe&&!dt;if(!le&&f0){xe=xn?xe:new $n(this);var Dt=b.apply(xe,Ie);return Dt.__actions__.push({func:iF,args:[m0],thisArg:n}),new o5(Dt,Q0)}return Bt&&xn?b.apply(this,Ie):(Dt=this.thru(m0),Bt?$?Dt.value()[0]:Dt.value():Dt)})}),i5(["pop","push","shift","sort","splice","unshift"],function(b){var C=BL[b],H=/^(?:push|sort|unshift)$/.test(b)?"tap":"thru",$=/^(?:pop|shift)$/.test(b);se.prototype[b]=function(){var te=arguments;if($&&!this.__chain__){var le=this.value();return C.apply(nn(le)?le:[],te)}return this[H](function(xe){return C.apply(nn(xe)?xe:[],te)})}}),n2($n.prototype,function(b,C){var H=se[C];if(H){var $=H.name+"";fr.call(Cv,$)||(Cv[$]=[]),Cv[$].push({name:C,func:H})}}),Cv[ZL(n,F).name]=[{name:"wrapper",func:n}],$n.prototype.clone=yA0,$n.prototype.reverse=gA0,$n.prototype.value=vA0,se.prototype.at=VI0,se.prototype.chain=YI0,se.prototype.commit=$I0,se.prototype.next=JI0,se.prototype.plant=ZI0,se.prototype.reverse=ek0,se.prototype.toJSON=se.prototype.valueOf=se.prototype.value=tk0,se.prototype.first=se.prototype.head,HC&&(se.prototype[HC]=XI0),se},Ev=$_0();K4?((K4.exports=Ev)._=Ev,ZZ._=Ev):Ks._=Ev}).call(SB)})(xue,xue.exports);Q5n=Object.defineProperty,V5n=Object.defineProperties,Y5n=Object.getOwnPropertyDescriptors,o50=Object.getOwnPropertySymbols,$5n=Object.prototype.hasOwnProperty,J5n=Object.prototype.propertyIsEnumerable,c50=(t,e,n)=>e in t?Q5n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,HQ=(t,e)=>{for(var n in e||(e={}))$5n.call(e,n)&&c50(t,n,e[n]);if(o50)for(var n of o50(e))J5n.call(e,n)&&c50(t,n,e[n]);return t},X5n=(t,e)=>V5n(t,Y5n(e));m50={},gf=t=>m50[t],wue=(t,e)=>{m50[t]=e},Eue=class{constructor(e){this.name="polkadot",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getAccounts(){let e=this.namespace.accounts;return e?e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2])||[]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=$9(n);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Um(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new H6(new md(a,gf("disableProviderPing")))}},_ue=class{constructor(e){this.name="eip155",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.httpProviders=this.createHttpProviders(),this.chainId=parseInt(this.getDefaultChain())}async request(e){switch(e.request.method){case"eth_requestAccounts":return this.getAccounts();case"eth_accounts":return this.getAccounts();case"wallet_switchEthereumChain":return await this.handleSwitchChain(e);case"eth_chainId":return parseInt(this.getDefaultChain())}return this.namespace.methods.includes(e.request.method)?await this.client.request(e):this.getHttpProvider().request(e.request)}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(parseInt(e),n),this.chainId=parseInt(e),this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId.toString();if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}createHttpProvider(e,n){let a=n||Um(`${this.name}:${e}`,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new H6(new md(a,gf("disableProviderPing")))}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=parseInt($9(n));e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}getHttpProvider(){let e=this.chainId,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}async handleSwitchChain(e){var n,a;let r=e.request.params?(n=e.request.params[0])==null?void 0:n.chainId:"0x0";r=r.startsWith("0x")?r:`0x${r}`;let f=parseInt(r,16);if(this.isChainApproved(f))this.setDefaultChain(`${f}`);else if(this.namespace.methods.includes("wallet_switchEthereumChain"))await this.client.request({topic:e.topic,request:{method:e.request.method,params:[{chainId:r}]},chainId:(a=this.namespace.chains)==null?void 0:a[0]}),this.setDefaultChain(`${f}`);else throw new Error(`Failed to switch to chain 'eip155:${f}'. The chain is not approved or the wallet does not support 'wallet_switchEthereumChain' method.`);return null}isChainApproved(e){return this.namespace.chains.includes(`${this.name}:${e}`)}},Aue=class{constructor(e){this.name="solana",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=$9(n);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Um(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new H6(new md(a,gf("disableProviderPing")))}},Cue=class{constructor(e){this.name="cosmos",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=$9(n);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Um(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new H6(new md(a,gf("disableProviderPing")))}},Iue=class{constructor(e){this.name="cip34",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{let a=this.getCardanoRPCUrl(n),r=$9(n);e[r]=this.createHttpProvider(r,a)}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}getCardanoRPCUrl(e){let n=this.namespace.rpcMap;if(n)return n[e]}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||this.getCardanoRPCUrl(e);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new H6(new md(a,gf("disableProviderPing")))}},kue=class{constructor(e){this.name="elrond",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=$9(n);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Um(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new H6(new md(a,gf("disableProviderPing")))}},Sue=class{constructor(e){this.name="multiversx",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=$9(n);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Um(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new H6(new md(a,gf("disableProviderPing")))}},Rue=class{constructor(e){this.name="near",this.namespace=e.namespace,this.events=gf("events"),this.client=gf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){if(this.chainId=e,!this.httpProviders[e]){let a=n||Um(`${this.name}:${e}`,this.namespace);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);this.setHttpProvider(e,a)}this.events.emit(xh.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){let e=this.namespace.accounts;return e?e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2])||[]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;e[n]=this.createHttpProvider(n,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Um(e,this.namespace);return typeof a>"u"?void 0:new H6(new md(a,gf("disableProviderPing")))}},tdn=Object.defineProperty,ndn=Object.defineProperties,adn=Object.getOwnPropertyDescriptors,u50=Object.getOwnPropertySymbols,rdn=Object.prototype.hasOwnProperty,fdn=Object.prototype.propertyIsEnumerable,p50=(t,e,n)=>e in t?tdn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,zQ=(t,e)=>{for(var n in e||(e={}))rdn.call(e,n)&&p50(t,n,e[n]);if(u50)for(var n of u50(e))fdn.call(e,n)&&p50(t,n,e[n]);return t},Tue=(t,e)=>ndn(t,adn(e)),Mue=class t{constructor(e){this.events=new h50.default,this.rpcProviders={},this.shouldAbortPairingAttempt=!1,this.maxPairingAttempts=10,this.disableProviderPing=!1,this.providerOpts=e,this.logger=typeof e?.logger<"u"&&typeof e?.logger!="string"?e.logger:(0,A7.default)(C7({level:e?.logger||i50})),this.disableProviderPing=e?.disableProviderPing||!1}static async init(e){let n=new t(e);return await n.initialize(),n}async request(e,n,a){let[r,f]=this.validateChain(n);if(!this.session)throw new Error("Please call connect() before request()");return await this.getProvider(r).request({request:zQ({},e),chainId:`${r}:${f}`,topic:this.session.topic,expiry:a})}sendAsync(e,n,a,r){let f=new Date().getTime();this.request(e,a,r).then(i=>n(null,L8(f,i))).catch(i=>n(i,void 0))}async enable(){if(!this.client)throw new Error("Sign Client not initialized");return this.session||await this.connect({namespaces:this.namespaces,optionalNamespaces:this.optionalNamespaces,sessionProperties:this.sessionProperties}),await this.requestAccounts()}async disconnect(){var e;if(!this.session)throw new Error("Please call connect() before enable()");await this.client.disconnect({topic:(e=this.session)==null?void 0:e.topic,reason:Ca("USER_DISCONNECTED")}),await this.cleanup()}async connect(e){if(!this.client)throw new Error("Sign Client not initialized");if(this.setNamespaces(e),await this.cleanupPendingPairings(),!e.skipPairing)return await this.pair(e.pairingTopic)}async authenticate(e){if(!this.client)throw new Error("Sign Client not initialized");this.setNamespaces(e),await this.cleanupPendingPairings();let{uri:n,response:a}=await this.client.authenticate(e);n&&(this.uri=n,this.events.emit("display_uri",n));let r=await a();if(this.session=r.session,this.session){let f=l50(this.session.namespaces);this.namespaces=gue(this.namespaces,f),this.persist("namespaces",this.namespaces),this.onConnect()}return r}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}removeListener(e,n){this.events.removeListener(e,n)}off(e,n){this.events.off(e,n)}get isWalletConnect(){return!0}async pair(e){this.shouldAbortPairingAttempt=!1;let n=0;do{if(this.shouldAbortPairingAttempt)throw new Error("Pairing aborted");if(n>=this.maxPairingAttempts)throw new Error("Max auto pairing attempts reached");let{uri:a,approval:r}=await this.client.connect({pairingTopic:e,requiredNamespaces:this.namespaces,optionalNamespaces:this.optionalNamespaces,sessionProperties:this.sessionProperties});a&&(this.uri=a,this.events.emit("display_uri",a)),await r().then(f=>{this.session=f;let i=l50(f.namespaces);this.namespaces=gue(this.namespaces,i),this.persist("namespaces",this.namespaces)}).catch(f=>{if(f.message!==mue)throw f;n++})}while(!this.session);return this.onConnect(),this.session}setDefaultChain(e,n){try{if(!this.session)return;let[a,r]=this.validateChain(e);this.getProvider(a).setDefaultChain(r,n)}catch(a){if(!/Please call connect/.test(a.message))throw a}}async cleanupPendingPairings(e={}){this.logger.info("Cleaning up inactive pairings...");let n=this.client.pairing.getAll();if(U6(n)){for(let a of n)e.deletePairings?this.client.core.expirer.set(a.topic,0):await this.client.core.relayer.subscriber.unsubscribe(a.topic);this.logger.info(`Inactive pairings cleared: ${n.length}`)}}abortPairingAttempt(){this.shouldAbortPairingAttempt=!0}async checkStorage(){if(this.namespaces=await this.getFromStore("namespaces"),this.optionalNamespaces=await this.getFromStore("optionalNamespaces")||{},this.client.session.length){let e=this.client.session.keys.length-1;this.session=this.client.session.get(this.client.session.keys[e]),this.createProviders()}}async initialize(){this.logger.trace("Initialized"),await this.createClient(),await this.checkStorage(),this.registerEventListeners()}async createClient(){this.client=this.providerOpts.client||await FQ.init({logger:this.providerOpts.logger||i50,relayUrl:this.providerOpts.relayUrl||q5n,projectId:this.providerOpts.projectId,metadata:this.providerOpts.metadata,storageOptions:this.providerOpts.storageOptions,storage:this.providerOpts.storage,name:this.providerOpts.name}),this.logger.trace("SignClient Initialized")}createProviders(){if(!this.client)throw new Error("Sign Client not initialized");if(!this.session)throw new Error("Session not initialized. Please call connect() before enable()");let e=[...new Set(Object.keys(this.session.namespaces).map(n=>b_(n)))];wue("client",this.client),wue("events",this.events),wue("disableProviderPing",this.disableProviderPing),e.forEach(n=>{if(!this.session)return;let a=Z5n(n,this.session),r=b50(a),f=gue(this.namespaces,this.optionalNamespaces),i=Tue(zQ({},f[n]),{accounts:a,chains:r});switch(n){case"eip155":this.rpcProviders[n]=new _ue({namespace:i});break;case"solana":this.rpcProviders[n]=new Aue({namespace:i});break;case"cosmos":this.rpcProviders[n]=new Cue({namespace:i});break;case"polkadot":this.rpcProviders[n]=new Eue({namespace:i});break;case"cip34":this.rpcProviders[n]=new Iue({namespace:i});break;case"elrond":this.rpcProviders[n]=new kue({namespace:i});break;case"multiversx":this.rpcProviders[n]=new Sue({namespace:i});break;case"near":this.rpcProviders[n]=new Rue({namespace:i});break}})}registerEventListeners(){if(typeof this.client>"u")throw new Error("Sign Client is not initialized");this.client.on("session_ping",e=>{this.events.emit("session_ping",e)}),this.client.on("session_event",e=>{let{params:n}=e,{event:a}=n;if(a.name==="accountsChanged"){let r=a.data;r&&U6(r)&&this.events.emit("accountsChanged",r.map(edn))}else if(a.name==="chainChanged"){let r=n.chainId,f=n.event.data,i=b_(r),s=vue(r)!==vue(f)?`${i}:${vue(f)}`:r;this.onChainChanged(s)}else this.events.emit(a.name,a.data);this.events.emit("session_event",e)}),this.client.on("session_update",({topic:e,params:n})=>{var a;let{namespaces:r}=n,f=(a=this.client)==null?void 0:a.session.get(e);this.session=Tue(zQ({},f),{namespaces:r}),this.onSessionUpdate(),this.events.emit("session_update",{topic:e,params:n})}),this.client.on("session_delete",async e=>{await this.cleanup(),this.events.emit("session_delete",e),this.events.emit("disconnect",Tue(zQ({},Ca("USER_DISCONNECTED")),{data:e.topic}))}),this.on(xh.DEFAULT_CHAIN_CHANGED,e=>{this.onChainChanged(e,!0)})}getProvider(e){if(!this.rpcProviders[e])throw new Error(`Provider not found: ${e}`);return this.rpcProviders[e]}onSessionUpdate(){Object.keys(this.rpcProviders).forEach(e=>{var n;this.getProvider(e).updateNamespace((n=this.session)==null?void 0:n.namespaces[e])})}setNamespaces(e){let{namespaces:n,optionalNamespaces:a,sessionProperties:r}=e;n&&Object.keys(n).length&&(this.namespaces=n),a&&Object.keys(a).length&&(this.optionalNamespaces=a),this.sessionProperties=r,this.persist("namespaces",n),this.persist("optionalNamespaces",a)}validateChain(e){let[n,a]=e?.split(":")||["",""];if(!this.namespaces||!Object.keys(this.namespaces).length)return[n,a];if(n&&!Object.keys(this.namespaces||{}).map(i=>b_(i)).includes(n))throw new Error(`Namespace '${n}' is not configured. Please call connect() first with namespace config.`);if(n&&a)return[n,a];let r=b_(Object.keys(this.namespaces)[0]),f=this.rpcProviders[r].getDefaultChain();return[r,f]}async requestAccounts(){let[e]=this.validateChain();return await this.getProvider(e).requestAccounts()}onChainChanged(e,n=!1){if(!this.namespaces)return;let[a,r]=this.validateChain(e);r&&(n||this.getProvider(a).setDefaultChain(r),this.namespaces[a]?this.namespaces[a].defaultChain=r:this.namespaces[`${a}:${r}`]?this.namespaces[`${a}:${r}`].defaultChain=r:this.namespaces[`${a}:${r}`]={defaultChain:r},this.persist("namespaces",this.namespaces),this.events.emit("chainChanged",r))}onConnect(){this.createProviders(),this.events.emit("connect",{session:this.session})}async cleanup(){this.session=void 0,this.namespaces=void 0,this.optionalNamespaces=void 0,this.sessionProperties=void 0,this.persist("namespaces",void 0),this.persist("optionalNamespaces",void 0),this.persist("sessionProperties",void 0),await this.cleanupPendingPairings({deletePairings:!0})}persist(e,n){this.client.core.storage.setItem(`${s50}/${e}`,n)}async getFromStore(e){return await this.client.core.storage.getItem(`${s50}/${e}`)}},y50=Mue});var UDa,idn,v50,Bue,sdn,w50,Due,T50=ce(()=>{u();p();UDa=Symbol(),idn=Symbol(),v50=Object.getPrototypeOf,Bue=new WeakMap,sdn=t=>t&&(Bue.has(t)?Bue.get(t):v50(t)===Object.prototype||v50(t)===Array.prototype),w50=t=>sdn(t)&&t[idn]||null,Due=(t,e=!0)=>{Bue.set(t,e)}});function Eh(t={}){return cdn(t)}function Wm(t,e,n){let a=Hm.get(t);(zm.env?zm.env.MODE:void 0)!=="production"&&!a&&console.warn("Please use proxy object");let r,f=[],i=a[3],s=!1,c=i(d=>{if(f.push(d),n){e(f.splice(0));return}r||(r=Promise.resolve().then(()=>{r=void 0,s&&e(f.splice(0))}))});return s=!0,()=>{s=!1,c()}}function x50(t,e){let n=Hm.get(t);(zm.env?zm.env.MODE:void 0)!=="production"&&!n&&console.warn("Please use proxy object");let[a,r,f]=n;return f(a,r(),e)}var zm,Pue,Hm,WQ,odn,cdn,E50=ce(()=>{u();p();T50();zm={},Pue=t=>typeof t=="object"&&t!==null,Hm=new WeakMap,WQ=new WeakSet,odn=(t=Object.is,e=(c,d)=>new Proxy(c,d),n=c=>Pue(c)&&!WQ.has(c)&&(Array.isArray(c)||!(Symbol.iterator in c))&&!(c instanceof WeakMap)&&!(c instanceof WeakSet)&&!(c instanceof Error)&&!(c instanceof Number)&&!(c instanceof Date)&&!(c instanceof String)&&!(c instanceof RegExp)&&!(c instanceof ArrayBuffer),a=c=>{switch(c.status){case"fulfilled":return c.value;case"rejected":throw c.reason;default:throw c}},r=new WeakMap,f=(c,d,l=a)=>{let h=r.get(c);if(h?.[0]===d)return h[1];let y=Array.isArray(c)?[]:Object.create(Object.getPrototypeOf(c));return Due(y,!0),r.set(c,[d,y]),Reflect.ownKeys(c).forEach(v=>{if(Object.getOwnPropertyDescriptor(y,v))return;let k=Reflect.get(c,v),O={value:k,enumerable:!0,configurable:!0};if(WQ.has(k))Due(k,!1);else if(k instanceof Promise)delete O.value,O.get=()=>l(k);else if(Hm.has(k)){let[F,z]=Hm.get(k);O.value=f(F,z(),l)}Object.defineProperty(y,v,O)}),Object.preventExtensions(y)},i=new WeakMap,s=[1,1],o=c=>{if(!Pue(c))throw new Error("object required");let d=i.get(c);if(d)return d;let l=s[0],h=new Set,y=(G,R=++s[0])=>{l!==R&&(l=R,h.forEach(T=>T(G,R)))},v=s[1],k=(G=++s[1])=>(v!==G&&!h.size&&(v=G,F.forEach(([R])=>{let T=R[1](G);T>l&&(l=T)})),l),O=G=>(R,T)=>{let N=[...R];N[1]=[G,...N[1]],y(N,T)},F=new Map,z=(G,R)=>{if((zm.env?zm.env.MODE:void 0)!=="production"&&F.has(G))throw new Error("prop listener already exists");if(h.size){let T=R[3](O(G));F.set(G,[R,T])}else F.set(G,[R])},W=G=>{var R;let T=F.get(G);T&&(F.delete(G),(R=T[1])==null||R.call(T))},j=G=>(h.add(G),h.size===1&&F.forEach(([T,N],w)=>{if((zm.env?zm.env.MODE:void 0)!=="production"&&N)throw new Error("remove already exists");let m=T[3](O(w));F.set(w,[T,m])}),()=>{h.delete(G),h.size===0&&F.forEach(([T,N],w)=>{N&&(N(),F.set(w,[T]))})}),Q=Array.isArray(c)?[]:Object.create(Object.getPrototypeOf(c)),X=e(Q,{deleteProperty(G,R){let T=Reflect.get(G,R);W(R);let N=Reflect.deleteProperty(G,R);return N&&y(["delete",[R],T]),N},set(G,R,T,N){let w=Reflect.has(G,R),m=Reflect.get(G,R,N);if(w&&(t(m,T)||i.has(T)&&t(m,i.get(T))))return!0;W(R),Pue(T)&&(T=w50(T)||T);let A=T;if(T instanceof Promise)T.then(P=>{T.status="fulfilled",T.value=P,y(["resolve",[R],P])}).catch(P=>{T.status="rejected",T.reason=P,y(["reject",[R],P])});else{!Hm.has(T)&&n(T)&&(A=o(T));let P=!WQ.has(A)&&Hm.get(A);P&&z(R,P)}return Reflect.set(G,R,A,N),y(["set",[R],T,m]),!0}});i.set(c,X);let K=[Q,k,f,j];return Hm.set(X,K),Reflect.ownKeys(c).forEach(G=>{let R=Object.getOwnPropertyDescriptor(c,G);"value"in R&&(X[G]=c[G],delete R.value,delete R.writable),Object.defineProperty(Q,G,R)}),X})=>[o,Hm,WQ,t,e,n,a,r,f,i,s],[cdn]=odn()});async function jQ(t,e){let n=hdn({sdkType:Fue,sdkVersion:Nue},e),a=new URL(t,Lue);return a.searchParams.append("projectId",oc.state.projectId),Object.entries(n).forEach(([r,f])=>{f&&a.searchParams.append(r,String(f))}),(await fetch(a)).json()}function Edn(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}var Os,vf,vt,ddn,y1,Oue,Zu,Df,qQ,oc,ldn,_50,udn,pdn,A50,hdn,Lue,Fue,Nue,J9,bdn,C50,mdn,ydn,I50,gdn,k50,ep,cc,w_,_h,vdn,S50,wdn,Tdn,R50,xdn,RB,tp,X9,Ah,Uue=ce(()=>{u();p();E50();Os=Eh({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),vf={state:Os,subscribe(t){return Wm(Os,()=>t(Os))},push(t,e){t!==Os.view&&(Os.view=t,e&&(Os.data=e),Os.history.push(t))},reset(t){Os.view=t,Os.history=[t]},replace(t){Os.history.length>1&&(Os.history[Os.history.length-1]=t,Os.view=t)},goBack(){if(Os.history.length>1){Os.history.pop();let[t]=Os.history.slice(-1);Os.view=t}},setData(t){Os.data=t}},vt={WALLETCONNECT_DEEPLINK_CHOICE:"WALLETCONNECT_DEEPLINK_CHOICE",WCM_VERSION:"WCM_VERSION",RECOMMENDED_WALLET_AMOUNT:9,isMobile(){return typeof window<"u"?!!(window.matchMedia("(pointer:coarse)").matches||/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u.test(navigator.userAgent)):!1},isAndroid(){return vt.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){let t=navigator.userAgent.toLowerCase();return vt.isMobile()&&(t.includes("iphone")||t.includes("ipad"))},isHttpUrl(t){return t.startsWith("http://")||t.startsWith("https://")},isArray(t){return Array.isArray(t)&&t.length>0},formatNativeUrl(t,e,n){if(vt.isHttpUrl(t))return this.formatUniversalUrl(t,e,n);let a=t;a.includes("://")||(a=t.replaceAll("/","").replaceAll(":",""),a=`${a}://`),a.endsWith("/")||(a=`${a}/`),this.setWalletConnectDeepLink(a,n);let r=encodeURIComponent(e);return`${a}wc?uri=${r}`},formatUniversalUrl(t,e,n){if(!vt.isHttpUrl(t))return this.formatNativeUrl(t,e,n);let a=t;a.endsWith("/")||(a=`${a}/`),this.setWalletConnectDeepLink(a,n);let r=encodeURIComponent(e);return`${a}wc?uri=${r}`},async wait(t){return new Promise(e=>{setTimeout(e,t)})},openHref(t,e){window.open(t,e,"noreferrer noopener")},setWalletConnectDeepLink(t,e){try{localStorage.setItem(vt.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:e}))}catch{console.info("Unable to set WalletConnect deep link")}},setWalletConnectAndroidDeepLink(t){try{let[e]=t.split("?");localStorage.setItem(vt.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:"Android"}))}catch{console.info("Unable to set WalletConnect android deep link")}},removeWalletConnectDeepLink(){try{localStorage.removeItem(vt.WALLETCONNECT_DEEPLINK_CHOICE)}catch{console.info("Unable to remove WalletConnect deep link")}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(vt.WCM_VERSION,"2.6.2")}catch{console.info("Unable to set Web3Modal version in storage")}},getWalletRouterData(){var t;let e=(t=vf.state.data)==null?void 0:t.Wallet;if(!e)throw new Error('Missing "Wallet" view data');return e}},ddn=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),y1=Eh({enabled:ddn,userSessionId:"",events:[],connectedWalletId:void 0}),Oue={state:y1,subscribe(t){return Wm(y1.events,()=>t(x50(y1.events[y1.events.length-1])))},initialize(){y1.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(y1.userSessionId=crypto.randomUUID())},setConnectedWalletId(t){y1.connectedWalletId=t},click(t){if(y1.enabled){let e={type:"CLICK",name:t.name,userSessionId:y1.userSessionId,timestamp:Date.now(),data:t};y1.events.push(e)}},track(t){if(y1.enabled){let e={type:"TRACK",name:t.name,userSessionId:y1.userSessionId,timestamp:Date.now(),data:t};y1.events.push(e)}},view(t){if(y1.enabled){let e={type:"VIEW",name:t.name,userSessionId:y1.userSessionId,timestamp:Date.now(),data:t};y1.events.push(e)}}},Zu=Eh({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),Df={state:Zu,subscribe(t){return Wm(Zu,()=>t(Zu))},setChains(t){Zu.chains=t},setWalletConnectUri(t){Zu.walletConnectUri=t},setIsCustomDesktop(t){Zu.isCustomDesktop=t},setIsCustomMobile(t){Zu.isCustomMobile=t},setIsDataLoaded(t){Zu.isDataLoaded=t},setIsUiLoaded(t){Zu.isUiLoaded=t},setIsAuth(t){Zu.isAuth=t}},qQ=Eh({projectId:"",mobileWallets:void 0,desktopWallets:void 0,walletImages:void 0,chains:void 0,enableAuthMode:!1,enableExplorer:!0,explorerExcludedWalletIds:void 0,explorerRecommendedWalletIds:void 0,termsOfServiceUrl:void 0,privacyPolicyUrl:void 0}),oc={state:qQ,subscribe(t){return Wm(qQ,()=>t(qQ))},setConfig(t){var e,n;Oue.initialize(),Df.setChains(t.chains),Df.setIsAuth(!!t.enableAuthMode),Df.setIsCustomMobile(!!((e=t.mobileWallets)!=null&&e.length)),Df.setIsCustomDesktop(!!((n=t.desktopWallets)!=null&&n.length)),vt.setModalVersionInStorage(),Object.assign(qQ,t)}},ldn=Object.defineProperty,_50=Object.getOwnPropertySymbols,udn=Object.prototype.hasOwnProperty,pdn=Object.prototype.propertyIsEnumerable,A50=(t,e,n)=>e in t?ldn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,hdn=(t,e)=>{for(var n in e||(e={}))udn.call(e,n)&&A50(t,n,e[n]);if(_50)for(var n of _50(e))pdn.call(e,n)&&A50(t,n,e[n]);return t},Lue="https://explorer-api.walletconnect.com",Fue="wcm",Nue="js-2.6.2";J9={async getDesktopListings(t){return jQ("/w3m/v1/getDesktopListings",t)},async getMobileListings(t){return jQ("/w3m/v1/getMobileListings",t)},async getInjectedListings(t){return jQ("/w3m/v1/getInjectedListings",t)},async getAllListings(t){return jQ("/w3m/v1/getAllListings",t)},getWalletImageUrl(t){return`${Lue}/w3m/v1/getWalletImage/${t}?projectId=${oc.state.projectId}&sdkType=${Fue}&sdkVersion=${Nue}`},getAssetImageUrl(t){return`${Lue}/w3m/v1/getAssetImage/${t}?projectId=${oc.state.projectId}&sdkType=${Fue}&sdkVersion=${Nue}`}},bdn=Object.defineProperty,C50=Object.getOwnPropertySymbols,mdn=Object.prototype.hasOwnProperty,ydn=Object.prototype.propertyIsEnumerable,I50=(t,e,n)=>e in t?bdn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,gdn=(t,e)=>{for(var n in e||(e={}))mdn.call(e,n)&&I50(t,n,e[n]);if(C50)for(var n of C50(e))ydn.call(e,n)&&I50(t,n,e[n]);return t},k50=vt.isMobile(),ep=Eh({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),cc={state:ep,async getRecomendedWallets(){let{explorerRecommendedWalletIds:t,explorerExcludedWalletIds:e}=oc.state;if(t==="NONE"||e==="ALL"&&!t)return ep.recomendedWallets;if(vt.isArray(t)){let n={recommendedIds:t.join(",")},{listings:a}=await J9.getAllListings(n),r=Object.values(a);r.sort((f,i)=>{let s=t.indexOf(f.id),o=t.indexOf(i.id);return s-o}),ep.recomendedWallets=r}else{let{chains:n,isAuth:a}=Df.state,r=n?.join(","),f=vt.isArray(e),i={page:1,sdks:a?"auth_v1":void 0,entries:vt.RECOMMENDED_WALLET_AMOUNT,chains:r,version:2,excludedIds:f?e.join(","):void 0},{listings:s}=k50?await J9.getMobileListings(i):await J9.getDesktopListings(i);ep.recomendedWallets=Object.values(s)}return ep.recomendedWallets},async getWallets(t){let e=gdn({},t),{explorerRecommendedWalletIds:n,explorerExcludedWalletIds:a}=oc.state,{recomendedWallets:r}=ep;if(a==="ALL")return ep.wallets;r.length?e.excludedIds=r.map(l=>l.id).join(","):vt.isArray(n)&&(e.excludedIds=n.join(",")),vt.isArray(a)&&(e.excludedIds=[e.excludedIds,a].filter(Boolean).join(",")),Df.state.isAuth&&(e.sdks="auth_v1");let{page:f,search:i}=t,{listings:s,total:o}=k50?await J9.getMobileListings(e):await J9.getDesktopListings(e),c=Object.values(s),d=i?"search":"wallets";return ep[d]={listings:[...ep[d].listings,...c],total:o,page:f??1},{listings:c,total:o}},getWalletImageUrl(t){return J9.getWalletImageUrl(t)},getAssetImageUrl(t){return J9.getAssetImageUrl(t)},resetSearch(){ep.search={listings:[],total:0,page:1}}},w_=Eh({open:!1}),_h={state:w_,subscribe(t){return Wm(w_,()=>t(w_))},async open(t){return new Promise(e=>{let{isUiLoaded:n,isDataLoaded:a}=Df.state;if(vt.removeWalletConnectDeepLink(),Df.setWalletConnectUri(t?.uri),Df.setChains(t?.chains),vf.reset("ConnectWallet"),n&&a)w_.open=!0,e();else{let r=setInterval(()=>{let f=Df.state;f.isUiLoaded&&f.isDataLoaded&&(clearInterval(r),w_.open=!0,e())},200)}})},close(){w_.open=!1}},vdn=Object.defineProperty,S50=Object.getOwnPropertySymbols,wdn=Object.prototype.hasOwnProperty,Tdn=Object.prototype.propertyIsEnumerable,R50=(t,e,n)=>e in t?vdn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,xdn=(t,e)=>{for(var n in e||(e={}))wdn.call(e,n)&&R50(t,n,e[n]);if(S50)for(var n of S50(e))Tdn.call(e,n)&&R50(t,n,e[n]);return t};RB=Eh({themeMode:Edn()?"dark":"light"}),tp={state:RB,subscribe(t){return Wm(RB,()=>t(RB))},setThemeConfig(t){let{themeMode:e,themeVariables:n}=t;e&&(RB.themeMode=e),n&&(RB.themeVariables=xdn({},n))}},X9=Eh({open:!1,message:"",variant:"success"}),Ah={state:X9,subscribe(t){return Wm(X9,()=>t(X9))},openToast(t,e){X9.open=!0,X9.message=t,X9.variant=e},closeToast(){X9.open=!1}}});var GQ,KQ,Hue,M50,MB,B50,Ia,zue,QQ,Wue=ce(()=>{u();p();GQ=window,KQ=GQ.ShadowRoot&&(GQ.ShadyCSS===void 0||GQ.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Hue=Symbol(),M50=new WeakMap,MB=class{constructor(e,n,a){if(this._$cssResult$=!0,a!==Hue)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=n}get styleSheet(){let e=this.o,n=this.t;if(KQ&&e===void 0){let a=n!==void 0&&n.length===1;a&&(e=M50.get(n)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),a&&M50.set(n,e))}return e}toString(){return this.cssText}},B50=t=>new MB(typeof t=="string"?t:t+"",void 0,Hue),Ia=(t,...e)=>{let n=t.length===1?t[0]:e.reduce((a,r,f)=>a+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[f+1],t[0]);return new MB(n,t,Hue)},zue=(t,e)=>{KQ?t.adoptedStyleSheets=e.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet):e.forEach(n=>{let a=document.createElement("style"),r=GQ.litNonce;r!==void 0&&a.setAttribute("nonce",r),a.textContent=n.cssText,t.appendChild(a)})},QQ=KQ?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let n="";for(let a of e.cssRules)n+=a.cssText;return B50(n)})(t):t});var que,VQ,D50,_dn,P50,Gue,L50,jue,Kue,Ch,YQ=ce(()=>{u();p();Wue();Wue();VQ=window,D50=VQ.trustedTypes,_dn=D50?D50.emptyScript:"",P50=VQ.reactiveElementPolyfillSupport,Gue={toAttribute(t,e){switch(e){case Boolean:t=t?_dn:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let n=t;switch(e){case Boolean:n=t!==null;break;case Number:n=t===null?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch{n=null}}return n}},L50=(t,e)=>e!==t&&(e==e||t==t),jue={attribute:!0,type:String,converter:Gue,reflect:!1,hasChanged:L50},Kue="finalized",Ch=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(e){var n;this.finalize(),((n=this.h)!==null&&n!==void 0?n:this.h=[]).push(e)}static get observedAttributes(){this.finalize();let e=[];return this.elementProperties.forEach((n,a)=>{let r=this._$Ep(a,n);r!==void 0&&(this._$Ev.set(r,a),e.push(r))}),e}static createProperty(e,n=jue){if(n.state&&(n.attribute=!1),this.finalize(),this.elementProperties.set(e,n),!n.noAccessor&&!this.prototype.hasOwnProperty(e)){let a=typeof e=="symbol"?Symbol():"__"+e,r=this.getPropertyDescriptor(e,a,n);r!==void 0&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,n,a){return{get(){return this[n]},set(r){let f=this[e];this[n]=r,this.requestUpdate(e,f,a)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||jue}static finalize(){if(this.hasOwnProperty(Kue))return!1;this[Kue]=!0;let e=Object.getPrototypeOf(this);if(e.finalize(),e.h!==void 0&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let n=this.properties,a=[...Object.getOwnPropertyNames(n),...Object.getOwnPropertySymbols(n)];for(let r of a)this.createProperty(r,n[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){let n=[];if(Array.isArray(e)){let a=new Set(e.flat(1/0).reverse());for(let r of a)n.unshift(QQ(r))}else e!==void 0&&n.push(QQ(e));return n}static _$Ep(e,n){let a=n.attribute;return a===!1?void 0:typeof a=="string"?a:typeof e=="string"?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise(n=>this.enableUpdating=n),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(e=this.constructor.h)===null||e===void 0||e.forEach(n=>n(this))}addController(e){var n,a;((n=this._$ES)!==null&&n!==void 0?n:this._$ES=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((a=e.hostConnected)===null||a===void 0||a.call(e))}removeController(e){var n;(n=this._$ES)===null||n===void 0||n.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,n)=>{this.hasOwnProperty(n)&&(this._$Ei.set(n,this[n]),delete this[n])})}createRenderRoot(){var e;let n=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return zue(n,this.constructor.elementStyles),n}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)===null||e===void 0||e.forEach(n=>{var a;return(a=n.hostConnected)===null||a===void 0?void 0:a.call(n)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)===null||e===void 0||e.forEach(n=>{var a;return(a=n.hostDisconnected)===null||a===void 0?void 0:a.call(n)})}attributeChangedCallback(e,n,a){this._$AK(e,a)}_$EO(e,n,a=jue){var r;let f=this.constructor._$Ep(e,a);if(f!==void 0&&a.reflect===!0){let i=(((r=a.converter)===null||r===void 0?void 0:r.toAttribute)!==void 0?a.converter:Gue).toAttribute(n,a.type);this._$El=e,i==null?this.removeAttribute(f):this.setAttribute(f,i),this._$El=null}}_$AK(e,n){var a;let r=this.constructor,f=r._$Ev.get(e);if(f!==void 0&&this._$El!==f){let i=r.getPropertyOptions(f),s=typeof i.converter=="function"?{fromAttribute:i.converter}:((a=i.converter)===null||a===void 0?void 0:a.fromAttribute)!==void 0?i.converter:Gue;this._$El=f,this[f]=s.fromAttribute(n,i.type),this._$El=null}}requestUpdate(e,n,a){let r=!0;e!==void 0&&(((a=a||this.constructor.getPropertyOptions(e)).hasChanged||L50)(this[e],n)?(this._$AL.has(e)||this._$AL.set(e,n),a.reflect===!0&&this._$El!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,a))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(n){Promise.reject(n)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((r,f)=>this[f]=r),this._$Ei=void 0);let n=!1,a=this._$AL;try{n=this.shouldUpdate(a),n?(this.willUpdate(a),(e=this._$ES)===null||e===void 0||e.forEach(r=>{var f;return(f=r.hostUpdate)===null||f===void 0?void 0:f.call(r)}),this.update(a)):this._$Ek()}catch(r){throw n=!1,this._$Ek(),r}n&&this._$AE(a)}willUpdate(e){}_$AE(e){var n;(n=this._$ES)===null||n===void 0||n.forEach(a=>{var r;return(r=a.hostUpdated)===null||r===void 0?void 0:r.call(a)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){this._$EC!==void 0&&(this._$EC.forEach((n,a)=>this._$EO(a,this[a],n)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};Ch[Kue]=!0,Ch.elementProperties=new Map,Ch.elementStyles=[],Ch.shadowRootOptions={mode:"open"},P50?.({ReactiveElement:Ch}),((que=VQ.reactiveElementVersions)!==null&&que!==void 0?que:VQ.reactiveElementVersions=[]).push("1.6.3")});function Q50(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return F50!==void 0?F50.createHTML(e):e}function x_(t,e,n=t,a){var r,f,i,s;if(e===Ih)return e;let o=a!==void 0?(r=n._$Co)===null||r===void 0?void 0:r[a]:n._$Cl,c=PB(e)?void 0:e._$litDirective$;return o?.constructor!==c&&((f=o?._$AO)===null||f===void 0||f.call(o,!1),c===void 0?o=void 0:(o=new c(t),o._$AT(t,n,a)),a!==void 0?((i=(s=n)._$Co)!==null&&i!==void 0?i:s._$Co=[])[a]=o:n._$Cl=o),o!==void 0&&(e=x_(t,o._$AS(t,e.values),o,a)),e}var Que,$Q,T_,F50,Yue,qm,q50,Adn,tg,DB,PB,j50,Cdn,Vue,BB,N50,O50,Z9,U50,H50,G50,K50,q0,wf,Ih,Fi,z50,eg,Idn,LB,$ue,FB,E_,Jue,kdn,Xue,Zue,epe,W50,V50,ng=ce(()=>{u();p();$Q=window,T_=$Q.trustedTypes,F50=T_?T_.createPolicy("lit-html",{createHTML:t=>t}):void 0,Yue="$lit$",qm=`lit$${(Math.random()+"").slice(9)}$`,q50="?"+qm,Adn=`<${q50}>`,tg=document,DB=()=>tg.createComment(""),PB=t=>t===null||typeof t!="object"&&typeof t!="function",j50=Array.isArray,Cdn=t=>j50(t)||typeof t?.[Symbol.iterator]=="function",Vue=`[ \f\r]`,BB=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,N50=/-->/g,O50=/>/g,Z9=RegExp(`>|${Vue}(?:([^\\s"'>=/]+)(${Vue}*=${Vue}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),U50=/'/g,H50=/"/g,G50=/^(?:script|style|textarea|title)$/i,K50=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),q0=K50(1),wf=K50(2),Ih=Symbol.for("lit-noChange"),Fi=Symbol.for("lit-nothing"),z50=new WeakMap,eg=tg.createTreeWalker(tg,129,null,!1);Idn=(t,e)=>{let n=t.length-1,a=[],r,f=e===2?"":"",i=BB;for(let s=0;s"?(i=r??BB,l=-1):d[1]===void 0?l=-2:(l=i.lastIndex-d[2].length,c=d[1],i=d[3]===void 0?Z9:d[3]==='"'?H50:U50):i===H50||i===U50?i=Z9:i===N50||i===O50?i=BB:(i=Z9,r=void 0);let y=i===Z9&&t[s+1].startsWith("/>")?" ":"";f+=i===BB?o+Adn:l>=0?(a.push(c),o.slice(0,l)+Yue+o.slice(l)+Wm+y):o+Wm+(l===-2?(a.push(void 0),s):y)}return[Q50(t,f+(t[n]||"")+(e===2?"":"")),a]},LB=class t{constructor({strings:e,_$litType$:n},a){let r;this.parts=[];let f=0,i=0,s=e.length-1,o=this.parts,[c,d]=Idn(e,n);if(this.el=t.createElement(c,a),eg.currentNode=this.el.content,n===2){let l=this.el.content,h=l.firstChild;h.remove(),l.append(...h.childNodes)}for(;(r=eg.nextNode())!==null&&o.length0){r.textContent=T_?T_.emptyScript:"";for(let y=0;y2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=Fi}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,n=this,a,r){let f=this.strings,i=!1;if(f===void 0)e=x_(this,e,n,0),i=!PB(e)||e!==this._$AH&&e!==Ih,i&&(this._$AH=e);else{let s=e,o,c;for(e=f[0],o=0;o{var a,r;let f=(a=n?.renderBefore)!==null&&a!==void 0?a:e,i=f._$litPart$;if(i===void 0){let s=(r=n?.renderBefore)!==null&&r!==void 0?r:null;f._$litPart$=i=new FB(e.insertBefore(DB(),s),s,void 0,n??{})}return i._$AI(t),i}});var tpe,npe,Tn,Y50,$50=ce(()=>{u();p();YQ();YQ();ng();ng();Tn=class extends Ch{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,n;let a=super.createRenderRoot();return(e=(n=this.renderOptions).renderBefore)!==null&&e!==void 0||(n.renderBefore=a.firstChild),a}update(e){let n=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=V50(n,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!1)}render(){return Ih}};Tn.finalized=!0,Tn._$litElement$=!0,(tpe=globalThis.litElementHydrateSupport)===null||tpe===void 0||tpe.call(globalThis,{LitElement:Tn});Y50=globalThis.litElementPolyfillSupport;Y50?.({LitElement:Tn});((npe=globalThis.litElementVersions)!==null&&npe!==void 0?npe:globalThis.litElementVersions=[]).push("3.3.3")});var J50=ce(()=>{u();p();});var X50=ce(()=>{u();p();YQ();ng();$50();J50()});var pa,Z50=ce(()=>{u();p();pa=t=>e=>typeof e=="function"?((n,a)=>(customElements.define(n,a),a))(t,e):((n,a)=>{let{kind:r,elements:f}=a;return{kind:r,elements:f,finisher(i){customElements.define(n,i)}}})(t,e)});function sn(t){return(e,n)=>n!==void 0?Rdn(t,e,n):Sdn(t,e)}var Sdn,Rdn,ape=ce(()=>{u();p();Sdn=(t,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(n){n.createProperty(e.key,t)}},Rdn=(t,e,n)=>{e.constructor.createProperty(n,t)}});function dc(t){return sn({...t,state:!0})}var ed0=ce(()=>{u();p();ape();});var ag=ce(()=>{u();p();});var td0=ce(()=>{u();p();ag();});var nd0=ce(()=>{u();p();ag();});var ad0=ce(()=>{u();p();ag();});var rd0=ce(()=>{u();p();ag();});var rpe,tLa,fpe=ce(()=>{u();p();ag();tLa=((rpe=window.HTMLSlotElement)===null||rpe===void 0?void 0:rpe.prototype.assignedElements)!=null?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter(n=>n.nodeType===Node.ELEMENT_NODE)});var fd0=ce(()=>{u();p();ag();fpe();});var id0=ce(()=>{u();p();Z50();ape();ed0();td0();nd0();ad0();rd0();fpe();fd0()});var sd0,od0,JQ,cd0=ce(()=>{u();p();sd0={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},od0=t=>(...e)=>({_$litDirective$:t,values:e}),JQ=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,n,a){this._$Ct=e,this._$AM=n,this._$Ci=a}_$AS(e,n){return this.update(e,n)}update(e,n){return this.render(...n)}}});var np,dd0=ce(()=>{u();p();ng();cd0();np=od0(class extends JQ{constructor(t){var e;if(super(t),t.type!==sd0.ATTRIBUTE||t.name!=="class"||((e=t.strings)===null||e===void 0?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){var n,a;if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(f=>f!=="")));for(let f in e)e[f]&&!(!((n=this.nt)===null||n===void 0)&&n.has(f))&&this.it.add(f);return this.render(e)}let r=t.element.classList;this.it.forEach(f=>{f in e||(r.remove(f),this.it.delete(f))});for(let f in e){let i=!!e[f];i===this.it.has(f)||!((a=this.nt)===null||a===void 0)&&a.has(f)||(i?(r.add(f),this.it.add(f)):(r.remove(f),this.it.delete(f)))}return Ih}})});var ld0=ce(()=>{u();p();dd0()});function ipe(t,e){t.indexOf(e)===-1&&t.push(e)}var ud0=ce(()=>{u();p()});var OB,spe=ce(()=>{u();p();OB=(t,e,n)=>Math.min(Math.max(n,t),e)});var go,pd0=ce(()=>{u();p();go={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"}});var kh,XQ=ce(()=>{u();p();kh=t=>typeof t=="number"});var ap,ope=ce(()=>{u();p();XQ();ap=t=>Array.isArray(t)&&!kh(t[0])});var hd0,bd0=ce(()=>{u();p();hd0=(t,e,n)=>{let a=e-t;return((n-t)%a+a)%a+t}});function md0(t,e){return ap(t)?t[hd0(0,t.length,e)]:t}var yd0=ce(()=>{u();p();ope();bd0()});var ZQ,cpe=ce(()=>{u();p();ZQ=(t,e,n)=>-n*t+n*e+t});var UB,lc,dpe=ce(()=>{u();p();UB=()=>{},lc=t=>t});var rg,eV=ce(()=>{u();p();rg=(t,e,n)=>e-t===0?1:(n-t)/(e-t)});function lpe(t,e){let n=t[t.length-1];for(let a=1;a<=e;a++){let r=rg(0,e,a);t.push(ZQ(n,1,r))}}function gd0(t){let e=[0];return lpe(e,t-1),e}var vd0=ce(()=>{u();p();cpe();eV()});function upe(t,e=gd0(t.length),n=lc){let a=t.length,r=a-e.length;return r>0&&lpe(e,r),f=>{let i=0;for(;i{u();p();cpe();dpe();vd0();eV();yd0();spe()});var HB,Td0=ce(()=>{u();p();XQ();HB=t=>Array.isArray(t)&&kh(t[0])});var __,xd0=ce(()=>{u();p();__=t=>typeof t=="object"&&!!t.createAnimation});var yd,Ed0=ce(()=>{u();p();yd=t=>typeof t=="function"});var ppe,_d0=ce(()=>{u();p();ppe=t=>typeof t=="string"});var qm,Ad0=ce(()=>{u();p();qm={ms:t=>t*1e3,s:t=>t/1e3}});var gd=ce(()=>{u();p();ud0();spe();pd0();wd0();Td0();xd0();ope();Ed0();XQ();_d0();dpe();eV();Ad0()});function Ddn(t,e,n,a,r){let f,i,s=0;do i=e+(n-e)/2,f=Cd0(i,a,r)-t,f>0?n=i:e=i;while(Math.abs(f)>Mdn&&++sDdn(f,0,1,t,n);return f=>f===0||f===1?f:Cd0(r(f),e,a)}var Cd0,Mdn,Bdn,Id0=ce(()=>{u();p();gd();Cd0=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Mdn=1e-7,Bdn=12});var hpe,kd0=ce(()=>{u();p();gd();hpe=(t,e="end")=>n=>{n=e==="end"?Math.min(n,.999):Math.max(n,.001);let a=n*t,r=e==="end"?Math.floor(a):Math.ceil(a);return OB(0,1,r/t)}});var Sd0=ce(()=>{u();p();Id0();kd0()});function bpe(t){if(yd(t))return t;if(HB(t))return fg(...t);if(Rd0[t])return Rd0[t];if(t.startsWith("steps")){let e=Pdn.exec(t);if(e){let n=e[1].split(",");return hpe(parseFloat(n[0]),n[1].trim())}}return lc}var Rd0,Pdn,Md0=ce(()=>{u();p();Sd0();gd();Rd0={ease:fg(.25,.1,.25,1),"ease-in":fg(.42,0,1,1),"ease-in-out":fg(.42,0,.58,1),"ease-out":fg(0,0,.58,1)},Pdn=/\((.*?)\)/});var ig,Bd0=ce(()=>{u();p();gd();Md0();ig=class{constructor(e,n=[0,1],{easing:a,duration:r=go.duration,delay:f=go.delay,endDelay:i=go.endDelay,repeat:s=go.repeat,offset:o,direction:c="normal",autoplay:d=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=lc,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((h,y)=>{this.resolve=h,this.reject=y}),a=a||go.easing,__(a)){let h=a.createAnimation(n);a=h.easing,n=h.keyframes||n,r=h.duration||r}this.repeat=s,this.easing=ap(a)?lc:bpe(a),this.updateDuration(r);let l=upe(n,o,ap(a)?a.map(bpe):lc);this.tick=h=>{var y;f=f;let v=0;this.pauseTime!==void 0?v=this.pauseTime:v=(h-this.startTime)*this.rate,this.t=v,v/=1e3,v=Math.max(v-f,0),this.playState==="finished"&&this.pauseTime===void 0&&(v=this.totalDuration);let S=v/this.duration,O=Math.floor(S),F=S%1;!F&&S>=1&&(F=1),F===1&&O--;let z=O%2;(c==="reverse"||c==="alternate"&&z||c==="alternate-reverse"&&!z)&&(F=1-F);let W=v>=this.totalDuration?1:Math.min(F,1),j=l(this.easing(W));e(j),this.pauseTime===void 0&&(this.playState==="finished"||v>=this.totalDuration+i)?(this.playState="finished",(y=this.resolve)===null||y===void 0||y.call(this,j)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},d&&this.play()}play(){let e=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var e;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(e=this.reject)===null||e===void 0||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){this.pauseTime!==void 0||this.rate===0?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}}});var mpe=ce(()=>{u();p();Bd0()});var Ldn,tV,Dd0=ce(()=>{u();p();Ldn=function(){},tV=function(){};E.env.NODE_ENV!=="production"&&(Ldn=function(t,e){!t&&typeof console<"u"&&console.warn(e)},tV=function(t,e){if(!t)throw new Error(e)})});var zB,Pd0=ce(()=>{u();p();zB=class{setAnimation(e){this.animation=e,e?.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}});var ype=ce(()=>{u();p();Pd0()});function nV(t){return gpe.has(t)||gpe.set(t,{transforms:[],values:new Map}),gpe.get(t)}function Ld0(t,e){return t.has(e)||t.set(e,new zB),t.get(e)}var gpe,vpe=ce(()=>{u();p();ype();gpe=new WeakMap});var Fdn,Ndn,WB,Fd0,Odn,jm,rV,aV,Udn,Hdn,fV,Nd0,zdn,Wdn,qB=ce(()=>{u();p();gd();vpe();Fdn=["","X","Y","Z"],Ndn=["translate","scale","rotate","skew"],WB={x:"translateX",y:"translateY",z:"translateZ"},Fd0={syntax:"",initialValue:"0deg",toDefaultUnit:t=>t+"deg"},Odn={translate:{syntax:"",initialValue:"0px",toDefaultUnit:t=>t+"px"},rotate:Fd0,scale:{syntax:"",initialValue:1,toDefaultUnit:lc},skew:Fd0},jm=new Map,rV=t=>`--motion-${t}`,aV=["x","y","z"];Ndn.forEach(t=>{Fdn.forEach(e=>{aV.push(t+e),jm.set(rV(t+e),Odn[t])})});Udn=(t,e)=>aV.indexOf(t)-aV.indexOf(e),Hdn=new Set(aV),fV=t=>Hdn.has(t),Nd0=(t,e)=>{WB[e]&&(e=WB[e]);let{transforms:n}=nV(t);ipe(n,e),t.style.transform=zdn(n)},zdn=t=>t.sort(Udn).reduce(Wdn,"").trim(),Wdn=(t,e)=>`${t} ${e}(var(${rV(e)}))`});function Ud0(t){if(!Od0.has(t)){Od0.add(t);try{let{syntax:e,initialValue:n}=jm.has(t)?jm.get(t):{};CSS.registerProperty({name:t,inherits:!1,syntax:e,initialValue:n})}catch{}}}var jB,Od0,wpe=ce(()=>{u();p();qB();jB=t=>t.startsWith("--"),Od0=new Set});var Tpe,Hd0,xpe,Gm,Epe=ce(()=>{u();p();Tpe=(t,e)=>document.createElement("div").animate(t,e),Hd0={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{Tpe({opacity:[1]})}catch{return!1}return!0},finished:()=>!!Tpe({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{Tpe({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},xpe={},Gm={};for(let t in Hd0)Gm[t]=()=>(xpe[t]===void 0&&(xpe[t]=Hd0[t]()),xpe[t])});var qdn,jdn,_pe,Gdn,zd0=ce(()=>{u();p();gd();Epe();qdn=.015,jdn=(t,e)=>{let n="",a=Math.round(e/qdn);for(let r=0;ryd(t)?Gm.linearEasing()?`linear(${jdn(t,e)})`:go.easing:HB(t)?Gdn(t):t,Gdn=([t,e,n,a])=>`cubic-bezier(${t}, ${e}, ${n}, ${a})`});function Wd0(t,e){for(let n=0;n{u();p();qd0=t=>Array.isArray(t)?t:[t]});function GB(t){return WB[t]&&(t=WB[t]),fV(t)?rV(t):t}var Ape=ce(()=>{u();p();qB()});var KB,Gd0=ce(()=>{u();p();wpe();Ape();qB();KB={get:(t,e)=>{e=GB(e);let n=jB(e)?t.style.getPropertyValue(e):getComputedStyle(t)[e];if(!n&&n!==0){let a=jm.get(e);a&&(n=a.initialValue)}return n},set:(t,e,n)=>{e=GB(e),jB(e)?t.style.setProperty(e,n):t.style[e]=n}}});function iV(t,e=!0){if(!(!t||t.playState==="finished"))try{t.stop?t.stop():(e&&t.commitStyles(),t.cancel())}catch{}}var Cpe=ce(()=>{u();p()});function Kd0(t,e){var n;let a=e?.toDefaultUnit||lc,r=t[t.length-1];if(ppe(r)){let f=((n=r.match(/(-?[\d.]+)([a-z%]*)/))===null||n===void 0?void 0:n[2])||"";f&&(a=i=>i+f)}return a}var Qd0=ce(()=>{u();p();gd()});function Kdn(){return window.__MOTION_DEV_TOOLS_RECORD}function Vd0(t,e,n,a={},r){let f=Kdn(),i=a.record!==!1&&f,s,{duration:o=go.duration,delay:c=go.delay,endDelay:d=go.endDelay,repeat:l=go.repeat,easing:h=go.easing,persist:y=!1,direction:v,offset:S,allowWebkitAcceleration:O=!1,autoplay:F=!0}=a,z=nV(t),W=fV(e),j=Gm.waapi();W&&Nd0(t,e);let Q=GB(e),V=Ld0(z.values,Q),X=jm.get(Q);return iV(V.animation,!(__(h)&&V.generator)&&a.record!==!1),()=>{let K=()=>{var T,N;return(N=(T=KB.get(t,Q))!==null&&T!==void 0?T:X?.initialValue)!==null&&N!==void 0?N:0},G=Wd0(qd0(n),K),R=Kd0(G,X);if(__(h)){let T=h.createAnimation(G,e!=="opacity",K,Q,V);h=T.easing,G=T.keyframes||G,o=T.duration||o}if(jB(Q)&&(Gm.cssRegisterProperty()?Ud0(Q):j=!1),W&&!Gm.linearEasing()&&(yd(h)||ap(h)&&h.some(yd))&&(j=!1),j){X&&(G=G.map(w=>kh(w)?X.toDefaultUnit(w):w)),G.length===1&&(!Gm.partialKeyframes()||i)&&G.unshift(K());let T={delay:qm.ms(c),duration:qm.ms(o),endDelay:qm.ms(d),easing:ap(h)?void 0:_pe(h,o),direction:v,iterations:l+1,fill:"both"};s=t.animate({[Q]:G,offset:S,easing:ap(h)?h.map(w=>_pe(w,o)):void 0},T),s.finished||(s.finished=new Promise((w,m)=>{s.onfinish=w,s.oncancel=m}));let N=G[G.length-1];s.finished.then(()=>{y||(KB.set(t,Q,N),s.cancel())}).catch(UB),O||(s.playbackRate=1.000001)}else if(r&&W)G=G.map(T=>typeof T=="string"?parseFloat(T):T),G.length===1&&G.unshift(parseFloat(K())),s=new r(T=>{KB.set(t,Q,R?R(T):T)},G,Object.assign(Object.assign({},a),{duration:o,easing:h}));else{let T=G[G.length-1];KB.set(t,Q,X&&kh(T)?X.toDefaultUnit(T):T)}return i&&f(t,e,G,{duration:o,delay:c,easing:h,repeat:l,offset:S},"motion-one"),V.setAnimation(s),s&&!F&&s.pause(),s}}var Yd0=ce(()=>{u();p();vpe();wpe();gd();qB();zd0();Epe();jd0();Gd0();Ape();Cpe();Qd0()});var $d0,Jd0=ce(()=>{u();p();$d0=(t,e)=>t[e]?Object.assign(Object.assign({},t),t[e]):Object.assign({},t)});function Xd0(t,e){var n;return typeof t=="string"?e?((n=e[t])!==null&&n!==void 0||(e[t]=document.querySelectorAll(t)),t=e[t]):t=document.querySelectorAll(t):t instanceof Element&&(t=[t]),Array.from(t||[])}var Zd0=ce(()=>{u();p()});var Qdn,QB,Vdn,Ydn,$dn,Ipe=ce(()=>{u();p();gd();Cpe();Qdn=t=>t(),QB=(t,e,n=go.duration)=>new Proxy({animations:t.map(Qdn).filter(Boolean),duration:n,options:e},Ydn),Vdn=t=>t.animations[0],Ydn={get:(t,e)=>{let n=Vdn(t);switch(e){case"duration":return t.duration;case"currentTime":return qm.s(n?.[e]||0);case"playbackRate":case"playState":return n?.[e];case"finished":return t.finished||(t.finished=Promise.all(t.animations.map($dn)).catch(UB)),t.finished;case"stop":return()=>{t.animations.forEach(a=>iV(a))};case"forEachNative":return a=>{t.animations.forEach(r=>a(r,t))};default:return typeof n?.[e]>"u"?void 0:()=>t.animations.forEach(a=>a[e]())}},set:(t,e,n)=>{switch(e){case"currentTime":n=qm.ms(n);case"playbackRate":for(let a=0;at.finished});function el0(t,e,n){return yd(t)?t(e,n):t}var tl0=ce(()=>{u();p();gd()});function nl0(t){return function(n,a,r={}){n=Xd0(n);let f=n.length;tV(!!f,"No valid element provided."),tV(!!a,"No keyframes defined.");let i=[];for(let s=0;s{u();p();Dd0();Yd0();Jd0();Zd0();Ipe();tl0()});var kpe,rl0=ce(()=>{u();p();mpe();al0();kpe=nl0(ig)});var dV={};V0(dV,{__addDisposableResource:()=>Al0,__assign:()=>sV,__asyncDelegator:()=>yl0,__asyncGenerator:()=>ml0,__asyncValues:()=>gl0,__await:()=>A_,__awaiter:()=>dl0,__classPrivateFieldGet:()=>xl0,__classPrivateFieldIn:()=>_l0,__classPrivateFieldSet:()=>El0,__createBinding:()=>cV,__decorate:()=>sl0,__disposeResources:()=>Cl0,__esDecorate:()=>Jdn,__exportStar:()=>ul0,__extends:()=>fl0,__generator:()=>ll0,__importDefault:()=>Tl0,__importStar:()=>wl0,__makeTemplateObject:()=>vl0,__metadata:()=>cl0,__param:()=>ol0,__propKey:()=>Zdn,__read:()=>Rpe,__rest:()=>il0,__runInitializers:()=>Xdn,__setFunctionName:()=>eln,__spread:()=>pl0,__spreadArray:()=>bl0,__spreadArrays:()=>hl0,__values:()=>oV,default:()=>aln});function fl0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Spe(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function il0(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(t);r=0;s--)(i=t[s])&&(f=(r<3?i(f):r>3?i(e,n,f):i(e,n))||f);return r>3&&f&&Object.defineProperty(e,n,f),f}function ol0(t,e){return function(n,a){e(n,a,t)}}function Jdn(t,e,n,a,r,f){function i(F){if(F!==void 0&&typeof F!="function")throw new TypeError("Function expected");return F}for(var s=a.kind,o=s==="getter"?"get":s==="setter"?"set":"value",c=!e&&t?a.static?t:t.prototype:null,d=e||(c?Object.getOwnPropertyDescriptor(c,a.name):{}),l,h=!1,y=n.length-1;y>=0;y--){var v={};for(var S in a)v[S]=S==="access"?{}:a[S];for(var S in a.access)v.access[S]=a.access[S];v.addInitializer=function(F){if(h)throw new TypeError("Cannot add initializers after decoration has completed");f.push(i(F||null))};var O=(0,n[y])(s==="accessor"?{get:d.get,set:d.set}:d[o],v);if(s==="accessor"){if(O===void 0)continue;if(O===null||typeof O!="object")throw new TypeError("Object expected");(l=i(O.get))&&(d.get=l),(l=i(O.set))&&(d.set=l),(l=i(O.init))&&r.unshift(l)}else(l=i(O))&&(s==="field"?r.unshift(l):d[o]=l)}c&&Object.defineProperty(c,a.name,d),h=!0}function Xdn(t,e,n){for(var a=arguments.length>2,r=0;r0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]=t.length&&(t=void 0),{value:t&&t[a++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Rpe(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var a=n.call(t),r,f=[],i;try{for(;(e===void 0||e-- >0)&&!(r=a.next()).done;)f.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return f}function pl0(){for(var t=[],e=0;e1||s(h,y)})})}function s(h,y){try{o(a[h](y))}catch(v){l(f[0][3],v)}}function o(h){h.value instanceof A_?Promise.resolve(h.value.v).then(c,d):l(f[0][2],h)}function c(h){s("next",h)}function d(h){s("throw",h)}function l(h,y){h(y),f.shift(),f.length&&s(f[0][0],f[0][1])}}function yl0(t){var e,n;return e={},a("next"),a("throw",function(r){throw r}),a("return"),e[Symbol.iterator]=function(){return this},e;function a(r,f){e[r]=t[r]?function(i){return(n=!n)?{value:A_(t[r](i)),done:!1}:f?f(i):i}:f}}function gl0(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof oV=="function"?oV(t):t[Symbol.iterator](),n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n);function a(f){n[f]=t[f]&&function(i){return new Promise(function(s,o){i=t[f](i),r(s,o,i.done,i.value)})}}function r(f,i,s,o){Promise.resolve(o).then(function(c){f({value:c,done:s})},i)}}function vl0(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function wl0(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&cV(e,t,n);return tln(e,t),e}function Tl0(t){return t&&t.__esModule?t:{default:t}}function xl0(t,e,n,a){if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?a:n==="a"?a.call(t):a?a.value:e.get(t)}function El0(t,e,n,a,r){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!r)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?r.call(t,n):r?r.value=n:e.set(t,n),n}function _l0(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function Al0(t,e,n){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var a;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");a=e[Symbol.asyncDispose]}if(a===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");a=e[Symbol.dispose]}if(typeof a!="function")throw new TypeError("Object not disposable.");t.stack.push({value:e,dispose:a,async:n})}else n&&t.stack.push({async:!0});return e}function Cl0(t){function e(a){t.error=t.hasError?new nln(a,t.error,"An error was suppressed during disposal."):a,t.hasError=!0}function n(){for(;t.stack.length;){var a=t.stack.pop();try{var r=a.dispose&&a.dispose.call(a.value);if(a.async)return Promise.resolve(r).then(n,function(f){return e(f),n()})}catch(f){e(f)}}if(t.hasError)throw t.error}return n()}var Spe,sV,cV,tln,nln,aln,lV=ce(()=>{u();p();Spe=function(t,e){return Spe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(n[r]=a[r])},Spe(t,e)};sV=function(){return sV=Object.assign||function(e){for(var n,a=1,r=arguments.length;a{u();p();rl0();Ipe()});function rln(t,e={}){return QB([()=>{let n=new ig(t,[0,1],e);return n.finished.catch(()=>{}),n}],e,e.duration)}function Sh(t,e,n){return(yd(t)?rln:kpe)(t,e,n)}var Il0=ce(()=>{u();p();Mpe();gd();mpe()});var kl0=ce(()=>{u();p();Mpe();ype();Il0()});var g1,Sl0=ce(()=>{u();p();ng();g1=t=>t??Fi});var Rl0=ce(()=>{u();p();Sl0()});var Bl0=D((VUa,Ml0)=>{u();p();Ml0.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var Km=D(sg=>{u();p();var Bpe,fln=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];sg.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17};sg.getSymbolTotalCodewords=function(e){return fln[e]};sg.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};sg.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');Bpe=e};sg.isKanjiModeEnabled=function(){return typeof Bpe<"u"};sg.toSJIS=function(e){return Bpe(e)}});var uV=D(vd=>{u();p();vd.L={bit:1};vd.M={bit:0};vd.Q={bit:3};vd.H={bit:2};function iln(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return vd.L;case"m":case"medium":return vd.M;case"q":case"quartile":return vd.Q;case"h":case"high":return vd.H;default:throw new Error("Unknown EC Level: "+t)}}vd.isValid=function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4};vd.from=function(e,n){if(vd.isValid(e))return e;try{return iln(e)}catch{return n}}});var Ll0=D((aHa,Pl0)=>{u();p();function Dl0(){this.buffer=[],this.length=0}Dl0.prototype={get:function(t){let e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},put:function(t,e){for(let n=0;n>>e-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){let e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};Pl0.exports=Dl0});var Nl0=D((iHa,Fl0)=>{u();p();function VB(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}VB.prototype.set=function(t,e,n,a){let r=t*this.size+e;this.data[r]=n,a&&(this.reservedBit[r]=!0)};VB.prototype.get=function(t,e){return this.data[t*this.size+e]};VB.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n};VB.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};Fl0.exports=VB});var Ol0=D(pV=>{u();p();var sln=Km().getSymbolSize;pV.getRowColCoords=function(e){if(e===1)return[];let n=Math.floor(e/7)+2,a=sln(e),r=a===145?26:Math.ceil((a-13)/(2*n-2))*2,f=[a-7];for(let i=1;i{u();p();var oln=Km().getSymbolSize,Ul0=7;Hl0.getPositions=function(e){let n=oln(e);return[[0,0],[n-Ul0,0],[0,n-Ul0]]}});var Wl0=D(Vr=>{u();p();Vr.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var og={N1:3,N2:3,N3:40,N4:10};Vr.isValid=function(e){return e!=null&&e!==""&&!isNaN(e)&&e>=0&&e<=7};Vr.from=function(e){return Vr.isValid(e)?parseInt(e,10):void 0};Vr.getPenaltyN1=function(e){let n=e.size,a=0,r=0,f=0,i=null,s=null;for(let o=0;o=5&&(a+=og.N1+(r-5)),i=d,r=1),d=e.get(c,o),d===s?f++:(f>=5&&(a+=og.N1+(f-5)),s=d,f=1)}r>=5&&(a+=og.N1+(r-5)),f>=5&&(a+=og.N1+(f-5))}return a};Vr.getPenaltyN2=function(e){let n=e.size,a=0;for(let r=0;r=10&&(r===1488||r===93)&&a++,f=f<<1&2047|e.get(s,i),s>=10&&(f===1488||f===93)&&a++}return a*og.N3};Vr.getPenaltyN4=function(e){let n=0,a=e.data.length;for(let f=0;f{u();p();var Qm=uV(),hV=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],bV=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];Dpe.getBlocksCount=function(e,n){switch(n){case Qm.L:return hV[(e-1)*4+0];case Qm.M:return hV[(e-1)*4+1];case Qm.Q:return hV[(e-1)*4+2];case Qm.H:return hV[(e-1)*4+3];default:return}};Dpe.getTotalCodewordsCount=function(e,n){switch(n){case Qm.L:return bV[(e-1)*4+0];case Qm.M:return bV[(e-1)*4+1];case Qm.Q:return bV[(e-1)*4+2];case Qm.H:return bV[(e-1)*4+3];default:return}}});var ql0=D(yV=>{u();p();var YB=new Uint8Array(512),mV=new Uint8Array(256);(function(){let e=1;for(let n=0;n<255;n++)YB[n]=e,mV[e]=n,e<<=1,e&256&&(e^=285);for(let n=255;n<512;n++)YB[n]=YB[n-255]})();yV.log=function(e){if(e<1)throw new Error("log("+e+")");return mV[e]};yV.exp=function(e){return YB[e]};yV.mul=function(e,n){return e===0||n===0?0:YB[mV[e]+mV[n]]}});var jl0=D($B=>{u();p();var Lpe=ql0();$B.mul=function(e,n){let a=new Uint8Array(e.length+n.length-1);for(let r=0;r=0;){let r=a[0];for(let i=0;i{u();p();var Gl0=jl0();function Fpe(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}Fpe.prototype.initialize=function(e){this.degree=e,this.genPoly=Gl0.generateECPolynomial(this.degree)};Fpe.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");let n=new Uint8Array(e.length+this.degree);n.set(e);let a=Gl0.mod(n,this.genPoly),r=this.degree-a.length;if(r>0){let f=new Uint8Array(this.degree);return f.set(a,r),f}return a};Kl0.exports=Fpe});var Npe=D(Vl0=>{u();p();Vl0.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}});var Ope=D(Rh=>{u();p();var Yl0="[0-9]+",dln="[A-Z $%*+\\-./:]+",JB="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";JB=JB.replace(/u/g,"\\u");var lln="(?:(?![A-Z0-9 $%*+\\-./:]|"+JB+`)(?:.|[\r -]))+`;Rh.KANJI=new RegExp(JB,"g");Rh.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Rh.BYTE=new RegExp(lln,"g");Rh.NUMERIC=new RegExp(Yl0,"g");Rh.ALPHANUMERIC=new RegExp(dln,"g");var uln=new RegExp("^"+JB+"$"),pln=new RegExp("^"+Yl0+"$"),hln=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Rh.testKanji=function(e){return uln.test(e)};Rh.testNumeric=function(e){return pln.test(e)};Rh.testAlphanumeric=function(e){return hln.test(e)}});var Vm=D(Ni=>{u();p();var bln=Npe(),Upe=Ope();Ni.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};Ni.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};Ni.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};Ni.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};Ni.MIXED={bit:-1};Ni.getCharCountIndicator=function(e,n){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!bln.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?e.ccBits[0]:n<27?e.ccBits[1]:e.ccBits[2]};Ni.getBestModeForData=function(e){return Upe.testNumeric(e)?Ni.NUMERIC:Upe.testAlphanumeric(e)?Ni.ALPHANUMERIC:Upe.testKanji(e)?Ni.KANJI:Ni.BYTE};Ni.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")};Ni.isValid=function(e){return e&&e.bit&&e.ccBits};function mln(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return Ni.NUMERIC;case"alphanumeric":return Ni.ALPHANUMERIC;case"kanji":return Ni.KANJI;case"byte":return Ni.BYTE;default:throw new Error("Unknown mode: "+t)}}Ni.from=function(e,n){if(Ni.isValid(e))return e;try{return mln(e)}catch{return n}}});var e20=D(cg=>{u();p();var gV=Km(),yln=Ppe(),$l0=uV(),Ym=Vm(),Hpe=Npe(),Xl0=7973,Jl0=gV.getBCHDigit(Xl0);function gln(t,e,n){for(let a=1;a<=40;a++)if(e<=cg.getCapacity(a,n,t))return a}function Zl0(t,e){return Ym.getCharCountIndicator(t,e)+4}function vln(t,e){let n=0;return t.forEach(function(a){let r=Zl0(a.mode,e);n+=r+a.getBitsLength()}),n}function wln(t,e){for(let n=1;n<=40;n++)if(vln(t,n)<=cg.getCapacity(n,e,Ym.MIXED))return n}cg.from=function(e,n){return Hpe.isValid(e)?parseInt(e,10):n};cg.getCapacity=function(e,n,a){if(!Hpe.isValid(e))throw new Error("Invalid QR Code version");typeof a>"u"&&(a=Ym.BYTE);let r=gV.getSymbolTotalCodewords(e),f=yln.getTotalCodewordsCount(e,n),i=(r-f)*8;if(a===Ym.MIXED)return i;let s=i-Zl0(a,e);switch(a){case Ym.NUMERIC:return Math.floor(s/10*3);case Ym.ALPHANUMERIC:return Math.floor(s/11*2);case Ym.KANJI:return Math.floor(s/13);case Ym.BYTE:default:return Math.floor(s/8)}};cg.getBestVersionForData=function(e,n){let a,r=$l0.from(n,$l0.M);if(Array.isArray(e)){if(e.length>1)return wln(e,r);if(e.length===0)return 1;a=e[0]}else a=e;return gln(a.mode,a.getLength(),r)};cg.getEncodedBits=function(e){if(!Hpe.isValid(e)||e<7)throw new Error("Invalid QR Code version");let n=e<<12;for(;gV.getBCHDigit(n)-Jl0>=0;)n^=Xl0<{u();p();var zpe=Km(),n20=1335,Tln=21522,t20=zpe.getBCHDigit(n20);a20.getEncodedBits=function(e,n){let a=e.bit<<3|n,r=a<<10;for(;zpe.getBCHDigit(r)-t20>=0;)r^=n20<{u();p();var xln=Vm();function C_(t){this.mode=xln.NUMERIC,this.data=t.toString()}C_.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)};C_.prototype.getLength=function(){return this.data.length};C_.prototype.getBitsLength=function(){return C_.getBitsLength(this.data.length)};C_.prototype.write=function(e){let n,a,r;for(n=0;n+3<=this.data.length;n+=3)a=this.data.substr(n,3),r=parseInt(a,10),e.put(r,10);let f=this.data.length-n;f>0&&(a=this.data.substr(n),r=parseInt(a,10),e.put(r,f*3+1))};f20.exports=C_});var o20=D((VHa,s20)=>{u();p();var Eln=Vm(),Wpe=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function I_(t){this.mode=Eln.ALPHANUMERIC,this.data=t}I_.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};I_.prototype.getLength=function(){return this.data.length};I_.prototype.getBitsLength=function(){return I_.getBitsLength(this.data.length)};I_.prototype.write=function(e){let n;for(n=0;n+2<=this.data.length;n+=2){let a=Wpe.indexOf(this.data[n])*45;a+=Wpe.indexOf(this.data[n+1]),e.put(a,11)}this.data.length%2&&e.put(Wpe.indexOf(this.data[n]),6)};s20.exports=I_});var d20=D((JHa,c20)=>{"use strict";u();p();c20.exports=function(e){for(var n=[],a=e.length,r=0;r=55296&&f<=56319&&a>r+1){var i=e.charCodeAt(r+1);i>=56320&&i<=57343&&(f=(f-55296)*1024+i-56320+65536,r+=1)}if(f<128){n.push(f);continue}if(f<2048){n.push(f>>6|192),n.push(f&63|128);continue}if(f<55296||f>=57344&&f<65536){n.push(f>>12|224),n.push(f>>6&63|128),n.push(f&63|128);continue}if(f>=65536&&f<=1114111){n.push(f>>18|240),n.push(f>>12&63|128),n.push(f>>6&63|128),n.push(f&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer}});var u20=D((eza,l20)=>{u();p();var _ln=d20(),Aln=Vm();function k_(t){this.mode=Aln.BYTE,typeof t=="string"&&(t=_ln(t)),this.data=new Uint8Array(t)}k_.getBitsLength=function(e){return e*8};k_.prototype.getLength=function(){return this.data.length};k_.prototype.getBitsLength=function(){return k_.getBitsLength(this.data.length)};k_.prototype.write=function(t){for(let e=0,n=this.data.length;e{u();p();var Cln=Vm(),Iln=Km();function S_(t){this.mode=Cln.KANJI,this.data=t}S_.getBitsLength=function(e){return e*13};S_.prototype.getLength=function(){return this.data.length};S_.prototype.getBitsLength=function(){return S_.getBitsLength(this.data.length)};S_.prototype.write=function(t){let e;for(e=0;e=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+` -Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),t.put(n,13)}};p20.exports=S_});var b20=D((iza,qpe)=>{"use strict";u();p();var XB={single_source_shortest_paths:function(t,e,n){var a={},r={};r[e]=0;var f=XB.PriorityQueue.make();f.push(e,0);for(var i,s,o,c,d,l,h,y,v;!f.empty();){i=f.pop(),s=i.value,c=i.cost,d=t[s]||{};for(o in d)d.hasOwnProperty(o)&&(l=d[o],h=c+l,y=r[o],v=typeof r[o]>"u",(v||y>h)&&(r[o]=h,f.push(o,h),a[o]=s))}if(typeof n<"u"&&typeof r[n]>"u"){var S=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(S)}return a},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],a=e,r;a;)n.push(a),r=t[a],a=t[a];return n.reverse(),n},find_path:function(t,e,n){var a=XB.single_source_shortest_paths(t,e,n);return XB.extract_shortest_path_from_predecessor_list(a,n)},PriorityQueue:{make:function(t){var e=XB.PriorityQueue,n={},a;t=t||{};for(a in e)e.hasOwnProperty(a)&&(n[a]=e[a]);return n.queue=[],n.sorter=t.sorter||e.default_sorter,n},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var n={value:t,cost:e};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};typeof qpe<"u"&&(qpe.exports=XB)});var E20=D(R_=>{u();p();var er=Vm(),g20=i20(),v20=o20(),w20=u20(),T20=h20(),ZB=Ope(),vV=Km(),kln=b20();function m20(t){return unescape(encodeURIComponent(t)).length}function eD(t,e,n){let a=[],r;for(;(r=t.exec(n))!==null;)a.push({data:r[0],index:r.index,mode:e,length:r[0].length});return a}function x20(t){let e=eD(ZB.NUMERIC,er.NUMERIC,t),n=eD(ZB.ALPHANUMERIC,er.ALPHANUMERIC,t),a,r;return vV.isKanjiModeEnabled()?(a=eD(ZB.BYTE,er.BYTE,t),r=eD(ZB.KANJI,er.KANJI,t)):(a=eD(ZB.BYTE_KANJI,er.BYTE,t),r=[]),e.concat(n,a,r).sort(function(i,s){return i.index-s.index}).map(function(i){return{data:i.data,mode:i.mode,length:i.length}})}function jpe(t,e){switch(e){case er.NUMERIC:return g20.getBitsLength(t);case er.ALPHANUMERIC:return v20.getBitsLength(t);case er.KANJI:return T20.getBitsLength(t);case er.BYTE:return w20.getBitsLength(t)}}function Sln(t){return t.reduce(function(e,n){let a=e.length-1>=0?e[e.length-1]:null;return a&&a.mode===n.mode?(e[e.length-1].data+=n.data,e):(e.push(n),e)},[])}function Rln(t){let e=[];for(let n=0;n{u();p();var TV=Km(),Gpe=uV(),Bln=Ll0(),Dln=Nl0(),Pln=Ol0(),Lln=zl0(),Vpe=Wl0(),Ype=Ppe(),Fln=Ql0(),wV=e20(),Nln=r20(),Oln=Vm(),Kpe=E20();function Uln(t,e){let n=t.size,a=Lln.getPositions(e);for(let r=0;r=0&&s<=6&&(o===0||o===6)||o>=0&&o<=6&&(s===0||s===6)||s>=2&&s<=4&&o>=2&&o<=4?t.set(f+s,i+o,!0,!0):t.set(f+s,i+o,!1,!0))}}function Hln(t){let e=t.size;for(let n=8;n>s&1)===1,t.set(r,f,i,!0),t.set(f,r,i,!0)}function Qpe(t,e,n){let a=t.size,r=Nln.getEncodedBits(e,n),f,i;for(f=0;f<15;f++)i=(r>>f&1)===1,f<6?t.set(f,8,i,!0):f<8?t.set(f+1,8,i,!0):t.set(a-15+f,8,i,!0),f<8?t.set(8,a-f-1,i,!0):f<9?t.set(8,15-f-1+1,i,!0):t.set(8,15-f-1,i,!0);t.set(a-8,8,1,!0)}function qln(t,e){let n=t.size,a=-1,r=n-1,f=7,i=0;for(let s=n-1;s>0;s-=2)for(s===6&&s--;;){for(let o=0;o<2;o++)if(!t.isReserved(r,s-o)){let c=!1;i>>f&1)===1),t.set(r,s-o,c),f--,f===-1&&(i++,f=7)}if(r+=a,r<0||n<=r){r-=a,a=-a;break}}}function jln(t,e,n){let a=new Bln;n.forEach(function(o){a.put(o.mode.bit,4),a.put(o.getLength(),Oln.getCharCountIndicator(o.mode,t)),o.write(a)});let r=TV.getSymbolTotalCodewords(t),f=Ype.getTotalCodewordsCount(t,e),i=(r-f)*8;for(a.getLengthInBits()+4<=i&&a.put(0,4);a.getLengthInBits()%8!==0;)a.putBit(0);let s=(i-a.getLengthInBits())/8;for(let o=0;o=]|("|')|))|$)`,"g"),U50=/'/g,H50=/"/g,G50=/^(?:script|style|textarea|title)$/i,K50=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),q0=K50(1),wf=K50(2),Ih=Symbol.for("lit-noChange"),Fi=Symbol.for("lit-nothing"),z50=new WeakMap,eg=tg.createTreeWalker(tg,129,null,!1);Idn=(t,e)=>{let n=t.length-1,a=[],r,f=e===2?"":"",i=BB;for(let s=0;s"?(i=r??BB,l=-1):d[1]===void 0?l=-2:(l=i.lastIndex-d[2].length,c=d[1],i=d[3]===void 0?Z9:d[3]==='"'?H50:U50):i===H50||i===U50?i=Z9:i===N50||i===O50?i=BB:(i=Z9,r=void 0);let y=i===Z9&&t[s+1].startsWith("/>")?" ":"";f+=i===BB?o+Adn:l>=0?(a.push(c),o.slice(0,l)+Yue+o.slice(l)+qm+y):o+qm+(l===-2?(a.push(void 0),s):y)}return[Q50(t,f+(t[n]||"")+(e===2?"":"")),a]},LB=class t{constructor({strings:e,_$litType$:n},a){let r;this.parts=[];let f=0,i=0,s=e.length-1,o=this.parts,[c,d]=Idn(e,n);if(this.el=t.createElement(c,a),eg.currentNode=this.el.content,n===2){let l=this.el.content,h=l.firstChild;h.remove(),l.append(...h.childNodes)}for(;(r=eg.nextNode())!==null&&o.length0){r.textContent=T_?T_.emptyScript:"";for(let y=0;y2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=Fi}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,n=this,a,r){let f=this.strings,i=!1;if(f===void 0)e=x_(this,e,n,0),i=!PB(e)||e!==this._$AH&&e!==Ih,i&&(this._$AH=e);else{let s=e,o,c;for(e=f[0],o=0;o{var a,r;let f=(a=n?.renderBefore)!==null&&a!==void 0?a:e,i=f._$litPart$;if(i===void 0){let s=(r=n?.renderBefore)!==null&&r!==void 0?r:null;f._$litPart$=i=new FB(e.insertBefore(DB(),s),s,void 0,n??{})}return i._$AI(t),i}});var tpe,npe,Tn,Y50,$50=ce(()=>{u();p();YQ();YQ();ng();ng();Tn=class extends Ch{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,n;let a=super.createRenderRoot();return(e=(n=this.renderOptions).renderBefore)!==null&&e!==void 0||(n.renderBefore=a.firstChild),a}update(e){let n=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=V50(n,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!1)}render(){return Ih}};Tn.finalized=!0,Tn._$litElement$=!0,(tpe=globalThis.litElementHydrateSupport)===null||tpe===void 0||tpe.call(globalThis,{LitElement:Tn});Y50=globalThis.litElementPolyfillSupport;Y50?.({LitElement:Tn});((npe=globalThis.litElementVersions)!==null&&npe!==void 0?npe:globalThis.litElementVersions=[]).push("3.3.3")});var J50=ce(()=>{u();p();});var X50=ce(()=>{u();p();YQ();ng();$50();J50()});var pa,Z50=ce(()=>{u();p();pa=t=>e=>typeof e=="function"?((n,a)=>(customElements.define(n,a),a))(t,e):((n,a)=>{let{kind:r,elements:f}=a;return{kind:r,elements:f,finisher(i){customElements.define(n,i)}}})(t,e)});function sn(t){return(e,n)=>n!==void 0?Rdn(t,e,n):Sdn(t,e)}var Sdn,Rdn,ape=ce(()=>{u();p();Sdn=(t,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(n){n.createProperty(e.key,t)}},Rdn=(t,e,n)=>{e.constructor.createProperty(n,t)}});function dc(t){return sn({...t,state:!0})}var ed0=ce(()=>{u();p();ape();});var ag=ce(()=>{u();p();});var td0=ce(()=>{u();p();ag();});var nd0=ce(()=>{u();p();ag();});var ad0=ce(()=>{u();p();ag();});var rd0=ce(()=>{u();p();ag();});var rpe,tLa,fpe=ce(()=>{u();p();ag();tLa=((rpe=window.HTMLSlotElement)===null||rpe===void 0?void 0:rpe.prototype.assignedElements)!=null?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter(n=>n.nodeType===Node.ELEMENT_NODE)});var fd0=ce(()=>{u();p();ag();fpe();});var id0=ce(()=>{u();p();Z50();ape();ed0();td0();nd0();ad0();rd0();fpe();fd0()});var sd0,od0,JQ,cd0=ce(()=>{u();p();sd0={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},od0=t=>(...e)=>({_$litDirective$:t,values:e}),JQ=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,n,a){this._$Ct=e,this._$AM=n,this._$Ci=a}_$AS(e,n){return this.update(e,n)}update(e,n){return this.render(...n)}}});var np,dd0=ce(()=>{u();p();ng();cd0();np=od0(class extends JQ{constructor(t){var e;if(super(t),t.type!==sd0.ATTRIBUTE||t.name!=="class"||((e=t.strings)===null||e===void 0?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){var n,a;if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(f=>f!=="")));for(let f in e)e[f]&&!(!((n=this.nt)===null||n===void 0)&&n.has(f))&&this.it.add(f);return this.render(e)}let r=t.element.classList;this.it.forEach(f=>{f in e||(r.remove(f),this.it.delete(f))});for(let f in e){let i=!!e[f];i===this.it.has(f)||!((a=this.nt)===null||a===void 0)&&a.has(f)||(i?(r.add(f),this.it.add(f)):(r.remove(f),this.it.delete(f)))}return Ih}})});var ld0=ce(()=>{u();p();dd0()});function ipe(t,e){t.indexOf(e)===-1&&t.push(e)}var ud0=ce(()=>{u();p()});var OB,spe=ce(()=>{u();p();OB=(t,e,n)=>Math.min(Math.max(n,t),e)});var go,pd0=ce(()=>{u();p();go={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"}});var kh,XQ=ce(()=>{u();p();kh=t=>typeof t=="number"});var ap,ope=ce(()=>{u();p();XQ();ap=t=>Array.isArray(t)&&!kh(t[0])});var hd0,bd0=ce(()=>{u();p();hd0=(t,e,n)=>{let a=e-t;return((n-t)%a+a)%a+t}});function md0(t,e){return ap(t)?t[hd0(0,t.length,e)]:t}var yd0=ce(()=>{u();p();ope();bd0()});var ZQ,cpe=ce(()=>{u();p();ZQ=(t,e,n)=>-n*t+n*e+t});var UB,lc,dpe=ce(()=>{u();p();UB=()=>{},lc=t=>t});var rg,eV=ce(()=>{u();p();rg=(t,e,n)=>e-t===0?1:(n-t)/(e-t)});function lpe(t,e){let n=t[t.length-1];for(let a=1;a<=e;a++){let r=rg(0,e,a);t.push(ZQ(n,1,r))}}function gd0(t){let e=[0];return lpe(e,t-1),e}var vd0=ce(()=>{u();p();cpe();eV()});function upe(t,e=gd0(t.length),n=lc){let a=t.length,r=a-e.length;return r>0&&lpe(e,r),f=>{let i=0;for(;i{u();p();cpe();dpe();vd0();eV();yd0();spe()});var HB,Td0=ce(()=>{u();p();XQ();HB=t=>Array.isArray(t)&&kh(t[0])});var __,xd0=ce(()=>{u();p();__=t=>typeof t=="object"&&!!t.createAnimation});var yd,Ed0=ce(()=>{u();p();yd=t=>typeof t=="function"});var ppe,_d0=ce(()=>{u();p();ppe=t=>typeof t=="string"});var jm,Ad0=ce(()=>{u();p();jm={ms:t=>t*1e3,s:t=>t/1e3}});var gd=ce(()=>{u();p();ud0();spe();pd0();wd0();Td0();xd0();ope();Ed0();XQ();_d0();dpe();eV();Ad0()});function Ddn(t,e,n,a,r){let f,i,s=0;do i=e+(n-e)/2,f=Cd0(i,a,r)-t,f>0?n=i:e=i;while(Math.abs(f)>Mdn&&++sDdn(f,0,1,t,n);return f=>f===0||f===1?f:Cd0(r(f),e,a)}var Cd0,Mdn,Bdn,Id0=ce(()=>{u();p();gd();Cd0=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Mdn=1e-7,Bdn=12});var hpe,kd0=ce(()=>{u();p();gd();hpe=(t,e="end")=>n=>{n=e==="end"?Math.min(n,.999):Math.max(n,.001);let a=n*t,r=e==="end"?Math.floor(a):Math.ceil(a);return OB(0,1,r/t)}});var Sd0=ce(()=>{u();p();Id0();kd0()});function bpe(t){if(yd(t))return t;if(HB(t))return fg(...t);if(Rd0[t])return Rd0[t];if(t.startsWith("steps")){let e=Pdn.exec(t);if(e){let n=e[1].split(",");return hpe(parseFloat(n[0]),n[1].trim())}}return lc}var Rd0,Pdn,Md0=ce(()=>{u();p();Sd0();gd();Rd0={ease:fg(.25,.1,.25,1),"ease-in":fg(.42,0,1,1),"ease-in-out":fg(.42,0,.58,1),"ease-out":fg(0,0,.58,1)},Pdn=/\((.*?)\)/});var ig,Bd0=ce(()=>{u();p();gd();Md0();ig=class{constructor(e,n=[0,1],{easing:a,duration:r=go.duration,delay:f=go.delay,endDelay:i=go.endDelay,repeat:s=go.repeat,offset:o,direction:c="normal",autoplay:d=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=lc,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((h,y)=>{this.resolve=h,this.reject=y}),a=a||go.easing,__(a)){let h=a.createAnimation(n);a=h.easing,n=h.keyframes||n,r=h.duration||r}this.repeat=s,this.easing=ap(a)?lc:bpe(a),this.updateDuration(r);let l=upe(n,o,ap(a)?a.map(bpe):lc);this.tick=h=>{var y;f=f;let v=0;this.pauseTime!==void 0?v=this.pauseTime:v=(h-this.startTime)*this.rate,this.t=v,v/=1e3,v=Math.max(v-f,0),this.playState==="finished"&&this.pauseTime===void 0&&(v=this.totalDuration);let k=v/this.duration,O=Math.floor(k),F=k%1;!F&&k>=1&&(F=1),F===1&&O--;let z=O%2;(c==="reverse"||c==="alternate"&&z||c==="alternate-reverse"&&!z)&&(F=1-F);let W=v>=this.totalDuration?1:Math.min(F,1),j=l(this.easing(W));e(j),this.pauseTime===void 0&&(this.playState==="finished"||v>=this.totalDuration+i)?(this.playState="finished",(y=this.resolve)===null||y===void 0||y.call(this,j)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},d&&this.play()}play(){let e=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var e;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(e=this.reject)===null||e===void 0||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){this.pauseTime!==void 0||this.rate===0?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}}});var mpe=ce(()=>{u();p();Bd0()});var Ldn,tV,Dd0=ce(()=>{u();p();Ldn=function(){},tV=function(){};E.env.NODE_ENV!=="production"&&(Ldn=function(t,e){!t&&typeof console<"u"&&console.warn(e)},tV=function(t,e){if(!t)throw new Error(e)})});var zB,Pd0=ce(()=>{u();p();zB=class{setAnimation(e){this.animation=e,e?.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}});var ype=ce(()=>{u();p();Pd0()});function nV(t){return gpe.has(t)||gpe.set(t,{transforms:[],values:new Map}),gpe.get(t)}function Ld0(t,e){return t.has(e)||t.set(e,new zB),t.get(e)}var gpe,vpe=ce(()=>{u();p();ype();gpe=new WeakMap});var Fdn,Ndn,WB,Fd0,Odn,Gm,rV,aV,Udn,Hdn,fV,Nd0,zdn,Wdn,qB=ce(()=>{u();p();gd();vpe();Fdn=["","X","Y","Z"],Ndn=["translate","scale","rotate","skew"],WB={x:"translateX",y:"translateY",z:"translateZ"},Fd0={syntax:"",initialValue:"0deg",toDefaultUnit:t=>t+"deg"},Odn={translate:{syntax:"",initialValue:"0px",toDefaultUnit:t=>t+"px"},rotate:Fd0,scale:{syntax:"",initialValue:1,toDefaultUnit:lc},skew:Fd0},Gm=new Map,rV=t=>`--motion-${t}`,aV=["x","y","z"];Ndn.forEach(t=>{Fdn.forEach(e=>{aV.push(t+e),Gm.set(rV(t+e),Odn[t])})});Udn=(t,e)=>aV.indexOf(t)-aV.indexOf(e),Hdn=new Set(aV),fV=t=>Hdn.has(t),Nd0=(t,e)=>{WB[e]&&(e=WB[e]);let{transforms:n}=nV(t);ipe(n,e),t.style.transform=zdn(n)},zdn=t=>t.sort(Udn).reduce(Wdn,"").trim(),Wdn=(t,e)=>`${t} ${e}(var(${rV(e)}))`});function Ud0(t){if(!Od0.has(t)){Od0.add(t);try{let{syntax:e,initialValue:n}=Gm.has(t)?Gm.get(t):{};CSS.registerProperty({name:t,inherits:!1,syntax:e,initialValue:n})}catch{}}}var jB,Od0,wpe=ce(()=>{u();p();qB();jB=t=>t.startsWith("--"),Od0=new Set});var Tpe,Hd0,xpe,Km,Epe=ce(()=>{u();p();Tpe=(t,e)=>document.createElement("div").animate(t,e),Hd0={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{Tpe({opacity:[1]})}catch{return!1}return!0},finished:()=>!!Tpe({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{Tpe({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},xpe={},Km={};for(let t in Hd0)Km[t]=()=>(xpe[t]===void 0&&(xpe[t]=Hd0[t]()),xpe[t])});var qdn,jdn,_pe,Gdn,zd0=ce(()=>{u();p();gd();Epe();qdn=.015,jdn=(t,e)=>{let n="",a=Math.round(e/qdn);for(let r=0;ryd(t)?Km.linearEasing()?`linear(${jdn(t,e)})`:go.easing:HB(t)?Gdn(t):t,Gdn=([t,e,n,a])=>`cubic-bezier(${t}, ${e}, ${n}, ${a})`});function Wd0(t,e){for(let n=0;n{u();p();qd0=t=>Array.isArray(t)?t:[t]});function GB(t){return WB[t]&&(t=WB[t]),fV(t)?rV(t):t}var Ape=ce(()=>{u();p();qB()});var KB,Gd0=ce(()=>{u();p();wpe();Ape();qB();KB={get:(t,e)=>{e=GB(e);let n=jB(e)?t.style.getPropertyValue(e):getComputedStyle(t)[e];if(!n&&n!==0){let a=Gm.get(e);a&&(n=a.initialValue)}return n},set:(t,e,n)=>{e=GB(e),jB(e)?t.style.setProperty(e,n):t.style[e]=n}}});function iV(t,e=!0){if(!(!t||t.playState==="finished"))try{t.stop?t.stop():(e&&t.commitStyles(),t.cancel())}catch{}}var Cpe=ce(()=>{u();p()});function Kd0(t,e){var n;let a=e?.toDefaultUnit||lc,r=t[t.length-1];if(ppe(r)){let f=((n=r.match(/(-?[\d.]+)([a-z%]*)/))===null||n===void 0?void 0:n[2])||"";f&&(a=i=>i+f)}return a}var Qd0=ce(()=>{u();p();gd()});function Kdn(){return window.__MOTION_DEV_TOOLS_RECORD}function Vd0(t,e,n,a={},r){let f=Kdn(),i=a.record!==!1&&f,s,{duration:o=go.duration,delay:c=go.delay,endDelay:d=go.endDelay,repeat:l=go.repeat,easing:h=go.easing,persist:y=!1,direction:v,offset:k,allowWebkitAcceleration:O=!1,autoplay:F=!0}=a,z=nV(t),W=fV(e),j=Km.waapi();W&&Nd0(t,e);let Q=GB(e),V=Ld0(z.values,Q),X=Gm.get(Q);return iV(V.animation,!(__(h)&&V.generator)&&a.record!==!1),()=>{let K=()=>{var T,N;return(N=(T=KB.get(t,Q))!==null&&T!==void 0?T:X?.initialValue)!==null&&N!==void 0?N:0},G=Wd0(qd0(n),K),R=Kd0(G,X);if(__(h)){let T=h.createAnimation(G,e!=="opacity",K,Q,V);h=T.easing,G=T.keyframes||G,o=T.duration||o}if(jB(Q)&&(Km.cssRegisterProperty()?Ud0(Q):j=!1),W&&!Km.linearEasing()&&(yd(h)||ap(h)&&h.some(yd))&&(j=!1),j){X&&(G=G.map(w=>kh(w)?X.toDefaultUnit(w):w)),G.length===1&&(!Km.partialKeyframes()||i)&&G.unshift(K());let T={delay:jm.ms(c),duration:jm.ms(o),endDelay:jm.ms(d),easing:ap(h)?void 0:_pe(h,o),direction:v,iterations:l+1,fill:"both"};s=t.animate({[Q]:G,offset:k,easing:ap(h)?h.map(w=>_pe(w,o)):void 0},T),s.finished||(s.finished=new Promise((w,m)=>{s.onfinish=w,s.oncancel=m}));let N=G[G.length-1];s.finished.then(()=>{y||(KB.set(t,Q,N),s.cancel())}).catch(UB),O||(s.playbackRate=1.000001)}else if(r&&W)G=G.map(T=>typeof T=="string"?parseFloat(T):T),G.length===1&&G.unshift(parseFloat(K())),s=new r(T=>{KB.set(t,Q,R?R(T):T)},G,Object.assign(Object.assign({},a),{duration:o,easing:h}));else{let T=G[G.length-1];KB.set(t,Q,X&&kh(T)?X.toDefaultUnit(T):T)}return i&&f(t,e,G,{duration:o,delay:c,easing:h,repeat:l,offset:k},"motion-one"),V.setAnimation(s),s&&!F&&s.pause(),s}}var Yd0=ce(()=>{u();p();vpe();wpe();gd();qB();zd0();Epe();jd0();Gd0();Ape();Cpe();Qd0()});var $d0,Jd0=ce(()=>{u();p();$d0=(t,e)=>t[e]?Object.assign(Object.assign({},t),t[e]):Object.assign({},t)});function Xd0(t,e){var n;return typeof t=="string"?e?((n=e[t])!==null&&n!==void 0||(e[t]=document.querySelectorAll(t)),t=e[t]):t=document.querySelectorAll(t):t instanceof Element&&(t=[t]),Array.from(t||[])}var Zd0=ce(()=>{u();p()});var Qdn,QB,Vdn,Ydn,$dn,Ipe=ce(()=>{u();p();gd();Cpe();Qdn=t=>t(),QB=(t,e,n=go.duration)=>new Proxy({animations:t.map(Qdn).filter(Boolean),duration:n,options:e},Ydn),Vdn=t=>t.animations[0],Ydn={get:(t,e)=>{let n=Vdn(t);switch(e){case"duration":return t.duration;case"currentTime":return jm.s(n?.[e]||0);case"playbackRate":case"playState":return n?.[e];case"finished":return t.finished||(t.finished=Promise.all(t.animations.map($dn)).catch(UB)),t.finished;case"stop":return()=>{t.animations.forEach(a=>iV(a))};case"forEachNative":return a=>{t.animations.forEach(r=>a(r,t))};default:return typeof n?.[e]>"u"?void 0:()=>t.animations.forEach(a=>a[e]())}},set:(t,e,n)=>{switch(e){case"currentTime":n=jm.ms(n);case"playbackRate":for(let a=0;at.finished});function el0(t,e,n){return yd(t)?t(e,n):t}var tl0=ce(()=>{u();p();gd()});function nl0(t){return function(n,a,r={}){n=Xd0(n);let f=n.length;tV(!!f,"No valid element provided."),tV(!!a,"No keyframes defined.");let i=[];for(let s=0;s{u();p();Dd0();Yd0();Jd0();Zd0();Ipe();tl0()});var kpe,rl0=ce(()=>{u();p();mpe();al0();kpe=nl0(ig)});var dV={};V0(dV,{__addDisposableResource:()=>Al0,__assign:()=>sV,__asyncDelegator:()=>yl0,__asyncGenerator:()=>ml0,__asyncValues:()=>gl0,__await:()=>A_,__awaiter:()=>dl0,__classPrivateFieldGet:()=>xl0,__classPrivateFieldIn:()=>_l0,__classPrivateFieldSet:()=>El0,__createBinding:()=>cV,__decorate:()=>sl0,__disposeResources:()=>Cl0,__esDecorate:()=>Jdn,__exportStar:()=>ul0,__extends:()=>fl0,__generator:()=>ll0,__importDefault:()=>Tl0,__importStar:()=>wl0,__makeTemplateObject:()=>vl0,__metadata:()=>cl0,__param:()=>ol0,__propKey:()=>Zdn,__read:()=>Rpe,__rest:()=>il0,__runInitializers:()=>Xdn,__setFunctionName:()=>eln,__spread:()=>pl0,__spreadArray:()=>bl0,__spreadArrays:()=>hl0,__values:()=>oV,default:()=>aln});function fl0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Spe(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function il0(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(t);r=0;s--)(i=t[s])&&(f=(r<3?i(f):r>3?i(e,n,f):i(e,n))||f);return r>3&&f&&Object.defineProperty(e,n,f),f}function ol0(t,e){return function(n,a){e(n,a,t)}}function Jdn(t,e,n,a,r,f){function i(F){if(F!==void 0&&typeof F!="function")throw new TypeError("Function expected");return F}for(var s=a.kind,o=s==="getter"?"get":s==="setter"?"set":"value",c=!e&&t?a.static?t:t.prototype:null,d=e||(c?Object.getOwnPropertyDescriptor(c,a.name):{}),l,h=!1,y=n.length-1;y>=0;y--){var v={};for(var k in a)v[k]=k==="access"?{}:a[k];for(var k in a.access)v.access[k]=a.access[k];v.addInitializer=function(F){if(h)throw new TypeError("Cannot add initializers after decoration has completed");f.push(i(F||null))};var O=(0,n[y])(s==="accessor"?{get:d.get,set:d.set}:d[o],v);if(s==="accessor"){if(O===void 0)continue;if(O===null||typeof O!="object")throw new TypeError("Object expected");(l=i(O.get))&&(d.get=l),(l=i(O.set))&&(d.set=l),(l=i(O.init))&&r.unshift(l)}else(l=i(O))&&(s==="field"?r.unshift(l):d[o]=l)}c&&Object.defineProperty(c,a.name,d),h=!0}function Xdn(t,e,n){for(var a=arguments.length>2,r=0;r0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]=t.length&&(t=void 0),{value:t&&t[a++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Rpe(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var a=n.call(t),r,f=[],i;try{for(;(e===void 0||e-- >0)&&!(r=a.next()).done;)f.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return f}function pl0(){for(var t=[],e=0;e1||s(h,y)})})}function s(h,y){try{o(a[h](y))}catch(v){l(f[0][3],v)}}function o(h){h.value instanceof A_?Promise.resolve(h.value.v).then(c,d):l(f[0][2],h)}function c(h){s("next",h)}function d(h){s("throw",h)}function l(h,y){h(y),f.shift(),f.length&&s(f[0][0],f[0][1])}}function yl0(t){var e,n;return e={},a("next"),a("throw",function(r){throw r}),a("return"),e[Symbol.iterator]=function(){return this},e;function a(r,f){e[r]=t[r]?function(i){return(n=!n)?{value:A_(t[r](i)),done:!1}:f?f(i):i}:f}}function gl0(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof oV=="function"?oV(t):t[Symbol.iterator](),n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n);function a(f){n[f]=t[f]&&function(i){return new Promise(function(s,o){i=t[f](i),r(s,o,i.done,i.value)})}}function r(f,i,s,o){Promise.resolve(o).then(function(c){f({value:c,done:s})},i)}}function vl0(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function wl0(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&cV(e,t,n);return tln(e,t),e}function Tl0(t){return t&&t.__esModule?t:{default:t}}function xl0(t,e,n,a){if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?a:n==="a"?a.call(t):a?a.value:e.get(t)}function El0(t,e,n,a,r){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!r)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?r.call(t,n):r?r.value=n:e.set(t,n),n}function _l0(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function Al0(t,e,n){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var a;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");a=e[Symbol.asyncDispose]}if(a===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");a=e[Symbol.dispose]}if(typeof a!="function")throw new TypeError("Object not disposable.");t.stack.push({value:e,dispose:a,async:n})}else n&&t.stack.push({async:!0});return e}function Cl0(t){function e(a){t.error=t.hasError?new nln(a,t.error,"An error was suppressed during disposal."):a,t.hasError=!0}function n(){for(;t.stack.length;){var a=t.stack.pop();try{var r=a.dispose&&a.dispose.call(a.value);if(a.async)return Promise.resolve(r).then(n,function(f){return e(f),n()})}catch(f){e(f)}}if(t.hasError)throw t.error}return n()}var Spe,sV,cV,tln,nln,aln,lV=ce(()=>{u();p();Spe=function(t,e){return Spe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(n[r]=a[r])},Spe(t,e)};sV=function(){return sV=Object.assign||function(e){for(var n,a=1,r=arguments.length;a{u();p();rl0();Ipe()});function rln(t,e={}){return QB([()=>{let n=new ig(t,[0,1],e);return n.finished.catch(()=>{}),n}],e,e.duration)}function Sh(t,e,n){return(yd(t)?rln:kpe)(t,e,n)}var Il0=ce(()=>{u();p();Mpe();gd();mpe()});var kl0=ce(()=>{u();p();Mpe();ype();Il0()});var g1,Sl0=ce(()=>{u();p();ng();g1=t=>t??Fi});var Rl0=ce(()=>{u();p();Sl0()});var Bl0=D((VUa,Ml0)=>{u();p();Ml0.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var Qm=D(sg=>{u();p();var Bpe,fln=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];sg.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17};sg.getSymbolTotalCodewords=function(e){return fln[e]};sg.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};sg.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');Bpe=e};sg.isKanjiModeEnabled=function(){return typeof Bpe<"u"};sg.toSJIS=function(e){return Bpe(e)}});var uV=D(vd=>{u();p();vd.L={bit:1};vd.M={bit:0};vd.Q={bit:3};vd.H={bit:2};function iln(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return vd.L;case"m":case"medium":return vd.M;case"q":case"quartile":return vd.Q;case"h":case"high":return vd.H;default:throw new Error("Unknown EC Level: "+t)}}vd.isValid=function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4};vd.from=function(e,n){if(vd.isValid(e))return e;try{return iln(e)}catch{return n}}});var Ll0=D((aHa,Pl0)=>{u();p();function Dl0(){this.buffer=[],this.length=0}Dl0.prototype={get:function(t){let e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},put:function(t,e){for(let n=0;n>>e-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){let e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};Pl0.exports=Dl0});var Nl0=D((iHa,Fl0)=>{u();p();function VB(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}VB.prototype.set=function(t,e,n,a){let r=t*this.size+e;this.data[r]=n,a&&(this.reservedBit[r]=!0)};VB.prototype.get=function(t,e){return this.data[t*this.size+e]};VB.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n};VB.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};Fl0.exports=VB});var Ol0=D(pV=>{u();p();var sln=Qm().getSymbolSize;pV.getRowColCoords=function(e){if(e===1)return[];let n=Math.floor(e/7)+2,a=sln(e),r=a===145?26:Math.ceil((a-13)/(2*n-2))*2,f=[a-7];for(let i=1;i{u();p();var oln=Qm().getSymbolSize,Ul0=7;Hl0.getPositions=function(e){let n=oln(e);return[[0,0],[n-Ul0,0],[0,n-Ul0]]}});var Wl0=D(Vr=>{u();p();Vr.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var og={N1:3,N2:3,N3:40,N4:10};Vr.isValid=function(e){return e!=null&&e!==""&&!isNaN(e)&&e>=0&&e<=7};Vr.from=function(e){return Vr.isValid(e)?parseInt(e,10):void 0};Vr.getPenaltyN1=function(e){let n=e.size,a=0,r=0,f=0,i=null,s=null;for(let o=0;o=5&&(a+=og.N1+(r-5)),i=d,r=1),d=e.get(c,o),d===s?f++:(f>=5&&(a+=og.N1+(f-5)),s=d,f=1)}r>=5&&(a+=og.N1+(r-5)),f>=5&&(a+=og.N1+(f-5))}return a};Vr.getPenaltyN2=function(e){let n=e.size,a=0;for(let r=0;r=10&&(r===1488||r===93)&&a++,f=f<<1&2047|e.get(s,i),s>=10&&(f===1488||f===93)&&a++}return a*og.N3};Vr.getPenaltyN4=function(e){let n=0,a=e.data.length;for(let f=0;f{u();p();var Vm=uV(),hV=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],bV=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];Dpe.getBlocksCount=function(e,n){switch(n){case Vm.L:return hV[(e-1)*4+0];case Vm.M:return hV[(e-1)*4+1];case Vm.Q:return hV[(e-1)*4+2];case Vm.H:return hV[(e-1)*4+3];default:return}};Dpe.getTotalCodewordsCount=function(e,n){switch(n){case Vm.L:return bV[(e-1)*4+0];case Vm.M:return bV[(e-1)*4+1];case Vm.Q:return bV[(e-1)*4+2];case Vm.H:return bV[(e-1)*4+3];default:return}}});var ql0=D(yV=>{u();p();var YB=new Uint8Array(512),mV=new Uint8Array(256);(function(){let e=1;for(let n=0;n<255;n++)YB[n]=e,mV[e]=n,e<<=1,e&256&&(e^=285);for(let n=255;n<512;n++)YB[n]=YB[n-255]})();yV.log=function(e){if(e<1)throw new Error("log("+e+")");return mV[e]};yV.exp=function(e){return YB[e]};yV.mul=function(e,n){return e===0||n===0?0:YB[mV[e]+mV[n]]}});var jl0=D($B=>{u();p();var Lpe=ql0();$B.mul=function(e,n){let a=new Uint8Array(e.length+n.length-1);for(let r=0;r=0;){let r=a[0];for(let i=0;i{u();p();var Gl0=jl0();function Fpe(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}Fpe.prototype.initialize=function(e){this.degree=e,this.genPoly=Gl0.generateECPolynomial(this.degree)};Fpe.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");let n=new Uint8Array(e.length+this.degree);n.set(e);let a=Gl0.mod(n,this.genPoly),r=this.degree-a.length;if(r>0){let f=new Uint8Array(this.degree);return f.set(a,r),f}return a};Kl0.exports=Fpe});var Npe=D(Vl0=>{u();p();Vl0.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}});var Ope=D(Rh=>{u();p();var Yl0="[0-9]+",dln="[A-Z $%*+\\-./:]+",JB="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";JB=JB.replace(/u/g,"\\u");var lln="(?:(?![A-Z0-9 $%*+\\-./:]|"+JB+`)(?:.|[\r +]))+`;Rh.KANJI=new RegExp(JB,"g");Rh.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Rh.BYTE=new RegExp(lln,"g");Rh.NUMERIC=new RegExp(Yl0,"g");Rh.ALPHANUMERIC=new RegExp(dln,"g");var uln=new RegExp("^"+JB+"$"),pln=new RegExp("^"+Yl0+"$"),hln=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Rh.testKanji=function(e){return uln.test(e)};Rh.testNumeric=function(e){return pln.test(e)};Rh.testAlphanumeric=function(e){return hln.test(e)}});var Ym=D(Ni=>{u();p();var bln=Npe(),Upe=Ope();Ni.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};Ni.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};Ni.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};Ni.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};Ni.MIXED={bit:-1};Ni.getCharCountIndicator=function(e,n){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!bln.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?e.ccBits[0]:n<27?e.ccBits[1]:e.ccBits[2]};Ni.getBestModeForData=function(e){return Upe.testNumeric(e)?Ni.NUMERIC:Upe.testAlphanumeric(e)?Ni.ALPHANUMERIC:Upe.testKanji(e)?Ni.KANJI:Ni.BYTE};Ni.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")};Ni.isValid=function(e){return e&&e.bit&&e.ccBits};function mln(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return Ni.NUMERIC;case"alphanumeric":return Ni.ALPHANUMERIC;case"kanji":return Ni.KANJI;case"byte":return Ni.BYTE;default:throw new Error("Unknown mode: "+t)}}Ni.from=function(e,n){if(Ni.isValid(e))return e;try{return mln(e)}catch{return n}}});var e20=D(cg=>{u();p();var gV=Qm(),yln=Ppe(),$l0=uV(),$m=Ym(),Hpe=Npe(),Xl0=7973,Jl0=gV.getBCHDigit(Xl0);function gln(t,e,n){for(let a=1;a<=40;a++)if(e<=cg.getCapacity(a,n,t))return a}function Zl0(t,e){return $m.getCharCountIndicator(t,e)+4}function vln(t,e){let n=0;return t.forEach(function(a){let r=Zl0(a.mode,e);n+=r+a.getBitsLength()}),n}function wln(t,e){for(let n=1;n<=40;n++)if(vln(t,n)<=cg.getCapacity(n,e,$m.MIXED))return n}cg.from=function(e,n){return Hpe.isValid(e)?parseInt(e,10):n};cg.getCapacity=function(e,n,a){if(!Hpe.isValid(e))throw new Error("Invalid QR Code version");typeof a>"u"&&(a=$m.BYTE);let r=gV.getSymbolTotalCodewords(e),f=yln.getTotalCodewordsCount(e,n),i=(r-f)*8;if(a===$m.MIXED)return i;let s=i-Zl0(a,e);switch(a){case $m.NUMERIC:return Math.floor(s/10*3);case $m.ALPHANUMERIC:return Math.floor(s/11*2);case $m.KANJI:return Math.floor(s/13);case $m.BYTE:default:return Math.floor(s/8)}};cg.getBestVersionForData=function(e,n){let a,r=$l0.from(n,$l0.M);if(Array.isArray(e)){if(e.length>1)return wln(e,r);if(e.length===0)return 1;a=e[0]}else a=e;return gln(a.mode,a.getLength(),r)};cg.getEncodedBits=function(e){if(!Hpe.isValid(e)||e<7)throw new Error("Invalid QR Code version");let n=e<<12;for(;gV.getBCHDigit(n)-Jl0>=0;)n^=Xl0<{u();p();var zpe=Qm(),n20=1335,Tln=21522,t20=zpe.getBCHDigit(n20);a20.getEncodedBits=function(e,n){let a=e.bit<<3|n,r=a<<10;for(;zpe.getBCHDigit(r)-t20>=0;)r^=n20<{u();p();var xln=Ym();function C_(t){this.mode=xln.NUMERIC,this.data=t.toString()}C_.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)};C_.prototype.getLength=function(){return this.data.length};C_.prototype.getBitsLength=function(){return C_.getBitsLength(this.data.length)};C_.prototype.write=function(e){let n,a,r;for(n=0;n+3<=this.data.length;n+=3)a=this.data.substr(n,3),r=parseInt(a,10),e.put(r,10);let f=this.data.length-n;f>0&&(a=this.data.substr(n),r=parseInt(a,10),e.put(r,f*3+1))};f20.exports=C_});var o20=D((VHa,s20)=>{u();p();var Eln=Ym(),Wpe=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function I_(t){this.mode=Eln.ALPHANUMERIC,this.data=t}I_.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};I_.prototype.getLength=function(){return this.data.length};I_.prototype.getBitsLength=function(){return I_.getBitsLength(this.data.length)};I_.prototype.write=function(e){let n;for(n=0;n+2<=this.data.length;n+=2){let a=Wpe.indexOf(this.data[n])*45;a+=Wpe.indexOf(this.data[n+1]),e.put(a,11)}this.data.length%2&&e.put(Wpe.indexOf(this.data[n]),6)};s20.exports=I_});var d20=D((JHa,c20)=>{"use strict";u();p();c20.exports=function(e){for(var n=[],a=e.length,r=0;r=55296&&f<=56319&&a>r+1){var i=e.charCodeAt(r+1);i>=56320&&i<=57343&&(f=(f-55296)*1024+i-56320+65536,r+=1)}if(f<128){n.push(f);continue}if(f<2048){n.push(f>>6|192),n.push(f&63|128);continue}if(f<55296||f>=57344&&f<65536){n.push(f>>12|224),n.push(f>>6&63|128),n.push(f&63|128);continue}if(f>=65536&&f<=1114111){n.push(f>>18|240),n.push(f>>12&63|128),n.push(f>>6&63|128),n.push(f&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer}});var u20=D((eza,l20)=>{u();p();var _ln=d20(),Aln=Ym();function k_(t){this.mode=Aln.BYTE,typeof t=="string"&&(t=_ln(t)),this.data=new Uint8Array(t)}k_.getBitsLength=function(e){return e*8};k_.prototype.getLength=function(){return this.data.length};k_.prototype.getBitsLength=function(){return k_.getBitsLength(this.data.length)};k_.prototype.write=function(t){for(let e=0,n=this.data.length;e{u();p();var Cln=Ym(),Iln=Qm();function S_(t){this.mode=Cln.KANJI,this.data=t}S_.getBitsLength=function(e){return e*13};S_.prototype.getLength=function(){return this.data.length};S_.prototype.getBitsLength=function(){return S_.getBitsLength(this.data.length)};S_.prototype.write=function(t){let e;for(e=0;e=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+` +Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),t.put(n,13)}};p20.exports=S_});var b20=D((iza,qpe)=>{"use strict";u();p();var XB={single_source_shortest_paths:function(t,e,n){var a={},r={};r[e]=0;var f=XB.PriorityQueue.make();f.push(e,0);for(var i,s,o,c,d,l,h,y,v;!f.empty();){i=f.pop(),s=i.value,c=i.cost,d=t[s]||{};for(o in d)d.hasOwnProperty(o)&&(l=d[o],h=c+l,y=r[o],v=typeof r[o]>"u",(v||y>h)&&(r[o]=h,f.push(o,h),a[o]=s))}if(typeof n<"u"&&typeof r[n]>"u"){var k=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(k)}return a},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],a=e,r;a;)n.push(a),r=t[a],a=t[a];return n.reverse(),n},find_path:function(t,e,n){var a=XB.single_source_shortest_paths(t,e,n);return XB.extract_shortest_path_from_predecessor_list(a,n)},PriorityQueue:{make:function(t){var e=XB.PriorityQueue,n={},a;t=t||{};for(a in e)e.hasOwnProperty(a)&&(n[a]=e[a]);return n.queue=[],n.sorter=t.sorter||e.default_sorter,n},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var n={value:t,cost:e};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};typeof qpe<"u"&&(qpe.exports=XB)});var E20=D(R_=>{u();p();var er=Ym(),g20=i20(),v20=o20(),w20=u20(),T20=h20(),ZB=Ope(),vV=Qm(),kln=b20();function m20(t){return unescape(encodeURIComponent(t)).length}function eD(t,e,n){let a=[],r;for(;(r=t.exec(n))!==null;)a.push({data:r[0],index:r.index,mode:e,length:r[0].length});return a}function x20(t){let e=eD(ZB.NUMERIC,er.NUMERIC,t),n=eD(ZB.ALPHANUMERIC,er.ALPHANUMERIC,t),a,r;return vV.isKanjiModeEnabled()?(a=eD(ZB.BYTE,er.BYTE,t),r=eD(ZB.KANJI,er.KANJI,t)):(a=eD(ZB.BYTE_KANJI,er.BYTE,t),r=[]),e.concat(n,a,r).sort(function(i,s){return i.index-s.index}).map(function(i){return{data:i.data,mode:i.mode,length:i.length}})}function jpe(t,e){switch(e){case er.NUMERIC:return g20.getBitsLength(t);case er.ALPHANUMERIC:return v20.getBitsLength(t);case er.KANJI:return T20.getBitsLength(t);case er.BYTE:return w20.getBitsLength(t)}}function Sln(t){return t.reduce(function(e,n){let a=e.length-1>=0?e[e.length-1]:null;return a&&a.mode===n.mode?(e[e.length-1].data+=n.data,e):(e.push(n),e)},[])}function Rln(t){let e=[];for(let n=0;n{u();p();var TV=Qm(),Gpe=uV(),Bln=Ll0(),Dln=Nl0(),Pln=Ol0(),Lln=zl0(),Vpe=Wl0(),Ype=Ppe(),Fln=Ql0(),wV=e20(),Nln=r20(),Oln=Ym(),Kpe=E20();function Uln(t,e){let n=t.size,a=Lln.getPositions(e);for(let r=0;r=0&&s<=6&&(o===0||o===6)||o>=0&&o<=6&&(s===0||s===6)||s>=2&&s<=4&&o>=2&&o<=4?t.set(f+s,i+o,!0,!0):t.set(f+s,i+o,!1,!0))}}function Hln(t){let e=t.size;for(let n=8;n>s&1)===1,t.set(r,f,i,!0),t.set(f,r,i,!0)}function Qpe(t,e,n){let a=t.size,r=Nln.getEncodedBits(e,n),f,i;for(f=0;f<15;f++)i=(r>>f&1)===1,f<6?t.set(f,8,i,!0):f<8?t.set(f+1,8,i,!0):t.set(a-15+f,8,i,!0),f<8?t.set(8,a-f-1,i,!0):f<9?t.set(8,15-f-1+1,i,!0):t.set(8,15-f-1,i,!0);t.set(a-8,8,1,!0)}function qln(t,e){let n=t.size,a=-1,r=n-1,f=7,i=0;for(let s=n-1;s>0;s-=2)for(s===6&&s--;;){for(let o=0;o<2;o++)if(!t.isReserved(r,s-o)){let c=!1;i>>f&1)===1),t.set(r,s-o,c),f--,f===-1&&(i++,f=7)}if(r+=a,r<0||n<=r){r-=a,a=-a;break}}}function jln(t,e,n){let a=new Bln;n.forEach(function(o){a.put(o.mode.bit,4),a.put(o.getLength(),Oln.getCharCountIndicator(o.mode,t)),o.write(a)});let r=TV.getSymbolTotalCodewords(t),f=Ype.getTotalCodewordsCount(t,e),i=(r-f)*8;for(a.getLengthInBits()+4<=i&&a.put(0,4);a.getLengthInBits()%8!==0;)a.putBit(0);let s=(i-a.getLengthInBits())/8;for(let o=0;o=7&&Wln(o,e),qln(o,i),isNaN(a)&&(a=Vpe.getBestMask(o,Qpe.bind(null,o,n))),Vpe.applyMask(a,o),Qpe(o,n,a),{modules:o,version:e,errorCorrectionLevel:n,maskPattern:a,segments:r}}_20.create=function(e,n){if(typeof e>"u"||e==="")throw new Error("No input text");let a=Gpe.M,r,f;return typeof n<"u"&&(a=Gpe.from(n.errorCorrectionLevel,Gpe.M),r=wV.from(n.version),f=Vpe.from(n.maskPattern),n.toSJISFunc&&TV.setToSJISFunction(n.toSJISFunc)),Kln(e,r,a,f)}});var $pe=D(dg=>{u();p();function C20(t){if(typeof t=="number"&&(t=t.toString()),typeof t!="string")throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||e.length===5||e.length>8)throw new Error("Invalid hex color: "+t);(e.length===3||e.length===4)&&(e=Array.prototype.concat.apply([],e.map(function(a){return[a,a]}))),e.length===6&&e.push("F","F");let n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:n&255,hex:"#"+e.slice(0,6).join("")}}dg.getOptions=function(e){e||(e={}),e.color||(e.color={});let n=typeof e.margin>"u"||e.margin===null||e.margin<0?4:e.margin,a=e.width&&e.width>=21?e.width:void 0,r=e.scale||4;return{width:a,scale:a?4:r,margin:n,color:{dark:C20(e.color.dark||"#000000ff"),light:C20(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}};dg.getScale=function(e,n){return n.width&&n.width>=e+n.margin*2?n.width/(e+n.margin*2):n.scale};dg.getImageWidth=function(e,n){let a=dg.getScale(e,n);return Math.floor((e+n.margin*2)*a)};dg.qrToImageData=function(e,n,a){let r=n.modules.size,f=n.modules.data,i=dg.getScale(r,a),s=Math.floor((r+a.margin*2)*i),o=a.margin*i,c=[a.color.light,a.color.dark];for(let d=0;d=o&&l>=o&&d{u();p();var Jpe=$pe();function Qln(t,e,n){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=n,e.width=n,e.style.height=n+"px",e.style.width=n+"px"}function Vln(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}xV.render=function(e,n,a){let r=a,f=n;typeof r>"u"&&(!n||!n.getContext)&&(r=n,n=void 0),n||(f=Vln()),r=Jpe.getOptions(r);let i=Jpe.getImageWidth(e.modules.size,r),s=f.getContext("2d"),o=s.createImageData(i,i);return Jpe.qrToImageData(o.data,e,r),Qln(s,f,i),s.putImageData(o,0,0),f};xV.renderToDataURL=function(e,n,a){let r=a;typeof r>"u"&&(!n||!n.getContext)&&(r=n,n=void 0),r||(r={});let f=xV.render(e,n,r),i=r.type||"image/png",s=r.rendererOpts||{};return f.toDataURL(i,s.quality)}});var R20=D(S20=>{u();p();var Yln=$pe();function k20(t,e){let n=t.a/255,a=e+'="'+t.hex+'"';return n<1?a+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':a}function Xpe(t,e,n){let a=t+e;return typeof n<"u"&&(a+=" "+n),a}function $ln(t,e,n){let a="",r=0,f=!1,i=0;for(let s=0;s0&&o>0&&t[s-1]||(a+=f?Xpe("M",o+n,.5+c+n):Xpe("m",r,0),r=0,f=!1),o+1':"",c="',d='viewBox="0 0 '+s+" "+s+'"',h=''+o+c+` -`;return typeof a=="function"&&a(null,h),h}});var B20=D(tD=>{u();p();var Jln=Bl0(),Zpe=A20(),M20=I20(),Xln=R20();function e8e(t,e,n,a,r){let f=[].slice.call(arguments,1),i=f.length,s=typeof f[i-1]=="function";if(!s&&!Jln())throw new Error("Callback required as last argument");if(s){if(i<2)throw new Error("Too few arguments provided");i===2?(r=n,n=e,e=a=void 0):i===3&&(e.getContext&&typeof r>"u"?(r=a,a=void 0):(r=a,a=n,n=e,e=void 0))}else{if(i<1)throw new Error("Too few arguments provided");return i===1?(n=e,e=a=void 0):i===2&&!e.getContext&&(a=n,n=e,e=void 0),new Promise(function(o,c){try{let d=Zpe.create(n,a);o(t(d,e,a))}catch(d){c(d)}})}try{let o=Zpe.create(n,a);r(null,t(o,e,a))}catch(o){r(o)}}tD.create=Zpe.create;tD.toCanvas=e8e.bind(null,M20.render);tD.toDataURL=e8e.bind(null,M20.renderToDataURL);tD.toString=e8e.bind(null,function(t,e,n){return Xln.render(t,n)})});var G20={};V0(G20,{WcmModal:()=>F_,WcmQrCode:()=>Bh});function n2n(){var t;let e=(t=tp.state.themeMode)!=null?t:"dark",n={light:{foreground:{1:"rgb(20,20,20)",2:"rgb(121,134,134)",3:"rgb(158,169,169)"},background:{1:"rgb(255,255,255)",2:"rgb(241,243,243)",3:"rgb(228,231,231)"},overlay:"rgba(0,0,0,0.1)"},dark:{foreground:{1:"rgb(228,231,231)",2:"rgb(148,158,158)",3:"rgb(110,119,119)"},background:{1:"rgb(20,20,20)",2:"rgb(39,42,42)",3:"rgb(59,64,64)"},overlay:"rgba(255,255,255,0.1)"}}[e];return{"--wcm-color-fg-1":n.foreground[1],"--wcm-color-fg-2":n.foreground[2],"--wcm-color-fg-3":n.foreground[3],"--wcm-color-bg-1":n.background[1],"--wcm-color-bg-2":n.background[2],"--wcm-color-bg-3":n.background[3],"--wcm-color-overlay":n.overlay}}function L20(){return{"--wcm-accent-color":"#3396FF","--wcm-accent-fill-color":"#FFFFFF","--wcm-z-index":"89","--wcm-background-color":"#3396FF","--wcm-background-border-radius":"8px","--wcm-container-border-radius":"30px","--wcm-wallet-icon-border-radius":"15px","--wcm-wallet-icon-large-border-radius":"30px","--wcm-wallet-icon-small-border-radius":"7px","--wcm-input-border-radius":"28px","--wcm-button-border-radius":"10px","--wcm-notification-border-radius":"36px","--wcm-secondary-button-border-radius":"28px","--wcm-icon-button-border-radius":"50%","--wcm-button-hover-highlight-border-radius":"10px","--wcm-text-big-bold-size":"20px","--wcm-text-big-bold-weight":"600","--wcm-text-big-bold-line-height":"24px","--wcm-text-big-bold-letter-spacing":"-0.03em","--wcm-text-big-bold-text-transform":"none","--wcm-text-xsmall-bold-size":"10px","--wcm-text-xsmall-bold-weight":"700","--wcm-text-xsmall-bold-line-height":"12px","--wcm-text-xsmall-bold-letter-spacing":"0.02em","--wcm-text-xsmall-bold-text-transform":"uppercase","--wcm-text-xsmall-regular-size":"12px","--wcm-text-xsmall-regular-weight":"600","--wcm-text-xsmall-regular-line-height":"14px","--wcm-text-xsmall-regular-letter-spacing":"-0.03em","--wcm-text-xsmall-regular-text-transform":"none","--wcm-text-small-thin-size":"14px","--wcm-text-small-thin-weight":"500","--wcm-text-small-thin-line-height":"16px","--wcm-text-small-thin-letter-spacing":"-0.03em","--wcm-text-small-thin-text-transform":"none","--wcm-text-small-regular-size":"14px","--wcm-text-small-regular-weight":"600","--wcm-text-small-regular-line-height":"16px","--wcm-text-small-regular-letter-spacing":"-0.03em","--wcm-text-small-regular-text-transform":"none","--wcm-text-medium-regular-size":"16px","--wcm-text-medium-regular-weight":"600","--wcm-text-medium-regular-line-height":"20px","--wcm-text-medium-regular-letter-spacing":"-0.03em","--wcm-text-medium-regular-text-transform":"none","--wcm-font-family":"-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', sans-serif","--wcm-font-feature-settings":"'tnum' on, 'lnum' on, 'case' on","--wcm-success-color":"rgb(38,181,98)","--wcm-error-color":"rgb(242, 90, 103)","--wcm-overlay-background-color":"rgba(0, 0, 0, 0.3)","--wcm-overlay-backdrop-filter":"none"}}function o8e(t,e,n){return t===e?!1:(t-e<0?e-t:t-e)<=n+P2n}function L2n(t,e){let n=Array.prototype.slice.call(j20.default.create(t,{errorCorrectionLevel:e}).modules.data,0),a=Math.sqrt(n.length);return n.reduce((r,f,i)=>(i%a===0?r.push([f]):r[r.length-1].push(f))&&r,[])}var j20,Zln,D20,e2n,t2n,P20,t8e,ha,a2n,r2n,f2n,M_,$m,i2n,s2n,o2n,n8e,nD,c2n,d2n,l2n,u2n,a8e,tr,p2n,h2n,b2n,m2n,r8e,y2n,g2n,v2n,w2n,f8e,T2n,x2n,E2n,_2n,i8e,A2n,C2n,I2n,aD,lg,Zt,k2n,S2n,R2n,s8e,rD,M2n,B2n,D2n,F20,EV,P2n,N20,Mh,F2n,N2n,O2n,U2n,B_,Bh,H2n,z2n,W2n,O20,_V,q2n,j2n,G2n,K2n,c8e,Q2n,V2n,Y2n,d8e,fD,$2n,J2n,X2n,Jm,rp,Z2n,eun,tun,AV,D_,nun,aun,U20,l8e,run,fun,iun,H20,sun,oun,cun,dun,u8e,lun,uun,pun,P_,Xm,N_,Zm,hun,bun,mun,yun,p8e,gun,vun,wun,Tun,h8e,xun,Eun,_un,Aun,b8e,Cun,Iun,kun,m8e,F_,Sun,Run,Mun,iD,ug,Bun,Dun,Pun,Lun,y8e,Fun,Nun,Oun,CV,L_,Uun,Hun,zun,g8e,Wun,qun,jun,z20,IV,Gun,Kun,Qun,Vun,v8e,Yun,$un,Jun,W20,kV,Xun,Zun,epn,tpn,w8e,npn,apn,rpn,T8e,fpn,ipn,spn,sD,x8e,pg,opn,cpn,dpn,q20,SV,K20=ce(()=>{u();p();X50();id0();ld0();Uue();ng();kl0();Rl0();j20=Ee(B20(),1),Zln=Object.defineProperty,D20=Object.getOwnPropertySymbols,e2n=Object.prototype.hasOwnProperty,t2n=Object.prototype.propertyIsEnumerable,P20=(t,e,n)=>e in t?Zln(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,t8e=(t,e)=>{for(var n in e||(e={}))e2n.call(e,n)&&P20(t,n,e[n]);if(D20)for(var n of D20(e))t2n.call(e,n)&&P20(t,n,e[n]);return t};ha={getPreset(t){return L20()[t]},setTheme(){let t=document.querySelector(":root"),{themeVariables:e}=tp.state;if(t){let n=t8e(t8e(t8e({},n2n()),L20()),e);Object.entries(n).forEach(([a,r])=>t.style.setProperty(a,r))}},globalCss:Ia`*,::after,::before{margin:0;padding:0;box-sizing:border-box;font-style:normal;text-rendering:optimizeSpeed;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;backface-visibility:hidden}button{cursor:pointer;display:flex;justify-content:center;align-items:center;position:relative;border:none;background-color:transparent;transition:all .2s ease}@media (hover:hover) and (pointer:fine){button:active{transition:all .1s ease;transform:scale(.93)}}button::after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;transition:background-color,.2s ease}button:disabled{cursor:not-allowed}button svg,button wcm-text{position:relative;z-index:1}input{border:none;outline:0;appearance:none}img{display:block}::selection{color:var(--wcm-accent-fill-color);background:var(--wcm-accent-color)}`},a2n=Ia`button{border-radius:var(--wcm-secondary-button-border-radius);height:28px;padding:0 10px;background-color:var(--wcm-accent-color)}button path{fill:var(--wcm-accent-fill-color)}button::after{border-radius:inherit;border:1px solid var(--wcm-color-overlay)}button:disabled::after{background-color:transparent}.wcm-icon-left svg{margin-right:5px}.wcm-icon-right svg{margin-left:5px}button:active::after{background-color:var(--wcm-color-overlay)}.wcm-ghost,.wcm-ghost:active::after,.wcm-outline{background-color:transparent}.wcm-ghost:active{opacity:.5}@media(hover:hover){button:hover::after{background-color:var(--wcm-color-overlay)}.wcm-ghost:hover::after{background-color:transparent}.wcm-ghost:hover{opacity:.5}}button:disabled{background-color:var(--wcm-color-bg-3);pointer-events:none}.wcm-ghost::after{border-color:transparent}.wcm-ghost path{fill:var(--wcm-color-fg-2)}.wcm-outline path{fill:var(--wcm-accent-color)}.wcm-outline:disabled{background-color:transparent;opacity:.5}`,r2n=Object.defineProperty,f2n=Object.getOwnPropertyDescriptor,M_=(t,e,n,a)=>{for(var r=a>1?void 0:a?f2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&r2n(e,n,r),r},$m=class extends Tn{constructor(){super(...arguments),this.disabled=!1,this.iconLeft=void 0,this.iconRight=void 0,this.onClick=()=>null,this.variant="default"}render(){let t={"wcm-icon-left":this.iconLeft!==void 0,"wcm-icon-right":this.iconRight!==void 0,"wcm-ghost":this.variant==="ghost","wcm-outline":this.variant==="outline"},e="inverse";return this.variant==="ghost"&&(e="secondary"),this.variant==="outline"&&(e="accent"),q0``}};$m.styles=[ha.globalCss,a2n],M_([sn({type:Boolean})],$m.prototype,"disabled",2),M_([sn()],$m.prototype,"iconLeft",2),M_([sn()],$m.prototype,"iconRight",2),M_([sn()],$m.prototype,"onClick",2),M_([sn()],$m.prototype,"variant",2),$m=M_([pa("wcm-button")],$m);i2n=Ia`:host{display:inline-block}button{padding:0 15px 1px;height:40px;border-radius:var(--wcm-button-border-radius);color:var(--wcm-accent-fill-color);background-color:var(--wcm-accent-color)}button::after{content:'';top:0;bottom:0;left:0;right:0;position:absolute;background-color:transparent;border-radius:inherit;transition:background-color .2s ease;border:1px solid var(--wcm-color-overlay)}button:active::after{background-color:var(--wcm-color-overlay)}button:disabled{padding-bottom:0;background-color:var(--wcm-color-bg-3);color:var(--wcm-color-fg-3)}.wcm-secondary{color:var(--wcm-accent-color);background-color:transparent}.wcm-secondary::after{display:none}@media(hover:hover){button:hover::after{background-color:var(--wcm-color-overlay)}}`,s2n=Object.defineProperty,o2n=Object.getOwnPropertyDescriptor,n8e=(t,e,n,a)=>{for(var r=a>1?void 0:a?o2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&s2n(e,n,r),r},nD=class extends Tn{constructor(){super(...arguments),this.disabled=!1,this.variant="primary"}render(){let t={"wcm-secondary":this.variant==="secondary"};return q0``}};nD.styles=[ha.globalCss,i2n],n8e([sn({type:Boolean})],nD.prototype,"disabled",2),n8e([sn()],nD.prototype,"variant",2),nD=n8e([pa("wcm-button-big")],nD);c2n=Ia`:host{background-color:var(--wcm-color-bg-2);border-top:1px solid var(--wcm-color-bg-3)}div{padding:10px 20px;display:inherit;flex-direction:inherit;align-items:inherit;width:inherit;justify-content:inherit}`,d2n=Object.defineProperty,l2n=Object.getOwnPropertyDescriptor,u2n=(t,e,n,a)=>{for(var r=a>1?void 0:a?l2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&d2n(e,n,r),r},a8e=class extends Tn{render(){return q0`
`}};a8e.styles=[ha.globalCss,c2n],a8e=u2n([pa("wcm-info-footer")],a8e);tr={CROSS_ICON:wf``,WALLET_CONNECT_LOGO:wf``,WALLET_CONNECT_ICON:wf``,WALLET_CONNECT_ICON_COLORED:wf``,BACK_ICON:wf``,COPY_ICON:wf``,RETRY_ICON:wf``,DESKTOP_ICON:wf``,MOBILE_ICON:wf``,ARROW_DOWN_ICON:wf``,ARROW_UP_RIGHT_ICON:wf``,ARROW_RIGHT_ICON:wf``,QRCODE_ICON:wf``,SCAN_ICON:wf``,CHECKMARK_ICON:wf``,SEARCH_ICON:wf``,WALLET_PLACEHOLDER:wf``,GLOBE_ICON:wf``},p2n=Ia`.wcm-toolbar-placeholder{top:0;bottom:0;left:0;right:0;width:100%;position:absolute;display:block;pointer-events:none;height:100px;border-radius:calc(var(--wcm-background-border-radius) * .9);background-color:var(--wcm-background-color);background-position:center;background-size:cover}.wcm-toolbar{height:38px;display:flex;position:relative;margin:5px 15px 5px 5px;justify-content:space-between;align-items:center}.wcm-toolbar img,.wcm-toolbar svg{height:28px;object-position:left center;object-fit:contain}#wcm-wc-logo path{fill:var(--wcm-accent-fill-color)}button{width:28px;height:28px;border-radius:var(--wcm-icon-button-border-radius);border:0;display:flex;justify-content:center;align-items:center;cursor:pointer;background-color:var(--wcm-color-bg-1);box-shadow:0 0 0 1px var(--wcm-color-overlay)}button:active{background-color:var(--wcm-color-bg-2)}button svg{display:block;object-position:center}button path{fill:var(--wcm-color-fg-1)}.wcm-toolbar div{display:flex}@media(hover:hover){button:hover{background-color:var(--wcm-color-bg-2)}}`,h2n=Object.defineProperty,b2n=Object.getOwnPropertyDescriptor,m2n=(t,e,n,a)=>{for(var r=a>1?void 0:a?b2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&h2n(e,n,r),r},r8e=class extends Tn{render(){return q0`
${tr.WALLET_CONNECT_LOGO}
`}};r8e.styles=[ha.globalCss,p2n],r8e=m2n([pa("wcm-modal-backcard")],r8e);y2n=Ia`main{padding:20px;padding-top:0;width:100%}`,g2n=Object.defineProperty,v2n=Object.getOwnPropertyDescriptor,w2n=(t,e,n,a)=>{for(var r=a>1?void 0:a?v2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&g2n(e,n,r),r},f8e=class extends Tn{render(){return q0`
`}};f8e.styles=[ha.globalCss,y2n],f8e=w2n([pa("wcm-modal-content")],f8e);T2n=Ia`footer{padding:10px;display:flex;flex-direction:column;align-items:inherit;justify-content:inherit;border-top:1px solid var(--wcm-color-bg-2)}`,x2n=Object.defineProperty,E2n=Object.getOwnPropertyDescriptor,_2n=(t,e,n,a)=>{for(var r=a>1?void 0:a?E2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&x2n(e,n,r),r},i8e=class extends Tn{render(){return q0`
`}};i8e.styles=[ha.globalCss,T2n],i8e=_2n([pa("wcm-modal-footer")],i8e);A2n=Ia`header{display:flex;justify-content:center;align-items:center;padding:20px;position:relative}.wcm-border{border-bottom:1px solid var(--wcm-color-bg-2);margin-bottom:20px}header button{padding:15px 20px}header button:active{opacity:.5}@media(hover:hover){header button:hover{opacity:.5}}.wcm-back-btn{position:absolute;left:0}.wcm-action-btn{position:absolute;right:0}path{fill:var(--wcm-accent-color)}`,C2n=Object.defineProperty,I2n=Object.getOwnPropertyDescriptor,aD=(t,e,n,a)=>{for(var r=a>1?void 0:a?I2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&C2n(e,n,r),r},lg=class extends Tn{constructor(){super(...arguments),this.title="",this.onAction=void 0,this.actionIcon=void 0,this.border=!1}backBtnTemplate(){return q0``}actionBtnTemplate(){return q0``}render(){let t={"wcm-border":this.border},e=vf.state.history.length>1,n=this.title?q0`${this.title}`:q0``;return q0`
${e?this.backBtnTemplate():null} ${n} ${this.onAction?this.actionBtnTemplate():null}
`}};lg.styles=[ha.globalCss,A2n],aD([sn()],lg.prototype,"title",2),aD([sn()],lg.prototype,"onAction",2),aD([sn()],lg.prototype,"actionIcon",2),aD([sn({type:Boolean})],lg.prototype,"border",2),lg=aD([pa("wcm-modal-header")],lg);Zt={MOBILE_BREAKPOINT:600,WCM_RECENT_WALLET_DATA:"WCM_RECENT_WALLET_DATA",EXPLORER_WALLET_URL:"https://explorer.walletconnect.com/?type=wallet",getShadowRootElement(t,e){let n=t.renderRoot.querySelector(e);if(!n)throw new Error(`${e} not found`);return n},getWalletIcon({id:t,image_id:e}){let{walletImages:n}=oc.state;return n!=null&&n[t]?n[t]:e?cc.getWalletImageUrl(e):""},getWalletName(t,e=!1){return e&&t.length>8?`${t.substring(0,8)}..`:t},isMobileAnimation(){return window.innerWidth<=Zt.MOBILE_BREAKPOINT},async preloadImage(t){let e=new Promise((n,a)=>{let r=new Image;r.onload=n,r.onerror=a,r.crossOrigin="anonymous",r.src=t});return Promise.race([e,vt.wait(3e3)])},getErrorMessage(t){return t instanceof Error?t.message:"Unknown Error"},debounce(t,e=500){let n;return(...a)=>{function r(){t(...a)}n&&clearTimeout(n),n=setTimeout(r,e)}},handleMobileLinking(t){let{walletConnectUri:e}=Df.state,{mobile:n,name:a}=t,r=n?.native,f=n?.universal;Zt.setRecentWallet(t);function i(s){let o="";r?o=vt.formatUniversalUrl(r,s,a):f&&(o=vt.formatNativeUrl(f,s,a)),vt.openHref(o,"_self")}e&&i(e)},handleAndroidLinking(){let{walletConnectUri:t}=Df.state;t&&(vt.setWalletConnectAndroidDeepLink(t),vt.openHref(t,"_self"))},async handleUriCopy(){let{walletConnectUri:t}=Df.state;if(t)try{await navigator.clipboard.writeText(t),Ah.openToast("Link copied","success")}catch{Ah.openToast("Failed to copy","error")}},getCustomImageUrls(){let{walletImages:t}=oc.state,e=Object.values(t??{});return Object.values(e)},truncate(t,e=8){return t.length<=e?t:`${t.substring(0,4)}...${t.substring(t.length-4)}`},setRecentWallet(t){try{localStorage.setItem(Zt.WCM_RECENT_WALLET_DATA,JSON.stringify(t))}catch{console.info("Unable to set recent wallet")}},getRecentWallet(){try{let t=localStorage.getItem(Zt.WCM_RECENT_WALLET_DATA);return t?JSON.parse(t):void 0}catch{console.info("Unable to get recent wallet")}},caseSafeIncludes(t,e){return t.toUpperCase().includes(e.toUpperCase())},openWalletExplorerUrl(){vt.openHref(Zt.EXPLORER_WALLET_URL,"_blank")},getCachedRouterWalletPlatforms(){let{desktop:t,mobile:e}=vt.getWalletRouterData(),n=!!t?.native,a=!!t?.universal,r=!!e?.native||!!e?.universal;return{isDesktop:n,isMobile:r,isWeb:a}},goToConnectingView(t){vf.setData({Wallet:t});let e=vt.isMobile(),{isDesktop:n,isWeb:a,isMobile:r}=Zt.getCachedRouterWalletPlatforms();e?r?vf.push("MobileConnecting"):a?vf.push("WebConnecting"):vf.push("InstallWallet"):n?vf.push("DesktopConnecting"):a?vf.push("WebConnecting"):r?vf.push("MobileQrcodeConnecting"):vf.push("InstallWallet")}},k2n=Ia`.wcm-router{overflow:hidden;will-change:transform}.wcm-content{display:flex;flex-direction:column}`,S2n=Object.defineProperty,R2n=Object.getOwnPropertyDescriptor,s8e=(t,e,n,a)=>{for(var r=a>1?void 0:a?R2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&S2n(e,n,r),r},rD=class extends Tn{constructor(){super(),this.view=vf.state.view,this.prevView=vf.state.view,this.unsubscribe=void 0,this.oldHeight="0px",this.resizeObserver=void 0,this.unsubscribe=vf.subscribe(t=>{this.view!==t.view&&this.onChangeRoute()})}firstUpdated(){this.resizeObserver=new ResizeObserver(([t])=>{let e=`${t.contentRect.height}px`;this.oldHeight!=="0px"&&Sh(this.routerEl,{height:[this.oldHeight,e]},{duration:.2}),this.oldHeight=e}),this.resizeObserver.observe(this.contentEl)}disconnectedCallback(){var t,e;(t=this.unsubscribe)==null||t.call(this),(e=this.resizeObserver)==null||e.disconnect()}get routerEl(){return Zt.getShadowRootElement(this,".wcm-router")}get contentEl(){return Zt.getShadowRootElement(this,".wcm-content")}viewTemplate(){switch(this.view){case"ConnectWallet":return q0``;case"DesktopConnecting":return q0``;case"MobileConnecting":return q0``;case"WebConnecting":return q0``;case"MobileQrcodeConnecting":return q0``;case"WalletExplorer":return q0``;case"Qrcode":return q0``;case"InstallWallet":return q0``;default:return q0`
Not Found
`}}async onChangeRoute(){await Sh(this.routerEl,{opacity:[1,0],scale:[1,1.02]},{duration:.15,delay:.1}).finished,this.view=vf.state.view,Sh(this.routerEl,{opacity:[0,1],scale:[.99,1]},{duration:.37,delay:.05})}render(){return q0`
${this.viewTemplate()}
`}};rD.styles=[ha.globalCss,k2n],s8e([dc()],rD.prototype,"view",2),s8e([dc()],rD.prototype,"prevView",2),rD=s8e([pa("wcm-modal-router")],rD);M2n=Ia`div{height:36px;width:max-content;display:flex;justify-content:center;align-items:center;padding:9px 15px 11px;position:absolute;top:12px;box-shadow:0 6px 14px -6px rgba(10,16,31,.3),0 10px 32px -4px rgba(10,16,31,.15);z-index:2;left:50%;transform:translateX(-50%);pointer-events:none;backdrop-filter:blur(20px) saturate(1.8);-webkit-backdrop-filter:blur(20px) saturate(1.8);border-radius:var(--wcm-notification-border-radius);border:1px solid var(--wcm-color-overlay);background-color:var(--wcm-color-overlay)}svg{margin-right:5px}@-moz-document url-prefix(){div{background-color:var(--wcm-color-bg-3)}}.wcm-success path{fill:var(--wcm-accent-color)}.wcm-error path{fill:var(--wcm-error-color)}`,B2n=Object.defineProperty,D2n=Object.getOwnPropertyDescriptor,F20=(t,e,n,a)=>{for(var r=a>1?void 0:a?D2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&B2n(e,n,r),r},EV=class extends Tn{constructor(){super(),this.open=!1,this.unsubscribe=void 0,this.timeout=void 0,this.unsubscribe=Ah.subscribe(t=>{t.open?(this.open=!0,this.timeout=setTimeout(()=>Ah.closeToast(),2200)):(this.open=!1,clearTimeout(this.timeout))})}disconnectedCallback(){var t;(t=this.unsubscribe)==null||t.call(this),clearTimeout(this.timeout),Ah.closeToast()}render(){let{message:t,variant:e}=Ah.state,n={"wcm-success":e==="success","wcm-error":e==="error"};return this.open?q0`
${e==="success"?tr.CHECKMARK_ICON:null} ${e==="error"?tr.CROSS_ICON:null}${t}
`:null}};EV.styles=[ha.globalCss,M2n],F20([dc()],EV.prototype,"open",2),EV=F20([pa("wcm-modal-toast")],EV);P2n=.1,N20=2.5,Mh=7;F2n={generate(t,e,n){let a="#141414",r="#ffffff",f=[],i=L2n(t,"Q"),s=e/i.length,o=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];o.forEach(({x:v,y:S})=>{let O=(i.length-Mh)*s*v,F=(i.length-Mh)*s*S,z=.45;for(let W=0;W`)}});let c=Math.floor((n+25)/s),d=i.length/2-c/2,l=i.length/2+c/2-1,h=[];i.forEach((v,S)=>{v.forEach((O,F)=>{if(i[S][F]&&!(Si.length-(Mh+1)&&Fi.length-(Mh+1))&&!(S>d&&Sd&&F{y[v]?y[v].push(S):y[v]=[S]}),Object.entries(y).map(([v,S])=>{let O=S.filter(F=>S.every(z=>!o8e(F,z,s)));return[Number(v),O]}).forEach(([v,S])=>{S.forEach(O=>{f.push(wf``)})}),Object.entries(y).filter(([v,S])=>S.length>1).map(([v,S])=>{let O=S.filter(F=>S.some(z=>o8e(F,z,s)));return[Number(v),O]}).map(([v,S])=>{S.sort((F,z)=>FW.some(j=>o8e(F,j,s)));z?z.push(F):O.push([F])}return[v,O.map(F=>[F[0],F[F.length-1]])]}).forEach(([v,S])=>{S.forEach(([O,F])=>{f.push(wf``)})}),f}},N2n=Ia`@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}div{position:relative;user-select:none;display:block;overflow:hidden;aspect-ratio:1/1;animation:fadeIn ease .2s}.wcm-dark{background-color:#fff;border-radius:var(--wcm-container-border-radius);padding:18px;box-shadow:0 2px 5px #000}svg:first-child,wcm-wallet-image{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%)}wcm-wallet-image{transform:translateY(-50%) translateX(-50%)}wcm-wallet-image{width:25%;height:25%;border-radius:var(--wcm-wallet-icon-border-radius)}svg:first-child{transform:translateY(-50%) translateX(-50%) scale(.9)}svg:first-child path:first-child{fill:var(--wcm-accent-color)}svg:first-child path:last-child{stroke:var(--wcm-color-overlay)}`,O2n=Object.defineProperty,U2n=Object.getOwnPropertyDescriptor,B_=(t,e,n,a)=>{for(var r=a>1?void 0:a?U2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&O2n(e,n,r),r},Bh=class extends Tn{constructor(){super(...arguments),this.uri="",this.size=0,this.imageId=void 0,this.walletId=void 0,this.imageUrl=void 0}svgTemplate(){let t=tp.state.themeMode==="light"?this.size:this.size-36;return wf`${F2n.generate(this.uri,t,t/4)}`}render(){let t={"wcm-dark":tp.state.themeMode==="dark"};return q0`
${this.walletId||this.imageUrl?q0``:tr.WALLET_CONNECT_ICON_COLORED} ${this.svgTemplate()}
`}};Bh.styles=[ha.globalCss,N2n],B_([sn()],Bh.prototype,"uri",2),B_([sn({type:Number})],Bh.prototype,"size",2),B_([sn()],Bh.prototype,"imageId",2),B_([sn()],Bh.prototype,"walletId",2),B_([sn()],Bh.prototype,"imageUrl",2),Bh=B_([pa("wcm-qrcode")],Bh);H2n=Ia`:host{position:relative;height:28px;width:80%}input{width:100%;height:100%;line-height:28px!important;border-radius:var(--wcm-input-border-radius);font-style:normal;font-family:-apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,Ubuntu,'Helvetica Neue',sans-serif;font-feature-settings:'case' on;font-weight:500;font-size:16px;letter-spacing:-.03em;padding:0 10px 0 34px;transition:.2s all ease;color:var(--wcm-color-fg-1);background-color:var(--wcm-color-bg-3);box-shadow:inset 0 0 0 1px var(--wcm-color-overlay);caret-color:var(--wcm-accent-color)}input::placeholder{color:var(--wcm-color-fg-2)}svg{left:10px;top:4px;pointer-events:none;position:absolute;width:20px;height:20px}input:focus-within{box-shadow:inset 0 0 0 1px var(--wcm-accent-color)}path{fill:var(--wcm-color-fg-2)}`,z2n=Object.defineProperty,W2n=Object.getOwnPropertyDescriptor,O20=(t,e,n,a)=>{for(var r=a>1?void 0:a?W2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&z2n(e,n,r),r},_V=class extends Tn{constructor(){super(...arguments),this.onChange=()=>null}render(){return q0` ${tr.SEARCH_ICON}`}};_V.styles=[ha.globalCss,H2n],O20([sn()],_V.prototype,"onChange",2),_V=O20([pa("wcm-search-input")],_V);q2n=Ia`@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}svg{animation:rotate 2s linear infinite;display:flex;justify-content:center;align-items:center}svg circle{stroke-linecap:round;animation:dash 1.5s ease infinite;stroke:var(--wcm-accent-color)}`,j2n=Object.defineProperty,G2n=Object.getOwnPropertyDescriptor,K2n=(t,e,n,a)=>{for(var r=a>1?void 0:a?G2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&j2n(e,n,r),r},c8e=class extends Tn{render(){return q0``}};c8e.styles=[ha.globalCss,q2n],c8e=K2n([pa("wcm-spinner")],c8e);Q2n=Ia`span{font-style:normal;font-family:var(--wcm-font-family);font-feature-settings:var(--wcm-font-feature-settings)}.wcm-xsmall-bold{font-family:var(--wcm-text-xsmall-bold-font-family);font-weight:var(--wcm-text-xsmall-bold-weight);font-size:var(--wcm-text-xsmall-bold-size);line-height:var(--wcm-text-xsmall-bold-line-height);letter-spacing:var(--wcm-text-xsmall-bold-letter-spacing);text-transform:var(--wcm-text-xsmall-bold-text-transform)}.wcm-xsmall-regular{font-family:var(--wcm-text-xsmall-regular-font-family);font-weight:var(--wcm-text-xsmall-regular-weight);font-size:var(--wcm-text-xsmall-regular-size);line-height:var(--wcm-text-xsmall-regular-line-height);letter-spacing:var(--wcm-text-xsmall-regular-letter-spacing);text-transform:var(--wcm-text-xsmall-regular-text-transform)}.wcm-small-thin{font-family:var(--wcm-text-small-thin-font-family);font-weight:var(--wcm-text-small-thin-weight);font-size:var(--wcm-text-small-thin-size);line-height:var(--wcm-text-small-thin-line-height);letter-spacing:var(--wcm-text-small-thin-letter-spacing);text-transform:var(--wcm-text-small-thin-text-transform)}.wcm-small-regular{font-family:var(--wcm-text-small-regular-font-family);font-weight:var(--wcm-text-small-regular-weight);font-size:var(--wcm-text-small-regular-size);line-height:var(--wcm-text-small-regular-line-height);letter-spacing:var(--wcm-text-small-regular-letter-spacing);text-transform:var(--wcm-text-small-regular-text-transform)}.wcm-medium-regular{font-family:var(--wcm-text-medium-regular-font-family);font-weight:var(--wcm-text-medium-regular-weight);font-size:var(--wcm-text-medium-regular-size);line-height:var(--wcm-text-medium-regular-line-height);letter-spacing:var(--wcm-text-medium-regular-letter-spacing);text-transform:var(--wcm-text-medium-regular-text-transform)}.wcm-big-bold{font-family:var(--wcm-text-big-bold-font-family);font-weight:var(--wcm-text-big-bold-weight);font-size:var(--wcm-text-big-bold-size);line-height:var(--wcm-text-big-bold-line-height);letter-spacing:var(--wcm-text-big-bold-letter-spacing);text-transform:var(--wcm-text-big-bold-text-transform)}:host(*){color:var(--wcm-color-fg-1)}.wcm-color-primary{color:var(--wcm-color-fg-1)}.wcm-color-secondary{color:var(--wcm-color-fg-2)}.wcm-color-tertiary{color:var(--wcm-color-fg-3)}.wcm-color-inverse{color:var(--wcm-accent-fill-color)}.wcm-color-accnt{color:var(--wcm-accent-color)}.wcm-color-error{color:var(--wcm-error-color)}`,V2n=Object.defineProperty,Y2n=Object.getOwnPropertyDescriptor,d8e=(t,e,n,a)=>{for(var r=a>1?void 0:a?Y2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&V2n(e,n,r),r},fD=class extends Tn{constructor(){super(...arguments),this.variant="medium-regular",this.color="primary"}render(){let t={"wcm-big-bold":this.variant==="big-bold","wcm-medium-regular":this.variant==="medium-regular","wcm-small-regular":this.variant==="small-regular","wcm-small-thin":this.variant==="small-thin","wcm-xsmall-regular":this.variant==="xsmall-regular","wcm-xsmall-bold":this.variant==="xsmall-bold","wcm-color-primary":this.color==="primary","wcm-color-secondary":this.color==="secondary","wcm-color-tertiary":this.color==="tertiary","wcm-color-inverse":this.color==="inverse","wcm-color-accnt":this.color==="accent","wcm-color-error":this.color==="error"};return q0``}};fD.styles=[ha.globalCss,Q2n],d8e([sn()],fD.prototype,"variant",2),d8e([sn()],fD.prototype,"color",2),fD=d8e([pa("wcm-text")],fD);$2n=Ia`button{width:100%;height:100%;border-radius:var(--wcm-button-hover-highlight-border-radius);display:flex;align-items:flex-start}button:active{background-color:var(--wcm-color-overlay)}@media(hover:hover){button:hover{background-color:var(--wcm-color-overlay)}}button>div{width:80px;padding:5px 0;display:flex;flex-direction:column;align-items:center}wcm-text{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}wcm-wallet-image{height:60px;width:60px;transition:all .2s ease;border-radius:var(--wcm-wallet-icon-border-radius);margin-bottom:5px}.wcm-sublabel{margin-top:2px}`,J2n=Object.defineProperty,X2n=Object.getOwnPropertyDescriptor,Jm=(t,e,n,a)=>{for(var r=a>1?void 0:a?X2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&J2n(e,n,r),r},rp=class extends Tn{constructor(){super(...arguments),this.onClick=()=>null,this.name="",this.walletId="",this.label=void 0,this.imageId=void 0,this.installed=!1,this.recent=!1}sublabelTemplate(){return this.recent?q0`RECENT`:this.installed?q0`INSTALLED`:null}handleClick(){Oue.click({name:"WALLET_BUTTON",walletId:this.walletId}),this.onClick()}render(){var t;return q0``}};rp.styles=[ha.globalCss,$2n],Jm([sn()],rp.prototype,"onClick",2),Jm([sn()],rp.prototype,"name",2),Jm([sn()],rp.prototype,"walletId",2),Jm([sn()],rp.prototype,"label",2),Jm([sn()],rp.prototype,"imageId",2),Jm([sn({type:Boolean})],rp.prototype,"installed",2),Jm([sn({type:Boolean})],rp.prototype,"recent",2),rp=Jm([pa("wcm-wallet-button")],rp);Z2n=Ia`:host{display:block}div{overflow:hidden;position:relative;border-radius:inherit;width:100%;height:100%;background-color:var(--wcm-color-overlay)}svg{position:relative;width:100%;height:100%}div::after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border-radius:inherit;border:1px solid var(--wcm-color-overlay)}div img{width:100%;height:100%;object-fit:cover;object-position:center}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`,eun=Object.defineProperty,tun=Object.getOwnPropertyDescriptor,AV=(t,e,n,a)=>{for(var r=a>1?void 0:a?tun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&eun(e,n,r),r},D_=class extends Tn{constructor(){super(...arguments),this.walletId="",this.imageId=void 0,this.imageUrl=void 0}render(){var t;let e=(t=this.imageUrl)!=null&&t.length?this.imageUrl:Zt.getWalletIcon({id:this.walletId,image_id:this.imageId});return q0`${e.length?q0`
${this.id}
`:tr.WALLET_PLACEHOLDER}`}};D_.styles=[ha.globalCss,Z2n],AV([sn()],D_.prototype,"walletId",2),AV([sn()],D_.prototype,"imageId",2),AV([sn()],D_.prototype,"imageUrl",2),D_=AV([pa("wcm-wallet-image")],D_);nun=Object.defineProperty,aun=Object.getOwnPropertyDescriptor,U20=(t,e,n,a)=>{for(var r=a>1?void 0:a?aun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&nun(e,n,r),r},l8e=class extends Tn{constructor(){super(),this.preload=!0,this.preloadData()}async loadImages(t){try{t!=null&&t.length&&await Promise.all(t.map(async e=>Zt.preloadImage(e)))}catch{console.info("Unsuccessful attempt at preloading some images",t)}}async preloadListings(){if(oc.state.enableExplorer){await cc.getRecomendedWallets(),Df.setIsDataLoaded(!0);let{recomendedWallets:t}=cc.state,e=t.map(n=>Zt.getWalletIcon(n));await this.loadImages(e)}else Df.setIsDataLoaded(!0)}async preloadCustomImages(){let t=Zt.getCustomImageUrls();await this.loadImages(t)}async preloadData(){try{this.preload&&(this.preload=!1,await Promise.all([this.preloadListings(),this.preloadCustomImages()]))}catch(t){console.error(t),Ah.openToast("Failed preloading","error")}}};U20([dc()],l8e.prototype,"preload",2),l8e=U20([pa("wcm-explorer-context")],l8e);run=Object.defineProperty,fun=Object.getOwnPropertyDescriptor,iun=(t,e,n,a)=>{for(var r=a>1?void 0:a?fun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&run(e,n,r),r},H20=class extends Tn{constructor(){super(),this.unsubscribeTheme=void 0,ha.setTheme(),this.unsubscribeTheme=tp.subscribe(ha.setTheme)}disconnectedCallback(){var t;(t=this.unsubscribeTheme)==null||t.call(this)}};H20=iun([pa("wcm-theme-context")],H20);sun=Ia`@keyframes scroll{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(calc(-70px * 9),0,0)}}.wcm-slider{position:relative;overflow-x:hidden;padding:10px 0;margin:0 -20px;width:calc(100% + 40px)}.wcm-track{display:flex;width:calc(70px * 18);animation:scroll 20s linear infinite;opacity:.7}.wcm-track svg{margin:0 5px}wcm-wallet-image{width:60px;height:60px;margin:0 5px;border-radius:var(--wcm-wallet-icon-border-radius)}.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between}.wcm-title{display:flex;align-items:center;margin-bottom:10px}.wcm-title svg{margin-right:6px}.wcm-title path{fill:var(--wcm-accent-color)}wcm-modal-footer .wcm-title{padding:0 10px}wcm-button-big{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);filter:drop-shadow(0 0 17px var(--wcm-color-bg-1))}wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-info-footer wcm-text{text-align:center;margin-bottom:15px}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`,oun=Object.defineProperty,cun=Object.getOwnPropertyDescriptor,dun=(t,e,n,a)=>{for(var r=a>1?void 0:a?cun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&oun(e,n,r),r},u8e=class extends Tn{onGoToQrcode(){vf.push("Qrcode")}render(){let{recomendedWallets:t}=cc.state,e=[...t,...t],n=vt.RECOMMENDED_WALLET_AMOUNT*2;return q0`
${tr.MOBILE_ICON}WalletConnect
${[...Array(n)].map((a,r)=>{let f=e[r%e.length];return f?q0``:tr.WALLET_PLACEHOLDER})}
Select Wallet
Choose WalletConnect to see supported apps on your device`}};u8e.styles=[ha.globalCss,sun],u8e=dun([pa("wcm-android-wallet-selection")],u8e);lun=Ia`@keyframes loading{to{stroke-dashoffset:0}}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(1px,0,0)}30%,50%,70%{transform:translate3d(-2px,0,0)}40%,60%{transform:translate3d(2px,0,0)}}:host{display:flex;flex-direction:column;align-items:center}div{position:relative;width:110px;height:110px;display:flex;justify-content:center;align-items:center;margin:40px 0 20px 0;transform:translate3d(0,0,0)}svg{position:absolute;width:110px;height:110px;fill:none;stroke:transparent;stroke-linecap:round;stroke-width:2px;top:0;left:0}use{stroke:var(--wcm-accent-color);animation:loading 1s linear infinite}wcm-wallet-image{border-radius:var(--wcm-wallet-icon-large-border-radius);width:90px;height:90px}wcm-text{margin-bottom:40px}.wcm-error svg{stroke:var(--wcm-error-color)}.wcm-error use{display:none}.wcm-error{animation:shake .4s cubic-bezier(.36,.07,.19,.97) both}.wcm-stale svg,.wcm-stale use{display:none}`,uun=Object.defineProperty,pun=Object.getOwnPropertyDescriptor,P_=(t,e,n,a)=>{for(var r=a>1?void 0:a?pun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&uun(e,n,r),r},Xm=class extends Tn{constructor(){super(...arguments),this.walletId=void 0,this.imageId=void 0,this.isError=!1,this.isStale=!1,this.label=""}svgLoaderTemplate(){var t,e;let n=(e=(t=tp.state.themeVariables)==null?void 0:t["--wcm-wallet-icon-large-border-radius"])!=null?e:ha.getPreset("--wcm-wallet-icon-large-border-radius"),a=0;n.includes("%")?a=88/100*parseInt(n,10):a=parseInt(n,10),a*=1.17;let r=317-a*1.57,f=425-a*1.8;return q0``}render(){let t={"wcm-error":this.isError,"wcm-stale":this.isStale};return q0`
${this.svgLoaderTemplate()}
${this.isError?"Connection declined":this.label}`}};Xm.styles=[ha.globalCss,lun],P_([sn()],Xm.prototype,"walletId",2),P_([sn()],Xm.prototype,"imageId",2),P_([sn({type:Boolean})],Xm.prototype,"isError",2),P_([sn({type:Boolean})],Xm.prototype,"isStale",2),P_([sn()],Xm.prototype,"label",2),Xm=P_([pa("wcm-connector-waiting")],Xm);N_={manualWallets(){var t,e;let{mobileWallets:n,desktopWallets:a}=oc.state,r=(t=N_.recentWallet())==null?void 0:t.id,f=vt.isMobile()?n:a,i=f?.filter(s=>r!==s.id);return(e=vt.isMobile()?i?.map(({id:s,name:o,links:c})=>({id:s,name:o,mobile:c,links:c})):i?.map(({id:s,name:o,links:c})=>({id:s,name:o,desktop:c,links:c})))!=null?e:[]},recentWallet(){return Zt.getRecentWallet()},recomendedWallets(t=!1){var e;let n=t||(e=N_.recentWallet())==null?void 0:e.id,{recomendedWallets:a}=cc.state;return a.filter(r=>n!==r.id)}},Zm={onConnecting(t){Zt.goToConnectingView(t)},manualWalletsTemplate(){return N_.manualWallets().map(t=>q0``)},recomendedWalletsTemplate(t=!1){return N_.recomendedWallets(t).map(e=>q0``)},recentWalletTemplate(){let t=N_.recentWallet();if(t)return q0``}},hun=Ia`.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between}.wcm-desktop-title,.wcm-mobile-title{display:flex;align-items:center}.wcm-mobile-title{justify-content:space-between;margin-bottom:20px;margin-top:-10px}.wcm-desktop-title{margin-bottom:10px;padding:0 10px}.wcm-subtitle{display:flex;align-items:center}.wcm-subtitle:last-child path{fill:var(--wcm-color-fg-3)}.wcm-desktop-title svg,.wcm-mobile-title svg{margin-right:6px}.wcm-desktop-title path,.wcm-mobile-title path{fill:var(--wcm-accent-color)}`,bun=Object.defineProperty,mun=Object.getOwnPropertyDescriptor,yun=(t,e,n,a)=>{for(var r=a>1?void 0:a?mun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&bun(e,n,r),r},p8e=class extends Tn{render(){let{explorerExcludedWalletIds:t,enableExplorer:e}=oc.state,n=t!=="ALL"&&e,a=Zm.manualWalletsTemplate(),r=Zm.recomendedWalletsTemplate(),f=[Zm.recentWalletTemplate(),...a,...r];f=f.filter(Boolean);let i=f.length>4||n,s=[];i?s=f.slice(0,3):s=f;let o=!!s.length;return q0`
${tr.MOBILE_ICON}Mobile
${tr.SCAN_ICON}Scan with your wallet
${o?q0`
${tr.DESKTOP_ICON}Desktop
${s} ${i?q0``:null}
`:null}`}};p8e.styles=[ha.globalCss,hun],p8e=yun([pa("wcm-desktop-wallet-selection")],p8e);gun=Ia`div{background-color:var(--wcm-color-bg-2);padding:10px 20px 15px 20px;border-top:1px solid var(--wcm-color-bg-3);text-align:center}a{color:var(--wcm-accent-color);text-decoration:none;transition:opacity .2s ease-in-out;display:inline}a:active{opacity:.8}@media(hover:hover){a:hover{opacity:.8}}`,vun=Object.defineProperty,wun=Object.getOwnPropertyDescriptor,Tun=(t,e,n,a)=>{for(var r=a>1?void 0:a?wun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&vun(e,n,r),r},h8e=class extends Tn{render(){let{termsOfServiceUrl:t,privacyPolicyUrl:e}=oc.state;return t??e?q0`
By connecting your wallet to this app, you agree to the app's ${t?q0`Terms of Service`:null} ${t&&e?"and":null} ${e?q0`Privacy Policy`:null}
`:null}};h8e.styles=[ha.globalCss,gun],h8e=Tun([pa("wcm-legal-notice")],h8e);xun=Ia`div{display:grid;grid-template-columns:repeat(4,80px);margin:0 -10px;justify-content:space-between;row-gap:10px}`,Eun=Object.defineProperty,_un=Object.getOwnPropertyDescriptor,Aun=(t,e,n,a)=>{for(var r=a>1?void 0:a?_un(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Eun(e,n,r),r},b8e=class extends Tn{onQrcode(){vf.push("Qrcode")}render(){let{explorerExcludedWalletIds:t,enableExplorer:e}=oc.state,n=t!=="ALL"&&e,a=Zm.manualWalletsTemplate(),r=Zm.recomendedWalletsTemplate(),f=[Zm.recentWalletTemplate(),...a,...r];f=f.filter(Boolean);let i=f.length>8||n,s=[];i?s=f.slice(0,7):s=f;let o=!!s.length;return q0`${o?q0`
${s} ${i?q0``:null}
`:null}`}};b8e.styles=[ha.globalCss,xun],b8e=Aun([pa("wcm-mobile-wallet-selection")],b8e);Cun=Ia`:host{all:initial}.wcm-overlay{top:0;bottom:0;left:0;right:0;position:fixed;z-index:var(--wcm-z-index);overflow:hidden;display:flex;justify-content:center;align-items:center;opacity:0;pointer-events:none;background-color:var(--wcm-overlay-background-color);backdrop-filter:var(--wcm-overlay-backdrop-filter)}@media(max-height:720px) and (orientation:landscape){.wcm-overlay{overflow:scroll;align-items:flex-start;padding:20px 0}}.wcm-active{pointer-events:auto}.wcm-container{position:relative;max-width:360px;width:100%;outline:0;border-radius:var(--wcm-background-border-radius) var(--wcm-background-border-radius) var(--wcm-container-border-radius) var(--wcm-container-border-radius);border:1px solid var(--wcm-color-overlay);overflow:hidden}.wcm-card{width:100%;position:relative;border-radius:var(--wcm-container-border-radius);overflow:hidden;box-shadow:0 6px 14px -6px rgba(10,16,31,.12),0 10px 32px -4px rgba(10,16,31,.1),0 0 0 1px var(--wcm-color-overlay);background-color:var(--wcm-color-bg-1);color:var(--wcm-color-fg-1)}@media(max-width:600px){.wcm-container{max-width:440px;border-radius:var(--wcm-background-border-radius) var(--wcm-background-border-radius) 0 0}.wcm-card{border-radius:var(--wcm-container-border-radius) var(--wcm-container-border-radius) 0 0}.wcm-overlay{align-items:flex-end}}@media(max-width:440px){.wcm-container{border:0}}`,Iun=Object.defineProperty,kun=Object.getOwnPropertyDescriptor,m8e=(t,e,n,a)=>{for(var r=a>1?void 0:a?kun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Iun(e,n,r),r},F_=class extends Tn{constructor(){super(),this.open=!1,this.active=!1,this.unsubscribeModal=void 0,this.abortController=void 0,this.unsubscribeModal=_h.subscribe(t=>{t.open?this.onOpenModalEvent():this.onCloseModalEvent()})}disconnectedCallback(){var t;(t=this.unsubscribeModal)==null||t.call(this)}get overlayEl(){return Zt.getShadowRootElement(this,".wcm-overlay")}get containerEl(){return Zt.getShadowRootElement(this,".wcm-container")}toggleBodyScroll(t){document.querySelector("body")&&(t?document.getElementById("wcm-styles")?.remove():document.head.insertAdjacentHTML("beforeend",''))}onCloseModal(t){t.target===t.currentTarget&&_h.close()}onOpenModalEvent(){this.toggleBodyScroll(!1),this.addKeyboardEvents(),this.open=!0,setTimeout(async()=>{let t=Zt.isMobileAnimation()?{y:["50vh","0vh"]}:{scale:[.98,1]},e=.1,n=.2;await Promise.all([Sh(this.overlayEl,{opacity:[0,1]},{delay:e,duration:n}).finished,Sh(this.containerEl,t,{delay:e,duration:n}).finished]),this.active=!0},0)}async onCloseModalEvent(){this.toggleBodyScroll(!0),this.removeKeyboardEvents();let t=Zt.isMobileAnimation()?{y:["0vh","50vh"]}:{scale:[1,.98]},e=.2;await Promise.all([Sh(this.overlayEl,{opacity:[1,0]},{duration:e}).finished,Sh(this.containerEl,t,{duration:e}).finished]),this.containerEl.removeAttribute("style"),this.active=!1,this.open=!1}addKeyboardEvents(){this.abortController=new AbortController,window.addEventListener("keydown",t=>{var e;t.key==="Escape"?_h.close():t.key==="Tab"&&((e=t.target)!=null&&e.tagName.includes("wcm-")||this.containerEl.focus())},this.abortController),this.containerEl.focus()}removeKeyboardEvents(){var t;(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){let t={"wcm-overlay":!0,"wcm-active":this.active};return q0`
${this.open?q0`
`:null}
`}};F_.styles=[ha.globalCss,Cun],m8e([dc()],F_.prototype,"open",2),m8e([dc()],F_.prototype,"active",2),F_=m8e([pa("wcm-modal")],F_);Sun=Ia`div{display:flex;margin-top:15px}slot{display:inline-block;margin:0 5px}wcm-button{margin:0 5px}`,Run=Object.defineProperty,Mun=Object.getOwnPropertyDescriptor,iD=(t,e,n,a)=>{for(var r=a>1?void 0:a?Mun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Run(e,n,r),r},ug=class extends Tn{constructor(){super(...arguments),this.isMobile=!1,this.isDesktop=!1,this.isWeb=!1,this.isRetry=!1}onMobile(){vt.isMobile()?vf.replace("MobileConnecting"):vf.replace("MobileQrcodeConnecting")}onDesktop(){vf.replace("DesktopConnecting")}onWeb(){vf.replace("WebConnecting")}render(){return q0`
${this.isRetry?q0``:null} ${this.isMobile?q0`Mobile`:null} ${this.isDesktop?q0`Desktop`:null} ${this.isWeb?q0`Web`:null}
`}};ug.styles=[ha.globalCss,Sun],iD([sn({type:Boolean})],ug.prototype,"isMobile",2),iD([sn({type:Boolean})],ug.prototype,"isDesktop",2),iD([sn({type:Boolean})],ug.prototype,"isWeb",2),iD([sn({type:Boolean})],ug.prototype,"isRetry",2),ug=iD([pa("wcm-platform-selection")],ug);Bun=Ia`button{display:flex;flex-direction:column;padding:5px 10px;border-radius:var(--wcm-button-hover-highlight-border-radius);height:100%;justify-content:flex-start}.wcm-icons{width:60px;height:60px;display:flex;flex-wrap:wrap;padding:7px;border-radius:var(--wcm-wallet-icon-border-radius);justify-content:space-between;align-items:center;margin-bottom:5px;background-color:var(--wcm-color-bg-2);box-shadow:inset 0 0 0 1px var(--wcm-color-overlay)}button:active{background-color:var(--wcm-color-overlay)}@media(hover:hover){button:hover{background-color:var(--wcm-color-overlay)}}.wcm-icons img{width:21px;height:21px;object-fit:cover;object-position:center;border-radius:calc(var(--wcm-wallet-icon-border-radius)/ 2);border:1px solid var(--wcm-color-overlay)}.wcm-icons svg{width:21px;height:21px}.wcm-icons img:nth-child(1),.wcm-icons img:nth-child(2),.wcm-icons svg:nth-child(1),.wcm-icons svg:nth-child(2){margin-bottom:4px}wcm-text{width:100%;text-align:center}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`,Dun=Object.defineProperty,Pun=Object.getOwnPropertyDescriptor,Lun=(t,e,n,a)=>{for(var r=a>1?void 0:a?Pun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Dun(e,n,r),r},y8e=class extends Tn{onClick(){vf.push("WalletExplorer")}render(){let{recomendedWallets:t}=cc.state,e=N_.manualWallets(),n=[...t,...e].reverse().slice(0,4);return q0``}};y8e.styles=[ha.globalCss,Bun],y8e=Lun([pa("wcm-view-all-wallets-button")],y8e);Fun=Ia`.wcm-qr-container{width:100%;display:flex;justify-content:center;align-items:center;aspect-ratio:1/1}`,Nun=Object.defineProperty,Oun=Object.getOwnPropertyDescriptor,CV=(t,e,n,a)=>{for(var r=a>1?void 0:a?Oun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Nun(e,n,r),r},L_=class extends Tn{constructor(){super(),this.walletId="",this.imageId="",this.uri="",setTimeout(()=>{let{walletConnectUri:t}=Df.state;this.uri=t},0)}get overlayEl(){return Zt.getShadowRootElement(this,".wcm-qr-container")}render(){return q0`
${this.uri?q0``:q0``}
`}};L_.styles=[ha.globalCss,Fun],CV([sn()],L_.prototype,"walletId",2),CV([sn()],L_.prototype,"imageId",2),CV([dc()],L_.prototype,"uri",2),L_=CV([pa("wcm-walletconnect-qr")],L_);Uun=Object.defineProperty,Hun=Object.getOwnPropertyDescriptor,zun=(t,e,n,a)=>{for(var r=a>1?void 0:a?Hun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Uun(e,n,r),r},g8e=class extends Tn{viewTemplate(){return vt.isAndroid()?q0``:vt.isMobile()?q0``:q0``}render(){return q0`${this.viewTemplate()}`}};g8e.styles=[ha.globalCss],g8e=zun([pa("wcm-connect-wallet-view")],g8e);Wun=Ia`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`,qun=Object.defineProperty,jun=Object.getOwnPropertyDescriptor,z20=(t,e,n,a)=>{for(var r=a>1?void 0:a?jun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&qun(e,n,r),r},IV=class extends Tn{constructor(){super(),this.isError=!1,this.openDesktopApp()}onFormatAndRedirect(t){let{desktop:e,name:n}=vt.getWalletRouterData(),a=e?.native;if(a){let r=vt.formatNativeUrl(a,t,n);vt.openHref(r,"_self")}}openDesktopApp(){let{walletConnectUri:t}=Df.state,e=vt.getWalletRouterData();Zt.setRecentWallet(e),t&&this.onFormatAndRedirect(t)}render(){let{name:t,id:e,image_id:n}=vt.getWalletRouterData(),{isMobile:a,isWeb:r}=Zt.getCachedRouterWalletPlatforms();return q0`${`Connection can continue loading if ${t} is not installed on your device`}Retry`}};IV.styles=[ha.globalCss,Wun],z20([dc()],IV.prototype,"isError",2),IV=z20([pa("wcm-desktop-connecting-view")],IV);Gun=Ia`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}wcm-button{margin-top:15px}`,Kun=Object.defineProperty,Qun=Object.getOwnPropertyDescriptor,Vun=(t,e,n,a)=>{for(var r=a>1?void 0:a?Qun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Kun(e,n,r),r},v8e=class extends Tn{onInstall(t){t&&vt.openHref(t,"_blank")}render(){let{name:t,id:e,image_id:n,homepage:a}=vt.getWalletRouterData();return q0`${`Download ${t} to continue. If multiple browser extensions are installed, disable non ${t} ones and try again`}Download`}};v8e.styles=[ha.globalCss,Gun],v8e=Vun([pa("wcm-install-wallet-view")],v8e);Yun=Ia`wcm-wallet-image{border-radius:var(--wcm-wallet-icon-large-border-radius);width:96px;height:96px;margin-bottom:20px}wcm-info-footer{display:flex;width:100%}.wcm-app-store{justify-content:space-between}.wcm-app-store wcm-wallet-image{margin-right:10px;margin-bottom:0;width:28px;height:28px;border-radius:var(--wcm-wallet-icon-small-border-radius)}.wcm-app-store div{display:flex;align-items:center}.wcm-app-store wcm-button{margin-right:-10px}.wcm-note{flex-direction:column;align-items:center;padding:5px 0}.wcm-note wcm-text{text-align:center}wcm-platform-selection{margin-top:-15px}.wcm-note wcm-text{margin-top:15px}.wcm-note wcm-text span{color:var(--wcm-accent-color)}`,$un=Object.defineProperty,Jun=Object.getOwnPropertyDescriptor,W20=(t,e,n,a)=>{for(var r=a>1?void 0:a?Jun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&$un(e,n,r),r},kV=class extends Tn{constructor(){super(),this.isError=!1,this.openMobileApp()}onFormatAndRedirect(t,e=!1){let{mobile:n,name:a}=vt.getWalletRouterData(),r=n?.native,f=n?.universal;if(r&&!e){let i=vt.formatNativeUrl(r,t,a);vt.openHref(i,"_self")}else if(f){let i=vt.formatUniversalUrl(f,t,a);vt.openHref(i,"_self")}}openMobileApp(t=!1){let{walletConnectUri:e}=Df.state,n=vt.getWalletRouterData();Zt.setRecentWallet(n),e&&this.onFormatAndRedirect(e,t)}onGoToAppStore(t){t&&vt.openHref(t,"_blank")}render(){let{name:t,id:e,image_id:n,app:a,mobile:r}=vt.getWalletRouterData(),{isWeb:f}=Zt.getCachedRouterWalletPlatforms(),i=a?.ios,s=r?.universal;return q0`Retry${s?q0`Still doesn't work? Try this alternate link`:null}
${`Get ${t}`}
App Store
`}};kV.styles=[ha.globalCss,Yun],W20([dc()],kV.prototype,"isError",2),kV=W20([pa("wcm-mobile-connecting-view")],kV);Xun=Ia`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`,Zun=Object.defineProperty,epn=Object.getOwnPropertyDescriptor,tpn=(t,e,n,a)=>{for(var r=a>1?void 0:a?epn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Zun(e,n,r),r},w8e=class extends Tn{render(){let{name:t,id:e,image_id:n}=vt.getWalletRouterData(),{isDesktop:a,isWeb:r}=Zt.getCachedRouterWalletPlatforms();return q0`${`Scan this QR Code with your phone's camera or inside ${t} app`}`}};w8e.styles=[ha.globalCss,Xun],w8e=tpn([pa("wcm-mobile-qr-connecting-view")],w8e);npn=Object.defineProperty,apn=Object.getOwnPropertyDescriptor,rpn=(t,e,n,a)=>{for(var r=a>1?void 0:a?apn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&npn(e,n,r),r},T8e=class extends Tn{render(){return q0``}};T8e.styles=[ha.globalCss],T8e=rpn([pa("wcm-qrcode-view")],T8e);fpn=Ia`wcm-modal-content{height:clamp(200px,60vh,600px);display:block;overflow:scroll;scrollbar-width:none;position:relative;margin-top:1px}.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between;margin:-15px -10px;padding-top:20px}wcm-modal-content::after,wcm-modal-content::before{content:'';position:fixed;pointer-events:none;z-index:1;width:100%;height:20px;opacity:1}wcm-modal-content::before{box-shadow:0 -1px 0 0 var(--wcm-color-bg-1);background:linear-gradient(var(--wcm-color-bg-1),rgba(255,255,255,0))}wcm-modal-content::after{box-shadow:0 1px 0 0 var(--wcm-color-bg-1);background:linear-gradient(rgba(255,255,255,0),var(--wcm-color-bg-1));top:calc(100% - 20px)}wcm-modal-content::-webkit-scrollbar{display:none}.wcm-placeholder-block{display:flex;justify-content:center;align-items:center;height:100px;overflow:hidden}.wcm-empty,.wcm-loading{display:flex}.wcm-loading .wcm-placeholder-block{height:100%}.wcm-end-reached .wcm-placeholder-block{height:0;opacity:0}.wcm-empty .wcm-placeholder-block{opacity:1;height:100%}wcm-wallet-button{margin:calc((100% - 60px)/ 3) 0}`,ipn=Object.defineProperty,spn=Object.getOwnPropertyDescriptor,sD=(t,e,n,a)=>{for(var r=a>1?void 0:a?spn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&ipn(e,n,r),r},x8e=40,pg=class extends Tn{constructor(){super(...arguments),this.loading=!cc.state.wallets.listings.length,this.firstFetch=!cc.state.wallets.listings.length,this.search="",this.endReached=!1,this.intersectionObserver=void 0,this.searchDebounce=Zt.debounce(t=>{t.length>=1?(this.firstFetch=!0,this.endReached=!1,this.search=t,cc.resetSearch(),this.fetchWallets()):this.search&&(this.search="",this.endReached=this.isLastPage(),cc.resetSearch())})}firstUpdated(){this.createPaginationObserver()}disconnectedCallback(){var t;(t=this.intersectionObserver)==null||t.disconnect()}get placeholderEl(){return Zt.getShadowRootElement(this,".wcm-placeholder-block")}createPaginationObserver(){this.intersectionObserver=new IntersectionObserver(([t])=>{t.isIntersecting&&!(this.search&&this.firstFetch)&&this.fetchWallets()}),this.intersectionObserver.observe(this.placeholderEl)}isLastPage(){let{wallets:t,search:e}=cc.state,{listings:n,total:a}=this.search?e:t;return a<=x8e||n.length>=a}async fetchWallets(){var t;let{wallets:e,search:n}=cc.state,{listings:a,total:r,page:f}=this.search?n:e;if(!this.endReached&&(this.firstFetch||r>x8e&&a.lengthZt.getWalletIcon(c));await Promise.all([...o.map(async c=>Zt.preloadImage(c)),vt.wait(300)]),this.endReached=this.isLastPage()}catch(i){console.error(i),Ah.openToast(Zt.getErrorMessage(i),"error")}finally{this.loading=!1,this.firstFetch=!1}}onConnect(t){vt.isAndroid()?Zt.handleMobileLinking(t):Zt.goToConnectingView(t)}onSearchChange(t){let{value:e}=t.target;this.searchDebounce(e)}render(){let{wallets:t,search:e}=cc.state,{listings:n}=this.search?e:t,a=this.loading&&!n.length,r=this.search.length>=3,f=Zm.manualWalletsTemplate(),i=Zm.recomendedWalletsTemplate(!0);r&&(f=f.filter(({values:c})=>Zt.caseSafeIncludes(c[0],this.search)),i=i.filter(({values:c})=>Zt.caseSafeIncludes(c[0],this.search)));let s=!this.loading&&!n.length&&!i.length,o={"wcm-loading":a,"wcm-end-reached":this.endReached||!this.loading,"wcm-empty":s};return q0`
${a?null:f} ${a?null:i} ${a?null:n.map(c=>q0`${c?q0``:null}`)}
${s?q0`No results found`:null} ${!s&&this.loading?q0``:null}
`}};pg.styles=[ha.globalCss,fpn],sD([dc()],pg.prototype,"loading",2),sD([dc()],pg.prototype,"firstFetch",2),sD([dc()],pg.prototype,"search",2),sD([dc()],pg.prototype,"endReached",2),pg=sD([pa("wcm-wallet-explorer-view")],pg);opn=Ia`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`,cpn=Object.defineProperty,dpn=Object.getOwnPropertyDescriptor,q20=(t,e,n,a)=>{for(var r=a>1?void 0:a?dpn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&cpn(e,n,r),r},SV=class extends Tn{constructor(){super(),this.isError=!1,this.openWebWallet()}onFormatAndRedirect(t){let{desktop:e,name:n}=vt.getWalletRouterData(),a=e?.universal;if(a){let r=vt.formatUniversalUrl(a,t,n);vt.openHref(r,"_blank")}}openWebWallet(){let{walletConnectUri:t}=Df.state,e=vt.getWalletRouterData();Zt.setRecentWallet(e),t&&this.onFormatAndRedirect(t)}render(){let{name:t,id:e,image_id:n}=vt.getWalletRouterData(),{isMobile:a,isDesktop:r}=Zt.getCachedRouterWalletPlatforms(),f=vt.isMobile();return q0`${`${t} web app has opened in a new tab. Go there, accept the connection, and come back`}Retry`}};SV.styles=[ha.globalCss,opn],q20([dc()],SV.prototype,"isError",2),SV=q20([pa("wcm-web-connecting-view")],SV)});var Q20={};V0(Q20,{WalletConnectModal:()=>E8e});var E8e,V20=ce(()=>{u();p();Uue();E8e=class{constructor(e){this.openModal=_h.open,this.closeModal=_h.close,this.subscribeModal=_h.subscribe,this.setTheme=tp.setThemeConfig,tp.setThemeConfig(e),oc.setConfig(e),this.initUi()}async initUi(){if(typeof window<"u"){await Promise.resolve().then(()=>(K20(),G20));let e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),Df.setIsUiLoaded(!0)}}}});var eu0={};V0(eu0,{EthereumProvider:()=>Tpn,OPTIONAL_EVENTS:()=>Z20,OPTIONAL_METHODS:()=>X20,REQUIRED_EVENTS:()=>BV,REQUIRED_METHODS:()=>MV,default:()=>PV});function DV(t){return Number(t[0].split(":")[1])}function RV(t){return`0x${t.toString(16)}`}function wpn(t){let{chains:e,optionalChains:n,methods:a,optionalMethods:r,events:f,optionalEvents:i,rpcMap:s}=t;if(!U6(e))throw new Error("Invalid chains");let o={chains:e,methods:a||MV,events:f||BV,rpcMap:O_({},e.length?{[DV(e)]:s[DV(e)]}:{})},c=f?.filter(y=>!BV.includes(y)),d=a?.filter(y=>!MV.includes(y));if(!n&&!i&&!r&&!(c!=null&&c.length)&&!(d!=null&&d.length))return{required:e.length?o:void 0};let l=c?.length&&d?.length||!n,h={chains:[...new Set(l?o.chains.concat(n||[]):n)],methods:[...new Set(o.methods.concat(r!=null&&r.length?r:X20))],events:[...new Set(o.events.concat(i!=null&&i.length?i:Z20))],rpcMap:s};return{required:e.length?o:void 0,optional:n.length?h:void 0}}var J20,lpn,upn,ppn,hpn,MV,X20,BV,Z20,bpn,mpn,ypn,Y20,gpn,vpn,$20,O_,_8e,PV,Tpn,tu0=ce(()=>{u();p();J20=Ee(Nr());_B();g50();lpn="wc",upn="ethereum_provider",ppn=`${lpn}@2:${upn}:`,hpn="https://rpc.walletconnect.com/v1/",MV=["eth_sendTransaction","personal_sign"],X20=["eth_accounts","eth_requestAccounts","eth_sendRawTransaction","eth_sign","eth_signTransaction","eth_signTypedData","eth_signTypedData_v3","eth_signTypedData_v4","eth_sendTransaction","personal_sign","wallet_switchEthereumChain","wallet_addEthereumChain","wallet_getPermissions","wallet_requestPermissions","wallet_registerOnboarding","wallet_watchAsset","wallet_scanQRCode"],BV=["chainChanged","accountsChanged"],Z20=["chainChanged","accountsChanged","message","disconnect","connect"],bpn=Object.defineProperty,mpn=Object.defineProperties,ypn=Object.getOwnPropertyDescriptors,Y20=Object.getOwnPropertySymbols,gpn=Object.prototype.hasOwnProperty,vpn=Object.prototype.propertyIsEnumerable,$20=(t,e,n)=>e in t?bpn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,O_=(t,e)=>{for(var n in e||(e={}))gpn.call(e,n)&&$20(t,n,e[n]);if(Y20)for(var n of Y20(e))vpn.call(e,n)&&$20(t,n,e[n]);return t},_8e=(t,e)=>mpn(t,ypn(e));PV=class t{constructor(){this.events=new J20.EventEmitter,this.namespace="eip155",this.accounts=[],this.chainId=1,this.STORAGE_KEY=ppn,this.on=(e,n)=>(this.events.on(e,n),this),this.once=(e,n)=>(this.events.once(e,n),this),this.removeListener=(e,n)=>(this.events.removeListener(e,n),this),this.off=(e,n)=>(this.events.off(e,n),this),this.parseAccount=e=>this.isCompatibleChainId(e)?this.parseAccountId(e).address:e,this.signer={},this.rpc={}}static async init(e){let n=new t;return await n.initialize(e),n}async request(e,n){return await this.signer.request(e,this.formatChainId(this.chainId),n)}sendAsync(e,n,a){this.signer.sendAsync(e,n,this.formatChainId(this.chainId),a)}get connected(){return this.signer.client?this.signer.client.core.relayer.connected:!1}get connecting(){return this.signer.client?this.signer.client.core.relayer.connecting:!1}async enable(){return this.session||await this.connect(),await this.request({method:"eth_requestAccounts"})}async connect(e){if(!this.signer.client)throw new Error("Provider not initialized. Call init() first");this.loadConnectOpts(e);let{required:n,optional:a}=wpn(this.rpc);try{let r=await new Promise(async(i,s)=>{var o;this.rpc.showQrModal&&((o=this.modal)==null||o.subscribeModal(c=>{!c.open&&!this.signer.session&&(this.signer.abortPairingAttempt(),s(new Error("Connection request reset. Please try again.")))})),await this.signer.connect(_8e(O_({namespaces:O_({},n&&{[this.namespace]:n})},a&&{optionalNamespaces:{[this.namespace]:a}}),{pairingTopic:e?.pairingTopic})).then(c=>{i(c)}).catch(c=>{s(new Error(c.message))})});if(!r)return;let f=Yle(r.namespaces,[this.namespace]);this.setChainIds(this.rpc.chains.length?this.rpc.chains:f),this.setAccounts(f),this.events.emit("connect",{chainId:RV(this.chainId)})}catch(r){throw this.signer.logger.error(r),r}finally{this.modal&&this.modal.closeModal()}}async authenticate(e){if(!this.signer.client)throw new Error("Provider not initialized. Call init() first");this.loadConnectOpts({chains:e?.chains});try{let n=await new Promise(async(r,f)=>{var i;this.rpc.showQrModal&&((i=this.modal)==null||i.subscribeModal(s=>{!s.open&&!this.signer.session&&(this.signer.abortPairingAttempt(),f(new Error("Connection request reset. Please try again.")))})),await this.signer.authenticate(_8e(O_({},e),{chains:this.rpc.chains})).then(s=>{r(s)}).catch(s=>{f(new Error(s.message))})}),a=n.session;if(a){let r=Yle(a.namespaces,[this.namespace]);this.setChainIds(this.rpc.chains.length?this.rpc.chains:r),this.setAccounts(r),this.events.emit("connect",{chainId:RV(this.chainId)})}return n}catch(n){throw this.signer.logger.error(n),n}finally{this.modal&&this.modal.closeModal()}}async disconnect(){this.session&&await this.signer.disconnect(),this.reset()}get isWalletConnect(){return!0}get session(){return this.signer.session}registerEventListeners(){this.signer.on("session_event",e=>{let{params:n}=e,{event:a}=n;a.name==="accountsChanged"?(this.accounts=this.parseAccounts(a.data),this.events.emit("accountsChanged",this.accounts)):a.name==="chainChanged"?this.setChainId(this.formatChainId(a.data)):this.events.emit(a.name,a.data),this.events.emit("session_event",e)}),this.signer.on("chainChanged",e=>{let n=parseInt(e);this.chainId=n,this.events.emit("chainChanged",RV(this.chainId)),this.persist()}),this.signer.on("session_update",e=>{this.events.emit("session_update",e)}),this.signer.on("session_delete",e=>{this.reset(),this.events.emit("session_delete",e),this.events.emit("disconnect",_8e(O_({},Ca("USER_DISCONNECTED")),{data:e.topic,name:"USER_DISCONNECTED"}))}),this.signer.on("display_uri",e=>{var n,a;this.rpc.showQrModal&&((n=this.modal)==null||n.closeModal(),(a=this.modal)==null||a.openModal({uri:e})),this.events.emit("display_uri",e)})}switchEthereumChain(e){this.request({method:"wallet_switchEthereumChain",params:[{chainId:e.toString(16)}]})}isCompatibleChainId(e){return typeof e=="string"?e.startsWith(`${this.namespace}:`):!1}formatChainId(e){return`${this.namespace}:${e}`}parseChainId(e){return Number(e.split(":")[1])}setChainIds(e){let n=e.filter(a=>this.isCompatibleChainId(a)).map(a=>this.parseChainId(a));n.length&&(this.chainId=n[0],this.events.emit("chainChanged",RV(this.chainId)),this.persist())}setChainId(e){if(this.isCompatibleChainId(e)){let n=this.parseChainId(e);this.chainId=n,this.switchEthereumChain(n)}}parseAccountId(e){let[n,a,r]=e.split(":");return{chainId:`${n}:${a}`,address:r}}setAccounts(e){this.accounts=e.filter(n=>this.parseChainId(this.parseAccountId(n).chainId)===this.chainId).map(n=>this.parseAccountId(n).address),this.events.emit("accountsChanged",this.accounts)}getRpcConfig(e){var n,a;let r=(n=e?.chains)!=null?n:[],f=(a=e?.optionalChains)!=null?a:[],i=r.concat(f);if(!i.length)throw new Error("No chains specified in either `chains` or `optionalChains`");let s=r.length?e?.methods||MV:[],o=r.length?e?.events||BV:[],c=e?.optionalMethods||[],d=e?.optionalEvents||[],l=e?.rpcMap||this.buildRpcMap(i,e.projectId),h=e?.qrModalOptions||void 0;return{chains:r?.map(y=>this.formatChainId(y)),optionalChains:f.map(y=>this.formatChainId(y)),methods:s,events:o,optionalMethods:c,optionalEvents:d,rpcMap:l,showQrModal:!!(e!=null&&e.showQrModal),qrModalOptions:h,projectId:e.projectId,metadata:e.metadata}}buildRpcMap(e,n){let a={};return e.forEach(r=>{a[r]=this.getRpcUrl(r,n)}),a}async initialize(e){if(this.rpc=this.getRpcConfig(e),this.chainId=this.rpc.chains.length?DV(this.rpc.chains):DV(this.rpc.optionalChains),this.signer=await y50.init({projectId:this.rpc.projectId,metadata:this.rpc.metadata,disableProviderPing:e.disableProviderPing,relayUrl:e.relayUrl,storageOptions:e.storageOptions}),this.registerEventListeners(),await this.loadPersistedSession(),this.rpc.showQrModal){let n;try{let{WalletConnectModal:a}=await Promise.resolve().then(()=>(V20(),Q20));n=a}catch{throw new Error("To use QR modal, please install @walletconnect/modal package")}if(n)try{this.modal=new n(O_({projectId:this.rpc.projectId},this.rpc.qrModalOptions))}catch(a){throw this.signer.logger.error(a),new Error("Could not generate WalletConnectModal Instance")}}}loadConnectOpts(e){if(!e)return;let{chains:n,optionalChains:a,rpcMap:r}=e;n&&U6(n)&&(this.rpc.chains=n.map(f=>this.formatChainId(f)),n.forEach(f=>{this.rpc.rpcMap[f]=r?.[f]||this.getRpcUrl(f)})),a&&U6(a)&&(this.rpc.optionalChains=[],this.rpc.optionalChains=a?.map(f=>this.formatChainId(f)),a.forEach(f=>{this.rpc.rpcMap[f]=r?.[f]||this.getRpcUrl(f)}))}getRpcUrl(e,n){var a;return((a=this.rpc.rpcMap)==null?void 0:a[e])||`${hpn}?chainId=eip155:${e}&projectId=${n||this.rpc.projectId}`}async loadPersistedSession(){if(this.session)try{let e=await this.signer.client.core.storage.getItem(`${this.STORAGE_KEY}/chainId`),n=this.session.namespaces[`${this.namespace}:${e}`]?this.session.namespaces[`${this.namespace}:${e}`]:this.session.namespaces[this.namespace];this.setChainIds(e?[this.formatChainId(e)]:n?.accounts),this.setAccounts(n?.accounts)}catch(e){this.signer.logger.error("Failed to load persisted session, clearing state..."),this.signer.logger.error(e),await this.disconnect().catch(n=>this.signer.logger.warn(n))}}reset(){this.chainId=1,this.accounts=[]}persist(){this.session&&this.signer.client.core.storage.setItem(`${this.STORAGE_KEY}/chainId`,this.chainId)}parseAccounts(e){return typeof e=="string"||e instanceof String?[this.parseAccount(e)]:e.map(n=>this.parseAccount(n))}},Tpn=PV});var W6={};V0(W6,{WalletConnectConnector:()=>I8e});var Dh,xpn,nu0,au0,A8e,C8e,I8e,q6=ce(()=>{"use strict";u();p();kt();po();Dh=Ee(Xe());wn();_m();D9();W0();xpn=new Set([1,137,10,42161,56]),nu0="eip155",au0="wagmi.requestedChains",A8e="wallet_addEthereumChain",C8e="last-used-chain-id",I8e=class extends Jc{constructor(e){super({...e,options:{isNewChainsStale:!0,...e.options}}),Pe(this,"id",U0.walletConnect),Pe(this,"name","WalletConnect"),Pe(this,"ready",!0),Pe(this,"onAccountsChanged",n=>{n.length===0?this.emit("disconnect"):n[0]&&this.emit("change",{account:Dh.utils.getAddress(n[0])})}),Pe(this,"onChainChanged",async n=>{let a=Number(n),r=this.isChainUnsupported(a);await this._storage.setItem(C8e,String(n)),this.emit("change",{chain:{id:a,unsupported:r}})}),Pe(this,"onDisconnect",async()=>{await this._setRequestedChainsIds([]),await this._storage.removeItem(C8e),this.emit("disconnect")}),Pe(this,"onDisplayUri",n=>{this.emit("message",{type:"display_uri",data:n})}),Pe(this,"onConnect",()=>{this.emit("connect",{provider:this._provider})}),this._storage=e.options.storage,this._createProvider(),this.filteredChains=this.chains.length>50?this.chains.filter(n=>xpn.has(n.chainId)):this.chains,this.showWalletConnectModal=this.options.qrcode!==!1}async connect(){let{chainId:e,pairingTopic:n}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let a=e;if(!a){let c=await this._storage.getItem(C8e),d=c?parseInt(c):void 0;d&&!this.isChainUnsupported(d)?a=d:a=this.filteredChains[0]?.chainId}if(!a)throw new Error("No chains found on connector.");let r=await this.getProvider();if(this.setupListeners(),r.session){await r.disconnect();let c=this.filteredChains.filter(d=>d.chainId!==a).map(d=>d.chainId);this.emit("message",{type:"connecting"}),await r.connect({pairingTopic:n,chains:[a],optionalChains:c.length>0?c:[a]}),await this._setRequestedChainsIds(this.filteredChains.map(d=>{let{chainId:l}=d;return l}))}let f=await r.enable();if(!f[0])throw new Error("No accounts found on provider.");let i=Dh.utils.getAddress(f[0]),s=await this.getChainId(),o=this.isChainUnsupported(s);return{account:i,chain:{id:s,unsupported:o},provider:new Dh.providers.Web3Provider(r)}}catch(a){throw/user rejected/i.test(a?.message)?new _t(a):a}}async disconnect(){let e=()=>{if(!(typeof localStorage>"u"))for(let r in localStorage)r.startsWith("wc@2")&&localStorage.removeItem(r)};e();let n=await this.getProvider();(async()=>{try{await n.disconnect()}catch(r){if(!/No matching key/i.test(r.message))throw r}finally{this._removeListeners(),await this._setRequestedChainsIds([]),e()}})()}async getAccount(){let{accounts:e}=await this.getProvider();if(!e[0])throw new Error("No accounts found on provider.");return Dh.utils.getAddress(e[0])}async getChainId(){let{chainId:e}=await this.getProvider();return e}async getProvider(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this._provider||await this._createProvider(),e&&await this.switchChain(e),!this._provider)throw new Error("No provider found.");return this._provider}async getSigner(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[n,a]=await Promise.all([this.getProvider({chainId:e}),this.getAccount()]);return new Dh.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){try{let[e,n]=await Promise.all([this.getAccount(),this.getProvider()]),a=await this._isChainsStale();if(!e)return!1;if(a&&n.session){try{await n.disconnect()}catch{}return!1}return!0}catch{return!1}}async switchChain(e){let n=this.chains.find(a=>a.chainId===e);if(!n)throw new rc(`Chain with ID: ${e}, not found on connector.`);try{let a=await this.getProvider(),r=this._getNamespaceChainsIds(),f=this._getNamespaceMethods();if(!r.includes(e)&&f.includes(A8e)){let s=n.explorers&&n.explorers[0],o=s?{blockExplorerUrls:[s.url]}:{};await a.request({method:A8e,params:[{chainId:Dh.utils.hexValue(n.chainId),chainName:n.name,nativeCurrency:n.nativeCurrency,rpcUrls:Pu(n),...o}]});let c=await this._getRequestedChainsIds();c.push(e),await this._setRequestedChainsIds(c)}return await a.request({method:"wallet_switchEthereumChain",params:[{chainId:Dh.utils.hexValue(e)}]}),n}catch(a){let r=typeof a=="string"?a:a?.message;throw/user rejected request/i.test(r)?new _t(a):new rc(a)}}async _createProvider(){return this._initProviderPromise||(this._initProviderPromise=this.initProvider()),this._initProviderPromise}async initProvider(){let{default:e,OPTIONAL_EVENTS:n,OPTIONAL_METHODS:a}=await Promise.resolve().then(()=>(tu0(),eu0)),[r,...f]=this.filteredChains.map(i=>{let{chainId:s}=i;return s});r&&(this._provider=await e.init({showQrModal:this.showWalletConnectModal,projectId:this.options.projectId,optionalMethods:a,optionalEvents:n,chains:[r],optionalChains:f,metadata:{name:this.options.dappMetadata.name,description:this.options.dappMetadata.description||"",url:this.options.dappMetadata.url,icons:[this.options.dappMetadata.logoUrl||""]},rpcMap:Object.fromEntries(this.filteredChains.map(i=>[i.chainId,i.rpc[0]||""])),qrModalOptions:this.options.qrModalOptions}))}async _isChainsStale(){if(this._getNamespaceMethods().includes(A8e)||!this.options.isNewChainsStale)return!1;let n=await this._getRequestedChainsIds(),a=this.filteredChains.map(f=>{let{chainId:i}=f;return i}),r=this._getNamespaceChainsIds();return r.length&&!r.some(f=>a.includes(f))?!1:!a.every(f=>n.includes(f))}async setupListeners(){this._provider&&(this._removeListeners(),this._provider.on("accountsChanged",this.onAccountsChanged),this._provider.on("chainChanged",this.onChainChanged),this._provider.on("disconnect",this.onDisconnect),this._provider.on("session_delete",this.onDisconnect),this._provider.on("display_uri",this.onDisplayUri),this._provider.on("connect",this.onConnect))}_removeListeners(){this._provider&&(this._provider.removeListener("accountsChanged",this.onAccountsChanged),this._provider.removeListener("chainChanged",this.onChainChanged),this._provider.removeListener("disconnect",this.onDisconnect),this._provider.removeListener("session_delete",this.onDisconnect),this._provider.removeListener("display_uri",this.onDisplayUri),this._provider.removeListener("connect",this.onConnect))}async _setRequestedChainsIds(e){await this._storage.setItem(au0,JSON.stringify(e))}async _getRequestedChainsIds(){let e=await this._storage.getItem(au0);return e?JSON.parse(e):[]}_getNamespaceChainsIds(){return this._provider?this._provider.session?.namespaces[nu0]?.chains?.map(n=>parseInt(n.split(":")[1]||""))??[]:[]}_getNamespaceMethods(){return this._provider?this._provider.session?.namespaces[nu0]?.methods??[]:[]}}});function LV(){if(globalThis.window&&globalThis.window.xfi&&globalThis.window.xfi.ethereum)return globalThis.window.xfi.ethereum}var k8e=ce(()=>{"use strict";u();p()});function FV(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.okxwallet)return window.okxwallet}var S8e=ce(()=>{"use strict";u();p();u1()});var fu0={};V0(fu0,{OKXConnector:()=>R8e});var ru0,R8e,iu0=ce(()=>{"use strict";u();p();kt();po();wn();p1();ru0=Ee(Xe());S8e();W0();R8e=class extends Ga{constructor(e){let a={...{name:"OKX",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:FV},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.okx)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=ru0.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}async switchAccount(){await(await this.getProvider()).request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}}});function OV(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.avalanche)return window.avalanche}var M8e=ce(()=>{"use strict";u();p();u1()});var ou0={};V0(ou0,{CoreWalletConnector:()=>B8e});var su0,B8e,cu0=ce(()=>{"use strict";u();p();kt();po();wn();p1();su0=Ee(Xe());M8e();W0();B8e=class extends Ga{constructor(e){let a={...{name:"Core Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:OV},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.coreWallet)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=su0.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}async switchAccount(){await(await this.getProvider()).request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}}});function HV(){if(Za(globalThis.window)&&globalThis.window.$onekey&&globalThis.window.$onekey.ethereum)return globalThis.window.$onekey.ethereum}var D8e=ce(()=>{"use strict";u();p();u1()});var lu0={};V0(lu0,{OneKeyConnector:()=>P8e});var du0,P8e,uu0=ce(()=>{"use strict";u();p();kt();po();wn();p1();du0=Ee(Xe());D8e();W0();P8e=class extends Ga{constructor(e){let a={...{name:"OneKey Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:HV},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.oneKey)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=du0.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}}});function WV(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.deficonnectProvider)return window.deficonnectProvider}var L8e=ce(()=>{"use strict";u();p();u1()});var hu0={};V0(hu0,{CryptoDefiWalletConnector:()=>F8e});var pu0,F8e,bu0=ce(()=>{"use strict";u();p();kt();po();wn();p1();pu0=Ee(Xe());L8e();W0();F8e=class extends Ga{constructor(e){let a={...{name:"Crypto Defi Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:WV},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.cryptoDefiWallet)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=pu0.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}}});function jV(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.rabby)return window.rabby}var N8e=ce(()=>{"use strict";u();p();u1()});var yu0={};V0(yu0,{RabbyConnector:()=>O8e});var mu0,O8e,gu0=ce(()=>{"use strict";u();p();kt();po();wn();p1();mu0=Ee(Xe());N8e();W0();O8e=class extends Ga{constructor(e){let a={...{name:"Rabby Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:jV},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.rabby)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=mu0.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}}});function KV(){if(Za(globalThis.window)&&window.coin98)return window.ethereum}var U8e=ce(()=>{"use strict";u();p();u1()});var wu0={};V0(wu0,{Coin98Connector:()=>H8e});var vu0,H8e,Tu0=ce(()=>{"use strict";u();p();kt();po();wn();p1();vu0=Ee(Xe());U8e();W0();H8e=class extends Ga{constructor(e){let a={...{name:"Coin98 Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:KV},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.coin98)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=vu0.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}}});function VV(){if(globalThis.window&&globalThis.window.magicEden&&globalThis.window.magicEden.ethereum)return globalThis.window.magicEden.ethereum}var z8e=ce(()=>{"use strict";u();p()});function YV(){let t=window.phantom?.ethereum;if(t?.isPhantom)return t}var W8e=ce(()=>{"use strict";u();p()});function $V(){function t(e){if(e?.isRainbow&&!(e.isBraveWallet&&!e._events&&!e._state)&&!e.isPhantom&&!e.isAvalanche&&!e.isBitKeep&&!e.isMathWallet&&!e.isZerion&&!e.isKuCoinWallet&&!e.isPortal&&!e.isTokenPocket&&!e.isTokenary)return e}if(Za(globalThis.window))return globalThis.window.ethereum?.providers?globalThis.window.ethereum.providers.find(t):t(globalThis.window.ethereum)}var q8e=ce(()=>{"use strict";u();p();u1()});var Pu0={};V0(Pu0,{AUTH_TOKEN_LOCAL_STORAGE_NAME:()=>ZV,AuthProvider:()=>Iu0,DEVICE_SHARE_LOCAL_STORAGE_NAME:()=>eY,DEVICE_SHARE_LOCAL_STORAGE_NAME_DEPRECATED:()=>Rpn,PaperEmbeddedWalletSdk:()=>Hpn,RecoveryShareManagement:()=>oD,UserStatus:()=>U_,UserWalletStatus:()=>ku0,WALLET_USER_DETAILS_LOCAL_STORAGE_NAME:()=>kpn,WALLET_USER_ID_LOCAL_STORAGE_NAME:()=>XV});function JV(t){return new Promise(e=>{setTimeout(e,t*1e3)})}function Ppn({clientId:t,path:e,queryParams:n}){var a;let r=new URL(e,Ou());if(n)for(let f of Object.keys(n))r.searchParams.set(f,((a=n[f])==null?void 0:a.toString())||"");return r.searchParams.set("clientId",t),r}var Ru0,Mu0,Bu0,Epn,_pn,Apn,xu0,Cpn,Ipn,Eu0,e4,tY,xt,nY,MGa,kpn,XV,Spn,ZV,Cu0,eY,Rpn,oD,Iu0,U_,ku0,_u0,G8e,Mpn,j8e,Bpn,Dpn,Lpn,Su0,Fpn,Npn,Opn,Au0,Du0,Upn,Hpn,K8e=ce(()=>{u();p();JE();JE();JE();Ru0=Ee(ez(),1);JE();Mu0=Ee(r8(),1),Bu0=Ee(Ba(),1),Epn=Object.defineProperty,_pn=Object.defineProperties,Apn=Object.getOwnPropertyDescriptors,xu0=Object.getOwnPropertySymbols,Cpn=Object.prototype.hasOwnProperty,Ipn=Object.prototype.propertyIsEnumerable,Eu0=(t,e,n)=>e in t?Epn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,e4=(t,e)=>{for(var n in e||(e={}))Cpn.call(e,n)&&Eu0(t,n,e[n]);if(xu0)for(var n of xu0(e))Ipn.call(e,n)&&Eu0(t,n,e[n]);return t},tY=(t,e)=>_pn(t,Apn(e)),xt=(t,e,n)=>new Promise((a,r)=>{var f=o=>{try{s(n.next(o))}catch(c){r(c)}},i=o=>{try{s(n.throw(o))}catch(c){r(c)}},s=o=>o.done?a(o.value):Promise.resolve(o.value).then(f,i);s((n=n.apply(t,e)).next())}),nY="/sdk/2022-08-12/embedded-wallet",MGa=`${nY}/auth/headless-google-login-managed`,kpn=t=>`paperEwsWalletUserDetails-${t}`,XV=t=>`paperEwsWalletUserId-${t}`,Spn="walletToken",ZV=t=>`${Spn}-${t}`,Cu0="a",eY=(t,e)=>`${Cu0}-${t}-${e}`,Rpn=t=>`${Cu0}-${t}`,oD=(t=>(t.USER_MANAGED="USER_MANAGED",t.AWS_MANAGED="AWS_MANAGED",t))(oD||{}),Iu0=(t=>(t.PAPER_EMAIL_OTP="PaperEmailOTP",t.GOOGLE="Google",t.TWITTER="Twitter",t.COGNITO="Cognito",t.AUTH0="Auth0",t.CUSTOM_JWT="CustomJWT",t))(Iu0||{}),U_=(t=>(t.LOGGED_OUT="Logged Out",t.LOGGED_IN_WALLET_INITIALIZED="Logged In, Wallet Initialized",t))(U_||{}),ku0=(t=>(t.LOGGED_OUT="Logged Out",t.LOGGED_IN_WALLET_UNINITIALIZED="Logged In, Wallet Uninitialized",t.LOGGED_IN_NEW_DEVICE="Logged In, New Device",t.LOGGED_IN_WALLET_INITIALIZED="Logged In, Wallet Initialized",t))(ku0||{}),_u0=new Map,G8e=class{constructor({clientId:t}){this.isSupported=typeof window<"u"&&!!window.localStorage,this.clientId=t}getItem(t){return xt(this,null,function*(){var e;return this.isSupported?window.localStorage.getItem(t):(e=_u0.get(t))!=null?e:null})}setItem(t,e){return xt(this,null,function*(){if(this.isSupported)return window.localStorage.setItem(t,e);_u0.set(t,e)})}removeItem(t){return xt(this,null,function*(){let e=yield this.getItem(t);return this.isSupported&&e?(window.localStorage.removeItem(t),!0):!1})}saveAuthCookie(t){return xt(this,null,function*(){yield this.setItem(ZV(this.clientId),t)})}getAuthCookie(){return xt(this,null,function*(){return this.getItem(ZV(this.clientId))})}removeAuthCookie(){return xt(this,null,function*(){return this.removeItem(ZV(this.clientId))})}saveDeviceShare(t,e){return xt(this,null,function*(){yield this.saveWalletUserId(e),yield this.setItem(eY(this.clientId,e),t)})}getDeviceShare(){return xt(this,null,function*(){let t=yield this.getWalletUserId();return t?this.getItem(eY(this.clientId,t)):null})}removeDeviceShare(){return xt(this,null,function*(){let t=yield this.getWalletUserId();return t?this.removeItem(eY(this.clientId,t)):!1})}getWalletUserId(){return xt(this,null,function*(){return this.getItem(XV(this.clientId))})}saveWalletUserId(t){return xt(this,null,function*(){yield this.setItem(XV(this.clientId),t)})}removeWalletUserId(){return xt(this,null,function*(){return this.removeItem(XV(this.clientId))})}};Mpn={height:"100%",width:"100%",border:"none",backgroundColor:"transparent",colorScheme:"light",position:"fixed",top:"0px",right:"0px",zIndex:"2147483646",display:"none"},j8e=new Map,Bpn=class{constructor({link:t,iframeId:e,container:n=document.body,iframeStyles:a,onIframeInitialize:r}){this.POLLING_INTERVAL_SECONDS=1.4,this.POST_LOAD_BUFFER_SECONDS=1;let f=document.getElementById(e),i=new URL(t),s="1.2.5";if(!s)throw new Error("Missing SDK_VERSION env var");if(i.searchParams.set("sdkVersion",s),!f||f.src!=i.href){if(!f){f=document.createElement("iframe");let o=e4(e4({},Mpn),a);Object.assign(f.style,o),f.setAttribute("id",e),f.setAttribute("fetchpriority","high"),n.appendChild(f)}f.src=i.href,f.setAttribute("data-version",s),f.onload=this.onIframeLoadHandler(f,this.POST_LOAD_BUFFER_SECONDS,r)}this.iframe=f}onIframeLoadedInitVariables(){return xt(this,null,function*(){return{}})}onIframeLoadHandler(t,e,n){return()=>xt(this,null,function*(){yield new Promise((a,r)=>xt(this,null,function*(){var f;let i=new MessageChannel;i.port1.onmessage=o=>{let{data:c}=o;return i.port1.close(),c.success?(j8e.set(t.src,!0),n&&n(),a(!0)):r(new Error(c.error))},yield JV(e),(f=t?.contentWindow)==null||f.postMessage({eventType:"initIframe",data:yield this.onIframeLoadedInitVariables()},`${Ou()}${nY}`,[i.port2])}))})}call(t){return xt(this,arguments,function*({procedureName:e,params:n,showIframe:a=!1,injectRecoveryCode:r={isInjectRecoveryCode:!1}}){for(;!j8e.get(this.iframe.src);)yield JV(this.POLLING_INTERVAL_SECONDS);return a&&(this.iframe.style.display="block",yield JV(.005)),new Promise((f,i)=>{var s;if(r.isInjectRecoveryCode){let c=d=>xt(this,null,function*(){var l,h;if(d.origin!==Ou()||d.data.type!=="paper_getRecoveryCode"||typeof d.data.userWalletId!="string")return;let y=yield(l=r.getRecoveryCode)==null?void 0:l.call(r,d.data.userWalletId);(h=this.iframe.contentWindow)==null||h.postMessage({type:"paper_getRecoveryCode_response",recoveryCode:y},Ou()),window.removeEventListener("message",c)});window.addEventListener("message",c)}let o=new MessageChannel;o.port1.onmessage=c=>xt(this,null,function*(){let{data:d}=c;o.port1.close(),a&&(yield JV(.1),this.iframe.style.display="none"),d.success?f(d.data):i(new Error(d.error))}),(s=this.iframe.contentWindow)==null||s.postMessage({eventType:e,data:n},`${Ou()}${nY}`,[o.port2])})})}destroy(){j8e.delete(this.iframe.src)}},Dpn=class extends Bpn{constructor({clientId:t,customizationOptions:e}){super({iframeId:Lpn,link:Ppn({clientId:t,path:nY,queryParams:e}).href,container:document.body}),this.clientId=t}onIframeLoadedInitVariables(){return xt(this,null,function*(){let t=new G8e({clientId:this.clientId});return{authCookie:yield t.getAuthCookie(),deviceShareStored:yield t.getDeviceShare(),walletUserId:yield t.getWalletUserId(),clientId:this.clientId}})}};Lpn="paper-embedded-wallet-iframe",Su0=class{constructor({querier:t,preLogin:e,postLogin:n,clientId:a}){this.LoginQuerier=t,this.preLogin=e,this.postLogin=n,this.clientId=a}sendPaperEmailLoginOtp(t){return xt(this,arguments,function*({email:e,recoveryShareManagement:n}){yield this.preLogin();let{isNewUser:a,isNewDevice:r,recoveryShareManagement:f}=yield this.LoginQuerier.call({procedureName:"sendPaperEmailLoginOtp",params:{email:e,recoveryShareManagement:n}});return{isNewUser:a,isNewDevice:r,recoveryShareManagement:f}})}},Fpn=class extends Su0{constructor(){super(...arguments),this.closeWindow=({isWindowOpenedByFn:t,win:e,closeOpenedWindow:n})=>{t?e?.close():e&&n?n(e):e&&e.close()}}loginWithPaperModal(){return xt(this,null,function*(){yield this.preLogin();let t=yield this.LoginQuerier.call({procedureName:"loginWithPaperModal",params:{recoveryShareManagement:"AWS_MANAGED"},showIframe:!0,injectRecoveryCode:{isInjectRecoveryCode:!0}});return this.postLogin(t)})}getGoogleLoginUrl(){return xt(this,null,function*(){return yield this.LoginQuerier.call({procedureName:"getHeadlessGoogleLoginLink",params:void 0})})}loginWithGoogle(t){return xt(this,null,function*(){yield this.preLogin();let e=t?.openedWindow,n=!1;if(e||(e=window.open("","Login","width=350, height=500"),n=!0),!e)throw new Error("Something went wrong opening pop-up");yield this.preLogin();let{loginLink:a}=yield this.getGoogleLoginUrl();e.location.href=a;let r=yield new Promise((f,i)=>{let s=window.setInterval(()=>xt(this,null,function*(){e&&e.closed&&(clearInterval(s),window.removeEventListener("message",o),i(new Error("User closed login window")))}),1e3),o=c=>xt(this,null,function*(){if(c.origin===Ou()){if(typeof c.data!="object"){i(new Error("Invalid event data"));return}switch(c.data.eventType){case"userLoginSuccess":{window.removeEventListener("message",o),clearInterval(s),this.closeWindow({isWindowOpenedByFn:n,win:e,closeOpenedWindow:t?.closeOpenedWindow}),c.data.authResult&&f(c.data.authResult);break}case"userLoginFailed":{window.removeEventListener("message",o),clearInterval(s),this.closeWindow({isWindowOpenedByFn:n,win:e,closeOpenedWindow:t?.closeOpenedWindow}),i(new Error(c.data.error));break}case"injectDeveloperClientId":{e?.postMessage({eventType:"injectDeveloperClientIdResult",developerClientId:this.clientId},Ou());break}}}});window.addEventListener("message",o)});return this.postLogin({storedToken:tY(e4({},r.storedToken),{shouldStoreCookieString:!0}),walletDetails:tY(e4({},r.walletDetails),{isIframeStorageEnabled:!1})})})}loginWithPaperEmailOtp(t){return xt(this,arguments,function*({email:e}){yield this.preLogin();let n=yield this.LoginQuerier.call({procedureName:"loginWithPaperModal",params:{email:e,recoveryShareManagement:"AWS_MANAGED"},showIframe:!0,injectRecoveryCode:{isInjectRecoveryCode:!0}});return this.postLogin(n)})}verifyPaperEmailLoginOtp(t){return xt(this,arguments,function*({email:e,otp:n}){let a=yield this.LoginQuerier.call({procedureName:"verifyPaperEmailLoginOtp",params:{email:e,otp:n,recoveryShareManagement:"AWS_MANAGED"},injectRecoveryCode:{isInjectRecoveryCode:!0}});return this.postLogin(a)})}},Npn=class extends Su0{loginWithPaperModal(t){return xt(this,null,function*(){yield this.preLogin();let e=yield this.LoginQuerier.call({procedureName:"loginWithPaperModal",params:void 0,showIframe:!0,injectRecoveryCode:{isInjectRecoveryCode:!0,getRecoveryCode:t?.getRecoveryCode}});return this.postLogin(e)})}loginWithGoogle(t){return xt(this,null,function*(){throw new Error("loginWithGoogle is not yet supported in the RecoveryShareManagement.USER_MANAGED flow. Please use RecoveryShareManagement.AWS_MANAGED instead.")})}loginWithPaperEmailOtp(t){return xt(this,arguments,function*({email:e,recoveryCode:n}){yield this.preLogin();let a=yield this.LoginQuerier.call({procedureName:"loginWithPaperModal",params:{email:e,recoveryCode:n},showIframe:!0,injectRecoveryCode:{isInjectRecoveryCode:!0}});return this.postLogin(a)})}verifyPaperEmailLoginOtp(t){return xt(this,arguments,function*({email:e,otp:n,recoveryCode:a}){let r=yield this.LoginQuerier.call({procedureName:"verifyPaperEmailLoginOtp",params:{email:e,otp:n,recoveryCode:a},injectRecoveryCode:{isInjectRecoveryCode:!0}});return this.postLogin(r)})}},Opn=class{constructor({clientId:t,advancedOptions:e,querier:n,onAuthSuccess:a}){var r;this.clientId=t,this.advancedOptions={recoveryShareManagement:(r=e?.recoveryShareManagement)!=null?r:"AWS_MANAGED"},this.AuthQuerier=n,this.localStorage=new G8e({clientId:t}),this.onAuthSuccess=a,this.userManagedLogin=new Npn({postLogin:f=>xt(this,null,function*(){return this.postLogin(f)}),preLogin:()=>xt(this,null,function*(){yield this.preLogin()}),querier:n,clientId:t}),this.awsManagedLogin=new Fpn({postLogin:f=>xt(this,null,function*(){return this.postLogin(f)}),preLogin:()=>xt(this,null,function*(){yield this.preLogin()}),querier:n,clientId:t})}preLogin(){return xt(this,null,function*(){yield this.logout()})}postLogin(t){return xt(this,arguments,function*({storedToken:e,walletDetails:n}){return e.shouldStoreCookieString&&(yield this.localStorage.saveAuthCookie(e.cookieString)),yield this.onAuthSuccess({storedToken:e,walletDetails:n})})}loginWithJwtAuth(t){return xt(this,arguments,function*({token:e,authProvider:n,recoveryCode:a}){yield this.preLogin();let r=yield this.AuthQuerier.call({procedureName:"loginWithJwtAuthCallback",params:{token:e,authProvider:n,recoveryCode:a}});return this.postLogin(r)})}loginWithPaperModal(t){return xt(this,null,function*(){return yield this.preLogin(),this.advancedOptions.recoveryShareManagement==="AWS_MANAGED"?this.awsManagedLogin.loginWithPaperModal():this.userManagedLogin.loginWithPaperModal(t)})}loginWithPaperEmailOtp(t){return xt(this,null,function*(){return this.advancedOptions.recoveryShareManagement==="AWS_MANAGED"?this.awsManagedLogin.loginWithPaperEmailOtp({email:t.email}):this.userManagedLogin.loginWithPaperEmailOtp(t)})}loginWithGoogle(t){return xt(this,null,function*(){return this.advancedOptions.recoveryShareManagement==="AWS_MANAGED"?this.awsManagedLogin.loginWithGoogle(t):this.userManagedLogin.loginWithGoogle()})}sendPaperEmailLoginOtp(t){return xt(this,arguments,function*({email:e}){return this.advancedOptions.recoveryShareManagement==="AWS_MANAGED"?this.awsManagedLogin.sendPaperEmailLoginOtp({email:e,recoveryShareManagement:"AWS_MANAGED"}):this.userManagedLogin.sendPaperEmailLoginOtp({email:e})})}verifyPaperEmailLoginOtp(t){return xt(this,null,function*(){return this.advancedOptions.recoveryShareManagement==="AWS_MANAGED"?this.awsManagedLogin.verifyPaperEmailLoginOtp(t):this.userManagedLogin.verifyPaperEmailLoginOtp(t)})}logout(){return xt(this,null,function*(){let{success:t}=yield this.AuthQuerier.call({procedureName:"logout",params:void 0}),e=yield this.localStorage.removeAuthCookie(),n=yield this.localStorage.removeWalletUserId();return{success:t||e||n}})}},Au0=class{constructor({chain:t,clientId:e,querier:n}){this.chain=t,this.clientId=e,this.gaslessTransactionQuerier=n}callContract(t){return xt(this,arguments,function*({contractAddress:e,methodArgs:n,methodInterface:a}){return yield this.gaslessTransactionQuerier.call({procedureName:"callContract",params:{chain:this.chain,contractAddress:e,method:{args:n,stub:a}}})})}},Du0=class extends Mu0.Signer{constructor({provider:t,clientId:e,querier:n}){var a;super(),this.DEFAULT_ETHEREUM_CHAIN_ID=5,this.clientId=e,this.querier=n,this.endpoint=(a=t.connection)==null?void 0:a.url,(0,Bu0.defineReadOnly)(this,"provider",t)}getAddress(){return xt(this,null,function*(){let{address:t}=yield this.querier.call({procedureName:"getAddress",params:void 0});return t})}signMessage(t){return xt(this,null,function*(){var e,n,a,r;let f=yield(e=this.provider)==null?void 0:e.getNetwork();f&&f._defaultProvider;let{signedMessage:i}=yield this.querier.call({procedureName:"signMessage",params:{message:t,chainId:(r=(a=yield(n=this.provider)==null?void 0:n.getNetwork())==null?void 0:a.chainId)!=null?r:this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return i})}signTransaction(t){return xt(this,null,function*(){var e,n,a;let{signedTransaction:r}=yield this.querier.call({procedureName:"signTransaction",params:{transaction:t,chainId:(a=(n=yield(e=this.provider)==null?void 0:e.getNetwork())==null?void 0:n.chainId)!=null?a:this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return r})}_signTypedData(t,e,n){return xt(this,null,function*(){var a,r,f;let{signedTypedData:i}=yield this.querier.call({procedureName:"signTypedDataV4",params:{domain:t,types:e,message:n,chainId:(f=(r=yield(a=this.provider)==null?void 0:a.getNetwork())==null?void 0:r.chainId)!=null?f:this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return i})}connect(t){return new Du0({clientId:this.clientId,provider:t,querier:this.querier})}},Upn=class{constructor({clientId:t,chain:e,querier:n}){this.clientId=t,this.chain=e,this.walletManagerQuerier=n,this.gasless=new Au0({chain:e,clientId:t,querier:n}),this.localStorage=new G8e({clientId:t})}postWalletSetUp(t){return xt(this,arguments,function*({deviceShareStored:e,walletAddress:n,isIframeStorageEnabled:a,walletUserId:r}){return a||(yield this.localStorage.saveDeviceShare(e,r)),{walletAddress:n}})}getUserWalletStatus(){return xt(this,null,function*(){let t=yield this.walletManagerQuerier.call({procedureName:"getUserStatus",params:void 0});return t.status==="Logged In, Wallet Initialized"?{status:"Logged In, Wallet Initialized",user:tY(e4({},t.user),{wallet:this})}:t})}setChain(t){return xt(this,arguments,function*({chain:e}){this.chain=e,this.gasless=new Au0({chain:e,clientId:this.clientId,querier:this.walletManagerQuerier})})}getEthersJsSigner(t){return xt(this,null,function*(){var e;return new Du0({clientId:this.clientId,provider:(0,Ru0.getDefaultProvider)((e=t?.rpcEndpoint)!=null?e:VK[this.chain]),querier:this.walletManagerQuerier})})}},Hpn=class{constructor({clientId:t,chain:e,styles:n,advancedOptions:a,onAuthSuccess:r}){this.clientId=t,this.querier=new Dpn({clientId:t,customizationOptions:n}),this.wallet=new Upn({clientId:t,chain:e,querier:this.querier}),this.auth=new Opn({clientId:t,advancedOptions:e4({recoveryShareManagement:"USER_MANAGED"},a??{}),querier:this.querier,onAuthSuccess:f=>xt(this,null,function*(){return yield this.wallet.postWalletSetUp(tY(e4({},f.walletDetails),{walletUserId:f.storedToken.authDetails.userWalletId})),yield this.querier.call({procedureName:"initIframe",params:{deviceShareStored:f.walletDetails.deviceShareStored,clientId:this.clientId,walletUserId:f.storedToken.authDetails.userWalletId,authCookie:f.storedToken.cookieString}}),r?.(f),{user:{status:"Logged In, Wallet Initialized",authDetails:f.storedToken.authDetails,wallet:this.wallet,walletAddress:f.walletDetails.walletAddress}}})})}getUser(){return xt(this,null,function*(){let t=yield this.wallet.getUserWalletStatus();switch(t.status){case"Logged In, New Device":case"Logged In, Wallet Uninitialized":return yield this.auth.logout(),this.getUser();case"Logged Out":return{status:"Logged Out"};case"Logged In, Wallet Initialized":return e4({status:"Logged In, Wallet Initialized"},t.user)}})}}});var Fu0={};V0(Fu0,{PaperWalletConnector:()=>Q8e});var Lu0,Q8e,Nu0=ce(()=>{"use strict";u();p();kt();K8e();Lu0=Ee(Xe());ch();wn();Kr();W0();Q8e=class extends P6{constructor(e){super(),Pe(this,"id",U0.paper),Pe(this,"name","Paper Wallet"),Pe(this,"ready",!0),Pe(this,"user",null),Pe(this,"onAccountsChanged",async n=>{n.length===0?await this.onDisconnect():this.emit("change",{account:Lu0.utils.getAddress(n[0])})}),Pe(this,"onChainChanged",n=>{let a=vi(n),r=this.options.chains.findIndex(f=>f.chainId===a)===-1;this.emit("change",{chain:{id:a,unsupported:r}})}),Pe(this,"onDisconnect",async()=>{this.emit("disconnect")}),this.options=e}getPaperSDK(){return this.paper||(this.paper=new Promise(async(e,n)=>{let a=this.options.advancedOptions?.recoveryShareManagement;try{let{PaperEmbeddedWalletSdk:r}=await Promise.resolve().then(()=>(K8e(),Pu0)),f={AWS_MANAGED:oD.AWS_MANAGED,USER_MANAGED:oD.USER_MANAGED},i=a?f[a]:void 0;e(new r({advancedOptions:{recoveryShareManagement:i},clientId:this.options.clientId,chain:"Ethereum",styles:this.options.styles,onAuthSuccess:this.options.onAuthSuccess}))}catch(r){n(r)}})),this.paper}async connect(e){let n=await this.getPaperSDK();if(!n)throw new Error("Paper SDK not initialized");let a=await n.getUser();switch(a.status){case U_.LOGGED_OUT:{let r;if(e?.googleLogin){let f=e.googleLogin;r=await n.auth.loginWithGoogle(typeof f=="object"?f:void 0)}else e?.email&&e?.otp?r=await n.auth.verifyPaperEmailLoginOtp({email:e.email,otp:e.otp,recoveryCode:e.recoveryCode}):e?.email?r=await n.auth.loginWithPaperEmailOtp({email:e.email}):r=await n.auth.loginWithPaperModal();this.user=r.user;break}case U_.LOGGED_IN_WALLET_INITIALIZED:{typeof e?.googleLogin=="object"&&e.googleLogin.closeOpenedWindow&&e.googleLogin.openedWindow&&e.googleLogin.closeOpenedWindow(e.googleLogin.openedWindow),this.user=a;break}}if(!this.user)throw new Error("Error connecting User");return e?.chainId&&this.switchChain(e.chainId),this.setupListeners(),this.getAddress()}async disconnect(){await(await this.paper)?.auth.logout(),this._signer=void 0,this.user=null}async getAddress(){return(await this.getSigner()).getAddress()}async isConnected(){try{return!!await this.getAddress()}catch{return!1}}async getProvider(){let e=await this.getSigner();if(!e.provider)throw new Error("Provider not found");return e.provider}async getSigner(){if(this._signer)return this._signer;if(!this.user){let a=await(await this.getPaperSDK()).getUser();switch(a.status){case U_.LOGGED_IN_WALLET_INITIALIZED:{this.user=a;break}}}let e=await this.user?.wallet.getEthersJsSigner({rpcEndpoint:this.options.chain.rpc[0]||""});if(!e)throw new Error("Signer not found");return this._signer=e,e}async isAuthorized(){return!1}async switchChain(e){let n=this.options.chains.find(a=>a.chainId===e);if(!n)throw new Error("Chain not configured");await this.user?.wallet.setChain({chain:"Ethereum"}),this._signer=await this.user?.wallet.getEthersJsSigner({rpcEndpoint:n.rpc[0]||""}),this.emit("change",{chain:{id:e,unsupported:!1}})}async setupListeners(){let e=await this.getProvider();e.on&&(e.on("accountsChanged",this.onAccountsChanged),e.on("chainChanged",this.onChainChanged),e.on("disconnect",this.onDisconnect))}updateChains(e){this.options.chains=e}async getEmail(){if(await this.getProvider(),!this.user)throw new Error("No user found, Paper Wallet is not connected");return this.user.authDetails.email}}});var Ou0=D(aY=>{"use strict";u();p();Object.defineProperty(aY,"__esModule",{value:!0});aY.walletLogo=void 0;var zpn=(t,e)=>{let n;switch(t){case"standard":return n=e,`data:image/svg+xml,%3Csvg width='${e}' height='${n}' viewBox='0 0 1024 1024' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='1024' height='1024' fill='%230052FF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z' fill='white'/%3E %3C/svg%3E `;case"circle":return n=e,`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${e}' height='${n}' viewBox='0 0 999.81 999.81'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052fe;%7D.cls-2%7Bfill:%23fefefe;%7D.cls-3%7Bfill:%230152fe;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M655-115.9h56c.83,1.59,2.36.88,3.56,1a478,478,0,0,1,75.06,10.42C891.4-81.76,978.33-32.58,1049.19,44q116.7,126,131.94,297.61c.38,4.14-.34,8.53,1.78,12.45v59c-1.58.84-.91,2.35-1,3.56a482.05,482.05,0,0,1-10.38,74.05c-24,106.72-76.64,196.76-158.83,268.93s-178.18,112.82-287.2,122.6c-4.83.43-9.86-.25-14.51,1.77H654c-1-1.68-2.69-.91-4.06-1a496.89,496.89,0,0,1-105.9-18.59c-93.54-27.42-172.78-77.59-236.91-150.94Q199.34,590.1,184.87,426.58c-.47-5.19.25-10.56-1.77-15.59V355c1.68-1,.91-2.7,1-4.06a498.12,498.12,0,0,1,18.58-105.9c26-88.75,72.64-164.9,140.6-227.57q126-116.27,297.21-131.61C645.32-114.57,650.35-113.88,655-115.9Zm377.92,500c0-192.44-156.31-349.49-347.56-350.15-194.13-.68-350.94,155.13-352.29,347.42-1.37,194.55,155.51,352.1,348.56,352.47C876.15,734.23,1032.93,577.84,1032.93,384.11Z' transform='translate(-183.1 115.9)'/%3E%3Cpath class='cls-2' d='M1032.93,384.11c0,193.73-156.78,350.12-351.29,349.74-193-.37-349.93-157.92-348.56-352.47C334.43,189.09,491.24,33.28,685.37,34,876.62,34.62,1032.94,191.67,1032.93,384.11ZM683,496.81q43.74,0,87.48,0c15.55,0,25.32-9.72,25.33-25.21q0-87.48,0-175c0-15.83-9.68-25.46-25.59-25.46H595.77c-15.88,0-25.57,9.64-25.58,25.46q0,87.23,0,174.45c0,16.18,9.59,25.7,25.84,25.71Z' transform='translate(-183.1 115.9)'/%3E%3Cpath class='cls-3' d='M683,496.81H596c-16.25,0-25.84-9.53-25.84-25.71q0-87.23,0-174.45c0-15.82,9.7-25.46,25.58-25.46H770.22c15.91,0,25.59,9.63,25.59,25.46q0,87.47,0,175c0,15.49-9.78,25.2-25.33,25.21Q726.74,496.84,683,496.81Z' transform='translate(-183.1 115.9)'/%3E%3C/svg%3E`;case"text":return n=(.1*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528.15 53.64'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class='cls-1' d='M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z'/%3E%3C/svg%3E`;case"textWithLogo":return n=(.25*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 308.44 77.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z'/%3E%3C/svg%3E`;case"textLight":return n=(.1*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528.15 53.64'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class='cls-1' d='M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z'/%3E%3C/svg%3E`;case"textWithLogoLight":return n=(.25*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 308.44 77.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z'/%3E%3C/svg%3E`;default:return n=e,`data:image/svg+xml,%3Csvg width='${e}' height='${n}' viewBox='0 0 1024 1024' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='1024' height='1024' fill='%230052FF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z' fill='white'/%3E %3C/svg%3E `}};aY.walletLogo=zpn});var Uu0=D(rY=>{"use strict";u();p();Object.defineProperty(rY,"__esModule",{value:!0});rY.LINK_API_URL=void 0;rY.LINK_API_URL="https://www.walletlink.org"});var dD=D(H_=>{"use strict";u();p();Object.defineProperty(H_,"__esModule",{value:!0});H_.errorValues=H_.standardErrorCodes=void 0;H_.standardErrorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901,unsupportedChain:4902}};H_.errorValues={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."},4902:{standard:"EIP-3085",message:"Unrecognized chain ID."}}});var iY=D(j6=>{"use strict";u();p();Object.defineProperty(j6,"__esModule",{value:!0});j6.serialize=j6.getErrorCode=j6.isValidCode=j6.getMessageFromCode=j6.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;var fY=dD(),Wu0="Unspecified error message.";j6.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.";function qu0(t,e=Wu0){if(t&&Number.isInteger(t)){let n=t.toString();if(V8e(fY.errorValues,n))return fY.errorValues[n].message;if(Gu0(t))return j6.JSON_RPC_SERVER_ERROR_MESSAGE}return e}j6.getMessageFromCode=qu0;function ju0(t){if(!Number.isInteger(t))return!1;let e=t.toString();return!!(fY.errorValues[e]||Gu0(t))}j6.isValidCode=ju0;function Wpn(t){var e;if(typeof t=="number")return t;if(qpn(t))return(e=t.code)!==null&&e!==void 0?e:t.errorCode}j6.getErrorCode=Wpn;function qpn(t){return typeof t=="object"&&t!==null&&(typeof t.code=="number"||typeof t.errorCode=="number")}function jpn(t,{shouldIncludeStack:e=!1}={}){let n={};if(t&&typeof t=="object"&&!Array.isArray(t)&&V8e(t,"code")&&ju0(t.code)){let a=t;n.code=a.code,a.message&&typeof a.message=="string"?(n.message=a.message,V8e(a,"data")&&(n.data=a.data)):(n.message=qu0(n.code),n.data={originalError:Hu0(t)})}else n.code=fY.standardErrorCodes.rpc.internal,n.message=zu0(t,"message")?t.message:Wu0,n.data={originalError:Hu0(t)};return e&&(n.stack=zu0(t,"stack")?t.stack:void 0),n}j6.serialize=jpn;function Gu0(t){return t>=-32099&&t<=-32e3}function Hu0(t){return t&&typeof t=="object"&&!Array.isArray(t)?Object.assign({},t):t}function V8e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zu0(t,e){return typeof t=="object"&&t!==null&&e in t&&typeof t[e]=="string"}});var Vu0=D(cY=>{"use strict";u();p();Object.defineProperty(cY,"__esModule",{value:!0});cY.standardErrors=void 0;var vo=dD(),Ku0=iY();cY.standardErrors={rpc:{parse:t=>wd(vo.standardErrorCodes.rpc.parse,t),invalidRequest:t=>wd(vo.standardErrorCodes.rpc.invalidRequest,t),invalidParams:t=>wd(vo.standardErrorCodes.rpc.invalidParams,t),methodNotFound:t=>wd(vo.standardErrorCodes.rpc.methodNotFound,t),internal:t=>wd(vo.standardErrorCodes.rpc.internal,t),server:t=>{if(!t||typeof t!="object"||Array.isArray(t))throw new Error("Ethereum RPC Server errors must provide single object argument.");let{code:e}=t;if(!Number.isInteger(e)||e>-32005||e<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return wd(e,t)},invalidInput:t=>wd(vo.standardErrorCodes.rpc.invalidInput,t),resourceNotFound:t=>wd(vo.standardErrorCodes.rpc.resourceNotFound,t),resourceUnavailable:t=>wd(vo.standardErrorCodes.rpc.resourceUnavailable,t),transactionRejected:t=>wd(vo.standardErrorCodes.rpc.transactionRejected,t),methodNotSupported:t=>wd(vo.standardErrorCodes.rpc.methodNotSupported,t),limitExceeded:t=>wd(vo.standardErrorCodes.rpc.limitExceeded,t)},provider:{userRejectedRequest:t=>z_(vo.standardErrorCodes.provider.userRejectedRequest,t),unauthorized:t=>z_(vo.standardErrorCodes.provider.unauthorized,t),unsupportedMethod:t=>z_(vo.standardErrorCodes.provider.unsupportedMethod,t),disconnected:t=>z_(vo.standardErrorCodes.provider.disconnected,t),chainDisconnected:t=>z_(vo.standardErrorCodes.provider.chainDisconnected,t),unsupportedChain:t=>z_(vo.standardErrorCodes.provider.unsupportedChain,t),custom:t=>{if(!t||typeof t!="object"||Array.isArray(t))throw new Error("Ethereum Provider custom errors must provide single object argument.");let{code:e,message:n,data:a}=t;if(!n||typeof n!="string")throw new Error('"message" must be a nonempty string');return new oY(e,n,a)}}};function wd(t,e){let[n,a]=Qu0(e);return new sY(t,n||(0,Ku0.getMessageFromCode)(t),a)}function z_(t,e){let[n,a]=Qu0(e);return new oY(t,n||(0,Ku0.getMessageFromCode)(t),a)}function Qu0(t){if(t){if(typeof t=="string")return[t];if(typeof t=="object"&&!Array.isArray(t)){let{message:e,data:n}=t;if(e&&typeof e!="string")throw new Error("Must specify string message.");return[e||void 0,n]}}return[]}var sY=class extends Error{constructor(e,n,a){if(!Number.isInteger(e))throw new Error('"code" must be an integer.');if(!n||typeof n!="string")throw new Error('"message" must be a nonempty string.');super(n),this.code=e,a!==void 0&&(this.data=a)}},oY=class extends sY{constructor(e,n,a){if(!Gpn(e))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,n,a)}};function Gpn(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}});var lY=D(dY=>{"use strict";u();p();Object.defineProperty(dY,"__esModule",{value:!0});dY.isErrorResponse=void 0;function Kpn(t){return t.errorMessage!==void 0}dY.isErrorResponse=Kpn});var pY=D(uY=>{"use strict";u();p();Object.defineProperty(uY,"__esModule",{value:!0});uY.LIB_VERSION=void 0;uY.LIB_VERSION="3.9.3"});var Yu0=D(hY=>{"use strict";u();p();Object.defineProperty(hY,"__esModule",{value:!0});hY.serializeError=void 0;var Qpn=lY(),Vpn=pY(),Ypn=dD(),$pn=iY();function Jpn(t,e){let n=(0,$pn.serialize)(Xpn(t),{shouldIncludeStack:!0}),a=new URL("https://docs.cloud.coinbase.com/wallet-sdk/docs/errors");a.searchParams.set("version",Vpn.LIB_VERSION),a.searchParams.set("code",n.code.toString());let r=Zpn(n.data,e);return r&&a.searchParams.set("method",r),a.searchParams.set("message",n.message),Object.assign(Object.assign({},n),{docUrl:a.href})}hY.serializeError=Jpn;function Xpn(t){return typeof t=="string"?{message:t,code:Ypn.standardErrorCodes.rpc.internal}:(0,Qpn.isErrorResponse)(t)?Object.assign(Object.assign({},t),{message:t.errorMessage,code:t.errorCode,data:{method:t.method}}):t}function Zpn(t,e){let n=t?.method;if(n)return n;if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e)){if(e.length>0)return e[0].method}else return e.method}}});var lD=D(Td=>{"use strict";u();p();Object.defineProperty(Td,"__esModule",{value:!0});Td.standardErrors=Td.standardErrorCodes=Td.serializeError=Td.getMessageFromCode=Td.getErrorCode=void 0;var e8n=dD();Object.defineProperty(Td,"standardErrorCodes",{enumerable:!0,get:function(){return e8n.standardErrorCodes}});var t8n=Vu0();Object.defineProperty(Td,"standardErrors",{enumerable:!0,get:function(){return t8n.standardErrors}});var n8n=Yu0();Object.defineProperty(Td,"serializeError",{enumerable:!0,get:function(){return n8n.serializeError}});var $u0=iY();Object.defineProperty(Td,"getErrorCode",{enumerable:!0,get:function(){return $u0.getErrorCode}});Object.defineProperty(Td,"getMessageFromCode",{enumerable:!0,get:function(){return $u0.getMessageFromCode}})});var pD=D(v1=>{"use strict";u();p();Object.defineProperty(v1,"__esModule",{value:!0});v1.ProviderType=v1.RegExpString=v1.IntNumber=v1.BigIntString=v1.AddressString=v1.HexString=v1.OpaqueType=void 0;function uD(){return t=>t}v1.OpaqueType=uD;v1.HexString=uD();v1.AddressString=uD();v1.BigIntString=uD();function a8n(t){return Math.floor(t)}v1.IntNumber=a8n;v1.RegExpString=uD();var Ju0;(function(t){t.CoinbaseWallet="CoinbaseWallet",t.MetaMask="MetaMask",t.Unselected=""})(Ju0||(v1.ProviderType=Ju0={}))});var fp=D(wt=>{"use strict";u();p();var r8n=wt&&wt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(wt,"__esModule",{value:!0});wt.isMobileWeb=wt.getLocation=wt.isInIFrame=wt.createQrUrl=wt.getFavicon=wt.range=wt.isBigNumber=wt.ensureParsedJSONObject=wt.ensureBN=wt.ensureRegExpString=wt.ensureIntNumber=wt.ensureBuffer=wt.ensureAddressString=wt.ensureEvenLengthHexString=wt.ensureHexString=wt.isHexString=wt.prepend0x=wt.strip0x=wt.has0xPrefix=wt.hexStringFromIntNumber=wt.intNumberFromHexString=wt.bigIntStringFromBN=wt.hexStringFromBuffer=wt.hexStringToUint8Array=wt.uint8ArrayToHex=wt.randomBytesHex=void 0;var t4=r8n(Va()),bg=lD(),xd=pD(),Xu0=/^[0-9]*$/,Zu0=/^[a-f0-9]*$/;function f8n(t){return ep0(crypto.getRandomValues(new Uint8Array(t)))}wt.randomBytesHex=f8n;function ep0(t){return[...t].map(e=>e.toString(16).padStart(2,"0")).join("")}wt.uint8ArrayToHex=ep0;function i8n(t){return new Uint8Array(t.match(/.{1,2}/g).map(e=>parseInt(e,16)))}wt.hexStringToUint8Array=i8n;function s8n(t,e=!1){let n=t.toString("hex");return(0,xd.HexString)(e?`0x${n}`:n)}wt.hexStringFromBuffer=s8n;function o8n(t){return(0,xd.BigIntString)(t.toString(10))}wt.bigIntStringFromBN=o8n;function c8n(t){return(0,xd.IntNumber)(new t4.default(bD(t,!1),16).toNumber())}wt.intNumberFromHexString=c8n;function d8n(t){return(0,xd.HexString)(`0x${new t4.default(t).toString(16)}`)}wt.hexStringFromIntNumber=d8n;function Y8e(t){return t.startsWith("0x")||t.startsWith("0X")}wt.has0xPrefix=Y8e;function bY(t){return Y8e(t)?t.slice(2):t}wt.strip0x=bY;function tp0(t){return Y8e(t)?`0x${t.slice(2)}`:`0x${t}`}wt.prepend0x=tp0;function hD(t){if(typeof t!="string")return!1;let e=bY(t).toLowerCase();return Zu0.test(e)}wt.isHexString=hD;function np0(t,e=!1){if(typeof t=="string"){let n=bY(t).toLowerCase();if(Zu0.test(n))return(0,xd.HexString)(e?`0x${n}`:n)}throw bg.standardErrors.rpc.invalidParams(`"${String(t)}" is not a hexadecimal string`)}wt.ensureHexString=np0;function bD(t,e=!1){let n=np0(t,!1);return n.length%2===1&&(n=(0,xd.HexString)(`0${n}`)),e?(0,xd.HexString)(`0x${n}`):n}wt.ensureEvenLengthHexString=bD;function l8n(t){if(typeof t=="string"){let e=bY(t).toLowerCase();if(hD(e)&&e.length===40)return(0,xd.AddressString)(tp0(e))}throw bg.standardErrors.rpc.invalidParams(`Invalid Ethereum address: ${String(t)}`)}wt.ensureAddressString=l8n;function u8n(t){if(_.Buffer.isBuffer(t))return t;if(typeof t=="string"){if(hD(t)){let e=bD(t,!1);return _.Buffer.from(e,"hex")}return _.Buffer.from(t,"utf8")}throw bg.standardErrors.rpc.invalidParams(`Not binary data: ${String(t)}`)}wt.ensureBuffer=u8n;function ap0(t){if(typeof t=="number"&&Number.isInteger(t))return(0,xd.IntNumber)(t);if(typeof t=="string"){if(Xu0.test(t))return(0,xd.IntNumber)(Number(t));if(hD(t))return(0,xd.IntNumber)(new t4.default(bD(t,!1),16).toNumber())}throw bg.standardErrors.rpc.invalidParams(`Not an integer: ${String(t)}`)}wt.ensureIntNumber=ap0;function p8n(t){if(t instanceof RegExp)return(0,xd.RegExpString)(t.toString());throw bg.standardErrors.rpc.invalidParams(`Not a RegExp: ${String(t)}`)}wt.ensureRegExpString=p8n;function h8n(t){if(t!==null&&(t4.default.isBN(t)||rp0(t)))return new t4.default(t.toString(10),10);if(typeof t=="number")return new t4.default(ap0(t));if(typeof t=="string"){if(Xu0.test(t))return new t4.default(t,10);if(hD(t))return new t4.default(bD(t,!1),16)}throw bg.standardErrors.rpc.invalidParams(`Not an integer: ${String(t)}`)}wt.ensureBN=h8n;function b8n(t){if(typeof t=="string")return JSON.parse(t);if(typeof t=="object")return t;throw bg.standardErrors.rpc.invalidParams(`Not a JSON string or an object: ${String(t)}`)}wt.ensureParsedJSONObject=b8n;function rp0(t){if(t==null||typeof t.constructor!="function")return!1;let{constructor:e}=t;return typeof e.config=="function"&&typeof e.EUCLID=="number"}wt.isBigNumber=rp0;function m8n(t,e){return Array.from({length:e-t},(n,a)=>t+a)}wt.range=m8n;function y8n(){let t=document.querySelector('link[sizes="192x192"]')||document.querySelector('link[sizes="180x180"]')||document.querySelector('link[rel="icon"]')||document.querySelector('link[rel="shortcut icon"]'),{protocol:e,host:n}=document.location,a=t?t.getAttribute("href"):null;return!a||a.startsWith("javascript:")||a.startsWith("vbscript:")?null:a.startsWith("http://")||a.startsWith("https://")||a.startsWith("data:")?a:a.startsWith("//")?e+a:`${e}//${n}${a}`}wt.getFavicon=y8n;function g8n(t,e,n,a,r,f){let i=a?"parent-id":"id",s=new URLSearchParams({[i]:t,secret:e,server:n,v:r,chainId:f.toString()}).toString();return`${n}/#/link?${s}`}wt.createQrUrl=g8n;function fp0(){try{return window.frameElement!==null}catch{return!1}}wt.isInIFrame=fp0;function v8n(){try{return fp0()&&window.top?window.top.location:window.location}catch{return window.location}}wt.getLocation=v8n;function w8n(){var t;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test((t=window?.navigator)===null||t===void 0?void 0:t.userAgent)}wt.isMobileWeb=w8n});var ip0=D(mY=>{"use strict";u();p();Object.defineProperty(mY,"__esModule",{value:!0});mY.ScopedLocalStorage=void 0;var $8e=class{constructor(e){this.scope=e}setItem(e,n){localStorage.setItem(this.scopedKey(e),n)}getItem(e){return localStorage.getItem(this.scopedKey(e))}removeItem(e){localStorage.removeItem(this.scopedKey(e))}clear(){let e=this.scopedKey(""),n=[];for(let a=0;alocalStorage.removeItem(a))}scopedKey(e){return`${this.scope}:${e}`}};mY.ScopedLocalStorage=$8e});var gY=D(yY=>{"use strict";u();p();Object.defineProperty(yY,"__esModule",{value:!0});yY.EVENTS=void 0;yY.EVENTS={STARTED_CONNECTING:"walletlink_sdk.started.connecting",CONNECTED_STATE_CHANGE:"walletlink_sdk.connected",DISCONNECTED:"walletlink_sdk.disconnected",METADATA_DESTROYED:"walletlink_sdk_metadata_destroyed",LINKED:"walletlink_sdk.linked",FAILURE:"walletlink_sdk.generic_failure",SESSION_CONFIG_RECEIVED:"walletlink_sdk.session_config_event_received",ETH_ACCOUNTS_STATE:"walletlink_sdk.eth_accounts_state",SESSION_STATE_CHANGE:"walletlink_sdk.session_state_change",UNLINKED_ERROR_STATE:"walletlink_sdk.unlinked_error_state",SKIPPED_CLEARING_SESSION:"walletlink_sdk.skipped_clearing_session",GENERAL_ERROR:"walletlink_sdk.general_error",WEB3_REQUEST:"walletlink_sdk.web3.request",WEB3_REQUEST_PUBLISHED:"walletlink_sdk.web3.request_published",WEB3_RESPONSE:"walletlink_sdk.web3.response",METHOD_NOT_IMPLEMENTED:"walletlink_sdk.method_not_implemented",UNKNOWN_ADDRESS_ENCOUNTERED:"walletlink_sdk.unknown_address_encountered"}});var vY=D(ip=>{"use strict";u();p();Object.defineProperty(ip,"__esModule",{value:!0});ip.RelayAbstract=ip.APP_VERSION_KEY=ip.LOCAL_STORAGE_ADDRESSES_KEY=ip.WALLET_USER_NAME_KEY=void 0;var sp0=lD();ip.WALLET_USER_NAME_KEY="walletUsername";ip.LOCAL_STORAGE_ADDRESSES_KEY="Addresses";ip.APP_VERSION_KEY="AppVersion";var J8e=class{async makeEthereumJSONRPCRequest(e,n){if(!n)throw new Error("Error: No jsonRpcUrl provided");return window.fetch(n,{method:"POST",body:JSON.stringify(e),mode:"cors",headers:{"Content-Type":"application/json"}}).then(a=>a.json()).then(a=>{if(!a)throw sp0.standardErrors.rpc.parse({});let r=a,{error:f}=r;if(f)throw(0,sp0.serializeError)(f,e.method);return r})}};ip.RelayAbstract=J8e});var TY=D(wY=>{"use strict";u();p();Object.defineProperty(wY,"__esModule",{value:!0});wY.Session=void 0;var op0=jI(),cp0=fp(),dp0="session:id",lp0="session:secret",up0="session:linked",X8e=class t{constructor(e,n,a,r){this._storage=e,this._id=n||(0,cp0.randomBytesHex)(16),this._secret=a||(0,cp0.randomBytesHex)(32),this._key=new op0.sha256().update(`${this._id}, ${this._secret} WalletLink`).digest("hex"),this._linked=!!r}static load(e){let n=e.getItem(dp0),a=e.getItem(up0),r=e.getItem(lp0);return n&&r?new t(e,n,r,a==="1"):null}static hash(e){return new op0.sha256().update(e).digest("hex")}get id(){return this._id}get secret(){return this._secret}get key(){return this._key}get linked(){return this._linked}set linked(e){this._linked=e,this.persistLinked()}save(){return this._storage.setItem(dp0,this._id),this._storage.setItem(lp0,this._secret),this.persistLinked(),this}persistLinked(){this._storage.setItem(up0,this._linked?"1":"0")}};wY.Session=X8e});var pp0=D(EY=>{"use strict";u();p();Object.defineProperty(EY,"__esModule",{value:!0});EY.Cipher=void 0;var xY=fp(),Z8e=class{constructor(e){this.secret=e}async encrypt(e){let n=this.secret;if(n.length!==64)throw Error("secret must be 256 bits");let a=crypto.getRandomValues(new Uint8Array(12)),r=await crypto.subtle.importKey("raw",(0,xY.hexStringToUint8Array)(n),{name:"aes-gcm"},!1,["encrypt","decrypt"]),f=new TextEncoder,i=await window.crypto.subtle.encrypt({name:"AES-GCM",iv:a},r,f.encode(e)),s=16,o=i.slice(i.byteLength-s),c=i.slice(0,i.byteLength-s),d=new Uint8Array(o),l=new Uint8Array(c),h=new Uint8Array([...a,...d,...l]);return(0,xY.uint8ArrayToHex)(h)}async decrypt(e){let n=this.secret;if(n.length!==64)throw Error("secret must be 256 bits");return new Promise((a,r)=>{(async function(){let f=await crypto.subtle.importKey("raw",(0,xY.hexStringToUint8Array)(n),{name:"aes-gcm"},!1,["encrypt","decrypt"]),i=(0,xY.hexStringToUint8Array)(e),s=i.slice(0,12),o=i.slice(12,28),c=i.slice(28),d=new Uint8Array([...c,...o]),l={name:"AES-GCM",iv:new Uint8Array(s)};try{let h=await window.crypto.subtle.decrypt(l,f,d),y=new TextDecoder;a(y.decode(h))}catch(h){r(h)}})()})}};EY.Cipher=Z8e});var hp0=D(_Y=>{"use strict";u();p();Object.defineProperty(_Y,"__esModule",{value:!0});_Y.WalletLinkHTTP=void 0;var ehe=class{constructor(e,n,a){this.linkAPIUrl=e,this.sessionId=n;let r=`${n}:${a}`;this.auth=`Basic ${btoa(r)}`}async markUnseenEventsAsSeen(e){return Promise.all(e.map(n=>fetch(`${this.linkAPIUrl}/events/${n.eventId}/seen`,{method:"POST",headers:{Authorization:this.auth}}))).catch(n=>console.error("Unabled to mark event as failed:",n))}async fetchUnseenEvents(){var e;let n=await fetch(`${this.linkAPIUrl}/events?unseen=true`,{headers:{Authorization:this.auth}});if(n.ok){let{events:a,error:r}=await n.json();if(r)throw new Error(`Check unseen events failed: ${r}`);let f=(e=a?.filter(i=>i.event==="Web3Response").map(i=>({type:"Event",sessionId:this.sessionId,eventId:i.id,event:i.event,data:i.data})))!==null&&e!==void 0?e:[];return this.markUnseenEventsAsSeen(f),f}throw new Error(`Check unseen events failed: ${n.status}`)}};_Y.WalletLinkHTTP=ehe});var bp0=D(q_=>{"use strict";u();p();Object.defineProperty(q_,"__esModule",{value:!0});q_.WalletLinkWebSocket=q_.ConnectionState=void 0;var W_;(function(t){t[t.DISCONNECTED=0]="DISCONNECTED",t[t.CONNECTING=1]="CONNECTING",t[t.CONNECTED=2]="CONNECTED"})(W_||(q_.ConnectionState=W_={}));var the=class{setConnectionStateListener(e){this.connectionStateListener=e}setIncomingDataListener(e){this.incomingDataListener=e}constructor(e,n=WebSocket){this.WebSocketClass=n,this.webSocket=null,this.pendingData=[],this.url=e.replace(/^http/,"ws")}async connect(){if(this.webSocket)throw new Error("webSocket object is not null");return new Promise((e,n)=>{var a;let r;try{this.webSocket=r=new this.WebSocketClass(this.url)}catch(f){n(f);return}(a=this.connectionStateListener)===null||a===void 0||a.call(this,W_.CONNECTING),r.onclose=f=>{var i;this.clearWebSocket(),n(new Error(`websocket error ${f.code}: ${f.reason}`)),(i=this.connectionStateListener)===null||i===void 0||i.call(this,W_.DISCONNECTED)},r.onopen=f=>{var i;e(),(i=this.connectionStateListener)===null||i===void 0||i.call(this,W_.CONNECTED),this.pendingData.length>0&&([...this.pendingData].forEach(o=>this.sendData(o)),this.pendingData=[])},r.onmessage=f=>{var i,s;if(f.data==="h")(i=this.incomingDataListener)===null||i===void 0||i.call(this,{type:"Heartbeat"});else try{let o=JSON.parse(f.data);(s=this.incomingDataListener)===null||s===void 0||s.call(this,o)}catch{}}})}disconnect(){var e;let{webSocket:n}=this;if(n){this.clearWebSocket(),(e=this.connectionStateListener)===null||e===void 0||e.call(this,W_.DISCONNECTED),this.connectionStateListener=void 0,this.incomingDataListener=void 0;try{n.close()}catch{}}}sendData(e){let{webSocket:n}=this;if(!n){this.pendingData.push(e),this.connect();return}n.send(e)}clearWebSocket(){let{webSocket:e}=this;e&&(this.webSocket=null,e.onclose=null,e.onerror=null,e.onmessage=null,e.onopen=null)}};q_.WalletLinkWebSocket=the});var gp0=D(CY=>{"use strict";u();p();Object.defineProperty(CY,"__esModule",{value:!0});CY.WalletLinkConnection=void 0;var j_=pD(),T8n=pp0(),sp=gY(),mp0=vY(),G_=TY(),x8n=hp0(),AY=bp0(),yp0=1e4,E8n=6e4,nhe=class{constructor({session:e,linkAPIUrl:n,listener:a,diagnostic:r,WebSocketClass:f=WebSocket}){this.destroyed=!1,this.lastHeartbeatResponse=0,this.nextReqId=(0,j_.IntNumber)(1),this._connected=!1,this._linked=!1,this.shouldFetchUnseenEventsOnConnect=!1,this.requestResolutions=new Map,this.handleSessionMetadataUpdated=s=>{if(!s)return;new Map([["__destroyed",this.handleDestroyed],["EthereumAddress",this.handleAccountUpdated],["WalletUsername",this.handleWalletUsernameUpdated],["AppVersion",this.handleAppVersionUpdated],["ChainId",c=>s.JsonRpcUrl&&this.handleChainUpdated(c,s.JsonRpcUrl)]]).forEach((c,d)=>{let l=s[d];l!==void 0&&c(l)})},this.handleDestroyed=s=>{var o,c;s==="1"&&((o=this.listener)===null||o===void 0||o.resetAndReload(),(c=this.diagnostic)===null||c===void 0||c.log(sp.EVENTS.METADATA_DESTROYED,{alreadyDestroyed:this.isDestroyed,sessionIdHash:G_.Session.hash(this.session.id)}))},this.handleAccountUpdated=async s=>{var o,c;try{let d=await this.cipher.decrypt(s);(o=this.listener)===null||o===void 0||o.accountUpdated(d)}catch{(c=this.diagnostic)===null||c===void 0||c.log(sp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"selectedAddress"})}},this.handleMetadataUpdated=async(s,o)=>{var c,d;try{let l=await this.cipher.decrypt(o);(c=this.listener)===null||c===void 0||c.metadataUpdated(s,l)}catch{(d=this.diagnostic)===null||d===void 0||d.log(sp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:s})}},this.handleWalletUsernameUpdated=async s=>{this.handleMetadataUpdated(mp0.WALLET_USER_NAME_KEY,s)},this.handleAppVersionUpdated=async s=>{this.handleMetadataUpdated(mp0.APP_VERSION_KEY,s)},this.handleChainUpdated=async(s,o)=>{var c,d;try{let l=await this.cipher.decrypt(s),h=await this.cipher.decrypt(o);(c=this.listener)===null||c===void 0||c.chainUpdated(l,h)}catch{(d=this.diagnostic)===null||d===void 0||d.log(sp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"chainId|jsonRpcUrl"})}},this.session=e,this.cipher=new T8n.Cipher(e.secret),this.diagnostic=r,this.listener=a;let i=new AY.WalletLinkWebSocket(`${n}/rpc`,f);i.setConnectionStateListener(async s=>{var o;(o=this.diagnostic)===null||o===void 0||o.log(sp.EVENTS.CONNECTED_STATE_CHANGE,{state:s,sessionIdHash:G_.Session.hash(e.id)});let c=!1;switch(s){case AY.ConnectionState.DISCONNECTED:if(!this.destroyed){let d=async()=>{await new Promise(l=>setTimeout(l,5e3)),this.destroyed||i.connect().catch(()=>{d()})};d()}break;case AY.ConnectionState.CONNECTED:try{await this.authenticate(),this.sendIsLinked(),this.sendGetSessionConfig(),c=!0}catch{}this.updateLastHeartbeat(),setInterval(()=>{this.heartbeat()},yp0),this.shouldFetchUnseenEventsOnConnect&&this.fetchUnseenEventsAPI();break;case AY.ConnectionState.CONNECTING:break}this.connected!==c&&(this.connected=c)}),i.setIncomingDataListener(s=>{var o,c,d;switch(s.type){case"Heartbeat":this.updateLastHeartbeat();return;case"IsLinkedOK":case"Linked":{let l=s.type==="IsLinkedOK"?s.linked:void 0;(o=this.diagnostic)===null||o===void 0||o.log(sp.EVENTS.LINKED,{sessionIdHash:G_.Session.hash(e.id),linked:l,type:s.type,onlineGuests:s.onlineGuests}),this.linked=l||s.onlineGuests>0;break}case"GetSessionConfigOK":case"SessionConfigUpdated":{(c=this.diagnostic)===null||c===void 0||c.log(sp.EVENTS.SESSION_CONFIG_RECEIVED,{sessionIdHash:G_.Session.hash(e.id),metadata_keys:s&&s.metadata?Object.keys(s.metadata):void 0}),this.handleSessionMetadataUpdated(s.metadata);break}case"Event":{this.handleIncomingEvent(s);break}}s.id!==void 0&&((d=this.requestResolutions.get(s.id))===null||d===void 0||d(s))}),this.ws=i,this.http=new x8n.WalletLinkHTTP(n,e.id,e.key)}connect(){var e;if(this.destroyed)throw new Error("instance is destroyed");(e=this.diagnostic)===null||e===void 0||e.log(sp.EVENTS.STARTED_CONNECTING,{sessionIdHash:G_.Session.hash(this.session.id)}),this.ws.connect()}destroy(){var e;this.destroyed=!0,this.ws.disconnect(),(e=this.diagnostic)===null||e===void 0||e.log(sp.EVENTS.DISCONNECTED,{sessionIdHash:G_.Session.hash(this.session.id)}),this.listener=void 0}get isDestroyed(){return this.destroyed}get connected(){return this._connected}set connected(e){var n,a;this._connected=e,e&&((n=this.onceConnected)===null||n===void 0||n.call(this)),(a=this.listener)===null||a===void 0||a.connectedUpdated(e)}setOnceConnected(e){return new Promise(n=>{this.connected?e().then(n):this.onceConnected=()=>{e().then(n),this.onceConnected=void 0}})}get linked(){return this._linked}set linked(e){var n,a;this._linked=e,e&&((n=this.onceLinked)===null||n===void 0||n.call(this)),(a=this.listener)===null||a===void 0||a.linkedUpdated(e)}setOnceLinked(e){return new Promise(n=>{this.linked?e().then(n):this.onceLinked=()=>{e().then(n),this.onceLinked=void 0}})}async handleIncomingEvent(e){var n,a;if(!(e.type!=="Event"||e.event!=="Web3Response"))try{let r=await this.cipher.decrypt(e.data),f=JSON.parse(r);if(f.type!=="WEB3_RESPONSE")return;(n=this.listener)===null||n===void 0||n.handleWeb3ResponseMessage(f)}catch{(a=this.diagnostic)===null||a===void 0||a.log(sp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"incomingEvent"})}}async checkUnseenEvents(){if(!this.connected){this.shouldFetchUnseenEventsOnConnect=!0;return}await new Promise(e=>setTimeout(e,250));try{await this.fetchUnseenEventsAPI()}catch(e){console.error("Unable to check for unseen events",e)}}async fetchUnseenEventsAPI(){this.shouldFetchUnseenEventsOnConnect=!1,(await this.http.fetchUnseenEvents()).forEach(n=>this.handleIncomingEvent(n))}async setSessionMetadata(e,n){let a={type:"SetSessionConfig",id:(0,j_.IntNumber)(this.nextReqId++),sessionId:this.session.id,metadata:{[e]:n}};return this.setOnceConnected(async()=>{let r=await this.makeRequest(a);if(r.type==="Fail")throw new Error(r.error||"failed to set session metadata")})}async publishEvent(e,n,a=!1){let r=await this.cipher.encrypt(JSON.stringify(Object.assign(Object.assign({},n),{origin:location.origin,relaySource:window.coinbaseWalletExtension?"injected_sdk":"sdk"}))),f={type:"PublishEvent",id:(0,j_.IntNumber)(this.nextReqId++),sessionId:this.session.id,event:e,data:r,callWebhook:a};return this.setOnceLinked(async()=>{let i=await this.makeRequest(f);if(i.type==="Fail")throw new Error(i.error||"failed to publish event");return i.eventId})}sendData(e){this.ws.sendData(JSON.stringify(e))}updateLastHeartbeat(){this.lastHeartbeatResponse=Date.now()}heartbeat(){if(Date.now()-this.lastHeartbeatResponse>yp0*2){this.ws.disconnect();return}try{this.ws.sendData("h")}catch{}}async makeRequest(e,n=E8n){let a=e.id;this.sendData(e);let r;return Promise.race([new Promise((f,i)=>{r=window.setTimeout(()=>{i(new Error(`request ${a} timed out`))},n)}),new Promise(f=>{this.requestResolutions.set(a,i=>{clearTimeout(r),f(i),this.requestResolutions.delete(a)})})])}async authenticate(){let e={type:"HostSession",id:(0,j_.IntNumber)(this.nextReqId++),sessionId:this.session.id,sessionKey:this.session.key},n=await this.makeRequest(e);if(n.type==="Fail")throw new Error(n.error||"failed to authentcate")}sendIsLinked(){let e={type:"IsLinked",id:(0,j_.IntNumber)(this.nextReqId++),sessionId:this.session.id};this.sendData(e)}sendGetSessionConfig(){let e={type:"GetSessionConfig",id:(0,j_.IntNumber)(this.nextReqId++),sessionId:this.session.id};this.sendData(e)}};CY.WalletLinkConnection=nhe});var vp0=D(ahe=>{"use strict";u();p();Object.defineProperty(ahe,"__esModule",{value:!0});ahe.default='@namespace svg "http://www.w3.org/2000/svg";.-cbwsdk-css-reset,.-cbwsdk-css-reset *{animation:none;animation-delay:0;animation-direction:normal;animation-duration:0;animation-fill-mode:none;animation-iteration-count:1;animation-name:none;animation-play-state:running;animation-timing-function:ease;backface-visibility:visible;background:0;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position:0 0;background-position-x:0;background-position-y:0;background-repeat:repeat;background-size:auto auto;border:0;border-style:none;border-width:medium;border-color:inherit;border-bottom:0;border-bottom-color:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-style:none;border-bottom-width:medium;border-collapse:separate;border-image:none;border-left:0;border-left-color:inherit;border-left-style:none;border-left-width:medium;border-radius:0;border-right:0;border-right-color:inherit;border-right-style:none;border-right-width:medium;border-spacing:0;border-top:0;border-top-color:inherit;border-top-left-radius:0;border-top-right-radius:0;border-top-style:none;border-top-width:medium;box-shadow:none;box-sizing:border-box;caption-side:top;clear:none;clip:auto;color:inherit;columns:auto;column-count:auto;column-fill:balance;column-gap:normal;column-rule:medium none currentColor;column-rule-color:currentColor;column-rule-style:none;column-rule-width:none;column-span:1;column-width:auto;counter-increment:none;counter-reset:none;direction:ltr;empty-cells:show;float:none;font:normal;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;height:auto;hyphens:none;letter-spacing:normal;line-height:normal;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;margin:0;margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;opacity:1;orphans:0;outline:0;outline-color:invert;outline-style:none;outline-width:medium;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50% 50%;pointer-events:auto;position:static;quotes:"\\201C" "\\201D" "\\2018" "\\2019";tab-size:8;table-layout:auto;text-align:inherit;text-align-last:auto;text-decoration:none;text-decoration-color:inherit;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-shadow:none;text-transform:none;transform:none;transform-style:flat;transition:none;transition-delay:0s;transition-duration:0s;transition-property:none;transition-timing-function:ease;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;widows:0;word-spacing:normal;z-index:auto}.-cbwsdk-css-reset strong{font-weight:bold}.-cbwsdk-css-reset *{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;line-height:1}.-cbwsdk-css-reset [class*=container]{margin:0;padding:0}.-cbwsdk-css-reset style{display:none}'});var rhe=D(K_=>{"use strict";u();p();var _8n=K_&&K_.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(K_,"__esModule",{value:!0});K_.injectCssReset=void 0;var A8n=_8n(vp0());function C8n(){let t=document.createElement("style");t.type="text/css",t.appendChild(document.createTextNode(A8n.default)),document.documentElement.appendChild(t)}K_.injectCssReset=C8n});var uc={};V0(uc,{Component:()=>yD,Fragment:()=>wD,cloneElement:()=>D8n,createContext:()=>P8n,createElement:()=>Sp0,createRef:()=>k8n,h:()=>Sp0,hydrate:()=>Fp0,isValidElement:()=>_p0,options:()=>sf,render:()=>Lp0,toChildArray:()=>Dp0});function Ph(t,e){for(var n in e)t[n]=e[n];return t}function kp0(t){var e=t.parentNode;e&&e.removeChild(t)}function Sp0(t,e,n){var a,r,f,i={};for(f in e)f=="key"?a=e[f]:f=="ref"?r=e[f]:i[f]=e[f];if(arguments.length>2&&(i.children=arguments.length>3?vD.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(f in t.defaultProps)i[f]===void 0&&(i[f]=t.defaultProps[f]);return mD(t,i,a,r,null)}function mD(t,e,n,a,r){var f={type:t,props:e,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:r??++Ep0,__i:-1,__u:0};return r==null&&sf.vnode!=null&&sf.vnode(f),f}function k8n(){return{current:null}}function wD(t){return t.children}function yD(t,e){this.props=t,this.context=e}function yg(t,e){if(e==null)return t.__?yg(t.__,t.__i+1):null;for(var n;ee&&mg.sort(fhe));kY.__r=0}function Mp0(t,e,n,a,r,f,i,s,o,c,d){var l,h,y,v,S,O=a&&a.__k||Ip0,F=e.length;for(n.__d=o,S8n(n,e,O),o=n.__d,l=0;l0?mD(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)!=null?(r.__=t,r.__b=t.__b+1,s=R8n(r,n,i,d),r.__i=s,f=null,s!==-1&&(d--,(f=n[s])&&(f.__u|=131072)),f==null||f.__v===null?(s==-1&&l--,typeof r.type!="function"&&(r.__u|=65536)):s!==i&&(s===i+1?l++:s>i?d>o-i?l+=s-i:l--:s(o!=null&&!(131072&o.__u)?1:0))for(;i>=0||s=0){if((o=e[i])&&!(131072&o.__u)&&r==o.key&&f===o.type)return i;i--}if(s2&&(s.children=arguments.length>3?vD.call(arguments,2):n),mD(t.type,s,a||t.key,r||t.ref,null)}function P8n(t,e){var n={__c:e="__cC"+Cp0++,__:t,Consumer:function(a,r){return a.children(r)},Provider:function(a){var r,f;return this.getChildContext||(r=[],(f={})[e]=this,this.getChildContext=function(){return f},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&r.some(function(s){s.__e=!0,ohe(s)})},this.sub=function(i){r.push(i);var s=i.componentWillUnmount;i.componentWillUnmount=function(){r.splice(r.indexOf(i),1),s&&s.call(i)}}),a.children}};return n.Provider.__=n.Consumer.contextType=n}var vD,sf,Ep0,_p0,mg,wp0,Ap0,fhe,dhe,ihe,she,Cp0,gD,Ip0,I8n,SY,w1=ce(()=>{u();p();gD={},Ip0=[],I8n=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,SY=Array.isArray;vD=Ip0.slice,sf={__e:function(t,e,n,a){for(var r,f,i;e=e.__;)if((r=e.__c)&&!r.__)try{if((f=r.constructor)&&f.getDerivedStateFromError!=null&&(r.setState(f.getDerivedStateFromError(t)),i=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(t,a||{}),i=r.__d),i)return r.__E=r}catch(s){t=s}throw t}},Ep0=0,_p0=function(t){return t!=null&&t.constructor==null},yD.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ph({},this.state),typeof t=="function"&&(t=t(Ph({},n),this.props)),t&&Ph(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),ohe(this))},yD.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),ohe(this))},yD.prototype.render=wD,mg=[],Ap0=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,fhe=function(t,e){return t.__v.__b-e.__v.__b},kY.__r=0,dhe=0,ihe=xp0(!1),she=xp0(!0),Cp0=0});var Q_=D((EQa,phe)=>{u();p();function Op0(t){var e,n,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;eO8n,useContext:()=>U8n,useDebugValue:()=>H8n,useEffect:()=>L8n,useErrorBoundary:()=>z8n,useId:()=>W8n,useImperativeHandle:()=>N8n,useLayoutEffect:()=>$p0,useMemo:()=>mhe,useReducer:()=>Yp0,useRef:()=>F8n,useState:()=>Vp0});function gg(t,e){Pf.__h&&Pf.__h(Mr,t,V_||e),V_=0;var n=Mr.__H||(Mr.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:RY}),n.__[t]}function Vp0(t){return V_=1,Yp0(Jp0,t)}function Yp0(t,e,n){var a=gg(Lh++,2);if(a.t=t,!a.__c&&(a.__=[n?n(e):Jp0(void 0,e),function(s){var o=a.__N?a.__N[0]:a.__[0],c=a.t(o,s);o!==c&&(a.__N=[c,a.__[1]],a.__c.setState({}))}],a.__c=Mr,!Mr.u)){var r=function(s,o,c){if(!a.__c.__H)return!0;var d=a.__c.__H.__.filter(function(h){return!!h.__c});if(d.every(function(h){return!h.__N}))return!f||f.call(this,s,o,c);var l=!1;return d.forEach(function(h){if(h.__N){var y=h.__[0];h.__=h.__N,h.__N=void 0,y!==h.__[0]&&(l=!0)}}),!(!l&&a.__c.props===s)&&(!f||f.call(this,s,o,c))};Mr.u=!0;var f=Mr.shouldComponentUpdate,i=Mr.componentWillUpdate;Mr.componentWillUpdate=function(s,o,c){if(this.__e){var d=f;f=void 0,r(s,o,c),f=d}i&&i.call(this,s,o,c)},Mr.shouldComponentUpdate=r}return a.__N||a.__}function L8n(t,e){var n=gg(Lh++,3);!Pf.__s&&yhe(n.__H,e)&&(n.__=t,n.i=e,Mr.__H.__h.push(n))}function $p0(t,e){var n=gg(Lh++,4);!Pf.__s&&yhe(n.__H,e)&&(n.__=t,n.i=e,Mr.__h.push(n))}function F8n(t){return V_=5,mhe(function(){return{current:t}},[])}function N8n(t,e,n){V_=6,$p0(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function mhe(t,e){var n=gg(Lh++,7);return yhe(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function O8n(t,e){return V_=8,mhe(function(){return t},e)}function U8n(t){var e=Mr.context[t.__c],n=gg(Lh++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(Mr)),e.props.value):t.__}function H8n(t,e){Pf.useDebugValue&&Pf.useDebugValue(e?e(t):t)}function z8n(t){var e=gg(Lh++,10),n=Vp0();return e.__=t,Mr.componentDidCatch||(Mr.componentDidCatch=function(a,r){e.__&&e.__(a,r),n[1](a)}),[n[0],function(){n[1](void 0)}]}function W8n(){var t=gg(Lh++,11);if(!t.__){for(var e=Mr.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function q8n(){for(var t;t=Qp0.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(MY),t.__H.__h.forEach(bhe),t.__H.__h=[]}catch(e){t.__H.__h=[],Pf.__e(e,t.__v)}}function j8n(t){var e,n=function(){clearTimeout(a),Kp0&&cancelAnimationFrame(e),setTimeout(t)},a=setTimeout(n,100);Kp0&&(e=requestAnimationFrame(n))}function MY(t){var e=Mr,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),Mr=e}function bhe(t){var e=Mr;t.__c=t.__(),Mr=e}function yhe(t,e){return!t||t.length!==e.length||e.some(function(n,a){return n!==t[a]})}function Jp0(t,e){return typeof e=="function"?e(t):e}var Lh,Mr,hhe,Up0,V_,Qp0,RY,Pf,Hp0,zp0,Wp0,qp0,jp0,Gp0,Kp0,xD=ce(()=>{u();p();w1();V_=0,Qp0=[],RY=[],Pf=sf,Hp0=Pf.__b,zp0=Pf.__r,Wp0=Pf.diffed,qp0=Pf.__c,jp0=Pf.unmount,Gp0=Pf.__;Pf.__b=function(t){Mr=null,Hp0&&Hp0(t)},Pf.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Gp0&&Gp0(t,e)},Pf.__r=function(t){zp0&&zp0(t),Lh=0;var e=(Mr=t.__c).__H;e&&(hhe===Mr?(e.__h=[],Mr.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=RY,n.__N=n.i=void 0})):(e.__h.forEach(MY),e.__h.forEach(bhe),e.__h=[],Lh=0)),hhe=Mr},Pf.diffed=function(t){Wp0&&Wp0(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Qp0.push(e)!==1&&Up0===Pf.requestAnimationFrame||((Up0=Pf.requestAnimationFrame)||j8n)(q8n)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==RY&&(n.__=n.__V),n.i=void 0,n.__V=RY})),hhe=Mr=null},Pf.__c=function(t,e){e.some(function(n){try{n.__h.forEach(MY),n.__h=n.__h.filter(function(a){return!a.__||bhe(a)})}catch(a){e.some(function(r){r.__h&&(r.__h=[])}),e=[],Pf.__e(a,n.__v)}}),qp0&&qp0(t,e)},Pf.unmount=function(t){jp0&&jp0(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(a){try{MY(a)}catch(r){e=r}}),n.__H=void 0,e&&Pf.__e(e,n.__v))};Kp0=typeof requestAnimationFrame=="function"});var Zp0=D(BY=>{"use strict";u();p();Object.defineProperty(BY,"__esModule",{value:!0});BY.CloseIcon=void 0;var Xp0=(w1(),vn(uc));function G8n(t){return(0,Xp0.h)("svg",Object.assign({width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),(0,Xp0.h)("path",{d:"M13.7677 13L12.3535 14.4142L18.3535 20.4142L12.3535 26.4142L13.7677 27.8284L19.7677 21.8284L25.7677 27.8284L27.1819 26.4142L21.1819 20.4142L27.1819 14.4142L25.7677 13L19.7677 19L13.7677 13Z"}))}BY.CloseIcon=G8n});var e80=D(PY=>{"use strict";u();p();Object.defineProperty(PY,"__esModule",{value:!0});PY.CoinbaseWalletRound=void 0;var DY=(w1(),vn(uc));function K8n(t){return(0,DY.h)("svg",Object.assign({width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),(0,DY.h)("circle",{cx:"14",cy:"14",r:"14",fill:"#0052FF"}),(0,DY.h)("path",{d:"M23.8521 14.0003C23.8521 19.455 19.455 23.8521 14.0003 23.8521C8.54559 23.8521 4.14844 19.455 4.14844 14.0003C4.14844 8.54559 8.54559 4.14844 14.0003 4.14844C19.455 4.14844 23.8521 8.54559 23.8521 14.0003Z",fill:"white"}),(0,DY.h)("path",{d:"M11.1855 12.5042C11.1855 12.0477 11.1855 11.7942 11.2835 11.642C11.3814 11.4899 11.4793 11.3377 11.6261 11.287C11.8219 11.1855 12.0178 11.1855 12.5073 11.1855H15.4934C15.983 11.1855 16.1788 11.1855 16.3746 11.287C16.5215 11.3884 16.6683 11.4899 16.7173 11.642C16.8152 11.8449 16.8152 12.0477 16.8152 12.5042V15.4965C16.8152 15.953 16.8152 16.2066 16.7173 16.3587C16.6194 16.5109 16.5215 16.663 16.3746 16.7137C16.1788 16.8152 15.983 16.8152 15.4934 16.8152H12.5073C12.0178 16.8152 11.8219 16.8152 11.6261 16.7137C11.4793 16.6123 11.3324 16.5109 11.2835 16.3587C11.1855 16.1558 11.1855 15.953 11.1855 15.4965V12.5042Z",fill:"#0052FF"}))}PY.CoinbaseWalletRound=K8n});var t80=D(LY=>{"use strict";u();p();Object.defineProperty(LY,"__esModule",{value:!0});LY.QRCodeIcon=void 0;var ED=(w1(),vn(uc));function Q8n(t){return(0,ED.h)("svg",Object.assign({width:"18",height:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),(0,ED.h)("path",{d:"M3 3V8.99939L5 8.99996V5H9V3H3Z"}),(0,ED.h)("path",{d:"M15 21L21 21V15.0006L19 15V19L15 19V21Z"}),(0,ED.h)("path",{d:"M21 9H19V5H15.0006L15 3H21V9Z"}),(0,ED.h)("path",{d:"M3 15V21H8.99939L8.99996 19H5L5 15H3Z"}))}LY.QRCodeIcon=Q8n});var i80=D((OQa,f80)=>{u();p();function n80(t){this.mode=G6.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,n=this.data.length;e65536?(a[0]=240|(r&1835008)>>>18,a[1]=128|(r&258048)>>>12,a[2]=128|(r&4032)>>>6,a[3]=128|r&63):r>2048?(a[0]=224|(r&61440)>>>12,a[1]=128|(r&4032)>>>6,a[2]=128|r&63):r>128?(a[0]=192|(r&1984)>>>6,a[1]=128|r&63):a[0]=r,this.parsedData.push(a)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}n80.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,n=this.parsedData.length;e=7&&this.setupTypeNumber(t),this.dataCache==null&&(this.dataCache=cp.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var a=-1;a<=7;a++)e+a<=-1||this.moduleCount<=e+a||(0<=n&&n<=6&&(a==0||a==6)||0<=a&&a<=6&&(n==0||n==6)||2<=n&&n<=4&&2<=a&&a<=4?this.modules[t+n][e+a]=!0:this.modules[t+n][e+a]=!1)},getBestMaskPattern:function(){for(var t=0,e=0,n=0;n<8;n++){this.makeImpl(!0,n);var a=Lf.getLostPoint(this);(n==0||t>a)&&(t=a,e=n)}return e},createMovieClip:function(t,e,n){var a=t.createEmptyMovieClip(e,n),r=1;this.make();for(var f=0;f>n&1)==1;this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=a}for(var n=0;n<18;n++){var a=!t&&(e>>n&1)==1;this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=a}},setupTypeInfo:function(t,e){for(var n=this.errorCorrectLevel<<3|e,a=Lf.getBCHTypeInfo(n),r=0;r<15;r++){var f=!t&&(a>>r&1)==1;r<6?this.modules[r][8]=f:r<8?this.modules[r+1][8]=f:this.modules[this.moduleCount-15+r][8]=f}for(var r=0;r<15;r++){var f=!t&&(a>>r&1)==1;r<8?this.modules[8][this.moduleCount-r-1]=f:r<9?this.modules[8][15-r-1+1]=f:this.modules[8][15-r-1]=f}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var n=-1,a=this.moduleCount-1,r=7,f=0,i=this.moduleCount-1;i>0;i-=2)for(i==6&&i--;;){for(var s=0;s<2;s++)if(this.modules[a][i-s]==null){var o=!1;f>>r&1)==1);var c=Lf.getMask(e,a,i-s);c&&(o=!o),this.modules[a][i-s]=o,r--,r==-1&&(f++,r=7)}if(a+=n,a<0||this.moduleCount<=a){a-=n,n=-n;break}}}};cp.PAD0=236;cp.PAD1=17;cp.createData=function(t,e,n){for(var a=op.getRSBlocks(t,e),r=new a80,f=0;fs*8)throw new Error("code length overflow. ("+r.getLengthInBits()+">"+s*8+")");for(r.getLengthInBits()+4<=s*8&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(!1);for(;!(r.getLengthInBits()>=s*8||(r.put(cp.PAD0,8),r.getLengthInBits()>=s*8));)r.put(cp.PAD1,8);return cp.createBytes(r,a)};cp.createBytes=function(t,e){for(var n=0,a=0,r=0,f=new Array(e.length),i=new Array(e.length),s=0;s=0?y.get(v):0}}for(var S=0,d=0;d=0;)e^=Lf.G15<=0;)e^=Lf.G18<>>=1;return e},getPatternPosition:function(t){return Lf.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case n4.PATTERN000:return(e+n)%2==0;case n4.PATTERN001:return e%2==0;case n4.PATTERN010:return n%3==0;case n4.PATTERN011:return(e+n)%3==0;case n4.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case n4.PATTERN101:return e*n%2+e*n%3==0;case n4.PATTERN110:return(e*n%2+e*n%3)%2==0;case n4.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new Y_([1],0),n=0;n5&&(n+=3+f-5)}for(var a=0;a=256;)t-=255;return Us.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(Oi=0;Oi<8;Oi++)Us.EXP_TABLE[Oi]=1<>>7-t%8&1)==1},put:function(t,e){for(var n=0;n>>e-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var ghe=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function r80(t){var e=this;if(this.options={padding:4,width:256,height:256,typeNumber:4,color:"#000000",background:"#ffffff",ecl:"M",image:{svg:"",width:0,height:0}},typeof t=="string"&&(t={content:t}),t)for(var n in t)this.options[n]=t[n];if(typeof this.options.content!="string")throw new Error("Expected 'content' as string!");if(this.options.content.length===0)throw new Error("Expected 'content' to be non-empty!");if(!(this.options.padding>=0))throw new Error("Expected 'padding' value to be non-negative!");if(!(this.options.width>0)||!(this.options.height>0))throw new Error("Expected 'width' or 'height' value to be higher than zero!");function a(c){switch(c){case"L":return a4.L;case"M":return a4.M;case"Q":return a4.Q;case"H":return a4.H;default:throw new Error("Unknwon error correction level: "+c)}}function r(c,d){for(var l=f(c),h=1,y=0,v=0,S=ghe.length;v<=S;v++){var O=ghe[v];if(!O)throw new Error("Content too long: expected "+y+" but got "+l);switch(d){case"L":y=O[0];break;case"M":y=O[1];break;case"Q":y=O[2];break;case"H":y=O[3];break;default:throw new Error("Unknwon error correction level: "+d)}if(l<=y)break;h++}if(h>ghe.length)throw new Error("Content too long");return h}function f(c){var d=encodeURI(c).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return d.length+(d.length!=c?3:0)}var i=this.options.content,s=r(i,this.options.ecl),o=a(this.options.ecl);this.qrcode=new cp(s,o),this.qrcode.addData(i),this.qrcode.make()}r80.prototype.svg=function(t){var e=this.options||{},n=this.qrcode.modules;typeof t>"u"&&(t={container:e.container||"svg"});for(var a=typeof e.pretty<"u"?!!e.pretty:!0,r=a?" ":"",f=a?`\r -`:"",i=e.width,s=e.height,o=n.length,c=i/(o+2*e.padding),d=s/(o+2*e.padding),l=typeof e.join<"u"?!!e.join:!1,h=typeof e.swap<"u"?!!e.swap:!1,y=typeof e.xmlDeclaration<"u"?!!e.xmlDeclaration:!0,v=typeof e.predefined<"u"?!!e.predefined:!1,S=v?r+''+f:"",O=r+''+f,F="",z="",W=0;W'+f:F+=r+''+f}}l&&(F=r+'');let T="";if(this.options.image!==void 0&&this.options.image.svg){let w=i*this.options.image.width/100,m=s*this.options.image.height/100,A=i/2-w/2,P=s/2-m/2;T+=``,T+=this.options.image.svg+f,T+=""}var N="";switch(t.container){case"svg":y&&(N+=''+f),N+=''+f,N+=S+O+F,N+=T,N+="";break;case"svg-viewbox":y&&(N+=''+f),N+=''+f,N+=S+O+F,N+=T,N+="";break;case"g":N+=''+f,N+=S+O+F,N+=T,N+="";break;default:N+=(S+O+F+T).replace(/^\s+/,"");break}return N};f80.exports=r80});var o80=D($_=>{"use strict";u();p();var V8n=$_&&$_.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty($_,"__esModule",{value:!0});$_.QRCode=void 0;var Y8n=(w1(),vn(uc)),s80=(xD(),vn(TD)),$8n=V8n(i80()),J8n=t=>{let[e,n]=(0,s80.useState)("");return(0,s80.useEffect)(()=>{var a,r;let f=new $8n.default({content:t.content,background:t.bgColor||"#ffffff",color:t.fgColor||"#000000",container:"svg",ecl:"M",width:(a=t.width)!==null&&a!==void 0?a:256,height:(r=t.height)!==null&&r!==void 0?r:256,padding:0,image:t.image}),i=_.Buffer.from(f.svg(),"utf8").toString("base64");n(`data:image/svg+xml;base64,${i}`)},[t.bgColor,t.content,t.fgColor,t.height,t.image,t.width]),e?(0,Y8n.h)("img",{src:e,alt:"QR Code"}):null};$_.QRCode=J8n});var c80=D(vhe=>{"use strict";u();p();Object.defineProperty(vhe,"__esModule",{value:!0});vhe.default=".-cbwsdk-css-reset .-cbwsdk-spinner{display:inline-block}.-cbwsdk-css-reset .-cbwsdk-spinner svg{display:inline-block;animation:2s linear infinite -cbwsdk-spinner-svg}.-cbwsdk-css-reset .-cbwsdk-spinner svg circle{animation:1.9s ease-in-out infinite both -cbwsdk-spinner-circle;display:block;fill:rgba(0,0,0,0);stroke-dasharray:283;stroke-dashoffset:280;stroke-linecap:round;stroke-width:10px;transform-origin:50% 50%}@keyframes -cbwsdk-spinner-svg{0%{transform:rotateZ(0deg)}100%{transform:rotateZ(360deg)}}@keyframes -cbwsdk-spinner-circle{0%,25%{stroke-dashoffset:280;transform:rotate(0)}50%,75%{stroke-dashoffset:75;transform:rotate(45deg)}100%{stroke-dashoffset:280;transform:rotate(360deg)}}"});var d80=D(J_=>{"use strict";u();p();var X8n=J_&&J_.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(J_,"__esModule",{value:!0});J_.Spinner=void 0;var FY=(w1(),vn(uc)),Z8n=X8n(c80()),ehn=t=>{var e;let n=(e=t.size)!==null&&e!==void 0?e:64,a=t.color||"#000";return(0,FY.h)("div",{class:"-cbwsdk-spinner"},(0,FY.h)("style",null,Z8n.default),(0,FY.h)("svg",{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",style:{width:n,height:n}},(0,FY.h)("circle",{style:{cx:50,cy:50,r:45,stroke:a}})))};J_.Spinner=ehn});var l80=D(whe=>{"use strict";u();p();Object.defineProperty(whe,"__esModule",{value:!0});whe.default=".-cbwsdk-css-reset .-cbwsdk-connect-content{height:430px;width:700px;border-radius:12px;padding:30px}.-cbwsdk-css-reset .-cbwsdk-connect-content.light{background:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content.dark{background:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-connect-content-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 30px}.-cbwsdk-css-reset .-cbwsdk-connect-content-heading{font-style:normal;font-weight:500;font-size:28px;line-height:36px;margin:0}.-cbwsdk-css-reset .-cbwsdk-connect-content-heading.light{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-connect-content-heading.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content-layout{display:flex;flex-direction:row}.-cbwsdk-css-reset .-cbwsdk-connect-content-column-left{margin-right:30px;display:flex;flex-direction:column;justify-content:space-between}.-cbwsdk-css-reset .-cbwsdk-connect-content-column-right{flex:25%;margin-right:34px}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-wrapper{width:220px;height:220px;border-radius:12px;display:flex;justify-content:center;align-items:center;background:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.light{background-color:rgba(255,255,255,.95)}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.light>p{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.dark{background-color:rgba(10,11,13,.9)}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.dark>p{color:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting>p{font-size:12px;font-weight:bold;margin-top:16px}.-cbwsdk-css-reset .-cbwsdk-connect-content-update-app{border-radius:8px;font-size:14px;line-height:20px;padding:12px;width:339px}.-cbwsdk-css-reset .-cbwsdk-connect-content-update-app.light{background:#eef0f3;color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-connect-content-update-app.dark{background:#1e2025;color:#8a919e}.-cbwsdk-css-reset .-cbwsdk-cancel-button{-webkit-appearance:none;border:none;background:none;cursor:pointer;padding:0;margin:0}.-cbwsdk-css-reset .-cbwsdk-cancel-button-x{position:relative;display:block;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-wallet-steps{padding:0 0 0 16px;margin:0;width:100%;list-style:decimal}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item{list-style-type:decimal;display:list-item;font-style:normal;font-weight:400;font-size:16px;line-height:24px;margin-top:20px}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item.light{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item-wrapper{display:flex;align-items:center}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-pad-left{margin-left:6px}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon{display:flex;border-radius:50%;height:24px;width:24px}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon svg{margin:auto;display:block}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon.light{background:#0052ff}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon.dark{background:#588af5}.-cbwsdk-css-reset .-cbwsdk-connect-item{align-items:center;display:flex;flex-direction:row;padding:16px 24px;gap:12px;cursor:pointer;border-radius:100px;font-weight:600}.-cbwsdk-css-reset .-cbwsdk-connect-item.light{background:#f5f8ff;color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-connect-item.dark{background:#001033;color:#588af5}.-cbwsdk-css-reset .-cbwsdk-connect-item-copy-wrapper{margin:0 4px 0 8px}.-cbwsdk-css-reset .-cbwsdk-connect-item-title{margin:0 0 0;font-size:16px;line-height:24px;font-weight:500}.-cbwsdk-css-reset .-cbwsdk-connect-item-description{font-weight:400;font-size:14px;line-height:20px;margin:0}"});var h80=D(r4=>{"use strict";u();p();var u80=r4&&r4.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r4,"__esModule",{value:!0});r4.CoinbaseWalletSteps=r4.ConnectContent=void 0;var vg=u80(Q_()),ka=(w1(),vn(uc)),thn=fp(),nhn=pY(),ahn=Zp0(),rhn=e80(),fhn=t80(),ihn=o80(),shn=d80(),ohn=u80(l80()),The={title:"Coinbase Wallet app",description:"Connect with your self-custody wallet",steps:p80},chn=t=>t==="light"?"#FFFFFF":"#0A0B0D";function dhn(t){let{theme:e}=t,n=(0,thn.createQrUrl)(t.sessionId,t.sessionSecret,t.linkAPIUrl,t.isParentConnection,t.version,t.chainId),a=The.steps;return(0,ka.h)("div",{"data-testid":"connect-content",className:(0,vg.default)("-cbwsdk-connect-content",e)},(0,ka.h)("style",null,ohn.default),(0,ka.h)("div",{className:"-cbwsdk-connect-content-header"},(0,ka.h)("h2",{className:(0,vg.default)("-cbwsdk-connect-content-heading",e)},"Scan to connect with our mobile app"),t.onCancel&&(0,ka.h)("button",{type:"button",className:"-cbwsdk-cancel-button",onClick:t.onCancel},(0,ka.h)(ahn.CloseIcon,{fill:e==="light"?"#0A0B0D":"#FFFFFF"}))),(0,ka.h)("div",{className:"-cbwsdk-connect-content-layout"},(0,ka.h)("div",{className:"-cbwsdk-connect-content-column-left"},(0,ka.h)(lhn,{title:The.title,description:The.description,theme:e})),(0,ka.h)("div",{className:"-cbwsdk-connect-content-column-right"},(0,ka.h)("div",{className:"-cbwsdk-connect-content-qr-wrapper"},(0,ka.h)(ihn.QRCode,{content:n,width:200,height:200,fgColor:"#000",bgColor:"transparent"}),(0,ka.h)("input",{type:"hidden",name:"cbw-cbwsdk-version",value:nhn.LIB_VERSION}),(0,ka.h)("input",{type:"hidden",value:n})),(0,ka.h)(a,{theme:e}),!t.isConnected&&(0,ka.h)("div",{"data-testid":"connecting-spinner",className:(0,vg.default)("-cbwsdk-connect-content-qr-connecting",e)},(0,ka.h)(shn.Spinner,{size:36,color:e==="dark"?"#FFF":"#000"}),(0,ka.h)("p",null,"Connecting...")))))}r4.ConnectContent=dhn;function lhn({title:t,description:e,theme:n}){return(0,ka.h)("div",{className:(0,vg.default)("-cbwsdk-connect-item",n)},(0,ka.h)("div",null,(0,ka.h)(rhn.CoinbaseWalletRound,null)),(0,ka.h)("div",{className:"-cbwsdk-connect-item-copy-wrapper"},(0,ka.h)("h3",{className:"-cbwsdk-connect-item-title"},t),(0,ka.h)("p",{className:"-cbwsdk-connect-item-description"},e)))}function p80({theme:t}){return(0,ka.h)("ol",{className:"-cbwsdk-wallet-steps"},(0,ka.h)("li",{className:(0,vg.default)("-cbwsdk-wallet-steps-item",t)},(0,ka.h)("div",{className:"-cbwsdk-wallet-steps-item-wrapper"},"Open Coinbase Wallet app")),(0,ka.h)("li",{className:(0,vg.default)("-cbwsdk-wallet-steps-item",t)},(0,ka.h)("div",{className:"-cbwsdk-wallet-steps-item-wrapper"},(0,ka.h)("span",null,"Tap ",(0,ka.h)("strong",null,"Scan")," "),(0,ka.h)("span",{className:(0,vg.default)("-cbwsdk-wallet-steps-pad-left","-cbwsdk-wallet-steps-icon",t)},(0,ka.h)(fhn.QRCodeIcon,{fill:chn(t)})))))}r4.CoinbaseWalletSteps=p80});var m80=D(NY=>{"use strict";u();p();Object.defineProperty(NY,"__esModule",{value:!0});NY.ArrowLeftIcon=void 0;var b80=(w1(),vn(uc));function uhn(t){return(0,b80.h)("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},t),(0,b80.h)("path",{d:"M8.60675 0.155884L7.37816 1.28209L12.7723 7.16662H0V8.83328H12.6548L6.82149 14.6666L8 15.8451L15.8201 8.02501L8.60675 0.155884Z"}))}NY.ArrowLeftIcon=uhn});var y80=D(OY=>{"use strict";u();p();Object.defineProperty(OY,"__esModule",{value:!0});OY.LaptopIcon=void 0;var xhe=(w1(),vn(uc));function phn(t){return(0,xhe.h)("svg",Object.assign({width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},t),(0,xhe.h)("path",{d:"M1.8001 2.2002H12.2001V9.40019H1.8001V2.2002ZM3.4001 3.8002V7.80019H10.6001V3.8002H3.4001Z"}),(0,xhe.h)("path",{d:"M13.4001 10.2002H0.600098C0.600098 11.0838 1.31644 11.8002 2.2001 11.8002H11.8001C12.6838 11.8002 13.4001 11.0838 13.4001 10.2002Z"}))}OY.LaptopIcon=phn});var v80=D(UY=>{"use strict";u();p();Object.defineProperty(UY,"__esModule",{value:!0});UY.SafeIcon=void 0;var g80=(w1(),vn(uc));function hhn(t){return(0,g80.h)("svg",Object.assign({width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},t),(0,g80.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.600098 0.600098V11.8001H13.4001V0.600098H0.600098ZM7.0001 9.2001C5.3441 9.2001 4.0001 7.8561 4.0001 6.2001C4.0001 4.5441 5.3441 3.2001 7.0001 3.2001C8.6561 3.2001 10.0001 4.5441 10.0001 6.2001C10.0001 7.8561 8.6561 9.2001 7.0001 9.2001ZM0.600098 12.6001H3.8001V13.4001H0.600098V12.6001ZM10.2001 12.6001H13.4001V13.4001H10.2001V12.6001ZM8.8001 6.2001C8.8001 7.19421 7.99421 8.0001 7.0001 8.0001C6.00598 8.0001 5.2001 7.19421 5.2001 6.2001C5.2001 5.20598 6.00598 4.4001 7.0001 4.4001C7.99421 4.4001 8.8001 5.20598 8.8001 6.2001Z"}))}UY.SafeIcon=hhn});var w80=D(Ehe=>{"use strict";u();p();Object.defineProperty(Ehe,"__esModule",{value:!0});Ehe.default=".-cbwsdk-css-reset .-cbwsdk-try-extension{display:flex;margin-top:12px;height:202px;width:700px;border-radius:12px;padding:30px}.-cbwsdk-css-reset .-cbwsdk-try-extension.light{background:#fff}.-cbwsdk-css-reset .-cbwsdk-try-extension.dark{background:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-try-extension-column-half{flex:50%}.-cbwsdk-css-reset .-cbwsdk-try-extension-heading{font-style:normal;font-weight:500;font-size:25px;line-height:32px;margin:0;max-width:204px}.-cbwsdk-css-reset .-cbwsdk-try-extension-heading.light{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-try-extension-heading.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta{appearance:none;border:none;background:none;color:#0052ff;cursor:pointer;padding:0;text-decoration:none;display:block;font-weight:600;font-size:16px;line-height:24px}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta.light{color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta.dark{color:#588af5}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta-wrapper{display:flex;align-items:center;margin-top:12px}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta-icon{display:block;margin-left:4px;height:14px}.-cbwsdk-css-reset .-cbwsdk-try-extension-list{display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0;padding:0;list-style:none;height:100%}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item{display:flex;align-items:center;flex-flow:nowrap;margin-top:24px}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item:first-of-type{margin-top:0}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon-wrapper{display:block}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon{display:flex;height:32px;width:32px;border-radius:50%}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon svg{margin:auto;display:block}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon.light{background:#eef0f3}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon.dark{background:#1e2025}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-copy{display:block;font-weight:400;font-size:14px;line-height:20px;padding-left:12px}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-copy.light{color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-copy.dark{color:#8a919e}"});var x80=D(X_=>{"use strict";u();p();var T80=X_&&X_.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(X_,"__esModule",{value:!0});X_.TryExtensionContent=void 0;var wg=T80(Q_()),Ui=(w1(),vn(uc)),_he=(xD(),vn(TD)),bhn=m80(),mhn=y80(),yhn=v80(),ghn=T80(w80());function vhn({theme:t}){let[e,n]=(0,_he.useState)(!1),a=(0,_he.useCallback)(()=>{window.open("https://api.wallet.coinbase.com/rpc/v2/desktop/chrome","_blank")},[]),r=(0,_he.useCallback)(()=>{e?window.location.reload():(a(),n(!0))},[a,e]);return(0,Ui.h)("div",{class:(0,wg.default)("-cbwsdk-try-extension",t)},(0,Ui.h)("style",null,ghn.default),(0,Ui.h)("div",{class:"-cbwsdk-try-extension-column-half"},(0,Ui.h)("h3",{class:(0,wg.default)("-cbwsdk-try-extension-heading",t)},"Or try the Coinbase Wallet browser extension"),(0,Ui.h)("div",{class:"-cbwsdk-try-extension-cta-wrapper"},(0,Ui.h)("button",{class:(0,wg.default)("-cbwsdk-try-extension-cta",t),onClick:r},e?"Refresh":"Install"),(0,Ui.h)("div",null,!e&&(0,Ui.h)(bhn.ArrowLeftIcon,{class:"-cbwsdk-try-extension-cta-icon",fill:t==="light"?"#0052FF":"#588AF5"})))),(0,Ui.h)("div",{class:"-cbwsdk-try-extension-column-half"},(0,Ui.h)("ul",{class:"-cbwsdk-try-extension-list"},(0,Ui.h)("li",{class:"-cbwsdk-try-extension-list-item"},(0,Ui.h)("div",{class:"-cbwsdk-try-extension-list-item-icon-wrapper"},(0,Ui.h)("span",{class:(0,wg.default)("-cbwsdk-try-extension-list-item-icon",t)},(0,Ui.h)(mhn.LaptopIcon,{fill:t==="light"?"#0A0B0D":"#FFFFFF"}))),(0,Ui.h)("div",{class:(0,wg.default)("-cbwsdk-try-extension-list-item-copy",t)},"Connect with dapps with just one click on your desktop browser")),(0,Ui.h)("li",{class:"-cbwsdk-try-extension-list-item"},(0,Ui.h)("div",{class:"-cbwsdk-try-extension-list-item-icon-wrapper"},(0,Ui.h)("span",{class:(0,wg.default)("-cbwsdk-try-extension-list-item-icon",t)},(0,Ui.h)(yhn.SafeIcon,{fill:t==="light"?"#0A0B0D":"#FFFFFF"}))),(0,Ui.h)("div",{class:(0,wg.default)("-cbwsdk-try-extension-list-item-copy",t)},"Add an additional layer of security by using a supported Ledger hardware wallet")))))}X_.TryExtensionContent=vhn});var E80=D(Ahe=>{"use strict";u();p();Object.defineProperty(Ahe,"__esModule",{value:!0});Ahe.default=".-cbwsdk-css-reset .-cbwsdk-connect-dialog{z-index:2147483647;position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop{z-index:2147483647;position:fixed;top:0;left:0;right:0;bottom:0;transition:opacity .25s}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop.light{background-color:rgba(0,0,0,.5)}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop.dark{background-color:rgba(50,53,61,.4)}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop-hidden{opacity:0}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-box{display:flex;position:relative;flex-direction:column;transform:scale(1);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-box-hidden{opacity:0;transform:scale(0.85)}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-container{display:block}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-container-hidden{display:none}"});var A80=D(Z_=>{"use strict";u();p();var _80=Z_&&Z_.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Z_,"__esModule",{value:!0});Z_.ConnectDialog=void 0;var Che=_80(Q_()),Tg=(w1(),vn(uc)),Ihe=(xD(),vn(TD)),whn=h80(),Thn=x80(),xhn=_80(E80()),Ehn=t=>{let{isOpen:e,darkMode:n}=t,[a,r]=(0,Ihe.useState)(!e),[f,i]=(0,Ihe.useState)(!e);(0,Ihe.useEffect)(()=>{let o=[window.setTimeout(()=>{i(!e)},10)];return e?r(!1):o.push(window.setTimeout(()=>{r(!0)},360)),()=>{o.forEach(window.clearTimeout)}},[e]);let s=n?"dark":"light";return(0,Tg.h)("div",{class:(0,Che.default)("-cbwsdk-connect-dialog-container",a&&"-cbwsdk-connect-dialog-container-hidden")},(0,Tg.h)("style",null,xhn.default),(0,Tg.h)("div",{class:(0,Che.default)("-cbwsdk-connect-dialog-backdrop",s,f&&"-cbwsdk-connect-dialog-backdrop-hidden")}),(0,Tg.h)("div",{class:"-cbwsdk-connect-dialog"},(0,Tg.h)("div",{class:(0,Che.default)("-cbwsdk-connect-dialog-box",f&&"-cbwsdk-connect-dialog-box-hidden")},t.connectDisabled?null:(0,Tg.h)(whn.ConnectContent,{theme:s,version:t.version,sessionId:t.sessionId,sessionSecret:t.sessionSecret,linkAPIUrl:t.linkAPIUrl,isConnected:t.isConnected,isParentConnection:t.isParentConnection,chainId:t.chainId,onCancel:t.onCancel}),(0,Tg.h)(Thn.TryExtensionContent,{theme:s}))))};Z_.ConnectDialog=Ehn});var C80=D(HY=>{"use strict";u();p();Object.defineProperty(HY,"__esModule",{value:!0});HY.LinkFlow=void 0;var khe=(w1(),vn(uc)),_hn=A80(),She=class{constructor(e){this.connected=!1,this.chainId=1,this.isOpen=!1,this.onCancel=null,this.root=null,this.connectDisabled=!1,this.darkMode=e.darkMode,this.version=e.version,this.sessionId=e.sessionId,this.sessionSecret=e.sessionSecret,this.linkAPIUrl=e.linkAPIUrl,this.isParentConnection=e.isParentConnection}attach(e){this.root=document.createElement("div"),this.root.className="-cbwsdk-link-flow-root",e.appendChild(this.root),this.render()}setConnected(e){this.connected!==e&&(this.connected=e,this.render())}setChainId(e){this.chainId!==e&&(this.chainId=e,this.render())}detach(){var e;this.root&&((0,khe.render)(null,this.root),(e=this.root.parentElement)===null||e===void 0||e.removeChild(this.root))}setConnectDisabled(e){this.connectDisabled=e}open(e){this.isOpen=!0,this.onCancel=e.onCancel,this.render()}close(){this.isOpen=!1,this.onCancel=null,this.render()}render(){this.root&&(0,khe.render)((0,khe.h)(_hn.ConnectDialog,{darkMode:this.darkMode,version:this.version,sessionId:this.sessionId,sessionSecret:this.sessionSecret,linkAPIUrl:this.linkAPIUrl,isOpen:this.isOpen,isConnected:this.connected,isParentConnection:this.isParentConnection,chainId:this.chainId,onCancel:this.onCancel,connectDisabled:this.connectDisabled}),this.root)}};HY.LinkFlow=She});var I80=D(Rhe=>{"use strict";u();p();Object.defineProperty(Rhe,"__esModule",{value:!0});Rhe.default=".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;margin-right:9px !important;display:flex;align-items:center;justify-content:center;width:24px;height:24px;transition:opacity .25s}.-cbwsdk-css-reset .-gear-container *{user-select:none}.-cbwsdk-css-reset .-gear-container svg{opacity:0;position:absolute}.-cbwsdk-css-reset .-gear-icon{height:12px;width:12px;z-index:10000}.-cbwsdk-css-reset .-cbwsdk-snackbar{align-items:flex-end;display:flex;flex-direction:column;position:fixed;right:0;top:0;z-index:2147483647}.-cbwsdk-css-reset .-cbwsdk-snackbar *{user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance{display:flex;flex-direction:column;margin:8px 16px 0 16px;overflow:visible;text-align:left;transform:translateX(0);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header:hover .-gear-container svg{opacity:1}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header{display:flex;align-items:center;background:#fff;overflow:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-cblogo{margin:8px 8px 8px 8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-message{color:#000;font-size:13px;line-height:1.5;user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu{background:#fff;transition:opacity .25s ease-in-out,transform .25s linear,visibility 0s;visibility:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;opacity:0;flex-direction:column;padding-left:8px;padding-right:8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:last-child{margin-bottom:8px !important}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover{background:#f5f7f8;border-radius:6px;transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover span{color:#050f19;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover svg path{fill:#000;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item{visibility:inherit;height:35px;margin-top:8px;margin-bottom:0;display:flex;flex-direction:row;align-items:center;padding:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item *{visibility:inherit;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover{background:rgba(223,95,103,.2);transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover svg path{fill:#df5f67;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover span{color:#df5f67;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-info{color:#aaa;font-size:13px;margin:0 8px 0 32px;position:absolute}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-hidden{opacity:0;text-align:left;transform:translateX(25%);transition:opacity .5s linear}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-expanded .-cbwsdk-snackbar-instance-menu{opacity:1;display:flex;transform:translateY(8px);visibility:visible}"});var Dhe=D(Ed=>{"use strict";u();p();var k80=Ed&&Ed.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ed,"__esModule",{value:!0});Ed.SnackbarInstance=Ed.SnackbarContainer=Ed.Snackbar=void 0;var zY=k80(Q_()),Hi=(w1(),vn(uc)),Mhe=(xD(),vn(TD)),Ahn=k80(I80()),Chn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNDkyIDEwLjQxOWE4LjkzIDguOTMgMCAwMTguOTMtOC45M2gxMS4xNjNhOC45MyA4LjkzIDAgMDE4LjkzIDguOTN2MTEuMTYzYTguOTMgOC45MyAwIDAxLTguOTMgOC45M0gxMC40MjJhOC45MyA4LjkzIDAgMDEtOC45My04LjkzVjEwLjQxOXoiIGZpbGw9IiMxNjUyRjAiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEwLjQxOSAwSDIxLjU4QzI3LjMzNSAwIDMyIDQuNjY1IDMyIDEwLjQxOVYyMS41OEMzMiAyNy4zMzUgMjcuMzM1IDMyIDIxLjU4MSAzMkgxMC40MkM0LjY2NSAzMiAwIDI3LjMzNSAwIDIxLjU4MVYxMC40MkMwIDQuNjY1IDQuNjY1IDAgMTAuNDE5IDB6bTAgMS40ODhhOC45MyA4LjkzIDAgMDAtOC45MyA4LjkzdjExLjE2M2E4LjkzIDguOTMgMCAwMDguOTMgOC45M0gyMS41OGE4LjkzIDguOTMgMCAwMDguOTMtOC45M1YxMC40MmE4LjkzIDguOTMgMCAwMC04LjkzLTguOTNIMTAuNDJ6IiBmaWxsPSIjZmZmIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS45OTggMjYuMDQ5Yy01LjU0OSAwLTEwLjA0Ny00LjQ5OC0xMC4wNDctMTAuMDQ3IDAtNS41NDggNC40OTgtMTAuMDQ2IDEwLjA0Ny0xMC4wNDYgNS41NDggMCAxMC4wNDYgNC40OTggMTAuMDQ2IDEwLjA0NiAwIDUuNTQ5LTQuNDk4IDEwLjA0Ny0xMC4wNDYgMTAuMDQ3eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMi43NjIgMTQuMjU0YzAtLjgyMi42NjctMS40ODkgMS40ODktMS40ODloMy40OTdjLjgyMiAwIDEuNDg4LjY2NiAxLjQ4OCAxLjQ4OXYzLjQ5N2MwIC44MjItLjY2NiAxLjQ4OC0xLjQ4OCAxLjQ4OGgtMy40OTdhMS40ODggMS40ODggMCAwMS0xLjQ4OS0xLjQ4OHYtMy40OTh6IiBmaWxsPSIjMTY1MkYwIi8+PC9zdmc+",Ihn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDYuNzV2LTEuNWwtMS43Mi0uNTdjLS4wOC0uMjctLjE5LS41Mi0uMzItLjc3bC44MS0xLjYyLTEuMDYtMS4wNi0xLjYyLjgxYy0uMjQtLjEzLS41LS4yNC0uNzctLjMyTDYuNzUgMGgtMS41bC0uNTcgMS43MmMtLjI3LjA4LS41My4xOS0uNzcuMzJsLTEuNjItLjgxLTEuMDYgMS4wNi44MSAxLjYyYy0uMTMuMjQtLjI0LjUtLjMyLjc3TDAgNS4yNXYxLjVsMS43Mi41N2MuMDguMjcuMTkuNTMuMzIuNzdsLS44MSAxLjYyIDEuMDYgMS4wNiAxLjYyLS44MWMuMjQuMTMuNS4yMy43Ny4zMkw1LjI1IDEyaDEuNWwuNTctMS43MmMuMjctLjA4LjUyLS4xOS43Ny0uMzJsMS42Mi44MSAxLjA2LTEuMDYtLjgxLTEuNjJjLjEzLS4yNC4yMy0uNS4zMi0uNzdMMTIgNi43NXpNNiA4LjVhMi41IDIuNSAwIDAxMC01IDIuNSAyLjUgMCAwMTAgNXoiIGZpbGw9IiMwNTBGMTkiLz48L3N2Zz4=",Bhe=class{constructor(e){this.items=new Map,this.nextItemKey=0,this.root=null,this.darkMode=e.darkMode}attach(e){this.root=document.createElement("div"),this.root.className="-cbwsdk-snackbar-root",e.appendChild(this.root),this.render()}presentItem(e){let n=this.nextItemKey++;return this.items.set(n,e),this.render(),()=>{this.items.delete(n),this.render()}}clear(){this.items.clear(),this.render()}render(){this.root&&(0,Hi.render)((0,Hi.h)("div",null,(0,Hi.h)(Ed.SnackbarContainer,{darkMode:this.darkMode},Array.from(this.items.entries()).map(([e,n])=>(0,Hi.h)(Ed.SnackbarInstance,Object.assign({},n,{key:e}))))),this.root)}};Ed.Snackbar=Bhe;var khn=t=>(0,Hi.h)("div",{class:(0,zY.default)("-cbwsdk-snackbar-container")},(0,Hi.h)("style",null,Ahn.default),(0,Hi.h)("div",{class:"-cbwsdk-snackbar"},t.children));Ed.SnackbarContainer=khn;var Shn=({autoExpand:t,message:e,menuItems:n})=>{let[a,r]=(0,Mhe.useState)(!0),[f,i]=(0,Mhe.useState)(t??!1);(0,Mhe.useEffect)(()=>{let o=[window.setTimeout(()=>{r(!1)},1),window.setTimeout(()=>{i(!0)},1e4)];return()=>{o.forEach(window.clearTimeout)}});let s=()=>{i(!f)};return(0,Hi.h)("div",{class:(0,zY.default)("-cbwsdk-snackbar-instance",a&&"-cbwsdk-snackbar-instance-hidden",f&&"-cbwsdk-snackbar-instance-expanded")},(0,Hi.h)("div",{class:"-cbwsdk-snackbar-instance-header",onClick:s},(0,Hi.h)("img",{src:Chn,class:"-cbwsdk-snackbar-instance-header-cblogo"})," ",(0,Hi.h)("div",{class:"-cbwsdk-snackbar-instance-header-message"},e),(0,Hi.h)("div",{class:"-gear-container"},!f&&(0,Hi.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Hi.h)("circle",{cx:"12",cy:"12",r:"12",fill:"#F5F7F8"})),(0,Hi.h)("img",{src:Ihn,class:"-gear-icon",title:"Expand"}))),n&&n.length>0&&(0,Hi.h)("div",{class:"-cbwsdk-snackbar-instance-menu"},n.map((o,c)=>(0,Hi.h)("div",{class:(0,zY.default)("-cbwsdk-snackbar-instance-menu-item",o.isRed&&"-cbwsdk-snackbar-instance-menu-item-is-red"),onClick:o.onClick,key:c},(0,Hi.h)("svg",{width:o.svgWidth,height:o.svgHeight,viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Hi.h)("path",{"fill-rule":o.defaultFillRule,"clip-rule":o.defaultClipRule,d:o.path,fill:"#AAAAAA"})),(0,Hi.h)("span",{class:(0,zY.default)("-cbwsdk-snackbar-instance-menu-item-info",o.isRed&&"-cbwsdk-snackbar-instance-menu-item-info-is-red")},o.info)))))};Ed.SnackbarInstance=Shn});var Lhe=D(WY=>{"use strict";u();p();Object.defineProperty(WY,"__esModule",{value:!0});WY.WalletLinkRelayUI=void 0;var Rhn=rhe(),Mhn=C80(),Bhn=Dhe(),Phe=class{constructor(e){this.standalone=null,this.attached=!1,this.snackbar=new Bhn.Snackbar({darkMode:e.darkMode}),this.linkFlow=new Mhn.LinkFlow({darkMode:e.darkMode,version:e.version,sessionId:e.session.id,sessionSecret:e.session.secret,linkAPIUrl:e.linkAPIUrl,isParentConnection:!1})}attach(){if(this.attached)throw new Error("Coinbase Wallet SDK UI is already attached");let e=document.documentElement,n=document.createElement("div");n.className="-cbwsdk-css-reset",e.appendChild(n),this.linkFlow.attach(n),this.snackbar.attach(n),this.attached=!0,(0,Rhn.injectCssReset)()}setConnected(e){this.linkFlow.setConnected(e)}setChainId(e){this.linkFlow.setChainId(e)}setConnectDisabled(e){this.linkFlow.setConnectDisabled(e)}addEthereumChain(){}watchAsset(){}switchEthereumChain(){}requestEthereumAccounts(e){this.linkFlow.open({onCancel:e.onCancel})}hideRequestEthereumAccounts(){this.linkFlow.close()}signEthereumMessage(){}signEthereumTransaction(){}submitEthereumTransaction(){}ethereumAddressFromSignedMessage(){}showConnecting(e){let n;return e.isUnlinkedErrorState?n={autoExpand:!0,message:"Connection lost",menuItems:[{isRed:!1,info:"Reset connection",svgWidth:"10",svgHeight:"11",path:"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z",defaultFillRule:"evenodd",defaultClipRule:"evenodd",onClick:e.onResetConnection}]}:n={message:"Confirm on phone",menuItems:[{isRed:!0,info:"Cancel transaction",svgWidth:"11",svgHeight:"11",path:"M10.3711 1.52346L9.21775 0.370117L5.37109 4.21022L1.52444 0.370117L0.371094 1.52346L4.2112 5.37012L0.371094 9.21677L1.52444 10.3701L5.37109 6.53001L9.21775 10.3701L10.3711 9.21677L6.53099 5.37012L10.3711 1.52346Z",defaultFillRule:"inherit",defaultClipRule:"inherit",onClick:e.onCancel},{isRed:!1,info:"Reset connection",svgWidth:"10",svgHeight:"11",path:"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z",defaultFillRule:"evenodd",defaultClipRule:"evenodd",onClick:e.onResetConnection}]},this.snackbar.presentItem(n)}reloadUI(){document.location.reload()}inlineAccountsResponse(){return!1}inlineAddEthereumChain(){return!1}inlineWatchAsset(){return!1}inlineSwitchEthereumChain(){return!1}setStandalone(e){this.standalone=e}isStandalone(){var e;return(e=this.standalone)!==null&&e!==void 0?e:!1}};WY.WalletLinkRelayUI=Phe});var Fhe=D(jY=>{"use strict";u();p();Object.defineProperty(jY,"__esModule",{value:!0});jY.WalletLinkRelay=void 0;var eA=lD(),Dhn=pD(),Ff=fp(),xg=gY(),S80=vY(),f4=TY(),Phn=gp0(),Eg=lY(),Lhn=Lhe(),qY=class t extends S80.RelayAbstract{constructor(e){var n;super(),this.accountsCallback=null,this.chainCallbackParams={chainId:"",jsonRpcUrl:""},this.chainCallback=null,this.dappDefaultChain=1,this.appName="",this.appLogoUrl=null,this.linkedUpdated=i=>{var s;this.isLinked=i;let o=this.storage.getItem(S80.LOCAL_STORAGE_ADDRESSES_KEY);if(i&&(this.session.linked=i),this.isUnlinkedErrorState=!1,o){let c=o.split(" "),d=this.storage.getItem("IsStandaloneSigning")==="true";if(c[0]!==""&&!i&&this.session.linked&&!d){this.isUnlinkedErrorState=!0;let l=this.getSessionIdHash();(s=this.diagnostic)===null||s===void 0||s.log(xg.EVENTS.UNLINKED_ERROR_STATE,{sessionIdHash:l})}}},this.metadataUpdated=(i,s)=>{this.storage.setItem(i,s)},this.chainUpdated=(i,s)=>{this.chainCallbackParams.chainId===i&&this.chainCallbackParams.jsonRpcUrl===s||(this.chainCallbackParams={chainId:i,jsonRpcUrl:s},this.chainCallback&&this.chainCallback(i,s))},this.accountUpdated=i=>{this.accountsCallback&&this.accountsCallback([i]),t.accountRequestCallbackIds.size>0&&(Array.from(t.accountRequestCallbackIds.values()).forEach(s=>{let o={type:"WEB3_RESPONSE",id:s,response:{method:"requestEthereumAccounts",result:[i]}};this.invokeCallback(Object.assign(Object.assign({},o),{id:s}))}),t.accountRequestCallbackIds.clear())},this.connectedUpdated=i=>{this.ui.setConnected(i)},this.resetAndReload=this.resetAndReload.bind(this),this.linkAPIUrl=e.linkAPIUrl,this.storage=e.storage,this.options=e;let{session:a,ui:r,connection:f}=this.subscribe();this._session=a,this.connection=f,this.relayEventManager=e.relayEventManager,this.diagnostic=e.diagnosticLogger,this._reloadOnDisconnect=(n=e.reloadOnDisconnect)!==null&&n!==void 0?n:!0,this.ui=r}subscribe(){let e=f4.Session.load(this.storage)||new f4.Session(this.storage).save(),{linkAPIUrl:n,diagnostic:a}=this,r=new Phn.WalletLinkConnection({session:e,linkAPIUrl:n,diagnostic:a,listener:this}),{version:f,darkMode:i}=this.options,s=this.options.uiConstructor({linkAPIUrl:n,version:f,darkMode:i,session:e});return r.connect(),{session:e,ui:s,connection:r}}attachUI(){this.ui.attach()}resetAndReload(){Promise.race([this.connection.setSessionMetadata("__destroyed","1"),new Promise(e=>setTimeout(()=>e(null),1e3))]).then(()=>{var e,n;let a=this.ui.isStandalone();(e=this.diagnostic)===null||e===void 0||e.log(xg.EVENTS.SESSION_STATE_CHANGE,{method:"relay::resetAndReload",sessionMetadataChange:"__destroyed, 1",sessionIdHash:this.getSessionIdHash()}),this.connection.destroy();let r=f4.Session.load(this.storage);if(r?.id===this._session.id?this.storage.clear():r&&((n=this.diagnostic)===null||n===void 0||n.log(xg.EVENTS.SKIPPED_CLEARING_SESSION,{sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:f4.Session.hash(r.id)})),this._reloadOnDisconnect){this.ui.reloadUI();return}this.accountsCallback&&this.accountsCallback([],!0);let{session:f,ui:i,connection:s}=this.subscribe();this._session=f,this.connection=s,this.ui=i,a&&this.ui.setStandalone&&this.ui.setStandalone(!0),this.options.headlessMode||this.attachUI()}).catch(e=>{var n;(n=this.diagnostic)===null||n===void 0||n.log(xg.EVENTS.FAILURE,{method:"relay::resetAndReload",message:`failed to reset and reload with ${e}`,sessionIdHash:this.getSessionIdHash()})})}setAppInfo(e,n){this.appName=e,this.appLogoUrl=n}getStorageItem(e){return this.storage.getItem(e)}get session(){return this._session}setStorageItem(e,n){this.storage.setItem(e,n)}signEthereumMessage(e,n,a,r){return this.sendRequest({method:"signEthereumMessage",params:{message:(0,Ff.hexStringFromBuffer)(e,!0),address:n,addPrefix:a,typedDataJson:r||null}})}ethereumAddressFromSignedMessage(e,n,a){return this.sendRequest({method:"ethereumAddressFromSignedMessage",params:{message:(0,Ff.hexStringFromBuffer)(e,!0),signature:(0,Ff.hexStringFromBuffer)(n,!0),addPrefix:a}})}signEthereumTransaction(e){return this.sendRequest({method:"signEthereumTransaction",params:{fromAddress:e.fromAddress,toAddress:e.toAddress,weiValue:(0,Ff.bigIntStringFromBN)(e.weiValue),data:(0,Ff.hexStringFromBuffer)(e.data,!0),nonce:e.nonce,gasPriceInWei:e.gasPriceInWei?(0,Ff.bigIntStringFromBN)(e.gasPriceInWei):null,maxFeePerGas:e.gasPriceInWei?(0,Ff.bigIntStringFromBN)(e.gasPriceInWei):null,maxPriorityFeePerGas:e.gasPriceInWei?(0,Ff.bigIntStringFromBN)(e.gasPriceInWei):null,gasLimit:e.gasLimit?(0,Ff.bigIntStringFromBN)(e.gasLimit):null,chainId:e.chainId,shouldSubmit:!1}})}signAndSubmitEthereumTransaction(e){return this.sendRequest({method:"signEthereumTransaction",params:{fromAddress:e.fromAddress,toAddress:e.toAddress,weiValue:(0,Ff.bigIntStringFromBN)(e.weiValue),data:(0,Ff.hexStringFromBuffer)(e.data,!0),nonce:e.nonce,gasPriceInWei:e.gasPriceInWei?(0,Ff.bigIntStringFromBN)(e.gasPriceInWei):null,maxFeePerGas:e.maxFeePerGas?(0,Ff.bigIntStringFromBN)(e.maxFeePerGas):null,maxPriorityFeePerGas:e.maxPriorityFeePerGas?(0,Ff.bigIntStringFromBN)(e.maxPriorityFeePerGas):null,gasLimit:e.gasLimit?(0,Ff.bigIntStringFromBN)(e.gasLimit):null,chainId:e.chainId,shouldSubmit:!0}})}submitEthereumTransaction(e,n){return this.sendRequest({method:"submitEthereumTransaction",params:{signedTransaction:(0,Ff.hexStringFromBuffer)(e,!0),chainId:n}})}scanQRCode(e){return this.sendRequest({method:"scanQRCode",params:{regExp:e}})}getQRCodeUrl(){return(0,Ff.createQrUrl)(this._session.id,this._session.secret,this.linkAPIUrl,!1,this.options.version,this.dappDefaultChain)}genericRequest(e,n){return this.sendRequest({method:"generic",params:{action:n,data:e}})}sendGenericMessage(e){return this.sendRequest(e)}sendRequest(e){let n=null,a=(0,Ff.randomBytesHex)(8),r=i=>{this.publishWeb3RequestCanceledEvent(a),this.handleErrorResponse(a,e.method,i),n?.()};return{promise:new Promise((i,s)=>{this.ui.isStandalone()||(n=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:r,onResetConnection:this.resetAndReload})),this.relayEventManager.callbacks.set(a,o=>{if(n?.(),(0,Eg.isErrorResponse)(o))return s(new Error(o.errorMessage));i(o)}),this.ui.isStandalone()?this.sendRequestStandalone(a,e):this.publishWeb3RequestEvent(a,e)}),cancel:r}}setConnectDisabled(e){this.ui.setConnectDisabled(e)}setAccountsCallback(e){this.accountsCallback=e}setChainCallback(e){this.chainCallback=e}setDappDefaultChainCallback(e){this.dappDefaultChain=e,this.ui instanceof Lhn.WalletLinkRelayUI&&this.ui.setChainId(e)}publishWeb3RequestEvent(e,n){var a;let r={type:"WEB3_REQUEST",id:e,request:n},f=f4.Session.load(this.storage);(a=this.diagnostic)===null||a===void 0||a.log(xg.EVENTS.WEB3_REQUEST,{eventId:r.id,method:`relay::${n.method}`,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:f?f4.Session.hash(f.id):"",isSessionMismatched:(f?.id!==this._session.id).toString()}),this.publishEvent("Web3Request",r,!0).then(i=>{var s;(s=this.diagnostic)===null||s===void 0||s.log(xg.EVENTS.WEB3_REQUEST_PUBLISHED,{eventId:r.id,method:`relay::${n.method}`,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:f?f4.Session.hash(f.id):"",isSessionMismatched:(f?.id!==this._session.id).toString()})}).catch(i=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:r.id,response:{method:n.method,errorMessage:i.message}})})}publishWeb3RequestCanceledEvent(e){let n={type:"WEB3_REQUEST_CANCELED",id:e};this.publishEvent("Web3RequestCanceled",n,!1).then()}publishEvent(e,n,a){return this.connection.publishEvent(e,n,a)}handleWeb3ResponseMessage(e){var n;let{response:a}=e;if((n=this.diagnostic)===null||n===void 0||n.log(xg.EVENTS.WEB3_RESPONSE,{eventId:e.id,method:`relay::${a.method}`,sessionIdHash:this.getSessionIdHash()}),a.method==="requestEthereumAccounts"){t.accountRequestCallbackIds.forEach(r=>this.invokeCallback(Object.assign(Object.assign({},e),{id:r}))),t.accountRequestCallbackIds.clear();return}this.invokeCallback(e)}handleErrorResponse(e,n,a,r){var f;let i=(f=a?.message)!==null&&f!==void 0?f:(0,eA.getMessageFromCode)(r);this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:e,response:{method:n,errorMessage:i,errorCode:r}})}invokeCallback(e){let n=this.relayEventManager.callbacks.get(e.id);n&&(n(e.response),this.relayEventManager.callbacks.delete(e.id))}requestEthereumAccounts(){let e={method:"requestEthereumAccounts",params:{appName:this.appName,appLogoUrl:this.appLogoUrl||null}},n=null,a=(0,Ff.randomBytesHex)(8),r=i=>{this.publishWeb3RequestCanceledEvent(a),this.handleErrorResponse(a,e.method,i),n?.()};return{promise:new Promise((i,s)=>{if(this.relayEventManager.callbacks.set(a,o=>{if(this.ui.hideRequestEthereumAccounts(),n?.(),(0,Eg.isErrorResponse)(o))return s(new Error(o.errorMessage));i(o)}),this.ui.inlineAccountsResponse()){let o=c=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:a,response:{method:"requestEthereumAccounts",result:c}})};this.ui.requestEthereumAccounts({onCancel:r,onAccounts:o})}else{let o=eA.standardErrors.provider.userRejectedRequest("User denied account authorization");this.ui.requestEthereumAccounts({onCancel:()=>r(o)})}t.accountRequestCallbackIds.add(a),!this.ui.inlineAccountsResponse()&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(a,e)}),cancel:r}}selectProvider(e){let n={method:"selectProvider",params:{providerOptions:e}},a=(0,Ff.randomBytesHex)(8),r=i=>{this.publishWeb3RequestCanceledEvent(a),this.handleErrorResponse(a,n.method,i)},f=new Promise((i,s)=>{this.relayEventManager.callbacks.set(a,d=>{if((0,Eg.isErrorResponse)(d))return s(new Error(d.errorMessage));i(d)});let o=d=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:a,response:{method:"selectProvider",result:Dhn.ProviderType.Unselected}})},c=d=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:a,response:{method:"selectProvider",result:d}})};this.ui.selectProvider&&this.ui.selectProvider({onApprove:c,onCancel:o,providerOptions:e})});return{cancel:r,promise:f}}watchAsset(e,n,a,r,f,i){let s={method:"watchAsset",params:{type:e,options:{address:n,symbol:a,decimals:r,image:f},chainId:i}},o=null,c=(0,Ff.randomBytesHex)(8),d=h=>{this.publishWeb3RequestCanceledEvent(c),this.handleErrorResponse(c,s.method,h),o?.()};this.ui.inlineWatchAsset()||(o=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:d,onResetConnection:this.resetAndReload}));let l=new Promise((h,y)=>{this.relayEventManager.callbacks.set(c,O=>{if(o?.(),(0,Eg.isErrorResponse)(O))return y(new Error(O.errorMessage));h(O)});let v=O=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:c,response:{method:"watchAsset",result:!1}})},S=()=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:c,response:{method:"watchAsset",result:!0}})};this.ui.inlineWatchAsset()&&this.ui.watchAsset({onApprove:S,onCancel:v,type:e,address:n,symbol:a,decimals:r,image:f,chainId:i}),!this.ui.inlineWatchAsset()&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(c,s)});return{cancel:d,promise:l}}addEthereumChain(e,n,a,r,f,i){let s={method:"addEthereumChain",params:{chainId:e,rpcUrls:n,blockExplorerUrls:r,chainName:f,iconUrls:a,nativeCurrency:i}},o=null,c=(0,Ff.randomBytesHex)(8),d=h=>{this.publishWeb3RequestCanceledEvent(c),this.handleErrorResponse(c,s.method,h),o?.()};return this.ui.inlineAddEthereumChain(e)||(o=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:d,onResetConnection:this.resetAndReload})),{promise:new Promise((h,y)=>{this.relayEventManager.callbacks.set(c,O=>{if(o?.(),(0,Eg.isErrorResponse)(O))return y(new Error(O.errorMessage));h(O)});let v=O=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:c,response:{method:"addEthereumChain",result:{isApproved:!1,rpcUrl:""}}})},S=O=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:c,response:{method:"addEthereumChain",result:{isApproved:!0,rpcUrl:O}}})};this.ui.inlineAddEthereumChain(e)&&this.ui.addEthereumChain({onCancel:v,onApprove:S,chainId:s.params.chainId,rpcUrls:s.params.rpcUrls,blockExplorerUrls:s.params.blockExplorerUrls,chainName:s.params.chainName,iconUrls:s.params.iconUrls,nativeCurrency:s.params.nativeCurrency}),!this.ui.inlineAddEthereumChain(e)&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(c,s)}),cancel:d}}switchEthereumChain(e,n){let a={method:"switchEthereumChain",params:Object.assign({chainId:e},{address:n})},r=(0,Ff.randomBytesHex)(8),f=s=>{this.publishWeb3RequestCanceledEvent(r),this.handleErrorResponse(r,a.method,s)};return{promise:new Promise((s,o)=>{this.relayEventManager.callbacks.set(r,l=>{if((0,Eg.isErrorResponse)(l)&&l.errorCode)return o(eA.standardErrors.provider.custom({code:l.errorCode,message:"Unrecognized chain ID. Try adding the chain using addEthereumChain first."}));if((0,Eg.isErrorResponse)(l))return o(new Error(l.errorMessage));s(l)});let c=l=>{var h;if(l){let y=(h=(0,eA.getErrorCode)(l))!==null&&h!==void 0?h:eA.standardErrorCodes.provider.unsupportedChain;this.handleErrorResponse(r,"switchEthereumChain",l instanceof Error?l:eA.standardErrors.provider.unsupportedChain(e),y)}else this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:r,response:{method:"switchEthereumChain",result:{isApproved:!1,rpcUrl:""}}})},d=l=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:r,response:{method:"switchEthereumChain",result:{isApproved:!0,rpcUrl:l}}})};this.ui.switchEthereumChain({onCancel:c,onApprove:d,chainId:a.params.chainId,address:a.params.address}),!this.ui.inlineSwitchEthereumChain()&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(r,a)}),cancel:f}}inlineAddEthereumChain(e){return this.ui.inlineAddEthereumChain(e)}getSessionIdHash(){return f4.Session.hash(this._session.id)}sendRequestStandalone(e,n){let a=f=>{this.handleErrorResponse(e,n.method,f)},r=f=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:e,response:f})};switch(n.method){case"signEthereumMessage":this.ui.signEthereumMessage({request:n,onSuccess:r,onCancel:a});break;case"signEthereumTransaction":this.ui.signEthereumTransaction({request:n,onSuccess:r,onCancel:a});break;case"submitEthereumTransaction":this.ui.submitEthereumTransaction({request:n,onSuccess:r,onCancel:a});break;case"ethereumAddressFromSignedMessage":this.ui.ethereumAddressFromSignedMessage({request:n,onSuccess:r});break;default:a();break}}};jY.WalletLinkRelay=qY;qY.accountRequestCallbackIds=new Set});var R80=D(_g=>{"use strict";u();p();var Fhn=_g&&_g.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Nhn=_g&&_g.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Fhn(e,t,n)};Object.defineProperty(_g,"__esModule",{value:!0});Nhn(Dhe(),_g)});var M80=D(Nhe=>{"use strict";u();p();Object.defineProperty(Nhe,"__esModule",{value:!0});Nhe.default=".-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;transition:opacity .25s;background-color:rgba(10,11,13,.5)}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop-hidden{opacity:0}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box{display:block;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);padding:20px;border-radius:8px;background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box p{display:block;font-weight:400;font-size:14px;line-height:20px;padding-bottom:12px;color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box button{appearance:none;border:none;background:none;color:#0052ff;padding:0;text-decoration:none;display:block;font-weight:600;font-size:16px;line-height:24px}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark{background-color:#0a0b0d;color:#fff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark button{color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light{background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light button{color:#0052ff}"});var D80=D(tA=>{"use strict";u();p();var B80=tA&&tA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(tA,"__esModule",{value:!0});tA.RedirectDialog=void 0;var Ohn=B80(Q_()),dp=(w1(),vn(uc)),Uhn=rhe(),Hhn=R80(),zhn=B80(M80()),Ohe=class{constructor(){this.root=null}attach(){let e=document.documentElement;this.root=document.createElement("div"),this.root.className="-cbwsdk-css-reset",e.appendChild(this.root),(0,Uhn.injectCssReset)()}present(e){this.render(e)}clear(){this.render(null)}render(e){this.root&&((0,dp.render)(null,this.root),e&&(0,dp.render)((0,dp.h)(Whn,Object.assign({},e,{onDismiss:()=>{this.clear()}})),this.root))}};tA.RedirectDialog=Ohe;var Whn=({title:t,buttonText:e,darkMode:n,onButtonClick:a,onDismiss:r})=>{let f=n?"dark":"light";return(0,dp.h)(Hhn.SnackbarContainer,{darkMode:n},(0,dp.h)("div",{class:"-cbwsdk-redirect-dialog"},(0,dp.h)("style",null,zhn.default),(0,dp.h)("div",{class:"-cbwsdk-redirect-dialog-backdrop",onClick:r}),(0,dp.h)("div",{class:(0,Ohn.default)("-cbwsdk-redirect-dialog-box",f)},(0,dp.h)("p",null,t),(0,dp.h)("button",{onClick:a},e))))}});var Hhe=D(GY=>{"use strict";u();p();Object.defineProperty(GY,"__esModule",{value:!0});GY.MobileRelayUI=void 0;var qhn=D80(),Uhe=class{constructor(e){this.attached=!1,this.darkMode=!1,this.redirectDialog=new qhn.RedirectDialog,this.darkMode=e.darkMode}attach(){if(this.attached)throw new Error("Coinbase Wallet SDK UI is already attached");this.redirectDialog.attach(),this.attached=!0}setConnected(e){}redirectToCoinbaseWallet(e){let n=new URL("https://go.cb-w.com/walletlink");n.searchParams.append("redirect_url",window.location.href),e&&n.searchParams.append("wl_url",e);let a=document.createElement("a");a.target="cbw-opener",a.href=n.href,a.rel="noreferrer noopener",a.click()}openCoinbaseWalletDeeplink(e){this.redirectDialog.present({title:"Redirecting to Coinbase Wallet...",buttonText:"Open",darkMode:this.darkMode,onButtonClick:()=>{this.redirectToCoinbaseWallet(e)}}),setTimeout(()=>{this.redirectToCoinbaseWallet(e)},99)}showConnecting(e){return()=>{this.redirectDialog.clear()}}hideRequestEthereumAccounts(){this.redirectDialog.clear()}requestEthereumAccounts(){}addEthereumChain(){}watchAsset(){}selectProvider(){}switchEthereumChain(){}signEthereumMessage(){}signEthereumTransaction(){}submitEthereumTransaction(){}ethereumAddressFromSignedMessage(){}reloadUI(){}setStandalone(){}setConnectDisabled(){}inlineAccountsResponse(){return!1}inlineAddEthereumChain(){return!1}inlineWatchAsset(){return!1}inlineSwitchEthereumChain(){return!1}isStandalone(){return!1}};GY.MobileRelayUI=Uhe});var Whe=D(KY=>{"use strict";u();p();Object.defineProperty(KY,"__esModule",{value:!0});KY.MobileRelay=void 0;var jhn=fp(),Ghn=Fhe(),Khn=Hhe(),zhe=class extends Ghn.WalletLinkRelay{constructor(e){var n;super(e),this._enableMobileWalletLink=(n=e.enableMobileWalletLink)!==null&&n!==void 0?n:!1}requestEthereumAccounts(){return this._enableMobileWalletLink?super.requestEthereumAccounts():{promise:new Promise(()=>{let e=(0,jhn.getLocation)();e.href=`https://go.cb-w.com/dapp?cb_url=${encodeURIComponent(e.href)}`}),cancel:()=>{}}}publishWeb3RequestEvent(e,n){if(super.publishWeb3RequestEvent(e,n),!(this._enableMobileWalletLink&&this.ui instanceof Khn.MobileRelayUI))return;let a=!1;switch(n.method){case"requestEthereumAccounts":case"connectAndSignIn":a=!0,this.ui.openCoinbaseWalletDeeplink(this.getQRCodeUrl());break;case"switchEthereumChain":return;default:a=!0,this.ui.openCoinbaseWalletDeeplink();break}a&&window.addEventListener("blur",()=>{window.addEventListener("focus",()=>{this.connection.checkUnseenEvents()},{once:!0})},{once:!0})}handleWeb3ResponseMessage(e){super.handleWeb3ResponseMessage(e)}connectAndSignIn(e){if(!this._enableMobileWalletLink)throw new Error("connectAndSignIn is supported only when enableMobileWalletLink is on");return this.sendRequest({method:"connectAndSignIn",params:{appName:this.appName,appLogoUrl:this.appLogoUrl,domain:window.location.hostname,aud:window.location.href,version:"1",type:"eip4361",nonce:e.nonce,iat:new Date().toISOString(),chainId:`eip155:${this.dappDefaultChain}`,statement:e.statement,resources:e.resources}})}};KY.MobileRelay=zhe});var F80=D((ZVa,L80)=>{u();p();var{Transform:Qhn}=EO();L80.exports=t=>class P80 extends Qhn{constructor(n,a,r,f,i){super(i),this._rate=n,this._capacity=a,this._delimitedSuffix=r,this._hashBitLength=f,this._options=i,this._state=new t,this._state.initialize(n,a),this._finalized=!1}_transform(n,a,r){let f=null;try{this.update(n,a)}catch(i){f=i}r(f)}_flush(n){let a=null;try{this.push(this.digest())}catch(r){a=r}n(a)}update(n,a){if(!_.Buffer.isBuffer(n)&&typeof n!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");return _.Buffer.isBuffer(n)||(n=_.Buffer.from(n,a)),this._state.absorb(n),this}digest(n){if(this._finalized)throw new Error("Digest already called");this._finalized=!0,this._delimitedSuffix&&this._state.absorbLastFewBits(this._delimitedSuffix);let a=this._state.squeeze(this._hashBitLength/8);return n!==void 0&&(a=a.toString(n)),this._resetState(),a}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){let n=new P80(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(n._state),n._finalized=this._finalized,n}}});var U80=D((nYa,O80)=>{u();p();var{Transform:Vhn}=EO();O80.exports=t=>class N80 extends Vhn{constructor(n,a,r,f){super(f),this._rate=n,this._capacity=a,this._delimitedSuffix=r,this._options=f,this._state=new t,this._state.initialize(n,a),this._finalized=!1}_transform(n,a,r){let f=null;try{this.update(n,a)}catch(i){f=i}r(f)}_flush(){}_read(n){this.push(this.squeeze(n))}update(n,a){if(!_.Buffer.isBuffer(n)&&typeof n!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Squeeze already called");return _.Buffer.isBuffer(n)||(n=_.Buffer.from(n,a)),this._state.absorb(n),this}squeeze(n,a){this._finalized||(this._finalized=!0,this._state.absorbLastFewBits(this._delimitedSuffix));let r=this._state.squeeze(n);return a!==void 0&&(r=r.toString(a)),r}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){let n=new N80(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(n._state),n._finalized=this._finalized,n}}});var z80=D((fYa,H80)=>{u();p();var Yhn=F80(),$hn=U80();H80.exports=function(t){let e=Yhn(t),n=$hn(t);return function(a,r){switch(typeof a=="string"?a.toLowerCase():a){case"keccak224":return new e(1152,448,null,224,r);case"keccak256":return new e(1088,512,null,256,r);case"keccak384":return new e(832,768,null,384,r);case"keccak512":return new e(576,1024,null,512,r);case"sha3-224":return new e(1152,448,6,224,r);case"sha3-256":return new e(1088,512,6,256,r);case"sha3-384":return new e(832,768,6,384,r);case"sha3-512":return new e(576,1024,6,512,r);case"shake128":return new n(1344,256,31,r);case"shake256":return new n(1088,512,31,r);default:throw new Error("Invald algorithm: "+a)}}}});var j80=D(q80=>{u();p();var W80=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648];q80.p1600=function(t){for(let e=0;e<24;++e){let n=t[0]^t[10]^t[20]^t[30]^t[40],a=t[1]^t[11]^t[21]^t[31]^t[41],r=t[2]^t[12]^t[22]^t[32]^t[42],f=t[3]^t[13]^t[23]^t[33]^t[43],i=t[4]^t[14]^t[24]^t[34]^t[44],s=t[5]^t[15]^t[25]^t[35]^t[45],o=t[6]^t[16]^t[26]^t[36]^t[46],c=t[7]^t[17]^t[27]^t[37]^t[47],d=t[8]^t[18]^t[28]^t[38]^t[48],l=t[9]^t[19]^t[29]^t[39]^t[49],h=d^(r<<1|f>>>31),y=l^(f<<1|r>>>31),v=t[0]^h,S=t[1]^y,O=t[10]^h,F=t[11]^y,z=t[20]^h,W=t[21]^y,j=t[30]^h,Q=t[31]^y,V=t[40]^h,X=t[41]^y;h=n^(i<<1|s>>>31),y=a^(s<<1|i>>>31);let K=t[2]^h,G=t[3]^y,R=t[12]^h,T=t[13]^y,N=t[22]^h,w=t[23]^y,m=t[32]^h,A=t[33]^y,P=t[42]^h,L=t[43]^y;h=r^(o<<1|c>>>31),y=f^(c<<1|o>>>31);let x=t[4]^h,g=t[5]^y,B=t[14]^h,M=t[15]^y,k=t[24]^h,q=t[25]^y,ee=t[34]^h,U=t[35]^y,J=t[44]^h,Z=t[45]^y;h=i^(d<<1|l>>>31),y=s^(l<<1|d>>>31);let ne=t[6]^h,ue=t[7]^y,Y=t[16]^h,re=t[17]^y,ie=t[26]^h,ge=t[27]^y,de=t[36]^h,Ae=t[37]^y,Ge=t[46]^h,Be=t[47]^y;h=o^(n<<1|a>>>31),y=c^(a<<1|n>>>31);let c0=t[8]^h,Ye=t[9]^y,He=t[18]^h,_0=t[19]^y,L0=t[28]^h,Ze=t[29]^y,I0=t[38]^h,pe=t[39]^y,he=t[48]^h,Te=t[49]^y,Ce=v,Se=S,Qe=F<<4|O>>>28,u0=O<<4|F>>>28,qe=z<<3|W>>>29,v0=W<<3|z>>>29,w0=Q<<9|j>>>23,Ve=j<<9|Q>>>23,be=V<<18|X>>>14,ye=X<<18|V>>>14,_e=K<<1|G>>>31,ze=G<<1|K>>>31,je=T<<12|R>>>20,Ue=R<<12|T>>>20,b0=N<<10|w>>>22,h0=w<<10|N>>>22,$e=A<<13|m>>>19,M0=m<<13|A>>>19,P0=P<<2|L>>>30,t0=L<<2|P>>>30,j0=g<<30|x>>>2,z0=x<<30|g>>>2,Ke=B<<6|M>>>26,B0=M<<6|B>>>26,G0=q<<11|k>>>21,s0=k<<11|q>>>21,X0=ee<<15|U>>>17,Y0=U<<15|ee>>>17,l0=Z<<29|J>>>3,K0=J<<29|Z>>>3,tt=ne<<28|ue>>>4,p0=ue<<28|ne>>>4,et=re<<23|Y>>>9,Et=Y<<23|re>>>9,$0=ie<<25|ge>>>7,Tt=ge<<25|ie>>>7,Pn=de<<21|Ae>>>11,Ln=Ae<<21|de>>>11,Fn=Be<<24|Ge>>>8,Nn=Ge<<24|Be>>>8,On=c0<<27|Ye>>>5,Ha=Ye<<27|c0>>>5,pr=He<<20|_0>>>12,za=_0<<20|He>>>12,hr=Ze<<7|L0>>>25,ar=L0<<7|Ze>>>25,Cr=I0<<8|pe>>>24,Jr=pe<<8|I0>>>24,rr=he<<14|Te>>>18,of=Te<<14|he>>>18;t[0]=Ce^~je&G0,t[1]=Se^~Ue&s0,t[10]=tt^~pr&qe,t[11]=p0^~za&v0,t[20]=_e^~Ke&$0,t[21]=ze^~B0&Tt,t[30]=On^~Qe&b0,t[31]=Ha^~u0&h0,t[40]=j0^~et&hr,t[41]=z0^~Et&ar,t[2]=je^~G0&Pn,t[3]=Ue^~s0&Ln,t[12]=pr^~qe&$e,t[13]=za^~v0&M0,t[22]=Ke^~$0&Cr,t[23]=B0^~Tt&Jr,t[32]=Qe^~b0&X0,t[33]=u0^~h0&Y0,t[42]=et^~hr&w0,t[43]=Et^~ar&Ve,t[4]=G0^~Pn&rr,t[5]=s0^~Ln&of,t[14]=qe^~$e&l0,t[15]=v0^~M0&K0,t[24]=$0^~Cr&be,t[25]=Tt^~Jr&ye,t[34]=b0^~X0&Fn,t[35]=h0^~Y0&Nn,t[44]=hr^~w0&P0,t[45]=ar^~Ve&t0,t[6]=Pn^~rr&Ce,t[7]=Ln^~of&Se,t[16]=$e^~l0&tt,t[17]=M0^~K0&p0,t[26]=Cr^~be&_e,t[27]=Jr^~ye&ze,t[36]=X0^~Fn&On,t[37]=Y0^~Nn&Ha,t[46]=w0^~P0&j0,t[47]=Ve^~t0&z0,t[8]=rr^~Ce&je,t[9]=of^~Se&Ue,t[18]=l0^~tt&pr,t[19]=K0^~p0&za,t[28]=be^~_e&Ke,t[29]=ye^~ze&B0,t[38]=Fn^~On&Qe,t[39]=Nn^~Ha&u0,t[48]=P0^~j0&et,t[49]=t0^~z0&Et,t[0]^=W80[e*2],t[1]^=W80[e*2+1]}}});var K80=D((lYa,G80)=>{u();p();var QY=j80();function nA(){this.state=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.blockSize=null,this.count=0,this.squeezing=!1}nA.prototype.initialize=function(t,e){for(let n=0;n<50;++n)this.state[n]=0;this.blockSize=t/8,this.count=0,this.squeezing=!1};nA.prototype.absorb=function(t){for(let e=0;e>>8*(this.count%4)&255,this.count+=1,this.count===this.blockSize&&(QY.p1600(this.state),this.count=0);return e};nA.prototype.copy=function(t){for(let e=0;e<50;++e)t.state[e]=this.state[e];t.blockSize=this.blockSize,t.count=this.count,t.squeezing=this.squeezing};G80.exports=nA});var qhe=D((hYa,Q80)=>{u();p();Q80.exports=z80()(K80())});var jhe=D((yYa,X80)=>{u();p();var Jhn=qhe(),Xhn=Va();function V80(t){return _.Buffer.allocUnsafe(t).fill(0)}function Y80(t,e,n){let a=V80(e);return t=VY(t),n?t.length{u();p();var Ig=jhe(),Cg=Va();function eh0(t){return t.startsWith("int[")?"int256"+t.slice(3):t==="int"?"int256":t.startsWith("uint[")?"uint256"+t.slice(4):t==="uint"?"uint256":t.startsWith("fixed[")?"fixed128x128"+t.slice(5):t==="fixed"?"fixed128x128":t.startsWith("ufixed[")?"ufixed128x128"+t.slice(6):t==="ufixed"?"ufixed128x128":t}function aA(t){return parseInt(/^\D+(\d+)$/.exec(t)[1],10)}function Z80(t){var e=/^\D+(\d+)x(\d+)$/.exec(t);return[parseInt(e[1],10),parseInt(e[2],10)]}function th0(t){var e=t.match(/(.*)\[(.*?)\]$/);return e?e[2]===""?"dynamic":parseInt(e[2],10):null}function Ag(t){var e=typeof t;if(e==="string")return Ig.isHexString(t)?new Cg(Ig.stripHexPrefix(t),16):new Cg(t,10);if(e==="number")return new Cg(t);if(t.toArray)return t;throw new Error("Argument is not a number")}function lp(t,e){var n,a,r,f;if(t==="address")return lp("uint160",Ag(e));if(t==="bool")return lp("uint8",e?1:0);if(t==="string")return lp("bytes",new _.Buffer(e,"utf8"));if(r3n(t)){if(typeof e.length>"u")throw new Error("Not an array?");if(n=th0(t),n!=="dynamic"&&n!==0&&e.length>n)throw new Error("Elements exceed array size: "+n);r=[],t=t.slice(0,t.lastIndexOf("[")),typeof e=="string"&&(e=JSON.parse(e));for(f in e)r.push(lp(t,e[f]));if(n==="dynamic"){var i=lp("uint256",e.length);r.unshift(i)}return _.Buffer.concat(r)}else{if(t==="bytes")return e=new _.Buffer(e),r=_.Buffer.concat([lp("uint256",e.length),e]),e.length%32!==0&&(r=_.Buffer.concat([r,Ig.zeros(32-e.length%32)])),r;if(t.startsWith("bytes")){if(n=aA(t),n<1||n>32)throw new Error("Invalid bytes width: "+n);return Ig.setLengthRight(e,32)}else if(t.startsWith("uint")){if(n=aA(t),n%8||n<8||n>256)throw new Error("Invalid uint width: "+n);if(a=Ag(e),a.bitLength()>n)throw new Error("Supplied uint exceeds width: "+n+" vs "+a.bitLength());if(a<0)throw new Error("Supplied uint is negative");return a.toArrayLike(_.Buffer,"be",32)}else if(t.startsWith("int")){if(n=aA(t),n%8||n<8||n>256)throw new Error("Invalid int width: "+n);if(a=Ag(e),a.bitLength()>n)throw new Error("Supplied int exceeds width: "+n+" vs "+a.bitLength());return a.toTwos(256).toArrayLike(_.Buffer,"be",32)}else if(t.startsWith("ufixed")){if(n=Z80(t),a=Ag(e),a<0)throw new Error("Supplied ufixed is negative");return lp("uint256",a.mul(new Cg(2).pow(new Cg(n[1]))))}else if(t.startsWith("fixed"))return n=Z80(t),lp("int256",Ag(e).mul(new Cg(2).pow(new Cg(n[1]))))}throw new Error("Unsupported or invalid type: "+t)}function a3n(t){return t==="string"||t==="bytes"||th0(t)==="dynamic"}function r3n(t){return t.lastIndexOf("]")===t.length-1}function f3n(t,e){var n=[],a=[],r=32*t.length;for(var f in t){var i=eh0(t[f]),s=e[f],o=lp(i,s);a3n(i)?(n.push(lp("uint256",r)),a.push(o),r+=o.length):n.push(o)}return _.Buffer.concat(n.concat(a))}function nh0(t,e){if(t.length!==e.length)throw new Error("Number of types are not matching the values");for(var n,a,r=[],f=0;f32)throw new Error("Invalid bytes width: "+n);r.push(Ig.setLengthRight(s,n))}else if(i.startsWith("uint")){if(n=aA(i),n%8||n<8||n>256)throw new Error("Invalid uint width: "+n);if(a=Ag(s),a.bitLength()>n)throw new Error("Supplied uint exceeds width: "+n+" vs "+a.bitLength());r.push(a.toArrayLike(_.Buffer,"be",n/8))}else if(i.startsWith("int")){if(n=aA(i),n%8||n<8||n>256)throw new Error("Invalid int width: "+n);if(a=Ag(s),a.bitLength()>n)throw new Error("Supplied int exceeds width: "+n+" vs "+a.bitLength());r.push(a.toTwos(n).toArrayLike(_.Buffer,"be",n/8))}else throw new Error("Unsupported or invalid type: "+i)}return _.Buffer.concat(r)}function i3n(t,e){return Ig.keccak(nh0(t,e))}ah0.exports={rawEncode:f3n,solidityPack:nh0,soliditySHA3:i3n}});var sh0=D((EYa,ih0)=>{u();p();var Kl=jhe(),_D=rh0(),fh0={type:"object",properties:{types:{type:"object",additionalProperties:{type:"array",items:{type:"object",properties:{name:{type:"string"},type:{type:"string"}},required:["name","type"]}}},primaryType:{type:"string"},domain:{type:"object"},message:{type:"object"}},required:["types","primaryType","domain","message"]},Ghe={encodeData(t,e,n,a=!0){let r=["bytes32"],f=[this.hashType(t,n)];if(a){let i=(s,o,c)=>{if(n[o]!==void 0)return["bytes32",c==null?"0x0000000000000000000000000000000000000000000000000000000000000000":Kl.keccak(this.encodeData(o,c,n,a))];if(c===void 0)throw new Error(`missing value for field ${s} of type ${o}`);if(o==="bytes")return["bytes32",Kl.keccak(c)];if(o==="string")return typeof c=="string"&&(c=_.Buffer.from(c,"utf8")),["bytes32",Kl.keccak(c)];if(o.lastIndexOf("]")===o.length-1){let d=o.slice(0,o.lastIndexOf("[")),l=c.map(h=>i(s,d,h));return["bytes32",Kl.keccak(_D.rawEncode(l.map(([h])=>h),l.map(([,h])=>h)))]}return[o,c]};for(let s of n[t]){let[o,c]=i(s.name,s.type,e[s.name]);r.push(o),f.push(c)}}else for(let i of n[t]){let s=e[i.name];if(s!==void 0)if(i.type==="bytes")r.push("bytes32"),s=Kl.keccak(s),f.push(s);else if(i.type==="string")r.push("bytes32"),typeof s=="string"&&(s=_.Buffer.from(s,"utf8")),s=Kl.keccak(s),f.push(s);else if(n[i.type]!==void 0)r.push("bytes32"),s=Kl.keccak(this.encodeData(i.type,s,n,a)),f.push(s);else{if(i.type.lastIndexOf("]")===i.type.length-1)throw new Error("Arrays currently unimplemented in encodeData");r.push(i.type),f.push(s)}}return _D.rawEncode(r,f)},encodeType(t,e){let n="",a=this.findTypeDependencies(t,e).filter(r=>r!==t);a=[t].concat(a.sort());for(let r of a){if(!e[r])throw new Error("No type definition specified: "+r);n+=r+"("+e[r].map(({name:i,type:s})=>s+" "+i).join(",")+")"}return n},findTypeDependencies(t,e,n=[]){if(t=t.match(/^\w*/)[0],n.includes(t)||e[t]===void 0)return n;n.push(t);for(let a of e[t])for(let r of this.findTypeDependencies(a.type,e,n))!n.includes(r)&&n.push(r);return n},hashStruct(t,e,n,a=!0){return Kl.keccak(this.encodeData(t,e,n,a))},hashType(t,e){return Kl.keccak(this.encodeType(t,e))},sanitizeData(t){let e={};for(let n in fh0.properties)t[n]&&(e[n]=t[n]);return e.types&&(e.types=Object.assign({EIP712Domain:[]},e.types)),e},hash(t,e=!0){let n=this.sanitizeData(t),a=[_.Buffer.from("1901","hex")];return a.push(this.hashStruct("EIP712Domain",n.domain,n.types,e)),n.primaryType!=="EIP712Domain"&&a.push(this.hashStruct(n.primaryType,n.message,n.types,e)),Kl.keccak(_.Buffer.concat(a))}};ih0.exports={TYPED_MESSAGE_SCHEMA:fh0,TypedDataUtils:Ghe,hashForSignTypedDataLegacy:function(t){return s3n(t.data)},hashForSignTypedData_v3:function(t){return Ghe.hash(t.data,!1)},hashForSignTypedData_v4:function(t){return Ghe.hash(t.data)}};function s3n(t){let e=new Error("Expect argument to be non-empty array");if(typeof t!="object"||!t.length)throw e;let n=t.map(function(f){return f.type==="bytes"?Kl.toBuffer(f.value):f.value}),a=t.map(function(f){return f.type}),r=t.map(function(f){if(!f.name)throw e;return f.type+" "+f.name});return _D.soliditySHA3(["bytes32","bytes32"],[_D.soliditySHA3(new Array(t.length).fill("string"),r),_D.soliditySHA3(a,n)])}});var uh0=D(fA=>{"use strict";u();p();Object.defineProperty(fA,"__esModule",{value:!0});fA.filterFromParam=fA.FilterPolyfill=void 0;var rA=pD(),pc=fp(),o3n=5*60*1e3,kg={jsonrpc:"2.0",id:0},Khe=class{constructor(e){this.logFilters=new Map,this.blockFilters=new Set,this.pendingTransactionFilters=new Set,this.cursors=new Map,this.timeouts=new Map,this.nextFilterId=(0,rA.IntNumber)(1),this.REQUEST_THROTTLE_INTERVAL=1e3,this.lastFetchTimestamp=new Date(0),this.resolvers=[],this.provider=e}async newFilter(e){let n=lh0(e),a=this.makeFilterId(),r=await this.setInitialCursorPosition(a,n.fromBlock);return console.info(`Installing new log filter(${a}):`,n,"initial cursor position:",r),this.logFilters.set(a,n),this.setFilterTimeout(a),(0,pc.hexStringFromIntNumber)(a)}async newBlockFilter(){let e=this.makeFilterId(),n=await this.setInitialCursorPosition(e,"latest");return console.info(`Installing new block filter (${e}) with initial cursor position:`,n),this.blockFilters.add(e),this.setFilterTimeout(e),(0,pc.hexStringFromIntNumber)(e)}async newPendingTransactionFilter(){let e=this.makeFilterId(),n=await this.setInitialCursorPosition(e,"latest");return console.info(`Installing new block filter (${e}) with initial cursor position:`,n),this.pendingTransactionFilters.add(e),this.setFilterTimeout(e),(0,pc.hexStringFromIntNumber)(e)}uninstallFilter(e){let n=(0,pc.intNumberFromHexString)(e);return console.info(`Uninstalling filter (${n})`),this.deleteFilter(n),!0}getFilterChanges(e){let n=(0,pc.intNumberFromHexString)(e);return this.timeouts.has(n)&&this.setFilterTimeout(n),this.logFilters.has(n)?this.getLogFilterChanges(n):this.blockFilters.has(n)?this.getBlockFilterChanges(n):this.pendingTransactionFilters.has(n)?this.getPendingTransactionFilterChanges(n):Promise.resolve(YY())}async getFilterLogs(e){let n=(0,pc.intNumberFromHexString)(e),a=this.logFilters.get(n);return a?this.sendAsyncPromise(Object.assign(Object.assign({},kg),{method:"eth_getLogs",params:[oh0(a)]})):YY()}makeFilterId(){return(0,rA.IntNumber)(++this.nextFilterId)}sendAsyncPromise(e){return new Promise((n,a)=>{this.provider.sendAsync(e,(r,f)=>{if(r)return a(r);if(Array.isArray(f)||f==null)return a(new Error(`unexpected response received: ${JSON.stringify(f)}`));n(f)})})}deleteFilter(e){console.info(`Deleting filter (${e})`),this.logFilters.delete(e),this.blockFilters.delete(e),this.pendingTransactionFilters.delete(e),this.cursors.delete(e),this.timeouts.delete(e)}async getLogFilterChanges(e){let n=this.logFilters.get(e),a=this.cursors.get(e);if(!a||!n)return YY();let r=await this.getCurrentBlockHeight(),f=n.toBlock==="latest"?r:n.toBlock;if(a>r||a>Number(n.toBlock))return $Y();console.info(`Fetching logs from ${a} to ${f} for filter ${e}`);let i=await this.sendAsyncPromise(Object.assign(Object.assign({},kg),{method:"eth_getLogs",params:[oh0(Object.assign(Object.assign({},n),{fromBlock:a,toBlock:f}))]}));if(Array.isArray(i.result)){let s=i.result.map(c=>(0,pc.intNumberFromHexString)(c.blockNumber||"0x0")),o=Math.max(...s);if(o&&o>a){let c=(0,rA.IntNumber)(o+1);console.info(`Moving cursor position for filter (${e}) from ${a} to ${c}`),this.cursors.set(e,c)}}return i}async getBlockFilterChanges(e){let n=this.cursors.get(e);if(!n)return YY();let a=await this.getCurrentBlockHeight();if(n>a)return $Y();console.info(`Fetching blocks from ${n} to ${a} for filter (${e})`);let r=(await Promise.all((0,pc.range)(n,a+1).map(i=>this.getBlockHashByNumber((0,rA.IntNumber)(i))))).filter(i=>!!i),f=(0,rA.IntNumber)(n+r.length);return console.info(`Moving cursor position for filter (${e}) from ${n} to ${f}`),this.cursors.set(e,f),Object.assign(Object.assign({},kg),{result:r})}async getPendingTransactionFilterChanges(e){return Promise.resolve($Y())}async setInitialCursorPosition(e,n){let a=await this.getCurrentBlockHeight(),r=typeof n=="number"&&n>a?n:a;return this.cursors.set(e,r),r}setFilterTimeout(e){let n=this.timeouts.get(e);n&&window.clearTimeout(n);let a=window.setTimeout(()=>{console.info(`Filter (${e}) timed out`),this.deleteFilter(e)},o3n);this.timeouts.set(e,a)}async getCurrentBlockHeight(){let e=new Date;if(e.getTime()-this.lastFetchTimestamp.getTime()>this.REQUEST_THROTTLE_INTERVAL){this.lastFetchTimestamp=e;let n=await this._getCurrentBlockHeight();this.currentBlockHeight=n,this.resolvers.forEach(a=>a(n)),this.resolvers=[]}return this.currentBlockHeight?this.currentBlockHeight:new Promise(n=>this.resolvers.push(n))}async _getCurrentBlockHeight(){let{result:e}=await this.sendAsyncPromise(Object.assign(Object.assign({},kg),{method:"eth_blockNumber",params:[]}));return(0,pc.intNumberFromHexString)((0,pc.ensureHexString)(e))}async getBlockHashByNumber(e){let n=await this.sendAsyncPromise(Object.assign(Object.assign({},kg),{method:"eth_getBlockByNumber",params:[(0,pc.hexStringFromIntNumber)(e),!1]}));return n.result&&typeof n.result.hash=="string"?(0,pc.ensureHexString)(n.result.hash):null}};fA.FilterPolyfill=Khe;function lh0(t){return{fromBlock:ch0(t.fromBlock),toBlock:ch0(t.toBlock),addresses:t.address===void 0?null:Array.isArray(t.address)?t.address:[t.address],topics:t.topics||[]}}fA.filterFromParam=lh0;function oh0(t){let e={fromBlock:dh0(t.fromBlock),toBlock:dh0(t.toBlock),topics:t.topics};return t.addresses!==null&&(e.address=t.addresses),e}function ch0(t){if(t===void 0||t==="latest"||t==="pending")return"latest";if(t==="earliest")return(0,rA.IntNumber)(0);if((0,pc.isHexString)(t))return(0,pc.intNumberFromHexString)(t);throw new Error(`Invalid block option: ${String(t)}`)}function dh0(t){return t==="latest"?t:(0,pc.hexStringFromIntNumber)(t)}function YY(){return Object.assign(Object.assign({},kg),{error:{code:-32e3,message:"filter not found"}})}function $Y(){return Object.assign(Object.assign({},kg),{result:[]})}});var JY=D((SYa,ph0)=>{u();p();ph0.exports=c3n;function c3n(t){t=t||{};var e=t.max||Number.MAX_SAFE_INTEGER,n=typeof t.start<"u"?t.start:Math.floor(Math.random()*e);return function(){return n=n%e,n++}}});var mh0=D((BYa,bh0)=>{"use strict";u();p();var hh0=(t,e)=>function(){let n=e.promiseModule,a=new Array(arguments.length);for(let r=0;r{e.errorFirst?a.push(function(i,s){if(e.multiArgs){let o=new Array(arguments.length-1);for(let c=1;c{e=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},e);let n=r=>{let f=i=>typeof i=="string"?r===i:i.test(r);return e.include?e.include.some(f):!e.exclude.some(f)},a;typeof t=="function"?a=function(){return e.excludeMain?t.apply(this,arguments):hh0(t,e).apply(this,arguments)}:a=Object.create(Object.getPrototypeOf(t));for(let r in t){let f=t[r];a[r]=typeof f=="function"&&n(r)?hh0(f,e):f}return a}});var XY=D(Vhe=>{"use strict";u();p();Object.defineProperty(Vhe,"__esModule",{value:!0});var d3n=Nr();function yh0(t,e,n){try{Reflect.apply(t,e,n)}catch(a){setTimeout(()=>{throw a})}}function l3n(t){let e=t.length,n=new Array(e);for(let a=0;a0&&([i]=n),i instanceof Error)throw i;let s=new Error(`Unhandled error.${i?` (${i.message})`:""}`);throw s.context=i,s}let f=r[e];if(f===void 0)return!1;if(typeof f=="function")yh0(f,this,n);else{let i=f.length,s=l3n(f);for(let o=0;o{"use strict";u();p();var u3n=iA&&iA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(iA,"__esModule",{value:!0});iA.BaseBlockTracker=void 0;var p3n=u3n(XY()),h3n=1e3,b3n=(t,e)=>t+e,gh0=["sync","latest"],Yhe=class extends p3n.default{constructor(e){super(),this._blockResetDuration=e.blockResetDuration||20*h3n,this._usePastBlocks=e.usePastBlocks||!1,this._currentBlock=null,this._isRunning=!1,this._onNewListener=this._onNewListener.bind(this),this._onRemoveListener=this._onRemoveListener.bind(this),this._resetCurrentBlock=this._resetCurrentBlock.bind(this),this._setupInternalEvents()}async destroy(){this._cancelBlockResetTimeout(),await this._maybeEnd(),super.removeAllListeners()}isRunning(){return this._isRunning}getCurrentBlock(){return this._currentBlock}async getLatestBlock(){return this._currentBlock?this._currentBlock:await new Promise(n=>this.once("latest",n))}removeAllListeners(e){return e?super.removeAllListeners(e):super.removeAllListeners(),this._setupInternalEvents(),this._onRemoveListener(),this}_setupInternalEvents(){this.removeListener("newListener",this._onNewListener),this.removeListener("removeListener",this._onRemoveListener),this.on("newListener",this._onNewListener),this.on("removeListener",this._onRemoveListener)}_onNewListener(e){gh0.includes(e)&&this._maybeStart()}_onRemoveListener(){this._getBlockTrackerEventCount()>0||this._maybeEnd()}async _maybeStart(){this._isRunning||(this._isRunning=!0,this._cancelBlockResetTimeout(),await this._start(),this.emit("_started"))}async _maybeEnd(){this._isRunning&&(this._isRunning=!1,this._setupBlockResetTimeout(),await this._end(),this.emit("_ended"))}_getBlockTrackerEventCount(){return gh0.map(e=>this.listenerCount(e)).reduce(b3n)}_shouldUseNewBlock(e){let n=this._currentBlock;if(!n)return!0;let a=vh0(e),r=vh0(n);return this._usePastBlocks&&ar}_newPotentialLatest(e){this._shouldUseNewBlock(e)&&this._setCurrentBlock(e)}_setCurrentBlock(e){let n=this._currentBlock;this._currentBlock=e,this.emit("latest",e),this.emit("sync",{oldBlock:n,newBlock:e})}_setupBlockResetTimeout(){this._cancelBlockResetTimeout(),this._blockResetTimeout=setTimeout(this._resetCurrentBlock,this._blockResetDuration),this._blockResetTimeout.unref&&this._blockResetTimeout.unref()}_cancelBlockResetTimeout(){this._blockResetTimeout&&clearTimeout(this._blockResetTimeout)}_resetCurrentBlock(){this._currentBlock=null}};iA.BaseBlockTracker=Yhe;function vh0(t){return Number.parseInt(t,16)}});var i4=D((ZY,wh0)=>{u();p();(function(t,e){typeof ZY=="object"&&typeof wh0<"u"?e(ZY):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.Superstruct={}))})(ZY,function(t){"use strict";class e extends TypeError{constructor(he,Te){let Ce,{message:Se,explanation:Qe,...u0}=he,{path:qe}=he,v0=qe.length===0?Se:`At path: ${qe.join(".")} -- ${Se}`;super(Qe??v0),Qe!=null&&(this.cause=v0),Object.assign(this,u0),this.name=this.constructor.name,this.failures=()=>Ce??(Ce=[he,...Te()])}}function n(pe){return a(pe)&&typeof pe[Symbol.iterator]=="function"}function a(pe){return typeof pe=="object"&&pe!=null}function r(pe){if(Object.prototype.toString.call(pe)!=="[object Object]")return!1;let he=Object.getPrototypeOf(pe);return he===null||he===Object.prototype}function f(pe){return typeof pe=="symbol"?pe.toString():typeof pe=="string"?JSON.stringify(pe):`${pe}`}function i(pe){let{done:he,value:Te}=pe.next();return he?void 0:Te}function s(pe,he,Te,Ce){if(pe===!0)return;pe===!1?pe={}:typeof pe=="string"&&(pe={message:pe});let{path:Se,branch:Qe}=he,{type:u0}=Te,{refinement:qe,message:v0=`Expected a value of type \`${u0}\`${qe?` with refinement \`${qe}\``:""}, but received: \`${f(Ce)}\``}=pe;return{value:Ce,type:u0,refinement:qe,key:Se[Se.length-1],path:Se,branch:Qe,...pe,message:v0}}function*o(pe,he,Te,Ce){n(pe)||(pe=[pe]);for(let Se of pe){let Qe=s(Se,he,Te,Ce);Qe&&(yield Qe)}}function*c(pe,he,Te={}){let{path:Ce=[],branch:Se=[pe],coerce:Qe=!1,mask:u0=!1}=Te,qe={path:Ce,branch:Se};if(Qe&&(pe=he.coercer(pe,qe),u0&&he.type!=="type"&&a(he.schema)&&a(pe)&&!Array.isArray(pe)))for(let w0 in pe)he.schema[w0]===void 0&&delete pe[w0];let v0="valid";for(let w0 of he.validator(pe,qe))w0.explanation=Te.message,v0="not_valid",yield[w0,void 0];for(let[w0,Ve,be]of he.entries(pe,qe)){let ye=c(Ve,be,{path:w0===void 0?Ce:[...Ce,w0],branch:w0===void 0?Se:[...Se,Ve],coerce:Qe,mask:u0,message:Te.message});for(let _e of ye)_e[0]?(v0=_e[0].refinement!=null?"not_refined":"not_valid",yield[_e[0],void 0]):Qe&&(Ve=_e[1],w0===void 0?pe=Ve:pe instanceof Map?pe.set(w0,Ve):pe instanceof Set?pe.add(Ve):a(pe)&&(Ve!==void 0||w0 in pe)&&(pe[w0]=Ve))}if(v0!=="not_valid")for(let w0 of he.refiner(pe,qe))w0.explanation=Te.message,v0="not_refined",yield[w0,void 0];v0==="valid"&&(yield[void 0,pe])}class d{constructor(he){let{type:Te,schema:Ce,validator:Se,refiner:Qe,coercer:u0=v0=>v0,entries:qe=function*(){}}=he;this.type=Te,this.schema=Ce,this.entries=qe,this.coercer=u0,Se?this.validator=(v0,w0)=>{let Ve=Se(v0,w0);return o(Ve,w0,this,v0)}:this.validator=()=>[],Qe?this.refiner=(v0,w0)=>{let Ve=Qe(v0,w0);return o(Ve,w0,this,v0)}:this.refiner=()=>[]}assert(he,Te){return l(he,this,Te)}create(he,Te){return h(he,this,Te)}is(he){return v(he,this)}mask(he,Te){return y(he,this,Te)}validate(he,Te={}){return S(he,this,Te)}}function l(pe,he,Te){let Ce=S(pe,he,{message:Te});if(Ce[0])throw Ce[0]}function h(pe,he,Te){let Ce=S(pe,he,{coerce:!0,message:Te});if(Ce[0])throw Ce[0];return Ce[1]}function y(pe,he,Te){let Ce=S(pe,he,{coerce:!0,mask:!0,message:Te});if(Ce[0])throw Ce[0];return Ce[1]}function v(pe,he){return!S(pe,he)[0]}function S(pe,he,Te={}){let Ce=c(pe,he,Te),Se=i(Ce);return Se[0]?[new e(Se[0],function*(){for(let u0 of Ce)u0[0]&&(yield u0[0])}),void 0]:[void 0,Se[1]]}function O(...pe){let he=pe[0].type==="type",Te=pe.map(Se=>Se.schema),Ce=Object.assign({},...Te);return he?re(Ce):ee(Ce)}function F(pe,he){return new d({type:pe,schema:null,validator:he})}function z(pe,he){return new d({...pe,refiner:(Te,Ce)=>Te===void 0||pe.refiner(Te,Ce),validator(Te,Ce){return Te===void 0?!0:(he(Te,Ce),pe.validator(Te,Ce))}})}function W(pe){return new d({type:"dynamic",schema:null,*entries(he,Te){yield*pe(he,Te).entries(he,Te)},validator(he,Te){return pe(he,Te).validator(he,Te)},coercer(he,Te){return pe(he,Te).coercer(he,Te)},refiner(he,Te){return pe(he,Te).refiner(he,Te)}})}function j(pe){let he;return new d({type:"lazy",schema:null,*entries(Te,Ce){he??(he=pe()),yield*he.entries(Te,Ce)},validator(Te,Ce){return he??(he=pe()),he.validator(Te,Ce)},coercer(Te,Ce){return he??(he=pe()),he.coercer(Te,Ce)},refiner(Te,Ce){return he??(he=pe()),he.refiner(Te,Ce)}})}function Q(pe,he){let{schema:Te}=pe,Ce={...Te};for(let Se of he)delete Ce[Se];switch(pe.type){case"type":return re(Ce);default:return ee(Ce)}}function V(pe){let he=pe instanceof d,Te=he?{...pe.schema}:{...pe};for(let Ce in Te)Te[Ce]=U(Te[Ce]);return he&&pe.type==="type"?re(Te):ee(Te)}function X(pe,he){let{schema:Te}=pe,Ce={};for(let Se of he)Ce[Se]=Te[Se];switch(pe.type){case"type":return re(Ce);default:return ee(Ce)}}function K(pe,he){return console.warn("superstruct@0.11 - The `struct` helper has been renamed to `define`."),F(pe,he)}function G(){return F("any",()=>!0)}function R(pe){return new d({type:"array",schema:pe,*entries(he){if(pe&&Array.isArray(he))for(let[Te,Ce]of he.entries())yield[Te,Ce,pe]},coercer(he){return Array.isArray(he)?he.slice():he},validator(he){return Array.isArray(he)||`Expected an array value, but received: ${f(he)}`}})}function T(){return F("bigint",pe=>typeof pe=="bigint")}function N(){return F("boolean",pe=>typeof pe=="boolean")}function w(){return F("date",pe=>pe instanceof Date&&!isNaN(pe.getTime())||`Expected a valid \`Date\` object, but received: ${f(pe)}`)}function m(pe){let he={},Te=pe.map(Ce=>f(Ce)).join();for(let Ce of pe)he[Ce]=Ce;return new d({type:"enums",schema:he,validator(Ce){return pe.includes(Ce)||`Expected one of \`${Te}\`, but received: ${f(Ce)}`}})}function A(){return F("func",pe=>typeof pe=="function"||`Expected a function, but received: ${f(pe)}`)}function P(pe){return F("instance",he=>he instanceof pe||`Expected a \`${pe.name}\` instance, but received: ${f(he)}`)}function L(){return F("integer",pe=>typeof pe=="number"&&!isNaN(pe)&&Number.isInteger(pe)||`Expected an integer, but received: ${f(pe)}`)}function x(pe){return new d({type:"intersection",schema:null,*entries(he,Te){for(let Ce of pe)yield*Ce.entries(he,Te)},*validator(he,Te){for(let Ce of pe)yield*Ce.validator(he,Te)},*refiner(he,Te){for(let Ce of pe)yield*Ce.refiner(he,Te)}})}function g(pe){let he=f(pe),Te=typeof pe;return new d({type:"literal",schema:Te==="string"||Te==="number"||Te==="boolean"?pe:null,validator(Ce){return Ce===pe||`Expected the literal \`${he}\`, but received: ${f(Ce)}`}})}function B(pe,he){return new d({type:"map",schema:null,*entries(Te){if(pe&&he&&Te instanceof Map)for(let[Ce,Se]of Te.entries())yield[Ce,Ce,pe],yield[Ce,Se,he]},coercer(Te){return Te instanceof Map?new Map(Te):Te},validator(Te){return Te instanceof Map||`Expected a \`Map\` object, but received: ${f(Te)}`}})}function M(){return F("never",()=>!1)}function k(pe){return new d({...pe,validator:(he,Te)=>he===null||pe.validator(he,Te),refiner:(he,Te)=>he===null||pe.refiner(he,Te)})}function q(){return F("number",pe=>typeof pe=="number"&&!isNaN(pe)||`Expected a number, but received: ${f(pe)}`)}function ee(pe){let he=pe?Object.keys(pe):[],Te=M();return new d({type:"object",schema:pe||null,*entries(Ce){if(pe&&a(Ce)){let Se=new Set(Object.keys(Ce));for(let Qe of he)Se.delete(Qe),yield[Qe,Ce[Qe],pe[Qe]];for(let Qe of Se)yield[Qe,Ce[Qe],Te]}},validator(Ce){return a(Ce)||`Expected an object, but received: ${f(Ce)}`},coercer(Ce){return a(Ce)?{...Ce}:Ce}})}function U(pe){return new d({...pe,validator:(he,Te)=>he===void 0||pe.validator(he,Te),refiner:(he,Te)=>he===void 0||pe.refiner(he,Te)})}function J(pe,he){return new d({type:"record",schema:null,*entries(Te){if(a(Te))for(let Ce in Te){let Se=Te[Ce];yield[Ce,Ce,pe],yield[Ce,Se,he]}},validator(Te){return a(Te)||`Expected an object, but received: ${f(Te)}`}})}function Z(){return F("regexp",pe=>pe instanceof RegExp)}function ne(pe){return new d({type:"set",schema:null,*entries(he){if(pe&&he instanceof Set)for(let Te of he)yield[Te,Te,pe]},coercer(he){return he instanceof Set?new Set(he):he},validator(he){return he instanceof Set||`Expected a \`Set\` object, but received: ${f(he)}`}})}function ue(){return F("string",pe=>typeof pe=="string"||`Expected a string, but received: ${f(pe)}`)}function Y(pe){let he=M();return new d({type:"tuple",schema:null,*entries(Te){if(Array.isArray(Te)){let Ce=Math.max(pe.length,Te.length);for(let Se=0;SeTe.type).join(" | ");return new d({type:"union",schema:null,coercer(Te){for(let Ce of pe){let[Se,Qe]=Ce.validate(Te,{coerce:!0});if(!Se)return Qe}return Te},validator(Te,Ce){let Se=[];for(let Qe of pe){let[...u0]=c(Te,Qe,Ce),[qe]=u0;if(qe[0])for(let[v0]of u0)v0&&Se.push(v0);else return[]}return[`Expected the value to satisfy a union of \`${he}\`, but received: ${f(Te)}`,...Se]}})}function ge(){return F("unknown",()=>!0)}function de(pe,he,Te){return new d({...pe,coercer:(Ce,Se)=>v(Ce,he)?pe.coercer(Te(Ce,Se),Se):pe.coercer(Ce,Se)})}function Ae(pe,he,Te={}){return de(pe,ge(),Ce=>{let Se=typeof he=="function"?he():he;if(Ce===void 0)return Se;if(!Te.strict&&r(Ce)&&r(Se)){let Qe={...Ce},u0=!1;for(let qe in Se)Qe[qe]===void 0&&(Qe[qe]=Se[qe],u0=!0);if(u0)return Qe}return Ce})}function Ge(pe){return de(pe,ue(),he=>he.trim())}function Be(pe){return I0(pe,"empty",he=>{let Te=c0(he);return Te===0||`Expected an empty ${pe.type} but received one with a size of \`${Te}\``})}function c0(pe){return pe instanceof Map||pe instanceof Set?pe.size:pe.length}function Ye(pe,he,Te={}){let{exclusive:Ce}=Te;return I0(pe,"max",Se=>Ce?SeCe?Se>he:Se>=he||`Expected a ${pe.type} greater than ${Ce?"":"or equal to "}${he} but received \`${Se}\``)}function _0(pe){return I0(pe,"nonempty",he=>c0(he)>0||`Expected a nonempty ${pe.type} but received an empty one`)}function L0(pe,he){return I0(pe,"pattern",Te=>he.test(Te)||`Expected a ${pe.type} matching \`/${he.source}/\` but received "${Te}"`)}function Ze(pe,he,Te=he){let Ce=`Expected a ${pe.type}`,Se=he===Te?`of \`${he}\``:`between \`${he}\` and \`${Te}\``;return I0(pe,"size",Qe=>{if(typeof Qe=="number"||Qe instanceof Date)return he<=Qe&&Qe<=Te||`${Ce} ${Se} but received \`${Qe}\``;if(Qe instanceof Map||Qe instanceof Set){let{size:u0}=Qe;return he<=u0&&u0<=Te||`${Ce} with a size ${Se} but received one with a size of \`${u0}\``}else{let{length:u0}=Qe;return he<=u0&&u0<=Te||`${Ce} with a length ${Se} but received one with a length of \`${u0}\``}})}function I0(pe,he,Te){return new d({...pe,*refiner(Ce,Se){yield*pe.refiner(Ce,Se);let Qe=Te(Ce,Se),u0=o(Qe,Se,pe,Ce);for(let qe of u0)yield{...qe,refinement:he}}})}t.Struct=d,t.StructError=e,t.any=G,t.array=R,t.assert=l,t.assign=O,t.bigint=T,t.boolean=N,t.coerce=de,t.create=h,t.date=w,t.defaulted=Ae,t.define=F,t.deprecated=z,t.dynamic=W,t.empty=Be,t.enums=m,t.func=A,t.instance=P,t.integer=L,t.intersection=x,t.is=v,t.lazy=j,t.literal=g,t.map=B,t.mask=y,t.max=Ye,t.min=He,t.never=M,t.nonempty=_0,t.nullable=k,t.number=q,t.object=ee,t.omit=Q,t.optional=U,t.partial=V,t.pattern=L0,t.pick=X,t.record=J,t.refine=I0,t.regexp=Z,t.set=ne,t.size=Ze,t.string=ue,t.struct=K,t.trimmed=Ge,t.tuple=Y,t.type=re,t.union=ie,t.unknown=ge,t.validate=S})});var Fh=D(up=>{"use strict";u();p();Object.defineProperty(up,"__esModule",{value:!0});up.assertExhaustive=up.assertStruct=up.assert=up.AssertionError=void 0;var m3n=i4();function y3n(t){return typeof t=="object"&&t!==null&&"message"in t}function g3n(t){var e,n;return typeof((n=(e=t?.prototype)===null||e===void 0?void 0:e.constructor)===null||n===void 0?void 0:n.name)=="string"}function v3n(t){let e=y3n(t)?t.message:String(t);return e.endsWith(".")?e.slice(0,-1):e}function Th0(t,e){return g3n(t)?new t({message:e}):t({message:e})}var AD=class extends Error{constructor(e){super(e.message),this.code="ERR_ASSERTION"}};up.AssertionError=AD;function w3n(t,e="Assertion failed.",n=AD){if(!t)throw e instanceof Error?e:Th0(n,e)}up.assert=w3n;function T3n(t,e,n="Assertion failed",a=AD){try{(0,m3n.assert)(t,e)}catch(r){throw Th0(a,`${n}: ${v3n(r)}.`)}}up.assertStruct=T3n;function x3n(t){throw new Error("Invalid branch reached. Should be detected during compilation.")}up.assertExhaustive=x3n});var Jhe=D(e$=>{"use strict";u();p();Object.defineProperty(e$,"__esModule",{value:!0});e$.base64=void 0;var E3n=i4(),_3n=Fh(),A3n=(t,e={})=>{var n,a;let r=(n=e.paddingRequired)!==null&&n!==void 0?n:!1,f=(a=e.characterSet)!==null&&a!==void 0?a:"base64",i;f==="base64"?i=String.raw`[A-Za-z0-9+\/]`:((0,_3n.assert)(f==="base64url"),i=String.raw`[-_A-Za-z0-9]`);let s;return r?s=new RegExp(`^(?:${i}{4})*(?:${i}{3}=|${i}{2}==)?$`,"u"):s=new RegExp(`^(?:${i}{4})*(?:${i}{2,3}|${i}{3}=|${i}{2}==)?$`,"u"),(0,E3n.pattern)(t,s)};e$.base64=A3n});var CD=D(zi=>{"use strict";u();p();Object.defineProperty(zi,"__esModule",{value:!0});zi.remove0x=zi.add0x=zi.assertIsStrictHexString=zi.assertIsHexString=zi.isStrictHexString=zi.isHexString=zi.StrictHexStruct=zi.HexStruct=void 0;var sA=i4(),xh0=Fh();zi.HexStruct=(0,sA.pattern)((0,sA.string)(),/^(?:0x)?[0-9a-f]+$/iu);zi.StrictHexStruct=(0,sA.pattern)((0,sA.string)(),/^0x[0-9a-f]+$/iu);function Eh0(t){return(0,sA.is)(t,zi.HexStruct)}zi.isHexString=Eh0;function _h0(t){return(0,sA.is)(t,zi.StrictHexStruct)}zi.isStrictHexString=_h0;function C3n(t){(0,xh0.assert)(Eh0(t),"Value must be a hexadecimal string.")}zi.assertIsHexString=C3n;function I3n(t){(0,xh0.assert)(_h0(t),'Value must be a hexadecimal string, starting with "0x".')}zi.assertIsStrictHexString=I3n;function k3n(t){return t.startsWith("0x")?t:t.startsWith("0X")?`0x${t.substring(2)}`:`0x${t}`}zi.add0x=k3n;function S3n(t){return t.startsWith("0x")||t.startsWith("0X")?t.substring(2):t}zi.remove0x=S3n});var e3e=D(Na=>{"use strict";u();p();Object.defineProperty(Na,"__esModule",{value:!0});Na.createDataView=Na.concatBytes=Na.valueToBytes=Na.stringToBytes=Na.numberToBytes=Na.signedBigIntToBytes=Na.bigIntToBytes=Na.hexToBytes=Na.bytesToString=Na.bytesToNumber=Na.bytesToSignedBigInt=Na.bytesToBigInt=Na.bytesToHex=Na.assertIsBytes=Na.isBytes=void 0;var K6=Fh(),Xhe=CD(),Ah0=48,Ch0=58,Ih0=87;function R3n(){let t=[];return()=>{if(t.length===0)for(let e=0;e<256;e++)t.push(e.toString(16).padStart(2,"0"));return t}}var M3n=R3n();function Zhe(t){return t instanceof Uint8Array}Na.isBytes=Zhe;function oA(t){(0,K6.assert)(Zhe(t),"Value must be a Uint8Array.")}Na.assertIsBytes=oA;function kh0(t){if(oA(t),t.length===0)return"0x";let e=M3n(),n=new Array(t.length);for(let a=0;a=BigInt(0),"Value must be a non-negative bigint.");let e=t.toString(16);return t$(e)}Na.bigIntToBytes=Rh0;function L3n(t,e){(0,K6.assert)(e>0);let n=t>>BigInt(31);return!((~t&n)+(t&~n)>>BigInt(e*8+-1))}function F3n(t,e){(0,K6.assert)(typeof t=="bigint","Value must be a bigint."),(0,K6.assert)(typeof e=="number","Byte length must be a number."),(0,K6.assert)(e>0,"Byte length must be greater than 0."),(0,K6.assert)(L3n(t,e),"Byte length is too small to represent the given value.");let n=t,a=new Uint8Array(e);for(let r=0;r>=BigInt(8);return a.reverse()}Na.signedBigIntToBytes=F3n;function Mh0(t){(0,K6.assert)(typeof t=="number","Value must be a number."),(0,K6.assert)(t>=0,"Value must be a non-negative number."),(0,K6.assert)(Number.isSafeInteger(t),"Value is not a safe integer. Use `bigIntToBytes` instead.");let e=t.toString(16);return t$(e)}Na.numberToBytes=Mh0;function Bh0(t){return(0,K6.assert)(typeof t=="string","Value must be a string."),new TextEncoder().encode(t)}Na.stringToBytes=Bh0;function Dh0(t){if(typeof t=="bigint")return Rh0(t);if(typeof t=="number")return Mh0(t);if(typeof t=="string")return t.startsWith("0x")?t$(t):Bh0(t);if(Zhe(t))return t;throw new TypeError(`Unsupported value type: "${typeof t}".`)}Na.valueToBytes=Dh0;function N3n(t){let e=new Array(t.length),n=0;for(let r=0;r{"use strict";u();p();Object.defineProperty(n$,"__esModule",{value:!0});n$.ChecksumStruct=void 0;var Ph0=i4(),U3n=Jhe();n$.ChecksumStruct=(0,Ph0.size)((0,U3n.base64)((0,Ph0.string)(),{paddingRequired:!0}),44,44)});var Oh0=D(pp=>{"use strict";u();p();Object.defineProperty(pp,"__esModule",{value:!0});pp.createHex=pp.createBytes=pp.createBigInt=pp.createNumber=void 0;var Nf=i4(),H3n=Fh(),Fh0=e3e(),a$=CD(),Nh0=(0,Nf.union)([(0,Nf.number)(),(0,Nf.bigint)(),(0,Nf.string)(),a$.StrictHexStruct]),z3n=(0,Nf.coerce)((0,Nf.number)(),Nh0,Number),W3n=(0,Nf.coerce)((0,Nf.bigint)(),Nh0,BigInt),r$a=(0,Nf.union)([a$.StrictHexStruct,(0,Nf.instance)(Uint8Array)]),q3n=(0,Nf.coerce)((0,Nf.instance)(Uint8Array),(0,Nf.union)([a$.StrictHexStruct]),Fh0.hexToBytes),j3n=(0,Nf.coerce)(a$.StrictHexStruct,(0,Nf.instance)(Uint8Array),Fh0.bytesToHex);function G3n(t){try{let e=(0,Nf.create)(t,z3n);return(0,H3n.assert)(Number.isFinite(e),`Expected a number-like value, got "${t}".`),e}catch(e){throw e instanceof Nf.StructError?new Error(`Expected a number-like value, got "${t}".`):e}}pp.createNumber=G3n;function K3n(t){try{return(0,Nf.create)(t,W3n)}catch(e){throw e instanceof Nf.StructError?new Error(`Expected a number-like value, got "${String(e.value)}".`):e}}pp.createBigInt=K3n;function Q3n(t){if(typeof t=="string"&&t.toLowerCase()==="0x")return new Uint8Array;try{return(0,Nf.create)(t,q3n)}catch(e){throw e instanceof Nf.StructError?new Error(`Expected a bytes-like value, got "${String(e.value)}".`):e}}pp.createBytes=Q3n;function V3n(t){if(t instanceof Uint8Array&&t.length===0||typeof t=="string"&&t.toLowerCase()==="0x")return"0x";try{return(0,Nf.create)(t,j3n)}catch(e){throw e instanceof Nf.StructError?new Error(`Expected a bytes-like value, got "${String(e.value)}".`):e}}pp.createHex=V3n});var Hh0=D(bp=>{"use strict";u();p();var Uh0=bp&&bp.__classPrivateFieldSet||function(t,e,n,a,r){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!r)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?r.call(t,n):r?r.value=n:e.set(t,n),n},hc=bp&&bp.__classPrivateFieldGet||function(t,e,n,a){if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?a:n==="a"?a.call(t):a?a.value:e.get(t)},Ql,hp;Object.defineProperty(bp,"__esModule",{value:!0});bp.FrozenSet=bp.FrozenMap=void 0;var ID=class{constructor(e){Ql.set(this,void 0),Uh0(this,Ql,new Map(e),"f"),Object.freeze(this)}get size(){return hc(this,Ql,"f").size}[(Ql=new WeakMap,Symbol.iterator)](){return hc(this,Ql,"f")[Symbol.iterator]()}entries(){return hc(this,Ql,"f").entries()}forEach(e,n){return hc(this,Ql,"f").forEach((a,r,f)=>e.call(n,a,r,this))}get(e){return hc(this,Ql,"f").get(e)}has(e){return hc(this,Ql,"f").has(e)}keys(){return hc(this,Ql,"f").keys()}values(){return hc(this,Ql,"f").values()}toString(){return`FrozenMap(${this.size}) {${this.size>0?` ${[...this.entries()].map(([e,n])=>`${String(e)} => ${String(n)}`).join(", ")} `:""}}`}};bp.FrozenMap=ID;var kD=class{constructor(e){hp.set(this,void 0),Uh0(this,hp,new Set(e),"f"),Object.freeze(this)}get size(){return hc(this,hp,"f").size}[(hp=new WeakMap,Symbol.iterator)](){return hc(this,hp,"f")[Symbol.iterator]()}entries(){return hc(this,hp,"f").entries()}forEach(e,n){return hc(this,hp,"f").forEach((a,r,f)=>e.call(n,a,r,this))}has(e){return hc(this,hp,"f").has(e)}keys(){return hc(this,hp,"f").keys()}values(){return hc(this,hp,"f").values()}toString(){return`FrozenSet(${this.size}) {${this.size>0?` ${[...this.values()].map(e=>String(e)).join(", ")} `:""}}`}};bp.FrozenSet=kD;Object.freeze(ID);Object.freeze(ID.prototype);Object.freeze(kD);Object.freeze(kD.prototype)});var Wh0=D(zh0=>{"use strict";u();p();Object.defineProperty(zh0,"__esModule",{value:!0})});var qh0=D(g0=>{"use strict";u();p();Object.defineProperty(g0,"__esModule",{value:!0});g0.getJsonRpcIdValidator=g0.assertIsJsonRpcError=g0.isJsonRpcError=g0.assertIsJsonRpcFailure=g0.isJsonRpcFailure=g0.assertIsJsonRpcSuccess=g0.isJsonRpcSuccess=g0.assertIsJsonRpcResponse=g0.isJsonRpcResponse=g0.assertIsPendingJsonRpcResponse=g0.isPendingJsonRpcResponse=g0.JsonRpcResponseStruct=g0.JsonRpcFailureStruct=g0.JsonRpcSuccessStruct=g0.PendingJsonRpcResponseStruct=g0.assertIsJsonRpcRequest=g0.isJsonRpcRequest=g0.assertIsJsonRpcNotification=g0.isJsonRpcNotification=g0.JsonRpcNotificationStruct=g0.JsonRpcRequestStruct=g0.JsonRpcParamsStruct=g0.JsonRpcErrorStruct=g0.JsonRpcIdStruct=g0.JsonRpcVersionStruct=g0.jsonrpc2=g0.getJsonSize=g0.isValidJson=g0.JsonStruct=g0.UnsafeJsonStruct=void 0;var zt=i4(),s4=Fh(),Y3n=()=>(0,zt.define)("finite number",t=>(0,zt.is)(t,(0,zt.number)())&&Number.isFinite(t));g0.UnsafeJsonStruct=(0,zt.union)([(0,zt.literal)(null),(0,zt.boolean)(),Y3n(),(0,zt.string)(),(0,zt.array)((0,zt.lazy)(()=>g0.UnsafeJsonStruct)),(0,zt.record)((0,zt.string)(),(0,zt.lazy)(()=>g0.UnsafeJsonStruct))]);g0.JsonStruct=(0,zt.define)("Json",(t,e)=>{function n(a,r){let i=[...r.validator(a,e)];return i.length>0?i:!0}try{let a=n(t,g0.UnsafeJsonStruct);return a!==!0?a:n(JSON.parse(JSON.stringify(t)),g0.UnsafeJsonStruct)}catch(a){return a instanceof RangeError?"Circular reference detected":!1}});function $3n(t){return(0,zt.is)(t,g0.JsonStruct)}g0.isValidJson=$3n;function J3n(t){(0,s4.assertStruct)(t,g0.JsonStruct,"Invalid JSON value");let e=JSON.stringify(t);return new TextEncoder().encode(e).byteLength}g0.getJsonSize=J3n;g0.jsonrpc2="2.0";g0.JsonRpcVersionStruct=(0,zt.literal)(g0.jsonrpc2);g0.JsonRpcIdStruct=(0,zt.nullable)((0,zt.union)([(0,zt.number)(),(0,zt.string)()]));g0.JsonRpcErrorStruct=(0,zt.object)({code:(0,zt.integer)(),message:(0,zt.string)(),data:(0,zt.optional)(g0.JsonStruct),stack:(0,zt.optional)((0,zt.string)())});g0.JsonRpcParamsStruct=(0,zt.optional)((0,zt.union)([(0,zt.record)((0,zt.string)(),g0.JsonStruct),(0,zt.array)(g0.JsonStruct)]));g0.JsonRpcRequestStruct=(0,zt.object)({id:g0.JsonRpcIdStruct,jsonrpc:g0.JsonRpcVersionStruct,method:(0,zt.string)(),params:g0.JsonRpcParamsStruct});g0.JsonRpcNotificationStruct=(0,zt.omit)(g0.JsonRpcRequestStruct,["id"]);function X3n(t){return(0,zt.is)(t,g0.JsonRpcNotificationStruct)}g0.isJsonRpcNotification=X3n;function Z3n(t,e){(0,s4.assertStruct)(t,g0.JsonRpcNotificationStruct,"Invalid JSON-RPC notification",e)}g0.assertIsJsonRpcNotification=Z3n;function ebn(t){return(0,zt.is)(t,g0.JsonRpcRequestStruct)}g0.isJsonRpcRequest=ebn;function tbn(t,e){(0,s4.assertStruct)(t,g0.JsonRpcRequestStruct,"Invalid JSON-RPC request",e)}g0.assertIsJsonRpcRequest=tbn;g0.PendingJsonRpcResponseStruct=(0,zt.object)({id:g0.JsonRpcIdStruct,jsonrpc:g0.JsonRpcVersionStruct,result:(0,zt.optional)((0,zt.unknown)()),error:(0,zt.optional)(g0.JsonRpcErrorStruct)});g0.JsonRpcSuccessStruct=(0,zt.object)({id:g0.JsonRpcIdStruct,jsonrpc:g0.JsonRpcVersionStruct,result:g0.JsonStruct});g0.JsonRpcFailureStruct=(0,zt.object)({id:g0.JsonRpcIdStruct,jsonrpc:g0.JsonRpcVersionStruct,error:g0.JsonRpcErrorStruct});g0.JsonRpcResponseStruct=(0,zt.union)([g0.JsonRpcSuccessStruct,g0.JsonRpcFailureStruct]);function nbn(t){return(0,zt.is)(t,g0.PendingJsonRpcResponseStruct)}g0.isPendingJsonRpcResponse=nbn;function abn(t,e){(0,s4.assertStruct)(t,g0.PendingJsonRpcResponseStruct,"Invalid pending JSON-RPC response",e)}g0.assertIsPendingJsonRpcResponse=abn;function rbn(t){return(0,zt.is)(t,g0.JsonRpcResponseStruct)}g0.isJsonRpcResponse=rbn;function fbn(t,e){(0,s4.assertStruct)(t,g0.JsonRpcResponseStruct,"Invalid JSON-RPC response",e)}g0.assertIsJsonRpcResponse=fbn;function ibn(t){return(0,zt.is)(t,g0.JsonRpcSuccessStruct)}g0.isJsonRpcSuccess=ibn;function sbn(t,e){(0,s4.assertStruct)(t,g0.JsonRpcSuccessStruct,"Invalid JSON-RPC success response",e)}g0.assertIsJsonRpcSuccess=sbn;function obn(t){return(0,zt.is)(t,g0.JsonRpcFailureStruct)}g0.isJsonRpcFailure=obn;function cbn(t,e){(0,s4.assertStruct)(t,g0.JsonRpcFailureStruct,"Invalid JSON-RPC failure response",e)}g0.assertIsJsonRpcFailure=cbn;function dbn(t){return(0,zt.is)(t,g0.JsonRpcErrorStruct)}g0.isJsonRpcError=dbn;function lbn(t,e){(0,s4.assertStruct)(t,g0.JsonRpcErrorStruct,"Invalid JSON-RPC error",e)}g0.assertIsJsonRpcError=lbn;function ubn(t){let{permitEmptyString:e,permitFractions:n,permitNull:a}=Object.assign({permitEmptyString:!0,permitFractions:!1,permitNull:!0},t);return f=>!!(typeof f=="number"&&(n||Number.isInteger(f))||typeof f=="string"&&(e||f.length>0)||a&&f===null)}g0.getJsonRpcIdValidator=ubn});var Gh0=D(jh0=>{"use strict";u();p();Object.defineProperty(jh0,"__esModule",{value:!0})});var Qh0=D((w$a,Kh0)=>{u();p();var cA=1e3,dA=cA*60,lA=dA*60,Sg=lA*24,pbn=Sg*7,hbn=Sg*365.25;Kh0.exports=function(t,e){e=e||{};var n=typeof t;if(n==="string"&&t.length>0)return bbn(t);if(n==="number"&&isFinite(t))return e.long?ybn(t):mbn(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function bbn(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]),a=(e[2]||"ms").toLowerCase();switch(a){case"years":case"year":case"yrs":case"yr":case"y":return n*hbn;case"weeks":case"week":case"w":return n*pbn;case"days":case"day":case"d":return n*Sg;case"hours":case"hour":case"hrs":case"hr":case"h":return n*lA;case"minutes":case"minute":case"mins":case"min":case"m":return n*dA;case"seconds":case"second":case"secs":case"sec":case"s":return n*cA;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function mbn(t){var e=Math.abs(t);return e>=Sg?Math.round(t/Sg)+"d":e>=lA?Math.round(t/lA)+"h":e>=dA?Math.round(t/dA)+"m":e>=cA?Math.round(t/cA)+"s":t+"ms"}function ybn(t){var e=Math.abs(t);return e>=Sg?r$(t,e,Sg,"day"):e>=lA?r$(t,e,lA,"hour"):e>=dA?r$(t,e,dA,"minute"):e>=cA?r$(t,e,cA,"second"):t+" ms"}function r$(t,e,n,a){var r=e>=n*1.5;return Math.round(t/n)+" "+a+(r?"s":"")}});var Yh0=D((E$a,Vh0)=>{u();p();function gbn(t){n.debug=n,n.default=n,n.coerce=o,n.disable=f,n.enable=r,n.enabled=i,n.humanize=Qh0(),n.destroy=c,Object.keys(t).forEach(d=>{n[d]=t[d]}),n.names=[],n.skips=[],n.formatters={};function e(d){let l=0;for(let h=0;h{if(V==="%%")return"%";j++;let K=n.formatters[X];if(typeof K=="function"){let G=O[j];V=K.call(F,G),O.splice(j,1),j--}return V}),n.formatArgs.call(F,O),(F.log||n.log).apply(F,O)}return S.namespace=d,S.useColors=n.useColors(),S.color=n.selectColor(d),S.extend=a,S.destroy=n.destroy,Object.defineProperty(S,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(y!==n.namespaces&&(y=n.namespaces,v=n.enabled(d)),v),set:O=>{h=O}}),typeof n.init=="function"&&n.init(S),S}function a(d,l){let h=n(this.namespace+(typeof l>"u"?":":l)+d);return h.log=this.log,h}function r(d){n.save(d),n.namespaces=d,n.names=[],n.skips=[];let l,h=(typeof d=="string"?d:"").split(/[\s,]+/),y=h.length;for(l=0;l"-"+l)].join(",");return n.enable(""),d}function i(d){if(d[d.length-1]==="*")return!0;let l,h;for(l=0,h=n.skips.length;l{u();p();Q6.formatArgs=wbn;Q6.save=Tbn;Q6.load=xbn;Q6.useColors=vbn;Q6.storage=Ebn();Q6.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();Q6.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function vbn(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function wbn(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+f$.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let n=0,a=0;t[0].replace(/%[a-zA-Z%]/g,r=>{r!=="%%"&&(n++,r==="%c"&&(a=n))}),t.splice(a,0,e)}Q6.log=console.debug||console.log||(()=>{});function Tbn(t){try{t?Q6.storage.setItem("debug",t):Q6.storage.removeItem("debug")}catch{}}function xbn(){let t;try{t=Q6.storage.getItem("debug")}catch{}return!t&&typeof E<"u"&&"env"in E&&(t=E.env.DEBUG),t}function Ebn(){try{return localStorage}catch{}}f$.exports=Yh0()(Q6);var{formatters:_bn}=f$.exports;_bn.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Jh0=D(o4=>{"use strict";u();p();var Abn=o4&&o4.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(o4,"__esModule",{value:!0});o4.createModuleLogger=o4.createProjectLogger=void 0;var Cbn=Abn($h0()),Ibn=(0,Cbn.default)("metamask");function kbn(t){return Ibn.extend(t)}o4.createProjectLogger=kbn;function Sbn(t,e){return t.extend(e)}o4.createModuleLogger=Sbn});var Zh0=D(Tf=>{"use strict";u();p();Object.defineProperty(Tf,"__esModule",{value:!0});Tf.calculateNumberSize=Tf.calculateStringSize=Tf.isASCII=Tf.isPlainObject=Tf.ESCAPE_CHARACTERS_REGEXP=Tf.JsonSize=Tf.hasProperty=Tf.isObject=Tf.isNullOrUndefined=Tf.isNonEmptyArray=void 0;function Rbn(t){return Array.isArray(t)&&t.length>0}Tf.isNonEmptyArray=Rbn;function Mbn(t){return t==null}Tf.isNullOrUndefined=Mbn;function Bbn(t){return!!t&&typeof t=="object"&&!Array.isArray(t)}Tf.isObject=Bbn;var Dbn=(t,e)=>Object.hasOwnProperty.call(t,e);Tf.hasProperty=Dbn;var Pbn;(function(t){t[t.Null=4]="Null",t[t.Comma=1]="Comma",t[t.Wrapper=1]="Wrapper",t[t.True=4]="True",t[t.False=5]="False",t[t.Quote=1]="Quote",t[t.Colon=1]="Colon",t[t.Date=24]="Date"})(Pbn=Tf.JsonSize||(Tf.JsonSize={}));Tf.ESCAPE_CHARACTERS_REGEXP=/"|\\|\n|\r|\t/gu;function Lbn(t){if(typeof t!="object"||t===null)return!1;try{let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}catch{return!1}}Tf.isPlainObject=Lbn;function Xh0(t){return t.charCodeAt(0)<=127}Tf.isASCII=Xh0;function Fbn(t){var e;return t.split("").reduce((a,r)=>Xh0(r)?a+1:a+2,0)+((e=t.match(Tf.ESCAPE_CHARACTERS_REGEXP))!==null&&e!==void 0?e:[]).length}Tf.calculateStringSize=Fbn;function Nbn(t){return t.toString().length}Tf.calculateNumberSize=Nbn});var e30=D(mp=>{"use strict";u();p();Object.defineProperty(mp,"__esModule",{value:!0});mp.hexToBigInt=mp.hexToNumber=mp.bigIntToHex=mp.numberToHex=void 0;var uA=Fh(),SD=CD(),Obn=t=>((0,uA.assert)(typeof t=="number","Value must be a number."),(0,uA.assert)(t>=0,"Value must be a non-negative number."),(0,uA.assert)(Number.isSafeInteger(t),"Value is not a safe integer. Use `bigIntToHex` instead."),(0,SD.add0x)(t.toString(16)));mp.numberToHex=Obn;var Ubn=t=>((0,uA.assert)(typeof t=="bigint","Value must be a bigint."),(0,uA.assert)(t>=0,"Value must be a non-negative bigint."),(0,SD.add0x)(t.toString(16)));mp.bigIntToHex=Ubn;var Hbn=t=>{(0,SD.assertIsHexString)(t);let e=parseInt(t,16);return(0,uA.assert)(Number.isSafeInteger(e),"Value is not a safe integer. Use `hexToBigInt` instead."),e};mp.hexToNumber=Hbn;var zbn=t=>((0,SD.assertIsHexString)(t),BigInt((0,SD.add0x)(t)));mp.hexToBigInt=zbn});var n30=D(t30=>{"use strict";u();p();Object.defineProperty(t30,"__esModule",{value:!0})});var r30=D(Nh=>{"use strict";u();p();Object.defineProperty(Nh,"__esModule",{value:!0});Nh.timeSince=Nh.inMilliseconds=Nh.Duration=void 0;var Wbn;(function(t){t[t.Millisecond=1]="Millisecond",t[t.Second=1e3]="Second",t[t.Minute=6e4]="Minute",t[t.Hour=36e5]="Hour",t[t.Day=864e5]="Day",t[t.Week=6048e5]="Week",t[t.Year=31536e6]="Year"})(Wbn=Nh.Duration||(Nh.Duration={}));var qbn=t=>Number.isInteger(t)&&t>=0,a30=(t,e)=>{if(!qbn(t))throw new Error(`"${e}" must be a non-negative integer. Received: "${t}".`)};function jbn(t,e){return a30(t,"count"),t*e}Nh.inMilliseconds=jbn;function Gbn(t){return a30(t,"timestamp"),Date.now()-t}Nh.timeSince=Gbn});var i30=D(f30=>{"use strict";u();p();Object.defineProperty(f30,"__esModule",{value:!0})});var o30=D(xf=>{"use strict";u();p();Object.defineProperty(xf,"__esModule",{value:!0});xf.satisfiesVersionRange=xf.gtRange=xf.gtVersion=xf.assertIsSemVerRange=xf.assertIsSemVerVersion=xf.isValidSemVerRange=xf.isValidSemVerVersion=xf.VersionRangeStruct=xf.VersionStruct=void 0;var RD=Bce(),pA=i4(),s30=Fh();xf.VersionStruct=(0,pA.refine)((0,pA.string)(),"Version",t=>(0,RD.valid)(t)===null?`Expected SemVer version, got "${t}"`:!0);xf.VersionRangeStruct=(0,pA.refine)((0,pA.string)(),"Version range",t=>(0,RD.validRange)(t)===null?`Expected SemVer range, got "${t}"`:!0);function Kbn(t){return(0,pA.is)(t,xf.VersionStruct)}xf.isValidSemVerVersion=Kbn;function Qbn(t){return(0,pA.is)(t,xf.VersionRangeStruct)}xf.isValidSemVerRange=Qbn;function Vbn(t){(0,s30.assertStruct)(t,xf.VersionStruct)}xf.assertIsSemVerVersion=Vbn;function Ybn(t){(0,s30.assertStruct)(t,xf.VersionRangeStruct)}xf.assertIsSemVerRange=Ybn;function $bn(t,e){return(0,RD.gt)(t,e)}xf.gtVersion=$bn;function Jbn(t,e){return(0,RD.gtr)(t,e)}xf.gtRange=Jbn;function Xbn(t,e){return(0,RD.satisfies)(t,e,{includePrerelease:!0})}xf.satisfiesVersionRange=Xbn});var c30=D(Of=>{"use strict";u();p();var Zbn=Of&&Of.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),wo=Of&&Of.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Zbn(e,t,n)};Object.defineProperty(Of,"__esModule",{value:!0});wo(Fh(),Of);wo(Jhe(),Of);wo(e3e(),Of);wo(Lh0(),Of);wo(Oh0(),Of);wo(Hh0(),Of);wo(Wh0(),Of);wo(CD(),Of);wo(qh0(),Of);wo(Gh0(),Of);wo(Jh0(),Of);wo(Zh0(),Of);wo(e30(),Of);wo(n30(),Of);wo(r30(),Of);wo(i30(),Of);wo(o30(),Of)});var l30=D(hA=>{"use strict";u();p();Object.defineProperty(hA,"__esModule",{value:!0});hA.createModuleLogger=hA.projectLogger=void 0;var d30=c30();Object.defineProperty(hA,"createModuleLogger",{enumerable:!0,get:function(){return d30.createModuleLogger}});hA.projectLogger=(0,d30.createProjectLogger)("eth-block-tracker")});var m30=D(bA=>{"use strict";u();p();var b30=bA&&bA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(bA,"__esModule",{value:!0});bA.PollingBlockTracker=void 0;var emn=b30(JY()),tmn=b30(mh0()),nmn=$he(),u30=l30(),p30=(0,u30.createModuleLogger)(u30.projectLogger,"polling-block-tracker"),amn=(0,emn.default)(),rmn=1e3,t3e=class extends nmn.BaseBlockTracker{constructor(e={}){var n;if(!e.provider)throw new Error("PollingBlockTracker - no provider specified.");super(Object.assign(Object.assign({},e),{blockResetDuration:(n=e.blockResetDuration)!==null&&n!==void 0?n:e.pollingInterval})),this._provider=e.provider,this._pollingInterval=e.pollingInterval||20*rmn,this._retryTimeout=e.retryTimeout||this._pollingInterval/10,this._keepEventLoopActive=e.keepEventLoopActive===void 0?!0:e.keepEventLoopActive,this._setSkipCacheFlag=e.setSkipCacheFlag||!1}async checkForLatestBlock(){return await this._updateLatestBlock(),await this.getLatestBlock()}async _start(){this._synchronize()}async _end(){}async _synchronize(){for(var e;this._isRunning;)try{await this._updateLatestBlock();let n=h30(this._pollingInterval,!this._keepEventLoopActive);this.emit("_waitingForNextIteration"),await n}catch(n){let a=new Error(`PollingBlockTracker - encountered an error while attempting to update latest block: +`);let i=jln(e,n,r),s=TV.getSymbolSize(e),o=new Dln(s);return Uln(o,e),Hln(o),zln(o,e),Qpe(o,n,0),e>=7&&Wln(o,e),qln(o,i),isNaN(a)&&(a=Vpe.getBestMask(o,Qpe.bind(null,o,n))),Vpe.applyMask(a,o),Qpe(o,n,a),{modules:o,version:e,errorCorrectionLevel:n,maskPattern:a,segments:r}}_20.create=function(e,n){if(typeof e>"u"||e==="")throw new Error("No input text");let a=Gpe.M,r,f;return typeof n<"u"&&(a=Gpe.from(n.errorCorrectionLevel,Gpe.M),r=wV.from(n.version),f=Vpe.from(n.maskPattern),n.toSJISFunc&&TV.setToSJISFunction(n.toSJISFunc)),Kln(e,r,a,f)}});var $pe=D(dg=>{u();p();function C20(t){if(typeof t=="number"&&(t=t.toString()),typeof t!="string")throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||e.length===5||e.length>8)throw new Error("Invalid hex color: "+t);(e.length===3||e.length===4)&&(e=Array.prototype.concat.apply([],e.map(function(a){return[a,a]}))),e.length===6&&e.push("F","F");let n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:n&255,hex:"#"+e.slice(0,6).join("")}}dg.getOptions=function(e){e||(e={}),e.color||(e.color={});let n=typeof e.margin>"u"||e.margin===null||e.margin<0?4:e.margin,a=e.width&&e.width>=21?e.width:void 0,r=e.scale||4;return{width:a,scale:a?4:r,margin:n,color:{dark:C20(e.color.dark||"#000000ff"),light:C20(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}};dg.getScale=function(e,n){return n.width&&n.width>=e+n.margin*2?n.width/(e+n.margin*2):n.scale};dg.getImageWidth=function(e,n){let a=dg.getScale(e,n);return Math.floor((e+n.margin*2)*a)};dg.qrToImageData=function(e,n,a){let r=n.modules.size,f=n.modules.data,i=dg.getScale(r,a),s=Math.floor((r+a.margin*2)*i),o=a.margin*i,c=[a.color.light,a.color.dark];for(let d=0;d=o&&l>=o&&d{u();p();var Jpe=$pe();function Qln(t,e,n){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=n,e.width=n,e.style.height=n+"px",e.style.width=n+"px"}function Vln(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}xV.render=function(e,n,a){let r=a,f=n;typeof r>"u"&&(!n||!n.getContext)&&(r=n,n=void 0),n||(f=Vln()),r=Jpe.getOptions(r);let i=Jpe.getImageWidth(e.modules.size,r),s=f.getContext("2d"),o=s.createImageData(i,i);return Jpe.qrToImageData(o.data,e,r),Qln(s,f,i),s.putImageData(o,0,0),f};xV.renderToDataURL=function(e,n,a){let r=a;typeof r>"u"&&(!n||!n.getContext)&&(r=n,n=void 0),r||(r={});let f=xV.render(e,n,r),i=r.type||"image/png",s=r.rendererOpts||{};return f.toDataURL(i,s.quality)}});var R20=D(S20=>{u();p();var Yln=$pe();function k20(t,e){let n=t.a/255,a=e+'="'+t.hex+'"';return n<1?a+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':a}function Xpe(t,e,n){let a=t+e;return typeof n<"u"&&(a+=" "+n),a}function $ln(t,e,n){let a="",r=0,f=!1,i=0;for(let s=0;s0&&o>0&&t[s-1]||(a+=f?Xpe("M",o+n,.5+c+n):Xpe("m",r,0),r=0,f=!1),o+1':"",c="',d='viewBox="0 0 '+s+" "+s+'"',h=''+o+c+` +`;return typeof a=="function"&&a(null,h),h}});var B20=D(tD=>{u();p();var Jln=Bl0(),Zpe=A20(),M20=I20(),Xln=R20();function e8e(t,e,n,a,r){let f=[].slice.call(arguments,1),i=f.length,s=typeof f[i-1]=="function";if(!s&&!Jln())throw new Error("Callback required as last argument");if(s){if(i<2)throw new Error("Too few arguments provided");i===2?(r=n,n=e,e=a=void 0):i===3&&(e.getContext&&typeof r>"u"?(r=a,a=void 0):(r=a,a=n,n=e,e=void 0))}else{if(i<1)throw new Error("Too few arguments provided");return i===1?(n=e,e=a=void 0):i===2&&!e.getContext&&(a=n,n=e,e=void 0),new Promise(function(o,c){try{let d=Zpe.create(n,a);o(t(d,e,a))}catch(d){c(d)}})}try{let o=Zpe.create(n,a);r(null,t(o,e,a))}catch(o){r(o)}}tD.create=Zpe.create;tD.toCanvas=e8e.bind(null,M20.render);tD.toDataURL=e8e.bind(null,M20.renderToDataURL);tD.toString=e8e.bind(null,function(t,e,n){return Xln.render(t,n)})});var G20={};V0(G20,{WcmModal:()=>F_,WcmQrCode:()=>Bh});function n2n(){var t;let e=(t=tp.state.themeMode)!=null?t:"dark",n={light:{foreground:{1:"rgb(20,20,20)",2:"rgb(121,134,134)",3:"rgb(158,169,169)"},background:{1:"rgb(255,255,255)",2:"rgb(241,243,243)",3:"rgb(228,231,231)"},overlay:"rgba(0,0,0,0.1)"},dark:{foreground:{1:"rgb(228,231,231)",2:"rgb(148,158,158)",3:"rgb(110,119,119)"},background:{1:"rgb(20,20,20)",2:"rgb(39,42,42)",3:"rgb(59,64,64)"},overlay:"rgba(255,255,255,0.1)"}}[e];return{"--wcm-color-fg-1":n.foreground[1],"--wcm-color-fg-2":n.foreground[2],"--wcm-color-fg-3":n.foreground[3],"--wcm-color-bg-1":n.background[1],"--wcm-color-bg-2":n.background[2],"--wcm-color-bg-3":n.background[3],"--wcm-color-overlay":n.overlay}}function L20(){return{"--wcm-accent-color":"#3396FF","--wcm-accent-fill-color":"#FFFFFF","--wcm-z-index":"89","--wcm-background-color":"#3396FF","--wcm-background-border-radius":"8px","--wcm-container-border-radius":"30px","--wcm-wallet-icon-border-radius":"15px","--wcm-wallet-icon-large-border-radius":"30px","--wcm-wallet-icon-small-border-radius":"7px","--wcm-input-border-radius":"28px","--wcm-button-border-radius":"10px","--wcm-notification-border-radius":"36px","--wcm-secondary-button-border-radius":"28px","--wcm-icon-button-border-radius":"50%","--wcm-button-hover-highlight-border-radius":"10px","--wcm-text-big-bold-size":"20px","--wcm-text-big-bold-weight":"600","--wcm-text-big-bold-line-height":"24px","--wcm-text-big-bold-letter-spacing":"-0.03em","--wcm-text-big-bold-text-transform":"none","--wcm-text-xsmall-bold-size":"10px","--wcm-text-xsmall-bold-weight":"700","--wcm-text-xsmall-bold-line-height":"12px","--wcm-text-xsmall-bold-letter-spacing":"0.02em","--wcm-text-xsmall-bold-text-transform":"uppercase","--wcm-text-xsmall-regular-size":"12px","--wcm-text-xsmall-regular-weight":"600","--wcm-text-xsmall-regular-line-height":"14px","--wcm-text-xsmall-regular-letter-spacing":"-0.03em","--wcm-text-xsmall-regular-text-transform":"none","--wcm-text-small-thin-size":"14px","--wcm-text-small-thin-weight":"500","--wcm-text-small-thin-line-height":"16px","--wcm-text-small-thin-letter-spacing":"-0.03em","--wcm-text-small-thin-text-transform":"none","--wcm-text-small-regular-size":"14px","--wcm-text-small-regular-weight":"600","--wcm-text-small-regular-line-height":"16px","--wcm-text-small-regular-letter-spacing":"-0.03em","--wcm-text-small-regular-text-transform":"none","--wcm-text-medium-regular-size":"16px","--wcm-text-medium-regular-weight":"600","--wcm-text-medium-regular-line-height":"20px","--wcm-text-medium-regular-letter-spacing":"-0.03em","--wcm-text-medium-regular-text-transform":"none","--wcm-font-family":"-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', sans-serif","--wcm-font-feature-settings":"'tnum' on, 'lnum' on, 'case' on","--wcm-success-color":"rgb(38,181,98)","--wcm-error-color":"rgb(242, 90, 103)","--wcm-overlay-background-color":"rgba(0, 0, 0, 0.3)","--wcm-overlay-backdrop-filter":"none"}}function o8e(t,e,n){return t===e?!1:(t-e<0?e-t:t-e)<=n+P2n}function L2n(t,e){let n=Array.prototype.slice.call(j20.default.create(t,{errorCorrectionLevel:e}).modules.data,0),a=Math.sqrt(n.length);return n.reduce((r,f,i)=>(i%a===0?r.push([f]):r[r.length-1].push(f))&&r,[])}var j20,Zln,D20,e2n,t2n,P20,t8e,ha,a2n,r2n,f2n,M_,Jm,i2n,s2n,o2n,n8e,nD,c2n,d2n,l2n,u2n,a8e,tr,p2n,h2n,b2n,m2n,r8e,y2n,g2n,v2n,w2n,f8e,T2n,x2n,E2n,_2n,i8e,A2n,C2n,I2n,aD,lg,Zt,k2n,S2n,R2n,s8e,rD,M2n,B2n,D2n,F20,EV,P2n,N20,Mh,F2n,N2n,O2n,U2n,B_,Bh,H2n,z2n,W2n,O20,_V,q2n,j2n,G2n,K2n,c8e,Q2n,V2n,Y2n,d8e,fD,$2n,J2n,X2n,Xm,rp,Z2n,eun,tun,AV,D_,nun,aun,U20,l8e,run,fun,iun,H20,sun,oun,cun,dun,u8e,lun,uun,pun,P_,Zm,N_,e4,hun,bun,mun,yun,p8e,gun,vun,wun,Tun,h8e,xun,Eun,_un,Aun,b8e,Cun,Iun,kun,m8e,F_,Sun,Run,Mun,iD,ug,Bun,Dun,Pun,Lun,y8e,Fun,Nun,Oun,CV,L_,Uun,Hun,zun,g8e,Wun,qun,jun,z20,IV,Gun,Kun,Qun,Vun,v8e,Yun,$un,Jun,W20,kV,Xun,Zun,epn,tpn,w8e,npn,apn,rpn,T8e,fpn,ipn,spn,sD,x8e,pg,opn,cpn,dpn,q20,SV,K20=ce(()=>{u();p();X50();id0();ld0();Uue();ng();kl0();Rl0();j20=Ee(B20(),1),Zln=Object.defineProperty,D20=Object.getOwnPropertySymbols,e2n=Object.prototype.hasOwnProperty,t2n=Object.prototype.propertyIsEnumerable,P20=(t,e,n)=>e in t?Zln(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,t8e=(t,e)=>{for(var n in e||(e={}))e2n.call(e,n)&&P20(t,n,e[n]);if(D20)for(var n of D20(e))t2n.call(e,n)&&P20(t,n,e[n]);return t};ha={getPreset(t){return L20()[t]},setTheme(){let t=document.querySelector(":root"),{themeVariables:e}=tp.state;if(t){let n=t8e(t8e(t8e({},n2n()),L20()),e);Object.entries(n).forEach(([a,r])=>t.style.setProperty(a,r))}},globalCss:Ia`*,::after,::before{margin:0;padding:0;box-sizing:border-box;font-style:normal;text-rendering:optimizeSpeed;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;backface-visibility:hidden}button{cursor:pointer;display:flex;justify-content:center;align-items:center;position:relative;border:none;background-color:transparent;transition:all .2s ease}@media (hover:hover) and (pointer:fine){button:active{transition:all .1s ease;transform:scale(.93)}}button::after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;transition:background-color,.2s ease}button:disabled{cursor:not-allowed}button svg,button wcm-text{position:relative;z-index:1}input{border:none;outline:0;appearance:none}img{display:block}::selection{color:var(--wcm-accent-fill-color);background:var(--wcm-accent-color)}`},a2n=Ia`button{border-radius:var(--wcm-secondary-button-border-radius);height:28px;padding:0 10px;background-color:var(--wcm-accent-color)}button path{fill:var(--wcm-accent-fill-color)}button::after{border-radius:inherit;border:1px solid var(--wcm-color-overlay)}button:disabled::after{background-color:transparent}.wcm-icon-left svg{margin-right:5px}.wcm-icon-right svg{margin-left:5px}button:active::after{background-color:var(--wcm-color-overlay)}.wcm-ghost,.wcm-ghost:active::after,.wcm-outline{background-color:transparent}.wcm-ghost:active{opacity:.5}@media(hover:hover){button:hover::after{background-color:var(--wcm-color-overlay)}.wcm-ghost:hover::after{background-color:transparent}.wcm-ghost:hover{opacity:.5}}button:disabled{background-color:var(--wcm-color-bg-3);pointer-events:none}.wcm-ghost::after{border-color:transparent}.wcm-ghost path{fill:var(--wcm-color-fg-2)}.wcm-outline path{fill:var(--wcm-accent-color)}.wcm-outline:disabled{background-color:transparent;opacity:.5}`,r2n=Object.defineProperty,f2n=Object.getOwnPropertyDescriptor,M_=(t,e,n,a)=>{for(var r=a>1?void 0:a?f2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&r2n(e,n,r),r},Jm=class extends Tn{constructor(){super(...arguments),this.disabled=!1,this.iconLeft=void 0,this.iconRight=void 0,this.onClick=()=>null,this.variant="default"}render(){let t={"wcm-icon-left":this.iconLeft!==void 0,"wcm-icon-right":this.iconRight!==void 0,"wcm-ghost":this.variant==="ghost","wcm-outline":this.variant==="outline"},e="inverse";return this.variant==="ghost"&&(e="secondary"),this.variant==="outline"&&(e="accent"),q0``}};Jm.styles=[ha.globalCss,a2n],M_([sn({type:Boolean})],Jm.prototype,"disabled",2),M_([sn()],Jm.prototype,"iconLeft",2),M_([sn()],Jm.prototype,"iconRight",2),M_([sn()],Jm.prototype,"onClick",2),M_([sn()],Jm.prototype,"variant",2),Jm=M_([pa("wcm-button")],Jm);i2n=Ia`:host{display:inline-block}button{padding:0 15px 1px;height:40px;border-radius:var(--wcm-button-border-radius);color:var(--wcm-accent-fill-color);background-color:var(--wcm-accent-color)}button::after{content:'';top:0;bottom:0;left:0;right:0;position:absolute;background-color:transparent;border-radius:inherit;transition:background-color .2s ease;border:1px solid var(--wcm-color-overlay)}button:active::after{background-color:var(--wcm-color-overlay)}button:disabled{padding-bottom:0;background-color:var(--wcm-color-bg-3);color:var(--wcm-color-fg-3)}.wcm-secondary{color:var(--wcm-accent-color);background-color:transparent}.wcm-secondary::after{display:none}@media(hover:hover){button:hover::after{background-color:var(--wcm-color-overlay)}}`,s2n=Object.defineProperty,o2n=Object.getOwnPropertyDescriptor,n8e=(t,e,n,a)=>{for(var r=a>1?void 0:a?o2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&s2n(e,n,r),r},nD=class extends Tn{constructor(){super(...arguments),this.disabled=!1,this.variant="primary"}render(){let t={"wcm-secondary":this.variant==="secondary"};return q0``}};nD.styles=[ha.globalCss,i2n],n8e([sn({type:Boolean})],nD.prototype,"disabled",2),n8e([sn()],nD.prototype,"variant",2),nD=n8e([pa("wcm-button-big")],nD);c2n=Ia`:host{background-color:var(--wcm-color-bg-2);border-top:1px solid var(--wcm-color-bg-3)}div{padding:10px 20px;display:inherit;flex-direction:inherit;align-items:inherit;width:inherit;justify-content:inherit}`,d2n=Object.defineProperty,l2n=Object.getOwnPropertyDescriptor,u2n=(t,e,n,a)=>{for(var r=a>1?void 0:a?l2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&d2n(e,n,r),r},a8e=class extends Tn{render(){return q0`
`}};a8e.styles=[ha.globalCss,c2n],a8e=u2n([pa("wcm-info-footer")],a8e);tr={CROSS_ICON:wf``,WALLET_CONNECT_LOGO:wf``,WALLET_CONNECT_ICON:wf``,WALLET_CONNECT_ICON_COLORED:wf``,BACK_ICON:wf``,COPY_ICON:wf``,RETRY_ICON:wf``,DESKTOP_ICON:wf``,MOBILE_ICON:wf``,ARROW_DOWN_ICON:wf``,ARROW_UP_RIGHT_ICON:wf``,ARROW_RIGHT_ICON:wf``,QRCODE_ICON:wf``,SCAN_ICON:wf``,CHECKMARK_ICON:wf``,SEARCH_ICON:wf``,WALLET_PLACEHOLDER:wf``,GLOBE_ICON:wf``},p2n=Ia`.wcm-toolbar-placeholder{top:0;bottom:0;left:0;right:0;width:100%;position:absolute;display:block;pointer-events:none;height:100px;border-radius:calc(var(--wcm-background-border-radius) * .9);background-color:var(--wcm-background-color);background-position:center;background-size:cover}.wcm-toolbar{height:38px;display:flex;position:relative;margin:5px 15px 5px 5px;justify-content:space-between;align-items:center}.wcm-toolbar img,.wcm-toolbar svg{height:28px;object-position:left center;object-fit:contain}#wcm-wc-logo path{fill:var(--wcm-accent-fill-color)}button{width:28px;height:28px;border-radius:var(--wcm-icon-button-border-radius);border:0;display:flex;justify-content:center;align-items:center;cursor:pointer;background-color:var(--wcm-color-bg-1);box-shadow:0 0 0 1px var(--wcm-color-overlay)}button:active{background-color:var(--wcm-color-bg-2)}button svg{display:block;object-position:center}button path{fill:var(--wcm-color-fg-1)}.wcm-toolbar div{display:flex}@media(hover:hover){button:hover{background-color:var(--wcm-color-bg-2)}}`,h2n=Object.defineProperty,b2n=Object.getOwnPropertyDescriptor,m2n=(t,e,n,a)=>{for(var r=a>1?void 0:a?b2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&h2n(e,n,r),r},r8e=class extends Tn{render(){return q0`
${tr.WALLET_CONNECT_LOGO}
`}};r8e.styles=[ha.globalCss,p2n],r8e=m2n([pa("wcm-modal-backcard")],r8e);y2n=Ia`main{padding:20px;padding-top:0;width:100%}`,g2n=Object.defineProperty,v2n=Object.getOwnPropertyDescriptor,w2n=(t,e,n,a)=>{for(var r=a>1?void 0:a?v2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&g2n(e,n,r),r},f8e=class extends Tn{render(){return q0`
`}};f8e.styles=[ha.globalCss,y2n],f8e=w2n([pa("wcm-modal-content")],f8e);T2n=Ia`footer{padding:10px;display:flex;flex-direction:column;align-items:inherit;justify-content:inherit;border-top:1px solid var(--wcm-color-bg-2)}`,x2n=Object.defineProperty,E2n=Object.getOwnPropertyDescriptor,_2n=(t,e,n,a)=>{for(var r=a>1?void 0:a?E2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&x2n(e,n,r),r},i8e=class extends Tn{render(){return q0`
`}};i8e.styles=[ha.globalCss,T2n],i8e=_2n([pa("wcm-modal-footer")],i8e);A2n=Ia`header{display:flex;justify-content:center;align-items:center;padding:20px;position:relative}.wcm-border{border-bottom:1px solid var(--wcm-color-bg-2);margin-bottom:20px}header button{padding:15px 20px}header button:active{opacity:.5}@media(hover:hover){header button:hover{opacity:.5}}.wcm-back-btn{position:absolute;left:0}.wcm-action-btn{position:absolute;right:0}path{fill:var(--wcm-accent-color)}`,C2n=Object.defineProperty,I2n=Object.getOwnPropertyDescriptor,aD=(t,e,n,a)=>{for(var r=a>1?void 0:a?I2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&C2n(e,n,r),r},lg=class extends Tn{constructor(){super(...arguments),this.title="",this.onAction=void 0,this.actionIcon=void 0,this.border=!1}backBtnTemplate(){return q0``}actionBtnTemplate(){return q0``}render(){let t={"wcm-border":this.border},e=vf.state.history.length>1,n=this.title?q0`${this.title}`:q0``;return q0`
${e?this.backBtnTemplate():null} ${n} ${this.onAction?this.actionBtnTemplate():null}
`}};lg.styles=[ha.globalCss,A2n],aD([sn()],lg.prototype,"title",2),aD([sn()],lg.prototype,"onAction",2),aD([sn()],lg.prototype,"actionIcon",2),aD([sn({type:Boolean})],lg.prototype,"border",2),lg=aD([pa("wcm-modal-header")],lg);Zt={MOBILE_BREAKPOINT:600,WCM_RECENT_WALLET_DATA:"WCM_RECENT_WALLET_DATA",EXPLORER_WALLET_URL:"https://explorer.walletconnect.com/?type=wallet",getShadowRootElement(t,e){let n=t.renderRoot.querySelector(e);if(!n)throw new Error(`${e} not found`);return n},getWalletIcon({id:t,image_id:e}){let{walletImages:n}=oc.state;return n!=null&&n[t]?n[t]:e?cc.getWalletImageUrl(e):""},getWalletName(t,e=!1){return e&&t.length>8?`${t.substring(0,8)}..`:t},isMobileAnimation(){return window.innerWidth<=Zt.MOBILE_BREAKPOINT},async preloadImage(t){let e=new Promise((n,a)=>{let r=new Image;r.onload=n,r.onerror=a,r.crossOrigin="anonymous",r.src=t});return Promise.race([e,vt.wait(3e3)])},getErrorMessage(t){return t instanceof Error?t.message:"Unknown Error"},debounce(t,e=500){let n;return(...a)=>{function r(){t(...a)}n&&clearTimeout(n),n=setTimeout(r,e)}},handleMobileLinking(t){let{walletConnectUri:e}=Df.state,{mobile:n,name:a}=t,r=n?.native,f=n?.universal;Zt.setRecentWallet(t);function i(s){let o="";r?o=vt.formatUniversalUrl(r,s,a):f&&(o=vt.formatNativeUrl(f,s,a)),vt.openHref(o,"_self")}e&&i(e)},handleAndroidLinking(){let{walletConnectUri:t}=Df.state;t&&(vt.setWalletConnectAndroidDeepLink(t),vt.openHref(t,"_self"))},async handleUriCopy(){let{walletConnectUri:t}=Df.state;if(t)try{await navigator.clipboard.writeText(t),Ah.openToast("Link copied","success")}catch{Ah.openToast("Failed to copy","error")}},getCustomImageUrls(){let{walletImages:t}=oc.state,e=Object.values(t??{});return Object.values(e)},truncate(t,e=8){return t.length<=e?t:`${t.substring(0,4)}...${t.substring(t.length-4)}`},setRecentWallet(t){try{localStorage.setItem(Zt.WCM_RECENT_WALLET_DATA,JSON.stringify(t))}catch{console.info("Unable to set recent wallet")}},getRecentWallet(){try{let t=localStorage.getItem(Zt.WCM_RECENT_WALLET_DATA);return t?JSON.parse(t):void 0}catch{console.info("Unable to get recent wallet")}},caseSafeIncludes(t,e){return t.toUpperCase().includes(e.toUpperCase())},openWalletExplorerUrl(){vt.openHref(Zt.EXPLORER_WALLET_URL,"_blank")},getCachedRouterWalletPlatforms(){let{desktop:t,mobile:e}=vt.getWalletRouterData(),n=!!t?.native,a=!!t?.universal,r=!!e?.native||!!e?.universal;return{isDesktop:n,isMobile:r,isWeb:a}},goToConnectingView(t){vf.setData({Wallet:t});let e=vt.isMobile(),{isDesktop:n,isWeb:a,isMobile:r}=Zt.getCachedRouterWalletPlatforms();e?r?vf.push("MobileConnecting"):a?vf.push("WebConnecting"):vf.push("InstallWallet"):n?vf.push("DesktopConnecting"):a?vf.push("WebConnecting"):r?vf.push("MobileQrcodeConnecting"):vf.push("InstallWallet")}},k2n=Ia`.wcm-router{overflow:hidden;will-change:transform}.wcm-content{display:flex;flex-direction:column}`,S2n=Object.defineProperty,R2n=Object.getOwnPropertyDescriptor,s8e=(t,e,n,a)=>{for(var r=a>1?void 0:a?R2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&S2n(e,n,r),r},rD=class extends Tn{constructor(){super(),this.view=vf.state.view,this.prevView=vf.state.view,this.unsubscribe=void 0,this.oldHeight="0px",this.resizeObserver=void 0,this.unsubscribe=vf.subscribe(t=>{this.view!==t.view&&this.onChangeRoute()})}firstUpdated(){this.resizeObserver=new ResizeObserver(([t])=>{let e=`${t.contentRect.height}px`;this.oldHeight!=="0px"&&Sh(this.routerEl,{height:[this.oldHeight,e]},{duration:.2}),this.oldHeight=e}),this.resizeObserver.observe(this.contentEl)}disconnectedCallback(){var t,e;(t=this.unsubscribe)==null||t.call(this),(e=this.resizeObserver)==null||e.disconnect()}get routerEl(){return Zt.getShadowRootElement(this,".wcm-router")}get contentEl(){return Zt.getShadowRootElement(this,".wcm-content")}viewTemplate(){switch(this.view){case"ConnectWallet":return q0``;case"DesktopConnecting":return q0``;case"MobileConnecting":return q0``;case"WebConnecting":return q0``;case"MobileQrcodeConnecting":return q0``;case"WalletExplorer":return q0``;case"Qrcode":return q0``;case"InstallWallet":return q0``;default:return q0`
Not Found
`}}async onChangeRoute(){await Sh(this.routerEl,{opacity:[1,0],scale:[1,1.02]},{duration:.15,delay:.1}).finished,this.view=vf.state.view,Sh(this.routerEl,{opacity:[0,1],scale:[.99,1]},{duration:.37,delay:.05})}render(){return q0`
${this.viewTemplate()}
`}};rD.styles=[ha.globalCss,k2n],s8e([dc()],rD.prototype,"view",2),s8e([dc()],rD.prototype,"prevView",2),rD=s8e([pa("wcm-modal-router")],rD);M2n=Ia`div{height:36px;width:max-content;display:flex;justify-content:center;align-items:center;padding:9px 15px 11px;position:absolute;top:12px;box-shadow:0 6px 14px -6px rgba(10,16,31,.3),0 10px 32px -4px rgba(10,16,31,.15);z-index:2;left:50%;transform:translateX(-50%);pointer-events:none;backdrop-filter:blur(20px) saturate(1.8);-webkit-backdrop-filter:blur(20px) saturate(1.8);border-radius:var(--wcm-notification-border-radius);border:1px solid var(--wcm-color-overlay);background-color:var(--wcm-color-overlay)}svg{margin-right:5px}@-moz-document url-prefix(){div{background-color:var(--wcm-color-bg-3)}}.wcm-success path{fill:var(--wcm-accent-color)}.wcm-error path{fill:var(--wcm-error-color)}`,B2n=Object.defineProperty,D2n=Object.getOwnPropertyDescriptor,F20=(t,e,n,a)=>{for(var r=a>1?void 0:a?D2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&B2n(e,n,r),r},EV=class extends Tn{constructor(){super(),this.open=!1,this.unsubscribe=void 0,this.timeout=void 0,this.unsubscribe=Ah.subscribe(t=>{t.open?(this.open=!0,this.timeout=setTimeout(()=>Ah.closeToast(),2200)):(this.open=!1,clearTimeout(this.timeout))})}disconnectedCallback(){var t;(t=this.unsubscribe)==null||t.call(this),clearTimeout(this.timeout),Ah.closeToast()}render(){let{message:t,variant:e}=Ah.state,n={"wcm-success":e==="success","wcm-error":e==="error"};return this.open?q0`
${e==="success"?tr.CHECKMARK_ICON:null} ${e==="error"?tr.CROSS_ICON:null}${t}
`:null}};EV.styles=[ha.globalCss,M2n],F20([dc()],EV.prototype,"open",2),EV=F20([pa("wcm-modal-toast")],EV);P2n=.1,N20=2.5,Mh=7;F2n={generate(t,e,n){let a="#141414",r="#ffffff",f=[],i=L2n(t,"Q"),s=e/i.length,o=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];o.forEach(({x:v,y:k})=>{let O=(i.length-Mh)*s*v,F=(i.length-Mh)*s*k,z=.45;for(let W=0;W`)}});let c=Math.floor((n+25)/s),d=i.length/2-c/2,l=i.length/2+c/2-1,h=[];i.forEach((v,k)=>{v.forEach((O,F)=>{if(i[k][F]&&!(ki.length-(Mh+1)&&Fi.length-(Mh+1))&&!(k>d&&kd&&F{y[v]?y[v].push(k):y[v]=[k]}),Object.entries(y).map(([v,k])=>{let O=k.filter(F=>k.every(z=>!o8e(F,z,s)));return[Number(v),O]}).forEach(([v,k])=>{k.forEach(O=>{f.push(wf``)})}),Object.entries(y).filter(([v,k])=>k.length>1).map(([v,k])=>{let O=k.filter(F=>k.some(z=>o8e(F,z,s)));return[Number(v),O]}).map(([v,k])=>{k.sort((F,z)=>FW.some(j=>o8e(F,j,s)));z?z.push(F):O.push([F])}return[v,O.map(F=>[F[0],F[F.length-1]])]}).forEach(([v,k])=>{k.forEach(([O,F])=>{f.push(wf``)})}),f}},N2n=Ia`@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}div{position:relative;user-select:none;display:block;overflow:hidden;aspect-ratio:1/1;animation:fadeIn ease .2s}.wcm-dark{background-color:#fff;border-radius:var(--wcm-container-border-radius);padding:18px;box-shadow:0 2px 5px #000}svg:first-child,wcm-wallet-image{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%)}wcm-wallet-image{transform:translateY(-50%) translateX(-50%)}wcm-wallet-image{width:25%;height:25%;border-radius:var(--wcm-wallet-icon-border-radius)}svg:first-child{transform:translateY(-50%) translateX(-50%) scale(.9)}svg:first-child path:first-child{fill:var(--wcm-accent-color)}svg:first-child path:last-child{stroke:var(--wcm-color-overlay)}`,O2n=Object.defineProperty,U2n=Object.getOwnPropertyDescriptor,B_=(t,e,n,a)=>{for(var r=a>1?void 0:a?U2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&O2n(e,n,r),r},Bh=class extends Tn{constructor(){super(...arguments),this.uri="",this.size=0,this.imageId=void 0,this.walletId=void 0,this.imageUrl=void 0}svgTemplate(){let t=tp.state.themeMode==="light"?this.size:this.size-36;return wf`${F2n.generate(this.uri,t,t/4)}`}render(){let t={"wcm-dark":tp.state.themeMode==="dark"};return q0`
${this.walletId||this.imageUrl?q0``:tr.WALLET_CONNECT_ICON_COLORED} ${this.svgTemplate()}
`}};Bh.styles=[ha.globalCss,N2n],B_([sn()],Bh.prototype,"uri",2),B_([sn({type:Number})],Bh.prototype,"size",2),B_([sn()],Bh.prototype,"imageId",2),B_([sn()],Bh.prototype,"walletId",2),B_([sn()],Bh.prototype,"imageUrl",2),Bh=B_([pa("wcm-qrcode")],Bh);H2n=Ia`:host{position:relative;height:28px;width:80%}input{width:100%;height:100%;line-height:28px!important;border-radius:var(--wcm-input-border-radius);font-style:normal;font-family:-apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,Ubuntu,'Helvetica Neue',sans-serif;font-feature-settings:'case' on;font-weight:500;font-size:16px;letter-spacing:-.03em;padding:0 10px 0 34px;transition:.2s all ease;color:var(--wcm-color-fg-1);background-color:var(--wcm-color-bg-3);box-shadow:inset 0 0 0 1px var(--wcm-color-overlay);caret-color:var(--wcm-accent-color)}input::placeholder{color:var(--wcm-color-fg-2)}svg{left:10px;top:4px;pointer-events:none;position:absolute;width:20px;height:20px}input:focus-within{box-shadow:inset 0 0 0 1px var(--wcm-accent-color)}path{fill:var(--wcm-color-fg-2)}`,z2n=Object.defineProperty,W2n=Object.getOwnPropertyDescriptor,O20=(t,e,n,a)=>{for(var r=a>1?void 0:a?W2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&z2n(e,n,r),r},_V=class extends Tn{constructor(){super(...arguments),this.onChange=()=>null}render(){return q0` ${tr.SEARCH_ICON}`}};_V.styles=[ha.globalCss,H2n],O20([sn()],_V.prototype,"onChange",2),_V=O20([pa("wcm-search-input")],_V);q2n=Ia`@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}svg{animation:rotate 2s linear infinite;display:flex;justify-content:center;align-items:center}svg circle{stroke-linecap:round;animation:dash 1.5s ease infinite;stroke:var(--wcm-accent-color)}`,j2n=Object.defineProperty,G2n=Object.getOwnPropertyDescriptor,K2n=(t,e,n,a)=>{for(var r=a>1?void 0:a?G2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&j2n(e,n,r),r},c8e=class extends Tn{render(){return q0``}};c8e.styles=[ha.globalCss,q2n],c8e=K2n([pa("wcm-spinner")],c8e);Q2n=Ia`span{font-style:normal;font-family:var(--wcm-font-family);font-feature-settings:var(--wcm-font-feature-settings)}.wcm-xsmall-bold{font-family:var(--wcm-text-xsmall-bold-font-family);font-weight:var(--wcm-text-xsmall-bold-weight);font-size:var(--wcm-text-xsmall-bold-size);line-height:var(--wcm-text-xsmall-bold-line-height);letter-spacing:var(--wcm-text-xsmall-bold-letter-spacing);text-transform:var(--wcm-text-xsmall-bold-text-transform)}.wcm-xsmall-regular{font-family:var(--wcm-text-xsmall-regular-font-family);font-weight:var(--wcm-text-xsmall-regular-weight);font-size:var(--wcm-text-xsmall-regular-size);line-height:var(--wcm-text-xsmall-regular-line-height);letter-spacing:var(--wcm-text-xsmall-regular-letter-spacing);text-transform:var(--wcm-text-xsmall-regular-text-transform)}.wcm-small-thin{font-family:var(--wcm-text-small-thin-font-family);font-weight:var(--wcm-text-small-thin-weight);font-size:var(--wcm-text-small-thin-size);line-height:var(--wcm-text-small-thin-line-height);letter-spacing:var(--wcm-text-small-thin-letter-spacing);text-transform:var(--wcm-text-small-thin-text-transform)}.wcm-small-regular{font-family:var(--wcm-text-small-regular-font-family);font-weight:var(--wcm-text-small-regular-weight);font-size:var(--wcm-text-small-regular-size);line-height:var(--wcm-text-small-regular-line-height);letter-spacing:var(--wcm-text-small-regular-letter-spacing);text-transform:var(--wcm-text-small-regular-text-transform)}.wcm-medium-regular{font-family:var(--wcm-text-medium-regular-font-family);font-weight:var(--wcm-text-medium-regular-weight);font-size:var(--wcm-text-medium-regular-size);line-height:var(--wcm-text-medium-regular-line-height);letter-spacing:var(--wcm-text-medium-regular-letter-spacing);text-transform:var(--wcm-text-medium-regular-text-transform)}.wcm-big-bold{font-family:var(--wcm-text-big-bold-font-family);font-weight:var(--wcm-text-big-bold-weight);font-size:var(--wcm-text-big-bold-size);line-height:var(--wcm-text-big-bold-line-height);letter-spacing:var(--wcm-text-big-bold-letter-spacing);text-transform:var(--wcm-text-big-bold-text-transform)}:host(*){color:var(--wcm-color-fg-1)}.wcm-color-primary{color:var(--wcm-color-fg-1)}.wcm-color-secondary{color:var(--wcm-color-fg-2)}.wcm-color-tertiary{color:var(--wcm-color-fg-3)}.wcm-color-inverse{color:var(--wcm-accent-fill-color)}.wcm-color-accnt{color:var(--wcm-accent-color)}.wcm-color-error{color:var(--wcm-error-color)}`,V2n=Object.defineProperty,Y2n=Object.getOwnPropertyDescriptor,d8e=(t,e,n,a)=>{for(var r=a>1?void 0:a?Y2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&V2n(e,n,r),r},fD=class extends Tn{constructor(){super(...arguments),this.variant="medium-regular",this.color="primary"}render(){let t={"wcm-big-bold":this.variant==="big-bold","wcm-medium-regular":this.variant==="medium-regular","wcm-small-regular":this.variant==="small-regular","wcm-small-thin":this.variant==="small-thin","wcm-xsmall-regular":this.variant==="xsmall-regular","wcm-xsmall-bold":this.variant==="xsmall-bold","wcm-color-primary":this.color==="primary","wcm-color-secondary":this.color==="secondary","wcm-color-tertiary":this.color==="tertiary","wcm-color-inverse":this.color==="inverse","wcm-color-accnt":this.color==="accent","wcm-color-error":this.color==="error"};return q0``}};fD.styles=[ha.globalCss,Q2n],d8e([sn()],fD.prototype,"variant",2),d8e([sn()],fD.prototype,"color",2),fD=d8e([pa("wcm-text")],fD);$2n=Ia`button{width:100%;height:100%;border-radius:var(--wcm-button-hover-highlight-border-radius);display:flex;align-items:flex-start}button:active{background-color:var(--wcm-color-overlay)}@media(hover:hover){button:hover{background-color:var(--wcm-color-overlay)}}button>div{width:80px;padding:5px 0;display:flex;flex-direction:column;align-items:center}wcm-text{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}wcm-wallet-image{height:60px;width:60px;transition:all .2s ease;border-radius:var(--wcm-wallet-icon-border-radius);margin-bottom:5px}.wcm-sublabel{margin-top:2px}`,J2n=Object.defineProperty,X2n=Object.getOwnPropertyDescriptor,Xm=(t,e,n,a)=>{for(var r=a>1?void 0:a?X2n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&J2n(e,n,r),r},rp=class extends Tn{constructor(){super(...arguments),this.onClick=()=>null,this.name="",this.walletId="",this.label=void 0,this.imageId=void 0,this.installed=!1,this.recent=!1}sublabelTemplate(){return this.recent?q0`RECENT`:this.installed?q0`INSTALLED`:null}handleClick(){Oue.click({name:"WALLET_BUTTON",walletId:this.walletId}),this.onClick()}render(){var t;return q0``}};rp.styles=[ha.globalCss,$2n],Xm([sn()],rp.prototype,"onClick",2),Xm([sn()],rp.prototype,"name",2),Xm([sn()],rp.prototype,"walletId",2),Xm([sn()],rp.prototype,"label",2),Xm([sn()],rp.prototype,"imageId",2),Xm([sn({type:Boolean})],rp.prototype,"installed",2),Xm([sn({type:Boolean})],rp.prototype,"recent",2),rp=Xm([pa("wcm-wallet-button")],rp);Z2n=Ia`:host{display:block}div{overflow:hidden;position:relative;border-radius:inherit;width:100%;height:100%;background-color:var(--wcm-color-overlay)}svg{position:relative;width:100%;height:100%}div::after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border-radius:inherit;border:1px solid var(--wcm-color-overlay)}div img{width:100%;height:100%;object-fit:cover;object-position:center}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`,eun=Object.defineProperty,tun=Object.getOwnPropertyDescriptor,AV=(t,e,n,a)=>{for(var r=a>1?void 0:a?tun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&eun(e,n,r),r},D_=class extends Tn{constructor(){super(...arguments),this.walletId="",this.imageId=void 0,this.imageUrl=void 0}render(){var t;let e=(t=this.imageUrl)!=null&&t.length?this.imageUrl:Zt.getWalletIcon({id:this.walletId,image_id:this.imageId});return q0`${e.length?q0`
${this.id}
`:tr.WALLET_PLACEHOLDER}`}};D_.styles=[ha.globalCss,Z2n],AV([sn()],D_.prototype,"walletId",2),AV([sn()],D_.prototype,"imageId",2),AV([sn()],D_.prototype,"imageUrl",2),D_=AV([pa("wcm-wallet-image")],D_);nun=Object.defineProperty,aun=Object.getOwnPropertyDescriptor,U20=(t,e,n,a)=>{for(var r=a>1?void 0:a?aun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&nun(e,n,r),r},l8e=class extends Tn{constructor(){super(),this.preload=!0,this.preloadData()}async loadImages(t){try{t!=null&&t.length&&await Promise.all(t.map(async e=>Zt.preloadImage(e)))}catch{console.info("Unsuccessful attempt at preloading some images",t)}}async preloadListings(){if(oc.state.enableExplorer){await cc.getRecomendedWallets(),Df.setIsDataLoaded(!0);let{recomendedWallets:t}=cc.state,e=t.map(n=>Zt.getWalletIcon(n));await this.loadImages(e)}else Df.setIsDataLoaded(!0)}async preloadCustomImages(){let t=Zt.getCustomImageUrls();await this.loadImages(t)}async preloadData(){try{this.preload&&(this.preload=!1,await Promise.all([this.preloadListings(),this.preloadCustomImages()]))}catch(t){console.error(t),Ah.openToast("Failed preloading","error")}}};U20([dc()],l8e.prototype,"preload",2),l8e=U20([pa("wcm-explorer-context")],l8e);run=Object.defineProperty,fun=Object.getOwnPropertyDescriptor,iun=(t,e,n,a)=>{for(var r=a>1?void 0:a?fun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&run(e,n,r),r},H20=class extends Tn{constructor(){super(),this.unsubscribeTheme=void 0,ha.setTheme(),this.unsubscribeTheme=tp.subscribe(ha.setTheme)}disconnectedCallback(){var t;(t=this.unsubscribeTheme)==null||t.call(this)}};H20=iun([pa("wcm-theme-context")],H20);sun=Ia`@keyframes scroll{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(calc(-70px * 9),0,0)}}.wcm-slider{position:relative;overflow-x:hidden;padding:10px 0;margin:0 -20px;width:calc(100% + 40px)}.wcm-track{display:flex;width:calc(70px * 18);animation:scroll 20s linear infinite;opacity:.7}.wcm-track svg{margin:0 5px}wcm-wallet-image{width:60px;height:60px;margin:0 5px;border-radius:var(--wcm-wallet-icon-border-radius)}.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between}.wcm-title{display:flex;align-items:center;margin-bottom:10px}.wcm-title svg{margin-right:6px}.wcm-title path{fill:var(--wcm-accent-color)}wcm-modal-footer .wcm-title{padding:0 10px}wcm-button-big{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);filter:drop-shadow(0 0 17px var(--wcm-color-bg-1))}wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-info-footer wcm-text{text-align:center;margin-bottom:15px}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`,oun=Object.defineProperty,cun=Object.getOwnPropertyDescriptor,dun=(t,e,n,a)=>{for(var r=a>1?void 0:a?cun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&oun(e,n,r),r},u8e=class extends Tn{onGoToQrcode(){vf.push("Qrcode")}render(){let{recomendedWallets:t}=cc.state,e=[...t,...t],n=vt.RECOMMENDED_WALLET_AMOUNT*2;return q0`
${tr.MOBILE_ICON}WalletConnect
${[...Array(n)].map((a,r)=>{let f=e[r%e.length];return f?q0``:tr.WALLET_PLACEHOLDER})}
Select Wallet
Choose WalletConnect to see supported apps on your device`}};u8e.styles=[ha.globalCss,sun],u8e=dun([pa("wcm-android-wallet-selection")],u8e);lun=Ia`@keyframes loading{to{stroke-dashoffset:0}}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(1px,0,0)}30%,50%,70%{transform:translate3d(-2px,0,0)}40%,60%{transform:translate3d(2px,0,0)}}:host{display:flex;flex-direction:column;align-items:center}div{position:relative;width:110px;height:110px;display:flex;justify-content:center;align-items:center;margin:40px 0 20px 0;transform:translate3d(0,0,0)}svg{position:absolute;width:110px;height:110px;fill:none;stroke:transparent;stroke-linecap:round;stroke-width:2px;top:0;left:0}use{stroke:var(--wcm-accent-color);animation:loading 1s linear infinite}wcm-wallet-image{border-radius:var(--wcm-wallet-icon-large-border-radius);width:90px;height:90px}wcm-text{margin-bottom:40px}.wcm-error svg{stroke:var(--wcm-error-color)}.wcm-error use{display:none}.wcm-error{animation:shake .4s cubic-bezier(.36,.07,.19,.97) both}.wcm-stale svg,.wcm-stale use{display:none}`,uun=Object.defineProperty,pun=Object.getOwnPropertyDescriptor,P_=(t,e,n,a)=>{for(var r=a>1?void 0:a?pun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&uun(e,n,r),r},Zm=class extends Tn{constructor(){super(...arguments),this.walletId=void 0,this.imageId=void 0,this.isError=!1,this.isStale=!1,this.label=""}svgLoaderTemplate(){var t,e;let n=(e=(t=tp.state.themeVariables)==null?void 0:t["--wcm-wallet-icon-large-border-radius"])!=null?e:ha.getPreset("--wcm-wallet-icon-large-border-radius"),a=0;n.includes("%")?a=88/100*parseInt(n,10):a=parseInt(n,10),a*=1.17;let r=317-a*1.57,f=425-a*1.8;return q0``}render(){let t={"wcm-error":this.isError,"wcm-stale":this.isStale};return q0`
${this.svgLoaderTemplate()}
${this.isError?"Connection declined":this.label}`}};Zm.styles=[ha.globalCss,lun],P_([sn()],Zm.prototype,"walletId",2),P_([sn()],Zm.prototype,"imageId",2),P_([sn({type:Boolean})],Zm.prototype,"isError",2),P_([sn({type:Boolean})],Zm.prototype,"isStale",2),P_([sn()],Zm.prototype,"label",2),Zm=P_([pa("wcm-connector-waiting")],Zm);N_={manualWallets(){var t,e;let{mobileWallets:n,desktopWallets:a}=oc.state,r=(t=N_.recentWallet())==null?void 0:t.id,f=vt.isMobile()?n:a,i=f?.filter(s=>r!==s.id);return(e=vt.isMobile()?i?.map(({id:s,name:o,links:c})=>({id:s,name:o,mobile:c,links:c})):i?.map(({id:s,name:o,links:c})=>({id:s,name:o,desktop:c,links:c})))!=null?e:[]},recentWallet(){return Zt.getRecentWallet()},recomendedWallets(t=!1){var e;let n=t||(e=N_.recentWallet())==null?void 0:e.id,{recomendedWallets:a}=cc.state;return a.filter(r=>n!==r.id)}},e4={onConnecting(t){Zt.goToConnectingView(t)},manualWalletsTemplate(){return N_.manualWallets().map(t=>q0``)},recomendedWalletsTemplate(t=!1){return N_.recomendedWallets(t).map(e=>q0``)},recentWalletTemplate(){let t=N_.recentWallet();if(t)return q0``}},hun=Ia`.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between}.wcm-desktop-title,.wcm-mobile-title{display:flex;align-items:center}.wcm-mobile-title{justify-content:space-between;margin-bottom:20px;margin-top:-10px}.wcm-desktop-title{margin-bottom:10px;padding:0 10px}.wcm-subtitle{display:flex;align-items:center}.wcm-subtitle:last-child path{fill:var(--wcm-color-fg-3)}.wcm-desktop-title svg,.wcm-mobile-title svg{margin-right:6px}.wcm-desktop-title path,.wcm-mobile-title path{fill:var(--wcm-accent-color)}`,bun=Object.defineProperty,mun=Object.getOwnPropertyDescriptor,yun=(t,e,n,a)=>{for(var r=a>1?void 0:a?mun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&bun(e,n,r),r},p8e=class extends Tn{render(){let{explorerExcludedWalletIds:t,enableExplorer:e}=oc.state,n=t!=="ALL"&&e,a=e4.manualWalletsTemplate(),r=e4.recomendedWalletsTemplate(),f=[e4.recentWalletTemplate(),...a,...r];f=f.filter(Boolean);let i=f.length>4||n,s=[];i?s=f.slice(0,3):s=f;let o=!!s.length;return q0`
${tr.MOBILE_ICON}Mobile
${tr.SCAN_ICON}Scan with your wallet
${o?q0`
${tr.DESKTOP_ICON}Desktop
${s} ${i?q0``:null}
`:null}`}};p8e.styles=[ha.globalCss,hun],p8e=yun([pa("wcm-desktop-wallet-selection")],p8e);gun=Ia`div{background-color:var(--wcm-color-bg-2);padding:10px 20px 15px 20px;border-top:1px solid var(--wcm-color-bg-3);text-align:center}a{color:var(--wcm-accent-color);text-decoration:none;transition:opacity .2s ease-in-out;display:inline}a:active{opacity:.8}@media(hover:hover){a:hover{opacity:.8}}`,vun=Object.defineProperty,wun=Object.getOwnPropertyDescriptor,Tun=(t,e,n,a)=>{for(var r=a>1?void 0:a?wun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&vun(e,n,r),r},h8e=class extends Tn{render(){let{termsOfServiceUrl:t,privacyPolicyUrl:e}=oc.state;return t??e?q0`
By connecting your wallet to this app, you agree to the app's ${t?q0`Terms of Service`:null} ${t&&e?"and":null} ${e?q0`Privacy Policy`:null}
`:null}};h8e.styles=[ha.globalCss,gun],h8e=Tun([pa("wcm-legal-notice")],h8e);xun=Ia`div{display:grid;grid-template-columns:repeat(4,80px);margin:0 -10px;justify-content:space-between;row-gap:10px}`,Eun=Object.defineProperty,_un=Object.getOwnPropertyDescriptor,Aun=(t,e,n,a)=>{for(var r=a>1?void 0:a?_un(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Eun(e,n,r),r},b8e=class extends Tn{onQrcode(){vf.push("Qrcode")}render(){let{explorerExcludedWalletIds:t,enableExplorer:e}=oc.state,n=t!=="ALL"&&e,a=e4.manualWalletsTemplate(),r=e4.recomendedWalletsTemplate(),f=[e4.recentWalletTemplate(),...a,...r];f=f.filter(Boolean);let i=f.length>8||n,s=[];i?s=f.slice(0,7):s=f;let o=!!s.length;return q0`${o?q0`
${s} ${i?q0``:null}
`:null}`}};b8e.styles=[ha.globalCss,xun],b8e=Aun([pa("wcm-mobile-wallet-selection")],b8e);Cun=Ia`:host{all:initial}.wcm-overlay{top:0;bottom:0;left:0;right:0;position:fixed;z-index:var(--wcm-z-index);overflow:hidden;display:flex;justify-content:center;align-items:center;opacity:0;pointer-events:none;background-color:var(--wcm-overlay-background-color);backdrop-filter:var(--wcm-overlay-backdrop-filter)}@media(max-height:720px) and (orientation:landscape){.wcm-overlay{overflow:scroll;align-items:flex-start;padding:20px 0}}.wcm-active{pointer-events:auto}.wcm-container{position:relative;max-width:360px;width:100%;outline:0;border-radius:var(--wcm-background-border-radius) var(--wcm-background-border-radius) var(--wcm-container-border-radius) var(--wcm-container-border-radius);border:1px solid var(--wcm-color-overlay);overflow:hidden}.wcm-card{width:100%;position:relative;border-radius:var(--wcm-container-border-radius);overflow:hidden;box-shadow:0 6px 14px -6px rgba(10,16,31,.12),0 10px 32px -4px rgba(10,16,31,.1),0 0 0 1px var(--wcm-color-overlay);background-color:var(--wcm-color-bg-1);color:var(--wcm-color-fg-1)}@media(max-width:600px){.wcm-container{max-width:440px;border-radius:var(--wcm-background-border-radius) var(--wcm-background-border-radius) 0 0}.wcm-card{border-radius:var(--wcm-container-border-radius) var(--wcm-container-border-radius) 0 0}.wcm-overlay{align-items:flex-end}}@media(max-width:440px){.wcm-container{border:0}}`,Iun=Object.defineProperty,kun=Object.getOwnPropertyDescriptor,m8e=(t,e,n,a)=>{for(var r=a>1?void 0:a?kun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Iun(e,n,r),r},F_=class extends Tn{constructor(){super(),this.open=!1,this.active=!1,this.unsubscribeModal=void 0,this.abortController=void 0,this.unsubscribeModal=_h.subscribe(t=>{t.open?this.onOpenModalEvent():this.onCloseModalEvent()})}disconnectedCallback(){var t;(t=this.unsubscribeModal)==null||t.call(this)}get overlayEl(){return Zt.getShadowRootElement(this,".wcm-overlay")}get containerEl(){return Zt.getShadowRootElement(this,".wcm-container")}toggleBodyScroll(t){document.querySelector("body")&&(t?document.getElementById("wcm-styles")?.remove():document.head.insertAdjacentHTML("beforeend",''))}onCloseModal(t){t.target===t.currentTarget&&_h.close()}onOpenModalEvent(){this.toggleBodyScroll(!1),this.addKeyboardEvents(),this.open=!0,setTimeout(async()=>{let t=Zt.isMobileAnimation()?{y:["50vh","0vh"]}:{scale:[.98,1]},e=.1,n=.2;await Promise.all([Sh(this.overlayEl,{opacity:[0,1]},{delay:e,duration:n}).finished,Sh(this.containerEl,t,{delay:e,duration:n}).finished]),this.active=!0},0)}async onCloseModalEvent(){this.toggleBodyScroll(!0),this.removeKeyboardEvents();let t=Zt.isMobileAnimation()?{y:["0vh","50vh"]}:{scale:[1,.98]},e=.2;await Promise.all([Sh(this.overlayEl,{opacity:[1,0]},{duration:e}).finished,Sh(this.containerEl,t,{duration:e}).finished]),this.containerEl.removeAttribute("style"),this.active=!1,this.open=!1}addKeyboardEvents(){this.abortController=new AbortController,window.addEventListener("keydown",t=>{var e;t.key==="Escape"?_h.close():t.key==="Tab"&&((e=t.target)!=null&&e.tagName.includes("wcm-")||this.containerEl.focus())},this.abortController),this.containerEl.focus()}removeKeyboardEvents(){var t;(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){let t={"wcm-overlay":!0,"wcm-active":this.active};return q0`
${this.open?q0`
`:null}
`}};F_.styles=[ha.globalCss,Cun],m8e([dc()],F_.prototype,"open",2),m8e([dc()],F_.prototype,"active",2),F_=m8e([pa("wcm-modal")],F_);Sun=Ia`div{display:flex;margin-top:15px}slot{display:inline-block;margin:0 5px}wcm-button{margin:0 5px}`,Run=Object.defineProperty,Mun=Object.getOwnPropertyDescriptor,iD=(t,e,n,a)=>{for(var r=a>1?void 0:a?Mun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Run(e,n,r),r},ug=class extends Tn{constructor(){super(...arguments),this.isMobile=!1,this.isDesktop=!1,this.isWeb=!1,this.isRetry=!1}onMobile(){vt.isMobile()?vf.replace("MobileConnecting"):vf.replace("MobileQrcodeConnecting")}onDesktop(){vf.replace("DesktopConnecting")}onWeb(){vf.replace("WebConnecting")}render(){return q0`
${this.isRetry?q0``:null} ${this.isMobile?q0`Mobile`:null} ${this.isDesktop?q0`Desktop`:null} ${this.isWeb?q0`Web`:null}
`}};ug.styles=[ha.globalCss,Sun],iD([sn({type:Boolean})],ug.prototype,"isMobile",2),iD([sn({type:Boolean})],ug.prototype,"isDesktop",2),iD([sn({type:Boolean})],ug.prototype,"isWeb",2),iD([sn({type:Boolean})],ug.prototype,"isRetry",2),ug=iD([pa("wcm-platform-selection")],ug);Bun=Ia`button{display:flex;flex-direction:column;padding:5px 10px;border-radius:var(--wcm-button-hover-highlight-border-radius);height:100%;justify-content:flex-start}.wcm-icons{width:60px;height:60px;display:flex;flex-wrap:wrap;padding:7px;border-radius:var(--wcm-wallet-icon-border-radius);justify-content:space-between;align-items:center;margin-bottom:5px;background-color:var(--wcm-color-bg-2);box-shadow:inset 0 0 0 1px var(--wcm-color-overlay)}button:active{background-color:var(--wcm-color-overlay)}@media(hover:hover){button:hover{background-color:var(--wcm-color-overlay)}}.wcm-icons img{width:21px;height:21px;object-fit:cover;object-position:center;border-radius:calc(var(--wcm-wallet-icon-border-radius)/ 2);border:1px solid var(--wcm-color-overlay)}.wcm-icons svg{width:21px;height:21px}.wcm-icons img:nth-child(1),.wcm-icons img:nth-child(2),.wcm-icons svg:nth-child(1),.wcm-icons svg:nth-child(2){margin-bottom:4px}wcm-text{width:100%;text-align:center}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`,Dun=Object.defineProperty,Pun=Object.getOwnPropertyDescriptor,Lun=(t,e,n,a)=>{for(var r=a>1?void 0:a?Pun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Dun(e,n,r),r},y8e=class extends Tn{onClick(){vf.push("WalletExplorer")}render(){let{recomendedWallets:t}=cc.state,e=N_.manualWallets(),n=[...t,...e].reverse().slice(0,4);return q0``}};y8e.styles=[ha.globalCss,Bun],y8e=Lun([pa("wcm-view-all-wallets-button")],y8e);Fun=Ia`.wcm-qr-container{width:100%;display:flex;justify-content:center;align-items:center;aspect-ratio:1/1}`,Nun=Object.defineProperty,Oun=Object.getOwnPropertyDescriptor,CV=(t,e,n,a)=>{for(var r=a>1?void 0:a?Oun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Nun(e,n,r),r},L_=class extends Tn{constructor(){super(),this.walletId="",this.imageId="",this.uri="",setTimeout(()=>{let{walletConnectUri:t}=Df.state;this.uri=t},0)}get overlayEl(){return Zt.getShadowRootElement(this,".wcm-qr-container")}render(){return q0`
${this.uri?q0``:q0``}
`}};L_.styles=[ha.globalCss,Fun],CV([sn()],L_.prototype,"walletId",2),CV([sn()],L_.prototype,"imageId",2),CV([dc()],L_.prototype,"uri",2),L_=CV([pa("wcm-walletconnect-qr")],L_);Uun=Object.defineProperty,Hun=Object.getOwnPropertyDescriptor,zun=(t,e,n,a)=>{for(var r=a>1?void 0:a?Hun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Uun(e,n,r),r},g8e=class extends Tn{viewTemplate(){return vt.isAndroid()?q0``:vt.isMobile()?q0``:q0``}render(){return q0`${this.viewTemplate()}`}};g8e.styles=[ha.globalCss],g8e=zun([pa("wcm-connect-wallet-view")],g8e);Wun=Ia`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`,qun=Object.defineProperty,jun=Object.getOwnPropertyDescriptor,z20=(t,e,n,a)=>{for(var r=a>1?void 0:a?jun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&qun(e,n,r),r},IV=class extends Tn{constructor(){super(),this.isError=!1,this.openDesktopApp()}onFormatAndRedirect(t){let{desktop:e,name:n}=vt.getWalletRouterData(),a=e?.native;if(a){let r=vt.formatNativeUrl(a,t,n);vt.openHref(r,"_self")}}openDesktopApp(){let{walletConnectUri:t}=Df.state,e=vt.getWalletRouterData();Zt.setRecentWallet(e),t&&this.onFormatAndRedirect(t)}render(){let{name:t,id:e,image_id:n}=vt.getWalletRouterData(),{isMobile:a,isWeb:r}=Zt.getCachedRouterWalletPlatforms();return q0`${`Connection can continue loading if ${t} is not installed on your device`}Retry`}};IV.styles=[ha.globalCss,Wun],z20([dc()],IV.prototype,"isError",2),IV=z20([pa("wcm-desktop-connecting-view")],IV);Gun=Ia`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}wcm-button{margin-top:15px}`,Kun=Object.defineProperty,Qun=Object.getOwnPropertyDescriptor,Vun=(t,e,n,a)=>{for(var r=a>1?void 0:a?Qun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Kun(e,n,r),r},v8e=class extends Tn{onInstall(t){t&&vt.openHref(t,"_blank")}render(){let{name:t,id:e,image_id:n,homepage:a}=vt.getWalletRouterData();return q0`${`Download ${t} to continue. If multiple browser extensions are installed, disable non ${t} ones and try again`}Download`}};v8e.styles=[ha.globalCss,Gun],v8e=Vun([pa("wcm-install-wallet-view")],v8e);Yun=Ia`wcm-wallet-image{border-radius:var(--wcm-wallet-icon-large-border-radius);width:96px;height:96px;margin-bottom:20px}wcm-info-footer{display:flex;width:100%}.wcm-app-store{justify-content:space-between}.wcm-app-store wcm-wallet-image{margin-right:10px;margin-bottom:0;width:28px;height:28px;border-radius:var(--wcm-wallet-icon-small-border-radius)}.wcm-app-store div{display:flex;align-items:center}.wcm-app-store wcm-button{margin-right:-10px}.wcm-note{flex-direction:column;align-items:center;padding:5px 0}.wcm-note wcm-text{text-align:center}wcm-platform-selection{margin-top:-15px}.wcm-note wcm-text{margin-top:15px}.wcm-note wcm-text span{color:var(--wcm-accent-color)}`,$un=Object.defineProperty,Jun=Object.getOwnPropertyDescriptor,W20=(t,e,n,a)=>{for(var r=a>1?void 0:a?Jun(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&$un(e,n,r),r},kV=class extends Tn{constructor(){super(),this.isError=!1,this.openMobileApp()}onFormatAndRedirect(t,e=!1){let{mobile:n,name:a}=vt.getWalletRouterData(),r=n?.native,f=n?.universal;if(r&&!e){let i=vt.formatNativeUrl(r,t,a);vt.openHref(i,"_self")}else if(f){let i=vt.formatUniversalUrl(f,t,a);vt.openHref(i,"_self")}}openMobileApp(t=!1){let{walletConnectUri:e}=Df.state,n=vt.getWalletRouterData();Zt.setRecentWallet(n),e&&this.onFormatAndRedirect(e,t)}onGoToAppStore(t){t&&vt.openHref(t,"_blank")}render(){let{name:t,id:e,image_id:n,app:a,mobile:r}=vt.getWalletRouterData(),{isWeb:f}=Zt.getCachedRouterWalletPlatforms(),i=a?.ios,s=r?.universal;return q0`Retry${s?q0`Still doesn't work? Try this alternate link`:null}
${`Get ${t}`}
App Store
`}};kV.styles=[ha.globalCss,Yun],W20([dc()],kV.prototype,"isError",2),kV=W20([pa("wcm-mobile-connecting-view")],kV);Xun=Ia`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`,Zun=Object.defineProperty,epn=Object.getOwnPropertyDescriptor,tpn=(t,e,n,a)=>{for(var r=a>1?void 0:a?epn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Zun(e,n,r),r},w8e=class extends Tn{render(){let{name:t,id:e,image_id:n}=vt.getWalletRouterData(),{isDesktop:a,isWeb:r}=Zt.getCachedRouterWalletPlatforms();return q0`${`Scan this QR Code with your phone's camera or inside ${t} app`}`}};w8e.styles=[ha.globalCss,Xun],w8e=tpn([pa("wcm-mobile-qr-connecting-view")],w8e);npn=Object.defineProperty,apn=Object.getOwnPropertyDescriptor,rpn=(t,e,n,a)=>{for(var r=a>1?void 0:a?apn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&npn(e,n,r),r},T8e=class extends Tn{render(){return q0``}};T8e.styles=[ha.globalCss],T8e=rpn([pa("wcm-qrcode-view")],T8e);fpn=Ia`wcm-modal-content{height:clamp(200px,60vh,600px);display:block;overflow:scroll;scrollbar-width:none;position:relative;margin-top:1px}.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between;margin:-15px -10px;padding-top:20px}wcm-modal-content::after,wcm-modal-content::before{content:'';position:fixed;pointer-events:none;z-index:1;width:100%;height:20px;opacity:1}wcm-modal-content::before{box-shadow:0 -1px 0 0 var(--wcm-color-bg-1);background:linear-gradient(var(--wcm-color-bg-1),rgba(255,255,255,0))}wcm-modal-content::after{box-shadow:0 1px 0 0 var(--wcm-color-bg-1);background:linear-gradient(rgba(255,255,255,0),var(--wcm-color-bg-1));top:calc(100% - 20px)}wcm-modal-content::-webkit-scrollbar{display:none}.wcm-placeholder-block{display:flex;justify-content:center;align-items:center;height:100px;overflow:hidden}.wcm-empty,.wcm-loading{display:flex}.wcm-loading .wcm-placeholder-block{height:100%}.wcm-end-reached .wcm-placeholder-block{height:0;opacity:0}.wcm-empty .wcm-placeholder-block{opacity:1;height:100%}wcm-wallet-button{margin:calc((100% - 60px)/ 3) 0}`,ipn=Object.defineProperty,spn=Object.getOwnPropertyDescriptor,sD=(t,e,n,a)=>{for(var r=a>1?void 0:a?spn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&ipn(e,n,r),r},x8e=40,pg=class extends Tn{constructor(){super(...arguments),this.loading=!cc.state.wallets.listings.length,this.firstFetch=!cc.state.wallets.listings.length,this.search="",this.endReached=!1,this.intersectionObserver=void 0,this.searchDebounce=Zt.debounce(t=>{t.length>=1?(this.firstFetch=!0,this.endReached=!1,this.search=t,cc.resetSearch(),this.fetchWallets()):this.search&&(this.search="",this.endReached=this.isLastPage(),cc.resetSearch())})}firstUpdated(){this.createPaginationObserver()}disconnectedCallback(){var t;(t=this.intersectionObserver)==null||t.disconnect()}get placeholderEl(){return Zt.getShadowRootElement(this,".wcm-placeholder-block")}createPaginationObserver(){this.intersectionObserver=new IntersectionObserver(([t])=>{t.isIntersecting&&!(this.search&&this.firstFetch)&&this.fetchWallets()}),this.intersectionObserver.observe(this.placeholderEl)}isLastPage(){let{wallets:t,search:e}=cc.state,{listings:n,total:a}=this.search?e:t;return a<=x8e||n.length>=a}async fetchWallets(){var t;let{wallets:e,search:n}=cc.state,{listings:a,total:r,page:f}=this.search?n:e;if(!this.endReached&&(this.firstFetch||r>x8e&&a.lengthZt.getWalletIcon(c));await Promise.all([...o.map(async c=>Zt.preloadImage(c)),vt.wait(300)]),this.endReached=this.isLastPage()}catch(i){console.error(i),Ah.openToast(Zt.getErrorMessage(i),"error")}finally{this.loading=!1,this.firstFetch=!1}}onConnect(t){vt.isAndroid()?Zt.handleMobileLinking(t):Zt.goToConnectingView(t)}onSearchChange(t){let{value:e}=t.target;this.searchDebounce(e)}render(){let{wallets:t,search:e}=cc.state,{listings:n}=this.search?e:t,a=this.loading&&!n.length,r=this.search.length>=3,f=e4.manualWalletsTemplate(),i=e4.recomendedWalletsTemplate(!0);r&&(f=f.filter(({values:c})=>Zt.caseSafeIncludes(c[0],this.search)),i=i.filter(({values:c})=>Zt.caseSafeIncludes(c[0],this.search)));let s=!this.loading&&!n.length&&!i.length,o={"wcm-loading":a,"wcm-end-reached":this.endReached||!this.loading,"wcm-empty":s};return q0`
${a?null:f} ${a?null:i} ${a?null:n.map(c=>q0`${c?q0``:null}`)}
${s?q0`No results found`:null} ${!s&&this.loading?q0``:null}
`}};pg.styles=[ha.globalCss,fpn],sD([dc()],pg.prototype,"loading",2),sD([dc()],pg.prototype,"firstFetch",2),sD([dc()],pg.prototype,"search",2),sD([dc()],pg.prototype,"endReached",2),pg=sD([pa("wcm-wallet-explorer-view")],pg);opn=Ia`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`,cpn=Object.defineProperty,dpn=Object.getOwnPropertyDescriptor,q20=(t,e,n,a)=>{for(var r=a>1?void 0:a?dpn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&cpn(e,n,r),r},SV=class extends Tn{constructor(){super(),this.isError=!1,this.openWebWallet()}onFormatAndRedirect(t){let{desktop:e,name:n}=vt.getWalletRouterData(),a=e?.universal;if(a){let r=vt.formatUniversalUrl(a,t,n);vt.openHref(r,"_blank")}}openWebWallet(){let{walletConnectUri:t}=Df.state,e=vt.getWalletRouterData();Zt.setRecentWallet(e),t&&this.onFormatAndRedirect(t)}render(){let{name:t,id:e,image_id:n}=vt.getWalletRouterData(),{isMobile:a,isDesktop:r}=Zt.getCachedRouterWalletPlatforms(),f=vt.isMobile();return q0`${`${t} web app has opened in a new tab. Go there, accept the connection, and come back`}Retry`}};SV.styles=[ha.globalCss,opn],q20([dc()],SV.prototype,"isError",2),SV=q20([pa("wcm-web-connecting-view")],SV)});var Q20={};V0(Q20,{WalletConnectModal:()=>E8e});var E8e,V20=ce(()=>{u();p();Uue();E8e=class{constructor(e){this.openModal=_h.open,this.closeModal=_h.close,this.subscribeModal=_h.subscribe,this.setTheme=tp.setThemeConfig,tp.setThemeConfig(e),oc.setConfig(e),this.initUi()}async initUi(){if(typeof window<"u"){await Promise.resolve().then(()=>(K20(),G20));let e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),Df.setIsUiLoaded(!0)}}}});var eu0={};V0(eu0,{EthereumProvider:()=>Tpn,OPTIONAL_EVENTS:()=>Z20,OPTIONAL_METHODS:()=>X20,REQUIRED_EVENTS:()=>BV,REQUIRED_METHODS:()=>MV,default:()=>PV});function DV(t){return Number(t[0].split(":")[1])}function RV(t){return`0x${t.toString(16)}`}function wpn(t){let{chains:e,optionalChains:n,methods:a,optionalMethods:r,events:f,optionalEvents:i,rpcMap:s}=t;if(!U6(e))throw new Error("Invalid chains");let o={chains:e,methods:a||MV,events:f||BV,rpcMap:O_({},e.length?{[DV(e)]:s[DV(e)]}:{})},c=f?.filter(y=>!BV.includes(y)),d=a?.filter(y=>!MV.includes(y));if(!n&&!i&&!r&&!(c!=null&&c.length)&&!(d!=null&&d.length))return{required:e.length?o:void 0};let l=c?.length&&d?.length||!n,h={chains:[...new Set(l?o.chains.concat(n||[]):n)],methods:[...new Set(o.methods.concat(r!=null&&r.length?r:X20))],events:[...new Set(o.events.concat(i!=null&&i.length?i:Z20))],rpcMap:s};return{required:e.length?o:void 0,optional:n.length?h:void 0}}var J20,lpn,upn,ppn,hpn,MV,X20,BV,Z20,bpn,mpn,ypn,Y20,gpn,vpn,$20,O_,_8e,PV,Tpn,tu0=ce(()=>{u();p();J20=Ee(Nr());_B();g50();lpn="wc",upn="ethereum_provider",ppn=`${lpn}@2:${upn}:`,hpn="https://rpc.walletconnect.com/v1/",MV=["eth_sendTransaction","personal_sign"],X20=["eth_accounts","eth_requestAccounts","eth_sendRawTransaction","eth_sign","eth_signTransaction","eth_signTypedData","eth_signTypedData_v3","eth_signTypedData_v4","eth_sendTransaction","personal_sign","wallet_switchEthereumChain","wallet_addEthereumChain","wallet_getPermissions","wallet_requestPermissions","wallet_registerOnboarding","wallet_watchAsset","wallet_scanQRCode"],BV=["chainChanged","accountsChanged"],Z20=["chainChanged","accountsChanged","message","disconnect","connect"],bpn=Object.defineProperty,mpn=Object.defineProperties,ypn=Object.getOwnPropertyDescriptors,Y20=Object.getOwnPropertySymbols,gpn=Object.prototype.hasOwnProperty,vpn=Object.prototype.propertyIsEnumerable,$20=(t,e,n)=>e in t?bpn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,O_=(t,e)=>{for(var n in e||(e={}))gpn.call(e,n)&&$20(t,n,e[n]);if(Y20)for(var n of Y20(e))vpn.call(e,n)&&$20(t,n,e[n]);return t},_8e=(t,e)=>mpn(t,ypn(e));PV=class t{constructor(){this.events=new J20.EventEmitter,this.namespace="eip155",this.accounts=[],this.chainId=1,this.STORAGE_KEY=ppn,this.on=(e,n)=>(this.events.on(e,n),this),this.once=(e,n)=>(this.events.once(e,n),this),this.removeListener=(e,n)=>(this.events.removeListener(e,n),this),this.off=(e,n)=>(this.events.off(e,n),this),this.parseAccount=e=>this.isCompatibleChainId(e)?this.parseAccountId(e).address:e,this.signer={},this.rpc={}}static async init(e){let n=new t;return await n.initialize(e),n}async request(e,n){return await this.signer.request(e,this.formatChainId(this.chainId),n)}sendAsync(e,n,a){this.signer.sendAsync(e,n,this.formatChainId(this.chainId),a)}get connected(){return this.signer.client?this.signer.client.core.relayer.connected:!1}get connecting(){return this.signer.client?this.signer.client.core.relayer.connecting:!1}async enable(){return this.session||await this.connect(),await this.request({method:"eth_requestAccounts"})}async connect(e){if(!this.signer.client)throw new Error("Provider not initialized. Call init() first");this.loadConnectOpts(e);let{required:n,optional:a}=wpn(this.rpc);try{let r=await new Promise(async(i,s)=>{var o;this.rpc.showQrModal&&((o=this.modal)==null||o.subscribeModal(c=>{!c.open&&!this.signer.session&&(this.signer.abortPairingAttempt(),s(new Error("Connection request reset. Please try again.")))})),await this.signer.connect(_8e(O_({namespaces:O_({},n&&{[this.namespace]:n})},a&&{optionalNamespaces:{[this.namespace]:a}}),{pairingTopic:e?.pairingTopic})).then(c=>{i(c)}).catch(c=>{s(new Error(c.message))})});if(!r)return;let f=Yle(r.namespaces,[this.namespace]);this.setChainIds(this.rpc.chains.length?this.rpc.chains:f),this.setAccounts(f),this.events.emit("connect",{chainId:RV(this.chainId)})}catch(r){throw this.signer.logger.error(r),r}finally{this.modal&&this.modal.closeModal()}}async authenticate(e){if(!this.signer.client)throw new Error("Provider not initialized. Call init() first");this.loadConnectOpts({chains:e?.chains});try{let n=await new Promise(async(r,f)=>{var i;this.rpc.showQrModal&&((i=this.modal)==null||i.subscribeModal(s=>{!s.open&&!this.signer.session&&(this.signer.abortPairingAttempt(),f(new Error("Connection request reset. Please try again.")))})),await this.signer.authenticate(_8e(O_({},e),{chains:this.rpc.chains})).then(s=>{r(s)}).catch(s=>{f(new Error(s.message))})}),a=n.session;if(a){let r=Yle(a.namespaces,[this.namespace]);this.setChainIds(this.rpc.chains.length?this.rpc.chains:r),this.setAccounts(r),this.events.emit("connect",{chainId:RV(this.chainId)})}return n}catch(n){throw this.signer.logger.error(n),n}finally{this.modal&&this.modal.closeModal()}}async disconnect(){this.session&&await this.signer.disconnect(),this.reset()}get isWalletConnect(){return!0}get session(){return this.signer.session}registerEventListeners(){this.signer.on("session_event",e=>{let{params:n}=e,{event:a}=n;a.name==="accountsChanged"?(this.accounts=this.parseAccounts(a.data),this.events.emit("accountsChanged",this.accounts)):a.name==="chainChanged"?this.setChainId(this.formatChainId(a.data)):this.events.emit(a.name,a.data),this.events.emit("session_event",e)}),this.signer.on("chainChanged",e=>{let n=parseInt(e);this.chainId=n,this.events.emit("chainChanged",RV(this.chainId)),this.persist()}),this.signer.on("session_update",e=>{this.events.emit("session_update",e)}),this.signer.on("session_delete",e=>{this.reset(),this.events.emit("session_delete",e),this.events.emit("disconnect",_8e(O_({},Ca("USER_DISCONNECTED")),{data:e.topic,name:"USER_DISCONNECTED"}))}),this.signer.on("display_uri",e=>{var n,a;this.rpc.showQrModal&&((n=this.modal)==null||n.closeModal(),(a=this.modal)==null||a.openModal({uri:e})),this.events.emit("display_uri",e)})}switchEthereumChain(e){this.request({method:"wallet_switchEthereumChain",params:[{chainId:e.toString(16)}]})}isCompatibleChainId(e){return typeof e=="string"?e.startsWith(`${this.namespace}:`):!1}formatChainId(e){return`${this.namespace}:${e}`}parseChainId(e){return Number(e.split(":")[1])}setChainIds(e){let n=e.filter(a=>this.isCompatibleChainId(a)).map(a=>this.parseChainId(a));n.length&&(this.chainId=n[0],this.events.emit("chainChanged",RV(this.chainId)),this.persist())}setChainId(e){if(this.isCompatibleChainId(e)){let n=this.parseChainId(e);this.chainId=n,this.switchEthereumChain(n)}}parseAccountId(e){let[n,a,r]=e.split(":");return{chainId:`${n}:${a}`,address:r}}setAccounts(e){this.accounts=e.filter(n=>this.parseChainId(this.parseAccountId(n).chainId)===this.chainId).map(n=>this.parseAccountId(n).address),this.events.emit("accountsChanged",this.accounts)}getRpcConfig(e){var n,a;let r=(n=e?.chains)!=null?n:[],f=(a=e?.optionalChains)!=null?a:[],i=r.concat(f);if(!i.length)throw new Error("No chains specified in either `chains` or `optionalChains`");let s=r.length?e?.methods||MV:[],o=r.length?e?.events||BV:[],c=e?.optionalMethods||[],d=e?.optionalEvents||[],l=e?.rpcMap||this.buildRpcMap(i,e.projectId),h=e?.qrModalOptions||void 0;return{chains:r?.map(y=>this.formatChainId(y)),optionalChains:f.map(y=>this.formatChainId(y)),methods:s,events:o,optionalMethods:c,optionalEvents:d,rpcMap:l,showQrModal:!!(e!=null&&e.showQrModal),qrModalOptions:h,projectId:e.projectId,metadata:e.metadata}}buildRpcMap(e,n){let a={};return e.forEach(r=>{a[r]=this.getRpcUrl(r,n)}),a}async initialize(e){if(this.rpc=this.getRpcConfig(e),this.chainId=this.rpc.chains.length?DV(this.rpc.chains):DV(this.rpc.optionalChains),this.signer=await y50.init({projectId:this.rpc.projectId,metadata:this.rpc.metadata,disableProviderPing:e.disableProviderPing,relayUrl:e.relayUrl,storageOptions:e.storageOptions}),this.registerEventListeners(),await this.loadPersistedSession(),this.rpc.showQrModal){let n;try{let{WalletConnectModal:a}=await Promise.resolve().then(()=>(V20(),Q20));n=a}catch{throw new Error("To use QR modal, please install @walletconnect/modal package")}if(n)try{this.modal=new n(O_({projectId:this.rpc.projectId},this.rpc.qrModalOptions))}catch(a){throw this.signer.logger.error(a),new Error("Could not generate WalletConnectModal Instance")}}}loadConnectOpts(e){if(!e)return;let{chains:n,optionalChains:a,rpcMap:r}=e;n&&U6(n)&&(this.rpc.chains=n.map(f=>this.formatChainId(f)),n.forEach(f=>{this.rpc.rpcMap[f]=r?.[f]||this.getRpcUrl(f)})),a&&U6(a)&&(this.rpc.optionalChains=[],this.rpc.optionalChains=a?.map(f=>this.formatChainId(f)),a.forEach(f=>{this.rpc.rpcMap[f]=r?.[f]||this.getRpcUrl(f)}))}getRpcUrl(e,n){var a;return((a=this.rpc.rpcMap)==null?void 0:a[e])||`${hpn}?chainId=eip155:${e}&projectId=${n||this.rpc.projectId}`}async loadPersistedSession(){if(this.session)try{let e=await this.signer.client.core.storage.getItem(`${this.STORAGE_KEY}/chainId`),n=this.session.namespaces[`${this.namespace}:${e}`]?this.session.namespaces[`${this.namespace}:${e}`]:this.session.namespaces[this.namespace];this.setChainIds(e?[this.formatChainId(e)]:n?.accounts),this.setAccounts(n?.accounts)}catch(e){this.signer.logger.error("Failed to load persisted session, clearing state..."),this.signer.logger.error(e),await this.disconnect().catch(n=>this.signer.logger.warn(n))}}reset(){this.chainId=1,this.accounts=[]}persist(){this.session&&this.signer.client.core.storage.setItem(`${this.STORAGE_KEY}/chainId`,this.chainId)}parseAccounts(e){return typeof e=="string"||e instanceof String?[this.parseAccount(e)]:e.map(n=>this.parseAccount(n))}},Tpn=PV});var W6={};V0(W6,{WalletConnectConnector:()=>I8e});var Dh,xpn,nu0,au0,A8e,C8e,I8e,q6=ce(()=>{"use strict";u();p();kt();po();Dh=Ee(Xe());wn();Am();D9();W0();xpn=new Set([1,137,10,42161,56]),nu0="eip155",au0="wagmi.requestedChains",A8e="wallet_addEthereumChain",C8e="last-used-chain-id",I8e=class extends Jc{constructor(e){super({...e,options:{isNewChainsStale:!0,...e.options}}),Pe(this,"id",U0.walletConnect),Pe(this,"name","WalletConnect"),Pe(this,"ready",!0),Pe(this,"onAccountsChanged",n=>{n.length===0?this.emit("disconnect"):n[0]&&this.emit("change",{account:Dh.utils.getAddress(n[0])})}),Pe(this,"onChainChanged",async n=>{let a=Number(n),r=this.isChainUnsupported(a);await this._storage.setItem(C8e,String(n)),this.emit("change",{chain:{id:a,unsupported:r}})}),Pe(this,"onDisconnect",async()=>{await this._setRequestedChainsIds([]),await this._storage.removeItem(C8e),this.emit("disconnect")}),Pe(this,"onDisplayUri",n=>{this.emit("message",{type:"display_uri",data:n})}),Pe(this,"onConnect",()=>{this.emit("connect",{provider:this._provider})}),this._storage=e.options.storage,this._createProvider(),this.filteredChains=this.chains.length>50?this.chains.filter(n=>xpn.has(n.chainId)):this.chains,this.showWalletConnectModal=this.options.qrcode!==!1}async connect(){let{chainId:e,pairingTopic:n}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let a=e;if(!a){let c=await this._storage.getItem(C8e),d=c?parseInt(c):void 0;d&&!this.isChainUnsupported(d)?a=d:a=this.filteredChains[0]?.chainId}if(!a)throw new Error("No chains found on connector.");let r=await this.getProvider();if(this.setupListeners(),r.session){await r.disconnect();let c=this.filteredChains.filter(d=>d.chainId!==a).map(d=>d.chainId);this.emit("message",{type:"connecting"}),await r.connect({pairingTopic:n,chains:[a],optionalChains:c.length>0?c:[a]}),await this._setRequestedChainsIds(this.filteredChains.map(d=>{let{chainId:l}=d;return l}))}let f=await r.enable();if(!f[0])throw new Error("No accounts found on provider.");let i=Dh.utils.getAddress(f[0]),s=await this.getChainId(),o=this.isChainUnsupported(s);return{account:i,chain:{id:s,unsupported:o},provider:new Dh.providers.Web3Provider(r)}}catch(a){throw/user rejected/i.test(a?.message)?new _t(a):a}}async disconnect(){let e=()=>{if(!(typeof localStorage>"u"))for(let r in localStorage)r.startsWith("wc@2")&&localStorage.removeItem(r)};e();let n=await this.getProvider();(async()=>{try{await n.disconnect()}catch(r){if(!/No matching key/i.test(r.message))throw r}finally{this._removeListeners(),await this._setRequestedChainsIds([]),e()}})()}async getAccount(){let{accounts:e}=await this.getProvider();if(!e[0])throw new Error("No accounts found on provider.");return Dh.utils.getAddress(e[0])}async getChainId(){let{chainId:e}=await this.getProvider();return e}async getProvider(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this._provider||await this._createProvider(),e&&await this.switchChain(e),!this._provider)throw new Error("No provider found.");return this._provider}async getSigner(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[n,a]=await Promise.all([this.getProvider({chainId:e}),this.getAccount()]);return new Dh.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){try{let[e,n]=await Promise.all([this.getAccount(),this.getProvider()]),a=await this._isChainsStale();if(!e)return!1;if(a&&n.session){try{await n.disconnect()}catch{}return!1}return!0}catch{return!1}}async switchChain(e){let n=this.chains.find(a=>a.chainId===e);if(!n)throw new rc(`Chain with ID: ${e}, not found on connector.`);try{let a=await this.getProvider(),r=this._getNamespaceChainsIds(),f=this._getNamespaceMethods();if(!r.includes(e)&&f.includes(A8e)){let s=n.explorers&&n.explorers[0],o=s?{blockExplorerUrls:[s.url]}:{};await a.request({method:A8e,params:[{chainId:Dh.utils.hexValue(n.chainId),chainName:n.name,nativeCurrency:n.nativeCurrency,rpcUrls:Pu(n),...o}]});let c=await this._getRequestedChainsIds();c.push(e),await this._setRequestedChainsIds(c)}return await a.request({method:"wallet_switchEthereumChain",params:[{chainId:Dh.utils.hexValue(e)}]}),n}catch(a){let r=typeof a=="string"?a:a?.message;throw/user rejected request/i.test(r)?new _t(a):new rc(a)}}async _createProvider(){return this._initProviderPromise||(this._initProviderPromise=this.initProvider()),this._initProviderPromise}async initProvider(){let{default:e,OPTIONAL_EVENTS:n,OPTIONAL_METHODS:a}=await Promise.resolve().then(()=>(tu0(),eu0)),[r,...f]=this.filteredChains.map(i=>{let{chainId:s}=i;return s});r&&(this._provider=await e.init({showQrModal:this.showWalletConnectModal,projectId:this.options.projectId,optionalMethods:a,optionalEvents:n,chains:[r],optionalChains:f,metadata:{name:this.options.dappMetadata.name,description:this.options.dappMetadata.description||"",url:this.options.dappMetadata.url,icons:[this.options.dappMetadata.logoUrl||""]},rpcMap:Object.fromEntries(this.filteredChains.map(i=>[i.chainId,i.rpc[0]||""])),qrModalOptions:this.options.qrModalOptions}))}async _isChainsStale(){if(this._getNamespaceMethods().includes(A8e)||!this.options.isNewChainsStale)return!1;let n=await this._getRequestedChainsIds(),a=this.filteredChains.map(f=>{let{chainId:i}=f;return i}),r=this._getNamespaceChainsIds();return r.length&&!r.some(f=>a.includes(f))?!1:!a.every(f=>n.includes(f))}async setupListeners(){this._provider&&(this._removeListeners(),this._provider.on("accountsChanged",this.onAccountsChanged),this._provider.on("chainChanged",this.onChainChanged),this._provider.on("disconnect",this.onDisconnect),this._provider.on("session_delete",this.onDisconnect),this._provider.on("display_uri",this.onDisplayUri),this._provider.on("connect",this.onConnect))}_removeListeners(){this._provider&&(this._provider.removeListener("accountsChanged",this.onAccountsChanged),this._provider.removeListener("chainChanged",this.onChainChanged),this._provider.removeListener("disconnect",this.onDisconnect),this._provider.removeListener("session_delete",this.onDisconnect),this._provider.removeListener("display_uri",this.onDisplayUri),this._provider.removeListener("connect",this.onConnect))}async _setRequestedChainsIds(e){await this._storage.setItem(au0,JSON.stringify(e))}async _getRequestedChainsIds(){let e=await this._storage.getItem(au0);return e?JSON.parse(e):[]}_getNamespaceChainsIds(){return this._provider?this._provider.session?.namespaces[nu0]?.chains?.map(n=>parseInt(n.split(":")[1]||""))??[]:[]}_getNamespaceMethods(){return this._provider?this._provider.session?.namespaces[nu0]?.methods??[]:[]}}});function LV(){if(globalThis.window&&globalThis.window.xfi&&globalThis.window.xfi.ethereum)return globalThis.window.xfi.ethereum}var k8e=ce(()=>{"use strict";u();p()});function FV(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.okxwallet)return window.okxwallet}var S8e=ce(()=>{"use strict";u();p();u1()});var fu0={};V0(fu0,{OKXConnector:()=>R8e});var ru0,R8e,iu0=ce(()=>{"use strict";u();p();kt();po();wn();p1();ru0=Ee(Xe());S8e();W0();R8e=class extends Ga{constructor(e){let a={...{name:"OKX",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:FV},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.okx)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=ru0.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}async switchAccount(){await(await this.getProvider()).request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}}});function OV(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.avalanche)return window.avalanche}var M8e=ce(()=>{"use strict";u();p();u1()});var ou0={};V0(ou0,{CoreWalletConnector:()=>B8e});var su0,B8e,cu0=ce(()=>{"use strict";u();p();kt();po();wn();p1();su0=Ee(Xe());M8e();W0();B8e=class extends Ga{constructor(e){let a={...{name:"Core Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:OV},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.coreWallet)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=su0.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}async switchAccount(){await(await this.getProvider()).request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}}});function HV(){if(Za(globalThis.window)&&globalThis.window.$onekey&&globalThis.window.$onekey.ethereum)return globalThis.window.$onekey.ethereum}var D8e=ce(()=>{"use strict";u();p();u1()});var lu0={};V0(lu0,{OneKeyConnector:()=>P8e});var du0,P8e,uu0=ce(()=>{"use strict";u();p();kt();po();wn();p1();du0=Ee(Xe());D8e();W0();P8e=class extends Ga{constructor(e){let a={...{name:"OneKey Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:HV},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.oneKey)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=du0.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}}});function WV(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.deficonnectProvider)return window.deficonnectProvider}var L8e=ce(()=>{"use strict";u();p();u1()});var hu0={};V0(hu0,{CryptoDefiWalletConnector:()=>F8e});var pu0,F8e,bu0=ce(()=>{"use strict";u();p();kt();po();wn();p1();pu0=Ee(Xe());L8e();W0();F8e=class extends Ga{constructor(e){let a={...{name:"Crypto Defi Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:WV},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.cryptoDefiWallet)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=pu0.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}}});function jV(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.rabby)return window.rabby}var N8e=ce(()=>{"use strict";u();p();u1()});var yu0={};V0(yu0,{RabbyConnector:()=>O8e});var mu0,O8e,gu0=ce(()=>{"use strict";u();p();kt();po();wn();p1();mu0=Ee(Xe());N8e();W0();O8e=class extends Ga{constructor(e){let a={...{name:"Rabby Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:jV},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.rabby)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=mu0.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}}});function KV(){if(Za(globalThis.window)&&window.coin98)return window.ethereum}var U8e=ce(()=>{"use strict";u();p();u1()});var wu0={};V0(wu0,{Coin98Connector:()=>H8e});var vu0,H8e,Tu0=ce(()=>{"use strict";u();p();kt();po();wn();p1();vu0=Ee(Xe());U8e();W0();H8e=class extends Ga{constructor(e){let a={...{name:"Coin98 Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:KV},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.coin98)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=vu0.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}}});function VV(){if(globalThis.window&&globalThis.window.magicEden&&globalThis.window.magicEden.ethereum)return globalThis.window.magicEden.ethereum}var z8e=ce(()=>{"use strict";u();p()});function YV(){let t=window.phantom?.ethereum;if(t?.isPhantom)return t}var W8e=ce(()=>{"use strict";u();p()});function $V(){function t(e){if(e?.isRainbow&&!(e.isBraveWallet&&!e._events&&!e._state)&&!e.isPhantom&&!e.isAvalanche&&!e.isBitKeep&&!e.isMathWallet&&!e.isZerion&&!e.isKuCoinWallet&&!e.isPortal&&!e.isTokenPocket&&!e.isTokenary)return e}if(Za(globalThis.window))return globalThis.window.ethereum?.providers?globalThis.window.ethereum.providers.find(t):t(globalThis.window.ethereum)}var q8e=ce(()=>{"use strict";u();p();u1()});var Pu0={};V0(Pu0,{AUTH_TOKEN_LOCAL_STORAGE_NAME:()=>ZV,AuthProvider:()=>Iu0,DEVICE_SHARE_LOCAL_STORAGE_NAME:()=>eY,DEVICE_SHARE_LOCAL_STORAGE_NAME_DEPRECATED:()=>Rpn,PaperEmbeddedWalletSdk:()=>Hpn,RecoveryShareManagement:()=>oD,UserStatus:()=>U_,UserWalletStatus:()=>ku0,WALLET_USER_DETAILS_LOCAL_STORAGE_NAME:()=>kpn,WALLET_USER_ID_LOCAL_STORAGE_NAME:()=>XV});function JV(t){return new Promise(e=>{setTimeout(e,t*1e3)})}function Ppn({clientId:t,path:e,queryParams:n}){var a;let r=new URL(e,Ou());if(n)for(let f of Object.keys(n))r.searchParams.set(f,((a=n[f])==null?void 0:a.toString())||"");return r.searchParams.set("clientId",t),r}var Ru0,Mu0,Bu0,Epn,_pn,Apn,xu0,Cpn,Ipn,Eu0,t4,tY,xt,nY,MGa,kpn,XV,Spn,ZV,Cu0,eY,Rpn,oD,Iu0,U_,ku0,_u0,G8e,Mpn,j8e,Bpn,Dpn,Lpn,Su0,Fpn,Npn,Opn,Au0,Du0,Upn,Hpn,K8e=ce(()=>{u();p();JE();JE();JE();Ru0=Ee(ez(),1);JE();Mu0=Ee(r8(),1),Bu0=Ee(Ba(),1),Epn=Object.defineProperty,_pn=Object.defineProperties,Apn=Object.getOwnPropertyDescriptors,xu0=Object.getOwnPropertySymbols,Cpn=Object.prototype.hasOwnProperty,Ipn=Object.prototype.propertyIsEnumerable,Eu0=(t,e,n)=>e in t?Epn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,t4=(t,e)=>{for(var n in e||(e={}))Cpn.call(e,n)&&Eu0(t,n,e[n]);if(xu0)for(var n of xu0(e))Ipn.call(e,n)&&Eu0(t,n,e[n]);return t},tY=(t,e)=>_pn(t,Apn(e)),xt=(t,e,n)=>new Promise((a,r)=>{var f=o=>{try{s(n.next(o))}catch(c){r(c)}},i=o=>{try{s(n.throw(o))}catch(c){r(c)}},s=o=>o.done?a(o.value):Promise.resolve(o.value).then(f,i);s((n=n.apply(t,e)).next())}),nY="/sdk/2022-08-12/embedded-wallet",MGa=`${nY}/auth/headless-google-login-managed`,kpn=t=>`paperEwsWalletUserDetails-${t}`,XV=t=>`paperEwsWalletUserId-${t}`,Spn="walletToken",ZV=t=>`${Spn}-${t}`,Cu0="a",eY=(t,e)=>`${Cu0}-${t}-${e}`,Rpn=t=>`${Cu0}-${t}`,oD=(t=>(t.USER_MANAGED="USER_MANAGED",t.AWS_MANAGED="AWS_MANAGED",t))(oD||{}),Iu0=(t=>(t.PAPER_EMAIL_OTP="PaperEmailOTP",t.GOOGLE="Google",t.TWITTER="Twitter",t.COGNITO="Cognito",t.AUTH0="Auth0",t.CUSTOM_JWT="CustomJWT",t))(Iu0||{}),U_=(t=>(t.LOGGED_OUT="Logged Out",t.LOGGED_IN_WALLET_INITIALIZED="Logged In, Wallet Initialized",t))(U_||{}),ku0=(t=>(t.LOGGED_OUT="Logged Out",t.LOGGED_IN_WALLET_UNINITIALIZED="Logged In, Wallet Uninitialized",t.LOGGED_IN_NEW_DEVICE="Logged In, New Device",t.LOGGED_IN_WALLET_INITIALIZED="Logged In, Wallet Initialized",t))(ku0||{}),_u0=new Map,G8e=class{constructor({clientId:t}){this.isSupported=typeof window<"u"&&!!window.localStorage,this.clientId=t}getItem(t){return xt(this,null,function*(){var e;return this.isSupported?window.localStorage.getItem(t):(e=_u0.get(t))!=null?e:null})}setItem(t,e){return xt(this,null,function*(){if(this.isSupported)return window.localStorage.setItem(t,e);_u0.set(t,e)})}removeItem(t){return xt(this,null,function*(){let e=yield this.getItem(t);return this.isSupported&&e?(window.localStorage.removeItem(t),!0):!1})}saveAuthCookie(t){return xt(this,null,function*(){yield this.setItem(ZV(this.clientId),t)})}getAuthCookie(){return xt(this,null,function*(){return this.getItem(ZV(this.clientId))})}removeAuthCookie(){return xt(this,null,function*(){return this.removeItem(ZV(this.clientId))})}saveDeviceShare(t,e){return xt(this,null,function*(){yield this.saveWalletUserId(e),yield this.setItem(eY(this.clientId,e),t)})}getDeviceShare(){return xt(this,null,function*(){let t=yield this.getWalletUserId();return t?this.getItem(eY(this.clientId,t)):null})}removeDeviceShare(){return xt(this,null,function*(){let t=yield this.getWalletUserId();return t?this.removeItem(eY(this.clientId,t)):!1})}getWalletUserId(){return xt(this,null,function*(){return this.getItem(XV(this.clientId))})}saveWalletUserId(t){return xt(this,null,function*(){yield this.setItem(XV(this.clientId),t)})}removeWalletUserId(){return xt(this,null,function*(){return this.removeItem(XV(this.clientId))})}};Mpn={height:"100%",width:"100%",border:"none",backgroundColor:"transparent",colorScheme:"light",position:"fixed",top:"0px",right:"0px",zIndex:"2147483646",display:"none"},j8e=new Map,Bpn=class{constructor({link:t,iframeId:e,container:n=document.body,iframeStyles:a,onIframeInitialize:r}){this.POLLING_INTERVAL_SECONDS=1.4,this.POST_LOAD_BUFFER_SECONDS=1;let f=document.getElementById(e),i=new URL(t),s="1.2.5";if(!s)throw new Error("Missing SDK_VERSION env var");if(i.searchParams.set("sdkVersion",s),!f||f.src!=i.href){if(!f){f=document.createElement("iframe");let o=t4(t4({},Mpn),a);Object.assign(f.style,o),f.setAttribute("id",e),f.setAttribute("fetchpriority","high"),n.appendChild(f)}f.src=i.href,f.setAttribute("data-version",s),f.onload=this.onIframeLoadHandler(f,this.POST_LOAD_BUFFER_SECONDS,r)}this.iframe=f}onIframeLoadedInitVariables(){return xt(this,null,function*(){return{}})}onIframeLoadHandler(t,e,n){return()=>xt(this,null,function*(){yield new Promise((a,r)=>xt(this,null,function*(){var f;let i=new MessageChannel;i.port1.onmessage=o=>{let{data:c}=o;return i.port1.close(),c.success?(j8e.set(t.src,!0),n&&n(),a(!0)):r(new Error(c.error))},yield JV(e),(f=t?.contentWindow)==null||f.postMessage({eventType:"initIframe",data:yield this.onIframeLoadedInitVariables()},`${Ou()}${nY}`,[i.port2])}))})}call(t){return xt(this,arguments,function*({procedureName:e,params:n,showIframe:a=!1,injectRecoveryCode:r={isInjectRecoveryCode:!1}}){for(;!j8e.get(this.iframe.src);)yield JV(this.POLLING_INTERVAL_SECONDS);return a&&(this.iframe.style.display="block",yield JV(.005)),new Promise((f,i)=>{var s;if(r.isInjectRecoveryCode){let c=d=>xt(this,null,function*(){var l,h;if(d.origin!==Ou()||d.data.type!=="paper_getRecoveryCode"||typeof d.data.userWalletId!="string")return;let y=yield(l=r.getRecoveryCode)==null?void 0:l.call(r,d.data.userWalletId);(h=this.iframe.contentWindow)==null||h.postMessage({type:"paper_getRecoveryCode_response",recoveryCode:y},Ou()),window.removeEventListener("message",c)});window.addEventListener("message",c)}let o=new MessageChannel;o.port1.onmessage=c=>xt(this,null,function*(){let{data:d}=c;o.port1.close(),a&&(yield JV(.1),this.iframe.style.display="none"),d.success?f(d.data):i(new Error(d.error))}),(s=this.iframe.contentWindow)==null||s.postMessage({eventType:e,data:n},`${Ou()}${nY}`,[o.port2])})})}destroy(){j8e.delete(this.iframe.src)}},Dpn=class extends Bpn{constructor({clientId:t,customizationOptions:e}){super({iframeId:Lpn,link:Ppn({clientId:t,path:nY,queryParams:e}).href,container:document.body}),this.clientId=t}onIframeLoadedInitVariables(){return xt(this,null,function*(){let t=new G8e({clientId:this.clientId});return{authCookie:yield t.getAuthCookie(),deviceShareStored:yield t.getDeviceShare(),walletUserId:yield t.getWalletUserId(),clientId:this.clientId}})}};Lpn="paper-embedded-wallet-iframe",Su0=class{constructor({querier:t,preLogin:e,postLogin:n,clientId:a}){this.LoginQuerier=t,this.preLogin=e,this.postLogin=n,this.clientId=a}sendPaperEmailLoginOtp(t){return xt(this,arguments,function*({email:e,recoveryShareManagement:n}){yield this.preLogin();let{isNewUser:a,isNewDevice:r,recoveryShareManagement:f}=yield this.LoginQuerier.call({procedureName:"sendPaperEmailLoginOtp",params:{email:e,recoveryShareManagement:n}});return{isNewUser:a,isNewDevice:r,recoveryShareManagement:f}})}},Fpn=class extends Su0{constructor(){super(...arguments),this.closeWindow=({isWindowOpenedByFn:t,win:e,closeOpenedWindow:n})=>{t?e?.close():e&&n?n(e):e&&e.close()}}loginWithPaperModal(){return xt(this,null,function*(){yield this.preLogin();let t=yield this.LoginQuerier.call({procedureName:"loginWithPaperModal",params:{recoveryShareManagement:"AWS_MANAGED"},showIframe:!0,injectRecoveryCode:{isInjectRecoveryCode:!0}});return this.postLogin(t)})}getGoogleLoginUrl(){return xt(this,null,function*(){return yield this.LoginQuerier.call({procedureName:"getHeadlessGoogleLoginLink",params:void 0})})}loginWithGoogle(t){return xt(this,null,function*(){yield this.preLogin();let e=t?.openedWindow,n=!1;if(e||(e=window.open("","Login","width=350, height=500"),n=!0),!e)throw new Error("Something went wrong opening pop-up");yield this.preLogin();let{loginLink:a}=yield this.getGoogleLoginUrl();e.location.href=a;let r=yield new Promise((f,i)=>{let s=window.setInterval(()=>xt(this,null,function*(){e&&e.closed&&(clearInterval(s),window.removeEventListener("message",o),i(new Error("User closed login window")))}),1e3),o=c=>xt(this,null,function*(){if(c.origin===Ou()){if(typeof c.data!="object"){i(new Error("Invalid event data"));return}switch(c.data.eventType){case"userLoginSuccess":{window.removeEventListener("message",o),clearInterval(s),this.closeWindow({isWindowOpenedByFn:n,win:e,closeOpenedWindow:t?.closeOpenedWindow}),c.data.authResult&&f(c.data.authResult);break}case"userLoginFailed":{window.removeEventListener("message",o),clearInterval(s),this.closeWindow({isWindowOpenedByFn:n,win:e,closeOpenedWindow:t?.closeOpenedWindow}),i(new Error(c.data.error));break}case"injectDeveloperClientId":{e?.postMessage({eventType:"injectDeveloperClientIdResult",developerClientId:this.clientId},Ou());break}}}});window.addEventListener("message",o)});return this.postLogin({storedToken:tY(t4({},r.storedToken),{shouldStoreCookieString:!0}),walletDetails:tY(t4({},r.walletDetails),{isIframeStorageEnabled:!1})})})}loginWithPaperEmailOtp(t){return xt(this,arguments,function*({email:e}){yield this.preLogin();let n=yield this.LoginQuerier.call({procedureName:"loginWithPaperModal",params:{email:e,recoveryShareManagement:"AWS_MANAGED"},showIframe:!0,injectRecoveryCode:{isInjectRecoveryCode:!0}});return this.postLogin(n)})}verifyPaperEmailLoginOtp(t){return xt(this,arguments,function*({email:e,otp:n}){let a=yield this.LoginQuerier.call({procedureName:"verifyPaperEmailLoginOtp",params:{email:e,otp:n,recoveryShareManagement:"AWS_MANAGED"},injectRecoveryCode:{isInjectRecoveryCode:!0}});return this.postLogin(a)})}},Npn=class extends Su0{loginWithPaperModal(t){return xt(this,null,function*(){yield this.preLogin();let e=yield this.LoginQuerier.call({procedureName:"loginWithPaperModal",params:void 0,showIframe:!0,injectRecoveryCode:{isInjectRecoveryCode:!0,getRecoveryCode:t?.getRecoveryCode}});return this.postLogin(e)})}loginWithGoogle(t){return xt(this,null,function*(){throw new Error("loginWithGoogle is not yet supported in the RecoveryShareManagement.USER_MANAGED flow. Please use RecoveryShareManagement.AWS_MANAGED instead.")})}loginWithPaperEmailOtp(t){return xt(this,arguments,function*({email:e,recoveryCode:n}){yield this.preLogin();let a=yield this.LoginQuerier.call({procedureName:"loginWithPaperModal",params:{email:e,recoveryCode:n},showIframe:!0,injectRecoveryCode:{isInjectRecoveryCode:!0}});return this.postLogin(a)})}verifyPaperEmailLoginOtp(t){return xt(this,arguments,function*({email:e,otp:n,recoveryCode:a}){let r=yield this.LoginQuerier.call({procedureName:"verifyPaperEmailLoginOtp",params:{email:e,otp:n,recoveryCode:a},injectRecoveryCode:{isInjectRecoveryCode:!0}});return this.postLogin(r)})}},Opn=class{constructor({clientId:t,advancedOptions:e,querier:n,onAuthSuccess:a}){var r;this.clientId=t,this.advancedOptions={recoveryShareManagement:(r=e?.recoveryShareManagement)!=null?r:"AWS_MANAGED"},this.AuthQuerier=n,this.localStorage=new G8e({clientId:t}),this.onAuthSuccess=a,this.userManagedLogin=new Npn({postLogin:f=>xt(this,null,function*(){return this.postLogin(f)}),preLogin:()=>xt(this,null,function*(){yield this.preLogin()}),querier:n,clientId:t}),this.awsManagedLogin=new Fpn({postLogin:f=>xt(this,null,function*(){return this.postLogin(f)}),preLogin:()=>xt(this,null,function*(){yield this.preLogin()}),querier:n,clientId:t})}preLogin(){return xt(this,null,function*(){yield this.logout()})}postLogin(t){return xt(this,arguments,function*({storedToken:e,walletDetails:n}){return e.shouldStoreCookieString&&(yield this.localStorage.saveAuthCookie(e.cookieString)),yield this.onAuthSuccess({storedToken:e,walletDetails:n})})}loginWithJwtAuth(t){return xt(this,arguments,function*({token:e,authProvider:n,recoveryCode:a}){yield this.preLogin();let r=yield this.AuthQuerier.call({procedureName:"loginWithJwtAuthCallback",params:{token:e,authProvider:n,recoveryCode:a}});return this.postLogin(r)})}loginWithPaperModal(t){return xt(this,null,function*(){return yield this.preLogin(),this.advancedOptions.recoveryShareManagement==="AWS_MANAGED"?this.awsManagedLogin.loginWithPaperModal():this.userManagedLogin.loginWithPaperModal(t)})}loginWithPaperEmailOtp(t){return xt(this,null,function*(){return this.advancedOptions.recoveryShareManagement==="AWS_MANAGED"?this.awsManagedLogin.loginWithPaperEmailOtp({email:t.email}):this.userManagedLogin.loginWithPaperEmailOtp(t)})}loginWithGoogle(t){return xt(this,null,function*(){return this.advancedOptions.recoveryShareManagement==="AWS_MANAGED"?this.awsManagedLogin.loginWithGoogle(t):this.userManagedLogin.loginWithGoogle()})}sendPaperEmailLoginOtp(t){return xt(this,arguments,function*({email:e}){return this.advancedOptions.recoveryShareManagement==="AWS_MANAGED"?this.awsManagedLogin.sendPaperEmailLoginOtp({email:e,recoveryShareManagement:"AWS_MANAGED"}):this.userManagedLogin.sendPaperEmailLoginOtp({email:e})})}verifyPaperEmailLoginOtp(t){return xt(this,null,function*(){return this.advancedOptions.recoveryShareManagement==="AWS_MANAGED"?this.awsManagedLogin.verifyPaperEmailLoginOtp(t):this.userManagedLogin.verifyPaperEmailLoginOtp(t)})}logout(){return xt(this,null,function*(){let{success:t}=yield this.AuthQuerier.call({procedureName:"logout",params:void 0}),e=yield this.localStorage.removeAuthCookie(),n=yield this.localStorage.removeWalletUserId();return{success:t||e||n}})}},Au0=class{constructor({chain:t,clientId:e,querier:n}){this.chain=t,this.clientId=e,this.gaslessTransactionQuerier=n}callContract(t){return xt(this,arguments,function*({contractAddress:e,methodArgs:n,methodInterface:a}){return yield this.gaslessTransactionQuerier.call({procedureName:"callContract",params:{chain:this.chain,contractAddress:e,method:{args:n,stub:a}}})})}},Du0=class extends Mu0.Signer{constructor({provider:t,clientId:e,querier:n}){var a;super(),this.DEFAULT_ETHEREUM_CHAIN_ID=5,this.clientId=e,this.querier=n,this.endpoint=(a=t.connection)==null?void 0:a.url,(0,Bu0.defineReadOnly)(this,"provider",t)}getAddress(){return xt(this,null,function*(){let{address:t}=yield this.querier.call({procedureName:"getAddress",params:void 0});return t})}signMessage(t){return xt(this,null,function*(){var e,n,a,r;let f=yield(e=this.provider)==null?void 0:e.getNetwork();f&&f._defaultProvider;let{signedMessage:i}=yield this.querier.call({procedureName:"signMessage",params:{message:t,chainId:(r=(a=yield(n=this.provider)==null?void 0:n.getNetwork())==null?void 0:a.chainId)!=null?r:this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return i})}signTransaction(t){return xt(this,null,function*(){var e,n,a;let{signedTransaction:r}=yield this.querier.call({procedureName:"signTransaction",params:{transaction:t,chainId:(a=(n=yield(e=this.provider)==null?void 0:e.getNetwork())==null?void 0:n.chainId)!=null?a:this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return r})}_signTypedData(t,e,n){return xt(this,null,function*(){var a,r,f;let{signedTypedData:i}=yield this.querier.call({procedureName:"signTypedDataV4",params:{domain:t,types:e,message:n,chainId:(f=(r=yield(a=this.provider)==null?void 0:a.getNetwork())==null?void 0:r.chainId)!=null?f:this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return i})}connect(t){return new Du0({clientId:this.clientId,provider:t,querier:this.querier})}},Upn=class{constructor({clientId:t,chain:e,querier:n}){this.clientId=t,this.chain=e,this.walletManagerQuerier=n,this.gasless=new Au0({chain:e,clientId:t,querier:n}),this.localStorage=new G8e({clientId:t})}postWalletSetUp(t){return xt(this,arguments,function*({deviceShareStored:e,walletAddress:n,isIframeStorageEnabled:a,walletUserId:r}){return a||(yield this.localStorage.saveDeviceShare(e,r)),{walletAddress:n}})}getUserWalletStatus(){return xt(this,null,function*(){let t=yield this.walletManagerQuerier.call({procedureName:"getUserStatus",params:void 0});return t.status==="Logged In, Wallet Initialized"?{status:"Logged In, Wallet Initialized",user:tY(t4({},t.user),{wallet:this})}:t})}setChain(t){return xt(this,arguments,function*({chain:e}){this.chain=e,this.gasless=new Au0({chain:e,clientId:this.clientId,querier:this.walletManagerQuerier})})}getEthersJsSigner(t){return xt(this,null,function*(){var e;return new Du0({clientId:this.clientId,provider:(0,Ru0.getDefaultProvider)((e=t?.rpcEndpoint)!=null?e:VK[this.chain]),querier:this.walletManagerQuerier})})}},Hpn=class{constructor({clientId:t,chain:e,styles:n,advancedOptions:a,onAuthSuccess:r}){this.clientId=t,this.querier=new Dpn({clientId:t,customizationOptions:n}),this.wallet=new Upn({clientId:t,chain:e,querier:this.querier}),this.auth=new Opn({clientId:t,advancedOptions:t4({recoveryShareManagement:"USER_MANAGED"},a??{}),querier:this.querier,onAuthSuccess:f=>xt(this,null,function*(){return yield this.wallet.postWalletSetUp(tY(t4({},f.walletDetails),{walletUserId:f.storedToken.authDetails.userWalletId})),yield this.querier.call({procedureName:"initIframe",params:{deviceShareStored:f.walletDetails.deviceShareStored,clientId:this.clientId,walletUserId:f.storedToken.authDetails.userWalletId,authCookie:f.storedToken.cookieString}}),r?.(f),{user:{status:"Logged In, Wallet Initialized",authDetails:f.storedToken.authDetails,wallet:this.wallet,walletAddress:f.walletDetails.walletAddress}}})})}getUser(){return xt(this,null,function*(){let t=yield this.wallet.getUserWalletStatus();switch(t.status){case"Logged In, New Device":case"Logged In, Wallet Uninitialized":return yield this.auth.logout(),this.getUser();case"Logged Out":return{status:"Logged Out"};case"Logged In, Wallet Initialized":return t4({status:"Logged In, Wallet Initialized"},t.user)}})}}});var Fu0={};V0(Fu0,{PaperWalletConnector:()=>Q8e});var Lu0,Q8e,Nu0=ce(()=>{"use strict";u();p();kt();K8e();Lu0=Ee(Xe());ch();wn();Kr();W0();Q8e=class extends P6{constructor(e){super(),Pe(this,"id",U0.paper),Pe(this,"name","Paper Wallet"),Pe(this,"ready",!0),Pe(this,"user",null),Pe(this,"onAccountsChanged",async n=>{n.length===0?await this.onDisconnect():this.emit("change",{account:Lu0.utils.getAddress(n[0])})}),Pe(this,"onChainChanged",n=>{let a=vi(n),r=this.options.chains.findIndex(f=>f.chainId===a)===-1;this.emit("change",{chain:{id:a,unsupported:r}})}),Pe(this,"onDisconnect",async()=>{this.emit("disconnect")}),this.options=e}getPaperSDK(){return this.paper||(this.paper=new Promise(async(e,n)=>{let a=this.options.advancedOptions?.recoveryShareManagement;try{let{PaperEmbeddedWalletSdk:r}=await Promise.resolve().then(()=>(K8e(),Pu0)),f={AWS_MANAGED:oD.AWS_MANAGED,USER_MANAGED:oD.USER_MANAGED},i=a?f[a]:void 0;e(new r({advancedOptions:{recoveryShareManagement:i},clientId:this.options.clientId,chain:"Ethereum",styles:this.options.styles,onAuthSuccess:this.options.onAuthSuccess}))}catch(r){n(r)}})),this.paper}async connect(e){let n=await this.getPaperSDK();if(!n)throw new Error("Paper SDK not initialized");let a=await n.getUser();switch(a.status){case U_.LOGGED_OUT:{let r;if(e?.googleLogin){let f=e.googleLogin;r=await n.auth.loginWithGoogle(typeof f=="object"?f:void 0)}else e?.email&&e?.otp?r=await n.auth.verifyPaperEmailLoginOtp({email:e.email,otp:e.otp,recoveryCode:e.recoveryCode}):e?.email?r=await n.auth.loginWithPaperEmailOtp({email:e.email}):r=await n.auth.loginWithPaperModal();this.user=r.user;break}case U_.LOGGED_IN_WALLET_INITIALIZED:{typeof e?.googleLogin=="object"&&e.googleLogin.closeOpenedWindow&&e.googleLogin.openedWindow&&e.googleLogin.closeOpenedWindow(e.googleLogin.openedWindow),this.user=a;break}}if(!this.user)throw new Error("Error connecting User");return e?.chainId&&this.switchChain(e.chainId),this.setupListeners(),this.getAddress()}async disconnect(){await(await this.paper)?.auth.logout(),this._signer=void 0,this.user=null}async getAddress(){return(await this.getSigner()).getAddress()}async isConnected(){try{return!!await this.getAddress()}catch{return!1}}async getProvider(){let e=await this.getSigner();if(!e.provider)throw new Error("Provider not found");return e.provider}async getSigner(){if(this._signer)return this._signer;if(!this.user){let a=await(await this.getPaperSDK()).getUser();switch(a.status){case U_.LOGGED_IN_WALLET_INITIALIZED:{this.user=a;break}}}let e=await this.user?.wallet.getEthersJsSigner({rpcEndpoint:this.options.chain.rpc[0]||""});if(!e)throw new Error("Signer not found");return this._signer=e,e}async isAuthorized(){return!1}async switchChain(e){let n=this.options.chains.find(a=>a.chainId===e);if(!n)throw new Error("Chain not configured");await this.user?.wallet.setChain({chain:"Ethereum"}),this._signer=await this.user?.wallet.getEthersJsSigner({rpcEndpoint:n.rpc[0]||""}),this.emit("change",{chain:{id:e,unsupported:!1}})}async setupListeners(){let e=await this.getProvider();e.on&&(e.on("accountsChanged",this.onAccountsChanged),e.on("chainChanged",this.onChainChanged),e.on("disconnect",this.onDisconnect))}updateChains(e){this.options.chains=e}async getEmail(){if(await this.getProvider(),!this.user)throw new Error("No user found, Paper Wallet is not connected");return this.user.authDetails.email}}});var Ou0=D(aY=>{"use strict";u();p();Object.defineProperty(aY,"__esModule",{value:!0});aY.walletLogo=void 0;var zpn=(t,e)=>{let n;switch(t){case"standard":return n=e,`data:image/svg+xml,%3Csvg width='${e}' height='${n}' viewBox='0 0 1024 1024' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='1024' height='1024' fill='%230052FF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z' fill='white'/%3E %3C/svg%3E `;case"circle":return n=e,`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${e}' height='${n}' viewBox='0 0 999.81 999.81'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052fe;%7D.cls-2%7Bfill:%23fefefe;%7D.cls-3%7Bfill:%230152fe;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M655-115.9h56c.83,1.59,2.36.88,3.56,1a478,478,0,0,1,75.06,10.42C891.4-81.76,978.33-32.58,1049.19,44q116.7,126,131.94,297.61c.38,4.14-.34,8.53,1.78,12.45v59c-1.58.84-.91,2.35-1,3.56a482.05,482.05,0,0,1-10.38,74.05c-24,106.72-76.64,196.76-158.83,268.93s-178.18,112.82-287.2,122.6c-4.83.43-9.86-.25-14.51,1.77H654c-1-1.68-2.69-.91-4.06-1a496.89,496.89,0,0,1-105.9-18.59c-93.54-27.42-172.78-77.59-236.91-150.94Q199.34,590.1,184.87,426.58c-.47-5.19.25-10.56-1.77-15.59V355c1.68-1,.91-2.7,1-4.06a498.12,498.12,0,0,1,18.58-105.9c26-88.75,72.64-164.9,140.6-227.57q126-116.27,297.21-131.61C645.32-114.57,650.35-113.88,655-115.9Zm377.92,500c0-192.44-156.31-349.49-347.56-350.15-194.13-.68-350.94,155.13-352.29,347.42-1.37,194.55,155.51,352.1,348.56,352.47C876.15,734.23,1032.93,577.84,1032.93,384.11Z' transform='translate(-183.1 115.9)'/%3E%3Cpath class='cls-2' d='M1032.93,384.11c0,193.73-156.78,350.12-351.29,349.74-193-.37-349.93-157.92-348.56-352.47C334.43,189.09,491.24,33.28,685.37,34,876.62,34.62,1032.94,191.67,1032.93,384.11ZM683,496.81q43.74,0,87.48,0c15.55,0,25.32-9.72,25.33-25.21q0-87.48,0-175c0-15.83-9.68-25.46-25.59-25.46H595.77c-15.88,0-25.57,9.64-25.58,25.46q0,87.23,0,174.45c0,16.18,9.59,25.7,25.84,25.71Z' transform='translate(-183.1 115.9)'/%3E%3Cpath class='cls-3' d='M683,496.81H596c-16.25,0-25.84-9.53-25.84-25.71q0-87.23,0-174.45c0-15.82,9.7-25.46,25.58-25.46H770.22c15.91,0,25.59,9.63,25.59,25.46q0,87.47,0,175c0,15.49-9.78,25.2-25.33,25.21Q726.74,496.84,683,496.81Z' transform='translate(-183.1 115.9)'/%3E%3C/svg%3E`;case"text":return n=(.1*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528.15 53.64'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class='cls-1' d='M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z'/%3E%3C/svg%3E`;case"textWithLogo":return n=(.25*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 308.44 77.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z'/%3E%3C/svg%3E`;case"textLight":return n=(.1*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528.15 53.64'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class='cls-1' d='M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z'/%3E%3C/svg%3E`;case"textWithLogoLight":return n=(.25*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 308.44 77.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z'/%3E%3C/svg%3E`;default:return n=e,`data:image/svg+xml,%3Csvg width='${e}' height='${n}' viewBox='0 0 1024 1024' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='1024' height='1024' fill='%230052FF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z' fill='white'/%3E %3C/svg%3E `}};aY.walletLogo=zpn});var Uu0=D(rY=>{"use strict";u();p();Object.defineProperty(rY,"__esModule",{value:!0});rY.LINK_API_URL=void 0;rY.LINK_API_URL="https://www.walletlink.org"});var dD=D(H_=>{"use strict";u();p();Object.defineProperty(H_,"__esModule",{value:!0});H_.errorValues=H_.standardErrorCodes=void 0;H_.standardErrorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901,unsupportedChain:4902}};H_.errorValues={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."},4902:{standard:"EIP-3085",message:"Unrecognized chain ID."}}});var iY=D(j6=>{"use strict";u();p();Object.defineProperty(j6,"__esModule",{value:!0});j6.serialize=j6.getErrorCode=j6.isValidCode=j6.getMessageFromCode=j6.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;var fY=dD(),Wu0="Unspecified error message.";j6.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.";function qu0(t,e=Wu0){if(t&&Number.isInteger(t)){let n=t.toString();if(V8e(fY.errorValues,n))return fY.errorValues[n].message;if(Gu0(t))return j6.JSON_RPC_SERVER_ERROR_MESSAGE}return e}j6.getMessageFromCode=qu0;function ju0(t){if(!Number.isInteger(t))return!1;let e=t.toString();return!!(fY.errorValues[e]||Gu0(t))}j6.isValidCode=ju0;function Wpn(t){var e;if(typeof t=="number")return t;if(qpn(t))return(e=t.code)!==null&&e!==void 0?e:t.errorCode}j6.getErrorCode=Wpn;function qpn(t){return typeof t=="object"&&t!==null&&(typeof t.code=="number"||typeof t.errorCode=="number")}function jpn(t,{shouldIncludeStack:e=!1}={}){let n={};if(t&&typeof t=="object"&&!Array.isArray(t)&&V8e(t,"code")&&ju0(t.code)){let a=t;n.code=a.code,a.message&&typeof a.message=="string"?(n.message=a.message,V8e(a,"data")&&(n.data=a.data)):(n.message=qu0(n.code),n.data={originalError:Hu0(t)})}else n.code=fY.standardErrorCodes.rpc.internal,n.message=zu0(t,"message")?t.message:Wu0,n.data={originalError:Hu0(t)};return e&&(n.stack=zu0(t,"stack")?t.stack:void 0),n}j6.serialize=jpn;function Gu0(t){return t>=-32099&&t<=-32e3}function Hu0(t){return t&&typeof t=="object"&&!Array.isArray(t)?Object.assign({},t):t}function V8e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zu0(t,e){return typeof t=="object"&&t!==null&&e in t&&typeof t[e]=="string"}});var Vu0=D(cY=>{"use strict";u();p();Object.defineProperty(cY,"__esModule",{value:!0});cY.standardErrors=void 0;var vo=dD(),Ku0=iY();cY.standardErrors={rpc:{parse:t=>wd(vo.standardErrorCodes.rpc.parse,t),invalidRequest:t=>wd(vo.standardErrorCodes.rpc.invalidRequest,t),invalidParams:t=>wd(vo.standardErrorCodes.rpc.invalidParams,t),methodNotFound:t=>wd(vo.standardErrorCodes.rpc.methodNotFound,t),internal:t=>wd(vo.standardErrorCodes.rpc.internal,t),server:t=>{if(!t||typeof t!="object"||Array.isArray(t))throw new Error("Ethereum RPC Server errors must provide single object argument.");let{code:e}=t;if(!Number.isInteger(e)||e>-32005||e<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return wd(e,t)},invalidInput:t=>wd(vo.standardErrorCodes.rpc.invalidInput,t),resourceNotFound:t=>wd(vo.standardErrorCodes.rpc.resourceNotFound,t),resourceUnavailable:t=>wd(vo.standardErrorCodes.rpc.resourceUnavailable,t),transactionRejected:t=>wd(vo.standardErrorCodes.rpc.transactionRejected,t),methodNotSupported:t=>wd(vo.standardErrorCodes.rpc.methodNotSupported,t),limitExceeded:t=>wd(vo.standardErrorCodes.rpc.limitExceeded,t)},provider:{userRejectedRequest:t=>z_(vo.standardErrorCodes.provider.userRejectedRequest,t),unauthorized:t=>z_(vo.standardErrorCodes.provider.unauthorized,t),unsupportedMethod:t=>z_(vo.standardErrorCodes.provider.unsupportedMethod,t),disconnected:t=>z_(vo.standardErrorCodes.provider.disconnected,t),chainDisconnected:t=>z_(vo.standardErrorCodes.provider.chainDisconnected,t),unsupportedChain:t=>z_(vo.standardErrorCodes.provider.unsupportedChain,t),custom:t=>{if(!t||typeof t!="object"||Array.isArray(t))throw new Error("Ethereum Provider custom errors must provide single object argument.");let{code:e,message:n,data:a}=t;if(!n||typeof n!="string")throw new Error('"message" must be a nonempty string');return new oY(e,n,a)}}};function wd(t,e){let[n,a]=Qu0(e);return new sY(t,n||(0,Ku0.getMessageFromCode)(t),a)}function z_(t,e){let[n,a]=Qu0(e);return new oY(t,n||(0,Ku0.getMessageFromCode)(t),a)}function Qu0(t){if(t){if(typeof t=="string")return[t];if(typeof t=="object"&&!Array.isArray(t)){let{message:e,data:n}=t;if(e&&typeof e!="string")throw new Error("Must specify string message.");return[e||void 0,n]}}return[]}var sY=class extends Error{constructor(e,n,a){if(!Number.isInteger(e))throw new Error('"code" must be an integer.');if(!n||typeof n!="string")throw new Error('"message" must be a nonempty string.');super(n),this.code=e,a!==void 0&&(this.data=a)}},oY=class extends sY{constructor(e,n,a){if(!Gpn(e))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,n,a)}};function Gpn(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}});var lY=D(dY=>{"use strict";u();p();Object.defineProperty(dY,"__esModule",{value:!0});dY.isErrorResponse=void 0;function Kpn(t){return t.errorMessage!==void 0}dY.isErrorResponse=Kpn});var pY=D(uY=>{"use strict";u();p();Object.defineProperty(uY,"__esModule",{value:!0});uY.LIB_VERSION=void 0;uY.LIB_VERSION="3.9.3"});var Yu0=D(hY=>{"use strict";u();p();Object.defineProperty(hY,"__esModule",{value:!0});hY.serializeError=void 0;var Qpn=lY(),Vpn=pY(),Ypn=dD(),$pn=iY();function Jpn(t,e){let n=(0,$pn.serialize)(Xpn(t),{shouldIncludeStack:!0}),a=new URL("https://docs.cloud.coinbase.com/wallet-sdk/docs/errors");a.searchParams.set("version",Vpn.LIB_VERSION),a.searchParams.set("code",n.code.toString());let r=Zpn(n.data,e);return r&&a.searchParams.set("method",r),a.searchParams.set("message",n.message),Object.assign(Object.assign({},n),{docUrl:a.href})}hY.serializeError=Jpn;function Xpn(t){return typeof t=="string"?{message:t,code:Ypn.standardErrorCodes.rpc.internal}:(0,Qpn.isErrorResponse)(t)?Object.assign(Object.assign({},t),{message:t.errorMessage,code:t.errorCode,data:{method:t.method}}):t}function Zpn(t,e){let n=t?.method;if(n)return n;if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e)){if(e.length>0)return e[0].method}else return e.method}}});var lD=D(Td=>{"use strict";u();p();Object.defineProperty(Td,"__esModule",{value:!0});Td.standardErrors=Td.standardErrorCodes=Td.serializeError=Td.getMessageFromCode=Td.getErrorCode=void 0;var e8n=dD();Object.defineProperty(Td,"standardErrorCodes",{enumerable:!0,get:function(){return e8n.standardErrorCodes}});var t8n=Vu0();Object.defineProperty(Td,"standardErrors",{enumerable:!0,get:function(){return t8n.standardErrors}});var n8n=Yu0();Object.defineProperty(Td,"serializeError",{enumerable:!0,get:function(){return n8n.serializeError}});var $u0=iY();Object.defineProperty(Td,"getErrorCode",{enumerable:!0,get:function(){return $u0.getErrorCode}});Object.defineProperty(Td,"getMessageFromCode",{enumerable:!0,get:function(){return $u0.getMessageFromCode}})});var pD=D(v1=>{"use strict";u();p();Object.defineProperty(v1,"__esModule",{value:!0});v1.ProviderType=v1.RegExpString=v1.IntNumber=v1.BigIntString=v1.AddressString=v1.HexString=v1.OpaqueType=void 0;function uD(){return t=>t}v1.OpaqueType=uD;v1.HexString=uD();v1.AddressString=uD();v1.BigIntString=uD();function a8n(t){return Math.floor(t)}v1.IntNumber=a8n;v1.RegExpString=uD();var Ju0;(function(t){t.CoinbaseWallet="CoinbaseWallet",t.MetaMask="MetaMask",t.Unselected=""})(Ju0||(v1.ProviderType=Ju0={}))});var fp=D(wt=>{"use strict";u();p();var r8n=wt&&wt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(wt,"__esModule",{value:!0});wt.isMobileWeb=wt.getLocation=wt.isInIFrame=wt.createQrUrl=wt.getFavicon=wt.range=wt.isBigNumber=wt.ensureParsedJSONObject=wt.ensureBN=wt.ensureRegExpString=wt.ensureIntNumber=wt.ensureBuffer=wt.ensureAddressString=wt.ensureEvenLengthHexString=wt.ensureHexString=wt.isHexString=wt.prepend0x=wt.strip0x=wt.has0xPrefix=wt.hexStringFromIntNumber=wt.intNumberFromHexString=wt.bigIntStringFromBN=wt.hexStringFromBuffer=wt.hexStringToUint8Array=wt.uint8ArrayToHex=wt.randomBytesHex=void 0;var n4=r8n(Va()),bg=lD(),xd=pD(),Xu0=/^[0-9]*$/,Zu0=/^[a-f0-9]*$/;function f8n(t){return ep0(crypto.getRandomValues(new Uint8Array(t)))}wt.randomBytesHex=f8n;function ep0(t){return[...t].map(e=>e.toString(16).padStart(2,"0")).join("")}wt.uint8ArrayToHex=ep0;function i8n(t){return new Uint8Array(t.match(/.{1,2}/g).map(e=>parseInt(e,16)))}wt.hexStringToUint8Array=i8n;function s8n(t,e=!1){let n=t.toString("hex");return(0,xd.HexString)(e?`0x${n}`:n)}wt.hexStringFromBuffer=s8n;function o8n(t){return(0,xd.BigIntString)(t.toString(10))}wt.bigIntStringFromBN=o8n;function c8n(t){return(0,xd.IntNumber)(new n4.default(bD(t,!1),16).toNumber())}wt.intNumberFromHexString=c8n;function d8n(t){return(0,xd.HexString)(`0x${new n4.default(t).toString(16)}`)}wt.hexStringFromIntNumber=d8n;function Y8e(t){return t.startsWith("0x")||t.startsWith("0X")}wt.has0xPrefix=Y8e;function bY(t){return Y8e(t)?t.slice(2):t}wt.strip0x=bY;function tp0(t){return Y8e(t)?`0x${t.slice(2)}`:`0x${t}`}wt.prepend0x=tp0;function hD(t){if(typeof t!="string")return!1;let e=bY(t).toLowerCase();return Zu0.test(e)}wt.isHexString=hD;function np0(t,e=!1){if(typeof t=="string"){let n=bY(t).toLowerCase();if(Zu0.test(n))return(0,xd.HexString)(e?`0x${n}`:n)}throw bg.standardErrors.rpc.invalidParams(`"${String(t)}" is not a hexadecimal string`)}wt.ensureHexString=np0;function bD(t,e=!1){let n=np0(t,!1);return n.length%2===1&&(n=(0,xd.HexString)(`0${n}`)),e?(0,xd.HexString)(`0x${n}`):n}wt.ensureEvenLengthHexString=bD;function l8n(t){if(typeof t=="string"){let e=bY(t).toLowerCase();if(hD(e)&&e.length===40)return(0,xd.AddressString)(tp0(e))}throw bg.standardErrors.rpc.invalidParams(`Invalid Ethereum address: ${String(t)}`)}wt.ensureAddressString=l8n;function u8n(t){if(_.Buffer.isBuffer(t))return t;if(typeof t=="string"){if(hD(t)){let e=bD(t,!1);return _.Buffer.from(e,"hex")}return _.Buffer.from(t,"utf8")}throw bg.standardErrors.rpc.invalidParams(`Not binary data: ${String(t)}`)}wt.ensureBuffer=u8n;function ap0(t){if(typeof t=="number"&&Number.isInteger(t))return(0,xd.IntNumber)(t);if(typeof t=="string"){if(Xu0.test(t))return(0,xd.IntNumber)(Number(t));if(hD(t))return(0,xd.IntNumber)(new n4.default(bD(t,!1),16).toNumber())}throw bg.standardErrors.rpc.invalidParams(`Not an integer: ${String(t)}`)}wt.ensureIntNumber=ap0;function p8n(t){if(t instanceof RegExp)return(0,xd.RegExpString)(t.toString());throw bg.standardErrors.rpc.invalidParams(`Not a RegExp: ${String(t)}`)}wt.ensureRegExpString=p8n;function h8n(t){if(t!==null&&(n4.default.isBN(t)||rp0(t)))return new n4.default(t.toString(10),10);if(typeof t=="number")return new n4.default(ap0(t));if(typeof t=="string"){if(Xu0.test(t))return new n4.default(t,10);if(hD(t))return new n4.default(bD(t,!1),16)}throw bg.standardErrors.rpc.invalidParams(`Not an integer: ${String(t)}`)}wt.ensureBN=h8n;function b8n(t){if(typeof t=="string")return JSON.parse(t);if(typeof t=="object")return t;throw bg.standardErrors.rpc.invalidParams(`Not a JSON string or an object: ${String(t)}`)}wt.ensureParsedJSONObject=b8n;function rp0(t){if(t==null||typeof t.constructor!="function")return!1;let{constructor:e}=t;return typeof e.config=="function"&&typeof e.EUCLID=="number"}wt.isBigNumber=rp0;function m8n(t,e){return Array.from({length:e-t},(n,a)=>t+a)}wt.range=m8n;function y8n(){let t=document.querySelector('link[sizes="192x192"]')||document.querySelector('link[sizes="180x180"]')||document.querySelector('link[rel="icon"]')||document.querySelector('link[rel="shortcut icon"]'),{protocol:e,host:n}=document.location,a=t?t.getAttribute("href"):null;return!a||a.startsWith("javascript:")||a.startsWith("vbscript:")?null:a.startsWith("http://")||a.startsWith("https://")||a.startsWith("data:")?a:a.startsWith("//")?e+a:`${e}//${n}${a}`}wt.getFavicon=y8n;function g8n(t,e,n,a,r,f){let i=a?"parent-id":"id",s=new URLSearchParams({[i]:t,secret:e,server:n,v:r,chainId:f.toString()}).toString();return`${n}/#/link?${s}`}wt.createQrUrl=g8n;function fp0(){try{return window.frameElement!==null}catch{return!1}}wt.isInIFrame=fp0;function v8n(){try{return fp0()&&window.top?window.top.location:window.location}catch{return window.location}}wt.getLocation=v8n;function w8n(){var t;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test((t=window?.navigator)===null||t===void 0?void 0:t.userAgent)}wt.isMobileWeb=w8n});var ip0=D(mY=>{"use strict";u();p();Object.defineProperty(mY,"__esModule",{value:!0});mY.ScopedLocalStorage=void 0;var $8e=class{constructor(e){this.scope=e}setItem(e,n){localStorage.setItem(this.scopedKey(e),n)}getItem(e){return localStorage.getItem(this.scopedKey(e))}removeItem(e){localStorage.removeItem(this.scopedKey(e))}clear(){let e=this.scopedKey(""),n=[];for(let a=0;alocalStorage.removeItem(a))}scopedKey(e){return`${this.scope}:${e}`}};mY.ScopedLocalStorage=$8e});var gY=D(yY=>{"use strict";u();p();Object.defineProperty(yY,"__esModule",{value:!0});yY.EVENTS=void 0;yY.EVENTS={STARTED_CONNECTING:"walletlink_sdk.started.connecting",CONNECTED_STATE_CHANGE:"walletlink_sdk.connected",DISCONNECTED:"walletlink_sdk.disconnected",METADATA_DESTROYED:"walletlink_sdk_metadata_destroyed",LINKED:"walletlink_sdk.linked",FAILURE:"walletlink_sdk.generic_failure",SESSION_CONFIG_RECEIVED:"walletlink_sdk.session_config_event_received",ETH_ACCOUNTS_STATE:"walletlink_sdk.eth_accounts_state",SESSION_STATE_CHANGE:"walletlink_sdk.session_state_change",UNLINKED_ERROR_STATE:"walletlink_sdk.unlinked_error_state",SKIPPED_CLEARING_SESSION:"walletlink_sdk.skipped_clearing_session",GENERAL_ERROR:"walletlink_sdk.general_error",WEB3_REQUEST:"walletlink_sdk.web3.request",WEB3_REQUEST_PUBLISHED:"walletlink_sdk.web3.request_published",WEB3_RESPONSE:"walletlink_sdk.web3.response",METHOD_NOT_IMPLEMENTED:"walletlink_sdk.method_not_implemented",UNKNOWN_ADDRESS_ENCOUNTERED:"walletlink_sdk.unknown_address_encountered"}});var vY=D(ip=>{"use strict";u();p();Object.defineProperty(ip,"__esModule",{value:!0});ip.RelayAbstract=ip.APP_VERSION_KEY=ip.LOCAL_STORAGE_ADDRESSES_KEY=ip.WALLET_USER_NAME_KEY=void 0;var sp0=lD();ip.WALLET_USER_NAME_KEY="walletUsername";ip.LOCAL_STORAGE_ADDRESSES_KEY="Addresses";ip.APP_VERSION_KEY="AppVersion";var J8e=class{async makeEthereumJSONRPCRequest(e,n){if(!n)throw new Error("Error: No jsonRpcUrl provided");return window.fetch(n,{method:"POST",body:JSON.stringify(e),mode:"cors",headers:{"Content-Type":"application/json"}}).then(a=>a.json()).then(a=>{if(!a)throw sp0.standardErrors.rpc.parse({});let r=a,{error:f}=r;if(f)throw(0,sp0.serializeError)(f,e.method);return r})}};ip.RelayAbstract=J8e});var TY=D(wY=>{"use strict";u();p();Object.defineProperty(wY,"__esModule",{value:!0});wY.Session=void 0;var op0=jI(),cp0=fp(),dp0="session:id",lp0="session:secret",up0="session:linked",X8e=class t{constructor(e,n,a,r){this._storage=e,this._id=n||(0,cp0.randomBytesHex)(16),this._secret=a||(0,cp0.randomBytesHex)(32),this._key=new op0.sha256().update(`${this._id}, ${this._secret} WalletLink`).digest("hex"),this._linked=!!r}static load(e){let n=e.getItem(dp0),a=e.getItem(up0),r=e.getItem(lp0);return n&&r?new t(e,n,r,a==="1"):null}static hash(e){return new op0.sha256().update(e).digest("hex")}get id(){return this._id}get secret(){return this._secret}get key(){return this._key}get linked(){return this._linked}set linked(e){this._linked=e,this.persistLinked()}save(){return this._storage.setItem(dp0,this._id),this._storage.setItem(lp0,this._secret),this.persistLinked(),this}persistLinked(){this._storage.setItem(up0,this._linked?"1":"0")}};wY.Session=X8e});var pp0=D(EY=>{"use strict";u();p();Object.defineProperty(EY,"__esModule",{value:!0});EY.Cipher=void 0;var xY=fp(),Z8e=class{constructor(e){this.secret=e}async encrypt(e){let n=this.secret;if(n.length!==64)throw Error("secret must be 256 bits");let a=crypto.getRandomValues(new Uint8Array(12)),r=await crypto.subtle.importKey("raw",(0,xY.hexStringToUint8Array)(n),{name:"aes-gcm"},!1,["encrypt","decrypt"]),f=new TextEncoder,i=await window.crypto.subtle.encrypt({name:"AES-GCM",iv:a},r,f.encode(e)),s=16,o=i.slice(i.byteLength-s),c=i.slice(0,i.byteLength-s),d=new Uint8Array(o),l=new Uint8Array(c),h=new Uint8Array([...a,...d,...l]);return(0,xY.uint8ArrayToHex)(h)}async decrypt(e){let n=this.secret;if(n.length!==64)throw Error("secret must be 256 bits");return new Promise((a,r)=>{(async function(){let f=await crypto.subtle.importKey("raw",(0,xY.hexStringToUint8Array)(n),{name:"aes-gcm"},!1,["encrypt","decrypt"]),i=(0,xY.hexStringToUint8Array)(e),s=i.slice(0,12),o=i.slice(12,28),c=i.slice(28),d=new Uint8Array([...c,...o]),l={name:"AES-GCM",iv:new Uint8Array(s)};try{let h=await window.crypto.subtle.decrypt(l,f,d),y=new TextDecoder;a(y.decode(h))}catch(h){r(h)}})()})}};EY.Cipher=Z8e});var hp0=D(_Y=>{"use strict";u();p();Object.defineProperty(_Y,"__esModule",{value:!0});_Y.WalletLinkHTTP=void 0;var ehe=class{constructor(e,n,a){this.linkAPIUrl=e,this.sessionId=n;let r=`${n}:${a}`;this.auth=`Basic ${btoa(r)}`}async markUnseenEventsAsSeen(e){return Promise.all(e.map(n=>fetch(`${this.linkAPIUrl}/events/${n.eventId}/seen`,{method:"POST",headers:{Authorization:this.auth}}))).catch(n=>console.error("Unabled to mark event as failed:",n))}async fetchUnseenEvents(){var e;let n=await fetch(`${this.linkAPIUrl}/events?unseen=true`,{headers:{Authorization:this.auth}});if(n.ok){let{events:a,error:r}=await n.json();if(r)throw new Error(`Check unseen events failed: ${r}`);let f=(e=a?.filter(i=>i.event==="Web3Response").map(i=>({type:"Event",sessionId:this.sessionId,eventId:i.id,event:i.event,data:i.data})))!==null&&e!==void 0?e:[];return this.markUnseenEventsAsSeen(f),f}throw new Error(`Check unseen events failed: ${n.status}`)}};_Y.WalletLinkHTTP=ehe});var bp0=D(q_=>{"use strict";u();p();Object.defineProperty(q_,"__esModule",{value:!0});q_.WalletLinkWebSocket=q_.ConnectionState=void 0;var W_;(function(t){t[t.DISCONNECTED=0]="DISCONNECTED",t[t.CONNECTING=1]="CONNECTING",t[t.CONNECTED=2]="CONNECTED"})(W_||(q_.ConnectionState=W_={}));var the=class{setConnectionStateListener(e){this.connectionStateListener=e}setIncomingDataListener(e){this.incomingDataListener=e}constructor(e,n=WebSocket){this.WebSocketClass=n,this.webSocket=null,this.pendingData=[],this.url=e.replace(/^http/,"ws")}async connect(){if(this.webSocket)throw new Error("webSocket object is not null");return new Promise((e,n)=>{var a;let r;try{this.webSocket=r=new this.WebSocketClass(this.url)}catch(f){n(f);return}(a=this.connectionStateListener)===null||a===void 0||a.call(this,W_.CONNECTING),r.onclose=f=>{var i;this.clearWebSocket(),n(new Error(`websocket error ${f.code}: ${f.reason}`)),(i=this.connectionStateListener)===null||i===void 0||i.call(this,W_.DISCONNECTED)},r.onopen=f=>{var i;e(),(i=this.connectionStateListener)===null||i===void 0||i.call(this,W_.CONNECTED),this.pendingData.length>0&&([...this.pendingData].forEach(o=>this.sendData(o)),this.pendingData=[])},r.onmessage=f=>{var i,s;if(f.data==="h")(i=this.incomingDataListener)===null||i===void 0||i.call(this,{type:"Heartbeat"});else try{let o=JSON.parse(f.data);(s=this.incomingDataListener)===null||s===void 0||s.call(this,o)}catch{}}})}disconnect(){var e;let{webSocket:n}=this;if(n){this.clearWebSocket(),(e=this.connectionStateListener)===null||e===void 0||e.call(this,W_.DISCONNECTED),this.connectionStateListener=void 0,this.incomingDataListener=void 0;try{n.close()}catch{}}}sendData(e){let{webSocket:n}=this;if(!n){this.pendingData.push(e),this.connect();return}n.send(e)}clearWebSocket(){let{webSocket:e}=this;e&&(this.webSocket=null,e.onclose=null,e.onerror=null,e.onmessage=null,e.onopen=null)}};q_.WalletLinkWebSocket=the});var gp0=D(CY=>{"use strict";u();p();Object.defineProperty(CY,"__esModule",{value:!0});CY.WalletLinkConnection=void 0;var j_=pD(),T8n=pp0(),sp=gY(),mp0=vY(),G_=TY(),x8n=hp0(),AY=bp0(),yp0=1e4,E8n=6e4,nhe=class{constructor({session:e,linkAPIUrl:n,listener:a,diagnostic:r,WebSocketClass:f=WebSocket}){this.destroyed=!1,this.lastHeartbeatResponse=0,this.nextReqId=(0,j_.IntNumber)(1),this._connected=!1,this._linked=!1,this.shouldFetchUnseenEventsOnConnect=!1,this.requestResolutions=new Map,this.handleSessionMetadataUpdated=s=>{if(!s)return;new Map([["__destroyed",this.handleDestroyed],["EthereumAddress",this.handleAccountUpdated],["WalletUsername",this.handleWalletUsernameUpdated],["AppVersion",this.handleAppVersionUpdated],["ChainId",c=>s.JsonRpcUrl&&this.handleChainUpdated(c,s.JsonRpcUrl)]]).forEach((c,d)=>{let l=s[d];l!==void 0&&c(l)})},this.handleDestroyed=s=>{var o,c;s==="1"&&((o=this.listener)===null||o===void 0||o.resetAndReload(),(c=this.diagnostic)===null||c===void 0||c.log(sp.EVENTS.METADATA_DESTROYED,{alreadyDestroyed:this.isDestroyed,sessionIdHash:G_.Session.hash(this.session.id)}))},this.handleAccountUpdated=async s=>{var o,c;try{let d=await this.cipher.decrypt(s);(o=this.listener)===null||o===void 0||o.accountUpdated(d)}catch{(c=this.diagnostic)===null||c===void 0||c.log(sp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"selectedAddress"})}},this.handleMetadataUpdated=async(s,o)=>{var c,d;try{let l=await this.cipher.decrypt(o);(c=this.listener)===null||c===void 0||c.metadataUpdated(s,l)}catch{(d=this.diagnostic)===null||d===void 0||d.log(sp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:s})}},this.handleWalletUsernameUpdated=async s=>{this.handleMetadataUpdated(mp0.WALLET_USER_NAME_KEY,s)},this.handleAppVersionUpdated=async s=>{this.handleMetadataUpdated(mp0.APP_VERSION_KEY,s)},this.handleChainUpdated=async(s,o)=>{var c,d;try{let l=await this.cipher.decrypt(s),h=await this.cipher.decrypt(o);(c=this.listener)===null||c===void 0||c.chainUpdated(l,h)}catch{(d=this.diagnostic)===null||d===void 0||d.log(sp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"chainId|jsonRpcUrl"})}},this.session=e,this.cipher=new T8n.Cipher(e.secret),this.diagnostic=r,this.listener=a;let i=new AY.WalletLinkWebSocket(`${n}/rpc`,f);i.setConnectionStateListener(async s=>{var o;(o=this.diagnostic)===null||o===void 0||o.log(sp.EVENTS.CONNECTED_STATE_CHANGE,{state:s,sessionIdHash:G_.Session.hash(e.id)});let c=!1;switch(s){case AY.ConnectionState.DISCONNECTED:if(!this.destroyed){let d=async()=>{await new Promise(l=>setTimeout(l,5e3)),this.destroyed||i.connect().catch(()=>{d()})};d()}break;case AY.ConnectionState.CONNECTED:try{await this.authenticate(),this.sendIsLinked(),this.sendGetSessionConfig(),c=!0}catch{}this.updateLastHeartbeat(),setInterval(()=>{this.heartbeat()},yp0),this.shouldFetchUnseenEventsOnConnect&&this.fetchUnseenEventsAPI();break;case AY.ConnectionState.CONNECTING:break}this.connected!==c&&(this.connected=c)}),i.setIncomingDataListener(s=>{var o,c,d;switch(s.type){case"Heartbeat":this.updateLastHeartbeat();return;case"IsLinkedOK":case"Linked":{let l=s.type==="IsLinkedOK"?s.linked:void 0;(o=this.diagnostic)===null||o===void 0||o.log(sp.EVENTS.LINKED,{sessionIdHash:G_.Session.hash(e.id),linked:l,type:s.type,onlineGuests:s.onlineGuests}),this.linked=l||s.onlineGuests>0;break}case"GetSessionConfigOK":case"SessionConfigUpdated":{(c=this.diagnostic)===null||c===void 0||c.log(sp.EVENTS.SESSION_CONFIG_RECEIVED,{sessionIdHash:G_.Session.hash(e.id),metadata_keys:s&&s.metadata?Object.keys(s.metadata):void 0}),this.handleSessionMetadataUpdated(s.metadata);break}case"Event":{this.handleIncomingEvent(s);break}}s.id!==void 0&&((d=this.requestResolutions.get(s.id))===null||d===void 0||d(s))}),this.ws=i,this.http=new x8n.WalletLinkHTTP(n,e.id,e.key)}connect(){var e;if(this.destroyed)throw new Error("instance is destroyed");(e=this.diagnostic)===null||e===void 0||e.log(sp.EVENTS.STARTED_CONNECTING,{sessionIdHash:G_.Session.hash(this.session.id)}),this.ws.connect()}destroy(){var e;this.destroyed=!0,this.ws.disconnect(),(e=this.diagnostic)===null||e===void 0||e.log(sp.EVENTS.DISCONNECTED,{sessionIdHash:G_.Session.hash(this.session.id)}),this.listener=void 0}get isDestroyed(){return this.destroyed}get connected(){return this._connected}set connected(e){var n,a;this._connected=e,e&&((n=this.onceConnected)===null||n===void 0||n.call(this)),(a=this.listener)===null||a===void 0||a.connectedUpdated(e)}setOnceConnected(e){return new Promise(n=>{this.connected?e().then(n):this.onceConnected=()=>{e().then(n),this.onceConnected=void 0}})}get linked(){return this._linked}set linked(e){var n,a;this._linked=e,e&&((n=this.onceLinked)===null||n===void 0||n.call(this)),(a=this.listener)===null||a===void 0||a.linkedUpdated(e)}setOnceLinked(e){return new Promise(n=>{this.linked?e().then(n):this.onceLinked=()=>{e().then(n),this.onceLinked=void 0}})}async handleIncomingEvent(e){var n,a;if(!(e.type!=="Event"||e.event!=="Web3Response"))try{let r=await this.cipher.decrypt(e.data),f=JSON.parse(r);if(f.type!=="WEB3_RESPONSE")return;(n=this.listener)===null||n===void 0||n.handleWeb3ResponseMessage(f)}catch{(a=this.diagnostic)===null||a===void 0||a.log(sp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"incomingEvent"})}}async checkUnseenEvents(){if(!this.connected){this.shouldFetchUnseenEventsOnConnect=!0;return}await new Promise(e=>setTimeout(e,250));try{await this.fetchUnseenEventsAPI()}catch(e){console.error("Unable to check for unseen events",e)}}async fetchUnseenEventsAPI(){this.shouldFetchUnseenEventsOnConnect=!1,(await this.http.fetchUnseenEvents()).forEach(n=>this.handleIncomingEvent(n))}async setSessionMetadata(e,n){let a={type:"SetSessionConfig",id:(0,j_.IntNumber)(this.nextReqId++),sessionId:this.session.id,metadata:{[e]:n}};return this.setOnceConnected(async()=>{let r=await this.makeRequest(a);if(r.type==="Fail")throw new Error(r.error||"failed to set session metadata")})}async publishEvent(e,n,a=!1){let r=await this.cipher.encrypt(JSON.stringify(Object.assign(Object.assign({},n),{origin:location.origin,relaySource:window.coinbaseWalletExtension?"injected_sdk":"sdk"}))),f={type:"PublishEvent",id:(0,j_.IntNumber)(this.nextReqId++),sessionId:this.session.id,event:e,data:r,callWebhook:a};return this.setOnceLinked(async()=>{let i=await this.makeRequest(f);if(i.type==="Fail")throw new Error(i.error||"failed to publish event");return i.eventId})}sendData(e){this.ws.sendData(JSON.stringify(e))}updateLastHeartbeat(){this.lastHeartbeatResponse=Date.now()}heartbeat(){if(Date.now()-this.lastHeartbeatResponse>yp0*2){this.ws.disconnect();return}try{this.ws.sendData("h")}catch{}}async makeRequest(e,n=E8n){let a=e.id;this.sendData(e);let r;return Promise.race([new Promise((f,i)=>{r=window.setTimeout(()=>{i(new Error(`request ${a} timed out`))},n)}),new Promise(f=>{this.requestResolutions.set(a,i=>{clearTimeout(r),f(i),this.requestResolutions.delete(a)})})])}async authenticate(){let e={type:"HostSession",id:(0,j_.IntNumber)(this.nextReqId++),sessionId:this.session.id,sessionKey:this.session.key},n=await this.makeRequest(e);if(n.type==="Fail")throw new Error(n.error||"failed to authentcate")}sendIsLinked(){let e={type:"IsLinked",id:(0,j_.IntNumber)(this.nextReqId++),sessionId:this.session.id};this.sendData(e)}sendGetSessionConfig(){let e={type:"GetSessionConfig",id:(0,j_.IntNumber)(this.nextReqId++),sessionId:this.session.id};this.sendData(e)}};CY.WalletLinkConnection=nhe});var vp0=D(ahe=>{"use strict";u();p();Object.defineProperty(ahe,"__esModule",{value:!0});ahe.default='@namespace svg "http://www.w3.org/2000/svg";.-cbwsdk-css-reset,.-cbwsdk-css-reset *{animation:none;animation-delay:0;animation-direction:normal;animation-duration:0;animation-fill-mode:none;animation-iteration-count:1;animation-name:none;animation-play-state:running;animation-timing-function:ease;backface-visibility:visible;background:0;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position:0 0;background-position-x:0;background-position-y:0;background-repeat:repeat;background-size:auto auto;border:0;border-style:none;border-width:medium;border-color:inherit;border-bottom:0;border-bottom-color:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-style:none;border-bottom-width:medium;border-collapse:separate;border-image:none;border-left:0;border-left-color:inherit;border-left-style:none;border-left-width:medium;border-radius:0;border-right:0;border-right-color:inherit;border-right-style:none;border-right-width:medium;border-spacing:0;border-top:0;border-top-color:inherit;border-top-left-radius:0;border-top-right-radius:0;border-top-style:none;border-top-width:medium;box-shadow:none;box-sizing:border-box;caption-side:top;clear:none;clip:auto;color:inherit;columns:auto;column-count:auto;column-fill:balance;column-gap:normal;column-rule:medium none currentColor;column-rule-color:currentColor;column-rule-style:none;column-rule-width:none;column-span:1;column-width:auto;counter-increment:none;counter-reset:none;direction:ltr;empty-cells:show;float:none;font:normal;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;height:auto;hyphens:none;letter-spacing:normal;line-height:normal;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;margin:0;margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;opacity:1;orphans:0;outline:0;outline-color:invert;outline-style:none;outline-width:medium;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50% 50%;pointer-events:auto;position:static;quotes:"\\201C" "\\201D" "\\2018" "\\2019";tab-size:8;table-layout:auto;text-align:inherit;text-align-last:auto;text-decoration:none;text-decoration-color:inherit;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-shadow:none;text-transform:none;transform:none;transform-style:flat;transition:none;transition-delay:0s;transition-duration:0s;transition-property:none;transition-timing-function:ease;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;widows:0;word-spacing:normal;z-index:auto}.-cbwsdk-css-reset strong{font-weight:bold}.-cbwsdk-css-reset *{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;line-height:1}.-cbwsdk-css-reset [class*=container]{margin:0;padding:0}.-cbwsdk-css-reset style{display:none}'});var rhe=D(K_=>{"use strict";u();p();var _8n=K_&&K_.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(K_,"__esModule",{value:!0});K_.injectCssReset=void 0;var A8n=_8n(vp0());function C8n(){let t=document.createElement("style");t.type="text/css",t.appendChild(document.createTextNode(A8n.default)),document.documentElement.appendChild(t)}K_.injectCssReset=C8n});var uc={};V0(uc,{Component:()=>yD,Fragment:()=>wD,cloneElement:()=>D8n,createContext:()=>P8n,createElement:()=>Sp0,createRef:()=>k8n,h:()=>Sp0,hydrate:()=>Fp0,isValidElement:()=>_p0,options:()=>sf,render:()=>Lp0,toChildArray:()=>Dp0});function Ph(t,e){for(var n in e)t[n]=e[n];return t}function kp0(t){var e=t.parentNode;e&&e.removeChild(t)}function Sp0(t,e,n){var a,r,f,i={};for(f in e)f=="key"?a=e[f]:f=="ref"?r=e[f]:i[f]=e[f];if(arguments.length>2&&(i.children=arguments.length>3?vD.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(f in t.defaultProps)i[f]===void 0&&(i[f]=t.defaultProps[f]);return mD(t,i,a,r,null)}function mD(t,e,n,a,r){var f={type:t,props:e,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:r??++Ep0,__i:-1,__u:0};return r==null&&sf.vnode!=null&&sf.vnode(f),f}function k8n(){return{current:null}}function wD(t){return t.children}function yD(t,e){this.props=t,this.context=e}function yg(t,e){if(e==null)return t.__?yg(t.__,t.__i+1):null;for(var n;ee&&mg.sort(fhe));kY.__r=0}function Mp0(t,e,n,a,r,f,i,s,o,c,d){var l,h,y,v,k,O=a&&a.__k||Ip0,F=e.length;for(n.__d=o,S8n(n,e,O),o=n.__d,l=0;l0?mD(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)!=null?(r.__=t,r.__b=t.__b+1,s=R8n(r,n,i,d),r.__i=s,f=null,s!==-1&&(d--,(f=n[s])&&(f.__u|=131072)),f==null||f.__v===null?(s==-1&&l--,typeof r.type!="function"&&(r.__u|=65536)):s!==i&&(s===i+1?l++:s>i?d>o-i?l+=s-i:l--:s(o!=null&&!(131072&o.__u)?1:0))for(;i>=0||s=0){if((o=e[i])&&!(131072&o.__u)&&r==o.key&&f===o.type)return i;i--}if(s2&&(s.children=arguments.length>3?vD.call(arguments,2):n),mD(t.type,s,a||t.key,r||t.ref,null)}function P8n(t,e){var n={__c:e="__cC"+Cp0++,__:t,Consumer:function(a,r){return a.children(r)},Provider:function(a){var r,f;return this.getChildContext||(r=[],(f={})[e]=this,this.getChildContext=function(){return f},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&r.some(function(s){s.__e=!0,ohe(s)})},this.sub=function(i){r.push(i);var s=i.componentWillUnmount;i.componentWillUnmount=function(){r.splice(r.indexOf(i),1),s&&s.call(i)}}),a.children}};return n.Provider.__=n.Consumer.contextType=n}var vD,sf,Ep0,_p0,mg,wp0,Ap0,fhe,dhe,ihe,she,Cp0,gD,Ip0,I8n,SY,w1=ce(()=>{u();p();gD={},Ip0=[],I8n=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,SY=Array.isArray;vD=Ip0.slice,sf={__e:function(t,e,n,a){for(var r,f,i;e=e.__;)if((r=e.__c)&&!r.__)try{if((f=r.constructor)&&f.getDerivedStateFromError!=null&&(r.setState(f.getDerivedStateFromError(t)),i=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(t,a||{}),i=r.__d),i)return r.__E=r}catch(s){t=s}throw t}},Ep0=0,_p0=function(t){return t!=null&&t.constructor==null},yD.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ph({},this.state),typeof t=="function"&&(t=t(Ph({},n),this.props)),t&&Ph(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),ohe(this))},yD.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),ohe(this))},yD.prototype.render=wD,mg=[],Ap0=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,fhe=function(t,e){return t.__v.__b-e.__v.__b},kY.__r=0,dhe=0,ihe=xp0(!1),she=xp0(!0),Cp0=0});var Q_=D((EQa,phe)=>{u();p();function Op0(t){var e,n,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;eO8n,useContext:()=>U8n,useDebugValue:()=>H8n,useEffect:()=>L8n,useErrorBoundary:()=>z8n,useId:()=>W8n,useImperativeHandle:()=>N8n,useLayoutEffect:()=>$p0,useMemo:()=>mhe,useReducer:()=>Yp0,useRef:()=>F8n,useState:()=>Vp0});function gg(t,e){Pf.__h&&Pf.__h(Mr,t,V_||e),V_=0;var n=Mr.__H||(Mr.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:RY}),n.__[t]}function Vp0(t){return V_=1,Yp0(Jp0,t)}function Yp0(t,e,n){var a=gg(Lh++,2);if(a.t=t,!a.__c&&(a.__=[n?n(e):Jp0(void 0,e),function(s){var o=a.__N?a.__N[0]:a.__[0],c=a.t(o,s);o!==c&&(a.__N=[c,a.__[1]],a.__c.setState({}))}],a.__c=Mr,!Mr.u)){var r=function(s,o,c){if(!a.__c.__H)return!0;var d=a.__c.__H.__.filter(function(h){return!!h.__c});if(d.every(function(h){return!h.__N}))return!f||f.call(this,s,o,c);var l=!1;return d.forEach(function(h){if(h.__N){var y=h.__[0];h.__=h.__N,h.__N=void 0,y!==h.__[0]&&(l=!0)}}),!(!l&&a.__c.props===s)&&(!f||f.call(this,s,o,c))};Mr.u=!0;var f=Mr.shouldComponentUpdate,i=Mr.componentWillUpdate;Mr.componentWillUpdate=function(s,o,c){if(this.__e){var d=f;f=void 0,r(s,o,c),f=d}i&&i.call(this,s,o,c)},Mr.shouldComponentUpdate=r}return a.__N||a.__}function L8n(t,e){var n=gg(Lh++,3);!Pf.__s&&yhe(n.__H,e)&&(n.__=t,n.i=e,Mr.__H.__h.push(n))}function $p0(t,e){var n=gg(Lh++,4);!Pf.__s&&yhe(n.__H,e)&&(n.__=t,n.i=e,Mr.__h.push(n))}function F8n(t){return V_=5,mhe(function(){return{current:t}},[])}function N8n(t,e,n){V_=6,$p0(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function mhe(t,e){var n=gg(Lh++,7);return yhe(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function O8n(t,e){return V_=8,mhe(function(){return t},e)}function U8n(t){var e=Mr.context[t.__c],n=gg(Lh++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(Mr)),e.props.value):t.__}function H8n(t,e){Pf.useDebugValue&&Pf.useDebugValue(e?e(t):t)}function z8n(t){var e=gg(Lh++,10),n=Vp0();return e.__=t,Mr.componentDidCatch||(Mr.componentDidCatch=function(a,r){e.__&&e.__(a,r),n[1](a)}),[n[0],function(){n[1](void 0)}]}function W8n(){var t=gg(Lh++,11);if(!t.__){for(var e=Mr.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function q8n(){for(var t;t=Qp0.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(MY),t.__H.__h.forEach(bhe),t.__H.__h=[]}catch(e){t.__H.__h=[],Pf.__e(e,t.__v)}}function j8n(t){var e,n=function(){clearTimeout(a),Kp0&&cancelAnimationFrame(e),setTimeout(t)},a=setTimeout(n,100);Kp0&&(e=requestAnimationFrame(n))}function MY(t){var e=Mr,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),Mr=e}function bhe(t){var e=Mr;t.__c=t.__(),Mr=e}function yhe(t,e){return!t||t.length!==e.length||e.some(function(n,a){return n!==t[a]})}function Jp0(t,e){return typeof e=="function"?e(t):e}var Lh,Mr,hhe,Up0,V_,Qp0,RY,Pf,Hp0,zp0,Wp0,qp0,jp0,Gp0,Kp0,xD=ce(()=>{u();p();w1();V_=0,Qp0=[],RY=[],Pf=sf,Hp0=Pf.__b,zp0=Pf.__r,Wp0=Pf.diffed,qp0=Pf.__c,jp0=Pf.unmount,Gp0=Pf.__;Pf.__b=function(t){Mr=null,Hp0&&Hp0(t)},Pf.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Gp0&&Gp0(t,e)},Pf.__r=function(t){zp0&&zp0(t),Lh=0;var e=(Mr=t.__c).__H;e&&(hhe===Mr?(e.__h=[],Mr.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=RY,n.__N=n.i=void 0})):(e.__h.forEach(MY),e.__h.forEach(bhe),e.__h=[],Lh=0)),hhe=Mr},Pf.diffed=function(t){Wp0&&Wp0(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Qp0.push(e)!==1&&Up0===Pf.requestAnimationFrame||((Up0=Pf.requestAnimationFrame)||j8n)(q8n)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==RY&&(n.__=n.__V),n.i=void 0,n.__V=RY})),hhe=Mr=null},Pf.__c=function(t,e){e.some(function(n){try{n.__h.forEach(MY),n.__h=n.__h.filter(function(a){return!a.__||bhe(a)})}catch(a){e.some(function(r){r.__h&&(r.__h=[])}),e=[],Pf.__e(a,n.__v)}}),qp0&&qp0(t,e)},Pf.unmount=function(t){jp0&&jp0(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(a){try{MY(a)}catch(r){e=r}}),n.__H=void 0,e&&Pf.__e(e,n.__v))};Kp0=typeof requestAnimationFrame=="function"});var Zp0=D(BY=>{"use strict";u();p();Object.defineProperty(BY,"__esModule",{value:!0});BY.CloseIcon=void 0;var Xp0=(w1(),vn(uc));function G8n(t){return(0,Xp0.h)("svg",Object.assign({width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),(0,Xp0.h)("path",{d:"M13.7677 13L12.3535 14.4142L18.3535 20.4142L12.3535 26.4142L13.7677 27.8284L19.7677 21.8284L25.7677 27.8284L27.1819 26.4142L21.1819 20.4142L27.1819 14.4142L25.7677 13L19.7677 19L13.7677 13Z"}))}BY.CloseIcon=G8n});var e80=D(PY=>{"use strict";u();p();Object.defineProperty(PY,"__esModule",{value:!0});PY.CoinbaseWalletRound=void 0;var DY=(w1(),vn(uc));function K8n(t){return(0,DY.h)("svg",Object.assign({width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),(0,DY.h)("circle",{cx:"14",cy:"14",r:"14",fill:"#0052FF"}),(0,DY.h)("path",{d:"M23.8521 14.0003C23.8521 19.455 19.455 23.8521 14.0003 23.8521C8.54559 23.8521 4.14844 19.455 4.14844 14.0003C4.14844 8.54559 8.54559 4.14844 14.0003 4.14844C19.455 4.14844 23.8521 8.54559 23.8521 14.0003Z",fill:"white"}),(0,DY.h)("path",{d:"M11.1855 12.5042C11.1855 12.0477 11.1855 11.7942 11.2835 11.642C11.3814 11.4899 11.4793 11.3377 11.6261 11.287C11.8219 11.1855 12.0178 11.1855 12.5073 11.1855H15.4934C15.983 11.1855 16.1788 11.1855 16.3746 11.287C16.5215 11.3884 16.6683 11.4899 16.7173 11.642C16.8152 11.8449 16.8152 12.0477 16.8152 12.5042V15.4965C16.8152 15.953 16.8152 16.2066 16.7173 16.3587C16.6194 16.5109 16.5215 16.663 16.3746 16.7137C16.1788 16.8152 15.983 16.8152 15.4934 16.8152H12.5073C12.0178 16.8152 11.8219 16.8152 11.6261 16.7137C11.4793 16.6123 11.3324 16.5109 11.2835 16.3587C11.1855 16.1558 11.1855 15.953 11.1855 15.4965V12.5042Z",fill:"#0052FF"}))}PY.CoinbaseWalletRound=K8n});var t80=D(LY=>{"use strict";u();p();Object.defineProperty(LY,"__esModule",{value:!0});LY.QRCodeIcon=void 0;var ED=(w1(),vn(uc));function Q8n(t){return(0,ED.h)("svg",Object.assign({width:"18",height:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),(0,ED.h)("path",{d:"M3 3V8.99939L5 8.99996V5H9V3H3Z"}),(0,ED.h)("path",{d:"M15 21L21 21V15.0006L19 15V19L15 19V21Z"}),(0,ED.h)("path",{d:"M21 9H19V5H15.0006L15 3H21V9Z"}),(0,ED.h)("path",{d:"M3 15V21H8.99939L8.99996 19H5L5 15H3Z"}))}LY.QRCodeIcon=Q8n});var i80=D((OQa,f80)=>{u();p();function n80(t){this.mode=G6.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,n=this.data.length;e65536?(a[0]=240|(r&1835008)>>>18,a[1]=128|(r&258048)>>>12,a[2]=128|(r&4032)>>>6,a[3]=128|r&63):r>2048?(a[0]=224|(r&61440)>>>12,a[1]=128|(r&4032)>>>6,a[2]=128|r&63):r>128?(a[0]=192|(r&1984)>>>6,a[1]=128|r&63):a[0]=r,this.parsedData.push(a)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}n80.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,n=this.parsedData.length;e=7&&this.setupTypeNumber(t),this.dataCache==null&&(this.dataCache=cp.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var a=-1;a<=7;a++)e+a<=-1||this.moduleCount<=e+a||(0<=n&&n<=6&&(a==0||a==6)||0<=a&&a<=6&&(n==0||n==6)||2<=n&&n<=4&&2<=a&&a<=4?this.modules[t+n][e+a]=!0:this.modules[t+n][e+a]=!1)},getBestMaskPattern:function(){for(var t=0,e=0,n=0;n<8;n++){this.makeImpl(!0,n);var a=Lf.getLostPoint(this);(n==0||t>a)&&(t=a,e=n)}return e},createMovieClip:function(t,e,n){var a=t.createEmptyMovieClip(e,n),r=1;this.make();for(var f=0;f>n&1)==1;this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=a}for(var n=0;n<18;n++){var a=!t&&(e>>n&1)==1;this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=a}},setupTypeInfo:function(t,e){for(var n=this.errorCorrectLevel<<3|e,a=Lf.getBCHTypeInfo(n),r=0;r<15;r++){var f=!t&&(a>>r&1)==1;r<6?this.modules[r][8]=f:r<8?this.modules[r+1][8]=f:this.modules[this.moduleCount-15+r][8]=f}for(var r=0;r<15;r++){var f=!t&&(a>>r&1)==1;r<8?this.modules[8][this.moduleCount-r-1]=f:r<9?this.modules[8][15-r-1+1]=f:this.modules[8][15-r-1]=f}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var n=-1,a=this.moduleCount-1,r=7,f=0,i=this.moduleCount-1;i>0;i-=2)for(i==6&&i--;;){for(var s=0;s<2;s++)if(this.modules[a][i-s]==null){var o=!1;f>>r&1)==1);var c=Lf.getMask(e,a,i-s);c&&(o=!o),this.modules[a][i-s]=o,r--,r==-1&&(f++,r=7)}if(a+=n,a<0||this.moduleCount<=a){a-=n,n=-n;break}}}};cp.PAD0=236;cp.PAD1=17;cp.createData=function(t,e,n){for(var a=op.getRSBlocks(t,e),r=new a80,f=0;fs*8)throw new Error("code length overflow. ("+r.getLengthInBits()+">"+s*8+")");for(r.getLengthInBits()+4<=s*8&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(!1);for(;!(r.getLengthInBits()>=s*8||(r.put(cp.PAD0,8),r.getLengthInBits()>=s*8));)r.put(cp.PAD1,8);return cp.createBytes(r,a)};cp.createBytes=function(t,e){for(var n=0,a=0,r=0,f=new Array(e.length),i=new Array(e.length),s=0;s=0?y.get(v):0}}for(var k=0,d=0;d=0;)e^=Lf.G15<=0;)e^=Lf.G18<>>=1;return e},getPatternPosition:function(t){return Lf.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case a4.PATTERN000:return(e+n)%2==0;case a4.PATTERN001:return e%2==0;case a4.PATTERN010:return n%3==0;case a4.PATTERN011:return(e+n)%3==0;case a4.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case a4.PATTERN101:return e*n%2+e*n%3==0;case a4.PATTERN110:return(e*n%2+e*n%3)%2==0;case a4.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new Y_([1],0),n=0;n5&&(n+=3+f-5)}for(var a=0;a=256;)t-=255;return Us.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(Oi=0;Oi<8;Oi++)Us.EXP_TABLE[Oi]=1<>>7-t%8&1)==1},put:function(t,e){for(var n=0;n>>e-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var ghe=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function r80(t){var e=this;if(this.options={padding:4,width:256,height:256,typeNumber:4,color:"#000000",background:"#ffffff",ecl:"M",image:{svg:"",width:0,height:0}},typeof t=="string"&&(t={content:t}),t)for(var n in t)this.options[n]=t[n];if(typeof this.options.content!="string")throw new Error("Expected 'content' as string!");if(this.options.content.length===0)throw new Error("Expected 'content' to be non-empty!");if(!(this.options.padding>=0))throw new Error("Expected 'padding' value to be non-negative!");if(!(this.options.width>0)||!(this.options.height>0))throw new Error("Expected 'width' or 'height' value to be higher than zero!");function a(c){switch(c){case"L":return r4.L;case"M":return r4.M;case"Q":return r4.Q;case"H":return r4.H;default:throw new Error("Unknwon error correction level: "+c)}}function r(c,d){for(var l=f(c),h=1,y=0,v=0,k=ghe.length;v<=k;v++){var O=ghe[v];if(!O)throw new Error("Content too long: expected "+y+" but got "+l);switch(d){case"L":y=O[0];break;case"M":y=O[1];break;case"Q":y=O[2];break;case"H":y=O[3];break;default:throw new Error("Unknwon error correction level: "+d)}if(l<=y)break;h++}if(h>ghe.length)throw new Error("Content too long");return h}function f(c){var d=encodeURI(c).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return d.length+(d.length!=c?3:0)}var i=this.options.content,s=r(i,this.options.ecl),o=a(this.options.ecl);this.qrcode=new cp(s,o),this.qrcode.addData(i),this.qrcode.make()}r80.prototype.svg=function(t){var e=this.options||{},n=this.qrcode.modules;typeof t>"u"&&(t={container:e.container||"svg"});for(var a=typeof e.pretty<"u"?!!e.pretty:!0,r=a?" ":"",f=a?`\r +`:"",i=e.width,s=e.height,o=n.length,c=i/(o+2*e.padding),d=s/(o+2*e.padding),l=typeof e.join<"u"?!!e.join:!1,h=typeof e.swap<"u"?!!e.swap:!1,y=typeof e.xmlDeclaration<"u"?!!e.xmlDeclaration:!0,v=typeof e.predefined<"u"?!!e.predefined:!1,k=v?r+''+f:"",O=r+''+f,F="",z="",W=0;W'+f:F+=r+''+f}}l&&(F=r+'');let T="";if(this.options.image!==void 0&&this.options.image.svg){let w=i*this.options.image.width/100,m=s*this.options.image.height/100,A=i/2-w/2,P=s/2-m/2;T+=``,T+=this.options.image.svg+f,T+=""}var N="";switch(t.container){case"svg":y&&(N+=''+f),N+=''+f,N+=k+O+F,N+=T,N+="";break;case"svg-viewbox":y&&(N+=''+f),N+=''+f,N+=k+O+F,N+=T,N+="";break;case"g":N+=''+f,N+=k+O+F,N+=T,N+="";break;default:N+=(k+O+F+T).replace(/^\s+/,"");break}return N};f80.exports=r80});var o80=D($_=>{"use strict";u();p();var V8n=$_&&$_.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty($_,"__esModule",{value:!0});$_.QRCode=void 0;var Y8n=(w1(),vn(uc)),s80=(xD(),vn(TD)),$8n=V8n(i80()),J8n=t=>{let[e,n]=(0,s80.useState)("");return(0,s80.useEffect)(()=>{var a,r;let f=new $8n.default({content:t.content,background:t.bgColor||"#ffffff",color:t.fgColor||"#000000",container:"svg",ecl:"M",width:(a=t.width)!==null&&a!==void 0?a:256,height:(r=t.height)!==null&&r!==void 0?r:256,padding:0,image:t.image}),i=_.Buffer.from(f.svg(),"utf8").toString("base64");n(`data:image/svg+xml;base64,${i}`)},[t.bgColor,t.content,t.fgColor,t.height,t.image,t.width]),e?(0,Y8n.h)("img",{src:e,alt:"QR Code"}):null};$_.QRCode=J8n});var c80=D(vhe=>{"use strict";u();p();Object.defineProperty(vhe,"__esModule",{value:!0});vhe.default=".-cbwsdk-css-reset .-cbwsdk-spinner{display:inline-block}.-cbwsdk-css-reset .-cbwsdk-spinner svg{display:inline-block;animation:2s linear infinite -cbwsdk-spinner-svg}.-cbwsdk-css-reset .-cbwsdk-spinner svg circle{animation:1.9s ease-in-out infinite both -cbwsdk-spinner-circle;display:block;fill:rgba(0,0,0,0);stroke-dasharray:283;stroke-dashoffset:280;stroke-linecap:round;stroke-width:10px;transform-origin:50% 50%}@keyframes -cbwsdk-spinner-svg{0%{transform:rotateZ(0deg)}100%{transform:rotateZ(360deg)}}@keyframes -cbwsdk-spinner-circle{0%,25%{stroke-dashoffset:280;transform:rotate(0)}50%,75%{stroke-dashoffset:75;transform:rotate(45deg)}100%{stroke-dashoffset:280;transform:rotate(360deg)}}"});var d80=D(J_=>{"use strict";u();p();var X8n=J_&&J_.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(J_,"__esModule",{value:!0});J_.Spinner=void 0;var FY=(w1(),vn(uc)),Z8n=X8n(c80()),ehn=t=>{var e;let n=(e=t.size)!==null&&e!==void 0?e:64,a=t.color||"#000";return(0,FY.h)("div",{class:"-cbwsdk-spinner"},(0,FY.h)("style",null,Z8n.default),(0,FY.h)("svg",{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",style:{width:n,height:n}},(0,FY.h)("circle",{style:{cx:50,cy:50,r:45,stroke:a}})))};J_.Spinner=ehn});var l80=D(whe=>{"use strict";u();p();Object.defineProperty(whe,"__esModule",{value:!0});whe.default=".-cbwsdk-css-reset .-cbwsdk-connect-content{height:430px;width:700px;border-radius:12px;padding:30px}.-cbwsdk-css-reset .-cbwsdk-connect-content.light{background:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content.dark{background:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-connect-content-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 30px}.-cbwsdk-css-reset .-cbwsdk-connect-content-heading{font-style:normal;font-weight:500;font-size:28px;line-height:36px;margin:0}.-cbwsdk-css-reset .-cbwsdk-connect-content-heading.light{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-connect-content-heading.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content-layout{display:flex;flex-direction:row}.-cbwsdk-css-reset .-cbwsdk-connect-content-column-left{margin-right:30px;display:flex;flex-direction:column;justify-content:space-between}.-cbwsdk-css-reset .-cbwsdk-connect-content-column-right{flex:25%;margin-right:34px}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-wrapper{width:220px;height:220px;border-radius:12px;display:flex;justify-content:center;align-items:center;background:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.light{background-color:rgba(255,255,255,.95)}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.light>p{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.dark{background-color:rgba(10,11,13,.9)}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.dark>p{color:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting>p{font-size:12px;font-weight:bold;margin-top:16px}.-cbwsdk-css-reset .-cbwsdk-connect-content-update-app{border-radius:8px;font-size:14px;line-height:20px;padding:12px;width:339px}.-cbwsdk-css-reset .-cbwsdk-connect-content-update-app.light{background:#eef0f3;color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-connect-content-update-app.dark{background:#1e2025;color:#8a919e}.-cbwsdk-css-reset .-cbwsdk-cancel-button{-webkit-appearance:none;border:none;background:none;cursor:pointer;padding:0;margin:0}.-cbwsdk-css-reset .-cbwsdk-cancel-button-x{position:relative;display:block;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-wallet-steps{padding:0 0 0 16px;margin:0;width:100%;list-style:decimal}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item{list-style-type:decimal;display:list-item;font-style:normal;font-weight:400;font-size:16px;line-height:24px;margin-top:20px}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item.light{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item-wrapper{display:flex;align-items:center}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-pad-left{margin-left:6px}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon{display:flex;border-radius:50%;height:24px;width:24px}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon svg{margin:auto;display:block}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon.light{background:#0052ff}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon.dark{background:#588af5}.-cbwsdk-css-reset .-cbwsdk-connect-item{align-items:center;display:flex;flex-direction:row;padding:16px 24px;gap:12px;cursor:pointer;border-radius:100px;font-weight:600}.-cbwsdk-css-reset .-cbwsdk-connect-item.light{background:#f5f8ff;color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-connect-item.dark{background:#001033;color:#588af5}.-cbwsdk-css-reset .-cbwsdk-connect-item-copy-wrapper{margin:0 4px 0 8px}.-cbwsdk-css-reset .-cbwsdk-connect-item-title{margin:0 0 0;font-size:16px;line-height:24px;font-weight:500}.-cbwsdk-css-reset .-cbwsdk-connect-item-description{font-weight:400;font-size:14px;line-height:20px;margin:0}"});var h80=D(f4=>{"use strict";u();p();var u80=f4&&f4.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(f4,"__esModule",{value:!0});f4.CoinbaseWalletSteps=f4.ConnectContent=void 0;var vg=u80(Q_()),ka=(w1(),vn(uc)),thn=fp(),nhn=pY(),ahn=Zp0(),rhn=e80(),fhn=t80(),ihn=o80(),shn=d80(),ohn=u80(l80()),The={title:"Coinbase Wallet app",description:"Connect with your self-custody wallet",steps:p80},chn=t=>t==="light"?"#FFFFFF":"#0A0B0D";function dhn(t){let{theme:e}=t,n=(0,thn.createQrUrl)(t.sessionId,t.sessionSecret,t.linkAPIUrl,t.isParentConnection,t.version,t.chainId),a=The.steps;return(0,ka.h)("div",{"data-testid":"connect-content",className:(0,vg.default)("-cbwsdk-connect-content",e)},(0,ka.h)("style",null,ohn.default),(0,ka.h)("div",{className:"-cbwsdk-connect-content-header"},(0,ka.h)("h2",{className:(0,vg.default)("-cbwsdk-connect-content-heading",e)},"Scan to connect with our mobile app"),t.onCancel&&(0,ka.h)("button",{type:"button",className:"-cbwsdk-cancel-button",onClick:t.onCancel},(0,ka.h)(ahn.CloseIcon,{fill:e==="light"?"#0A0B0D":"#FFFFFF"}))),(0,ka.h)("div",{className:"-cbwsdk-connect-content-layout"},(0,ka.h)("div",{className:"-cbwsdk-connect-content-column-left"},(0,ka.h)(lhn,{title:The.title,description:The.description,theme:e})),(0,ka.h)("div",{className:"-cbwsdk-connect-content-column-right"},(0,ka.h)("div",{className:"-cbwsdk-connect-content-qr-wrapper"},(0,ka.h)(ihn.QRCode,{content:n,width:200,height:200,fgColor:"#000",bgColor:"transparent"}),(0,ka.h)("input",{type:"hidden",name:"cbw-cbwsdk-version",value:nhn.LIB_VERSION}),(0,ka.h)("input",{type:"hidden",value:n})),(0,ka.h)(a,{theme:e}),!t.isConnected&&(0,ka.h)("div",{"data-testid":"connecting-spinner",className:(0,vg.default)("-cbwsdk-connect-content-qr-connecting",e)},(0,ka.h)(shn.Spinner,{size:36,color:e==="dark"?"#FFF":"#000"}),(0,ka.h)("p",null,"Connecting...")))))}f4.ConnectContent=dhn;function lhn({title:t,description:e,theme:n}){return(0,ka.h)("div",{className:(0,vg.default)("-cbwsdk-connect-item",n)},(0,ka.h)("div",null,(0,ka.h)(rhn.CoinbaseWalletRound,null)),(0,ka.h)("div",{className:"-cbwsdk-connect-item-copy-wrapper"},(0,ka.h)("h3",{className:"-cbwsdk-connect-item-title"},t),(0,ka.h)("p",{className:"-cbwsdk-connect-item-description"},e)))}function p80({theme:t}){return(0,ka.h)("ol",{className:"-cbwsdk-wallet-steps"},(0,ka.h)("li",{className:(0,vg.default)("-cbwsdk-wallet-steps-item",t)},(0,ka.h)("div",{className:"-cbwsdk-wallet-steps-item-wrapper"},"Open Coinbase Wallet app")),(0,ka.h)("li",{className:(0,vg.default)("-cbwsdk-wallet-steps-item",t)},(0,ka.h)("div",{className:"-cbwsdk-wallet-steps-item-wrapper"},(0,ka.h)("span",null,"Tap ",(0,ka.h)("strong",null,"Scan")," "),(0,ka.h)("span",{className:(0,vg.default)("-cbwsdk-wallet-steps-pad-left","-cbwsdk-wallet-steps-icon",t)},(0,ka.h)(fhn.QRCodeIcon,{fill:chn(t)})))))}f4.CoinbaseWalletSteps=p80});var m80=D(NY=>{"use strict";u();p();Object.defineProperty(NY,"__esModule",{value:!0});NY.ArrowLeftIcon=void 0;var b80=(w1(),vn(uc));function uhn(t){return(0,b80.h)("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},t),(0,b80.h)("path",{d:"M8.60675 0.155884L7.37816 1.28209L12.7723 7.16662H0V8.83328H12.6548L6.82149 14.6666L8 15.8451L15.8201 8.02501L8.60675 0.155884Z"}))}NY.ArrowLeftIcon=uhn});var y80=D(OY=>{"use strict";u();p();Object.defineProperty(OY,"__esModule",{value:!0});OY.LaptopIcon=void 0;var xhe=(w1(),vn(uc));function phn(t){return(0,xhe.h)("svg",Object.assign({width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},t),(0,xhe.h)("path",{d:"M1.8001 2.2002H12.2001V9.40019H1.8001V2.2002ZM3.4001 3.8002V7.80019H10.6001V3.8002H3.4001Z"}),(0,xhe.h)("path",{d:"M13.4001 10.2002H0.600098C0.600098 11.0838 1.31644 11.8002 2.2001 11.8002H11.8001C12.6838 11.8002 13.4001 11.0838 13.4001 10.2002Z"}))}OY.LaptopIcon=phn});var v80=D(UY=>{"use strict";u();p();Object.defineProperty(UY,"__esModule",{value:!0});UY.SafeIcon=void 0;var g80=(w1(),vn(uc));function hhn(t){return(0,g80.h)("svg",Object.assign({width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},t),(0,g80.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.600098 0.600098V11.8001H13.4001V0.600098H0.600098ZM7.0001 9.2001C5.3441 9.2001 4.0001 7.8561 4.0001 6.2001C4.0001 4.5441 5.3441 3.2001 7.0001 3.2001C8.6561 3.2001 10.0001 4.5441 10.0001 6.2001C10.0001 7.8561 8.6561 9.2001 7.0001 9.2001ZM0.600098 12.6001H3.8001V13.4001H0.600098V12.6001ZM10.2001 12.6001H13.4001V13.4001H10.2001V12.6001ZM8.8001 6.2001C8.8001 7.19421 7.99421 8.0001 7.0001 8.0001C6.00598 8.0001 5.2001 7.19421 5.2001 6.2001C5.2001 5.20598 6.00598 4.4001 7.0001 4.4001C7.99421 4.4001 8.8001 5.20598 8.8001 6.2001Z"}))}UY.SafeIcon=hhn});var w80=D(Ehe=>{"use strict";u();p();Object.defineProperty(Ehe,"__esModule",{value:!0});Ehe.default=".-cbwsdk-css-reset .-cbwsdk-try-extension{display:flex;margin-top:12px;height:202px;width:700px;border-radius:12px;padding:30px}.-cbwsdk-css-reset .-cbwsdk-try-extension.light{background:#fff}.-cbwsdk-css-reset .-cbwsdk-try-extension.dark{background:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-try-extension-column-half{flex:50%}.-cbwsdk-css-reset .-cbwsdk-try-extension-heading{font-style:normal;font-weight:500;font-size:25px;line-height:32px;margin:0;max-width:204px}.-cbwsdk-css-reset .-cbwsdk-try-extension-heading.light{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-try-extension-heading.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta{appearance:none;border:none;background:none;color:#0052ff;cursor:pointer;padding:0;text-decoration:none;display:block;font-weight:600;font-size:16px;line-height:24px}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta.light{color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta.dark{color:#588af5}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta-wrapper{display:flex;align-items:center;margin-top:12px}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta-icon{display:block;margin-left:4px;height:14px}.-cbwsdk-css-reset .-cbwsdk-try-extension-list{display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0;padding:0;list-style:none;height:100%}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item{display:flex;align-items:center;flex-flow:nowrap;margin-top:24px}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item:first-of-type{margin-top:0}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon-wrapper{display:block}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon{display:flex;height:32px;width:32px;border-radius:50%}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon svg{margin:auto;display:block}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon.light{background:#eef0f3}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon.dark{background:#1e2025}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-copy{display:block;font-weight:400;font-size:14px;line-height:20px;padding-left:12px}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-copy.light{color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-copy.dark{color:#8a919e}"});var x80=D(X_=>{"use strict";u();p();var T80=X_&&X_.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(X_,"__esModule",{value:!0});X_.TryExtensionContent=void 0;var wg=T80(Q_()),Ui=(w1(),vn(uc)),_he=(xD(),vn(TD)),bhn=m80(),mhn=y80(),yhn=v80(),ghn=T80(w80());function vhn({theme:t}){let[e,n]=(0,_he.useState)(!1),a=(0,_he.useCallback)(()=>{window.open("https://api.wallet.coinbase.com/rpc/v2/desktop/chrome","_blank")},[]),r=(0,_he.useCallback)(()=>{e?window.location.reload():(a(),n(!0))},[a,e]);return(0,Ui.h)("div",{class:(0,wg.default)("-cbwsdk-try-extension",t)},(0,Ui.h)("style",null,ghn.default),(0,Ui.h)("div",{class:"-cbwsdk-try-extension-column-half"},(0,Ui.h)("h3",{class:(0,wg.default)("-cbwsdk-try-extension-heading",t)},"Or try the Coinbase Wallet browser extension"),(0,Ui.h)("div",{class:"-cbwsdk-try-extension-cta-wrapper"},(0,Ui.h)("button",{class:(0,wg.default)("-cbwsdk-try-extension-cta",t),onClick:r},e?"Refresh":"Install"),(0,Ui.h)("div",null,!e&&(0,Ui.h)(bhn.ArrowLeftIcon,{class:"-cbwsdk-try-extension-cta-icon",fill:t==="light"?"#0052FF":"#588AF5"})))),(0,Ui.h)("div",{class:"-cbwsdk-try-extension-column-half"},(0,Ui.h)("ul",{class:"-cbwsdk-try-extension-list"},(0,Ui.h)("li",{class:"-cbwsdk-try-extension-list-item"},(0,Ui.h)("div",{class:"-cbwsdk-try-extension-list-item-icon-wrapper"},(0,Ui.h)("span",{class:(0,wg.default)("-cbwsdk-try-extension-list-item-icon",t)},(0,Ui.h)(mhn.LaptopIcon,{fill:t==="light"?"#0A0B0D":"#FFFFFF"}))),(0,Ui.h)("div",{class:(0,wg.default)("-cbwsdk-try-extension-list-item-copy",t)},"Connect with dapps with just one click on your desktop browser")),(0,Ui.h)("li",{class:"-cbwsdk-try-extension-list-item"},(0,Ui.h)("div",{class:"-cbwsdk-try-extension-list-item-icon-wrapper"},(0,Ui.h)("span",{class:(0,wg.default)("-cbwsdk-try-extension-list-item-icon",t)},(0,Ui.h)(yhn.SafeIcon,{fill:t==="light"?"#0A0B0D":"#FFFFFF"}))),(0,Ui.h)("div",{class:(0,wg.default)("-cbwsdk-try-extension-list-item-copy",t)},"Add an additional layer of security by using a supported Ledger hardware wallet")))))}X_.TryExtensionContent=vhn});var E80=D(Ahe=>{"use strict";u();p();Object.defineProperty(Ahe,"__esModule",{value:!0});Ahe.default=".-cbwsdk-css-reset .-cbwsdk-connect-dialog{z-index:2147483647;position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop{z-index:2147483647;position:fixed;top:0;left:0;right:0;bottom:0;transition:opacity .25s}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop.light{background-color:rgba(0,0,0,.5)}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop.dark{background-color:rgba(50,53,61,.4)}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop-hidden{opacity:0}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-box{display:flex;position:relative;flex-direction:column;transform:scale(1);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-box-hidden{opacity:0;transform:scale(0.85)}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-container{display:block}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-container-hidden{display:none}"});var A80=D(Z_=>{"use strict";u();p();var _80=Z_&&Z_.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Z_,"__esModule",{value:!0});Z_.ConnectDialog=void 0;var Che=_80(Q_()),Tg=(w1(),vn(uc)),Ihe=(xD(),vn(TD)),whn=h80(),Thn=x80(),xhn=_80(E80()),Ehn=t=>{let{isOpen:e,darkMode:n}=t,[a,r]=(0,Ihe.useState)(!e),[f,i]=(0,Ihe.useState)(!e);(0,Ihe.useEffect)(()=>{let o=[window.setTimeout(()=>{i(!e)},10)];return e?r(!1):o.push(window.setTimeout(()=>{r(!0)},360)),()=>{o.forEach(window.clearTimeout)}},[e]);let s=n?"dark":"light";return(0,Tg.h)("div",{class:(0,Che.default)("-cbwsdk-connect-dialog-container",a&&"-cbwsdk-connect-dialog-container-hidden")},(0,Tg.h)("style",null,xhn.default),(0,Tg.h)("div",{class:(0,Che.default)("-cbwsdk-connect-dialog-backdrop",s,f&&"-cbwsdk-connect-dialog-backdrop-hidden")}),(0,Tg.h)("div",{class:"-cbwsdk-connect-dialog"},(0,Tg.h)("div",{class:(0,Che.default)("-cbwsdk-connect-dialog-box",f&&"-cbwsdk-connect-dialog-box-hidden")},t.connectDisabled?null:(0,Tg.h)(whn.ConnectContent,{theme:s,version:t.version,sessionId:t.sessionId,sessionSecret:t.sessionSecret,linkAPIUrl:t.linkAPIUrl,isConnected:t.isConnected,isParentConnection:t.isParentConnection,chainId:t.chainId,onCancel:t.onCancel}),(0,Tg.h)(Thn.TryExtensionContent,{theme:s}))))};Z_.ConnectDialog=Ehn});var C80=D(HY=>{"use strict";u();p();Object.defineProperty(HY,"__esModule",{value:!0});HY.LinkFlow=void 0;var khe=(w1(),vn(uc)),_hn=A80(),She=class{constructor(e){this.connected=!1,this.chainId=1,this.isOpen=!1,this.onCancel=null,this.root=null,this.connectDisabled=!1,this.darkMode=e.darkMode,this.version=e.version,this.sessionId=e.sessionId,this.sessionSecret=e.sessionSecret,this.linkAPIUrl=e.linkAPIUrl,this.isParentConnection=e.isParentConnection}attach(e){this.root=document.createElement("div"),this.root.className="-cbwsdk-link-flow-root",e.appendChild(this.root),this.render()}setConnected(e){this.connected!==e&&(this.connected=e,this.render())}setChainId(e){this.chainId!==e&&(this.chainId=e,this.render())}detach(){var e;this.root&&((0,khe.render)(null,this.root),(e=this.root.parentElement)===null||e===void 0||e.removeChild(this.root))}setConnectDisabled(e){this.connectDisabled=e}open(e){this.isOpen=!0,this.onCancel=e.onCancel,this.render()}close(){this.isOpen=!1,this.onCancel=null,this.render()}render(){this.root&&(0,khe.render)((0,khe.h)(_hn.ConnectDialog,{darkMode:this.darkMode,version:this.version,sessionId:this.sessionId,sessionSecret:this.sessionSecret,linkAPIUrl:this.linkAPIUrl,isOpen:this.isOpen,isConnected:this.connected,isParentConnection:this.isParentConnection,chainId:this.chainId,onCancel:this.onCancel,connectDisabled:this.connectDisabled}),this.root)}};HY.LinkFlow=She});var I80=D(Rhe=>{"use strict";u();p();Object.defineProperty(Rhe,"__esModule",{value:!0});Rhe.default=".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;margin-right:9px !important;display:flex;align-items:center;justify-content:center;width:24px;height:24px;transition:opacity .25s}.-cbwsdk-css-reset .-gear-container *{user-select:none}.-cbwsdk-css-reset .-gear-container svg{opacity:0;position:absolute}.-cbwsdk-css-reset .-gear-icon{height:12px;width:12px;z-index:10000}.-cbwsdk-css-reset .-cbwsdk-snackbar{align-items:flex-end;display:flex;flex-direction:column;position:fixed;right:0;top:0;z-index:2147483647}.-cbwsdk-css-reset .-cbwsdk-snackbar *{user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance{display:flex;flex-direction:column;margin:8px 16px 0 16px;overflow:visible;text-align:left;transform:translateX(0);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header:hover .-gear-container svg{opacity:1}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header{display:flex;align-items:center;background:#fff;overflow:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-cblogo{margin:8px 8px 8px 8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-message{color:#000;font-size:13px;line-height:1.5;user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu{background:#fff;transition:opacity .25s ease-in-out,transform .25s linear,visibility 0s;visibility:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;opacity:0;flex-direction:column;padding-left:8px;padding-right:8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:last-child{margin-bottom:8px !important}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover{background:#f5f7f8;border-radius:6px;transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover span{color:#050f19;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover svg path{fill:#000;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item{visibility:inherit;height:35px;margin-top:8px;margin-bottom:0;display:flex;flex-direction:row;align-items:center;padding:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item *{visibility:inherit;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover{background:rgba(223,95,103,.2);transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover svg path{fill:#df5f67;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover span{color:#df5f67;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-info{color:#aaa;font-size:13px;margin:0 8px 0 32px;position:absolute}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-hidden{opacity:0;text-align:left;transform:translateX(25%);transition:opacity .5s linear}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-expanded .-cbwsdk-snackbar-instance-menu{opacity:1;display:flex;transform:translateY(8px);visibility:visible}"});var Dhe=D(Ed=>{"use strict";u();p();var k80=Ed&&Ed.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ed,"__esModule",{value:!0});Ed.SnackbarInstance=Ed.SnackbarContainer=Ed.Snackbar=void 0;var zY=k80(Q_()),Hi=(w1(),vn(uc)),Mhe=(xD(),vn(TD)),Ahn=k80(I80()),Chn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNDkyIDEwLjQxOWE4LjkzIDguOTMgMCAwMTguOTMtOC45M2gxMS4xNjNhOC45MyA4LjkzIDAgMDE4LjkzIDguOTN2MTEuMTYzYTguOTMgOC45MyAwIDAxLTguOTMgOC45M0gxMC40MjJhOC45MyA4LjkzIDAgMDEtOC45My04LjkzVjEwLjQxOXoiIGZpbGw9IiMxNjUyRjAiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEwLjQxOSAwSDIxLjU4QzI3LjMzNSAwIDMyIDQuNjY1IDMyIDEwLjQxOVYyMS41OEMzMiAyNy4zMzUgMjcuMzM1IDMyIDIxLjU4MSAzMkgxMC40MkM0LjY2NSAzMiAwIDI3LjMzNSAwIDIxLjU4MVYxMC40MkMwIDQuNjY1IDQuNjY1IDAgMTAuNDE5IDB6bTAgMS40ODhhOC45MyA4LjkzIDAgMDAtOC45MyA4LjkzdjExLjE2M2E4LjkzIDguOTMgMCAwMDguOTMgOC45M0gyMS41OGE4LjkzIDguOTMgMCAwMDguOTMtOC45M1YxMC40MmE4LjkzIDguOTMgMCAwMC04LjkzLTguOTNIMTAuNDJ6IiBmaWxsPSIjZmZmIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS45OTggMjYuMDQ5Yy01LjU0OSAwLTEwLjA0Ny00LjQ5OC0xMC4wNDctMTAuMDQ3IDAtNS41NDggNC40OTgtMTAuMDQ2IDEwLjA0Ny0xMC4wNDYgNS41NDggMCAxMC4wNDYgNC40OTggMTAuMDQ2IDEwLjA0NiAwIDUuNTQ5LTQuNDk4IDEwLjA0Ny0xMC4wNDYgMTAuMDQ3eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMi43NjIgMTQuMjU0YzAtLjgyMi42NjctMS40ODkgMS40ODktMS40ODloMy40OTdjLjgyMiAwIDEuNDg4LjY2NiAxLjQ4OCAxLjQ4OXYzLjQ5N2MwIC44MjItLjY2NiAxLjQ4OC0xLjQ4OCAxLjQ4OGgtMy40OTdhMS40ODggMS40ODggMCAwMS0xLjQ4OS0xLjQ4OHYtMy40OTh6IiBmaWxsPSIjMTY1MkYwIi8+PC9zdmc+",Ihn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDYuNzV2LTEuNWwtMS43Mi0uNTdjLS4wOC0uMjctLjE5LS41Mi0uMzItLjc3bC44MS0xLjYyLTEuMDYtMS4wNi0xLjYyLjgxYy0uMjQtLjEzLS41LS4yNC0uNzctLjMyTDYuNzUgMGgtMS41bC0uNTcgMS43MmMtLjI3LjA4LS41My4xOS0uNzcuMzJsLTEuNjItLjgxLTEuMDYgMS4wNi44MSAxLjYyYy0uMTMuMjQtLjI0LjUtLjMyLjc3TDAgNS4yNXYxLjVsMS43Mi41N2MuMDguMjcuMTkuNTMuMzIuNzdsLS44MSAxLjYyIDEuMDYgMS4wNiAxLjYyLS44MWMuMjQuMTMuNS4yMy43Ny4zMkw1LjI1IDEyaDEuNWwuNTctMS43MmMuMjctLjA4LjUyLS4xOS43Ny0uMzJsMS42Mi44MSAxLjA2LTEuMDYtLjgxLTEuNjJjLjEzLS4yNC4yMy0uNS4zMi0uNzdMMTIgNi43NXpNNiA4LjVhMi41IDIuNSAwIDAxMC01IDIuNSAyLjUgMCAwMTAgNXoiIGZpbGw9IiMwNTBGMTkiLz48L3N2Zz4=",Bhe=class{constructor(e){this.items=new Map,this.nextItemKey=0,this.root=null,this.darkMode=e.darkMode}attach(e){this.root=document.createElement("div"),this.root.className="-cbwsdk-snackbar-root",e.appendChild(this.root),this.render()}presentItem(e){let n=this.nextItemKey++;return this.items.set(n,e),this.render(),()=>{this.items.delete(n),this.render()}}clear(){this.items.clear(),this.render()}render(){this.root&&(0,Hi.render)((0,Hi.h)("div",null,(0,Hi.h)(Ed.SnackbarContainer,{darkMode:this.darkMode},Array.from(this.items.entries()).map(([e,n])=>(0,Hi.h)(Ed.SnackbarInstance,Object.assign({},n,{key:e}))))),this.root)}};Ed.Snackbar=Bhe;var khn=t=>(0,Hi.h)("div",{class:(0,zY.default)("-cbwsdk-snackbar-container")},(0,Hi.h)("style",null,Ahn.default),(0,Hi.h)("div",{class:"-cbwsdk-snackbar"},t.children));Ed.SnackbarContainer=khn;var Shn=({autoExpand:t,message:e,menuItems:n})=>{let[a,r]=(0,Mhe.useState)(!0),[f,i]=(0,Mhe.useState)(t??!1);(0,Mhe.useEffect)(()=>{let o=[window.setTimeout(()=>{r(!1)},1),window.setTimeout(()=>{i(!0)},1e4)];return()=>{o.forEach(window.clearTimeout)}});let s=()=>{i(!f)};return(0,Hi.h)("div",{class:(0,zY.default)("-cbwsdk-snackbar-instance",a&&"-cbwsdk-snackbar-instance-hidden",f&&"-cbwsdk-snackbar-instance-expanded")},(0,Hi.h)("div",{class:"-cbwsdk-snackbar-instance-header",onClick:s},(0,Hi.h)("img",{src:Chn,class:"-cbwsdk-snackbar-instance-header-cblogo"})," ",(0,Hi.h)("div",{class:"-cbwsdk-snackbar-instance-header-message"},e),(0,Hi.h)("div",{class:"-gear-container"},!f&&(0,Hi.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Hi.h)("circle",{cx:"12",cy:"12",r:"12",fill:"#F5F7F8"})),(0,Hi.h)("img",{src:Ihn,class:"-gear-icon",title:"Expand"}))),n&&n.length>0&&(0,Hi.h)("div",{class:"-cbwsdk-snackbar-instance-menu"},n.map((o,c)=>(0,Hi.h)("div",{class:(0,zY.default)("-cbwsdk-snackbar-instance-menu-item",o.isRed&&"-cbwsdk-snackbar-instance-menu-item-is-red"),onClick:o.onClick,key:c},(0,Hi.h)("svg",{width:o.svgWidth,height:o.svgHeight,viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Hi.h)("path",{"fill-rule":o.defaultFillRule,"clip-rule":o.defaultClipRule,d:o.path,fill:"#AAAAAA"})),(0,Hi.h)("span",{class:(0,zY.default)("-cbwsdk-snackbar-instance-menu-item-info",o.isRed&&"-cbwsdk-snackbar-instance-menu-item-info-is-red")},o.info)))))};Ed.SnackbarInstance=Shn});var Lhe=D(WY=>{"use strict";u();p();Object.defineProperty(WY,"__esModule",{value:!0});WY.WalletLinkRelayUI=void 0;var Rhn=rhe(),Mhn=C80(),Bhn=Dhe(),Phe=class{constructor(e){this.standalone=null,this.attached=!1,this.snackbar=new Bhn.Snackbar({darkMode:e.darkMode}),this.linkFlow=new Mhn.LinkFlow({darkMode:e.darkMode,version:e.version,sessionId:e.session.id,sessionSecret:e.session.secret,linkAPIUrl:e.linkAPIUrl,isParentConnection:!1})}attach(){if(this.attached)throw new Error("Coinbase Wallet SDK UI is already attached");let e=document.documentElement,n=document.createElement("div");n.className="-cbwsdk-css-reset",e.appendChild(n),this.linkFlow.attach(n),this.snackbar.attach(n),this.attached=!0,(0,Rhn.injectCssReset)()}setConnected(e){this.linkFlow.setConnected(e)}setChainId(e){this.linkFlow.setChainId(e)}setConnectDisabled(e){this.linkFlow.setConnectDisabled(e)}addEthereumChain(){}watchAsset(){}switchEthereumChain(){}requestEthereumAccounts(e){this.linkFlow.open({onCancel:e.onCancel})}hideRequestEthereumAccounts(){this.linkFlow.close()}signEthereumMessage(){}signEthereumTransaction(){}submitEthereumTransaction(){}ethereumAddressFromSignedMessage(){}showConnecting(e){let n;return e.isUnlinkedErrorState?n={autoExpand:!0,message:"Connection lost",menuItems:[{isRed:!1,info:"Reset connection",svgWidth:"10",svgHeight:"11",path:"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z",defaultFillRule:"evenodd",defaultClipRule:"evenodd",onClick:e.onResetConnection}]}:n={message:"Confirm on phone",menuItems:[{isRed:!0,info:"Cancel transaction",svgWidth:"11",svgHeight:"11",path:"M10.3711 1.52346L9.21775 0.370117L5.37109 4.21022L1.52444 0.370117L0.371094 1.52346L4.2112 5.37012L0.371094 9.21677L1.52444 10.3701L5.37109 6.53001L9.21775 10.3701L10.3711 9.21677L6.53099 5.37012L10.3711 1.52346Z",defaultFillRule:"inherit",defaultClipRule:"inherit",onClick:e.onCancel},{isRed:!1,info:"Reset connection",svgWidth:"10",svgHeight:"11",path:"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z",defaultFillRule:"evenodd",defaultClipRule:"evenodd",onClick:e.onResetConnection}]},this.snackbar.presentItem(n)}reloadUI(){document.location.reload()}inlineAccountsResponse(){return!1}inlineAddEthereumChain(){return!1}inlineWatchAsset(){return!1}inlineSwitchEthereumChain(){return!1}setStandalone(e){this.standalone=e}isStandalone(){var e;return(e=this.standalone)!==null&&e!==void 0?e:!1}};WY.WalletLinkRelayUI=Phe});var Fhe=D(jY=>{"use strict";u();p();Object.defineProperty(jY,"__esModule",{value:!0});jY.WalletLinkRelay=void 0;var eA=lD(),Dhn=pD(),Ff=fp(),xg=gY(),S80=vY(),i4=TY(),Phn=gp0(),Eg=lY(),Lhn=Lhe(),qY=class t extends S80.RelayAbstract{constructor(e){var n;super(),this.accountsCallback=null,this.chainCallbackParams={chainId:"",jsonRpcUrl:""},this.chainCallback=null,this.dappDefaultChain=1,this.appName="",this.appLogoUrl=null,this.linkedUpdated=i=>{var s;this.isLinked=i;let o=this.storage.getItem(S80.LOCAL_STORAGE_ADDRESSES_KEY);if(i&&(this.session.linked=i),this.isUnlinkedErrorState=!1,o){let c=o.split(" "),d=this.storage.getItem("IsStandaloneSigning")==="true";if(c[0]!==""&&!i&&this.session.linked&&!d){this.isUnlinkedErrorState=!0;let l=this.getSessionIdHash();(s=this.diagnostic)===null||s===void 0||s.log(xg.EVENTS.UNLINKED_ERROR_STATE,{sessionIdHash:l})}}},this.metadataUpdated=(i,s)=>{this.storage.setItem(i,s)},this.chainUpdated=(i,s)=>{this.chainCallbackParams.chainId===i&&this.chainCallbackParams.jsonRpcUrl===s||(this.chainCallbackParams={chainId:i,jsonRpcUrl:s},this.chainCallback&&this.chainCallback(i,s))},this.accountUpdated=i=>{this.accountsCallback&&this.accountsCallback([i]),t.accountRequestCallbackIds.size>0&&(Array.from(t.accountRequestCallbackIds.values()).forEach(s=>{let o={type:"WEB3_RESPONSE",id:s,response:{method:"requestEthereumAccounts",result:[i]}};this.invokeCallback(Object.assign(Object.assign({},o),{id:s}))}),t.accountRequestCallbackIds.clear())},this.connectedUpdated=i=>{this.ui.setConnected(i)},this.resetAndReload=this.resetAndReload.bind(this),this.linkAPIUrl=e.linkAPIUrl,this.storage=e.storage,this.options=e;let{session:a,ui:r,connection:f}=this.subscribe();this._session=a,this.connection=f,this.relayEventManager=e.relayEventManager,this.diagnostic=e.diagnosticLogger,this._reloadOnDisconnect=(n=e.reloadOnDisconnect)!==null&&n!==void 0?n:!0,this.ui=r}subscribe(){let e=i4.Session.load(this.storage)||new i4.Session(this.storage).save(),{linkAPIUrl:n,diagnostic:a}=this,r=new Phn.WalletLinkConnection({session:e,linkAPIUrl:n,diagnostic:a,listener:this}),{version:f,darkMode:i}=this.options,s=this.options.uiConstructor({linkAPIUrl:n,version:f,darkMode:i,session:e});return r.connect(),{session:e,ui:s,connection:r}}attachUI(){this.ui.attach()}resetAndReload(){Promise.race([this.connection.setSessionMetadata("__destroyed","1"),new Promise(e=>setTimeout(()=>e(null),1e3))]).then(()=>{var e,n;let a=this.ui.isStandalone();(e=this.diagnostic)===null||e===void 0||e.log(xg.EVENTS.SESSION_STATE_CHANGE,{method:"relay::resetAndReload",sessionMetadataChange:"__destroyed, 1",sessionIdHash:this.getSessionIdHash()}),this.connection.destroy();let r=i4.Session.load(this.storage);if(r?.id===this._session.id?this.storage.clear():r&&((n=this.diagnostic)===null||n===void 0||n.log(xg.EVENTS.SKIPPED_CLEARING_SESSION,{sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:i4.Session.hash(r.id)})),this._reloadOnDisconnect){this.ui.reloadUI();return}this.accountsCallback&&this.accountsCallback([],!0);let{session:f,ui:i,connection:s}=this.subscribe();this._session=f,this.connection=s,this.ui=i,a&&this.ui.setStandalone&&this.ui.setStandalone(!0),this.options.headlessMode||this.attachUI()}).catch(e=>{var n;(n=this.diagnostic)===null||n===void 0||n.log(xg.EVENTS.FAILURE,{method:"relay::resetAndReload",message:`failed to reset and reload with ${e}`,sessionIdHash:this.getSessionIdHash()})})}setAppInfo(e,n){this.appName=e,this.appLogoUrl=n}getStorageItem(e){return this.storage.getItem(e)}get session(){return this._session}setStorageItem(e,n){this.storage.setItem(e,n)}signEthereumMessage(e,n,a,r){return this.sendRequest({method:"signEthereumMessage",params:{message:(0,Ff.hexStringFromBuffer)(e,!0),address:n,addPrefix:a,typedDataJson:r||null}})}ethereumAddressFromSignedMessage(e,n,a){return this.sendRequest({method:"ethereumAddressFromSignedMessage",params:{message:(0,Ff.hexStringFromBuffer)(e,!0),signature:(0,Ff.hexStringFromBuffer)(n,!0),addPrefix:a}})}signEthereumTransaction(e){return this.sendRequest({method:"signEthereumTransaction",params:{fromAddress:e.fromAddress,toAddress:e.toAddress,weiValue:(0,Ff.bigIntStringFromBN)(e.weiValue),data:(0,Ff.hexStringFromBuffer)(e.data,!0),nonce:e.nonce,gasPriceInWei:e.gasPriceInWei?(0,Ff.bigIntStringFromBN)(e.gasPriceInWei):null,maxFeePerGas:e.gasPriceInWei?(0,Ff.bigIntStringFromBN)(e.gasPriceInWei):null,maxPriorityFeePerGas:e.gasPriceInWei?(0,Ff.bigIntStringFromBN)(e.gasPriceInWei):null,gasLimit:e.gasLimit?(0,Ff.bigIntStringFromBN)(e.gasLimit):null,chainId:e.chainId,shouldSubmit:!1}})}signAndSubmitEthereumTransaction(e){return this.sendRequest({method:"signEthereumTransaction",params:{fromAddress:e.fromAddress,toAddress:e.toAddress,weiValue:(0,Ff.bigIntStringFromBN)(e.weiValue),data:(0,Ff.hexStringFromBuffer)(e.data,!0),nonce:e.nonce,gasPriceInWei:e.gasPriceInWei?(0,Ff.bigIntStringFromBN)(e.gasPriceInWei):null,maxFeePerGas:e.maxFeePerGas?(0,Ff.bigIntStringFromBN)(e.maxFeePerGas):null,maxPriorityFeePerGas:e.maxPriorityFeePerGas?(0,Ff.bigIntStringFromBN)(e.maxPriorityFeePerGas):null,gasLimit:e.gasLimit?(0,Ff.bigIntStringFromBN)(e.gasLimit):null,chainId:e.chainId,shouldSubmit:!0}})}submitEthereumTransaction(e,n){return this.sendRequest({method:"submitEthereumTransaction",params:{signedTransaction:(0,Ff.hexStringFromBuffer)(e,!0),chainId:n}})}scanQRCode(e){return this.sendRequest({method:"scanQRCode",params:{regExp:e}})}getQRCodeUrl(){return(0,Ff.createQrUrl)(this._session.id,this._session.secret,this.linkAPIUrl,!1,this.options.version,this.dappDefaultChain)}genericRequest(e,n){return this.sendRequest({method:"generic",params:{action:n,data:e}})}sendGenericMessage(e){return this.sendRequest(e)}sendRequest(e){let n=null,a=(0,Ff.randomBytesHex)(8),r=i=>{this.publishWeb3RequestCanceledEvent(a),this.handleErrorResponse(a,e.method,i),n?.()};return{promise:new Promise((i,s)=>{this.ui.isStandalone()||(n=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:r,onResetConnection:this.resetAndReload})),this.relayEventManager.callbacks.set(a,o=>{if(n?.(),(0,Eg.isErrorResponse)(o))return s(new Error(o.errorMessage));i(o)}),this.ui.isStandalone()?this.sendRequestStandalone(a,e):this.publishWeb3RequestEvent(a,e)}),cancel:r}}setConnectDisabled(e){this.ui.setConnectDisabled(e)}setAccountsCallback(e){this.accountsCallback=e}setChainCallback(e){this.chainCallback=e}setDappDefaultChainCallback(e){this.dappDefaultChain=e,this.ui instanceof Lhn.WalletLinkRelayUI&&this.ui.setChainId(e)}publishWeb3RequestEvent(e,n){var a;let r={type:"WEB3_REQUEST",id:e,request:n},f=i4.Session.load(this.storage);(a=this.diagnostic)===null||a===void 0||a.log(xg.EVENTS.WEB3_REQUEST,{eventId:r.id,method:`relay::${n.method}`,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:f?i4.Session.hash(f.id):"",isSessionMismatched:(f?.id!==this._session.id).toString()}),this.publishEvent("Web3Request",r,!0).then(i=>{var s;(s=this.diagnostic)===null||s===void 0||s.log(xg.EVENTS.WEB3_REQUEST_PUBLISHED,{eventId:r.id,method:`relay::${n.method}`,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:f?i4.Session.hash(f.id):"",isSessionMismatched:(f?.id!==this._session.id).toString()})}).catch(i=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:r.id,response:{method:n.method,errorMessage:i.message}})})}publishWeb3RequestCanceledEvent(e){let n={type:"WEB3_REQUEST_CANCELED",id:e};this.publishEvent("Web3RequestCanceled",n,!1).then()}publishEvent(e,n,a){return this.connection.publishEvent(e,n,a)}handleWeb3ResponseMessage(e){var n;let{response:a}=e;if((n=this.diagnostic)===null||n===void 0||n.log(xg.EVENTS.WEB3_RESPONSE,{eventId:e.id,method:`relay::${a.method}`,sessionIdHash:this.getSessionIdHash()}),a.method==="requestEthereumAccounts"){t.accountRequestCallbackIds.forEach(r=>this.invokeCallback(Object.assign(Object.assign({},e),{id:r}))),t.accountRequestCallbackIds.clear();return}this.invokeCallback(e)}handleErrorResponse(e,n,a,r){var f;let i=(f=a?.message)!==null&&f!==void 0?f:(0,eA.getMessageFromCode)(r);this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:e,response:{method:n,errorMessage:i,errorCode:r}})}invokeCallback(e){let n=this.relayEventManager.callbacks.get(e.id);n&&(n(e.response),this.relayEventManager.callbacks.delete(e.id))}requestEthereumAccounts(){let e={method:"requestEthereumAccounts",params:{appName:this.appName,appLogoUrl:this.appLogoUrl||null}},n=null,a=(0,Ff.randomBytesHex)(8),r=i=>{this.publishWeb3RequestCanceledEvent(a),this.handleErrorResponse(a,e.method,i),n?.()};return{promise:new Promise((i,s)=>{if(this.relayEventManager.callbacks.set(a,o=>{if(this.ui.hideRequestEthereumAccounts(),n?.(),(0,Eg.isErrorResponse)(o))return s(new Error(o.errorMessage));i(o)}),this.ui.inlineAccountsResponse()){let o=c=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:a,response:{method:"requestEthereumAccounts",result:c}})};this.ui.requestEthereumAccounts({onCancel:r,onAccounts:o})}else{let o=eA.standardErrors.provider.userRejectedRequest("User denied account authorization");this.ui.requestEthereumAccounts({onCancel:()=>r(o)})}t.accountRequestCallbackIds.add(a),!this.ui.inlineAccountsResponse()&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(a,e)}),cancel:r}}selectProvider(e){let n={method:"selectProvider",params:{providerOptions:e}},a=(0,Ff.randomBytesHex)(8),r=i=>{this.publishWeb3RequestCanceledEvent(a),this.handleErrorResponse(a,n.method,i)},f=new Promise((i,s)=>{this.relayEventManager.callbacks.set(a,d=>{if((0,Eg.isErrorResponse)(d))return s(new Error(d.errorMessage));i(d)});let o=d=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:a,response:{method:"selectProvider",result:Dhn.ProviderType.Unselected}})},c=d=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:a,response:{method:"selectProvider",result:d}})};this.ui.selectProvider&&this.ui.selectProvider({onApprove:c,onCancel:o,providerOptions:e})});return{cancel:r,promise:f}}watchAsset(e,n,a,r,f,i){let s={method:"watchAsset",params:{type:e,options:{address:n,symbol:a,decimals:r,image:f},chainId:i}},o=null,c=(0,Ff.randomBytesHex)(8),d=h=>{this.publishWeb3RequestCanceledEvent(c),this.handleErrorResponse(c,s.method,h),o?.()};this.ui.inlineWatchAsset()||(o=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:d,onResetConnection:this.resetAndReload}));let l=new Promise((h,y)=>{this.relayEventManager.callbacks.set(c,O=>{if(o?.(),(0,Eg.isErrorResponse)(O))return y(new Error(O.errorMessage));h(O)});let v=O=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:c,response:{method:"watchAsset",result:!1}})},k=()=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:c,response:{method:"watchAsset",result:!0}})};this.ui.inlineWatchAsset()&&this.ui.watchAsset({onApprove:k,onCancel:v,type:e,address:n,symbol:a,decimals:r,image:f,chainId:i}),!this.ui.inlineWatchAsset()&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(c,s)});return{cancel:d,promise:l}}addEthereumChain(e,n,a,r,f,i){let s={method:"addEthereumChain",params:{chainId:e,rpcUrls:n,blockExplorerUrls:r,chainName:f,iconUrls:a,nativeCurrency:i}},o=null,c=(0,Ff.randomBytesHex)(8),d=h=>{this.publishWeb3RequestCanceledEvent(c),this.handleErrorResponse(c,s.method,h),o?.()};return this.ui.inlineAddEthereumChain(e)||(o=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:d,onResetConnection:this.resetAndReload})),{promise:new Promise((h,y)=>{this.relayEventManager.callbacks.set(c,O=>{if(o?.(),(0,Eg.isErrorResponse)(O))return y(new Error(O.errorMessage));h(O)});let v=O=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:c,response:{method:"addEthereumChain",result:{isApproved:!1,rpcUrl:""}}})},k=O=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:c,response:{method:"addEthereumChain",result:{isApproved:!0,rpcUrl:O}}})};this.ui.inlineAddEthereumChain(e)&&this.ui.addEthereumChain({onCancel:v,onApprove:k,chainId:s.params.chainId,rpcUrls:s.params.rpcUrls,blockExplorerUrls:s.params.blockExplorerUrls,chainName:s.params.chainName,iconUrls:s.params.iconUrls,nativeCurrency:s.params.nativeCurrency}),!this.ui.inlineAddEthereumChain(e)&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(c,s)}),cancel:d}}switchEthereumChain(e,n){let a={method:"switchEthereumChain",params:Object.assign({chainId:e},{address:n})},r=(0,Ff.randomBytesHex)(8),f=s=>{this.publishWeb3RequestCanceledEvent(r),this.handleErrorResponse(r,a.method,s)};return{promise:new Promise((s,o)=>{this.relayEventManager.callbacks.set(r,l=>{if((0,Eg.isErrorResponse)(l)&&l.errorCode)return o(eA.standardErrors.provider.custom({code:l.errorCode,message:"Unrecognized chain ID. Try adding the chain using addEthereumChain first."}));if((0,Eg.isErrorResponse)(l))return o(new Error(l.errorMessage));s(l)});let c=l=>{var h;if(l){let y=(h=(0,eA.getErrorCode)(l))!==null&&h!==void 0?h:eA.standardErrorCodes.provider.unsupportedChain;this.handleErrorResponse(r,"switchEthereumChain",l instanceof Error?l:eA.standardErrors.provider.unsupportedChain(e),y)}else this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:r,response:{method:"switchEthereumChain",result:{isApproved:!1,rpcUrl:""}}})},d=l=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:r,response:{method:"switchEthereumChain",result:{isApproved:!0,rpcUrl:l}}})};this.ui.switchEthereumChain({onCancel:c,onApprove:d,chainId:a.params.chainId,address:a.params.address}),!this.ui.inlineSwitchEthereumChain()&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(r,a)}),cancel:f}}inlineAddEthereumChain(e){return this.ui.inlineAddEthereumChain(e)}getSessionIdHash(){return i4.Session.hash(this._session.id)}sendRequestStandalone(e,n){let a=f=>{this.handleErrorResponse(e,n.method,f)},r=f=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:e,response:f})};switch(n.method){case"signEthereumMessage":this.ui.signEthereumMessage({request:n,onSuccess:r,onCancel:a});break;case"signEthereumTransaction":this.ui.signEthereumTransaction({request:n,onSuccess:r,onCancel:a});break;case"submitEthereumTransaction":this.ui.submitEthereumTransaction({request:n,onSuccess:r,onCancel:a});break;case"ethereumAddressFromSignedMessage":this.ui.ethereumAddressFromSignedMessage({request:n,onSuccess:r});break;default:a();break}}};jY.WalletLinkRelay=qY;qY.accountRequestCallbackIds=new Set});var R80=D(_g=>{"use strict";u();p();var Fhn=_g&&_g.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Nhn=_g&&_g.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Fhn(e,t,n)};Object.defineProperty(_g,"__esModule",{value:!0});Nhn(Dhe(),_g)});var M80=D(Nhe=>{"use strict";u();p();Object.defineProperty(Nhe,"__esModule",{value:!0});Nhe.default=".-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;transition:opacity .25s;background-color:rgba(10,11,13,.5)}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop-hidden{opacity:0}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box{display:block;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);padding:20px;border-radius:8px;background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box p{display:block;font-weight:400;font-size:14px;line-height:20px;padding-bottom:12px;color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box button{appearance:none;border:none;background:none;color:#0052ff;padding:0;text-decoration:none;display:block;font-weight:600;font-size:16px;line-height:24px}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark{background-color:#0a0b0d;color:#fff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark button{color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light{background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light button{color:#0052ff}"});var D80=D(tA=>{"use strict";u();p();var B80=tA&&tA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(tA,"__esModule",{value:!0});tA.RedirectDialog=void 0;var Ohn=B80(Q_()),dp=(w1(),vn(uc)),Uhn=rhe(),Hhn=R80(),zhn=B80(M80()),Ohe=class{constructor(){this.root=null}attach(){let e=document.documentElement;this.root=document.createElement("div"),this.root.className="-cbwsdk-css-reset",e.appendChild(this.root),(0,Uhn.injectCssReset)()}present(e){this.render(e)}clear(){this.render(null)}render(e){this.root&&((0,dp.render)(null,this.root),e&&(0,dp.render)((0,dp.h)(Whn,Object.assign({},e,{onDismiss:()=>{this.clear()}})),this.root))}};tA.RedirectDialog=Ohe;var Whn=({title:t,buttonText:e,darkMode:n,onButtonClick:a,onDismiss:r})=>{let f=n?"dark":"light";return(0,dp.h)(Hhn.SnackbarContainer,{darkMode:n},(0,dp.h)("div",{class:"-cbwsdk-redirect-dialog"},(0,dp.h)("style",null,zhn.default),(0,dp.h)("div",{class:"-cbwsdk-redirect-dialog-backdrop",onClick:r}),(0,dp.h)("div",{class:(0,Ohn.default)("-cbwsdk-redirect-dialog-box",f)},(0,dp.h)("p",null,t),(0,dp.h)("button",{onClick:a},e))))}});var Hhe=D(GY=>{"use strict";u();p();Object.defineProperty(GY,"__esModule",{value:!0});GY.MobileRelayUI=void 0;var qhn=D80(),Uhe=class{constructor(e){this.attached=!1,this.darkMode=!1,this.redirectDialog=new qhn.RedirectDialog,this.darkMode=e.darkMode}attach(){if(this.attached)throw new Error("Coinbase Wallet SDK UI is already attached");this.redirectDialog.attach(),this.attached=!0}setConnected(e){}redirectToCoinbaseWallet(e){let n=new URL("https://go.cb-w.com/walletlink");n.searchParams.append("redirect_url",window.location.href),e&&n.searchParams.append("wl_url",e);let a=document.createElement("a");a.target="cbw-opener",a.href=n.href,a.rel="noreferrer noopener",a.click()}openCoinbaseWalletDeeplink(e){this.redirectDialog.present({title:"Redirecting to Coinbase Wallet...",buttonText:"Open",darkMode:this.darkMode,onButtonClick:()=>{this.redirectToCoinbaseWallet(e)}}),setTimeout(()=>{this.redirectToCoinbaseWallet(e)},99)}showConnecting(e){return()=>{this.redirectDialog.clear()}}hideRequestEthereumAccounts(){this.redirectDialog.clear()}requestEthereumAccounts(){}addEthereumChain(){}watchAsset(){}selectProvider(){}switchEthereumChain(){}signEthereumMessage(){}signEthereumTransaction(){}submitEthereumTransaction(){}ethereumAddressFromSignedMessage(){}reloadUI(){}setStandalone(){}setConnectDisabled(){}inlineAccountsResponse(){return!1}inlineAddEthereumChain(){return!1}inlineWatchAsset(){return!1}inlineSwitchEthereumChain(){return!1}isStandalone(){return!1}};GY.MobileRelayUI=Uhe});var Whe=D(KY=>{"use strict";u();p();Object.defineProperty(KY,"__esModule",{value:!0});KY.MobileRelay=void 0;var jhn=fp(),Ghn=Fhe(),Khn=Hhe(),zhe=class extends Ghn.WalletLinkRelay{constructor(e){var n;super(e),this._enableMobileWalletLink=(n=e.enableMobileWalletLink)!==null&&n!==void 0?n:!1}requestEthereumAccounts(){return this._enableMobileWalletLink?super.requestEthereumAccounts():{promise:new Promise(()=>{let e=(0,jhn.getLocation)();e.href=`https://go.cb-w.com/dapp?cb_url=${encodeURIComponent(e.href)}`}),cancel:()=>{}}}publishWeb3RequestEvent(e,n){if(super.publishWeb3RequestEvent(e,n),!(this._enableMobileWalletLink&&this.ui instanceof Khn.MobileRelayUI))return;let a=!1;switch(n.method){case"requestEthereumAccounts":case"connectAndSignIn":a=!0,this.ui.openCoinbaseWalletDeeplink(this.getQRCodeUrl());break;case"switchEthereumChain":return;default:a=!0,this.ui.openCoinbaseWalletDeeplink();break}a&&window.addEventListener("blur",()=>{window.addEventListener("focus",()=>{this.connection.checkUnseenEvents()},{once:!0})},{once:!0})}handleWeb3ResponseMessage(e){super.handleWeb3ResponseMessage(e)}connectAndSignIn(e){if(!this._enableMobileWalletLink)throw new Error("connectAndSignIn is supported only when enableMobileWalletLink is on");return this.sendRequest({method:"connectAndSignIn",params:{appName:this.appName,appLogoUrl:this.appLogoUrl,domain:window.location.hostname,aud:window.location.href,version:"1",type:"eip4361",nonce:e.nonce,iat:new Date().toISOString(),chainId:`eip155:${this.dappDefaultChain}`,statement:e.statement,resources:e.resources}})}};KY.MobileRelay=zhe});var F80=D((ZVa,L80)=>{u();p();var{Transform:Qhn}=EO();L80.exports=t=>class P80 extends Qhn{constructor(n,a,r,f,i){super(i),this._rate=n,this._capacity=a,this._delimitedSuffix=r,this._hashBitLength=f,this._options=i,this._state=new t,this._state.initialize(n,a),this._finalized=!1}_transform(n,a,r){let f=null;try{this.update(n,a)}catch(i){f=i}r(f)}_flush(n){let a=null;try{this.push(this.digest())}catch(r){a=r}n(a)}update(n,a){if(!_.Buffer.isBuffer(n)&&typeof n!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");return _.Buffer.isBuffer(n)||(n=_.Buffer.from(n,a)),this._state.absorb(n),this}digest(n){if(this._finalized)throw new Error("Digest already called");this._finalized=!0,this._delimitedSuffix&&this._state.absorbLastFewBits(this._delimitedSuffix);let a=this._state.squeeze(this._hashBitLength/8);return n!==void 0&&(a=a.toString(n)),this._resetState(),a}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){let n=new P80(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(n._state),n._finalized=this._finalized,n}}});var U80=D((nYa,O80)=>{u();p();var{Transform:Vhn}=EO();O80.exports=t=>class N80 extends Vhn{constructor(n,a,r,f){super(f),this._rate=n,this._capacity=a,this._delimitedSuffix=r,this._options=f,this._state=new t,this._state.initialize(n,a),this._finalized=!1}_transform(n,a,r){let f=null;try{this.update(n,a)}catch(i){f=i}r(f)}_flush(){}_read(n){this.push(this.squeeze(n))}update(n,a){if(!_.Buffer.isBuffer(n)&&typeof n!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Squeeze already called");return _.Buffer.isBuffer(n)||(n=_.Buffer.from(n,a)),this._state.absorb(n),this}squeeze(n,a){this._finalized||(this._finalized=!0,this._state.absorbLastFewBits(this._delimitedSuffix));let r=this._state.squeeze(n);return a!==void 0&&(r=r.toString(a)),r}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){let n=new N80(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(n._state),n._finalized=this._finalized,n}}});var z80=D((fYa,H80)=>{u();p();var Yhn=F80(),$hn=U80();H80.exports=function(t){let e=Yhn(t),n=$hn(t);return function(a,r){switch(typeof a=="string"?a.toLowerCase():a){case"keccak224":return new e(1152,448,null,224,r);case"keccak256":return new e(1088,512,null,256,r);case"keccak384":return new e(832,768,null,384,r);case"keccak512":return new e(576,1024,null,512,r);case"sha3-224":return new e(1152,448,6,224,r);case"sha3-256":return new e(1088,512,6,256,r);case"sha3-384":return new e(832,768,6,384,r);case"sha3-512":return new e(576,1024,6,512,r);case"shake128":return new n(1344,256,31,r);case"shake256":return new n(1088,512,31,r);default:throw new Error("Invald algorithm: "+a)}}}});var j80=D(q80=>{u();p();var W80=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648];q80.p1600=function(t){for(let e=0;e<24;++e){let n=t[0]^t[10]^t[20]^t[30]^t[40],a=t[1]^t[11]^t[21]^t[31]^t[41],r=t[2]^t[12]^t[22]^t[32]^t[42],f=t[3]^t[13]^t[23]^t[33]^t[43],i=t[4]^t[14]^t[24]^t[34]^t[44],s=t[5]^t[15]^t[25]^t[35]^t[45],o=t[6]^t[16]^t[26]^t[36]^t[46],c=t[7]^t[17]^t[27]^t[37]^t[47],d=t[8]^t[18]^t[28]^t[38]^t[48],l=t[9]^t[19]^t[29]^t[39]^t[49],h=d^(r<<1|f>>>31),y=l^(f<<1|r>>>31),v=t[0]^h,k=t[1]^y,O=t[10]^h,F=t[11]^y,z=t[20]^h,W=t[21]^y,j=t[30]^h,Q=t[31]^y,V=t[40]^h,X=t[41]^y;h=n^(i<<1|s>>>31),y=a^(s<<1|i>>>31);let K=t[2]^h,G=t[3]^y,R=t[12]^h,T=t[13]^y,N=t[22]^h,w=t[23]^y,m=t[32]^h,A=t[33]^y,P=t[42]^h,L=t[43]^y;h=r^(o<<1|c>>>31),y=f^(c<<1|o>>>31);let x=t[4]^h,g=t[5]^y,B=t[14]^h,M=t[15]^y,S=t[24]^h,q=t[25]^y,ee=t[34]^h,U=t[35]^y,J=t[44]^h,Z=t[45]^y;h=i^(d<<1|l>>>31),y=s^(l<<1|d>>>31);let ne=t[6]^h,ue=t[7]^y,Y=t[16]^h,re=t[17]^y,ie=t[26]^h,ge=t[27]^y,de=t[36]^h,Ae=t[37]^y,Ge=t[46]^h,Be=t[47]^y;h=o^(n<<1|a>>>31),y=c^(a<<1|n>>>31);let c0=t[8]^h,Ye=t[9]^y,He=t[18]^h,_0=t[19]^y,L0=t[28]^h,Ze=t[29]^y,I0=t[38]^h,pe=t[39]^y,he=t[48]^h,Te=t[49]^y,Ce=v,Se=k,Qe=F<<4|O>>>28,u0=O<<4|F>>>28,qe=z<<3|W>>>29,v0=W<<3|z>>>29,w0=Q<<9|j>>>23,Ve=j<<9|Q>>>23,be=V<<18|X>>>14,ye=X<<18|V>>>14,_e=K<<1|G>>>31,ze=G<<1|K>>>31,je=T<<12|R>>>20,Ue=R<<12|T>>>20,b0=N<<10|w>>>22,h0=w<<10|N>>>22,$e=A<<13|m>>>19,M0=m<<13|A>>>19,P0=P<<2|L>>>30,t0=L<<2|P>>>30,j0=g<<30|x>>>2,z0=x<<30|g>>>2,Ke=B<<6|M>>>26,B0=M<<6|B>>>26,G0=q<<11|S>>>21,s0=S<<11|q>>>21,X0=ee<<15|U>>>17,Y0=U<<15|ee>>>17,l0=Z<<29|J>>>3,K0=J<<29|Z>>>3,tt=ne<<28|ue>>>4,p0=ue<<28|ne>>>4,et=re<<23|Y>>>9,Et=Y<<23|re>>>9,$0=ie<<25|ge>>>7,Tt=ge<<25|ie>>>7,Pn=de<<21|Ae>>>11,Ln=Ae<<21|de>>>11,Fn=Be<<24|Ge>>>8,Nn=Ge<<24|Be>>>8,On=c0<<27|Ye>>>5,Ha=Ye<<27|c0>>>5,pr=He<<20|_0>>>12,za=_0<<20|He>>>12,hr=Ze<<7|L0>>>25,ar=L0<<7|Ze>>>25,Cr=I0<<8|pe>>>24,Jr=pe<<8|I0>>>24,rr=he<<14|Te>>>18,of=Te<<14|he>>>18;t[0]=Ce^~je&G0,t[1]=Se^~Ue&s0,t[10]=tt^~pr&qe,t[11]=p0^~za&v0,t[20]=_e^~Ke&$0,t[21]=ze^~B0&Tt,t[30]=On^~Qe&b0,t[31]=Ha^~u0&h0,t[40]=j0^~et&hr,t[41]=z0^~Et&ar,t[2]=je^~G0&Pn,t[3]=Ue^~s0&Ln,t[12]=pr^~qe&$e,t[13]=za^~v0&M0,t[22]=Ke^~$0&Cr,t[23]=B0^~Tt&Jr,t[32]=Qe^~b0&X0,t[33]=u0^~h0&Y0,t[42]=et^~hr&w0,t[43]=Et^~ar&Ve,t[4]=G0^~Pn&rr,t[5]=s0^~Ln&of,t[14]=qe^~$e&l0,t[15]=v0^~M0&K0,t[24]=$0^~Cr&be,t[25]=Tt^~Jr&ye,t[34]=b0^~X0&Fn,t[35]=h0^~Y0&Nn,t[44]=hr^~w0&P0,t[45]=ar^~Ve&t0,t[6]=Pn^~rr&Ce,t[7]=Ln^~of&Se,t[16]=$e^~l0&tt,t[17]=M0^~K0&p0,t[26]=Cr^~be&_e,t[27]=Jr^~ye&ze,t[36]=X0^~Fn&On,t[37]=Y0^~Nn&Ha,t[46]=w0^~P0&j0,t[47]=Ve^~t0&z0,t[8]=rr^~Ce&je,t[9]=of^~Se&Ue,t[18]=l0^~tt&pr,t[19]=K0^~p0&za,t[28]=be^~_e&Ke,t[29]=ye^~ze&B0,t[38]=Fn^~On&Qe,t[39]=Nn^~Ha&u0,t[48]=P0^~j0&et,t[49]=t0^~z0&Et,t[0]^=W80[e*2],t[1]^=W80[e*2+1]}}});var K80=D((lYa,G80)=>{u();p();var QY=j80();function nA(){this.state=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.blockSize=null,this.count=0,this.squeezing=!1}nA.prototype.initialize=function(t,e){for(let n=0;n<50;++n)this.state[n]=0;this.blockSize=t/8,this.count=0,this.squeezing=!1};nA.prototype.absorb=function(t){for(let e=0;e>>8*(this.count%4)&255,this.count+=1,this.count===this.blockSize&&(QY.p1600(this.state),this.count=0);return e};nA.prototype.copy=function(t){for(let e=0;e<50;++e)t.state[e]=this.state[e];t.blockSize=this.blockSize,t.count=this.count,t.squeezing=this.squeezing};G80.exports=nA});var qhe=D((hYa,Q80)=>{u();p();Q80.exports=z80()(K80())});var jhe=D((yYa,X80)=>{u();p();var Jhn=qhe(),Xhn=Va();function V80(t){return _.Buffer.allocUnsafe(t).fill(0)}function Y80(t,e,n){let a=V80(e);return t=VY(t),n?t.length{u();p();var Ig=jhe(),Cg=Va();function eh0(t){return t.startsWith("int[")?"int256"+t.slice(3):t==="int"?"int256":t.startsWith("uint[")?"uint256"+t.slice(4):t==="uint"?"uint256":t.startsWith("fixed[")?"fixed128x128"+t.slice(5):t==="fixed"?"fixed128x128":t.startsWith("ufixed[")?"ufixed128x128"+t.slice(6):t==="ufixed"?"ufixed128x128":t}function aA(t){return parseInt(/^\D+(\d+)$/.exec(t)[1],10)}function Z80(t){var e=/^\D+(\d+)x(\d+)$/.exec(t);return[parseInt(e[1],10),parseInt(e[2],10)]}function th0(t){var e=t.match(/(.*)\[(.*?)\]$/);return e?e[2]===""?"dynamic":parseInt(e[2],10):null}function Ag(t){var e=typeof t;if(e==="string")return Ig.isHexString(t)?new Cg(Ig.stripHexPrefix(t),16):new Cg(t,10);if(e==="number")return new Cg(t);if(t.toArray)return t;throw new Error("Argument is not a number")}function lp(t,e){var n,a,r,f;if(t==="address")return lp("uint160",Ag(e));if(t==="bool")return lp("uint8",e?1:0);if(t==="string")return lp("bytes",new _.Buffer(e,"utf8"));if(r3n(t)){if(typeof e.length>"u")throw new Error("Not an array?");if(n=th0(t),n!=="dynamic"&&n!==0&&e.length>n)throw new Error("Elements exceed array size: "+n);r=[],t=t.slice(0,t.lastIndexOf("[")),typeof e=="string"&&(e=JSON.parse(e));for(f in e)r.push(lp(t,e[f]));if(n==="dynamic"){var i=lp("uint256",e.length);r.unshift(i)}return _.Buffer.concat(r)}else{if(t==="bytes")return e=new _.Buffer(e),r=_.Buffer.concat([lp("uint256",e.length),e]),e.length%32!==0&&(r=_.Buffer.concat([r,Ig.zeros(32-e.length%32)])),r;if(t.startsWith("bytes")){if(n=aA(t),n<1||n>32)throw new Error("Invalid bytes width: "+n);return Ig.setLengthRight(e,32)}else if(t.startsWith("uint")){if(n=aA(t),n%8||n<8||n>256)throw new Error("Invalid uint width: "+n);if(a=Ag(e),a.bitLength()>n)throw new Error("Supplied uint exceeds width: "+n+" vs "+a.bitLength());if(a<0)throw new Error("Supplied uint is negative");return a.toArrayLike(_.Buffer,"be",32)}else if(t.startsWith("int")){if(n=aA(t),n%8||n<8||n>256)throw new Error("Invalid int width: "+n);if(a=Ag(e),a.bitLength()>n)throw new Error("Supplied int exceeds width: "+n+" vs "+a.bitLength());return a.toTwos(256).toArrayLike(_.Buffer,"be",32)}else if(t.startsWith("ufixed")){if(n=Z80(t),a=Ag(e),a<0)throw new Error("Supplied ufixed is negative");return lp("uint256",a.mul(new Cg(2).pow(new Cg(n[1]))))}else if(t.startsWith("fixed"))return n=Z80(t),lp("int256",Ag(e).mul(new Cg(2).pow(new Cg(n[1]))))}throw new Error("Unsupported or invalid type: "+t)}function a3n(t){return t==="string"||t==="bytes"||th0(t)==="dynamic"}function r3n(t){return t.lastIndexOf("]")===t.length-1}function f3n(t,e){var n=[],a=[],r=32*t.length;for(var f in t){var i=eh0(t[f]),s=e[f],o=lp(i,s);a3n(i)?(n.push(lp("uint256",r)),a.push(o),r+=o.length):n.push(o)}return _.Buffer.concat(n.concat(a))}function nh0(t,e){if(t.length!==e.length)throw new Error("Number of types are not matching the values");for(var n,a,r=[],f=0;f32)throw new Error("Invalid bytes width: "+n);r.push(Ig.setLengthRight(s,n))}else if(i.startsWith("uint")){if(n=aA(i),n%8||n<8||n>256)throw new Error("Invalid uint width: "+n);if(a=Ag(s),a.bitLength()>n)throw new Error("Supplied uint exceeds width: "+n+" vs "+a.bitLength());r.push(a.toArrayLike(_.Buffer,"be",n/8))}else if(i.startsWith("int")){if(n=aA(i),n%8||n<8||n>256)throw new Error("Invalid int width: "+n);if(a=Ag(s),a.bitLength()>n)throw new Error("Supplied int exceeds width: "+n+" vs "+a.bitLength());r.push(a.toTwos(n).toArrayLike(_.Buffer,"be",n/8))}else throw new Error("Unsupported or invalid type: "+i)}return _.Buffer.concat(r)}function i3n(t,e){return Ig.keccak(nh0(t,e))}ah0.exports={rawEncode:f3n,solidityPack:nh0,soliditySHA3:i3n}});var sh0=D((EYa,ih0)=>{u();p();var Kl=jhe(),_D=rh0(),fh0={type:"object",properties:{types:{type:"object",additionalProperties:{type:"array",items:{type:"object",properties:{name:{type:"string"},type:{type:"string"}},required:["name","type"]}}},primaryType:{type:"string"},domain:{type:"object"},message:{type:"object"}},required:["types","primaryType","domain","message"]},Ghe={encodeData(t,e,n,a=!0){let r=["bytes32"],f=[this.hashType(t,n)];if(a){let i=(s,o,c)=>{if(n[o]!==void 0)return["bytes32",c==null?"0x0000000000000000000000000000000000000000000000000000000000000000":Kl.keccak(this.encodeData(o,c,n,a))];if(c===void 0)throw new Error(`missing value for field ${s} of type ${o}`);if(o==="bytes")return["bytes32",Kl.keccak(c)];if(o==="string")return typeof c=="string"&&(c=_.Buffer.from(c,"utf8")),["bytes32",Kl.keccak(c)];if(o.lastIndexOf("]")===o.length-1){let d=o.slice(0,o.lastIndexOf("[")),l=c.map(h=>i(s,d,h));return["bytes32",Kl.keccak(_D.rawEncode(l.map(([h])=>h),l.map(([,h])=>h)))]}return[o,c]};for(let s of n[t]){let[o,c]=i(s.name,s.type,e[s.name]);r.push(o),f.push(c)}}else for(let i of n[t]){let s=e[i.name];if(s!==void 0)if(i.type==="bytes")r.push("bytes32"),s=Kl.keccak(s),f.push(s);else if(i.type==="string")r.push("bytes32"),typeof s=="string"&&(s=_.Buffer.from(s,"utf8")),s=Kl.keccak(s),f.push(s);else if(n[i.type]!==void 0)r.push("bytes32"),s=Kl.keccak(this.encodeData(i.type,s,n,a)),f.push(s);else{if(i.type.lastIndexOf("]")===i.type.length-1)throw new Error("Arrays currently unimplemented in encodeData");r.push(i.type),f.push(s)}}return _D.rawEncode(r,f)},encodeType(t,e){let n="",a=this.findTypeDependencies(t,e).filter(r=>r!==t);a=[t].concat(a.sort());for(let r of a){if(!e[r])throw new Error("No type definition specified: "+r);n+=r+"("+e[r].map(({name:i,type:s})=>s+" "+i).join(",")+")"}return n},findTypeDependencies(t,e,n=[]){if(t=t.match(/^\w*/)[0],n.includes(t)||e[t]===void 0)return n;n.push(t);for(let a of e[t])for(let r of this.findTypeDependencies(a.type,e,n))!n.includes(r)&&n.push(r);return n},hashStruct(t,e,n,a=!0){return Kl.keccak(this.encodeData(t,e,n,a))},hashType(t,e){return Kl.keccak(this.encodeType(t,e))},sanitizeData(t){let e={};for(let n in fh0.properties)t[n]&&(e[n]=t[n]);return e.types&&(e.types=Object.assign({EIP712Domain:[]},e.types)),e},hash(t,e=!0){let n=this.sanitizeData(t),a=[_.Buffer.from("1901","hex")];return a.push(this.hashStruct("EIP712Domain",n.domain,n.types,e)),n.primaryType!=="EIP712Domain"&&a.push(this.hashStruct(n.primaryType,n.message,n.types,e)),Kl.keccak(_.Buffer.concat(a))}};ih0.exports={TYPED_MESSAGE_SCHEMA:fh0,TypedDataUtils:Ghe,hashForSignTypedDataLegacy:function(t){return s3n(t.data)},hashForSignTypedData_v3:function(t){return Ghe.hash(t.data,!1)},hashForSignTypedData_v4:function(t){return Ghe.hash(t.data)}};function s3n(t){let e=new Error("Expect argument to be non-empty array");if(typeof t!="object"||!t.length)throw e;let n=t.map(function(f){return f.type==="bytes"?Kl.toBuffer(f.value):f.value}),a=t.map(function(f){return f.type}),r=t.map(function(f){if(!f.name)throw e;return f.type+" "+f.name});return _D.soliditySHA3(["bytes32","bytes32"],[_D.soliditySHA3(new Array(t.length).fill("string"),r),_D.soliditySHA3(a,n)])}});var uh0=D(fA=>{"use strict";u();p();Object.defineProperty(fA,"__esModule",{value:!0});fA.filterFromParam=fA.FilterPolyfill=void 0;var rA=pD(),pc=fp(),o3n=5*60*1e3,kg={jsonrpc:"2.0",id:0},Khe=class{constructor(e){this.logFilters=new Map,this.blockFilters=new Set,this.pendingTransactionFilters=new Set,this.cursors=new Map,this.timeouts=new Map,this.nextFilterId=(0,rA.IntNumber)(1),this.REQUEST_THROTTLE_INTERVAL=1e3,this.lastFetchTimestamp=new Date(0),this.resolvers=[],this.provider=e}async newFilter(e){let n=lh0(e),a=this.makeFilterId(),r=await this.setInitialCursorPosition(a,n.fromBlock);return console.info(`Installing new log filter(${a}):`,n,"initial cursor position:",r),this.logFilters.set(a,n),this.setFilterTimeout(a),(0,pc.hexStringFromIntNumber)(a)}async newBlockFilter(){let e=this.makeFilterId(),n=await this.setInitialCursorPosition(e,"latest");return console.info(`Installing new block filter (${e}) with initial cursor position:`,n),this.blockFilters.add(e),this.setFilterTimeout(e),(0,pc.hexStringFromIntNumber)(e)}async newPendingTransactionFilter(){let e=this.makeFilterId(),n=await this.setInitialCursorPosition(e,"latest");return console.info(`Installing new block filter (${e}) with initial cursor position:`,n),this.pendingTransactionFilters.add(e),this.setFilterTimeout(e),(0,pc.hexStringFromIntNumber)(e)}uninstallFilter(e){let n=(0,pc.intNumberFromHexString)(e);return console.info(`Uninstalling filter (${n})`),this.deleteFilter(n),!0}getFilterChanges(e){let n=(0,pc.intNumberFromHexString)(e);return this.timeouts.has(n)&&this.setFilterTimeout(n),this.logFilters.has(n)?this.getLogFilterChanges(n):this.blockFilters.has(n)?this.getBlockFilterChanges(n):this.pendingTransactionFilters.has(n)?this.getPendingTransactionFilterChanges(n):Promise.resolve(YY())}async getFilterLogs(e){let n=(0,pc.intNumberFromHexString)(e),a=this.logFilters.get(n);return a?this.sendAsyncPromise(Object.assign(Object.assign({},kg),{method:"eth_getLogs",params:[oh0(a)]})):YY()}makeFilterId(){return(0,rA.IntNumber)(++this.nextFilterId)}sendAsyncPromise(e){return new Promise((n,a)=>{this.provider.sendAsync(e,(r,f)=>{if(r)return a(r);if(Array.isArray(f)||f==null)return a(new Error(`unexpected response received: ${JSON.stringify(f)}`));n(f)})})}deleteFilter(e){console.info(`Deleting filter (${e})`),this.logFilters.delete(e),this.blockFilters.delete(e),this.pendingTransactionFilters.delete(e),this.cursors.delete(e),this.timeouts.delete(e)}async getLogFilterChanges(e){let n=this.logFilters.get(e),a=this.cursors.get(e);if(!a||!n)return YY();let r=await this.getCurrentBlockHeight(),f=n.toBlock==="latest"?r:n.toBlock;if(a>r||a>Number(n.toBlock))return $Y();console.info(`Fetching logs from ${a} to ${f} for filter ${e}`);let i=await this.sendAsyncPromise(Object.assign(Object.assign({},kg),{method:"eth_getLogs",params:[oh0(Object.assign(Object.assign({},n),{fromBlock:a,toBlock:f}))]}));if(Array.isArray(i.result)){let s=i.result.map(c=>(0,pc.intNumberFromHexString)(c.blockNumber||"0x0")),o=Math.max(...s);if(o&&o>a){let c=(0,rA.IntNumber)(o+1);console.info(`Moving cursor position for filter (${e}) from ${a} to ${c}`),this.cursors.set(e,c)}}return i}async getBlockFilterChanges(e){let n=this.cursors.get(e);if(!n)return YY();let a=await this.getCurrentBlockHeight();if(n>a)return $Y();console.info(`Fetching blocks from ${n} to ${a} for filter (${e})`);let r=(await Promise.all((0,pc.range)(n,a+1).map(i=>this.getBlockHashByNumber((0,rA.IntNumber)(i))))).filter(i=>!!i),f=(0,rA.IntNumber)(n+r.length);return console.info(`Moving cursor position for filter (${e}) from ${n} to ${f}`),this.cursors.set(e,f),Object.assign(Object.assign({},kg),{result:r})}async getPendingTransactionFilterChanges(e){return Promise.resolve($Y())}async setInitialCursorPosition(e,n){let a=await this.getCurrentBlockHeight(),r=typeof n=="number"&&n>a?n:a;return this.cursors.set(e,r),r}setFilterTimeout(e){let n=this.timeouts.get(e);n&&window.clearTimeout(n);let a=window.setTimeout(()=>{console.info(`Filter (${e}) timed out`),this.deleteFilter(e)},o3n);this.timeouts.set(e,a)}async getCurrentBlockHeight(){let e=new Date;if(e.getTime()-this.lastFetchTimestamp.getTime()>this.REQUEST_THROTTLE_INTERVAL){this.lastFetchTimestamp=e;let n=await this._getCurrentBlockHeight();this.currentBlockHeight=n,this.resolvers.forEach(a=>a(n)),this.resolvers=[]}return this.currentBlockHeight?this.currentBlockHeight:new Promise(n=>this.resolvers.push(n))}async _getCurrentBlockHeight(){let{result:e}=await this.sendAsyncPromise(Object.assign(Object.assign({},kg),{method:"eth_blockNumber",params:[]}));return(0,pc.intNumberFromHexString)((0,pc.ensureHexString)(e))}async getBlockHashByNumber(e){let n=await this.sendAsyncPromise(Object.assign(Object.assign({},kg),{method:"eth_getBlockByNumber",params:[(0,pc.hexStringFromIntNumber)(e),!1]}));return n.result&&typeof n.result.hash=="string"?(0,pc.ensureHexString)(n.result.hash):null}};fA.FilterPolyfill=Khe;function lh0(t){return{fromBlock:ch0(t.fromBlock),toBlock:ch0(t.toBlock),addresses:t.address===void 0?null:Array.isArray(t.address)?t.address:[t.address],topics:t.topics||[]}}fA.filterFromParam=lh0;function oh0(t){let e={fromBlock:dh0(t.fromBlock),toBlock:dh0(t.toBlock),topics:t.topics};return t.addresses!==null&&(e.address=t.addresses),e}function ch0(t){if(t===void 0||t==="latest"||t==="pending")return"latest";if(t==="earliest")return(0,rA.IntNumber)(0);if((0,pc.isHexString)(t))return(0,pc.intNumberFromHexString)(t);throw new Error(`Invalid block option: ${String(t)}`)}function dh0(t){return t==="latest"?t:(0,pc.hexStringFromIntNumber)(t)}function YY(){return Object.assign(Object.assign({},kg),{error:{code:-32e3,message:"filter not found"}})}function $Y(){return Object.assign(Object.assign({},kg),{result:[]})}});var JY=D((SYa,ph0)=>{u();p();ph0.exports=c3n;function c3n(t){t=t||{};var e=t.max||Number.MAX_SAFE_INTEGER,n=typeof t.start<"u"?t.start:Math.floor(Math.random()*e);return function(){return n=n%e,n++}}});var mh0=D((BYa,bh0)=>{"use strict";u();p();var hh0=(t,e)=>function(){let n=e.promiseModule,a=new Array(arguments.length);for(let r=0;r{e.errorFirst?a.push(function(i,s){if(e.multiArgs){let o=new Array(arguments.length-1);for(let c=1;c{e=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},e);let n=r=>{let f=i=>typeof i=="string"?r===i:i.test(r);return e.include?e.include.some(f):!e.exclude.some(f)},a;typeof t=="function"?a=function(){return e.excludeMain?t.apply(this,arguments):hh0(t,e).apply(this,arguments)}:a=Object.create(Object.getPrototypeOf(t));for(let r in t){let f=t[r];a[r]=typeof f=="function"&&n(r)?hh0(f,e):f}return a}});var XY=D(Vhe=>{"use strict";u();p();Object.defineProperty(Vhe,"__esModule",{value:!0});var d3n=Nr();function yh0(t,e,n){try{Reflect.apply(t,e,n)}catch(a){setTimeout(()=>{throw a})}}function l3n(t){let e=t.length,n=new Array(e);for(let a=0;a0&&([i]=n),i instanceof Error)throw i;let s=new Error(`Unhandled error.${i?` (${i.message})`:""}`);throw s.context=i,s}let f=r[e];if(f===void 0)return!1;if(typeof f=="function")yh0(f,this,n);else{let i=f.length,s=l3n(f);for(let o=0;o{"use strict";u();p();var u3n=iA&&iA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(iA,"__esModule",{value:!0});iA.BaseBlockTracker=void 0;var p3n=u3n(XY()),h3n=1e3,b3n=(t,e)=>t+e,gh0=["sync","latest"],Yhe=class extends p3n.default{constructor(e){super(),this._blockResetDuration=e.blockResetDuration||20*h3n,this._usePastBlocks=e.usePastBlocks||!1,this._currentBlock=null,this._isRunning=!1,this._onNewListener=this._onNewListener.bind(this),this._onRemoveListener=this._onRemoveListener.bind(this),this._resetCurrentBlock=this._resetCurrentBlock.bind(this),this._setupInternalEvents()}async destroy(){this._cancelBlockResetTimeout(),await this._maybeEnd(),super.removeAllListeners()}isRunning(){return this._isRunning}getCurrentBlock(){return this._currentBlock}async getLatestBlock(){return this._currentBlock?this._currentBlock:await new Promise(n=>this.once("latest",n))}removeAllListeners(e){return e?super.removeAllListeners(e):super.removeAllListeners(),this._setupInternalEvents(),this._onRemoveListener(),this}_setupInternalEvents(){this.removeListener("newListener",this._onNewListener),this.removeListener("removeListener",this._onRemoveListener),this.on("newListener",this._onNewListener),this.on("removeListener",this._onRemoveListener)}_onNewListener(e){gh0.includes(e)&&this._maybeStart()}_onRemoveListener(){this._getBlockTrackerEventCount()>0||this._maybeEnd()}async _maybeStart(){this._isRunning||(this._isRunning=!0,this._cancelBlockResetTimeout(),await this._start(),this.emit("_started"))}async _maybeEnd(){this._isRunning&&(this._isRunning=!1,this._setupBlockResetTimeout(),await this._end(),this.emit("_ended"))}_getBlockTrackerEventCount(){return gh0.map(e=>this.listenerCount(e)).reduce(b3n)}_shouldUseNewBlock(e){let n=this._currentBlock;if(!n)return!0;let a=vh0(e),r=vh0(n);return this._usePastBlocks&&ar}_newPotentialLatest(e){this._shouldUseNewBlock(e)&&this._setCurrentBlock(e)}_setCurrentBlock(e){let n=this._currentBlock;this._currentBlock=e,this.emit("latest",e),this.emit("sync",{oldBlock:n,newBlock:e})}_setupBlockResetTimeout(){this._cancelBlockResetTimeout(),this._blockResetTimeout=setTimeout(this._resetCurrentBlock,this._blockResetDuration),this._blockResetTimeout.unref&&this._blockResetTimeout.unref()}_cancelBlockResetTimeout(){this._blockResetTimeout&&clearTimeout(this._blockResetTimeout)}_resetCurrentBlock(){this._currentBlock=null}};iA.BaseBlockTracker=Yhe;function vh0(t){return Number.parseInt(t,16)}});var s4=D((ZY,wh0)=>{u();p();(function(t,e){typeof ZY=="object"&&typeof wh0<"u"?e(ZY):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.Superstruct={}))})(ZY,function(t){"use strict";class e extends TypeError{constructor(he,Te){let Ce,{message:Se,explanation:Qe,...u0}=he,{path:qe}=he,v0=qe.length===0?Se:`At path: ${qe.join(".")} -- ${Se}`;super(Qe??v0),Qe!=null&&(this.cause=v0),Object.assign(this,u0),this.name=this.constructor.name,this.failures=()=>Ce??(Ce=[he,...Te()])}}function n(pe){return a(pe)&&typeof pe[Symbol.iterator]=="function"}function a(pe){return typeof pe=="object"&&pe!=null}function r(pe){if(Object.prototype.toString.call(pe)!=="[object Object]")return!1;let he=Object.getPrototypeOf(pe);return he===null||he===Object.prototype}function f(pe){return typeof pe=="symbol"?pe.toString():typeof pe=="string"?JSON.stringify(pe):`${pe}`}function i(pe){let{done:he,value:Te}=pe.next();return he?void 0:Te}function s(pe,he,Te,Ce){if(pe===!0)return;pe===!1?pe={}:typeof pe=="string"&&(pe={message:pe});let{path:Se,branch:Qe}=he,{type:u0}=Te,{refinement:qe,message:v0=`Expected a value of type \`${u0}\`${qe?` with refinement \`${qe}\``:""}, but received: \`${f(Ce)}\``}=pe;return{value:Ce,type:u0,refinement:qe,key:Se[Se.length-1],path:Se,branch:Qe,...pe,message:v0}}function*o(pe,he,Te,Ce){n(pe)||(pe=[pe]);for(let Se of pe){let Qe=s(Se,he,Te,Ce);Qe&&(yield Qe)}}function*c(pe,he,Te={}){let{path:Ce=[],branch:Se=[pe],coerce:Qe=!1,mask:u0=!1}=Te,qe={path:Ce,branch:Se};if(Qe&&(pe=he.coercer(pe,qe),u0&&he.type!=="type"&&a(he.schema)&&a(pe)&&!Array.isArray(pe)))for(let w0 in pe)he.schema[w0]===void 0&&delete pe[w0];let v0="valid";for(let w0 of he.validator(pe,qe))w0.explanation=Te.message,v0="not_valid",yield[w0,void 0];for(let[w0,Ve,be]of he.entries(pe,qe)){let ye=c(Ve,be,{path:w0===void 0?Ce:[...Ce,w0],branch:w0===void 0?Se:[...Se,Ve],coerce:Qe,mask:u0,message:Te.message});for(let _e of ye)_e[0]?(v0=_e[0].refinement!=null?"not_refined":"not_valid",yield[_e[0],void 0]):Qe&&(Ve=_e[1],w0===void 0?pe=Ve:pe instanceof Map?pe.set(w0,Ve):pe instanceof Set?pe.add(Ve):a(pe)&&(Ve!==void 0||w0 in pe)&&(pe[w0]=Ve))}if(v0!=="not_valid")for(let w0 of he.refiner(pe,qe))w0.explanation=Te.message,v0="not_refined",yield[w0,void 0];v0==="valid"&&(yield[void 0,pe])}class d{constructor(he){let{type:Te,schema:Ce,validator:Se,refiner:Qe,coercer:u0=v0=>v0,entries:qe=function*(){}}=he;this.type=Te,this.schema=Ce,this.entries=qe,this.coercer=u0,Se?this.validator=(v0,w0)=>{let Ve=Se(v0,w0);return o(Ve,w0,this,v0)}:this.validator=()=>[],Qe?this.refiner=(v0,w0)=>{let Ve=Qe(v0,w0);return o(Ve,w0,this,v0)}:this.refiner=()=>[]}assert(he,Te){return l(he,this,Te)}create(he,Te){return h(he,this,Te)}is(he){return v(he,this)}mask(he,Te){return y(he,this,Te)}validate(he,Te={}){return k(he,this,Te)}}function l(pe,he,Te){let Ce=k(pe,he,{message:Te});if(Ce[0])throw Ce[0]}function h(pe,he,Te){let Ce=k(pe,he,{coerce:!0,message:Te});if(Ce[0])throw Ce[0];return Ce[1]}function y(pe,he,Te){let Ce=k(pe,he,{coerce:!0,mask:!0,message:Te});if(Ce[0])throw Ce[0];return Ce[1]}function v(pe,he){return!k(pe,he)[0]}function k(pe,he,Te={}){let Ce=c(pe,he,Te),Se=i(Ce);return Se[0]?[new e(Se[0],function*(){for(let u0 of Ce)u0[0]&&(yield u0[0])}),void 0]:[void 0,Se[1]]}function O(...pe){let he=pe[0].type==="type",Te=pe.map(Se=>Se.schema),Ce=Object.assign({},...Te);return he?re(Ce):ee(Ce)}function F(pe,he){return new d({type:pe,schema:null,validator:he})}function z(pe,he){return new d({...pe,refiner:(Te,Ce)=>Te===void 0||pe.refiner(Te,Ce),validator(Te,Ce){return Te===void 0?!0:(he(Te,Ce),pe.validator(Te,Ce))}})}function W(pe){return new d({type:"dynamic",schema:null,*entries(he,Te){yield*pe(he,Te).entries(he,Te)},validator(he,Te){return pe(he,Te).validator(he,Te)},coercer(he,Te){return pe(he,Te).coercer(he,Te)},refiner(he,Te){return pe(he,Te).refiner(he,Te)}})}function j(pe){let he;return new d({type:"lazy",schema:null,*entries(Te,Ce){he??(he=pe()),yield*he.entries(Te,Ce)},validator(Te,Ce){return he??(he=pe()),he.validator(Te,Ce)},coercer(Te,Ce){return he??(he=pe()),he.coercer(Te,Ce)},refiner(Te,Ce){return he??(he=pe()),he.refiner(Te,Ce)}})}function Q(pe,he){let{schema:Te}=pe,Ce={...Te};for(let Se of he)delete Ce[Se];switch(pe.type){case"type":return re(Ce);default:return ee(Ce)}}function V(pe){let he=pe instanceof d,Te=he?{...pe.schema}:{...pe};for(let Ce in Te)Te[Ce]=U(Te[Ce]);return he&&pe.type==="type"?re(Te):ee(Te)}function X(pe,he){let{schema:Te}=pe,Ce={};for(let Se of he)Ce[Se]=Te[Se];switch(pe.type){case"type":return re(Ce);default:return ee(Ce)}}function K(pe,he){return console.warn("superstruct@0.11 - The `struct` helper has been renamed to `define`."),F(pe,he)}function G(){return F("any",()=>!0)}function R(pe){return new d({type:"array",schema:pe,*entries(he){if(pe&&Array.isArray(he))for(let[Te,Ce]of he.entries())yield[Te,Ce,pe]},coercer(he){return Array.isArray(he)?he.slice():he},validator(he){return Array.isArray(he)||`Expected an array value, but received: ${f(he)}`}})}function T(){return F("bigint",pe=>typeof pe=="bigint")}function N(){return F("boolean",pe=>typeof pe=="boolean")}function w(){return F("date",pe=>pe instanceof Date&&!isNaN(pe.getTime())||`Expected a valid \`Date\` object, but received: ${f(pe)}`)}function m(pe){let he={},Te=pe.map(Ce=>f(Ce)).join();for(let Ce of pe)he[Ce]=Ce;return new d({type:"enums",schema:he,validator(Ce){return pe.includes(Ce)||`Expected one of \`${Te}\`, but received: ${f(Ce)}`}})}function A(){return F("func",pe=>typeof pe=="function"||`Expected a function, but received: ${f(pe)}`)}function P(pe){return F("instance",he=>he instanceof pe||`Expected a \`${pe.name}\` instance, but received: ${f(he)}`)}function L(){return F("integer",pe=>typeof pe=="number"&&!isNaN(pe)&&Number.isInteger(pe)||`Expected an integer, but received: ${f(pe)}`)}function x(pe){return new d({type:"intersection",schema:null,*entries(he,Te){for(let Ce of pe)yield*Ce.entries(he,Te)},*validator(he,Te){for(let Ce of pe)yield*Ce.validator(he,Te)},*refiner(he,Te){for(let Ce of pe)yield*Ce.refiner(he,Te)}})}function g(pe){let he=f(pe),Te=typeof pe;return new d({type:"literal",schema:Te==="string"||Te==="number"||Te==="boolean"?pe:null,validator(Ce){return Ce===pe||`Expected the literal \`${he}\`, but received: ${f(Ce)}`}})}function B(pe,he){return new d({type:"map",schema:null,*entries(Te){if(pe&&he&&Te instanceof Map)for(let[Ce,Se]of Te.entries())yield[Ce,Ce,pe],yield[Ce,Se,he]},coercer(Te){return Te instanceof Map?new Map(Te):Te},validator(Te){return Te instanceof Map||`Expected a \`Map\` object, but received: ${f(Te)}`}})}function M(){return F("never",()=>!1)}function S(pe){return new d({...pe,validator:(he,Te)=>he===null||pe.validator(he,Te),refiner:(he,Te)=>he===null||pe.refiner(he,Te)})}function q(){return F("number",pe=>typeof pe=="number"&&!isNaN(pe)||`Expected a number, but received: ${f(pe)}`)}function ee(pe){let he=pe?Object.keys(pe):[],Te=M();return new d({type:"object",schema:pe||null,*entries(Ce){if(pe&&a(Ce)){let Se=new Set(Object.keys(Ce));for(let Qe of he)Se.delete(Qe),yield[Qe,Ce[Qe],pe[Qe]];for(let Qe of Se)yield[Qe,Ce[Qe],Te]}},validator(Ce){return a(Ce)||`Expected an object, but received: ${f(Ce)}`},coercer(Ce){return a(Ce)?{...Ce}:Ce}})}function U(pe){return new d({...pe,validator:(he,Te)=>he===void 0||pe.validator(he,Te),refiner:(he,Te)=>he===void 0||pe.refiner(he,Te)})}function J(pe,he){return new d({type:"record",schema:null,*entries(Te){if(a(Te))for(let Ce in Te){let Se=Te[Ce];yield[Ce,Ce,pe],yield[Ce,Se,he]}},validator(Te){return a(Te)||`Expected an object, but received: ${f(Te)}`}})}function Z(){return F("regexp",pe=>pe instanceof RegExp)}function ne(pe){return new d({type:"set",schema:null,*entries(he){if(pe&&he instanceof Set)for(let Te of he)yield[Te,Te,pe]},coercer(he){return he instanceof Set?new Set(he):he},validator(he){return he instanceof Set||`Expected a \`Set\` object, but received: ${f(he)}`}})}function ue(){return F("string",pe=>typeof pe=="string"||`Expected a string, but received: ${f(pe)}`)}function Y(pe){let he=M();return new d({type:"tuple",schema:null,*entries(Te){if(Array.isArray(Te)){let Ce=Math.max(pe.length,Te.length);for(let Se=0;SeTe.type).join(" | ");return new d({type:"union",schema:null,coercer(Te){for(let Ce of pe){let[Se,Qe]=Ce.validate(Te,{coerce:!0});if(!Se)return Qe}return Te},validator(Te,Ce){let Se=[];for(let Qe of pe){let[...u0]=c(Te,Qe,Ce),[qe]=u0;if(qe[0])for(let[v0]of u0)v0&&Se.push(v0);else return[]}return[`Expected the value to satisfy a union of \`${he}\`, but received: ${f(Te)}`,...Se]}})}function ge(){return F("unknown",()=>!0)}function de(pe,he,Te){return new d({...pe,coercer:(Ce,Se)=>v(Ce,he)?pe.coercer(Te(Ce,Se),Se):pe.coercer(Ce,Se)})}function Ae(pe,he,Te={}){return de(pe,ge(),Ce=>{let Se=typeof he=="function"?he():he;if(Ce===void 0)return Se;if(!Te.strict&&r(Ce)&&r(Se)){let Qe={...Ce},u0=!1;for(let qe in Se)Qe[qe]===void 0&&(Qe[qe]=Se[qe],u0=!0);if(u0)return Qe}return Ce})}function Ge(pe){return de(pe,ue(),he=>he.trim())}function Be(pe){return I0(pe,"empty",he=>{let Te=c0(he);return Te===0||`Expected an empty ${pe.type} but received one with a size of \`${Te}\``})}function c0(pe){return pe instanceof Map||pe instanceof Set?pe.size:pe.length}function Ye(pe,he,Te={}){let{exclusive:Ce}=Te;return I0(pe,"max",Se=>Ce?SeCe?Se>he:Se>=he||`Expected a ${pe.type} greater than ${Ce?"":"or equal to "}${he} but received \`${Se}\``)}function _0(pe){return I0(pe,"nonempty",he=>c0(he)>0||`Expected a nonempty ${pe.type} but received an empty one`)}function L0(pe,he){return I0(pe,"pattern",Te=>he.test(Te)||`Expected a ${pe.type} matching \`/${he.source}/\` but received "${Te}"`)}function Ze(pe,he,Te=he){let Ce=`Expected a ${pe.type}`,Se=he===Te?`of \`${he}\``:`between \`${he}\` and \`${Te}\``;return I0(pe,"size",Qe=>{if(typeof Qe=="number"||Qe instanceof Date)return he<=Qe&&Qe<=Te||`${Ce} ${Se} but received \`${Qe}\``;if(Qe instanceof Map||Qe instanceof Set){let{size:u0}=Qe;return he<=u0&&u0<=Te||`${Ce} with a size ${Se} but received one with a size of \`${u0}\``}else{let{length:u0}=Qe;return he<=u0&&u0<=Te||`${Ce} with a length ${Se} but received one with a length of \`${u0}\``}})}function I0(pe,he,Te){return new d({...pe,*refiner(Ce,Se){yield*pe.refiner(Ce,Se);let Qe=Te(Ce,Se),u0=o(Qe,Se,pe,Ce);for(let qe of u0)yield{...qe,refinement:he}}})}t.Struct=d,t.StructError=e,t.any=G,t.array=R,t.assert=l,t.assign=O,t.bigint=T,t.boolean=N,t.coerce=de,t.create=h,t.date=w,t.defaulted=Ae,t.define=F,t.deprecated=z,t.dynamic=W,t.empty=Be,t.enums=m,t.func=A,t.instance=P,t.integer=L,t.intersection=x,t.is=v,t.lazy=j,t.literal=g,t.map=B,t.mask=y,t.max=Ye,t.min=He,t.never=M,t.nonempty=_0,t.nullable=S,t.number=q,t.object=ee,t.omit=Q,t.optional=U,t.partial=V,t.pattern=L0,t.pick=X,t.record=J,t.refine=I0,t.regexp=Z,t.set=ne,t.size=Ze,t.string=ue,t.struct=K,t.trimmed=Ge,t.tuple=Y,t.type=re,t.union=ie,t.unknown=ge,t.validate=k})});var Fh=D(up=>{"use strict";u();p();Object.defineProperty(up,"__esModule",{value:!0});up.assertExhaustive=up.assertStruct=up.assert=up.AssertionError=void 0;var m3n=s4();function y3n(t){return typeof t=="object"&&t!==null&&"message"in t}function g3n(t){var e,n;return typeof((n=(e=t?.prototype)===null||e===void 0?void 0:e.constructor)===null||n===void 0?void 0:n.name)=="string"}function v3n(t){let e=y3n(t)?t.message:String(t);return e.endsWith(".")?e.slice(0,-1):e}function Th0(t,e){return g3n(t)?new t({message:e}):t({message:e})}var AD=class extends Error{constructor(e){super(e.message),this.code="ERR_ASSERTION"}};up.AssertionError=AD;function w3n(t,e="Assertion failed.",n=AD){if(!t)throw e instanceof Error?e:Th0(n,e)}up.assert=w3n;function T3n(t,e,n="Assertion failed",a=AD){try{(0,m3n.assert)(t,e)}catch(r){throw Th0(a,`${n}: ${v3n(r)}.`)}}up.assertStruct=T3n;function x3n(t){throw new Error("Invalid branch reached. Should be detected during compilation.")}up.assertExhaustive=x3n});var Jhe=D(e$=>{"use strict";u();p();Object.defineProperty(e$,"__esModule",{value:!0});e$.base64=void 0;var E3n=s4(),_3n=Fh(),A3n=(t,e={})=>{var n,a;let r=(n=e.paddingRequired)!==null&&n!==void 0?n:!1,f=(a=e.characterSet)!==null&&a!==void 0?a:"base64",i;f==="base64"?i=String.raw`[A-Za-z0-9+\/]`:((0,_3n.assert)(f==="base64url"),i=String.raw`[-_A-Za-z0-9]`);let s;return r?s=new RegExp(`^(?:${i}{4})*(?:${i}{3}=|${i}{2}==)?$`,"u"):s=new RegExp(`^(?:${i}{4})*(?:${i}{2,3}|${i}{3}=|${i}{2}==)?$`,"u"),(0,E3n.pattern)(t,s)};e$.base64=A3n});var CD=D(zi=>{"use strict";u();p();Object.defineProperty(zi,"__esModule",{value:!0});zi.remove0x=zi.add0x=zi.assertIsStrictHexString=zi.assertIsHexString=zi.isStrictHexString=zi.isHexString=zi.StrictHexStruct=zi.HexStruct=void 0;var sA=s4(),xh0=Fh();zi.HexStruct=(0,sA.pattern)((0,sA.string)(),/^(?:0x)?[0-9a-f]+$/iu);zi.StrictHexStruct=(0,sA.pattern)((0,sA.string)(),/^0x[0-9a-f]+$/iu);function Eh0(t){return(0,sA.is)(t,zi.HexStruct)}zi.isHexString=Eh0;function _h0(t){return(0,sA.is)(t,zi.StrictHexStruct)}zi.isStrictHexString=_h0;function C3n(t){(0,xh0.assert)(Eh0(t),"Value must be a hexadecimal string.")}zi.assertIsHexString=C3n;function I3n(t){(0,xh0.assert)(_h0(t),'Value must be a hexadecimal string, starting with "0x".')}zi.assertIsStrictHexString=I3n;function k3n(t){return t.startsWith("0x")?t:t.startsWith("0X")?`0x${t.substring(2)}`:`0x${t}`}zi.add0x=k3n;function S3n(t){return t.startsWith("0x")||t.startsWith("0X")?t.substring(2):t}zi.remove0x=S3n});var e3e=D(Na=>{"use strict";u();p();Object.defineProperty(Na,"__esModule",{value:!0});Na.createDataView=Na.concatBytes=Na.valueToBytes=Na.stringToBytes=Na.numberToBytes=Na.signedBigIntToBytes=Na.bigIntToBytes=Na.hexToBytes=Na.bytesToString=Na.bytesToNumber=Na.bytesToSignedBigInt=Na.bytesToBigInt=Na.bytesToHex=Na.assertIsBytes=Na.isBytes=void 0;var K6=Fh(),Xhe=CD(),Ah0=48,Ch0=58,Ih0=87;function R3n(){let t=[];return()=>{if(t.length===0)for(let e=0;e<256;e++)t.push(e.toString(16).padStart(2,"0"));return t}}var M3n=R3n();function Zhe(t){return t instanceof Uint8Array}Na.isBytes=Zhe;function oA(t){(0,K6.assert)(Zhe(t),"Value must be a Uint8Array.")}Na.assertIsBytes=oA;function kh0(t){if(oA(t),t.length===0)return"0x";let e=M3n(),n=new Array(t.length);for(let a=0;a=BigInt(0),"Value must be a non-negative bigint.");let e=t.toString(16);return t$(e)}Na.bigIntToBytes=Rh0;function L3n(t,e){(0,K6.assert)(e>0);let n=t>>BigInt(31);return!((~t&n)+(t&~n)>>BigInt(e*8+-1))}function F3n(t,e){(0,K6.assert)(typeof t=="bigint","Value must be a bigint."),(0,K6.assert)(typeof e=="number","Byte length must be a number."),(0,K6.assert)(e>0,"Byte length must be greater than 0."),(0,K6.assert)(L3n(t,e),"Byte length is too small to represent the given value.");let n=t,a=new Uint8Array(e);for(let r=0;r>=BigInt(8);return a.reverse()}Na.signedBigIntToBytes=F3n;function Mh0(t){(0,K6.assert)(typeof t=="number","Value must be a number."),(0,K6.assert)(t>=0,"Value must be a non-negative number."),(0,K6.assert)(Number.isSafeInteger(t),"Value is not a safe integer. Use `bigIntToBytes` instead.");let e=t.toString(16);return t$(e)}Na.numberToBytes=Mh0;function Bh0(t){return(0,K6.assert)(typeof t=="string","Value must be a string."),new TextEncoder().encode(t)}Na.stringToBytes=Bh0;function Dh0(t){if(typeof t=="bigint")return Rh0(t);if(typeof t=="number")return Mh0(t);if(typeof t=="string")return t.startsWith("0x")?t$(t):Bh0(t);if(Zhe(t))return t;throw new TypeError(`Unsupported value type: "${typeof t}".`)}Na.valueToBytes=Dh0;function N3n(t){let e=new Array(t.length),n=0;for(let r=0;r{"use strict";u();p();Object.defineProperty(n$,"__esModule",{value:!0});n$.ChecksumStruct=void 0;var Ph0=s4(),U3n=Jhe();n$.ChecksumStruct=(0,Ph0.size)((0,U3n.base64)((0,Ph0.string)(),{paddingRequired:!0}),44,44)});var Oh0=D(pp=>{"use strict";u();p();Object.defineProperty(pp,"__esModule",{value:!0});pp.createHex=pp.createBytes=pp.createBigInt=pp.createNumber=void 0;var Nf=s4(),H3n=Fh(),Fh0=e3e(),a$=CD(),Nh0=(0,Nf.union)([(0,Nf.number)(),(0,Nf.bigint)(),(0,Nf.string)(),a$.StrictHexStruct]),z3n=(0,Nf.coerce)((0,Nf.number)(),Nh0,Number),W3n=(0,Nf.coerce)((0,Nf.bigint)(),Nh0,BigInt),r$a=(0,Nf.union)([a$.StrictHexStruct,(0,Nf.instance)(Uint8Array)]),q3n=(0,Nf.coerce)((0,Nf.instance)(Uint8Array),(0,Nf.union)([a$.StrictHexStruct]),Fh0.hexToBytes),j3n=(0,Nf.coerce)(a$.StrictHexStruct,(0,Nf.instance)(Uint8Array),Fh0.bytesToHex);function G3n(t){try{let e=(0,Nf.create)(t,z3n);return(0,H3n.assert)(Number.isFinite(e),`Expected a number-like value, got "${t}".`),e}catch(e){throw e instanceof Nf.StructError?new Error(`Expected a number-like value, got "${t}".`):e}}pp.createNumber=G3n;function K3n(t){try{return(0,Nf.create)(t,W3n)}catch(e){throw e instanceof Nf.StructError?new Error(`Expected a number-like value, got "${String(e.value)}".`):e}}pp.createBigInt=K3n;function Q3n(t){if(typeof t=="string"&&t.toLowerCase()==="0x")return new Uint8Array;try{return(0,Nf.create)(t,q3n)}catch(e){throw e instanceof Nf.StructError?new Error(`Expected a bytes-like value, got "${String(e.value)}".`):e}}pp.createBytes=Q3n;function V3n(t){if(t instanceof Uint8Array&&t.length===0||typeof t=="string"&&t.toLowerCase()==="0x")return"0x";try{return(0,Nf.create)(t,j3n)}catch(e){throw e instanceof Nf.StructError?new Error(`Expected a bytes-like value, got "${String(e.value)}".`):e}}pp.createHex=V3n});var Hh0=D(bp=>{"use strict";u();p();var Uh0=bp&&bp.__classPrivateFieldSet||function(t,e,n,a,r){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!r)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?r.call(t,n):r?r.value=n:e.set(t,n),n},hc=bp&&bp.__classPrivateFieldGet||function(t,e,n,a){if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?a:n==="a"?a.call(t):a?a.value:e.get(t)},Ql,hp;Object.defineProperty(bp,"__esModule",{value:!0});bp.FrozenSet=bp.FrozenMap=void 0;var ID=class{constructor(e){Ql.set(this,void 0),Uh0(this,Ql,new Map(e),"f"),Object.freeze(this)}get size(){return hc(this,Ql,"f").size}[(Ql=new WeakMap,Symbol.iterator)](){return hc(this,Ql,"f")[Symbol.iterator]()}entries(){return hc(this,Ql,"f").entries()}forEach(e,n){return hc(this,Ql,"f").forEach((a,r,f)=>e.call(n,a,r,this))}get(e){return hc(this,Ql,"f").get(e)}has(e){return hc(this,Ql,"f").has(e)}keys(){return hc(this,Ql,"f").keys()}values(){return hc(this,Ql,"f").values()}toString(){return`FrozenMap(${this.size}) {${this.size>0?` ${[...this.entries()].map(([e,n])=>`${String(e)} => ${String(n)}`).join(", ")} `:""}}`}};bp.FrozenMap=ID;var kD=class{constructor(e){hp.set(this,void 0),Uh0(this,hp,new Set(e),"f"),Object.freeze(this)}get size(){return hc(this,hp,"f").size}[(hp=new WeakMap,Symbol.iterator)](){return hc(this,hp,"f")[Symbol.iterator]()}entries(){return hc(this,hp,"f").entries()}forEach(e,n){return hc(this,hp,"f").forEach((a,r,f)=>e.call(n,a,r,this))}has(e){return hc(this,hp,"f").has(e)}keys(){return hc(this,hp,"f").keys()}values(){return hc(this,hp,"f").values()}toString(){return`FrozenSet(${this.size}) {${this.size>0?` ${[...this.values()].map(e=>String(e)).join(", ")} `:""}}`}};bp.FrozenSet=kD;Object.freeze(ID);Object.freeze(ID.prototype);Object.freeze(kD);Object.freeze(kD.prototype)});var Wh0=D(zh0=>{"use strict";u();p();Object.defineProperty(zh0,"__esModule",{value:!0})});var qh0=D(g0=>{"use strict";u();p();Object.defineProperty(g0,"__esModule",{value:!0});g0.getJsonRpcIdValidator=g0.assertIsJsonRpcError=g0.isJsonRpcError=g0.assertIsJsonRpcFailure=g0.isJsonRpcFailure=g0.assertIsJsonRpcSuccess=g0.isJsonRpcSuccess=g0.assertIsJsonRpcResponse=g0.isJsonRpcResponse=g0.assertIsPendingJsonRpcResponse=g0.isPendingJsonRpcResponse=g0.JsonRpcResponseStruct=g0.JsonRpcFailureStruct=g0.JsonRpcSuccessStruct=g0.PendingJsonRpcResponseStruct=g0.assertIsJsonRpcRequest=g0.isJsonRpcRequest=g0.assertIsJsonRpcNotification=g0.isJsonRpcNotification=g0.JsonRpcNotificationStruct=g0.JsonRpcRequestStruct=g0.JsonRpcParamsStruct=g0.JsonRpcErrorStruct=g0.JsonRpcIdStruct=g0.JsonRpcVersionStruct=g0.jsonrpc2=g0.getJsonSize=g0.isValidJson=g0.JsonStruct=g0.UnsafeJsonStruct=void 0;var zt=s4(),o4=Fh(),Y3n=()=>(0,zt.define)("finite number",t=>(0,zt.is)(t,(0,zt.number)())&&Number.isFinite(t));g0.UnsafeJsonStruct=(0,zt.union)([(0,zt.literal)(null),(0,zt.boolean)(),Y3n(),(0,zt.string)(),(0,zt.array)((0,zt.lazy)(()=>g0.UnsafeJsonStruct)),(0,zt.record)((0,zt.string)(),(0,zt.lazy)(()=>g0.UnsafeJsonStruct))]);g0.JsonStruct=(0,zt.define)("Json",(t,e)=>{function n(a,r){let i=[...r.validator(a,e)];return i.length>0?i:!0}try{let a=n(t,g0.UnsafeJsonStruct);return a!==!0?a:n(JSON.parse(JSON.stringify(t)),g0.UnsafeJsonStruct)}catch(a){return a instanceof RangeError?"Circular reference detected":!1}});function $3n(t){return(0,zt.is)(t,g0.JsonStruct)}g0.isValidJson=$3n;function J3n(t){(0,o4.assertStruct)(t,g0.JsonStruct,"Invalid JSON value");let e=JSON.stringify(t);return new TextEncoder().encode(e).byteLength}g0.getJsonSize=J3n;g0.jsonrpc2="2.0";g0.JsonRpcVersionStruct=(0,zt.literal)(g0.jsonrpc2);g0.JsonRpcIdStruct=(0,zt.nullable)((0,zt.union)([(0,zt.number)(),(0,zt.string)()]));g0.JsonRpcErrorStruct=(0,zt.object)({code:(0,zt.integer)(),message:(0,zt.string)(),data:(0,zt.optional)(g0.JsonStruct),stack:(0,zt.optional)((0,zt.string)())});g0.JsonRpcParamsStruct=(0,zt.optional)((0,zt.union)([(0,zt.record)((0,zt.string)(),g0.JsonStruct),(0,zt.array)(g0.JsonStruct)]));g0.JsonRpcRequestStruct=(0,zt.object)({id:g0.JsonRpcIdStruct,jsonrpc:g0.JsonRpcVersionStruct,method:(0,zt.string)(),params:g0.JsonRpcParamsStruct});g0.JsonRpcNotificationStruct=(0,zt.omit)(g0.JsonRpcRequestStruct,["id"]);function X3n(t){return(0,zt.is)(t,g0.JsonRpcNotificationStruct)}g0.isJsonRpcNotification=X3n;function Z3n(t,e){(0,o4.assertStruct)(t,g0.JsonRpcNotificationStruct,"Invalid JSON-RPC notification",e)}g0.assertIsJsonRpcNotification=Z3n;function ebn(t){return(0,zt.is)(t,g0.JsonRpcRequestStruct)}g0.isJsonRpcRequest=ebn;function tbn(t,e){(0,o4.assertStruct)(t,g0.JsonRpcRequestStruct,"Invalid JSON-RPC request",e)}g0.assertIsJsonRpcRequest=tbn;g0.PendingJsonRpcResponseStruct=(0,zt.object)({id:g0.JsonRpcIdStruct,jsonrpc:g0.JsonRpcVersionStruct,result:(0,zt.optional)((0,zt.unknown)()),error:(0,zt.optional)(g0.JsonRpcErrorStruct)});g0.JsonRpcSuccessStruct=(0,zt.object)({id:g0.JsonRpcIdStruct,jsonrpc:g0.JsonRpcVersionStruct,result:g0.JsonStruct});g0.JsonRpcFailureStruct=(0,zt.object)({id:g0.JsonRpcIdStruct,jsonrpc:g0.JsonRpcVersionStruct,error:g0.JsonRpcErrorStruct});g0.JsonRpcResponseStruct=(0,zt.union)([g0.JsonRpcSuccessStruct,g0.JsonRpcFailureStruct]);function nbn(t){return(0,zt.is)(t,g0.PendingJsonRpcResponseStruct)}g0.isPendingJsonRpcResponse=nbn;function abn(t,e){(0,o4.assertStruct)(t,g0.PendingJsonRpcResponseStruct,"Invalid pending JSON-RPC response",e)}g0.assertIsPendingJsonRpcResponse=abn;function rbn(t){return(0,zt.is)(t,g0.JsonRpcResponseStruct)}g0.isJsonRpcResponse=rbn;function fbn(t,e){(0,o4.assertStruct)(t,g0.JsonRpcResponseStruct,"Invalid JSON-RPC response",e)}g0.assertIsJsonRpcResponse=fbn;function ibn(t){return(0,zt.is)(t,g0.JsonRpcSuccessStruct)}g0.isJsonRpcSuccess=ibn;function sbn(t,e){(0,o4.assertStruct)(t,g0.JsonRpcSuccessStruct,"Invalid JSON-RPC success response",e)}g0.assertIsJsonRpcSuccess=sbn;function obn(t){return(0,zt.is)(t,g0.JsonRpcFailureStruct)}g0.isJsonRpcFailure=obn;function cbn(t,e){(0,o4.assertStruct)(t,g0.JsonRpcFailureStruct,"Invalid JSON-RPC failure response",e)}g0.assertIsJsonRpcFailure=cbn;function dbn(t){return(0,zt.is)(t,g0.JsonRpcErrorStruct)}g0.isJsonRpcError=dbn;function lbn(t,e){(0,o4.assertStruct)(t,g0.JsonRpcErrorStruct,"Invalid JSON-RPC error",e)}g0.assertIsJsonRpcError=lbn;function ubn(t){let{permitEmptyString:e,permitFractions:n,permitNull:a}=Object.assign({permitEmptyString:!0,permitFractions:!1,permitNull:!0},t);return f=>!!(typeof f=="number"&&(n||Number.isInteger(f))||typeof f=="string"&&(e||f.length>0)||a&&f===null)}g0.getJsonRpcIdValidator=ubn});var Gh0=D(jh0=>{"use strict";u();p();Object.defineProperty(jh0,"__esModule",{value:!0})});var Qh0=D((w$a,Kh0)=>{u();p();var cA=1e3,dA=cA*60,lA=dA*60,Sg=lA*24,pbn=Sg*7,hbn=Sg*365.25;Kh0.exports=function(t,e){e=e||{};var n=typeof t;if(n==="string"&&t.length>0)return bbn(t);if(n==="number"&&isFinite(t))return e.long?ybn(t):mbn(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function bbn(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]),a=(e[2]||"ms").toLowerCase();switch(a){case"years":case"year":case"yrs":case"yr":case"y":return n*hbn;case"weeks":case"week":case"w":return n*pbn;case"days":case"day":case"d":return n*Sg;case"hours":case"hour":case"hrs":case"hr":case"h":return n*lA;case"minutes":case"minute":case"mins":case"min":case"m":return n*dA;case"seconds":case"second":case"secs":case"sec":case"s":return n*cA;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function mbn(t){var e=Math.abs(t);return e>=Sg?Math.round(t/Sg)+"d":e>=lA?Math.round(t/lA)+"h":e>=dA?Math.round(t/dA)+"m":e>=cA?Math.round(t/cA)+"s":t+"ms"}function ybn(t){var e=Math.abs(t);return e>=Sg?r$(t,e,Sg,"day"):e>=lA?r$(t,e,lA,"hour"):e>=dA?r$(t,e,dA,"minute"):e>=cA?r$(t,e,cA,"second"):t+" ms"}function r$(t,e,n,a){var r=e>=n*1.5;return Math.round(t/n)+" "+a+(r?"s":"")}});var Yh0=D((E$a,Vh0)=>{u();p();function gbn(t){n.debug=n,n.default=n,n.coerce=o,n.disable=f,n.enable=r,n.enabled=i,n.humanize=Qh0(),n.destroy=c,Object.keys(t).forEach(d=>{n[d]=t[d]}),n.names=[],n.skips=[],n.formatters={};function e(d){let l=0;for(let h=0;h{if(V==="%%")return"%";j++;let K=n.formatters[X];if(typeof K=="function"){let G=O[j];V=K.call(F,G),O.splice(j,1),j--}return V}),n.formatArgs.call(F,O),(F.log||n.log).apply(F,O)}return k.namespace=d,k.useColors=n.useColors(),k.color=n.selectColor(d),k.extend=a,k.destroy=n.destroy,Object.defineProperty(k,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(y!==n.namespaces&&(y=n.namespaces,v=n.enabled(d)),v),set:O=>{h=O}}),typeof n.init=="function"&&n.init(k),k}function a(d,l){let h=n(this.namespace+(typeof l>"u"?":":l)+d);return h.log=this.log,h}function r(d){n.save(d),n.namespaces=d,n.names=[],n.skips=[];let l,h=(typeof d=="string"?d:"").split(/[\s,]+/),y=h.length;for(l=0;l"-"+l)].join(",");return n.enable(""),d}function i(d){if(d[d.length-1]==="*")return!0;let l,h;for(l=0,h=n.skips.length;l{u();p();Q6.formatArgs=wbn;Q6.save=Tbn;Q6.load=xbn;Q6.useColors=vbn;Q6.storage=Ebn();Q6.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();Q6.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function vbn(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function wbn(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+f$.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let n=0,a=0;t[0].replace(/%[a-zA-Z%]/g,r=>{r!=="%%"&&(n++,r==="%c"&&(a=n))}),t.splice(a,0,e)}Q6.log=console.debug||console.log||(()=>{});function Tbn(t){try{t?Q6.storage.setItem("debug",t):Q6.storage.removeItem("debug")}catch{}}function xbn(){let t;try{t=Q6.storage.getItem("debug")}catch{}return!t&&typeof E<"u"&&"env"in E&&(t=E.env.DEBUG),t}function Ebn(){try{return localStorage}catch{}}f$.exports=Yh0()(Q6);var{formatters:_bn}=f$.exports;_bn.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Jh0=D(c4=>{"use strict";u();p();var Abn=c4&&c4.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(c4,"__esModule",{value:!0});c4.createModuleLogger=c4.createProjectLogger=void 0;var Cbn=Abn($h0()),Ibn=(0,Cbn.default)("metamask");function kbn(t){return Ibn.extend(t)}c4.createProjectLogger=kbn;function Sbn(t,e){return t.extend(e)}c4.createModuleLogger=Sbn});var Zh0=D(Tf=>{"use strict";u();p();Object.defineProperty(Tf,"__esModule",{value:!0});Tf.calculateNumberSize=Tf.calculateStringSize=Tf.isASCII=Tf.isPlainObject=Tf.ESCAPE_CHARACTERS_REGEXP=Tf.JsonSize=Tf.hasProperty=Tf.isObject=Tf.isNullOrUndefined=Tf.isNonEmptyArray=void 0;function Rbn(t){return Array.isArray(t)&&t.length>0}Tf.isNonEmptyArray=Rbn;function Mbn(t){return t==null}Tf.isNullOrUndefined=Mbn;function Bbn(t){return!!t&&typeof t=="object"&&!Array.isArray(t)}Tf.isObject=Bbn;var Dbn=(t,e)=>Object.hasOwnProperty.call(t,e);Tf.hasProperty=Dbn;var Pbn;(function(t){t[t.Null=4]="Null",t[t.Comma=1]="Comma",t[t.Wrapper=1]="Wrapper",t[t.True=4]="True",t[t.False=5]="False",t[t.Quote=1]="Quote",t[t.Colon=1]="Colon",t[t.Date=24]="Date"})(Pbn=Tf.JsonSize||(Tf.JsonSize={}));Tf.ESCAPE_CHARACTERS_REGEXP=/"|\\|\n|\r|\t/gu;function Lbn(t){if(typeof t!="object"||t===null)return!1;try{let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}catch{return!1}}Tf.isPlainObject=Lbn;function Xh0(t){return t.charCodeAt(0)<=127}Tf.isASCII=Xh0;function Fbn(t){var e;return t.split("").reduce((a,r)=>Xh0(r)?a+1:a+2,0)+((e=t.match(Tf.ESCAPE_CHARACTERS_REGEXP))!==null&&e!==void 0?e:[]).length}Tf.calculateStringSize=Fbn;function Nbn(t){return t.toString().length}Tf.calculateNumberSize=Nbn});var e30=D(mp=>{"use strict";u();p();Object.defineProperty(mp,"__esModule",{value:!0});mp.hexToBigInt=mp.hexToNumber=mp.bigIntToHex=mp.numberToHex=void 0;var uA=Fh(),SD=CD(),Obn=t=>((0,uA.assert)(typeof t=="number","Value must be a number."),(0,uA.assert)(t>=0,"Value must be a non-negative number."),(0,uA.assert)(Number.isSafeInteger(t),"Value is not a safe integer. Use `bigIntToHex` instead."),(0,SD.add0x)(t.toString(16)));mp.numberToHex=Obn;var Ubn=t=>((0,uA.assert)(typeof t=="bigint","Value must be a bigint."),(0,uA.assert)(t>=0,"Value must be a non-negative bigint."),(0,SD.add0x)(t.toString(16)));mp.bigIntToHex=Ubn;var Hbn=t=>{(0,SD.assertIsHexString)(t);let e=parseInt(t,16);return(0,uA.assert)(Number.isSafeInteger(e),"Value is not a safe integer. Use `hexToBigInt` instead."),e};mp.hexToNumber=Hbn;var zbn=t=>((0,SD.assertIsHexString)(t),BigInt((0,SD.add0x)(t)));mp.hexToBigInt=zbn});var n30=D(t30=>{"use strict";u();p();Object.defineProperty(t30,"__esModule",{value:!0})});var r30=D(Nh=>{"use strict";u();p();Object.defineProperty(Nh,"__esModule",{value:!0});Nh.timeSince=Nh.inMilliseconds=Nh.Duration=void 0;var Wbn;(function(t){t[t.Millisecond=1]="Millisecond",t[t.Second=1e3]="Second",t[t.Minute=6e4]="Minute",t[t.Hour=36e5]="Hour",t[t.Day=864e5]="Day",t[t.Week=6048e5]="Week",t[t.Year=31536e6]="Year"})(Wbn=Nh.Duration||(Nh.Duration={}));var qbn=t=>Number.isInteger(t)&&t>=0,a30=(t,e)=>{if(!qbn(t))throw new Error(`"${e}" must be a non-negative integer. Received: "${t}".`)};function jbn(t,e){return a30(t,"count"),t*e}Nh.inMilliseconds=jbn;function Gbn(t){return a30(t,"timestamp"),Date.now()-t}Nh.timeSince=Gbn});var i30=D(f30=>{"use strict";u();p();Object.defineProperty(f30,"__esModule",{value:!0})});var o30=D(xf=>{"use strict";u();p();Object.defineProperty(xf,"__esModule",{value:!0});xf.satisfiesVersionRange=xf.gtRange=xf.gtVersion=xf.assertIsSemVerRange=xf.assertIsSemVerVersion=xf.isValidSemVerRange=xf.isValidSemVerVersion=xf.VersionRangeStruct=xf.VersionStruct=void 0;var RD=Bce(),pA=s4(),s30=Fh();xf.VersionStruct=(0,pA.refine)((0,pA.string)(),"Version",t=>(0,RD.valid)(t)===null?`Expected SemVer version, got "${t}"`:!0);xf.VersionRangeStruct=(0,pA.refine)((0,pA.string)(),"Version range",t=>(0,RD.validRange)(t)===null?`Expected SemVer range, got "${t}"`:!0);function Kbn(t){return(0,pA.is)(t,xf.VersionStruct)}xf.isValidSemVerVersion=Kbn;function Qbn(t){return(0,pA.is)(t,xf.VersionRangeStruct)}xf.isValidSemVerRange=Qbn;function Vbn(t){(0,s30.assertStruct)(t,xf.VersionStruct)}xf.assertIsSemVerVersion=Vbn;function Ybn(t){(0,s30.assertStruct)(t,xf.VersionRangeStruct)}xf.assertIsSemVerRange=Ybn;function $bn(t,e){return(0,RD.gt)(t,e)}xf.gtVersion=$bn;function Jbn(t,e){return(0,RD.gtr)(t,e)}xf.gtRange=Jbn;function Xbn(t,e){return(0,RD.satisfies)(t,e,{includePrerelease:!0})}xf.satisfiesVersionRange=Xbn});var c30=D(Of=>{"use strict";u();p();var Zbn=Of&&Of.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),wo=Of&&Of.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Zbn(e,t,n)};Object.defineProperty(Of,"__esModule",{value:!0});wo(Fh(),Of);wo(Jhe(),Of);wo(e3e(),Of);wo(Lh0(),Of);wo(Oh0(),Of);wo(Hh0(),Of);wo(Wh0(),Of);wo(CD(),Of);wo(qh0(),Of);wo(Gh0(),Of);wo(Jh0(),Of);wo(Zh0(),Of);wo(e30(),Of);wo(n30(),Of);wo(r30(),Of);wo(i30(),Of);wo(o30(),Of)});var l30=D(hA=>{"use strict";u();p();Object.defineProperty(hA,"__esModule",{value:!0});hA.createModuleLogger=hA.projectLogger=void 0;var d30=c30();Object.defineProperty(hA,"createModuleLogger",{enumerable:!0,get:function(){return d30.createModuleLogger}});hA.projectLogger=(0,d30.createProjectLogger)("eth-block-tracker")});var m30=D(bA=>{"use strict";u();p();var b30=bA&&bA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(bA,"__esModule",{value:!0});bA.PollingBlockTracker=void 0;var emn=b30(JY()),tmn=b30(mh0()),nmn=$he(),u30=l30(),p30=(0,u30.createModuleLogger)(u30.projectLogger,"polling-block-tracker"),amn=(0,emn.default)(),rmn=1e3,t3e=class extends nmn.BaseBlockTracker{constructor(e={}){var n;if(!e.provider)throw new Error("PollingBlockTracker - no provider specified.");super(Object.assign(Object.assign({},e),{blockResetDuration:(n=e.blockResetDuration)!==null&&n!==void 0?n:e.pollingInterval})),this._provider=e.provider,this._pollingInterval=e.pollingInterval||20*rmn,this._retryTimeout=e.retryTimeout||this._pollingInterval/10,this._keepEventLoopActive=e.keepEventLoopActive===void 0?!0:e.keepEventLoopActive,this._setSkipCacheFlag=e.setSkipCacheFlag||!1}async checkForLatestBlock(){return await this._updateLatestBlock(),await this.getLatestBlock()}async _start(){this._synchronize()}async _end(){}async _synchronize(){for(var e;this._isRunning;)try{await this._updateLatestBlock();let n=h30(this._pollingInterval,!this._keepEventLoopActive);this.emit("_waitingForNextIteration"),await n}catch(n){let a=new Error(`PollingBlockTracker - encountered an error while attempting to update latest block: ${(e=n.stack)!==null&&e!==void 0?e:n}`);try{this.emit("error",a)}catch{console.error(a)}let r=h30(this._retryTimeout,!this._keepEventLoopActive);this.emit("_waitingForNextIteration"),await r}}async _updateLatestBlock(){let e=await this._fetchLatestBlock();this._newPotentialLatest(e)}async _fetchLatestBlock(){let e={jsonrpc:"2.0",id:amn(),method:"eth_blockNumber",params:[]};this._setSkipCacheFlag&&(e.skipCache=!0),p30("Making request",e);let n=await(0,tmn.default)(a=>this._provider.sendAsync(e,a))();if(p30("Got response",n),n.error)throw new Error(`PollingBlockTracker - encountered error fetching block: -${n.error.message}`);return n.result}};bA.PollingBlockTracker=t3e;function h30(t,e){return new Promise(n=>{let a=setTimeout(n,t);a.unref&&e&&a.unref()})}});var y30=D(mA=>{"use strict";u();p();var fmn=mA&&mA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(mA,"__esModule",{value:!0});mA.SubscribeBlockTracker=void 0;var imn=fmn(JY()),smn=$he(),omn=(0,imn.default)(),n3e=class extends smn.BaseBlockTracker{constructor(e={}){if(!e.provider)throw new Error("SubscribeBlockTracker - no provider specified.");super(e),this._provider=e.provider,this._subscriptionId=null}async checkForLatestBlock(){return await this.getLatestBlock()}async _start(){if(this._subscriptionId===void 0||this._subscriptionId===null)try{let e=await this._call("eth_blockNumber");this._subscriptionId=await this._call("eth_subscribe","newHeads"),this._provider.on("data",this._handleSubData.bind(this)),this._newPotentialLatest(e)}catch(e){this.emit("error",e)}}async _end(){if(this._subscriptionId!==null&&this._subscriptionId!==void 0)try{await this._call("eth_unsubscribe",this._subscriptionId),this._subscriptionId=null}catch(e){this.emit("error",e)}}_call(e,...n){return new Promise((a,r)=>{this._provider.sendAsync({id:omn(),method:e,params:n,jsonrpc:"2.0"},(f,i)=>{f?r(f):a(i.result)})})}_handleSubData(e,n){var a;n.method==="eth_subscription"&&((a=n.params)===null||a===void 0?void 0:a.subscription)===this._subscriptionId&&this._newPotentialLatest(n.params.result.number)}};mA.SubscribeBlockTracker=n3e});var v30=D(c4=>{"use strict";u();p();var cmn=c4&&c4.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),g30=c4&&c4.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&cmn(e,t,n)};Object.defineProperty(c4,"__esModule",{value:!0});g30(m30(),c4);g30(y30(),c4)});var r3e=D(i$=>{"use strict";u();p();Object.defineProperty(i$,"__esModule",{value:!0});i$.getUniqueId=void 0;var w30=4294967295,a3e=Math.floor(Math.random()*w30);function dmn(){return a3e=(a3e+1)%w30,a3e}i$.getUniqueId=dmn});var T30=D(s$=>{"use strict";u();p();Object.defineProperty(s$,"__esModule",{value:!0});s$.createIdRemapMiddleware=void 0;var lmn=r3e();function umn(){return(t,e,n,a)=>{let r=t.id,f=lmn.getUniqueId();t.id=f,e.id=f,n(i=>{t.id=r,e.id=r,i()})}}s$.createIdRemapMiddleware=umn});var x30=D(o$=>{"use strict";u();p();Object.defineProperty(o$,"__esModule",{value:!0});o$.createAsyncMiddleware=void 0;function pmn(t){return async(e,n,a,r)=>{let f,i=new Promise(d=>{f=d}),s=null,o=!1,c=async()=>{o=!0,a(d=>{s=d,f()}),await i};try{await t(e,n,c),o?(await i,s(null)):r(null)}catch(d){s?s(d):r(d)}}}o$.createAsyncMiddleware=pmn});var E30=D(c$=>{"use strict";u();p();Object.defineProperty(c$,"__esModule",{value:!0});c$.createScaffoldMiddleware=void 0;function hmn(t){return(e,n,a,r)=>{let f=t[e.method];return f===void 0?a():typeof f=="function"?f(e,n,a,r):(n.result=f,r())}}c$.createScaffoldMiddleware=hmn});var A30=D(i3e=>{"use strict";u();p();Object.defineProperty(i3e,"__esModule",{value:!0});var bmn=Nr();function _30(t,e,n){try{Reflect.apply(t,e,n)}catch(a){setTimeout(()=>{throw a})}}function mmn(t){let e=t.length,n=new Array(e);for(let a=0;a0&&([i]=n),i instanceof Error)throw i;let s=new Error(`Unhandled error.${i?` (${i.message})`:""}`);throw s.context=i,s}let f=r[e];if(f===void 0)return!1;if(typeof f=="function")_30(f,this,n);else{let i=f.length,s=mmn(f);for(let o=0;o{u();p();R30.exports=MD;MD.default=MD;MD.stable=k30;MD.stableStringify=k30;var d$="[...]",C30="[Circular]",Mg=[],Rg=[];function I30(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function MD(t,e,n,a){typeof a>"u"&&(a=I30()),s3e(t,"",0,[],void 0,0,a);var r;try{Rg.length===0?r=JSON.stringify(t,e,n):r=JSON.stringify(t,S30(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;Mg.length!==0;){var f=Mg.pop();f.length===4?Object.defineProperty(f[0],f[1],f[3]):f[0][f[1]]=f[2]}}return r}function yA(t,e,n,a){var r=Object.getOwnPropertyDescriptor(a,n);r.get!==void 0?r.configurable?(Object.defineProperty(a,n,{value:t}),Mg.push([a,n,e,r])):Rg.push([e,n,t]):(a[n]=t,Mg.push([a,n,e]))}function s3e(t,e,n,a,r,f,i){f+=1;var s;if(typeof t=="object"&&t!==null){for(s=0;si.depthLimit){yA(d$,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){yA(d$,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;se?1:0}function k30(t,e,n,a){typeof a>"u"&&(a=I30());var r=o3e(t,"",0,[],void 0,0,a)||t,f;try{Rg.length===0?f=JSON.stringify(r,e,n):f=JSON.stringify(r,S30(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;Mg.length!==0;){var i=Mg.pop();i.length===4?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}}return f}function o3e(t,e,n,a,r,f,i){f+=1;var s;if(typeof t=="object"&&t!==null){for(s=0;si.depthLimit){yA(d$,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){yA(d$,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;s0)for(var a=0;a{"use strict";u();p();Object.defineProperty(gA,"__esModule",{value:!0});gA.EthereumProviderError=gA.EthereumRpcError=void 0;var gmn=M30(),l$=class extends Error{constructor(e,n,a){if(!Number.isInteger(e))throw new Error('"code" must be an integer.');if(!n||typeof n!="string")throw new Error('"message" must be a nonempty string.');super(n),this.code=e,a!==void 0&&(this.data=a)}serialize(){let e={code:this.code,message:this.message};return this.data!==void 0&&(e.data=this.data),this.stack&&(e.stack=this.stack),e}toString(){return gmn.default(this.serialize(),wmn,2)}};gA.EthereumRpcError=l$;var c3e=class extends l${constructor(e,n,a){if(!vmn(e))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,n,a)}};gA.EthereumProviderError=c3e;function vmn(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}function wmn(t,e){if(e!=="[Circular]")return e}});var p$=D(vA=>{"use strict";u();p();Object.defineProperty(vA,"__esModule",{value:!0});vA.errorValues=vA.errorCodes=void 0;vA.errorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}};vA.errorValues={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}}});var u3e=D(Vl=>{"use strict";u();p();Object.defineProperty(Vl,"__esModule",{value:!0});Vl.serializeError=Vl.isValidCode=Vl.getMessageFromCode=Vl.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;var h$=p$(),Tmn=u$(),B30=h$.errorCodes.rpc.internal,xmn="Unspecified error message. This is a bug, please report it.",Emn={code:B30,message:l3e(B30)};Vl.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.";function l3e(t,e=xmn){if(Number.isInteger(t)){let n=t.toString();if(d3e(h$.errorValues,n))return h$.errorValues[n].message;if(L30(t))return Vl.JSON_RPC_SERVER_ERROR_MESSAGE}return e}Vl.getMessageFromCode=l3e;function P30(t){if(!Number.isInteger(t))return!1;let e=t.toString();return!!(h$.errorValues[e]||L30(t))}Vl.isValidCode=P30;function _mn(t,{fallbackError:e=Emn,shouldIncludeStack:n=!1}={}){var a,r;if(!e||!Number.isInteger(e.code)||typeof e.message!="string")throw new Error("Must provide fallback error with integer number code and string message.");if(t instanceof Tmn.EthereumRpcError)return t.serialize();let f={};if(t&&typeof t=="object"&&!Array.isArray(t)&&d3e(t,"code")&&P30(t.code)){let s=t;f.code=s.code,s.message&&typeof s.message=="string"?(f.message=s.message,d3e(s,"data")&&(f.data=s.data)):(f.message=l3e(f.code),f.data={originalError:D30(t)})}else{f.code=e.code;let s=(a=t)===null||a===void 0?void 0:a.message;f.message=s&&typeof s=="string"?s:e.message,f.data={originalError:D30(t)}}let i=(r=t)===null||r===void 0?void 0:r.stack;return n&&t&&i&&typeof i=="string"&&(f.stack=i),f}Vl.serializeError=_mn;function L30(t){return t>=-32099&&t<=-32e3}function D30(t){return t&&typeof t=="object"&&!Array.isArray(t)?Object.assign({},t):t}function d3e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}});var O30=D(b$=>{"use strict";u();p();Object.defineProperty(b$,"__esModule",{value:!0});b$.ethErrors=void 0;var p3e=u$(),F30=u3e(),T1=p$();b$.ethErrors={rpc:{parse:t=>_d(T1.errorCodes.rpc.parse,t),invalidRequest:t=>_d(T1.errorCodes.rpc.invalidRequest,t),invalidParams:t=>_d(T1.errorCodes.rpc.invalidParams,t),methodNotFound:t=>_d(T1.errorCodes.rpc.methodNotFound,t),internal:t=>_d(T1.errorCodes.rpc.internal,t),server:t=>{if(!t||typeof t!="object"||Array.isArray(t))throw new Error("Ethereum RPC Server errors must provide single object argument.");let{code:e}=t;if(!Number.isInteger(e)||e>-32005||e<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return _d(e,t)},invalidInput:t=>_d(T1.errorCodes.rpc.invalidInput,t),resourceNotFound:t=>_d(T1.errorCodes.rpc.resourceNotFound,t),resourceUnavailable:t=>_d(T1.errorCodes.rpc.resourceUnavailable,t),transactionRejected:t=>_d(T1.errorCodes.rpc.transactionRejected,t),methodNotSupported:t=>_d(T1.errorCodes.rpc.methodNotSupported,t),limitExceeded:t=>_d(T1.errorCodes.rpc.limitExceeded,t)},provider:{userRejectedRequest:t=>BD(T1.errorCodes.provider.userRejectedRequest,t),unauthorized:t=>BD(T1.errorCodes.provider.unauthorized,t),unsupportedMethod:t=>BD(T1.errorCodes.provider.unsupportedMethod,t),disconnected:t=>BD(T1.errorCodes.provider.disconnected,t),chainDisconnected:t=>BD(T1.errorCodes.provider.chainDisconnected,t),custom:t=>{if(!t||typeof t!="object"||Array.isArray(t))throw new Error("Ethereum Provider custom errors must provide single object argument.");let{code:e,message:n,data:a}=t;if(!n||typeof n!="string")throw new Error('"message" must be a nonempty string');return new p3e.EthereumProviderError(e,n,a)}}};function _d(t,e){let[n,a]=N30(e);return new p3e.EthereumRpcError(t,n||F30.getMessageFromCode(t),a)}function BD(t,e){let[n,a]=N30(e);return new p3e.EthereumProviderError(t,n||F30.getMessageFromCode(t),a)}function N30(t){if(t){if(typeof t=="string")return[t];if(typeof t=="object"&&!Array.isArray(t)){let{message:e,data:n}=t;if(e&&typeof e!="string")throw new Error("Must specify string message.");return[e||void 0,n]}}return[]}});var z30=D(a6=>{"use strict";u();p();Object.defineProperty(a6,"__esModule",{value:!0});a6.getMessageFromCode=a6.serializeError=a6.EthereumProviderError=a6.EthereumRpcError=a6.ethErrors=a6.errorCodes=void 0;var U30=u$();Object.defineProperty(a6,"EthereumRpcError",{enumerable:!0,get:function(){return U30.EthereumRpcError}});Object.defineProperty(a6,"EthereumProviderError",{enumerable:!0,get:function(){return U30.EthereumProviderError}});var H30=u3e();Object.defineProperty(a6,"serializeError",{enumerable:!0,get:function(){return H30.serializeError}});Object.defineProperty(a6,"getMessageFromCode",{enumerable:!0,get:function(){return H30.getMessageFromCode}});var Amn=O30();Object.defineProperty(a6,"ethErrors",{enumerable:!0,get:function(){return Amn.ethErrors}});var Cmn=p$();Object.defineProperty(a6,"errorCodes",{enumerable:!0,get:function(){return Cmn.errorCodes}})});var m3e=D(wA=>{"use strict";u();p();var Imn=wA&&wA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(wA,"__esModule",{value:!0});wA.JsonRpcEngine=void 0;var kmn=Imn(A30()),Ad=z30(),b3e=class t extends kmn.default{constructor(){super(),this._middleware=[]}push(e){this._middleware.push(e)}handle(e,n){if(n&&typeof n!="function")throw new Error('"callback" must be a function if provided.');return Array.isArray(e)?n?this._handleBatch(e,n):this._handleBatch(e):n?this._handle(e,n):this._promiseHandle(e)}asMiddleware(){return async(e,n,a,r)=>{try{let[f,i,s]=await t._runAllMiddleware(e,n,this._middleware);return i?(await t._runReturnHandlers(s),r(f)):a(async o=>{try{await t._runReturnHandlers(s)}catch(c){return o(c)}return o()})}catch(f){return r(f)}}}async _handleBatch(e,n){try{let a=await Promise.all(e.map(this._promiseHandle.bind(this)));return n?n(null,a):a}catch(a){if(n)return n(a);throw a}}_promiseHandle(e){return new Promise(n=>{this._handle(e,(a,r)=>{n(r)})})}async _handle(e,n){if(!e||Array.isArray(e)||typeof e!="object"){let i=new Ad.EthereumRpcError(Ad.errorCodes.rpc.invalidRequest,`Requests must be plain objects. Received: ${typeof e}`,{request:e});return n(i,{id:void 0,jsonrpc:"2.0",error:i})}if(typeof e.method!="string"){let i=new Ad.EthereumRpcError(Ad.errorCodes.rpc.invalidRequest,`Must specify a string method. Received: ${typeof e.method}`,{request:e});return n(i,{id:e.id,jsonrpc:"2.0",error:i})}let a=Object.assign({},e),r={id:a.id,jsonrpc:a.jsonrpc},f=null;try{await this._processRequest(a,r)}catch(i){f=i}return f&&(delete r.result,r.error||(r.error=Ad.serializeError(f))),n(f,r)}async _processRequest(e,n){let[a,r,f]=await t._runAllMiddleware(e,n,this._middleware);if(t._checkForCompletion(e,n,r),await t._runReturnHandlers(f),a)throw a}static async _runAllMiddleware(e,n,a){let r=[],f=null,i=!1;for(let s of a)if([f,i]=await t._runMiddleware(e,n,s,r),i)break;return[f,i,r.reverse()]}static _runMiddleware(e,n,a,r){return new Promise(f=>{let i=o=>{let c=o||n.error;c&&(n.error=Ad.serializeError(c)),f([c,!0])},s=o=>{n.error?i(n.error):(o&&(typeof o!="function"&&i(new Ad.EthereumRpcError(Ad.errorCodes.rpc.internal,`JsonRpcEngine: "next" return handlers must be functions. Received "${typeof o}" for request: +${n.error.message}`);return n.result}};bA.PollingBlockTracker=t3e;function h30(t,e){return new Promise(n=>{let a=setTimeout(n,t);a.unref&&e&&a.unref()})}});var y30=D(mA=>{"use strict";u();p();var fmn=mA&&mA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(mA,"__esModule",{value:!0});mA.SubscribeBlockTracker=void 0;var imn=fmn(JY()),smn=$he(),omn=(0,imn.default)(),n3e=class extends smn.BaseBlockTracker{constructor(e={}){if(!e.provider)throw new Error("SubscribeBlockTracker - no provider specified.");super(e),this._provider=e.provider,this._subscriptionId=null}async checkForLatestBlock(){return await this.getLatestBlock()}async _start(){if(this._subscriptionId===void 0||this._subscriptionId===null)try{let e=await this._call("eth_blockNumber");this._subscriptionId=await this._call("eth_subscribe","newHeads"),this._provider.on("data",this._handleSubData.bind(this)),this._newPotentialLatest(e)}catch(e){this.emit("error",e)}}async _end(){if(this._subscriptionId!==null&&this._subscriptionId!==void 0)try{await this._call("eth_unsubscribe",this._subscriptionId),this._subscriptionId=null}catch(e){this.emit("error",e)}}_call(e,...n){return new Promise((a,r)=>{this._provider.sendAsync({id:omn(),method:e,params:n,jsonrpc:"2.0"},(f,i)=>{f?r(f):a(i.result)})})}_handleSubData(e,n){var a;n.method==="eth_subscription"&&((a=n.params)===null||a===void 0?void 0:a.subscription)===this._subscriptionId&&this._newPotentialLatest(n.params.result.number)}};mA.SubscribeBlockTracker=n3e});var v30=D(d4=>{"use strict";u();p();var cmn=d4&&d4.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),g30=d4&&d4.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&cmn(e,t,n)};Object.defineProperty(d4,"__esModule",{value:!0});g30(m30(),d4);g30(y30(),d4)});var r3e=D(i$=>{"use strict";u();p();Object.defineProperty(i$,"__esModule",{value:!0});i$.getUniqueId=void 0;var w30=4294967295,a3e=Math.floor(Math.random()*w30);function dmn(){return a3e=(a3e+1)%w30,a3e}i$.getUniqueId=dmn});var T30=D(s$=>{"use strict";u();p();Object.defineProperty(s$,"__esModule",{value:!0});s$.createIdRemapMiddleware=void 0;var lmn=r3e();function umn(){return(t,e,n,a)=>{let r=t.id,f=lmn.getUniqueId();t.id=f,e.id=f,n(i=>{t.id=r,e.id=r,i()})}}s$.createIdRemapMiddleware=umn});var x30=D(o$=>{"use strict";u();p();Object.defineProperty(o$,"__esModule",{value:!0});o$.createAsyncMiddleware=void 0;function pmn(t){return async(e,n,a,r)=>{let f,i=new Promise(d=>{f=d}),s=null,o=!1,c=async()=>{o=!0,a(d=>{s=d,f()}),await i};try{await t(e,n,c),o?(await i,s(null)):r(null)}catch(d){s?s(d):r(d)}}}o$.createAsyncMiddleware=pmn});var E30=D(c$=>{"use strict";u();p();Object.defineProperty(c$,"__esModule",{value:!0});c$.createScaffoldMiddleware=void 0;function hmn(t){return(e,n,a,r)=>{let f=t[e.method];return f===void 0?a():typeof f=="function"?f(e,n,a,r):(n.result=f,r())}}c$.createScaffoldMiddleware=hmn});var A30=D(i3e=>{"use strict";u();p();Object.defineProperty(i3e,"__esModule",{value:!0});var bmn=Nr();function _30(t,e,n){try{Reflect.apply(t,e,n)}catch(a){setTimeout(()=>{throw a})}}function mmn(t){let e=t.length,n=new Array(e);for(let a=0;a0&&([i]=n),i instanceof Error)throw i;let s=new Error(`Unhandled error.${i?` (${i.message})`:""}`);throw s.context=i,s}let f=r[e];if(f===void 0)return!1;if(typeof f=="function")_30(f,this,n);else{let i=f.length,s=mmn(f);for(let o=0;o{u();p();R30.exports=MD;MD.default=MD;MD.stable=k30;MD.stableStringify=k30;var d$="[...]",C30="[Circular]",Mg=[],Rg=[];function I30(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function MD(t,e,n,a){typeof a>"u"&&(a=I30()),s3e(t,"",0,[],void 0,0,a);var r;try{Rg.length===0?r=JSON.stringify(t,e,n):r=JSON.stringify(t,S30(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;Mg.length!==0;){var f=Mg.pop();f.length===4?Object.defineProperty(f[0],f[1],f[3]):f[0][f[1]]=f[2]}}return r}function yA(t,e,n,a){var r=Object.getOwnPropertyDescriptor(a,n);r.get!==void 0?r.configurable?(Object.defineProperty(a,n,{value:t}),Mg.push([a,n,e,r])):Rg.push([e,n,t]):(a[n]=t,Mg.push([a,n,e]))}function s3e(t,e,n,a,r,f,i){f+=1;var s;if(typeof t=="object"&&t!==null){for(s=0;si.depthLimit){yA(d$,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){yA(d$,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;se?1:0}function k30(t,e,n,a){typeof a>"u"&&(a=I30());var r=o3e(t,"",0,[],void 0,0,a)||t,f;try{Rg.length===0?f=JSON.stringify(r,e,n):f=JSON.stringify(r,S30(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;Mg.length!==0;){var i=Mg.pop();i.length===4?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}}return f}function o3e(t,e,n,a,r,f,i){f+=1;var s;if(typeof t=="object"&&t!==null){for(s=0;si.depthLimit){yA(d$,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){yA(d$,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;s0)for(var a=0;a{"use strict";u();p();Object.defineProperty(gA,"__esModule",{value:!0});gA.EthereumProviderError=gA.EthereumRpcError=void 0;var gmn=M30(),l$=class extends Error{constructor(e,n,a){if(!Number.isInteger(e))throw new Error('"code" must be an integer.');if(!n||typeof n!="string")throw new Error('"message" must be a nonempty string.');super(n),this.code=e,a!==void 0&&(this.data=a)}serialize(){let e={code:this.code,message:this.message};return this.data!==void 0&&(e.data=this.data),this.stack&&(e.stack=this.stack),e}toString(){return gmn.default(this.serialize(),wmn,2)}};gA.EthereumRpcError=l$;var c3e=class extends l${constructor(e,n,a){if(!vmn(e))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,n,a)}};gA.EthereumProviderError=c3e;function vmn(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}function wmn(t,e){if(e!=="[Circular]")return e}});var p$=D(vA=>{"use strict";u();p();Object.defineProperty(vA,"__esModule",{value:!0});vA.errorValues=vA.errorCodes=void 0;vA.errorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}};vA.errorValues={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}}});var u3e=D(Vl=>{"use strict";u();p();Object.defineProperty(Vl,"__esModule",{value:!0});Vl.serializeError=Vl.isValidCode=Vl.getMessageFromCode=Vl.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;var h$=p$(),Tmn=u$(),B30=h$.errorCodes.rpc.internal,xmn="Unspecified error message. This is a bug, please report it.",Emn={code:B30,message:l3e(B30)};Vl.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.";function l3e(t,e=xmn){if(Number.isInteger(t)){let n=t.toString();if(d3e(h$.errorValues,n))return h$.errorValues[n].message;if(L30(t))return Vl.JSON_RPC_SERVER_ERROR_MESSAGE}return e}Vl.getMessageFromCode=l3e;function P30(t){if(!Number.isInteger(t))return!1;let e=t.toString();return!!(h$.errorValues[e]||L30(t))}Vl.isValidCode=P30;function _mn(t,{fallbackError:e=Emn,shouldIncludeStack:n=!1}={}){var a,r;if(!e||!Number.isInteger(e.code)||typeof e.message!="string")throw new Error("Must provide fallback error with integer number code and string message.");if(t instanceof Tmn.EthereumRpcError)return t.serialize();let f={};if(t&&typeof t=="object"&&!Array.isArray(t)&&d3e(t,"code")&&P30(t.code)){let s=t;f.code=s.code,s.message&&typeof s.message=="string"?(f.message=s.message,d3e(s,"data")&&(f.data=s.data)):(f.message=l3e(f.code),f.data={originalError:D30(t)})}else{f.code=e.code;let s=(a=t)===null||a===void 0?void 0:a.message;f.message=s&&typeof s=="string"?s:e.message,f.data={originalError:D30(t)}}let i=(r=t)===null||r===void 0?void 0:r.stack;return n&&t&&i&&typeof i=="string"&&(f.stack=i),f}Vl.serializeError=_mn;function L30(t){return t>=-32099&&t<=-32e3}function D30(t){return t&&typeof t=="object"&&!Array.isArray(t)?Object.assign({},t):t}function d3e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}});var O30=D(b$=>{"use strict";u();p();Object.defineProperty(b$,"__esModule",{value:!0});b$.ethErrors=void 0;var p3e=u$(),F30=u3e(),T1=p$();b$.ethErrors={rpc:{parse:t=>_d(T1.errorCodes.rpc.parse,t),invalidRequest:t=>_d(T1.errorCodes.rpc.invalidRequest,t),invalidParams:t=>_d(T1.errorCodes.rpc.invalidParams,t),methodNotFound:t=>_d(T1.errorCodes.rpc.methodNotFound,t),internal:t=>_d(T1.errorCodes.rpc.internal,t),server:t=>{if(!t||typeof t!="object"||Array.isArray(t))throw new Error("Ethereum RPC Server errors must provide single object argument.");let{code:e}=t;if(!Number.isInteger(e)||e>-32005||e<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return _d(e,t)},invalidInput:t=>_d(T1.errorCodes.rpc.invalidInput,t),resourceNotFound:t=>_d(T1.errorCodes.rpc.resourceNotFound,t),resourceUnavailable:t=>_d(T1.errorCodes.rpc.resourceUnavailable,t),transactionRejected:t=>_d(T1.errorCodes.rpc.transactionRejected,t),methodNotSupported:t=>_d(T1.errorCodes.rpc.methodNotSupported,t),limitExceeded:t=>_d(T1.errorCodes.rpc.limitExceeded,t)},provider:{userRejectedRequest:t=>BD(T1.errorCodes.provider.userRejectedRequest,t),unauthorized:t=>BD(T1.errorCodes.provider.unauthorized,t),unsupportedMethod:t=>BD(T1.errorCodes.provider.unsupportedMethod,t),disconnected:t=>BD(T1.errorCodes.provider.disconnected,t),chainDisconnected:t=>BD(T1.errorCodes.provider.chainDisconnected,t),custom:t=>{if(!t||typeof t!="object"||Array.isArray(t))throw new Error("Ethereum Provider custom errors must provide single object argument.");let{code:e,message:n,data:a}=t;if(!n||typeof n!="string")throw new Error('"message" must be a nonempty string');return new p3e.EthereumProviderError(e,n,a)}}};function _d(t,e){let[n,a]=N30(e);return new p3e.EthereumRpcError(t,n||F30.getMessageFromCode(t),a)}function BD(t,e){let[n,a]=N30(e);return new p3e.EthereumProviderError(t,n||F30.getMessageFromCode(t),a)}function N30(t){if(t){if(typeof t=="string")return[t];if(typeof t=="object"&&!Array.isArray(t)){let{message:e,data:n}=t;if(e&&typeof e!="string")throw new Error("Must specify string message.");return[e||void 0,n]}}return[]}});var z30=D(a6=>{"use strict";u();p();Object.defineProperty(a6,"__esModule",{value:!0});a6.getMessageFromCode=a6.serializeError=a6.EthereumProviderError=a6.EthereumRpcError=a6.ethErrors=a6.errorCodes=void 0;var U30=u$();Object.defineProperty(a6,"EthereumRpcError",{enumerable:!0,get:function(){return U30.EthereumRpcError}});Object.defineProperty(a6,"EthereumProviderError",{enumerable:!0,get:function(){return U30.EthereumProviderError}});var H30=u3e();Object.defineProperty(a6,"serializeError",{enumerable:!0,get:function(){return H30.serializeError}});Object.defineProperty(a6,"getMessageFromCode",{enumerable:!0,get:function(){return H30.getMessageFromCode}});var Amn=O30();Object.defineProperty(a6,"ethErrors",{enumerable:!0,get:function(){return Amn.ethErrors}});var Cmn=p$();Object.defineProperty(a6,"errorCodes",{enumerable:!0,get:function(){return Cmn.errorCodes}})});var m3e=D(wA=>{"use strict";u();p();var Imn=wA&&wA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(wA,"__esModule",{value:!0});wA.JsonRpcEngine=void 0;var kmn=Imn(A30()),Ad=z30(),b3e=class t extends kmn.default{constructor(){super(),this._middleware=[]}push(e){this._middleware.push(e)}handle(e,n){if(n&&typeof n!="function")throw new Error('"callback" must be a function if provided.');return Array.isArray(e)?n?this._handleBatch(e,n):this._handleBatch(e):n?this._handle(e,n):this._promiseHandle(e)}asMiddleware(){return async(e,n,a,r)=>{try{let[f,i,s]=await t._runAllMiddleware(e,n,this._middleware);return i?(await t._runReturnHandlers(s),r(f)):a(async o=>{try{await t._runReturnHandlers(s)}catch(c){return o(c)}return o()})}catch(f){return r(f)}}}async _handleBatch(e,n){try{let a=await Promise.all(e.map(this._promiseHandle.bind(this)));return n?n(null,a):a}catch(a){if(n)return n(a);throw a}}_promiseHandle(e){return new Promise(n=>{this._handle(e,(a,r)=>{n(r)})})}async _handle(e,n){if(!e||Array.isArray(e)||typeof e!="object"){let i=new Ad.EthereumRpcError(Ad.errorCodes.rpc.invalidRequest,`Requests must be plain objects. Received: ${typeof e}`,{request:e});return n(i,{id:void 0,jsonrpc:"2.0",error:i})}if(typeof e.method!="string"){let i=new Ad.EthereumRpcError(Ad.errorCodes.rpc.invalidRequest,`Must specify a string method. Received: ${typeof e.method}`,{request:e});return n(i,{id:e.id,jsonrpc:"2.0",error:i})}let a=Object.assign({},e),r={id:a.id,jsonrpc:a.jsonrpc},f=null;try{await this._processRequest(a,r)}catch(i){f=i}return f&&(delete r.result,r.error||(r.error=Ad.serializeError(f))),n(f,r)}async _processRequest(e,n){let[a,r,f]=await t._runAllMiddleware(e,n,this._middleware);if(t._checkForCompletion(e,n,r),await t._runReturnHandlers(f),a)throw a}static async _runAllMiddleware(e,n,a){let r=[],f=null,i=!1;for(let s of a)if([f,i]=await t._runMiddleware(e,n,s,r),i)break;return[f,i,r.reverse()]}static _runMiddleware(e,n,a,r){return new Promise(f=>{let i=o=>{let c=o||n.error;c&&(n.error=Ad.serializeError(c)),f([c,!0])},s=o=>{n.error?i(n.error):(o&&(typeof o!="function"&&i(new Ad.EthereumRpcError(Ad.errorCodes.rpc.internal,`JsonRpcEngine: "next" return handlers must be functions. Received "${typeof o}" for request: ${h3e(e)}`,{request:e})),r.push(o)),f([null,!1]))};try{a(e,n,s,i)}catch(o){i(o)}})}static async _runReturnHandlers(e){for(let n of e)await new Promise((a,r)=>{n(f=>f?r(f):a())})}static _checkForCompletion(e,n,a){if(!("result"in n)&&!("error"in n))throw new Ad.EthereumRpcError(Ad.errorCodes.rpc.internal,`JsonRpcEngine: Response has no error or result for request: ${h3e(e)}`,{request:e});if(!a)throw new Ad.EthereumRpcError(Ad.errorCodes.rpc.internal,`JsonRpcEngine: Nothing ended request: -${h3e(e)}`,{request:e})}};wA.JsonRpcEngine=b3e;function h3e(t){return JSON.stringify(t,null,2)}});var W30=D(m$=>{"use strict";u();p();Object.defineProperty(m$,"__esModule",{value:!0});m$.mergeMiddleware=void 0;var Smn=m3e();function Rmn(t){let e=new Smn.JsonRpcEngine;return t.forEach(n=>e.push(n)),e.asMiddleware()}m$.mergeMiddleware=Rmn});var y3e=D(Cd=>{"use strict";u();p();var Mmn=Cd&&Cd.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),TA=Cd&&Cd.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Mmn(e,t,n)};Object.defineProperty(Cd,"__esModule",{value:!0});TA(T30(),Cd);TA(x30(),Cd);TA(E30(),Cd);TA(r3e(),Cd);TA(m3e(),Cd);TA(W30(),Cd)});var v3e=D(g3e=>{"use strict";u();p();Object.defineProperty(g3e,"__esModule",{value:!0});var q30=(lV(),vn(dV)),Bmn=function(){function t(e){if(this._maxConcurrency=e,this._queue=[],e<=0)throw new Error("semaphore must be initialized to a positive value");this._value=e}return t.prototype.acquire=function(){var e=this,n=this.isLocked(),a=new Promise(function(r){return e._queue.push(r)});return n||this._dispatch(),a},t.prototype.runExclusive=function(e){return q30.__awaiter(this,void 0,void 0,function(){var n,a,r;return q30.__generator(this,function(f){switch(f.label){case 0:return[4,this.acquire()];case 1:n=f.sent(),a=n[0],r=n[1],f.label=2;case 2:return f.trys.push([2,,4,5]),[4,e(a)];case 3:return[2,f.sent()];case 4:return r(),[7];case 5:return[2]}})})},t.prototype.isLocked=function(){return this._value<=0},t.prototype.release=function(){if(this._maxConcurrency>1)throw new Error("this method is unavailabel on semaphores with concurrency > 1; use the scoped release returned by acquire instead");if(this._currentReleaser){var e=this._currentReleaser;this._currentReleaser=void 0,e()}},t.prototype._dispatch=function(){var e=this,n=this._queue.shift();if(n){var a=!1;this._currentReleaser=function(){a||(a=!0,e._value++,e._dispatch())},n([this._value--,this._currentReleaser])}},t}();g3e.default=Bmn});var G30=D(w3e=>{"use strict";u();p();Object.defineProperty(w3e,"__esModule",{value:!0});var j30=(lV(),vn(dV)),Dmn=v3e(),Pmn=function(){function t(){this._semaphore=new Dmn.default(1)}return t.prototype.acquire=function(){return j30.__awaiter(this,void 0,void 0,function(){var e,n;return j30.__generator(this,function(a){switch(a.label){case 0:return[4,this._semaphore.acquire()];case 1:return e=a.sent(),n=e[1],[2,n]}})})},t.prototype.runExclusive=function(e){return this._semaphore.runExclusive(function(){return e()})},t.prototype.isLocked=function(){return this._semaphore.isLocked()},t.prototype.release=function(){this._semaphore.release()},t}();w3e.default=Pmn});var K30=D(g$=>{"use strict";u();p();Object.defineProperty(g$,"__esModule",{value:!0});g$.withTimeout=void 0;var y$=(lV(),vn(dV));function Lmn(t,e,n){var a=this;return n===void 0&&(n=new Error("timeout")),{acquire:function(){return new Promise(function(r,f){return y$.__awaiter(a,void 0,void 0,function(){var i,s,o;return y$.__generator(this,function(c){switch(c.label){case 0:return i=!1,setTimeout(function(){i=!0,f(n)},e),[4,t.acquire()];case 1:return s=c.sent(),i?(o=Array.isArray(s)?s[1]:s,o()):r(s),[2]}})})})},runExclusive:function(r){return y$.__awaiter(this,void 0,void 0,function(){var f,i;return y$.__generator(this,function(s){switch(s.label){case 0:f=function(){},s.label=1;case 1:return s.trys.push([1,,7,8]),[4,this.acquire()];case 2:return i=s.sent(),Array.isArray(i)?(f=i[1],[4,r(i[0])]):[3,4];case 3:return[2,s.sent()];case 4:return f=i,[4,r()];case 5:return[2,s.sent()];case 6:return[3,8];case 7:return f(),[7];case 8:return[2]}})})},release:function(){t.release()},isLocked:function(){return t.isLocked()}}}g$.withTimeout=Lmn});var Q30=D(d4=>{"use strict";u();p();Object.defineProperty(d4,"__esModule",{value:!0});d4.withTimeout=d4.Semaphore=d4.Mutex=void 0;var Fmn=G30();Object.defineProperty(d4,"Mutex",{enumerable:!0,get:function(){return Fmn.default}});var Nmn=v3e();Object.defineProperty(d4,"Semaphore",{enumerable:!0,get:function(){return Nmn.default}});var Omn=K30();Object.defineProperty(d4,"withTimeout",{enumerable:!0,get:function(){return Omn.withTimeout}})});var Y30=D((dXa,V30)=>{u();p();V30.exports=Hmn;var Umn=Object.prototype.hasOwnProperty;function Hmn(){for(var t={},e=0;e{u();p();var zmn=Y30(),Wmn=JY()();$30.exports=Gt;function Gt(t){let e=this;e.currentProvider=t}Gt.prototype.getBalance=DD(2,"eth_getBalance");Gt.prototype.getCode=DD(2,"eth_getCode");Gt.prototype.getTransactionCount=DD(2,"eth_getTransactionCount");Gt.prototype.getStorageAt=DD(3,"eth_getStorageAt");Gt.prototype.call=DD(2,"eth_call");Gt.prototype.protocolVersion=Gn("eth_protocolVersion");Gt.prototype.syncing=Gn("eth_syncing");Gt.prototype.coinbase=Gn("eth_coinbase");Gt.prototype.mining=Gn("eth_mining");Gt.prototype.hashrate=Gn("eth_hashrate");Gt.prototype.gasPrice=Gn("eth_gasPrice");Gt.prototype.accounts=Gn("eth_accounts");Gt.prototype.blockNumber=Gn("eth_blockNumber");Gt.prototype.getBlockTransactionCountByHash=Gn("eth_getBlockTransactionCountByHash");Gt.prototype.getBlockTransactionCountByNumber=Gn("eth_getBlockTransactionCountByNumber");Gt.prototype.getUncleCountByBlockHash=Gn("eth_getUncleCountByBlockHash");Gt.prototype.getUncleCountByBlockNumber=Gn("eth_getUncleCountByBlockNumber");Gt.prototype.sign=Gn("eth_sign");Gt.prototype.sendTransaction=Gn("eth_sendTransaction");Gt.prototype.sendRawTransaction=Gn("eth_sendRawTransaction");Gt.prototype.estimateGas=Gn("eth_estimateGas");Gt.prototype.getBlockByHash=Gn("eth_getBlockByHash");Gt.prototype.getBlockByNumber=Gn("eth_getBlockByNumber");Gt.prototype.getTransactionByHash=Gn("eth_getTransactionByHash");Gt.prototype.getTransactionByBlockHashAndIndex=Gn("eth_getTransactionByBlockHashAndIndex");Gt.prototype.getTransactionByBlockNumberAndIndex=Gn("eth_getTransactionByBlockNumberAndIndex");Gt.prototype.getTransactionReceipt=Gn("eth_getTransactionReceipt");Gt.prototype.getUncleByBlockHashAndIndex=Gn("eth_getUncleByBlockHashAndIndex");Gt.prototype.getUncleByBlockNumberAndIndex=Gn("eth_getUncleByBlockNumberAndIndex");Gt.prototype.getCompilers=Gn("eth_getCompilers");Gt.prototype.compileLLL=Gn("eth_compileLLL");Gt.prototype.compileSolidity=Gn("eth_compileSolidity");Gt.prototype.compileSerpent=Gn("eth_compileSerpent");Gt.prototype.newFilter=Gn("eth_newFilter");Gt.prototype.newBlockFilter=Gn("eth_newBlockFilter");Gt.prototype.newPendingTransactionFilter=Gn("eth_newPendingTransactionFilter");Gt.prototype.uninstallFilter=Gn("eth_uninstallFilter");Gt.prototype.getFilterChanges=Gn("eth_getFilterChanges");Gt.prototype.getFilterLogs=Gn("eth_getFilterLogs");Gt.prototype.getLogs=Gn("eth_getLogs");Gt.prototype.getWork=Gn("eth_getWork");Gt.prototype.submitWork=Gn("eth_submitWork");Gt.prototype.submitHashrate=Gn("eth_submitHashrate");Gt.prototype.sendAsync=function(t,e){this.currentProvider.sendAsync(qmn(t),function(a,r){if(!a&&r.error&&(a=new Error("EthQuery - RPC Error - "+r.error.message)),a)return e(a);e(null,r.result)})};function Gn(t){return function(){let e=this;var n=[].slice.call(arguments),a=n.pop();e.sendAsync({method:t,params:n},a)}}function DD(t,e){return function(){let n=this;var a=[].slice.call(arguments),r=a.pop();a.length{"use strict";u();p();var X30=(t,e,n,a)=>function(...r){let f=e.promiseModule;return new f((i,s)=>{e.multiArgs?r.push((...c)=>{e.errorFirst?c[0]?s(c):(c.shift(),i(c)):i(c)}):e.errorFirst?r.push((c,d)=>{c?s(c):i(d)}):r.push(i),Reflect.apply(t,this===n?a:this,r)})},Z30=new WeakMap;eb0.exports=(t,e)=>{e={exclude:[/.+(?:Sync|Stream)$/],errorFirst:!0,promiseModule:Promise,...e};let n=typeof t;if(!(t!==null&&(n==="object"||n==="function")))throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${t===null?"null":n}\``);let a=(i,s)=>{let o=Z30.get(i);if(o||(o={},Z30.set(i,o)),s in o)return o[s];let c=v=>typeof v=="string"||typeof s=="symbol"?s===v:v.test(s),d=Reflect.getOwnPropertyDescriptor(i,s),l=d===void 0||d.writable||d.configurable,y=(e.include?e.include.some(c):!e.exclude.some(c))&&l;return o[s]=y,y},r=new WeakMap,f=new Proxy(t,{apply(i,s,o){let c=r.get(i);if(c)return Reflect.apply(c,s,o);let d=e.excludeMain?i:X30(i,e,f,i);return r.set(i,d),Reflect.apply(d,s,o)},get(i,s){let o=i[s];if(!a(i,s)||o===Function.prototype[s])return o;let c=r.get(o);if(c)return c;if(typeof o=="function"){let d=X30(o,e,f,i);return r.set(o,d),d}return o}});return f}});var v$=D((vXa,nb0)=>{u();p();var jmn=XY().default,T3e=class extends jmn{constructor(){super(),this.updates=[]}async initialize(){}async update(){throw new Error("BaseFilter - no update method specified")}addResults(e){this.updates=this.updates.concat(e),e.forEach(n=>this.emit("update",n))}addInitialResults(e){}getChangesAndClear(){let e=this.updates;return this.updates=[],e}};nb0.exports=T3e});var rb0=D((xXa,ab0)=>{u();p();var Gmn=v$(),x3e=class extends Gmn{constructor(){super(),this.allResults=[]}async update(){throw new Error("BaseFilterWithHistory - no update method specified")}addResults(e){this.allResults=this.allResults.concat(e),super.addResults(e)}addInitialResults(e){this.allResults=this.allResults.concat(e),super.addInitialResults(e)}getAllResults(){return this.allResults}};ab0.exports=x3e});var xA=D((AXa,sb0)=>{u();p();sb0.exports={minBlockRef:Kmn,maxBlockRef:Qmn,sortBlockRefs:E3e,bnToHex:Vmn,blockRefIsNumber:Ymn,hexToInt:w$,incrementHexInt:$mn,intToHex:ib0,unsafeRandomBytes:Jmn};function Kmn(...t){return E3e(t)[0]}function Qmn(...t){let e=E3e(t);return e[e.length-1]}function E3e(t){return t.sort((e,n)=>e==="latest"||n==="earliest"?1:n==="latest"||e==="earliest"?-1:w$(e)-w$(n))}function Vmn(t){return"0x"+t.toString(16)}function Ymn(t){return t&&!["earliest","latest","pending"].includes(t)}function w$(t){return t==null?t:Number.parseInt(t,16)}function $mn(t){if(t==null)return t;let e=w$(t);return ib0(e+1)}function ib0(t){if(t==null)return t;let e=t.toString(16);return e.length%2&&(e="0"+e),"0x"+e}function Jmn(t){let e="0x";for(let n=0;n{u();p();var Xmn=J30(),Zmn=tb0(),e4n=rb0(),{bnToHex:kXa,hexToInt:T$,incrementHexInt:t4n,minBlockRef:n4n,blockRefIsNumber:a4n}=xA(),_3e=class extends e4n{constructor({provider:e,params:n}){super(),this.type="log",this.ethQuery=new Xmn(e),this.params=Object.assign({fromBlock:"latest",toBlock:"latest",address:void 0,topics:[]},n),this.params.address&&(Array.isArray(this.params.address)||(this.params.address=[this.params.address]),this.params.address=this.params.address.map(a=>a.toLowerCase()))}async initialize({currentBlock:e}){let n=this.params.fromBlock;["latest","pending"].includes(n)&&(n=e),n==="earliest"&&(n="0x0"),this.params.fromBlock=n;let a=n4n(this.params.toBlock,e),r=Object.assign({},this.params,{toBlock:a}),f=await this._fetchLogs(r);this.addInitialResults(f)}async update({oldBlock:e,newBlock:n}){let a=n,r;e?r=t4n(e):r=n;let f=Object.assign({},this.params,{fromBlock:r,toBlock:a}),s=(await this._fetchLogs(f)).filter(o=>this.matchLog(o));this.addResults(s)}async _fetchLogs(e){return await Zmn(a=>this.ethQuery.getLogs(e,a))()}matchLog(e){if(T$(this.params.fromBlock)>=T$(e.blockNumber)||a4n(this.params.toBlock)&&T$(this.params.toBlock)<=T$(e.blockNumber))return!1;let n=e.address&&e.address.toLowerCase();return this.params.address&&n&&!this.params.address.includes(n)?!1:this.params.topics.every((r,f)=>{let i=e.topics[f];if(!i)return!1;i=i.toLowerCase();let s=Array.isArray(r)?r:[r];return s.includes(null)?!0:(s=s.map(d=>d.toLowerCase()),s.includes(i))})}};ob0.exports=_3e});var x$=D((BXa,lb0)=>{u();p();lb0.exports=r4n;async function r4n({provider:t,fromBlock:e,toBlock:n}){e||(e=n);let a=db0(e),f=db0(n)-a+1,i=Array(f).fill().map((o,c)=>a+c).map(f4n),s=await Promise.all(i.map(o=>s4n(t,"eth_getBlockByNumber",[o,!1])));return s=s.filter(o=>o!==null),s}function db0(t){return t==null?t:Number.parseInt(t,16)}function f4n(t){return t==null?t:"0x"+t.toString(16)}function i4n(t,e){return new Promise((n,a)=>{t.sendAsync(e,(r,f)=>{r?a(r):f.error?a(f.error):f.result?n(f.result):a(new Error("Result was empty"))})})}async function s4n(t,e,n){for(let a=0;a<3;a++)try{return await i4n(t,{id:1,jsonrpc:"2.0",method:e,params:n})}catch(r){console.error(`provider.sendAsync failed: ${r.stack||r.message||r}`)}return null}});var pb0=D((LXa,ub0)=>{u();p();var o4n=v$(),c4n=x$(),{incrementHexInt:d4n}=xA(),A3e=class extends o4n{constructor({provider:e,params:n}){super(),this.type="block",this.provider=e}async update({oldBlock:e,newBlock:n}){let a=n,r=d4n(e),i=(await c4n({provider:this.provider,fromBlock:r,toBlock:a})).map(s=>s.hash);this.addResults(i)}};ub0.exports=A3e});var bb0=D((OXa,hb0)=>{u();p();var l4n=v$(),u4n=x$(),{incrementHexInt:p4n}=xA(),C3e=class extends l4n{constructor({provider:e}){super(),this.type="tx",this.provider=e}async update({oldBlock:e}){let n=e,a=p4n(e),r=await u4n({provider:this.provider,fromBlock:a,toBlock:n}),f=[];for(let i of r)f.push(...i.transactions);this.addResults(f)}};hb0.exports=C3e});var gb0=D((zXa,yb0)=>{u();p();var h4n=Q30().Mutex,{createAsyncMiddleware:b4n,createScaffoldMiddleware:m4n}=y3e(),y4n=cb0(),g4n=pb0(),v4n=bb0(),{intToHex:mb0,hexToInt:I3e}=xA();yb0.exports=w4n;function w4n({blockTracker:t,provider:e}){let n=0,a={},r=new h4n,f=T4n({mutex:r}),i=m4n({eth_newFilter:f(k3e(o)),eth_newBlockFilter:f(k3e(c)),eth_newPendingTransactionFilter:f(k3e(d)),eth_uninstallFilter:f(E$(y)),eth_getFilterChanges:f(E$(l)),eth_getFilterLogs:f(E$(h))}),s=async({oldBlock:z,newBlock:W})=>{if(a.length===0)return;let j=await r.acquire();try{await Promise.all(EA(a).map(async Q=>{try{await Q.update({oldBlock:z,newBlock:W})}catch(V){console.error(V)}}))}catch(Q){console.error(Q)}j()};return i.newLogFilter=o,i.newBlockFilter=c,i.newPendingTransactionFilter=d,i.uninstallFilter=y,i.getFilterChanges=l,i.getFilterLogs=h,i.destroy=()=>{O()},i;async function o(z){let W=new y4n({provider:e,params:z}),j=await v(W);return W}async function c(){let z=new g4n({provider:e}),W=await v(z);return z}async function d(){let z=new v4n({provider:e}),W=await v(z);return z}async function l(z){let W=I3e(z),j=a[W];if(!j)throw new Error(`No filter for index "${W}"`);return j.getChangesAndClear()}async function h(z){let W=I3e(z),j=a[W];if(!j)throw new Error(`No filter for index "${W}"`);let Q=[];return j.type==="log"&&(Q=j.getAllResults()),Q}async function y(z){let W=I3e(z),Q=!!a[W];return Q&&await S(W),Q}async function v(z){let W=EA(a).length,j=await t.getLatestBlock();await z.initialize({currentBlock:j}),n++,a[n]=z,z.id=n,z.idHex=mb0(n);let Q=EA(a).length;return F({prevFilterCount:W,newFilterCount:Q}),n}async function S(z){let W=EA(a).length;delete a[z];let j=EA(a).length;F({prevFilterCount:W,newFilterCount:j})}async function O(){let z=EA(a).length;a={},F({prevFilterCount:z,newFilterCount:0})}function F({prevFilterCount:z,newFilterCount:W}){if(z===0&&W>0){t.on("sync",s);return}if(z>0&&W===0){t.removeListener("sync",s);return}}}function k3e(t){return E$(async(...e)=>{let n=await t(...e);return mb0(n.id)})}function E$(t){return b4n(async(e,n)=>{let a=await t.apply(null,e.params);n.result=a})}function T4n({mutex:t}){return e=>async(n,a,r,f)=>{(await t.acquire())(),e(n,a,r,f)}}function EA(t,e){let n=[];for(let a in t)n.push(t[a]);return n}});var Tb0=D((jXa,wb0)=>{u();p();var x4n=XY().default,{createAsyncMiddleware:vb0,createScaffoldMiddleware:E4n}=y3e(),_4n=gb0(),{unsafeRandomBytes:A4n,incrementHexInt:C4n}=xA(),I4n=x$();wb0.exports=k4n;function k4n({blockTracker:t,provider:e}){let n={},a=_4n({blockTracker:t,provider:e}),r=!1,f=new x4n,i=E4n({eth_subscribe:vb0(s),eth_unsubscribe:vb0(o)});return i.destroy=d,{events:f,middleware:i};async function s(l,h){if(r)throw new Error("SubscriptionManager - attempting to use after destroying");let y=l.params[0],v=A4n(16),S;switch(y){case"newHeads":S=O({subId:v});break;case"logs":let z=l.params[1],W=await a.newLogFilter(z);S=F({subId:v,filter:W});break;default:throw new Error(`SubscriptionManager - unsupported subscription type "${y}"`)}n[v]=S,h.result=v;return;function O({subId:z}){let W={type:y,destroy:async()=>{t.removeListener("sync",W.update)},update:async({oldBlock:j,newBlock:Q})=>{let V=Q,X=C4n(j);(await I4n({provider:e,fromBlock:X,toBlock:V})).map(S4n).filter(R=>R!==null).forEach(R=>{c(z,R)})}};return t.on("sync",W.update),W}function F({subId:z,filter:W}){return W.on("update",Q=>c(z,Q)),{type:y,destroy:async()=>await a.uninstallFilter(W.idHex)}}}async function o(l,h){if(r)throw new Error("SubscriptionManager - attempting to use after destroying");let y=l.params[0],v=n[y];if(!v){h.result=!1;return}delete n[y],await v.destroy(),h.result=!0}function c(l,h){f.emit("notification",{jsonrpc:"2.0",method:"eth_subscription",params:{subscription:l,result:h}})}function d(){f.removeAllListeners();for(let l in n)n[l].destroy(),delete n[l];r=!0}}function S4n(t){return t==null?null:{hash:t.hash,parentHash:t.parentHash,sha3Uncles:t.sha3Uncles,miner:t.miner,stateRoot:t.stateRoot,transactionsRoot:t.transactionsRoot,receiptsRoot:t.receiptsRoot,logsBloom:t.logsBloom,difficulty:t.difficulty,number:t.number,gasLimit:t.gasLimit,gasUsed:t.gasUsed,nonce:t.nonce,mixHash:t.mixHash,timestamp:t.timestamp,extraData:t.extraData}}});var Eb0=D(_$=>{"use strict";u();p();Object.defineProperty(_$,"__esModule",{value:!0});_$.SubscriptionManager=void 0;var R4n=v30(),M4n=Tb0(),xb0=()=>{},S3e=class{constructor(e){let n=new R4n.PollingBlockTracker({provider:e,pollingInterval:15e3,setSkipCacheFlag:!0}),{events:a,middleware:r}=M4n({blockTracker:n,provider:e});this.events=a,this.subscriptionMiddleware=r}async handleRequest(e){let n={};return await this.subscriptionMiddleware(e,n,xb0,xb0),n}destroy(){this.subscriptionMiddleware.destroy()}};_$.SubscriptionManager=S3e});var C$=D(_A=>{"use strict";u();p();var Ib0=_A&&_A.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_A,"__esModule",{value:!0});_A.CoinbaseWalletProvider=void 0;var B4n=Ib0(Va()),D4n=Nse(),Sa=lD(),An=fp(),P4n=Whe(),_b0=vY(),A$=TY(),V6=lY(),R3e=Ib0(sh0()),PD=gY(),L4n=uh0(),F4n=Eb0(),Ab0="DefaultChainId",Cb0="DefaultJsonRpcUrl",M3e=class extends D4n.EventEmitter{constructor(e){var n,a;super(),this._filterPolyfill=new L4n.FilterPolyfill(this),this._subscriptionManager=new F4n.SubscriptionManager(this),this._relay=null,this._addresses=[],this.hasMadeFirstChainChangedEmission=!1,this.setProviderInfo=this.setProviderInfo.bind(this),this.updateProviderInfo=this.updateProviderInfo.bind(this),this.getChainId=this.getChainId.bind(this),this.setAppInfo=this.setAppInfo.bind(this),this.enable=this.enable.bind(this),this.close=this.close.bind(this),this.send=this.send.bind(this),this.sendAsync=this.sendAsync.bind(this),this.request=this.request.bind(this),this._setAddresses=this._setAddresses.bind(this),this.scanQRCode=this.scanQRCode.bind(this),this.genericRequest=this.genericRequest.bind(this),this._chainIdFromOpts=e.chainId,this._jsonRpcUrlFromOpts=e.jsonRpcUrl,this._overrideIsMetaMask=e.overrideIsMetaMask,this._relayProvider=e.relayProvider,this._storage=e.storage,this._relayEventManager=e.relayEventManager,this.diagnostic=e.diagnosticLogger,this.reloadOnDisconnect=!0,this.isCoinbaseWallet=(n=e.overrideIsCoinbaseWallet)!==null&&n!==void 0?n:!0,this.isCoinbaseBrowser=(a=e.overrideIsCoinbaseBrowser)!==null&&a!==void 0?a:!1,this.qrUrl=e.qrUrl;let r=this.getChainId(),f=(0,An.prepend0x)(r.toString(16));this.emit("connect",{chainIdStr:f});let i=this._storage.getItem(_b0.LOCAL_STORAGE_ADDRESSES_KEY);if(i){let s=i.split(" ");s[0]!==""&&(this._addresses=s.map(o=>(0,An.ensureAddressString)(o)),this.emit("accountsChanged",s))}this._subscriptionManager.events.on("notification",s=>{this.emit("message",{type:s.method,data:s.params})}),this._isAuthorized()&&this.initializeRelay(),window.addEventListener("message",s=>{var o;if(!(s.origin!==location.origin||s.source!==window)&&s.data.type==="walletLinkMessage"&&s.data.data.action==="dappChainSwitched"){let c=s.data.data.chainId,d=(o=s.data.data.jsonRpcUrl)!==null&&o!==void 0?o:this.jsonRpcUrl;this.updateProviderInfo(d,Number(c))}})}get selectedAddress(){return this._addresses[0]||void 0}get networkVersion(){return this.getChainId().toString(10)}get chainId(){return(0,An.prepend0x)(this.getChainId().toString(16))}get isWalletLink(){return!0}get isMetaMask(){return this._overrideIsMetaMask}get host(){return this.jsonRpcUrl}get connected(){return!0}isConnected(){return!0}get jsonRpcUrl(){var e;return(e=this._storage.getItem(Cb0))!==null&&e!==void 0?e:this._jsonRpcUrlFromOpts}set jsonRpcUrl(e){this._storage.setItem(Cb0,e)}disableReloadOnDisconnect(){this.reloadOnDisconnect=!1}setProviderInfo(e,n){this.isCoinbaseBrowser||(this._chainIdFromOpts=n,this._jsonRpcUrlFromOpts=e),this.updateProviderInfo(this.jsonRpcUrl,this.getChainId())}updateProviderInfo(e,n){this.jsonRpcUrl=e;let a=this.getChainId();this._storage.setItem(Ab0,n.toString(10)),((0,An.ensureIntNumber)(n)!==a||!this.hasMadeFirstChainChangedEmission)&&(this.emit("chainChanged",this.getChainId()),this.hasMadeFirstChainChangedEmission=!0)}async watchAsset(e,n,a,r,f,i){let o=await(await this.initializeRelay()).watchAsset(e,n,a,r,f,i?.toString()).promise;return(0,V6.isErrorResponse)(o)?!1:!!o.result}async addEthereumChain(e,n,a,r,f,i){var s,o;if((0,An.ensureIntNumber)(e)===this.getChainId())return!1;let c=await this.initializeRelay(),d=c.inlineAddEthereumChain(e.toString());!this._isAuthorized()&&!d&&await c.requestEthereumAccounts().promise;let l=await c.addEthereumChain(e.toString(),n,f,a,r,i).promise;return(0,V6.isErrorResponse)(l)?!1:(((s=l.result)===null||s===void 0?void 0:s.isApproved)===!0&&this.updateProviderInfo(n[0],e),((o=l.result)===null||o===void 0?void 0:o.isApproved)===!0)}async switchEthereumChain(e){let a=await(await this.initializeRelay()).switchEthereumChain(e.toString(10),this.selectedAddress||void 0).promise;if((0,V6.isErrorResponse)(a)){if(!a.errorCode)return;throw a.errorCode===Sa.standardErrorCodes.provider.unsupportedChain?Sa.standardErrors.provider.unsupportedChain():Sa.standardErrors.provider.custom({message:a.errorMessage,code:a.errorCode})}let r=a.result;r.isApproved&&r.rpcUrl.length>0&&this.updateProviderInfo(r.rpcUrl,e)}setAppInfo(e,n){this.initializeRelay().then(a=>a.setAppInfo(e,n))}async enable(){var e;return(e=this.diagnostic)===null||e===void 0||e.log(PD.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::enable",addresses_length:this._addresses.length,sessionIdHash:this._relay?A$.Session.hash(this._relay.session.id):void 0}),this._isAuthorized()?[...this._addresses]:await this.send("eth_requestAccounts")}async close(){(await this.initializeRelay()).resetAndReload()}send(e,n){try{let a=this._send(e,n);if(a instanceof Promise)return a.catch(r=>{throw(0,Sa.serializeError)(r,e)})}catch(a){throw(0,Sa.serializeError)(a,e)}}_send(e,n){if(typeof e=="string"){let r=e,f=Array.isArray(n)?n:n!==void 0?[n]:[],i={jsonrpc:"2.0",id:0,method:r,params:f};return this._sendRequestAsync(i).then(s=>s.result)}if(typeof n=="function"){let r=e,f=n;return this._sendAsync(r,f)}if(Array.isArray(e))return e.map(f=>this._sendRequest(f));let a=e;return this._sendRequest(a)}async sendAsync(e,n){try{return this._sendAsync(e,n).catch(a=>{throw(0,Sa.serializeError)(a,e)})}catch(a){return Promise.reject((0,Sa.serializeError)(a,e))}}async _sendAsync(e,n){if(typeof n!="function")throw new Error("callback is required");if(Array.isArray(e)){let r=n;this._sendMultipleRequestsAsync(e).then(f=>r(null,f)).catch(f=>r(f,null));return}let a=n;return this._sendRequestAsync(e).then(r=>a(null,r)).catch(r=>a(r,null))}async request(e){try{return this._request(e).catch(n=>{throw(0,Sa.serializeError)(n,e.method)})}catch(n){return Promise.reject((0,Sa.serializeError)(n,e.method))}}async _request(e){if(!e||typeof e!="object"||Array.isArray(e))throw Sa.standardErrors.rpc.invalidRequest({message:"Expected a single, non-array, object argument.",data:e});let{method:n,params:a}=e;if(typeof n!="string"||n.length===0)throw Sa.standardErrors.rpc.invalidRequest({message:"'args.method' must be a non-empty string.",data:e});if(a!==void 0&&!Array.isArray(a)&&(typeof a!="object"||a===null))throw Sa.standardErrors.rpc.invalidRequest({message:"'args.params' must be an object or array if provided.",data:e});let r=a===void 0?[]:a,f=this._relayEventManager.makeRequestId();return(await this._sendRequestAsync({method:n,params:r,jsonrpc:"2.0",id:f})).result}async scanQRCode(e){let a=await(await this.initializeRelay()).scanQRCode((0,An.ensureRegExpString)(e)).promise;if((0,V6.isErrorResponse)(a))throw(0,Sa.serializeError)(a.errorMessage,"scanQRCode");if(typeof a.result!="string")throw(0,Sa.serializeError)("result was not a string","scanQRCode");return a.result}async genericRequest(e,n){let r=await(await this.initializeRelay()).genericRequest(e,n).promise;if((0,V6.isErrorResponse)(r))throw(0,Sa.serializeError)(r.errorMessage,"generic");if(typeof r.result!="string")throw(0,Sa.serializeError)("result was not a string","generic");return r.result}async connectAndSignIn(e){var n;(n=this.diagnostic)===null||n===void 0||n.log(PD.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::connectAndSignIn",sessionIdHash:this._relay?A$.Session.hash(this._relay.session.id):void 0});let a;try{let f=await this.initializeRelay();if(!(f instanceof P4n.MobileRelay))throw new Error("connectAndSignIn is only supported on mobile");if(a=await f.connectAndSignIn(e).promise,(0,V6.isErrorResponse)(a))throw new Error(a.errorMessage)}catch(f){throw typeof f.message=="string"&&f.message.match(/(denied|rejected)/i)?Sa.standardErrors.provider.userRejectedRequest("User denied account authorization"):f}if(!a.result)throw new Error("accounts received is empty");let{accounts:r}=a.result;return this._setAddresses(r),this.isCoinbaseBrowser||await this.switchEthereumChain(this.getChainId()),a.result}async selectProvider(e){let a=await(await this.initializeRelay()).selectProvider(e).promise;if((0,V6.isErrorResponse)(a))throw(0,Sa.serializeError)(a.errorMessage,"selectProvider");if(typeof a.result!="string")throw(0,Sa.serializeError)("result was not a string","selectProvider");return a.result}supportsSubscriptions(){return!1}subscribe(){throw new Error("Subscriptions are not supported")}unsubscribe(){throw new Error("Subscriptions are not supported")}disconnect(){return!0}_sendRequest(e){let n={jsonrpc:"2.0",id:e.id},{method:a}=e;if(n.result=this._handleSynchronousMethods(e),n.result===void 0)throw new Error(`Coinbase Wallet does not support calling ${a} synchronously without a callback. Please provide a callback parameter to call ${a} asynchronously.`);return n}_setAddresses(e,n){if(!Array.isArray(e))throw new Error("addresses is not an array");let a=e.map(r=>(0,An.ensureAddressString)(r));JSON.stringify(a)!==JSON.stringify(this._addresses)&&(this._addresses=a,this.emit("accountsChanged",this._addresses),this._storage.setItem(_b0.LOCAL_STORAGE_ADDRESSES_KEY,a.join(" ")))}_sendRequestAsync(e){return new Promise((n,a)=>{try{let r=this._handleSynchronousMethods(e);if(r!==void 0)return n({jsonrpc:"2.0",id:e.id,result:r});let f=this._handleAsynchronousFilterMethods(e);if(f!==void 0){f.then(s=>n(Object.assign(Object.assign({},s),{id:e.id}))).catch(s=>a(s));return}let i=this._handleSubscriptionMethods(e);if(i!==void 0){i.then(s=>n({jsonrpc:"2.0",id:e.id,result:s.result})).catch(s=>a(s));return}}catch(r){return a(r)}this._handleAsynchronousMethods(e).then(r=>r&&n(Object.assign(Object.assign({},r),{id:e.id}))).catch(r=>a(r))})}_sendMultipleRequestsAsync(e){return Promise.all(e.map(n=>this._sendRequestAsync(n)))}_handleSynchronousMethods(e){let{method:n}=e,a=e.params||[];switch(n){case"eth_accounts":return this._eth_accounts();case"eth_coinbase":return this._eth_coinbase();case"eth_uninstallFilter":return this._eth_uninstallFilter(a);case"net_version":return this._net_version();case"eth_chainId":return this._eth_chainId();default:return}}async _handleAsynchronousMethods(e){let{method:n}=e,a=e.params||[];switch(n){case"eth_requestAccounts":return this._eth_requestAccounts();case"eth_sign":return this._eth_sign(a);case"eth_ecRecover":return this._eth_ecRecover(a);case"personal_sign":return this._personal_sign(a);case"personal_ecRecover":return this._personal_ecRecover(a);case"eth_signTransaction":return this._eth_signTransaction(a);case"eth_sendRawTransaction":return this._eth_sendRawTransaction(a);case"eth_sendTransaction":return this._eth_sendTransaction(a);case"eth_signTypedData_v1":return this._eth_signTypedData_v1(a);case"eth_signTypedData_v2":return this._throwUnsupportedMethodError();case"eth_signTypedData_v3":return this._eth_signTypedData_v3(a);case"eth_signTypedData_v4":case"eth_signTypedData":return this._eth_signTypedData_v4(a);case"cbWallet_arbitrary":return this._cbwallet_arbitrary(a);case"wallet_addEthereumChain":return this._wallet_addEthereumChain(a);case"wallet_switchEthereumChain":return this._wallet_switchEthereumChain(a);case"wallet_watchAsset":return this._wallet_watchAsset(a)}return(await this.initializeRelay()).makeEthereumJSONRPCRequest(e,this.jsonRpcUrl).catch(f=>{var i;throw(f.code===Sa.standardErrorCodes.rpc.methodNotFound||f.code===Sa.standardErrorCodes.rpc.methodNotSupported)&&((i=this.diagnostic)===null||i===void 0||i.log(PD.EVENTS.METHOD_NOT_IMPLEMENTED,{method:e.method,sessionIdHash:this._relay?A$.Session.hash(this._relay.session.id):void 0})),f})}_handleAsynchronousFilterMethods(e){let{method:n}=e,a=e.params||[];switch(n){case"eth_newFilter":return this._eth_newFilter(a);case"eth_newBlockFilter":return this._eth_newBlockFilter();case"eth_newPendingTransactionFilter":return this._eth_newPendingTransactionFilter();case"eth_getFilterChanges":return this._eth_getFilterChanges(a);case"eth_getFilterLogs":return this._eth_getFilterLogs(a)}}_handleSubscriptionMethods(e){switch(e.method){case"eth_subscribe":case"eth_unsubscribe":return this._subscriptionManager.handleRequest(e)}}_isKnownAddress(e){try{let n=(0,An.ensureAddressString)(e);return this._addresses.map(r=>(0,An.ensureAddressString)(r)).includes(n)}catch{}return!1}_ensureKnownAddress(e){var n;if(!this._isKnownAddress(e))throw(n=this.diagnostic)===null||n===void 0||n.log(PD.EVENTS.UNKNOWN_ADDRESS_ENCOUNTERED),new Error("Unknown Ethereum address")}_prepareTransactionParams(e){let n=e.from?(0,An.ensureAddressString)(e.from):this.selectedAddress;if(!n)throw new Error("Ethereum address is unavailable");this._ensureKnownAddress(n);let a=e.to?(0,An.ensureAddressString)(e.to):null,r=e.value!=null?(0,An.ensureBN)(e.value):new B4n.default(0),f=e.data?(0,An.ensureBuffer)(e.data):_.Buffer.alloc(0),i=e.nonce!=null?(0,An.ensureIntNumber)(e.nonce):null,s=e.gasPrice!=null?(0,An.ensureBN)(e.gasPrice):null,o=e.maxFeePerGas!=null?(0,An.ensureBN)(e.maxFeePerGas):null,c=e.maxPriorityFeePerGas!=null?(0,An.ensureBN)(e.maxPriorityFeePerGas):null,d=e.gas!=null?(0,An.ensureBN)(e.gas):null,l=e.chainId?(0,An.ensureIntNumber)(e.chainId):this.getChainId();return{fromAddress:n,toAddress:a,weiValue:r,data:f,nonce:i,gasPriceInWei:s,maxFeePerGas:o,maxPriorityFeePerGas:c,gasLimit:d,chainId:l}}_isAuthorized(){return this._addresses.length>0}_requireAuthorization(){if(!this._isAuthorized())throw Sa.standardErrors.provider.unauthorized({})}_throwUnsupportedMethodError(){throw Sa.standardErrors.provider.unsupportedMethod({})}async _signEthereumMessage(e,n,a,r){this._ensureKnownAddress(n);try{let i=await(await this.initializeRelay()).signEthereumMessage(e,n,a,r).promise;if((0,V6.isErrorResponse)(i))throw new Error(i.errorMessage);return{jsonrpc:"2.0",id:0,result:i.result}}catch(f){throw typeof f.message=="string"&&f.message.match(/(denied|rejected)/i)?Sa.standardErrors.provider.userRejectedRequest("User denied message signature"):f}}async _ethereumAddressFromSignedMessage(e,n,a){let f=await(await this.initializeRelay()).ethereumAddressFromSignedMessage(e,n,a).promise;if((0,V6.isErrorResponse)(f))throw new Error(f.errorMessage);return{jsonrpc:"2.0",id:0,result:f.result}}_eth_accounts(){return[...this._addresses]}_eth_coinbase(){return this.selectedAddress||null}_net_version(){return this.getChainId().toString(10)}_eth_chainId(){return(0,An.hexStringFromIntNumber)(this.getChainId())}getChainId(){let e=this._storage.getItem(Ab0);if(!e)return(0,An.ensureIntNumber)(this._chainIdFromOpts);let n=parseInt(e,10);return(0,An.ensureIntNumber)(n)}async _eth_requestAccounts(){var e;if((e=this.diagnostic)===null||e===void 0||e.log(PD.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::_eth_requestAccounts",addresses_length:this._addresses.length,sessionIdHash:this._relay?A$.Session.hash(this._relay.session.id):void 0}),this._isAuthorized())return Promise.resolve({jsonrpc:"2.0",id:0,result:this._addresses});let n;try{if(n=await(await this.initializeRelay()).requestEthereumAccounts().promise,(0,V6.isErrorResponse)(n))throw new Error(n.errorMessage)}catch(a){throw typeof a.message=="string"&&a.message.match(/(denied|rejected)/i)?Sa.standardErrors.provider.userRejectedRequest("User denied account authorization"):a}if(!n.result)throw new Error("accounts received is empty");return this._setAddresses(n.result),this.isCoinbaseBrowser||await this.switchEthereumChain(this.getChainId()),{jsonrpc:"2.0",id:0,result:this._addresses}}_eth_sign(e){this._requireAuthorization();let n=(0,An.ensureAddressString)(e[0]),a=(0,An.ensureBuffer)(e[1]);return this._signEthereumMessage(a,n,!1)}_eth_ecRecover(e){let n=(0,An.ensureBuffer)(e[0]),a=(0,An.ensureBuffer)(e[1]);return this._ethereumAddressFromSignedMessage(n,a,!1)}_personal_sign(e){this._requireAuthorization();let n=(0,An.ensureBuffer)(e[0]),a=(0,An.ensureAddressString)(e[1]);return this._signEthereumMessage(n,a,!0)}_personal_ecRecover(e){let n=(0,An.ensureBuffer)(e[0]),a=(0,An.ensureBuffer)(e[1]);return this._ethereumAddressFromSignedMessage(n,a,!0)}async _eth_signTransaction(e){this._requireAuthorization();let n=this._prepareTransactionParams(e[0]||{});try{let r=await(await this.initializeRelay()).signEthereumTransaction(n).promise;if((0,V6.isErrorResponse)(r))throw new Error(r.errorMessage);return{jsonrpc:"2.0",id:0,result:r.result}}catch(a){throw typeof a.message=="string"&&a.message.match(/(denied|rejected)/i)?Sa.standardErrors.provider.userRejectedRequest("User denied transaction signature"):a}}async _eth_sendRawTransaction(e){let n=(0,An.ensureBuffer)(e[0]),r=await(await this.initializeRelay()).submitEthereumTransaction(n,this.getChainId()).promise;if((0,V6.isErrorResponse)(r))throw new Error(r.errorMessage);return{jsonrpc:"2.0",id:0,result:r.result}}async _eth_sendTransaction(e){this._requireAuthorization();let n=this._prepareTransactionParams(e[0]||{});try{let r=await(await this.initializeRelay()).signAndSubmitEthereumTransaction(n).promise;if((0,V6.isErrorResponse)(r))throw new Error(r.errorMessage);return{jsonrpc:"2.0",id:0,result:r.result}}catch(a){throw typeof a.message=="string"&&a.message.match(/(denied|rejected)/i)?Sa.standardErrors.provider.userRejectedRequest("User denied transaction signature"):a}}async _eth_signTypedData_v1(e){this._requireAuthorization();let n=(0,An.ensureParsedJSONObject)(e[0]),a=(0,An.ensureAddressString)(e[1]);this._ensureKnownAddress(a);let r=R3e.default.hashForSignTypedDataLegacy({data:n}),f=JSON.stringify(n,null,2);return this._signEthereumMessage(r,a,!1,f)}async _eth_signTypedData_v3(e){this._requireAuthorization();let n=(0,An.ensureAddressString)(e[0]),a=(0,An.ensureParsedJSONObject)(e[1]);this._ensureKnownAddress(n);let r=R3e.default.hashForSignTypedData_v3({data:a}),f=JSON.stringify(a,null,2);return this._signEthereumMessage(r,n,!1,f)}async _eth_signTypedData_v4(e){this._requireAuthorization();let n=(0,An.ensureAddressString)(e[0]),a=(0,An.ensureParsedJSONObject)(e[1]);this._ensureKnownAddress(n);let r=R3e.default.hashForSignTypedData_v4({data:a}),f=JSON.stringify(a,null,2);return this._signEthereumMessage(r,n,!1,f)}async _cbwallet_arbitrary(e){let n=e[0],a=e[1];if(typeof a!="string")throw new Error("parameter must be a string");if(typeof n!="object"||n===null)throw new Error("parameter must be an object");return{jsonrpc:"2.0",id:0,result:await this.genericRequest(n,a)}}async _wallet_addEthereumChain(e){var n,a,r,f;let i=e[0];if(((n=i.rpcUrls)===null||n===void 0?void 0:n.length)===0)return{jsonrpc:"2.0",id:0,error:{code:2,message:"please pass in at least 1 rpcUrl"}};if(!i.chainName||i.chainName.trim()==="")throw Sa.standardErrors.rpc.invalidParams("chainName is a required field");if(!i.nativeCurrency)throw Sa.standardErrors.rpc.invalidParams("nativeCurrency is a required field");let s=parseInt(i.chainId,16);return await this.addEthereumChain(s,(a=i.rpcUrls)!==null&&a!==void 0?a:[],(r=i.blockExplorerUrls)!==null&&r!==void 0?r:[],i.chainName,(f=i.iconUrls)!==null&&f!==void 0?f:[],i.nativeCurrency)?{jsonrpc:"2.0",id:0,result:null}:{jsonrpc:"2.0",id:0,error:{code:2,message:"unable to add ethereum chain"}}}async _wallet_switchEthereumChain(e){let n=e[0];return await this.switchEthereumChain(parseInt(n.chainId,16)),{jsonrpc:"2.0",id:0,result:null}}async _wallet_watchAsset(e){let n=Array.isArray(e)?e[0]:e;if(!n.type)throw Sa.standardErrors.rpc.invalidParams("Type is required");if(n?.type!=="ERC20")throw Sa.standardErrors.rpc.invalidParams(`Asset of type '${n.type}' is not supported`);if(!n?.options)throw Sa.standardErrors.rpc.invalidParams("Options are required");if(!n?.options.address)throw Sa.standardErrors.rpc.invalidParams("Address is required");let a=this.getChainId(),{address:r,symbol:f,image:i,decimals:s}=n.options;return{jsonrpc:"2.0",id:0,result:await this.watchAsset(n.type,r,f,s,i,a)}}_eth_uninstallFilter(e){let n=(0,An.ensureHexString)(e[0]);return this._filterPolyfill.uninstallFilter(n)}async _eth_newFilter(e){let n=e[0];return{jsonrpc:"2.0",id:0,result:await this._filterPolyfill.newFilter(n)}}async _eth_newBlockFilter(){return{jsonrpc:"2.0",id:0,result:await this._filterPolyfill.newBlockFilter()}}async _eth_newPendingTransactionFilter(){return{jsonrpc:"2.0",id:0,result:await this._filterPolyfill.newPendingTransactionFilter()}}_eth_getFilterChanges(e){let n=(0,An.ensureHexString)(e[0]);return this._filterPolyfill.getFilterChanges(n)}_eth_getFilterLogs(e){let n=(0,An.ensureHexString)(e[0]);return this._filterPolyfill.getFilterLogs(n)}initializeRelay(){return this._relay?Promise.resolve(this._relay):this._relayProvider().then(e=>(e.setAccountsCallback((n,a)=>this._setAddresses(n,a)),e.setChainCallback((n,a)=>{this.updateProviderInfo(a,parseInt(n,10))}),e.setDappDefaultChainCallback(this._chainIdFromOpts),this._relay=e,e))}};_A.CoinbaseWalletProvider=M3e});var kb0=D(I$=>{"use strict";u();p();Object.defineProperty(I$,"__esModule",{value:!0});I$.RelayEventManager=void 0;var N4n=fp(),B3e=class{constructor(){this._nextRequestId=0,this.callbacks=new Map}makeRequestId(){this._nextRequestId=(this._nextRequestId+1)%2147483647;let e=this._nextRequestId,n=(0,N4n.prepend0x)(e.toString(16));return this.callbacks.get(n)&&this.callbacks.delete(n),e}};I$.RelayEventManager=B3e});var D3e=D(S$=>{"use strict";u();p();Object.defineProperty(S$,"__esModule",{value:!0});S$.CoinbaseWalletSDK=void 0;var O4n=Ou0(),U4n=Uu0(),Sb0=fp(),H4n=ip0(),z4n=C$(),W4n=Whe(),q4n=Hhe(),j4n=kb0(),G4n=Lhe(),K4n=Fhe(),Rb0=pY(),k$=class t{constructor(e){var n,a,r;this._appName="",this._appLogoUrl=null,this._relay=null,this._relayEventManager=null;let f=e.linkAPIUrl||U4n.LINK_API_URL;typeof e.overrideIsMetaMask>"u"?this._overrideIsMetaMask=!1:this._overrideIsMetaMask=e.overrideIsMetaMask,this._overrideIsCoinbaseWallet=(n=e.overrideIsCoinbaseWallet)!==null&&n!==void 0?n:!0,this._overrideIsCoinbaseBrowser=(a=e.overrideIsCoinbaseBrowser)!==null&&a!==void 0?a:!1,this._diagnosticLogger=e.diagnosticLogger,this._reloadOnDisconnect=(r=e.reloadOnDisconnect)!==null&&r!==void 0?r:!0;let i=new URL(f),s=`${i.protocol}//${i.host}`;if(this._storage=new H4n.ScopedLocalStorage(`-walletlink:${s}`),this._storage.setItem("version",t.VERSION),this.walletExtension||this.coinbaseBrowser)return;this._relayEventManager=new j4n.RelayEventManager;let o=(0,Sb0.isMobileWeb)(),c=e.uiConstructor||(l=>o?new q4n.MobileRelayUI(l):new G4n.WalletLinkRelayUI(l)),d={linkAPIUrl:f,version:Rb0.LIB_VERSION,darkMode:!!e.darkMode,headlessMode:!!e.headlessMode,uiConstructor:c,storage:this._storage,relayEventManager:this._relayEventManager,diagnosticLogger:this._diagnosticLogger,reloadOnDisconnect:this._reloadOnDisconnect,enableMobileWalletLink:e.enableMobileWalletLink};this._relay=o?new W4n.MobileRelay(d):new K4n.WalletLinkRelay(d),this.setAppInfo(e.appName,e.appLogoUrl),!e.headlessMode&&this._relay.attachUI()}makeWeb3Provider(e="",n=1){let a=this.walletExtension;if(a)return this.isCipherProvider(a)||a.setProviderInfo(e,n),this._reloadOnDisconnect===!1&&typeof a.disableReloadOnDisconnect=="function"&&a.disableReloadOnDisconnect(),a;let r=this.coinbaseBrowser;if(r)return r;let f=this._relay;if(!f||!this._relayEventManager||!this._storage)throw new Error("Relay not initialized, should never happen");return e||f.setConnectDisabled(!0),new z4n.CoinbaseWalletProvider({relayProvider:()=>Promise.resolve(f),relayEventManager:this._relayEventManager,storage:this._storage,jsonRpcUrl:e,chainId:n,qrUrl:this.getQrUrl(),diagnosticLogger:this._diagnosticLogger,overrideIsMetaMask:this._overrideIsMetaMask,overrideIsCoinbaseWallet:this._overrideIsCoinbaseWallet,overrideIsCoinbaseBrowser:this._overrideIsCoinbaseBrowser})}setAppInfo(e,n){var a;this._appName=e||"DApp",this._appLogoUrl=n||(0,Sb0.getFavicon)();let r=this.walletExtension;r?this.isCipherProvider(r)||r.setAppInfo(this._appName,this._appLogoUrl):(a=this._relay)===null||a===void 0||a.setAppInfo(this._appName,this._appLogoUrl)}disconnect(){var e;let n=this===null||this===void 0?void 0:this.walletExtension;n?n.close():(e=this._relay)===null||e===void 0||e.resetAndReload()}getQrUrl(){var e,n;return(n=(e=this._relay)===null||e===void 0?void 0:e.getQRCodeUrl())!==null&&n!==void 0?n:null}getCoinbaseWalletLogo(e,n=240){return(0,O4n.walletLogo)(e,n)}get walletExtension(){var e;return(e=window.coinbaseWalletExtension)!==null&&e!==void 0?e:window.walletLinkExtension}get coinbaseBrowser(){var e,n;try{let a=(e=window.ethereum)!==null&&e!==void 0?e:(n=window.top)===null||n===void 0?void 0:n.ethereum;return a&&"isCoinbaseBrowser"in a&&a.isCoinbaseBrowser?a:void 0}catch{return}}isCipherProvider(e){return typeof e.isCipher=="boolean"&&e.isCipher}};S$.CoinbaseWalletSDK=k$;k$.VERSION=Rb0.LIB_VERSION});var Bb0=D(Bg=>{"use strict";u();p();Object.defineProperty(Bg,"__esModule",{value:!0});Bg.CoinbaseWalletProvider=Bg.CoinbaseWalletSDK=void 0;var P3e=D3e(),Mb0=C$(),Q4n=D3e();Object.defineProperty(Bg,"CoinbaseWalletSDK",{enumerable:!0,get:function(){return Q4n.CoinbaseWalletSDK}});var V4n=C$();Object.defineProperty(Bg,"CoinbaseWalletProvider",{enumerable:!0,get:function(){return V4n.CoinbaseWalletProvider}});Bg.default=P3e.CoinbaseWalletSDK;typeof window<"u"&&(window.CoinbaseWalletSDK=P3e.CoinbaseWalletSDK,window.CoinbaseWalletProvider=Mb0.CoinbaseWalletProvider,window.WalletLink=P3e.CoinbaseWalletSDK,window.WalletLinkProvider=Mb0.CoinbaseWalletProvider)});var Db0={};V0(Db0,{CoinbaseWalletConnector:()=>L3e});var l4,L3e,Pb0=ce(()=>{"use strict";u();p();kt();D9();po();l4=Ee(Xe());wn();_m();ch();W0();L3e=class extends Jc{constructor(e){let{chains:n,options:a}=e;super({chains:n,options:{reloadOnDisconnect:!1,...a}}),Pe(this,"id",U0.coinbase),Pe(this,"name","Coinbase Wallet"),Pe(this,"ready",!0),Pe(this,"onAccountsChanged",r=>{r.length===0?this.emit("disconnect"):this.emit("change",{account:l4.utils.getAddress(r[0])})}),Pe(this,"onChainChanged",r=>{let f=vi(r),i=this.isChainUnsupported(f);this.emit("change",{chain:{id:f,unsupported:i}})}),Pe(this,"onDisconnect",()=>{this.emit("disconnect")})}async connect(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();this.setupListeners(),this.emit("message",{type:"connecting"});let a=await n.enable(),r=l4.utils.getAddress(a[0]),f=await this.getChainId(),i=this.isChainUnsupported(f);if(e&&f!==e)try{f=(await this.switchChain(e)).chainId,i=this.isChainUnsupported(f)}catch(s){console.error(`Connected but failed to switch to desired chain ${e}`,s)}return{account:r,chain:{id:f,unsupported:i},provider:new l4.providers.Web3Provider(n)}}catch(n){throw/(user closed modal|accounts received is empty)/i.test(n.message)?new _t(n):n}}async disconnect(){if(!this._provider)return;let e=await this.getProvider();e.removeListener("accountsChanged",this.onAccountsChanged),e.removeListener("chainChanged",this.onChainChanged),e.removeListener("disconnect",this.onDisconnect),e.disconnect(),e.close()}async getAccount(){let n=await(await this.getProvider()).request({method:"eth_accounts"});if(n.length===0)throw new Error("No accounts found");return l4.utils.getAddress(n[0])}async getChainId(){let e=await this.getProvider();return vi(e.chainId)}async getProvider(){if(!this._provider){let e=(await Promise.resolve().then(()=>Ee(Bb0()))).default;typeof e!="function"&&typeof e.default=="function"&&(e=e.default),this._client=new e(this.options);let n=this._client.walletExtension?.getChainId(),a=this.chains.find(i=>this.options.chainId?i.chainId===this.options.chainId:i.chainId===n)||this.chains[0],r=this.options.chainId||a?.chainId,f=this.options.jsonRpcUrl||a?.rpc[0];this._provider=this._client.makeWeb3Provider(f,r)}return this._provider}async getSigner(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[n,a]=await Promise.all([this.getProvider(),this.getAccount()]);return new l4.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){try{return!!await this.getAccount()}catch{return!1}}async switchChain(e){let n=await this.getProvider(),a=l4.utils.hexValue(e);try{return await n.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]}),this.chains.find(r=>r.chainId===e)??{chainId:e,name:`Chain ${a}`,slug:`${a}`,nativeCurrency:{name:"Ether",decimals:18,symbol:"ETH"},rpc:[""],testnet:!1,chain:"ethereum",shortName:"eth"}}catch(r){let f=this.chains.find(i=>i.chainId===e);if(!f)throw new Em({chainId:e,connectorId:this.id});if(r.code===4902)try{return await n.request({method:"wallet_addEthereumChain",params:[{chainId:a,chainName:f.name,nativeCurrency:f.nativeCurrency,rpcUrls:Pu(f),blockExplorerUrls:this.getBlockExplorerUrls(f)}]}),f}catch(i){throw this._isUserRejectedRequestError(i)?new _t(i):new xm}throw this._isUserRejectedRequestError(r)?new _t(r):new rc(r)}}_isUserRejectedRequestError(e){return/(user rejected)/i.test(e.message)}async setupListeners(){let e=await this.getProvider();e.on("accountsChanged",this.onAccountsChanged),e.on("chainChanged",this.onChainChanged),e.on("disconnect",this.onDisconnect)}async getQrUrl(){if(await this.getProvider(),!this._client)throw new Error("Coinbase Wallet SDK not initialized");return this._client.getQrUrl()}}});var Ob0=D((MZa,Nb0)=>{u();p();var Fb0=t=>t==="injected"?"injected":t.endsWith(".ipc")?"ipc":t.startsWith("wss://")||t.startsWith("ws://")?"ws":t.startsWith("https://")||t.startsWith("http://")?"http":"";Nb0.exports=(t,e)=>[].concat(...[].concat(t).map(n=>e[n]?e[n].map(a=>({type:n,location:a,protocol:Fb0(a)})):{type:"custom",location:n,protocol:Fb0(n)})).filter(n=>n.protocol||n.type==="injected"?!0:(console.log('eth-provider | Invalid provider preset/location: "'+n.location+'"'),!1))});var Ub0=D(R$=>{"use strict";u();p();Object.defineProperty(R$,"__esModule",{value:!0});R$.create=void 0;function Y4n(t,e=[],n,a){let r={id:n,method:t,params:e,jsonrpc:"2.0"};if(a&&(r.chainId=a),r.method==="eth_sendTransaction"){let f=$4n(r);if(f)throw new Error(`Payload chainId (${f}) inconsistent with specified target chainId: ${a}`);return J4n(r)}return r}R$.create=Y4n;function $4n(t){if(t.method!=="eth_sendTransaction")return!1;let e=t.params[0]||{},n=e.chainId;return"chainId"in e&&parseInt(n)!==parseInt(t.chainId||n)}function J4n(t){let e=t.params[0]||{};return{...t,params:[{...e,chainId:e.chainId||t.chainId},...t.params.slice(1)]}}});var Hb0=D(LD=>{"use strict";u();p();var X4n=LD&&LD.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(LD,"__esModule",{value:!0});var Z4n=X4n(Nr()),eyn=Ub0(),F3e=class extends Z4n.default{constructor(e){super(),this.promises={},this.attemptedSubscriptions=new Set,this.subscriptions=[],this.checkConnectionRunning=!1,this.nextId=1,this.connected=!1,this.accounts=[],this.selectedAddress=void 0,this.coinbase=void 0,this.enable=this.enable.bind(this),this.doSend=this.doSend.bind(this),this.send=this.send.bind(this),this.sendBatch=this.sendBatch.bind(this),this.subscribe=this.subscribe.bind(this),this.unsubscribe=this.unsubscribe.bind(this),this.resumeSubscriptions=this.resumeSubscriptions.bind(this),this.sendAsync=this.sendAsync.bind(this),this.sendAsyncBatch=this.sendAsyncBatch.bind(this),this.isConnected=this.isConnected.bind(this),this.close=this.close.bind(this),this.request=this.request.bind(this),this.connection=e,this.on("connect",this.resumeSubscriptions),this.connection.on("connect",()=>this.checkConnection(1e3)),this.connection.on("close",()=>{this.connected=!1,this.attemptedSubscriptions.clear(),this.emit("close"),this.emit("disconnect")}),this.connection.on("payload",n=>{let{id:a,method:r,error:f,result:i}=n;if(typeof a<"u"){if(this.promises[a]){let s=this.promises[a].method;if(s&&["eth_accounts","eth_requestAccounts"].includes(s)){let o=i||[];this.accounts=o,this.selectedAddress=o[0],this.coinbase=o[0]}n.error?this.promises[a].reject(f):this.promises[a].resolve(i),delete this.promises[a]}}else r&&r.indexOf("_subscription")>-1&&(this.emit(n.params.subscription,n.params.result),this.emit(r,n.params),this.emit("message",{type:n.method,data:{subscription:n.params.subscription,result:n.params.result}}),this.emit("data",n))}),this.on("newListener",n=>{Object.keys(this.eventHandlers).includes(n)&&!this.attemptedSubscription(n)&&this.connected&&(this.startSubscription(n),n==="networkChanged"&&console.warn("The networkChanged event is being deprecated, use chainChanged instead"))}),this.eventHandlers={networkChanged:n=>{this.networkVersion=typeof n=="string"?parseInt(n):n,this.emit("networkChanged",this.networkVersion)},chainChanged:n=>{this.providerChainId=n,this.manualChainId||this.emit("chainChanged",n)},chainsChanged:n=>{this.emit("chainsChanged",n)},accountsChanged:n=>{this.selectedAddress=n[0],this.emit("accountsChanged",n)},assetsChanged:n=>{this.emit("assetsChanged",n)}}}get chainId(){return this.manualChainId||this.providerChainId}async checkConnection(e=4e3){if(!(this.checkConnectionRunning||this.connected)){clearTimeout(this.checkConnectionTimer),this.checkConnectionTimer=void 0,this.checkConnectionRunning=!0;try{this.networkVersion=await this.doSend("net_version",[],void 0,!1),this.providerChainId=await this.doSend("eth_chainId",[],void 0,!1),this.connected=!0}catch{this.checkConnectionTimer=setTimeout(()=>this.checkConnection(),e),this.connected=!1}finally{this.checkConnectionRunning=!1,this.connected&&this.emit("connect",{chainId:this.providerChainId})}}}attemptedSubscription(e){return this.attemptedSubscriptions.has(e)}setSubscriptionAttempted(e){this.attemptedSubscriptions.add(e)}async startSubscription(e){console.debug(`starting subscription for ${e} events`),this.setSubscriptionAttempted(e);try{let n=await this.subscribe("eth_subscribe",e);this.on(n,this.eventHandlers[e])}catch(n){console.warn(`Unable to subscribe to ${e}`,n)}}resumeSubscriptions(){Object.keys(this.eventHandlers).forEach(e=>{this.listenerCount(e)&&!this.attemptedSubscription(e)&&this.startSubscription(e)})}async enable(){let e=await this.doSend("eth_accounts");if(e.length>0)return this.accounts=e,this.selectedAddress=e[0],this.coinbase=e[0],this.emit("enable"),e;{let n=new Error("User Denied Full Provider");throw n.code="4001",n}}doSend(e,n=[],a=this.manualChainId,r=!0){let f=(i,s)=>{let o=typeof e=="object"?e.method:e,c=typeof e=="object"?e.params:n,d=typeof e=="object"&&e.chainId||a;if(!o)return s(new Error("Method is not a valid string."));try{let l=(0,eyn.create)(o,c,this.nextId++,d);this.promises[l.id]={resolve:h=>i(h),reject:s,method:l.method},this.connection.send(l)}catch(l){s(l)}};return this.connected||!r?new Promise(f):new Promise((i,s)=>{let o=()=>(clearTimeout(c),i(new Promise(f))),c=setTimeout(()=>{this.off("connect",o),s(new Error("Not connected"))},5e3);this.once("connect",o)})}async send(e,n){if(typeof e=="string"&&(!n||Array.isArray(n))){let a=n;return this.doSend(e,a)}if(e&&typeof e=="object"&&typeof n=="function"){let a=n;return this.sendAsync(e,a)}return this.request(e)}sendBatch(e){return Promise.all(e.map(n=>this.doSend(n.method,n.params)))}async subscribe(e,n,a=[]){let r=await this.doSend(e,[n,...a]);return this.subscriptions.push(r),r}async unsubscribe(e,n){let a=await this.doSend(e,[n]);if(a)return this.subscriptions=this.subscriptions.filter(r=>r!==n),this.removeAllListeners(n),a}async sendAsync(e,n){if(!n||typeof n!="function")return new Error("Invalid or undefined callback provided to sendAsync");if(!e)return n(new Error("Invalid Payload"));if(Array.isArray(e)){let a=e.map(f=>({...f,jsonrpc:"2.0"})),r=n;return this.sendAsyncBatch(a,r)}else{let a={...e,jsonrpc:"2.0"},r=n;try{let f=await this.doSend(a.method,a.params);r(null,{id:a.id,jsonrpc:a.jsonrpc,result:f})}catch(f){r(f)}}}async sendAsyncBatch(e,n){try{let r=(await this.sendBatch(e)).map((f,i)=>({id:e[i].id,jsonrpc:e[i].jsonrpc,result:f}));n(null,r)}catch(a){n(a)}}isConnected(){return this.connected}close(){this.connection&&this.connection.close&&this.connection.close(),this.off("connect",this.resumeSubscriptions),this.connected=!1;let e=new Error("Provider closed, subscription lost, please subscribe again.");this.subscriptions.forEach(n=>this.emit(n,e)),this.subscriptions=[],this.manualChainId=void 0,this.providerChainId=void 0,this.networkVersion=void 0,this.selectedAddress=void 0,this.coinbase=void 0}async request(e){return this.doSend(e.method,e.params,e.chainId)}setChain(e){typeof e=="number"&&(e="0x"+e.toString(16));let n=e!==this.chainId;this.manualChainId=e,n&&this.emit("chainChanged",this.chainId)}};LD.default=F3e});var Wb0=D((HZa,zb0)=>{u();p();var tyn=Nr(),CA=E.env.NODE_ENV==="development",N3e=class extends tyn{constructor(e,n,a){super(),this.targets=n,this.options=a,this.connections=e,this.connected=!1,this.status="loading",this.interval=a.interval||5e3,this.name=a.name||"default",this.inSetup=!0,this.connect()}connect(e=0){if(CA&&e===0&&console.log(` +${h3e(e)}`,{request:e})}};wA.JsonRpcEngine=b3e;function h3e(t){return JSON.stringify(t,null,2)}});var W30=D(m$=>{"use strict";u();p();Object.defineProperty(m$,"__esModule",{value:!0});m$.mergeMiddleware=void 0;var Smn=m3e();function Rmn(t){let e=new Smn.JsonRpcEngine;return t.forEach(n=>e.push(n)),e.asMiddleware()}m$.mergeMiddleware=Rmn});var y3e=D(Cd=>{"use strict";u();p();var Mmn=Cd&&Cd.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),TA=Cd&&Cd.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Mmn(e,t,n)};Object.defineProperty(Cd,"__esModule",{value:!0});TA(T30(),Cd);TA(x30(),Cd);TA(E30(),Cd);TA(r3e(),Cd);TA(m3e(),Cd);TA(W30(),Cd)});var v3e=D(g3e=>{"use strict";u();p();Object.defineProperty(g3e,"__esModule",{value:!0});var q30=(lV(),vn(dV)),Bmn=function(){function t(e){if(this._maxConcurrency=e,this._queue=[],e<=0)throw new Error("semaphore must be initialized to a positive value");this._value=e}return t.prototype.acquire=function(){var e=this,n=this.isLocked(),a=new Promise(function(r){return e._queue.push(r)});return n||this._dispatch(),a},t.prototype.runExclusive=function(e){return q30.__awaiter(this,void 0,void 0,function(){var n,a,r;return q30.__generator(this,function(f){switch(f.label){case 0:return[4,this.acquire()];case 1:n=f.sent(),a=n[0],r=n[1],f.label=2;case 2:return f.trys.push([2,,4,5]),[4,e(a)];case 3:return[2,f.sent()];case 4:return r(),[7];case 5:return[2]}})})},t.prototype.isLocked=function(){return this._value<=0},t.prototype.release=function(){if(this._maxConcurrency>1)throw new Error("this method is unavailabel on semaphores with concurrency > 1; use the scoped release returned by acquire instead");if(this._currentReleaser){var e=this._currentReleaser;this._currentReleaser=void 0,e()}},t.prototype._dispatch=function(){var e=this,n=this._queue.shift();if(n){var a=!1;this._currentReleaser=function(){a||(a=!0,e._value++,e._dispatch())},n([this._value--,this._currentReleaser])}},t}();g3e.default=Bmn});var G30=D(w3e=>{"use strict";u();p();Object.defineProperty(w3e,"__esModule",{value:!0});var j30=(lV(),vn(dV)),Dmn=v3e(),Pmn=function(){function t(){this._semaphore=new Dmn.default(1)}return t.prototype.acquire=function(){return j30.__awaiter(this,void 0,void 0,function(){var e,n;return j30.__generator(this,function(a){switch(a.label){case 0:return[4,this._semaphore.acquire()];case 1:return e=a.sent(),n=e[1],[2,n]}})})},t.prototype.runExclusive=function(e){return this._semaphore.runExclusive(function(){return e()})},t.prototype.isLocked=function(){return this._semaphore.isLocked()},t.prototype.release=function(){this._semaphore.release()},t}();w3e.default=Pmn});var K30=D(g$=>{"use strict";u();p();Object.defineProperty(g$,"__esModule",{value:!0});g$.withTimeout=void 0;var y$=(lV(),vn(dV));function Lmn(t,e,n){var a=this;return n===void 0&&(n=new Error("timeout")),{acquire:function(){return new Promise(function(r,f){return y$.__awaiter(a,void 0,void 0,function(){var i,s,o;return y$.__generator(this,function(c){switch(c.label){case 0:return i=!1,setTimeout(function(){i=!0,f(n)},e),[4,t.acquire()];case 1:return s=c.sent(),i?(o=Array.isArray(s)?s[1]:s,o()):r(s),[2]}})})})},runExclusive:function(r){return y$.__awaiter(this,void 0,void 0,function(){var f,i;return y$.__generator(this,function(s){switch(s.label){case 0:f=function(){},s.label=1;case 1:return s.trys.push([1,,7,8]),[4,this.acquire()];case 2:return i=s.sent(),Array.isArray(i)?(f=i[1],[4,r(i[0])]):[3,4];case 3:return[2,s.sent()];case 4:return f=i,[4,r()];case 5:return[2,s.sent()];case 6:return[3,8];case 7:return f(),[7];case 8:return[2]}})})},release:function(){t.release()},isLocked:function(){return t.isLocked()}}}g$.withTimeout=Lmn});var Q30=D(l4=>{"use strict";u();p();Object.defineProperty(l4,"__esModule",{value:!0});l4.withTimeout=l4.Semaphore=l4.Mutex=void 0;var Fmn=G30();Object.defineProperty(l4,"Mutex",{enumerable:!0,get:function(){return Fmn.default}});var Nmn=v3e();Object.defineProperty(l4,"Semaphore",{enumerable:!0,get:function(){return Nmn.default}});var Omn=K30();Object.defineProperty(l4,"withTimeout",{enumerable:!0,get:function(){return Omn.withTimeout}})});var Y30=D((dXa,V30)=>{u();p();V30.exports=Hmn;var Umn=Object.prototype.hasOwnProperty;function Hmn(){for(var t={},e=0;e{u();p();var zmn=Y30(),Wmn=JY()();$30.exports=Gt;function Gt(t){let e=this;e.currentProvider=t}Gt.prototype.getBalance=DD(2,"eth_getBalance");Gt.prototype.getCode=DD(2,"eth_getCode");Gt.prototype.getTransactionCount=DD(2,"eth_getTransactionCount");Gt.prototype.getStorageAt=DD(3,"eth_getStorageAt");Gt.prototype.call=DD(2,"eth_call");Gt.prototype.protocolVersion=Gn("eth_protocolVersion");Gt.prototype.syncing=Gn("eth_syncing");Gt.prototype.coinbase=Gn("eth_coinbase");Gt.prototype.mining=Gn("eth_mining");Gt.prototype.hashrate=Gn("eth_hashrate");Gt.prototype.gasPrice=Gn("eth_gasPrice");Gt.prototype.accounts=Gn("eth_accounts");Gt.prototype.blockNumber=Gn("eth_blockNumber");Gt.prototype.getBlockTransactionCountByHash=Gn("eth_getBlockTransactionCountByHash");Gt.prototype.getBlockTransactionCountByNumber=Gn("eth_getBlockTransactionCountByNumber");Gt.prototype.getUncleCountByBlockHash=Gn("eth_getUncleCountByBlockHash");Gt.prototype.getUncleCountByBlockNumber=Gn("eth_getUncleCountByBlockNumber");Gt.prototype.sign=Gn("eth_sign");Gt.prototype.sendTransaction=Gn("eth_sendTransaction");Gt.prototype.sendRawTransaction=Gn("eth_sendRawTransaction");Gt.prototype.estimateGas=Gn("eth_estimateGas");Gt.prototype.getBlockByHash=Gn("eth_getBlockByHash");Gt.prototype.getBlockByNumber=Gn("eth_getBlockByNumber");Gt.prototype.getTransactionByHash=Gn("eth_getTransactionByHash");Gt.prototype.getTransactionByBlockHashAndIndex=Gn("eth_getTransactionByBlockHashAndIndex");Gt.prototype.getTransactionByBlockNumberAndIndex=Gn("eth_getTransactionByBlockNumberAndIndex");Gt.prototype.getTransactionReceipt=Gn("eth_getTransactionReceipt");Gt.prototype.getUncleByBlockHashAndIndex=Gn("eth_getUncleByBlockHashAndIndex");Gt.prototype.getUncleByBlockNumberAndIndex=Gn("eth_getUncleByBlockNumberAndIndex");Gt.prototype.getCompilers=Gn("eth_getCompilers");Gt.prototype.compileLLL=Gn("eth_compileLLL");Gt.prototype.compileSolidity=Gn("eth_compileSolidity");Gt.prototype.compileSerpent=Gn("eth_compileSerpent");Gt.prototype.newFilter=Gn("eth_newFilter");Gt.prototype.newBlockFilter=Gn("eth_newBlockFilter");Gt.prototype.newPendingTransactionFilter=Gn("eth_newPendingTransactionFilter");Gt.prototype.uninstallFilter=Gn("eth_uninstallFilter");Gt.prototype.getFilterChanges=Gn("eth_getFilterChanges");Gt.prototype.getFilterLogs=Gn("eth_getFilterLogs");Gt.prototype.getLogs=Gn("eth_getLogs");Gt.prototype.getWork=Gn("eth_getWork");Gt.prototype.submitWork=Gn("eth_submitWork");Gt.prototype.submitHashrate=Gn("eth_submitHashrate");Gt.prototype.sendAsync=function(t,e){this.currentProvider.sendAsync(qmn(t),function(a,r){if(!a&&r.error&&(a=new Error("EthQuery - RPC Error - "+r.error.message)),a)return e(a);e(null,r.result)})};function Gn(t){return function(){let e=this;var n=[].slice.call(arguments),a=n.pop();e.sendAsync({method:t,params:n},a)}}function DD(t,e){return function(){let n=this;var a=[].slice.call(arguments),r=a.pop();a.length{"use strict";u();p();var X30=(t,e,n,a)=>function(...r){let f=e.promiseModule;return new f((i,s)=>{e.multiArgs?r.push((...c)=>{e.errorFirst?c[0]?s(c):(c.shift(),i(c)):i(c)}):e.errorFirst?r.push((c,d)=>{c?s(c):i(d)}):r.push(i),Reflect.apply(t,this===n?a:this,r)})},Z30=new WeakMap;eb0.exports=(t,e)=>{e={exclude:[/.+(?:Sync|Stream)$/],errorFirst:!0,promiseModule:Promise,...e};let n=typeof t;if(!(t!==null&&(n==="object"||n==="function")))throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${t===null?"null":n}\``);let a=(i,s)=>{let o=Z30.get(i);if(o||(o={},Z30.set(i,o)),s in o)return o[s];let c=v=>typeof v=="string"||typeof s=="symbol"?s===v:v.test(s),d=Reflect.getOwnPropertyDescriptor(i,s),l=d===void 0||d.writable||d.configurable,y=(e.include?e.include.some(c):!e.exclude.some(c))&&l;return o[s]=y,y},r=new WeakMap,f=new Proxy(t,{apply(i,s,o){let c=r.get(i);if(c)return Reflect.apply(c,s,o);let d=e.excludeMain?i:X30(i,e,f,i);return r.set(i,d),Reflect.apply(d,s,o)},get(i,s){let o=i[s];if(!a(i,s)||o===Function.prototype[s])return o;let c=r.get(o);if(c)return c;if(typeof o=="function"){let d=X30(o,e,f,i);return r.set(o,d),d}return o}});return f}});var v$=D((vXa,nb0)=>{u();p();var jmn=XY().default,T3e=class extends jmn{constructor(){super(),this.updates=[]}async initialize(){}async update(){throw new Error("BaseFilter - no update method specified")}addResults(e){this.updates=this.updates.concat(e),e.forEach(n=>this.emit("update",n))}addInitialResults(e){}getChangesAndClear(){let e=this.updates;return this.updates=[],e}};nb0.exports=T3e});var rb0=D((xXa,ab0)=>{u();p();var Gmn=v$(),x3e=class extends Gmn{constructor(){super(),this.allResults=[]}async update(){throw new Error("BaseFilterWithHistory - no update method specified")}addResults(e){this.allResults=this.allResults.concat(e),super.addResults(e)}addInitialResults(e){this.allResults=this.allResults.concat(e),super.addInitialResults(e)}getAllResults(){return this.allResults}};ab0.exports=x3e});var xA=D((AXa,sb0)=>{u();p();sb0.exports={minBlockRef:Kmn,maxBlockRef:Qmn,sortBlockRefs:E3e,bnToHex:Vmn,blockRefIsNumber:Ymn,hexToInt:w$,incrementHexInt:$mn,intToHex:ib0,unsafeRandomBytes:Jmn};function Kmn(...t){return E3e(t)[0]}function Qmn(...t){let e=E3e(t);return e[e.length-1]}function E3e(t){return t.sort((e,n)=>e==="latest"||n==="earliest"?1:n==="latest"||e==="earliest"?-1:w$(e)-w$(n))}function Vmn(t){return"0x"+t.toString(16)}function Ymn(t){return t&&!["earliest","latest","pending"].includes(t)}function w$(t){return t==null?t:Number.parseInt(t,16)}function $mn(t){if(t==null)return t;let e=w$(t);return ib0(e+1)}function ib0(t){if(t==null)return t;let e=t.toString(16);return e.length%2&&(e="0"+e),"0x"+e}function Jmn(t){let e="0x";for(let n=0;n{u();p();var Xmn=J30(),Zmn=tb0(),e4n=rb0(),{bnToHex:kXa,hexToInt:T$,incrementHexInt:t4n,minBlockRef:n4n,blockRefIsNumber:a4n}=xA(),_3e=class extends e4n{constructor({provider:e,params:n}){super(),this.type="log",this.ethQuery=new Xmn(e),this.params=Object.assign({fromBlock:"latest",toBlock:"latest",address:void 0,topics:[]},n),this.params.address&&(Array.isArray(this.params.address)||(this.params.address=[this.params.address]),this.params.address=this.params.address.map(a=>a.toLowerCase()))}async initialize({currentBlock:e}){let n=this.params.fromBlock;["latest","pending"].includes(n)&&(n=e),n==="earliest"&&(n="0x0"),this.params.fromBlock=n;let a=n4n(this.params.toBlock,e),r=Object.assign({},this.params,{toBlock:a}),f=await this._fetchLogs(r);this.addInitialResults(f)}async update({oldBlock:e,newBlock:n}){let a=n,r;e?r=t4n(e):r=n;let f=Object.assign({},this.params,{fromBlock:r,toBlock:a}),s=(await this._fetchLogs(f)).filter(o=>this.matchLog(o));this.addResults(s)}async _fetchLogs(e){return await Zmn(a=>this.ethQuery.getLogs(e,a))()}matchLog(e){if(T$(this.params.fromBlock)>=T$(e.blockNumber)||a4n(this.params.toBlock)&&T$(this.params.toBlock)<=T$(e.blockNumber))return!1;let n=e.address&&e.address.toLowerCase();return this.params.address&&n&&!this.params.address.includes(n)?!1:this.params.topics.every((r,f)=>{let i=e.topics[f];if(!i)return!1;i=i.toLowerCase();let s=Array.isArray(r)?r:[r];return s.includes(null)?!0:(s=s.map(d=>d.toLowerCase()),s.includes(i))})}};ob0.exports=_3e});var x$=D((BXa,lb0)=>{u();p();lb0.exports=r4n;async function r4n({provider:t,fromBlock:e,toBlock:n}){e||(e=n);let a=db0(e),f=db0(n)-a+1,i=Array(f).fill().map((o,c)=>a+c).map(f4n),s=await Promise.all(i.map(o=>s4n(t,"eth_getBlockByNumber",[o,!1])));return s=s.filter(o=>o!==null),s}function db0(t){return t==null?t:Number.parseInt(t,16)}function f4n(t){return t==null?t:"0x"+t.toString(16)}function i4n(t,e){return new Promise((n,a)=>{t.sendAsync(e,(r,f)=>{r?a(r):f.error?a(f.error):f.result?n(f.result):a(new Error("Result was empty"))})})}async function s4n(t,e,n){for(let a=0;a<3;a++)try{return await i4n(t,{id:1,jsonrpc:"2.0",method:e,params:n})}catch(r){console.error(`provider.sendAsync failed: ${r.stack||r.message||r}`)}return null}});var pb0=D((LXa,ub0)=>{u();p();var o4n=v$(),c4n=x$(),{incrementHexInt:d4n}=xA(),A3e=class extends o4n{constructor({provider:e,params:n}){super(),this.type="block",this.provider=e}async update({oldBlock:e,newBlock:n}){let a=n,r=d4n(e),i=(await c4n({provider:this.provider,fromBlock:r,toBlock:a})).map(s=>s.hash);this.addResults(i)}};ub0.exports=A3e});var bb0=D((OXa,hb0)=>{u();p();var l4n=v$(),u4n=x$(),{incrementHexInt:p4n}=xA(),C3e=class extends l4n{constructor({provider:e}){super(),this.type="tx",this.provider=e}async update({oldBlock:e}){let n=e,a=p4n(e),r=await u4n({provider:this.provider,fromBlock:a,toBlock:n}),f=[];for(let i of r)f.push(...i.transactions);this.addResults(f)}};hb0.exports=C3e});var gb0=D((zXa,yb0)=>{u();p();var h4n=Q30().Mutex,{createAsyncMiddleware:b4n,createScaffoldMiddleware:m4n}=y3e(),y4n=cb0(),g4n=pb0(),v4n=bb0(),{intToHex:mb0,hexToInt:I3e}=xA();yb0.exports=w4n;function w4n({blockTracker:t,provider:e}){let n=0,a={},r=new h4n,f=T4n({mutex:r}),i=m4n({eth_newFilter:f(k3e(o)),eth_newBlockFilter:f(k3e(c)),eth_newPendingTransactionFilter:f(k3e(d)),eth_uninstallFilter:f(E$(y)),eth_getFilterChanges:f(E$(l)),eth_getFilterLogs:f(E$(h))}),s=async({oldBlock:z,newBlock:W})=>{if(a.length===0)return;let j=await r.acquire();try{await Promise.all(EA(a).map(async Q=>{try{await Q.update({oldBlock:z,newBlock:W})}catch(V){console.error(V)}}))}catch(Q){console.error(Q)}j()};return i.newLogFilter=o,i.newBlockFilter=c,i.newPendingTransactionFilter=d,i.uninstallFilter=y,i.getFilterChanges=l,i.getFilterLogs=h,i.destroy=()=>{O()},i;async function o(z){let W=new y4n({provider:e,params:z}),j=await v(W);return W}async function c(){let z=new g4n({provider:e}),W=await v(z);return z}async function d(){let z=new v4n({provider:e}),W=await v(z);return z}async function l(z){let W=I3e(z),j=a[W];if(!j)throw new Error(`No filter for index "${W}"`);return j.getChangesAndClear()}async function h(z){let W=I3e(z),j=a[W];if(!j)throw new Error(`No filter for index "${W}"`);let Q=[];return j.type==="log"&&(Q=j.getAllResults()),Q}async function y(z){let W=I3e(z),Q=!!a[W];return Q&&await k(W),Q}async function v(z){let W=EA(a).length,j=await t.getLatestBlock();await z.initialize({currentBlock:j}),n++,a[n]=z,z.id=n,z.idHex=mb0(n);let Q=EA(a).length;return F({prevFilterCount:W,newFilterCount:Q}),n}async function k(z){let W=EA(a).length;delete a[z];let j=EA(a).length;F({prevFilterCount:W,newFilterCount:j})}async function O(){let z=EA(a).length;a={},F({prevFilterCount:z,newFilterCount:0})}function F({prevFilterCount:z,newFilterCount:W}){if(z===0&&W>0){t.on("sync",s);return}if(z>0&&W===0){t.removeListener("sync",s);return}}}function k3e(t){return E$(async(...e)=>{let n=await t(...e);return mb0(n.id)})}function E$(t){return b4n(async(e,n)=>{let a=await t.apply(null,e.params);n.result=a})}function T4n({mutex:t}){return e=>async(n,a,r,f)=>{(await t.acquire())(),e(n,a,r,f)}}function EA(t,e){let n=[];for(let a in t)n.push(t[a]);return n}});var Tb0=D((jXa,wb0)=>{u();p();var x4n=XY().default,{createAsyncMiddleware:vb0,createScaffoldMiddleware:E4n}=y3e(),_4n=gb0(),{unsafeRandomBytes:A4n,incrementHexInt:C4n}=xA(),I4n=x$();wb0.exports=k4n;function k4n({blockTracker:t,provider:e}){let n={},a=_4n({blockTracker:t,provider:e}),r=!1,f=new x4n,i=E4n({eth_subscribe:vb0(s),eth_unsubscribe:vb0(o)});return i.destroy=d,{events:f,middleware:i};async function s(l,h){if(r)throw new Error("SubscriptionManager - attempting to use after destroying");let y=l.params[0],v=A4n(16),k;switch(y){case"newHeads":k=O({subId:v});break;case"logs":let z=l.params[1],W=await a.newLogFilter(z);k=F({subId:v,filter:W});break;default:throw new Error(`SubscriptionManager - unsupported subscription type "${y}"`)}n[v]=k,h.result=v;return;function O({subId:z}){let W={type:y,destroy:async()=>{t.removeListener("sync",W.update)},update:async({oldBlock:j,newBlock:Q})=>{let V=Q,X=C4n(j);(await I4n({provider:e,fromBlock:X,toBlock:V})).map(S4n).filter(R=>R!==null).forEach(R=>{c(z,R)})}};return t.on("sync",W.update),W}function F({subId:z,filter:W}){return W.on("update",Q=>c(z,Q)),{type:y,destroy:async()=>await a.uninstallFilter(W.idHex)}}}async function o(l,h){if(r)throw new Error("SubscriptionManager - attempting to use after destroying");let y=l.params[0],v=n[y];if(!v){h.result=!1;return}delete n[y],await v.destroy(),h.result=!0}function c(l,h){f.emit("notification",{jsonrpc:"2.0",method:"eth_subscription",params:{subscription:l,result:h}})}function d(){f.removeAllListeners();for(let l in n)n[l].destroy(),delete n[l];r=!0}}function S4n(t){return t==null?null:{hash:t.hash,parentHash:t.parentHash,sha3Uncles:t.sha3Uncles,miner:t.miner,stateRoot:t.stateRoot,transactionsRoot:t.transactionsRoot,receiptsRoot:t.receiptsRoot,logsBloom:t.logsBloom,difficulty:t.difficulty,number:t.number,gasLimit:t.gasLimit,gasUsed:t.gasUsed,nonce:t.nonce,mixHash:t.mixHash,timestamp:t.timestamp,extraData:t.extraData}}});var Eb0=D(_$=>{"use strict";u();p();Object.defineProperty(_$,"__esModule",{value:!0});_$.SubscriptionManager=void 0;var R4n=v30(),M4n=Tb0(),xb0=()=>{},S3e=class{constructor(e){let n=new R4n.PollingBlockTracker({provider:e,pollingInterval:15e3,setSkipCacheFlag:!0}),{events:a,middleware:r}=M4n({blockTracker:n,provider:e});this.events=a,this.subscriptionMiddleware=r}async handleRequest(e){let n={};return await this.subscriptionMiddleware(e,n,xb0,xb0),n}destroy(){this.subscriptionMiddleware.destroy()}};_$.SubscriptionManager=S3e});var C$=D(_A=>{"use strict";u();p();var Ib0=_A&&_A.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_A,"__esModule",{value:!0});_A.CoinbaseWalletProvider=void 0;var B4n=Ib0(Va()),D4n=Nse(),Sa=lD(),An=fp(),P4n=Whe(),_b0=vY(),A$=TY(),V6=lY(),R3e=Ib0(sh0()),PD=gY(),L4n=uh0(),F4n=Eb0(),Ab0="DefaultChainId",Cb0="DefaultJsonRpcUrl",M3e=class extends D4n.EventEmitter{constructor(e){var n,a;super(),this._filterPolyfill=new L4n.FilterPolyfill(this),this._subscriptionManager=new F4n.SubscriptionManager(this),this._relay=null,this._addresses=[],this.hasMadeFirstChainChangedEmission=!1,this.setProviderInfo=this.setProviderInfo.bind(this),this.updateProviderInfo=this.updateProviderInfo.bind(this),this.getChainId=this.getChainId.bind(this),this.setAppInfo=this.setAppInfo.bind(this),this.enable=this.enable.bind(this),this.close=this.close.bind(this),this.send=this.send.bind(this),this.sendAsync=this.sendAsync.bind(this),this.request=this.request.bind(this),this._setAddresses=this._setAddresses.bind(this),this.scanQRCode=this.scanQRCode.bind(this),this.genericRequest=this.genericRequest.bind(this),this._chainIdFromOpts=e.chainId,this._jsonRpcUrlFromOpts=e.jsonRpcUrl,this._overrideIsMetaMask=e.overrideIsMetaMask,this._relayProvider=e.relayProvider,this._storage=e.storage,this._relayEventManager=e.relayEventManager,this.diagnostic=e.diagnosticLogger,this.reloadOnDisconnect=!0,this.isCoinbaseWallet=(n=e.overrideIsCoinbaseWallet)!==null&&n!==void 0?n:!0,this.isCoinbaseBrowser=(a=e.overrideIsCoinbaseBrowser)!==null&&a!==void 0?a:!1,this.qrUrl=e.qrUrl;let r=this.getChainId(),f=(0,An.prepend0x)(r.toString(16));this.emit("connect",{chainIdStr:f});let i=this._storage.getItem(_b0.LOCAL_STORAGE_ADDRESSES_KEY);if(i){let s=i.split(" ");s[0]!==""&&(this._addresses=s.map(o=>(0,An.ensureAddressString)(o)),this.emit("accountsChanged",s))}this._subscriptionManager.events.on("notification",s=>{this.emit("message",{type:s.method,data:s.params})}),this._isAuthorized()&&this.initializeRelay(),window.addEventListener("message",s=>{var o;if(!(s.origin!==location.origin||s.source!==window)&&s.data.type==="walletLinkMessage"&&s.data.data.action==="dappChainSwitched"){let c=s.data.data.chainId,d=(o=s.data.data.jsonRpcUrl)!==null&&o!==void 0?o:this.jsonRpcUrl;this.updateProviderInfo(d,Number(c))}})}get selectedAddress(){return this._addresses[0]||void 0}get networkVersion(){return this.getChainId().toString(10)}get chainId(){return(0,An.prepend0x)(this.getChainId().toString(16))}get isWalletLink(){return!0}get isMetaMask(){return this._overrideIsMetaMask}get host(){return this.jsonRpcUrl}get connected(){return!0}isConnected(){return!0}get jsonRpcUrl(){var e;return(e=this._storage.getItem(Cb0))!==null&&e!==void 0?e:this._jsonRpcUrlFromOpts}set jsonRpcUrl(e){this._storage.setItem(Cb0,e)}disableReloadOnDisconnect(){this.reloadOnDisconnect=!1}setProviderInfo(e,n){this.isCoinbaseBrowser||(this._chainIdFromOpts=n,this._jsonRpcUrlFromOpts=e),this.updateProviderInfo(this.jsonRpcUrl,this.getChainId())}updateProviderInfo(e,n){this.jsonRpcUrl=e;let a=this.getChainId();this._storage.setItem(Ab0,n.toString(10)),((0,An.ensureIntNumber)(n)!==a||!this.hasMadeFirstChainChangedEmission)&&(this.emit("chainChanged",this.getChainId()),this.hasMadeFirstChainChangedEmission=!0)}async watchAsset(e,n,a,r,f,i){let o=await(await this.initializeRelay()).watchAsset(e,n,a,r,f,i?.toString()).promise;return(0,V6.isErrorResponse)(o)?!1:!!o.result}async addEthereumChain(e,n,a,r,f,i){var s,o;if((0,An.ensureIntNumber)(e)===this.getChainId())return!1;let c=await this.initializeRelay(),d=c.inlineAddEthereumChain(e.toString());!this._isAuthorized()&&!d&&await c.requestEthereumAccounts().promise;let l=await c.addEthereumChain(e.toString(),n,f,a,r,i).promise;return(0,V6.isErrorResponse)(l)?!1:(((s=l.result)===null||s===void 0?void 0:s.isApproved)===!0&&this.updateProviderInfo(n[0],e),((o=l.result)===null||o===void 0?void 0:o.isApproved)===!0)}async switchEthereumChain(e){let a=await(await this.initializeRelay()).switchEthereumChain(e.toString(10),this.selectedAddress||void 0).promise;if((0,V6.isErrorResponse)(a)){if(!a.errorCode)return;throw a.errorCode===Sa.standardErrorCodes.provider.unsupportedChain?Sa.standardErrors.provider.unsupportedChain():Sa.standardErrors.provider.custom({message:a.errorMessage,code:a.errorCode})}let r=a.result;r.isApproved&&r.rpcUrl.length>0&&this.updateProviderInfo(r.rpcUrl,e)}setAppInfo(e,n){this.initializeRelay().then(a=>a.setAppInfo(e,n))}async enable(){var e;return(e=this.diagnostic)===null||e===void 0||e.log(PD.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::enable",addresses_length:this._addresses.length,sessionIdHash:this._relay?A$.Session.hash(this._relay.session.id):void 0}),this._isAuthorized()?[...this._addresses]:await this.send("eth_requestAccounts")}async close(){(await this.initializeRelay()).resetAndReload()}send(e,n){try{let a=this._send(e,n);if(a instanceof Promise)return a.catch(r=>{throw(0,Sa.serializeError)(r,e)})}catch(a){throw(0,Sa.serializeError)(a,e)}}_send(e,n){if(typeof e=="string"){let r=e,f=Array.isArray(n)?n:n!==void 0?[n]:[],i={jsonrpc:"2.0",id:0,method:r,params:f};return this._sendRequestAsync(i).then(s=>s.result)}if(typeof n=="function"){let r=e,f=n;return this._sendAsync(r,f)}if(Array.isArray(e))return e.map(f=>this._sendRequest(f));let a=e;return this._sendRequest(a)}async sendAsync(e,n){try{return this._sendAsync(e,n).catch(a=>{throw(0,Sa.serializeError)(a,e)})}catch(a){return Promise.reject((0,Sa.serializeError)(a,e))}}async _sendAsync(e,n){if(typeof n!="function")throw new Error("callback is required");if(Array.isArray(e)){let r=n;this._sendMultipleRequestsAsync(e).then(f=>r(null,f)).catch(f=>r(f,null));return}let a=n;return this._sendRequestAsync(e).then(r=>a(null,r)).catch(r=>a(r,null))}async request(e){try{return this._request(e).catch(n=>{throw(0,Sa.serializeError)(n,e.method)})}catch(n){return Promise.reject((0,Sa.serializeError)(n,e.method))}}async _request(e){if(!e||typeof e!="object"||Array.isArray(e))throw Sa.standardErrors.rpc.invalidRequest({message:"Expected a single, non-array, object argument.",data:e});let{method:n,params:a}=e;if(typeof n!="string"||n.length===0)throw Sa.standardErrors.rpc.invalidRequest({message:"'args.method' must be a non-empty string.",data:e});if(a!==void 0&&!Array.isArray(a)&&(typeof a!="object"||a===null))throw Sa.standardErrors.rpc.invalidRequest({message:"'args.params' must be an object or array if provided.",data:e});let r=a===void 0?[]:a,f=this._relayEventManager.makeRequestId();return(await this._sendRequestAsync({method:n,params:r,jsonrpc:"2.0",id:f})).result}async scanQRCode(e){let a=await(await this.initializeRelay()).scanQRCode((0,An.ensureRegExpString)(e)).promise;if((0,V6.isErrorResponse)(a))throw(0,Sa.serializeError)(a.errorMessage,"scanQRCode");if(typeof a.result!="string")throw(0,Sa.serializeError)("result was not a string","scanQRCode");return a.result}async genericRequest(e,n){let r=await(await this.initializeRelay()).genericRequest(e,n).promise;if((0,V6.isErrorResponse)(r))throw(0,Sa.serializeError)(r.errorMessage,"generic");if(typeof r.result!="string")throw(0,Sa.serializeError)("result was not a string","generic");return r.result}async connectAndSignIn(e){var n;(n=this.diagnostic)===null||n===void 0||n.log(PD.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::connectAndSignIn",sessionIdHash:this._relay?A$.Session.hash(this._relay.session.id):void 0});let a;try{let f=await this.initializeRelay();if(!(f instanceof P4n.MobileRelay))throw new Error("connectAndSignIn is only supported on mobile");if(a=await f.connectAndSignIn(e).promise,(0,V6.isErrorResponse)(a))throw new Error(a.errorMessage)}catch(f){throw typeof f.message=="string"&&f.message.match(/(denied|rejected)/i)?Sa.standardErrors.provider.userRejectedRequest("User denied account authorization"):f}if(!a.result)throw new Error("accounts received is empty");let{accounts:r}=a.result;return this._setAddresses(r),this.isCoinbaseBrowser||await this.switchEthereumChain(this.getChainId()),a.result}async selectProvider(e){let a=await(await this.initializeRelay()).selectProvider(e).promise;if((0,V6.isErrorResponse)(a))throw(0,Sa.serializeError)(a.errorMessage,"selectProvider");if(typeof a.result!="string")throw(0,Sa.serializeError)("result was not a string","selectProvider");return a.result}supportsSubscriptions(){return!1}subscribe(){throw new Error("Subscriptions are not supported")}unsubscribe(){throw new Error("Subscriptions are not supported")}disconnect(){return!0}_sendRequest(e){let n={jsonrpc:"2.0",id:e.id},{method:a}=e;if(n.result=this._handleSynchronousMethods(e),n.result===void 0)throw new Error(`Coinbase Wallet does not support calling ${a} synchronously without a callback. Please provide a callback parameter to call ${a} asynchronously.`);return n}_setAddresses(e,n){if(!Array.isArray(e))throw new Error("addresses is not an array");let a=e.map(r=>(0,An.ensureAddressString)(r));JSON.stringify(a)!==JSON.stringify(this._addresses)&&(this._addresses=a,this.emit("accountsChanged",this._addresses),this._storage.setItem(_b0.LOCAL_STORAGE_ADDRESSES_KEY,a.join(" ")))}_sendRequestAsync(e){return new Promise((n,a)=>{try{let r=this._handleSynchronousMethods(e);if(r!==void 0)return n({jsonrpc:"2.0",id:e.id,result:r});let f=this._handleAsynchronousFilterMethods(e);if(f!==void 0){f.then(s=>n(Object.assign(Object.assign({},s),{id:e.id}))).catch(s=>a(s));return}let i=this._handleSubscriptionMethods(e);if(i!==void 0){i.then(s=>n({jsonrpc:"2.0",id:e.id,result:s.result})).catch(s=>a(s));return}}catch(r){return a(r)}this._handleAsynchronousMethods(e).then(r=>r&&n(Object.assign(Object.assign({},r),{id:e.id}))).catch(r=>a(r))})}_sendMultipleRequestsAsync(e){return Promise.all(e.map(n=>this._sendRequestAsync(n)))}_handleSynchronousMethods(e){let{method:n}=e,a=e.params||[];switch(n){case"eth_accounts":return this._eth_accounts();case"eth_coinbase":return this._eth_coinbase();case"eth_uninstallFilter":return this._eth_uninstallFilter(a);case"net_version":return this._net_version();case"eth_chainId":return this._eth_chainId();default:return}}async _handleAsynchronousMethods(e){let{method:n}=e,a=e.params||[];switch(n){case"eth_requestAccounts":return this._eth_requestAccounts();case"eth_sign":return this._eth_sign(a);case"eth_ecRecover":return this._eth_ecRecover(a);case"personal_sign":return this._personal_sign(a);case"personal_ecRecover":return this._personal_ecRecover(a);case"eth_signTransaction":return this._eth_signTransaction(a);case"eth_sendRawTransaction":return this._eth_sendRawTransaction(a);case"eth_sendTransaction":return this._eth_sendTransaction(a);case"eth_signTypedData_v1":return this._eth_signTypedData_v1(a);case"eth_signTypedData_v2":return this._throwUnsupportedMethodError();case"eth_signTypedData_v3":return this._eth_signTypedData_v3(a);case"eth_signTypedData_v4":case"eth_signTypedData":return this._eth_signTypedData_v4(a);case"cbWallet_arbitrary":return this._cbwallet_arbitrary(a);case"wallet_addEthereumChain":return this._wallet_addEthereumChain(a);case"wallet_switchEthereumChain":return this._wallet_switchEthereumChain(a);case"wallet_watchAsset":return this._wallet_watchAsset(a)}return(await this.initializeRelay()).makeEthereumJSONRPCRequest(e,this.jsonRpcUrl).catch(f=>{var i;throw(f.code===Sa.standardErrorCodes.rpc.methodNotFound||f.code===Sa.standardErrorCodes.rpc.methodNotSupported)&&((i=this.diagnostic)===null||i===void 0||i.log(PD.EVENTS.METHOD_NOT_IMPLEMENTED,{method:e.method,sessionIdHash:this._relay?A$.Session.hash(this._relay.session.id):void 0})),f})}_handleAsynchronousFilterMethods(e){let{method:n}=e,a=e.params||[];switch(n){case"eth_newFilter":return this._eth_newFilter(a);case"eth_newBlockFilter":return this._eth_newBlockFilter();case"eth_newPendingTransactionFilter":return this._eth_newPendingTransactionFilter();case"eth_getFilterChanges":return this._eth_getFilterChanges(a);case"eth_getFilterLogs":return this._eth_getFilterLogs(a)}}_handleSubscriptionMethods(e){switch(e.method){case"eth_subscribe":case"eth_unsubscribe":return this._subscriptionManager.handleRequest(e)}}_isKnownAddress(e){try{let n=(0,An.ensureAddressString)(e);return this._addresses.map(r=>(0,An.ensureAddressString)(r)).includes(n)}catch{}return!1}_ensureKnownAddress(e){var n;if(!this._isKnownAddress(e))throw(n=this.diagnostic)===null||n===void 0||n.log(PD.EVENTS.UNKNOWN_ADDRESS_ENCOUNTERED),new Error("Unknown Ethereum address")}_prepareTransactionParams(e){let n=e.from?(0,An.ensureAddressString)(e.from):this.selectedAddress;if(!n)throw new Error("Ethereum address is unavailable");this._ensureKnownAddress(n);let a=e.to?(0,An.ensureAddressString)(e.to):null,r=e.value!=null?(0,An.ensureBN)(e.value):new B4n.default(0),f=e.data?(0,An.ensureBuffer)(e.data):_.Buffer.alloc(0),i=e.nonce!=null?(0,An.ensureIntNumber)(e.nonce):null,s=e.gasPrice!=null?(0,An.ensureBN)(e.gasPrice):null,o=e.maxFeePerGas!=null?(0,An.ensureBN)(e.maxFeePerGas):null,c=e.maxPriorityFeePerGas!=null?(0,An.ensureBN)(e.maxPriorityFeePerGas):null,d=e.gas!=null?(0,An.ensureBN)(e.gas):null,l=e.chainId?(0,An.ensureIntNumber)(e.chainId):this.getChainId();return{fromAddress:n,toAddress:a,weiValue:r,data:f,nonce:i,gasPriceInWei:s,maxFeePerGas:o,maxPriorityFeePerGas:c,gasLimit:d,chainId:l}}_isAuthorized(){return this._addresses.length>0}_requireAuthorization(){if(!this._isAuthorized())throw Sa.standardErrors.provider.unauthorized({})}_throwUnsupportedMethodError(){throw Sa.standardErrors.provider.unsupportedMethod({})}async _signEthereumMessage(e,n,a,r){this._ensureKnownAddress(n);try{let i=await(await this.initializeRelay()).signEthereumMessage(e,n,a,r).promise;if((0,V6.isErrorResponse)(i))throw new Error(i.errorMessage);return{jsonrpc:"2.0",id:0,result:i.result}}catch(f){throw typeof f.message=="string"&&f.message.match(/(denied|rejected)/i)?Sa.standardErrors.provider.userRejectedRequest("User denied message signature"):f}}async _ethereumAddressFromSignedMessage(e,n,a){let f=await(await this.initializeRelay()).ethereumAddressFromSignedMessage(e,n,a).promise;if((0,V6.isErrorResponse)(f))throw new Error(f.errorMessage);return{jsonrpc:"2.0",id:0,result:f.result}}_eth_accounts(){return[...this._addresses]}_eth_coinbase(){return this.selectedAddress||null}_net_version(){return this.getChainId().toString(10)}_eth_chainId(){return(0,An.hexStringFromIntNumber)(this.getChainId())}getChainId(){let e=this._storage.getItem(Ab0);if(!e)return(0,An.ensureIntNumber)(this._chainIdFromOpts);let n=parseInt(e,10);return(0,An.ensureIntNumber)(n)}async _eth_requestAccounts(){var e;if((e=this.diagnostic)===null||e===void 0||e.log(PD.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::_eth_requestAccounts",addresses_length:this._addresses.length,sessionIdHash:this._relay?A$.Session.hash(this._relay.session.id):void 0}),this._isAuthorized())return Promise.resolve({jsonrpc:"2.0",id:0,result:this._addresses});let n;try{if(n=await(await this.initializeRelay()).requestEthereumAccounts().promise,(0,V6.isErrorResponse)(n))throw new Error(n.errorMessage)}catch(a){throw typeof a.message=="string"&&a.message.match(/(denied|rejected)/i)?Sa.standardErrors.provider.userRejectedRequest("User denied account authorization"):a}if(!n.result)throw new Error("accounts received is empty");return this._setAddresses(n.result),this.isCoinbaseBrowser||await this.switchEthereumChain(this.getChainId()),{jsonrpc:"2.0",id:0,result:this._addresses}}_eth_sign(e){this._requireAuthorization();let n=(0,An.ensureAddressString)(e[0]),a=(0,An.ensureBuffer)(e[1]);return this._signEthereumMessage(a,n,!1)}_eth_ecRecover(e){let n=(0,An.ensureBuffer)(e[0]),a=(0,An.ensureBuffer)(e[1]);return this._ethereumAddressFromSignedMessage(n,a,!1)}_personal_sign(e){this._requireAuthorization();let n=(0,An.ensureBuffer)(e[0]),a=(0,An.ensureAddressString)(e[1]);return this._signEthereumMessage(n,a,!0)}_personal_ecRecover(e){let n=(0,An.ensureBuffer)(e[0]),a=(0,An.ensureBuffer)(e[1]);return this._ethereumAddressFromSignedMessage(n,a,!0)}async _eth_signTransaction(e){this._requireAuthorization();let n=this._prepareTransactionParams(e[0]||{});try{let r=await(await this.initializeRelay()).signEthereumTransaction(n).promise;if((0,V6.isErrorResponse)(r))throw new Error(r.errorMessage);return{jsonrpc:"2.0",id:0,result:r.result}}catch(a){throw typeof a.message=="string"&&a.message.match(/(denied|rejected)/i)?Sa.standardErrors.provider.userRejectedRequest("User denied transaction signature"):a}}async _eth_sendRawTransaction(e){let n=(0,An.ensureBuffer)(e[0]),r=await(await this.initializeRelay()).submitEthereumTransaction(n,this.getChainId()).promise;if((0,V6.isErrorResponse)(r))throw new Error(r.errorMessage);return{jsonrpc:"2.0",id:0,result:r.result}}async _eth_sendTransaction(e){this._requireAuthorization();let n=this._prepareTransactionParams(e[0]||{});try{let r=await(await this.initializeRelay()).signAndSubmitEthereumTransaction(n).promise;if((0,V6.isErrorResponse)(r))throw new Error(r.errorMessage);return{jsonrpc:"2.0",id:0,result:r.result}}catch(a){throw typeof a.message=="string"&&a.message.match(/(denied|rejected)/i)?Sa.standardErrors.provider.userRejectedRequest("User denied transaction signature"):a}}async _eth_signTypedData_v1(e){this._requireAuthorization();let n=(0,An.ensureParsedJSONObject)(e[0]),a=(0,An.ensureAddressString)(e[1]);this._ensureKnownAddress(a);let r=R3e.default.hashForSignTypedDataLegacy({data:n}),f=JSON.stringify(n,null,2);return this._signEthereumMessage(r,a,!1,f)}async _eth_signTypedData_v3(e){this._requireAuthorization();let n=(0,An.ensureAddressString)(e[0]),a=(0,An.ensureParsedJSONObject)(e[1]);this._ensureKnownAddress(n);let r=R3e.default.hashForSignTypedData_v3({data:a}),f=JSON.stringify(a,null,2);return this._signEthereumMessage(r,n,!1,f)}async _eth_signTypedData_v4(e){this._requireAuthorization();let n=(0,An.ensureAddressString)(e[0]),a=(0,An.ensureParsedJSONObject)(e[1]);this._ensureKnownAddress(n);let r=R3e.default.hashForSignTypedData_v4({data:a}),f=JSON.stringify(a,null,2);return this._signEthereumMessage(r,n,!1,f)}async _cbwallet_arbitrary(e){let n=e[0],a=e[1];if(typeof a!="string")throw new Error("parameter must be a string");if(typeof n!="object"||n===null)throw new Error("parameter must be an object");return{jsonrpc:"2.0",id:0,result:await this.genericRequest(n,a)}}async _wallet_addEthereumChain(e){var n,a,r,f;let i=e[0];if(((n=i.rpcUrls)===null||n===void 0?void 0:n.length)===0)return{jsonrpc:"2.0",id:0,error:{code:2,message:"please pass in at least 1 rpcUrl"}};if(!i.chainName||i.chainName.trim()==="")throw Sa.standardErrors.rpc.invalidParams("chainName is a required field");if(!i.nativeCurrency)throw Sa.standardErrors.rpc.invalidParams("nativeCurrency is a required field");let s=parseInt(i.chainId,16);return await this.addEthereumChain(s,(a=i.rpcUrls)!==null&&a!==void 0?a:[],(r=i.blockExplorerUrls)!==null&&r!==void 0?r:[],i.chainName,(f=i.iconUrls)!==null&&f!==void 0?f:[],i.nativeCurrency)?{jsonrpc:"2.0",id:0,result:null}:{jsonrpc:"2.0",id:0,error:{code:2,message:"unable to add ethereum chain"}}}async _wallet_switchEthereumChain(e){let n=e[0];return await this.switchEthereumChain(parseInt(n.chainId,16)),{jsonrpc:"2.0",id:0,result:null}}async _wallet_watchAsset(e){let n=Array.isArray(e)?e[0]:e;if(!n.type)throw Sa.standardErrors.rpc.invalidParams("Type is required");if(n?.type!=="ERC20")throw Sa.standardErrors.rpc.invalidParams(`Asset of type '${n.type}' is not supported`);if(!n?.options)throw Sa.standardErrors.rpc.invalidParams("Options are required");if(!n?.options.address)throw Sa.standardErrors.rpc.invalidParams("Address is required");let a=this.getChainId(),{address:r,symbol:f,image:i,decimals:s}=n.options;return{jsonrpc:"2.0",id:0,result:await this.watchAsset(n.type,r,f,s,i,a)}}_eth_uninstallFilter(e){let n=(0,An.ensureHexString)(e[0]);return this._filterPolyfill.uninstallFilter(n)}async _eth_newFilter(e){let n=e[0];return{jsonrpc:"2.0",id:0,result:await this._filterPolyfill.newFilter(n)}}async _eth_newBlockFilter(){return{jsonrpc:"2.0",id:0,result:await this._filterPolyfill.newBlockFilter()}}async _eth_newPendingTransactionFilter(){return{jsonrpc:"2.0",id:0,result:await this._filterPolyfill.newPendingTransactionFilter()}}_eth_getFilterChanges(e){let n=(0,An.ensureHexString)(e[0]);return this._filterPolyfill.getFilterChanges(n)}_eth_getFilterLogs(e){let n=(0,An.ensureHexString)(e[0]);return this._filterPolyfill.getFilterLogs(n)}initializeRelay(){return this._relay?Promise.resolve(this._relay):this._relayProvider().then(e=>(e.setAccountsCallback((n,a)=>this._setAddresses(n,a)),e.setChainCallback((n,a)=>{this.updateProviderInfo(a,parseInt(n,10))}),e.setDappDefaultChainCallback(this._chainIdFromOpts),this._relay=e,e))}};_A.CoinbaseWalletProvider=M3e});var kb0=D(I$=>{"use strict";u();p();Object.defineProperty(I$,"__esModule",{value:!0});I$.RelayEventManager=void 0;var N4n=fp(),B3e=class{constructor(){this._nextRequestId=0,this.callbacks=new Map}makeRequestId(){this._nextRequestId=(this._nextRequestId+1)%2147483647;let e=this._nextRequestId,n=(0,N4n.prepend0x)(e.toString(16));return this.callbacks.get(n)&&this.callbacks.delete(n),e}};I$.RelayEventManager=B3e});var D3e=D(S$=>{"use strict";u();p();Object.defineProperty(S$,"__esModule",{value:!0});S$.CoinbaseWalletSDK=void 0;var O4n=Ou0(),U4n=Uu0(),Sb0=fp(),H4n=ip0(),z4n=C$(),W4n=Whe(),q4n=Hhe(),j4n=kb0(),G4n=Lhe(),K4n=Fhe(),Rb0=pY(),k$=class t{constructor(e){var n,a,r;this._appName="",this._appLogoUrl=null,this._relay=null,this._relayEventManager=null;let f=e.linkAPIUrl||U4n.LINK_API_URL;typeof e.overrideIsMetaMask>"u"?this._overrideIsMetaMask=!1:this._overrideIsMetaMask=e.overrideIsMetaMask,this._overrideIsCoinbaseWallet=(n=e.overrideIsCoinbaseWallet)!==null&&n!==void 0?n:!0,this._overrideIsCoinbaseBrowser=(a=e.overrideIsCoinbaseBrowser)!==null&&a!==void 0?a:!1,this._diagnosticLogger=e.diagnosticLogger,this._reloadOnDisconnect=(r=e.reloadOnDisconnect)!==null&&r!==void 0?r:!0;let i=new URL(f),s=`${i.protocol}//${i.host}`;if(this._storage=new H4n.ScopedLocalStorage(`-walletlink:${s}`),this._storage.setItem("version",t.VERSION),this.walletExtension||this.coinbaseBrowser)return;this._relayEventManager=new j4n.RelayEventManager;let o=(0,Sb0.isMobileWeb)(),c=e.uiConstructor||(l=>o?new q4n.MobileRelayUI(l):new G4n.WalletLinkRelayUI(l)),d={linkAPIUrl:f,version:Rb0.LIB_VERSION,darkMode:!!e.darkMode,headlessMode:!!e.headlessMode,uiConstructor:c,storage:this._storage,relayEventManager:this._relayEventManager,diagnosticLogger:this._diagnosticLogger,reloadOnDisconnect:this._reloadOnDisconnect,enableMobileWalletLink:e.enableMobileWalletLink};this._relay=o?new W4n.MobileRelay(d):new K4n.WalletLinkRelay(d),this.setAppInfo(e.appName,e.appLogoUrl),!e.headlessMode&&this._relay.attachUI()}makeWeb3Provider(e="",n=1){let a=this.walletExtension;if(a)return this.isCipherProvider(a)||a.setProviderInfo(e,n),this._reloadOnDisconnect===!1&&typeof a.disableReloadOnDisconnect=="function"&&a.disableReloadOnDisconnect(),a;let r=this.coinbaseBrowser;if(r)return r;let f=this._relay;if(!f||!this._relayEventManager||!this._storage)throw new Error("Relay not initialized, should never happen");return e||f.setConnectDisabled(!0),new z4n.CoinbaseWalletProvider({relayProvider:()=>Promise.resolve(f),relayEventManager:this._relayEventManager,storage:this._storage,jsonRpcUrl:e,chainId:n,qrUrl:this.getQrUrl(),diagnosticLogger:this._diagnosticLogger,overrideIsMetaMask:this._overrideIsMetaMask,overrideIsCoinbaseWallet:this._overrideIsCoinbaseWallet,overrideIsCoinbaseBrowser:this._overrideIsCoinbaseBrowser})}setAppInfo(e,n){var a;this._appName=e||"DApp",this._appLogoUrl=n||(0,Sb0.getFavicon)();let r=this.walletExtension;r?this.isCipherProvider(r)||r.setAppInfo(this._appName,this._appLogoUrl):(a=this._relay)===null||a===void 0||a.setAppInfo(this._appName,this._appLogoUrl)}disconnect(){var e;let n=this===null||this===void 0?void 0:this.walletExtension;n?n.close():(e=this._relay)===null||e===void 0||e.resetAndReload()}getQrUrl(){var e,n;return(n=(e=this._relay)===null||e===void 0?void 0:e.getQRCodeUrl())!==null&&n!==void 0?n:null}getCoinbaseWalletLogo(e,n=240){return(0,O4n.walletLogo)(e,n)}get walletExtension(){var e;return(e=window.coinbaseWalletExtension)!==null&&e!==void 0?e:window.walletLinkExtension}get coinbaseBrowser(){var e,n;try{let a=(e=window.ethereum)!==null&&e!==void 0?e:(n=window.top)===null||n===void 0?void 0:n.ethereum;return a&&"isCoinbaseBrowser"in a&&a.isCoinbaseBrowser?a:void 0}catch{return}}isCipherProvider(e){return typeof e.isCipher=="boolean"&&e.isCipher}};S$.CoinbaseWalletSDK=k$;k$.VERSION=Rb0.LIB_VERSION});var Bb0=D(Bg=>{"use strict";u();p();Object.defineProperty(Bg,"__esModule",{value:!0});Bg.CoinbaseWalletProvider=Bg.CoinbaseWalletSDK=void 0;var P3e=D3e(),Mb0=C$(),Q4n=D3e();Object.defineProperty(Bg,"CoinbaseWalletSDK",{enumerable:!0,get:function(){return Q4n.CoinbaseWalletSDK}});var V4n=C$();Object.defineProperty(Bg,"CoinbaseWalletProvider",{enumerable:!0,get:function(){return V4n.CoinbaseWalletProvider}});Bg.default=P3e.CoinbaseWalletSDK;typeof window<"u"&&(window.CoinbaseWalletSDK=P3e.CoinbaseWalletSDK,window.CoinbaseWalletProvider=Mb0.CoinbaseWalletProvider,window.WalletLink=P3e.CoinbaseWalletSDK,window.WalletLinkProvider=Mb0.CoinbaseWalletProvider)});var Db0={};V0(Db0,{CoinbaseWalletConnector:()=>L3e});var u4,L3e,Pb0=ce(()=>{"use strict";u();p();kt();D9();po();u4=Ee(Xe());wn();Am();ch();W0();L3e=class extends Jc{constructor(e){let{chains:n,options:a}=e;super({chains:n,options:{reloadOnDisconnect:!1,...a}}),Pe(this,"id",U0.coinbase),Pe(this,"name","Coinbase Wallet"),Pe(this,"ready",!0),Pe(this,"onAccountsChanged",r=>{r.length===0?this.emit("disconnect"):this.emit("change",{account:u4.utils.getAddress(r[0])})}),Pe(this,"onChainChanged",r=>{let f=vi(r),i=this.isChainUnsupported(f);this.emit("change",{chain:{id:f,unsupported:i}})}),Pe(this,"onDisconnect",()=>{this.emit("disconnect")})}async connect(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();this.setupListeners(),this.emit("message",{type:"connecting"});let a=await n.enable(),r=u4.utils.getAddress(a[0]),f=await this.getChainId(),i=this.isChainUnsupported(f);if(e&&f!==e)try{f=(await this.switchChain(e)).chainId,i=this.isChainUnsupported(f)}catch(s){console.error(`Connected but failed to switch to desired chain ${e}`,s)}return{account:r,chain:{id:f,unsupported:i},provider:new u4.providers.Web3Provider(n)}}catch(n){throw/(user closed modal|accounts received is empty)/i.test(n.message)?new _t(n):n}}async disconnect(){if(!this._provider)return;let e=await this.getProvider();e.removeListener("accountsChanged",this.onAccountsChanged),e.removeListener("chainChanged",this.onChainChanged),e.removeListener("disconnect",this.onDisconnect),e.disconnect(),e.close()}async getAccount(){let n=await(await this.getProvider()).request({method:"eth_accounts"});if(n.length===0)throw new Error("No accounts found");return u4.utils.getAddress(n[0])}async getChainId(){let e=await this.getProvider();return vi(e.chainId)}async getProvider(){if(!this._provider){let e=(await Promise.resolve().then(()=>Ee(Bb0()))).default;typeof e!="function"&&typeof e.default=="function"&&(e=e.default),this._client=new e(this.options);let n=this._client.walletExtension?.getChainId(),a=this.chains.find(i=>this.options.chainId?i.chainId===this.options.chainId:i.chainId===n)||this.chains[0],r=this.options.chainId||a?.chainId,f=this.options.jsonRpcUrl||a?.rpc[0];this._provider=this._client.makeWeb3Provider(f,r)}return this._provider}async getSigner(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[n,a]=await Promise.all([this.getProvider(),this.getAccount()]);return new u4.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){try{return!!await this.getAccount()}catch{return!1}}async switchChain(e){let n=await this.getProvider(),a=u4.utils.hexValue(e);try{return await n.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]}),this.chains.find(r=>r.chainId===e)??{chainId:e,name:`Chain ${a}`,slug:`${a}`,nativeCurrency:{name:"Ether",decimals:18,symbol:"ETH"},rpc:[""],testnet:!1,chain:"ethereum",shortName:"eth"}}catch(r){let f=this.chains.find(i=>i.chainId===e);if(!f)throw new _m({chainId:e,connectorId:this.id});if(r.code===4902)try{return await n.request({method:"wallet_addEthereumChain",params:[{chainId:a,chainName:f.name,nativeCurrency:f.nativeCurrency,rpcUrls:Pu(f),blockExplorerUrls:this.getBlockExplorerUrls(f)}]}),f}catch(i){throw this._isUserRejectedRequestError(i)?new _t(i):new Em}throw this._isUserRejectedRequestError(r)?new _t(r):new rc(r)}}_isUserRejectedRequestError(e){return/(user rejected)/i.test(e.message)}async setupListeners(){let e=await this.getProvider();e.on("accountsChanged",this.onAccountsChanged),e.on("chainChanged",this.onChainChanged),e.on("disconnect",this.onDisconnect)}async getQrUrl(){if(await this.getProvider(),!this._client)throw new Error("Coinbase Wallet SDK not initialized");return this._client.getQrUrl()}}});var Ob0=D((MZa,Nb0)=>{u();p();var Fb0=t=>t==="injected"?"injected":t.endsWith(".ipc")?"ipc":t.startsWith("wss://")||t.startsWith("ws://")?"ws":t.startsWith("https://")||t.startsWith("http://")?"http":"";Nb0.exports=(t,e)=>[].concat(...[].concat(t).map(n=>e[n]?e[n].map(a=>({type:n,location:a,protocol:Fb0(a)})):{type:"custom",location:n,protocol:Fb0(n)})).filter(n=>n.protocol||n.type==="injected"?!0:(console.log('eth-provider | Invalid provider preset/location: "'+n.location+'"'),!1))});var Ub0=D(R$=>{"use strict";u();p();Object.defineProperty(R$,"__esModule",{value:!0});R$.create=void 0;function Y4n(t,e=[],n,a){let r={id:n,method:t,params:e,jsonrpc:"2.0"};if(a&&(r.chainId=a),r.method==="eth_sendTransaction"){let f=$4n(r);if(f)throw new Error(`Payload chainId (${f}) inconsistent with specified target chainId: ${a}`);return J4n(r)}return r}R$.create=Y4n;function $4n(t){if(t.method!=="eth_sendTransaction")return!1;let e=t.params[0]||{},n=e.chainId;return"chainId"in e&&parseInt(n)!==parseInt(t.chainId||n)}function J4n(t){let e=t.params[0]||{};return{...t,params:[{...e,chainId:e.chainId||t.chainId},...t.params.slice(1)]}}});var Hb0=D(LD=>{"use strict";u();p();var X4n=LD&&LD.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(LD,"__esModule",{value:!0});var Z4n=X4n(Nr()),eyn=Ub0(),F3e=class extends Z4n.default{constructor(e){super(),this.promises={},this.attemptedSubscriptions=new Set,this.subscriptions=[],this.checkConnectionRunning=!1,this.nextId=1,this.connected=!1,this.accounts=[],this.selectedAddress=void 0,this.coinbase=void 0,this.enable=this.enable.bind(this),this.doSend=this.doSend.bind(this),this.send=this.send.bind(this),this.sendBatch=this.sendBatch.bind(this),this.subscribe=this.subscribe.bind(this),this.unsubscribe=this.unsubscribe.bind(this),this.resumeSubscriptions=this.resumeSubscriptions.bind(this),this.sendAsync=this.sendAsync.bind(this),this.sendAsyncBatch=this.sendAsyncBatch.bind(this),this.isConnected=this.isConnected.bind(this),this.close=this.close.bind(this),this.request=this.request.bind(this),this.connection=e,this.on("connect",this.resumeSubscriptions),this.connection.on("connect",()=>this.checkConnection(1e3)),this.connection.on("close",()=>{this.connected=!1,this.attemptedSubscriptions.clear(),this.emit("close"),this.emit("disconnect")}),this.connection.on("payload",n=>{let{id:a,method:r,error:f,result:i}=n;if(typeof a<"u"){if(this.promises[a]){let s=this.promises[a].method;if(s&&["eth_accounts","eth_requestAccounts"].includes(s)){let o=i||[];this.accounts=o,this.selectedAddress=o[0],this.coinbase=o[0]}n.error?this.promises[a].reject(f):this.promises[a].resolve(i),delete this.promises[a]}}else r&&r.indexOf("_subscription")>-1&&(this.emit(n.params.subscription,n.params.result),this.emit(r,n.params),this.emit("message",{type:n.method,data:{subscription:n.params.subscription,result:n.params.result}}),this.emit("data",n))}),this.on("newListener",n=>{Object.keys(this.eventHandlers).includes(n)&&!this.attemptedSubscription(n)&&this.connected&&(this.startSubscription(n),n==="networkChanged"&&console.warn("The networkChanged event is being deprecated, use chainChanged instead"))}),this.eventHandlers={networkChanged:n=>{this.networkVersion=typeof n=="string"?parseInt(n):n,this.emit("networkChanged",this.networkVersion)},chainChanged:n=>{this.providerChainId=n,this.manualChainId||this.emit("chainChanged",n)},chainsChanged:n=>{this.emit("chainsChanged",n)},accountsChanged:n=>{this.selectedAddress=n[0],this.emit("accountsChanged",n)},assetsChanged:n=>{this.emit("assetsChanged",n)}}}get chainId(){return this.manualChainId||this.providerChainId}async checkConnection(e=4e3){if(!(this.checkConnectionRunning||this.connected)){clearTimeout(this.checkConnectionTimer),this.checkConnectionTimer=void 0,this.checkConnectionRunning=!0;try{this.networkVersion=await this.doSend("net_version",[],void 0,!1),this.providerChainId=await this.doSend("eth_chainId",[],void 0,!1),this.connected=!0}catch{this.checkConnectionTimer=setTimeout(()=>this.checkConnection(),e),this.connected=!1}finally{this.checkConnectionRunning=!1,this.connected&&this.emit("connect",{chainId:this.providerChainId})}}}attemptedSubscription(e){return this.attemptedSubscriptions.has(e)}setSubscriptionAttempted(e){this.attemptedSubscriptions.add(e)}async startSubscription(e){console.debug(`starting subscription for ${e} events`),this.setSubscriptionAttempted(e);try{let n=await this.subscribe("eth_subscribe",e);this.on(n,this.eventHandlers[e])}catch(n){console.warn(`Unable to subscribe to ${e}`,n)}}resumeSubscriptions(){Object.keys(this.eventHandlers).forEach(e=>{this.listenerCount(e)&&!this.attemptedSubscription(e)&&this.startSubscription(e)})}async enable(){let e=await this.doSend("eth_accounts");if(e.length>0)return this.accounts=e,this.selectedAddress=e[0],this.coinbase=e[0],this.emit("enable"),e;{let n=new Error("User Denied Full Provider");throw n.code="4001",n}}doSend(e,n=[],a=this.manualChainId,r=!0){let f=(i,s)=>{let o=typeof e=="object"?e.method:e,c=typeof e=="object"?e.params:n,d=typeof e=="object"&&e.chainId||a;if(!o)return s(new Error("Method is not a valid string."));try{let l=(0,eyn.create)(o,c,this.nextId++,d);this.promises[l.id]={resolve:h=>i(h),reject:s,method:l.method},this.connection.send(l)}catch(l){s(l)}};return this.connected||!r?new Promise(f):new Promise((i,s)=>{let o=()=>(clearTimeout(c),i(new Promise(f))),c=setTimeout(()=>{this.off("connect",o),s(new Error("Not connected"))},5e3);this.once("connect",o)})}async send(e,n){if(typeof e=="string"&&(!n||Array.isArray(n))){let a=n;return this.doSend(e,a)}if(e&&typeof e=="object"&&typeof n=="function"){let a=n;return this.sendAsync(e,a)}return this.request(e)}sendBatch(e){return Promise.all(e.map(n=>this.doSend(n.method,n.params)))}async subscribe(e,n,a=[]){let r=await this.doSend(e,[n,...a]);return this.subscriptions.push(r),r}async unsubscribe(e,n){let a=await this.doSend(e,[n]);if(a)return this.subscriptions=this.subscriptions.filter(r=>r!==n),this.removeAllListeners(n),a}async sendAsync(e,n){if(!n||typeof n!="function")return new Error("Invalid or undefined callback provided to sendAsync");if(!e)return n(new Error("Invalid Payload"));if(Array.isArray(e)){let a=e.map(f=>({...f,jsonrpc:"2.0"})),r=n;return this.sendAsyncBatch(a,r)}else{let a={...e,jsonrpc:"2.0"},r=n;try{let f=await this.doSend(a.method,a.params);r(null,{id:a.id,jsonrpc:a.jsonrpc,result:f})}catch(f){r(f)}}}async sendAsyncBatch(e,n){try{let r=(await this.sendBatch(e)).map((f,i)=>({id:e[i].id,jsonrpc:e[i].jsonrpc,result:f}));n(null,r)}catch(a){n(a)}}isConnected(){return this.connected}close(){this.connection&&this.connection.close&&this.connection.close(),this.off("connect",this.resumeSubscriptions),this.connected=!1;let e=new Error("Provider closed, subscription lost, please subscribe again.");this.subscriptions.forEach(n=>this.emit(n,e)),this.subscriptions=[],this.manualChainId=void 0,this.providerChainId=void 0,this.networkVersion=void 0,this.selectedAddress=void 0,this.coinbase=void 0}async request(e){return this.doSend(e.method,e.params,e.chainId)}setChain(e){typeof e=="number"&&(e="0x"+e.toString(16));let n=e!==this.chainId;this.manualChainId=e,n&&this.emit("chainChanged",this.chainId)}};LD.default=F3e});var Wb0=D((HZa,zb0)=>{u();p();var tyn=Nr(),CA=E.env.NODE_ENV==="development",N3e=class extends tyn{constructor(e,n,a){super(),this.targets=n,this.options=a,this.connections=e,this.connected=!1,this.status="loading",this.interval=a.interval||5e3,this.name=a.name||"default",this.inSetup=!0,this.connect()}connect(e=0){if(CA&&e===0&&console.log(` -A connection cycle started for provider with name: ${this.name}`),this.connection&&this.connection.status==="connected"&&e>=this.connection.index)CA&&console.log("Stopping connection cycle becasuse we're already connected to a higher priority provider");else if(this.targets.length===0)CA&&console.log("No valid targets supplied");else{let{protocol:n,location:a}=this.targets[e];this.connection=this.connections[n](a,this.options);let r=f=>this.connectionError(e,f);this.connection.once("error",r),this.connection.on("connect",()=>{this.connection.off("error",r),this.connection.once("error",f=>this.onError(f)),this.connection.once("close",()=>{this.connected=!1,this.emitClose(),this.closing||this.refresh()}),this.connection.target=this.targets[e],this.connection.index=e,this.targets[e].status=this.connection.status,this.connected=!0,this.inSetup=!1,CA&&console.log("Successfully connected to: "+this.targets[e].location),this.emit("connect")}),this.connection.on("data",f=>this.emit("data",f)),this.connection.on("payload",f=>this.emit("payload",f))}}onError(e){if(this.listenerCount("error"))return this.emit("error",e);console.warn("[eth-provider] Uncaught connection error: "+e.message)}refresh(e=this.interval){CA&&console.log(`Reconnect queued for ${(e/1e3).toFixed(2)}s in the future`),clearTimeout(this.connectTimer),this.connectTimer=setTimeout(()=>this.connect(),e)}connectionError(e,n){this.connection&&this.connection.close&&this.connection.close(),this.targets[e].status=n,this.targets.length-1===e?(this.inSetup=!1,CA&&console.warn("eth-provider unable to connect to any targets, view connection cycle summary: ",this.targets),this.refresh()):this.connect(++e)}emitClose(){this.emit("close")}close(){this.closing=!0,this.connection&&this.connection.close&&!this.connection.closed?this.connection.close():this.emit("close"),clearTimeout(this.connectTimer),clearTimeout(this.setupTimer)}error(e,n,a=-1){this.emit("payload",{id:e.id,jsonrpc:e.jsonrpc,error:{message:n,code:a}})}send(e){this.inSetup?this.setupTimer=setTimeout(()=>this.send(e),100):this.connection.closed?this.error(e,"Not connected",4900):this.connection.send(e)}};zb0.exports=N3e});var Gb0=D((qZa,jb0)=>{u();p();var nyn=Nr(),ayn=Hb0().default,ryn=Wb0(),qb0=t=>{function e(r){t.status=r,t instanceof nyn&&t.emit("status",r)}async function n(){try{await t.send("eth_syncing")&&e("syncing")}catch{}}async function a(){if(t.inSetup)return setTimeout(a,1e3);try{await t.send("eth_chainId"),e("connected"),setTimeout(n,500)}catch{e("disconnected")}}return e("loading"),a(),t.on("connect",()=>a()),t.on("close",()=>e("disconnected")),t};jb0.exports=(t,e,n)=>{if(t.injected.__isProvider&&e.map(r=>r.type).indexOf("injected")>-1)return delete t.injected.__isProvider,qb0(t.injected);let a=new ayn(new ryn(t,e,n));return a.setMaxListeners(128),qb0(a)}});var Qb0=D((KZa,Kb0)=>{u();p();Kb0.exports=(t={})=>({injected:["injected"],frame:["ws://127.0.0.1:1248","http://127.0.0.1:1248"],direct:["ws://127.0.0.1:8546","http://127.0.0.1:8545"],infura:[`wss://mainnet.infura.io/ws/v3/${t.infuraId}`,`https://mainnet.infura.io/v3/${t.infuraId}`],alchemy:[`wss://eth-mainnet.ws.alchemyapi.io/v2/${t.alchemyId}`,`https://eth-mainnet.alchemyapi.io/v2/${t.alchemyId}`],infuraGoerli:[`wss://goerli.infura.io/ws/v3/${t.infuraId}`,`https://goerli.infura.io/v3/${t.infuraId}`],alchemyGoerli:[`wss://eth-goerli.ws.alchemyapi.io/v2/${t.alchemyId}`,`https://eth-goerli.alchemyapi.io/v2/${t.alchemyId}`],infuraPolygon:[`https://polygon-mainnet.infura.io/v3/${t.infuraId}`],infuraArbitrum:[`https://arbitrum-mainnet.infura.io/v3/${t.infuraId}`],infuraOptimism:[`https://optimism-mainnet.infura.io/v3/${t.infuraId}`],infuraSepolia:[`wss://sepolia.infura.io/ws/v3/${t.infuraId}`,`https://sepolia.infura.io/v3/${t.infuraId}`],gnosis:["https://rpc.gnosischain.com"],optimism:["https://mainnet.optimism.io"]})});var Yb0=D((YZa,Vb0)=>{u();p();var fyn=Nr(),O3e=class extends fyn{constructor(e,n){super(),setTimeout(e?()=>this.onError(new Error("Injected web3 provider is not currently supported")):()=>this.onError(new Error("No injected provider found")),0)}onError(e){this.listenerCount("error")&&this.emit("error",e)}};Vb0.exports=t=>e=>new O3e(t,e)});var Jb0=D((XZa,$b0)=>{u();p();var iyn=Nr(),U3e=class extends iyn{constructor(e){super(),setTimeout(()=>this.onError(new Error(e)),0)}onError(e){this.listenerCount("error")&&this.emit("error",e)}};$b0.exports=t=>()=>new U3e(t)});var Zb0=D((ter,Xb0)=>{u();p();var M$,H3e;Xb0.exports=(t,e)=>{let n=[];t.replace(/\}[\n\r]?\{/g,"}|--|{").replace(/\}\][\n\r]?\[\{/g,"}]|--|[{").replace(/\}[\n\r]?\[\{/g,"}|--|[{").replace(/\}\][\n\r]?\{/g,"}]|--|{").split("|--|").forEach(a=>{M$&&(a=M$+a);let r;try{r=JSON.parse(a)}catch{M$=a,clearTimeout(H3e),H3e=setTimeout(()=>e(new Error("Parse response timeout")),15*1e3);return}clearTimeout(H3e),M$=null,r&&n.push(r)}),e(null,n)}});var nm0=D((rer,tm0)=>{u();p();var syn=Nr(),oyn=Zb0(),em0=E.env.NODE_ENV==="development",FD,z3e=class extends syn{constructor(e,n,a){super(),this.socketListeners=[],FD=e,setTimeout(()=>this.create(n,a),0)}create(e,n){if(!FD)return this.onError(new Error("No WebSocket transport available"));try{this.socket=new FD(e,[],{origin:n.origin})}catch(a){return this.onError(a)}this.addSocketListener("error",this.onError.bind(this)),this.addSocketListener("open",this.onOpen.bind(this)),this.addSocketListener("close",this.onClose.bind(this))}addSocketListener(e,n){this.socket.addEventListener(e,n),this.socketListeners.push({event:e,handler:n})}removeAllSocketListeners(){this.socketListeners.forEach(({event:e,handler:n})=>{this.socket.removeEventListener(e,n)}),this.socketListeners=[]}onOpen(){this.emit("connect"),this.addSocketListener("message",this.onMessage.bind(this))}onMessage(e){let n=typeof e.data=="string"?e.data:"";oyn(n,(a,r)=>{a||r.forEach(f=>{Array.isArray(f)?f.forEach(i=>this.emit("payload",i)):this.emit("payload",f)})})}onError(e){this.listenerCount("error")&&this.emit("error",e)}onClose(e){let n={reason:e?e.reason:"unknown",code:e?e.code:"unknown"};this.socket&&(this.removeAllSocketListeners(),this.socket=null),this.closed=!0,em0&&console.log(`Closing WebSocket connection, reason: ${n.reason} (code ${n.code})`),this.emit("close"),this.removeAllListeners()}close(){this.socket&&FD&&this.socket.readyState!==FD.CLOSED?(this.removeAllSocketListeners(),this.addSocketListener("error",()=>{}),this.addSocketListener("close",this.onClose.bind(this)),this.socket.terminate?this.socket.terminate():this.socket.close()):this.onClose()}error(e,n,a=-1){this.emit("payload",{id:e.id,jsonrpc:e.jsonrpc,error:{message:n,code:a}})}send(e){try{this.socket&&this.socket.readyState===this.socket.CONNECTING?setTimeout(n=>this.send(e),10):!this.socket||this.socket.readyState>1?(this.connected=!1,this.error(e,"Not connected")):this.socket.send(JSON.stringify(e))}catch(n){em0&&console.error("Error sending Websocket request",n),this.error(e,n.message)}}};tm0.exports=t=>(e,n)=>new z3e(t,e,n)});var q3e=D(W3e=>{"use strict";u();p();Object.defineProperty(W3e,"__esModule",{value:!0});W3e.default=dyn;var B$,cyn=new Uint8Array(16);function dyn(){if(!B$&&(B$=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!B$))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return B$(cyn)}});var am0=D(D$=>{"use strict";u();p();Object.defineProperty(D$,"__esModule",{value:!0});D$.default=void 0;var lyn=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;D$.default=lyn});var ND=D(P$=>{"use strict";u();p();Object.defineProperty(P$,"__esModule",{value:!0});P$.default=void 0;var uyn=pyn(am0());function pyn(t){return t&&t.__esModule?t:{default:t}}function hyn(t){return typeof t=="string"&&uyn.default.test(t)}var byn=hyn;P$.default=byn});var UD=D(OD=>{"use strict";u();p();Object.defineProperty(OD,"__esModule",{value:!0});OD.default=void 0;OD.unsafeStringify=rm0;var myn=yyn(ND());function yyn(t){return t&&t.__esModule?t:{default:t}}var To=[];for(let t=0;t<256;++t)To.push((t+256).toString(16).slice(1));function rm0(t,e=0){return(To[t[e+0]]+To[t[e+1]]+To[t[e+2]]+To[t[e+3]]+"-"+To[t[e+4]]+To[t[e+5]]+"-"+To[t[e+6]]+To[t[e+7]]+"-"+To[t[e+8]]+To[t[e+9]]+"-"+To[t[e+10]]+To[t[e+11]]+To[t[e+12]]+To[t[e+13]]+To[t[e+14]]+To[t[e+15]]).toLowerCase()}function gyn(t,e=0){let n=rm0(t,e);if(!(0,myn.default)(n))throw TypeError("Stringified UUID is invalid");return n}var vyn=gyn;OD.default=vyn});var im0=D(L$=>{"use strict";u();p();Object.defineProperty(L$,"__esModule",{value:!0});L$.default=void 0;var wyn=xyn(q3e()),Tyn=UD();function xyn(t){return t&&t.__esModule?t:{default:t}}var fm0,j3e,G3e=0,K3e=0;function Eyn(t,e,n){let a=e&&n||0,r=e||new Array(16);t=t||{};let f=t.node||fm0,i=t.clockseq!==void 0?t.clockseq:j3e;if(f==null||i==null){let h=t.random||(t.rng||wyn.default)();f==null&&(f=fm0=[h[0]|1,h[1],h[2],h[3],h[4],h[5]]),i==null&&(i=j3e=(h[6]<<8|h[7])&16383)}let s=t.msecs!==void 0?t.msecs:Date.now(),o=t.nsecs!==void 0?t.nsecs:K3e+1,c=s-G3e+(o-K3e)/1e4;if(c<0&&t.clockseq===void 0&&(i=i+1&16383),(c<0||s>G3e)&&t.nsecs===void 0&&(o=0),o>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");G3e=s,K3e=o,j3e=i,s+=122192928e5;let d=((s&268435455)*1e4+o)%4294967296;r[a++]=d>>>24&255,r[a++]=d>>>16&255,r[a++]=d>>>8&255,r[a++]=d&255;let l=s/4294967296*1e4&268435455;r[a++]=l>>>8&255,r[a++]=l&255,r[a++]=l>>>24&15|16,r[a++]=l>>>16&255,r[a++]=i>>>8|128,r[a++]=i&255;for(let h=0;h<6;++h)r[a+h]=f[h];return e||(0,Tyn.unsafeStringify)(r)}var _yn=Eyn;L$.default=_yn});var Q3e=D(F$=>{"use strict";u();p();Object.defineProperty(F$,"__esModule",{value:!0});F$.default=void 0;var Ayn=Cyn(ND());function Cyn(t){return t&&t.__esModule?t:{default:t}}function Iyn(t){if(!(0,Ayn.default)(t))throw TypeError("Invalid UUID");let e,n=new Uint8Array(16);return n[0]=(e=parseInt(t.slice(0,8),16))>>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=e&255,n[4]=(e=parseInt(t.slice(9,13),16))>>>8,n[5]=e&255,n[6]=(e=parseInt(t.slice(14,18),16))>>>8,n[7]=e&255,n[8]=(e=parseInt(t.slice(19,23),16))>>>8,n[9]=e&255,n[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,n[11]=e/4294967296&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=e&255,n}var kyn=Iyn;F$.default=kyn});var V3e=D(Pg=>{"use strict";u();p();Object.defineProperty(Pg,"__esModule",{value:!0});Pg.URL=Pg.DNS=void 0;Pg.default=Dyn;var Syn=UD(),Ryn=Myn(Q3e());function Myn(t){return t&&t.__esModule?t:{default:t}}function Byn(t){t=unescape(encodeURIComponent(t));let e=[];for(let n=0;n{"use strict";u();p();Object.defineProperty(O$,"__esModule",{value:!0});O$.default=void 0;function Pyn(t){if(typeof t=="string"){let e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(let n=0;n>5]>>>r%32&255,i=parseInt(a.charAt(f>>>4&15)+a.charAt(f&15),16);e.push(i)}return e}function cm0(t){return(t+64>>>9<<4)+14+1}function Fyn(t,e){t[e>>5]|=128<>5]|=(t[a/8]&255)<>16)+(e>>16)+(n>>16)<<16|n&65535}function Oyn(t,e){return t<>>32-e}function N$(t,e,n,a,r,f){return u4(Oyn(u4(u4(e,t),u4(a,f)),r),n)}function x1(t,e,n,a,r,f,i){return N$(e&n|~e&a,t,e,r,f,i)}function E1(t,e,n,a,r,f,i){return N$(e&a|n&~a,t,e,r,f,i)}function _1(t,e,n,a,r,f,i){return N$(e^n^a,t,e,r,f,i)}function A1(t,e,n,a,r,f,i){return N$(n^(e|~a),t,e,r,f,i)}var Uyn=Pyn;O$.default=Uyn});var um0=D(U$=>{"use strict";u();p();Object.defineProperty(U$,"__esModule",{value:!0});U$.default=void 0;var Hyn=lm0(V3e()),zyn=lm0(dm0());function lm0(t){return t&&t.__esModule?t:{default:t}}var Wyn=(0,Hyn.default)("v3",48,zyn.default),qyn=Wyn;U$.default=qyn});var pm0=D(H$=>{"use strict";u();p();Object.defineProperty(H$,"__esModule",{value:!0});H$.default=void 0;var jyn=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Gyn={randomUUID:jyn};H$.default=Gyn});var mm0=D(z$=>{"use strict";u();p();Object.defineProperty(z$,"__esModule",{value:!0});z$.default=void 0;var hm0=bm0(pm0()),Kyn=bm0(q3e()),Qyn=UD();function bm0(t){return t&&t.__esModule?t:{default:t}}function Vyn(t,e,n){if(hm0.default.randomUUID&&!e&&!t)return hm0.default.randomUUID();t=t||{};let a=t.random||(t.rng||Kyn.default)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,e){n=n||0;for(let r=0;r<16;++r)e[n+r]=a[r];return e}return(0,Qyn.unsafeStringify)(a)}var Yyn=Vyn;z$.default=Yyn});var ym0=D(W$=>{"use strict";u();p();Object.defineProperty(W$,"__esModule",{value:!0});W$.default=void 0;function $yn(t,e,n,a){switch(t){case 0:return e&n^~e&a;case 1:return e^n^a;case 2:return e&n^e&a^n&a;case 3:return e^n^a}}function Y3e(t,e){return t<>>32-e}function Jyn(t){let e=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){let i=unescape(encodeURIComponent(t));t=[];for(let s=0;s>>0;h=l,l=d,d=Y3e(c,30)>>>0,c=o,o=S}n[0]=n[0]+o>>>0,n[1]=n[1]+c>>>0,n[2]=n[2]+d>>>0,n[3]=n[3]+l>>>0,n[4]=n[4]+h>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,n[0]&255,n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,n[1]&255,n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,n[2]&255,n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,n[3]&255,n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,n[4]&255]}var Xyn=Jyn;W$.default=Xyn});var vm0=D(q$=>{"use strict";u();p();Object.defineProperty(q$,"__esModule",{value:!0});q$.default=void 0;var Zyn=gm0(V3e()),e7n=gm0(ym0());function gm0(t){return t&&t.__esModule?t:{default:t}}var t7n=(0,Zyn.default)("v5",80,e7n.default),n7n=t7n;q$.default=n7n});var wm0=D(j$=>{"use strict";u();p();Object.defineProperty(j$,"__esModule",{value:!0});j$.default=void 0;var a7n="00000000-0000-0000-0000-000000000000";j$.default=a7n});var Tm0=D(G$=>{"use strict";u();p();Object.defineProperty(G$,"__esModule",{value:!0});G$.default=void 0;var r7n=f7n(ND());function f7n(t){return t&&t.__esModule?t:{default:t}}function i7n(t){if(!(0,r7n.default)(t))throw TypeError("Invalid UUID");return parseInt(t.slice(14,15),16)}var s7n=i7n;G$.default=s7n});var xm0=D(Yl=>{"use strict";u();p();Object.defineProperty(Yl,"__esModule",{value:!0});Object.defineProperty(Yl,"NIL",{enumerable:!0,get:function(){return u7n.default}});Object.defineProperty(Yl,"parse",{enumerable:!0,get:function(){return m7n.default}});Object.defineProperty(Yl,"stringify",{enumerable:!0,get:function(){return b7n.default}});Object.defineProperty(Yl,"v1",{enumerable:!0,get:function(){return o7n.default}});Object.defineProperty(Yl,"v3",{enumerable:!0,get:function(){return c7n.default}});Object.defineProperty(Yl,"v4",{enumerable:!0,get:function(){return d7n.default}});Object.defineProperty(Yl,"v5",{enumerable:!0,get:function(){return l7n.default}});Object.defineProperty(Yl,"validate",{enumerable:!0,get:function(){return h7n.default}});Object.defineProperty(Yl,"version",{enumerable:!0,get:function(){return p7n.default}});var o7n=Oh(im0()),c7n=Oh(um0()),d7n=Oh(mm0()),l7n=Oh(vm0()),u7n=Oh(wm0()),p7n=Oh(Tm0()),h7n=Oh(ND()),b7n=Oh(UD()),m7n=Oh(Q3e());function Oh(t){return t&&t.__esModule?t:{default:t}}});var Am0=D((t0r,_m0)=>{u();p();var y7n=Nr(),{v4:g7n}=xm0(),Em0=E.env.NODE_ENV==="development",$3e,J3e=class extends y7n{constructor(e,n,a){super(),$3e=e,this.options=a,this.connected=!1,this.subscriptions=!1,this.status="loading",this.url=n,this.pollId=g7n(),setTimeout(()=>this.create(),0),this._emit=(...r)=>this.closed?null:this.emit(...r)}onError(e){!this.closed&&this.listenerCount("error")&&this.emit("error",e)}create(){if(!$3e)return this.onError(new Error("No HTTP transport available"));this.on("error",()=>{this.connected&&this.close()}),this.init()}init(){this.send({jsonrpc:"2.0",method:"net_version",params:[],id:1},(e,n)=>{if(e)return this.onError(e);this.connected=!0,this._emit("connect"),this.send({jsonrpc:"2.0",id:1,method:"eth_pollSubscriptions",params:[this.pollId,"immediate"]},(a,r)=>{a||(this.subscriptions=!0,this.pollSubscriptions())})})}pollSubscriptions(){this.send({jsonrpc:"2.0",id:1,method:"eth_pollSubscriptions",params:[this.pollId]},(e,n)=>{if(e)return this.subscriptionTimeout=setTimeout(()=>this.pollSubscriptions(),1e4),this.onError(e);this.closed||(this.subscriptionTimeout=this.pollSubscriptions()),n&&n.map(a=>{let r;try{r=JSON.parse(a)}catch{r=!1}return r}).filter(a=>a).forEach(a=>this._emit("payload",a))})}close(){Em0&&console.log("Closing HTTP connection"),clearTimeout(this.subscriptionTimeout),this._emit("close"),this.closed=!0,this.removeAllListeners()}filterStatus(e){if(e.status>=200&&e.status<300)return e;let n=new Error(e.statusText);throw n.res=e,n.message}error(e,n,a=-1){this._emit("payload",{id:e.id,jsonrpc:e.jsonrpc,error:{message:n,code:a}})}send(e,n){if(this.closed)return this.error(e,"Not connected");if(e.method==="eth_subscribe")if(this.subscriptions)e.pollId=this.pollId;else return this.error(e,"Subscriptions are not supported by this HTTP endpoint");let a=new $3e,r=!1,f=(i,s)=>{if(!r)if(a.abort(),r=!0,n)n(i,s);else{let{id:o,jsonrpc:c}=e,d=i?{id:o,jsonrpc:c,error:{message:i.message,code:i.code}}:{id:o,jsonrpc:c,result:s};this._emit("payload",d)}};try{a.open("POST",this.url,!0),a.setRequestHeader("Content-Type","application/json"),a.timeout=60*1e3,a.onerror=f,a.ontimeout=f,a.onreadystatechange=()=>{if(a.readyState===4)try{let i=JSON.parse(a.responseText);f(i.error,i.result)}catch(i){f(i)}},a.send(JSON.stringify(e))}catch(i){Em0&&console.error("Error sending HTTP request",i),f({message:i.message,code:-1})}}};_m0.exports=t=>(e,n)=>new J3e(t,e,n)});var Im0=D((r0r,Cm0)=>{u();p();var v7n=Ob0(),w7n=Gb0(),T7n=Qb0(),K$={ethereum:typeof window<"u"&&typeof window.ethereum<"u"?window.ethereum:null,web3:typeof window<"u"&&typeof window.web3<"u"?window.web3.currentProvider:null},x7n=typeof window<"u"&&typeof window.WebSocket<"u"?window.WebSocket:null,E7n=typeof window<"u"&&typeof window.XMLHttpRequest<"u"?window.XMLHttpRequest:null;K$.ethereum&&(K$.ethereum.__isProvider=!0);var _7n={injected:K$.ethereum||Yb0()(K$.web3),ipc:Jb0()("IPC connections are unavliable in the browser"),ws:nm0()(x7n),http:Am0()(E7n)};Cm0.exports=(t,e)=>{t&&!Array.isArray(t)&&typeof t=="object"&&!e&&(e=t,t=void 0),t||(t=["injected","frame"]),e||(e={}),t=[].concat(t),t.forEach(a=>{if(a.startsWith("alchemy")&&!e.alchemyId)throw new Error("Alchemy was included as a connection target but no Alchemy project ID was passed in options e.g. { alchemyId: '123abc' }");if(a.startsWith("infura")&&!e.infuraId)throw new Error("Infura was included as a connection target but no Infura project ID was passed in options e.g. { infuraId: '123abc' }")});let n=T7n(e);return w7n(_7n,v7n(t,n),e)}});var km0={};V0(km0,{FrameConnector:()=>X3e});var Lg,X3e,Sm0=ce(()=>{"use strict";u();p();kt();Lg=Ee(Xe());D9();po();_m();ch();W0();X3e=class extends Jc{constructor(e){let{chains:n,options:a,connectorStorage:r}=e,f={shimDisconnect:!0,...a};super({chains:n,options:f}),Pe(this,"id","frame"),Pe(this,"name","Frame"),Pe(this,"ready",!0),Pe(this,"shimDisconnectKey",`${this.id}.shimDisconnect`),Pe(this,"onAccountsChanged",i=>{i.length===0?this.emit("disconnect"):this.emit("change",{account:Lg.utils.getAddress(i[0])})}),Pe(this,"onChainChanged",i=>{let s=vi(i),o=this.isChainUnsupported(s);this.emit("change",{chain:{id:s,unsupported:o}})}),Pe(this,"onDisconnect",()=>{this.emit("disconnect"),this.options.shimDisconnect&&this.connectorStorage.removeItem(this.shimDisconnectKey)}),this.connectorStorage=r}async connect(e){try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=await n.request({method:"eth_requestAccounts"}),r=Lg.utils.getAddress(a[0]),f=await this.getChainId(),i=this.isChainUnsupported(f);return e?.chainId&&f!==e?.chainId&&(f=(await this.switchChain(e?.chainId)).chainId,i=this.isChainUnsupported(f)),this.options.shimDisconnect&&this.connectorStorage.setItem(this.shimDisconnectKey,"true"),{account:r,provider:n,chain:{id:f,unsupported:i}}}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}async disconnect(){let e=await this.getProvider();e?.removeListener&&(e.removeListener("accountsChanged",this.onAccountsChanged),e.removeListener("chainChanged",this.onChainChanged),e.removeListener("disconnect",this.onDisconnect),this.isInjected()||e.close(),this.options.shimDisconnect&&this.connectorStorage.removeItem(this.shimDisconnectKey))}async getAccount(){let e=await this.getProvider();if(!e)throw new Bn;let n=await e.request({method:"eth_accounts"});return Lg.utils.getAddress(n[0])}async getChainId(){let e=await this.getProvider();if(!e)throw new Bn;let n=await e.request({method:"eth_chainId"});return vi(n)}async getProvider(){return this._provider=this.isInjected()?this.injectedProvider():await this.createProvider(),this._provider}async getSigner(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[n,a]=await Promise.all([this.getProvider(),this.getAccount()]);return new Lg.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){try{if(this.options.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey))return!1;if(!await this.getProvider())throw new Bn;return!!await this.getAccount()}catch{return!1}}async switchChain(e){let n=await this.getProvider();if(!n)throw new Bn;let a=Lg.utils.hexValue(e);try{return await Promise.all([n.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]}),new Promise(r=>this.on("change",f=>{let{chain:i}=f;i?.id===e&&r()}))]),this.chains.find(r=>r.chainId===e)??{chainId:e,name:`Chain ${a}`,slug:`${a}`,nativeCurrency:{name:"Ether",decimals:18,symbol:"ETH"},rpc:[""],chain:"",shortName:"",testnet:!0}}catch(r){let f=this.chains.find(i=>i.chainId===e);if(!f)throw new Em({chainId:e,connectorId:this.id});if(r.code===4902)try{if(await n.request({method:"wallet_addEthereumChain",params:[{chainId:a,chainName:f.name,nativeCurrency:f.nativeCurrency,rpcUrls:Pu(f),blockExplorerUrls:this.getBlockExplorerUrls(f)}]}),await this.getChainId()!==e)throw new _t(new Error("User rejected switch after adding network."));return f}catch(i){throw this.isUserRejectedRequestError(i)?new _t(i):new xm(i.message)}throw this.isUserRejectedRequestError(r)?new _t(r):new rc(r)}}async watchAsset(e){let{address:n,decimals:a=18,image:r,symbol:f}=e,i=await this.getProvider();if(!i)throw new Bn;return i.request({method:"wallet_watchAsset",params:{type:"ERC20",options:{address:n,decimals:a,image:r,symbol:f}}})}async setupListeners(){let e=await this.getProvider();e.on&&(e.on("accountsChanged",this.onAccountsChanged),e.on("chainChanged",this.onChainChanged),e.on("disconnect",this.onDisconnect))}isUserRejectedRequestError(e){return e.code===4001}injectedProvider(){return window?.ethereum}isInjected(){return!!this.injectedProvider()?.isFrame}async createProvider(){let e=(await Promise.resolve().then(()=>Ee(Im0()))).default;return e("frame")}}});var Rm0={};V0(Rm0,{ImTokenConnector:()=>Z3e});var Z3e,Mm0=ce(()=>{"use strict";u();p();p1();u1();W0();Z3e=class extends Ga{constructor(e){let a={...{name:"imToken",getProvider(){function r(f){if(f?.isImToken)return f}if(Za(globalThis.window))return globalThis.window.ethereum?.providers?globalThis.window.ethereum.providers.find(r):r(globalThis.window.ethereum)}},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage})}}});var Lm0={};V0(Lm0,{LocalWalletConnector:()=>tbe});function Bm0(t,e){let n=t;return e&&(n=t.connect(e)),new ebe(n)}var Dm0,Pm0,ebe,tbe,Fm0=ce(()=>{"use strict";u();p();kt();ch();Kr();qE();Dm0=Ee(Xe()),Pm0=Ee(qT());W0();ebe=class t extends Dm0.Signer{constructor(e){super(),this.signer=e,(0,Pm0.defineReadOnly)(this,"provider",e.provider)}async getAddress(){return await this.signer.getAddress()}async signMessage(e){return await this.signer.signMessage(e)}async signTransaction(e){return await this.signer.signTransaction(e)}connect(e){return new t(this.signer.connect(e))}_signTypedData(e,n,a){return this.signer._signTypedData(e,n,a)}async sendTransaction(e){if(!this.provider)throw new Error("Provider not found");let a={...await Rl(this.provider),...e};return await this.signer.sendTransaction(a)}},tbe=class extends P6{constructor(e){super(),Pe(this,"id","local_wallet"),Pe(this,"name","Local Wallet"),Pe(this,"shimDisconnectKey","localWallet.shimDisconnect"),Pe(this,"onChainChanged",n=>{let a=vi(n),r=!this.options.chains.find(f=>f.chainId===a);this.emit("change",{chain:{id:a,unsupported:r}})}),this.options=e}async connect(e){return e.chainId&&this.switchChain(e.chainId),await(await this.getSigner()).getAddress()}async disconnect(){this._provider=void 0,this._signer=void 0}async getAddress(){let e=await this.getSigner();if(!e)throw new Error("No signer found");return await e.getAddress()}async isConnected(){try{return!!await this.getAddress()}catch{return!1}}async getProvider(){return this._provider||(this._provider=gi(this.options.chain,{clientId:this.options.clientId,secretKey:this.options.secretKey})),this._provider}async getSigner(){if(!this._signer){let e=await this.getProvider();this._signer=Bm0(this.options.ethersWallet,e)}return this._signer}async switchChain(e){let n=this.options.chains.find(a=>a.chainId===e);if(!n)throw new Error(`Chain not found for chainId ${e}, please add it to the chains property when creating this wallet`);this._provider=gi(n,{clientId:this.options.clientId,secretKey:this.options.secretKey}),this._signer=Bm0(this.options.ethersWallet,this._provider),this.onChainChanged(e)}async setupListeners(){}updateChains(e){this.options.chains=e}}});var p4,zD,WD,Cn,h4,kA,A7n,$l=ce(()=>{u();p();p4=(t=>(t.MissingApiKey="MISSING_API_KEY",t.ModalNotReady="MODAL_NOT_READY",t.MalformedResponse="MALFORMED_RESPONSE",t.InvalidArgument="INVALID_ARGUMENT",t.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",t.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",t))(p4||{}),zD=(t=>(t.SyncWeb3Method="SYNC_WEB3_METHOD",t.DuplicateIframe="DUPLICATE_IFRAME",t.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",t.DeprecationNotice="DEPRECATION_NOTICE",t))(zD||{}),WD=(t=>(t[t.ParseError=-32700]="ParseError",t[t.InvalidRequest=-32600]="InvalidRequest",t[t.MethodNotFound=-32601]="MethodNotFound",t[t.InvalidParams=-32602]="InvalidParams",t[t.InternalError=-32603]="InternalError",t[t.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",t[t.MagicLinkExpired=-10001]="MagicLinkExpired",t[t.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",t[t.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",t[t.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",t[t.UpdateEmailFailed=-10004]="UpdateEmailFailed",t[t.UserRequestEditEmail=-10005]="UserRequestEditEmail",t[t.InactiveRecipient=-10010]="InactiveRecipient",t[t.AccessDeniedToUser=-10011]="AccessDeniedToUser",t))(WD||{}),Cn=(t=>(t.LoginWithSms="magic_auth_login_with_sms",t.LoginWithEmailOTP="magic_auth_login_with_email_otp",t.LoginWithMagicLink="magic_auth_login_with_magic_link",t.LoginWithCredential="magic_auth_login_with_credential",t.GetIdToken="magic_auth_get_id_token",t.GenerateIdToken="magic_auth_generate_id_token",t.GetMetadata="magic_auth_get_metadata",t.IsLoggedIn="magic_auth_is_logged_in",t.Logout="magic_auth_logout",t.UpdateEmail="magic_auth_update_email",t.UserSettings="magic_auth_settings",t.UserSettingsTestMode="magic_auth_settings_testing_mode",t.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",t.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",t.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",t.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",t.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",t.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",t.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",t.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",t.LogoutTestMode="magic_auth_logout_testing_mode",t.UpdateEmailTestMode="magic_auth_update_email_testing_mode",t.IntermediaryEvent="magic_intermediary_event",t.RequestAccounts="eth_requestAccounts",t.GetInfo="mc_get_wallet_info",t.ShowUI="mc_wallet",t.NFTPurchase="magic_nft_purchase",t.RequestUserInfoWithUI="mc_request_user_info",t.Disconnect="mc_disconnect",t.UpdatePhoneNumber="magic_auth_update_phone_number",t.UpdatePhoneNumberTestMode="magic_auth_update_phone_number_testing_mode",t.RecoverAccount="magic_auth_recover_account",t.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",t))(Cn||{}),h4=(t=>(t.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",t.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",t.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",t.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",t.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",t))(h4||{}),kA=(t=>(t.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",t))(kA||{}),A7n=(t=>(t.Harmony="HARMONY",t))(A7n||{})});function U7n(t){let e={exports:{}};return t(e,e.exports),e.exports}function E9n(t){return String.fromCharCode(parseInt(t.slice(1),16))}function _9n(t){return`%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`}function A9n(t){return btoa(encodeURIComponent(t).replace(/%[0-9A-F]{2}/g,E9n))}function C9n(t){return decodeURIComponent(Array.from(atob(t),_9n).join(""))}function n40(t){return A9n(JSON.stringify(t))}function I9n(t){return JSON.parse(C9n(t))}function GD(t){return typeof t>"u"}function k9n(t){return t===null}function a40(t){return k9n(t)||GD(t)}function S9n(t){return a40(t)?!1:!GD(t.jsonrpc)&&!GD(t.id)&&(!GD(t.result)||!GD(t.error))}function R9n(t){return a40(t)?!1:typeof t=="number"&&Object.values(WD).includes(t)}function fbe(t){if(!t)return!0;for(let e in t)if(Object.hasOwnProperty.call(t,e))return!1;return!0}function r40(t,e){return Object.assign(Wi,e),t}function B9n(){return new m4(p4.MissingApiKey,"Please provide an API key that you acquired from the Magic developer dashboard.")}function f40(){return new m4(p4.ModalNotReady,"Modal is not ready.")}function D9n(){return new m4(p4.MalformedResponse,"Response from the Magic iframe is malformed.")}function P9n(t){return new m4(p4.ExtensionNotInitialized,`Extensions must be initialized with a Magic SDK instance before \`Extension.${t}\` can be accessed. Do not invoke \`Extension.${t}\` inside an extension constructor.`)}function L9n(t){let e=`Some extensions are incompatible with \`${Wi.sdkName}@${Wi.version}\`:`;return t.filter(n=>typeof n.compat<"u"&&n.compat!==null).forEach(n=>{let a=n.compat[Wi.sdkName];typeof a=="string"?e+=` +A connection cycle started for provider with name: ${this.name}`),this.connection&&this.connection.status==="connected"&&e>=this.connection.index)CA&&console.log("Stopping connection cycle becasuse we're already connected to a higher priority provider");else if(this.targets.length===0)CA&&console.log("No valid targets supplied");else{let{protocol:n,location:a}=this.targets[e];this.connection=this.connections[n](a,this.options);let r=f=>this.connectionError(e,f);this.connection.once("error",r),this.connection.on("connect",()=>{this.connection.off("error",r),this.connection.once("error",f=>this.onError(f)),this.connection.once("close",()=>{this.connected=!1,this.emitClose(),this.closing||this.refresh()}),this.connection.target=this.targets[e],this.connection.index=e,this.targets[e].status=this.connection.status,this.connected=!0,this.inSetup=!1,CA&&console.log("Successfully connected to: "+this.targets[e].location),this.emit("connect")}),this.connection.on("data",f=>this.emit("data",f)),this.connection.on("payload",f=>this.emit("payload",f))}}onError(e){if(this.listenerCount("error"))return this.emit("error",e);console.warn("[eth-provider] Uncaught connection error: "+e.message)}refresh(e=this.interval){CA&&console.log(`Reconnect queued for ${(e/1e3).toFixed(2)}s in the future`),clearTimeout(this.connectTimer),this.connectTimer=setTimeout(()=>this.connect(),e)}connectionError(e,n){this.connection&&this.connection.close&&this.connection.close(),this.targets[e].status=n,this.targets.length-1===e?(this.inSetup=!1,CA&&console.warn("eth-provider unable to connect to any targets, view connection cycle summary: ",this.targets),this.refresh()):this.connect(++e)}emitClose(){this.emit("close")}close(){this.closing=!0,this.connection&&this.connection.close&&!this.connection.closed?this.connection.close():this.emit("close"),clearTimeout(this.connectTimer),clearTimeout(this.setupTimer)}error(e,n,a=-1){this.emit("payload",{id:e.id,jsonrpc:e.jsonrpc,error:{message:n,code:a}})}send(e){this.inSetup?this.setupTimer=setTimeout(()=>this.send(e),100):this.connection.closed?this.error(e,"Not connected",4900):this.connection.send(e)}};zb0.exports=N3e});var Gb0=D((qZa,jb0)=>{u();p();var nyn=Nr(),ayn=Hb0().default,ryn=Wb0(),qb0=t=>{function e(r){t.status=r,t instanceof nyn&&t.emit("status",r)}async function n(){try{await t.send("eth_syncing")&&e("syncing")}catch{}}async function a(){if(t.inSetup)return setTimeout(a,1e3);try{await t.send("eth_chainId"),e("connected"),setTimeout(n,500)}catch{e("disconnected")}}return e("loading"),a(),t.on("connect",()=>a()),t.on("close",()=>e("disconnected")),t};jb0.exports=(t,e,n)=>{if(t.injected.__isProvider&&e.map(r=>r.type).indexOf("injected")>-1)return delete t.injected.__isProvider,qb0(t.injected);let a=new ayn(new ryn(t,e,n));return a.setMaxListeners(128),qb0(a)}});var Qb0=D((KZa,Kb0)=>{u();p();Kb0.exports=(t={})=>({injected:["injected"],frame:["ws://127.0.0.1:1248","http://127.0.0.1:1248"],direct:["ws://127.0.0.1:8546","http://127.0.0.1:8545"],infura:[`wss://mainnet.infura.io/ws/v3/${t.infuraId}`,`https://mainnet.infura.io/v3/${t.infuraId}`],alchemy:[`wss://eth-mainnet.ws.alchemyapi.io/v2/${t.alchemyId}`,`https://eth-mainnet.alchemyapi.io/v2/${t.alchemyId}`],infuraGoerli:[`wss://goerli.infura.io/ws/v3/${t.infuraId}`,`https://goerli.infura.io/v3/${t.infuraId}`],alchemyGoerli:[`wss://eth-goerli.ws.alchemyapi.io/v2/${t.alchemyId}`,`https://eth-goerli.alchemyapi.io/v2/${t.alchemyId}`],infuraPolygon:[`https://polygon-mainnet.infura.io/v3/${t.infuraId}`],infuraArbitrum:[`https://arbitrum-mainnet.infura.io/v3/${t.infuraId}`],infuraOptimism:[`https://optimism-mainnet.infura.io/v3/${t.infuraId}`],infuraSepolia:[`wss://sepolia.infura.io/ws/v3/${t.infuraId}`,`https://sepolia.infura.io/v3/${t.infuraId}`],gnosis:["https://rpc.gnosischain.com"],optimism:["https://mainnet.optimism.io"]})});var Yb0=D((YZa,Vb0)=>{u();p();var fyn=Nr(),O3e=class extends fyn{constructor(e,n){super(),setTimeout(e?()=>this.onError(new Error("Injected web3 provider is not currently supported")):()=>this.onError(new Error("No injected provider found")),0)}onError(e){this.listenerCount("error")&&this.emit("error",e)}};Vb0.exports=t=>e=>new O3e(t,e)});var Jb0=D((XZa,$b0)=>{u();p();var iyn=Nr(),U3e=class extends iyn{constructor(e){super(),setTimeout(()=>this.onError(new Error(e)),0)}onError(e){this.listenerCount("error")&&this.emit("error",e)}};$b0.exports=t=>()=>new U3e(t)});var Zb0=D((ter,Xb0)=>{u();p();var M$,H3e;Xb0.exports=(t,e)=>{let n=[];t.replace(/\}[\n\r]?\{/g,"}|--|{").replace(/\}\][\n\r]?\[\{/g,"}]|--|[{").replace(/\}[\n\r]?\[\{/g,"}|--|[{").replace(/\}\][\n\r]?\{/g,"}]|--|{").split("|--|").forEach(a=>{M$&&(a=M$+a);let r;try{r=JSON.parse(a)}catch{M$=a,clearTimeout(H3e),H3e=setTimeout(()=>e(new Error("Parse response timeout")),15*1e3);return}clearTimeout(H3e),M$=null,r&&n.push(r)}),e(null,n)}});var nm0=D((rer,tm0)=>{u();p();var syn=Nr(),oyn=Zb0(),em0=E.env.NODE_ENV==="development",FD,z3e=class extends syn{constructor(e,n,a){super(),this.socketListeners=[],FD=e,setTimeout(()=>this.create(n,a),0)}create(e,n){if(!FD)return this.onError(new Error("No WebSocket transport available"));try{this.socket=new FD(e,[],{origin:n.origin})}catch(a){return this.onError(a)}this.addSocketListener("error",this.onError.bind(this)),this.addSocketListener("open",this.onOpen.bind(this)),this.addSocketListener("close",this.onClose.bind(this))}addSocketListener(e,n){this.socket.addEventListener(e,n),this.socketListeners.push({event:e,handler:n})}removeAllSocketListeners(){this.socketListeners.forEach(({event:e,handler:n})=>{this.socket.removeEventListener(e,n)}),this.socketListeners=[]}onOpen(){this.emit("connect"),this.addSocketListener("message",this.onMessage.bind(this))}onMessage(e){let n=typeof e.data=="string"?e.data:"";oyn(n,(a,r)=>{a||r.forEach(f=>{Array.isArray(f)?f.forEach(i=>this.emit("payload",i)):this.emit("payload",f)})})}onError(e){this.listenerCount("error")&&this.emit("error",e)}onClose(e){let n={reason:e?e.reason:"unknown",code:e?e.code:"unknown"};this.socket&&(this.removeAllSocketListeners(),this.socket=null),this.closed=!0,em0&&console.log(`Closing WebSocket connection, reason: ${n.reason} (code ${n.code})`),this.emit("close"),this.removeAllListeners()}close(){this.socket&&FD&&this.socket.readyState!==FD.CLOSED?(this.removeAllSocketListeners(),this.addSocketListener("error",()=>{}),this.addSocketListener("close",this.onClose.bind(this)),this.socket.terminate?this.socket.terminate():this.socket.close()):this.onClose()}error(e,n,a=-1){this.emit("payload",{id:e.id,jsonrpc:e.jsonrpc,error:{message:n,code:a}})}send(e){try{this.socket&&this.socket.readyState===this.socket.CONNECTING?setTimeout(n=>this.send(e),10):!this.socket||this.socket.readyState>1?(this.connected=!1,this.error(e,"Not connected")):this.socket.send(JSON.stringify(e))}catch(n){em0&&console.error("Error sending Websocket request",n),this.error(e,n.message)}}};tm0.exports=t=>(e,n)=>new z3e(t,e,n)});var q3e=D(W3e=>{"use strict";u();p();Object.defineProperty(W3e,"__esModule",{value:!0});W3e.default=dyn;var B$,cyn=new Uint8Array(16);function dyn(){if(!B$&&(B$=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!B$))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return B$(cyn)}});var am0=D(D$=>{"use strict";u();p();Object.defineProperty(D$,"__esModule",{value:!0});D$.default=void 0;var lyn=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;D$.default=lyn});var ND=D(P$=>{"use strict";u();p();Object.defineProperty(P$,"__esModule",{value:!0});P$.default=void 0;var uyn=pyn(am0());function pyn(t){return t&&t.__esModule?t:{default:t}}function hyn(t){return typeof t=="string"&&uyn.default.test(t)}var byn=hyn;P$.default=byn});var UD=D(OD=>{"use strict";u();p();Object.defineProperty(OD,"__esModule",{value:!0});OD.default=void 0;OD.unsafeStringify=rm0;var myn=yyn(ND());function yyn(t){return t&&t.__esModule?t:{default:t}}var To=[];for(let t=0;t<256;++t)To.push((t+256).toString(16).slice(1));function rm0(t,e=0){return(To[t[e+0]]+To[t[e+1]]+To[t[e+2]]+To[t[e+3]]+"-"+To[t[e+4]]+To[t[e+5]]+"-"+To[t[e+6]]+To[t[e+7]]+"-"+To[t[e+8]]+To[t[e+9]]+"-"+To[t[e+10]]+To[t[e+11]]+To[t[e+12]]+To[t[e+13]]+To[t[e+14]]+To[t[e+15]]).toLowerCase()}function gyn(t,e=0){let n=rm0(t,e);if(!(0,myn.default)(n))throw TypeError("Stringified UUID is invalid");return n}var vyn=gyn;OD.default=vyn});var im0=D(L$=>{"use strict";u();p();Object.defineProperty(L$,"__esModule",{value:!0});L$.default=void 0;var wyn=xyn(q3e()),Tyn=UD();function xyn(t){return t&&t.__esModule?t:{default:t}}var fm0,j3e,G3e=0,K3e=0;function Eyn(t,e,n){let a=e&&n||0,r=e||new Array(16);t=t||{};let f=t.node||fm0,i=t.clockseq!==void 0?t.clockseq:j3e;if(f==null||i==null){let h=t.random||(t.rng||wyn.default)();f==null&&(f=fm0=[h[0]|1,h[1],h[2],h[3],h[4],h[5]]),i==null&&(i=j3e=(h[6]<<8|h[7])&16383)}let s=t.msecs!==void 0?t.msecs:Date.now(),o=t.nsecs!==void 0?t.nsecs:K3e+1,c=s-G3e+(o-K3e)/1e4;if(c<0&&t.clockseq===void 0&&(i=i+1&16383),(c<0||s>G3e)&&t.nsecs===void 0&&(o=0),o>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");G3e=s,K3e=o,j3e=i,s+=122192928e5;let d=((s&268435455)*1e4+o)%4294967296;r[a++]=d>>>24&255,r[a++]=d>>>16&255,r[a++]=d>>>8&255,r[a++]=d&255;let l=s/4294967296*1e4&268435455;r[a++]=l>>>8&255,r[a++]=l&255,r[a++]=l>>>24&15|16,r[a++]=l>>>16&255,r[a++]=i>>>8|128,r[a++]=i&255;for(let h=0;h<6;++h)r[a+h]=f[h];return e||(0,Tyn.unsafeStringify)(r)}var _yn=Eyn;L$.default=_yn});var Q3e=D(F$=>{"use strict";u();p();Object.defineProperty(F$,"__esModule",{value:!0});F$.default=void 0;var Ayn=Cyn(ND());function Cyn(t){return t&&t.__esModule?t:{default:t}}function Iyn(t){if(!(0,Ayn.default)(t))throw TypeError("Invalid UUID");let e,n=new Uint8Array(16);return n[0]=(e=parseInt(t.slice(0,8),16))>>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=e&255,n[4]=(e=parseInt(t.slice(9,13),16))>>>8,n[5]=e&255,n[6]=(e=parseInt(t.slice(14,18),16))>>>8,n[7]=e&255,n[8]=(e=parseInt(t.slice(19,23),16))>>>8,n[9]=e&255,n[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,n[11]=e/4294967296&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=e&255,n}var kyn=Iyn;F$.default=kyn});var V3e=D(Pg=>{"use strict";u();p();Object.defineProperty(Pg,"__esModule",{value:!0});Pg.URL=Pg.DNS=void 0;Pg.default=Dyn;var Syn=UD(),Ryn=Myn(Q3e());function Myn(t){return t&&t.__esModule?t:{default:t}}function Byn(t){t=unescape(encodeURIComponent(t));let e=[];for(let n=0;n{"use strict";u();p();Object.defineProperty(O$,"__esModule",{value:!0});O$.default=void 0;function Pyn(t){if(typeof t=="string"){let e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(let n=0;n>5]>>>r%32&255,i=parseInt(a.charAt(f>>>4&15)+a.charAt(f&15),16);e.push(i)}return e}function cm0(t){return(t+64>>>9<<4)+14+1}function Fyn(t,e){t[e>>5]|=128<>5]|=(t[a/8]&255)<>16)+(e>>16)+(n>>16)<<16|n&65535}function Oyn(t,e){return t<>>32-e}function N$(t,e,n,a,r,f){return p4(Oyn(p4(p4(e,t),p4(a,f)),r),n)}function x1(t,e,n,a,r,f,i){return N$(e&n|~e&a,t,e,r,f,i)}function E1(t,e,n,a,r,f,i){return N$(e&a|n&~a,t,e,r,f,i)}function _1(t,e,n,a,r,f,i){return N$(e^n^a,t,e,r,f,i)}function A1(t,e,n,a,r,f,i){return N$(n^(e|~a),t,e,r,f,i)}var Uyn=Pyn;O$.default=Uyn});var um0=D(U$=>{"use strict";u();p();Object.defineProperty(U$,"__esModule",{value:!0});U$.default=void 0;var Hyn=lm0(V3e()),zyn=lm0(dm0());function lm0(t){return t&&t.__esModule?t:{default:t}}var Wyn=(0,Hyn.default)("v3",48,zyn.default),qyn=Wyn;U$.default=qyn});var pm0=D(H$=>{"use strict";u();p();Object.defineProperty(H$,"__esModule",{value:!0});H$.default=void 0;var jyn=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Gyn={randomUUID:jyn};H$.default=Gyn});var mm0=D(z$=>{"use strict";u();p();Object.defineProperty(z$,"__esModule",{value:!0});z$.default=void 0;var hm0=bm0(pm0()),Kyn=bm0(q3e()),Qyn=UD();function bm0(t){return t&&t.__esModule?t:{default:t}}function Vyn(t,e,n){if(hm0.default.randomUUID&&!e&&!t)return hm0.default.randomUUID();t=t||{};let a=t.random||(t.rng||Kyn.default)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,e){n=n||0;for(let r=0;r<16;++r)e[n+r]=a[r];return e}return(0,Qyn.unsafeStringify)(a)}var Yyn=Vyn;z$.default=Yyn});var ym0=D(W$=>{"use strict";u();p();Object.defineProperty(W$,"__esModule",{value:!0});W$.default=void 0;function $yn(t,e,n,a){switch(t){case 0:return e&n^~e&a;case 1:return e^n^a;case 2:return e&n^e&a^n&a;case 3:return e^n^a}}function Y3e(t,e){return t<>>32-e}function Jyn(t){let e=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){let i=unescape(encodeURIComponent(t));t=[];for(let s=0;s>>0;h=l,l=d,d=Y3e(c,30)>>>0,c=o,o=k}n[0]=n[0]+o>>>0,n[1]=n[1]+c>>>0,n[2]=n[2]+d>>>0,n[3]=n[3]+l>>>0,n[4]=n[4]+h>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,n[0]&255,n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,n[1]&255,n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,n[2]&255,n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,n[3]&255,n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,n[4]&255]}var Xyn=Jyn;W$.default=Xyn});var vm0=D(q$=>{"use strict";u();p();Object.defineProperty(q$,"__esModule",{value:!0});q$.default=void 0;var Zyn=gm0(V3e()),e7n=gm0(ym0());function gm0(t){return t&&t.__esModule?t:{default:t}}var t7n=(0,Zyn.default)("v5",80,e7n.default),n7n=t7n;q$.default=n7n});var wm0=D(j$=>{"use strict";u();p();Object.defineProperty(j$,"__esModule",{value:!0});j$.default=void 0;var a7n="00000000-0000-0000-0000-000000000000";j$.default=a7n});var Tm0=D(G$=>{"use strict";u();p();Object.defineProperty(G$,"__esModule",{value:!0});G$.default=void 0;var r7n=f7n(ND());function f7n(t){return t&&t.__esModule?t:{default:t}}function i7n(t){if(!(0,r7n.default)(t))throw TypeError("Invalid UUID");return parseInt(t.slice(14,15),16)}var s7n=i7n;G$.default=s7n});var xm0=D(Yl=>{"use strict";u();p();Object.defineProperty(Yl,"__esModule",{value:!0});Object.defineProperty(Yl,"NIL",{enumerable:!0,get:function(){return u7n.default}});Object.defineProperty(Yl,"parse",{enumerable:!0,get:function(){return m7n.default}});Object.defineProperty(Yl,"stringify",{enumerable:!0,get:function(){return b7n.default}});Object.defineProperty(Yl,"v1",{enumerable:!0,get:function(){return o7n.default}});Object.defineProperty(Yl,"v3",{enumerable:!0,get:function(){return c7n.default}});Object.defineProperty(Yl,"v4",{enumerable:!0,get:function(){return d7n.default}});Object.defineProperty(Yl,"v5",{enumerable:!0,get:function(){return l7n.default}});Object.defineProperty(Yl,"validate",{enumerable:!0,get:function(){return h7n.default}});Object.defineProperty(Yl,"version",{enumerable:!0,get:function(){return p7n.default}});var o7n=Oh(im0()),c7n=Oh(um0()),d7n=Oh(mm0()),l7n=Oh(vm0()),u7n=Oh(wm0()),p7n=Oh(Tm0()),h7n=Oh(ND()),b7n=Oh(UD()),m7n=Oh(Q3e());function Oh(t){return t&&t.__esModule?t:{default:t}}});var Am0=D((t0r,_m0)=>{u();p();var y7n=Nr(),{v4:g7n}=xm0(),Em0=E.env.NODE_ENV==="development",$3e,J3e=class extends y7n{constructor(e,n,a){super(),$3e=e,this.options=a,this.connected=!1,this.subscriptions=!1,this.status="loading",this.url=n,this.pollId=g7n(),setTimeout(()=>this.create(),0),this._emit=(...r)=>this.closed?null:this.emit(...r)}onError(e){!this.closed&&this.listenerCount("error")&&this.emit("error",e)}create(){if(!$3e)return this.onError(new Error("No HTTP transport available"));this.on("error",()=>{this.connected&&this.close()}),this.init()}init(){this.send({jsonrpc:"2.0",method:"net_version",params:[],id:1},(e,n)=>{if(e)return this.onError(e);this.connected=!0,this._emit("connect"),this.send({jsonrpc:"2.0",id:1,method:"eth_pollSubscriptions",params:[this.pollId,"immediate"]},(a,r)=>{a||(this.subscriptions=!0,this.pollSubscriptions())})})}pollSubscriptions(){this.send({jsonrpc:"2.0",id:1,method:"eth_pollSubscriptions",params:[this.pollId]},(e,n)=>{if(e)return this.subscriptionTimeout=setTimeout(()=>this.pollSubscriptions(),1e4),this.onError(e);this.closed||(this.subscriptionTimeout=this.pollSubscriptions()),n&&n.map(a=>{let r;try{r=JSON.parse(a)}catch{r=!1}return r}).filter(a=>a).forEach(a=>this._emit("payload",a))})}close(){Em0&&console.log("Closing HTTP connection"),clearTimeout(this.subscriptionTimeout),this._emit("close"),this.closed=!0,this.removeAllListeners()}filterStatus(e){if(e.status>=200&&e.status<300)return e;let n=new Error(e.statusText);throw n.res=e,n.message}error(e,n,a=-1){this._emit("payload",{id:e.id,jsonrpc:e.jsonrpc,error:{message:n,code:a}})}send(e,n){if(this.closed)return this.error(e,"Not connected");if(e.method==="eth_subscribe")if(this.subscriptions)e.pollId=this.pollId;else return this.error(e,"Subscriptions are not supported by this HTTP endpoint");let a=new $3e,r=!1,f=(i,s)=>{if(!r)if(a.abort(),r=!0,n)n(i,s);else{let{id:o,jsonrpc:c}=e,d=i?{id:o,jsonrpc:c,error:{message:i.message,code:i.code}}:{id:o,jsonrpc:c,result:s};this._emit("payload",d)}};try{a.open("POST",this.url,!0),a.setRequestHeader("Content-Type","application/json"),a.timeout=60*1e3,a.onerror=f,a.ontimeout=f,a.onreadystatechange=()=>{if(a.readyState===4)try{let i=JSON.parse(a.responseText);f(i.error,i.result)}catch(i){f(i)}},a.send(JSON.stringify(e))}catch(i){Em0&&console.error("Error sending HTTP request",i),f({message:i.message,code:-1})}}};_m0.exports=t=>(e,n)=>new J3e(t,e,n)});var Im0=D((r0r,Cm0)=>{u();p();var v7n=Ob0(),w7n=Gb0(),T7n=Qb0(),K$={ethereum:typeof window<"u"&&typeof window.ethereum<"u"?window.ethereum:null,web3:typeof window<"u"&&typeof window.web3<"u"?window.web3.currentProvider:null},x7n=typeof window<"u"&&typeof window.WebSocket<"u"?window.WebSocket:null,E7n=typeof window<"u"&&typeof window.XMLHttpRequest<"u"?window.XMLHttpRequest:null;K$.ethereum&&(K$.ethereum.__isProvider=!0);var _7n={injected:K$.ethereum||Yb0()(K$.web3),ipc:Jb0()("IPC connections are unavliable in the browser"),ws:nm0()(x7n),http:Am0()(E7n)};Cm0.exports=(t,e)=>{t&&!Array.isArray(t)&&typeof t=="object"&&!e&&(e=t,t=void 0),t||(t=["injected","frame"]),e||(e={}),t=[].concat(t),t.forEach(a=>{if(a.startsWith("alchemy")&&!e.alchemyId)throw new Error("Alchemy was included as a connection target but no Alchemy project ID was passed in options e.g. { alchemyId: '123abc' }");if(a.startsWith("infura")&&!e.infuraId)throw new Error("Infura was included as a connection target but no Infura project ID was passed in options e.g. { infuraId: '123abc' }")});let n=T7n(e);return w7n(_7n,v7n(t,n),e)}});var km0={};V0(km0,{FrameConnector:()=>X3e});var Lg,X3e,Sm0=ce(()=>{"use strict";u();p();kt();Lg=Ee(Xe());D9();po();Am();ch();W0();X3e=class extends Jc{constructor(e){let{chains:n,options:a,connectorStorage:r}=e,f={shimDisconnect:!0,...a};super({chains:n,options:f}),Pe(this,"id","frame"),Pe(this,"name","Frame"),Pe(this,"ready",!0),Pe(this,"shimDisconnectKey",`${this.id}.shimDisconnect`),Pe(this,"onAccountsChanged",i=>{i.length===0?this.emit("disconnect"):this.emit("change",{account:Lg.utils.getAddress(i[0])})}),Pe(this,"onChainChanged",i=>{let s=vi(i),o=this.isChainUnsupported(s);this.emit("change",{chain:{id:s,unsupported:o}})}),Pe(this,"onDisconnect",()=>{this.emit("disconnect"),this.options.shimDisconnect&&this.connectorStorage.removeItem(this.shimDisconnectKey)}),this.connectorStorage=r}async connect(e){try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=await n.request({method:"eth_requestAccounts"}),r=Lg.utils.getAddress(a[0]),f=await this.getChainId(),i=this.isChainUnsupported(f);return e?.chainId&&f!==e?.chainId&&(f=(await this.switchChain(e?.chainId)).chainId,i=this.isChainUnsupported(f)),this.options.shimDisconnect&&this.connectorStorage.setItem(this.shimDisconnectKey,"true"),{account:r,provider:n,chain:{id:f,unsupported:i}}}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}async disconnect(){let e=await this.getProvider();e?.removeListener&&(e.removeListener("accountsChanged",this.onAccountsChanged),e.removeListener("chainChanged",this.onChainChanged),e.removeListener("disconnect",this.onDisconnect),this.isInjected()||e.close(),this.options.shimDisconnect&&this.connectorStorage.removeItem(this.shimDisconnectKey))}async getAccount(){let e=await this.getProvider();if(!e)throw new Bn;let n=await e.request({method:"eth_accounts"});return Lg.utils.getAddress(n[0])}async getChainId(){let e=await this.getProvider();if(!e)throw new Bn;let n=await e.request({method:"eth_chainId"});return vi(n)}async getProvider(){return this._provider=this.isInjected()?this.injectedProvider():await this.createProvider(),this._provider}async getSigner(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[n,a]=await Promise.all([this.getProvider(),this.getAccount()]);return new Lg.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){try{if(this.options.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey))return!1;if(!await this.getProvider())throw new Bn;return!!await this.getAccount()}catch{return!1}}async switchChain(e){let n=await this.getProvider();if(!n)throw new Bn;let a=Lg.utils.hexValue(e);try{return await Promise.all([n.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]}),new Promise(r=>this.on("change",f=>{let{chain:i}=f;i?.id===e&&r()}))]),this.chains.find(r=>r.chainId===e)??{chainId:e,name:`Chain ${a}`,slug:`${a}`,nativeCurrency:{name:"Ether",decimals:18,symbol:"ETH"},rpc:[""],chain:"",shortName:"",testnet:!0}}catch(r){let f=this.chains.find(i=>i.chainId===e);if(!f)throw new _m({chainId:e,connectorId:this.id});if(r.code===4902)try{if(await n.request({method:"wallet_addEthereumChain",params:[{chainId:a,chainName:f.name,nativeCurrency:f.nativeCurrency,rpcUrls:Pu(f),blockExplorerUrls:this.getBlockExplorerUrls(f)}]}),await this.getChainId()!==e)throw new _t(new Error("User rejected switch after adding network."));return f}catch(i){throw this.isUserRejectedRequestError(i)?new _t(i):new Em(i.message)}throw this.isUserRejectedRequestError(r)?new _t(r):new rc(r)}}async watchAsset(e){let{address:n,decimals:a=18,image:r,symbol:f}=e,i=await this.getProvider();if(!i)throw new Bn;return i.request({method:"wallet_watchAsset",params:{type:"ERC20",options:{address:n,decimals:a,image:r,symbol:f}}})}async setupListeners(){let e=await this.getProvider();e.on&&(e.on("accountsChanged",this.onAccountsChanged),e.on("chainChanged",this.onChainChanged),e.on("disconnect",this.onDisconnect))}isUserRejectedRequestError(e){return e.code===4001}injectedProvider(){return window?.ethereum}isInjected(){return!!this.injectedProvider()?.isFrame}async createProvider(){let e=(await Promise.resolve().then(()=>Ee(Im0()))).default;return e("frame")}}});var Rm0={};V0(Rm0,{ImTokenConnector:()=>Z3e});var Z3e,Mm0=ce(()=>{"use strict";u();p();p1();u1();W0();Z3e=class extends Ga{constructor(e){let a={...{name:"imToken",getProvider(){function r(f){if(f?.isImToken)return f}if(Za(globalThis.window))return globalThis.window.ethereum?.providers?globalThis.window.ethereum.providers.find(r):r(globalThis.window.ethereum)}},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage})}}});var Lm0={};V0(Lm0,{LocalWalletConnector:()=>tbe});function Bm0(t,e){let n=t;return e&&(n=t.connect(e)),new ebe(n)}var Dm0,Pm0,ebe,tbe,Fm0=ce(()=>{"use strict";u();p();kt();ch();Kr();qE();Dm0=Ee(Xe()),Pm0=Ee(qT());W0();ebe=class t extends Dm0.Signer{constructor(e){super(),this.signer=e,(0,Pm0.defineReadOnly)(this,"provider",e.provider)}async getAddress(){return await this.signer.getAddress()}async signMessage(e){return await this.signer.signMessage(e)}async signTransaction(e){return await this.signer.signTransaction(e)}connect(e){return new t(this.signer.connect(e))}_signTypedData(e,n,a){return this.signer._signTypedData(e,n,a)}async sendTransaction(e){if(!this.provider)throw new Error("Provider not found");let a={...await Rl(this.provider),...e};return await this.signer.sendTransaction(a)}},tbe=class extends P6{constructor(e){super(),Pe(this,"id","local_wallet"),Pe(this,"name","Local Wallet"),Pe(this,"shimDisconnectKey","localWallet.shimDisconnect"),Pe(this,"onChainChanged",n=>{let a=vi(n),r=!this.options.chains.find(f=>f.chainId===a);this.emit("change",{chain:{id:a,unsupported:r}})}),this.options=e}async connect(e){return e.chainId&&this.switchChain(e.chainId),await(await this.getSigner()).getAddress()}async disconnect(){this._provider=void 0,this._signer=void 0}async getAddress(){let e=await this.getSigner();if(!e)throw new Error("No signer found");return await e.getAddress()}async isConnected(){try{return!!await this.getAddress()}catch{return!1}}async getProvider(){return this._provider||(this._provider=gi(this.options.chain,{clientId:this.options.clientId,secretKey:this.options.secretKey})),this._provider}async getSigner(){if(!this._signer){let e=await this.getProvider();this._signer=Bm0(this.options.ethersWallet,e)}return this._signer}async switchChain(e){let n=this.options.chains.find(a=>a.chainId===e);if(!n)throw new Error(`Chain not found for chainId ${e}, please add it to the chains property when creating this wallet`);this._provider=gi(n,{clientId:this.options.clientId,secretKey:this.options.secretKey}),this._signer=Bm0(this.options.ethersWallet,this._provider),this.onChainChanged(e)}async setupListeners(){}updateChains(e){this.options.chains=e}}});var h4,zD,WD,Cn,b4,kA,A7n,$l=ce(()=>{u();p();h4=(t=>(t.MissingApiKey="MISSING_API_KEY",t.ModalNotReady="MODAL_NOT_READY",t.MalformedResponse="MALFORMED_RESPONSE",t.InvalidArgument="INVALID_ARGUMENT",t.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",t.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",t))(h4||{}),zD=(t=>(t.SyncWeb3Method="SYNC_WEB3_METHOD",t.DuplicateIframe="DUPLICATE_IFRAME",t.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",t.DeprecationNotice="DEPRECATION_NOTICE",t))(zD||{}),WD=(t=>(t[t.ParseError=-32700]="ParseError",t[t.InvalidRequest=-32600]="InvalidRequest",t[t.MethodNotFound=-32601]="MethodNotFound",t[t.InvalidParams=-32602]="InvalidParams",t[t.InternalError=-32603]="InternalError",t[t.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",t[t.MagicLinkExpired=-10001]="MagicLinkExpired",t[t.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",t[t.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",t[t.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",t[t.UpdateEmailFailed=-10004]="UpdateEmailFailed",t[t.UserRequestEditEmail=-10005]="UserRequestEditEmail",t[t.InactiveRecipient=-10010]="InactiveRecipient",t[t.AccessDeniedToUser=-10011]="AccessDeniedToUser",t))(WD||{}),Cn=(t=>(t.LoginWithSms="magic_auth_login_with_sms",t.LoginWithEmailOTP="magic_auth_login_with_email_otp",t.LoginWithMagicLink="magic_auth_login_with_magic_link",t.LoginWithCredential="magic_auth_login_with_credential",t.GetIdToken="magic_auth_get_id_token",t.GenerateIdToken="magic_auth_generate_id_token",t.GetMetadata="magic_auth_get_metadata",t.IsLoggedIn="magic_auth_is_logged_in",t.Logout="magic_auth_logout",t.UpdateEmail="magic_auth_update_email",t.UserSettings="magic_auth_settings",t.UserSettingsTestMode="magic_auth_settings_testing_mode",t.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",t.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",t.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",t.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",t.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",t.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",t.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",t.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",t.LogoutTestMode="magic_auth_logout_testing_mode",t.UpdateEmailTestMode="magic_auth_update_email_testing_mode",t.IntermediaryEvent="magic_intermediary_event",t.RequestAccounts="eth_requestAccounts",t.GetInfo="mc_get_wallet_info",t.ShowUI="mc_wallet",t.NFTPurchase="magic_nft_purchase",t.RequestUserInfoWithUI="mc_request_user_info",t.Disconnect="mc_disconnect",t.UpdatePhoneNumber="magic_auth_update_phone_number",t.UpdatePhoneNumberTestMode="magic_auth_update_phone_number_testing_mode",t.RecoverAccount="magic_auth_recover_account",t.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",t))(Cn||{}),b4=(t=>(t.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",t.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",t.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",t.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",t.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",t))(b4||{}),kA=(t=>(t.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",t))(kA||{}),A7n=(t=>(t.Harmony="HARMONY",t))(A7n||{})});function U7n(t){let e={exports:{}};return t(e,e.exports),e.exports}function E9n(t){return String.fromCharCode(parseInt(t.slice(1),16))}function _9n(t){return`%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`}function A9n(t){return btoa(encodeURIComponent(t).replace(/%[0-9A-F]{2}/g,E9n))}function C9n(t){return decodeURIComponent(Array.from(atob(t),_9n).join(""))}function n40(t){return A9n(JSON.stringify(t))}function I9n(t){return JSON.parse(C9n(t))}function GD(t){return typeof t>"u"}function k9n(t){return t===null}function a40(t){return k9n(t)||GD(t)}function S9n(t){return a40(t)?!1:!GD(t.jsonrpc)&&!GD(t.id)&&(!GD(t.result)||!GD(t.error))}function R9n(t){return a40(t)?!1:typeof t=="number"&&Object.values(WD).includes(t)}function fbe(t){if(!t)return!0;for(let e in t)if(Object.hasOwnProperty.call(t,e))return!1;return!0}function r40(t,e){return Object.assign(Wi,e),t}function B9n(){return new y4(h4.MissingApiKey,"Please provide an API key that you acquired from the Magic developer dashboard.")}function f40(){return new y4(h4.ModalNotReady,"Modal is not ready.")}function D9n(){return new y4(h4.MalformedResponse,"Response from the Magic iframe is malformed.")}function P9n(t){return new y4(h4.ExtensionNotInitialized,`Extensions must be initialized with a Magic SDK instance before \`Extension.${t}\` can be accessed. Do not invoke \`Extension.${t}\` inside an extension constructor.`)}function L9n(t){let e=`Some extensions are incompatible with \`${Wi.sdkName}@${Wi.version}\`:`;return t.filter(n=>typeof n.compat<"u"&&n.compat!==null).forEach(n=>{let a=n.compat[Wi.sdkName];typeof a=="string"?e+=` - Extension \`${n.name}\` supports version(s) \`${a}\``:a||(e+=` - - Extension \`${n.name}\` does not support ${Wi.platform} environments.`)}),new m4(p4.IncompatibleExtensions,e)}function F9n(t){let e=n=>{let a=n+1,r=a%10,f=a%100;return r===1&&f!==11?`${a}st`:r===2&&f!==12?`${a}nd`:r===3&&f!==13?`${a}rd`:`${a}th`};return new m4(p4.InvalidArgument,`Invalid ${e(t.argument)} argument given to \`${t.procedure}\`. + - Extension \`${n.name}\` does not support ${Wi.platform} environments.`)}),new y4(h4.IncompatibleExtensions,e)}function F9n(t){let e=n=>{let a=n+1,r=a%10,f=a%100;return r===1&&f!==11?`${a}st`:r===2&&f!==12?`${a}nd`:r===3&&f!==13?`${a}rd`:`${a}th`};return new y4(h4.InvalidArgument,`Invalid ${e(t.argument)} argument given to \`${t.procedure}\`. Expected: \`${t.expected}\` - Received: \`${t.received}\``)}function i40(){return new fJ(zD.DuplicateIframe,"Duplicate iframes found.")}function N9n(){return new fJ(zD.SyncWeb3Method,"Non-async web3 methods are deprecated in web3 > 1.0 and are not supported by the Magic web3 provider. Please use an async method instead.")}function O9n(){return new fJ(zD.ReactNativeEndpointConfiguration,`CUSTOM DOMAINS ARE NOT SUPPORTED WHEN USING MAGIC SDK WITH REACT NATIVE! The \`endpoint\` parameter SHOULD NOT be provided. The Magic \`